@arcgis/core 4.33.0-next.20250422 → 4.33.0-next.20250424

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 (329) hide show
  1. package/Graphic.js +1 -1
  2. package/WebScene.js +1 -1
  3. package/analysis/Analysis.d.ts +4 -0
  4. package/analysis/Analysis.js +1 -1
  5. package/analysis/SliceAnalysis.js +1 -1
  6. package/analysis/SlicePlane.js +1 -1
  7. package/analysis/support/AnalysisOriginWebScene.d.ts +4 -0
  8. package/analysis/support/AnalysisOriginWebScene.js +5 -0
  9. package/analysis/support/SliceAnalysisExcludedLayer.js +5 -0
  10. package/arcade/geometry/constructors.js +1 -1
  11. package/assets/components/assets/icon/mosaicMethodBlend16.json +1 -0
  12. package/assets/components/assets/icon/mosaicMethodBlend24.json +1 -0
  13. package/assets/components/assets/icon/mosaicMethodBlend32.json +1 -0
  14. package/assets/components/assets/icon/mosaicMethodByAttribute16.json +1 -0
  15. package/assets/components/assets/icon/mosaicMethodByAttribute24.json +1 -0
  16. package/assets/components/assets/icon/mosaicMethodByAttribute32.json +1 -0
  17. package/assets/components/assets/icon/mosaicMethodClosestToCenter16.json +1 -0
  18. package/assets/components/assets/icon/mosaicMethodClosestToCenter24.json +1 -0
  19. package/assets/components/assets/icon/mosaicMethodClosestToCenter32.json +1 -0
  20. package/assets/components/assets/icon/mosaicMethodClosestToNadir16.json +1 -0
  21. package/assets/components/assets/icon/mosaicMethodClosestToNadir24.json +1 -0
  22. package/assets/components/assets/icon/mosaicMethodClosestToNadir32.json +1 -0
  23. package/assets/components/assets/icon/mosaicMethodFirst16.json +1 -0
  24. package/assets/components/assets/icon/mosaicMethodFirst24.json +1 -0
  25. package/assets/components/assets/icon/mosaicMethodFirst32.json +1 -0
  26. package/assets/components/assets/icon/mosaicMethodLast16.json +1 -0
  27. package/assets/components/assets/icon/mosaicMethodLast24.json +1 -0
  28. package/assets/components/assets/icon/mosaicMethodLast32.json +1 -0
  29. package/assets/components/assets/icon/mosaicMethodLockRaster16.json +1 -0
  30. package/assets/components/assets/icon/mosaicMethodLockRaster24.json +1 -0
  31. package/assets/components/assets/icon/mosaicMethodLockRaster32.json +1 -0
  32. package/assets/components/assets/icon/mosaicMethodMaximum16.json +1 -0
  33. package/assets/components/assets/icon/mosaicMethodMaximum24.json +1 -0
  34. package/assets/components/assets/icon/mosaicMethodMaximum32.json +1 -0
  35. package/assets/components/assets/icon/mosaicMethodMean16.json +1 -0
  36. package/assets/components/assets/icon/mosaicMethodMean24.json +1 -0
  37. package/assets/components/assets/icon/mosaicMethodMean32.json +1 -0
  38. package/assets/components/assets/icon/mosaicMethodMinimum16.json +1 -0
  39. package/assets/components/assets/icon/mosaicMethodMinimum24.json +1 -0
  40. package/assets/components/assets/icon/mosaicMethodMinimum32.json +1 -0
  41. package/assets/components/assets/icon/mosaicMethodNone16.json +1 -0
  42. package/assets/components/assets/icon/mosaicMethodNone24.json +1 -0
  43. package/assets/components/assets/icon/mosaicMethodNone32.json +1 -0
  44. package/assets/components/assets/icon/mosaicMethodNorthWest16.json +1 -0
  45. package/assets/components/assets/icon/mosaicMethodNorthWest24.json +1 -0
  46. package/assets/components/assets/icon/mosaicMethodNorthWest32.json +1 -0
  47. package/assets/components/assets/icon/mosaicMethodSeamline16.json +1 -0
  48. package/assets/components/assets/icon/mosaicMethodSeamline24.json +1 -0
  49. package/assets/components/assets/icon/mosaicMethodSeamline32.json +1 -0
  50. package/assets/components/assets/icon/mosaicMethodSum16.json +1 -0
  51. package/assets/components/assets/icon/mosaicMethodSum24.json +1 -0
  52. package/assets/components/assets/icon/mosaicMethodSum32.json +1 -0
  53. package/assets/esri/core/workers/RemoteClient.js +1 -1
  54. package/assets/esri/core/workers/chunks/{b2f9f0767dadf185120c.js → 00612d6e05b1c8647668.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{d4d011eea16a89a5aad9.js → 0219c3f9408d3fa3c9a0.js} +1 -1
  56. package/assets/esri/core/workers/chunks/{f54546c155fba2fd3a7e.js → 05d7d8ff3e4cbad32580.js} +1 -1
  57. package/assets/esri/core/workers/chunks/{b1e275607d9754079f60.js → 079434fe765c53d304f2.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{4f8782b3b6ad414409e8.js → 0a48b9734ab4c64a6f4f.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{0eed612e82a279ac8d1e.js → 11b55e7e76e50fe11bbe.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{ccc50f28f217e50cc2c3.js → 1427e7953c3d8c87c5e8.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{184d7c8ea818bec5c462.js → 146b3699a9e8b1f2dcc2.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{8ba7d44eff348004f084.js → 1a6d2d090b643a87408a.js} +1 -1
  63. package/assets/esri/core/workers/chunks/1b8cc83aa1179245b2dc.js +1 -0
  64. package/assets/esri/core/workers/chunks/{5e5225623977e61fd0ef.js → 213adc87c843d627c5d6.js} +1 -1
  65. package/assets/esri/core/workers/chunks/235efd948ae470a6f238.js +1 -0
  66. package/assets/esri/core/workers/chunks/{60d3b329e69f3cddb7f4.js → 265f69d153b7b6f07e42.js} +1 -1
  67. package/assets/esri/core/workers/chunks/{769b66cca8347f0f84db.js → 279bbd61b32577693a4a.js} +1 -1
  68. package/assets/esri/core/workers/chunks/290b065b377f9d2ee058.js +1 -0
  69. package/assets/esri/core/workers/chunks/29d3245261a7223124ed.js +1 -0
  70. package/assets/esri/core/workers/chunks/{0c6f2808c57ff820bfdd.js → 30551c1d3e4fa7be86c1.js} +2 -2
  71. package/assets/esri/core/workers/chunks/{0c6f2808c57ff820bfdd.js.LICENSE.txt → 30551c1d3e4fa7be86c1.js.LICENSE.txt} +1 -1
  72. package/assets/esri/core/workers/chunks/335b539893569e3d7b82.js +1 -0
  73. package/assets/esri/core/workers/chunks/{78242f2bf742b33d99fa.js → 3795793643f4db64af0e.js} +1 -1
  74. package/assets/esri/core/workers/chunks/{38f9ede26098eb03ca2d.js → 3cf001abca8ad933bccf.js} +2 -2
  75. package/assets/esri/core/workers/chunks/{38f9ede26098eb03ca2d.js.LICENSE.txt → 3cf001abca8ad933bccf.js.LICENSE.txt} +1 -1
  76. package/assets/esri/core/workers/chunks/{dbaa4b8d37aab40d7bd1.js → 543eb46b55cacd6e1dbc.js} +2 -2
  77. package/assets/esri/core/workers/chunks/{dbaa4b8d37aab40d7bd1.js.LICENSE.txt → 543eb46b55cacd6e1dbc.js.LICENSE.txt} +1 -1
  78. package/assets/esri/core/workers/chunks/{93f792f5b94f3745b57d.js → 577f24923fa4d08360e4.js} +2 -2
  79. package/assets/esri/core/workers/chunks/{93f792f5b94f3745b57d.js.LICENSE.txt → 577f24923fa4d08360e4.js.LICENSE.txt} +1 -1
  80. package/assets/esri/core/workers/chunks/5958af341014e13475d2.js +1 -0
  81. package/assets/esri/core/workers/chunks/{f46c4a69ef2f763e905b.js → 5d63dfa5a60c88e03b28.js} +1 -1
  82. package/assets/esri/core/workers/chunks/60f7cd05e88701f43d3f.js +1 -0
  83. package/assets/esri/core/workers/chunks/{26e0a0a13060cd3e4291.js → 626ba3a7dee952308566.js} +1 -1
  84. package/assets/esri/core/workers/chunks/7bfa18dd8771d4932533.js +1 -0
  85. package/assets/esri/core/workers/chunks/7cd32b10ed0e18e44ef2.js +1 -0
  86. package/assets/esri/core/workers/chunks/7ffa68d69c138db1295d.js +1 -0
  87. package/assets/esri/core/workers/chunks/8dd26b12c625d20196ed.js +319 -0
  88. package/assets/esri/core/workers/chunks/91f8547a13f0461045ef.js +1 -0
  89. package/assets/esri/core/workers/chunks/9661ee8569ee208e6237.js +1 -0
  90. package/assets/esri/core/workers/chunks/{c2f38c66fae2cdb57445.js → 96e5d192c8d23c1e324f.js} +1 -1
  91. package/assets/esri/core/workers/chunks/974742af7beb000c4b4a.js +1 -0
  92. package/assets/esri/core/workers/chunks/{e27fa1e84f16b7f19a90.js → 9850ff14bd9c7da81c65.js} +1 -1
  93. package/assets/esri/core/workers/chunks/{796cf1c2ca9955595836.js → 9b2ab27159500315fbc1.js} +1 -1
  94. package/assets/esri/core/workers/chunks/{a276980c06d5d311a37e.js → 9f416cc5673665f8c37c.js} +1 -1
  95. package/assets/esri/core/workers/chunks/a0c51c4c30a5f749dfc6.js +1 -0
  96. package/assets/esri/core/workers/chunks/a79511b926a2830bb160.js +1 -0
  97. package/assets/esri/core/workers/chunks/{fdcbd28f38bc485ac5e3.js → ab6ecd8eeec5ff761b34.js} +1 -1
  98. package/assets/esri/core/workers/chunks/{814d72abbfdd4552e4ec.js → ac9c6779771ec855da79.js} +2 -2
  99. package/assets/esri/core/workers/chunks/{814d72abbfdd4552e4ec.js.LICENSE.txt → ac9c6779771ec855da79.js.LICENSE.txt} +1 -1
  100. package/assets/esri/core/workers/chunks/{ef6e805c49e1afdf966b.js → c054198c6438cb57f188.js} +1 -1
  101. package/assets/esri/core/workers/chunks/c5d786166a5609b85276.js.LICENSE.txt +1 -1
  102. package/assets/esri/core/workers/chunks/{5bdd5ae2d2f23ef6b331.js → c87e2a63b96e0da77dfe.js} +1 -1
  103. package/assets/esri/core/workers/chunks/{601fc99426f0213b0769.js → cbec01223d51cdb9ee79.js} +1 -1
  104. package/assets/esri/core/workers/chunks/cc4dd739c4c7e3ccea3f.js +1 -0
  105. package/assets/esri/core/workers/chunks/{90c893959145827961ac.js → cd9343c78a7c3acdbbcd.js} +1 -1
  106. package/assets/esri/core/workers/chunks/d3a74087e076a3ae76ca.js +1 -0
  107. package/assets/esri/core/workers/chunks/{26fcbe053194bd78fcc3.js → d8474dca270b25705699.js} +1 -1
  108. package/assets/esri/core/workers/chunks/{5db336767959507c07e5.js → d8dc922f7466300b668f.js} +2 -2
  109. package/assets/esri/core/workers/chunks/{5db336767959507c07e5.js.LICENSE.txt → d8dc922f7466300b668f.js.LICENSE.txt} +1 -1
  110. package/assets/esri/core/workers/chunks/{96cddbbeef61a4f33f29.js → db5913824d5e5a2a8365.js} +1 -1
  111. package/assets/esri/core/workers/chunks/{48a1bb1e171dd06a7c6e.js → dd94585508f49863dc15.js} +1 -1
  112. package/assets/esri/core/workers/chunks/e524462c63834fae7e01.js +2 -0
  113. package/assets/esri/core/workers/chunks/{02176f84d6d57f1bc1c8.js.LICENSE.txt → e524462c63834fae7e01.js.LICENSE.txt} +1 -1
  114. package/assets/esri/core/workers/chunks/{e7e987558cf017c62458.js → ebfa4a0334401f5e004a.js} +1 -1
  115. package/assets/esri/core/workers/chunks/{736a11e64e5f03e3936b.js → f2cef954b58c6604642c.js} +64 -64
  116. package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
  117. package/assets/esri/themes/dark/main.css +1 -1
  118. package/assets/esri/themes/light/main.css +1 -1
  119. package/assets/esri/themes/light/view.css +1 -1
  120. package/chunks/BloomBlur.glsl.js +7 -7
  121. package/chunks/BloomComposition.glsl.js +24 -25
  122. package/chunks/Bufferer-CicaNej1.js +1 -1
  123. package/chunks/Envelope.js +1 -1
  124. package/chunks/GeodeticDistanceCalculator-CcF1gMZX.js +1 -1
  125. package/chunks/Geometry.js +1 -1
  126. package/chunks/OperatorGeodesicBuffer.js +1 -1
  127. package/chunks/OperatorGeodeticArea.js +1 -1
  128. package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
  129. package/chunks/OperatorGeodeticLength.js +1 -1
  130. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  131. package/chunks/OperatorProximityGeodesic.js +1 -1
  132. package/chunks/OperatorShapePreservingLength.js +1 -1
  133. package/chunks/OperatorShapePreservingProject.js +1 -1
  134. package/chunks/OperatorSimplifyOGC.js +5 -0
  135. package/chunks/Point2D.js +1 -1
  136. package/chunks/ProjectionTransformation.js +1 -1
  137. package/chunks/QuadraticBezier.js +1 -1
  138. package/chunks/cameraUtilsSpherical.js +1 -1
  139. package/chunks/languageUtils.js +1 -1
  140. package/chunks/relateOperator.js +1 -1
  141. package/chunks/sphere.js +1 -1
  142. package/chunks/vxlLayer.js +1 -1
  143. package/core/Collection.js +1 -1
  144. package/core/JSONSupport.js +1 -1
  145. package/core/SetUtils.js +1 -1
  146. package/{views/webgl/GLObjectType.js → core/support/jsonUtils.js} +1 -1
  147. package/core/urlUtils.js +1 -1
  148. package/geometry/Mesh.js +1 -1
  149. package/geometry/operators/extendOperator.js +1 -1
  150. package/geometry/operators/gx/operatorAlphaShape.js +1 -1
  151. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  152. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  153. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  154. package/geometry/operators/gx/operatorLocateBetween.js +1 -1
  155. package/geometry/operators/gx/operatorMinimumBoundingCircle.js +1 -1
  156. package/geometry/operators/gx/operatorSimplifyOGC.js +5 -0
  157. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  158. package/geometry/operators/reshapeOperator.js +1 -1
  159. package/geometry/operators/simplifyOGCOperator.d.ts +6 -0
  160. package/geometry/operators/simplifyOGCOperator.js +5 -0
  161. package/geometry/operators/support/jsonConverter.js +1 -1
  162. package/geometry/support/normalizeUtilsSync.js +1 -1
  163. package/geometry/support/sphere.js +1 -1
  164. package/interfaces.d.ts +442 -113
  165. package/layers/DimensionLayer.js +1 -1
  166. package/layers/RouteLayer.js +1 -1
  167. package/layers/SubtypeGroupLayer.js +1 -1
  168. package/layers/ViewshedLayer.js +1 -1
  169. package/layers/graphics/data/QueryEngine.js +1 -1
  170. package/layers/orientedImagery/transformations/imageToWorld.js +1 -1
  171. package/layers/orientedImagery/transformations/utils.js +1 -1
  172. package/layers/support/FieldsIndex.js +1 -1
  173. package/layers/support/VideoElement.js +1 -1
  174. package/layers/support/rasterDatasets/FunctionRaster.js +1 -1
  175. package/layers/support/rasterDatasets/TIFFRaster.js +1 -1
  176. package/layers/support/rasterFormats/TiffDecoder.js +1 -1
  177. package/layers/support/rasterFormats/{TiffTags.js → tiffTag.js} +1 -1
  178. package/layers/support/rasterFunctions/BandArithmeticFunction.js +1 -1
  179. package/layers/support/rasterFunctions/BaseRasterFunction.js +1 -1
  180. package/layers/support/rasterFunctions/ExtractBandFunction.js +1 -1
  181. package/layers/support/rasterFunctions/NDVIFunction.js +1 -1
  182. package/layers/support/rasterFunctions/RemapFunction.js +1 -1
  183. package/layers/support/rasterFunctions/rasterFunctionHelper.js +1 -1
  184. package/layers/support/videoUtils.js +5 -0
  185. package/package.json +2 -2
  186. package/portal/schemas/definitions.js +1 -1
  187. package/renderers/UniqueValueRenderer.js +1 -1
  188. package/renderers/support/colorRampUtils.js +1 -1
  189. package/support/revision.js +1 -1
  190. package/symbols/IconSymbol3DLayer.js +1 -1
  191. package/symbols/cim/effects/EffectTaperedPolygon.js +1 -1
  192. package/versionManagement/utils.js +1 -1
  193. package/views/2d/engine/webgl/meshing/Mesh.js +1 -1
  194. package/views/2d/engine/webgl/shaderGraph/typed/TypedShaderProgram.js +1 -1
  195. package/views/2d/engine/webgl/textureUtils.js +1 -1
  196. package/views/2d/layers/MediaLayerView2D.js +1 -1
  197. package/views/2d/layers/TileLayerView2D.js +1 -1
  198. package/views/2d/layers/support/DebugOverlay.js +1 -1
  199. package/views/3d/analysis/LineOfSightAnalysisView3D.js +1 -1
  200. package/views/3d/analysis/Slice/SliceTool.js +1 -1
  201. package/views/3d/analysis/Slice/SliceVisualization.js +1 -1
  202. package/views/3d/analysis/SliceAnalysisView3D.js +1 -1
  203. package/views/3d/analysis/Viewshed/ViewshedAnalysisVisualization.js +1 -1
  204. package/views/3d/analysis/Viewshed/ViewshedVisualization.js +1 -1
  205. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  206. package/views/3d/camera/constraintUtils/distance.js +1 -1
  207. package/views/3d/camera/intersectionUtils.js +1 -1
  208. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  209. package/views/3d/environment/atmosphereUtils.js +1 -1
  210. package/views/3d/interactive/visualElements/DrapedVisualElementResources.js +1 -1
  211. package/views/3d/interactive/visualElements/EngineVisualElement.js +1 -1
  212. package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
  213. package/views/3d/interactive/visualElements/LabelVisualElement.js +1 -1
  214. package/views/3d/interactive/visualElements/LaserlineVisualElement.js +1 -1
  215. package/views/3d/interactive/visualElements/LineVisualElement.js +1 -1
  216. package/views/3d/interactive/visualElements/MarkerVisualElement.js +1 -1
  217. package/views/3d/interactive/visualElements/MeasurementAreaVisualElement.js +1 -1
  218. package/views/3d/interactive/visualElements/MeasurementArrowVisualElement.js +1 -1
  219. package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
  220. package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
  221. package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
  222. package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
  223. package/views/3d/interactive/visualElements/SlicePlaneVisualElement.js +1 -1
  224. package/views/3d/interactive/visualElements/VerticesVisualElement.js +1 -1
  225. package/views/3d/interactive/visualElements/ViewshedShapeVisualElement.js +1 -1
  226. package/views/3d/interactive/visualElements/VisualElement.js +1 -1
  227. package/views/3d/interactive/visualElements/VisualElementResources.js +1 -1
  228. package/views/3d/layers/I3SMeshView3D.js +1 -1
  229. package/views/3d/layers/LineOfSightLayerView3D.js +1 -1
  230. package/views/3d/layers/graphics/Deconflictor.js +1 -1
  231. package/views/3d/layers/graphics/pipeline/Feature3DPipelineWorker.js +1 -1
  232. package/views/3d/layers/graphics/pipeline/PipelineCommand.js +1 -1
  233. package/views/3d/layers/graphics/pipeline/Tile3DManager.js +1 -1
  234. package/views/3d/layers/graphics/pipeline/TileActionSynchronizer.js +5 -0
  235. package/views/3d/layers/i3s/I3SMeshViewFilter.js +1 -1
  236. package/views/3d/state/ConstraintsManager.js +1 -1
  237. package/views/3d/state/NearFarHeuristic.js +1 -1
  238. package/views/3d/state/ViewState.js +1 -1
  239. package/views/3d/state/ViewStateManager.js +1 -1
  240. package/views/3d/state/utils/navigationUtils.js +1 -1
  241. package/views/3d/support/cameraUtilsSpherical.js +1 -1
  242. package/views/3d/support/geometryUtils/sphere.js +1 -1
  243. package/views/3d/terrain/OverlayRenderTargets.js +1 -1
  244. package/views/3d/webgl/ManagedDepthTexture.js +1 -1
  245. package/views/3d/webgl/ManagedFBO.js +1 -1
  246. package/views/3d/webgl-engine/core/FBOCache.js +1 -1
  247. package/views/3d/webgl-engine/core/FBOCacheFormats.js +5 -0
  248. package/views/3d/webgl-engine/core/shaderLibrary/Laserline.glsl.js +12 -14
  249. package/views/3d/webgl-engine/core/shaderLibrary/output/Emissions.glsl.js +1 -1
  250. package/views/3d/webgl-engine/effects/bloom/BloomRenderNode.js +1 -1
  251. package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +1 -1
  252. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
  253. package/views/3d/webgl-engine/effects/geometry/RenderOccludedRenderNode.js +1 -1
  254. package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
  255. package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
  256. package/views/3d/webgl-engine/effects/laserlines/LaserLineRenderer.js +1 -1
  257. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  258. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  259. package/views/3d/webgl-engine/lib/DepthRange.js +1 -1
  260. package/views/3d/webgl-engine/lib/MainFramebuffer.js +1 -1
  261. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  262. package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
  263. package/views/3d/webgl-engine/lib/Texture.js +1 -1
  264. package/views/3d/webgl-engine/lib/Viewshed.js +1 -1
  265. package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
  266. package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
  267. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  268. package/views/SceneView.js +1 -1
  269. package/views/VideoView.js +1 -1
  270. package/views/interactive/Tooltip.js +1 -1
  271. package/views/interactive/tooltip/content/TooltipContent.js +1 -1
  272. package/views/layers/LineOfSightLayerView.d.ts +4 -0
  273. package/views/layers/LineOfSightLayerView.js +5 -0
  274. package/views/webgl/FBOAttachmentType.js +5 -0
  275. package/views/webgl/FramebufferObject.js +1 -1
  276. package/views/webgl/Renderbuffer.js +1 -1
  277. package/views/webgl/RenderbufferDescriptor.js +1 -1
  278. package/views/webgl/Texture.js +1 -1
  279. package/views/webgl/TextureDescriptor.js +1 -1
  280. package/webscene/InitialViewProperties.js +1 -1
  281. package/webscene/Presentation.js +1 -1
  282. package/webscene/Slide.js +1 -1
  283. package/webscene/SlideLegendInfo.js +1 -1
  284. package/webscene/background/ColorBackground.js +1 -1
  285. package/webscene/spec-certification/api.js +1 -1
  286. package/webscene/spec-certification/compare.js +1 -1
  287. package/webscene/spec-certification/index.js +1 -1
  288. package/webscene/spec-certification/spec.js +1 -1
  289. package/webscene/spec-certification/utils.js +1 -1
  290. package/webscene/support/Description.js +1 -1
  291. package/webscene/support/SlideElements.js +1 -1
  292. package/webscene/support/SlideEnvironment.js +1 -1
  293. package/webscene/support/SlideGround.js +1 -1
  294. package/webscene/support/SlideVisibleLayer.js +1 -1
  295. package/webscene/support/Title.js +1 -1
  296. package/webscene/support/analysisUtils.js +5 -0
  297. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  298. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  299. package/widgets/Editor/EditorViewModel.js +1 -1
  300. package/widgets/Editor/UpdateWorkflow.js +1 -1
  301. package/widgets/Editor/support/SketchController.js +5 -0
  302. package/widgets/Editor/workflowUtils.js +1 -1
  303. package/widgets/Feature/FeatureUtilityNetworkAssociationList.js +1 -1
  304. package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/FeatureFormUtilityNetworkAssociationList.js +1 -1
  305. package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
  306. package/widgets/FeatureTable.js +1 -1
  307. package/widgets/LayerList/LayerListItem.js +1 -1
  308. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  309. package/widgets/Widget.js +1 -1
  310. package/widgets/support/SelectionList.js +1 -1
  311. package/widgets/support/SnappingControls.js +1 -1
  312. package/assets/esri/core/workers/chunks/02176f84d6d57f1bc1c8.js +0 -2
  313. package/assets/esri/core/workers/chunks/244d2196bac5ef279436.js +0 -1
  314. package/assets/esri/core/workers/chunks/32f2e0c88046b39916cc.js +0 -1
  315. package/assets/esri/core/workers/chunks/388a763da712ca71ccf4.js +0 -1
  316. package/assets/esri/core/workers/chunks/5ffc3ca6c6a4d32e1282.js +0 -1
  317. package/assets/esri/core/workers/chunks/642a595353a86f3717e3.js +0 -1
  318. package/assets/esri/core/workers/chunks/82353e59ac6d909dcf41.js +0 -1
  319. package/assets/esri/core/workers/chunks/873327fc41edd3830afa.js +0 -319
  320. package/assets/esri/core/workers/chunks/93e9dfd1ba8f393c6c47.js +0 -1
  321. package/assets/esri/core/workers/chunks/95379fdd6917c8a84c71.js +0 -1
  322. package/assets/esri/core/workers/chunks/9b21dc4659922cc577cb.js +0 -1
  323. package/assets/esri/core/workers/chunks/a197c86d42cc9ce21924.js +0 -1
  324. package/assets/esri/core/workers/chunks/d81bebbb6fe000200d35.js +0 -1
  325. package/assets/esri/core/workers/chunks/daa54c8a317c27881763.js +0 -1
  326. package/assets/esri/core/workers/chunks/dd8e72d6784a8ebc115d.js +0 -1
  327. package/assets/esri/core/workers/chunks/e15c612caadf7bac4ab9.js +0 -1
  328. package/assets/esri/core/workers/chunks/e9fba86036b8fe700a41.js +0 -1
  329. package/views/3d/webgl/formats.js +0 -5
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1123],{1123:(e,t,n)=>{n.r(t),n.d(t,{invokeGeometryOp:()=>c});var i=n(65864);function r(e,t){let n;return{loaded:!1,load:()=>n??=t().then((t=>{o[e]={loaded:!0,execute:t}}))}}function a(e){return null==e?null:e.toJSON()}const o={disjoint:r("disjoint",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(1598)]).then(n.bind(n,7978)).then((e=>e.execute)))),intersects:r("intersects",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(7360)]).then(n.bind(n,55284)).then((e=>e.execute)))),touches:r("touches",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(2503)]).then(n.bind(n,83547)).then((e=>e.execute)))),crosses:r("crosses",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(9700)]).then(n.bind(n,85672)).then((e=>e.execute)))),within:r("within",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(9265)]).then(n.bind(n,85445)).then((e=>e.execute)))),contains:r("contains",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(1867)]).then(n.bind(n,29127)).then((e=>e.execute)))),overlaps:r("overlaps",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(1414)]).then(n.bind(n,46178)).then((e=>e.execute)))),equals:r("equals",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(5180)]).then(n.bind(n,45328));return(t,n)=>e.execute((0,i.rS)(t),(0,i.rS)(n))})),relate:r("relate",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(5552)]).then(n.bind(n,43628));return(t,n,r)=>e.execute((0,i.rS)(t),(0,i.rS)(n),r)})),intersection:r("intersection",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(9263)]).then(n.bind(n,49263)).then((e=>e.execute)))),union:r("union",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(6339)]).then(n.bind(n,56339)).then((e=>e.executeMany)))),difference:r("difference",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(3054)]).then(n.bind(n,93054));return(t,n)=>a(e.execute((0,i.rS)(t),(0,i.rS)(n)))})),symmetricDifference:r("symmetricDifference",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(9041)]).then(n.bind(n,89041));return(t,n)=>a(e.execute((0,i.rS)(t),(0,i.rS)(n)))})),clip:r("clip",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(4815)]).then(n.bind(n,24815));return(t,n)=>a(e.execute((0,i.rS)(t),(0,i.rS)(n)))})),cut:r("cut",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(7817)]).then(n.bind(n,37817));return(t,n)=>e.execute((0,i.rS)(t),(0,i.rS)(n)).map((e=>a(e)))})),area:r("area",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(3236)]).then(n.bind(n,95624)),{convertFromSpatialReferenceUnit:t,toAreaUnit:r}=await n.e(547).then(n.bind(n,40547));return(n,a)=>{const o=e.execute((0,i.rS)(n));return t(n.spatialReference,r(a),o)}})),geodeticArea:r("geodeticArea",(async()=>{const e=await n.e(9506).then(n.bind(n,89506)),{convert:t,squareMeters:r,toAreaUnit:a}=await n.e(547).then(n.bind(n,40547));return await e.load(),(n,o,c)=>{const s=e.execute((0,i.rS)(n),{curveType:c});return t(r,a(o),s)}})),length:r("length",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(7074)]).then(n.bind(n,51190)),{convertFromSpatialReferenceUnit:t,toLengthUnit:i}=await n.e(547).then(n.bind(n,40547));return(n,r)=>{const a=e.execute(n);return t(n.spatialReference,i(r),a)}})),geodeticLength:r("geodeticLength",(async()=>{const e=await n.e(427).then(n.bind(n,40427)),{convert:t,meters:r,toLengthUnit:a}=await n.e(547).then(n.bind(n,40547));return await e.load(),(n,o,c)=>{const s=e.execute((0,i.rS)(n),{curveType:c});return t(r,a(o),s)}})),distance:r("distance",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(9202)]).then(n.bind(n,77038)),{convertFromSpatialReferenceUnit:t,toLengthUnit:r}=await n.e(547).then(n.bind(n,40547));return(n,a,o)=>{const c=e.execute((0,i.rS)(n),(0,i.rS)(a));return t(n.spatialReference,r(o),c)}})),densify:r("densify",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(8411)]).then(n.bind(n,88411)),{convertToSpatialReferenceUnit:t,toLengthUnit:r}=await n.e(547).then(n.bind(n,40547));return(n,o,c)=>(o=t(r(c),n.spatialReference,o),a(e.execute((0,i.rS)(n),o)))})),geodeticDensify:r("geodeticDensify",(async()=>{const e=await n.e(4097).then(n.bind(n,64097)),{convert:t,meters:r,toLengthUnit:o}=await n.e(547).then(n.bind(n,40547));return await e.load(),(n,c,s,l)=>(c=t(o(s),r,c),a(e.execute((0,i.rS)(n),c,{curveType:l})))})),generalize:r("generalize",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(591)]).then(n.bind(n,60591)),{convertToSpatialReferenceUnit:t,toLengthUnit:r}=await n.e(547).then(n.bind(n,40547));return(n,o,c,s)=>(o=t(r(c),n.spatialReference,o),a(e.execute((0,i.rS)(n),o,s)))})),buffer:r("buffer",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(6718),n.e(6160)]).then(n.bind(n,46160)),{convertToSpatialReferenceUnit:t,toLengthUnit:i}=await n.e(547).then(n.bind(n,40547));return(n,r,a)=>(r=t(i(a),n.spatialReference,r),e.execute(n,r))})),geodesicBuffer:r("geodesicBuffer",(async()=>{const e=await n.e(9159).then(n.bind(n,49159)),{convert:t,meters:i,toLengthUnit:r}=await n.e(547).then(n.bind(n,40547));return await e.load(),(n,a,o,c)=>(a=t(r(o),i,a),e.execute(n,a,{curveType:c}))})),offset:r("offset",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(5605)]).then(n.bind(n,15605)),{convertToSpatialReferenceUnit:t,toLengthUnit:i}=await n.e(547).then(n.bind(n,40547));return(n,r,a,o)=>(r=t(i(a),n.spatialReference,r),e.execute(n,r,o))})),rotate:r("rotate",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(647)]).then(n.bind(n,50647)),{default:t}=await Promise.all([n.e(3661),n.e(1878),n.e(8812)]).then(n.bind(n,78812));return(n,r,o,c)=>{const s=(new t).rotate(r,o,c);return a(e.execute((0,i.rS)(n),s))}})),centroid:r("centroid",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(2657)]).then(n.bind(n,17077));return t=>a(e.execute((0,i.rS)(t)))})),labelPoint:r("labelPoint",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(5913),n.e(5137)]).then(n.bind(n,91421));return t=>a(e.execute((0,i.rS)(t)))})),simplify:r("simplify",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(3637)]).then(n.bind(n,3637)).then((e=>e.execute)))),isSimple:r("isSimple",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(3637)]).then(n.bind(n,3637)).then((e=>e.isSimple)))),convexHull:r("convexHull",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(5666)]).then(n.bind(n,55666)).then((e=>e.execute)))),getNearestCoordinate:r("getNearestCoordinate",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(6468)]).then(n.bind(n,48032));return(t,n,r)=>{const o=e.getNearestCoordinate((0,i.rS)(t),(0,i.rS)(n),r);return{...o,coordinate:a(o.coordinate)}}})),getNearestVertex:r("getNearestVertex",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(6468)]).then(n.bind(n,48032));return(t,n)=>{const r=e.getNearestVertex((0,i.rS)(t),(0,i.rS)(n));return{...r,coordinate:a(r.coordinate)}}}))};function c(e,t){const n=o[e];return n.loaded?n.execute.apply(void 0,t):n.load().then((()=>c(e,t)))}},65864:(e,t,n)=>{n.d(t,{$B:()=>y,Bi:()=>m,Rg:()=>h,U9:()=>u,ZC:()=>l,fT:()=>d,rS:()=>f,xD:()=>x});var i=n(5443),r=n(91075),a=n(48526),o=n(86738),c=n(39829),s=n(82799);function l(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function u(e){return void 0!==e.points}function d(e){return void 0!==e.x&&void 0!==e.y}function h(e){return void 0!==e.paths||void 0!==e.curvePaths}function m(e){return void 0!==e.rings||void 0!==e.curveRings}function f(e){return null==e?null:e instanceof r.A?e:d(e)?o.A.fromJSON(e):h(e)?s.A.fromJSON(e):m(e)?c.A.fromJSON(e):u(e)?a.A.fromJSON(e):l(e)?i.A.fromJSON(e):null}function y(e){return e?d(e)?"esriGeometryPoint":h(e)?"esriGeometryPolyline":m(e)?"esriGeometryPolygon":l(e)?"esriGeometryEnvelope":u(e)?"esriGeometryMultipoint":null:null}const b={esriGeometryPoint:o.A,esriGeometryPolyline:s.A,esriGeometryPolygon:c.A,esriGeometryEnvelope:i.A,esriGeometryMultipoint:a.A,esriGeometryMultiPatch:c.A};function x(e){return e&&b[e]||null}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1123],{1123:(e,t,n)=>{n.r(t),n.d(t,{invokeGeometryOp:()=>c});var i=n(65864);function r(e,t){let n;return{loaded:!1,load:()=>n??=t().then((t=>{o[e]={loaded:!0,execute:t}}))}}function a(e){return null==e?null:e.toJSON()}const o={disjoint:r("disjoint",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(1598)]).then(n.bind(n,7978)).then((e=>e.execute)))),intersects:r("intersects",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(7360)]).then(n.bind(n,55284)).then((e=>e.execute)))),touches:r("touches",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(2503)]).then(n.bind(n,83547)).then((e=>e.execute)))),crosses:r("crosses",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(9700)]).then(n.bind(n,85672)).then((e=>e.execute)))),within:r("within",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(9265)]).then(n.bind(n,85445)).then((e=>e.execute)))),contains:r("contains",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(1867)]).then(n.bind(n,29127)).then((e=>e.execute)))),overlaps:r("overlaps",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(1414)]).then(n.bind(n,46178)).then((e=>e.execute)))),equals:r("equals",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(5180)]).then(n.bind(n,45328));return(t,n)=>e.execute((0,i.rS)(t),(0,i.rS)(n))})),relate:r("relate",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(5552)]).then(n.bind(n,43628));return(t,n,r)=>e.execute((0,i.rS)(t),(0,i.rS)(n),r)})),intersection:r("intersection",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(9263)]).then(n.bind(n,49263)).then((e=>e.execute)))),union:r("union",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(6339)]).then(n.bind(n,56339)).then((e=>e.executeMany)))),difference:r("difference",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(3054)]).then(n.bind(n,93054));return(t,n)=>a(e.execute((0,i.rS)(t),(0,i.rS)(n)))})),symmetricDifference:r("symmetricDifference",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(9041)]).then(n.bind(n,89041));return(t,n)=>a(e.execute((0,i.rS)(t),(0,i.rS)(n)))})),clip:r("clip",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(4815)]).then(n.bind(n,24815));return(t,n)=>a(e.execute((0,i.rS)(t),(0,i.rS)(n)))})),cut:r("cut",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(7817)]).then(n.bind(n,37817));return(t,n)=>e.execute((0,i.rS)(t),(0,i.rS)(n)).map((e=>a(e)))})),area:r("area",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(3236)]).then(n.bind(n,95624)),{convertFromSpatialReferenceUnit:t,toAreaUnit:r}=await n.e(547).then(n.bind(n,40547));return(n,a)=>{const o=e.execute((0,i.rS)(n));return t(n.spatialReference,r(a),o)}})),geodeticArea:r("geodeticArea",(async()=>{const e=await n.e(9506).then(n.bind(n,89506)),{convert:t,squareMeters:r,toAreaUnit:a}=await n.e(547).then(n.bind(n,40547));return await e.load(),(n,o,c)=>{const s=e.execute((0,i.rS)(n),{curveType:c});return t(r,a(o),s)}})),length:r("length",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(7074)]).then(n.bind(n,51190)),{convertFromSpatialReferenceUnit:t,toLengthUnit:i}=await n.e(547).then(n.bind(n,40547));return(n,r)=>{const a=e.execute(n);return t(n.spatialReference,i(r),a)}})),geodeticLength:r("geodeticLength",(async()=>{const e=await n.e(427).then(n.bind(n,40427)),{convert:t,meters:r,toLengthUnit:a}=await n.e(547).then(n.bind(n,40547));return await e.load(),(n,o,c)=>{const s=e.execute((0,i.rS)(n),{curveType:c});return t(r,a(o),s)}})),distance:r("distance",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(9202)]).then(n.bind(n,77038)),{convertFromSpatialReferenceUnit:t,toLengthUnit:r}=await n.e(547).then(n.bind(n,40547));return(n,a,o)=>{const c=e.execute((0,i.rS)(n),(0,i.rS)(a));return t(n.spatialReference,r(o),c)}})),densify:r("densify",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(8411)]).then(n.bind(n,88411)),{convertToSpatialReferenceUnit:t,toLengthUnit:r}=await n.e(547).then(n.bind(n,40547));return(n,o,c)=>(o=t(r(c),n.spatialReference,o),a(e.execute((0,i.rS)(n),o)))})),geodeticDensify:r("geodeticDensify",(async()=>{const e=await n.e(4097).then(n.bind(n,64097)),{convert:t,meters:r,toLengthUnit:o}=await n.e(547).then(n.bind(n,40547));return await e.load(),(n,c,s,l)=>(c=t(o(s),r,c),a(e.execute((0,i.rS)(n),c,{curveType:l})))})),generalize:r("generalize",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(591)]).then(n.bind(n,60591)),{convertToSpatialReferenceUnit:t,toLengthUnit:r}=await n.e(547).then(n.bind(n,40547));return(n,o,c,s)=>(o=t(r(c),n.spatialReference,o),a(e.execute((0,i.rS)(n),o,s)))})),buffer:r("buffer",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(1364),n.e(6160)]).then(n.bind(n,46160)),{convertToSpatialReferenceUnit:t,toLengthUnit:i}=await n.e(547).then(n.bind(n,40547));return(n,r,a)=>(r=t(i(a),n.spatialReference,r),e.execute(n,r))})),geodesicBuffer:r("geodesicBuffer",(async()=>{const e=await n.e(9159).then(n.bind(n,49159)),{convert:t,meters:i,toLengthUnit:r}=await n.e(547).then(n.bind(n,40547));return await e.load(),(n,a,o,c)=>(a=t(r(o),i,a),e.execute(n,a,{curveType:c}))})),offset:r("offset",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(5605)]).then(n.bind(n,15605)),{convertToSpatialReferenceUnit:t,toLengthUnit:i}=await n.e(547).then(n.bind(n,40547));return(n,r,a,o)=>(r=t(i(a),n.spatialReference,r),e.execute(n,r,o))})),rotate:r("rotate",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(647)]).then(n.bind(n,50647)),{default:t}=await Promise.all([n.e(3661),n.e(1878),n.e(8812)]).then(n.bind(n,78812));return(n,r,o,c)=>{const s=(new t).rotate(r,o,c);return a(e.execute((0,i.rS)(n),s))}})),centroid:r("centroid",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(2657)]).then(n.bind(n,17077));return t=>a(e.execute((0,i.rS)(t)))})),labelPoint:r("labelPoint",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(5913),n.e(5137)]).then(n.bind(n,91421));return t=>a(e.execute((0,i.rS)(t)))})),simplify:r("simplify",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(3637)]).then(n.bind(n,3637)).then((e=>e.execute)))),isSimple:r("isSimple",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(3637)]).then(n.bind(n,3637)).then((e=>e.isSimple)))),convexHull:r("convexHull",(()=>Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(5666)]).then(n.bind(n,55666)).then((e=>e.execute)))),getNearestCoordinate:r("getNearestCoordinate",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(6468)]).then(n.bind(n,48032));return(t,n,r)=>{const o=e.getNearestCoordinate((0,i.rS)(t),(0,i.rS)(n),r);return{...o,coordinate:a(o.coordinate)}}})),getNearestVertex:r("getNearestVertex",(async()=>{const e=await Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(6468)]).then(n.bind(n,48032));return(t,n)=>{const r=e.getNearestVertex((0,i.rS)(t),(0,i.rS)(n));return{...r,coordinate:a(r.coordinate)}}}))};function c(e,t){const n=o[e];return n.loaded?n.execute.apply(void 0,t):n.load().then((()=>c(e,t)))}},65864:(e,t,n)=>{n.d(t,{$B:()=>y,Bi:()=>m,Rg:()=>h,U9:()=>u,ZC:()=>l,fT:()=>d,rS:()=>f,xD:()=>x});var i=n(5443),r=n(91075),a=n(48526),o=n(86738),c=n(39829),s=n(82799);function l(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function u(e){return void 0!==e.points}function d(e){return void 0!==e.x&&void 0!==e.y}function h(e){return void 0!==e.paths||void 0!==e.curvePaths}function m(e){return void 0!==e.rings||void 0!==e.curveRings}function f(e){return null==e?null:e instanceof r.A?e:d(e)?o.A.fromJSON(e):h(e)?s.A.fromJSON(e):m(e)?c.A.fromJSON(e):u(e)?a.A.fromJSON(e):l(e)?i.A.fromJSON(e):null}function y(e){return e?d(e)?"esriGeometryPoint":h(e)?"esriGeometryPolyline":m(e)?"esriGeometryPolygon":l(e)?"esriGeometryEnvelope":u(e)?"esriGeometryMultipoint":null:null}const b={esriGeometryPoint:o.A,esriGeometryPolyline:s.A,esriGeometryPolygon:c.A,esriGeometryEnvelope:i.A,esriGeometryMultipoint:a.A,esriGeometryMultiPatch:c.A};function x(e){return e&&b[e]||null}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2507],{10838:(a,e,t)=>{t.d(e,{ao:()=>h,ud:()=>u,xO:()=>T});var n=t(49186),r=t(36563),i=t(74887),o=t(73444);const s={ar:!0,bg:!0,bs:!0,ca:!0,cs:!0,da:!0,de:!0,el:!0,en:!0,es:!0,et:!0,fi:!0,fr:!0,he:!0,hr:!0,hu:!0,id:!0,it:!0,ja:!0,ko:!0,lt:!0,lv:!0,nb:"no",nl:!0,no:!0,nn:"no",pl:!0,pt:"pt-BR","pt-BR":!0,"pt-PT":!0,ro:!0,ru:!0,sk:!0,sl:!0,sr:!0,sv:!0,th:!0,tr:!0,uk:!0,vi:!0,zh:"zh-CN","zh-CN":!0,"zh-HK":!0,"zh-TW":!0};function d(a){if(function(a){return a in s}(a)){const e=s[a];return!0===e?a:e}return null}const m=[],c=new Map;function l(a){for(const e of c.keys())S(a.pattern,e)&&c.delete(e)}function h(a){return m.includes(a)||(l(a),m.unshift(a)),(0,r.hA)((()=>{const e=m.indexOf(a);e>-1&&(m.splice(e,1),l(a))}))}async function u(a){const e=(0,o.JK)();c.has(a)||c.set(a,async function(a,e){const t=[];for(const n of m)if(S(n.pattern,a))try{return await n.fetchMessageBundle(a,e)}catch(a){t.push(a)}if(t.length)throw new n.A("intl:message-bundle-error",`Errors occurred while loading "${a}"`,{errors:t});throw new n.A("intl:no-message-bundle-loader",`No loader found for message bundle "${a}"`)}(a,e));const t=c.get(a);return t&&await A.add(t),t}function T(a){const e=(0,o.ZS)(a);return e?d(a)??d(e.language):null}function S(a,e){return"string"==typeof a?e.startsWith(a):a.test(e)}(0,o.Ml)((()=>{c.clear()}));const A=new class{constructor(){this._numLoading=0,this._dfd=null}async waitForAll(){this._dfd&&await this._dfd.promise}add(a){return this._increase(),a.then((()=>this._decrease()),(()=>this._decrease())),this.waitForAll()}_increase(){this._numLoading++,this._dfd||(this._dfd=(0,i.Tw)())}_decrease(){this._numLoading=Math.max(this._numLoading-1,0),this._dfd&&0===this._numLoading&&(this._dfd.resolve(),this._dfd=null)}}},56400:(a,e,t)=>{t.d(e,{ZS:()=>d,hv:()=>m,wr:()=>c,P6:()=>s});var n=t(98623);const r=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var i=t(96285);const o="shortOffset";function s(a,e=!1){return{json:{read:{source:a,reader:(e,t)=>t[a]?d(t[a]):null},write:!!e&&{allowNull:!0,writer(e,t){t[a]=e?function(a){return{timeZoneIANA:a}}(e):null}}}}}function d(a,e=n.qU){return a?"timeZoneIANA"in a?a.timeZoneIANA:function(a,e=n.qU){if(!a||!r.has(a.timeZone))return e;const t=r.get(a.timeZone);return a.timeZone.startsWith("UTC")||a.respectsDaylightSaving?t:function(a){const e=i.c9.local().setZone(a),t=Math.min(e.set({month:1,day:1}).offset,e.set({month:5}).offset);return 0===t?"Etc/UTC":`Etc/GMT${i.mQ.instance(-t).formatOffset(0,"narrow")}`}(t)}(a,e):e}function m(a,e,t,r,i){if(e&&"date"===i)return{timeZone:n.n$,timeZoneName:void 0};const s=r.timeStyle||r.hour,d=t===n.L5;return{timeZone:d?"timestamp-offset"===i?void 0:a??n.n$:t,timeZoneName:d&&s?o:void 0}}function c(a){const e=new Set(["etc/utc","etc/gmt","gmt"]),t=new Set(Intl.supportedValuesOf("timeZone").map((a=>a.toLowerCase())));return a===n.qU||a===n.L5||e.has(a.toLowerCase())||t.has(a.toLowerCase())}},65529:(a,e,t)=>{t.d(e,{A:()=>s});var n=t(90237),r=t(69622),i=t(36563),o=t(40608);class s{constructor(){this._emitter=new s.EventEmitter(this)}emit(a,e){return this._emitter.emit(a,e)}on(a,e){return this._emitter.on(a,e)}once(a,e){return this._emitter.once(a,e)}hasEventListener(a){return this._emitter.hasEventListener(a)}}!function(a){class e{constructor(a=null){this._target=a,this._listenersMap=null}clear(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clear()}emit(a,e){let t=this._listenersMap?.get(a);if(!t)return!1;const n=this._target||this;let r=!1;for(const a of t.slice()){const t="deref"in a?a.deref():a;t?t?.call(n,e):r=!0}return r&&(t=t.filter((a=>!("deref"in a)||null!=a.deref())),this._listenersMap.set(a,t)),t.length>0}on(a,e){if(Array.isArray(a)){const t=a.map((a=>this.on(a,e)));return(0,i.vE)(t)}if(a.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;const t=this._listenersMap.get(a)||[];return t.push(e),this._listenersMap.set(a,t),(0,i.hA)((()=>{const t=this._listenersMap?.get(a),n=t?.indexOf(e)??-1;n>=0&&t.splice(n,1)}))}once(a,e){const t=this.on(a,(a=>{t.remove();const n="deref"in e?e.deref():e;n?.call(null,a)}));return t}hasEventListener(a){const e=this._listenersMap?.get(a);return null!=e&&e.length>0}}a.EventEmitter=e,a.EventedMixin=a=>{let t=class extends a{constructor(){super(...arguments),this._emitter=new e}destroy(){this._emitter.clear()}emit(a,e){return this._emitter.emit(a,e)}on(a,e){return this._emitter.on(a,e)}once(a,e){return this._emitter.once(a,e)}hasEventListener(a){return this._emitter.hasEventListener(a)}};return t=(0,n._)([(0,o.$)("esri.core.Evented")],t),t};let t=class extends r.A{constructor(){super(...arguments),this._emitter=new s.EventEmitter(this)}destroy(){this._emitter.clear()}emit(a,e){return this._emitter.emit(a,e)}on(a,e){return this._emitter.on(a,e)}once(a,e){return this._emitter.once(a,e)}hasEventListener(a){return this._emitter.hasEventListener(a)}};t=(0,n._)([(0,o.$)("esri.core.Evented.EventedAccessor")],t),a.EventedAccessor=t}(s)},73444:(a,e,t)=>{t.d(e,{JK:()=>d,Ml:()=>T,ZS:()=>c,oQ:()=>h});var n=t(36563);let r;t(44208);const i=globalThis.esriConfig?.locale??globalThis.dojoConfig?.locale,o=globalThis.document?.documentElement;function s(){const a=o?.getAttribute("lang"),e=globalThis.navigator?.language;return i??a??e??"en"}function d(){return void 0===r&&(r=s()),r}const m=/^(?<language>[a-z]{2,3})(?:-[a-z]{3})?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(a=d()){return m.exec(a)?.groups}const l=[];function h(a){return l.push(a),(0,n.hA)((()=>{l.splice(l.indexOf(a),1)}))}new Map;const u=[];function T(a){return u.push(a),(0,n.hA)((()=>u.splice(u.indexOf(a),1)))}function S(){const a=s();r!==a&&([...u].forEach((e=>e(a))),r=a,[...l].forEach((e=>e(a))))}globalThis.addEventListener?.("languagechange",S),o&&new MutationObserver((()=>{S()})).observe(o,{attributeFilter:["lang"]})},79901:(a,e,t)=>{t.d(e,{w:()=>d});var n=t(56507),r=t(96156);const i=Object.prototype.toString;function o(a){const e="__accessorMetadata__"in a?(0,n.dp)(a):a;return function(...a){if(a.push(e),"number"==typeof a[2])throw new Error("Using @cast has parameter decorator is not supported since 4.16");return s.apply(this,a)}}function s(a,e,t,n){(0,r.z4)(a,e).cast=n}function d(...a){if(3!==a.length||"string"!=typeof a[1])return 1===a.length&&"[object Function]"===i.call(a[0])?o(a[0]):1===a.length&&"string"==typeof a[0]?function(a){return(e,t)=>{(0,r.z4)(e,a).cast=e[t]}}(a[0]):void 0}},97770:(a,e,t)=>{t.d(e,{Ey:()=>L,F8:()=>b,J2:()=>v,Yq:()=>k,_v:()=>E,iS:()=>w,wj:()=>U});var n=t(66552),r=t(73444),i=t(98623),o=(t(56400),t(96285));const s={year:void 0,month:void 0,day:void 0,weekday:void 0},d={hour:void 0,minute:void 0,second:void 0},m={timeZone:i.n$},c={year:"numeric",month:"numeric",day:"numeric"},l={year:"numeric",month:"long",day:"numeric"},h={year:"numeric",month:"short",day:"numeric"},u={year:"numeric",month:"long",weekday:"long",day:"numeric"},T={hour:"numeric",minute:"numeric"},S={...T,second:"numeric"},A={hourCycle:"h23"},g={...T,...A},f={...S,...A},y={"short-date":c,"short-date-short-time":{...c,...T},"short-date-short-time-24":{...c,...g},"short-date-long-time":{...c,...S},"short-date-long-time-24":{...c,...f},"short-date-le":c,"short-date-le-short-time":{...c,...T},"short-date-le-short-time-24":{...c,...g},"short-date-le-long-time":{...c,...S},"short-date-le-long-time-24":{...c,...f},"long-month-day-year":l,"long-month-day-year-short-time":{...l,...T},"long-month-day-year-short-time-24":{...l,...g},"long-month-day-year-long-time":{...l,...S},"long-month-day-year-long-time-24":{...l,...f},"day-short-month-year":h,"day-short-month-year-short-time":{...h,...T},"day-short-month-year-short-time-24":{...h,...g},"day-short-month-year-long-time":{...h,...S},"day-short-month-year-long-time-24":{...h,...f},"long-date":u,"long-date-short-time":{...u,...T},"long-date-short-time-24":{...u,...g},"long-date-long-time":{...u,...S},"long-date-long-time-24":{...u,...f},"long-month-year":{month:"long",year:"numeric"},"short-month-year":{month:"short",year:"numeric"},year:{year:"numeric"},"short-time":T,"long-time":S},E=(0,n.O)()({shortDate:"short-date",shortDateShortTime:"short-date-short-time",shortDateShortTime24:"short-date-short-time-24",shortDateLongTime:"short-date-long-time",shortDateLongTime24:"short-date-long-time-24",shortDateLE:"short-date-le",shortDateLEShortTime:"short-date-le-short-time",shortDateLEShortTime24:"short-date-le-short-time-24",shortDateLELongTime:"short-date-le-long-time",shortDateLELongTime24:"short-date-le-long-time-24",longMonthDayYear:"long-month-day-year",longMonthDayYearShortTime:"long-month-day-year-short-time",longMonthDayYearShortTime24:"long-month-day-year-short-time-24",longMonthDayYearLongTime:"long-month-day-year-long-time",longMonthDayYearLongTime24:"long-month-day-year-long-time-24",dayShortMonthYear:"day-short-month-year",dayShortMonthYearShortTime:"day-short-month-year-short-time",dayShortMonthYearShortTime24:"day-short-month-year-short-time-24",dayShortMonthYearLongTime:"day-short-month-year-long-time",dayShortMonthYearLongTime24:"day-short-month-year-long-time-24",longDate:"long-date",longDateShortTime:"long-date-short-time",longDateShortTime24:"long-date-short-time-24",longDateLongTime:"long-date-long-time",longDateLongTime24:"long-date-long-time-24",longMonthYear:"long-month-year",shortMonthYear:"short-month-year",year:"year"}),p={ar:"ar-u-nu-latn-ca-gregory",nn:"no-NN"};function M(){const a=(0,r.JK)(),e=(0,r.ZS)(a)?.language;return(e&&p[e])??a}let C=new WeakMap;const _=y["short-date-short-time"];function v(a){return y[a]}function k(a,e=_){return function(a){let e=C.get(a);if(!e){const t=M(),n=U(a.timeZone??i.qU),r={...a,timeZone:n};e=new Intl.DateTimeFormat(t,r),C.set(a,e)}return e}(e).format(a)}function w(a,e=_){return k(new Date(a),{...e,...m,...d})}function b(a,e=_){return k(new Date(`1970-01-01T${a}Z`),{...e,...m,...s})}function L(a,e=_){if(e.timeZone)return k(new Date(a),e);const t=o.c9.fromISO(a,{setZone:!0}),n=0===t.offset?i.n$:e.timeZone,r={...e,timeZone:n};return t.toLocaleString(r,{locale:M()})}function U(a){switch(a){case i.qU:return i.N5;case i.L5:return i.n$;default:return a}}(0,r.Ml)((()=>{C=new WeakMap}))},98623:(a,e,t)=>{t.d(e,{L5:()=>r,N5:()=>o,n$:()=>i,qU:()=>n});const n="system",r="unknown",i="UTC",o=Intl.DateTimeFormat().resolvedOptions().timeZone}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6222,8812],{5808:(e,t,n)=>{n.d(t,{O:()=>r});const r={geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}},6222:(e,t,n)=>{n.r(t),n.d(t,{area:()=>x.a,buffer:()=>S,centroid:()=>C.c,clip:()=>M.c,contains:()=>D.c,convexHull:()=>N,crosses:()=>T,cut:()=>O.c,densify:()=>A.d,difference:()=>z.d,disjoint:()=>B,distance:()=>U.d,equals:()=>Y.e,generalize:()=>k.g,geodesicBuffer:()=>y,geodeticArea:()=>_.g,geodeticDensify:()=>d.g,geodeticLength:()=>g.g,intersection:()=>L,intersects:()=>V.i,labelPoint:()=>W.l,length:()=>H.l,loadAll:()=>ge,offset:()=>J,overlaps:()=>te,proximity:()=>ne.p,relate:()=>re.r,rotate:()=>de,simplify:()=>ie,symmetricDifference:()=>ue.s,touches:()=>me,union:()=>he,within:()=>_e});var r=n(50647),s=n(4576),o=n(83047),i=n(24988),u=n(5808);let a,c,m,l,f;function h(){return!!a&&(0,i.s1)()}async function p(){if(!h()){const[e]=await Promise.all([Promise.resolve().then(n.bind(n,78125)),(0,i.Hh)()]);a=e.fromGeometry,c=e.fromSpatialReference,m=e.getSpatialReference,l=e.toPolygon,f=(0,i.fz)()}}const y=Object.freeze(Object.defineProperty({__proto__:null,execute:function(e,t,n={}){let{curveType:r="geodesic",maxDeviation:s=NaN,unit:f}=n;f&&(t=(0,o.oU)(t,f,"meters"),s&&(s=(0,o.oU)(s,f,"meters")));const h=m(e);return l((0,i.g7)(a(e),c(h),u.O[r],t,s),h)},executeMany:function(e,t,n={}){let{curveType:r="geodesic",maxDeviation:f=NaN,union:h=!1,unit:p}=n;p&&(t=t.map((e=>(0,o.oU)(e,p,"meters"))),f&&(f=(0,o.oU)(f,p,"meters")));const y=e.map(a),_=m(e);return(0,i.zo)(y,c(_),u.O[r],t,f,h).map((e=>l(e,_))).filter(s.Ru)},isLoaded:h,load:p,get supportsCurves(){return f}},Symbol.toStringTag,{value:"Module"}));var _=n(49590),d=n(27749),g=n(39663),P=n(78812),x=n(65708),v=n(96718),b=n(78125);const G=(0,v.fz)(),S=Object.freeze(Object.defineProperty({__proto__:null,execute:function(e,t,n={}){const{unit:r}=n,s=(0,b.getSpatialReference)(e);return r&&(t=(0,o.UW)(t,r,s)),(0,b.toPolygon)((0,v.g7)((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(s),t),s)},executeMany:function(e,t,n={}){let{maxDeviation:r=NaN,maxVerticesInFullCircle:i=96,union:u=!1,unit:a}=n;const c=(0,b.getSpatialReference)(e);a&&(t=t.map((e=>(0,o.UW)(e,a,c))),r&&(r=(0,o.UW)(r,a,c)));const m=e.map(b.fromGeometry);return(0,v.yv)(m,(0,b.fromSpatialReference)(c),t,r,i,u).map((e=>(0,b.toPolygon)(e,c))).filter(s.Ru)},supportsCurves:G},Symbol.toStringTag,{value:"Module"}));var C=n(48265),M=n(83587),D=n(84252),E=n(91577);const w=(0,E.fz)(),N=Object.freeze(Object.defineProperty({__proto__:null,execute:function(e){const t=(0,b.getSpatialReference)(e);return(0,b.toGeometry)((0,E.g7)((0,b.fromGeometry)(e)),t)},executeMany:function(e,t={}){const{merge:n=!1}=t,r=e.map(b.fromGeometry),s=(0,b.getSpatialReference)(e);return(0,E.zo)(r,n).map((e=>(0,b.toGeometry)(e,s)))},isConvex:function(e){return(0,E.qT)((0,b.fromGeometry)(e))},supportsCurves:w},Symbol.toStringTag,{value:"Module"})),I=new(n(29821).O),R=I.supportsCurves(),T=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:function(e){const t=(0,b.getSpatialReference)(e);return I.accelerateGeometry((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t),1)},execute:function(e,t){return I.execute((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(e.spatialReference),null)},supportsCurves:R},Symbol.toStringTag,{value:"Module"}));var O=n(68925),A=n(85503),z=n(70722);const q=new(n(12189).a),j=q.supportsCurves(),B=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:function(e){const t=(0,b.getSpatialReference)(e);return q.accelerateGeometry((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t),1)},execute:function(e,t){return q.execute((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(e.spatialReference))},supportsCurves:j},Symbol.toStringTag,{value:"Module"}));var U=n(16346),Y=n(90836),k=n(92523),X=n(33708);const F=(0,X.fz)(),L=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:function(e){const t=(0,b.getSpatialReference)(e);return(0,X.Sg)((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t))},execute:function(e,t){const n=(0,b.getSpatialReference)(e);return(0,b.toGeometry)((0,X.g7)((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(n)),n)},executeMany:function(e,t){const n=e.map(b.fromGeometry),r=(0,b.getSpatialReference)(e);return(0,X.zo)(n,(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(r),7).map((e=>(0,b.toGeometry)(e,r))).filter(s.Ru)},supportsCurves:F},Symbol.toStringTag,{value:"Module"}));var V=n(10767),W=n(5913),H=n(7817),Z=n(66070);const Q={round:0,bevel:1,miter:2,square:3},$=(0,Z.fz)(),J=Object.freeze(Object.defineProperty({__proto__:null,execute:function(e,t,n={}){const{miterLimit:r=10,flattenError:s=0,joins:i="round",unit:u}=n,a=(0,b.getSpatialReference)(e);return u&&(t=(0,o.UW)(t,u,a)),(0,b.toGeometry)((0,Z.g7)((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(a),t,Q[i],r,s),a)},executeMany:function(e,t,n={}){const{miterLimit:r=10,flattenError:i=0,joins:u="round",unit:a}=n,c=(0,b.getSpatialReference)(e);a&&(t=(0,o.UW)(t,a,c));const m=e.map(b.fromGeometry);return(0,Z.zo)(m,(0,b.fromSpatialReference)(c),t,Q[u],r,i).map((e=>(0,b.toGeometry)(e,c))).filter(s.Ru)},supportsCurves:$},Symbol.toStringTag,{value:"Module"})),K=new(n(85181).O),ee=K.supportsCurves(),te=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:function(e){const t=(0,b.getSpatialReference)(e);return K.accelerateGeometry((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t),1)},execute:function(e,t){return K.execute((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(e.spatialReference),null)},supportsCurves:ee},Symbol.toStringTag,{value:"Module"}));var ne=n(59260),re=n(65416),se=n(81150);const oe=(0,se.fz)(),ie=Object.freeze(Object.defineProperty({__proto__:null,execute:function(e){const t=(0,b.getSpatialReference)(e);return(0,b.toGeometry)((0,se.g7)((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t),!1),t)},executeMany:function(e){const t=e.map(b.fromGeometry),n=(0,b.getSpatialReference)(e);return(0,se.zo)(t,(0,b.fromSpatialReference)(n),!1).map((e=>(0,b.toGeometry)(e,n)))},isSimple:function(e){return(0,se.Pg)((0,b.fromGeometry)(e),(0,b.fromSpatialReference)((0,b.getSpatialReference)(e)),!1)},supportsCurves:oe},Symbol.toStringTag,{value:"Module"}));var ue=n(96957);const ae=new(n(46810).O),ce=ae.supportsCurves(),me=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:function(e){const t=(0,b.getSpatialReference)(e);return ae.accelerateGeometry((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t),1)},execute:function(e,t){return ae.execute((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(e.spatialReference),null)},supportsCurves:ce},Symbol.toStringTag,{value:"Module"}));var le=n(28298);const fe=(0,le.fz)(),he=Object.freeze(Object.defineProperty({__proto__:null,execute:function(e,t){const n=(0,b.getSpatialReference)(e);return(0,b.toGeometry)((0,le.g7)((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(n)),n)},executeMany:function(e){const t=e.map(b.fromGeometry),n=(0,b.getSpatialReference)(e);return(0,b.toGeometry)((0,le.zo)(t,(0,b.fromSpatialReference)(n)),n)},supportsCurves:fe},Symbol.toStringTag,{value:"Module"})),pe=new(n(22802).O),ye=pe.supportsCurves(),_e=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:function(e){const t=(0,b.getSpatialReference)(e);return pe.accelerateGeometry((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t),1)},execute:function(e,t){return pe.execute((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(e.spatialReference),null)},supportsCurves:ye},Symbol.toStringTag,{value:"Module"}));function de(e,t,n,s){const o=(new P.default).rotate(t,n,s);return(0,r.execute)(e,o)}async function ge(){await Promise.all([(0,_.l)(),p(),(0,d.l)(),(0,g.l)()])}},7817:(e,t,n)=>{n.d(t,{e:()=>o,l:()=>u,s:()=>i});var r=n(83047),s=n(78125);function o(e,t={}){const{unit:n}=t;let o=(0,s.fromGeometry)(e).calculateLength2D();if(o&&n){const t=(0,s.getSpatialReference)(e);o=(0,r.PQ)(o,t,n)}return o}const i=!0,u=Object.freeze(Object.defineProperty({__proto__:null,execute:o,supportsCurves:i},Symbol.toStringTag,{value:"Module"}))},10767:(e,t,n)=>{n.d(t,{a:()=>i,e:()=>u,i:()=>c,s:()=>a});var r=n(70031),s=n(78125);const o=new r.O;function i(e){const t=(0,s.getSpatialReference)(e);return o.accelerateGeometry((0,s.fromGeometry)(e),(0,s.fromSpatialReference)(t),1)}function u(e,t){return o.execute((0,s.fromGeometry)(e),(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(e.spatialReference),null)}const a=o.supportsCurves(),c=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:i,execute:u,supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},16346:(e,t,n)=>{n.d(t,{d:()=>m,e:()=>a,s:()=>c});var r=n(55537),s=n(90135),o=n(83047),i=n(78125);const u=new class{getOperatorType(){return 10100}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n){return this.executeEx(e,t,n,null,null,Number.NaN)}executeEx(e,t,n,o,i,u){if(e.isEmpty()||t.isEmpty())return Number.NaN;(0,r.d)(e),(0,r.d)(t);const a=e,c=t;Number.isNaN(u)&&(u=Number.POSITIVE_INFINITY);const m=new s.D(u,n).calculate(a,c,o,i);return Number.isFinite(m)?m:Number.NaN}};function a(e,t,n={}){const{unit:r}=n;let s=u.execute((0,i.fromGeometry)(e),(0,i.fromGeometry)(t),null);if(s&&r){const t=(0,i.getSpatialReference)(e);s=(0,o.PQ)(s,t,r)}return s}const c=u.supportsCurves(),m=Object.freeze(Object.defineProperty({__proto__:null,execute:a,supportsCurves:c},Symbol.toStringTag,{value:"Module"}))},22802:(e,t,n)=>{n.d(t,{O:()=>s});var r=n(12189);class s extends r.d{getOperatorType(){return 7}execute(e,t,n,s){return(0,r.r)(e,t,n,2,s)}}},24988:(e,t,n)=>{n.d(t,{Hh:()=>u,fz:()=>m,g7:()=>a,s1:()=>i,zo:()=>c});var r=n(76061),s=n(83290);let o;function i(){return!!o&&(0,s.i)()}async function u(){if(!i()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(7444)]).then(n.bind(n,37444)),Promise.all([n.e(3661),n.e(1878),n.e(2189)]).then(n.bind(n,12189)).then((e=>e.aG)).then((({injectPe:e})=>e)),(0,s.l)()]);o=new e.OperatorGeodesicBuffer,t(s.p)}}function a(e,t,n,r,s){return o.execute(e,t,n,r,s,!1,null)}function c(e,t,n,s,i,u){const a=o.executeMany(new r.S(e),t,n,s,i,!1,u,null);return Array.from(a)}function m(){return o.supportsCurves()}},27749:(e,t,n)=>{n.d(t,{a:()=>p,e:()=>h,g:()=>y,i:()=>l,l:()=>f,s:()=>m});var r=n(83047),s=n(77085),o=n(5808);let i,u,a,c,m;function l(){return!!i&&(0,s.s1)()}async function f(){if(!l()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(8125)]).then(n.bind(n,78125)),(0,s.Hh)()]);i=e.fromGeometry,u=e.fromSpatialReference,a=e.getSpatialReference,c=e.toGeometry,m=(0,s.fz)()}}function h(e,t,n={}){const{curveType:m="geodesic",unit:l}=n;l&&(t=(0,r.oU)(t,l,"meters"));const f=a(e);return c((0,s.g7)(i(e),t,u(f),o.O[m]),f)}function p(e,t,n={}){const{curveType:m="geodesic",unit:l}=n;l&&(t=(0,r.oU)(t,l,"meters"));const f=e.map(i),h=a(e);return(0,s.zo)(f,t,u(h),o.O[m]).map((e=>c(e,h)))}const y=Object.freeze(Object.defineProperty({__proto__:null,execute:h,executeMany:p,isLoaded:l,load:f,get supportsCurves(){return m}},Symbol.toStringTag,{value:"Module"}))},28298:(e,t,n)=>{n.d(t,{fz:()=>a,g7:()=>i,zo:()=>u});var r=n(76061),s=(n(55537),n(83661),n(35368),n(79187),n(12189));n(95213);const o=new s.h;function i(e,t,n){return o.execute(e,t,n,null)}function u(e,t){return o.executeMany(new r.S(e),t,null).next()}function a(){return o.supportsCurves()}},29821:(e,t,n)=>{n.d(t,{O:()=>s});var r=n(12189);class s extends r.d{getOperatorType(){return 6}execute(e,t,n,s){return(0,r.r)(e,t,n,16,s)}}},33708:(e,t,n)=>{n.d(t,{Sg:()=>i,fz:()=>c,g7:()=>u,zo:()=>a});var r=n(76061),s=(n(55537),n(12189));n(35368),n(95213);const o=new s.f;function i(e,t){return o.accelerateGeometry(e,t,1)}function u(e,t,n){return o.execute(e,t,n,null)}function a(e,t,n,s){const i=o.executeMany(new r.S(e),new r.S([t]),n,null,s);return Array.from(i)}function c(){return o.supportsCurves()}},35223:(e,t,n)=>{n.d(t,{Hh:()=>i,fz:()=>a,g7:()=>u,s1:()=>o});var r=n(83290);let s;function o(){return!!s&&(0,r.i)()}async function i(){if(!o()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(4167)]).then(n.bind(n,28879)),Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(6061)]).then(n.bind(n,12189)).then((e=>e.aG)).then((({injectPe:e})=>e)),(0,r.l)()]);s=new e.OperatorGeodeticLength,t(r.p)}}function u(e,t,n){return s.execute(e,t,n,null)}function a(){return s.supportsCurves()}},39663:(e,t,n)=>{n.d(t,{e:()=>f,g:()=>h,i:()=>m,l:()=>l,s:()=>c});var r=n(83047),s=n(35223),o=n(5808);let i,u,a,c;function m(){return!!i&&(0,s.s1)()}async function l(){if(!m()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(3169)]).then(n.bind(n,78125)),(0,s.Hh)()]);i=e.fromGeometry,u=e.fromSpatialReference,a=e.getSpatialReference,c=(0,s.fz)()}}function f(e,t={}){const{curveType:n="geodesic",unit:c}=t,m=a(e);let l=(0,s.g7)(i(e),u(m),o.O[n]);return l&&c&&(l=(0,r.oU)(l,"meters",c)),l}const h=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:m,load:l,get supportsCurves(){return c}},Symbol.toStringTag,{value:"Module"}))},46810:(e,t,n)=>{n.d(t,{O:()=>s});var r=n(12189);class s extends r.d{getOperatorType(){return 5}execute(e,t,n,s){return(0,r.r)(e,t,n,8,s)}}},48265:(e,t,n)=>{n.d(t,{c:()=>a,e:()=>i,s:()=>u});var r=n(15546),s=n(78125);const o=new class{getOperatorType(){return 10205}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(e,t){return(0,r.c)(e)}};function i(e){const t=o.execute((0,s.fromGeometry)(e),null);return(0,s.toPoint)(t,(0,s.getSpatialReference)(e))}const u=o.supportsCurves(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},49074:(e,t,n)=>{n.d(t,{fz:()=>a,g7:()=>i,zo:()=>u});var r=n(76061),s=(n(55537),n(12189));n(83661),n(35368),n(79187),n(95213);const o=new s.e;function i(e,t,n){return o.execute(e,t,n,null)}function u(e,t,n){const s=o.executeMany(new r.S(e),new r.S([t]),n,null);return Array.from(s)}function a(){return o.supportsCurves()}},49590:(e,t,n)=>{n.d(t,{e:()=>f,g:()=>h,i:()=>m,l:()=>l,s:()=>c});var r=n(83047),s=n(86742),o=n(5808);let i,u,a,c;function m(){return!!i&&(0,s.s1)()}async function l(){if(!m()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(3169)]).then(n.bind(n,78125)),(0,s.Hh)()]);i=e.fromGeometry,u=e.fromSpatialReference,a=e.getSpatialReference,c=(0,s.fz)()}}function f(e,t={}){const{curveType:n="geodesic",unit:c}=t,m=a(e);let l=(0,s.g7)(i(e),u(m),o.O[n]);return l&&c&&(l=(0,r.oU)(l,"square-meters",c)),l}const h=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:m,load:l,get supportsCurves(){return c}},Symbol.toStringTag,{value:"Module"}))},50647:(e,t,n)=>{n.r(t),n.d(t,{execute:()=>m,executeMany:()=>l,supportsCurves:()=>f});var r=n(4576),s=n(76061),o=n(55537);class i extends s.G{constructor(e,t,n){super(),this.m_index=-1,this.m_transformation=t.clone(),this.m_inputGeometryCursor=e}next(){let e;if(e=this.m_inputGeometryCursor.next()){(0,o.d)(e),this.m_index=this.m_inputGeometryCursor.getGeometryID();const t=e.clone();return t.applyTransformation(this.m_transformation),t}return null}getGeometryID(){return this.m_index}tock(){return!0}getRank(){return 1}}const u=new class{getOperatorType(){return 10303}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,n){return new i(e,t,n)}execute(e,t,n){const r=e.clone();return r.applyTransformation(t),r}};function a(e,t){return u.execute(e,t,null)}var c=n(78125);function m(e,t){const n=(0,c.getSpatialReference)(e);return(0,c.toGeometry)(a((0,c.fromGeometry)(e),t.transform),n)}function l(e,t){const n=e.map(c.fromGeometry),o=(0,c.getSpatialReference)(e);return function(e,t){const n=u.executeMany(new s.S(e),t,null);return Array.from(n)}(n,t.transform).map((e=>(0,c.toGeometry)(e,o))).filter(r.Ru)}const f=u.supportsCurves()},59260:(e,t,n)=>{n.d(t,{a:()=>c,b:()=>m,g:()=>a,p:()=>f,s:()=>l});var r=n(36633),s=n(83047),o=n(78125),i=n(79533);const u=new r.O;function a(e,t,n={}){const{calculateLeftRightSide:r=!1,testPolygonInterior:a=!0,unit:c}=n,m=u.getNearestCoordinate((0,o.fromGeometry)(e),(0,o.fromPoint)(t).getXY(),a,r);if(c&&m.m_distance){const t=(0,o.getSpatialReference)(e);m.m_distance=(0,s.PQ)(m.m_distance,t,c)}return(0,i.C)(m,e,r)}function c(e,t,n={}){const{unit:r}=n,a=u.getNearestVertex((0,o.fromGeometry)(e),(0,o.fromPoint)(t).getXY());if(r&&a.m_distance){const t=(0,o.getSpatialReference)(e);a.m_distance=(0,s.PQ)(a.m_distance,t,r)}return(0,i.C)(a,e)}function m(e,t,n,r,a={}){const{unit:c}=a,m=(0,o.getSpatialReference)(e);return c&&n&&(n=(0,s.UW)(n,c,m)),u.getNearestVertices((0,o.fromGeometry)(e),(0,o.fromPoint)(t).getXY(),n,r).map((t=>(c&&t.m_distance&&(t.m_distance=(0,s.PQ)(t.m_distance,m,c)),(0,i.C)(t,e))))}const l=u.supportsCurves(),f=Object.freeze(Object.defineProperty({__proto__:null,getNearestCoordinate:a,getNearestVertex:c,getNearestVertices:m,supportsCurves:l},Symbol.toStringTag,{value:"Module"}))},65416:(e,t,n)=>{n.d(t,{a:()=>i,e:()=>u,i:()=>a,r:()=>m,s:()=>c});var r=n(12189),s=n(78125);const o=new class{supportsCurves(){return!0}getOperatorType(){return 1}execute(e,t,n,s,o){return(0,r.ad)(e,t,n,s,o)}isValidDE9IM(e){return 0===(0,r.ae)(e)}accelerateGeometry(e,t,n){return(0,r.af)(e,t,n)}canAccelerateGeometry(e){return(0,r.ag)(e)}};function i(e){const t=(0,s.getSpatialReference)(e);return o.accelerateGeometry((0,s.fromGeometry)(e),(0,s.fromSpatialReference)(t),1)}function u(e,t,n){return o.execute((0,s.fromGeometry)(e),(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(e.spatialReference),n,null)}function a(e){return o.isValidDE9IM(e)}const c=o.supportsCurves(),m=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:i,execute:u,isValidDE9IM:a,supportsCurves:c},Symbol.toStringTag,{value:"Module"}))},65708:(e,t,n)=>{n.d(t,{a:()=>u,e:()=>o,s:()=>i});var r=n(83047),s=n(78125);function o(e,t={}){const{unit:n}=t;let o=(0,s.fromGeometry)(e).calculateArea2D();if(o&&n){const t=(0,s.getSpatialReference)(e);if(t.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const i=(0,r.B5)(t);i!==n&&(i?o=(0,r.oU)(o,i,n):(o=Math.sqrt(o),o*=(0,r.GA)(t),o**=2,o=(0,r.oU)(o,"square-meters",n)))}return o}const i=!0,u=Object.freeze(Object.defineProperty({__proto__:null,execute:o,supportsCurves:i},Symbol.toStringTag,{value:"Module"}))},66070:(e,t,n)=>{n.d(t,{fz:()=>g,g7:()=>_,zo:()=>d});var r=n(76061),s=n(95213),o=n(55537),i=n(35368),u=n(83661);const a=1.4142135623730951,c=.017453292519943295,m=256,l=1024;class f{static construct(e,t,n){const r=new f;return r.x=e.x,r.y=e.y,r.m_next=-1,r.m_prev=-1,r.z=t,r.m=n,r.type=0,r}clone(){const e=new f;return e.x=this.x,e.y=this.y,e.m_next=this.m_next,e.m_prev=this.m_prev,e.z=this.z,e.m=this.m,e.type=this.type,e}asPoint2D(){return new u.P(this.x,this.y)}}class h{constructor(e){this.m_distance=-1,this.m_tolerance=-1,this.m_miterLimit=10,this.m_joins=0,this.m_progressCounter=0,this.m_bUseZ=!1,this.m_bUseM=!1,this.m_srcPts=[],this.m_srcPtCount=0,this.m_offsetPts=[],this.m_offsetPtCount=0,this.m_a1=0,this.m_a2=0,this.m_progressTracker=e}constructOffset(){const e=this.m_inputGeometry.getGeometryType();if(e===o.G.enumLine)return this.offsetLine();if(e===o.G.enumEnvelope)return this.offsetEnvelope();if((0,o.f)(e)){const e=new i.P;return e.addSegment(this.m_inputGeometry,!0),this.m_inputGeometry=e,this.constructOffset()}if(e===o.G.enumPolyline){const e=new i.P;return this.offsetMultiPath(e),e}if(e===o.G.enumPolygon){const e=new i.a;return this.offsetMultiPath(e),e}(0,o.b)("")}offsetLine(){const e=this.m_inputGeometry,t=e.getStartXY(),n=e.getEndXY(),r=new u.P;r.setSub(n,t),r.normalize(),r.leftPerpendicularThis(),r.scale(this.m_distance),t.addThis(r),n.addThis(r);const s=e.clone();return s.setStartXY(t),s.setEndXY(n),s}offsetEnvelope(){const e=this.m_inputGeometry;if(this.m_distance>0&&2!==this.m_joins){const t=new i.a;return t.addEnvelope(e,!1),this.m_inputGeometry=t,this.constructOffset()}const t=e.clone();return t.inflateCoords(this.m_distance,this.m_distance),t}progress(){}static buildPoint(e,t,n,r){r.x=e.x+t*Math.cos(n),r.y=e.y+t*Math.sin(n),r.type=e.type,r.z=e.z,r.m=e.m,r.m_next=-1,r.m_prev=-1}addPoint(e){this.m_offsetPts.push(e.clone()),this.m_offsetPtCount++}addPointEx(e,t){if(0===this.m_offsetPtCount)return void this.addPoint(e);const n=this.m_srcPtCount,r=this.m_srcPts[0===t?n-1:t-1],s=this.m_srcPts[t],o=h.dotSign(r,s,this.m_offsetPts[this.m_offsetPtCount-1],e);if(o>0)this.addPoint(e);else if(o<0)if(h.dotSign(r,s,s,this.m_offsetPts[this.m_offsetPtCount-1])>0){const s=new f;let o;o=0===t?n-2:1===t?n-1:t-2;const i=this.m_srcPts[o],a=Math.atan2(r.y-i.y,r.x-i.x);if(h.buildPoint(r,this.m_distance,a-u.l,s),this.m_offsetPts[this.m_offsetPtCount-1]=s,1===this.m_joins||2===this.m_joins){s.x=.5*(s.x+r.x),s.y=.5*(s.y+r.y),this.addPoint(s),h.buildPoint(r,this.m_distance,this.m_a1+u.l,s);const e=s.clone();e.x=.5*(e.x+r.x),e.y=.5*(e.y+r.y),e.type|=m,this.addPoint(e),this.addPoint(s)}else h.buildPoint(r,this.m_distance,this.m_a1+u.l,s),s.type|=m,this.addPoint(s);this.addPointEx(e,t)}else{const e=new f;if(h.buildPoint(s,this.m_distance,this.m_a1+u.l,e),this.addPoint(e),1===this.m_joins||2===this.m_joins){e.x=.5*(e.x+s.x),e.y=.5*(e.y+s.y),this.addPoint(e),h.buildPoint(s,this.m_distance,this.m_a2-u.l,e);const t=e.clone();t.x=.5*(t.x+s.x),t.y=.5*(t.y+s.y),t.type|=m,this.addPoint(t),this.addPoint(e)}else h.buildPoint(s,this.m_distance,this.m_a2-u.l,e),e.type|=m,this.addPoint(e)}}buildOffset(){const e=new f,t=this.m_srcPtCount;this.m_offsetPtCount=0;const n=.5*this.m_tolerance;let r=0,s=0;for(let o=0;o<t;o++){const i=this.m_srcPts[o],f=0===o?this.m_srcPts[t-1]:this.m_srcPts[o-1],p=o===t-1?this.m_srcPts[0]:this.m_srcPts[o+1];let y,_,d=0;{const e=f.x-i.x,t=f.y-i.y,n=p.x-i.x,a=p.y-i.y;y=Math.atan2(t,e),_=Math.atan2(a,n),this.m_a1=y,this.m_a2=_,0===o&&(r=y,s=_),d=u.P.orientationRobust(i.asPoint2D(),f.asPoint2D(),p.asPoint2D())}const g=_;if(_<y&&(_+=u.k),d*this.m_distance>0)if(1===this.m_joins||2===this.m_joins){h.buildPoint(i,this.m_distance,y+u.l,e),this.addPoint(e);const t=.001;e.x=i.x+(e.x-i.x)*t,e.y=i.y+(e.y-i.y)*t,this.addPoint(e),h.buildPoint(i,this.m_distance,_-u.l,e);const n=e.clone();n.x=i.x+(n.x-i.x)*t,n.y=i.y+(n.y-i.y)*t,n.type|=m,this.addPoint(n),this.addPoint(e)}else{const t=.5*(_-y),n=0===t?this.m_distance:this.m_distance/Math.abs(Math.sin(t));h.buildPoint(i,n,.5*(y+_),e),this.addPointEx(e,o)}else if(512&i.type){const t=1-n/Math.abs(this.m_distance);let r=1,s=this.m_distance<0?-Math.PI:Math.PI;if(t>-1&&t<1){let e=2*Math.acos(t);e<c&&(e=c),r=Math.trunc(Math.PI/e+1.5),r>1&&(s/=r)}r<=1&&(r=2,s/=2);let a=y+u.l;h.buildPoint(i,this.m_distance,a,e),0===o&&(e.type|=l),this.addPointEx(e,o);const m=this.m_distance/Math.cos(s/2);for(a+=s/2,h.buildPoint(i,m,a,e),e.type|=l,this.addPoint(e);--r>0;)a+=s,h.buildPoint(i,m,a,e),e.type|=l,this.addPoint(e);h.buildPoint(i,this.m_distance,_-u.l,e),e.type|=l,this.addPoint(e)}else if(1!==this.m_joins)if(0!==this.m_joins)if(2!==this.m_joins){let t;if(_=g,this.m_distance>0?(_>y&&(_-=u.k),t=y-_<u.l):(_<y&&(_+=u.k),t=_-y<u.l),t){const t=this.m_distance*a;let n;n=t<0?y+.25*Math.PI:y+3*Math.PI*.25,h.buildPoint(i,t,n,e),this.addPointEx(e,o),n=t<0?_-.25*Math.PI:_-3*Math.PI*.25,h.buildPoint(i,t,n,e),this.addPoint(e)}else{const t=.5*(_-y),n=this.m_distance/Math.abs(Math.sin(t));_<y&&(_+=u.k),h.buildPoint(i,n,(y+_)/2,e),this.addPointEx(e,o)}}else{const t=f.x-i.x,n=f.y-i.y,r=p.x-i.x,s=p.y-i.y,c=(t*r+n*s)/Math.sqrt(t*t+n*n)/Math.sqrt(r*r+s*s);if(c>1-1e-8){h.buildPoint(i,a*this.m_distance,_-.25*Math.PI,e),this.addPointEx(e,o),h.buildPoint(i,a*this.m_distance,_+.25*Math.PI,e),this.addPoint(e);continue}const m=Math.abs(this.m_distance/Math.sin(.5*Math.acos(c))),l=Math.abs(this.m_miterLimit*this.m_distance);if(m>l){const t=.5*(_-y),n=this.m_distance/Math.abs(Math.sin(t));h.buildPoint(i,n,.5*(y+_),e);const r=u.P.construct(e.x,e.y),s=u.P.construct(i.x,i.y),a=new u.P;a.setSub(r,s);const c=new u.P;c.setScaleAdd(l/a.length(),a,s);const f=Math.sqrt(m*m-this.m_distance*this.m_distance),p=(m-l)*Math.abs(this.m_distance)/f;this.m_distance>0?a.leftPerpendicularThis():a.rightPerpendicularThis(),a.scale(p/a.length());const d=new u.P;d.setAdd(c,a);const g=new u.P;g.setSub(c,a),e.x=d.x,e.y=d.y,this.addPointEx(e,o),e.x=g.x,e.y=g.y,this.addPoint(e);continue}const d=.5*(_-y),g=this.m_distance/Math.abs(Math.sin(d));h.buildPoint(i,g,.5*(y+_),e),this.addPointEx(e,o)}else{const t=1-n/Math.abs(this.m_distance);let r=1,s=_-u.l-(y+u.l);if(t>-1&&t<1){let e=2*Math.acos(t);e<c&&(e=c),r=Math.trunc(Math.abs(s)/e+1.5),r>1&&(s/=r)}const a=this.m_distance/Math.cos(.5*s);let m=y+u.l+.5*s;for(h.buildPoint(i,a,m,e),this.addPointEx(e,o);--r>0;)m+=s,h.buildPoint(i,a,m,e),this.addPoint(e)}else h.buildPoint(i,this.m_distance,y+u.l,e),this.addPointEx(e,o),h.buildPoint(i,this.m_distance,_-u.l,e),this.addPoint(e)}return this.m_a1=r,this.m_a2=s,this.addPointEx(this.m_offsetPts[0],0),this.m_offsetPts[0]=this.m_offsetPts[this.m_offsetPtCount-1].clone(),this.removeBadSegsFast()}removeBadSegsFast(){let e=!1;for(let e=0;e<this.m_offsetPtCount;e++){const t=this.m_offsetPts[e];t.m_next=e+1,t.m_prev=e-1}this.m_offsetPts[0].m_prev=this.m_offsetPtCount-2,this.m_offsetPts[this.m_offsetPtCount-2].m_next=0;let t=0;for(let n=0;n<this.m_offsetPtCount;n++)if(this.m_offsetPts[t].type&m){const n=this.deleteClosedSeg(t);if(-1===n){e=!0;break}t=n}else t=this.m_offsetPts[t].m_next;return!e&&(this.compressOffsetArray(t),!0)}deleteClosedSeg(e){const t=this.m_offsetPtCount-1;let n,r,s=e;for(let o=1;o<=t-2;o++){s=this.m_offsetPts[s].m_next,n=s,r=e;for(let e=1;e<=o;e++){if(r=this.m_offsetPts[r].m_prev,!(this.m_offsetPts[r].type&m||this.m_offsetPts[n].type&m)){const e=this.handleClosedIntersection(r,n);if(-1!==e)return e}n=this.m_offsetPts[n].m_prev}}return-1}handleClosedIntersection(e,t){const n=this.m_offsetPts[this.m_offsetPts[e].m_prev],r=this.m_offsetPts[e],s=this.m_offsetPts[this.m_offsetPts[t].m_prev],o=this.m_offsetPts[t];if(!this.sectGraphicRect(n,r,s,o))return-1;const i={pt:new f,bAtExistingPt:!1};if(((r.x-n.x)*(o.y-s.y)-(r.y-n.y)*(o.x-s.x))*this.m_distance<0&&this.findIntersection(n,r,s,o,i)&&!i.bAtExistingPt){const u=1e-8,a=Math.sqrt((r.x-n.x)*(r.x-n.x)+(r.y-n.y)*(r.y-n.y)),c=(r.x-n.x)/a,m=(r.y-n.y)/a,l=Math.sqrt((o.x-s.x)*(o.x-s.x)+(o.y-s.y)*(o.y-s.y)),f=(o.x-s.x)/l,h=(o.y-s.y)/l;let p=!1;const y=i.pt.clone();y.x+=(c+f)*u,y.y+=(m+h)*u;let _=s,d=i.pt,g=this.m_offsetPts[e].m_prev;for(;d.y>y.y!=_.y>y.y&&y.x<(_.x-d.x)*(y.y-d.y)/(_.y-d.y)+d.x&&(p=!p),_=d,g=this.m_offsetPts[g].m_next,g!==t;)d=this.m_offsetPts[g];if(p)return-1;const P=this.m_offsetPts[e].m_prev;return i.pt.type=r.type,i.pt.m_next=t,i.pt.m_prev=P,this.m_offsetPts[e]=i.pt,this.m_offsetPts[t].m_prev=e,t}return-1}sectGraphicRect(e,t,n,r){return Math.max(e.x,t.x)>=Math.min(n.x,r.x)&&Math.max(n.x,r.x)>=Math.min(e.x,t.x)&&Math.max(e.y,t.y)>=Math.min(n.y,r.y)&&Math.max(n.y,r.y)>=Math.min(e.y,t.y)}findIntersection(e,t,n,r,s){let o,i,u,a;return s.bAtExistingPt=!1,o=(t.y-e.y)*(r.x-n.x)-(t.x-e.x)*(r.y-n.y),i=(n.y-e.y)*(t.x-e.x)-(n.x-e.x)*(t.y-e.y),u=0===o?2:i/o,u>=0&&u<=1&&(a=u,o=(r.y-n.y)*(t.x-e.x)-(r.x-n.x)*(t.y-e.y),i=(e.y-n.y)*(r.x-n.x)-(e.x-n.x)*(r.y-n.y),u=0===o?2:i/o,u>=0&&u<=1)&&(s.pt.x=e.x+u*(t.x-e.x),s.pt.y=e.y+u*(t.y-e.y),this.m_bUseZ&&(s.pt.z=n.z+a*(r.z-n.z)),this.m_bUseM&&(s.pt.m=n.m+a*(r.m-n.m)),0!==a&&1!==a||0!==u&&1!==u||(s.bAtExistingPt=!0),!((0===a||1===a)&&u>0&&u<1||(0===u||1===u)&&a>0&&a<1))}compressOffsetArray(e){for(;this.m_offsetPts[e].m_prev<e;)e=this.m_offsetPts[e].m_prev;let t=0,n=e;do{const e=this.m_offsetPts[n].clone();this.m_offsetPts[t]=e,n=e.m_next,t++}while(n!==e);this.m_offsetPts[t]=this.m_offsetPts[0].clone(),this.m_offsetPtCount=t+1}addPart(e,t){if(!(t<2))for(let n=0;n<t;n++){const t=this.m_offsetPts[e+n];if(n?this.m_bUseZ?this.m_resultPath.lineTo3DCoords(t.x,t.y,t.z):this.m_resultPath.lineToCoords(t.x,t.y):this.m_bUseZ?this.m_resultPath.startPath3DCoords(t.x,t.y,t.z):this.m_resultPath.startPathCoords(t.x,t.y),this.m_bUseM){const e=this.m_resultPath.getPointCount()-1;this.m_resultPath.setAttribute(2,e,0,t.m)}}}offsetMultiPath(e){const t=(0,i.d)(this.m_inputGeometry,0,this.m_tolerance,0,this.m_progressTracker,12e3),n=t.querySegmentIterator();n.resetToFirstPath();let r=-1;for(;n.nextPath();)r++,this.offsetPath(t,r,e)}offsetPath(e,t,n){let r=e.getPathStart(t),s=e.getPathEnd(t);if(this.m_resultPath=n,e.isClosedPath(t)){const t=e.getXY(r);for(;s>r&&e.getXY(s-1).equals(t);)s--;if(s-r>=2){this.m_srcPtCount=s-r,this.m_srcPts.length=this.m_srcPtCount;for(let t=r;t<s;t++)this.progress(),this.m_srcPts[t-r]=f.construct(e.getXY(t),this.m_bUseZ?e.getAttributeAsDbl(1,t,0):0,this.m_bUseM?e.getAttributeAsDbl(2,t,0):0);this.buildOffset()&&this.addPart(0,this.m_offsetPtCount-1)}}else{const t=e.getXY(r);for(;r<s-1&&e.getXY(r+1).equals(t);)r++;const n=e.getXY(s-1);for(;r<s-1&&e.getXY(s-2).equals(n);)s--;if(s-r>=2){this.m_srcPtCount=2*(s-r)-2,this.m_srcPts.length=this.m_srcPtCount;let n=f.construct(t,this.m_bUseZ?e.getAttributeAsDbl(1,r,0):0,this.m_bUseM?e.getAttributeAsDbl(2,r,0):0);n.type|=1536,this.m_srcPts[0]=n;let o=1,i=this.m_srcPtCount-1;for(let t=r+1;t<s-1;t++,o++,i--)this.progress(),n=f.construct(e.getXY(t),this.m_bUseZ?e.getAttributeAsDbl(1,t,0):0,this.m_bUseM?e.getAttributeAsDbl(2,t,0):0),this.m_srcPts[o]=n.clone(),n.type|=l,this.m_srcPts[i]=n.clone();if(n=f.construct(e.getXY(s-1),this.m_bUseZ?e.getAttributeAsDbl(1,s-1,0):0,this.m_bUseM?e.getAttributeAsDbl(2,s-1,0):0),n.type|=512,this.m_srcPts[o]=n.clone(),this.buildOffset())if(this.m_offsetPts.length>=2){let e=-1,t=-1,n=!!(this.m_offsetPts[this.m_offsetPtCount-1].type&l);n||(e=0);for(let r=1;r<this.m_offsetPtCount;r++){this.progress();const s=!!(this.m_offsetPts[r].type&l);s?n||(t=r-1,t-e+1>1&&this.addPart(e,t-e+1)):n&&(e=r-1),n=s}n||(t=this.m_offsetPtCount-1,t-e+1>1&&this.addPart(e,t-e+1))}else{const e=0,t=this.m_offsetPtCount-1;t-e>=1&&this.addPart(e,t-e+1)}}}this.m_srcPts.length=0,this.m_srcPtCount=0,this.m_offsetPts.length=0,this.m_offsetPtCount=0}static dotSign(e,t,n,r){const s=t.x-e.x,o=t.y-e.y,i=r.x-n.x,a=r.y-n.y,c=(0,u.t)(s,o,i,a);return(0,u.e)(c)}}class p extends r.G{constructor(e,t,n,r,s,o,i){super(),this.m_progressTracker=i,this.m_index=-1,this.m_inputGeoms=e,this.m_spatialReference=t,this.m_distance=n,this.m_joins=r,this.m_miterLimit=s,this.m_flattenError=o}tock(){return!0}getRank(){return 1}next(){if(!this.m_inputGeoms)return null;let e;for(;e=this.m_inputGeoms.next();)return this.m_index=this.m_inputGeoms.getGeometryID(),this.offset(e);return null}getGeometryID(){return this.m_index}offset(e){let t;return(0,o.d)(e),t=this.m_flattenError<=0?(0,s.b)(this.m_spatialReference,e,!0).total():this.m_flattenError,function(e,t,n,r,s,i){if(null===e&&(0,o.t)(""),e.getDimension()<1&&(0,o.t)(""),s>0||(0,o.t)(""),(0,o.d)(e),0===t||e.isEmpty())return e;const u=new h(i);return u.m_bUseZ=e.hasAttribute(1),u.m_bUseM=e.hasAttribute(2),u.m_inputGeometry=e,u.m_distance=t,u.m_tolerance=s,u.m_joins=n,u.m_miterLimit=r>1?r:1,u.m_progressCounter=0,u.constructOffset()}(e,this.m_distance,this.m_joins,this.m_miterLimit,t,this.m_progressTracker)}}const y=new class{getOperatorType(){return 10108}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}executeMany(e,t,n,r,s,o,i){return new p(e,t,n,r,s,o,i)}execute(e,t,n,r,s,o,i){return new p(null,t,n,r,s,o,i).offset(e)}};function _(e,t,n,r,s,o){return y.execute(e,t,n,r,s,o,null)}function d(e,t,n,s,o,i){const u=y.executeMany(new r.S(e),t,n,s,o,i,null);return Array.from(u)}function g(){return y.supportsCurves()}},68613:(e,t,n)=>{n.d(t,{fz:()=>y,g7:()=>h,zo:()=>p});var r=n(76061),s=n(55537),o=n(83661),i=n(35368),u=n(79187),a=n(95213),c=n(12189);function m(e,t,n,r){const s=e.getImpl().getAttributeStreamRef(0),i=e.getPointCount(),c=t.getXY(),m=e.createInstance(),l=(0,a.d)(n),f=new u.Envelope2D;if(e.queryEnvelope(f),f.inflateCoords(l,l),f.contains(c)){const n=l*l;let r=!1;const u=(0,o.d)(i,!1);for(let e=0;e<i;e++){const t=s.read(2*e),o=s.read(2*e+1),i=t-c.x,a=o-c.y;i*i+a*a<=n&&(r=!0,u[e]=!0)}if(r)for(let t=0;t<i;t++)u[t]||m.addPoints(e,t,t+1);else m.addPoints(e,0,i),m.add(t)}else m.addPoints(e,0,i),m.add(t);return m}class l extends r.G{constructor(e,t,n,r){super(),this.m_progressTracker=r,this.m_index=-1,this.m_inputGeoms=e,this.m_spatialReference=n,this.m_rightGeom=t.next(),this.m_bEmpty=!this.m_rightGeom,(0,s.d)(this.m_rightGeom)}tock(){return!0}getRank(){return 1}next(){if(this.m_bEmpty)return null;const e=this.m_inputGeoms.next();return e?((0,s.d)(e),this.m_index=this.m_inputGeoms.getGeometryID(),function(e,t,n,r){const l=e.getDimension(),f=t.getDimension();if(l!==f)return l>f?e:t;if(e.isEmpty())return t;if(t.isEmpty())return e;const h=new u.Envelope2D,p=new u.Envelope2D,y=new u.Envelope2D;e.queryEnvelope(h),t.queryEnvelope(p),y.setCoords({env2D:h}),y.mergeEnvelope2D(p);const _=(0,a.a)(n,y,!0),d=e.getGeometryType(),g=t.getGeometryType();return d===s.G.enumPoint&&g===s.G.enumPoint?function(e,t,n){const r=(0,a.d)(n),s=r*r,u=e.getXY(),c=t.getXY(),m=new i.M({vd:e.getDescription()});return o.P.sqrDistance(u,c)>s&&(m.add(e),m.add(t)),m}(e,t,_):d===s.G.enumPoint&&g===s.G.enumMultiPoint?m(t,e,_):d===s.G.enumMultiPoint&&g===s.G.enumPoint?m(e,t,_):(0,c.ai)(e,t,n,r)}(e,this.m_rightGeom,this.m_spatialReference,this.m_progressTracker)):null}getGeometryID(){return this.m_index}}const f=new class{getOperatorType(){return 10003}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,n,r){return new l(e,t,n,r)}execute(e,t,n,o){const i=new r.S([e]),u=new r.S([t]),a=this.executeMany(i,u,n,o).next();return a||(0,s.c)("null output"),a}};function h(e,t,n){return f.execute(e,t,n,null)}function p(e,t,n){const s=f.executeMany(new r.S(e),new r.S([t]),n,null);return Array.from(s)}function y(){return f.supportsCurves()}},68925:(e,t,n)=>{n.d(t,{c:()=>a,e:()=>i,s:()=>u});var r=n(4576),s=n(90756),o=n(78125);function i(e,t){const n=(0,o.getSpatialReference)(e);return(0,s.g)((0,o.fromGeometry)(e),(0,o.fromPolyline)(t),(0,o.fromSpatialReference)(n)).map((e=>(0,o.toGeometry)(e,n))).filter(r.Ru)}const u=(0,s.f)(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},70031:(e,t,n)=>{n.d(t,{O:()=>s});var r=n(12189);class s extends r.d{getOperatorType(){return 4}execute(e,t,n,s){return!(0,r.r)(e,t,n,4,s)}}},70722:(e,t,n)=>{n.d(t,{a:()=>i,d:()=>a,e:()=>o,s:()=>u});var r=n(49074),s=n(78125);function o(e,t){const n=(0,s.getSpatialReference)(e);return(0,s.toGeometry)((0,r.g7)((0,s.fromGeometry)(e),(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(n)),n)}function i(e,t){const n=e.map(s.fromGeometry),o=(0,s.getSpatialReference)(e);return(0,r.zo)(n,(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(o)).map((e=>(0,s.toGeometry)(e,o)))}const u=(0,r.fz)(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:o,executeMany:i,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},70787:(e,t,n)=>{n.d(t,{fz:()=>u,g7:()=>o,zo:()=>i});var r=n(76061);const s=new(n(64523).O);function o(e,t,n){return s.execute(e,t,n,null)}function i(e,t,n){const o=s.executeMany(new r.S(e),t,n,null);return Array.from(o)}function u(){return s.supportsCurves()}},77085:(e,t,n)=>{n.d(t,{Hh:()=>u,fz:()=>m,g7:()=>a,s1:()=>i,zo:()=>c});var r=n(76061),s=n(83290);let o;function i(){return!!o&&(0,s.i)()}async function u(){if(!i()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(1088)]).then(n.bind(n,31088)),Promise.all([n.e(3661),n.e(1878),n.e(2189)]).then(n.bind(n,12189)).then((e=>e.aG)).then((({injectPe:e})=>e)),(0,s.l)()]);o=new e.OperatorGeodeticDensifyByLength,t(s.p)}}function a(e,t,n,r){return o.execute(e,t,n,r,null)}function c(e,t,n,s){const i=o.executeMany(new r.S(e),t,n,s,null);return Array.from(i)}function m(){return o.supportsCurves()}},78812:(e,t,n)=>{n.d(t,{default:()=>a});var r=n(83661),s=n(11878),o=n(34727);const i={uniform:0,conformal:1,rigid:2,"rigid-motion":3,general:4},u=e=>e.map((e=>new r.P(e.x,e.y)));class a{constructor(){this.transform=new s.T}calculateErrors(e,t){const n=e.length,r=t.length;if(n!==r)throw new Error(`The input length (${n}) is not the same as output length (${r})`);const s=[];return{rms:this.transform.calculateErrors(n,u(e),u(t),s),errorsOut:s}}flipX(e,t){return this.transform.flipX(e,t),this}flipY(e,t){return this.transform.flipY(e,t),this}initializeFromControlPoints(e,t,n,r){const s=t.length,o=n.length;if(s!==o)throw new Error(`The input length (${s}) is not the same as output length (${o})`);this.transform.initializeFromControlPoints(i[e],s,u(t),u(n),r?.transform)}isIdentity(){return this.transform.isIdentity()}rotate(e,t,n){const s=(0,o.kU)(e);return null!=t&&null!=n?this.transform.rotateAngleAbout(s,new r.P(t,n)):this.transform.rotateAngle(s),this}scale(e,t){return this.transform.scale(e,t),this}setIdentity(){this.transform.setIdentity()}setSwapCoordinates(){return this.transform.setSwapCoordinates(),this}shear(e,t){return this.transform.shear(e,t),this}shift(e,t){return this.transform.shiftCoords(e,t),this}}},79533:(e,t,n)=>{n.d(t,{C:()=>s});var r=n(78125);function s(e,t,n=!1){const s=(0,r.toPoint)(e.m_coordinate,(0,r.getSpatialReference)(t)),o=e.m_distance,i=e.isEmpty(),u=e.m_bRightSide;return{coordinate:s,distance:o,isEmpty:i,...n&&{isRightSide:u},vertexIndex:e.m_vertexIndex}}},81150:(e,t,n)=>{n.d(t,{Pg:()=>a,fz:()=>c,g7:()=>i,zo:()=>u});var r=n(76061),s=(n(55537),n(35368),n(12189));n(95213);const o=new s.g;function i(e,t,n){return o.execute(e,t,n,null)}function u(e,t,n){const s=o.executeMany(new r.S(e),t,n,null);return Array.from(s)}function a(e,t,n){return o.isSimpleAsFeature(e,t,n,null,null)}function c(){return o.supportsCurves()}},83587:(e,t,n)=>{n.d(t,{a:()=>i,c:()=>a,e:()=>o,s:()=>u});var r=n(96027),s=n(78125);function o(e,t){const n=(0,s.getSpatialReference)(e),o=(0,s.fromExtent)(t).asEnvelope2D();return(0,s.toGeometry)((0,r.g7)((0,s.fromGeometry)(e),o,(0,s.fromSpatialReference)(n)),n)}function i(e,t){const n=e.map(s.fromGeometry),o=(0,s.getSpatialReference)(e),i=(0,s.fromExtent)(t).asEnvelope2D();return(0,r.zo)(n,i,(0,s.fromSpatialReference)(o)).map((e=>(0,s.toGeometry)(e,o)))}const u=(0,r.fz)(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:o,executeMany:i,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},84252:(e,t,n)=>{n.d(t,{a:()=>i,c:()=>c,e:()=>u,s:()=>a});var r=n(12189),s=n(78125);const o=new r.O;function i(e){const t=(0,s.getSpatialReference)(e);return o.accelerateGeometry((0,s.fromGeometry)(e),(0,s.fromSpatialReference)(t),1)}function u(e,t){return o.execute((0,s.fromGeometry)(e),(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(e.spatialReference),null)}const a=o.supportsCurves(),c=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:i,execute:u,supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},85181:(e,t,n)=>{n.d(t,{O:()=>s});var r=n(12189);class s extends r.d{getOperatorType(){return 9}execute(e,t,n,s){return(0,r.r)(e,t,n,32,s)}}},85503:(e,t,n)=>{n.d(t,{a:()=>c,d:()=>l,e:()=>a,s:()=>m});var r=n(4576),s=n(34727),o=n(83047),i=n(91735),u=n(78125);function a(e,t,n={}){let{maxAngleInDegrees:r=0,maxDeviation:a=0,unit:c}=n;const m=(0,u.getSpatialReference)(e);return c&&(t=(0,o.UW)(t,c,m),a&&(a=(0,o.UW)(a,c,m))),(0,u.toGeometry)((0,i.g7)((0,u.fromGeometry)(e),t,a,(0,s.kU)(r)),m)}function c(e,t,n={}){let{maxAngleInDegrees:a=0,maxDeviation:c=0,unit:m}=n;const l=e.map(u.fromGeometry),f=(0,u.getSpatialReference)(e);return m&&(t=(0,o.UW)(t,m,f),c&&(c=(0,o.UW)(c,m,f))),(0,i.zo)(l,t,c,(0,s.kU)(a)).map((e=>(0,u.toGeometry)(e,f))).filter(r.Ru)}const m=(0,i.fz)(),l=Object.freeze(Object.defineProperty({__proto__:null,execute:a,executeMany:c,supportsCurves:m},Symbol.toStringTag,{value:"Module"}))},86742:(e,t,n)=>{n.d(t,{Hh:()=>i,fz:()=>a,g7:()=>u,s1:()=>o});var r=n(83290);let s;function o(){return!!s&&(0,r.i)()}async function i(){if(!o()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(4163)]).then(n.bind(n,74163)),Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(6061)]).then(n.bind(n,12189)).then((e=>e.aG)).then((({injectPe:e})=>e)),(0,r.l)()]);s=new e.OperatorGeodeticArea,t(r.p)}}function u(e,t,n){return s.execute(e,t,n,null)}function a(){return s.supportsCurves()}},90135:(e,t,n)=>{n.d(t,{D:()=>x,m:()=>m,s:()=>d,w:()=>_});var r=n(90237),s=n(55537),o=n(35368),i=n(12189),u=n(83661),a=n(79187),c=n(95213);function m(){return{outPoint:new u.P,index:-1,t:Number.NaN}}function l(e,t,n){return{outPoint:e.clone(),index:t,t:n}}function f(e,t,n,r){e.outPoint.assign(t),e.index=n,e.t=r}function h(e,t){e.outPoint.assign(t.outPoint),e.index=t.index,e.t=t.t}function p(e,t,n,r){e.index=n,e.t=r,t.queryCoord2D(e.t,e.outPoint)}function y(e,t){const n=m();h(n,e),h(e,t),h(t,n)}function _(e,t,n,r,o,u){if(e.getGeometryType()===s.G.enumPolygon){for(;r.nextPath();)if(r.hasNextSegment()){const t=r.nextSegment();if(0!==(0,i.i)(e,t.getEndXY(),0))return f(o,t.getEndXY(),-1,Number.NaN),f(u,t.getEndXY(),-1,Number.NaN),!0}r.resetToFirstPath()}if(t.getGeometryType()===s.G.enumPolygon){for(;n.nextPath();)if(n.hasNextSegment()){const e=n.nextSegment();if(0!==(0,i.i)(t,e.getEndXY(),0))return f(o,e.getEndXY(),-1,Number.NaN),f(u,e.getEndXY(),-1,Number.NaN),!0}n.resetToFirstPath()}return!1}function d(e){const t=e.getPathCount(),n=(0,u.d)(e.getSegmentCount(),0);let r=0;for(let s=0;s<t;++s){const t=r+e.getSegmentCountPath(s);for(let o=r,i=e.getPathStart(s);o<t;++o,++i)n[o]=i;r=t}return(0,o.s)(e.getPointCount(),n),n}function g(e,t){return!!Number.isNaN(t)||e<=t}function P(e){const t=new o.a;return t.addEnvelope(e,!1),t}class x{constructor(e,t){if(this.m_env2DgeometryA=null,this.m_env2DgeometryB=null,this.m_progressCounter=0,this.m_progressTracker=t,this.m_maxSqrDistance=e*e,this.m_maxDistance=e,this.m_bIsNearCalc=!1,Number.isNaN(this.m_maxDistance)?this.m_maxDistance=Number.POSITIVE_INFINITY:this.m_maxDistance=e,this.m_maxSqrDistance=this.m_maxDistance*this.m_maxDistance,Number.isFinite(this.m_maxSqrDistance)){let e=Math.sqrt(this.m_maxSqrDistance);for(;e<this.m_maxDistance;)this.m_maxSqrDistance*=1+Number.EPSILON,e=Math.sqrt(this.m_maxSqrDistance)}}calculate(e,t,n,r){if((e.getGeometryType()!==c.P.type||t.getGeometryType()!==c.P.type)&&(this.m_env2DgeometryA=new a.Envelope2D,this.m_env2DgeometryB=new a.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!g(this.m_env2DgeometryA.distanceFromEnvelope(this.m_env2DgeometryB),this.m_maxDistance)))return Number.POSITIVE_INFINITY;const s=l(new u.P,(0,u.j)(),Number.NaN),o=l(new u.P,(0,u.j)(),Number.NaN),i=this._ExecuteBruteForce(e,t,s,o);return g(i,this.m_maxDistance)?(null!==n&&h(n,s),null!==r&&h(r,o),i):Number.POSITIVE_INFINITY}isNear(e,t){if(this.m_bIsNearCalc=!0,e.isEmpty()||t.isEmpty())return!1;if(e===t)return!0;let n=!0;if(e.getGeometryType()!==c.P.type&&e.getGeometryType()!==c.E.type||t.getGeometryType()!==c.P.type&&t.getGeometryType()!==c.E.type||(n=!1),n){if(this.m_env2DgeometryA=new a.Envelope2D,this.m_env2DgeometryB=new a.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!(this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)>this.m_maxSqrDistance))return!0;if(this.m_env2DgeometryA.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>this.m_maxSqrDistance)return!1}const r=l(new u.P,(0,u.j)(),Number.NaN),s=l(new u.P,(0,u.j)(),Number.NaN);return this._ExecuteBruteForce(e,t,r,s)<=this.m_maxDistance}progress_(e=!1){}_ExecuteBruteForce(e,t,n,r){switch(e.getGeometryType()){case s.G.enumPoint:return this.distancePointGeometry(e,t,n,r);case s.G.enumMultiPoint:return this.distanceMultipointGeometry(e,t,n,r);case s.G.enumEnvelope:return this.distanceEnvelopeGeometry(e,t,n,r);case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathGeometry(e,t,n,r);default:return Number.NaN}}distancePointGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:return this.distancePointPoint(e,t,n,r);case s.G.enumMultiPoint:return this.distancePointMultipoint(e,t,n,r);case s.G.enumPolyline:case s.G.enumPolygon:return this.distancePointMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distancePointEnvelope(e,t,n,r);default:return Number.NaN}}distancePointPoint(e,t,n,r){const s=e.getXY(),o=t.getXY();return f(n,s,0,0),f(r,o,0,0),Math.sqrt(u.P.sqrDistance(s,o))}distancePointMultipoint(e,t,n,r){const s=e.getXY();let o=this.m_maxSqrDistance,i=o,a=!1;const c=t.getPointCount(),m=new u.P;for(let e=0;e<c;++e)if(t.queryXY(e,m),i=u.P.sqrDistance(s,m),this.m_bIsNearCalc){if(i<=o)return 0}else if(!(i>o)&&(!a&&i===o||i<o)&&(o=i,f(n,s,0,0),f(r,m,e,0),a=!0,0===o))return 0;return a?Math.sqrt(o):Number.POSITIVE_INFINITY}distancePointMultipath(e,t,n,r){const o=!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB),c=e.getXY();if(!o&&t.getGeometryType()===s.G.enumPolygon&&0!==(0,i.i)(t,c,0))return f(n,c,0,0),f(r,c,-1,Number.NaN),0;t.getImpl().getAccelerators();let m=this.m_maxSqrDistance,l=m,h=-1;const p=new a.Envelope2D,y=t.querySegmentIterator();let _=!1;for(;y.nextPath();)for(;y.hasNextSegment();){const e=y.nextSegment();e.queryEnvelope(p);const t=p.sqrDistance(c);if(t>m)continue;if(!this.m_bIsNearCalc&&_&&t===m)continue;h=e.getClosestCoordinate(c,!1);const s=e.getCoord2D(h);if(l=u.P.sqrDistance(c,s),this.m_bIsNearCalc){if(l<=m)return 0}else if(!(l>m)&&(!_||l<m)&&(m=l,f(n,c,0,0),f(r,s,y.getStartPointIndex(),h),_=!0,0===m))return 0}return _?Math.sqrt(m):Number.POSITIVE_INFINITY}distancePointEnvelope(e,t,n,r){const s=e.getXY();f(n,s,0,0),f(r,s,-1,Number.NaN);const o=t.asEnvelope2D();return o.contains(s)?0:Math.sqrt(o.sqrDistance(s,r.outPoint))}distanceMultipointGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:{this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distancePointMultipoint(t,e,r,n);return this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumMultiPoint:return this.distanceMultipointMultipoint(e,t,n,r,1,1);case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipointMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distanceMultipointMultipath(e,P(t),n,r);default:return Number.NaN}}distanceMultipointMultipoint(e,t,n,s,o,i){const a={stack:[],error:void 0,hasError:!1};try{if(this.m_bIsNearCalc&&1===o&&1===i){const r=Math.trunc((0,u.c)(Math.sqrt(e.getPointCount())+1,1,(0,u.i)())),o=Math.trunc((0,u.c)(Math.sqrt(t.getPointCount())+1,1,(0,u.i)()));if((r>=4||o>=4)&&this.distanceMultipointMultipoint(e,t,n,s,r,o)<=this.m_maxSqrDistance)return 0}let c=this.m_maxSqrDistance;const m=[e],l=[t],h=this.swapGeometriesIfBGtA(m,l);h&&(this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),i=(0,u.b)(o,o=i),y(n,s)),(0,r.b)(a,(0,u.h)((()=>{y(n,s),this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)}),!h),!1);const p=m[0].getImpl(),_=l[0].getImpl(),d=p.getPointCount(),g=_.getPointCount(),P=g>1;let x=!1;const v=new u.P,b=new u.P;for(let e=0;e<d;e+=o){if(p.queryXY(e,v),P){const e=this.m_env2DgeometryB.sqrDistance(v);if(this.m_bIsNearCalc){if(e>c)continue;if(this.m_env2DgeometryB.sqrMaxMinDistance(v)<=c)return 0}else if(e>=c)continue}for(let t=0;t<g;t+=i){_.queryXY(t,b);const r=u.P.sqrDistance(v,b);if(this.m_bIsNearCalc){if(r<=c)return 0}else if(!(r>c||x&&r===c)&&(!x||r<c)&&(f(n,v,e,0),f(s,b,t,0),x=!0,c=r,0===c))return x?Math.sqrt(c):Number.POSITIVE_INFINITY}}return x?Math.sqrt(c):Number.POSITIVE_INFINITY}catch(e){a.error=e,a.hasError=!0}finally{(0,r.c)(a)}}distanceMultipointMultipath(e,t,n,r){let o=!!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)&&t.getGeometryType()===s.G.enumPolygon;const c=t.querySegmentIterator();c.stripAttributes();const m=new a.Envelope2D,l=new u.P;let h=this.m_maxSqrDistance;const p=e.getImpl(),y=p.getPointCount(),_=y>1;let d=!1;for(;c.nextPath();)for(;c.hasNextSegment();){const e=c.nextSegment();if(e.queryLooseEnvelope(m),_){const e=m.sqrDistanceEnvelope(this.m_env2DgeometryA,null,null);if(this.m_bIsNearCalc){if(e>h)continue}else if(e>h||d&&e===h)continue}for(let s=0;s<y;s++){if(p.queryXY(s,l),o&&0!==(0,i.i)(t,l,0))return f(n,l,-1,Number.NaN),f(r,l,s,0),0;{const e=m.sqrDistance(l);if(this.m_bIsNearCalc){if(e>h)continue}else if(e>h)continue}const u=e.getClosestCoordinate(l,!1),a=e.getCoord2D(u);l.subThis(a);const y=l.sqrLength();if(this.m_bIsNearCalc){if(y<=h)return 0}else if(!(y>h)&&(!d||y<h)&&(h=y,f(n,p.getXY(s),s,0),f(r,a,c.getStartPointIndex(),u),d=!0,0===h))return 0}o=!1}return d?Math.sqrt(h):Number.POSITIVE_INFINITY}distanceEnvelopeGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:return this.distancePointEnvelope(t,e,r,n);case s.G.enumMultiPoint:{this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distanceMultipointMultipath(t,P(e),r,n);return this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathMultipath(P(e),t,n,r);case s.G.enumEnvelope:return this.distanceEnvelopeEnvelope(e,t,n,r);default:return Number.NaN}}distanceEnvelopeEnvelope(e,t,n,r){n.t=Number.NaN,n.index=-1,r.t=Number.NaN,r.index=-1;const s=e.asEnvelope2D(),o=t.asEnvelope2D();return Math.sqrt(s.sqrDistanceEnvelope(o,n.outPoint,r.outPoint))}distanceMultipathGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:{this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distancePointMultipath(t,e,r,n);return this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumMultiPoint:{this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distanceMultipointMultipath(t,e,r,n);return this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distanceMultipathMultipath(e,P(t),n,r);default:return Number.NaN}}distanceMultipathMultipath(e,t,n,s){const i={stack:[],error:void 0,hasError:!1};try{const c=[e],l=[t],f=this.swapGeometriesIfAGtB(c,l);f&&(this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),y(n,s)),(0,r.b)(i,(0,u.h)((()=>{y(n,s),this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)}),!f),!1);const g=c[0],P=l[0],x=g.querySegmentIterator();x.stripAttributes();const v=P.querySegmentIterator();if(v.stripAttributes(),this.m_bIsNearCalc&&this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)<=this.m_maxSqrDistance)return 0;if(this.m_bIsNearCalc){const e=Math.trunc((0,u.c)(Math.sqrt(g.getPointCount())+1,1,(0,u.i)())),t=Math.trunc((0,u.c)(Math.sqrt(g.getPointCount())+1,1,(0,u.i)()));if(this.distanceMultipointMultipoint(g,P,n,s,e,t)<=this.m_maxSqrDistance)return 0}if(this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)){const e=m(),t=m();if(_(g,P,x,v,e,t))return h(n,e),h(s,t),0}const b=d(g),G=[],S=new o.S,C=new a.Envelope2D,M=new a.Envelope2D,D=new a.Envelope2D;let E=this.m_maxSqrDistance,w=!0,N=!1;for(let e=0,t=b.length;e<t;++e){g.querySegment(b[e],S,!0);const t=S.get();if(t.queryEnvelope(C),!(C.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>E)){if(this.m_bIsNearCalc&&C.sqrMaxDistanceEnvelope(this.m_env2DgeometryB)<=E)return 0;for(;v.nextPath();){if(this.progress_(),w)P.queryPathEnvelope(v.getPathIndex(),D),G[v.getPathIndex()]=D.clone();else if(C.sqrDistanceEnvelope(G[v.getPathIndex()],null,null)>E)continue;for(;v.hasNextSegment();){const r=v.nextSegment();if(r.queryEnvelope(M),C.sqrDistanceEnvelope(M,null,null)<=E){const o=!C.isIntersecting(M),i=[0],u=[0];let a=t.distance(r,o,i,u);if(a*=a,this.m_bIsNearCalc&&a<=this.m_maxSqrDistance)return 0;if(a<E||a===E&&b[e]<n.index){if(N=!0,p(n,t,b[e],i[0]),p(s,r,v.getStartPointIndex(),u[0]),0===a)return 0;E=a}}}}v.resetToFirstPath(),w=!1}}return N?Math.sqrt(E):Number.POSITIVE_INFINITY}catch(e){i.error=e,i.hasError=!0}finally{(0,r.c)(i)}}swapGeometriesIfAGtB(e,t){return(0,s.v)(e[0])>(0,s.v)(t[0])&&(t[0]=(0,u.b)(e[0],e[0]=t[0]),!0)}swapGeometriesIfBGtA(e,t){return this.swapGeometriesIfAGtB(t,e)}}},90756:(e,t,n)=>{n.d(t,{g:()=>f,f:()=>h});var r=n(76061),s=n(55537),o=n(35368),i=n(95213),u=n(12189),a=u.C;function c(e,t){return{m_geometry:e,m_side:t}}class m extends r.G{constructor(e,t,n,r,s){super(),this.m_cutIndex=-1,this.m_cuts=[],this.m_progressTracker=s,this.m_cuttee=t.clone(),this.m_cutter=new o.P({copy:n}),this.m_bConsiderTouch=e;const u=(0,i.g)(t,n);this.m_tolerance=(0,i.a)(r,u,!0)}next(){return-1===this.m_cutIndex&&this.generateCuts(),++this.m_cutIndex<this.m_cuts.length?this.m_cuts[this.m_cutIndex]:null}getGeometryID(){return this.m_cutIndex}tock(){return!0}getRank(){return 1}generateCuts(){switch(this.m_cuttee.getGeometryType()){case s.G.enumPolyline:this.generatePolylineCuts();break;case s.G.enumPolygon:this.generatePolygonCuts()}}generatePolylineCuts(){const e=new o.P,t=new o.P,n=new o.P;this.m_cuts.length=0,this.m_cuts.push(e),this.m_cuts.push(t);const r=[];!function(e,t,n,r,s,i){if(t.isEmpty()){const e=c(t,0);return void s.push(e)}if(n.isEmpty()){const e=c(t,0);return void s.push(e)}const m=[],l=new o.E;{const o=l.createGeometryUserIndex(),f=l.addGeometry(t),h=l.addGeometry(n),p=new u.T(i);let y=0,_=null;if(l.hasCurves()){_=new a;const e=l.getEnvelope2D(i);y=(0,u.s)(r.total());const t=(0,u.k)(r.total(),e);(0,u.l)(l,t,r.total(),12e3,_,null,i)}l.dbgVerifyCurves(),p.setEditShapeCrackAndCluster(l,r),p.cut(e,o,f,h,m);for(const e of m){null!==_&&_.stitchCurves(l,e,y,!1);const t=c(l.getGeometry(e),(0,u.m)(l.getGeometryUserIndex(e,o)));s.push(t)}null!==_&&_.clearStitcher(l)}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,r,this.m_progressTracker);for(let o=0;o<r.length;o++){const i=r[o];1===i.m_side?e.add(i.m_geometry,!1):2===i.m_side||4===i.m_side?t.add(i.m_geometry,!1):3===i.m_side?this.m_cuts.push(i.m_geometry):0===i.m_side?n.add(i.m_geometry,!1):(0,s.c)("")}n.isEmpty()||e.isEmpty()&&t.isEmpty()&&!(this.m_cuts.length>=3)||this.m_cuts.push(n),e.isEmpty()&&t.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}generatePolygonCuts(){const e=new o.a,t=new o.a,n=new o.a;this.m_cuts.length=0,this.m_cuts.push(e),this.m_cuts.push(t);const r=[];!function(e,t,n,r,s,i){if(t.isEmpty()){const e=c(t,0);return void s.push(e)}if(n.isEmpty()){const e=c(t,0);return void s.push(e)}const m=[],l=new o.E;{const e=l.createGeometryUserIndex(),f=l.addGeometry(t),h=l.addGeometry(n),p=new u.T(i);let y=0,_=null;if(l.hasCurves()){_=new a;const e=l.getEnvelope2D(i);y=(0,u.s)(r.total());const t=(0,u.k)(r.total(),e);(0,u.l)(l,t,r.total(),12e3,_,null,i)}l.dbgVerifyCurves(),p.setEditShapeCrackAndCluster(l,r),p.cut(!1,e,f,h,m),null!==_&&_.stitchCurves(l,o.n,y,!0);let d=l.getGeometry(f);const g=new o.a,P=new o.a,x=[];for(let t=0;t<m.length;t++){let n=null;{const s=new o.E,a=s.addGeometry(d),c=s.addGeometry(l.getGeometry(m[t]));if(s.hasCurves()){const e=s.getEnvelope2D(i);y=(0,u.s)(r.total());const t=(0,u.k)(r.total(),e);(0,u.l)(s,t,r.total(),12e3,_,null,i)}p.setEditShapeCrackAndCluster(s,r);const f=p.intersection(a,c);if(null!==_&&_.stitchCurves(s,o.n,y,!0),n=s.getGeometry(f),n.isEmpty())continue;const h=l.getGeometryUserIndex(m[t],e);2===h?g.add(n,!1):1===h?P.add(n,!1):x.push(n)}{const e=new o.E,n=e.addGeometry(d),s=e.addGeometry(l.getGeometry(m[t]));if(e.hasCurves()){const t=e.getEnvelope2D(i);y=(0,u.s)(r.total());const n=(0,u.k)(r.total(),t);(0,u.l)(e,n,r.total(),12e3,_,null,i)}p.setEditShapeCrackAndCluster(e,r);const a=p.difference(n,s);null!==_&&_.stitchCurves(e,o.n,y,!0),d=e.getGeometry(a)}}if(!d.isEmpty()&&m.length>0&&x.push(d),g.isEmpty()&&P.isEmpty())return;if(!g.isEmpty()){const e=c(g,1);s.push(e)}if(!P.isEmpty()){const e=c(P,2);s.push(e)}for(let e=0,t=x.length;e<t;++e){const t=c(x[e],3);s.push(t)}}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,r,this.m_progressTracker);for(let o=0;o<r.length;o++){const i=r[o];1===i.m_side?e.add(i.m_geometry,!1):2===i.m_side?t.add(i.m_geometry,!1):3===i.m_side?this.m_cuts.push(i.m_geometry):0===i.m_side?n.add(i.m_geometry,!1):(0,s.c)("")}(0,s.g)(n.isEmpty()||1===r.length),e.isEmpty()&&t.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}}const l=new class{getOperatorType(){return 10005}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(e,t,n,r,s){return new m(e,t,n,r,s)}};function f(e,t,n){const r=l.execute(!0,e,t,n,null);return Array.from(r)}function h(){return l.supportsCurves()}},90836:(e,t,n)=>{n.d(t,{a:()=>u,b:()=>a,e:()=>m,s:()=>c});var r=n(12189),s=n(78125);class o extends r.d{getOperatorType(){return 2}execute(e,t,n,s){return(0,r.r)(e,t,n,3,s)}}const i=new o;function u(e){const t=(0,s.getSpatialReference)(e);return i.accelerateGeometry((0,s.fromGeometry)(e),(0,s.fromSpatialReference)(t),1)}function a(e,t){return i.execute((0,s.fromGeometry)(e),(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(e.spatialReference),null)}const c=i.supportsCurves(),m=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:u,execute:a,supportsCurves:c},Symbol.toStringTag,{value:"Module"}))},91577:(e,t,n)=>{n.d(t,{fz:()=>c,g7:()=>i,qT:()=>a,zo:()=>u});var r=n(76061),s=(n(55537),n(95213),n(35368));n(79187);const o=new s.O;function i(e){return o.execute(e,null)}function u(e,t){const n=o.executeMany(new r.S(e),t,null);return Array.from(n)}function a(e){return o.isConvex(e,null)}function c(){return o.supportsCurves()}},91735:(e,t,n)=>{n.d(t,{fz:()=>u,g7:()=>o,zo:()=>i});var r=n(76061);const s=new(n(5247).O);function o(e,t,n,r){return s.execute(e,t,n,r,null)}function i(e,t,n,o){const i=s.executeMany(new r.S(e),t,n,o,null);return Array.from(i)}function u(){return s.supportsCurves()}},92523:(e,t,n)=>{n.d(t,{a:()=>a,e:()=>u,g:()=>m,s:()=>c});var r=n(4576),s=n(83047),o=n(70787),i=n(78125);function u(e,t,n={}){const{removeDegenerateParts:r=!1,unit:u}=n,a=(0,i.getSpatialReference)(e);return u&&(t=(0,s.UW)(t,u,a)),(0,i.toGeometry)((0,o.g7)((0,i.fromGeometry)(e),t,r),a)}function a(e,t,n={}){const{removeDegenerateParts:u=!1,unit:a}=n,c=e.map(i.fromGeometry),m=(0,i.getSpatialReference)(e);return a&&(t=(0,s.UW)(t,a,m)),(0,o.zo)(c,t,u).map((e=>(0,i.toGeometry)(e,m))).filter(r.Ru)}const c=(0,o.fz)(),m=Object.freeze(Object.defineProperty({__proto__:null,execute:u,executeMany:a,supportsCurves:c},Symbol.toStringTag,{value:"Module"}))},96027:(e,t,n)=>{n.d(t,{fz:()=>u,g7:()=>o,zo:()=>i});var r=n(76061);const s=new(n(31139).O);function o(e,t,n){return s.execute(e,t,n,null)}function i(e,t,n){const o=s.executeMany(new r.S(e),t,n,null);return Array.from(o)}function u(){return s.supportsCurves()}},96957:(e,t,n)=>{n.d(t,{a:()=>u,b:()=>a,e:()=>i,s:()=>c});var r=n(4576),s=n(68613),o=n(78125);function i(e,t){const n=(0,o.getSpatialReference)(e);return(0,o.toGeometry)((0,s.g7)((0,o.fromGeometry)(e),(0,o.fromGeometry)(t),(0,o.fromSpatialReference)(n)),n)}function u(e,t){const n=e.map(o.fromGeometry),i=(0,o.getSpatialReference)(e);return(0,s.zo)(n,(0,o.fromGeometry)(t),(0,o.fromSpatialReference)(i)).map((e=>(0,o.toGeometry)(e,i))).filter(r.Ru)}const a=(0,s.fz)(),c=Object.freeze(Object.defineProperty({__proto__:null,execute:i,executeMany:u,supportsCurves:a},Symbol.toStringTag,{value:"Module"}))}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6222,8812],{5808:(e,t,n)=>{n.d(t,{O:()=>r});const r={geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}},6222:(e,t,n)=>{n.r(t),n.d(t,{area:()=>x.a,buffer:()=>S,centroid:()=>C.c,clip:()=>M.c,contains:()=>D.c,convexHull:()=>N,crosses:()=>T,cut:()=>O.c,densify:()=>A.d,difference:()=>z.d,disjoint:()=>B,distance:()=>U.d,equals:()=>Y.e,generalize:()=>k.g,geodesicBuffer:()=>y,geodeticArea:()=>_.g,geodeticDensify:()=>d.g,geodeticLength:()=>g.g,intersection:()=>L,intersects:()=>V.i,labelPoint:()=>W.l,length:()=>H.l,loadAll:()=>ge,offset:()=>J,overlaps:()=>te,proximity:()=>ne.p,relate:()=>re.r,rotate:()=>de,simplify:()=>ie,symmetricDifference:()=>ue.s,touches:()=>me,union:()=>he,within:()=>_e});var r=n(50647),s=n(4576),o=n(83047),i=n(24988),u=n(5808);let a,c,m,l,f;function h(){return!!a&&(0,i.s1)()}async function p(){if(!h()){const[e]=await Promise.all([Promise.resolve().then(n.bind(n,78125)),(0,i.Hh)()]);a=e.fromGeometry,c=e.fromSpatialReference,m=e.getSpatialReference,l=e.toPolygon,f=(0,i.fz)()}}const y=Object.freeze(Object.defineProperty({__proto__:null,execute:function(e,t,n={}){let{curveType:r="geodesic",maxDeviation:s=NaN,unit:f}=n;f&&(t=(0,o.oU)(t,f,"meters"),s&&(s=(0,o.oU)(s,f,"meters")));const h=m(e);return l((0,i.g7)(a(e),c(h),u.O[r],t,s),h)},executeMany:function(e,t,n={}){let{curveType:r="geodesic",maxDeviation:f=NaN,union:h=!1,unit:p}=n;p&&(t=t.map((e=>(0,o.oU)(e,p,"meters"))),f&&(f=(0,o.oU)(f,p,"meters")));const y=e.map(a),_=m(e);return(0,i.zo)(y,c(_),u.O[r],t,f,h).map((e=>l(e,_))).filter(s.Ru)},isLoaded:h,load:p,get supportsCurves(){return f}},Symbol.toStringTag,{value:"Module"}));var _=n(49590),d=n(27749),g=n(39663),P=n(78812),x=n(65708),v=n(91364),b=n(78125);const G=(0,v.fz)(),S=Object.freeze(Object.defineProperty({__proto__:null,execute:function(e,t,n={}){const{unit:r}=n,s=(0,b.getSpatialReference)(e);return r&&(t=(0,o.UW)(t,r,s)),(0,b.toPolygon)((0,v.g7)((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(s),t),s)},executeMany:function(e,t,n={}){let{maxDeviation:r=NaN,maxVerticesInFullCircle:i=96,union:u=!1,unit:a}=n;const c=(0,b.getSpatialReference)(e);a&&(t=t.map((e=>(0,o.UW)(e,a,c))),r&&(r=(0,o.UW)(r,a,c)));const m=e.map(b.fromGeometry);return(0,v.yv)(m,(0,b.fromSpatialReference)(c),t,r,i,u).map((e=>(0,b.toPolygon)(e,c))).filter(s.Ru)},supportsCurves:G},Symbol.toStringTag,{value:"Module"}));var C=n(48265),M=n(83587),D=n(84252),E=n(91577);const w=(0,E.fz)(),N=Object.freeze(Object.defineProperty({__proto__:null,execute:function(e){const t=(0,b.getSpatialReference)(e);return(0,b.toGeometry)((0,E.g7)((0,b.fromGeometry)(e)),t)},executeMany:function(e,t={}){const{merge:n=!1}=t,r=e.map(b.fromGeometry),s=(0,b.getSpatialReference)(e);return(0,E.zo)(r,n).map((e=>(0,b.toGeometry)(e,s)))},isConvex:function(e){return(0,E.qT)((0,b.fromGeometry)(e))},supportsCurves:w},Symbol.toStringTag,{value:"Module"})),I=new(n(29821).O),R=I.supportsCurves(),T=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:function(e){const t=(0,b.getSpatialReference)(e);return I.accelerateGeometry((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t),1)},execute:function(e,t){return I.execute((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(e.spatialReference),null)},supportsCurves:R},Symbol.toStringTag,{value:"Module"}));var O=n(68925),A=n(85503),z=n(70722);const q=new(n(12189).a),j=q.supportsCurves(),B=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:function(e){const t=(0,b.getSpatialReference)(e);return q.accelerateGeometry((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t),1)},execute:function(e,t){return q.execute((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(e.spatialReference))},supportsCurves:j},Symbol.toStringTag,{value:"Module"}));var U=n(16346),Y=n(90836),k=n(92523),X=n(33708);const F=(0,X.fz)(),L=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:function(e){const t=(0,b.getSpatialReference)(e);return(0,X.Sg)((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t))},execute:function(e,t){const n=(0,b.getSpatialReference)(e);return(0,b.toGeometry)((0,X.g7)((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(n)),n)},executeMany:function(e,t){const n=e.map(b.fromGeometry),r=(0,b.getSpatialReference)(e);return(0,X.zo)(n,(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(r),7).map((e=>(0,b.toGeometry)(e,r))).filter(s.Ru)},supportsCurves:F},Symbol.toStringTag,{value:"Module"}));var V=n(10767),W=n(5913),H=n(7817),Z=n(66070);const Q={round:0,bevel:1,miter:2,square:3},$=(0,Z.fz)(),J=Object.freeze(Object.defineProperty({__proto__:null,execute:function(e,t,n={}){const{miterLimit:r=10,flattenError:s=0,joins:i="round",unit:u}=n,a=(0,b.getSpatialReference)(e);return u&&(t=(0,o.UW)(t,u,a)),(0,b.toGeometry)((0,Z.g7)((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(a),t,Q[i],r,s),a)},executeMany:function(e,t,n={}){const{miterLimit:r=10,flattenError:i=0,joins:u="round",unit:a}=n,c=(0,b.getSpatialReference)(e);a&&(t=(0,o.UW)(t,a,c));const m=e.map(b.fromGeometry);return(0,Z.zo)(m,(0,b.fromSpatialReference)(c),t,Q[u],r,i).map((e=>(0,b.toGeometry)(e,c))).filter(s.Ru)},supportsCurves:$},Symbol.toStringTag,{value:"Module"})),K=new(n(85181).O),ee=K.supportsCurves(),te=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:function(e){const t=(0,b.getSpatialReference)(e);return K.accelerateGeometry((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t),1)},execute:function(e,t){return K.execute((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(e.spatialReference),null)},supportsCurves:ee},Symbol.toStringTag,{value:"Module"}));var ne=n(59260),re=n(65416),se=n(81150);const oe=(0,se.fz)(),ie=Object.freeze(Object.defineProperty({__proto__:null,execute:function(e){const t=(0,b.getSpatialReference)(e);return(0,b.toGeometry)((0,se.g7)((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t),!1),t)},executeMany:function(e){const t=e.map(b.fromGeometry),n=(0,b.getSpatialReference)(e);return(0,se.zo)(t,(0,b.fromSpatialReference)(n),!1).map((e=>(0,b.toGeometry)(e,n)))},isSimple:function(e){return(0,se.Pg)((0,b.fromGeometry)(e),(0,b.fromSpatialReference)((0,b.getSpatialReference)(e)),!1)},supportsCurves:oe},Symbol.toStringTag,{value:"Module"}));var ue=n(96957);const ae=new(n(46810).O),ce=ae.supportsCurves(),me=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:function(e){const t=(0,b.getSpatialReference)(e);return ae.accelerateGeometry((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t),1)},execute:function(e,t){return ae.execute((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(e.spatialReference),null)},supportsCurves:ce},Symbol.toStringTag,{value:"Module"}));var le=n(28298);const fe=(0,le.fz)(),he=Object.freeze(Object.defineProperty({__proto__:null,execute:function(e,t){const n=(0,b.getSpatialReference)(e);return(0,b.toGeometry)((0,le.g7)((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(n)),n)},executeMany:function(e){const t=e.map(b.fromGeometry),n=(0,b.getSpatialReference)(e);return(0,b.toGeometry)((0,le.zo)(t,(0,b.fromSpatialReference)(n)),n)},supportsCurves:fe},Symbol.toStringTag,{value:"Module"})),pe=new(n(22802).O),ye=pe.supportsCurves(),_e=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:function(e){const t=(0,b.getSpatialReference)(e);return pe.accelerateGeometry((0,b.fromGeometry)(e),(0,b.fromSpatialReference)(t),1)},execute:function(e,t){return pe.execute((0,b.fromGeometry)(e),(0,b.fromGeometry)(t),(0,b.fromSpatialReference)(e.spatialReference),null)},supportsCurves:ye},Symbol.toStringTag,{value:"Module"}));function de(e,t,n,s){const o=(new P.default).rotate(t,n,s);return(0,r.execute)(e,o)}async function ge(){await Promise.all([(0,_.l)(),p(),(0,d.l)(),(0,g.l)()])}},7817:(e,t,n)=>{n.d(t,{e:()=>o,l:()=>u,s:()=>i});var r=n(83047),s=n(78125);function o(e,t={}){const{unit:n}=t;let o=(0,s.fromGeometry)(e).calculateLength2D();if(o&&n){const t=(0,s.getSpatialReference)(e);o=(0,r.PQ)(o,t,n)}return o}const i=!0,u=Object.freeze(Object.defineProperty({__proto__:null,execute:o,supportsCurves:i},Symbol.toStringTag,{value:"Module"}))},10767:(e,t,n)=>{n.d(t,{a:()=>i,e:()=>u,i:()=>c,s:()=>a});var r=n(70031),s=n(78125);const o=new r.O;function i(e){const t=(0,s.getSpatialReference)(e);return o.accelerateGeometry((0,s.fromGeometry)(e),(0,s.fromSpatialReference)(t),1)}function u(e,t){return o.execute((0,s.fromGeometry)(e),(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(e.spatialReference),null)}const a=o.supportsCurves(),c=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:i,execute:u,supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},16346:(e,t,n)=>{n.d(t,{d:()=>m,e:()=>a,s:()=>c});var r=n(55537),s=n(90135),o=n(83047),i=n(78125);const u=new class{getOperatorType(){return 10100}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n){return this.executeEx(e,t,n,null,null,Number.NaN)}executeEx(e,t,n,o,i,u){if(e.isEmpty()||t.isEmpty())return Number.NaN;(0,r.d)(e),(0,r.d)(t);const a=e,c=t;Number.isNaN(u)&&(u=Number.POSITIVE_INFINITY);const m=new s.D(u,n).calculate(a,c,o,i);return Number.isFinite(m)?m:Number.NaN}};function a(e,t,n={}){const{unit:r}=n;let s=u.execute((0,i.fromGeometry)(e),(0,i.fromGeometry)(t),null);if(s&&r){const t=(0,i.getSpatialReference)(e);s=(0,o.PQ)(s,t,r)}return s}const c=u.supportsCurves(),m=Object.freeze(Object.defineProperty({__proto__:null,execute:a,supportsCurves:c},Symbol.toStringTag,{value:"Module"}))},22802:(e,t,n)=>{n.d(t,{O:()=>s});var r=n(12189);class s extends r.d{getOperatorType(){return 7}execute(e,t,n,s){return(0,r.r)(e,t,n,2,s)}}},24988:(e,t,n)=>{n.d(t,{Hh:()=>u,fz:()=>m,g7:()=>a,s1:()=>i,zo:()=>c});var r=n(76061),s=n(83290);let o;function i(){return!!o&&(0,s.i)()}async function u(){if(!i()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(7444)]).then(n.bind(n,37444)),Promise.all([n.e(3661),n.e(1878),n.e(2189)]).then(n.bind(n,12189)).then((e=>e.aG)).then((({injectPe:e})=>e)),(0,s.l)()]);o=new e.OperatorGeodesicBuffer,t(s.p)}}function a(e,t,n,r,s){return o.execute(e,t,n,r,s,!1,null)}function c(e,t,n,s,i,u){const a=o.executeMany(new r.S(e),t,n,s,i,!1,u,null);return Array.from(a)}function m(){return o.supportsCurves()}},27749:(e,t,n)=>{n.d(t,{a:()=>p,e:()=>h,g:()=>y,i:()=>l,l:()=>f,s:()=>m});var r=n(83047),s=n(77085),o=n(5808);let i,u,a,c,m;function l(){return!!i&&(0,s.s1)()}async function f(){if(!l()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(8125)]).then(n.bind(n,78125)),(0,s.Hh)()]);i=e.fromGeometry,u=e.fromSpatialReference,a=e.getSpatialReference,c=e.toGeometry,m=(0,s.fz)()}}function h(e,t,n={}){const{curveType:m="geodesic",unit:l}=n;l&&(t=(0,r.oU)(t,l,"meters"));const f=a(e);return c((0,s.g7)(i(e),t,u(f),o.O[m]),f)}function p(e,t,n={}){const{curveType:m="geodesic",unit:l}=n;l&&(t=(0,r.oU)(t,l,"meters"));const f=e.map(i),h=a(e);return(0,s.zo)(f,t,u(h),o.O[m]).map((e=>c(e,h)))}const y=Object.freeze(Object.defineProperty({__proto__:null,execute:h,executeMany:p,isLoaded:l,load:f,get supportsCurves(){return m}},Symbol.toStringTag,{value:"Module"}))},28298:(e,t,n)=>{n.d(t,{fz:()=>a,g7:()=>i,zo:()=>u});var r=n(76061),s=(n(55537),n(83661),n(35368),n(79187),n(12189));n(95213);const o=new s.h;function i(e,t,n){return o.execute(e,t,n,null)}function u(e,t){return o.executeMany(new r.S(e),t,null).next()}function a(){return o.supportsCurves()}},29821:(e,t,n)=>{n.d(t,{O:()=>s});var r=n(12189);class s extends r.d{getOperatorType(){return 6}execute(e,t,n,s){return(0,r.r)(e,t,n,16,s)}}},33708:(e,t,n)=>{n.d(t,{Sg:()=>i,fz:()=>c,g7:()=>u,zo:()=>a});var r=n(76061),s=(n(55537),n(12189));n(35368),n(95213);const o=new s.f;function i(e,t){return o.accelerateGeometry(e,t,1)}function u(e,t,n){return o.execute(e,t,n,null)}function a(e,t,n,s){const i=o.executeMany(new r.S(e),new r.S([t]),n,null,s);return Array.from(i)}function c(){return o.supportsCurves()}},35223:(e,t,n)=>{n.d(t,{Hh:()=>i,fz:()=>a,g7:()=>u,s1:()=>o});var r=n(83290);let s;function o(){return!!s&&(0,r.i)()}async function i(){if(!o()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(4167)]).then(n.bind(n,28879)),Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(6061)]).then(n.bind(n,12189)).then((e=>e.aG)).then((({injectPe:e})=>e)),(0,r.l)()]);s=new e.OperatorGeodeticLength,t(r.p)}}function u(e,t,n){return s.execute(e,t,n,null)}function a(){return s.supportsCurves()}},39663:(e,t,n)=>{n.d(t,{e:()=>f,g:()=>h,i:()=>m,l:()=>l,s:()=>c});var r=n(83047),s=n(35223),o=n(5808);let i,u,a,c;function m(){return!!i&&(0,s.s1)()}async function l(){if(!m()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(3169)]).then(n.bind(n,78125)),(0,s.Hh)()]);i=e.fromGeometry,u=e.fromSpatialReference,a=e.getSpatialReference,c=(0,s.fz)()}}function f(e,t={}){const{curveType:n="geodesic",unit:c}=t,m=a(e);let l=(0,s.g7)(i(e),u(m),o.O[n]);return l&&c&&(l=(0,r.oU)(l,"meters",c)),l}const h=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:m,load:l,get supportsCurves(){return c}},Symbol.toStringTag,{value:"Module"}))},46810:(e,t,n)=>{n.d(t,{O:()=>s});var r=n(12189);class s extends r.d{getOperatorType(){return 5}execute(e,t,n,s){return(0,r.r)(e,t,n,8,s)}}},48265:(e,t,n)=>{n.d(t,{c:()=>a,e:()=>i,s:()=>u});var r=n(15546),s=n(78125);const o=new class{getOperatorType(){return 10205}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(e,t){return(0,r.c)(e)}};function i(e){const t=o.execute((0,s.fromGeometry)(e),null);return(0,s.toPoint)(t,(0,s.getSpatialReference)(e))}const u=o.supportsCurves(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},49074:(e,t,n)=>{n.d(t,{fz:()=>a,g7:()=>i,zo:()=>u});var r=n(76061),s=(n(55537),n(12189));n(83661),n(35368),n(79187),n(95213);const o=new s.e;function i(e,t,n){return o.execute(e,t,n,null)}function u(e,t,n){const s=o.executeMany(new r.S(e),new r.S([t]),n,null);return Array.from(s)}function a(){return o.supportsCurves()}},49590:(e,t,n)=>{n.d(t,{e:()=>f,g:()=>h,i:()=>m,l:()=>l,s:()=>c});var r=n(83047),s=n(86742),o=n(5808);let i,u,a,c;function m(){return!!i&&(0,s.s1)()}async function l(){if(!m()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(3299),n.e(3169)]).then(n.bind(n,78125)),(0,s.Hh)()]);i=e.fromGeometry,u=e.fromSpatialReference,a=e.getSpatialReference,c=(0,s.fz)()}}function f(e,t={}){const{curveType:n="geodesic",unit:c}=t,m=a(e);let l=(0,s.g7)(i(e),u(m),o.O[n]);return l&&c&&(l=(0,r.oU)(l,"square-meters",c)),l}const h=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:m,load:l,get supportsCurves(){return c}},Symbol.toStringTag,{value:"Module"}))},50647:(e,t,n)=>{n.r(t),n.d(t,{execute:()=>m,executeMany:()=>l,supportsCurves:()=>f});var r=n(4576),s=n(76061),o=n(55537);class i extends s.G{constructor(e,t,n){super(),this.m_index=-1,this.m_transformation=t.clone(),this.m_inputGeometryCursor=e}next(){let e;if(e=this.m_inputGeometryCursor.next()){(0,o.d)(e),this.m_index=this.m_inputGeometryCursor.getGeometryID();const t=e.clone();return t.applyTransformation(this.m_transformation),t}return null}getGeometryID(){return this.m_index}tock(){return!0}getRank(){return 1}}const u=new class{getOperatorType(){return 10303}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,n){return new i(e,t,n)}execute(e,t,n){const r=e.clone();return r.applyTransformation(t),r}};function a(e,t){return u.execute(e,t,null)}var c=n(78125);function m(e,t){const n=(0,c.getSpatialReference)(e);return(0,c.toGeometry)(a((0,c.fromGeometry)(e),t.transform),n)}function l(e,t){const n=e.map(c.fromGeometry),o=(0,c.getSpatialReference)(e);return function(e,t){const n=u.executeMany(new s.S(e),t,null);return Array.from(n)}(n,t.transform).map((e=>(0,c.toGeometry)(e,o))).filter(r.Ru)}const f=u.supportsCurves()},59260:(e,t,n)=>{n.d(t,{a:()=>c,b:()=>m,g:()=>a,p:()=>f,s:()=>l});var r=n(36633),s=n(83047),o=n(78125),i=n(79533);const u=new r.O;function a(e,t,n={}){const{calculateLeftRightSide:r=!1,testPolygonInterior:a=!0,unit:c}=n,m=u.getNearestCoordinate((0,o.fromGeometry)(e),(0,o.fromPoint)(t).getXY(),a,r);if(c&&m.m_distance){const t=(0,o.getSpatialReference)(e);m.m_distance=(0,s.PQ)(m.m_distance,t,c)}return(0,i.C)(m,e,r)}function c(e,t,n={}){const{unit:r}=n,a=u.getNearestVertex((0,o.fromGeometry)(e),(0,o.fromPoint)(t).getXY());if(r&&a.m_distance){const t=(0,o.getSpatialReference)(e);a.m_distance=(0,s.PQ)(a.m_distance,t,r)}return(0,i.C)(a,e)}function m(e,t,n,r,a={}){const{unit:c}=a,m=(0,o.getSpatialReference)(e);return c&&n&&(n=(0,s.UW)(n,c,m)),u.getNearestVertices((0,o.fromGeometry)(e),(0,o.fromPoint)(t).getXY(),n,r).map((t=>(c&&t.m_distance&&(t.m_distance=(0,s.PQ)(t.m_distance,m,c)),(0,i.C)(t,e))))}const l=u.supportsCurves(),f=Object.freeze(Object.defineProperty({__proto__:null,getNearestCoordinate:a,getNearestVertex:c,getNearestVertices:m,supportsCurves:l},Symbol.toStringTag,{value:"Module"}))},65416:(e,t,n)=>{n.d(t,{a:()=>i,e:()=>u,i:()=>a,r:()=>m,s:()=>c});var r=n(12189),s=n(78125);const o=new class{supportsCurves(){return!0}getOperatorType(){return 1}execute(e,t,n,s,o){return(0,r.af)(e,t,n,s,o)}isValidDE9IM(e){return 0===(0,r.ag)(e)}accelerateGeometry(e,t,n){return(0,r.ah)(e,t,n)}canAccelerateGeometry(e){return(0,r.ai)(e)}};function i(e){const t=(0,s.getSpatialReference)(e);return o.accelerateGeometry((0,s.fromGeometry)(e),(0,s.fromSpatialReference)(t),1)}function u(e,t,n){return o.execute((0,s.fromGeometry)(e),(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(e.spatialReference),n,null)}function a(e){return o.isValidDE9IM(e)}const c=o.supportsCurves(),m=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:i,execute:u,isValidDE9IM:a,supportsCurves:c},Symbol.toStringTag,{value:"Module"}))},65708:(e,t,n)=>{n.d(t,{a:()=>u,e:()=>o,s:()=>i});var r=n(83047),s=n(78125);function o(e,t={}){const{unit:n}=t;let o=(0,s.fromGeometry)(e).calculateArea2D();if(o&&n){const t=(0,s.getSpatialReference)(e);if(t.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const i=(0,r.B5)(t);i!==n&&(i?o=(0,r.oU)(o,i,n):(o=Math.sqrt(o),o*=(0,r.GA)(t),o**=2,o=(0,r.oU)(o,"square-meters",n)))}return o}const i=!0,u=Object.freeze(Object.defineProperty({__proto__:null,execute:o,supportsCurves:i},Symbol.toStringTag,{value:"Module"}))},66070:(e,t,n)=>{n.d(t,{fz:()=>g,g7:()=>_,zo:()=>d});var r=n(76061),s=n(95213),o=n(55537),i=n(35368),u=n(83661);const a=1.4142135623730951,c=.017453292519943295,m=256,l=1024;class f{static construct(e,t,n){const r=new f;return r.x=e.x,r.y=e.y,r.m_next=-1,r.m_prev=-1,r.z=t,r.m=n,r.type=0,r}clone(){const e=new f;return e.x=this.x,e.y=this.y,e.m_next=this.m_next,e.m_prev=this.m_prev,e.z=this.z,e.m=this.m,e.type=this.type,e}asPoint2D(){return new u.P(this.x,this.y)}}class h{constructor(e){this.m_distance=-1,this.m_tolerance=-1,this.m_miterLimit=10,this.m_joins=0,this.m_progressCounter=0,this.m_bUseZ=!1,this.m_bUseM=!1,this.m_srcPts=[],this.m_srcPtCount=0,this.m_offsetPts=[],this.m_offsetPtCount=0,this.m_a1=0,this.m_a2=0,this.m_progressTracker=e}constructOffset(){const e=this.m_inputGeometry.getGeometryType();if(e===o.G.enumLine)return this.offsetLine();if(e===o.G.enumEnvelope)return this.offsetEnvelope();if((0,o.f)(e)){const e=new i.P;return e.addSegment(this.m_inputGeometry,!0),this.m_inputGeometry=e,this.constructOffset()}if(e===o.G.enumPolyline){const e=new i.P;return this.offsetMultiPath(e),e}if(e===o.G.enumPolygon){const e=new i.a;return this.offsetMultiPath(e),e}(0,o.b)("")}offsetLine(){const e=this.m_inputGeometry,t=e.getStartXY(),n=e.getEndXY(),r=new u.P;r.setSub(n,t),r.normalize(),r.leftPerpendicularThis(),r.scale(this.m_distance),t.addThis(r),n.addThis(r);const s=e.clone();return s.setStartXY(t),s.setEndXY(n),s}offsetEnvelope(){const e=this.m_inputGeometry;if(this.m_distance>0&&2!==this.m_joins){const t=new i.a;return t.addEnvelope(e,!1),this.m_inputGeometry=t,this.constructOffset()}const t=e.clone();return t.inflateCoords(this.m_distance,this.m_distance),t}progress(){}static buildPoint(e,t,n,r){r.x=e.x+t*Math.cos(n),r.y=e.y+t*Math.sin(n),r.type=e.type,r.z=e.z,r.m=e.m,r.m_next=-1,r.m_prev=-1}addPoint(e){this.m_offsetPts.push(e.clone()),this.m_offsetPtCount++}addPointEx(e,t){if(0===this.m_offsetPtCount)return void this.addPoint(e);const n=this.m_srcPtCount,r=this.m_srcPts[0===t?n-1:t-1],s=this.m_srcPts[t],o=h.dotSign(r,s,this.m_offsetPts[this.m_offsetPtCount-1],e);if(o>0)this.addPoint(e);else if(o<0)if(h.dotSign(r,s,s,this.m_offsetPts[this.m_offsetPtCount-1])>0){const s=new f;let o;o=0===t?n-2:1===t?n-1:t-2;const i=this.m_srcPts[o],a=Math.atan2(r.y-i.y,r.x-i.x);if(h.buildPoint(r,this.m_distance,a-u.l,s),this.m_offsetPts[this.m_offsetPtCount-1]=s,1===this.m_joins||2===this.m_joins){s.x=.5*(s.x+r.x),s.y=.5*(s.y+r.y),this.addPoint(s),h.buildPoint(r,this.m_distance,this.m_a1+u.l,s);const e=s.clone();e.x=.5*(e.x+r.x),e.y=.5*(e.y+r.y),e.type|=m,this.addPoint(e),this.addPoint(s)}else h.buildPoint(r,this.m_distance,this.m_a1+u.l,s),s.type|=m,this.addPoint(s);this.addPointEx(e,t)}else{const e=new f;if(h.buildPoint(s,this.m_distance,this.m_a1+u.l,e),this.addPoint(e),1===this.m_joins||2===this.m_joins){e.x=.5*(e.x+s.x),e.y=.5*(e.y+s.y),this.addPoint(e),h.buildPoint(s,this.m_distance,this.m_a2-u.l,e);const t=e.clone();t.x=.5*(t.x+s.x),t.y=.5*(t.y+s.y),t.type|=m,this.addPoint(t),this.addPoint(e)}else h.buildPoint(s,this.m_distance,this.m_a2-u.l,e),e.type|=m,this.addPoint(e)}}buildOffset(){const e=new f,t=this.m_srcPtCount;this.m_offsetPtCount=0;const n=.5*this.m_tolerance;let r=0,s=0;for(let o=0;o<t;o++){const i=this.m_srcPts[o],f=0===o?this.m_srcPts[t-1]:this.m_srcPts[o-1],p=o===t-1?this.m_srcPts[0]:this.m_srcPts[o+1];let y,_,d=0;{const e=f.x-i.x,t=f.y-i.y,n=p.x-i.x,a=p.y-i.y;y=Math.atan2(t,e),_=Math.atan2(a,n),this.m_a1=y,this.m_a2=_,0===o&&(r=y,s=_),d=u.P.orientationRobust(i.asPoint2D(),f.asPoint2D(),p.asPoint2D())}const g=_;if(_<y&&(_+=u.k),d*this.m_distance>0)if(1===this.m_joins||2===this.m_joins){h.buildPoint(i,this.m_distance,y+u.l,e),this.addPoint(e);const t=.001;e.x=i.x+(e.x-i.x)*t,e.y=i.y+(e.y-i.y)*t,this.addPoint(e),h.buildPoint(i,this.m_distance,_-u.l,e);const n=e.clone();n.x=i.x+(n.x-i.x)*t,n.y=i.y+(n.y-i.y)*t,n.type|=m,this.addPoint(n),this.addPoint(e)}else{const t=.5*(_-y),n=0===t?this.m_distance:this.m_distance/Math.abs(Math.sin(t));h.buildPoint(i,n,.5*(y+_),e),this.addPointEx(e,o)}else if(512&i.type){const t=1-n/Math.abs(this.m_distance);let r=1,s=this.m_distance<0?-Math.PI:Math.PI;if(t>-1&&t<1){let e=2*Math.acos(t);e<c&&(e=c),r=Math.trunc(Math.PI/e+1.5),r>1&&(s/=r)}r<=1&&(r=2,s/=2);let a=y+u.l;h.buildPoint(i,this.m_distance,a,e),0===o&&(e.type|=l),this.addPointEx(e,o);const m=this.m_distance/Math.cos(s/2);for(a+=s/2,h.buildPoint(i,m,a,e),e.type|=l,this.addPoint(e);--r>0;)a+=s,h.buildPoint(i,m,a,e),e.type|=l,this.addPoint(e);h.buildPoint(i,this.m_distance,_-u.l,e),e.type|=l,this.addPoint(e)}else if(1!==this.m_joins)if(0!==this.m_joins)if(2!==this.m_joins){let t;if(_=g,this.m_distance>0?(_>y&&(_-=u.k),t=y-_<u.l):(_<y&&(_+=u.k),t=_-y<u.l),t){const t=this.m_distance*a;let n;n=t<0?y+.25*Math.PI:y+3*Math.PI*.25,h.buildPoint(i,t,n,e),this.addPointEx(e,o),n=t<0?_-.25*Math.PI:_-3*Math.PI*.25,h.buildPoint(i,t,n,e),this.addPoint(e)}else{const t=.5*(_-y),n=this.m_distance/Math.abs(Math.sin(t));_<y&&(_+=u.k),h.buildPoint(i,n,(y+_)/2,e),this.addPointEx(e,o)}}else{const t=f.x-i.x,n=f.y-i.y,r=p.x-i.x,s=p.y-i.y,c=(t*r+n*s)/Math.sqrt(t*t+n*n)/Math.sqrt(r*r+s*s);if(c>1-1e-8){h.buildPoint(i,a*this.m_distance,_-.25*Math.PI,e),this.addPointEx(e,o),h.buildPoint(i,a*this.m_distance,_+.25*Math.PI,e),this.addPoint(e);continue}const m=Math.abs(this.m_distance/Math.sin(.5*Math.acos(c))),l=Math.abs(this.m_miterLimit*this.m_distance);if(m>l){const t=.5*(_-y),n=this.m_distance/Math.abs(Math.sin(t));h.buildPoint(i,n,.5*(y+_),e);const r=u.P.construct(e.x,e.y),s=u.P.construct(i.x,i.y),a=new u.P;a.setSub(r,s);const c=new u.P;c.setScaleAdd(l/a.length(),a,s);const f=Math.sqrt(m*m-this.m_distance*this.m_distance),p=(m-l)*Math.abs(this.m_distance)/f;this.m_distance>0?a.leftPerpendicularThis():a.rightPerpendicularThis(),a.scale(p/a.length());const d=new u.P;d.setAdd(c,a);const g=new u.P;g.setSub(c,a),e.x=d.x,e.y=d.y,this.addPointEx(e,o),e.x=g.x,e.y=g.y,this.addPoint(e);continue}const d=.5*(_-y),g=this.m_distance/Math.abs(Math.sin(d));h.buildPoint(i,g,.5*(y+_),e),this.addPointEx(e,o)}else{const t=1-n/Math.abs(this.m_distance);let r=1,s=_-u.l-(y+u.l);if(t>-1&&t<1){let e=2*Math.acos(t);e<c&&(e=c),r=Math.trunc(Math.abs(s)/e+1.5),r>1&&(s/=r)}const a=this.m_distance/Math.cos(.5*s);let m=y+u.l+.5*s;for(h.buildPoint(i,a,m,e),this.addPointEx(e,o);--r>0;)m+=s,h.buildPoint(i,a,m,e),this.addPoint(e)}else h.buildPoint(i,this.m_distance,y+u.l,e),this.addPointEx(e,o),h.buildPoint(i,this.m_distance,_-u.l,e),this.addPoint(e)}return this.m_a1=r,this.m_a2=s,this.addPointEx(this.m_offsetPts[0],0),this.m_offsetPts[0]=this.m_offsetPts[this.m_offsetPtCount-1].clone(),this.removeBadSegsFast()}removeBadSegsFast(){let e=!1;for(let e=0;e<this.m_offsetPtCount;e++){const t=this.m_offsetPts[e];t.m_next=e+1,t.m_prev=e-1}this.m_offsetPts[0].m_prev=this.m_offsetPtCount-2,this.m_offsetPts[this.m_offsetPtCount-2].m_next=0;let t=0;for(let n=0;n<this.m_offsetPtCount;n++)if(this.m_offsetPts[t].type&m){const n=this.deleteClosedSeg(t);if(-1===n){e=!0;break}t=n}else t=this.m_offsetPts[t].m_next;return!e&&(this.compressOffsetArray(t),!0)}deleteClosedSeg(e){const t=this.m_offsetPtCount-1;let n,r,s=e;for(let o=1;o<=t-2;o++){s=this.m_offsetPts[s].m_next,n=s,r=e;for(let e=1;e<=o;e++){if(r=this.m_offsetPts[r].m_prev,!(this.m_offsetPts[r].type&m||this.m_offsetPts[n].type&m)){const e=this.handleClosedIntersection(r,n);if(-1!==e)return e}n=this.m_offsetPts[n].m_prev}}return-1}handleClosedIntersection(e,t){const n=this.m_offsetPts[this.m_offsetPts[e].m_prev],r=this.m_offsetPts[e],s=this.m_offsetPts[this.m_offsetPts[t].m_prev],o=this.m_offsetPts[t];if(!this.sectGraphicRect(n,r,s,o))return-1;const i={pt:new f,bAtExistingPt:!1};if(((r.x-n.x)*(o.y-s.y)-(r.y-n.y)*(o.x-s.x))*this.m_distance<0&&this.findIntersection(n,r,s,o,i)&&!i.bAtExistingPt){const u=1e-8,a=Math.sqrt((r.x-n.x)*(r.x-n.x)+(r.y-n.y)*(r.y-n.y)),c=(r.x-n.x)/a,m=(r.y-n.y)/a,l=Math.sqrt((o.x-s.x)*(o.x-s.x)+(o.y-s.y)*(o.y-s.y)),f=(o.x-s.x)/l,h=(o.y-s.y)/l;let p=!1;const y=i.pt.clone();y.x+=(c+f)*u,y.y+=(m+h)*u;let _=s,d=i.pt,g=this.m_offsetPts[e].m_prev;for(;d.y>y.y!=_.y>y.y&&y.x<(_.x-d.x)*(y.y-d.y)/(_.y-d.y)+d.x&&(p=!p),_=d,g=this.m_offsetPts[g].m_next,g!==t;)d=this.m_offsetPts[g];if(p)return-1;const P=this.m_offsetPts[e].m_prev;return i.pt.type=r.type,i.pt.m_next=t,i.pt.m_prev=P,this.m_offsetPts[e]=i.pt,this.m_offsetPts[t].m_prev=e,t}return-1}sectGraphicRect(e,t,n,r){return Math.max(e.x,t.x)>=Math.min(n.x,r.x)&&Math.max(n.x,r.x)>=Math.min(e.x,t.x)&&Math.max(e.y,t.y)>=Math.min(n.y,r.y)&&Math.max(n.y,r.y)>=Math.min(e.y,t.y)}findIntersection(e,t,n,r,s){let o,i,u,a;return s.bAtExistingPt=!1,o=(t.y-e.y)*(r.x-n.x)-(t.x-e.x)*(r.y-n.y),i=(n.y-e.y)*(t.x-e.x)-(n.x-e.x)*(t.y-e.y),u=0===o?2:i/o,u>=0&&u<=1&&(a=u,o=(r.y-n.y)*(t.x-e.x)-(r.x-n.x)*(t.y-e.y),i=(e.y-n.y)*(r.x-n.x)-(e.x-n.x)*(r.y-n.y),u=0===o?2:i/o,u>=0&&u<=1)&&(s.pt.x=e.x+u*(t.x-e.x),s.pt.y=e.y+u*(t.y-e.y),this.m_bUseZ&&(s.pt.z=n.z+a*(r.z-n.z)),this.m_bUseM&&(s.pt.m=n.m+a*(r.m-n.m)),0!==a&&1!==a||0!==u&&1!==u||(s.bAtExistingPt=!0),!((0===a||1===a)&&u>0&&u<1||(0===u||1===u)&&a>0&&a<1))}compressOffsetArray(e){for(;this.m_offsetPts[e].m_prev<e;)e=this.m_offsetPts[e].m_prev;let t=0,n=e;do{const e=this.m_offsetPts[n].clone();this.m_offsetPts[t]=e,n=e.m_next,t++}while(n!==e);this.m_offsetPts[t]=this.m_offsetPts[0].clone(),this.m_offsetPtCount=t+1}addPart(e,t){if(!(t<2))for(let n=0;n<t;n++){const t=this.m_offsetPts[e+n];if(n?this.m_bUseZ?this.m_resultPath.lineTo3DCoords(t.x,t.y,t.z):this.m_resultPath.lineToCoords(t.x,t.y):this.m_bUseZ?this.m_resultPath.startPath3DCoords(t.x,t.y,t.z):this.m_resultPath.startPathCoords(t.x,t.y),this.m_bUseM){const e=this.m_resultPath.getPointCount()-1;this.m_resultPath.setAttribute(2,e,0,t.m)}}}offsetMultiPath(e){const t=(0,i.d)(this.m_inputGeometry,0,this.m_tolerance,0,this.m_progressTracker,12e3),n=t.querySegmentIterator();n.resetToFirstPath();let r=-1;for(;n.nextPath();)r++,this.offsetPath(t,r,e)}offsetPath(e,t,n){let r=e.getPathStart(t),s=e.getPathEnd(t);if(this.m_resultPath=n,e.isClosedPath(t)){const t=e.getXY(r);for(;s>r&&e.getXY(s-1).equals(t);)s--;if(s-r>=2){this.m_srcPtCount=s-r,this.m_srcPts.length=this.m_srcPtCount;for(let t=r;t<s;t++)this.progress(),this.m_srcPts[t-r]=f.construct(e.getXY(t),this.m_bUseZ?e.getAttributeAsDbl(1,t,0):0,this.m_bUseM?e.getAttributeAsDbl(2,t,0):0);this.buildOffset()&&this.addPart(0,this.m_offsetPtCount-1)}}else{const t=e.getXY(r);for(;r<s-1&&e.getXY(r+1).equals(t);)r++;const n=e.getXY(s-1);for(;r<s-1&&e.getXY(s-2).equals(n);)s--;if(s-r>=2){this.m_srcPtCount=2*(s-r)-2,this.m_srcPts.length=this.m_srcPtCount;let n=f.construct(t,this.m_bUseZ?e.getAttributeAsDbl(1,r,0):0,this.m_bUseM?e.getAttributeAsDbl(2,r,0):0);n.type|=1536,this.m_srcPts[0]=n;let o=1,i=this.m_srcPtCount-1;for(let t=r+1;t<s-1;t++,o++,i--)this.progress(),n=f.construct(e.getXY(t),this.m_bUseZ?e.getAttributeAsDbl(1,t,0):0,this.m_bUseM?e.getAttributeAsDbl(2,t,0):0),this.m_srcPts[o]=n.clone(),n.type|=l,this.m_srcPts[i]=n.clone();if(n=f.construct(e.getXY(s-1),this.m_bUseZ?e.getAttributeAsDbl(1,s-1,0):0,this.m_bUseM?e.getAttributeAsDbl(2,s-1,0):0),n.type|=512,this.m_srcPts[o]=n.clone(),this.buildOffset())if(this.m_offsetPts.length>=2){let e=-1,t=-1,n=!!(this.m_offsetPts[this.m_offsetPtCount-1].type&l);n||(e=0);for(let r=1;r<this.m_offsetPtCount;r++){this.progress();const s=!!(this.m_offsetPts[r].type&l);s?n||(t=r-1,t-e+1>1&&this.addPart(e,t-e+1)):n&&(e=r-1),n=s}n||(t=this.m_offsetPtCount-1,t-e+1>1&&this.addPart(e,t-e+1))}else{const e=0,t=this.m_offsetPtCount-1;t-e>=1&&this.addPart(e,t-e+1)}}}this.m_srcPts.length=0,this.m_srcPtCount=0,this.m_offsetPts.length=0,this.m_offsetPtCount=0}static dotSign(e,t,n,r){const s=t.x-e.x,o=t.y-e.y,i=r.x-n.x,a=r.y-n.y,c=(0,u.t)(s,o,i,a);return(0,u.e)(c)}}class p extends r.G{constructor(e,t,n,r,s,o,i){super(),this.m_progressTracker=i,this.m_index=-1,this.m_inputGeoms=e,this.m_spatialReference=t,this.m_distance=n,this.m_joins=r,this.m_miterLimit=s,this.m_flattenError=o}tock(){return!0}getRank(){return 1}next(){if(!this.m_inputGeoms)return null;let e;for(;e=this.m_inputGeoms.next();)return this.m_index=this.m_inputGeoms.getGeometryID(),this.offset(e);return null}getGeometryID(){return this.m_index}offset(e){let t;return(0,o.d)(e),t=this.m_flattenError<=0?(0,s.b)(this.m_spatialReference,e,!0).total():this.m_flattenError,function(e,t,n,r,s,i){if(null===e&&(0,o.t)(""),e.getDimension()<1&&(0,o.t)(""),s>0||(0,o.t)(""),(0,o.d)(e),0===t||e.isEmpty())return e;const u=new h(i);return u.m_bUseZ=e.hasAttribute(1),u.m_bUseM=e.hasAttribute(2),u.m_inputGeometry=e,u.m_distance=t,u.m_tolerance=s,u.m_joins=n,u.m_miterLimit=r>1?r:1,u.m_progressCounter=0,u.constructOffset()}(e,this.m_distance,this.m_joins,this.m_miterLimit,t,this.m_progressTracker)}}const y=new class{getOperatorType(){return 10108}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}executeMany(e,t,n,r,s,o,i){return new p(e,t,n,r,s,o,i)}execute(e,t,n,r,s,o,i){return new p(null,t,n,r,s,o,i).offset(e)}};function _(e,t,n,r,s,o){return y.execute(e,t,n,r,s,o,null)}function d(e,t,n,s,o,i){const u=y.executeMany(new r.S(e),t,n,s,o,i,null);return Array.from(u)}function g(){return y.supportsCurves()}},68613:(e,t,n)=>{n.d(t,{fz:()=>y,g7:()=>h,zo:()=>p});var r=n(76061),s=n(55537),o=n(83661),i=n(35368),u=n(79187),a=n(95213),c=n(12189);function m(e,t,n,r){const s=e.getImpl().getAttributeStreamRef(0),i=e.getPointCount(),c=t.getXY(),m=e.createInstance(),l=(0,a.d)(n),f=new u.Envelope2D;if(e.queryEnvelope(f),f.inflateCoords(l,l),f.contains(c)){const n=l*l;let r=!1;const u=(0,o.d)(i,!1);for(let e=0;e<i;e++){const t=s.read(2*e),o=s.read(2*e+1),i=t-c.x,a=o-c.y;i*i+a*a<=n&&(r=!0,u[e]=!0)}if(r)for(let t=0;t<i;t++)u[t]||m.addPoints(e,t,t+1);else m.addPoints(e,0,i),m.add(t)}else m.addPoints(e,0,i),m.add(t);return m}class l extends r.G{constructor(e,t,n,r){super(),this.m_progressTracker=r,this.m_index=-1,this.m_inputGeoms=e,this.m_spatialReference=n,this.m_rightGeom=t.next(),this.m_bEmpty=!this.m_rightGeom,(0,s.d)(this.m_rightGeom)}tock(){return!0}getRank(){return 1}next(){if(this.m_bEmpty)return null;const e=this.m_inputGeoms.next();return e?((0,s.d)(e),this.m_index=this.m_inputGeoms.getGeometryID(),function(e,t,n,r){const l=e.getDimension(),f=t.getDimension();if(l!==f)return l>f?e:t;if(e.isEmpty())return t;if(t.isEmpty())return e;const h=new u.Envelope2D,p=new u.Envelope2D,y=new u.Envelope2D;e.queryEnvelope(h),t.queryEnvelope(p),y.setCoords({env2D:h}),y.mergeEnvelope2D(p);const _=(0,a.a)(n,y,!0),d=e.getGeometryType(),g=t.getGeometryType();return d===s.G.enumPoint&&g===s.G.enumPoint?function(e,t,n){const r=(0,a.d)(n),s=r*r,u=e.getXY(),c=t.getXY(),m=new i.M({vd:e.getDescription()});return o.P.sqrDistance(u,c)>s&&(m.add(e),m.add(t)),m}(e,t,_):d===s.G.enumPoint&&g===s.G.enumMultiPoint?m(t,e,_):d===s.G.enumMultiPoint&&g===s.G.enumPoint?m(e,t,_):(0,c.ak)(e,t,n,r)}(e,this.m_rightGeom,this.m_spatialReference,this.m_progressTracker)):null}getGeometryID(){return this.m_index}}const f=new class{getOperatorType(){return 10003}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,n,r){return new l(e,t,n,r)}execute(e,t,n,o){const i=new r.S([e]),u=new r.S([t]),a=this.executeMany(i,u,n,o).next();return a||(0,s.c)("null output"),a}};function h(e,t,n){return f.execute(e,t,n,null)}function p(e,t,n){const s=f.executeMany(new r.S(e),new r.S([t]),n,null);return Array.from(s)}function y(){return f.supportsCurves()}},68925:(e,t,n)=>{n.d(t,{c:()=>a,e:()=>i,s:()=>u});var r=n(4576),s=n(90756),o=n(78125);function i(e,t){const n=(0,o.getSpatialReference)(e);return(0,s.g)((0,o.fromGeometry)(e),(0,o.fromPolyline)(t),(0,o.fromSpatialReference)(n)).map((e=>(0,o.toGeometry)(e,n))).filter(r.Ru)}const u=(0,s.f)(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},70031:(e,t,n)=>{n.d(t,{O:()=>s});var r=n(12189);class s extends r.d{getOperatorType(){return 4}execute(e,t,n,s){return!(0,r.r)(e,t,n,4,s)}}},70722:(e,t,n)=>{n.d(t,{a:()=>i,d:()=>a,e:()=>o,s:()=>u});var r=n(49074),s=n(78125);function o(e,t){const n=(0,s.getSpatialReference)(e);return(0,s.toGeometry)((0,r.g7)((0,s.fromGeometry)(e),(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(n)),n)}function i(e,t){const n=e.map(s.fromGeometry),o=(0,s.getSpatialReference)(e);return(0,r.zo)(n,(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(o)).map((e=>(0,s.toGeometry)(e,o)))}const u=(0,r.fz)(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:o,executeMany:i,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},70787:(e,t,n)=>{n.d(t,{fz:()=>u,g7:()=>o,zo:()=>i});var r=n(76061);const s=new(n(64523).O);function o(e,t,n){return s.execute(e,t,n,null)}function i(e,t,n){const o=s.executeMany(new r.S(e),t,n,null);return Array.from(o)}function u(){return s.supportsCurves()}},77085:(e,t,n)=>{n.d(t,{Hh:()=>u,fz:()=>m,g7:()=>a,s1:()=>i,zo:()=>c});var r=n(76061),s=n(83290);let o;function i(){return!!o&&(0,s.i)()}async function u(){if(!i()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(1088)]).then(n.bind(n,31088)),Promise.all([n.e(3661),n.e(1878),n.e(2189)]).then(n.bind(n,12189)).then((e=>e.aG)).then((({injectPe:e})=>e)),(0,s.l)()]);o=new e.OperatorGeodeticDensifyByLength,t(s.p)}}function a(e,t,n,r){return o.execute(e,t,n,r,null)}function c(e,t,n,s){const i=o.executeMany(new r.S(e),t,n,s,null);return Array.from(i)}function m(){return o.supportsCurves()}},78812:(e,t,n)=>{n.d(t,{default:()=>a});var r=n(83661),s=n(11878),o=n(34727);const i={uniform:0,conformal:1,rigid:2,"rigid-motion":3,general:4},u=e=>e.map((e=>new r.P(e.x,e.y)));class a{constructor(){this.transform=new s.T}calculateErrors(e,t){const n=e.length,r=t.length;if(n!==r)throw new Error(`The input length (${n}) is not the same as output length (${r})`);const s=[];return{rms:this.transform.calculateErrors(n,u(e),u(t),s),errorsOut:s}}flipX(e,t){return this.transform.flipX(e,t),this}flipY(e,t){return this.transform.flipY(e,t),this}initializeFromControlPoints(e,t,n,r){const s=t.length,o=n.length;if(s!==o)throw new Error(`The input length (${s}) is not the same as output length (${o})`);this.transform.initializeFromControlPoints(i[e],s,u(t),u(n),r?.transform)}isIdentity(){return this.transform.isIdentity()}rotate(e,t,n){const s=(0,o.kU)(e);return null!=t&&null!=n?this.transform.rotateAngleAbout(s,new r.P(t,n)):this.transform.rotateAngle(s),this}scale(e,t){return this.transform.scale(e,t),this}setIdentity(){this.transform.setIdentity()}setSwapCoordinates(){return this.transform.setSwapCoordinates(),this}shear(e,t){return this.transform.shear(e,t),this}shift(e,t){return this.transform.shiftCoords(e,t),this}}},79533:(e,t,n)=>{n.d(t,{C:()=>s});var r=n(78125);function s(e,t,n=!1){const s=(0,r.toPoint)(e.m_coordinate,(0,r.getSpatialReference)(t)),o=e.m_distance,i=e.isEmpty(),u=e.m_bRightSide;return{coordinate:s,distance:o,isEmpty:i,...n&&{isRightSide:u},vertexIndex:e.m_vertexIndex}}},81150:(e,t,n)=>{n.d(t,{Pg:()=>a,fz:()=>c,g7:()=>i,zo:()=>u});var r=n(76061),s=(n(55537),n(35368),n(12189));n(95213);const o=new s.g;function i(e,t,n){return o.execute(e,t,n,null)}function u(e,t,n){const s=o.executeMany(new r.S(e),t,n,null);return Array.from(s)}function a(e,t,n){return o.isSimpleAsFeature(e,t,n,null,null)}function c(){return o.supportsCurves()}},83587:(e,t,n)=>{n.d(t,{a:()=>i,c:()=>a,e:()=>o,s:()=>u});var r=n(96027),s=n(78125);function o(e,t){const n=(0,s.getSpatialReference)(e),o=(0,s.fromExtent)(t).asEnvelope2D();return(0,s.toGeometry)((0,r.g7)((0,s.fromGeometry)(e),o,(0,s.fromSpatialReference)(n)),n)}function i(e,t){const n=e.map(s.fromGeometry),o=(0,s.getSpatialReference)(e),i=(0,s.fromExtent)(t).asEnvelope2D();return(0,r.zo)(n,i,(0,s.fromSpatialReference)(o)).map((e=>(0,s.toGeometry)(e,o)))}const u=(0,r.fz)(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:o,executeMany:i,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},84252:(e,t,n)=>{n.d(t,{a:()=>i,c:()=>c,e:()=>u,s:()=>a});var r=n(12189),s=n(78125);const o=new r.O;function i(e){const t=(0,s.getSpatialReference)(e);return o.accelerateGeometry((0,s.fromGeometry)(e),(0,s.fromSpatialReference)(t),1)}function u(e,t){return o.execute((0,s.fromGeometry)(e),(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(e.spatialReference),null)}const a=o.supportsCurves(),c=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:i,execute:u,supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},85181:(e,t,n)=>{n.d(t,{O:()=>s});var r=n(12189);class s extends r.d{getOperatorType(){return 9}execute(e,t,n,s){return(0,r.r)(e,t,n,32,s)}}},85503:(e,t,n)=>{n.d(t,{a:()=>c,d:()=>l,e:()=>a,s:()=>m});var r=n(4576),s=n(34727),o=n(83047),i=n(91735),u=n(78125);function a(e,t,n={}){let{maxAngleInDegrees:r=0,maxDeviation:a=0,unit:c}=n;const m=(0,u.getSpatialReference)(e);return c&&(t=(0,o.UW)(t,c,m),a&&(a=(0,o.UW)(a,c,m))),(0,u.toGeometry)((0,i.g7)((0,u.fromGeometry)(e),t,a,(0,s.kU)(r)),m)}function c(e,t,n={}){let{maxAngleInDegrees:a=0,maxDeviation:c=0,unit:m}=n;const l=e.map(u.fromGeometry),f=(0,u.getSpatialReference)(e);return m&&(t=(0,o.UW)(t,m,f),c&&(c=(0,o.UW)(c,m,f))),(0,i.zo)(l,t,c,(0,s.kU)(a)).map((e=>(0,u.toGeometry)(e,f))).filter(r.Ru)}const m=(0,i.fz)(),l=Object.freeze(Object.defineProperty({__proto__:null,execute:a,executeMany:c,supportsCurves:m},Symbol.toStringTag,{value:"Module"}))},86742:(e,t,n)=>{n.d(t,{Hh:()=>i,fz:()=>a,g7:()=>u,s1:()=>o});var r=n(83290);let s;function o(){return!!s&&(0,r.i)()}async function i(){if(!o()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(4163)]).then(n.bind(n,74163)),Promise.all([n.e(3661),n.e(1878),n.e(2189),n.e(6061)]).then(n.bind(n,12189)).then((e=>e.aG)).then((({injectPe:e})=>e)),(0,r.l)()]);s=new e.OperatorGeodeticArea,t(r.p)}}function u(e,t,n){return s.execute(e,t,n,null)}function a(){return s.supportsCurves()}},90135:(e,t,n)=>{n.d(t,{D:()=>x,m:()=>m,s:()=>d,w:()=>_});var r=n(90237),s=n(55537),o=n(35368),i=n(12189),u=n(83661),a=n(79187),c=n(95213);function m(){return{outPoint:new u.P,index:-1,t:Number.NaN}}function l(e,t,n){return{outPoint:e.clone(),index:t,t:n}}function f(e,t,n,r){e.outPoint.assign(t),e.index=n,e.t=r}function h(e,t){e.outPoint.assign(t.outPoint),e.index=t.index,e.t=t.t}function p(e,t,n,r){e.index=n,e.t=r,t.queryCoord2D(e.t,e.outPoint)}function y(e,t){const n=m();h(n,e),h(e,t),h(t,n)}function _(e,t,n,r,o,u){if(e.getGeometryType()===s.G.enumPolygon){for(;r.nextPath();)if(r.hasNextSegment()){const t=r.nextSegment();if(0!==(0,i.i)(e,t.getEndXY(),0))return f(o,t.getEndXY(),-1,Number.NaN),f(u,t.getEndXY(),-1,Number.NaN),!0}r.resetToFirstPath()}if(t.getGeometryType()===s.G.enumPolygon){for(;n.nextPath();)if(n.hasNextSegment()){const e=n.nextSegment();if(0!==(0,i.i)(t,e.getEndXY(),0))return f(o,e.getEndXY(),-1,Number.NaN),f(u,e.getEndXY(),-1,Number.NaN),!0}n.resetToFirstPath()}return!1}function d(e){const t=e.getPathCount(),n=(0,u.d)(e.getSegmentCount(),0);let r=0;for(let s=0;s<t;++s){const t=r+e.getSegmentCountPath(s);for(let o=r,i=e.getPathStart(s);o<t;++o,++i)n[o]=i;r=t}return(0,o.s)(e.getPointCount(),n),n}function g(e,t){return!!Number.isNaN(t)||e<=t}function P(e){const t=new o.a;return t.addEnvelope(e,!1),t}class x{constructor(e,t){if(this.m_env2DgeometryA=null,this.m_env2DgeometryB=null,this.m_progressCounter=0,this.m_progressTracker=t,this.m_maxSqrDistance=e*e,this.m_maxDistance=e,this.m_bIsNearCalc=!1,Number.isNaN(this.m_maxDistance)?this.m_maxDistance=Number.POSITIVE_INFINITY:this.m_maxDistance=e,this.m_maxSqrDistance=this.m_maxDistance*this.m_maxDistance,Number.isFinite(this.m_maxSqrDistance)){let e=Math.sqrt(this.m_maxSqrDistance);for(;e<this.m_maxDistance;)this.m_maxSqrDistance*=1+Number.EPSILON,e=Math.sqrt(this.m_maxSqrDistance)}}calculate(e,t,n,r){if((e.getGeometryType()!==c.P.type||t.getGeometryType()!==c.P.type)&&(this.m_env2DgeometryA=new a.Envelope2D,this.m_env2DgeometryB=new a.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!g(this.m_env2DgeometryA.distanceFromEnvelope(this.m_env2DgeometryB),this.m_maxDistance)))return Number.POSITIVE_INFINITY;const s=l(new u.P,(0,u.j)(),Number.NaN),o=l(new u.P,(0,u.j)(),Number.NaN),i=this._ExecuteBruteForce(e,t,s,o);return g(i,this.m_maxDistance)?(null!==n&&h(n,s),null!==r&&h(r,o),i):Number.POSITIVE_INFINITY}isNear(e,t){if(this.m_bIsNearCalc=!0,e.isEmpty()||t.isEmpty())return!1;if(e===t)return!0;let n=!0;if(e.getGeometryType()!==c.P.type&&e.getGeometryType()!==c.E.type||t.getGeometryType()!==c.P.type&&t.getGeometryType()!==c.E.type||(n=!1),n){if(this.m_env2DgeometryA=new a.Envelope2D,this.m_env2DgeometryB=new a.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!(this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)>this.m_maxSqrDistance))return!0;if(this.m_env2DgeometryA.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>this.m_maxSqrDistance)return!1}const r=l(new u.P,(0,u.j)(),Number.NaN),s=l(new u.P,(0,u.j)(),Number.NaN);return this._ExecuteBruteForce(e,t,r,s)<=this.m_maxDistance}progress_(e=!1){}_ExecuteBruteForce(e,t,n,r){switch(e.getGeometryType()){case s.G.enumPoint:return this.distancePointGeometry(e,t,n,r);case s.G.enumMultiPoint:return this.distanceMultipointGeometry(e,t,n,r);case s.G.enumEnvelope:return this.distanceEnvelopeGeometry(e,t,n,r);case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathGeometry(e,t,n,r);default:return Number.NaN}}distancePointGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:return this.distancePointPoint(e,t,n,r);case s.G.enumMultiPoint:return this.distancePointMultipoint(e,t,n,r);case s.G.enumPolyline:case s.G.enumPolygon:return this.distancePointMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distancePointEnvelope(e,t,n,r);default:return Number.NaN}}distancePointPoint(e,t,n,r){const s=e.getXY(),o=t.getXY();return f(n,s,0,0),f(r,o,0,0),Math.sqrt(u.P.sqrDistance(s,o))}distancePointMultipoint(e,t,n,r){const s=e.getXY();let o=this.m_maxSqrDistance,i=o,a=!1;const c=t.getPointCount(),m=new u.P;for(let e=0;e<c;++e)if(t.queryXY(e,m),i=u.P.sqrDistance(s,m),this.m_bIsNearCalc){if(i<=o)return 0}else if(!(i>o)&&(!a&&i===o||i<o)&&(o=i,f(n,s,0,0),f(r,m,e,0),a=!0,0===o))return 0;return a?Math.sqrt(o):Number.POSITIVE_INFINITY}distancePointMultipath(e,t,n,r){const o=!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB),c=e.getXY();if(!o&&t.getGeometryType()===s.G.enumPolygon&&0!==(0,i.i)(t,c,0))return f(n,c,0,0),f(r,c,-1,Number.NaN),0;t.getImpl().getAccelerators();let m=this.m_maxSqrDistance,l=m,h=-1;const p=new a.Envelope2D,y=t.querySegmentIterator();let _=!1;for(;y.nextPath();)for(;y.hasNextSegment();){const e=y.nextSegment();e.queryEnvelope(p);const t=p.sqrDistance(c);if(t>m)continue;if(!this.m_bIsNearCalc&&_&&t===m)continue;h=e.getClosestCoordinate(c,!1);const s=e.getCoord2D(h);if(l=u.P.sqrDistance(c,s),this.m_bIsNearCalc){if(l<=m)return 0}else if(!(l>m)&&(!_||l<m)&&(m=l,f(n,c,0,0),f(r,s,y.getStartPointIndex(),h),_=!0,0===m))return 0}return _?Math.sqrt(m):Number.POSITIVE_INFINITY}distancePointEnvelope(e,t,n,r){const s=e.getXY();f(n,s,0,0),f(r,s,-1,Number.NaN);const o=t.asEnvelope2D();return o.contains(s)?0:Math.sqrt(o.sqrDistance(s,r.outPoint))}distanceMultipointGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:{this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distancePointMultipoint(t,e,r,n);return this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumMultiPoint:return this.distanceMultipointMultipoint(e,t,n,r,1,1);case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipointMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distanceMultipointMultipath(e,P(t),n,r);default:return Number.NaN}}distanceMultipointMultipoint(e,t,n,s,o,i){const a={stack:[],error:void 0,hasError:!1};try{if(this.m_bIsNearCalc&&1===o&&1===i){const r=Math.trunc((0,u.c)(Math.sqrt(e.getPointCount())+1,1,(0,u.i)())),o=Math.trunc((0,u.c)(Math.sqrt(t.getPointCount())+1,1,(0,u.i)()));if((r>=4||o>=4)&&this.distanceMultipointMultipoint(e,t,n,s,r,o)<=this.m_maxSqrDistance)return 0}let c=this.m_maxSqrDistance;const m=[e],l=[t],h=this.swapGeometriesIfBGtA(m,l);h&&(this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),i=(0,u.b)(o,o=i),y(n,s)),(0,r.b)(a,(0,u.h)((()=>{y(n,s),this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)}),!h),!1);const p=m[0].getImpl(),_=l[0].getImpl(),d=p.getPointCount(),g=_.getPointCount(),P=g>1;let x=!1;const v=new u.P,b=new u.P;for(let e=0;e<d;e+=o){if(p.queryXY(e,v),P){const e=this.m_env2DgeometryB.sqrDistance(v);if(this.m_bIsNearCalc){if(e>c)continue;if(this.m_env2DgeometryB.sqrMaxMinDistance(v)<=c)return 0}else if(e>=c)continue}for(let t=0;t<g;t+=i){_.queryXY(t,b);const r=u.P.sqrDistance(v,b);if(this.m_bIsNearCalc){if(r<=c)return 0}else if(!(r>c||x&&r===c)&&(!x||r<c)&&(f(n,v,e,0),f(s,b,t,0),x=!0,c=r,0===c))return x?Math.sqrt(c):Number.POSITIVE_INFINITY}}return x?Math.sqrt(c):Number.POSITIVE_INFINITY}catch(e){a.error=e,a.hasError=!0}finally{(0,r.c)(a)}}distanceMultipointMultipath(e,t,n,r){let o=!!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)&&t.getGeometryType()===s.G.enumPolygon;const c=t.querySegmentIterator();c.stripAttributes();const m=new a.Envelope2D,l=new u.P;let h=this.m_maxSqrDistance;const p=e.getImpl(),y=p.getPointCount(),_=y>1;let d=!1;for(;c.nextPath();)for(;c.hasNextSegment();){const e=c.nextSegment();if(e.queryLooseEnvelope(m),_){const e=m.sqrDistanceEnvelope(this.m_env2DgeometryA,null,null);if(this.m_bIsNearCalc){if(e>h)continue}else if(e>h||d&&e===h)continue}for(let s=0;s<y;s++){if(p.queryXY(s,l),o&&0!==(0,i.i)(t,l,0))return f(n,l,-1,Number.NaN),f(r,l,s,0),0;{const e=m.sqrDistance(l);if(this.m_bIsNearCalc){if(e>h)continue}else if(e>h)continue}const u=e.getClosestCoordinate(l,!1),a=e.getCoord2D(u);l.subThis(a);const y=l.sqrLength();if(this.m_bIsNearCalc){if(y<=h)return 0}else if(!(y>h)&&(!d||y<h)&&(h=y,f(n,p.getXY(s),s,0),f(r,a,c.getStartPointIndex(),u),d=!0,0===h))return 0}o=!1}return d?Math.sqrt(h):Number.POSITIVE_INFINITY}distanceEnvelopeGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:return this.distancePointEnvelope(t,e,r,n);case s.G.enumMultiPoint:{this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distanceMultipointMultipath(t,P(e),r,n);return this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathMultipath(P(e),t,n,r);case s.G.enumEnvelope:return this.distanceEnvelopeEnvelope(e,t,n,r);default:return Number.NaN}}distanceEnvelopeEnvelope(e,t,n,r){n.t=Number.NaN,n.index=-1,r.t=Number.NaN,r.index=-1;const s=e.asEnvelope2D(),o=t.asEnvelope2D();return Math.sqrt(s.sqrDistanceEnvelope(o,n.outPoint,r.outPoint))}distanceMultipathGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:{this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distancePointMultipath(t,e,r,n);return this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumMultiPoint:{this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distanceMultipointMultipath(t,e,r,n);return this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distanceMultipathMultipath(e,P(t),n,r);default:return Number.NaN}}distanceMultipathMultipath(e,t,n,s){const i={stack:[],error:void 0,hasError:!1};try{const c=[e],l=[t],f=this.swapGeometriesIfAGtB(c,l);f&&(this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),y(n,s)),(0,r.b)(i,(0,u.h)((()=>{y(n,s),this.m_env2DgeometryB=(0,u.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)}),!f),!1);const g=c[0],P=l[0],x=g.querySegmentIterator();x.stripAttributes();const v=P.querySegmentIterator();if(v.stripAttributes(),this.m_bIsNearCalc&&this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)<=this.m_maxSqrDistance)return 0;if(this.m_bIsNearCalc){const e=Math.trunc((0,u.c)(Math.sqrt(g.getPointCount())+1,1,(0,u.i)())),t=Math.trunc((0,u.c)(Math.sqrt(g.getPointCount())+1,1,(0,u.i)()));if(this.distanceMultipointMultipoint(g,P,n,s,e,t)<=this.m_maxSqrDistance)return 0}if(this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)){const e=m(),t=m();if(_(g,P,x,v,e,t))return h(n,e),h(s,t),0}const b=d(g),G=[],S=new o.S,C=new a.Envelope2D,M=new a.Envelope2D,D=new a.Envelope2D;let E=this.m_maxSqrDistance,w=!0,N=!1;for(let e=0,t=b.length;e<t;++e){g.querySegment(b[e],S,!0);const t=S.get();if(t.queryEnvelope(C),!(C.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>E)){if(this.m_bIsNearCalc&&C.sqrMaxDistanceEnvelope(this.m_env2DgeometryB)<=E)return 0;for(;v.nextPath();){if(this.progress_(),w)P.queryPathEnvelope(v.getPathIndex(),D),G[v.getPathIndex()]=D.clone();else if(C.sqrDistanceEnvelope(G[v.getPathIndex()],null,null)>E)continue;for(;v.hasNextSegment();){const r=v.nextSegment();if(r.queryEnvelope(M),C.sqrDistanceEnvelope(M,null,null)<=E){const o=!C.isIntersecting(M),i=[0],u=[0];let a=t.distance(r,o,i,u);if(a*=a,this.m_bIsNearCalc&&a<=this.m_maxSqrDistance)return 0;if(a<E||a===E&&b[e]<n.index){if(N=!0,p(n,t,b[e],i[0]),p(s,r,v.getStartPointIndex(),u[0]),0===a)return 0;E=a}}}}v.resetToFirstPath(),w=!1}}return N?Math.sqrt(E):Number.POSITIVE_INFINITY}catch(e){i.error=e,i.hasError=!0}finally{(0,r.c)(i)}}swapGeometriesIfAGtB(e,t){return(0,s.v)(e[0])>(0,s.v)(t[0])&&(t[0]=(0,u.b)(e[0],e[0]=t[0]),!0)}swapGeometriesIfBGtA(e,t){return this.swapGeometriesIfAGtB(t,e)}}},90756:(e,t,n)=>{n.d(t,{g:()=>f,f:()=>h});var r=n(76061),s=n(55537),o=n(35368),i=n(95213),u=n(12189),a=u.C;function c(e,t){return{m_geometry:e,m_side:t}}class m extends r.G{constructor(e,t,n,r,s){super(),this.m_cutIndex=-1,this.m_cuts=[],this.m_progressTracker=s,this.m_cuttee=t.clone(),this.m_cutter=new o.P({copy:n}),this.m_bConsiderTouch=e;const u=(0,i.g)(t,n);this.m_tolerance=(0,i.a)(r,u,!0)}next(){return-1===this.m_cutIndex&&this.generateCuts(),++this.m_cutIndex<this.m_cuts.length?this.m_cuts[this.m_cutIndex]:null}getGeometryID(){return this.m_cutIndex}tock(){return!0}getRank(){return 1}generateCuts(){switch(this.m_cuttee.getGeometryType()){case s.G.enumPolyline:this.generatePolylineCuts();break;case s.G.enumPolygon:this.generatePolygonCuts()}}generatePolylineCuts(){const e=new o.P,t=new o.P,n=new o.P;this.m_cuts.length=0,this.m_cuts.push(e),this.m_cuts.push(t);const r=[];!function(e,t,n,r,s,i){if(t.isEmpty()){const e=c(t,0);return void s.push(e)}if(n.isEmpty()){const e=c(t,0);return void s.push(e)}const m=[],l=new o.E;{const o=l.createGeometryUserIndex(),f=l.addGeometry(t),h=l.addGeometry(n),p=new u.T(i);let y=0,_=null;if(l.hasCurves()){_=new a;const e=l.getEnvelope2D(i);y=(0,u.s)(r.total());const t=(0,u.k)(r.total(),e);(0,u.l)(l,t,r.total(),12e3,_,null,i)}l.dbgVerifyCurves(),p.setEditShapeCrackAndCluster(l,r),p.cut(e,o,f,h,m);for(const e of m){null!==_&&_.stitchCurves(l,e,y,!1);const t=c(l.getGeometry(e),(0,u.m)(l.getGeometryUserIndex(e,o)));s.push(t)}null!==_&&_.clearStitcher(l)}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,r,this.m_progressTracker);for(let o=0;o<r.length;o++){const i=r[o];1===i.m_side?e.add(i.m_geometry,!1):2===i.m_side||4===i.m_side?t.add(i.m_geometry,!1):3===i.m_side?this.m_cuts.push(i.m_geometry):0===i.m_side?n.add(i.m_geometry,!1):(0,s.c)("")}n.isEmpty()||e.isEmpty()&&t.isEmpty()&&!(this.m_cuts.length>=3)||this.m_cuts.push(n),e.isEmpty()&&t.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}generatePolygonCuts(){const e=new o.a,t=new o.a,n=new o.a;this.m_cuts.length=0,this.m_cuts.push(e),this.m_cuts.push(t);const r=[];!function(e,t,n,r,s,i){if(t.isEmpty()){const e=c(t,0);return void s.push(e)}if(n.isEmpty()){const e=c(t,0);return void s.push(e)}const m=[],l=new o.E;{const e=l.createGeometryUserIndex(),f=l.addGeometry(t),h=l.addGeometry(n),p=new u.T(i);let y=0,_=null;if(l.hasCurves()){_=new a;const e=l.getEnvelope2D(i);y=(0,u.s)(r.total());const t=(0,u.k)(r.total(),e);(0,u.l)(l,t,r.total(),12e3,_,null,i)}l.dbgVerifyCurves(),p.setEditShapeCrackAndCluster(l,r),p.cut(!1,e,f,h,m),null!==_&&_.stitchCurves(l,o.n,y,!0);let d=l.getGeometry(f);const g=new o.a,P=new o.a,x=[];for(let t=0;t<m.length;t++){let n=null;{const s=new o.E,a=s.addGeometry(d),c=s.addGeometry(l.getGeometry(m[t]));if(s.hasCurves()){const e=s.getEnvelope2D(i);y=(0,u.s)(r.total());const t=(0,u.k)(r.total(),e);(0,u.l)(s,t,r.total(),12e3,_,null,i)}p.setEditShapeCrackAndCluster(s,r);const f=p.intersection(a,c);if(null!==_&&_.stitchCurves(s,o.n,y,!0),n=s.getGeometry(f),n.isEmpty())continue;const h=l.getGeometryUserIndex(m[t],e);2===h?g.add(n,!1):1===h?P.add(n,!1):x.push(n)}{const e=new o.E,n=e.addGeometry(d),s=e.addGeometry(l.getGeometry(m[t]));if(e.hasCurves()){const t=e.getEnvelope2D(i);y=(0,u.s)(r.total());const n=(0,u.k)(r.total(),t);(0,u.l)(e,n,r.total(),12e3,_,null,i)}p.setEditShapeCrackAndCluster(e,r);const a=p.difference(n,s);null!==_&&_.stitchCurves(e,o.n,y,!0),d=e.getGeometry(a)}}if(!d.isEmpty()&&m.length>0&&x.push(d),g.isEmpty()&&P.isEmpty())return;if(!g.isEmpty()){const e=c(g,1);s.push(e)}if(!P.isEmpty()){const e=c(P,2);s.push(e)}for(let e=0,t=x.length;e<t;++e){const t=c(x[e],3);s.push(t)}}}(this.m_bConsiderTouch,this.m_cuttee,this.m_cutter,this.m_tolerance,r,this.m_progressTracker);for(let o=0;o<r.length;o++){const i=r[o];1===i.m_side?e.add(i.m_geometry,!1):2===i.m_side?t.add(i.m_geometry,!1):3===i.m_side?this.m_cuts.push(i.m_geometry):0===i.m_side?n.add(i.m_geometry,!1):(0,s.c)("")}(0,s.g)(n.isEmpty()||1===r.length),e.isEmpty()&&t.isEmpty()&&this.m_cuts.length<3&&(this.m_cuts.length=0)}}const l=new class{getOperatorType(){return 10005}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(e,t,n,r,s){return new m(e,t,n,r,s)}};function f(e,t,n){const r=l.execute(!0,e,t,n,null);return Array.from(r)}function h(){return l.supportsCurves()}},90836:(e,t,n)=>{n.d(t,{a:()=>u,b:()=>a,e:()=>m,s:()=>c});var r=n(12189),s=n(78125);class o extends r.d{getOperatorType(){return 2}execute(e,t,n,s){return(0,r.r)(e,t,n,3,s)}}const i=new o;function u(e){const t=(0,s.getSpatialReference)(e);return i.accelerateGeometry((0,s.fromGeometry)(e),(0,s.fromSpatialReference)(t),1)}function a(e,t){return i.execute((0,s.fromGeometry)(e),(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(e.spatialReference),null)}const c=i.supportsCurves(),m=Object.freeze(Object.defineProperty({__proto__:null,accelerateGeometry:u,execute:a,supportsCurves:c},Symbol.toStringTag,{value:"Module"}))},91577:(e,t,n)=>{n.d(t,{fz:()=>c,g7:()=>i,qT:()=>a,zo:()=>u});var r=n(76061),s=(n(55537),n(95213),n(35368));n(79187);const o=new s.O;function i(e){return o.execute(e,null)}function u(e,t){const n=o.executeMany(new r.S(e),t,null);return Array.from(n)}function a(e){return o.isConvex(e,null)}function c(){return o.supportsCurves()}},91735:(e,t,n)=>{n.d(t,{fz:()=>u,g7:()=>o,zo:()=>i});var r=n(76061);const s=new(n(5247).O);function o(e,t,n,r){return s.execute(e,t,n,r,null)}function i(e,t,n,o){const i=s.executeMany(new r.S(e),t,n,o,null);return Array.from(i)}function u(){return s.supportsCurves()}},92523:(e,t,n)=>{n.d(t,{a:()=>a,e:()=>u,g:()=>m,s:()=>c});var r=n(4576),s=n(83047),o=n(70787),i=n(78125);function u(e,t,n={}){const{removeDegenerateParts:r=!1,unit:u}=n,a=(0,i.getSpatialReference)(e);return u&&(t=(0,s.UW)(t,u,a)),(0,i.toGeometry)((0,o.g7)((0,i.fromGeometry)(e),t,r),a)}function a(e,t,n={}){const{removeDegenerateParts:u=!1,unit:a}=n,c=e.map(i.fromGeometry),m=(0,i.getSpatialReference)(e);return a&&(t=(0,s.UW)(t,a,m)),(0,o.zo)(c,t,u).map((e=>(0,i.toGeometry)(e,m))).filter(r.Ru)}const c=(0,o.fz)(),m=Object.freeze(Object.defineProperty({__proto__:null,execute:u,executeMany:a,supportsCurves:c},Symbol.toStringTag,{value:"Module"}))},96027:(e,t,n)=>{n.d(t,{fz:()=>u,g7:()=>o,zo:()=>i});var r=n(76061);const s=new(n(31139).O);function o(e,t,n){return s.execute(e,t,n,null)}function i(e,t,n){const o=s.executeMany(new r.S(e),t,n,null);return Array.from(o)}function u(){return s.supportsCurves()}},96957:(e,t,n)=>{n.d(t,{a:()=>u,b:()=>a,e:()=>i,s:()=>c});var r=n(4576),s=n(68613),o=n(78125);function i(e,t){const n=(0,o.getSpatialReference)(e);return(0,o.toGeometry)((0,s.g7)((0,o.fromGeometry)(e),(0,o.fromGeometry)(t),(0,o.fromSpatialReference)(n)),n)}function u(e,t){const n=e.map(o.fromGeometry),i=(0,o.getSpatialReference)(e);return(0,s.zo)(n,(0,o.fromGeometry)(t),(0,o.fromSpatialReference)(i)).map((e=>(0,o.toGeometry)(e,i))).filter(r.Ru)}const a=(0,s.fz)(),c=Object.freeze(Object.defineProperty({__proto__:null,execute:i,executeMany:u,supportsCurves:a},Symbol.toStringTag,{value:"Module"}))}}]);