@arcgis/core 5.0.0-next.121 → 5.0.0-next.123

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 (241) hide show
  1. package/applications/Components/SketchTooltipControls.d.ts +3 -2
  2. package/applications/Components/SketchTooltipControls.js +1 -1
  3. package/assets/esri/core/workers/RemoteClient.js +1 -1
  4. package/assets/esri/core/workers/chunks/0184b4c0c92c76c60ab2.js +1 -0
  5. package/assets/esri/core/workers/chunks/{56a296cb5c1ae1ea5ab2.js → 08616877b58b518e7461.js} +1 -1
  6. package/assets/esri/core/workers/chunks/089cef7124173a5cd5f9.js +1 -0
  7. package/assets/esri/core/workers/chunks/{4d438627dd3509f65d5a.js → 0baa0d66003d23cc76a7.js} +1 -1
  8. package/assets/esri/core/workers/chunks/0e216f0075fd531c3a2b.js +1 -0
  9. package/assets/esri/core/workers/chunks/{d5314786df52b6be5307.js → 0e6ffb02a929130ddb50.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{4cb702d574c100483226.js → 0e8b4543e895b615c254.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{ae0a555b047b11aa68eb.js → 1219b588f983b4f35033.js} +1 -1
  12. package/assets/esri/core/workers/chunks/{41fe4d8fe97388498f73.js → 13512a23655258fa77f4.js} +1 -1
  13. package/assets/esri/core/workers/chunks/{ee34f14bbfe619b85a80.js → 13e913aa5f5113fceb16.js} +1 -1
  14. package/assets/esri/core/workers/chunks/1458ef3857be3b76be95.js +1 -0
  15. package/assets/esri/core/workers/chunks/{d621cdd0aef6d77986f0.js → 1469e6d1d0d4e310b8f8.js} +1 -1
  16. package/assets/esri/core/workers/chunks/{b9e90875943703486227.js → 15ba0296403dd4152b88.js} +1 -1
  17. package/assets/esri/core/workers/chunks/{7595c52b1647f092c61a.js → 16abc548724e428c325a.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{dddcae86e434d93b10c0.js → 189e22df73414a1a3989.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{90aeef17af12cfbecb36.js → 1d124a55f6804be19e09.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{63831996ad82bd3b1ca9.js → 1e29a114c1cfe21121c4.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{153a9d087e0fe7072af4.js → 1ede5fa7a16839ed9444.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{6b1e1fb4e9010873c171.js → 1f30558e3ad6ac68bdb8.js} +1 -1
  23. package/assets/esri/core/workers/chunks/{9c06b803912fcafa7f52.js → 24dd404612c35f6a3fc3.js} +1 -1
  24. package/assets/esri/core/workers/chunks/{b6e155b42a4a423139e7.js → 27d1f8279df34d8b15b5.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{401af6d07c9f458ae067.js → 2c69d8bb1c950b95278d.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{22d12c309af9c19a1a48.js → 2c7e5b78d94e5850537b.js} +1 -1
  27. package/assets/esri/core/workers/chunks/{120a5fa9b46084cd0c45.js → 2d376f82cdf020e1fca9.js} +1 -1
  28. package/assets/esri/core/workers/chunks/{8c321c6bc344544ebb51.js → 2d52b137ee64469a46b2.js} +1 -1
  29. package/assets/esri/core/workers/chunks/2d67ab4927a968d5c8d4.js +1 -0
  30. package/assets/esri/core/workers/chunks/{5b3f2bad61a0d993bf16.js → 2e63e18df96e5a2461de.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{d4da3abbd3d88cd63cb9.js → 454150571b5b664b576a.js} +1 -1
  32. package/assets/esri/core/workers/chunks/4740d319f233b7f528fe.js +1 -0
  33. package/assets/esri/core/workers/chunks/{78ce6fcb72e97d3dc087.js → 499d594dc0d282dfe777.js} +1 -1
  34. package/assets/esri/core/workers/chunks/49d58bacb5b397246978.js +1 -0
  35. package/assets/esri/core/workers/chunks/4ba4aa6c75e3f8950e65.js +1 -0
  36. package/assets/esri/core/workers/chunks/{61ce373f00a0cad113ed.js → 4f2c29168c9de0b08741.js} +1 -1
  37. package/assets/esri/core/workers/chunks/{5789898948cc0da78b8b.js → 552e5c413828e181f89a.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{5210bde0a05ab172ab28.js → 59f955c7d6b0589e7cc6.js} +1 -1
  39. package/assets/esri/core/workers/chunks/{5fe0bed2a0a9f8eadb28.js → 5a347b1d87eb6f710136.js} +1 -1
  40. package/assets/esri/core/workers/chunks/5b97cdeb5949822fbef3.js +1 -0
  41. package/assets/esri/core/workers/chunks/{178c91fabf4a87bbb50b.js → 620d7cd0b0885122aa0f.js} +1 -1
  42. package/assets/esri/core/workers/chunks/6321680c8070dffa3b6c.js +1 -0
  43. package/assets/esri/core/workers/chunks/6997b4d5bcc9c4755375.js +1 -0
  44. package/assets/esri/core/workers/chunks/{b79cceeee3ed46f218a0.js → 69ab42b965bccc3bad4f.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{bb4c75479cfea67cf8a2.js → 6af14a0217077d9ab47f.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{672542d0435fbfd0647c.js → 6b3d8280a24f7a3aac40.js} +1 -1
  47. package/assets/esri/core/workers/chunks/6e0cfb76f9c2a9ec6530.js +1 -0
  48. package/assets/esri/core/workers/chunks/6e8989d61204b0b5ff52.js +1 -0
  49. package/assets/esri/core/workers/chunks/{3d78e9b3c97c0ce21d16.js → 7017c2e621236c7a7da4.js} +1 -1
  50. package/assets/esri/core/workers/chunks/7407a1e0cef508116a0b.js +1 -0
  51. package/assets/esri/core/workers/chunks/{da188d0e22ba1639928e.js → 75907e5d009b71ce723b.js} +1 -1
  52. package/assets/esri/core/workers/chunks/{1ab4289195f5e46c6fe8.js → 78936c591fd49ff955a9.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{f0b8de5b3cfbe9223df6.js → 796f5265747ce8be910e.js} +1 -1
  54. package/assets/esri/core/workers/chunks/{ac62411b9b4cf85a4722.js → 7a037fbfd91dd22e3bf0.js} +1 -1
  55. package/assets/esri/core/workers/chunks/{50661f65a9c191f528bc.js → 7ee7529fcbd0d169047c.js} +1 -1
  56. package/assets/esri/core/workers/chunks/7f9b0ef7f9b3f3fd3df9.js +1 -0
  57. package/assets/esri/core/workers/chunks/804c31973f7d116523cb.js +1 -0
  58. package/assets/esri/core/workers/chunks/{82a446e8befe9d29c8f0.js → 822a115c7d718e4e3d2b.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{6789ddaa61e6d8f20d04.js → 8eea620f770576d18809.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{10c4f5afe14c0addc418.js → 9332db133a0925d522fe.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{bc87890d00d6dba979b2.js → 99c9f35a29f9f6c9e4ce.js} +1 -1
  62. package/assets/esri/core/workers/chunks/a4b422dbb6d3cb2505e1.js +1 -0
  63. package/assets/esri/core/workers/chunks/{455fbddd814e4681f0c0.js → a5e91cf150f6cf6a5d2a.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{eb4a2dc5efdb873a7f25.js → aef2832902b270f1a594.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{b5fc0a2480a229e8891a.js → b5f291e8ed7f7cac158d.js} +1 -1
  66. package/assets/esri/core/workers/chunks/bc32a4baeb0ecabb68cc.js +1 -0
  67. package/assets/esri/core/workers/chunks/bd05e68b00b9878d0266.js +1 -0
  68. package/assets/esri/core/workers/chunks/{9a43065e51df9c21c9fa.js → bdb4f216ae8881b98604.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{bf9b2aa2e67ca746ec7c.js → c15f0769a64863cccef0.js} +1 -1
  70. package/assets/esri/core/workers/chunks/c6e0ada6f2ad74fddfec.js +1 -0
  71. package/assets/esri/core/workers/chunks/cf09408cb7729126caae.js +1 -0
  72. package/assets/esri/core/workers/chunks/e0565849281ffbe8269e.js +1 -0
  73. package/assets/esri/core/workers/chunks/{4ef60a76eeca20bcafb1.js → e4f1e584f89ffb86206b.js} +1 -1
  74. package/assets/esri/core/workers/chunks/{2889e782ed81bb05b9e5.js → e508f8e707eb3207cfcc.js} +1 -1
  75. package/assets/esri/core/workers/chunks/{2216264b22a605a0f1ce.js → e60684918100666bb892.js} +1 -1
  76. package/assets/esri/core/workers/chunks/{4550b7620932cd6de20e.js → e94448b371cd17d7a472.js} +1 -1
  77. package/assets/esri/core/workers/chunks/{bb8530ade7c40a1ed7c4.js → eb9e913fe0dfcc71cf92.js} +1 -1
  78. package/assets/esri/core/workers/chunks/{8f26e93eb539ee66c5ac.js → ec2dfd89e4ce6fda4971.js} +1 -1
  79. package/assets/esri/core/workers/chunks/ede1d1cc2f315a34f4ca.js +1 -0
  80. package/assets/esri/core/workers/chunks/{a5bd7e5d71cffde68f89.js → ee89564d11c077169b31.js} +1 -1
  81. package/assets/esri/core/workers/chunks/{b3cc7f6d953bfbc3a70d.js → f62e37863a549f72093c.js} +1 -1
  82. package/assets/esri/core/workers/chunks/fc98b8351be567d3eb62.js +1 -0
  83. package/assets/esri/core/workers/chunks/{554f389f99db430b309c.js → ff961bb6d29ab3fe129d.js} +1 -1
  84. package/assets/esri/themes/base/widgets/_Attribution.scss +4 -2
  85. package/assets/esri/themes/dark/main.css +1 -1
  86. package/assets/esri/themes/light/main.css +1 -1
  87. package/assets/esri/themes/light/view.css +1 -1
  88. package/config.js +1 -1
  89. package/core/Logger.js +1 -1
  90. package/core/deprecate.js +1 -1
  91. package/core/has.js +1 -1
  92. package/core/types.d.ts +5 -0
  93. package/core/workers/workerFactory.js +1 -1
  94. package/editing/sharedTemplates/executor/builders/radialLines.js +1 -1
  95. package/editing/sharedTemplates/executor/builders/support/shapeUtils.js +1 -1
  96. package/geometry/projectionUtils.js +1 -1
  97. package/geometry/support/curves/curveUtils.js +1 -1
  98. package/kernel.js +1 -1
  99. package/layers/ImageryLayer.d.ts +1 -1
  100. package/layers/MapImageLayer.d.ts +1 -1
  101. package/layers/TileLayer.d.ts +1 -1
  102. package/layers/WebTileLayer.d.ts +1 -1
  103. package/layers/graphics/data/QueryEngineResult.js +1 -1
  104. package/layers/graphics/data/SnappingCandidate.js +1 -1
  105. package/layers/orientedImagery/transformations/imageToWorld.js +1 -1
  106. package/layers/orientedImagery/transformations/utils.js +1 -1
  107. package/layers/orientedImagery/transformations/worldToImage.js +1 -1
  108. package/layers/support/ControlPointsGeoreference.d.ts +2 -2
  109. package/layers/support/ControlPointsGeoreference.js +1 -1
  110. package/layers/support/CornersGeoreference.d.ts +2 -2
  111. package/layers/support/CornersGeoreference.js +1 -1
  112. package/layers/support/ExtentAndRotationGeoreference.d.ts +2 -2
  113. package/layers/support/ExtentAndRotationGeoreference.js +1 -1
  114. package/layers/support/GeoreferenceBaseMixin.js +2 -0
  115. package/layers/support/mediaUtils.js +1 -1
  116. package/layers/support/relativeTimeQueryUtils.js +1 -1
  117. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  118. package/package.json +1 -1
  119. package/renderers/DotDensityRenderer.d.ts +43 -0
  120. package/renderers/DotDensityRenderer.js +1 -1
  121. package/rest/featureService/FeatureService.js +1 -1
  122. package/rest/print.js +1 -1
  123. package/rest/query/operations/pbfFlatFeatureSet.js +1 -1
  124. package/support/basemapUtils.js +1 -1
  125. package/support/revision.js +1 -1
  126. package/symbols/ExtrudeSymbol3DLayer.d.ts +20 -10
  127. package/symbols/FillSymbol3DLayer.d.ts +36 -16
  128. package/symbols/ObjectSymbol3DLayer.d.ts +28 -6
  129. package/symbols/PathSymbol3DLayer.d.ts +18 -6
  130. package/symbols/cim/CIMSymbolHelper.js +1 -1
  131. package/symbols/cim/rasterizingUtils.js +1 -1
  132. package/symbols/support/Symbol3DEmissive.d.ts +9 -9
  133. package/symbols/support/Symbol3DMaterial.d.ts +8 -8
  134. package/time/TimeExtent.d.ts +1 -1
  135. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  136. package/views/2d/interactive/SnappingVisualizer2D.js +1 -1
  137. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  138. package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
  139. package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
  140. package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
  141. package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
  142. package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
  143. package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
  144. package/views/2d/layers/features/sources/FeatureSourceQueryInfo.js +1 -1
  145. package/views/2d/layers/features/sources/strategies/FeaturePagedTileLoadStrategy.js +1 -1
  146. package/views/2d/layers/features/sources/strategies/FeatureSnapshotLoadStrategy.js +1 -1
  147. package/views/2d/layers/features/support/FeatureSetReaderPBF.js +1 -1
  148. package/views/2d/layers/features/support/FeatureSetReaderPBFHeader.js +1 -1
  149. package/views/2d/layers/support/RouteLayerWaypointVisualization.js +1 -1
  150. package/views/3d/analysis/ShadowCast/ShadowCastTooltip.js +1 -1
  151. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillController.js +1 -1
  152. package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementCutFillVisualization.js +1 -1
  153. package/views/3d/layers/support/featureTileQuery3D.js +1 -1
  154. package/views/3d/support/pointsOfInterest/CameraOnSurface.js +1 -1
  155. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  156. package/views/3d/webgl-engine/materials/renderers/VaoWriter.js +1 -1
  157. package/views/Attribution.js +1 -1
  158. package/views/DOMContainer.js +1 -1
  159. package/views/LinkChartView.d.ts +1 -1
  160. package/views/MapView.d.ts +1 -1
  161. package/views/SceneView.d.ts +1 -1
  162. package/views/View.d.ts +1 -1
  163. package/views/input/types.d.ts +1 -1
  164. package/views/interactive/keybindings.js +1 -1
  165. package/views/interactive/snapping/candidates/EdgeSnappingCandidate.js +1 -1
  166. package/views/interactive/snapping/featureSources/GraphicsSnappingSource.js +1 -1
  167. package/views/interactive/snapping/featureSources/queryEngineUtils.js +1 -1
  168. package/views/interactive/snapping/featureSources/snappingCandidateElevationAlignment.js +1 -1
  169. package/views/interactive/snapping/featureSources/snappingCandidateElevationFilter.js +1 -1
  170. package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
  171. package/views/layers/FeatureLikeLayerView.js +1 -1
  172. package/views/layers/support/WhereClauseVisitor.js +1 -1
  173. package/views/ui/DefaultUI.d.ts +5 -12
  174. package/views/ui/DefaultUI.js +1 -1
  175. package/views/ui/types.d.ts +1 -1
  176. package/webscene/Glow.d.ts +5 -0
  177. package/webscene/SunLighting.d.ts +20 -2
  178. package/webscene/VirtualLighting.d.ts +20 -2
  179. package/widgets/Attribution/AttributionViewModel.d.ts +1 -1
  180. package/widgets/Attribution.d.ts +1 -1
  181. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  182. package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
  183. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +1 -1
  184. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  185. package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +2 -11
  186. package/widgets/BatchAttributeForm/inputs/TextElementInput.js +1 -1
  187. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  188. package/widgets/BatchAttributeForm/inputs/support/textElementInputUtils.js +2 -0
  189. package/widgets/BatchAttributeForm/templates/TextElementTemplate.js +1 -1
  190. package/widgets/BatchAttributeForm/templates/support/constants.js +2 -0
  191. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  192. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  193. package/widgets/BatchAttributeForm/templates/support/textElementTemplateUtils.js +2 -0
  194. package/widgets/Editor/components/Settings.js +1 -1
  195. package/widgets/Features/FeaturesViewModel.js +1 -1
  196. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  197. package/widgets/OrientedImageryViewer/adapters/sketch/DataCaptureAdapter.js +1 -1
  198. package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
  199. package/widgets/OrientedImageryViewer/adapters/view/SceneViewAdapter.js +1 -1
  200. package/widgets/OrientedImageryViewer/services/TransformationService.js +1 -1
  201. package/widgets/OrientedImageryViewer/support/dataCaptureUtils.js +1 -1
  202. package/widgets/OrientedImageryViewer/support/geometryUtils.js +1 -1
  203. package/widgets/OrientedImageryViewer/support/urlUtils.js +1 -1
  204. package/widgets/OrientedImageryViewer/utils.js +1 -1
  205. package/widgets/OrientedImageryViewer.js +1 -1
  206. package/widgets/PanoramicViewer/PanoramicViewerViewModel.js +1 -1
  207. package/widgets/PanoramicViewer/support/PanoramicMedia.js +1 -1
  208. package/widgets/Print/PrintViewModel.js +1 -1
  209. package/widgets/Sketch.js +1 -1
  210. package/widgets/TimeSlider/TimeSliderViewModel.d.ts +1 -2
  211. package/widgets/TimeSlider.d.ts +5 -6
  212. package/widgets/support/SketchTooltipControls.js +1 -1
  213. package/assets/esri/core/workers/chunks/00112f984698b31909d3.js +0 -1
  214. package/assets/esri/core/workers/chunks/0c8a676599821b9871c2.js +0 -1
  215. package/assets/esri/core/workers/chunks/2b7615cccbaeda1649f3.js +0 -1
  216. package/assets/esri/core/workers/chunks/2f0ea91afc9aa8ee9cad.js +0 -1
  217. package/assets/esri/core/workers/chunks/3a850b5e847b6b0ea53f.js +0 -1
  218. package/assets/esri/core/workers/chunks/449cf6ae6b6e6c2795e5.js +0 -1
  219. package/assets/esri/core/workers/chunks/4dcd5d5ea5875a08a7c7.js +0 -1
  220. package/assets/esri/core/workers/chunks/5058715f32ff026053a9.js +0 -1
  221. package/assets/esri/core/workers/chunks/529dbf16ffbbd39f3fa2.js +0 -1
  222. package/assets/esri/core/workers/chunks/58cf3d35771b87bd74e5.js +0 -1
  223. package/assets/esri/core/workers/chunks/652bb1b53782cdd3103c.js +0 -1
  224. package/assets/esri/core/workers/chunks/6acab23acf3b044f5215.js +0 -1
  225. package/assets/esri/core/workers/chunks/6c2a7bac3f8e32c83292.js +0 -1
  226. package/assets/esri/core/workers/chunks/6d26e5368e8952003669.js +0 -1
  227. package/assets/esri/core/workers/chunks/7cb6ccee9bcef449caea.js +0 -1
  228. package/assets/esri/core/workers/chunks/879e8439a513cb333b61.js +0 -1
  229. package/assets/esri/core/workers/chunks/98c3b7d8db53f0b12642.js +0 -1
  230. package/assets/esri/core/workers/chunks/a027da22acdaa6d6baa3.js +0 -1
  231. package/assets/esri/core/workers/chunks/a6006718fe22d9f2fa87.js +0 -1
  232. package/assets/esri/core/workers/chunks/b60337c471e2b855d02a.js +0 -1
  233. package/assets/esri/core/workers/chunks/bd1bbf1820e12d7a27f6.js +0 -1
  234. package/assets/esri/core/workers/chunks/c88101cb8301f095d037.js +0 -1
  235. package/assets/esri/core/workers/chunks/c9067667290e93407dd7.js +0 -1
  236. package/assets/esri/core/workers/chunks/e59c5bcf91984aa5be6d.js +0 -1
  237. package/assets/esri/core/workers/chunks/e71d08c6f545c2c70174.js +0 -1
  238. package/assets/esri/core/workers/chunks/f347dee99faa9ee5eef1.js +0 -1
  239. package/layers/support/GeoreferenceBase.d.ts +0 -4
  240. package/layers/support/GeoreferenceBase.js +0 -2
  241. package/widgets/BatchAttributeForm/inputs/support/textInputElementUtils.js +0 -2
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1666,3931,6061,6276,6312,7992,8125,9169,9397],{4197(t,e,r){r.d(e,{Vj:()=>h,cj:()=>u,jh:()=>i,l5:()=>o,xm:()=>a});var n=r(34275),s=r(9093);function i(t){return t<=n.y9?new Array(t).fill(0):new Float64Array(t)}function a(t){return((0,n.iu)(t)?t.byteLength/8:t.length)<=n.y9?Array.from(t):new Float64Array(t)}function o(t,e,r){return Array.isArray(t)?t.slice(e,e+r):t.subarray(e,e+r)}function u(t){return[...t]}function h(t){const e=(0,s.vt)();for(let r=0;r<16;++r)e[r]=t[r];return e}},9093(t,e,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(e,{o8:()=>s,vt:()=>n,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:n,fromValues:function(t,e,r,n,s,i,a,o,u,h,c,l,m,f,g,p){return[t,e,r,n,s,i,a,o,u,h,c,l,m,f,g,p]}},Symbol.toStringTag,{value:"Module"}))},60591(t,e,r){r.d(e,{execute:()=>n.e}),r(4576),r(86211),r(70787),r(78125);var n=r(92523)},61691(t,e,r){r.d(e,{G:()=>n});class n{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},64523(t,e,r){r.d(e,{O:()=>c});var n=r(5482),s=r(61691),i=r(55537),a=r(88885),o=r(95213),u=r(83661),h=r(5247);class c{getOperatorType(){return 10204}supportsCurves(){return!0}accelerateGeometry(t,e,r){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,r,n){return new l(t,e,r,n)}execute(t,e,r,n){return t||(0,i.a)("null param is not allowed."),new l(null,e,r,n).generalize(t)}}class l extends s.G{constructor(t,e,r,n){super(),this.m_pline=null,this.m_point=new o.P,this.m_stack=[],this.m_resultstack=[],this.m_callCount=0,this.m_progressTracker=n,this.m_geoms=t,this.m_maxDeviation=e,this.m_bRemoveDegenerateParts=r}tock(){return!0}getRank(){return 1}next(){const t=this.m_geoms.next();return null===t?null:((0,i.c)(t),this.generalize(t))}getGeometryID(){return this.m_geoms.getGeometryID()}generalize(t){const e=t.getGeometryType();if((0,i.e)(e))return t;if(e===i.G.enumEnvelope){const e=new a.P({vd:t.getDescription()});return e.addEnvelope(t,!1),this.generalize(e)}if((0,i.f)(e)){const e=new a.a({vd:t.getDescription()});return e.addSegment(t,!0),this.generalize(e)}if((0,i.h)(e)||(0,i.t)(""),t.isEmpty()||this.m_maxDeviation<=0)return t;const r=(new h.O).execute(t,0,.05*this.m_maxDeviation,0,this.m_progressTracker);t.hasNonLinearSegments()&&(this.m_maxDeviation*=.95);const s=r,o=t.createInstance();o.getGeometryType()===i.G.enumPolygon&&o.setFillRule(t.getFillRule()),this.m_xy=s.getAttributeStreamRef(0);{const t={stack:[],error:void 0,hasError:!1};try{const e=new a.L;this.m_pline=e,(0,n.mS)(t,(0,u.h)(()=>{this.m_pline=null},!1),!1);for(let t=0,e=s.getPathCount();t<e;t++)this.generalizePath(s.getImpl(),t,o.getImpl())}catch(e){t.error=e,t.hasError=!0}finally{(0,n.hk)(t)}}return this.m_resultstack.length=0,this.m_stack.length=0,o}generalizePath(t,e,r){if(t.getPathSize(e)<2)return;this.m_resultstack.length=0,this.m_stack.length=0;const n=t.getPathStart(e),s=t.getPathEnd(e)-1,i=t.isClosedPath(e),a=t.isClosedPathInXYPlane(e);let o=0,h=-1;this.m_stack.push(i?n:s),this.m_stack.push(n);let c=!1,l=!1;for(!this.m_bRemoveDegenerateParts&&a&&(c=!0,l=!0);this.m_stack.length>1;){const e=this.m_stack.at(-1);this.m_stack.pop();const r=this.m_stack.at(-1);let n=t.getXY(e);this.m_pline.setStartXY(n),n=t.getXY(r),this.m_pline.setEndXY(n);const i=[Number.NaN];let a=this.findGreatestDistance(e,r,s,i);a>=0&&(c?c=!1:(l&&i[0]>o&&(o=i[0],h=a),i[0]<=this.m_maxDeviation&&(a=-1))),a>=0?(this.m_stack.push(a),this.m_stack.push(e)):this.m_resultstack.push(e)}i||this.m_resultstack.push(this.m_stack[0]);const m=this.m_resultstack.length;if(m===t.getPathSize(e)&&m===this.m_stack.length)r.addPath(t,e,!0);else if(this.m_resultstack.length>0){if(this.m_bRemoveDegenerateParts&&this.m_resultstack.length<=2){if(i||1===this.m_resultstack.length)return;if(u.P.distance(t.getXY(this.m_resultstack[0]),t.getXY(this.m_resultstack[1]))<=this.m_maxDeviation)return}if(l&&h>=0&&o<=this.m_maxDeviation){const t=this.m_resultstack.at(-1)>h;this.m_resultstack.push(h),t&&(this.m_resultstack[this.m_resultstack.length-2]=(0,u.c)(this.m_resultstack[this.m_resultstack.length-1],this.m_resultstack[this.m_resultstack.length-1]=this.m_resultstack[this.m_resultstack.length-2]))}for(let e=0,n=this.m_resultstack.length;e<n;e++)t.getPointByVal(this.m_resultstack[e],this.m_point),0===e?r.startPathPoint(this.m_point):r.lineToPoint(this.m_point);if(i){for(let t=this.m_resultstack.length;t<3;t++)r.lineToPoint(this.m_point);r.closePathWithLine()}}}findGreatestDistance(t,e,r,n){let s=e-1;e<=t&&(s=r);let i=-1,a=0;const o=new u.P;for(let e=t+1;e<=s;e++){this.m_xy.queryPoint2D(2*e,o);const t=o.x,r=o.y,n=this.m_pline.getClosestCoordinate(o,!1);o.assign(this.m_pline.getCoord2D(n)),o.x-=t,o.y-=r;const s=o.length();s>a&&(i=e,a=s),this.m_callCount++}return n[0]=a,i}}},69397(t,e,r){r.d(e,{Qf:()=>u,Qh:()=>a,RS:()=>s,Ul:()=>f,lM:()=>i,qK:()=>c});var n=r(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let r=l;for(let n=0;n<e;n++)r+=o(t[n]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?a(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,n.iu)(e)?e.byteLength+m:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,m=145,f=64},70328(t,e,r){r.d(e,{BI:()=>v,DC:()=>l,Ej:()=>f,Ie:()=>y,Jt:()=>d,Ne:()=>g,RF:()=>c,aI:()=>M,fA:()=>a,gE:()=>u,hZ:()=>x,iT:()=>m,is:()=>_,qv:()=>C,vI:()=>p,vY:()=>o,v_:()=>P,vt:()=>i,w1:()=>h});var n=r(5443),s=(r(19419),r(4197));function i(t=P){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function a(t,e,r,n,s,a,o=i()){return o[0]=t,o[1]=e,o[2]=r,o[3]=n,o[4]=s,o[5]=a,o}function o(t,e=i()){return function(t,e,r,n=i()){return x(n,C),function(t,e,r=0,n=e.length/3){let s=t[0],i=t[1],a=t[2],o=t[3],u=t[4],h=t[5];for(let t=0;t<n;t++)s=Math.min(s,e[r+3*t]),i=Math.min(i,e[r+3*t+1]),a=Math.min(a,e[r+3*t+2]),o=Math.max(o,e[r+3*t]),u=Math.max(u,e[r+3*t+1]),h=Math.max(h,e[r+3*t+2]);t[0]=s,t[1]=i,t[2]=a,t[3]=o,t[4]=u,t[5]=h}(n,t,e,r),n}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[r,n,i,a,o,u]=t;return e[0]=r,e[1]=n,e[2]=i,e[3]=r,e[4]=n,e[5]=u,e[6]=r,e[7]=o,e[8]=i,e[9]=r,e[10]=o,e[11]=u,e[12]=a,e[13]=n,e[14]=i,e[15]=a,e[16]=n,e[17]=u,e[18]=a,e[19]=o,e[20]=i,e[21]=a,e[22]=o,e[23]=u,e}function h(t,e){const r=isFinite(t[2])||isFinite(t[5]);return new n.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function m(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function f(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,r=t){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function p(t,e,r=t){return r[3]=e[0],r[4]=e[1],r[5]=e[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function x(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function y(t){return t?x(t,C):i(C)}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function v(t,e,r,n,s){return t[0]=e,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=n,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function _(t){return 6===t.length}function M(t,e,r){if(null==t||null==e)return t===e;if(!_(t)||!_(e))return!1;if(r){for(let n=0;n<t.length;n++)if(!r(t[n],e[n]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}const C=[1/0,1/0,1/0,-1/0,-1/0,-1/0],P=[0,0,0,0,0,0];i()},70787(t,e,r){r.d(e,{fz:()=>o,g7:()=>i,zo:()=>a});var n=r(76061);const s=new(r(64523).O);function i(t,e,r){return s.execute(t,e,r,null)}function a(t,e,r){const i=s.executeMany(new n.S(t),e,r,null);return Array.from(i)}function o(){return s.supportsCurves()}},76061(t,e,r){r.d(e,{S:()=>s});var n=r(61691);class s extends n.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>_,fromPolylineUsingImportOperator:()=>M,fromSpatialReference:()=>C,getSpatialReference:()=>g,toExtent:()=>E,toGeometry:()=>P,toMultipoint:()=>w,toPoint:()=>I,toPolygon:()=>k,toPolyline:()=>V});var n=r(83661),s=(r(79187),r(55537)),i=r(95213),a=r(88885),o=r(5443),u=r(48526),h=r(86738),c=r(39829),l=r(82799),m=(r(90293),r(83299));const f="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return _(t);case"polygon":return v(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(f)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(f,e)}return t.getCacheValue(f)}function y(t){if(!t.getCacheValue(f)){const e=new a.M,r=new i.P,n=t.points,s=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,i=n.length;t<i;t++){const i=n[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),s&&r.setM(i[u]??NaN),e.add(r)}t.setCacheValue(f,e)}return t.getCacheValue(f)}function d(t){if(!t.getCacheValue(f)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(f,e)}return t.getCacheValue(f)}function v(t){if(!t.getCacheValue(f)){const{curveRings:e,hasM:r,hasZ:n,rings:s}=t,i=(0,m.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:n,rings:s});t.setCacheValue(f,i)}return t.getCacheValue(f)}function _(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:r,hasZ:n,paths:s}=t,i=(0,m.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:n,paths:s});t.setCacheValue(f,i)}return t.getCacheValue(f)}function M(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:r,hasZ:n,paths:s}=t,i=(0,m.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:n,paths:s});t.setCacheValue(f,i)}return t.getCacheValue(f)}function C(t){return(0,m.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return I(t,e);case s.G.enumEnvelope:return E(t,e);case s.G.enumMultiPoint:return w(t,e);case s.G.enumPolyline:return V(t,e);case s.G.enumPolygon:return k(t,e)}return null}function E(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),n=t.getDescription();if(n.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(n.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(f,t),r}function w(t,e){if(t.isEmpty())return null;const r=t.getDescription(),n=r.hasM(),s=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];s&&r.push(o.getZ()),n&&r.push(o.getM()),a.push(r)}const h=new u.A({hasM:n,hasZ:s,points:a,spatialReference:e});return h.setCacheValue(f,t),h}function I(t,e){if(t instanceof n.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(r.m=t.getM()),s.hasZ()&&(r.z=t.getZ()),r.setCacheValue(f,t),r}function k(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(f,t),r}function V(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(f,t),r}},87992(t,e,r){r.d(e,{JR:()=>w,ME:()=>C,MY:()=>I,NO:()=>M,Nh:()=>E,V2:()=>R,_s:()=>O,e6:()=>b,gh:()=>P,tr:()=>G,uX:()=>x});var n=r(5482),s=r(69397),i=r(16930),a=(r(70328),r(19419)),o=r(60408),u=r(21325),h=r(513),c=r(50954),l=r(79567),m=r(52006),f=r(49663),g=r(46068),p=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:n,vertexZ:s,vertexM:i,partCount:a,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:m,segmentCountBezier:f}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=n,this.vertexZ=s,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=m,this.segmentCountBezier=f}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return null!=this.segmentFlags}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:n,hasM:s,segmentCountArc:i,segmentCountBezier:a}=this,o=R(t,e,r,n,s,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:n,segmentParamCount:s}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(n.subarray(0,s),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return new y(this)}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=A(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new _(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class _{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=A(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],n=e[r++],s=e[r++],i=e[r++];return{b:[this.end,[t,n],[s,i]]}}const n=e[r++],s=e[r++],i=e[r++],a=e[r++],o=e[r++],u=e[r++];r++,r++;const h=e[r++],c=e[r++];if(!Boolean(4&n)&&1===i)return{c:[this.end,[h,c]]};const l=2&n?0:1,m=1&n?0:1;return{a:[this.end,[o,u],l,m,a,s,i]}}}function M(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,n.mS)(r,new k(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:s,vertexZ:i,vertexM:o}=t,u=V(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,n.mS)(r,new k(t,["vertexZ","vertexM"]),!1);const s=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(s,t,r),t=(0,m.yP)(r)}const[i,o,h,c]=s;e={xmin:i,ymin:o,xmax:h,ymax:c,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}else{let t,n,i,a;t=n=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=s[2*e],o=s[2*e+1];t=Math.min(t,r),i=Math.max(i,r),n=Math.min(n,o),a=Math.max(a,o)}e={xmin:t,ymin:n,xmax:i,ymax:a,spatialReference:u}}if(i){let t=1/0,r=-1/0;for(const e of i)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}function C(t){let e,r,n;if((0,o.fT)(t)){n="point";const{x:s,y:i,z:a,m:o}=t,u=[s,i];null!=a&&u.push(a),null!=o&&u.push(o),r=[[u]],e=1}else(0,o.U9)(t)?(n="multipoint",r=[t.points],e=t.points.length):(0,o.Rg)(t)?(n="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(n="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,S(e[0],(0,m.yP)(e.at(-1)))&&--t),t),0));const s=R(n,e,n.includes("point")?0:r.length,(0,o.Pv)(t),(0,o.W0)(t),(0,m.Ed)(t)),{hasZ:i,hasM:a,vertexXY:u,vertexZ:h,vertexM:c}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),a&&(c[g]=t[f]),++g}s.spatialReference=t.spatialReference??void 0;const f=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!a){for(const[t,e]of r[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of r[0])l(t);return s}const p="polygon"===n,{partOffsets:x}=s;let y=0;if(!s.hasCurves()){for(const t of r){if(x[y++]=g,0===t.length)continue;let e=t.length;if(p&&S(t[0],t.at(-1))&&--e,i||a)for(let r=0;r<e;++r)l(t[r]);else for(let r=0;r<e;++r){const[e,n]=t[r];u[2*g]=e,u[2*g+1]=n,++g}}return x[y]=g,s}function d(t){const e=v+t;if(e<=(s.segmentParams?.length??0))return;let r=e*F;r=20*Math.ceil(r/20);const n=s.segmentParams;s.segmentParams=new Float64Array(r),null!=n&&s.segmentParams.set(n)}let v=0;for(const t of r){if(s.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const n=t[e];l(r);const i=g-1;(0,m.wY)(n)?(d(10),++s.segmentCountArc,v=O(r,n,s,i,v),r=n.a[0]):(0,m.DA)(n)?(d(10),++s.segmentCountArc,v=Z(r,n,s,i,v),r=n.a[0]):(0,m.aO)(n)?(d(10),++s.segmentCountArc,v=b(r,n,s,i,v),r=n.c[0]):(0,m.n1)(n)?(d(4),++s.segmentCountBezier,v=G(0,n,s,i,v),r=n.b[0]):r=n}p&&S(e,r)||l(r)}return s.partOffsets[y]=g,s}function P(t){const e=A(t),{vertexCount:r,partCount:n,hasZ:s,hasM:i}=t,a=V(t);if("point"===t.type){const[e,r]=t.vertexXY,n=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:r,z:n,m:s,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let s=0;s<n;++s){const n=t.partOffsets[s+1],i=new Array;for(;o<n;)i.push(e(o++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:s,hasM:i,spatialReference:a}:{paths:r,hasZ:s,hasM:i,spatialReference:a}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:a}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:a}}function E(t,{lengths:e,coords:r,hasZ:n,hasM:s},i){const a=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);n??=!1,s??=!1;const h=R(t,u,a,n,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],n&&(h.vertexZ[t]=r[e++]),s&&(h.vertexM[t]=r[e++]);return h}const c=2+Number(n)+Number(s);let l=0,m=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[m],i=e+t-Number(o);h.partOffsets[++m]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[l++],h.vertexXY[2*t+1]=r[l++],n&&(h.vertexZ[t]=r[l++]),s&&(h.vertexM[t]=r[l++]);o&&(l+=c)}return h}function w({type:t,vertexCount:e,vertexXY:r,vertexZ:n,vertexM:s,partCount:i,partOffsets:a,hasZ:o,hasM:u}){const h=new p.A([],[],o,u);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,m=h.coords.length;for(let t=l;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(n[t]),u&&h.coords.push(s[t]);if(c){const t=l;h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(n[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-m)/h.stride),l=i}return"point"===t&&(h.lengths.length=0),h}function I(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let n=t.getLatestID();(n<=0||n===r)&&(n=void 0);const s=t.getVCS();if(null==s)return{wkid:r,latestWkid:n,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:n,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class k{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function V({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function A({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?n=>[t[2*n],t[2*n+1],e[n],r[n]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function S(t,e){return t.every((t,r)=>t===e[r])}function R(t,e,r,n,s,i,a,o){a??=0,o??=0;const u=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,n&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(N),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,r+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,r+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function O(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,a){r[i]=4,n[i]=a;const[o,[u,h],c,l,m,f,p]=e.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,g.SW)(t,e),[d,v]=(0,g.Uk)(y,.5);return s[a++]=x,s[a++]=f,s[a++]=p,s[a++]=m,s[a++]=u,s[a++]=h,s[a++]=y.u2-y.u1,s[a++]=y.u1,s[a++]=d,s[a++]=v,a}function Z(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,a){r[i]=4,n[i]=a;const o=(0,f.i)(t,e);return Y(o,4,...(0,h.mq)(o,.5),s,a)}function b(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,a){return r[i]=4,n[i]=a,Y((0,c.pM)(t,e),0,...e.c[1],s,a)}function Y(t,e,r,n,s,i){const{cx:a,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=c,s[i++]=1,s[i++]=0,s[i++]=a,s[i++]=o,s[i++]=h-u,s[i++]=u,s[i++]=r,s[i++]=n,i}function G(t,{b:[e,[r,n],[s,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:u},h,c){return a[h]=2,o[h]=c,u[c++]=r,u[c++]=n,u[c++]=s,u[c++]=i,c}const F=1.61803,N=-1},92523(t,e,r){r.d(e,{e:()=>o,g:()=>h});var n=r(4576),s=r(86211),i=r(70787),a=r(78125);function o(t,e,r={}){const{removeDegenerateParts:n=!1,unit:o}=r,u=(0,a.getSpatialReference)(t);return o&&(e=(0,s.UW)(e,o,u)),(0,a.toGeometry)((0,i.g7)((0,a.fromGeometry)(t),e,n),u)}const u=(0,i.fz)(),h=Object.freeze(Object.defineProperty({__proto__:null,execute:o,executeMany:function(t,e,r={}){const{removeDegenerateParts:o=!1,unit:u}=r,h=t.map(a.fromGeometry),c=(0,a.getSpatialReference)(t);return u&&(e=(0,s.UW)(e,u,c)),(0,i.zo)(h,e,o).map(t=>(0,a.toGeometry)(t,c)).filter(n.Ru)},supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},92722(t,e,r){r.d(e,{A:()=>s});var n=r(69397);class s{constructor(t=[],e=[],r=!1,n=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=n}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:n}){return new s(t,e,r||!1,n||!1)}static fromRect([t,e,r,n]){const i=r-t,a=n-e;return new s([5],[t,e,i,0,0,a,-i,0,0,-a])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,n.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const r of this.lengths){if(r<3)continue;const{stride:n}=this;let s=this.coords[n*e],i=this.coords[n*e+1];for(let a=1;a<r;a+=1){const r=n*(e+a),o=this.coords[r],u=this.coords[r+1];t+=-.5*(o-s)*(u+i),s=o,i=u}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const n of this.lengths){for(let s=0;s<n;s++){const n=r*(e+s);t(this.coords[n],this.coords[n+1])}e+=n}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let n=0;const{stride:s}=this;for(const t of r){for(let r=1;r<t;r++){const t=s*(n+r);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}n+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:n}=this,i=this.coords.slice(0,n*r);return t?(t.set(i),new s(e,t)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,n=0;e<r.length;e+=t)r[n++]=this.coords[e],r[n++]=this.coords[e+1];return new s(this.lengths,r,!1,!1)}}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,6061,6276,6312,7992,8125,9169,9397],{4197(t,e,r){r.d(e,{Vj:()=>h,cj:()=>u,jh:()=>i,l5:()=>o,xm:()=>a});var n=r(34275),s=r(9093);function i(t){return t<=n.y9?new Array(t).fill(0):new Float64Array(t)}function a(t){return((0,n.iu)(t)?t.byteLength/8:t.length)<=n.y9?Array.from(t):new Float64Array(t)}function o(t,e,r){return Array.isArray(t)?t.slice(e,e+r):t.subarray(e,e+r)}function u(t){return[...t]}function h(t){const e=(0,s.vt)();for(let r=0;r<16;++r)e[r]=t[r];return e}},9093(t,e,r){function n(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}r.d(e,{o8:()=>s,vt:()=>n,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:n,fromValues:function(t,e,r,n,s,i,a,o,u,h,c,l,m,f,g,p){return[t,e,r,n,s,i,a,o,u,h,c,l,m,f,g,p]}},Symbol.toStringTag,{value:"Module"}))},60591(t,e,r){r.d(e,{execute:()=>n.e}),r(4576),r(86211),r(70787),r(78125);var n=r(92523)},61691(t,e,r){r.d(e,{G:()=>n});class n{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},64523(t,e,r){r.d(e,{O:()=>c});var n=r(5482),s=r(61691),i=r(55537),a=r(88885),o=r(95213),u=r(83661),h=r(5247);class c{getOperatorType(){return 10204}supportsCurves(){return!0}accelerateGeometry(t,e,r){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,r,n){return new l(t,e,r,n)}execute(t,e,r,n){return t||(0,i.a)("null param is not allowed."),new l(null,e,r,n).generalize(t)}}class l extends s.G{constructor(t,e,r,n){super(),this.m_pline=null,this.m_point=new o.P,this.m_stack=[],this.m_resultstack=[],this.m_callCount=0,this.m_progressTracker=n,this.m_geoms=t,this.m_maxDeviation=e,this.m_bRemoveDegenerateParts=r}tock(){return!0}getRank(){return 1}next(){const t=this.m_geoms.next();return null===t?null:((0,i.c)(t),this.generalize(t))}getGeometryID(){return this.m_geoms.getGeometryID()}generalize(t){const e=t.getGeometryType();if((0,i.e)(e))return t;if(e===i.G.enumEnvelope){const e=new a.P({vd:t.getDescription()});return e.addEnvelope(t,!1),this.generalize(e)}if((0,i.f)(e)){const e=new a.a({vd:t.getDescription()});return e.addSegment(t,!0),this.generalize(e)}if((0,i.h)(e)||(0,i.t)(""),t.isEmpty()||this.m_maxDeviation<=0)return t;const r=(new h.O).execute(t,0,.05*this.m_maxDeviation,0,this.m_progressTracker);t.hasNonLinearSegments()&&(this.m_maxDeviation*=.95);const s=r,o=t.createInstance();o.getGeometryType()===i.G.enumPolygon&&o.setFillRule(t.getFillRule()),this.m_xy=s.getAttributeStreamRef(0);{const t={stack:[],error:void 0,hasError:!1};try{const e=new a.L;this.m_pline=e,(0,n.mS)(t,(0,u.h)(()=>{this.m_pline=null},!1),!1);for(let t=0,e=s.getPathCount();t<e;t++)this.generalizePath(s.getImpl(),t,o.getImpl())}catch(e){t.error=e,t.hasError=!0}finally{(0,n.hk)(t)}}return this.m_resultstack.length=0,this.m_stack.length=0,o}generalizePath(t,e,r){if(t.getPathSize(e)<2)return;this.m_resultstack.length=0,this.m_stack.length=0;const n=t.getPathStart(e),s=t.getPathEnd(e)-1,i=t.isClosedPath(e),a=t.isClosedPathInXYPlane(e);let o=0,h=-1;this.m_stack.push(i?n:s),this.m_stack.push(n);let c=!1,l=!1;for(!this.m_bRemoveDegenerateParts&&a&&(c=!0,l=!0);this.m_stack.length>1;){const e=this.m_stack.at(-1);this.m_stack.pop();const r=this.m_stack.at(-1);let n=t.getXY(e);this.m_pline.setStartXY(n),n=t.getXY(r),this.m_pline.setEndXY(n);const i=[Number.NaN];let a=this.findGreatestDistance(e,r,s,i);a>=0&&(c?c=!1:(l&&i[0]>o&&(o=i[0],h=a),i[0]<=this.m_maxDeviation&&(a=-1))),a>=0?(this.m_stack.push(a),this.m_stack.push(e)):this.m_resultstack.push(e)}i||this.m_resultstack.push(this.m_stack[0]);const m=this.m_resultstack.length;if(m===t.getPathSize(e)&&m===this.m_stack.length)r.addPath(t,e,!0);else if(this.m_resultstack.length>0){if(this.m_bRemoveDegenerateParts&&this.m_resultstack.length<=2){if(i||1===this.m_resultstack.length)return;if(u.P.distance(t.getXY(this.m_resultstack[0]),t.getXY(this.m_resultstack[1]))<=this.m_maxDeviation)return}if(l&&h>=0&&o<=this.m_maxDeviation){const t=this.m_resultstack.at(-1)>h;this.m_resultstack.push(h),t&&(this.m_resultstack[this.m_resultstack.length-2]=(0,u.c)(this.m_resultstack[this.m_resultstack.length-1],this.m_resultstack[this.m_resultstack.length-1]=this.m_resultstack[this.m_resultstack.length-2]))}for(let e=0,n=this.m_resultstack.length;e<n;e++)t.getPointByVal(this.m_resultstack[e],this.m_point),0===e?r.startPathPoint(this.m_point):r.lineToPoint(this.m_point);if(i){for(let t=this.m_resultstack.length;t<3;t++)r.lineToPoint(this.m_point);r.closePathWithLine()}}}findGreatestDistance(t,e,r,n){let s=e-1;e<=t&&(s=r);let i=-1,a=0;const o=new u.P;for(let e=t+1;e<=s;e++){this.m_xy.queryPoint2D(2*e,o);const t=o.x,r=o.y,n=this.m_pline.getClosestCoordinate(o,!1);o.assign(this.m_pline.getCoord2D(n)),o.x-=t,o.y-=r;const s=o.length();s>a&&(i=e,a=s),this.m_callCount++}return n[0]=a,i}}},69397(t,e,r){r.d(e,{Qf:()=>u,Qh:()=>a,RS:()=>s,Ul:()=>f,lM:()=>i,qK:()=>c});var n=r(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r],!1));return e}function a(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let r=l;for(let n=0;n<e;n++)r+=o(t[n]);return r}(t);let e=c;for(const r in t)t.hasOwnProperty(r)&&(e+=o(t[r]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?a(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,n.iu)(e)?e.byteLength+m:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,m=145,f=64},70328(t,e,r){r.d(e,{BI:()=>v,DC:()=>l,Ej:()=>f,Ie:()=>y,Jt:()=>d,Ne:()=>g,RF:()=>c,aI:()=>M,fA:()=>a,gE:()=>u,hZ:()=>x,iT:()=>m,is:()=>_,qv:()=>C,vI:()=>p,vY:()=>o,v_:()=>P,vt:()=>i,w1:()=>h});var n=r(5443),s=(r(19419),r(4197));function i(t=P){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function a(t,e,r,n,s,a,o=i()){return o[0]=t,o[1]=e,o[2]=r,o[3]=n,o[4]=s,o[5]=a,o}function o(t,e=i()){return function(t,e,r,n=i()){return x(n,C),function(t,e,r=0,n=e.length/3){let s=t[0],i=t[1],a=t[2],o=t[3],u=t[4],h=t[5];for(let t=0;t<n;t++)s=Math.min(s,e[r+3*t]),i=Math.min(i,e[r+3*t+1]),a=Math.min(a,e[r+3*t+2]),o=Math.max(o,e[r+3*t]),u=Math.max(u,e[r+3*t+1]),h=Math.max(h,e[r+3*t+2]);t[0]=s,t[1]=i,t[2]=a,t[3]=o,t[4]=u,t[5]=h}(n,t,e,r),n}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[r,n,i,a,o,u]=t;return e[0]=r,e[1]=n,e[2]=i,e[3]=r,e[4]=n,e[5]=u,e[6]=r,e[7]=o,e[8]=i,e[9]=r,e[10]=o,e[11]=u,e[12]=a,e[13]=n,e[14]=i,e[15]=a,e[16]=n,e[17]=u,e[18]=a,e[19]=o,e[20]=i,e[21]=a,e[22]=o,e[23]=u,e}function h(t,e){const r=isFinite(t[2])||isFinite(t[5]);return new n.A(r?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function m(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function f(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,r=t){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r!==t&&(r[3]=t[3],r[4]=t[4],r[5]=t[5]),r}function p(t,e,r=t){return r[3]=e[0],r[4]=e[1],r[5]=e[2],r!==t&&(r[0]=t[0],r[1]=t[1],r[2]=t[2]),t}function x(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function y(t){return t?x(t,C):i(C)}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function v(t,e,r,n,s){return t[0]=e,t[1]=r,t[2]=Number.NEGATIVE_INFINITY,t[3]=n,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function _(t){return 6===t.length}function M(t,e,r){if(null==t||null==e)return t===e;if(!_(t)||!_(e))return!1;if(r){for(let n=0;n<t.length;n++)if(!r(t[n],e[n]))return!1}else for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}const C=[1/0,1/0,1/0,-1/0,-1/0,-1/0],P=[0,0,0,0,0,0];i()},70787(t,e,r){r.d(e,{fz:()=>o,g7:()=>i,zo:()=>a});var n=r(76061);const s=new(r(64523).O);function i(t,e,r){return s.execute(t,e,r,null)}function a(t,e,r){const i=s.executeMany(new n.S(t),e,r,null);return Array.from(i)}function o(){return s.supportsCurves()}},76061(t,e,r){r.d(e,{S:()=>s});var n=r(61691);class s extends n.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125(t,e,r){r.r(e),r.d(e,{fromExtent:()=>x,fromGeometry:()=>p,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>v,fromPolyline:()=>_,fromPolylineUsingImportOperator:()=>M,fromSpatialReference:()=>C,getSpatialReference:()=>g,toExtent:()=>E,toGeometry:()=>P,toMultipoint:()=>w,toPoint:()=>I,toPolygon:()=>k,toPolyline:()=>V});var n=r(83661),s=(r(79187),r(55537)),i=r(95213),a=r(88885),o=r(5443),u=r(48526),h=r(86738),c=r(39829),l=r(82799),m=(r(90293),r(83299));const f="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function p(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return _(t);case"polygon":return v(t);case"extent":return x(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function x(t){if(!t.getCacheValue(f)){const e=new i.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(f,e)}return t.getCacheValue(f)}function y(t){if(!t.getCacheValue(f)){const e=new a.M,r=new i.P,n=t.points,s=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,i=n.length;t<i;t++){const i=n[t];r.setXYCoords(i[0],i[1]),o&&r.setZ(i[2]??0),s&&r.setM(i[u]??NaN),e.add(r)}t.setCacheValue(f,e)}return t.getCacheValue(f)}function d(t){if(!t.getCacheValue(f)){const e=new i.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(f,e)}return t.getCacheValue(f)}function v(t){if(!t.getCacheValue(f)){const{curveRings:e,hasM:r,hasZ:n,rings:s}=t,i=(0,m.fromGeometryToGXGeometry)({curveRings:e,hasM:r,hasZ:n,rings:s});t.setCacheValue(f,i)}return t.getCacheValue(f)}function _(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:r,hasZ:n,paths:s}=t,i=(0,m.fromGeometryToGXGeometry)({curvePaths:e,hasM:r,hasZ:n,paths:s});t.setCacheValue(f,i)}return t.getCacheValue(f)}function M(t){if(!t.getCacheValue(f)){const{curvePaths:e,hasM:r,hasZ:n,paths:s}=t,i=(0,m.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:r,hasZ:n,paths:s});t.setCacheValue(f,i)}return t.getCacheValue(f)}function C(t){return(0,m.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return I(t,e);case s.G.enumEnvelope:return E(t,e);case s.G.enumMultiPoint:return w(t,e);case s.G.enumPolyline:return V(t,e);case s.G.enumPolygon:return k(t,e)}return null}function E(t,e){if(t.isEmpty())return null;const r=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),n=t.getDescription();if(n.hasM()){const e=t.queryInterval(2,0);r.mmin=e.vmin,r.mmax=e.vmax}if(n.hasZ()){const e=t.queryInterval(1,0);r.zmin=e.vmin,r.zmax=e.vmax}return r.setCacheValue(f,t),r}function w(t,e){if(t.isEmpty())return null;const r=t.getDescription(),n=r.hasM(),s=r.hasZ(),a=[],o=new i.P;for(let e=0,r=t.getPointCount();e<r;e++){t.getPointByVal(e,o);const r=[o.getX(),o.getY()];s&&r.push(o.getZ()),n&&r.push(o.getM()),a.push(r)}const h=new u.A({hasM:n,hasZ:s,points:a,spatialReference:e});return h.setCacheValue(f,t),h}function I(t,e){if(t instanceof n.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const r=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(r.m=t.getM()),s.hasZ()&&(r.z=t.getZ()),r.setCacheValue(f,t),r}function k(t,e){if(t.isEmpty())return null;const r=c.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(f,t),r}function V(t,e){if(t.isEmpty())return null;const r=l.A.fromJSON({...(0,m.toGeometry)(t,null),spatialReference:e});return r.setCacheValue(f,t),r}},87992(t,e,r){r.d(e,{JR:()=>w,ME:()=>C,MY:()=>I,NO:()=>M,Nh:()=>E,V2:()=>R,_s:()=>O,e6:()=>b,gh:()=>P,tr:()=>G,uX:()=>x});var n=r(5482),s=r(69397),i=r(16930),a=(r(70328),r(19419)),o=r(60408),u=r(21325),h=r(513),c=r(50954),l=r(79567),m=r(52006),f=r(49663),g=r(46068),p=r(92722);class x{constructor({type:t,spatialReference:e,vertexCount:r,vertexXY:n,vertexZ:s,vertexM:i,partCount:a,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:m,segmentCountBezier:f}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=r,this.vertexXY=n,this.vertexZ=s,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=m,this.segmentCountBezier=f}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:r}=this;return t&&t-e-r}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return null!=this.segmentFlags}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:r,hasZ:n,hasM:s,segmentCountArc:i,segmentCountBezier:a}=this,o=R(t,e,r,n,s,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,r+1)),o.partOffsets.set(t.subarray(0,r+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:r,segmentParams:n,segmentParamCount:s}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(r.subarray(0,e),0),o.segmentParams.set(n.subarray(0,s),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const r=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,r)=>Math.abs(t-r)>e||isNaN(t)!==isNaN(r);for(let e=0;e<this.vertexCount;++e)if(r(this.vertexXY[2*e],t.vertexXY[2*e])||r(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(r(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(r(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return new y(this)}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=A(t),this._segments=new v(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class v{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new _(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class _{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=A(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let r=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[r++],n=e[r++],s=e[r++],i=e[r++];return{b:[this.end,[t,n],[s,i]]}}const n=e[r++],s=e[r++],i=e[r++],a=e[r++],o=e[r++],u=e[r++];r++,r++;const h=e[r++],c=e[r++];if(!Boolean(4&n)&&1===i)return{c:[this.end,[h,c]]};const l=2&n?0:1,m=1&n?0:1;return{a:[this.end,[o,u],l,m,a,s,i]}}}function M(t,e){const r={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,n.mS)(r,new k(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:r,vertexXY:s,vertexZ:i,vertexM:o}=t,u=V(t);if(t.hasCurves()){const r={stack:[],error:void 0,hasError:!1};try{(0,n.mS)(r,new k(t,["vertexZ","vertexM"]),!1);const s=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:r}of e.segments)(0,l.e)(s,t,r),t=(0,m.yP)(r)}const[i,o,h,c]=s;e={xmin:i,ymin:o,xmax:h,ymax:c,spatialReference:u}}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}else{let t,n,i,a;t=n=1/0,i=a=-1/0;for(let e=0;e<r;++e){const r=s[2*e],o=s[2*e+1];t=Math.min(t,r),i=Math.max(i,r),n=Math.min(n,o),a=Math.max(a,o)}e={xmin:t,ymin:n,xmax:i,ymax:a,spatialReference:u}}if(i){let t=1/0,r=-1/0;for(const e of i)t=Math.min(t,e),r=Math.max(r,e);e.zmin=t,e.zmax=r}if(o){let t=1/0,r=-1/0;for(const e of o)t=Math.min(t,e),r=Math.max(r,e);e.mmin=t,e.mmax=r}return e}(t)),e}catch(t){r.error=t,r.hasError=!0}finally{(0,n.hk)(r)}}function C(t){let e,r,n;if((0,o.fT)(t)){n="point";const{x:s,y:i,z:a,m:o}=t,u=[s,i];null!=a&&u.push(a),null!=o&&u.push(o),r=[[u]],e=1}else(0,o.U9)(t)?(n="multipoint",r=[t.points],e=t.points.length):(0,o.Rg)(t)?(n="polyline",r=t.curvePaths??t.paths,e=r.reduce((t,e)=>t+e.length,0)):(n="polygon",r=t.curveRings??t.rings,e=r.reduce((t,e)=>(0===e.length||(t+=e.length,S(e[0],(0,m.yP)(e.at(-1)))&&--t),t),0));const s=R(n,e,n.includes("point")?0:r.length,(0,o.Pv)(t),(0,o.W0)(t),(0,m.Ed)(t)),{hasZ:i,hasM:a,vertexXY:u,vertexZ:h,vertexM:c}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),a&&(c[g]=t[f]),++g}s.spatialReference=t.spatialReference??void 0;const f=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!a){for(const[t,e]of r[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of r[0])l(t);return s}const p="polygon"===n,{partOffsets:x}=s;let y=0;if(!s.hasCurves()){for(const t of r){if(x[y++]=g,0===t.length)continue;let e=t.length;if(p&&S(t[0],t.at(-1))&&--e,i||a)for(let r=0;r<e;++r)l(t[r]);else for(let r=0;r<e;++r){const[e,n]=t[r];u[2*g]=e,u[2*g+1]=n,++g}}return x[y]=g,s}function d(t){const e=v+t;if(e<=(s.segmentParams?.length??0))return;let r=e*F;r=20*Math.ceil(r/20);const n=s.segmentParams;s.segmentParams=new Float64Array(r),null!=n&&s.segmentParams.set(n)}let v=0;for(const t of r){if(s.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let r=e;for(let e=1;e<t.length;++e){const n=t[e];l(r);const i=g-1;(0,m.wY)(n)?(d(10),++s.segmentCountArc,v=O(r,n,s,i,v),r=n.a[0]):(0,m.DA)(n)?(d(10),++s.segmentCountArc,v=Z(r,n,s,i,v),r=n.a[0]):(0,m.aO)(n)?(d(10),++s.segmentCountArc,v=b(r,n,s,i,v),r=n.c[0]):(0,m.n1)(n)?(d(4),++s.segmentCountBezier,v=G(0,n,s,i,v),r=n.b[0]):r=n}p&&S(e,r)||l(r)}return s.partOffsets[y]=g,s}function P(t){const e=A(t),{vertexCount:r,partCount:n,hasZ:s,hasM:i}=t,a=V(t);if("point"===t.type){const[e,r]=t.vertexXY,n=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:r,z:n,m:s,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<r;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const r=new Array;for(let s=0;s<n;++s){const n=t.partOffsets[s+1],i=new Array;for(;o<n;)i.push(e(o++));u&&i.length>0&&i.push(i[0]),r.push(i)}return u?{rings:r,hasZ:s,hasM:i,spatialReference:a}:{paths:r,hasZ:s,hasM:i,spatialReference:a}}const h=new Array;for(const{segments:e,startVertex:r}of t.parts){const t=[r];for(const{curve:r}of e)t.push(r);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:a}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:a}}function E(t,{lengths:e,coords:r,hasZ:n,hasM:s},i){const a=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);n??=!1,s??=!1;const h=R(t,u,a,n,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=r[e++],h.vertexXY[2*t+1]=r[e++],n&&(h.vertexZ[t]=r[e++]),s&&(h.vertexM[t]=r[e++]);return h}const c=2+Number(n)+Number(s);let l=0,m=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[m],i=e+t-Number(o);h.partOffsets[++m]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=r[l++],h.vertexXY[2*t+1]=r[l++],n&&(h.vertexZ[t]=r[l++]),s&&(h.vertexM[t]=r[l++]);o&&(l+=c)}return h}function w({type:t,vertexCount:e,vertexXY:r,vertexZ:n,vertexM:s,partCount:i,partOffsets:a,hasZ:o,hasM:u}){const h=new p.A([],[],o,u);i=Math.max(i,1);const c="polygon"===t;let l=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,m=h.coords.length;for(let t=l;t<i;++t)h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(n[t]),u&&h.coords.push(s[t]);if(c){const t=l;h.coords.push(r[2*t],r[2*t+1]),o&&h.coords.push(n[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-m)/h.stride),l=i}return"point"===t&&(h.lengths.length=0),h}function I(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,r=t.isCustomWkid()?0:t.getOldID();if(r<=0)return{wkt:e};let n=t.getLatestID();(n<=0||n===r)&&(n=void 0);const s=t.getVCS();if(null==s)return{wkid:r,latestWkid:n,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:r,wkt:e,latestWkid:n,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class k{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const r of e)t[r]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function V({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function A({vertexXY:t,vertexZ:e,vertexM:r}){return e?r?n=>[t[2*n],t[2*n+1],e[n],r[n]]:r=>[t[2*r],t[2*r+1],e[r]]:r?e=>[t[2*e],t[2*e+1],r[e]]:e=>[t[2*e],t[2*e+1]]}function S(t,e){return t.every((t,r)=>t===e[r])}function R(t,e,r,n,s,i,a,o){a??=0,o??=0;const u=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:r,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let h=2*Float64Array.BYTES_PER_ELEMENT*e;n&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(r+1)*Int32Array.BYTES_PER_ELEMENT,h+=(r+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,n&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(N),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,r+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,r+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,r).fill(1)),i&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function O(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,a){r[i]=4,n[i]=a;const[o,[u,h],c,l,m,f,p]=e.a;let x=4;l||(x|=1),c||(x|=2);const y=(0,g.SW)(t,e),[d,v]=(0,g.Uk)(y,.5);return s[a++]=x,s[a++]=f,s[a++]=p,s[a++]=m,s[a++]=u,s[a++]=h,s[a++]=y.u2-y.u1,s[a++]=y.u1,s[a++]=d,s[a++]=v,a}function Z(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,a){r[i]=4,n[i]=a;const o=(0,f.i)(t,e);return Y(o,4,...(0,h.mq)(o,.5),s,a)}function b(t,e,{segmentFlags:r,segmentIndices:n,segmentParams:s},i,a){return r[i]=4,n[i]=a,Y((0,c.pM)(t,e),0,...e.c[1],s,a)}function Y(t,e,r,n,s,i){const{cx:a,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=c,s[i++]=1,s[i++]=0,s[i++]=a,s[i++]=o,s[i++]=h-u,s[i++]=u,s[i++]=r,s[i++]=n,i}function G(t,{b:[e,[r,n],[s,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:u},h,c){return a[h]=2,o[h]=c,u[c++]=r,u[c++]=n,u[c++]=s,u[c++]=i,c}const F=1.61803,N=-1},92523(t,e,r){r.d(e,{e:()=>o,g:()=>h});var n=r(4576),s=r(86211),i=r(70787),a=r(78125);function o(t,e,r={}){const{removeDegenerateParts:n=!1,unit:o}=r,u=(0,a.getSpatialReference)(t);return o&&(e=(0,s.UW)(e,o,u)),(0,a.toGeometry)((0,i.g7)((0,a.fromGeometry)(t),e,n),u)}const u=(0,i.fz)(),h=Object.freeze(Object.defineProperty({__proto__:null,execute:o,executeMany:function(t,e,r={}){const{removeDegenerateParts:o=!1,unit:u}=r,h=t.map(a.fromGeometry),c=(0,a.getSpatialReference)(t);return u&&(e=(0,s.UW)(e,u,c)),(0,i.zo)(h,e,o).map(t=>(0,a.toGeometry)(t,c)).filter(n.Ru)},supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},92722(t,e,r){r.d(e,{A:()=>s});var n=r(69397);class s{constructor(t=[],e=[],r=!1,n=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=r,this.hasM=n}static fromJSON({lengths:t,coords:e,hasZ:r,hasM:n}){return new s(t,e,r||!1,n||!1)}static fromRect([t,e,r,n]){const i=r-t,a=n-e;return new s([5],[t,e,i,0,0,a,-i,0,0,-a])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,n.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const r of this.lengths){if(r<3)continue;const{stride:n}=this;let s=this.coords[n*e],i=this.coords[n*e+1];for(let a=1;a<r;a+=1){const r=n*(e+a),o=this.coords[r],u=this.coords[r+1];t+=-.5*(o-s)*(u+i),s=o,i=u}e+=r}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:r}=this;for(const n of this.lengths){for(let s=0;s<n;s++){const n=r*(e+s);t(this.coords[n],this.coords[n+1])}e+=n}}deltaDecode(){const t=this.clone(),{coords:e,lengths:r}=t;let n=0;const{stride:s}=this;for(const t of r){for(let r=1;r<t;r++){const t=s*(n+r);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}n+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:r,size:n}=this,i=this.coords.slice(0,n*r);return t?(t.set(i),new s(e,t)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const r=new Array(e*t);for(let e=0,n=0;e<r.length;e+=t)r[n++]=this.coords[e],r[n++]=this.coords[e+1];return new s(this.lengths,r,!1,!1)}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3354,5845],{159(t,e,n){n.d(e,{A:()=>l});var r,o=n(5482),i=n(69622),s=n(91429),a=n(99157);let l=r=class extends i.A{constructor(t){super(t),this.steps=[]}getInverse(){const t=new r;for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}};(0,o.Cg)([(0,s.MZ)({type:[a.A],nonNullable:!0})],l.prototype,"steps",void 0),l=r=(0,o.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},5482(t,e,n){function r(t,e,n,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function o(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>s,mS:()=>o}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function s(t){function e(e){t.error=t.hasError?new i(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function o(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(o);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(o,function(t){return e(t),o()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>o,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:o,create:r,fromValues:function(t,e,n,r,o,i,s,a,l,u,c,f,h,p,d,m){return[t,e,n,r,o,i,s,a,l,u,c,f,h,p,d,m]}},Symbol.toStringTag,{value:"Module"}))},9762(t,e,n){n.r(e),n.d(e,{projectBuffer:()=>o});var r=n(49208);function o(t,e,n,o,i,s,a=Math.floor(t.length/3)){const l=(0,r.jd)(e,i);if(null==l)return!1;if(l===r.pO){if(t===o&&n===s)return!0;const e=n+3*a;for(let r=n,i=s;r<e;r++,i++)o[i]=t[r]??0;return!0}const u=n+3*a;for(let e=n,r=s;e<u;e+=3,r+=3)l(t,e,o,r);return!0}},11006(t,e,n){function r(t,e,n,r,i){o(t,e,n||0,r||t.length-1,i||s)}function o(t,e,n,r,s){for(;r>n;){if(r-n>600){var a=r-n+1,l=e-n+1,u=Math.log(a),c=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*c*(a-c)/a)*(l-a/2<0?-1:1);o(t,e,Math.max(n,Math.floor(e-l*c/a+f)),Math.min(r,Math.floor(e+(a-l)*c/a+f)),s)}var h=t[e],p=n,d=r;for(i(t,n,e),s(t[r],h)>0&&i(t,n,r);p<d;){for(i(t,p,d),p++,d--;s(t[p],h)<0;)p++;for(;s(t[d],h)>0;)d--}0===s(t[n],h)?i(t,n,d):i(t,++d,r),d<=e&&(n=d+1),e<=d&&(r=d-1)}}function i(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function s(t,e){return t<e?-1:t>e?1:0}n.d(e,{q:()=>r})},18251(t,e,n){n.r(e),n.d(e,{default:()=>u});var r=n(5482),o=n(69540),i=n(25482),s=n(91429),a=n(51850),l=n(93223);let u=class extends((0,o.OU)(i.o)){constructor(t){super(t),this.type="local",this.origin=(0,a.vt)()}};(0,r.Cg)([(0,l.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,s.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,s.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},21276(t,e,n){n.d(e,{H:()=>i,f:()=>o});var r=n(49186);function o(t){if(t&&"object"==typeof t&&"type"in t&&"mesh"===t.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function i(t){t.forEach(o)}},22141(t,e,n){n.d(e,{$5:()=>A,CN:()=>x,JP:()=>M,KM:()=>R,Mv:()=>j,X4:()=>w,gr:()=>b,qs:()=>_,si:()=>v,xA:()=>S});var r=n(34727),o=n(77690),i=n(29242),s=n(58083),a=n(9093),l=n(35522),u=n(51850),c=n(73941),f=n(48353),h=n(9762),p=(n(79258),n(21325)),d=n(28735),m=n(13030),g=n(73354),y=n(65686);const M="Projection may be possible after calling projection.load().";function x(t,e,n,r){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${n.wkid}).${r?" ":""}${r}`)}function w(t,e,n,r,o,i){return k(0,m.xs.fromTypedArray(t),0,m.Xm.fromTypedArray(e),n,m.Xm.fromTypedArray(r),o,m.xs.fromTypedArray(i))?i:null}function v(t,e,n,r,o,i){return k(1,m.xs.fromTypedArray(t),0,m.Xm.fromTypedArray(e),n,m.Xm.fromTypedArray(r),o,m.xs.fromTypedArray(i))?i:null}function b(t,e,n,r){return(0,h.projectBuffer)(t,e,0,n,r,0)?n:null}function A(t,e,n,r){return(0,h.projectBuffer)(t,e,0,n,r,0)?n:null}function _(t,e,n){return(0,o.Ge)(I,n),(0,g.b)(e,t,I),(0,r.or)(I)&&(0,g.n)(e,e),e}function R(t,e,n){return(0,o.z0)(I,n),(0,y.t)(e,t,I),(0,r.or)(I)&&(0,g.n)(e,e,4),e}function S(t,e,n,r,o,i){if(!k(0,m.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,m.Xm.fromTypedArray(e),n,m.Xm.fromTypedArray(r),o,m.xs.fromTypedArray(i,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function j(t,e,n,r,o,i){if(!k(1,m.xs.fromTypedArray(t,16),1,m.Xm.fromTypedArray(e),n,m.Xm.fromTypedArray(r),o,m.xs.fromTypedArray(i,16)))return null;for(let e=3;e<t.length;e+=4)i[e]=t[e];return i}function B(t,e,n,r,i){switch((0,f.l)(r,n,T,r),1===t&&(0,s.B8)(T,T),e){case 0:return(0,o.Ge)(i,T);case 1:return(0,o.z0)(i,T)}}function k(t,e,n,r,o,i,s,a){if(!e)return;const u=r.count;if(function(t){return t.isWGS84||(0,p.x1)(t)||(0,c.q8)(t)||(0,c.KQ)(t)}(o))for(let r=0;r<u;r++)i.getVec(r,C),e.getVec(r,O),(0,l.ei)(O,O,B(t,n,C,s,I)),a.setVec(r,O);else for(let o=0;o<u;o++){i.getVec(o,C),e.getVec(o,O);const u=(0,d.jg)(r.get(o,1));let c=Math.cos(u);1===n!=(0===t)&&(c=1/c),B(t,n,C,s,I),0===t?(I[0]*=c,I[1]*=c,I[2]*=c,I[3]*=c,I[4]*=c,I[5]*=c):(I[0]*=c,I[3]*=c,I[6]*=c,I[1]*=c,I[4]*=c,I[7]*=c),(0,l.ei)(O,O,I),(0,l.S8)(O,O),a.setVec(o,O)}return a}const C=(0,u.vt)(),O=(0,u.vt)(),T=(0,a.vt)(),I=(0,i.vt)()},27615(t,e,n){n.d(e,{CK:()=>l,Hq:()=>a,MW:()=>u,TE:()=>c,yJ:()=>f});var r=n(35522),o=n(86738),i=n(95696),s=n(18251);function a(t){return null!=t.origin}function l(t){return a(t.vertexSpace)}function u(t,e){if(!a(t))return null;const[n,r,i]=t.origin;return new o.A({x:n,y:r,z:i,spatialReference:e})}function c(t,e){const{x:n,y:r,z:o,spatialReference:a}=t,l=[n,r,o??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(a))?new s.default({origin:l}):new i.A({origin:l})}function f(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,r.t2)(t.origin,e.origin))}},28735(t,e,n){n.d(e,{Cv:()=>g,Gh:()=>x,ci:()=>w,je:()=>y,jg:()=>f,tD:()=>M,y7:()=>m,yw:()=>c});var r=n(4718),o=n(21276),i=n(16930),s=n(79258),a=n(21325);function l(t){return 57.29577951308232*t}function u(t){return.017453292519943*t}function c(t){return t/s.$O.radius}function f(t){return Math.PI/2-2*Math.atan(Math.exp(-t/s.$O.radius))}function h(t){return null!=t.wkid||null!=t.wkt}const p=[0,0];function d(t,e,n,r,o){const i=t,s=o;if(s.spatialReference=n,"x"in i&&"x"in s)[s.x,s.y]=e(i.x,i.y,p,r);else if("xmin"in i&&"xmin"in s)[s.xmin,s.ymin]=e(i.xmin,i.ymin,p,r),[s.xmax,s.ymax]=e(i.xmax,i.ymax,p,r);else if("paths"in i&&"paths"in s||"rings"in i&&"rings"in s){const t="paths"in i?i.paths:i.rings,n=[];let o;for(let i=0;i<t.length;i++){const s=t[i];o=[],n.push(o);for(let t=0;t<s.length;t++)o.push(e(s[t][0],s[t][1],[0,0],r)),s[t].length>2&&o[t].push(s[t][2]),s[t].length>3&&o[t].push(s[t][3])}"paths"in s?s.paths=n:s.rings=n}else if("points"in i&&"points"in s){const t=i.points,n=[];for(let o=0;o<t.length;o++)n[o]=e(t[o][0],t[o][1],[0,0],r),t[o].length>2&&n[o].push(t[o][2]),t[o].length>3&&n[o].push(t[o][3]);s.points=n}return o}function m(t,e){const n=t&&(h(t)?t:t.spatialReference),r=e&&(h(e)?e:e.spatialReference);return!(t&&"type"in t&&"mesh"===t.type||e&&"type"in e&&"mesh"===e.type||!n||!r)&&(!!(0,a.aI)(r,n)||(0,a.K8)(r)&&(0,a.oT)(n)||(0,a.K8)(n)&&(0,a.oT)(r))}function g(t,e){if(null==t)return null;const n=t.spatialReference,o=e&&(h(e)?e:e.spatialReference);return m(n,o)?(0,a.aI)(n,o)?(0,r.o8)(t):(0,a.K8)(o)?d(t,y,i.A.WebMercator,!1,(0,r.o8)(t)):(0,a.oT)(o)?d(t,M,i.A.WGS84,!1,(0,r.o8)(t)):null:null}function y(t,e,n=[0,0]){e>89.99999?e=89.99999:e<-89.99999&&(e=-89.99999);const r=u(e);return n[0]=u(t)*s.$O.radius,n[1]=s.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function M(t,e,n=[0,0],r=!1){if(t===a.Mc[0])n[0]=-180;else if(t===a.Mc[1])n[0]=180;else{const e=l(t/s.$O.radius);n[0]=r?e:e-360*Math.floor((e+180)/360)}return n[1]=l(Math.PI/2-2*Math.atan(Math.exp(-e/s.$O.radius))),n}function x(t,e=!1,n=(0,r.o8)(t)){return(0,o.f)(t),(0,o.f)(n),d(t,y,i.A.WebMercator,e,n)}function w(t,e=!1,n=(0,r.o8)(t)){return(0,o.f)(t),(0,o.f)(n),d(t,M,i.A.WGS84,e,n)}},34304(t,e,n){n.d(e,{DF:()=>l,FD:()=>o,Ov:()=>i,ct:()=>u});let r=1e-6;function o(){return r}const i=Math.random,s=Math.PI/180,a=180/Math.PI;function l(t){return t*s}function u(t){return t*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:i,equals:function(t,e){return Math.abs(t-e)<=r*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:o,setEpsilon:function(t){r=t},toDegree:u,toRadian:l},Symbol.toStringTag,{value:"Module"}))},34403(t,e,n){n.d(e,{TP:()=>s});var r=n(79258);Math.PI;const o=r.$O.radius,i=r.$O.eccentricitySquared,s={a1:o*i,a2:o*i*o*i,a3:o*i*i/2,a4:o*i*o*i*2.5,a5:o*i+o*i*i/2,a6:1-i};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},35522(t,e,n){n.d(e,{$A:()=>R,Bw:()=>i,C:()=>s,Cc:()=>S,DI:()=>b,Il:()=>E,Io:()=>M,Ln:()=>y,Om:()=>_,Qr:()=>f,Re:()=>u,S8:()=>A,T9:()=>m,WQ:()=>l,Z0:()=>j,_S:()=>p,aI:()=>I,ei:()=>B,gL:()=>k,hG:()=>x,hZ:()=>a,hs:()=>g,jb:()=>z,jk:()=>d,lo:()=>q,lw:()=>c,m3:()=>w,oW:()=>P,t2:()=>T,tn:()=>h,uE:()=>Z,xg:()=>Y,ze:()=>v});var r=n(51850),o=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function s(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function l(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function h(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function p(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function d(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function m(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function g(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return Math.sqrt(n*n+r*r+o*o)}function x(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return n*n+r*r+o*o}function w(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function v(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function A(t,e){const n=e[0],r=e[1],o=e[2];let i=n*n+r*r+o*o;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function R(t,e,n){const r=e[0],o=e[1],i=e[2],s=n[0],a=n[1],l=n[2];return t[0]=o*l-i*a,t[1]=i*s-r*l,t[2]=r*a-o*s,t}function S(t,e,n,r){const o=e[0],i=e[1],s=e[2];return t[0]=o+r*(n[0]-o),t[1]=i+r*(n[1]-i),t[2]=s+r*(n[2]-s),t}function j(t,e,n){const r=e[0],o=e[1],i=e[2];return t[0]=n[0]*r+n[4]*o+n[8]*i+n[12],t[1]=n[1]*r+n[5]*o+n[9]*i+n[13],t[2]=n[2]*r+n[6]*o+n[10]*i+n[14],t}function B(t,e,n){const r=e[0],o=e[1],i=e[2];return t[0]=r*n[0]+o*n[3]+i*n[6],t[1]=r*n[1]+o*n[4]+i*n[7],t[2]=r*n[2]+o*n[5]+i*n[8],t}function k(t,e,n){const r=n[0],o=n[1],i=n[2],s=n[3],a=e[0],l=e[1],u=e[2],c=o*u-i*l,f=i*a-r*u,h=r*l-o*a,p=o*h-i*f,d=i*c-r*h,m=r*f-o*c,g=2*s;return t[0]=a+c*g+2*p,t[1]=l+f*g+2*d,t[2]=u+h*g+2*m,t}const C=(0,r.vt)(),O=(0,r.vt)();function T(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function I(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],s=e[0],a=e[1],l=e[2],u=(0,o.FD)();return Math.abs(n-s)<=u*Math.max(1,Math.abs(n),Math.abs(s))&&Math.abs(r-a)<=u*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-l)<=u*Math.max(1,Math.abs(i),Math.abs(l))}function P(t,e,n){const r=n[0]-e[0],o=n[1]-e[1],i=n[2]-e[2];let s=r*r+o*o+i*i;return s>0?(s=1/Math.sqrt(s),t[0]=r*s,t[1]=o*s,t[2]=i*s,t):(t[0]=0,t[1]=0,t[2]=0,t)}const z=u,N=c,X=f,Y=M,q=x,E=i,Z=w;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:l,angle:function(t,e){A(C,t),A(O,e);const n=_(C,O);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,o,i){const s=1-i,a=s*s,l=i*i,u=a*s,c=3*i*a,f=3*l*s,h=l*i;return t[0]=e[0]*u+n[0]*c+r[0]*f+o[0]*h,t[1]=e[1]*u+n[1]*c+r[1]*f+o[1]*h,t[2]=e[2]*u+n[2]*c+r[2]*f+o[2]*h,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:s,cross:R,crossAndNormalize:function(t,e,n){const r=e[0],o=e[1],i=e[2],s=n[0],a=n[1],l=n[2],u=o*l-i*a,c=i*s-r*l,f=r*a-o*s,h=Math.sqrt(u*u+c*c+f*f);return t[0]=u/h,t[1]=c/h,t[2]=f/h,t},direction:P,dist:Y,distance:M,div:X,divide:f,dot:_,equals:I,exactEquals:T,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,o,i){const s=i*i,a=s*(2*i-3)+1,l=s*(i-2)+i,u=s*(i-1),c=s*(3-2*i);return t[0]=e[0]*a+n[0]*l+r[0]*u+o[0]*c,t[1]=e[1]*a+n[1]*l+r[1]*u+o[1]*c,t[2]=e[2]*a+n[2]*l+r[2]*u+o[2]*c,t},inverse:b,len:E,length:i,lerp:S,max:m,min:d,mul:N,multiply:c,negate:v,normalize:A,random:function(t,e=1){const n=o.Ov,r=2*n()*Math.PI,i=2*n()-1,s=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*s,t[1]=Math.sin(r)*s,t[2]=i*e,t},rotateX:function(t,e,n,r){const o=[],i=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],i[0]=o[0],i[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),i[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const o=[],i=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],i[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),i[1]=o[1],i[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const o=[],i=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],i[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),i[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),i[2]=o[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:g,scaleAndAdd:y,set:a,sign:p,sqrDist:q,sqrLen:Z,squaredDistance:x,squaredLength:w,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:z,subtract:u,transformMat3:B,transformMat4:j,transformQuat:k},Symbol.toStringTag,{value:"Module"}))},38419(t,e,n){n.r(e),n.d(e,{default:()=>a});var r=n(44208),o=n(75503),i=n(95696),s=n(72258);class a{async createIndex(t,e){const n=new Array;if(!t.vertexAttributes?.position)return new o.wq;const r=function(t){const{vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:o}=t,a=(0,s.UR)({vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:o},i.A.absolute,{allowBufferReuse:!0})?.position;return a?!t.components||t.components.some(t=>!t.faces)?{position:a.buffer}:{position:a.buffer,components:t.components.map(t=>t.faces)}:null}(t),a=null!=e?await e.invoke("createIndexThread",r,{transferList:n}):this.createIndexThread(r).result;return l().fromJSON(a)}createIndexThread(t){const e=l();if(!t)return{result:e.toJSON()};const n=new Float64Array(t.position);return t.components?function(t,e,n){let r=0;for(const t of n)r+=t.length/3;const o=new Array(r);let i=0;for(const t of n)for(let n=0;n<t.length;n+=3)o[i++]=u(e,3*t[n],3*t[n+1],3*t[n+2]);return t.load(o),{result:t.toJSON()}}(e,n,t.components.map(t=>new Uint32Array(t))):function(t,e){const n=new Array(e.length/9);let r=0;for(let t=0;t<e.length;t+=9)n[r++]=u(e,t,t+3,t+6);return t.load(n),{result:t.toJSON()}}(e,n)}}function l(){return new o.wq(9,(0,r.A)("esri-csp-restrictions")?t=>t:[".minX",".minY",".maxX",".maxY"])}function u(t,e,n,r){return{minX:Math.min(t[e],t[n],t[r]),maxX:Math.max(t[e],t[n],t[r]),minY:Math.min(t[e+1],t[n+1],t[r+1]),maxY:Math.max(t[e+1],t[n+1],t[r+1]),p0:[t[e],t[e+1],t[e+2]],p1:[t[n],t[n+1],t[n+2]],p2:[t[r],t[r+1],t[r+2]]}}},40876(t,e,n){n.d(e,{Eq:()=>p,G1:()=>m,TS:()=>i,Tf:()=>M,V6:()=>o,Vm:()=>d,ay:()=>l,c1:()=>g,c4:()=>s,j5:()=>u,lT:()=>f,oW:()=>c,xV:()=>w});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function o(t){return!!r[t]||!!r[t.toLowerCase()]}function i(t){return r[t]??r[t.toLowerCase()]}function s(t){return[...i(t)]}function a(t,e,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?t+(e-t)*r:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function l(t,e,n,r=1){const o=(t%360+360)%360/360,i=n<=.5?n*(e+1):n+e-n*e,s=2*n-i;return[Math.round(255*a(s,i,o+1/3)),Math.round(255*a(s,i,o)),Math.round(255*a(s,i,o-1/3)),r]}function u(t){const e=t.length>5,n=e?8:4,r=(1<<n)-1,o=e?1:17,i=e?9===t.length:5===t.length;let s=Number("0x"+t.slice(1));if(isNaN(s))return null;const a=[0,0,0,1];let l;return i&&(l=s&r,s>>=n,a[3]=o*l/255),l=s&r,s>>=n,a[2]=o*l,l=s&r,s>>=n,a[1]=o*l,l=s&r,s>>=n,a[0]=o*l,a}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),n=parseInt(t.slice(2,3),16),r=parseInt(t.slice(3,4),16),o=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,n+16*n,r+16*r,(o+16*o)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function f(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),n=e[1];if("rgb"===n&&3===t.length||"rgba"===n&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),h(e)}return h(t.map(t=>parseFloat(t)))}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return l(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function h(t){return t[0]=g(t[0]),t[1]=g(t[1]),t[2]=g(t[2]),t[3]=4===t.length?m(t[3]):1,t}function p(t){let e=o(t)?i(t):null;return e??=f(t),e??=c(t),e}function d(t){const e=p(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function m(t){return y(t,0,1)}function g(t){return Math.round(y(t,0,255))}function y(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}const M=2.2,x=1/M;function w(t){return t**x}},48163(t,e,n){function r(){return[0,0]}function o(t){return[t[0],t[1]]}function i(t,e){return[t,e]}function s(){return i(1,1)}function a(){return i(1,0)}function l(){return i(0,1)}n.d(e,{Un:()=>u,fA:()=>i,o8:()=>o,vt:()=>r});const u=s(),c=a(),f=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:u,UNIT_X:c,UNIT_Y:f,ZEROS:[0,0],clone:o,create:r,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const n=Math.min(2,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:i,ones:s,unitX:a,unitY:l,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},48353(t,e,n){n.d(e,{l:()=>u});var r=n(34727),o=n(58083),i=n(51850);function s(t,e,n){const r=Math.sin(t),o=Math.cos(t),i=Math.sin(e),s=Math.cos(e),a=n;return a[0]=-r,a[4]=-i*o,a[8]=s*o,a[12]=0,a[1]=o,a[5]=-i*r,a[9]=s*r,a[13]=0,a[2]=0,a[6]=s,a[10]=i,a[14]=0,a[3]=0,a[7]=0,a[11]=0,a[15]=1,a}var a=n(49208),l=n(21325);function u(t,e,n,r){const i=(0,a.Tp)(t,r);if(null==i)return!1;const u=i.source.spatialReferenceId,d=i.dest.spatialReferenceId;if(u===d&&!c(d)&&(0!==u||(0,l.aI)(t,r)))return(0,o.kN)(n,e),!0;if(c(d)){const t=a.w5[u][10],r=a.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),s(f*h[0],f*h[1],n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}const m=c(u);if((3===d||11===d||2===d||5===d)&&(2===u||m||3===u||5===u)){const t=a.w5[u][10],r=a.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),m?function(t,e,n){s(t,e,n),(0,o.mg)(n,n)}(f*h[0],f*h[1],n):(0,o.D_)(n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}return!1}function c(t){return 1===t||6===t||8===t||4===t}const f=(0,r.kU)(1),h=(0,i.vt)(),p=(0,i.vt)()},49208(t,e,n){n.d(e,{Tp:()=>f,jd:()=>c,pO:()=>p,w5:()=>u});var r=n(34727),o=n(86211),i=n(73941),s=n(79258),a=n(34403),l=n(21325);const u={2:{5:p,7:null,9:null,10:p,1:v,6:null,8:null,0:null,3:m,11:g,2:p,4:S},5:{5:p,7:null,9:null,10:p,1:v,6:null,8:null,0:null,3:m,11:g,2:p,4:S},7:{5:null,7:p,9:null,10:p,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:p,10:p,1:null,6:null,8:x,0:null,3:null,11:null,2:null,4:null},3:{5:d,7:null,9:null,10:d,1:function(t,e,n,r){const o=t[e]/T,i=O-2*Math.atan(Math.exp(-t[e+1]/T)),s=T+(t[e+2]??0),a=Math.cos(i)*s;n[r]=Math.cos(o)*a,n[r+1]=Math.sin(o)*a,n[r+2]=Math.sin(i)*s},6:null,8:null,0:null,3:p,11:function(t,e,n,r){d(t,e,n,r),g(n,r,n,r)},2:d,4:function(t,e,n,r){d(t,e,n,r),S(n,r,n,r)}},4:{5:j,7:null,9:null,10:j,1:function(t,e,n,r){j(t,e,n,r),v(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){j(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){j(t,e,n,r),g(n,r,n,r)},2:j,4:p},1:{5:R,7:null,9:null,10:R,1:p,6:null,8:null,0:null,3:function(t,e,n,r){R(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){R(t,e,n,r),g(n,r,n,r)},2:R,4:function(t,e,n,r){R(t,e,n,r),S(n,r,n,r)}},6:{5:null,7:_,9:null,10:_,1:null,6:p,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:A,10:A,1:null,6:null,8:p,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:p,3:null,11:null,2:null,4:null},10:{5:p,7:p,9:p,10:p,1:v,6:w,8:x,0:null,3:m,11:g,2:p,4:S},11:{5:y,7:null,9:null,10:y,1:function(t,e,n,r){y(t,e,n,r),v(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){y(t,e,n,r),m(n,r,n,r)},11:p,2:y,4:function(t,e,n,r){y(t,e,n,r),S(n,r,n,r)}}};function c(t,e){return f(t,e)?.projector}function f(t,e){if(null==t||null==e)return null;if(B.source.spatialReference===t&&B.dest.spatialReference===e)return B;const n=h(t,B.source),r=h(e,B.dest);return 0===n&&0===r?(0,l.aI)(t,e)?B.projector=p:B.projector=null:B.projector=u[n][r],B}function h(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,o.GA)(t,1)),(0,i.jA)(t)?e.spatialReferenceId=1:(0,l.oT)(t)?e.spatialReferenceId=2:(0,l.K8)(t)?e.spatialReferenceId=3:(0,l.r1)(t)?e.spatialReferenceId=11:t.wkt===i.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===i.FY.wkt?e.spatialReferenceId=6:t.wkt===i.LJ.wkt?e.spatialReferenceId=8:(0,i.q8)(t)?e.spatialReferenceId=7:(0,i.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function p(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e]??0)}function d(t,e,n,r){n[r]=C*(t[e]/T),n[r+1]=C*(O-2*Math.atan(Math.exp(-t[e+1]/T))),n[r+2]=t[e+2]??0}function m(t,e,n,o){!function(t,e,n,o,i){const s=.4999999*Math.PI,a=(0,r.qE)(k*t[e+1],-s,s),l=Math.sin(a);n[o++]=k*t[e]*i.radius,n[o++]=i.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[o]=t[e+2]??0}(t,e,n,o,s.$O)}function g(t,e,n,r){n[r]=t[e]*I,n[r+1]=t[e+1]*I,n[r+2]=t[e+2]??0}function y(t,e,n,r){n[r]=t[e]*P,n[r+1]=t[e+1]*P,n[r+2]=t[e+2]??0}function M(t,e,n,r,o){const i=o+(t[e+2]??0),s=k*t[e],a=k*t[e+1],l=Math.cos(a)*i;n[r]=Math.cos(s)*l,n[r+1]=Math.sin(s)*l,n[r+2]=Math.sin(a)*i}function x(t,e,n,r){M(t,e,n,r,s.Sw.radius)}function w(t,e,n,r){M(t,e,n,r,s.sH.radius)}function v(t,e,n,r){M(t,e,n,r,s.$O.radius)}function b(t,e,n,o,i){const s=t[e],a=t[e+1],l=t[e+2]??0,u=Math.sqrt(s*s+a*a+l*l),c=(0,r.YN)(l/(0===u?1:u)),f=Math.atan2(a,s);n[o++]=C*f,n[o++]=C*c,n[o]=u-i}function A(t,e,n,r){b(t,e,n,r,s.Sw.radius)}function _(t,e,n,r){b(t,e,n,r,s.sH.radius)}function R(t,e,n,r){b(t,e,n,r,s.$O.radius)}function S(t,e,n,r){!function(t,e,n,r,o){const i=k*t[e],s=k*t[e+1],a=t[e+2]??0,l=Math.sin(s),u=Math.cos(s),c=o.radius/Math.sqrt(1-o.eccentricitySquared*l*l);n[r++]=(c+a)*u*Math.cos(i),n[r++]=(c+a)*u*Math.sin(i),n[r++]=(c*(1-o.eccentricitySquared)+a)*l}(t,e,n,r,s.$O)}function j(t,e,n,r){const o=a.TP,i=t[e],l=t[e+1],u=t[e+2]??0;let c,f,h,p,d,m,g,y,M,x,w,v,b,A,_,R,S,j,B,k,O;c=Math.abs(u),f=i*i+l*l,h=Math.sqrt(f),p=f+u*u,d=Math.sqrt(p),k=Math.atan2(l,i),m=u*u/p,g=f/p,A=o.a2/d,_=o.a3-o.a4/d,g>.3?(y=c/d*(1+g*(o.a1+A+m*_)/d),B=Math.asin(y),x=y*y,M=Math.sqrt(1-x)):(M=h/d*(1-m*(o.a5-A-g*_)/d),B=Math.acos(M),x=1-M*M,y=Math.sqrt(x)),w=1-s.$O.eccentricitySquared*x,v=s.$O.radius/Math.sqrt(w),b=o.a6*v,A=h-v*M,_=c-b*y,S=M*A+y*_,R=M*_-y*A,j=R/(b/w+S),B+=j,O=S+R*j/2,u<0&&(B=-B),n[r++]=C*k,n[r++]=C*B,n[r]=O}const B={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:p},k=(0,r.kU)(1),C=(0,r.KJ)(1),O=.5*Math.PI,T=s.$O.radius,I=T*Math.PI/180,P=180/(T*Math.PI)},51850(t,e,n){function r(){return[0,0,0]}function o(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function s(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function l(){return i(1,1,1)}function u(){return i(1,0,0)}function c(){return i(0,1,0)}function f(){return i(0,0,1)}n.d(e,{CN:()=>s,Cb:()=>g,Cw:()=>d,JP:()=>m,Un:()=>p,ci:()=>a,fA:()=>i,o8:()=>o,uY:()=>h,vt:()=>r});const h=[0,0,0],p=l(),d=u(),m=c(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:d,UNIT_Y:m,UNIT_Z:g,ZEROS:h,clone:o,create:r,freeze:s,fromArray:a,fromValues:i,ones:l,unitX:u,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},60408(t,e,n){function r(t){return void 0!==t.xmin&&void 0!==t.ymin&&void 0!==t.xmax&&void 0!==t.ymax}function o(t){return void 0!==t.points}function i(t){return void 0!==t.x&&void 0!==t.y}function s(t){return void 0!==t.paths||void 0!==t.curvePaths}function a(t){return void 0!==t.rings||void 0!==t.curveRings}function l(t){return"object"==typeof t&&"vertexAttributes"in t}function u(t){return t?i(t)?"esriGeometryPoint":s(t)?"esriGeometryPolyline":a(t)?"esriGeometryPolygon":r(t)?"esriGeometryEnvelope":o(t)?"esriGeometryMultipoint":null:null}function c(t){return null!=t&&("hasZ"in t&&t.hasZ||"z"in t&&null!=t.z)}function f(t){return null!=t&&("hasM"in t&&t.hasM||"m"in t&&null!=t.m)}n.d(e,{$B:()=>u,Bi:()=>a,Pv:()=>c,Rg:()=>s,U9:()=>o,W0:()=>f,ZC:()=>r,fT:()=>i,uW:()=>l})},65806(t,e,n){n.d(e,{g:()=>s});var r=n(51850),o=n(91218),i=n(9762);function s(t,e,n,r){if((0,o.canProjectWithoutEngine)(t.spatialReference,n))return a[0]=t.x,a[1]=t.y,a[2]=t.z??0,(0,i.projectBuffer)(a,t.spatialReference,0,e,n,0);const s=(0,o.tryProject)(t,n,r);return!!s&&(e[0]=s.x,e[1]=s.y,e[2]=s.z??0,!0)}const a=(0,r.vt)()},69540(t,e,n){n.d(e,{OU:()=>c,Pw:()=>f});var r=n(5482),o=n(69622),i=(n(44208),n(4718)),s=(n(53966),n(97768)),a=n(88620),l=n(64108);const u=Symbol("ClonableMixin"),c=t=>{var e;const n=t;let o=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=u}clone(t){const e=(0,a.oY)(this);(0,s.Lw)(e,"unable to clone instance of non-accessor class");const n=e.metadata,r=e.store,o={},l=new Map;for(const e in n){const s=n[e],a=r?.originOf(e),u=s.clonable;if(s.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[e];let f=null;if("function"==typeof u)f=u(c,t);else if("reference"===u)f=c;else if(f=(0,i.TU)(c,t),null!=c&&null==f)continue;0===a?l.set(e,f):o[e]=f}const u=new(0,Object.getPrototypeOf(this).constructor)(o);if(l.size){const t=(0,a.oY)(u)?.store;if(t)for(const[e,n]of l)t.set(e,n,0)}return u}};return o=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],o),o},f=c(o.A)},72258(t,e,n){n.d(e,{UR:()=>v,p5:()=>w,xK:()=>j});var r=n(53966),o=n(34727),i=n(86211),s=n(77690),a=n(29242),l=n(58083),u=n(9093),c=n(35522),f=n(51850),h=n(73941),p=n(98764),d=n(48353),m=n(65806),g=n(27615),y=n(73354),M=n(22141);const x=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function w(t,e,{vertexSpace:n,spatialReference:r}){if("georeferenced"===n.type){const o=t;if(!(0,m.g)(e,o,r))return!1;const{origin:i}=n;return(0,c.Re)(t,o,i),!0}const o=(0,p.lO)(r),i=t;if(!(0,m.g)(e,i,o))return!1;const{origin:s}=n,a=T;if(!(0,d.l)(r,s,a,o))return!1;const u=(0,l.B8)(T,a);return null!=u&&((0,c.Z0)(t,i,u),!0)}function v(t,e,n){const{vertexSpace:r,transform:o,vertexAttributes:i}=t,a=(0,g.Hq)(r)?o:null,f=R(t.spatialReference,n,3);if((0,g.yJ)(r,e)&&(!a||(0,l.t2)(a.localMatrix,u.zK))&&S(f)){const{position:t,normal:e,tangent:r}=i,o=n?.allowBufferReuse;return{position:o?t:t.slice(),normal:o?e:e?.slice(),tangent:o?r:r?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},o,i){const s=b(e,i);if(!(0,d.l)(e,r,B,s))return(0,M.CN)(x(),e,s),null;if(n&&(0,l.lw)(B,B,n.localMatrix),!(0,d.l)(e,o,k,s))return(0,M.CN)(x(),s,e),null;(0,l.B8)(k,k);const a=(0,l.lw)(B,k,B);return _(a,e,i,3),A(t,a)}(t,t.vertexSpace,e.origin,n):function({spatialReference:t,vertexAttributes:e,transform:n},{origin:r},o,i){const s=b(t,i);if(!(0,d.l)(t,r,B,s))return(0,M.CN)(x(),t,s),null;n&&(0,l.lw)(B,B,n.localMatrix),_(B,t,i,1);const a=new Float64Array(e.position.length),u=function(t,e,n,r,o){(0,y.t)(r,t,e);const i=new Float64Array(t.length);return(0,M.$5)(r,o,i,n)?i:((0,M.CN)(x(),o,n),null)}(e.position,B,t,a,s);if(!u)return null;const f=function(t,e,n,r,o,i){if(null==o)return null;const s=new Float32Array(o.length);return(0,M.qs)(o,s,i),(0,M.si)(s,t,e,n,r,s)?s:((0,M.CN)(x(),r,e),null)}(u,t,a,s,e.normal,B);if(e.normal&&!f)return null;const h=function(t,e,n,r,o,i){if(null==o)return null;const s=new Float32Array(o.length);return(0,M.KM)(o,s,i),(0,M.Mv)(s,t,e,n,r,s)?s:((0,M.CN)(x(),r,e),null)}(u,t,a,s,e.tangent,B);if(e.tangent&&!h)return null;if(o){const t=(0,c.ze)(O,o);(0,y.a)(u,u,t)}return{position:u,normal:f,tangent:h}}(t,t.vertexSpace,e.origin,n);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},o,i){const a=b(e,i);if(!(0,d.l)(e,o,B,a))return(0,M.CN)(x(),e,a),null;const u=1/R(e,i,2);(0,l.hs)(B,B,[u,u,u]);const c=(0,l.B8)(k,B),{position:f,normal:h,tangent:p}=function(t,e,n){if(!e)return t;if(!n){const{position:n,normal:r,tangent:o}=t;return{position:(0,y.a)(new Float64Array(n.length),n,e),tangent:o,normal:r}}const r=A(t,n.localMatrix);return(0,y.a)(r.position,r.position,e),r}(t,r,n),m=new Float64Array(f.length),g=function(t,e,n,r,o){const i=(0,M.gr)(t,e,r,o);if(!i)return(0,M.CN)(x(),e,o),null;const s=new Float64Array(i.length);return(0,y.t)(s,i,n),s}(f,e,c,m,a);if(!g)return null;const w=(0,s.Ge)(C,c),v=function(t,e,n,r,o,i,s){if(null==t)return null;const a=s??new Float32Array(t.length);return(0,M.X4)(t,e,n,r,o,a)?((0,y.b)(a,a,i),a):((0,M.CN)(x(),n,o),null)}(h,f,e,m,a,w,h!==t.normal?h:void 0);if(!v&&h)return null;const _=function(t,e,n,r,o,i,s){if(null==t)return null;const a=s??new Float32Array(t.length);return(0,M.xA)(t,e,n,r,o,a)?((0,y.b)(a,a,i,4),a):((0,M.CN)(x(),n,o),null)}(p,f,e,m,a,w,p!==t.tangent?p:void 0);return!_&&p?null:{position:g,normal:v,tangent:_}}(t,t.vertexSpace,e.origin,n):function({vertexAttributes:t,transform:e,spatialReference:n},{origin:r},o,i){const s=R(n,i,3),a=r||!S(s)?(0,l.C)(B,e?.localMatrix??u.zK):null;a&&_(a,n,i,3);const{position:f,normal:h,tangent:p}=a?A(t,a):t,d=i?.allowBufferReuse,m=d?f:new Float64Array(f.length);let g=f;if(r&&(g=(0,y.a)(m,g,r)),o){const t=(0,c.ze)(O,o);g=(0,y.a)(m,g,t)}return{position:g!==t.position||d?g:g.slice(),normal:h!==t.normal||d?h:h?.slice(),tangent:p!==t.tangent||d?p:p?.slice()}}(t,t.vertexSpace,e.origin,n)}}function b(t,e){return e?.useEllipsoid&&(0,h.B3)(t)?p.Y0:(0,p.lO)(t)}function A(t,e){const n=new Float64Array(t.position.length);(0,y.t)(n,t.position,e);const r=t.normal?new Float32Array(t.normal.length):null,o=t.tangent?new Float32Array(t.tangent.length):null;return r&&t.normal&&(0,M.qs)(t.normal,r,e),o&&t.tangent&&(0,M.KM)(t.tangent,o,e),{position:n,normal:r,tangent:o}}function _(t,e,n,r){const o=R(e,n,r);S(o)||(0,l.hs)(t,t,[o,o,o])}function R(t,e,n){const r=!!(1&n),o=!!(2&n),i=e?.sourceUnit,s=e?.targetUnit;if(!i&&!s)return 1;let a=j(i,t);r||!i||S(a)||(x().warn("source unit conversion not supported"),a=1);let l=1/j(s,t);return o||!s||S(l)||(x().warn("target unit conversion not supported"),l=1),a*l}function S(t){return(0,o.Io)(t,1)}function j(t,e){if(null==t)return 1;const n=(0,i.KX)(e);return 1/(0,i.oU)(n,"meters",t)}const B=(0,u.vt)(),k=(0,u.vt)(),C=(0,a.vt)(),O=(0,f.vt)(),T=(0,u.vt)()},73354(t,e,n){n.d(e,{a:()=>f,b:()=>a,c:()=>s,d:()=>o,e:()=>h,f:()=>c,l:()=>u,n:()=>p,t:()=>i});var r=n(40876);function o(t,e,n){i(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function i(t,e,n,r=3,o=r){if(t.length/r!==Math.ceil(e.length/o))return t;const i=t.length/r,s=n[0],a=n[1],l=n[2],u=n[4],c=n[5],f=n[6],h=n[8],p=n[9],d=n[10],m=n[12],g=n[13],y=n[14];let M=0,x=0;for(let n=0;n<i;n++){const n=e[M],i=e[M+1],w=e[M+2];t[x]=s*n+u*i+h*w+m,t[x+1]=a*n+c*i+p*w+g,t[x+2]=l*n+f*i+d*w+y,M+=o,x+=r}return t}function s(t,e,n){a(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function a(t,e,n,r=3,o=r){if(t.length/r!==Math.ceil(e.length/o))return;const i=t.length/r,s=n[0],a=n[1],l=n[2],u=n[3],c=n[4],f=n[5],h=n[6],p=n[7],d=n[8];let m=0,g=0;for(let n=0;n<i;n++){const n=e[m],i=e[m+1],y=e[m+2];t[g]=s*n+u*i+h*y,t[g+1]=a*n+c*i+p*y,t[g+2]=l*n+f*i+d*y,m+=o,g+=r}}function l(t,e,n,r=3,o=r){const i=Math.min(t.length/r,e.length/o);let s=0,a=0;for(let l=0;l<i;l++)t[a]=n*e[s],t[a+1]=n*e[s+1],t[a+2]=n*e[s+2],s+=o,a+=r;return t}function u(t,e,n,r){c(t.typedBuffer,e.typedBuffer,n,r,t.typedBufferStride,e.typedBufferStride)}function c(t,e,n,o,i=3,s=i){const a=Math.min(t.length/i,e.length/s);let l=0,u=0;const c=1/r.Tf;for(let r=0;r<a;r++)t[u]=o*(n*e[l])**c,t[u+1]=o*(n*e[l+1])**c,t[u+2]=o*(n*e[l+2])**c,l+=s,u+=i}function f(t,e,n,r=3,o=r){const i=t.length/r;if(i!==Math.ceil(e.length/o))return t;let s=0,a=0;for(let l=0;l<i;l++)t[a]=e[s]+n[0],t[a+1]=e[s+1]+n[1],t[a+2]=e[s+2]+n[2],s+=o,a+=r;return t}function h(t,e){p(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function p(t,e,n=3,r=n){const o=Math.min(t.length/n,e.length/r);let i=0,s=0;for(let a=0;a<o;a++){const o=e[i],a=e[i+1],l=e[i+2],u=o*o+a*a+l*l;if(u>0){const e=1/Math.sqrt(u);t[s]=e*o,t[s+1]=e*a,t[s+2]=e*l}i+=r,s+=n}}n(44208),n(53966),Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:p,normalizeView:h,scale:l,scaleView:function(t,e,n){l(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const r=Math.min(t.count,e.count),o=t.typedBuffer,i=t.typedBufferStride,s=e.typedBuffer,a=e.typedBufferStride;let l=0,u=0;for(let t=0;t<r;t++)o[u]=s[l]>>n,o[u+1]=s[l+1]>>n,o[u+2]=s[l+2]>>n,l+=a,u+=i},transformMat3:a,transformMat3View:s,transformMat4:i,transformMat4View:o,translate:f},Symbol.toStringTag,{value:"Module"}))},75503(t,e,n){n.d(e,{wq:()=>a});var r=n(4576),o=n(21818),i=(n(44208),n(15142)),s=n(11006);class a{constructor(t=9,e){this._compareMinX=h,this._compareMinY=p,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),v.prune(),b.prune(),A.prune(),_.prune()}all(t){l(this._data,t)}search(t,e){let n=this._data;const r=this._toBBox;if(x(t,n))for(v.clear();n;){for(let o=0,i=n.children.length;o<i;o++){const i=n.children[o],s=n.leaf?r(i):i;x(t,s)&&(n.leaf?e(i):M(t,s)?l(i,e):v.push(i))}n=v.pop()}}collides(t){let e=this._data;const n=this._toBBox;if(!x(t,e))return!1;for(v.clear();e;){for(let r=0,o=e.children.length;r<o;r++){const o=e.children[r],i=e.leaf?n(o):o;if(x(t,i)){if(e.leaf||M(t,i))return!0;v.push(o)}}e=v.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new j([]),this}remove(t){if(!t)return this;let e,n=this._data,i=null,s=0,a=!1;const l=this._toBBox(t);for(A.clear(),_.clear();n||A.length>0;){if(n||(n=A.pop(),i=A.data[A.length-1],s=_.pop()??0,a=!0),n.leaf&&(e=(0,r.qh)(n.children,(0,o.z)(t),n.children.length,n.indexHint),-1!==e))return n.children.splice(e,1),A.push(n),this._condense(A),this;a||n.leaf||!M(n,l)?i?(s++,n=i.children[s],a=!1):n=null:(A.push(n),_.push(s),s=0,i=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,n,r){const o=n-e+1;let i=this._maxEntries;if(o<=i){const r=new j(t.slice(e,n+1));return u(r,this._toBBox),r}r||(r=Math.ceil(Math.log(o)/Math.log(i)),i=Math.ceil(o/i**(r-1)));const s=new B([]);s.height=r;const a=Math.ceil(o/i),l=a*Math.ceil(Math.sqrt(i));w(t,e,n,l,this._compareMinX);for(let o=e;o<=n;o+=l){const e=Math.min(o+l-1,n);w(t,o,e,a,this._compareMinY);for(let n=o;n<=e;n+=a){const o=Math.min(n+a-1,e);s.children.push(this._build(t,n,o,r-1))}}return u(s,this._toBBox),s}_insert(t,e,n){const r=this._toBBox,o=n?t:r(t);A.clear();const i=function(t,e,n,r){for(;r.push(e),!0!==e.leaf&&r.length-1!==n;){let n,r=1/0,o=1/0;for(let i=0,s=e.children.length;i<s;i++){const s=e.children[i],a=d(s),l=g(t,s)-a;l<o?(o=l,r=a<r?a:r,n=s):l===o&&a<r&&(r=a,n=s)}e=n||e.children[0]}return e}(o,this._data,e,A);for(i.children.push(t),f(i,o);e>=0&&A.data[e].children.length>this._maxEntries;)this._split(A,e),e--;!function(t,e,n){for(let r=n;r>=0;r--)f(e.data[r],t)}(o,A,e)}_split(t,e){const n=t.data[e],r=n.children.length,o=this._minEntries;this._chooseSplitAxis(n,o,r);const i=this._chooseSplitIndex(n,o,r);if(!i)return;const s=n.children.splice(i,n.children.length-i),a=n.leaf?new j(s):new B(s);a.height=n.height,u(n,this._toBBox),u(a,this._toBBox),e?t.data[e-1].children.push(a):this._splitRoot(n,a)}_splitRoot(t,e){this._data=new B([t,e]),this._data.height=t.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(t,e,n){let r,o,i;r=o=1/0;for(let s=e;s<=n-e;s++){const e=c(t,0,s,this._toBBox),a=c(t,s,n,this._toBBox),l=y(e,a),u=d(e)+d(a);l<r?(r=l,i=s,o=u<o?u:o):l===r&&u<o&&(o=u,i=s)}return i}_chooseSplitAxis(t,e,n){const r=t.leaf?this._compareMinX:h,o=t.leaf?this._compareMinY:p;this._allDistMargin(t,e,n,r)<this._allDistMargin(t,e,n,o)&&t.children.sort(r)}_allDistMargin(t,e,n,r){t.children.sort(r);const o=this._toBBox,i=c(t,0,e,o),s=c(t,n-e,n,o);let a=m(i)+m(s);for(let r=e;r<n-e;r++){const e=t.children[r];f(i,t.leaf?o(e):e),a+=m(i)}for(let r=n-e-1;r>=e;r--){const e=t.children[r];f(s,t.leaf?o(e):e),a+=m(s)}return a}_condense(t){for(let e=t.length-1;e>=0;e--){const n=t.data[e];if(0===n.children.length)if(e>0){const o=t.data[e-1],i=o.children;i.splice((0,r.qh)(i,n,i.length,o.indexHint),1)}else this.clear();else u(n,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function l(t,e){let n=t;for(b.clear();n;){if(!0===n.leaf)for(const t of n.children)e((0,o.z)(t));else b.pushArray(n.children);n=b.pop()??null}}function u(t,e){c(t,0,t.children.length,e,t)}function c(t,e,n,r,o){o||(o=new j([])),o.minX=1/0,o.minY=1/0,o.maxX=-1/0,o.maxY=-1/0;for(let i,s=e;s<n;s++)i=t.children[s],f(o,t.leaf?r(i):i);return o}function f(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function h(t,e){return t.minX-e.minX}function p(t,e){return t.minY-e.minY}function d(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function m(t){return t.maxX-t.minX+(t.maxY-t.minY)}function g(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function y(t,e){const n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY),o=Math.min(t.maxX,e.maxX),i=Math.min(t.maxY,e.maxY);return Math.max(0,o-n)*Math.max(0,i-r)}function M(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function x(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function w(t,e,n,r,o){const i=[e,n];for(;i.length;){const e=i.pop(),n=i.pop();if(e-n<=r)continue;const a=n+Math.ceil((e-n)/r/2)*r;(0,s.q)(t,a,n,e,o),i.push(n,a,a,e)}}const v=new i.A,b=new i.A,A=new i.A,_=new i.A({deallocator:void 0});class R{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class S extends R{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class j extends S{constructor(t){super(),this.children=t,this.leaf=!0}}class B extends S{constructor(t){super(),this.children=t,this.leaf=!1}}},86738(t,e,n){n.d(e,{A:()=>x});var r=n(5482),o=n(69622),i=n(53966),s=n(91429),a=n(56507),l=n(91075),u=n(16930),c=n(21325),f=n(28735);function h({x:t,y:e,spatialReference:n},r=[0,0]){if(n){if((0,c.K8)(n))return(0,f.tD)(t,e,r);if((0,c.EA)(n))return r[0]=t,r[1]=e,r}return null}const p=[0,0];var d,m=n(43937),g=n(36005);const y=[0,0];function M(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}let x=d=class extends l.A{static copy(t,e){e._set("x",t._get("x")),e._set("y",t._get("y")),e._set("z",t._get("z")),e._set("m",t._get("m"));const n=t._get("spatialReference");e._set("spatialReference",o.A.isFrozen(n)?n:n.clone())}constructor(...t){super(...t),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(t,e,n,r,o){let s;if(Array.isArray(t))s=t,o=e,t=s[0],e=s[1],n=s[2],r=s[3];else if(t&&"object"==typeof t){if(s=t,t=null!=s.x?s.x:s.longitude,e=null!=s.y?s.y:s.latitude,n=s.z,r=s.m,(o=s.spatialReference)&&"esri.geometry.SpatialReference"!==o.declaredClass&&(o=new u.A(o)),null!=s.longitude||null!=s.latitude)if(null==s.longitude)i.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==s.latitude)i.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!s.declaredClass&&o?.isWebMercator){const n=(0,f.je)(s.longitude,s.latitude,y);t=n[0],e=n[1]}}else M(n)?(o=n,n=null):M(r)&&(o=r,r=null);const a={x:t,y:e};return null==a.x&&null!=a.y?i.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==a.y&&null!=a.x&&i.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=o&&(a.spatialReference=o),null!=n&&(a.z=n),null!=r&&(a.m=r),a}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(t){t!==(void 0!==this._get("m"))&&(this._set("m",t?0:void 0),this._set("hasM",t))}get hasZ(){return void 0!==this.z}set hasZ(t){t!==(void 0!==this._get("z"))&&(this._set("z",t?0:void 0),this._set("hasZ",t))}get latitude(){return h(this,p)?.[1]??null}set latitude(t){const{spatialReference:e,x:n}=this;null!=t&&e&&(e.isWebMercator?this._set("y",(0,f.je)(n,t,y)[1]):e.isGeographic&&this._set("y",t),this._set("latitude",t))}get longitude(){return h(this,p)?.[0]??null}set longitude(t){const{y:e,spatialReference:n}=this;null!=t&&n&&(n.isWebMercator?this._set("x",(0,f.je)(t,e,y)[0]):n.isGeographic&&this._set("x",t),this._set("longitude",t))}writeX(t,e,n){e[n]=isNaN(t)?"NaN":t}readX(t){return"string"==typeof t?NaN:t}clone(){const t=new d;return t.x=this.x,t.y=this.y,t.z=this.z,t.m=this.m,t.spatialReference=this.spatialReference,t}copy(t){return d.copy(t,this),this}equals(t){if(null==t)return!1;const{x:e,y:n,z:r,m:o,spatialReference:i}=this,{z:s,m:a}=t;let{x:l,y:u,spatialReference:c}=t;if(!i.equals(c))if(i.isWebMercator&&c.isWGS84)[l,u]=(0,f.je)(l,u),c=i;else{if(!i.isWGS84||!c.isWebMercator)return!1;[l,u]=(0,f.tD)(l,u),c=i}return e===l&&n===u&&r===s&&o===a&&i.wkid===c.wkid}offset(t,e,n){return this.x+=t,this.y+=e,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const t=(0,c.Vp)(this.spatialReference);if(!t)return this;let e=this.x;const[n,r]=t.valid,o=2*r;let i;return e>r?(i=Math.ceil(Math.abs(e-r)/o),e-=i*o):e<n&&(i=Math.ceil(Math.abs(e-n)/o),e+=i*o),this._set("x",e),this}distance(t){return function(t,e){const n=t.x-e.x,r=t.y-e.y,o=null!=t.z&&null!=e.z?t.z-e.z:0;return Math.sqrt(n*n+r*r+o*o)}(this,t)}toArray(){const t=this.hasZ,e=this.hasM;return t&&e?[this.x,this.y,this.z,this.m]:t?[this.x,this.y,this.z]:e?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,s.MZ)({readOnly:!0})],x.prototype,"cache",null),(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasM",null),(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasZ",null),(0,r.Cg)([(0,s.MZ)({type:Number})],x.prototype,"latitude",null),(0,r.Cg)([(0,s.MZ)({type:Number})],x.prototype,"longitude",null),(0,r.Cg)([(0,s.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,s.wg)(t=>isNaN(t)?t:(0,a.GB)(t))],x.prototype,"x",void 0),(0,r.Cg)([(0,m.K)("x")],x.prototype,"writeX",null),(0,r.Cg)([(0,g.w)("x")],x.prototype,"readX",null),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],x.prototype,"y",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],x.prototype,"z",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],x.prototype,"m",void 0),x=d=(0,r.Cg)([(0,s.$K)("esri.geometry.Point")],x),x.prototype.toJSON.isDefaultToJSON=!0},91075(t,e,n){n.d(e,{A:()=>l});var r=n(5482),o=n(25482),i=n(91429),s=n(16930),a=n(36005);let l=class extends o.o{constructor(...t){super(...t),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=s.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(t,e){if(t instanceof s.A)return t;if(null!=t){const n=new s.A;return n.read(t,e),n}return t}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(t){return this.cache[t]}setCacheValue(t,e){this.cache[t]=e}};(0,r.Cg)([(0,i.MZ)()],l.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"cache",null),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],l.prototype,"extent",null),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],l.prototype,"hasM",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],l.prototype,"hasZ",void 0),(0,r.Cg)([(0,i.MZ)({type:s.A,json:{write:!0},value:s.A.WGS84})],l.prototype,"spatialReference",void 0),(0,r.Cg)([(0,a.w)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,r.Cg)([(0,i.$K)("esri.geometry.Geometry")],l)},91218(t,e,n){n.r(e),n.d(e,{canProjectWithoutEngine:()=>W,initializeProjection:()=>D,isEqualBaseGCS:()=>U,isLoaded:()=>T,isLoadedOrLoad:()=>I,isLoadedOrLoadFor:()=>P,load:()=>N,project:()=>X,projectAsync:()=>$,projectExtent:()=>ot,projectMany:()=>Y,projectMultipoint:()=>H,projectOrLoad:()=>E,projectOrLoadMany:()=>Z,projectPoint:()=>V,projectPolygon:()=>nt,projectPolyline:()=>tt,projectWithoutEngine:()=>K,requiresLoad:()=>z,test:()=>L,tryProject:()=>q,unload:()=>G});var r=n(49186),o=n(74887),i=n(62788),s=n(95488),a=n(51850),l=n(21276),u=n(73941),c=n(5443),f=n(91075),h=n(48526),p=n(86738),d=n(39829),m=n(82799),g=n(16930),y=n(98764),M=n(159),x=n(9762),w=n(49208);function v(t,e,n,r,o,i){return b[0]=t,b[1]=e,b[2]=n,(0,x.projectBuffer)(b,r,0,o,i,0)}const b=(0,a.vt)();var A=n(60408),_=n(21325),R=n(52006);let S=null,j=null,B=null,k=null,C={};const O=new s.I;function T(){return!!(j?.isLoaded()&&B?.isLoaded()&&k?.isLoaded())}function I(){return!!T()||((0,i.gc)(O),N(),!1)}function P(t,e){return!t||!e||W(t,e)||I()}function z(t,e){return!W(t,e)&&!T()}async function N(t){null==S&&(S=Promise.all([n.e(3276).then(n.bind(n,83276)).then(t=>(j=t,j.load())),n.e(8377).then(n.bind(n,8377)).then(t=>(B=t,B.load())),n.e(2158).then(n.bind(n,12158)).then(t=>(k=t,k.load()))])),await S,(0,o.Te)(t),O.notify()}function X(t,e,n){return Array.isArray(t)?0===t.length?[]:((0,l.H)(t),Y(t,t[0].spatialReference,e,n)):((0,l.f)(t),Y([t],t.spatialReference,e,n)[0])}function Y(t,e,n,r){if(null==e||null==n)return t;if(W(e,n,r))return t.map(t=>K(t,e,n));if(null==r?.geographicTransformation&&(0,u.jA)(e))return Y(t.map(t=>K(t,e,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return Y(t,e,g.A.WGS84).map(t=>K(t,g.A.WGS84,n));if(!T())throw new F;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:k.getTransformation(e,n,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const t=function(t,e){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,n);let o=C[t];o||(o=k.getTransformation(e,n)||new M.A,C[t]=o),r={geographicTransformation:o,zConversionDisabled:r?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=e),t[0]instanceof f.A?j.executeMany(t,n,r):B.executeMany(t,n,r)}function q(t,e,n){try{return X(t,e,n)}catch(t){return null}}function E(t,e){const n=Z([t],e);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function Z(t,e,n){if(!T())for(const n of t)if(null!=n&&!(0,_.aI)(n.spatialReference,e)&&(0,_.fn)(n.spatialReference)&&(0,_.fn)(e)&&!W(n.spatialReference,e))return(0,i.gc)(O),{pending:N(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,_.aI)(t.spatialReference,e)?t:(0,_.fn)(t.spatialReference)&&(0,_.fn)(e)?X(t,e,n):null)}}class F extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function G(){S=null,j=null,B=null,k=null,C={}}const L={get loadPromise(){return S}};async function $(t,e,n){if((0,o.Te)(n),!t)return t;const r=Z(Array.isArray(t)?t:[t],e,n);if(r.pending)return await r.pending,(0,o.Te)(n),$(t,e,n);const i=r.geometries??[];return Array.isArray(t)?i:i[0]}function W(t,e,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,_.aI)(t,e)||(0,_.fn)(t)&&(0,_.fn)(e)&&!!(0,w.jd)(t,e))}function U(t,e){if((0,_.aI)(t,e))return!0;if(!(0,_.fn)(t)||!(0,_.fn)(e))return!1;const n=(0,_.oT)(t)||(0,_.K8)(t)||(0,_.x1)(t),r=(0,_.oT)(e)||(0,_.K8)(e)||(0,_.x1)(e);return n&&r}async function D(t,e,n,r){if(T())return(0,o.NO)(r);if(Array.isArray(t)){for(const{source:e,dest:n,options:o}of t)if(e&&n&&!W(e,n,o))return N(r)}else if(t&&e&&!W(t,e,n))return N(r);return(0,o.NO)(r)}function K(t,e,n){return t?(0,A.fT)(t)?J(t,e,new p.A,n,0):(0,A.ZC)(t)?it(t,e,new c.A,n,0):(0,A.Bi)(t)?rt(t,e,new d.A,n,0):(0,A.Rg)(t)?et(t,e,new m.A,n,0):(0,A.U9)(t)?Q(t,e,new h.A,n,0):null:null}function V(t,e,n=e.spatialReference,r=0){return null!=n&&null!=t.spatialReference&&null!=J(t,t.spatialReference,e,n,r)}function J(t,e,n,r,o){ut[0]=t.x,ut[1]=t.y;const i=t.z;return ut[2]=void 0!==i?i:o,(0,x.projectBuffer)(ut,e,0,ut,r,0)?(n.x=ut[0],n.y=ut[1],n.spatialReference=r,void 0!==i||(0,u.xP)(r)?(n.z=ut[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),n):null}function H(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=Q(t,t.spatialReference,e,n,r)}function Q(t,e,n,r,o){const{points:i,hasZ:s,hasM:a}=t,l=[],u=i.length,c=[];for(const t of i)c.push(t[0],t[1],s?t[2]:o);if(!(0,x.projectBuffer)(c,e,0,c,r,0,u))return null;const f=lt(s,r);for(let t=0;t<u;++t){const e=3*t,n=c[e],r=c[e+1];f&&a?l.push([n,r,c[e+2],i[t][3]]):f?l.push([n,r,c[e+2]]):a?l.push([n,r,i[t][2]]):l.push([n,r])}return n.points=l,n.spatialReference=r,n.hasZ=s,n.hasM=a,n}function tt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=et(t,t.spatialReference,e,n,r)}function et(t,e,n,r,o){const{curvePaths:i,paths:s,hasZ:a,hasM:l}=t;if(!(i?at(i,a??!1,l??!1,e,n.curvePaths=[],r,o):st(s,a??!1,l??!1,e,n.paths,r,o)))return null;const u=lt(a,r);return n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function nt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=rt(t,t.spatialReference,e,n,r)}function rt(t,e,n,r,o){const{curveRings:i,rings:s,hasZ:a,hasM:l}=t;return(i?at(i,a??!1,l??!1,e,n.curveRings=[],r,o):st(s,a??!1,l??!1,e,n.rings,r,o))?(n.spatialReference=r,n.hasZ=lt(a,r),n.hasM=l,n):null}function ot(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=it(t,t.spatialReference,e,n,r)}function it(t,e,n,r,o){const{xmin:i,ymin:s,xmax:a,ymax:l,hasZ:u,hasM:c}=t;if(!v(i,s,u?t.zmin:o,e,ut,r))return null;const f=lt(u,r);return n.xmin=ut[0],n.ymin=ut[1],f&&(n.zmin=ut[2]),v(a,l,u?t.zmax:o,e,ut,r)?(n.xmax=ut[0],n.ymax=ut[1],f&&(n.zmax=ut[2]),c&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=r,n):null}function st(t,e,n,r,o,i,s=0){const a=new Array;for(const n of t)for(const t of n)a.push(t[0],t[1],e?t[2]:s);if(!(0,x.projectBuffer)(a,r,0,a,i,0))return!1;let l=0;o.length=0;const u=e?3:2,c=lt(e,i);for(const e of t){const t=new Array;for(const r of e){const e=a.slice(l,l+=3);c||e.pop(),n&&e.push(r[u]),t.push(e)}o.push(t)}return!0}function at(t,e,n,r,o,i,s=0){const a=new Array;for(const n of t)for(const t of n){if((0,R.FG)(t))return!1;if((0,R.aO)(t)){const[n,r]=t.c;a.push(n[0],n[1],e?n[2]:s,r[0],r[1],s);continue}if((0,R.n1)(t)){const[n,r,o]=t.b;a.push(n[0],n[1],e?n[2]:s,r[0],r[1],s,o[0],o[1],s);continue}const n=t;a.push(n[0],n[1],e?n[2]:s)}if(!(0,x.projectBuffer)(a,r,0,a,i,0))return!1;let l=0;o.length=0;const u=e?3:2,c=lt(e,i);for(const e of t){const t=new Array;for(const r of e){const e=a.slice(l,l+=3);if(c||e.pop(),n&&e.push((0,R.yP)(r)[u]),(0,R.FG)(r))return!1;if((0,R.aO)(r)){const n=a[l++],r=a[l++];++l,t.push({c:[e,[n,r]]});continue}if((0,R.n1)(r)){const n=a[l++],r=a[l++];++l;const o=a[l++],i=a[l++];++l,t.push({b:[e,[n,r],[o,i]]});continue}t.push(e)}o.push(t)}return!0}function lt(t,e){return t||(0,u.xP)(e)||(0,_.aI)(e,y.Y0)}const ut=(0,a.vt)()},95488(t,e,n){n.d(e,{I:()=>o});var r=n(11406);class o extends r.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},95696(t,e,n){n.d(e,{A:()=>u});var r,o=n(5482),i=n(69540),s=n(25482),a=n(91429),l=n(93223);let u=class extends((0,i.OU)(s.o)){static{r=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,o.Cg)([(0,l.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,o.Cg)([(0,a.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,o.Cg)([(0,a.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},98764(t,e,n){n.d(e,{GD:()=>s,Y0:()=>u,lO:()=>c});var r=n(73941),o=n(16930),i=n(21325);const s=new o.A(r.fv),a=new o.A(r.FY),l=new o.A(r.LJ),u=new o.A(r.Ro);function c(t){const e=f.get(t);if(e)return e;let n=s;if(t)if(t===a)n=a;else if(t===l)n=l;else{const e=t.wkid,r=t.latestWkid;if(null!=e||null!=r)(0,i.tl)(e)||(0,i.tl)(r)?n=a:((0,i.ZL)(e)||(0,i.ZL)(r))&&(n=l);else{const e=t.wkt2??t.wkt;if(e){const t=e.toUpperCase();t===h?n=a:t===p&&(n=l)}}}return f.set(t,n),n}const f=new Map,h=a.wkt.toUpperCase(),p=l.wkt.toUpperCase()},99157(t,e,n){n.d(e,{A:()=>a});var r,o=n(5482),i=n(69622),s=n(91429);let a=r=class extends i.A{constructor(t){super(t),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,o.Cg)([(0,s.MZ)()],a.prototype,"isInverse",void 0),(0,o.Cg)([(0,s.MZ)()],a.prototype,"wkt",void 0),(0,o.Cg)([(0,s.MZ)()],a.prototype,"wkid",void 0),a=r=(0,o.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);