@arcgis/core 5.1.0-next.14 → 5.1.0-next.16

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 (590) 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/assets/esri/core/t9n/Units_ar.json +1 -1
  12. package/assets/esri/core/t9n/Units_bg.json +1 -1
  13. package/assets/esri/core/t9n/Units_bs.json +1 -1
  14. package/assets/esri/core/t9n/Units_ca.json +1 -1
  15. package/assets/esri/core/t9n/Units_cs.json +1 -1
  16. package/assets/esri/core/t9n/Units_da.json +1 -1
  17. package/assets/esri/core/t9n/Units_de.json +1 -1
  18. package/assets/esri/core/t9n/Units_el.json +1 -1
  19. package/assets/esri/core/t9n/Units_es.json +1 -1
  20. package/assets/esri/core/t9n/Units_et.json +1 -1
  21. package/assets/esri/core/t9n/Units_fi.json +1 -1
  22. package/assets/esri/core/t9n/Units_fr.json +1 -1
  23. package/assets/esri/core/t9n/Units_he.json +1 -1
  24. package/assets/esri/core/t9n/Units_hr.json +1 -1
  25. package/assets/esri/core/t9n/Units_hu.json +1 -1
  26. package/assets/esri/core/t9n/Units_id.json +1 -1
  27. package/assets/esri/core/t9n/Units_it.json +1 -1
  28. package/assets/esri/core/t9n/Units_ja.json +1 -1
  29. package/assets/esri/core/t9n/Units_ko.json +1 -1
  30. package/assets/esri/core/t9n/Units_lt.json +1 -1
  31. package/assets/esri/core/t9n/Units_lv.json +1 -1
  32. package/assets/esri/core/t9n/Units_nl.json +1 -1
  33. package/assets/esri/core/t9n/Units_no.json +1 -1
  34. package/assets/esri/core/t9n/Units_pl.json +1 -1
  35. package/assets/esri/core/t9n/Units_pt-BR.json +1 -1
  36. package/assets/esri/core/t9n/Units_pt-PT.json +1 -1
  37. package/assets/esri/core/t9n/Units_ro.json +1 -1
  38. package/assets/esri/core/t9n/Units_ru.json +1 -1
  39. package/assets/esri/core/t9n/Units_sk.json +1 -1
  40. package/assets/esri/core/t9n/Units_sl.json +1 -1
  41. package/assets/esri/core/t9n/Units_sr.json +1 -1
  42. package/assets/esri/core/t9n/Units_sv.json +1 -1
  43. package/assets/esri/core/t9n/Units_th.json +1 -1
  44. package/assets/esri/core/t9n/Units_tr.json +1 -1
  45. package/assets/esri/core/t9n/Units_uk.json +1 -1
  46. package/assets/esri/core/t9n/Units_vi.json +1 -1
  47. package/assets/esri/core/t9n/Units_zh-CN.json +1 -1
  48. package/assets/esri/core/t9n/Units_zh-HK.json +1 -1
  49. package/assets/esri/core/t9n/Units_zh-TW.json +1 -1
  50. package/assets/esri/core/workers/RemoteClient.js +1 -1
  51. package/assets/esri/core/workers/chunks/07317f6b57c1314db442.js +1 -0
  52. package/assets/esri/core/workers/chunks/f17a301516f008abef3a.js +1 -0
  53. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  54. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  55. package/assets/esri/widgets/Directions/t9n/Directions_ar.json +1 -1
  56. package/assets/esri/widgets/Directions/t9n/Directions_bg.json +1 -1
  57. package/assets/esri/widgets/Directions/t9n/Directions_bs.json +1 -1
  58. package/assets/esri/widgets/Directions/t9n/Directions_ca.json +1 -1
  59. package/assets/esri/widgets/Directions/t9n/Directions_cs.json +1 -1
  60. package/assets/esri/widgets/Directions/t9n/Directions_da.json +1 -1
  61. package/assets/esri/widgets/Directions/t9n/Directions_de.json +1 -1
  62. package/assets/esri/widgets/Directions/t9n/Directions_el.json +1 -1
  63. package/assets/esri/widgets/Directions/t9n/Directions_es.json +1 -1
  64. package/assets/esri/widgets/Directions/t9n/Directions_et.json +1 -1
  65. package/assets/esri/widgets/Directions/t9n/Directions_fi.json +1 -1
  66. package/assets/esri/widgets/Directions/t9n/Directions_fr.json +1 -1
  67. package/assets/esri/widgets/Directions/t9n/Directions_he.json +1 -1
  68. package/assets/esri/widgets/Directions/t9n/Directions_hr.json +1 -1
  69. package/assets/esri/widgets/Directions/t9n/Directions_hu.json +1 -1
  70. package/assets/esri/widgets/Directions/t9n/Directions_id.json +1 -1
  71. package/assets/esri/widgets/Directions/t9n/Directions_it.json +1 -1
  72. package/assets/esri/widgets/Directions/t9n/Directions_ja.json +1 -1
  73. package/assets/esri/widgets/Directions/t9n/Directions_ko.json +1 -1
  74. package/assets/esri/widgets/Directions/t9n/Directions_lt.json +1 -1
  75. package/assets/esri/widgets/Directions/t9n/Directions_lv.json +1 -1
  76. package/assets/esri/widgets/Directions/t9n/Directions_nl.json +1 -1
  77. package/assets/esri/widgets/Directions/t9n/Directions_no.json +1 -1
  78. package/assets/esri/widgets/Directions/t9n/Directions_pl.json +1 -1
  79. package/assets/esri/widgets/Directions/t9n/Directions_pt-BR.json +1 -1
  80. package/assets/esri/widgets/Directions/t9n/Directions_pt-PT.json +1 -1
  81. package/assets/esri/widgets/Directions/t9n/Directions_ro.json +1 -1
  82. package/assets/esri/widgets/Directions/t9n/Directions_ru.json +1 -1
  83. package/assets/esri/widgets/Directions/t9n/Directions_sk.json +1 -1
  84. package/assets/esri/widgets/Directions/t9n/Directions_sl.json +1 -1
  85. package/assets/esri/widgets/Directions/t9n/Directions_sr.json +1 -1
  86. package/assets/esri/widgets/Directions/t9n/Directions_sv.json +1 -1
  87. package/assets/esri/widgets/Directions/t9n/Directions_th.json +1 -1
  88. package/assets/esri/widgets/Directions/t9n/Directions_tr.json +1 -1
  89. package/assets/esri/widgets/Directions/t9n/Directions_uk.json +1 -1
  90. package/assets/esri/widgets/Directions/t9n/Directions_vi.json +1 -1
  91. package/assets/esri/widgets/Directions/t9n/Directions_zh-CN.json +1 -1
  92. package/assets/esri/widgets/Directions/t9n/Directions_zh-HK.json +1 -1
  93. package/assets/esri/widgets/Directions/t9n/Directions_zh-TW.json +1 -1
  94. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  95. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  96. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  97. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  98. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  99. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  100. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  101. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  102. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  103. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  104. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  105. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  106. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  107. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  108. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  109. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  110. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  111. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  112. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  113. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  114. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  115. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  116. package/assets/esri/widgets/Editor/t9n/Editor_no.json +1 -1
  117. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  118. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  119. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  120. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  121. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  122. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  123. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  124. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  125. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  126. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  127. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  128. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  129. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  130. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  131. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  132. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  133. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  134. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  135. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  136. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  137. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  138. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  139. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  140. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  141. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  142. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  143. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  144. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  145. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  146. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  147. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  148. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  149. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  150. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  151. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  152. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  153. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  154. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  155. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  156. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  157. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  158. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  159. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  160. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  161. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  162. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  163. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  164. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  165. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  166. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  167. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  168. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  169. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  170. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  171. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  172. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  173. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  174. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  175. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  176. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  177. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  178. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  179. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  180. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  181. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  182. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  183. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  184. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  185. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  186. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  187. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  188. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  189. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  190. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  191. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  192. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  193. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  194. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  195. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  196. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  197. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  198. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  199. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  200. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  201. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  202. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  203. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  204. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  205. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  206. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  207. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  208. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  209. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  210. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  211. package/assets/esri/widgets/Sketch/t9n/Sketch_ar.json +1 -1
  212. package/assets/esri/widgets/Sketch/t9n/Sketch_bg.json +1 -1
  213. package/assets/esri/widgets/Sketch/t9n/Sketch_bs.json +1 -1
  214. package/assets/esri/widgets/Sketch/t9n/Sketch_ca.json +1 -1
  215. package/assets/esri/widgets/Sketch/t9n/Sketch_cs.json +1 -1
  216. package/assets/esri/widgets/Sketch/t9n/Sketch_da.json +1 -1
  217. package/assets/esri/widgets/Sketch/t9n/Sketch_de.json +1 -1
  218. package/assets/esri/widgets/Sketch/t9n/Sketch_el.json +1 -1
  219. package/assets/esri/widgets/Sketch/t9n/Sketch_es.json +1 -1
  220. package/assets/esri/widgets/Sketch/t9n/Sketch_et.json +1 -1
  221. package/assets/esri/widgets/Sketch/t9n/Sketch_fi.json +1 -1
  222. package/assets/esri/widgets/Sketch/t9n/Sketch_fr.json +1 -1
  223. package/assets/esri/widgets/Sketch/t9n/Sketch_he.json +1 -1
  224. package/assets/esri/widgets/Sketch/t9n/Sketch_hr.json +1 -1
  225. package/assets/esri/widgets/Sketch/t9n/Sketch_hu.json +1 -1
  226. package/assets/esri/widgets/Sketch/t9n/Sketch_id.json +1 -1
  227. package/assets/esri/widgets/Sketch/t9n/Sketch_it.json +1 -1
  228. package/assets/esri/widgets/Sketch/t9n/Sketch_ja.json +1 -1
  229. package/assets/esri/widgets/Sketch/t9n/Sketch_ko.json +1 -1
  230. package/assets/esri/widgets/Sketch/t9n/Sketch_lt.json +1 -1
  231. package/assets/esri/widgets/Sketch/t9n/Sketch_lv.json +1 -1
  232. package/assets/esri/widgets/Sketch/t9n/Sketch_nl.json +1 -1
  233. package/assets/esri/widgets/Sketch/t9n/Sketch_no.json +1 -1
  234. package/assets/esri/widgets/Sketch/t9n/Sketch_pl.json +1 -1
  235. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-BR.json +1 -1
  236. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-PT.json +1 -1
  237. package/assets/esri/widgets/Sketch/t9n/Sketch_ro.json +1 -1
  238. package/assets/esri/widgets/Sketch/t9n/Sketch_ru.json +1 -1
  239. package/assets/esri/widgets/Sketch/t9n/Sketch_sk.json +1 -1
  240. package/assets/esri/widgets/Sketch/t9n/Sketch_sl.json +1 -1
  241. package/assets/esri/widgets/Sketch/t9n/Sketch_sr.json +1 -1
  242. package/assets/esri/widgets/Sketch/t9n/Sketch_sv.json +1 -1
  243. package/assets/esri/widgets/Sketch/t9n/Sketch_th.json +1 -1
  244. package/assets/esri/widgets/Sketch/t9n/Sketch_tr.json +1 -1
  245. package/assets/esri/widgets/Sketch/t9n/Sketch_uk.json +1 -1
  246. package/assets/esri/widgets/Sketch/t9n/Sketch_vi.json +1 -1
  247. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-CN.json +1 -1
  248. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-HK.json +1 -1
  249. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-TW.json +1 -1
  250. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ar.json +1 -1
  251. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bg.json +1 -1
  252. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bs.json +1 -1
  253. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ca.json +1 -1
  254. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_cs.json +1 -1
  255. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_da.json +1 -1
  256. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_de.json +1 -1
  257. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_el.json +1 -1
  258. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_es.json +1 -1
  259. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_et.json +1 -1
  260. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fi.json +1 -1
  261. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fr.json +1 -1
  262. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_he.json +1 -1
  263. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hr.json +1 -1
  264. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hu.json +1 -1
  265. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_id.json +1 -1
  266. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_it.json +1 -1
  267. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ja.json +1 -1
  268. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ko.json +1 -1
  269. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lt.json +1 -1
  270. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lv.json +1 -1
  271. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_nl.json +1 -1
  272. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_no.json +1 -1
  273. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pl.json +1 -1
  274. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-BR.json +1 -1
  275. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-PT.json +1 -1
  276. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ro.json +1 -1
  277. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ru.json +1 -1
  278. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sk.json +1 -1
  279. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sl.json +1 -1
  280. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sr.json +1 -1
  281. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sv.json +1 -1
  282. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_th.json +1 -1
  283. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_tr.json +1 -1
  284. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_uk.json +1 -1
  285. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_vi.json +1 -1
  286. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-CN.json +1 -1
  287. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-HK.json +1 -1
  288. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-TW.json +1 -1
  289. package/chunks/Fog.glsl.js +1 -1
  290. package/config.js +1 -1
  291. package/core/sql/types.d.ts +398 -86
  292. package/effects/FocusAreas.d.ts +1 -1
  293. package/form/elements/FieldElement.d.ts +1 -1
  294. package/form/elements/GroupElement.d.ts +1 -1
  295. package/form/elements/TextElement.d.ts +1 -1
  296. package/form/elements/inputs/ComboBoxInput.d.ts +1 -1
  297. package/form/elements/inputs/RadioButtonsInput.d.ts +1 -1
  298. package/form/elements/inputs/SwitchInput.d.ts +1 -1
  299. package/geometry/Mesh.d.ts +7 -7
  300. package/geometry/operators/alphaShapeOperator.d.ts +1 -1
  301. package/geometry/operators/areaOperator.d.ts +1 -1
  302. package/geometry/operators/bufferOperator.d.ts +1 -1
  303. package/geometry/operators/centroidOperator.d.ts +1 -1
  304. package/geometry/operators/clipOperator.d.ts +1 -1
  305. package/geometry/operators/containsOperator.d.ts +1 -1
  306. package/geometry/operators/convexHullOperator.d.ts +1 -1
  307. package/geometry/operators/crossesOperator.d.ts +1 -1
  308. package/geometry/operators/cutOperator.d.ts +1 -1
  309. package/geometry/operators/densifyOperator.d.ts +1 -1
  310. package/geometry/operators/differenceOperator.d.ts +1 -1
  311. package/geometry/operators/disjointOperator.d.ts +1 -1
  312. package/geometry/operators/distanceOperator.d.ts +1 -1
  313. package/geometry/operators/generalizeOperator.d.ts +1 -1
  314. package/geometry/operators/geodesicProximityOperator.d.ts +1 -1
  315. package/geometry/operators/geodeticDistanceOperator.d.ts +1 -1
  316. package/geometry/operators/geodeticUtilsOperator.d.ts +2 -2
  317. package/geometry/operators/graphicBufferOperator.d.ts +1 -1
  318. package/geometry/operators/intersectionOperator.d.ts +1 -1
  319. package/geometry/operators/intersectsOperator.d.ts +1 -1
  320. package/geometry/operators/isNearOperator.d.ts +1 -1
  321. package/geometry/operators/lengthOperator.d.ts +1 -1
  322. package/geometry/operators/locateBetweenOperator.d.ts +1 -1
  323. package/geometry/operators/multiPartToSinglePartOperator.d.ts +1 -1
  324. package/geometry/operators/offsetOperator.d.ts +5 -5
  325. package/geometry/operators/overlapsOperator.d.ts +1 -1
  326. package/geometry/operators/proximityOperator.d.ts +1 -1
  327. package/geometry/operators/simplifyOGCOperator.d.ts +1 -1
  328. package/geometry/operators/simplifyOperator.d.ts +1 -1
  329. package/geometry/operators/support/Transformation.d.ts +6 -6
  330. package/geometry/operators/symmetricDifferenceOperator.d.ts +1 -1
  331. package/geometry/operators/touchesOperator.d.ts +1 -1
  332. package/geometry/operators/unionOperator.d.ts +1 -1
  333. package/geometry/operators/withinOperator.d.ts +1 -1
  334. package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
  335. package/kernel.js +1 -1
  336. package/layers/BuildingSceneLayer.d.ts +4 -4
  337. package/layers/CSVLayer.d.ts +4 -4
  338. package/layers/CatalogLayer.d.ts +2 -2
  339. package/layers/ElevationLayer.d.ts +1 -1
  340. package/layers/FeatureLayer.d.ts +2 -2
  341. package/layers/GaussianSplatLayer.d.ts +77 -10
  342. package/layers/GeoJSONLayer.d.ts +3 -3
  343. package/layers/GeoRSSLayer.d.ts +1 -1
  344. package/layers/GraphicsLayer.d.ts +2 -2
  345. package/layers/ImageryLayer.d.ts +3 -3
  346. package/layers/ImageryTileLayer.d.ts +2 -2
  347. package/layers/IntegratedMesh3DTilesLayer.d.ts +6 -6
  348. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  349. package/layers/IntegratedMeshLayer.d.ts +7 -7
  350. package/layers/Layer.d.ts +2 -0
  351. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  352. package/layers/MapImageLayer.d.ts +1 -1
  353. package/layers/MediaLayer.d.ts +1 -1
  354. package/layers/OGCFeatureLayer.d.ts +2 -2
  355. package/layers/PointCloudLayer.d.ts +1 -1
  356. package/layers/SceneLayer.d.ts +9 -9
  357. package/layers/StreamLayer.d.ts +2 -2
  358. package/layers/VectorTileLayer.d.ts +2 -2
  359. package/layers/VideoLayer.d.ts +1 -1
  360. package/layers/VoxelLayer.d.ts +8 -8
  361. package/layers/WFSLayer.d.ts +6 -6
  362. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
  363. package/layers/mixins/BlendLayer.d.ts +6 -6
  364. package/layers/pointCloudFilters/PointCloudReturnFilter.d.ts +1 -1
  365. package/layers/pointCloudFilters/PointCloudValueFilter.d.ts +1 -1
  366. package/layers/support/DimensionalDefinition.d.ts +2 -2
  367. package/layers/support/FeatureEffect.d.ts +4 -4
  368. package/layers/support/FeatureFilter.d.ts +17 -17
  369. package/layers/support/FeatureReductionBinning.d.ts +1 -1
  370. package/layers/support/FeatureReductionCluster.d.ts +9 -9
  371. package/layers/support/FeatureReductionSelection.d.ts +1 -1
  372. package/layers/support/LabelClass.d.ts +2 -2
  373. package/layers/support/RasterFunction.d.ts +1 -1
  374. package/layers/support/SceneFilter.d.ts +2 -2
  375. package/layers/support/SceneModification.d.ts +3 -3
  376. package/layers/types.d.ts +24 -10
  377. package/package.json +1 -1
  378. package/popup/content/AttachmentsContent.d.ts +1 -1
  379. package/popup/content/BarChartMediaInfo.d.ts +1 -1
  380. package/popup/content/ColumnChartMediaInfo.d.ts +1 -1
  381. package/popup/content/FieldsContent.d.ts +1 -1
  382. package/popup/content/ImageMediaInfo.d.ts +1 -1
  383. package/popup/content/LineChartMediaInfo.d.ts +1 -1
  384. package/popup/content/MediaContent.d.ts +1 -1
  385. package/popup/content/PieChartMediaInfo.d.ts +1 -1
  386. package/popup/content/RelationshipContent.d.ts +1 -1
  387. package/popup/content/TextContent.d.ts +1 -1
  388. package/renderers/ClassBreaksRenderer.d.ts +1 -1
  389. package/renderers/DictionaryRenderer.d.ts +1 -1
  390. package/renderers/DotDensityRenderer.d.ts +3 -3
  391. package/renderers/FlowRenderer.d.ts +6 -6
  392. package/renderers/HeatmapRenderer.d.ts +3 -3
  393. package/renderers/PieChartRenderer.d.ts +1 -1
  394. package/renderers/RasterShadedReliefRenderer.d.ts +1 -1
  395. package/renderers/Renderer.d.ts +4 -4
  396. package/renderers/SimpleRenderer.d.ts +2 -2
  397. package/renderers/UniqueValueRenderer.d.ts +2 -2
  398. package/renderers/VectorFieldRenderer.d.ts +1 -1
  399. package/renderers/mixins/VisualVariablesMixin.d.ts +12 -12
  400. package/renderers/visualVariables/ColorVariable.d.ts +1 -1
  401. package/renderers/visualVariables/OpacityVariable.d.ts +1 -1
  402. package/renderers/visualVariables/RotationVariable.d.ts +1 -1
  403. package/renderers/visualVariables/SizeVariable.d.ts +1 -1
  404. package/renderers/visualVariables/VisualVariable.d.ts +1 -1
  405. package/rest/query/support/AttachmentInfo.d.ts +1 -1
  406. package/rest/support/AutoIntervalBinParameters.d.ts +1 -1
  407. package/rest/support/DateBinParameters.d.ts +1 -1
  408. package/rest/support/FixedBoundariesBinParameters.d.ts +1 -1
  409. package/rest/support/FixedIntervalBinParameters.d.ts +1 -1
  410. package/smartMapping/labels/clusters.d.ts +1 -1
  411. package/smartMapping/popup/clusters.d.ts +2 -2
  412. package/smartMapping/popup/templates.d.ts +1 -1
  413. package/smartMapping/raster/renderers/flow.d.ts +2 -2
  414. package/smartMapping/renderers/color.d.ts +12 -12
  415. package/smartMapping/renderers/predominance.d.ts +3 -3
  416. package/smartMapping/renderers/relationship.d.ts +15 -15
  417. package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
  418. package/smartMapping/symbology/color.d.ts +4 -4
  419. package/smartMapping/symbology/flow.d.ts +2 -2
  420. package/smartMapping/symbology/types.d.ts +18 -18
  421. package/support/actions/ActionButton.d.ts +1 -1
  422. package/support/revision.js +1 -1
  423. package/symbols/CIMSymbol.d.ts +1 -1
  424. package/symbols/ExtrudeSymbol3DLayer.d.ts +1 -1
  425. package/symbols/FillSymbol3DLayer.d.ts +3 -3
  426. package/symbols/IconSymbol3DLayer.d.ts +1 -1
  427. package/symbols/LabelSymbol3D.d.ts +2 -2
  428. package/symbols/LineStyleMarker3D.d.ts +7 -7
  429. package/symbols/LineSymbol3D.d.ts +2 -2
  430. package/symbols/LineSymbol3DLayer.d.ts +7 -7
  431. package/symbols/LineSymbolMarker.d.ts +6 -6
  432. package/symbols/MarkerSymbol.d.ts +1 -1
  433. package/symbols/MeshSymbol3D.d.ts +2 -2
  434. package/symbols/ObjectSymbol3DLayer.d.ts +1 -1
  435. package/symbols/PathSymbol3DLayer.d.ts +14 -14
  436. package/symbols/PictureFillSymbol.d.ts +1 -1
  437. package/symbols/PictureMarkerSymbol.d.ts +1 -1
  438. package/symbols/PointSymbol3D.d.ts +3 -3
  439. package/symbols/PolygonSymbol3D.d.ts +7 -7
  440. package/symbols/SimpleFillSymbol.d.ts +8 -8
  441. package/symbols/SimpleLineSymbol.d.ts +20 -20
  442. package/symbols/SimpleMarkerSymbol.d.ts +7 -7
  443. package/symbols/Symbol3DLayer.d.ts +16 -16
  444. package/symbols/TextSymbol.d.ts +1 -1
  445. package/symbols/TextSymbol3DLayer.d.ts +1 -1
  446. package/symbols/WaterSymbol3DLayer.d.ts +3 -3
  447. package/symbols/WebStyleSymbol.d.ts +1 -1
  448. package/symbols/callouts/Callout3D.d.ts +1 -1
  449. package/symbols/callouts/LineCallout3D.d.ts +3 -3
  450. package/symbols/cim/types.d.ts +23 -23
  451. package/symbols/edges/Edges3D.d.ts +1 -1
  452. package/symbols/edges/SolidEdges3D.d.ts +1 -1
  453. package/symbols/patterns/LineStylePattern3D.d.ts +11 -11
  454. package/symbols/patterns/StylePattern3D.d.ts +8 -8
  455. package/symbols/support/ElevationInfo.d.ts +4 -4
  456. package/symbols/support/IconSymbol3DLayerResource.d.ts +6 -6
  457. package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -7
  458. package/symbols/support/Symbol3DEmissive.d.ts +19 -6
  459. package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
  460. package/versionManagement/VersionManagementService.d.ts +4 -0
  461. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  462. package/views/2d/layers/BaseLayerViewGL2D.d.ts +1 -1
  463. package/views/2d/layers/features/sources/strategies/chunks/SourceChunkStore.js +1 -1
  464. package/views/2d/types.d.ts +3 -3
  465. package/views/3d/environment/CloudyWeather.d.ts +1 -1
  466. package/views/3d/environment/Environment.d.ts +4 -4
  467. package/views/3d/environment/FoggyWeather.d.ts +1 -1
  468. package/views/3d/environment/RainyWeather.d.ts +1 -1
  469. package/views/3d/environment/SnowyWeather.d.ts +1 -1
  470. package/views/3d/environment/SunLighting.d.ts +1 -1
  471. package/views/3d/environment/SunnyWeather.d.ts +1 -1
  472. package/views/3d/environment/VirtualLighting.d.ts +1 -1
  473. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  474. package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
  475. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  476. package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
  477. package/views/3d/support/gaussianSplatting/GaussianSplatOrderTexture.js +1 -1
  478. package/views/3d/webgl/RenderNode.d.ts +2 -2
  479. package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
  480. package/views/3d/webgl-engine/materials/LineCalloutMaterial.js +1 -1
  481. package/views/3d/webgl-engine/materials/LineCalloutMaterialBaseInstance.js +2 -0
  482. package/views/3d/webgl-engine/materials/renderers/VaoWriter.js +1 -1
  483. package/views/3d/webgl-engine/shaders/LineCalloutTechnique.js +1 -1
  484. package/views/3d/webgl.d.ts +1 -1
  485. package/views/Magnifier.d.ts +3 -3
  486. package/views/MapView.d.ts +7 -7
  487. package/views/SceneView.d.ts +17 -17
  488. package/views/View.d.ts +2 -2
  489. package/views/interactive/sketch/SketchLabelOptions.d.ts +1 -1
  490. package/views/interactive/sketch/SketchTooltipOptions.d.ts +1 -1
  491. package/views/interactive/snapping/SnappingOptions.d.ts +7 -7
  492. package/views/support/HighlightOptions.d.ts +1 -1
  493. package/views/ui/DefaultUI.d.ts +2 -2
  494. package/views/webgl/BufferObject.js +1 -1
  495. package/views/webgl/RenderingContext.js +1 -1
  496. package/webscene/Environment.d.ts +16 -11
  497. package/webscene/Glow.d.ts +4 -2
  498. package/webscene/background/ColorBackground.d.ts +1 -1
  499. package/widgets/AreaMeasurement2D.d.ts +1 -1
  500. package/widgets/AreaMeasurement3D.d.ts +2 -2
  501. package/widgets/Attachments.d.ts +1 -1
  502. package/widgets/Attribution.d.ts +1 -1
  503. package/widgets/BasemapGallery.d.ts +1 -1
  504. package/widgets/BasemapLayerList.d.ts +3 -3
  505. package/widgets/BasemapToggle.d.ts +1 -1
  506. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +1 -2
  507. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.d.ts +0 -1
  508. package/widgets/BatchAttributeForm.d.ts +0 -2
  509. package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +1 -1
  510. package/widgets/Bookmarks.d.ts +2 -2
  511. package/widgets/BuildingExplorer.d.ts +1 -1
  512. package/widgets/CatalogLayerList.d.ts +3 -3
  513. package/widgets/Compass.d.ts +2 -2
  514. package/widgets/CoordinateConversion.d.ts +1 -1
  515. package/widgets/Daylight.d.ts +5 -5
  516. package/widgets/DirectLineMeasurement3D.d.ts +2 -2
  517. package/widgets/Directions.d.ts +4 -4
  518. package/widgets/DistanceMeasurement2D.d.ts +1 -1
  519. package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
  520. package/widgets/Editor/EditorViewModel.js +1 -1
  521. package/widgets/Editor.d.ts +8 -8
  522. package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -1
  523. package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -1
  524. package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +1 -1
  525. package/widgets/ElevationProfile.d.ts +3 -3
  526. package/widgets/Expand.d.ts +1 -1
  527. package/widgets/FeatureForm.d.ts +1 -1
  528. package/widgets/FeatureTable/ActionColumn.d.ts +2 -2
  529. package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
  530. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -3
  531. package/widgets/FeatureTable/Grid/GroupColumn.d.ts +1 -1
  532. package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
  533. package/widgets/FeatureTable/VisibleElements.d.ts +1 -1
  534. package/widgets/FeatureTable.d.ts +10 -10
  535. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +5 -5
  536. package/widgets/FeatureTemplates.d.ts +8 -8
  537. package/widgets/Features/FeaturesViewModel.d.ts +2 -2
  538. package/widgets/Features/FeaturesVisibleElements.d.ts +2 -2
  539. package/widgets/Features.d.ts +1 -1
  540. package/widgets/Histogram.d.ts +2 -2
  541. package/widgets/HistogramRangeSlider.d.ts +1 -1
  542. package/widgets/Home.d.ts +1 -1
  543. package/widgets/LayerList/ListItemPanel.d.ts +1 -1
  544. package/widgets/LayerList.d.ts +4 -4
  545. package/widgets/Legend.d.ts +8 -8
  546. package/widgets/LineOfSight.d.ts +1 -1
  547. package/widgets/Locate.d.ts +2 -2
  548. package/widgets/Measurement.d.ts +1 -1
  549. package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
  550. package/widgets/NavigationToggle.d.ts +3 -3
  551. package/widgets/Popup/PopupVisibleElements.d.ts +2 -2
  552. package/widgets/Popup.d.ts +5 -5
  553. package/widgets/Print/CustomTemplate.d.ts +1 -1
  554. package/widgets/Print/TemplateOptions.d.ts +4 -4
  555. package/widgets/ScaleRangeSlider.d.ts +1 -1
  556. package/widgets/Search/SearchViewModel.d.ts +4 -4
  557. package/widgets/Search.d.ts +5 -5
  558. package/widgets/ShadowCast.d.ts +3 -3
  559. package/widgets/Sketch/SketchViewModel.d.ts +39 -39
  560. package/widgets/Sketch.d.ts +43 -43
  561. package/widgets/Slice.d.ts +2 -2
  562. package/widgets/Slider/SliderViewModel.d.ts +2 -2
  563. package/widgets/Slider.d.ts +9 -9
  564. package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
  565. package/widgets/Swipe.d.ts +2 -2
  566. package/widgets/TableList/ListItemPanel.d.ts +1 -1
  567. package/widgets/TableList.d.ts +1 -1
  568. package/widgets/TimeSlider/TimeSliderViewModel.d.ts +8 -9
  569. package/widgets/TimeSlider/types.d.ts +1 -1
  570. package/widgets/TimeSlider.d.ts +11 -12
  571. package/widgets/Track.d.ts +2 -2
  572. package/widgets/UtilityNetworkAssociations.d.ts +3 -3
  573. package/widgets/UtilityNetworkTrace.d.ts +4 -4
  574. package/widgets/UtilityNetworkValidateTopology.d.ts +1 -1
  575. package/widgets/ValuePicker.d.ts +5 -5
  576. package/widgets/VideoPlayer.d.ts +1 -1
  577. package/widgets/smartMapping/ClassedColorSlider.d.ts +1 -1
  578. package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
  579. package/widgets/smartMapping/ColorSizeSlider.d.ts +2 -2
  580. package/widgets/smartMapping/ColorSlider.d.ts +1 -1
  581. package/widgets/smartMapping/HeatmapSlider.d.ts +1 -1
  582. package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
  583. package/widgets/smartMapping/SizeSlider.d.ts +1 -1
  584. package/widgets/smartMapping/SmartMappingSliderBase.d.ts +4 -4
  585. package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +6 -6
  586. package/widgets/support/GridControls.d.ts +1 -1
  587. package/widgets/support/SnappingControls/VisibleElements.d.ts +1 -1
  588. package/widgets/support/SnappingControls.d.ts +6 -6
  589. package/assets/esri/core/workers/chunks/008887a8014b61f837ae.js +0 -1
  590. package/assets/esri/core/workers/chunks/7c01e5eaab97a9ae80ad.js +0 -1
@@ -13,12 +13,12 @@ export interface SmartMappingSliderViewModelProperties<StopType extends SmartMap
13
13
  * The image below demonstrates how slider input values resemble corresponding slider values by default
14
14
  * and won't match the formatting set in `labelFormatFunction`.
15
15
  *
16
- * ![Slider without input formatter](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-no-input-formatter.png "Slider without input formatter")
16
+ * ![Slider without input formatter](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/sliders/slider-no-input-formatter.png "Slider without input formatter")
17
17
  *
18
18
  * If you want to format slider input values so they match thumb labels, you can pass the same function set in `labelFormatFunction` to
19
19
  * `inputFormatFunction` for consistent formatting.
20
20
  *
21
- * ![Slider with input formatter](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-input-formatter.png "Slider with input formatter")
21
+ * ![Slider with input formatter](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/sliders/slider-input-formatter.png "Slider with input formatter")
22
22
  *
23
23
  * However, if an `inputFormatFunction` is specified, you must also write a corresponding
24
24
  * [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderViewModel/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
@@ -154,12 +154,12 @@ export default class SmartMappingSliderViewModel<StopType extends SmartMappingSu
154
154
  * The image below demonstrates how slider input values resemble corresponding slider values by default
155
155
  * and won't match the formatting set in `labelFormatFunction`.
156
156
  *
157
- * ![Slider without input formatter](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-no-input-formatter.png "Slider without input formatter")
157
+ * ![Slider without input formatter](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/sliders/slider-no-input-formatter.png "Slider without input formatter")
158
158
  *
159
159
  * If you want to format slider input values so they match thumb labels, you can pass the same function set in `labelFormatFunction` to
160
160
  * `inputFormatFunction` for consistent formatting.
161
161
  *
162
- * ![Slider with input formatter](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-input-formatter.png "Slider with input formatter")
162
+ * ![Slider with input formatter](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/sliders/slider-input-formatter.png "Slider with input formatter")
163
163
  *
164
164
  * However, if an `inputFormatFunction` is specified, you must also write a corresponding
165
165
  * [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/SmartMappingSliderViewModel/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
@@ -325,7 +325,7 @@ export default class SmartMappingSliderViewModel<StopType extends SmartMappingSu
325
325
  * top thumb cannot be moved past the zoom max of `31` even though the slider
326
326
  * max is `200`.
327
327
  *
328
- * ![slider-zoom](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-zoomed.png)
328
+ * ![slider-zoom](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/sliders/slider-zoomed.png)
329
329
  *
330
330
  * To exit a zoomed state, the user can click the
331
331
  * jagged line or the developer can set the `zoomOptions` to `null`. It
@@ -335,7 +335,7 @@ export default class SmartMappingSliderViewModel<StopType extends SmartMappingSu
335
335
  * Setting the `zoomOptions` is useful when the slider is tied to heavily skewed
336
336
  * datasets where the histogram renders only one or two bars because of outliers.
337
337
  *
338
- * ![slider-not-zoomed](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/sliders/slider-skewed-not-zoomed.png)
338
+ * ![slider-not-zoomed](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/sliders/slider-skewed-not-zoomed.png)
339
339
  *
340
340
  * You can remove the influence of outliers by zooming the slider and regenerating
341
341
  * a histogram based on the zoomed min and max. This will provide a better view of the data
@@ -62,7 +62,7 @@ export type GridControlsTheme = "light" | "dark" | "custom";
62
62
  * `GridControls` provides a user interface (UI) for configuring and displaying a two-dimensional grid. The grid displayed provides a network of horizontal and vertical lines used to divide the view into equal cells. With support for snapping, the grid lines can be used as a reference when drawing features. Whether one is drawing features with [Sketch](https://developers.arcgis.com/javascript/latest/references/core/widgets/Sketch/) or [Editor](https://developers.arcgis.com/javascript/latest/references/core/widgets/Editor/), `GridControls` will be available with these widgets by default in the settings menus.
63
63
  * The `GridControls` can be configured using the [visibleElements](https://developers.arcgis.com/javascript/latest/references/core/widgets/support/GridControls/#visibleElements) below.
64
64
  *
65
- * ![grid controls visible elements](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/grid-controls/grid-controls-visible-elements.png)
65
+ * ![grid controls visible elements](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/grid-controls/grid-controls-visible-elements.png)
66
66
  *
67
67
  * > [!CAUTION]
68
68
  * >
@@ -91,7 +91,7 @@ export default class SnappingControlsVisibleElements extends Accessor {
91
91
  accessor layerList: boolean;
92
92
  /**
93
93
  * Indicates whether to display the “Enable all” or “Disable all” button to enable / disable snapping for all the layers in the list.
94
- * ![layerlist-toggle-layers-btn](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/snapping-controls/layerlist-toggle-layers-btn.png)
94
+ * ![layerlist-toggle-layers-btn](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/snapping-controls/layerlist-toggle-layers-btn.png)
95
95
  *
96
96
  * @default true
97
97
  * @since 5.0
@@ -39,12 +39,12 @@ export interface SnappingControlsProperties extends WidgetProperties, Partial<Pi
39
39
  *
40
40
  * The image below displays the default SnappingControls widget with all visible elements visible.
41
41
  *
42
- * ![snapping-controls-default](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/snapping-controls/snapping-controls-visible-elements-default.png)
42
+ * ![snapping-controls-default](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/snapping-controls/snapping-controls-visible-elements-default.png)
43
43
  *
44
44
  * In comparison, the following image displays the widget with the feature enabled snapping toggle
45
45
  * and the feature snapping layer source layerList turned off.
46
46
  *
47
- * ![snapping-controls-example](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/snapping-controls/snapping-controls-visible-elements-example.png)
47
+ * ![snapping-controls-example](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/snapping-controls/snapping-controls-visible-elements-example.png)
48
48
  *
49
49
  * @example
50
50
  * // This removes the feature enabled snapping toggle and the layerlist.
@@ -65,7 +65,7 @@ export interface SnappingControlsProperties extends WidgetProperties, Partial<Pi
65
65
  *
66
66
  * Take a look at the SnappingControls in the Sketch widget with the [sketch-geometries](https://developers.arcgis.com/javascript/latest/sample-code/sketch-geometries/) sample.
67
67
  *
68
- * [![sketch-geometries](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/snapping-controls/sketch-snapping-controls.png)](https://developers.arcgis.com/javascript/latest/sample-code/sketch-geometries/)
68
+ * [![sketch-geometries](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/snapping-controls/sketch-snapping-controls.png)](https://developers.arcgis.com/javascript/latest/sample-code/sketch-geometries/)
69
69
  *
70
70
  * ## Using the widget
71
71
  *
@@ -95,7 +95,7 @@ export interface SnappingControlsProperties extends WidgetProperties, Partial<Pi
95
95
  *
96
96
  * This widget will automatically detect any layers on the [Map](https://developers.arcgis.com/javascript/latest/references/core/Map/) that support snapping and the [layerlist](https://developers.arcgis.com/javascript/latest/references/core/widgets/support/SnappingControls/VisibleElements/) populates with these [FeatureSnappingLayerSources](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/FeatureSnappingLayerSource/). By default, these layers will be disabled for feature snapping. The layers will be enabled for snapping when a user clicks on the layer title in the layerlist. If there is a desire for these layers to be enabled automatically, set [FeatureSnappingLayerSource.enabled](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/snapping/FeatureSnappingLayerSource/#enabled) as `true`.
97
97
  *
98
- * [![widgets-editor-basic](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/snapping-controls/snapping-controls-editor.png)](https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-basic/)
98
+ * [![widgets-editor-basic](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/snapping-controls/snapping-controls-editor.png)](https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-basic/)
99
99
  *
100
100
  * > [!WARNING]
101
101
  * >
@@ -163,12 +163,12 @@ export default class SnappingControls extends Widget<SnappingControlsProperties>
163
163
  *
164
164
  * The image below displays the default SnappingControls widget with all visible elements visible.
165
165
  *
166
- * ![snapping-controls-default](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/snapping-controls/snapping-controls-visible-elements-default.png)
166
+ * ![snapping-controls-default](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/snapping-controls/snapping-controls-visible-elements-default.png)
167
167
  *
168
168
  * In comparison, the following image displays the widget with the feature enabled snapping toggle
169
169
  * and the feature snapping layer source layerList turned off.
170
170
  *
171
- * ![snapping-controls-example](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/snapping-controls/snapping-controls-visible-elements-example.png)
171
+ * ![snapping-controls-example](https://developers.arcgis.com/javascript/latest/assets/images/apiref/widgets/snapping-controls/snapping-controls-visible-elements-example.png)
172
172
  *
173
173
  * @example
174
174
  * // This removes the feature enabled snapping toggle and the layerlist.
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[926,6682],{563(e,t,r){r.d(t,{QueueProcessor:()=>u,SharedConcurrency:()=>d});var s=r(97768),i=r(74887),n=r(9775),o=r(32587),a=r(76030),h=r(44794);class u{constructor(e){this._schedule=null,this._deferreds=new o.A,this._controllers=new o.A,this._processingItems=new o.A,this._pausedSignal=(0,h.v)(!1),this.process=e.process,this.concurrency=e.concurrency,this.sharedConcurrency=e.sharedConcurrency??c,this._queue=new n.A(e.peeker)}destroy(){this.clear(),this._schedule=(0,s.xt)(this._schedule)}get updating(){return this.running}get length(){return this._processingItems.size+this._queue.length}get running(){return!this._pausedSignal.value&&this._queue.length>0&&!this.full}get full(){return this._processingItems.size>=this.concurrency||this.sharedConcurrency.full}abort(e){const t=this._controllers.get(e);t?.abort()}clear(){this._queue.clear();const e=Array.from(this._controllers.values());this._controllers.clear(),e.forEach(e=>e.abort()),this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear(),this._cancelNext()}forEach(e){this._deferreds.forEach((t,r)=>e(r))}_get(e){const t=this._deferreds.get(e);return t?.promise}pause(){this._pausedSignal.value||(this._pausedSignal.value=!0,this._cancelNext())}push(e,t){const r=this._get(e);if(r)return r;const s=new AbortController,n=(0,i.Tw)(),o=t?(0,i.u7)(t,()=>s.abort()):null,a=(0,i.NY)(s.signal,()=>{const t=this._processingItems.get(e);t&&t.controller.abort(),h(),n.reject((0,i.NK)())}),h=()=>{a.remove(),o?.remove(),this._removeItem(e),this._queue.remove(e),this._scheduleNext()};return this._deferreds.set(e,n),this._controllers.set(e,s),n.promise.then(h,h),this._queue.push(e),this._scheduleNext(),n.promise}last(){return this._queue.last()}reset(){const e=Array.from(this._processingItems.values());this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear();for(const t of e)this._queue.push(t.item),t.controller.abort();this._scheduleNext()}resume(){this._pausedSignal.value&&(this._pausedSignal.value=!1,this._scheduleNext())}takeAll(){const e=[];for(;this._queue.length;)e.push(this._queue.pop());return this.clear(),e}_removeItem(e){this._deferreds.delete(e),this._controllers.delete(e),this._processingItems.has(e)&&(this._processingItems.delete(e),this.sharedConcurrency.current.value-=1)}_scheduleNext(){this._pausedSignal.value||this._schedule||(this._schedule=(0,a._)(()=>{this._schedule=null,this._next()}))}_next(){for(;this._queue.length>0&&this._processingItems.size<this.concurrency&&!this.sharedConcurrency.full;)this._process(this._queue.pop())}_cancelNext(){this._schedule&&(this._schedule.remove(),this._schedule=null)}_processResult(e,t){this._canProcessFulfillment(e)&&(this._scheduleNext(),this._deferreds.get(e.item).resolve(t))}_processError(e,t){this._canProcessFulfillment(e)&&(this._scheduleNext(),this._deferreds.get(e.item).reject(t))}_canProcessFulfillment(e){return!!this._deferreds.get(e.item)&&this._processingItems.get(e.item)===e}_process(e){if(null==e)return;let t;const r=new AbortController,s=new l(e,r);this._processingItems.set(e,s),this.sharedConcurrency.current.value+=1;try{t=this.process(e,r.signal)}catch(e){this._processError(s,e)}(0,i.$X)(t)?(s.promise=t,t.then(e=>this._processResult(s,e),e=>this._processError(s,e))):this._processResult(s,t)}}class l{constructor(e,t){this.item=e,this.controller=t,this.promise=null}}class d{constructor(e){this.limit=e,this.current=(0,h.v)(0)}get full(){return this.current.value>=this.limit}}const c=new d(1/0)},926(e,t,r){r.d(t,{Dd:()=>c,Jn:()=>_,Qc:()=>p,getApiKey:()=>l,getSessionToken:()=>d});var s=r(92602),i=r(11254),n=r(84952);const o=/^https?:\/\/(i?basemaps|basemapstyles)-api\.arcgis\.com\//i,a=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]),h=new Map;let u=null;function l(e){if(!p(e))return null;const t=t=>t instanceof RegExp?t.test(e):"string"==typeof t&&e.startsWith(t),r=s.A.apiKeys;if(Array.isArray(r.scopes))for(const e of r.scopes)if(Array.isArray(e.urls)){if(e.urls.some(t))return e.token}else if(t(e.urls))return e.token;return r.basemapStyles&&o.test(e)?r.basemapStyles:s.A.apiKey&&/^https?:\/\/.+\.arcgis\.com(\/|$)/i.test(e)?s.A.apiKey:null}async function d(e){if(!s.A.sessions?.basemap?.enabled||!o.test(e))return null;const t=l(e);if(!t)return null;u&&await u;const{styleFamily:r="arcgis",autoRefresh:n,duration:a=43200}=s.A.sessions.basemap,d=`${t}:${r}`,c=h.get(d);if(c&&(!n||c.endTime>Date.now()))return c.sessionToken;let _;u=(0,i.A)("https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/sessions/start",{cacheBust:!0,query:{durationSeconds:a,styleFamily:r,token:t}});try{_=(await u).data,_.endTime-=5e3,h.set(d,_)}finally{u=null}return _.sessionToken}function c(){return null!=s.A.apiKey||null!=s.A.apiKeys.basemapStyles}function _(e,t){return t?p(e):null!=l(e)}function p(e){const t=(0,n.$z)(e,!0);return!!t&&!a.has(t)&&!e.endsWith("/sharing/rest/generateToken")}},2272(e,t,r){r.d(t,{Dl:()=>u,gf:()=>d,jV:()=>h,lF:()=>l});var s=r(92602),i=r(70333),n=r(4718),o=r(84952),a=r(926);function h(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,n.o8)(e)}function l(e,t,r){const s={};for(const i in e){if("declaredClass"===i)continue;const n=e[i];if(null!=n&&"function"!=typeof n)if(Array.isArray(n))s[i]=n.map(e=>l(e));else if("object"==typeof n)if(n.toJSON){const e=n.toJSON(r?.[i]);s[i]=t?e:JSON.stringify(e)}else s[i]=t?n:JSON.stringify(n);else s[i]=n}return s}async function d(e,t,n){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??i.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!i.id&&s.A.request.useIdentity&&await Promise.all([r.e(7632),r.e(7780),r.e(148)]).then(r.bind(r,50148));const h=await i.id.getCredential(e,n);return h?.token}},5162(e,t,r){r.d(t,{HJ:()=>o,Im:()=>l,KN:()=>h});var s=r(39516),i=r(70300),n=r(8446);class o{static async create(e){const{metadata:t,definitionExpression:r}=e,i=r?await(0,s.GP)(r,t.fieldsIndex):null;return new o(t,i,r)}constructor(e,t,r){this.metadata=e,this._clause=t,this._definitionExpression=r}get hash(){return this._definitionExpression}testFeature(e){return null==this._clause||this._clause.testFeature(e)}}class a{constructor(){this.modified=new Map,this.removed=new Set}modify(e){this.modified.set(e.objectId,e),this.removed.has(e.objectId)&&this.removed.delete(e.objectId)}remove(e){this.modified.delete(e),this.removed.add(e)}get isEmpty(){return 0===this.modified.size&&0===this.removed.size}applyWhereClause(e){const t=new a;for(const[r,s]of this.modified)e.testFeature(s)?t.modified.set(r,s):t.removed.add(s.objectId);for(const e of this.removed)t.removed.add(e);return t}}class h extends i.K{constructor(e){super(),this._reader=e,this.chunkId="override",this.normalizedChunkId="override"}static fromFeatures(e,t){const r=n.K.fromOptimizedFeatures(e,t);return new h(r)}get reader(){return this._reader}get queryInfo(){return{}}get first(){return!1}get end(){return!1}get isTiled(){return!1}getTileReader(e){if(!this._reader.getSize())return null;const t=this.queryFeaturesInBounds(e.bounds);return t.setTransformForDisplay(e.transform),t}}class u{constructor(e,t){this.inner=e,this.isWeak=t,this.lastWeak=null}get isStrong(){return!this.isWeak}}class l{constructor(e){this._parameters=e,this._overrides=new Map,this._update=new a,this._lastCleanup=0}update(e){this._parameters=e}hasOverride(e){return this._overrides.has(e)}onChunkInsert(e){if(this._overrides.size){const t=e.reader.getCursor();for(;t.next();){const e=t.getObjectId(),r=this._overrides.get(e);if(r?.lastWeak&&(r.lastWeak=null),r?.isWeak){const e=t.readOptimizedFeatureWorldSpace(),s=r.inner?.attributes??{};e.attributes={...s,...e.attributes},r.inner=e,this._update.modify(e),this.invalidate()}}}e.registerOverrides(this)}apply(e,t){const{updateWeak:r,removeWeak:s,update:i,remove:n,release:o}=e.commands;this.invalidate();for(const e of r){const t=new u(e,!0),r=this._overrides.get(e.objectId);r?.isStrong?r.lastWeak=t:(this._overrides.set(e.objectId,t),this._update.modify(e))}for(const e of i){const t=new u(e,!1),r=this._overrides.get(e.objectId);t.lastWeak=r?.isWeak?r:r?.lastWeak??null,this._overrides.set(e.objectId,t),this._update.modify(e)}for(const e of s){const t=new u(null,!0),r=this._overrides.get(e);r?.isStrong?r.lastWeak=t:(this._overrides.set(e,t),this._update.remove(e))}for(const e of n){const t=new u(null,!1),r=this._overrides.get(e);t.lastWeak=r?.isWeak?r:r?.lastWeak??null,this._overrides.set(e,t),this._update.remove(e)}if(o.length){const e=new Set;for(const t of o){const r=this._overrides.get(t);r?.lastWeak?(this._overrides.set(t,r.lastWeak),null==r.lastWeak.inner?this._update.remove(t):this._update.modify(r.lastWeak.inner)):r&&!r.isWeak&&(this._overrides.delete(t),e.add(t))}t.forEachUnsafe(t=>{const r=t.getObjectId();e.has(r)&&(this._update.modify(t.readOptimizedFeatureWorldSpace()),e.delete(r))});for(const t of e.values())this._update.remove(t)}}clearWeakOverrides(){for(const[e,t]of this._overrides.entries())t.isWeak&&this._overrides.delete(e);this.invalidate()}cleanup(e){if(this._overrides.size<1e4)return;const t=performance.now();if(t-this._lastCleanup<1e3)return;this._lastCleanup=t;const r=this._getWeakDeletions();if(!(r.size<1e4)){for(const t of e){const e=t.reader.withoutOverrides().getCursor();for(;e.next();){const t=e.getObjectId();r.delete(t)}}for(const e of r)this._overrides.delete(e);r.size&&this.invalidate()}}takeOverrideUpdate(){const e=this._update;return e.isEmpty?null:(this._update=new a,e.applyWhereClause(this._parameters))}asChunk(){const e=this._parameters;if(this._lastOverrideParametersHash!==e.hash&&(this._lastOverrideParametersHash=e.hash,this._chunk=null),!this._chunk){const t=[];for(const r of this._overrides.values())null!=r.inner&&e.testFeature(r.inner)&&t.push(r.inner);this._chunk=h.fromFeatures(t,e.metadata)}return this._chunk}invalidate(){this._chunk=null}putWeakObjectIdsFromGlobalIds(e,t,r){for(const[s,i]of this._overrides.entries()){if(i.isWeak&&null!=i.inner){const n=i.inner.attributes[r];n&&t.has(n)&&!e.has(n)&&e.set(n,s);continue}if(null!=i.lastWeak&&null!=i.lastWeak.inner){const n=i.lastWeak.inner.attributes[r];n&&t.has(n)&&!e.has(n)&&e.set(n,s)}}}_getWeakDeletions(){const e=new Set;for(const[t,r]of this._overrides.entries())r.isWeak&&null==r.inner&&e.add(t);return e}}},8446(e,t,r){r.d(t,{K:()=>a});var s=r(90708),i=r(43334),n=r(95466),o=r(99996);class a extends o.Y{static fromFeatures(e,t){const{geometryType:r}=t,i=(0,s.Di)([],e,r,!1,!1,t.featureIdInfo);for(let t=0;t<i.length;t++)i[t].displayId=e[t].displayId;return a.fromOptimizedFeatures(i,t)}static fromFeatureSet(e,t){const r=(0,s.q3)(e,t.featureIdInfo);return a.fromOptimizedFeatureSet(r,t)}static fromOptimizedFeatureSet(e,t){const r=a.fromOptimizedFeatures(e.features,t);return r._exceededTransferLimit=e.exceededTransferLimit,r._transform=e.transform,r._fieldsIndex=new n.A(e.fields),r}static fromOptimizedFeatures(e,t,r){const s=new a(e,t);return s._fieldsIndex=t.fieldsIndex,s._transform=r,s}static empty(e){return new a([],e)}constructor(e,t){super(t),this._featureIndex=-1,this._exceededTransferLimit=!1,this._fieldsIndex=null,this._geometryType=t.geometryType,this._features=e}get fields(){return this._fieldsIndex}get geometryType(){return this._geometryType}get hasFeatures(){return!!this._features.length}get hasNext(){return this._featureIndex+1<this._features.length}get exceededTransferLimit(){return this._exceededTransferLimit}get hasZ(){return!1}get hasM(){return!1}get _current(){return this._features[this._featureIndex]}get usedMemory(){return this._current.usedMemory}getSize(){return this._features.length}getCursor(){return this.copy()}getInTransform(){return this._transform}getAttributeHash(){let e="";for(const t in this._current.attributes)e+=this._current.attributes[t];return e}getIndex(){return this._featureIndex}setIndex(e){this._featureIndex=e}getObjectId(){return this._current?.objectId}getDisplayId(){return this._current.displayId}setDisplayId(e){this._current.displayId=e}copy(){const e=new a(this._features,this.metadata);return this.copyInto(e),e}next(){for(;++this._featureIndex<this._features.length&&!this._getExists(););return this._featureIndex<this._features.length}readGeometryArea(){return(0,i.N3)(this._current)?(0,s.Rk)(this._current.geometry,2):0}_readX(){return(0,i.N3)(this._current)?this._current.geometry.coords[0]:0}_readY(){return(0,i.N3)(this._current)?this._current.geometry.coords[1]:0}_readGeometry(){return(0,i.N3)(this._current)?this._current.geometry??null:null}_readServerCentroid(){return this._current.centroid}_readAttribute(e,t){if(!this._fieldsIndex){const t=this._current.attributes[e];if(void 0!==t)return t;const r=e.toLowerCase();for(const e in this._current.attributes)if(e.toLowerCase()===r)return this._current.attributes[e];return}const r=this._fieldsIndex.get(e);if(!r)return;const s=this._current.attributes[r.name];return null==s?s:t&&this.fields.isDateField(e)?new Date(s):s}_readAttributes(){return this._current.attributes}copyInto(e){super.copyInto(e),e._featureIndex=this._featureIndex,e._transform=this._transform,e._fieldsIndex=this._fieldsIndex}}},8631(e,t,r){r.d(t,{r:()=>c,g:()=>d});var s,i=r(53177),n=r(76357),o=r(5482),a=r(91429),h=r(93223);let u=class extends n.A{static{s=this}constructor(e){super(e),this.type="inherited"}clone(){return new s}};(0,o.Cg)([(0,h.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=s=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],u);var l=r(41628);const d={key:"type",base:n.A,typeMap:{range:l.A,"coded-value":i.A,inherited:u}};function c(e){if(!e?.type)return null;switch(e.type){case"range":return l.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},9012(e,t,r){function s(e,{timeZone:t,timeExtent:r}){return{$view:{scale:e,timeZone:t,timeProperties:{currentStart:r?.start,currentEnd:r?.end}}}}r.d(t,{N:()=>s})},16630(e,t,r){r.d(t,{s:()=>l}),r(44208);var s=r(69397),i=r(92722),n=r(17754),o=r(57733),a=r(99996);let h;const u=new TextDecoder;class l extends a.Y{constructor(e,t,r,i,n=new Uint32Array(r.size())){super(e),this._indexMap=t,this._inner=r,this._fileId=i,this._displayIds=n,this._index=-1,this.usedMemory=s.qK,this._size=this._inner.size(),e.featureIdInfo.type}destroy(){super.destroy(),this._inner.free()}get fields(){return this.metadata.fieldsIndex}get geometryType(){return this.metadata.geometryType}get hasFeatures(){return!0}get hasNext(){throw new Error("Method not implemented.")}get exceededTransferLimit(){return!1}get hasZ(){return!1}get hasM(){return!1}async updateFields(e,t,r,s){const i=this._inner.rowGroup(),n=new Uint32Array(this._inner.readIdsUnsafe()),o=await e.createPatch(t,i,n,r,s);this._inner.insertPatchBytes(new Uint8Array(o))}getInTransform(){return null}getSize(){return this._size}getCursor(){return this.copy()}getAttributeHash(){let e="";for(const t of this.fields.fields)e+=this._readAttribute(t.name,!1)+".";return e}getObjectId(){return(0,n.xb)(this._fileId,this._inner.rowId(this._index))}getDisplayId(){return this._displayIds[this._index]}setDisplayId(e){this._displayIds[this._index]=e}setIndex(e){this._index=e}getBoundsXMin(){return this._inner.boundsXMin(this._index)}getBoundsYMin(){return this._inner.boundsYMin(this._index)}getBoundsXMax(){return this._inner.boundsXMax(this._index)}getBoundsYMax(){return this._inner.boundsYMax(this._index)}setBoundsXMin(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsYMin(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsXMax(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsYMax(e){throw new Error("InternalError: Setting bounds is unsupported")}getIndex(){return this._index}next(){for(;++this._index<this._size&&!this._getExists(););return this._index<this._size}readGeometryArea(){return this.readGeometryForDisplay()?.area()??0}copy(){const e=new l(this.metadata,this._indexMap,this._inner,this._fileId,this._displayIds);return this.copyInto(e),e}copyInto(e){super.copyInto(e),e._index=this._index}readGeometryForDisplayTransformed(e){const[t,r]=e.translate,[s,n]=e.scale;return h||(h=o.QuantizedGeometryBuffer.new()),this._inner.transformGeometry(h,t,r,s,n,this._index)?new i.A(h.readLengthsUnsafe(),h.readCoordsUnsafe(),this.hasZ,this.hasM):null}_readGeometry(e){const t=this._inner.readCoordsUnsafe(this._index),r=this._inner.readLengthsUnsafe(this._index);return t&&r?new i.A(r,t,this.hasZ,this.hasM):null}_readX(){return this._inner.readX(this._index)}_readY(){return this._inner.readY(this._index)}_readServerCentroid(){return null}_readAttribute(e,t){const r=this.fields.get(e);if(!r)return;const s=this._indexMap[r.name];if(null==s)return this.getObjectId();const i=this._inner.readAttribute(this._index,s);if(null==i)return i;if("esriFieldTypeString"===r.type||"esriFieldTypeDateOnly"===r.type||"esriFieldTypeTimeOnly"===r.type||"esriFieldTypeTimestampOffset"===r.type){const e=this._inner.readAttribute(this._index,s);return u.decode(e)}const n=this.fields.isDateField(r.name);return t?null==i?i:n?new Date(i):i:i}_readAttributes(){const e={};for(const t of this.metadata.fieldsIndex.fields){if(null==this._indexMap[t.name])continue;const r=this._readAttribute(t.name,!1);void 0!==r&&(e[t.name]=r)}return e.__OBJECTID=this.getObjectId(),e}}},17754(e,t,r){function s(e){return e>>>24&255}function i(e){return 16777215&e}function n(e,t){return e<<24|t}r.d(t,{gE:()=>i,wY:()=>s,xb:()=>n})},20437(e,t,r){r.d(t,{A:()=>p});var s,i=r(5482),n=r(66552),o=r(25482),a=r(91429),h=r(56507),u=r(8631),l=r(98453),d=r(36005),c=r(93223);const _=new n.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let p=class extends o.o{static{s=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?_.fromJSON(r.fieldValueType):null}clone(){return new s({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],p.prototype,"defaultValue",void 0),(0,i.Cg)([(0,a.MZ)()],p.prototype,"description",void 0),(0,i.Cg)([(0,d.w)("description")],p.prototype,"readDescription",null),(0,i.Cg)([(0,a.MZ)({types:u.g,json:{read:{reader:u.r},write:!0}})],p.prototype,"domain",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],p.prototype,"editable",void 0),(0,i.Cg)([(0,a.MZ)({type:h.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],p.prototype,"length",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],p.prototype,"nullable",void 0),(0,i.Cg)([(0,c.e)(l.m)],p.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)()],p.prototype,"valueType",void 0),(0,i.Cg)([(0,d.w)("valueType",["description"])],p.prototype,"readValueType",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],p.prototype,"visible",void 0),p=s=(0,i.Cg)([(0,a.$K)("esri.layers.support.Field")],p)},28923(e,t,r){r.d(t,{j:()=>i});var s=r(70300);class i extends s.K{constructor(e,t,r,s,i=0){super(),this._reader=e,this._queryJSON=t,this._page=r,this._end=s,this.fileIndex=i,this.chunkId=`${this.fileIndex}.${this._page}${this.end?"e":""}`,this.normalizedChunkId=this.chunkId}get reader(){return this._reader}get first(){return 0===this._page}get end(){return this._end}get queryInfo(){return{type:"snapshot",chunkId:this.chunkId,queryJSON:this._queryJSON,page:this._page,size:this.size(),end:this.end}}get isTiled(){return!1}getTileReader(e){const t=this.queryFeaturesInBounds(e.bounds);return t.setTransformForDisplay(e.transform),t}}},30661(e,t,r){r.d(t,{Z:()=>n});var s=r(43334),i=r(8446);class n{static{this.Shared=new n}getObjectId(e){return e.getObjectId()}getAttributes(e){return e.readAttributes()}getAttribute(e,t){return e.readAttribute(t)}getAttributeAsTimestamp(e,t){return e.readAttributeAsTimestamp(t)}cloneWithGeometry(e,t,r){const n=e.readAttributes(),o=new s.Om(t,n,null,e.getObjectId(),e.getDisplayId()),a=i.K.fromOptimizedFeatures([o],e.metadata);return a.setIndex(0),a}getGeometry(e){return e.readGeometryWorldSpace()}getCentroid(e,t){return e.readCentroidForDisplay()}}},32011(e,t,r){r.d(t,{d:()=>h});var s=r(19419),i=r(537),n=r(12359),o=r(95108),a=r(12176);function h(e){if(0===e.totalSize)return null;const t=(0,i.z8)(e);if(!t)return null;const r=4*(Math.abs(t[0])+Math.abs(t[2])+Math.abs(t[1])+Math.abs(t[3])+1)*222045e-19;let o=0,a=0;e.reset();for(let t=0;e.nextPath();t++){const r=e.getCurrentRingArea();r>a&&(a=r,o=t)}if(e.seekPath(o),0===e.pathSize)return null;e.seekPathStart();const h=(0,i.B$)(e);if(Math.abs(a)<=2*r*r)return[(h[0]+h[2])/2,(h[1]+h[3])/2];e.seekPathStart();const c=(0,n.w2)(e,(0,s.vt)());if(null===c)return null;if(e.totalPoints<4)return c;const _=[[NaN,NaN],[NaN,NaN],[NaN,NaN],[NaN,NaN]],p=[NaN,NaN,NaN,NaN],g=[NaN,NaN,NaN,NaN];let x=!1,v=l(c,e,!0);0===v.distance&&(x=!0,_[0][0]=c[0],_[0][1]=c[1],v=l(c,e,!1)),p[0]=v.distance,g[0]=0;const I=[NaN,NaN];let b=!1,T=.25,w=-1,S=NaN;do{if(S=NaN,_[1]=d(e,f(h[0],h[2],T),0,t),isNaN(_[1][0])||isNaN(_[1][1])||(v=l(_[1],e,!1),S=v.distance),!isNaN(S)&&S>r&&u(_[1],e))b=!0,p[1]=S,g[1]=m(_[1],c);else if(!isNaN(S)&&S>w&&(w=S,I[0]=_[1][0],I[1]=_[1][1]),T-=.01,T<.1){if(!(w>=0))break;b=!0,p[1]=w,_[1][0]=I[0],_[1][1]=I[1],g[1]=m(_[1],c)}}while(!b);b=!1,T=.5,w=-1;let M=.01,A=1;do{if(S=NaN,_[2]=d(e,f(h[0],h[2],T),0,t),isNaN(_[2][0])||isNaN(_[2][1])||(v=l(_[2],e,!1),S=v.distance),!isNaN(S)&&S>r&&u(_[2],e))b=!0,p[2]=S,g[2]=m(_[2],c);else if(!isNaN(S)&&S>w)w=S,I[0]=_[2][0],I[1]=_[2][1];else if(S>w&&(w=S,I[0]=_[2][0],I[1]=_[2][1]),T=.5+M*A,M+=.01,A*=-1,T<.3||T>.7){if(!(w>=0))break;b=!0,p[2]=w,_[2][0]=I[0],_[2][1]=I[1],g[2]=m(_[2],c)}}while(!b);b=!1,T=.75,w=-1;do{if(S=NaN,_[3]=d(e,f(h[0],h[2],T),0,t),isNaN(_[3][0])||isNaN(_[3][1])||(v=l(_[3],e,!1),S=v.distance),!isNaN(S)&&S>r&&u(_[3],e))b=!0,p[3]=S,g[3]=m(_[3],c);else if(S>w&&(w=S,I[0]=_[3][0],I[1]=_[3][1]),T+=.01,T>.9){if(!(w>=0))break;b=!0,p[3]=w,_[3][0]=I[0],_[3][1]=I[1],g[3]=m(_[3],c)}}while(!b);const F=[0,1,2,3],C=x?0:1;let P;for(let e=C;e<4;e++)for(let e=C;e<3;e++){const t=g[e],r=g[e+1];y(t,r)>0&&(P=F[e],F[e]=F[e+1],F[e+1]=P,g[e]=r,g[e+1]=t)}let O=C,N=0,k=0;for(let e=C;e<4;e++){switch(e){case 0:k=2*p[F[e]];break;case 1:k=1.66666666*p[F[e]];break;case 2:k=1.33333333*p[F[e]];break;case 3:k=p[F[e]]}k>N&&(N=k,O=F[e])}return _[O]}function u(e,t){let r,s,i,n,o=0;for(t.reset();t.nextPath()&&t.nextPoint();)for(r=t.x,s=t.y;t.nextPoint();r=i,s=n)i=t.x,n=t.y,s>e[1]!=n>e[1]&&((i-r)*(e[1]-s)-(n-s)*(e[0]-r)>0?o++:o--);return 0!==o}function l(e,t,r){if(r&&u(e,t))return{coord:e,distance:0};let s=1/0,i=0,n=0,a=[0,0],h=[0,0];const l=[0,0];for(t.reset();t.nextPath()&&t.nextPoint();)if(!(t.pathSize<2))for(a[0]=t.x,a[1]=t.y;t.nextPoint();a=h){h=[t.x,t.y],(0,o.gR)(l,e,a,h);const r=m(e,l);r<s&&(s=r,i=l[0],n=l[1])}return{coord:[i,n],distance:Math.sqrt(s)}}function d(e,t,r,i){const n=[t,0];let o=1/0,h=1/0,u=!1,l=!1;const d=[[t,i[1]-1],[t,i[3]+1]],p=[0,0],f=[0,0],m=[0,0],y=[[0,0],[0,0]],g=(0,s.vt)();for(e.reset();e.nextPath()&&e.nextPoint();)if(!(e.pathSize<2))for(y[0][0]=e.x,y[0][1]=e.y;e.nextPoint();y[0][0]=y[1][0],y[0][1]=y[1][1]){if(y[1][0]=e.x,y[1][1]=e.y,null===c(g,y))continue;if(f[0]=d[0][0],f[1]=d[0][1],m[0]=d[1][0],m[1]=d[1][1],0===_(g,f,m))continue;if(!(0,a.Ql)(d[0],d[1],y[0],y[1],p))continue;const t=p[1];o>h?t<o&&(o=t,u=!0):t<h&&(h=t,l=!0)}return u&&l?n[1]=(o+h)/2:n[0]=n[1]=NaN,n}function c(e,t){if(t.length<2)return null;e||(e=(0,s.vt)());const[r,i]=t[0],[n,o]=t[1];return e[0]=Math.min(r,n),e[1]=Math.min(i,o),e[2]=Math.max(r,n),e[3]=Math.max(i,o),e}function _(e,t,r){let s=p(t,e),i=p(r,e);const n=e[0],o=e[1],a=e[2],h=e[3];if(s&i)return 0;if(!(s|i))return 4;const u=(s?1:0)|(i?2:0);do{const u=r[0]-t[0],l=r[1]-t[1];if(u>l)3&s?(1&s?(t[1]+=l*(n-t[0])/u,t[0]=n):(t[1]+=l*(a-t[0])/u,t[0]=a),s=p(t,e)):3&i?(1&i?(r[1]+=l*(n-r[0])/u,r[0]=n):(r[1]+=l*(a-r[0])/u,r[0]=a),i=p(r,e)):s?(4&s?(t[0]+=u*(o-t[1])/l,t[1]=o):(t[0]+=u*(h-t[1])/l,t[1]=h),s=p(t,e)):(4&i?(r[0]+=u*(o-r[1])/l,r[1]=o):(r[0]+=u*(h-r[1])/l,r[1]=h),i=p(r,e));else if(12&s?(4&s?(t[0]+=u*(o-t[1])/l,t[1]=o):(t[0]+=u*(h-t[1])/l,t[1]=h),s=p(t,e)):12&i?(4&i?(r[0]+=u*(o-r[1])/l,r[1]=o):(r[0]+=u*(h-r[1])/l,r[1]=h),i=p(r,e)):s?(1&s?(t[1]+=l*(n-t[0])/u,t[0]=n):(t[1]+=l*(a-t[0])/u,t[0]=a),s=p(t,e)):(1&i?(r[1]+=l*(n-r[0])/u,r[0]=n):(r[1]+=l*(a-r[0])/u,r[0]=a),i=p(r,e)),s&i)return 0}while(s|i);return u}function p(e,t){return(e[0]<t[0]?1:0)|(e[0]>t[2]?1:0)<<1|(e[1]<t[1]?1:0)<<2|(e[1]>t[3]?1:0)<<3}function f(e,t,r){return e+(t-e)*r}function m(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}function y(e,t){if(e<t)return-1;if(e>t)return 1;if(e===t)return 0;const r=isNaN(e),s=isNaN(t);return r<s?-1:r>s?1:0}},32587(e,t,r){r.d(t,{A:()=>n});var s=r(62788),i=r(95488);class n{constructor(e){this._observable=new i.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(e)}get size(){return(0,s.gc)(this._observable),this._map.size}batch(e){try{this._batchDepth++,e()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(e){const t=this._map.delete(e);return t&&this._notify(),t}entries(){return(0,s.gc)(this._observable),this._map.entries()}forEach(e,t){(0,s.gc)(this._observable),this._map.forEach((r,s)=>e.call(t,r,s,this),t)}get(e){return(0,s.gc)(this._observable),this._map.get(e)}has(e){return(0,s.gc)(this._observable),this._map.has(e)}keys(){return(0,s.gc)(this._observable),this._map.keys()}set(e,t){return this._map.set(e,t),this._notify(),this}transformValues(e,t=this._map.keys()){this.batch(()=>{for(const r of t){if(!this._map.has(r))continue;const t=this._map.get(r),s=e(t,r);s!==t&&this.set(r,s)}})}values(){return(0,s.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,s.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},35258(e,t,r){r.d(t,{i:()=>n});var s=r(16930),i=r(95466);class n{static minimal(e,t,r=[]){return new n({geometryType:e,fieldsIndex:new i.A(r).toJSON(),featureIdInfo:{type:"object-id",fieldName:t},subtypes:null,subtypeField:null,types:null,globalIdField:null,spatialReference:null,outSpatialReference:null,timeInfo:null,timeReferenceUnknownClient:null,dateFieldsTimeZone:null,typeIdField:null})}static createFeature(e){return new n(e)}constructor(e){let t;this._options=e,this._fieldsIndex=i.A.fromJSON(e.fieldsIndex),e.spatialReference&&(e.spatialReference instanceof s.A?this._spatialReference=e.spatialReference:this._spatialReference=s.A.fromJSON(e.spatialReference)),e.outSpatialReference&&(e.outSpatialReference instanceof s.A?this._outSpatialReference=e.outSpatialReference:this._outSpatialReference=s.A.fromJSON(e.outSpatialReference)),"object-id"===e.featureIdInfo.type&&(t=e.featureIdInfo.fieldName),this._arcadeSchema={fields:this.fieldsIndex.fields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,objectIdField:t,globalIdField:this._options.globalIdField,spatialReference:this._spatialReference,timeInfo:this._options.timeInfo,typeIdField:this._options.typeIdField??void 0,types:this._options.types??void 0,subtypeField:this._options.subtypeField,subtypes:this._options.subtypes??void 0,datesInUnknownTimezone:this._options.timeReferenceUnknownClient??void 0,dateFieldsTimeZone:this._options.dateFieldsTimeZone??void 0}}get fieldsIndex(){return this._fieldsIndex}get geometryType(){return"esriGeometryMultiPatch"===this._options.geometryType?"esriGeometryPolygon":this._options.geometryType}get serviceGeometryType(){return this._options.geometryType}get subtypeField(){return this._options.subtypeField}get timeInfo(){return this._options.timeInfo}get featureIdInfo(){return this._options.featureIdInfo}get globalIdField(){return this._options.globalIdField}get arcadeSchema(){return this._arcadeSchema}get spatialReference(){return this._spatialReference}get outSpatialReference(){return this._outSpatialReference}get timeReferenceUnknownClient(){return this._options.timeReferenceUnknownClient}weakCloneWithAdditionalFields(e){return new n({fieldsIndex:{fields:[...this._fieldsIndex.fields,...e],timeZoneByFieldName:null},geometryType:this.geometryType,globalIdField:this.globalIdField,featureIdInfo:this.featureIdInfo,spatialReference:this.spatialReference,outSpatialReference:this.outSpatialReference,subtypeField:this.subtypeField,subtypes:this._options.subtypes,timeInfo:this.timeInfo,timeReferenceUnknownClient:this.timeReferenceUnknownClient,dateFieldsTimeZone:this._options.dateFieldsTimeZone,typeIdField:this._options.typeIdField,types:this._options.types})}}},36708(e,t,r){r.d(t,{C_:()=>c,OH:()=>f,Vh:()=>m,on:()=>d,pc:()=>y,wB:()=>h,z7:()=>u});var s=r(37955),i=r(36563),n=r(97768),o=r(74887),a=r(14012);function h(e,t,r={}){return l(e,t,r,_)}function u(e,t,r={}){return l(e,t,r,p)}function l(e,t,r={},s){let i=null;const o=r.once?(e,r)=>{s(e)&&((0,n.xt)(i),t(e,r))}:(e,r)=>{s(e)&&t(e,r)};if(i=(0,a.Cn)(e,o,r.sync,r.equals),r.initial){const t=e();o(t,t)}return i}function d(e,t,r,o={}){let a=null,u=null,l=null;function d(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function c(e){o.once&&o.once&&(0,n.xt)(l),r(e)}const _=h(e,(e,r)=>{d(),(0,s.wb)(e)&&(a=e,u=(0,s.on)(e,t,c),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return l=(0,i.hA)(()=>{_.remove(),d()}),l}function c(e,t){return function(e,t,r){if((0,o.G4)(r))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function h(){a=(0,n.xt)(a)}return new Promise((s,n)=>{a=(0,i.vE)([(0,o.u7)(r,()=>{h(),n((0,o.NK)())}),l(e,e=>{h(),s(e)},{sync:!1,once:!0},t??_)])})}(e,p,t)}function _(e){return!0}function p(e){return!!e}r(80559);const f={sync:!0},m={initial:!0},y={sync:!0,initial:!0}},36745(e,t,r){r.d(t,{z:()=>a});var s=r(4718),i=r(51118),n=r(60408),o=r(92722);class a{static fromOptimized(e,t,r=1){return(new h).initialize(e,t,r)}static fromJSON(e){const[t,r]=l(e),s=(0,n.Pv)(e),i=(0,n.W0)(e);return(new d).initialize(t,r,s,i,1)}static fromOptimizedCIM(e,t,r=1){return(new c).initialize(e,t,r)}static fromJSONCIM(e,t=1){const[r,s]=l(e),i=(0,n.Pv)(e),o=(0,n.W0)(e);return(new _).initialize(r,s,i,o,t)}static fromFeatureSetReader(e){const t=e.readGeometryForDisplay(),r=e.geometryType;return t&&r?this.fromOptimized(t,r):null}static fromFeatureSetReaderCIM(e){const t=e.readGeometryForDisplay(),r=e.geometryType;return t&&r?this.fromOptimizedCIM(t,r):null}static createEmptyOptimized(e,t=!1,r=!1,s=1){return(new c).initialize(new o.A([],[],t,r),e,s)}static createEmptyJSON(e,t=!1,r=!1){return(new d).initialize([],e,t,r,1)}static createEmptyOptimizedCIM(e,t=!1,r=!1,s=1){return(new c).initialize(new o.A([],[],t,r),e,s)}static createEmptyJSONCIM(e,t=!1,r=!1,s=1){return(new _).initialize([],e,t,r,s)}asJSON(){const e=(0,i.x)(this),{hasZ:t,hasM:r}=this;return"esriGeometryEnvelope"===this.geometryType?{xmin:e[0][0][0],ymin:e[0][0][1],xmax:e[0][2][0],ymax:e[0][2][1]}:"esriGeometryMultipoint"===this.geometryType?{points:e.flat(),hasZ:t,hasM:r}:"esriGeometryPoint"===this.geometryType?{x:e[0][0][0],y:e[0][0][1],z:t?e[0][0][2]:void 0,m:r?e[0][0][t?3:2]:void 0}:"esriGeometryPolygon"===this.geometryType?{rings:e,hasZ:t,hasM:r}:{paths:e,hasZ:t,hasM:r}}getCurrentRingArea(){if(this.pathSize<3)return 0;let e,t,r=0;if(this.seekPathStart(),!this.nextPoint())return 0;e=this.x,t=this.y;const s=e,i=t;for(;this.nextPoint();)r+=(e-this.x)*(t+this.y),e=this.x,t=this.y;return r+=(e-s)*(t+i),-.5*r}invertY(){this.yFactor*=-1}}class h extends a{constructor(){super(...arguments),this._end=-1}get hasZ(){return this._geometry?.hasZ}get hasM(){return this._geometry?.hasM}initialize(e,t,r){return this.geometryType=t,this._stride=e.stride,this._geometry=e,this._pathIndex=-1,this._pathOffset=0,this._pointOffset=-this._stride,this._end=-1,this.yFactor=r,this}reset(){this.initialize(this._geometry,this.geometryType,this.yFactor)}seekPath(e){if(e>=0&&e<this.totalSize){if(this._pathIndex<e)for(;this._pathIndex<e&&this.nextPath(););else if(this._pathIndex>e)for(;this._pathIndex>e&&this.prevPath(););return!0}return!1}seekPathStart(){this._pointOffset=this._pathOffset-this._stride}seekPathEnd(){this._pointOffset=this._end}seekInPath(e){const t=this._pathOffset+e*this._stride;return t>=0&&t<this._end&&(this._pointOffset=t,!0)}nextPoint(){return(this._pointOffset+=this._stride)<this._end}prevPoint(){return(this._pointOffset-=this._stride)>=this._pathOffset}nextPath(){return!(this.pathIndex>=this.totalSize-1||(this._pathIndex>=0&&(this._pathOffset+=this._stride*this.pathSize),this._pathIndex++,this._pointOffset=this._pathOffset-this._stride,this._end=this._pointOffset+this._stride+this._stride*this.pathSize,0))}prevPath(){return!(this.pathIndex<=0||(this._pathIndex--,this._end=this._pathOffset,this._pathOffset-=this._stride*this.pathSize,this._pointOffset=this._pathOffset-this._stride,0))}getCurrentPath(){const e=this._end,t=this._geometry.coords,r=this._pathOffset;return(new h).initialize(new o.A([this.pathSize],t.slice(r,e),this.hasZ,this.hasM),this.geometryType,this.yFactor)}pathLength(){const e=this._end,t=this._stride,r=this._geometry.coords;let s=0;for(let i=this._pathOffset+t;i<e;i+=t){const e=r[i-t],n=r[i-t+1],o=r[i]-e,a=r[i+1]-n;s+=Math.sqrt(o*o+a*a)}return s}startPath(){this._geometry.lengths.push(0)}pushPath(e){this.startPath(),this.pushPoints(e)}pushPoint(e){for(let t=0;t<this._stride;++t)this._geometry.coords.push(e[t]);this._geometry.lengths[this.totalSize-1]++}pushXY(e,t){this._geometry.coords.push(e,t),this._geometry.lengths[this.totalSize-1]++}pushPoints(e){for(const t of e)for(let e=0;e<this._stride;++e)this._geometry.coords.push(t[e]);this._geometry.lengths[this.totalSize-1]+=e.length}pushCursor(e){const t=e.asOptimized();this._geometry.coords.push(...t.coords),this._geometry.lengths.push(...t.lengths)}asOptimized(){const e=this._geometry.clone();if(1!==this.yFactor)for(let t=1;t<e.coords.length;t+=this._stride)e.coords[t]*=this.yFactor;return"esriGeometryPoint"===this.geometryType&&(e.lengths.length=0),e}isClosed(){const e=this._geometry.coords,t=this._pathOffset,r=this._end-this._stride;for(let s=0;s<this._stride;s++)if(e[t+s]!==e[r+s])return!1;return!0}clone(){return(new h).initialize(this._geometry.clone(),this.geometryType,this.yFactor)}get totalPoints(){return this._geometry.isPoint?1:this._geometry.lengths.reduce((e,t)=>e+t)}get pathSize(){const{lengths:e}=this._geometry;return this._geometry.isPoint?1:this._pathIndex<0||this._pathIndex>e.length-1?0:e[this._pathIndex]}get totalSize(){return this._geometry.isPoint?1:this._geometry.lengths.length}get x(){return this._geometry.coords[this._pointOffset]}set x(e){this._geometry.coords[this._pointOffset]=e}get y(){return this.yFactor*this._geometry.coords[this._pointOffset+1]}set y(e){this._geometry.coords[this._pointOffset+1]=this.yFactor*e}get z(){return this._geometry.coords[this._pointOffset+2]}set z(e){this._geometry.coords[this._pointOffset+2]=e}get m(){const e=this.hasZ?3:2;return this._geometry.coords[this._pointOffset+e]}set m(e){this._geometry.coords[this._pointOffset+3]=e}get pathIndex(){return this._pathIndex}get _coordIndex(){return this._pointOffset/this._stride}}function u(e){const t=[e.x,e.y];return e.z&&t.push(e.z),e.m&&t.push(e.m),t}function l(e){return(0,n.Bi)(e)?[e.rings,"esriGeometryPolygon"]:(0,n.Rg)(e)?[e.paths,"esriGeometryPolyline"]:(0,n.U9)(e)?[[e.points],"esriGeometryMultipoint"]:(0,n.ZC)(e)?[[[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]]],"esriGeometryEnvelope"]:(0,n.fT)(e)?[[[u(e)]],"esriGeometryPoint"]:[[],"esriGeometryPolyline"]}class d extends a{initialize(e,t,r,s,i){return this._paths=e,this.geometryType=t,this.hasZ=r,this.hasM=s,this._pathIndex=this._pointIndex=-1,this.yFactor=i,this._mIndex=this.hasZ?3:2,this}reset(){this._pathIndex=this._pointIndex=-1}seekPath(e){return this._pathIndex=e,this._pointIndex=-1,e>=0&&e<this.totalSize&&(this._currentPath=this._paths[e],!0)}seekPathStart(){this._pointIndex=-1}seekPathEnd(){this._pointIndex=this._currentPath.length}seekInPath(e){return e>=0&&e<this._currentPath.length&&(this._pointIndex=e,this._currentPoint=this._currentPath[this._pointIndex],!0)}nextPoint(){return this._currentPoint=this._currentPath[++this._pointIndex],this._pointIndex<this._currentPath.length}prevPoint(){return this._currentPoint=this._currentPath[--this._pointIndex],this._pointIndex>=0}nextPath(){return this._pointIndex=-1,this._currentPath=this._paths[++this._pathIndex],this._pathIndex<this.totalSize}prevPath(){return this.pathIndex>0&&(this._pointIndex=-1,this._pathIndex--,this._currentPath=this._paths[this._pathIndex],!0)}pathLength(){const e=this._currentPath.length,t=this._currentPath;let r=0;for(let s=1;s<e;s++){const e=t[s-1],i=t[s],n=e[0],o=e[1],a=i[0]-n,h=i[1]-o;r+=Math.sqrt(a*a+h*h)}return r}startPath(){this._paths.push([])}getCurrentPath(){return(new d).initialize([this._currentPath],this.geometryType,this.hasZ,this.hasM,this.yFactor)}pushPath(e){this._paths.push(e)}pushPoint(e){this._paths[this.totalSize-1].push(e)}pushXY(e,t){this._paths[this.totalSize-1].push([e,t])}pushPoints(e){this._paths[this.totalSize-1].push(...e)}pushCursor(e){const t=(0,i.x)(e);for(const e of t)this.pushPath(e)}asOptimized(){const{hasZ:e,hasM:t}=this,r=new o.A([],[],e,t),{coords:s,lengths:i}=r;if("esriGeometryPoint"===this.geometryType)s.push(...this._paths[0][0]),i.length=0;else for(const r of this._paths){for(const i of r)s.push(i[0]),s.push(i[1]*this.yFactor),e&&s.push(i[2]),t&&s.push(i[this._mIndex]);i.push(r.length)}return r}isClosed(){const e=this._currentPath[0],t=this._currentPath[this._currentPath.length-1];for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}clone(){return(new d).initialize((0,s.o8)(this._paths),this.geometryType,this.hasZ,this.hasM,this.yFactor)}get totalPoints(){return this._paths.map(e=>e.length).reduce((e,t)=>e+t)}get pathSize(){return this._pathIndex<0||this._pathIndex>this.totalSize-1?-1:this._paths[this._pathIndex].length}get totalSize(){return this._paths.length}get x(){return this._currentPoint[0]}set x(e){this._currentPoint[0]=e}get y(){return this.yFactor*this._currentPoint[1]}set y(e){this._currentPoint[1]=this.yFactor*e}get z(){return this._currentPoint[2]}set z(e){this._currentPoint[2]=e}get m(){return this._currentPoint[this._mIndex]}set m(e){this._currentPoint[this._mIndex]=e}get pathIndex(){return this._pathIndex}}class c extends h{initialize(e,t,r){return super.initialize(e,t,r),this._controlPoints||(this._controlPoints=this._controlPoints=new Array(this.totalSize).fill(void 0).map(e=>new Set)),this}startPath(){super.startPath(),this._controlPoints.push(new Set)}clone(){const e=(new c).initialize(this._geometry.clone(),this.geometryType,this.yFactor);return e._controlPoints=this._controlPoints,e}setControlPoint(){this._controlPoints[this.pathIndex].add(this._coordIndex)}getControlPoint(){return this._controlPoints[this.pathIndex].has(this._coordIndex)}setControlPointAt(e){this._controlPoints[this.pathIndex].add(e)}getControlPointAt(e){return this._controlPoints[this.pathIndex].has(e)}}class _ extends d{initialize(e,t,r,s,i){return super.initialize(e,t,r,s,i)}clone(){return(new _).initialize((0,s.o8)(this._paths),this.geometryType,this.hasZ,this.hasM,this.yFactor)}setControlPoint(){this._paths[this.pathIndex][this._pointIndex][4]=1}getControlPoint(){return 1===this._paths[this.pathIndex][this._pointIndex][4]}setControlPointAt(e){this._paths[this.pathIndex][e][4]=1}getControlPointAt(e){return 1===this._paths[this.pathIndex][e][4]}}},38976(e,t,r){r.d(t,{n:()=>n});var s=r(76213),i=r(9012);class n{constructor(e){this._options=e}insert(e,t){const r=e.getCursor(),{arcadeContextInfo:s,scale:n}=this._options,o=(0,i.N)(n,s);for(;r.next();)this._insertFeature(r,o,this._options.sqlOptions,t)}_insertFeature(e,t,r,i){const{featureFilter:n}=this._options;if(null!==n&&!n.check(e,r))return;let o=0,a=0;if("esriGeometryPoint"===e.geometryType)o=e.readXWorldSpace(),a=e.readYWorldSpace();else{if(i){const t=e.readCentroidForDisplay();if(null==t)return;const[r,i]=t.coords;if(r<0||r>s.CQ||i<0||i>s.CQ)return}const t=e.readCentroidWorldSpace();if(null==t)return;o=t.coords[0],a=t.coords[1]}this._insert(e,o,a,t)}}},39357(e,t,r){r.d(t,{A:()=>a});var s,i=r(5482),n=r(25482),o=r(91429);let a=s=class extends n.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new s({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=s=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},39412(e,t,r){r.d(t,{N:()=>n});var s=r(2741);let i=null;async function n(){return i||(i=async function(){const e=await r.e(7733).then(r.bind(r,57733));return await e.default({module_or_path:(0,s.s)("esri/libs/parquet/pkg/bundle_bg.wasm")}),e}()),i}},41628(e,t,r){r.d(t,{A:()=>h});var s,i=r(5482),n=r(91429),o=r(76357),a=r(93223);let h=class extends o.A{static{s=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new s({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],h.prototype,"maxValue",void 0),(0,i.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],h.prototype,"minValue",void 0),(0,i.Cg)([(0,a.e)({range:"range"})],h.prototype,"type",void 0),h=s=(0,i.Cg)([(0,n.$K)("esri.layers.support.RangeDomain")],h)},44320(e,t,r){r.d(t,{I:()=>h});var s=r(65529),i=r(44208),n=r(70328),o=r(30661),a=r(5162);class h{constructor(){this._chunks=new Map,this._chunksToRemove=[],this.events=new s.bk,this.featureAdapter=new o.Z}destroy(){this.clear()}clear(){for(const e of this._chunks.values())this._chunksToRemove.push(e);this._chunks.clear(),this._overrides?.clearWeakOverrides()}get usedMemory(){let e=0;for(const t of this._chunks.values())e+=t.usedMemory;return e}async update(e){if(this._overrides){const t=await a.HJ.create(e);this._overrides.update(t)}if(this._postQueryFilter=e.postQueryFilter,this._postQueryFilter)for(const{reader:e}of this.insertedChunks())e.applyPostQueryFilter(this._postQueryFilter);this._schema=e}*chunks(){this._overrides&&(yield this._overrides.asChunk()),yield*this._chunks.values()}insertedChunks(){return this._chunks.values()}insert(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e.chunkId}] SourceChunkStore.insert`),this._overrides?.onChunkInsert(e),this._chunks.set(e.chunkId,e),this._postQueryFilter&&e.reader.applyPostQueryFilter(this._postQueryFilter),this.events.emit("changed")}remove(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e.chunkId}] SourceChunkStore.remove`),this._chunks.delete(e.chunkId),this._chunksToRemove.push(e)}removeById(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e}] SourceChunkStore.remove`);const t=this._chunks.get(e);this._chunks.delete(e),t&&this._chunksToRemove.push(t)}cleanup(){const e=this._chunksToRemove;return this._chunksToRemove=[],this._overrides?.cleanup(this._chunks.values()),e}async applyOverride(e){if(null==this._overrides){const e=await a.HJ.create(this._schema);this._overrides=new a.Im(e);for(const e of this._chunks.values())this._overrides.onChunkInsert(e)}this._overrides.apply(e,this),this.events.emit("changed");for(const e of this._chunks.values())e.invalidate()}takeOverrideUpdate(){return this._overrides?.takeOverrideUpdate()}refresh(){this.events.emit("refresh")}forEach(e){const t=new Set;for(const r of this.chunks()){const s=r.reader.getCursor();for(;s.next();){const r=s.getObjectId();t.has(r)||(e(s.copy()),t.add(r))}}}forEachUnsafe(e){const t=new Set;for(const r of this.chunks()){const s=r.reader.getCursor();for(;s.next();){const r=s.getObjectId();t.has(r)||(e(s),t.add(r))}}}mapObjectIdsFromGlobalIds(e,t){const r=new Map,s=new Set(e);return this._overrides?.putWeakObjectIdsFromGlobalIds(r,s,t),this._forEachUnsafeIgnoreOverrides(e=>{const i=e.readAttribute(t);if(i&&s.has(i)&&!r.has(i)){const t=e.getObjectId();r.set(i,t)}}),r}forEachInBounds(e,t){const r=new Set;for(const s of this.chunks()){const i=s.queryFeaturesInBounds(e);for(;i.next();){const e=i.getObjectId();r.has(e)||(t(i.copy()),r.add(e))}}}forEachBounds(e,t){const r=(0,n.vt)();for(const s of e)s.getBounds(r)&&t(r)}_forEachUnsafeIgnoreOverrides(e){const t=new Set;for(const r of this._chunks.values()){const s=r.reader.withoutOverrides().getCursor();for(;s.next();){const r=s.getObjectId();t.has(r)||(e(s),t.add(r))}}}}},48163(e,t,r){function s(){return[0,0]}function i(e){return[e[0],e[1]]}function n(e,t){return[e,t]}function o(e,t=[0,0]){const r=Math.min(2,e.length);for(let s=0;s<r;++s)t[s]=e[s];return t}function a(){return n(1,1)}function h(){return n(1,0)}function u(){return n(0,1)}r.d(t,{Un:()=>l,ci:()=>o,fA:()=>n,o8:()=>i,vt:()=>s});const l=a(),d=h(),c=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_X:d,UNIT_Y:c,ZEROS:[0,0],clone:i,create:s,freeze:function(e,t){return[e,t]},fromArray:o,fromValues:n,ones:a,unitX:h,unitY:u,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},50115(e,t,r){r.d(t,{OP:()=>o,V4:()=>i,rZ:()=>n}),r(44208);var s=r(53966);function i(e,t,r){if(null==e)return null;const i=t.readArcadeFeature();t.contextTimeZone=r.$view?.timeZone;try{return e.evaluate(i,r)}catch(e){return s.A.getLogger("esri.views.2d.support.arcadeOnDemand").warn("Feature arcade evaluation failed:",e),null}}function n(e){return null==e||e===1/0||e===-1/0||"number"==typeof e&&isNaN(e)}function o(e,t,r,s){if(null==e)return null!=s?s:null;const i=t.readArcadeFeature();t.contextTimeZone=r.$view?.timeZone;const o=e.evaluate(i,r);return n(o)?null!=s?s:null:o}},52350(e,t,r){r.d(t,{e:()=>a});var s=r(69397),i=r(62577),n=r(90708),o=r(99996);class a extends o.Y{static from(e,t){if(e instanceof this){const r=new Set(t),s=e._indices.filter(e=>r.has(e));return new a(e._reader,s)}return new a(e.copy(),t)}constructor(e,t){super(e.metadata),this._currentIndex=-1,this._displayTransform=null,this._reader=e,this._indices=t}setTransformForDisplay(e){const t=this._reader.getInTransform();if(null==t)return void(this._displayTransform=(0,i.Q1)(e));const r=(0,i.Q1)(t),s=(0,i.Q1)(e),[n,o]=r.scale,[a,h]=r.translate,[u,l]=s.scale,[d,c]=s.translate,_=n/u,p=o/l,f=(a-d)/u,m=(h-c)/l;this._displayTransform={originPosition:"lowerLeft",scale:[1/_,1/p,1,1],translate:[-f/_,-m/p,0,0]}}getInTransform(){return this._reader.getInTransform()}get fields(){return this._reader.fields}get hasNext(){return this._currentIndex+1<this._indices.length}getSize(){return this._indices.length}getCursor(){return this.copy()}copy(){const e=new a(this._reader.copy(),this._indices);return e._currentIndex=this._currentIndex,e._displayTransform=this._displayTransform,e._processorAttributes=this._processorAttributes,e}get contextTimeZone(){return this._reader.contextTimeZone}set contextTimeZone(e){this._reader.contextTimeZone=e}get usedMemory(){return s.qK+this._reader.usedMemory}setProcessorAttributes(e){this._processorAttributes=Object.assign(this._processorAttributes??{},e)}_nextIndex(){return++this._currentIndex<this._indices.length&&(this._reader.setIndex(this._indices[this._currentIndex]),!0)}next(){for(;this._nextIndex()&&!this._reader._getExists(););return this._currentIndex<this._indices.length}readXForDisplay(){return this._displayTransform?(0,i.IE)(this._displayTransform,this._reader.readXForDisplay()):this._reader.readXForDisplay()}readYForDisplay(){return this._displayTransform?(0,i.B2)(this._displayTransform,this._reader.readYForDisplay()):this._reader.readYForDisplay()}readGeometryForDisplay(){return this._displayTransform?this._reader.readGeometryForDisplayTransformed(this._displayTransform):this._reader.readGeometryForDisplay()}readCentroidForDisplay(){const e=this._reader.readCentroidForDisplay()?.clone();if(e){const[t,r]=e.coords;this._displayTransform&&(e.coords[0]=(0,i.IE)(this._displayTransform,t),e.coords[1]=(0,i.B2)(this._displayTransform,r))}return e}get geometryType(){return this._reader.geometryType}get hasFeatures(){return this._reader.hasFeatures}get exceededTransferLimit(){return this._reader.exceededTransferLimit}get hasZ(){return this._reader.hasZ}get hasM(){return this._reader.hasM}readAttribute(e,t=!1){const r=this._reader.readAttribute(e,t);return null==r&&this._processorAttributes?this._processorAttributes[e]:r}readAttributes(){return{...this._processorAttributes,...this._reader.readAttributes()}}joinAttributes(e){return this._reader.joinAttributes(e)}getBounds(e){return this._reader.getBounds(e)}getAttributeHash(){return this._reader.getAttributeHash()}getObjectId(){return this._reader.getObjectId()}getDisplayId(){return this._reader.getDisplayId()}setDisplayId(e){return this._reader.setDisplayId(e)}setIndex(e){return this._reader.setIndex(e)}getIndex(){return this._reader.getIndex()}readXWorldSpace(){return this._reader.readXWorldSpace()}readYWorldSpace(){return this._reader.readYWorldSpace()}_readX(){return this._reader.readXForDisplay()}_readY(){return this._reader.readYForDisplay()}_readServerCentroid(){return this._reader._readServerCentroid()}readLegacyFeatureForDisplay(){const e=this.readCentroidForDisplay();return{attributes:this.readAttributes(),geometry:this.readLegacyGeometryForDisplay(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyGeometryForDisplay(){const e=this.readGeometryForDisplay();return(0,n.zv)(e,this.geometryType,!1,!1)}readGeometryArea(){return this._displayTransform?this._reader.readGeometryForDisplayTransformed(this._displayTransform)?.area()??0:this._reader.readGeometryArea()}readGeometryWorldSpace(){return this._reader.readGeometryWorldSpace()}_readGeometry(){return this._reader._readGeometry()}_readAttribute(e,t){throw new Error("Error: Should not be called. Underlying _reader should be used instead")}_readAttributes(){throw new Error("Error: Should not be called. Underlying _reader should be used instead")}readArcadeFeature(){return this._reader.readArcadeFeature()}geometry(){return this._reader.geometry()}field(e){return this._reader.field(e)}hasField(e){return this._reader.hasField(e)}setField(e,t){return this._reader.setField(e,t)}keys(){return this._reader.keys()}castToText(e=!1){return this._reader.castToText(e)}}},53177(e,t,r){r.d(t,{A:()=>l});var s,i=r(5482),n=r(4718),o=r(91429),a=r(39357),h=r(76357),u=r(93223);let l=class extends h.A{static{s=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new s({codedValues:(0,n.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],l.prototype,"codedValues",void 0),(0,i.Cg)([(0,u.e)({codedValue:"coded-value"})],l.prototype,"type",void 0),l=s=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],l)},60408(e,t,r){function s(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 n(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function h(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?n(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":s(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function l(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>l,Rg:()=>o,U9:()=>i,W0:()=>d,ZC:()=>s,fT:()=>n,uW:()=>h})},63664(e,t,r){r.d(t,{B:()=>s});class s{constructor(e){this._statistics=e}get statistics(){return this._statistics}}},64714(e,t,r){r.d(t,{F0:()=>a,Vx:()=>l,e2:()=>c,f:()=>_});var s=r(44208),i=r(4718),n=r(99352),o=r(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const h=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function l(e,t){if((0,s.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this${d(t)} = null;`;for(const t in e)r+=`this${d(t)} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new s}catch(r){return()=>({[t]:null,...e})}}function d(e){return h.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function _(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:n.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:n.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},65864(e,t,r){r.d(t,{rS:()=>l,xD:()=>c});var s=r(5443),i=r(91075),n=r(48526),o=r(86738),a=r(39829),h=r(82799),u=r(60408);function l(e){return null==e?null:e instanceof i.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?h.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?n.A.fromJSON(e):(0,u.ZC)(e)?s.A.fromJSON(e):null}const d={esriGeometryPoint:o.A,esriGeometryPolyline:h.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:a.A};function c(e){return e&&d[e]||null}},68974(e,t,r){r.d(t,{H:()=>h,p:()=>a});var s=r(69397),i=r(86211),n=r(38976),o=r(75538);function a(e,t){return(0,i.GA)(e)*i.dy*96/t}class h extends n.n{constructor(e){super(e),this._cells=new Map,this._pixelsPerMapUnit=a(e.spatialReference,e.scale)}get usedMemory(){const e=this._cells.values().next().value;return e?(s.RS+e.usedMemory)*this._cells.size:0}put(e){for(const t of this._cells.values()){const r=e.get(t.id);r?r.merge(t):e.set(t.id,t.clone())}}putBounded(e,t,r){const s=[t.xmin,t.ymin,t.xmax,t.ymax],[i,n,o,a]=s,h=Math.floor(i*this._pixelsPerMapUnit/this._options.cellSize),u=Math.floor(n*this._pixelsPerMapUnit/this._options.cellSize),l=Math.ceil(o*this._pixelsPerMapUnit/this._options.cellSize),d=Math.ceil(a*this._pixelsPerMapUnit/this._options.cellSize);for(let t=u;t<=d;t++)for(let r=h;r<=l;r++){const s=`${r}.${t}`,i=this._cells.get(s);if(!i)continue;const n=e.get(i.id);n?i&&!e.has(i.id)&&n.merge(i):e.set(i.id,i.clone())}}_insert(e,t,r,s){const i=t*this._pixelsPerMapUnit,n=r*this._pixelsPerMapUnit,o=Math.floor(i/this._options.cellSize),a=Math.floor(n/this._options.cellSize);this._getCellOrCreate(o,a).insert(e,s,t,r)}_getCellOrCreate(e,t){const r=o.L.createId(e,t);let s=this._cells.get(r);if(!s){const i=1*this._options.cellSize/this._pixelsPerMapUnit;s=o.L.create(e,t,this._options.fields,i),this._cells.set(r,s)}return s}}},70300(e,t,r){r.d(t,{K:()=>Y});var s=r(69397),i=r(11006);function n(e,t){if(!(this instanceof n))return new n(e,t);this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this.toBBox=t:this._initFormat(t)),this.clear()}function o(e,t,r){if(!r)return t.indexOf(e);for(var s=0;s<t.length;s++)if(r(e,t[s]))return s;return-1}function a(e,t){h(e,0,e.children.length,t,e)}function h(e,t,r,s,i){i||(i=g(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var n,o=t;o<r;o++)n=e.children[o],u(i,e.leaf?s(n):n);return i}function u(e,t){return e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY),e}function l(e,t){return e.minX-t.minX}function d(e,t){return e.minY-t.minY}function c(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function _(e){return e.maxX-e.minX+(e.maxY-e.minY)}function p(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function f(e,t){var r=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),i=Math.min(e.maxX,t.maxX),n=Math.min(e.maxY,t.maxY);return Math.max(0,i-r)*Math.max(0,n-s)}function m(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function y(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function g(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function x(e,t,r,s,n){for(var o,a=[t,r];a.length;)(r=a.pop())-(t=a.pop())<=s||(o=t+Math.ceil((r-t)/s/2)*s,(0,i.q)(e,o,t,r,n),a.push(t,o,o,r))}n.prototype={all:function(){return this._all(this.data,[])},search:function(e){var t=this.data,r=[],s=this.toBBox;if(!y(e,t))return r;for(var i,n,o,a,h=[];t;){for(i=0,n=t.children.length;i<n;i++)o=t.children[i],y(e,a=t.leaf?s(o):o)&&(t.leaf?r.push(o):m(e,a)?this._all(o,r):h.push(o));t=h.pop()}return r},collides:function(e){var t=this.data,r=this.toBBox;if(!y(e,t))return!1;for(var s,i,n,o,a=[];t;){for(s=0,i=t.children.length;s<i;s++)if(n=t.children[s],y(e,o=t.leaf?r(n):n)){if(t.leaf||m(e,o))return!0;a.push(n)}t=a.pop()}return!1},load:function(e){if(!e||!e.length)return this;if(e.length<this._minEntries){for(var t=0,r=e.length;t<r;t++)this.insert(e[t]);return this}var s=this._build(e.slice(),0,e.length-1,0);if(this.data.children.length)if(this.data.height===s.height)this._splitRoot(this.data,s);else{if(this.data.height<s.height){var i=this.data;this.data=s,s=i}this._insert(s,this.data.height-s.height-1,!0)}else this.data=s;return this},insert:function(e){return null!=e&&this._insert(e,this.data.height-1),this},clear:function(){return this.data=g([]),this},remove:function(e,t){if(null==e)return this;for(var r,s,i,n,a=this.data,h=this.toBBox(e),u=[],l=[];a||u.length;){if(a||(a=u.pop(),s=u[u.length-1],r=l.pop(),n=!0),a.leaf&&-1!==(i=o(e,a.children,t)))return a.children.splice(i,1),u.push(a),this._condense(u),this;n||a.leaf||!m(a,h)?s?(r++,a=s.children[r],n=!1):a=null:(u.push(a),l.push(r),r=0,s=a,a=a.children[0])}return this},toBBox:function(e){return e},compareMinX:l,compareMinY:d,toJSON:function(){return this.data},fromJSON:function(e){return this.data=e,this},_all:function(e,t){for(var r=[];e;)e.leaf?t.push.apply(t,e.children):r.push.apply(r,e.children),e=r.pop();return t},_build:function(e,t,r,s){var i,n=r-t+1,o=this._maxEntries;if(n<=o)return a(i=g(e.slice(t,r+1)),this.toBBox),i;s||(s=Math.ceil(Math.log(n)/Math.log(o)),o=Math.ceil(n/Math.pow(o,s-1))),(i=g([])).leaf=!1,i.height=s;var h,u,l,d,c=Math.ceil(n/o),_=c*Math.ceil(Math.sqrt(o));for(x(e,t,r,_,this.compareMinX),h=t;h<=r;h+=_)for(x(e,h,l=Math.min(h+_-1,r),c,this.compareMinY),u=h;u<=l;u+=c)d=Math.min(u+c-1,l),i.children.push(this._build(e,u,d,s-1));return a(i,this.toBBox),i},_chooseSubtree:function(e,t,r,s){for(var i,n,o,a,h,u,l,d;s.push(t),!t.leaf&&s.length-1!==r;){for(l=d=1/0,i=0,n=t.children.length;i<n;i++)h=c(o=t.children[i]),(u=p(e,o)-h)<d?(d=u,l=h<l?h:l,a=o):u===d&&h<l&&(l=h,a=o);t=a||t.children[0]}return t},_insert:function(e,t,r){var s=this.toBBox,i=r?e:s(e),n=[],o=this._chooseSubtree(i,this.data,t,n);for(o.children.push(e),u(o,i);t>=0&&n[t].children.length>this._maxEntries;)this._split(n,t),t--;this._adjustParentBBoxes(i,n,t)},_split:function(e,t){var r=e[t],s=r.children.length,i=this._minEntries;this._chooseSplitAxis(r,i,s);var n=this._chooseSplitIndex(r,i,s),o=g(r.children.splice(n,r.children.length-n));o.height=r.height,o.leaf=r.leaf,a(r,this.toBBox),a(o,this.toBBox),t?e[t-1].children.push(o):this._splitRoot(r,o)},_splitRoot:function(e,t){this.data=g([e,t]),this.data.height=e.height+1,this.data.leaf=!1,a(this.data,this.toBBox)},_chooseSplitIndex:function(e,t,r){var s,i,n,o,a,u,l,d;for(u=l=1/0,s=t;s<=r-t;s++)o=f(i=h(e,0,s,this.toBBox),n=h(e,s,r,this.toBBox)),a=c(i)+c(n),o<u?(u=o,d=s,l=a<l?a:l):o===u&&a<l&&(l=a,d=s);return d},_chooseSplitAxis:function(e,t,r){var s=e.leaf?this.compareMinX:l,i=e.leaf?this.compareMinY:d;this._allDistMargin(e,t,r,s)<this._allDistMargin(e,t,r,i)&&e.children.sort(s)},_allDistMargin:function(e,t,r,s){e.children.sort(s);var i,n,o=this.toBBox,a=h(e,0,t,o),l=h(e,r-t,r,o),d=_(a)+_(l);for(i=t;i<r-t;i++)n=e.children[i],u(a,e.leaf?o(n):n),d+=_(a);for(i=r-t-1;i>=t;i--)n=e.children[i],u(l,e.leaf?o(n):n),d+=_(l);return d},_adjustParentBBoxes:function(e,t,r){for(var s=r;s>=0;s--)u(t[s],e)},_condense:function(e){for(var t,r=e.length-1;r>=0;r--)0===e[r].children.length?r>0?(t=e[r-1].children).splice(t.indexOf(e[r]),1):this.clear():a(e[r],this.toBBox)},_initFormat:function(e){var t=["return a"," - b",";"];this.compareMinX=new Function("a","b",t.join(e[0])),this.compareMinY=new Function("a","b",t.join(e[1])),this.toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}};var v=r(70328);class I{static fromReader(e){const t=[],r=e.copy(),s=(0,v.vt)();for(;r.next();)r.getBounds(s)&&t.push(r.getIndex());const i=n(9,e=>(r.setIndex(e),{minX:r.getBoundsXMin(),minY:r.getBoundsYMin(),maxX:r.getBoundsXMax(),maxY:r.getBoundsYMax()}));return i.load(t),new I(i,t.length)}constructor(e,t){this._index=e,this._size=t}get usedMemory(){return this._size*s.RS}search(e){const t={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};return this._index.search(t)}}r(44208);var b=r(34727),T=(r(37585),r(48163)),w=r(39829),S=r(16930),M=r(19419),A=r(79258),F=r(90708),C=r(31464);function P(e,t,r,s){if(s.isWebMercator){const s=(0,b.KJ)(e/A.$O.radius),i=s-360*Math.floor((s+180)/360),n=[0,0];return O(n,0,(0,b.KJ)(Math.PI/2-2*Math.atan(Math.exp(-t/A.$O.radius))),i,r),n}const i=(0,C.Cv)({x:e,y:t},s,S.A.WGS84);if(!i)return null;const n=[0,0];return O(n,0,i.y,i.x,r),n}function O(e,t,r,s,i){i%2&&(i+=1);let n=0,o=0,a=-90,h=90,u=-180,l=180;for(let e=0;e<i/2;e++){for(let t=0;t<5;t++){const r=(u+l)/2,i=s>r?1:0;n|=i<<29-(t+5*e),u=(1-i)*u+i*r,l=(1-i)*r+i*l}for(let t=0;t<5;t++){const s=(a+h)/2,i=r>s?1:0;o|=i<<29-(t+5*e),a=(1-i)*a+i*s,h=(1-i)*s+i*h}}e[2*t]=n,e[2*t+1]=o}(0,T.vt)(),(0,T.vt)();var N=r(63664),k=r(92029);class z extends N.B{static create(e,t,r,s){const i=k.o.create(e),n=new Array(32);for(let e=0;e<n.length;e++)n[e]=null;return new z(i,t,r,s,n)}constructor(e,t,r,s,i){super(e),this.xNode=t,this.yNode=r,this.depth=s,this.children=i,this._objectIds=new Set,this._count=0,this._xWorldTotal=0,this._yWorldTotal=0,this._xGeohashTotal=0,this._yGeohashTotal=0,this.next=null}static get estimatedMemory(){let e=0;return e+=2*s.qK,e+=32*s.RS,e+=k.o.estimatedMemory,e}get id(){return`${this.xNode}.${this.yNode}`}get containedObjectIds(){return this._objectIds}get count(){return this._count}clone(){const e=new z(this._statistics.clone(),this.xNode,this.yNode,this.depth,this.children);return e._count=this._count,e._xWorldTotal=this._xWorldTotal,e._yWorldTotal=this._yWorldTotal,e._xGeohashTotal=this._xGeohashTotal,e._yGeohashTotal=this._yGeohashTotal,e.next=this.next,e._objectIds=new Set(this._objectIds),e}insert(e,t,r,s,i,n){this._count+=1,this._xWorldTotal+=t,this._yWorldTotal+=r,this._xGeohashTotal+=s,this._yGeohashTotal+=i,this._statistics.insert(e,n),this._objectIds.add(e.getObjectId())}merge(e){if(0!==e._count){this._count+=e._count,this._xWorldTotal+=e._xWorldTotal,this._yWorldTotal+=e._yWorldTotal,this._xGeohashTotal+=e._xWorldTotal,this._yGeohashTotal+=e._yWorldTotal,this._statistics.merge(e._statistics);for(const t of e._objectIds.values())this._objectIds.add(t)}}getCentroid(e){throw new Error("getCentroid not supported for GeohashNode")}getGeometry(e,t){const r=this._getLngLatBounds(),[s,i,n,o]=r,a=(0,C.Cv)({rings:[[[s,i],[s,o],[n,o],[n,i],[s,i]]]},S.A.WGS84,e),h=(0,F.Ye)(a);return null!=t?(0,F.Nl)(h,"esriGeometryPolygon",t,!1,!1):h}getGeometricCentroid(e,t){const r=this._getLngLatBounds(),[s,i,n,o]=r,a=(0,C.Cv)({x:(s+n)/2,y:(i+o)/2},S.A.WGS84,e),h=(0,F.qN)(a);return null!=t?(0,F.Nl)(h,"esriGeometryPoint",t,!1,!1):h}getAttributes(){const e={aggregateId:this.id};for(const t of this._statistics.values())e[t.field.name]=t.value;return e.aggregateCount=this._count,e}find(e,t,r,s,i,n){if(s>=r)return this;const o=1-s%2,a=3*o+2*(1-o),h=2*o+3*(1-o),u=30-i-a,l=30-n-h,d=((e&7*o+3*(1-o)<<u)>>u)+((t&3*o+7*(1-o)<<l)>>l)*(8*o+4*(1-o)),c=this.children[d];return null==c?null:c.find(e,t,r,s+1,i+a,n+h)}_getLngLatBounds(){const e=this.depth,t=Math.ceil(e/2),r=Math.floor(e/2),s=30-(3*t+2*r),i=30-(2*t+3*r);return function(e,t){let r=-90,s=90,i=-180,n=180;for(let o=0;o<t;o++){const t=Math.ceil((o+1)/2),a=Math.floor((o+1)/2),h=1-o%2,u=30-(3*t+2*a),l=30-(2*t+3*a),d=2*h+3*(1-h),c=(7*h+3*(1-h)<<u&e.geohashX)>>u,_=(3*h+7*(1-h)<<l&e.geohashY)>>l;for(let e=3*h+2*(1-h)-1;e>=0;e--){const t=(i+n)/2,r=c&1<<e?1:0;i=(1-r)*i+r*t,n=(1-r)*t+r*n}for(let e=d-1;e>=0;e--){const t=(r+s)/2,i=_&1<<e?1:0;r=(1-i)*r+i*t,s=(1-i)*t+i*s}}return[i,r,n,s]}({geohashX:this.xNode<<s,geohashY:this.yNode<<i},this.depth)}}class B{constructor(e){this._fields=e,this._size=0,this._depth=0,this._root=z.create(this._fields,0,0,0)}destroy(){}get size(){return this._size}get depth(){return this._depth}get usedMemory(){return this._size*z.estimatedMemory}find(e,t,r){return this._root.find(e,t,r,0,0,0)}insert(e,t,r,s,i,n,o){let a=this._root,h=0,u=0,l=0;for(;null!==a;){if(a.insert(e,t,r,s,i,o),h>=n)return;const d=Math.ceil((h+1)/2),c=Math.floor((h+1)/2),_=1-h%2,p=30-(3*d+2*c),f=30-(2*d+3*c),m=(s&7*_+3*(1-_)<<p)>>p,y=(i&3*_+7*(1-_)<<f)>>f,g=m+y*(8*_+4*(1-_));u=u<<3*_+2*(1-_)|m,l=l<<2*_+3*(1-_)|y,null==a.children[g]&&(a.children[g]=z.create(this._fields,u,l,h+1),this._depth=Math.max(this._depth,h+1),this._size+=1),h+=1,a=a.children[g]}}putBins(e,t){for(const r of this.getNodes(t)){const t=e.get(r.id);t?t.merge(r):e.set(r.id,r.clone())}}getNodes(e){const t=[],{geohashBounds:r,level:s}=e;let i=this._root;for(;null!==i;){const e=i.depth,n=i.xNode,o=i.yNode;if(e>=s){t.push(i),i=i.next;continue}const a=Math.ceil((e+1)/2),h=Math.floor((e+1)/2),u=1-e%2,l=30-(3*a+2*h),d=30-(2*a+3*h),c=~((1<<l)-1),_=~((1<<d)-1),p=(r.xLL&c)>>l,f=(r.yLL&_)>>d,m=(r.xTR&c)>>l,y=(r.yTR&_)>>d,g=n<<3*u+2*(1-u),x=o<<2*u+3*(1-u),v=g+8*u+4*(1-u),I=x+4*u+8*(1-u),b=Math.max(g,p),T=Math.max(x,f),w=Math.min(v,m),S=Math.min(I,y);let M=null,A=null;for(let e=T;e<=S;e++)for(let t=b;t<=w;t++){const r=t-g+(e-x)*(8*u+4*(1-u)),s=i.children[r];s&&(M||(M=s,M.next=i.next),A&&(A.next=s),A=s,s.next=i.next)}i=M||i.next}return t}}var D=r(38976);class G extends D.n{constructor(e){super(e),this._tree=new B(this._options.fields)}get usedMemory(){return this._tree.usedMemory}put(e){throw new Error("Geohash tree does not support put")}putBounded(e,t,r){const{geohashLevel:s,spatialReference:i}=this._options,n=function(e,t,r,s){const i=[e.xmin,e.ymin,e.xmax,e.ymax],n=w.A.fromExtent((0,M.w1)(i,s)),o=(0,C.Cv)(n,s,S.A.WGS84,{extendedParams:{densificationStep:64*t}});if(!o)return null;const a=(0,F.Ye)(o,!1,!1),h=a.coords.filter((e,t)=>!(t%2)),u=a.coords.filter((e,t)=>t%2),l=Math.min(...h),d=Math.min(...u),c=Math.max(...h),_=Math.max(...u),p=P(l,d,r,S.A.WGS84),f=P(c,_,r,S.A.WGS84);return p&&f?{bounds:i,geohashBounds:{xLL:p[0],yLL:p[1],xTR:f[0],yTR:f[1]},level:r}:null}(t,r,s,i);null!=n&&this._tree.putBins(e,n)}_insert(e,t,r,s){const{geohashLevel:i,spatialReference:n}=this._options,o=P(t,r,i,n);o&&this._tree.insert(e,t,r,o[0],o[1],i,s)}}var W=r(68974),j=r(52350);class Y{size(){return this.reader.getSize()}get fields(){return this.reader.fields}invalidate(){this._aggregateIndex=null,this._aggregateIndexHash=null,this._spatialIndex=null}get usedMemory(){let e=0;return e+=this.reader.underlyingMemory,this._aggregateIndex&&(e+=this._aggregateIndex.usedMemory),this._spatialIndex&&(e+=this._spatialIndex.usedMemory),e}getObjectIds(){const e=this.reader.getCursor(),t=[];for(;e.next();)t.push(e.getObjectId());return t}registerOverrides(e){this.reader.registerOverrides(e),this.invalidate()}queryFeaturesInBounds(e){const t=this._getSpatialIndex().search(e);return j.e.from(this.reader,t)}getAggregateIndex(e){const t=JSON.stringify(e);if(t!==this._aggregateIndexHash){switch(this._aggregateIndexHash=t,e.type){case"grid":this._aggregateIndex=new W.H(e);break;case"geohash":this._aggregateIndex=new G(e)}this._aggregateIndex.insert(this.reader,this.isTiled)}return this._aggregateIndex}_getSpatialIndex(){return this._spatialIndex||(this._spatialIndex=I.fromReader(this.reader)),this._spatialIndex}}},73250(e,t,r){r.d(t,{y:()=>i});var s=r(69397);class i{static fromBuffer(e,t){return new i(e,t)}static create(e,t=4294967295){const r=new Uint32Array(Math.ceil(e/32));return new i(r,t)}constructor(e,t){this._mask=0,this._buf=e,this._mask=t}_getIndex(e){return Math.floor(e/32)}get usedMemory(){return(0,s.Qf)(this._buf)}has(e){const t=this._mask&e;return!!(this._buf[this._getIndex(t)]&1<<t%32)}hasRange(e,t){let r=e,s=t;for(;r%32&&r!==s;){if(this.has(r))return!0;r++}for(;s%32&&r!==s;){if(this.has(r))return!0;s--}if(r===s)return!1;for(let e=r/32;e!==s/32;e++)if(this._buf[e])return!0;return!1}set(e){const t=this._mask&e,r=this._getIndex(t),s=1<<t%32;this._buf[r]|=s}setRange(e,t){let r=e,s=t;for(;r%32&&r!==s;)this.set(r++);for(;s%32&&r!==s;)this.set(s--);if(r!==s)for(let e=r/32;e!==s/32;e++)this._buf[e]=4294967295}unset(e){const t=this._mask&e,r=this._getIndex(t),s=1<<t%32;this._buf[r]&=4294967295^s}resize(e){const t=this._buf,r=new Uint32Array(Math.ceil(e/32));r.set(t),this._buf=r}or(e){for(let t=0;t<this._buf.length;t++)this._buf[t]|=e._buf[t];return this}and(e){for(let t=0;t<this._buf.length;t++)this._buf[t]&=e._buf[t];return this}xor(e){for(let t=0;t<this._buf.length;t++)this._buf[t]^=e._buf[t];return this}ior(e){for(let t=0;t<this._buf.length;t++)this._buf[t]|=~e._buf[t];return this}iand(e){for(let t=0;t<this._buf.length;t++)this._buf[t]&=~e._buf[t];return this}ixor(e){for(let t=0;t<this._buf.length;t++)this._buf[t]^=~e._buf[t];return this}any(){for(let e=0;e<this._buf.length;e++)if(this._buf[e])return!0;return!1}copy(e){for(let t=0;t<this._buf.length;t++)this._buf[t]=e._buf[t];return this}clone(){return new i(this._buf.slice(),this._mask)}clear(){for(let e=0;e<this._buf.length;e++)this._buf[e]=0;return this}forEachSet(e){for(let t=0;t<this._buf.length;t++){let r=this._buf[t],s=32*t;if(r)for(;r;)1&r&&e(s),r>>>=1,s++}}countSet(){let e=0;return this.forEachSet(t=>{e++}),e}}},75538(e,t,r){r.d(t,{L:()=>a});var s=r(90708),i=r(92722),n=r(63664),o=r(92029);class a extends n.B{static createId(e,t){return`${e}.${t}`}static create(e,t,r,s){return new a(e,t,o.o.create(r),s)}constructor(e,t,r,s){super(r),this.gridX=e,this.gridY=t,this._worldUnitsPerCell=s,this._count=0,this._xWorldTotal=0,this._yWorldTotal=0,this._objectIds=new Set}get id(){return a.createId(this.gridX,this.gridY)}get containedObjectIds(){return this._objectIds}get count(){return this._count}get firstObjectId(){return this._objectIds.values().next().value}get centroidXWorld(){return this._xWorldTotal/this._count}get centroidYWorld(){return this._yWorldTotal/this._count}get usedMemory(){return 48}clone(){const e=new a(this.gridX,this.gridY,this._statistics.clone(),this._worldUnitsPerCell);return e._count=this._count,e._xWorldTotal=this._xWorldTotal,e._yWorldTotal=this._yWorldTotal,e._firstFeatureAttributes=this._firstFeatureAttributes,e._objectIds=new Set(this._objectIds),e}insert(e,t,r,s){0===this._count?this._firstFeatureAttributes=e.readAttributes():this._firstFeatureAttributes=null,this._count+=1,this._xWorldTotal+=r,this._yWorldTotal+=s,this._statistics.insert(e,t),this._objectIds.add(e.getObjectId())}merge(e){if(0!==e._count){this._count+=e._count,this._firstFeatureAttributes=e._firstFeatureAttributes,this._xWorldTotal+=e._xWorldTotal,this._yWorldTotal+=e._yWorldTotal,this._statistics.merge(e._statistics);for(const t of e._objectIds.values())this._objectIds.add(t)}}getCentroidX(e){return null==e?this.centroidXWorld:(0,s.IE)(e,this.centroidXWorld)}getCentroidY(e){return null==e?this.centroidYWorld:(0,s.B2)(e,this.centroidYWorld)}getGeometry(e,t){const r=this.gridX*this._worldUnitsPerCell,n=this.gridY*this._worldUnitsPerCell,o=new i.A([4],[r,n,r+this._worldUnitsPerCell,n,r+this._worldUnitsPerCell,n+this._worldUnitsPerCell,r,n+this._worldUnitsPerCell]);return null!=t?(0,s.Nl)(o,"esriGeometryPolygon",t):o}getCentroid(e){const t=new i.A([],[this.centroidXWorld,this.centroidYWorld]);return null!=e?(0,s.Nl)(t,"esriGeometryPoint",e):t}getGeometricCentroid(e,t){const r=this.gridX*this._worldUnitsPerCell+.5*this._worldUnitsPerCell,n=this.gridY*this._worldUnitsPerCell+.5*this._worldUnitsPerCell,o=new i.A([],[r,n]);return null!=t?(0,s.Nl)(o,"esriGeometryPoint",t):o}getAttributes(){const e={aggregateId:this.id};for(const t of this._statistics.values())e[t.field.name]=t.value;return null!=this._firstFeatureAttributes?{...e,...this._firstFeatureAttributes}:e}}},76357(e,t,r){r.d(t,{A:()=>u});var s=r(5482),i=r(66552),n=r(25482),o=r(91429),a=r(93223);const h=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends n.o{constructor(e){super(e),this.name=null,this.type=null}};(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,s.Cg)([(0,a.e)(h),(0,o.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,s.Cg)([(0,o.$K)("esri.layers.support.Domain")],u)},92029(e,t,r){r.d(t,{o:()=>o});var s=r(69397),i=r(50115);const n=Math.PI/180;class o{static create(e){return new o(e.map(e=>function(e){switch(e.statisticType){case"min":return new h(e);case"max":return new u(e);case"avg":return new d(e);case"avg_angle":return new c(e);case"sum":case"count":return new l(e);case"mode":return new _(e)}}(e)))}constructor(e){this._statistics=e}static get estimatedMemory(){return s.qK+4*s.qK}values(){return this._statistics.values()}insert(e,t){for(const r of this._statistics)r.insert(e,t)}merge(e){for(let t=0;t<this._statistics.length;t++){const r=this._statistics[t],s=e._statistics[t];if(r.field.name!==s.field.name)throw new Error("InternalError: Tried to merge incompatible statistics");r.merge(s)}}clone(){return new o(this._statistics.map(e=>e.clone()))}}class a{constructor(e){this.field=e}insert(e,t){if(!this.field.computed)return;const r=this.field.computed.read(e,t);(0,i.rZ)(r)||this._insertValue(r)}}class h extends a{constructor(){super(...arguments),this.type="min",this.value=Number.MAX_VALUE}_insertValue(e){this.value=Math.min(this.value,e)}merge(e){this.value=Math.min(this.value,e.value)}clone(){const e=new h(this.field);return e.value=this.value,e}}class u extends a{constructor(){super(...arguments),this.type="max",this.value=Number.MIN_VALUE}_insertValue(e){this.value=Math.max(this.value,e)}merge(e){this.value=Math.max(this.value,e.value)}clone(){const e=new u(this.field);return e.value=this.value,e}}class l extends a{constructor(){super(...arguments),this.type="sum",this.value=0}_insertValue(e){this.value+=e}merge(e){this.value+=e.value}clone(){const e=new l(this.field);return e.value=this.value,e}}class d extends a{constructor(){super(...arguments),this.type="avg",this._total=0,this._count=0}get value(){return this._total/this._count}_insertValue(e){this._total+=e,this._count+=1}merge(e){this._total+=e._total,this._count+=e._count}clone(){const e=new d(this.field);return e._total=this._total,e._count=this._count,e}}class c extends a{constructor(){super(...arguments),this.type="avg_angle",this._x=0,this._y=0,this._count=0}get value(){const e=this._x/this._count,t=this._y/this._count,r=180/Math.PI;return Math.atan2(t,e)*r}_insertValue(e){this._x=this._x+Math.cos(e*n),this._y=this._y+Math.sin(e*n),this._count+=1}merge(e){this._x+=e._x,this._y+=e._y,this._count+=e._count}clone(){const e=new c(this.field);return e._x=this._x,e._y=this._y,e._count=this._count,e}}class _ extends a{constructor(){super(...arguments),this._frequencies=new Map}get value(){let e,t=0;for(const[r,s]of this._frequencies.entries())s>t&&(t=s,e=r);return e}_insertValue(e){const t=this._frequencies.get(e);null!=t?this._frequencies.set(e,t+1):this._frequencies.set(e,1)}merge(e){for(const[t,r]of e._frequencies.entries()){const e=this._frequencies.get(t);null!=e?this._frequencies.set(t,e+r):this._frequencies.set(t,r)}}clone(){const e=new _(this.field);return e._frequencies=new Map(this._frequencies),e}}},97633(e,t,r){r.d(t,{P:()=>n});var s=r(69397),i=r(73250);class n{constructor(e){this._valid=i.y.create(e),this._data=new Array(e)}get usedMemory(){let e=this._valid.usedMemory;if(this._data.length>0){const t="string"==typeof this._data[0]?64:s.RS;e+=this._data.length*t}return e}has(e){return this._valid.has(e)}set(e,t){this._valid.set(e),this._data[e]=t}get(e){return this._data[e]}}},98453(e,t,r){r.d(t,{m:()=>s});const s=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})},99996(e,t,r){r.d(t,{Y:()=>O});var s=r(66131),i=r(44208),n=r(69397),o=r(44729),a=r(15032),h=r(36745),u=r(70328),l=r(65864),d=r(32011),c=r(62577),_=r(27647),p=r(90708),f=r(43334),m=r(92722),y=r(98623),g=r(97633);const x=(0,i.A)("featurelayer-simplify-thresholds")??[.5,.5,.5,.5],v=x[0],I=x[1],b=x[2],T=x[3],w=(0,i.A)("featurelayer-simplify-payload-size-factors")??[1,2,4],S=w[0],M=w[1],A=w[2],F=(0,i.A)("featurelayer-simplify-mobile-factor")??2,C=(0,i.A)("esri-mobile"),P=4294967295;class O{constructor(e){this.metadata=e,this.type="FeatureSetReader",this._overrides=null,this._postQueryFilteredIds=new Set,this._joined=[],this._objectIdToIndex=null,this._boundsBuffer=[],this._caches=new Map,this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}destroy(){}[Symbol.dispose](){this.destroy()}getAreaSimplificationThreshold(e,t){let r=1;const s=C?F:1;t>4e6?r=A*s:t>1e6?r=M*s:t>5e5?r=S*s:t>1e5&&(r=s);let i=0;return e>4e3?i=T*r:e>2e3?i=b*r:e>100?i=I:e>15&&(i=v),i}getBounds(e){!function(e,t){if(!(e.length>t))for(;e.length<=t;)e.push(0)}(this._boundsBuffer,4*this.getIndex()+4);const t=this.getBoundsXMin();if(t===P||!isFinite(t))return!1;if(0===this.getBoundsXMin()){const t=this.readGeometryWorldSpace();if(t?.isPoint&&0===t.coords[0]&&0===t.coords[1])return(0,u.BI)(e,0,0,0,0),!0;if(!t)return this.setBoundsXMin(P),!1;let r=1/0,s=1/0,i=-1/0,n=-1/0;return t.forEachVertex((e,t)=>{r=Math.min(r,e),s=Math.min(s,t),i=Math.max(i,e),n=Math.max(n,t)}),this.setBoundsXMin(r),this.setBoundsYMin(s),this.setBoundsXMax(i),this.setBoundsYMax(n),(0,u.BI)(e,r,s,i,n),!0}const r=this.getBoundsXMin(),s=this.getBoundsYMin(),i=this.getBoundsXMax(),n=this.getBoundsYMax();return(0,u.BI)(e,r,s,i,n),!0}getBoundsXMin(){return this._boundsBuffer[4*this.getIndex()]}setBoundsXMin(e){this._boundsBuffer[4*this.getIndex()]=e}getBoundsYMin(){return this._boundsBuffer[4*this.getIndex()+1]}setBoundsYMin(e){this._boundsBuffer[4*this.getIndex()+1]=e}getBoundsXMax(){return this._boundsBuffer[4*this.getIndex()+2]}setBoundsXMax(e){this._boundsBuffer[4*this.getIndex()+2]=e}getBoundsYMax(){return this._boundsBuffer[4*this.getIndex()+3]}setBoundsYMax(e){this._boundsBuffer[4*this.getIndex()+3]=e}readAttributeAsTimestamp(e){const t=this.readAttribute(e);return"string"==typeof t?new Date(t).getTime():"number"==typeof t||null==t?t:null}readAttribute(e,t=!1){const r=this._readAttribute(e,t);if(void 0!==r)return r;for(const r of this._joined){r.setIndex(this.getIndex());const s=r._readAttribute(e,t);if(void 0!==s)return s}}readAttributes(){const e=this._readAttributes();for(const t of this._joined){t.setIndex(this.getIndex());const r=t._readAttributes();for(const t of Object.keys(r))e[t]=r[t]}return e}joinAttributes(e){this._joined.push(e)}registerOverrides(e){this._overrides=e}withoutOverrides(){const e=this.copy();return e._overrides=null,e}readOptimizedFeatureWorldSpace(){const e=this.readGeometryWorldSpace(),t=this.readAttributes(),r=this.readCentroidWorldSpace();return new f.Om(e,t,r,this.getObjectId(),this.getDisplayId())}readLegacyFeatureForDisplay(){const e=this.readCentroidForDisplay();return{attributes:this.readAttributes(),geometry:this.readLegacyGeometryForDisplay(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyFeatureWorldSpace(){const e=this.readCentroidWorldSpace();return{attributes:this.readAttributes(),geometry:this._readLegacyGeometryWorldSpace(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyGeometryForDisplay(){const e=this.readGeometryForDisplay();return(0,p.zv)(e,this.geometryType,!1,!1)}readXForDisplay(){return this._readX()}readYForDisplay(){return this._readY()}readXWorldSpace(){const e=this._readX(),t=this.getInTransform();return null==t?e:e*t.scale[0]+t.translate[0]}readYWorldSpace(){const e=this._readY(),t=this.getInTransform();return null==t?e:t.translate[1]-e*t.scale[1]}readGeometryForDisplay(){const e=this._readGeometryDeltaDecoded(!0);if(!e){const e=this._createDeltaQuantizedGeometryFromServerCentroid();return e?e.deltaDecode():null}return e}readGeometryForDisplayTransformed(e){let t=this.readGeometryForDisplay();if(t&&"esriGeometryPolyline"===this.metadata.geometryType&&(t=(0,p.kz)(t,this.metadata.geometryType,e.scale[0])),t&&(t=(0,p.hK)(t,e,this.metadata.geometryType)),!t){const t=this.readCentroidForDisplay();if(!t)return null;const r=(0,c.IE)(e,t.coords[0]),s=(0,c.B2)(e,t.coords[1]);return this._createDeltaQuantizedExtrudedGeometry(r,s).deltaDecode()}return t}readGeometryWorldSpace(){let e=this._readGeometry();if(e||(e=this._createDeltaQuantizedGeometryFromServerCentroid()),!e)return null;const t=e.clone(),r=this.getInTransform();return null!=r&&(0,p.aQ)(t,r),t}readCentroidForDisplay(){const e=this.readGeometryForDisplay();return e?this._computeDisplayCentroid(e):this._readServerCentroid()}readCentroidWorldSpace(){const e=this.readGeometryForDisplay(),t=e?this._computeDisplayCentroid(e):this._readServerCentroid();if(!t)return null;const r=t.clone(),s=this.getInTransform();return null!=s&&(0,p.aQ)(r,s),r}setCache(e){let t=this._caches.get(e);null==t&&(t=new g.P(this.getSize()),this._caches.set(e,t)),this._activeCache=t}setCachedValue(e){this._activeCache.set(this.getIndex(),e)}hasCachedValue(){return this._activeCache.has(this.getIndex())}getCachedValue(){return this._activeCache.get(this.getIndex())}get underlyingMemory(){let e=0;e+=(0,n.Qf)(this._boundsBuffer);for(const t of this._caches.values())e+=t.usedMemory;return e}_readGeometryDeltaDecoded(e){const t=this._readGeometry(e);return"esriGeometryPoint"!==this.geometryType&&t&&this.getInTransform()?t.deltaDecode():t}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this.fields.has(e)||this._joined.some(t=>t.hasField(e))}geometry(){const e=this.readGeometryWorldSpace(),t=(0,p.zv)(e,this.geometryType,this.hasZ,this.hasM),r=(0,l.rS)(t);if(r){if(!this.metadata.outSpatialReference)throw new Error("InternalError: Expected spatial reference to be defined");r.spatialReference=this.metadata.outSpatialReference}return r}autocastArcadeDate(e,t){return t&&t instanceof Date?this.isUnknownDateTimeField(e)?s.lY.unknownDateJSToArcadeDate(t):s.lY.dateJSAndZoneToArcadeDate(t,this.contextTimeZone??y.qU):t}isUnknownDateTimeField(e){return this.metadata.fieldsIndex.getTimeZone(e)===y.L5}field(e){let t=this.fields.get(e);if(t)switch(t.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(this.readAttribute(e,!1));case"time-only":case"esriFieldTypeTimeOnly":return a.k.fromReader(this.readAttribute(e,!1));case"esriFieldTypeTimestampOffset":case"timestamp-offset":return s.lY.fromReaderAsTimeStampOffset(this.readAttribute(e,!1));case"date":case"esriFieldTypeDate":return this.autocastArcadeDate(e,this.readAttribute(e,!0));default:return this.readAttribute(e,!1)}for(const r of this._joined)if(r.setIndex(this.getIndex()),t=r.fields.get(e),t)switch(t.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(r._readAttribute(e,!1));case"time-only":case"esriFieldTypeTimeOnly":return a.k.fromReader(r._readAttribute(e,!1));case"esriFieldTypeTimestampOffset":case"timestamp-offset":return s.lY.fromReaderAsTimeStampOffset(r._readAttribute(e,!1));case"date":case"esriFieldTypeDate":return this.autocastArcadeDate(e,r._readAttribute(e,!0));default:return this.readAttribute(e,!1)}throw new Error(`Field ${e} does not exist`)}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this.fields.fields.map(e=>e.name)}isEmpty(){return this.fields.fields.length<=0&&null==this.geometry()}castToText(e=!1){if(!e)return JSON.stringify(this.readLegacyFeatureForDisplay());const t=this.readLegacyFeatureForDisplay();if(!t)return JSON.stringify(null);const r={geometry:t.geometry,attributes:{...t.attributes}};for(const e in r.attributes){const t=r.attributes[e];t instanceof Date&&(r.attributes[e]=t.getTime())}return JSON.stringify(r)}gdbVersion(){return null}fullSchema(){return this.metadata.arcadeSchema}castAsJson(e=null){return{attributes:this._readAttributes(),geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}applyPostQueryFilter(e){if(this._postQueryFilteredIds.clear(),!e)return;const t=this.getCursor();for(;t.next();)e.check(t,{currentUser:null})||this._postQueryFilteredIds.add(t.getObjectId())}_getExists(){if(this._overrides){const e=this.getObjectId();return!this._overrides.hasOverride(e)}return!this._postQueryFilteredIds.has(this.getObjectId())}_computeDisplayCentroid(e){if(null==this.getInTransform())return(0,_.Q)(e);const t=h.z.fromOptimized(e,this.geometryType);t.yFactor*=-1;const r=(0,d.d)(t);return r?(r[1]*=-1,new m.A([],r)):null}copyInto(e){e._joined=this._joined,e._overrides=this._overrides,e._objectIdToIndex=this._objectIdToIndex,e._boundsBuffer=this._boundsBuffer,e._activeCache=this._activeCache,e._caches=this._caches,e._contextTimeZone=this._contextTimeZone,e._postQueryFilteredIds=this._postQueryFilteredIds}_readLegacyGeometryWorldSpace(){const e=this.readGeometryWorldSpace();return(0,p.zv)(e,this.geometryType,!1,!1)}_createDeltaQuantizedGeometryFromServerCentroid(){const e=this._readServerCentroid();if(!e)return null;const[t,r]=e.coords;return this._createDeltaQuantizedExtrudedGeometry(t,r)}_createDeltaQuantizedExtrudedGeometry(e,t){return"esriGeometryPolyline"===this.geometryType?this._createDeltaQuantizedExtrudedLine(e,t):this._createDeltaQuantizedExtrudedQuad(e,t)}_createDeltaQuantizedExtrudedQuad(e,t){return new m.A([5],[e-1,t,1,-1,1,1,-1,1,-1,-1])}_createDeltaQuantizedExtrudedLine(e,t){return new m.A([2],[e-1,t+1,1,-1])}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1312,2772],{27993(t,e,n){n.d(e,{F:()=>a});var i=n(91218),s=n(16930),r=n(9762),o=n(65806);function a(t,e,n,s){return!(null==e||null==s||t.length<2)&&((0,i.canProjectWithoutEngine)(e,s)?(0,r.projectBuffer)(t,e,0,n,s,0,1):(l.x=t[0],l.y=t[1],l.z=t[2],l.spatialReference=e,(0,o.g)(l,n,s)))}const l={x:0,y:0,z:0,hasZ:!0,hasM:!1,spatialReference:s.A.WGS84,type:"point"}},35522(t,e,n){n.d(e,{$A:()=>x,Bw:()=>r,C:()=>o,Cc:()=>R,DI:()=>v,Il:()=>Z,Io:()=>M,Ln:()=>y,Om:()=>S,Qr:()=>u,Re:()=>h,S8:()=>w,T9:()=>m,WQ:()=>l,Z0:()=>I,_S:()=>f,aI:()=>P,ei:()=>k,gL:()=>L,hG:()=>_,hZ:()=>a,hs:()=>g,jb:()=>z,jk:()=>p,lo:()=>D,lw:()=>c,m3:()=>b,oW:()=>T,t2:()=>E,tn:()=>d,uE:()=>N,xg:()=>q,ze:()=>A});var i=n(51850),s=n(34304);function r(t){const e=t[0],n=t[1],i=t[2];return Math.sqrt(e*e+n*n+i*i)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,i){return t[0]=e,t[1]=n,t[2]=i,t}function l(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function h(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 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 d(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function f(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function p(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,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t[2]=e[2]+n[2]*i,t}function M(t,e){const n=e[0]-t[0],i=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+i*i+s*s)}function _(t,e){const n=e[0]-t[0],i=e[1]-t[1],s=e[2]-t[2];return n*n+i*i+s*s}function b(t){const e=t[0],n=t[1],i=t[2];return e*e+n*n+i*i}function A(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function v(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function w(t,e){const n=e[0],i=e[1],s=e[2];let r=n*n+i*i+s*s;return r>0&&(r=1/Math.sqrt(r),t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r),t}function S(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function x(t,e,n){const i=e[0],s=e[1],r=e[2],o=n[0],a=n[1],l=n[2];return t[0]=s*l-r*a,t[1]=r*o-i*l,t[2]=i*a-s*o,t}function R(t,e,n,i){const s=e[0],r=e[1],o=e[2];return t[0]=s+i*(n[0]-s),t[1]=r+i*(n[1]-r),t[2]=o+i*(n[2]-o),t}function I(t,e,n){const i=e[0],s=e[1],r=e[2];return t[0]=n[0]*i+n[4]*s+n[8]*r+n[12],t[1]=n[1]*i+n[5]*s+n[9]*r+n[13],t[2]=n[2]*i+n[6]*s+n[10]*r+n[14],t}function k(t,e,n){const i=e[0],s=e[1],r=e[2];return t[0]=i*n[0]+s*n[3]+r*n[6],t[1]=i*n[1]+s*n[4]+r*n[7],t[2]=i*n[2]+s*n[5]+r*n[8],t}function L(t,e,n){const i=n[0],s=n[1],r=n[2],o=n[3],a=e[0],l=e[1],h=e[2],c=s*h-r*l,u=r*a-i*h,d=i*l-s*a,f=s*d-r*u,p=r*c-i*d,m=i*u-s*c,g=2*o;return t[0]=a+c*g+2*f,t[1]=l+u*g+2*p,t[2]=h+d*g+2*m,t}const j=(0,i.vt)(),C=(0,i.vt)();function E(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function P(t,e){if(t===e)return!0;const n=t[0],i=t[1],r=t[2],o=e[0],a=e[1],l=e[2],h=(0,s.FD)();return Math.abs(n-o)<=h*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-a)<=h*Math.max(1,Math.abs(i),Math.abs(a))&&Math.abs(r-l)<=h*Math.max(1,Math.abs(r),Math.abs(l))}function T(t,e,n){const i=n[0]-e[0],s=n[1]-e[1],r=n[2]-e[2];let o=i*i+s*s+r*r;return o>0?(o=1/Math.sqrt(o),t[0]=i*o,t[1]=s*o,t[2]=r*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const z=h,U=c,W=u,q=M,D=_,Z=r,N=b;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:l,angle:function(t,e){w(j,t),w(C,e);const n=S(j,C);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,i,s,r){const o=1-r,a=o*o,l=r*r,h=a*o,c=3*r*a,u=3*l*o,d=l*r;return t[0]=e[0]*h+n[0]*c+i[0]*u+s[0]*d,t[1]=e[1]*h+n[1]*c+i[1]*u+s[1]*d,t[2]=e[2]*h+n[2]*c+i[2]*u+s[2]*d,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:o,cross:x,crossAndNormalize:function(t,e,n){const i=e[0],s=e[1],r=e[2],o=n[0],a=n[1],l=n[2],h=s*l-r*a,c=r*o-i*l,u=i*a-s*o,d=Math.sqrt(h*h+c*c+u*u);return t[0]=h/d,t[1]=c/d,t[2]=u/d,t},direction:T,dist:q,distance:M,div:W,divide:u,dot:S,equals:P,exactEquals:E,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,i,s,r){const o=r*r,a=o*(2*r-3)+1,l=o*(r-2)+r,h=o*(r-1),c=o*(3-2*r);return t[0]=e[0]*a+n[0]*l+i[0]*h+s[0]*c,t[1]=e[1]*a+n[1]*l+i[1]*h+s[1]*c,t[2]=e[2]*a+n[2]*l+i[2]*h+s[2]*c,t},inverse:v,len:Z,length:r,lerp:R,max:m,min:p,mul:U,multiply:c,negate:A,normalize:w,random:function(t,e=1){const n=s.Ov,i=2*n()*Math.PI,r=2*n()-1,o=Math.sqrt(1-r*r)*e;return t[0]=Math.cos(i)*o,t[1]=Math.sin(i)*o,t[2]=r*e,t},rotateX:function(t,e,n,i){const s=[],r=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],r[0]=s[0],r[1]=s[1]*Math.cos(i)-s[2]*Math.sin(i),r[2]=s[1]*Math.sin(i)+s[2]*Math.cos(i),t[0]=r[0]+n[0],t[1]=r[1]+n[1],t[2]=r[2]+n[2],t},rotateY:function(t,e,n,i){const s=[],r=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],r[0]=s[2]*Math.sin(i)+s[0]*Math.cos(i),r[1]=s[1],r[2]=s[2]*Math.cos(i)-s[0]*Math.sin(i),t[0]=r[0]+n[0],t[1]=r[1]+n[1],t[2]=r[2]+n[2],t},rotateZ:function(t,e,n,i){const s=[],r=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],r[0]=s[0]*Math.cos(i)-s[1]*Math.sin(i),r[1]=s[0]*Math.sin(i)+s[1]*Math.cos(i),r[2]=s[2],t[0]=r[0]+n[0],t[1]=r[1]+n[1],t[2]=r[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:g,scaleAndAdd:y,set:a,sign:f,sqrDist:D,sqrLen:N,squaredDistance:_,squaredLength:b,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:z,subtract:h,transformMat3:k,transformMat4:I,transformQuat:L},Symbol.toStringTag,{value:"Module"}))},35982(t,e,n){n.d(e,{B:()=>l});var i=n(4576),s=n(36563),r=n(53966),o=n(74887),a=n(83027);class l{constructor(t,e,n,i,s={}){this._mainMethod=e,this._transferLists=n,this._listeners=[],this._promise=(0,a.h)(t,{...s,schedule:i}).then(t=>{if(void 0===this._thread){this._thread=t,this._promise=null,s.hasInitialize&&this.broadcast({},"initialize");for(const t of this._listeners)this._connectListener(t)}else t.close()}),this._promise.catch(e=>r.A.getLogger("esri.core.workers.WorkerHandle").error(`Failed to initialize ${t} worker: ${e}`))}on(t,e){const n={removed:!1,eventName:t,callback:e,threadHandle:null};return this._listeners.push(n),this._connectListener(n),(0,s.hA)(()=>{n.removed=!0,(0,i.TF)(this._listeners,n),this._thread&&null!=n.threadHandle&&n.threadHandle.remove()})}[Symbol.dispose](){this.destroy()}destroy(){this._thread&&(this._thread.close(),this._thread=null),this._promise=null,this._listeners.length=0,this._transferLists={}}invoke(t,e,n){return this.invokeMethod(this._mainMethod,t,e,n)}invokeMethod(t,e,n,i){if(this._thread){const s=this._transferLists[t],r=s?s(e):[];return this._thread.invoke(t,e,{transferList:r,signal:n,jobPriority:i})}return this._promise?this._promise.then(()=>((0,o.Te)(n),this.invokeMethod(t,e,n))):Promise.reject(null)}broadcast(t,e){return this._thread?Promise.all(this._thread.broadcast(e,t)).then(h):this._promise?this._promise.then(()=>this.broadcast(t,e)):Promise.reject()}get promise(){return this._promise}_connectListener(t){this._thread&&this._thread.on(t.eventName,t.callback).then(e=>{t.removed||(t.threadHandle=e)})}}function h(){}},61528(t,e,n){n.r(e),n.d(e,{default:()=>P});var i=n(5482),s=n(11254),r=n(49186),o=n(44208),a=n(53966),l=n(25728),h=n(74887),c=n(36708),u=n(91429),d=n(87024),f=n(5443),p=n(16930),m=n(4146),g=n(52136),y=n(18768),M=n(69208),_=n(16131),b=n(8303),A=n(25036),v=n(10873),w=n(58325),S=n(88546),x=n(20655),R=n(24212),I=n(97159),k=n(16215),L=n(72772),j=n(98697),C=n(36005);let E=class extends((0,y.b)((0,_.q)((0,b.A)((0,A.j)((0,l.M)((0,M.d)((0,g.p)(m.A)))))))){readModifications(t,e,n){this._modificationsSource={url:(0,I.f)(t,n),context:n}}initialize(){this.addHandles((0,c.on)(()=>this.modifications,"after-changes",()=>this.modifications=this.modifications,c.OH))}constructor(t){super(t),this.operationalLayerType="IntegratedMesh3DTilesLayer",this.modifications=null,this._modificationsSource=null,this.spatialReference=S.Zx,this.fullExtent=S.zq,this.url=null,this.type="integrated-mesh-3dtiles",this.path=null,this.minScale=0,this.maxScale=0,this._rootTilesetJSON=null,this._rootTileset=null,this._key=null,this._session=null,this._rootRequestPromise=null,this.queryElevationCallback=null}set elevationInfo(t){null!=t&&"absolute-height"!==t.mode||this._set("elevationInfo",t),this._validateElevationInfo(t)}async load(t){return this.addResolvingPromise(this._doLoad(t)),this}get rootTilesetJSON(){return this._rootTilesetJSON}get rootTileset(){return this._rootTileset}get key(){return this._key}get session(){return this._session}_findSessionParameter(t){const e=[t];for(;e?.length>0;){const t=e.pop();if(!t)return;for(const[n,i]of Object.entries(t)){if("uri"===n)try{const t=new URL("https://tmp"+i).searchParams.get("session");if(t)return t}catch(t){}"object"==typeof i&&null!==i&&e.push(i)}}return null}async requestRootAndSession(t){const e=(t,e)=>new r.A("3dtiles-init:"+t,e);return this._rootRequestPromise||(this._rootRequestPromise=new Promise((n,i)=>{this.url||i(e("url-missing","Layer url missing")),this._key=this.customParameters?this.customParameters.key:null,new Promise((t,n)=>{if(this.replacesTerrain&&!this._key){const i=this.portalItem?.portal||this.parent?.portalItem?.portal||x.A.getDefault();i.signIn().then(()=>{i.g3dTilesEnabled?(0,s.A)(i.restUrl+"/portals/self/modules/g3dtiles",{responseType:"json",query:{f:"json"}}).then(e=>{this._key=e.data.keyString,t()},()=>n(e("g3dtiles-key-error","Error fetching Google 3D Tiles key from portal"))):n(e("g3dTilesEnabled-false","Google 3D Tiles are not enabled on Portal "+i.url))},()=>n(e("sign-in-failed","Error signing in to Portal")))}else t()}).then(()=>{(0,s.A)(this.url,{query:this._key?{key:this._key,token:this.apiKey}:{token:this.apiKey},responseType:"array-buffer",signal:t}).then(t=>{try{this._rootTilesetJSON=JSON.parse((new TextDecoder).decode(t.data))}catch(t){return void i(e("root-parse-failed","Error parsing root tile, details: "+t))}this._rootTilesetJSON?(this._session=this._findSessionParameter(this._rootTilesetJSON),this._rootTileset=t.data,this.fullExtent=(0,S.uB)(this._rootTilesetJSON),n(),this._rootRequestPromise=null):i(e("root-is-null","Root tile is null."))},t=>{(0,h.QP)(t),i(e("root-load-failed","Error loading root tile")),this._rootRequestPromise=null,a.A.getLogger("IntegratedMesh3DTilesLayer").error("Layer loading failed",t)})},t=>i(t))})),this._rootRequestPromise}async _doLoad(t){const e=null!=t?t.signal:null;if(this.isUsedAsGroundLayer&&!(0,o.A)("enable-feature:basemap-groundlayers"))throw new r.A("3dtiles-init:not-supported-in-groundlayers","Layer is not supported in basemap.");try{await this.loadFromPortal({supportedTypes:["3DTiles Service"],validateItem:t=>{if(t.typeKeywords?.includes("IntegratedMesh"))return!0;throw new r.A("portal:invalid-layer-item-type","Invalid layer item, expected '${expectedType}' ",{expectedType:"3DTiles Service containing IntegratedMesh"})}},t)}catch(t){(0,h.QP)(t)}if(null!=this._modificationsSource){const e=await w.A.fromUrl(this._modificationsSource.url,this.spatialReference,t);if(e&&e.length>0){const t=t=>a.A.getLogger(this).error("convert-mesh-modification-z-error","Error when converting:",t);(0,L.initialize)().then(()=>{const t=(0,j.Ir)(null,e.toArray(),this.spatialReference),n=(0,L.switchMeshModificationPolygonVCSSync)({modifications:t,inVCS:115700});n.success&&n.modifications&&(0,j.H1)(n.modifications,e),null!=this._modificationsSource&&this.setAtOrigin("modifications",e,this._modificationsSource.context.origin),this._modificationsSource=null}).catch(t)}}await this.requestRootAndSession(e)}beforeSave(){if(null==this._modificationsSource){const t=this.modifications;if(t&&t.length>0){const e=t=>a.A.getLogger(this).error("convert-mesh-modification-z-error","Error when converting:",t);(0,L.initialize)().then(()=>{const e=(0,j.Ir)(null,t.toArray(),this.spatialReference),n=(0,L.switchMeshModificationPolygonVCSSync)({modifications:e,inVCS:5773});n.success&&n.modifications&&(0,j.H1)(n.modifications,t)}).catch(e)}return}return this.load().then(()=>{},()=>{})}get hasAttributionData(){return!1}_validateElevationInfo(t){const e="Integrated mesh 3d tiles layers";(0,R.XF)(a.A.getLogger(this),(0,R.B)(e,"absolute-height",t)),(0,R.XF)(a.A.getLogger(this),(0,R.tW)(e,t))}get replacesTerrain(){return!!(0,o.A)("enable-feature:basemap-groundlayers")&&this.hasGoogleUrl&&this.isUsedAsGroundLayer}get isUsedAsGroundLayer(){return(0,k.S)(this.parent)}get hasGoogleUrl(){return!!this.url?.match(/.+\.googleapis.com/)}};(0,i.Cg)([(0,u.MZ)({type:["IntegratedMesh3DTilesLayer"]})],E.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,u.MZ)({type:w.A,clonable:t=>t.clone()}),(0,d.P)({origins:["web-scene","portal-item"],type:"resource",prefix:"modifications"})],E.prototype,"modifications",void 0),(0,i.Cg)([(0,C.w)(["web-scene","portal-item"],"modifications")],E.prototype,"readModifications",null),(0,i.Cg)([(0,u.MZ)({type:p.A})],E.prototype,"spatialReference",void 0),(0,i.Cg)([(0,u.MZ)({type:f.A})],E.prototype,"fullExtent",void 0),(0,i.Cg)([(0,u.MZ)(v.Yj)],E.prototype,"elevationInfo",null),(0,i.Cg)([(0,u.MZ)({type:["show","hide"]})],E.prototype,"listMode",void 0),(0,i.Cg)([(0,u.MZ)(v.OZ)],E.prototype,"url",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],E.prototype,"type",void 0),(0,i.Cg)([(0,u.MZ)({type:String,json:{origins:{"web-scene":{read:!0,write:!0},"portal-item":{read:!0,write:!0}},read:!1}})],E.prototype,"path",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,json:{name:"layerDefinition.minScale",write:!0,origins:{service:{read:!1,write:!1}}}})],E.prototype,"minScale",void 0),(0,i.Cg)([(0,u.MZ)({type:Number,json:{name:"layerDefinition.maxScale",write:!0,origins:{service:{read:!1,write:!1}}}})],E.prototype,"maxScale",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],E.prototype,"hasAttributionData",null),(0,i.Cg)([(0,u.MZ)()],E.prototype,"replacesTerrain",null),(0,i.Cg)([(0,u.MZ)()],E.prototype,"isUsedAsGroundLayer",null),(0,i.Cg)([(0,u.MZ)()],E.prototype,"hasGoogleUrl",null),E=(0,i.Cg)([(0,u.$K)("esri.layers.IntegratedMesh3DTilesLayer")],E);const P=E},65806(t,e,n){n.d(e,{g:()=>o});var i=n(51850),s=n(91218),r=n(9762);function o(t,e,n,i){if((0,s.canProjectWithoutEngine)(t.spatialReference,n))return a[0]=t.x,a[1]=t.y,a[2]=t.z??0,(0,r.projectBuffer)(a,t.spatialReference,0,e,n,0);const o=(0,s.tryProject)(t,n,i);return!!o&&(e[0]=o.x,e[1]=o.y,e[2]=o.z??0,!0)}const a=(0,i.vt)()},72772(t,e,n){n.r(e),n.d(e,{addSpatialReferenceInfo:()=>l,destroyWasm:()=>c,initialize:()=>u,process:()=>a,switchMeshModificationPolygonVCSSync:()=>h});var i=n(2741);function s(t){return(0,i.s)(`esri/libs/lyr3d/${t}`)}let r,o;async function a(t){await u();const e={status:1,error:"",jobDescJson:"",data:new Uint8Array(0),missingInputUrls:[]};if(t.inputs.length<1)return{result:e,transferList:[]};const n={ptrs:[],sizes:[]};for(const e of t.inputs){const t=o._malloc(e.byteLength);new Uint8Array(o.HEAPU8.buffer,t,e.byteLength).set(new Uint8Array(e)),n.ptrs.push(t),n.sizes.push(e.byteLength)}const i=o.process(t.jobDescJson,t.id,n,t.isMissingResourceCase);e.status=i.status,e.missingInputUrls=i.missingInputUrls.slice();const s=0===i.status&&i.data,r=2===e.status&&e.missingInputUrls.length>0;e.jobDescJson=i.jobDescJson.slice(),e.error=i.error.slice(),s?e.data=i.data.slice():r&&(e.originalInputs=t.inputs.slice());for(let t=0;t<n.ptrs.length;++t)o._free(n.ptrs[t]);const a=[];if(s)a.push(e.data.buffer);else if(r)for(const e of t.inputs)a.push(e);return{result:e,transferList:a}}async function l(t){await u(),o.add_spatial_reference_info(t.sr,t.isGCS,t.toMetersXY,t.toMetersZ)}function h(t){if(!o)return{success:!1,modifications:null};const e=o._malloc(8*t.modifications.length),n=new Float64Array(o.HEAPF64.buffer,e,t.modifications.length);n.set(t.modifications);const i=o.switch_mesh_modification_polygon_vcs(e,t.modifications.length,t.inVCS);let s=null;return i&&(s=n.slice()),o._free(e),{success:i,modifications:s}}function c(){o&&(o.uninitialize_lyr3d_worker_wasm(),o=null)}function u(){return o?Promise.resolve():(r||(r=new Promise(t=>n.e(2343).then(n.bind(n,2343)).then(t=>t.l).then(({default:e})=>{const n=e({locateFile:s,onRuntimeInitialized:()=>t(n)})})).catch(t=>{throw t}).then(t=>{o=t,o.initialize_lyr3d_worker_wasm(),r=null})),r)}},76553(t,e,n){function i(t){return t&&"getAtOrigin"in t&&"originOf"in t}n.d(e,{H:()=>i})},83027(t,e,n){n.d(e,{h:()=>i});const i=n(29953).ho},88546(t,e,n){n.d(e,{Zx:()=>u,_8:()=>g,uB:()=>y,zq:()=>d});var i=n(34727),s=n(35522),r=n(51850),o=n(73941),a=n(5443),l=n(54239),h=n(16930),c=n(9762);const u=new h.A({wkid:4326,vcsWkid:115700}),d=new a.A(-180,-90,180,90,u);function f(t,e){if(!Array.isArray(t)||t.length<e)return!1;for(const e of t)if("number"!=typeof e)return!1;return!0}const p=7645211,m={xmin:-180,ymin:-90,zmin:-450,xmax:180,ymax:90,zmax:8850};function g(t){return!(!(t.extensions?.ESRI_crs?.wkid||t.extensions?.ESRI_crs?.latestWkid||t.extensions?.ESRI_crs?.wkt)||!t.root?.extensions?.ESRI_crs?.boundingVolume?.box&&!t.root?.extensions?.ESRI_crs?.boundingVolume?.sphere)}function y(t,e=!1){let n=new h.A({wkid:4326,vcsWkid:115700}),l=t.root?.boundingVolume,u=!1,d=t?.root?.transform;if(e&&(t.extensions?.ESRI_crs?.wkid||t.extensions?.ESRI_crs?.latestWkid||t.extensions?.ESRI_crs?.wkt)&&(t.root?.extensions?.ESRI_crs?.boundingVolume?.box||t.root?.extensions?.ESRI_crs?.boundingVolume?.sphere))n=new h.A(t.extensions?.ESRI_crs),l=t.root?.extensions?.ESRI_crs?.boundingVolume,d=t.root?.transform,u=!0;else if(!l)return new a.A(-180,-90,180,90,n);if(l.box){const t=l?.box;if(t[3]>p&&t[7]>p&&t[11]>p)return new a.A({...m,spatialReference:n})}const g=(0,r.vt)();if(!u&&l.region&&f(l.region,6)){const t=l.region,e=(0,i.KJ)(t[0]),s=(0,i.KJ)(t[1]),r=t[4],o=(0,i.KJ)(t[2]),h=(0,i.KJ)(t[3]),c=t[5];return new a.A({xmin:e,ymin:s,zmin:r,xmax:o,ymax:h,zmax:c,spatialReference:n})}if(l.sphere&&f(l.sphere,4)){const t=l.sphere,e=(0,r.fA)(t[0],t[1],t[2]),i=t[3]/Math.sqrt(3),p=(0,r.vt)();(0,s.Re)(p,e,(0,r.fA)(i,i,i));const m=(0,r.vt)();if((0,s.WQ)(m,e,(0,r.fA)(i,i,i)),d&&f(d,16)){const t=d;(0,s.Z0)(g,p,t),(0,s.C)(p,g),(0,s.Z0)(g,m,t),(0,s.C)(m,g)}u||((0,c.projectBuffer)(p,o.Ro,0,p,h.A.WGS84,0),(0,c.projectBuffer)(m,o.Ro,0,m,h.A.WGS84,0));const y=(0,r.vt)(),M=(0,r.vt)();return(0,s.jk)(y,p,m),(0,s.T9)(M,p,m),new a.A({xmin:y[0],ymin:y[1],zmin:y[2],xmax:M[0],ymax:M[1],zmax:M[2],spatialReference:n})}if(l.box&&f(l.box,12)){const t=l.box,e=(0,r.fA)(t[0],t[1],t[2]),i=(0,r.fA)(t[3],t[4],t[5]),p=(0,r.fA)(t[6],t[7],t[8]),m=(0,r.fA)(t[9],t[10],t[11]),g=[];for(let t=0;t<8;++t)g.push((0,r.vt)());if((0,s.WQ)(g[0],e,i),(0,s.WQ)(g[0],g[0],p),(0,s.WQ)(g[0],g[0],m),(0,s.jb)(g[1],e,i),(0,s.WQ)(g[1],g[1],p),(0,s.WQ)(g[1],g[1],m),(0,s.WQ)(g[2],e,i),(0,s.jb)(g[2],g[2],p),(0,s.WQ)(g[2],g[2],m),(0,s.jb)(g[3],e,i),(0,s.jb)(g[3],g[3],p),(0,s.WQ)(g[3],g[3],m),(0,s.WQ)(g[4],e,i),(0,s.WQ)(g[4],g[4],p),(0,s.jb)(g[4],g[4],m),(0,s.jb)(g[5],e,i),(0,s.WQ)(g[5],g[5],p),(0,s.jb)(g[5],g[5],m),(0,s.WQ)(g[6],e,i),(0,s.jb)(g[6],g[6],p),(0,s.jb)(g[6],g[6],m),(0,s.jb)(g[7],e,i),(0,s.jb)(g[7],g[7],p),(0,s.jb)(g[7],g[7],m),d&&f(d,16)){const t=d;for(let e=0;e<8;++e)(0,s.Z0)(g[e],g[e],t)}const y=(0,r.fA)(-Number.MAX_VALUE,-Number.MAX_VALUE,-Number.MAX_VALUE),M=(0,r.fA)(Number.MAX_VALUE,Number.MAX_VALUE,Number.MAX_VALUE);for(let t=0;t<8;++t)u||(0,c.projectBuffer)(g[t],o.Ro,0,g[t],h.A.WGS84,0),(0,s.jk)(M,M,g[t]),(0,s.T9)(y,y,g[t]);return new a.A({xmin:M[0],ymin:M[1],zmin:M[2],xmax:y[0],ymax:y[1],zmax:y[2],spatialReference:n})}return new a.A(-180,-90,180,90,n)}new Map([[5773,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM96_Geoid"})],[3855,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"EGM2008_Geoid"})],[115700,new l.A({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"WGS_1984"})],[115701,new l.A({heightModel:"ellipsoidal",heightUnit:"meters",vertCRS:"ETRS_1989"})],[6360,new l.A({heightModel:"gravity-related-height",heightUnit:"us-feet",vertCRS:"NAVD88_height_(ftUS)"})],[7837,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"DHHN2016_(height)"})],[5709,new l.A({heightModel:"gravity-related-height",heightUnit:"meters",vertCRS:"NAP"})]])},98697(t,e,n){n.d(e,{H1:()=>p,Ir:()=>f,_b:()=>h,sQ:()=>c});var i=n(53966),s=n(15142),r=n(51850),o=n(35982),a=n(91218),l=n(27993);class h{constructor(t,e,n,i,s,r){this.layout=t,this.interleavedVertexData=e,this.indices=n,this.hasColors=i,this.hasModifications=s,this.positionData=r}}class c{constructor(t,e,n,i,s,r,o){this.componentOffsets=t,this.featureIds=e,this.anchorIds=n,this.anchors=i,this.transformedGeometry=s,this.globalTrafo=r,this.obb=o}}o.B;const u=new s.A({deallocator:null}),d=(0,r.vt)();function f(t,e,n){u.clear();let s=1/0,r=1/0,o=-1/0,h=-1/0,c=!1;for(const t of e){const e="clip"===t.type?2:"mask"===t.type?1:0,f=t.geometry;let p=t=>t;if(f.spatialReference){if(!(0,a.canProjectWithoutEngine)(f.spatialReference,n)){i.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-projection-failed","Can't project modification polygon into layer spatial reference, ignoring modification",{polygon:f});continue}p=t=>((0,l.F)(t,f.spatialReference,d,n),d)}c=c||1===e;const m=f.rings.length,g=f.rings.some(t=>t.length<3);if(0===m||g)i.A.getLogger("esri.views.3d.layers.SceneLayerWorkerHandle").warn("im-modification-invalid-polygon","Ignoring invalid modification polygon (no rings or rings with less than 3 vertices).",{polygon:f});else{u.push(e),u.push(m);for(const t of f.rings){u.push(t.length);for(const e of t){const t=p(e);u.push(t[0]),u.push(t[1]),u.push(t[2]??0),s=Math.min(s,t[0]),r=Math.min(r,t[1]),o=Math.max(o,t[0]),h=Math.max(h,t[1])}}}}if(null!=t)if(c){const e=1e-4;u.push(2),u.push(2),u.push(4),u.push(s-e),u.push(r-e),u.push(0),u.push(o+e),u.push(r-e),u.push(0),u.push(o+e),u.push(h+e),u.push(0),u.push(s-e),u.push(h+e),u.push(0),u.push(4),u.push(t[0]),u.push(t[1]),u.push(0),u.push(t[2]),u.push(t[1]),u.push(0),u.push(t[2]),u.push(t[3]),u.push(0),u.push(t[0]),u.push(t[3]),u.push(0)}else u.push(1),u.push(1),u.push(4),u.push(t[0]),u.push(t[1]),u.push(0),u.push(t[2]),u.push(t[1]),u.push(0),u.push(t[2]),u.push(t[3]),u.push(0),u.push(t[0]),u.push(t[3]),u.push(0);u.push(3);const f=new Float64Array(u.length);for(let t=0;t<u.length;++t)f[t]=u.at(t);return f}function p(t,e){let n=0;for(const i of e){const e=i.geometry,s=e.rings.length,r=e.rings.some(t=>t.length<3);if(0!==s&&!r){n+=1,n+=1;for(let i=0;i<e.rings.length;++i){const s=e.rings[i];n+=1;for(let r=0;r<s.length;++r){const s=[t[n+0],t[n+1],t[n+2]];n+=3,e.setPoint(i,r,s)}}}}}}}]);