@arcgis/core 5.2.0-next.15 → 5.2.0-next.17

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 (892) hide show
  1. package/applications/Urban/editingSessionUtils.js +1 -1
  2. package/arcade/featureSetUtils.js +1 -1
  3. package/arcade/featureset/sources/FeatureLayerDynamic.js +1 -1
  4. package/arcade/featureset/sources/FeatureLayerParquet.js +2 -0
  5. package/arcade/featureset/support/FeatureSet.js +1 -1
  6. package/arcade/featureset/support/shared.js +1 -1
  7. package/arcade.d.ts +2 -1
  8. package/arcgisGlobal.d.ts +6 -1
  9. package/assets/esri/core/t9n/Units_ar.json +1 -1
  10. package/assets/esri/core/t9n/Units_bg.json +1 -1
  11. package/assets/esri/core/t9n/Units_bs.json +1 -1
  12. package/assets/esri/core/t9n/Units_ca.json +1 -1
  13. package/assets/esri/core/t9n/Units_cs.json +1 -1
  14. package/assets/esri/core/t9n/Units_da.json +1 -1
  15. package/assets/esri/core/t9n/Units_de.json +1 -1
  16. package/assets/esri/core/t9n/Units_el.json +1 -1
  17. package/assets/esri/core/t9n/Units_es.json +1 -1
  18. package/assets/esri/core/t9n/Units_et.json +1 -1
  19. package/assets/esri/core/t9n/Units_fi.json +1 -1
  20. package/assets/esri/core/t9n/Units_fr.json +1 -1
  21. package/assets/esri/core/t9n/Units_he.json +1 -1
  22. package/assets/esri/core/t9n/Units_hr.json +1 -1
  23. package/assets/esri/core/t9n/Units_hu.json +1 -1
  24. package/assets/esri/core/t9n/Units_id.json +1 -1
  25. package/assets/esri/core/t9n/Units_it.json +1 -1
  26. package/assets/esri/core/t9n/Units_ja.json +1 -1
  27. package/assets/esri/core/t9n/Units_ko.json +1 -1
  28. package/assets/esri/core/t9n/Units_lt.json +1 -1
  29. package/assets/esri/core/t9n/Units_lv.json +1 -1
  30. package/assets/esri/core/t9n/Units_nl.json +1 -1
  31. package/assets/esri/core/t9n/Units_no.json +1 -1
  32. package/assets/esri/core/t9n/Units_pl.json +1 -1
  33. package/assets/esri/core/t9n/Units_pt-BR.json +1 -1
  34. package/assets/esri/core/t9n/Units_pt-PT.json +1 -1
  35. package/assets/esri/core/t9n/Units_ro.json +1 -1
  36. package/assets/esri/core/t9n/Units_ru.json +1 -1
  37. package/assets/esri/core/t9n/Units_sk.json +1 -1
  38. package/assets/esri/core/t9n/Units_sl.json +1 -1
  39. package/assets/esri/core/t9n/Units_sr.json +1 -1
  40. package/assets/esri/core/t9n/Units_sv.json +1 -1
  41. package/assets/esri/core/t9n/Units_th.json +1 -1
  42. package/assets/esri/core/t9n/Units_tr.json +1 -1
  43. package/assets/esri/core/t9n/Units_uk.json +1 -1
  44. package/assets/esri/core/t9n/Units_vi.json +1 -1
  45. package/assets/esri/core/t9n/Units_zh-CN.json +1 -1
  46. package/assets/esri/core/t9n/Units_zh-HK.json +1 -1
  47. package/assets/esri/core/t9n/Units_zh-TW.json +1 -1
  48. package/assets/esri/core/workers/RemoteClient.js +1 -1
  49. package/assets/esri/core/workers/chunks/007485862ce95928717a.js +1 -0
  50. package/assets/esri/core/workers/chunks/00bcb04934972179b9ca.js +1 -0
  51. package/assets/esri/core/workers/chunks/{d9d4754062758789f186.js → 05016e5a1de384994001.js} +2 -2
  52. package/assets/esri/core/workers/chunks/05b6b2c0b76afb100e33.js +1 -0
  53. package/assets/esri/core/workers/chunks/{8927fb4aa68f7e541a39.js → 05d597dd117766beadd8.js} +1 -1
  54. package/assets/esri/core/workers/chunks/073ee52705ea326fecfb.js +1 -0
  55. package/assets/esri/core/workers/chunks/0a52373c4ba652e0ee0f.js +1 -0
  56. package/assets/esri/core/workers/chunks/0b522e05668bef729b1b.js +1 -0
  57. package/assets/esri/core/workers/chunks/0d42322362e76f674d94.js +2 -0
  58. package/assets/esri/core/workers/chunks/{a442534ac0956a68b769.js → 0e81b6aa64d5491870b2.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{81e3bd1a0634ddc2b833.js → 0f10d7d592c36ee2d1ea.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{3526ab3b1f87c24ae6f8.js → 0fb685f385e91d0f0601.js} +1 -1
  61. package/assets/esri/core/workers/chunks/{cdf6ad970dc1893dac58.js → 110135b0562a3b5708b9.js} +1 -1
  62. package/assets/esri/core/workers/chunks/11d1af758e2140095b10.js +1 -0
  63. package/assets/esri/core/workers/chunks/122892f365f5327d290c.js +1 -0
  64. package/assets/esri/core/workers/chunks/1305690054214a9cf48d.js +1 -0
  65. package/assets/esri/core/workers/chunks/168c15cf462f9abcbdd2.js +1 -0
  66. package/assets/esri/core/workers/chunks/169bfafec4d59be2beb0.js +1 -0
  67. package/assets/esri/core/workers/chunks/1d2609ce6220b5af5526.js +1 -0
  68. package/assets/esri/core/workers/chunks/1e109a521ca8772fdf04.js +1 -0
  69. package/assets/esri/core/workers/chunks/1ea840b7ac1ffaa0c389.js +1 -0
  70. package/assets/esri/core/workers/chunks/1f48438b3055afeb710f.js +1 -0
  71. package/assets/esri/core/workers/chunks/2353fbc1ff4481dcfb1f.js +1 -0
  72. package/assets/esri/core/workers/chunks/2509da565e5a2b43ac7f.js +1 -0
  73. package/assets/esri/core/workers/chunks/255c8e937e7a123ebb04.js +1 -0
  74. package/assets/esri/core/workers/chunks/256cc116e3be4feee593.js +1 -0
  75. package/assets/esri/core/workers/chunks/26aa8190ac439f634c5b.js +1 -0
  76. package/assets/esri/core/workers/chunks/29e6f4b19c3da9129439.js +1 -0
  77. package/assets/esri/core/workers/chunks/{45b560ca01fb566ba560.js → 2a8d791aef3123e6a3c4.js} +1 -1
  78. package/assets/esri/core/workers/chunks/2baee42e1797a709fe4b.js +1 -0
  79. package/assets/esri/core/workers/chunks/2c017eae434254610c8e.js +1 -0
  80. package/assets/esri/core/workers/chunks/2d7a4b669804d0c5029b.js +1 -0
  81. package/assets/esri/core/workers/chunks/2f40193d1b2e534c5226.js +1 -0
  82. package/assets/esri/core/workers/chunks/303e723e829ea7088d43.js +1 -0
  83. package/assets/esri/core/workers/chunks/31c4128b23968575feca.js +1 -0
  84. package/assets/esri/core/workers/chunks/35533c8ef541f7643497.js +2 -0
  85. package/assets/esri/core/workers/chunks/35a508a9311689d8df52.js +1 -0
  86. package/assets/esri/core/workers/chunks/36913f0f944a9eb82cd3.js +1 -0
  87. package/assets/esri/core/workers/chunks/3a35779cae6a11cde51b.js +1 -0
  88. package/assets/esri/core/workers/chunks/3a526e1d18490b99332f.js +1 -0
  89. package/assets/esri/core/workers/chunks/{cc62e5095e328bed3e01.js → 3aa0a34d2b7dbf2e2c66.js} +1 -1
  90. package/assets/esri/core/workers/chunks/3d4ad7c728e02aa90551.js +1 -0
  91. package/assets/esri/core/workers/chunks/3e89f487c5851c954d8b.js +1 -0
  92. package/assets/esri/core/workers/chunks/436d51b9f1b1b5abc4bc.js +1 -0
  93. package/assets/esri/core/workers/chunks/43ef6dee2e1d9ed7885e.js +1 -0
  94. package/assets/esri/core/workers/chunks/442424200e7475e9a08f.js +1 -0
  95. package/assets/esri/core/workers/chunks/4b96aa2dc5b88846bb53.js +1 -0
  96. package/assets/esri/core/workers/chunks/4ea325c829d3b82854b1.js +1 -0
  97. package/assets/esri/core/workers/chunks/50c88e2545380800381f.js +1 -0
  98. package/assets/esri/core/workers/chunks/51a53011478e0cf96e0b.js +1 -0
  99. package/assets/esri/core/workers/chunks/51a8a47aac1d8d22ba9d.js +1 -0
  100. package/assets/esri/core/workers/chunks/5481af25fd46914498df.js +1 -0
  101. package/assets/esri/core/workers/chunks/54f54623532f633dc0e2.js +1 -0
  102. package/assets/esri/core/workers/chunks/{bfd1aef8ac795e1ce227.js → 57a6572d440d2c62432b.js} +1 -1
  103. package/assets/esri/core/workers/chunks/5809e70a8e57e9b05959.js +1 -0
  104. package/assets/esri/core/workers/chunks/589b31cc5c663a288942.js +1 -0
  105. package/assets/esri/core/workers/chunks/58ce4bcfb15f378b1b9f.js +1 -0
  106. package/assets/esri/core/workers/chunks/58e0e50b6c3abaa4798f.js +1 -0
  107. package/assets/esri/core/workers/chunks/595bc41ff36c77324d01.js +261 -0
  108. package/assets/esri/core/workers/chunks/599bd80379423c99799d.js +1 -0
  109. package/assets/esri/core/workers/chunks/5bf01e0eff8a78b65e9e.js +1 -0
  110. package/assets/esri/core/workers/chunks/5dfeefee96659832398a.js +1 -0
  111. package/assets/esri/core/workers/chunks/{011a4d4201696fa10408.js → 5ea1113b7bdcf94b2822.js} +1 -1
  112. package/assets/esri/core/workers/chunks/5fab14c5f1febebb75f1.js +1 -0
  113. package/assets/esri/core/workers/chunks/60d4a3f770bb1e01cd10.js +1 -0
  114. package/assets/esri/core/workers/chunks/63858dfcff1177e597e7.js +1 -0
  115. package/assets/esri/core/workers/chunks/6849282c4a5cd733779d.js +1 -0
  116. package/assets/esri/core/workers/chunks/686c1a1b794ebe1a0341.js +1 -0
  117. package/assets/esri/core/workers/chunks/6a21a22b08f968fa8d60.js +1 -0
  118. package/assets/esri/core/workers/chunks/{11c3b1e8ca21ad62fdd1.js → 6db5ee9c589265b23b60.js} +1 -1
  119. package/assets/esri/core/workers/chunks/6dc60afb0c39bbb001a3.js +1 -0
  120. package/assets/esri/core/workers/chunks/{5bfae465872760e7af6d.js → 6f240fe78b299e6c4fcc.js} +1 -1
  121. package/assets/esri/core/workers/chunks/70cb825bb37f1977d2ab.js +1 -0
  122. package/assets/esri/core/workers/chunks/71a593fa116770e58832.js +1 -0
  123. package/assets/esri/core/workers/chunks/71f09e34d56c9fe5c307.js +1 -0
  124. package/assets/esri/core/workers/chunks/{72cfb186e50537bcdd19.js → 75915f81caaf9e5345a9.js} +1 -1
  125. package/assets/esri/core/workers/chunks/7832d94f35b79e27ee51.js +1 -0
  126. package/assets/esri/core/workers/chunks/8104ac2eee69d79ada86.js +1 -0
  127. package/assets/esri/core/workers/chunks/818a481ce579f519de1c.js +1 -0
  128. package/assets/esri/core/workers/chunks/831455798b177678720c.js +1 -0
  129. package/assets/esri/core/workers/chunks/83ce38342796bd6d73ce.js +1 -0
  130. package/assets/esri/core/workers/chunks/84a0bb53fcbd99b5aa0c.js +1 -0
  131. package/assets/esri/core/workers/chunks/87b86375f8557418dbe6.js +1 -0
  132. package/assets/esri/core/workers/chunks/8817d25c7f4cf0e6c6bd.js +1 -0
  133. package/assets/esri/core/workers/chunks/{0b55fc5050e718371e05.js → 888af532ad48fd86f285.js} +1 -1
  134. package/assets/esri/core/workers/chunks/{9331969046f2b277d620.js → 8a39dd585742960d3ca2.js} +1 -1
  135. package/assets/esri/core/workers/chunks/8ade399db21938822a7c.js +1 -0
  136. package/assets/esri/core/workers/chunks/8c62e2dabd1f1e13d244.js +1 -0
  137. package/assets/esri/core/workers/chunks/909e88c27d80777b047c.js +1 -0
  138. package/assets/esri/core/workers/chunks/91c5205d1274c7f190d5.js +1 -0
  139. package/assets/esri/core/workers/chunks/91c543443cd6768ad6ff.js +1 -0
  140. package/assets/esri/core/workers/chunks/9230ad807020fc2bbf8e.js +1 -0
  141. package/assets/esri/core/workers/chunks/92458803531fdfe1557a.js +1 -0
  142. package/assets/esri/core/workers/chunks/{976ab2be6c244768c08a.js → 940ebb13618d38c6b459.js} +1 -1
  143. package/assets/esri/core/workers/chunks/987594539981483a7c5e.js +1 -0
  144. package/assets/esri/core/workers/chunks/99c002015c2127e6cbfc.js +2 -0
  145. package/assets/esri/core/workers/chunks/9d59cc5c0a63a4e41d99.js +1 -0
  146. package/assets/esri/core/workers/chunks/{91c0de3950991d81b7f2.js → 9de673a04c70bd47047e.js} +1 -1
  147. package/assets/esri/core/workers/chunks/a195f569eada3a8736be.js +1 -0
  148. package/assets/esri/core/workers/chunks/a32651777e4f07df5b6a.js +1 -0
  149. package/assets/esri/core/workers/chunks/a3393780655152102c45.js +1 -0
  150. package/assets/esri/core/workers/chunks/a3c5b754a6fa0f4250bf.js +1 -0
  151. package/assets/esri/core/workers/chunks/{52175ff9e8c2c136f90a.js → a3ecde3794a7db3cf283.js} +1 -1
  152. package/assets/esri/core/workers/chunks/a59a1fdcd37a875f179b.js +1 -0
  153. package/assets/esri/core/workers/chunks/a844c4e031e77db11478.js +1 -0
  154. package/assets/esri/core/workers/chunks/a99ce2f12c8204ee542a.js +1 -0
  155. package/assets/esri/core/workers/chunks/aba7a053015a9738d8a0.js +1 -0
  156. package/assets/esri/core/workers/chunks/{c8460bdf60aca749ed05.js → ac16016964be3b684e98.js} +1 -1
  157. package/assets/esri/core/workers/chunks/adce59e4111bae4225f7.js +1 -0
  158. package/assets/esri/core/workers/chunks/aeeee92b86554962711e.js +1 -0
  159. package/assets/esri/core/workers/chunks/af3b060fdfa3b6174340.js +1 -0
  160. package/assets/esri/core/workers/chunks/b0e4af49fc968b0a910f.js +1 -0
  161. package/assets/esri/core/workers/chunks/b289c46ce2dc04d32e81.js +1 -0
  162. package/assets/esri/core/workers/chunks/{c983e5ce0ff952b65d7f.js → b2b342b06d502fc61ea5.js} +1 -1
  163. package/assets/esri/core/workers/chunks/b466af9019f10420115e.js +1 -0
  164. package/assets/esri/core/workers/chunks/{67ebde34377f98d17cda.js → b5571e93bc136dac8ee1.js} +1 -1
  165. package/assets/esri/core/workers/chunks/ba1c4a8794ac55942e35.js +1 -0
  166. package/assets/esri/core/workers/chunks/bb9232d9f63ec0c32447.js +1 -0
  167. package/assets/esri/core/workers/chunks/bbcad2fde838819ffc7b.js +1 -0
  168. package/assets/esri/core/workers/chunks/bd260798b8de09a1eeb2.js +1 -0
  169. package/assets/esri/core/workers/chunks/{44d0ca9d4c5f1722688c.js → bf67e0f6064fb9d94ac8.js} +1 -1
  170. package/assets/esri/core/workers/chunks/bf9eca7dd107bdb06614.js +1 -0
  171. package/assets/esri/core/workers/chunks/c030a974a63155f450e9.js +1 -0
  172. package/assets/esri/core/workers/chunks/c0b7b9d115dccb2924ff.js +1 -0
  173. package/assets/esri/core/workers/chunks/c2db773201adca204f95.js +1 -0
  174. package/assets/esri/core/workers/chunks/c318e6dbb8651433038f.js +2 -0
  175. package/assets/esri/core/workers/chunks/c4a2ec2e5897300163ac.js +1 -0
  176. package/assets/esri/core/workers/chunks/c63b315c6b76b4860fc5.js +1 -0
  177. package/assets/esri/core/workers/chunks/c8091e8fd7ca43a4490a.js +1 -0
  178. package/assets/esri/core/workers/chunks/{2413b383b7f2bdcd4ced.js → c8672a54c98d472aa24d.js} +1 -1
  179. package/assets/esri/core/workers/chunks/cbe8adc100582e746a8c.js +1 -0
  180. package/assets/esri/core/workers/chunks/d0321dd4b5b2d863eecd.js +1 -0
  181. package/assets/esri/core/workers/chunks/d523af1db620b5381c99.js +1 -0
  182. package/assets/esri/core/workers/chunks/d5a0e3a73df827dc7b06.js +1 -0
  183. package/assets/esri/core/workers/chunks/d670e134348954ce465d.js +1 -0
  184. package/assets/esri/core/workers/chunks/{886ae23a1d8fa21e531f.js → d750e4abeb777caa8c36.js} +1 -1
  185. package/assets/esri/core/workers/chunks/{bd36c57dd0cd28dee55f.js → d7acbc2ddff4cee8a465.js} +1 -1
  186. package/assets/esri/core/workers/chunks/{cb8c4d8334fab9bd9a04.js → d90bc34d97bb21c29c40.js} +1 -1
  187. package/assets/esri/core/workers/chunks/d9fcc63df008f687848a.js +1 -0
  188. package/assets/esri/core/workers/chunks/db96a0c66578b2d1b715.js +1 -0
  189. package/assets/esri/core/workers/chunks/{6a1b6f8c868f8edce1d7.js → dd3b0070081eaf805d95.js} +1 -1
  190. package/assets/esri/core/workers/chunks/dd5dddf7e422216d3806.js +1 -0
  191. package/assets/esri/core/workers/chunks/de83c177f8a1234a5b2e.js +1 -0
  192. package/assets/esri/core/workers/chunks/{07ca020796c57cefda62.js → dfb19701b488089874fd.js} +1 -1
  193. package/assets/esri/core/workers/chunks/e2f33945d838183a2192.js +1 -0
  194. package/assets/esri/core/workers/chunks/e3ea4b7217df16592def.js +1 -0
  195. package/assets/esri/core/workers/chunks/{d97c0c18202b8c578f8c.js → e5471373f89fd7cb9844.js} +1 -1
  196. package/assets/esri/core/workers/chunks/e65d291bab13f7f5323b.js +1 -0
  197. package/assets/esri/core/workers/chunks/e95ee94027c1934086d8.js +1 -0
  198. package/assets/esri/core/workers/chunks/ecbf84a1f42e6188faab.js +1 -0
  199. package/assets/esri/core/workers/chunks/efaa1d05705f6b450e8f.js +1 -0
  200. package/assets/esri/core/workers/chunks/efaf998d18479a0380ae.js +1 -0
  201. package/assets/esri/core/workers/chunks/f0573db9a3d3e1499a7e.js +1 -0
  202. package/assets/esri/core/workers/chunks/f07722efd7fa2b75d4dd.js +1 -0
  203. package/assets/esri/core/workers/chunks/{520e0e5307eef27becc6.js → f0924613f818dd165ad9.js} +1 -1
  204. package/assets/esri/core/workers/chunks/{8b0a01ebc86ab226f01f.js → f23351a04643c464be84.js} +1 -1
  205. package/assets/esri/core/workers/chunks/f3d331da3c61af5c5a2f.js +1 -0
  206. package/assets/esri/core/workers/chunks/f3fe865506fd7428eb6d.js +1 -0
  207. package/assets/esri/core/workers/chunks/{3d20c86f1fe877bf884b.js → f59b76fde2cbd17f64b3.js} +1 -1
  208. package/assets/esri/core/workers/chunks/f6afc597eaf2afa9a4a0.js +1 -0
  209. package/assets/esri/core/workers/chunks/{ed2a1c371dfc5d4a744e.js → f7f820483e45c05ab9e4.js} +2 -2
  210. package/assets/esri/core/workers/chunks/f8cfd0045d06aa24beec.js +1 -0
  211. package/assets/esri/core/workers/chunks/f98bb3885bfc7f18f26c.js +1 -0
  212. package/assets/esri/core/workers/chunks/f9b44ff9bb4f7a88ab56.js +1 -0
  213. package/assets/esri/core/workers/chunks/{b102beeeb7a919f68b51.js → fb81705cec1be2431876.js} +1 -1
  214. package/assets/esri/core/workers/chunks/fd53ef66176ae164e221.js +1 -0
  215. package/assets/esri/core/workers/chunks/fd956a58787020d610af.js +1 -0
  216. package/assets/esri/core/workers/chunks/fdec3a2e100688c42e41.js +1 -0
  217. package/assets/esri/core/workers/chunks/fe6385115d76e16e8da0.js +1 -0
  218. package/assets/esri/core/workers/chunks/fedbeb488d5d7c07c7dc.js +1 -0
  219. package/assets/esri/core/workers/chunks/{d9695794cfaa014a55b1.js → ff00ac01f0baaecaa890.js} +1 -1
  220. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  221. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +62 -90
  222. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +0 -2
  223. package/assets/esri/themes/dark/main.css +1 -1
  224. package/assets/esri/themes/light/main.css +1 -1
  225. package/assets/esri/themes/light/view.css +1 -1
  226. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ar.json +1 -1
  227. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bg.json +1 -1
  228. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bs.json +1 -1
  229. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ca.json +1 -1
  230. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_cs.json +1 -1
  231. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_da.json +1 -1
  232. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_de.json +1 -1
  233. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_el.json +1 -1
  234. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_es.json +1 -1
  235. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_et.json +1 -1
  236. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fi.json +1 -1
  237. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fr.json +1 -1
  238. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_he.json +1 -1
  239. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hr.json +1 -1
  240. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hu.json +1 -1
  241. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_id.json +1 -1
  242. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_it.json +1 -1
  243. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ja.json +1 -1
  244. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ko.json +1 -1
  245. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lt.json +1 -1
  246. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lv.json +1 -1
  247. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_nl.json +1 -1
  248. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_no.json +1 -1
  249. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pl.json +1 -1
  250. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-BR.json +1 -1
  251. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-PT.json +1 -1
  252. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ro.json +1 -1
  253. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ru.json +1 -1
  254. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sk.json +1 -1
  255. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sl.json +1 -1
  256. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sr.json +1 -1
  257. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sv.json +1 -1
  258. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_th.json +1 -1
  259. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_tr.json +1 -1
  260. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_uk.json +1 -1
  261. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_vi.json +1 -1
  262. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-CN.json +1 -1
  263. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-HK.json +1 -1
  264. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-TW.json +1 -1
  265. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ar.json +1 -1
  266. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_bg.json +1 -1
  267. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_bs.json +1 -1
  268. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ca.json +1 -1
  269. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_cs.json +1 -1
  270. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_da.json +1 -1
  271. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_de.json +1 -1
  272. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_el.json +1 -1
  273. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_es.json +1 -1
  274. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_et.json +1 -1
  275. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_fi.json +1 -1
  276. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_fr.json +1 -1
  277. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_he.json +1 -1
  278. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_hr.json +1 -1
  279. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_hu.json +1 -1
  280. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_id.json +1 -1
  281. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_it.json +1 -1
  282. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ja.json +1 -1
  283. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ko.json +1 -1
  284. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_lt.json +1 -1
  285. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_lv.json +1 -1
  286. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_nl.json +1 -1
  287. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_no.json +1 -1
  288. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pl.json +1 -1
  289. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pt-BR.json +1 -1
  290. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pt-PT.json +1 -1
  291. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ro.json +1 -1
  292. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ru.json +1 -1
  293. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sk.json +1 -1
  294. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sl.json +1 -1
  295. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sr.json +1 -1
  296. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sv.json +1 -1
  297. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_th.json +1 -1
  298. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_tr.json +1 -1
  299. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_uk.json +1 -1
  300. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_vi.json +1 -1
  301. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-CN.json +1 -1
  302. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-HK.json +1 -1
  303. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-TW.json +1 -1
  304. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ar.json +1 -1
  305. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bg.json +1 -1
  306. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bs.json +1 -1
  307. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ca.json +1 -1
  308. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_cs.json +1 -1
  309. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_da.json +1 -1
  310. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_de.json +1 -1
  311. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_el.json +1 -1
  312. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_es.json +1 -1
  313. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_et.json +1 -1
  314. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fi.json +1 -1
  315. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fr.json +1 -1
  316. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_he.json +1 -1
  317. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hr.json +1 -1
  318. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hu.json +1 -1
  319. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_id.json +1 -1
  320. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_it.json +1 -1
  321. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ja.json +1 -1
  322. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ko.json +1 -1
  323. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lt.json +1 -1
  324. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lv.json +1 -1
  325. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_nl.json +1 -1
  326. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_no.json +1 -1
  327. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pl.json +1 -1
  328. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-BR.json +1 -1
  329. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-PT.json +1 -1
  330. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ro.json +1 -1
  331. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ru.json +1 -1
  332. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sk.json +1 -1
  333. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sl.json +1 -1
  334. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sr.json +1 -1
  335. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sv.json +1 -1
  336. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_th.json +1 -1
  337. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_tr.json +1 -1
  338. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_uk.json +1 -1
  339. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_vi.json +1 -1
  340. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-CN.json +1 -1
  341. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-HK.json +1 -1
  342. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-TW.json +1 -1
  343. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  344. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  345. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  346. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  347. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  348. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  349. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  350. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  351. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  352. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  353. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  354. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  355. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  356. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  357. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  358. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  359. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  360. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  361. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  362. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  363. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  364. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  365. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  366. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  367. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  368. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  369. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  370. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  371. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  372. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  373. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  374. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  375. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  376. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  377. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  378. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  379. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  380. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  381. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  382. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  383. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  384. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  385. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  386. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  387. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  388. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  389. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  390. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  391. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  392. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  393. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  394. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  395. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  396. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  397. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  398. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  399. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  400. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  401. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  402. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  403. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  404. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  405. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  406. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  407. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  408. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  409. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  410. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  411. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  412. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  413. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  414. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  415. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  416. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  417. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  418. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  419. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  420. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  421. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ar.json +1 -1
  422. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_bg.json +1 -1
  423. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_bs.json +1 -1
  424. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ca.json +1 -1
  425. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_cs.json +1 -1
  426. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_da.json +1 -1
  427. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_de.json +1 -1
  428. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_el.json +1 -1
  429. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_es.json +1 -1
  430. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_et.json +1 -1
  431. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_fi.json +1 -1
  432. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_fr.json +1 -1
  433. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_he.json +1 -1
  434. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_hr.json +1 -1
  435. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_hu.json +1 -1
  436. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_id.json +1 -1
  437. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_it.json +1 -1
  438. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ja.json +1 -1
  439. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ko.json +1 -1
  440. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_lt.json +1 -1
  441. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_lv.json +1 -1
  442. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_nl.json +1 -1
  443. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_no.json +1 -1
  444. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pl.json +1 -1
  445. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pt-BR.json +1 -1
  446. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pt-PT.json +1 -1
  447. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ro.json +1 -1
  448. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ru.json +1 -1
  449. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sk.json +1 -1
  450. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sl.json +1 -1
  451. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sr.json +1 -1
  452. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sv.json +1 -1
  453. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_th.json +1 -1
  454. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_tr.json +1 -1
  455. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_uk.json +1 -1
  456. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_vi.json +1 -1
  457. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-CN.json +1 -1
  458. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-HK.json +1 -1
  459. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-TW.json +1 -1
  460. package/chunks/Bufferer-CclWhXVb.js +2 -0
  461. package/chunks/Distance2DCalculator-DjIp2uQi.js +2 -0
  462. package/chunks/Envelope.js +1 -1
  463. package/chunks/Envelope2D.js +1 -1
  464. package/chunks/GaussianSplatComposition.glsl.js +1 -1
  465. package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +2 -0
  466. package/chunks/GeodeticUtils.js +1 -1
  467. package/chunks/Geometry.js +1 -1
  468. package/chunks/{GeometryCleaner-BEJM7I4l.js → GeometryCleaner-CIE8Wfmb.js} +1 -1
  469. package/chunks/GlowComposition.glsl.js +1 -1
  470. package/chunks/MultiPathImpl.js +1 -1
  471. package/chunks/OITBlend.glsl.js +1 -1
  472. package/chunks/OITDimOpaque.glsl.js +1 -1
  473. package/chunks/OperatorClip.js +1 -1
  474. package/chunks/OperatorCrosses.js +1 -1
  475. package/chunks/OperatorCut.js +1 -1
  476. package/chunks/OperatorDefinitions.js +1 -1
  477. package/chunks/OperatorDensify.js +1 -1
  478. package/chunks/OperatorGeneralize.js +1 -1
  479. package/chunks/OperatorGeodesicBuffer.js +1 -1
  480. package/chunks/OperatorGeodeticArea.js +1 -1
  481. package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
  482. package/chunks/OperatorGeodeticDistance.js +1 -1
  483. package/chunks/OperatorGeodeticLength.js +1 -1
  484. package/chunks/OperatorGraphicBuffer.js +2 -0
  485. package/chunks/OperatorIntegrate.js +1 -1
  486. package/chunks/OperatorIntersects.js +1 -1
  487. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  488. package/chunks/OperatorOverlaps.js +1 -1
  489. package/chunks/OperatorProximity.js +1 -1
  490. package/chunks/OperatorProximityGeodesic.js +1 -1
  491. package/chunks/OperatorShapePreservingLength.js +1 -1
  492. package/chunks/OperatorShapePreservingProject.js +1 -1
  493. package/chunks/OperatorSimplifyOGC.js +1 -1
  494. package/chunks/OperatorTouches.js +1 -1
  495. package/chunks/OperatorWithin.js +1 -1
  496. package/chunks/Point2D.js +1 -1
  497. package/chunks/ProjectionTransformation.js +1 -1
  498. package/chunks/{SideCalculator2D-BNwb5gvz.js → SideCalculator2D-DX0718xq.js} +1 -1
  499. package/chunks/SimpleGeometryCursor.js +1 -1
  500. package/chunks/SpatialReference.js +1 -1
  501. package/chunks/Transformation2D.js +1 -1
  502. package/chunks/centroidOperator.js +1 -1
  503. package/chunks/containsOperator.js +1 -1
  504. package/chunks/disjointOperator.js +1 -1
  505. package/chunks/distanceOperator.js +1 -1
  506. package/chunks/equalsOperator.js +1 -1
  507. package/chunks/languageUtils.js +1 -1
  508. package/config.js +1 -1
  509. package/core/has.js +1 -1
  510. package/core/screenUtils.js +1 -1
  511. package/editing/types.d.ts +22 -2
  512. package/form/elements/UtilityNetworkAssociationsElement.d.ts +0 -1
  513. package/geometry/Mesh.d.ts +1 -1
  514. package/geometry/operators/extendOperator.js +1 -1
  515. package/geometry/operators/gx/operatorAffineTransform.js +1 -1
  516. package/geometry/operators/gx/operatorAlphaShape.js +1 -1
  517. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  518. package/geometry/operators/gx/operatorBoundary.js +1 -1
  519. package/geometry/operators/gx/operatorBuffer.js +1 -1
  520. package/geometry/operators/gx/operatorConvexHull.js +1 -1
  521. package/geometry/operators/gx/operatorDifference.js +1 -1
  522. package/geometry/operators/gx/operatorGraphicBuffer.js +1 -1
  523. package/geometry/operators/gx/operatorIntersection.js +1 -1
  524. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  525. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  526. package/geometry/operators/gx/operatorLocateBetween.js +1 -1
  527. package/geometry/operators/gx/operatorMinimumBoundingCircle.js +1 -1
  528. package/geometry/operators/gx/operatorOffset.js +1 -1
  529. package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
  530. package/geometry/operators/gx/operatorPolygonSlicer.js +1 -1
  531. package/geometry/operators/gx/operatorSinglePartToMultiPart.js +1 -1
  532. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  533. package/geometry/operators/gx/operatorUnion.js +1 -1
  534. package/geometry/operators/isNearOperator.js +1 -1
  535. package/geometry/operators/json/containsOperator.js +1 -1
  536. package/geometry/operators/json/disjointOperator.js +1 -1
  537. package/geometry/operators/reshapeOperator.js +1 -1
  538. package/geometry/operators/support/apiConverter.js +1 -1
  539. package/geometry/operators/support/initNoPeFactory.js +1 -1
  540. package/geometry/operators/support/jsonConverter.js +1 -1
  541. package/geometry/support/aaBoundingRect.js +1 -1
  542. package/graphic/AnnotationFeatureGraphicOrigin.d.ts +5 -2
  543. package/graphic/AnnotationFeatureGraphicOrigin.js +1 -1
  544. package/graphic/DimensionFeatureGraphicOrigin.js +1 -1
  545. package/graphic/graphicOrigins.js +1 -1
  546. package/graphic/isAnnotationFeatureGraphicOrigin.d.ts +29 -0
  547. package/graphic/isAnnotationFeatureGraphicOrigin.js +2 -0
  548. package/graphic/isDimensionFeatureGraphicOrigin.d.ts +29 -0
  549. package/graphic/isDimensionFeatureGraphicOrigin.js +2 -0
  550. package/interfaces.d.ts +3 -3
  551. package/kernel.js +1 -1
  552. package/layers/AnnotationFeatureLayer.d.ts +73 -0
  553. package/layers/AnnotationFeatureLayer.js +1 -1
  554. package/layers/FeatureLayer.d.ts +7 -4
  555. package/layers/FeatureLayer.js +1 -1
  556. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  557. package/layers/ParquetLayer.js +1 -1
  558. package/layers/SubtypeGroupLayer.d.ts +7 -4
  559. package/layers/SubtypeGroupLayer.js +1 -1
  560. package/layers/graphics/applyEditsUtils.js +1 -1
  561. package/layers/graphics/data/QueryEngine.js +1 -1
  562. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  563. package/layers/graphics/sources/MemorySource.js +1 -1
  564. package/layers/graphics/sources/ParquetSource.js +1 -1
  565. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  566. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  567. package/layers/orientedImagery/transformations/utils.js +1 -1
  568. package/layers/support/{AnnotationSublayer.d.ts → AnnotationFeatureSublayer.d.ts} +12 -12
  569. package/layers/support/AnnotationFeatureSublayer.js +2 -0
  570. package/layers/support/EditingCapabilities.js +1 -1
  571. package/layers/support/ParquetPortalItemData.js +1 -1
  572. package/layers/support/SubtypeSublayer.d.ts +7 -4
  573. package/layers/support/SubtypeSublayer.js +1 -1
  574. package/layers/support/featureLayerUtils.js +1 -1
  575. package/networks/CircuitManager.d.ts +247 -1
  576. package/networks/UnitIdentifierManager.d.ts +40 -3
  577. package/networks/UtilityNetwork.d.ts +0 -11
  578. package/networks/UtilityNetwork.js +1 -1
  579. package/networks/support/Circuit.d.ts +0 -1
  580. package/networks/support/CircuitLocation.d.ts +0 -1
  581. package/networks/support/CircuitPath.d.ts +0 -1
  582. package/networks/support/CircuitPathConnectivityElement.d.ts +0 -1
  583. package/networks/support/CircuitSection.d.ts +0 -1
  584. package/networks/support/NamedTraceConfiguration.d.ts +1 -7
  585. package/networks/support/Subcircuit.d.ts +0 -1
  586. package/networks/support/UNTraceConfiguration.d.ts +0 -4
  587. package/networks/support/jsonTypes.d.ts +1 -1
  588. package/networks/support/typeUtils.d.ts +10 -1
  589. package/networks/support/typeUtils.js +1 -1
  590. package/package.json +3 -3
  591. package/popup/Feature.d.ts +57 -6
  592. package/popup/Features.d.ts +86 -7
  593. package/popup/content/UtilityNetworkAssociationsContent.d.ts +0 -1
  594. package/popup/support/UtilityNetworkAssociationType.d.ts +0 -1
  595. package/rest/networks/circuits/support/CircuitTraceResult.d.ts +0 -1
  596. package/rest/networks/circuits/support/CircuitVerifyResult.d.ts +0 -1
  597. package/rest/networks/support/TelecomNetworkElement.d.ts +0 -1
  598. package/rest/networks/support/TraceLocation.d.ts +1 -11
  599. package/rest/networks/support/TraceParameters.d.ts +1 -7
  600. package/rest/networks/support/TraceResult.d.ts +0 -2
  601. package/rest/networks/support/TraverseAssociationsParameters.d.ts +69 -0
  602. package/rest/networks/support/TraverseAssociationsParameters.js +2 -0
  603. package/rest/networks/support/TraverseAssociationsResult.d.ts +39 -0
  604. package/rest/networks/support/TraverseAssociationsResult.js +2 -0
  605. package/rest/networks/traverseAssociations.d.ts +21 -0
  606. package/rest/networks/traverseAssociations.js +2 -0
  607. package/rest/networks/unitIdentifiers/support/UnitQueryResult.d.ts +0 -1
  608. package/rest/print.js +1 -1
  609. package/rest/query/operations/query.js +1 -1
  610. package/smartMapping/renderers/location.js +1 -1
  611. package/smartMapping/renderers/opacity.js +1 -1
  612. package/smartMapping/renderers/predominance.js +1 -1
  613. package/smartMapping/renderers/support/regenerateUtils.js +1 -1
  614. package/smartMapping/renderers/support/rendererUtils.d.ts +3 -1
  615. package/smartMapping/renderers/support/rendererUtils.js +1 -1
  616. package/smartMapping/support/adapters/FeatureLayerAdapter.js +1 -1
  617. package/support/revision.js +1 -1
  618. package/symbols/WebStyleSymbol.js +1 -1
  619. package/symbols/cim/effects/EffectOffset.js +1 -1
  620. package/symbols/support/symbolUtils.js +1 -1
  621. package/symbols/support/webStyleSymbolCache.js +2 -0
  622. package/third-party-notices.txt +0 -32
  623. package/undoredo/support/ApplySet.js +1 -1
  624. package/undoredo/support/ApplySetItem.js +1 -1
  625. package/views/2d/analysis/AreaMeasurement/AreaMeasurementTool.js +1 -1
  626. package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
  627. package/views/2d/engine/webgl/shaderGraph/techniques/FeatureInstanceStore.js +1 -1
  628. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
  629. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerMeshWriter.js +1 -1
  630. package/views/2d/engine/webgl/shaderGraph/techniques/animated/attributes.js +1 -1
  631. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriterVertexPack.js +1 -1
  632. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  633. package/views/2d/engine/webgl/util/AnnotationMatcher.js +1 -1
  634. package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.js +1 -1
  635. package/views/2d/layers/features/sources/strategies/support/queryAdapters.js +1 -1
  636. package/views/2d/layers/features/support/FeatureMetadata.js +1 -1
  637. package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
  638. package/views/2d/layers/features/support/FeatureSetReaderParquet.js +1 -1
  639. package/views/2d/layers/support/annodime/annotationGraphic.js +1 -1
  640. package/views/2d/layers/support/annodime/cimAnnotations.js +1 -1
  641. package/views/2d/layers/support/annodime/utils.js +1 -1
  642. package/views/2d/support/hitTestUtils.js +1 -1
  643. package/views/2d/unitBezier.js +1 -1
  644. package/views/3d/analysis/LineOfSight/LineOfSightPlacementController.js +2 -0
  645. package/views/3d/analysis/LineOfSight/LineOfSightReshapeTool3D.js +1 -1
  646. package/views/3d/analysis/LineOfSight/LineOfSightTool2.js +1 -1
  647. package/views/3d/analysis/LineOfSight/lineOfSightPlacementUtils.js +2 -0
  648. package/views/3d/analysis/Viewshed/ViewshedDrawToolRenderer.js +1 -1
  649. package/views/3d/analysis/Viewshed/ViewshedPlacementController.js +1 -1
  650. package/views/3d/analysis/Viewshed/ViewshedPlacementPointPlugin.js +1 -1
  651. package/views/3d/analysis/Viewshed/ViewshedPlacementRootPlugin.js +1 -1
  652. package/views/3d/analysis/Viewshed/placementUtils.js +1 -1
  653. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  654. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  655. package/views/3d/layers/graphics/Graphics3DSymbol.js +1 -1
  656. package/views/3d/layers/graphics/SymbolComplexity.js +1 -1
  657. package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
  658. package/views/3d/support/QualityProfile.js +1 -1
  659. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
  660. package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +1 -1
  661. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathEvaluate.glsl.js +14 -6
  662. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +2 -1
  663. package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
  664. package/views/3d/webgl-engine/effects/blit/Blit.js +1 -1
  665. package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
  666. package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
  667. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  668. package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
  669. package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
  670. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  671. package/views/3d/webgl-engine/materials/PolygonOffset.js +1 -1
  672. package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
  673. package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +6 -7
  674. package/views/3d/webgl-engine/shaders/ditherNoise.glsl.js +1 -1
  675. package/views/LinkChartView.d.ts +3 -1
  676. package/views/View2D.d.ts +3 -1
  677. package/views/draw/DrawTool.js +1 -1
  678. package/views/draw/support/editingSessionUtils.js +1 -1
  679. package/views/interactive/snapping/SnappingManager.js +1 -1
  680. package/views/interactive/snapping/candidates/dehydrated/{DehydratedVertexSnappingCandidate.js → DehydratedFeatureSnappingCandidate.js} +1 -1
  681. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +10 -3
  682. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  683. package/widgets/BatchAttributeForm/attachmentUtils.d.ts +9 -0
  684. package/widgets/BatchAttributeForm/attachmentUtils.js +1 -1
  685. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  686. package/widgets/BatchAttributeForm/css.js +1 -1
  687. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +3 -3
  688. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  689. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.js +1 -1
  690. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  691. package/widgets/BatchAttributeForm/inputs/GroupInput.js +1 -1
  692. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  693. package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +1 -1
  694. package/widgets/BatchAttributeForm/inputs/support/attachmentValidationCriteriaState.d.ts +1 -1
  695. package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
  696. package/widgets/BatchAttributeForm/interfaceUtils.js +1 -1
  697. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  698. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  699. package/widgets/BatchAttributeForm/types.d.ts +92 -7
  700. package/widgets/BatchAttributeForm.js +1 -1
  701. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  702. package/widgets/Editor/CreateFeaturesWorkflowData.js +1 -1
  703. package/widgets/Editor/EditorViewModel.d.ts +1 -1
  704. package/widgets/Editor/EditorViewModel.js +1 -1
  705. package/widgets/Editor/Edits.js +1 -1
  706. package/widgets/Editor/MergeFeaturesWorkflow.js +1 -1
  707. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  708. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  709. package/widgets/Editor/UpdateFeaturesWorkflow.js +1 -1
  710. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  711. package/widgets/Editor/UpdateWorkflow.js +1 -1
  712. package/widgets/Editor/UpdateWorkflowData.js +1 -1
  713. package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
  714. package/widgets/Editor/support/EditorItem.js +1 -1
  715. package/widgets/Editor/support/SketchController.js +1 -1
  716. package/widgets/Editor/support/attachmentUtils.js +2 -0
  717. package/widgets/Editor/workflowUtils.js +1 -1
  718. package/widgets/Editor.js +1 -1
  719. package/widgets/Feature/FeatureViewModel.d.ts +0 -1
  720. package/widgets/FeatureForm/UtilityNetworkAssociationInput.d.ts +0 -1
  721. package/widgets/Features/FeaturesViewModel.d.ts +0 -1
  722. package/widgets/Features/FeaturesViewModel.js +1 -1
  723. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  724. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  725. package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
  726. package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
  727. package/widgets/OrientedImageryViewer.js +1 -1
  728. package/widgets/Popup.js +1 -1
  729. package/widgets/Sketch/SketchViewModel.d.ts +10 -1
  730. package/widgets/Sketch/SketchViewModel.js +1 -1
  731. package/widgets/Sketch.js +1 -1
  732. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.d.ts +3 -2
  733. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  734. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  735. package/assets/components/assets/icon/orientedImageryFullSuperimpose16.json +0 -1
  736. package/assets/components/assets/icon/orientedImageryFullSuperimpose24.json +0 -1
  737. package/assets/components/assets/icon/orientedImageryFullSuperimpose32.json +0 -1
  738. package/assets/components/assets/icon/orientedImageryHalfSuperimpose16.json +0 -1
  739. package/assets/components/assets/icon/orientedImageryHalfSuperimpose24.json +0 -1
  740. package/assets/components/assets/icon/orientedImageryHalfSuperimpose32.json +0 -1
  741. package/assets/components/assets/icon/orientedImagerySceneOnly16.json +0 -1
  742. package/assets/components/assets/icon/orientedImagerySceneOnly24.json +0 -1
  743. package/assets/components/assets/icon/orientedImagerySceneOnly32.json +0 -1
  744. package/assets/components/assets/icon/parquetFeatureLayer16.json +0 -1
  745. package/assets/components/assets/icon/parquetFeatureLayer24.json +0 -1
  746. package/assets/components/assets/icon/parquetFeatureLayer32.json +0 -1
  747. package/assets/esri/core/workers/chunks/013708f40f811158d42c.js +0 -1
  748. package/assets/esri/core/workers/chunks/01ba5319cac3e0f14205.js +0 -1
  749. package/assets/esri/core/workers/chunks/03354e9256b2f77fd4f2.js +0 -1
  750. package/assets/esri/core/workers/chunks/0436fe89adc78696251c.js +0 -1
  751. package/assets/esri/core/workers/chunks/079b412d07d02504f1db.js +0 -1
  752. package/assets/esri/core/workers/chunks/0826d36dfbfa28442b70.js +0 -1
  753. package/assets/esri/core/workers/chunks/0bf72e9d0a6deceeb406.js +0 -1
  754. package/assets/esri/core/workers/chunks/0ded58ccb83f624f1460.js +0 -1
  755. package/assets/esri/core/workers/chunks/0ecc1bc1686844cdd60e.js +0 -1
  756. package/assets/esri/core/workers/chunks/152f1c08197955224ad3.js +0 -1
  757. package/assets/esri/core/workers/chunks/174cc2e69e5b5a13d880.js +0 -1
  758. package/assets/esri/core/workers/chunks/181e948d076a9a7aae8a.js +0 -1
  759. package/assets/esri/core/workers/chunks/18e7784f13a57a75585a.js +0 -1
  760. package/assets/esri/core/workers/chunks/1c8436b27a3d3cde5cfc.js +0 -1
  761. package/assets/esri/core/workers/chunks/1d81e667a580c5cdeda1.js +0 -262
  762. package/assets/esri/core/workers/chunks/1dacc0b64bd27ce2de3a.js +0 -1
  763. package/assets/esri/core/workers/chunks/1eeb1edca0ad5db6917c.js +0 -1
  764. package/assets/esri/core/workers/chunks/1effde6a39ef0d4af525.js +0 -1
  765. package/assets/esri/core/workers/chunks/1f289aa69dd6b6be534a.js +0 -1
  766. package/assets/esri/core/workers/chunks/27c6def22c2b0791ce9e.js +0 -1
  767. package/assets/esri/core/workers/chunks/2bc4aff77c830061e16e.js +0 -1
  768. package/assets/esri/core/workers/chunks/2c3fc2805f6de0963789.js +0 -1
  769. package/assets/esri/core/workers/chunks/2d2895f1fdf44d212a4d.js +0 -1
  770. package/assets/esri/core/workers/chunks/2e6382d50bf012064eae.js +0 -1
  771. package/assets/esri/core/workers/chunks/3248001d9dfb9153699e.js +0 -1
  772. package/assets/esri/core/workers/chunks/33b4f5dfe1a16b59b010.js +0 -1
  773. package/assets/esri/core/workers/chunks/36dac6ab51d9dbdd091d.js +0 -1
  774. package/assets/esri/core/workers/chunks/36dd3ad3ef2fbfc15cbd.js +0 -1
  775. package/assets/esri/core/workers/chunks/39974d1e5d3820ef1680.js +0 -1
  776. package/assets/esri/core/workers/chunks/3dc6e9494af16f7b8009.js +0 -1
  777. package/assets/esri/core/workers/chunks/3ecb906322a6a5c8c93b.js +0 -1
  778. package/assets/esri/core/workers/chunks/3f67162456a1f02190fa.js +0 -1
  779. package/assets/esri/core/workers/chunks/42e5e00610f281ca8ffa.js +0 -1
  780. package/assets/esri/core/workers/chunks/4301cb9670fa7c907460.js +0 -1
  781. package/assets/esri/core/workers/chunks/493a0981e90a5799fb5b.js +0 -1
  782. package/assets/esri/core/workers/chunks/4c54cb80c4dc9bbbd395.js +0 -1
  783. package/assets/esri/core/workers/chunks/4cc78493805671708a9b.js +0 -1
  784. package/assets/esri/core/workers/chunks/4e4419282c4bf7ee4678.js +0 -1
  785. package/assets/esri/core/workers/chunks/4e788fc6cb2ea936f676.js +0 -1
  786. package/assets/esri/core/workers/chunks/4efef5fa8bf23aaf34cd.js +0 -1
  787. package/assets/esri/core/workers/chunks/5100b5a6a506c704dfaf.js +0 -1
  788. package/assets/esri/core/workers/chunks/5121768c70f1e03b685c.js +0 -1
  789. package/assets/esri/core/workers/chunks/52afd43bbe23e358efb5.js +0 -1
  790. package/assets/esri/core/workers/chunks/52f354bf80ee5ab0379a.js +0 -1
  791. package/assets/esri/core/workers/chunks/5359ff9492383c5bd9b1.js +0 -1
  792. package/assets/esri/core/workers/chunks/54d7f07e3348ddb6d9a2.js +0 -1
  793. package/assets/esri/core/workers/chunks/57b7e5fde972d3ad7884.js +0 -1
  794. package/assets/esri/core/workers/chunks/597aa39cdb5366ef9a74.js +0 -1
  795. package/assets/esri/core/workers/chunks/5aba23584e0b230c75f5.js +0 -1
  796. package/assets/esri/core/workers/chunks/5cb1b950249d651f3837.js +0 -1
  797. package/assets/esri/core/workers/chunks/5cb274e5759f7ca0d4ed.js +0 -1
  798. package/assets/esri/core/workers/chunks/5d8924fdcdb473d261cd.js +0 -1
  799. package/assets/esri/core/workers/chunks/62de9e83331fb10aac6a.js +0 -2
  800. package/assets/esri/core/workers/chunks/62e77e3c5ca9b4887923.js +0 -2
  801. package/assets/esri/core/workers/chunks/64114a7d2da162987958.js +0 -1
  802. package/assets/esri/core/workers/chunks/641cddee377599916de2.js +0 -2
  803. package/assets/esri/core/workers/chunks/65520a443e3811255bea.js +0 -1
  804. package/assets/esri/core/workers/chunks/65f02eca694cc1c9f5a7.js +0 -1
  805. package/assets/esri/core/workers/chunks/6821462e5c1e9c76010a.js +0 -1
  806. package/assets/esri/core/workers/chunks/6a3d207308b29651f397.js +0 -1
  807. package/assets/esri/core/workers/chunks/6f5a82388a5eb5fcf1b7.js +0 -1
  808. package/assets/esri/core/workers/chunks/6f5d61f734ec40dafabb.js +0 -1
  809. package/assets/esri/core/workers/chunks/737de87bfb9b5f5a9c6c.js +0 -1
  810. package/assets/esri/core/workers/chunks/7748743d4be047094d67.js +0 -1
  811. package/assets/esri/core/workers/chunks/78c53aeb0a408ab3c80c.js +0 -1
  812. package/assets/esri/core/workers/chunks/79f2d4b3af5776ec2045.js +0 -1
  813. package/assets/esri/core/workers/chunks/7a8ed08cd173963b3112.js +0 -1
  814. package/assets/esri/core/workers/chunks/7b5c1030a7cf0f382cc4.js +0 -1
  815. package/assets/esri/core/workers/chunks/7cadb872b9ca96eedca5.js +0 -1
  816. package/assets/esri/core/workers/chunks/7cee81c5aa1e6b7d2452.js +0 -1
  817. package/assets/esri/core/workers/chunks/7ed3d6c72f23c628df3b.js +0 -1
  818. package/assets/esri/core/workers/chunks/80f4f686ce403cb2693f.js +0 -1
  819. package/assets/esri/core/workers/chunks/8351012ceb466f01b8fd.js +0 -1
  820. package/assets/esri/core/workers/chunks/859bc873e7af911a518f.js +0 -1
  821. package/assets/esri/core/workers/chunks/8e99f937fd36cf2cd05f.js +0 -1
  822. package/assets/esri/core/workers/chunks/93bd56396b8cd020f965.js +0 -1
  823. package/assets/esri/core/workers/chunks/94fac056e14caed09682.js +0 -1
  824. package/assets/esri/core/workers/chunks/957f7b8de4aecb6f644e.js +0 -1
  825. package/assets/esri/core/workers/chunks/97d2bdbea39cbcf8fd0f.js +0 -1
  826. package/assets/esri/core/workers/chunks/99101789035f1787c630.js +0 -1
  827. package/assets/esri/core/workers/chunks/9c6d34bb666f630d511f.js +0 -1
  828. package/assets/esri/core/workers/chunks/a0208e35b217808777c4.js +0 -1
  829. package/assets/esri/core/workers/chunks/a320998f18922a35899f.js +0 -1
  830. package/assets/esri/core/workers/chunks/a4e9a17dacbb52444d75.js +0 -1
  831. package/assets/esri/core/workers/chunks/a4f3bcfabd4ad127abf2.js +0 -1
  832. package/assets/esri/core/workers/chunks/a5abba59e738c3240c22.js +0 -1
  833. package/assets/esri/core/workers/chunks/a63bba226de6c5e464b0.js +0 -1
  834. package/assets/esri/core/workers/chunks/a9f29ff36a7ae5bae686.js +0 -1
  835. package/assets/esri/core/workers/chunks/aae0049c2c3e15a813e8.js +0 -1
  836. package/assets/esri/core/workers/chunks/adc32f6b45ea3026fc34.js +0 -1
  837. package/assets/esri/core/workers/chunks/af8ef6701631ed5e5b80.js +0 -1
  838. package/assets/esri/core/workers/chunks/b045bffb4f2eb9203183.js +0 -1
  839. package/assets/esri/core/workers/chunks/b590402170ae289290d7.js +0 -1
  840. package/assets/esri/core/workers/chunks/b666027b9022fa346a79.js +0 -1
  841. package/assets/esri/core/workers/chunks/b73c146d3e550eaf07eb.js +0 -1
  842. package/assets/esri/core/workers/chunks/b803e7b0d489bb628d72.js +0 -1
  843. package/assets/esri/core/workers/chunks/bb24972603fb35dd8dcf.js +0 -1
  844. package/assets/esri/core/workers/chunks/bcc097271f5cdf0a97a7.js +0 -1
  845. package/assets/esri/core/workers/chunks/c0cbc50e5afd68bd485c.js +0 -1
  846. package/assets/esri/core/workers/chunks/c2cd80b712f29e8cbb8d.js +0 -1
  847. package/assets/esri/core/workers/chunks/c3ff2ff0a86a9143d7a5.js +0 -1
  848. package/assets/esri/core/workers/chunks/c6d0b4875b6b8d6bc25a.js +0 -1
  849. package/assets/esri/core/workers/chunks/c9a4601073e1a3eee9d0.js +0 -1
  850. package/assets/esri/core/workers/chunks/cf41a66fb97c1076fb34.js +0 -1
  851. package/assets/esri/core/workers/chunks/cf8ce21dc649021e97f6.js +0 -1
  852. package/assets/esri/core/workers/chunks/d78b7cac322755e87eb8.js +0 -1
  853. package/assets/esri/core/workers/chunks/dddb57ff637643ccfc87.js +0 -1
  854. package/assets/esri/core/workers/chunks/df18b0a653b328d8d052.js +0 -1
  855. package/assets/esri/core/workers/chunks/e1bf87077541da6853c6.js +0 -1
  856. package/assets/esri/core/workers/chunks/e3b713a590cce6245ee2.js +0 -1
  857. package/assets/esri/core/workers/chunks/e4406baf206b9e4c7e4f.js +0 -1
  858. package/assets/esri/core/workers/chunks/e499252cb52f7aed49a0.js +0 -1
  859. package/assets/esri/core/workers/chunks/e4e2f479c0c45ae1b2c3.js +0 -1
  860. package/assets/esri/core/workers/chunks/e5f8c73349407c25956b.js +0 -1
  861. package/assets/esri/core/workers/chunks/e656fd5ecf9ac059a87b.js +0 -1
  862. package/assets/esri/core/workers/chunks/e92698f50089484c4901.js +0 -1
  863. package/assets/esri/core/workers/chunks/e9c5c295b6bf10e942a4.js +0 -1
  864. package/assets/esri/core/workers/chunks/eb91dc957c328674e119.js +0 -1
  865. package/assets/esri/core/workers/chunks/ed3d16a5b4084ef61f8a.js +0 -1
  866. package/assets/esri/core/workers/chunks/edcde00495727d506c46.js +0 -1
  867. package/assets/esri/core/workers/chunks/efb4aa5886730ea377bd.js +0 -1
  868. package/assets/esri/core/workers/chunks/f0832b413612c77a62ca.js +0 -1
  869. package/assets/esri/core/workers/chunks/f116331c6eca937aac8e.js +0 -1
  870. package/assets/esri/core/workers/chunks/f23e995320674b32e142.js +0 -1
  871. package/assets/esri/core/workers/chunks/f334bf192dff5af10a70.js +0 -1
  872. package/assets/esri/core/workers/chunks/f518835b2dc89a48cfb1.js +0 -1
  873. package/assets/esri/core/workers/chunks/f5731ad4cfbbf1cc569a.js +0 -2
  874. package/assets/esri/core/workers/chunks/f76b1fc36f5606cac2c8.js +0 -1
  875. package/assets/esri/core/workers/chunks/f7fca88d120d45bb782a.js +0 -1
  876. package/assets/esri/core/workers/chunks/f819854098d63fe4ccdb.js +0 -1
  877. package/assets/esri/core/workers/chunks/f98118127469449ca145.js +0 -1
  878. package/assets/esri/core/workers/chunks/f9e22cf59e2e2782d70f.js +0 -1
  879. package/assets/esri/core/workers/chunks/fa1336b60278017d2525.js +0 -1
  880. package/assets/esri/core/workers/chunks/fbe7dae0b4bf2d172487.js +0 -1
  881. package/assets/esri/core/workers/chunks/fea3b6bef761ef78630e.js +0 -1
  882. package/chunks/Bufferer-Dw9Qi4T1.js +0 -2
  883. package/chunks/Distance2DCalculator-CXhBP-8I.js +0 -2
  884. package/chunks/GeodeticDistanceCalculator-Ce-woMPw.js +0 -2
  885. package/layers/support/AnnotationSublayer.js +0 -2
  886. package/views/3d/analysis/LineOfSight/LineOfSightPlacementTool.js +0 -2
  887. /package/assets/esri/core/workers/chunks/{d9d4754062758789f186.js.LICENSE.txt → 05016e5a1de384994001.js.LICENSE.txt} +0 -0
  888. /package/assets/esri/core/workers/chunks/{62e77e3c5ca9b4887923.js.LICENSE.txt → 0d42322362e76f674d94.js.LICENSE.txt} +0 -0
  889. /package/assets/esri/core/workers/chunks/{62de9e83331fb10aac6a.js.LICENSE.txt → 35533c8ef541f7643497.js.LICENSE.txt} +0 -0
  890. /package/assets/esri/core/workers/chunks/{641cddee377599916de2.js.LICENSE.txt → 99c002015c2127e6cbfc.js.LICENSE.txt} +0 -0
  891. /package/assets/esri/core/workers/chunks/{f5731ad4cfbbf1cc569a.js.LICENSE.txt → c318e6dbb8651433038f.js.LICENSE.txt} +0 -0
  892. /package/chunks/{Centroid-DZi-eb9F.js → Centroid-CA-TwbbN.js} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[926,8033],{69540(e,t,n){n.d(t,{OU:()=>c,Pw:()=>h});var r=n(5482),i=n(69622),s=(n(44208),n(4718)),o=(n(53966),n(97768)),a=n(88620),l=n(64108);const u=Symbol("ClonableMixin"),c=e=>{var t;const n=e;let i=class extends n{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,r=t.store,i={},l=new Map;for(const t in n){const o=n[t],a=r?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[t];let h=null;if("function"==typeof u)h=u(c,e);else if("reference"===u)h=c;else if(h=(0,s.TU)(c,e),null!=c&&null==h)continue;0===a?l.set(t,h):i[t]=h}const u=new(0,Object.getPrototypeOf(this).constructor)(i);if(l.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,n]of l)e.set(t,n,0)}return u}};return i=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],i),i},h=c(i.A)},60999(e,t,n){n.d(t,{DZ:()=>y,Ke:()=>d,Tj:()=>c,UT:()=>m,aD:()=>g,jJ:()=>u});var r=n(5482),i=n(69622),s=n(97768),o=n(17676),a=n(10107),l=n(64108);function u(e,t,n){return(0,o.Lx)(e.map((e,r)=>t.apply(n,[e,r])))}async function c(e,t,n){return(await(0,o.Lx)(e.map((e,r)=>t.apply(n,[e,r])))).map(e=>e.value)}function h(e){return{ok:!0,value:e}}function p(e){return{ok:!1,error:e}}async function d(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return h(await e)}catch(e){return p(e)}}async function y(e){try{return h(await e)}catch(e){return(0,o.QP)(e),p(e)}}function m(e,t){return new f(e,t)}let f=class extends i.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,s.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:n}=this._abortController;this.promise=e(n),this.promise.then(e=>{this._result=h(e),this._cleanup()},e=>{this._result=p(e),this._cleanup()}),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,s.xt)(this._abortHandle),this._abortController=null}};(0,r.Cg)([(0,a.MZ)()],f.prototype,"value",null),(0,r.Cg)([(0,a.MZ)()],f.prototype,"error",null),(0,r.Cg)([(0,a.MZ)()],f.prototype,"finished",null),(0,r.Cg)([(0,a.MZ)()],f.prototype,"promise",void 0),(0,r.Cg)([(0,a.MZ)()],f.prototype,"_result",void 0),f=(0,r.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],f);class g{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,r.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,r.hk)(t)}}}},67482(e,t,n){function r(e){return null!=a(e)||null!=o(e)}function i(e){return l.test(e)}function s(e){return a(e)??o(e)}function o(e){const t=new Date(e);return function(e,t){if(Number.isNaN(e.getTime()))return!1;let n=!0;if(c&&/\d+\W*$/.test(t)){const e=t.match(/[a-zA-Z]{2,}/);if(e){let t=!1,r=0;for(;!t&&r<=e.length;)t=!u.test(e[r]),r++;n=!t}}return n}(t,e)?Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset():null}function a(e){const t=l.exec(e);if(!t?.groups)return null;const n=t.groups,r=+n.year,i=+n.month-1,s=+n.day,o=+(n.hours??"0"),a=+(n.minutes??"0"),u=+(n.seconds??"0");if(o>23)return null;if(a>59)return null;if(u>59)return null;const c=n.ms??"0",h=c?+c.padEnd(3,"0").slice(0,3):0;let p;if(n.isUTC||!n.offsetSign)p=Date.UTC(r,i,s,o,a,u,h);else{const e=+n.offsetHours,t=+n.offsetMinutes;p=6e4*("+"===n.offsetSign?-1:1)*(60*e+t)+Date.UTC(r,i,s,o,a,u,h)}return Number.isNaN(p)?null:p}n.d(t,{Br:()=>i,Cq:()=>r,_U:()=>s});const l=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,u=/^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i,c=!Number.isNaN(new Date("technology 10").getTime())},75503(e,t,n){n.d(t,{wq:()=>a});var r=n(4576),i=n(21818),s=(n(44208),n(15142)),o=n(11006);class a{constructor(e=9,t){this._compareMinX=p,this._compareMinY=d,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),b.prune(),C.prune(),v.prune(),A.prune()}all(e){l(this._data,e)}search(e,t){let n=this._data;const r=this._toBBox;if(w(e,n))for(b.clear();n;){for(let i=0,s=n.children.length;i<s;i++){const s=n.children[i],o=n.leaf?r(s):s;w(e,o)&&(n.leaf?t(s):_(e,o)?l(s,t):b.push(s))}n=b.pop()}}collides(e){let t=this._data;const n=this._toBBox;if(!w(e,t))return!1;for(b.clear();t;){for(let r=0,i=t.children.length;r<i;r++){const i=t.children[r],s=t.leaf?n(i):i;if(w(e,s)){if(t.leaf||_(e,s))return!0;b.push(i)}}t=b.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,n=e.length;t<n;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new M([]),this}remove(e){if(!e)return this;let t,n=this._data,s=null,o=0,a=!1;const l=this._toBBox(e);for(v.clear(),A.clear();n||v.length>0;){if(n||(n=v.pop(),s=v.data[v.length-1],o=A.pop()??0,a=!0),n.leaf&&(t=(0,r.qh)(n.children,(0,i.z)(e),n.children.length,n.indexHint),-1!==t))return n.children.splice(t,1),v.push(n),this._condense(v),this;a||n.leaf||!_(n,l)?s?(o++,n=s.children[o],a=!1):n=null:(v.push(n),A.push(o),o=0,s=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,n,r){const i=n-t+1;let s=this._maxEntries;if(i<=s){const r=new M(e.slice(t,n+1));return u(r,this._toBBox),r}r||(r=Math.ceil(Math.log(i)/Math.log(s)),s=Math.ceil(i/s**(r-1)));const o=new F([]);o.height=r;const a=Math.ceil(i/s),l=a*Math.ceil(Math.sqrt(s));x(e,t,n,l,this._compareMinX);for(let i=t;i<=n;i+=l){const t=Math.min(i+l-1,n);x(e,i,t,a,this._compareMinY);for(let n=i;n<=t;n+=a){const i=Math.min(n+a-1,t);o.children.push(this._build(e,n,i,r-1))}}return u(o,this._toBBox),o}_insert(e,t,n){const r=this._toBBox,i=n?e:r(e);v.clear();const s=function(e,t,n,r){for(;r.push(t),!0!==t.leaf&&r.length-1!==n;){let n,r=1/0,i=1/0;for(let s=0,o=t.children.length;s<o;s++){const o=t.children[s],a=y(o),l=f(e,o)-a;l<i?(i=l,r=a<r?a:r,n=o):l===i&&a<r&&(r=a,n=o)}t=n||t.children[0]}return t}(i,this._data,t,v);for(s.children.push(e),h(s,i);t>=0&&v.data[t].children.length>this._maxEntries;)this._split(v,t),t--;!function(e,t,n){for(let r=n;r>=0;r--)h(t.data[r],e)}(i,v,t)}_split(e,t){const n=e.data[t],r=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,r);const s=this._chooseSplitIndex(n,i,r);if(!s)return;const o=n.children.splice(s,n.children.length-s),a=n.leaf?new M(o):new F(o);a.height=n.height,u(n,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(n,a)}_splitRoot(e,t){this._data=new F([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,n){let r,i,s;r=i=1/0;for(let o=t;o<=n-t;o++){const t=c(e,0,o,this._toBBox),a=c(e,o,n,this._toBBox),l=g(t,a),u=y(t)+y(a);l<r?(r=l,s=o,i=u<i?u:i):l===r&&u<i&&(i=u,s=o)}return s}_chooseSplitAxis(e,t,n){const r=e.leaf?this._compareMinX:p,i=e.leaf?this._compareMinY:d;this._allDistMargin(e,t,n,r)<this._allDistMargin(e,t,n,i)&&e.children.sort(r)}_allDistMargin(e,t,n,r){e.children.sort(r);const i=this._toBBox,s=c(e,0,t,i),o=c(e,n-t,n,i);let a=m(s)+m(o);for(let r=t;r<n-t;r++){const t=e.children[r];h(s,e.leaf?i(t):t),a+=m(s)}for(let r=n-t-1;r>=t;r--){const t=e.children[r];h(o,e.leaf?i(t):t),a+=m(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const n=e.data[t];if(0===n.children.length)if(t>0){const i=e.data[t-1],s=i.children;s.splice((0,r.qh)(s,n,s.length,i.indexHint),1)}else this.clear();else u(n,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let n=e;for(C.clear();n;){if(!0===n.leaf)for(const e of n.children)t((0,i.z)(e));else C.pushArray(n.children);n=C.pop()??null}}function u(e,t){c(e,0,e.children.length,t,e)}function c(e,t,n,r,i){i||(i=new M([])),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(let s,o=t;o<n;o++)s=e.children[o],h(i,e.leaf?r(s):s);return i}function h(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function p(e,t){return e.minX-t.minX}function d(e,t){return e.minY-t.minY}function y(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function m(e){return e.maxX-e.minX+(e.maxY-e.minY)}function f(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 g(e,t){const n=Math.max(e.minX,t.minX),r=Math.max(e.minY,t.minY),i=Math.min(e.maxX,t.maxX),s=Math.min(e.maxY,t.maxY);return Math.max(0,i-n)*Math.max(0,s-r)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function w(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function x(e,t,n,r,i){const s=[t,n];for(;s.length;){const t=s.pop(),n=s.pop();if(t-n<=r)continue;const a=n+Math.ceil((t-n)/r/2)*r;(0,o.q)(e,a,n,t,i),s.push(n,a,a,t)}}const b=new s.A,C=new s.A,v=new s.A,A=new s.A({deallocator:void 0});class S{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class T extends S{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class M extends T{constructor(e){super(),this.children=e,this.leaf=!0}}class F extends T{constructor(e){super(),this.children=e,this.leaf=!1}}},36708(e,t,n){n.d(t,{C_:()=>p,OH:()=>m,Vh:()=>f,on:()=>h,pc:()=>g,wB:()=>l,z7:()=>u});var r=n(37955),i=n(36563),s=n(97768),o=n(17676),a=n(14012);function l(e,t,n={}){return c(e,t,n,d)}function u(e,t,n={}){return c(e,t,n,y)}function c(e,t,n={},r){let i=null;const o=n.once?(e,n)=>{r(e)&&((0,s.xt)(i),t(e,n))}:(e,n)=>{r(e)&&t(e,n)};if(i=(0,a.Cn)(e,o,n.sync,n.equals),n.initial){const t=e();o(t,t)}return i}function h(e,t,n,o={}){let a=null,u=null,c=null;function h(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function p(e){o.once&&o.once&&(0,s.xt)(c),n(e)}const d=l(e,(e,n)=>{h(),(0,r.wb)(e)&&(a=e,u=(0,r.on)(e,t,p),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return c=(0,i.hA)(()=>{d.remove(),h()}),c}function p(e,t){return function(e,t,n){if((0,o.G4)(n))return Promise.reject((0,o.NK)());const r=e();if(t?.(r))return Promise.resolve(r);let a=null;function l(){a=(0,s.xt)(a)}return new Promise((r,s)=>{a=(0,i.vE)([(0,o.u7)(n,()=>{l(),s((0,o.NK)())}),c(e,e=>{l(),r(e)},{sync:!1,once:!0},t??d)])})}(e,y,t)}function d(e){return!0}function y(e){return!!e}n(80559);const m={sync:!0},f={initial:!0},g={sync:!0,initial:!0}},48526(e,t,n){n.d(t,{A:()=>f});var r,i=n(5482),s=n(4576),o=n(4718),a=n(91429),l=n(5443),u=n(91075),c=n(86738),h=n(16930),p=n(90634),d=n(47610),y=n(56993),m=n(43937);let f=r=class extends u.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:n,hasZ:r,spatialReference:i}=e;switch(t??=[],t?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return i??=h.A.WGS84,{...e,hasM:n,hasZ:r,points:t,spatialReference:i}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,p.ge)(this);return e?new l.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,o.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:n,hasZ:i}=this;return new r({points:(0,o.o8)(e),spatialReference:t.clone(),hasM:n,hasZ:i})}equals(e){if(this===e)return!0;if(null==e)return!1;const t=this.spatialReference,n=e.spatialReference;return null!=t==(null!=n)&&!(null!=t&&null!=n&&!t.equals(n))&&(0,s.aI)(this.points,e.points,d.v6)}addPoint(e){return(0,y.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],n={x:t[0],y:t[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=t[2],r=3),this.hasM&&(n.m=t[r]),new c.A(n)}removePoint(e){if(!this._validateInputs(e))return null;const t=new c.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,y.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,i.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,i.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],f.prototype,"points",void 0),(0,i.Cg)([(0,m.K)("points")],f.prototype,"writePoints",null),f=r=(0,i.Cg)([(0,a.$K)("esri.geometry.Multipoint")],f),f.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,n){n.d(t,{A:()=>y});var r,i=n(5482),s=n(4718),o=n(91429),a=n(5443),l=n(91075),u=n(86738),c=n(16930),h=n(90634),p=n(56993),d=n(43937);let y=r=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:n,hasZ:r,spatialReference:i}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return i??=c.A.WGS84,{...e,hasM:n,hasZ:r,paths:t,spatialReference:i}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,s.o8)(e)}get extent(){const e=(0,h.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,s.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,n=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const r=[];for(let t=0,n=e.length;t<n;t++)r[t]=e[t].toArray();t[n]=r}else t[n]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new r;return e.spatialReference=this.spatialReference,e.paths=(0,s.o8)(this.paths),e.curvePaths=(0,s.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const n=this.paths[e][t],r=this.hasZ,i=this.hasM;return r&&!i?new u.A(n[0],n[1],n[2],void 0,this.spatialReference):i&&!r?new u.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&i?new u.A(n[0],n[1],n[2],n[3],this.spatialReference):new u.A(n[0],n[1],this.spatialReference)}insertPoint(e,t,n){return this._validateInputs(e,t,!0)?((0,p.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[e].splice(t,0,n),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],n=this.spatialReference,r=t.map(e=>new u.A(e,n));return this.notifyChange("paths"),r}removePoint(e,t){if(!this._validateInputs(e,t))return null;const n=new u.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(e,t,n){return this._validateInputs(e,t)?((0,p.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[e][t]=n,this.notifyChange("paths"),this):this}_validateInputs(e,t,n=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const r=this.paths[e];if(n&&(t<0||t>r.length))return!1;if(!n&&(t<0||t>=r.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,i.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,i.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],y.prototype,"curvePaths",void 0),(0,i.Cg)([(0,d.K)("curvePaths")],y.prototype,"writeCurvePaths",null),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,i.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],y.prototype,"paths",void 0),(0,i.Cg)([(0,d.K)("paths")],y.prototype,"writePaths",null),y=r=(0,i.Cg)([(0,o.$K)("esri.geometry.Polyline")],y),y.prototype.toJSON.isDefaultToJSON=!0},60408(e,t,n){function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function s(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?s(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function h(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>i,W0:()=>h,ZC:()=>r,fT:()=>s,uW:()=>l})},65864(e,t,n){n.d(t,{rS:()=>c,xD:()=>p});var r=n(5443),i=n(91075),s=n(48526),o=n(86738),a=n(39829),l=n(82799),u=n(60408);function c(e){return null==e?null:e instanceof i.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?l.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?s.A.fromJSON(e):(0,u.ZC)(e)?r.A.fromJSON(e):null}const h={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:a.A};function p(e){return e&&h[e]||null}},50498(e,t,n){n.d(t,{Ye:()=>h,gy:()=>c,iI:()=>d,yR:()=>p});var r=n(66552),i=n(5443),s=n(91075),o=n(48526),a=n(86738),l=n(39829),u=n(82799);const c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),h=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),p={base:s.A,key:"type",typeMap:{extent:i.A,multipoint:o.A,point:a.A,polyline:u.A,polygon:l.A}},d=new r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},6518(e,t,n){n.d(t,{F:()=>a});var r=n(44208),i=n(75503),s=n(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new i.wq(9,(0,r.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((n,r)=>{e[t++]=r}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,s.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,n){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,n)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},83221(e,t,n){n.d(t,{A:()=>y});var r=n(4576),i=n(49186),s=n(65529),o=n(53966),a=n(70328),l=n(19419),u=n(90708),c=n(6518),h=n(51441),p=n(37730);const d=(0,a.vt)();class y{constructor(e){this.geometryInfo=e,this._boundsStore=new c.F,this._featuresById=new Map,this._usedMemory=0,this.events=new s.bk,this.featureAdapter=p.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach(t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,n,r,i]=this.fullBounds;return{xmin:t,ymin:n,xmax:r,ymax:i,spatialReference:(0,h.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(r.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const n of e){const e=this._boundsStore.get(n.objectId);e&&t((0,a.Jt)(d,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new i.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const n=this._featuresById.get(t);let r;if(n?(e.displayId=n.displayId,r=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(n)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);r=(0,u.jQ)(null!=r?r:(0,l.vt)(),e.geometry),null!=r&&this._boundsStore.set(t,r),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new i.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const n=this._featuresById.get(t);if(!n)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(n)??0;const{geometry:r,attributes:s}=e;for(const e in s)n.attributes[e]=s[e];return r&&(n.geometry=r,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),r)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(n)??0,n}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}},37730(e,t,n){n.d(t,{T:()=>i});var r=n(43334);const i={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t,n)=>new r.Om(t,e.attributes,null,e.objectId,e.displayId,e.distance,e.vertexCount),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)}},33771(e,t,n){n.r(t),n.d(t,{default:()=>b});var r=n(60999),i=n(49186),s=n(53966),o=n(34727),a=n(17676),l=n(67076),u=n(21325),c=n(90708),h=n(83221),p=n(31464),d=n(75752),y=n(85113),m=n(82832),f=n(34322),g=n(95466),_=n(54218),w=n(98623);const x="esri.layers.WFSLayer";class b{constructor(){this._customParameters=null,this._queryEngine=null,this._supportsPagination=!0}destroy(){this._queryEngine?.destroy(),this._queryEngine=null}async load(e,t={}){const{getFeatureUrl:n,getFeatureOutputFormat:r,fields:s,geometryType:o,featureType:l,maxRecordCount:u,maxTotalRecordCount:c,maxPageCount:y,objectIdField:m,customParameters:_}=e,{spatialReference:x,getFeatureSpatialReference:b}=(0,f.UH)(n,l,e.spatialReference);try{await(0,p.Nk)(b,x)}catch{throw new i.A("unsupported-projection","Projection not supported",{inSpatialReference:b,outSpatialReference:x})}(0,a.Te)(t),this._customParameters=_,this._featureType=l,this._fieldsIndex=g.A.fromLayerJSON({fields:s,dateFieldsTimeReference:s.some(e=>"esriFieldTypeDate"===e.type)?{timeZoneIANA:w.n$}:null}),this._geometryType=o,this._getFeatureUrl=n,this._getFeatureOutputFormat=r,this._getFeatureSpatialReference=b,this._maxRecordCount=u,this._maxTotalRecordCount=c,this._maxPageCount=y,this._objectIdField=m,this._spatialReference=x;let v=await this._snapshotFeatures(t);if(v.errors.length>0&&(this._supportsPagination=!1,v=await this._snapshotFeatures(t),v.errors.length>0))throw v.errors[0];const A={type:"object-id",fieldName:m};return this._queryEngine=new d.do({fieldsIndex:this._fieldsIndex,geometryType:o,hasM:!1,hasZ:!1,featureIdInfo:A,spatialReference:x,timeInfo:null,featureStore:new h.A({geometryType:o,hasM:!1,hasZ:!1})}),this._queryEngine.featureStore.addMany(v.features),{warnings:C(v),extent:(await this._queryEngine.fetchRecomputedExtents()).fullExtent}}async applyEdits(){throw new i.A("wfs-source:editing-not-supported","applyEdits() is not supported on WFSLayer")}async queryFeatures(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQuery(e,t.signal)}async queryFeatureCount(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForCount(e,t.signal)}async queryObjectIds(e={},t={}){return await this._waitSnapshotComplete(),(await this._queryEngine.executeQueryForIds(e,t.signal)).filter(_.Et)}async queryExtent(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForExtent(e,t.signal)}async querySnapping(e,t={}){return await this._waitSnapshotComplete(),await this._queryEngine.executeQueryForSnapping(e,t.signal)}async queryAttributeBins(e,t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeAttributeBinsQuery(e,t.signal)}async refresh(e){return this._customParameters=e.customParameters,this._maxRecordCount=e.maxRecordCount,this._maxTotalRecordCount=e.maxTotalRecordCount,this._maxPageCount=e.maxPageCount,this._snapshotTask?.abort(),this._snapshotTask=(0,r.UT)(e=>this._snapshotFeatures({signal:e})),this._snapshotTask.promise.then(e=>{this._queryEngine.featureStore.clear(),this._queryEngine.featureStore.addMany(e.features);for(const t of C(e))s.A.getLogger(x).warn(new l.A("wfs-layer:refresh-warning",t.message,t.details));e.errors?.length&&s.A.getLogger(x).warn(new l.A("wfs-layer:refresh-error","Refresh completed with errors",{errors:e.errors}))},()=>{this._queryEngine.featureStore.clear()}),await this._waitSnapshotComplete(),{extent:(await this._queryEngine.fetchRecomputedExtents()).fullExtent}}async _waitSnapshotComplete(){if(this._snapshotTask&&!this._snapshotTask.finished){try{await this._snapshotTask.promise}catch{}return this._waitSnapshotComplete()}}async _snapshotFeatures(e){const t=e?.signal,n=this._maxTotalRecordCount,r=this._maxPageCount,i=this._supportsPagination&&r>1?await(0,f.E)(this._getFeatureUrl,this._featureType.typeName,{customParameters:this._customParameters,signal:t}):void 0;let s=[];const l=[];if(null==i)try{s=await this._singleQuery(t)}catch(e){(0,a.zf)(e)||l.push(e)}else{const e=Math.min(i,n),u=function*(e,t,n){for(let r=0;r<t;r++)yield e._pageQuery(r,n)}(this,(0,o.qE)(Math.ceil(e/this._maxRecordCount),1,r),t);await Promise.allSettled(Array.from({length:10}).map(()=>async function(e,t,n){let r=e.next();for(;!r.done;){try{const e=await r.value;t.push(...e)}catch(e){(0,a.zf)(e)||n.push(e)}r=e.next()}}(u,s,l)))}return(0,a.Te)(t),{features:s,totalRecordCount:i,maxTotalRecordCount:n,maxPageCount:r,errors:l}}async _singleQuery(e){const t=Number.isFinite(this._maxRecordCount)&&this._maxRecordCount>0?this._maxRecordCount:void 0,n=await(0,f.x$)(this._getFeatureUrl,this._featureType.typeName,this._getFeatureSpatialReference,this._getFeatureOutputFormat,{customParameters:this._customParameters,count:t,signal:e});return this._processGeoJSON(n,{signal:e})}async _pageQuery(e,t){const n=e*this._maxRecordCount,r=await(0,f.x$)(this._getFeatureUrl,this._featureType.typeName,this._getFeatureSpatialReference,this._getFeatureOutputFormat,{customParameters:this._customParameters,startIndex:n,count:this._maxRecordCount,signal:t});return this._processGeoJSON(r,{startIndex:n,signal:t})}_processGeoJSON(e,t){(0,y.sO)(e,this._getFeatureSpatialReference.wkid);const{startIndex:n,signal:r}=t;(0,a.Te)(r);const i=(0,y.bd)(e,{geometryType:this._geometryType,hasZ:!1,objectIdField:this._objectIdField});if(!(0,u.aI)(this._spatialReference,this._getFeatureSpatialReference))for(const e of i)null!=e.geometry&&(e.geometry=(0,c.Ux)((0,p.Cv)((0,c.zv)(e.geometry,this._geometryType,!1,!1),this._getFeatureSpatialReference,this._spatialReference)));let s=n??1;for(const e of i){const t={};(0,m.MB)(this._fieldsIndex,t,e.attributes,!0),e.attributes=t,null==t[this._objectIdField]&&(e.objectId=t[this._objectIdField]=s++)}return i}}function C(e){const t=[];return null!=e.totalRecordCount&&(e.features.length<e.totalRecordCount&&t.push({name:"wfs-layer:maxRecordCount-too-low",message:`Could only fetch ${e.features.length} of ${e.totalRecordCount} in ${e.maxPageCount} queries. Try increasing the value of WFSLayer.maxRecordCount.`,details:{recordCount:e.features.length,totalRecordCount:e.totalRecordCount}}),e.totalRecordCount>e.maxTotalRecordCount&&t.push({name:"wfs-layer:large-dataset",message:`The number of ${e.totalRecordCount} features exceeds the maximum allowed of ${e.maxTotalRecordCount}.`,details:{recordCount:e.features.length,totalRecordCount:e.totalRecordCount,maxTotalRecordCount:e.maxTotalRecordCount}})),t}},85113(e,t,n){n.d(t,{BM:()=>S,bd:()=>T,sO:()=>A,xD:()=>h});var r=n(67482),i=n(49186),s=n(21325),o=n(90708),a=n(43334),l=n(92722),u=n(30524);const c={LineString:"esriGeometryPolyline",MultiLineString:"esriGeometryPolyline",MultiPoint:"esriGeometryMultipoint",Point:"esriGeometryPoint",Polygon:"esriGeometryPolygon",MultiPolygon:"esriGeometryPolygon"};function h(e){return c[e]}function*p(e){switch(e.type){case"Feature":yield e;break;case"FeatureCollection":for(const t of e.features)t&&(yield t)}}function*d(e){if(e)switch(e.type){case"Point":yield e.coordinates;break;case"LineString":case"MultiPoint":yield*e.coordinates;break;case"MultiLineString":case"Polygon":for(const t of e.coordinates)yield*t;break;case"MultiPolygon":for(const t of e.coordinates)for(const e of t)yield*e}}function y(e){for(const t of e)if(t.length>2)return!0;return!1}function m(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n],i=e[(n+1)%e.length];t+=r[0]*i[1]-i[0]*r[1]}return t<=0}function f(e){const t=e[0],n=e[e.length-1];t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]||e.push(t)}function g(e,t){const{coordinates:n,type:r}=e,i=t.hasZ??!1,s=!0;switch(r){case"Point":return new l.A([],[...n],i,!1);case"LineString":return(0,o.Ap)({paths:[n],hasZ:s},i,!1);case"MultiLineString":return(0,o.Ap)({paths:n,hasZ:s},i,!1);case"MultiPoint":return(0,o.PR)({points:n,hasZ:s},i,!1);case"Polygon":case"MultiPolygon":{const e=new l.A([],[],i,!1);for(const t of"Polygon"===r?[n]:n){_(e,t[0],i);for(let n=1;n<t.length;n++)w(e,t[n],i)}return e}}}function _(e,t,n){f(t),function(e){return!m(e)}(t)?b(e,t,n):x(e,t,n)}function w(e,t,n){f(t),function(e){return m(e)}(t)?b(e,t,n):x(e,t,n)}function x(e,t,n){for(const r of t)C(e,r,n);e.lengths.push(t.length)}function b(e,t,n){for(let r=t.length-1;r>=0;r--)C(e,t[r],n);e.lengths.push(t.length)}function C(e,[t,n,r],i){e.coords.push(t,n),i&&e.coords.push(r||0)}function v(e){switch(typeof e){case"string":return(0,r.Br)(e)?"esriFieldTypeDate":"esriFieldTypeString";case"number":return"esriFieldTypeDouble";default:return"unknown"}}function A(e,t=4326){if(!e)throw new i.A("geojson-layer:empty","GeoJSON data is empty");if("Feature"!==e.type&&"FeatureCollection"!==e.type)throw new i.A("geojson-layer:unsupported-geojson-object","missing or not supported GeoJSON object type",{data:e});const{crs:n}=e;if(!n)return;const r="string"==typeof n?n:"name"===n.type?n.properties.name:"EPSG"===n.type?n.properties.code:null,o=(0,s.oT)({wkid:t})?new RegExp(".*(CRS84H?|4326)$","i"):new RegExp(`.*(${t})$`,"i");if(!r||!o.test(r))throw new i.A("geojson:unsupported-crs","unsupported GeoJSON 'crs' member",{crs:n})}function S(e,t={}){const n=[],r=new Set,i=new Set;let s,o=!1,a=null,l=!1,{geometryType:c=null}=t;for(const t of p(e)){const{geometry:e,properties:p,id:m}=t;if((!e||(c||(c=h(e.type)),h(e.type)===c))&&(o||(o=y(d(e))),l||(l=null!=m,l&&(s=typeof m,p&&(a=Object.keys(p).filter(e=>p[e]===m)))),p&&a&&l&&null!=m&&(a.length>1?a=a.filter(e=>p[e]===m):1===a.length&&(a=p[a[0]]===m?a:[])),p))for(const e in p){if(r.has(e))continue;const t=v(p[e]);if("unknown"===t){i.add(e);continue}i.delete(e),r.add(e);const s=(0,u.rS)(e);s&&n.push({name:s,alias:e,type:t})}}const m=(0,u.rS)(1===a?.length&&a[0]||null)??void 0;if(m)for(const e of n)if(e.name===m&&(0,u.WA)(e)){e.type="esriFieldTypeOID";break}return{fields:n,geometryType:c,hasZ:o,objectIdFieldName:m,objectIdFieldType:s,unknownFields:Array.from(i)}}function T(e,t){return Array.from(function*(e,t={}){const{geometryType:n,objectIdField:r}=t;for(const i of e){const{geometry:e,properties:s,id:o}=i;if(e&&h(e.type)!==n)continue;const l=s||{};let u;r&&(u=l[r],null==o||u||(l[r]=u=o)),yield new a.Om(e&&g(e,t),l,null,u)}}(p(e),t))}},82832(e,t,n){n.d(t,{$1:()=>f,CR:()=>m,MB:()=>p,PC:()=>g,Yx:()=>l,bP:()=>c});var r=n(67482),i=n(21325),s=n(30524);class o{constructor(e){this.description=e,this.code=null}}class a{constructor(e){this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error=new o(e)}}function l(e){return new a(e)}class u{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function c(e){return new u(e)}const h=new Set;function p(e,t,n,r=!1){h.clear();for(const i in n){const o=e.get(i);if(!o)continue;const a=d(o,n[i]);if(h.add(o.name),o&&(r||o.editable)){const e=(0,s.CJ)(o,a);if(e)return l((0,s.uo)(e,o,a));t[o.name]=a}}for(const t of e.requiredFields??[])if(!h.has(t.name))return l(`missing required field "${t.name}"`);return null}function d(e,t){let n=t;return(0,s.WA)(e)&&"string"==typeof t?n=parseFloat(t):(0,s.yM)(e)&&null!=t&&"string"!=typeof t?n=String(t):(0,s.vE)(e)&&"string"==typeof t&&(n=(0,r._U)(t)),(0,s.WX)(n)}let y;function m(e,t){if(!e||!(0,i.fn)(t))return e;if("rings"in e||"paths"in e){if(null==y)throw new TypeError("geometry engine not loaded");return y.simplify(t,e)}return e}async function f(e,t){!(0,i.fn)(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t||await async function(){return null==y&&(y=await n.e(1023).then(n.bind(n,81023))),y}()}const g={supportsAutoIntervalBin:!0,supportsFixedIntervalBin:!0,supportsFixedBoundariesBin:!0,supportsDateBin:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsNormalization:!0,supportedStatisticTypes:["COUNT","SUM","AVG","VAR","STDDEV","MIN","MAX","PERCENTILE_CONT","PERCENTILE_DISC","CentroidAggregate","EnvelopeAggregate","ConvexHullAggregate"],supportedNormalizationTypes:["field","log","naturalLog","percentOfTotal","squareRoot"]}},34322(e,t,n){n.d(t,{E:()=>k,Fu:()=>C,O8:()=>F,UH:()=>q,YW:()=>R,i5:()=>w,mG:()=>M,x$:()=>E});var r=n(11254),i=n(49186),s=n(5479),o=n(84952),a=n(5443),l=n(91218),u=n(16930),c=n(21325),h=n(50498),p=n(85113),d=n(13043),y=n(60694),m=n(20437),f=n(30524);const g="xlink:href",_="2.0.0",w="__esri_wfs_id__",x="wfs-layer:feature-type-not-found",b="wfs-layer:unknown-geometry-type";async function C(e,t){const n=function(e){const t=j(e);(function(e){const t=e.firstElementChild?.getAttribute("version");if(t&&t!==_)throw new i.A("wfs-layer:unsupported-wfs-version",`Unsupported WFS version ${t}. Supported version: ${_}`)})(t),G(t);const n=t.firstElementChild,r=(0,s.PP)(function(e){return(0,d.i)(e,{FeatureTypeList:{FeatureType:e=>{const t={typeName:"undefined:undefined",name:"",title:"",description:"",extent:null,namespacePrefix:"",namespaceUri:"",defaultSpatialReference:4326,supportedSpatialReferences:[]},n=new Set;return(0,d.p)(e,{Name:e=>{const{name:n,prefix:r}=O(e.textContent);t.typeName=`${r}:${n}`,t.name=n,t.namespacePrefix=r,t.namespaceUri=e.lookupNamespaceURI(r)},Abstract:e=>{t.description=e.textContent},Title:e=>{t.title=e.textContent},WGS84BoundingBox:e=>{t.extent=a.A.fromJSON(function(e){let t,n,r,i;for(const s of e.children)switch(s.localName){case"LowerCorner":[t,n]=s.textContent.split(" ").map(e=>Number.parseFloat(e));break;case"UpperCorner":[r,i]=s.textContent.split(" ").map(e=>Number.parseFloat(e))}return{xmin:t,ymin:n,xmax:r,ymax:i,spatialReference:c.KK}}(e))},DefaultCRS:e=>{const r=T(e);r&&(t.defaultSpatialReference=r,n.add(r))},OtherCRS:e=>{const t=T(e);t&&n.add(t)}}),t.title||(t.title=t.name),n.add(4326),t.supportedSpatialReferences.push(...n),t}}})}(n));return{operations:S(n),get featureTypes(){return Array.from(r())},readFeatureTypes:r}}((await(0,r.A)(e,{responseType:"text",query:{SERVICE:"WFS",REQUEST:"GetCapabilities",VERSION:_,...t?.customParameters},signal:t?.signal})).data);return function(e,t){(0,o.m3)(e)&&((0,o.FX)(e,t.operations.DescribeFeatureType.url,!0)&&(t.operations.DescribeFeatureType.url=(0,o.lM)(t.operations.DescribeFeatureType.url)),(0,o.FX)(e,t.operations.GetFeature.url,!0)&&(t.operations.GetFeature.url=(0,o.lM)(t.operations.GetFeature.url)))}(e,n),n}const v=["json","application/json; subtype=geojson; charset=utf-8","application/json; subtype=geojson","application/json","geojson","application/geo+json"];function A(e){for(const t of v){const n=e.findIndex(e=>e.toLowerCase()===t);if(n>=0)return e[n]}return null}function S(e){let t=!0;const n={GetCapabilities:{url:""},DescribeFeatureType:{url:""},GetFeature:{url:"",outputFormat:null,supportsPagination:!1}},r=[],s=[];if((0,d.p)(e,{OperationsMetadata:{Parameter:e=>{if("outputformat"===e.getAttribute("name")?.toLowerCase())return{AllowedValues:{Value:({textContent:e})=>{e&&r.push(e)}}}},Operation:e=>{switch(e.getAttribute("name")){case"GetCapabilities":return{DCP:{HTTP:{Get:e=>{n.GetCapabilities.url=e.getAttribute(g)}}}};case"DescribeFeatureType":return{DCP:{HTTP:{Get:e=>{n.DescribeFeatureType.url=e.getAttribute(g)}}}};case"GetFeature":return{DCP:{HTTP:{Get:e=>{n.GetFeature.url=e.getAttribute(g)}}},Parameter:e=>{if("outputformat"===e.getAttribute("name")?.toLowerCase())return{AllowedValues:{Value:({textContent:e})=>{e&&s.push(e)}}}}}}},Constraint:e=>{switch(e.getAttribute("name")){case"KVPEncoding":return{DefaultValue:e=>{t="true"===e.textContent.toLowerCase()}};case"ImplementsResultPaging":return{DefaultValue:e=>{n.GetFeature.supportsPagination="true"===e.textContent.toLowerCase()}}}}}}),n.GetFeature.outputFormat=A(s)??A(r),!t)throw new i.A("wfs-layer:kvp-encoding-not-supported","WFS service doesn't support key/value pair (KVP) encoding");if(null==n.GetFeature.outputFormat)throw new i.A("wfs-layer:geojson-not-supported","WFS service doesn't support GeoJSON output format");return n}function T(e){const t=parseInt(e.textContent?.match(/(?<wkid>\d+$)/i)?.groups?.wkid??"",10);if(!Number.isNaN(t))return t}function M(e,t,n){return(0,s.I6)(e,e=>n?e.name===t&&e.namespaceUri===n:e.typeName===t||e.name===t)}async function F(e,t,n,r={}){const{featureType:s,extent:o}=await async function(e,t,n,r={}){const s=e.readFeatureTypes(),o=t?M(s,t,n):s.next().value,{spatialReference:a=new u.A({wkid:o?.defaultSpatialReference})}=r;if(null==o)throw t?new i.A(x,`The type '${t}' could not be found in the service`):new i.A("wfs-layer:empty-service","The service is empty");let h=o.extent;if(h&&!(0,c.aI)(h.spatialReference,a))try{await(0,l.initializeProjection)(h.spatialReference,a,void 0,r),h=(0,l.project)(h,a)}catch{throw new i.A("wfs-layer:unsupported-spatial-reference","Projection not supported")}return{extent:h,spatialReference:a,featureType:o}}(e,t,n,r),{spatialReference:a}=q(e.operations.GetFeature.url,s,r.spatialReference),{fields:h,geometryType:p,swapXY:d,objectIdField:y,geometryField:m}=await async function(e,t,n,r={}){const{typeName:s}=t,[o,a]=await Promise.allSettled([I(e.operations.DescribeFeatureType.url,s,r),P(e,s,n,r)]),l=e=>new i.A("wfs-layer:getWFSLayerTypeInfo-error",`An error occurred while getting info about the feature type '${s}'`,{error:e});if("rejected"===o.status)throw l(o.reason);if("rejected"===a.status)throw l(a.reason);const{fields:u,errors:c}=o.value??{},h=o.value?.geometryType||a.value?.geometryType,p=a.value?.swapXY??!1;if(null==h)throw new i.A(b,`The geometry type could not be determined for type '${s}`,{typeName:s,geometryType:h,fields:u,errors:c});return{...R(u??[]),geometryType:h,swapXY:p}}(e,s,a,r);return{url:e.operations.GetCapabilities.url,name:s.name,namespaceUri:s.namespaceUri,fields:h,geometryField:m,geometryType:p,objectIdField:y,spatialReference:r.spatialReference??new u.A({wkid:s.defaultSpatialReference}),extent:o,swapXY:d,wfsCapabilities:e,customParameters:r.customParameters}}function R(e){const t=e.find(e=>"geometry"===e.type);let n=e.find(e=>"oid"===e.type);return e=e.filter(e=>"geometry"!==e.type),n||(n=new m.A({name:w,type:"oid",alias:w}),e.unshift(n)),{geometryField:t?.name??null,objectIdField:n.name,fields:e}}async function P(e,t,n,i={}){let s,o=!1;const[a,l]=await Promise.all([E(e.operations.GetFeature.url,t,n,e.operations.GetFeature.outputFormat,{...i,count:1}),(0,r.A)(e.operations.GetFeature.url,{responseType:"text",query:N(t,n,void 0,{...i,count:1}),signal:i?.signal})]),u="FeatureCollection"===a.type&&a.features[0]?.geometry;if(u){let e;switch(s=h.gy.fromJSON((0,p.xD)(u.type)),u.type){case"Point":e=u.coordinates;break;case"LineString":case"MultiPoint":e=u.coordinates[0];break;case"MultiLineString":case"Polygon":e=u.coordinates[0][0];break;case"MultiPolygon":e=u.coordinates[0][0][0]}const t=/<[^>]*pos[^>]*> *(-?\d+(?:\.\d+)?) (-?\d+(?:\.\d+)?)/.exec(l.data);if(t){const n=e[0].toFixed(3),r=e[1].toFixed(3),i=parseFloat(t[1]).toFixed(3);n===parseFloat(t[2]).toFixed(3)&&r===i&&(o=!0)}}return{geometryType:s,swapXY:o}}async function I(e,t,n){return function(e,t){const{name:n}=O(e),r=j(t);G(r);const o=(0,s.I6)((0,d.i)(r.firstElementChild,{element:e=>e}),e=>e.getAttribute("name")===n);if(null!=o){const e=o.getAttribute("type"),t=e?(0,s.I6)((0,d.i)(r.firstElementChild,{complexType:e=>e}),t=>t.getAttribute("name")===O(e).name):(0,s.I6)((0,d.i)(o,{complexType:e=>e}),()=>!0);if(t)return function(e){const t=[],n=[];let r;const s=(0,d.i)(e,{complexContent:{extension:{sequence:{element:e=>e}}}});for(const o of s){const s=o.getAttribute("name");if(!s)continue;let a,l;if(o.hasAttribute("type")?a=O(o.getAttribute("type")).name:(0,d.p)(o,{simpleType:{restriction:e=>(a=O(e.getAttribute("base")).name,{maxLength:e=>{l=+e.getAttribute("value")}})}}),!a)continue;const u="true"===o.getAttribute("nillable");let c=!1;switch(a.toLowerCase()){case"integer":case"nonpositiveinteger":case"negativeinteger":case"long":case"int":case"short":case"byte":case"nonnegativeinteger":case"unsignedlong":case"unsignedint":case"unsignedshort":case"unsignedbyte":case"positiveinteger":n.push(new m.A({name:s,alias:s,type:"integer",nullable:u,length:(0,f._b)("integer")}));break;case"float":case"double":case"decimal":n.push(new m.A({name:s,alias:s,type:"double",nullable:u,length:(0,f._b)("double")}));break;case"boolean":case"string":case"gyearmonth":case"gyear":case"gmonthday":case"gday":case"gmonth":case"anyuri":case"qname":case"notation":case"normalizedstring":case"token":case"language":case"idrefs":case"entities":case"nmtoken":case"nmtokens":case"name":case"ncname":case"id":case"idref":case"entity":case"duration":case"time":n.push(new m.A({name:s,alias:s,type:"string",nullable:u,length:l??(0,f._b)("string")}));break;case"datetime":case"date":n.push(new m.A({name:s,alias:s,type:"date",nullable:u,length:l??(0,f._b)("date")}));break;case"pointpropertytype":r="point",c=!0;break;case"multipointpropertytype":r="multipoint",c=!0;break;case"curvepropertytype":case"multicurvepropertytype":case"multilinestringpropertytype":r="polyline",c=!0;break;case"surfacepropertytype":case"multisurfacepropertytype":case"multipolygonpropertytype":r="polygon",c=!0;break;case"geometrypropertytype":case"multigeometrypropertytype":c=!0,t.push(new i.A(b,`geometry type '${a}' is not supported`,{type:(new XMLSerializer).serializeToString(e)}));break;default:t.push(new i.A("wfs-layer:unknown-field-type",`Unknown field type '${a}'`,{type:(new XMLSerializer).serializeToString(e)}))}c&&n.push(new m.A({name:s,alias:s,type:"geometry",nullable:u}))}for(const e of n)if("integer"===e.type&&!e.nullable&&B.has(e.name.toLowerCase())){e.type="oid";break}return{geometryType:r,fields:n,errors:t}}(t)}throw new i.A(x,`Type '${e}' not found in document`,{document:(new XMLSerializer).serializeToString(r)})}(t,(await(0,r.A)(e,{responseType:"text",query:{SERVICE:"WFS",REQUEST:"DescribeFeatureType",VERSION:_,TYPENAME:t,TYPENAMES:t,...n?.customParameters},signal:n?.signal})).data)}const B=new Set(["objectid","fid"]);async function E(e,t,n,s,o){let{data:a}=await(0,r.A)(e,{responseType:"text",query:N(t,n,s,o),signal:o?.signal});a=a.replaceAll(/": +(-?\d+),(\d+)(,)?/g,'": $1.$2$3');try{return JSON.parse(a)}catch(e){throw new i.A("wfs-layer:malformed-json","Error while parsing the response",{response:a,error:e})}}function N(e,t,n,r){const i="number"==typeof t?t:t.wkid;return{SERVICE:"WFS",REQUEST:"GetFeature",VERSION:_,TYPENAMES:e,OUTPUTFORMAT:n,SRSNAME:"EPSG:"+i,STARTINDEX:r?.startIndex,COUNT:r?.count,...r?.customParameters}}async function k(e,t,n){const i=await(0,r.A)(e,{responseType:"text",query:{SERVICE:"WFS",REQUEST:"GetFeature",VERSION:_,TYPENAMES:t,RESULTTYPE:"hits",...n?.customParameters},signal:n?.signal}),s=/numberMatched=["'](?<numberMatched>\d+)["']/gi.exec(i.data);if(s?.groups)return+s.groups.numberMatched}function j(e){return(new DOMParser).parseFromString(e.trim(),"text/xml")}function O(e){const[t,n]=e.split(":");return{prefix:n?t:"",name:n??t}}function G(e){let t="",n="";if((0,d.p)(e.firstElementChild,{Exception:e=>(t=e.getAttribute("exceptionCode"),{ExceptionText:e=>{n=e.textContent}})}),t)throw new i.A(`wfs-layer:${t}`,n)}function q(e,t,n){const r={wkid:t.defaultSpatialReference},i=null!=n?.wkid?{wkid:n.wkid}:r;return{spatialReference:i,getFeatureSpatialReference:(0,y.Fi)(e)||i.wkid&&t.supportedSpatialReferences.includes(i.wkid)?{wkid:i.wkid}:{wkid:t.defaultSpatialReference}}}},13043(e,t,n){function r(e,t){if(e&&t)for(const n of e.children)if(n.localName in t){const e=t[n.localName];if("function"==typeof e){const t=e(n);t&&r(n,t)}else r(n,e)}}function*i(e,t){for(const n of e.children)if(n.localName in t){const e=t[n.localName];"function"==typeof e?yield e(n):yield*i(n,e)}}n.d(t,{i:()=>i,p:()=>r})},39357(e,t,n){n.d(t,{A:()=>a});var r,i=n(5482),s=n(25482),o=n(91429);let a=r=class extends s.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({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=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},53177(e,t,n){n.d(t,{A:()=>c});var r,i=n(5482),s=n(4718),o=n(91429),a=n(39357),l=n(76357),u=n(93223);let c=class extends l.A{static{r=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const n=String(e);this.codedValues.some(e=>(String(e.code)===n&&(t=e.name),!!t))}return t}clone(){return new r({codedValues:(0,s.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,u.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,n){n.d(t,{A:()=>u});var r=n(5482),i=n(66552),s=n(25482),o=n(91429),a=n(93223);const l=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends s.o{constructor(e){super(e),this.name=null,this.type=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,r.Cg)([(0,a.e)(l),(0,o.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,r.Cg)([(0,o.$K)("esri.layers.support.Domain")],u)},20437(e,t,n){n.d(t,{A:()=>y});var r,i=n(5482),s=n(66552),o=n(25482),a=n(91429),l=n(56507),u=n(8631),c=n(98453),h=n(36005),p=n(93223);const d=new s.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",url:"url"});let y=class extends o.o{static{r=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 n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?.value??null}readValueType(e,{description:t}){let n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?d.fromJSON(n.fieldValueType):null}clone(){return new r({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}})],y.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],y.prototype,"defaultValue",void 0),(0,i.Cg)([(0,a.MZ)()],y.prototype,"description",void 0),(0,i.Cg)([(0,h.w)("description")],y.prototype,"readDescription",null),(0,i.Cg)([(0,a.MZ)({types:u.g,json:{read:{reader:u.r},write:!0}})],y.prototype,"domain",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"editable",void 0),(0,i.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],y.prototype,"length",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"nullable",void 0),(0,i.Cg)([(0,p.e)(c.m)],y.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)()],y.prototype,"valueType",void 0),(0,i.Cg)([(0,h.w)("valueType",["description"])],y.prototype,"readValueType",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],y.prototype,"visible",void 0),y=r=(0,i.Cg)([(0,a.$K)("esri.layers.support.Field")],y)},41628(e,t,n){n.d(t,{A:()=>l});var r,i=n(5482),s=n(91429),o=n(76357),a=n(93223);let l=class extends o.A{static{r=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new r({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,s.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,n){t[n]=[this.minValue||0,e]},isRequired:!0}}})],l.prototype,"maxValue",void 0),(0,i.Cg)([(0,s.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,n){t[n]=[e,this.maxValue||0]},isRequired:!0}}})],l.prototype,"minValue",void 0),(0,i.Cg)([(0,a.e)({range:"range"})],l.prototype,"type",void 0),l=r=(0,i.Cg)([(0,s.$K)("esri.layers.support.RangeDomain")],l)},8631(e,t,n){n.d(t,{r:()=>p,g:()=>h});var r,i=n(53177),s=n(76357),o=n(5482),a=n(91429),l=n(93223);let u=class extends s.A{static{r=this}constructor(e){super(e),this.type="inherited"}clone(){return new r}};(0,o.Cg)([(0,l.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=r=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],u);var c=n(41628);const h={key:"type",base:s.A,typeMap:{range:c.A,"coded-value":i.A,inherited:u}};function p(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},98453(e,t,n){n.d(t,{m:()=>r});const r=new(n(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"})},2272(e,t,n){n.d(t,{Dl:()=>u,gf:()=>h,jV:()=>l,lF:()=>c});var r=n(92602),i=n(70333),s=n(4718),o=n(84952),a=n(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,s.o8)(e)}function c(e,t,n){const r={};for(const i in e){if("declaredClass"===i)continue;const s=e[i];if(null!=s&&"function"!=typeof s)if(Array.isArray(s))r[i]=s.map(e=>c(e));else if("object"==typeof s)if(s.toJSON){const e=s.toJSON(n?.[i]);r[i]=t?e:JSON.stringify(e)}else r[i]=t?s:JSON.stringify(s);else r[i]=s}return r}async function h(e,t,s){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&&r.A.request.useIdentity&&await Promise.all([n.e(7632),n.e(5438),n.e(148)]).then(n.bind(n,50148));const l=await i.id.getCredential(e,s);return l?.token}},926(e,t,n){n.d(t,{Dd:()=>p,Jn:()=>d,Qc:()=>y,getApiKey:()=>c,getSessionToken:()=>h});var r=n(92602),i=n(11254),s=n(84952);const o=/^https?:\/\/(i?basemaps|basemapstyles)-api\.arcgis\.com\//i,a=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]),l=new Map;let u=null;function c(e){if(!y(e))return null;const t=t=>t instanceof RegExp?t.test(e):"string"==typeof t&&e.startsWith(t),n=r.A.apiKeys;if(Array.isArray(n.scopes))for(const e of n.scopes)if(Array.isArray(e.urls)){if(e.urls.some(t))return e.token}else if(t(e.urls))return e.token;return n.basemapStyles&&o.test(e)?n.basemapStyles:r.A.apiKey&&/^https?:\/\/.+\.arcgis\.com(\/|$)/i.test(e)?r.A.apiKey:null}async function h(e){if(!r.A.sessions?.basemap?.enabled||!o.test(e))return null;const t=c(e);if(!t)return null;u&&await u;const{styleFamily:n="arcgis",autoRefresh:s,duration:a=43200}=r.A.sessions.basemap,h=`${t}:${n}`,p=l.get(h);if(p&&(!s||p.endTime>Date.now()))return p.sessionToken;let d;u=(0,i.A)("https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/sessions/start",{cacheBust:!0,query:{durationSeconds:a,styleFamily:n,token:t}});try{d=(await u).data,d.endTime-=5e3,l.set(h,d)}finally{u=null}return d.sessionToken}function p(){return null!=r.A.apiKey||null!=r.A.apiKeys.basemapStyles}function d(e,t){return t?y(e):null!=c(e)}function y(e){const t=(0,s.$z)(e,!0);return!!t&&!a.has(t)&&!e.endsWith("/sharing/rest/generateToken")}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[926,8033],{69540(e,t,n){n.d(t,{OU:()=>c,Pw:()=>h});var r=n(5482),i=n(69622),s=(n(44208),n(4718)),o=(n(53966),n(97768)),a=n(88620),l=n(64108);const u=Symbol("ClonableMixin"),c=e=>{var t;const n=e;let i=class extends n{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const n=t.metadata,r=t.store,i={},l=new Map;for(const t in n){const o=n[t],a=r?.originOf(t),u=o.clonable;if(o.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[t];let h=null;if("function"==typeof u)h=u(c,e);else if("reference"===u)h=c;else if(h=(0,s.TU)(c,e),null!=c&&null==h)continue;0===a?l.set(t,h):i[t]=h}const u=new(0,Object.getPrototypeOf(this).constructor)(i);if(l.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,n]of l)e.set(t,n,0)}return u}};return i=(0,r.Cg)([(0,l.$)("esri.core.Clonable")],i),i},h=c(i.A)},60999(e,t,n){n.d(t,{DZ:()=>y,Ke:()=>d,Tj:()=>c,UT:()=>m,aD:()=>g,jJ:()=>u});var r=n(5482),i=n(69622),s=n(97768),o=n(17676),a=n(10107),l=n(64108);function u(e,t,n){return(0,o.Lx)(e.map((e,r)=>t.apply(n,[e,r])))}async function c(e,t,n){return(await(0,o.Lx)(e.map((e,r)=>t.apply(n,[e,r])))).map(e=>e.value)}function h(e){return{ok:!0,value:e}}function p(e){return{ok:!1,error:e}}async function d(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return h(await e)}catch(e){return p(e)}}async function y(e){try{return h(await e)}catch(e){return(0,o.QP)(e),p(e)}}function m(e,t){return new f(e,t)}let f=class extends i.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,s.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:n}=this._abortController;this.promise=e(n),this.promise.then(e=>{this._result=h(e),this._cleanup()},e=>{this._result=p(e),this._cleanup()}),this._abortHandle=(0,o.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,s.xt)(this._abortHandle),this._abortController=null}};(0,r.Cg)([(0,a.MZ)()],f.prototype,"value",null),(0,r.Cg)([(0,a.MZ)()],f.prototype,"error",null),(0,r.Cg)([(0,a.MZ)()],f.prototype,"finished",null),(0,r.Cg)([(0,a.MZ)()],f.prototype,"promise",void 0),(0,r.Cg)([(0,a.MZ)()],f.prototype,"_result",void 0),f=(0,r.Cg)([(0,l.$)("esri.core.asyncUtils.ReactiveTask")],f);class g{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,r.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,r.hk)(t)}}}},67482(e,t,n){function r(e){return null!=a(e)||null!=o(e)}function i(e){return l.test(e)}function s(e){return a(e)??o(e)}function o(e){const t=new Date(e);return function(e,t){if(Number.isNaN(e.getTime()))return!1;let n=!0;if(c&&/\d+\W*$/.test(t)){const e=t.match(/[a-zA-Z]{2,}/);if(e){let t=!1,r=0;for(;!t&&r<=e.length;)t=!u.test(e[r]),r++;n=!t}}return n}(t,e)?Number.isNaN(t.getTime())?null:t.getTime()-6e4*t.getTimezoneOffset():null}function a(e){const t=l.exec(e);if(!t?.groups)return null;const n=t.groups,r=+n.year,i=+n.month-1,s=+n.day,o=+(n.hours??"0"),a=+(n.minutes??"0"),u=+(n.seconds??"0");if(o>23)return null;if(a>59)return null;if(u>59)return null;const c=n.ms??"0",h=c?+c.padEnd(3,"0").slice(0,3):0;let p;if(n.isUTC||!n.offsetSign)p=Date.UTC(r,i,s,o,a,u,h);else{const e=+n.offsetHours,t=+n.offsetMinutes;p=6e4*("+"===n.offsetSign?-1:1)*(60*e+t)+Date.UTC(r,i,s,o,a,u,h)}return Number.isNaN(p)?null:p}n.d(t,{Br:()=>i,Cq:()=>r,_U:()=>s});const l=/^(?:(?<year>-?\d{4,})-(?<month>\d{2})-(?<day>\d{2}))(?:T(?<hours>\d{2}):(?<minutes>\d{2}):(?<seconds>\d{2})(?:\.(?<ms>\d+))?)?(?:(?<isUTC>Z)|(?:(?<offsetSign>\+|-)(?<offsetHours>\d{2}):(?<offsetMinutes>\d{2})))?$/,u=/^((jan(uary)?)|(feb(ruary)?)|(mar(ch)?)|(apr(il)?)|(may)|(jun(e)?)|(jul(y)?)|(aug(ust)?)|(sep(tember)?)|(oct(ober)?)|(nov(ember)?)|(dec(ember)?)|(am)|(pm)|(gmt)|(utc))$/i,c=!Number.isNaN(new Date("technology 10").getTime())},75503(e,t,n){n.d(t,{wq:()=>a});var r=n(4576),i=n(21818),s=(n(44208),n(15142)),o=n(11006);class a{constructor(e=9,t){this._compareMinX=p,this._compareMinY=d,this._toBBox=e=>e,this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this._toBBox=t:this._initFormat(t)),this.clear()}destroy(){this.clear(),b.prune(),C.prune(),v.prune(),A.prune()}all(e){l(this._data,e)}search(e,t){let n=this._data;const r=this._toBBox;if(w(e,n))for(b.clear();n;){for(let i=0,s=n.children.length;i<s;i++){const s=n.children[i],o=n.leaf?r(s):s;w(e,o)&&(n.leaf?t(s):_(e,o)?l(s,t):b.push(s))}n=b.pop()}}collides(e){let t=this._data;const n=this._toBBox;if(!w(e,t))return!1;for(b.clear();t;){for(let r=0,i=t.children.length;r<i;r++){const i=t.children[r],s=t.leaf?n(i):i;if(w(e,s)){if(t.leaf||_(e,s))return!0;b.push(i)}}t=b.pop()}return!1}load(e){if(!e.length)return this;if(e.length<this._minEntries){for(let t=0,n=e.length;t<n;t++)this.insert(e[t]);return this}let t=this._build(e.slice(),0,e.length-1,0);if(this._data.children.length)if(this._data.height===t.height)this._splitRoot(this._data,t);else{if(this._data.height<t.height){const e=this._data;this._data=t,t=e}this._insert(t,this._data.height-t.height-1,!0)}else this._data=t;return this}insert(e){return e&&this._insert(e,this._data.height-1),this}clear(){return this._data=new M([]),this}remove(e){if(!e)return this;let t,n=this._data,s=null,o=0,a=!1;const l=this._toBBox(e);for(v.clear(),A.clear();n||v.length>0;){if(n||(n=v.pop(),s=v.data[v.length-1],o=A.pop()??0,a=!0),n.leaf&&(t=(0,r.qh)(n.children,(0,i.z)(e),n.children.length,n.indexHint),-1!==t))return n.children.splice(t,1),v.push(n),this._condense(v),this;a||n.leaf||!_(n,l)?s?(o++,n=s.children[o],a=!1):n=null:(v.push(n),A.push(o),o=0,s=n,n=n.children[0])}return this}toJSON(){return this._data}fromJSON(e){return this._data=e,this}_build(e,t,n,r){const i=n-t+1;let s=this._maxEntries;if(i<=s){const r=new M(e.slice(t,n+1));return u(r,this._toBBox),r}r||(r=Math.ceil(Math.log(i)/Math.log(s)),s=Math.ceil(i/s**(r-1)));const o=new F([]);o.height=r;const a=Math.ceil(i/s),l=a*Math.ceil(Math.sqrt(s));x(e,t,n,l,this._compareMinX);for(let i=t;i<=n;i+=l){const t=Math.min(i+l-1,n);x(e,i,t,a,this._compareMinY);for(let n=i;n<=t;n+=a){const i=Math.min(n+a-1,t);o.children.push(this._build(e,n,i,r-1))}}return u(o,this._toBBox),o}_insert(e,t,n){const r=this._toBBox,i=n?e:r(e);v.clear();const s=function(e,t,n,r){for(;r.push(t),!0!==t.leaf&&r.length-1!==n;){let n,r=1/0,i=1/0;for(let s=0,o=t.children.length;s<o;s++){const o=t.children[s],a=y(o),l=f(e,o)-a;l<i?(i=l,r=a<r?a:r,n=o):l===i&&a<r&&(r=a,n=o)}t=n||t.children[0]}return t}(i,this._data,t,v);for(s.children.push(e),h(s,i);t>=0&&v.data[t].children.length>this._maxEntries;)this._split(v,t),t--;!function(e,t,n){for(let r=n;r>=0;r--)h(t.data[r],e)}(i,v,t)}_split(e,t){const n=e.data[t],r=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,r);const s=this._chooseSplitIndex(n,i,r);if(!s)return;const o=n.children.splice(s,n.children.length-s),a=n.leaf?new M(o):new F(o);a.height=n.height,u(n,this._toBBox),u(a,this._toBBox),t?e.data[t-1].children.push(a):this._splitRoot(n,a)}_splitRoot(e,t){this._data=new F([e,t]),this._data.height=e.height+1,u(this._data,this._toBBox)}_chooseSplitIndex(e,t,n){let r,i,s;r=i=1/0;for(let o=t;o<=n-t;o++){const t=c(e,0,o,this._toBBox),a=c(e,o,n,this._toBBox),l=g(t,a),u=y(t)+y(a);l<r?(r=l,s=o,i=u<i?u:i):l===r&&u<i&&(i=u,s=o)}return s}_chooseSplitAxis(e,t,n){const r=e.leaf?this._compareMinX:p,i=e.leaf?this._compareMinY:d;this._allDistMargin(e,t,n,r)<this._allDistMargin(e,t,n,i)&&e.children.sort(r)}_allDistMargin(e,t,n,r){e.children.sort(r);const i=this._toBBox,s=c(e,0,t,i),o=c(e,n-t,n,i);let a=m(s)+m(o);for(let r=t;r<n-t;r++){const t=e.children[r];h(s,e.leaf?i(t):t),a+=m(s)}for(let r=n-t-1;r>=t;r--){const t=e.children[r];h(o,e.leaf?i(t):t),a+=m(o)}return a}_condense(e){for(let t=e.length-1;t>=0;t--){const n=e.data[t];if(0===n.children.length)if(t>0){const i=e.data[t-1],s=i.children;s.splice((0,r.qh)(s,n,s.length,i.indexHint),1)}else this.clear();else u(n,this._toBBox)}}_initFormat(e){const t=["return a"," - b",";"];this._compareMinX=new Function("a","b",t.join(e[0])),this._compareMinY=new Function("a","b",t.join(e[1])),this._toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}}function l(e,t){let n=e;for(C.clear();n;){if(!0===n.leaf)for(const e of n.children)t((0,i.z)(e));else C.pushArray(n.children);n=C.pop()??null}}function u(e,t){c(e,0,e.children.length,t,e)}function c(e,t,n,r,i){i||(i=new M([])),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(let s,o=t;o<n;o++)s=e.children[o],h(i,e.leaf?r(s):s);return i}function h(e,t){e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY)}function p(e,t){return e.minX-t.minX}function d(e,t){return e.minY-t.minY}function y(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function m(e){return e.maxX-e.minX+(e.maxY-e.minY)}function f(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 g(e,t){const n=Math.max(e.minX,t.minX),r=Math.max(e.minY,t.minY),i=Math.min(e.maxX,t.maxX),s=Math.min(e.maxY,t.maxY);return Math.max(0,i-n)*Math.max(0,s-r)}function _(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function w(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function x(e,t,n,r,i){const s=[t,n];for(;s.length;){const t=s.pop(),n=s.pop();if(t-n<=r)continue;const a=n+Math.ceil((t-n)/r/2)*r;(0,o.q)(e,a,n,t,i),s.push(n,a,a,t)}}const b=new s.A,C=new s.A,v=new s.A,A=new s.A({deallocator:void 0});class S{constructor(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}}class T extends S{constructor(){super(...arguments),this.height=1,this.indexHint=new r.vW}}class M extends T{constructor(e){super(),this.children=e,this.leaf=!0}}class F extends T{constructor(e){super(),this.children=e,this.leaf=!1}}},36708(e,t,n){n.d(t,{C_:()=>p,OH:()=>m,Vh:()=>f,on:()=>h,pc:()=>g,wB:()=>l,z7:()=>u});var r=n(37955),i=n(36563),s=n(97768),o=n(17676),a=n(14012);function l(e,t,n={}){return c(e,t,n,d)}function u(e,t,n={}){return c(e,t,n,y)}function c(e,t,n={},r){let i=null;const o=n.once?(e,n)=>{r(e)&&((0,s.xt)(i),t(e,n))}:(e,n)=>{r(e)&&t(e,n)};if(i=(0,a.Cn)(e,o,n.sync,n.equals),n.initial){const t=e();o(t,t)}return i}function h(e,t,n,o={}){let a=null,u=null,c=null;function h(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function p(e){o.once&&o.once&&(0,s.xt)(c),n(e)}const d=l(e,(e,n)=>{h(),(0,r.wb)(e)&&(a=e,u=(0,r.on)(e,t,p),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return c=(0,i.hA)(()=>{d.remove(),h()}),c}function p(e,t){return function(e,t,n){if((0,o.G4)(n))return Promise.reject((0,o.NK)());const r=e();if(t?.(r))return Promise.resolve(r);let a=null;function l(){a=(0,s.xt)(a)}return new Promise((r,s)=>{a=(0,i.vE)([(0,o.u7)(n,()=>{l(),s((0,o.NK)())}),c(e,e=>{l(),r(e)},{sync:!1,once:!0},t??d)])})}(e,y,t)}function d(e){return!0}function y(e){return!!e}n(80559);const m={sync:!0},f={initial:!0},g={sync:!0,initial:!0}},48526(e,t,n){n.d(t,{A:()=>f});var r,i=n(5482),s=n(4576),o=n(4718),a=n(91429),l=n(5443),u=n(91075),c=n(86738),h=n(16930),p=n(90634),d=n(47610),y=n(56993),m=n(43937);let f=r=class extends u.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:n,hasZ:r,spatialReference:i}=e;switch(t??=[],t?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return i??=h.A.WGS84,{...e,hasM:n,hasZ:r,points:t,spatialReference:i}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,p.ge)(this);return e?new l.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,o.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:n,hasZ:i}=this;return new r({points:(0,o.o8)(e),spatialReference:t.clone(),hasM:n,hasZ:i})}equals(e){if(this===e)return!0;if(null==e)return!1;const t=this.spatialReference,n=e.spatialReference;return null!=t==(null!=n)&&!(null!=t&&null!=n&&!t.equals(n))&&(0,s.aI)(this.points,e.points,d.v6)}addPoint(e){return(0,y.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],n={x:t[0],y:t[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=t[2],r=3),this.hasM&&(n.m=t[r]),new c.A(n)}removePoint(e){if(!this._validateInputs(e))return null;const t=new c.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,y.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,i.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"cache",null),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],f.prototype,"extent",null),(0,i.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],f.prototype,"points",void 0),(0,i.Cg)([(0,m.K)("points")],f.prototype,"writePoints",null),f=r=(0,i.Cg)([(0,a.$K)("esri.geometry.Multipoint")],f),f.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,n){n.d(t,{A:()=>y});var r,i=n(5482),s=n(4718),o=n(91429),a=n(5443),l=n(91075),u=n(86738),c=n(16930),h=n(90634),p=n(56993),d=n(43937);let y=r=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:n,hasZ:r,spatialReference:i}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return i??=c.A.WGS84,{...e,hasM:n,hasZ:r,paths:t,spatialReference:i}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,s.o8)(e)}get extent(){const e=(0,h.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,s.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,n=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const r=[];for(let t=0,n=e.length;t<n;t++)r[t]=e[t].toArray();t[n]=r}else t[n]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new r;return e.spatialReference=this.spatialReference,e.paths=(0,s.o8)(this.paths),e.curvePaths=(0,s.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const n=this.paths[e][t],r=this.hasZ,i=this.hasM;return r&&!i?new u.A(n[0],n[1],n[2],void 0,this.spatialReference):i&&!r?new u.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&i?new u.A(n[0],n[1],n[2],n[3],this.spatialReference):new u.A(n[0],n[1],this.spatialReference)}insertPoint(e,t,n){return this._validateInputs(e,t,!0)?((0,p.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[e].splice(t,0,n),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],n=this.spatialReference,r=t.map(e=>new u.A(e,n));return this.notifyChange("paths"),r}removePoint(e,t){if(!this._validateInputs(e,t))return null;const n=new u.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(e,t,n){return this._validateInputs(e,t)?((0,p.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[e][t]=n,this.notifyChange("paths"),this):this}_validateInputs(e,t,n=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const r=this.paths[e];if(n&&(t<0||t>r.length))return!1;if(!n&&(t<0||t>=r.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,i.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,i.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],y.prototype,"curvePaths",void 0),(0,i.Cg)([(0,d.K)("curvePaths")],y.prototype,"writeCurvePaths",null),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,i.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],y.prototype,"paths",void 0),(0,i.Cg)([(0,d.K)("paths")],y.prototype,"writePaths",null),y=r=(0,i.Cg)([(0,o.$K)("esri.geometry.Polyline")],y),y.prototype.toJSON.isDefaultToJSON=!0},60408(e,t,n){function r(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function s(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?s(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":r(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function h(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}n.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>i,W0:()=>h,ZC:()=>r,fT:()=>s,uW:()=>l})},65864(e,t,n){n.d(t,{rS:()=>c,xD:()=>p});var r=n(5443),i=n(91075),s=n(48526),o=n(86738),a=n(39829),l=n(82799),u=n(60408);function c(e){return null==e?null:e instanceof i.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?l.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?s.A.fromJSON(e):(0,u.ZC)(e)?r.A.fromJSON(e):null}const h={esriGeometryPoint:o.A,esriGeometryPolyline:l.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:r.A,esriGeometryMultipoint:s.A,esriGeometryMultiPatch:a.A};function p(e){return e&&h[e]||null}},50498(e,t,n){n.d(t,{Ye:()=>h,gy:()=>c,iI:()=>d,yR:()=>p});var r=n(66552),i=n(5443),s=n(91075),o=n(48526),a=n(86738),l=n(39829),u=n(82799);const c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),h=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),p={base:s.A,key:"type",typeMap:{extent:i.A,multipoint:o.A,point:a.A,polyline:u.A,polygon:l.A}},d=new r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0})},6518(e,t,n){n.d(t,{F:()=>a});var r=n(44208),i=n(75503),s=n(19419);const o={minX:0,minY:0,maxX:0,maxY:0};class a{constructor(){this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=new i.wq(9,(0,r.A)("esri-csp-restrictions")?e=>({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}):["[0]","[1]","[2]","[3]"]),this._loadIndex=()=>{if(this._indexInvalid){const e=new Array(this._idByBounds.size);let t=0;this._idByBounds.forEach((n,r)=>{e[t++]=r}),this._indexInvalid=!1,this._index.clear(),this._index.load(e)}else this._boundsToLoad.length&&(this._index.load(Array.from(new Set(this._boundsToLoad.filter(e=>this._idByBounds.has(e))))),this._boundsToLoad.length=0)}}get fullBounds(){if(!this._boundsById.size)return null;const e=(0,s.Ie)();for(const t of this._boundsById.values())t&&(e[0]=Math.min(t[0],e[0]),e[1]=Math.min(t[1],e[1]),e[2]=Math.max(t[2],e[2]),e[3]=Math.max(t[3],e[3]));return e}get valid(){return!this._indexInvalid}clear(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()}delete(e){const t=this._boundsById.get(e);this._boundsById.delete(e),t&&(this._idByBounds.delete(t),this._indexInvalid||this._index.remove(t))}forEachInBounds(e,t){this._loadIndex(),function(e,t,n){(function(e){o.minX=e[0],o.minY=e[1],o.maxX=e[2],o.maxY=e[3]})(t),e.search(o,n)}(this._index,e,e=>t(this._idByBounds.get(e)))}get(e){return this._boundsById.get(e)}has(e){return this._boundsById.has(e)}invalidateIndex(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)}set(e,t){if(!this._indexInvalid){const t=this._boundsById.get(e);t&&(this._index.remove(t),this._idByBounds.delete(t))}this._boundsById.set(e,t),t&&(this._idByBounds.set(t,e),this._indexInvalid||(this._boundsToLoad.push(t),this._boundsToLoad.length>5e4&&this._loadIndex()))}}},83221(e,t,n){n.d(t,{A:()=>y});var r=n(4576),i=n(49186),s=n(65529),o=n(53966),a=n(70328),l=n(19419),u=n(90708),c=n(6518),h=n(51441),p=n(37730);const d=(0,a.vt)();class y{constructor(e){this.geometryInfo=e,this._boundsStore=new c.F,this._featuresById=new Map,this._usedMemory=0,this.events=new s.bk,this.featureAdapter=p.T}get usedMemory(){return this._usedMemory}get geometryType(){return this.geometryInfo.geometryType}get hasM(){return this.geometryInfo.hasM}get hasZ(){return this.geometryInfo.hasZ}get numFeatures(){return this._featuresById.size}get fullBounds(){return this._boundsStore.fullBounds}get storeStatistics(){let e=0;return this._featuresById.forEach(t=>{null!=t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}}getFullExtent(e){if(null==this.fullBounds)return null;const[t,n,r,i]=this.fullBounds;return{xmin:t,ymin:n,xmax:r,ymax:i,spatialReference:(0,h.ag)(e)}}add(e){this._add(e),this._emitChanged()}addMany(e){for(const t of e)this._add(t);this._emitChanged()}upsertMany(e){const t=e.map(e=>this._upsert(e));return this._emitChanged(),t.filter(r.Ru)}clear(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged(),this._usedMemory=0}removeById(e){const t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null}removeManyById(e){this._boundsStore.invalidateIndex();for(const t of e){const e=this._featuresById.get(t);e&&this._remove(e)}this._emitChanged()}forEachBounds(e,t){for(const n of e){const e=this._boundsStore.get(n.objectId);e&&t((0,a.Jt)(d,e))}}getFeature(e){return this._featuresById.get(e)}has(e){return this._featuresById.has(e)}forEach(e){this._featuresById.forEach(t=>e(t))}forEachInBounds(e,t){this._boundsStore.forEachInBounds(e,e=>{t(this._featuresById.get(e))})}_emitChanged(){this.events.emit("changed",void 0)}_add(e){if(!e)return;const t=e.objectId;if(null==t)return void o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new i.A("featurestore:invalid-feature","feature id is missing",{feature:e}));const n=this._featuresById.get(t);let r;if(n?(e.displayId=n.displayId,r=this._boundsStore.get(t),this._boundsStore.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(n)??0):null!=this.onFeatureAdd&&this.onFeatureAdd(e),!e.geometry?.coords?.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);r=(0,u.jQ)(null!=r?r:(0,l.vt)(),e.geometry),null!=r&&this._boundsStore.set(t,r),this._featuresById.set(t,e),this._usedMemory+=this.estimateFeatureUsedMemory?.(e)??0}_upsert(e){const t=e?.objectId;if(null==t)return o.A.getLogger("esri.layers.graphics.data.FeatureStore").error(new i.A("featurestore:invalid-feature","feature id is missing",{feature:e})),null;const n=this._featuresById.get(t);if(!n)return this._add(e),e;this._usedMemory-=this.estimateFeatureUsedMemory?.(n)??0;const{geometry:r,attributes:s}=e;for(const e in s)n.attributes[e]=s[e];return r&&(n.geometry=r,this._boundsStore.set(t,(0,u.jQ)((0,l.vt)(),r)??null)),this._usedMemory+=this.estimateFeatureUsedMemory?.(n)??0,n}_remove(e){null!=this.onFeatureRemove&&this.onFeatureRemove(e);const t=e.objectId;return this._boundsStore.delete(t),this._featuresById.delete(t),this._usedMemory-=this.estimateFeatureUsedMemory?.(e)??0,e}}},37730(e,t,n){n.d(t,{T:()=>i});var r=n(43334);const i={getObjectId:e=>e.objectId,getAttributes:e=>e.attributes,getAttribute:(e,t)=>e.attributes[t],cloneWithGeometry:(e,t,n)=>new r.Om(t,e.attributes,null,e.objectId,e.displayId,e.distance,e.vertexCount),getGeometry:e=>e.geometry,getCentroid:(e,t)=>e.ensureCentroid(t)}},33771(e,t,n){n.r(t),n.d(t,{default:()=>b});var r=n(60999),i=n(49186),s=n(53966),o=n(34727),a=n(17676),l=n(67076),u=n(21325),c=n(90708),h=n(83221),p=n(31464),d=n(75752),y=n(85113),m=n(82832),f=n(34322),g=n(95466),_=n(54218),w=n(98623);const x="esri.layers.WFSLayer";class b{constructor(){this._customParameters=null,this._queryEngine=null,this._supportsPagination=!0}destroy(){this._queryEngine?.destroy(),this._queryEngine=null}async load(e,t={}){const{getFeatureUrl:n,getFeatureOutputFormat:r,fields:s,geometryType:o,featureType:l,maxRecordCount:u,maxTotalRecordCount:c,maxPageCount:y,objectIdField:m,customParameters:_}=e,{spatialReference:x,getFeatureSpatialReference:b}=(0,f.UH)(n,l,e.spatialReference);try{await(0,p.Nk)(b,x)}catch{throw new i.A("unsupported-projection","Projection not supported",{inSpatialReference:b,outSpatialReference:x})}(0,a.Te)(t),this._customParameters=_,this._featureType=l,this._fieldsIndex=g.A.fromLayerJSON({fields:s,dateFieldsTimeReference:s.some(e=>"esriFieldTypeDate"===e.type)?{timeZoneIANA:w.n$}:null}),this._geometryType=o,this._getFeatureUrl=n,this._getFeatureOutputFormat=r,this._getFeatureSpatialReference=b,this._maxRecordCount=u,this._maxTotalRecordCount=c,this._maxPageCount=y,this._objectIdField=m,this._spatialReference=x;let v=await this._snapshotFeatures(t);if(v.errors.length>0&&(this._supportsPagination=!1,v=await this._snapshotFeatures(t),v.errors.length>0))throw v.errors[0];const A={type:"object-id",fieldName:m};return this._queryEngine=new d.do({fieldsIndex:this._fieldsIndex,geometryType:o,hasM:!1,hasZ:!1,featureIdInfo:A,spatialReference:x,timeInfo:null,featureStore:new h.A({geometryType:o,hasM:!1,hasZ:!1})}),this._queryEngine.featureStore.addMany(v.features),{warnings:C(v),extent:(await this._queryEngine.fetchRecomputedExtents()).fullExtent}}async applyEdits(){throw new i.A("wfs-source:editing-not-supported","applyEdits() is not supported on WFSLayer")}async queryFeatures(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQuery(e,t.signal)}async queryFeatureCount(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForCount(e,t.signal)}async queryObjectIds(e={},t={}){return await this._waitSnapshotComplete(),(await this._queryEngine.executeQueryForIds(e,t.signal)).filter(_.Et)}async queryExtent(e={},t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeQueryForExtent(e,t.signal)}async querySnapping(e,t={}){return await this._waitSnapshotComplete(),await this._queryEngine.executeQueryForSnapping(e,t.signal)}async queryAttributeBins(e,t={}){return await this._waitSnapshotComplete(),this._queryEngine.executeAttributeBinsQuery(e,t.signal)}async refresh(e){return this._customParameters=e.customParameters,this._maxRecordCount=e.maxRecordCount,this._maxTotalRecordCount=e.maxTotalRecordCount,this._maxPageCount=e.maxPageCount,this._snapshotTask?.abort(),this._snapshotTask=(0,r.UT)(e=>this._snapshotFeatures({signal:e})),this._snapshotTask.promise.then(e=>{this._queryEngine.featureStore.clear(),this._queryEngine.featureStore.addMany(e.features);for(const t of C(e))s.A.getLogger(x).warn(new l.A("wfs-layer:refresh-warning",t.message,t.details));e.errors?.length&&s.A.getLogger(x).warn(new l.A("wfs-layer:refresh-error","Refresh completed with errors",{errors:e.errors}))},()=>{this._queryEngine.featureStore.clear()}),await this._waitSnapshotComplete(),{extent:(await this._queryEngine.fetchRecomputedExtents()).fullExtent}}async _waitSnapshotComplete(){if(this._snapshotTask&&!this._snapshotTask.finished){try{await this._snapshotTask.promise}catch{}return this._waitSnapshotComplete()}}async _snapshotFeatures(e){const t=e?.signal,n=this._maxTotalRecordCount,r=this._maxPageCount,i=this._supportsPagination&&r>1?await(0,f.E)(this._getFeatureUrl,this._featureType.typeName,{customParameters:this._customParameters,signal:t}):void 0;let s=[];const l=[];if(null==i)try{s=await this._singleQuery(t)}catch(e){(0,a.zf)(e)||l.push(e)}else{const e=Math.min(i,n),u=function*(e,t,n){for(let r=0;r<t;r++)yield e._pageQuery(r,n)}(this,(0,o.qE)(Math.ceil(e/this._maxRecordCount),1,r),t);await Promise.allSettled(Array.from({length:10}).map(()=>async function(e,t,n){let r=e.next();for(;!r.done;){try{const e=await r.value;t.push(...e)}catch(e){(0,a.zf)(e)||n.push(e)}r=e.next()}}(u,s,l)))}return(0,a.Te)(t),{features:s,totalRecordCount:i,maxTotalRecordCount:n,maxPageCount:r,errors:l}}async _singleQuery(e){const t=Number.isFinite(this._maxRecordCount)&&this._maxRecordCount>0?this._maxRecordCount:void 0,n=await(0,f.x$)(this._getFeatureUrl,this._featureType.typeName,this._getFeatureSpatialReference,this._getFeatureOutputFormat,{customParameters:this._customParameters,count:t,signal:e});return this._processGeoJSON(n,{signal:e})}async _pageQuery(e,t){const n=e*this._maxRecordCount,r=await(0,f.x$)(this._getFeatureUrl,this._featureType.typeName,this._getFeatureSpatialReference,this._getFeatureOutputFormat,{customParameters:this._customParameters,startIndex:n,count:this._maxRecordCount,signal:t});return this._processGeoJSON(r,{startIndex:n,signal:t})}_processGeoJSON(e,t){(0,y.sO)(e,this._getFeatureSpatialReference.wkid);const{startIndex:n,signal:r}=t;(0,a.Te)(r);const i=(0,y.bd)(e,{geometryType:this._geometryType,hasZ:!1,objectIdField:this._objectIdField});if(!(0,u.aI)(this._spatialReference,this._getFeatureSpatialReference))for(const e of i)null!=e.geometry&&(e.geometry=(0,c.Ux)((0,p.Cv)((0,c.zv)(e.geometry,this._geometryType,!1,!1),this._getFeatureSpatialReference,this._spatialReference)));let s=n??1;for(const e of i){const t={};(0,m.MB)(this._fieldsIndex,t,e.attributes,!0),e.attributes=t,null==t[this._objectIdField]&&(e.objectId=t[this._objectIdField]=s++)}return i}}function C(e){const t=[];return null!=e.totalRecordCount&&(e.features.length<e.totalRecordCount&&t.push({name:"wfs-layer:maxRecordCount-too-low",message:`Could only fetch ${e.features.length} of ${e.totalRecordCount} in ${e.maxPageCount} queries. Try increasing the value of WFSLayer.maxRecordCount.`,details:{recordCount:e.features.length,totalRecordCount:e.totalRecordCount}}),e.totalRecordCount>e.maxTotalRecordCount&&t.push({name:"wfs-layer:large-dataset",message:`The number of ${e.totalRecordCount} features exceeds the maximum allowed of ${e.maxTotalRecordCount}.`,details:{recordCount:e.features.length,totalRecordCount:e.totalRecordCount,maxTotalRecordCount:e.maxTotalRecordCount}})),t}},85113(e,t,n){n.d(t,{BM:()=>S,bd:()=>T,sO:()=>A,xD:()=>h});var r=n(67482),i=n(49186),s=n(21325),o=n(90708),a=n(43334),l=n(92722),u=n(30524);const c={LineString:"esriGeometryPolyline",MultiLineString:"esriGeometryPolyline",MultiPoint:"esriGeometryMultipoint",Point:"esriGeometryPoint",Polygon:"esriGeometryPolygon",MultiPolygon:"esriGeometryPolygon"};function h(e){return c[e]}function*p(e){switch(e.type){case"Feature":yield e;break;case"FeatureCollection":for(const t of e.features)t&&(yield t)}}function*d(e){if(e)switch(e.type){case"Point":yield e.coordinates;break;case"LineString":case"MultiPoint":yield*e.coordinates;break;case"MultiLineString":case"Polygon":for(const t of e.coordinates)yield*t;break;case"MultiPolygon":for(const t of e.coordinates)for(const e of t)yield*e}}function y(e){for(const t of e)if(t.length>2)return!0;return!1}function m(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n],i=e[(n+1)%e.length];t+=r[0]*i[1]-i[0]*r[1]}return t<=0}function f(e){const t=e[0],n=e[e.length-1];t[0]===n[0]&&t[1]===n[1]&&t[2]===n[2]||e.push(t)}function g(e,t){const{coordinates:n,type:r}=e,i=t.hasZ??!1,s=!0;switch(r){case"Point":return new l.A([],[...n],i,!1);case"LineString":return(0,o.Ap)({paths:[n],hasZ:s},i,!1);case"MultiLineString":return(0,o.Ap)({paths:n,hasZ:s},i,!1);case"MultiPoint":return(0,o.PR)({points:n,hasZ:s},i,!1);case"Polygon":case"MultiPolygon":{const e=new l.A([],[],i,!1);for(const t of"Polygon"===r?[n]:n){_(e,t[0],i);for(let n=1;n<t.length;n++)w(e,t[n],i)}return e}}}function _(e,t,n){f(t),function(e){return!m(e)}(t)?b(e,t,n):x(e,t,n)}function w(e,t,n){f(t),function(e){return m(e)}(t)?b(e,t,n):x(e,t,n)}function x(e,t,n){for(const r of t)C(e,r,n);e.lengths.push(t.length)}function b(e,t,n){for(let r=t.length-1;r>=0;r--)C(e,t[r],n);e.lengths.push(t.length)}function C(e,[t,n,r],i){e.coords.push(t,n),i&&e.coords.push(r||0)}function v(e){switch(typeof e){case"string":return(0,r.Br)(e)?"esriFieldTypeDate":"esriFieldTypeString";case"number":return"esriFieldTypeDouble";default:return"unknown"}}function A(e,t=4326){if(!e)throw new i.A("geojson-layer:empty","GeoJSON data is empty");if("Feature"!==e.type&&"FeatureCollection"!==e.type)throw new i.A("geojson-layer:unsupported-geojson-object","missing or not supported GeoJSON object type",{data:e});const{crs:n}=e;if(!n)return;const r="string"==typeof n?n:"name"===n.type?n.properties.name:"EPSG"===n.type?n.properties.code:null,o=(0,s.oT)({wkid:t})?new RegExp(".*(CRS84H?|4326)$","i"):new RegExp(`.*(${t})$`,"i");if(!r||!o.test(r))throw new i.A("geojson:unsupported-crs","unsupported GeoJSON 'crs' member",{crs:n})}function S(e,t={}){const n=[],r=new Set,i=new Set;let s,o=!1,a=null,l=!1,{geometryType:c=null}=t;for(const t of p(e)){const{geometry:e,properties:p,id:m}=t;if((!e||(c||(c=h(e.type)),h(e.type)===c))&&(o||(o=y(d(e))),l||(l=null!=m,l&&(s=typeof m,p&&(a=Object.keys(p).filter(e=>p[e]===m)))),p&&a&&l&&null!=m&&(a.length>1?a=a.filter(e=>p[e]===m):1===a.length&&(a=p[a[0]]===m?a:[])),p))for(const e in p){if(r.has(e))continue;const t=v(p[e]);if("unknown"===t){i.add(e);continue}i.delete(e),r.add(e);const s=(0,u.rS)(e);s&&n.push({name:s,alias:e,type:t})}}const m=(0,u.rS)(1===a?.length&&a[0]||null)??void 0;if(m)for(const e of n)if(e.name===m&&(0,u.WA)(e)){e.type="esriFieldTypeOID";break}return{fields:n,geometryType:c,hasZ:o,objectIdFieldName:m,objectIdFieldType:s,unknownFields:Array.from(i)}}function T(e,t){return Array.from(function*(e,t={}){const{geometryType:n,objectIdField:r}=t;for(const i of e){const{geometry:e,properties:s,id:o}=i;if(e&&h(e.type)!==n)continue;const l=s||{};let u;r&&(u=l[r],null==o||u||(l[r]=u=o)),yield new a.Om(e&&g(e,t),l,null,u)}}(p(e),t))}},82832(e,t,n){n.d(t,{$1:()=>f,CR:()=>m,MB:()=>p,PC:()=>g,Yx:()=>l,bP:()=>c});var r=n(67482),i=n(21325),s=n(30524);class o{constructor(e){this.description=e,this.code=null}}class a{constructor(e){this.globalId=null,this.objectId=null,this.success=!1,this.uniqueId=null,this.error=new o(e)}}function l(e){return new a(e)}class u{constructor(e){this.globalId=null,this.success=!0,this.objectId=this.uniqueId=e}}function c(e){return new u(e)}const h=new Set;function p(e,t,n,r=!1){h.clear();for(const i in n){const o=e.get(i);if(!o)continue;const a=d(o,n[i]);if(h.add(o.name),o&&(r||o.editable)){const e=(0,s.CJ)(o,a);if(e)return l((0,s.uo)(e,o,a));t[o.name]=a}}for(const t of e.requiredFields??[])if(!h.has(t.name))return l(`missing required field "${t.name}"`);return null}function d(e,t){let n=t;return(0,s.WA)(e)&&"string"==typeof t?n=parseFloat(t):(0,s.yM)(e)&&null!=t&&"string"!=typeof t?n=String(t):(0,s.vE)(e)&&"string"==typeof t&&(n=(0,r._U)(t)),(0,s.WX)(n)}let y;function m(e,t){if(!e||!(0,i.fn)(t))return e;if("rings"in e||"paths"in e){if(null==y)throw new TypeError("geometry engine not loaded");return y.simplify(t,e)}return e}async function f(e,t){!(0,i.fn)(e)||"esriGeometryPolygon"!==t&&"esriGeometryPolyline"!==t||await async function(){return null==y&&(y=await n.e(1023).then(n.bind(n,81023))),y}()}const g={supportsAutoIntervalBin:!0,supportsFixedIntervalBin:!0,supportsFixedBoundariesBin:!0,supportsDateBin:!0,supportsStackBy:!0,supportsSplitBy:!0,supportsNormalization:!0,supportedStatisticTypes:["COUNT","SUM","AVG","VAR","STDDEV","MIN","MAX","PERCENTILE_CONT","PERCENTILE_DISC","CentroidAggregate","EnvelopeAggregate","ConvexHullAggregate"],supportedNormalizationTypes:["field","log","naturalLog","percentOfTotal","squareRoot"]}},34322(e,t,n){n.d(t,{E:()=>k,Fu:()=>C,O8:()=>F,UH:()=>q,YW:()=>R,i5:()=>w,mG:()=>M,x$:()=>E});var r=n(11254),i=n(49186),s=n(5479),o=n(84952),a=n(5443),l=n(91218),u=n(16930),c=n(21325),h=n(50498),p=n(85113),d=n(13043),y=n(60694),m=n(20437),f=n(30524);const g="xlink:href",_="2.0.0",w="__esri_wfs_id__",x="wfs-layer:feature-type-not-found",b="wfs-layer:unknown-geometry-type";async function C(e,t){const n=function(e){const t=j(e);(function(e){const t=e.firstElementChild?.getAttribute("version");if(t&&t!==_)throw new i.A("wfs-layer:unsupported-wfs-version",`Unsupported WFS version ${t}. Supported version: ${_}`)})(t),G(t);const n=t.firstElementChild,r=(0,s.PP)(function(e){return(0,d.i)(e,{FeatureTypeList:{FeatureType:e=>{const t={typeName:"undefined:undefined",name:"",title:"",description:"",extent:null,namespacePrefix:"",namespaceUri:"",defaultSpatialReference:4326,supportedSpatialReferences:[]},n=new Set;return(0,d.p)(e,{Name:e=>{const{name:n,prefix:r}=O(e.textContent);t.typeName=`${r}:${n}`,t.name=n,t.namespacePrefix=r,t.namespaceUri=e.lookupNamespaceURI(r)},Abstract:e=>{t.description=e.textContent},Title:e=>{t.title=e.textContent},WGS84BoundingBox:e=>{t.extent=a.A.fromJSON(function(e){let t,n,r,i;for(const s of e.children)switch(s.localName){case"LowerCorner":[t,n]=s.textContent.split(" ").map(e=>Number.parseFloat(e));break;case"UpperCorner":[r,i]=s.textContent.split(" ").map(e=>Number.parseFloat(e))}return{xmin:t,ymin:n,xmax:r,ymax:i,spatialReference:c.KK}}(e))},DefaultCRS:e=>{const r=T(e);r&&(t.defaultSpatialReference=r,n.add(r))},OtherCRS:e=>{const t=T(e);t&&n.add(t)}}),t.title||(t.title=t.name),n.add(4326),t.supportedSpatialReferences.push(...n),t}}})}(n));return{operations:S(n),get featureTypes(){return Array.from(r())},readFeatureTypes:r}}((await(0,r.A)(e,{responseType:"text",query:{SERVICE:"WFS",REQUEST:"GetCapabilities",VERSION:_,...t?.customParameters},signal:t?.signal})).data);return function(e,t){(0,o.m3)(e)&&((0,o.FX)(e,t.operations.DescribeFeatureType.url,!0)&&(t.operations.DescribeFeatureType.url=(0,o.lM)(t.operations.DescribeFeatureType.url)),(0,o.FX)(e,t.operations.GetFeature.url,!0)&&(t.operations.GetFeature.url=(0,o.lM)(t.operations.GetFeature.url)))}(e,n),n}const v=["json","application/json; subtype=geojson; charset=utf-8","application/json; subtype=geojson","application/json","geojson","application/geo+json"];function A(e){for(const t of v){const n=e.findIndex(e=>e.toLowerCase()===t);if(n>=0)return e[n]}return null}function S(e){let t=!0;const n={GetCapabilities:{url:""},DescribeFeatureType:{url:""},GetFeature:{url:"",outputFormat:null,supportsPagination:!1}},r=[],s=[];if((0,d.p)(e,{OperationsMetadata:{Parameter:e=>{if("outputformat"===e.getAttribute("name")?.toLowerCase())return{AllowedValues:{Value:({textContent:e})=>{e&&r.push(e)}}}},Operation:e=>{switch(e.getAttribute("name")){case"GetCapabilities":return{DCP:{HTTP:{Get:e=>{n.GetCapabilities.url=e.getAttribute(g)}}}};case"DescribeFeatureType":return{DCP:{HTTP:{Get:e=>{n.DescribeFeatureType.url=e.getAttribute(g)}}}};case"GetFeature":return{DCP:{HTTP:{Get:e=>{n.GetFeature.url=e.getAttribute(g)}}},Parameter:e=>{if("outputformat"===e.getAttribute("name")?.toLowerCase())return{AllowedValues:{Value:({textContent:e})=>{e&&s.push(e)}}}}}}},Constraint:e=>{switch(e.getAttribute("name")){case"KVPEncoding":return{DefaultValue:e=>{t="true"===e.textContent.toLowerCase()}};case"ImplementsResultPaging":return{DefaultValue:e=>{n.GetFeature.supportsPagination="true"===e.textContent.toLowerCase()}}}}}}),n.GetFeature.outputFormat=A(s)??A(r),!t)throw new i.A("wfs-layer:kvp-encoding-not-supported","WFS service doesn't support key/value pair (KVP) encoding");if(null==n.GetFeature.outputFormat)throw new i.A("wfs-layer:geojson-not-supported","WFS service doesn't support GeoJSON output format");return n}function T(e){const t=parseInt(e.textContent?.match(/(?<wkid>\d+$)/i)?.groups?.wkid??"",10);if(!Number.isNaN(t))return t}function M(e,t,n){return(0,s.I6)(e,e=>n?e.name===t&&e.namespaceUri===n:e.typeName===t||e.name===t)}async function F(e,t,n,r={}){const{featureType:s,extent:o}=await async function(e,t,n,r={}){const s=e.readFeatureTypes(),o=t?M(s,t,n):s.next().value,{spatialReference:a=new u.A({wkid:o?.defaultSpatialReference})}=r;if(null==o)throw t?new i.A(x,`The type '${t}' could not be found in the service`):new i.A("wfs-layer:empty-service","The service is empty");let h=o.extent;if(h&&!(0,c.aI)(h.spatialReference,a))try{await(0,l.initializeProjection)(h.spatialReference,a,void 0,r),h=(0,l.project)(h,a)}catch{throw new i.A("wfs-layer:unsupported-spatial-reference","Projection not supported")}return{extent:h,spatialReference:a,featureType:o}}(e,t,n,r),{spatialReference:a}=q(e.operations.GetFeature.url,s,r.spatialReference),{fields:h,geometryType:p,swapXY:d,objectIdField:y,geometryField:m}=await async function(e,t,n,r={}){const{typeName:s}=t,[o,a]=await Promise.allSettled([I(e.operations.DescribeFeatureType.url,s,r),P(e,s,n,r)]),l=e=>new i.A("wfs-layer:getWFSLayerTypeInfo-error",`An error occurred while getting info about the feature type '${s}'`,{error:e});if("rejected"===o.status)throw l(o.reason);if("rejected"===a.status)throw l(a.reason);const{fields:u,errors:c}=o.value??{},h=o.value?.geometryType||a.value?.geometryType,p=a.value?.swapXY??!1;if(null==h)throw new i.A(b,`The geometry type could not be determined for type '${s}`,{typeName:s,geometryType:h,fields:u,errors:c});return{...R(u??[]),geometryType:h,swapXY:p}}(e,s,a,r);return{url:e.operations.GetCapabilities.url,name:s.name,namespaceUri:s.namespaceUri,fields:h,geometryField:m,geometryType:p,objectIdField:y,spatialReference:r.spatialReference??new u.A({wkid:s.defaultSpatialReference}),extent:o,swapXY:d,wfsCapabilities:e,customParameters:r.customParameters}}function R(e){const t=e.find(e=>"geometry"===e.type);let n=e.find(e=>"oid"===e.type);return e=e.filter(e=>"geometry"!==e.type),n||(n=new m.A({name:w,type:"oid",alias:w}),e.unshift(n)),{geometryField:t?.name??null,objectIdField:n.name,fields:e}}async function P(e,t,n,i={}){let s,o=!1;const[a,l]=await Promise.all([E(e.operations.GetFeature.url,t,n,e.operations.GetFeature.outputFormat,{...i,count:1}),(0,r.A)(e.operations.GetFeature.url,{responseType:"text",query:N(t,n,void 0,{...i,count:1}),signal:i?.signal})]),u="FeatureCollection"===a.type&&a.features[0]?.geometry;if(u){let e;switch(s=h.gy.fromJSON((0,p.xD)(u.type)),u.type){case"Point":e=u.coordinates;break;case"LineString":case"MultiPoint":e=u.coordinates[0];break;case"MultiLineString":case"Polygon":e=u.coordinates[0][0];break;case"MultiPolygon":e=u.coordinates[0][0][0]}const t=/<[^>]*pos[^>]*> *(-?\d+(?:\.\d+)?) (-?\d+(?:\.\d+)?)/.exec(l.data);if(t){const n=e[0].toFixed(3),r=e[1].toFixed(3),i=parseFloat(t[1]).toFixed(3);n===parseFloat(t[2]).toFixed(3)&&r===i&&(o=!0)}}return{geometryType:s,swapXY:o}}async function I(e,t,n){return function(e,t){const{name:n}=O(e),r=j(t);G(r);const o=(0,s.I6)((0,d.i)(r.firstElementChild,{element:e=>e}),e=>e.getAttribute("name")===n);if(null!=o){const e=o.getAttribute("type"),t=e?(0,s.I6)((0,d.i)(r.firstElementChild,{complexType:e=>e}),t=>t.getAttribute("name")===O(e).name):(0,s.I6)((0,d.i)(o,{complexType:e=>e}),()=>!0);if(t)return function(e){const t=[],n=[];let r;const s=(0,d.i)(e,{complexContent:{extension:{sequence:{element:e=>e}}}});for(const o of s){const s=o.getAttribute("name");if(!s)continue;let a,l;if(o.hasAttribute("type")?a=O(o.getAttribute("type")).name:(0,d.p)(o,{simpleType:{restriction:e=>(a=O(e.getAttribute("base")).name,{maxLength:e=>{l=+e.getAttribute("value")}})}}),!a)continue;const u="true"===o.getAttribute("nillable");let c=!1;switch(a.toLowerCase()){case"integer":case"nonpositiveinteger":case"negativeinteger":case"long":case"int":case"short":case"byte":case"nonnegativeinteger":case"unsignedlong":case"unsignedint":case"unsignedshort":case"unsignedbyte":case"positiveinteger":n.push(new m.A({name:s,alias:s,type:"integer",nullable:u,length:(0,f._b)("integer")}));break;case"float":case"double":case"decimal":n.push(new m.A({name:s,alias:s,type:"double",nullable:u,length:(0,f._b)("double")}));break;case"boolean":case"string":case"gyearmonth":case"gyear":case"gmonthday":case"gday":case"gmonth":case"anyuri":case"qname":case"notation":case"normalizedstring":case"token":case"language":case"idrefs":case"entities":case"nmtoken":case"nmtokens":case"name":case"ncname":case"id":case"idref":case"entity":case"duration":case"time":n.push(new m.A({name:s,alias:s,type:"string",nullable:u,length:l??(0,f._b)("string")}));break;case"datetime":case"date":n.push(new m.A({name:s,alias:s,type:"date",nullable:u,length:l??(0,f._b)("date")}));break;case"pointpropertytype":r="point",c=!0;break;case"multipointpropertytype":r="multipoint",c=!0;break;case"curvepropertytype":case"multicurvepropertytype":case"multilinestringpropertytype":r="polyline",c=!0;break;case"surfacepropertytype":case"multisurfacepropertytype":case"multipolygonpropertytype":r="polygon",c=!0;break;case"geometrypropertytype":case"multigeometrypropertytype":c=!0,t.push(new i.A(b,`geometry type '${a}' is not supported`,{type:(new XMLSerializer).serializeToString(e)}));break;default:t.push(new i.A("wfs-layer:unknown-field-type",`Unknown field type '${a}'`,{type:(new XMLSerializer).serializeToString(e)}))}c&&n.push(new m.A({name:s,alias:s,type:"geometry",nullable:u}))}for(const e of n)if("integer"===e.type&&!e.nullable&&B.has(e.name.toLowerCase())){e.type="oid";break}return{geometryType:r,fields:n,errors:t}}(t)}throw new i.A(x,`Type '${e}' not found in document`,{document:(new XMLSerializer).serializeToString(r)})}(t,(await(0,r.A)(e,{responseType:"text",query:{SERVICE:"WFS",REQUEST:"DescribeFeatureType",VERSION:_,TYPENAME:t,TYPENAMES:t,...n?.customParameters},signal:n?.signal})).data)}const B=new Set(["objectid","fid"]);async function E(e,t,n,s,o){let{data:a}=await(0,r.A)(e,{responseType:"text",query:N(t,n,s,o),signal:o?.signal});a=a.replaceAll(/": +(-?\d+),(\d+)(,)?/g,'": $1.$2$3');try{return JSON.parse(a)}catch(e){throw new i.A("wfs-layer:malformed-json","Error while parsing the response",{response:a,error:e})}}function N(e,t,n,r){const i="number"==typeof t?t:t.wkid;return{SERVICE:"WFS",REQUEST:"GetFeature",VERSION:_,TYPENAMES:e,OUTPUTFORMAT:n,SRSNAME:"EPSG:"+i,STARTINDEX:r?.startIndex,COUNT:r?.count,...r?.customParameters}}async function k(e,t,n){const i=await(0,r.A)(e,{responseType:"text",query:{SERVICE:"WFS",REQUEST:"GetFeature",VERSION:_,TYPENAMES:t,RESULTTYPE:"hits",...n?.customParameters},signal:n?.signal}),s=/numberMatched=["'](?<numberMatched>\d+)["']/gi.exec(i.data);if(s?.groups)return+s.groups.numberMatched}function j(e){return(new DOMParser).parseFromString(e.trim(),"text/xml")}function O(e){const[t,n]=e.split(":");return{prefix:n?t:"",name:n??t}}function G(e){let t="",n="";if((0,d.p)(e.firstElementChild,{Exception:e=>(t=e.getAttribute("exceptionCode"),{ExceptionText:e=>{n=e.textContent}})}),t)throw new i.A(`wfs-layer:${t}`,n)}function q(e,t,n){const r={wkid:t.defaultSpatialReference},i=null!=n?.wkid?{wkid:n.wkid}:r;return{spatialReference:i,getFeatureSpatialReference:(0,y.Fi)(e)||i.wkid&&t.supportedSpatialReferences.includes(i.wkid)?{wkid:i.wkid}:{wkid:t.defaultSpatialReference}}}},13043(e,t,n){function r(e,t){if(e&&t)for(const n of e.children)if(n.localName in t){const e=t[n.localName];if("function"==typeof e){const t=e(n);t&&r(n,t)}else r(n,e)}}function*i(e,t){for(const n of e.children)if(n.localName in t){const e=t[n.localName];"function"==typeof e?yield e(n):yield*i(n,e)}}n.d(t,{i:()=>i,p:()=>r})},39357(e,t,n){n.d(t,{A:()=>a});var r,i=n(5482),s=n(25482),o=n(91429);let a=r=class extends s.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({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=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},53177(e,t,n){n.d(t,{A:()=>c});var r,i=n(5482),s=n(4718),o=n(91429),a=n(39357),l=n(76357),u=n(93223);let c=class extends l.A{static{r=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const n=String(e);this.codedValues.some(e=>(String(e.code)===n&&(t=e.name),!!t))}return t}clone(){return new r({codedValues:(0,s.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,u.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,n){n.d(t,{A:()=>u});var r=n(5482),i=n(66552),s=n(25482),o=n(91429),a=n(93223);const l=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends s.o{constructor(e){super(e),this.name=null,this.type=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,r.Cg)([(0,a.e)(l),(0,o.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,r.Cg)([(0,o.$K)("esri.layers.support.Domain")],u)},20437(e,t,n){n.d(t,{A:()=>y});var r,i=n(5482),s=n(66552),o=n(25482),a=n(91429),l=n(56507),u=n(8631),c=n(98453),h=n(36005),p=n(93223);const d=new s.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",url:"url"});let y=class extends o.o{static{r=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 n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?.value??null}readValueType(e,{description:t}){let n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?d.fromJSON(n.fieldValueType):null}clone(){return new r({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}})],y.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],y.prototype,"defaultValue",void 0),(0,i.Cg)([(0,a.MZ)()],y.prototype,"description",void 0),(0,i.Cg)([(0,h.w)("description")],y.prototype,"readDescription",null),(0,i.Cg)([(0,a.MZ)({types:u.g,json:{read:{reader:u.r},write:!0}})],y.prototype,"domain",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"editable",void 0),(0,i.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],y.prototype,"length",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"nullable",void 0),(0,i.Cg)([(0,p.e)(c.m)],y.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)()],y.prototype,"valueType",void 0),(0,i.Cg)([(0,h.w)("valueType",["description"])],y.prototype,"readValueType",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],y.prototype,"visible",void 0),y=r=(0,i.Cg)([(0,a.$K)("esri.layers.support.Field")],y)},41628(e,t,n){n.d(t,{A:()=>l});var r,i=n(5482),s=n(91429),o=n(76357),a=n(93223);let l=class extends o.A{static{r=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new r({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,s.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,n){t[n]=[this.minValue||0,e]},isRequired:!0}}})],l.prototype,"maxValue",void 0),(0,i.Cg)([(0,s.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,n){t[n]=[e,this.maxValue||0]},isRequired:!0}}})],l.prototype,"minValue",void 0),(0,i.Cg)([(0,a.e)({range:"range"})],l.prototype,"type",void 0),l=r=(0,i.Cg)([(0,s.$K)("esri.layers.support.RangeDomain")],l)},8631(e,t,n){n.d(t,{r:()=>p,g:()=>h});var r,i=n(53177),s=n(76357),o=n(5482),a=n(91429),l=n(93223);let u=class extends s.A{static{r=this}constructor(e){super(e),this.type="inherited"}clone(){return new r}};(0,o.Cg)([(0,l.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=r=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],u);var c=n(41628);const h={key:"type",base:s.A,typeMap:{range:c.A,"coded-value":i.A,inherited:u}};function p(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},98453(e,t,n){n.d(t,{m:()=>r});const r=new(n(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"})},2272(e,t,n){n.d(t,{Dl:()=>u,gf:()=>h,jV:()=>l,lF:()=>c});var r=n(92602),i=n(70333),s=n(4718),o=n(84952),a=n(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,s.o8)(e)}function c(e,t,n){const r={};for(const i in e){if("declaredClass"===i)continue;const s=e[i];if(null!=s&&"function"!=typeof s)if(Array.isArray(s))r[i]=s.map(e=>c(e));else if("object"==typeof s)if(s.toJSON){const e=s.toJSON(n?.[i]);r[i]=t?e:JSON.stringify(e)}else r[i]=t?s:JSON.stringify(s);else r[i]=s}return r}async function h(e,t,s){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&&r.A.request.useIdentity&&await Promise.all([n.e(7632),n.e(5915),n.e(148)]).then(n.bind(n,50148));const l=await i.id.getCredential(e,s);return l?.token}},926(e,t,n){n.d(t,{Dd:()=>p,Jn:()=>d,Qc:()=>y,getApiKey:()=>c,getSessionToken:()=>h});var r=n(92602),i=n(11254),s=n(84952);const o=/^https?:\/\/(i?basemaps|basemapstyles)-api\.arcgis\.com\//i,a=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]),l=new Map;let u=null;function c(e){if(!y(e))return null;const t=t=>t instanceof RegExp?t.test(e):"string"==typeof t&&e.startsWith(t),n=r.A.apiKeys;if(Array.isArray(n.scopes))for(const e of n.scopes)if(Array.isArray(e.urls)){if(e.urls.some(t))return e.token}else if(t(e.urls))return e.token;return n.basemapStyles&&o.test(e)?n.basemapStyles:r.A.apiKey&&/^https?:\/\/.+\.arcgis\.com(\/|$)/i.test(e)?r.A.apiKey:null}async function h(e){if(!r.A.sessions?.basemap?.enabled||!o.test(e))return null;const t=c(e);if(!t)return null;u&&await u;const{styleFamily:n="arcgis",autoRefresh:s,duration:a=43200}=r.A.sessions.basemap,h=`${t}:${n}`,p=l.get(h);if(p&&(!s||p.endTime>Date.now()))return p.sessionToken;let d;u=(0,i.A)("https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/sessions/start",{cacheBust:!0,query:{durationSeconds:a,styleFamily:n,token:t}});try{d=(await u).data,d.endTime-=5e3,l.set(h,d)}finally{u=null}return d.sessionToken}function p(){return null!=r.A.apiKey||null!=r.A.apiKeys.basemapStyles}function d(e,t){return t?y(e):null!=c(e)}function y(e){const t=(0,s.$z)(e,!0);return!!t&&!a.has(t)&&!e.endsWith("/sharing/rest/generateToken")}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[547,5315],{59534(e,t,n){n.d(t,{B:()=>s,b:()=>a});var r=n(85935);function s(e){return e.toLowerCase().replaceAll(/[\s-]+/g,"")}class a{constructor(e,t){const n=new Map;for(const t of e){const e=s(t);if(n.has(e))throw new Error(`${t} already added as ${n.get(e)}`);n.set(e,t)}if(null!=t)for(const[e,r]of t){const t=s(e);if(n.has(t))throw new Error(`${e} already associated with ${n.get(t)}`);n.set(t,r)}this._enumMap=n}lookup(e){return this._enumMap.get(s(e))}get(e){const t=this.lookup(e);if(null==t)throw new r.D$("InvalidParameter",null);return t}}},85935(e,t,n){n.d(t,{D$:()=>i,O$:()=>l,i2:()=>f,mT:()=>u,ps:()=>m});var r=n(799);const s={TypeNotAllowedInFeature:"Feature attributes only support dates, numbers, strings, guids.",LogicError:"Logic error - {reason}",CannotCompareDateAndTime:"Cannot compare date or dateonly with timeonly types",NeverReach:"Encountered unreachable logic",AsyncNotEnabled:"Async Arcade must be enabled for this script",ModuleAccessorMustBeString:"Module accessor must be a string",ModuleExportNotFound:"Module has no export with provided identifier",ModulesNotSupported:"Current profile does not support modules",ArrayAccessMustBeNumber:"Array accessor must be a number",FunctionNotFound:"Function not found",FieldNotFound:"Key not found - {key}",CircularModules:"Circular module dependencies are not allowed",Cancelled:"Execution cancelled",UnsupportedHashType:"Type not supported in hash function",IllegalResult:"Value is not a supported return type",PortalRequired:"Portal is required",InvalidParameter:"Invalid parameter",WrongNumberOfParameters:"Call with wrong number of parameters",Unrecognized:"Unrecognized code structure",UnrecognizedType:"Unrecognized type",WrongSpatialReference:"Cannot work with geometry in this spatial reference. It is different to the execution spatial reference",BooleanConditionRequired:"Conditions must use booleans",NoFunctionInDictionary:"Dictionaries cannot contain functions.",NoFunctionInArray:"Arrays cannot contain functions.",NoFunctionInTemplateLiteral:"Template Literals do not expect functions by value.",KeyAccessorMustBeString:"Accessor must be a string",KeyMustBeString:"Object keys must be a string",Immutable:"Object is immutable",UnexpectedToken:"Unexpected token",MemberOfNull:"Cannot access property of null object",MaximumCallDepth:"Exceeded maximum function depth",OutOfBounds:"Out of bounds",InvalidIdentifier:"Identifier not recognized",CallNonFunction:"Expression is not a function",InvalidMemberAccessKey:"Cannot access value using a key of this type",AssignModuleFunction:"Cannot assign function to module variable",UnsupportUnaryOperator:"Unsupported unary operator",UnsupportedOperator:"Unsupported operator",LogicalExpressionOnlyBoolean:"Logical expressions must be boolean",LogicExpressionOrAnd:"Logical expression can only be combined with || or &&",CannotChangeTimeZoneTime:"Cannot change the timezone of a Time",CannotChangeTimeZoneDateOnly:"Cannot change the timezone of a DateOnly",FeatureSetDoesNotHaveSubtypes:"FeatureSet does not have subtypes"};function a(e){return"object"==typeof e&&"line"in e&&"column"in e&&"number"==typeof e.line&&"number"==typeof e.column}class o extends Error{constructor(e,t){super(c(t)+("object"==typeof e&&null!=e&&"message"in e?e.message:""),{cause:e}),this.loc=t?.loc??null}}class i extends Error{constructor(e,t,n){super("Execution error - "+c(t)+(0,r.HC)(s[e],n)),this.declaredRootClass="esri.arcade.arcadeexecutionerror",this.loc=t?.loc??null}}function c(e){return null==e?.loc?"":`Line ${e.loc.start.line}:${e.loc.start.column}: `}class u extends Error{constructor(e,t,n){super("Compilation error - "+c(t)+(0,r.HC)(s[e],n)),this.declaredRootClass="esri.arcade.arcadecompilationerror",this.loc=t?.loc??null}}class l extends Error{constructor(){super("Uncompilable code structures"),this.declaredRootClass="esri.arcade.arcadeuncompilableerror"}}function f(e,t){return!function(e){if(e instanceof Error&&"loc"in e){const t=e.loc;return null==t||"object"==typeof t&&"start"in t&&null!=t.start&&a(t.start)&&(!("end"in t)||null==t.end||a(t.end))}return!1}(e)||null==e.loc&&null!=t?.loc?new o(e,t):e}const h={UnrecognizedUri:"Unrecognized uri - {uri}",UnsupportedUriProtocol:"Unrecognized uri protocol"};class m extends Error{constructor(e,t){super((0,r.HC)(h[e],t)),this.declaredRootClass="esri.arcade.arcademoduleerror"}}},71409(e,t,n){n.d(t,{A7:()=>h,L2:()=>u,SQ:()=>r,s9:()=>c,y6:()=>f,zD:()=>o});const r=new Map([[1025,109452],[1033,109451],[9001,109404],[9002,109405],[9003,109406],[9005,109407],[9014,109408],[9030,109409],[9031,109410],[9033,109411],[9034,109412],[9035,109413],[9036,109414],[9037,109415],[9038,109416],[9039,109417],[9040,109418],[9041,109419],[9042,109420],[9043,109421],[9050,109422],[9051,109423],[9052,109424],[9053,109425],[9060,109426],[9061,109427],[9062,109428],[9063,109429],[9070,109430],[9080,109431],[9081,109432],[9082,109433],[9083,109434],[9084,109435],[9085,109436],[9086,109437],[9087,109438],[9093,109439],[9094,109440],[9095,109441],[9096,109442],[9097,109444],[9098,109445],[9099,109446],[9300,109447],[9301,109448],[9302,109449],[109001,109442],[109002,109443],[109003,109444],[109004,109445],[109005,109450],[109006,109451],[109007,109452],[109008,109453],[109009,109454],[109010,109455],[109011,109456],[109012,109457],[109013,109458],[109014,109459],[109015,109462],[109016,109464],[109017,109465],[109018,109466],[109030,109460],[109031,109461]]);function s(e){return(t,n)=>[t,{type:e,wkid:t,factor:n}]}const a=s("angular"),o=new Map([a(1031,4.84813681109536e-9),a(9101,1),a(9102,.017453292519943295),a(9103,.0002908882086657216),a(9104,484813681109536e-20),a(9105,.015707963267948967),a(9106,.015707963267948967),a(9109,1e-6),a(9112,.00015707963267948965),a(9113,15707963267948967e-22),a(9114,.0009817477042468104)]),i=s("linear"),c=new Map([i(1025,.001),i(1033,.01),i(9001,1),i(9002,.3048),i(9003,.30480060960121924),i(9005,.3047972654),i(9014,1.8288),i(9030,1852),i(9031,1.0000135965),i(9033,20.11684023368047),i(9034,.2011684023368047),i(9035,1609.3472186944375),i(9036,1e3),i(9037,.9143917962),i(9038,20.1166195164),i(9039,.201166195164),i(9040,.9143984146160287),i(9041,.3047994715386762),i(9042,20.116765121552632),i(9043,.2011676512155263),i(9050,.9143992),i(9051,.3047997333333333),i(9052,20.1167824),i(9053,.201167824),i(9060,.9143992042898124),i(9061,.30479973476327077),i(9062,20.116782494375872),i(9063,.2011678249437587),i(9070,.30480083333333335),i(9080,.30479951024814694),i(9081,.30479841),i(9082,.3047996),i(9083,.3047995),i(9084,.9143985307444408),i(9085,.91439523),i(9086,.9143988),i(9087,.9143985),i(9093,1609.344),i(9094,.3047997101815088),i(9095,.3048007491),i(9096,.9144),i(9097,20.1168),i(9098,.201168),i(9099,.914398),i(9300,.30479933333333337),i(9301,20.116756),i(9302,.20116756),i(109001,.9144),i(109002,.9144018288036576),i(109003,20.1168),i(109004,.201168),i(109005,.1),i(109006,.01),i(109007,.001),i(109008,.0254),i(109009,.025400050800101603),i(109010,5.0292),i(109011,5.029210058420118),i(109012,1853.248),i(109013,1853.184),i(109014,1.7018),i(109015,.8466683600033867),i(109016,.00035277777777777776),i(109017,1e-6),i(109018,1e-9),i(109030,5e4),i(109031,15e4)]),u=c.get(9001),l=s("area"),f=new Map([l(109401,1e4),l(109402,4046.8564224),l(109403,4046.872609874252),l(109404,1),l(109405,.09290304),l(109406,.09290341161327487),l(109407,.09290137299531805),l(109408,3.34450944),l(109409,3429904),l(109410,1.000027193184865),l(109411,404.6872609874253),l(109412,.04046872609874252),l(109413,2589998.470319522),l(109414,1e6),l(109415,.8361123569578626),l(109416,404.6783807676053),l(109417,.04046783807676053),l(109418,.8361244606523066),l(109419,.09290271785025629),l(109420,404.6842389557165),l(109421,.04046842389557164),l(109422,.83612589696064),l(109423,.0929028774400711),l(109424,404.6849341289498),l(109425,.04046849341289498),l(109426,.836125904805842),l(109427,.09290287831176021),l(109428,404.6849379260275),l(109429,.04046849379260275),l(109430,.09290354800069446),l(109431,.09290274144751023),l(109432,.09290207073852812),l(109433,.09290279616016),l(109434,.09290273520025),l(109435,.836124673027592),l(109436,.8361186366467529),l(109437,.8361251654414399),l(109438,.83612461680225),l(109439,2589988.110336),l(109440,.09290286332673177),l(109441,.09290349665192114),l(109442,.83612736),l(109443,.8361307045194736),l(109444,404.68564224),l(109445,.040468564224),l(109446,.836123702404),l(109447,.09290263360044447),l(109448,404.683871963536),l(109449,.0404683871963536),l(109450,.01),l(109451,1e-4),l(109452,1e-6),l(109453,64516e-8),l(109454,.0006451625806477421),l(109455,25.29285264),l(109456,25.29295381171408),l(109457,3434528.149504),l(109458,3434290.937856),l(109459,2.89612324),l(109460,25e8),l(109461,225e8),l(109462,.7168473118308245),l(109463,100),l(109464,1.244521604938271e-7),l(109465,1e-12),l(109466,1e-18)]),h=f.get(109404)},40547(e,t,n){n.d(t,{convert:()=>q,convertFromSpatialReferenceUnit:()=>b,convertToSpatialReferenceUnit:()=>w,meters:()=>a.L2,squareMeters:()=>a.A7,toAreaUnit:()=>g,toLengthUnit:()=>y});var r=n(59534),s=n(85935),a=n(71409);const o=[];function i(e){return 0===e.length?'""':e.startsWith('"')||e.startsWith(".")||e[0]>="0"&&e[0]<="9"?e:'"'+e.trim()+'"'}function c(e){let t="",n="",r=!1;for(let s=0;s<e.length;s++){const a=e[s];r?'"'===a?'"'===e[s+1]?(t+=`\\${a}`,s+=1):r=!1:t+=a:/\s/.test(a)||(","===a?(n+=""!==t?i(t)+",":",",t=""):")"===a||"]"===a?(n+=""!==t?i(t)+"]}":"]}",t=""):"("===a||"["===a?(n+='{ "entity": "'+t.toUpperCase().trim()+'", "values":[',t=""):'"'===a?(r=!0,t=""):t+=a)}return JSON.parse(n)}function u(e){try{for(let t=0;t<o.length;t++)if(o[t].spatialReferenceWkt===e)return o[t].unit;const t=l(c(e));if(null===t)return null;let n=null;for(const e of t.values)if("object"==typeof e&&("UNIT"===e.entity||"ANGLEUNIT"===e.entity||"LENGTHUNIT"===e.entity)){n=e;break}if(null===n)return null;const r=function(e,t,n){if(null!=n)try{if("EPSG"===n.values[0])return{type:e,wkid:Number.parseInt(n.values[1],10),factor:t}}catch(e){}return{type:e,factor:t}}("GEOGCS"===t.entity||"GEOGCRS"===t.entity?"angular":"linear",n.values[1],n.values[2]);return o.push({spatialReferenceWkt:e,unit:r}),o.length>10&&o.shift(),r}catch(e){return null}}function l(e){if(null===e)return null;switch(e.entity){case"GEOGCRS":case"GEOGCS":case"PROJCRS":case"PROJCS":return e}const t=[];for(const n of e.values)if("object"==typeof n&&void 0!==n.entity)switch(n.entity){case"GEOGCRS":case"GEOGCS":case"PROJCRS":case"PROJCS":return n;default:t.push(n)}for(const e of t){const t=l(e);if(null!=t)return t}return null}var f=n(86211),h=n(22530);function m(e,t){let n;switch(e){case"linear":n=a.s9;break;case"angular":n=a.zD;break;case"area":n=a.y6;break;default:return null}return n.get(t)}function d(e){const t=e.wkid;if(null!=t){const e=h.A.units[h.A[t]];if(null!=e)switch(e){case"Meter":return m("linear",9001);case"Foot":return m("linear",9002);case"Foot_US":return m("linear",9003);case"Foot_Clarke":return m("linear",9005);case"Yard_Clarke":return m("linear",9037);case"Link_Clarke":return m("linear",9039);case"Yard_Sears":return m("linear",9040);case"Foot_Sears":return m("linear",9041);case"Chain_Sears":return m("linear",9042);case"Chain_Benoit_1895_B":return m("linear",9062);case"Yard_Indian":return m("linear",9084);case"Yard_Indian_1937":return m("linear",9085);case"Foot_Gold_Coast":return m("linear",9094);case"Chain":return m("linear",9097);case"Chain_Sears_1922_Truncated":return m("linear",9301);case"50_Kilometers":return m("linear",109030);case"150_Kilometers":return m("linear",109031);default:throw new Error(`Unknown unit name: ${e}`)}return f.yD.has(t)?m("angular",9105):m("angular",9102)}const n=e.wkt2||e.wkt;if(null!=n){const e=u(n);if(null!=e){if(null!=e.wkid){const t=m(e.type,e.wkid);if(null!=t)return t}return{type:e.type,wkid:-1,factor:e.factor}}}return null}function p(e){if("linear"!==e.type)return null;if(-1===e.wkid)return{type:"area",wkid:-1,factor:e.factor**2};const t=a.SQ.get(e.wkid);return null==t?null:m("area",t)}function g(e){if(null!=e){if("number"==typeof e)return a.y6.get(e)??a.s9.get(e)??a.zD.get(e);if("string"!=typeof e)throw new s.D$("InvalidParameter",null);switch((0,r.B)(e)){case"meters":case"meter":case"m":case"squaremeters":case"squaremeter":return a.y6.get(109404);case"miles":case"mile":case"squaremile":case"squaremiles":return a.y6.get(109439);case"kilometers":case"kilometer":case"squarekilometers":case"squarekilometer":case"km":return a.y6.get(109414);case"acres":case"acre":case"ac":return a.y6.get(109402);case"hectares":case"hectare":case"ha":return a.y6.get(109401);case"yard":case"yd":case"yards":case"squareyards":case"squareyard":return a.y6.get(109442);case"feet":case"ft":case"foot":case"squarefeet":case"squarefoot":return a.y6.get(109405);case"nmi":case"nauticalmile":case"nauticalmiles":case"squarenauticalmile":case"squarenauticalmiles":return a.y6.get(109409);case"millimeter":case"millimeters":case"squaremillimeter":case"squaremillimeters":return a.y6.get(109452);case"centimeter":case"centimeters":case"squarecentimeter":case"squarecentimeters":return a.y6.get(109451);case"decimeter":case"decimeters":case"squaredecimeter":case"squaredecimeters":return a.y6.get(109450);case"inch":case"inches":case"squareinch":case"squareinches":return a.y6.get(109453);case"usfoot":case"usfeet":case"squareusfoot":case"squareusfeet":return a.y6.get(109406);case"usmile":case"usmiles":case"squareusmile":case"squareusmiles":return a.y6.get(109413)}}}function y(e){if(null!=e){if("number"==typeof e)return a.s9.get(e)??a.zD.get(e)??a.y6.get(e);if("string"!=typeof e)throw new s.D$("InvalidParameter",null);switch((0,r.B)(e)){case"meters":case"meter":case"m":case"squaremeters":case"squaremeter":case"hectares":case"hectare":case"ha":return a.s9.get(9001);case"miles":case"mile":case"squaremile":case"squaremiles":return a.s9.get(9093);case"kilometers":case"kilometer":case"squarekilometers":case"squarekilometer":case"km":return a.s9.get(9036);case"yard":case"yd":case"yards":case"squareyards":case"squareyard":case"acres":case"acre":case"ac":return a.s9.get(9096);case"feet":case"ft":case"foot":case"squarefeet":case"squarefoot":return a.s9.get(9002);case"nmi":case"nauticalmile":case"nauticalmiles":case"squarenauticalmile":case"squarenauticalmiles":return a.s9.get(9030);case"millimeter":case"millimeters":case"squaremillimeter":case"squaremillimeters":return a.s9.get(109007);case"centimeter":case"centimeters":case"squarecentimeter":case"squarecentimeters":return a.s9.get(109006);case"decimeter":case"decimeters":case"squaredecimeter":case"squaredecimeters":return a.s9.get(109005);case"inch":case"inches":case"squareinch":case"squareinches":return a.s9.get(109008);case"usfoot":case"usfeet":case"squareusfoot":case"squareusfeet":return a.s9.get(9003);case"usmile":case"usmiles":case"squareusmile":case"squareusmiles":return a.s9.get(9035)}}}function M(e,t,n){if(e.type!==t.type)throw new Error(`Incompatible unit types. src=${e.type} dest=${t.type}`);return n*(e.factor/t.factor)}function b(e,t,n){if(null==e||null==t)return n;const r=d(e);if(null==r)throw new Error("Unknown spatial reference unit.");const s="area"===t.type&&"linear"===r.type?p(r):r;if(null==s)throw new Error(`Unknown spatial reference ${t.type} unit.`);return M(s,t,n)}function w(e,t,n){if(null==e||null==t)return n;const r=d(t);if(null==r)throw new Error("Unknown spatial reference unit.");const s="area"===e.type&&"linear"===r.type?p(r):r;if(null==s)throw new Error(`Unknown spatial reference ${e.type} unit.`);return M(e,s,n)}function q(e,t,n){return null==e||null==t?n:M(e,t,n)}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>s,vt:()=>r,zK:()=>a});const a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:s,create:r,fromValues:function(e,t,n,r,s,a,o,i,c,u,l,f,h,m,d,p){return[e,t,n,r,s,a,o,i,c,u,l,f,h,m,d,p]}},Symbol.toStringTag,{value:"Module"}))},51850(e,t,n){function r(){return[0,0,0]}function s(e){return[e[0],e[1],e[2]]}function a(e,t,n){return[e,t,n]}function o(e,t,n){return[e,t,n]}function i(e,t=[0,0,0]){const n=Math.min(3,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function c(){return[0,0,0]}function u(){return a(1,1,1)}function l(){return a(1,0,0)}function f(){return a(0,1,0)}function h(){return a(0,0,1)}n.d(t,{CN:()=>o,Cb:()=>y,Cw:()=>p,JP:()=>g,S:()=>u,Ul:()=>c,Un:()=>d,ci:()=>i,fA:()=>a,o8:()=>s,uY:()=>m,vt:()=>r});const m=[0,0,0],d=u(),p=l(),g=f(),y=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:p,UNIT_Y:g,UNIT_Z:y,ZEROS:m,clone:s,create:r,freeze:o,fromArray:i,fromValues:a,ones:u,unitX:l,unitY:f,unitZ:h,zeros:c},Symbol.toStringTag,{value:"Module"}))},35522(e,t,n){n.d(t,{$A:()=>v,Bw:()=>a,C:()=>o,Cc:()=>k,DI:()=>C,Il:()=>G,Io:()=>M,Ln:()=>y,Om:()=>I,Qr:()=>f,Re:()=>u,S8:()=>x,T9:()=>p,WQ:()=>c,Z0:()=>A,_S:()=>m,aI:()=>F,ei:()=>E,fw:()=>S,g7:()=>_,gL:()=>N,hG:()=>b,hZ:()=>i,hs:()=>g,jb:()=>z,jk:()=>d,lo:()=>L,lw:()=>l,m3:()=>w,oW:()=>R,t2:()=>T,tn:()=>h,uE:()=>$,xg:()=>D,ze:()=>q});var r=n(51850),s=n(34304);function a(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function i(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function c(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function l(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function f(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function h(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function m(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function d(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function p(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function g(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function y(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function M(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2];return Math.sqrt(n*n+r*r+s*s)}function b(e,t){const n=t[0]-e[0],r=t[1]-e[1],s=t[2]-e[2];return n*n+r*r+s*s}function w(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function q(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function C(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function x(e,t){const n=t[0],r=t[1],s=t[2];let a=n*n+r*r+s*s;return a>0&&(a=1/Math.sqrt(a),e[0]=t[0]*a,e[1]=t[1]*a,e[2]=t[2]*a),e}function I(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function v(e,t,n){const r=t[0],s=t[1],a=t[2],o=n[0],i=n[1],c=n[2];return e[0]=s*c-a*i,e[1]=a*o-r*c,e[2]=r*i-s*o,e}function k(e,t,n,r){const s=t[0],a=t[1],o=t[2];return e[0]=s+r*(n[0]-s),e[1]=a+r*(n[1]-a),e[2]=o+r*(n[2]-o),e}function A(e,t,n){const r=t[0],s=t[1],a=t[2];return e[0]=n[0]*r+n[4]*s+n[8]*a+n[12],e[1]=n[1]*r+n[5]*s+n[9]*a+n[13],e[2]=n[2]*r+n[6]*s+n[10]*a+n[14],e}function E(e,t,n){const r=t[0],s=t[1],a=t[2];return e[0]=r*n[0]+s*n[3]+a*n[6],e[1]=r*n[1]+s*n[4]+a*n[7],e[2]=r*n[2]+s*n[5]+a*n[8],e}function N(e,t,n){return S(e,t,n[0],n[1],n[2],n[3])}function S(e,t,n,r,s,a){const o=t[0],i=t[1],c=t[2],u=r*c-s*i,l=s*o-n*c,f=n*i-r*o,h=r*f-s*l,m=s*u-n*f,d=n*l-r*u,p=2*a;return e[0]=o+u*p+2*h,e[1]=i+l*p+2*m,e[2]=c+f*p+2*d,e}function _(e,t){x(O,e),x(U,t);const n=I(O,U);return n>1?0:n<-1?Math.PI:Math.acos(n)}const O=(0,r.vt)(),U=(0,r.vt)();function T(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function F(e,t){if(e===t)return!0;const n=e[0],r=e[1],a=e[2],o=t[0],i=t[1],c=t[2],u=(0,s.FD)();return Math.abs(n-o)<=u*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-i)<=u*Math.max(1,Math.abs(r),Math.abs(i))&&Math.abs(a-c)<=u*Math.max(1,Math.abs(a),Math.abs(c))}function R(e,t,n){const r=n[0]-t[0],s=n[1]-t[1],a=n[2]-t[2];let o=r*r+s*s+a*a;return o>0?(o=1/Math.sqrt(o),e[0]=r*o,e[1]=s*o,e[2]=a*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const z=u,P=l,j=f,D=M,L=b,G=a,$=w;Object.freeze(Object.defineProperty({__proto__:null,abs:h,add:c,angle:_,bezier:function(e,t,n,r,s,a){const o=1-a,i=o*o,c=a*a,u=i*o,l=3*a*i,f=3*c*o,h=c*a;return e[0]=t[0]*u+n[0]*l+r[0]*f+s[0]*h,e[1]=t[1]*u+n[1]*l+r[1]*f+s[1]*h,e[2]=t[2]*u+n[2]*l+r[2]*f+s[2]*h,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:o,cross:v,crossAndNormalize:function(e,t,n){const r=t[0],s=t[1],a=t[2],o=n[0],i=n[1],c=n[2],u=s*c-a*i,l=a*o-r*c,f=r*i-s*o,h=Math.sqrt(u*u+l*l+f*f);return e[0]=u/h,e[1]=l/h,e[2]=f/h,e},direction:R,dist:D,distance:M,div:j,divide:f,dot:I,equals:F,exactEquals:T,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,r,s,a){const o=a*a,i=o*(2*a-3)+1,c=o*(a-2)+a,u=o*(a-1),l=o*(3-2*a);return e[0]=t[0]*i+n[0]*c+r[0]*u+s[0]*l,e[1]=t[1]*i+n[1]*c+r[1]*u+s[1]*l,e[2]=t[2]*i+n[2]*c+r[2]*u+s[2]*l,e},inverse:C,len:G,length:a,lerp:k,max:p,min:d,mul:P,multiply:l,negate:q,normalize:x,random:function(e,t=1){const n=s.Ov,r=2*n()*Math.PI,a=2*n()-1,o=Math.sqrt(1-a*a)*t;return e[0]=Math.cos(r)*o,e[1]=Math.sin(r)*o,e[2]=a*t,e},rotateX:function(e,t,n,r){const s=[],a=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],a[0]=s[0],a[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),a[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),e[0]=a[0]+n[0],e[1]=a[1]+n[1],e[2]=a[2]+n[2],e},rotateY:function(e,t,n,r){const s=[],a=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],a[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),a[1]=s[1],a[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),e[0]=a[0]+n[0],e[1]=a[1]+n[1],e[2]=a[2]+n[2],e},rotateZ:function(e,t,n,r){const s=[],a=[];return s[0]=t[0]-n[0],s[1]=t[1]-n[1],s[2]=t[2]-n[2],a[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),a[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),a[2]=s[2],e[0]=a[0]+n[0],e[1]=a[1]+n[1],e[2]=a[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:g,scaleAndAdd:y,set:i,sign:m,sqrDist:L,sqrLen:$,squaredDistance:b,squaredLength:w,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:z,subtract:u,transformMat3:E,transformMat4:A,transformQuat:N,transformQuatValues:S},Symbol.toStringTag,{value:"Module"}))},69397(e,t,n){n.d(t,{Qf:()=>c,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>h,lM:()=>a,qK:()=>l});var r=n(34275);const s=16;function a(e){if(!e)return 0;let t=l;for(const n in e)e.hasOwnProperty(n)&&(t+=i(e[n],!1));return t}function o(e){if(!e)return 0;if("number"==typeof e[0])return c(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return u(e,8);let n=f;for(let r=0;r<t;r++)n+=i(e[r]);return n}(e);let t=l;for(const n in e)e.hasOwnProperty(n)&&(t+=i(e[n]));return t}function i(e,t=!0){switch(typeof e){case"object":return t?o(e):l;case"string":return function(e){return 32+e.length}(e);case"number":return s;case"boolean":return 4;default:return 8}}function c(...e){return e.reduce((e,t)=>e+(t?(0,r.iu)(t)?t.byteLength+h:Array.isArray(t)?u(t,s):0:0),0)}function u(e,t){return f+e.length*t}const l=32,f=16,h=145,m=64},4197(e,t,n){n.d(t,{Vj:()=>l,cj:()=>u,jh:()=>a,l5:()=>i,yH:()=>c});var r=n(34275),s=n(9093);function a(e){return e<=r.y9?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=r.y9?Array.from(e):new Float64Array(e)}function i(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function c(e,t){if(0===t.length)return o(e);if(0===e.length)return o(t);const n=a(e.length+t.length);for(let t=0;t<e.length;++t)n[t]=e[t];for(let r=0;r<t.length;++r)n[e.length+r]=t[r];return n}function u(e){return[...e]}function l(e){const t=(0,s.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},70328(e,t,n){n.d(t,{BI:()=>b,DC:()=>f,Ej:()=>m,Ie:()=>y,Jt:()=>M,Ne:()=>d,RF:()=>l,aI:()=>q,fA:()=>o,gE:()=>c,hZ:()=>g,iT:()=>h,is:()=>w,qv:()=>C,vI:()=>p,vY:()=>i,v_:()=>x,vt:()=>a,w1:()=>u}),n(35522);var r=n(5443),s=(n(19419),n(4197));function a(e=x){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t,n,r,s,o,i=a()){return i[0]=e,i[1]=t,i[2]=n,i[3]=r,i[4]=s,i[5]=o,i}function i(e,t=a()){return function(e,t,n,r=a()){return g(r,C),function(e,t,n=0,r=t.length/3){let s=e[0],a=e[1],o=e[2],i=e[3],c=e[4],u=e[5];for(let e=0;e<r;e++)s=Math.min(s,t[n+3*e]),a=Math.min(a,t[n+3*e+1]),o=Math.min(o,t[n+3*e+2]),i=Math.max(i,t[n+3*e]),c=Math.max(c,t[n+3*e+1]),u=Math.max(u,t[n+3*e+2]);e[0]=s,e[1]=a,e[2]=o,e[3]=i,e[4]=c,e[5]=u}(r,e,t,n),r}(e,0,e.length/3,t)}function c(e,t=(0,s.jh)(24)){const[n,r,a,o,i,c]=e;return t[0]=n,t[1]=r,t[2]=a,t[3]=n,t[4]=r,t[5]=c,t[6]=n,t[7]=i,t[8]=a,t[9]=n,t[10]=i,t[11]=c,t[12]=o,t[13]=r,t[14]=a,t[15]=o,t[16]=r,t[17]=c,t[18]=o,t[19]=i,t[20]=a,t[21]=o,t[22]=i,t[23]=c,t}function u(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function l(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[3]),e[4]=Math.max(e[4],t[4]),e[5]=Math.max(e[5],t[5])}function f(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function h(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.min(e[2],t[2]),e[3]=Math.max(e[3],t[0]),e[4]=Math.max(e[4],t[1]),e[5]=Math.max(e[5],t[2])}function m(e,t=[0,0,0]){return t[0]=function(e){return e[0]>=e[3]?0:e[3]-e[0]}(e),t[1]=function(e){return e[1]>=e[4]?0:e[4]-e[1]}(e),t[2]=function(e){return e[2]>=e[5]?0:e[5]-e[2]}(e),t}function d(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function p(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function g(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function y(e){return e?g(e,C):a(C)}function M(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function b(e,t,n,r,s){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=s,e[5]=Number.POSITIVE_INFINITY,e}function w(e){return 6===e.length}function q(e,t,n){if(null==e||null==t)return e===t;if(!w(e)||!w(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const C=[1/0,1/0,1/0,-1/0,-1/0,-1/0],x=[0,0,0,0,0,0];a()},92722(e,t,n){n.d(t,{A:()=>s});var r=n(69397);class s{constructor(e=[],t=[],n=!1,r=!1){this.lengths=e??[],this.coords=t??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:e,coords:t,hasZ:n,hasM:r}){return new s(e,t,n||!1,r||!1)}static fromRect([e,t,n,r]){const a=n-e,o=r-t;return new s([5],[e,t,a,0,0,o,-a,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((e,t)=>e+t,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let e=0,t=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*t],a=this.coords[r*t+1];for(let o=1;o<n;o+=1){const n=r*(t+o),i=this.coords[n],c=this.coords[n+1];e+=-.5*(i-s)*(c+a),s=i,a=c}t+=n}return e}forEachVertex(e){let t=0;if(this.isPoint)return e(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(t+s);e(this.coords[r],this.coords[r+1])}t+=r}}deltaDecode(){const e=this.clone(),{coords:t,lengths:n}=e;let r=0;const{stride:s}=this;for(const e of n){for(let n=1;n<e;n++){const e=s*(r+n);t[e]+=t[e-s],t[e+1]+=t[e+1-s]}r+=e}return e}clone(e){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const t=Array.from(this.lengths),{stride:n,size:r}=this,a=this.coords.slice(0,r*n);return e?(e.set(a),new s(t,e,this.hasZ,this.hasM)):new s(t,Array.from(a),this.hasZ,this.hasM)}justXY(){const{stride:e,size:t}=this;if(2===e)return this;const n=new Array(t*e);for(let t=0,r=0;t<n.length;t+=e)n[r++]=this.coords[t],n[r++]=this.coords[t+1];return new s(this.lengths,n,!1,!1)}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[609,1948,2990,5611,6061,7992],{61691(t,e,n){n.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{m_aGeoms;m_iGeom=-1;constructor(t){super(),this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},9093(t,e,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function s(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>s,vt:()=>r,zK:()=>i});const i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:i,clone:s,create:r,fromValues:function(t,e,n,r,s,i,o,a,u,h,c,f,l,m,g,x){return[t,e,n,r,s,i,o,a,u,h,c,f,l,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},51850(t,e,n){function r(){return[0,0,0]}function s(t){return[t[0],t[1],t[2]]}function i(t,e,n){return[t,e,n]}function o(t,e,n){return[t,e,n]}function a(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function u(){return[0,0,0]}function h(){return i(1,1,1)}function c(){return i(1,0,0)}function f(){return i(0,1,0)}function l(){return i(0,0,1)}n.d(e,{CN:()=>o,Cb:()=>p,Cw:()=>x,JP:()=>d,S:()=>h,Ul:()=>u,Un:()=>g,ci:()=>a,fA:()=>i,o8:()=>s,uY:()=>m,vt:()=>r});const m=[0,0,0],g=h(),x=c(),d=f(),p=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:g,UNIT_X:x,UNIT_Y:d,UNIT_Z:p,ZEROS:m,clone:s,create:r,freeze:o,fromArray:a,fromValues:i,ones:h,unitX:c,unitY:f,unitZ:l,zeros:u},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>I,Bw:()=>i,C:()=>o,Cc:()=>A,DI:()=>E,Il:()=>B,Io:()=>M,Ln:()=>p,Om:()=>_,Qr:()=>f,Re:()=>h,S8:()=>b,T9:()=>x,WQ:()=>u,Z0:()=>O,_S:()=>m,aI:()=>R,ei:()=>S,fw:()=>w,g7:()=>Z,gL:()=>P,hG:()=>y,hZ:()=>a,hs:()=>d,jb:()=>T,jk:()=>g,lo:()=>k,lw:()=>c,m3:()=>v,oW:()=>V,t2:()=>N,tn:()=>l,uE:()=>G,xg:()=>L,ze:()=>C});var r=n(51850),s=n(34304);function i(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function 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 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 f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function l(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function m(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function g(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 x(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 d(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function p(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return Math.sqrt(n*n+r*r+s*s)}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],s=e[2]-t[2];return n*n+r*r+s*s}function v(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function C(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function E(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function b(t,e){const n=e[0],r=e[1],s=e[2];let i=n*n+r*r+s*s;return i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i),t}function _(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function I(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2];return t[0]=s*u-i*a,t[1]=i*o-r*u,t[2]=r*a-s*o,t}function A(t,e,n,r){const s=e[0],i=e[1],o=e[2];return t[0]=s+r*(n[0]-s),t[1]=i+r*(n[1]-i),t[2]=o+r*(n[2]-o),t}function O(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*i+n[12],t[1]=n[1]*r+n[5]*s+n[9]*i+n[13],t[2]=n[2]*r+n[6]*s+n[10]*i+n[14],t}function S(t,e,n){const r=e[0],s=e[1],i=e[2];return t[0]=r*n[0]+s*n[3]+i*n[6],t[1]=r*n[1]+s*n[4]+i*n[7],t[2]=r*n[2]+s*n[5]+i*n[8],t}function P(t,e,n){return w(t,e,n[0],n[1],n[2],n[3])}function w(t,e,n,r,s,i){const o=e[0],a=e[1],u=e[2],h=r*u-s*a,c=s*o-n*u,f=n*a-r*o,l=r*f-s*c,m=s*h-n*f,g=n*c-r*h,x=2*i;return t[0]=o+h*x+2*l,t[1]=a+c*x+2*m,t[2]=u+f*x+2*g,t}function Z(t,e){b(F,t),b(Y,e);const n=_(F,Y);return n>1?0:n<-1?Math.PI:Math.acos(n)}const F=(0,r.vt)(),Y=(0,r.vt)();function N(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function R(t,e){if(t===e)return!0;const n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],u=e[2],h=(0,s.FD)();return Math.abs(n-o)<=h*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=h*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-u)<=h*Math.max(1,Math.abs(i),Math.abs(u))}function V(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],i=n[2]-e[2];let o=r*r+s*s+i*i;return o>0?(o=1/Math.sqrt(o),t[0]=r*o,t[1]=s*o,t[2]=i*o,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=h,z=c,X=f,L=M,k=y,B=i,G=v;Object.freeze(Object.defineProperty({__proto__:null,abs:l,add:u,angle:Z,bezier:function(t,e,n,r,s,i){const o=1-i,a=o*o,u=i*i,h=a*o,c=3*i*a,f=3*u*o,l=u*i;return t[0]=e[0]*h+n[0]*c+r[0]*f+s[0]*l,t[1]=e[1]*h+n[1]*c+r[1]*f+s[1]*l,t[2]=e[2]*h+n[2]*c+r[2]*f+s[2]*l,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:I,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],i=e[2],o=n[0],a=n[1],u=n[2],h=s*u-i*a,c=i*o-r*u,f=r*a-s*o,l=Math.sqrt(h*h+c*c+f*f);return t[0]=h/l,t[1]=c/l,t[2]=f/l,t},direction:V,dist:L,distance:M,div:X,divide:f,dot:_,equals:R,exactEquals:N,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,s,i){const o=i*i,a=o*(2*i-3)+1,u=o*(i-2)+i,h=o*(i-1),c=o*(3-2*i);return t[0]=e[0]*a+n[0]*u+r[0]*h+s[0]*c,t[1]=e[1]*a+n[1]*u+r[1]*h+s[1]*c,t[2]=e[2]*a+n[2]*u+r[2]*h+s[2]*c,t},inverse:E,len:B,length:i,lerp:A,max:x,min:g,mul:z,multiply:c,negate:C,normalize:b,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,i=2*n()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(r)*o,t[1]=Math.sin(r)*o,t[2]=i*e,t},rotateX:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0],i[1]=s[1]*Math.cos(r)-s[2]*Math.sin(r),i[2]=s[1]*Math.sin(r)+s[2]*Math.cos(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[2]*Math.sin(r)+s[0]*Math.cos(r),i[1]=s[1],i[2]=s[2]*Math.cos(r)-s[0]*Math.sin(r),t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],i=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[2]-n[2],i[0]=s[0]*Math.cos(r)-s[1]*Math.sin(r),i[1]=s[0]*Math.sin(r)+s[1]*Math.cos(r),i[2]=s[2],t[0]=i[0]+n[0],t[1]=i[1]+n[1],t[2]=i[2]+n[2],t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},scale:d,scaleAndAdd:p,set:a,sign:m,sqrDist:k,sqrLen:G,squaredDistance:y,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:h,transformMat3:S,transformMat4:O,transformQuat:P,transformQuatValues:w},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>o,RS:()=>s,Ul:()=>m,i5:()=>l,lM:()=>i,qK:()=>c});var r=n(34275);const s=16;function i(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n],!1));return e}function o(t){if(!t)return 0;if("number"==typeof t[0])return u(t);if(Array.isArray(t))return function(t){const e=t.length;if(0===e||"number"==typeof t[0])return h(t,8);let n=f;for(let r=0;r<e;r++)n+=a(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=a(t[n]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?o(t):c;case"string":return function(t){return 32+t.length}(t);case"number":return s;case"boolean":return 4;default:return 8}}function u(...t){return t.reduce((t,e)=>t+(e?(0,r.iu)(e)?e.byteLength+l:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return f+t.length*e}const c=32,f=16,l=145,m=64},87992(t,e,n){n.d(e,{JR:()=>I,ME:()=>E,MY:()=>A,NO:()=>C,Nh:()=>_,V2:()=>Z,_s:()=>F,e6:()=>N,gh:()=>b,tr:()=>V,uX:()=>d});var r=n(5482),s=n(69397),i=n(16930),o=(n(70328),n(19419)),a=n(60408),u=n(21325),h=n(513),c=n(50954),f=n(79567),l=n(52006),m=n(49663),g=n(46068),x=n(92722);class d{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:i,partCount:o,partOffsets:a,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:f,segmentCountArc:l,segmentCountBezier:m}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=n,this.vertexXY=r,this.vertexZ=s,this.vertexM=i,this.partCount=o,this.partOffsets=a,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=f,this.segmentCountArc=l,this.segmentCountBezier=m}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:n}=this;return t&&t-e-n}get segmentCount(){return"polyline"===this.type?this.vertexCount-this.partCount:"polygon"===this.type?this.vertexCount:0}get hasZ(){return null!=this.vertexZ}get hasM(){return null!=this.vertexM}hasCurves(){return this.segmentCountArc+this.segmentCountBezier>0}isMultipart(){return"polyline"===this.type||"polygon"===this.type}get usedMemory(){function t(t){return t?s.Ul+t.byteLength:0}return t(this.vertexXY)+t(this.vertexZ)+t(this.vertexM)+t(this.partOffsets)+t(this.partFlags)+t(this.segmentFlags)+t(this.segmentIndices)+t(this.segmentParams)}clone(){const{type:t,vertexCount:e,partCount:n,hasZ:r,hasM:s,segmentCountArc:i,segmentCountBezier:o}=this,a=Z(t,e,n,r,s,this.hasCurves(),i,o);a.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(a.vertexXY.set(u.subarray(0,2*e),0),a.vertexZ?.set(h.subarray(0,e),0),a.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;a.partFlags.set(e.subarray(0,n+1)),a.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;a.segmentFlags.set(t.subarray(0,e),0),a.segmentIndices.set(n.subarray(0,e),0),a.segmentParams.set(r.subarray(0,s),0)}return a}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const n=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,n)=>Math.abs(t-n)>e||isNaN(t)!==isNaN(n);for(let e=0;e<this.vertexCount;++e)if(n(this.vertexXY[2*e],t.vertexXY[2*e])||n(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(n(this.vertexM[e],t.vertexM[e]))return!1;for(let e=0;e<this.partCount;++e)if(this.partFlags[e]!==t.partFlags[e]||this.partOffsets[e]!==t.partOffsets[e])return!1;if(this.hasCurves()){for(let e=0;e<this.vertexCount;++e)if(this.segmentFlags[e]!==t.segmentFlags[e]||this.segmentIndices[e]!==t.segmentIndices[e])return!1;for(let e=0;e<this.segmentParamCount;++e)if(n(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new p(this):[][Symbol.iterator]()}}class p{constructor(t){this.geometry=t,this.value=new M(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class M{constructor(t){this.geometry=t,this.index=-1,this._readVertex=P(t),this._segments=new y(this)}get segments(){return this._segments.reset(),this._segments}get startVertex(){return this._readVertex(this.geometry.partOffsets[this.index])}get vertexCount(){const t=this.geometry.partOffsets;return t[this.index+1]-t[this.index]}}class y{constructor(t){this._part=t,this._partStart=0,this._partEnd=0,this._isPolygon="polygon"===t.geometry.type,this.value=new v(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class v{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=P(t)}get xStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex]}get yStart(){return this.geometry.vertexXY[2*this.indexOfStartVertex+1]}get zStart(){return this.geometry.vertexZ[this.indexOfStartVertex]}get mStart(){return this.geometry.vertexM[this.indexOfStartVertex]}get xEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex]}get yEnd(){return this.geometry.vertexXY[2*this.indexOfEndVertex+1]}get zEnd(){return this.geometry.vertexZ[this.indexOfEndVertex]}get mEnd(){return this.geometry.vertexM[this.indexOfEndVertex]}get start(){return this._readVertex(this.indexOfStartVertex)}get end(){return this._readVertex(this.indexOfEndVertex)}get curve(){const t=this.geometry.segmentFlags?.[this.indexOfStartVertex]??1;if(1===t)return this.end;const e=this.geometry.segmentParams;let n=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[n++],r=e[n++],s=e[n++],i=e[n++];return{b:[this.end,[t,r],[s,i]]}}const r=e[n++],s=e[n++],i=e[n++],o=e[n++],a=e[n++],u=e[n++];n++,n++;const h=e[n++],c=e[n++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[h,c]]};const f=2&r?0:1,l=1&r?0:1;return{a:[this.end,[a,u],f,l,o,s,i]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,o.Ie)(),(0,r.mS)(n,new O(t,["vertexZ","vertexM","spatialReference"]),!1),(0,o.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:i,vertexM:a}=t,u=S(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new O(t,["vertexZ","vertexM"]),!1);const s=(0,o.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,f.e)(s,t,n),t=(0,l.yP)(n)}const[i,a,h,c]=s;e={xmin:i,ymin:a,xmax:h,ymax:c,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,i,o;t=r=1/0,i=o=-1/0;for(let e=0;e<n;++e){const n=s[2*e],a=s[2*e+1];t=Math.min(t,n),i=Math.max(i,n),r=Math.min(r,a),o=Math.max(o,a)}e={xmin:t,ymin:r,xmax:i,ymax:o,spatialReference:u}}if(i){let t=1/0,n=-1/0;for(const e of i)t=Math.min(t,e),n=Math.max(n,e);e.zmin=t,e.zmax=n}if(a){let t=1/0,n=-1/0;for(const e of a)t=Math.min(t,e),n=Math.max(n,e);e.mmin=t,e.mmax=n}return e}(t)),e}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}function E(t){let e,n,r;if((0,a.fT)(t)){r="point";const{x:s,y:i,z:o,m:a}=t,u=[s,i];null!=o&&u.push(o),null!=a&&u.push(a),n=[[u]],e=1}else(0,a.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,a.Rg)(t)?(r="polyline",n=t.curvePaths??t.paths,e=n.reduce((t,e)=>t+e.length,0)):(r="polygon",n=t.curveRings??t.rings,e=n.reduce((t,e)=>(0===e.length||(t+=e.length,w(e[0],(0,l.yP)(e.at(-1)))&&--t),t),0));const s=Z(r,e,r.includes("point")?0:n.length,(0,a.Pv)(t),(0,a.W0)(t),(0,l.Ed)(t)),{hasZ:i,hasM:o,vertexXY:u,vertexZ:h,vertexM:c}=s;function f(t){u[2*g]=t[0],u[2*g+1]=t[1],i&&(h[g]=t[2]),o&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!i&&!o){for(const[t,e]of n[0])u[2*g]=t,u[2*g+1]=e,++g;return s}for(const t of n[0])f(t);return s}const x="polygon"===r,{partOffsets:d}=s;let p=0;if(!(0,l.Ed)(t)){for(const t of n){if(d[p++]=g,0===t.length)continue;let e=t.length;if(x&&w(t[0],t.at(-1))&&--e,i||o)for(let n=0;n<e;++n)f(t[n]);else for(let n=0;n<e;++n){const[e,r]=t[n];u[2*g]=e,u[2*g+1]=r,++g}}return d[p]=g,s}function M(t){const e=y+t;if(e<=(s.segmentParams?.length??0))return;let n=e*T;n=20*Math.ceil(n/20);const r=s.segmentParams;s.segmentParams=new Float64Array(n),null!=r&&s.segmentParams.set(r)}let y=0;for(const t of n){if(s.partOffsets[p++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];f(n);const i=g-1;(0,l.wY)(r)?(M(10),++s.segmentCountArc,y=F(n,r,s,i,y),n=r.a[0]):(0,l.DA)(r)?(M(10),++s.segmentCountArc,y=Y(n,r,s,i,y),n=r.a[0]):(0,l.aO)(r)?(M(10),++s.segmentCountArc,y=N(n,r,s,i,y),n=r.c[0]):(0,l.n1)(r)?(M(4),++s.segmentCountBezier,y=V(0,r,s,i,y),n=r.b[0]):n=r}x&&w(e,n)||f(n)}return s.partOffsets[p]=g,s}function b(t){const e=P(t),{vertexCount:n,partCount:r,hasZ:s,hasM:i}=t,o=S(t);if("point"===t.type){const[e,n]=t.vertexXY,r=t.vertexZ?.[0],s=t.vertexM?.[0];return{x:e,y:n,z:r,m:s,spatialReference:o}}let a=0;if("multipoint"===t.type){const t=[];for(;a<n;)t.push(e(a++));return{points:t,spatialReference:o,hasZ:s,hasM:i}}const u="polygon"===t.type;if(!t.hasCurves()){const n=new Array;for(let s=0;s<r;++s){const r=t.partOffsets[s+1],i=new Array;for(;a<r;)i.push(e(a++));u&&i.length>0&&i.push(i[0]),n.push(i)}return u?{rings:n,hasZ:s,hasM:i,spatialReference:o}:{paths:n,hasZ:s,hasM:i,spatialReference:o}}const h=new Array;for(const{segments:e,startVertex:n}of t.parts){const t=[n];for(const{curve:n}of e)t.push(n);h.push(t)}return u?{rings:[],curveRings:h,hasZ:s,hasM:i,spatialReference:o}:{paths:[],curvePaths:h,hasZ:s,hasM:i,spatialReference:o}}function _(t,{lengths:e,coords:n,hasZ:r,hasM:s},i){const o=t.includes("point")?0:e.length,a="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(a?o:0);r??=!1,s??=!1;const h=Z(t,u,o,r,s,!1,0,0);if(h.spatialReference=i??void 0,!h.isMultipart()){for(let t=0,e=0;t<u;++t)h.vertexXY[2*t]=n[e++],h.vertexXY[2*t+1]=n[e++],r&&(h.vertexZ[t]=n[e++]),s&&(h.vertexM[t]=n[e++]);return h}const c=2+Number(r)+Number(s);let f=0,l=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[l],i=e+t-Number(a);h.partOffsets[++l]=i;for(let t=e;t<i;++t)h.vertexXY[2*t]=n[f++],h.vertexXY[2*t+1]=n[f++],r&&(h.vertexZ[t]=n[f++]),s&&(h.vertexM[t]=n[f++]);a&&(f+=c)}return h}function I({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:i,partOffsets:o,hasZ:a,hasM:u}){const h=new x.A([],[],a,u);i=Math.max(i,1);const c="polygon"===t;let f=0;for(let t=0;t<i;++t){const i=o?.[t+1]??e,l=h.coords.length;for(let t=f;t<i;++t)h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t]);if(c){const t=f;h.coords.push(n[2*t],n[2*t+1]),a&&h.coords.push(r[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-l)/h.stride),f=i}return"point"===t&&(h.lengths.length=0),h}function A(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,n=t.isCustomWkid()?0:t.getOldID();if(n<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===n)&&(r=void 0);const s=t.getVCS();if(null==s)return{wkid:n,latestWkid:r,wkt:e};const i=s.isCustomWkid()?0:s.getOldID();if(i<=0)return{wkt:e};let o=t.getLatestVerticalID();return(o<=0||o===i)&&(o=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:o}}(t.getSpatialReference()),t=t.getGeometry()),new d({...t.toFlatGeometry(),spatialReference:e})}class O{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const n of e)t[n]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function S({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function P({vertexXY:t,vertexZ:e,vertexM:n}){return e?n?r=>[t[2*r],t[2*r+1],e[r],n[r]]:n=>[t[2*n],t[2*n+1],e[n]]:n?e=>[t[2*e],t[2*e+1],n[e]]:e=>[t[2*e],t[2*e+1]]}function w(t,e){return t.every((t,n)=>t===e[n])}function Z(t,e,n,r,s,i,o,a){o??=0,a??=0;const u=new d({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:n,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:o,segmentCountBezier:a});let h=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(h+=Float64Array.BYTES_PER_ELEMENT*e),s&&(h+=Float64Array.BYTES_PER_ELEMENT*e),u.isMultipart()&&(h+=(n+1)*Int32Array.BYTES_PER_ELEMENT,h+=(n+1)*Int8Array.BYTES_PER_ELEMENT),i&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let f=0;return u.vertexXY=new Float64Array(c,f,2*e),f+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(c,f,e),f+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,f,e),f+=u.vertexM.byteLength),i&&(u.segmentParams=new Float64Array(c,f,u.segmentParamCount),f+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,f,e),u.segmentIndices.fill(z),f+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,f,n+1),f+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,f,n+1),f+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),i&&(u.segmentFlags=new Int8Array(c,f,e),u.segmentFlags.fill(1),f+=u.segmentFlags.byteLength),u}function F(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const[a,[u,h],c,f,l,m,x]=e.a;let d=4;f||(d|=1),c||(d|=2);const p=(0,g.SW)(t,e),[M,y]=(0,g.Uk)(p,.5);return s[o++]=d,s[o++]=m,s[o++]=x,s[o++]=l,s[o++]=u,s[o++]=h,s[o++]=p.u2-p.u1,s[o++]=p.u1,s[o++]=M,s[o++]=y,o}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){n[i]=4,r[i]=o;const a=(0,m.io)(t,e);return R(a,4,...(0,h.mq)(a,.5),s,o)}function N(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},i,o){return n[i]=4,r[i]=o,R((0,c.pM)(t,e),0,...e.c[1],s,o)}function R(t,e,n,r,s,i){const{cx:o,cy:a,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[i++]=e,s[i++]=c,s[i++]=1,s[i++]=0,s[i++]=o,s[i++]=a,s[i++]=h-u,s[i++]=u,s[i++]=n,s[i++]=r,i}function V(t,{b:[e,[n,r],[s,i]]},{segmentFlags:o,segmentIndices:a,segmentParams:u},h,c){return o[h]=2,a[h]=c,u[c++]=n,u[c++]=r,u[c++]=s,u[c++]=i,c}const T=1.61803,z=-1},51508(t,e,n){n.r(e),n.d(e,{execute:()=>o});var r=n(15756),s=n(83299);const i=new r.x;function o(t,e){const n=(0,s.fromGeometry)(t);return i.execute(n.getGeometry(),(0,s.fromGeometryToGXGeometry)(e),n.getSpatialReference(),null)}},4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>h,jh:()=>i,l5:()=>a,yH:()=>u});var r=n(34275),s=n(9093);function i(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function o(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function a(t,e,n){return Array.isArray(t)?t.slice(e,e+n):t.subarray(e,e+n)}function u(t,e){if(0===e.length)return o(t);if(0===t.length)return o(e);const n=i(t.length+e.length);for(let e=0;e<t.length;++e)n[e]=t[e];for(let r=0;r<e.length;++r)n[t.length+r]=e[r];return n}function h(t){return[...t]}function c(t){const e=(0,s.vt)();for(let n=0;n<16;++n)e[n]=t[n];return e}},70328(t,e,n){n.d(e,{BI:()=>y,DC:()=>f,Ej:()=>m,Ie:()=>p,Jt:()=>M,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>o,gE:()=>u,hZ:()=>d,iT:()=>l,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>a,v_:()=>b,vt:()=>i,w1:()=>h}),n(35522);var r=n(5443),s=(n(19419),n(4197));function i(t=b){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function o(t,e,n,r,s,o,a=i()){return a[0]=t,a[1]=e,a[2]=n,a[3]=r,a[4]=s,a[5]=o,a}function a(t,e=i()){return function(t,e,n,r=i()){return d(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],i=t[1],o=t[2],a=t[3],u=t[4],h=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),i=Math.min(i,e[n+3*t+1]),o=Math.min(o,e[n+3*t+2]),a=Math.max(a,e[n+3*t]),u=Math.max(u,e[n+3*t+1]),h=Math.max(h,e[n+3*t+2]);t[0]=s,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=h}(r,t,e,n),r}(t,0,t.length/3,e)}function u(t,e=(0,s.jh)(24)){const[n,r,i,o,a,u]=t;return e[0]=n,e[1]=r,e[2]=i,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=a,e[8]=i,e[9]=n,e[10]=a,e[11]=u,e[12]=o,e[13]=r,e[14]=i,e[15]=o,e[16]=r,e[17]=u,e[18]=o,e[19]=a,e[20]=i,e[21]=o,e[22]=a,e[23]=u,e}function h(t,e){const n=isFinite(t[2])||isFinite(t[5]);return new r.A(n?{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],zmin:t[2],zmax:t[5],spatialReference:e}:{xmin:t[0],xmax:t[3],ymin:t[1],ymax:t[4],spatialReference:e})}function c(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[3]),t[4]=Math.max(t[4],e[4]),t[5]=Math.max(t[5],e[5])}function f(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.min(t[2],e[2]),t[3]=Math.max(t[3],e[0]),t[4]=Math.max(t[4],e[1]),t[5]=Math.max(t[5],e[2])}function m(t,e=[0,0,0]){return e[0]=function(t){return t[0]>=t[3]?0:t[3]-t[0]}(t),e[1]=function(t){return t[1]>=t[4]?0:t[4]-t[1]}(t),e[2]=function(t){return t[2]>=t[5]?0:t[5]-t[2]}(t),e}function g(t,e,n=t){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n!==t&&(n[3]=t[3],n[4]=t[4],n[5]=t[5]),n}function x(t,e,n=t){return n[3]=e[0],n[4]=e[1],n[5]=e[2],n!==t&&(n[0]=t[0],n[1]=t[1],n[2]=t[2]),t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function p(t){return t?d(t,E):i(E)}function M(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function y(t,e,n,r,s){return t[0]=e,t[1]=n,t[2]=Number.NEGATIVE_INFINITY,t[3]=r,t[4]=s,t[5]=Number.POSITIVE_INFINITY,t}function v(t){return 6===t.length}function C(t,e,n){if(null==t||null==e)return t===e;if(!v(t)||!v(e))return!1;if(n){for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1}else for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}const E=[1/0,1/0,1/0,-1/0,-1/0,-1/0],b=[0,0,0,0,0,0];i()},92722(t,e,n){n.d(e,{A:()=>s});var r=n(69397);class s{constructor(t=[],e=[],n=!1,r=!1){this.lengths=t??[],this.coords=e??[],this.hasZ=n,this.hasM=r}static fromJSON({lengths:t,coords:e,hasZ:n,hasM:r}){return new s(t,e,n||!1,r||!1)}static fromRect([t,e,n,r]){const i=n-t,o=r-e;return new s([5],[t,e,i,0,0,o,-i,0,0,-o])}get isPoint(){return 0===this.lengths.length&&this.coords.length>=2}get maxLength(){return Math.max(...this.lengths)}get size(){return this.isPoint?1:this.lengths.reduce((t,e)=>t+e,0)}get usedMemory(){return 64+(0,r.Qf)(this.lengths,this.coords)}get stride(){return 2+(this.hasZ?1:0)+(this.hasM?1:0)}area(){if(this.isPoint)return 0;let t=0,e=0;for(const n of this.lengths){if(n<3)continue;const{stride:r}=this;let s=this.coords[r*e],i=this.coords[r*e+1];for(let o=1;o<n;o+=1){const n=r*(e+o),a=this.coords[n],u=this.coords[n+1];t+=-.5*(a-s)*(u+i),s=a,i=u}e+=n}return t}forEachVertex(t){let e=0;if(this.isPoint)return t(this.coords[0],this.coords[1]);const{stride:n}=this;for(const r of this.lengths){for(let s=0;s<r;s++){const r=n*(e+s);t(this.coords[r],this.coords[r+1])}e+=r}}deltaDecode(){const t=this.clone(),{coords:e,lengths:n}=t;let r=0;const{stride:s}=this;for(const t of n){for(let n=1;n<t;n++){const t=s*(r+n);e[t]+=e[t-s],e[t+1]+=e[t+1-s]}r+=t}return t}clone(t){if(this.isPoint)return new s([],Array.from(this.coords.slice(0,this.stride)),this.hasZ,this.hasM);const e=Array.from(this.lengths),{stride:n,size:r}=this,i=this.coords.slice(0,r*n);return t?(t.set(i),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(i),this.hasZ,this.hasM)}justXY(){const{stride:t,size:e}=this;if(2===t)return this;const n=new Array(e*t);for(let e=0,r=0;e<n.length;e+=t)n[r++]=this.coords[e],n[r++]=this.coords[e+1];return new s(this.lengths,n,!1,!1)}}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2741],{2741(e,r,t){t.d(r,{s:()=>i});var s=t(92602),n=(t(11254),t(49186)),o=t(53966),a=t(84952);function i(e){if(!s.A.assetsPath)throw o.A.getLogger("esri.assets").errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new n.A("assets:path-not-set","config.assetsPath is not set");return(0,a.fj)(s.A.assetsPath,e)}},97159(e,r,t){t.d(r,{a:()=>y,b:()=>g,e:()=>h,f:()=>a,i:()=>p,p:()=>f,r:()=>l,t:()=>i,w:()=>u});var s=t(70333),n=t(84952),o=t(39131);function a(e,r){const t=r?.url?.path;if(e&&t&&(e=(0,n.s2)(e,t,{preserveProtocolRelative:!0}),r.portalItem&&r.readResourcePaths)){const t=(0,n.V1)(e,r.portalItem.itemUrl);null!=t&&t.startsWith(d)&&r.readResourcePaths.push(r.portalItem.resourceFromPath(t).path)}return(e=m(e,r?.portal))&&c.test(e)?y(e):e}function i(e,r,t=0){if(null==(e=e&&c.test(e)?w(e):e))return e;!(0,n.oP)(e)&&r?.blockedRelativeUrls&&r.blockedRelativeUrls.push(e);let s=(0,n.s2)(e);if(r){const t=r.verifyItemRelativeUrls?.rootPath||r.url?.path;if(t){const o=m(t,r.portal),a=m(s,r.portal);s=(0,n.V1)(a,o,o),null!=s&&s!==a&&s!==e&&r.verifyItemRelativeUrls&&r.verifyItemRelativeUrls.writtenUrls.push(s)}}return s=h(s,r?.portal),(0,n.oP)(s)&&(s=(0,n.S8)(s)),r?.resources&&r?.portalItem&&!(0,n.oP)(s)&&!(0,n.DB)(s)&&0===t&&r.resources.toKeep.push({resource:r.portalItem.resourceFromPath(s),compress:!1}),s}function l(e,r,t){return a(e,t)}function u(e,r,t,s){const n=i(e,s);void 0!==n&&(r[t]=n)}const c=/\/items\/([^/]+)\/resources\/(.*)/,d="./resources/";function p(e){const r=e?.match(c)??null;return r?.[1]??null}function f(e){const r=e?.match(c)??null;if(null==r)return null;const t=r[2],s=t.lastIndexOf("/");if(-1===s){const{path:e,extension:r}=(0,n.xw)(t);return{prefix:null,filename:e,extension:r}}const{path:o,extension:a}=(0,n.xw)(t.slice(s+1));return{prefix:t.slice(0,s),filename:o,extension:a}}function h(e,r){return r&&!r.isPortal&&r.urlKey&&r.customBaseUrl?(0,n.T1)(e,`${r.urlKey}.${r.customBaseUrl}`,r.portalHostname):e}function m(e,r){if(!r||r.isPortal||!r.urlKey||!r.customBaseUrl)return e;const t=`${r.urlKey}.${r.customBaseUrl}`,s=(0,n.Xq)();return(0,n.FX)(s,`${s.scheme}://${t}`)?(0,n.T1)(e,r.portalHostname,t):(0,n.T1)(e,t,r.portalHostname)}function y(e){if(!e)return e||null;let r=e;return r&&s.id&&!s.id.findCredential(r)&&(r=(0,o.qG)(r),r=r.replace(/^https?:\/\/www\.arcgis\.com/,"https://cdn.arcgis.com"),r=r.replace(/^https?:\/\/devext\.arcgis\.com/,"https://cdndev.arcgis.com"),r=r.replace(/^https?:\/\/qaext\.arcgis\.com/,"https://cdnqa.arcgis.com")),r}function w(e){if(!e)return e||null;let r=e;return r=r.replace(/^https?:\/\/cdn\.arcgis\.com/,"https://www.arcgis.com"),r=r.replace(/^https?:\/\/cdndev\.arcgis\.com/,"https://devext.arcgis.com"),r=r.replace(/^https?:\/\/cdnqa\.arcgis\.com/,"https://qaext.arcgis.com"),r&&s.id&&!s.id.findCredential(r)&&(r=(0,o.qG)(r)),r}const g=Object.freeze(Object.defineProperty({__proto__:null,ensureMainOnlineDomain:h,fromCDNUrl:w,fromJSON:a,itemIdFromResourceUrl:p,prefixAndFilenameFromResourceUrl:f,read:l,toCDNUrl:y,toJSON:i,write:u},Symbol.toStringTag,{value:"Module"}))},91869(e,r,t){function s(e,r){for(const t of e.values())if(r(t))return!0;return!1}function n(e,r){for(const t of e.values())if(!r(t))return!1;return!0}function o(e,r,t){const s=e.get(r);if(void 0!==s)return s;const n=t();return e.set(r,n),n}function a(e){const r=new Map;return t=>(r.has(t)||r.set(t,e(t)),r.get(t))}t.d(r,{Bj:()=>a,Bs:()=>s,mt:()=>n,tE:()=>o})},60694(e,r,t){t.d(r,{Fi:()=>d,HZ:()=>q,Jf:()=>v,LS:()=>b,Wo:()=>w,bd:()=>S,cr:()=>h,iz:()=>f,qg:()=>p,uV:()=>g,yG:()=>m});var s=t(84952),n=t(39131),o=t(97159);const a={mapserver:"MapServer",imageserver:"ImageServer",featureserver:"FeatureServer",knowledgegraphserver:"KnowledgeGraphServer",sceneserver:"SceneServer",streamserver:"StreamServer",vectortileserver:"VectorTileServer","3dtilesserver":"3DTilesServer",videoserver:"VideoServer"},i=Object.values(a),l=new RegExp(`^(?<path>(?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(?<serviceTitle>.+?)\\/(?<serverType>${i.join("|")})(?:\\/exts\\/(?<soeTitle>.+?)\\/(?<soeServerType>${i.join("|")}))?)(?:\\/(?:layers))?(?:\\/(?<sublayer>\\d+))?`,"i"),u=new RegExp(`^(?<path>(?:https?:)?\\/\\/\\S+?\\/(?<serviceTitle>[^/\\n]+)\\/(?<serverType>${i.join("|")}))(?:\\/(?:layers))?(?:\\/(?<sublayer>\\d+))?`,"i"),c=/(.*?)\/(?:layers\/)?(\d+)\/?$/i;function d(e){return l.test(e)}function p(e){if(null==e)return null;const r=(0,s.An)(e),t=r?.path.match(l)||r?.path.match(u);if(!t)return null;const{path:n,serviceTitle:o,serverType:i,soeTitle:c,soeServerType:d,sublayer:p}=t.groups??{},f=c||o,m=f.indexOf("/");return{title:h(-1!==m?f.slice(m+1):f),serverType:a[(d||i).toLowerCase()],sublayer:null!=p&&""!==p?parseInt(p,10):null,url:{path:n}}}function f(e){const r=(0,s.An)(e).path.match(c);return r?{serviceUrl:r[1],sublayerId:Number(r[2])}:null}function h(e){return(e=e.replaceAll(/\s*[/_]+\s*/g," "))[0].toUpperCase()+e.slice(1)}function m(e,r){const t=[];if(e){const r=p(e);null!=r&&r.title&&t.push(r.title)}if(r){const e=h(r);t.push(e)}if(2===t.length){if(t[0].toLowerCase().includes(t[1].toLowerCase()))return t[0];if(t[1].toLowerCase().includes(t[0].toLowerCase()))return t[1]}return t.join(" - ")}const y=["services","features","tiles","elevation3d","basemaps3d"];function w(e){let r=(0,s.$z)(e,!0);return!!r&&(r=r.toLowerCase(),!!r.endsWith(".arcgis.com")&&(!!y.some(e=>r.startsWith(e))||/^[a-z\d-]+\.svcs[a-z\d-]*\./.test(r)))}function g(e){return(0,n.$E)(e)&&function(e){const r=(0,s.$z)(e);return!!r&&r.toLowerCase().endsWith(".arcgis.com")}(e)}function v(e,r){return e?(0,s.UC)((0,s.zi)(e,r)):e}function q(e){let{url:r}=e;if(!r)return{url:r};r=(0,s.zi)(r,e.logger);const t=(0,s.An)(r),n=p(t.path);let o;if(null!=n)null!=n.sublayer&&null==e.layer.layerId&&(o=n.sublayer),r=n.url.path;else if(e.nonStandardUrlAllowed){const e=f(t.path);null!=e&&(r=e.serviceUrl,o=e.sublayerId)}return{url:(0,s.UC)(r),layerId:o}}function b(e,r,t,n,a){(0,o.w)(r,n,"url",a),n.url&&null!=e.layerId&&(n.url=(0,s.fj)(n.url,t,e.layerId.toString()))}function S(e){if(!e)return!1;const r=e.toLowerCase(),t=r.includes("/services/"),s=r.includes("/mapserver/wmsserver"),n=r.includes("/imageserver/wmsserver"),o=r.includes("/wmsserver");return t&&(s||n||o)}},11254(e,r,t){t.d(r,{A:()=>w});var s=t(92602),n=t(49186),o=t(44208),a=t(17676),i=t(84952),l=t(56152),u=t(65592),c=t(91869),d=t(60694);async function p(e){const r=function(e){let r,t=!1;return"string"==typeof e?(r=(0,i.$z)(e,!0),t=(0,d.Wo)(e)):(r=e.origin,t=(0,d.Wo)(e.toString())),null==r?null:new y(r,t)}(e.parameters.url);if(!r)return null;const{QueueProcessor:s,SharedConcurrency:n}=await t.e(563).then(t.bind(t,563));return(0,c.tE)(f,r.origin,()=>{const e=(r.isHosted?(0,o.A)("request-queue-concurrency-hosted"):(0,o.A)("request-queue-concurrency-non-hosted"))??4;return h??=new n((0,o.A)("request-queue-concurrency-global")??50),new s({concurrency:e,sharedConcurrency:h,process:e=>{if((0,a.G4)(e.parameters.requestOptions))throw(0,u.YB)("",(0,a.NK)("Request canceled"),e.parameters);return(0,u.zc)(e)}})})}const f=new Map;let h,m;class y{constructor(e,r){this.origin=e,this.isHosted=r}}async function w(e,r){e instanceof URL&&(e=e.toString());const s=(0,i.DB)(e),n=(0,i.w8)(e);n||s||(e=(0,i.S8)(e));const c={url:e,requestOptions:{...r}};r?.query&&(c.requestOptions.query=r?.query instanceof URLSearchParams?(0,i.zf)(r.query.toString().replaceAll("+"," ")):r?.query);const d=e=>({data:e,getAllHeaders:v,getHeader:v,httpStatus:200,requestOptions:c.requestOptions,url:c.url}),f=(0,i.sC)(e,g.internalInterceptors);if(f){const e=await q(f,c);if(null!=e)return d(e)}let h=(0,i.sC)(e);if(h){const e=await q(h,c);if(null!=e)return d(e);h.after||h.error||(h=null)}if(e=c.url,"image"===(r=c.requestOptions).responseType&&((0,o.A)("host-webworker")||(0,o.A)("host-node")))throw(0,u.YB)("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),c);if("head"===r.method){if(r.body)throw(0,u.YB)("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),c);if(s||n)throw(0,u.YB)("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),c)}if(await async function(){(0,o.A)("host-webworker")&&(!m&&globalThis.invokeStaticMessage?m=await t.e(369).then(t.bind(t,40369)):l.i.isForeignWorker=!0)}(),m)return m.execute(e,r);const y=new AbortController,w=(0,a.u7)(r,()=>y.abort()),b={controller:y,credential:void 0,credentialToken:void 0,fetchOptions:void 0,hasToken:!1,interceptor:h,parameters:c,redoRequest:!1,useIdentity:g.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},S=r.useQueue?async function(e){const r=await p(e);return r?r.push(e):(0,u.zc)(e)}(b):(0,u.zc)(b),T=await S.finally(()=>w?.remove());return h?.after?.(T),T}const g=s.A.request,v=()=>null;async function q(e,r){if(null!=e.responseData)return e.responseData;if(e.headers&&(r.requestOptions.headers={...r.requestOptions.headers,...e.headers}),e.query&&(r.requestOptions.query={...r.requestOptions.query,...e.query}),e.before){let t,s;try{s=await e.before(r)}catch(e){t=(0,u.YB)("request:interceptor",e,r)}if((s instanceof Error||s instanceof n.A)&&(t=(0,u.YB)("request:interceptor",s,r)),t)throw e.error&&e.error(t),t;return s}}},56152(e,r,t){t.d(r,{i:()=>s});const s={corsServers:["https://server.arcgisonline.com","https://services.arcgisonline.com"],beforeFetch:void 0,afterFetch:void 0,isForeignWorker:!1}},95117(e,r,t){t.d(r,{y:()=>n});var s=t(17676);function n(e,r,t=!1,n){return new Promise((o,a)=>{if((0,s.G4)(n))return void a((0,s.NK)());let i=()=>{c(),a(new Error(`Unable to load ${r}`))},l=async()=>{const r=e;try{await r.decode()}catch{}c(),o(r)},u=()=>{if(!e)return;const r=e;c(),r.src="",a((0,s.NK)())};const c=()=>{e&&(e.removeEventListener("error",i),e.removeEventListener("load",l),i=null,l=null,e=null,n?.removeEventListener("abort",u),u=null,t&&URL.revokeObjectURL(r))};n?.addEventListener("abort",u),e.addEventListener("error",i),e.addEventListener("load",l)})}},65592(e,r,t){t.d(r,{YB:()=>x,c8:()=>$,zc:()=>b});var s=t(92602),n=t(70333),o=t(49186),a=t(44208),i=t(4718),l=t(17676),u=t(84952),c=t(39131),d=t(56152),p=t(95117),f=t(60694);const h=new Map;function m(e,r){const t=r?.preferredHost;if(!t||(0,u.FX)(e,`https://${t}`,!0))return;const s=(0,f.qg)(e);if(!s||"FeatureServer"!==s.serverType||(0,c.$E)(e))return;const n=s.url.path.toLowerCase();h.has(n)||h.set(n,t)}function y(e){const r=(0,f.qg)(e)?.url.path.toLowerCase();if(!r)return e;const t=h.get(r);return t?(0,u.hf)(e,t):e}const w="FormData"in globalThis,g=new Set([499,498,403,401]),v=new Set(["COM_0056","COM_0057","SB_0008"]),q=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i];async function b(e){let r,o;await async function(e){const r=e.parameters.url,o=e.parameters.requestOptions,a=e.controller.signal,i=o.body;let u=null,c=null;if(w&&"HTMLFormElement"in globalThis&&(i instanceof FormData?u=i:i instanceof HTMLFormElement&&(u=new FormData(i))),"string"==typeof i&&(c=i),e.fetchOptions={cache:o.cacheMode??(o.cacheBust?"no-cache":"default"),credentials:"same-origin",headers:o.headers||{},keepalive:o.keepAlive??!1,method:"head"===o.method?"HEAD":"GET",mode:"cors",priority:o.priority??s.A.request.priority,redirect:"follow",signal:a},(u||c)&&(e.fetchOptions.body=u||c),(d.i.isForeignWorker||"anonymous"===o.authMode)&&(e.useIdentity=!1),e.hasToken=!!(/token=/i.test(r)||o.query?.token||u?.get("token")),!e.hasToken){const{getApiKey:s,getSessionToken:n}=await t.e(926).then(t.bind(t,926)),a=await n(r)??s(r);a&&(o.query??={},o.query.token=a,e.hasToken=!0)}if(e.useIdentity&&!e.hasToken&&!e.credential&&!e.credentialToken&&!O(r)&&!(0,l.G4)(a)){let t;"immediate"===o.authMode?(await A(),t=await n.id.getCredential(r,{signal:a})):"no-prompt"===o.authMode?(await A(),t=await n.id.getCredential(r,{prompt:!1,signal:a}).catch(()=>{})):n.id&&(t=n.id.findCredential(r)),t&&(e.credential=t,e.credentialToken=t.token,e.useSSL=!!t.ssl)}}(e);try{do{[r,o]=await S(e)}while(!await L(e,r,o))}catch(t){const s=x("request:server",t,e.parameters,r);throw s.details.ssl=e.useSSL,e.interceptor?.error?.(s),s}const a=e.parameters.url;if(o)if(/\/sharing\/rest\/(accounts|portals)\/self/i.test(a)){if(!e.hasToken&&!e.credentialToken&&o.user?.username&&!(0,u.FL)(a)){const e=(0,u.$z)(a,!0);e&&s.A.request.trustedServers.push(e)}Array.isArray(o.authorizedCrossOriginNoCorsDomains)&&function(e){s.A.request.crossOriginNoCorsDomains||(s.A.request.crossOriginNoCorsDomains={});const r=s.A.request.crossOriginNoCorsDomains;for(let t of e)t=t.toLowerCase(),/^https?:\/\//.test(t)?r[(0,u.$z)(t)??""]=0:(r[(0,u.$z)("http://"+t)??""]=0,r[(0,u.$z)("https://"+t)??""]=0)}(o.authorizedCrossOriginNoCorsDomains)}else"json"===(e.parameters.requestOptions.responseType||"json")&&m(a,o);const i=e.credential;if(i&&n.id){const e=n.id.findServerInfo(i.server);let r=e?.owningSystemUrl;if(r){r=r.replace(/\/?$/,"/sharing");const e=n.id.findCredential(r,i.userId);e&&-1===n.id._getIdenticalSvcIdx(r,e)&&e.resources.unshift(r)}}return{data:o,getAllHeaders:r?()=>Array.from(r.headers):E,getHeader:r?e=>r.headers.get(e):E,httpStatus:r?.status??200,requestOptions:e.parameters.requestOptions,ssl:e.useSSL,url:e.parameters.url}}async function S(e){let r=e.parameters.url,t=y(r);const o=e.parameters.requestOptions,i=e.fetchOptions??{},p=(0,u.w8)(r)||(0,u.DB)(r),f=o.responseType??"json",h=p?0:null!=o.timeout?o.timeout:s.A.request.timeout;let m=!1;if(!p){e.useSSL&&(r=(0,u.lM)(r));let l={...o.query};e.credentialToken&&(l.token=e.credentialToken);let d=(0,u.x0)(l);(0,a.A)("esri-url-encodes-apostrophe")&&(d=d.replaceAll("'","%27"));const p=t.length+1+d.length;let f;m="delete"===o.method||"post"===o.method||"put"===o.method||!!o.body||p>s.A.request.maxUrlLength;const h=o.useProxy||!!(0,u.zs)(r);if(h){const e=(0,u.s_)(r);f=e.path,!m&&f.length+1+p>s.A.request.maxUrlLength&&(m=!0),e.query&&(l={...e.query,...l})}if("HEAD"===i.method&&(m||h)){if(m){if(p>s.A.request.maxUrlLength)throw x("request:invalid-parameters",new Error("URL exceeds maximum length"),e.parameters);throw x("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),e.parameters)}if(h)throw x("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),e.parameters)}if(m?(i.method="delete"===o.method?"DELETE":"put"===o.method?"PUT":"POST",o.body?r=(0,u.a6)(r,l):(i.body=(0,u.x0)(l),i.headers||(i.headers={}),i.headers["Content-Type"]="application/x-www-form-urlencoded")):r=(0,u.a6)(r,l),h&&(e.useProxy=!0,r=`${f}?${r}`),l.token&&w&&i.body instanceof FormData&&!(0,c.$E)(r)&&i.body.set("token",l.token),o.hasOwnProperty("withCredentials"))e.withCredentials=o.withCredentials;else if(!(0,u.FX)(r,(0,u.Xq)()))if((0,u.FL)(r))e.withCredentials=!0;else if(n.id){const t=n.id.findServerInfo(r);t?.webTierAuth&&(e.withCredentials=!0)}e.withCredentials&&(i.credentials="include",function(e){const r=s.A.request.crossOriginNoCorsDomains;if(r){let t=(0,u.$z)(e);if(t)return t=t.toLowerCase(),!(0,u.FX)(t,(0,u.Xq)())&&r[t]<Date.now()-36e5}return!1}(r)&&await async function(e){const r=(0,u.An)(e);e=r.path,"json"===r.query?.f&&(e+="?f=json");try{await fetch(e,{mode:"no-cors",credentials:"include"})}catch{}const t=s.A.request.crossOriginNoCorsDomains,n=(0,u.$z)(e);t&&n&&(t[n.toLowerCase()]=Date.now())}(m?(0,u.a6)(r,l):r)),t=y(r)}let g,v,q=0,b=!1;h>0&&(q=setTimeout(()=>{b=!0,e.controller.abort()},h));try{if("native-request-init"===o.responseType)v=i,v.url=t,o.signal?v.signal=o.signal:delete v.signal;else if("image"!==o.responseType||"default"!==i.cache||i.keepalive||"GET"!==i.method||m||function(e){if(e)for(const r of Object.getOwnPropertyNames(e))if(e[r])return!0;return!1}(o.headers)||!p&&!e.useProxy&&s.A.request.proxyUrl&&!C(r)){if(await(d.i.beforeFetch?.(r,i)),g=await fetch(t,i),await(d.i.afterFetch?.(g)),e.useProxy||function(e){const r=(0,u.$z)(e);r&&!d.i.corsServers.includes(r)&&d.i.corsServers.push(r)}(r),"native"===o.responseType)v=g;else if("HEAD"!==i.method)if(g.ok){switch(f){case"array-buffer":v=await g.arrayBuffer();break;case"blob":case"image":v=await g.blob();break;default:v=await g.text()}if(q&&(clearTimeout(q),q=0),"json"===f||"xml"===f||"document"===f)if(v)switch(f){case"json":v=JSON.parse(v);break;case"xml":v=k(v,"application/xml");break;case"document":v=k(v,"text/html")}else v=null;if(v){if(("array-buffer"===f||"blob"===f)&&v["blob"===f?"size":"byteLength"]<=750)try{const e=await new Response(v).json();e.error&&(v=e)}catch{}"image"===f&&v instanceof Blob&&(v=await T(URL.createObjectURL(v),e,!0))}}else{v=await g.text();try{v=JSON.parse(v)}catch{}}}else v=await T(t,e)}catch(t){if("AbortError"===t.name){if(b)throw new Error(P);throw(0,l.NK)("Request canceled")}if(!(!g&&t instanceof TypeError&&s.A.request.proxyUrl)||o.body||"delete"===o.method||"head"===o.method||"post"===o.method||"put"===o.method||e.useProxy||C(r))throw t;e.redoRequest=!0,(0,u.oy)({proxyUrl:s.A.request.proxyUrl,urlPrefix:(0,u.$z)(r)??""})}finally{q&&clearTimeout(q)}return[g,v]}function T(e,r,t=!1){const n=r.controller.signal,o=new Image;return r.withCredentials?o.crossOrigin="use-credentials":o.crossOrigin="anonymous",o.alt="",o.fetchPriority=s.A.request.priority,o.src=e,(0,p.y)(o,e,t,n)}function C(e){const r=(0,u.$z)(e);return!r||r.endsWith(".arcgis.com")||d.i.corsServers.includes(r)||(0,u.FL)(r)}async function A(){n.id||await Promise.all([t.e(7632),t.e(6408),t.e(5438),t.e(9466),t.e(5482),t.e(148),t.e(8050)]).then(t.bind(t,50148))}function O(e){return q.some(r=>r.test(e))}function k(e,r){let t;try{t=(new DOMParser).parseFromString(e,r)}catch{}if(!t||t.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return t}async function L(e,r,t){if(e.redoRequest)return e.redoRequest=!1,!1;const s=e.parameters.requestOptions;if(!r||"native"===s.responseType||"native-request-init"===s.responseType)return!0;let o,a;if(t&&(t.error&&"object"==typeof t.error?o=t.error:"error"===t.status&&Array.isArray(t.messages)&&(o={...t},o[U]=t,o.details=t.messages)),!o&&!r.ok)throw o=new Error(`Unable to load ${r.url} status: ${r.status}`),o[U]=t,o;let i,l=null;o&&(a=Number(o.code),l=o.hasOwnProperty("subcode")?Number(o.subcode):null,i=o.messageCode,i=i?.toUpperCase());const u=s.authMode;if(403===a&&(4===l||o.message?.toLowerCase().includes("ssl")&&!o.message.toLowerCase().includes("permission"))){if(!e.useSSL)return e.useSSL=!0,!1}else if(!e.hasToken&&e.useIdentity&&("no-prompt"!==u||498===a)&&void 0!==a&&g.has(a)&&!O(e.parameters.url)&&(403!==a||(!i||!v.has(i))&&(null==l||2===l&&e.credentialToken))){await A();try{const r=await n.id.getCredential(e.parameters.url,{error:x("request:server",o,e.parameters),credential:e.credential,prompt:"no-prompt"!==u,signal:e.controller.signal,token:e.credentialToken});return e.credential=r,e.credentialToken=r.token,e.useSSL=e.useSSL||r.ssl,!1}catch(r){if("no-prompt"===u)return e.credential=void 0,e.credentialToken=void 0,!1;o=r}}if(o)throw o;return!0}function x(e,r,t,s){let n;const a={url:t.url,requestOptions:t.requestOptions,getAllHeaders:E,getHeader:E,ssl:!1};if(r instanceof o.A)return r.details?(r.details=(0,i.o8)(r.details),r.details.url=t.url,r.details.requestOptions=t.requestOptions):r.details=a,r;if(r){const e=s&&(()=>Array.from(s.headers)),t=s&&(e=>s.headers.get(e)),o=s?.status,i=r.message;i&&(n=i),e&&t&&(a.getAllHeaders=e,a.getHeader=t),a.httpStatus=(null!=r.httpCode?r.httpCode:r.code)||o||0,a.subCode=r.subcode,a.messageCode=r.messageCode,"string"==typeof r.details?(a.messages=[r.details],n??=r.details):(a.messages=r.details,n??=a.messages?.[0]),a.raw=U in r?r[U]:r}return n??="Error",(0,l.zf)(r)?(0,l.NK)():new o.A(e,n,a)}const U=Symbol(),E=()=>null,P="Timeout exceeded";function $(e){return"object"==typeof e&&!!e&&"message"in e&&e.message===P}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2741],{2741(e,r,t){t.d(r,{s:()=>i});var s=t(92602),n=(t(11254),t(49186)),o=t(53966),a=t(84952);function i(e){if(!s.A.assetsPath)throw o.A.getLogger("esri.assets").errorOnce("The API assets location needs to be set using config.assetsPath. More information: https://arcg.is/1OzLe50"),new n.A("assets:path-not-set","config.assetsPath is not set");return(0,a.fj)(s.A.assetsPath,e)}},97159(e,r,t){t.d(r,{a:()=>y,b:()=>g,e:()=>h,f:()=>a,i:()=>p,p:()=>f,r:()=>l,t:()=>i,w:()=>u});var s=t(70333),n=t(84952),o=t(39131);function a(e,r){const t=r?.url?.path;if(e&&t&&(e=(0,n.s2)(e,t,{preserveProtocolRelative:!0}),r.portalItem&&r.readResourcePaths)){const t=(0,n.V1)(e,r.portalItem.itemUrl);null!=t&&t.startsWith(d)&&r.readResourcePaths.push(r.portalItem.resourceFromPath(t).path)}return(e=m(e,r?.portal))&&c.test(e)?y(e):e}function i(e,r,t=0){if(null==(e=e&&c.test(e)?w(e):e))return e;!(0,n.oP)(e)&&r?.blockedRelativeUrls&&r.blockedRelativeUrls.push(e);let s=(0,n.s2)(e);if(r){const t=r.verifyItemRelativeUrls?.rootPath||r.url?.path;if(t){const o=m(t,r.portal),a=m(s,r.portal);s=(0,n.V1)(a,o,o),null!=s&&s!==a&&s!==e&&r.verifyItemRelativeUrls&&r.verifyItemRelativeUrls.writtenUrls.push(s)}}return s=h(s,r?.portal),(0,n.oP)(s)&&(s=(0,n.S8)(s)),r?.resources&&r?.portalItem&&!(0,n.oP)(s)&&!(0,n.DB)(s)&&0===t&&r.resources.toKeep.push({resource:r.portalItem.resourceFromPath(s),compress:!1}),s}function l(e,r,t){return a(e,t)}function u(e,r,t,s){const n=i(e,s);void 0!==n&&(r[t]=n)}const c=/\/items\/([^/]+)\/resources\/(.*)/,d="./resources/";function p(e){const r=e?.match(c)??null;return r?.[1]??null}function f(e){const r=e?.match(c)??null;if(null==r)return null;const t=r[2],s=t.lastIndexOf("/");if(-1===s){const{path:e,extension:r}=(0,n.xw)(t);return{prefix:null,filename:e,extension:r}}const{path:o,extension:a}=(0,n.xw)(t.slice(s+1));return{prefix:t.slice(0,s),filename:o,extension:a}}function h(e,r){return r&&!r.isPortal&&r.urlKey&&r.customBaseUrl?(0,n.T1)(e,`${r.urlKey}.${r.customBaseUrl}`,r.portalHostname):e}function m(e,r){if(!r||r.isPortal||!r.urlKey||!r.customBaseUrl)return e;const t=`${r.urlKey}.${r.customBaseUrl}`,s=(0,n.Xq)();return(0,n.FX)(s,`${s.scheme}://${t}`)?(0,n.T1)(e,r.portalHostname,t):(0,n.T1)(e,t,r.portalHostname)}function y(e){if(!e)return e||null;let r=e;return r&&s.id&&!s.id.findCredential(r)&&(r=(0,o.qG)(r),r=r.replace(/^https?:\/\/www\.arcgis\.com/,"https://cdn.arcgis.com"),r=r.replace(/^https?:\/\/devext\.arcgis\.com/,"https://cdndev.arcgis.com"),r=r.replace(/^https?:\/\/qaext\.arcgis\.com/,"https://cdnqa.arcgis.com")),r}function w(e){if(!e)return e||null;let r=e;return r=r.replace(/^https?:\/\/cdn\.arcgis\.com/,"https://www.arcgis.com"),r=r.replace(/^https?:\/\/cdndev\.arcgis\.com/,"https://devext.arcgis.com"),r=r.replace(/^https?:\/\/cdnqa\.arcgis\.com/,"https://qaext.arcgis.com"),r&&s.id&&!s.id.findCredential(r)&&(r=(0,o.qG)(r)),r}const g=Object.freeze(Object.defineProperty({__proto__:null,ensureMainOnlineDomain:h,fromCDNUrl:w,fromJSON:a,itemIdFromResourceUrl:p,prefixAndFilenameFromResourceUrl:f,read:l,toCDNUrl:y,toJSON:i,write:u},Symbol.toStringTag,{value:"Module"}))},91869(e,r,t){function s(e,r){for(const t of e.values())if(r(t))return!0;return!1}function n(e,r){for(const t of e.values())if(!r(t))return!1;return!0}function o(e,r,t){const s=e.get(r);if(void 0!==s)return s;const n=t();return e.set(r,n),n}function a(e){const r=new Map;return t=>(r.has(t)||r.set(t,e(t)),r.get(t))}t.d(r,{Bj:()=>a,Bs:()=>s,mt:()=>n,tE:()=>o})},60694(e,r,t){t.d(r,{Fi:()=>d,HZ:()=>q,Jf:()=>v,LS:()=>b,Wo:()=>w,bd:()=>S,cr:()=>h,iz:()=>f,qg:()=>p,uV:()=>g,yG:()=>m});var s=t(84952),n=t(39131),o=t(97159);const a={mapserver:"MapServer",imageserver:"ImageServer",featureserver:"FeatureServer",knowledgegraphserver:"KnowledgeGraphServer",sceneserver:"SceneServer",streamserver:"StreamServer",vectortileserver:"VectorTileServer","3dtilesserver":"3DTilesServer",videoserver:"VideoServer"},i=Object.values(a),l=new RegExp(`^(?<path>(?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(?<serviceTitle>.+?)\\/(?<serverType>${i.join("|")})(?:\\/exts\\/(?<soeTitle>.+?)\\/(?<soeServerType>${i.join("|")}))?)(?:\\/(?:layers))?(?:\\/(?<sublayer>\\d+))?`,"i"),u=new RegExp(`^(?<path>(?:https?:)?\\/\\/\\S+?\\/(?<serviceTitle>[^/\\n]+)\\/(?<serverType>${i.join("|")}))(?:\\/(?:layers))?(?:\\/(?<sublayer>\\d+))?`,"i"),c=/(.*?)\/(?:layers\/)?(\d+)\/?$/i;function d(e){return l.test(e)}function p(e){if(null==e)return null;const r=(0,s.An)(e),t=r?.path.match(l)||r?.path.match(u);if(!t)return null;const{path:n,serviceTitle:o,serverType:i,soeTitle:c,soeServerType:d,sublayer:p}=t.groups??{},f=c||o,m=f.indexOf("/");return{title:h(-1!==m?f.slice(m+1):f),serverType:a[(d||i).toLowerCase()],sublayer:null!=p&&""!==p?parseInt(p,10):null,url:{path:n}}}function f(e){const r=(0,s.An)(e).path.match(c);return r?{serviceUrl:r[1],sublayerId:Number(r[2])}:null}function h(e){return(e=e.replaceAll(/\s*[/_]+\s*/g," "))[0].toUpperCase()+e.slice(1)}function m(e,r){const t=[];if(e){const r=p(e);null!=r&&r.title&&t.push(r.title)}if(r){const e=h(r);t.push(e)}if(2===t.length){if(t[0].toLowerCase().includes(t[1].toLowerCase()))return t[0];if(t[1].toLowerCase().includes(t[0].toLowerCase()))return t[1]}return t.join(" - ")}const y=["services","features","tiles","elevation3d","basemaps3d"];function w(e){let r=(0,s.$z)(e,!0);return!!r&&(r=r.toLowerCase(),!!r.endsWith(".arcgis.com")&&(!!y.some(e=>r.startsWith(e))||/^[a-z\d-]+\.svcs[a-z\d-]*\./.test(r)))}function g(e){return(0,n.$E)(e)&&function(e){const r=(0,s.$z)(e);return!!r&&r.toLowerCase().endsWith(".arcgis.com")}(e)}function v(e,r){return e?(0,s.UC)((0,s.zi)(e,r)):e}function q(e){let{url:r}=e;if(!r)return{url:r};r=(0,s.zi)(r,e.logger);const t=(0,s.An)(r),n=p(t.path);let o;if(null!=n)null!=n.sublayer&&null==e.layer.layerId&&(o=n.sublayer),r=n.url.path;else if(e.nonStandardUrlAllowed){const e=f(t.path);null!=e&&(r=e.serviceUrl,o=e.sublayerId)}return{url:(0,s.UC)(r),layerId:o}}function b(e,r,t,n,a){(0,o.w)(r,n,"url",a),n.url&&null!=e.layerId&&(n.url=(0,s.fj)(n.url,t,e.layerId.toString()))}function S(e){if(!e)return!1;const r=e.toLowerCase(),t=r.includes("/services/"),s=r.includes("/mapserver/wmsserver"),n=r.includes("/imageserver/wmsserver"),o=r.includes("/wmsserver");return t&&(s||n||o)}},11254(e,r,t){t.d(r,{A:()=>w});var s=t(92602),n=t(49186),o=t(44208),a=t(17676),i=t(84952),l=t(56152),u=t(65592),c=t(91869),d=t(60694);async function p(e){const r=function(e){let r,t=!1;return"string"==typeof e?(r=(0,i.$z)(e,!0),t=(0,d.Wo)(e)):(r=e.origin,t=(0,d.Wo)(e.toString())),null==r?null:new y(r,t)}(e.parameters.url);if(!r)return null;const{QueueProcessor:s,SharedConcurrency:n}=await t.e(563).then(t.bind(t,563));return(0,c.tE)(f,r.origin,()=>{const e=(r.isHosted?(0,o.A)("request-queue-concurrency-hosted"):(0,o.A)("request-queue-concurrency-non-hosted"))??4;return h??=new n((0,o.A)("request-queue-concurrency-global")??50),new s({concurrency:e,sharedConcurrency:h,process:e=>{if((0,a.G4)(e.parameters.requestOptions))throw(0,u.YB)("",(0,a.NK)("Request canceled"),e.parameters);return(0,u.zc)(e)}})})}const f=new Map;let h,m;class y{constructor(e,r){this.origin=e,this.isHosted=r}}async function w(e,r){e instanceof URL&&(e=e.toString());const s=(0,i.DB)(e),n=(0,i.w8)(e);n||s||(e=(0,i.S8)(e));const c={url:e,requestOptions:{...r}};r?.query&&(c.requestOptions.query=r?.query instanceof URLSearchParams?(0,i.zf)(r.query.toString().replaceAll("+"," ")):r?.query);const d=e=>({data:e,getAllHeaders:v,getHeader:v,httpStatus:200,requestOptions:c.requestOptions,url:c.url}),f=(0,i.sC)(e,g.internalInterceptors);if(f){const e=await q(f,c);if(null!=e)return d(e)}let h=(0,i.sC)(e);if(h){const e=await q(h,c);if(null!=e)return d(e);h.after||h.error||(h=null)}if(e=c.url,"image"===(r=c.requestOptions).responseType&&((0,o.A)("host-webworker")||(0,o.A)("host-node")))throw(0,u.YB)("request:invalid-parameters",new Error("responseType 'image' is not supported in Web Workers or Node environment"),c);if("head"===r.method){if(r.body)throw(0,u.YB)("request:invalid-parameters",new Error("body parameter cannot be set when method is 'head'"),c);if(s||n)throw(0,u.YB)("request:invalid-parameters",new Error("data and blob URLs are not supported for method 'head'"),c)}if(await async function(){(0,o.A)("host-webworker")&&(!m&&globalThis.invokeStaticMessage?m=await t.e(369).then(t.bind(t,40369)):l.i.isForeignWorker=!0)}(),m)return m.execute(e,r);const y=new AbortController,w=(0,a.u7)(r,()=>y.abort()),b={controller:y,credential:void 0,credentialToken:void 0,fetchOptions:void 0,hasToken:!1,interceptor:h,parameters:c,redoRequest:!1,useIdentity:g.useIdentity,useProxy:!1,useSSL:!1,withCredentials:!1},S=r.useQueue?async function(e){const r=await p(e);return r?r.push(e):(0,u.zc)(e)}(b):(0,u.zc)(b),T=await S.finally(()=>w?.remove());return h?.after?.(T),T}const g=s.A.request,v=()=>null;async function q(e,r){if(null!=e.responseData)return e.responseData;if(e.headers&&(r.requestOptions.headers={...r.requestOptions.headers,...e.headers}),e.query&&(r.requestOptions.query={...r.requestOptions.query,...e.query}),e.before){let t,s;try{s=await e.before(r)}catch(e){t=(0,u.YB)("request:interceptor",e,r)}if((s instanceof Error||s instanceof n.A)&&(t=(0,u.YB)("request:interceptor",s,r)),t)throw e.error&&e.error(t),t;return s}}},56152(e,r,t){t.d(r,{i:()=>s});const s={corsServers:["https://server.arcgisonline.com","https://services.arcgisonline.com"],beforeFetch:void 0,afterFetch:void 0,isForeignWorker:!1}},95117(e,r,t){t.d(r,{y:()=>n});var s=t(17676);function n(e,r,t=!1,n){return new Promise((o,a)=>{if((0,s.G4)(n))return void a((0,s.NK)());let i=()=>{c(),a(new Error(`Unable to load ${r}`))},l=async()=>{const r=e;try{await r.decode()}catch{}c(),o(r)},u=()=>{if(!e)return;const r=e;c(),r.src="",a((0,s.NK)())};const c=()=>{e&&(e.removeEventListener("error",i),e.removeEventListener("load",l),i=null,l=null,e=null,n?.removeEventListener("abort",u),u=null,t&&URL.revokeObjectURL(r))};n?.addEventListener("abort",u),e.addEventListener("error",i),e.addEventListener("load",l)})}},65592(e,r,t){t.d(r,{YB:()=>x,c8:()=>$,zc:()=>b});var s=t(92602),n=t(70333),o=t(49186),a=t(44208),i=t(4718),l=t(17676),u=t(84952),c=t(39131),d=t(56152),p=t(95117),f=t(60694);const h=new Map;function m(e,r){const t=r?.preferredHost;if(!t||(0,u.FX)(e,`https://${t}`,!0))return;const s=(0,f.qg)(e);if(!s||"FeatureServer"!==s.serverType||(0,c.$E)(e))return;const n=s.url.path.toLowerCase();h.has(n)||h.set(n,t)}function y(e){const r=(0,f.qg)(e)?.url.path.toLowerCase();if(!r)return e;const t=h.get(r);return t?(0,u.hf)(e,t):e}const w="FormData"in globalThis,g=new Set([499,498,403,401]),v=new Set(["COM_0056","COM_0057","SB_0008"]),q=[/\/arcgis\/tokens/i,/\/sharing(\/rest)?\/generatetoken/i,/\/rest\/info/i];async function b(e){let r,o;await async function(e){const r=e.parameters.url,o=e.parameters.requestOptions,a=e.controller.signal,i=o.body;let u=null,c=null;if(w&&"HTMLFormElement"in globalThis&&(i instanceof FormData?u=i:i instanceof HTMLFormElement&&(u=new FormData(i))),"string"==typeof i&&(c=i),e.fetchOptions={cache:o.cacheMode??(o.cacheBust?"no-cache":"default"),credentials:"same-origin",headers:o.headers||{},keepalive:o.keepAlive??!1,method:"head"===o.method?"HEAD":"GET",mode:"cors",priority:o.priority??s.A.request.priority,redirect:"follow",signal:a},(u||c)&&(e.fetchOptions.body=u||c),(d.i.isForeignWorker||"anonymous"===o.authMode)&&(e.useIdentity=!1),e.hasToken=!!(/token=/i.test(r)||o.query?.token||u?.get("token")),!e.hasToken){const{getApiKey:s,getSessionToken:n}=await t.e(926).then(t.bind(t,926)),a=await n(r)??s(r);a&&(o.query??={},o.query.token=a,e.hasToken=!0)}if(e.useIdentity&&!e.hasToken&&!e.credential&&!e.credentialToken&&!O(r)&&!(0,l.G4)(a)){let t;"immediate"===o.authMode?(await A(),t=await n.id.getCredential(r,{signal:a})):"no-prompt"===o.authMode?(await A(),t=await n.id.getCredential(r,{prompt:!1,signal:a}).catch(()=>{})):n.id&&(t=n.id.findCredential(r)),t&&(e.credential=t,e.credentialToken=t.token,e.useSSL=!!t.ssl)}}(e);try{do{[r,o]=await S(e)}while(!await L(e,r,o))}catch(t){const s=x("request:server",t,e.parameters,r);throw s.details.ssl=e.useSSL,e.interceptor?.error?.(s),s}const a=e.parameters.url;if(o)if(/\/sharing\/rest\/(accounts|portals)\/self/i.test(a)){if(!e.hasToken&&!e.credentialToken&&o.user?.username&&!(0,u.FL)(a)){const e=(0,u.$z)(a,!0);e&&s.A.request.trustedServers.push(e)}Array.isArray(o.authorizedCrossOriginNoCorsDomains)&&function(e){s.A.request.crossOriginNoCorsDomains||(s.A.request.crossOriginNoCorsDomains={});const r=s.A.request.crossOriginNoCorsDomains;for(let t of e)t=t.toLowerCase(),/^https?:\/\//.test(t)?r[(0,u.$z)(t)??""]=0:(r[(0,u.$z)("http://"+t)??""]=0,r[(0,u.$z)("https://"+t)??""]=0)}(o.authorizedCrossOriginNoCorsDomains)}else"json"===(e.parameters.requestOptions.responseType||"json")&&m(a,o);const i=e.credential;if(i&&n.id){const e=n.id.findServerInfo(i.server);let r=e?.owningSystemUrl;if(r){r=r.replace(/\/?$/,"/sharing");const e=n.id.findCredential(r,i.userId);e&&-1===n.id._getIdenticalSvcIdx(r,e)&&e.resources.unshift(r)}}return{data:o,getAllHeaders:r?()=>Array.from(r.headers):E,getHeader:r?e=>r.headers.get(e):E,httpStatus:r?.status??200,requestOptions:e.parameters.requestOptions,ssl:e.useSSL,url:e.parameters.url}}async function S(e){let r=e.parameters.url,t=y(r);const o=e.parameters.requestOptions,i=e.fetchOptions??{},p=(0,u.w8)(r)||(0,u.DB)(r),f=o.responseType??"json",h=p?0:null!=o.timeout?o.timeout:s.A.request.timeout;let m=!1;if(!p){e.useSSL&&(r=(0,u.lM)(r));let l={...o.query};e.credentialToken&&(l.token=e.credentialToken);let d=(0,u.x0)(l);(0,a.A)("esri-url-encodes-apostrophe")&&(d=d.replaceAll("'","%27"));const p=t.length+1+d.length;let f;m="delete"===o.method||"post"===o.method||"put"===o.method||!!o.body||p>s.A.request.maxUrlLength;const h=o.useProxy||!!(0,u.zs)(r);if(h){const e=(0,u.s_)(r);f=e.path,!m&&f.length+1+p>s.A.request.maxUrlLength&&(m=!0),e.query&&(l={...e.query,...l})}if("HEAD"===i.method&&(m||h)){if(m){if(p>s.A.request.maxUrlLength)throw x("request:invalid-parameters",new Error("URL exceeds maximum length"),e.parameters);throw x("request:invalid-parameters",new Error("cannot use POST request when method is 'head'"),e.parameters)}if(h)throw x("request:invalid-parameters",new Error("cannot use proxy when method is 'head'"),e.parameters)}if(m?(i.method="delete"===o.method?"DELETE":"put"===o.method?"PUT":"POST",o.body?r=(0,u.a6)(r,l):(i.body=(0,u.x0)(l),i.headers||(i.headers={}),i.headers["Content-Type"]="application/x-www-form-urlencoded")):r=(0,u.a6)(r,l),h&&(e.useProxy=!0,r=`${f}?${r}`),l.token&&w&&i.body instanceof FormData&&!(0,c.$E)(r)&&i.body.set("token",l.token),o.hasOwnProperty("withCredentials"))e.withCredentials=o.withCredentials;else if(!(0,u.FX)(r,(0,u.Xq)()))if((0,u.FL)(r))e.withCredentials=!0;else if(n.id){const t=n.id.findServerInfo(r);t?.webTierAuth&&(e.withCredentials=!0)}e.withCredentials&&(i.credentials="include",function(e){const r=s.A.request.crossOriginNoCorsDomains;if(r){let t=(0,u.$z)(e);if(t)return t=t.toLowerCase(),!(0,u.FX)(t,(0,u.Xq)())&&r[t]<Date.now()-36e5}return!1}(r)&&await async function(e){const r=(0,u.An)(e);e=r.path,"json"===r.query?.f&&(e+="?f=json");try{await fetch(e,{mode:"no-cors",credentials:"include"})}catch{}const t=s.A.request.crossOriginNoCorsDomains,n=(0,u.$z)(e);t&&n&&(t[n.toLowerCase()]=Date.now())}(m?(0,u.a6)(r,l):r)),t=y(r)}let g,v,q=0,b=!1;h>0&&(q=setTimeout(()=>{b=!0,e.controller.abort()},h));try{if("native-request-init"===o.responseType)v=i,v.url=t,o.signal?v.signal=o.signal:delete v.signal;else if("image"!==o.responseType||"default"!==i.cache||i.keepalive||"GET"!==i.method||m||function(e){if(e)for(const r of Object.getOwnPropertyNames(e))if(e[r])return!0;return!1}(o.headers)||!p&&!e.useProxy&&s.A.request.proxyUrl&&!C(r)){if(await(d.i.beforeFetch?.(r,i)),g=await fetch(t,i),await(d.i.afterFetch?.(g)),e.useProxy||function(e){const r=(0,u.$z)(e);r&&!d.i.corsServers.includes(r)&&d.i.corsServers.push(r)}(r),"native"===o.responseType)v=g;else if("HEAD"!==i.method)if(g.ok){switch(f){case"array-buffer":v=await g.arrayBuffer();break;case"blob":case"image":v=await g.blob();break;default:v=await g.text()}if(q&&(clearTimeout(q),q=0),"json"===f||"xml"===f||"document"===f)if(v)switch(f){case"json":v=JSON.parse(v);break;case"xml":v=k(v,"application/xml");break;case"document":v=k(v,"text/html")}else v=null;if(v){if(("array-buffer"===f||"blob"===f)&&v["blob"===f?"size":"byteLength"]<=750)try{const e=await new Response(v).json();e.error&&(v=e)}catch{}"image"===f&&v instanceof Blob&&(v=await T(URL.createObjectURL(v),e,!0))}}else{v=await g.text();try{v=JSON.parse(v)}catch{}}}else v=await T(t,e)}catch(t){if("AbortError"===t.name){if(b)throw new Error(P);throw(0,l.NK)("Request canceled")}if(!(!g&&t instanceof TypeError&&s.A.request.proxyUrl)||o.body||"delete"===o.method||"head"===o.method||"post"===o.method||"put"===o.method||e.useProxy||C(r))throw t;e.redoRequest=!0,(0,u.oy)({proxyUrl:s.A.request.proxyUrl,urlPrefix:(0,u.$z)(r)??""})}finally{q&&clearTimeout(q)}return[g,v]}function T(e,r,t=!1){const n=r.controller.signal,o=new Image;return r.withCredentials?o.crossOrigin="use-credentials":o.crossOrigin="anonymous",o.alt="",o.fetchPriority=s.A.request.priority,o.src=e,(0,p.y)(o,e,t,n)}function C(e){const r=(0,u.$z)(e);return!r||r.endsWith(".arcgis.com")||d.i.corsServers.includes(r)||(0,u.FL)(r)}async function A(){n.id||await Promise.all([t.e(7632),t.e(6408),t.e(5915),t.e(9466),t.e(5482),t.e(148),t.e(8050)]).then(t.bind(t,50148))}function O(e){return q.some(r=>r.test(e))}function k(e,r){let t;try{t=(new DOMParser).parseFromString(e,r)}catch{}if(!t||t.getElementsByTagName("parsererror").length)throw new SyntaxError("XML Parse error");return t}async function L(e,r,t){if(e.redoRequest)return e.redoRequest=!1,!1;const s=e.parameters.requestOptions;if(!r||"native"===s.responseType||"native-request-init"===s.responseType)return!0;let o,a;if(t&&(t.error&&"object"==typeof t.error?o=t.error:"error"===t.status&&Array.isArray(t.messages)&&(o={...t},o[U]=t,o.details=t.messages)),!o&&!r.ok)throw o=new Error(`Unable to load ${r.url} status: ${r.status}`),o[U]=t,o;let i,l=null;o&&(a=Number(o.code),l=o.hasOwnProperty("subcode")?Number(o.subcode):null,i=o.messageCode,i=i?.toUpperCase());const u=s.authMode;if(403===a&&(4===l||o.message?.toLowerCase().includes("ssl")&&!o.message.toLowerCase().includes("permission"))){if(!e.useSSL)return e.useSSL=!0,!1}else if(!e.hasToken&&e.useIdentity&&("no-prompt"!==u||498===a)&&void 0!==a&&g.has(a)&&!O(e.parameters.url)&&(403!==a||(!i||!v.has(i))&&(null==l||2===l&&e.credentialToken))){await A();try{const r=await n.id.getCredential(e.parameters.url,{error:x("request:server",o,e.parameters),credential:e.credential,prompt:"no-prompt"!==u,signal:e.controller.signal,token:e.credentialToken});return e.credential=r,e.credentialToken=r.token,e.useSSL=e.useSSL||r.ssl,!1}catch(r){if("no-prompt"===u)return e.credential=void 0,e.credentialToken=void 0,!1;o=r}}if(o)throw o;return!0}function x(e,r,t,s){let n;const a={url:t.url,requestOptions:t.requestOptions,getAllHeaders:E,getHeader:E,ssl:!1};if(r instanceof o.A)return r.details?(r.details=(0,i.o8)(r.details),r.details.url=t.url,r.details.requestOptions=t.requestOptions):r.details=a,r;if(r){const e=s&&(()=>Array.from(s.headers)),t=s&&(e=>s.headers.get(e)),o=s?.status,i=r.message;i&&(n=i),e&&t&&(a.getAllHeaders=e,a.getHeader=t),a.httpStatus=(null!=r.httpCode?r.httpCode:r.code)||o||0,a.subCode=r.subcode,a.messageCode=r.messageCode,"string"==typeof r.details?(a.messages=[r.details],n??=r.details):(a.messages=r.details,n??=a.messages?.[0]),a.raw=U in r?r[U]:r}return n??="Error",(0,l.zf)(r)?(0,l.NK)():new o.A(e,n,a)}const U=Symbol(),E=()=>null,P="Timeout exceeded";function $(e){return"object"==typeof e&&!!e&&"message"in e&&e.message===P}}}]);