@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
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3354,5845],{159(t,e,n){n.d(e,{A:()=>s});var r,i=n(5482),o=n(69622),a=n(91429),l=n(99157);let s=r=class extends o.A{constructor(t){super(t),this.steps=[]}getInverse(){const t=new r;for(let e=this.steps.length-1;e>=0;e--){const n=this.steps[e];t.steps.push(n.getInverse())}return t}};(0,i.Cg)([(0,a.MZ)({type:[l.A],nonNullable:!0})],s.prototype,"steps",void 0),s=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],s)},5482(t,e,n){function r(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var l=t.length-1;l>=0;l--)(i=t[l])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function i(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>a,mS:()=>i}),Object.create,Object.create;var o="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function a(t){function e(e){t.error=t.hasError?new o(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function i(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(t){return e(t),i()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>i,vt:()=>r,zK:()=>o});const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:o,clone:i,create:r,fromValues:function(t,e,n,r,i,o,a,l,s,u,c,f,h,p,d,m){return[t,e,n,r,i,o,a,l,s,u,c,f,h,p,d,m]}},Symbol.toStringTag,{value:"Module"}))},9762(t,e,n){n.r(e),n.d(e,{projectBuffer:()=>i});var r=n(49208);function i(t,e,n,i,o,a,l=Math.floor(t.length/3)){const s=(0,r.jd)(e,o);if(null==s)return!1;if(s===r.pO){if(t===i&&n===a)return!0;const e=n+3*l;for(let r=n,o=a;r<e;r++,o++)i[o]=t[r]??0;return!0}const u=n+3*l;for(let e=n,r=a;e<u;e+=3,r+=3)s(t,e,i,r);return!0}},11006(t,e,n){function r(t,e,n,r,o){i(t,e,n||0,r||t.length-1,o||a)}function i(t,e,n,r,a){for(;r>n;){if(r-n>600){var l=r-n+1,s=e-n+1,u=Math.log(l),c=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*c*(l-c)/l)*(s-l/2<0?-1:1);i(t,e,Math.max(n,Math.floor(e-s*c/l+f)),Math.min(r,Math.floor(e+(l-s)*c/l+f)),a)}var h=t[e],p=n,d=r;for(o(t,n,e),a(t[r],h)>0&&o(t,n,r);p<d;){for(o(t,p,d),p++,d--;a(t[p],h)<0;)p++;for(;a(t[d],h)>0;)d--}0===a(t[n],h)?o(t,n,d):o(t,++d,r),d<=e&&(n=d+1),e<=d&&(r=d-1)}}function o(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function a(t,e){return t<e?-1:t>e?1:0}n.d(e,{q:()=>r})},18251(t,e,n){n.r(e),n.d(e,{default:()=>u});var r=n(5482),i=n(69540),o=n(25482),a=n(91429),l=n(51850),s=n(93223);let u=class extends((0,i.OU)(o.o)){constructor(t){super(t),this.type="local",this.origin=(0,l.vt)()}};(0,r.Cg)([(0,s.e)({local:"local"},{readOnly:!0})],u.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)({type:[Number],nonNullable:!0,json:{write:!0}})],u.prototype,"origin",void 0),u=(0,r.Cg)([(0,a.$K)("esri.geometry.support.MeshLocalVertexSpace")],u)},21276(t,e,n){n.d(e,{H:()=>o,f:()=>i});var r=n(49186);function i(t){if(t&&"object"==typeof t&&"type"in t&&"mesh"===t.type)throw new r.A("internal:mesh","Mesh geometries are not supported for this operation")}function o(t){t.forEach(i)}},22141(t,e,n){n.d(e,{$5:()=>A,CN:()=>x,JP:()=>M,KM:()=>R,Mv:()=>j,X4:()=>w,gr:()=>b,qs:()=>_,si:()=>v,xA:()=>S});var r=n(34727),i=n(77690),o=n(29242),a=n(58083),l=n(9093),s=n(35522),u=n(51850),c=n(73941),f=n(48353),h=n(9762),p=(n(79258),n(21325)),d=n(28735),m=n(13030),g=n(73354),y=n(65686);const M="Projection may be possible after calling projection.load().";function x(t,e,n,r){t.error(`Failed to project from (wkid:${e.wkid}) to (wkid:${n.wkid}).${r?" ":""}${r}`)}function w(t,e,n,r,i,o){return B(0,m.xs.fromTypedArray(t),0,m.Xm.fromTypedArray(e),n,m.Xm.fromTypedArray(r),i,m.xs.fromTypedArray(o))?o:null}function v(t,e,n,r,i,o){return B(1,m.xs.fromTypedArray(t),0,m.Xm.fromTypedArray(e),n,m.Xm.fromTypedArray(r),i,m.xs.fromTypedArray(o))?o:null}function b(t,e,n,r){return(0,h.projectBuffer)(t,e,0,n,r,0)?n:null}function A(t,e,n,r){return(0,h.projectBuffer)(t,e,0,n,r,0)?n:null}function _(t,e,n){return(0,i.Ge)(T,n),(0,g.b)(e,t,T),(0,r.or)(T)&&(0,g.n)(e,e),e}function R(t,e,n){return(0,i.z0)(T,n),(0,y.t)(e,t,T),(0,r.or)(T)&&(0,g.n)(e,e,4),e}function S(t,e,n,r,i,o){if(!B(0,m.xs.fromTypedArray(t,4*Float32Array.BYTES_PER_ELEMENT),1,m.Xm.fromTypedArray(e),n,m.Xm.fromTypedArray(r),i,m.xs.fromTypedArray(o,4*Float32Array.BYTES_PER_ELEMENT)))return null;for(let e=3;e<t.length;e+=4)o[e]=t[e];return o}function j(t,e,n,r,i,o){if(!B(1,m.xs.fromTypedArray(t,16),1,m.Xm.fromTypedArray(e),n,m.Xm.fromTypedArray(r),i,m.xs.fromTypedArray(o,16)))return null;for(let e=3;e<t.length;e+=4)o[e]=t[e];return o}function k(t,e,n,r,o){switch((0,f.l)(r,n,I,r),1===t&&(0,a.B8)(I,I),e){case 0:return(0,i.Ge)(o,I);case 1:return(0,i.z0)(o,I)}}function B(t,e,n,r,i,o,a,l){if(!e)return;const u=r.count;if(function(t){return t.isWGS84||(0,p.x1)(t)||(0,c.q8)(t)||(0,c.KQ)(t)}(i))for(let r=0;r<u;r++)o.getVec(r,C),e.getVec(r,O),(0,s.ei)(O,O,k(t,n,C,a,T)),l.setVec(r,O);else for(let i=0;i<u;i++){o.getVec(i,C),e.getVec(i,O);const u=(0,d.jg)(r.get(i,1));let c=Math.cos(u);1===n!=(0===t)&&(c=1/c),k(t,n,C,a,T),0===t?(T[0]*=c,T[1]*=c,T[2]*=c,T[3]*=c,T[4]*=c,T[5]*=c):(T[0]*=c,T[3]*=c,T[6]*=c,T[1]*=c,T[4]*=c,T[7]*=c),(0,s.ei)(O,O,T),(0,s.S8)(O,O),l.setVec(i,O)}return l}const C=(0,u.vt)(),O=(0,u.vt)(),I=(0,l.vt)(),T=(0,o.vt)()},27615(t,e,n){n.d(e,{CK:()=>s,Hq:()=>l,MW:()=>u,TE:()=>c,yJ:()=>f});var r=n(35522),i=n(86738),o=n(95696),a=n(18251);function l(t){return null!=t.origin}function s(t){return l(t.vertexSpace)}function u(t,e){if(!l(t))return null;const[n,r,o]=t.origin;return new i.A({x:n,y:r,z:o,spatialReference:e})}function c(t,e){const{x:n,y:r,z:i,spatialReference:l}=t,s=[n,r,i??0];return"local"===(e?.vertexSpace??function(t){return t.isGeographic||t.isWebMercator?"local":"georeferenced"}(l))?new a.default({origin:s}):new o.A({origin:s})}function f(t,e){return t.type===e.type&&(t.origin===e.origin||null!=t.origin&&null!=e.origin&&(0,r.t2)(t.origin,e.origin))}},28735(t,e,n){n.d(e,{Cv:()=>g,Gh:()=>x,ci:()=>w,je:()=>y,jg:()=>f,tD:()=>M,y7:()=>m,yw:()=>c});var r=n(4718),i=n(21276),o=n(16930),a=n(79258),l=n(21325);function s(t){return 57.29577951308232*t}function u(t){return.017453292519943*t}function c(t){return t/a.$O.radius}function f(t){return Math.PI/2-2*Math.atan(Math.exp(-t/a.$O.radius))}function h(t){return null!=t.wkid||null!=t.wkt}const p=[0,0];function d(t,e,n,r,i){const o=t,a=i;if(a.spatialReference=n,"x"in o&&"x"in a)[a.x,a.y]=e(o.x,o.y,p,r);else if("xmin"in o&&"xmin"in a)[a.xmin,a.ymin]=e(o.xmin,o.ymin,p,r),[a.xmax,a.ymax]=e(o.xmax,o.ymax,p,r);else if("paths"in o&&"paths"in a||"rings"in o&&"rings"in a){const t="paths"in o?o.paths:o.rings,n=[];let i;for(let o=0;o<t.length;o++){const a=t[o];i=[],n.push(i);for(let t=0;t<a.length;t++)i.push(e(a[t][0],a[t][1],[0,0],r)),a[t].length>2&&i[t].push(a[t][2]),a[t].length>3&&i[t].push(a[t][3])}"paths"in a?a.paths=n:a.rings=n}else if("points"in o&&"points"in a){const t=o.points,n=[];for(let i=0;i<t.length;i++)n[i]=e(t[i][0],t[i][1],[0,0],r),t[i].length>2&&n[i].push(t[i][2]),t[i].length>3&&n[i].push(t[i][3]);a.points=n}return i}function m(t,e){const n=t&&(h(t)?t:t.spatialReference),r=e&&(h(e)?e:e.spatialReference);return!(t&&"type"in t&&"mesh"===t.type||e&&"type"in e&&"mesh"===e.type||!n||!r)&&(!!(0,l.aI)(r,n)||(0,l.K8)(r)&&(0,l.oT)(n)||(0,l.K8)(n)&&(0,l.oT)(r))}function g(t,e){if(null==t)return null;const n=t.spatialReference,i=e&&(h(e)?e:e.spatialReference);return m(n,i)?(0,l.aI)(n,i)?(0,r.o8)(t):(0,l.K8)(i)?d(t,y,o.A.WebMercator,!1,(0,r.o8)(t)):(0,l.oT)(i)?d(t,M,o.A.WGS84,!1,(0,r.o8)(t)):null:null}function y(t,e,n=[0,0]){e>89.99999?e=89.99999:e<-89.99999&&(e=-89.99999);const r=u(e);return n[0]=u(t)*a.$O.radius,n[1]=a.$O.halfSemiMajorAxis*Math.log((1+Math.sin(r))/(1-Math.sin(r))),n}function M(t,e,n=[0,0],r=!1){if(t===l.Mc[0])n[0]=-180;else if(t===l.Mc[1])n[0]=180;else{const e=s(t/a.$O.radius);n[0]=r?e:e-360*Math.floor((e+180)/360)}return n[1]=s(Math.PI/2-2*Math.atan(Math.exp(-e/a.$O.radius))),n}function x(t,e=!1,n=(0,r.o8)(t)){return(0,i.f)(t),(0,i.f)(n),d(t,y,o.A.WebMercator,e,n)}function w(t,e=!1,n=(0,r.o8)(t)){return(0,i.f)(t),(0,i.f)(n),d(t,M,o.A.WGS84,e,n)}},34304(t,e,n){n.d(e,{DF:()=>s,FD:()=>i,Ov:()=>o,ct:()=>u});let r=1e-6;function i(){return r}const o=Math.random,a=Math.PI/180,l=180/Math.PI;function s(t){return t*a}function u(t){return t*l}Object.freeze(Object.defineProperty({__proto__:null,RANDOM:o,equals:function(t,e){return Math.abs(t-e)<=r*Math.max(1,Math.abs(t),Math.abs(e))},getEpsilon:i,setEpsilon:function(t){r=t},toDegree:u,toRadian:s},Symbol.toStringTag,{value:"Module"}))},34403(t,e,n){n.d(e,{TP:()=>a});var r=n(79258);Math.PI;const i=r.$O.radius,o=r.$O.eccentricitySquared,a={a1:i*o,a2:i*o*i*o,a3:i*o*o/2,a4:i*o*i*o*2.5,a5:i*o+i*o*o/2,a6:1-o};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},35522(t,e,n){n.d(e,{$A:()=>R,Bw:()=>o,C:()=>a,Cc:()=>S,DI:()=>b,Il:()=>E,Io:()=>M,Ln:()=>y,Om:()=>_,Qr:()=>f,Re:()=>u,S8:()=>A,T9:()=>m,WQ:()=>s,Z0:()=>j,_S:()=>p,aI:()=>T,ei:()=>k,gL:()=>B,hG:()=>x,hZ:()=>l,hs:()=>g,jb:()=>N,jk:()=>d,lo:()=>q,lw:()=>c,m3:()=>w,oW:()=>z,t2:()=>I,tn:()=>h,uE:()=>Z,xg:()=>Y,ze:()=>v});var r=n(51850),i=n(34304);function o(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function l(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function s(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function h(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function p(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function d(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function m(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function g(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return Math.sqrt(n*n+r*r+i*i)}function x(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}function w(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function v(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function b(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function A(t,e){const n=e[0],r=e[1],i=e[2];let o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function R(t,e,n){const r=e[0],i=e[1],o=e[2],a=n[0],l=n[1],s=n[2];return t[0]=i*s-o*l,t[1]=o*a-r*s,t[2]=r*l-i*a,t}function S(t,e,n,r){const i=e[0],o=e[1],a=e[2];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t[2]=a+r*(n[2]-a),t}function j(t,e,n){const r=e[0],i=e[1],o=e[2];return t[0]=n[0]*r+n[4]*i+n[8]*o+n[12],t[1]=n[1]*r+n[5]*i+n[9]*o+n[13],t[2]=n[2]*r+n[6]*i+n[10]*o+n[14],t}function k(t,e,n){const r=e[0],i=e[1],o=e[2];return t[0]=r*n[0]+i*n[3]+o*n[6],t[1]=r*n[1]+i*n[4]+o*n[7],t[2]=r*n[2]+i*n[5]+o*n[8],t}function B(t,e,n){const r=n[0],i=n[1],o=n[2],a=n[3],l=e[0],s=e[1],u=e[2],c=i*u-o*s,f=o*l-r*u,h=r*s-i*l,p=i*h-o*f,d=o*c-r*h,m=r*f-i*c,g=2*a;return t[0]=l+c*g+2*p,t[1]=s+f*g+2*d,t[2]=u+h*g+2*m,t}const C=(0,r.vt)(),O=(0,r.vt)();function I(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function T(t,e){if(t===e)return!0;const n=t[0],r=t[1],o=t[2],a=e[0],l=e[1],s=e[2],u=(0,i.FD)();return Math.abs(n-a)<=u*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-l)<=u*Math.max(1,Math.abs(r),Math.abs(l))&&Math.abs(o-s)<=u*Math.max(1,Math.abs(o),Math.abs(s))}function z(t,e,n){const r=n[0]-e[0],i=n[1]-e[1],o=n[2]-e[2];let a=r*r+i*i+o*o;return a>0?(a=1/Math.sqrt(a),t[0]=r*a,t[1]=i*a,t[2]=o*a,t):(t[0]=0,t[1]=0,t[2]=0,t)}const N=u,P=c,X=f,Y=M,q=x,E=o,Z=w;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:s,angle:function(t,e){A(C,t),A(O,e);const n=_(C,O);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,i,o){const a=1-o,l=a*a,s=o*o,u=l*a,c=3*o*l,f=3*s*a,h=s*o;return t[0]=e[0]*u+n[0]*c+r[0]*f+i[0]*h,t[1]=e[1]*u+n[1]*c+r[1]*f+i[1]*h,t[2]=e[2]*u+n[2]*c+r[2]*f+i[2]*h,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:a,cross:R,crossAndNormalize:function(t,e,n){const r=e[0],i=e[1],o=e[2],a=n[0],l=n[1],s=n[2],u=i*s-o*l,c=o*a-r*s,f=r*l-i*a,h=Math.sqrt(u*u+c*c+f*f);return t[0]=u/h,t[1]=c/h,t[2]=f/h,t},direction:z,dist:Y,distance:M,div:X,divide:f,dot:_,equals:T,exactEquals:I,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,i,o){const a=o*o,l=a*(2*o-3)+1,s=a*(o-2)+o,u=a*(o-1),c=a*(3-2*o);return t[0]=e[0]*l+n[0]*s+r[0]*u+i[0]*c,t[1]=e[1]*l+n[1]*s+r[1]*u+i[1]*c,t[2]=e[2]*l+n[2]*s+r[2]*u+i[2]*c,t},inverse:b,len:E,length:o,lerp:S,max:m,min:d,mul:P,multiply:c,negate:v,normalize:A,random:function(t,e=1){const n=i.Ov,r=2*n()*Math.PI,o=2*n()-1,a=Math.sqrt(1-o*o)*e;return t[0]=Math.cos(r)*a,t[1]=Math.sin(r)*a,t[2]=o*e,t},rotateX:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateY:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},rotateZ:function(t,e,n,r){const i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:g,scaleAndAdd:y,set:l,sign:p,sqrDist:q,sqrLen:Z,squaredDistance:x,squaredLength:w,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:N,subtract:u,transformMat3:k,transformMat4:j,transformQuat:B},Symbol.toStringTag,{value:"Module"}))},38419(t,e,n){n.r(e),n.d(e,{default:()=>l});var r=n(44208),i=n(75503),o=n(95696),a=n(72258);class l{async createIndex(t,e){const n=new Array;if(!t.vertexAttributes?.position)return new i.wq;const r=function(t){const{vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:i}=t,l=(0,a.UR)({vertexAttributes:{position:e},vertexSpace:n,spatialReference:r,transform:i},o.A.absolute,{allowBufferReuse:!0})?.position;return l?!t.components||t.components.some(t=>!t.faces)?{position:l.buffer}:{position:l.buffer,components:t.components.map(t=>t.faces)}:null}(t),l=null!=e?await e.invoke("createIndexThread",r,{transferList:n}):this.createIndexThread(r).result;return s().fromJSON(l)}createIndexThread(t){const e=s();if(!t)return{result:e.toJSON()};const n=new Float64Array(t.position);return t.components?function(t,e,n){let r=0;for(const t of n)r+=t.length/3;const i=new Array(r);let o=0;for(const t of n)for(let n=0;n<t.length;n+=3)i[o++]=u(e,3*t[n],3*t[n+1],3*t[n+2]);return t.load(i),{result:t.toJSON()}}(e,n,t.components.map(t=>new Uint32Array(t))):function(t,e){const n=new Array(e.length/9);let r=0;for(let t=0;t<e.length;t+=9)n[r++]=u(e,t,t+3,t+6);return t.load(n),{result:t.toJSON()}}(e,n)}}function s(){return new i.wq(9,(0,r.A)("esri-csp-restrictions")?t=>t:[".minX",".minY",".maxX",".maxY"])}function u(t,e,n,r){return{minX:Math.min(t[e],t[n],t[r]),maxX:Math.max(t[e],t[n],t[r]),minY:Math.min(t[e+1],t[n+1],t[r+1]),maxY:Math.max(t[e+1],t[n+1],t[r+1]),p0:[t[e],t[e+1],t[e+2]],p1:[t[n],t[n+1],t[n+2]],p2:[t[r],t[r+1],t[r+2]]}}},40876(t,e,n){n.d(e,{Eq:()=>p,G1:()=>m,TS:()=>o,Tf:()=>M,V6:()=>i,Vm:()=>d,ay:()=>s,c1:()=>g,c4:()=>a,j5:()=>u,lT:()=>f,oW:()=>c,xV:()=>w});const r={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function i(t){return!!r[t]||!!r[t.toLowerCase()]}function o(t){return r[t]??r[t.toLowerCase()]}function a(t){return[...o(t)]}function l(t,e,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?t+(e-t)*r:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function s(t,e,n,r=1){const i=(t%360+360)%360/360,o=n<=.5?n*(e+1):n+e-n*e,a=2*n-o;return[Math.round(255*l(a,o,i+1/3)),Math.round(255*l(a,o,i)),Math.round(255*l(a,o,i-1/3)),r]}function u(t){const e=t.length>5,n=e?8:4,r=(1<<n)-1,i=e?1:17,o=e?9===t.length:5===t.length;let a=Number("0x"+t.slice(1));if(isNaN(a))return null;const l=[0,0,0,1];let s;return o&&(s=a&r,a>>=n,l[3]=i*s/255),s=a&r,a>>=n,l[2]=i*s,s=a&r,a>>=n,l[1]=i*s,s=a&r,a>>=n,l[0]=i*s,l}function c(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),n=parseInt(t.slice(2,3),16),r=parseInt(t.slice(3,4),16),i=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,n+16*n,r+16*r,(i+16*i)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function f(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),n=e[1];if("rgb"===n&&3===t.length||"rgba"===n&&4===t.length){if(t[0].endsWith("%")){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),h(e)}return h(t.map(t=>parseFloat(t)))}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return s(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function h(t){return t[0]=g(t[0]),t[1]=g(t[1]),t[2]=g(t[2]),t[3]=4===t.length?m(t[3]):1,t}function p(t){let e=i(t)?o(t):null;return e??=f(t),e??=c(t),e}function d(t){const e=p(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function m(t){return y(t,0,1)}function g(t){return Math.round(y(t,0,255))}function y(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}const M=2.2,x=1/M;function w(t){return t**x}},48163(t,e,n){function r(){return[0,0]}function i(t){return[t[0],t[1]]}function o(t,e){return[t,e]}function a(t,e=[0,0]){const n=Math.min(2,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function l(){return o(1,1)}function s(){return o(1,0)}function u(){return o(0,1)}n.d(e,{Un:()=>c,ci:()=>a,fA:()=>o,o8:()=>i,vt:()=>r});const c=l(),f=s(),h=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:c,UNIT_X:f,UNIT_Y:h,ZEROS:[0,0],clone:i,create:r,freeze:function(t,e){return[t,e]},fromArray:a,fromValues:o,ones:l,unitX:s,unitY:u,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},48353(t,e,n){n.d(e,{l:()=>u});var r=n(34727),i=n(58083),o=n(51850);function a(t,e,n){const r=Math.sin(t),i=Math.cos(t),o=Math.sin(e),a=Math.cos(e),l=n;return l[0]=-r,l[4]=-o*i,l[8]=a*i,l[12]=0,l[1]=i,l[5]=-o*r,l[9]=a*r,l[13]=0,l[2]=0,l[6]=a,l[10]=o,l[14]=0,l[3]=0,l[7]=0,l[11]=0,l[15]=1,l}var l=n(49208),s=n(21325);function u(t,e,n,r){const o=(0,l.Tp)(t,r);if(null==o)return!1;const u=o.source.spatialReferenceId,d=o.dest.spatialReferenceId;if(u===d&&!c(d)&&(0!==u||(0,s.aI)(t,r)))return(0,i.kN)(n,e),!0;if(c(d)){const t=l.w5[u][10],r=l.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),a(f*h[0],f*h[1],n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}const m=c(u);if((3===d||11===d||2===d||5===d)&&(2===u||m||3===u||5===u)){const t=l.w5[u][10],r=l.w5[10][d];return null!=t&&null!=r&&(t(e,0,h,0),r(h,0,p,0),m?function(t,e,n){a(t,e,n),(0,i.mg)(n,n)}(f*h[0],f*h[1],n):(0,i.D_)(n),n[12]=p[0],n[13]=p[1],n[14]=p[2],!0)}return!1}function c(t){return 1===t||6===t||8===t||4===t}const f=(0,r.kU)(1),h=(0,o.vt)(),p=(0,o.vt)()},49208(t,e,n){n.d(e,{Tp:()=>f,jd:()=>c,pO:()=>p,w5:()=>u});var r=n(34727),i=n(86211),o=n(73941),a=n(79258),l=n(34403),s=n(21325);const u={2:{5:p,7:null,9:null,10:p,1:v,6:null,8:null,0:null,3:m,11:g,2:p,4:S},5:{5:p,7:null,9:null,10:p,1:v,6:null,8:null,0:null,3:m,11:g,2:p,4:S},7:{5:null,7:p,9:null,10:p,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:p,10:p,1:null,6:null,8:x,0:null,3:null,11:null,2:null,4:null},3:{5:d,7:null,9:null,10:d,1:function(t,e,n,r){const i=t[e]/I,o=O-2*Math.atan(Math.exp(-t[e+1]/I)),a=I+(t[e+2]??0),l=Math.cos(o)*a;n[r]=Math.cos(i)*l,n[r+1]=Math.sin(i)*l,n[r+2]=Math.sin(o)*a},6:null,8:null,0:null,3:p,11:function(t,e,n,r){d(t,e,n,r),g(n,r,n,r)},2:d,4:function(t,e,n,r){d(t,e,n,r),S(n,r,n,r)}},4:{5:j,7:null,9:null,10:j,1:function(t,e,n,r){j(t,e,n,r),v(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){j(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){j(t,e,n,r),g(n,r,n,r)},2:j,4:p},1:{5:R,7:null,9:null,10:R,1:p,6:null,8:null,0:null,3:function(t,e,n,r){R(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){R(t,e,n,r),g(n,r,n,r)},2:R,4:function(t,e,n,r){R(t,e,n,r),S(n,r,n,r)}},6:{5:null,7:_,9:null,10:_,1:null,6:p,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:A,10:A,1:null,6:null,8:p,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:p,3:null,11:null,2:null,4:null},10:{5:p,7:p,9:p,10:p,1:v,6:w,8:x,0:null,3:m,11:g,2:p,4:S},11:{5:y,7:null,9:null,10:y,1:function(t,e,n,r){y(t,e,n,r),v(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){y(t,e,n,r),m(n,r,n,r)},11:p,2:y,4:function(t,e,n,r){y(t,e,n,r),S(n,r,n,r)}}};function c(t,e){return f(t,e)?.projector}function f(t,e){if(null==t||null==e)return null;if(k.source.spatialReference===t&&k.dest.spatialReference===e)return k;const n=h(t,k.source),r=h(e,k.dest);return 0===n&&0===r?(0,s.aI)(t,e)?k.projector=p:k.projector=null:k.projector=u[n][r],k}function h(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,i.GA)(t,1)),(0,o.jA)(t)?e.spatialReferenceId=1:(0,s.oT)(t)?e.spatialReferenceId=2:(0,s.K8)(t)?e.spatialReferenceId=3:(0,s.r1)(t)?e.spatialReferenceId=11:t.wkt===o.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===o.FY.wkt?e.spatialReferenceId=6:t.wkt===o.LJ.wkt?e.spatialReferenceId=8:(0,o.q8)(t)?e.spatialReferenceId=7:(0,o.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function p(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e]??0)}function d(t,e,n,r){n[r]=C*(t[e]/I),n[r+1]=C*(O-2*Math.atan(Math.exp(-t[e+1]/I))),n[r+2]=t[e+2]??0}function m(t,e,n,i){!function(t,e,n,i,o){const a=.4999999*Math.PI,l=(0,r.qE)(B*t[e+1],-a,a),s=Math.sin(l);n[i++]=B*t[e]*o.radius,n[i++]=o.halfSemiMajorAxis*Math.log((1+s)/(1-s)),n[i]=t[e+2]??0}(t,e,n,i,a.$O)}function g(t,e,n,r){n[r]=t[e]*T,n[r+1]=t[e+1]*T,n[r+2]=t[e+2]??0}function y(t,e,n,r){n[r]=t[e]*z,n[r+1]=t[e+1]*z,n[r+2]=t[e+2]??0}function M(t,e,n,r,i){const o=i+(t[e+2]??0),a=B*t[e],l=B*t[e+1],s=Math.cos(l)*o;n[r]=Math.cos(a)*s,n[r+1]=Math.sin(a)*s,n[r+2]=Math.sin(l)*o}function x(t,e,n,r){M(t,e,n,r,a.Sw.radius)}function w(t,e,n,r){M(t,e,n,r,a.sH.radius)}function v(t,e,n,r){M(t,e,n,r,a.$O.radius)}function b(t,e,n,i,o){const a=t[e],l=t[e+1],s=t[e+2]??0,u=Math.sqrt(a*a+l*l+s*s),c=(0,r.YN)(s/(0===u?1:u)),f=Math.atan2(l,a);n[i++]=C*f,n[i++]=C*c,n[i]=u-o}function A(t,e,n,r){b(t,e,n,r,a.Sw.radius)}function _(t,e,n,r){b(t,e,n,r,a.sH.radius)}function R(t,e,n,r){b(t,e,n,r,a.$O.radius)}function S(t,e,n,r){!function(t,e,n,r,i){const o=B*t[e],a=B*t[e+1],l=t[e+2]??0,s=Math.sin(a),u=Math.cos(a),c=i.radius/Math.sqrt(1-i.eccentricitySquared*s*s);n[r++]=(c+l)*u*Math.cos(o),n[r++]=(c+l)*u*Math.sin(o),n[r++]=(c*(1-i.eccentricitySquared)+l)*s}(t,e,n,r,a.$O)}function j(t,e,n,r){const i=l.TP,o=t[e],s=t[e+1],u=t[e+2]??0;let c,f,h,p,d,m,g,y,M,x,w,v,b,A,_,R,S,j,k,B,O;c=Math.abs(u),f=o*o+s*s,h=Math.sqrt(f),p=f+u*u,d=Math.sqrt(p),B=Math.atan2(s,o),m=u*u/p,g=f/p,A=i.a2/d,_=i.a3-i.a4/d,g>.3?(y=c/d*(1+g*(i.a1+A+m*_)/d),k=Math.asin(y),x=y*y,M=Math.sqrt(1-x)):(M=h/d*(1-m*(i.a5-A-g*_)/d),k=Math.acos(M),x=1-M*M,y=Math.sqrt(x)),w=1-a.$O.eccentricitySquared*x,v=a.$O.radius/Math.sqrt(w),b=i.a6*v,A=h-v*M,_=c-b*y,S=M*A+y*_,R=M*_-y*A,j=R/(b/w+S),k+=j,O=S+R*j/2,u<0&&(k=-k),n[r++]=C*B,n[r++]=C*k,n[r]=O}const k={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:p},B=(0,r.kU)(1),C=(0,r.KJ)(1),O=.5*Math.PI,I=a.$O.radius,T=I*Math.PI/180,z=180/(I*Math.PI)},51850(t,e,n){function r(){return[0,0,0]}function i(t){return[t[0],t[1],t[2]]}function o(t,e,n){return[t,e,n]}function a(t,e,n){return[t,e,n]}function l(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function s(){return o(1,1,1)}function u(){return o(1,0,0)}function c(){return o(0,1,0)}function f(){return o(0,0,1)}n.d(e,{CN:()=>a,Cb:()=>g,Cw:()=>d,JP:()=>m,Un:()=>p,ci:()=>l,fA:()=>o,o8:()=>i,uY:()=>h,vt:()=>r});const h=[0,0,0],p=s(),d=u(),m=c(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:p,UNIT_X:d,UNIT_Y:m,UNIT_Z:g,ZEROS:h,clone:i,create:r,freeze:a,fromArray:l,fromValues:o,ones:s,unitX:u,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},65806(t,e,n){n.d(e,{g:()=>a});var r=n(51850),i=n(91218),o=n(9762);function a(t,e,n,r){if((0,i.canProjectWithoutEngine)(t.spatialReference,n))return l[0]=t.x,l[1]=t.y,l[2]=t.z??0,(0,o.projectBuffer)(l,t.spatialReference,0,e,n,0);const a=(0,i.tryProject)(t,n,r);return!!a&&(e[0]=a.x,e[1]=a.y,e[2]=a.z??0,!0)}const l=(0,r.vt)()},69540(t,e,n){n.d(e,{OU:()=>c,Pw:()=>f});var r=n(5482),i=n(69622),o=(n(44208),n(4718)),a=(n(53966),n(97768)),l=n(88620),s=n(64108);const u=Symbol("ClonableMixin"),c=t=>{var e;const n=t;let i=class extends n{constructor(){super(...arguments),this[e]=!0}static{e=u}clone(t){const e=(0,l.oY)(this);(0,a.Lw)(e,"unable to clone instance of non-accessor class");const n=e.metadata,r=e.store,i={},s=new Map;for(const e in n){const a=n[e],l=r?.originOf(e),u=a.clonable;if(a.readOnly||!1===u||7!==l&&0!==l&&5!==l&&4!==l)continue;const c=this[e];let f=null;if("function"==typeof u)f=u(c,t);else if("reference"===u)f=c;else if(f=(0,o.TU)(c,t),null!=c&&null==f)continue;0===l?s.set(e,f):i[e]=f}const u=new(0,Object.getPrototypeOf(this).constructor)(i);if(s.size){const t=(0,l.oY)(u)?.store;if(t)for(const[e,n]of s)t.set(e,n,0)}return u}};return i=(0,r.Cg)([(0,s.$)("esri.core.Clonable")],i),i},f=c(i.A)},72258(t,e,n){n.d(e,{UR:()=>v,p5:()=>w,xK:()=>j});var r=n(53966),i=n(34727),o=n(86211),a=n(77690),l=n(29242),s=n(58083),u=n(9093),c=n(35522),f=n(51850),h=n(73941),p=n(98764),d=n(48353),m=n(65806),g=n(27615),y=n(73354),M=n(22141);const x=()=>r.A.getLogger("esri.geometry.support.meshUtils.vertexSpaceConversion");function w(t,e,{vertexSpace:n,spatialReference:r}){if("georeferenced"===n.type){const i=t;if(!(0,m.g)(e,i,r))return!1;const{origin:o}=n;return(0,c.Re)(t,i,o),!0}const i=(0,p.lO)(r),o=t;if(!(0,m.g)(e,o,i))return!1;const{origin:a}=n,l=I;if(!(0,d.l)(r,a,l,i))return!1;const u=(0,s.B8)(I,l);return null!=u&&((0,c.Z0)(t,o,u),!0)}function v(t,e,n){const{vertexSpace:r,transform:i,vertexAttributes:o}=t,l=(0,g.Hq)(r)?i:null,f=R(t.spatialReference,n,3);if((0,g.yJ)(r,e)&&(!l||(0,s.t2)(l.localMatrix,u.zK))&&S(f)){const{position:t,normal:e,tangent:r}=o,i=n?.allowBufferReuse;return{position:i?t:t.slice(),normal:i?e:e?.slice(),tangent:i?r:r?.slice()}}switch(t.vertexSpace.type){case"local":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},i,o){const a=b(e,o);if(!(0,d.l)(e,r,k,a))return(0,M.CN)(x(),e,a),null;if(n&&(0,s.lw)(k,k,n.localMatrix),!(0,d.l)(e,i,B,a))return(0,M.CN)(x(),a,e),null;(0,s.B8)(B,B);const l=(0,s.lw)(k,B,k);return _(l,e,o,3),A(t,l)}(t,t.vertexSpace,e.origin,n):function({spatialReference:t,vertexAttributes:e,transform:n},{origin:r},i,o){const a=b(t,o);if(!(0,d.l)(t,r,k,a))return(0,M.CN)(x(),t,a),null;n&&(0,s.lw)(k,k,n.localMatrix),_(k,t,o,1);const l=new Float64Array(e.position.length),u=function(t,e,n,r,i){(0,y.t)(r,t,e);const o=new Float64Array(t.length);return(0,M.$5)(r,i,o,n)?o:((0,M.CN)(x(),i,n),null)}(e.position,k,t,l,a);if(!u)return null;const f=function(t,e,n,r,i,o){if(null==i)return null;const a=new Float32Array(i.length);return(0,M.qs)(i,a,o),(0,M.si)(a,t,e,n,r,a)?a:((0,M.CN)(x(),r,e),null)}(u,t,l,a,e.normal,k);if(e.normal&&!f)return null;const h=function(t,e,n,r,i,o){if(null==i)return null;const a=new Float32Array(i.length);return(0,M.KM)(i,a,o),(0,M.Mv)(a,t,e,n,r,a)?a:((0,M.CN)(x(),r,e),null)}(u,t,l,a,e.tangent,k);if(e.tangent&&!h)return null;if(i){const t=(0,c.ze)(O,i);(0,y.a)(u,u,t)}return{position:u,normal:f,tangent:h}}(t,t.vertexSpace,e.origin,n);case"georeferenced":return"local"===e.type?function({vertexAttributes:t,spatialReference:e,transform:n},{origin:r},i,o){const l=b(e,o);if(!(0,d.l)(e,i,k,l))return(0,M.CN)(x(),e,l),null;const u=1/R(e,o,2);(0,s.hs)(k,k,[u,u,u]);const c=(0,s.B8)(B,k),{position:f,normal:h,tangent:p}=function(t,e,n){if(!e)return t;if(!n){const{position:n,normal:r,tangent:i}=t;return{position:(0,y.a)(new Float64Array(n.length),n,e),tangent:i,normal:r}}const r=A(t,n.localMatrix);return(0,y.a)(r.position,r.position,e),r}(t,r,n),m=new Float64Array(f.length),g=function(t,e,n,r,i){const o=(0,M.gr)(t,e,r,i);if(!o)return(0,M.CN)(x(),e,i),null;const a=new Float64Array(o.length);return(0,y.t)(a,o,n),a}(f,e,c,m,l);if(!g)return null;const w=(0,a.Ge)(C,c),v=function(t,e,n,r,i,o,a){if(null==t)return null;const l=a??new Float32Array(t.length);return(0,M.X4)(t,e,n,r,i,l)?((0,y.b)(l,l,o),l):((0,M.CN)(x(),n,i),null)}(h,f,e,m,l,w,h!==t.normal?h:void 0);if(!v&&h)return null;const _=function(t,e,n,r,i,o,a){if(null==t)return null;const l=a??new Float32Array(t.length);return(0,M.xA)(t,e,n,r,i,l)?((0,y.b)(l,l,o,4),l):((0,M.CN)(x(),n,i),null)}(p,f,e,m,l,w,p!==t.tangent?p:void 0);return!_&&p?null:{position:g,normal:v,tangent:_}}(t,t.vertexSpace,e.origin,n):function({vertexAttributes:t,transform:e,spatialReference:n},{origin:r},i,o){const a=R(n,o,3),l=r||!S(a)?(0,s.C)(k,e?.localMatrix??u.zK):null;l&&_(l,n,o,3);const{position:f,normal:h,tangent:p}=l?A(t,l):t,d=o?.allowBufferReuse,m=d?f:new Float64Array(f.length);let g=f;if(r&&(g=(0,y.a)(m,g,r)),i){const t=(0,c.ze)(O,i);g=(0,y.a)(m,g,t)}return{position:g!==t.position||d?g:g.slice(),normal:h!==t.normal||d?h:h?.slice(),tangent:p!==t.tangent||d?p:p?.slice()}}(t,t.vertexSpace,e.origin,n)}}function b(t,e){return e?.useEllipsoid&&(0,h.B3)(t)?p.Y0:(0,p.lO)(t)}function A(t,e){const n=new Float64Array(t.position.length);(0,y.t)(n,t.position,e);const r=t.normal?new Float32Array(t.normal.length):null,i=t.tangent?new Float32Array(t.tangent.length):null;return r&&t.normal&&(0,M.qs)(t.normal,r,e),i&&t.tangent&&(0,M.KM)(t.tangent,i,e),{position:n,normal:r,tangent:i}}function _(t,e,n,r){const i=R(e,n,r);S(i)||(0,s.hs)(t,t,[i,i,i])}function R(t,e,n){const r=!!(1&n),i=!!(2&n),o=e?.sourceUnit,a=e?.targetUnit;if(!o&&!a)return 1;let l=j(o,t);r||!o||S(l)||(x().warn("source unit conversion not supported"),l=1);let s=1/j(a,t);return i||!a||S(s)||(x().warn("target unit conversion not supported"),s=1),l*s}function S(t){return(0,i.Io)(t,1)}function j(t,e){if(null==t)return 1;const n=(0,o.KX)(e);return 1/(0,o.oU)(n,"meters",t)}const k=(0,u.vt)(),B=(0,u.vt)(),C=(0,l.vt)(),O=(0,f.vt)(),I=(0,u.vt)()},73354(t,e,n){n.d(e,{a:()=>f,b:()=>l,c:()=>a,d:()=>i,e:()=>h,f:()=>c,l:()=>u,n:()=>p,t:()=>o});var r=n(40876);function i(t,e,n){o(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function o(t,e,n,r=3,i=r){if(t.length/r!==Math.ceil(e.length/i))return t;const o=t.length/r,a=n[0],l=n[1],s=n[2],u=n[4],c=n[5],f=n[6],h=n[8],p=n[9],d=n[10],m=n[12],g=n[13],y=n[14];let M=0,x=0;for(let n=0;n<o;n++){const n=e[M],o=e[M+1],w=e[M+2];t[x]=a*n+u*o+h*w+m,t[x+1]=l*n+c*o+p*w+g,t[x+2]=s*n+f*o+d*w+y,M+=i,x+=r}return t}function a(t,e,n){l(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)}function l(t,e,n,r=3,i=r){if(t.length/r!==Math.ceil(e.length/i))return;const o=t.length/r,a=n[0],l=n[1],s=n[2],u=n[3],c=n[4],f=n[5],h=n[6],p=n[7],d=n[8];let m=0,g=0;for(let n=0;n<o;n++){const n=e[m],o=e[m+1],y=e[m+2];t[g]=a*n+u*o+h*y,t[g+1]=l*n+c*o+p*y,t[g+2]=s*n+f*o+d*y,m+=i,g+=r}}function s(t,e,n,r=3,i=r){const o=Math.min(t.length/r,e.length/i);let a=0,l=0;for(let s=0;s<o;s++)t[l]=n*e[a],t[l+1]=n*e[a+1],t[l+2]=n*e[a+2],a+=i,l+=r;return t}function u(t,e,n,r){c(t.typedBuffer,e.typedBuffer,n,r,t.typedBufferStride,e.typedBufferStride)}function c(t,e,n,i,o=3,a=o){const l=Math.min(t.length/o,e.length/a);let s=0,u=0;const c=1/r.Tf;for(let r=0;r<l;r++)t[u]=i*(n*e[s])**c,t[u+1]=i*(n*e[s+1])**c,t[u+2]=i*(n*e[s+2])**c,s+=a,u+=o}function f(t,e,n,r=3,i=r){const o=t.length/r;if(o!==Math.ceil(e.length/i))return t;let a=0,l=0;for(let s=0;s<o;s++)t[l]=e[a]+n[0],t[l+1]=e[a+1]+n[1],t[l+2]=e[a+2]+n[2],a+=i,l+=r;return t}function h(t,e){p(t.typedBuffer,e.typedBuffer,t.typedBufferStride,e.typedBufferStride)}function p(t,e,n=3,r=n){const i=Math.min(t.length/n,e.length/r);let o=0,a=0;for(let l=0;l<i;l++){const i=e[o],l=e[o+1],s=e[o+2],u=i*i+l*l+s*s;if(u>0){const e=1/Math.sqrt(u);t[a]=e*i,t[a+1]=e*l,t[a+2]=e*s}o+=r,a+=n}}n(44208),n(53966),Object.freeze(Object.defineProperty({__proto__:null,linearToSRGB:c,linearToSRGBView:u,normalize:p,normalizeView:h,scale:s,scaleView:function(t,e,n){s(t.typedBuffer,e.typedBuffer,n,t.typedBufferStride,e.typedBufferStride)},shiftRight:function(t,e,n){const r=Math.min(t.count,e.count),i=t.typedBuffer,o=t.typedBufferStride,a=e.typedBuffer,l=e.typedBufferStride;let s=0,u=0;for(let t=0;t<r;t++)i[u]=a[s]>>n,i[u+1]=a[s+1]>>n,i[u+2]=a[s+2]>>n,s+=l,u+=o},transformMat3:l,transformMat3View:a,transformMat4:o,transformMat4View:i,translate:f},Symbol.toStringTag,{value:"Module"}))},75503(t,e,n){n.d(e,{wq:()=>l});var r=n(4576),i=n(21818),o=(n(44208),n(15142)),a=n(11006);class l{constructor(t=9,e){this._compareMinX=h,this._compareMinY=p,this._toBBox=t=>t,this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&("function"==typeof e?this._toBBox=e:this._initFormat(e)),this.clear()}destroy(){this.clear(),v.prune(),b.prune(),A.prune(),_.prune()}all(t){s(this._data,t)}search(t,e){let n=this._data;const r=this._toBBox;if(x(t,n))for(v.clear();n;){for(let i=0,o=n.children.length;i<o;i++){const o=n.children[i],a=n.leaf?r(o):o;x(t,a)&&(n.leaf?e(o):M(t,a)?s(o,e):v.push(o))}n=v.pop()}}collides(t){let e=this._data;const n=this._toBBox;if(!x(t,e))return!1;for(v.clear();e;){for(let r=0,i=e.children.length;r<i;r++){const i=e.children[r],o=e.leaf?n(i):i;if(x(t,o)){if(e.leaf||M(t,o))return!0;v.push(i)}}e=v.pop()}return!1}load(t){if(!t.length)return this;if(t.length<this._minEntries){for(let e=0,n=t.length;e<n;e++)this.insert(t[e]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(this._data.children.length)if(this._data.height===e.height)this._splitRoot(this._data,e);else{if(this._data.height<e.height){const t=this._data;this._data=e,e=t}this._insert(e,this._data.height-e.height-1,!0)}else this._data=e;return this}insert(t){return t&&this._insert(t,this._data.height-1),this}clear(){return this._data=new j([]),this}remove(t){if(!t)return this;let e,n=this._data,o=null,a=0,l=!1;const s=this._toBBox(t);for(A.clear(),_.clear();n||A.length>0;){if(n||(n=A.pop(),o=A.data[A.length-1],a=_.pop()??0,l=!0),n.leaf&&(e=(0,r.qh)(n.children,(0,i.z)(t),n.children.length,n.indexHint),-1!==e))return n.children.splice(e,1),A.push(n),this._condense(A),this;l||n.leaf||!M(n,s)?o?(a++,n=o.children[a],l=!1):n=null:(A.push(n),_.push(a),a=0,o=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(t){return this._data=t,this}_build(t,e,n,r){const i=n-e+1;let o=this._maxEntries;if(i<=o){const r=new j(t.slice(e,n+1));return u(r,this._toBBox),r}r||(r=Math.ceil(Math.log(i)/Math.log(o)),o=Math.ceil(i/o**(r-1)));const a=new k([]);a.height=r;const l=Math.ceil(i/o),s=l*Math.ceil(Math.sqrt(o));w(t,e,n,s,this._compareMinX);for(let i=e;i<=n;i+=s){const e=Math.min(i+s-1,n);w(t,i,e,l,this._compareMinY);for(let n=i;n<=e;n+=l){const i=Math.min(n+l-1,e);a.children.push(this._build(t,n,i,r-1))}}return u(a,this._toBBox),a}_insert(t,e,n){const r=this._toBBox,i=n?t:r(t);A.clear();const o=function(t,e,n,r){for(;r.push(e),!0!==e.leaf&&r.length-1!==n;){let n,r=1/0,i=1/0;for(let o=0,a=e.children.length;o<a;o++){const a=e.children[o],l=d(a),s=g(t,a)-l;s<i?(i=s,r=l<r?l:r,n=a):s===i&&l<r&&(r=l,n=a)}e=n||e.children[0]}return e}(i,this._data,e,A);for(o.children.push(t),f(o,i);e>=0&&A.data[e].children.length>this._maxEntries;)this._split(A,e),e--;!function(t,e,n){for(let r=n;r>=0;r--)f(e.data[r],t)}(i,A,e)}_split(t,e){const n=t.data[e],r=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,r);const o=this._chooseSplitIndex(n,i,r);if(!o)return;const a=n.children.splice(o,n.children.length-o),l=n.leaf?new j(a):new k(a);l.height=n.height,u(n,this._toBBox),u(l,this._toBBox),e?t.data[e-1].children.push(l):this._splitRoot(n,l)}_splitRoot(t,e){this._data=new k([t,e]),this._data.height=t.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(t,e,n){let r,i,o;r=i=1/0;for(let a=e;a<=n-e;a++){const e=c(t,0,a,this._toBBox),l=c(t,a,n,this._toBBox),s=y(e,l),u=d(e)+d(l);s<r?(r=s,o=a,i=u<i?u:i):s===r&&u<i&&(i=u,o=a)}return o}_chooseSplitAxis(t,e,n){const r=t.leaf?this._compareMinX:h,i=t.leaf?this._compareMinY:p;this._allDistMargin(t,e,n,r)<this._allDistMargin(t,e,n,i)&&t.children.sort(r)}_allDistMargin(t,e,n,r){t.children.sort(r);const i=this._toBBox,o=c(t,0,e,i),a=c(t,n-e,n,i);let l=m(o)+m(a);for(let r=e;r<n-e;r++){const e=t.children[r];f(o,t.leaf?i(e):e),l+=m(o)}for(let r=n-e-1;r>=e;r--){const e=t.children[r];f(a,t.leaf?i(e):e),l+=m(a)}return l}_condense(t){for(let e=t.length-1;e>=0;e--){const n=t.data[e];if(0===n.children.length)if(e>0){const i=t.data[e-1],o=i.children;o.splice((0,r.qh)(o,n,o.length,i.indexHint),1)}else this.clear();else u(n,this._toBBox)}}_initFormat(t){const e=["return a"," - b",";"];this._compareMinX=new Function("a","b",e.join(t[0])),this._compareMinY=new Function("a","b",e.join(t[1])),this._toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}function s(t,e){let n=t;for(b.clear();n;){if(!0===n.leaf)for(const t of n.children)e((0,i.z)(t));else b.pushArray(n.children);n=b.pop()??null}}function u(t,e){c(t,0,t.children.length,e,t)}function c(t,e,n,r,i){i||(i=new j([])),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(let o,a=e;a<n;a++)o=t.children[a],f(i,t.leaf?r(o):o);return i}function f(t,e){t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY)}function h(t,e){return t.minX-e.minX}function p(t,e){return t.minY-e.minY}function d(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function m(t){return t.maxX-t.minX+(t.maxY-t.minY)}function g(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function y(t,e){const n=Math.max(t.minX,e.minX),r=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),o=Math.min(t.maxY,e.maxY);return Math.max(0,i-n)*Math.max(0,o-r)}function M(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function x(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function w(t,e,n,r,i){const o=[e,n];for(;o.length;){const e=o.pop(),n=o.pop();if(e-n<=r)continue;const l=n+Math.ceil((e-n)/r/2)*r;(0,a.q)(t,l,n,e,i),o.push(n,l,l,e)}}const v=new o.A,b=new o.A,A=new o.A,_=new o.A({deallocator:void 0});class R{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class S extends R{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class j extends S{constructor(t){super(),this.children=t,this.leaf=!0}}class k extends S{constructor(t){super(),this.children=t,this.leaf=!1}}},86738(t,e,n){n.d(e,{A:()=>x});var r=n(5482),i=n(69622),o=n(53966),a=n(91429),l=n(56507),s=n(91075),u=n(16930),c=n(21325),f=n(28735);function h({x:t,y:e,spatialReference:n},r=[0,0]){if(n){if((0,c.K8)(n))return(0,f.tD)(t,e,r);if((0,c.EA)(n))return r[0]=t,r[1]=e,r}return null}const p=[0,0];var d,m=n(43937),g=n(36005);const y=[0,0];function M(t){return t&&("esri.geometry.SpatialReference"===t.declaredClass||null!=t.wkid)}let x=d=class extends s.A{static copy(t,e){e._set("x",t._get("x")),e._set("y",t._get("y")),e._set("z",t._get("z")),e._set("m",t._get("m"));const n=t._get("spatialReference");e._set("spatialReference",i.A.isFrozen(n)?n:n.clone())}constructor(...t){super(...t),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}normalizeCtorArgs(t,e,n,r,i){let a;if(Array.isArray(t))a=t,i=e,t=a[0],e=a[1],n=a[2],r=a[3];else if(t&&"object"==typeof t){if(a=t,t=null!=a.x?a.x:a.longitude,e=null!=a.y?a.y:a.latitude,n=a.z,r=a.m,(i=a.spatialReference)&&"esri.geometry.SpatialReference"!==i.declaredClass&&(i=new u.A(i)),null!=a.longitude||null!=a.latitude)if(null==a.longitude)o.A.getLogger(this).warn(".longitude=","Latitude was defined without longitude");else if(null==a.latitude)o.A.getLogger(this).warn(".latitude=","Longitude was defined without latitude");else if(!a.declaredClass&&i?.isWebMercator){const n=(0,f.je)(a.longitude,a.latitude,y);t=n[0],e=n[1]}}else M(n)?(i=n,n=null):M(r)&&(i=r,r=null);const l={x:t,y:e};return null==l.x&&null!=l.y?o.A.getLogger(this).warn(".y=","Y coordinate was defined without an X coordinate"):null==l.y&&null!=l.x&&o.A.getLogger(this).warn(".x=","X coordinate was defined without a Y coordinate"),null!=i&&(l.spatialReference=i),null!=n&&(l.z=n),null!=r&&(l.m=r),l}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(t){t!==(void 0!==this._get("m"))&&(this._set("m",t?0:void 0),this._set("hasM",t))}get hasZ(){return void 0!==this.z}set hasZ(t){t!==(void 0!==this._get("z"))&&(this._set("z",t?0:void 0),this._set("hasZ",t))}get latitude(){return h(this,p)?.[1]??null}set latitude(t){const{spatialReference:e,x:n}=this;null!=t&&e&&(e.isWebMercator?this._set("y",(0,f.je)(n,t,y)[1]):e.isGeographic&&this._set("y",t),this._set("latitude",t))}get longitude(){return h(this,p)?.[0]??null}set longitude(t){const{y:e,spatialReference:n}=this;null!=t&&n&&(n.isWebMercator?this._set("x",(0,f.je)(t,e,y)[0]):n.isGeographic&&this._set("x",t),this._set("longitude",t))}writeX(t,e,n){e[n]=isNaN(t)?"NaN":t}readX(t){return"string"==typeof t?NaN:t}clone(){const t=new d;return t.x=this.x,t.y=this.y,t.z=this.z,t.m=this.m,t.spatialReference=this.spatialReference,t}copy(t){return d.copy(t,this),this}equals(t){if(null==t)return!1;const{x:e,y:n,z:r,m:i,spatialReference:o}=this,{z:a,m:l}=t;let{x:s,y:u,spatialReference:c}=t;if(!o.equals(c))if(o.isWebMercator&&c.isWGS84)[s,u]=(0,f.je)(s,u),c=o;else{if(!o.isWGS84||!c.isWebMercator)return!1;[s,u]=(0,f.tD)(s,u),c=o}return e===s&&n===u&&r===a&&i===l&&o.wkid===c.wkid}offset(t,e,n){return this.x+=t,this.y+=e,null!=n&&(this.z=(this.z??0)+n),this}normalize(){if(!this.spatialReference)return this;const t=(0,c.Vp)(this.spatialReference);if(!t)return this;let e=this.x;const[n,r]=t.valid,i=2*r;let o;return e>r?(o=Math.ceil(Math.abs(e-r)/i),e-=o*i):e<n&&(o=Math.ceil(Math.abs(e-n)/i),e+=o*i),this._set("x",e),this}distance(t){return function(t,e){const n=t.x-e.x,r=t.y-e.y,i=null!=t.z&&null!=e.z?t.z-e.z:0;return Math.sqrt(n*n+r*r+i*i)}(this,t)}toArray(){const t=this.hasZ,e=this.hasM;return t&&e?[this.x,this.y,this.z,this.m]:t?[this.x,this.y,this.z]:e?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(t){return this.write({},t)}};(0,r.Cg)([(0,a.MZ)({readOnly:!0})],x.prototype,"cache",null),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasM",null),(0,r.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],x.prototype,"hasZ",null),(0,r.Cg)([(0,a.MZ)({type:Number})],x.prototype,"latitude",null),(0,r.Cg)([(0,a.MZ)({type:Number})],x.prototype,"longitude",null),(0,r.Cg)([(0,a.MZ)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,a.wg)(t=>isNaN(t)?t:(0,l.GB)(t))],x.prototype,"x",void 0),(0,r.Cg)([(0,m.K)("x")],x.prototype,"writeX",null),(0,r.Cg)([(0,g.w)("x")],x.prototype,"readX",null),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"y",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],x.prototype,"z",void 0),(0,r.Cg)([(0,a.MZ)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],x.prototype,"m",void 0),x=d=(0,r.Cg)([(0,a.$K)("esri.geometry.Point")],x),x.prototype.toJSON.isDefaultToJSON=!0},91075(t,e,n){n.d(e,{A:()=>s});var r=n(5482),i=n(25482),o=n(91429),a=n(16930),l=n(36005);let s=class extends i.o{constructor(...t){super(...t),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=a.A.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(t,e){if(t instanceof a.A)return t;if(null!=t){const n=new a.A;return n.read(t,e),n}return t}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(t){return this.cache[t]}setCacheValue(t,e){this.cache[t]=e}};(0,r.Cg)([(0,o.MZ)()],s.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],s.prototype,"cache",null),(0,r.Cg)([(0,o.MZ)({readOnly:!0})],s.prototype,"extent",null),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],s.prototype,"hasM",void 0),(0,r.Cg)([(0,o.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],s.prototype,"hasZ",void 0),(0,r.Cg)([(0,o.MZ)({type:a.A,json:{write:!0},value:a.A.WGS84})],s.prototype,"spatialReference",void 0),(0,r.Cg)([(0,l.w)("spatialReference")],s.prototype,"readSpatialReference",null),s=(0,r.Cg)([(0,o.$K)("esri.geometry.Geometry")],s)},91218(t,e,n){n.r(e),n.d(e,{canProjectWithoutEngine:()=>G,initializeProjection:()=>U,isEqualBaseGCS:()=>W,isLoaded:()=>O,isLoadedOrLoad:()=>I,isLoadedOrLoadFor:()=>T,load:()=>N,project:()=>P,projectAsync:()=>$,projectExtent:()=>rt,projectMany:()=>X,projectMultipoint:()=>J,projectOrLoad:()=>q,projectOrLoadMany:()=>E,projectPoint:()=>K,projectPolygon:()=>et,projectPolyline:()=>Q,projectWithoutEngine:()=>D,requiresLoad:()=>z,test:()=>L,tryProject:()=>Y,unload:()=>F});var r=n(49186),i=n(74887),o=n(62788),a=n(95488),l=n(51850),s=n(21276),u=n(73941),c=n(5443),f=n(91075),h=n(48526),p=n(86738),d=n(39829),m=n(82799),g=n(16930),y=n(98764),M=n(159),x=n(9762),w=n(49208);function v(t,e,n,r,i,o){return b[0]=t,b[1]=e,b[2]=n,(0,x.projectBuffer)(b,r,0,i,o,0)}const b=(0,l.vt)();var A=n(21325),_=n(52006);let R=null,S=null,j=null,k=null,B={};const C=new a.I;function O(){return!!(S?.isLoaded()&&j?.isLoaded()&&k?.isLoaded())}function I(){return!!O()||((0,o.gc)(C),N(),!1)}function T(t,e){return!t||!e||G(t,e)||I()}function z(t,e){return!G(t,e)&&!O()}async function N(t){null==R&&(R=Promise.all([n.e(3276).then(n.bind(n,83276)).then(t=>(S=t,S.load())),n.e(8377).then(n.bind(n,8377)).then(t=>(j=t,j.load())),n.e(2158).then(n.bind(n,12158)).then(t=>(k=t,k.load()))])),await R,(0,i.Te)(t),C.notify()}function P(t,e,n){return Array.isArray(t)?0===t.length?[]:((0,s.H)(t),X(t,t[0].spatialReference,e,n)):((0,s.f)(t),X([t],t.spatialReference,e,n)[0])}function X(t,e,n,r){if(null==e||null==n)return t;if(!t.some(t=>(0,_.Ed)(t))&&G(e,n,r))return t.map(t=>D(t,e,n));if(null==r?.geographicTransformation&&(0,u.jA)(e))return X(t.map(t=>D(t,e,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,u.jA)(n))return X(t,e,g.A.WGS84).map(t=>D(t,g.A.WGS84,n));if(!O())throw new Z;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:k.getTransformation(e,n,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const t=function(t,e){return[t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,n);let i=B[t];i||(i=k.getTransformation(e,n)||new M.A,B[t]=i),r={geographicTransformation:i,zConversionDisabled:r?.zConversionDisabled}}return t[0].spatialReference||(t[0].spatialReference=e),t[0]instanceof f.A?S.executeMany(t,n,r):j.executeMany(t,n,r)}function Y(t,e,n){try{return P(t,e,n)}catch(t){return null}}function q(t,e){const n=E([t],e);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function E(t,e,n){if(!O())for(const n of t)if(null!=n&&!(0,A.aI)(n.spatialReference,e)&&(0,A.fn)(n.spatialReference)&&(0,A.fn)(e)&&!G(n.spatialReference,e))return(0,o.gc)(C),{pending:N(),geometries:null};return{pending:null,geometries:t.map(t=>null==t?null:(0,A.aI)(t.spatialReference,e)?t:(0,A.fn)(t.spatialReference)&&(0,A.fn)(e)?P(t,e,n):null)}}class Z extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function F(){R=null,S=null,j=null,k=null,B={}}const L={get loadPromise(){return R}};async function $(t,e,n){if((0,i.Te)(n),!t)return t;const r=E(Array.isArray(t)?t:[t],e,n);if(r.pending)return await r.pending,(0,i.Te)(n),$(t,e,n);const o=r.geometries??[];return Array.isArray(t)?o:o[0]}function G(t,e,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,A.aI)(t,e)||(0,A.fn)(t)&&(0,A.fn)(e)&&!!(0,w.jd)(t,e))}function W(t,e){if((0,A.aI)(t,e))return!0;if(!(0,A.fn)(t)||!(0,A.fn)(e))return!1;const n=(0,A.oT)(t)||(0,A.K8)(t)||(0,A.x1)(t),r=(0,A.oT)(e)||(0,A.K8)(e)||(0,A.x1)(e);return n&&r}async function U(t,e,n,r){if(O())return(0,i.NO)(r);if(Array.isArray(t)){for(const{source:e,dest:n,options:i}of t)if(e&&n&&!G(e,n,i))return N(r)}else if(t&&e&&!G(t,e,n))return N(r);return(0,i.NO)(r)}function D(t,e,n){return t?"x"in t?V(t,e,new p.A,n,0):"xmin"in t?it(t,e,new c.A,n,0):"rings"in t?nt(t,e,new d.A,n,0):"paths"in t?tt(t,e,new m.A,n,0):"points"in t?H(t,e,new h.A,n,0):null:null}function K(t,e,n=e.spatialReference,r=0){return null!=n&&null!=t.spatialReference&&null!=V(t,t.spatialReference,e,n,r)}function V(t,e,n,r,i){lt[0]=t.x,lt[1]=t.y;const o=t.z;return lt[2]=void 0!==o?o:i,(0,x.projectBuffer)(lt,e,0,lt,r,0)?(n.x=lt[0],n.y=lt[1],n.spatialReference=r,void 0!==o||(0,u.xP)(r)?(n.z=lt[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===t.m?(n.m=void 0,n.hasM=!1):(n.m=t.m,n.hasM=!0),n):null}function J(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=H(t,t.spatialReference,e,n,r)}function H(t,e,n,r,i){const{points:o,hasZ:a,hasM:l}=t,s=[],u=o.length,c=[];for(const t of o)c.push(t[0],t[1],a?t[2]:i);if(!(0,x.projectBuffer)(c,e,0,c,r,0,u))return null;const f=at(a,r);for(let t=0;t<u;++t){const e=3*t,n=c[e],r=c[e+1];f&&l?s.push([n,r,c[e+2],o[t][3]]):f?s.push([n,r,c[e+2]]):l?s.push([n,r,o[t][2]]):s.push([n,r])}return n.points=s,n.spatialReference=r,n.hasZ=a,n.hasM=l,n}function Q(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=tt(t,t.spatialReference,e,n,r)}function tt(t,e,n,r,i){const{paths:o,hasZ:a,hasM:l}=t,s=[];if(!ot(o,a??!1,l??!1,e,s,r,i))return null;const u=at(a,r);return n.paths=s,n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function et(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=nt(t,t.spatialReference,e,n,r)}function nt(t,e,n,r,i){const{rings:o,hasZ:a,hasM:l}=t,s=[];if(!ot(o,a??!1,l??!1,e,s,r,i))return null;const u=at(a,r);return n.rings=s,n.spatialReference=r,n.hasZ=u,n.hasM=l,n}function rt(t,e,n=e.spatialReference,r=0){return null!=t.spatialReference&&null!=n&&null!=it(t,t.spatialReference,e,n,r)}function it(t,e,n,r,i){const{xmin:o,ymin:a,xmax:l,ymax:s,hasZ:u,hasM:c}=t;if(!v(o,a,u?t.zmin:i,e,lt,r))return null;const f=at(u,r);return n.xmin=lt[0],n.ymin=lt[1],f&&(n.zmin=lt[2]),v(l,s,u?t.zmax:i,e,lt,r)?(n.xmax=lt[0],n.ymax=lt[1],f&&(n.zmax=lt[2]),c&&(n.mmin=t.mmin,n.mmax=t.mmax),n.spatialReference=r,n):null}function ot(t,e,n,r,i,o,a=0){const l=new Array;for(const n of t)for(const t of n)l.push(t[0],t[1],e?t[2]:a);if(!(0,x.projectBuffer)(l,r,0,l,o,0))return!1;let s=0;i.length=0;const u=at(e,o);for(const e of t){const t=new Array;for(const r of e)u&&n?t.push([l[s++],l[s++],l[s++],r[3]]):u?t.push([l[s++],l[s++],l[s++]]):n?(t.push([l[s++],l[s++],r[2]]),s++):(t.push([l[s++],l[s++]]),s++);i.push(t)}return!0}function at(t,e){return t||(0,u.xP)(e)||(0,A.aI)(e,y.Y0)}const lt=(0,l.vt)()},95488(t,e,n){n.d(e,{I:()=>i});var r=n(11406);class i extends r.T{notify(){const t=this._observers;if(t&&t.length>0){const e=t.slice();for(const t of e)t.onInvalidated(),t.onCommitted()}}}},95696(t,e,n){n.d(e,{A:()=>u});var r,i=n(5482),o=n(69540),a=n(25482),l=n(91429),s=n(93223);let u=class extends((0,o.OU)(a.o)){static{r=this}constructor(t){super(t),this.type="georeferenced",this.origin=null}static{this.absolute=new r}};(0,i.Cg)([(0,s.e)({georeferenced:"georeferenced"},{readOnly:!0})],u.prototype,"type",void 0),(0,i.Cg)([(0,l.MZ)({type:[Number],nonNullable:!1,json:{write:!0}})],u.prototype,"origin",void 0),u=r=(0,i.Cg)([(0,l.$K)("esri.geometry.support.MeshGeoreferencedVertexSpace")],u)},98764(t,e,n){n.d(e,{GD:()=>a,Y0:()=>u,lO:()=>c});var r=n(73941),i=n(16930),o=n(21325);const a=new i.A(r.fv),l=new i.A(r.FY),s=new i.A(r.LJ),u=new i.A(r.Ro);function c(t){const e=f.get(t);if(e)return e;let n=a;if(t)if(t===l)n=l;else if(t===s)n=s;else{const e=t.wkid,r=t.latestWkid;if(null!=e||null!=r)(0,o.tl)(e)||(0,o.tl)(r)?n=l:((0,o.ZL)(e)||(0,o.ZL)(r))&&(n=s);else{const e=t.wkt2??t.wkt;if(e){const t=e.toUpperCase();t===h?n=l:t===p&&(n=s)}}}return f.set(t,n),n}const f=new Map,h=l.wkt.toUpperCase(),p=s.wkt.toUpperCase()},99157(t,e,n){n.d(e,{A:()=>l});var r,i=n(5482),o=n(69622),a=n(91429);let l=r=class extends o.A{constructor(t){super(t),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,i.Cg)([(0,a.MZ)()],l.prototype,"isInverse",void 0),(0,i.Cg)([(0,a.MZ)()],l.prototype,"wkt",void 0),(0,i.Cg)([(0,a.MZ)()],l.prototype,"wkid",void 0),l=r=(0,i.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],l)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[895,3276,6061],{4144(e,n,t){t.d(n,{Hh:()=>u,fz:()=>a,g7:()=>l,s1:()=>s,zo:()=>c});var o=t(76061),i=t(83290);let r;function s(){return!!r&&(0,i.i)()}async function u(){if(!s()){const[e,n]=await Promise.all([Promise.all([t.e(3661),t.e(1878),t.e(8885),t.e(5756),t.e(9192)]).then(t.bind(t,9192)),Promise.all([t.e(3661),t.e(1878),t.e(8885),t.e(5756)]).then(t.bind(t,15756)).then(e=>e.aP).then(({injectPe:e})=>e),(0,i.l)()]);r=new e.OperatorProject,n(i.p)}}function l(e,n){return r.execute(e,n,null)}function c(e,n){const t=r.executeMany(new o.S(e),n,null);return Array.from(t)}function a(){return r.supportsCurves()}},17499(e,n,t){t.d(n,{gw:()=>s});var o=t(49186),i=t(60408),r=t(62815);function s(e,n,t){let o;for(const s of e)if(s&&(0,i.Pv)(s)&&!("vertexAttributes"in s)){if(!o){null==n.vcsWkid&&null==t.vcsWkid||l(n,t);const e="type"in s?s.type:(0,i.$B)(s);if(o=(0,r.N)(e,n,t),!o)return}o(s)}}class u extends o.A{constructor(){super("projection:z-unsupported","projection of z values is unsupported between different vertical coordinate systems")}}function l({vcsWkid:e},{vcsWkid:n}){if((e??null)!==(n??null))throw new u}},60408(e,n,t){function o(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function r(e){return void 0!==e.x&&void 0!==e.y}function s(e){return void 0!==e.paths||void 0!==e.curvePaths}function u(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function c(e){return e?r(e)?"esriGeometryPoint":s(e)?"esriGeometryPolyline":u(e)?"esriGeometryPolygon":o(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function a(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function f(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}t.d(n,{$B:()=>c,Bi:()=>u,Pv:()=>a,Rg:()=>s,U9:()=>i,W0:()=>f,ZC:()=>o,fT:()=>r,uW:()=>l})},61691(e,n,t){t.d(n,{G:()=>o});class o{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}},62815(e,n,t){t.d(n,{N:()=>s,d:()=>u});var o=t(86211),i=t(73941),r=t(21325);function s(e,n,t){const o=u(n,t);if(1!==o)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,n){null!=e?.z&&(e.z*=n)}(e,o);case"polyline":case"esriGeometryPolyline":return e=>function(e,n){if(e)for(const t of e.paths)for(const e of t)e.length>2&&(e[2]*=n)}(e,o);case"polygon":case"esriGeometryPolygon":return e=>function(e,n){if(e)for(const t of e.rings)for(const e of t)e.length>2&&(e[2]*=n)}(e,o);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,n){if(e)for(const t of e.points)t.length>2&&(t[2]*=n)}(e,o);case"extent":case"esriGeometryEnvelope":return e=>function(e,n){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=n,e.zmax*=n)}(e,o);default:return}}function u(e,n){return null==e||null==n||n.vcsWkid||(0,r.aI)(e,n)||(0,i.xP)(e)||(0,i.xP)(n)?1:(0,o.G9)(e)/(0,o.G9)(n)}},76061(e,n,t){t.d(n,{S:()=>i});var o=t(61691);class i extends o.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}}},83276(e,n,t){t.r(n),t.d(n,{execute:()=>d,executeMany:()=>h,isLoaded:()=>f,load:()=>m,supportsCurves:()=>a});var o=t(4144),i=t(17499);let r,s,u,l,c,a;function f(){return!!r&&(0,o.s1)()}async function m(){if(!f()){const[e,n]=await Promise.all([Promise.all([t.e(3661),t.e(1878),t.e(8885),t.e(5756),t.e(3299),t.e(1666)]).then(t.bind(t,78125)),Promise.all([t.e(3661),t.e(1878),t.e(8885),t.e(5756),t.e(6129)]).then(t.bind(t,86129)),(0,o.Hh)()]);r=e.fromGeometry,s=e.fromSpatialReference,u=e.getSpatialReference,l=e.toGeometry,c=n.createProjectionTransformation,a=(0,o.fz)()}}function d(e,n,t){const a=u(e),f=c(s(a),s(n),t),m=l((0,o.g7)(r(e),f),n);return!t?.zConversionDisabled&&m?.hasZ&&(0,i.gw)([m],a,n),m}function h(e,n,t){const a=e.map(r),f=u(e),m=c(s(f),s(n),t),d=(0,o.zo)(a,m).map(e=>l(e,n));return!t?.zConversionDisabled&&d&&(0,i.gw)(d,f,n),d}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4347],{159(e,t,i){i.d(t,{A:()=>l});var n,s=i(5482),r=i(69622),a=i(91429),o=i(99157);let l=n=class extends r.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const i=this.steps[t];e.steps.push(i.getInverse())}return e}};(0,s.Cg)([(0,a.MZ)({type:[o.A],nonNullable:!0})],l.prototype,"steps",void 0),l=n=(0,s.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},5834(e,t,i){i.d(t,{A:()=>p});var n=i(5482),s=i(93637),r=i(91429),a=i(56507),o=i(41266),l=i(41366),u=i(93223);function c(e,t,i){(0,s.sM)(i,e instanceof Date?e.getTime():e,t)}let p=class extends((0,l.K)(o.A)){constructor(e){super(e),this.numBins=null,this.end=null,this.start=null,this.type="auto-interval"}};(0,n.Cg)([(0,r.MZ)({type:Number,json:{name:"parameters.numberOfBins",write:!0}})],p.prototype,"numBins",void 0),(0,n.Cg)([(0,r.MZ)({json:{name:"parameters.end",write:{writer:c}}})],p.prototype,"end",void 0),(0,n.Cg)([(0,r.MZ)({json:{name:"parameters.start",write:{writer:c}}})],p.prototype,"start",void 0),(0,n.Cg)([(0,u.e)({autoIntervalBin:"auto-interval"},{readOnly:!0})],p.prototype,"type",void 0),p=(0,n.Cg)([(0,r.$K)("esri.rest.support.AutoIntervalBinParameters")],p),p.from=(0,a.dp)(p)},8384(e,t,i){i.d(t,{G:()=>C});var n=i(4718),s=i(12359),r=i(90634),a=i(62577),o=i(21325),l=i(46329),u=i(52006),c=i(29441),p=i(51441),d=i(30524),f=i(87445),h=i(1873),m=i(43668);class y{constructor(e,t,i){this._fieldDataCache=new Map,this._returnDistinctMap=new Map,this.returnDistinctValues=e.returnDistinctValues??!1,this.fieldsIndex=i,this.featureAdapter=t;const n=e.outFields;if(n&&!n.includes("*")){this.outFields=n;let e=0;for(const t of n){const n=(0,c.Wq)(t),s=this.fieldsIndex.get(n),r=s?null:(0,c.j4)(n,i),a=s?s.name:(0,c.SY)(t)||"FIELD_EXP_"+e++;this._fieldDataCache.set(t,{alias:a,clause:r})}}}countDistinctValues(e){return this.returnDistinctValues?(e.forEach(e=>this.getAttributes(e)),this._returnDistinctMap.size):e.length}getAttributes(e){const t=this._processAttributesForOutFields(e);return this._processAttributesForDistinctValues(t)}getFieldValue(e,t,i){if(i)return this.featureAdapter.getAttribute(e,i.name);const n=t;let s=null;return this._fieldDataCache.has(n)?s=this._fieldDataCache.get(n)?.clause:i||(s=(0,c.j4)(t,this.fieldsIndex),this._fieldDataCache.set(n,{alias:n,clause:s})),s?.calculateValue(e,this.featureAdapter)}getDataValues(e,t,i=!0){const n=t.normalizationType,s=t.normalizationTotal,r=this.fieldsIndex.get(t.field),a=(0,d.zD)(r)||(0,d.Ah)(r),o=(0,d.OH)(r);return e.map(e=>{let r=t.field&&this.getFieldValue(e,t.field,this.fieldsIndex.get(t.field));if(t.field2?(r=`${(0,h.gJ)(r)}${t.fieldDelimiter}${(0,h.gJ)(this.getFieldValue(e,t.field2,this.fieldsIndex.get(t.field2)))}`,t.field3&&(r=`${r}${t.fieldDelimiter}${(0,h.gJ)(this.getFieldValue(e,t.field3,this.fieldsIndex.get(t.field3)))}`)):"string"==typeof r&&i&&(a?r=r?new Date(r).getTime():null:o&&(r=r?(0,f.rb)(r):null)),n&&Number.isFinite(r)){const i="field"===n&&t.normalizationField?this.getFieldValue(e,t.normalizationField,this.fieldsIndex.get(t.normalizationField)):null;r=(0,h.zS)(r,n,i,s)}return r})}async getExpressionValues(e,t,i,n,s){const{arcadeUtils:r}=await(0,m.l)(),a=r.hasGeometryOperations(t);a&&await r.enableGeometryOperations();const o=r.createFunction(t),l=r.getViewInfo(i),u={fields:this.fieldsIndex.fields};return e.map(e=>{const t={attributes:this.featureAdapter.getAttributes(e),layer:u,geometry:a?{...(0,p.pL)(n.geometryType,this.featureAdapter.getGeometry(e)),spatialReference:i?.spatialReference}:null},c=r.createExecContext(t,l,s);return r.executeFunction(o,c)})}validateItem(e,t){return this._fieldDataCache.has(t)||this._fieldDataCache.set(t,{alias:t,clause:(0,c.j4)(t,this.fieldsIndex)}),this._fieldDataCache.get(t)?.clause?.testFeature(e,this.featureAdapter)??!1}validateItems(e,t){return this._fieldDataCache.has(t)||this._fieldDataCache.set(t,{alias:t,clause:(0,c.j4)(t,this.fieldsIndex)}),this._fieldDataCache.get(t)?.clause?.testSet(e,this.featureAdapter)??!1}_processAttributesForOutFields(e){const t=this.outFields;if(!t?.length)return this.featureAdapter.getAttributes(e);const i={};for(const n of t){const{alias:t,clause:s}=this._fieldDataCache.get(n);i[t]=s?s.calculateValue(e,this.featureAdapter):this.featureAdapter.getAttribute(e,t)}return i}_processAttributesForDistinctValues(e){if(null==e||!this.returnDistinctValues)return e;const t=this.outFields,i=[];if(t)for(const n of t){const{alias:t}=this._fieldDataCache.get(n);i.push(e[t])}else for(const t in e)i.push(e[t]);const n=`${(t||["*"]).join(",")}=${i.join(",")}`;let s=this._returnDistinctMap.get(n)||0;return this._returnDistinctMap.set(n,++s),s>1?null:e}}var g=i(31464),x=i(58727);class v{constructor(e,t,i){this.objectId=e,this.target=t,this.distance=i}}class w extends v{constructor(e,t,i){super(e,t,i),this.type="vertex"}}class _ extends v{constructor(e,t,i,n,s,r=!1){super(e,t,i),this.start=n,this.end=s,this.draped=r,this.type="edge"}}var S=i(5834),F=i(59977),R=i(57231),I=i(11440),T=i(60909),M=i(98623),A=i(92647);const b="bin";class C{constructor(e,t,i){this.items=e,this.query=t,this.geometryType=i.geometryType,this.hasM=i.hasM,this.hasZ=i.hasZ,this.fieldsIndex=i.fieldsIndex,this.objectIdField=i.objectIdField,this.spatialReference=i.spatialReference,this.featureAdapter=i.featureAdapter}get size(){return this.items.length}createQueryResponseForCount(){const e=new y(this.query,this.featureAdapter,this.fieldsIndex);if(!this.query.outStatistics)return e.countDistinctValues(this.items);const{groupByFieldsForStatistics:t,having:i,outStatistics:n}=this.query,s=t?.length;if(!s)return 1;const r=new Map,a=new Map,o=new Set;for(const s of n){const{statisticType:n}=s,l="exceedslimit"!==n?s.onStatisticField:void 0;if(!a.has(l)){const i=[];for(const n of t){const t=this._getAttributeValues(e,n,this.items,r);i.push(t)}a.set(l,this._calculateUniqueValues(i,this.items,e.returnDistinctValues))}const u=a.get(l);for(const t in u){const{data:n,items:s}=u[t],r=n.join(",");i&&!e.validateItems(s,i)||o.add(r)}}return o.size}async createQueryResponse(){let e;if(e=this.query.outStatistics?this.query.outStatistics.some(e=>"exceedslimit"===e.statisticType)?this._createExceedsLimitQueryResponse():await this._createStatisticsQueryResponse(this.query,this.items):this._createFeatureQueryResponse(this.query),this.query.returnQueryGeometry){const t=this.query.geometry;(0,o.fn)(this.query.outSR)&&!(0,o.aI)(t.spatialReference,this.query.outSR)?e.queryGeometry=(0,p.ag)({spatialReference:this.query.outSR,...(0,g.Cv)(t,t.spatialReference,this.query.outSR)}):e.queryGeometry=(0,p.ag)({spatialReference:this.query.outSR,...t})}return e}createSnappingResponse(e,t,i){const n=this.featureAdapter,s=B(this.hasZ,this.hasM),{point:r}=e,a="number"==typeof e.distance?e.distance:e.distance.x,o="number"==typeof e.distance?e.distance:e.distance.y;function c(e,t){const i=(e-r.x)/a,n=(t-r.y)/o;return i*i+n*n}const p={candidates:[]},d="esriGeometryPolygon"===this.geometryType,f="esriGeometryPolyline"===this.geometryType||"esriGeometryPoint"===this.geometryType,h=this._getPointCreator(t,this.spatialReference,i),m=new O(null,0),y=new O(null,0),g={x:0,y:0,z:0};for(const e of this.items){const t=n.getObjectId(e),i=n.getGeometryWithCurves?.(e);if(null!=i){v(i,t);continue}const s=n.getGeometry(e);null==s||x(s,t)}return p.candidates.sort((e,t)=>e.distance-t.distance),p;function x(t,i){const{coords:n}=t,a=t.isPoint?P:t.lengths;if(m.coords=n,y.coords=n,e.returnEdge){let e=0;for(let t=0;t<a.length;t++){const n=a[t],o=e;for(let t=0;t<n;t++,e+=s){if(!d&&t===n-1)continue;if(m.coordsIndex=e,y.coordsIndex=t===n-1?o:e+s,!z(g,r,m,y))continue;const a=c(g.x,g.y);a<=1&&p.candidates.push(new _(i,h(g),Math.sqrt(a),h(m),h(y)))}}}if("all"===e.vertexMode){let e=0;for(let t=0;t<a.length;t++){const n=a[t],r=e,o=y;o.coordsIndex=r;for(let t=0;t<n;t++,e+=s){if(m.coordsIndex=e,d&&t===n-1&&m.x===o.x&&m.y===o.y)continue;const s=c(m.x,m.y);s<=1&&p.candidates.push(new w(i,h(m),Math.sqrt(s)))}}}else if(f&&"ends"===e.vertexMode){let e=0;const t=[];for(let i=0;i<a.length;i++){t.push(e);const n=a[i];e+=n*s,n>1&&t.push(e-s)}for(const e of t){m.coordsIndex=e;const t=c(m.x,m.y);t<=1&&p.candidates.push(new w(i,h(m),Math.sqrt(t)))}}}function v(t,i){const{candidates:n}=p,s={x:0,y:0,z:0};if(e.returnEdge){const e=[r.x,r.y],a=new O(e,0),o=new O(e,0);for(const{segments:r}of t.parts)for(const{start:t,curve:p}of r){const{curvePoint:r}=(0,l.y)(t,p,e),d=c(...r);d>1||([s.x,s.y]=r,a.coords=t,o.coords=(0,u.yP)(p),n.push(new _(i,h(s),Math.sqrt(d),h(a),h(o))))}}function a(e){s.x=t.vertexXY[2*e],s.y=t.vertexXY[2*e+1];const r=c(s.x,s.y);r>1||(s.z=t.vertexZ?.[e]??0,n.push(new w(i,h(s),Math.sqrt(r))))}if("all"===e.vertexMode){const{vertexCount:e}=t;for(let t=0;t<e;++t)a(t);return}if("ends"===e.vertexMode)switch(t.type){case"point":a(0);break;case"polyline":for(let e=0;e<t.partCount;++e){const i=t.partOffsets[e],n=t.partOffsets[e+1];a(i),n!==i&&a(n)}}}}_getPointCreator(e,t,i){const n=null==i||(0,o.aI)(t,i)?e=>e:e=>(0,g.Cv)(e,t,i),{hasZ:s}=this;return s&&e?({x:e,y:t,z:i})=>n({x:e,y:t,z:i}):({x:e,y:t})=>n({x:e,y:t,z:0})}async createSummaryStatisticsResponse(e){const{field:t,valueExpression:i,normalizationField:n,normalizationType:s,normalizationTotal:r,minValue:a,maxValue:o,scale:l,timeZone:u,outStatisticTypes:c}=e,p=this.fieldsIndex.get(t),f=(0,d.vE)(p)||(0,d.zD)(p)||(0,d.Ah)(p),m=await this._getDataValues({field:t,valueExpression:i,normalizationField:n,normalizationType:s,normalizationTotal:r,scale:l,timeZone:u},this.items),y=(0,h.Vb)({normalizationType:s,normalizationField:n,minValue:a,maxValue:o}),g={value:.5,fieldType:p?.type},x=(0,d.yM)(p)?(0,h.z9)({values:m,supportsNullCount:y,percentileParams:g,outStatisticTypes:c}):(0,h.G_)({values:m,minValue:a,maxValue:o,useSampleStdDev:!s,supportsNullCount:y,percentileParams:g,outStatisticTypes:c});return(0,h.oZ)(x,c,f)}async createUniqueValuesResponse(e){const{field:t,valueExpression:i,domains:n,returnAllCodedValues:s,scale:r,timeZone:a}=e,o=await this._getDataValues({field:t,field2:e.field2,field3:e.field3,fieldDelimiter:e.fieldDelimiter,valueExpression:i,scale:r,timeZone:a},this.items,!1),l=(0,h.b3)(o);return(0,h.lv)(l,n,s,e.fieldDelimiter)}async createClassBreaksResponse(e){const{field:t,valueExpression:i,normalizationField:n,normalizationType:s,normalizationTotal:r,classificationMethod:a,standardDeviationInterval:o,minValue:l,maxValue:u,numClasses:c,scale:p,timeZone:d}=e,f=await this._getDataValues({field:t,valueExpression:i,normalizationField:n,normalizationType:s,normalizationTotal:r,scale:p,timeZone:d},this.items),m=(0,h.Rw)(f,{field:t,normalizationField:n,normalizationType:s,normalizationTotal:r,classificationMethod:a,standardDeviationInterval:o,minValue:l,maxValue:u,numClasses:c});return(0,h.jM)(m,a)}async createHistogramResponse(e){const{field:t,valueExpression:i,normalizationField:n,normalizationType:s,normalizationTotal:r,classificationMethod:a,standardDeviationInterval:o,minValue:l,maxValue:u,numBins:c,scale:p,timeZone:d}=e,f=await this._getDataValues({field:t,valueExpression:i,normalizationField:n,normalizationType:s,normalizationTotal:r,scale:p,timeZone:d},this.items);return(0,h.$y)(f,{field:t,normalizationField:n,normalizationType:s,normalizationTotal:r,classificationMethod:a,standardDeviationInterval:o,minValue:l,maxValue:u,numBins:c})}_sortFeatures(e,t,i){if(e.length>1&&t?.length)for(const n of t.slice().reverse()){const t=n.split(" "),s=t[0],r=this.fieldsIndex.get(s),a=!!t[1]&&"desc"===t[1].toLowerCase(),o=(0,h.FM)(r?.type,a,"case-sensitive");e.sort((e,t)=>{const n=i(e,s,r),a=i(t,s,r);return o(n,a)})}}_createFeatureQueryResponse(e){const{items:t,geometryType:i,hasM:n,hasZ:s,objectIdField:r,spatialReference:o}=this,{outFields:l,outSR:u,quantizationParameters:c,resultRecordCount:d,resultOffset:f,returnZ:h,returnM:m}=e,y=null!=d&&t.length>(f||0)+d,g=l&&(l.includes("*")?[...this.fieldsIndex.fields]:l.map(e=>this.fieldsIndex.get(e)));return{exceededTransferLimit:y,features:this._createFeatures(e,t),fields:g,geometryType:i,hasM:n&&m,hasZ:s&&h,objectIdFieldName:r,spatialReference:(0,p.ag)(u||o),transform:c&&(0,a.VV)(c)||null}}_createFeatures(e,t){const i=new y(e,this.featureAdapter,this.fieldsIndex),{hasM:n,hasZ:s}=this,{orderByFields:r,quantizationParameters:o,returnGeometry:l,returnCentroid:u,maxAllowableOffset:c,resultOffset:d,resultRecordCount:f,returnZ:h=!1,returnM:m=!1}=e,g=s&&h,x=n&&m;let v=[],w=0;const _=[...t];if(this._sortFeatures(_,r,(e,t,n)=>i.getFieldValue(e,t,n)),this.geometryType&&(l||u)){const e=(0,a.VV)(o)??void 0,t="esriGeometryPolygon"===this.geometryType||"esriGeometryPolyline"===this.geometryType;if(l&&!u)for(const n of _){const s=this.featureAdapter.getGeometry(n),r=this._addFeatureJSONMetadata(n,{attributes:i.getAttributes(n),geometry:(0,p.pL)(this.geometryType,s,c,e,g,x)});t&&s&&!r.geometry&&(r.centroid=(0,p.LQ)(this,this.featureAdapter.getCentroid(n,this),e)),v[w++]=r}else if(!l&&u)for(const t of _)v[w++]=this._addFeatureJSONMetadata(t,{attributes:i.getAttributes(t),centroid:(0,p.LQ)(this,this.featureAdapter.getCentroid(t,this),e)});else for(const t of _)v[w++]=this._addFeatureJSONMetadata(t,{attributes:i.getAttributes(t),centroid:(0,p.LQ)(this,this.featureAdapter.getCentroid(t,this),e),geometry:(0,p.pL)(this.geometryType,this.featureAdapter.getGeometry(t),c,e,g,x)})}else for(const e of _){const t=i.getAttributes(e);t&&(v[w++]=this._addFeatureJSONMetadata(e,{attributes:t}))}const S=d||0;if(null!=f){const e=S+f;v=v.slice(S,Math.min(v.length,e))}return v}_addFeatureJSONMetadata(e,t){const i=this.featureAdapter.getMetadata?.(e);return void 0!==i&&(t.metadata=i),t}_createExceedsLimitQueryResponse(){let e=!1,t=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY;for(const e of this.query.outStatistics??[])if("exceedslimit"===e.statisticType){t=null!=e.maxPointCount?e.maxPointCount:Number.POSITIVE_INFINITY,i=null!=e.maxRecordCount?e.maxRecordCount:Number.POSITIVE_INFINITY,n=null!=e.maxVertexCount?e.maxVertexCount:Number.POSITIVE_INFINITY;break}if("esriGeometryPoint"===this.geometryType)e=this.items.length>t;else if(this.items.length>i)e=!0;else{const t=B(this.hasZ,this.hasM),i=this.featureAdapter;e=this.items.reduce((e,t)=>{const n=i.getGeometry(t);return e+(null!=n&&n.coords.length||0)},0)/t>n}return{fields:[{name:"exceedslimit",type:"esriFieldTypeInteger",alias:"exceedslimit",sqlType:"sqlTypeInteger",domain:null,defaultValue:null}],features:[{attributes:{exceedslimit:Number(e)}}]}}async _createStatisticsQueryResponse(e,t,i={attributes:{}}){const n=[],s=new Map,r=new Map,a=new Map,o=new Map,l=new y(e,this.featureAdapter,this.fieldsIndex),u=e.outStatistics,{groupByFieldsForStatistics:c,having:p,orderByFields:f,resultRecordCount:h}=e,m=c?.length,g=!!m,x=g?c[0]:null,v=g&&!this.fieldsIndex.get(x);for(const e of u??[]){const{outStatisticFieldName:u,statisticType:f}=e,h=e,y="exceedslimit"!==f?e.onStatisticField:void 0,w="percentile_disc"===f||"percentile_cont"===f,_="EnvelopeAggregate"===f||"CentroidAggregate"===f||"ConvexHullAggregate"===f,S=g&&1===m&&(y===x||v)&&"count"===f;if(g){if(!a.has(y)){const e=[];for(const i of c){const n=this._getAttributeValues(l,i,t,s);e.push(n)}a.set(y,this._calculateUniqueValues(e,t,!_&&l.returnDistinctValues))}const e=a.get(y);if(!e)continue;const i=Object.keys(e);for(const n of i){const{count:i,data:r,items:a,itemPositions:d}=e[n],f=r.join(",");if(!p||l.validateItems(a,p)){const e=o.get(f)||{attributes:{}};if(_){e.aggregateGeometries||(e.aggregateGeometries={});const{aggregateGeometries:t,outStatisticFieldName:i}=await this._getAggregateGeometry(h,a);e.aggregateGeometries[i]=t}else{let n=null;if(S)n=i;else{const e=this._getAttributeValues(l,y,t,s),i=d.map(t=>e[t]);n=w&&"statisticParameters"in h?this._getPercentileValue(h,i):this._getStatisticValue(h,i,null,l.returnDistinctValues)}e.attributes[u]=n}let n=0;c.forEach((t,i)=>e.attributes[this.fieldsIndex.get(t)?t:"EXPR_"+ ++n]=r[i]),o.set(f,e)}}}else if(_){i.aggregateGeometries||(i.aggregateGeometries={});const{aggregateGeometries:e,outStatisticFieldName:n}=await this._getAggregateGeometry(h,t);i.aggregateGeometries[n]=e}else{const e=this._getAttributeValues(l,y,t,s);i.attributes[u]=w&&"statisticParameters"in h?this._getPercentileValue(h,e):this._getStatisticValue(h,e,r,l.returnDistinctValues)}const F="min"!==f&&"max"!==f||!(0,d.yM)(this.fieldsIndex.get(y))&&!this._isAnyDateField(y)?null:this.fieldsIndex.get(y)?.type;n.push({name:u,alias:u,type:F||"esriFieldTypeDouble"})}const w=g?Array.from(o.values()):[i];return this._sortFeatures(w,f,(e,t)=>e.attributes[t]),h&&(w.length=Math.min(h,w.length)),{fields:n,features:w}}_isAnyDateField(e){const t=this.fieldsIndex.get(e);return(0,d.vE)(t)||(0,d.zD)(t)||(0,d.Ah)(t)||(0,d.OH)(t)}async _getAggregateGeometry(e,t){const{convexHull:n,union:a}=await i.e(1023).then(i.bind(i,81023)),{statisticType:o,outStatisticFieldName:l}=e,{featureAdapter:u,spatialReference:c,geometryType:d}=this,f=t.map(e=>(0,p.pL)(d,u.getGeometry(e))),h=n(c,f,!0)[0],m={aggregateGeometries:null,outStatisticFieldName:null};if("EnvelopeAggregate"===o){const e=h?(0,r.v)(h):(0,r.HA)(a(c,f));m.aggregateGeometries={...e,spatialReference:c},m.outStatisticFieldName=l||"extent"}else if("CentroidAggregate"===o){const e=h?(0,s.l8)(h):(0,s.Z4)((0,r.HA)(a(c,f)));m.aggregateGeometries={x:e[0],y:e[1],spatialReference:c},m.outStatisticFieldName=l||"centroid"}else"ConvexHullAggregate"===o&&(m.aggregateGeometries=h,m.outStatisticFieldName=l||"convexHull");return m}_getStatisticValue(e,t,i,n){const{onStatisticField:s,statisticType:r}=e;let a=null;return a=i?.has(s)?i.get(s):(0,d.yM)(this.fieldsIndex.get(s))||this._isAnyDateField(s)?(0,h.z9)({values:t,returnDistinct:n}):(0,h.G_)({values:n?[...new Set(t)]:t,minValue:null,maxValue:null,useSampleStdDev:!0}),i&&i.set(s,a),a["var"===r?"variance":r]}_getPercentileValue(e,t){const{onStatisticField:i,statisticParameters:n,statisticType:s}=e,{value:r,orderBy:a}=n,o=this.fieldsIndex.get(i);return(0,h.qg)(t,{value:r,orderBy:a,fieldType:o?.type,isDiscrete:"percentile_disc"===s})}_getAttributeValues(e,t,i,n){if(n.has(t))return n.get(t);const s=this.fieldsIndex.get(t),r=i.map(i=>e.getFieldValue(i,t,s));return n.set(t,r),r}_calculateUniqueValues(e,t,i){const n={},s=t.length;for(let r=0;r<s;r++){const s=t[r],a=[];for(const t of e)a.push(t[r]);const o=a.join(",");null==n[o]?n[o]={count:1,data:a,items:[s],itemPositions:[r]}:(i||n[o].count++,n[o].items.push(s),n[o].itemPositions.push(r))}return n}async _getDataValues(e,t,i=!0){const s=new y(this.query,this.featureAdapter,this.fieldsIndex),{valueExpression:r,scale:a,timeZone:o}=e;return r?s.getExpressionValues(t,r,{viewingMode:"map",scale:a,spatialReference:this.query.outSR||this.spatialReference},{geometryType:this.geometryType,hasZ:this.hasZ,hasM:this.hasM},o):s.getDataValues(t,(0,n.o8)(e),i)}_calculateHistogramBins(e,t,i){if(null==t.min&&null==t.max)return[];const n=t.intervals,s=t.min??0,r=t.max??0,a=n.map(([e,t])=>({minValue:e,maxValue:t,count:0,items:[]}));for(let t=0;t<e.length;t++){const o=e[t],l=i[t];if(null!=o&&o>=s&&o<=r){const e=(0,h.Ak)(n,o);e>-1&&(a[e].count++,a[e].items.push(l))}}return a}async createQueryBinsResponse(e){const t=e.bin?.splitBy;if(!t)return this._createBinsResponse(e);const{value:i,outAlias:n,valueType:s}=t,r=[],a=[{name:n??i,alias:n??i,type:s??"esriFieldTypeString"},{name:b,alias:b,type:"esriFieldTypeInteger"}],o=new y(e,this.featureAdapter,this.fieldsIndex),l=new Map,u=[...this.items];this._sortFeatures(u,[i],(e,t,i)=>o.getFieldValue(e,t,i));const c=this._getAttributeValues(o,i,u,l),p=this._calculateUniqueValues([c],u,o.returnDistinctValues);for(const t in p){const{items:s}=p[t],o=await this._createBinsResponse(e,s);if(r.push(...o.features.map(e=>({...e,attributes:{...e.attributes,[n??i]:t}}))),o.fields)for(const e of o.fields)a.some(t=>t.name===e.name)||a.push(e)}return{fields:a,features:r}}async _createBinsResponse(e,t){const i=e.bin;switch(t=t??this.items,i.type){case"autoIntervalBin":return this._createAutoIntervalBinsResponse(S.A.fromJSON(i),e,t);case"dateBin":return this._createDateBinsResponse(F.A.fromJSON(i),e,t);case"fixedBoundariesBin":return this._createFixedBoundariesBinsResponse(I.A.fromJSON(i),e,t);case"fixedIntervalBin":return this._createFixedIntervalBinsResponse(T.A.fromJSON(i),e,t)}}async _createAutoIntervalBinsResponse(e,t,i){const{field:n,normalizationField:s,numBins:r,normalizationType:a,normalizationTotal:o,start:l,end:u}=e,c=await this._getDataValues({field:e.field||e.expression,normalizationField:e.normalizationField,normalizationType:e.normalizationType,normalizationTotal:e.normalizationTotal,timeZone:t.outTimeReference?.ianaTimeZone},i),p=(0,h.sU)(c,{field:n,normalizationField:s,normalizationType:a,normalizationTotal:o,numBins:r,minValue:(0,x.dO)(a?e.normalizationMinValue:l,!1),maxValue:(0,x.dO)(a?e.normalizationMaxValue:u,!1)}),d=this._calculateHistogramBins(c,p,i);return this._createFeaturesFromHistogramBins(d,t)}async _createDateBinsResponse(e,t,i){const{field:n,interval:s,start:r,end:a,snapToData:o,returnFullIntervalBin:l,offset:u,firstDayOfWeek:c}=e,p=s.unit,f=await this._getDataValues({field:e.field,timeZone:t.outTimeReference?.ianaTimeZone},i),h=(0,d.OH)(this.fieldsIndex.get(n)),m=R.g.toJSON(p),y=f.filter(Boolean).sort((e,t)=>e-t),g=null!=r?(0,x.dO)(r,h):y[0],v=null!=a?(0,x.dO)(a,h):y[y.length-1],w=[];if(null!=g&&null!=v){const e={zone:t.outTimeReference?.ianaTimeZone??M.n$},i=u?.unit?R.g.toJSON(u.unit):"milliseconds",n={[i]:u?.value||0},r=A.c9.fromMillis(g,e).minus(n),a=A.c9.fromMillis(v,e).minus(n),p="number"==typeof c&&c>=1&&c<=7?c:7,d=(e,t)=>{const i=(e.weekday-t+7)%7;return e.minus({days:i}).startOf("day")};if("last"===o){let e="week"===m?((e,t)=>d(e,t).plus({days:7}))(a,p):a;for(;e>r;){const t=e.minus({[m]:s.value});if(t<r){w.unshift([l?t.plus(n).toMillis():r.plus(n).toMillis(),e.plus(n).toMillis()]);break}w.unshift([t.plus(n).toMillis(),e.plus(n).toMillis()]),e=t}}else{let e="first"===o?r:"week"===m?d(r,p):r.startOf(m);for(;e<=a;){const t=e.plus({[m]:s.value});if(t>a){w.push([e.plus(n).toMillis(),l?t.plus(n).toMillis():a.plus(n).toMillis()]);break}w.push([e.plus(n).toMillis(),t.plus(n).toMillis()]),e=t}}}const _=this._calculateHistogramBins(f,{intervals:w,min:g,max:v},i);return this._createFeaturesFromHistogramBins(_,t)}async _createFixedBoundariesBinsResponse(e,t,i){const{field:n}=e,s=await this._getDataValues({field:n,timeZone:t.outTimeReference?.ianaTimeZone},i),r=(0,d.OH)(this.fieldsIndex.get(n)),a=e.boundaries.map(e=>(0,x.dO)(e,r)).sort((e,t)=>e-t),o=[];for(let e=0;e<a.length-1;e++)o.push([a[e],a[e+1]]);const l={intervals:o,min:a.at(0),max:a.at(-1)},u=this._calculateHistogramBins(s,l,i);return this._createFeaturesFromHistogramBins(u,t)}async _createFixedIntervalBinsResponse(e,t,i){const{field:n,interval:s,normalizationType:r,start:a,end:o}=e,l=await this._getDataValues({field:e.field,normalizationField:e.normalizationField,normalizationType:r,normalizationTotal:e.normalizationTotal,timeZone:t.outTimeReference?.ianaTimeZone},i),u=(0,d.OH)(this.fieldsIndex.get(n)),c=(0,h.sU)(l,{field:n,classificationMethod:"defined-interval",definedInterval:s,minValue:(0,x.dO)(r?e.normalizationMinValue:a,u),maxValue:(0,x.dO)(r?e.normalizationMaxValue:o,u)},!0),p=this._calculateHistogramBins(l,c,i);return this._createFeaturesFromHistogramBins(p,t)}async _createFeaturesFromHistogramBins(e,t){const{upperBoundaryAlias:i,lowerBoundaryAlias:n}=t,s=n||"lowerBoundary",r=i||"upperBoundary",a=[],o=[{name:s,alias:s,type:"esriFieldTypeDouble"},{name:r,alias:r,type:"esriFieldTypeDouble"}],l=t.bin?.stackBy?.value,u=t.bin?.stackBy?.outAlias;l&&o.push({name:b,alias:b,type:"esriFieldTypeInteger"},{name:u??l,alias:u??l,type:"esriFieldTypeString"});let c=0;const p="dateBin"===t.bin.type,d=t.outTimeReference?.ianaTimeZone;for(const i of e){const{minValue:e,maxValue:n,items:f}=i,h={attributes:{}};let m;if(h.attributes[s]=p&&d&&null!=e?A.c9.fromMillis(e,{zone:d}).toISO():e,t.bin.hideUpperBound||(h.attributes[r]=p&&d&&null!=n?A.c9.fromMillis(n,{zone:d}).toISO():n),l?(m=await this._createStatisticsQueryResponse({...t,groupByFieldsForStatistics:[l],orderByFields:[l]},f),h.attributes[b]=++c,"flat"===t.bin.jsonStyle?a.push(...m.features.map(({attributes:{EXPR_1:e,...t},...i})=>({...i,attributes:u??e?{...t,[u??e]:e,...h.attributes}:{...t,...h.attributes}}))):(h.stackedAttributes=m.features.map(({attributes:{EXPR_1:e,...t}})=>u??e?{...t,[u??e]:e}:t),a.push(h))):(t.bin?.splitBy&&(h.attributes[b]=++c),m=await this._createStatisticsQueryResponse(t,f,h),a.push(h)),m.fields)for(const e of m.fields)o.some(t=>t.name===e.name)||o.push(e)}return"desc"===t.binOrder&&a.reverse(),{fields:o,features:a}}}function z(e,t,i,n){const s=n.x-i.x,r=n.y-i.y,a=t.x-i.x,o=t.y-i.y,l=s*s+r*r;if(0===l)return!1;const u=a*s+o*r,c=Math.min(1,Math.max(0,u/l));return e.x=i.x+s*c,e.y=i.y+r*c,!0}function B(e,t){return e?t?4:3:t?3:2}class O{constructor(e,t){this.coords=e,this.coordsIndex=t}get x(){return this.coords[this.coordsIndex]}get y(){return this.coords[this.coordsIndex+1]}get z(){return this.coords[this.coordsIndex+2]}}const P=[1]},9762(e,t,i){i.r(t),i.d(t,{projectBuffer:()=>s});var n=i(49208);function s(e,t,i,s,r,a,o=Math.floor(e.length/3)){const l=(0,n.jd)(t,r);if(null==l)return!1;if(l===n.pO){if(e===s&&i===a)return!0;const t=i+3*o;for(let n=i,r=a;n<t;n++,r++)s[r]=e[n]??0;return!0}const u=i+3*o;for(let t=i,n=a;t<u;t+=3,n+=3)l(e,t,s,n);return!0}},11006(e,t,i){function n(e,t,i,n,r){s(e,t,i||0,n||e.length-1,r||a)}function s(e,t,i,n,a){for(;n>i;){if(n-i>600){var o=n-i+1,l=t-i+1,u=Math.log(o),c=.5*Math.exp(2*u/3),p=.5*Math.sqrt(u*c*(o-c)/o)*(l-o/2<0?-1:1);s(e,t,Math.max(i,Math.floor(t-l*c/o+p)),Math.min(n,Math.floor(t+(o-l)*c/o+p)),a)}var d=e[t],f=i,h=n;for(r(e,i,t),a(e[n],d)>0&&r(e,i,n);f<h;){for(r(e,f,h),f++,h--;a(e[f],d)<0;)f++;for(;a(e[h],d)>0;)h--}0===a(e[i],d)?r(e,i,h):r(e,++h,n),h<=t&&(i=h+1),t<=h&&(n=h-1)}}function r(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function a(e,t){return e<t?-1:e>t?1:0}i.d(t,{q:()=>n})},11440(e,t,i){i.d(t,{A:()=>u});var n=i(5482),s=i(93637),r=i(91429),a=i(56507),o=i(41266),l=i(93223);let u=class extends o.A{constructor(e){super(e),this.boundaries=[],this.type="fixed-boundaries"}};(0,n.Cg)([(0,r.MZ)({json:{name:"parameters.boundaries",write:{writer:function(e,t,i){(0,s.sM)(i,e&&function(e){return e[0]instanceof Date}(e)?e.map(e=>e.getTime()):e,t)}}}})],u.prototype,"boundaries",void 0),(0,n.Cg)([(0,l.e)({fixedBoundariesBin:"fixed-boundaries"},{readOnly:!0})],u.prototype,"type",void 0),u=(0,n.Cg)([(0,r.$K)("esri.rest.support.FixedBoundariesBinParameters")],u),u.from=(0,a.dp)(u)},17136(e,t,i){i.d(t,{Y_:()=>A,O7:()=>T,el:()=>I});var n=i(92602),s=i(69052),r=i(49186),a=i(53966),o=i(39829),l=i(82799),u=i(16930),c=i(80754),p=i(21325),d=i(28735),f=i(11254),h=i(60408),m=i(65864),y=i(2272),g=i(84952),x=i(92300);const v=()=>a.A.getLogger("esri.geometry.support.normalizeUtils");function w(e){return"polygon"===e[0].type}function _(e){return"polyline"===e[0].type}function S(e,t,i){if(t){const t=function(e,t){if(!(e instanceof l.A||e instanceof o.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw v().error(e),new r.A("internal:geometry",e)}const i=(0,c.r8)(e),n=[];for(const e of i){const i=[];n.push(i),i.push([e[0][0],e[0][1]]);for(let n=0;n<e.length-1;n++){const s=e[n][0],r=e[n][1],a=e[n+1][0],o=e[n+1][1],l=Math.sqrt((a-s)*(a-s)+(o-r)*(o-r)),u=(o-r)/l,c=(a-s)/l,p=l/t;if(p>1){for(let e=1;e<=p-1;e++){const n=e*t,a=c*n+s,o=u*n+r;i.push([a,o])}const e=(l+Math.floor(p-1)*t)/2,n=c*e+s,a=u*e+r;i.push([n,a])}i.push([a,o])}}return function(e){return"polygon"===e.type}(e)?new o.A({rings:n,spatialReference:e.spatialReference}):new l.A({paths:n,spatialReference:e.spatialReference})}(e,1e6);e=(0,d.ci)(t,!0)}return i&&(e=(0,c.kS)(e,i)),e}function F(e,t,i){if(Array.isArray(e)){const n=e[0];if(n>t){const i=(0,c.kd)(n,t);e[0]=n+i*(-2*t)}else if(n<i){const t=(0,c.kd)(n,i);e[0]=n+t*(-2*i)}}else{const n=e.x;if(n>t){const i=(0,c.kd)(n,t);e=e.clone().offset(i*(-2*t),0)}else if(n<i){const t=(0,c.kd)(n,i);e=e.clone().offset(t*(-2*i),0)}}return e}function R(e,t){let i=-1;for(let n=0;n<t.cutIndexes.length;n++){const s=t.cutIndexes[n],r=t.geometries[n],a=(0,c.r8)(r);for(let e=0;e<a.length;e++){const t=a[e];t.some(i=>{if(i[0]<180)return!0;{let i=0;for(let e=0;e<t.length;e++){const n=t[e][0];i=n>i?n:i}i=Number(i.toFixed(9));const n=-360*(0,c.kd)(i,180);for(let i=0;i<t.length;i++){const t=r.getPoint(e,i);r.setPoint(e,i,t.clone().offset(n,0))}return!0}})}if(s===i){if(w(e))for(const t of(0,c.r8)(r))e[s]=e[s].addRing(t);else if(_(e))for(const t of(0,c.r8)(r))e[s]=e[s].addPath(t)}else i=s,e[s]=r}return e}async function I(e,t,i){if(!Array.isArray(e))return I([e],t);t&&"string"!=typeof t&&v().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const s="string"==typeof t?t:t?.url??n.A.geometryServiceUrl;let r,a,u,w,_,T,M,A,b=0;const C=[],z=[];for(const t of e)if(null!=t)if(r||(r=t.spatialReference,a=(0,p.Vp)(r),u=r.isWebMercator,T=u?102100:4326,w=c.j7[T].maxX,_=c.j7[T].minX,M=c.j7[T].plus180Line,A=c.j7[T].minus180Line),a)if("mesh"===t.type)z.push(t);else if("point"===t.type)z.push(F(t.clone(),w,_));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map(e=>F(e,w,_)),z.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,a);z.push(e.rings?new o.A(e):e)}else if(t.extent){const e=t.extent,i=(0,c.kd)(e.xmin,_)*(2*w);let n=0===i?t.clone():(0,c.kS)(t.clone(),i);e.offset(i,0);let{xmin:s,xmax:r}=e;s=Number(s.toFixed(9)),r=Number(r.toFixed(9)),e.intersects(M)&&r!==w?(b=r>b?r:b,n=S(n,u),C.push(n),z.push("cut")):e.intersects(A)&&s!==_?(b=r*(2*w)>b?r*(2*w):b,n=S(n,u,360),C.push(n),z.push("cut")):z.push(n)}else z.push(t.clone());else z.push(t);else z.push(t);let B=(0,c.kd)(b,w),O=-90;const P=B,G=new l.A;for(;B>0;){const e=360*B-180;G.addPath([[e,O],[e,-1*O]]),O*=-1,B--}if(C.length>0&&P>0){const t=R(C,await async function(e,t,i,n){const s=(0,y.Dl)(e),r=t[0].spatialReference,a={...n,responseType:"json",query:{...s.query,f:"json",sr:(0,p.YX)(r),target:JSON.stringify({geometryType:(0,h.$B)(t[0]),geometries:t}),cutter:JSON.stringify(i)}},o=await(0,f.A)(s.path+"/cut",a),{cutIndexes:l,geometries:u=[]}=o.data;return{cutIndexes:l,geometries:u.map(e=>{const t=(0,m.rS)(e);return t.spatialReference=r,t})}}(s,C,G,i)),n=[],r=[];for(let i=0;i<z.length;i++){const s=z[i];if("cut"!==s)r.push(s);else{const s=t.shift(),a=e[i];null!=a&&"polygon"===a.type&&a.rings&&a.rings.length>1&&s.rings.length>=a.rings.length?(n.push(s),r.push("simplify")):r.push(u?(0,d.Gh)(s):s)}}if(!n.length)return r;const a=await async function(e,t,i){const n="string"==typeof e?(0,g.An)(e):e,s=t[0].spatialReference,r=(0,h.$B)(t[0]),a={...i,query:{...n.query,f:"json",sr:(0,p.YX)(s),geometries:JSON.stringify((0,x.X)(t))}},{data:o}=await(0,f.A)(n.path+"/simplify",a);return(0,x.V)(o.geometries,r,s)}(s,n,i),o=[];for(let e=0;e<r.length;e++){const t=r[e];"simplify"!==t?o.push(t):o.push(u?(0,d.Gh)(a.shift()):a.shift())}return o}const q=[];for(let e=0;e<z.length;e++){const t=z[e];if("cut"!==t)q.push(t);else{const e=C.shift();q.push(!0===u?(0,d.Gh)(e):e)}}return q}function T(e,t,i){const n=(0,p.Vp)(i);if(null==n)return e;const[s,r]=n.valid,a=2*r;let o=0,l=0;t>r?o=Math.ceil(Math.abs(t-r)/a):t<s&&(o=-Math.ceil(Math.abs(t-s)/a)),e>r?l=Math.ceil(Math.abs(e-r)/a):e<s&&(l=-Math.ceil(Math.abs(e-s)/a));let u=e+(o-l)*a;const c=u-t;return c>r?u-=a:c<s&&(u+=a),u}function M(e){const t=(0,p.Vp)(e);if(null==t)return null;const[i,n]=t.valid;return new s.hr(i,n)}const A=M(u.A.WGS84);M(u.A.WebMercator)},29441(e,t,i){i.d(t,{MG:()=>x,SN:()=>f,SY:()=>g,VW:()=>c,Wq:()=>y,eD:()=>h,j4:()=>m,vl:()=>u});var n=i(49186),s=i(44123),r=i(98453);const a=new s.WhereClauseCache(50,500),o="unsupported-query",l=" as ",u=new Set(["esriFieldTypeOID","esriFieldTypeSmallInteger","esriFieldTypeBigInteger","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong"]),c=new Set(["esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"]),p=new Set(["esriFieldTypeString","esriFieldTypeGUID","esriFieldTypeGlobalID",...u,...c]);function d(e,t,i={}){const s=m(t,e);if(!s){const i=a.getError(t,e);throw new n.A(o,"invalid SQL expression",{expression:t,error:i})}const r=i.expressionName||"expression";if(i.validateStandardized&&!s.isStandardized)throw new n.A(o,`${r} is not standard`,{expression:t});if(i.validateAggregate&&!s.isAggregate)throw new n.A(o,`${r} does not contain a valid aggregate function`,{expression:t});return s.fieldNames}function f(e,t,i,n){if(!i)return!0;const s="where clause";return x(e,t,d(e,i,{validateStandardized:!0,expressionName:s}),{expressionName:s,query:n}),!0}function h(e,t,i,s,r){if(!i)return!0;const a="having clause",l=d(e,i,{validateAggregate:!0,expressionName:a});x(e,t,l,{expressionName:a,query:r});const u=m(i,e),c=u?.getExpressions().every(t=>{const{aggregateType:i,field:n}=t,r=e.get(n)?.name;return s.some(t=>{const{onStatisticField:n,statisticType:s}=t,a=e.get(n)?.name;return a===r&&s.toLowerCase().trim()===i})});if(!c)throw new n.A(o,"expressions in having clause should also exist in outStatistics",{having:i});return!0}function m(e,t){return e?a.get(e,t):null}function y(e){return/\((.*?)\)/.test(e)?e:e.split(l)[0]}function g(e){return e.split(l)[1]}function x(e,t,i,s={}){const r=new Map;if(function(e,t,i,n,s){const r=s.includes("*")?[...i,...s.filter(e=>"*"!==e)]:s;for(const s of r)if(t.get(s))v(e,t,i,n,s);else try{const r=d(t,y(s),{validateStandardized:!0});for(const s of r)v(e,t,i,n,s)}catch(t){e.set(s,{type:"expression-error",expression:s,error:t})}}(r,e,t,s.allowedFieldTypes??p,i),r.size){const e=s.expressionName??"expression";throw new n.A(o,`${e} contains invalid or missing fields`,{errors:Array.from(r.values()),query:s.query})}}function v(e,t,i,n,s){const a=t.get(s);a?i.has(a.name)?"all"!==n&&!1===n?.has(a.type)&&e.set(s,{type:"invalid-type",fieldName:a.name,fieldType:r.m.fromJSON(a.type),allowedFieldTypes:Array.from(n,e=>r.m.fromJSON(e))}):e.set(s,{type:"missing-field",fieldName:a.name}):e.set(s,{type:"invalid-field",fieldName:s})}},31464(e,t,i){i.d(t,{Cv:()=>m,Nk:()=>d,lK:()=>g});var n=i(4576),s=i(74887),r=i(91218),a=i(21325),o=i(28735);const l=[0,0];function u(e,t){if(!t)return null;if("x"in t){const i={x:0,y:0};return[i.x,i.y]=e(t.x,t.y,l),null!=t.z&&(i.z=t.z),null!=t.m&&(i.m=t.m),i}if("xmin"in t){const i={xmin:0,ymin:0,xmax:0,ymax:0};return[i.xmin,i.ymin]=e(t.xmin,t.ymin,l),[i.xmax,i.ymax]=e(t.xmax,t.ymax,l),t.hasZ&&(i.zmin=t.zmin,i.zmax=t.zmax,i.hasZ=!0),t.hasM&&(i.mmin=t.mmin,i.mmax=t.mmax,i.hasM=!0),i}return"rings"in t?{rings:c(t.rings,e),hasM:t.hasM,hasZ:t.hasZ}:"paths"in t?{paths:c(t.paths,e),hasM:t.hasM,hasZ:t.hasZ}:"points"in t?{points:p(t.points,e),hasM:t.hasM,hasZ:t.hasZ}:null}function c(e,t){const i=[];for(const n of e)i.push(p(n,t));return i}function p(e,t){const i=[];for(const n of e){const e=t(n[0],n[1],[0,0]);i.push(e),n.length>2&&e.push(n[2]),n.length>3&&e.push(n[3])}return i}async function d(e,t){if(!e||!t)return;const i=Array.isArray(e)?e.map(e=>null!=e.geometry?e.geometry.spatialReference:null).filter(n.Ru):[e];await(0,r.initializeProjection)(i.map(e=>({source:e,dest:t})))}const f=u.bind(null,o.je),h=u.bind(null,o.tD);function m(e,t,i,n){if(!e)return null;if(i||(i=t,t=e.spatialReference),!(0,a.fn)(t)||!(0,a.fn)(i)||(0,a.aI)(t,i))return e;if((0,o.y7)(t,i)){const t=(0,a.K8)(i)?f(e):h(e);return t.spatialReference=i,t}return(0,r.projectMany)([e],t,i,n)[0]}const y=new class{constructor(){this._jobs=[],this._timer=null,this._process=this._process.bind(this)}async push(e,t,i,n){if(!e?.length||!t||!i||(0,a.aI)(t,i))return e;const r={geometries:e,inSpatialReference:t,outSpatialReference:i,options:n,resolve:(0,s.Tw)()};return this._jobs.push(r),this._timer??=setTimeout(this._process,10),r.resolve.promise}_process(){this._timer=null;const e=this._jobs.shift();if(!e)return;const{geometries:t,inSpatialReference:i,outSpatialReference:n,resolve:s,options:l}=e,u=t.filter(e=>null!=e);let c;c=(0,o.y7)(i,n)&&null==l?.extendedParams?(0,a.K8)(n)?u.map(f):u.map(h):(0,r.projectMany)(u,i,n,l);let p=0;s(t.map(e=>null==e?null:c[p++])),this._jobs.length>0&&(this._timer=setTimeout(this._process,10))}};function g(e,t,i,n){return y.push(e,t,i,n)}},34403(e,t,i){i.d(t,{TP:()=>a});var n=i(79258);Math.PI;const s=n.$O.radius,r=n.$O.eccentricitySquared,a={a1:s*r,a2:s*r*s*r,a3:s*r*r/2,a4:s*r*s*r*2.5,a5:s*r+s*r*r/2,a6:1-r};n.$O.radius,n.$O.flattening,n.Sw.radius,n.Sw.flattening,n.sH.radius,n.sH.flattening,n.sH.radius},41266(e,t,i){i.d(t,{A:()=>m});var n=i(5482),s=i(69540),r=i(66552),a=i(25482),o=i(91429),l=i(56507),u=i(93223);const c=new r.J({esriFieldTypeInteger:"integer",esriFieldTypeString:"string"});let p=class extends((0,s.OU)(a.o)){constructor(e){super(e),this.alias=null,this.responseType=null,this.type=null,this.value=null,this.valueType=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"outAlias",write:!0}})],p.prototype,"alias",void 0),(0,n.Cg)([(0,o.MZ)({type:String})],p.prototype,"responseType",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],p.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],p.prototype,"value",void 0),(0,n.Cg)([(0,u.e)(c)],p.prototype,"valueType",void 0),p=(0,n.Cg)([(0,o.$K)("esri.rest.support.AttributeBinsGrouping")],p);const d=p;p.from=(0,l.dp)(p);const f=new r.J({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeDate:"date",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"}),h=new r.J({naturalLog:"natural-log",squareRoot:"square-root"});let m=class extends((0,s.OU)(a.o)){constructor(e){super(e),this.expression=null,this.expressionValueType=null,this.field=null,this.firstDayOfWeek=null,this.hideUpperBound=null,this.splitBy=null,this.stackBy=null,this.transformation=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"onExpression.value",write:!0}})],m.prototype,"expression",void 0),(0,n.Cg)([(0,u.e)(f,{name:"onExpression.valueType"})],m.prototype,"expressionValueType",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{name:"onField",write:!0}})],m.prototype,"field",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],m.prototype,"firstDayOfWeek",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"hideUpperBound",void 0),(0,n.Cg)([(0,o.MZ)({type:d,json:{write:{overridePolicy(){return{enabled:null!=this.splitBy?.value||null!=this.splitBy?.type}}}}})],m.prototype,"splitBy",void 0),(0,n.Cg)([(0,o.MZ)({type:d,json:{write:{target:{stackBy:{type:d},jsonStyle:{type:String}},writer:(e,t)=>{e&&(t.stackBy=e.toJSON(),null!=e.responseType&&(t.jsonStyle=e.responseType))},overridePolicy(){return{enabled:null!=this.stackBy?.value||null!=this.stackBy?.type}}},read:{source:["stackBy","jsonStyle"],reader:(e,t)=>d.fromJSON({...t.stackBy,responseType:t.jsonStyle})}}})],m.prototype,"stackBy",void 0),(0,n.Cg)([(0,u.e)(h)],m.prototype,"transformation",void 0),m=(0,n.Cg)([(0,o.$K)("esri.rest.support.BinParametersBase")],m)},41366(e,t,i){i.d(t,{K:()=>p,Q:()=>l});var n=i(5482),s=i(66552),r=i(53966),a=i(91429),o=i(93223);const l=(0,s.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",p=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,i=null!=this.normalizationTotal;return t||i?(e=t&&c||i&&u||null,t&&i&&r.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n.Cg)([(0,a.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],i.prototype,"normalizationField",void 0),(0,n.Cg)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],i.prototype,"normalizationMaxValue",void 0),(0,n.Cg)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],i.prototype,"normalizationMinValue",void 0),(0,n.Cg)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],i.prototype,"normalizationTotal",void 0),(0,n.Cg)([(0,o.e)(l,{name:"parameters.normalizationType"})],i.prototype,"normalizationType",null),i=(0,n.Cg)([(0,a.$K)("esri.rest.support.NormalizationBinParametersMixin")],i),i}},44123(e,t,i){i.d(t,{WhereClauseCache:()=>r});var n=i(66344),s=i(89696);class r{constructor(e,t){this._cache=new n.q(e),this._invalidCache=new n.q(t)}get(e,t){const i=`${t?.uid}:${e}`,n=this._cache.get(i);if(n)return n;if(null!=this._invalidCache.get(i))return null;try{const n=s.A.create(e,{fieldsIndex:t});return this._cache.put(i,n),n}catch(e){return this._invalidCache.put(i,e),null}}getError(e,t){const i=`${t?.uid}:${e}`;return this._invalidCache.get(i)??null}}},44794(e,t,i){i.d(t,{v:()=>o});var n=i(4718),s=i(62788),r=i(95488);class a{constructor(e,t){this._observable=new r.I,this._value=e,this._equalityFunction=t}get value(){return(0,s.gc)(this._observable),this._value}set value(e){this._equalityFunction(e,this._value)||(this._value=e,this._observable.notify())}mutate(e){e(this._value),this._observable.notify()}}function o(e,t=n.gh){return new a(e,t)}},46329(e,t,i){i.d(t,{y:()=>p});var n=i(49186),s=i(4305),r=i(513),a=i(50954),o=i(52006),l=i(49663),u=i(46068),c=i(59803);function p(e,t,i){if((0,o.Xq)(t))return(0,c.T)(e,t,i);if((0,o.n1)(t)){const r=(0,s.m_)(e,t,i)[0];if(null==r)throw new n.A("closestPointOnCurve:unexpected-error","Failed to find close point on bezier curve");return r}if((0,o.aO)(t)){const n=(0,a.pM)(e,t);return(0,r.fM)(n,i)}if((0,o.DA)(t)){const n=(0,l.i)(e,t);return(0,r.fM)(n,i)}const p=(0,u.SW)(e,t);return(0,u.pb)(p,i)}},49208(e,t,i){i.d(t,{Tp:()=>p,jd:()=>c,pO:()=>f,w5:()=>u});var n=i(34727),s=i(86211),r=i(73941),a=i(79258),o=i(34403),l=i(21325);const u={2:{5:f,7:null,9:null,10:f,1:_,6:null,8:null,0:null,3:m,11:y,2:f,4:T},5:{5:f,7:null,9:null,10:f,1:_,6:null,8:null,0:null,3:m,11:y,2:f,4:T},7:{5:null,7:f,9:null,10:f,1:null,6:w,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:f,10:f,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:h,7:null,9:null,10:h,1:function(e,t,i,n){const s=e[t]/B,r=z-2*Math.atan(Math.exp(-e[t+1]/B)),a=B+(e[t+2]??0),o=Math.cos(r)*a;i[n]=Math.cos(s)*o,i[n+1]=Math.sin(s)*o,i[n+2]=Math.sin(r)*a},6:null,8:null,0:null,3:f,11:function(e,t,i,n){h(e,t,i,n),y(i,n,i,n)},2:h,4:function(e,t,i,n){h(e,t,i,n),T(i,n,i,n)}},4:{5:M,7:null,9:null,10:M,1:function(e,t,i,n){M(e,t,i,n),_(i,n,i,n)},6:null,8:null,0:null,3:function(e,t,i,n){M(e,t,i,n),m(i,n,i,n)},11:function(e,t,i,n){M(e,t,i,n),y(i,n,i,n)},2:M,4:f},1:{5:I,7:null,9:null,10:I,1:f,6:null,8:null,0:null,3:function(e,t,i,n){I(e,t,i,n),m(i,n,i,n)},11:function(e,t,i,n){I(e,t,i,n),y(i,n,i,n)},2:I,4:function(e,t,i,n){I(e,t,i,n),T(i,n,i,n)}},6:{5:null,7:R,9:null,10:R,1:null,6:f,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:F,10:F,1:null,6:null,8:f,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:f,3:null,11:null,2:null,4:null},10:{5:f,7:f,9:f,10:f,1:_,6:w,8:v,0:null,3:m,11:y,2:f,4:T},11:{5:g,7:null,9:null,10:g,1:function(e,t,i,n){g(e,t,i,n),_(i,n,i,n)},6:null,8:null,0:null,3:function(e,t,i,n){g(e,t,i,n),m(i,n,i,n)},11:f,2:g,4:function(e,t,i,n){g(e,t,i,n),T(i,n,i,n)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(A.source.spatialReference===e&&A.dest.spatialReference===t)return A;const i=d(e,A.source),n=d(t,A.dest);return 0===i&&0===n?(0,l.aI)(e,t)?A.projector=f:A.projector=null:A.projector=u[i][n],A}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,s.GA)(e,1)),(0,r.jA)(e)?t.spatialReferenceId=1:(0,l.oT)(e)?t.spatialReferenceId=2:(0,l.K8)(e)?t.spatialReferenceId=3:(0,l.r1)(e)?t.spatialReferenceId=11:e.wkt===r.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===r.FY.wkt?t.spatialReferenceId=6:e.wkt===r.LJ.wkt?t.spatialReferenceId=8:(0,r.q8)(e)?t.spatialReferenceId=7:(0,r.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function f(e,t,i,n){e!==i&&(i[n++]=e[t++],i[n++]=e[t++],i[n]=e[t]??0)}function h(e,t,i,n){i[n]=C*(e[t]/B),i[n+1]=C*(z-2*Math.atan(Math.exp(-e[t+1]/B))),i[n+2]=e[t+2]??0}function m(e,t,i,s){!function(e,t,i,s,r){const a=.4999999*Math.PI,o=(0,n.qE)(b*e[t+1],-a,a),l=Math.sin(o);i[s++]=b*e[t]*r.radius,i[s++]=r.halfSemiMajorAxis*Math.log((1+l)/(1-l)),i[s]=e[t+2]??0}(e,t,i,s,a.$O)}function y(e,t,i,n){i[n]=e[t]*O,i[n+1]=e[t+1]*O,i[n+2]=e[t+2]??0}function g(e,t,i,n){i[n]=e[t]*P,i[n+1]=e[t+1]*P,i[n+2]=e[t+2]??0}function x(e,t,i,n,s){const r=s+(e[t+2]??0),a=b*e[t],o=b*e[t+1],l=Math.cos(o)*r;i[n]=Math.cos(a)*l,i[n+1]=Math.sin(a)*l,i[n+2]=Math.sin(o)*r}function v(e,t,i,n){x(e,t,i,n,a.Sw.radius)}function w(e,t,i,n){x(e,t,i,n,a.sH.radius)}function _(e,t,i,n){x(e,t,i,n,a.$O.radius)}function S(e,t,i,s,r){const a=e[t],o=e[t+1],l=e[t+2]??0,u=Math.sqrt(a*a+o*o+l*l),c=(0,n.YN)(l/(0===u?1:u)),p=Math.atan2(o,a);i[s++]=C*p,i[s++]=C*c,i[s]=u-r}function F(e,t,i,n){S(e,t,i,n,a.Sw.radius)}function R(e,t,i,n){S(e,t,i,n,a.sH.radius)}function I(e,t,i,n){S(e,t,i,n,a.$O.radius)}function T(e,t,i,n){!function(e,t,i,n,s){const r=b*e[t],a=b*e[t+1],o=e[t+2]??0,l=Math.sin(a),u=Math.cos(a),c=s.radius/Math.sqrt(1-s.eccentricitySquared*l*l);i[n++]=(c+o)*u*Math.cos(r),i[n++]=(c+o)*u*Math.sin(r),i[n++]=(c*(1-s.eccentricitySquared)+o)*l}(e,t,i,n,a.$O)}function M(e,t,i,n){const s=o.TP,r=e[t],l=e[t+1],u=e[t+2]??0;let c,p,d,f,h,m,y,g,x,v,w,_,S,F,R,I,T,M,A,b,z;c=Math.abs(u),p=r*r+l*l,d=Math.sqrt(p),f=p+u*u,h=Math.sqrt(f),b=Math.atan2(l,r),m=u*u/f,y=p/f,F=s.a2/h,R=s.a3-s.a4/h,y>.3?(g=c/h*(1+y*(s.a1+F+m*R)/h),A=Math.asin(g),v=g*g,x=Math.sqrt(1-v)):(x=d/h*(1-m*(s.a5-F-y*R)/h),A=Math.acos(x),v=1-x*x,g=Math.sqrt(v)),w=1-a.$O.eccentricitySquared*v,_=a.$O.radius/Math.sqrt(w),S=s.a6*_,F=d-_*x,R=c-S*g,T=x*F+g*R,I=x*R-g*F,M=I/(S/w+T),A+=M,z=T+I*M/2,u<0&&(A=-A),i[n++]=C*b,i[n++]=C*A,i[n]=z}const A={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:f},b=(0,n.kU)(1),C=(0,n.KJ)(1),z=.5*Math.PI,B=a.$O.radius,O=B*Math.PI/180,P=180/(B*Math.PI)},51441(e,t,i){i.d(t,{LQ:()=>s,ag:()=>a,pL:()=>r});var n=i(90708);function s(e,t,i,s=e.hasZ,r=e.hasM){if(null==t)return null;const a=e.hasZ&&s,o=e.hasM&&r;if(i){const e=(0,n.Nl)(t,"esriGeometryPoint",i,s,r);return(0,n.DF)(e,a,o)}return(0,n.DF)(t,a,o)}function r(e,t,i,s,r,a){if(null==t)return null;const o="coords"in t?t:t.geometry;if(null==o)return null;const{hasZ:l,hasM:u}=o,c=l&&(r??=l),p=u&&(a??=u);if(i){let t=(0,n.kz)(o,e,i,r,a);return s&&(t=(0,n.Nl)(t,e,s)),(0,n.zv)(t,e,c,p)}if(s){const t=(0,n.Nl)(o,e,s,r,a);return(0,n.zv)(t,e,c,p)}return(0,n.zv)(o,e,c,p)}function a(e){return e&&o in e?JSON.parse(JSON.stringify(e,l)):e}const o="_geVersion",l=(e,t)=>e===o?void 0:t},56390(e,t,i){i.d(t,{do:()=>L,Wc:()=>$});var n=i(4576),s=i(21818),r=i(49186),a=(i(44208),i(4718)),o=i(97768),l=i(74887),u=i(86211),c=i(12195),p=i(91218),d=i(70328),f=i(19419),h=i(537),m=i(60408),y=i(65864),g=i(17136),x=i(21325),v=i(90708),w=i(29441),_=i(51441),S=i(31464);class F{constructor(){this._storage=new Map,this._purgeInterval=5,this._sweep=()=>{if(this._timer=void 0,!this._storage)return;const e=1e3*this._purgeInterval,t=performance.now()-e;for(const[i,n]of this._storage){if(!(n.time<t))return void(this._storage.size>0&&(this._timer=setTimeout(this._sweep,e)));this._storage.delete(i)}}}destroy(){this._storage?.clear(),this._storage=null,clearTimeout(this._timer)}put(e,t){this._storage?.set(e,new I(t)),this._scheduleSweep()}get(e){const t=this._storage?.get(e);if(t)return this._storage?.delete(e),t.time=performance.now(),this._storage?.set(e,t),t.items}clear(){this._storage?.clear()}_scheduleSweep(){this._storage&&(this._timer??=setTimeout(this._sweep,1e3*this._purgeInterval))}get test(){}}let R=0;class I{constructor(e){this.items=e,this.time=performance.now(),this.id=R++}}var T=i(99352),M=i(8384),A=i(58727),b=i(62660),C=i(43668);const z="unsupported-query";async function B(e,{fieldsIndex:t,geometryType:i,spatialReference:n,availableFields:s}){if(null!=e.geometryPrecision||e.multipatchOption&&"xyFootprint"!==e.multipatchOption||e.pixelSize||e.relationParam||e.text)throw new r.A(z,"Unsupported query options",{query:e});return O(t,s,e),function(e,t,i){const{outStatistics:n,groupByFieldsForStatistics:s,having:a}=i,o=s?.length,l=n?.length;if(a){if(!o||!l)throw new r.A(z,"outStatistics and groupByFieldsForStatistics should be specified with having",{query:i});(0,w.eD)(e,t,a,n,i)}if(l){if(null==(u=n)||!u.every(e=>"exceedslimit"!==e.statisticType))return;const a=n.map(e=>e.onStatisticField).filter(Boolean);(0,w.MG)(e,t,a,{expressionName:"onStatisticFields",query:i}),o&&(0,w.MG)(e,t,s,{expressionName:"groupByFieldsForStatistics",query:i});for(const s of n){const{onStatisticField:n,statisticType:a}=s;if("percentile_disc"!==a&&"percentile_cont"!==a||!("statisticParameters"in s))e.get(n)&&"count"!==a&&"min"!==a&&"max"!==a&&(0,w.MG)(e,t,[n],{expressionName:`outStatistics with '${a}' statistic type`,allowedFieldTypes:P,query:i});else{const{statisticParameters:e}=s;if(!e)throw new r.A(z,"statisticParameters should be set for percentile type",{definition:s,query:i})}}}var u}(t,s,e),Promise.all([(0,b.c0)(e,i,n),(0,S.Nk)(n,e.outSR)]).then(()=>e)}function O(e,t,i){const{returnDistinctValues:n,outStatistics:s}=i,a=s?s.map(e=>e.outStatisticFieldName&&e.outStatisticFieldName.toLowerCase()).filter(Boolean):[];if("orderByFields"in i&&i.orderByFields&&i.orderByFields.length>0){const n=" asc",s=" desc",r=i.orderByFields.map(e=>{const t=e.toLowerCase();return t.includes(n)?t.split(n)[0]:t.includes(s)?t.split(s)[0]:e}).filter(e=>!a.includes(e));(0,w.MG)(e,t,r,{expressionName:"orderByFields",query:i})}if("outFields"in i)if(i.outFields?.length)(0,w.MG)(e,t,i.outFields,{expressionName:"outFields",query:i,allowedFieldTypes:"all"});else if(n)throw new r.A(z,"outFields should be specified for returnDistinctValues",{query:i});(0,w.SN)(e,t,i.where,i)}const P=new Set([...w.vl,...w.VW]);async function G(e,t,i,n){let s=[];if(i.valueExpression){const{arcadeUtils:e}=await(0,C.l)();s=e.extractFieldNames(i.valueExpression)}if(i.field&&s.push(i.field),i.field2&&s.push(i.field2),i.field3&&s.push(i.field3),i.normalizationField&&s.push(i.normalizationField),!s.length&&!i.valueExpression)throw new r.A(z,"field or valueExpression is required",{params:i});(0,w.MG)(e,t,s,{expressionName:"statistics",query:n})}var q=i(86420),E=i(95466),j=(i(71511),i(53966),i(36708),i(44794),i(78659)),N=i(5482),D=i(69622),V=i(91429);let Q=class extends D.A{constructor(){super(...arguments),this.SCHEDULER_LOG_SLOW_TASKS=!1,this.FEATURE_SERVICE_SNAPPING_SOURCE_TILE_TREE_SHOW_TILES=!1}};(0,N.Cg)([(0,V.MZ)()],Q.prototype,"SCHEDULER_LOG_SLOW_TASKS",void 0),(0,N.Cg)([(0,V.MZ)()],Q.prototype,"FEATURE_SERVICE_SNAPPING_SOURCE_TILE_TREE_SHOW_TILES",void 0),Q=(0,N.Cg)([(0,V.$K)("esri.views.support.debugFlags")],Q),new Q,Symbol("Yield");new Map([["immediate",0],["schedule",4],["slide",0],["stream loader",0],["elevation query",0],["terrain",1],["surface geometry updates",1],["LoD renderer",2],["Graphics3D",2],["I3S",2],["3DTiles",2],["point cloud",2],["feature fetcher",2],["stream controller",2],["clouds generator",2],["occlusion query",2],["overlay",4],["overlay renderer",4],["stage",4],["graphics deconflictor",4],["graphics filter visibility",4],["graphics scale visibility",4],["graphics frustum visibility",4],["POI frequent",6],["POI infrequent",30],["labeler",8],["feature query",8],["feature tile tree",16],["fast feature tile tree",0],["elevation alignment",12],["elevation alignment scene",14],["text texture atlas",12],["texture unload",12],["line of sight tool",16],["interactive line of sight tool",0],["volume measurement",4],["snapping",0],["shadow accumulator",30],["flow generator",12],["gaussian splat sorting",2],["gaussian splat texture atlas",12],["mapview fetch queue",0],["mapview layerview update",2],["mapview vector tile parsing queue",0]]),(0,j.l5)(6.5),(0,j.l5)(1),(0,j.l5)(30),(0,j.l5)(1e3/30),(0,j.l5)(100);const k=new class{constructor(){this._begin=performance?.now()??0,this._budget=0,this._done=!1,this._progressed=!1,this._enabled=!0}run(e){return!this.done&&(!0===e()&&this.madeProgress(),!0)}get done(){return this._done}get budget(){return this._budget}madeProgress(){return this._progressed=!0,this._done=this.elapsed>=this._budget&&this._enabled,this._done}get enabled(){return this._enabled}set enabled(e){this._enabled=e}reset(e){this._begin=this.now(),this._budget=e,this.resetProgress()}get remaining(){return Math.max(this._budget-this.elapsed,0)}now(){return performance.now()}get elapsed(){return this.now()-this._begin}resetProgress(){this._progressed=!1,this._done=!1}get hasProgressed(){return this._progressed}};k.enabled=!1;const Z=new class{remove(){}processQueue(){}schedule(e,t,i){try{if((0,l.G4)(t)){const e=(0,l.NK)();return i?Promise.resolve(i(e)):Promise.reject(e)}return(0,l.z7)(e(k))}catch(e){return Promise.reject(e)}}reschedule(e,t,i){return this.schedule(e,t,i)}async scheduleGenerator(e,t,i){if((0,l.G4)(t)){const e=(0,l.NK)();if(i)return i(e);throw e}const n=e(k);for(;;){const e=n.next(k),s=(0,l.$X)(e)?await e:e;if((0,l.G4)(t)){const e=(0,l.NK)();if(i){const t=i(e),s=n.return(null);return(0,l.$X)(s)&&await(0,l.QZ)(s),t}const t=n.throw(e);throw(0,l.$X)(t)&&await(0,l.QZ)(t),e}if(s.done)return s.value}}};class L{constructor(e){this._changeHandle=null,this.capabilities={query:T.F},this.geometryType=e.geometryType,this.hasM=!!e.hasM,this.hasZ=!!e.hasZ,this.spatialReference=e.spatialReference,this.definitionExpression=e.definitionExpression,this.featureStore=e.featureStore,this.aggregateAdapter=e.aggregateAdapter,this._cache=e.cache??new F,this.timeInfo=e.timeInfo,this.featureIdInfo=e.featureIdInfo,"object-id"===e.featureIdInfo.type&&(this.objectIdField=e.featureIdInfo.fieldName),this._changeHandle=this.featureStore.events.on("changed",()=>this._clearCache()),this.fieldsIndex=(0,c.W)(e.fieldsIndex)?e.fieldsIndex:E.A.fromJSON(e.fieldsIndex),!e.availableFields||1===e.availableFields.length&&"*"===e.availableFields[0]?this.availableFields=new Set(this.fieldsIndex.fields.map(e=>e.name)):this.availableFields=new Set(e.availableFields.map(e=>this.fieldsIndex.get(e)?.name).filter(e=>null!=e)),e.scheduler&&e.priority?this._frameTask=e.scheduler.registerTask(e.priority):this._frameTask=Z}destroy(){this._changeHandle=(0,o.xt)(this._changeHandle),this._frameTask=(0,o.xt)(this._frameTask),this._clearCache(),(0,o.pR)(this._cache)}get featureAdapter(){return this.featureStore.featureAdapter}async executeQuery(e,t){const i=(0,l.Mq)(t);return await this._frameTask.scheduleGenerator(()=>this._executeQueryFeatureSet(e),i)}async executeQueryForCount(e={},t){const i=(0,l.Mq)(t);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForCount(e),i)}async executeQueryForExtent(e,t){const i=(0,l.Mq)(t);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForExtent(e),i)}async executeQueryForIds(e,t){return Array.from(await this.executeQueryForIdSet(e,t))}async executeQueryForIdSet(e,t){const i=(0,l.Mq)(t);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForIdSet(e),i)}async executeQueryForLatestObservations(e,t){const i=(0,l.Mq)(t);if(!this.timeInfo?.trackIdField)throw new r.A("unsupported-query","Missing timeInfo or timeInfo.trackIdField",{query:e,timeInfo:this.timeInfo});return await this._frameTask.scheduleGenerator(()=>this._executeQueryForLatestObservations(e),i)}async executeQueryForOpaqueFeatures(e,t){const i=(0,l.Mq)(t);return(await this._frameTask.scheduleGenerator(()=>this._executeQuery(e,{}),i)).items}async executeAttributeBinsQuery(e,t){const i=(0,l.Mq)(t);return e=(0,a.o8)(e),await this._frameTask.scheduleGenerator(()=>this._executeAttributeBinsQuery(e),i)}async executeQueryForSummaryStatistics(e={},t,i){const n=(0,l.Mq)(i);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForSummaryStatistics(e,t),n)}async executeQueryForUniqueValues(e={},t,i){const n=(0,l.Mq)(i);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForUniqueValues(e,t),n)}async executeQueryForClassBreaks(e={},t,i){const n=(0,l.Mq)(i);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForClassBreaks(e,t),n)}async executeQueryForHistogram(e={},t,i){const n=(0,l.Mq)(i);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForHistogram(e,t),n)}async executeQueryForSnapping(e,t){const i=(0,l.Mq)(t);return await this._frameTask.scheduleGenerator(()=>this._executeQueryForSnapping(e,i),i)}async fetchRecomputedExtents(e){const t=(0,l.Mq)(e);this._timeExtentPromise||=(0,q.W)(this.timeInfo,this.featureStore);const[i,n]=await Promise.all([this._getFullExtent(),this._timeExtentPromise]);return(0,l.Te)(t),{fullExtent:i,timeExtent:n}}_clearCache(){this._cache.clear(),this._allFeaturesPromise=null,this._timeExtentPromise=null,this._fullExtentPromise=null}async*_executeQueryFeatureSet(e){try{const t=yield*this._executeQuery(e,{});return yield,await t.createQueryResponse()}catch(t){if(t!==A.v8)throw t;return await new M.G([],e,this).createQueryResponse()}}async*_executeQueryForCount(e){try{const t=yield*this._executeQuery(e,{returnGeometry:!1,returnCentroid:!1,outSR:null});return yield,t.createQueryResponseForCount()}catch(e){if(e!==A.v8)throw e;return 0}}async*_executeQueryForExtent(e){const t=e.outSR;try{const i=yield*this._executeQuery(e,{returnGeometry:!0,returnCentroid:!1,outSR:null});yield;const n=i.size;if(!n)return{count:0,extent:null};const s=await this._getBounds(i.items,i.spatialReference,t??this.spatialReference);return yield,{count:n,extent:s}}catch(e){if(e===A.v8)return{count:0,extent:null};throw e}}async*_executeQueryForIdSet(e){try{const t=yield*this._executeQuery(e,{returnGeometry:!0,returnCentroid:!1,outSR:null});yield;const i=t.items,n=new Set;for(const e of i)n.add(t.featureAdapter.getObjectId(e));return n}catch(e){if(e===A.v8)return new Set;throw e}}async*_executeQueryForLatestObservations(e){try{const t=yield*this._executeQuery(e,{});return yield,this._filterLatest(t),yield,await t.createQueryResponse()}catch(t){if(t!==A.v8)throw t;return await new M.G([],e,this).createQueryResponse()}}async*_executeAttributeBinsQuery(e){let t;try{e=await(0,A.iJ)(e,this.definitionExpression,this.spatialReference),yield,e=await async function(e,t){const i=e.bin;if(!i.onField&&!i.onExpression?.value||"autoIntervalBin"===i.type&&null==i.parameters.numberOfBins||"dateBin"===i.type&&(null==i.parameters.number||null==i.parameters.unit)||"fixedBoundariesBin"===i.type&&null==i.parameters.boundaries||"fixedIntervalBin"===i.type&&null==i.parameters.interval)throw new r.A(z,"Unsupported query options",{query:e});return B(e,t)}(e,{availableFields:this.availableFields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,spatialReference:this.spatialReference}),yield;const i=yield*this._executeSceneFilterQuery(e);yield,t=yield*this._executeGeometryQuery(e,i),yield,this._executeAggregateIdsQuery(t),yield,this._executeObjectIdsQuery(t),yield,this._executeTimeQuery(t),yield,this._executeAttributesQuery(t),yield}catch(i){if(i!==A.v8)throw i;t=new M.G([],e,this)}return await t.createQueryBinsResponse(e)}async*_executeQueryForSummaryStatistics(e={},t){const{field:i,normalizationField:n,valueExpression:s}=t,r=yield*this._executeQueryForStatistics(e,{field:i,normalizationField:n,valueExpression:s});return yield,await r.createSummaryStatisticsResponse(t)}async*_executeQueryForUniqueValues(e={},t){const{field:i,field2:n,field3:s,valueExpression:r}=t,a=yield*this._executeQueryForStatistics(e,{field:i,field2:n,field3:s,valueExpression:r});return yield,await a.createUniqueValuesResponse(t)}async*_executeQueryForClassBreaks(e,t){const{field:i,normalizationField:n,valueExpression:s}=t,r=yield*this._executeQueryForStatistics(e,{field:i,normalizationField:n,valueExpression:s});return yield,await r.createClassBreaksResponse(t)}async*_executeQueryForHistogram(e,t){const{field:i,normalizationField:n,valueExpression:s}=t,r=yield*this._executeQueryForStatistics(e,{field:i,normalizationField:n,valueExpression:s});return yield,await r.createHistogramResponse(t)}async*_executeQueryForSnapping(e,t){const{point:i,distance:n,returnEdge:s,vertexMode:r}=e;if(!s&&"none"===r)return{candidates:[]};let o=(0,a.o8)(e.query);o=await(0,A.T2)(o,this.definitionExpression,this.spatialReference),yield,o=await B(o,{availableFields:this.availableFields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,spatialReference:this.spatialReference}),yield;const l=!(0,x.aI)(i.spatialReference,this.spatialReference);l&&(await(0,S.Nk)(i.spatialReference,this.spatialReference),yield);const u="number"==typeof n?n:n.x,c="number"==typeof n?n:n.y,p={xmin:i.x-u,xmax:i.x+u,ymin:i.y-c,ymax:i.y+c,spatialReference:i.spatialReference},d=l?(0,S.Cv)(p,this.spatialReference):p;if(!d)return{candidates:[]};const f=(await(0,g.el)((0,y.rS)(i),null,{signal:t}))[0];yield;const h=(await(0,g.el)((0,y.rS)(d),null,{signal:t}))[0];if(yield,null==f||null==h)return{candidates:[]};const m=await this._searchFeatures(U(h.toJSON()));yield;const v=new M.G(m,o,this);this._executeObjectIdsQuery(v),yield,this._executeTimeQuery(v),yield,this._executeAttributesQuery(v),yield,yield*this._executeGeometryQueryForSnapping(v),yield;const w=f.toJSON(),_=l?(0,S.Cv)(w,this.spatialReference):w,F=l?Math.max(d.xmax-d.xmin,d.ymax-d.ymin)/2:n;return v.createSnappingResponse({...e,point:_,distance:F},o.returnZ,i.spatialReference)}async _getBounds(e,t,i){const n=(0,d.hZ)((0,d.vt)(),d.qv);return await this.featureStore.forEachBounds(e,e=>(0,d.RF)(n,e)),$(n,t,i,this.spatialReference,this.hasZ)}_getFullExtent(){return this._fullExtentPromise||="getFullExtent"in this.featureStore&&this.featureStore.getFullExtent?Promise.resolve(this.featureStore.getFullExtent(this.spatialReference)):this._getAllFeatures().then(e=>this._getBounds(e,this.spatialReference,this.spatialReference)),this._fullExtentPromise}async _getAllFeaturesQueryEngineResult(e){return new M.G(await this._getAllFeatures(),e,this)}async _getAllFeatures(){if(null==this._allFeaturesPromise){const e=[];this._allFeaturesPromise=(async()=>await this.featureStore.forEach(t=>e.push(t)))().then(()=>(0,s.z)(e))}const e=this._allFeaturesPromise,t=await e;return e===this._allFeaturesPromise?t.slice():this._getAllFeatures()}async*_executeQuery(e,t){e=(0,a.o8)(e),e=await(0,A.GC)(e,this.definitionExpression,this.spatialReference),yield,e=await B(e,{availableFields:this.availableFields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,spatialReference:this.spatialReference}),yield,e={...e,...t};const i=yield*this._executeSceneFilterQuery(e);yield;const n=yield*this._executeGeometryQuery(e,i);return yield,this._executeAggregateIdsQuery(n),yield,this._executeObjectIdsQuery(n),yield,this._executeTimeQuery(n),yield,this._executeAttributesQuery(n),n}async*_executeSceneFilterQuery(e){if(null==e.sceneFilter)return null;const{outSR:t,returnGeometry:i,returnCentroid:n}=e,s=this.featureStore.featureSpatialReference,r=e.sceneFilter.geometry,a=null==s||(0,x.aI)(s,r.spatialReference)?r:(0,S.Cv)(r,s);if(!a)return null;const o=i||n,l=(0,x.fn)(t)&&!(0,x.aI)(this.spatialReference,t)&&o?async e=>this._project(e,t):e=>e;yield;const u=this.featureAdapter,c=await this._searchFeatures(U(a));if(yield,"disjoint"===e.sceneFilter.spatialRelationship){if(!c.length)return null;const t=new Set;for(const e of c)t.add(u.getObjectId(e));const i=await this._getAllFeatures();yield;const n=await(0,b.xt)("esriSpatialRelDisjoint",a,this.geometryType);yield;const s=e=>!t.has(u.getObjectId(e))||n(u.getGeometry(e)),r=yield*this._runSpatialFilter(i,s);yield;const o=new M.G(r,e,this);return await l(o)}if(!c.length)return new M.G([],e,this);if(this._canExecuteSinglePass(a,e))return await l(new M.G(c,e,this));const p=await(0,b.xt)("esriSpatialRelContains",a,this.geometryType);yield;const d=yield*this._runSpatialFilter(c,e=>p(u.getGeometry(e)));return yield,await l(new M.G(d,e,this))}async*_executeGeometryQuery(e,t){if(null!=t&&0===t.items.length)return t;const{geometry:i,outSR:s,returnGeometry:r,returnCentroid:a}=e,o=t?null:this._getCacheKey(e),l=o?this._cache.get(o):null;if(l)return new M.G(l,e,this);const u=(0,x.fn)(s)&&!(0,x.aI)(this.spatialReference,s),c=r||a,p=async e=>(u&&c&&await this._project(e,s),o&&this._cache.put(o,e.items),e),d=this.featureStore.featureSpatialReference,f=!i||null==d||(0,x.aI)(d,i.spatialReference)?i:(0,S.Cv)(i,d);if(!f)return await p(null!=t?t:await this._getAllFeaturesQueryEngineResult(e));yield;const h=this.featureAdapter;let m=await this._searchFeatures(U(i));yield;const y=e.spatialRel??"esriSpatialRelIntersects";if("esriSpatialRelDisjoint"===y){if(!m.length)return await p(null!=t?t:await this._getAllFeaturesQueryEngineResult(e));const i=new Set;for(const e of m)i.add(h.getObjectId(e));let n;null!=t?n=t.items:(yield,n=await this._getAllFeatures(),yield);const s=await(0,b.xt)(y,f,this.geometryType);yield;const r=e=>!i.has(h.getObjectId(e))||s(h.getGeometry(e)),a=yield*this._runSpatialFilter(n,r);yield;const o=new M.G(a,e,this);return await p(o)}if(null!=t){const e=new n.vW;m=m.filter(i=>(0,n.qh)(t.items,i,t.items.length,e)>=0)}if(!m.length){const t=new M.G([],e,this);return o&&this._cache.put(o,t.items),t}if(this._canExecuteSinglePass(f,e))return await p(new M.G(m,e,this));const g=await(0,b.xt)(y,f,this.geometryType);yield;const v=yield*this._runSpatialFilter(m,e=>g(h.getGeometry(e)));return yield,await p(new M.G(v,e,this))}_executeAggregateIdsQuery(e){if(0===e.items.length||!e.query.aggregateIds?.length||null==this.aggregateAdapter)return;const t=new Set;for(const i of e.query.aggregateIds)this.aggregateAdapter.getFeatureObjectIds(i).forEach(e=>t.add(e));const i=this.featureAdapter.getObjectId;e.items=e.items.filter(e=>t.has(i(e)))}_executeObjectIdsQuery(e){if(0===e.items.length||!e.query.objectIds?.length)return;const t=new Set(e.query.objectIds),i=this.featureAdapter.getObjectId;e.items=e.items.filter(e=>t.has(i(e)))}_executeTimeQuery(e){if(0===e.items.length)return;const t=(0,q.I)(this.timeInfo,e.query.timeExtent,this.featureAdapter);null!=t&&(e.items=e.items.filter(t))}_executeAttributesQuery(e){if(0===e.items.length)return;const t=(0,w.j4)(e.query.where,this.fieldsIndex);if(t){if(!t.isStandardized)throw new TypeError("Where clause is not standardized");e.items=e.items.filter(e=>t.testFeature(e,this.featureAdapter))}}async*_executeGeometryQueryForSnapping(e){const{query:t}=e,{spatialRel:i}=t;if(!e?.items?.length||!t.geometry||!i)return;const n=await(0,b.xt)(i,t.geometry,this.geometryType);yield;const s=this.featureAdapter,r=yield*this._runSpatialFilter(e.items,e=>n(s.getGeometry(e)));e.items=r}*_runSpatialFilter(e,t){if(!t)return e;if(null==this._frameTask)return e.filter(e=>t(e));let i=yield;const n=new Array;for(const s of e)t(s)&&n.push(s),i.madeProgress(),i.done&&(i=yield);return n}_filterLatest(e){const{trackIdField:t,startTimeField:i,endTimeField:n}=this.timeInfo,s=n||i,r=new Map,a=this.featureAdapter.getAttribute;for(const i of e.items){const e=a(i,t),n=a(i,s),o=r.get(e);(!o||n>a(o,s))&&r.set(e,i)}e.items=Array.from(r.values())}_getCacheKey(e){const{geometry:t,spatialRel:i,returnGeometry:n,returnCentroid:s,outSR:r,resultType:a,cacheHint:o}=e;if("tile"!==a&&!o)return null;const l=n||s;return(0,x.fn)(r)&&!(0,x.aI)(this.spatialReference,r)&&l?JSON.stringify([t,i,r]):JSON.stringify([t,i])}_canExecuteSinglePass(e,t){const{spatialRel:i}=t;return(0,b.tC)(e)&&("esriSpatialRelEnvelopeIntersects"===i||"esriGeometryPoint"===this.geometryType&&("esriSpatialRelIntersects"===i||"esriSpatialRelContains"===i))}async _project(e,t){if(!t||(0,x.aI)(this.spatialReference,t))return e;const i=this.featureAdapter,n=(0,p.isLoaded)()?await this._getFullExtent():void 0,r=await(0,S.lK)(e.items.map(e=>(0,_.pL)(this.geometryType,i.getGeometry(e))),this.spatialReference,t,{areaOfInterestExtent:n});return e.items=(0,s.z)(r.map((t,n)=>i.cloneWithGeometry(e.items[n],(0,v.Ux)(t,this.hasZ,this.hasM),this.geometryType))),e}async _searchFeatures(e){const t=new Set;await Promise.all(e.map(e=>this.featureStore.forEachInBounds(e,e=>t.add(e))));const i=Array.from(t.values());return t.clear(),i}async*_executeQueryForStatistics(e,t){e=(0,a.o8)(e);try{e=await(0,A.GC)(e,this.definitionExpression,this.spatialReference),yield,e=await async function(e,t,{fieldsIndex:i,geometryType:n,spatialReference:s,availableFields:a}){if(null!=e.geometryPrecision||e.multipatchOption||e.pixelSize||e.relationParam||e.text||e.outStatistics||e.groupByFieldsForStatistics||e.having||e.orderByFields)throw new r.A(z,"Unsupported query options",{query:e});return O(i,a,e),Promise.all([G(i,a,t,e),(0,b.c0)(e,n,s),(0,S.Nk)(s,e.outSR)]).then(()=>e)}(e,t,{availableFields:this.availableFields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,spatialReference:this.spatialReference}),yield;const i=yield*this._executeSceneFilterQuery(e);yield;const n=yield*this._executeGeometryQuery(e,i);return yield,this._executeAggregateIdsQuery(n),yield,this._executeObjectIdsQuery(n),yield,this._executeTimeQuery(n),yield,this._executeAttributesQuery(n),yield,n}catch(t){if(t!==A.v8)throw t;return new M.G([],e,this)}}get test(){}}function U(e){if((0,b.tC)(e)){if((0,m.ZC)(e))return[(0,f.fA)(Math.min(e.xmin,e.xmax),Math.min(e.ymin,e.ymax),Math.max(e.xmin,e.xmax),Math.max(e.ymin,e.ymax))];if((0,m.Bi)(e))return e.rings.map(e=>(0,f.fA)(Math.min(e[0][0],e[2][0]),Math.min(e[0][1],e[2][1]),Math.max(e[0][0],e[2][0]),Math.max(e[0][1],e[2][1])))}return[(0,h.Rg)((0,f.vt)(),e)]}function $(e,t,i,n,s){const r={xmin:e[0],ymin:e[1],xmax:e[3],ymax:e[4],spatialReference:(0,_.ag)(n)};s&&isFinite(e[2])&&isFinite(e[5])&&(r.zmin=e[2],r.zmax=e[5],r.hasZ=!0);const a=(0,S.Cv)(r,t,i);if(a.spatialReference=(0,_.ag)(i),a.xmax-a.xmin===0){const e=(0,u.GA)(a.spatialReference);a.xmin-=e,a.xmax+=e}if(a.ymax-a.ymin===0){const e=(0,u.GA)(a.spatialReference);a.ymin-=e,a.ymax+=e}if(s&&null!=a.zmin&&null!=a.zmax&&a.zmax-a.zmin===0){const e=(0,u.GA)(a.spatialReference);a.zmin-=e,a.zmax+=e}return a}},57231(e,t,i){i.d(t,{g:()=>n});const n=(0,i(66552).O)()({year:"years",quarter:"quarters",month:"months",week:"weeks",day:"days",hour:"hours",minute:"minutes",second:"seconds"})},58727(e,t,i){i.d(t,{GC:()=>y,T2:()=>g,VY:()=>f,dO:()=>v,iJ:()=>m,v8:()=>h});var n=i(49186),s=i(66552),r=i(86211),a=i(91218),o=i(90634),l=i(60408),u=i(65864),c=i(17136),p=i(21325),d=i(31464);const f=new s.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),h=Object.freeze({});async function m(e,t,i){const n=e.bin;return n.onField&&(n.onField=n.onField.trim()),n.onExpression?.value&&(n.onExpression.value=n.onExpression.value.trim()),n.splitBy&&(n.splitBy.value&&(n.splitBy.value=n.splitBy.value.trim()),n.splitBy.outAlias&&(n.splitBy.outAlias=n.splitBy.outAlias.trim())),n.stackBy&&(n.stackBy.value&&(n.stackBy.value=n.stackBy.value.trim()),n.stackBy.outAlias&&(n.stackBy.outAlias=n.stackBy.outAlias.trim())),"normalizationField"in n.parameters&&n.parameters.normalizationField&&(n.parameters.normalizationField=n.parameters.normalizationField.trim()),e.outStatistics?.length||(e.outStatistics=[{statisticType:"count",onStatisticField:"1",outStatisticFieldName:"frequency"}]),y(e,t,i)}async function y(e,t,i){const{outFields:n,orderByFields:s,groupByFieldsForStatistics:r,outStatistics:a}=e;if(n)for(let e=0;e<n.length;e++)n[e]=n[e].trim();if(s)for(let e=0;e<s.length;e++)s[e]=s[e].trim();if(r)for(let e=0;e<r.length;e++)r[e]=r[e].trim();if(a)for(let e=0;e<a.length;e++)a[e].onStatisticField&&(a[e].onStatisticField=a[e].onStatisticField.trim());return e.geometry&&!e.outSR&&(e.outSR=e.geometry.spatialReference),g(e,t,i)}async function g(e,t,s){if(!e)return null;let{where:a}=e;if(e.where=a=a?.trim(),(!a||/^1 *= *1$/.test(a)||t&&t===a)&&(e.where=null),!e.geometry)return e;let m=await async function(e){const{distance:t,units:s}=e,a=e.geometry;if(null==t||"vertexAttributes"in a)return a;const o=a.spatialReference,u=s?f.fromJSON(s):(0,r.Ij)(o),c=o&&((0,p.EA)(o)||(0,p.K8)(o))?a:await(0,d.Nk)(o,p.KK).then(()=>(0,d.Cv)(a,p.KK)),h=await i.e(9159).then(i.bind(i,49159));await h.load();const m=h.execute(c,t||1,{unit:u})??void 0;if(!m||!(0,l.Bi)(m)||0===m.rings.length)throw new n.A("unsupported-query:invalid-parameters","Invalid parameters for query by distance");return m}(e);if(e.distance=0,e.units=null,"esriSpatialRelEnvelopeIntersects"===e.spatialRel){const{spatialReference:t}=e.geometry;m=(0,o.HA)(m),m.spatialReference=t}if(m){await(0,d.Nk)(m.spatialReference,s),m=function(e,t){const i=e.spatialReference;return x(e,t)&&(0,l.ZC)(e)?{spatialReference:i,rings:[[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]]]}:e}(m,s);const t=(await(0,c.el)((0,u.rS)(m)))[0];if(null==t)throw h;const i="quantizationParameters"in e&&e.quantizationParameters?.tolerance||"maxAllowableOffset"in e&&e.maxAllowableOffset||0,n=i&&x(m,s)?{extendedParams:{densificationStep:8*i}}:void 0,r=t.toJSON(),a=(0,d.Cv)(r,r.spatialReference,s,n);if(!a)throw h;a.spatialReference=s,e.geometry=a}return e}function x(e,t){if(!e)return!1;const i=e.spatialReference;return((0,l.ZC)(e)||(0,l.Bi)(e)||(0,l.Rg)(e))&&!(0,p.aI)(i,t)&&!(0,a.canProjectWithoutEngine)(i,t)}function v(e,t){return null==e?null:"string"==typeof e?t?new Date(`1970-01-01T${e}Z`).getTime():new Date(e).getTime():e instanceof Date?e.getTime():e}},59977(e,t,i){i.d(t,{A:()=>y});var n=i(5482),s=i(93637),r=i(91429),a=i(56507),o=i(41266),l=i(69540),u=i(25482),c=i(57231),p=i(93223);let d=class extends((0,l.OU)(u.o)){constructor(e){super(e),this.value=null,this.unit=null}};(0,n.Cg)([(0,r.MZ)({type:Number,json:{name:"number",write:!0}})],d.prototype,"value",void 0),(0,n.Cg)([(0,p.e)(c.g)],d.prototype,"unit",void 0),d=(0,n.Cg)([(0,r.$K)("esri.rest.support.DateBinTimeInterval")],d);const f=d;function h(e,t,i){(0,s.sM)(i,"string"==typeof e?e:e?.getTime(),t)}function m(e,t){const i=e.parameters[t];return i?"string"==typeof i?i:new Date(i):null}d.from=(0,a.dp)(d);let y=class extends o.A{constructor(e){super(e),this.end=null,this.interval=null,this.offset=null,this.returnFullIntervalBin=!1,this.start=null,this.snapToData=null,this.type="date"}};(0,n.Cg)([(0,r.MZ)({cast:e=>null!=e?"string"==typeof e?e:new Date(e):null,json:{name:"parameters.end",read:{reader:(e,t)=>m(t,"end")},write:{writer:h}}})],y.prototype,"end",void 0),(0,n.Cg)([(0,r.MZ)({type:f,json:{name:"parameters",write:!0}})],y.prototype,"interval",void 0),(0,n.Cg)([(0,r.MZ)({type:f,json:{name:"parameters.offset",write:!0}})],y.prototype,"offset",void 0),(0,n.Cg)([(0,r.MZ)({type:Boolean,json:{name:"parameters.returnFullIntervalBin",write:!0}})],y.prototype,"returnFullIntervalBin",void 0),(0,n.Cg)([(0,r.MZ)({cast:e=>null!=e?"string"==typeof e?e:new Date(e):null,json:{name:"parameters.start",read:{reader:(e,t)=>m(t,"start")},write:{writer:h}}})],y.prototype,"start",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{name:"parameters.snapToData",write:!0}})],y.prototype,"snapToData",void 0),(0,n.Cg)([(0,p.e)({dateBin:"date"},{readOnly:!0})],y.prototype,"type",void 0),y=(0,n.Cg)([(0,r.$K)("esri.rest.support.DateBinParameters")],y),y.from=(0,a.dp)(y)},60909(e,t,i){i.d(t,{A:()=>p});var n=i(5482),s=i(93637),r=i(91429),a=i(56507),o=i(41266),l=i(41366),u=i(93223);function c(e,t,i){(0,s.sM)(i,e instanceof Date?e.getTime():e,t)}let p=class extends((0,l.K)(o.A)){constructor(e){super(e),this.end=null,this.interval=null,this.start=null,this.type="fixed-interval"}};(0,n.Cg)([(0,r.MZ)({json:{name:"parameters.end",write:{writer:c}}})],p.prototype,"end",void 0),(0,n.Cg)([(0,r.MZ)({type:Number,json:{name:"parameters.interval",write:!0}})],p.prototype,"interval",void 0),(0,n.Cg)([(0,r.MZ)({json:{name:"parameters.start",write:{writer:c}}})],p.prototype,"start",void 0),(0,n.Cg)([(0,u.e)({fixedIntervalBin:"fixed-interval"},{readOnly:!0})],p.prototype,"type",void 0),p=(0,n.Cg)([(0,r.$K)("esri.rest.support.FixedIntervalBinParameters")],p),p.from=(0,a.dp)(p)},62660(e,t,i){i.d(t,{tC:()=>S,c0:()=>_,xt:()=>w});var n=i(49186),s=i(94078),r=i(12176),a=i(60408),o=i(21325);function l(e,t){return c(e,t.coords[0],t.coords[1])}function u(e,t){const{coords:i,lengths:n,stride:s}=t;if(!n)return!1;for(let t=0,r=0;t<n.length;t++,r+=s)if(!c(e,i[r],i[r+1]))return!1;return!0}function c(e,t,i){if(!e)return!1;const{coords:n,lengths:s,stride:r}=e;let a=!1,o=0;for(const e of s)a=p(a,n,r,o,e,t,i),o+=e*r;return a}function p(e,t,i,n,s,r,a){let o=e,l=n;for(let e=n,u=n+s*i;e<u;e+=i){l=e+i,l===u&&(l=n);const s=t[e],c=t[e+1],p=t[l],d=t[l+1];(c<a&&d>=a||d<a&&c>=a)&&s+(a-c)/(d-c)*(p-s)<r&&(o=!o)}return o}var d=i(90708),f=i(51441),h=i(31464);const m="unsupported-query",y={esriSpatialRelIntersects:!0,esriSpatialRelContains:!0,esriSpatialRelWithin:!0,esriSpatialRelCrosses:!0,esriSpatialRelDisjoint:!0,esriSpatialRelTouches:!0,esriSpatialRelOverlaps:!0,esriSpatialRelEnvelopeIntersects:!0,esriSpatialRelIndexIntersects:!1,esriSpatialRelRelation:!1},g={esriGeometryPoint:!0,esriGeometryMultiPatch:!1,esriGeometryMultipoint:!0,esriGeometryPolyline:!0,esriGeometryPolygon:!0,esriGeometryEnvelope:!0},x={esriGeometryPoint:!0,esriGeometryMultiPatch:!0,esriGeometryMultipoint:!0,esriGeometryPolyline:!0,esriGeometryPolygon:!0,esriGeometryEnvelope:!1},v={esriSpatialRelIntersects:()=>Promise.all([i.e(3661),i.e(1878),i.e(8885),i.e(5756),i.e(3299),i.e(8414)]).then(i.bind(i,55284)),esriSpatialRelContains:()=>Promise.all([i.e(3661),i.e(1878),i.e(8885),i.e(5756),i.e(3299),i.e(609)]).then(i.bind(i,51508)),esriSpatialRelCrosses:()=>Promise.all([i.e(3661),i.e(1878),i.e(8885),i.e(5756),i.e(3299),i.e(7316)]).then(i.bind(i,85672)),esriSpatialRelDisjoint:()=>Promise.all([i.e(3661),i.e(1878),i.e(8885),i.e(5756),i.e(3299),i.e(6960)]).then(i.bind(i,7978)),esriSpatialRelEnvelopeIntersects:null,esriSpatialRelIndexIntersects:null,esriSpatialRelOverlaps:()=>Promise.all([i.e(3661),i.e(1878),i.e(8885),i.e(5756),i.e(3299),i.e(3304)]).then(i.bind(i,46178)),esriSpatialRelTouches:()=>Promise.all([i.e(3661),i.e(1878),i.e(8885),i.e(5756),i.e(3299),i.e(7987)]).then(i.bind(i,83547)),esriSpatialRelWithin:()=>Promise.all([i.e(3661),i.e(1878),i.e(8885),i.e(5756),i.e(3299),i.e(1787)]).then(i.bind(i,85445)),esriSpatialRelRelation:null};async function w(e,t,i){if((0,a.Bi)(t)){if("esriGeometryPoint"===i&&("esriSpatialRelIntersects"===e||"esriSpatialRelContains"===e)){const e=(0,d.Ye)(t,!1,!1);return t=>l(e,t)}if("esriGeometryMultipoint"===i){const i=(0,d.Ye)(t,!1,!1);if("esriSpatialRelContains"===e)return e=>u(i,e)}}if((0,a.ZC)(t)){if("esriGeometryPoint"===i&&("esriSpatialRelIntersects"===e||"esriSpatialRelContains"===e))return e=>(0,s.qz)(t,(0,f.pL)(i,e));if("esriGeometryMultipoint"===i&&"esriSpatialRelContains"===e)return e=>(0,s.rL)(t,(0,f.pL)(i,e));if("esriSpatialRelIntersects"===e){const e="mesh"===(n=i)?r.xB:(0,r.xK)(n);return n=>e(t,(0,f.pL)(i,n))}}var n;"esriSpatialRelEnvelopeIntersects"===e&&(e="esriSpatialRelIntersects");const o=await function(e){const t=v[e];if(null==t)throw new Error(`Cannot load unsupported spatial operator: ${e}`);return t()}(e);return e=>o.execute(t,(0,f.pL)(i,e))}async function _(e,t,i){const{spatialRel:s,geometry:r}=e;if(r){if(null==(l=s)||!0!==y[l])throw new n.A(m,"Unsupported query spatial relationship",{query:e});if((0,o.fn)(r.spatialReference)&&(0,o.fn)(i)){if(!function(e){return null!=e&&!0===g[(0,a.$B)(e)]}(r))throw new n.A(m,"Unsupported query geometry type",{query:e});if(!function(e){return null!=e&&!0===x[e]}(t))throw new n.A(m,"Unsupported layer geometry type",{query:e});if(e.outSR)return(0,h.Nk)(e.geometry?.spatialReference,e.outSR)}}var l}function S(e){if((0,a.ZC)(e))return!0;if((0,a.Bi)(e)){for(const t of e.rings){if(5!==t.length)return!1;if(t[0][0]!==t[1][0]||t[0][0]!==t[4][0]||t[2][0]!==t[3][0]||t[0][1]!==t[3][1]||t[0][1]!==t[4][1]||t[1][1]!==t[2][1])return!1}return!0}return!1}},69052(e,t,i){i.d(t,{hr:()=>s,ie:()=>l,uC:()=>o});var n=i(34727);class s{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,i=!1){return r(this.range,this.min,this.max,e,t,i)}clamp(e,t=0){return(0,n.qE)(e-t,this.min,this.max)+t}monotonic(e,t,i){return e<t?t:t+a(this.range,e-t,i)}minimalMonotonic(e,t,i){return r(this.range,e,e+this.range,t,i)}center(e,t,i){return t=this.monotonic(e,t,i),this.normalize((e+t)/2,i)}diff(e,t,i){return this.monotonic(e,t,i)-e}shortestSignedDiff(e,t){e=this.normalize(e);const i=(t=this.normalize(t))-e,n=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(i)<Math.abs(n)?i:n}contains(e,t,i){return t=this.minimalMonotonic(e,t),(i=this.minimalMonotonic(e,i))>e&&i<t}}function r(e,t,i,n,s=0,r=!1){return(n-=s)<t?n+=a(e,t-n):n>i&&(n-=a(e,n-i)),r&&n===i&&(n=t),n+s}function a(e,t,i=0){return Math.ceil((t-i)/e)*e+i}const o=new s(0,2*Math.PI),l=(new s(-Math.PI,Math.PI),new s(0,360))},80754(e,t,i){i.d(t,{j7:()=>a,kS:()=>l,kd:()=>o,r8:()=>u});var n=i(82799),s=i(16930),r=i(60408);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new n.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:s.A.WebMercator}),minus180Line:new n.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:s.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new n.A({paths:[[[180,-180],[180,180]]],spatialReference:s.A.WGS84}),minus180Line:new n.A({paths:[[[-180,-180],[-180,180]]],spatialReference:s.A.WGS84})}};function o(e,t){return Math.ceil((e-t)/(2*t))}function l(e,t){const i=u(e);for(const e of i)for(const i of e)i[0]+=t;return e}function u(e){return(0,r.Bi)(e)?e.rings:e.paths}},86420(e,t,i){i.d(t,{I:()=>r,W:()=>s});var n=i(21818);async function s(e,t){if(!e)return null;const i=t.featureAdapter,{startTimeField:s,endTimeField:r}=e;let a=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;if(s&&r)await t.forEach(e=>{const t=i.getAttribute((0,n.z)(e),s),l=i.getAttribute((0,n.z)(e),r);null==t||isNaN(t)||(a=Math.min(a,t)),null==l||isNaN(l)||(o=Math.max(o,l))});else{const e=s||r;await t.forEach(t=>{const s=i.getAttribute((0,n.z)(t),e);null==s||isNaN(s)||(a=Math.min(a,s),o=Math.max(o,s))})}return{start:a,end:o}}function r(e,t,i){if(!t||!e)return null;const{startTimeField:n,endTimeField:s}=e;if(!n&&!s)return null;const{start:r,end:a}=t;if(null===r&&null===a)return null;if(void 0===r&&void 0===a)return()=>!1;const o=i.getAttributeAsTimestamp?.bind(i)??i.getAttribute.bind(i);return n&&s?function(e,t,i,n,s){return null!=n&&null!=s?r=>{const a=e(r,t),o=e(r,i);return(null==a||a<=s)&&(null==o||o>=n)}:null!=n?t=>{const s=e(t,i);return null==s||s>=n}:null!=s?i=>{const n=e(i,t);return null==n||n<=s}:void 0}(o,n,s,r,a):function(e,t,i,n){return null!=i&&null!=n&&i===n?n=>e(n,t)===i:null!=i&&null!=n?s=>{const r=e(s,t);return null!=r&&r>=i&&r<=n}:null!=i?n=>{const s=e(n,t);return null!=s&&s>=i}:null!=n?i=>{const s=e(i,t);return null!=s&&s<=n}:void 0}(o,n||s,r,a)}},91218(e,t,i){i.r(t),i.d(t,{canProjectWithoutEngine:()=>L,initializeProjection:()=>$,isEqualBaseGCS:()=>U,isLoaded:()=>z,isLoadedOrLoad:()=>B,isLoadedOrLoadFor:()=>O,load:()=>G,project:()=>q,projectAsync:()=>Z,projectExtent:()=>ne,projectMany:()=>E,projectMultipoint:()=>K,projectOrLoad:()=>N,projectOrLoadMany:()=>D,projectPoint:()=>J,projectPolygon:()=>te,projectPolyline:()=>X,projectWithoutEngine:()=>H,requiresLoad:()=>P,test:()=>k,tryProject:()=>j,unload:()=>Q});var n=i(49186),s=i(74887),r=i(62788),a=i(95488),o=i(51850),l=i(21276),u=i(73941),c=i(5443),p=i(91075),d=i(48526),f=i(86738),h=i(39829),m=i(82799),y=i(16930),g=i(98764),x=i(159),v=i(9762),w=i(49208);function _(e,t,i,n,s,r){return S[0]=e,S[1]=t,S[2]=i,(0,v.projectBuffer)(S,n,0,s,r,0)}const S=(0,o.vt)();var F=i(21325),R=i(52006);let I=null,T=null,M=null,A=null,b={};const C=new a.I;function z(){return!!(T?.isLoaded()&&M?.isLoaded()&&A?.isLoaded())}function B(){return!!z()||((0,r.gc)(C),G(),!1)}function O(e,t){return!e||!t||L(e,t)||B()}function P(e,t){return!L(e,t)&&!z()}async function G(e){null==I&&(I=Promise.all([i.e(3276).then(i.bind(i,83276)).then(e=>(T=e,T.load())),i.e(8377).then(i.bind(i,8377)).then(e=>(M=e,M.load())),i.e(2158).then(i.bind(i,12158)).then(e=>(A=e,A.load()))])),await I,(0,s.Te)(e),C.notify()}function q(e,t,i){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),E(e,e[0].spatialReference,t,i)):((0,l.f)(e),E([e],e.spatialReference,t,i)[0])}function E(e,t,i,n){if(null==t||null==i)return e;if(!e.some(e=>(0,R.Ed)(e))&&L(t,i,n))return e.map(e=>H(e,t,i));if(null==n?.geographicTransformation&&(0,u.jA)(t))return E(e.map(e=>H(e,t,y.A.WGS84)),y.A.WGS84,i,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(i))return E(e,t,y.A.WGS84).map(e=>H(e,y.A.WGS84,i));if(!z())throw new V;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:A.getTransformation(t,i,n.areaOfInterestExtent)||new x.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,i);let s=b[e];s||(s=A.getTransformation(t,i)||new x.A,b[e]=s),n={geographicTransformation:s,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?T.executeMany(e,i,n):M.executeMany(e,i,n)}function j(e,t,i){try{return q(e,t,i)}catch(e){return null}}function N(e,t){const i=D([e],t);return null!=i.pending?{pending:i.pending,geometry:null}:null!=i.geometries?{pending:null,geometry:i.geometries[0]}:{pending:null,geometry:null}}function D(e,t,i){if(!z())for(const i of e)if(null!=i&&!(0,F.aI)(i.spatialReference,t)&&(0,F.fn)(i.spatialReference)&&(0,F.fn)(t)&&!L(i.spatialReference,t))return(0,r.gc)(C),{pending:G(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,F.aI)(e.spatialReference,t)?e:(0,F.fn)(e.spatialReference)&&(0,F.fn)(t)?q(e,t,i):null)}}class V extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function Q(){I=null,T=null,M=null,A=null,b={}}const k={get loadPromise(){return I}};async function Z(e,t,i){if((0,s.Te)(i),!e)return e;const n=D(Array.isArray(e)?e:[e],t,i);if(n.pending)return await n.pending,(0,s.Te)(i),Z(e,t,i);const r=n.geometries??[];return Array.isArray(e)?r:r[0]}function L(e,t,i){return!(i?.areaOfInterestExtent||i?.extendedParams||i?.geographicTransformation)&&(!!(0,F.aI)(e,t)||(0,F.fn)(e)&&(0,F.fn)(t)&&!!(0,w.jd)(e,t))}function U(e,t){if((0,F.aI)(e,t))return!0;if(!(0,F.fn)(e)||!(0,F.fn)(t))return!1;const i=(0,F.oT)(e)||(0,F.K8)(e)||(0,F.x1)(e),n=(0,F.oT)(t)||(0,F.K8)(t)||(0,F.x1)(t);return i&&n}async function $(e,t,i,n){if(z())return(0,s.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:i,options:s}of e)if(t&&i&&!L(t,i,s))return G(n)}else if(e&&t&&!L(e,t,i))return G(n);return(0,s.NO)(n)}function H(e,t,i){return e?"x"in e?W(e,t,new f.A,i,0):"xmin"in e?se(e,t,new c.A,i,0):"rings"in e?ie(e,t,new h.A,i,0):"paths"in e?ee(e,t,new m.A,i,0):"points"in e?Y(e,t,new d.A,i,0):null:null}function J(e,t,i=t.spatialReference,n=0){return null!=i&&null!=e.spatialReference&&null!=W(e,e.spatialReference,t,i,n)}function W(e,t,i,n,s){oe[0]=e.x,oe[1]=e.y;const r=e.z;return oe[2]=void 0!==r?r:s,(0,v.projectBuffer)(oe,t,0,oe,n,0)?(i.x=oe[0],i.y=oe[1],i.spatialReference=n,void 0!==r||(0,u.xP)(n)?(i.z=oe[2],i.hasZ=!0):(i.z=void 0,i.hasZ=!1),void 0===e.m?(i.m=void 0,i.hasM=!1):(i.m=e.m,i.hasM=!0),i):null}function K(e,t,i=t.spatialReference,n=0){return null!=e.spatialReference&&null!=i&&null!=Y(e,e.spatialReference,t,i,n)}function Y(e,t,i,n,s){const{points:r,hasZ:a,hasM:o}=e,l=[],u=r.length,c=[];for(const e of r)c.push(e[0],e[1],a?e[2]:s);if(!(0,v.projectBuffer)(c,t,0,c,n,0,u))return null;const p=ae(a,n);for(let e=0;e<u;++e){const t=3*e,i=c[t],n=c[t+1];p&&o?l.push([i,n,c[t+2],r[e][3]]):p?l.push([i,n,c[t+2]]):o?l.push([i,n,r[e][2]]):l.push([i,n])}return i.points=l,i.spatialReference=n,i.hasZ=a,i.hasM=o,i}function X(e,t,i=t.spatialReference,n=0){return null!=e.spatialReference&&null!=i&&null!=ee(e,e.spatialReference,t,i,n)}function ee(e,t,i,n,s){const{paths:r,hasZ:a,hasM:o}=e,l=[];if(!re(r,a??!1,o??!1,t,l,n,s))return null;const u=ae(a,n);return i.paths=l,i.spatialReference=n,i.hasZ=u,i.hasM=o,i}function te(e,t,i=t.spatialReference,n=0){return null!=e.spatialReference&&null!=i&&null!=ie(e,e.spatialReference,t,i,n)}function ie(e,t,i,n,s){const{rings:r,hasZ:a,hasM:o}=e,l=[];if(!re(r,a??!1,o??!1,t,l,n,s))return null;const u=ae(a,n);return i.rings=l,i.spatialReference=n,i.hasZ=u,i.hasM=o,i}function ne(e,t,i=t.spatialReference,n=0){return null!=e.spatialReference&&null!=i&&null!=se(e,e.spatialReference,t,i,n)}function se(e,t,i,n,s){const{xmin:r,ymin:a,xmax:o,ymax:l,hasZ:u,hasM:c}=e;if(!_(r,a,u?e.zmin:s,t,oe,n))return null;const p=ae(u,n);return i.xmin=oe[0],i.ymin=oe[1],p&&(i.zmin=oe[2]),_(o,l,u?e.zmax:s,t,oe,n)?(i.xmax=oe[0],i.ymax=oe[1],p&&(i.zmax=oe[2]),c&&(i.mmin=e.mmin,i.mmax=e.mmax),i.spatialReference=n,i):null}function re(e,t,i,n,s,r,a=0){const o=new Array;for(const i of e)for(const e of i)o.push(e[0],e[1],t?e[2]:a);if(!(0,v.projectBuffer)(o,n,0,o,r,0))return!1;let l=0;s.length=0;const u=ae(t,r);for(const t of e){const e=new Array;for(const n of t)u&&i?e.push([o[l++],o[l++],o[l++],n[3]]):u?e.push([o[l++],o[l++],o[l++]]):i?(e.push([o[l++],o[l++],n[2]]),l++):(e.push([o[l++],o[l++]]),l++);s.push(e)}return!0}function ae(e,t){return e||(0,u.xP)(t)||(0,F.aI)(t,g.Y0)}const oe=(0,o.vt)()},92300(e,t,i){i.d(t,{V:()=>a,X:()=>r});var n=i(60408),s=i(65864);function r(e){return{geometryType:(0,n.$B)(e[0]),geometries:e.map(e=>e.toJSON())}}function a(e,t,i){const n=(0,s.xD)(t);return e.map(e=>{const t=n.fromJSON(e);return t.spatialReference=i,t})}},98764(e,t,i){i.d(t,{GD:()=>a,Y0:()=>u,lO:()=>c});var n=i(73941),s=i(16930),r=i(21325);const a=new s.A(n.fv),o=new s.A(n.FY),l=new s.A(n.LJ),u=new s.A(n.Ro);function c(e){const t=p.get(e);if(t)return t;let i=a;if(e)if(e===o)i=o;else if(e===l)i=l;else{const t=e.wkid,n=e.latestWkid;if(null!=t||null!=n)(0,r.tl)(t)||(0,r.tl)(n)?i=o:((0,r.ZL)(t)||(0,r.ZL)(n))&&(i=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===d?i=o:e===f&&(i=l)}}}return p.set(e,i),i}const p=new Map,d=o.wkt.toUpperCase(),f=l.wkt.toUpperCase()},99157(e,t,i){i.d(t,{A:()=>o});var n,s=i(5482),r=i(69622),a=i(91429);let o=n=class extends r.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,s.Cg)([(0,a.MZ)()],o.prototype,"isInverse",void 0),(0,s.Cg)([(0,a.MZ)()],o.prototype,"wkt",void 0),(0,s.Cg)([(0,a.MZ)()],o.prototype,"wkid",void 0),o=n=(0,s.Cg)([(0,a.$K)("esri.geometry.operators.support.GeographicTransformationStep")],o)},99352(e,t,i){i.d(t,{F:()=>n,P:()=>s});const n={supportsStatistics:!0,supportsPercentileStatistics:!0,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsCentroid:!0,supportsCentroidOnDegeneratedQuantizedGeometry:!0,supportsCacheHint:!0,supportsCurrentUser:!1,supportsDegeneratedQuantizedGeometry:!1,supportsDistance:!0,supportsDistinct:!0,supportsExtent:!0,supportsGeometryProperties:!1,supportsHavingClause:!0,supportsOrderBy:!0,supportsPagination:!0,supportsPaginationOnAggregatedQueries:!1,supportsQuantization:!0,supportsQuantizationEditMode:!1,supportsQueryGeometry:!0,supportsResultType:!0,supportsReturnMesh:!1,supportsSqlExpression:!0,supportsMaxRecordCountFactor:!1,supportsStandardizedQueriesOnly:!0,supportsTopFeaturesQuery:!1,supportsQueryByAnonymous:!0,supportsQueryByOthers:!0,supportsHistoricMoment:!1,supportsFormatPBF:!1,supportsDisjointSpatialRelationship:!0,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsCompactGeometry:!1,maxRecordCountFactor:void 0,maxRecordCount:void 0,maxUniqueIDCount:void 0,relativeTimeBinWindow:0,standardMaxRecordCount:void 0,tileMaxRecordCount:void 0,supportsTrueCurve:!1},s={supportsDate:!0,supportsFixedInterval:!0,supportsAutoInterval:!0,supportsFixedBoundaries:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!0,supportedStatistics:{count:!0,sum:!0,avg:!0,var:!0,stddev:!0,min:!0,max:!0,percentileContinuous:!0,percentileDiscrete:!0,envelope:!0,centroid:!0,convexHull:!0},supportedNormalizationTypes:{field:!0,log:!0,naturalLog:!0,percentOfTotal:!0,squareRoot:!0}}}}]);