@arcgis/core 5.1.0-next.13 → 5.1.0-next.15

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 (772) hide show
  1. package/Camera.d.ts +1 -1
  2. package/Ground.d.ts +7 -7
  3. package/PopupTemplate.d.ts +6 -6
  4. package/WebScene.d.ts +1 -1
  5. package/analysis/AreaMeasurementAnalysis.d.ts +1 -1
  6. package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
  7. package/analysis/LengthDimension.d.ts +4 -4
  8. package/analysis/ShadowCastAnalysis.d.ts +3 -3
  9. package/analysis/SliceAnalysis.d.ts +1 -1
  10. package/analysis/SlicePlane.d.ts +1 -1
  11. package/applications/Components/SketchTooltipControls.d.ts +3 -2
  12. package/applications/Components/SketchTooltipControls.js +1 -1
  13. package/assets/esri/core/t9n/Units_ar.json +1 -1
  14. package/assets/esri/core/t9n/Units_bg.json +1 -1
  15. package/assets/esri/core/t9n/Units_bs.json +1 -1
  16. package/assets/esri/core/t9n/Units_ca.json +1 -1
  17. package/assets/esri/core/t9n/Units_cs.json +1 -1
  18. package/assets/esri/core/t9n/Units_da.json +1 -1
  19. package/assets/esri/core/t9n/Units_de.json +1 -1
  20. package/assets/esri/core/t9n/Units_el.json +1 -1
  21. package/assets/esri/core/t9n/Units_es.json +1 -1
  22. package/assets/esri/core/t9n/Units_et.json +1 -1
  23. package/assets/esri/core/t9n/Units_fi.json +1 -1
  24. package/assets/esri/core/t9n/Units_fr.json +1 -1
  25. package/assets/esri/core/t9n/Units_he.json +1 -1
  26. package/assets/esri/core/t9n/Units_hr.json +1 -1
  27. package/assets/esri/core/t9n/Units_hu.json +1 -1
  28. package/assets/esri/core/t9n/Units_id.json +1 -1
  29. package/assets/esri/core/t9n/Units_it.json +1 -1
  30. package/assets/esri/core/t9n/Units_ja.json +1 -1
  31. package/assets/esri/core/t9n/Units_ko.json +1 -1
  32. package/assets/esri/core/t9n/Units_lt.json +1 -1
  33. package/assets/esri/core/t9n/Units_lv.json +1 -1
  34. package/assets/esri/core/t9n/Units_nl.json +1 -1
  35. package/assets/esri/core/t9n/Units_no.json +1 -1
  36. package/assets/esri/core/t9n/Units_pl.json +1 -1
  37. package/assets/esri/core/t9n/Units_pt-BR.json +1 -1
  38. package/assets/esri/core/t9n/Units_pt-PT.json +1 -1
  39. package/assets/esri/core/t9n/Units_ro.json +1 -1
  40. package/assets/esri/core/t9n/Units_ru.json +1 -1
  41. package/assets/esri/core/t9n/Units_sk.json +1 -1
  42. package/assets/esri/core/t9n/Units_sl.json +1 -1
  43. package/assets/esri/core/t9n/Units_sr.json +1 -1
  44. package/assets/esri/core/t9n/Units_sv.json +1 -1
  45. package/assets/esri/core/t9n/Units_th.json +1 -1
  46. package/assets/esri/core/t9n/Units_tr.json +1 -1
  47. package/assets/esri/core/t9n/Units_uk.json +1 -1
  48. package/assets/esri/core/t9n/Units_vi.json +1 -1
  49. package/assets/esri/core/t9n/Units_zh-CN.json +1 -1
  50. package/assets/esri/core/t9n/Units_zh-HK.json +1 -1
  51. package/assets/esri/core/t9n/Units_zh-TW.json +1 -1
  52. package/assets/esri/core/workers/RemoteClient.js +1 -1
  53. package/assets/esri/core/workers/chunks/0184b4c0c92c76c60ab2.js +1 -0
  54. package/assets/esri/core/workers/chunks/07317f6b57c1314db442.js +1 -0
  55. package/assets/esri/core/workers/chunks/{56a296cb5c1ae1ea5ab2.js → 08616877b58b518e7461.js} +1 -1
  56. package/assets/esri/core/workers/chunks/089cef7124173a5cd5f9.js +1 -0
  57. package/assets/esri/core/workers/chunks/{4d438627dd3509f65d5a.js → 0baa0d66003d23cc76a7.js} +1 -1
  58. package/assets/esri/core/workers/chunks/0e216f0075fd531c3a2b.js +1 -0
  59. package/assets/esri/core/workers/chunks/{d5314786df52b6be5307.js → 0e6ffb02a929130ddb50.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{ae0a555b047b11aa68eb.js → 1219b588f983b4f35033.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{41fe4d8fe97388498f73.js → 13512a23655258fa77f4.js} +1 -1
  62. package/assets/esri/core/workers/chunks/{ee34f14bbfe619b85a80.js → 13e913aa5f5113fceb16.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{d621cdd0aef6d77986f0.js → 1469e6d1d0d4e310b8f8.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{b9e90875943703486227.js → 15ba0296403dd4152b88.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{7595c52b1647f092c61a.js → 16abc548724e428c325a.js} +1 -1
  66. package/assets/esri/core/workers/chunks/{dddcae86e434d93b10c0.js → 189e22df73414a1a3989.js} +1 -1
  67. package/assets/esri/core/workers/chunks/{90aeef17af12cfbecb36.js → 1d124a55f6804be19e09.js} +1 -1
  68. package/assets/esri/core/workers/chunks/{63831996ad82bd3b1ca9.js → 1e29a114c1cfe21121c4.js} +1 -1
  69. package/assets/esri/core/workers/chunks/{153a9d087e0fe7072af4.js → 1ede5fa7a16839ed9444.js} +1 -1
  70. package/assets/esri/core/workers/chunks/{6b1e1fb4e9010873c171.js → 1f30558e3ad6ac68bdb8.js} +1 -1
  71. package/assets/esri/core/workers/chunks/{9c06b803912fcafa7f52.js → 24dd404612c35f6a3fc3.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{b6e155b42a4a423139e7.js → 27d1f8279df34d8b15b5.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{401af6d07c9f458ae067.js → 2c69d8bb1c950b95278d.js} +1 -1
  74. package/assets/esri/core/workers/chunks/{22d12c309af9c19a1a48.js → 2c7e5b78d94e5850537b.js} +1 -1
  75. package/assets/esri/core/workers/chunks/{120a5fa9b46084cd0c45.js → 2d376f82cdf020e1fca9.js} +1 -1
  76. package/assets/esri/core/workers/chunks/{8c321c6bc344544ebb51.js → 2d52b137ee64469a46b2.js} +1 -1
  77. package/assets/esri/core/workers/chunks/{5b3f2bad61a0d993bf16.js → 2e63e18df96e5a2461de.js} +1 -1
  78. package/assets/esri/core/workers/chunks/{d4da3abbd3d88cd63cb9.js → 454150571b5b664b576a.js} +1 -1
  79. package/assets/esri/core/workers/chunks/4740d319f233b7f528fe.js +1 -0
  80. package/assets/esri/core/workers/chunks/{78ce6fcb72e97d3dc087.js → 499d594dc0d282dfe777.js} +1 -1
  81. package/assets/esri/core/workers/chunks/49d58bacb5b397246978.js +1 -0
  82. package/assets/esri/core/workers/chunks/4ba4aa6c75e3f8950e65.js +1 -0
  83. package/assets/esri/core/workers/chunks/{61ce373f00a0cad113ed.js → 4f2c29168c9de0b08741.js} +1 -1
  84. package/assets/esri/core/workers/chunks/{5789898948cc0da78b8b.js → 552e5c413828e181f89a.js} +1 -1
  85. package/assets/esri/core/workers/chunks/{5210bde0a05ab172ab28.js → 59f955c7d6b0589e7cc6.js} +1 -1
  86. package/assets/esri/core/workers/chunks/{5fe0bed2a0a9f8eadb28.js → 5a347b1d87eb6f710136.js} +1 -1
  87. package/assets/esri/core/workers/chunks/5b97cdeb5949822fbef3.js +1 -0
  88. package/assets/esri/core/workers/chunks/{d9dc3962535616a06e2f.js → 5cd614f50e8925eeeaf4.js} +1 -1
  89. package/assets/esri/core/workers/chunks/{178c91fabf4a87bbb50b.js → 620d7cd0b0885122aa0f.js} +1 -1
  90. package/assets/esri/core/workers/chunks/6321680c8070dffa3b6c.js +1 -0
  91. package/assets/esri/core/workers/chunks/6997b4d5bcc9c4755375.js +1 -0
  92. package/assets/esri/core/workers/chunks/{b79cceeee3ed46f218a0.js → 69ab42b965bccc3bad4f.js} +1 -1
  93. package/assets/esri/core/workers/chunks/{bb4c75479cfea67cf8a2.js → 6af14a0217077d9ab47f.js} +1 -1
  94. package/assets/esri/core/workers/chunks/{672542d0435fbfd0647c.js → 6b3d8280a24f7a3aac40.js} +1 -1
  95. package/assets/esri/core/workers/chunks/{3d78e9b3c97c0ce21d16.js → 7017c2e621236c7a7da4.js} +1 -1
  96. package/assets/esri/core/workers/chunks/7407a1e0cef508116a0b.js +1 -0
  97. package/assets/esri/core/workers/chunks/{da188d0e22ba1639928e.js → 75907e5d009b71ce723b.js} +1 -1
  98. package/assets/esri/core/workers/chunks/{1ab4289195f5e46c6fe8.js → 78936c591fd49ff955a9.js} +1 -1
  99. package/assets/esri/core/workers/chunks/{f0b8de5b3cfbe9223df6.js → 796f5265747ce8be910e.js} +1 -1
  100. package/assets/esri/core/workers/chunks/{ac62411b9b4cf85a4722.js → 7a037fbfd91dd22e3bf0.js} +1 -1
  101. package/assets/esri/core/workers/chunks/{50661f65a9c191f528bc.js → 7ee7529fcbd0d169047c.js} +1 -1
  102. package/assets/esri/core/workers/chunks/7f60309d211c49721265.js +1 -0
  103. package/assets/esri/core/workers/chunks/7f9b0ef7f9b3f3fd3df9.js +1 -0
  104. package/assets/esri/core/workers/chunks/{82a446e8befe9d29c8f0.js → 822a115c7d718e4e3d2b.js} +1 -1
  105. package/assets/esri/core/workers/chunks/{6789ddaa61e6d8f20d04.js → 8eea620f770576d18809.js} +1 -1
  106. package/assets/esri/core/workers/chunks/{10c4f5afe14c0addc418.js → 9332db133a0925d522fe.js} +1 -1
  107. package/assets/esri/core/workers/chunks/{bc87890d00d6dba979b2.js → 99c9f35a29f9f6c9e4ce.js} +1 -1
  108. package/assets/esri/core/workers/chunks/{455fbddd814e4681f0c0.js → a5e91cf150f6cf6a5d2a.js} +1 -1
  109. package/assets/esri/core/workers/chunks/{948ce2c199973f793651.js → a60a84c8c45f6d03443f.js} +1 -1
  110. package/assets/esri/core/workers/chunks/{eb4a2dc5efdb873a7f25.js → aef2832902b270f1a594.js} +1 -1
  111. package/assets/esri/core/workers/chunks/{b5fc0a2480a229e8891a.js → b5f291e8ed7f7cac158d.js} +1 -1
  112. package/assets/esri/core/workers/chunks/bd05e68b00b9878d0266.js +1 -0
  113. package/assets/esri/core/workers/chunks/{9a43065e51df9c21c9fa.js → bdb4f216ae8881b98604.js} +1 -1
  114. package/assets/esri/core/workers/chunks/c080e189764d8bb9cf25.js +1 -0
  115. package/assets/esri/core/workers/chunks/{bf9b2aa2e67ca746ec7c.js → c15f0769a64863cccef0.js} +1 -1
  116. package/assets/esri/core/workers/chunks/{27c8dea6154eb8c36fed.js → c53048b0f153b251d792.js} +1 -1
  117. package/assets/esri/core/workers/chunks/c6e0ada6f2ad74fddfec.js +1 -0
  118. package/assets/esri/core/workers/chunks/cf09408cb7729126caae.js +1 -0
  119. package/assets/esri/core/workers/chunks/e0565849281ffbe8269e.js +1 -0
  120. package/assets/esri/core/workers/chunks/e1ba6f857ca12f154e77.js +1 -0
  121. package/assets/esri/core/workers/chunks/{4ef60a76eeca20bcafb1.js → e4f1e584f89ffb86206b.js} +1 -1
  122. package/assets/esri/core/workers/chunks/{2889e782ed81bb05b9e5.js → e508f8e707eb3207cfcc.js} +1 -1
  123. package/assets/esri/core/workers/chunks/{2216264b22a605a0f1ce.js → e60684918100666bb892.js} +1 -1
  124. package/assets/esri/core/workers/chunks/{4550b7620932cd6de20e.js → e94448b371cd17d7a472.js} +1 -1
  125. package/assets/esri/core/workers/chunks/{bb8530ade7c40a1ed7c4.js → eb9e913fe0dfcc71cf92.js} +1 -1
  126. package/assets/esri/core/workers/chunks/ede1d1cc2f315a34f4ca.js +1 -0
  127. package/assets/esri/core/workers/chunks/{a5bd7e5d71cffde68f89.js → ee89564d11c077169b31.js} +1 -1
  128. package/assets/esri/core/workers/chunks/f17a301516f008abef3a.js +1 -0
  129. package/assets/esri/core/workers/chunks/{b3cc7f6d953bfbc3a70d.js → f62e37863a549f72093c.js} +1 -1
  130. package/assets/esri/core/workers/chunks/fc98b8351be567d3eb62.js +1 -0
  131. package/assets/esri/core/workers/chunks/fda0f4469d9cda637af4.js +1 -0
  132. package/assets/esri/core/workers/chunks/{554f389f99db430b309c.js → ff961bb6d29ab3fe129d.js} +1 -1
  133. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  134. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  135. package/assets/esri/themes/base/widgets/_Attribution.scss +4 -2
  136. package/assets/esri/themes/dark/main.css +1 -1
  137. package/assets/esri/themes/light/main.css +1 -1
  138. package/assets/esri/themes/light/view.css +1 -1
  139. package/assets/esri/widgets/Directions/t9n/Directions_ar.json +1 -1
  140. package/assets/esri/widgets/Directions/t9n/Directions_bg.json +1 -1
  141. package/assets/esri/widgets/Directions/t9n/Directions_bs.json +1 -1
  142. package/assets/esri/widgets/Directions/t9n/Directions_ca.json +1 -1
  143. package/assets/esri/widgets/Directions/t9n/Directions_cs.json +1 -1
  144. package/assets/esri/widgets/Directions/t9n/Directions_da.json +1 -1
  145. package/assets/esri/widgets/Directions/t9n/Directions_de.json +1 -1
  146. package/assets/esri/widgets/Directions/t9n/Directions_el.json +1 -1
  147. package/assets/esri/widgets/Directions/t9n/Directions_es.json +1 -1
  148. package/assets/esri/widgets/Directions/t9n/Directions_et.json +1 -1
  149. package/assets/esri/widgets/Directions/t9n/Directions_fi.json +1 -1
  150. package/assets/esri/widgets/Directions/t9n/Directions_fr.json +1 -1
  151. package/assets/esri/widgets/Directions/t9n/Directions_he.json +1 -1
  152. package/assets/esri/widgets/Directions/t9n/Directions_hr.json +1 -1
  153. package/assets/esri/widgets/Directions/t9n/Directions_hu.json +1 -1
  154. package/assets/esri/widgets/Directions/t9n/Directions_id.json +1 -1
  155. package/assets/esri/widgets/Directions/t9n/Directions_it.json +1 -1
  156. package/assets/esri/widgets/Directions/t9n/Directions_ja.json +1 -1
  157. package/assets/esri/widgets/Directions/t9n/Directions_ko.json +1 -1
  158. package/assets/esri/widgets/Directions/t9n/Directions_lt.json +1 -1
  159. package/assets/esri/widgets/Directions/t9n/Directions_lv.json +1 -1
  160. package/assets/esri/widgets/Directions/t9n/Directions_nl.json +1 -1
  161. package/assets/esri/widgets/Directions/t9n/Directions_no.json +1 -1
  162. package/assets/esri/widgets/Directions/t9n/Directions_pl.json +1 -1
  163. package/assets/esri/widgets/Directions/t9n/Directions_pt-BR.json +1 -1
  164. package/assets/esri/widgets/Directions/t9n/Directions_pt-PT.json +1 -1
  165. package/assets/esri/widgets/Directions/t9n/Directions_ro.json +1 -1
  166. package/assets/esri/widgets/Directions/t9n/Directions_ru.json +1 -1
  167. package/assets/esri/widgets/Directions/t9n/Directions_sk.json +1 -1
  168. package/assets/esri/widgets/Directions/t9n/Directions_sl.json +1 -1
  169. package/assets/esri/widgets/Directions/t9n/Directions_sr.json +1 -1
  170. package/assets/esri/widgets/Directions/t9n/Directions_sv.json +1 -1
  171. package/assets/esri/widgets/Directions/t9n/Directions_th.json +1 -1
  172. package/assets/esri/widgets/Directions/t9n/Directions_tr.json +1 -1
  173. package/assets/esri/widgets/Directions/t9n/Directions_uk.json +1 -1
  174. package/assets/esri/widgets/Directions/t9n/Directions_vi.json +1 -1
  175. package/assets/esri/widgets/Directions/t9n/Directions_zh-CN.json +1 -1
  176. package/assets/esri/widgets/Directions/t9n/Directions_zh-HK.json +1 -1
  177. package/assets/esri/widgets/Directions/t9n/Directions_zh-TW.json +1 -1
  178. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  179. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  180. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  181. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  182. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  183. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  184. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  185. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  186. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  187. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  188. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  189. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  190. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  191. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  192. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  193. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  194. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  195. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  196. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  197. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  198. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  199. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  200. package/assets/esri/widgets/Editor/t9n/Editor_no.json +1 -1
  201. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  202. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  203. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  204. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  205. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  206. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  207. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  208. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  209. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  210. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  211. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  212. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  213. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  214. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  215. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  216. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  217. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  218. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  219. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  220. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  221. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  222. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  223. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  224. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  225. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  226. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  227. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  228. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  229. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  230. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  231. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  232. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  233. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  234. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  235. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  236. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  237. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  238. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  239. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  240. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  241. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  242. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  243. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  244. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  245. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  246. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  247. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  248. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  249. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  250. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  251. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  252. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  253. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  254. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  255. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  256. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  257. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  258. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  259. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  260. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  261. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  262. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  263. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  264. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  265. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  266. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  267. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  268. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  269. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  270. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  271. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  272. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  273. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  274. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  275. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  276. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  277. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  278. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  279. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  280. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  281. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  282. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  283. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  284. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  285. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  286. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  287. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  288. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  289. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  290. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  291. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  292. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  293. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  294. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  295. package/assets/esri/widgets/Sketch/t9n/Sketch_ar.json +1 -1
  296. package/assets/esri/widgets/Sketch/t9n/Sketch_bg.json +1 -1
  297. package/assets/esri/widgets/Sketch/t9n/Sketch_bs.json +1 -1
  298. package/assets/esri/widgets/Sketch/t9n/Sketch_ca.json +1 -1
  299. package/assets/esri/widgets/Sketch/t9n/Sketch_cs.json +1 -1
  300. package/assets/esri/widgets/Sketch/t9n/Sketch_da.json +1 -1
  301. package/assets/esri/widgets/Sketch/t9n/Sketch_de.json +1 -1
  302. package/assets/esri/widgets/Sketch/t9n/Sketch_el.json +1 -1
  303. package/assets/esri/widgets/Sketch/t9n/Sketch_es.json +1 -1
  304. package/assets/esri/widgets/Sketch/t9n/Sketch_et.json +1 -1
  305. package/assets/esri/widgets/Sketch/t9n/Sketch_fi.json +1 -1
  306. package/assets/esri/widgets/Sketch/t9n/Sketch_fr.json +1 -1
  307. package/assets/esri/widgets/Sketch/t9n/Sketch_he.json +1 -1
  308. package/assets/esri/widgets/Sketch/t9n/Sketch_hr.json +1 -1
  309. package/assets/esri/widgets/Sketch/t9n/Sketch_hu.json +1 -1
  310. package/assets/esri/widgets/Sketch/t9n/Sketch_id.json +1 -1
  311. package/assets/esri/widgets/Sketch/t9n/Sketch_it.json +1 -1
  312. package/assets/esri/widgets/Sketch/t9n/Sketch_ja.json +1 -1
  313. package/assets/esri/widgets/Sketch/t9n/Sketch_ko.json +1 -1
  314. package/assets/esri/widgets/Sketch/t9n/Sketch_lt.json +1 -1
  315. package/assets/esri/widgets/Sketch/t9n/Sketch_lv.json +1 -1
  316. package/assets/esri/widgets/Sketch/t9n/Sketch_nl.json +1 -1
  317. package/assets/esri/widgets/Sketch/t9n/Sketch_no.json +1 -1
  318. package/assets/esri/widgets/Sketch/t9n/Sketch_pl.json +1 -1
  319. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-BR.json +1 -1
  320. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-PT.json +1 -1
  321. package/assets/esri/widgets/Sketch/t9n/Sketch_ro.json +1 -1
  322. package/assets/esri/widgets/Sketch/t9n/Sketch_ru.json +1 -1
  323. package/assets/esri/widgets/Sketch/t9n/Sketch_sk.json +1 -1
  324. package/assets/esri/widgets/Sketch/t9n/Sketch_sl.json +1 -1
  325. package/assets/esri/widgets/Sketch/t9n/Sketch_sr.json +1 -1
  326. package/assets/esri/widgets/Sketch/t9n/Sketch_sv.json +1 -1
  327. package/assets/esri/widgets/Sketch/t9n/Sketch_th.json +1 -1
  328. package/assets/esri/widgets/Sketch/t9n/Sketch_tr.json +1 -1
  329. package/assets/esri/widgets/Sketch/t9n/Sketch_uk.json +1 -1
  330. package/assets/esri/widgets/Sketch/t9n/Sketch_vi.json +1 -1
  331. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-CN.json +1 -1
  332. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-HK.json +1 -1
  333. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-TW.json +1 -1
  334. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ar.json +1 -1
  335. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bg.json +1 -1
  336. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bs.json +1 -1
  337. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ca.json +1 -1
  338. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_cs.json +1 -1
  339. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_da.json +1 -1
  340. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_de.json +1 -1
  341. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_el.json +1 -1
  342. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_es.json +1 -1
  343. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_et.json +1 -1
  344. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fi.json +1 -1
  345. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fr.json +1 -1
  346. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_he.json +1 -1
  347. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hr.json +1 -1
  348. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hu.json +1 -1
  349. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_id.json +1 -1
  350. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_it.json +1 -1
  351. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ja.json +1 -1
  352. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ko.json +1 -1
  353. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lt.json +1 -1
  354. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lv.json +1 -1
  355. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_nl.json +1 -1
  356. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_no.json +1 -1
  357. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pl.json +1 -1
  358. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-BR.json +1 -1
  359. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-PT.json +1 -1
  360. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ro.json +1 -1
  361. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ru.json +1 -1
  362. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sk.json +1 -1
  363. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sl.json +1 -1
  364. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sr.json +1 -1
  365. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sv.json +1 -1
  366. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_th.json +1 -1
  367. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_tr.json +1 -1
  368. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_uk.json +1 -1
  369. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_vi.json +1 -1
  370. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-CN.json +1 -1
  371. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-HK.json +1 -1
  372. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-TW.json +1 -1
  373. package/chunks/Fog.glsl.js +1 -1
  374. package/config.js +1 -1
  375. package/core/has.js +1 -1
  376. package/core/sql/types.d.ts +398 -86
  377. package/core/types.d.ts +5 -0
  378. package/core/workers/workerFactory.js +1 -1
  379. package/editing/sharedTemplates/executor/builders/radialLines.js +1 -1
  380. package/editing/sharedTemplates/executor/builders/support/shapeUtils.js +1 -1
  381. package/effects/FocusAreas.d.ts +1 -1
  382. package/form/elements/FieldElement.d.ts +1 -1
  383. package/form/elements/GroupElement.d.ts +1 -1
  384. package/form/elements/TextElement.d.ts +1 -1
  385. package/form/elements/inputs/ComboBoxInput.d.ts +1 -1
  386. package/form/elements/inputs/RadioButtonsInput.d.ts +1 -1
  387. package/form/elements/inputs/SwitchInput.d.ts +1 -1
  388. package/geometry/Mesh.d.ts +7 -7
  389. package/geometry/operators/alphaShapeOperator.d.ts +1 -1
  390. package/geometry/operators/areaOperator.d.ts +1 -1
  391. package/geometry/operators/bufferOperator.d.ts +1 -1
  392. package/geometry/operators/centroidOperator.d.ts +1 -1
  393. package/geometry/operators/clipOperator.d.ts +1 -1
  394. package/geometry/operators/containsOperator.d.ts +1 -1
  395. package/geometry/operators/convexHullOperator.d.ts +1 -1
  396. package/geometry/operators/crossesOperator.d.ts +1 -1
  397. package/geometry/operators/cutOperator.d.ts +1 -1
  398. package/geometry/operators/densifyOperator.d.ts +1 -1
  399. package/geometry/operators/differenceOperator.d.ts +1 -1
  400. package/geometry/operators/disjointOperator.d.ts +1 -1
  401. package/geometry/operators/distanceOperator.d.ts +1 -1
  402. package/geometry/operators/generalizeOperator.d.ts +1 -1
  403. package/geometry/operators/geodesicProximityOperator.d.ts +1 -1
  404. package/geometry/operators/geodeticDistanceOperator.d.ts +1 -1
  405. package/geometry/operators/geodeticUtilsOperator.d.ts +2 -2
  406. package/geometry/operators/graphicBufferOperator.d.ts +1 -1
  407. package/geometry/operators/intersectionOperator.d.ts +1 -1
  408. package/geometry/operators/intersectsOperator.d.ts +1 -1
  409. package/geometry/operators/isNearOperator.d.ts +1 -1
  410. package/geometry/operators/lengthOperator.d.ts +1 -1
  411. package/geometry/operators/locateBetweenOperator.d.ts +1 -1
  412. package/geometry/operators/multiPartToSinglePartOperator.d.ts +1 -1
  413. package/geometry/operators/offsetOperator.d.ts +5 -5
  414. package/geometry/operators/overlapsOperator.d.ts +1 -1
  415. package/geometry/operators/proximityOperator.d.ts +1 -1
  416. package/geometry/operators/simplifyOGCOperator.d.ts +1 -1
  417. package/geometry/operators/simplifyOperator.d.ts +1 -1
  418. package/geometry/operators/support/Transformation.d.ts +6 -6
  419. package/geometry/operators/symmetricDifferenceOperator.d.ts +1 -1
  420. package/geometry/operators/touchesOperator.d.ts +1 -1
  421. package/geometry/operators/unionOperator.d.ts +1 -1
  422. package/geometry/operators/withinOperator.d.ts +1 -1
  423. package/geometry/projectionUtils.js +1 -1
  424. package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
  425. package/geometry/support/curves/curveUtils.js +1 -1
  426. package/kernel.js +1 -1
  427. package/layers/BuildingSceneLayer.d.ts +4 -4
  428. package/layers/CSVLayer.d.ts +4 -4
  429. package/layers/CatalogLayer.d.ts +2 -2
  430. package/layers/ElevationLayer.d.ts +1 -1
  431. package/layers/FeatureLayer.d.ts +2 -2
  432. package/layers/GaussianSplatLayer.d.ts +77 -10
  433. package/layers/GeoJSONLayer.d.ts +3 -3
  434. package/layers/GeoRSSLayer.d.ts +1 -1
  435. package/layers/GraphicsLayer.d.ts +2 -2
  436. package/layers/ImageryLayer.d.ts +3 -3
  437. package/layers/ImageryTileLayer.d.ts +2 -2
  438. package/layers/IntegratedMesh3DTilesLayer.d.ts +6 -6
  439. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  440. package/layers/IntegratedMeshLayer.d.ts +7 -7
  441. package/layers/Layer.d.ts +2 -0
  442. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  443. package/layers/MapImageLayer.d.ts +1 -1
  444. package/layers/MediaLayer.d.ts +1 -1
  445. package/layers/OGCFeatureLayer.d.ts +2 -2
  446. package/layers/PointCloudLayer.d.ts +1 -1
  447. package/layers/SceneLayer.d.ts +9 -9
  448. package/layers/StreamLayer.d.ts +2 -2
  449. package/layers/VectorTileLayer.d.ts +2 -2
  450. package/layers/VideoLayer.d.ts +1 -1
  451. package/layers/VoxelLayer.d.ts +8 -8
  452. package/layers/WFSLayer.d.ts +6 -6
  453. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
  454. package/layers/graphics/data/QueryEngineResult.js +1 -1
  455. package/layers/graphics/data/SnappingCandidate.js +1 -1
  456. package/layers/mixins/BlendLayer.d.ts +6 -6
  457. package/layers/pointCloudFilters/PointCloudReturnFilter.d.ts +1 -1
  458. package/layers/pointCloudFilters/PointCloudValueFilter.d.ts +1 -1
  459. package/layers/support/ControlPointsGeoreference.d.ts +2 -2
  460. package/layers/support/ControlPointsGeoreference.js +1 -1
  461. package/layers/support/CornersGeoreference.d.ts +2 -2
  462. package/layers/support/CornersGeoreference.js +1 -1
  463. package/layers/support/DimensionalDefinition.d.ts +2 -2
  464. package/layers/support/ExtentAndRotationGeoreference.d.ts +2 -2
  465. package/layers/support/ExtentAndRotationGeoreference.js +1 -1
  466. package/layers/support/FeatureEffect.d.ts +4 -4
  467. package/layers/support/FeatureFilter.d.ts +17 -17
  468. package/layers/support/FeatureReductionBinning.d.ts +1 -1
  469. package/layers/support/FeatureReductionCluster.d.ts +9 -9
  470. package/layers/support/FeatureReductionSelection.d.ts +1 -1
  471. package/layers/support/GeoreferenceBaseMixin.js +2 -0
  472. package/layers/support/LabelClass.d.ts +2 -2
  473. package/layers/support/RasterFunction.d.ts +1 -1
  474. package/layers/support/SceneFilter.d.ts +2 -2
  475. package/layers/support/SceneModification.d.ts +3 -3
  476. package/layers/support/mediaUtils.js +1 -1
  477. package/layers/support/relativeTimeQueryUtils.js +1 -1
  478. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  479. package/layers/types.d.ts +24 -10
  480. package/package.json +1 -1
  481. package/popup/content/AttachmentsContent.d.ts +1 -1
  482. package/popup/content/BarChartMediaInfo.d.ts +1 -1
  483. package/popup/content/ColumnChartMediaInfo.d.ts +1 -1
  484. package/popup/content/FieldsContent.d.ts +1 -1
  485. package/popup/content/ImageMediaInfo.d.ts +1 -1
  486. package/popup/content/LineChartMediaInfo.d.ts +1 -1
  487. package/popup/content/MediaContent.d.ts +1 -1
  488. package/popup/content/PieChartMediaInfo.d.ts +1 -1
  489. package/popup/content/RelationshipContent.d.ts +1 -1
  490. package/popup/content/TextContent.d.ts +1 -1
  491. package/renderers/ClassBreaksRenderer.d.ts +1 -1
  492. package/renderers/DictionaryRenderer.d.ts +1 -1
  493. package/renderers/DotDensityRenderer.d.ts +46 -3
  494. package/renderers/DotDensityRenderer.js +1 -1
  495. package/renderers/FlowRenderer.d.ts +6 -6
  496. package/renderers/HeatmapRenderer.d.ts +3 -3
  497. package/renderers/PieChartRenderer.d.ts +1 -1
  498. package/renderers/RasterShadedReliefRenderer.d.ts +1 -1
  499. package/renderers/Renderer.d.ts +4 -4
  500. package/renderers/SimpleRenderer.d.ts +2 -2
  501. package/renderers/UniqueValueRenderer.d.ts +2 -2
  502. package/renderers/VectorFieldRenderer.d.ts +1 -1
  503. package/renderers/mixins/VisualVariablesMixin.d.ts +12 -12
  504. package/renderers/visualVariables/ColorVariable.d.ts +1 -1
  505. package/renderers/visualVariables/OpacityVariable.d.ts +1 -1
  506. package/renderers/visualVariables/RotationVariable.d.ts +1 -1
  507. package/renderers/visualVariables/SizeVariable.d.ts +1 -1
  508. package/renderers/visualVariables/VisualVariable.d.ts +1 -1
  509. package/rest/featureService/FeatureService.js +1 -1
  510. package/rest/print.js +1 -1
  511. package/rest/query/operations/pbfFlatFeatureSet.js +1 -1
  512. package/rest/query/support/AttachmentInfo.d.ts +1 -1
  513. package/rest/support/AutoIntervalBinParameters.d.ts +1 -1
  514. package/rest/support/DateBinParameters.d.ts +1 -1
  515. package/rest/support/FixedBoundariesBinParameters.d.ts +1 -1
  516. package/rest/support/FixedIntervalBinParameters.d.ts +1 -1
  517. package/smartMapping/labels/clusters.d.ts +1 -1
  518. package/smartMapping/popup/clusters.d.ts +2 -2
  519. package/smartMapping/popup/templates.d.ts +1 -1
  520. package/smartMapping/raster/renderers/flow.d.ts +2 -2
  521. package/smartMapping/renderers/color.d.ts +12 -12
  522. package/smartMapping/renderers/predominance.d.ts +3 -3
  523. package/smartMapping/renderers/relationship.d.ts +15 -15
  524. package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
  525. package/smartMapping/symbology/color.d.ts +4 -4
  526. package/smartMapping/symbology/flow.d.ts +2 -2
  527. package/smartMapping/symbology/types.d.ts +18 -18
  528. package/support/actions/ActionButton.d.ts +1 -1
  529. package/support/revision.js +1 -1
  530. package/symbols/CIMSymbol.d.ts +1 -1
  531. package/symbols/ExtrudeSymbol3DLayer.d.ts +21 -11
  532. package/symbols/FillSymbol3DLayer.d.ts +39 -19
  533. package/symbols/IconSymbol3DLayer.d.ts +1 -1
  534. package/symbols/LabelSymbol3D.d.ts +2 -2
  535. package/symbols/LineStyleMarker3D.d.ts +7 -7
  536. package/symbols/LineSymbol3D.d.ts +2 -2
  537. package/symbols/LineSymbol3DLayer.d.ts +7 -7
  538. package/symbols/LineSymbolMarker.d.ts +6 -6
  539. package/symbols/MarkerSymbol.d.ts +1 -1
  540. package/symbols/MeshSymbol3D.d.ts +2 -2
  541. package/symbols/ObjectSymbol3DLayer.d.ts +29 -7
  542. package/symbols/PathSymbol3DLayer.d.ts +32 -20
  543. package/symbols/PictureFillSymbol.d.ts +1 -1
  544. package/symbols/PictureMarkerSymbol.d.ts +1 -1
  545. package/symbols/PointSymbol3D.d.ts +3 -3
  546. package/symbols/PolygonSymbol3D.d.ts +7 -7
  547. package/symbols/SimpleFillSymbol.d.ts +8 -8
  548. package/symbols/SimpleLineSymbol.d.ts +20 -20
  549. package/symbols/SimpleMarkerSymbol.d.ts +7 -7
  550. package/symbols/Symbol3DLayer.d.ts +16 -16
  551. package/symbols/TextSymbol.d.ts +1 -1
  552. package/symbols/TextSymbol3DLayer.d.ts +1 -1
  553. package/symbols/WaterSymbol3DLayer.d.ts +3 -3
  554. package/symbols/WebStyleSymbol.d.ts +1 -1
  555. package/symbols/callouts/Callout3D.d.ts +1 -1
  556. package/symbols/callouts/LineCallout3D.d.ts +3 -3
  557. package/symbols/cim/CIMSymbolHelper.js +1 -1
  558. package/symbols/cim/rasterizingUtils.js +1 -1
  559. package/symbols/cim/types.d.ts +23 -23
  560. package/symbols/edges/Edges3D.d.ts +1 -1
  561. package/symbols/edges/SolidEdges3D.d.ts +1 -1
  562. package/symbols/patterns/LineStylePattern3D.d.ts +11 -11
  563. package/symbols/patterns/StylePattern3D.d.ts +8 -8
  564. package/symbols/support/ElevationInfo.d.ts +4 -4
  565. package/symbols/support/IconSymbol3DLayerResource.d.ts +6 -6
  566. package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -7
  567. package/symbols/support/Symbol3DEmissive.d.ts +19 -6
  568. package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
  569. package/time/TimeExtent.d.ts +1 -1
  570. package/versionManagement/VersionManagementService.d.ts +4 -0
  571. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  572. package/views/2d/interactive/SnappingVisualizer2D.js +1 -1
  573. package/views/2d/layers/BaseLayerViewGL2D.d.ts +1 -1
  574. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  575. package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
  576. package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
  577. package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
  578. package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
  579. package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
  580. package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
  581. package/views/2d/layers/features/sources/FeatureSourceQueryInfo.js +1 -1
  582. package/views/2d/layers/features/sources/strategies/FeaturePagedTileLoadStrategy.js +1 -1
  583. package/views/2d/layers/features/sources/strategies/FeatureSnapshotLoadStrategy.js +1 -1
  584. package/views/2d/layers/features/sources/strategies/chunks/SourceChunkStore.js +1 -1
  585. package/views/2d/layers/support/RouteLayerWaypointVisualization.js +1 -1
  586. package/views/2d/types.d.ts +3 -3
  587. package/views/3d/environment/CloudyWeather.d.ts +1 -1
  588. package/views/3d/environment/Environment.d.ts +4 -4
  589. package/views/3d/environment/FoggyWeather.d.ts +1 -1
  590. package/views/3d/environment/RainyWeather.d.ts +1 -1
  591. package/views/3d/environment/SnowyWeather.d.ts +1 -1
  592. package/views/3d/environment/SunLighting.d.ts +1 -1
  593. package/views/3d/environment/SunnyWeather.d.ts +1 -1
  594. package/views/3d/environment/VirtualLighting.d.ts +1 -1
  595. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  596. package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
  597. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  598. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  599. package/views/3d/layers/support/featureTileQuery3D.js +1 -1
  600. package/views/3d/webgl/RenderNode.d.ts +2 -2
  601. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  602. package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
  603. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  604. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  605. package/views/3d/webgl-engine/materials/LineCalloutMaterialBaseInstance.js +2 -0
  606. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  607. package/views/3d/webgl-engine/materials/renderers/VaoWriter.js +1 -1
  608. package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
  609. package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
  610. package/views/3d/webgl-engine/shaders/PatternTechniqueConfiguration.js +1 -1
  611. package/views/3d/webgl.d.ts +1 -1
  612. package/views/LinkChartView.d.ts +1 -1
  613. package/views/Magnifier.d.ts +3 -3
  614. package/views/MapView.d.ts +8 -8
  615. package/views/SceneView.d.ts +18 -18
  616. package/views/View.d.ts +2 -2
  617. package/views/input/types.d.ts +1 -1
  618. package/views/interactive/keybindings.js +1 -1
  619. package/views/interactive/sketch/SketchLabelOptions.d.ts +1 -1
  620. package/views/interactive/sketch/SketchTooltipOptions.d.ts +1 -1
  621. package/views/interactive/snapping/SnappingOptions.d.ts +7 -7
  622. package/views/interactive/snapping/candidates/EdgeSnappingCandidate.js +1 -1
  623. package/views/interactive/snapping/featureSources/GraphicsSnappingSource.js +1 -1
  624. package/views/interactive/snapping/featureSources/queryEngineUtils.js +1 -1
  625. package/views/interactive/snapping/featureSources/snappingCandidateElevationAlignment.js +1 -1
  626. package/views/interactive/snapping/featureSources/snappingCandidateElevationFilter.js +1 -1
  627. package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
  628. package/views/layers/FeatureLikeLayerView.js +1 -1
  629. package/views/layers/support/WhereClauseVisitor.js +1 -1
  630. package/views/support/HighlightOptions.d.ts +1 -1
  631. package/views/ui/DefaultUI.d.ts +2 -2
  632. package/views/webgl/BufferObject.js +1 -1
  633. package/views/webgl/RenderingContext.js +1 -1
  634. package/webscene/Environment.d.ts +16 -11
  635. package/webscene/Glow.d.ts +9 -2
  636. package/webscene/background/ColorBackground.d.ts +1 -1
  637. package/widgets/AreaMeasurement2D.d.ts +1 -1
  638. package/widgets/AreaMeasurement3D.d.ts +2 -2
  639. package/widgets/Attachments.d.ts +1 -1
  640. package/widgets/Attribution.d.ts +1 -1
  641. package/widgets/BasemapGallery.d.ts +1 -1
  642. package/widgets/BasemapLayerList.d.ts +3 -3
  643. package/widgets/BasemapToggle.d.ts +1 -1
  644. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +1 -2
  645. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  646. package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
  647. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.d.ts +0 -1
  648. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +1 -1
  649. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  650. package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +2 -11
  651. package/widgets/BatchAttributeForm/inputs/TextElementInput.js +1 -1
  652. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  653. package/widgets/BatchAttributeForm/inputs/support/textElementInputUtils.js +2 -0
  654. package/widgets/BatchAttributeForm/templates/TextElementTemplate.js +1 -1
  655. package/widgets/BatchAttributeForm/templates/support/constants.js +2 -0
  656. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  657. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  658. package/widgets/BatchAttributeForm/templates/support/textElementTemplateUtils.js +2 -0
  659. package/widgets/BatchAttributeForm.d.ts +0 -2
  660. package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +1 -1
  661. package/widgets/Bookmarks.d.ts +2 -2
  662. package/widgets/BuildingExplorer.d.ts +1 -1
  663. package/widgets/CatalogLayerList.d.ts +3 -3
  664. package/widgets/Compass.d.ts +2 -2
  665. package/widgets/CoordinateConversion.d.ts +1 -1
  666. package/widgets/Daylight.d.ts +5 -5
  667. package/widgets/DirectLineMeasurement3D.d.ts +2 -2
  668. package/widgets/Directions.d.ts +4 -4
  669. package/widgets/DistanceMeasurement2D.d.ts +1 -1
  670. package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
  671. package/widgets/Editor/EditorViewModel.js +1 -1
  672. package/widgets/Editor/components/Settings.js +1 -1
  673. package/widgets/Editor.d.ts +8 -8
  674. package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -1
  675. package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -1
  676. package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +1 -1
  677. package/widgets/ElevationProfile.d.ts +3 -3
  678. package/widgets/Expand.d.ts +1 -1
  679. package/widgets/FeatureForm.d.ts +1 -1
  680. package/widgets/FeatureTable/ActionColumn.d.ts +2 -2
  681. package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
  682. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -3
  683. package/widgets/FeatureTable/Grid/GroupColumn.d.ts +1 -1
  684. package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
  685. package/widgets/FeatureTable/VisibleElements.d.ts +1 -1
  686. package/widgets/FeatureTable.d.ts +10 -10
  687. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +5 -5
  688. package/widgets/FeatureTemplates.d.ts +8 -8
  689. package/widgets/Features/FeaturesViewModel.d.ts +2 -2
  690. package/widgets/Features/FeaturesViewModel.js +1 -1
  691. package/widgets/Features/FeaturesVisibleElements.d.ts +2 -2
  692. package/widgets/Features.d.ts +1 -1
  693. package/widgets/Histogram.d.ts +2 -2
  694. package/widgets/HistogramRangeSlider.d.ts +1 -1
  695. package/widgets/Home.d.ts +1 -1
  696. package/widgets/LayerList/ListItemPanel.d.ts +1 -1
  697. package/widgets/LayerList.d.ts +4 -4
  698. package/widgets/Legend.d.ts +8 -8
  699. package/widgets/LineOfSight.d.ts +1 -1
  700. package/widgets/Locate.d.ts +2 -2
  701. package/widgets/Measurement.d.ts +1 -1
  702. package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
  703. package/widgets/NavigationToggle.d.ts +3 -3
  704. package/widgets/Popup/PopupVisibleElements.d.ts +2 -2
  705. package/widgets/Popup.d.ts +5 -5
  706. package/widgets/Print/CustomTemplate.d.ts +1 -1
  707. package/widgets/Print/PrintViewModel.js +1 -1
  708. package/widgets/Print/TemplateOptions.d.ts +4 -4
  709. package/widgets/ScaleRangeSlider.d.ts +1 -1
  710. package/widgets/Search/SearchViewModel.d.ts +4 -4
  711. package/widgets/Search.d.ts +5 -5
  712. package/widgets/ShadowCast.d.ts +3 -3
  713. package/widgets/Sketch/SketchViewModel.d.ts +39 -39
  714. package/widgets/Sketch.d.ts +43 -43
  715. package/widgets/Sketch.js +1 -1
  716. package/widgets/Slice.d.ts +2 -2
  717. package/widgets/Slider/SliderViewModel.d.ts +2 -2
  718. package/widgets/Slider.d.ts +9 -9
  719. package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
  720. package/widgets/Swipe.d.ts +2 -2
  721. package/widgets/TableList/ListItemPanel.d.ts +1 -1
  722. package/widgets/TableList.d.ts +1 -1
  723. package/widgets/TimeSlider/TimeSliderViewModel.d.ts +9 -11
  724. package/widgets/TimeSlider/types.d.ts +1 -1
  725. package/widgets/TimeSlider.d.ts +12 -14
  726. package/widgets/Track.d.ts +2 -2
  727. package/widgets/UtilityNetworkAssociations.d.ts +3 -3
  728. package/widgets/UtilityNetworkTrace.d.ts +4 -4
  729. package/widgets/UtilityNetworkValidateTopology.d.ts +1 -1
  730. package/widgets/ValuePicker.d.ts +5 -5
  731. package/widgets/VideoPlayer.d.ts +1 -1
  732. package/widgets/smartMapping/ClassedColorSlider.d.ts +1 -1
  733. package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
  734. package/widgets/smartMapping/ColorSizeSlider.d.ts +2 -2
  735. package/widgets/smartMapping/ColorSlider.d.ts +1 -1
  736. package/widgets/smartMapping/HeatmapSlider.d.ts +1 -1
  737. package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
  738. package/widgets/smartMapping/SizeSlider.d.ts +1 -1
  739. package/widgets/smartMapping/SmartMappingSliderBase.d.ts +4 -4
  740. package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +6 -6
  741. package/widgets/support/GridControls.d.ts +1 -1
  742. package/widgets/support/SketchTooltipControls.js +1 -1
  743. package/widgets/support/SnappingControls/VisibleElements.d.ts +1 -1
  744. package/widgets/support/SnappingControls.d.ts +6 -6
  745. package/assets/esri/core/workers/chunks/008887a8014b61f837ae.js +0 -1
  746. package/assets/esri/core/workers/chunks/0c8a676599821b9871c2.js +0 -1
  747. package/assets/esri/core/workers/chunks/2b7615cccbaeda1649f3.js +0 -1
  748. package/assets/esri/core/workers/chunks/2f0ea91afc9aa8ee9cad.js +0 -1
  749. package/assets/esri/core/workers/chunks/3a850b5e847b6b0ea53f.js +0 -1
  750. package/assets/esri/core/workers/chunks/449cf6ae6b6e6c2795e5.js +0 -1
  751. package/assets/esri/core/workers/chunks/529dbf16ffbbd39f3fa2.js +0 -1
  752. package/assets/esri/core/workers/chunks/58cf3d35771b87bd74e5.js +0 -1
  753. package/assets/esri/core/workers/chunks/652bb1b53782cdd3103c.js +0 -1
  754. package/assets/esri/core/workers/chunks/6acab23acf3b044f5215.js +0 -1
  755. package/assets/esri/core/workers/chunks/6c2a7bac3f8e32c83292.js +0 -1
  756. package/assets/esri/core/workers/chunks/6d26e5368e8952003669.js +0 -1
  757. package/assets/esri/core/workers/chunks/7c01e5eaab97a9ae80ad.js +0 -1
  758. package/assets/esri/core/workers/chunks/7cb6ccee9bcef449caea.js +0 -1
  759. package/assets/esri/core/workers/chunks/8235b8267489e1213ce8.js +0 -1
  760. package/assets/esri/core/workers/chunks/879e8439a513cb333b61.js +0 -1
  761. package/assets/esri/core/workers/chunks/956237a2baa30760c256.js +0 -1
  762. package/assets/esri/core/workers/chunks/a027da22acdaa6d6baa3.js +0 -1
  763. package/assets/esri/core/workers/chunks/b60337c471e2b855d02a.js +0 -1
  764. package/assets/esri/core/workers/chunks/bd1bbf1820e12d7a27f6.js +0 -1
  765. package/assets/esri/core/workers/chunks/c546c49960eace69d20a.js +0 -1
  766. package/assets/esri/core/workers/chunks/c9067667290e93407dd7.js +0 -1
  767. package/assets/esri/core/workers/chunks/e4eb14952b7660feecc7.js +0 -1
  768. package/assets/esri/core/workers/chunks/e71d08c6f545c2c70174.js +0 -1
  769. package/assets/esri/core/workers/chunks/f347dee99faa9ee5eef1.js +0 -1
  770. package/layers/support/GeoreferenceBase.d.ts +0 -4
  771. package/layers/support/GeoreferenceBase.js +0 -2
  772. package/widgets/BatchAttributeForm/inputs/support/textInputElementUtils.js +0 -2
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2288],{159(e,n,t){t.d(n,{A:()=>l});var r,o=t(5482),i=t(69622),a=t(91429),s=t(99157);let l=r=class extends i.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let n=this.steps.length-1;n>=0;n--){const t=this.steps[n];e.steps.push(t.getInverse())}return e}};(0,o.Cg)([(0,a.MZ)({type:[s.A],nonNullable:!0})],l.prototype,"steps",void 0),l=r=(0,o.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},9762(e,n,t){t.r(n),t.d(n,{projectBuffer:()=>o});var r=t(49208);function o(e,n,t,o,i,a,s=Math.floor(e.length/3)){const l=(0,r.jd)(n,i);if(null==l)return!1;if(l===r.pO){if(e===o&&t===a)return!0;const n=t+3*s;for(let r=t,i=a;r<n;r++,i++)o[i]=e[r]??0;return!0}const u=t+3*s;for(let n=t,r=a;n<u;n+=3,r+=3)l(e,n,o,r);return!0}},23150(e,n,t){t.d(n,{A:()=>s});var r=t(5482),o=t(91429),i=t(82799),a=t(54238);let s=class extends a.A{constructor(e){super(e),this.originId=null,this.destinationId=null,this.layoutGeometry=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],s.prototype,"originId",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],s.prototype,"destinationId",void 0),(0,r.Cg)([(0,o.MZ)({type:i.A,json:{write:!0}})],s.prototype,"layoutGeometry",void 0),s=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.Relationship")],s)},25927(e,n,t){t.d(n,{A:()=>s});var r=t(5482),o=t(91429),i=t(86738),a=t(54238);let s=class extends a.A{constructor(e){super(e),this.layoutGeometry=null}};(0,r.Cg)([(0,o.MZ)({type:i.A,json:{write:!0}})],s.prototype,"layoutGeometry",void 0),s=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.Entity")],s)},34403(e,n,t){t.d(n,{TP:()=>a});var r=t(79258);Math.PI;const o=r.$O.radius,i=r.$O.eccentricitySquared,a={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},40662(e,n,t){t.d(n,{A:()=>a});var r=t(5482),o=t(91429),i=t(77901);let a=class extends i.A{constructor(e){super(e)}};a=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.ObjectValue")],a)},42095(e,n,t){t.d(n,{A:()=>s});var r=t(5482),o=t(25482),i=t(91429),a=t(77901);let s=class extends o.o{constructor(e){super(e),this.path=[]}};(0,r.Cg)([(0,i.MZ)({type:[a.A],json:{write:!0}})],s.prototype,"path",void 0),s=(0,r.Cg)([(0,i.$K)("esri.rest.knowledgeGraph.Path")],s)},42538(e,n,t){t.d(n,{A:()=>l});var r=t(5482),o=t(91429),i=t(16930),a=t(69622);let s=class extends a.A{constructor(e){super(e),this.openCypherQuery=""}};(0,r.Cg)([(0,o.MZ)()],s.prototype,"openCypherQuery",void 0),s=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.GraphQuery")],s);let l=class extends s{constructor(e){super(e),this.bindParameters=null,this.bindGeometryQuantizationParameters=null,this.outputQuantizationParameters=null,this.outputSpatialReference=null,this.provenanceBehavior=null}};(0,r.Cg)([(0,o.MZ)()],l.prototype,"bindParameters",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"bindGeometryQuantizationParameters",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"outputQuantizationParameters",void 0),(0,r.Cg)([(0,o.MZ)({type:i.A})],l.prototype,"outputSpatialReference",void 0),(0,r.Cg)([(0,o.MZ)()],l.prototype,"provenanceBehavior",void 0),l=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.GraphQueryStreaming")],l)},49208(e,n,t){t.d(n,{Tp:()=>p,jd:()=>c,pO:()=>d,w5:()=>u});var r=t(34727),o=t(86211),i=t(73941),a=t(79258),s=t(34403),l=t(21325);const u={2:{5:d,7:null,9:null,10:d,1:A,6:null,8:null,0:null,3:g,11:m,2:d,4:C},5:{5:d,7:null,9:null,10:d,1:A,6:null,8:null,0:null,3:g,11:m,2:d,4:C},7:{5:null,7:d,9:null,10:d,1:null,6:v,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:d,10:d,1:null,6:null,8:R,0:null,3:null,11:null,2:null,4:null},3:{5:h,7:null,9:null,10:h,1:function(e,n,t,r){const o=e[n]/Z,i=O-2*Math.atan(Math.exp(-e[n+1]/Z)),a=Z+(e[n+2]??0),s=Math.cos(i)*a;t[r]=Math.cos(o)*s,t[r+1]=Math.sin(o)*s,t[r+2]=Math.sin(i)*a},6:null,8:null,0:null,3:d,11:function(e,n,t,r){h(e,n,t,r),m(t,r,t,r)},2:h,4:function(e,n,t,r){h(e,n,t,r),C(t,r,t,r)}},4:{5:I,7:null,9:null,10:I,1:function(e,n,t,r){I(e,n,t,r),A(t,r,t,r)},6:null,8:null,0:null,3:function(e,n,t,r){I(e,n,t,r),g(t,r,t,r)},11:function(e,n,t,r){I(e,n,t,r),m(t,r,t,r)},2:I,4:d},1:{5:x,7:null,9:null,10:x,1:d,6:null,8:null,0:null,3:function(e,n,t,r){x(e,n,t,r),g(t,r,t,r)},11:function(e,n,t,r){x(e,n,t,r),m(t,r,t,r)},2:x,4:function(e,n,t,r){x(e,n,t,r),C(t,r,t,r)}},6:{5:null,7:j,9:null,10:j,1:null,6:d,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:S,10:S,1:null,6:null,8:d,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:d,3:null,11:null,2:null,4:null},10:{5:d,7:d,9:d,10:d,1:A,6:v,8:R,0:null,3:g,11:m,2:d,4:C},11:{5:y,7:null,9:null,10:y,1:function(e,n,t,r){y(e,n,t,r),A(t,r,t,r)},6:null,8:null,0:null,3:function(e,n,t,r){y(e,n,t,r),g(t,r,t,r)},11:d,2:y,4:function(e,n,t,r){y(e,n,t,r),C(t,r,t,r)}}};function c(e,n){return p(e,n)?.projector}function p(e,n){if(null==e||null==n)return null;if(k.source.spatialReference===e&&k.dest.spatialReference===n)return k;const t=f(e,k.source),r=f(n,k.dest);return 0===t&&0===r?(0,l.aI)(e,n)?k.projector=d:k.projector=null:k.projector=u[t][r],k}function f(e,n){return e?n.spatialReference===e?n.spatialReferenceId:(n.spatialReference=e,"metersPerUnit"in n&&(n.metersPerUnit=(0,o.GA)(e,1)),(0,i.jA)(e)?n.spatialReferenceId=1:(0,l.oT)(e)?n.spatialReferenceId=2:(0,l.K8)(e)?n.spatialReferenceId=3:(0,l.r1)(e)?n.spatialReferenceId=11:e.wkt===i.Ro.wkt?n.spatialReferenceId=4:4490===e.wkid?n.spatialReferenceId=5:e.wkt===i.FY.wkt?n.spatialReferenceId=6:e.wkt===i.LJ.wkt?n.spatialReferenceId=8:(0,i.q8)(e)?n.spatialReferenceId=7:(0,i.KQ)(e)?n.spatialReferenceId=9:n.spatialReferenceId=0):0}function d(e,n,t,r){e!==t&&(t[r++]=e[n++],t[r++]=e[n++],t[r]=e[n]??0)}function h(e,n,t,r){t[r]=G*(e[n]/Z),t[r+1]=G*(O-2*Math.atan(Math.exp(-e[n+1]/Z))),t[r+2]=e[n+2]??0}function g(e,n,t,o){!function(e,n,t,o,i){const a=.4999999*Math.PI,s=(0,r.qE)(P*e[n+1],-a,a),l=Math.sin(s);t[o++]=P*e[n]*i.radius,t[o++]=i.halfSemiMajorAxis*Math.log((1+l)/(1-l)),t[o]=e[n+2]??0}(e,n,t,o,a.$O)}function m(e,n,t,r){t[r]=e[n]*$,t[r+1]=e[n+1]*$,t[r+2]=e[n+2]??0}function y(e,n,t,r){t[r]=e[n]*b,t[r+1]=e[n+1]*b,t[r+2]=e[n+2]??0}function w(e,n,t,r,o){const i=o+(e[n+2]??0),a=P*e[n],s=P*e[n+1],l=Math.cos(s)*i;t[r]=Math.cos(a)*l,t[r+1]=Math.sin(a)*l,t[r+2]=Math.sin(s)*i}function R(e,n,t,r){w(e,n,t,r,a.Sw.radius)}function v(e,n,t,r){w(e,n,t,r,a.sH.radius)}function A(e,n,t,r){w(e,n,t,r,a.$O.radius)}function M(e,n,t,o,i){const a=e[n],s=e[n+1],l=e[n+2]??0,u=Math.sqrt(a*a+s*s+l*l),c=(0,r.YN)(l/(0===u?1:u)),p=Math.atan2(s,a);t[o++]=G*p,t[o++]=G*c,t[o]=u-i}function S(e,n,t,r){M(e,n,t,r,a.Sw.radius)}function j(e,n,t,r){M(e,n,t,r,a.sH.radius)}function x(e,n,t,r){M(e,n,t,r,a.$O.radius)}function C(e,n,t,r){!function(e,n,t,r,o){const i=P*e[n],a=P*e[n+1],s=e[n+2]??0,l=Math.sin(a),u=Math.cos(a),c=o.radius/Math.sqrt(1-o.eccentricitySquared*l*l);t[r++]=(c+s)*u*Math.cos(i),t[r++]=(c+s)*u*Math.sin(i),t[r++]=(c*(1-o.eccentricitySquared)+s)*l}(e,n,t,r,a.$O)}function I(e,n,t,r){const o=s.TP,i=e[n],l=e[n+1],u=e[n+2]??0;let c,p,f,d,h,g,m,y,w,R,v,A,M,S,j,x,C,I,k,P,O;c=Math.abs(u),p=i*i+l*l,f=Math.sqrt(p),d=p+u*u,h=Math.sqrt(d),P=Math.atan2(l,i),g=u*u/d,m=p/d,S=o.a2/h,j=o.a3-o.a4/h,m>.3?(y=c/h*(1+m*(o.a1+S+g*j)/h),k=Math.asin(y),R=y*y,w=Math.sqrt(1-R)):(w=f/h*(1-g*(o.a5-S-m*j)/h),k=Math.acos(w),R=1-w*w,y=Math.sqrt(R)),v=1-a.$O.eccentricitySquared*R,A=a.$O.radius/Math.sqrt(v),M=o.a6*A,S=f-A*w,j=c-M*y,C=w*S+y*j,x=w*j-y*S,I=x/(M/v+C),k+=I,O=C+x*I/2,u<0&&(k=-k),t[r++]=G*P,t[r++]=G*k,t[r]=O}const k={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:d},P=(0,r.kU)(1),G=(0,r.KJ)(1),O=.5*Math.PI,Z=a.$O.radius,$=Z*Math.PI/180,b=180/(Z*Math.PI)},54238(e,n,t){t.d(n,{A:()=>a});var r=t(5482),o=t(91429),i=t(77901);let a=class extends i.A{constructor(e){super(e),this.typeName=null,this.id=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"typeName",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"id",void 0),a=(0,r.Cg)([(0,o.$K)("esri.rest.knowledgeGraph.GraphNamedObject")],a)},77901(e,n,t){t.d(n,{A:()=>a});var r=t(5482),o=t(25482),i=t(91429);let a=class extends o.o{constructor(e){super(e),this.properties={}}};(0,r.Cg)([(0,i.MZ)({json:{write:!0}})],a.prototype,"properties",void 0),a=(0,r.Cg)([(0,i.$K)("esri.rest.knowledgeGraph.GraphObject")],a)},80672(e,n,t){t.d(n,{R:()=>o});var r=t(20655);function o(e,n){return null===e?n:new r.A({url:e.field("url")})}},91218(e,n,t){t.r(n),t.d(n,{canProjectWithoutEngine:()=>E,initializeProjection:()=>U,isEqualBaseGCS:()=>Q,isLoaded:()=>Z,isLoadedOrLoad:()=>$,isLoadedOrLoadFor:()=>b,load:()=>K,project:()=>q,projectAsync:()=>F,projectExtent:()=>oe,projectMany:()=>D,projectMultipoint:()=>X,projectOrLoad:()=>z,projectOrLoadMany:()=>B,projectPoint:()=>H,projectPolygon:()=>te,projectPolyline:()=>ee,projectWithoutEngine:()=>Y,requiresLoad:()=>T,test:()=>W,tryProject:()=>N,unload:()=>J});var r=t(49186),o=t(74887),i=t(62788),a=t(95488),s=t(51850),l=t(21276),u=t(73941),c=t(5443),p=t(91075),f=t(48526),d=t(86738),h=t(39829),g=t(82799),m=t(16930),y=t(98764),w=t(159),R=t(9762),v=t(49208);function A(e,n,t,r,o,i){return M[0]=e,M[1]=n,M[2]=t,(0,R.projectBuffer)(M,r,0,o,i,0)}const M=(0,s.vt)();var S=t(60408),j=t(21325),x=t(52006);let C=null,I=null,k=null,P=null,G={};const O=new a.I;function Z(){return!!(I?.isLoaded()&&k?.isLoaded()&&P?.isLoaded())}function $(){return!!Z()||((0,i.gc)(O),K(),!1)}function b(e,n){return!e||!n||E(e,n)||$()}function T(e,n){return!E(e,n)&&!Z()}async function K(e){null==C&&(C=Promise.all([t.e(3276).then(t.bind(t,83276)).then(e=>(I=e,I.load())),t.e(8377).then(t.bind(t,8377)).then(e=>(k=e,k.load())),t.e(2158).then(t.bind(t,12158)).then(e=>(P=e,P.load()))])),await C,(0,o.Te)(e),O.notify()}function q(e,n,t){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),D(e,e[0].spatialReference,n,t)):((0,l.f)(e),D([e],e.spatialReference,n,t)[0])}function D(e,n,t,r){if(null==n||null==t)return e;if(E(n,t,r))return e.map(e=>Y(e,n,t));if(null==r?.geographicTransformation&&(0,u.jA)(n))return D(e.map(e=>Y(e,n,m.A.WGS84)),m.A.WGS84,t,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(t))return D(e,n,m.A.WGS84).map(e=>Y(e,m.A.WGS84,t));if(!Z())throw new L;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:P.getTransformation(n,t,r.areaOfInterestExtent)||new w.A};else if(!r?.areaOfInterestExtent){const e=function(e,n){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",n.wkid?.toString()??"-1",n.wkt?.toString()??"",n.wkt2?.toString()??""].join()}(n,t);let o=G[e];o||(o=P.getTransformation(n,t)||new w.A,G[e]=o),r={geographicTransformation:o,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=n),e[0]instanceof p.A?I.executeMany(e,t,r):k.executeMany(e,t,r)}function N(e,n,t){try{return q(e,n,t)}catch(e){return null}}function z(e,n){const t=B([e],n);return null!=t.pending?{pending:t.pending,geometry:null}:null!=t.geometries?{pending:null,geometry:t.geometries[0]}:{pending:null,geometry:null}}function B(e,n,t){if(!Z())for(const t of e)if(null!=t&&!(0,j.aI)(t.spatialReference,n)&&(0,j.fn)(t.spatialReference)&&(0,j.fn)(n)&&!E(t.spatialReference,n))return(0,i.gc)(O),{pending:K(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,j.aI)(e.spatialReference,n)?e:(0,j.fn)(e.spatialReference)&&(0,j.fn)(n)?q(e,n,t):null)}}class L extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function J(){C=null,I=null,k=null,P=null,G={}}const W={get loadPromise(){return C}};async function F(e,n,t){if((0,o.Te)(t),!e)return e;const r=B(Array.isArray(e)?e:[e],n,t);if(r.pending)return await r.pending,(0,o.Te)(t),F(e,n,t);const i=r.geometries??[];return Array.isArray(e)?i:i[0]}function E(e,n,t){return!(t?.areaOfInterestExtent||t?.extendedParams||t?.geographicTransformation)&&(!!(0,j.aI)(e,n)||(0,j.fn)(e)&&(0,j.fn)(n)&&!!(0,v.jd)(e,n))}function Q(e,n){if((0,j.aI)(e,n))return!0;if(!(0,j.fn)(e)||!(0,j.fn)(n))return!1;const t=(0,j.oT)(e)||(0,j.K8)(e)||(0,j.x1)(e),r=(0,j.oT)(n)||(0,j.K8)(n)||(0,j.x1)(n);return t&&r}async function U(e,n,t,r){if(Z())return(0,o.NO)(r);if(Array.isArray(e)){for(const{source:n,dest:t,options:o}of e)if(n&&t&&!E(n,t,o))return K(r)}else if(e&&n&&!E(e,n,t))return K(r);return(0,o.NO)(r)}function Y(e,n,t){return e?(0,S.fT)(e)?V(e,n,new d.A,t,0):(0,S.ZC)(e)?ie(e,n,new c.A,t,0):(0,S.Bi)(e)?re(e,n,new h.A,t,0):(0,S.Rg)(e)?ne(e,n,new g.A,t,0):(0,S.U9)(e)?_(e,n,new f.A,t,0):null:null}function H(e,n,t=n.spatialReference,r=0){return null!=t&&null!=e.spatialReference&&null!=V(e,e.spatialReference,n,t,r)}function V(e,n,t,r,o){ue[0]=e.x,ue[1]=e.y;const i=e.z;return ue[2]=void 0!==i?i:o,(0,R.projectBuffer)(ue,n,0,ue,r,0)?(t.x=ue[0],t.y=ue[1],t.spatialReference=r,void 0!==i||(0,u.xP)(r)?(t.z=ue[2],t.hasZ=!0):(t.z=void 0,t.hasZ=!1),void 0===e.m?(t.m=void 0,t.hasM=!1):(t.m=e.m,t.hasM=!0),t):null}function X(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=_(e,e.spatialReference,n,t,r)}function _(e,n,t,r,o){const{points:i,hasZ:a,hasM:s}=e,l=[],u=i.length,c=[];for(const e of i)c.push(e[0],e[1],a?e[2]:o);if(!(0,R.projectBuffer)(c,n,0,c,r,0,u))return null;const p=le(a,r);for(let e=0;e<u;++e){const n=3*e,t=c[n],r=c[n+1];p&&s?l.push([t,r,c[n+2],i[e][3]]):p?l.push([t,r,c[n+2]]):s?l.push([t,r,i[e][2]]):l.push([t,r])}return t.points=l,t.spatialReference=r,t.hasZ=a,t.hasM=s,t}function ee(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=ne(e,e.spatialReference,n,t,r)}function ne(e,n,t,r,o){const{curvePaths:i,paths:a,hasZ:s,hasM:l}=e;if(!(i?se(i,s??!1,l??!1,n,t.curvePaths=[],r,o):ae(a,s??!1,l??!1,n,t.paths,r,o)))return null;const u=le(s,r);return t.spatialReference=r,t.hasZ=u,t.hasM=l,t}function te(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=re(e,e.spatialReference,n,t,r)}function re(e,n,t,r,o){const{curveRings:i,rings:a,hasZ:s,hasM:l}=e;return(i?se(i,s??!1,l??!1,n,t.curveRings=[],r,o):ae(a,s??!1,l??!1,n,t.rings,r,o))?(t.spatialReference=r,t.hasZ=le(s,r),t.hasM=l,t):null}function oe(e,n,t=n.spatialReference,r=0){return null!=e.spatialReference&&null!=t&&null!=ie(e,e.spatialReference,n,t,r)}function ie(e,n,t,r,o){const{xmin:i,ymin:a,xmax:s,ymax:l,hasZ:u,hasM:c}=e;if(!A(i,a,u?e.zmin:o,n,ue,r))return null;const p=le(u,r);return t.xmin=ue[0],t.ymin=ue[1],p&&(t.zmin=ue[2]),A(s,l,u?e.zmax:o,n,ue,r)?(t.xmax=ue[0],t.ymax=ue[1],p&&(t.zmax=ue[2]),c&&(t.mmin=e.mmin,t.mmax=e.mmax),t.spatialReference=r,t):null}function ae(e,n,t,r,o,i,a=0){const s=new Array;for(const t of e)for(const e of t)s.push(e[0],e[1],n?e[2]:a);if(!(0,R.projectBuffer)(s,r,0,s,i,0))return!1;let l=0;o.length=0;const u=n?3:2,c=le(n,i);for(const n of e){const e=new Array;for(const r of n){const n=s.slice(l,l+=3);c||n.pop(),t&&n.push(r[u]),e.push(n)}o.push(e)}return!0}function se(e,n,t,r,o,i,a=0){const s=new Array;for(const t of e)for(const e of t){if((0,x.FG)(e))return!1;if((0,x.aO)(e)){const[t,r]=e.c;s.push(t[0],t[1],n?t[2]:a,r[0],r[1],a);continue}if((0,x.n1)(e)){const[t,r,o]=e.b;s.push(t[0],t[1],n?t[2]:a,r[0],r[1],a,o[0],o[1],a);continue}const t=e;s.push(t[0],t[1],n?t[2]:a)}if(!(0,R.projectBuffer)(s,r,0,s,i,0))return!1;let l=0;o.length=0;const u=n?3:2,c=le(n,i);for(const n of e){const e=new Array;for(const r of n){const n=s.slice(l,l+=3);if(c||n.pop(),t&&n.push((0,x.yP)(r)[u]),(0,x.FG)(r))return!1;if((0,x.aO)(r)){const t=s[l++],r=s[l++];++l,e.push({c:[n,[t,r]]});continue}if((0,x.n1)(r)){const t=s[l++],r=s[l++];++l;const o=s[l++],i=s[l++];++l,e.push({b:[n,[t,r],[o,i]]});continue}e.push(n)}o.push(e)}return!0}function le(e,n){return e||(0,u.xP)(n)||(0,j.aI)(n,y.Y0)}const ue=(0,s.vt)()},92288(e,n,t){t.r(n),t.d(n,{registerFunctions:()=>q});var r=t(92602),o=t(47609),i=t(66395),a=t(85935),s=t(78878),l=t(80672),u=t(91075),c=t(91218),p=t(16930),f=t(28735),d=t(20655),h=t(80812),g=t(11254),m=t(56507),y=t(60408),w=t(2272),R=t(92300),v=t(5482),A=t(25482),M=t(91429),S=t(21325);let j=class extends A.o{constructor(e){super(e),this.geometries=[],this.outSpatialReference=null,this.transformation=null,this.transformForward=null}toJSON(){const e=this.geometries.map(e=>e.toJSON()),n=this.geometries[0],t={};return t.outSR=(0,S.YX)(this.outSpatialReference),t.inSR=(0,S.YX)(n.spatialReference),t.geometries=JSON.stringify({geometryType:(0,y.$B)(n),geometries:e}),this.transformation&&(t.transformation=this.transformation.wkid||JSON.stringify(this.transformation)),null!=this.transformForward&&(t.transformForward=this.transformForward),t}};(0,v.Cg)([(0,M.MZ)()],j.prototype,"geometries",void 0),(0,v.Cg)([(0,M.MZ)({type:p.A,json:{read:{source:"outSR"}}})],j.prototype,"outSpatialReference",void 0),(0,v.Cg)([(0,M.MZ)()],j.prototype,"transformation",void 0),(0,v.Cg)([(0,M.MZ)()],j.prototype,"transformForward",void 0),j=(0,v.Cg)([(0,M.$K)("esri.rest.support.ProjectParameters")],j);const x=(0,m.dp)(j);var C=t(25927),I=t(42538),k=t(40662),P=t(42095),G=t(23150),O=t(54218);let Z=null;async function $(e,n){const r=new h.default({portal:e,id:n});return await r.load(),null===Z&&(Z=await Promise.all([t.e(2869),t.e(3910),t.e(6728),t.e(217),t.e(2555),t.e(490)]).then(t.bind(t,2555))),await Z.fetchKnowledgeGraph(r.url)}function b(e,n,t,r,o){if(null===e)return null;if((0,O.Kg)(e)||(0,O.Et)(e))return e;if((0,s.e)(e))return e.toJSDate();if((0,s.e)(e))return e.toJSDate();if((0,s.f)(e))return e.toStorageFormat();if((0,s.g)(e))return e.toStorageString();if((0,s.n)(e)){const i={};for(const a of e.keys())i[a]=b(e.field(a),n,t,r,o),i[a]instanceof u.A&&o.push({container:i,indexer:a});return i}if((0,O.cy)(e)){const i=e.map(e=>b(e,n,t,r,o));for(let e=0;e<i.length;e++)i[e]instanceof u.A&&o.push({container:i,indexer:e});return i}return(0,s.h)(e)?e.spatialReference.isWGS84?e:e.spatialReference.isWebMercator&&n?(0,f.ci)(e):e:void 0}function T(e,n){if(!e)return null;const t={};for(const r in e)t[r]=K(e[r],n);return t}function K(e,n){return null===e?null:(0,O.cy)(e)?e.map(e=>K(e,n)):e instanceof C.A?{graphTypeName:e.typeName,id:e.id,graphType:"entity",properties:T(e.properties,n)}:e instanceof k.A?{graphType:"object",properties:T(e.properties,n)}:e instanceof G.A?{graphTypeName:e.typeName,id:e.id,graphType:"relationship",originId:e.originId??null,destinationId:e.destinationId??null,properties:T(e.properties,n)}:e instanceof P.A?{graphType:"path",path:e.path?e.path.map(e=>K(e,n)):null}:(0,s.h)(e)?function(e,n){if(!e)return e;if(e.spatialReference.isWGS84&&n.spatialReference.isWebMercator)return(0,f.Gh)(e);if(e.spatialReference.equals(n.spatialReference))return e;throw new a.D$(n,"WrongSpatialReference",null)}(e,n):(0,O.Kg)(e)||(0,O.Et)(e)||(0,O.$P)(e)?e:null}function q(e){"async"===e.mode&&(e.functions.knowledgegraphbyportalitem=function(n,t){return e.standardFunctionAsync(n,t,(e,r,i)=>{if((0,s.B)(i,2,2,n,t),null===i[0])throw new a.D$(n,"PortalRequired",t);if(i[0]instanceof o.A){const e=(0,s.s)(i[1]);let t;return t=n.services?.portal?n.services.portal:d.A.getDefault(),$((0,l.R)(i[0],t),e)}if(!1===(0,O.Kg)(i[0]))throw new a.D$(n,"InvalidParameter",t);const u=(0,s.s)(i[0]);return $(n.services?.portal??d.A.getDefault(),u)})},e.signatures.push({name:"knowledgegraphbyportalitem",min:2,max:2}),e.functions.querygraph=function(n,o){return e.standardFunctionAsync(n,o,async(e,l,u)=>{(0,s.B)(u,2,4,n,o);const f=u[0];if(!(0,s.o)(f))throw new a.D$(n,"InvalidParameter",o);const d=u[1];if(!(0,O.Kg)(d))throw new a.D$(n,"InvalidParameter",o);null===Z&&(Z=await Promise.all([t.e(2869),t.e(3910),t.e(6728),t.e(217),t.e(2555),t.e(490)]).then(t.bind(t,2555)));let h=null;const m=(0,s.J)(u[2],null);if(!(m instanceof i.A||null===m))throw new a.D$(n,"InvalidParameter",o);if(m){let e=[];h=b(m,!0,!1,n,e),e=e.filter(e=>!e.container[e.indexer].spatialReference.isWGS84),e.length>0&&await async function(e){const n=r.A.geometryServiceUrl??"";if(!n){(0,c.isLoaded)()||await(0,c.load)();for(const n of e)n.container[n.indexer]=(0,c.project)(n.container[n.indexer],p.A.WGS84);return}const t=e.map(e=>e.container[e.indexer]),o=new j({geometries:t,outSpatialReference:p.A.WGS84}),i=await async function(e,n){n=x(n);const t=(0,w.Dl)(e),r={...t.query,f:"json",...n.toJSON()},o=n.outSpatialReference,i=(0,y.$B)(n.geometries[0]),a=(0,w.jV)(r,void 0);return(0,g.A)(t.path+"/project",a).then(({data:{geometries:e}})=>(0,R.V)(e,i,o))}(n,o);for(let n=0;n<i.length;n++){const t=e[n];t.container[t.indexer]=i[n]}}(e)}const v=(0,s.J)(u[3],!1),A=new I.A({openCypherQuery:d,bindParameters:h,provenanceBehavior:v?"include":"exclude"});(f?.serviceDefinition?.currentVersion??11.3)>11.2&&(A.outputSpatialReference=n.spatialReference);const M=(await Z.executeQueryStreaming(f,A)).resultRowsStream.getReader(),S=[];try{for(;;){const{done:e,value:t}=await M.read();if(e)break;if((0,O.cy)(t))for(const e of t)S.push(K(e,n));else{const e=[];for(const r of t)e.push(K(t[r],n));S.push(e)}}}catch(e){throw e}return i.A.convertJsonToArcade(S,(0,s.K)(n),!1,!0)})},e.signatures.push({name:"querygraph",min:2,max:4}))}},92300(e,n,t){t.d(n,{V:()=>a,X:()=>i});var r=t(60408),o=t(65864);function i(e){return{geometryType:(0,r.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function a(e,n,t){const r=(0,o.xD)(n);return e.map(e=>{const n=r.fromJSON(e);return n.spatialReference=t,n})}},98764(e,n,t){t.d(n,{GD:()=>a,Y0:()=>u,lO:()=>c});var r=t(73941),o=t(16930),i=t(21325);const a=new o.A(r.fv),s=new o.A(r.FY),l=new o.A(r.LJ),u=new o.A(r.Ro);function c(e){const n=p.get(e);if(n)return n;let t=a;if(e)if(e===s)t=s;else if(e===l)t=l;else{const n=e.wkid,r=e.latestWkid;if(null!=n||null!=r)(0,i.tl)(n)||(0,i.tl)(r)?t=s:((0,i.ZL)(n)||(0,i.ZL)(r))&&(t=l);else{const n=e.wkt2??e.wkt;if(n){const e=n.toUpperCase();e===f?t=s:e===d&&(t=l)}}}return p.set(e,t),t}const p=new Map,f=s.wkt.toUpperCase(),d=l.wkt.toUpperCase()},99157(e,n,t){t.d(n,{A:()=>s});var r,o=t(5482),i=t(69622),a=t(91429);let s=r=class extends i.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,o.Cg)([(0,a.MZ)()],s.prototype,"isInverse",void 0),(0,o.Cg)([(0,a.MZ)()],s.prototype,"wkt",void 0),(0,o.Cg)([(0,a.MZ)()],s.prototype,"wkid",void 0),s=r=(0,o.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],s)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1550,1666,1918,6061,6312,7837,7992,8125,9169,9397],{159(e,t,n){n.d(t,{A:()=>u});var r,s=n(5482),i=n(69622),o=n(91429),a=n(99157);let u=r=class extends i.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new r;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,s.Cg)([(0,o.MZ)({type:[a.A],nonNullable:!0})],u.prototype,"steps",void 0),u=r=(0,s.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},4197(e,t,n){n.d(t,{Vj:()=>c,cj:()=>u,jh:()=>i,l5:()=>a,xm:()=>o});var r=n(34275),s=n(9093);function i(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function a(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function u(e){return[...e]}function c(e){const t=(0,s.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},5482(e,t,n){function r(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function s(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,s;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(s=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");s&&(r=function(){try{s.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}n.d(t,{Cg:()=>r,hk:()=>o,mS:()=>s}),Object.create,Object.create;var i="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function o(e){function t(t){e.error=e.hasError?new i(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function s(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(s);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(s,function(e){return t(e),s()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},5808(e,t,n){n.d(t,{O:()=>r});const r={geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}},7817(e,t,n){n.d(t,{e:()=>i,l:()=>a,s:()=>o});var r=n(86211),s=n(78125);function i(e,t={}){const{unit:n}=t;let i=(0,s.fromGeometry)(e).calculateLength2D();if(i&&n){const t=(0,s.getSpatialReference)(e);i=(0,r.PQ)(i,t,n)}return i}const o=!0,a=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:o},Symbol.toStringTag,{value:"Module"}))},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>s,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:s,create:r,fromValues:function(e,t,n,r,s,i,o,a,u,c,l,h,f,m,p,g){return[e,t,n,r,s,i,o,a,u,c,l,h,f,m,p,g]}},Symbol.toStringTag,{value:"Module"}))},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>s});var r=n(49208);function s(e,t,n,s,i,o,a=Math.floor(e.length/3)){const u=(0,r.jd)(t,i);if(null==u)return!1;if(u===r.pO){if(e===s&&n===o)return!0;const t=n+3*a;for(let r=n,i=o;r<t;r++,i++)s[i]=e[r]??0;return!0}const c=n+3*a;for(let t=n,r=o;t<c;t+=3,r+=3)u(e,t,s,r);return!0}},10222(e,t,n){n.d(t,{e:()=>i,s:()=>a});var r=n(81150),s=n(78125);function i(e){const t=(0,s.getSpatialReference)(e);return(0,s.toGeometry)((0,r.g7)((0,s.fromGeometry)(e),(0,s.fromSpatialReference)(t),!1),t)}const o=(0,r.fz)(),a=Object.freeze(Object.defineProperty({__proto__:null,execute:i,executeMany:function(e){const t=e.map(s.fromGeometry),n=(0,s.getSpatialReference)(e);return(0,r.zo)(t,(0,s.fromSpatialReference)(n),!1).map(e=>(0,s.toGeometry)(e,n))},isSimple:function(e){return(0,r.Pg)((0,s.fromGeometry)(e),(0,s.fromSpatialReference)((0,s.getSpatialReference)(e)),!1)},supportsCurves:o},Symbol.toStringTag,{value:"Module"}))},11918(e,t,n){n.r(t),n.d(t,{execute:()=>d,isLoaded:()=>p,load:()=>g,supportsCurves:()=>m});var r=n(86211),s=n(83290);let i;function o(){return!!i&&(0,s.i)()}async function a(){if(!o()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6859),n.e(2764)]).then(n.bind(n,12764)),Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6061)]).then(n.bind(n,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,s.l)()]);i=new e.OperatorGeodeticDistance,t(s.p)}}function u(e,t,n,r){return i.execute(e,t,n,r,null)}var c=n(5808);let l,h,f,m;function p(){return!!l&&o()}async function g(){if(!p()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(6312)]).then(n.bind(n,78125)),a()]);l=e.fromGeometry,h=e.fromSpatialReference,f=e.getSpatialReference,m=i.supportsCurves()}}function d(e,t,n={}){const{curveType:s="geodesic",unit:i}=n,o=f(e);let a=u(l(e),l(t),h(o),c.O[s]);return a&&i&&(a=(0,r.oU)(a,"meters",i)),a}},15546(e,t,n){n.d(t,{a:()=>o,c:()=>i});var r=n(55537),s=n(83661);function i(e,t){if(!e.isEmpty())switch(e.getGeometryType()){case r.G.enumPolygon:return a(e);case r.G.enumPolyline:return h(e.getImpl());case r.G.enumLine:case r.G.enumBezier:case r.G.enumEllipticArc:return function(e){const t=e.calculateLength2D();return 0===t?e.getStartXY():e.calculateWeightedCentroid2D().mul(1/t)}(e);case r.G.enumMultiPoint:return function(e){const t=new s.K(0),n=new s.K(0),r=e.getImpl(),i=r.getAttributeStreamRef(0),o=r.getPointCount(),a=new s.P;for(let e=0;e<o;e++)i.queryPoint2D(2*e,a),t.add(a.x),n.add(a.y);const u=new s.P;return u.setCoords(t.getResult(),n.getResult()),u.divThis(o)}(e);case r.G.enumEnvelope:return e.getCenterXY();case r.G.enumPoint:return e.getXY();default:return s.P.construct(Number.NaN,Number.NaN)}return s.P.construct(Number.NaN,Number.NaN)}function o(e,t){return a(e,t)}function a(e,t=-1){const n=new s.K(0),r=new s.K(0),i=e.getImpl();let o;const a=i.hasNonLinearSegments();let h;const f=i.getXY(0);if(-1===t){if(h=i.calculateArea2D(),0===h)return l(e);a&&(o=i.querySegmentIterator());for(let e=0,t=i.getPathCount();e<t;e++)u(f,i,e,n,r),a&&c(f,o,n,r)}else{if(h=i.calculateRingArea2D(t),0===h)return l(e,t);a&&(o=i.querySegmentIterator(),o.resetToPath(t)),u(f,i,t,n,r),a&&c(f,o,n,r)}const m=new s.P,p=new s.P;return m.setCoords(n.getResult(),r.getResult()),p.assign(m.mul(1/h).add(f)),p}function u(e,t,n,r,i){const o=t.getPathStart(n),a=t.getPathEnd(n);if(a-o<3)return;const u=t.getAttributeStreamRef(0),c=u.readPoint2D(2*o),l=u.readPoint2D(2*(o+1));l.subThis(c);const h=new s.K(0),f=t.hasNonLinearSegments(),m=1/3,p=new s.P;for(let e=o+2;e<a;e++){u.queryPoint2D(2*e,p),p.subThis(c);const t=.5*p.crossProduct(l);f&&h.add(t);const n=m*t;r.add((l.x+p.x)*n),i.add((l.y+p.y)*n),l.setCoordsPoint2D(p)}const g=f?h.getResult():t.calculateRingArea2D(n),d=c.sub(e).mul(g);r.add(d.x),i.add(d.y)}function c(e,t,n,s){let i;for(t.nextPath()||(0,r.d)("centroid");null!==(i=t.nextCurve());){const t=i.calculateWeightedAreaCentroid2D(e);n.add(t.x),s.add(t.y)}}function l(e,t=-1){return h(e.getImpl(),t)}function h(e,t=-1){const n=-1===t?e.calculateLength2D():e.calculatePathLength2D(t);if(0===n)return function(e,t=-1){if(-1!==t)return e.getXY(e.getPathStart(t));const n=new s.K(0),r=new s.K(0);for(let t=0;t<e.getPathCount();++t){const s=e.getXY(e.getPathStart(t));n.add(s.x),r.add(s.y)}return s.P.construct(n.getResult(),r.getResult()).mul(1/e.getPathCount())}(e,t);const r=new s.K(0),i=new s.K(0),o=e.querySegmentIterator();for(-1!==t&&o.resetToPath(t);o.nextPath();){const n=o.getPathIndex(),s=e.getXY(e.getPathStart(n));for(;o.hasNextSegment();){const e=o.nextSegment(),t=e.calculateLength2D();if(0===t)continue;const n=e.calculateWeightedCentroid2D().sub(s.mul(t));r.add(n.x),i.add(n.y)}const a=s.mul(e.calculatePathLength2D(n));if(r.add(a.x),i.add(a.y),-1!==t)break}const a=new s.P;return a.setCoords(r.getResult(),i.getResult()),a.mul(1/n)}},16346(e,t,n){n.d(t,{d:()=>l,e:()=>u});var r=n(55537),s=n(26640),i=n(86211),o=n(78125);const a=new class{getOperatorType(){return 10100}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n){return this.executeEx(e,t,n,null,null,Number.NaN)}executeEx(e,t,n,i,o,a){if(e.isEmpty()||t.isEmpty())return Number.NaN;(0,r.c)(e),(0,r.c)(t);const u=e,c=t;Number.isNaN(a)&&(a=Number.POSITIVE_INFINITY);const l=new s.D(a,n).calculate(u,c,i,o);return Number.isFinite(l)?l:Number.NaN}};function u(e,t,n={}){const{unit:r}=n;let s=a.execute((0,o.fromGeometry)(e),(0,o.fromGeometry)(t),null);if(s&&r){const t=(0,o.getSpatialReference)(e);s=(0,i.PQ)(s,t,r)}return s}const c=a.supportsCurves(),l=Object.freeze(Object.defineProperty({__proto__:null,execute:u,supportsCurves:c},Symbol.toStringTag,{value:"Module"}))},17799(e,t,n){n.d(t,{T9:()=>a,d_:()=>s,gT:()=>i});var r=n(86211);function s(e,t){return{type:(0,r.t$)(t),value:e,unit:t}}function i(e,t){return{type:(0,r.t$)(t),value:e,unit:t}}function o(e,t,n="arithmetic"){return{type:(0,r.t$)(t),value:e,unit:t,rotationType:n}}function a(e,t){return null==e?t:null==t||e.value>(0,r.oU)(t.value,t.unit,e.unit)?e:t}s(0,"meters"),i(0,"square-meters"),o(0,"radians"),o(0,"degrees"),o(0,"degrees","geographic")},21276(e,t,n){n.d(t,{H:()=>i,f:()=>s});var r=n(49186);function s(e){if(e&&"object"==typeof e&&"type"in e&&"mesh"===e.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function i(e){e.forEach(s)}},26640(e,t,n){n.d(t,{D:()=>M,m:()=>l,s:()=>y,w:()=>d});var r=n(5482),s=n(55537),i=n(88885),o=n(15756),a=n(83661),u=n(79187),c=n(95213);function l(){return{outPoint:new a.P,index:-1,t:Number.NaN}}function h(e,t,n){return{outPoint:e.clone(),index:t,t:n}}function f(e,t,n,r){e.outPoint.assign(t),e.index=n,e.t=r}function m(e,t){e.outPoint.assign(t.outPoint),e.index=t.index,e.t=t.t}function p(e,t,n,r){e.index=n,e.t=r,t.queryCoord2D(e.t,e.outPoint)}function g(e,t){const n=l();m(n,e),m(e,t),m(t,n)}function d(e,t,n,r,i,a){if(e.getGeometryType()===s.G.enumPolygon){for(;r.nextPath();)if(r.hasNextSegment()){const t=r.nextSegment();if(0!==(0,o.l)(e,t.getEndXY(),0))return f(i,t.getEndXY(),-1,Number.NaN),f(a,t.getEndXY(),-1,Number.NaN),!0}r.resetToFirstPath()}if(t.getGeometryType()===s.G.enumPolygon){for(;n.nextPath();)if(n.hasNextSegment()){const e=n.nextSegment();if(0!==(0,o.l)(t,e.getEndXY(),0))return f(i,e.getEndXY(),-1,Number.NaN),f(a,e.getEndXY(),-1,Number.NaN),!0}n.resetToFirstPath()}return!1}function y(e){const t=e.getPathCount(),n=(0,a.d)(e.getSegmentCount(),0);let r=0;for(let s=0;s<t;++s){const t=r+e.getSegmentCountPath(s);for(let i=r,o=e.getPathStart(s);i<t;++i,++o)n[i]=o;r=t}return(0,i.s)(e.getPointCount(),n),n}function v(e,t){return!!Number.isNaN(t)||e<=t}function x(e){const t=new i.P;return t.addEnvelope(e,!1),t}class M{constructor(e,t){if(this.m_env2DgeometryA=null,this.m_env2DgeometryB=null,this.m_progressCounter=0,this.m_progressTracker=t,this.m_maxSqrDistance=e*e,this.m_maxDistance=e,this.m_bIsNearCalc=!1,Number.isNaN(this.m_maxDistance)?this.m_maxDistance=Number.POSITIVE_INFINITY:this.m_maxDistance=e,this.m_maxSqrDistance=this.m_maxDistance*this.m_maxDistance,Number.isFinite(this.m_maxSqrDistance)){let e=Math.sqrt(this.m_maxSqrDistance);for(;e<this.m_maxDistance;)this.m_maxSqrDistance*=1+Number.EPSILON,e=Math.sqrt(this.m_maxSqrDistance)}}calculate(e,t,n,r){if((e.getGeometryType()!==c.P.type||t.getGeometryType()!==c.P.type)&&(this.m_env2DgeometryA=new u.Envelope2D,this.m_env2DgeometryB=new u.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!v(this.m_env2DgeometryA.distanceFromEnvelope(this.m_env2DgeometryB),this.m_maxDistance)))return Number.POSITIVE_INFINITY;const s=h(new a.P,(0,a.j)(),Number.NaN),i=h(new a.P,(0,a.j)(),Number.NaN),o=this._ExecuteBruteForce(e,t,s,i);return v(o,this.m_maxDistance)?(null!==n&&m(n,s),null!==r&&m(r,i),o):Number.POSITIVE_INFINITY}isNear(e,t){if(this.m_bIsNearCalc=!0,e.isEmpty()||t.isEmpty())return!1;if(e===t)return!0;let n=!0;if(e.getGeometryType()!==c.P.type&&e.getGeometryType()!==c.E.type||t.getGeometryType()!==c.P.type&&t.getGeometryType()!==c.E.type||(n=!1),n){if(this.m_env2DgeometryA=new u.Envelope2D,this.m_env2DgeometryB=new u.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!(this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)>this.m_maxSqrDistance))return!0;if(this.m_env2DgeometryA.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>this.m_maxSqrDistance)return!1}const r=h(new a.P,(0,a.j)(),Number.NaN),s=h(new a.P,(0,a.j)(),Number.NaN);return this._ExecuteBruteForce(e,t,r,s)<=this.m_maxDistance}progress_(e=!1){}_ExecuteBruteForce(e,t,n,r){switch(e.getGeometryType()){case s.G.enumPoint:return this.distancePointGeometry(e,t,n,r);case s.G.enumMultiPoint:return this.distanceMultipointGeometry(e,t,n,r);case s.G.enumEnvelope:return this.distanceEnvelopeGeometry(e,t,n,r);case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathGeometry(e,t,n,r);default:return Number.NaN}}distancePointGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:return this.distancePointPoint(e,t,n,r);case s.G.enumMultiPoint:return this.distancePointMultipoint(e,t,n,r);case s.G.enumPolyline:case s.G.enumPolygon:return this.distancePointMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distancePointEnvelope(e,t,n,r);default:return Number.NaN}}distancePointPoint(e,t,n,r){const s=e.getXY(),i=t.getXY();return f(n,s,0,0),f(r,i,0,0),Math.sqrt(a.P.sqrDistance(s,i))}distancePointMultipoint(e,t,n,r){const s=e.getXY();let i=this.m_maxSqrDistance,o=i,u=!1;const c=t.getPointCount(),l=new a.P;for(let e=0;e<c;++e)if(t.queryXY(e,l),o=a.P.sqrDistance(s,l),this.m_bIsNearCalc){if(o<=i)return 0}else if(!(o>i)&&(!u&&o===i||o<i)&&(i=o,f(n,s,0,0),f(r,l,e,0),u=!0,0===i))return 0;return u?Math.sqrt(i):Number.POSITIVE_INFINITY}distancePointMultipath(e,t,n,r){const i=!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB),c=e.getXY();if(!i&&t.getGeometryType()===s.G.enumPolygon&&0!==(0,o.l)(t,c,0))return f(n,c,0,0),f(r,c,-1,Number.NaN),0;t.getImpl().getAccelerators();let l=this.m_maxSqrDistance,h=l,m=-1;const p=new u.Envelope2D,g=t.querySegmentIterator();let d=!1;for(;g.nextPath();)for(;g.hasNextSegment();){const e=g.nextSegment();e.queryEnvelope(p);const t=p.sqrDistance(c);if(t>l)continue;if(!this.m_bIsNearCalc&&d&&t===l)continue;m=e.getClosestCoordinate(c,!1);const s=e.getCoord2D(m);if(h=a.P.sqrDistance(c,s),this.m_bIsNearCalc){if(h<=l)return 0}else if(!(h>l)&&(!d||h<l)&&(l=h,f(n,c,0,0),f(r,s,g.getStartPointIndex(),m),d=!0,0===l))return 0}return d?Math.sqrt(l):Number.POSITIVE_INFINITY}distancePointEnvelope(e,t,n,r){const s=e.getXY();f(n,s,0,0),f(r,s,-1,Number.NaN);const i=t.asEnvelope2D();return i.contains(s)?0:Math.sqrt(i.sqrDistance(s,r.outPoint))}distanceMultipointGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distancePointMultipoint(t,e,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumMultiPoint:return this.distanceMultipointMultipoint(e,t,n,r,1,1);case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipointMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distanceMultipointMultipath(e,x(t),n,r);default:return Number.NaN}}distanceMultipointMultipoint(e,t,n,s,i,o){const u={stack:[],error:void 0,hasError:!1};try{if(this.m_bIsNearCalc&&1===i&&1===o){const r=Math.trunc((0,a.s)(Math.sqrt(e.getPointCount())+1,1,(0,a.i)())),i=Math.trunc((0,a.s)(Math.sqrt(t.getPointCount())+1,1,(0,a.i)()));if((r>=4||i>=4)&&this.distanceMultipointMultipoint(e,t,n,s,r,i)<=this.m_maxSqrDistance)return 0}let c=this.m_maxSqrDistance;const l=[e],h=[t],m=this.swapGeometriesIfBGtA(l,h);m&&(this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),o=(0,a.c)(i,i=o),g(n,s)),(0,r.mS)(u,(0,a.h)(()=>{g(n,s),this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)},!m),!1);const p=l[0].getImpl(),d=h[0].getImpl(),y=p.getPointCount(),v=d.getPointCount(),x=v>1;let M=!1;const P=new a.P,_=new a.P;for(let e=0;e<y;e+=i){if(p.queryXY(e,P),x){const e=this.m_env2DgeometryB.sqrDistance(P);if(this.m_bIsNearCalc){if(e>c)continue;if(this.m_env2DgeometryB.sqrMaxMinDistance(P)<=c)return 0}else if(e>=c)continue}for(let t=0;t<v;t+=o){d.queryXY(t,_);const r=a.P.sqrDistance(P,_);if(this.m_bIsNearCalc){if(r<=c)return 0}else if(!(r>c||M&&r===c)&&(!M||r<c)&&(f(n,P,e,0),f(s,_,t,0),M=!0,c=r,0===c))return M?Math.sqrt(c):Number.POSITIVE_INFINITY}}return M?Math.sqrt(c):Number.POSITIVE_INFINITY}catch(e){u.error=e,u.hasError=!0}finally{(0,r.hk)(u)}}distanceMultipointMultipath(e,t,n,r){let i=!!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)&&t.getGeometryType()===s.G.enumPolygon;const c=t.querySegmentIterator();c.stripAttributes();const l=new u.Envelope2D,h=new a.P;let m=this.m_maxSqrDistance;const p=e.getImpl(),g=p.getPointCount(),d=g>1;let y=!1;for(;c.nextPath();)for(;c.hasNextSegment();){const e=c.nextSegment();if(e.queryLooseEnvelope(l),d){const e=l.sqrDistanceEnvelope(this.m_env2DgeometryA,null,null);if(this.m_bIsNearCalc){if(e>m)continue}else if(e>m||y&&e===m)continue}for(let s=0;s<g;s++){if(p.queryXY(s,h),i&&0!==(0,o.l)(t,h,0))return f(n,h,-1,Number.NaN),f(r,h,s,0),0;{const e=l.sqrDistance(h);if(this.m_bIsNearCalc){if(e>m)continue}else if(e>m)continue}const a=e.getClosestCoordinate(h,!1),u=e.getCoord2D(a);h.subThis(u);const g=h.sqrLength();if(this.m_bIsNearCalc){if(g<=m)return 0}else if(!(g>m)&&(!y||g<m)&&(m=g,f(n,p.getXY(s),s,0),f(r,u,c.getStartPointIndex(),a),y=!0,0===m))return 0}i=!1}return y?Math.sqrt(m):Number.POSITIVE_INFINITY}distanceEnvelopeGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:return this.distancePointEnvelope(t,e,r,n);case s.G.enumMultiPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distanceMultipointMultipath(t,x(e),r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathMultipath(x(e),t,n,r);case s.G.enumEnvelope:return this.distanceEnvelopeEnvelope(e,t,n,r);default:return Number.NaN}}distanceEnvelopeEnvelope(e,t,n,r){n.t=Number.NaN,n.index=-1,r.t=Number.NaN,r.index=-1;const s=e.asEnvelope2D(),i=t.asEnvelope2D();return Math.sqrt(s.sqrDistanceEnvelope(i,n.outPoint,r.outPoint))}distanceMultipathGeometry(e,t,n,r){switch(t.getGeometryType()){case s.G.enumPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distancePointMultipath(t,e,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumMultiPoint:{this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const s=this.distanceMultipointMultipath(t,e,r,n);return this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),s}case s.G.enumPolyline:case s.G.enumPolygon:return this.distanceMultipathMultipath(e,t,n,r);case s.G.enumEnvelope:return this.distanceMultipathMultipath(e,x(t),n,r);default:return Number.NaN}}distanceMultipathMultipath(e,t,n,s){const o={stack:[],error:void 0,hasError:!1};try{const c=[e],h=[t],f=this.swapGeometriesIfAGtB(c,h);f&&(this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),g(n,s)),(0,r.mS)(o,(0,a.h)(()=>{g(n,s),this.m_env2DgeometryB=(0,a.c)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)},!f),!1);const v=c[0],x=h[0],M=v.querySegmentIterator();M.stripAttributes();const P=x.querySegmentIterator();if(P.stripAttributes(),this.m_bIsNearCalc&&this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)<=this.m_maxSqrDistance)return 0;if(this.m_bIsNearCalc){const e=Math.trunc((0,a.s)(Math.sqrt(v.getPointCount())+1,1,(0,a.i)())),t=Math.trunc((0,a.s)(Math.sqrt(v.getPointCount())+1,1,(0,a.i)()));if(this.distanceMultipointMultipoint(v,x,n,s,e,t)<=this.m_maxSqrDistance)return 0}if(this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)){const e=l(),t=l();if(d(v,x,M,P,e,t))return m(n,e),m(s,t),0}const _=y(v),w=[],N=new i.S,S=new u.Envelope2D,b=new u.Envelope2D,C=new u.Envelope2D;let I=this.m_maxSqrDistance,A=!0,R=!1;for(let e=0,t=_.length;e<t;++e){v.querySegment(_[e],N,!0);const t=N.get();if(t.queryEnvelope(S),!(S.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>I)){if(this.m_bIsNearCalc&&S.sqrMaxDistanceEnvelope(this.m_env2DgeometryB)<=I)return 0;for(;P.nextPath();){if(this.progress_(),A)x.queryPathEnvelope(P.getPathIndex(),C),w[P.getPathIndex()]=C.clone();else if(S.sqrDistanceEnvelope(w[P.getPathIndex()],null,null)>I)continue;for(;P.hasNextSegment();){const r=P.nextSegment();if(r.queryEnvelope(b),S.sqrDistanceEnvelope(b,null,null)<=I){const i=!S.isIntersecting(b),o=[0],a=[0];let u=t.distance(r,i,o,a);if(u*=u,this.m_bIsNearCalc&&u<=this.m_maxSqrDistance)return 0;if(u<I||u===I&&_[e]<n.index){if(R=!0,p(n,t,_[e],o[0]),p(s,r,P.getStartPointIndex(),a[0]),0===u)return 0;I=u}}}}P.resetToFirstPath(),A=!1}}return R?Math.sqrt(I):Number.POSITIVE_INFINITY}catch(e){o.error=e,o.hasError=!0}finally{(0,r.hk)(o)}}swapGeometriesIfAGtB(e,t){return(0,s.v)(e[0])>(0,s.v)(t[0])&&(t[0]=(0,a.c)(e[0],e[0]=t[0]),!0)}swapGeometriesIfBGtA(e,t){return this.swapGeometriesIfAGtB(t,e)}}},27993(e,t,n){n.d(t,{F:()=>a});var r=n(91218),s=n(16930),i=n(9762),o=n(65806);function a(e,t,n,s){return!(null==t||null==s||e.length<2)&&((0,r.canProjectWithoutEngine)(t,s)?(0,i.projectBuffer)(e,t,0,n,s,0,1):(u.x=e[0],u.y=e[1],u.z=e[2],u.spatialReference=t,(0,o.g)(u,n,s)))}const u={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:s.A.WGS84,type:"point"}},28735(e,t,n){n.d(t,{Cv:()=>d,Gh:()=>x,ci:()=>M,je:()=>y,jg:()=>h,tD:()=>v,y7:()=>g,yw:()=>l});var r=n(4718),s=n(21276),i=n(16930),o=n(79258),a=n(21325);function u(e){return 57.29577951308232*e}function c(e){return.017453292519943*e}function l(e){return e/o.$O.radius}function h(e){return Math.PI/2-2*Math.atan(Math.exp(-e/o.$O.radius))}function f(e){return null!=e.wkid||null!=e.wkt}const m=[0,0];function p(e,t,n,r,s){const i=e,o=s;if(o.spatialReference=n,"x"in i&&"x"in o)[o.x,o.y]=t(i.x,i.y,m,r);else if("xmin"in i&&"xmin"in o)[o.xmin,o.ymin]=t(i.xmin,i.ymin,m,r),[o.xmax,o.ymax]=t(i.xmax,i.ymax,m,r);else if("paths"in i&&"paths"in o||"rings"in i&&"rings"in o){const e="paths"in i?i.paths:i.rings,n=[];let s;for(let i=0;i<e.length;i++){const o=e[i];s=[],n.push(s);for(let e=0;e<o.length;e++)s.push(t(o[e][0],o[e][1],[0,0],r)),o[e].length>2&&s[e].push(o[e][2]),o[e].length>3&&s[e].push(o[e][3])}"paths"in o?o.paths=n:o.rings=n}else if("points"in i&&"points"in o){const e=i.points,n=[];for(let s=0;s<e.length;s++)n[s]=t(e[s][0],e[s][1],[0,0],r),e[s].length>2&&n[s].push(e[s][2]),e[s].length>3&&n[s].push(e[s][3]);o.points=n}return s}function g(e,t){const n=e&&(f(e)?e:e.spatialReference),r=t&&(f(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.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 d(e,t){if(null==e)return null;const n=e.spatialReference,s=t&&(f(t)?t:t.spatialReference);return g(n,s)?(0,a.aI)(n,s)?(0,r.o8)(e):(0,a.K8)(s)?p(e,y,i.A.WebMercator,!1,(0,r.o8)(e)):(0,a.oT)(s)?p(e,v,i.A.WGS84,!1,(0,r.o8)(e)):null:null}function y(e,t,n=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const r=c(t);return n[0]=c(e)*o.$O.radius,n[1]=o.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function v(e,t,n=[0,0],r=!1){if(e===a.Mc[0])n[0]=-180;else if(e===a.Mc[1])n[0]=180;else{const t=u(e/o.$O.radius);n[0]=r?t:t-360*Math.floor((t+180)/360)}return n[1]=u(Math.PI/2-2*Math.atan(Math.exp(-t/o.$O.radius))),n}function x(e,t=!1,n=(0,r.o8)(e)){return(0,s.f)(e),(0,s.f)(n),p(e,y,i.A.WebMercator,t,n)}function M(e,t=!1,n=(0,r.o8)(e)){return(0,s.f)(e),(0,s.f)(n),p(e,v,i.A.WGS84,t,n)}},32728(e,t,n){n.d(t,{YH:()=>o,nu:()=>a,wp:()=>i}),n(34727);var r=n(35522),s=n(51850);function i(e,t){const n=Math.sqrt(t[0]*t[0]+t[4]*t[4]+t[8]*t[8]),s=Math.sqrt(t[1]*t[1]+t[5]*t[5]+t[9]*t[9]),i=Math.sqrt(t[2]*t[2]+t[6]*t[6]+t[10]*t[10]);return(0,r.hZ)(e,n,s,i),e}function o(e,t,n){n=n||e;const s=(0,r.Om)(e,t);(0,r.hZ)(n,e[0]-s*t[0],e[1]-s*t[1],e[2]-s*t[2]),(0,r.S8)(n,n)}function a(e,t,n,i=(0,s.vt)()){const o=(0,r.Bw)(e),a=(0,r.Bw)(t),l=(0,r.Om)(e,t)/(o*a);if(l<.9999999999999999){const s=Math.acos(l),h=((1-n)*o+n*a)/Math.sin(s),f=h/o*Math.sin((1-n)*s),m=h/a*Math.sin(n*s);return(0,r.hs)(u,e,f),(0,r.hs)(c,t,m),(0,r.WQ)(i,u,c)}return(0,r.Cc)(i,e,t,n)}(0,s.vt)(),(0,s.vt)(),(0,s.vt)();const u=(0,s.vt)(),c=(0,s.vt)()},34304(e,t,n){n.d(t,{DF:()=>u,FD:()=>s,Ov:()=>i,ct:()=>c});let r=1e-6;function s(){return r}const i=Math.random,o=Math.PI/180,a=180/Math.PI;function u(e){return e*o}function c(e){return e*a}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:i,equals:function(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))},getEpsilon:s,setEpsilon:function(e){r=e},toDegree:c,toRadian:u},Symbol.toStringTag,{value:"Module"}))},34403(e,t,n){n.d(t,{TP:()=>o});var r=n(79258);Math.PI;const s=r.$O.radius,i=r.$O.eccentricitySquared,o={a1:s*i,a2:s*i*s*i,a3:s*i*i/2,a4:s*i*s*i*2.5,a5:s*i+s*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},35223(e,t,n){n.d(t,{Hh:()=>o,fz:()=>u,g7:()=>a,s1:()=>i});var r=n(83290);let s;function i(){return!!s&&(0,r.i)()}async function o(){if(!i()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(4167)]).then(n.bind(n,28879)),Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6061)]).then(n.bind(n,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,r.l)()]);s=new e.OperatorGeodeticLength,t(r.p)}}function a(e,t,n){return s.execute(e,t,n,null)}function u(){return s.supportsCurves()}},35522(e,t,n){n.d(t,{$A:()=>S,Bw:()=>i,C:()=>o,Cc:()=>b,DI:()=>_,Il:()=>B,Io:()=>v,Ln:()=>y,Om:()=>N,Qr:()=>h,Re:()=>c,S8:()=>w,T9:()=>g,WQ:()=>u,Z0:()=>C,_S:()=>m,aI:()=>O,ei:()=>I,gL:()=>A,hG:()=>x,hZ:()=>a,hs:()=>d,jb:()=>T,jk:()=>p,lo:()=>z,lw:()=>l,m3:()=>M,oW:()=>G,t2:()=>E,tn:()=>f,uE:()=>Y,xg:()=>j,ze:()=>P});var r=n(51850),s=n(34304);function i(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function u(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function c(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function l(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function h(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function f(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function m(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function p(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function g(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function d(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function y(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function v(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2];return Math.sqrt(n*n+r*r+s*s)}function x(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2];return n*n+r*r+s*s}function M(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function P(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function _(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function w(e,t){const n=t[0],r=t[1],s=t[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i),e}function N(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function S(e,t,n){const r=t[0],s=t[1],i=t[2],o=n[0],a=n[1],u=n[2];return e[0]=s*u-i*a,e[1]=i*o-r*u,e[2]=r*a-s*o,e}function b(e,t,n,r){const s=t[0],i=t[1],o=t[2];return e[0]=s+r*(n[0]-s),e[1]=i+r*(n[1]-i),e[2]=o+r*(n[2]-o),e}function C(e,t,n){const r=t[0],s=t[1],i=t[2];return e[0]=n[0]*r+n[4]*s+n[8]*i+n[12],e[1]=n[1]*r+n[5]*s+n[9]*i+n[13],e[2]=n[2]*r+n[6]*s+n[10]*i+n[14],e}function I(e,t,n){const r=t[0],s=t[1],i=t[2];return e[0]=r*n[0]+s*n[3]+i*n[6],e[1]=r*n[1]+s*n[4]+i*n[7],e[2]=r*n[2]+s*n[5]+i*n[8],e}function A(e,t,n){const r=n[0],s=n[1],i=n[2],o=n[3],a=t[0],u=t[1],c=t[2],l=s*c-i*u,h=i*a-r*c,f=r*u-s*a,m=s*f-i*h,p=i*l-r*f,g=r*h-s*l,d=2*o;return e[0]=a+l*d+2*m,e[1]=u+h*d+2*p,e[2]=c+f*d+2*g,e}const R=(0,r.vt)(),D=(0,r.vt)();function E(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function O(e,t){if(e===t)return!0;const n=e[0],r=e[1],i=e[2],o=t[0],a=t[1],u=t[2],c=(0,s.FD)();return Math.abs(n-o)<=c*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=c*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=c*Math.max(1,Math.abs(i),Math.abs(u))}function G(e,t,n){const r=n[0]-t[0],s=n[1]-t[1],i=n[2]-t[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),e[0]=r*o,e[1]=s*o,e[2]=i*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const T=c,q=l,Z=h,j=v,z=x,B=i,Y=M;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:function(e,t){w(R,e),w(D,t);const n=N(R,D);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(e,t,n,r,s,i){const o=1-i,a=o*o,u=i*i,c=a*o,l=3*i*a,h=3*u*o,f=u*i;return e[0]=t[0]*c+n[0]*l+r[0]*h+s[0]*f,e[1]=t[1]*c+n[1]*l+r[1]*h+s[1]*f,e[2]=t[2]*c+n[2]*l+r[2]*h+s[2]*f,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:o,cross:S,crossAndNormalize:function(e,t,n){const r=t[0],s=t[1],i=t[2],o=n[0],a=n[1],u=n[2],c=s*u-i*a,l=i*o-r*u,h=r*a-s*o,f=Math.sqrt(c*c+l*l+h*h);return e[0]=c/f,e[1]=l/f,e[2]=h/f,e},direction:G,dist:j,distance:v,div:Z,divide:h,dot:N,equals:O,exactEquals:E,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,r,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,c=o*(i-1),l=o*(3-2*i);return e[0]=t[0]*a+n[0]*u+r[0]*c+s[0]*l,e[1]=t[1]*a+n[1]*u+r[1]*c+s[1]*l,e[2]=t[2]*a+n[2]*u+r[2]*c+s[2]*l,e},inverse:_,len:B,length:i,lerp:b,max:g,min:p,mul:q,multiply:l,negate:P,normalize:w,random:function(e,t=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*t;return e[0]=Math.cos(r)*o,e[1]=Math.sin(r)*o,e[2]=i*t,e},rotateX:function(e,t,n,r){const s=[],i=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateY:function(e,t,n,r){const s=[],i=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},rotateZ:function(e,t,n,r){const s=[],i=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:d,scaleAndAdd:y,set:a,sign:m,sqrDist:z,sqrLen:Y,squaredDistance:x,squaredLength:M,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:T,subtract:c,transformMat3:I,transformMat4:C,transformQuat:A},Symbol.toStringTag,{value:"Module"}))},39663(e,t,n){n.d(t,{e:()=>f,g:()=>m,l:()=>h});var r=n(86211),s=n(35223),i=n(5808);let o,a,u,c;function l(){return!!o&&(0,s.s1)()}async function h(){if(!l()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(1550)]).then(n.bind(n,78125)),(0,s.Hh)()]);o=e.fromGeometry,a=e.fromSpatialReference,u=e.getSpatialReference,c=(0,s.fz)()}}function f(e,t={}){const{curveType:n="geodesic",unit:c}=t,l=u(e);let h=(0,s.g7)(o(e),a(l),i.O[n]);return h&&c&&(h=(0,r.oU)(h,"meters",c)),h}const m=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:l,load:h,get supportsCurves(){return c}},Symbol.toStringTag,{value:"Module"}))},48265(e,t,n){n.d(t,{c:()=>u,e:()=>o});var r=n(15546),s=n(78125);const i=new class{getOperatorType(){return 10205}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(e,t){return(0,r.c)(e)}};function o(e){const t=i.execute((0,s.fromGeometry)(e),null);return(0,s.toPoint)(t,(0,s.getSpatialReference)(e))}const a=i.supportsCurves(),u=Object.freeze(Object.defineProperty({__proto__:null,execute:o,supportsCurves:a},Symbol.toStringTag,{value:"Module"}))},49208(e,t,n){n.d(t,{Tp:()=>h,jd:()=>l,pO:()=>m,w5:()=>c});var r=n(34727),s=n(86211),i=n(73941),o=n(79258),a=n(34403),u=n(21325);const c={2:{5:m,7:null,9:null,10:m,1:P,6:null,8:null,0:null,3:g,11:d,2:m,4:b},5:{5:m,7:null,9:null,10:m,1:P,6:null,8:null,0:null,3:g,11:d,2:m,4:b},7:{5:null,7:m,9:null,10:m,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:m,10:m,1:null,6:null,8:x,0:null,3:null,11:null,2:null,4:null},3:{5:p,7:null,9:null,10:p,1:function(e,t,n,r){const s=e[t]/E,i=D-2*Math.atan(Math.exp(-e[t+1]/E)),o=E+(e[t+2]??0),a=Math.cos(i)*o;n[r]=Math.cos(s)*a,n[r+1]=Math.sin(s)*a,n[r+2]=Math.sin(i)*o},6:null,8:null,0:null,3:m,11:function(e,t,n,r){p(e,t,n,r),d(n,r,n,r)},2:p,4:function(e,t,n,r){p(e,t,n,r),b(n,r,n,r)}},4:{5:C,7:null,9:null,10:C,1:function(e,t,n,r){C(e,t,n,r),P(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){C(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){C(e,t,n,r),d(n,r,n,r)},2:C,4:m},1:{5:S,7:null,9:null,10:S,1:m,6:null,8:null,0:null,3:function(e,t,n,r){S(e,t,n,r),g(n,r,n,r)},11:function(e,t,n,r){S(e,t,n,r),d(n,r,n,r)},2:S,4:function(e,t,n,r){S(e,t,n,r),b(n,r,n,r)}},6:{5:null,7:N,9:null,10:N,1:null,6:m,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:w,10:w,1:null,6:null,8:m,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:m,3:null,11:null,2:null,4:null},10:{5:m,7:m,9:m,10:m,1:P,6:M,8:x,0:null,3:g,11:d,2:m,4:b},11:{5:y,7:null,9:null,10:y,1:function(e,t,n,r){y(e,t,n,r),P(n,r,n,r)},6:null,8:null,0:null,3:function(e,t,n,r){y(e,t,n,r),g(n,r,n,r)},11:m,2:y,4:function(e,t,n,r){y(e,t,n,r),b(n,r,n,r)}}};function l(e,t){return h(e,t)?.projector}function h(e,t){if(null==e||null==t)return null;if(I.source.spatialReference===e&&I.dest.spatialReference===t)return I;const n=f(e,I.source),r=f(t,I.dest);return 0===n&&0===r?(0,u.aI)(e,t)?I.projector=m:I.projector=null:I.projector=c[n][r],I}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,s.GA)(e,1)),(0,i.jA)(e)?t.spatialReferenceId=1:(0,u.oT)(e)?t.spatialReferenceId=2:(0,u.K8)(e)?t.spatialReferenceId=3:(0,u.r1)(e)?t.spatialReferenceId=11:e.wkt===i.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===i.FY.wkt?t.spatialReferenceId=6:e.wkt===i.LJ.wkt?t.spatialReferenceId=8:(0,i.q8)(e)?t.spatialReferenceId=7:(0,i.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function m(e,t,n,r){e!==n&&(n[r++]=e[t++],n[r++]=e[t++],n[r]=e[t]??0)}function p(e,t,n,r){n[r]=R*(e[t]/E),n[r+1]=R*(D-2*Math.atan(Math.exp(-e[t+1]/E))),n[r+2]=e[t+2]??0}function g(e,t,n,s){!function(e,t,n,s,i){const o=.4999999*Math.PI,a=(0,r.qE)(A*e[t+1],-o,o),u=Math.sin(a);n[s++]=A*e[t]*i.radius,n[s++]=i.halfSemiMajorAxis*Math.log((1+u)/(1-u)),n[s]=e[t+2]??0}(e,t,n,s,o.$O)}function d(e,t,n,r){n[r]=e[t]*O,n[r+1]=e[t+1]*O,n[r+2]=e[t+2]??0}function y(e,t,n,r){n[r]=e[t]*G,n[r+1]=e[t+1]*G,n[r+2]=e[t+2]??0}function v(e,t,n,r,s){const i=s+(e[t+2]??0),o=A*e[t],a=A*e[t+1],u=Math.cos(a)*i;n[r]=Math.cos(o)*u,n[r+1]=Math.sin(o)*u,n[r+2]=Math.sin(a)*i}function x(e,t,n,r){v(e,t,n,r,o.Sw.radius)}function M(e,t,n,r){v(e,t,n,r,o.sH.radius)}function P(e,t,n,r){v(e,t,n,r,o.$O.radius)}function _(e,t,n,s,i){const o=e[t],a=e[t+1],u=e[t+2]??0,c=Math.sqrt(o*o+a*a+u*u),l=(0,r.YN)(u/(0===c?1:c)),h=Math.atan2(a,o);n[s++]=R*h,n[s++]=R*l,n[s]=c-i}function w(e,t,n,r){_(e,t,n,r,o.Sw.radius)}function N(e,t,n,r){_(e,t,n,r,o.sH.radius)}function S(e,t,n,r){_(e,t,n,r,o.$O.radius)}function b(e,t,n,r){!function(e,t,n,r,s){const i=A*e[t],o=A*e[t+1],a=e[t+2]??0,u=Math.sin(o),c=Math.cos(o),l=s.radius/Math.sqrt(1-s.eccentricitySquared*u*u);n[r++]=(l+a)*c*Math.cos(i),n[r++]=(l+a)*c*Math.sin(i),n[r++]=(l*(1-s.eccentricitySquared)+a)*u}(e,t,n,r,o.$O)}function C(e,t,n,r){const s=a.TP,i=e[t],u=e[t+1],c=e[t+2]??0;let l,h,f,m,p,g,d,y,v,x,M,P,_,w,N,S,b,C,I,A,D;l=Math.abs(c),h=i*i+u*u,f=Math.sqrt(h),m=h+c*c,p=Math.sqrt(m),A=Math.atan2(u,i),g=c*c/m,d=h/m,w=s.a2/p,N=s.a3-s.a4/p,d>.3?(y=l/p*(1+d*(s.a1+w+g*N)/p),I=Math.asin(y),x=y*y,v=Math.sqrt(1-x)):(v=f/p*(1-g*(s.a5-w-d*N)/p),I=Math.acos(v),x=1-v*v,y=Math.sqrt(x)),M=1-o.$O.eccentricitySquared*x,P=o.$O.radius/Math.sqrt(M),_=s.a6*P,w=f-P*v,N=l-_*y,b=v*w+y*N,S=v*N-y*w,C=S/(_/M+b),I+=C,D=b+S*C/2,c<0&&(I=-I),n[r++]=R*A,n[r++]=R*I,n[r]=D}const I={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:m},A=(0,r.kU)(1),R=(0,r.KJ)(1),D=.5*Math.PI,E=o.$O.radius,O=E*Math.PI/180,G=180/(E*Math.PI)},49590(e,t,n){n.d(t,{e:()=>f,g:()=>m,l:()=>h});var r=n(86211),s=n(86742),i=n(5808);let o,a,u,c;function l(){return!!o&&(0,s.s1)()}async function h(){if(!l()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(3299),n.e(1550)]).then(n.bind(n,78125)),(0,s.Hh)()]);o=e.fromGeometry,a=e.fromSpatialReference,u=e.getSpatialReference,c=(0,s.fz)()}}function f(e,t={}){const{curveType:n="geodesic",unit:c}=t,l=u(e);let h=(0,s.g7)(o(e),a(l),i.O[n]);return h&&c&&(h=(0,r.oU)(h,"square-meters",c)),h}const m=Object.freeze(Object.defineProperty({__proto__:null,execute:f,isLoaded:l,load:h,get supportsCurves(){return c}},Symbol.toStringTag,{value:"Module"}))},51850(e,t,n){function r(){return[0,0,0]}function s(e){return[e[0],e[1],e[2]]}function i(e,t,n){return[e,t,n]}function o(e,t,n){return[e,t,n]}function a(e,t=[0,0,0]){const n=Math.min(3,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function u(){return i(1,1,1)}function c(){return i(1,0,0)}function l(){return i(0,1,0)}function h(){return i(0,0,1)}n.d(t,{CN:()=>o,Cb:()=>d,Cw:()=>p,JP:()=>g,Un:()=>m,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>f,vt:()=>r});const f=[0,0,0],m=u(),p=c(),g=l(),d=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:m,UNIT_X:p,UNIT_Y:g,UNIT_Z:d,ZEROS:f,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:u,unitX:c,unitY:l,unitZ:h,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},60408(e,t,n){function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function s(e){return void 0!==e.points}function i(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function u(e){return"object"==typeof e&&"vertexAttributes"in e}function c(e){return e?i(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":s(e)?"esriGeometryMultipoint":null:null}function l(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function h(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>c,Bi:()=>a,Pv:()=>l,Rg:()=>o,U9:()=>s,W0:()=>h,ZC:()=>r,fT:()=>i,uW:()=>u})},61691(e,t,n){n.d(t,{G:()=>r});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},65708(e,t,n){n.d(t,{a:()=>o,e:()=>i});var r=n(86211),s=n(78125);function i(e,t={}){const{unit:n}=t;let i=(0,s.fromGeometry)(e).calculateArea2D();if(i&&n){const t=(0,s.getSpatialReference)(e);if(t.isGeographic)throw new Error("Unable to convert from an angular area unit to a linear area unit.");const o=(0,r.B5)(t);o!==n&&(o?i=(0,r.oU)(i,o,n):(i=Math.sqrt(i),i*=(0,r.GA)(t),i**=2,i=(0,r.oU)(i,"square-meters",n)))}return i}const o=Object.freeze(Object.defineProperty({__proto__:null,execute:i,supportsCurves:!0},Symbol.toStringTag,{value:"Module"}))},65806(e,t,n){n.d(t,{g:()=>o});var r=n(51850),s=n(91218),i=n(9762);function o(e,t,n,r){if((0,s.canProjectWithoutEngine)(e.spatialReference,n))return a[0]=e.x,a[1]=e.y,a[2]=e.z??0,(0,i.projectBuffer)(a,e.spatialReference,0,t,n,0);const o=(0,s.tryProject)(e,n,r);return!!o&&(t[0]=o.x,t[1]=o.y,t[2]=o.z??0,!0)}const a=(0,r.vt)()},69396(e,t,n){n.r(t),n.d(t,{area2D:()=>T,areaHorizontal:()=>L,autoArea2D:()=>B,autoDistance2DBetweenPoints:()=>V,autoLength2D:()=>Y,autoSize2D:()=>F,distance2DBetweenPoints:()=>z,geodeticArea:()=>I,geodeticDistanceBetweenPoints:()=>G,geodeticLength:()=>O,length2D:()=>j,preloadGeodetic:()=>A});var r=n(17799),s=n(86211),i=n(35522),o=n(51850),a=n(73941),u=n(86738),c=n(39829),l=n(82799),h=n(91218),f=n(16930),m=n(98764),p=n(65708),g=n(48265),d=n(16346),y=n(49590),v=n(11918),x=n(39663),M=n(7817),P=n(10222),_=n(27993);function w(e,t,n,r,s){(0,i.C)(N,e),(0,i.WQ)(S,e,t),(0,_.F)(N,n,N,s),(0,_.F)(S,n,S,s),(0,i.Re)(r,S,N),(0,i.S8)(r,r)}const N=(0,o.vt)(),S=(0,o.vt)();var b=n(21325),C=n(32728);async function I({geometryJSON:e,options:t}){await Promise.allSettled([(0,y.l)(),t?.returnLength?(0,x.l)():void 0]);const n=R(e,t),i=t?.unit??"square-meters",o=(0,P.e)(n)??n,a=(0,y.e)(o,{unit:i,...t}),u=(0,r.gT)(a,i),c=t?.lengthUnit??(0,s.Bd)(i);return{area:u,centroid:t?.returnCentroid?D(o).toJSON():void 0,length:t?.returnLength?await E(o,{unit:c}):void 0}}function A(){(0,y.l)(),(0,x.l)(),(0,v.load)()}function R(e,t){const n="rings"in e?c.A.fromJSON(e):l.A.fromJSON(e);if(t?.stagedPoint){const e=u.A.fromJSON(t.stagedPoint),r=("rings"in n?n.rings:n.paths).at(-1);if(r){const{x:t,y:s,z:i,m:o}=e,a=n.hasZ&&n.hasM?[t,s,i??0,o??0]:n.hasZ?[t,s,i??0]:n.hasM?[t,s,o??0]:[t,s];r.push(a)}}return n}function D(e){return(0,g.e)(e)}async function E(e,t){await(0,x.l)();const n=t?.unit??"meters";return(0,r.d_)((0,x.e)(e,{...t,unit:n}),n)}function O({geometryJSON:e,options:t}){return E(R(e,t),t)}async function G({geometry1JSON:e,geometry2JSON:t,options:n}){await(0,v.load)();const s=u.A.fromJSON(e),i=u.A.fromJSON(t),o=n?.unit??"meters";return(0,r.d_)((0,v.execute)(s,i,{...n,unit:o}),o)}function T({geometryJSON:e,options:t}){return q(R(e,t),t)}function q(e,t){const n=t?.unit??"square-meters",i=t?.lengthUnit??(0,s.Bd)(n),o=(0,P.e)(e)??e,a=(0,p.e)(o,{unit:n,...t});return{area:(0,r.gT)(a,n),centroid:t?.returnCentroid?D(o).toJSON():void 0,length:t?.returnLength?Z(o,{unit:i}):void 0}}function Z(e,t){const n=t?.unit??"meters";return(0,r.d_)((0,M.e)(e,{...t,unit:n}),n)}function j({geometryJSON:e,options:t}){return Z(R(e,t),t)}function z({geometry1JSON:e,geometry2JSON:t,options:n}){const s=u.A.fromJSON(e),i=u.A.fromJSON(t),o=n?.unit??"meters";return(0,r.d_)((0,d.e)(s,i,{...n,unit:o}),o)}async function B(e){return k(e.geometryJSON.spatialReference,I,T)(e)}async function Y(e){return k(e.geometryJSON.spatialReference,O,j)(e)}async function V(e){return k(e.geometry1JSON.spatialReference,G,z)(e)}async function F(e){const t=k(e.topLeftJSON.spatialReference,G,z),{topLeftJSON:n,topRightJSON:s,bottomRightJSON:i,bottomLeftJSON:o,options:a}=e,[u,c,l,h]=await Promise.all([t({geometry1JSON:o,geometry2JSON:i,options:a}),t({geometry1JSON:n,geometry2JSON:s,options:a}),t({geometry1JSON:i,geometry2JSON:s,options:a}),t({geometry1JSON:o,geometry2JSON:n,options:a})]);return{width:(0,r.T9)(u,c),height:(0,r.T9)(h,l)}}function k(e,t,n){switch(function(e){return(0,b.EA)(e)||(0,b.K8)(e)?0:1}(e)){case 0:return t;case 1:return n}}function L(e){const{geometryJSON:t}=e,n=function(e){return e?(0,a.B3)(e)?(0,b.oT)(e)||(0,b.K8)(e)||(0,b.x1)(e)||(0,a.jA)(e)||(0,b.aI)(e,m.Y0)?{mode:1,spatialReference:m.Y0}:{mode:0,spatialReference:e}:{mode:1,spatialReference:(0,m.lO)(e)}:null}(t.spatialReference);if(!n)throw new Error("Cannot compute horizontal area without a valid spatial reference.");switch(n.mode){case 0:return T(e);case 1:return function(e,{geometryJSON:t,options:n}){const r=R(t,n),s=$,i=W,o=U,a=(0,b.aI)(r.spatialReference,e.spatialReference)?r.clone():(0,h.projectWithoutEngine)(r,r.spatialReference,e.spatialReference);if(!a)throw new Error(`Cannot project geometry from ${r.spatialReference?.wkid??"unknown"} to ${e.spatialReference.wkid}.`);J(a,s,i,o);const{area:u,centroid:c,length:l}=q(a,n);return{area:u,centroid:X(c,s,i,o,e.spatialReference,r.spatialReference),length:l}}(n,e)}}function X(e,t,n,r,s,o){if(!e)return e;(0,i.hs)(n,n,e.x),(0,i.hs)(r,r,e.y);const a=K;return(0,i.WQ)(a,n,r),(0,i.WQ)(a,a,t),e.x=a[0],e.y=a[1],e.z=a[2],e.spatialReference=s,(0,h.projectWithoutEngine)(e,e.spatialReference,o)?.toJSON()??void 0}function J(e,t,n,r){let s=0;(0,i.hZ)(t,0,0,0);for(const n of e.rings)for(const e of n)t[0]+=e[0],t[1]+=e[1],t[2]+=e[2],s++;(0,i.hs)(t,t,1/s);const o=H;(0,i.S8)(o,t);const a=Q,u=Math.atan2(o[1],o[0]);(0,i.hZ)(a,-Math.sin(u),Math.cos(u),0),(0,b.aI)(e.spatialReference,m.Y0)&&(w(t,o,m.GD,o,e.spatialReference),w(t,a,m.GD,a,e.spatialReference)),(0,C.YH)(a,o,n),(0,i.$A)(r,n,o);const c=K;for(const s of e.rings)for(const e of s){(0,i.hZ)(c,e[0],e[1],e[2]),(0,i.Re)(c,c,t);const s=(0,i.Om)(n,c),o=(0,i.Om)(r,c);e[0]=s,e[1]=o}e.hasZ=!1,e.spatialReference=f.A.WebMercator}const W=(0,o.vt)(),U=(0,o.vt)(),$=(0,o.vt)(),K=(0,o.vt)(),H=(0,o.vt)(),Q=(0,o.vt)()},69397(e,t,n){n.d(t,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,lM:()=>i,qK:()=>l});var r=n(34275);const s=16;function i(e){if(!e)return 0;let t=l;for(const n in e)e.hasOwnProperty(n)&&(t+=a(e[n],!1));return t}function o(e){if(!e)return 0;if("number"==typeof e[0])return u(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return c(e,8);let n=h;for(let r=0;r<t;r++)n+=a(e[r]);return n}(e);let t=l;for(const n in e)e.hasOwnProperty(n)&&(t+=a(e[n]));return t}function a(e,t=!0){switch(typeof e){case"object":return t?o(e):l;case"string":return function(e){return 32+e.length}(e);case"number":return s;case"boolean":return 4;default:return 8}}function u(...e){return e.reduce((e,t)=>e+(t?(0,r.iu)(t)?t.byteLength+f:Array.isArray(t)?c(t,s):0:0),0)}function c(e,t){return h+e.length*t}const l=32,h=16,f=145,m=64},70328(e,t,n){n.d(t,{BI:()=>x,DC:()=>h,Ej:()=>m,Ie:()=>y,Jt:()=>v,Ne:()=>p,RF:()=>l,aI:()=>P,fA:()=>o,gE:()=>u,hZ:()=>d,iT:()=>f,is:()=>M,qv:()=>_,vI:()=>g,vY:()=>a,v_:()=>w,vt:()=>i,w1:()=>c});var r=n(5443),s=(n(19419),n(4197));function i(e=w){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,n,r,s,o,a=i()){return a[0]=e,a[1]=t,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(e,t=i()){return function(e,t,n,r=i()){return d(r,_),function(e,t,n=0,r=t.length/3){let s=e[0],i=e[1],o=e[2],a=e[3],u=e[4],c=e[5];for(let e=0;e<r;e++)s=Math.min(s,t[n+3*e]),i=Math.min(i,t[n+3*e+1]),o=Math.min(o,t[n+3*e+2]),a=Math.max(a,t[n+3*e]),u=Math.max(u,t[n+3*e+1]),c=Math.max(c,t[n+3*e+2]);e[0]=s,e[1]=i,e[2]=o,e[3]=a,e[4]=u,e[5]=c}(r,e,t,n),r}(e,0,e.length/3,t)}function u(e,t=(0,s.jh)(24)){const[n,r,i,o,a,u]=e;return t[0]=n,t[1]=r,t[2]=i,t[3]=n,t[4]=r,t[5]=u,t[6]=n,t[7]=a,t[8]=i,t[9]=n,t[10]=a,t[11]=u,t[12]=o,t[13]=r,t[14]=i,t[15]=o,t[16]=r,t[17]=u,t[18]=o,t[19]=a,t[20]=i,t[21]=o,t[22]=a,t[23]=u,t}function c(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function l(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function h(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function f(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function m(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function p(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function g(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function d(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function y(e){return e?d(e,_):i(_)}function v(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function x(e,t,n,r,s){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=s,e[5]=Number.POSITIVE_INFINITY,e}function M(e){return 6===e.length}function P(e,t,n){if(null==e||null==t)return e===t;if(!M(e)||!M(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const _=[1/0,1/0,1/0,-1/0,-1/0,-1/0],w=[0,0,0,0,0,0];i()},76061(e,t,n){n.d(t,{S:()=>s});var r=n(61691);class s extends r.G{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125(e,t,n){n.r(t),n.d(t,{fromExtent:()=>d,fromGeometry:()=>g,fromMultipoint:()=>y,fromPoint:()=>v,fromPolygon:()=>x,fromPolyline:()=>M,fromPolylineUsingImportOperator:()=>P,fromSpatialReference:()=>_,getSpatialReference:()=>p,toExtent:()=>N,toGeometry:()=>w,toMultipoint:()=>S,toPoint:()=>b,toPolygon:()=>C,toPolyline:()=>I});var r=n(83661),s=(n(79187),n(55537)),i=n(95213),o=n(88885),a=n(5443),u=n(48526),c=n(86738),l=n(39829),h=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function p(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function g(e){switch(e.type){case"point":return v(e);case"multipoint":return y(e);case"polyline":return M(e);case"polygon":return x(e);case"extent":return d(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function d(e){if(!e.getCacheValue(m)){const t=new i.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(2,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(1,0,e.zmin,e.zmax),e.setCacheValue(m,t)}return e.getCacheValue(m)}function y(e){if(!e.getCacheValue(m)){const t=new o.M,n=new i.P,r=e.points,s=e.hasM,a=e.hasZ,u=a?3:2;for(let e=0,i=r.length;e<i;e++){const i=r[e];n.setXYCoords(i[0],i[1]),a&&n.setZ(i[2]??0),s&&n.setM(i[u]??NaN),t.add(n)}e.setCacheValue(m,t)}return e.getCacheValue(m)}function v(e){if(!e.getCacheValue(m)){const t=new i.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(m,t)}return e.getCacheValue(m)}function x(e){if(!e.getCacheValue(m)){const{curveRings:t,hasM:n,hasZ:r,rings:s}=e,i=(0,f.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:s});e.setCacheValue(m,i)}return e.getCacheValue(m)}function M(e){if(!e.getCacheValue(m)){const{curvePaths:t,hasM:n,hasZ:r,paths:s}=e,i=(0,f.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:s});e.setCacheValue(m,i)}return e.getCacheValue(m)}function P(e){if(!e.getCacheValue(m)){const{curvePaths:t,hasM:n,hasZ:r,paths:s}=e,i=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:t,hasM:n,hasZ:r,paths:s});e.setCacheValue(m,i)}return e.getCacheValue(m)}function _(e){return(0,f.fromSpatialReference)(e)}function w(e,t){if(e)switch(e.getGeometryType()){case s.G.enumPoint:return b(e,t);case s.G.enumEnvelope:return N(e,t);case s.G.enumMultiPoint:return S(e,t);case s.G.enumPolyline:return I(e,t);case s.G.enumPolygon:return C(e,t)}return null}function N(e,t){if(e.isEmpty())return null;const n=new a.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(2,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(1,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(m,e),n}function S(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),s=n.hasZ(),o=[],a=new i.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,a);const n=[a.getX(),a.getY()];s&&n.push(a.getZ()),r&&n.push(a.getM()),o.push(n)}const c=new u.A({hasM:r,hasZ:s,points:o,spatialReference:t});return c.setCacheValue(m,e),c}function b(e,t){if(e instanceof r.P)return new c.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new c.A({x:e.getX(),y:e.getY(),spatialReference:t}),s=e.getDescription();return s.hasM()&&(n.m=e.getM()),s.hasZ()&&(n.z=e.getZ()),n.setCacheValue(m,e),n}function C(e,t){if(e.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(e,null),spatialReference:t});return n.setCacheValue(m,e),n}function I(e,t){if(e.isEmpty())return null;const n=h.A.fromJSON({...(0,f.toGeometry)(e,null),spatialReference:t});return n.setCacheValue(m,e),n}},81150(e,t,n){n.d(t,{Pg:()=>u,fz:()=>c,g7:()=>o,zo:()=>a});var r=n(76061),s=(n(55537),n(88885),n(15756));n(95213);const i=new s.f;function o(e,t,n){return i.execute(e,t,n,null)}function a(e,t,n){const s=i.executeMany(new r.S(e),t,n,null);return Array.from(s)}function u(e,t,n){return i.isSimpleAsFeature(e,t,n,null,null)}function c(){return i.supportsCurves()}},86738(e,t,n){n.d(t,{A:()=>x});var r=n(5482),s=n(69622),i=n(53966),o=n(91429),a=n(56507),u=n(91075),c=n(16930),l=n(21325),h=n(28735);function f({x:e,y:t,spatialReference:n},r=[0,0]){if(n){if((0,l.K8)(n))return(0,h.tD)(e,t,r);if((0,l.EA)(n))return r[0]=e,r[1]=t,r}return null}const m=[0,0];var p,g=n(43937),d=n(36005);const y=[0,0];function v(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}let x=p=class extends u.A{static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const n=e._get("spatialReference");t._set("spatialReference",s.A.isFrozen(n)?n:n.clone())}constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(e,t,n,r,s){let o;if(Array.isArray(e))o=e,s=t,e=o[0],t=o[1],n=o[2],r=o[3];else if(e&&"object"==typeof e){if(o=e,e=null!=o.x?o.x:o.longitude,t=null!=o.y?o.y:o.latitude,n=o.z,r=o.m,(s=o.spatialReference)&&"esri.geometry.SpatialReference"!==s.declaredClass&&(s=new c.A(s)),null!=o.longitude||null!=o.latitude)if(null==o.longitude)i.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==o.latitude)i.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!o.declaredClass&&s?.isWebMercator){const n=(0,h.je)(o.longitude,o.latitude,y);e=n[0],t=n[1]}}else v(n)?(s=n,n=null):v(r)&&(s=r,r=null);const a={x:e,y:t};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!=s&&(a.spatialReference=s),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(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){return e=this,f(e,m)?.[1]??null;var e}set latitude(e){const{spatialReference:t,x:n}=this;null!=e&&t&&(t.isWebMercator?this._set("y",(0,h.je)(n,e,y)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){return e=this,f(e,m)?.[0]??null;var e}set longitude(e){const{y:t,spatialReference:n}=this;null!=e&&n&&(n.isWebMercator?this._set("x",(0,h.je)(e,t,y)[0]):n.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,n){t[n]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new p;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return p.copy(e,this),this}equals(e){if(null==e)return!1;const{x:t,y:n,z:r,m:s,spatialReference:i}=this,{z:o,m:a}=e;let{x:u,y:c,spatialReference:l}=e;if(!i.equals(l))if(i.isWebMercator&&l.isWGS84)[u,c]=(0,h.je)(u,c),l=i;else{if(!i.isWGS84||!l.isWebMercator)return!1;[u,c]=(0,h.tD)(u,c),l=i}return t===u&&n===c&&r===o&&s===a&&i.wkid===l.wkid}offset(e,t,n){return this.x+=e,this.y+=t,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const e=(0,l.Vp)(this.spatialReference);if(!e)return this;let t=this.x;const[n,r]=e.valid,s=2*r;let i;return t>r?(i=Math.ceil(Math.abs(t-r)/s),t-=i*s):t<n&&(i=Math.ceil(Math.abs(t-n)/s),t+=i*s),this._set("x",t),this}distance(e){return function(e,t){const n=e.x-t.x,r=e.y-t.y,s=null!=e.z&&null!=t.z?e.z-t.z:0;return Math.sqrt(n*n+r*r+s*s)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,r.Cg)([(0,o.MZ)({readOnly:!0})],x.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasM",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasZ",null),(0,r.Cg)([(0,o.MZ)({type:Number})],x.prototype,"latitude",null),(0,r.Cg)([(0,o.MZ)({type:Number})],x.prototype,"longitude",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,o.wg)(e=>isNaN(e)?e:(0,a.GB)(e))],x.prototype,"x",void 0),(0,r.Cg)([(0,g.K)("x")],x.prototype,"writeX",null),(0,r.Cg)([(0,d.w)("x")],x.prototype,"readX",null),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],x.prototype,"y",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],x.prototype,"z",void 0),(0,r.Cg)([(0,o.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],x.prototype,"m",void 0),x=p=(0,r.Cg)([(0,o.$K)("esri.geometry.Point")],x),x.prototype.toJSON.isDefaultToJSON=!0},86742(e,t,n){n.d(t,{Hh:()=>o,fz:()=>u,g7:()=>a,s1:()=>i});var r=n(83290);let s;function i(){return!!s&&(0,r.i)()}async function o(){if(!i()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6859),n.e(6558)]).then(n.bind(n,6558)),Promise.all([n.e(3661),n.e(1878),n.e(8885),n.e(5756),n.e(6061)]).then(n.bind(n,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,r.l)()]);s=new e.OperatorGeodeticArea,t(r.p)}}function a(e,t,n){return s.execute(e,t,n,null)}function u(){return s.supportsCurves()}},87992(e,t,n){n.d(t,{JR:()=>S,ME:()=>_,MY:()=>b,NO:()=>P,Nh:()=>N,V2:()=>D,_s:()=>E,e6:()=>G,gh:()=>w,tr:()=>q,uX:()=>d});var r=n(5482),s=n(69397),i=n(16930),o=(n(70328),n(19419)),a=n(60408),u=n(21325),c=n(513),l=n(50954),h=n(79567),f=n(52006),m=n(49663),p=n(46068),g=n(92722);class d{constructor({type:e,spatialReference:t,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:c,segmentIndices:l,segmentParams:h,segmentCountArc:f,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=e,this.spatialReference=t,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=c,this.segmentIndices=l,this.segmentParams=h,this.segmentCountArc=f,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:e,segmentCountArc:t,segmentCountBezier:n}=this;return e&&e-t-n}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 e(e){return e?s.Ul+e.byteLength:0}return e(this.vertexXY)+e(this.vertexZ)+e(this.vertexM)+e(this.partOffsets)+e(this.partFlags)+e(this.segmentFlags)+e(this.segmentIndices)+e(this.segmentParams)}clone(){const{type:e,vertexCount:t,partCount:n,hasZ:r,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=D(e,t,n,r,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:c,vertexM:l}=this;if(a.vertexXY.set(u.subarray(0,2*t),0),a.vertexZ?.set(c.subarray(0,t),0),a.vertexM?.set(l.subarray(0,t),0),this.isMultipart()){const{partOffsets:e,partFlags:t}=this;a.partFlags.set(t.subarray(0,n+1)),a.partOffsets.set(e.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:e,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;a.segmentFlags.set(e.subarray(0,t),0),a.segmentIndices.set(n.subarray(0,t),0),a.segmentParams.set(r.subarray(0,s),0)}return a}equals(e){return this.equalsWithinTolerance(e,0)}equalsWithinTolerance(e,t){if(null==e)return!1;if(this===e)return!0;if(!(0,u.aI)(this.spatialReference,e.spatialReference))return!1;if(this.vertexCount!==e.vertexCount||this.partCount!==e.partCount)return!1;if(this.hasZ!==e.hasZ||this.hasM!==e.hasM)return!1;if(this.hasCurves()!==e.hasCurves()||this.segmentCountArc!==e.segmentCountArc||this.segmentCountBezier!==e.segmentCountBezier)return!1;const n=0===t?(e,t)=>e!==t||isNaN(e)!==isNaN(t):(e,n)=>Math.abs(e-n)>t||isNaN(e)!==isNaN(n);for(let t=0;t<this.vertexCount;++t)if(n(this.vertexXY[2*t],e.vertexXY[2*t])||n(this.vertexXY[2*t+1],e.vertexXY[2*t+1]))return!1;if(this.hasZ)for(let t=0;t<this.vertexCount;++t)if(n(this.vertexZ[t],e.vertexZ[t]))return!1;if(this.hasM)for(let t=0;t<this.vertexCount;++t)if(n(this.vertexM[t],e.vertexM[t]))return!1;for(let t=0;t<this.partCount;++t)if(this.partFlags[t]!==e.partFlags[t]||this.partOffsets[t]!==e.partOffsets[t])return!1;if(this.hasCurves()){for(let t=0;t<this.vertexCount;++t)if(this.segmentFlags[t]!==e.segmentFlags[t]||this.segmentIndices[t]!==e.segmentIndices[t])return!1;for(let t=0;t<this.segmentParamCount;++t)if(n(this.segmentParams[t],e.segmentParams[t]))return!1}return!0}get parts(){return new y(this)}}class y{constructor(e){this.geometry=e,this.value=new v(e)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class v{constructor(e){this.geometry=e,this.index=-1,this._readVertex=A(e),this._segments=new x(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const e=this.geometry.partOffsets;return e[this.index+1]-e[this.index]}}class x{constructor(e){this._part=e,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===e.geometry.type,this.value=new M(e.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const e=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=e&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:e}=this._part,t=this._part.geometry.partOffsets;this._partStart=t[e],this._partEnd=t[e+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class M{constructor(e){this.geometry=e,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=A(e)}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 e=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===e)return this.end;const t=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===e){const e=t[n++],r=t[n++],s=t[n++],i=t[n++];return{b:[this.end,[e,r],[s,i]]}}const r=t[n++],s=t[n++],i=t[n++],o=t[n++],a=t[n++],u=t[n++];n++,n++;const c=t[n++],l=t[n++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[c,l]]};const h=2&r?0:1,f=1&r?0:1;return{a:[this.end,[a,u],h,f,o,s,i]}}}function P(e,t){const n={stack:[],error:void 0,hasError:!1};try{return t??=(0,o.Ie)(),(0,r.mS)(n,new C(e,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(t,function(e){let t;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:a}=e,u=I(e);if(e.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new C(e,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const t of e.parts){let e=t.startVertex;for(const{curve:n}of t.segments)(0,h.e)(s,e,n),e=(0,f.yP)(n)}const[i,a,c,l]=s;t={xmin:i,ymin:a,xmax:c,ymax:l,spatialReference:u}}catch(e){n.error=e,n.hasError=!0}finally{(0,r.hk)(n)}}else{let e,r,i,o;e=r=1/0,i=o=-1/0;for(let t=0;t<n;++t){const n=s[2*t],a=s[2*t+1];e=Math.min(e,n),i=Math.max(i,n),r=Math.min(r,a),o=Math.max(o,a)}t={xmin:e,ymin:r,xmax:i,ymax:o,spatialReference:u}}if(i){let e=1/0,n=-1/0;for(const t of i)e=Math.min(e,t),n=Math.max(n,t);t.zmin=e,t.zmax=n}if(a){let e=1/0,n=-1/0;for(const t of a)e=Math.min(e,t),n=Math.max(n,t);t.mmin=e,t.mmax=n}return t}(e)),t}catch(e){n.error=e,n.hasError=!0}finally{(0,r.hk)(n)}}function _(e){let t,n,r;if((0,a.fT)(e)){r="point";const{x:s,y:i,z:o,m:a}=e,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),n=[[u]],t=1}else(0,a.U9)(e)?(r="multipoint",n=[e.points],t=e.points.length):(0,a.Rg)(e)?(r="polyline",n=e.curvePaths??e.paths,t=n.reduce((e,t)=>e+t.length,0)):(r="polygon",n=e.curveRings??e.rings,t=n.reduce((e,t)=>(0===t.length||(e+=t.length,R(t[0],(0,f.yP)(t.at(-1)))&&--e),e),0));const s=D(r,t,r.includes("point")?0:n.length,(0,a.Pv)(e),(0,a.W0)(e),(0,f.Ed)(e)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:c,vertexM:l}=s;function h(e){u[2*p]=e[0],u[2*p+1]=e[1],i&&(c[p]=e[2]),o&&(l[p]=e[m]),++p}s.spatialReference=e.spatialReference??void 0;const m=s.hasZ?3:2;let p=0;if(!s.isMultipart()){if(!i&&!o){for(const[e,t]of n[0])u[2*p]=e,u[2*p+1]=t,++p;return s}for(const e of n[0])h(e);return s}const g="polygon"===r,{partOffsets:d}=s;let y=0;if(!s.hasCurves()){for(const e of n){if(d[y++]=p,0===e.length)continue;let t=e.length;if(g&&R(e[0],e.at(-1))&&--t,i||o)for(let n=0;n<t;++n)h(e[n]);else for(let n=0;n<t;++n){const[t,r]=e[n];u[2*p]=t,u[2*p+1]=r,++p}}return d[y]=p,s}function v(e){const t=x+e;if(t<=(s.segmentParams?.length??0))return;let n=t*Z;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let x=0;for(const e of n){if(s.partOffsets[y++]=p,0===e.length)continue;const t=e[0];let n=t;for(let t=1;t<e.length;++t){const r=e[t];h(n);const i=p-1;(0,f.wY)(r)?(v(10),++s.segmentCountArc,x=E(n,r,s,i,x),n=r.a[0]):(0,f.DA)(r)?(v(10),++s.segmentCountArc,x=O(n,r,s,i,x),n=r.a[0]):(0,f.aO)(r)?(v(10),++s.segmentCountArc,x=G(n,r,s,i,x),n=r.c[0]):(0,f.n1)(r)?(v(4),++s.segmentCountBezier,x=q(0,r,s,i,x),n=r.b[0]):n=r}g&&R(t,n)||h(n)}return s.partOffsets[y]=p,s}function w(e){const t=A(e),{vertexCount:n,partCount:r,hasZ:s,hasM:i}=e,o=I(e);if("point"===e.type){const[t,n]=e.vertexXY,r=e.vertexZ?.[0],s=e.vertexM?.[0];return{x:t,y:n,z:r,m:s,spatialReference:o}}let a=0;if("multipoint"===e.type){const e=[];for(;a<n;)e.push(t(a++));return{points:e,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===e.type;if(!e.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=e.partOffsets[s+1],i=new Array;for(;a<r;)i.push(t(a++));u&&i.length>0&&i.push(i[0]),n.push(i)}return u?{rings:n,hasZ:s,hasM:i,spatialReference:o}:{paths:n,hasZ:s,hasM:i,spatialReference:o}}const c=new Array;for(const{segments:t,startVertex:n}of e.parts){const e=[n];for(const{curve:n}of t)e.push(n);c.push(e)}return u?{rings:[],curveRings:c,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:c,hasZ:s,hasM:i,spatialReference:o}}function N(e,{lengths:t,coords:n,hasZ:r,hasM:s},i){const o=e.includes("point")?0:t.length,a="polygon"===e,u="point"===e?1:t.reduce((e,t)=>e+t,0)-(a?o:0);r??=!1,s??=!1;const c=D(e,u,o,r,s,!1,0,0);if(c.spatialReference=i??void 0,!c.isMultipart()){for(let e=0,t=0;e<u;++e)c.vertexXY[2*e]=n[t++],c.vertexXY[2*e+1]=n[t++],r&&(c.vertexZ[e]=n[t++]),s&&(c.vertexM[e]=n[t++]);return c}const l=2+Number(r)+Number(s);let h=0,f=0;c.partOffsets[0]=0;for(const e of t){const t=c.partOffsets[f],i=t+e-Number(a);c.partOffsets[++f]=i;for(let e=t;e<i;++e)c.vertexXY[2*e]=n[h++],c.vertexXY[2*e+1]=n[h++],r&&(c.vertexZ[e]=n[h++]),s&&(c.vertexM[e]=n[h++]);a&&(h+=l)}return c}function S({type:e,vertexCount:t,vertexXY:n,vertexZ:r,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const c=new g.A([],[],a,u);i=Math.max(i,1);const l="polygon"===e;let h=0;for(let e=0;e<i;++e){const i=o?.[e+1]??t,f=c.coords.length;for(let e=h;e<i;++e)c.coords.push(n[2*e],n[2*e+1]),a&&c.coords.push(r[e]),u&&c.coords.push(s[e]);if(l){const e=h;c.coords.push(n[2*e],n[2*e+1]),a&&c.coords.push(r[e]),u&&c.coords.push(s[e])}c.lengths.push((c.coords.length-f)/c.stride),h=i}return"point"===e&&(c.lengths.length=0),c}function b(e,t){return"getSpatialReference"in e&&(t=function(e){if(null==e)return;const t=e.getText()||void 0,n=e.isCustomWkid()?0:e.getOldID();if(n<=0)return{wkt:t};let r=e.getLatestID();(r<=0||r===n)&&(r=void 0);const s=e.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:t};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:t};let o=e.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:n,wkt:t,latestWkid:r,vcsWkid:i,latestVcsWkid:o}}(e.getSpatialReference()),e=e.getGeometry()),new d({...e.toFlatGeometry(),spatialReference:t})}class C{constructor(e,t){this.target=e,this.keys=t,this.oldValues=t.map(t=>e[t]);for(const n of t)e[n]=void 0}[Symbol.dispose](){this.keys.map((e,t)=>{this.target[e]=this.oldValues[t]})}}function I({spatialReference:e}){return e instanceof i.A?e.toJSON():e}function A({vertexXY:e,vertexZ:t,vertexM:n}){return t?n?r=>[e[2*r],e[2*r+1],t[r],n[r]]:n=>[e[2*n],e[2*n+1],t[n]]:n?t=>[e[2*t],e[2*t+1],n[t]]:t=>[e[2*t],e[2*t+1]]}function R(e,t){return e.every((e,n)=>e===t[n])}function D(e,t,n,r,s,i,o,a){o??=0,a??=0;const u=new d({type:e,vertexCount:t,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let c=2*Float64Array.BYTES_PER_ELEMENT*t;r&&(c+=Float64Array.BYTES_PER_ELEMENT*t),s&&(c+=Float64Array.BYTES_PER_ELEMENT*t),u.isMultipart()&&(c+=(n+1)*Int32Array.BYTES_PER_ELEMENT,c+=(n+1)*Int8Array.BYTES_PER_ELEMENT),i&&(c+=t*Int8Array.BYTES_PER_ELEMENT,c+=t*Int32Array.BYTES_PER_ELEMENT,c+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const l=new ArrayBuffer(c);let h=0;return u.vertexXY=new Float64Array(l,h,2*t),h+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(l,h,t),h+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(l,h,t),h+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(l,h,u.segmentParamCount),h+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(l,h,t),u.segmentIndices.fill(j),h+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(l,h,n+1),h+=u.partOffsets.byteLength,u.partFlags=new Int8Array(l,h,n+1),h+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),i&&(u.segmentFlags=new Int8Array(l,h,t),u.segmentFlags.fill(1),h+=u.segmentFlags.byteLength),u}function E(e,t,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const[a,[u,c],l,h,f,m,g]=t.a;let d=4;h||(d|=1),l||(d|=2);const y=(0,p.SW)(e,t),[v,x]=(0,p.Uk)(y,.5);return s[o++]=d,s[o++]=m,s[o++]=g,s[o++]=f,s[o++]=u,s[o++]=c,s[o++]=y.u2-y.u1,s[o++]=y.u1,s[o++]=v,s[o++]=x,o}function O(e,t,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const a=(0,m.i)(e,t);return T(a,4,...(0,c.mq)(a,.5),s,o)}function G(e,t,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){return n[i]=4,r[i]=o,T((0,l.pM)(e,t),0,...t.c[1],s,o)}function T(e,t,n,r,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:c,radius:l}=e;return u>c||(t|=1),Math.abs(c-u)<=Math.PI||(t|=2),s[i++]=t,s[i++]=l,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=c-u,s[i++]=u,s[i++]=n,s[i++]=r,i}function q(e,{b:[t,[n,r],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},c,l){return o[c]=2,a[c]=l,u[l++]=n,u[l++]=r,u[l++]=s,u[l++]=i,l}const Z=1.61803,j=-1},91075(e,t,n){n.d(t,{A:()=>u});var r=n(5482),s=n(25482),i=n(91429),o=n(16930),a=n(36005);let u=class extends s.o{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=o.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof o.A)return e;if(null!=e){const n=new o.A;return n.read(e,t),n}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,r.Cg)([(0,i.MZ)()],u.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],u.prototype,"cache",null),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],u.prototype,"extent",null),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],u.prototype,"hasM",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],u.prototype,"hasZ",void 0),(0,r.Cg)([(0,i.MZ)({type:o.A,json:{write:!0},value:o.A.WGS84})],u.prototype,"spatialReference",void 0),(0,r.Cg)([(0,a.w)("spatialReference")],u.prototype,"readSpatialReference",null),u=(0,r.Cg)([(0,i.$K)("esri.geometry.Geometry")],u)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>X,initializeProjection:()=>W,isEqualBaseGCS:()=>J,isLoaded:()=>E,isLoadedOrLoad:()=>O,isLoadedOrLoadFor:()=>G,load:()=>q,project:()=>Z,projectAsync:()=>L,projectExtent:()=>se,projectMany:()=>j,projectMultipoint:()=>H,projectOrLoad:()=>B,projectOrLoadMany:()=>Y,projectPoint:()=>$,projectPolygon:()=>ne,projectPolyline:()=>ee,projectWithoutEngine:()=>U,requiresLoad:()=>T,test:()=>k,tryProject:()=>z,unload:()=>F});var r=n(49186),s=n(74887),i=n(62788),o=n(95488),a=n(51850),u=n(21276),c=n(73941),l=n(5443),h=n(91075),f=n(48526),m=n(86738),p=n(39829),g=n(82799),d=n(16930),y=n(98764),v=n(159),x=n(9762),M=n(49208);function P(e,t,n,r,s,i){return _[0]=e,_[1]=t,_[2]=n,(0,x.projectBuffer)(_,r,0,s,i,0)}const _=(0,a.vt)();var w=n(60408),N=n(21325),S=n(52006);let b=null,C=null,I=null,A=null,R={};const D=new o.I;function E(){return!!(C?.isLoaded()&&I?.isLoaded()&&A?.isLoaded())}function O(){return!!E()||((0,i.gc)(D),q(),!1)}function G(e,t){return!e||!t||X(e,t)||O()}function T(e,t){return!X(e,t)&&!E()}async function q(e){null==b&&(b=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(C=e,C.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(I=e,I.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(A=e,A.load()))])),await b,(0,s.Te)(e),D.notify()}function Z(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,u.H)(e),j(e,e[0].spatialReference,t,n)):((0,u.f)(e),j([e],e.spatialReference,t,n)[0])}function j(e,t,n,r){if(null==t||null==n)return e;if(X(t,n,r))return e.map(e=>U(e,t,n));if(null==r?.geographicTransformation&&(0,c.jA)(t))return j(e.map(e=>U(e,t,d.A.WGS84)),d.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,c.jA)(n))return j(e,t,d.A.WGS84).map(e=>U(e,d.A.WGS84,n));if(!E())throw new V;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:A.getTransformation(t,n,r.areaOfInterestExtent)||new v.A};else if(!r?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,n);let s=R[e];s||(s=A.getTransformation(t,n)||new v.A,R[e]=s),r={geographicTransformation:s,zConversionDisabled:r?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof h.A?C.executeMany(e,n,r):I.executeMany(e,n,r)}function z(e,t,n){try{return Z(e,t,n)}catch(e){return null}}function B(e,t){const n=Y([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function Y(e,t,n){if(!E())for(const n of e)if(null!=n&&!(0,N.aI)(n.spatialReference,t)&&(0,N.fn)(n.spatialReference)&&(0,N.fn)(t)&&!X(n.spatialReference,t))return(0,i.gc)(D),{pending:q(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,N.aI)(e.spatialReference,t)?e:(0,N.fn)(e.spatialReference)&&(0,N.fn)(t)?Z(e,t,n):null)}}class V extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function F(){b=null,C=null,I=null,A=null,R={}}const k={get loadPromise(){return b}};async function L(e,t,n){if((0,s.Te)(n),!e)return e;const r=Y(Array.isArray(e)?e:[e],t,n);if(r.pending)return await r.pending,(0,s.Te)(n),L(e,t,n);const i=r.geometries??[];return Array.isArray(e)?i:i[0]}function X(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,N.aI)(e,t)||(0,N.fn)(e)&&(0,N.fn)(t)&&!!(0,M.jd)(e,t))}function J(e,t){if((0,N.aI)(e,t))return!0;if(!(0,N.fn)(e)||!(0,N.fn)(t))return!1;const n=(0,N.oT)(e)||(0,N.K8)(e)||(0,N.x1)(e),r=(0,N.oT)(t)||(0,N.K8)(t)||(0,N.x1)(t);return n&&r}async function W(e,t,n,r){if(E())return(0,s.NO)(r);if(Array.isArray(e)){for(const{source:t,dest:n,options:s}of e)if(t&&n&&!X(t,n,s))return q(r)}else if(e&&t&&!X(e,t,n))return q(r);return(0,s.NO)(r)}function U(e,t,n){return e?(0,w.fT)(e)?K(e,t,new m.A,n,0):(0,w.ZC)(e)?ie(e,t,new l.A,n,0):(0,w.Bi)(e)?re(e,t,new p.A,n,0):(0,w.Rg)(e)?te(e,t,new g.A,n,0):(0,w.U9)(e)?Q(e,t,new f.A,n,0):null:null}function $(e,t,n=t.spatialReference,r=0){return null!=n&&null!=e.spatialReference&&null!=K(e,e.spatialReference,t,n,r)}function K(e,t,n,r,s){ce[0]=e.x,ce[1]=e.y;const i=e.z;return ce[2]=void 0!==i?i:s,(0,x.projectBuffer)(ce,t,0,ce,r,0)?(n.x=ce[0],n.y=ce[1],n.spatialReference=r,void 0!==i||(0,c.xP)(r)?(n.z=ce[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function H(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=Q(e,e.spatialReference,t,n,r)}function Q(e,t,n,r,s){const{points:i,hasZ:o,hasM:a}=e,u=[],c=i.length,l=[];for(const e of i)l.push(e[0],e[1],o?e[2]:s);if(!(0,x.projectBuffer)(l,t,0,l,r,0,c))return null;const h=ue(o,r);for(let e=0;e<c;++e){const t=3*e,n=l[t],r=l[t+1];h&&a?u.push([n,r,l[t+2],i[e][3]]):h?u.push([n,r,l[t+2]]):a?u.push([n,r,i[e][2]]):u.push([n,r])}return n.points=u,n.spatialReference=r,n.hasZ=o,n.hasM=a,n}function ee(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=te(e,e.spatialReference,t,n,r)}function te(e,t,n,r,s){const{curvePaths:i,paths:o,hasZ:a,hasM:u}=e;if(!(i?ae(i,a??!1,u??!1,t,n.curvePaths=[],r,s):oe(o,a??!1,u??!1,t,n.paths,r,s)))return null;const c=ue(a,r);return n.spatialReference=r,n.hasZ=c,n.hasM=u,n}function ne(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=re(e,e.spatialReference,t,n,r)}function re(e,t,n,r,s){const{curveRings:i,rings:o,hasZ:a,hasM:u}=e;return(i?ae(i,a??!1,u??!1,t,n.curveRings=[],r,s):oe(o,a??!1,u??!1,t,n.rings,r,s))?(n.spatialReference=r,n.hasZ=ue(a,r),n.hasM=u,n):null}function se(e,t,n=t.spatialReference,r=0){return null!=e.spatialReference&&null!=n&&null!=ie(e,e.spatialReference,t,n,r)}function ie(e,t,n,r,s){const{xmin:i,ymin:o,xmax:a,ymax:u,hasZ:c,hasM:l}=e;if(!P(i,o,c?e.zmin:s,t,ce,r))return null;const h=ue(c,r);return n.xmin=ce[0],n.ymin=ce[1],h&&(n.zmin=ce[2]),P(a,u,c?e.zmax:s,t,ce,r)?(n.xmax=ce[0],n.ymax=ce[1],h&&(n.zmax=ce[2]),l&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=r,n):null}function oe(e,t,n,r,s,i,o=0){const a=new Array;for(const n of e)for(const e of n)a.push(e[0],e[1],t?e[2]:o);if(!(0,x.projectBuffer)(a,r,0,a,i,0))return!1;let u=0;s.length=0;const c=t?3:2,l=ue(t,i);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(u,u+=3);l||t.pop(),n&&t.push(r[c]),e.push(t)}s.push(e)}return!0}function ae(e,t,n,r,s,i,o=0){const a=new Array;for(const n of e)for(const e of n){if((0,S.FG)(e))return!1;if((0,S.aO)(e)){const[n,r]=e.c;a.push(n[0],n[1],t?n[2]:o,r[0],r[1],o);continue}if((0,S.n1)(e)){const[n,r,s]=e.b;a.push(n[0],n[1],t?n[2]:o,r[0],r[1],o,s[0],s[1],o);continue}const n=e;a.push(n[0],n[1],t?n[2]:o)}if(!(0,x.projectBuffer)(a,r,0,a,i,0))return!1;let u=0;s.length=0;const c=t?3:2,l=ue(t,i);for(const t of e){const e=new Array;for(const r of t){const t=a.slice(u,u+=3);if(l||t.pop(),n&&t.push((0,S.yP)(r)[c]),(0,S.FG)(r))return!1;if((0,S.aO)(r)){const n=a[u++],r=a[u++];++u,e.push({c:[t,[n,r]]});continue}if((0,S.n1)(r)){const n=a[u++],r=a[u++];++u;const s=a[u++],i=a[u++];++u,e.push({b:[t,[n,r],[s,i]]});continue}e.push(t)}s.push(e)}return!0}function ue(e,t){return e||(0,c.xP)(t)||(0,N.aI)(t,y.Y0)}const ce=(0,a.vt)()},92722(e,t,n){n.d(t,{A:()=>s});var r=n(69397);class s{constructor(e=[],t=[],n=!1,r=!1){this.lengths=e??[],this.coords=t??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:e,coords:t,hasZ:n,hasM:r}){return new s(e,t,n||!1,r||!1)}static fromRect([e,t,n,r]){const i=n-e,o=r-t;return new s([5],[e,t,i,0,0,o,-i,0,0,-o])}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((e,t)=>e+t,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let e=0,t=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*t],i=this.coords[r*t+1];for(let o=1;o<n;o+=1){const n=r*(t+o),a=this.coords[n],u=this.coords[n+1];e+=-.5*(a-s)*(u+i),s=a,i=u}t+=n}return e}forEachVertex(e){let t=0;if(this.isPoint)return e(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(t+s);e(this.coords[r],this.coords[r+1])}t+=r}}deltaDecode(){const e=this.clone(),{coords:t,lengths:n}=e;let r=0;const{stride:s}=this;for(const e of n){for(let n=1;n<e;n++){const e=s*(r+n);t[e]+=t[e-s],t[e+1]+=t[e+1-s]}r+=e}return e}clone(e){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const t=Array.from(this.lengths),{stride:n,size:r}=this,i=this.coords.slice(0,r*n);return e?(e.set(i),new s(t,e)):new s(t,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:e,size:t}=this;if(2===e)return this;const n=new Array(t*e);for(let t=0,r=0;t<n.length;t+=e)n[r++]=this.coords[t],n[r++]=this.coords[t+1];return new s(this.lengths,n,!1,!1)}}},95488(e,t,n){n.d(t,{I:()=>s});var r=n(11406);class s extends r.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},98764(e,t,n){n.d(t,{GD:()=>o,Y0:()=>c,lO:()=>l});var r=n(73941),s=n(16930),i=n(21325);const o=new s.A(r.fv),a=new s.A(r.FY),u=new s.A(r.LJ),c=new s.A(r.Ro);function l(e){const t=h.get(e);if(t)return t;let n=o;if(e)if(e===a)n=a;else if(e===u)n=u;else{const t=e.wkid,r=e.latestWkid;if(null!=t||null!=r)(0,i.tl)(t)||(0,i.tl)(r)?n=a:((0,i.ZL)(t)||(0,i.ZL)(r))&&(n=u);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?n=a:e===m&&(n=u)}}}return h.set(e,n),n}const h=new Map,f=a.wkt.toUpperCase(),m=u.wkt.toUpperCase()},99157(e,t,n){n.d(t,{A:()=>a});var r,s=n(5482),i=n(69622),o=n(91429);let a=r=class extends i.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,s.Cg)([(0,o.MZ)()],a.prototype,"isInverse",void 0),(0,s.Cg)([(0,o.MZ)()],a.prototype,"wkt",void 0),(0,s.Cg)([(0,o.MZ)()],a.prototype,"wkid",void 0),a=r=(0,s.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[88,926],{926(e,t,i){i.d(t,{Dd:()=>d,Jn:()=>f,Qc:()=>p,getApiKey:()=>h,getSessionToken:()=>c});var s=i(92602),r=i(11254),n=i(84952);const o=/^https?:\/\/(i?basemaps|basemapstyles)-api\.arcgis\.com\//i,a=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]),l=new Map;let u=null;function h(e){if(!p(e))return null;const t=t=>t instanceof RegExp?t.test(e):"string"==typeof t&&e.startsWith(t),i=s.A.apiKeys;if(Array.isArray(i.scopes))for(const e of i.scopes)if(Array.isArray(e.urls)){if(e.urls.some(t))return e.token}else if(t(e.urls))return e.token;return i.basemapStyles&&o.test(e)?i.basemapStyles:s.A.apiKey&&/^https?:\/\/.+\.arcgis\.com(\/|$)/i.test(e)?s.A.apiKey:null}async function c(e){if(!s.A.sessions?.basemap?.enabled||!o.test(e))return null;const t=h(e);if(!t)return null;u&&await u;const{styleFamily:i="arcgis",autoRefresh:n,duration:a=43200}=s.A.sessions.basemap,c=`${t}:${i}`,d=l.get(c);if(d&&(!n||d.endTime>Date.now()))return d.sessionToken;let f;u=(0,r.A)("https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/sessions/start",{cacheBust:!0,query:{durationSeconds:a,styleFamily:i,token:t}});try{f=(await u).data,f.endTime-=5e3,l.set(c,f)}finally{u=null}return f.sessionToken}function d(){return null!=s.A.apiKey||null!=s.A.apiKeys.basemapStyles}function f(e,t){return t?p(e):null!=h(e)}function p(e){const t=(0,n.$z)(e,!0);return!!t&&!a.has(t)&&!e.endsWith("/sharing/rest/generateToken")}},2272(e,t,i){i.d(t,{Dl:()=>u,gf:()=>c,jV:()=>l,lF:()=>h});var s=i(92602),r=i(70333),n=i(4718),o=i(84952),a=i(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,n.o8)(e)}function h(e,t,i){const s={};for(const r in e){if("declaredClass"===r)continue;const n=e[r];if(null!=n&&"function"!=typeof n)if(Array.isArray(n))s[r]=n.map(e=>h(e));else if("object"==typeof n)if(n.toJSON){const e=n.toJSON(i?.[r]);s[r]=t?e:JSON.stringify(e)}else s[r]=t?n:JSON.stringify(n);else s[r]=n}return s}async function c(e,t,n){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??r.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!r.id&&s.A.request.useIdentity&&await Promise.all([i.e(7632),i.e(7780),i.e(148)]).then(i.bind(i,50148));const l=await r.id.getCredential(e,n);return l?.token}},6518(e,t,i){i.d(t,{F:()=>a});var s=i(44208),r=i(75503),n=i(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new r.wq(9,(0,s.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((i,s)=>{e[t++]=s}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,n.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,i){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,i)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},8631(e,t,i){i.d(t,{r:()=>d,g:()=>c});var s,r=i(53177),n=i(76357),o=i(5482),a=i(91429),l=i(93223);let u=class extends n.A{static{s=this}constructor(e){super(e),this.type="inherited"}clone(){return new s}};(0,o.Cg)([(0,l.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=s=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],u);var h=i(41628);const c={key:"type",base:n.A,typeMap:{range:h.A,"coded-value":r.A,inherited:u}};function d(e){if(!e?.type)return null;switch(e.type){case"range":return h.A.fromJSON(e);case"codedValue":return r.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},16271(e,t,i){i.d(t,{Ao:()=>n,KQ:()=>o});var s=i(4576),r=i(31756);function n(e){return 1/(r.j[e]||1)}const o=function(){const e=Object.keys(r.j);return(0,s.TF)(e,"decimal-degrees"),e.sort(),e}()},20401(e,t,i){i.r(t),i.d(t,{default:()=>Pe});var s=i(5482),r=i(65529),n=i(74887),o=i(36708),a=i(91429),l=i(79897),u=i(16930),h=i(65864),c=i(4576),d=i(49186),f=i(53966),p=i(87992),m=i(70328),_=i(6518),y=i(50498),g=i(69397),v=i(27647);class x{constructor(e=null,t={},i,s,r=0){this.geometry=e,this.attributes=t,this.centroid=i,this.objectId=s,this.displayId=r}weakClone(){return new x(this.geometry,this.attributes,this.centroid,this.objectId,this.displayId)}clone(){return new x(this.geometry?.clone(),{...this.attributes},this.centroid?.clone(),this.objectId,this.displayId)}get usedMemory(){return 128+(0,g.lM)(this.attributes)+(this.geometry?.usedMemory??0)}ensureCentroid(e){return this.centroid??=(0,v.Q)(this.geometry&&(0,p.JR)(this.geometry)),this.centroid}}const b={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t,i)=>new x((0,p.Nh)(y.gy.fromJSON(i),t),e.attributes,null,e.objectId),getGeometry:e=>e.geometry&&(0,p.JR)(e.geometry),getGeometryWithCurves:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)};var w=i(51441);const C=(0,m.vt)();class I{constructor(e,t,i){this.geometryType=e,this.hasZ=t,this.hasM=i,this._boundsStore=new _.F,this._featuresById=new Map,this._usedMemory=0,this.events=new r.bk,this.featureAdapter=b}get usedMemory(){return this._usedMemory}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){const e=this._featuresById.size;let t=0;return this._featuresById.forEach(({geometry:e})=>{t+=e?e.vertexCount:0}),{featureCount:e,vertexCount:t}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,i,s,r]=this.fullBounds;return{xmin:t,ymin:i,xmax:s,ymax:r,spatialReference:(0,w.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(c.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const i of e){const e=this._boundsStore.get(i.objectId);e&&t((0,m.Jt)(C,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void f.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new d.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const i=this._featuresById.get(t);let s;if(i?(e.displayId=i.displayId,s=this._boundsStore.get(t)??void 0,this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0):this.onFeatureAdd?.(e),!e.geometry)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);this._boundsStore.set(t,(0,p.NO)(e.geometry,s)),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return f.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new d.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const i=this._featuresById.get(t);if(!i)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(i)??0;const{geometry:s,attributes:r}=e;for(const e in r)i.attributes[e]=r[e];return s&&(i.geometry=s,this._boundsStore.set(t,(0,p.NO)(s)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(i)??0,i}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}var S=i(56390),M=i(87045),F=i(72802),T=i(61956),A=i(88625),z=i(66344),B=i(91869),P=i(86211),O=i(52006),E=i(16271);function R(e=!1,t){if(e){const{elevationInfo:e,alignPointsInFeatures:i}=t;return new Z(e,i)}return new j}class j{async alignCandidates(e,t,i){return e}notifyElevationSourceChange(){}}class Z{constructor(e,t){this._elevationInfo=e,this._alignPointsInFeatures=t,this._alignmentsCache=new z.q(1024),this._cacheVersion=0}async alignCandidates(e,t,i){const s=this._elevationInfo;return null==s||"absolute-height"!==s.mode||s.featureExpressionInfo?this._alignComputedElevationCandidates(e,t,i):(function(e,t,i){const{offset:s,unit:r}=i;if(null==s)return;const n=(0,P.G9)(t),o=s*((0,E.Ao)(r??"meters")/n);for(const t of e)switch(t.type){case"edge":t.start.z+=o,t.end.z+=o,t.curve&&((0,O.yP)(t.curve)[2]+=o);continue;case"vertex":t.target.z+=o;continue}}(e,t,s),e)}notifyElevationSourceChange(){this._alignmentsCache.clear(),this._cacheVersion++}async _alignComputedElevationCandidates(e,t,i){const s=new Map;for(const t of e)(0,B.tE)(s,t.objectId,Y).push(t);const[r,o,a]=this._prepareQuery(s,t),l=await this._alignPointsInFeatures(r,i);if((0,n.Te)(i),a!==this._cacheVersion)return this._alignComputedElevationCandidates(e,t,i);this._applyCacheAndResponse(r,l,o);const{drapedObjectIds:u,failedObjectIds:h}=l,c=[];for(const t of e){const{objectId:e}=t;u.has(e)&&"edge"===t.type&&(t.draped=!0),h.has(e)||c.push(t)}return c}_prepareQuery(e,t){const i=[],s=[];for(const[t,r]of e){const e=[];for(const i of r)this._addToQueriesOrCachedResult(t,i.target,e,s),"edge"===i.type&&(this._addToQueriesOrCachedResult(t,i.start,e,s),this._addToQueriesOrCachedResult(t,i.end,e,s));0!==e.length&&i.push({objectId:t,points:e})}return[{spatialReference:t.toJSON(),pointsInFeatures:i},s,this._cacheVersion]}_addToQueriesOrCachedResult(e,t,i,s){const r=q(e,t),n=this._alignmentsCache.get(r);null==n?i.push(t):s.push(new k(t,n))}_applyCacheAndResponse(e,{elevations:t,drapedObjectIds:i,failedObjectIds:s},r){for(const e of r)e.apply();let n=0;const o=this._alignmentsCache;for(const{objectId:r,points:a}of e.pointsInFeatures){if(s.has(r)){n+=a.length;continue}const e=!i.has(r);for(const i of a){const s=q(r,i),a=t[n++];i.z=a,e&&o.put(s,a,1)}}}}class k{constructor(e,t){this.point=e,this.z=t}apply(){this.point.z=this.z}}function q(e,{x:t,y:i,z:s,spatialReference:r}){return`${e}-${t}-${i}-${s??0}}-wkid:${r?.wkid}`}function Y(){return[]}class X{filter(e,t){return t}notifyElevationSourceChange(){}}class N{filter(e,t){const{point:i,distance:s}=e,{z:r}=i;if(null==r)return t;if(0===t.length)return t;const n=function(e){return"number"==typeof e?{x:e,y:e,z:e}:e}(s),o=this._updateCandidatesTo3D(t,i,n).filter(V);return o.sort(J),o}_updateCandidatesTo3D(e,t,i){for(const s of e)switch(s.type){case"edge":L(s,t,i);continue;case"vertex":H(s,t,i);continue}return e}}function V(e){return e.distance<=1}function G(e=!1){return e?new N:new X}function L(e,t,{x:i,y:s,z:r}){const{start:n,end:o,target:a}=e;if(e.curve)throw new Error("Curves are not yet supported.");e.draped||function(e,t,i,s){const r=s.x-i.x,n=s.y-i.y,o=s.z-i.z,a=r*r+n*n+o*o,l=(t.x-i.x)*r+(t.y-i.y)*n+o*(t.z-i.z),u=Math.min(1,Math.max(0,l/a)),h=i.x+r*u,c=i.y+n*u,d=i.z+o*u;e.x=h,e.y=c,e.z=d}(a,t,n,o);const l=(t.x-a.x)/i,u=(t.y-a.y)/s,h=(t.z-a.z)/r;e.distance=Math.sqrt(l*l+u*u+h*h)}function H(e,t,{x:i,y:s,z:r}){const{target:n}=e,o=(t.x-n.x)/i,a=(t.y-n.y)/s,l=(t.z-n.z)/r,u=Math.sqrt(o*o+a*a+l*l);e.distance=u}function J(e,t){return e.distance-t.distance}var $=i(4718),U=i(799);function D(e=!1,t){return e?new W(t):new K}class K{async fetch(){return[]}notifySymbologyChange(){}}class W{constructor(e){this._getSymbologyCandidates=e,this._candidatesCache=new z.q(1024),this._cacheVersion=0}async fetch(e,t){if(0===e.length)return[];const i=[],s=[],r=this._candidatesCache;for(const t of e){const e=Q(t),n=r.get(e);if(n)for(const e of n)s.push((0,$.o8)(e));else i.push(t),r.put(e,[],1)}if(0===i.length)return s;const o=this._cacheVersion,{candidates:a,sourceCandidateIndices:l}=await this._getSymbologyCandidates(i,t);if((0,n.Te)(t),o!==this._cacheVersion)return this.fetch(e,t);const u=[],{length:h}=a;for(let e=0;e<h;++e){const t=a[e],s=Q(i[l[e]]),n=r.get(s);n.push(t),r.put(s,n,n.length),u.push((0,$.o8)(t))}return s.concat(u)}notifySymbologyChange(){this._candidatesCache.clear(),this._cacheVersion++}}function Q(e){switch(e.type){case"vertex":{const{objectId:t,target:i}=e,s=`${t}-vertex-${i.x}-${i.y}-${i.z??0}`;return(0,U.Wm)(s).toString()}case"edge":{const{objectId:t,start:i,end:s}=e,r=`${t}-edge-${i.x}-${i.y}-${i.z??0}-to-${s.x}-${s.y}-${s.z??0}`;return(0,U.Wm)(r).toString()}default:return""}}var ee=i(69622),te=i(60999),ie=i(3483),se=i(13069),re=i(5443),ne=i(19419),oe=i(92722),ae=i(54339);class le{constructor(){this.globalIdFieldName=null,this.geohashFieldName=null,this.geometryProperties=null,this.geometryType=null,this.spatialReference=null,this.hasZ=!1,this.hasM=!1,this.features=[],this.fields=[],this.transform=null,this.exceededTransferLimit=!1,this.uniqueIdField=null,this.queryGeometryType=null,this.queryGeometry=null}weakClone(){const e=new le;return e.globalIdFieldName=this.globalIdFieldName,e.geohashFieldName=this.geohashFieldName,e.geometryProperties=this.geometryProperties,e.geometryType=this.geometryType,e.spatialReference=this.spatialReference,e.hasZ=this.hasZ,e.hasM=this.hasM,e.features=this.features,e.fields=this.fields,e.transform=this.transform,e.exceededTransferLimit=this.exceededTransferLimit,e.uniqueIdField=this.uniqueIdField,e.queryGeometry=this.queryGeometry,e.queryGeometryType=this.queryGeometryType,e}}var ue=i(60694),he=i(62815),ce=i(63746);class de{constructor(e){this._options=e,this.featureSet=new le,this.parseOnly=null,this._idInfo=null,this._transformInPlace=null,this._transformInPlaceXY=null,this._push=de._pushXY,this._attributesClass=null,this._previousX=0,this._previousY=0,this._vertex=[],this._i=0,this._geometry=null,this._iVertex=0,this._iPart=0,this._isPolygon=!1,this._ringEndsAt=-1}queryGeometryType(){return this.featureSet.queryGeometryType}queryGeometry(){return this.featureSet.queryGeometry}idField(e){"string"==typeof e?this._idInfo??={type:"object-id",fieldName:e}:this._idInfo={type:"unique-id-simple",fieldName:e.name}}finish(){if(this._idInfo)for(const e of this.featureSet.features)e.objectId=(0,ae.W)(e,this._idInfo);const{spatialReference:e,features:t}=this.featureSet;if(e)for(const{geometry:i}of t)i&&(i.spatialReference=e);this.featureSet.transform=null}feature(){this._attributesClass??=(0,ce._7)(this.featureSet.fields?.map(e=>e.name)??[]),this.featureSet.features.push(new x(null,new this._attributesClass,null,0)),this._setVertexTransformer()}centroid(e){const{hasZ:t,hasM:i}=this.featureSet;this.featureSet.features.at(-1).centroid=new oe.A([],e,t,i)}geometry(e,t,i){this._previousX=this._previousY=0,this._i=this._iVertex=this._iPart=0;let{hasZ:s,hasM:r}=this.featureSet;s??=!1,r??=!1,this._vertex=[0,0],s&&this._vertex.push(0),r&&this._vertex.push(0);const n=y.gy.fromJSON(t);this._isPolygon="polygon"===n;const o=Number(this._isPolygon),a="point"===n?1:i.reduce((e,t)=>e+t-o,0),l=i.length;if(this._geometry=(0,p.V2)(n,a,l,s,r,!1),this._push=s?r?de._pushXYZM:de._pushXYZ:r?de._pushXYM:de._pushXY,this._geometry.isMultipart()){this._geometry.partOffsets[0]=0;for(let e=0;e<l;++e)this._geometry.partOffsets[e+1]=this._geometry.partOffsets[e]+i[e]-o}this._ringEndsAt=o?this._geometry.partOffsets.at(1)??0:-1,1===e?(this.featureSet.queryGeometry=this._geometry,this.featureSet.queryGeometryType=t):this.featureSet.features.at(-1).geometry=this._geometry}coord(e){const t=this._vertex;t[this._i++]=e,this._i<t.length||(this._i=0,t[0]+=this._previousX,t[1]+=this._previousY,[this._previousX,this._previousY]=t,this._iVertex===this._ringEndsAt&&(++this._iPart,this._ringEndsAt=this._geometry.partOffsets[this._iPart+1]),this._transformInPlace?.(t),this._push(this))}curvedGeometry(e,t,i,s){let{hasZ:r,hasM:n}=this.featureSet;r??=!1,n??=!1,this._i=this._iVertex=this._iPart=0;const o=y.gy.fromJSON(e);this._isPolygon="polygon"===o;const a=Number(!this._isPolygon),l=t.length;let u=0,h=0,c=a*l;for(let e=0;e<i.length;++e)switch(c+=s[e],i[e]){case 1:case 3:u+=s[e];continue;case 2:h+=s[e]}this._geometry=(0,p.V2)(o,c,l,r,n,!0,u,h);const{partOffsets:d}=this._geometry;d[0]=0;for(let e=0,i=0;e<l;++e){d[e+1]=d[e]+a;for(let r=0;r<t[e];++r)d[e+1]+=s[i++]}switch(e){case"esriGeometryPoint":case"esriGeometryMultipoint":throw new Error(`Curved ${e} does not make sense`)}this.featureSet.features.at(-1).geometry=this._geometry}startCurvedPart(e){}finishCurvedPart(e){this._isPolygon||(this._transform(e,this._vertex),this._push(this)),++this._iPart}lineSegment(e,t){this._transform(e,this._vertex),this._push(this)}bezierSegment(e,t,i,s){this._transform(e,this._vertex),this._push(this),this._transformXY(t,me.b[0]),this._transformXY(i,me.b[1]),this._transformXY(s,me.b[2]),this._i=(0,p.tr)(this._vertex,me,this._geometry,this._iVertex-1,this._i)}circularArcSegment(e,t,i){this._transform(e,this._vertex),this._push(this),this._transformXY(t,fe.c[0]),this._transformXY(i,fe.c[1]),this._i=(0,p.e6)(this._vertex,fe,this._geometry,this._iVertex-1,this._i)}ellipticArcSegment(e,t,i,s,r,n,o,a){this._transform(e,this._vertex),this._push(this),this._transformXY(t,pe.a[0]),this._transformXY(i,pe.a[1]),pe.a[2]=s,pe.a[3]=r,pe.a[4]=n,pe.a[5]=o,pe.a[6]=a,this._i=(0,p._s)(this._vertex,pe,this._geometry,this._iVertex-1,this._i)}static _pushXY(e){const t=e._iVertex++,{vertexXY:i}=e._geometry;[i[2*t],i[2*t+1]]=e._vertex}static _pushXYZ(e){const t=e._iVertex++,{vertexXY:i,vertexZ:s}=e._geometry;[i[2*t],i[2*t+1],s[t]]=e._vertex}static _pushXYM(e){const t=e._iVertex++,{vertexXY:i,vertexM:s}=e._geometry;[i[2*t],i[2*t+1],s[t]]=e._vertex}static _pushXYZM(e){const t=e._iVertex++,{vertexXY:i,vertexM:s,vertexZ:r}=e._geometry;[i[2*t],i[2*t+1],r[t],s[t]]=e._vertex}_setVertexTransformer(){const{sourceSpatialReference:e}=this._options,{spatialReference:t,hasZ:i,transform:s}=this.featureSet,r=i?(0,he.d)(e,t):1;this._transformInPlace??=(0,ce.Mv)(this.featureSet,r),this._transformInPlaceXY??=(0,ce.Mv)({transform:s})}_transform(e,t){for(let i=0;i<e.length;++i)t[i]=e[i];this._transformInPlace?.(t)}_transformXY(e,t){t[0]=e[0],t[1]=e[1],this._transformInPlaceXY?.(t)}}const fe={c:[[0,0],[0,0]]},pe={a:[[0,0],[0,0],0,0,0,0,0]},me={b:[[0,0],[0,0],[0,0]]};var _e=i(80893);class ye{constructor(e,t){this.key=e,this.resolution=t,this.state={type:0},this.alive=!0}process(e){switch(this.state.type){case 0:return this.state=this._gotoFetchCount(this.state,e),this.state.task.promise.then(e.resume,e.resume);case 1:case 3:break;case 2:return this.state=this._gotoFetchFeatures(this.state,e),this.state.task.promise.then(e.resume,e.resume);case 4:this.state=this._goToDone(this.state,e)}return null}get debugInfo(){return{key:this.key,featureCount:this._featureCount,state:this._stateToString}}get _featureCount(){switch(this.state.type){case 0:case 1:return 0;case 2:return this.state.featureCount;case 3:return this.state.previous.featureCount;case 4:return this.state.features.length;case 5:return this.state.previous.features.length}}get _stateToString(){switch(this.state.type){case 0:return"created";case 1:return"fetch-count";case 2:return"fetched-count";case 3:return"fetch-features";case 4:return"fetched-features";case 5:return"done"}}_gotoFetchCount(e,t){return{type:1,previous:e,task:(0,te.UT)(async e=>{const i=await(0,te.DZ)(t.fetchCount(this,e));1===this.state.type&&(this.state=function(e,t){return{type:2,featureCount:t,previous:e}}(this.state,i.ok?i.value:1/0))})}}_gotoFetchFeatures(e,t){return{type:3,previous:e,task:(0,te.UT)(async i=>{const s=await(0,te.DZ)(t.fetchFeatures(this,e.featureCount,i));3===this.state.type&&(this.state=function(e,t){return{type:4,previous:e,features:t}}(this.state,s.ok?s.value:[]))})}}_goToDone(e,t){return t.finish(this,e.features),{type:5,previous:e}}reset(){const e=this.state;switch(this.state={type:0},e.type){case 0:case 2:case 4:case 5:break;case 1:case 3:e.task.abort()}}}let ge=class extends ee.A{get _minimumVerticesPerFeature(){switch(this.store?.featureStore.geometryType){case"esriGeometryPoint":case"esriGeometryMultipoint":return 1;case"esriGeometryPolygon":return 4;case"esriGeometryPolyline":return 2}}get _mandatoryOutFields(){const e=new Set;return this.objectIdField&&e.add(this.objectIdField),this.globalIdField&&e.add(this.globalIdField),e}set outFields(e){const t=this._get("outFields"),i=(0,ie.KC)(e,this._mandatoryOutFields);(0,ie.aI)(i,t)||(this._set("outFields",i),(0,ie.Yy)(i,t)||this.refresh())}get outFields(){return this._get("outFields")??this._mandatoryOutFields}set filter(e){const t=this._get("filter"),i=this._filterProperties(e);JSON.stringify(t)!==JSON.stringify(i)&&this._set("filter",i)}set customParameters(e){const t=this._get("customParameters");JSON.stringify(t)!==JSON.stringify(e)&&this._set("customParameters",e)}get _configuration(){return{filter:this.filter,customParameters:this.customParameters,tileInfo:this.tileInfo,tileSize:this.tileSize}}set tileInfo(e){const t=this._get("tileInfo");t!==e&&(null!=e&&null!=t&&JSON.stringify(e)===JSON.stringify(t)||(this._set("tileInfo",e),this.store.tileInfo=e))}set tileSize(e){this._get("tileSize")!==e&&this._set("tileSize",e)}get updating(){return this._updatingHandles.updating}get hasZ(){return this.store.featureStore.hasZ}constructor(e){super(e),this.suspended=!0,this._historicMoment=null,this.tilesOfInterest=new Array,this.availability=0,this._pendingTiles=new Map,this._updatingHandles=new l.U}initialize(){this._initializeFetchExtent(),this._updatingHandles.add(()=>this._configuration,()=>this.refresh()),this._updatingHandles.add(()=>this.tilesOfInterest,()=>{this._updatePriorities(),this._process()},{sync:!0,initial:!0,equals:(e,t)=>(0,c.aI)(e,t,({id:e},{id:t})=>e===t)}),this.addHandles((0,o.z7)(()=>!this.suspended,()=>this._process()))}_updatePriorities(){this.store.setPriorityOrderByKey(this.tilesOfInterest.map(({id:e})=>e)??[])}destroy(){this._pendingTiles.forEach(e=>this._deletePendingTile(e)),this._pendingTiles.clear(),this.store.destroy(),this.tilesOfInterest.length=0,this._updatingHandles.destroy()}refresh(){this.store.refresh(),this._pendingTiles.forEach(e=>this._deletePendingTile(e)),this._process()}async handleEdits(e){if(e.historicMoment&&(this._historicMoment=e.historicMoment),!e.addedFeatures.length&&!e.updatedFeatures.length&&!e.deletedFeatures.length)return;for(const e of this._pendingTiles.values())e.reset();const t={...e,deletedFeatures:e.deletedFeatures.map(({objectId:e,globalId:t})=>e&&-1!==e?e:this._lookupObjectIdByGlobalId(t))},i=(0,te.UT)(async e=>{try{await this.store.processEdits(t,(e,t)=>this._queryFeaturesById(e,t),e),this._processPendingTiles()}catch(e){(0,n.QP)(e),f.A.getLogger(this).warn("Failed to apply edits",e)}});this.addHandles(i),await this._updatingHandles.addPromise(i.promise)}setHistoricMoment(e){e?.getTime()!==this._historicMoment?.getTime()&&(this._historicMoment=e,this.refresh())}_initializeFetchExtent(){if(!this.capabilities.query.supportsExtent||!(0,ue.Wo)(this.url))return;const e=(0,te.UT)(async e=>{try{const t=await(0,_e.Jf)(this.url,new T.A({where:"1=1",outSpatialReference:this.spatialReference,cacheHint:this.capabilities.query.supportsCacheHint??void 0}),{query:this._configuration.customParameters,signal:e});this.store.extent=re.A.fromJSON(t?.extent)}catch(e){(0,n.QP)(e),f.A.getLogger(this).warn("Failed to fetch data extent",e)}});this._updatingHandles.consumePromise(e.promise.then(()=>this._process())),this.addHandles(e)}get debugInfo(){return{numberOfFeatures:this.store.featureStore.numFeatures,tilesOfInterest:this.tilesOfInterest,pendingTiles:Array.from(this._pendingTiles.values()).map(e=>e.debugInfo),storedTiles:this.store.debugInfo}}_process(){this._markTilesNotAlive(),this._createPendingTiles(),this._deletePendingTiles(),this._processPendingTiles()}_markTilesNotAlive(){for(const e of this._pendingTiles.values())e.alive=!1}_createPendingTiles(){if(this.suspended)return;const e=this._collectMissingTilesInfo();if(this._setAvailability(null==e?1:e.coveredArea/e.fullArea),null!=e)for(const{data:t,resolution:i}of e.missingTiles){const e=this._pendingTiles.get(t.id);e?(e.resolution=i,e.alive=!0):this._createPendingTile(t,i)}}_collectMissingTilesInfo(){let e=null;for(const t of this.tilesOfInterest){const i=this.store.process(t,(e,t)=>this._verifyTileComplexity(e,t),this.outFields);null==e?e=i:e.prepend(i)}return e}_deletePendingTiles(){for(const e of this._pendingTiles.values())e.alive||this._deletePendingTile(e)}_processPendingTiles(){const e={fetchCount:(e,t)=>this._fetchCount(e,t),fetchFeatures:(e,t,i)=>this._fetchFeatures(e,t,i),finish:(e,t)=>this._finishPendingTile(e,t),resume:()=>this._processPendingTiles()};if(this._ensureFetchAllCounts(e))for(const t of this._pendingTiles.values())this._verifyTileComplexity(this.store.getFeatureCount(t.key),t.resolution)&&this._updatingHandles.consumePromise(t.process(e))}_verifyTileComplexity(e,t){return this._verifyVertexComplexity(e)&&this._verifyFeatureDensity(e,t)}_verifyVertexComplexity(e){return e*this._minimumVerticesPerFeature<be}_verifyFeatureDensity(e,t){if(null==this.tileInfo)return!1;const i=this.tileSize*t;return e*(we/(i*i))<Ce}_ensureFetchAllCounts(e){let t=!0;for(const i of this._pendingTiles.values())i.state.type<2&&this._updatingHandles.consumePromise(i.process(e)),i.state.type<=1&&(t=!1);return t}_finishPendingTile(e,t){this.store.add(e.key,t),this._deletePendingTile(e),this._updateAvailability()}_updateAvailability(){const e=this._collectMissingTilesInfo();this._setAvailability(null==e?1:e.coveredArea/e.fullArea)}_setAvailability(e){this._set("availability",e)}_createPendingTile(e,t){const i=new ye(e,t);return this._pendingTiles.set(e.id,i),i}_deletePendingTile(e){e.reset(),this._pendingTiles.delete(e.key.id)}async _fetchCount(e,t){return this.store.fetchCount(e.key,this.url,this._createCountQuery(e),{query:this.customParameters,timeout:xe,signal:t})}async _fetchFeatures(e,t,i){let s=0;const r=[];let n=0,o=t;for(;;){const a=this._createFeaturesQuery(e),l=this._setPagingParameters(a,s,o),{features:u,exceededTransferLimit:h}=await this._queryFeatures(a,i);l&&(s+=a.num),n+=u.length;for(const e of u)r.push(e);if(o=t-n,!l||!h||o<=0)return r}}_filterProperties(e){return null==e?{where:"1=1",gdbVersion:void 0,timeExtent:void 0}:{where:e.where||"1=1",timeExtent:e.timeExtent,gdbVersion:e.gdbVersion}}_lookupObjectIdByGlobalId(e){const t=this.globalIdField,i=this.objectIdField;if(null==t)throw new Error("Expected globalIdField to be defined");let s=null;const r=e?(0,se.AG)(e):e;if(this.store.featureStore.forEach(e=>{r===(0,se.AG)(e.attributes[t])&&(s=e.objectId??e.attributes[i])}),null==s)throw new Error(`Expected to find a feature with globalId ${e}`);return s}_queryFeaturesById(e,t){const i=this._createFeaturesQuery();return i.objectIds=e,this._queryFeatures(i,t)}async _queryFeatures(e,t){return 0===e.num?new le:this.capabilities.query.supportsFormatPBF?this._queryFeaturesPBF(e,t):this._queryFeaturesJSON(e,t)}async _queryFeaturesPBF(e,t){const{sourceSpatialReference:i}=this;return await(0,_e.IJ)(this.url,e,new de({sourceSpatialReference:i}),{query:this._configuration.customParameters,timeout:xe,signal:t})}async _queryFeaturesJSON(e,t){const{sourceSpatialReference:i}=this;return function({exceededTransferLimit:e,features:t,fields:i,geometryType:s,hasM:r,hasZ:n,spatialReference:o,transform:a},l){const u=new le;u.exceededTransferLimit=e??!1;for(const e of t??[]){let t,i;s&&(t=e.geometry&&(0,p.ME)(e.geometry),i=e.centroid&&new oe.A([],[e.centroid.x,e.centroid.y]));const r=(0,ae.W)(e,l);u.features.push(new x(t,e.attributes,i,r))}return u.fields=i??u.fields,u.geometryType=s??null,u.hasM=r??!1,u.hasZ=n??!1,u.spatialReference=o??null,u.transform=a??null,u}(await(0,_e.eW)(this.url,e,i,{query:this._configuration.customParameters,timeout:xe,signal:t}),{type:"object-id",fieldName:this.objectIdField})}_createCountQuery(e){const t=this._createBaseQuery(e);return this.capabilities.query.supportsCacheHint&&(t.cacheHint=!0),t}_createFeaturesQuery(e=null){const t=this._createBaseQuery(e),i=null!=e?.key?this.store.getAttributesForTile(e?.key?.id):null,s=(0,ie.KC)((0,ie.iv)(this.outFields,i??new Set),this._mandatoryOutFields);if(t.outFields=Array.from(s),t.returnGeometry=!0,this.capabilities.data.supportsTrueCurve){const e=!this.capabilities.query.supportsFormatPBF,i=(this.currentVersion??0)>=12.1;((0,ue.Wo)(this.url)||e||i)&&(t.returnTrueCurves=!0)}return null!=e&&(this.capabilities.query.supportsResultType?t.resultType="tile":this.capabilities.query.supportsCacheHint&&(t.cacheHint=!0)),t}_createBaseQuery(e){const t=new T.A({returnZ:this.hasZ,returnM:!1,historicMoment:this._historicMoment,geometry:null!=this.tileInfo&&null!=e?(0,ne.w1)(e.key.extent,this.tileInfo.spatialReference):void 0}),i=this._configuration.filter;return null!=i&&(t.where=i.where,t.gdbVersion=i.gdbVersion,t.timeExtent=i.timeExtent),t.outSpatialReference=this.spatialReference,t}_setPagingParameters(e,t,i){if(!this.capabilities.query.supportsPagination)return!1;const{supportsMaxRecordCountFactor:s,supportsCacheHint:r,tileMaxRecordCount:n,maxRecordCount:o,supportsResultType:a}=this.capabilities.query,l=s?T.A.MAX_MAX_RECORD_COUNT_FACTOR:1,u=l*((a||r)&&n?n:o||ve);return e.start=t,s?(e.maxRecordCountFactor=Math.min(l,Math.ceil(i/u)),e.num=Math.min(i,e.maxRecordCountFactor*u)):e.num=Math.min(i,u),!0}};(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ge.prototype,"url",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ge.prototype,"currentVersion",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ge.prototype,"objectIdField",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ge.prototype,"globalIdField",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ge.prototype,"capabilities",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ge.prototype,"sourceSpatialReference",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ge.prototype,"spatialReference",void 0),(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],ge.prototype,"store",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],ge.prototype,"_minimumVerticesPerFeature",null),(0,s.Cg)([(0,a.MZ)()],ge.prototype,"_mandatoryOutFields",null),(0,s.Cg)([(0,a.MZ)()],ge.prototype,"outFields",null),(0,s.Cg)([(0,a.MZ)()],ge.prototype,"suspended",void 0),(0,s.Cg)([(0,a.MZ)()],ge.prototype,"_historicMoment",void 0),(0,s.Cg)([(0,a.MZ)()],ge.prototype,"filter",null),(0,s.Cg)([(0,a.MZ)()],ge.prototype,"customParameters",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],ge.prototype,"_configuration",null),(0,s.Cg)([(0,a.MZ)()],ge.prototype,"tileInfo",null),(0,s.Cg)([(0,a.MZ)()],ge.prototype,"tileSize",null),(0,s.Cg)([(0,a.MZ)()],ge.prototype,"tilesOfInterest",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],ge.prototype,"updating",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],ge.prototype,"availability",void 0),(0,s.Cg)([(0,a.MZ)()],ge.prototype,"hasZ",null),ge=(0,s.Cg)([(0,a.$K)("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceTiledFetcher")],ge);const ve=2e3,xe=6e5,be=1e6,we=25,Ce=1;i(44208);class Ie{constructor(){this._store=new Map,this._priorities=new Map}get size(){return this._store.size}setPriorityOrderByKey(e){this._priorities.clear();for(let t=e.length-1;t>=0;t--)this._priorities.set(e[t],e.length-t)}hasLowerPriority(e){const t=this._priorities.get(e);if(null==t)return!0;for(const[e]of this._store){const i=this._priorities.get(e);if(null==i||i<t)return!0}return!1}someFromLowestToHighestPriority(e){const{_priorities:t}=this;for(const[i,s]of this._store)if(!t.has(i)&&e(s,i))return!0;for(const[i]of t){const t=this._store.get(i);if(t&&e(t,i))return!0}return!1}set(e,t){this._store.set(e,t)}delete(e){return this._store.delete(e)}get(e){return this._store.get(e)}has(e){return this._store.has(e)}clear(){this._store.clear()}values(){return this._store.values()}[Symbol.iterator](){return this._store[Symbol.iterator]()}}let Se=class extends ee.A{setPriorityOrderByKey(e){this._tiles.setPriorityOrderByKey(e)}get _memoryLimitExceeded(){return this.featureStore.usedMemory>=this.maximumByteSize}constructor(e){super(e),this.tileInfo=null,this.extent=null,this.maximumByteSize=10485760,this._tileBounds=new _.F,this._tiles=new Ie,this._refCounts=new Map,this._tileFeatureCounts=new Map,this._tmpBoundingRect=(0,ne.vt)()}add(e,t){for(const e of t)this._referenceFeature(e.objectId);const i=this.featureStore.upsertMany(t),s=i.map(e=>new Set(Object.keys(e.attributes))).reduce((e,t)=>(0,ie.E$)(e,t),new Set(Object.keys(i[0]?.attributes??[]))),r=this._memoryLimitExceeded;this._addTileStorage(e,new Set(i.map(e=>e.objectId)),s),r&&this._applyCacheMemoryLimits()}_applyCacheMemoryLimits(){if(!this._memoryLimitExceeded)return;const{_tiles:e,featureStore:t,maximumByteSize:i}=this;e.someFromLowestToHighestPriority(e=>!this._memoryLimitExceeded||t.usedMemory-this._estimateRemoveTileMemoryReduction(e)<i||(this._removeTileStorage(e),!1))}_estimateRemoveTileMemoryReduction(e){let t=0;for(const i of e.objectIds)if(1===this._refCounts.get(i)){const e=this.featureStore.getFeature(i);e&&(t+=this.featureStore.estimateFeatureUsedMemory?.(e)??0)}return t}_hasAttributesForTile(e,t){if(e){const i=this._tiles.get(e);if(i)return!i.objectIds.size||(0,ie.Yy)(t,i.attributeKeys)}return!1}getAttributesForTile(e){return e?this._tiles.get(e)?.attributeKeys:null}destroy(){this.clear(),this._tileFeatureCounts.clear()}clear(){this.featureStore.clear(),this._tileBounds.clear(),this._tiles.clear(),this._refCounts.clear()}refresh(){this.clear(),this._tileFeatureCounts.clear()}processEdits(e,t,i){return this._processEditsDelete(e.deletedFeatures.concat(e.updatedFeatures)),this._processEditsRefetch(e.addedFeatures.concat(e.updatedFeatures),t,i)}_addTileStorage(e,t,i){const s=e.id;this._tiles.set(s,new Me(e,t,i)),this._tileBounds.set(s,e.extent),this._tileFeatureCounts.set(s,t.size)}_remove({id:e}){const t=this._tiles.get(e);t&&this._removeTileStorage(t)}_removeTileStorage(e){const t=[];for(const i of e.objectIds)1===this._unreferenceFeature(i)&&t.push(i);this.featureStore.removeManyById(t);const i=e.key.id;this._tiles.delete(i),this._tileBounds.delete(i)}_processEditsDelete(e){this.featureStore.removeManyById(e);for(const t of this._tiles.values()){for(const i of e)t.objectIds.delete(i);this._tileFeatureCounts.set(t.key.id,t.objectIds.size)}for(const t of e)this._refCounts.delete(t)}async _processEditsRefetch(e,t,i){if(!e.length)return;const{features:s}=await t(e,i);for(const e of s){if(this._tmpBoundingRect.fill(0),null==e.geometry||0===e.geometry.vertexCount)continue;(0,ne.Ie)(this._tmpBoundingRect);const t=(0,p.NO)(e.geometry,this._tmpBoundingRect);this._tileBounds.forEachInBounds(t,t=>{const i=this._tiles.get(t);this.featureStore.add(e);const s=e.objectId;i.objectIds.has(s)||(i.objectIds.add(s),this._referenceFeature(s),this._tileFeatureCounts.set(i.key.id,i.objectIds.size))})}}process(e,t=()=>!0,i){if(null==this.tileInfo||!e.extent||null!=this.extent&&!(0,ne.HY)((0,ne.VY)(this.extent,this._tmpBoundingRect),e.extent))return new Te(e);if(this._memoryLimitExceeded&&!this._tiles.hasLowerPriority(e.id??""))return new Te(e);if(this._hasAttributesForTile(e.id,i))return new Te(e);const s=this._createTileTree(e,this.tileInfo);return this._simplify(s,t,null,0,1),this._collectMissingTiles(e,s,this.tileInfo,i)}get debugInfo(){return Array.from(this._tiles.values()).map(({key:e})=>({key:e.toJSON(),featureCount:this._tileFeatureCounts.get(e.id)||0}))}getFeatureCount(e){return this._tileFeatureCounts.get(e.id)??0}async fetchCount(e,t,i,s){let r=this._tileFeatureCounts.get(e.id);return null!=r||(r=await(0,_e.gW)(t,i,s),this._tileFeatureCounts.set(e.id,r)),r}_createTileTree(e,t){const i=new Fe(e.level,e.row,e.col);return t.updateTileInfo(i,1),this._tileBounds.forEachInBounds(e.extent,s=>{const r=this._tiles.get(s)?.key;r&&function(e,t){if(!e||!t)return!1;if(e.level===t.level)return e.row===t.row&&e.col===t.col;const i=e.level<t.level,s=i?e:t,r=i?t:e,n=1<<r.level-s.level;return Math.floor(r.row/n)===s.row&&Math.floor(r.col/n)===s.col}(e,r)&&this._populateChildren(i,r,t,this._tileFeatureCounts.get(r.id)||0)}),i}_populateChildren(e,t,i,s){const r=t.level-e.level-1;if(r<0)return void(e.isLeaf=!0);const n=t.row>>r,o=t.col>>r,a=e.row<<1,l=o-(e.col<<1)+(n-a<<1),u=e.children[l];if(null!=u)this._populateChildren(u,t,i,s);else{const r=new Fe(e.level+1,n,o);i.updateTileInfo(r,1),e.children[l]=r,this._populateChildren(r,t,i,s)}}_simplify(e,t,i,s,r){const n=r*r;if(e.isLeaf)return t(this.getFeatureCount(e),r)?0:(this._remove(e),null!=i&&(i.children[s]=null),n);const o=r/2,a=o*o;let l=0;for(let i=0;i<e.children.length;i++){const s=e.children[i];l+=null!=s?this._simplify(s,t,e,i,o):a}return 0===l?this._mergeChildren(e):1-l/n<ze&&(this._purge(e),null!=i&&(i.children[s]=null),l=n),l}_mergeChildren(e){const t=new Set;let i;this._forEachLeaf(e,e=>{const s=this._tiles.get(e.id);if(s){i=i?(0,ie.E$)(i,s.attributeKeys):new Set(s.attributeKeys);for(const e of s.objectIds)t.has(e)||(t.add(e),this._referenceFeature(e));this._remove(e)}}),this._addTileStorage(e,t,i??new Set),e.isLeaf=!0,e.children[0]=e.children[1]=e.children[2]=e.children[3]=null,this._tileFeatureCounts.set(e.id,t.size)}_forEachLeaf(e,t){for(const i of e.children)null!=i&&(i.isLeaf?t(i):this._forEachLeaf(i,t))}_purge(e){if(null!=e)if(e.isLeaf)this._remove(e);else for(let t=0;t<e.children.length;t++){const i=e.children[t];this._purge(i),e.children[t]=null}}_collectMissingTiles(e,t,i,s){const r=new Ae(i,e,this.extent);return this._collectMissingTilesRecurse(t,r,1,s),r.info}_collectMissingTilesRecurse(e,t,i,s){const r=this._tiles.has(e.id)&&!this._hasAttributesForTile(e.id,s);if(r&&t.addMissing(e.level,e.row,e.col,i),e.isLeaf)return;if(!e.hasChildren)return void(r||t.addMissing(e.level,e.row,e.col,i));const n=i/2;for(let i=0;i<e.children.length;i++){const r=e.children[i];null==r?t.addMissing(e.level+1,(e.row<<1)+((2&i)>>1),(e.col<<1)+(1&i),n):this._collectMissingTilesRecurse(r,t,n,s)}}_referenceFeature(e){const t=(this._refCounts.get(e)||0)+1;return this._refCounts.set(e,t),1===t?0:2}_unreferenceFeature(e){const t=(this._refCounts.get(e)||0)-1;return 0===t?(this._refCounts.delete(e),1):(t>0&&this._refCounts.set(e,t),2)}get test(){}};(0,s.Cg)([(0,a.MZ)({constructOnly:!0})],Se.prototype,"featureStore",void 0),(0,s.Cg)([(0,a.MZ)()],Se.prototype,"tileInfo",void 0),(0,s.Cg)([(0,a.MZ)()],Se.prototype,"extent",void 0),(0,s.Cg)([(0,a.MZ)()],Se.prototype,"maximumByteSize",void 0),Se=(0,s.Cg)([(0,a.$K)("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceTileStore")],Se);class Me{constructor(e,t,i){this.key=e,this.objectIds=t,this.attributeKeys=i}}class Fe extends F.U{constructor(){super(...arguments),this.isLeaf=!1,this.children=[null,null,null,null]}get hasChildren(){return!this.isLeaf&&(null!=this.children[0]||null!=this.children[1]||null!=this.children[2]||null!=this.children[3])}}class Te{constructor(e,t=[]){this.missingTiles=t,this.fullArea=0,this.coveredArea=0,this.fullArea=(0,ne.Wc)(e.extent),this.coveredArea=this.fullArea}prepend(e){this.missingTiles=e.missingTiles.concat(this.missingTiles),this.coveredArea+=e.coveredArea,this.fullArea+=e.fullArea}}class Ae{constructor(e,t,i){this._tileInfo=e,this._extent=null,this.info=new Te(t),null!=i&&(this._extent=(0,ne.VY)(i))}addMissing(e,t,i,s){const r=new F.U(e,t,i);this._tileInfo.updateTileInfo(r,1)&&(null==this._extent||(0,ne.HY)(this._extent,r.extent))&&(this.info.missingTiles.push({data:r,resolution:s}),this.info.coveredArea-=(0,ne.Wc)(r.extent))}}const ze=.18751;let Be=class extends r.nJ{constructor(){super(...arguments),this._isInitializing=!0,this.remoteClient=null,this._whenSetup=(0,n.Tw)(),this._elevationAligner=R(),this._elevationFilter=G(),this._symbologyCandidatesFetcher=D(),this._updatingHandles=new l.U,this._alignPointsInFeatures=async(e,t)=>{const i={query:e},s=await this.remoteClient.invoke("alignElevation",i,{signal:t});return(0,n.Te)(t),s},this._getSymbologyCandidates=async(e,t)=>{const i={candidates:e,spatialReference:this._spatialReference.toJSON()},s=await this.remoteClient.invoke("getSymbologyCandidates",i,{signal:t});return(0,n.Te)(t),s}}get updating(){return this._isInitializing||this._updatingHandles.updating||this._featureFetcher.updating}destroy(){this._featureFetcher?.destroy(),this._queryEngine?.destroy(),this._featureStore?.clear()}async setup(e){if(this.destroyed)return{result:{}};const{geometryType:t,objectIdField:i,timeInfo:s,fieldsIndex:r}=e.serviceInfo,{hasZ:n}=e,a=u.A.fromJSON(e.spatialReference);this._spatialReference=a,this._featureStore=new I(t,n,!1),this._featureStore.estimateFeatureUsedMemory=e=>e.usedMemory,this._queryEngine=new S.do({spatialReference:e.spatialReference,featureStore:this._featureStore,geometryType:t,fieldsIndex:r,hasZ:n,hasM:!1,featureIdInfo:{type:"object-id",fieldName:i},timeInfo:s}),this._featureFetcher=new ge({store:new Se({featureStore:this._featureStore}),url:e.serviceInfo.url,currentVersion:e.serviceInfo.currentVersion,objectIdField:e.serviceInfo.objectIdField,globalIdField:e.serviceInfo.globalIdField,capabilities:e.serviceInfo.capabilities,spatialReference:a,sourceSpatialReference:u.A.fromJSON(e.serviceInfo.spatialReference),customParameters:e.configuration.customParameters});const l="3d"===e.configuration.viewType;return this._elevationAligner=R(l,{elevationInfo:null!=e.elevationInfo?A.A.fromJSON(e.elevationInfo):null,alignPointsInFeatures:this._alignPointsInFeatures}),this._elevationFilter=G(l),this.addHandles([(0,o.wB)(()=>this._featureFetcher.availability,e=>this.emit("notify-availability",{availability:e}),o.OH),(0,o.wB)(()=>this.updating,()=>this._notifyUpdating())]),this._whenSetup.resolve(),this._isInitializing=!1,this.configure(e.configuration)}async configure(e){return await this._updatingHandles.addPromise(this._whenSetup.promise),this._updateFeatureFetcherConfiguration(e),Oe}async setSuspended(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),this._featureFetcher.suspended=e,Oe}async updateOutFields(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),this._featureFetcher.outFields=new Set(e??[]),Oe}async fetchCandidates(e,t){await this._whenSetup.promise,(0,n.Te)(t);const i=function(e,t){const i=!!t||void 0;if(!e.filter)return{...e,query:{where:"1=1",returnZ:i}};const{distance:s,units:r,spatialRel:n,where:o,timeExtent:a,objectIds:l}=e.filter,u={geometry:e.filter.geometry?(0,h.rS)(e.filter.geometry):void 0,distance:s,units:r,spatialRel:n,timeExtent:a,objectIds:l,returnZ:i,where:o??"1=1"};return{...e,query:u}}(e,this._featureStore.hasZ),s=t?.signal,r=await this._queryEngine.executeQueryForSnapping(i,s);(0,n.Te)(s);const o=await this._elevationAligner.alignCandidates(r.candidates,u.A.fromJSON(e.point.spatialReference)??u.A.WGS84,s);(0,n.Te)(s);const a=await this._symbologyCandidatesFetcher.fetch(o,s);(0,n.Te)(s);const l=0===a.length?o:o.concat(a);return{result:{candidates:this._elevationFilter.filter(i,l)}}}async updateTiles(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),this._featureFetcher.tileSize=e.tileSize,this._featureFetcher.tilesOfInterest=e.tiles.map(e=>F.U.fromJSON(e)),this._featureFetcher.tileInfo=null!=e.tileInfo?M.A.fromJSON(e.tileInfo):null,Oe}async refresh(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),this._featureFetcher.refresh(),Oe}async whenNotUpdating(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),await(0,o.C_)(()=>!this.updating,t),(0,n.Te)(t),Oe}async getDebugInfo(e,t){return(0,n.Te)(t),{result:this._featureFetcher.debugInfo}}async handleEdits(e,t){return await this._updatingHandles.addPromise(this._whenSetup.promise),(0,n.Te)(t),await this._updatingHandles.addPromise(this._featureFetcher.handleEdits(e)),(0,n.Te)(t),Oe}async setHistoricMoment(e,t){return this._featureFetcher.setHistoricMoment(e.moment),Oe}async notifyElevationSourceChange(e,t){return this._elevationAligner.notifyElevationSourceChange(),Oe}async notifySymbologyChange(e,t){return this._symbologyCandidatesFetcher.notifySymbologyChange(),Oe}async setSymbologySnappingSupported(e){return this._symbologyCandidatesFetcher=D(e,this._getSymbologyCandidates),Oe}_updateFeatureFetcherConfiguration(e){this._featureFetcher.filter=null!=e.filter?T.A.fromJSON(e.filter):null,this._featureFetcher.customParameters=e.customParameters}_notifyUpdating(){this.emit("notify-updating",{updating:this.updating})}};(0,s.Cg)([(0,a.MZ)({readOnly:!0})],Be.prototype,"updating",null),(0,s.Cg)([(0,a.MZ)()],Be.prototype,"_isInitializing",void 0),Be=(0,s.Cg)([(0,a.$K)("esri.views.interactive.snapping.featureSources.featureServiceSource.FeatureServiceSnappingSourceWorker")],Be);const Pe=Be,Oe={result:{}}},20437(e,t,i){i.d(t,{A:()=>p});var s,r=i(5482),n=i(66552),o=i(25482),a=i(91429),l=i(56507),u=i(8631),h=i(98453),c=i(36005),d=i(93223);const f=new n.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let p=class extends o.o{static{s=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let i=null;try{i=t?JSON.parse(t):null}catch(e){}return i?.value??null}readValueType(e,{description:t}){let i=null;try{i=t?JSON.parse(t):null}catch(e){}return i?f.fromJSON(i.fieldValueType):null}clone(){return new s({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"alias",void 0),(0,r.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],p.prototype,"defaultValue",void 0),(0,r.Cg)([(0,a.MZ)()],p.prototype,"description",void 0),(0,r.Cg)([(0,c.w)("description")],p.prototype,"readDescription",null),(0,r.Cg)([(0,a.MZ)({types:u.g,json:{read:{reader:u.r},write:!0}})],p.prototype,"domain",void 0),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],p.prototype,"editable",void 0),(0,r.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],p.prototype,"length",void 0),(0,r.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],p.prototype,"nullable",void 0),(0,r.Cg)([(0,d.e)(h.m)],p.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)()],p.prototype,"valueType",void 0),(0,r.Cg)([(0,c.w)("valueType",["description"])],p.prototype,"readValueType",null),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],p.prototype,"visible",void 0),p=s=(0,r.Cg)([(0,a.$K)("esri.layers.support.Field")],p)},31756(e,t,i){i.d(t,{j:()=>n});var s=i(86211),r=i(79258);const n={unknown:1,inches:(0,s.oU)(1,"meters","inches"),feet:(0,s.oU)(1,"meters","feet"),"us-feet":(0,s.oU)(1,"meters","us-feet"),yards:(0,s.oU)(1,"meters","yards"),miles:(0,s.oU)(1,"meters","miles"),"nautical-miles":(0,s.oU)(1,"meters","nautical-miles"),millimeters:(0,s.oU)(1,"meters","millimeters"),centimeters:(0,s.oU)(1,"meters","centimeters"),decimeters:(0,s.oU)(1,"meters","decimeters"),meters:(0,s.oU)(1,"meters","meters"),kilometers:(0,s.oU)(1,"meters","kilometers"),"decimal-degrees":1/(0,s.vl)(1,"meters",r.$O.radius)}},36708(e,t,i){i.d(t,{C_:()=>d,OH:()=>m,Vh:()=>_,on:()=>c,pc:()=>y,wB:()=>l,z7:()=>u});var s=i(37955),r=i(36563),n=i(97768),o=i(74887),a=i(14012);function l(e,t,i={}){return h(e,t,i,f)}function u(e,t,i={}){return h(e,t,i,p)}function h(e,t,i={},s){let r=null;const o=i.once?(e,i)=>{s(e)&&((0,n.xt)(r),t(e,i))}:(e,i)=>{s(e)&&t(e,i)};if(r=(0,a.Cn)(e,o,i.sync,i.equals),i.initial){const t=e();o(t,t)}return r}function c(e,t,i,o={}){let a=null,u=null,h=null;function c(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function d(e){o.once&&o.once&&(0,n.xt)(h),i(e)}const f=l(e,(e,i)=>{c(),(0,s.wb)(e)&&(a=e,u=(0,s.on)(e,t,d),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return h=(0,r.hA)(()=>{f.remove(),c()}),h}function d(e,t){return function(e,t,i){if((0,o.G4)(i))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function l(){a=(0,n.xt)(a)}return new Promise((s,n)=>{a=(0,r.vE)([(0,o.u7)(i,()=>{l(),n((0,o.NK)())}),h(e,e=>{l(),s(e)},{sync:!1,once:!0},t??f)])})}(e,p,t)}function f(e){return!0}function p(e){return!!e}i(80559);const m={sync:!0},_={initial:!0},y={sync:!0,initial:!0}},39357(e,t,i){i.d(t,{A:()=>a});var s,r=i(5482),n=i(25482),o=i(91429);let a=s=class extends n.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new s({name:this.name,code:this.code})}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,r.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=s=(0,r.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},41628(e,t,i){i.d(t,{A:()=>l});var s,r=i(5482),n=i(91429),o=i(76357),a=i(93223);let l=class extends o.A{static{s=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new s({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,r.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,i){t[i]=[this.minValue||0,e]},isRequired:!0}}})],l.prototype,"maxValue",void 0),(0,r.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,i){t[i]=[e,this.maxValue||0]},isRequired:!0}}})],l.prototype,"minValue",void 0),(0,r.Cg)([(0,a.e)({range:"range"})],l.prototype,"type",void 0),l=s=(0,r.Cg)([(0,n.$K)("esri.layers.support.RangeDomain")],l)},50498(e,t,i){i.d(t,{Ye:()=>c,gy:()=>h,iI:()=>f,yR:()=>d});var s=i(66552),r=i(5443),n=i(91075),o=i(48526),a=i(86738),l=i(39829),u=i(82799);const h=(0,s.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),c=(0,s.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),d={base:n.A,key:"type",typeMap:{extent:r.A,multipoint:o.A,point:a.A,polyline:u.A,polygon:l.A}},f=new s.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},53177(e,t,i){i.d(t,{A:()=>h});var s,r=i(5482),n=i(4718),o=i(91429),a=i(39357),l=i(76357),u=i(93223);let h=class extends l.A{static{s=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const i=String(e);this.codedValues.some(e=>(String(e.code)===i&&(t=e.name),!!t))}return t}clone(){return new s({codedValues:(0,n.o8)(this.codedValues),name:this.name})}};(0,r.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],h.prototype,"codedValues",void 0),(0,r.Cg)([(0,u.e)({codedValue:"coded-value"})],h.prototype,"type",void 0),h=s=(0,r.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],h)},60408(e,t,i){function s(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function r(e){return void 0!==e.points}function n(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?n(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":s(e)?"esriGeometryEnvelope":r(e)?"esriGeometryMultipoint":null:null}function h(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function c(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}i.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>h,Rg:()=>o,U9:()=>r,W0:()=>c,ZC:()=>s,fT:()=>n,uW:()=>l})},60999(e,t,i){i.d(t,{DZ:()=>p,Ke:()=>f,Tj:()=>h,UT:()=>m,aD:()=>y,jJ:()=>u});var s=i(5482),r=i(69622),n=i(97768),o=i(74887),a=i(10107),l=i(64108);function u(e,t,i){return(0,o.Lx)(e.map((e,s)=>t.apply(i,[e,s])))}async function h(e,t,i){return(await(0,o.Lx)(e.map((e,s)=>t.apply(i,[e,s])))).map(e=>e.value)}function c(e){return{ok:!0,value:e}}function d(e){return{ok:!1,error:e}}async function f(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return c(await e)}catch(e){return d(e)}}async function p(e){try{return c(await e)}catch(e){return(0,o.QP)(e),d(e)}}function m(e,t){return new _(e,t)}let _=class extends r.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,n.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:i}=this._abortController;this.promise=e(i),this.promise.then(e=>{this._result=c(e),this._cleanup()},e=>{this._result=d(e),this._cleanup()}),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,n.xt)(this._abortHandle),this._abortController=null}};(0,s.Cg)([(0,a.MZ)()],_.prototype,"value",null),(0,s.Cg)([(0,a.MZ)()],_.prototype,"error",null),(0,s.Cg)([(0,a.MZ)()],_.prototype,"finished",null),(0,s.Cg)([(0,a.MZ)()],_.prototype,"promise",void 0),(0,s.Cg)([(0,a.MZ)()],_.prototype,"_result",void 0),_=(0,s.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],_);class y{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,s.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,s.hk)(t)}}}},63746(e,t,i){function s(e){return class{constructor(){for(const t of e)this[t]=null}}}function r(e,t=1){const{transform:i,hasZ:s,hasM:r}=e;if(null==i)return s&&1!==t?e=>{e[2]*=t}:null;const[n,o]=function(e,t,i,s){let{scale:r,translate:n,originPosition:o}=e;return"upperLeft"===o&&(r=r.map((e,t)=>1===t?-e:e)),t&&(r=r.map((e,t)=>2===t?e*s:e)),!t&&i&&(r=r.filter((e,t)=>2!==t),n=n.filter((e,t)=>2!==t)),[r,n]}(i,s,r,t),a=e.hasZ?3:2;return e=>{for(let t=0;t<e.length&&(t!==a||0!==e[t]);++t)e[t]=e[t]*n[t]+o[t]}}i.d(t,{Mv:()=>r,_7:()=>s}),i(53966)},65864(e,t,i){i.d(t,{rS:()=>h,xD:()=>d});var s=i(5443),r=i(91075),n=i(48526),o=i(86738),a=i(39829),l=i(82799),u=i(60408);function h(e){return null==e?null:e instanceof r.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?l.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?n.A.fromJSON(e):(0,u.ZC)(e)?s.A.fromJSON(e):null}const c={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:a.A};function d(e){return e&&c[e]||null}},66344(e,t,i){i.d(t,{q:()=>a});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class r{get size(){return this._size}constructor(e=10485760){this._maxSize=e,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._users=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._users.clear(),this._db.clear()}register(e){this._users.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._users.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}getSize(e,t){const i=this._db.get(e.id+t);return i?.size??0}put(e,t,i,r,o){t=e.id+t;const a=this._db.get(t);if(a&&(this._size-=a.size,e.size-=a.size,this._db.delete(t),a.entry!==i&&this._notifyRemove(t,a.entry,a.size,0)),r>this._maxSize)return void this._notifyRemove(t,i,r,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!r||r<0)return s||console.warn(`Refusing to cache entry with size ${r} for key ${t}`),void this._notifyRemove(t,i,0,0);const l=1+Math.max(o,-4)- -3;this._db.set(t,new n(i,r,l)),this._size+=r,e.size+=r,this._checkSize()}updateSize(e,t){t=e.id+t;const i=this._db.get(t);if(!i)return;this._size-=i.size,e.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const e=this._notifyRemove(t,i.entry,s,1);if(!(null!=e&&e>0))return void this._db.delete(t);s=e}i.size=s,this._size+=s,e.size+=s,this._checkSize()}pop(e,t){t=e.id+t;const i=this._db.get(t);if(i)return this._size-=i.size,e.size-=i.size,this._db.delete(t),++this._hit,i.entry;++this._miss}get(e,t){t=e.id+t;const i=this._db.get(t);if(void 0!==i)return this._db.delete(t),i.lives=i.lifetime,this._db.set(t,i),++this._hit,i.entry;++this._miss}peek(e,t){const i=this._db.get(e.id+t);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},i=new Array;this._db.forEach((e,s)=>{const r=e.lifetime;i[r]=(i[r]||0)+e.size,this._users.forEach(i=>{const{id:r,name:n}=i;if(s.startsWith(r)){const i=t[n]||0;t[n]=i+e.size}})});const s={};this._users.forEach(e=>{const i=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const r=t[i]||0;t[i]=r,s[i]=Math.round(100*e.hitRate)+"%"}else s[i]="0%"});const r=Object.keys(t);r.sort((e,i)=>t[i]-t[e]),r.forEach(i=>e[i]=Math.round(t[i]/2**20)+"MB / "+s[i]);for(let t=i.length-1;t>=0;--t){const s=i[t];s&&(e["Priority "+(t+-3-1)]=Math.round(s/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._users.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,i)=>{i.startsWith(t)&&(this._size-=e.size,this._db.delete(i),this._notifyRemove(i,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._users.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,i]of this._db)t.startsWith(e.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,i,s){const r=this._users.get(e.split(o)[0])?.removeFunc,n=r?.(t,s,i);return"number"==typeof n?n:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._checkSizeLimits(this.maxSize)}setMaxSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const i=t??this;if(i.size<=e)return;const s=t?.id;let r=!0;for(;r;){r=!1;for(const[n,a]of this._db)if(0===a.lifetime&&(!s||n.startsWith(s))){const s=t??this._users.get(n.split(o)[0]);if(this._purgeItem(n,a,s),i.size<=.9*e)return;r||=this._db.has(n)}}for(const[r,n]of this._db)if(!s||r.startsWith(s)){const s=t??this._users.get(r.split(o)[0]);if(this._purgeItem(r,n,s),i.size<=.9*e)return}}_purgeItem(e,t,i){if(this._db.delete(e),t.lives<=1){this._size-=t.size,i&&(i.size-=t.size);const s=this._notifyRemove(e,t.entry,t.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),t.lives=t.lifetime,t.size=s,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new r(0);class n{constructor(e,t,i){this.entry=e,this.size=t,this.lifetime=i,this.lives=i}}const o=":";class a{constructor(e,t){this.removeFunc=t,this._storage=new r,this.id="",this.name="",this.size=0,this._storage.maxSize=e,this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy(),this._storage=null}put(e,t,i=1){this._storage.put(this,e,t,i,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},69540(e,t,i){i.d(t,{OU:()=>h,Pw:()=>c});var s=i(5482),r=i(69622),n=(i(44208),i(4718)),o=(i(53966),i(97768)),a=i(88620),l=i(64108);const u=Symbol("ClonableMixin"),h=e=>{var t;const i=e;let r=class extends i{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const i=t.metadata,s=t.store,r={},l=new Map;for(const t in i){const o=i[t],a=s?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const h=this[t];let c=null;if("function"==typeof u)c=u(h,e);else if("reference"===u)c=h;else if(c=(0,n.TU)(h,e),null!=h&&null==c)continue;0===a?l.set(t,c):r[t]=c}const u=new(0,Object.getPrototypeOf(this).constructor)(r);if(l.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,i]of l)e.set(t,i,0)}return u}};return r=(0,s.Cg)([(0,l.$)("esri.core.Clonable")],r),r},c=h(r.A)},75503(e,t,i){i.d(t,{wq:()=>a});var s=i(4576),r=i(21818),n=(i(44208),i(15142)),o=i(11006);class a{constructor(e=9,t){this._compareMinX=d,this._compareMinY=f,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),b.prune(),w.prune(),C.prune(),I.prune()}all(e){l(this._data,e)}search(e,t){let i=this._data;const s=this._toBBox;if(v(e,i))for(b.clear();i;){for(let r=0,n=i.children.length;r<n;r++){const n=i.children[r],o=i.leaf?s(n):n;v(e,o)&&(i.leaf?t(n):g(e,o)?l(n,t):b.push(n))}i=b.pop()}}collides(e){let t=this._data;const i=this._toBBox;if(!v(e,t))return!1;for(b.clear();t;){for(let s=0,r=t.children.length;s<r;s++){const r=t.children[s],n=t.leaf?i(r):r;if(v(e,n)){if(t.leaf||g(e,n))return!0;b.push(r)}}t=b.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,i=e.length;t<i;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new F([]),this}remove(e){if(!e)return this;let t,i=this._data,n=null,o=0,a=!1;const l=this._toBBox(e);for(C.clear(),I.clear();i||C.length>0;){if(i||(i=C.pop(),n=C.data[C.length-1],o=I.pop()??0,a=!0),i.leaf&&(t=(0,s.qh)(i.children,(0,r.z)(e),i.children.length,i.indexHint),-1!==t))return i.children.splice(t,1),C.push(i),this._condense(C),this;a||i.leaf||!g(i,l)?n?(o++,i=n.children[o],a=!1):i=null:(C.push(i),I.push(o),o=0,n=i,i=i.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,i,s){const r=i-t+1;let n=this._maxEntries;if(r<=n){const s=new F(e.slice(t,i+1));return u(s,this._toBBox),s}s||(s=Math.ceil(Math.log(r)/Math.log(n)),n=Math.ceil(r/n**(s-1)));const o=new T([]);o.height=s;const a=Math.ceil(r/n),l=a*Math.ceil(Math.sqrt(n));x(e,t,i,l,this._compareMinX);for(let r=t;r<=i;r+=l){const t=Math.min(r+l-1,i);x(e,r,t,a,this._compareMinY);for(let i=r;i<=t;i+=a){const r=Math.min(i+a-1,t);o.children.push(this._build(e,i,r,s-1))}}return u(o,this._toBBox),o}_insert(e,t,i){const s=this._toBBox,r=i?e:s(e);C.clear();const n=function(e,t,i,s){for(;s.push(t),!0!==t.leaf&&s.length-1!==i;){let i,s=1/0,r=1/0;for(let n=0,o=t.children.length;n<o;n++){const o=t.children[n],a=p(o),l=_(e,o)-a;l<r?(r=l,s=a<s?a:s,i=o):l===r&&a<s&&(s=a,i=o)}t=i||t.children[0]}return t}(r,this._data,t,C);for(n.children.push(e),c(n,r);t>=0&&C.data[t].children.length>this._maxEntries;)this._split(C,t),t--;!function(e,t,i){for(let s=i;s>=0;s--)c(t.data[s],e)}(r,C,t)}_split(e,t){const i=e.data[t],s=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,s);const n=this._chooseSplitIndex(i,r,s);if(!n)return;const o=i.children.splice(n,i.children.length-n),a=i.leaf?new F(o):new T(o);a.height=i.height,u(i,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(i,a)}_splitRoot(e,t){this._data=new T([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,i){let s,r,n;s=r=1/0;for(let o=t;o<=i-t;o++){const t=h(e,0,o,this._toBBox),a=h(e,o,i,this._toBBox),l=y(t,a),u=p(t)+p(a);l<s?(s=l,n=o,r=u<r?u:r):l===s&&u<r&&(r=u,n=o)}return n}_chooseSplitAxis(e,t,i){const s=e.leaf?this._compareMinX:d,r=e.leaf?this._compareMinY:f;this._allDistMargin(e,t,i,s)<this._allDistMargin(e,t,i,r)&&e.children.sort(s)}_allDistMargin(e,t,i,s){e.children.sort(s);const r=this._toBBox,n=h(e,0,t,r),o=h(e,i-t,i,r);let a=m(n)+m(o);for(let s=t;s<i-t;s++){const t=e.children[s];c(n,e.leaf?r(t):t),a+=m(n)}for(let s=i-t-1;s>=t;s--){const t=e.children[s];c(o,e.leaf?r(t):t),a+=m(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const i=e.data[t];if(0===i.children.length)if(t>0){const r=e.data[t-1],n=r.children;n.splice((0,s.qh)(n,i,n.length,r.indexHint),1)}else this.clear();else u(i,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let i=e;for(w.clear();i;){if(!0===i.leaf)for(const e of i.children)t((0,r.z)(e));else w.pushArray(i.children);i=w.pop()??null}}function u(e,t){h(e,0,e.children.length,t,e)}function h(e,t,i,s,r){r||(r=new F([])),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(let n,o=t;o<i;o++)n=e.children[o],c(r,e.leaf?s(n):n);return r}function c(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function d(e,t){return e.minX-t.minX}function f(e,t){return e.minY-t.minY}function p(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function m(e){return e.maxX-e.minX+(e.maxY-e.minY)}function _(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function y(e,t){const i=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),r=Math.min(e.maxX,t.maxX),n=Math.min(e.maxY,t.maxY);return Math.max(0,r-i)*Math.max(0,n-s)}function g(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function v(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function x(e,t,i,s,r){const n=[t,i];for(;n.length;){const t=n.pop(),i=n.pop();if(t-i<=s)continue;const a=i+Math.ceil((t-i)/s/2)*s;(0,o.q)(e,a,i,t,r),n.push(i,a,a,t)}}const b=new n.A,w=new n.A,C=new n.A,I=new n.A({deallocator:void 0});class S{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class M extends S{constructor(){super(...arguments),this.height=1,this.indexHint=new s.vW}}class F extends M{constructor(e){super(),this.children=e,this.leaf=!0}}class T extends M{constructor(e){super(),this.children=e,this.leaf=!1}}},76357(e,t,i){i.d(t,{A:()=>u});var s=i(5482),r=i(66552),n=i(25482),o=i(91429),a=i(93223);const l=new r.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends n.o{constructor(e){super(e),this.name=null,this.type=null}};(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,s.Cg)([(0,a.e)(l),(0,o.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,s.Cg)([(0,o.$K)("esri.layers.support.Domain")],u)},88625(e,t,i){i.d(t,{A:()=>g});var s,r=i(5482),n=i(69540),o=i(66552),a=i(25482),l=i(97768),u=i(91429),h=i(30524);let c=s=class extends a.o{constructor(e){super(e),this.expression=void 0,this.title=void 0}async collectRequiredFields(e,t){return(0,h.Dx)(e,t,null,this.expression)}clone(){return new s({expression:this.expression,title:this.title})}equals(e){return this.expression===e.expression&&this.title===e.title}};(0,r.Cg)([(0,u.MZ)({type:String,json:{write:{isRequired:!0}}})],c.prototype,"expression",void 0),(0,r.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],c.prototype,"title",void 0),c=s=(0,r.Cg)([(0,u.$K)("esri.symbols.support.FeatureExpressionInfo")],c);const d=c;var f=i(16271),p=i(36005),m=i(43937);const _=(0,o.O)()({onTheGround:"on-the-ground",relativeToGround:"relative-to-ground",relativeToScene:"relative-to-scene",absoluteHeight:"absolute-height"}),y=new o.J({foot:"feet",kilometer:"kilometers",meter:"meters",mile:"miles","us-foot":"us-feet",yard:"yards"});let g=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.featureExpressionInfo=void 0,this.offset=null}readFeatureExpressionInfo(e,t){return null!=e?e.expression?e:void 0:t.featureExpression&&0===t.featureExpression.value?{expression:"0"}:void 0}writeFeatureExpressionInfo(e,t,i,s){t[i]=e.write({},s),"0"===e.expression&&(t.featureExpression={value:0})}get mode(){const{offset:e,featureExpressionInfo:t}=this;return this._isOverridden("mode")?this._get("mode"):null!=e||t?"relative-to-ground":"on-the-ground"}set mode(e){this._override("mode",e)}set unit(e){this._set("unit",e)}write(e,t){return this.offset||this.mode||this.featureExpressionInfo||this.unit?super.write(e,t):null}equals(e){return this.mode===e.mode&&this.offset===e.offset&&this.unit===e.unit&&(0,l.CM)(this.featureExpressionInfo,e.featureExpressionInfo)}};(0,r.Cg)([(0,u.MZ)({type:d,json:{write:!0}})],g.prototype,"featureExpressionInfo",void 0),(0,r.Cg)([(0,p.w)("featureExpressionInfo",["featureExpressionInfo","featureExpression"])],g.prototype,"readFeatureExpressionInfo",null),(0,r.Cg)([(0,m.K)("featureExpressionInfo",{featureExpressionInfo:{type:d},"featureExpression.value":{type:[0]}})],g.prototype,"writeFeatureExpressionInfo",null),(0,r.Cg)([(0,u.MZ)({type:_.apiValues,nonNullable:!0,json:{type:_.jsonValues,read:_.read,write:{writer:_.write,isRequired:!0}}})],g.prototype,"mode",null),(0,r.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],g.prototype,"offset",void 0),(0,r.Cg)([(0,u.MZ)({type:f.KQ,json:{type:String,read:y.read,write:y.write}})],g.prototype,"unit",null),g=(0,r.Cg)([(0,u.$K)("esri.symbols.support.ElevationInfo")],g)},98453(e,t,i){i.d(t,{m:()=>s});const s=new(i(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})}}]);