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

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 (290) hide show
  1. package/Ground.js +1 -1
  2. package/WebScene.js +1 -1
  3. package/analysis/VolumeMeasurement/VolumeMeasurementDisplayUnits.d.ts +14 -2
  4. package/analysis/VolumeMeasurement/VolumeMeasurementDisplayUnits.js +1 -1
  5. package/applications/Components/OrientedImageryViewer/galleryUtils.d.ts +80 -0
  6. package/applications/Components/OrientedImageryViewer/galleryUtils.js +5 -0
  7. package/applications/Components/clipboard.d.ts +106 -0
  8. package/applications/Components/clipboard.js +5 -0
  9. package/assets/esri/core/libs/libtess/libtess-f32.wasm +0 -0
  10. package/assets/esri/core/libs/libtess/libtess-f64.wasm +0 -0
  11. package/assets/esri/core/t9n/Units.json +1 -1
  12. package/assets/esri/core/workers/RemoteClient.js +1 -1
  13. package/assets/esri/core/workers/chunks/{6298e71e6c480d6f46e3.js → 0276e689e1371b40cff3.js} +1 -1
  14. package/assets/esri/core/workers/chunks/045a9cc900bb4ac8afde.js +1 -0
  15. package/assets/esri/core/workers/chunks/048173088bbeb1f6b8b6.js +1 -0
  16. package/assets/esri/core/workers/chunks/0be8b9d9ef56c37e74c3.js +1 -0
  17. package/assets/esri/core/workers/chunks/0bef671165e64f90ac86.js +1 -0
  18. package/assets/esri/core/workers/chunks/0c025d2b0d3162b07feb.js +1 -0
  19. package/assets/esri/core/workers/chunks/0c4ed18d67dea0c99f01.js +1 -0
  20. package/assets/esri/core/workers/chunks/0e0208b87566f4470f1d.js +1 -0
  21. package/assets/esri/core/workers/chunks/{981f05b5ef6f9c3f7e8a.js → 0fc0fd7618ef25dd6b67.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{f1e1666bede364c069fc.js → 15c180deb8d09127ad31.js} +1 -1
  23. package/assets/esri/core/workers/chunks/1616ee2f6dce0203f1d5.js +1 -0
  24. package/assets/esri/core/workers/chunks/21bb414cb0623ffad577.js +1 -0
  25. package/assets/esri/core/workers/chunks/21c84e014c73bd85f4a3.js +1 -0
  26. package/assets/esri/core/workers/chunks/262677294d8c653e2b0b.js +1 -0
  27. package/assets/esri/core/workers/chunks/{5139bbe8f94df01467c7.js → 28a6a59033baa44bafab.js} +1 -1
  28. package/assets/esri/core/workers/chunks/{c5d56b85d34026507902.js → 28c273f34ffde25cebc6.js} +1 -1
  29. package/assets/esri/core/workers/chunks/{b7e40118b4d645e9f8e1.js → 2a12026f1ca9e8900a8b.js} +1 -1
  30. package/assets/esri/core/workers/chunks/2bc9f407f89d554a43ce.js +1 -0
  31. package/assets/esri/core/workers/chunks/2f21c5ae4fbe85c2792b.js +1 -0
  32. package/assets/esri/core/workers/chunks/3332ee9727874953523c.js +1 -0
  33. package/assets/esri/core/workers/chunks/{c477b0ce55211339c4cb.js → 33f44cc192c72064b5b6.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{1cf27708d17a4de75b68.js → 3672125daca3df24c8ab.js} +1 -1
  35. package/assets/esri/core/workers/chunks/37a607f3835ec6f60834.js +1 -0
  36. package/assets/esri/core/workers/chunks/{3ebd4cdafa7682062447.js → 39dd80c184ac48f877f1.js} +1 -1
  37. package/assets/esri/core/workers/chunks/3a3adf9b6502ad698aea.js +1 -0
  38. package/assets/esri/core/workers/chunks/3b5f24bb824c95996308.js +1 -0
  39. package/assets/esri/core/workers/chunks/{4a857a7f5e00dfab2b44.js → 3c663035cf872b66cb98.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{32b09ca094377a305881.js → 3d924488471601a17915.js} +1 -1
  41. package/assets/esri/core/workers/chunks/{743165f9bc4d85748a0d.js → 42b56932340b6d0bc712.js} +1 -1
  42. package/assets/esri/core/workers/chunks/4de93e9f91fd891ed96f.js +1 -0
  43. package/assets/esri/core/workers/chunks/4eb02a03956d1c9c77ee.js +1 -0
  44. package/assets/esri/core/workers/chunks/{15132d36e7ccbb3c009e.js → 555a252bdb87e340bd02.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{5d791bfca20791d8e0af.js → 5670e430584f020a3530.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{70df4331ed29d823bf38.js → 5b297353b058323f8080.js} +1 -1
  47. package/assets/esri/core/workers/chunks/5ef5dcca7c9b376f7f77.js +1 -0
  48. package/assets/esri/core/workers/chunks/{c12c095937b21e39ad3c.js → 614c63dae0158da0ed3d.js} +1 -1
  49. package/assets/esri/core/workers/chunks/{8f3abaabc61858e929a5.js → 641450da2680ae09b8e7.js} +1 -1
  50. package/assets/esri/core/workers/chunks/{8b575ac55bc396c0c477.js → 687677acc05b5e87effe.js} +1 -1
  51. package/assets/esri/core/workers/chunks/{1aee859eaffa54ef2515.js → 727321c615f35d708d46.js} +1 -1
  52. package/assets/esri/core/workers/chunks/782c24211daacb47b0b2.js +1 -0
  53. package/assets/esri/core/workers/chunks/79067e7d1ebc46afd775.js +1 -0
  54. package/assets/esri/core/workers/chunks/7a454e4d6df3360e0ab9.js +1 -0
  55. package/assets/esri/core/workers/chunks/7da56ba34c81d2bbaf25.js +1 -0
  56. package/assets/esri/core/workers/chunks/{d8b72c6f5f9b2d013b7f.js → 824b45b04b4f4f91dbce.js} +1 -1
  57. package/assets/esri/core/workers/chunks/836d10ceb93ed19f0aa6.js +1 -0
  58. package/assets/esri/core/workers/chunks/{68d0bae1816061d96307.js → 837d39e70880e4310bda.js} +1 -1
  59. package/assets/esri/core/workers/chunks/8bcb2180ecc88a39b317.js +1 -0
  60. package/assets/esri/core/workers/chunks/{e95f90d59041640727da.js → 8c5d827cbf8869defb87.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{7449af8f3637c1694660.js → 97155c8ac832d7c46f24.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{fbf21fda283836e8633c.js → 98cb131b62e30aee35e1.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{e067bbf12f711fd5b9a6.js → 9b3b9df0aa0fdcc77aa2.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{5852d291ef41201030d5.js → 9fa1512baa6e95d3f878.js} +21 -21
  65. package/assets/esri/core/workers/chunks/{96616126aaf319cd1c6f.js → a5ed35f53769feb751db.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{b6530c66804bede649d7.js → aa09e261d1f7dffaad8c.js} +1 -1
  67. package/assets/esri/core/workers/chunks/b268b4cbf5b0c856f88e.js +1 -0
  68. package/assets/esri/core/workers/chunks/b2f6cee006788ce3bd16.js +1 -0
  69. package/assets/esri/core/workers/chunks/{198ae9e02366870d3ec8.js → b46e772e415e2cfca896.js} +1 -1
  70. package/assets/esri/core/workers/chunks/{cee29c3a94376f6740d7.js → b4ab715a3c506e122f35.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{b5ca894a6cb1a19676d5.js → b9756dce0b3af1a9dc54.js} +1 -1
  72. package/assets/esri/core/workers/chunks/baa7e90ec5259057d86b.js +1 -0
  73. package/assets/esri/core/workers/chunks/{52ae2073604deef63ea2.js → c083045d21636b95f26f.js} +1 -1
  74. package/assets/esri/core/workers/chunks/{5a0c5271304189a2401d.js → c38098f7073a10efdb1e.js} +1 -1
  75. package/assets/esri/core/workers/chunks/{adecd31fd64d6753682d.js → c7c865dc1a93e781a3e3.js} +1 -1
  76. package/assets/esri/core/workers/chunks/c8e56dc1239118ac2a60.js +1 -0
  77. package/assets/esri/core/workers/chunks/{e7e508258ad27468a6a5.js → cc6d9b2062b9de629111.js} +1 -1
  78. package/assets/esri/core/workers/chunks/d5386c0e77063c87fddd.js +1 -0
  79. package/assets/esri/core/workers/chunks/d782671235af2db1c458.js +1 -0
  80. package/assets/esri/core/workers/chunks/de33ce9b6f4e6c0e1389.js +1 -0
  81. package/assets/esri/core/workers/chunks/{0abb084b8a137f4fcdfc.js → e1c5773c12d9947bdc5f.js} +1 -1
  82. package/assets/esri/core/workers/chunks/e55ce8466aa979ac1e6b.js +1 -0
  83. package/assets/esri/core/workers/chunks/{21739c37160061f229ef.js → e585883d0036aa866420.js} +1 -1
  84. package/assets/esri/core/workers/chunks/e6d6d664fc9f2cd6a042.js +1 -0
  85. package/assets/esri/core/workers/chunks/e7cdc2a21104d84aec4a.js +1 -0
  86. package/assets/esri/core/workers/chunks/e9edf3987039def65859.js +1 -0
  87. package/assets/esri/core/workers/chunks/{3b434f318fdbbe4111e3.js → edbe52c2848486d64b16.js} +1 -1
  88. package/assets/esri/core/workers/chunks/{4f8895eb57ec6ab4b318.js → f5a61fa75ac877b5bb74.js} +1 -1
  89. package/assets/esri/core/workers/chunks/f9bc4edfdb1590be2d92.js +1 -0
  90. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  91. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  92. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  93. package/assets/esri/themes/base/widgets/_FeatureTable.scss +9 -1
  94. package/assets/esri/themes/dark/main.css +1 -1
  95. package/assets/esri/themes/light/main.css +1 -1
  96. package/assets/esri/themes/light/view.css +1 -1
  97. package/chunks/bundle.js +1 -1
  98. package/chunks/libtess-f32.js +1 -1
  99. package/chunks/libtess-f64.js +1 -1
  100. package/config.js +1 -1
  101. package/copyright.txt +84 -0
  102. package/core/Promise.d.ts +1 -1
  103. package/core/quantity.js +1 -1
  104. package/core/quantityFormatUtils.js +1 -1
  105. package/core/units.d.ts +1 -1
  106. package/core/units.js +1 -1
  107. package/core/workers/WorkerHandle.js +1 -1
  108. package/editing/Clipboard.js +5 -0
  109. package/geometry/ellipsoidUtils.js +1 -1
  110. package/geometry/libtess.js +1 -1
  111. package/geometry/projection/projectors.js +1 -1
  112. package/geometry/projectionUtils.js +1 -1
  113. package/geometry/support/meshUtils/projection.js +1 -1
  114. package/geometry/support/meshUtils/vertexSpaceConversion.js +1 -1
  115. package/geometry/support/planetGCSUtils.js +1 -1
  116. package/geometry/support/spatialReferenceUtils.js +1 -1
  117. package/identity/IdentityModal.js +1 -1
  118. package/kernel.js +1 -1
  119. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  120. package/layers/mixins/ArcGISImageService.d.ts +30 -16
  121. package/layers/mixins/ImageryTileMixin.d.ts +2 -1
  122. package/layers/mixins/ImageryTileMixin.js +1 -1
  123. package/layers/orientedImagery/transformations/utils.js +1 -1
  124. package/layers/raster/functions/SpectralConversionFunction.js +5 -0
  125. package/layers/raster/functions/SpectralConversionFunctionArguments.js +5 -0
  126. package/layers/raster/functions/conversionUtils.js +1 -1
  127. package/layers/raster/functions/rasterFunctionHelper.js +1 -1
  128. package/layers/raster/functions/vectorFieldUtils.js +1 -1
  129. package/layers/support/rasterFunctionUtils.d.ts +0 -4
  130. package/package.json +1 -1
  131. package/rest/imageService.d.ts +36 -19
  132. package/rest/imageService.js +1 -1
  133. package/smartMapping/raster/support/adapters/ImageryLayerAdapter.js +1 -1
  134. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  135. package/support/revision.js +1 -1
  136. package/views/2d/engine/imagery/RasterVFContainer.js +1 -1
  137. package/views/2d/engine/imagery/RasterVFDisplayObject.js +1 -1
  138. package/views/2d/engine/imagery/RasterVFTileContainer.js +1 -1
  139. package/views/2d/engine/rasterBrushes.js +1 -1
  140. package/views/2d/engine/webgl/shaderGraph/techniques/raster/VectorFieldTechnique.js +5 -0
  141. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/AspectTechnique.js +1 -1
  142. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/BandArithmeticTechnique.js +1 -1
  143. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ColormapToRGBTechnique.js +1 -1
  144. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/CompositeBandTechnique.js +1 -1
  145. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ComputeChangeTechnique.js +1 -1
  146. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ContrastBrightnessTechnique.js +1 -1
  147. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ConvolutionTechnique.js +1 -1
  148. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/CurvatureTechnique.js +1 -1
  149. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ExtractBandTechnique.js +1 -1
  150. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/FocalStatisticsTechnique.js +1 -1
  151. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/GrayscaleTechnique.js +1 -1
  152. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/HillshadeTechnique.js +1 -1
  153. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/LocalTechnique.js +1 -1
  154. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/MaskTechnique.js +1 -1
  155. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/NDVITechnique.js +1 -1
  156. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/RemapTechnique.js +1 -1
  157. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ReprojectTechnique.js +1 -1
  158. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/ShadedReliefTechnique.js +1 -1
  159. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/SlopeTechnique.js +1 -1
  160. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/StretchTechnique.js +1 -1
  161. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/MagDirShader.js +5 -0
  162. package/views/2d/engine/webgl/shaderGraph/techniques/shaders/raster/ScalarShader.js +5 -0
  163. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  164. package/views/2d/layers/MediaLayerView2D.js +1 -1
  165. package/views/2d/layers/TileLayerView2D.js +1 -1
  166. package/views/2d/layers/imagery/ImageryVFStrategy.js +1 -1
  167. package/views/2d/layers/imagery/VectorFieldTileView2D.js +1 -1
  168. package/views/3d/analysis/AreaMeasurement/support/AreaMeasurementVisualization.js +1 -1
  169. package/views/3d/analysis/AreaMeasurement/support/MeasurementData.js +1 -1
  170. package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
  171. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  172. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementRawResult.js +5 -0
  173. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementResult.d.ts +5 -1
  174. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementResult.js +1 -1
  175. package/views/3d/analysis/VolumeMeasurementAnalysisView3D.js +1 -1
  176. package/views/3d/environment/EnvironmentManager.js +1 -1
  177. package/views/3d/layers/FlowSubView3D.js +1 -1
  178. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  179. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  180. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  181. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  182. package/views/3d/layers/graphics/emissiveUtils.js +5 -0
  183. package/views/3d/layers/support/layerUtils.js +1 -1
  184. package/views/3d/support/mathUtils.js +1 -1
  185. package/views/3d/support/pointsOfInterest/StableSurfaceCenter.js +1 -1
  186. package/views/3d/support/supportedSpatialReference.js +1 -1
  187. package/views/3d/terrain/terrainUtils.js +1 -1
  188. package/views/3d/webgl-engine/core/shaderLibrary/util/EllipsoidMode.js +1 -1
  189. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  190. package/views/3d/webgl-engine/shaders/AnimatedLine.glsl.js +31 -23
  191. package/views/VideoView.js +1 -1
  192. package/views/input/ViewEvents.js +1 -1
  193. package/views/input/recognizers/VerticalTwoFingerDrag.js +1 -1
  194. package/views/input/types.d.ts +94 -0
  195. package/views/interactive/tooltip/components/DrawHeaderActions.js +1 -1
  196. package/views/support/MeasurementWorker.js +1 -1
  197. package/views/support/MeasurementWorkerHandle.js +1 -1
  198. package/views/support/measurementUtils.js +1 -1
  199. package/views/support/screenUtils.js +1 -1
  200. package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
  201. package/widgets/AreaMeasurement2D.d.ts +1 -0
  202. package/widgets/AreaMeasurement2D.js +1 -1
  203. package/widgets/BasemapLayerList.d.ts +1 -0
  204. package/widgets/BasemapLayerList.js +1 -1
  205. package/widgets/CatalogLayerList.d.ts +1 -0
  206. package/widgets/CatalogLayerList.js +1 -1
  207. package/widgets/Directions.d.ts +1 -0
  208. package/widgets/Directions.js +1 -1
  209. package/widgets/DistanceMeasurement2D.d.ts +1 -0
  210. package/widgets/DistanceMeasurement2D.js +1 -1
  211. package/widgets/Editor.d.ts +1 -0
  212. package/widgets/Editor.js +1 -1
  213. package/widgets/FeatureForm.d.ts +1 -0
  214. package/widgets/FeatureForm.js +1 -1
  215. package/widgets/FeatureTable.d.ts +1 -0
  216. package/widgets/FeatureTable.js +1 -1
  217. package/widgets/FloorFilter.d.ts +1 -0
  218. package/widgets/FloorFilter.js +1 -1
  219. package/widgets/LayerList.d.ts +1 -0
  220. package/widgets/LayerList.js +1 -1
  221. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  222. package/widgets/OrientedImageryViewer/adapters/sketch/DataCaptureAdapter.js +1 -1
  223. package/widgets/OrientedImageryViewer/adapters/sketch/TriangulatedMeasurementAdapter.js +1 -1
  224. package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
  225. package/widgets/OrientedImageryViewer/adapters/view/SceneViewAdapter.js +1 -1
  226. package/widgets/OrientedImageryViewer/components/ImageOverlays.js +1 -1
  227. package/widgets/OrientedImageryViewer/components/OverlayLayersListViewModel.js +1 -1
  228. package/widgets/OrientedImageryViewer/services/TransformationService.js +5 -0
  229. package/widgets/OrientedImageryViewer/support/dataCaptureUtils.js +5 -0
  230. package/widgets/OrientedImageryViewer/support/geometryUtils.js +5 -0
  231. package/widgets/OrientedImageryViewer/support/typeUtils.js +5 -0
  232. package/widgets/ScaleRangeSlider.d.ts +1 -0
  233. package/widgets/ScaleRangeSlider.js +1 -1
  234. package/widgets/Sketch.d.ts +1 -0
  235. package/widgets/Sketch.js +1 -1
  236. package/widgets/TableList.d.ts +1 -0
  237. package/widgets/TableList.js +1 -1
  238. package/widgets/TimeSlider.d.ts +1 -0
  239. package/widgets/TimeSlider.js +1 -1
  240. package/widgets/UtilityNetworkAssociations.d.ts +1 -0
  241. package/widgets/UtilityNetworkAssociations.js +1 -1
  242. package/widgets/UtilityNetworkTrace.d.ts +1 -0
  243. package/widgets/UtilityNetworkTrace.js +1 -1
  244. package/widgets/UtilityNetworkValidateTopology.d.ts +1 -0
  245. package/widgets/UtilityNetworkValidateTopology.js +1 -1
  246. package/widgets/ValuePicker.d.ts +1 -0
  247. package/widgets/ValuePicker.js +1 -1
  248. package/assets/esri/core/workers/chunks/00e135dc1b4cb024973d.js +0 -1
  249. package/assets/esri/core/workers/chunks/03d037f9f04f165aac63.js +0 -1
  250. package/assets/esri/core/workers/chunks/03da31c7635d077e8d99.js +0 -1
  251. package/assets/esri/core/workers/chunks/0dcf1f3b6aa84cbe03a9.js +0 -1
  252. package/assets/esri/core/workers/chunks/185c97bc63ce546995ce.js +0 -1
  253. package/assets/esri/core/workers/chunks/1a62c456e791c82050fe.js +0 -1
  254. package/assets/esri/core/workers/chunks/21163137e345badb1aaf.js +0 -1
  255. package/assets/esri/core/workers/chunks/25dead73dfc5a4c19285.js +0 -1
  256. package/assets/esri/core/workers/chunks/2767b69085c9f7a1e1af.js +0 -1
  257. package/assets/esri/core/workers/chunks/43e9eaedf65921b58eb2.js +0 -1
  258. package/assets/esri/core/workers/chunks/4caec60ac0a5851730c6.js +0 -1
  259. package/assets/esri/core/workers/chunks/5119e3159617b8e1ea13.js +0 -1
  260. package/assets/esri/core/workers/chunks/59d3f3fbae775fd7686e.js +0 -1
  261. package/assets/esri/core/workers/chunks/5a706eecd8a988fae6b7.js +0 -1
  262. package/assets/esri/core/workers/chunks/5ba2bbbb42ef1920579d.js +0 -1
  263. package/assets/esri/core/workers/chunks/5cc731f161012b63c77a.js +0 -1
  264. package/assets/esri/core/workers/chunks/5fa8fe6353dbdda0b06a.js +0 -1
  265. package/assets/esri/core/workers/chunks/6107b58457a70c8de9da.js +0 -1
  266. package/assets/esri/core/workers/chunks/654eef3ad30f34c42e12.js +0 -1
  267. package/assets/esri/core/workers/chunks/6d9e92d9c2503d5dc8dd.js +0 -1
  268. package/assets/esri/core/workers/chunks/7130b09300032d3a5925.js +0 -1
  269. package/assets/esri/core/workers/chunks/7f7c4ffbdf7b20dc7a54.js +0 -1
  270. package/assets/esri/core/workers/chunks/804c9666d0dc548b9f79.js +0 -1
  271. package/assets/esri/core/workers/chunks/8258b1c8ba6d44ba19c3.js +0 -1
  272. package/assets/esri/core/workers/chunks/8f2fc50eb988c0228b05.js +0 -1
  273. package/assets/esri/core/workers/chunks/97ad3eb25ad003c16148.js +0 -1
  274. package/assets/esri/core/workers/chunks/a270e34bb248114ec280.js +0 -1
  275. package/assets/esri/core/workers/chunks/a56a5e00964d4cd59a66.js +0 -1
  276. package/assets/esri/core/workers/chunks/a774b4fc7df801503bea.js +0 -1
  277. package/assets/esri/core/workers/chunks/b1015e1f25b60c08d2cf.js +0 -1
  278. package/assets/esri/core/workers/chunks/c18a2948ae3cb527d8bb.js +0 -1
  279. package/assets/esri/core/workers/chunks/d4f4c0201d8b641709c0.js +0 -1
  280. package/assets/esri/core/workers/chunks/d6d9d56b3733622deab6.js +0 -1
  281. package/assets/esri/core/workers/chunks/dedd9d47ccc019ffc484.js +0 -1
  282. package/assets/esri/core/workers/chunks/e271065410ba5c872f53.js +0 -1
  283. package/assets/esri/core/workers/chunks/e8a0654cebafa22b5b56.js +0 -1
  284. package/assets/esri/core/workers/chunks/ecf7d34b37ce6f0877af.js +0 -1
  285. package/assets/esri/core/workers/chunks/f25eb512592a84a508c1.js +0 -1
  286. package/assets/esri/core/workers/chunks/f64ec13167eb51da2f9b.js +0 -1
  287. package/views/2d/engine/imagery/BrushVectorField.js +0 -5
  288. package/views/3d/analysis/AreaMeasurement/support/utils.js +0 -5
  289. package/views/3d/analysis/VolumeMeasurement/volumeMeasurementUtils.js +0 -5
  290. package/widgets/OrientedImageryViewer/dataCaptureUtils.js +0 -5
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6460],{4197(e,t,r){r.d(t,{Vj:()=>u,cj:()=>l,jh:()=>s,l5:()=>a,xm:()=>o});var i=r(34275),n=r(9093);function s(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,n.vt)();for(let r=0;r<16;++r)t[r]=e[r];return t}},8631(e,t,r){r.d(t,{r:()=>p,g:()=>h});var i,n=r(53177),s=r(76357),o=r(31635),a=r(91429),l=r(93223);let u=class extends s.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 c=r(41628);const h={key:"type",base:s.A,typeMap:{range:c.A,"coded-value":n.A,inherited:u}};function p(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return n.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 n(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:()=>n,vt:()=>i,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:n,create:i,fromValues:function(e,t,r,i,n,s,o,a,l,u,c,h,p,d,y,f){return[e,t,r,i,n,s,o,a,l,u,c,h,p,d,y,f]}},Symbol.toStringTag,{value:"Module"}))},20437(e,t,r){r.d(t,{A:()=>y});var i,n=r(31635),s=r(66552),o=r(25482),a=r(91429),l=r(56507),u=r(8631),c=r(98453),h=r(36005),p=r(93223);const d=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 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,n.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"alias",void 0),(0,n.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],y.prototype,"defaultValue",void 0),(0,n.Cg)([(0,a.MZ)()],y.prototype,"description",void 0),(0,n.Cg)([(0,h.w)("description")],y.prototype,"readDescription",null),(0,n.Cg)([(0,a.MZ)({types:u.g,json:{read:{reader:u.r},write:!0}})],y.prototype,"domain",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"editable",void 0),(0,n.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],y.prototype,"length",void 0),(0,n.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,n.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"nullable",void 0),(0,n.Cg)([(0,p.e)(c.m)],y.prototype,"type",void 0),(0,n.Cg)([(0,a.MZ)()],y.prototype,"valueType",void 0),(0,n.Cg)([(0,h.w)("valueType",["description"])],y.prototype,"readValueType",null),(0,n.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],y.prototype,"visible",void 0),y=i=(0,n.Cg)([(0,a.$K)("esri.layers.support.Field")],y)},21276(e,t,r){r.d(t,{H:()=>s,f:()=>n});var i=r(49186);function n(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 s(e){e.forEach(n)}},28735(e,t,r){r.d(t,{Cv:()=>g,Gh:()=>b,ci:()=>w,je:()=>m,jg:()=>h,tD:()=>_,y7:()=>f,yw:()=>c});var i=r(4718),n=r(21276),s=r(16930),o=r(79258),a=r(21325);function l(e){return 57.29577951308232*e}function u(e){return.017453292519943*e}function c(e){return e/o.$O.radius}function h(e){return Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))}function p(e){return null!=e.wkid||null!=e.wkt}const d=[0,0];function y(e,t,r,i,n){const s=e,o=n;if(o.spatialReference=r,"x"in s&&"x"in o)[o.x,o.y]=t(s.x,s.y,d,i);else if("xmin"in s&&"xmin"in o)[o.xmin,o.ymin]=t(s.xmin,s.ymin,d,i),[o.xmax,o.ymax]=t(s.xmax,s.ymax,d,i);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 n;for(let s=0;s<e.length;s++){const o=e[s];n=[],r.push(n);for(let e=0;e<o.length;e++)n.push(t(o[e][0],o[e][1],[0,0],i)),o[e].length>2&&n[e].push(o[e][2]),o[e].length>3&&n[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 n=0;n<e.length;n++)r[n]=t(e[n][0],e[n][1],[0,0],i),e[n].length>2&&r[n].push(e[n][2]),e[n].length>3&&r[n].push(e[n][3]);o.points=r}return n}function f(e,t){const r=e&&(p(e)?e:e.spatialReference),i=t&&(p(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 g(e,t){if(null==e)return null;const r=e.spatialReference,n=t&&(p(t)?t:t.spatialReference);return f(r,n)?(0,a.aI)(r,n)?(0,i.o8)(e):(0,a.K8)(n)?y(e,m,s.A.WebMercator,!1,(0,i.o8)(e)):(0,a.oT)(n)?y(e,_,s.A.WGS84,!1,(0,i.o8)(e)):null:null}function m(e,t,r=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const i=u(t);return r[0]=u(e)*o.$O.radius,r[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(i))/(1-Math.sin(i))),r}function _(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=l(e/o.$O.radius);r[0]=i?t:t-360*Math.floor((t+180)/360)}return r[1]=l(Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))),r}function b(e,t=!1,r=(0,i.o8)(e)){return(0,n.f)(e),(0,n.f)(r),y(e,m,s.A.WebMercator,t,r)}function w(e,t=!1,r=(0,i.o8)(e)){return(0,n.f)(e),(0,n.f)(r),y(e,_,s.A.WGS84,t,r)}},31635(e,t,r){function i(e,t,r,i){var n,s=arguments.length,o=s<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--)(n=e[a])&&(o=(s<3?n(o):s>3?n(t,r,o):n(t,r))||o);return s>3&&o&&Object.defineProperty(t,r,o),o}function n(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var i,n;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&&(n=i)}if("function"!=typeof i)throw new TypeError("Object not disposable.");n&&(i=function(){try{n.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:()=>n}),Object.create,Object.create;var s="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 s(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,i=0;return function n(){for(;r=e.stack.pop();)try{if(!r.async&&1===i)return i=0,e.stack.push(r),Promise.resolve().then(n);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return i|=2,Promise.resolve(s).then(n,function(e){return t(e),n()})}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:()=>n,Ov:()=>s,ct:()=>u});let i=1e-6;function n(){return i}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)<=i*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:n,setEpsilon:function(e){i=e},toDegree:u,toRadian:l},Symbol.toStringTag,{value:"Module"}))},39078(e,t,r){r.r(t),r.d(t,{default:()=>b});var i=r(24326),n=r(16930),s=r(62815),o=(r(70328),r(19419),r(50498),r(20437));r(44208),r(34727),r(21325);class a{constructor(e,t,r){this.uid=e,this.geometry=t,this.attributes=r,this.visible=!0,this.objectId=null,this.centroid=null}}class l{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 u=r(90708);function c(e,t){return t}function h(e,t,r,i){switch(r){case 0:return f(e,t+i,0);case 1:return"lowerLeft"===e.originPosition?f(e,t+i,1):function({translate:e,scale:t},r,i){return e[i]-r*t[i]}(e,t+i,1)}}function p(e,t,r,i){return 2===r?f(e,t,2):h(e,t,r,i)}function d(e,t,r,i){return 2===r?f(e,t,3):h(e,t,r,i)}function y(e,t,r,i){return 3===r?f(e,t,3):p(e,t,r,i)}function f({translate:e,scale:t},r,i){return e[i]+r*t[i]}class g{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 l}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,s.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(o.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 n in e){if(!t.has(n))continue;const s=e[n];"string"==typeof s&&s.length>r&&(i(n),e[n]="")}})(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,n=r.justXY();this._transform&&(0,u.aQ)(n,this._transform);const s=(0,u.zv)(n,i,!1,!1);switch(i){case"esriGeometryPoint":s.type="point";break;case"esriGeometryPolygon":s.type="polygon";break;case"esriGeometryPolyline":s.type="polyline";break;case"esriGeometryMultipoint":s.type="multipoint"}e.queryGeometryType=i,e.queryGeometry=s}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:e.geometryType}}createFeature(){return this._lengths.length=0,this._currentLengthIndex=0,this._previousCoordinate[0]=0,this._previousCoordinate[1]=0,new a((0,i.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),n=e[e.length-1],s=this._coordinateBuffer;if(s){if(0===r){const e=this._coordinateBufferPtr*Float64Array.BYTES_PER_ELEMENT;n.push(new Float64Array(s.buffer,e,this._vertexDimension))}s[this._coordinateBufferPtr++]=i}}_deriveApplyTransform(e){const{hasZ:t,hasM:r}=e;return t&&r?y:t?p:r?d:h}}var m=r(66208);class _{_parseFeatureQuery(e){const t=new g(e.options),r=(0,m.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 b(){return new _}},39357(e,t,r){r.d(t,{A:()=>a});var i,n=r(31635),s=r(25482),o=r(91429);let a=i=class extends s.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new i({name:this.name,code:this.code})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=i=(0,n.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},41628(e,t,r){r.d(t,{A:()=>l});var i,n=r(31635),s=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,n.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,n.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,n.Cg)([(0,a.e)({range:"range"})],l.prototype,"type",void 0),l=i=(0,n.Cg)([(0,s.$K)("esri.layers.support.RangeDomain")],l)},48526(e,t,r){r.d(t,{A:()=>y});var i,n=r(31635),s=r(4718),o=r(91429),a=r(5443),l=r(91075),u=r(86738),c=r(16930),h=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:n}=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 n??=c.A.WGS84,{...e,hasM:r,hasZ:i,points:t,spatialReference:n}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,h.ge)(this);return e?new a.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,s.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:r,hasZ:n}=this;return new i({points:(0,s.o8)(e),spatialReference:t.clone(),hasM:r,hasZ:n})}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,n.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,n.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,n.Cg)([(0,o.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,n.Cg)([(0,d.K)("points")],y.prototype,"writePoints",null),y=i=(0,n.Cg)([(0,o.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},50498(e,t,r){r.d(t,{Ye:()=>h,gy:()=>c,iI:()=>d,yR:()=>p});var i=r(66552),n=r(5443),s=r(91075),o=r(48526),a=r(86738),l=r(39829),u=r(82799);const c=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),h=(0,i.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),p={base:s.A,key:"type",typeMap:{extent:n.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),n=r(69397),s=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,n.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 n=this.getMessage(),s=e(n,t,r,i);return n.release(),s}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 n=1;for(;t!==this._end&&(i=e[t],128&i);)++t,r+=(127&i)*n,n*=128;if(t===this._end)throw new Error("Varint overrun!");++t,r+=i*n}return this._pos=t,r}_decodeSVarint(){const e=this._data;let t,r=0,i=0;const n=1&e[this._pos];if(i=e[this._pos++],r|=127&i,!(128&i))return n?-(r+1)/2:r/2;if(i=e[this._pos++],r|=(127&i)<<7,!(128&i))return n?-(r+1)/2:r/2;if(i=e[this._pos++],r|=(127&i)<<14,!(128&i))return n?-(r+1)/2:r/2;if(i=e[this._pos++],r|=(127&i)<<21,!(128&i))return n?-(r+1)/2:r/2;if(i=e[this._pos++],r+=268435456*(127&i),!(128&i))return n?-(r+1)/2:r/2;if(i=e[this._pos++],r+=34359738368*(127&i),!(128&i))return n?-(r+1)/2:r/2;if(i=e[this._pos++],r+=4398046511104*(127&i),!(128&i))return n?-(r+1)/2:r/2;if(t=BigInt(r),i=e[this._pos++],t+=0x2000000000000n*BigInt(127&i),!(128&i))return Number(n?-(t+1n)/2n:t/2n);if(i=e[this._pos++],t+=0x100000000000000n*BigInt(127&i),!(128&i))return Number(n?-(t+1n)/2n:t/2n);if(i=e[this._pos++],t+=0x8000000000000000n*BigInt(127&i),!(128&i))return Number(n?-(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="",n="";for(let s=t;s<r;++s){const t=e[s];128&t?n+="%"+t.toString(16):(i+=decodeURIComponent(n)+String.fromCharCode(t),n="")}return n.length&&(i+=decodeURIComponent(n)),i}_toBytes(e,t,r){return r=Math.min(this._end,r),new Uint8Array(e.buffer,t,r-t)}static{this.pool=new s.A(()=>new u(null,null),void 0,e=>{e._data=null,e._dataView=null})}}},53177(e,t,r){r.d(t,{A:()=>c});var i,n=r(31635),s=r(4718),o=r(91429),a=r(39357),l=r(76357),u=r(93223);let c=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,s.o8)(this.codedValues),name:this.name})}};(0,n.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,n.Cg)([(0,u.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=i=(0,n.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},53655(e,t,r){r.d(t,{SH:()=>I,ae:()=>x,cn:()=>_});var i=r(49186),n=r(51624),s=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 c(e){return e>=a.length?null:a[e]}function h(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(),n=t.createPointGeometry(r);for(;i.next();)switch(i.tag()){case 3:{const e=i.getUInt32(),r=i.pos()+e;let s=0;for(;i.pos()<r;)t.addCoordinatePoint(n,i.getSInt64(),s++);break}default:i.skip()}return n}function f(e,t,r){const i=e.asUnsafe(),n=t.createGeometry(r),s=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 s=0;for(;i.pos()<r;)t.addLength(n,i.getUInt32(),s++);break}case 3:{const e=i.getUInt32(),r=i.pos()+e;let o=0;for(t.allocateCoordinates(n);i.pos()<r;)t.addCoordinate(n,i.getSInt64(),o),o++,o===s&&(o=0);break}default:i.skip()}return n}function g(e){const t=e.asUnsafe(),r=new s.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:c(0)};for(;t.next();)switch(t.tag()){case 1:r.name=t.getString();break;case 2:r.type=c(t.getEnum());break;case 3:r.alias=t.getString();break;case 4:r.sqlType=h(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 n=t.createFeature(r);let s=0;for(;e.next();)switch(e.tag()){case 1:{const t=i[s++].name;n.attributes[t]=e.processMessage(m);break}case 2:n.geometry=e.processMessageWithArgs(f,t,r);break;case 4:n.centroid=e.processMessageWithArgs(y,t,r);break;default:e.skip()}return n}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 C(e,t){const r=t.createFeatureResult(),i=e.asUnsafe();r.geometryType=d(t,0);let n=!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:n||(t.prepareFeatures(r),n=!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 A(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(C,t);break;default:e.skip()}return null!=i&&r.featureResult&&t.addQueryGeometry(r,i),r}function I(e,t){try{const r=2,i=new n.A(new Uint8Array(e),new DataView(e)),s={};for(;i.next();)i.tag()===r?s.queryResult=i.processMessageWithArgs(A,t):i.skip();return s}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 n(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:()=>n})},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 n(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":i(e)?"esriGeometryEnvelope":n(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function h(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>n,W0:()=>h,ZC:()=>i,fT:()=>s,uW:()=>l})},62815(e,t,r){r.d(t,{N:()=>o});var i=r(86211),n=r(73941),s=r(21325);function o(e,t,r){if(null==t||null==r||r.vcsWkid||(0,s.aI)(t,r)||(0,n.xP)(t)||(0,n.xP)(r))return;const o=(0,i.G9)(t)/(0,i.G9)(r);if(1!==o)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,o);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}(e,o);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}(e,o);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,o);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,o);default:return}}},66208(e,t,r){r.d(t,{m:()=>n});var i=r(53655);function n(e,t){const r=(0,i.SH)(e,t),n=r.queryResult.featureResult,s=r.queryResult.queryGeometry,o=r.queryResult.queryGeometryType;if(n&&n.features&&n.features.length&&n.objectIdFieldName){const e=n.objectIdFieldName;for(const t of n.features)t.attributes&&(t.objectId=t.attributes[e])}return n&&(n.queryGeometry=s,n.queryGeometryType=o),n}},69418(e,t,r){r.d(t,{S:()=>u,z:()=>l});var i=r(86211),n=r(21325),s=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,n.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,s.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 s.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:()=>h,Ej:()=>d,Ie:()=>m,Jt:()=>_,Ne:()=>y,RF:()=>c,aI:()=>v,fA:()=>o,gE:()=>l,hZ:()=>g,iT:()=>p,is:()=>w,qv:()=>M,vI:()=>f,vY:()=>a,v_:()=>x,vt:()=>s,w1:()=>u});var i=r(5443),n=(r(19419),r(4197));function s(e=x){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,r,i,n,o,a=s()){return a[0]=e,a[1]=t,a[2]=r,a[3]=i,a[4]=n,a[5]=o,a}function a(e,t=s()){return function(e,t,r,i=s()){return g(i,M),function(e,t,r=0,i=t.length/3){let n=e[0],s=e[1],o=e[2],a=e[3],l=e[4],u=e[5];for(let e=0;e<i;e++)n=Math.min(n,t[r+3*e]),s=Math.min(s,t[r+3*e+1]),o=Math.min(o,t[r+3*e+2]),a=Math.max(a,t[r+3*e]),l=Math.max(l,t[r+3*e+1]),u=Math.max(u,t[r+3*e+2]);e[0]=n,e[1]=s,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,n.jh)(24)){const[r,i,s,o,a,l]=e;return t[0]=r,t[1]=i,t[2]=s,t[3]=r,t[4]=i,t[5]=l,t[6]=r,t[7]=a,t[8]=s,t[9]=r,t[10]=a,t[11]=l,t[12]=o,t[13]=i,t[14]=s,t[15]=o,t[16]=i,t[17]=l,t[18]=o,t[19]=a,t[20]=s,t[21]=o,t[22]=a,t[23]=l,t}function u(e,t){const r=isFinite(e[2])||isFinite(e[5]);return new 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 c(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function h(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):s(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,n){return e[0]=t,e[1]=r,e[2]=Number.NEGATIVE_INFINITY,e[3]=i,e[4]=n,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];s()},76357(e,t,r){r.d(t,{A:()=>u});var i=r(31635),n=r(66552),s=r(25482),o=r(91429),a=r(93223);const l=new n.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,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)},86738(e,t,r){r.d(t,{A:()=>b});var i=r(31635),n=r(69622),s=r(53966),o=r(91429),a=r(56507),l=r(91075),u=r(16930),c=r(21325),h=r(28735);function p({x:e,y:t,spatialReference:r},i=[0,0]){if(r){if((0,c.K8)(r))return(0,h.tD)(e,t,i);if((0,c.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",n.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,n){let o;if(Array.isArray(e))o=e,n=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,(n=o.spatialReference)&&"esri.geometry.SpatialReference"!==n.declaredClass&&(n=new u.A(n)),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&&n?.isWebMercator){const r=(0,h.je)(o.longitude,o.latitude,m);e=r[0],t=r[1]}}else _(r)?(n=r,r=null):_(i)&&(n=i,i=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!=n&&(a.spatialReference=n),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,h.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,h.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:n,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,h.je)(l,u),c=s;else{if(!s.isWGS84||!c.isWebMercator)return!1;[l,u]=(0,h.tD)(l,u),c=s}return t===l&&r===u&&i===o&&n===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,i]=e.valid,n=2*i;let s;return t>i?(s=Math.ceil(Math.abs(t-i)/n),t-=s*n):t<r&&(s=Math.ceil(Math.abs(t-r)/n),t+=s*n),this._set("x",t),this}distance(e){return function(e,t){const r=e.x-t.x,i=e.y-t.y,n=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(r*r+i*i+n*n)}(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),n=r(25482),s=r(91429),o=r(16930),a=r(36005);let l=class extends n.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,s.MZ)()],l.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,i.Cg)([(0,s.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasM",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasZ",void 0),(0,i.Cg)([(0,s.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,s.$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"})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3367],{2272(e,t,n){n.d(t,{Dl:()=>u,gf:()=>f,jV:()=>a,lF:()=>c});var r=n(92602),i=n(70333),s=n(4718),o=n(84952),l=n(926);function a(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,s.o8)(e)}function c(e,t,n){const r={};for(const i in e){if("declaredClass"===i)continue;const s=e[i];if(null!=s&&"function"!=typeof s)if(Array.isArray(s))r[i]=s.map(e=>c(e));else if("object"==typeof s)if(s.toJSON){const e=s.toJSON(n?.[i]);r[i]=t?e:JSON.stringify(e)}else r[i]=t?s:JSON.stringify(s);else r[i]=s}return r}async function f(e,t,s){const o=function(e,t){return e?t&&(0,l.Qc)(e)?t:(0,l.CG)(e)??i.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!i.id&&r.A.request.useIdentity&&await Promise.all([n.e(7330),n.e(168),n.e(148)]).then(n.bind(n,50148));const a=await i.id.getCredential(e,s);return a?.token}},3367(e,t,n){n.d(t,{A:()=>A,B:()=>v,P:()=>g,g:()=>b,r:()=>T});var r=n(48938),i=n(66395),s=n(85935),o=n(78878),l=n(49186),a=n(53966),u=n(91869),c=n(20655),f=n(45475),d=n(67090),p=n(62791),y=n(14942),h=n(54218);class g{constructor(e,t){this.portal=e,this._debugLog=t}async translate(e){this.portal.loaded||await this.portal.load();const t=this.portal.helperServices?.aiUtilityServices;if(null==t)return{success:!1};const n=t.url+t.translateUtility;try{return e.requestSource??="arcade",{success:!0,results:(await(0,f.T)(n,e,{authMode:"no-prompt"})).map(e=>e.toJSON())}}catch(e){return null!=this._debugLog&&(e instanceof Error||e instanceof l.A)&&this._debugLog(`TranslateText error: ${e.message}`),a.A.getLogger("esri.arcade.functions.aiServices").error(e),{success:!1}}}}class m{constructor(e,t,n){this._parameters=e,this._maxTotalContentSize=t,this._maxContentsLength=n,this._requests=[],this._normalizedContents=new Map,this._contentsTotalSize=0}tryAdd(e){const t=new Set(e.filter(e=>!this._normalizedContents.has(e.text)).map(e=>e.text));if(this._requests.length+t.size>this._maxContentsLength)return null;let n=0;for(const e of t)n+=e.length;if((n+this._contentsTotalSize)*(this._parameters.to.length??1)>this._maxTotalContentSize)return null;const r=this._requests.length;for(const{key:t,text:n}of e)(0,u.tE)(this._normalizedContents,n,()=>[]).push({batchIdx:r,key:t});return this._requests.push(e),this._contentsTotalSize+=n,r}async send(e){const t=[],n=[];let r=0;for(const[e,i]of this._normalizedContents)t.push(new d.A({key:String(r++),text:e})),n.push(i);const i=new p.A(this._parameters);i.contents=t;const s=await e.translate(i);if(!s.success)return Array.from(this._requests,()=>s);const o=Array.from(this._requests,()=>({success:!0,results:[]}));for(const e of s.results){const t=Number(e.key);for(const r of n[t])o[r.batchIdx].results.push({...e,key:r.key})}return o}}function b(e){const t=[...new Set(e.to)].sort(),n=e.from??null,r=e.portalUrl,i=e.translator,s=e.apiKey??null;return JSON.stringify([t,n,r,i,s])}async function S(e,t,n){try{return(await e.yieldFor(n))[t]}catch{return{success:!1}}}class v{constructor(e,t,{maxTotalContentSize:n=5e4,maxContentsLength:r=1e3}={}){this._executor=e,this._service=t,this._openBatches=new Map,this._maxTotalContentSize=n,this._maxContentsLength=r}create(e){return{translate:async t=>{const n=b(t),{contents:r,to:i,from:s,translator:o,portalUrl:l,apiKey:a}=t;if(null==i)return{success:!1};if(null==r||r.every(e=>0===e.text.length))return{success:!1};const u=this._openBatches.get(n);if(null!=u){const t=u.data.tryAdd(r);if(null!=t)return await S(e,t,u);u.send()}const c=new m({to:i,from:s,translator:o,portalUrl:l,apiKey:a},this._maxTotalContentSize,this._maxContentsLength),f=c.tryAdd(r);if(null!=f){const t=this._executor.openBatch(c,{open:e=>{this._openBatches.set(n,e)},execute:e=>e.send(this._service),close:e=>{this._openBatches.get(n)===e&&this._openBatches.delete(n)}});return await S(e,f,t)}return await this._service.translate(t)}}}}function T(e){"async"===e.mode&&(e.functions[(0,r.X)("TranslateText")]=function(t,n){return e.standardFunctionAsync(t,n,async(e,t,n)=>{if((0,o.B)(n,2,3,e,t),!(0,h.Kg)(n[0])&&!(0,h.cy)(n[0])&&!(0,o.j)(n[0]))throw new s.D$(e,"InvalidParameter",t);const r=(0,o.N)(n[0]);if(!(0,h.Kg)(n[1])&&!(0,h.cy)(n[1])&&!(0,o.j)(n[1]))throw new s.D$(e,"InvalidParameter",t);const l=(0,o.N)(n[1]);let a=null;if(n.length>=3){if(!(0,h.Kg)(n[2]))throw new s.D$(e,"InvalidParameter",t);a=n[2]}const u=r.map((e,t)=>new d.A({key:String(t),text:e})),f=e.services?.portal??c.A.getDefault(),m=new p.A({to:l,contents:u,from:a,portalUrl:f.restUrl.replace(/\/sharing\/rest$/,"")}),S=new Map;let v=null;if(null!=e.lrucache){const t=e.lrucache;v??=b(m),m.contents=m.contents?.filter(e=>{const n=t.getCachedTranslation(v,e.text);return null==n||(S.set(e.key,{...n,key:e.key,text:e.text}),!1)})}if(m.contents?.length){const t=e.services?.translation??new g(f,e.console),n=await t.translate(m);if(!n.success)return new i.A({__proto__:null,success:!1});for(const t of n.results){const n=m.contents?.find(e=>e.key===t.key)?.text;if(null==n)throw new s.D$(null,"NeverReach",null);S.set(t.key,t),null!=e.lrucache&&(v??=b(m),e.lrucache.setCachedTranslation(v,n,{detectedLanguage:t.detectedLanguage,translation:t.translation}))}}const T=Array.from(u,t=>{const n=y.A.fromJSON(S.get(t.key));if(null==n)throw new s.D$(null,"NeverReach",null);return n.text=t.text,i.A.convertJsonToArcade(n.toJSON(),e.timeZone??"system",!0)});return new i.A({__proto__:null,success:!0,results:T})})})}const A=Object.freeze(Object.defineProperty({__proto__:null,BatchTranslationServiceFactory:v,PortalTranslationService:g,getTranslateParametersKey:b,registerFunctions:T},Symbol.toStringTag,{value:"Module"}))},6800(e,t,n){n.d(t,{G:()=>a,y:()=>o});var r=n(99719),i=n(78878),s=n(54218);function o(e){l=e}let l;function a(e){return null===e?null:(0,i.e)(e)?e.clone():(0,i.d)(e)?e:(0,i.h)(e)?e.clone():(0,i.j)(e)?e.toArray().map(e=>a(e)):(0,s.cy)(e)?e.map(e=>a(e)):(0,i.k)(e)?l.createFromArcadeFeature(e):(0,i.l)(e)||(0,i.m)(e)?e:(0,i.n)(e)||"esri.arcade.Attachment"===e?.declaredClass?e.deepClone():("esri.arcade.Portal"===e?.declaredClass||(0,i.o)(e)||e instanceof r.x||(0,i.i)(e),e)}},7320(e,t,n){n.d(t,{A:()=>s});var r=n(93818),i=n(86738);class s extends r.A{constructor(e,t,n,r,i,s){super(e),this._lazyPt=[],this._hasZ=!1,this._hasM=!1,this._spRef=t,this._hasZ=n,this._hasM=r,this._cacheId=i,this._partId=s}get(e){if(void 0===this._lazyPt[e]){const t=this._elements[e];if(void 0===t)return;const n=new i.A(t[0],t[1],this._spRef);this._hasZ&&(n.z=t[2]),this._hasM&&(n.m=this._hasZ?t[3]:t[2]),n.cache._arcadeCacheId=this._cacheId.toString()+"-"+this._partId.toString()+"-"+e.toString(),this._lazyPt[e]=n}return this._lazyPt[e]}equalityTest(e){return e===this||null!==e&&e instanceof s!=0&&e.getUniqueHash()===this.getUniqueHash()}getUniqueHash(){return this._cacheId.toString()+"-"+this._partId.toString()}}},7335(e,t,n){n.d(t,{A:()=>s});var r=n(93818),i=n(7320);class s extends r.A{constructor(e,t,n,r,i){super(e),this._lazyPath=[],this._hasZ=!1,this._hasM=!1,this._hasZ=n,this._hasM=r,this._spRef=t,this._cacheId=i}get(e){if(void 0===this._lazyPath[e]){const t=this._elements[e];if(void 0===t)return;this._lazyPath[e]=new i.A(t,this._spRef,this._hasZ,this._hasM,this._cacheId,e)}return this._lazyPath[e]}equalityTest(e){return e===this||null!==e&&e instanceof s!=0&&e.getUniqueHash()===this.getUniqueHash()}getUniqueHash(){return this._cacheId.toString()}}},8631(e,t,n){n.d(t,{r:()=>d,g:()=>f});var r,i=n(53177),s=n(76357),o=n(31635),l=n(91429),a=n(93223);let u=class extends s.A{static{r=this}constructor(e){super(e),this.type="inherited"}clone(){return new r}};(0,o.Cg)([(0,a.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=r=(0,o.Cg)([(0,l.$K)("esri.layers.support.InheritedDomain")],u);var c=n(41628);const f={key:"type",base:s.A,typeMap:{range:c.A,"coded-value":i.A,inherited:u}};function d(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}},14607(e,t,n){n.d(t,{B:()=>u,GP:()=>l,qg:()=>c});var r=n(799),i=n(73444);const s={ar:[".",","],bg:[","," "],bs:[",","."],ca:[",","."],cs:[","," "],da:[",","."],de:[",","."],"de-ch":[".","’"],el:[",","."],en:[".",","],"en-au":[".",","],es:[",","."],"es-mx":[".",","],et:[","," "],fi:[","," "],fr:[","," "],"fr-ch":[","," "],he:[".",","],hi:[".",",","#,##,##0.###"],hr:[",","."],hu:[","," "],id:[",","."],it:[",","."],"it-ch":[".","’"],ja:[".",","],ko:[".",","],lt:[","," "],lv:[","," "],mk:[",","."],nb:[","," "],nl:[",","."],no:[","," "],pl:[","," "],pt:[",","."],"pt-pt":[","," "],ro:[",","."],ru:[","," "],sk:[","," "],sl:[",","."],sr:[",","."],sv:[","," "],th:[".",","],tr:[",","."],uk:[","," "],vi:[",","."],zh:[".",","]};function o(e=(0,i.JK)()){let t=(e=e.toLowerCase())in s;if(!t){const n=e.split("-");n.length>1&&n[0]in s&&(e=n[0],t=!0),t||(e="en")}const[n,r,o="#,##0.###"]=s[e];return{decimal:n,group:r,pattern:o}}function l(e,t){const n=o((t={...t}).locale);t.customs=n;const r=t.pattern||n.pattern;return isNaN(e)||Math.abs(e)===1/0?null:function(e,t,n){const r=(n=n||{}).customs.group,i=n.customs.decimal,s=t.split(";"),o=s[0];if((t=s[e<0?1:0]||"-"+o).includes("%"))e*=100;else if(t.includes("‰"))e*=1e3;else{if(t.includes("¤"))throw new Error("currency notation not supported");if(t.includes("E"))throw new Error("exponential notation not supported")}const l=a,u=o.match(l);if(!u)throw new Error("unable to find a number expression in pattern: "+t);return!1===n.fractional&&(n.places=0),t.replace(l,function(e,t,n){!0===(n=n||{}).places&&(n.places=0),n.places===1/0&&(n.places=6);const r=t.split("."),i="string"==typeof n.places&&n.places.indexOf(",");let s=n.places;i?s=n.places.slice(i+1):+s>=0||(s=(r[1]||[]).length),n.round<0||(e=Number(e.toFixed(Number(s))));const o=String(Math.abs(e)).split("."),l=o[1]||"";if(r[1]||n.places){i&&(n.places=n.places.slice(0,Math.max(0,i)));const e=void 0!==n.places?n.places:r[1]&&r[1].lastIndexOf("0")+1;+e>l.length&&(o[1]=l.padEnd(Number(e),"0")),+s<l.length&&(o[1]=l.slice(0,Math.max(0,Number(s))))}else o[1]&&o.pop();const a=r[0].replace(",","");let u=a.indexOf("0");-1!==u&&(u=a.length-u,u>o[0].length&&(o[0]=o[0].padStart(u,"0")),a.includes("#")||(o[0]=o[0].slice(-u)));let c,f,d=r[0].lastIndexOf(",");if(-1!==d){c=r[0].length-d-1;const e=r[0].slice(0,d);d=e.lastIndexOf(","),-1!==d&&(f=e.length-d-1)}const p=[];for(let e=o[0];e;){const t=e.length-c;p.push(t>0?e.slice(Math.max(0,t)):e),e=t>0?e.slice(0,t):"",f&&(c=f,f=void 0)}return o[0]=p.reverse().join(n.group||","),o.join(n.decimal||".")}(e,u[0],{decimal:i,group:r,places:n.places,round:n.round}))}(e,r,t)}const a=/[#0,]*[#0](?:\.0*#*)?/;function u(e){const t=o((e=e||{}).locale),n=e.pattern||t.pattern,i=t.group,s=t.decimal;let l=1;if(n.includes("%"))l/=100;else if(n.includes("‰"))l/=1e3;else if(n.includes("¤"))throw new Error("currency notation not supported");const u=n.split(";");1===u.length&&u.push("-"+u[0]);const c=d(u,t=>(t="(?:"+(0,r.Cj)(t,".")+")").replace(a,t=>{const n={signed:!1,separator:e.strict?i:[i,""],fractional:e.fractional,decimal:s,exponent:!1},r=t.split(".");let o=e.places;1===r.length&&1!==l&&(r[1]="###"),1===r.length||0===o?n.fractional=!1:(void 0===o&&(o=e.pattern?r[1].lastIndexOf("0")+1:1/0),o&&null==e.fractional&&(n.fractional=!0),!e.places&&+o<r[1].length&&(o+=","+r[1].length),n.places=o);const a=r[0].split(",");return a.length>1&&(n.groupSize=a.pop().length,a.length>1&&(n.groupSize2=a.pop().length)),"("+function(e){"places"in(e=e||{})||(e.places=1/0),"string"!=typeof e.decimal&&(e.decimal="."),"fractional"in e&&!String(e.places).startsWith("0")||(e.fractional=[!0,!1]),"exponent"in e||(e.exponent=[!0,!1]),"eSigned"in e||(e.eSigned=[!0,!1]);const t=f(e),n=d(e.fractional,t=>{let n="";return t&&0!==e.places&&(n="\\"+e.decimal,e.places===1/0?n="(?:"+n+"\\d+)?":n+="\\d{"+e.places+"}"),n},!0);let r=t+n;return n&&(r="(?:(?:"+r+")|(?:"+n+"))"),r+d(e.exponent,t=>t?"([eE]"+f({signed:e.eSigned})+")":"")}(n)+")"}),!0);return{regexp:c.replaceAll(/[\xa0 ]/g,"[\\s\\xa0]"),group:i,decimal:s,factor:l}}function c(e,t){const n=u(t),r=new RegExp("^"+n.regexp+"$").exec(e);if(!r)return NaN;let i=r[1];if(!r[1]){if(!r[2])return NaN;i=r[2],n.factor*=-1}return i=i.replaceAll(new RegExp("["+n.group+"\\s\\xa0]","g"),"").replace(n.decimal,"."),Number(i)*n.factor}function f(e){return"signed"in(e=e||{})||(e.signed=[!0,!1]),"separator"in e?"groupSize"in e||(e.groupSize=3):e.separator="",d(e.signed,e=>e?"[-+]":"",!0)+d(e.separator,t=>{if(!t)return"(?:\\d+)";" "===(t=(0,r.Cj)(t))?t="\\s":" "===t&&(t="\\s\\xa0");const n=e.groupSize,i=e.groupSize2;if(i){const e="(?:0|[1-9]\\d{0,"+(i-1)+"}(?:["+t+"]\\d{"+i+"})*["+t+"]\\d{"+n+"})";return n-i>0?"(?:"+e+"|(?:0|[1-9]\\d{0,"+(n-1)+"}))":e}return"(?:0|[1-9]\\d{0,"+(n-1)+"}(?:["+t+"]\\d{"+n+"})*)"},!0)}const d=(e,t,n)=>{if(!Array.isArray(e))return t(e);const r=[];for(let n=0;n<e.length;n++)r.push(t(e[n]));return p(r.join("|"),Boolean(n))},p=(e,t)=>"("+(t?"?:":"")+e+")"},14942(e,t,n){n.d(t,{A:()=>l});var r=n(31635),i=n(25482),s=n(10107),o=n(64108);let l=class extends i.o{constructor(e){super(e),this.text=null,this.detectedLanguage="en",this.detectedLanguageScore=-1}};(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],l.prototype,"key",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],l.prototype,"text",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{read:{source:"detectedLanguage.language"},write:{target:"detectedLanguage.language"}}})],l.prototype,"detectedLanguage",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{read:{source:"detectedLanguage.score"},write:{target:"detectedLanguage.score"}}})],l.prototype,"detectedLanguageScore",void 0),(0,r.Cg)([(0,s.MZ)({type:Object,json:{write:!0}})],l.prototype,"translation",void 0),l=(0,r.Cg)([(0,o.$)("esri.rest.support.TranslateResult")],l)},20437(e,t,n){n.d(t,{A:()=>y});var r,i=n(31635),s=n(66552),o=n(25482),l=n(91429),a=n(56507),u=n(8631),c=n(98453),f=n(36005),d=n(93223);const p=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 y=class extends o.o{static{r=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 n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?.value??null}readValueType(e,{description:t}){let n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?p.fromJSON(n.fieldValueType):null}clone(){return new r({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,l.MZ)({type:String,json:{write:!0}})],y.prototype,"alias",void 0),(0,i.Cg)([(0,l.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],y.prototype,"defaultValue",void 0),(0,i.Cg)([(0,l.MZ)()],y.prototype,"description",void 0),(0,i.Cg)([(0,f.w)("description")],y.prototype,"readDescription",null),(0,i.Cg)([(0,l.MZ)({types:u.g,json:{read:{reader:u.r},write:!0}})],y.prototype,"domain",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"editable",void 0),(0,i.Cg)([(0,l.MZ)({type:a.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],y.prototype,"length",void 0),(0,i.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"nullable",void 0),(0,i.Cg)([(0,d.e)(c.m)],y.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)()],y.prototype,"valueType",void 0),(0,i.Cg)([(0,f.w)("valueType",["description"])],y.prototype,"readValueType",null),(0,i.Cg)([(0,l.MZ)({type:Boolean,json:{read:!1}})],y.prototype,"visible",void 0),y=r=(0,i.Cg)([(0,l.$K)("esri.layers.support.Field")],y)},24097(e,t,n){n.d(t,{K:()=>r});const r={type:String,json:{read:{source:"token"},write:{target:"token"}}}},33325(e,t,n){n.d(t,{$P:()=>c,At:()=>b,JB:()=>v,Lk:()=>f,Qi:()=>S,eB:()=>T,eg:()=>y,f0:()=>p,gO:()=>h,ik:()=>g,ke:()=>a,nE:()=>u,rX:()=>d,yT:()=>m});var r=n(66131),i=n(44729),s=n(15032),o=n(20437),l=n(28097);function a(e){return o.A.fromJSON(e.toJSON())}function u(e){return e.toJSON?e.toJSON():e}function c(e){return e instanceof Date}function f(e){return e instanceof l.c9}function d(e){return e instanceof r.lY}function p(e){return e instanceof i.n}function y(e){return e instanceof s.k}const h=1e3,g={point:"point",polygon:"polygon",polyline:"polyline",multipoint:"multipoint",extent:"extent",esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint",esriGeometryEnvelope:"extent",envelope:"extent"},m={point:"esriGeometryPoint",polygon:"esriGeometryPolygon",polyline:"esriGeometryPolyline",multipoint:"esriGeometryMultipoint",extent:"esriGeometryEnvelope",esriGeometryPoint:"esriGeometryPoint",esriGeometryPolygon:"esriGeometryPolygon",esriGeometryPolyline:"esriGeometryPolyline",esriGeometryMultipoint:"esriGeometryMultipoint",esriGeometryEnvelope:"esriGeometryEnvelope",envelope:"esriGeometryEnvelope"},b={"small-integer":"esriFieldTypeSmallInteger",integer:"esriFieldTypeInteger",long:"esriFieldTypeLong",single:"esriFieldTypeSingle",double:"esriFieldTypeDouble",string:"esriFieldTypeString",date:"esriFieldTypeDate","date-only":"esriFieldTypeDateOnly","time-only":"esriFieldTypeTimeOnly","timestamp-offset":"esriFieldTypeTimestampOffset",oid:"esriFieldTypeOID",geometry:"esriFieldTypeGeometry",blob:"esriFieldTypeBlob",raster:"esriFieldTypeRaster",guid:"esriFieldTypeGUID","global-id":"esriFieldTypeGlobalID",xml:"esriFieldTypeXML","big-integer":"esriFieldTypeBigInteger",esriFieldTypeSmallInteger:"esriFieldTypeSmallInteger",esriFieldTypeInteger:"esriFieldTypeInteger",esriFieldTypeLong:"esriFieldTypeLong",esriFieldTypeSingle:"esriFieldTypeSingle",esriFieldTypeDouble:"esriFieldTypeDouble",esriFieldTypeString:"esriFieldTypeString",esriFieldTypeDate:"esriFieldTypeDate",esriFieldTypeDateOnly:"esriFieldTypeDateOnly",esriFieldTypeTimeOnly:"esriFieldTypeTimeOnly",esriFieldTypeTimestampOffset:"esriFieldTypeTimestampOffset",esriFieldTypeOID:"esriFieldTypeOID",esriFieldTypeGeometry:"esriFieldTypeGeometry",esriFieldTypeBlob:"esriFieldTypeBlob",esriFieldTypeRaster:"esriFieldTypeRaster",esriFieldTypeGUID:"esriFieldTypeGUID",esriFieldTypeGlobalID:"esriFieldTypeGlobalID",esriFieldTypeXML:"esriFieldTypeXML",esriFieldTypeBigInteger:"esriFieldTypeBigInteger"};function S(e){return void 0===e?"":e=(e=(e=e.replace(/\/featureserver\/[0-9]*/i,"/FeatureServer")).replace(/\/mapserver\/[0-9]*/i,"/MapServer")).split("?")[0]}function v(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const n="boolean"==typeof t.cycles&&t.cycles,r=t.cmp&&(i=t.cmp,function(e){return function(t,n){const r={key:t,value:e[t]},s={key:n,value:e[n]};return i(r,s)}});var i;const s=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(s.includes(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const l=s.push(t)-1,a=Object.keys(t).sort(r?.(t));for(o="",i=0;i<a.length;i++){const n=a[i],r=e(t[n]);r&&(o&&(o+=","),o+=JSON.stringify(n)+":"+r)}return s.splice(l,1),"{"+o+"}"}(e)}function T(e){switch(e.type){case"catalog-footprint":case"catalog":case"csv":case"feature":case"geojson":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}},39357(e,t,n){n.d(t,{A:()=>l});var r,i=n(31635),s=n(25482),o=n(91429);let l=r=class extends s.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],l.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],l.prototype,"code",void 0),l=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],l)},41628(e,t,n){n.d(t,{A:()=>a});var r,i=n(31635),s=n(91429),o=n(76357),l=n(93223);let a=class extends o.A{static{r=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new r({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,n){t[n]=[this.minValue||0,e]},isRequired:!0}}})],a.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,n){t[n]=[e,this.maxValue||0]},isRequired:!0}}})],a.prototype,"minValue",void 0),(0,i.Cg)([(0,l.e)({range:"range"})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,s.$K)("esri.layers.support.RangeDomain")],a)},45475(e,t,n){n.d(t,{T:()=>o});var r=n(11254),i=n(2272),s=n(14942);async function o(e,t,n){const o=t.toJSON();o.contents=JSON.stringify(o.contents),o.token=await(0,i.gf)(t.portalUrl,t.apiKey,{signal:n?.signal,prompt:"no-prompt"!==n?.authMode});const l=(0,i.Dl)(e),a=(0,i.jV)(l.query,{...n,query:o,method:"post",authMode:"anonymous"});return(await(0,r.A)(l.path,a)).data.results.map(e=>s.A.fromJSON(e))}},48526(e,t,n){n.d(t,{A:()=>y});var r,i=n(31635),s=n(4718),o=n(91429),l=n(5443),a=n(91075),u=n(86738),c=n(16930),f=n(90634),d=n(56993),p=n(43937);let y=r=class extends a.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:n,hasZ:r,spatialReference:i}=e;switch(t??=[],t?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return i??=c.A.WGS84,{...e,hasM:n,hasZ:r,points:t,spatialReference:i}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,f.ge)(this);return e?new l.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,s.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:n,hasZ:i}=this;return new r({points:(0,s.o8)(e),spatialReference:t.clone(),hasM:n,hasZ:i})}addPoint(e){return(0,d.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],n={x:t[0],y:t[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=t[2],r=3),this.hasM&&(n.m=t[r]),new u.A(n)}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,d.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})],y.prototype,"cache",null),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,i.Cg)([(0,o.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,i.Cg)([(0,p.K)("points")],y.prototype,"writePoints",null),y=r=(0,i.Cg)([(0,o.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},48938(e,t,n){n.d(t,{X:()=>i,_:()=>s});var r=n(85935);function i(e){if("string"==typeof e)return e.toLowerCase();if("name"in e)return e.name.toLowerCase();if("string"!=typeof e.value)throw new r.D$(null,"InvalidIdentifier",null);return e.value.toLowerCase()}const s=Object.freeze({aborted:!1})},53177(e,t,n){n.d(t,{A:()=>c});var r,i=n(31635),s=n(4718),o=n(91429),l=n(39357),a=n(76357),u=n(93223);let c=class extends a.A{static{r=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const n=String(e);this.codedValues.some(e=>(String(e.code)===n&&(t=e.name),!!t))}return t}clone(){return new r({codedValues:(0,s.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[l.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=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},60408(e,t,n){function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function s(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function l(e){return void 0!==e.rings||void 0!==e.curveRings}function a(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?s(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":l(e)?"esriGeometryPolygon":r(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 f(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>u,Bi:()=>l,Pv:()=>c,Rg:()=>o,U9:()=>i,W0:()=>f,ZC:()=>r,fT:()=>s,uW:()=>a})},62791(e,t,n){n.d(t,{A:()=>u});var r=n(31635),i=n(25482),s=n(10107),o=n(64108),l=n(24097),a=n(67090);let u=class extends i.o{constructor(e){super(e),this.to=null,this.contents=null,this.portalUrl="https://www.arcgis.com",this.translator="esri",this.from=null,this.apiKey=null,this.requestSource=null}};(0,r.Cg)([(0,s.MZ)({type:[String],json:{write:!0}})],u.prototype,"to",void 0),(0,r.Cg)([(0,s.MZ)({type:[a.A],json:{write:!0}})],u.prototype,"contents",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"portalUrl",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0,default:"esri"}})],u.prototype,"translator",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],u.prototype,"from",void 0),(0,r.Cg)([(0,s.MZ)(l.K)],u.prototype,"apiKey",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"x-esri-request-source"}})],u.prototype,"requestSource",void 0),u=(0,r.Cg)([(0,o.$)("esri.rest.support.TranslateParameters")],u)},65864(e,t,n){n.d(t,{rS:()=>c,xD:()=>d});var r=n(5443),i=n(91075),s=n(48526),o=n(86738),l=n(39829),a=n(82799),u=n(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)?a.A.fromJSON(e):(0,u.Bi)(e)?l.A.fromJSON(e):(0,u.U9)(e)?s.A.fromJSON(e):(0,u.ZC)(e)?r.A.fromJSON(e):null}const f={esriGeometryPoint:o.A,esriGeometryPolyline:a.A,esriGeometryPolygon:l.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:l.A};function d(e){return e&&f[e]||null}},66395(e,t,n){n.d(t,{A:()=>c});var r=n(66131),i=n(6800),s=n(85935),o=n(78878),l=n(91075),a=n(54218);function u(e,t,n=!1,r=!1){if(null==e)return null;if((0,a.Et)(e)||(0,a.Lm)(e)||(0,a.Kg)(e)||(0,o.e)(e)||(0,o.f)(e)||(0,o.g)(e))return e;if((0,a.cy)(e)){const i=[];for(const s of e)i.push(u(s,t,n,r));return i}if(r&&(0,o.h)(e))return e;const i=new c;i.immutable=!1;for(const[s,o]of Object.entries(e))void 0!==o&&i.setField(s,u(o,t,n,r));return i.immutable=n,i}class c{constructor(e){this.declaredClass="esri.arcade.Dictionary",this.plain=!1,this.immutable=!0,e instanceof c?this.attributes=e.attributes:null==e?this.attributes=Object.create(null):null!=Object.getPrototypeOf(e)?this.attributes={__proto__:null,...e}:this.attributes=e}static containerEntry(e,t){return new c({__proto__:null,key:e,value:t})}static textFormatting(){const e=new c({__proto__:null,newline:"\n",tab:"\t",singlequote:"'",doublequote:'"',forwardslash:"/",backwardslash:"\\"});return e.immutable=!1,e}field(e){const t=e.toLowerCase(),n=this.attributes[e];if(void 0!==n)return n;for(const e in this.attributes)if(e.toLowerCase()===t)return this.attributes[e];throw new s.D$(null,"FieldNotFound",null,{key:e})}setField(e,t){if(this.immutable)throw new s.D$(null,"Immutable",null);if((0,o.i)(t))throw new s.D$(null,"NoFunctionInDictionary",null);const n=e.toLowerCase();if(t instanceof Date&&(t=r.lY.dateJSToArcadeDate(t)),void 0===this.attributes[e]){for(const e in this.attributes)if(e.toLowerCase()===n)return void(this.attributes[e]=t);this.attributes[e]=t}else this.attributes[e]=t}eraseField(e){if(this.immutable)throw new s.D$(null,"Immutable",null);if(e in this.attributes)return void delete this.attributes[e];const t=e.toLowerCase();for(const e in this.attributes)if(e.toLowerCase()===t)return void delete this.attributes[e]}hasField(e){const t=e.toLowerCase();if(void 0!==this.attributes[e])return!0;for(const e in this.attributes)if(e.toLowerCase()===t)return!0;return!1}keys(){let e=[];for(const t in this.attributes)e.push(t);return e=e.sort(),e}values(){return this.keys().map(e=>this.attributes[e])}entryCount(){return Object.keys(this.attributes).length}isEmpty(){return this.entryCount()<=0}castToText(e=!1){return(0,o.c)(this.attributes,{useNumbersForDates:e})}static convertObjectToArcadeDictionary(e,t,n=!0,r=!1){const i=new c;i.immutable=!1;for(const s in e){const o=e[s];void 0!==o&&i.setField(s.toString(),u(o,t,n,r))}return i.immutable=n,i}static convertJsonToArcade(e,t,n=!1,r=!1){return u(e,t,n,r)}castAsJson(e=null){const t=Object.create(null);for(let n in this.attributes){const r=this.attributes[n];void 0!==r&&(e?.keyTranslate&&(n=e.keyTranslate(n)),t[n]=(0,o.a)(r,e))}return t}async castDictionaryValueAsJsonAsync(e,t,n,r=null,i){const s=await(0,o.b)(n,r,i);return e[t]=s,s}async castAsJsonAsync(e=null,t=null){const n=Object.create(null),i=[];for(let s in this.attributes){const a=this.attributes[s];t?.keyTranslate&&(s=t.keyTranslate(s)),void 0!==a&&((0,o.d)(a)||a instanceof l.A||a instanceof r.lY?n[s]=(0,o.a)(a,t):i.push(this.castDictionaryValueAsJsonAsync(n,s,a,e,t)))}return i.length>0&&await Promise.all(i),n}deepClone(){const e=new c;e.immutable=!1;for(const t of this.keys())e.setField(t,(0,i.G)(this.field(t)));return e}}},67090(e,t,n){n.d(t,{A:()=>l});var r=n(31635),i=n(25482),s=n(10107),o=n(64108);let l=class extends i.o{constructor(e){super(e)}};(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],l.prototype,"key",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],l.prototype,"text",void 0),l=(0,r.Cg)([(0,o.$)("esri.rest.support.TranslateContent")],l)},76357(e,t,n){n.d(t,{A:()=>u});var r=n(31635),i=n(66552),s=n(25482),o=n(91429),l=n(93223);const a=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,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,r.Cg)([(0,l.e)(a),(0,o.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,r.Cg)([(0,o.$K)("esri.layers.support.Domain")],u)},78878(e,t,n){n.d(t,{$:()=>k,A:()=>D,B:()=>ee,C:()=>Ne,D:()=>me,E:()=>xe,F:()=>Fe,G:()=>_e,H:()=>ge,I:()=>O,J:()=>j,K:()=>Ve,L:()=>te,M:()=>P,N:()=>Oe,O:()=>I,P:()=>he,Q:()=>se,R:()=>_,S:()=>ne,T:()=>Ie,U:()=>Ee,V:()=>Ge,W:()=>Ke,X:()=>Re,Y:()=>be,Z:()=>V,_:()=>K,a:()=>ke,a0:()=>ze,a1:()=>fe,a2:()=>je,a3:()=>Me,a4:()=>Te,a5:()=>Se,a6:()=>ve,b:()=>Pe,c:()=>ue,d:()=>L,e:()=>H,f:()=>X,g:()=>W,h:()=>G,i:()=>J,j:()=>U,k:()=>E,l:()=>Y,m:()=>z,n:()=>q,o:()=>B,p:()=>$e,q:()=>R,r:()=>ye,s:()=>ce,t:()=>de,u:()=>le,v:()=>Z,w:()=>ae,x:()=>De,y:()=>$,z:()=>M});var r=n(92602),i=n(70333),s=n(66131),o=n(99719),l=n(85935),a=n(92400),u=n(93818),c=n(7335),f=n(7320),d=n(33325),p=n(14607),y=n(44729),h=n(15032),g=n(5443),m=n(91075),b=n(48526),S=n(86738),v=n(39829),T=n(82799),A=n(16930),w=n(95108),N=n(65864),C=n(73444),x=n(54218),F=n(28097);class _{constructor(e){this.value=e}}class O{constructor(e){this.value=e}}const Z={type:"VOID"},M=Symbol("BREAK"),D=Symbol("CONTINUE");function k(e,t,n){return""===t||null==t||t===n||t===n?e:e=e.split(t).join(n)}function J(e){return e instanceof a.fF}function P(e){return e instanceof o.x}function L(e){return!!((0,x.Kg)(e)||(0,x.Et)(e)||H(e)||X(e)||W(e)||(0,x.Lm)(e)||null===e||e===Z)}function j(e,t){return void 0===e?t:e}function I(e){return null==e?"":(0,x.cy)(e)||U(e)?"Array":H(e)?"Date":W(e)?"Time":X(e)?"DateOnly":(0,x.Kg)(e)?"String":(0,x.Lm)(e)?"Boolean":(0,x.Et)(e)?"Number":"esri.arcade.Attachment"===e?.declaredClass?"Attachment":"esri.arcade.Portal"===e?.declaredClass?"Portal":"esri.arcade.Dictionary"===e?.declaredClass?"Dictionary":B(e)?"KnowledgeGraph":e instanceof o.x?"Module":E(e)?"Feature":e instanceof S.A?"Point":e instanceof v.A?"Polygon":e instanceof T.A?"Polyline":e instanceof b.A?"Multipoint":e instanceof g.A?"Extent":J(e)?"Function":z(e)?"FeatureSet":Y(e)?"FeatureSetCollection":V(e)?"Voxel":K(e)?"Pixel":e===Z?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function R(e){return e===Z}function G(e){return e instanceof m.A}function E(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function V(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function K(e){return"esri.arcade.Pixel"===e?.arcadeDeclaredClass}function z(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function q(e){return"esri.arcade.Dictionary"===e?.declaredClass}function $(e){return q(e)||E(e)||V(e)||K(e)}function Y(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function B(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function U(e){return e instanceof u.A}function H(e){return e instanceof s.lY}function X(e){return e instanceof y.n}function W(e){return e instanceof h.k}function Q(e){return null!=e&&"object"==typeof e}function ee(e,t,n,r,i){if(e.length<t||e.length>n)throw new l.D$(r,"WrongNumberOfParameters",i)}function te(e){return null==e||R(e)||""===e}function ne(e){return e<0?-Math.round(-e):Math.round(e)}function re(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=k(t,"‰",""),t=k(t,"¤",""),(0,p.GP)(e,{pattern:t}))}function ie(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(se(t),{locale:(0,C.JK)(),numberingSystem:"latn"})}function se(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let n="";const r=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(r)||[])switch(i){case"D":n+="d";break;case"DD":n+="dd";break;case"DDD":n+="o";break;case"d":n+="c";break;case"ddd":n+="ccc";break;case"dddd":n+="cccc";break;case"M":n+="L";break;case"MM":n+="LL";break;case"MMM":n+="LLL";break;case"MMMM":n+="LLLL";break;case"YY":n+="yy";break;case"Y":case"YYYY":n+="yyyy";break;case"Q":n+="q";break;case"Z":n+="Z";break;case"ZZ":n+="ZZ";break;case"ZZZ":n+="ZZZ";break;case"ZZZZ":n+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":n+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":n+="'S'";break;case"SS":n+="'SS'";break;case"SSS":n+="u";break;case"A":case"a":n+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":n+=i;break;default:i.length>=2&&i.startsWith("[")&&i.endsWith("]")?n+=`'${i.slice(1,-1)}'`:n+=`'${i}'`}return n}function oe(e,t,n){switch(n){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function le(e,t,n){if(null===e){if(null===t||t===Z)return oe(null,null,n);if((0,x.Et)(t))return oe(0,t,n);if((0,x.Kg)(t))return oe(0,ye(t),n);if((0,x.Lm)(t))return oe(0,ye(t),n);if(H(t))return oe(0,t.toNumber(),n);if(W(t))return oe(e,t.toNumber(),n);if(X(t))return oe(e,t.toNumber(),n)}if(e===Z){if(null===t||t===Z)return oe(null,null,n);if((0,x.Et)(t))return oe(0,t,n);if((0,x.Kg)(t))return oe(0,ye(t),n);if((0,x.Lm)(t))return oe(0,ye(t),n);if(H(t))return oe(0,t.toNumber(),n);if(W(t))return oe(e,t.toNumber(),n);if(X(t))return oe(e,t.toNumber(),n)}else if((0,x.Et)(e)){if((0,x.Et)(t))return oe(e,t,n);if((0,x.Lm)(t))return oe(e,ye(t),n);if(null===t||t===Z)return oe(e,0,n);if((0,x.Kg)(t))return oe(e,ye(t),n);if(H(t))return oe(e,t.toNumber(),n);if(W(t))return oe(e,t.toNumber(),n);if(X(t))return oe(e,t.toNumber(),n)}else if((0,x.Kg)(e)){if((0,x.Kg)(t))return oe(ce(e),ce(t),n);if(H(t))return oe(ye(e),t.toNumber(),n);if(W(t))return oe(ye(e),t.toNumber(),n);if(X(t))return oe(ye(e),t.toNumber(),n);if((0,x.Et)(t))return oe(ye(e),t,n);if(null===t||t===Z)return oe(ye(e),0,n);if((0,x.Lm)(t))return oe(ye(e),ye(t),n)}else if(H(e)){if(H(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=s.lY.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=s.lY.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),oe(e.toNumber(),t.toNumber(),n);if(null===t||t===Z)return oe(e.toNumber(),0,n);if((0,x.Et)(t))return oe(e.toNumber(),t,n);if((0,x.Lm)(t))return oe(e.toNumber(),ye(t),n);if((0,x.Kg)(t))return oe(e.toNumber(),ye(t),n);if(W(t))throw new l.D$(null,"CannotCompareDateAndTime",null);if(X(t))return oe(e.toNumber(),t.toNumber(),n)}else if((0,x.Lm)(e)){if((0,x.Lm)(t))return oe(e,t,n);if((0,x.Et)(t))return oe(ye(e),ye(t),n);if(H(t))return oe(ye(e),t.toNumber(),n);if(W(t))return oe(ye(e),t.toNumber(),n);if(X(t))return oe(ye(e),t.toNumber(),n);if(null===t||t===Z)return oe(ye(e),0,n);if((0,x.Kg)(t))return oe(ye(e),ye(t),n)}else if(X(e)){if(H(t))return oe(e.toNumber(),t.toNumber(),n);if(null===t||t===Z)return oe(e.toNumber(),0,n);if((0,x.Et)(t))return oe(e.toNumber(),t,n);if((0,x.Lm)(t))return oe(e.toNumber(),ye(t),n);if((0,x.Kg)(t))return oe(e.toNumber(),ye(t),n);if(W(t))throw new l.D$(null,"CannotCompareDateAndTime",null);if(X(t))return oe(e.toNumber(),t.toNumber(),n)}else if(W(e)){if(H(t))throw new l.D$(null,"CannotCompareDateAndTime",null);if(null===t||t===Z)return oe(e.toNumber(),0,n);if((0,x.Et)(t))return oe(e.toNumber(),t,n);if((0,x.Lm)(t))return oe(e.toNumber(),ye(t),n);if((0,x.Kg)(t))return oe(e.toNumber(),ye(t),n);if(W(t))return oe(e.toNumber(),t.toNumber(),n);if(X(t))throw new l.D$(null,"CannotCompareDateAndTime",null)}return!!ae(e,t)&&("<="===n||">="===n)}function ae(e,t){if(e===t)return!0;if(null===e&&t===Z||null===t&&e===Z)return!0;if(H(e)&&H(t))return e.equals(t);if(W(e)&&W(t))return e.equals(t);if(X(e)&&X(t))return e.equals(t);if(e instanceof c.A)return e.equalityTest(t);if(e instanceof f.A)return e.equalityTest(t);if(e instanceof S.A&&t instanceof S.A){const n=e.cache._arcadeCacheId,r=t.cache._arcadeCacheId;if(null!=n)return n===r}if(Q(e)&&Q(t)){if(e._arcadeCacheId===t._arcadeCacheId&&void 0!==e._arcadeCacheId&&null!==e._arcadeCacheId)return!0;if(e._underlyingGraphic===t._underlyingGraphic&&void 0!==e._underlyingGraphic&&null!==e._underlyingGraphic)return!0}return!1}function ue(e,{useNumbersForDates:t}){let n="";for(const r in e){""!==n&&(n+=",");const i=e[r];null==i?n+=JSON.stringify(r)+":null":(0,x.Lm)(i)||(0,x.Et)(i)||(0,x.Kg)(i)?n+=JSON.stringify(r)+":"+JSON.stringify(i):G(i)?n+=JSON.stringify(r)+":"+de(i):W(i)||X(i)?n+=`${JSON.stringify(r)}:${JSON.stringify(i.toString())}`:U(i)||Array.isArray(i)?n+=JSON.stringify(r)+":"+de(i,null,t):H(i)?n+=t?JSON.stringify(r)+":"+JSON.stringify(i.getTime()):JSON.stringify(r)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(n+=JSON.stringify(r)+":"+i.castToText(t))}return"{"+n+"}"}function ce(e,t){if((0,x.Kg)(e))return e;if(null===e)return"";if((0,x.Et)(e))return re(e,t);if((0,x.Lm)(e))return e.toString();if(H(e))return ie(e,t);if(W(e))return e.toFormat(t);if(X(e))return e.toFormat(t);if(e instanceof m.A)return JSON.stringify(e.toJSON());if((0,x.cy)(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=pe(e[n]);return"["+t.join(",")+"]"}if(e instanceof u.A){const t=[];for(let n=0;n<e.length();n++)t[n]=pe(e.get(n));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():J(e)?"object, Function":e===Z?"":P(e)?"object, Module":""}function fe(e){const t=[];if(e instanceof u.A){for(let n=0;n<e.length();n++)t[n]=ye(e.get(n));return t}if(!(0,x.cy)(e))return null;for(let n=0;n<e.length;n++)t[n]=ye(e[n]);return t}function de(e,t,n=!1){if((0,x.Kg)(e))return e;if(null===e)return"";if((0,x.Et)(e))return re(e,t);if((0,x.Lm)(e))return e.toString();if(H(e))return ie(e,t);if(W(e))return e.toFormat(t);if(X(e))return e.toFormat(t);if(e instanceof m.A)return e instanceof g.A?'{"xmin":'+e.xmin.toString()+',"ymin":'+e.ymin.toString()+","+(e.hasZ?'"zmin":'+e.zmin.toString()+",":"")+(e.hasM?'"mmin":'+e.mmin.toString()+",":"")+'"xmax":'+e.xmax.toString()+',"ymax":'+e.ymax.toString()+","+(e.hasZ?'"zmax":'+e.zmax.toString()+",":"")+(e.hasM?'"mmax":'+e.mmax.toString()+",":"")+'"spatialReference":'+we(e.spatialReference)+"}":we(e.toJSON(),(e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0);if((0,x.cy)(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=pe(e[r],n);return"["+t.join(",")+"]"}if(e instanceof u.A){const t=[];for(let r=0;r<e.length();r++)t[r]=pe(e.get(r),n);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(n):J(e)?"object, Function":e===Z?"":P(e)?"object, Module":""}function pe(e,t=!1){if(null===e)return"null";if((0,x.Lm)(e)||(0,x.Kg)(e))return JSON.stringify(e);if((0,x.Et)(e))return e.toString();if(e instanceof m.A)return de(e,null,t);if(e instanceof u.A)return de(e,null,t);if(Array.isArray(e))return de(e,null,t);if(H(e))return t?JSON.stringify(e.getTime()):JSON.stringify(ie(e,""));if(W(e))return JSON.stringify(e.toString());if(X(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===Z)return"null";return"null"}function ye(e,t){return(0,x.Et)(e)?e:null===e||""===e?0:H(e)||X(e)||W(e)?NaN:(0,x.Lm)(e)?e?1:0:(0,x.cy)(e)||""===e||void 0===e?NaN:void 0!==t&&(0,x.Kg)(e)?(t=k(t,"‰",""),t=k(t,"¤",""),(0,p.qg)(e,{pattern:t})):e===Z?0:Number(e)}function he(e,t){if(H(e))return e;if((0,x.Kg)(e)){const n=function(e,t){const n=/ (\d\d)/,r=(0,s.mT)(t);let i=F.c9.fromISO(e,{zone:r});return i.isValid||n.test(e)&&(e=e.replace(n,"T$1"),i=F.c9.fromISO(e,{zone:t}),i.isValid)?i:null}(e,t);if(n)return s.lY.dateTimeToArcadeDate(n)}return null}function ge(e){return(0,x.Lm)(e)?e:(0,x.Kg)(e)?"true"===(e=e.toLowerCase()):!!(0,x.Et)(e)&&0!==e&&!isNaN(e)}function me(e,t){return null==e?null:(null!==e.spatialReference&&void 0!==e.spatialReference||(e.spatialReference=t),e)}function be(e){if(null===e)return null;if(e instanceof S.A)return"NaN"===e.x||null===e.x||isNaN(e.x)?null:e;if(e instanceof v.A){if(0===(e.curveRings??e.rings).length)return null;for(const t of e.curveRings??e.rings)if(t.length>0)return e;return null}if(e instanceof T.A){if(0===(e.curvePaths??e.paths).length)return null;for(const t of e.curvePaths??e.paths)if(t.length>0)return e;return null}return e instanceof b.A?0===e.points.length?null:e:e instanceof g.A?"NaN"===e.xmin||null===e.xmin||isNaN(e.xmin)?null:e:null}function Se(e,t){if(!e)return t;if(!e.domain)return t;let n=null,r=null;if(H(t))n=t.toNumber();else if(X(t))n=t.toString();else if(W(t))n=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)n=ce(t);else{if(null==t)return null;if(""===t)return t;n=ye(t)}for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.code===n&&(r=i)}return null===r?ce(t):r.name}function ve(e,t){if(!e)return t;if(!e.domain)return t;let n=null;const r=ce(t);for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.name===r&&(n=i)}return null===n?t:n.code}function Te(e,t,n=null,r=null){if(!t)return null;if(!t.fields)return null;let i,s,o=null;for(let n=0;n<t.fields.length;n++){const r=t.fields[n];r.name.toLowerCase()===e.toString().toLowerCase()&&(o=r)}if(null===o)throw new l.D$(null,"FieldNotFound",null,{key:e});let a=t.typeIdField,u="id",c=t.types;if(t.subtypeField&&(a=t.subtypeField,u="code",c=t.subtypes??[]),null===r&&n&&a)r=n.hasField(a)?n.field(a):null;else if(a&&null!==r){let e=!1;for(const t of c||[])if(r===t[u]){e=!0;break}if(!e)for(const t of c||[])if(r===t.name){r=t[u],e=!0;break}e||(r=null,n&&a&&(r=n.hasField(a)?n.field(a):null))}return null!=r&&c.some(e=>e[u]===r&&(i=e.domains?.[o.name],i&&"inherited"===i.type&&(i=Ae(o.name,t),s=!0),!0)),s||i||(i=Ae(e,t)),{field:o,domain:i}}function Ae(e,t){let n;return t.fields.some(t=>(t.name.toLowerCase()===e.toLowerCase()&&(n=t.domain),!!n)),n}function we(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const n="boolean"==typeof t.cycles&&t.cycles,r=t.cmp&&(i=t.cmp,function(e){return function(t,n){const r={key:t,value:e[t]},s={key:n,value:e[n]};return i(r,s)}});var i;const s=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(s.includes(t)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const l=s.push(t)-1,a=Object.keys(t).sort(r?.(t));for(o="",i=0;i<a.length;i++){const n=a[i],r=e(t[n]);r&&(o&&(o+=","),o+=JSON.stringify(n)+":"+r)}return s.splice(l,1),"{"+o+"}"}(e)}function Ne(e){if(null===e)return null;const t=[];for(const n of e)E(n)?t.push(n.geometry()):t.push(n);return t}function Ce(e,t){if(!(t instanceof S.A))throw new l.D$(null,"InvalidParameter",null);e.push(t.hasZ?t.hasM?[t.x,t.y,t.z,t.m]:[t.x,t.y,t.z]:[t.x,t.y])}function xe(e,t){if((0,x.cy)(e)||U(e)){let n=!1,r=!1,i=[],s=t;if((0,x.cy)(e)){for(const t of e)Ce(i,t);i.length>0&&(s=e[0].spatialReference,n=e[0].hasZ,r=e[0].hasM)}else if(e instanceof f.A)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,s=e.get(0).spatialReference);else{if(!U(e))throw new l.D$(null,"InvalidParameter",null);for(const t of e.toArray())Ce(i,t);i.length>0&&(s=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:((0,w.$3)(i)||(i=i.slice().reverse()),new v.A({rings:[i],spatialReference:s,hasZ:n,hasM:r}))}return e}function Fe(e,t){if((0,x.cy)(e)||U(e)){let n=!1,r=!1,i=[],s=t;if((0,x.cy)(e)){for(const t of e)Ce(i,t);i.length>0&&(s=e[0].spatialReference,n=!0===e[0].hasZ,r=!0===e[0].hasM)}else if(e instanceof f.A)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,s=e.get(0).spatialReference);else if(U(e)){for(const t of e.toArray())Ce(i,t);i.length>0&&(s=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:new T.A({paths:[i],spatialReference:s,hasZ:n,hasM:r})}return e}function _e(e,t){if((0,x.cy)(e)||U(e)){let n=!1,r=!1,i=[],s=t;if((0,x.cy)(e)){for(const t of e)Ce(i,t);i.length>0&&(s=e[0].spatialReference,n=!0===e[0].hasZ,r=!0===e[0].hasM)}else if(e instanceof f.A)i=e._elements,i.length>0&&(n=e._hasZ,r=e._hasM,s=e.get(0).spatialReference);else if(U(e)){for(const t of e.toArray())Ce(i,t);i.length>0&&(s=e.get(0).spatialReference,n=!0===e.get(0).hasZ,r=!0===e.get(0).hasM)}return 0===i.length?null:new b.A({points:i,spatialReference:s,hasZ:n,hasM:r})}return e}function Oe(e,t=!0){if(null==e)return[];if((0,x.cy)(e)){const n=[];for(const r of e){const e=ce(r);(t||""!==e)&&n.push(e)}return n}if(U(e)){const n=[];for(let r=0;r<e.length();r++){const i=ce(e.get(r));(t||""!==i)&&n.push(i)}return n}if(L(e)){const n=ce(e);if(t||""!==n)return[n]}return[]}let Ze=0;function Me(){return Ze++,Ze%100==0?(Ze=0,new Promise(e=>{setTimeout(()=>{e()},0)})):Promise.resolve()}function De(e,t,n){switch(n){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function ke(e,t=null){return null==e?null:(0,x.Lm)(e)||(0,x.Et)(e)||(0,x.Kg)(e)?e:e instanceof m.A?!0===t?.keepGeometryType?e:e.toJSON():e instanceof u.A?e.toArray().map(e=>ke(e,t)):Array.isArray(e)?e.map(e=>ke(e,t)):(0,x.$P)(e)?e:H(e)?e.toJSDate():W(e)?e.toString():X(e)?e.toJSDate():null!==e&&"object"==typeof e&&void 0!==e.castAsJson?e.castAsJson(t):null}async function Je(e,t,n,r,i){const s=await Pe(e,t,n);i[r]=s}async function Pe(e,t=null,n=null){if(e instanceof u.A&&(e=e.toArray()),null==e)return null;if(L(e)||e instanceof m.A||(0,x.$P)(e)||H(e))return ke(e,n);if(Array.isArray(e)){const r=[],i=[];for(const s of e)null===s||L(s)||s instanceof m.A||(0,x.$P)(s)||H(s)?i.push(ke(s,n)):(i.push(null),r.push(Je(s,t,n,i.length-1,i)));return r.length>0&&await Promise.all(r),i}return null!==e&&"object"==typeof e&&void 0!==e.castAsJsonAsync?e.castAsJsonAsync(t,n):null}function Le(e){return je(e)?e.parent:e}function je(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function Ie(e,t,n){const r=Le(e.fullSchema());return null===r?null:r.fields?Te(t,r,e,n):null}function Re(e){const t=Le(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map(e=>({name:e.name,code:e.code})):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map(e=>({name:e.name,code:e.id})):[]}:null:null}function Ge(e,t,n,r){const i=Le(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const s=Te(t,i,e,r);if(void 0===n)try{n=e.field(t)}catch(e){return null}return Se(s,n)}function Ee(e,t,n,r){const i=Le(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===n){try{n=e.field(t)}catch(e){return null}return n}return ve(Te(t,i,e,r),n)}function Ve(e){return e?.timeZone??"system"}function Ke(e){const t=Le(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const n=[];for(const e of t.fields)n.push((0,d.nE)(e));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===d.yT[t.geometryType]?"":d.yT[t.geometryType],fields:n}}function ze(e,t){const n=s.lY.systemTimeZoneCanonicalName;return"system"===e&&(e=n),{version:qe,engineVersion:i.rE,timeZone:e,userTimeZone:n,spatialReference:t instanceof A.A?t.toJSON():t,application:r.A.applicationName??"",engine:"web",locale:(0,C.JK)()}}const qe="1.34",$e=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:O,ReturnResult:_,absRound:ne,arcadeVersion:qe,autoCastArrayOfPointsToMultiPoint:_e,autoCastArrayOfPointsToPolygon:xe,autoCastArrayOfPointsToPolyline:Fe,autoCastFeatureToGeometry:Ne,binaryOperator:De,breakResult:M,castAsJson:ke,castAsJsonAsync:Pe,castRecordToText:ue,continueResult:D,defaultExecutingContext:ze,defaultTimeZone:Ve,defaultUndefined:j,equalityTest:ae,featureDomainCodeLookup:Ee,featureDomainValueLookup:Ge,featureFullDomain:Ie,featureSchema:Ke,featureSubtypes:Re,fixNullGeometry:be,fixSpatialReference:me,formatDate:ie,formatNumber:re,getDomain:Te,getDomainCode:ve,getDomainValue:Se,getType:I,greaterThanLessThan:le,isArray:x.cy,isBoolean:x.Lm,isDate:H,isDateOnly:X,isDictionary:q,isDictionaryLike:$,isEmpty:te,isFeature:E,isFeatureSet:z,isFeatureSetCollection:Y,isFunctionParameter:J,isGeometry:G,isGraphic:x.DU,isImmutableArray:U,isInteger:x.Fq,isJsDate:x.$P,isKnowledgeGraph:B,isModule:P,isNumber:x.Et,isObject:Q,isPixel:K,isSimpleType:L,isString:x.Kg,isSubtypeGrouplayer:function(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass},isSubtypeSublayer:je,isTime:W,isVoid:R,isVoxel:V,multiReplace:k,parseGeometryFromJson:function(e,t){const n=JSON.parse(e);return n&&!n.spatialReference&&(n.spatialReference=t),(0,N.rS)(n)},pcCheck:ee,stableStringify:we,standardiseDateFormat:se,tick:Me,toBoolean:ge,toDate:he,toNumber:ye,toNumberArray:fe,toString:ce,toStringArray:Oe,toStringExplicit:de,voidOperation:Z},Symbol.toStringTag,{value:"Module"}))},92400(e,t,n){n.d(t,{CU:()=>l,UQ:()=>o,fF:()=>i,o6:()=>s});var r=n(74887);class i{constructor(){}}function s(e,t,n){if(e instanceof i&&!(e instanceof l)){const r=new l;return r.fn=e,r.parameterEvaluator=n,r.context=t,r}return e}class o extends i{constructor(e){super(),this.fn=e}createFunction(e){return(...t)=>this.fn(e,{preparsed:!0,arguments:t})}call(e,t){return this.fn(e,t)}marshalledCall(e,t,n,o){return o(e,t,(t,a,u)=>{u=u.map(t=>t instanceof i&&!(t instanceof l)?s(t,e,o):t);const c=this.call(n,{args:u});return(0,r.$X)(c)?c.then(e=>s(e,n,o)):c})}}class l extends i{constructor(){super(...arguments),this.fn=null,this.context=null}createFunction(e){return this.fn.createFunction(this.context)}call(e,t){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}marshalledCall(e,t,n){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}}},93818(e,t,n){n.d(t,{A:()=>r});class r{constructor(e=[]){this._elements=e}length(){return this._elements.length}get(e){return this._elements[e]}toArray(){return this.slice()}slice(e=0,t=this.length()){const n=[];for(let r=e;r<t;r++)n.push(this.get(r));return n}}},98453(e,t,n){n.d(t,{m:()=>r});const r=new(n(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"})},99719(e,t,n){n.d(t,{x:()=>r});class r{}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2288],{159(e,n,t){t.d(n,{A:()=>s});var r,o=t(31635),i=t(69622),a=t(91429),l=t(99157);let s=r=class extends i.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let n=this.steps.length-1;n>=0;n--){const t=this.steps[n];e.steps.push(t.getInverse())}return e}};(0,o.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0})],s.prototype,"steps",void 0),s=r=(0,o.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],s)},9762(e,n,t){t.r(n),t.d(n,{projectBuffer:()=>o});var r=t(37539);function o(e,n,t,o,i,a,l=Math.floor(e.length/3)){const s=(0,r.jd)(n,i);if(null==s)return!1;if(s===r.pO){if(e===o&&t===a)return!0;const n=t+3*l;for(let r=t,i=a;r<n;r++,i++)o[i]=e[r]??0;return!0}const u=t+3*l;for(let n=t,r=a;n<u;n+=3,r+=3)s(e,n,o,r);return!0}},23150(e,n,t){t.d(n,{A:()=>l});var r=t(31635),o=t(91429),i=t(82799),a=t(54238);let l=class extends a.A{constructor(e){super(e),this.originId=null,this.destinationId=null,this.layoutGeometry=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],l.prototype,"originId",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],l.prototype,"destinationId",void 0),(0,r.Cg)([(0,o.MZ)({type:i.A,json:{write:!0}})],l.prototype,"layoutGeometry",void 0),l=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.Relationship")],l)},25927(e,n,t){t.d(n,{A:()=>l});var r=t(31635),o=t(91429),i=t(86738),a=t(54238);let l=class extends a.A{constructor(e){super(e),this.layoutGeometry=null}};(0,r.Cg)([(0,o.MZ)({type:i.A,json:{write:!0}})],l.prototype,"layoutGeometry",void 0),l=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.Entity")],l)},37539(e,n,t){t.d(n,{pO:()=>g,jd:()=>f,Tp:()=>d,w5:()=>p});var r=t(34727),o=t(86211),i=t(73941),a=t(79258);Math.PI;const l=a.$O.radius,s=a.$O.eccentricitySquared,u={a1:l*s,a2:l*s*l*s,a3:l*s*s/2,a4:l*s*l*s*2.5,a5:l*s+l*s*s/2,a6:1-s};a.$O.radius,a.$O.flattening,a.Sw.radius,a.Sw.flattening,a.sH.radius,a.sH.flattening,a.sH.radius;var c=t(21325);const p={2:{5:g,7:null,9:null,10:g,1:x,6:null,8:null,0:null,3:y,11:w,2:g,4:P},5:{5:g,7:null,9:null,10:g,1:x,6:null,8:null,0:null,3:y,11:w,2:g,4:P},7:{5:null,7:g,9:null,10:g,1:null,6:A,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:g,10:g,1:null,6:null,8:M,0:null,3:null,11:null,2:null,4:null},3:{5:m,7:null,9:null,10:m,1:function(e,n,t,r){const o=e[n]/b,i=Z-2*Math.atan(Math.exp(-e[n+1]/b)),a=b+(e[n+2]??0),l=Math.cos(i)*a;t[r]=Math.cos(o)*l,t[r+1]=Math.sin(o)*l,t[r+2]=Math.sin(i)*a},6:null,8:null,0:null,3:g,11:function(e,n,t,r){m(e,n,t,r),w(t,r,t,r)},2:m,4:function(e,n,t,r){m(e,n,t,r),P(t,r,t,r)}},4:{5:k,7:null,9:null,10:k,1:function(e,n,t,r){k(e,n,t,r),x(t,r,t,r)},6:null,8:null,0:null,3:function(e,n,t,r){k(e,n,t,r),y(t,r,t,r)},11:function(e,n,t,r){k(e,n,t,r),w(t,r,t,r)},2:k,4:g},1:{5:C,7:null,9:null,10:C,1:g,6:null,8:null,0:null,3:function(e,n,t,r){C(e,n,t,r),y(t,r,t,r)},11:function(e,n,t,r){C(e,n,t,r),w(t,r,t,r)},2:C,4:function(e,n,t,r){C(e,n,t,r),P(t,r,t,r)}},6:{5:null,7:I,9:null,10:I,1:null,6:g,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:j,10:j,1:null,6:null,8:g,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:g,3:null,11:null,2:null,4:null},10:{5:g,7:g,9:g,10:g,1:x,6:A,8:M,0:null,3:y,11:w,2:g,4:P},11:{5:R,7:null,9:null,10:R,1:function(e,n,t,r){R(e,n,t,r),x(t,r,t,r)},6:null,8:null,0:null,3:function(e,n,t,r){R(e,n,t,r),y(t,r,t,r)},11:g,2:R,4:function(e,n,t,r){R(e,n,t,r),P(t,r,t,r)}}};function f(e,n){return d(e,n)?.projector}function d(e,n){if(null==e||null==n)return null;if(G.source.spatialReference===e&&G.dest.spatialReference===n)return G;const t=h(e,G.source),r=h(n,G.dest);return 0===t&&0===r?(0,c.aI)(e,n)?G.projector=g:G.projector=null:G.projector=p[t][r],G}function h(e,n){return e?n.spatialReference===e?n.spatialReferenceId:(n.spatialReference=e,"metersPerUnit"in n&&(n.metersPerUnit=(0,o.GA)(e,1)),(0,i.jA)(e)?n.spatialReferenceId=1:(0,c.oT)(e)?n.spatialReferenceId=2:(0,c.K8)(e)?n.spatialReferenceId=3:(0,c.r1)(e)?n.spatialReferenceId=11:e.wkt===i.Ro.wkt?n.spatialReferenceId=4:4490===e.wkid?n.spatialReferenceId=5:e.wkt===i.FY.wkt?n.spatialReferenceId=6:e.wkt===i.LJ.wkt?n.spatialReferenceId=8:(0,c.q8)(e)?n.spatialReferenceId=7:(0,c.KQ)(e)?n.spatialReferenceId=9:n.spatialReferenceId=0):0}function g(e,n,t,r){e!==t&&(t[r++]=e[n++],t[r++]=e[n++],t[r]=e[n]??0)}function m(e,n,t,r){t[r]=$*(e[n]/b),t[r+1]=$*(Z-2*Math.atan(Math.exp(-e[n+1]/b))),t[r+2]=e[n+2]??0}function y(e,n,t,o){!function(e,n,t,o,i){const a=.4999999*Math.PI,l=(0,r.qE)(O*e[n+1],-a,a),s=Math.sin(l);t[o++]=O*e[n]*i.radius,t[o++]=i.halfSemiMajorAxis*Math.log((1+s)/(1-s)),t[o]=e[n+2]??0}(e,n,t,o,a.$O)}function w(e,n,t,r){t[r]=e[n]*T,t[r+1]=e[n+1]*T,t[r+2]=e[n+2]??0}function R(e,n,t,r){t[r]=e[n]*K,t[r+1]=e[n+1]*K,t[r+2]=e[n+2]??0}function v(e,n,t,r,o){const i=o+(e[n+2]??0),a=O*e[n],l=O*e[n+1],s=Math.cos(l)*i;t[r]=Math.cos(a)*s,t[r+1]=Math.sin(a)*s,t[r+2]=Math.sin(l)*i}function M(e,n,t,r){v(e,n,t,r,a.Sw.radius)}function A(e,n,t,r){v(e,n,t,r,a.sH.radius)}function x(e,n,t,r){v(e,n,t,r,a.$O.radius)}function S(e,n,t,o,i){const a=e[n],l=e[n+1],s=e[n+2]??0,u=Math.sqrt(a*a+l*l+s*s),c=(0,r.YN)(s/(0===u?1:u)),p=Math.atan2(l,a);t[o++]=$*p,t[o++]=$*c,t[o]=u-i}function j(e,n,t,r){S(e,n,t,r,a.Sw.radius)}function I(e,n,t,r){S(e,n,t,r,a.sH.radius)}function C(e,n,t,r){S(e,n,t,r,a.$O.radius)}function P(e,n,t,r){!function(e,n,t,r,o){const i=O*e[n],a=O*e[n+1],l=e[n+2]??0,s=Math.sin(a),u=Math.cos(a),c=o.radius/Math.sqrt(1-o.eccentricitySquared*s*s);t[r++]=(c+l)*u*Math.cos(i),t[r++]=(c+l)*u*Math.sin(i),t[r++]=(c*(1-o.eccentricitySquared)+l)*s}(e,n,t,r,a.$O)}function k(e,n,t,r){const o=u,i=e[n],l=e[n+1],s=e[n+2]??0;let c,p,f,d,h,g,m,y,w,R,v,M,A,x,S,j,I,C,P,k,G;c=Math.abs(s),p=i*i+l*l,f=Math.sqrt(p),d=p+s*s,h=Math.sqrt(d),k=Math.atan2(l,i),g=s*s/d,m=p/d,x=o.a2/h,S=o.a3-o.a4/h,m>.3?(y=c/h*(1+m*(o.a1+x+g*S)/h),P=Math.asin(y),R=y*y,w=Math.sqrt(1-R)):(w=f/h*(1-g*(o.a5-x-m*S)/h),P=Math.acos(w),R=1-w*w,y=Math.sqrt(R)),v=1-a.$O.eccentricitySquared*R,M=a.$O.radius/Math.sqrt(v),A=o.a6*M,x=f-M*w,S=c-A*y,I=w*x+y*S,j=w*S-y*x,C=j/(A/v+I),P+=C,G=I+j*C/2,s<0&&(P=-P),t[r++]=$*k,t[r++]=$*P,t[r]=G}const G={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:g},O=(0,r.kU)(1),$=(0,r.KJ)(1),Z=.5*Math.PI,b=a.$O.radius,T=b*Math.PI/180,K=180/(b*Math.PI)},40662(e,n,t){t.d(n,{A:()=>a});var r=t(31635),o=t(91429),i=t(77901);let a=class extends i.A{constructor(e){super(e)}};a=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.ObjectValue")],a)},42095(e,n,t){t.d(n,{A:()=>l});var r=t(31635),o=t(25482),i=t(91429),a=t(77901);let l=class extends o.o{constructor(e){super(e),this.path=[]}};(0,r.Cg)([(0,i.MZ)({type:[a.A],json:{write:!0}})],l.prototype,"path",void 0),l=(0,r.Cg)([(0,i.$K)("esri.rest.knowledgeGraph.Path")],l)},42538(e,n,t){t.d(n,{A:()=>s});var r=t(31635),o=t(91429),i=t(16930),a=t(69622);let l=class extends a.A{constructor(e){super(e),this.openCypherQuery=""}};(0,r.Cg)([(0,o.MZ)()],l.prototype,"openCypherQuery",void 0),l=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.GraphQuery")],l);let s=class extends l{constructor(e){super(e),this.bindParameters=null,this.bindGeometryQuantizationParameters=null,this.outputQuantizationParameters=null,this.outputSpatialReference=null,this.provenanceBehavior=null}};(0,r.Cg)([(0,o.MZ)()],s.prototype,"bindParameters",void 0),(0,r.Cg)([(0,o.MZ)()],s.prototype,"bindGeometryQuantizationParameters",void 0),(0,r.Cg)([(0,o.MZ)()],s.prototype,"outputQuantizationParameters",void 0),(0,r.Cg)([(0,o.MZ)({type:i.A})],s.prototype,"outputSpatialReference",void 0),(0,r.Cg)([(0,o.MZ)()],s.prototype,"provenanceBehavior",void 0),s=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.GraphQueryStreaming")],s)},54238(e,n,t){t.d(n,{A:()=>a});var r=t(31635),o=t(91429),i=t(77901);let a=class extends i.A{constructor(e){super(e),this.typeName=null,this.id=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"typeName",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"id",void 0),a=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.GraphNamedObject")],a)},77901(e,n,t){t.d(n,{A:()=>a});var r=t(31635),o=t(25482),i=t(91429);let a=class extends o.o{constructor(e){super(e),this.properties={}}};(0,r.Cg)([(0,i.MZ)({json:{write:!0}})],a.prototype,"properties",void 0),a=(0,r.Cg)([(0,i.$K)("esri.rest.knowledgeGraph.GraphObject")],a)},80672(e,n,t){t.d(n,{R:()=>o});var r=t(20655);function o(e,n){return null===e?n:new r.A({url:e.field("url")})}},91218(e,n,t){t.r(n),t.d(n,{canProjectWithoutEngine:()=>W,initializeProjection:()=>E,isEqualBaseGCS:()=>L,isLoaded:()=>k,isLoadedOrLoad:()=>G,isLoadedOrLoadFor:()=>O,load:()=>Z,project:()=>b,projectAsync:()=>J,projectExtent:()=>ne,projectMany:()=>T,projectMultipoint:()=>U,projectOrLoad:()=>q,projectOrLoadMany:()=>N,projectPoint:()=>Q,projectPolygon:()=>_,projectPolyline:()=>Y,projectWithoutEngine:()=>F,requiresLoad:()=>$,test:()=>B,tryProject:()=>K,unload:()=>z});var r=t(49186),o=t(74887),i=t(62788),a=t(95488),l=t(51850),s=t(21276),u=t(73941),c=t(5443),p=t(91075),f=t(48526),d=t(86738),h=t(39829),g=t(82799),m=t(16930),y=t(159),w=t(9762),R=t(37539);function v(e,n,t,r,o,i){return M[0]=e,M[1]=n,M[2]=t,(0,w.projectBuffer)(M,r,0,o,i,0)}const M=(0,l.vt)();var A=t(21325);let x=null,S=null,j=null,I=null,C={};const P=new a.I;function k(){return!!(S?.isLoaded()&&j?.isLoaded()&&I?.isLoaded())}function G(){return!!k()||((0,i.gc)(P),Z(),!1)}function O(e,n){return!e||!n||W(e,n)||G()}function $(e,n){return!W(e,n)&&!k()}async function Z(e){null==x&&(x=Promise.all([t.e(3276).then(t.bind(t,83276)).then(e=>(S=e,S.load())),t.e(758).then(t.bind(t,8377)).then(e=>(j=e,j.load())),t.e(2158).then(t.bind(t,12158)).then(e=>(I=e,I.load()))])),await x,(0,o.Te)(e),P.notify()}function b(e,n,t){return Array.isArray(e)?0===e.length?[]:((0,s.H)(e),T(e,e[0].spatialReference,n,t)):((0,s.f)(e),T([e],e.spatialReference,n,t)[0])}function T(e,n,t,r){if(null==n||null==t)return e;if(W(n,t,r))return e.map(e=>F(e,n,t));if(null==r?.geographicTransformation&&(0,u.jA)(n))return T(e.map(e=>F(e,n,m.A.WGS84)),m.A.WGS84,t,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(t))return T(e,n,m.A.WGS84).map(e=>F(e,m.A.WGS84,t));if(!k())throw new D;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:I.getTransformation(n,t,r.areaOfInterestExtent)||new y.A};else if(!r?.areaOfInterestExtent){const e=function(e,n){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",n.wkid?.toString()??"-1",n.wkt?.toString()??"",n.wkt2?.toString()??""].join()}(n,t);let o=C[e];o||(o=I.getTransformation(n,t)||new y.A,C[e]=o),r={geographicTransformation:o,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=n),e[0]instanceof p.A?S.executeMany(e,t,r):j.executeMany(e,t,r)}function K(e,n,t){try{return b(e,n,t)}catch(e){return null}}function q(e,n){const t=N([e],n);return null!=t.pending?{pending:t.pending,geometry:null}:null!=t.geometries?{pending:null,geometry:t.geometries[0]}:{pending:null,geometry:null}}function N(e,n,t){if(!k())for(const t of e)if(null!=t&&!(0,A.aI)(t.spatialReference,n)&&(0,A.fn)(t.spatialReference)&&(0,A.fn)(n)&&!W(t.spatialReference,n))return(0,i.gc)(P),{pending:Z(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,A.aI)(e.spatialReference,n)?e:(0,A.fn)(e.spatialReference)&&(0,A.fn)(n)?b(e,n,t):null)}}class D extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function z(){x=null,S=null,j=null,I=null,C={}}const B={get loadPromise(){return x}};async function J(e,n,t){if((0,o.Te)(t),!e)return e;const r=N(Array.isArray(e)?e:[e],n,t);if(r.pending)return await r.pending,(0,o.Te)(t),J(e,n,t);const i=r.geometries??[];return Array.isArray(e)?i:i[0]}function W(e,n,t){return!(t?.areaOfInterestExtent||t?.extendedParams||t?.geographicTransformation)&&(!!(0,A.aI)(e,n)||(0,A.fn)(e)&&(0,A.fn)(n)&&!!(0,R.jd)(e,n))}function L(e,n){if((0,A.aI)(e,n))return!0;if(!(0,A.fn)(e)||!(0,A.fn)(n))return!1;const t=(0,A.oT)(e)||(0,A.K8)(e)||(0,A.x1)(e),r=(0,A.oT)(n)||(0,A.K8)(n)||(0,A.x1)(n);return t&&r}async function E(e,n,t,r){if(k())return(0,o.NO)(r);if(Array.isArray(e)){for(const{source:n,dest:t,options:o}of e)if(n&&t&&!W(n,t,o))return Z(r)}else if(e&&n&&!W(e,n,t))return Z(r);return(0,o.NO)(r)}function F(e,n,t){return e?"x"in e?H(e,n,new d.A,t,0):"xmin"in e?te(e,n,new c.A,t,0):"rings"in e?ee(e,n,new h.A,t,0):"paths"in e?X(e,n,new g.A,t,0):"points"in e?V(e,n,new f.A,t,0):null:null}function Q(e,n,t=n.spatialReference,r=0){return null!=t&&null!=e.spatialReference&&null!=H(e,e.spatialReference,n,t,r)}function H(e,n,t,r,o){oe[0]=e.x,oe[1]=e.y;const i=e.z;return oe[2]=void 0!==i?i:o,(0,w.projectBuffer)(oe,n,0,oe,r,0)?(t.x=oe[0],t.y=oe[1],t.spatialReference=r,void 0!==i||(0,u.xP)(r)?(t.z=oe[2],t.hasZ=!0):(t.z=void 0,t.hasZ=!1),void 0===e.m?(t.m=void 0,t.hasM=!1):(t.m=e.m,t.hasM=!0),t):null}function U(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=V(e,e.spatialReference,n,t,r)}function V(e,n,t,r,o){const{points:i,hasZ:a,hasM:l}=e,s=[],c=i.length,p=[];for(const e of i)p.push(e[0],e[1],a?e[2]:o);if(!(0,w.projectBuffer)(p,n,0,p,r,0,c))return null;const f=a||(0,u.xP)(r);for(let e=0;e<c;++e){const n=3*e,t=p[n],r=p[n+1];f&&l?s.push([t,r,p[n+2],i[e][3]]):f?s.push([t,r,p[n+2]]):l?s.push([t,r,i[e][2]]):s.push([t,r])}return t.points=s,t.spatialReference=r,t.hasZ=a,t.hasM=l,t}function Y(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=X(e,e.spatialReference,n,t,r)}function X(e,n,t,r,o){const{paths:i,hasZ:a,hasM:l}=e,s=[];if(!re(i,a??!1,l??!1,n,s,r,o))return null;const c=a||(0,u.xP)(r);return t.paths=s,t.spatialReference=r,t.hasZ=c,t.hasM=l,t}function _(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=ee(e,e.spatialReference,n,t,r)}function ee(e,n,t,r,o){const{rings:i,hasZ:a,hasM:l}=e,s=[];if(!re(i,a??!1,l??!1,n,s,r,o))return null;const c=a||(0,u.xP)(r);return t.rings=s,t.spatialReference=r,t.hasZ=c,t.hasM=l,t}function ne(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=te(e,e.spatialReference,n,t,r)}function te(e,n,t,r,o){const{xmin:i,ymin:a,xmax:l,ymax:s,hasZ:c,hasM:p}=e;if(!v(i,a,c?e.zmin:o,n,oe,r))return null;const f=c||(0,u.xP)(r);return t.xmin=oe[0],t.ymin=oe[1],f&&(t.zmin=oe[2]),v(l,s,c?e.zmax:o,n,oe,r)?(t.xmax=oe[0],t.ymax=oe[1],f&&(t.zmax=oe[2]),p&&(t.mmin=e.mmin,t.mmax=e.mmax),t.spatialReference=r,t):null}function re(e,n,t,r,o,i,a=0){const l=new Array;for(const t of e)for(const e of t)l.push(e[0],e[1],n?e[2]:a);if(!(0,w.projectBuffer)(l,r,0,l,i,0))return!1;let s=0;o.length=0;const c=n||(0,u.xP)(i);for(const n of e){const e=new Array;for(const r of n)c&&t?e.push([l[s++],l[s++],l[s++],r[3]]):c?e.push([l[s++],l[s++],l[s++]]):t?(e.push([l[s++],l[s++],r[2]]),s++):(e.push([l[s++],l[s++]]),s++);o.push(e)}return!0}const oe=(0,l.vt)()},92288(e,n,t){t.r(n),t.d(n,{registerFunctions:()=>q});var r=t(92602),o=t(47609),i=t(66395),a=t(85935),l=t(78878),s=t(80672),u=t(91075),c=t(91218),p=t(16930),f=t(28735),d=t(20655),h=t(80812),g=t(11254),m=t(56507),y=t(60408),w=t(2272),R=t(92300),v=t(31635),M=t(25482),A=t(91429),x=t(21325);let S=class extends M.o{constructor(e){super(e),this.geometries=[],this.outSpatialReference=null,this.transformation=null,this.transformForward=null}toJSON(){const e=this.geometries.map(e=>e.toJSON()),n=this.geometries[0],t={};return t.outSR=(0,x.YX)(this.outSpatialReference),t.inSR=(0,x.YX)(n.spatialReference),t.geometries=JSON.stringify({geometryType:(0,y.$B)(n),geometries:e}),this.transformation&&(t.transformation=this.transformation.wkid||JSON.stringify(this.transformation)),null!=this.transformForward&&(t.transformForward=this.transformForward),t}};(0,v.Cg)([(0,A.MZ)()],S.prototype,"geometries",void 0),(0,v.Cg)([(0,A.MZ)({type:p.A,json:{read:{source:"outSR"}}})],S.prototype,"outSpatialReference",void 0),(0,v.Cg)([(0,A.MZ)()],S.prototype,"transformation",void 0),(0,v.Cg)([(0,A.MZ)()],S.prototype,"transformForward",void 0),S=(0,v.Cg)([(0,A.$K)("esri.rest.support.ProjectParameters")],S);const j=(0,m.dp)(S);var I=t(25927),C=t(42538),P=t(40662),k=t(42095),G=t(23150),O=t(54218);let $=null;async function Z(e,n){const r=new h.default({portal:e,id:n});return await r.load(),null===$&&($=await Promise.all([t.e(2869),t.e(3910),t.e(6728),t.e(217),t.e(6140),t.e(490)]).then(t.bind(t,56140))),await $.fetchKnowledgeGraph(r.url)}function b(e,n,t,r,o){if(null===e)return null;if((0,O.Kg)(e)||(0,O.Et)(e))return e;if((0,l.e)(e))return e.toJSDate();if((0,l.e)(e))return e.toJSDate();if((0,l.f)(e))return e.toStorageFormat();if((0,l.g)(e))return e.toStorageString();if((0,l.n)(e)){const i={};for(const a of e.keys())i[a]=b(e.field(a),n,t,r,o),i[a]instanceof u.A&&o.push({container:i,indexer:a});return i}if((0,O.cy)(e)){const i=e.map(e=>b(e,n,t,r,o));for(let e=0;e<i.length;e++)i[e]instanceof u.A&&o.push({container:i,indexer:e});return i}return(0,l.h)(e)?e.spatialReference.isWGS84?e:e.spatialReference.isWebMercator&&n?(0,f.ci)(e):e:void 0}function T(e,n){if(!e)return null;const t={};for(const r in e)t[r]=K(e[r],n);return t}function K(e,n){return null===e?null:(0,O.cy)(e)?e.map(e=>K(e,n)):e instanceof I.A?{graphTypeName:e.typeName,id:e.id,graphType:"entity",properties:T(e.properties,n)}:e instanceof P.A?{graphType:"object",properties:T(e.properties,n)}:e instanceof G.A?{graphTypeName:e.typeName,id:e.id,graphType:"relationship",originId:e.originId??null,destinationId:e.destinationId??null,properties:T(e.properties,n)}:e instanceof k.A?{graphType:"path",path:e.path?e.path.map(e=>K(e,n)):null}:(0,l.h)(e)?function(e,n){if(!e)return e;if(e.spatialReference.isWGS84&&n.spatialReference.isWebMercator)return(0,f.Gh)(e);if(e.spatialReference.equals(n.spatialReference))return e;throw new a.D$(n,"WrongSpatialReference",null)}(e,n):(0,O.Kg)(e)||(0,O.Et)(e)||(0,O.$P)(e)?e:null}function q(e){"async"===e.mode&&(e.functions.knowledgegraphbyportalitem=function(n,t){return e.standardFunctionAsync(n,t,(e,r,i)=>{if((0,l.B)(i,2,2,n,t),null===i[0])throw new a.D$(n,"PortalRequired",t);if(i[0]instanceof o.A){const e=(0,l.s)(i[1]);let t;return t=n.services?.portal?n.services.portal:d.A.getDefault(),Z((0,s.R)(i[0],t),e)}if(!1===(0,O.Kg)(i[0]))throw new a.D$(n,"InvalidParameter",t);const u=(0,l.s)(i[0]);return Z(n.services?.portal??d.A.getDefault(),u)})},e.signatures.push({name:"knowledgegraphbyportalitem",min:2,max:2}),e.functions.querygraph=function(n,o){return e.standardFunctionAsync(n,o,async(e,s,u)=>{(0,l.B)(u,2,4,n,o);const f=u[0];if(!(0,l.o)(f))throw new a.D$(n,"InvalidParameter",o);const d=u[1];if(!(0,O.Kg)(d))throw new a.D$(n,"InvalidParameter",o);null===$&&($=await Promise.all([t.e(2869),t.e(3910),t.e(6728),t.e(217),t.e(6140),t.e(490)]).then(t.bind(t,56140)));let h=null;const m=(0,l.J)(u[2],null);if(!(m instanceof i.A||null===m))throw new a.D$(n,"InvalidParameter",o);if(m){let e=[];h=b(m,!0,!1,n,e),e=e.filter(e=>!e.container[e.indexer].spatialReference.isWGS84),e.length>0&&await async function(e){const n=r.A.geometryServiceUrl??"";if(!n){(0,c.isLoaded)()||await(0,c.load)();for(const n of e)n.container[n.indexer]=(0,c.project)(n.container[n.indexer],p.A.WGS84);return}const t=e.map(e=>e.container[e.indexer]),o=new S({geometries:t,outSpatialReference:p.A.WGS84}),i=await async function(e,n){n=j(n);const t=(0,w.Dl)(e),r={...t.query,f:"json",...n.toJSON()},o=n.outSpatialReference,i=(0,y.$B)(n.geometries[0]),a=(0,w.jV)(r,void 0);return(0,g.A)(t.path+"/project",a).then(({data:{geometries:e}})=>(0,R.V)(e,i,o))}(n,o);for(let n=0;n<i.length;n++){const t=e[n];t.container[t.indexer]=i[n]}}(e)}const v=(0,l.J)(u[3],!1),M=new C.A({openCypherQuery:d,bindParameters:h,provenanceBehavior:v?"include":"exclude"});(f?.serviceDefinition?.currentVersion??11.3)>11.2&&(M.outputSpatialReference=n.spatialReference);const A=(await $.executeQueryStreaming(f,M)).resultRowsStream.getReader(),x=[];try{for(;;){const{done:e,value:t}=await A.read();if(e)break;if((0,O.cy)(t))for(const e of t)x.push(K(e,n));else{const e=[];for(const r of t)e.push(K(t[r],n));x.push(e)}}}catch(e){throw e}return i.A.convertJsonToArcade(x,(0,l.K)(n),!1,!0)})},e.signatures.push({name:"querygraph",min:2,max:4}))}},92300(e,n,t){t.d(n,{V:()=>a,X:()=>i});var r=t(60408),o=t(65864);function i(e){return{geometryType:(0,r.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function a(e,n,t){const r=(0,o.xD)(n);return e.map(e=>{const n=r.fromJSON(e);return n.spatialReference=t,n})}},99157(e,n,t){t.d(n,{A:()=>l});var r,o=t(31635),i=t(69622),a=t(91429);let l=r=class extends i.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,o.Cg)([(0,a.MZ)()],l.prototype,"isInverse",void 0),(0,o.Cg)([(0,a.MZ)()],l.prototype,"wkt",void 0),(0,o.Cg)([(0,a.MZ)()],l.prototype,"wkid",void 0),l=r=(0,o.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[784],{9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>o,vt:()=>r,zK:()=>s});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:o,create:r,fromValues:function(t,e,n,r,o,s,i,a,c,u,h,d,l,f,m,p){return[t,e,n,r,o,s,i,a,c,u,h,d,l,f,m,p]}},Symbol.toStringTag,{value:"Module"}))},27921(t,e,n){n.d(e,{$Q:()=>A,C:()=>u,Cr:()=>f,LV:()=>c,O_:()=>l,Qj:()=>h,T7:()=>x,Tj:()=>w,Ui:()=>j,_I:()=>T,fA:()=>d,gv:()=>O,lU:()=>m,mN:()=>E,mP:()=>v,mR:()=>y,vE:()=>P,vt:()=>a});var r=n(34727),o=n(35522),s=n(51850),i=(n(78955),n(44280),n(32114));function a(t=N){return[t[0],t[1],t[2],t[3]]}function c(t=N[0],e=N[1],n=N[2],r=N[3]){return d(t,e,n,r,i.Km.get())}function u(t,e){return d(e[0],e[1],e[2],e[3],t)}function h(t){return t}function d(t,e,n,r,o=a()){return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o}function l(t,e,n){const r=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],o=Math.abs(r-1)>1e-5&&r>1e-12?1/Math.sqrt(r):1;return n[0]=e[0]*o,n[1]=e[1]*o,n[2]=e[2]*o,n[3]=-(n[0]*t[0]+n[1]*t[1]+n[2]*t[2]),n}function f(t,e,n,r=a()){const o=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2],c=t[0]-e[0],u=t[1]-e[1],h=t[2]-e[2],d=s*h-i*u,l=i*c-o*h,f=o*u-s*c,m=d*d+l*l+f*f,p=Math.abs(m-1)>1e-5&&m>1e-12?1/Math.sqrt(m):1;return r[0]=d*p,r[1]=l*p,r[2]=f*p,r[3]=-(r[0]*t[0]+r[1]*t[1]+r[2]*t[2]),r}function m(t,e,n,r=0,s=Math.floor(n*(1/3)),i=Math.floor(n*(2/3))){if(n<3)return!1;e(b,r);let a=s,c=!1;for(;a<n-1&&!c;)e(_,a),a++,c=!(0,o.t2)(b,_);if(!c)return!1;for(a=Math.max(a,i),c=!1;a<n&&!c;)e(g,a),a++,(0,o.Re)(M,b,_),(0,o.S8)(M,M),(0,o.Re)(S,_,g),(0,o.S8)(S,S),c=!(0,o.t2)(b,g)&&!(0,o.t2)(_,g)&&Math.abs((0,o.Om)(M,S))<p;return c?(f(b,_,g,t),!0):(0!==r||1!==s||2!==i)&&m(t,e,n,0,1,2)}n(32728);const p=.99619469809,b=(0,s.vt)(),_=(0,s.vt)(),g=(0,s.vt)(),M=(0,s.vt)(),S=(0,s.vt)();function v(t,e,n){return e!==t&&u(t,e),t[3]=-(0,o.Om)(t,n),t}function y(t,e,n,r){return(0,o.$A)(g,e,t),l(n,g,r)}function j(t,e,n){return null!=e&&z(P(t,e.origin,e.direction,C,n))}function x(t,e,n){return z(P(t,e.origin,e.vector,0,n))}function O(t,e,n){return z(P(t,e.origin,e.vector,1,n))}function w(t,e){return E(t,e)>=0}function A(t,e){const n=(0,o.Om)(t,e.ray.direction),r=-E(t,e.ray.origin);if(r<0&&n>=0)return!1;if(n>-1e-6&&n<1e-6)return r>0;if((r<0||n<0)&&!(r<0&&n<0))return!0;const s=r/n;return n>0?s<e.c1&&(e.c1=s):s>e.c0&&(e.c0=s),e.c0<=e.c1}function T(t,e,n){const r=(0,o.hs)(i.rq.get(),t,-t[3]),s=function(t,e,n){const r=(0,o.hs)(i.rq.get(),t,(0,o.Om)(t,e));return(0,o.Re)(n,e,r),n}(t,(0,o.Re)(i.rq.get(),e,r),i.rq.get());return(0,o.WQ)(n,s,r),n}function E(t,e){return(0,o.Om)(t,e)+t[3]}function z(t){return 0===t||1===t}function P(t,e,n,s,i){const a=(0,o.Om)(t,n),c=E(t,e);if(0===a)return c>=0?2:3;let u=-c/a;return 1&s&&(u=(0,r.qE)(u,0,1)),!(4&s)&&u<0||!(8&s)&&u>1?c>=0?2:3:((0,o.WQ)(i,e,(0,o.hs)(i,n,u)),c>=0?0:1)}const N=[0,0,1,0],C=8},29242(t,e,n){function r(){return[1,0,0,0,1,0,0,0,1]}function o(t,e,n,r,o,s,i,a,c){return[t,e,n,r,o,s,i,a,c]}n.d(e,{fA:()=>o,vt:()=>r,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:r,fromValues:o},Symbol.toStringTag,{value:"Module"}))},31635(t,e,n){function r(t,e,n,r){var o,s=arguments.length,i=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(i=(s<3?o(i):s>3?o(e,n,i):o(e,n))||i);return s>3&&i&&Object.defineProperty(e,n,i),i}function o(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>i,mS:()=>o}),Object.create,Object.create;var s="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function i(t){function e(e){t.error=t.hasError?new s(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function o(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(o);if(n.dispose){var s=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(s).then(o,function(t){return e(t),o()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},32114(t,e,n){n.d(e,{Rc:()=>f,J8:()=>m,rq:()=>d,Km:()=>l}),n(44208);var r=n(26390),o=n(29242),s=n(9093),i=n(82534),a=n(48163),c=n(51850),u=n(91829);class h{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,r.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new h(a.vt)}static createVec3f64(){return new h(c.vt)}static createVec4f64(){return new h(u.vt)}static createMat3f64(){return new h(o.vt)}static createMat4f64(){return new h(s.vt)}static createQuatf64(){return new h(i.vt)}get test(){}}h.createVec2f64();const d=h.createVec3f64(),l=h.createVec4f64(),f=(h.createMat3f64(),h.createMat4f64()),m=h.createQuatf64()},32728(t,e,n){n.d(e,{nu:()=>i,wp:()=>s}),n(34727);var r=n(35522),o=n(51850);function s(t,e){const n=Math.sqrt(e[0]*e[0]+e[4]*e[4]+e[8]*e[8]),o=Math.sqrt(e[1]*e[1]+e[5]*e[5]+e[9]*e[9]),s=Math.sqrt(e[2]*e[2]+e[6]*e[6]+e[10]*e[10]);return(0,r.hZ)(t,n,o,s),t}function i(t,e,n,s=(0,o.vt)()){const i=(0,r.Bw)(t),u=(0,r.Bw)(e),h=(0,r.Om)(t,e)/(i*u);if(h<.9999999999999999){const o=Math.acos(h),d=((1-n)*i+n*u)/Math.sin(o),l=d/i*Math.sin((1-n)*o),f=d/u*Math.sin(n*o);return(0,r.hs)(a,t,l),(0,r.hs)(c,e,f),(0,r.WQ)(s,a,c)}return(0,r.Cc)(s,t,e,n)}(0,o.vt)(),(0,o.vt)(),(0,o.vt)();const a=(0,o.vt)(),c=(0,o.vt)()},44280(t,e,n){n.d(e,{EJ:()=>c,g7:()=>a,gr:()=>i});var r=n(34727),o=n(35522),s=n(51850);function i(t,e){return(0,o.Om)(t,e)/(0,o.Bw)(t)}function a(t,e){const n=(0,o.Om)(t,e)/((0,o.Bw)(t)*(0,o.Bw)(e));return-(0,r.XM)(n)}function c(t,e,n){(0,o.S8)(u,t),(0,o.S8)(h,e);const s=(0,o.Om)(u,h),i=(0,r.XM)(s),a=(0,o.$A)(u,u,h);return(0,o.Om)(a,n)<0?2*Math.PI-i:i}const u=(0,s.vt)(),h=(0,s.vt)()},70491(t,e,n){n.r(e),n.d(e,{default:()=>U});var r=n(31635),o=n(74887),s=n(24326),i=n(91429),a=n(35522),c=n(51850),u=n(11964),h=n(94008),d=n(93687),l=n(15142),f=n(82919),m=n(71351),p=n(620);class b{get bounds(){return this._root.bounds}get halfSize(){return this._root.halfSize}get root(){return this._root.node}get maximumObjectsPerNode(){return this._maximumObjectsPerNode}get maximumDepth(){return this._maximumDepth}get objectCount(){return this._objectCount}constructor(t,e){this.objectToBoundingSphere=t,this._maximumObjectsPerNode=10,this._maximumDepth=20,this._degenerateObjects=new Set,this._root=new _,this._objectCount=0,e&&(void 0!==e.maximumObjectsPerNode&&(this._maximumObjectsPerNode=e.maximumObjectsPerNode),void 0!==e.maximumDepth&&(this._maximumDepth=e.maximumDepth))}destroy(){this._degenerateObjects.clear(),_.clearPool(),C[0]=null,I.prune(),Q.prune()}add(t){const e=Array.from(t);this._grow(e);const n=_.acquire();for(const t of e)++this._objectCount,this._isDegenerate(t)?this._degenerateObjects.add(t):(n.init(this._root),this._add(t,n));_.release(n)}remove(t,e=null){this._objectCount-=t.length;const n=_.acquire();for(const r of t){const t=e??this.objectToBoundingSphere(r);E(t.radius)?(n.init(this._root),S(r,t,n)):this._degenerateObjects.delete(r)}_.release(n),this._shrink()}update(t,e){if(!E(e.radius)&&this._isDegenerate(t))return;const n=function(t){return C[0]=t,C}(t);this.remove(n,e),this.add(n)}forEachAlongRay(t,e,n){const r=(0,m.LV)(t,e);g(this._root,t=>{if(!function(t,e){return O(e.bounds.center,2*-e.halfSize,B),O(e.bounds.center,2*e.halfSize,q),(0,p.O_)(t.origin,t.direction,B,q)}(r,t))return!1;const e=t.node;return e.terminals.forAll(t=>{this._intersectsObject(r,t)&&n(t)}),null!==e.residents&&e.residents.forAll(t=>{this._intersectsObject(r,t)&&n(t)}),!0})}forEachAlongRayWithVerticalOffset(t,e,n,r){const o=(0,m.LV)(t,e);g(this._root,t=>{if(!function(t,e,n){return O(e.bounds.center,2*-e.halfSize,B),O(e.bounds.center,2*e.halfSize,q),n.applyToMinMax(B,q),(0,p.O_)(t.origin,t.direction,B,q)}(o,t,r))return!1;const e=t.node;return e.terminals.forAll(t=>{this._intersectsObjectWithOffset(o,t,r)&&n(t)}),null!==e.residents&&e.residents.forAll(t=>{this._intersectsObjectWithOffset(o,t,r)&&n(t)}),!0})}forEach(t){g(this._root,e=>{const n=e.node;return n.terminals.forAll(t),null!==n.residents&&n.residents.forAll(t),!0}),this._degenerateObjects.forEach(t)}forEachDegenerateObject(t){this._degenerateObjects.forEach(t)}findClosest(t,e,n,r=()=>!0,o=1/0){let s=1/0,i=1/0,c=null;const u=A(t,e),h=a=>{if(--o,!r(a))return;const u=this.objectToBoundingSphere(a);if(!(0,f.m7)(n,u))return;const h=T(t,e,u.center),d=h-u.radius,l=h+u.radius;d<s&&(s=d,i=l,c=a)};return M(this._root,r=>{if(o<=0||!(0,f.m7)(n,r.bounds))return!1;if((0,a.hs)(R,u,r.halfSize),(0,a.WQ)(R,R,r.bounds.center),T(t,e,R)>i)return!1;const s=r.node;return s.terminals.forAll(t=>h(t)),null!==s.residents&&s.residents.forAll(t=>h(t)),!0},t,e),c}forEachInDepthRange(t,e,n,r,o,s,i){let c=-1/0,u=1/0;const h={setRange:t=>{1===n?(c=Math.max(c,t.near),u=Math.min(u,t.far)):(c=Math.max(c,-t.far),u=Math.min(u,-t.near))}};h.setRange(r);const d=T(e,n,t),l=A(e,n),m=A(e,-n),p=t=>{if(!i(t))return;const r=this.objectToBoundingSphere(t),a=T(e,n,r.center)-d,l=a-r.radius,m=a+r.radius;l>u||m<c||!(0,f.m7)(s,r)||o(t,h)};M(this._root,t=>{if(!(0,f.m7)(s,t.bounds))return!1;if((0,a.hs)(R,l,t.halfSize),(0,a.WQ)(R,R,t.bounds.center),T(e,n,R)-d>u)return!1;if((0,a.hs)(R,m,t.halfSize),(0,a.WQ)(R,R,t.bounds.center),T(e,n,R)-d<c)return!1;const r=t.node;return r.terminals.forAll(t=>p(t)),null!==r.residents&&r.residents.forAll(t=>p(t)),!0},e,n)}forEachNode(t){g(this._root,e=>t(e.node,e.bounds,e.halfSize,e.depth))}forEachNeighbor(t,e){const n=e.radius,r=e.center,o=e=>{const o=this.objectToBoundingSphere(e),s=o.radius,i=n+s;return!((0,a.hG)(o.center,r)-i*i<=0)||t(e)};let s=!0;const i=t=>{s&&(s=o(t))};g(this._root,t=>{const e=t.bounds.radius,o=n+e;if((0,a.hG)(t.bounds.center,r)-o*o>0)return!1;const c=t.node;return c.terminals.forAll(i),s&&null!==c.residents&&c.residents.forAll(i),s}),s&&this.forEachDegenerateObject(i)}_intersectsObject(t,e){const n=this.objectToBoundingSphere(e);return!(n.radius>0)||n.intersectRay(t)}_intersectsObjectWithOffset(t,e,n){const r=this.objectToBoundingSphere(e);return!(r.radius>0)||n.applyToBoundingSphere(r).intersectRay(t)}_add(t,e){e.advanceTo(this.objectToBoundingSphere(t))?e.node.terminals.push(t):(e.node.residents.push(t),e.node.residents.length>this._maximumObjectsPerNode&&e.depth<this._maximumDepth&&this._split(e))}_split(t){const e=t.node.residents;t.node.residents=null;for(let n=0;n<e.length;n++){const r=_.acquire().init(t);this._add(e.at(n),r),_.release(r)}}_grow(t){if(w(t,t=>this.objectToBoundingSphere(t),F),E(F.radius)&&!this._fitsInsideTree(F))if(y(this._root.node))this._root.bounds.copyFrom(F),this._root.halfSize=1.25*this._root.bounds.radius,this._root.updateBoundsRadiusFromHalfSize();else{const t=this._rootBoundsForRootAsSubNode(F);this._placingRootViolatesMaxDepth(t)?this._rebuildTree(F,t):this._growRootAsSubNode(t),_.release(t)}}_rebuildTree(t,e){V.center=e.bounds.center,V.radius=e.halfSize,w([t,V],t=>t,L);const n=_.acquire().init(this._root);this._root.initFrom(null,L,L.radius),this._root.increaseHalfSize(1.25),g(n,t=>(this.add(t.node.terminals.data),null!==t.node.residents&&this.add(t.node.residents.data),!0)),_.release(n)}_placingRootViolatesMaxDepth(t){const e=Math.log(t.halfSize/this._root.halfSize)*Math.LOG2E;let n=0;return g(this._root,t=>(n=Math.max(n,t.depth),n+e<=this._maximumDepth)),n+e>this._maximumDepth}_rootBoundsForRootAsSubNode(t){const e=t.radius,n=t.center;let r=-1/0;const o=this._root.bounds.center,s=this._root.halfSize;for(let t=0;t<3;t++){const i=o[t]-s-(n[t]-e),a=n[t]+e-(o[t]+s),c=Math.max(0,Math.ceil(i/(2*s))),u=Math.max(0,Math.ceil(a/(2*s)))+1,h=2**Math.ceil(Math.log(c+u)*Math.LOG2E);r=Math.max(r,h),k[t].min=c,k[t].max=u}for(let t=0;t<3;t++){let e=k[t].min,n=k[t].max;const i=(r-(e+n))/2;e+=Math.ceil(i),n+=Math.floor(i);const a=o[t]-s-e*s*2;D.center[t]=a+(n+e)*s}const i=r*s;return D.radius=i*N,_.acquire().initFrom(null,D,i,0)}_growRootAsSubNode(t){const e=this._root.node;F.center=this._root.bounds.center,F.radius=this._root.halfSize,this._root.init(t),t.advanceTo(F,null,!0),t.node.children=e.children,t.node.residents=e.residents,t.node.terminals=e.terminals}_shrink(){for(;;){const t=this._findShrinkIndex();if(-1===t)break;this._root.advance(t),this._root.depth=0}}_findShrinkIndex(){if(0!==this._root.node.terminals.length||this._root.isLeaf())return-1;let t=null;const e=this._root.node.children;let n=0,r=0;for(;r<e.length&&null==t;)n=r++,t=e[n];for(;r<e.length;)if(e[r++])return-1;return n}_isDegenerate(t){return!E(this.objectToBoundingSphere(t).radius)}_fitsInsideTree(t){const e=this._root.bounds,n=this._root.halfSize;return t.radius<=n&&t.center[0]>=e.center[0]-n&&t.center[0]<=e.center[0]+n&&t.center[1]>=e.center[1]-n&&t.center[1]<=e.center[1]+n&&t.center[2]>=e.center[2]-n&&t.center[2]<=e.center[2]+n}toJSON(){const{maximumDepth:t,maximumObjectsPerNode:e,_objectCount:n}=this,r=this._nodeToJSON(this._root.node);return{maximumDepth:t,maximumObjectsPerNode:e,objectCount:n,root:{bounds:this._root.bounds,halfSize:this._root.halfSize,depth:this._root.depth,node:r}}}_nodeToJSON(t){const e=t.children.map(t=>t?this._nodeToJSON(t):null),n=t.residents?.map(t=>this.objectToBoundingSphere(t)),r=t.terminals?.map(t=>this.objectToBoundingSphere(t));return{children:e,residents:n,terminals:r}}static fromJSON(t){const e=new b(t=>t,{maximumDepth:t.maximumDepth,maximumObjectsPerNode:t.maximumObjectsPerNode});return e._objectCount=t.objectCount,e._root.initFrom(t.root.node,t.root.bounds,t.root.halfSize,t.root.depth),e}}class _{constructor(){this.bounds=new h.iy,this.halfSize=0,this.initFrom(null,null,0,0)}init(t){return this.initFrom(t.node,t.bounds,t.halfSize,t.depth)}initFrom(t,e,n,r=this.depth){return this.node=null!=t?t:_.createEmptyNode(),e&&this.bounds.copyFrom(e),this.halfSize=n,this.depth=r,this}increaseHalfSize(t){this.halfSize*=t,this.updateBoundsRadiusFromHalfSize()}updateBoundsRadiusFromHalfSize(){this.bounds.radius=this.halfSize*N}advance(t){let e=this.node.children[t];e||(e=_.createEmptyNode(),this.node.children[t]=e),this.node=e,this.halfSize/=2,this.depth++;const n=z[t];return this.bounds.center[0]+=n[0]*this.halfSize,this.bounds.center[1]+=n[1]*this.halfSize,this.bounds.center[2]+=n[2]*this.halfSize,this.updateBoundsRadiusFromHalfSize(),this}advanceTo(t,e,n=!1){for(;;){if(this.isTerminalFor(t))return e?.(this,-1),!0;if(this.isLeaf()){if(!n)return e?.(this,-1),!1;this.node.residents=null}const r=this._childIndex(t);e?.(this,r),this.advance(r)}}isLeaf(){return null!=this.node.residents}isTerminalFor(t){return t.radius>this.halfSize/2}_childIndex(t){const e=this.bounds.center;return(e[0]<t.center[0]?1:0)+(e[1]<t.center[1]?2:0)+(e[2]<t.center[2]?4:0)}static createEmptyNode(){return{children:[null,null,null,null,null,null,null,null],terminals:new l.A({shrink:!0}),residents:new l.A({shrink:!0})}}static{this._pool=new d.A(()=>new _)}static acquire(){return _._pool.acquire()}static release(t){_._pool.release(t)}static clearPool(){_._pool.prune()}}function g(t,e){let n=_.acquire().init(t);const r=[n];for(;0!==r.length;){if(n=r.pop(),e(n)&&!n.isLeaf())for(let t=0;t<n.node.children.length;t++)n.node.children[t]&&r.push(_.acquire().init(n).advance(t));_.release(n)}}function M(t,e,n,r=1){let o=_.acquire().init(t);const s=[o];for(function(t,e,n){if(!Q.length)for(let t=0;t<8;++t)Q.push({index:0,distance:0});for(let n=0;n<8;++n){const r=z[n];Q.data[n].index=n,Q.data[n].distance=T(t,e,r)}Q.sort((t,e)=>t.distance-e.distance);for(let t=0;t<8;++t)n[t]=Q.data[t].index}(n,r,W);0!==s.length;){if(o=s.pop(),e(o)&&!o.isLeaf())for(let t=7;t>=0;--t){const e=W[t];o.node.children[e]&&s.push(_.acquire().init(o).advance(e))}_.release(o)}}function S(t,e,n){I.clear();const r=n.advanceTo(e,(t,e)=>{I.push(t.node),I.push(e)})?n.node.terminals:n.node.residents;if(r.removeUnordered(t),0===r.length)for(let t=I.length-2;t>=0&&v(I.data[t],I.data[t+1]);t-=2);}function v(t,e){return e>=0&&(t.children[e]=null),!!y(t)&&(null===t.residents&&(t.residents=new l.A({shrink:!0})),!0)}function y(t){if(0!==t.terminals.length)return!1;if(null!==t.residents)return 0===t.residents.length;for(let e=0;e<t.children.length;e++)if(t.children[e])return!1;return!0}function j(t,e){t[0]=Math.min(t[0],e.center[0]-e.radius),t[1]=Math.min(t[1],e.center[1]-e.radius),t[2]=Math.min(t[2],e.center[2]-e.radius)}function x(t,e){t[0]=Math.max(t[0],e.center[0]+e.radius),t[1]=Math.max(t[1],e.center[1]+e.radius),t[2]=Math.max(t[2],e.center[2]+e.radius)}function O(t,e,n){n[0]=t[0]+e,n[1]=t[1]+e,n[2]=t[2]+e}function w(t,e,n){B[0]=1/0,B[1]=1/0,B[2]=1/0,q[0]=-1/0,q[1]=-1/0,q[2]=-1/0;for(const n of t){const t=e(n);E(t.radius)&&(j(B,t),x(q,t))}(0,a.Cc)(n.center,B,q,.5),n.radius=Math.max(q[0]-B[0],q[1]-B[1],q[2]-B[2])/2}function A(t,e){let n,r=1/0;for(let o=0;o<8;++o){const s=T(t,e,P[o]);s<r&&(r=s,n=P[o])}return n}function T(t,e,n){return e*(t[0]*n[0]+t[1]*n[1]+t[2]*n[2])}function E(t){return!isNaN(t)&&t!==-1/0&&t!==1/0&&t>0}const z=[(0,c.fA)(-1,-1,-1),(0,c.fA)(1,-1,-1),(0,c.fA)(-1,1,-1),(0,c.fA)(1,1,-1),(0,c.fA)(-1,-1,1),(0,c.fA)(1,-1,1),(0,c.fA)(-1,1,1),(0,c.fA)(1,1,1)],P=[(0,c.fA)(-1,-1,-1),(0,c.fA)(-1,-1,1),(0,c.fA)(-1,1,-1),(0,c.fA)(-1,1,1),(0,c.fA)(1,-1,-1),(0,c.fA)(1,-1,1),(0,c.fA)(1,1,-1),(0,c.fA)(1,1,1)],N=Math.sqrt(3),C=[null],D=new h.iy,R=(0,c.vt)(),B=(0,c.vt)(),q=(0,c.vt)(),I=new l.A,F=new h.iy,V=new h.iy,L=new h.iy,k=[{min:0,max:0},{min:0,max:0},{min:0,max:0}],Q=new l.A,W=[0,0,0,0,0,0,0,0];var J=n(53099);function H(t,e,n){const r=new h.iy;return(0,a.hs)(r.center,t,.5),(0,a.Ln)(r.center,r.center,e,.5),r.radius=(0,a.Io)(r.center,t),(0,a.WQ)(r.center,r.center,n),r}class K{constructor(t,e,n){this.objectId=t,this.target=e,this.distance=n}}class G extends K{constructor(t,e,n){super(t,e,n),this.type="vertex"}}class Y extends K{constructor(t,e,n,r,o){super(t,e,n),this.start=r,this.end=o,this.type="edge"}}let $=class{constructor(){this._idToComponent=new Map,this._components=new b(t=>t.bounds),this._edges=new b(t=>t.bounds),this._tmpLineSegment=(0,u.vt)(),this._tmpP1=(0,c.vt)(),this._tmpP2=(0,c.vt)(),this._tmpP3=(0,c.vt)(),this.remoteClient=null}async fetchCandidates(t,e){await Promise.resolve(),(0,o.Te)(e);const n=t;n.mbs=new h.iy(t.mbsJSON),await this._ensureEdgeLocations(n,e);const r=[];return this._edges.forEachNeighbor(t=>(this._addCandidates(n,t,r),r.length<1e3),n.mbs),{result:{candidates:r}}}async _ensureEdgeLocations(t,e){const n=[];if(this._components.forEachNeighbor(t=>{if(null==t.info){const{id:e,uid:r}=t;n.push({id:e,uid:r})}return!0},t.mbs),!n.length)return;const r={components:n},o=await this.remoteClient.invoke("fetchAllEdgeLocations",r,e??{});for(const t of o.components)this._setFetchEdgeLocations(t)}async add(t){const e=new Z(t.id,new h.iy(t.bounds));return this._idToComponent.set(e.id,e),this._components.add([e]),{result:{}}}async remove(t){const e=this._idToComponent.get(t.id);if(e){const t=[];this._edges.forEachNeighbor(n=>(n.component===e&&t.push(n),!0),e.bounds),this._edges.remove(t),this._components.remove([e]),this._idToComponent.delete(e.id)}return{result:{}}}_setFetchEdgeLocations(t){const e=this._idToComponent.get(t.id);if(null==e||t.uid!==e.uid)return;const n=J.HY.createView(t.locations),r=new Array(n.count),o=(0,c.vt)(),s=(0,c.vt)();for(let i=0;i<n.count;i++){n.position0.getVec(i,o),n.position1.getVec(i,s);const a=H(o,s,t.origin),c=new tt(e,i,a);r[i]=c}this._edges.add(r);const{objectIds:i,origin:a}=t;e.info={locations:n,objectIds:i,origin:a}}_addCandidates(t,e,n){const{info:r}=e.component,{origin:o,objectIds:s}=r,i=r.locations,c=i.position0.getVec(e.index,this._tmpP1),u=i.position1.getVec(e.index,this._tmpP2);(0,a.WQ)(c,c,o),(0,a.WQ)(u,u,o);const h=s[i.componentIndex.get(e.index)];this._addEdgeCandidate(t,h,c,u,n),X(t,h,c,n),X(t,h,u,n)}_addEdgeCandidate(t,e,n,r,o){if(!t.returnEdge)return;const s=t.mbs.center,i=(0,u.Cr)(n,r,this._tmpLineSegment),h=(0,u._I)(i,s,this._tmpP3);t.mbs.contains(h)&&o.push(new Y(e,(0,c.o8)(h),(0,a.Io)(s,h),(0,c.o8)(n),(0,c.o8)(r)))}};$=(0,r.Cg)([(0,i.$K)("esri.views.interactive.snapping.featureSources.sceneLayerSource.SceneLayerSnappingSourceWorker")],$);const U=$;function X(t,e,n,r){t.returnVertex&&t.mbs.contains(n)&&r.push(new G(e,(0,c.o8)(n),(0,a.Io)(t.mbs.center,n)))}class Z{constructor(t,e){this.id=t,this.bounds=e,this.info=null,this.uid=(0,s.c)()}}class tt{constructor(t,e,n){this.component=t,this.index=e,this.bounds=n}}},77690(t,e,n){n.d(e,{B8:()=>a,Ge:()=>f,I0:()=>l,KC:()=>c,a4:()=>u,hZ:()=>s,hs:()=>d,lw:()=>h,mg:()=>i,z0:()=>o});var r=n(34304);function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function s(t,e,n,r,o,s,i,a,c,u){return t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=s,t[5]=i,t[6]=a,t[7]=c,t[8]=u,t}function i(t,e){if(t===e){const n=e[1],r=e[2],o=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=r,t[7]=o}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t}function a(t,e){const n=e[0],r=e[1],o=e[2],s=e[3],i=e[4],a=e[5],c=e[6],u=e[7],h=e[8],d=h*i-a*u,l=-h*s+a*c,f=u*s-i*c;let m=n*d+r*l+o*f;return m?(m=1/m,t[0]=d*m,t[1]=(-h*r+o*u)*m,t[2]=(a*r-o*i)*m,t[3]=l*m,t[4]=(h*n-o*c)*m,t[5]=(-a*n+o*s)*m,t[6]=f*m,t[7]=(-u*n+r*c)*m,t[8]=(i*n-r*s)*m,t):null}function c(t,e){const n=e[0],r=e[1],o=e[2],s=e[3],i=e[4],a=e[5],c=e[6],u=e[7],h=e[8];return t[0]=i*h-a*u,t[1]=o*u-r*h,t[2]=r*a-o*i,t[3]=a*c-s*h,t[4]=n*h-o*c,t[5]=o*s-n*a,t[6]=s*u-i*c,t[7]=r*c-n*u,t[8]=n*i-r*s,t}function u(t){const e=t[0],n=t[1],r=t[2],o=t[3],s=t[4],i=t[5],a=t[6],c=t[7],u=t[8];return e*(u*s-i*c)+n*(-u*o+i*a)+r*(c*o-s*a)}function h(t,e,n){const r=e[0],o=e[1],s=e[2],i=e[3],a=e[4],c=e[5],u=e[6],h=e[7],d=e[8],l=n[0],f=n[1],m=n[2],p=n[3],b=n[4],_=n[5],g=n[6],M=n[7],S=n[8];return t[0]=l*r+f*i+m*u,t[1]=l*o+f*a+m*h,t[2]=l*s+f*c+m*d,t[3]=p*r+b*i+_*u,t[4]=p*o+b*a+_*h,t[5]=p*s+b*c+_*d,t[6]=g*r+M*i+S*u,t[7]=g*o+M*a+S*h,t[8]=g*s+M*c+S*d,t}function d(t,e,n){const r=n[0],o=n[1],s=n[2];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[5],t[6]=s*e[6],t[7]=s*e[7],t[8]=s*e[8],t}function l(t,e){const n=e[0],r=e[1],o=e[2],s=e[3],i=n+n,a=r+r,c=o+o,u=n*i,h=r*i,d=r*a,l=o*i,f=o*a,m=o*c,p=s*i,b=s*a,_=s*c;return t[0]=1-d-m,t[3]=h-_,t[6]=l+b,t[1]=h+_,t[4]=1-u-m,t[7]=f-p,t[2]=l-b,t[5]=f+p,t[8]=1-u-d,t}function f(t,e){const n=e[0],r=e[1],o=e[2],s=e[3],i=e[4],a=e[5],c=e[6],u=e[7],h=e[8],d=e[9],l=e[10],f=e[11],m=e[12],p=e[13],b=e[14],_=e[15],g=n*a-r*i,M=n*c-o*i,S=n*u-s*i,v=r*c-o*a,y=r*u-s*a,j=o*u-s*c,x=h*p-d*m,O=h*b-l*m,w=h*_-f*m,A=d*b-l*p,T=d*_-f*p,E=l*_-f*b;let z=g*E-M*T+S*A+v*w-y*O+j*x;return z?(z=1/z,t[0]=(a*E-c*T+u*A)*z,t[1]=(c*w-i*E-u*O)*z,t[2]=(i*T-a*w+u*x)*z,t[3]=(o*T-r*E-s*A)*z,t[4]=(n*E-o*w+s*O)*z,t[5]=(r*w-n*T-s*x)*z,t[6]=(p*j-b*y+_*v)*z,t[7]=(b*S-m*j-_*M)*z,t[8]=(m*y-p*S+_*g)*z,t):null}function m(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t}const p=h,b=m;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t},adjoint:c,copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},determinant:u,equals:function(t,e){const n=t[0],o=t[1],s=t[2],i=t[3],a=t[4],c=t[5],u=t[6],h=t[7],d=t[8],l=e[0],f=e[1],m=e[2],p=e[3],b=e[4],_=e[5],g=e[6],M=e[7],S=e[8],v=(0,r.FD)();return Math.abs(n-l)<=v*Math.max(1,Math.abs(n),Math.abs(l))&&Math.abs(o-f)<=v*Math.max(1,Math.abs(o),Math.abs(f))&&Math.abs(s-m)<=v*Math.max(1,Math.abs(s),Math.abs(m))&&Math.abs(i-p)<=v*Math.max(1,Math.abs(i),Math.abs(p))&&Math.abs(a-b)<=v*Math.max(1,Math.abs(a),Math.abs(b))&&Math.abs(c-_)<=v*Math.max(1,Math.abs(c),Math.abs(_))&&Math.abs(u-g)<=v*Math.max(1,Math.abs(u),Math.abs(g))&&Math.abs(h-M)<=v*Math.max(1,Math.abs(h),Math.abs(M))&&Math.abs(d-S)<=v*Math.max(1,Math.abs(d),Math.abs(S))},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[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,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t},fromMat4:o,fromQuat:l,fromRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[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:a,isOrthoNormal:function(t){const e=(0,r.FD)(),n=t[0],o=t[1],s=t[2],i=t[3],a=t[4],c=t[5],u=t[6],h=t[7],d=t[8];return Math.abs(1-(n*n+i*i+u*u))<=e&&Math.abs(1-(o*o+a*a+h*h))<=e&&Math.abs(1-(s*s+c*c+d*d))<=e},mul:p,multiply:h,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t},normalFromMat4:f,normalFromMat4Legacy:function(t,e){const n=e[0],r=e[1],o=e[2],s=e[4],i=e[5],a=e[6],c=e[8],u=e[9],h=e[10],d=h*i-a*u,l=-h*s+a*c,f=u*s-i*c,m=n*d+r*l+o*f;if(!m)return null;const p=1/m;return t[0]=d*p,t[1]=(-h*r+o*u)*p,t[2]=(a*r-o*i)*p,t[3]=l*p,t[4]=(h*n-o*c)*p,t[5]=(-a*n+o*s)*p,t[6]=f*p,t[7]=(-u*n+r*c)*p,t[8]=(i*n-r*s)*p,t},projection:function(t,e,n){return t[0]=2/e,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/n,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,e,n){const r=e[0],o=e[1],s=e[2],i=e[3],a=e[4],c=e[5],u=e[6],h=e[7],d=e[8],l=Math.sin(n),f=Math.cos(n);return t[0]=f*r+l*i,t[1]=f*o+l*a,t[2]=f*s+l*c,t[3]=f*i-l*r,t[4]=f*a-l*o,t[5]=f*c-l*s,t[6]=u,t[7]=h,t[8]=d,t},scale:d,scaleByVec2:function(t,e,n){const r=n[0],o=n[1];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[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:b,subtract:m,translate:function(t,e,n){const r=e[0],o=e[1],s=e[2],i=e[3],a=e[4],c=e[5],u=e[6],h=e[7],d=e[8],l=n[0],f=n[1];return t[0]=r,t[1]=o,t[2]=s,t[3]=i,t[4]=a,t[5]=c,t[6]=l*r+f*i+u,t[7]=l*o+f*a+h,t[8]=l*s+f*c+d,t},transpose:i},Symbol.toStringTag,{value:"Module"}))},82534(t,e,n){function r(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}n.d(e,{o8:()=>o,vt:()=>r,zK:()=>s});const s=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:o,create:r,fromValues:function(t,e,n,r){return[t,e,n,r]}},Symbol.toStringTag,{value:"Module"}))},91869(t,e,n){function r(t,e){for(const n of t.values())if(e(n))return!0;return!1}function o(t,e,n){const r=t.get(e);if(void 0!==r)return r;const o=n();return t.set(e,o),o}function s(t){const e=new Map;return n=>(e.has(n)||e.set(n,t(n)),e.get(n))}n.d(e,{Bj:()=>s,Bs:()=>r,tE:()=>o})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2997],{42997(r,e,t){async function n(r={}){var e,t=r,n="";try{n=new URL(".","").href}catch{}e=async r=>{var e=await fetch(r,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)};var a,o,i,u,s,f,l,c,h,p,v,y,d,m,w=console.log.bind(console),g=console.error.bind(console),b=!1,A=!1;function T(){var r=br.buffer;t.HEAP8=u=new Int8Array(r),t.HEAP16=f=new Int16Array(r),s=new Uint8Array(r),l=new Uint16Array(r),t.HEAP32=c=new Int32Array(r),h=new Uint32Array(r),t.HEAPF32=p=new Float32Array(r),t.HEAPF64=v=new Float64Array(r),y=new BigInt64Array(r),d=new BigUint64Array(r)}function P(r){t.onAbort?.(r),g(r="Aborted("+r+")"),b=!0,r+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(r);throw i?.(e),e}async function E(r){if(!a)try{var t=await e(r);return new Uint8Array(t)}catch{}return function(r){if(r==m&&a)return new Uint8Array(a);throw"both async and sync fetching of the wasm failed"}(r)}var F=r=>{for(;r.length>0;)r.shift()(t)},W=[],R=r=>W.push(r),C=[],$=r=>C.push(r),I=r=>wr(r),k=()=>gr(),B=new TextDecoder,U=(r,e,t,n)=>{var a=e+t;if(n)return a;for(;r[e]&&!(e>=a);)++e;return e},x=(r,e,t)=>{if(!r)return"";var n=U(s,r,e,t);return B.decode(s.subarray(r,n))},O=r=>{for(var e="";;){var t=s[r++];if(!t)return e;e+=String.fromCharCode(t)}},V={},S={},M={},H=class extends Error{constructor(r){super(r),this.name="BindingError"}},D=r=>{throw new H(r)};function L(r,e,t={}){return function(r,e,t={}){var n=e.name;if(r||D(`type "${n}" must have a positive integer typeid pointer`),S.hasOwnProperty(r)){if(t.ignoreDuplicateRegistrations)return;D(`Cannot register type '${n}' twice`)}if(S[r]=e,delete M[r],V.hasOwnProperty(r)){var a=V[r];delete V[r],a.forEach(r=>r())}}(r,e,t)}var j=(r,e,t)=>{switch(e){case 1:return t?r=>u[r]:r=>s[r];case 2:return t?r=>f[r>>1]:r=>l[r>>1];case 4:return t?r=>c[r>>2]:r=>h[r>>2];case 8:return t?r=>y[r>>3]:r=>d[r>>3];default:throw new TypeError(`invalid integer width (${e}): ${r}`)}},z=[],N=[0,1,,1,null,1,!0,1,!1,1];function _(r){return this.fromWireType(h[r>>2])}var q={name:"emscripten::val",fromWireType:r=>{var e=(r=>(r||D(`Cannot use deleted val. handle = ${r}`),N[r]))(r);return(r=>{r>9&&0===--N[r+1]&&(N[r]=void 0,z.push(r))})(r),e},toWireType:(r,e)=>(r=>{switch(r){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const e=z.pop()||N.length;return N[e]=r,N[e+1]=1,e}}})(e),readValueFromPointer:_,destructorFunction:null},Y=(r,e)=>{switch(e){case 4:return function(r){return this.fromWireType(p[r>>2])};case 8:return function(r){return this.fromWireType(v[r>>3])};default:throw new TypeError(`invalid float width (${e}): ${r}`)}};var G=(r,e,t)=>{if(void 0===r[e].overloadTable){var n=r[e];r[e]=function(...n){return r[e].overloadTable.hasOwnProperty(n.length)||D(`Function '${t}' called with an invalid number of arguments (${n.length}) - expects one of (${r[e].overloadTable})!`),r[e].overloadTable[n.length].apply(this,n)},r[e].overloadTable=[],r[e].overloadTable[n.argCount]=n}},J=(r,e,n)=>{t.hasOwnProperty(r)?((void 0===n||void 0!==t[r].overloadTable&&void 0!==t[r].overloadTable[n])&&D(`Cannot register public name '${r}' twice`),G(t,r,r),t[r].overloadTable.hasOwnProperty(n)&&D(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),t[r].overloadTable[n]=e):(t[r]=e,t[r].argCount=n)},K=class extends Error{constructor(r){super(r),this.name="InternalError"}},Q=r=>{throw new K(r)},X=(r,e,n)=>{t.hasOwnProperty(r)||Q("Replacing nonexistent public symbol"),void 0!==t[r].overloadTable&&void 0!==n?t[r].overloadTable[n]=e:(t[r]=e,t[r].argCount=n)},Z=r=>Ar.get(r);class rr extends Error{}var er=r=>{var e=vr(r),t=O(e);return dr(e),t},tr=new TextDecoder("utf-16le"),nr=(r,e,t)=>{var n=r>>1,a=U(l,n,e/2,t);return tr.decode(l.subarray(n,a))},ar=(r,e,t)=>{if(t??=2147483647,t<2)return 0;for(var n=e,a=(t-=2)<2*r.length?t/2:r.length,o=0;o<a;++o){var i=r.charCodeAt(o);f[e>>1]=i,e+=2}return f[e>>1]=0,e-n},or=r=>2*r.length,ir=(r,e,t)=>{for(var n="",a=r>>2,o=0;!(o>=e/4);o++){var i=h[a+o];if(!i&&!t)break;n+=String.fromCodePoint(i)}return n},ur=(r,e,t)=>{if(t??=2147483647,t<4)return 0;for(var n=e,a=n+t-4,o=0;o<r.length;++o){var i=r.codePointAt(o);if(i>65535&&o++,c[e>>2]=i,(e+=4)+4>a)break}return c[e>>2]=0,e-n},sr=r=>{for(var e=0,t=0;t<r.length;++t)r.codePointAt(t)>65535&&t++,e+=4;return e},fr=[],lr=(r,e)=>Math.ceil(r/e)*e,cr=r=>{var e=(r-br.buffer.byteLength+65535)/65536|0;try{return br.grow(e),T(),1}catch(r){}},hr=[null,[],[]],pr=(r,e)=>{var t=hr[r];0===e||10===e?((1===r?w:g)(((r,e=0)=>{var t=U(r,e,void 0,void 0);return B.decode(r.buffer?r.subarray(e,t):new Uint8Array(r.slice(e,t)))})(t)),t.length=0):t.push(e)};if(t.noExitRuntime&&t.noExitRuntime,t.print&&(w=t.print),t.printErr&&(g=t.printErr),t.wasmBinary&&(a=t.wasmBinary),t.arguments&&t.arguments,t.thisProgram&&t.thisProgram,t.preInit)for("function"==typeof t.preInit&&(t.preInit=[t.preInit]);t.preInit.length>0;)t.preInit.shift()();var vr,yr,dr,mr,wr,gr,br,Ar,Tr,Pr={6396:r=>{throw new Error("libtess-triangulation: "+x(r))}},Er={a:(r,e,t,n)=>P(`Assertion failed: ${x(r)}, at: `+[e?x(e):"unknown filename",t,n?x(n):"unknown function"]),n:()=>P(""),j:(r,e,t,n,a)=>{e=O(e);const o=0n===n;let i=r=>r;if(o){const r=8*t;i=e=>BigInt.asUintN(r,e),a=i(a)}L(r,{name:e,fromWireType:i,toWireType:(r,e)=>("number"==typeof e&&(e=BigInt(e)),e),readValueFromPointer:j(e,t,!o),destructorFunction:null})},s:(r,e,t,n)=>{L(r,{name:e=O(e),fromWireType:function(r){return!!r},toWireType:function(r,e){return e?t:n},readValueFromPointer:function(r){return this.fromWireType(s[r])},destructorFunction:null})},l:r=>L(r,q),i:(r,e,t)=>{L(r,{name:e=O(e),fromWireType:r=>r,toWireType:(r,e)=>e,readValueFromPointer:Y(e,t),destructorFunction:null})},h:(r,e,t,n,a,o,i,u)=>{var s=((r,e)=>{for(var t=[],n=0;n<r;n++)t.push(h[e+4*n>>2]);return t})(e,t);r=(r=>{const e=(r=r.trim()).indexOf("(");return-1===e?r:r.slice(0,e)})(r=O(r)),a=((r,e)=>{r=O(r);var t=Z(e);return"function"!=typeof t&&D(`unknown function pointer with signature ${r}: ${e}`),t})(n,a),J(r,function(){((r,e)=>{var t=[],n={};throw e.forEach(function r(e){n[e]||S[e]||(M[e]?M[e].forEach(r):(t.push(e),n[e]=!0))}),new rr(`${r}: `+t.map(er).join([", "]))})(`Cannot call ${r} due to unbound types`,s)},e-1),((r,e,t)=>{function n(e){var n=t(e);n.length!==r.length&&Q("Mismatched type converter count");for(var a=0;a<r.length;++a)L(r[a],n[a])}r.forEach(r=>M[r]=e);var a=new Array(e.length),o=[],i=0;for(let[r,t]of e.entries())S.hasOwnProperty(t)?a[r]=S[t]:(o.push(t),V.hasOwnProperty(t)||(V[t]=[]),V[t].push(()=>{a[r]=S[t],++i===o.length&&n(a)}));0===o.length&&n(a)})([],s,t=>{var n=[t[0],null].concat(t.slice(1));return X(r,function(r,e,t,n,a){var o=e.length;o<2&&D("argTypes array size mismatch! Must at least get return value and 'this' types!"),e[1];var i=function(r){for(var e=1;e<r.length;++e)if(null!==r[e]&&void 0===r[e].destructorFunction)return!0;return!1}(e),u=!e[0].isVoid,s=o-2,f=new Array(s),l=[],c=[];return((r,e)=>Object.defineProperty(e,"name",{value:r}))(r,function(...r){c.length=0,l.length=1,l[0]=a;for(var t=0;t<s;++t)f[t]=e[t+2].toWireType(c,r[t]),l.push(f[t]);return function(r){if(i)(r=>{for(;r.length;){var e=r.pop();r.pop()(e)}})(c);else for(var t=2;t<e.length;t++){var n=1===t?void 0:f[t-2];null!==e[t].destructorFunction&&e[t].destructorFunction(n)}if(u)return e[0].fromWireType(r)}(n(...l))})}(r,n,0,a,o),e-1),[]})},c:(r,e,t,n,a)=>{e=O(e);let o=r=>r;if(0===n){var i=32-8*t;o=r=>r<<i>>>i,a=o(a)}L(r,{name:e,fromWireType:o,toWireType:(r,e)=>e,readValueFromPointer:j(e,t,0!==n),destructorFunction:null})},b:(r,e,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][e];function a(r){var e=h[r>>2],t=h[r+4>>2];return new n(u.buffer,t,e)}L(r,{name:t=O(t),fromWireType:a,readValueFromPointer:a},{ignoreDuplicateRegistrations:!0})},m:(r,e)=>{L(r,{name:e=O(e),fromWireType(r){var e,t=h[r>>2];return e=x(r+4,t,!0),dr(r),e},toWireType(r,e){var t;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var n="string"==typeof e;n||ArrayBuffer.isView(e)&&1==e.BYTES_PER_ELEMENT||D("Cannot pass non-string to std::string"),t=n?(r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++t):e+=3}return e})(e):e.length;var a=yr(4+t+1),o=a+4;return h[a>>2]=t,n?((r,e,t)=>{((r,e,t,n)=>{if(!(n>0))return 0;for(var a=t+n-1,o=0;o<r.length;++o){var i=r.codePointAt(o);if(i<=127){if(t>=a)break;e[t++]=i}else if(i<=2047){if(t+1>=a)break;e[t++]=192|i>>6,e[t++]=128|63&i}else if(i<=65535){if(t+2>=a)break;e[t++]=224|i>>12,e[t++]=128|i>>6&63,e[t++]=128|63&i}else{if(t+3>=a)break;e[t++]=240|i>>18,e[t++]=128|i>>12&63,e[t++]=128|i>>6&63,e[t++]=128|63&i,o++}}e[t]=0})(r,s,e,t)})(e,o,t+1):s.set(e,o),null!==r&&r.push(dr,a),a},readValueFromPointer:_,destructorFunction(r){dr(r)}})},f:(r,e,t)=>{var n,a,o;t=O(t),2===e?(n=nr,a=ar,o=or):(n=ir,a=ur,o=sr),L(r,{name:t,fromWireType:r=>{var t=h[r>>2],a=n(r+4,t*e,!0);return dr(r),a},toWireType:(r,n)=>{"string"!=typeof n&&D(`Cannot pass non-string to C++ string type ${t}`);var i=o(n),u=yr(4+i+e);return h[u>>2]=i/e,a(n,u+4,i+e),null!==r&&r.push(dr,u),u},readValueFromPointer:_,destructorFunction(r){dr(r)}})},t:(r,e)=>{L(r,{isVoid:!0,name:e=O(e),fromWireType:()=>{},toWireType:(r,e)=>{}})},o:()=>{throw 1/0},r:(r,e,t)=>((r,e,t)=>{var n=((r,e)=>{var t;for(fr.length=0;t=s[r++];){var n=105!=t;e+=(n&=112!=t)&&e%8?4:0,fr.push(112==t?h[e>>2]:106==t?y[e>>3]:105==t?c[e>>2]:v[e>>3]),e+=n?8:4}return fr})(e,t);return Pr[r](...n)})(r,e,t),p:r=>{var e=s.length,t=2147483648;if((r>>>=0)>t)return!1;for(var n=1;n<=4;n*=2){var a=e*(1+.2/n);a=Math.min(a,r+100663296);var o=Math.min(t,lr(Math.max(r,a),65536));if(cr(o))return!0}return!1},k:(r,e,t,n)=>{for(var a=0,o=0;o<t;o++){var i=h[e>>2],u=h[e+4>>2];e+=8;for(var f=0;f<u;f++)pr(r,s[i+f]);a+=u}return h[n>>2]=a,0},e:function(r,e){var t=k();try{return Z(r)(e)}catch(r){if(I(t),r!==r+0)throw r;mr(1,0)}},q:function(r,e,t,n){var a=k();try{return Z(r)(e,t,n)}catch(r){if(I(a),r!==r+0)throw r;mr(1,0)}},g:function(r,e){var t=k();try{Z(r)(e)}catch(r){if(I(t),r!==r+0)throw r;mr(1,0)}},d:function(r,e,t){var n=k();try{Z(r)(e,t)}catch(r){if(I(n),r!==r+0)throw r;mr(1,0)}}};return Tr=await async function(){function r(r,e){return function(r){vr=r.w,yr=r.y,dr=r.z,mr=r.A,wr=r.B,gr=r.C,br=r.u,Ar=r.x}(Tr=r.exports),T(),Tr}var e={a:Er};return t.instantiateWasm?new Promise((n,a)=>{t.instantiateWasm(e,(e,t)=>{n(r(e))})}):(m??=t.locateFile?function(r){return t.locateFile?t.locateFile(r,n):n+r}("libtess-f32.wasm"):new URL("libtess-f32.wasm","").href,function(e){return r(e.instance)}(await async function(r,e,t){if(!r)try{var n=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(n,t)}catch(r){g(`wasm streaming compile failed: ${r}`),g("falling back to ArrayBuffer instantiation")}return async function(r,e){try{var t=await E(r);return await WebAssembly.instantiate(t,e)}catch(r){g(`failed to asynchronously prepare wasm: ${r}`),P(r)}}(e,t)}(a,m,e)))}(),function(){function r(){t.calledRun=!0,b||(A=!0,Tr.v(),o?.(t),t.onRuntimeInitialized?.(),function(){if(t.postRun)for("function"==typeof t.postRun&&(t.postRun=[t.postRun]);t.postRun.length;)R(t.postRun.shift());F(W)}())}(function(){if(t.preRun)for("function"==typeof t.preRun&&(t.preRun=[t.preRun]);t.preRun.length;)$(t.preRun.shift());F(C)})(),t.setStatus?(t.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>t.setStatus(""),1),r()},1)):r()}(),A?t:new Promise((r,e)=>{o=r,i=e})}t.d(e,{default:()=>n})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9134],{99134(r,e,t){async function n(r={}){var e,t=r,n="";try{n=new URL(".","").href}catch{}e=async r=>{var e=await fetch(r,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)};var a,o,i,u,s,f,l,c,h,p,v,y,d,m,w=console.log.bind(console),g=console.error.bind(console),b=!1,A=!1;function T(){var r=br.buffer;t.HEAP8=u=new Int8Array(r),t.HEAP16=f=new Int16Array(r),s=new Uint8Array(r),l=new Uint16Array(r),t.HEAP32=c=new Int32Array(r),h=new Uint32Array(r),t.HEAPF32=p=new Float32Array(r),t.HEAPF64=v=new Float64Array(r),y=new BigInt64Array(r),d=new BigUint64Array(r)}function P(r){t.onAbort?.(r),g(r="Aborted("+r+")"),b=!0,r+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(r);throw i?.(e),e}async function E(r){if(!a)try{var t=await e(r);return new Uint8Array(t)}catch{}return function(r){if(r==m&&a)return new Uint8Array(a);throw"both async and sync fetching of the wasm failed"}(r)}var F=r=>{for(;r.length>0;)r.shift()(t)},W=[],R=r=>W.push(r),C=[],$=r=>C.push(r),I=r=>wr(r),k=()=>gr(),B=new TextDecoder,U=(r,e,t,n)=>{var a=e+t;if(n)return a;for(;r[e]&&!(e>=a);)++e;return e},x=(r,e,t)=>{if(!r)return"";var n=U(s,r,e,t);return B.decode(s.subarray(r,n))},O=r=>{for(var e="";;){var t=s[r++];if(!t)return e;e+=String.fromCharCode(t)}},V={},S={},M={},H=class extends Error{constructor(r){super(r),this.name="BindingError"}},D=r=>{throw new H(r)};function L(r,e,t={}){return function(r,e,t={}){var n=e.name;if(r||D(`type "${n}" must have a positive integer typeid pointer`),S.hasOwnProperty(r)){if(t.ignoreDuplicateRegistrations)return;D(`Cannot register type '${n}' twice`)}if(S[r]=e,delete M[r],V.hasOwnProperty(r)){var a=V[r];delete V[r],a.forEach(r=>r())}}(r,e,t)}var j=(r,e,t)=>{switch(e){case 1:return t?r=>u[r]:r=>s[r];case 2:return t?r=>f[r>>1]:r=>l[r>>1];case 4:return t?r=>c[r>>2]:r=>h[r>>2];case 8:return t?r=>y[r>>3]:r=>d[r>>3];default:throw new TypeError(`invalid integer width (${e}): ${r}`)}},z=[],N=[0,1,,1,null,1,!0,1,!1,1];function _(r){return this.fromWireType(h[r>>2])}var q={name:"emscripten::val",fromWireType:r=>{var e=(r=>(r||D(`Cannot use deleted val. handle = ${r}`),N[r]))(r);return(r=>{r>9&&0===--N[r+1]&&(N[r]=void 0,z.push(r))})(r),e},toWireType:(r,e)=>(r=>{switch(r){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const e=z.pop()||N.length;return N[e]=r,N[e+1]=1,e}}})(e),readValueFromPointer:_,destructorFunction:null},Y=(r,e)=>{switch(e){case 4:return function(r){return this.fromWireType(p[r>>2])};case 8:return function(r){return this.fromWireType(v[r>>3])};default:throw new TypeError(`invalid float width (${e}): ${r}`)}};var G=(r,e,t)=>{if(void 0===r[e].overloadTable){var n=r[e];r[e]=function(...n){return r[e].overloadTable.hasOwnProperty(n.length)||D(`Function '${t}' called with an invalid number of arguments (${n.length}) - expects one of (${r[e].overloadTable})!`),r[e].overloadTable[n.length].apply(this,n)},r[e].overloadTable=[],r[e].overloadTable[n.argCount]=n}},J=(r,e,n)=>{t.hasOwnProperty(r)?((void 0===n||void 0!==t[r].overloadTable&&void 0!==t[r].overloadTable[n])&&D(`Cannot register public name '${r}' twice`),G(t,r,r),t[r].overloadTable.hasOwnProperty(n)&&D(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),t[r].overloadTable[n]=e):(t[r]=e,t[r].argCount=n)},K=class extends Error{constructor(r){super(r),this.name="InternalError"}},Q=r=>{throw new K(r)},X=(r,e,n)=>{t.hasOwnProperty(r)||Q("Replacing nonexistent public symbol"),void 0!==t[r].overloadTable&&void 0!==n?t[r].overloadTable[n]=e:(t[r]=e,t[r].argCount=n)},Z=r=>Ar.get(r);class rr extends Error{}var er=r=>{var e=vr(r),t=O(e);return dr(e),t},tr=new TextDecoder("utf-16le"),nr=(r,e,t)=>{var n=r>>1,a=U(l,n,e/2,t);return tr.decode(l.subarray(n,a))},ar=(r,e,t)=>{if(t??=2147483647,t<2)return 0;for(var n=e,a=(t-=2)<2*r.length?t/2:r.length,o=0;o<a;++o){var i=r.charCodeAt(o);f[e>>1]=i,e+=2}return f[e>>1]=0,e-n},or=r=>2*r.length,ir=(r,e,t)=>{for(var n="",a=r>>2,o=0;!(o>=e/4);o++){var i=h[a+o];if(!i&&!t)break;n+=String.fromCodePoint(i)}return n},ur=(r,e,t)=>{if(t??=2147483647,t<4)return 0;for(var n=e,a=n+t-4,o=0;o<r.length;++o){var i=r.codePointAt(o);if(i>65535&&o++,c[e>>2]=i,(e+=4)+4>a)break}return c[e>>2]=0,e-n},sr=r=>{for(var e=0,t=0;t<r.length;++t)r.codePointAt(t)>65535&&t++,e+=4;return e},fr=[],lr=(r,e)=>Math.ceil(r/e)*e,cr=r=>{var e=(r-br.buffer.byteLength+65535)/65536|0;try{return br.grow(e),T(),1}catch(r){}},hr=[null,[],[]],pr=(r,e)=>{var t=hr[r];0===e||10===e?((1===r?w:g)(((r,e=0)=>{var t=U(r,e,void 0,void 0);return B.decode(r.buffer?r.subarray(e,t):new Uint8Array(r.slice(e,t)))})(t)),t.length=0):t.push(e)};if(t.noExitRuntime&&t.noExitRuntime,t.print&&(w=t.print),t.printErr&&(g=t.printErr),t.wasmBinary&&(a=t.wasmBinary),t.arguments&&t.arguments,t.thisProgram&&t.thisProgram,t.preInit)for("function"==typeof t.preInit&&(t.preInit=[t.preInit]);t.preInit.length>0;)t.preInit.shift()();var vr,yr,dr,mr,wr,gr,br,Ar,Tr,Pr={6396:r=>{throw new Error("libtess-triangulation: "+x(r))}},Er={a:(r,e,t,n)=>P(`Assertion failed: ${x(r)}, at: `+[e?x(e):"unknown filename",t,n?x(n):"unknown function"]),n:()=>P(""),j:(r,e,t,n,a)=>{e=O(e);const o=0n===n;let i=r=>r;if(o){const r=8*t;i=e=>BigInt.asUintN(r,e),a=i(a)}L(r,{name:e,fromWireType:i,toWireType:(r,e)=>("number"==typeof e&&(e=BigInt(e)),e),readValueFromPointer:j(e,t,!o),destructorFunction:null})},s:(r,e,t,n)=>{L(r,{name:e=O(e),fromWireType:function(r){return!!r},toWireType:function(r,e){return e?t:n},readValueFromPointer:function(r){return this.fromWireType(s[r])},destructorFunction:null})},l:r=>L(r,q),i:(r,e,t)=>{L(r,{name:e=O(e),fromWireType:r=>r,toWireType:(r,e)=>e,readValueFromPointer:Y(e,t),destructorFunction:null})},h:(r,e,t,n,a,o,i,u)=>{var s=((r,e)=>{for(var t=[],n=0;n<r;n++)t.push(h[e+4*n>>2]);return t})(e,t);r=(r=>{const e=(r=r.trim()).indexOf("(");return-1===e?r:r.slice(0,e)})(r=O(r)),a=((r,e)=>{r=O(r);var t=Z(e);return"function"!=typeof t&&D(`unknown function pointer with signature ${r}: ${e}`),t})(n,a),J(r,function(){((r,e)=>{var t=[],n={};throw e.forEach(function r(e){n[e]||S[e]||(M[e]?M[e].forEach(r):(t.push(e),n[e]=!0))}),new rr(`${r}: `+t.map(er).join([", "]))})(`Cannot call ${r} due to unbound types`,s)},e-1),((r,e,t)=>{function n(e){var n=t(e);n.length!==r.length&&Q("Mismatched type converter count");for(var a=0;a<r.length;++a)L(r[a],n[a])}r.forEach(r=>M[r]=e);var a=new Array(e.length),o=[],i=0;for(let[r,t]of e.entries())S.hasOwnProperty(t)?a[r]=S[t]:(o.push(t),V.hasOwnProperty(t)||(V[t]=[]),V[t].push(()=>{a[r]=S[t],++i===o.length&&n(a)}));0===o.length&&n(a)})([],s,t=>{var n=[t[0],null].concat(t.slice(1));return X(r,function(r,e,t,n,a){var o=e.length;o<2&&D("argTypes array size mismatch! Must at least get return value and 'this' types!"),e[1];var i=function(r){for(var e=1;e<r.length;++e)if(null!==r[e]&&void 0===r[e].destructorFunction)return!0;return!1}(e),u=!e[0].isVoid,s=o-2,f=new Array(s),l=[],c=[];return((r,e)=>Object.defineProperty(e,"name",{value:r}))(r,function(...r){c.length=0,l.length=1,l[0]=a;for(var t=0;t<s;++t)f[t]=e[t+2].toWireType(c,r[t]),l.push(f[t]);return function(r){if(i)(r=>{for(;r.length;){var e=r.pop();r.pop()(e)}})(c);else for(var t=2;t<e.length;t++){var n=1===t?void 0:f[t-2];null!==e[t].destructorFunction&&e[t].destructorFunction(n)}if(u)return e[0].fromWireType(r)}(n(...l))})}(r,n,0,a,o),e-1),[]})},c:(r,e,t,n,a)=>{e=O(e);let o=r=>r;if(0===n){var i=32-8*t;o=r=>r<<i>>>i,a=o(a)}L(r,{name:e,fromWireType:o,toWireType:(r,e)=>e,readValueFromPointer:j(e,t,0!==n),destructorFunction:null})},b:(r,e,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][e];function a(r){var e=h[r>>2],t=h[r+4>>2];return new n(u.buffer,t,e)}L(r,{name:t=O(t),fromWireType:a,readValueFromPointer:a},{ignoreDuplicateRegistrations:!0})},m:(r,e)=>{L(r,{name:e=O(e),fromWireType(r){var e,t=h[r>>2];return e=x(r+4,t,!0),dr(r),e},toWireType(r,e){var t;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var n="string"==typeof e;n||ArrayBuffer.isView(e)&&1==e.BYTES_PER_ELEMENT||D("Cannot pass non-string to std::string"),t=n?(r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++t):e+=3}return e})(e):e.length;var a=yr(4+t+1),o=a+4;return h[a>>2]=t,n?((r,e,t)=>{((r,e,t,n)=>{if(!(n>0))return 0;for(var a=t+n-1,o=0;o<r.length;++o){var i=r.codePointAt(o);if(i<=127){if(t>=a)break;e[t++]=i}else if(i<=2047){if(t+1>=a)break;e[t++]=192|i>>6,e[t++]=128|63&i}else if(i<=65535){if(t+2>=a)break;e[t++]=224|i>>12,e[t++]=128|i>>6&63,e[t++]=128|63&i}else{if(t+3>=a)break;e[t++]=240|i>>18,e[t++]=128|i>>12&63,e[t++]=128|i>>6&63,e[t++]=128|63&i,o++}}e[t]=0})(r,s,e,t)})(e,o,t+1):s.set(e,o),null!==r&&r.push(dr,a),a},readValueFromPointer:_,destructorFunction(r){dr(r)}})},f:(r,e,t)=>{var n,a,o;t=O(t),2===e?(n=nr,a=ar,o=or):(n=ir,a=ur,o=sr),L(r,{name:t,fromWireType:r=>{var t=h[r>>2],a=n(r+4,t*e,!0);return dr(r),a},toWireType:(r,n)=>{"string"!=typeof n&&D(`Cannot pass non-string to C++ string type ${t}`);var i=o(n),u=yr(4+i+e);return h[u>>2]=i/e,a(n,u+4,i+e),null!==r&&r.push(dr,u),u},readValueFromPointer:_,destructorFunction(r){dr(r)}})},t:(r,e)=>{L(r,{isVoid:!0,name:e=O(e),fromWireType:()=>{},toWireType:(r,e)=>{}})},o:()=>{throw 1/0},r:(r,e,t)=>((r,e,t)=>{var n=((r,e)=>{var t;for(fr.length=0;t=s[r++];){var n=105!=t;e+=(n&=112!=t)&&e%8?4:0,fr.push(112==t?h[e>>2]:106==t?y[e>>3]:105==t?c[e>>2]:v[e>>3]),e+=n?8:4}return fr})(e,t);return Pr[r](...n)})(r,e,t),p:r=>{var e=s.length,t=2147483648;if((r>>>=0)>t)return!1;for(var n=1;n<=4;n*=2){var a=e*(1+.2/n);a=Math.min(a,r+100663296);var o=Math.min(t,lr(Math.max(r,a),65536));if(cr(o))return!0}return!1},k:(r,e,t,n)=>{for(var a=0,o=0;o<t;o++){var i=h[e>>2],u=h[e+4>>2];e+=8;for(var f=0;f<u;f++)pr(r,s[i+f]);a+=u}return h[n>>2]=a,0},e:function(r,e){var t=k();try{return Z(r)(e)}catch(r){if(I(t),r!==r+0)throw r;mr(1,0)}},q:function(r,e,t,n){var a=k();try{return Z(r)(e,t,n)}catch(r){if(I(a),r!==r+0)throw r;mr(1,0)}},g:function(r,e){var t=k();try{Z(r)(e)}catch(r){if(I(t),r!==r+0)throw r;mr(1,0)}},d:function(r,e,t){var n=k();try{Z(r)(e,t)}catch(r){if(I(n),r!==r+0)throw r;mr(1,0)}}};return Tr=await async function(){function r(r,e){return function(r){vr=r.w,yr=r.y,dr=r.z,mr=r.A,wr=r.B,gr=r.C,br=r.u,Ar=r.x}(Tr=r.exports),T(),Tr}var e={a:Er};return t.instantiateWasm?new Promise((n,a)=>{t.instantiateWasm(e,(e,t)=>{n(r(e))})}):(m??=t.locateFile?function(r){return t.locateFile?t.locateFile(r,n):n+r}("libtess-f64.wasm"):new URL("libtess-f64.wasm","").href,function(e){return r(e.instance)}(await async function(r,e,t){if(!r)try{var n=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(n,t)}catch(r){g(`wasm streaming compile failed: ${r}`),g("falling back to ArrayBuffer instantiation")}return async function(r,e){try{var t=await E(r);return await WebAssembly.instantiate(t,e)}catch(r){g(`failed to asynchronously prepare wasm: ${r}`),P(r)}}(e,t)}(a,m,e)))}(),function(){function r(){t.calledRun=!0,b||(A=!0,Tr.v(),o?.(t),t.onRuntimeInitialized?.(),function(){if(t.postRun)for("function"==typeof t.postRun&&(t.postRun=[t.postRun]);t.postRun.length;)R(t.postRun.shift());F(W)}())}(function(){if(t.preRun)for("function"==typeof t.preRun&&(t.preRun=[t.preRun]);t.preRun.length;)$(t.preRun.shift());F(C)})(),t.setStatus?(t.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>t.setStatus(""),1),r()},1)):r()}(),A?t:new Promise((r,e)=>{o=r,i=e})}t.d(e,{default:()=>n})}}]);