@arcgis/core 5.0.0-next.63 → 5.0.0-next.65

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 (598) hide show
  1. package/Ground.d.ts +2 -1
  2. package/Ground.js +1 -1
  3. package/WebDocument2D.js +1 -1
  4. package/WebLinkChart.js +1 -1
  5. package/WebMap.d.ts +1 -1
  6. package/WebMap.js +1 -1
  7. package/WebScene.d.ts +1 -1
  8. package/WebScene.js +1 -1
  9. package/applications/KnowledgeStudio/dataModelVisualization.d.ts +18 -0
  10. package/applications/KnowledgeStudio/dataModelVisualization.js +5 -0
  11. package/applications/MapViewer/templateUtils.d.ts +2 -2
  12. package/applications/Urban/LineImagePattern3D.d.ts +8 -0
  13. package/applications/Urban/LineImagePattern3D.js +5 -0
  14. package/applications/Urban/imagePatternUtils.d.ts +23 -0
  15. package/applications/Urban/imagePatternUtils.js +5 -0
  16. package/assets/esri/core/libs/libtess/libtess-f32.wasm +0 -0
  17. package/assets/esri/core/libs/libtess/libtess-f64.wasm +0 -0
  18. package/assets/esri/core/workers/RemoteClient.js +1 -1
  19. package/assets/esri/core/workers/chunks/{61707c22b029c2a7a397.js → 049c125085028ffdd0dd.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{0bd73a66baea2f52e8a6.js → 07639f406b71bb49ffd6.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{df0e5570174bf0942d7a.js → 0d9e1ccc3ba8b5ed3287.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{4404b6f931f681cca342.js → 0e5cd0cf6ab7cb37d723.js} +1 -1
  23. package/assets/esri/core/workers/chunks/{a624dd283d264dce35a8.js → 0f5693541111fcae0c2f.js} +1 -1
  24. package/assets/esri/core/workers/chunks/{f56906c443ce8ff68a27.js → 13d61d34e55c80e4ecdf.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{28b235b56a83c498d73f.js → 168ec8fca2702617a543.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{831b8282380844a7c4d5.js → 1967239713b58dccfd81.js} +1 -1
  27. package/assets/esri/core/workers/chunks/1b838638e66e82d76cf3.js +1 -0
  28. package/assets/esri/core/workers/chunks/{2209550b6510e25da375.js → 226acd251ad7d7ee3b57.js} +1 -1
  29. package/assets/esri/core/workers/chunks/22dd5cecc7e2d4d0baf8.js +316 -0
  30. package/assets/esri/core/workers/chunks/2402d305a77fef4694a0.js +1 -0
  31. package/assets/esri/core/workers/chunks/{893a5ab0c2df9262efd8.js → 251eb6e00f99a816d55c.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{e47535f795b15608a6cb.js → 27f096c434f049b8df01.js} +1 -1
  33. package/assets/esri/core/workers/chunks/29b09db309ff75fb3e97.js +1 -0
  34. package/assets/esri/core/workers/chunks/{bef2a70d382515b3c84e.js → 310f3268582e61cd86da.js} +1 -1
  35. package/assets/esri/core/workers/chunks/{02cf735176f286a48dd2.js → 3371935a4fd6346d3a17.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{36d15c35fbbd4dedd5cb.js → 3c3d311b88f5400951ef.js} +1 -1
  37. package/assets/esri/core/workers/chunks/{cf3a9ead26629f3508b3.js → 3c4f8597f602779174f1.js} +1 -1
  38. package/assets/esri/core/workers/chunks/43d28c6509c21b8917a8.js +1 -0
  39. package/assets/esri/core/workers/chunks/{951e3c911a3486b1e609.js → 45b898367b6224dda46f.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{57302b92e9899cce4ba3.js → 4785cd108e2dec6e1697.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{153ff2ceefccd946498b.js → 47bfe8dd5d2bac4307ac.js} +1 -1
  42. package/assets/esri/core/workers/chunks/{2abc205f81f26fc4852b.js → 49a1b7f700b8a42de817.js} +4 -4
  43. package/assets/esri/core/workers/chunks/4d6d962d25aa836f53ee.js +1 -0
  44. package/assets/esri/core/workers/chunks/{454c15367cccbf63af7a.js → 4e9a8fce55cad841c731.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{b93f2bd6429879f92143.js → 536c492fdda30f2f1288.js} +1 -1
  46. package/assets/esri/core/workers/chunks/5cee6c3ff23fb93f857a.js +1 -0
  47. package/assets/esri/core/workers/chunks/6035daa65fc3ebf86515.js +1 -0
  48. package/assets/esri/core/workers/chunks/62b28f73f814413c10fc.js +1 -0
  49. package/assets/esri/core/workers/chunks/{0bc01d71ed1ab8c3af3c.js → 6599cc702a46f81a5634.js} +1 -1
  50. package/assets/esri/core/workers/chunks/6925f09d44cc38480d53.js +1 -0
  51. package/assets/esri/core/workers/chunks/{72e3a48aa365542b0689.js → 6a782e8475bff4d56dbc.js} +1 -1
  52. package/assets/esri/core/workers/chunks/6ba3c2b9f699d94d62b8.js +1 -0
  53. package/assets/esri/core/workers/chunks/{f44f358db5c56d5bbc0c.js → 7306b5b66e738a281d83.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{2da13c2269ab90281143.js → 7694abe44d55dae8872d.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{2b34a010f76e5f289868.js → 7bf491b468cd74a4166c.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{05ab54b81c366e98138f.js → 7d8664aeff66e34138bd.js} +1 -1
  57. package/assets/esri/core/workers/chunks/822ef6a043c7e147b4b6.js +1 -0
  58. package/assets/esri/core/workers/chunks/878010ca23da0bca9405.js +1 -0
  59. package/assets/esri/core/workers/chunks/892157696e8f9e38c472.js +1 -0
  60. package/assets/esri/core/workers/chunks/{d2abfcb0c8bf894c7f72.js → 8dca61f8ba6689379f86.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{bce81df760f5e34c01d7.js → 964de713042f52d71e42.js} +1 -1
  62. package/assets/esri/core/workers/chunks/990341f7c47bd656c782.js +1 -0
  63. package/assets/esri/core/workers/chunks/9d6945cda99d14af83ac.js +1 -0
  64. package/assets/esri/core/workers/chunks/{5180b15f1a865756a02e.js → a3836f6a93924ee4816e.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{d13b2ce8a89938b0472b.js → a6dcd13c792b6538ac50.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{522a6787d9e0f520ac79.js → a893f8db2477cf677ac8.js} +1 -1
  67. package/assets/esri/core/workers/chunks/{983356eb4fd0a0dcf3fd.js → abc236e99b52be1c83b9.js} +1 -1
  68. package/assets/esri/core/workers/chunks/{b11c0e80e583f2b7c5de.js → ac83c2999a3d2ffb4356.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{5873c7b65d0fb04998fb.js → acea42d268b53ceb2bfd.js} +1 -1
  70. package/assets/esri/core/workers/chunks/{8628bf45a33af786cd49.js → b65fcfde62d49de1fa54.js} +1 -1
  71. package/assets/esri/core/workers/chunks/ba7f57788847cc0f68df.js +1 -0
  72. package/assets/esri/core/workers/chunks/{12f700b932a241e59071.js → bcf612eabe7577540953.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{75e9759290f0f67b2128.js → bf06250be7a7a36306b1.js} +1 -1
  74. package/assets/esri/core/workers/chunks/c3007b916ba933137709.js +1 -0
  75. package/assets/esri/core/workers/chunks/c9f868f85d740ee32715.js +1 -0
  76. package/assets/esri/core/workers/chunks/cc5c1887e6d7079e5fe3.js +1 -0
  77. package/assets/esri/core/workers/chunks/ce8f075c814a8378c00c.js +1 -0
  78. package/assets/esri/core/workers/chunks/{f91e63d7842c427c7f72.js → d30cfc5fa302cc08d862.js} +1 -1
  79. package/assets/esri/core/workers/chunks/d3325ed8d224e2350db7.js +1 -0
  80. package/assets/esri/core/workers/chunks/{1800994523d7cdfb73af.js → de71db3b0fb947b13c97.js} +1 -1
  81. package/assets/esri/core/workers/chunks/{ff7df6fb78fa2c0e9247.js → df92239eefff04471a0b.js} +1 -1
  82. package/assets/esri/core/workers/chunks/e69255e38ff200dda14b.js +1 -0
  83. package/assets/esri/core/workers/chunks/ee2ca25048a920e43743.js +1 -0
  84. package/assets/esri/core/workers/chunks/{609919428305d8c8c243.js → f9370830051865a3435b.js} +1 -1
  85. package/assets/esri/core/workers/chunks/fc00d7278b43df813c54.js +1 -0
  86. package/assets/esri/themes/base/widgets/_UtilityNetworkAssociations.scss +7 -18
  87. package/assets/esri/themes/dark/main.css +1 -1
  88. package/assets/esri/themes/light/main.css +1 -1
  89. package/assets/esri/themes/light/view.css +1 -1
  90. package/chunks/RibbonLine.glsl.js +99 -61
  91. package/chunks/libtess-f32.js +5 -0
  92. package/chunks/libtess-f64.js +5 -0
  93. package/config.js +1 -1
  94. package/core/Version.d.ts +1 -1
  95. package/core/Version.js +1 -1
  96. package/core/has.js +1 -1
  97. package/core/workers/registry.js +1 -1
  98. package/core/workers/workerFactory.js +1 -1
  99. package/form/elements/inputs/SwitchInput.d.ts +2 -1
  100. package/geometry/Mesh.d.ts +2 -1
  101. package/geometry/Mesh.js +1 -1
  102. package/geometry/libtess.js +1 -1
  103. package/geometry/support/MeshVertexAttributes.d.ts +1 -1
  104. package/geometry/support/MeshVertexAttributes.js +1 -1
  105. package/geometry/support/meshUtils/convertMeshVertexSpace.js +1 -1
  106. package/geometry/support/meshUtils/elevation.js +1 -1
  107. package/geometry/support/meshUtils/loadGLTFMesh.js +1 -1
  108. package/geometry/support/meshUtils/merge.js +1 -1
  109. package/geometry/support/meshUtils/primitives.js +1 -1
  110. package/ground/NavigationConstraint.d.ts +1 -1
  111. package/ground/NavigationConstraint.js +1 -1
  112. package/interfaces.d.ts +163 -158
  113. package/kernel.js +1 -1
  114. package/layers/BaseElevationLayer.d.ts +1 -1
  115. package/layers/ElevationLayer.d.ts +1 -1
  116. package/layers/ElevationLayer.js +1 -1
  117. package/layers/FeatureLayer.d.ts +1 -5
  118. package/layers/Layer.d.ts +1 -2
  119. package/layers/ParquetLayer.js +1 -1
  120. package/layers/SceneLayer.js +1 -1
  121. package/layers/knowledgeGraph/dataModelVisualizationUtils.d.ts +11 -0
  122. package/layers/knowledgeGraph/dataModelVisualizationUtils.js +5 -0
  123. package/layers/mixins/ArcGISMapService.js +1 -1
  124. package/layers/mixins/BlendLayer.d.ts +1 -1
  125. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  126. package/layers/orientedImagery/transformations/updateElevationUtils.js +1 -1
  127. package/layers/raster/formats/RasterCodec.js +1 -1
  128. package/layers/raster/functions/ColormapToRGBFunction.js +1 -1
  129. package/layers/raster/functions/surfaceUtils.js +1 -1
  130. package/layers/support/CodedValue.d.ts +1 -1
  131. package/layers/support/CodedValue.js +1 -1
  132. package/layers/support/CodedValueDomain.d.ts +2 -1
  133. package/layers/support/CodedValueDomain.js +1 -1
  134. package/layers/support/ElevationTileData.d.ts +1 -1
  135. package/layers/support/ElevationTileData.js +1 -1
  136. package/layers/support/FeatureReduction.d.ts +1 -1
  137. package/layers/support/FeatureReduction.js +1 -1
  138. package/layers/support/FeatureReductionBinning.d.ts +1 -1
  139. package/layers/support/FeatureReductionBinning.js +1 -1
  140. package/layers/support/FeatureReductionSelection.d.ts +1 -1
  141. package/layers/support/FeatureReductionSelection.js +1 -1
  142. package/layers/support/KMLMapImage.d.ts +1 -1
  143. package/layers/support/KMLMapImage.js +1 -1
  144. package/layers/support/ParquetGeometryEncodingBase.d.ts +1 -1
  145. package/layers/support/ParquetGeometryEncodingBase.js +1 -1
  146. package/layers/support/ParquetGeometryEncodingLocation.d.ts +1 -1
  147. package/layers/support/ParquetGeometryEncodingLocation.js +1 -1
  148. package/layers/support/ParquetGeometryEncodingWkb.d.ts +1 -1
  149. package/layers/support/ParquetGeometryEncodingWkb.js +1 -1
  150. package/layers/support/PixelBlock.d.ts +1 -1
  151. package/layers/support/PixelBlock.js +1 -1
  152. package/layers/support/SimpleBandStatistics.d.ts +1 -1
  153. package/layers/support/SimpleBandStatistics.js +1 -1
  154. package/layers/support/Sublayer.js +1 -1
  155. package/layers/support/featureLayerUtils.js +1 -1
  156. package/layers/support/featureReductionUtils.js +1 -1
  157. package/layers/support/source/DataLayerSource.d.ts +6 -3
  158. package/layers/support/source/DataLayerSource.js +1 -1
  159. package/layers/support/source/MapLayerSource.d.ts +1 -1
  160. package/layers/support/source/MapLayerSource.js +1 -1
  161. package/layers/support/source/QueryTableDataSource.d.ts +1 -1
  162. package/layers/support/source/QueryTableDataSource.js +1 -1
  163. package/layers/support/source/RasterDataSource.d.ts +1 -1
  164. package/layers/support/source/RasterDataSource.js +1 -1
  165. package/layers/support/source/TableDataSource.d.ts +1 -1
  166. package/layers/support/source/TableDataSource.js +1 -1
  167. package/layers/support/source/types.d.ts +1 -1
  168. package/layers/types.d.ts +7 -1
  169. package/package.json +1 -1
  170. package/popup/content/MediaContent.d.ts +2 -2
  171. package/popup/content/types.d.ts +9 -0
  172. package/portal/Portal.d.ts +3 -3
  173. package/portal/PortalGroup.d.ts +1 -1
  174. package/portal/PortalItem.d.ts +2 -2
  175. package/portal/PortalItemResource.d.ts +1 -1
  176. package/portal/PortalQueryParams.d.ts +1 -1
  177. package/portal/PortalUser.d.ts +5 -5
  178. package/portal/schemas/definitions.js +1 -1
  179. package/portal/support/resourceUtils.d.ts +1 -1
  180. package/renderers/HeatmapRenderer.d.ts +2 -1
  181. package/renderers/HeatmapRenderer.js +1 -1
  182. package/renderers/PieChartRenderer.d.ts +2 -1
  183. package/renderers/PieChartRenderer.js +1 -1
  184. package/renderers/support/AuthoringInfo.d.ts +2 -1
  185. package/renderers/support/AuthoringInfo.js +1 -1
  186. package/renderers/support/AuthoringInfoClassBreakInfo.d.ts +1 -1
  187. package/renderers/support/AuthoringInfoClassBreakInfo.js +1 -1
  188. package/renderers/support/AuthoringInfoFieldInfo.d.ts +3 -2
  189. package/renderers/support/AuthoringInfoFieldInfo.js +1 -1
  190. package/renderers/support/DictionaryScriptEvaluator.js +1 -1
  191. package/renderers/support/HeatmapLegendOptions.d.ts +1 -1
  192. package/renderers/support/HeatmapLegendOptions.js +1 -1
  193. package/renderers/support/OthersCategory.d.ts +1 -1
  194. package/renderers/support/OthersCategory.js +1 -1
  195. package/rest/featureService/types.d.ts +1 -1
  196. package/rest/knowledgeGraph/wasmInterface/wasmToDataModelFactories.js +1 -1
  197. package/rest/support/ArealUnit.d.ts +1 -1
  198. package/rest/support/BaseImageMeasureResultValue.d.ts +1 -1
  199. package/rest/support/BaseImageMeasureResultValue.js +1 -1
  200. package/rest/support/BufferParameters.d.ts +1 -1
  201. package/rest/support/ClosestFacilityParameters.d.ts +1 -1
  202. package/rest/support/DataLayer.d.ts +1 -1
  203. package/rest/support/DensifyParameters.d.ts +1 -1
  204. package/rest/support/DirectionLine.d.ts +1 -1
  205. package/rest/support/DirectionPoint.d.ts +1 -1
  206. package/rest/support/DirectionsString.d.ts +1 -1
  207. package/rest/support/DistanceParameters.d.ts +1 -1
  208. package/rest/support/GPMessage.d.ts +1 -1
  209. package/rest/support/ImageAreaParameters.d.ts +1 -1
  210. package/rest/support/ImageAreaResult.d.ts +4 -2
  211. package/rest/support/ImageAreaResult.js +1 -1
  212. package/rest/support/ImageDistanceResult.d.ts +4 -2
  213. package/rest/support/ImageDistanceResult.js +1 -1
  214. package/rest/support/ImageHeightResult.d.ts +2 -1
  215. package/rest/support/ImageHeightResult.js +1 -1
  216. package/rest/support/ImageMeasureResultAngleValue.d.ts +3 -2
  217. package/rest/support/ImageMeasureResultAngleValue.js +1 -1
  218. package/rest/support/ImageMeasureResultAreaValue.d.ts +3 -2
  219. package/rest/support/ImageMeasureResultAreaValue.js +1 -1
  220. package/rest/support/ImageMeasureResultLengthValue.d.ts +4 -3
  221. package/rest/support/ImageMeasureResultLengthValue.js +1 -1
  222. package/rest/support/JobInfo.d.ts +1 -1
  223. package/rest/support/LinearUnit.d.ts +1 -1
  224. package/rest/support/LocateSetting.d.ts +1 -1
  225. package/rest/support/NAMessage.d.ts +1 -1
  226. package/rest/support/NetworkAttribute.d.ts +1 -1
  227. package/rest/support/OffsetParameters.d.ts +1 -1
  228. package/rest/support/PointBarrier.d.ts +1 -1
  229. package/rest/support/PolygonBarrier.d.ts +1 -1
  230. package/rest/support/PolylineBarrier.d.ts +1 -1
  231. package/rest/support/RouteParameters.d.ts +1 -1
  232. package/rest/support/ServiceAreaParameters.d.ts +1 -1
  233. package/rest/support/Stop.d.ts +1 -1
  234. package/rest/support/TravelMode.d.ts +1 -1
  235. package/smartMapping/renderers/pieChart.js +1 -1
  236. package/smartMapping/renderers/relationship.js +1 -1
  237. package/smartMapping/renderers/univariateColorSize.js +1 -1
  238. package/smartMapping/support/adapters/support/utils.js +1 -1
  239. package/support/revision.js +1 -1
  240. package/support/tests/meshUtils.js +1 -1
  241. package/symbols/ExtrudeSymbol3DLayer.d.ts +2 -1
  242. package/symbols/ExtrudeSymbol3DLayer.js +1 -1
  243. package/symbols/FillSymbol3DLayer.d.ts +4 -2
  244. package/symbols/FillSymbol3DLayer.js +1 -1
  245. package/symbols/IconSymbol3DLayer.d.ts +23 -4
  246. package/symbols/IconSymbol3DLayer.js +1 -1
  247. package/symbols/LineSymbol3DLayer.d.ts +2 -1
  248. package/symbols/LineSymbol3DLayer.js +1 -1
  249. package/symbols/ObjectSymbol3DLayer.d.ts +6 -3
  250. package/symbols/ObjectSymbol3DLayer.js +1 -1
  251. package/symbols/PathSymbol3DLayer.d.ts +2 -1
  252. package/symbols/PathSymbol3DLayer.js +1 -1
  253. package/symbols/TextSymbol3DLayer.d.ts +21 -3
  254. package/symbols/TextSymbol3DLayer.js +1 -1
  255. package/symbols/patterns/LinePattern3D.js +1 -1
  256. package/symbols/support/IconSymbol3DLayerResource.d.ts +1 -1
  257. package/symbols/support/IconSymbol3DLayerResource.js +1 -1
  258. package/symbols/support/ObjectSymbol3DLayerResource.d.ts +1 -1
  259. package/symbols/support/ObjectSymbol3DLayerResource.js +1 -1
  260. package/symbols/support/OccludedVisibility.d.ts +27 -0
  261. package/symbols/support/Symbol3DAnchorPosition2D.d.ts +1 -1
  262. package/symbols/support/Symbol3DAnchorPosition2D.js +1 -1
  263. package/symbols/support/Symbol3DAnchorPosition3D.d.ts +1 -1
  264. package/symbols/support/Symbol3DAnchorPosition3D.js +1 -1
  265. package/symbols/support/Symbol3DFillMaterial.d.ts +3 -2
  266. package/symbols/support/Symbol3DFillMaterial.js +1 -1
  267. package/symbols/support/Symbol3DHalo.d.ts +1 -1
  268. package/symbols/support/Symbol3DHalo.js +1 -1
  269. package/symbols/support/Symbol3DIconOutline.d.ts +1 -1
  270. package/symbols/support/Symbol3DIconOutline.js +1 -1
  271. package/symbols/support/Symbol3DMaterial.d.ts +1 -1
  272. package/symbols/support/Symbol3DMaterial.js +1 -1
  273. package/symbols/support/Symbol3DOutline.d.ts +1 -1
  274. package/symbols/support/Symbol3DOutline.js +1 -1
  275. package/symbols/support/Symbol3DTextBackground.d.ts +1 -1
  276. package/symbols/support/Symbol3DTextBackground.js +1 -1
  277. package/symbols/support/previewSymbol3D.js +1 -1
  278. package/symbols/support/primitives.js +5 -0
  279. package/symbols/support/types.d.ts +2 -0
  280. package/symbols/support/utils.js +1 -1
  281. package/views/2d/analysis/AnalysisView2D.d.ts +2 -2
  282. package/views/2d/analysis/AnalysisView2D.js +1 -1
  283. package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +1 -1
  284. package/views/2d/analysis/AreaMeasurementAnalysisView2D.js +1 -1
  285. package/views/2d/analysis/DistanceMeasurementAnalysisView2D.d.ts +1 -1
  286. package/views/2d/analysis/DistanceMeasurementAnalysisView2D.js +1 -1
  287. package/views/2d/analysis/ElevationProfileAnalysisView2D.d.ts +1 -1
  288. package/views/2d/analysis/ElevationProfileAnalysisView2D.js +1 -1
  289. package/views/2d/engine/Bitmap.js +1 -1
  290. package/views/2d/engine/Container.js +1 -1
  291. package/views/2d/engine/DisplayObject.js +1 -1
  292. package/views/2d/engine/brushes.js +1 -1
  293. package/views/2d/engine/flow/styles/Imagery.js +1 -1
  294. package/views/2d/engine/vectorTiles/GlyphMosaic.js +1 -1
  295. package/views/2d/engine/vectorTiles/SpriteMosaic.js +1 -1
  296. package/views/2d/engine/vectorTiles/TileParser.js +1 -1
  297. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  298. package/views/2d/engine/vectorTiles/VectorTileRendererHelper3D.js +1 -1
  299. package/views/2d/engine/vectorTiles/buckets/FillBucket.js +1 -1
  300. package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
  301. package/views/2d/engine/webgl/ClipMesh.js +5 -0
  302. package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
  303. package/views/2d/engine/webgl/Overlay.js +1 -1
  304. package/views/2d/engine/webgl/OverlayMultipoint.js +1 -1
  305. package/views/2d/engine/webgl/SpriteMosaic.js +1 -1
  306. package/views/2d/engine/webgl/VideoScreenRenderer.js +1 -1
  307. package/views/2d/engine/webgl/WGLContainer.js +1 -1
  308. package/views/2d/engine/webgl/animations/store/AnimationStore.js +1 -1
  309. package/views/2d/engine/webgl/brushes/WGLBrushTileDebugInfo.js +1 -1
  310. package/views/2d/engine/webgl/effects/highlight/HighlightGradient.js +1 -1
  311. package/views/2d/engine/webgl/mesh/templates/templateUtils.js +1 -1
  312. package/views/2d/engine/webgl/meshing/SimpleMesh.js +1 -1
  313. package/views/2d/engine/webgl/shaderGraph/techniques/TestTechnique.js +1 -1
  314. package/views/2d/engine/webgl/shaderGraph/techniques/TextureStatisticsTechnique.js +1 -1
  315. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedPolyMeshWriters.js +1 -1
  316. package/views/2d/engine/webgl/shaderGraph/techniques/blend/BlendTechnique.js +1 -1
  317. package/views/2d/engine/webgl/shaderGraph/techniques/clip/ClipTechnique.js +5 -0
  318. package/views/2d/engine/webgl/shaderGraph/techniques/colorize/ColorizeTechnique.js +1 -1
  319. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityResources.js +1 -1
  320. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityTechnique.js +1 -1
  321. package/views/2d/engine/webgl/shaderGraph/techniques/drop-shadow/DropShadowTechnique.js +1 -1
  322. package/views/2d/engine/webgl/shaderGraph/techniques/fill/AFillMeshWriter.js +1 -1
  323. package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexFillTechnique.js +1 -1
  324. package/views/2d/engine/webgl/shaderGraph/techniques/fill/ComplexOutlineFillTechnique.js +1 -1
  325. package/views/2d/engine/webgl/shaderGraph/techniques/fill/FillTechnique.js +1 -1
  326. package/views/2d/engine/webgl/shaderGraph/techniques/fill/GradientFillTechnique.js +1 -1
  327. package/views/2d/engine/webgl/shaderGraph/techniques/fill/OutlineFillTechnique.js +1 -1
  328. package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternFillTechnique.js +1 -1
  329. package/views/2d/engine/webgl/shaderGraph/techniques/fill/PatternOutlineFillTechnique.js +1 -1
  330. package/views/2d/engine/webgl/shaderGraph/techniques/grid/GridTechnique.js +1 -1
  331. package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapResources.js +1 -1
  332. package/views/2d/engine/webgl/shaderGraph/techniques/heatmap/HeatmapTechnique.js +1 -1
  333. package/views/2d/engine/webgl/shaderGraph/techniques/labels/LabelTechnique.js +1 -1
  334. package/views/2d/engine/webgl/shaderGraph/techniques/line/GradientStrokeTechnique.js +1 -1
  335. package/views/2d/engine/webgl/shaderGraph/techniques/line/LineTechnique.js +1 -1
  336. package/views/2d/engine/webgl/shaderGraph/techniques/line/TexturedLineTechnique.js +1 -1
  337. package/views/2d/engine/webgl/shaderGraph/techniques/magnifier/MagnifierTechnique.js +1 -1
  338. package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerTechnique.js +1 -1
  339. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriterRegistry.js +1 -1
  340. package/views/2d/engine/webgl/shaderGraph/techniques/opacity/OpacityTechnique.js +1 -1
  341. package/views/2d/engine/webgl/shaderGraph/techniques/overlay/OverlayTechnique.js +1 -1
  342. package/views/2d/engine/webgl/shaderGraph/techniques/pieChart/PieChartTechnique.js +1 -1
  343. package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterColorizerTechnique.js +1 -1
  344. package/views/2d/engine/webgl/shaderGraph/techniques/raster/RasterHighlightTechnique.js +1 -1
  345. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/textureUtils.js +1 -1
  346. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ClipShader.js +5 -0
  347. package/views/2d/engine/webgl/shaderGraph/techniques/text/TextTechnique.js +1 -1
  348. package/views/2d/engine/webgl/shaderGraph/techniques/videoScreenRenderer/VideoScreenTechnique.js +1 -1
  349. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  350. package/views/2d/engine/webgl/textureUtils.js +1 -1
  351. package/views/2d/layers/KMLLayerView2D.js +1 -1
  352. package/views/2d/layers/LayerView2D.js +1 -1
  353. package/views/2d/layers/MediaLayerView2D.js +1 -1
  354. package/views/2d/layers/TileLayerView2D.js +1 -1
  355. package/views/2d/layers/features/FeatureContainer.js +1 -1
  356. package/views/2d/layers/features/RenderState.js +1 -1
  357. package/views/2d/webglDeps.js +1 -1
  358. package/views/3d/analysis/AnalysisView3D.d.ts +2 -2
  359. package/views/3d/analysis/AnalysisView3D.js +1 -1
  360. package/views/3d/analysis/AreaMeasurementAnalysisView3D.d.ts +1 -1
  361. package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
  362. package/views/3d/analysis/DimensionAnalysisView3D.d.ts +1 -1
  363. package/views/3d/analysis/DimensionAnalysisView3D.js +1 -1
  364. package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.d.ts +1 -1
  365. package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.js +1 -1
  366. package/views/3d/analysis/ElevationProfileAnalysisView3D.d.ts +1 -1
  367. package/views/3d/analysis/ElevationProfileAnalysisView3D.js +1 -1
  368. package/views/3d/analysis/LineOfSightAnalysisView3D.d.ts +1 -1
  369. package/views/3d/analysis/LineOfSightAnalysisView3D.js +1 -1
  370. package/views/3d/analysis/ShadowCastAnalysisView3D.d.ts +1 -1
  371. package/views/3d/analysis/ShadowCastAnalysisView3D.js +1 -1
  372. package/views/3d/analysis/SliceAnalysisView3D.d.ts +1 -1
  373. package/views/3d/analysis/SliceAnalysisView3D.js +1 -1
  374. package/views/3d/analysis/ViewshedAnalysisView3D.d.ts +1 -1
  375. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  376. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementTool.js +1 -1
  377. package/views/3d/analysis/VolumeMeasurementAnalysisView3D.d.ts +1 -1
  378. package/views/3d/analysis/VolumeMeasurementAnalysisView3D.js +1 -1
  379. package/views/3d/constraints/AltitudeConstraint.d.ts +1 -1
  380. package/views/3d/constraints/AltitudeConstraint.js +1 -1
  381. package/views/3d/constraints/ClipDistanceConstraint.d.ts +1 -1
  382. package/views/3d/constraints/ClipDistanceConstraint.js +1 -1
  383. package/views/3d/constraints/Constraints.d.ts +7 -4
  384. package/views/3d/constraints/Constraints.js +1 -1
  385. package/views/3d/constraints/TiltConstraint.d.ts +1 -1
  386. package/views/3d/constraints/TiltConstraint.js +1 -1
  387. package/views/3d/environment/LocalAtmosphere.js +1 -1
  388. package/views/3d/environment/MarsAtmosphere.js +1 -1
  389. package/views/3d/glTF/internal/Resource.js +1 -1
  390. package/views/3d/interactive/editingTools/reshape/ReshapeOperation.js +1 -1
  391. package/views/3d/interactive/editingTools/reshape/reshapeTooltipUtils3D.js +1 -1
  392. package/views/3d/interactive/visualElements/LineVisualElement.js +1 -1
  393. package/views/3d/layers/ElevationLayerView3D.js +1 -1
  394. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  395. package/views/3d/layers/PointCloudLayerView3D.js +1 -1
  396. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  397. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  398. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  399. package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
  400. package/views/3d/layers/graphics/pipeline/symbolization/IconSymbolLayerRenderer.js +1 -1
  401. package/views/3d/layers/graphics/pipeline/symbolization/ObjectSymbolLayerRenderer.js +1 -1
  402. package/views/3d/layers/graphics/pipeline/symbolization/factoryUtils.js +1 -1
  403. package/views/3d/layers/graphics/wosrLoader.js +1 -1
  404. package/views/3d/layers/i3s/meshUtils.js +1 -1
  405. package/views/3d/layers/support/MediaLayerInteractionOptions.d.ts +3 -2
  406. package/views/3d/layers/support/MediaLayerInteractionOptions.js +1 -1
  407. package/views/3d/layers/support/MediaLayerInteractionReshapeOptions.d.ts +1 -1
  408. package/views/3d/layers/support/MediaLayerInteractionReshapeOptions.js +1 -1
  409. package/views/3d/support/engineContent/marker.js +1 -1
  410. package/views/3d/support/gaussianSplatting/GaussianSplatFadeTexture.js +1 -1
  411. package/views/3d/support/gaussianSplatting/GaussianSplatOrderTexture.js +1 -1
  412. package/views/3d/support/gaussianSplatting/GaussianSplatTextureAtlas.js +1 -1
  413. package/views/3d/terrain/OverlayRenderer.js +1 -1
  414. package/views/3d/terrain/TileCompositor.js +1 -1
  415. package/views/3d/terrain/TileRenderer.js +1 -1
  416. package/views/3d/webgl/ManagedColorAttachment.d.ts +2 -2
  417. package/views/3d/webgl/ManagedColorAttachment.js +1 -1
  418. package/views/3d/webgl/ManagedDepthAttachment.d.ts +2 -2
  419. package/views/3d/webgl/ManagedDepthAttachment.js +1 -1
  420. package/views/3d/webgl/ManagedDepthTexture.js +1 -1
  421. package/views/3d/webgl/ManagedFBO.d.ts +8 -6
  422. package/views/3d/webgl/ManagedFBO.js +1 -1
  423. package/views/3d/webgl/ManagedFBOAttachment.d.ts +2 -2
  424. package/views/3d/webgl/ManagedFBOAttachment.js +1 -1
  425. package/views/3d/webgl/ManagedFBOResource.d.ts +1 -1
  426. package/views/3d/webgl/ManagedFBOResource.js +1 -1
  427. package/views/3d/webgl-engine/collections/Component/IntersectionGeometry.js +1 -1
  428. package/views/3d/webgl-engine/core/FBOCache.js +1 -1
  429. package/views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js +55 -23
  430. package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
  431. package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
  432. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  433. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  434. package/views/3d/webgl-engine/lib/BasisUtil.js +1 -1
  435. package/views/3d/webgl-engine/lib/DDSUtil.js +1 -1
  436. package/views/3d/webgl-engine/lib/DrapedHeatmapRenderer.js +1 -1
  437. package/views/3d/webgl-engine/lib/GPUPointOcclusionQuery.js +1 -1
  438. package/views/3d/webgl-engine/lib/ManagedTexture.js +1 -1
  439. package/views/3d/webgl-engine/lib/TextTextureAtlas.js +1 -1
  440. package/views/3d/webgl-engine/lib/TextureBackedBuffer/TextureBuffer.js +1 -1
  441. package/views/3d/webgl-engine/lib/edgeRendering/strokes.js +1 -1
  442. package/views/3d/webgl-engine/lib/glUtil3D.js +1 -1
  443. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  444. package/views/3d/webgl-engine/materials/internal/WaterTextureRepository.js +1 -1
  445. package/views/3d/webgl-engine/materials/lineStippleUtils.js +1 -1
  446. package/views/3d/webgl-engine/materials/stippleTextureRepository.js +1 -1
  447. package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
  448. package/views/DOMContainer.d.ts +1 -2
  449. package/views/MapView.d.ts +10 -15
  450. package/views/PopupView.d.ts +6 -6
  451. package/views/SceneView.d.ts +3 -4
  452. package/views/SceneView.js +1 -1
  453. package/views/VideoView.js +1 -1
  454. package/views/View.d.ts +11 -13
  455. package/views/View2D.d.ts +37 -37
  456. package/views/analysis/AnalysisView.d.ts +1 -1
  457. package/views/analysis/AnalysisView.js +1 -1
  458. package/views/draw/{input/CursorUpdateEvent.d.ts → CursorUpdateEvent.d.ts} +1 -1
  459. package/views/draw/{input/CursorUpdateEvent.js → CursorUpdateEvent.js} +1 -1
  460. package/views/draw/{input/DrawCompleteEvent.d.ts → DrawCompleteEvent.d.ts} +1 -1
  461. package/views/draw/{input/DrawCompleteEvent.js → DrawCompleteEvent.js} +1 -1
  462. package/views/draw/DrawGraphicTool.js +1 -1
  463. package/views/draw/MultipointDrawAction.d.ts +4 -4
  464. package/views/draw/MultipointDrawAction.js +1 -1
  465. package/views/draw/PointDrawAction.d.ts +2 -2
  466. package/views/draw/PointDrawAction.js +1 -1
  467. package/views/draw/PolygonDrawAction.d.ts +4 -4
  468. package/views/draw/PolygonDrawAction.js +1 -1
  469. package/views/draw/PolylineDrawAction.d.ts +4 -4
  470. package/views/draw/PolylineDrawAction.js +1 -1
  471. package/views/draw/SegmentDrawAction.d.ts +3 -3
  472. package/views/draw/SegmentDrawAction.js +1 -1
  473. package/views/draw/{input/VertexAddEvent.d.ts → VertexAddEvent.d.ts} +1 -1
  474. package/views/draw/{input/VertexAddEvent.js → VertexAddEvent.js} +1 -1
  475. package/views/draw/{input/VertexRemoveEvent.d.ts → VertexRemoveEvent.d.ts} +1 -1
  476. package/views/draw/VertexRemoveEvent.js +5 -0
  477. package/views/draw/support/Reshape.js +1 -1
  478. package/views/draw/support/reshapeTooltipUtils.js +1 -1
  479. package/views/draw/support/tooltipUtils.js +1 -1
  480. package/views/interactive/sketch/Units.d.ts +3 -0
  481. package/views/layers/HighlightLayerViewMixin.d.ts +1 -3
  482. package/views/layers/ImageryLayerViewMixin.d.ts +1 -3
  483. package/views/layers/KMLLayerView.d.ts +1 -1
  484. package/views/layers/MediaLayerViewMixin.d.ts +3 -2
  485. package/views/layers/MediaLayerViewMixin.js +1 -1
  486. package/views/support/GeodesicMeasurementWorker.js +5 -0
  487. package/views/support/GeodesicMeasurementWorkerHandle.js +5 -0
  488. package/views/support/HighlightOptions.d.ts +0 -1
  489. package/views/support/TextureCompressionHelper.js +1 -1
  490. package/views/support/automaticAreaMeasurementUtils.js +1 -1
  491. package/views/support/imageReprojection.js +1 -1
  492. package/views/types.d.ts +1 -1
  493. package/views/webgl/FramebufferObject.js +1 -1
  494. package/views/webgl/RenderingContext.js +1 -1
  495. package/views/webgl/Texture.js +1 -1
  496. package/views/webgl/rasterUtils.js +1 -1
  497. package/views/webgl/testSVGPremultipliedAlpha.js +1 -1
  498. package/views/webgl/textureTracer.js +5 -0
  499. package/webdoc/support/SlideThumbnail.d.ts +1 -1
  500. package/webdoc/support/SlideThumbnail.js +1 -1
  501. package/webmap/Bookmark.d.ts +2 -1
  502. package/webmap/Bookmark.js +1 -1
  503. package/webmap/Version.d.ts +2 -2
  504. package/webmap/Version.js +1 -1
  505. package/webmap/utils.js +1 -1
  506. package/webscene/Slide.d.ts +6 -3
  507. package/webscene/Slide.js +1 -1
  508. package/webscene/Version.d.ts +2 -2
  509. package/webscene/Version.js +1 -1
  510. package/webscene/spec-certification/api.js +1 -1
  511. package/webscene/support/SlideEnvironment.d.ts +1 -1
  512. package/webscene/support/SlideEnvironment.js +1 -1
  513. package/webscene/support/SlideVisibleLayer.d.ts +1 -1
  514. package/webscene/support/SlideVisibleLayer.js +1 -1
  515. package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.d.ts +1 -1
  516. package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.js +1 -1
  517. package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.d.ts +1 -1
  518. package/widgets/AreaMeasurement3D/AreaMeasurement3DViewModel.js +1 -1
  519. package/widgets/BatchAttributeForm/VisibleElements.d.ts +1 -1
  520. package/widgets/BatchAttributeForm/VisibleElements.js +1 -1
  521. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  522. package/widgets/BatchAttributeForm.d.ts +2 -1
  523. package/widgets/BatchAttributeForm.js +1 -1
  524. package/widgets/Bookmarks/BookmarksViewModel.js +1 -1
  525. package/widgets/Bookmarks.js +1 -1
  526. package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.d.ts +1 -1
  527. package/widgets/DirectLineMeasurement3D/DirectLineMeasurement3DViewModel.js +1 -1
  528. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.d.ts +1 -1
  529. package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.js +1 -1
  530. package/widgets/Editor.js +1 -1
  531. package/widgets/FeatureTable/ActionColumn.d.ts +1 -1
  532. package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
  533. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +2 -2
  534. package/widgets/FeatureTable/FieldColumn.d.ts +1 -1
  535. package/widgets/FeatureTable/Grid/Column.d.ts +1 -1
  536. package/widgets/FeatureTable/support/ColumnTemplateBase.d.ts +1 -1
  537. package/widgets/FeatureTable/support/FieldColumnTemplate.d.ts +1 -1
  538. package/widgets/FeatureTable/support/GroupColumnTemplate.d.ts +1 -1
  539. package/widgets/FeatureTable/support/TableTemplate.d.ts +1 -1
  540. package/widgets/FeatureTable/support/{interfaces.d.ts → types.d.ts} +1 -1
  541. package/widgets/FeatureTable.d.ts +2 -2
  542. package/widgets/LineOfSight/LineOfSightViewModel.d.ts +1 -1
  543. package/widgets/LineOfSight/LineOfSightViewModel.js +1 -1
  544. package/widgets/OrientedImageryViewer/adapters/view/SceneViewAdapter.js +1 -1
  545. package/widgets/PanoramicViewer/support/importUtils.js +1 -1
  546. package/widgets/Print/PrintViewModel.d.ts +1 -1
  547. package/widgets/Sketch/CreateToolVisibilityMap.d.ts +1 -1
  548. package/widgets/Sketch/CreateToolVisibilityMap.js +1 -1
  549. package/widgets/Sketch/SelectionToolVisibilityMap.d.ts +1 -1
  550. package/widgets/Sketch/SelectionToolVisibilityMap.js +1 -1
  551. package/widgets/Sketch/VisibleElements.d.ts +5 -3
  552. package/widgets/Sketch/VisibleElements.js +1 -1
  553. package/widgets/Sketch.d.ts +2 -1
  554. package/widgets/Sketch.js +1 -1
  555. package/widgets/Slice/SliceViewModel.d.ts +1 -1
  556. package/widgets/Slice/SliceViewModel.js +1 -1
  557. package/widgets/UtilityNetworkAssociations.js +1 -1
  558. package/widgets/support/AnalysisViewModel.d.ts +1 -1
  559. package/widgets/support/AnalysisViewModel.js +1 -1
  560. package/widgets/support/InteractiveToolViewModel.d.ts +1 -1
  561. package/widgets/support/InteractiveToolViewModel.js +1 -1
  562. package/assets/esri/core/libs/libtess/libtess.wasm +0 -0
  563. package/assets/esri/core/workers/chunks/00e407d262c49890afa8.js +0 -1
  564. package/assets/esri/core/workers/chunks/19db60a3b4b09d445bd1.js +0 -1
  565. package/assets/esri/core/workers/chunks/1e55f152b60145f33b61.js +0 -1
  566. package/assets/esri/core/workers/chunks/294acaaebfedb05fe81e.js +0 -1
  567. package/assets/esri/core/workers/chunks/31eda00e6842005d0ec8.js +0 -1
  568. package/assets/esri/core/workers/chunks/3d49c6427120edc8eac9.js +0 -1
  569. package/assets/esri/core/workers/chunks/404229f10aef5ac23c87.js +0 -1
  570. package/assets/esri/core/workers/chunks/4278b35fb6fd578c403e.js +0 -1
  571. package/assets/esri/core/workers/chunks/46b63a65484b102e9ccb.js +0 -1
  572. package/assets/esri/core/workers/chunks/4f03d19a70dca6c507be.js +0 -316
  573. package/assets/esri/core/workers/chunks/5686220aed9a74dbd2b1.js +0 -1
  574. package/assets/esri/core/workers/chunks/5a2933ae19345b7d5aa7.js +0 -1
  575. package/assets/esri/core/workers/chunks/5e9fdd4eff7189f45932.js +0 -1
  576. package/assets/esri/core/workers/chunks/67a45faa80316f43c51b.js +0 -1
  577. package/assets/esri/core/workers/chunks/68ee11589de0da7fed08.js +0 -1
  578. package/assets/esri/core/workers/chunks/82ced9254b27707522ef.js +0 -1
  579. package/assets/esri/core/workers/chunks/bb5373ff7cdad7270095.js +0 -1
  580. package/assets/esri/core/workers/chunks/bddaa83fcb9fdb1e1856.js +0 -1
  581. package/assets/esri/core/workers/chunks/d048e4926e78458afa3e.js +0 -1
  582. package/assets/esri/core/workers/chunks/d199deff988eaefe18b4.js +0 -1
  583. package/assets/esri/core/workers/chunks/d77f56576a49a998164a.js +0 -1
  584. package/assets/esri/core/workers/chunks/dae09fb8da0faa6dede4.js +0 -1
  585. package/assets/esri/core/workers/chunks/e16e88de4e93b0f48b2c.js +0 -1
  586. package/chunks/libtess-asm.js +0 -5
  587. package/chunks/libtess.js +0 -5
  588. package/layers/BlendMode.d.ts +0 -2
  589. package/layers/LayerListMode.d.ts +0 -2
  590. package/layers/LayerType.d.ts +0 -2
  591. package/popup/content/support/mediaInfoTypes.d.ts +0 -7
  592. package/support/modeUtils.d.ts +0 -2
  593. package/views/SelectionManager.d.ts +0 -1
  594. package/views/draw/input/VertexRemoveEvent.js +0 -5
  595. package/views/webgl/Texture.d.ts +0 -6
  596. /package/portal/{interfaces.d.ts → types.d.ts} +0 -0
  597. /package/rest/support/{interfaces.d.ts → types.d.ts} +0 -0
  598. /package/views/draw/{input/VertexUpdateEvent.js → VertexUpdateEvent.js} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9829],{513:(t,n,r)=>{r.d(n,{KP:()=>a,X0:()=>h,fM:()=>c,mq:()=>u,zW:()=>l});var e=r(19419),i=r(59803),s=r(15507);class a{constructor(t,n,r,e,i,s){this.cx=t,this.cy=n,this.radius=r,this.thetaStart=e,this.thetaEnd=i,this.isInvalid=s}get startPoint(){const{cx:t,cy:n,radius:r,thetaStart:e}=this;return[t+r*Math.cos(e),n+r*Math.sin(e)]}get endPoint(){const{cx:t,cy:n,radius:r,thetaEnd:e}=this;return[t+r*Math.cos(e),n+r*Math.sin(e)]}}function o(t,n){const{cx:r,cy:e,radius:i}=t;return[r+i*Math.cos(n),e+i*Math.sin(n)]}function u(t,n){if(t.isInvalid)return(0,s.RS)([0,0],t.startPoint,t.endPoint,n);const{thetaStart:r,thetaEnd:e}=t;return o(t,r*(1-n)+e*n)}function c(t,n){if(t.isInvalid)return(0,i.T)(t.startPoint,t.endPoint,n);const{cx:r,cy:e,thetaStart:a,thetaEnd:u}=t,[c,h]=n,l=(0,s.Pf)((0,s.yN)(a,u),Math.atan2(h-e,c-r)),f=o(t,l);return{t:(l-a)/(u-a),curvePoint:f,distance:Math.sqrt((0,s.kb)(n,f))}}function h(t,n){if(n.isInvalid)return(0,e.tK)(t,n.startPoint),(0,e.tK)(t,n.endPoint),t;const{cx:r,cy:i,radius:a,thetaStart:u,thetaEnd:c}=n;(0,e.tK)(t,o(n,u)),(0,e.tK)(t,o(n,c));const h=(0,s.yN)(u,c),l=Math.PI/2;let f=0;for(const n of[[r+a,i],[r,i+a],[r-a,i],[r,i-a]])f=(0,s.Cp)(h,f),f>h.min&&f<h.max&&(0,e.tK)(t,n),f+=l;return t}function l(t){if(t.isInvalid)return 2*t.radius;const{radius:n,thetaStart:r,thetaEnd:e}=t;return n*Math.abs(e-r)}},537:(t,n,r)=>{r.d(n,{B$:()=>x,LJ:()=>d,Pj:()=>b,Rg:()=>M,Yz:()=>p,z8:()=>g});var e=r(19419),i=r(79567),s=r(52006);function a(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function o(t){return void 0!==t.points}function u(t){return void 0!==t.x&&void 0!==t.y}function c(t){return void 0!==t.paths}function h(t){return void 0!==t.rings}function l(t){return function(n,r){return null==n?r:null==r?n:t(n,r)}}const f=l(Math.min),m=l(Math.max);function M(t,n){return c(n)?p(t,n.curvePaths??n.paths,!1,!1)??t:h(n)?p(t,n.curveRings??n.rings,!1,!1)??t:o(n)?b(t,n.points,!1,!1,!1,!1):a(n)?y(t,n):(u(n)&&(t[0]=n.x,t[1]=n.y,t[2]=n.x,t[3]=n.y),t)}function g(t){let n,r,i,s;for(t.reset(),n=i=1/0,r=s=-1/0;t.nextPath();){const e=x(t);n=Math.min(e[0],n),i=Math.min(e[1],i),r=Math.max(e[2],r),s=Math.max(e[3],s)}return(0,e.vt)([n,i,r,s])}function x(t){let n,r,i,s;for(n=i=1/0,r=s=-1/0;t.nextPoint();)n=Math.min(t.x,n),i=Math.min(t.y,i),r=Math.max(t.x,r),s=Math.max(t.y,s);return(0,e.vt)([n,i,r,s])}function d(t,n){return c(n)?p(t,n.curvePaths??n.paths,!0,!1)??t:h(n)?p(t,n.curveRings??n.rings,!0,!1)??t:o(n)?b(t,n.points,!0,!1,!0,!1):a(n)?y(t,n,0,0,!0,!1):(u(n)&&(t[0]=n.x,t[1]=n.y,t[2]=n.z,t[3]=n.x,t[4]=n.y,t[5]=n.z),t)}function p(t,n,r,a){const o=r?3:2;if(!n.length||!n[0].length)return null;let u,c,h,l,[M,g]=(0,s.yP)(n[0][0]),x=M,d=g;for(let t=0;t<n.length;t++){const p=n[t];for(let t=0;t<p.length;t++){const n=(0,s.yP)(p[t]),[y,b]=n;if(M=f(M,y),g=f(g,b),x=m(x,y),d=m(d,b),r&&n.length>2){const t=n[2];u=f(u,t),c=m(c,t)}if(a&&n.length>o){const t=n[o];h=f(h,t),l=m(l,t)}const v=p[t];if((0,s.Xq)(v)||t<1)continue;const I=(0,s.yP)(p[t-1]),P=(0,e.fA)(M,g,x,d);[M,g,x,d]=(0,i.e)(P,I,v)}}return r?a?(t[0]=M,t[1]=g,t[2]=u,t[3]=h,t[4]=x,t[5]=d,t[6]=c,t[7]=l,t.length=8,t):(t[0]=M,t[1]=g,t[2]=u,t[3]=x,t[4]=d,t[5]=c,t.length=6,t):a?(t[0]=M,t[1]=g,t[2]=h,t[3]=x,t[4]=d,t[5]=l,t.length=6,t):(t[0]=M,t[1]=g,t[2]=x,t[3]=d,t.length=4,t)}function y(t,n,r,e,i,s){const a=n.xmin,o=n.xmax,u=n.ymin,c=n.ymax;let h=n.zmin,l=n.zmax,f=n.mmin,m=n.mmax;return i?(h=h||0,l=l||0,s?(f=f||0,m=m||0,t[0]=a,t[1]=u,t[2]=h,t[3]=f,t[4]=o,t[5]=c,t[6]=l,t[7]=m,t):(t[0]=a,t[1]=u,t[2]=h,t[3]=o,t[4]=c,t[5]=l,t)):s?(f=f||0,m=m||0,t[0]=a,t[1]=u,t[2]=f,t[3]=o,t[4]=c,t[5]=m,t):(t[0]=a,t[1]=u,t[2]=o,t[3]=c,t)}function b(t,n,r,e,i,s){const a=r?3:2,o=e&&s,u=r&&i;if(!n.length||!n[0].length)return null;let c,h,l,M,[g,x]=n[0],[d,p]=n[0];for(let t=0;t<n.length;t++){const r=n[t],[e,i]=r;if(g=f(g,e),x=f(x,i),d=m(d,e),p=m(p,i),u&&r.length>2){const t=r[2];c=f(c,t),h=m(h,t)}if(o&&r.length>a){const t=r[a];l=f(c,t),M=m(h,t)}}return i?(c=c||0,h=h||0,s?(l=l||0,M=M||0,t[0]=g,t[1]=x,t[2]=c,t[3]=l,t[4]=d,t[5]=p,t[6]=h,t[7]=M,t):(t[0]=g,t[1]=x,t[2]=c,t[3]=d,t[4]=p,t[5]=h,t)):s?(l=l||0,M=M||0,t[0]=g,t[1]=x,t[2]=l,t[3]=d,t[4]=p,t[5]=M,t):(t[0]=g,t[1]=x,t[2]=d,t[3]=p,t)}},4305:(t,n,r)=>{r.d(n,{jK:()=>h,lM:()=>f,m_:()=>l,ty:()=>M});var e=r(34727),i=r(19419),s=r(15507);const a=[0,0];function o(t){const n=1-t,r=n*n,e=t*t;return[r*n,3*t*r,3*e*n,e*t]}function u(t,n,r,e,i){const[s,a,u,c]=o(i);return[t[0]*s+n[0]*a+r[0]*u+e[0]*c,t[1]*s+n[1]*a+r[1]*u+e[1]*c]}function c(t,n,r,e,i){const[s,a,u,c]=o(i);return t*s+n*a+r*u+e*c}function h(t,n,r){const e=t,[i,o,u]=n.b,c=(0,s.RS)([0,0],e,o,r),h=(0,s.RS)(a,o,u,r),l=(0,s.RS)([0,0],u,i,r),f=(0,s.RS)([0,0],c,h,r),m=(0,s.RS)([0,0],h,l,r);return[{b:[(0,s.RS)([],f,m,r),c,f]},{b:[[...i],m,l]}]}function l(t,n,r){const i=t,[a,o,c]=n.b,h=(0,s.R)(r,[.1,.5,.9],t=>{const n=1-t,[r,e]=u(i,o,c,a,t);return[r,e,3*n*n*(o[0]-i[0])+6*n*t*(c[0]-o[0])+3*t*t*(a[0]-c[0]),3*n*n*(o[1]-i[1])+6*n*t*(c[1]-o[1])+3*t*t*(a[1]-c[1]),6*n*(c[0]-2*o[0]+i[0])+6*t*(a[0]-2*c[0]+o[0]),6*n*(c[1]-2*o[1]+i[1])+6*t*(a[1]-2*c[1]+o[1])]}).map(t=>Math.min(1,Math.max(0,t)));h.push(0,1);let l=1/0;const f=h.map(t=>{const n=u(i,o,c,a,t),[e,s]=n,h=r[0]-e,f=r[1]-s,m=Math.sqrt(h*h+f*f);return l=Math.min(m,l),{t,curvePoint:n,distance:m}}),m=[];for(const t of f){const{t:n,distance:r}=t;(0,e.b6)(r,l)&&!m.some(({t})=>(0,e.Sp)(t,n))&&m.push(t)}return m}function f(t,n,r){const e=n,[s,a,o]=r.b;if((0,i.tK)(t,e),(0,i.tK)(t,s),(0,i.Rj)(t,a[0],a[1])&&(0,i.Rj)(t,o[0],o[1]))return t;for(const n of m(e[0],a[0],o[0],s[0]))n>0&&n<1&&(0,i.nw)(t,c(e[0],a[0],o[0],s[0],n));for(const n of m(e[1],a[1],o[1],s[1]))n>0&&n<1&&(0,i.IO)(t,c(e[1],a[1],o[1],s[1],n));return t}function m(t,n,r,e){const i=3*(3*(n-r)-t+e),s=6*(t-2*n+r),a=3*(n-t);if(0===i)return 0!==s?[-a/s]:[];const o=Math.sqrt(s*s-4*i*a);return[(-s+o)/(2*i),(-s-o)/(2*i)]}function M(t,n,r){let e=0,i=[n];for(let n=0;n<16;n++){let n=t;const a=[];for(const t of i)a.push(...h(n,t,.5)),n=t.b[0];i=a,n=t,e=0;let o=0;for(const t of i){const[r,i,a]=t.b,u=Math.sqrt((0,s.kb)(n,r));e+=(u+(Math.sqrt((0,s.kb)(n,i))+Math.sqrt((0,s.kb)(i,a))+Math.sqrt((0,s.kb)(a,r))))/2,o+=u,n=r}if(e-o<r)return e}return e}},12359:(t,n,r)=>{r.d(n,{IK:()=>h,TP:()=>f,Ve:()=>o,Z4:()=>s,l8:()=>a,w2:()=>c});var e=r(51118),i=r(95108);function s(t){return t?t.hasZ?[t.xmax-t.xmin/2,t.ymax-t.ymin/2,t.zmax-t.zmin/2]:[t.xmax-t.xmin/2,t.ymax-t.ymin/2]:null}function a(t){return function(t,n){if(!t?.length)return null;const r=[],e=[],s=n?[1/0,-1/0,1/0,-1/0,1/0,-1/0]:[1/0,-1/0,1/0,-1/0];for(let r=0,i=t.length;r<i;r++){const i=u(t[r],n,s);i&&e.push(i)}if(e.sort((t,r)=>{let e=t[2]-r[2];return 0===e&&n&&(e=t[4]-r[4]),e}),e.length&&(r[0]=e[0][0],r[1]=e[0][1],n&&(r[2]=e[0][3]),(r[0]<s[0]||r[0]>s[1]||r[1]<s[2]||r[1]>s[3]||n&&(r[2]<s[4]||r[2]>s[5]))&&(r.length=0)),!r.length){const e=t[0]&&t[0].length?function(t,n){const r=n?[0,0,0]:[0,0],e=n?[0,0,0]:[0,0];let s=0,a=0,o=0,u=0;for(let c=0,h=t.length;c<h-1;c++){const h=t[c],l=t[c+1];if(h&&l){r[0]=h[0],r[1]=h[1],e[0]=l[0],e[1]=l[1],n&&h.length>2&&l.length>2&&(r[2]=h[2],e[2]=l[2]);const t=(0,i.R3)(r,e);if(t){s+=t;const r=(0,i.t9)(h,l);a+=t*r[0],o+=t*r[1],n&&r.length>2&&(u+=t*r[2])}}}return s>0?n?[a/s,o/s,u/s]:[a/s,o/s]:t.length?t[0]:null}(t[0],n):null;if(!e)return null;r[0]=e[0],r[1]=e[1],n&&e.length>2&&(r[2]=e[2])}return r}(t.rings,t.hasZ??!1)}function o(t){const n=a(t);if(!n)return null;const{hasZ:r,spatialReference:e}=t,[i,s,o]=n;return isNaN(i)||isNaN(s)||r&&isNaN(o)?null:{x:i,y:s,z:r?o:void 0,spatialReference:e}}function u(t,n,r){let e=0,i=0,s=0,a=0,o=0;const u=t.length?t[0][0]:0,c=t.length?t[0][1]:0,h=t.length&&n?t[0][2]:0;for(let l=0;l<t.length;l++){const f=t[l],m=t[(l+1)%t.length],[M,g,x]=f,d=M-u,p=g-c,[y,b,v]=m,I=y-u,P=b-c,R=d*P-I*p;if(a+=R,e+=(d+I)*R,i+=(p+P)*R,n&&f.length>2&&m.length>2){const t=x-h,n=v-h,r=d*n-I*t;s+=(t+n)*r,o+=r}M<r[0]&&(r[0]=M),M>r[1]&&(r[1]=M),g<r[2]&&(r[2]=g),g>r[3]&&(r[3]=g),n&&(x<r[4]&&(r[4]=x),x>r[5]&&(r[5]=x))}if(a>0&&(a*=-1),o>0&&(o*=-1),!a)return null;a*=.5,o*=.5;const l=[e/(6*a)+u,i/(6*a)+c,a];return n&&(r[4]===r[5]||0===o?(l[3]=(r[4]+r[5])/2,l[4]=0):(l[3]=s/(6*o)+h,l[4]=o)),l}function c(t,n){let r=0,e=0,i=0;t.nextPoint();const s=t.pathSize?t.x:0,a=t.pathSize?t.y:0;for(let o=0;o<t.pathSize;o++){t.seekInPath(o);const u=[t.x,t.y];t.seekInPath((o+1)%t.pathSize);const c=[t.x,t.y],[h,l]=u,f=h-s,m=l-a,[M,g]=c,x=M-s,d=g-a,p=f*d-x*m;i+=p,r+=(f+x)*p,e+=(m+d)*p,h<n[0]&&(n[0]=h),h>n[1]&&(n[1]=h),l<n[2]&&(n[2]=l),l>n[3]&&(n[3]=l)}return i>0&&(i*=-1),i?(i*=.5,[r/(6*i)+s,e/(6*i)+a,i]):null}function h(t){const{hasZ:n,totalSize:r}=t;if(0===r)return null;const s=[],a=[],o=n?[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY]:[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY];for(t.reset();t.nextPath();){const n=u((0,e.A)(t),t.hasZ,o);n&&a.push(n)}if(a.sort((t,r)=>{let e=t[2]-r[2];return 0===e&&n&&(e=t[4]-r[4]),e}),a.length&&(s[0]=a[0][0],s[1]=a[0][1],n&&(s[2]=a[0][3]),(s[0]<o[0]||s[0]>o[1]||s[1]<o[2]||s[1]>o[3]||n&&(s[2]<o[4]||s[2]>o[5]))&&(s.length=0)),!s.length){t.reset(),t.nextPath();const r=t.pathSize?function(t){const{hasZ:n}=t,r=n?[0,0,0]:[0,0],e=n?[0,0,0]:[0,0];let s=0,a=0,o=0,u=0;if(t.nextPoint()){let c=t.x,h=t.y,l=t.z;for(;t.nextPoint();){const f=t.x,m=t.y,M=t.z;r[0]=c,r[1]=h,e[0]=f,e[1]=m,n&&(r[2]=l,e[2]=M);const g=(0,i.R3)(r,e);if(g){s+=g;const t=(0,i.t9)(r,e);a+=g*t[0],o+=g*t[1],n&&t.length>2&&(u+=g*t[2])}c=f,h=m,l=M}}return s>0?n?[a/s,o/s,u/s]:[a/s,o/s]:t.pathSize?(t.seekPathStart(),t.nextPoint(),[t.x,t.y]):null}(t):null;if(!r)return null;s[0]=r[0],s[1]=r[1],n&&r.length>2&&(s[2]=r[2])}return s}const l=1e-6;function f(t){let n=0;for(t.reset();t.nextPath();)n+=t.getCurrentRingArea();if(n<l){const n=h(t);return n?[n[0],n[1]]:null}const r=[0,0];if(t.reset(),!t.nextPath()||!t.nextPoint())return null;const e=[t.x,t.y];for(t.reset();t.nextPath();)M(r,e,t);return r[0]*=1/n,r[1]*=1/n,r[0]+=e[0],r[1]+=e[1],r}const m=1/3;function M(t,n,r){if(!t||!r||r.pathSize<3)return null;r.nextPoint();const e=r.x,i=r.y;r.nextPoint();let s,a=r.x-e,o=r.y-i,u=0,c=0;for(;r.nextPoint();)u=r.x-e,c=r.y-i,s=.5*m*(u*o-c*a),t[0]+=s*(a+u),t[1]+=s*(o+c),a=u,o=c;const h=r.getCurrentRingArea(),l=[e,i];return l[0]-=n[0],l[1]-=n[1],l[0]*=h,l[1]*=h,t[0]+=l[0],t[1]+=l[1],t}},15507:(t,n,r)=>{r.d(n,{Cp:()=>M,Gz:()=>m,M_:()=>o,Pf:()=>g,R:()=>x,RS:()=>s,kb:()=>a,t7:()=>c,yN:()=>f});var e=r(34727),i=r(37585);function s(t,n,r,e){return t[0]=n[0]*(1-e)+r[0]*e,t[1]=n[1]*(1-e)+r[1]*e,t}function a(t,n){return(0,i.hG)(t,n)}function o(t,n,r,e,i){const[s,a]=n,[o,u]=r,[c,h]=e,[l,f]=i,m=(s-o)*(h-f)-(a-u)*(c-l);if(0===m)return null;const M=(s*u-a*o)*(c-l)-(s-o)*(c*f-h*l),g=(s*u-a*o)*(h-f)-(a-u)*(c*f-h*l);return t[0]=M/m,t[1]=g/m,t}const u=2*Math.PI;function c(t,n){const r=Math.atan2(t,n);return r<0?r+u:r}function h(t){return Math.abs(t)%u}function l(t){const n=h(t);return n<Math.PI?n:u-n}function f(t,n){return{min:Math.min(t,n),max:Math.max(t,n)}}function m(t,n,r,i){if((0,e.Sp)(h(t-n),0))return r?[t,t]:[t,i?t-u:t+u];const[s,a]=i?[t-u,t]:[t,t+u];return[t,M({min:s,max:a},n)]}function M({min:t,max:n},r){let e;return e=n-r,e>=u?(e-=e%u,r+e):(e=r-t,e>=u?(e-=e%u,r-e):r)}function g(t,n){const r=M(t,n);return r>t.min&&r<t.max?r:l(r-t.min)<l(r-t.max)?t.min:t.max}function x(t,n,r,e=10){return n.map(n=>{let i=n;for(let n=0;n<e;n++){const[n,e,s,a,o,u]=r(i),c=t[0]-n,h=t[1]-e,l=-s,f=-a;i+=-(2*c*l+2*h*f)/(2*l*l+2*c*-o+2*f*f+2*h*-u||1e-6)}return i})}},29242:(t,n,r)=>{function e(){return[1,0,0,0,1,0,0,0,1]}function i(t,n,r,e,i,s,a,o,u){return[t,n,r,e,i,s,a,o,u]}r.d(n,{fA:()=>i,vt:()=>e,zK:()=>s});const s=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:e,fromValues:i},Symbol.toStringTag,{value:"Module"}))},37585:(t,n,r)=>{r.d(n,{C:()=>i,Cc:()=>x,Io:()=>l,S8:()=>g,WQ:()=>a,aI:()=>b,e$:()=>p,hG:()=>f,hZ:()=>s,hs:()=>h,jb:()=>I,l0:()=>d,t2:()=>y});var e=r(34304);function i(t,n){return t[0]=n[0],t[1]=n[1],t}function s(t,n,r){return t[0]=n,t[1]=r,t}function a(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t}function o(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t}function u(t,n,r){return t[0]=n[0]*r[0],t[1]=n[1]*r[1],t}function c(t,n,r){return t[0]=n[0]/r[0],t[1]=n[1]/r[1],t}function h(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t}function l(t,n){const r=n[0]-t[0],e=n[1]-t[1];return Math.sqrt(r*r+e*e)}function f(t,n){const r=n[0]-t[0],e=n[1]-t[1];return r*r+e*e}function m(t){const n=t[0],r=t[1];return Math.sqrt(n*n+r*r)}function M(t){const n=t[0],r=t[1];return n*n+r*r}function g(t,n){const r=n[0],e=n[1];let i=r*r+e*e;return i>0&&(i=1/Math.sqrt(i),t[0]=n[0]*i,t[1]=n[1]*i),t}function x(t,n,r,e){const i=n[0],s=n[1];return t[0]=i+e*(r[0]-i),t[1]=s+e*(r[1]-s),t}function d(t,n,r){const e=n[0],i=n[1];return t[0]=r[0]*e+r[2]*i+r[4],t[1]=r[1]*e+r[3]*i+r[5],t}function p(t,n,r,e){const i=n[0]-r[0],s=n[1]-r[1],a=Math.sin(e),o=Math.cos(e);return t[0]=i*o-s*a+r[0],t[1]=i*a+s*o+r[1],t}function y(t,n){return t[0]===n[0]&&t[1]===n[1]}function b(t,n){const r=t[0],i=t[1],s=n[0],a=n[1],o=(0,e.FD)();return Math.abs(r-s)<=o*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(i-a)<=o*Math.max(1,Math.abs(i),Math.abs(a))}const v=m,I=o,P=u,R=c,S=l,N=f,A=M;Object.freeze(Object.defineProperty({__proto__:null,add:a,angle:function(t,n){const r=t[0],e=t[1],i=n[0],s=n[1];let a=r*r+e*e;a>0&&(a=1/Math.sqrt(a));let o=i*i+s*s;o>0&&(o=1/Math.sqrt(o));const u=(r*i+e*s)*a*o;return u>1?0:u<-1?Math.PI:Math.acos(u)},ceil:function(t,n){return t[0]=Math.ceil(n[0]),t[1]=Math.ceil(n[1]),t},copy:i,cross:function(t,n,r){const e=n[0]*r[1]-n[1]*r[0];return t[0]=t[1]=0,t[2]=e,t},dist:S,distance:l,div:R,divide:c,dot:function(t,n){return t[0]*n[0]+t[1]*n[1]},equals:b,exactEquals:y,floor:function(t,n){return t[0]=Math.floor(n[0]),t[1]=Math.floor(n[1]),t},inverse:function(t,n){return t[0]=1/n[0],t[1]=1/n[1],t},len:v,length:m,lerp:x,max:function(t,n,r){return t[0]=Math.max(n[0],r[0]),t[1]=Math.max(n[1],r[1]),t},min:function(t,n,r){return t[0]=Math.min(n[0],r[0]),t[1]=Math.min(n[1],r[1]),t},mul:P,multiply:u,negate:function(t,n){return t[0]=-n[0],t[1]=-n[1],t},normalize:g,projectAndScale:function(t,n,r,e,i){let s=n[0]-r[0],a=n[1]-r[1];const o=(e[0]*s+e[1]*a)*(i-1);return s=e[0]*o,a=e[1]*o,t[0]=n[0]+s,t[1]=n[1]+a,t},random:function(t,n=1){const r=2*(0,e.Ov)()*Math.PI;return t[0]=Math.cos(r)*n,t[1]=Math.sin(r)*n,t},rotate:p,round:function(t,n){return t[0]=Math.round(n[0]),t[1]=Math.round(n[1]),t},scale:h,scaleAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t},set:s,sqrDist:N,sqrLen:A,squaredDistance:f,squaredLength:M,str:function(t){return"vec2("+t[0]+", "+t[1]+")"},sub:I,subtract:o,transformMat2:function(t,n,r){const e=n[0],i=n[1];return t[0]=r[0]*e+r[2]*i,t[1]=r[1]*e+r[3]*i,t},transformMat2d:d,transformMat3:function(t,n,r){const e=n[0],i=n[1];return t[0]=r[0]*e+r[3]*i+r[6],t[1]=r[1]*e+r[4]*i+r[7],t},transformMat4:function(t,n,r){const e=n[0],i=n[1];return t[0]=r[0]*e+r[4]*i+r[12],t[1]=r[1]*e+r[5]*i+r[13],t}},Symbol.toStringTag,{value:"Module"}))},39829:(t,n,r)=>{r.d(n,{A:()=>P});var e,i=r(31635),s=r(4576),a=r(51447),o=r(4718),u=r(53966),c=r(91429),h=r(5443),l=r(91075),f=r(86738),m=r(16930),M=r(12359),g=r(94078),x=r(95108),d=r(90634),p=r(12176),y=r(28735),b=r(56993),v=r(43937);function I(t){return!Array.isArray(t[0])}let P=e=class extends l.A{static fromExtent(t){const n=t.clone().normalize(),{spatialReference:r}=t;let i=!1,s=!1;for(const t of n)t.hasZ&&(i=!0),t.hasM&&(s=!0);const a={rings:n.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(i&&t.hasZ){const r=t.zmin+.5*(t.zmax-t.zmin);for(let t=0;t<n.length;t++)n[t].push(r)}if(s&&t.hasM){const r=t.mmin+.5*(t.mmax-t.mmin);for(let t=0;t<n.length;t++)n[t].push(r)}return n}),spatialReference:r};return i&&(a.hasZ=!0),s&&(a.hasM=!0),new e(a)}constructor(t){super(function(t){if(!t)return;let{rings:n,hasM:r,hasZ:e,spatialReference:i}=t;switch(n??=[],function(t){return"number"==typeof t[0]?.[0]}(n)&&(n=[n]),n[0]?.[0]?.length){case 4:e??=!0,r??=!0;break;case 3:e??=!0!==r,r??=!e;break;default:e??=!1,r??=!1}return i??=m.A.WGS84,{...t,hasM:r,hasZ:e,rings:n,spatialReference:i}}(t)),this.curveRings=void 0,this.rings=[],this.type="polygon"}get cache(){return this.commitProperty("curveRings"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("rings"),this.commitProperty("spatialReference"),{}}get centroid(){(0,a.Lx)(u.A.getLogger(this),"centroid",{replacement:"Please use centroidOperator.execute() instead.",version:"4.34",warnOnce:!0});const t=(0,M.Ve)(this);return t?f.A.fromJSON(t):null}writeCurveRings(t,n){n.curveRings=(0,o.o8)(t)}get extent(){const t=(0,d.v)(this),{spatialReference:n}=this;return t?new h.A({...t,spatialReference:n}):null}get isSelfIntersecting(){return(0,a.Lx)(u.A.getLogger(this),"isSelfIntersecting",{replacement:"Please use simplifyOperator.isSimple() instead.",version:"4.33",warnOnce:!0}),(0,p.A3)(this.rings)}writeRings(t,n){n.rings=(0,o.o8)(this.rings)}addRing(t){if(!t)return;const n=this.rings,r=n.length;if(I(t)){const e=[];for(let n=0,r=t.length;n<r;n++)e[n]=t[n].toArray();n[r]=e}else n[r]=t.slice();return this.notifyChange("rings"),this}clone(){const t=new e;return t.spatialReference=this.spatialReference,t.rings=(0,o.o8)(this.rings),t.curveRings=(0,o.o8)(this.curveRings),t.hasZ=this.hasZ,t.hasM=this.hasM,t}equals(t){if(this===t)return!0;if(null==t)return!1;const n=this.spatialReference,r=t.spatialReference;if(null!=n!=(null!=r))return!1;if(null!=n&&null!=r&&!n.equals(r))return!1;if(this.rings.length!==t.rings.length)return!1;const e=([t,n,r,e],[i,s,a,o])=>t===i&&n===s&&(null==r&&null==a||r===a)&&(null==e&&null==o||e===o);for(let n=0;n<this.rings.length;n++){const r=this.rings[n],i=t.rings[n];if(!(0,s.aI)(r,i,e))return!1}return!0}contains(t){if(!t)return!1;const n=(0,y.Cv)(t,this.spatialReference);return(0,g.m3)(this,null!=n?n:t)}isClockwise(t){const n=I(t)?t.map(t=>this.hasZ?this.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y]):t;return(0,x.$3)(n)}getPoint(t,n){if(!this._validateInputs(t,n))return null;const r=this.rings[t][n],e=this.hasZ,i=this.hasM;return e&&!i?new f.A(r[0],r[1],r[2],void 0,this.spatialReference):i&&!e?new f.A(r[0],r[1],void 0,r[2],this.spatialReference):e&&i?new f.A(r[0],r[1],r[2],r[3],this.spatialReference):new f.A(r[0],r[1],this.spatialReference)}insertPoint(t,n,r){return this._validateInputs(t,n,!0)?((0,b.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.rings[t].splice(n,0,r),this.notifyChange("rings"),this):this}removePoint(t,n){if(!this._validateInputs(t,n))return null;const r=new f.A(this.rings[t].splice(n,1)[0],this.spatialReference);return this.notifyChange("rings"),r}removeRing(t){if(!this._validateInputs(t,null))return null;const n=this.rings.splice(t,1)[0],r=this.spatialReference,e=n.map(t=>new f.A(t,r));return this.notifyChange("rings"),e}setPoint(t,n,r){return this._validateInputs(t,n)?((0,b.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.rings[t][n]=r,this.notifyChange("rings"),this):this}_validateInputs(t,n,r=!1){if(null==t||t<0||t>=this.rings.length)return!1;if(null!=n){const e=this.rings[t];if(r&&(n<0||n>e.length))return!1;if(!r&&(n<0||n>=e.length))return!1}return!0}toJSON(t){return this.write({},t)}};(0,i.Cg)([(0,c.MZ)({readOnly:!0})],P.prototype,"cache",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],P.prototype,"centroid",null),(0,i.Cg)([(0,c.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],P.prototype,"curveRings",void 0),(0,i.Cg)([(0,v.K)("curveRings")],P.prototype,"writeCurveRings",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],P.prototype,"extent",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],P.prototype,"isSelfIntersecting",null),(0,i.Cg)([(0,c.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],P.prototype,"rings",void 0),(0,i.Cg)([(0,v.K)("rings")],P.prototype,"writeRings",null),P=e=(0,i.Cg)([(0,c.$K)("esri.geometry.Polygon")],P),P.prototype.toJSON.isDefaultToJSON=!0},46068:(t,n,r)=>{r.d(n,{DL:()=>m,ED:()=>l,SW:()=>u,Uk:()=>h,pb:()=>f,xm:()=>M}),r(77690);var e=r(29242),i=(r(37585),r(19419)),s=r(52006),a=r(15507);class o{constructor(t,n,r,e,i,s,a,o,u){this.cx=t,this.cy=n,this.a=r,this.b=e,this.cosR=i,this.sinR=s,this.u1=a,this.u2=o,this.isInvalid=u}}function u(t,n){const[r,e,i,s,u,c,h]=n.a,[l,f]=t,[m,M]=r,[g,x]=e,d=c*h,p=Math.cos(u),y=Math.sin(u),[b,v]=(0,a.Gz)((0,a.t7)(1/d*(f-x)*p-1/d*(l-g)*y,1/c*(f-x)*y+1/c*(l-g)*p),Math.atan2(1/d*(M-x)*p-1/d*(m-g)*y,1/c*(M-x)*y+1/c*(m-g)*p),i,s);return new o(g,x,c,d,p,y,b,v,0===c||0===d)}function c(t,n){const{a:r,b:e,cosR:i,sinR:s,cx:a,cy:o}=t,u=Math.cos(n),c=Math.sin(n);return[r*u*i-e*c*s+a,r*u*s+e*c*i+o]}function h(t,n){const{u1:r,u2:e}=t;return c(t,r*(1-n)+e*n)}function l(t,n,r){if(r<0||r>1)return[];if(0===r||1===r)return[(0,s.tk)(n)];const[e,[i,a],o,u,c,l,f]=n.a,{u1:m,u2:M}=t,g=m*(1-r)+M*r;return[{a:[[...h(t,r)],[i,a],Math.abs(g-m)<Math.PI?1:0,u,c,l,f]},{a:[[...e],[i,a],Math.abs(M-g)<Math.PI?1:0,u,c,l,f]}]}function f(t,n){const{a:r,b:e,cosR:i,sinR:s,u1:o,u2:u}=t,h=Math.PI/6,l=(0,a.R)(n,[1*h,2*h,4*h,5*h,7*h,8*h,10*h,11*h],n=>{const a=Math.cos(n),o=Math.sin(n),[u,h]=c(t,n);return[u,h,-r*i*o-e*s*a,-r*s*o+e*i*a,-r*i*a+e*s*o,-r*s*a-e*i*o]}),f=(0,a.yN)(o,u),m=new Set(l.map(t=>(0,a.Cp)(f,t)).filter(t=>t>f.min&&t<f.max));m.add(o),m.add(u);let M,g,x=1/0;for(const r of m){const e=c(t,r),[i,s]=e,a=n[0]-i,h=n[1]-s,l=a*a+h*h;l<x&&(M=(r-o)/(u-o),g=e,x=l)}return{t:M,curvePoint:g,distance:Math.sqrt(x)}}function m(t,n,r){const e=u(n,r),{a:s,b:o,u1:h,u2:l,cosR:f,sinR:m,isInvalid:M}=e,g=r.a[0];if((0,i.tK)(t,n),(0,i.tK)(t,g),M)return t;const x=Math.atan2(-o*m,s*f),d=x+Math.PI,p=Math.atan2(o*f,s*m),y=p+Math.PI,b=(0,a.yN)(h,l);for(const n of[x,d,p,y].map(t=>(0,a.Cp)(b,t)))n>b.min&&n<b.max&&(0,i.tK)(t,c(e,n));return t}function M(t,n,r){const[e,i,s,o,l,f,m]=n.a,M=u(t,n),{u1:g,u2:x,isInvalid:d}=M,p=x-g;if(d)return Math.sqrt((0,a.kb)(t,e));const y=[0,0];let b=0,v=[h(M,0),h(M,.25),h(M,.5),h(M,.75),h(M,1)];for(let t=0;t<14;t++){const t=v.length-1,n=p/(2*t),e=[];for(let r=0;r<t;r++)e.push(v[r]),e.push(c(M,g+(2*r+1)*n));e.push(v[v.length-1]),v=e,b=0;let s=0;for(let t=1;t<v.length;t++){const n=v[t-1],r=v[t];if(b+=Math.sqrt((0,a.kb)(n,r)),t>1){const e=v[t-2],o=(0,a.M_)(y,e,n,i,r);s+=o?Math.sqrt((0,a.kb)(n,o)):Math.abs(r[0]-n[0])+Math.abs(r[1]-n[1])}else s+=b}if(s-b<r)return b}return b}(0,e.vt)(),(0,e.vt)(),(0,e.vt)(),(0,e.vt)()},49663:(t,n,r)=>{r.d(n,{i:()=>a,x:()=>o});var e=r(34727),i=r(513),s=r(15507);function a(t,n){const[r,a,o,u]=n.a,[c,h]=t,[l,f]=r,[m,M]=a,g=c-m,x=h-M,d=Math.sqrt(g*g+x*x),p=l-m,y=f-M,b=Math.sqrt(p*p+y*y),v=0===d||0===b||!(0,e.b6)(d,b),I=d,[P,R]=(0,s.Gz)((0,s.t7)(h-M,c-m),Math.atan2(f-M,l-m),o,u);return new i.KP(m,M,I,P,R,v)}function o(t,n,r){const{cx:e,cy:s,thetaStart:a,thetaEnd:o}=t,[u,c,h,l]=n.a,f=a*(1-r)+o*r;return[{a:[(0,i.mq)(t,r),[e,s],Math.abs(f-a)<Math.PI?1:0,l]},{a:[[...u],[e,s],Math.abs(o-f)<Math.PI?1:0,l]}]}},50954:(t,n,r)=>{r.d(n,{GX:()=>h,pM:()=>c});var e=r(77690),i=r(29242),s=r(513),a=r(15507);const o=(0,i.vt)();function u(t,n,r){const[i,s]=t,[u,c]=n,[h,l]=r;(0,e.hZ)(o,i,u,h,s,c,l,1,1,1);const f=(0,e.a4)(o),m=4*f/((0,a.kb)(t,n)+(0,a.kb)(n,r)+(0,a.kb)(r,t));if(!isFinite(m)||Math.abs(m)<1e-8)return null;const M=i**2+s**2,g=u**2+c**2,x=h**2+l**2;(0,e.hZ)(o,M,g,x,s,c,l,1,1,1);const d=(0,e.a4)(o);return(0,e.hZ)(o,M,g,x,i,u,h,1,1,1),[d/f*.5,(0,e.a4)(o)/f*-.5]}function c(t,n){const[r,e]=n.c,i=u(t,e,r),o=null==i,c=i??(0,a.RS)([],t,r,.5),[h,l]=t,[f,m]=e,[M,g]=r,[x,d]=c,p=h-x,y=l-d,b=Math.sqrt(p*p+y*y),v=(0,a.t7)(l-d,h-x),I=(0,a.t7)(m-d,f-x);let P=(0,a.t7)(g-d,M-x);return(I-v)*(P-I)<0&&(P+=2*Math.sign(v-P)*Math.PI),new s.KP(x,d,b,v,P,o)}function h(t,n,r){const e=(0,s.mq)(t,r/2),i=(0,s.mq)(t,r),a=(0,s.mq)(t,(r+1)/2);return[{c:[i,e]},{c:[[...n.c[0]],a]}]}},51118:(t,n,r)=>{function e(t){const n=[];for(t.reset();t.nextPath();){const r=[];for(;t.nextPoint();){const n=[t.x,t.y];t.hasZ&&n.push(t.z),t.hasM&&n.push(t.m),r.push(n)}n.push(r)}return t.reset(),n}function i(t){const n=[];for(;t.nextPoint();)n.push([t.x,t.y]);return t.seekPathStart(),n}r.d(n,{A:()=>i,x:()=>e})},52006:(t,n,r)=>{function e(t){return"curveRings"in t&&!!t.curveRings?.length||"curvePaths"in t&&!!t.curvePaths?.length}function i(t){return"b"in t}function s(t){return"c"in t}function a(t){return Array.isArray(t)}function o(t){return"a"in t&&4===t.a.length}function u(t){return"a"in t&&7===t.a.length}function c(t){return a(t)?t:i(t)?t.b[0]:s(t)?t.c[0]:t.a[0]}function h(t){if(i(t)){const[n,r,e]=t.b;return{b:[[...n],[...r],[...e]]}}if(s(t)){const[n,r]=t.c;return{c:[[...n],[...r]]}}if(a(t))return[...t];if(o(t)){const[n,r,e,i]=t.a;return{a:[[...n],[...r],e,i]}}if(u(t)){const[n,r,e,i,s,a,o]=t.a;return{a:[[...n],[...r],e,i,s,a,o]}}return t}r.d(n,{DA:()=>o,Ed:()=>e,Xq:()=>a,aO:()=>s,n1:()=>i,tk:()=>h,wY:()=>u,yP:()=>c})},56993:(t,n,r)=>{function e(t,n,r=!1){let{hasM:e,hasZ:i}=t;Array.isArray(n)?4!==n.length||e||i?3===n.length&&r&&!e?(i=!0,e=!1):3===n.length&&e&&i&&(e=!1,i=!1):(e=!0,i=!0):(i=!i&&n.hasZ&&(!e||n.hasM),e=!e&&n.hasM&&(!i||n.hasZ)),t.hasZ=i,t.hasM=e}r.d(n,{h:()=>e})},59803:(t,n,r)=>{r.d(n,{T:()=>s});var e=r(34727),i=r(15507);function s(t,n,r){const[s,a]=t,[o,u]=n,[c,h]=r,[l,f]=[o-s,u-a];let m=l*(c-s)+f*(h-a);m/=l**2+f**2,m=(0,e.qE)(m,0,1);const M=(0,i.RS)([0,0],t,n,m);return{t:m,curvePoint:M,distance:Math.sqrt((0,i.kb)(M,r))}}},77690:(t,n,r)=>{r.d(n,{B8:()=>o,Ge:()=>m,I0:()=>f,KC:()=>u,a4:()=>c,hZ:()=>s,hs:()=>l,lw:()=>h,mg:()=>a,z0:()=>i});var e=r(34304);function i(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[4],t[4]=n[5],t[5]=n[6],t[6]=n[8],t[7]=n[9],t[8]=n[10],t}function s(t,n,r,e,i,s,a,o,u,c){return t[0]=n,t[1]=r,t[2]=e,t[3]=i,t[4]=s,t[5]=a,t[6]=o,t[7]=u,t[8]=c,t}function a(t,n){if(t===n){const r=n[1],e=n[2],i=n[5];t[1]=n[3],t[2]=n[6],t[3]=r,t[5]=n[7],t[6]=e,t[7]=i}else t[0]=n[0],t[1]=n[3],t[2]=n[6],t[3]=n[1],t[4]=n[4],t[5]=n[7],t[6]=n[2],t[7]=n[5],t[8]=n[8];return t}function o(t,n){const r=n[0],e=n[1],i=n[2],s=n[3],a=n[4],o=n[5],u=n[6],c=n[7],h=n[8],l=h*a-o*c,f=-h*s+o*u,m=c*s-a*u;let M=r*l+e*f+i*m;return M?(M=1/M,t[0]=l*M,t[1]=(-h*e+i*c)*M,t[2]=(o*e-i*a)*M,t[3]=f*M,t[4]=(h*r-i*u)*M,t[5]=(-o*r+i*s)*M,t[6]=m*M,t[7]=(-c*r+e*u)*M,t[8]=(a*r-e*s)*M,t):null}function u(t,n){const r=n[0],e=n[1],i=n[2],s=n[3],a=n[4],o=n[5],u=n[6],c=n[7],h=n[8];return t[0]=a*h-o*c,t[1]=i*c-e*h,t[2]=e*o-i*a,t[3]=o*u-s*h,t[4]=r*h-i*u,t[5]=i*s-r*o,t[6]=s*c-a*u,t[7]=e*u-r*c,t[8]=r*a-e*s,t}function c(t){const n=t[0],r=t[1],e=t[2],i=t[3],s=t[4],a=t[5],o=t[6],u=t[7],c=t[8];return n*(c*s-a*u)+r*(-c*i+a*o)+e*(u*i-s*o)}function h(t,n,r){const e=n[0],i=n[1],s=n[2],a=n[3],o=n[4],u=n[5],c=n[6],h=n[7],l=n[8],f=r[0],m=r[1],M=r[2],g=r[3],x=r[4],d=r[5],p=r[6],y=r[7],b=r[8];return t[0]=f*e+m*a+M*c,t[1]=f*i+m*o+M*h,t[2]=f*s+m*u+M*l,t[3]=g*e+x*a+d*c,t[4]=g*i+x*o+d*h,t[5]=g*s+x*u+d*l,t[6]=p*e+y*a+b*c,t[7]=p*i+y*o+b*h,t[8]=p*s+y*u+b*l,t}function l(t,n,r){const e=r[0],i=r[1],s=r[2];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=i*n[3],t[4]=i*n[4],t[5]=i*n[5],t[6]=s*n[6],t[7]=s*n[7],t[8]=s*n[8],t}function f(t,n){const r=n[0],e=n[1],i=n[2],s=n[3],a=r+r,o=e+e,u=i+i,c=r*a,h=e*a,l=e*o,f=i*a,m=i*o,M=i*u,g=s*a,x=s*o,d=s*u;return t[0]=1-l-M,t[3]=h-d,t[6]=f+x,t[1]=h+d,t[4]=1-c-M,t[7]=m-g,t[2]=f-x,t[5]=m+g,t[8]=1-c-l,t}function m(t,n){const r=n[0],e=n[1],i=n[2],s=n[3],a=n[4],o=n[5],u=n[6],c=n[7],h=n[8],l=n[9],f=n[10],m=n[11],M=n[12],g=n[13],x=n[14],d=n[15],p=r*o-e*a,y=r*u-i*a,b=r*c-s*a,v=e*u-i*o,I=e*c-s*o,P=i*c-s*u,R=h*g-l*M,S=h*x-f*M,N=h*d-m*M,A=l*x-f*g,z=l*d-m*g,q=f*d-m*x;let Z=p*q-y*z+b*A+v*N-I*S+P*R;return Z?(Z=1/Z,t[0]=(o*q-u*z+c*A)*Z,t[1]=(u*N-a*q-c*S)*Z,t[2]=(a*z-o*N+c*R)*Z,t[3]=(i*z-e*q-s*A)*Z,t[4]=(r*q-i*N+s*S)*Z,t[5]=(e*N-r*z-s*R)*Z,t[6]=(g*P-x*I+d*v)*Z,t[7]=(x*b-M*P-d*y)*Z,t[8]=(M*I-g*b+d*p)*Z,t):null}function M(t,n,r){return t[0]=n[0]-r[0],t[1]=n[1]-r[1],t[2]=n[2]-r[2],t[3]=n[3]-r[3],t[4]=n[4]-r[4],t[5]=n[5]-r[5],t[6]=n[6]-r[6],t[7]=n[7]-r[7],t[8]=n[8]-r[8],t}const g=h,x=M;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,n,r){return t[0]=n[0]+r[0],t[1]=n[1]+r[1],t[2]=n[2]+r[2],t[3]=n[3]+r[3],t[4]=n[4]+r[4],t[5]=n[5]+r[5],t[6]=n[6]+r[6],t[7]=n[7]+r[7],t[8]=n[8]+r[8],t},adjoint:u,copy:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t},determinant:c,equals:function(t,n){const r=t[0],i=t[1],s=t[2],a=t[3],o=t[4],u=t[5],c=t[6],h=t[7],l=t[8],f=n[0],m=n[1],M=n[2],g=n[3],x=n[4],d=n[5],p=n[6],y=n[7],b=n[8],v=(0,e.FD)();return Math.abs(r-f)<=v*Math.max(1,Math.abs(r),Math.abs(f))&&Math.abs(i-m)<=v*Math.max(1,Math.abs(i),Math.abs(m))&&Math.abs(s-M)<=v*Math.max(1,Math.abs(s),Math.abs(M))&&Math.abs(a-g)<=v*Math.max(1,Math.abs(a),Math.abs(g))&&Math.abs(o-x)<=v*Math.max(1,Math.abs(o),Math.abs(x))&&Math.abs(u-d)<=v*Math.max(1,Math.abs(u),Math.abs(d))&&Math.abs(c-p)<=v*Math.max(1,Math.abs(c),Math.abs(p))&&Math.abs(h-y)<=v*Math.max(1,Math.abs(h),Math.abs(y))&&Math.abs(l-b)<=v*Math.max(1,Math.abs(l),Math.abs(b))},exactEquals:function(t,n){return t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]&&t[3]===n[3]&&t[4]===n[4]&&t[5]===n[5]&&t[6]===n[6]&&t[7]===n[7]&&t[8]===n[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,n){return t[0]=n[0],t[1]=n[1],t[2]=0,t[3]=n[2],t[4]=n[3],t[5]=0,t[6]=n[4],t[7]=n[5],t[8]=1,t},fromMat4:i,fromQuat:f,fromRotation:function(t,n){const r=Math.sin(n),e=Math.cos(n);return t[0]=e,t[1]=r,t[2]=0,t[3]=-r,t[4]=e,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=n[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=n[0],t[7]=n[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:o,isOrthoNormal:function(t){const n=(0,e.FD)(),r=t[0],i=t[1],s=t[2],a=t[3],o=t[4],u=t[5],c=t[6],h=t[7],l=t[8];return Math.abs(1-(r*r+a*a+c*c))<=n&&Math.abs(1-(i*i+o*o+h*h))<=n&&Math.abs(1-(s*s+u*u+l*l))<=n},mul:g,multiply:h,multiplyScalar:function(t,n,r){return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*r,t[5]=n[5]*r,t[6]=n[6]*r,t[7]=n[7]*r,t[8]=n[8]*r,t},multiplyScalarAndAdd:function(t,n,r,e){return t[0]=n[0]+r[0]*e,t[1]=n[1]+r[1]*e,t[2]=n[2]+r[2]*e,t[3]=n[3]+r[3]*e,t[4]=n[4]+r[4]*e,t[5]=n[5]+r[5]*e,t[6]=n[6]+r[6]*e,t[7]=n[7]+r[7]*e,t[8]=n[8]+r[8]*e,t},normalFromMat4:m,normalFromMat4Legacy:function(t,n){const r=n[0],e=n[1],i=n[2],s=n[4],a=n[5],o=n[6],u=n[8],c=n[9],h=n[10],l=h*a-o*c,f=-h*s+o*u,m=c*s-a*u,M=r*l+e*f+i*m;if(!M)return null;const g=1/M;return t[0]=l*g,t[1]=(-h*e+i*c)*g,t[2]=(o*e-i*a)*g,t[3]=f*g,t[4]=(h*r-i*u)*g,t[5]=(-o*r+i*s)*g,t[6]=m*g,t[7]=(-c*r+e*u)*g,t[8]=(a*r-e*s)*g,t},projection:function(t,n,r){return t[0]=2/n,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/r,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,n,r){const e=n[0],i=n[1],s=n[2],a=n[3],o=n[4],u=n[5],c=n[6],h=n[7],l=n[8],f=Math.sin(r),m=Math.cos(r);return t[0]=m*e+f*a,t[1]=m*i+f*o,t[2]=m*s+f*u,t[3]=m*a-f*e,t[4]=m*o-f*i,t[5]=m*u-f*s,t[6]=c,t[7]=h,t[8]=l,t},scale:l,scaleByVec2:function(t,n,r){const e=r[0],i=r[1];return t[0]=e*n[0],t[1]=e*n[1],t[2]=e*n[2],t[3]=i*n[3],t[4]=i*n[4],t[5]=i*n[5],t},set:s,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:x,subtract:M,translate:function(t,n,r){const e=n[0],i=n[1],s=n[2],a=n[3],o=n[4],u=n[5],c=n[6],h=n[7],l=n[8],f=r[0],m=r[1];return t[0]=e,t[1]=i,t[2]=s,t[3]=a,t[4]=o,t[5]=u,t[6]=f*e+m*a+c,t[7]=f*i+m*o+h,t[8]=f*s+m*u+l,t},transpose:a},Symbol.toStringTag,{value:"Module"}))},79567:(t,n,r)=>{r.d(n,{e:()=>h});var e=r(19419),i=r(4305),s=r(513),a=r(50954),o=r(52006),u=r(49663),c=r(46068);function h(t,n,r){if((0,o.Xq)(r))return(0,e.tK)(t,n),(0,e.tK)(t,r),t;if((0,o.n1)(r))return(0,i.lM)(t,n,r);if((0,o.aO)(r)){const e=(0,a.pM)(n,r);return(0,s.X0)(t,e)}if((0,o.DA)(r)){const e=(0,u.i)(n,r);return(0,s.X0)(t,e)}return(0,c.DL)(t,n,r)}},90634:(t,n,r)=>{r.d(n,{HA:()=>h,Z3:()=>m,ge:()=>l,v:()=>f});var e=r(537);const i=[];function s(t,n,r,e){return{xmin:t,ymin:n,xmax:r,ymax:e}}function a(t,n,r,e,i,s){return{xmin:t,ymin:n,zmin:r,xmax:e,ymax:i,zmax:s}}function o(t,n,r,e,i,s){return{xmin:t,ymin:n,mmin:r,xmax:e,ymax:i,mmax:s}}function u(t,n,r,e,i,s,a,o){return{xmin:t,ymin:n,zmin:r,mmin:e,xmax:i,ymax:s,zmax:a,mmax:o}}function c(t,n=!1,r=!1){return n?r?u(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]):a(t[0],t[1],t[2],t[3],t[4],t[5]):r?o(t[0],t[1],t[2],t[3],t[4],t[5]):s(t[0],t[1],t[2],t[3])}function h(t){return t?function(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}(t)?t:function(t){return void 0!==t.x&&void 0!==t.y}(t)?function(t){const{x:n,y:r,z:e,m:i}=t,c=null!=i;return null!=e?c?u(n,r,e,i,n,r,e,i):a(n,r,e,n,r,e):c?o(n,r,i,n,r,i):s(n,r,n,r)}(t):function(t){return void 0!==t.rings}(t)?f(t):function(t){return void 0!==t.paths}(t)?m(t):function(t){return void 0!==t.points}(t)?l(t):null:null}function l(t){const{hasZ:n,hasM:r,points:s}=t,a=(0,e.Pj)(i,s,n??!1,r??!1,n??!1,r??!1);return a?c(a,n,r):null}function f(t){const{hasZ:n,hasM:r,rings:s,curveRings:a}=t,o=(0,e.Yz)(i,a??s,n??!1,r??!1);return o?c(o,n,r):null}function m(t){const{hasZ:n,hasM:r,paths:s,curvePaths:a}=t,o=(0,e.Yz)(i,a??s,n??!1,r??!1);return o?c(o,n,r):null}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[335],{159:(e,t,r)=>{r.d(t,{A:()=>l});var n,i=r(31635),s=r(69622),o=r(91429),a=r(99157);let l=n=class extends s.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,i.Cg)([(0,o.MZ)({type:[a.A],nonNullable:!0})],l.prototype,"steps",void 0),l=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},1626:(e,t,r)=>{r.d(t,{A:()=>p});var n,i=r(31635),s=r(4718),o=r(91429),a=r(2485),l=r(72606),u=r(43937),c=r(36005);let p=n=class extends l.A{constructor(e){super(e),this.colorRamps=null,this.type="multipart",this.weights=void 0}writeColorRamps(e,t,r,n){const i=e?.map(e=>e.toJSON(n)),{weights:s}=this;if(i&&s?.length&&i.length===s?.length){const e=100/s.reduce((e,t)=>e+t);let t=0;i.forEach((r,n)=>{r.start=t,t+=s[n]*e,r.stop=t})}t.colorRamps=i}readWeights(e,t){const r=t.colorRamps?.map(({start:e,stop:t})=>null==e||null==t?-1:t-e);if(!r?.some(e=>e<0))return r}clone(){return new n({colorRamps:(0,s.o8)(this.colorRamps)})}};(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],p.prototype,"colorRamps",void 0),(0,i.Cg)([(0,u.K)("colorRamps")],p.prototype,"writeColorRamps",null),(0,i.Cg)([(0,o.MZ)({type:["multipart"],json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),(0,i.Cg)([(0,o.MZ)({type:[Number]})],p.prototype,"weights",void 0),(0,i.Cg)([(0,c.w)("weights",["colorRamps"])],p.prototype,"readWeights",null),p=n=(0,i.Cg)([(0,o.$K)("esri.rest.support.MultipartColorRamp")],p)},2485:(e,t,r)=>{r.d(t,{A:()=>p});var n,i=r(31635),s=r(68197),o=r(4718),a=r(91429),l=r(56507),u=r(72606),c=r(93223);let p=n=class extends u.A{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new n({fromColor:(0,o.o8)(this.fromColor),toColor:(0,o.o8)(this.toColor),algorithm:this.algorithm})}};(0,i.Cg)([(0,c.e)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],p.prototype,"algorithm",void 0),(0,i.Cg)([(0,a.MZ)({type:s.A,json:{type:[l.jz],write:{isRequired:!0}}})],p.prototype,"fromColor",void 0),(0,i.Cg)([(0,a.MZ)({type:s.A,json:{type:[l.jz],write:{isRequired:!0}}})],p.prototype,"toColor",void 0),(0,i.Cg)([(0,a.MZ)({type:["algorithmic"],json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),p=n=(0,i.Cg)([(0,a.$K)("esri.rest.support.AlgorithmicColorRamp")],p)},8631:(e,t,r)=>{r.d(t,{rS:()=>h,gK:()=>p}),r(44208);var n,i=r(53177),s=r(76357),o=r(31635),a=r(91429),l=r(93223);let u=class extends s.A{static{n=this}constructor(e){super(e),this.type="inherited"}clone(){return new n}};(0,o.Cg)([(0,l.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=n=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],u);var c=r(41628);const p={key:"type",base:s.A,typeMap:{range:c.A,"coded-value":i.A,inherited:u}};function h(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},9762:(e,t,r)=>{r.r(t),r.d(t,{projectBuffer:()=>i});var n=r(37539);function i(e,t,r,i,s,o,a=Math.floor(e.length/3)){const l=(0,n.jd)(t,s);if(null==l)return!1;if(l===n.pO){if(e===i&&r===o)return!0;const t=r+3*a;for(let n=r,s=o;n<t;n++,s++)i[s]=e[n]??0;return!0}const u=r+3*a;for(let t=r,n=o;t<u;t+=3,n+=3)l(e,t,i,n);return!0}},10333:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(31635),i=r(25482),s=r(91429);let o=class extends i.o{get affectsPixelSize(){return!1}forwardTransform(e){return e}inverseTransform(e){return e}};(0,n.Cg)([(0,s.MZ)()],o.prototype,"affectsPixelSize",null),(0,n.Cg)([(0,s.MZ)({json:{write:!0}})],o.prototype,"spatialReference",void 0),o=(0,n.Cg)([(0,s.$K)("esri.layers.raster.transforms.BaseRasterTransform")],o)},20437:(e,t,r)=>{r.d(t,{A:()=>d});var n,i=r(31635),s=r(66552),o=r(25482),a=r(91429),l=r(56507),u=r(8631),c=r(98453),p=r(36005),h=r(93223);const f=new s.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let d=class extends o.o{static{n=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?f.fromJSON(r.fieldValueType):null}clone(){return new n({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],d.prototype,"defaultValue",void 0),(0,i.Cg)([(0,a.MZ)()],d.prototype,"description",void 0),(0,i.Cg)([(0,p.w)("description")],d.prototype,"readDescription",null),(0,i.Cg)([(0,a.MZ)({types:u.gK,json:{read:{reader:u.rS},write:!0}})],d.prototype,"domain",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"editable",void 0),(0,i.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],d.prototype,"length",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"nullable",void 0),(0,i.Cg)([(0,h.e)(c.m)],d.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)()],d.prototype,"valueType",void 0),(0,i.Cg)([(0,p.w)("valueType",["description"])],d.prototype,"readValueType",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],d.prototype,"visible",void 0),d=n=(0,i.Cg)([(0,a.$K)("esri.layers.support.Field")],d)},21276:(e,t,r)=>{r.d(t,{H:()=>s,f:()=>i});var n=r(49186);function i(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new n.A("internal:mesh","Mesh geometries are not supported for this operation")}function s(e){e.forEach(i)}},28735:(e,t,r)=>{r.d(t,{Cv:()=>g,Gh:()=>M,ci:()=>x,je:()=>v,jg:()=>h,tD:()=>w,y7:()=>m});var n=r(4718),i=r(21276),s=r(16930),o=r(79258),a=r(21325);const l=57.29577951308232,u=.017453292519943;function c(e){return e*l}function p(e){return e*u}function h(e){return Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))}function f(e){return null!=e.wkid||null!=e.wkt}const d=[0,0];function y(e,t,r,n,i){const s=e,o=i;if(o.spatialReference=r,"x"in s&&"x"in o)[o.x,o.y]=t(s.x,s.y,d,n);else if("xmin"in s&&"xmin"in o)[o.xmin,o.ymin]=t(s.xmin,s.ymin,d,n),[o.xmax,o.ymax]=t(s.xmax,s.ymax,d,n);else if("paths"in s&&"paths"in o||"rings"in s&&"rings"in o){const e="paths"in s?s.paths:s.rings,r=[];let i;for(let s=0;s<e.length;s++){const o=e[s];i=[],r.push(i);for(let e=0;e<o.length;e++)i.push(t(o[e][0],o[e][1],[0,0],n)),o[e].length>2&&i[e].push(o[e][2]),o[e].length>3&&i[e].push(o[e][3])}"paths"in o?o.paths=r:o.rings=r}else if("points"in s&&"points"in o){const e=s.points,r=[];for(let i=0;i<e.length;i++)r[i]=t(e[i][0],e[i][1],[0,0],n),e[i].length>2&&r[i].push(e[i][2]),e[i].length>3&&r[i].push(e[i][3]);o.points=r}return i}function m(e,t){const r=e&&(f(e)?e:e.spatialReference),n=t&&(f(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!r||!n)&&(!!(0,a.aI)(n,r)||(0,a.K8)(n)&&(0,a.oT)(r)||(0,a.K8)(r)&&(0,a.oT)(n))}function g(e,t){if(null==e)return null;const r=e.spatialReference,i=t&&(f(t)?t:t.spatialReference);return m(r,i)?(0,a.aI)(r,i)?(0,n.o8)(e):(0,a.K8)(i)?y(e,v,s.A.WebMercator,!1,(0,n.o8)(e)):(0,a.oT)(i)?y(e,w,s.A.WGS84,!1,(0,n.o8)(e)):null:null}function v(e,t,r=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const n=p(t);return r[0]=p(e)*o.$O.radius,r[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(n))/(1-Math.sin(n))),r}function w(e,t,r=[0,0],n=!1){if(e===a.Mc[0])r[0]=-180;else if(e===a.Mc[1])r[0]=180;else{const t=c(e/o.$O.radius);r[0]=n?t:t-360*Math.floor((t+180)/360)}return r[1]=c(Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))),r}function M(e,t=!1,r=(0,n.o8)(e)){return(0,i.f)(e),(0,i.f)(r),y(e,v,s.A.WebMercator,t,r)}function x(e,t=!1,r=(0,n.o8)(e)){return(0,i.f)(e),(0,i.f)(r),y(e,w,s.A.WGS84,t,r)}},31635:(e,t,r)=>{function n(e,t,r,n){var i,s=arguments.length,o=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,r,o):i(t,r))||o);return s>3&&o&&Object.defineProperty(t,r,o),o}function i(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}r.d(t,{Cg:()=>n,hk:()=>o,mS:()=>i}),Object.create,Object.create;var s="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function o(e){function t(t){e.error=e.hasError?new s(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function i(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(e){return t(e),i()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},34304:(e,t,r)=>{r.d(t,{DF:()=>l,FD:()=>i,Ov:()=>s,ct:()=>u});let n=1e-6;function i(){return n}const s=Math.random,o=Math.PI/180,a=180/Math.PI;function l(e){return e*o}function u(e){return e*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:s,equals:function(e,t){return Math.abs(e-t)<=n*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:i,setEpsilon:function(e){n=e},toDegree:u,toRadian:l},Symbol.toStringTag,{value:"Module"}))},37539:(e,t,r)=>{r.d(t,{pO:()=>y,jd:()=>h,Tp:()=>f,w5:()=>p});var n=r(34727),i=r(86211),s=r(73941),o=r(79258);Math.PI;const a=o.$O.radius,l=o.$O.eccentricitySquared,u={a1:a*l,a2:a*l*a*l,a3:a*l*l/2,a4:a*l*a*l*2.5,a5:a*l+a*l*l/2,a6:1-l};o.$O.radius,o.$O.flattening,o.Sw.radius,o.Sw.flattening,o.sH.radius,o.sH.flattening,o.sH.radius;var c=r(21325);const p={2:{5:y,7:null,9:null,10:y,1:A,6:null,8:null,0:null,3:g,11:v,2:y,4:O},5:{5:y,7:null,9:null,10:y,1:A,6:null,8:null,0:null,3:g,11:v,2:y,4:O},7:{5:null,7:y,9:null,10:y,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:y,10:y,1:null,6:null,8:x,0:null,3:null,11:null,2:null,4:null},3:{5:m,7:null,9:null,10:m,1:function(e,t,r,n){const i=e[t]/I,s=Z-2*Math.atan(Math.exp(-e[t+1]/I)),o=I+(e[t+2]??0),a=Math.cos(s)*o;r[n]=Math.cos(i)*a,r[n+1]=Math.sin(i)*a,r[n+2]=Math.sin(s)*o},6:null,8:null,0:null,3:y,11:function(e,t,r,n){m(e,t,r,n),v(r,n,r,n)},2:m,4:function(e,t,r,n){m(e,t,r,n),O(r,n,r,n)}},4:{5:k,7:null,9:null,10:k,1:function(e,t,r,n){k(e,t,r,n),A(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){k(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){k(e,t,r,n),v(r,n,r,n)},2:k,4:y},1:{5:P,7:null,9:null,10:P,1:y,6:null,8:null,0:null,3:function(e,t,r,n){P(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){P(e,t,r,n),v(r,n,r,n)},2:P,4:function(e,t,r,n){P(e,t,r,n),O(r,n,r,n)}},6:{5:null,7:S,9:null,10:S,1:null,6:y,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:R,10:R,1:null,6:null,8:y,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:y,3:null,11:null,2:null,4:null},10:{5:y,7:y,9:y,10:y,1:A,6:b,8:x,0:null,3:g,11:v,2:y,4:O},11:{5:w,7:null,9:null,10:w,1:function(e,t,r,n){w(e,t,r,n),A(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){w(e,t,r,n),g(r,n,r,n)},11:y,2:w,4:function(e,t,r,n){w(e,t,r,n),O(r,n,r,n)}}};function h(e,t){return f(e,t)?.projector}function f(e,t){if(null==e||null==t)return null;if(N.source.spatialReference===e&&N.dest.spatialReference===t)return N;const r=d(e,N.source),n=d(t,N.dest);return 0===r&&0===n?(0,c.aI)(e,t)?N.projector=y:N.projector=null:N.projector=p[r][n],N}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,i.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,c.oT)(e)?t.spatialReferenceId=2:(0,c.K8)(e)?t.spatialReferenceId=3:(0,c.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,c.q8)(e)?t.spatialReferenceId=7:(0,c.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function y(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function m(e,t,r,n){r[n]=T*(e[t]/I),r[n+1]=T*(Z-2*Math.atan(Math.exp(-e[t+1]/I))),r[n+2]=e[t+2]??0}function g(e,t,r,i){!function(e,t,r,i,s){const o=.4999999*Math.PI,a=(0,n.qE)(j*e[t+1],-o,o),l=Math.sin(a);r[i++]=j*e[t]*s.radius,r[i++]=s.halfSemiMajorAxis*Math.log((1+l)/(1-l)),r[i]=e[t+2]??0}(e,t,r,i,o.$O)}function v(e,t,r,n){r[n]=e[t]*z,r[n+1]=e[t+1]*z,r[n+2]=e[t+2]??0}function w(e,t,r,n){r[n]=e[t]*_,r[n+1]=e[t+1]*_,r[n+2]=e[t+2]??0}function M(e,t,r,n,i){const s=i+(e[t+2]??0),o=j*e[t],a=j*e[t+1],l=Math.cos(a)*s;r[n]=Math.cos(o)*l,r[n+1]=Math.sin(o)*l,r[n+2]=Math.sin(a)*s}function x(e,t,r,n){M(e,t,r,n,o.Sw.radius)}function b(e,t,r,n){M(e,t,r,n,o.sH.radius)}function A(e,t,r,n){M(e,t,r,n,o.$O.radius)}function C(e,t,r,i,s){const o=e[t],a=e[t+1],l=e[t+2]??0,u=Math.sqrt(o*o+a*a+l*l),c=(0,n.YN)(l/(0===u?1:u)),p=Math.atan2(a,o);r[i++]=T*p,r[i++]=T*c,r[i]=u-s}function R(e,t,r,n){C(e,t,r,n,o.Sw.radius)}function S(e,t,r,n){C(e,t,r,n,o.sH.radius)}function P(e,t,r,n){C(e,t,r,n,o.$O.radius)}function O(e,t,r,n){!function(e,t,r,n,i){const s=j*e[t],o=j*e[t+1],a=e[t+2]??0,l=Math.sin(o),u=Math.cos(o),c=i.radius/Math.sqrt(1-i.eccentricitySquared*l*l);r[n++]=(c+a)*u*Math.cos(s),r[n++]=(c+a)*u*Math.sin(s),r[n++]=(c*(1-i.eccentricitySquared)+a)*l}(e,t,r,n,o.$O)}function k(e,t,r,n){const i=u,s=e[t],a=e[t+1],l=e[t+2]??0;let c,p,h,f,d,y,m,g,v,w,M,x,b,A,C,R,S,P,O,k,N;c=Math.abs(l),p=s*s+a*a,h=Math.sqrt(p),f=p+l*l,d=Math.sqrt(f),k=Math.atan2(a,s),y=l*l/f,m=p/f,A=i.a2/d,C=i.a3-i.a4/d,m>.3?(g=c/d*(1+m*(i.a1+A+y*C)/d),O=Math.asin(g),w=g*g,v=Math.sqrt(1-w)):(v=h/d*(1-y*(i.a5-A-m*C)/d),O=Math.acos(v),w=1-v*v,g=Math.sqrt(w)),M=1-o.$O.eccentricitySquared*w,x=o.$O.radius/Math.sqrt(M),b=i.a6*x,A=h-x*v,C=c-b*g,S=v*A+g*C,R=v*C-g*A,P=R/(b/M+S),O+=P,N=S+R*P/2,l<0&&(O=-O),r[n++]=T*k,r[n++]=T*O,r[n]=N}const N={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:y},j=(0,n.kU)(1),T=(0,n.KJ)(1),Z=.5*Math.PI,I=o.$O.radius,z=I*Math.PI/180,_=180/(I*Math.PI)},39357:(e,t,r)=>{r.d(t,{A:()=>a});var n,i=r(31635),s=r(25482),o=r(91429);let a=n=class extends s.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new n({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},40876:(e,t,r)=>{r.d(t,{Eq:()=>f,G1:()=>y,TS:()=>s,Tf:()=>v,V6:()=>i,Vm:()=>d,ay:()=>l,c1:()=>m,c4:()=>o,j5:()=>u,lT:()=>p,oW:()=>c,xV:()=>M});const n={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(e){return!!n[e]||!!n[e.toLowerCase()]}function s(e){return n[e]??n[e.toLowerCase()]}function o(e){return[...s(e)]}function a(e,t,r){r<0&&++r,r>1&&--r;const n=6*r;return n<1?e+(t-e)*n:2*r<1?t:3*r<2?e+(t-e)*(2/3-r)*6:e}function l(e,t,r,n=1){const i=(e%360+360)%360/360,s=r<=.5?r*(t+1):r+t-r*t,o=2*r-s;return[Math.round(255*a(o,s,i+1/3)),Math.round(255*a(o,s,i)),Math.round(255*a(o,s,i-1/3)),n]}function u(e){const t=e.length>5,r=t?8:4,n=(1<<r)-1,i=t?1:17,s=t?9===e.length:5===e.length;let o=Number("0x"+e.slice(1));if(isNaN(o))return null;const a=[0,0,0,1];let l;return s&&(l=o&n,o>>=r,a[3]=i*l/255),l=o&n,o>>=r,a[2]=i*l,l=o&n,o>>=r,a[1]=i*l,l=o&n,o>>=r,a[0]=i*l,a}function c(e){if(!e.startsWith("#")||isNaN(Number(`0x${e.slice(1)}`)))return null;switch(e.length){case 4:case 5:{const t=parseInt(e.slice(1,2),16),r=parseInt(e.slice(2,3),16),n=parseInt(e.slice(3,4),16),i=4===e.length?15:parseInt(e.slice(4),16);return[t+16*t,r+16*r,n+16*n,(i+16*i)/255]}case 7:case 9:return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16),(7===e.length?255:parseInt(e.slice(7),16))/255];default:return null}}function p(e){const t=e.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(t){const e=t[2].split(/\s*,\s*/),r=t[1];if("rgb"===r&&3===e.length||"rgba"===r&&4===e.length){if(e[0].endsWith("%")){const t=e.map(e=>2.56*parseFloat(e));return 4===e.length&&(t[3]=parseFloat(e[3])),h(t)}return h(e.map(e=>parseFloat(e)))}if("hsl"===r&&3===e.length||"hsla"===r&&4===e.length)return l(parseFloat(e[0]),parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3]??"1"))}return null}function h(e){return e[0]=m(e[0]),e[1]=m(e[1]),e[2]=m(e[2]),e[3]=4===e.length?y(e[3]):1,e}function f(e){let t=i(e)?s(e):null;return t??=p(e),t??=c(e),t}function d(e){const t=f(e);return null!=t?[t[0]/255,t[1]/255,t[2]/255,t[3]]:null}function y(e){return g(e,0,1)}function m(e){return Math.round(g(e,0,255))}function g(e,t,r){return e=Number(e),isNaN(e)?r:e<t?t:e>r?r:e}const v=2.2,w=1/v;function M(e){return e**w}},41628:(e,t,r)=>{r.d(t,{A:()=>l});var n,i=r(31635),s=r(91429),o=r(76357),a=r(93223);let l=class extends o.A{static{n=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new n({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,s.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],l.prototype,"maxValue",void 0),(0,i.Cg)([(0,s.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],l.prototype,"minValue",void 0),(0,i.Cg)([(0,a.e)({range:"range"})],l.prototype,"type",void 0),l=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.RangeDomain")],l)},43163:(e,t,r)=>{r.d(t,{A:()=>d});var n,i=r(31635),s=r(91429),o=r(5443),a=r(86738),l=r(10333),u=r(36005),c=r(43937),p=r(93223);function h(e,t,r){const{x:n,y:i}=t;if(r<2)return{x:e[0]+n*e[2]+i*e[4],y:e[1]+n*e[3]+i*e[5]};if(2===r){const t=n*n,r=i*i,s=n*i;return{x:e[0]+n*e[2]+i*e[4]+t*e[6]+s*e[8]+r*e[10],y:e[1]+n*e[3]+i*e[5]+t*e[7]+s*e[9]+r*e[11]}}const s=n*n,o=i*i,a=n*i,l=s*n,u=s*i,c=n*o,p=i*o;return{x:e[0]+n*e[2]+i*e[4]+s*e[6]+a*e[8]+o*e[10]+l*e[12]+u*e[14]+c*e[16]+p*e[18],y:e[1]+n*e[3]+i*e[5]+s*e[7]+a*e[9]+o*e[11]+l*e[13]+u*e[15]+c*e[17]+p*e[19]}}function f(e,t,r){const{xmin:n,ymin:i,xmax:s,ymax:a,spatialReference:l}=t;let u=[];if(r<2)u.push({x:n,y:a}),u.push({x:s,y:a}),u.push({x:n,y:i}),u.push({x:s,y:i});else{let e=10;for(let t=0;t<e;t++)u.push({x:n,y:i+(a-i)*t/(e-1)}),u.push({x:s,y:i+(a-i)*t/(e-1)});e=8;for(let t=1;t<=e;t++)u.push({x:n+(s-n)*t/e,y:i}),u.push({x:n+(s-n)*t/e,y:a})}u=u.map(t=>h(e,t,r));const c=u.map(e=>e.x),p=u.map(e=>e.y);return new o.A({xmin:Math.min.apply(null,c),xmax:Math.max.apply(null,c),ymin:Math.min.apply(null,p),ymax:Math.max.apply(null,p),spatialReference:l})}let d=n=class extends l.A{constructor(){super(...arguments),this.polynomialOrder=1,this.type="polynomial"}readForwardCoefficients(e,t){const{coeffX:r,coeffY:n}=t;if(!r?.length||!n?.length||r.length!==n.length)return null;const i=[];for(let e=0;e<r.length;e++)i.push(r[e]),i.push(n[e]);return i}writeForwardCoefficients(e,t,r){const n=[],i=[];for(let t=0;t<e?.length;t++)t%2==0?n.push(e[t]):i.push(e[t]);t.coeffX=n,t.coeffY=i}get inverseCoefficients(){let e=this._get("inverseCoefficients");const t=this._get("forwardCoefficients");return!e&&t&&this.polynomialOrder<2&&(e=function(e){const[t,r,n,i,s,o]=e,a=n*o-s*i,l=s*i-n*o;return[(s*r-t*o)/a,(n*r-t*i)/l,o/a,i/l,-s/a,-n/l]}(t)),e}set inverseCoefficients(e){this._set("inverseCoefficients",e)}readInverseCoefficients(e,t){const{inverseCoeffX:r,inverseCoeffY:n}=t;if(!r?.length||!n?.length||r.length!==n.length)return null;const i=[];for(let e=0;e<r.length;e++)i.push(r[e]),i.push(n[e]);return i}writeInverseCoefficients(e,t,r){const n=[],i=[];for(let t=0;t<e?.length;t++)t%2==0?n.push(e[t]):i.push(e[t]);t.inverseCoeffX=n,t.inverseCoeffY=i}get affectsPixelSize(){return this.polynomialOrder>0}forwardTransform(e){if("point"===e.type){const t=h(this.forwardCoefficients,e,this.polynomialOrder);return new a.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return f(this.forwardCoefficients,e,this.polynomialOrder)}inverseTransform(e){if("point"===e.type){const t=h(this.inverseCoefficients,e,this.polynomialOrder);return new a.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return f(this.inverseCoefficients,e,this.polynomialOrder)}clone(){return new n({polynomialOrder:this.polynomialOrder,forwardCoefficients:this.forwardCoefficients?[...this.forwardCoefficients]:null,inverseCoefficients:this.inverseCoefficients?[...this.inverseCoefficients]:null})}};(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],d.prototype,"polynomialOrder",void 0),(0,i.Cg)([(0,s.MZ)()],d.prototype,"forwardCoefficients",void 0),(0,i.Cg)([(0,u.w)("forwardCoefficients",["coeffX","coeffY"])],d.prototype,"readForwardCoefficients",null),(0,i.Cg)([(0,c.K)("forwardCoefficients")],d.prototype,"writeForwardCoefficients",null),(0,i.Cg)([(0,s.MZ)({json:{write:!0}})],d.prototype,"inverseCoefficients",null),(0,i.Cg)([(0,u.w)("inverseCoefficients",["inverseCoeffX","inverseCoeffY"])],d.prototype,"readInverseCoefficients",null),(0,i.Cg)([(0,c.K)("inverseCoefficients")],d.prototype,"writeInverseCoefficients",null),(0,i.Cg)([(0,s.MZ)()],d.prototype,"affectsPixelSize",null),(0,i.Cg)([(0,p.e)({PolynomialXform:"polynomial"})],d.prototype,"type",void 0),d=n=(0,i.Cg)([(0,s.$K)("esri.layers.raster.transforms.PolynomialTransform")],d)},48526:(e,t,r)=>{r.d(t,{A:()=>d});var n,i=r(31635),s=r(4718),o=r(91429),a=r(5443),l=r(91075),u=r(86738),c=r(16930),p=r(90634),h=r(56993),f=r(43937);let d=n=class extends l.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:r,hasZ:n,spatialReference:i}=e;switch(t??=[],t?.at(0)?.length){case 4:n??=!0,r??=!0;break;case 3:n??=!0!==r,r??=!n;break;default:n??=!1,r??=!1}return i??=c.A.WGS84,{...e,hasM:r,hasZ:n,points:t,spatialReference:i}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,p.ge)(this);return e?new a.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,s.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:r,hasZ:i}=this;return new n({points:(0,s.o8)(e),spatialReference:t.clone(),hasM:r,hasZ:i})}addPoint(e){return(0,h.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],r={x:t[0],y:t[1],spatialReference:this.spatialReference};let n=2;return this.hasZ&&(r.z=t[2],n=3),this.hasM&&(r.m=t[n]),new u.A(r)}removePoint(e){if(!this._validateInputs(e))return null;const t=new u.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,h.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,i.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,i.Cg)([(0,o.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],d.prototype,"points",void 0),(0,i.Cg)([(0,f.K)("points")],d.prototype,"writePoints",null),d=n=(0,i.Cg)([(0,o.$K)("esri.geometry.Multipoint")],d),d.prototype.toJSON.isDefaultToJSON=!0},50498:(e,t,r)=>{r.d(t,{Ye:()=>p,gy:()=>c,iI:()=>f,yR:()=>h});var n=r(66552),i=r(5443),s=r(91075),o=r(48526),a=r(86738),l=r(39829),u=r(82799);const c=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),p=(0,n.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),h={base:s.A,key:"type",typeMap:{extent:i.A,multipoint:o.A,point:a.A,polyline:u.A,polygon:l.A}},f=new n.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},51850:(e,t,r)=>{function n(){return[0,0,0]}function i(e){return[e[0],e[1],e[2]]}function s(e,t,r){return[e,t,r]}function o(e,t,r){return[e,t,r]}function a(e,t=[0,0,0]){const r=Math.min(3,e.length);for(let n=0;n<r;++n)t[n]=e[n];return t}function l(){return s(1,1,1)}function u(){return s(1,0,0)}function c(){return s(0,1,0)}function p(){return s(0,0,1)}r.d(t,{CN:()=>o,Cb:()=>m,Cw:()=>d,JP:()=>y,Un:()=>f,ci:()=>a,fA:()=>s,o8:()=>i,uY:()=>h,vt:()=>n});const h=[0,0,0],f=l(),d=u(),y=c(),m=p();Object.freeze(Object.defineProperty({__proto__:null,ONES:f,UNIT_X:d,UNIT_Y:y,UNIT_Z:m,ZEROS:h,clone:i,create:n,freeze:o,fromArray:a,fromValues:s,ones:l,unitX:u,unitY:c,unitZ:p,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},53177:(e,t,r)=>{r.d(t,{A:()=>c});var n,i=r(31635),s=r(4718),o=r(91429),a=r(39357),l=r(76357),u=r(93223);let c=class extends l.A{static{n=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new n({codedValues:(0,s.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,u.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},60408:(e,t,r)=>{function n(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function s(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?s(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":n(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function p(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>i,W0:()=>p,ZC:()=>n,fT:()=>s,uW:()=>l})},63966:(e,t,r)=>{r.r(t),r.d(t,{default:()=>P});var n=r(5443),i=r(86738),s=r(159),o=r(20758),a=(r(44208),r(94778)),l=r(47520),u=r(14140);var c,p=r(8144),h=r(37373),f=r(51927),d=r(34251),y=r(75414),m=r(31635),g=r(91429),v=r(10333),w=r(93223);let M=c=class extends v.A{constructor(){super(...arguments),this.type="identity"}clone(){return new c}};(0,m.Cg)([(0,w.e)({IdentityXform:"identity"})],M.prototype,"type",void 0),M=c=(0,m.Cg)([(0,g.$K)("esri.layers.raster.transforms.IdentityTransform")],M);var x=r(43163);const b={GCSShiftXform:y.A,IdentityXform:M,PolynomialXform:x.A};function A(e){const t=e?.type;if(!t)return null;const r=b[e?.type];if(r){const t=new r;return t.read(e),t}return null}var C=r(85676),R=r(4095);function S(e){if(!e)return{result:null,transferList:[]};const{pixelBlock:t,transferList:r}=e.getTransferableObject();return{result:t,transferList:r}}class P{convertVectorFieldData(e){const t=u.A.fromJSON(e.pixelBlock),r=S((0,d.FI)(t,e.type));return Promise.resolve(r)}convertPixelBlockToFeatures(e){const t=(0,l.L)({pixelBlock:u.A.fromJSON(e.pixelBlock),extent:n.A.fromJSON(e.extent),fieldNames:e.fieldNames,skipFactor:e.skipFactor,skipSpatialReference:!0,pixelIdOffset:e.pixelIdOffset,imageRowSize:e.imageRowSize});return Promise.resolve(t)}transformPixels(e){const t=function(e,t,r){const{width:n,height:i,pixels:s}=e;let o=[];o=e.bandMasks?e.bandMasks.map(e=>new Uint8Array(e)):s.map(()=>e.mask?new Uint8Array(e.mask):new Uint8Array(n*i).fill(255));const c="f32",p=s.map((e,n)=>{switch(t){case"log":return function(e,t,r){const n=e.length,i=u.A.createEmptyBand(r,n);for(let r=0;r<n;r++)if(t[r]){const n=e[r];n<=0?t[r]=0:i[r]=Math.log(n)}return i}(e,o[n],c);case"sqrt":return function(e,t,r){const n=e.length,i=u.A.createEmptyBand(r,n);for(let r=0;r<n;r++)if(t[r]){const n=e[r];n<0?t[r]=0:i[r]=Math.sqrt(n)}return i}(e,o[n],c);case"inverse":return function(e,t,r){const n=e.length,i=u.A.createEmptyBand(r,n),[s,o]=(0,a.hP)(r);for(let r=0;r<n;r++)if(!t||t[r]){const t=1/e[r];i[r]=i[r]=Math.max(s,Math.min(t,o))}return i}(e,o[n],c);case"box-cox":return function(e,t,r,n){const i=e.length,s=u.A.createEmptyBand(r,i),[o,l]=(0,a.hP)(r),c=n?.lambda??0,p=n?.shift??0,h=0===c;for(let r=0;r<i;r++)if(t[r]){const n=e[r];if(n<=0)t[r]=0;else if(h)s[r]=Math.log(n+p);else{const e=((n+p)**c-1)/c;s[r]=Math.max(o,Math.min(e,l))}}return s}(e,o[n],c,r);default:return e}}),h="inverse"===t,f=h?e.mask:1===o.length?o[0]:(0,l.YD)(o),d=h?e.bandMasks:1===o.length?void 0:o;return new u.A({width:n,height:i,pixelType:c,bandMasks:d,mask:f,pixels:p})}(u.A.fromJSON(e.pixelBlock),e.transformType,e.transformParameters);return Promise.resolve(S(t))}computeStatisticsHistograms(e){const t=u.A.fromJSON(e.pixelBlock),r=(0,f.eH)(t,{histogramSize:e.histogramSize,includeSkewnessKurtosis:e.includeSkewnessKurtosis});return Promise.resolve(r)}compositeBands(e){const t=e.pixelBlocks.map(e=>e&&u.A.fromJSON(e)),r=S((0,l.Wy)(t));return Promise.resolve(r)}async decode(e){return S(await(0,o.D)(e.data,e.options))}symbolize(e){const t=e.pixelBlock?u.A.fromJSON(e.pixelBlock):null,r=e.extent?n.A.fromJSON(e.extent):null,i=S(this.symbolizer.symbolize({...e,pixelBlock:t,extent:r}));return Promise.resolve(i)}highlightPixels(e){const t=u.A.fromJSON(e.pixelBlock),r=u.A.fromJSON(e.renderedPixelBlock);return(0,l._F)({pixelBlock:t,renderedPixelBlock:r,highlightOptions:e.highlightOptions}),Promise.resolve(r.toJSON())}async updateSymbolizer(e){this.symbolizer=C.A.fromJSON(e.symbolizerJSON),e.histograms&&"rasterStretch"===this.symbolizer?.rendererJSON.type&&(this.symbolizer.rendererJSON.histograms=e.histograms)}async updateRasterFunction(e){this.rasterFunction=(0,p.vt)(e.rasterFunctionJSON)}async process(e){return S(this.rasterFunction.process({extent:n.A.fromJSON(e.extent),primaryPixelBlocks:e.primaryPixelBlocks.map(e=>null!=e?u.A.fromJSON(e):null),primaryPixelSizes:e.primaryPixelSizes?.map(e=>null!=e?i.A.fromJSON(e):null),primaryRasterIds:e.primaryRasterIds}))}stretch(e){const t=S(this.symbolizer.simpleStretch(u.A.fromJSON(e.srcPixelBlock),e.stretchParams));return Promise.resolve(t)}estimateStatisticsHistograms(e){const t=(0,f.f4)(u.A.fromJSON(e.srcPixelBlock));return Promise.resolve(t)}split(e){const t=(0,l.lD)(u.A.fromJSON(e.srcPixelBlock),e.tileSize,e.maximumPyramidLevel??0,!1===e.useBilinear),r=[];let n;return t&&(n=new Map,t.forEach((e,t)=>{if(e){const{pixelBlock:i,transferList:s}=e.getTransferableObject();n.set(t,i),s.forEach(e=>{r.includes(e)||r.push(e)})}})),Promise.resolve({result:n,transferList:r})}clipTile(e){const t=u.A.fromJSON(e.pixelBlock),r=S((0,l.J$)({...e,pixelBlock:t}));return Promise.resolve(r)}async mosaicAndTransform(e){const t=e.srcPixelBlocks.map(e=>e?new u.A(e):null),r=(0,l.z7)(t,e.srcMosaicSize,{blockWidths:e.blockWidths,alignmentInfo:e.alignmentInfo,clipOffset:e.clipOffset,clipSize:e.clipSize});let n,i=r;e.coefs&&(i=(0,l.$i)(r,e.destDimension,e.coefs,e.sampleSpacing,e.interpolation)),e.projectDirections&&e.gcsGrid&&(n=(0,l.QF)(e.destDimension,e.gcsGrid),i=(0,d.Y2)(i,e.isUV?"vector-uv":"vector-magdir",n));const{result:s,transferList:o}=S(i);return{result:{pixelBlock:s,localNorthDirections:n},transferList:o}}async createFlowMesh(e,t){const r={data:new Float32Array(e.flowData.buffer),mask:new Uint8Array(e.flowData.maskBuffer),width:e.flowData.width,height:e.flowData.height},{vertexData:n,indexData:i}=await(0,R.CW)(e.meshType,e.simulationSettings,r,t.signal);return{result:{vertexBuffer:n.buffer,indexBuffer:i.buffer},transferList:[n.buffer,i.buffer]}}async getProjectionOffsetGrid(e){const t=n.A.fromJSON(e.projectedExtent),r=n.A.fromJSON(e.srcBufferExtent);let i=null;e.datumTransformationSteps?.length&&(i=new s.A({steps:e.datumTransformationSteps})),await(0,h.Hh)();const o=e.rasterTransform?A(e.rasterTransform):null;return(0,h.l0)({...e,projectedExtent:t,srcBufferExtent:r,datumTransformation:i,rasterTransform:o})}}},65864:(e,t,r)=>{r.d(t,{rS:()=>c,xD:()=>h});var n=r(5443),i=r(91075),s=r(48526),o=r(86738),a=r(39829),l=r(82799),u=r(60408);function c(e){return null==e?null:e instanceof i.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?l.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?s.A.fromJSON(e):(0,u.ZC)(e)?n.A.fromJSON(e):null}const p={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:n.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:a.A};function h(e){return e&&p[e]||null}},68197:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(40876),i=r(4576),s=r(34727),o=r(56507);function a(e){return(0,s.qE)((0,o.Vr)(e),0,255)}function l(e,t){const r=e.toString(16).padStart(2,"0");return t?r.slice(0,1):r}class u{static blendColors(e,t,r,n=new u){return n.r=Math.round(e.r+(t.r-e.r)*r),n.g=Math.round(e.g+(t.g-e.g)*r),n.b=Math.round(e.b+(t.b-e.b)*r),n.a=e.a+(t.a-e.a)*r,n._sanitize()}static fromRgb(e,t){const r=(0,n.lT)(e);return r?u.fromArray(r,t):null}static fromHex(e,t=new u){const r=(0,n.oW)(e);return r?u.fromArray(r,t):null}static fromArray(e,t=new u){return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t._sanitize()}static fromString(e,t){const r=(0,n.Eq)(e);return r?u.fromArray(r,t):null}static fromJSON(e){return null!=e?new u([e[0],e[1],e[2],(e[3]??255)/255]):void 0}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(e){return e??=[0,0,0,0],e[0]=this.r/255,e[1]=this.g/255,e[2]=this.b/255,e[3]=null!=this.a?this.a:1,e}constructor(e){this.r=255,this.g=255,this.b=255,this.a=1,e&&this.setColor(e)}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(e){if("string"==typeof e)u.fromString(e,this);else if((0,i.yc)(e))u.fromArray(e,this);else{const t=e;this._set(t.r??0,t.g??0,t.b??0,t.a??1),e instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(e){const t=e?.capitalize??!1,r=e?.digits??6,n=3===r||4===r,i=4===r||8===r,s=`#${l(this.r,n)}${l(this.g,n)}${l(this.b,n)}${i?l(Math.round(255*this.a),n):""}`;return t?s.toUpperCase():s}toCss(e=!1){const t=this.r+", "+this.g+", "+this.b;return e?`rgba(${t}, ${this.a})`:`rgb(${t})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(e=0){const t=a(this.r),r=a(this.g),n=a(this.b);return 0===e||1!==this.a?[t,r,n,a(255*this.a)]:[t,r,n]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(e){return null!=e&&e.r===this.r&&e.g===this.g&&e.b===this.b&&e.a===this.a}_sanitize(){return this.r=(0,n.c1)(this.r),this.g=(0,n.c1)(this.g),this.b=(0,n.c1)(this.b),this.a=(0,n.G1)(this.a),this}_set(e,t,r,n){this.r=e,this.g=t,this.b=r,this.a=n}}u.prototype.declaredClass="esri.Color"},72606:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(31635),i=r(25482),s=r(91429);let o=class extends i.o{constructor(e){super(e),this.type=null}};(0,n.Cg)([(0,s.MZ)({readOnly:!0,json:{read:!1,write:!0}})],o.prototype,"type",void 0),o=(0,n.Cg)([(0,s.$K)("esri.rest.support.ColorRamp")],o)},75414:(e,t,r)=>{r.d(t,{A:()=>l});var n,i=r(31635),s=r(91429),o=r(10333),a=r(93223);let l=n=class extends o.A{constructor(){super(...arguments),this.type="gcs-shift",this.tolerance=1e-8}forwardTransform(e){return"point"===(e=e.clone()).type?(e.x>180+this.tolerance&&(e.x-=360),e):(e.xmin>=180-this.tolerance?(e.xmax-=360,e.xmin-=360):e.xmax>180+this.tolerance&&(e.xmin=-180,e.xmax=180),e)}inverseTransform(e){return"point"===(e=e.clone()).type?(e.x<-this.tolerance&&(e.x+=360),e):(e.xmin<-this.tolerance&&(e.xmin+=360,e.xmax+=360),e)}clone(){return new n({tolerance:this.tolerance})}};(0,i.Cg)([(0,a.e)({GCSShiftXform:"gcs-shift"})],l.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)()],l.prototype,"tolerance",void 0),l=n=(0,i.Cg)([(0,s.$K)("esri.layers.raster.transforms.GCSShiftTransform")],l)},76357:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(31635),i=r(66552),s=r(25482),o=r(91429),a=r(93223);const l=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends s.o{constructor(e){super(e),this.name=null,this.type=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,n.Cg)([(0,a.e)(l),(0,o.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,n.Cg)([(0,o.$K)("esri.layers.support.Domain")],u)},82799:(e,t,r)=>{r.d(t,{A:()=>d});var n,i=r(31635),s=r(4718),o=r(91429),a=r(5443),l=r(91075),u=r(86738),c=r(16930),p=r(90634),h=r(56993),f=r(43937);let d=n=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:r,hasZ:n,spatialReference:i}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:n??=!0,r??=!0;break;case 3:n??=!0!==r,r??=!n;break;default:n??=!1,r??=!1}return i??=c.A.WGS84,{...e,hasM:r,hasZ:n,paths:t,spatialReference:i}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,s.o8)(e)}get extent(){const e=(0,p.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,s.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,r=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const n=[];for(let t=0,r=e.length;t<r;t++)n[t]=e[t].toArray();t[r]=n}else t[r]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new n;return e.spatialReference=this.spatialReference,e.paths=(0,s.o8)(this.paths),e.curvePaths=(0,s.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const r=this.paths[e][t],n=this.hasZ,i=this.hasM;return n&&!i?new u.A(r[0],r[1],r[2],void 0,this.spatialReference):i&&!n?new u.A(r[0],r[1],void 0,r[2],this.spatialReference):n&&i?new u.A(r[0],r[1],r[2],r[3],this.spatialReference):new u.A(r[0],r[1],this.spatialReference)}insertPoint(e,t,r){return this._validateInputs(e,t,!0)?((0,h.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e].splice(t,0,r),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],r=this.spatialReference,n=t.map(e=>new u.A(e,r));return this.notifyChange("paths"),n}removePoint(e,t){if(!this._validateInputs(e,t))return null;const r=new u.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),r}setPoint(e,t,r){return this._validateInputs(e,t)?((0,h.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e][t]=r,this.notifyChange("paths"),this):this}_validateInputs(e,t,r=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const n=this.paths[e];if(r&&(t<0||t>n.length))return!1;if(!r&&(t<0||t>=n.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,i.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,i.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],d.prototype,"curvePaths",void 0),(0,i.Cg)([(0,f.K)("curvePaths")],d.prototype,"writeCurvePaths",null),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,i.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,i.Cg)([(0,f.K)("paths")],d.prototype,"writePaths",null),d=n=(0,i.Cg)([(0,o.$K)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0},86738:(e,t,r)=>{r.d(t,{A:()=>w});var n=r(31635),i=r(69622),s=r(53966),o=r(91429),a=r(56507),l=r(91075),u=r(16930),c=r(21325),p=r(28735);function h({x:e,y:t,spatialReference:r},n=[0,0]){if(r){if((0,c.K8)(r))return(0,p.tD)(e,t,n);if((0,c.EA)(r))return n[0]=e,n[1]=t,n}return null}const f=[0,0];var d,y=r(43937),m=r(36005);const g=[0,0];function v(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let w=d=class extends l.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const r=e._get("spatialReference");t._set("spatialReference",i.A.isFrozen(r)?r:r.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,r,n,i){let o;if(Array.isArray(e))o=e,i=t,e=o[0],t=o[1],r=o[2],n=o[3];else if(e&&"object"==typeof e){if(o=e,e=null!=o.x?o.x:o.longitude,t=null!=o.y?o.y:o.latitude,r=o.z,n=o.m,(i=o.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new u.A(i)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)s.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)s.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&i?.isWebMercator){const r=(0,p.je)(o.longitude,o.latitude,g);e=r[0],t=r[1]}}else v(r)?(i=r,r=null):v(n)&&(i=n,n=null);const a={x:e,y:t};return null==a.x&&null!=a.y?s.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==a.y&&null!=a.x&&s.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(a.spatialReference=i),null!=r&&(a.z=r),null!=n&&(a.m=n),a}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return h(this,f)?.[1]??null}set latitude(e){const{spatialReference:t,x:r}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,p.je)(r,e,g)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return h(this,f)?.[0]??null}set longitude(e){const{y:t,spatialReference:r}=this;null!=e&&r&&(r.isWebMercator?this._set("x",(0,p.je)(e,t,g)[0]):r.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,r){t[r]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new d;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return d.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:r,z:n,m:i,spatialReference:s}=this,{z:o,m:a}=e;let{x:l,y:u,spatialReference:c}=e;if(!s.equals(c))if(s.isWebMercator&&c.isWGS84)[l,u]=(0,p.je)(l,u),c=s;else{if(!s.isWGS84||!c.isWebMercator)return!1;[l,u]=(0,p.tD)(l,u),c=s}return t===l&&r===u&&n===o&&i===a&&s.wkid===c.wkid}offset(e,t,r){return this.x+=e,this.y+=t,null!=r&&(this.z=(this.z??0)+r),this}normalize(){if(!this.spatialReference)return this;const e=(0,c.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[r,n]=e.valid,i=2*n;let s;return t>n?(s=Math.ceil(Math.abs(t-n)/i),t-=s*i):t<r&&(s=Math.ceil(Math.abs(t-r)/i),t+=s*i),this._set("x",t),this}distance(e){return function(e,t){const r=e.x-t.x,n=e.y-t.y,i=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(r*r+n*n+i*i)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,n.Cg)([(0,o.MZ)({readOnly:!0})],w.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],w.prototype,"hasM",null),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],w.prototype,"hasZ",null),(0,n.Cg)([(0,o.MZ)({type:Number})],w.prototype,"latitude",null),(0,n.Cg)([(0,o.MZ)({type:Number})],w.prototype,"longitude",null),(0,n.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(e=>isNaN(e)?e:(0,a.GB)(e))],w.prototype,"x",void 0),(0,n.Cg)([(0,y.K)("x")],w.prototype,"writeX",null),(0,n.Cg)([(0,m.w)("x")],w.prototype,"readX",null),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],w.prototype,"y",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],w.prototype,"z",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],w.prototype,"m",void 0),w=d=(0,n.Cg)([(0,o.$K)("esri.geometry.Point")],w),w.prototype.toJSON.isDefaultToJSON=!0},87317:(e,t,r)=>{r.d(t,{a:()=>b,b:()=>p,c:()=>s,d:()=>g,e:()=>A,f:()=>i,g:()=>y,h:()=>w,i:()=>o,j:()=>m,l:()=>M,m:()=>c,n:()=>v,r:()=>h,s:()=>f,t:()=>x});var n=r(34304);function i(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function s(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=n,e[3]=i,e}function o(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e[2]=t[2]+r[2],e[3]=t[3]+r[3],e}function a(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e[2]=t[2]-r[2],e[3]=t[3]-r[3],e}function l(e,t,r){return e[0]=t[0]*r[0],e[1]=t[1]*r[1],e[2]=t[2]*r[2],e[3]=t[3]*r[3],e}function u(e,t,r){return e[0]=t[0]/r[0],e[1]=t[1]/r[1],e[2]=t[2]/r[2],e[3]=t[3]/r[3],e}function c(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e[2]=Math.min(t[2],r[2]),e[3]=Math.min(t[3],r[3]),e}function p(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e[2]=Math.max(t[2],r[2]),e[3]=Math.max(t[3],r[3]),e}function h(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e}function f(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e}function d(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2],s=t[3]-e[3];return Math.sqrt(r*r+n*n+i*i+s*s)}function y(e,t){const r=t[0]-e[0],n=t[1]-e[1],i=t[2]-e[2],s=t[3]-e[3];return r*r+n*n+i*i+s*s}function m(e){const t=e[0],r=e[1],n=e[2],i=e[3];return Math.sqrt(t*t+r*r+n*n+i*i)}function g(e){const t=e[0],r=e[1],n=e[2],i=e[3];return t*t+r*r+n*n+i*i}function v(e,t){const r=t[0],n=t[1],i=t[2],s=t[3];let o=r*r+n*n+i*i+s*s;return o>0&&(o=1/Math.sqrt(o),e[0]=r*o,e[1]=n*o,e[2]=i*o,e[3]=s*o),e}function w(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function M(e,t,r,n){const i=t[0],s=t[1],o=t[2],a=t[3];return e[0]=i+n*(r[0]-i),e[1]=s+n*(r[1]-s),e[2]=o+n*(r[2]-o),e[3]=a+n*(r[3]-a),e}function x(e,t,r){const n=t[0],i=t[1],s=t[2],o=t[3];return e[0]=r[0]*n+r[4]*i+r[8]*s+r[12]*o,e[1]=r[1]*n+r[5]*i+r[9]*s+r[13]*o,e[2]=r[2]*n+r[6]*i+r[10]*s+r[14]*o,e[3]=r[3]*n+r[7]*i+r[11]*s+r[15]*o,e}function b(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function A(e,t){const r=e[0],i=e[1],s=e[2],o=e[3],a=t[0],l=t[1],u=t[2],c=t[3],p=(0,n.FD)();return Math.abs(r-a)<=p*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-l)<=p*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(s-u)<=p*Math.max(1,Math.abs(s),Math.abs(u))&&Math.abs(o-c)<=p*Math.max(1,Math.abs(o),Math.abs(c))}const C=a,R=l,S=u,P=d,O=y,k=m,N=g;Object.freeze(Object.defineProperty({__proto__:null,add:o,ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e},copy:i,copyVec3:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},dist:P,distance:d,div:S,divide:u,dot:w,equals:A,exactEquals:b,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e},inverse:function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},len:k,length:m,lerp:M,max:p,min:c,mul:R,multiply:l,negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},normalize:v,random:function(e,t=1){const r=n.Ov;let i,s,o,a,l,u;do{i=2*r()-1,s=2*r()-1,l=i*i+s*s}while(l>=1);do{o=2*r()-1,a=2*r()-1,u=o*o+a*a}while(u>=1);const c=Math.sqrt((1-l)/u);return e[0]=t*i,e[1]=t*s,e[2]=t*o*c,e[3]=t*a*c,e},round:h,scale:f,scaleAndAdd:function(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e[2]=t[2]+r[2]*n,e[3]=t[3]+r[3]*n,e},set:s,sqrDist:O,sqrLen:N,squaredDistance:y,squaredLength:g,str:function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},sub:C,subtract:a,transformMat4:x,transformQuat:function(e,t,r){const n=t[0],i=t[1],s=t[2],o=r[0],a=r[1],l=r[2],u=r[3],c=u*n+a*s-l*i,p=u*i+l*n-o*s,h=u*s+o*i-a*n,f=-o*n-a*i-l*s;return e[0]=c*u+f*-o+p*-l-h*-a,e[1]=p*u+f*-a+h*-o-c*-l,e[2]=h*u+f*-l+c*-a-p*-o,e[3]=t[3],e}},Symbol.toStringTag,{value:"Module"}))},91075:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(31635),i=r(25482),s=r(91429),o=r(16930),a=r(36005);let l=class extends i.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof o.A)return e;if(null!=e){const r=new o.A;return r.read(e,t),r}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,n.Cg)([(0,s.MZ)()],l.prototype,"type",void 0),(0,n.Cg)([(0,s.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,n.Cg)([(0,s.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasM",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasZ",void 0),(0,n.Cg)([(0,s.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],l.prototype,"spatialReference",void 0),(0,n.Cg)([(0,a.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,n.Cg)([(0,s.$K)("esri.geometry.Geometry")],l)},91218:(e,t,r)=>{r.r(t),r.d(t,{canProjectWithoutEngine:()=>E,initializeProjection:()=>V,isEqualBaseGCS:()=>$,isLoaded:()=>k,isLoadedOrLoad:()=>N,isLoadedOrLoadFor:()=>j,load:()=>Z,project:()=>I,projectAsync:()=>D,projectExtent:()=>te,projectMany:()=>z,projectMultipoint:()=>U,projectOrLoad:()=>q,projectOrLoadMany:()=>B,projectPoint:()=>L,projectPolygon:()=>Q,projectPolyline:()=>Y,projectWithoutEngine:()=>K,requiresLoad:()=>T,test:()=>F,tryProject:()=>_,unload:()=>G});var n=r(49186),i=r(74887),s=r(62788),o=r(95488),a=r(51850),l=r(21276),u=r(73941),c=r(5443),p=r(91075),h=r(48526),f=r(86738),d=r(39829),y=r(82799),m=r(16930),g=r(159),v=r(9762),w=r(37539);function M(e,t,r,n,i,s){return x[0]=e,x[1]=t,x[2]=r,(0,v.projectBuffer)(x,n,0,i,s,0)}const x=(0,a.vt)();var b=r(21325);let A=null,C=null,R=null,S=null,P={};const O=new o.I;function k(){return!!(C?.isLoaded()&&R?.isLoaded()&&S?.isLoaded())}function N(){return!!k()||((0,s.gc)(O),Z(),!1)}function j(e,t){return!e||!t||E(e,t)||N()}function T(e,t){return!E(e,t)&&!k()}async function Z(e){null==A&&(A=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(C=e,C.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(R=e,R.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(S=e,S.load()))])),await A,(0,i.Te)(e),O.notify()}function I(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),z(e,e[0].spatialReference,t,r)):((0,l.f)(e),z([e],e.spatialReference,t,r)[0])}function z(e,t,r,n){if(null==t||null==r)return e;if(E(t,r,n))return e.map(e=>K(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return z(e.map(e=>K(e,t,m.A.WGS84)),m.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return z(e,t,m.A.WGS84).map(e=>K(e,m.A.WGS84,r));if(!k())throw new J;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:S.getTransformation(t,r,n.areaOfInterestExtent)||new g.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let i=P[e];i||(i=S.getTransformation(t,r)||new g.A,P[e]=i),n={geographicTransformation:i,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?C.executeMany(e,r,n):R.executeMany(e,r,n)}function _(e,t,r){try{return I(e,t,r)}catch(e){return null}}function q(e,t){const r=B([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function B(e,t,r){if(!k())for(const r of e)if(null!=r&&!(0,b.aI)(r.spatialReference,t)&&(0,b.fn)(r.spatialReference)&&(0,b.fn)(t)&&!E(r.spatialReference,t))return(0,s.gc)(O),{pending:Z(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,b.aI)(e.spatialReference,t)?e:(0,b.fn)(e.spatialReference)&&(0,b.fn)(t)?I(e,t,r):null)}}class J extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function G(){A=null,C=null,R=null,S=null,P={}}const F={get loadPromise(){return A}};async function D(e,t,r){if((0,i.Te)(r),!e)return e;const n=B(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,i.Te)(r),D(e,t,r);const s=n.geometries??[];return Array.isArray(e)?s:s[0]}function E(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,b.aI)(e,t)||(0,b.fn)(e)&&(0,b.fn)(t)&&!!(0,w.jd)(e,t))}function $(e,t){if((0,b.aI)(e,t))return!0;if(!(0,b.fn)(e)||!(0,b.fn)(t))return!1;const r=(0,b.oT)(e)||(0,b.K8)(e)||(0,b.x1)(e),n=(0,b.oT)(t)||(0,b.K8)(t)||(0,b.x1)(t);return r&&n}async function V(e,t,r,n){if(k())return(0,i.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:i}of e)if(t&&r&&!E(t,r,i))return Z(n)}else if(e&&t&&!E(e,t,r))return Z(n);return(0,i.NO)(n)}function K(e,t,r){return e?"x"in e?W(e,t,new f.A,r,0):"xmin"in e?re(e,t,new c.A,r,0):"rings"in e?ee(e,t,new d.A,r,0):"paths"in e?H(e,t,new y.A,r,0):"points"in e?X(e,t,new h.A,r,0):null:null}function L(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=W(e,e.spatialReference,t,r,n)}function W(e,t,r,n,i){ie[0]=e.x,ie[1]=e.y;const s=e.z;return ie[2]=void 0!==s?s:i,(0,v.projectBuffer)(ie,t,0,ie,n,0)?(r.x=ie[0],r.y=ie[1],r.spatialReference=n,void 0!==s||(0,u.xP)(n)?(r.z=ie[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function U(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=X(e,e.spatialReference,t,r,n)}function X(e,t,r,n,i){const{points:s,hasZ:o,hasM:a}=e,l=[],c=s.length,p=[];for(const e of s)p.push(e[0],e[1],o?e[2]:i);if(!(0,v.projectBuffer)(p,t,0,p,n,0,c))return null;const h=o||(0,u.xP)(n);for(let e=0;e<c;++e){const t=3*e,r=p[t],n=p[t+1];h&&a?l.push([r,n,p[t+2],s[e][3]]):h?l.push([r,n,p[t+2]]):a?l.push([r,n,s[e][2]]):l.push([r,n])}return r.points=l,r.spatialReference=n,r.hasZ=o,r.hasM=a,r}function Y(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=H(e,e.spatialReference,t,r,n)}function H(e,t,r,n,i){const{paths:s,hasZ:o,hasM:a}=e,l=[];if(!ne(s,o??!1,a??!1,t,l,n,i))return null;const c=o||(0,u.xP)(n);return r.paths=l,r.spatialReference=n,r.hasZ=c,r.hasM=a,r}function Q(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ee(e,e.spatialReference,t,r,n)}function ee(e,t,r,n,i){const{rings:s,hasZ:o,hasM:a}=e,l=[];if(!ne(s,o??!1,a??!1,t,l,n,i))return null;const c=o||(0,u.xP)(n);return r.rings=l,r.spatialReference=n,r.hasZ=c,r.hasM=a,r}function te(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=re(e,e.spatialReference,t,r,n)}function re(e,t,r,n,i){const{xmin:s,ymin:o,xmax:a,ymax:l,hasZ:c,hasM:p}=e;if(!M(s,o,c?e.zmin:i,t,ie,n))return null;const h=c||(0,u.xP)(n);return r.xmin=ie[0],r.ymin=ie[1],h&&(r.zmin=ie[2]),M(a,l,c?e.zmax:i,t,ie,n)?(r.xmax=ie[0],r.ymax=ie[1],h&&(r.zmax=ie[2]),p&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function ne(e,t,r,n,i,s,o=0){const a=new Array;for(const r of e)for(const e of r)a.push(e[0],e[1],t?e[2]:o);if(!(0,v.projectBuffer)(a,n,0,a,s,0))return!1;let l=0;i.length=0;const c=t||(0,u.xP)(s);for(const t of e){const e=new Array;for(const n of t)c&&r?e.push([a[l++],a[l++],a[l++],n[3]]):c?e.push([a[l++],a[l++],a[l++]]):r?(e.push([a[l++],a[l++],n[2]]),l++):(e.push([a[l++],a[l++]]),l++);i.push(e)}return!0}const ie=(0,a.vt)()},91829:(e,t,r)=>{function n(){return[0,0,0,0]}function i(e){return[e[0],e[1],e[2],e[3]]}function s(e,t,r,n){return[e,t,r,n]}function o(e,t,r,n){return[e,t,r,n]}function a(e,t=[0,0,0,0]){const r=Math.min(4,e.length);for(let n=0;n<r;++n)t[n]=e[n];return t}function l(){return s(1,1,1,1)}function u(){return s(1,0,0,0)}function c(){return s(0,1,0,0)}function p(){return s(0,0,1,0)}function h(){return s(0,0,0,1)}r.d(t,{CN:()=>o,Un:()=>d,ci:()=>a,fA:()=>s,o8:()=>i,uY:()=>f,vt:()=>n});const f=[0,0,0,0],d=l(),y=u(),m=c(),g=p(),v=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_W:v,UNIT_X:y,UNIT_Y:m,UNIT_Z:g,ZEROS:f,clone:i,create:n,freeze:o,fromArray:a,fromValues:s,ones:l,unitW:h,unitX:u,unitY:c,unitZ:p,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"}))},95349:(e,t,r)=>{r.d(t,{g:()=>o,r:()=>a});var n=r(2485),i=r(72606),s=r(1626);const o={key:"type",base:i.A,typeMap:{algorithmic:n.A,multipart:s.A}};function a(e){return e?.type?"algorithmic"===e.type?n.A.fromJSON(e):"multipart"===e.type?s.A.fromJSON(e):null:null}},95488:(e,t,r)=>{r.d(t,{I:()=>i});var n=r(11406);class i extends n.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},98453:(e,t,r)=>{r.d(t,{m:()=>n});const n=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})},99157:(e,t,r)=>{r.d(t,{A:()=>a});var n,i=r(31635),s=r(69622),o=r(91429);let a=n=class extends s.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,o.MZ)()],a.prototype,"isInverse",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"wkt",void 0),(0,i.Cg)([(0,o.MZ)()],a.prototype,"wkid",void 0),a=n=(0,i.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6460],{4197:(e,t,r)=>{r.d(t,{Vj:()=>u,cj:()=>l,jh:()=>n,l5:()=>a,xm:()=>o});var i=r(34275),s=r(9093);function n(e){return e<=i.y9?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,i.iu)(e)?e.byteLength/8:e.length)<=i.y9?Array.from(e):new Float64Array(e)}function a(e,t,r){return Array.isArray(e)?e.slice(t,t+r):e.subarray(t,t+r)}function l(e){return[...e]}function u(e){const t=(0,s.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},8631:(e,t,r)=>{r.d(t,{rS:()=>p,gK:()=>c}),r(44208);var i,s=r(53177),n=r(76357),o=r(31635),a=r(91429),l=r(93223);let u=class extends n.A{static{i=this}constructor(e){super(e),this.type="inherited"}clone(){return new i}};(0,o.Cg)([(0,l.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=i=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],u);var h=r(41628);const c={key:"type",base:n.A,typeMap:{range:h.A,"coded-value":s.A,inherited:u}};function p(e){if(!e?.type)return null;switch(e.type){case"range":return h.A.fromJSON(e);case"codedValue":return s.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},9093:(e,t,r)=>{function i(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}r.d(t,{o8:()=>s,vt:()=>i,zK:()=>n});const n=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:n,clone:s,create:i,fromValues:function(e,t,r,i,s,n,o,a,l,u,h,c,p,d,y,f){return[e,t,r,i,s,n,o,a,l,u,h,c,p,d,y,f]}},Symbol.toStringTag,{value:"Module"}))},20437:(e,t,r)=>{r.d(t,{A:()=>y});var i,s=r(31635),n=r(66552),o=r(25482),a=r(91429),l=r(56507),u=r(8631),h=r(98453),c=r(36005),p=r(93223);const d=new n.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let y=class extends o.o{static{i=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?d.fromJSON(r.fieldValueType):null}clone(){return new i({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"alias",void 0),(0,s.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],y.prototype,"defaultValue",void 0),(0,s.Cg)([(0,a.MZ)()],y.prototype,"description",void 0),(0,s.Cg)([(0,c.w)("description")],y.prototype,"readDescription",null),(0,s.Cg)([(0,a.MZ)({types:u.gK,json:{read:{reader:u.rS},write:!0}})],y.prototype,"domain",void 0),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"editable",void 0),(0,s.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],y.prototype,"length",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"nullable",void 0),(0,s.Cg)([(0,p.e)(h.m)],y.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)()],y.prototype,"valueType",void 0),(0,s.Cg)([(0,c.w)("valueType",["description"])],y.prototype,"readValueType",null),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],y.prototype,"visible",void 0),y=i=(0,s.Cg)([(0,a.$K)("esri.layers.support.Field")],y)},21276:(e,t,r)=>{r.d(t,{H:()=>n,f:()=>s});var i=r(49186);function s(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new i.A("internal:mesh","Mesh geometries are not supported for this operation")}function n(e){e.forEach(s)}},28735:(e,t,r)=>{r.d(t,{Cv:()=>m,Gh:()=>w,ci:()=>v,je:()=>_,jg:()=>p,tD:()=>b,y7:()=>g});var i=r(4718),s=r(21276),n=r(16930),o=r(79258),a=r(21325);const l=57.29577951308232,u=.017453292519943;function h(e){return e*l}function c(e){return e*u}function p(e){return Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))}function d(e){return null!=e.wkid||null!=e.wkt}const y=[0,0];function f(e,t,r,i,s){const n=e,o=s;if(o.spatialReference=r,"x"in n&&"x"in o)[o.x,o.y]=t(n.x,n.y,y,i);else if("xmin"in n&&"xmin"in o)[o.xmin,o.ymin]=t(n.xmin,n.ymin,y,i),[o.xmax,o.ymax]=t(n.xmax,n.ymax,y,i);else if("paths"in n&&"paths"in o||"rings"in n&&"rings"in o){const e="paths"in n?n.paths:n.rings,r=[];let s;for(let n=0;n<e.length;n++){const o=e[n];s=[],r.push(s);for(let e=0;e<o.length;e++)s.push(t(o[e][0],o[e][1],[0,0],i)),o[e].length>2&&s[e].push(o[e][2]),o[e].length>3&&s[e].push(o[e][3])}"paths"in o?o.paths=r:o.rings=r}else if("points"in n&&"points"in o){const e=n.points,r=[];for(let s=0;s<e.length;s++)r[s]=t(e[s][0],e[s][1],[0,0],i),e[s].length>2&&r[s].push(e[s][2]),e[s].length>3&&r[s].push(e[s][3]);o.points=r}return s}function g(e,t){const r=e&&(d(e)?e:e.spatialReference),i=t&&(d(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!r||!i)&&(!!(0,a.aI)(i,r)||(0,a.K8)(i)&&(0,a.oT)(r)||(0,a.K8)(r)&&(0,a.oT)(i))}function m(e,t){if(null==e)return null;const r=e.spatialReference,s=t&&(d(t)?t:t.spatialReference);return g(r,s)?(0,a.aI)(r,s)?(0,i.o8)(e):(0,a.K8)(s)?f(e,_,n.A.WebMercator,!1,(0,i.o8)(e)):(0,a.oT)(s)?f(e,b,n.A.WGS84,!1,(0,i.o8)(e)):null:null}function _(e,t,r=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const i=c(t);return r[0]=c(e)*o.$O.radius,r[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(i))/(1-Math.sin(i))),r}function b(e,t,r=[0,0],i=!1){if(e===a.Mc[0])r[0]=-180;else if(e===a.Mc[1])r[0]=180;else{const t=h(e/o.$O.radius);r[0]=i?t:t-360*Math.floor((t+180)/360)}return r[1]=h(Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))),r}function w(e,t=!1,r=(0,i.o8)(e)){return(0,s.f)(e),(0,s.f)(r),f(e,_,n.A.WebMercator,t,r)}function v(e,t=!1,r=(0,i.o8)(e)){return(0,s.f)(e),(0,s.f)(r),f(e,b,n.A.WGS84,t,r)}},31635:(e,t,r)=>{function i(e,t,r,i){var s,n=arguments.length,o=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(n<3?s(o):n>3?s(t,r,o):s(t,r))||o);return n>3&&o&&Object.defineProperty(t,r,o),o}function s(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var i,s;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=t[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=t[Symbol.dispose],r&&(s=i)}if("function"!=typeof i)throw new TypeError("Object not disposable.");s&&(i=function(){try{s.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:i,async:r})}else r&&e.stack.push({async:!0});return t}r.d(t,{Cg:()=>i,hk:()=>o,mS:()=>s}),Object.create,Object.create;var n="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var i=new Error(r);return i.name="SuppressedError",i.error=e,i.suppressed=t,i};function o(e){function t(t){e.error=e.hasError?new n(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,i=0;return function s(){for(;r=e.stack.pop();)try{if(!r.async&&1===i)return i=0,e.stack.push(r),Promise.resolve().then(s);if(r.dispose){var n=r.dispose.call(r.value);if(r.async)return i|=2,Promise.resolve(n).then(s,function(e){return t(e),s()})}else i|=1}catch(e){t(e)}if(1===i)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},34304:(e,t,r)=>{r.d(t,{DF:()=>l,FD:()=>s,Ov:()=>n,ct:()=>u});let i=1e-6;function s(){return i}const n=Math.random,o=Math.PI/180,a=180/Math.PI;function l(e){return e*o}function u(e){return e*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:n,equals:function(e,t){return Math.abs(e-t)<=i*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:s,setEpsilon:function(e){i=e},toDegree:u,toRadian:l},Symbol.toStringTag,{value:"Module"}))},39078:(e,t,r)=>{r.r(t),r.d(t,{default:()=>w});var i=r(21818),s=r(24326),n=r(16930),o=r(62815),a=(r(44208),r(69397),r(70328),r(19419),r(50498),r(20437));r(34727),r(21325);class l{constructor(e,t,r){this.uid=e,this.geometry=t,this.attributes=r,this.visible=!0,this.objectId=null,this.centroid=null}}class u{constructor(){this.exceededTransferLimit=!1,this.features=[],this.fields=[],this.hasM=!1,this.hasZ=!1,this.geometryType=null,this.objectIdFieldName=null,this.globalIdFieldName=null,this.geometryProperties=null,this.geohashFieldName=null,this.spatialReference=null,this.transform=null}}var h=r(90708);function c(e,t){return t}function p(e,t,r,i){switch(r){case 0:return g(e,t+i,0);case 1:return"lowerLeft"===e.originPosition?g(e,t+i,1):function({translate:e,scale:t},r,i){return e[i]-r*t[i]}(e,t+i,1)}}function d(e,t,r,i){return 2===r?g(e,t,2):p(e,t,r,i)}function y(e,t,r,i){return 2===r?g(e,t,3):p(e,t,r,i)}function f(e,t,r,i){return 3===r?g(e,t,3):d(e,t,r,i)}function g({translate:e,scale:t},r,i){return e[i]+r*t[i]}class m{constructor(e){this._options=e,this.geometryTypes=["point","multipoint","polyline","polygon"],this._previousCoordinate=[0,0],this._transform=null,this._applyTransform=c,this._lengths=[],this._currentLengthIndex=0,this._toAddInCurrentPath=0,this._vertexDimension=0,this._coordinateBuffer=null,this._coordinateBufferPtr=0,this._attributesConstructor=class{},this._missingAttributes=[]}get missingAttributes(){return this._missingAttributes}createFeatureResult(){return new u}finishFeatureResult(e){if(this._options.applyTransform&&(e.transform=null),this._attributesConstructor=class{},this._coordinateBuffer=null,this._lengths.length=0,!e.hasZ)return;const t=(0,o.N)(e.geometryType,this._options.sourceSpatialReference,e.spatialReference);if(null!=t)for(const r of e.features)t(r.geometry)}createSpatialReference(){return new n.A}addField(e,t){e.fields.push(a.A.fromJSON(t));const r=e.fields.map(e=>e.name);this._attributesConstructor=function(){for(const e of r)this[e]=null}}addFeature(e,t){const r=this._options.maxStringAttributeLength,i=this._options.maxStringAttributeFields;(function(e,t,r,i){if(t?.size&&null!=r&&e)for(const s in e){if(!t.has(s))continue;const n=e[s];"string"==typeof n&&n.length>r&&(i(s),e[s]="")}})(t.attributes,i,r,r=>{const i=t.attributes[e.objectIdFieldName];null!=i&&this._missingAttributes.push({objectId:i,attribute:r})}),e.features.push(t)}addQueryGeometry(e,t){const{queryGeometry:r,queryGeometryType:i}=t,s=r.justXY();this._transform&&(0,h.aQ)(s,this._transform);const n=(0,h.zv)(s,i,!1,!1);switch(i){case"esriGeometryPoint":n.type="point";break;case"esriGeometryPolygon":n.type="polygon";break;case"esriGeometryPolyline":n.type="polyline";break;case"esriGeometryMultipoint":n.type="multipoint"}e.queryGeometryType=i,e.queryGeometry=n}prepareFeatures(e){switch(this._transform=e.transform??null,this._options.applyTransform&&e.transform&&(this._applyTransform=this._deriveApplyTransform(e)),this._vertexDimension=2,e.hasZ&&this._vertexDimension++,e.hasM&&this._vertexDimension++,e.geometryType){case"point":this.addCoordinate=(e,t,r)=>this.addCoordinatePoint(e,t,r),this.createGeometry=e=>this.createPointGeometry(e);break;case"polygon":this.addCoordinate=(e,t,r)=>this._addCoordinatePolygon(e,t,r),this.createGeometry=e=>this._createPolygonGeometry(e);break;case"polyline":this.addCoordinate=(e,t,r)=>this._addCoordinatePolyline(e,t,r),this.createGeometry=e=>this._createPolylineGeometry(e);break;case"multipoint":this.addCoordinate=(e,t,r)=>this._addCoordinateMultipoint(e,t,r),this.createGeometry=e=>this._createMultipointGeometry(e);break;case"mesh":case"extent":break;default:(0,i.Xb)(e.geometryType)}}createFeature(){return this._lengths.length=0,this._currentLengthIndex=0,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0,new l((0,s.c)(),null,new this._attributesConstructor)}allocateCoordinates(){const e=this._lengths.reduce((e,t)=>e+t,0);this._coordinateBuffer=new Float64Array(e*this._vertexDimension),this._coordinateBufferPtr=0}addLength(e,t){0===this._lengths.length&&(this._toAddInCurrentPath=t),this._lengths.push(t)}createPointGeometry(e){const t={type:"point",x:0,y:0,spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM};return t.hasZ&&(t.z=0),t.hasM&&(t.m=0),t}addCoordinatePoint(e,t,r){const i=this._transform?this._applyTransform(this._transform,t,r,0):t;if(null!=i)switch(r){case 0:e.x=i;break;case 1:e.y=i;break;case 2:e.hasZ?e.z=i:e.m=i;break;case 3:e.m=i}}_transformPathLikeValue(e,t){let r=0;return t<=1&&(r=this._previousCoordinate[t],this._previousCoordinate[t]+=e),this._transform?this._applyTransform(this._transform,e,t,r):e}_addCoordinatePolyline(e,t,r){this._dehydratedAddPointsCoordinate(e.paths,t,r)}_addCoordinatePolygon(e,t,r){this._dehydratedAddPointsCoordinate(e.rings,t,r)}_addCoordinateMultipoint(e,t,r){0===r&&e.points.push([]);const i=this._transformPathLikeValue(t,r);e.points[e.points.length-1].push(i)}_createPolygonGeometry(e){return{type:"polygon",rings:[[]],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_createPolylineGeometry(e){return{type:"polyline",paths:[[]],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_createMultipointGeometry(e){return{type:"multipoint",points:[],spatialReference:e.spatialReference,hasZ:!!e.hasZ,hasM:!!e.hasM}}_dehydratedAddPointsCoordinate(e,t,r){0===r&&0===this._toAddInCurrentPath--&&(e.push([]),this._toAddInCurrentPath=this._lengths[++this._currentLengthIndex]-1,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0);const i=this._transformPathLikeValue(t,r),s=e[e.length-1],n=this._coordinateBuffer;if(n){if(0===r){const e=this._coordinateBufferPtr*Float64Array.BYTES_PER_ELEMENT;s.push(new Float64Array(n.buffer,e,this._vertexDimension))}n[this._coordinateBufferPtr++]=i}}_deriveApplyTransform(e){const{hasZ:t,hasM:r}=e;return t&&r?f:t?d:r?y:p}}var _=r(66208);class b{_parseFeatureQuery(e){const t=new m(e.options),r=(0,_.m)(e.buffer,t),i={...r,spatialReference:r.spatialReference?.toJSON(),fields:r.fields?r.fields.map(e=>e.toJSON()):void 0,missingAttributes:t.missingAttributes};return Promise.resolve(i)}}function w(){return new b}},39357:(e,t,r)=>{r.d(t,{A:()=>a});var i,s=r(31635),n=r(25482),o=r(91429);let a=i=class extends n.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new i({name:this.name,code:this.code})}};(0,s.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,s.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=i=(0,s.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},41628:(e,t,r)=>{r.d(t,{A:()=>l});var i,s=r(31635),n=r(91429),o=r(76357),a=r(93223);let l=class extends o.A{static{i=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new i({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,s.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],l.prototype,"maxValue",void 0),(0,s.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],l.prototype,"minValue",void 0),(0,s.Cg)([(0,a.e)({range:"range"})],l.prototype,"type",void 0),l=i=(0,s.Cg)([(0,n.$K)("esri.layers.support.RangeDomain")],l)},48526:(e,t,r)=>{r.d(t,{A:()=>y});var i,s=r(31635),n=r(4718),o=r(91429),a=r(5443),l=r(91075),u=r(86738),h=r(16930),c=r(90634),p=r(56993),d=r(43937);let y=i=class extends l.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:r,hasZ:i,spatialReference:s}=e;switch(t??=[],t?.at(0)?.length){case 4:i??=!0,r??=!0;break;case 3:i??=!0!==r,r??=!i;break;default:i??=!1,r??=!1}return s??=h.A.WGS84,{...e,hasM:r,hasZ:i,points:t,spatialReference:s}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,c.ge)(this);return e?new a.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,n.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:r,hasZ:s}=this;return new i({points:(0,n.o8)(e),spatialReference:t.clone(),hasM:r,hasZ:s})}addPoint(e){return(0,p.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],r={x:t[0],y:t[1],spatialReference:this.spatialReference};let i=2;return this.hasZ&&(r.z=t[2],i=3),this.hasM&&(r.m=t[i]),new u.A(r)}removePoint(e){if(!this._validateInputs(e))return null;const t=new u.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,p.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,s.Cg)([(0,o.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,s.Cg)([(0,d.K)("points")],y.prototype,"writePoints",null),y=i=(0,s.Cg)([(0,o.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},50498:(e,t,r)=>{r.d(t,{Ye:()=>c,gy:()=>h,iI:()=>d,yR:()=>p});var i=r(66552),s=r(5443),n=r(91075),o=r(48526),a=r(86738),l=r(39829),u=r(82799);const h=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),c=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),p={base:n.A,key:"type",typeMap:{extent:s.A,multipoint:o.A,point:a.A,polyline:u.A,polygon:l.A}},d=new i.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},51624:(e,t,r)=>{r.d(t,{A:()=>u});var i=r(44208),s=r(69397),n=r(93687);const o=4294967296,a=new TextDecoder("utf-8"),l=(0,i.A)("safari")||(0,i.A)("ios")?6:(0,i.A)("ff")?12:32;class u{constructor(e,t,r=0,i=(e?e.byteLength:0)){this._tag=0,this._dataType=99,this._init(e,t,r,i)}_init(e,t,r,i){this._data=e,this._dataView=t,this._pos=r,this._end=i}get usedMemory(){return 64+(0,s.Qf)(this._data)}asUnsafe(){return this}clone(){return new u(this._data,this._dataView,this._pos,this._end)}pos(){return this._pos}move(e){this._pos=e}nextTag(e){for(;;){if(this._pos===this._end)return!1;const t=this._decodeVarint();if(this._tag=t>>3,this._dataType=7&t,!e||e===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const e=this._decodeVarint();return this._tag=e>>3,this._dataType=7&e,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let e=4294967295;if(e=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return e;throw new Error("Varint overflow")}getUInt64(){return this._decodeVarint()}getSInt32(){const e=this.getUInt32();return e>>>1^-(1&e)}getSInt64(){return this._decodeSVarint()}getBool(){const e=0!==this._data[this._pos];return this._skip(1),e}getEnum(){return this._decodeVarint()}getFixed64(){const e=this._dataView,t=this._pos,r=e.getUint32(t,!0)+e.getUint32(t+4,!0)*o;return this._skip(8),r}getSFixed64(){const e=this._dataView,t=this._pos,r=e.getUint32(t,!0)+e.getInt32(t+4,!0)*o;return this._skip(8),r}getDouble(){const e=this._dataView.getFloat64(this._pos,!0);return this._skip(8),e}getFixed32(){const e=this._dataView.getUint32(this._pos,!0);return this._skip(4),e}getSFixed32(){const e=this._dataView.getInt32(this._pos,!0);return this._skip(4),e}getFloat(){const e=this._dataView.getFloat32(this._pos,!0);return this._skip(4),e}getString(){const e=this._getLength(),t=this._pos,r=this._toString(this._data,t,t+e);return this._skip(e),r}getBytes(){const e=this._getLength(),t=this._pos,r=this._toBytes(this._data,t,t+e);return this._skip(e),r}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(e,t,r,i){const s=this.getMessage(),n=e(s,t,r,i);return s.release(),n}processMessage(e){const t=this.getMessage(),r=e(t);return t.release(),r}getMessage(){const e=this._getLength(),t=u.pool.acquire();return t._init(this._data,this._dataView,this._pos,this._pos+e),this._skip(e),t}release(){u.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipLen(e){this._skip(e)}_skip(e){if(this._pos+e>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=e}_decodeVarint(){const e=this._data;let t=this._pos,r=0,i=0;if(this._end-t>=10)do{if(i=e[t++],r|=127&i,!(128&i))break;if(i=e[t++],r|=(127&i)<<7,!(128&i))break;if(i=e[t++],r|=(127&i)<<14,!(128&i))break;if(i=e[t++],r|=(127&i)<<21,!(128&i))break;if(i=e[t++],r+=268435456*(127&i),!(128&i))break;if(i=e[t++],r+=34359738368*(127&i),!(128&i))break;if(i=e[t++],r+=4398046511104*(127&i),!(128&i))break;if(i=e[t++],r+=562949953421312*(127&i),!(128&i))break;if(i=e[t++],r+=72057594037927940*(127&i),!(128&i))break;if(i=e[t++],r+=0x8000000000000000*(127&i),!(128&i))break;throw new Error("Varint too long!")}while(0);else{let s=1;for(;t!==this._end&&(i=e[t],128&i);)++t,r+=(127&i)*s,s*=128;if(t===this._end)throw new Error("Varint overrun!");++t,r+=i*s}return this._pos=t,r}_decodeSVarint(){const e=this._data;let t,r=0,i=0;const s=1&e[this._pos];if(i=e[this._pos++],r|=127&i,!(128&i))return s?-(r+1)/2:r/2;if(i=e[this._pos++],r|=(127&i)<<7,!(128&i))return s?-(r+1)/2:r/2;if(i=e[this._pos++],r|=(127&i)<<14,!(128&i))return s?-(r+1)/2:r/2;if(i=e[this._pos++],r|=(127&i)<<21,!(128&i))return s?-(r+1)/2:r/2;if(i=e[this._pos++],r+=268435456*(127&i),!(128&i))return s?-(r+1)/2:r/2;if(i=e[this._pos++],r+=34359738368*(127&i),!(128&i))return s?-(r+1)/2:r/2;if(i=e[this._pos++],r+=4398046511104*(127&i),!(128&i))return s?-(r+1)/2:r/2;if(t=BigInt(r),i=e[this._pos++],t+=0x2000000000000n*BigInt(127&i),!(128&i))return Number(s?-(t+1n)/2n:t/2n);if(i=e[this._pos++],t+=0x100000000000000n*BigInt(127&i),!(128&i))return Number(s?-(t+1n)/2n:t/2n);if(i=e[this._pos++],t+=0x8000000000000000n*BigInt(127&i),!(128&i))return Number(s?-(t+1n)/2n:t/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(e,t,r){if((r=Math.min(this._end,r))-t>l){const i=e.subarray(t,r);return a.decode(i)}let i="",s="";for(let n=t;n<r;++n){const t=e[n];128&t?s+="%"+t.toString(16):(i+=decodeURIComponent(s)+String.fromCharCode(t),s="")}return s.length&&(i+=decodeURIComponent(s)),i}_toBytes(e,t,r){return r=Math.min(this._end,r),new Uint8Array(e.buffer,t,r-t)}static{this.pool=new n.A(()=>new u(null,null),void 0,e=>{e._data=null,e._dataView=null})}}},53177:(e,t,r)=>{r.d(t,{A:()=>h});var i,s=r(31635),n=r(4718),o=r(91429),a=r(39357),l=r(76357),u=r(93223);let h=class extends l.A{static{i=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new i({codedValues:(0,n.o8)(this.codedValues),name:this.name})}};(0,s.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],h.prototype,"codedValues",void 0),(0,s.Cg)([(0,u.e)({codedValue:"coded-value"})],h.prototype,"type",void 0),h=i=(0,s.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],h)},53655:(e,t,r)=>{r.d(t,{SH:()=>P,ae:()=>x,cn:()=>_});var i=r(49186),s=r(51624),n=r(92722),o=r(69418);const a=["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeString","esriFieldTypeDate","esriFieldTypeOID","esriFieldTypeGeometry","esriFieldTypeBlob","esriFieldTypeRaster","esriFieldTypeGUID","esriFieldTypeGlobalID","esriFieldTypeXML","esriFieldTypeBigInteger","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"],l=["sqlTypeBigInt","sqlTypeBinary","sqlTypeBit","sqlTypeChar","sqlTypeDate","sqlTypeDecimal","sqlTypeDouble","sqlTypeFloat","sqlTypeGeometry","sqlTypeGUID","sqlTypeInteger","sqlTypeLongNVarchar","sqlTypeLongVarbinary","sqlTypeLongVarchar","sqlTypeNChar","sqlTypeNVarchar","sqlTypeOther","sqlTypeReal","sqlTypeSmallInt","sqlTypeSqlXml","sqlTypeTime","sqlTypeTimestamp","sqlTypeTimestamp2","sqlTypeTinyInt","sqlTypeVarbinary","sqlTypeVarchar"],u=["upperLeft","lowerLeft"];function h(e){return e>=a.length?null:a[e]}function c(e){return e>=l.length?null:l[e]}function p(e){return e>=u.length?null:u[e]}function d(e,t){return t>=e.geometryTypes.length?null:e.geometryTypes[t]}function y(e,t,r){const i=e.asUnsafe(),s=t.createPointGeometry(r);for(;i.next();)switch(i.tag()){case 3:{const e=i.getUInt32(),r=i.pos()+e;let n=0;for(;i.pos()<r;)t.addCoordinatePoint(s,i.getSInt64(),n++);break}default:i.skip()}return s}function f(e,t,r){const i=e.asUnsafe(),s=t.createGeometry(r),n=2+(r.hasZ?1:0)+(r.hasM?1:0);for(;i.next();)switch(i.tag()){case 2:{const e=i.getUInt32(),r=i.pos()+e;let n=0;for(;i.pos()<r;)t.addLength(s,i.getUInt32(),n++);break}case 3:{const e=i.getUInt32(),r=i.pos()+e;let o=0;for(t.allocateCoordinates(s);i.pos()<r;)t.addCoordinate(s,i.getSInt64(),o),o++,o===n&&(o=0);break}default:i.skip()}return s}function g(e){const t=e.asUnsafe(),r=new n.A;let i="esriGeometryPoint";for(;t.next();)switch(t.tag()){case 2:{const e=t.getUInt32(),i=t.pos()+e;for(;t.pos()<i;)r.lengths.push(t.getUInt32());break}case 3:{const e=t.getUInt32(),i=t.pos()+e;for(;t.pos()<i;)r.coords.push(t.getSInt64());break}case 1:i=o.z[t.getEnum()];break;default:t.skip()}return{queryGeometry:r,queryGeometryType:i}}function m(e){const t=e.asUnsafe();for(;t.next();)switch(t.tag()){case 1:return t.getString();case 2:return t.getFloat();case 3:return t.getDouble();case 4:return t.getSInt32();case 5:return t.getUInt32();case 6:return t.getInt64();case 7:return t.getUInt64();case 8:return t.getSInt64();case 9:return t.getBool();default:return t.skip(),null}return null}function _(e){const t=e.asUnsafe(),r={type:h(0)};for(;t.next();)switch(t.tag()){case 1:r.name=t.getString();break;case 2:r.type=h(t.getEnum());break;case 3:r.alias=t.getString();break;case 4:r.sqlType=c(t.getEnum());break;case 5:default:t.skip();break;case 6:r.defaultValue=t.getString()}return r}function b(e){const t={},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.name=r.getString();break;case 2:t.isSystemMaintained=r.getBool();break;default:r.skip()}return t}function w(e,t,r,i){const s=t.createFeature(r);let n=0;for(;e.next();)switch(e.tag()){case 1:{const t=i[n++].name;s.attributes[t]=e.processMessage(m);break}case 2:s.geometry=e.processMessageWithArgs(f,t,r);break;case 4:s.centroid=e.processMessageWithArgs(y,t,r);break;default:e.skip()}return s}function v(e){const t=[1,1,1,1],r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t[0]=r.getDouble();break;case 2:t[1]=r.getDouble();break;case 4:t[2]=r.getDouble();break;case 3:t[3]=r.getDouble();break;default:r.skip()}return t}function M(e){const t=[0,0,0,0],r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t[0]=r.getDouble();break;case 2:t[1]=r.getDouble();break;case 4:t[2]=r.getDouble();break;case 3:t[3]=r.getDouble();break;default:r.skip()}return t}function x(e){const t={originPosition:p(0)},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.originPosition=p(r.getEnum());break;case 2:t.scale=r.processMessage(v);break;case 3:t.translate=r.processMessage(M);break;default:r.skip()}return t}function k(e){const t={},r=e.asUnsafe();for(;r.next();)switch(r.tag()){case 1:t.shapeAreaFieldName=r.getString();break;case 2:t.shapeLengthFieldName=r.getString();break;case 3:t.units=r.getString();break;default:r.skip()}return t}function T(e,t){const r=t.createSpatialReference();for(;e.next();)switch(e.tag()){case 1:r.wkid=e.getUInt32();break;case 5:r.wkt=e.getString();break;case 2:r.latestWkid=e.getUInt32();break;case 3:r.vcsWkid=e.getUInt32();break;case 4:r.latestVcsWkid=e.getUInt32();break;default:e.skip()}return r}function A(e,t){const r=t.createFeatureResult(),i=e.asUnsafe();r.geometryType=d(t,0);let s=!1;for(;i.next();)switch(i.tag()){case 1:r.objectIdFieldName=i.getString();break;case 3:r.globalIdFieldName=i.getString();break;case 4:r.geohashFieldName=i.getString();break;case 5:r.geometryProperties=i.processMessage(k);break;case 7:r.geometryType=d(t,i.getEnum());break;case 8:r.spatialReference=i.processMessageWithArgs(T,t);break;case 10:r.hasZ=i.getBool();break;case 11:r.hasM=i.getBool();break;case 12:r.transform=i.processMessage(x);break;case 9:r.exceededTransferLimit=i.getBool();break;case 13:t.addField(r,i.processMessage(_));break;case 15:s||(t.prepareFeatures(r),s=!0),t.addFeature(r,i.processMessageWithArgs(w,t,r,r.fields));break;case 2:r.uniqueIdField=i.processMessage(b);break;default:i.skip()}return t.finishFeatureResult(r),r}function C(e,t){const r={};let i=null;for(;e.next();)switch(e.tag()){case 4:i=e.processMessageWithArgs(g);break;case 1:r.featureResult=e.processMessageWithArgs(A,t);break;default:e.skip()}return null!=i&&r.featureResult&&t.addQueryGeometry(r,i),r}function P(e,t){try{const r=2,i=new s.A(new Uint8Array(e),new DataView(e)),n={};for(;i.next();)i.tag()===r?n.queryResult=i.processMessageWithArgs(C,t):i.skip();return n}catch(e){throw new i.A("query:parsing-pbf","Error while parsing FeatureSet PBF payload",{error:e})}}},54339:(e,t,r)=>{function i(e,t){switch(t.type){case"object-id":case"unique-id-simple":return e.attributes[t.fieldName];case"unique-id-composite":{const r=[];for(const i of t.fieldNames)r.push(e.attributes[i]??null);return JSON.stringify(r)}}}function s(e,t){if("uniqueIdFields"in t&&t.uniqueIdFields?.length){if(1===t.uniqueIdFields.length)return e.attributes?.[t.uniqueIdFields[0]];const r=t.uniqueIdFields.map(t=>e.attributes?.[t]);return JSON.stringify(r)}return"objectIdField"in t&&t.objectIdField?e.attributes?.[t.objectIdField]:null}r.d(t,{W:()=>i,r:()=>s})},60408:(e,t,r)=>{function i(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function s(e){return void 0!==e.points}function n(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?n(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":i(e)?"esriGeometryEnvelope":s(e)?"esriGeometryMultipoint":null:null}function h(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function c(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>h,Rg:()=>o,U9:()=>s,W0:()=>c,ZC:()=>i,fT:()=>n,uW:()=>l})},62815:(e,t,r)=>{r.d(t,{N:()=>o});var i=r(86211),s=r(73941),n=r(21325);function o(e,t,r){if(null==t||null==r||r.vcsWkid||(0,n.aI)(t,r)||(0,s.xP)(t)||(0,s.xP)(r))return;const o=(0,i.G9)(t)/(0,i.G9)(r);if(1!==o)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,o);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}(e,o);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}(e,o);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,o);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,o);default:return}}},66208:(e,t,r)=>{r.d(t,{m:()=>s});var i=r(53655);function s(e,t){const r=(0,i.SH)(e,t),s=r.queryResult.featureResult,n=r.queryResult.queryGeometry,o=r.queryResult.queryGeometryType;if(s&&s.features&&s.features.length&&s.objectIdFieldName){const e=s.objectIdFieldName;for(const t of s.features)t.attributes&&(t.objectId=t.attributes[e])}return s&&(s.queryGeometry=n,s.queryGeometryType=o),s}},69418:(e,t,r)=>{r.d(t,{S:()=>u,z:()=>l});var i=r(86211),s=r(21325),n=r(43334),o=r(58512),a=r(92722);const l=["esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolyline","esriGeometryPolygon"];class u{constructor(e){this._options=e,this.geometryTypes=l,this._coordinatePtr=0,this._vertexDimension=0}createFeatureResult(){return new o.A}prepareFeatures(e){this._vertexDimension=2,e.hasZ&&this._vertexDimension++,e.hasM&&this._vertexDimension++}finishFeatureResult(e){if(!e?.features||!e.hasZ||!this._options.sourceSpatialReference||!e.spatialReference||(0,s.aI)(e.spatialReference,this._options.sourceSpatialReference)||e.spatialReference.vcsWkid)return;const t=(0,i.G9)(this._options.sourceSpatialReference)/(0,i.G9)(e.spatialReference);if(1!==t)for(const r of e.features){if(!(0,n.N3)(r))continue;const e=r.geometry.coords;for(let r=2;r<e.length;r+=3)e[r]*=t}}addFeature(e,t){e.features.push(t)}createFeature(){return new n.Om(null,{},null,0)}createSpatialReference(){return{wkid:0}}createGeometry(){return new a.A}addField(e,t){e.fields.push(t)}allocateCoordinates(e){e.coords.length=e.lengths.reduce((e,t)=>e+t,0)*this._vertexDimension,this._coordinatePtr=0}addCoordinate(e,t){e.coords[this._coordinatePtr++]=t}addCoordinatePoint(e,t){e.coords.push(t)}addLength(e,t){e.lengths.push(t)}addQueryGeometry(e,t){e.queryGeometry=t.queryGeometry,e.queryGeometryType=t.queryGeometryType}createPointGeometry(){return new a.A}}},70328:(e,t,r)=>{r.d(t,{BI:()=>b,DC:()=>c,Ej:()=>d,Ie:()=>m,Jt:()=>_,Ne:()=>y,RF:()=>h,aI:()=>v,fA:()=>o,gE:()=>l,hZ:()=>g,iT:()=>p,is:()=>w,qv:()=>M,vI:()=>f,vY:()=>a,v_:()=>x,vt:()=>n,w1:()=>u});var i=r(5443),s=(r(19419),r(4197));function n(e=x){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,r,i,s,o,a=n()){return a[0]=e,a[1]=t,a[2]=r,a[3]=i,a[4]=s,a[5]=o,a}function a(e,t=n()){return function(e,t,r,i=n()){return g(i,M),function(e,t,r=0,i=t.length/3){let s=e[0],n=e[1],o=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<i;e++)s=Math.min(s,t[r+3*e]),n=Math.min(n,t[r+3*e+1]),o=Math.min(o,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),l=Math.max(l,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=s,e[1]=n,e[2]=o,e[3]=a,e[4]=l,e[5]=u}(i,e,t,r),i}(e,0,e.length/3,t)}function l(e,t=(0,s.jh)(24)){const[r,i,n,o,a,l]=e;return t[0]=r,t[1]=i,t[2]=n,t[3]=r,t[4]=i,t[5]=l,t[6]=r,t[7]=a,t[8]=n,t[9]=r,t[10]=a,t[11]=l,t[12]=o,t[13]=i,t[14]=n,t[15]=o,t[16]=i,t[17]=l,t[18]=o,t[19]=a,t[20]=n,t[21]=o,t[22]=a,t[23]=l,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new i.A(r?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function h(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function d(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function y(e,t,r=e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r!==e&&(r[3]=e[3],r[4]=e[4],r[5]=e[5]),r}function f(e,t,r=e){return r[3]=t[0],r[4]=t[1],r[5]=t[2],r!==e&&(r[0]=e[0],r[1]=e[1],r[2]=e[2]),e}function g(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function m(e){return e?g(e,M):n(M)}function _(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function b(e,t,r,i,s){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=i,e[4]=s,e[5]=Number.POSITIVE_INFINITY,e}function w(e){return 6===e.length}function v(e,t,r){if(null==e||null==t)return e===t;if(!w(e)||!w(t))return!1;if(r){for(let i=0;i<e.length;i++)if(!r(e[i],t[i]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const M=[1/0,1/0,1/0,-1/0,-1/0,-1/0],x=[0,0,0,0,0,0];n()},76357:(e,t,r)=>{r.d(t,{A:()=>u});var i=r(31635),s=r(66552),n=r(25482),o=r(91429),a=r(93223);const l=new s.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends n.o{constructor(e){super(e),this.name=null,this.type=null}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,i.Cg)([(0,a.e)(l),(0,o.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,i.Cg)([(0,o.$K)("esri.layers.support.Domain")],u)},82799:(e,t,r)=>{r.d(t,{A:()=>y});var i,s=r(31635),n=r(4718),o=r(91429),a=r(5443),l=r(91075),u=r(86738),h=r(16930),c=r(90634),p=r(56993),d=r(43937);let y=i=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:r,hasZ:i,spatialReference:s}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:i??=!0,r??=!0;break;case 3:i??=!0!==r,r??=!i;break;default:i??=!1,r??=!1}return s??=h.A.WGS84,{...e,hasM:r,hasZ:i,paths:t,spatialReference:s}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,n.o8)(e)}get extent(){const e=(0,c.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,n.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,r=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const i=[];for(let t=0,r=e.length;t<r;t++)i[t]=e[t].toArray();t[r]=i}else t[r]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new i;return e.spatialReference=this.spatialReference,e.paths=(0,n.o8)(this.paths),e.curvePaths=(0,n.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const r=this.paths[e][t],i=this.hasZ,s=this.hasM;return i&&!s?new u.A(r[0],r[1],r[2],void 0,this.spatialReference):s&&!i?new u.A(r[0],r[1],void 0,r[2],this.spatialReference):i&&s?new u.A(r[0],r[1],r[2],r[3],this.spatialReference):new u.A(r[0],r[1],this.spatialReference)}insertPoint(e,t,r){return this._validateInputs(e,t,!0)?((0,p.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e].splice(t,0,r),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],r=this.spatialReference,i=t.map(e=>new u.A(e,r));return this.notifyChange("paths"),i}removePoint(e,t){if(!this._validateInputs(e,t))return null;const r=new u.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),r}setPoint(e,t,r){return this._validateInputs(e,t)?((0,p.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e][t]=r,this.notifyChange("paths"),this):this}_validateInputs(e,t,r=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const i=this.paths[e];if(r&&(t<0||t>i.length))return!1;if(!r&&(t<0||t>=i.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],y.prototype,"curvePaths",void 0),(0,s.Cg)([(0,d.K)("curvePaths")],y.prototype,"writeCurvePaths",null),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,s.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],y.prototype,"paths",void 0),(0,s.Cg)([(0,d.K)("paths")],y.prototype,"writePaths",null),y=i=(0,s.Cg)([(0,o.$K)("esri.geometry.Polyline")],y),y.prototype.toJSON.isDefaultToJSON=!0},86738:(e,t,r)=>{r.d(t,{A:()=>b});var i=r(31635),s=r(69622),n=r(53966),o=r(91429),a=r(56507),l=r(91075),u=r(16930),h=r(21325),c=r(28735);function p({x:e,y:t,spatialReference:r},i=[0,0]){if(r){if((0,h.K8)(r))return(0,c.tD)(e,t,i);if((0,h.EA)(r))return i[0]=e,i[1]=t,i}return null}const d=[0,0];var y,f=r(43937),g=r(36005);const m=[0,0];function _(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let b=y=class extends l.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const r=e._get("spatialReference");t._set("spatialReference",s.A.isFrozen(r)?r:r.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,r,i,s){let o;if(Array.isArray(e))o=e,s=t,e=o[0],t=o[1],r=o[2],i=o[3];else if(e&&"object"==typeof e){if(o=e,e=null!=o.x?o.x:o.longitude,t=null!=o.y?o.y:o.latitude,r=o.z,i=o.m,(s=o.spatialReference)&&"esri.geometry.SpatialReference"!==s.declaredClass&&(s=new u.A(s)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)n.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)n.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&s?.isWebMercator){const r=(0,c.je)(o.longitude,o.latitude,m);e=r[0],t=r[1]}}else _(r)?(s=r,r=null):_(i)&&(s=i,i=null);const a={x:e,y:t};return null==a.x&&null!=a.y?n.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==a.y&&null!=a.x&&n.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=s&&(a.spatialReference=s),null!=r&&(a.z=r),null!=i&&(a.m=i),a}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return e=this,p(e,d)?.[1]??null;var e}set latitude(e){const{spatialReference:t,x:r}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,c.je)(r,e,m)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return e=this,p(e,d)?.[0]??null;var e}set longitude(e){const{y:t,spatialReference:r}=this;null!=e&&r&&(r.isWebMercator?this._set("x",(0,c.je)(e,t,m)[0]):r.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,r){t[r]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new y;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return y.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:r,z:i,m:s,spatialReference:n}=this,{z:o,m:a}=e;let{x:l,y:u,spatialReference:h}=e;if(!n.equals(h))if(n.isWebMercator&&h.isWGS84)[l,u]=(0,c.je)(l,u),h=n;else{if(!n.isWGS84||!h.isWebMercator)return!1;[l,u]=(0,c.tD)(l,u),h=n}return t===l&&r===u&&i===o&&s===a&&n.wkid===h.wkid}offset(e,t,r){return this.x+=e,this.y+=t,null!=r&&(this.z=(this.z??0)+r),this}normalize(){if(!this.spatialReference)return this;const e=(0,h.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[r,i]=e.valid,s=2*i;let n;return t>i?(n=Math.ceil(Math.abs(t-i)/s),t-=n*s):t<r&&(n=Math.ceil(Math.abs(t-r)/s),t+=n*s),this._set("x",t),this}distance(e){return function(e,t){const r=e.x-t.x,i=e.y-t.y,s=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(r*r+i*i+s*s)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,i.Cg)([(0,o.MZ)({readOnly:!0})],b.prototype,"cache",null),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],b.prototype,"hasM",null),(0,i.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],b.prototype,"hasZ",null),(0,i.Cg)([(0,o.MZ)({type:Number})],b.prototype,"latitude",null),(0,i.Cg)([(0,o.MZ)({type:Number})],b.prototype,"longitude",null),(0,i.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(e=>isNaN(e)?e:(0,a.GB)(e))],b.prototype,"x",void 0),(0,i.Cg)([(0,f.K)("x")],b.prototype,"writeX",null),(0,i.Cg)([(0,g.w)("x")],b.prototype,"readX",null),(0,i.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],b.prototype,"y",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],b.prototype,"z",void 0),(0,i.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],b.prototype,"m",void 0),b=y=(0,i.Cg)([(0,o.$K)("esri.geometry.Point")],b),b.prototype.toJSON.isDefaultToJSON=!0},91075:(e,t,r)=>{r.d(t,{A:()=>l});var i=r(31635),s=r(25482),n=r(91429),o=r(16930),a=r(36005);let l=class extends s.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof o.A)return e;if(null!=e){const r=new o.A;return r.read(e,t),r}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,i.Cg)([(0,n.MZ)()],l.prototype,"type",void 0),(0,i.Cg)([(0,n.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,i.Cg)([(0,n.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasM",void 0),(0,i.Cg)([(0,n.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasZ",void 0),(0,i.Cg)([(0,n.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],l.prototype,"spatialReference",void 0),(0,i.Cg)([(0,a.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,i.Cg)([(0,n.$K)("esri.geometry.Geometry")],l)},98453:(e,t,r)=>{r.d(t,{m:()=>i});const i=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})}}]);