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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (942) 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 +3 -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/01ba5319cac3e0f14205.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/05d597dd117766beadd8.js +30 -0
  54. package/assets/esri/core/workers/chunks/{b045bffb4f2eb9203183.js → 05e1f1628a3726eca03d.js} +1 -1
  55. package/assets/esri/core/workers/chunks/0a52373c4ba652e0ee0f.js +1 -0
  56. package/assets/esri/core/workers/chunks/0b45d34938fa7862f746.js +1 -0
  57. package/assets/esri/core/workers/chunks/0b522e05668bef729b1b.js +1 -0
  58. package/assets/esri/core/workers/chunks/0d42322362e76f674d94.js +2 -0
  59. package/assets/esri/core/workers/chunks/{81e3bd1a0634ddc2b833.js → 0f10d7d592c36ee2d1ea.js} +1 -1
  60. package/assets/esri/core/workers/chunks/{cdf6ad970dc1893dac58.js → 110135b0562a3b5708b9.js} +1 -1
  61. package/assets/esri/core/workers/chunks/122892f365f5327d290c.js +1 -0
  62. package/assets/esri/core/workers/chunks/1305690054214a9cf48d.js +1 -0
  63. package/assets/esri/core/workers/chunks/168c15cf462f9abcbdd2.js +1 -0
  64. package/assets/esri/core/workers/chunks/169bfafec4d59be2beb0.js +1 -0
  65. package/assets/esri/core/workers/chunks/1bd49e8d2657c72bf3f9.js +1 -0
  66. package/assets/esri/core/workers/chunks/1c689bb502657b1f173b.js +1 -0
  67. package/assets/esri/core/workers/chunks/1d2609ce6220b5af5526.js +1 -0
  68. package/assets/esri/core/workers/chunks/1d38b2fcd85ac9ebd7c6.js +1 -0
  69. package/assets/esri/core/workers/chunks/1e109a521ca8772fdf04.js +1 -0
  70. package/assets/esri/core/workers/chunks/1ea840b7ac1ffaa0c389.js +1 -0
  71. package/assets/esri/core/workers/chunks/1f48438b3055afeb710f.js +1 -0
  72. package/assets/esri/core/workers/chunks/{c2cd80b712f29e8cbb8d.js → 1ff57bf19f021f5fd246.js} +1 -1
  73. package/assets/esri/core/workers/chunks/2353fbc1ff4481dcfb1f.js +1 -0
  74. package/assets/esri/core/workers/chunks/2509da565e5a2b43ac7f.js +1 -0
  75. package/assets/esri/core/workers/chunks/255c8e937e7a123ebb04.js +1 -0
  76. package/assets/esri/core/workers/chunks/256cc116e3be4feee593.js +1 -0
  77. package/assets/esri/core/workers/chunks/25c1f5e2561986330b80.js +1 -0
  78. package/assets/esri/core/workers/chunks/26aa8190ac439f634c5b.js +1 -0
  79. package/assets/esri/core/workers/chunks/{a442534ac0956a68b769.js → 282930645ce525d5bc92.js} +1 -1
  80. package/assets/esri/core/workers/chunks/{73c355b895fd6a34fcb8.js → 2a8d791aef3123e6a3c4.js} +1 -1
  81. package/assets/esri/core/workers/chunks/2b781de7b467c61849b2.js +1 -0
  82. package/assets/esri/core/workers/chunks/2baee42e1797a709fe4b.js +1 -0
  83. package/assets/esri/core/workers/chunks/2c017eae434254610c8e.js +1 -0
  84. package/assets/esri/core/workers/chunks/2d7a4b669804d0c5029b.js +1 -0
  85. package/assets/esri/core/workers/chunks/2f40193d1b2e534c5226.js +1 -0
  86. package/assets/esri/core/workers/chunks/303e723e829ea7088d43.js +1 -0
  87. package/assets/esri/core/workers/chunks/35533c8ef541f7643497.js +2 -0
  88. package/assets/esri/core/workers/chunks/36913f0f944a9eb82cd3.js +1 -0
  89. package/assets/esri/core/workers/chunks/39a10b2092a98083f4cf.js +1 -0
  90. package/assets/esri/core/workers/chunks/{cc62e5095e328bed3e01.js → 3aa0a34d2b7dbf2e2c66.js} +1 -1
  91. package/assets/esri/core/workers/chunks/3bd32387af52fa48d747.js +1 -0
  92. package/assets/esri/core/workers/chunks/3d4ad7c728e02aa90551.js +1 -0
  93. package/assets/esri/core/workers/chunks/3dc6e9494af16f7b8009.js +1 -0
  94. package/assets/esri/core/workers/chunks/{3526ab3b1f87c24ae6f8.js → 4162a2bb774e6ba2c0db.js} +1 -1
  95. package/assets/esri/core/workers/chunks/436d51b9f1b1b5abc4bc.js +1 -0
  96. package/assets/esri/core/workers/chunks/43ef6dee2e1d9ed7885e.js +1 -0
  97. package/assets/esri/core/workers/chunks/442424200e7475e9a08f.js +1 -0
  98. package/assets/esri/core/workers/chunks/47d630561f3fce5c63c4.js +1 -0
  99. package/assets/esri/core/workers/chunks/4b96aa2dc5b88846bb53.js +1 -0
  100. package/assets/esri/core/workers/chunks/4e59e5a5d0ff887ff899.js +1 -0
  101. package/assets/esri/core/workers/chunks/4ea325c829d3b82854b1.js +1 -0
  102. package/assets/esri/core/workers/chunks/511b9c12a7479d39dac0.js +1 -0
  103. package/assets/esri/core/workers/chunks/51a53011478e0cf96e0b.js +1 -0
  104. package/assets/esri/core/workers/chunks/51a8a47aac1d8d22ba9d.js +1 -0
  105. package/assets/esri/core/workers/chunks/5481af25fd46914498df.js +1 -0
  106. package/assets/esri/core/workers/chunks/54f54623532f633dc0e2.js +1 -0
  107. package/assets/esri/core/workers/chunks/57e04b7ec238f7b24274.js +1 -0
  108. package/assets/esri/core/workers/chunks/5809e70a8e57e9b05959.js +1 -0
  109. package/assets/esri/core/workers/chunks/589b31cc5c663a288942.js +1 -0
  110. package/assets/esri/core/workers/chunks/58ce4bcfb15f378b1b9f.js +1 -0
  111. package/assets/esri/core/workers/chunks/58e0e50b6c3abaa4798f.js +1 -0
  112. package/assets/esri/core/workers/chunks/595bc41ff36c77324d01.js +261 -0
  113. package/assets/esri/core/workers/chunks/599bd80379423c99799d.js +1 -0
  114. package/assets/esri/core/workers/chunks/5bf01e0eff8a78b65e9e.js +1 -0
  115. package/assets/esri/core/workers/chunks/5dfeefee96659832398a.js +1 -0
  116. package/assets/esri/core/workers/chunks/{31762eb20a9a0ed3f8b0.js → 5ea1113b7bdcf94b2822.js} +1 -1
  117. package/assets/esri/core/workers/chunks/5fab14c5f1febebb75f1.js +1 -0
  118. package/assets/esri/core/workers/chunks/609edb4da427ec37bcf7.js +1 -0
  119. package/assets/esri/core/workers/chunks/60d4a3f770bb1e01cd10.js +1 -0
  120. package/assets/esri/core/workers/chunks/63858dfcff1177e597e7.js +1 -0
  121. package/assets/esri/core/workers/chunks/65cc9a48ac95523f7aa8.js +1 -0
  122. package/assets/esri/core/workers/chunks/66392ff750c28064040a.js +1 -0
  123. package/assets/esri/core/workers/chunks/668d84dc512b3085a960.js +1 -0
  124. package/assets/esri/core/workers/chunks/686c1a1b794ebe1a0341.js +1 -0
  125. package/assets/esri/core/workers/chunks/68b77b36daae2b4b4237.js +1 -0
  126. package/assets/esri/core/workers/chunks/6db5ee9c589265b23b60.js +1 -0
  127. package/assets/esri/core/workers/chunks/6dc60afb0c39bbb001a3.js +1 -0
  128. package/assets/esri/core/workers/chunks/{5bfae465872760e7af6d.js → 6f240fe78b299e6c4fcc.js} +1 -1
  129. package/assets/esri/core/workers/chunks/6f5a82388a5eb5fcf1b7.js +1 -0
  130. package/assets/esri/core/workers/chunks/70cb825bb37f1977d2ab.js +1 -0
  131. package/assets/esri/core/workers/chunks/71a593fa116770e58832.js +1 -0
  132. package/assets/esri/core/workers/chunks/71f09e34d56c9fe5c307.js +1 -0
  133. package/assets/esri/core/workers/chunks/73b0edabddbb72fe1104.js +1 -0
  134. package/assets/esri/core/workers/chunks/{72cfb186e50537bcdd19.js → 75915f81caaf9e5345a9.js} +1 -1
  135. package/assets/esri/core/workers/chunks/7832d94f35b79e27ee51.js +1 -0
  136. package/assets/esri/core/workers/chunks/{e5f8c73349407c25956b.js → 7c61b18e43c789aaecc6.js} +1 -1
  137. package/assets/esri/core/workers/chunks/7ee76504e7fea389a1c9.js +1 -0
  138. package/assets/esri/core/workers/chunks/7f849c8255140be6097f.js +1 -0
  139. package/assets/esri/core/workers/chunks/818a481ce579f519de1c.js +1 -0
  140. package/assets/esri/core/workers/chunks/831455798b177678720c.js +1 -0
  141. package/assets/esri/core/workers/chunks/83ce38342796bd6d73ce.js +1 -0
  142. package/assets/esri/core/workers/chunks/84a0bb53fcbd99b5aa0c.js +1 -0
  143. package/assets/esri/core/workers/chunks/87b86375f8557418dbe6.js +1 -0
  144. package/assets/esri/core/workers/chunks/8817d25c7f4cf0e6c6bd.js +1 -0
  145. package/assets/esri/core/workers/chunks/{a4b970a841b3085500fc.js → 888af532ad48fd86f285.js} +1 -1
  146. package/assets/esri/core/workers/chunks/{9331969046f2b277d620.js → 8a39dd585742960d3ca2.js} +1 -1
  147. package/assets/esri/core/workers/chunks/8ade399db21938822a7c.js +1 -0
  148. package/assets/esri/core/workers/chunks/8c62e2dabd1f1e13d244.js +1 -0
  149. package/assets/esri/core/workers/chunks/{5cb1b950249d651f3837.js → 8dcb3e77f76d8396706b.js} +1 -1
  150. package/assets/esri/core/workers/chunks/8eda85fc01a71aedd9e4.js +1 -0
  151. package/assets/esri/core/workers/chunks/8f25d91ea7b99597124e.js +1 -0
  152. package/assets/esri/core/workers/chunks/909e88c27d80777b047c.js +1 -0
  153. package/assets/esri/core/workers/chunks/91c5205d1274c7f190d5.js +1 -0
  154. package/assets/esri/core/workers/chunks/91c543443cd6768ad6ff.js +1 -0
  155. package/assets/esri/core/workers/chunks/9230ad807020fc2bbf8e.js +1 -0
  156. package/assets/esri/core/workers/chunks/92341f36a8b15f34bcca.js +1 -0
  157. package/assets/esri/core/workers/chunks/92458803531fdfe1557a.js +1 -0
  158. package/assets/esri/core/workers/chunks/{976ab2be6c244768c08a.js → 940ebb13618d38c6b459.js} +1 -1
  159. package/assets/esri/core/workers/chunks/987594539981483a7c5e.js +1 -0
  160. package/assets/esri/core/workers/chunks/99c002015c2127e6cbfc.js +2 -0
  161. package/assets/esri/core/workers/chunks/9da1a514e042eb642d35.js +1 -0
  162. package/assets/esri/core/workers/chunks/9f93c29af2a18f7cb160.js +1 -0
  163. package/assets/esri/core/workers/chunks/a1509e2e7809b6754b4f.js +1 -0
  164. package/assets/esri/core/workers/chunks/a18cb809dd56c5537b3b.js +1 -0
  165. package/assets/esri/core/workers/chunks/a3195521a83565c7c2d3.js +1 -0
  166. package/assets/esri/core/workers/chunks/a3393780655152102c45.js +1 -0
  167. package/assets/esri/core/workers/chunks/{52175ff9e8c2c136f90a.js → a3ecde3794a7db3cf283.js} +1 -1
  168. package/assets/esri/core/workers/chunks/a4d918b47cd4ee0e1666.js +1 -0
  169. package/assets/esri/core/workers/chunks/a844c4e031e77db11478.js +1 -0
  170. package/assets/esri/core/workers/chunks/{bfd1aef8ac795e1ce227.js → a892b3be70f482bef0ba.js} +1 -1
  171. package/assets/esri/core/workers/chunks/a8ef7acb6d3d1f45e14c.js +1 -0
  172. package/assets/esri/core/workers/chunks/{7dcf804e1918b94fa4e1.js → a98905bf6050ad3b8721.js} +1 -1
  173. package/assets/esri/core/workers/chunks/a99ce2f12c8204ee542a.js +1 -0
  174. package/assets/esri/core/workers/chunks/aba7a053015a9738d8a0.js +1 -0
  175. package/assets/esri/core/workers/chunks/ac16016964be3b684e98.js +30 -0
  176. package/assets/esri/core/workers/chunks/ac7ecd90330090c90005.js +1 -0
  177. package/assets/esri/core/workers/chunks/adce59e4111bae4225f7.js +1 -0
  178. package/assets/esri/core/workers/chunks/af3b060fdfa3b6174340.js +1 -0
  179. package/assets/esri/core/workers/chunks/b0212df1fe8d9448f3d6.js +1 -0
  180. package/assets/esri/core/workers/chunks/b289c46ce2dc04d32e81.js +1 -0
  181. package/assets/esri/core/workers/chunks/{c983e5ce0ff952b65d7f.js → b2b342b06d502fc61ea5.js} +1 -1
  182. package/assets/esri/core/workers/chunks/{67ebde34377f98d17cda.js → b5571e93bc136dac8ee1.js} +1 -1
  183. package/assets/esri/core/workers/chunks/b75a4753cea6544da8bb.js +1 -0
  184. package/assets/esri/core/workers/chunks/ba1c4a8794ac55942e35.js +1 -0
  185. package/assets/esri/core/workers/chunks/bbcad2fde838819ffc7b.js +1 -0
  186. package/assets/esri/core/workers/chunks/bd260798b8de09a1eeb2.js +1 -0
  187. package/assets/esri/core/workers/chunks/{44d0ca9d4c5f1722688c.js → bf67e0f6064fb9d94ac8.js} +1 -1
  188. package/assets/esri/core/workers/chunks/{97a654e8054302582a3b.js → bfa6f4c08e7571bb1f37.js} +1 -1
  189. package/assets/esri/core/workers/chunks/c030a974a63155f450e9.js +1 -0
  190. package/assets/esri/core/workers/chunks/c0b7b9d115dccb2924ff.js +1 -0
  191. package/assets/esri/core/workers/chunks/c2db773201adca204f95.js +1 -0
  192. package/assets/esri/core/workers/chunks/c318e6dbb8651433038f.js +2 -0
  193. package/assets/esri/core/workers/chunks/c4a2ec2e5897300163ac.js +1 -0
  194. package/assets/esri/core/workers/chunks/{8b0a01ebc86ab226f01f.js → c538435216d253f7702e.js} +1 -1
  195. package/assets/esri/core/workers/chunks/c5e172d3baf5414868f0.js +1 -0
  196. package/assets/esri/core/workers/chunks/c63b315c6b76b4860fc5.js +1 -0
  197. package/assets/esri/core/workers/chunks/c8091e8fd7ca43a4490a.js +1 -0
  198. package/assets/esri/core/workers/chunks/{2413b383b7f2bdcd4ced.js → c8672a54c98d472aa24d.js} +1 -1
  199. package/assets/esri/core/workers/chunks/c9057b0ad2c2bae4a8ce.js +1 -0
  200. package/assets/esri/core/workers/chunks/cf9a132c4c37e62de3d7.js +1 -0
  201. package/assets/esri/core/workers/chunks/d0321dd4b5b2d863eecd.js +1 -0
  202. package/assets/esri/core/workers/chunks/{886ae23a1d8fa21e531f.js → d750e4abeb777caa8c36.js} +1 -1
  203. package/assets/esri/core/workers/chunks/d7acbc2ddff4cee8a465.js +30 -0
  204. package/assets/esri/core/workers/chunks/{cb8c4d8334fab9bd9a04.js → d90bc34d97bb21c29c40.js} +1 -1
  205. package/assets/esri/core/workers/chunks/d9fcc63df008f687848a.js +1 -0
  206. package/assets/esri/core/workers/chunks/db96a0c66578b2d1b715.js +1 -0
  207. package/assets/esri/core/workers/chunks/{318a2702632aaa4d3a63.js → dd3b0070081eaf805d95.js} +1 -1
  208. package/assets/esri/core/workers/chunks/dd5dddf7e422216d3806.js +1 -0
  209. package/assets/esri/core/workers/chunks/de83c177f8a1234a5b2e.js +1 -0
  210. package/assets/esri/core/workers/chunks/{38cfedce779dd75bd217.js → dfb19701b488089874fd.js} +1 -1
  211. package/assets/esri/core/workers/chunks/e2f33945d838183a2192.js +1 -0
  212. package/assets/esri/core/workers/chunks/{d97c0c18202b8c578f8c.js → e5471373f89fd7cb9844.js} +1 -1
  213. package/assets/esri/core/workers/chunks/e65d291bab13f7f5323b.js +1 -0
  214. package/assets/esri/core/workers/chunks/e73bb7c8de7412d9975c.js +1 -0
  215. package/assets/esri/core/workers/chunks/e8546ab510fc9515bd23.js +1 -0
  216. package/assets/esri/core/workers/chunks/e95ee94027c1934086d8.js +1 -0
  217. package/assets/esri/core/workers/chunks/e9acc05b0cf9e05f31a8.js +1 -0
  218. package/assets/esri/core/workers/chunks/ecbf84a1f42e6188faab.js +1 -0
  219. package/assets/esri/core/workers/chunks/efaa1d05705f6b450e8f.js +1 -0
  220. package/assets/esri/core/workers/chunks/efaf998d18479a0380ae.js +1 -0
  221. package/assets/esri/core/workers/chunks/f0573db9a3d3e1499a7e.js +1 -0
  222. package/assets/esri/core/workers/chunks/f07722efd7fa2b75d4dd.js +1 -0
  223. package/assets/esri/core/workers/chunks/{520e0e5307eef27becc6.js → f0924613f818dd165ad9.js} +1 -1
  224. package/assets/esri/core/workers/chunks/f3fd40df92e59f7c687c.js +1 -0
  225. package/assets/esri/core/workers/chunks/{3d20c86f1fe877bf884b.js → f59b76fde2cbd17f64b3.js} +1 -1
  226. package/assets/esri/core/workers/chunks/f6afc597eaf2afa9a4a0.js +1 -0
  227. package/assets/esri/core/workers/chunks/{0a8ba5cb857f61de40fb.js → f7f820483e45c05ab9e4.js} +29 -29
  228. package/assets/esri/core/workers/chunks/f955b35337a08f9f747d.js +1 -0
  229. package/assets/esri/core/workers/chunks/f98bb3885bfc7f18f26c.js +1 -0
  230. package/assets/esri/core/workers/chunks/f9b44ff9bb4f7a88ab56.js +1 -0
  231. package/assets/esri/core/workers/chunks/{1d5db8746a4f1ed1d18f.js → fb81705cec1be2431876.js} +1 -1
  232. package/assets/esri/core/workers/chunks/fd53ef66176ae164e221.js +1 -0
  233. package/assets/esri/core/workers/chunks/fd956a58787020d610af.js +1 -0
  234. package/assets/esri/core/workers/chunks/fdec3a2e100688c42e41.js +1 -0
  235. package/assets/esri/core/workers/chunks/fe6385115d76e16e8da0.js +1 -0
  236. package/assets/esri/core/workers/chunks/fedbeb488d5d7c07c7dc.js +1 -0
  237. package/assets/esri/core/workers/chunks/{d9695794cfaa014a55b1.js → ff00ac01f0baaecaa890.js} +1 -1
  238. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  239. package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
  240. package/assets/esri/themes/base/widgets/_BatchAttributeForm.scss +62 -90
  241. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +0 -2
  242. package/assets/esri/themes/dark/main.css +1 -1
  243. package/assets/esri/themes/light/main.css +1 -1
  244. package/assets/esri/themes/light/view.css +1 -1
  245. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ar.json +1 -1
  246. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bg.json +1 -1
  247. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_bs.json +1 -1
  248. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ca.json +1 -1
  249. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_cs.json +1 -1
  250. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_da.json +1 -1
  251. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_de.json +1 -1
  252. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_el.json +1 -1
  253. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_es.json +1 -1
  254. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_et.json +1 -1
  255. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fi.json +1 -1
  256. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_fr.json +1 -1
  257. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_he.json +1 -1
  258. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hr.json +1 -1
  259. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_hu.json +1 -1
  260. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_id.json +1 -1
  261. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_it.json +1 -1
  262. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ja.json +1 -1
  263. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ko.json +1 -1
  264. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lt.json +1 -1
  265. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_lv.json +1 -1
  266. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_nl.json +1 -1
  267. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_no.json +1 -1
  268. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pl.json +1 -1
  269. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-BR.json +1 -1
  270. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_pt-PT.json +1 -1
  271. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ro.json +1 -1
  272. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_ru.json +1 -1
  273. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sk.json +1 -1
  274. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sl.json +1 -1
  275. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sr.json +1 -1
  276. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_sv.json +1 -1
  277. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_th.json +1 -1
  278. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_tr.json +1 -1
  279. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_uk.json +1 -1
  280. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_vi.json +1 -1
  281. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-CN.json +1 -1
  282. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-HK.json +1 -1
  283. package/assets/esri/views/3d/analysis/ShadowCast/t9n/ShadowCastAnalysis_zh-TW.json +1 -1
  284. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ar.json +1 -1
  285. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_bg.json +1 -1
  286. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_bs.json +1 -1
  287. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ca.json +1 -1
  288. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_cs.json +1 -1
  289. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_da.json +1 -1
  290. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_de.json +1 -1
  291. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_el.json +1 -1
  292. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_es.json +1 -1
  293. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_et.json +1 -1
  294. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_fi.json +1 -1
  295. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_fr.json +1 -1
  296. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_he.json +1 -1
  297. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_hr.json +1 -1
  298. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_hu.json +1 -1
  299. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_id.json +1 -1
  300. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_it.json +1 -1
  301. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ja.json +1 -1
  302. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ko.json +1 -1
  303. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_lt.json +1 -1
  304. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_lv.json +1 -1
  305. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_nl.json +1 -1
  306. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_no.json +1 -1
  307. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pl.json +1 -1
  308. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pt-BR.json +1 -1
  309. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_pt-PT.json +1 -1
  310. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ro.json +1 -1
  311. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_ru.json +1 -1
  312. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sk.json +1 -1
  313. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sl.json +1 -1
  314. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sr.json +1 -1
  315. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_sv.json +1 -1
  316. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_th.json +1 -1
  317. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_tr.json +1 -1
  318. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_uk.json +1 -1
  319. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_vi.json +1 -1
  320. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-CN.json +1 -1
  321. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-HK.json +1 -1
  322. package/assets/esri/widgets/BasemapGallery/t9n/BasemapGallery_zh-TW.json +1 -1
  323. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ar.json +1 -1
  324. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bg.json +1 -1
  325. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_bs.json +1 -1
  326. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ca.json +1 -1
  327. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_cs.json +1 -1
  328. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_da.json +1 -1
  329. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_de.json +1 -1
  330. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_el.json +1 -1
  331. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_es.json +1 -1
  332. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_et.json +1 -1
  333. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fi.json +1 -1
  334. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_fr.json +1 -1
  335. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_he.json +1 -1
  336. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hr.json +1 -1
  337. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_hu.json +1 -1
  338. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_id.json +1 -1
  339. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_it.json +1 -1
  340. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ja.json +1 -1
  341. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ko.json +1 -1
  342. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lt.json +1 -1
  343. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_lv.json +1 -1
  344. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_nl.json +1 -1
  345. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_no.json +1 -1
  346. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pl.json +1 -1
  347. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-BR.json +1 -1
  348. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_pt-PT.json +1 -1
  349. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ro.json +1 -1
  350. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_ru.json +1 -1
  351. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sk.json +1 -1
  352. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sl.json +1 -1
  353. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sr.json +1 -1
  354. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_sv.json +1 -1
  355. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_th.json +1 -1
  356. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_tr.json +1 -1
  357. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_uk.json +1 -1
  358. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_vi.json +1 -1
  359. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-CN.json +1 -1
  360. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-HK.json +1 -1
  361. package/assets/esri/widgets/BatchAttributeForm/t9n/BatchAttributeForm_zh-TW.json +1 -1
  362. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  363. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  364. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  365. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  366. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  367. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  368. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  369. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  370. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  371. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  372. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  373. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  374. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  375. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  376. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  377. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  378. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  379. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  380. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  381. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  382. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  383. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  384. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  385. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  386. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  387. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  388. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  389. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  390. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  391. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  392. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  393. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  394. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  395. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  396. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  397. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  398. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  399. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  400. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  401. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  402. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  403. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  404. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  405. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  406. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  407. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  408. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  409. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  410. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  411. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  412. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  413. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  414. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  415. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  416. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  417. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  418. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  419. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  420. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  421. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  422. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  423. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  424. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  425. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  426. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  427. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  428. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  429. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  430. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  431. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  432. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  433. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  434. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  435. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  436. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  437. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  438. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  439. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  440. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ar.json +1 -1
  441. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_bg.json +1 -1
  442. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_bs.json +1 -1
  443. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ca.json +1 -1
  444. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_cs.json +1 -1
  445. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_da.json +1 -1
  446. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_de.json +1 -1
  447. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_el.json +1 -1
  448. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_es.json +1 -1
  449. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_et.json +1 -1
  450. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_fi.json +1 -1
  451. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_fr.json +1 -1
  452. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_he.json +1 -1
  453. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_hr.json +1 -1
  454. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_hu.json +1 -1
  455. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_id.json +1 -1
  456. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_it.json +1 -1
  457. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ja.json +1 -1
  458. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ko.json +1 -1
  459. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_lt.json +1 -1
  460. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_lv.json +1 -1
  461. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_nl.json +1 -1
  462. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_no.json +1 -1
  463. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pl.json +1 -1
  464. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pt-BR.json +1 -1
  465. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_pt-PT.json +1 -1
  466. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ro.json +1 -1
  467. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_ru.json +1 -1
  468. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sk.json +1 -1
  469. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sl.json +1 -1
  470. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sr.json +1 -1
  471. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_sv.json +1 -1
  472. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_th.json +1 -1
  473. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_tr.json +1 -1
  474. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_uk.json +1 -1
  475. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_vi.json +1 -1
  476. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-CN.json +1 -1
  477. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-HK.json +1 -1
  478. package/assets/esri/widgets/VideoPlayer/t9n/VideoPlayer_zh-TW.json +1 -1
  479. package/chunks/Bufferer-CclWhXVb.js +2 -0
  480. package/chunks/Component.glsl.js +3 -3
  481. package/chunks/Distance2DCalculator-DjIp2uQi.js +2 -0
  482. package/chunks/Envelope.js +1 -1
  483. package/chunks/Envelope2D.js +1 -1
  484. package/chunks/GaussianSplatComposition.glsl.js +2 -2
  485. package/chunks/GeodeticDistanceCalculator-zRp89-dW.js +2 -0
  486. package/chunks/GeodeticUtils.js +1 -1
  487. package/chunks/Geometry.js +1 -1
  488. package/chunks/{GeometryCleaner-BEJM7I4l.js → GeometryCleaner-CIE8Wfmb.js} +1 -1
  489. package/chunks/GlobalIlluminationBlur.glsl.js +11 -11
  490. package/chunks/GlowComposition.glsl.js +1 -1
  491. package/chunks/MultiPathImpl.js +1 -1
  492. package/chunks/OITBlend.glsl.js +1 -24
  493. package/chunks/OITBlendEmission.glsl.js +9 -9
  494. package/chunks/OITDimOpaque.glsl.js +3 -9
  495. package/chunks/OperatorClip.js +1 -1
  496. package/chunks/OperatorCrosses.js +1 -1
  497. package/chunks/OperatorCut.js +1 -1
  498. package/chunks/OperatorDefinitions.js +1 -1
  499. package/chunks/OperatorDensify.js +1 -1
  500. package/chunks/OperatorGeneralize.js +1 -1
  501. package/chunks/OperatorGeodesicBuffer.js +1 -1
  502. package/chunks/OperatorGeodeticArea.js +1 -1
  503. package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
  504. package/chunks/OperatorGeodeticDistance.js +1 -1
  505. package/chunks/OperatorGeodeticLength.js +1 -1
  506. package/chunks/OperatorGraphicBuffer.js +2 -0
  507. package/chunks/OperatorIntegrate.js +1 -1
  508. package/chunks/OperatorIntersects.js +1 -1
  509. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  510. package/chunks/OperatorOverlaps.js +1 -1
  511. package/chunks/OperatorProximity.js +1 -1
  512. package/chunks/OperatorProximityGeodesic.js +1 -1
  513. package/chunks/OperatorShapePreservingLength.js +1 -1
  514. package/chunks/OperatorShapePreservingProject.js +1 -1
  515. package/chunks/OperatorSimplifyOGC.js +1 -1
  516. package/chunks/OperatorTouches.js +1 -1
  517. package/chunks/OperatorWithin.js +1 -1
  518. package/chunks/Point2D.js +1 -1
  519. package/chunks/ProjectionTransformation.js +1 -1
  520. package/chunks/{SideCalculator2D-BNwb5gvz.js → SideCalculator2D-DX0718xq.js} +1 -1
  521. package/chunks/SimpleGeometryCursor.js +1 -1
  522. package/chunks/SpatialReference.js +1 -1
  523. package/chunks/Transformation2D.js +1 -1
  524. package/chunks/centroidOperator.js +1 -1
  525. package/chunks/containsOperator.js +1 -1
  526. package/chunks/disjointOperator.js +1 -1
  527. package/chunks/distanceOperator.js +1 -1
  528. package/chunks/equalsOperator.js +1 -1
  529. package/chunks/languageUtils.js +1 -1
  530. package/chunks/lyr3DMain.js +1 -1
  531. package/config.js +1 -1
  532. package/core/has.js +1 -1
  533. package/core/reactiveUtils.d.ts +410 -109
  534. package/core/screenUtils.js +1 -1
  535. package/editing/types.d.ts +22 -2
  536. package/form/elements/UtilityNetworkAssociationsElement.d.ts +0 -1
  537. package/geometry/Mesh.d.ts +1 -1
  538. package/geometry/operators/extendOperator.js +1 -1
  539. package/geometry/operators/gx/operatorAffineTransform.js +1 -1
  540. package/geometry/operators/gx/operatorAlphaShape.js +1 -1
  541. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  542. package/geometry/operators/gx/operatorBoundary.js +1 -1
  543. package/geometry/operators/gx/operatorBuffer.js +1 -1
  544. package/geometry/operators/gx/operatorConvexHull.js +1 -1
  545. package/geometry/operators/gx/operatorDifference.js +1 -1
  546. package/geometry/operators/gx/operatorGraphicBuffer.js +1 -1
  547. package/geometry/operators/gx/operatorIntersection.js +1 -1
  548. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  549. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  550. package/geometry/operators/gx/operatorLocateBetween.js +1 -1
  551. package/geometry/operators/gx/operatorMinimumBoundingCircle.js +1 -1
  552. package/geometry/operators/gx/operatorOffset.js +1 -1
  553. package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
  554. package/geometry/operators/gx/operatorPolygonSlicer.js +1 -1
  555. package/geometry/operators/gx/operatorSinglePartToMultiPart.js +1 -1
  556. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  557. package/geometry/operators/gx/operatorUnion.js +1 -1
  558. package/geometry/operators/isNearOperator.js +1 -1
  559. package/geometry/operators/json/containsOperator.js +1 -1
  560. package/geometry/operators/json/disjointOperator.js +1 -1
  561. package/geometry/operators/reshapeOperator.js +1 -1
  562. package/geometry/operators/support/apiConverter.js +1 -1
  563. package/geometry/operators/support/initNoPeFactory.js +1 -1
  564. package/geometry/operators/support/jsonConverter.js +1 -1
  565. package/geometry/support/aaBoundingRect.js +1 -1
  566. package/graphic/AnnotationFeatureGraphicOrigin.d.ts +5 -2
  567. package/graphic/AnnotationFeatureGraphicOrigin.js +1 -1
  568. package/graphic/DimensionFeatureGraphicOrigin.js +1 -1
  569. package/graphic/graphicOrigins.js +1 -1
  570. package/graphic/isAnnotationFeatureGraphicOrigin.d.ts +29 -0
  571. package/graphic/isAnnotationFeatureGraphicOrigin.js +2 -0
  572. package/graphic/isDimensionFeatureGraphicOrigin.d.ts +29 -0
  573. package/graphic/isDimensionFeatureGraphicOrigin.js +2 -0
  574. package/interfaces.d.ts +3 -3
  575. package/kernel.js +1 -1
  576. package/layers/AnnotationFeatureLayer.d.ts +73 -0
  577. package/layers/AnnotationFeatureLayer.js +1 -1
  578. package/layers/FeatureLayer.d.ts +7 -4
  579. package/layers/FeatureLayer.js +1 -1
  580. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  581. package/layers/ParquetLayer.js +1 -1
  582. package/layers/SubtypeGroupLayer.d.ts +7 -4
  583. package/layers/SubtypeGroupLayer.js +1 -1
  584. package/layers/graphics/applyEditsUtils.js +1 -1
  585. package/layers/graphics/data/QueryEngine.js +1 -1
  586. package/layers/graphics/sources/FeatureLayerSource.js +1 -1
  587. package/layers/graphics/sources/MemorySource.js +1 -1
  588. package/layers/graphics/sources/ParquetSource.js +1 -1
  589. package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
  590. package/layers/mixins/OperationalLayer.js +1 -1
  591. package/layers/orientedImagery/core/coverageUtils.js +1 -1
  592. package/layers/orientedImagery/transformations/utils.js +1 -1
  593. package/layers/support/{AnnotationSublayer.d.ts → AnnotationFeatureSublayer.d.ts} +12 -12
  594. package/layers/support/AnnotationFeatureSublayer.js +2 -0
  595. package/layers/support/EditingCapabilities.js +1 -1
  596. package/layers/support/ExportImageServiceParameters.js +1 -1
  597. package/layers/support/ParquetPortalItemData.js +1 -1
  598. package/layers/support/SubtypeSublayer.d.ts +7 -4
  599. package/layers/support/SubtypeSublayer.js +1 -1
  600. package/layers/support/featureLayerUtils.js +1 -1
  601. package/layers/support/layersMapping.js +1 -1
  602. package/networks/UtilityNetwork.js +1 -1
  603. package/package.json +4 -4
  604. package/popup/Feature.d.ts +57 -6
  605. package/popup/Features.d.ts +86 -7
  606. package/popup/content/UtilityNetworkAssociationsContent.d.ts +0 -1
  607. package/popup/support/UtilityNetworkAssociationType.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/TextureManager.js +1 -1
  628. package/views/2d/engine/webgl/shaderGraph/techniques/FeatureInstanceStore.js +1 -1
  629. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
  630. package/views/2d/engine/webgl/shaderGraph/techniques/animated/AnimatedMarkerMeshWriter.js +1 -1
  631. package/views/2d/engine/webgl/shaderGraph/techniques/animated/attributes.js +1 -1
  632. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/MeshWriterVertexPack.js +1 -1
  633. package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueBackground.js +1 -1
  634. package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
  635. package/views/2d/engine/webgl/util/AnnotationMatcher.js +1 -1
  636. package/views/2d/layers/features/layerAdapters/AnnotationLayerAdapter.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/interactive/visualElements/DrapedVisualElementResources.js +1 -1
  654. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  655. package/views/3d/layers/graphics/Graphics3DCore.js +1 -1
  656. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  657. package/views/3d/layers/graphics/Graphics3DSymbol.js +1 -1
  658. package/views/3d/layers/graphics/SymbolComplexity.js +1 -1
  659. package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
  660. package/views/3d/support/QualityProfile.js +1 -1
  661. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechnique.js +1 -1
  662. package/views/3d/webgl-engine/core/shaderLibrary/ShaderOutput.js +1 -1
  663. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathEvaluate.glsl.js +14 -6
  664. package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +2 -1
  665. package/views/3d/webgl-engine/core/shaderLibrary/shading/Gamma.glsl.js +2 -2
  666. package/views/3d/webgl-engine/core/shaderLibrary/util/EmissionDimming.glsl.js +1 -1
  667. package/views/3d/webgl-engine/core/shaderTechnique/ShaderTechniqueRepository.js +1 -1
  668. package/views/3d/webgl-engine/effects/blit/Blit.js +1 -1
  669. package/views/3d/webgl-engine/effects/fog/FogTechniqueConfiguration.js +1 -1
  670. package/views/3d/webgl-engine/effects/globalIllumination/GlobalIlluminationBlur.glsl.js +1 -1
  671. package/views/3d/webgl-engine/effects/glow/Glow.js +1 -1
  672. package/views/3d/webgl-engine/effects/glow/GlowBlurTechniqueConfiguration.js +1 -1
  673. package/views/3d/webgl-engine/effects/glow/GlowCompositionTechniqueConfiguration.js +1 -1
  674. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  675. package/views/3d/webgl-engine/effects/transparency/OITBlend.glsl.js +1 -1
  676. package/views/3d/webgl-engine/effects/transparency/OITBlend.js +1 -1
  677. package/views/3d/webgl-engine/effects/transparency/OITBlendEmission.glsl.js +1 -1
  678. package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechnique.js +1 -1
  679. package/views/3d/webgl-engine/effects/transparency/OITBlendFragmentTechniqueConfiguration.js +2 -0
  680. package/views/3d/webgl-engine/effects/transparency/OITBlendTechnique.js +1 -1
  681. package/views/3d/webgl-engine/effects/transparency/OITBlendTechniqueConfiguration.js +1 -1
  682. package/views/3d/webgl-engine/effects/transparency/OITDimOpaque.glsl.js +1 -1
  683. package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechnique.js +1 -1
  684. package/views/3d/webgl-engine/effects/transparency/oitBlendFragment.glsl.js +2 -0
  685. package/views/3d/webgl-engine/lib/GaussianSplatRenderNode.js +1 -1
  686. package/views/3d/webgl-engine/lib/Material.js +1 -1
  687. package/views/3d/webgl-engine/lib/OrderIndependentTransparency.js +1 -1
  688. package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
  689. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  690. package/views/3d/webgl-engine/lib/lodRendering/LodComponentData.js +1 -1
  691. package/views/3d/webgl-engine/lib/lodRendering/LodLevel.js +1 -1
  692. package/views/3d/webgl-engine/lib/lodRendering/LodRenderer.js +1 -1
  693. package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
  694. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  695. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  696. package/views/3d/webgl-engine/materials/PathTechnique.js +1 -1
  697. package/views/3d/webgl-engine/materials/PatternMaterial.js +1 -1
  698. package/views/3d/webgl-engine/materials/PolygonOffset.js +1 -1
  699. package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
  700. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  701. package/views/3d/webgl-engine/shaders/GaussianSplatCompositionTechniqueConfiguration.js +1 -1
  702. package/views/3d/webgl-engine/shaders/HUDMaterialTechnique.js +1 -1
  703. package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +6 -7
  704. package/views/3d/webgl-engine/shaders/ditherNoise.glsl.js +1 -1
  705. package/views/3d/webgl-engine/shaders/oitResolution.glsl.js +1 -1
  706. package/views/LinkChartView.d.ts +3 -1
  707. package/views/View2D.d.ts +5 -4
  708. package/views/draw/support/editingSessionUtils.js +1 -1
  709. package/views/interactive/snapping/SnappingManager.js +1 -1
  710. package/views/interactive/snapping/candidates/dehydrated/{DehydratedVertexSnappingCandidate.js → DehydratedFeatureSnappingCandidate.js} +1 -1
  711. package/webdoc/support/writeUtils.js +1 -1
  712. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +10 -3
  713. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
  714. package/widgets/BatchAttributeForm/attachmentUtils.d.ts +9 -0
  715. package/widgets/BatchAttributeForm/attachmentUtils.js +1 -1
  716. package/widgets/BatchAttributeForm/batchAttributeFormUtils.js +1 -1
  717. package/widgets/BatchAttributeForm/css.js +1 -1
  718. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.d.ts +3 -3
  719. package/widgets/BatchAttributeForm/inputs/AttachmentElementInput.js +1 -1
  720. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.js +1 -1
  721. package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
  722. package/widgets/BatchAttributeForm/inputs/GroupInput.js +1 -1
  723. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  724. package/widgets/BatchAttributeForm/inputs/RelationshipElementInput.js +1 -1
  725. package/widgets/BatchAttributeForm/inputs/support/attachmentValidationCriteriaState.d.ts +1 -1
  726. package/widgets/BatchAttributeForm/inputs/support/createBatchFormInputs.js +1 -1
  727. package/widgets/BatchAttributeForm/interfaceUtils.js +1 -1
  728. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  729. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  730. package/widgets/BatchAttributeForm/types.d.ts +92 -7
  731. package/widgets/BatchAttributeForm.js +1 -1
  732. package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
  733. package/widgets/Editor/CreateFeaturesWorkflowData.js +1 -1
  734. package/widgets/Editor/EditorViewModel.d.ts +1 -1
  735. package/widgets/Editor/EditorViewModel.js +1 -1
  736. package/widgets/Editor/Edits.js +1 -1
  737. package/widgets/Editor/MergeFeaturesWorkflow.js +1 -1
  738. package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
  739. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  740. package/widgets/Editor/UpdateFeaturesWorkflow.js +1 -1
  741. package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
  742. package/widgets/Editor/UpdateWorkflow.js +1 -1
  743. package/widgets/Editor/UpdateWorkflowData.js +1 -1
  744. package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
  745. package/widgets/Editor/support/EditorItem.js +1 -1
  746. package/widgets/Editor/support/SketchController.js +1 -1
  747. package/widgets/Editor/support/attachmentUtils.js +2 -0
  748. package/widgets/Editor/workflowUtils.js +1 -1
  749. package/widgets/Editor.js +1 -1
  750. package/widgets/Feature/FeatureViewModel.d.ts +0 -1
  751. package/widgets/FeatureForm/UtilityNetworkAssociationInput.d.ts +0 -1
  752. package/widgets/Features/FeaturesViewModel.d.ts +0 -1
  753. package/widgets/Features/FeaturesViewModel.js +1 -1
  754. package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
  755. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  756. package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
  757. package/widgets/OrientedImageryViewer/components/OrientedImageryVideoViewModel.js +1 -1
  758. package/widgets/OrientedImageryViewer.js +1 -1
  759. package/widgets/Popup.js +1 -1
  760. package/widgets/Print/PrintViewModel.d.ts +11 -1
  761. package/widgets/Print/PrintViewModel.js +1 -1
  762. package/widgets/Sketch/SketchViewModel.d.ts +10 -1
  763. package/widgets/Sketch/SketchViewModel.js +1 -1
  764. package/widgets/Sketch.js +1 -1
  765. package/widgets/UtilityNetworkTrace/UtilityNetworkTraceViewModel.js +1 -1
  766. package/widgets/UtilityNetworkTrace/support/GeometryHandler.js +1 -1
  767. package/assets/components/assets/icon/orientedImageryFullSuperimpose16.json +0 -1
  768. package/assets/components/assets/icon/orientedImageryFullSuperimpose24.json +0 -1
  769. package/assets/components/assets/icon/orientedImageryFullSuperimpose32.json +0 -1
  770. package/assets/components/assets/icon/orientedImageryHalfSuperimpose16.json +0 -1
  771. package/assets/components/assets/icon/orientedImageryHalfSuperimpose24.json +0 -1
  772. package/assets/components/assets/icon/orientedImageryHalfSuperimpose32.json +0 -1
  773. package/assets/components/assets/icon/orientedImagerySceneOnly16.json +0 -1
  774. package/assets/components/assets/icon/orientedImagerySceneOnly24.json +0 -1
  775. package/assets/components/assets/icon/orientedImagerySceneOnly32.json +0 -1
  776. package/assets/components/assets/icon/parquetFeatureLayer16.json +0 -1
  777. package/assets/components/assets/icon/parquetFeatureLayer24.json +0 -1
  778. package/assets/components/assets/icon/parquetFeatureLayer32.json +0 -1
  779. package/assets/esri/core/workers/chunks/013708f40f811158d42c.js +0 -1
  780. package/assets/esri/core/workers/chunks/03354e9256b2f77fd4f2.js +0 -1
  781. package/assets/esri/core/workers/chunks/0826d36dfbfa28442b70.js +0 -1
  782. package/assets/esri/core/workers/chunks/0cbd7f5fe24271942abd.js +0 -1
  783. package/assets/esri/core/workers/chunks/0ded58ccb83f624f1460.js +0 -1
  784. package/assets/esri/core/workers/chunks/0ecc1bc1686844cdd60e.js +0 -1
  785. package/assets/esri/core/workers/chunks/152f1c08197955224ad3.js +0 -1
  786. package/assets/esri/core/workers/chunks/174cc2e69e5b5a13d880.js +0 -1
  787. package/assets/esri/core/workers/chunks/181e948d076a9a7aae8a.js +0 -1
  788. package/assets/esri/core/workers/chunks/18e7784f13a57a75585a.js +0 -1
  789. package/assets/esri/core/workers/chunks/1a95370ddc22729ab3c6.js +0 -1
  790. package/assets/esri/core/workers/chunks/1c8436b27a3d3cde5cfc.js +0 -1
  791. package/assets/esri/core/workers/chunks/1dacc0b64bd27ce2de3a.js +0 -1
  792. package/assets/esri/core/workers/chunks/1eeb1edca0ad5db6917c.js +0 -1
  793. package/assets/esri/core/workers/chunks/1f289aa69dd6b6be534a.js +0 -1
  794. package/assets/esri/core/workers/chunks/20c729fca2e4b4c6b28d.js +0 -1
  795. package/assets/esri/core/workers/chunks/2185e8a52c5e29d46680.js +0 -1
  796. package/assets/esri/core/workers/chunks/23d50c4478f40a7d62bf.js +0 -1
  797. package/assets/esri/core/workers/chunks/2623cd08487fdc9a94f1.js +0 -1
  798. package/assets/esri/core/workers/chunks/26583db2af1a1cc456e5.js +0 -1
  799. package/assets/esri/core/workers/chunks/27c6def22c2b0791ce9e.js +0 -1
  800. package/assets/esri/core/workers/chunks/2b00229c238aae70b948.js +0 -1
  801. package/assets/esri/core/workers/chunks/2b814bb51704a5b4fdc2.js +0 -30
  802. package/assets/esri/core/workers/chunks/2c3fc2805f6de0963789.js +0 -1
  803. package/assets/esri/core/workers/chunks/2d2895f1fdf44d212a4d.js +0 -1
  804. package/assets/esri/core/workers/chunks/2e6382d50bf012064eae.js +0 -1
  805. package/assets/esri/core/workers/chunks/30f1909c5ef1835b8507.js +0 -1
  806. package/assets/esri/core/workers/chunks/3172d7fc23787a287191.js +0 -1
  807. package/assets/esri/core/workers/chunks/3248001d9dfb9153699e.js +0 -1
  808. package/assets/esri/core/workers/chunks/33b4f5dfe1a16b59b010.js +0 -1
  809. package/assets/esri/core/workers/chunks/36dac6ab51d9dbdd091d.js +0 -1
  810. package/assets/esri/core/workers/chunks/39596715e84d0da2f803.js +0 -30
  811. package/assets/esri/core/workers/chunks/398eb3100a282e4736bb.js +0 -1
  812. package/assets/esri/core/workers/chunks/39974d1e5d3820ef1680.js +0 -1
  813. package/assets/esri/core/workers/chunks/426b8e1e2eef2460851d.js +0 -1
  814. package/assets/esri/core/workers/chunks/4301cb9670fa7c907460.js +0 -1
  815. package/assets/esri/core/workers/chunks/4376bc2934a996d8bc27.js +0 -1
  816. package/assets/esri/core/workers/chunks/44e52fe98ffafe6a2807.js +0 -1
  817. package/assets/esri/core/workers/chunks/493a0981e90a5799fb5b.js +0 -1
  818. package/assets/esri/core/workers/chunks/4c54cb80c4dc9bbbd395.js +0 -1
  819. package/assets/esri/core/workers/chunks/4d09ef7c57ab7f9782fe.js +0 -1
  820. package/assets/esri/core/workers/chunks/4e788fc6cb2ea936f676.js +0 -1
  821. package/assets/esri/core/workers/chunks/5022413f5a41b5d435ea.js +0 -1
  822. package/assets/esri/core/workers/chunks/5100b5a6a506c704dfaf.js +0 -1
  823. package/assets/esri/core/workers/chunks/5121768c70f1e03b685c.js +0 -1
  824. package/assets/esri/core/workers/chunks/5201105ca11a2d450460.js +0 -1
  825. package/assets/esri/core/workers/chunks/528ed0bd8dc149ead023.js +0 -1
  826. package/assets/esri/core/workers/chunks/52afd43bbe23e358efb5.js +0 -1
  827. package/assets/esri/core/workers/chunks/52f354bf80ee5ab0379a.js +0 -1
  828. package/assets/esri/core/workers/chunks/5359ff9492383c5bd9b1.js +0 -1
  829. package/assets/esri/core/workers/chunks/54d7f07e3348ddb6d9a2.js +0 -1
  830. package/assets/esri/core/workers/chunks/597aa39cdb5366ef9a74.js +0 -1
  831. package/assets/esri/core/workers/chunks/59dafa1e1340ea4043e6.js +0 -1
  832. package/assets/esri/core/workers/chunks/5aba23584e0b230c75f5.js +0 -1
  833. package/assets/esri/core/workers/chunks/5cb274e5759f7ca0d4ed.js +0 -1
  834. package/assets/esri/core/workers/chunks/62e77e3c5ca9b4887923.js +0 -2
  835. package/assets/esri/core/workers/chunks/64114a7d2da162987958.js +0 -1
  836. package/assets/esri/core/workers/chunks/65520a443e3811255bea.js +0 -1
  837. package/assets/esri/core/workers/chunks/65f02eca694cc1c9f5a7.js +0 -1
  838. package/assets/esri/core/workers/chunks/6821462e5c1e9c76010a.js +0 -1
  839. package/assets/esri/core/workers/chunks/684d3cb4fb233180b2d0.js +0 -1
  840. package/assets/esri/core/workers/chunks/6a3d207308b29651f397.js +0 -1
  841. package/assets/esri/core/workers/chunks/6d616b66fb32904b55a1.js +0 -1
  842. package/assets/esri/core/workers/chunks/6d696beddcc5fbed5875.js +0 -1
  843. package/assets/esri/core/workers/chunks/6f125b4ed06c0022dee6.js +0 -1
  844. package/assets/esri/core/workers/chunks/6f4825c3ef1fe202ab82.js +0 -1
  845. package/assets/esri/core/workers/chunks/6f5d61f734ec40dafabb.js +0 -1
  846. package/assets/esri/core/workers/chunks/6f7193b9ff5942c0d354.js +0 -1
  847. package/assets/esri/core/workers/chunks/70737052bab29fcaa120.js +0 -1
  848. package/assets/esri/core/workers/chunks/72d67cc3a382e83bf1a2.js +0 -1
  849. package/assets/esri/core/workers/chunks/737de87bfb9b5f5a9c6c.js +0 -1
  850. package/assets/esri/core/workers/chunks/7748743d4be047094d67.js +0 -1
  851. package/assets/esri/core/workers/chunks/78c53aeb0a408ab3c80c.js +0 -1
  852. package/assets/esri/core/workers/chunks/79f2d4b3af5776ec2045.js +0 -1
  853. package/assets/esri/core/workers/chunks/7a8ed08cd173963b3112.js +0 -1
  854. package/assets/esri/core/workers/chunks/7b5c1030a7cf0f382cc4.js +0 -1
  855. package/assets/esri/core/workers/chunks/7cadb872b9ca96eedca5.js +0 -1
  856. package/assets/esri/core/workers/chunks/7cee81c5aa1e6b7d2452.js +0 -1
  857. package/assets/esri/core/workers/chunks/7ed3d6c72f23c628df3b.js +0 -1
  858. package/assets/esri/core/workers/chunks/80f4f686ce403cb2693f.js +0 -1
  859. package/assets/esri/core/workers/chunks/8351012ceb466f01b8fd.js +0 -1
  860. package/assets/esri/core/workers/chunks/851705cf276eae8d4d37.js +0 -1
  861. package/assets/esri/core/workers/chunks/854c320af09b6afc4b80.js +0 -2
  862. package/assets/esri/core/workers/chunks/859bc873e7af911a518f.js +0 -1
  863. package/assets/esri/core/workers/chunks/882ee7ed8a3a0215f9b9.js +0 -1
  864. package/assets/esri/core/workers/chunks/8c443c52c846a096a250.js +0 -1
  865. package/assets/esri/core/workers/chunks/8e99f937fd36cf2cd05f.js +0 -1
  866. package/assets/esri/core/workers/chunks/93bd56396b8cd020f965.js +0 -1
  867. package/assets/esri/core/workers/chunks/94fac056e14caed09682.js +0 -1
  868. package/assets/esri/core/workers/chunks/957f7b8de4aecb6f644e.js +0 -1
  869. package/assets/esri/core/workers/chunks/97d2bdbea39cbcf8fd0f.js +0 -1
  870. package/assets/esri/core/workers/chunks/99101789035f1787c630.js +0 -1
  871. package/assets/esri/core/workers/chunks/9c6d34bb666f630d511f.js +0 -1
  872. package/assets/esri/core/workers/chunks/9d5f7573bfe3b051daf1.js +0 -1
  873. package/assets/esri/core/workers/chunks/a0208e35b217808777c4.js +0 -1
  874. package/assets/esri/core/workers/chunks/a0c00c6fe60db49b3ab9.js +0 -1
  875. package/assets/esri/core/workers/chunks/a320998f18922a35899f.js +0 -1
  876. package/assets/esri/core/workers/chunks/a4e9a17dacbb52444d75.js +0 -1
  877. package/assets/esri/core/workers/chunks/a5abba59e738c3240c22.js +0 -1
  878. package/assets/esri/core/workers/chunks/aae0049c2c3e15a813e8.js +0 -1
  879. package/assets/esri/core/workers/chunks/adc32f6b45ea3026fc34.js +0 -1
  880. package/assets/esri/core/workers/chunks/af31e62499d45bdab3c3.js +0 -1
  881. package/assets/esri/core/workers/chunks/af8ef6701631ed5e5b80.js +0 -1
  882. package/assets/esri/core/workers/chunks/b666027b9022fa346a79.js +0 -1
  883. package/assets/esri/core/workers/chunks/b73c146d3e550eaf07eb.js +0 -1
  884. package/assets/esri/core/workers/chunks/b803e7b0d489bb628d72.js +0 -1
  885. package/assets/esri/core/workers/chunks/b9935cc8e2bd4045058a.js +0 -1
  886. package/assets/esri/core/workers/chunks/bb24972603fb35dd8dcf.js +0 -1
  887. package/assets/esri/core/workers/chunks/bcc097271f5cdf0a97a7.js +0 -1
  888. package/assets/esri/core/workers/chunks/bdc66ef2b6ed783047d5.js +0 -1
  889. package/assets/esri/core/workers/chunks/c0cbc50e5afd68bd485c.js +0 -1
  890. package/assets/esri/core/workers/chunks/c2a65de34f6a6c89c652.js +0 -1
  891. package/assets/esri/core/workers/chunks/c3ff2ff0a86a9143d7a5.js +0 -1
  892. package/assets/esri/core/workers/chunks/c424a66f1546275e2bcb.js +0 -30
  893. package/assets/esri/core/workers/chunks/c6d0b4875b6b8d6bc25a.js +0 -1
  894. package/assets/esri/core/workers/chunks/c9a4601073e1a3eee9d0.js +0 -1
  895. package/assets/esri/core/workers/chunks/cf8ce21dc649021e97f6.js +0 -1
  896. package/assets/esri/core/workers/chunks/d2f47f21ce0b0ab4da17.js +0 -262
  897. package/assets/esri/core/workers/chunks/d5c35a75fd4c41def420.js +0 -1
  898. package/assets/esri/core/workers/chunks/d78b7cac322755e87eb8.js +0 -1
  899. package/assets/esri/core/workers/chunks/dbd2bfcbf3e0f86f07b8.js +0 -1
  900. package/assets/esri/core/workers/chunks/dddb57ff637643ccfc87.js +0 -1
  901. package/assets/esri/core/workers/chunks/df18b0a653b328d8d052.js +0 -1
  902. package/assets/esri/core/workers/chunks/df54e741db40b308c2dd.js +0 -2
  903. package/assets/esri/core/workers/chunks/e1bf87077541da6853c6.js +0 -1
  904. package/assets/esri/core/workers/chunks/e33d2ede6c9f1527d51b.js +0 -1
  905. package/assets/esri/core/workers/chunks/e3b713a590cce6245ee2.js +0 -1
  906. package/assets/esri/core/workers/chunks/e4406baf206b9e4c7e4f.js +0 -1
  907. package/assets/esri/core/workers/chunks/e499252cb52f7aed49a0.js +0 -1
  908. package/assets/esri/core/workers/chunks/e4e2f479c0c45ae1b2c3.js +0 -1
  909. package/assets/esri/core/workers/chunks/e656fd5ecf9ac059a87b.js +0 -1
  910. package/assets/esri/core/workers/chunks/e77df11aee136d64ff0f.js +0 -1
  911. package/assets/esri/core/workers/chunks/e912b515704e20313e53.js +0 -1
  912. package/assets/esri/core/workers/chunks/e92698f50089484c4901.js +0 -1
  913. package/assets/esri/core/workers/chunks/e9c5c295b6bf10e942a4.js +0 -1
  914. package/assets/esri/core/workers/chunks/eac683a37339aa558455.js +0 -1
  915. package/assets/esri/core/workers/chunks/ed3d16a5b4084ef61f8a.js +0 -1
  916. package/assets/esri/core/workers/chunks/edcde00495727d506c46.js +0 -1
  917. package/assets/esri/core/workers/chunks/efb4aa5886730ea377bd.js +0 -1
  918. package/assets/esri/core/workers/chunks/f116331c6eca937aac8e.js +0 -1
  919. package/assets/esri/core/workers/chunks/f334bf192dff5af10a70.js +0 -1
  920. package/assets/esri/core/workers/chunks/f518835b2dc89a48cfb1.js +0 -1
  921. package/assets/esri/core/workers/chunks/f5731ad4cfbbf1cc569a.js +0 -2
  922. package/assets/esri/core/workers/chunks/f590db684d88e72bd79b.js +0 -1
  923. package/assets/esri/core/workers/chunks/f76b1fc36f5606cac2c8.js +0 -1
  924. package/assets/esri/core/workers/chunks/f7fca88d120d45bb782a.js +0 -1
  925. package/assets/esri/core/workers/chunks/f819854098d63fe4ccdb.js +0 -1
  926. package/assets/esri/core/workers/chunks/f98118127469449ca145.js +0 -1
  927. package/assets/esri/core/workers/chunks/f9e22cf59e2e2782d70f.js +0 -1
  928. package/assets/esri/core/workers/chunks/fa3faec65882c5b6f1a0.js +0 -1
  929. package/assets/esri/core/workers/chunks/fbe7dae0b4bf2d172487.js +0 -1
  930. package/chunks/Bufferer-Dw9Qi4T1.js +0 -2
  931. package/chunks/Distance2DCalculator-CXhBP-8I.js +0 -2
  932. package/chunks/GeodeticDistanceCalculator-Ce-woMPw.js +0 -2
  933. package/layers/support/AnnotationSublayer.js +0 -2
  934. package/views/3d/analysis/LineOfSight/LineOfSightPlacementTool.js +0 -2
  935. package/views/3d/webgl-engine/effects/transparency/OITBlendEmissionTechniqueConfiguration.js +0 -2
  936. package/views/3d/webgl-engine/effects/transparency/OITDimOpaqueTechniqueConfiguration.js +0 -2
  937. /package/assets/esri/core/workers/chunks/{d9d4754062758789f186.js.LICENSE.txt → 05016e5a1de384994001.js.LICENSE.txt} +0 -0
  938. /package/assets/esri/core/workers/chunks/{62e77e3c5ca9b4887923.js.LICENSE.txt → 0d42322362e76f674d94.js.LICENSE.txt} +0 -0
  939. /package/assets/esri/core/workers/chunks/{df54e741db40b308c2dd.js.LICENSE.txt → 35533c8ef541f7643497.js.LICENSE.txt} +0 -0
  940. /package/assets/esri/core/workers/chunks/{854c320af09b6afc4b80.js.LICENSE.txt → 99c002015c2127e6cbfc.js.LICENSE.txt} +0 -0
  941. /package/assets/esri/core/workers/chunks/{f5731ad4cfbbf1cc569a.js.LICENSE.txt → c318e6dbb8651433038f.js.LICENSE.txt} +0 -0
  942. /package/chunks/{Centroid-DZi-eb9F.js → Centroid-CA-TwbbN.js} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2600,3202,3821,4342,7548],{47423(e,t,r){r.r(t),r.d(t,{constructAssociationMetaDataFeatureSetFromUrl:()=>q,constructFeatureSet:()=>z,constructFeatureSetFromPortalItem:()=>Q,constructFeatureSetFromRelationship:()=>N,constructFeatureSetFromUrl:()=>P,convertToFeatureSet:()=>$,createFeatureSetCollectionFromMap:()=>G,createFeatureSetCollectionFromService:()=>B,initialiseMetaDataCache:()=>O});var i=r(11254);class n{constructor(){this.declaredRootClass="esri.arcade.featureSetCollection"}castToText(e=!1){return"object, FeatureSetCollection"}}var s=r(78878),a=r(35704),l=r(70333),o=r(48938),u=r(61454),c=r(66395),d=r(87449),h=r(11221),p=r(33325),f=r(80609),y=r(50145),m=r(4576),g=r(80200),_=r(39516),w=r(89696),b=r(53781),I=r(17126),S=r(54546),M=r(97552),F=r(7562);function v(e,t){null==e.clause&&(e.clause=function(e){if(0===e.length)throw new d.dr("NeverReach");const t=[];for(let r=0;r<e.length;r++){const i=e[r],n=[`"${i.name.replaceAll('"','""')}" ${i.asc?">":"<"} @last_${r}`];for(let t=0;t<r;t++){const r=e[t];n.push(`"${r.name.replaceAll('"','""')}" = @last_${t}`)}t.push(n.join(" AND "))}const r=t.join(" OR ");return w.A.create(r)}(e.keyFields));for(let r=0;r<e.keyFields.length;r++){const i=e.keyFields[r].name;e.clause.parameters[`last_${r}`]=t.attributes[i]}}class C extends h.Jn{constructor(e){super(),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerDynamic",this._removeGeometry=!1,this._overrideFields=null,this._requestStandardised=!1,this._useDefinitionExpression=!0,this._recentlyUsedQueries=null,this._featureSetQueryInterceptor=null,this._featureSetInfo=null,this._maxProcessing=1e3,this._layer=e.layer,e.spatialReference&&(this.spatialReference=e.spatialReference),void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry),e.lrucache&&(this._recentlyUsedQueries=e.lrucache),e.interceptor&&(this._featureSetQueryInterceptor=e.interceptor)}_maxQueryRate(){return p.gO}get urlQueryPath(){return this._layer.parsedUrl.path||""}convertQueryToLruCacheKey(e){const t=this.urlQueryPath+","+(0,p.JB)(e.toJSON());return(0,g.d)(t,g.T.String)}async loadImpl(){return!0===this._layer.loaded?(this._initialiseFeatureSet(),this):(await this._layer.load(),this._initialiseFeatureSet(),this)}_initialiseFeatureSet(){if(this.spatialReference??=this._layer.spatialReference,this.geometryType=this._layer.geometryType??"",this.fields=this._layer.fields.slice(),this.hasZ=!0===this._layer.capabilities?.data?.supportsZ,this.hasM=!0===this._layer.capabilities?.data?.supportsM,null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=new Set(this._overrideFields.map(e=>e.toLowerCase()));this.fields=this.fields.filter(({type:t,name:r})=>"oid"===t||e.has(r.toLowerCase())),this._overrideFields=this.fields.map(({name:e})=>e)}if(this._layer.source&&this._layer.source.sourceJSON){const e=this._layer.source.sourceJSON.currentVersion;!0===this._layer.source.sourceJSON.useStandardizedQueries?(this._databaseType=1,null!=e&&e>=10.61&&(this._databaseType=0)):null!=e&&(e>=10.5&&(this._databaseType=1,this._requestStandardised=!0),e>=10.61&&(this._databaseType=0))}this.objectIdField=this._layer.objectIdField;for(const e of this.fields)"global-id"===e.type&&(this.globalIdField=e.name);this.subtypeField=this._layer.subtypeField??"",this.subtypes=this._layer.subtypes,this.typeIdField=("typeIdField"in this._layer?this._layer.typeIdField:null)??"",this.types="types"in this._layer?this._layer.types:null}async _runDatabaseProbe(e){await this._ensureLoaded();const t=new M.A;this.datesInUnknownTimezone&&(t.timeReferenceUnknownClient=!0),t.where=e.replace("OBJECTID",this._layer.objectIdField);try{return await this._layer.queryObjectIds(t),!0}catch{return!1}}_canUsePagination(){return!(!this._layer.capabilities||!this._layer.capabilities.query||!0!==this._layer.capabilities.query.supportsPagination)}_cacheableFeatureSetSourceKey(){return this._layer.url}get gdbVersion(){return this._layer&&this._layer.capabilities&&this._layer.capabilities.data&&this._layer.capabilities.data.isVersioned?this._layer.gdbVersion||"SDE.DEFAULT":""}nativeCapabilities(){return{title:this._layer.title??"",source:this,canQueryRelated:!0,capabilities:this._layer.capabilities,databaseType:this._databaseType,requestStandardised:this._requestStandardised}}async _queryAll(){return(await this.query({abortSignal:o._})).features}async query(e){return await this._ensureLoaded(),this.isTable()&&null!=e.spatialFilter?h.An:this._canUsePagination()?this._queryUsingPaging(e):this._queryUsingIdSetTraversal(e)}async _queryUsingPaging(e){const t=this._layer.capabilities.query;let r=!0,i=null,n=!1;null!=e.orderBy&&(t.supportsOrderBy?(i=e.orderBy.toOrderByFields(),n=!0):r=!1);const s=await this.databaseType(),a=null==e.where?null==e.spatialFilter?"1=1":"":(0,f.YY)(e.where,s),l=!0!==this._removeGeometry,o=this._overrideFields??this._fieldsIncludingObjectId(["*"]),u=o.includes("*")?this._layer.fields.length:o.length,c=(this.isTable()||!l?t.standardMaxRecordCountNoGeometry:void 0)??t.standardMaxRecordCount??t.maxRecordCount??this._maxQueryRate(),d=u<=50?1:u<=100?.5:u<=200?.25:.125,h=Math.max(Math.ceil(c*d),t.maxRecordCount??this._maxQueryRate()),p=this._createQuery();return p.where=(0,_.mA)(p.where,a),null!=e.spatialFilter&&(p.spatialRelationship=this._makeRelationshipEnum(e.spatialFilter.relation),p.relationParameter=this._makeRelationshipParam(e.spatialFilter.relation),p.geometry=e.spatialFilter.geometry),p.orderByFields=i,p.outFields=o,p.returnGeometry=l,p.outSpatialReference=this.spatialReference,p.resultType="standard",{ordered:n,filterApplied:!0,spatialFilterApplied:!0,features:this._queryPaginated(p,h,r?e.limit:null,e.abortSignal)}}async*_queryPaginated(e,t,r,i){let n;e.num=null!=r?Math.min(r,t):t,e.start=0;do{(0,d.dZ)(i),n=await this.executeQuery(e,"execute"),yield*(0,m.Ho)(n.features,this._maxQueryRate()),e.start+=n.features.length,e.num=null!=r?Math.min(r-e.start,t):t}while(e.num>0&&!0===n.exceededTransferLimit)}async _queryUsingIdSetTraversal(e){let t=!0,r=null,i=!1;null!=e.orderBy&&(this._layer.capabilities?.query?.supportsOrderBy?(r=e.orderBy.toOrderByFields(),i=!0):t=!1);const n=await this.databaseType(),s=null==e.where?null==e.spatialFilter?"1=1":"":(0,f.YY)(e.where,n),a=this._createQuery();a.where=(0,_.mA)(a.where,s),null!=e.spatialFilter&&(a.spatialRelationship=this._makeRelationshipEnum(e.spatialFilter.relation),a.relationParameter=this._makeRelationshipParam(e.spatialFilter.relation),a.geometry=e.spatialFilter.geometry),a.orderByFields=r,a.outSpatialReference=this.spatialReference,a.num=t?e.limit:null;const l=await this.executeQuery(a,"executeForIds");if((0,d.dZ)(e.abortSignal),null==l||l.length<=0)return h.An;let o=this._maxQueryRate();const u=this._layer.capabilities?.query.maxRecordCount;null!=u&&u<o&&(o=u);const c=this._createQuery();return a.outFields=this._overrideFields??this._fieldsIncludingObjectId(["*"]),a.returnGeometry=!0!==this._removeGeometry,a.outSpatialReference=this.spatialReference,{ordered:i,filterApplied:!0,spatialFilterApplied:!0,features:this._traverseIdSet(c,l,o,e.abortSignal)}}async*_traverseIdSet(e,t,r,i){for(let n=0;n<t.length;n+=r){e.objectIds=t.slice(n,n+r),(0,d.dZ)(i);const s=await this.executeQuery(e,"execute");yield s.features}}async queryStat(e){await this._ensureLoaded();const t=this._layer.capabilities?.query,r=!!t?.supportsSqlExpression,i=!!t?.supportsStatistics,n=!!t?.supportsDistinct,s=(0,y.Dp)(e.stat);if("count"===s)return n?this._queryCount(e):{calculated:!1};const a=e.field;if(null==a)return{calculated:!1};if(!1===i||!1===(0,f.DA)(a)&&!1===r||!1===a.isStandardized)return null!=e.spatialFilter||null!=e.where?{calculated:!1}:this._manualStat(e.stat,a,e.limit??p.gO,e.abortSignal);if("distinct"===s)return!1===n?null!=e.spatialFilter||null!=e.where?{calculated:!1}:this._manualStat(s,a,e.limit??p.gO,e.abortSignal):{calculated:!1};const l=await this.databaseType();if(this.isTable()&&null!=e.spatialFilter)return{calculated:!0,result:null};const o=this._createQuery();o.where=(0,_.mA)(o.where,null==e.where?null==e.spatialFilter?"1=1":"":(0,f.YY)(e.where,l)),null!=e.spatialFilter&&(o.spatialRelationship=this._makeRelationshipEnum(e.spatialFilter.relation),o.relationParameter=this._makeRelationshipParam(e.spatialFilter.relation),o.geometry=e.spatialFilter.geometry);const u=new F.A;u.statisticType=s,u.onStatisticField=(0,f.YY)(a,l),u.outStatisticFieldName="ARCADE_STAT_RESULT",o.returnGeometry=!1;let c="ARCADE_STAT_RESULT";o.outStatistics=[u];const h=await this.executeQuery(o,"execute");if(!h.hasOwnProperty("features")||0===h.features.length)throw new d.dr("InvalidStatResponse");let m=!1;const g=h.fields??[];for(const e of g)if("ARCADE_STAT_RESULT"===e.name.toUpperCase()){c=e.name,"esriFieldTypeDate"===e.type&&(m=!0);break}const w=h.features[0].attributes[c];return{calculated:!0,result:m&&null!=w?new Date(w):w}}async _queryCount(e){const t=await this.databaseType();if(this.isTable()&&null!=e.spatialFilter)return{calculated:!0,result:0};const r=this._createQuery();return r.where=(0,_.mA)(r.where,null==e.where?null==e.spatialFilter?"1=1":"":(0,f.YY)(e.where,t)),null!=e.spatialFilter&&(r.spatialRelationship=this._makeRelationshipEnum(e.spatialFilter.relation),r.relationParameter=this._makeRelationshipParam(e.spatialFilter.relation),r.geometry=e.spatialFilter.geometry),r.returnGeometry=!1,{calculated:!0,result:await this.executeQuery(r,"executeForCount")}}async canQueryAggregate(e){await this._ensureLoaded();let t=!1;const r=this._layer.capabilities?.query,i=!0===r?.supportsSqlExpression;if(null!=r&&!0===r.supportsStatistics&&!0===r.supportsOrderBy&&(t=!0),t)for(const r of e.statistics)(!1===r.workingexpr?.isStandardized||!1===(0,f.DA)(r.workingexpr)&&!1===i)&&(t=!1);return t}async queryAggregate(e){if(await this._ensureLoaded(),this.isTable()&&null!=e.spatialFilter)return h.An;const t=await this.databaseType(),r=e.groupBy,i=e.orderBy;let n=null;if(!this._layer.capabilities.query.supportsPaginationOnAggregatedQueries){const e=this.getFieldsIndex();n={keyFields:r.map((t,r)=>({name:e.normalizeFieldName(t)??t,asc:null==i||1===i._directions[r]}))}}let s=null,a=!1;null!=i&&!0===this._layer.capabilities?.query?.supportsOrderBy&&(null==n||(0,m.MJ)(r,0,r.length,i._fields,0,Math.min(i._fields.length,r.length),(e,t)=>e.toLowerCase()===t.toLowerCase()))&&(s=i.toOrderByFields(),a=!0),null==s&&(s=r.slice());const l=e.statistics.map(e=>new F.A({onStatisticField:null!==e.workingexpr?(0,f.YY)(e.workingexpr,t):"",outStatisticFieldName:e.field,statisticType:e.toStatisticsName()}));let o=this._maxQueryRate();const u=this._layer.capabilities?.query.maxRecordCount;null!=u&&u<o&&(o=u);const c=null==e.where?null==e.spatialFilter?"1=1":"":(0,f.YY)(e.where,t),d=this._createQuery();return d.where=(0,_.mA)(d.where,c),null!=e.spatialFilter&&(d.spatialRelationship=this._makeRelationshipEnum(e.spatialFilter.relation),d.relationParameter=this._makeRelationshipParam(e.spatialFilter.relation),d.geometry=e.spatialFilter.geometry),d.orderByFields=s,d.outFields=["*"],d.outStatistics=l,d.groupByFieldsForStatistics=r,d.returnGeometry=!1,null==n?{filterApplied:!0,spatialFilterApplied:!0,ordered:a,features:this._queryPaginated(d,o,null,e.abortSignal)}:{filterApplied:!0,spatialFilterApplied:!0,ordered:a,features:this._queryKeysetPaginated(d,n,e.abortSignal)}}async*_queryKeysetPaginated(e,t,r){const i=e.where;for(;;){if(null!=t.clause){if(!this._layer.capabilities.query.supportsOrderBy)throw new d.dr("NotImplemented");e.where=(0,_.mA)(i,(0,f.YY)(t.clause,await this.databaseType()))}const n=await this.executeQuery(e,"execute");if((0,d.dZ)(r),!n.hasOwnProperty("features"))throw new d.dr("InvalidStatResponse");if(yield n.features,0===n.features.length||!0!==n.exceededTransferLimit)break;v(t,n.features.at(-1))}}_createQuery(){const e=this._layer.createQuery();return e.returnZ=this.hasZ,e.returnM=this.hasM,this.datesInUnknownTimezone&&(e.timeReferenceUnknownClient=!0),this._requestStandardised&&(e.sqlFormat="standard"),this._useDefinitionExpression?"subtype-group"===this._layer.type&&(e.where=this._layer.definitionExpression):e.where=null,e}executeQuery(e,t){const r="execute"===t?async e=>{const t=await this._layer.source.queryFeaturesJSON(e);return(0,h.Rn)(t.features,t.spatialReference??this.spatialReference.toJSON()),t}:"executeForCount"===t?this._layer.queryFeatureCount.bind(this._layer):this._layer.queryObjectIds.bind(this._layer);let i=null;if(this._recentlyUsedQueries){const t=this.convertQueryToLruCacheKey(e);i=this._recentlyUsedQueries.getFromCache(t),null===i&&(i=r(e),this._recentlyUsedQueries.addToCache(t,i),i=i.catch(e=>{throw this._recentlyUsedQueries?.removeFromCache(t),e}))}return this._featureSetQueryInterceptor&&this._featureSetQueryInterceptor.preLayerQueryCallback({layer:this._layer,query:e,method:t}),null===i&&(i=r(e)),i}_fieldsIncludingObjectId(e){if(null===e)return[this.objectIdField];const t=e.slice();if(t.includes("*"))return t;let r=!1;for(const e of t)if(e.toUpperCase()===this.objectIdField.toUpperCase()){r=!0;break}return r||t.push(this.objectIdField),t}isTable(){return this._layer.isTable||null===this._layer.geometryType||"table"===this._layer.type||""===this._layer.geometryType||"esriGeometryNull"===this._layer.geometryType}_makeRelationshipEnum(e){if(e.includes("esriSpatialRelRelation"))return"relation";switch(e){case"esriSpatialRelRelation":return"relation";case"esriSpatialRelIntersects":return"intersects";case"esriSpatialRelContains":return"contains";case"esriSpatialRelOverlaps":return"overlaps";case"esriSpatialRelWithin":return"within";case"esriSpatialRelTouches":return"touches";case"esriSpatialRelCrosses":return"crosses";case"esriSpatialRelEnvelopeIntersects":return"envelope-intersects"}return e}_makeRelationshipParam(e){return e.includes("esriSpatialRelRelation")?e.split(":")[1]:""}static create(e,t,r,i,n){const s=new b.default({url:e,outFields:null===t?["*"]:t});return new C({layer:s,spatialReference:r,lrucache:i,interceptor:n})}relationshipMetadata(){return this._layer&&this._layer.source&&this._layer.source.sourceJSON?.relationships?this._layer.source.sourceJSON.relationships:[]}serviceUrl(){return(0,p.Qi)(this._layer.parsedUrl.path)}async queryAttachments(e,t,r,i,n){const s=this._layer;if(!function(e){const t=e.capabilities;return t?.data.supportsAttachment&&t?.operations.supportsQueryAttachments}(s))return[];const a=new S.A({objectIds:[e],returnMetadata:n});(t&&t>0||r&&r>0)&&(a.size=[t&&t>0?t:0,r&&r>0?r:t+1]),i&&i.length>0&&(a.attachmentTypes=i),this._featureSetQueryInterceptor&&this._featureSetQueryInterceptor.preLayerQueryCallback({layer:s,query:a,method:"attachments"});const l=await s.queryAttachments(a);return l?.[e]?l[e].map(t=>{const r=`${this._layer.parsedUrl.path}/${e}/attachments/${t.id}`;let i=null;return n&&t.exifInfo&&(i=c.A.convertJsonToArcade(t.exifInfo,"system",!0)),new u.A(t.id,t.name,t.contentType,t.size,r,i,t.keywords??null)}):[]}async queryRelatedFeatures(e){const t=(0,I.dw)(e);t.f="json",this._requestStandardised&&(t.sqlFormat="standard"),this._featureSetQueryInterceptor&&this._featureSetQueryInterceptor.preRequestCallback({layer:this._layer,queryPayload:t,method:"relatedrecords",url:this._layer.parsedUrl.path+"/queryRelatedRecords"});const r=await(0,i.A)(this._layer.parsedUrl.path+"/queryRelatedRecords",{responseType:"json",query:t});if(r.data){const e={},t=r.data;if(t?.relatedRecordGroups){const r=t.spatialReference,i=!0===t.exceededTransferLimit;for(const n of t.relatedRecordGroups)(0,h.Rn)(n.relatedRecords,r),e[n.objectId]={features:n.relatedRecords,exceededTransferLimit:i}}return e}throw new d.dr("InvalidRequest")}async getFeatureByObjectId(e,t){const r=this._createQuery();r.outFields=t,r.returnGeometry=!1,r.outSpatialReference=this.spatialReference,r.where=(0,_.mA)(r.where,this.objectIdField+"="+e.toString()),this._featureSetQueryInterceptor&&this._featureSetQueryInterceptor.preLayerQueryCallback({layer:this._layer,query:r,method:"execute"});const i=await this._layer.source.queryFeaturesJSON(r);return 1===i.features.length?((0,h.Rn)(i.features,i.spatialReference??this.spatialReference.toJSON()),i.features[0]):null}async getIdentityUser(){await this.load();const e=l.id?.findCredential(this._layer.url);return e?e.userId:null}async getOwningSystemUrl(){await this.load();const e=l.id?.findServerInfo(this._layer.url);if(e)return e.owningSystemUrl??"";let t=this._layer.url;const r=t.toLowerCase().indexOf("/rest/services");if(t=r>-1?t.slice(0,r):t,t){t+="/rest/info";try{const e=await(0,i.A)(t,{query:{f:"json"}});let r="";return e.data?.owningSystemUrl&&(r=e.data.owningSystemUrl),r}catch{return""}}return""}getDataSourceFeatureSet(){const e=new C({layer:this._layer,spatialReference:this.spatialReference??void 0,outFields:this._overrideFields??void 0,includeGeometry:!this._removeGeometry,lrucache:this._recentlyUsedQueries??void 0,interceptor:this._featureSetQueryInterceptor??void 0});return e._useDefinitionExpression=!1,e}get preferredTimeZone(){return this._layer.preferredTimeZone??null}get dateFieldsTimeZone(){return this._layer.dateFieldsTimeZone??null}get datesInUnknownTimezone(){return this._layer.datesInUnknownTimezone??!1}get editFieldsInfo(){return this._layer.editFieldsInfo??null}get timeInfo(){return this._layer.timeInfo??null}async getFeatureSetInfo(){if(this._featureSetInfo)return this._featureSetInfo;let e=null,t="serviceItemId"in this._layer?this._layer.serviceItemId:null;const r=this._layer.parsedUrl?.path??null;if(r){const n=await(0,i.A)(r,{responseType:"json",query:{f:"json"}});e=n?.data?.name??null,t=n?.data?.serviceItemId??null}const n=this._layer.title&&null!==(this._layer.parent??null);return this._featureSetInfo={layerId:this._layer.layerId,layerName:""===e?null:e,itemId:""===t?null:t,serviceLayerUrl:""===r?null:r,webMapLayerId:n?this._layer.id??null:null,webMapLayerTitle:n?this._layer.title??null:null,className:null,objectClassId:null},this._featureSetInfo}}var T=r(30235),A=r(26591);class R extends h.Jn{constructor(e){super(),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerRelated",this._removeGeometry=!1,this._overrideFields=null,this._maxProcessing=1e3,this._layer=e.layer,e.spatialReference&&(this.spatialReference=e.spatialReference),this._findObjectId=e.objectId,this.relationship=e.relationship,this._relatedLayer=e.relatedLayer,void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry)}_maxQueryRate(){return p.gO}async loadImpl(){return await Promise.all([this._layer.load(),this._relatedLayer.load()]),this._initialiseFeatureSet(),this}nativeCapabilities(){return this._relatedLayer.nativeCapabilities()}_initialiseFeatureSet(){if(null==this.spatialReference&&(this.spatialReference=this._layer.spatialReference),this.geometryType=this._relatedLayer.geometryType,this.fields=this._relatedLayer.fields.slice(),this.hasZ=this._relatedLayer.hasZ,this.hasM=this._relatedLayer.hasM,null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=new Set(this._overrideFields.map(e=>e.toLowerCase()));this.fields=this.fields.filter(({type:t,name:r})=>"oid"===t||e.has(r.toLowerCase())),this._overrideFields=this.fields.map(({name:e})=>e)}const e=this._layer.nativeCapabilities();e&&(this._databaseType=e.databaseType),this.objectIdField=this._relatedLayer.objectIdField,this.globalIdField=this._relatedLayer.globalIdField,this.hasM=this._relatedLayer.supportsM,this.hasZ=this._relatedLayer.supportsZ,this.typeIdField=this._relatedLayer.typeIdField,this.types=this._relatedLayer.types,this.subtypeField=this._relatedLayer.subtypeField,this.subtypes=this._relatedLayer.subtypes}async databaseType(){return this._databaseType=await this._relatedLayer.databaseType(),this._databaseType}isTable(){return this._relatedLayer.isTable()}async _queryAll(){return(await this.query({abortSignal:o._})).features}async query(e){if(await this._ensureLoaded(),await this.databaseType(),this.isTable()&&null!=e.spatialFilter)return h.An;const t=this._layer.nativeCapabilities();if(!1===t.canQueryRelated)return h.An;if(t.capabilities?.queryRelated.supportsPagination)return this._queryUsingPaging(t.source,e);let r=null,i=!1;null!=e.orderBy&&t.capabilities?.queryRelated.supportsOrderBy&&(r=e.orderBy.toOrderByFields(),i=!0);const n=new A.default;return n.objectIds=[this._findObjectId],n.outFields=null!==this._overrideFields?this._overrideFields:this._fieldsIncludingObjectId(this._relatedLayer.fields?this._relatedLayer.fields.map(e=>e.name):["*"]),n.relationshipId=this.relationship.id,n.where="1=1",n.returnGeometry=!0!==this._removeGeometry,n.outSpatialReference=this.spatialReference,n.orderByFields=r,{filterApplied:null==e.where,spatialFilterApplied:null==e.spatialFilter,ordered:i,features:async function*(){const r=await t.source.queryRelatedFeatures(n);(0,d.dZ)(e.abortSignal),yield r[this._findObjectId]?r[this._findObjectId].features:[]}.apply(this)}}async _queryUsingPaging(e,t){let r=null==t.where&&null==t.spatialFilter,i=null,n=!1;const s=this._layer.nativeCapabilities();null!=t.orderBy&&(s.capabilities?.queryRelated.supportsOrderBy?(i=t.orderBy.toOrderByFields(),n=!0):r=!1),await this.databaseType();let a=this._maxQueryRate();const l=s.capabilities?.query.maxRecordCount;null!=l&&l<a&&(a=l);const o=new A.default;return o.relationshipId=this.relationship.id,o.objectIds=[this._findObjectId],o.outFields=null!==this._overrideFields?this._overrideFields:this._fieldsIncludingObjectId(this._relatedLayer.fields?this._relatedLayer.fields.map(e=>e.name):["*"]),o.where="1=1",o.orderByFields=i,o.returnGeometry=!0!==this._removeGeometry,o.outSpatialReference=this.spatialReference,{filterApplied:null==t.where,spatialFilterApplied:null==t.spatialFilter,ordered:n,features:this._queryPaginated(e,o,a,r?t.limit:null,t.abortSignal)}}async*_queryPaginated(e,t,r,i,n){let s;t.num=null!=i?Math.min(i,r):r,t.start=0;do{(0,d.dZ)(n),s=(await e.queryRelatedFeatures(t))[this._findObjectId]??{exceededTransferLimit:!1,features:[]},yield s.features,t.start+=s.features.length,t.num=null!=i?Math.min(i-t.start,r):r}while(!0===s.exceededTransferLimit)}async queryStat(e){return{calculated:!1}}async canQueryAggregate(e){return!1}async queryAggregate(e){throw new d.dr("NeverReach")}_fieldsIncludingObjectId(e){if(null===e)return[this.objectIdField];const t=e.slice();if(t.includes("*"))return t;let r=!1;for(const e of t)if(e.toUpperCase()===this.objectIdField.toUpperCase()){r=!0;break}return r||t.push(this.objectIdField),t}get gdbVersion(){return this._relatedLayer.gdbVersion}relationshipMetadata(){return this._relatedLayer.relationshipMetadata()}serviceUrl(){return this._relatedLayer.serviceUrl()}queryAttachments(e,t,r,i,n){return this._relatedLayer.queryAttachments(e,t,r,i,n)}getFeatureByObjectId(e,t){return this._relatedLayer.getFeatureByObjectId(e,t)}getOwningSystemUrl(){return this._relatedLayer.getOwningSystemUrl()}getIdentityUser(){return this._relatedLayer.getIdentityUser()}getDataSourceFeatureSet(){return this._relatedLayer}get preferredTimeZone(){return this._relatedLayer.preferredTimeZone??null}get dateFieldsTimeZone(){return this._relatedLayer.dateFieldsTimeZone??null}get datesInUnknownTimezone(){return this._relatedLayer.datesInUnknownTimezone}get editFieldsInfo(){return this._relatedLayer.editFieldsInfo??null}get timeInfo(){return this._relatedLayer.timeInfo??null}getFeatureSetInfo(){return this._relatedLayer.getFeatureSetInfo()}}var x=r(23732),k=r(92474),L=r(4146),j=r(80812);function O(){null===x.A.applicationCache&&(x.A.applicationCache=new x.A)}async function E(e,t,r){if(x.A.applicationCache){const r=x.A.applicationCache.getLayerInfo(e);if(r){const i=await r;return new b.default({url:e,outFields:t,sourceJSON:i})}const i=new b.default({url:e,outFields:t}),n=(async()=>(await i.load(),i.sourceJSON))();if(x.A.applicationCache){x.A.applicationCache.setLayerInfo(e,n);try{return await n,i}catch(t){throw x.A.applicationCache.clearLayerInfo(e),t}}return await n,i}if(null!=r){const i=r.getCachedLayerMetadata(e);if(i){const r=await i;return new b.default({url:e,outFields:t,sourceJSON:r})}const n=new b.default({url:e,outFields:t}),s=(async()=>(await n.load(),n.sourceJSON))();r.setCachedLayerMetadata(e,s);try{return await s,n}catch(t){throw r.removeCachedLayerMetadata(e,s),t}}return new b.default({url:e,outFields:t})}async function P(e,t,r,i,n,s=null){return z(await E(e,["*"],n),t,r,i,n,s)}function z(e,t=null,r=null,i=!0,n=null,s=null){switch(e.type){case"catalog-footprint":return z(e.parent,t,r,i,n,s);case"subtype-sublayer":{const l=z(e.parent,t,r,i,n,s);return new a.A({parentfeatureset:l,whereclause:w.A.create(e.parent.subtypeField+"="+e.subtypeCode.toString(),{fieldsIndex:e.parent.fieldsIndex,timeZone:l.dateFieldsTimeZoneDefaultUTC})})}case"csv":case"geojson":case"knowledge-graph-sublayer":case"wfs":return new T.A({layer:e,spatialReference:t,outFields:r,includeGeometry:i,lrucache:n,interceptor:s});case"catalog":case"feature":case"oriented-imagery":case"subtype-group":{const a={layer:e,spatialReference:t,outFields:r,includeGeometry:i,lrucache:n,interceptor:s};return!e.url&&e.source?new T.A(a):new C(a)}default:throw new Error(`Unsupported layer type: ${e.type}`)}}async function Z(e,t){if(null!==x.A.applicationCache){const t=x.A.applicationCache.getLayerInfo(e);if(null!==t)return t}if(null!=t){const r=t.getCachedServiceMetadata(e);if(null!=r)return r}const r=(async()=>{const t=await(0,i.A)(e,{responseType:"json",query:{f:"json"},authMode:"no-prompt"});if(t.data){const e=t.data;return e.layers||(e.layers=[]),e.tables||(e.tables=[]),e}return{layers:[],tables:[]}})();if(null!==x.A.applicationCache){x.A.applicationCache.setLayerInfo(e,r);try{return await r}catch(t){throw x.A.applicationCache.clearLayerInfo(e),t}}if(null!=t){t.setCachedServiceMetadata(e,r);try{return await r}catch(i){throw t.removeCachedServiceMetadata(e,r),i}}return r}async function q(e,t,r){const n={metadata:null,networkId:-1,unVersion:3,terminals:[],layerIdLookup:new Map,sourceIdLookup:new Map,queryelem:null,layerNameLkp:{},lkp:null},s=await Z(e,null);if(n.metadata=s,void 0!==s.controllerDatasetLayers?.utilityNetworkLayerId&&null!==s.controllerDatasetLayers.utilityNetworkLayerId){if(s.layers)for(const e of s.layers)n.layerNameLkp[e.id]=e.name;if(s.tables)for(const e of s.tables)n.layerNameLkp[e.id]=e.name;const l=s.controllerDatasetLayers.utilityNetworkLayerId;n.networkId=l;const o=await async function(e,t){const r="QUERYDATAELEMTS:"+t.toString()+":"+e;if(null!==x.A.applicationCache){const e=x.A.applicationCache.getLayerInfo(r);if(null!==e)return e}const n=(async()=>{const r=await(0,i.A)(e+"/queryDataElements",{method:"post",responseType:"json",query:{layers:JSON.stringify([t.toString()]),f:"json"}});if(r.data){const e=r.data;if(e.layerDataElements?.[0])return e.layerDataElements[0]}throw new d.dr("DataElementsNotFound")})();if(null!==x.A.applicationCache){x.A.applicationCache.setLayerInfo(r,n);try{return await n}catch(e){throw x.A.applicationCache.clearLayerInfo(r),e}}return n}(e,l);if(o){n.queryelem=o,n.queryelem?.dataElement&&void 0!==n.queryelem.dataElement.schemaGeneration&&(n.unVersion=n.queryelem.dataElement.schemaGeneration),n.lkp={},n.queryelem.dataElement.domainNetworks||(n.queryelem.dataElement.domainNetworks=[]);for(const e of n.queryelem.dataElement.domainNetworks){for(const t of e.edgeSources??[]){const e={layerId:t.layerId,sourceId:t.sourceId,className:n.layerNameLkp[t.layerId]??null};n.layerIdLookup.set(e.layerId,e),n.sourceIdLookup.set(e.sourceId,e),e.className&&(n.lkp[e.className]=e)}for(const t of e.junctionSources??[]){const e={layerId:t.layerId,sourceId:t.sourceId,className:n.layerNameLkp[t.layerId]??null};n.layerIdLookup.set(e.layerId,e),n.sourceIdLookup.set(e.sourceId,e),e.className&&(n.lkp[e.className]=e)}}if(n.queryelem.dataElement.terminalConfigurations)for(const e of n.queryelem.dataElement.terminalConfigurations)for(const t of e.terminals)n.terminals.push({terminalId:t.terminalId,terminalName:t.terminalName});const s=await async function(e){if(null!==x.A.applicationCache){const t=x.A.applicationCache.getLayerInfo(e);if(null!==t)return t}const t=(async()=>{const t=await(0,i.A)(e,{responseType:"json",query:{f:"json"}});return t.data?t.data:null})();if(null!==x.A.applicationCache){x.A.applicationCache.setLayerInfo(e,t);try{return await t}catch(t){throw x.A.applicationCache.clearLayerInfo(e),t}}return t}(e+"/"+l);if(void 0!==s.systemLayers?.associationsTableId&&null!==s.systemLayers.associationsTableId){let i=null;if(r&&n.unVersion<8){const r=[];n.unVersion>=4&&(r.push("STATUS"),r.push("PERCENTALONG")),i=await P(e+"/"+s.systemLayers.associationsTableId,t,["OBJECTID","FROMNETWORKSOURCEID","TONETWORKSOURCEID","FROMGLOBALID","TOGLOBALID","TOTERMINALID","FROMTERMINALID","ASSOCIATIONTYPE","ISCONTENTVISIBLE","GLOBALID",...r],!1,null,null),await i.load(),n.unVersion>=4&&(i=new a.A({parentfeatureset:i,whereclause:w.A.create("STATUS NOT IN (1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63)",{fieldsIndex:i.getFieldsIndex(),timeZone:i.dateFieldsTimeZoneDefaultUTC})}),await i.load())}return{lkp:n.lkp,associations:i,unVersion:n.unVersion,terminals:n.terminals,layerIdLookup:n.layerIdLookup,sourceIdLookup:n.sourceIdLookup}}return{associations:null,unVersion:n.unVersion,lkp:null,terminals:[],layerIdLookup:new Map,sourceIdLookup:new Map}}return{associations:null,unVersion:n.unVersion,lkp:null,terminals:[],layerIdLookup:new Map,sourceIdLookup:new Map}}return{associations:null,unVersion:n.unVersion,lkp:null,terminals:[],layerIdLookup:new Map,sourceIdLookup:new Map}}async function N(e,t,r,i=null,n=null,s=!0,a=null,l=null){let o=e.serviceUrl();if(!o)return null;o=o.endsWith("/")?o+t.relatedTableId.toString():o+"/"+t.relatedTableId.toString();const u=await P(o,i,n,s,a,l);return new R({layer:e,relatedLayer:u,relationship:t,objectId:r,spatialReference:i,outFields:n,includeGeometry:s,lrucache:a,interceptor:l})}class D extends n{constructor(e,t=null,r=null,i=null){super(),this._map=e,this._overrideSpatialReference=t,this._lrucache=r,this._interceptor=i,this._instantLayers=[]}_makeAndAddFeatureSet(e,t=!0,r=null){const i=z(e,this._overrideSpatialReference,null===r?["*"]:r,t,this._lrucache,this._interceptor);return this._instantLayers.push({featureset:i,opitem:e,includeGeometry:t,outFields:JSON.stringify(r)}),i}async listAll(){(0,k.Zm)(this._map)&&!this._map.loaded&&await this._map.load();const e=this._map.allLayers.toArray().filter(e=>(0,p.eB)(e)).map(e=>({id:e.id,name:e.title})),t=this._map.allTables.toArray().filter(e=>(0,p.eB)(e)).map(e=>({id:e.id,name:e.title}));return e.concat(t)}async featureSetByName(e,t=!0,r=null){if((0,k.Zm)(this._map)&&!this._map.loaded)return await this._map.load(),this.featureSetByName(e,t,r);null===r&&(r=["*"]),r=(r=r.slice()).sort();const i=JSON.stringify(r);for(let r=0;r<this._instantLayers.length;r++){const n=this._instantLayers[r];if(n.opitem.title===e&&n.includeGeometry===t&&n.outFields===i)return this._instantLayers[r].featureset}const n=this._map.allLayers.find(t=>(0,p.eB)(t)&&t.title===e);if(null!=n)return this._makeAndAddFeatureSet(n,t,r);if(this._map.allTables){const i=this._map.allTables.find(t=>(0,p.eB)(t)&&t.title===e);if(null!=i)return this._makeAndAddFeatureSet(i,t,r)}return null}async featureSetById(e,t=!0,r=["*"]){if((0,k.Zm)(this._map)&&!this._map.loaded)return await this._map.load(),this.featureSetById(e,t,r);null===r&&(r=["*"]),r=(r=r.slice()).sort();const i=JSON.stringify(r);for(let r=0;r<this._instantLayers.length;r++){const n=this._instantLayers[r];if(n.opitem.id===e&&n.includeGeometry===t&&n.outFields===i)return this._instantLayers[r].featureset}const n=this._map.allLayers.find(t=>(0,p.eB)(t)&&t.id===e);if(n)return this._makeAndAddFeatureSet(n,t,r);if(this._map.allTables){const i=this._map.allTables.find(t=>(0,p.eB)(t)&&t.id===e);if(null!=i)return this._makeAndAddFeatureSet(i,t,r)}return null}}class U extends n{constructor(e,t=null,r=null,i=null){super(),this._url=e,this._overrideSpatialReference=t,this._lrucache=r,this._interceptor=i,this.metadata=null,this._instantLayers=[]}get url(){return this._url}_makeAndAddFeatureSet(e,t=!0,r=null){const i=z(e,this._overrideSpatialReference,null===r?["*"]:r,t,this._lrucache);return this._instantLayers.push({featureset:i,opitem:e,includeGeometry:t,outFields:JSON.stringify(r)}),i}async _loadMetaData(){const e=await Z(this._url,this._lrucache);return this.metadata=e,e}load(){return this._loadMetaData()}clone(){return new U(this._url,this._overrideSpatialReference,this._lrucache,this._interceptor)}async listAll(){const e=await this._loadMetaData();return e.layers.concat(e.tables)}async featureSetByName(e,t=!0,r=null){null===r&&(r=["*"]),r=(r=r.slice()).sort();const i=JSON.stringify(r);for(let r=0;r<this._instantLayers.length;r++){const n=this._instantLayers[r];if(n.opitem.title===e&&n.includeGeometry===t&&n.outFields===i)return this._instantLayers[r].featureset}const n=await this._loadMetaData();let s=null;for(const t of n.layers??[])t.name===e&&(s=t);if(!s)for(const t of n.tables??[])t.name===e&&(s=t);if(s){const e=await E(this._url+"/"+s.id,["*"],this._lrucache);return this._makeAndAddFeatureSet(e,t,r)}return null}async featureSetById(e,t=!0,r=["*"]){null===r&&(r=["*"]),r=(r=r.slice()).sort();const i=JSON.stringify(r);e=null!=e?e.toString():"";for(let r=0;r<this._instantLayers.length;r++){const n=this._instantLayers[r];if(n.opitem.id===e&&n.includeGeometry===t&&n.outFields===i)return this._instantLayers[r].featureset}const n=await this._loadMetaData();let s=null;for(const t of n.layers??[])null!==t.id&&void 0!==t.id&&t.id.toString()===e&&(s=t);if(!s)for(const t of n.tables??[])null!==t.id&&void 0!==t.id&&t.id.toString()===e&&(s=t);if(s){const e=await E(this._url+"/"+s.id,["*"],this._lrucache);return this._makeAndAddFeatureSet(e,t,r)}return null}}function G(e,t,r=null,i=null){return new D(e,t,r,i)}function B(e,t,r=null,i=null){return new U(e,t,r,i)}function $(e,t,r,i,n){if(null===e)return null;if((0,s.m)(e)){switch(t){case"datasource":return e.getDataSourceFeatureSet();case"parent":return e;case"root":return e.getRootFeatureSet()}return null}if(e instanceof L.A&&(0,p.eB)(e)){switch(t){case"datasource":return z(e,n,"outFields"in e?e.outFields:null,!0,r,i).getDataSourceFeatureSet();case"parent":case"root":return z(e,n,"outFields"in e?e.outFields:null,!0,r,i)}return null}if((0,s.a4)(e)){switch(t){case"datasource":return z(e.parent,n,e.parent.outFields,!0,r,i).getDataSourceFeatureSet();case"parent":case"root":return z(e,n,e.parent.outFields,!0,r,i)}return null}return null}async function Q(e,t,r,i,n,s,a,l=null){if(x.A.applicationCache){const o=x.A.applicationCache.getLayerInfo(e+":"+s.url);if(o)return J(await o,t,r,i,n,a,l)}if(null!=a){const o=a.getCachedPortalItem(s.url,e);if(null!=o)return await J(await o,t,r,i,n,a,l)}const o=new j.default({id:e,portal:s}).load();x.A.applicationCache?x.A.applicationCache.setLayerInfo(e+":"+s.url,o):null!=a&&a.setCachedPortalItem(s.url,e,o);try{return await J(await o,t,r,i,n,a,l)}catch(t){throw x.A.applicationCache&&x.A.applicationCache.clearLayerInfo(e+":"+s.url),null!=a&&a.removeCachedPortalItem(s.url,e,o),t}}async function J(e,t,r,i,n,s,a){let l;if("Feature Service"===e.type||"Map Service"===e.type)l=await E((0,p.Qi)(e.url??"")+"/"+t,["*"],s);else{if(t)throw new Error(`layerId=${t} provided for ${e.type} item`);if(null!=s){const t=s.getCachedPortalItemLayer(e.portal.url,e.id);if(null!=t)l=await t;else{const t=L.A.fromPortalItem(e);s.setCachedPortalItemLayer(e.portal.url,e.id,t);try{l=await t}catch(r){throw s.removeCachedPortalItemLayer(e.portal.url,e.id,t),r}}}else l=await L.A.fromPortalItem(e)}return z(l,r,i,n,s,a)}},35704(e,t,r){r.d(t,{A:()=>u});var i=r(48938),n=r(87449),s=r(11221),a=r(33325),l=r(80609),o=r(89696);class u extends s.t1{constructor(e){super(),this.declaredClass="esri.arcade.featureset.actions.AttributeFilter",this._maxProcessing=1e3,this._parent=e.parentfeatureset,e.whereclause instanceof o.A?(this._whereClause=e.whereclause,this._whereClauseFunction=null):(this._whereClauseFunction=e.whereclause,this._whereClause=null)}_initialiseFeatureSet(){this.fields=this._parent.fields.slice(),this.geometryType=this._parent.geometryType,this.objectIdField=this._parent.objectIdField,this.globalIdField=this._parent.globalIdField,this.spatialReference=this._parent.spatialReference,this.hasM=this._parent.hasM,this.hasZ=this._parent.hasZ,this.typeIdField=this._parent.typeIdField,this.types=this._parent.types,this.subtypeField=this._parent.subtypeField,this.subtypes=this._parent.subtypes}async _queryAll(){return(await this.query({abortSignal:i._})).features}async query(e){let t=e.where,r=!0;null!==this._whereClauseFunction?r=!1:null!=t?null!==this._whereClause&&(t=(0,l.kg)(this._whereClause,t)):t=this._whereClause,await this._ensureLoaded();const i=await this._parent.query({...e,where:t,limit:r?e.limit:null});return(0,n.dZ)(e.abortSignal),i.filterApplied&&null==this._whereClauseFunction?i:{...i,features:this._applyFilter(i.features,e.abortSignal)}}async*_applyFilter(e,t){for await(const r of e)if((0,n.dZ)(t),null!=this._whereClause){const e=r.filter(e=>this._whereClause.testFeature(e));e.length>0&&(yield e)}else if(null!=this._whereClauseFunction){const e=[];for(const t of r)await this._whereClauseFunction(t)&&e.push(t);e.length>0&&(yield e)}else yield r}async queryStat(e){if(null!==this._whereClauseFunction)return null==e.where&&null==e.spatialFilter?this._manualStat(e.stat,e.field,e.limit??a.gO,e.abortSignal):{calculated:!1};let t=this._whereClause;null!=e.where&&null!==this._whereClause&&(t=(0,l.kg)(this._whereClause,e.where));const r=await this._parent.queryStat({...e,where:t});return r.calculated?r:null==e.where&&null==e.spatialFilter?this._manualStat(e.stat,e.field,e.limit??a.gO,e.abortSignal):{calculated:!1}}async canQueryAggregate(e){if(null!==this._whereClauseFunction)return!1;let t=e.where;return null!=t?null!==this._whereClause&&(t=(0,l.kg)(this._whereClause,t)):t=this._whereClause,this._parent.canQueryAggregate({...e,where:t})}async queryAggregate(e){let t=e.where;return null!=t?null!==this._whereClause&&(t=(0,l.kg)(this._whereClause,t)):t=this._whereClause,this._parent.queryAggregate({...e,where:t})}getFieldsIndex(){return this._parent.getFieldsIndex()}}},30235(e,t,r){r.d(t,{A:()=>f});var i=r(48938),n=r(87449),s=r(11221),a=r(33325),l=r(80609),o=r(4576),u=r(39516),c=r(91075),d=r(53781),h=r(33143),p=r(20437);class f extends s.Jn{constructor(e){super(),this.declaredClass="esri.arcade.featureset.sources.FeatureLayerMemory",this._removeGeometry=!1,this._overrideFields=null,this._forceIsTable=!1,this._maxProcessing=1e3,this._layer=e.layer,e.spatialReference&&(this.spatialReference=e.spatialReference),!0===e.isTable&&(this._forceIsTable=!0),void 0!==e.outFields&&(this._overrideFields=e.outFields),void 0!==e.includeGeometry&&(this._removeGeometry=!1===e.includeGeometry)}_maxQueryRate(){return a.gO}async loadImpl(){return!0===this._layer.loaded?(this._initialiseFeatureSet(),this):(await this._layer.load(),this._initialiseFeatureSet(),this)}get gdbVersion(){return""}_initialiseFeatureSet(){if(this.spatialReference??=this._layer.spatialReference,this.geometryType=this._layer.geometryType??"",this.fields=this._layer.fields.slice(),null!==this._overrideFields)if(1===this._overrideFields.length&&"*"===this._overrideFields[0])this._overrideFields=null;else{const e=new Set(this._overrideFields.map(e=>e.toLowerCase()));this.fields=this.fields.filter(({type:t,name:r})=>"oid"===t||this._layer.objectIdField===r||e.has(r.toLowerCase())),this._overrideFields=this.fields.map(({name:e})=>e)}this.objectIdField=this._layer.objectIdField;for(const e of this.fields)"global-id"===e.type&&(this.globalIdField=e.name);this._databaseType=0,this.hasZ=!0===this._layer.capabilities?.data?.supportsZ,this.hasM=!0===this._layer.capabilities?.data?.supportsM,this.subtypeField=("subtypeField"in this._layer?this._layer.subtypeField:null)??"",this.subtypes="subtypes"in this._layer?this._layer.subtypes:null,this.typeIdField=("typeIdField"in this._layer?this._layer.typeIdField:null)??"",this.types="types"in this._layer?this._layer.types:null}isTable(){return this._forceIsTable||"isTable"in this._layer&&this._layer.isTable||"table"===this._layer.type||!this._layer.geometryType}async _queryAll(){return(await this.query({abortSignal:i._})).features}_queryLayerFeaturesJSON(e){return"queryFeaturesJSON"in this._layer?this._layer.queryFeaturesJSON(e):this._layer.source.queryFeaturesJSON(e)}async query(e){await this._ensureLoaded();let t=null,r=!1;if(null!=e.orderBy&&(t=e.orderBy.toOrderByFields(),r=!0),this.isTable()&&null!=e.spatialFilter)return s.An;const i=this._createQuery();return i.where=(0,u.mA)(i.where,null==e.where?null==e.spatialFilter?"1=1":"":(0,l.YY)(e.where,0)),null!=e.spatialFilter&&(i.spatialRelationship=this._makeRelationshipEnum(e.spatialFilter.relation),i.relationParameter=this._makeRelationshipParam(e.spatialFilter.relation),i.geometry=e.spatialFilter.geometry),i.outSpatialReference=this.spatialReference,i.orderByFields=t,i.num=e.limit,{filterApplied:!0,spatialFilterApplied:!0,ordered:r,features:async function*(){const t=await this._queryLayerFeaturesJSON(i);(0,n.dZ)(e.abortSignal);for(const e of(0,o.Ho)(t.features,this._maxQueryRate()))(0,s.Rn)(e,t.spatialReference??this.spatialReference.toJSON()),yield e}.apply(this)}}async queryStat(e){return{calculated:!1}}async canQueryAggregate(e){return!1}async queryAggregate(e){throw new n.dr("NeverReach")}_createQuery(){const e=this._layer.createQuery();return e.returnZ=this.hasZ,e.returnM=this.hasM,e.outFields=this._overrideFields??["*"],e.returnGeometry=!this._removeGeometry,e}_makeRelationshipEnum(e){if(e.includes("esriSpatialRelRelation"))return"relation";switch(e){case"esriSpatialRelRelation":return"relation";case"esriSpatialRelIntersects":return"intersects";case"esriSpatialRelContains":return"contains";case"esriSpatialRelOverlaps":return"overlaps";case"esriSpatialRelWithin":return"within";case"esriSpatialRelTouches":return"touches";case"esriSpatialRelCrosses":return"crosses";case"esriSpatialRelEnvelopeIntersects":return"envelope-intersects"}return e}_makeRelationshipParam(e){return e.includes("esriSpatialRelRelation")?e.split(":")[1]:""}relationshipMetadata(){return[]}nativeCapabilities(){return{title:this._layer.title??"",canQueryRelated:!1,source:this,capabilities:this._layer.capabilities,databaseType:this._databaseType,requestStandardised:!0}}static create(e,t){let r=e.layerDefinition.objectIdField;const i=e.layerDefinition.typeIdField??"",n=[];if(e.layerDefinition.types)for(const t of e.layerDefinition.types)n.push(h.A.fromJSON(t));let s=e.layerDefinition.geometryType;void 0===s&&(s=e.featureSet.geometryType||"");let a=e.featureSet.features;if(!r){let t=!1;for(const i of e.layerDefinition.fields)if("oid"===i.type||"esriFieldTypeOID"===i.type){r=i.name,t=!0;break}if(!1===t){let t="FID",i=!0,n=0;for(;i;){let r=!0;for(const i of e.layerDefinition.fields)if(i.name===t){r=!1;break}!0===r?i=!1:(n++,t="FID"+n.toString())}e.layerDefinition.fields.push({type:"esriFieldTypeOID",name:t,alias:t});const s=[];for(let r=0;r<a.length;r++)s.push({geometry:e.featureSet.features[r].geometry,attributes:{...e.featureSet.features[r].attributes,[t]:r}});a=s,r=t}}const l=[];for(const t of e.layerDefinition.fields)t instanceof p.A?l.push(t):l.push(p.A.fromJSON(t));let o=s;switch(o||(o=""),o){case"esriGeometryPoint":o="point";break;case"esriGeometryPolyline":o="polyline";break;case"esriGeometryPolygon":o="polygon";break;case"esriGeometryEnvelope":o="extent";break;case"esriGeometryMultipoint":o="multipoint";break;case"":case"esriGeometryNull":o="esriGeometryNull"}if("esriGeometryNull"!==o){const e=t.toJSON();for(const t of a)t.geometry&&t.geometry instanceof c.A==0&&(t.geometry.type=o,void 0===t.geometry.spatialReference&&(t.geometry.spatialReference=e))}else for(const e of a)e.geometry&&(e.geometry=null);const u={outFields:["*"],source:a,fields:l,hasZ:!0===e.layerDefinition.hasZ||!0===e.featureSet.hasZ,hasM:!0===e.layerDefinition.hasM||!0===e.featureSet.hasM,types:n,typeIdField:i,objectIdField:r,spatialReference:t},y="esriGeometryNull"===o||null===o;y||(u.geometryType=o);const m=new d.default(u);return e.layerDefinition.subtypeField&&e.layerDefinition.subtypes&&m.read({subtypes:e.layerDefinition.subtypes,subtypeField:e.layerDefinition.subtypeField}),new f({layer:m,spatialReference:t,isTable:y})}async queryAttachments(){return[]}async getFeatureByObjectId(e){const t=this._createQuery();t.where=this.objectIdField+"="+e.toString();const r=await this._queryLayerFeaturesJSON(t);return 1===r.features.length?((0,s.Rn)(r.features,r.spatialReference??this.spatialReference.toJSON()),r.features[0]):null}serviceUrl(){return""}async getOwningSystemUrl(){return""}async getIdentityUser(){return""}get preferredTimeZone(){return"preferredTimeZone"in this._layer?this._layer.preferredTimeZone:null}get dateFieldsTimeZone(){return"dateFieldsTimeZone"in this._layer?this._layer.dateFieldsTimeZone:null}get datesInUnknownTimezone(){return"datesInUnknownTimezone"in this._layer&&this._layer.datesInUnknownTimezone}get editFieldsInfo(){return"editFieldsInfo"in this._layer?this._layer.editFieldsInfo:null}get timeInfo(){return"timeInfo"in this._layer?this._layer.timeInfo:null}async getFeatureSetInfo(){const e=this._layer.title&&this._layer.parent;return{layerId:null,layerName:null,itemId:null,serviceLayerUrl:null,webMapLayerId:e?this._layer.id??null:null,webMapLayerTitle:e?this._layer.title??null:null,className:null,objectClassId:null}}}},66344(e,t,r){r.d(t,{q:()=>l});const i=!!(0,r(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class n{get size(){return this._size}constructor(e=10485760,t=.3){this._maxSize=e,this._maxClientSizeRatio=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._clients=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._clients.clear(),this._db.clear()}register(e){this._clients.set(e.id.slice(0,-1),e)}deregister(e){this.clear(e),this._sizeLimits.delete(e),this._clients.delete(e.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(e){this._maxSize=Math.max(e,-1),this._checkSize()}get _maxClientSize(){return this._maxSize*this._maxClientSizeRatio}getSize(e,t){const r=this._db.get(e.id+t);return r?.size??0}put(e,t,r,n,a){t=e.id+t;const l=this._db.get(t);if(l&&(this._size-=l.size,e.size-=l.size,this._db.delete(t),l.entry!==r&&this._notifyRemove(t,l.entry,l.size,0)),n>this._maxSize)return void this._notifyRemove(t,r,n,0);if(void 0===r)return void console.warn("Refusing to cache undefined entry ");if(!n||n<0)return i||console.warn(`Refusing to cache entry with size ${n} for key ${t}`),void this._notifyRemove(t,r,0,0);const o=1+Math.max(a,-4)- -3;this._db.set(t,new s(r,n,o)),this._size+=n,e.size+=n,this._checkSize()}updateSize(e,t){t=e.id+t;const r=this._db.get(t);if(!r)return;this._size-=r.size,e.size-=r.size;let i=r.entry.usedMemory;for(;i>this._maxSize;){const e=this._notifyRemove(t,r.entry,i,1);if(!(null!=e&&e>0))return void this._db.delete(t);i=e}r.size=i,this._size+=i,e.size+=i,this._checkSize()}pop(e,t){t=e.id+t;const r=this._db.get(t);if(r)return this._size-=r.size,e.size-=r.size,this._db.delete(t),++this._hit,r.entry;++this._miss}get(e,t){t=e.id+t;const r=this._db.get(t);if(void 0!==r)return this._db.delete(t),r.lives=r.lifetime,this._db.set(t,r),++this._hit,r.entry;++this._miss}peek(e,t){const r=this._db.get(e.id+t);return r?++this._hit:++this._miss,r?.entry}get performanceInfo(){const e={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},t={},r=new Array;this._db.forEach((e,i)=>{const n=e.lifetime;r[n]=(r[n]||0)+e.size,this._clients.forEach(r=>{const{id:n,name:s}=r;if(i.startsWith(n)){const r=t[s]||0;t[s]=r+e.size}})});const i={};this._clients.forEach(e=>{const r=e.name;if("hitRate"in e&&"number"==typeof e.hitRate&&!isNaN(e.hitRate)&&e.hitRate>0){const n=t[r]||0;t[r]=n,i[r]=Math.round(100*e.hitRate)+"%"}else i[r]="0%"});const n=Object.keys(t);n.sort((e,r)=>t[r]-t[e]),n.forEach(r=>e[r]=Math.round(t[r]/2**20)+"MB / "+i[r]);for(let t=r.length-1;t>=0;--t){const i=r[t];i&&(e["Priority "+(t+-3-1)]=Math.round(i/this._size*100)+"%")}return e}resetStats(){this._hit=this._miss=0,this._clients.forEach(e=>e.resetHitRate())}clear(e){const t=e.id;this._db.forEach((e,r)=>{r.startsWith(t)&&(this._size-=e.size,this._db.delete(r),this._notifyRemove(r,e.entry,e.size,0))}),e.size=0}clearAll(){this._db.forEach((e,t)=>this._notifyRemove(t,e.entry,e.size,0)),this._clients.forEach(e=>e.size=0),this._size=0,this._db.clear()}*values(e){for(const[t,r]of this._db)t.startsWith(e.id)&&(yield r.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(e,t,r,i){const n=this._clients.get(e.split(a)[0])?.removeFunc,s=n?.(t,i,r);return"number"==typeof s?s:null}_checkSize(){this._sizeLimits.forEach((e,t)=>this._checkSizeLimits(e,t)),this._clients.forEach(e=>this._checkSizeLimits(this._maxClientSize,e)),this._checkSizeLimits(this.maxSize)}setMaxClientSize(e,t){null==t||t<=0?this._sizeLimits.delete(e):this._sizeLimits.set(e,t)}_checkSizeLimits(e,t){const r=t??this;if(r.size<=e)return;const i=t?.id;let n=!0;for(;n;){n=!1;for(const[s,l]of this._db)if(0===l.lifetime&&(!i||s.startsWith(i))){const i=t??this._clients.get(s.split(a)[0]);if(this._purgeItem(s,l,i),r.size<=.9*e)return;n||=this._db.has(s)}}for(const[n,s]of this._db)if(!i||n.startsWith(i)){const i=t??this._clients.get(n.split(a)[0]);if(this._purgeItem(n,s,i),r.size<=.9*e)return}}_purgeItem(e,t,r){if(this._db.delete(e),t.lives<=1){this._size-=t.size,r&&(r.size-=t.size);const i=this._notifyRemove(e,t.entry,t.size,1);null!=i&&i>0&&(this._size+=i,r&&(r.size+=i),t.lives=t.lifetime,t.size=i,this._db.set(e,t))}else--t.lives,this._db.set(e,t)}}new n(0);class s{constructor(e,t,r){this.entry=e,this.size=t,this.lifetime=r,this.lives=r}}const a=":";class l{constructor(e,t){this.removeFunc=t,this.id="",this.name="",this.size=0,this._storage=new n(e,1),this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy()}put(e,t,r=1){this._storage.put(this,e,t,r,1)}pop(e){return this._storage.pop(this,e)}get(e){return this._storage.get(this,e)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(e){this._storage.maxSize=e}resetHitRate(){}}},46140(e,t,r){r.d(t,{A:()=>n});var i=r(49186);class n{constructor(e,t,r=""){this.major=e,this.minor=t,this._context=r}lessThan(e,t){return this.major<e||e===this.major&&this.minor<t}greaterEqual(e,t){return!this.lessThan(e,t)}toString(){return`${this.major}.${this.minor}`}validate(e){if(this.major!==e.major){const t=this._context&&this._context+":",r=this._context&&this._context+" ";throw new i.A(t+"unsupported-version",`Required major ${r}version is '${this.major}', but got '\${version.major}.\${version.minor}'`,{version:e})}}clone(){return new n(this.major,this.minor,this._context)}static parse(e,t=""){const[r,s]=e.split("."),a=/^\s*\d+\s*$/;if(!r?.match||!a.test(r))throw new i.A((t&&t+":")+"invalid-version","Expected major version to be a number, but got '${version}'",{version:e});if(!s?.match||!a.test(s))throw new i.A((t&&t+":")+"invalid-version","Expected minor version to be a number, but got '${version}'",{version:e});const l=parseInt(r,10),o=parseInt(s,10);return new n(l,o,t)}}},6797(e,t,r){r.d(t,{Ui:()=>h});var i=r(69622),n=r(7762),s=r(88620);const a=new Set(["esri.Color","esri.portal.Portal","esri.symbols.support.Symbol3DAnchorPosition2D","esri.symbols.support.Symbol3DAnchorPosition3D"]);function l(e){return e instanceof i.A}function o(e){return e instanceof n.A?Object.keys(e.items):l(e)?(0,s.oY)(e).keys():e?Object.keys(e):[]}function u(e,t){return e instanceof n.A?e.items[t]:e[t]}function c(e){return e?e.declaredClass:null}function d(e,t){const r=e.diff;if(r&&"function"==typeof r)return r(e,t);const i=o(e),n=o(t);if(0===i.length&&0===n.length)return;if(!i.length||!n.length||function(e,t){return!(!Array.isArray(e)||!Array.isArray(t))&&e.length!==t.length}(e,t))return{type:"complete",oldValue:e,newValue:t};const s=n.filter(e=>!i.includes(e)),h=i.filter(e=>!n.includes(e)),p=i.filter(r=>n.includes(r)&&u(e,r)!==u(t,r)).concat(s,h).sort(),f=c(e);if(f&&a.has(f)&&p.length)return{type:"complete",oldValue:e,newValue:t};let y;const m=l(e)&&l(t);for(const i of p){const n=u(e,i),s=u(t,i);let a;if((m||"function"!=typeof n&&"function"!=typeof s)&&n!==s&&(null!=n||null!=s)){if(r&&r[i]&&"function"==typeof r[i])a=r[i]?.(n,s);else if(n instanceof Date&&s instanceof Date){if(n.getTime()===s.getTime())continue;a={type:"complete",oldValue:n,newValue:s}}else a="object"==typeof n&&"object"==typeof s&&c(n)===c(s)?d(n,s):{type:"complete",oldValue:n,newValue:s};null!=a&&(null!=y?y.diff[i]=a:y={type:"partial",diff:{[i]:a}})}}return y}function h(e,t){if("function"!=typeof e&&"function"!=typeof t&&(null!=e||null!=t))return null==e||null==t||"object"==typeof e&&"object"==typeof t&&c(e)!==c(t)?{type:"complete",oldValue:e,newValue:t}:d(e,t)}},16494(e,t,r){r.d(t,{Nd:()=>l,W5:()=>a});var i=r(17632);const n=["dd","dl","dt","h1","h2","h3","h4","h5","h6","sub","sup","animate","animatetransform","circle","clippath","defs","ellipse","g","image","line","lineargradient","marker","mask","path","pattern","polygon","polyline","radialgradient","rect","stop","svg","switch","symbol","text","textpath","tspan","use"].reduce((e,t)=>(e[t]=[],e),{}),s=["align","alink","alt","bgcolor","border","cellpadding","cellspacing","class","color","cols","colspan","coords","d","dir","face","height","hspace","ismap","lang","marginheight","marginwidth","multiple","nohref","noresize","noshade","nowrap","ref","rel","rev","rows","rowspan","scrolling","shape","span","summary","tabindex","title","usemap","valign","value","vlink","vspace","width"],a=new i.I({whiteList:n,onTagAttr:(e,t,r)=>{const i=`${t}="${r}"`;if(s.includes(t))return i},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"]},!0),l=new i.I({whiteList:{br:[]},stripIgnoreTag:!0,escapeHtml:e=>e},!1)},159(e,t,r){r.d(t,{A:()=>u});var i,n=r(5482),s=r(69540),a=r(25482),l=r(91429),o=r(99157);let u=i=class extends((0,s.OU)(a.o)){constructor(e){super(e),this.steps=[]}getInverse(){const e=new i;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,n.Cg)([(0,l.MZ)({type:[o.A],nonNullable:!0,json:{name:"geoTransforms"}})],u.prototype,"steps",void 0),u=i=(0,n.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformation")],u)},99157(e,t,r){r.d(t,{A:()=>o});var i,n=r(5482),s=r(69540),a=r(25482),l=r(91429);let o=i=class extends((0,s.OU)(a.o)){constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new i({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,n.Cg)([(0,l.MZ)({json:{name:"transformForward",read:e=>!e,write:(e,t,r)=>{t[r]=!e}}})],o.prototype,"isInverse",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],o.prototype,"wkt",void 0),(0,n.Cg)([(0,l.MZ)({json:{write:!0}})],o.prototype,"wkid",void 0),o=i=(0,n.Cg)([(0,l.$K)("esri.geometry.operators.support.GeographicTransformationStep")],o)},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>n});var i=r(49208);function n(e,t,r,n,s,a,l=Math.floor(e.length/3)){const o=(0,i.jd)(t,s);if(null==o)return!1;if(o===i.pO){if(e===n&&r===a)return!0;const t=r+3*l;for(let i=r,s=a;i<t;i++,s++)n[s]=e[i]??0;return!0}const u=r+3*l;for(let t=r,i=a;t<u;t+=3,i+=3)o(e,t,n,i);return!0}},49208(e,t,r){r.d(t,{Tp:()=>d,jd:()=>c,pO:()=>p,w5:()=>u});var i=r(34727),n=r(86211),s=r(73941),a=r(79258),l=r(34403),o=r(21325);const u={2:{5:p,7:null,9:null,10:p,1:I,6:null,8:null,0:null,3:y,11:m,2:p,4:C},5:{5:p,7:null,9:null,10:p,1:I,6:null,8:null,0:null,3:y,11:m,2:p,4:C},7:{5:null,7:p,9:null,10:p,1:null,6:b,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:p,10:p,1:null,6:null,8:w,0:null,3:null,11:null,2:null,4:null},3:{5:f,7:null,9:null,10:f,1:function(e,t,r,i){const n=e[t]/L,s=k-2*Math.atan(Math.exp(-e[t+1]/L)),a=L+(e[t+2]??0),l=Math.cos(s)*a;r[i]=Math.cos(n)*l,r[i+1]=Math.sin(n)*l,r[i+2]=Math.sin(s)*a},6:null,8:null,0:null,3:p,11:function(e,t,r,i){f(e,t,r,i),m(r,i,r,i)},2:f,4:function(e,t,r,i){f(e,t,r,i),C(r,i,r,i)}},4:{5:T,7:null,9:null,10:T,1:function(e,t,r,i){T(e,t,r,i),I(r,i,r,i)},6:null,8:null,0:null,3:function(e,t,r,i){T(e,t,r,i),y(r,i,r,i)},11:function(e,t,r,i){T(e,t,r,i),m(r,i,r,i)},2:T,4:p},1:{5:v,7:null,9:null,10:v,1:p,6:null,8:null,0:null,3:function(e,t,r,i){v(e,t,r,i),y(r,i,r,i)},11:function(e,t,r,i){v(e,t,r,i),m(r,i,r,i)},2:v,4:function(e,t,r,i){v(e,t,r,i),C(r,i,r,i)}},6:{5:null,7:F,9:null,10:F,1:null,6:p,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:M,10:M,1:null,6:null,8:p,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:p,3:null,11:null,2:null,4:null},10:{5:p,7:p,9:p,10:p,1:I,6:b,8:w,0:null,3:y,11:m,2:p,4:C},11:{5:g,7:null,9:null,10:g,1:function(e,t,r,i){g(e,t,r,i),I(r,i,r,i)},6:null,8:null,0:null,3:function(e,t,r,i){g(e,t,r,i),y(r,i,r,i)},11:p,2:g,4:function(e,t,r,i){g(e,t,r,i),C(r,i,r,i)}}};function c(e,t){return d(e,t)?.projector}function d(e,t){if(null==e||null==t)return null;if(A.source.spatialReference===e&&A.dest.spatialReference===t)return A;const r=h(e,A.source),i=h(t,A.dest);return 0===r&&0===i?(0,o.aI)(e,t)?A.projector=p:A.projector=null:A.projector=u[r][i],A}function h(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,n.GA)(e,1)),(0,s.jA)(e)?t.spatialReferenceId=1:(0,o.oT)(e)?t.spatialReferenceId=2:(0,o.K8)(e)?t.spatialReferenceId=3:(0,o.r1)(e)?t.spatialReferenceId=11:e.wkt===s.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===s.FY.wkt?t.spatialReferenceId=6:e.wkt===s.LJ.wkt?t.spatialReferenceId=8:(0,s.q8)(e)?t.spatialReferenceId=7:(0,s.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function p(e,t,r,i){e!==r&&(r[i++]=e[t++],r[i++]=e[t++],r[i]=e[t]??0)}function f(e,t,r,i){r[i]=x*(e[t]/L),r[i+1]=x*(k-2*Math.atan(Math.exp(-e[t+1]/L))),r[i+2]=e[t+2]??0}function y(e,t,r,n){!function(e,t,r,n,s){const a=.4999999*Math.PI,l=(0,i.qE)(R*e[t+1],-a,a),o=Math.sin(l);r[n++]=R*e[t]*s.radius,r[n++]=s.halfSemiMajorAxis*Math.log((1+o)/(1-o)),r[n]=e[t+2]??0}(e,t,r,n,a.$O)}function m(e,t,r,i){r[i]=e[t]*j,r[i+1]=e[t+1]*j,r[i+2]=e[t+2]??0}function g(e,t,r,i){r[i]=e[t]*O,r[i+1]=e[t+1]*O,r[i+2]=e[t+2]??0}function _(e,t,r,i,n){const s=n+(e[t+2]??0),a=R*e[t],l=R*e[t+1],o=Math.cos(l)*s;r[i]=Math.cos(a)*o,r[i+1]=Math.sin(a)*o,r[i+2]=Math.sin(l)*s}function w(e,t,r,i){_(e,t,r,i,a.Sw.radius)}function b(e,t,r,i){_(e,t,r,i,a.sH.radius)}function I(e,t,r,i){_(e,t,r,i,a.$O.radius)}function S(e,t,r,n,s){const a=e[t],l=e[t+1],o=e[t+2]??0,u=Math.sqrt(a*a+l*l+o*o),c=(0,i.YN)(o/(0===u?1:u)),d=Math.atan2(l,a);r[n++]=x*d,r[n++]=x*c,r[n]=u-s}function M(e,t,r,i){S(e,t,r,i,a.Sw.radius)}function F(e,t,r,i){S(e,t,r,i,a.sH.radius)}function v(e,t,r,i){S(e,t,r,i,a.$O.radius)}function C(e,t,r,i){!function(e,t,r,i,n){const s=R*e[t],a=R*e[t+1],l=e[t+2]??0,o=Math.sin(a),u=Math.cos(a),c=n.radius/Math.sqrt(1-n.eccentricitySquared*o*o);r[i++]=(c+l)*u*Math.cos(s),r[i++]=(c+l)*u*Math.sin(s),r[i++]=(c*(1-n.eccentricitySquared)+l)*o}(e,t,r,i,a.$O)}function T(e,t,r,i){const n=l.TP,s=e[t],o=e[t+1],u=e[t+2]??0;let c,d,h,p,f,y,m,g,_,w,b,I,S,M,F,v,C,T,A,R,k;c=Math.abs(u),d=s*s+o*o,h=Math.sqrt(d),p=d+u*u,f=Math.sqrt(p),R=Math.atan2(o,s),y=u*u/p,m=d/p,M=n.a2/f,F=n.a3-n.a4/f,m>.3?(g=c/f*(1+m*(n.a1+M+y*F)/f),A=Math.asin(g),w=g*g,_=Math.sqrt(1-w)):(_=h/f*(1-y*(n.a5-M-m*F)/f),A=Math.acos(_),w=1-_*_,g=Math.sqrt(w)),b=1-a.$O.eccentricitySquared*w,I=a.$O.radius/Math.sqrt(b),S=n.a6*I,M=h-I*_,F=c-S*g,C=_*M+g*F,v=_*F-g*M,T=v/(S/b+C),A+=T,k=C+v*T/2,u<0&&(A=-A),r[i++]=x*R,r[i++]=x*A,r[i]=k}const A={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:p},R=(0,i.kU)(1),x=(0,i.KJ)(1),k=.5*Math.PI,L=a.$O.radius,j=L*Math.PI/180,O=180/(L*Math.PI)},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>Q,initializeProjection:()=>V,isEqualBaseGCS:()=>J,isLoaded:()=>L,isLoadedOrLoad:()=>j,isLoadedOrLoadFor:()=>O,load:()=>P,project:()=>z,projectAsync:()=>$,projectExtent:()=>ne,projectMany:()=>Z,projectMultipoint:()=>H,projectOrLoad:()=>N,projectOrLoadMany:()=>D,projectPoint:()=>Y,projectPolygon:()=>re,projectPolyline:()=>ee,projectWithoutEngine:()=>K,requiresLoad:()=>E,test:()=>B,tryProject:()=>q,unload:()=>G});var i=r(49186),n=r(17676),s=r(62788),a=r(95488),l=r(51850),o=r(21276),u=r(73941),c=r(5443),d=r(91075),h=r(48526),p=r(86738),f=r(39829),y=r(82799),m=r(16930),g=r(98764),_=r(159),w=r(9762),b=r(49208);function I(e,t,r,i,n,s){return S[0]=e,S[1]=t,S[2]=r,(0,w.projectBuffer)(S,i,0,n,s,0)}const S=(0,l.vt)();var M=r(60408),F=r(21325),v=r(52006);let C=null,T=null,A=null,R=null,x={};const k=new a.I;function L(){return!!(T?.isLoaded()&&A?.isLoaded()&&R?.isLoaded())}function j(){return!!L()||((0,s.gc)(k),P(),!1)}function O(e,t){return!e||!t||Q(e,t)||j()}function E(e,t){return!Q(e,t)&&!L()}async function P(e){null==C&&(C=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(T=e,T.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(A=e,A.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(R=e,R.load()))])),await C,(0,n.Te)(e),k.notify()}function z(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,o.H)(e),Z(e,e[0].spatialReference,t,r)):((0,o.f)(e),Z([e],e.spatialReference,t,r)[0])}function Z(e,t,r,i){if(null==t||null==r)return e;if(Q(t,r,i))return e.map(e=>K(e,t,r));if(null==i?.geographicTransformation&&(0,u.jA)(t))return Z(e.map(e=>K(e,t,m.A.WGS84)),m.A.WGS84,r,{zConversionDisabled:i?.zConversionDisabled});if(null==i?.geographicTransformation&&(0,u.jA)(r))return Z(e,t,m.A.WGS84).map(e=>K(e,m.A.WGS84,r));if(!L())throw new U;if(!i?.geographicTransformation)if(i?.extendedParams)i={...i,geographicTransformation:R.getTransformation(t,r,i.areaOfInterestExtent)||new _.A};else if(!i?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let n=x[e];n||(n=R.getTransformation(t,r)||new _.A,x[e]=n),i={geographicTransformation:n,zConversionDisabled:i?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof d.A?T.executeMany(e,r,i):A.executeMany(e,r,i)}function q(e,t,r){try{return z(e,t,r)}catch(e){return null}}function N(e,t){const r=D([e],t);return null!=r.pending?{pending:r.pending,geometry:null}:null!=r.geometries?{pending:null,geometry:r.geometries[0]}:{pending:null,geometry:null}}function D(e,t,r){if(!L())for(const r of e)if(null!=r&&!(0,F.aI)(r.spatialReference,t)&&(0,F.fn)(r.spatialReference)&&(0,F.fn)(t)&&!Q(r.spatialReference,t))return(0,s.gc)(k),{pending:P(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,F.aI)(e.spatialReference,t)?e:(0,F.fn)(e.spatialReference)&&(0,F.fn)(t)?z(e,t,r):null)}}class U extends i.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function G(){C=null,T=null,A=null,R=null,x={}}const B={get loadPromise(){return C}};async function $(e,t,r){if((0,n.Te)(r),!e)return e;const i=D(Array.isArray(e)?e:[e],t,r);if(i.pending)return await i.pending,(0,n.Te)(r),$(e,t,r);const s=i.geometries??[];return Array.isArray(e)?s:s[0]}function Q(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,F.aI)(e,t)||(0,F.fn)(e)&&(0,F.fn)(t)&&!!(0,b.jd)(e,t))}function J(e,t){if((0,F.aI)(e,t))return!0;if(!(0,F.fn)(e)||!(0,F.fn)(t))return!1;const r=(0,F.oT)(e)||(0,F.K8)(e)||(0,F.x1)(e),i=(0,F.oT)(t)||(0,F.K8)(t)||(0,F.x1)(t);return r&&i}async function V(e,t,r,i){if(L())return(0,n.NO)(i);if(Array.isArray(e)){for(const{source:t,dest:r,options:n}of e)if(t&&r&&!Q(t,r,n))return P(i)}else if(e&&t&&!Q(e,t,r))return P(i);return(0,n.NO)(i)}function K(e,t,r){return e?(0,M.fT)(e)?W(e,t,new p.A,r,0):(0,M.ZC)(e)?se(e,t,new c.A,r,0):(0,M.Bi)(e)?ie(e,t,new f.A,r,0):(0,M.Rg)(e)?te(e,t,new y.A,r,0):(0,M.U9)(e)?X(e,t,new h.A,r,0):null:null}function Y(e,t,r=t.spatialReference,i=0){return null!=r&&null!=e.spatialReference&&null!=W(e,e.spatialReference,t,r,i)}function W(e,t,r,i,n){ue[0]=e.x,ue[1]=e.y;const s=e.z;return ue[2]=void 0!==s?s:n,(0,w.projectBuffer)(ue,t,0,ue,i,0)?(r.x=ue[0],r.y=ue[1],r.spatialReference=i,void 0!==s||(0,u.xP)(i)?(r.z=ue[2],r.hasZ=!0):(r.z=void 0,r.hasZ=!1),void 0===e.m?(r.m=void 0,r.hasM=!1):(r.m=e.m,r.hasM=!0),r):null}function H(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=X(e,e.spatialReference,t,r,i)}function X(e,t,r,i,n){const{points:s,hasZ:a,hasM:l}=e,o=[],u=s.length,c=[];for(const e of s)c.push(e[0],e[1],a?e[2]:n);if(!(0,w.projectBuffer)(c,t,0,c,i,0,u))return null;const d=oe(a,i);for(let e=0;e<u;++e){const t=3*e,r=c[t],i=c[t+1];d&&l?o.push([r,i,c[t+2],s[e][3]]):d?o.push([r,i,c[t+2]]):l?o.push([r,i,s[e][2]]):o.push([r,i])}return r.points=o,r.spatialReference=i,r.hasZ=a,r.hasM=l,r}function ee(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=te(e,e.spatialReference,t,r,i)}function te(e,t,r,i,n){const{curvePaths:s,paths:a,hasZ:l,hasM:o}=e;if(!(s?le(s,l??!1,o??!1,t,r.curvePaths=[],i,n):ae(a,l??!1,o??!1,t,r.paths,i,n)))return null;const u=oe(l,i);return r.spatialReference=i,r.hasZ=u,r.hasM=o,r}function re(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=ie(e,e.spatialReference,t,r,i)}function ie(e,t,r,i,n){const{curveRings:s,rings:a,hasZ:l,hasM:o}=e;return(s?le(s,l??!1,o??!1,t,r.curveRings=[],i,n):ae(a,l??!1,o??!1,t,r.rings,i,n))?(r.spatialReference=i,r.hasZ=oe(l,i),r.hasM=o,r):null}function ne(e,t,r=t.spatialReference,i=0){return null!=e.spatialReference&&null!=r&&null!=se(e,e.spatialReference,t,r,i)}function se(e,t,r,i,n){const{xmin:s,ymin:a,xmax:l,ymax:o,hasZ:u,hasM:c}=e;if(!I(s,a,u?e.zmin:n,t,ue,i))return null;const d=oe(u,i);return r.xmin=ue[0],r.ymin=ue[1],d&&(r.zmin=ue[2]),I(l,o,u?e.zmax:n,t,ue,i)?(r.xmax=ue[0],r.ymax=ue[1],d&&(r.zmax=ue[2]),c&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=i,r):null}function ae(e,t,r,i,n,s,a=0){const l=new Array;for(const r of e)for(const e of r)l.push(e[0],e[1],t?e[2]:a);if(!(0,w.projectBuffer)(l,i,0,l,s,0))return!1;let o=0;n.length=0;const u=t?3:2,c=oe(t,s);for(const t of e){const e=new Array;for(const i of t){const t=l.slice(o,o+=3);c||t.pop(),r&&t.push(i[u]),e.push(t)}n.push(e)}return!0}function le(e,t,r,i,n,s,a=0){const l=new Array;for(const r of e)for(const e of r){if((0,v.FG)(e))return!1;if((0,v.aO)(e)){const[r,i]=e.c;l.push(r[0],r[1],t?r[2]:a,i[0],i[1],a);continue}if((0,v.n1)(e)){const[r,i,n]=e.b;l.push(r[0],r[1],t?r[2]:a,i[0],i[1],a,n[0],n[1],a);continue}const r=e;l.push(r[0],r[1],t?r[2]:a)}if(!(0,w.projectBuffer)(l,i,0,l,s,0))return!1;let o=0;n.length=0;const u=t?3:2,c=oe(t,s);for(const t of e){const e=new Array;for(const i of t){const t=l.slice(o,o+=3);if(c||t.pop(),r&&t.push((0,v.yP)(i)[u]),(0,v.FG)(i))return!1;if((0,v.aO)(i)){const r=l[o++],i=l[o++];++o,e.push({c:[t,[r,i]]});continue}if((0,v.n1)(i)){const r=l[o++],i=l[o++];++o;const n=l[o++],s=l[o++];++o,e.push({b:[t,[r,i],[n,s]]});continue}e.push(t)}n.push(e)}return!0}function oe(e,t){return e||(0,u.xP)(t)||(0,F.aI)(t,g.Y0)}const ue=(0,l.vt)()},98764(e,t,r){r.d(t,{GD:()=>a,Y0:()=>u,lO:()=>c});var i=r(73941),n=r(16930),s=r(21325);const a=new n.A(i.fv),l=new n.A(i.FY),o=new n.A(i.LJ),u=new n.A(i.Ro);function c(e){const t=d.get(e);if(t)return t;let r=a;if(e)if(e===l)r=l;else if(e===o)r=o;else{const t=e.wkid,i=e.latestWkid;if(null!=t||null!=i)(0,s.tl)(t)||(0,s.tl)(i)?r=l:((0,s.ZL)(t)||(0,s.ZL)(i))&&(r=o);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===h?r=l:e===p&&(r=o)}}}return d.set(e,r),r}const d=new Map,h=l.wkt.toUpperCase(),p=o.wkt.toUpperCase()},34403(e,t,r){r.d(t,{TP:()=>a});var i=r(79258);Math.PI;const n=i.$O.radius,s=i.$O.eccentricitySquared,a={a1:n*s,a2:n*s*n*s,a3:n*s*s/2,a4:n*s*n*s*2.5,a5:n*s+n*s*s/2,a6:1-s};i.$O.radius,i.$O.flattening,i.Sw.radius,i.Sw.flattening,i.sH.radius,i.sH.flattening,i.sH.radius},62815(e,t,r){r.d(t,{N:()=>l,d:()=>o});var i=r(86211),n=r(73941),s=r(21325),a=r(52006);function l(e,t,r){const i=o(t,r);if(1!==i)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,i);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e){if(e.curvePaths)for(const r of e.curvePaths)for(const e of r){const r=(0,a.yP)(e);r.length>2&&(r[2]*=t)}if(e.paths)for(const r of e.paths)for(const e of r)e.length>2&&(e[2]*=t)}}(e,i);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e){if(e.curveRings)for(const r of e.curveRings)for(const e of r){const r=(0,a.yP)(e);r.length>2&&(r[2]*=t)}if(e.rings)for(const r of e.rings)for(const e of r)e.length>2&&(e[2]*=t)}}(e,i);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const r of e.points)r.length>2&&(r[2]*=t)}(e,i);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,i);default:return}}function o(e,t){return null==e||null==t||(0,s.aI)(e,t)||(0,n.xP)(e)||(0,n.xP)(t)?1:(0,i.G9)(e)/(0,i.G9)(t)}},4146(e,t,r){r.d(t,{A:()=>_});var i=r(5482),n=r(11254),s=r(49186),a=r(65529),l=r(4902),o=r(92474),u=r(53966),c=r(17676),d=r(84952),h=r(91429),p=r(5443),f=r(16930),y=r(92602),m=r(79677);let g=0,_=class extends((0,a.Zt)((0,l.s)(o.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new p.A(-180,-90,180,90,f.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+g++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=f.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(e){const t="string"==typeof e?{url:e}:e;return(await Promise.all([r.e(812),r.e(7982)]).then(r.bind(r,27982))).fromUrl(t)}static fromPortalItem(e){return async function(e){const t="portalItem"in e?e:{portalItem:e},{fromItem:i}=await Promise.all([r.e(812),r.e(5613),r.e(909)]).then(r.bind(r,45613));try{return await i(t)}catch(e){const r=t?.portalItem,i=r?.id||"unset",n=r?.portal?.url||y.A.portalUrl;throw u.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+n+"', id: '"+i+"')",e),e}}(e)}initialize(){this.when().catch(e=>{(0,c.zf)(e)||u.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:e})})}destroy(){const{parent:e}=this;e&&(this.parent=null,e.removeChildLayer?.(this))}get effectiveVisible(){return this.visible&&(this.parent?.effectiveVisible??!0)}get hasAttributionData(){return null!=this.attributionDataUrl}get loaded(){return super.loaded}removeFromParent(){const{parent:e}=this;e&&(e.removeChildLayer?.(this),this.parent=null)}get parsedUrl(){return(0,d.An)(this.url)}createLayerView(e,t){return Promise.reject(new s.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){const e=this.attributionDataUrl;if(this.hasAttributionData&&e)return(await(0,n.A)(e,{query:{f:"json"},responseType:"json"})).data;throw new s.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,i.Cg)([(0,h.MZ)({type:String})],_.prototype,"attributionDataUrl",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],_.prototype,"effectiveVisible",null),(0,i.Cg)([(0,h.MZ)({type:p.A})],_.prototype,"fullExtent",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],_.prototype,"hasAttributionData",null),(0,i.Cg)([(0,h.MZ)({type:String,clonable:!1})],_.prototype,"id",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean,nonNullable:!0})],_.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,h.MZ)({type:["show","hide","hide-children"]})],_.prototype,"listMode",void 0),(0,i.Cg)([(0,h.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],_.prototype,"opacity",void 0),(0,i.Cg)([(0,h.MZ)({clonable:!1})],_.prototype,"parent",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],_.prototype,"parsedUrl",null),(0,i.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],_.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean})],_.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean})],_.prototype,"attributionVisible",void 0),(0,i.Cg)([(0,h.MZ)({type:f.A})],_.prototype,"spatialReference",void 0),(0,i.Cg)([(0,h.MZ)({type:String})],_.prototype,"title",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],_.prototype,"type",void 0),(0,i.Cg)([(0,h.MZ)()],_.prototype,"url",void 0),(0,i.Cg)([(0,h.MZ)({type:m.A})],_.prototype,"visibilityTimeExtent",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean,nonNullable:!0})],_.prototype,"visible",void 0),_=(0,i.Cg)([(0,h.$K)("esri.layers.Layer")],_)},52136(e,t,r){r.d(t,{p:()=>s});var i=r(5482),n=r(91429);const s=e=>{const t=e;let r=class extends t{get apiKey(){return this._isOverridden("apiKey")?this._get("apiKey"):"portalItem"in this?this.portalItem?.apiKey:null}set apiKey(e){null!=e?this._override("apiKey",e):(this._clearOverride("apiKey"),this.clear("apiKey","user"))}};return(0,i.Cg)([(0,n.MZ)({type:String})],r.prototype,"apiKey",null),r=(0,i.Cg)([(0,n.$K)("esri.layers.mixins.APIKeyMixin")],r),r}},47685(e,t,r){r.d(t,{Mk:()=>p,Zk:()=>d,w6:()=>m});var i=r(5482),n=r(65529),s=r(4718),a=r(91429),l=r(20816);const o=new n.bk;function u(e){return o.on("apply-edits",new WeakRef(e))}function c(e){return o.on("update-moment",new WeakRef(e))}function d(e,t,r=null,i=!1){const n=Promise.withResolvers();return i=null==t||i,o.emit("apply-edits",{serviceUrl:e,layerId:t,gdbVersion:r,mayReceiveServiceEdits:i,result:n.promise}),n}const h=Symbol();function p(e){return null!=e&&"object"==typeof e&&h in e}function f(e){return null!=e&&"object"==typeof e&&"gdbVersion"in e}function y(e,t,r){const i=new URL(e).host,n=l.Z3.get(i),s=e=>!e||e===n;return s(t)&&s(r)||t===r}const m=e=>{var t;const r=e;let n=class extends r{static{t=h}constructor(...e){super(...e),this[t]=!0,this._applyEditsHandler=e=>{const{serviceUrl:t,layerId:r,gdbVersion:i,mayReceiveServiceEdits:n,result:a}=e,l=t===this.url,o=null!=r&&null!=this.layerId&&r===this.layerId,u=f(this),c=f(this)&&y(t,i,this.gdbVersion);if(!l||u&&!c||!o&&!n)return;const d=a.then(e=>{if(this.lastEditsEventDate=new Date,o&&(e.addedFeatures.length||e.updatedFeatures.length||e.deletedFeatures.length||e.addedAttachments.length||e.updatedAttachments.length||e.deletedAttachments.length))return this.emit("edits",(0,s.o8)(e)),e;const r=e.editedFeatures?.find(({layerId:e})=>e===this.layerId);if(r){const{adds:t,updates:i,deletes:n}=r.editedFeatures,a={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:t?t.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],deletedFeatures:n?n.map(({attributes:e})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],updatedFeatures:i?i.map(({current:{attributes:e}})=>({objectId:this.objectIdField&&e[this.objectIdField],globalId:this.globalIdField&&e[this.globalIdField]})):[],editedFeatures:(0,s.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,s.o8)(e.historicMoment)};return this.emit("edits",a),a}const n={edits:null,addedAttachments:[],deletedAttachments:[],updatedAttachments:[],addedFeatures:[],deletedFeatures:[],updatedFeatures:[],editedFeatures:(0,s.o8)(e.editedFeatures),exceededTransferLimit:!1,historicMoment:(0,s.o8)(e.historicMoment)};return"historicMoment"in this&&this._shouldUpdateHistoricMoment(t,i,n.historicMoment)&&this.emit("edits",n),n}).then(e=>("historicMoment"in this&&this._shouldUpdateHistoricMoment(t,i,e.historicMoment)&&(this.historicMoment=e.historicMoment),e));this.emit("apply-edits",{result:d})},this._updateMomentHandler=e=>{const{serviceUrl:t,gdbVersion:r,moment:i}=e,n=t===this.url,s=f(this),a=f(this)&&y(t,r,this.gdbVersion),l=f(this)&&!y(t,this.gdbVersion,null);n&&s&&a&&l&&"historicMoment"in this&&this.historicMoment!==i&&(this.historicMoment=i)},this.when().then(()=>{this.addHandles(u(this._applyEditsHandler)),"historicMoment"in this&&this.addHandles(c(this._updateMomentHandler))},()=>{})}_shouldUpdateHistoricMoment(e,t,r){return"historicMoment"in this&&this.historicMoment!==r&&(0,l.w5)(e,t)}};return(0,i.Cg)([(0,a.MZ)()],n.prototype,"lastEditsEventDate",void 0),n=(0,i.Cg)([(0,a.$K)("esri.layers.mixins.EditBusLayer")],n),n}},32756(e,t,r){r.d(t,{Rr:()=>l,fY:()=>u,ne:()=>o});var i=r(5482),n=r(93637),s=r(91429),a=r(91880);function l(e,t,r){if(!e)return null;const i=e.find(e=>!!e.field);if(!i)return null;const n=new a.A;return n.read(i,r),[n]}const o={type:[a.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,r,i){const s=e.find(e=>!!e.field);s&&(0,n.sM)(r,[s.toJSON()],t)}}}},u=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.orderBy=null}};return(0,i.Cg)([(0,s.MZ)(o)],r.prototype,"orderBy",void 0),r=(0,i.Cg)([(0,s.$K)("esri.layers.mixins.OrderedLayer")],r),r}},28032(e,t,r){r.d(t,{A:()=>o});var i=r(5482),n=r(69540),s=r(25482),a=r(91429),l=r(56400);let o=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.creatorField=null,this.creationDateField=null,this.editorField=null,this.editDateField=null,this.realm=null,this.timeZone=null}};(0,i.Cg)([(0,a.MZ)()],o.prototype,"creatorField",void 0),(0,i.Cg)([(0,a.MZ)()],o.prototype,"creationDateField",void 0),(0,i.Cg)([(0,a.MZ)()],o.prototype,"editorField",void 0),(0,i.Cg)([(0,a.MZ)()],o.prototype,"editDateField",void 0),(0,i.Cg)([(0,a.MZ)()],o.prototype,"realm",void 0),(0,i.Cg)([(0,a.MZ)((0,l.P6)("dateFieldsTimeReference",!0))],o.prototype,"timeZone",void 0),o=(0,i.Cg)([(0,a.$K)("esri.layers.support.EditFieldsInfo")],o)},29005(e,t,r){r.d(t,{A:()=>u});var i=r(5482),n=r(69540),s=r(66552),a=r(25482),l=r(91429);const o=new s.J({esriFeatureEditToolAutoCompletePolygon:"auto-complete-polygon",esriFeatureEditToolCircle:"circle",esriFeatureEditToolEllipse:"ellipse",esriFeatureEditToolFreehand:"freehand",esriFeatureEditToolLine:"line",esriFeatureEditToolNone:"none",esriFeatureEditToolPoint:"point",esriFeatureEditToolPolygon:"polygon",esriFeatureEditToolRectangle:"rectangle",esriFeatureEditToolArrow:"arrow",esriFeatureEditToolTriangle:"triangle",esriFeatureEditToolLeftArrow:"left-arrow",esriFeatureEditToolRightArrow:"right-arrow",esriFeatureEditToolUpArrow:"up-arrow",esriFeatureEditToolDownArrow:"down-arrow"});let u=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.name=null,this.description=null,this.drawingTool=null,this.prototype=null,this.thumbnail=null}};(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"description",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:o.read,write:o.write}})],u.prototype,"drawingTool",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"prototype",void 0),(0,i.Cg)([(0,l.MZ)({json:{write:!0}})],u.prototype,"thumbnail",void 0),u=(0,i.Cg)([(0,l.$K)("esri.layers.support.FeatureTemplate")],u)},33143(e,t,r){r.d(t,{A:()=>d});var i=r(5482),n=r(69540),s=r(25482),a=r(91429),l=r(8631),o=r(29005),u=r(36005),c=r(43937);let d=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,l.r)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,i.Cg)([(0,u.w)("domains")],d.prototype,"readDomains",null),(0,i.Cg)([(0,c.K)("domains")],d.prototype,"writeDomains",null),(0,i.Cg)([(0,a.MZ)({type:[o.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,i.Cg)([(0,a.$K)("esri.layers.support.FeatureType")],d)},37352(e,t,r){r.d(t,{A:()=>o});var i,n=r(5482),s=r(7762),a=r(25482),l=r(91429);let o=i=class extends a.o{constructor(e){super(e),this.floorField=null,this.viewAllMode=!1,this.viewAllLevelIds=new s.A}clone(){return new i({floorField:this.floorField,viewAllMode:this.viewAllMode,viewAllLevelIds:this.viewAllLevelIds})}};(0,n.Cg)([(0,l.MZ)({type:String,json:{write:{isRequired:!0}}})],o.prototype,"floorField",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],o.prototype,"viewAllMode",void 0),(0,n.Cg)([(0,l.MZ)({json:{read:!1,write:!1}})],o.prototype,"viewAllLevelIds",void 0),o=i=(0,n.Cg)([(0,l.$K)("esri.layers.support.LayerFloorInfo")],o)},91880(e,t,r){r.d(t,{A:()=>u});var i,n=r(5482),s=r(66552),a=r(25482),l=r(91429);const o=new s.J({asc:"ascending",desc:"descending"});let u=class extends a.o{static{i=this}constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,n.Cg)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,n.Cg)([(0,l.MZ)({type:o.apiValues,json:{type:o.jsonValues,read:o.read,write:o.write}})],u.prototype,"order",void 0),u=i=(0,n.Cg)([(0,l.$K)("esri.layers.support.OrderByInfo")],u)},45067(e,t,r){r.d(t,{A:()=>c});var i=r(5482),n=r(69540),s=r(66552),a=r(25482),l=r(91429);const o=new s.J({esriRelCardinalityOneToOne:"one-to-one",esriRelCardinalityOneToMany:"one-to-many",esriRelCardinalityManyToMany:"many-to-many"}),u=new s.J({esriRelRoleOrigin:"origin",esriRelRoleDestination:"destination"});let c=class extends((0,n.OU)(a.o)){constructor(e){super(e),this.cardinality=null,this.catalogId=null,this.composite=null,this.id=null,this.keyField=null,this.keyFieldInRelationshipTable=null,this.name=null,this.relatedTableId=null,this.relationshipTableId=null,this.role=null}};(0,i.Cg)([(0,l.MZ)({json:{read:o.read,write:o.write}})],c.prototype,"cardinality",void 0),(0,i.Cg)([(0,l.MZ)({json:{name:"catalogID"}})],c.prototype,"catalogId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"composite",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"id",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyField",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"keyFieldInRelationshipTable",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"name",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"relatedTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:!0,write:!0}})],c.prototype,"relationshipTableId",void 0),(0,i.Cg)([(0,l.MZ)({json:{read:u.read,write:u.write}})],c.prototype,"role",void 0),c=(0,i.Cg)([(0,l.$K)("esri.layers.support.Relationship")],c)},17311(e,t,r){r.d(t,{A:()=>p});var i=r(5482),n=r(69622),s=r(4576),a=r(60999),l=r(7762),o=r(16494),u=r(91429),c=r(30524),d=r(43668);const h=/<br\s*\/*>/gi;let p=class extends n.A{constructor(e){super(e),this._featureUtils=null,this.effectivePopupTemplate=null}get _arcadeTask(){return this.expressionsUsedInTitle.length>0?this._get("_arcadeTask")||(0,a.UT)(()=>(0,d.l)()):null}get featureUtilsPromise(){return this._get("featureUtilsPromise")??Promise.all([r.e(4560),r.e(9301)]).then(r.bind(r,99301)).then(e=>this._featureUtils=e)}get calculatedExpressions(){const e=new l.A;if(!this.expressionsUsedInTitle.length)return e;if(!this._arcadeTask?.value){for(const t of this.expressionsUsedInTitle??[])e.push({name:t.name,invalid:!0});return e}for(const t of this.expressionsUsedInTitle)try{const r=this._arcadeTask.value.arcade.parseScript(t.expression,["$layer","$map","$datastore"]);if(r.isAsync){e.push({name:t.name,invalid:!0});break}e.push({name:t.name,syntax:r,invalid:!1,func:this._arcadeTask.value.arcade.compileScript(r,{vars:{$feature:"any"}})})}catch{e.push({name:t.name,invalid:!0});break}return e}get expressionsUsedInTitle(){let e=this.effectivePopupTemplate?.title??"";return"string"!=typeof e?[]:(e=e.toLowerCase(),this.effectivePopupTemplate?.expressionInfos?.filter(t=>e.includes(`{expression/${t.name.toLowerCase()}}`))??[])}get fieldInfoMap(){return this._featureUtils?this._createFieldInfoMap(this._featureUtils.getAllFieldInfos(this.effectivePopupTemplate)):null}get hasBadExpressions(){return this.calculatedExpressions.some(e=>!0===e.invalid)}get requiredFields(){const e=new Set;if(this._arcadeTask?.value&&!this.hasBadExpressions)for(const t of this.calculatedExpressions?.toArray()??[])try{const r=this._arcadeTask.value.arcade.extractFieldLiterals(t.syntax);for(const t of r){const r=t.split("."),i=this.fieldsIndex.get(r.at(-1)??"");i&&e.add(i.name)}}catch{}const t=this._extractFieldNames(this.workingTitle);for(const r of t){const t=this.fieldsIndex.get(r);t&&e.add(t.name)}return null!=this.objectIdField&&e.add(this.objectIdField),e}get titleFromDisplayField(){let e="";return this.displayField&&(e=this.fieldsIndex.get(this.displayField)?.name??""),e||(e=this.fieldsIndex.get(this.objectIdField)?.name??""),e?`{${e}}`:""}get workingTitle(){const e=this.effectivePopupTemplate?this.effectivePopupTemplate.title:"";return""===e||null==e||this.hasBadExpressions||"string"!=typeof e?this.titleFromDisplayField:e}async getTitle(e,t,r){const i=t.getObjectId()??t.attributes[e.objectIdField];return(await this.getTitles(e,[t],r)).get(i)??""}async getTitles(e,t,r){const i=new Map,n=r?.timeZone??"system";try{const[{substituteFieldsInLinksAndAttributes:s}]=await Promise.all([this.featureUtilsPromise,this._arcadeTask?.promise]);r?.fetchMissingFields&&(t=await this._checkAndReQueryGraphics(e,t));const{fieldInfoMap:a,workingTitle:l}=this,u=l&&a;t.forEach(t=>{const c=t.getObjectId()??t.attributes[e.objectIdField];let d=u?s({attributes:t.attributes,expressionAttributes:null,fieldInfoMap:a,globalAttributes:this._createFormattedAttributes(e,t,n).global,layer:e,text:l}):"";r?.removeHTML&&(d=o.Nd.sanitize(d).replaceAll(h," ")),i.set(c,d)})}catch{}return i}async _checkAndReQueryGraphics(e,t){const r=t.map(t=>t.getObjectId()??t.attributes[e.objectIdField]).filter(s.Ru);if(r.length!==t.length)return t;if(t.some(e=>!(0,c.Kl)(e,this.requiredFields))){const i=e.createQuery();i.where="1=1",i.outFields=[...this.requiredFields],i.objectIds=r;const n=await e.queryFeatures(i);if(n?.features.length===t.length)return n.features}return t}_createFieldInfoMap(e){const t=new Map;if(!e)return t;for(const r of e){if(!r.fieldName)continue;const e=this.fieldsIndex.get(r.fieldName),i=e?.name??r.fieldName;r.fieldName=i,t.set(i.toLowerCase(),r)}return t}_createFormattedAttributes(e,t,r="system"){const i=this.effectivePopupTemplate?.fieldInfos??[],n={};if(!this._featureUtils)return{};if(!this.hasBadExpressions&&this.calculatedExpressions.length>0&&this._arcadeTask?.value){const r=this._arcadeTask.value.Feature.createFromGraphicLikeObject(t.geometry,t.attributes,e,null);for(const e of this.calculatedExpressions)try{n[`expression/${e.name}`]=e.func({vars:{$feature:r}})}catch{}}const s={...t.attributes,...n};return{global:this._featureUtils.formatAttributes({fieldInfos:i,attributes:s,graphic:t,timeZone:r,layer:e,fieldInfoMap:this.fieldInfoMap}),content:[]}}_extractFieldNames(e){return(0,c.nw)(e).filter(e=>!(e.startsWith("relationships/")||e.startsWith("expression/")))}};(0,i.Cg)([(0,u.MZ)({readOnly:!0})],p.prototype,"_arcadeTask",null),(0,i.Cg)([(0,u.MZ)()],p.prototype,"_featureUtils",void 0),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],p.prototype,"featureUtilsPromise",null),(0,i.Cg)([(0,u.MZ)({readOnly:!0})],p.prototype,"calculatedExpressions",null),(0,i.Cg)([(0,u.MZ)()],p.prototype,"displayField",void 0),(0,i.Cg)([(0,u.MZ)()],p.prototype,"effectivePopupTemplate",void 0),(0,i.Cg)([(0,u.MZ)()],p.prototype,"expressionsUsedInTitle",null),(0,i.Cg)([(0,u.MZ)()],p.prototype,"fieldsIndex",void 0),(0,i.Cg)([(0,u.MZ)()],p.prototype,"fieldInfoMap",null),(0,i.Cg)([(0,u.MZ)()],p.prototype,"fields",void 0),(0,i.Cg)([(0,u.MZ)()],p.prototype,"objectIdField",void 0),(0,i.Cg)([(0,u.MZ)()],p.prototype,"requiredFields",null),p=(0,i.Cg)([(0,u.$K)("esri.layers.support.TitleCreator")],p)},41560(e,t,r){r.d(t,{Ch:()=>a,mW:()=>s});var i=r(34727),n=r(39516);function s(e,t){return{...t,filterMode:e.mode}}function a(e,t,r){const s=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:i}of e.filters)t[0]=Math.max(t[0],c(r)),t[1]=Math.min(t[1],d(i));return t}(e);if(s&&((0,i.gg)(t,s[0])||(0,i.ZH)(r,s[1])))return"";const a=Array.from(l(e,t,r)),o=function(e,t,r){if(0===e.length)return!0;const n=c(e.at(0)?.minScale),s=d(e.at(-1)?.maxScale);if((0,i.ZH)(n,t)||(0,i.gg)(s,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],n=e[t+1];if((0,i.ZH)(c(n.minScale),d(r.maxScale)))return!0}return!1}(a,t,r)?"1=1":a.map(e=>e.where||"1=1").reduce((e,t)=>(0,n.IW)(e,t),"");return o&&"1=1"!==o?o:""}function*l(e,t,r){if("manual"===u(e)){const t=e.filters.find(t=>t.id===e.activeFilterId);t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const i of e.filters)o(i.minScale,i.maxScale,t,r)&&(yield i)}}function o(e,t,r,n){return e=c(e),r=c(r),t=d(t),!(!(0,i.Sp)(r,e)&&(n??r)>e||(0,i.Hx)(t,r)||void 0!==n&&(0,i.Sp)(n,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function c(e){return e||Number.POSITIVE_INFINITY}function d(e){return e||0}},77548(e,t,r){r.d(t,{Gh:()=>L,tk:()=>T,BR:()=>C,p2:()=>F,qd:()=>A,wI:()=>v,G$:()=>x,$x:()=>R,Ov:()=>w,cM:()=>h,UC:()=>p,W_:()=>b,Qz:()=>f,OP:()=>k,TU:()=>_,F2:()=>y,XX:()=>g,Qi:()=>I,jy:()=>S});var i=r(70333),n=r(11254),s=r(7762),a=(r(84952),r(36563)),l=r(36708),o=r(4146);const u=new WeakMap;function c(e){return!e.destroyed&&(u.has(e)||e.addHandles([(0,l.wB)(()=>{const{parent:t}=e;return!!(t&&t instanceof o.A)&&("catalog-dynamic-group"===t.type||c(t))},t=>u.set(e,t),l.pc),(0,a.hA)(()=>u.delete(e))]),u.get(e))}function d(e,t){return null!=e&&"object"==typeof e&&"type"in e&&e.type===t}function h(e){return d(e,"knowledge-graph")&&"layers"in e}function p(e){return d(e,"knowledge-graph-sublayer")}function f(e){return d(e,"link-chart")&&"layers"in e}function y(e){return d(e,"subtype-group")&&"sublayers"in e}function m(e){const t=e.parent;return function(e){return"group"===e?.type}(t)&&t.tables.includes(e)}r(16215);const g={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function _(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function w(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function b(e){const t=e?.type;return("feature"===t||"subtype-group"===t||"oriented-imagery"===t||"annotation-feature"===t||"dimension-feature"===t)&&"feature-layer"===e?.source?.type}function I(e){return null!=e&&"object"==typeof e&&"featureReduction"in e}function S(e){return function(e){return d(e,"catalog-footprint")}(e)||function(e){return d(e,"feature")}(e)&&function(e){return"feature"===e?.type&&"feature-layer"===e.source?.type}(e)||function(e){return d(e,"oriented-imagery")}(e)||function(e){return"subtype-sublayer"===e?.type}(e)}function M(e){const t=e?.type;return"binning"===t||"cluster"===t}function F(e,t){if(!S(e))return;const r=t?.graphic,i="featureReduction"in e?e.featureReduction:null;if(r){if(r.isAggregate){const e=r.origin;return e&&"featureReductionProvider"in e&&i?M(i)?i:null:void 0}return e}return t?.checkFeatureReduction&&i?M(i)?i:null:e}async function v(e,t){const r=i.id?.findServerInfo(e);if(null!=r?.currentVersion)return r.owningSystemUrl||null;const s=e.toLowerCase().indexOf("/rest/services");if(-1===s)return null;const a=`${e.slice(0,s)}/rest/info`,l=null!=t?t.signal:null,{data:o}=await(0,n.A)(a,{query:{f:"json"},responseType:"json",signal:l});return o?.owningSystemUrl||null}function C(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"parquet":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function T(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":case"knowledge-graph-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}function A(e){const t=new s.A;for(const r of e.allLayers.concat(e.allTables))c(r)||m(r)||"annotation-feature"===r.type||"dimension-feature"===r.type||("charts"in r&&t.push(r),"subtype-group"===r.type&&t.push(...r.sublayers));return t}function R(e,t){return null}function x(e){return null}function k(e){return!e||"Feature Service"===e.type&&!e.sourceUrl}function L(e,t){if(!t||!k(e))return;const r=(e.url,null);r&&(e.url=r)}},73133(e,t,r){r.d(t,{j:()=>i});const i=(0,r(66552).O)()({esriTimeUnitsMilliseconds:"milliseconds",esriTimeUnitsSeconds:"seconds",esriTimeUnitsMinutes:"minutes",esriTimeUnitsHours:"hours",esriTimeUnitsDays:"days",esriTimeUnitsWeeks:"weeks",esriTimeUnitsMonths:"months",esriTimeUnitsYears:"years",esriTimeUnitsDecades:"decades",esriTimeUnitsCenturies:"centuries",esriTimeUnitsUnknown:"unknown"})},73681(e,t,r){r.d(t,{n:()=>o});var i=r(49186),n=r(53966),s=r(46140),a=r(95466),l=r(55674);class o{static async from(e,t,r){const a=e.dictionary_version?s.A.parse(e.dictionary_version):null,c=new Set(e.itemsNames),d={};if(t)for(const e in t)d[e]=t[e];if(e.authoringInfo.configuration)for(const t of e.authoringInfo.configuration)d.hasOwnProperty(t.name)||(d[t.name]=t.value);const h=new Set(e.authoringInfo.symbol);for(const e of Object.keys(r))h.delete(e);h.size&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("missing-fields: fieldMap entries for the following symbol fields are missing",{symbolFields:h});const p=await(0,l.xR)(e.expression,null,d);if(!p)throw new i.A("dictionary-renderer:expression-error","Unable to create dictionary renderer expression");const f=!a||!a.greaterEqual(4,0);f&&n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("Dictionary script does not support native field types. Applying fallback",{version:a});const y=new u(r,f);return new o(f,c,p,y)}constructor(e,t,r,i){this._requiresFieldCoercionToString=e,this._itemNames=t,this._compiled=r,this._reader=i}get itemNames(){return this._itemNames}evaluate(e,t,r,i){try{return this._reader.bind(e,r,i),this._compiled.evaluate(this._reader,{$view:{scale:t}})}catch(e){n.A.getLogger("esri.renderers.support.DictionaryScriptEvaluator").warnOnce("arcade: dictionary script evaluation failed",{error:e})}return null}createDictionaryFieldsIndex(e){if(!this._requiresFieldCoercionToString)return new a.A(e);const t=e.map(e=>({...e,type:"esriFieldTypeString"}));return new a.A(t)}}class u extends l.Gj{constructor(e,t){super(),this._fieldMap=e,this._requiresFieldCoercionToString=t}_getField(e){const t=this._fieldMap[e]??e;return this._boundSchema.fieldsIndex.get(t)}field(e){if(!this._requiresFieldCoercionToString)return super.field(e,!1);const t=this._getField(e);return null==t||null==this._boundTarget.attributes[t.name]?"":""+this._boundTarget.attributes[t.name]}}},10536(e,t,r){function i(e){const t={};for(const r in e){if("declaredClass"===r)continue;const n=e[r];if(null!=n&&"function"!=typeof n)if(Array.isArray(n)){t[r]=[];for(let e=0;e<n.length;e++)t[r][e]=i(n[e])}else"object"==typeof n?n.toJSON&&(t[r]=JSON.stringify(n)):t[r]=n}return t}r.d(t,{z:()=>i})},17126(e,t,r){r.d(t,{dw:()=>a,qD:()=>l,qW:()=>o});var i=r(11254),n=r(21325),s=r(10536);function a(e,t){const r=e.toJSON();return r.objectIds&&(r.objectIds=r.objectIds.join(",")),r.orderByFields&&(r.orderByFields=r.orderByFields.join(",")),r.outFields&&!t?.returnCountOnly?r.outFields.includes("*")?r.outFields="*":r.outFields=r.outFields.join(","):delete r.outFields,r.outSR&&(r.outSR=(0,n.YX)(r.outSR)),r.dynamicDataSource&&(r.layer=JSON.stringify({source:r.dynamicDataSource}),delete r.dynamicDataSource),r}async function l(e,t,r){const i=await u(e,t,r),n=i.data,s=n.geometryType,a=n.spatialReference,l={};for(const e of n.relatedRecordGroups){const t={fields:void 0,geometryType:s,spatialReference:a,hasZ:!!n.hasZ,hasM:!!n.hasM,features:e.relatedRecords};if(null!=e.objectId)l[e.objectId]=t;else for(const r of Object.keys(e))"relatedRecords"!==r&&(l[e[r]]=t)}return{...i,data:l}}async function o(e,t,r){const i=await u(e,t,r,{returnCountOnly:!0}),n=i.data,s={};for(const e of n.relatedRecordGroups)null!=e.objectId&&(s[e.objectId]=e.count);return{...i,data:s}}async function u(e,t,r={},n){const l=(0,s.z)({...e.query,f:"json",...n,...a(t,n)});return(0,i.A)(e.path+"/queryRelatedRecords",{...r,query:{...r.query,...l}})}},58501(e,t,r){r.d(t,{q:()=>n});var i=r(62815);function n(e,t,r){if(!r?.features||!r.hasZ)return;const n=(0,i.N)(r.geometryType,t,e.outSpatialReference);if(n)for(const e of r.features)n(e.geometry)}},22671(e,t,r){r.d(t,{A:()=>_});var i,n=r(5482),s=r(52106),a=r(66552),l=r(25482),o=r(4718),u=r(91429),c=r(16930),d=r(60408),h=r(65864),p=r(50498),f=r(20437),y=r(36005),m=r(43937);const g=new a.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let _=i=class extends l.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,r,i){if(e)return void g.write(e,t,r,i);const{features:n}=this;if(n)for(const e of n)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,i)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,i=(0,h.rS)(e);return i&&!r&&t.spatialReference&&(i.spatialReference=c.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,o.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let r=0;r<t.features.length;r++){const i=t.features[r];if(i.geometry){const t=e?.[r];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,r],translate:[i,n]}=e,s=this.features,a=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-i)/t),e=>Math.round((n-e)/r));for(let e=0,t=s.length;e<t;e++)a?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[i,n],scale:[s,a]}=r;let l=null,o=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;o=r=>null==r?r:r*t+e}const u=this._getHydrationFunction(e,e=>e*s+i,e=>n-e*a,l,o);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const i=c.A.fromJSON(t.spatialReference),n=[];for(let t=0;t<e.length;t++){const s=e[t],a=r.fromJSON(s),l=s.geometry?.spatialReference;null==a.geometry||l||(a.geometry.spatialReference=i);const o=s.aggregateGeometries,u=a.aggregateGeometries;if(o&&null!=u)for(const e in u){const t=u[e],r=o[e],n=r?.spatialReference;null==t||n||(t.spatialReference=i)}n.push(a)}return n}_quantizePoints(e,t,r){let i,n;const s=[];for(let a=0,l=e.length;a<l;a++){const l=e[a];if(a>0){const e=t(l[0]),a=r(l[1]);e===i&&a===n||(s.push([e-i,a-n]),i=e,n=a)}else i=t(l[0]),n=r(l[1]),s.push([i,n])}return s.length>0?s:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,d.Bi)(e)?e.rings:e.paths,n=[];for(let e=0,s=i.length;e<s;e++){const s=i[e],a=this._quantizePoints(s,t,r);a&&n.push(a)}return n.length>0?((0,d.Bi)(e)?e.rings=n:e.paths=n,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,r);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,i,n){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,d.Bi)(e)?e.rings:e.paths;let a,l;for(let e=0,i=s.length;e<i;e++){const i=s[e];for(let e=0,n=i.length;e<n;e++){const n=i[e];e>0?(a+=n[0],l+=n[1]):(a=n[0],l=n[1]),n[0]=t(a),n[1]=r(l)}}if(i&&n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2]),r[3]=n(r[3])}}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=n(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),n&&null!=e.mmax&&null!=e.mmin&&(e.mmax=n(e.mmax),e.mmin=n(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let a,l;for(let e=0,i=s.length;e<i;e++){const i=s[e];e>0?(a+=i[0],l+=i[1]):(a=i[0],l=i[1]),i[0]=t(a),i[1]=r(l)}if(i&&n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2]),t[3]=n(t[3])}else if(i)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=i(t[2])}else if(n)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=n(t[2])}}:null}};(0,n.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],_.prototype,"displayFieldName",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],_.prototype,"exceededTransferLimit",void 0),(0,n.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],_.prototype,"features",void 0),(0,n.Cg)([(0,y.w)("features")],_.prototype,"readFeatures",null),(0,n.Cg)([(0,u.MZ)({type:[f.A],json:{write:!0}})],_.prototype,"fields",void 0),(0,n.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],_.prototype,"geometryType",void 0),(0,n.Cg)([(0,m.K)("geometryType")],_.prototype,"writeGeometryType",null),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],_.prototype,"hasM",void 0),(0,n.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],_.prototype,"hasZ",void 0),(0,n.Cg)([(0,u.MZ)({types:p.yR,json:{write:!0}})],_.prototype,"queryGeometry",void 0),(0,n.Cg)([(0,y.w)("queryGeometry")],_.prototype,"readQueryGeometry",null),(0,n.Cg)([(0,u.MZ)({type:c.A,json:{write:!0}})],_.prototype,"spatialReference",void 0),(0,n.Cg)([(0,m.K)("spatialReference")],_.prototype,"writeSpatialReference",null),(0,n.Cg)([(0,u.MZ)({json:{write:!0}})],_.prototype,"transform",void 0),_=i=(0,n.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],_),_.prototype.toJSON.isDefaultToJSON=!0},41366(e,t,r){r.d(t,{K:()=>d,Q:()=>o});var i=r(5482),n=r(66552),s=r(53966),a=r(91429),l=r(93223);const o=(0,n.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",c="field",d=e=>{const t=e;let r=class extends t{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&c||r&&u||null,t&&r&&s.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,i.Cg)([(0,a.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],r.prototype,"normalizationField",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],r.prototype,"normalizationMaxValue",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],r.prototype,"normalizationMinValue",void 0),(0,i.Cg)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],r.prototype,"normalizationTotal",void 0),(0,i.Cg)([(0,l.e)(o,{name:"parameters.normalizationType"})],r.prototype,"normalizationType",null),r=(0,i.Cg)([(0,a.$K)("esri.rest.support.NormalizationBinParametersMixin")],r),r}},55674(e,t,r){r.d(t,{Ad:()=>p,Gj:()=>m,QY:()=>h,lL:()=>g,xR:()=>f});var i=r(66131),n=r(49186),s=(r(44208),r(44729)),a=r(15032),l=r(65864),o=r(95466),u=r(43668),c=r(98623);const d=["geometry","scale","timeProperties"];function h(e,t){if(null!=t)for(const r of d)t.hasArcadeDependency(r)&&e.add(r);return e}function p(e,t){return y.create(e,t,null,["$feature","$view"])}function f(e,t,r){return y.create(e,t,r,["$feature","$view","$config"])}class y{static async create(e,t,r,i){const{arcade:s,Dictionary:a}=await(0,u.l)();let l;try{l=s.parseScript(e)}catch(t){throw new n.A("arcade-bad-expression","Failed to parse arcade script",{script:e,error:t})}const o=s.scriptUsesGeometryEngine(l);o&&await s.enableGeometrySupport(),await s.loadDependentModules(new Set,l,null,!1,o);const c={vars:i.reduce((e,t)=>({...e,[t]:null}),{}),spatialReference:t,useAsync:!1},d=s.compileScript(l,c);let h=null;null!=r&&(h=new a(r),h.immutable=!0);const p=new a;return p.immutable=!1,p.setField("scale",0),new y(e,s,l,d,t,p,h,a)}constructor(e,t,r,i,n,s,a,l){this.script=e,this._arcade=t,this._syntaxTree=r,this._compiled=i,this._spatialReference=n,this._viewDict=s,this._configDict=a,this._dictionaryCtor=l,this._dependencies=new Map,this._featureReader=new m,this._dependencies.set("geometry",t.scriptTouchesGeometry(this._syntaxTree)),this._dependencies.set("scale",this._arcade.referencesMember(this._syntaxTree,"scale")),this._dependencies.set("timeProperties",this._arcade.scriptUsesViewProperties(this._syntaxTree,["timeProperties"]))}evaluate(e,t){const r=t.$view?.timeZone;if(t.$view){let e;if(this._viewDict.setField("scale",t.$view.scale),null!=t.$view.timeProperties){const{currentStart:n,currentEnd:s}=t.$view.timeProperties;e=new this._dictionaryCtor({currentStart:null!=n?null!=r?i.lY.epochToArcadeDate(n,r):i.lY.unknownEpochToArcadeDate(n):void 0,currentEnd:null!=s?null!=r?i.lY.epochToArcadeDate(s,r):i.lY.unknownEpochToArcadeDate(s):void 0,startIncluded:!0,endIncluded:!0})}this._viewDict.setField("timeProperties",e)}return this._compiled({vars:{$view:this._viewDict,$config:this._configDict,$feature:e},spatialReference:this._spatialReference,timeZone:r})}repurposeFeature(e,t){return this._featureReader.bind(e,t,this._spatialReference),this._featureReader}references(e){return this._dependencies.get(e)??!1}}class m{constructor(){this._boundTarget=null,this._boundSchema={fields:null,fieldsIndex:null,spatialReference:null,get geometryType(){return null},get objectIdField(){return null}},this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}bind(e,t,r){const i=t??new o.A(g(e.attributes));this._boundTarget=e,this._boundSchema.fields=i.fields,this._boundSchema.fieldsIndex=i,this._boundSchema.spatialReference=r}_getField(e){return this._boundSchema.fieldsIndex.get(e)}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this._boundSchema.fieldsIndex.has(e)}geometry(){if("fromJSON"in this._boundTarget)return this._boundTarget.geometry;const e=(0,l.rS)(this._boundTarget.geometry);if(e){if(!this._boundSchema.spatialReference)throw new Error("InternalError: Expected spatial reference to be defined");e.spatialReference=this._boundSchema.spatialReference}return e}_hasGeometry(){return null!=this._boundTarget.geometry}isUnknownDateTimeField(e){return this._boundSchema.fieldsIndex.getTimeZone(e)===c.L5}field(e,t=!0){const r=this._getField(e);if(r){const t=this._boundTarget.attributes[r.name];if(null==t)return null;switch(r.type){case"date-only":case"esriFieldTypeDateOnly":return s.n.fromReader(t);case"time-only":case"esriFieldTypeTimeOnly":return a.k.fromReader(t);case"esriFieldTypeTimestampOffset":case"timestamp-offset":return i.lY.fromReaderAsTimeStampOffset(t);case"date":case"esriFieldTypeDate":return this.isUnknownDateTimeField(e)?i.lY.unknownEpochToArcadeDate(t):i.lY.epochToArcadeDate(t,this.contextTimeZone??c.qU);default:return t}}if(t)throw new Error(`Field ${e} does not exist`);return null}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this._boundSchema.fieldsIndex.fields.map(e=>e.name)}isEmpty(){return this._boundSchema.fields.length<=0&&!this._hasGeometry()}castToText(e=!1){return JSON.stringify(this._boundTarget)}gdbVersion(){return null}fullSchema(){return this._boundSchema}castAsJson(e=null){return{attributes:this._boundTarget.attributes,geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}}function g(e){const t=[];for(const r in e)t.push({name:r,alias:r,type:"string"==typeof e[r]?"esriFieldTypeString":"esriFieldTypeDouble"});return t}},16215(e,t,r){r.d(t,{S:()=>n,Y:()=>i});const i=Symbol("BasemapInstance");function n(e){return null!=e&&"object"==typeof e&&i in e}},28076(e,t,r){r.d(t,{D:()=>n});var i=r(13337);const n={CIMVectorMarker:{scalesymbolsproportionally:!1,respectframe:!0,anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMPictureMarker:{scalex:1,texturefilter:"Draft",anchorpointunits:"Relative",offsetx:0,offsety:0,rotateclockwise:!1,rotation:0,size:10,enable:!0,colorlocked:!1},CIMTextSymbol:{angle:0,anglex:0,angley:0,halosize:1,height:10,horizontalalignment:"Left",kerning:!0,letterspacing:0,letterwidth:100,ligatures:!0,linegap:0,offsetx:0,offsety:0,strikethrough:!1,textcase:"Normal",textstring:"",underline:!1,verticalalignment:"Bottom",enable:!0,colorlocked:!1},CIMSolidStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMPictureStroke:{texturefilter:"Draft",capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1},CIMGradientStroke:{capstyle:"Round",joinstyle:"Round",miterlimit:4,width:4,enable:!0,colorlocked:!1,gradientMethod:"AcrossLine",gradientSize:75,gradientSizeUnits:i.h.Relative,gradientType:"Discrete",interval:5},CIMSolidFill:{enable:!0,colorlocked:!1},CIMPictureFill:{offsetx:0,offsety:0,rotation:0,scalex:1,height:10,texturefilter:"Draft",enable:!0,colorlocked:!1},CIMHatchFill:{offsetx:0,offsety:0,rotation:0,separation:4,enable:!0,colorlocked:!1},CIMGradientFill:{enable:!0,angle:90,gradientMethod:"Linear",gradientSize:75,gradientSizeUnits:i.h.Relative,gradientType:"Discrete",interval:5},CIMGeometricEffectAddControlPoints:{angletolerance:120},CIMGeometricEffectArrow:{arrowtype:"OpenEnded",width:5},CIMGeometricEffectBuffer:{size:1},CIMGeometricEffectCut:{begincut:1,endcut:1,middlecut:0,invert:!1},CIMGeometricEffectDashes:{customendingoffset:0,linedashending:"NoConstraint",offsetalongline:0},CIMGeometricEffectDonut:{method:"Mitered",option:"Accurate",width:2},CIMGeometricEffectJog:{angle:225,length:20,position:50},CIMGeometricEffectControlMeasureLine:{rule:"FullGeometry",width:25},CIMGeometricEffectMove:{offsetx:1,offsety:-1},CIMGeometricEffectOffset:{method:"Square",offset:1,option:"Fast"},CIMGeometricEffectRadial:{angle:0,length:5},CIMGeometricEffectRotate:{angle:15},CIMGeometricEffectScale:{xscalefactor:1.15,yscalefactor:1.15},CIMGeometricEffectWave:{amplitude:2,period:3,seed:1,waveform:"Sinus"},CIMMarkerPlacementAlongLine:{customendingoffset:0,endings:"WithHalfGap",offsetalongline:0,placeperpart:!0,angletoline:!0,offset:0},CIMMarkerPlacementAtExtremities:{extremityplacement:"Both",offsetalongline:0,angletoline:!0,offset:0},CIMMarkerPlacementAtRatioPositions:{beginposition:0,endposition:0,flipfirst:!0,angletoline:!0,offset:0},CIMMarkerPlacementInsidePolygon:{gridangle:0,gridtype:"Fixed",offsetx:0,offsety:0,randomness:100,seed:0,shiftoddrows:!1,stepx:16,stepy:16,clipping:"ClipAtBoundary"},CIMMarkerPlacementOnLine:{relativeto:"LineMiddle",startpointoffset:0,angletoline:!0,offset:0},CIMMarkerPlacementOnVertices:{placeperpart:!0,placeoncontrolpoints:!0,placeonendpoints:!0,placeonregularvertices:!0,angletoline:!0,offset:0},CIMMarkerPlacementPolygonCenter:{method:"OnPolygon",offsetx:0,offsety:0,clipatboundary:!1},CIMAnimatedSymbolProperties:{playanimation:!1,reverseanimation:!1,randomizestarttime:!1,randomizestartseed:0,starttimeoffset:0,duration:3,endingduration:3,useendingduration:!1,repeattype:"Loop",repeatdelay:0,easing:"Linear"},CIMSymbolAnimationSize:{tosize:10},CIMSymbolAnimationScale:{scalefactor:1},CIMSymbolAnimationColor:{tocolor:[255,255,255,1],colormode:"Multiply"},CIMSymbolAnimationTransparency:{totransparency:0},CIMSymbolAnimationRotation:{torotation:0,rotateclockwise:!1},CIMSymbolAnimationOffset:{offsetx:0,offsety:0},CIMSymbolAnimationMoveAlongLine:{speed:30,distancealong:100,movementtype:"Distance"}}},13337(e,t,r){r.d(t,{h:()=>i});const i={Relative:0,Absolute:1}},93397(e,t,r){r.d(t,{$w:()=>y,Bu:()=>v,DW:()=>I,FH:()=>k,FM:()=>l,Kn:()=>w,MM:()=>d,Nl:()=>C,O2:()=>T,UE:()=>A,YC:()=>j,YF:()=>R,_1:()=>M,_d:()=>b,_h:()=>a,bs:()=>L,e6:()=>u,gQ:()=>s,jn:()=>p,lW:()=>c,ll:()=>z,mA:()=>h,oI:()=>G,pM:()=>S,pV:()=>_,pk:()=>E,rB:()=>P,xo:()=>F,yX:()=>U,z9:()=>g,zb:()=>x,zr:()=>f});var i=r(28076);function n(e){let t=e.length;for(;t--;)if(!" /-,\n".includes(e.charAt(t)))return!1;return!0}function s(e,t){const r=[];let i=0,s=-1;do{if(s=e.indexOf("[",i),s>=i){if(s>i){const t=e.slice(i,s);r.push([t,null,n(t)])}if(i=s+1,s=e.indexOf("]",i),s>=i){if(s>i){const n=t[e.slice(i,s)];n&&r.push([null,n,!1])}i=s+1}}}while(-1!==s);if(i<e.length){const t=e.slice(i);r.push([t,null,n(t)])}return r}function a(e,t,r){let i="",n=null;for(const r of t){const[t,s,a]=r;if(null!=t&&""!==t)a?n=t:(null!=n&&(i+=n,n=null),i+=t);else{const t=e.readAttribute(s);null!=t&&""!==t&&(null!==n&&(i+=n,n=null),i+=t)}}return o(i,r)}function l(e,t,r,i){let n="",s=null;for(const i of t){const[t,a,l]=i;if(null!=t&&""!==t)l?s=t:(null!=s&&(n+=s,s=null),n+=t);else{let t=a;null!=r&&(t=O(a,r));const i=e.attributes[t];null!=i&&""!==i&&(null!=s&&(n+=s,s=null),n+=i)}}return o(n,i)}function o(e,t){switch("string"!=typeof e&&(e=String(e)),t){case"LowerCase":return e.toLowerCase();case"Allcaps":return e.toUpperCase();default:return e}}function u(e){return e?[e[0],e[1],e[2],e[3]/255]:[0,0,0,0]}function c(e){return e.data?.symbol??null}function d(e){return"CIMVectorMarker"===e.type||"CIMPictureMarker"===e.type||"CIMBarChartMarker"===e.type||"CIMCharacterMarker"===e.type||"CIMPieChartMarker"===e.type||"CIMStackedBarChartMarker"===e.type}function h(e){return"CIMGradientStroke"===e.type||"CIMPictureStroke"===e.type||"CIMSolidStroke"===e.type}function p(e){return null!=e&&("CIMGradientFill"===e.type||"CIMHatchFill"===e.type||"CIMPictureFill"===e.type||"CIMSolidFill"===e.type||"CIMWaterFill"===e.type)}function f(e){return null!=e&&("CIMMarkerPlacementAlongLineRandomSize"===e.type||"CIMMarkerPlacementAlongLineSameSize"===e.type||"CIMMarkerPlacementAlongLineVariableSize"===e.type||"CIMMarkerPlacementAtExtremities"===e.type||"CIMMarkerPlacementAtMeasuredUnits"===e.type||"CIMMarkerPlacementAtRatioPositions"===e.type||"CIMMarkerPlacementOnLine"===e.type||"CIMMarkerPlacementOnVertices"===e.type)}const y=(e,t=0)=>null==e||isNaN(e)?t:e;class m{constructor(e){this._import=e}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(e=>this.module=e)),this._promise}}function g(e){return new m(e)}function _(e){if(!e)return"normal";switch(e.toLowerCase()){case"italic":return"italic";case"oblique":return"oblique";default:return"normal"}}function w(e){if(!e)return"normal";switch(e.toLowerCase()){case"bold":return"bold";case"bolder":return"bolder";case"lighter":return"lighter";default:return"normal"}}function b(e){let t="normal",r="normal";if(e){const i=e.toLowerCase();i.includes("italic")?t="italic":i.includes("oblique")&&(t="oblique"),i.includes("bold")?r="bold":i.includes("light")&&(r="lighter")}return{style:t,weight:r}}function I(e){return e.underline?"underline":e.strikethrough?"line-through":"none"}function S(e){if(!e)return null;switch(e.type){case"CIMPolygonSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=S(t);if(null!=e)return e}break;case"CIMTextSymbol":return S(e.symbol);case"CIMSolidFill":return e.color}return null}function M(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":{const t=e.symbolLayers;if(t)for(const e of t){const t=M(e);if(null!=t)return t}break}case"CIMTextSymbol":return M(e.symbol);case"CIMSolidStroke":return e.color}}function F(e){if(e)switch(e.type){case"CIMPolygonSymbol":case"CIMLineSymbol":if(e.symbolLayers)for(const t of e.symbolLayers){const e=F(t);if(void 0!==e)return e}break;case"CIMTextSymbol":return F(e.symbol);case"CIMSolidStroke":case"CIMGradientStroke":case"CIMPictureStroke":return e.width}}function v(e){switch(e){case"Left":default:return"left";case"Right":return"right";case"Center":return"center";case"Justify":return"justify"}}function C(e){switch(e){default:case"Bottom":return"bottom";case"Top":return"top";case"Center":return"middle";case"Baseline":return"baseline"}}function T(e){return(e?Object.keys(e):[]).map(t=>({name:t,alias:t,type:"string"==typeof e[t]?"esriFieldTypeString":"esriFieldTypeDouble"}))}const A=e=>e.includes("data:image/svg+xml");function R(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function x(e,t,r,i,n,s,a=!0){const{infos:l}=s;let o=1,u=0,c=0,d=0,h=1;for(const{absoluteAnchorPoint:e,offsetX:t,offsetY:r,rotation:i,size:n,frameHeight:s,rotateClockWise:p,scaleSymbolsProportionally:f}of l)h=e?1:o,c=N(t,r,u,h,c),d=q(t,r,u,h,d),s&&(f||a)&&(o*=n/s),u=D(i,p,u);const p=N(i,n,u,h,c),f=q(i,n,u,h,d);return{size:e*o,rotation:D(t,r,u),offsetX:p,offsetY:f}}function k(e){return e?.dashTemplate&&(e.dashTemplate=function(e){return"string"==typeof e?function(e){return e.split(" ").map(e=>Number(e))}(e):e}(e.dashTemplate)),e}function L(e){if(null==e)return"Normal";switch(e.type){case"CIMTextSymbol":return e.textCase??"Normal";case"CIMPointSymbol":case"CIMLineSymbol":case"CIMPolygonSymbol":{const t=e.symbolLayers;if(!t)return"Normal";for(const e of t)if("CIMVectorMarker"===e.type)return L(e)}break;case"CIMVectorMarker":{const t=e.markerGraphics;if(!t)return"Normal";for(const e of t)if(e.symbol)return L(e.symbol)}}return"Normal"}function j(e){if(e)switch(e.type){case"CIMTextSymbol":return e.height;case"CIMPointSymbol":{let t=0;if(e.symbolLayers)for(const r of e.symbolLayers)if(r)switch(r.type){case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":{const e=r.size??i.D.CIMVectorMarker.size;e>t&&(t=e);break}}return t}case"CIMLineSymbol":case"CIMPolygonSymbol":{let t=0;if(e.symbolLayers)for(const r of e.symbolLayers)if(r)switch(r.type){case"CIMSolidStroke":case"CIMPictureStroke":case"CIMGradientStroke":{const e=r.width;null!=e&&e>t&&(t=e);break}case"CIMCharacterMarker":case"CIMPictureMarker":case"CIMVectorMarker":case"CIMObjectMarker3D":case"CIMglTFMarker3D":if(r.markerPlacement&&f(r.markerPlacement)){const e=r.size??i.D.CIMVectorMarker.size;e>t&&(t=e)}break;case"CIMPictureFill":{const e=r.height;null!=e&&e>t&&(t=e)}}return t}}}function O(e,t){if(null!==t){const r=t.get(e);return r?r.name:e}return e}function E(e){return e.map(e=>({...e,propertyName:R(e.propertyName)}))}function P(e){const t={};for(const r in e){const i=e[r];t[R(r)]=i}return t}function z(e){if(!e)return 0;let t=0;for(const r of e)t+=Z(r);return t}function Z(e){if(!e)return 0;if(function(e){return e.type.startsWith("PRI")}(e))return e.inflateSize??256;switch(e.type){case"CIMGeometricEffectArrow":return Math.abs(.5*e.width);case"CIMGeometricEffectBuffer":return Math.abs(e.size);case"CIMGeometricEffectControlMeasureLine":return 500;case"CIMGeometricEffectExtension":return Math.abs(e.length);case"CIMGeometricEffectJog":return Math.abs(.5*e.length);case"CIMGeometricEffectMove":return Math.max(Math.abs(y(e.offsetX)),Math.abs(y(e.offsetY)));case"CIMGeometricEffectOffset":case"CIMGeometricEffectOffsetTangent":return Math.abs(e.offset);case"CIMGeometricEffectRadial":return Math.abs(e.length??5);case"CIMGeometricEffectRegularPolygon":return Math.abs(e.radius);case"CIMGeometricEffectRotate":case"CIMGeometricEffectScale":default:return 0;case"CIMGeometricEffectTaperedPolygon":return.5*Math.max(Math.abs(e.fromWidth),Math.abs(e.toWidth));case"CIMGeometricEffectWave":return Math.abs(e.amplitude);case"CIMGeometricEffectDonut":return Math.abs(e.width)}}function q(e,t,r,i,n){const s=r*Math.PI/180;if(s){const r=Math.cos(s);return(Math.sin(s)*e+r*t)*i+n}return t*i+n}function N(e,t,r,i,n){const s=r*Math.PI/180;return s?(Math.cos(s)*e-Math.sin(s)*t)*i+n:e*i+n}function D(e,t,r){return t?r-e:r+e}function U(e,t){return Math.max(Math.min((e??t)/100,1),0)}function G(e){return null!=e&&function(e){return"setControlPoint"in e&&"getControlPoint"in e&&"setControlPointAt"in e&&"getControlPointAt"in e}(e)?e:void 0}},93470(e,t,r){r.d(t,{Cb:()=>s,HW:()=>c,JR:()=>n,JZ:()=>o,WR:()=>l,b6:()=>d,fT:()=>i,nC:()=>u,yM:()=>a});const i=[252,146,31,255],n=[153,153,153,255],s={type:"esriSMS",style:"esriSMSCircle",size:6,color:i,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},a={type:"esriSLS",style:"esriSLSSolid",width:.75,color:i},l={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},o={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},u={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},c={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},d={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}},79677(e,t,r){r.d(t,{A:()=>h});var i,n=r(5482),s=r(25482),a=r(88930),l=r(91429),o=r(98623),u=r(10184),c=r(36005),d=r(43937);let h=class extends s.o{static{i=this}static get allTime(){return p}static get empty(){return f}static fromArray(e){return new i({start:null!=e[0]?new Date(e[0]):e[0],end:null!=e[1]?new Date(e[1]):e[1]})}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(i.allTime)}get isEmpty(){return this.equals(i.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new i({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,r=this.end?.getTime()??this.end,i=e.start?.getTime()??e.start,n=e.end?.getTime()??e.end;return t===i&&r===n}expandTo(e,t=o.qU){if(this.isEmpty||this.isAllTime||"unknown"===e)return this.clone();let r=this.start;r&&(r=(0,a.lL)(r,new u.A({value:1,unit:e}),t));let n=this.end;if(n){const r=(0,a.lL)(n,new u.A({value:1,unit:e}),t);n=n.getTime()===r.getTime()?r:(0,a.S1)(r,1,e,t)}return new i({start:r,end:n})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return i.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,r=this.end?.getTime()??1/0,n=e.start?.getTime()??-1/0,s=e.end?.getTime()??1/0;let a,l;return n>=t&&n<=r?a=n:t>=n&&t<=s&&(a=t),r>=n&&r<=s?l=r:s>=t&&s<=r&&(l=s),null==a||null==l||isNaN(a)||isNaN(l)?i.empty:new i({start:a===-1/0?null:new Date(a),end:l===1/0?null:new Date(l)})}offset(e,t,r=o.qU){if(this.isEmpty||this.isAllTime||"unknown"===t)return this.clone();const n=new i,{start:s,end:l}=this;return null!=s&&(n.start=(0,a.S1)(s,e,t,r)),null!=l&&(n.end=(0,a.S1)(l,e,t,r)),n}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return p.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,r=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new i({start:t,end:r})}};(0,n.Cg)([(0,l.MZ)({type:Date,json:{write:{allowNull:!0}}})],h.prototype,"end",void 0),(0,n.Cg)([(0,c.w)("end")],h.prototype,"readEnd",null),(0,n.Cg)([(0,d.K)("end")],h.prototype,"writeEnd",null),(0,n.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1}})],h.prototype,"isAllTime",null),(0,n.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1}})],h.prototype,"isEmpty",null),(0,n.Cg)([(0,l.MZ)({type:Date,json:{write:{allowNull:!0}}})],h.prototype,"start",void 0),(0,n.Cg)([(0,c.w)("start")],h.prototype,"readStart",null),(0,n.Cg)([(0,d.K)("start")],h.prototype,"writeStart",null),h=i=(0,n.Cg)([(0,l.$K)("esri.time.TimeExtent")],h);const p=new h,f=new h({start:void 0,end:void 0})},10184(e,t,r){r.d(t,{A:()=>c});var i=r(5482),n=r(69540),s=r(25482),a=r(88930),l=r(91429),o=r(73133),u=r(93223);let c=class extends((0,n.OU)(s.o)){constructor(e){super(e),this.unit="milliseconds",this.value=0}toMilliseconds(){return(0,a.t)(this.value,this.unit,"milliseconds")}};(0,i.Cg)([(0,u.e)(o.j,{nonNullable:!0})],c.prototype,"unit",void 0),(0,i.Cg)([(0,l.MZ)({type:Number,json:{write:!0},nonNullable:!0})],c.prototype,"value",void 0),c=(0,i.Cg)([(0,l.$K)("esri.time.TimeInterval")],c)},20816(e,t,r){r.d(t,{TA:()=>n,We:()=>l,Z3:()=>s,ZJ:()=>o,w5:()=>u});var i=r(11254);const n=(0,r(13069).vD)(),s=new Map,a=new Map;async function l(e,t,r){if(!e||!r)return!1;if(!t)return!0;const n=new URL(e).host;let a=s.get(n);if(!a){const t=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,"");a=(await(0,i.A)(t,{responseType:"json",query:{f:"json"}})).data.defaultVersionName}return a===t}async function o(e,t,i=!1){if(!e||!t)return!0;const s=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),l=a.get(s)?.entries();if(l)for(const[e,a]of l)if(a.name===t){const t=!a.stack?.hasForwardEdits();if(!t&&i){const[{deleteForwardEdits:t},{default:i}]=await Promise.all([r.e(2186).then(r.bind(r,32186)),r.e(2558).then(r.bind(r,32558))]),l=await t(s,e,new i({sessionId:n,moment:a.moment}));return l.success&&a.stack?.clearForwardEdits(),l.success}return t}return!0}function u(e,t){if(!e)return!1;const r=e.replace(/\/FeatureServer/i,"/VersionManagementServer").replace(/\/\d*$/,""),i=a.get(r)?.entries();if(i)for(const[e,r]of i)if(r.name===t)return"edit"===r.lockType;return!1}new Map}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,4935,5611,6061,7316,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()}}},29821(t,e,n){n.d(e,{O:()=>s});var r=n(15756);class s extends r.v{getOperatorType(){return 6}execute(t,e,n,s){return(0,r.w)(t,e,n,16,s)}}},76061(t,e,n){n.d(e,{S:()=>s});var r=n(61691);class s extends r.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},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:()=>O,DI:()=>E,Il:()=>B,Io:()=>M,Ln:()=>p,Om:()=>_,Qr:()=>f,Re:()=>h,S8:()=>b,T9:()=>x,WQ:()=>u,Z0:()=>A,_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 O(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 A(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:O,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:A,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:()=>O,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 A(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 A(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 O(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 A{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},85672(t,e,n){n.r(e),n.d(e,{execute:()=>o});var r=n(29821),s=n(83299);const i=new r.O;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 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1279],{85978(t,e,r){r.d(e,{A:()=>s});var n=r(87449),a=r(11221),i=r(33325);class s extends a.t1{constructor(t){super(),this.declaredClass="esri.layers.featureset.sources.Empty",this._maxProcessing=1e3,this._parent=t.parentfeatureset,this._databaseType=0}async _queryAll(){return a.An.features}async query(t){return a.An}async queryStat(t){return await this._manualStat(t.stat,t.field,t.limit??i.gO,t.abortSignal)}async canQueryAggregate(t){return!1}async queryAggregate(t){throw new n.dr("NeverReach")}async queryAttachments(){return[]}}},87817(t,e,r){r.r(e),r.d(e,{registerFunctions:()=>S});var n=r(85935),a=r(78502),i=r(78878),s=r(48938),l=r(87449),o=r(11221),u=r(33325),c=r(71163),p=r(90634);class h extends o.t1{constructor(t){super(),this.declaredClass="esri.arcade.featureset.actions.SpatialFilter",this._maxProcessing=40,this._parent=t.parentfeatureset,this._relation=t.relation,this._relationString=t.relationString??"",this._relationGeom=t.relationGeom}get _spatialFilter(){return{relation:"esriSpatialRelRelation"!==this._relation?this._relation:`esriSpatialRelRelation:${this._relationString}`,geometry:this._relationGeom}}async _queryAll(){return(await this.query({abortSignal:s._})).features}async query(t){await this._ensureLoaded();const e=await this._parent.query({...t,spatialFilter:this._spatialFilter,limit:null==t.spatialFilter?t.limit:null});return(0,l.dZ)(t.abortSignal),{...e,spatialFilterApplied:null==t.spatialFilter,features:e.spatialFilterApplied?e.features:this._applySpatialFilter(e.features,t.abortSignal)}}async*_applySpatialFilter(t,e){for await(const r of t){(0,l.dZ)(e);const t=[];for(const e of r)await this._executeSpatialRelationTest(e)&&t.push(e);t.length>0&&(yield t)}}async queryStat(t){if(null!=t.spatialFilter)return{calculated:!1};const e=await this._parent.queryStat({...t,spatialFilter:this._spatialFilter});return e.calculated?e:null==t.where&&null==t.spatialFilter?this._manualStat(t.stat,t.field,t.limit??u.gO,t.abortSignal):{calculated:!1}}async canQueryAggregate(t){return null==t.spatialFilter&&this._parent.canQueryAggregate({...t,spatialFilter:this._spatialFilter})}async queryAggregate(t){if(null!=t.spatialFilter)throw new l.dr("NeverReach");return this._parent.queryAggregate({...t,spatialFilter:this._spatialFilter})}async _executeSpatialRelationTest(t){if(null==t.geometry)return!1;switch(this._relation){case"esriSpatialRelEnvelopeIntersects":{const e=(0,a.Yc)(this._relationGeom),r=(0,p.HA)(t.geometry);return null!=e&&null!=r&&(0,c.C)("intersects",[e.toJSON(),r])}case"esriSpatialRelIntersects":return(0,c.C)("intersects",[this._relationGeom.toJSON(),t.geometry]);case"esriSpatialRelContains":return(0,c.C)("contains",[this._relationGeom.toJSON(),t.geometry]);case"esriSpatialRelOverlaps":return(0,c.C)("overlaps",[this._relationGeom.toJSON(),t.geometry]);case"esriSpatialRelWithin":return(0,c.C)("within",[this._relationGeom.toJSON(),t.geometry]);case"esriSpatialRelTouches":return(0,c.C)("touches",[this._relationGeom.toJSON(),t.geometry]);case"esriSpatialRelCrosses":return(0,c.C)("crosses",[this._relationGeom.toJSON(),t.geometry]);case"esriSpatialRelRelation":return(0,c.C)("relate",[this._relationGeom.toJSON(),t.geometry,this._relationString]);default:return this._relation,!1}}getFieldsIndex(){return this._parent.getFieldsIndex()}}var f=r(85978);function y(t){return async(e,r,s)=>{if((0,i.B)(s,2,2,r),null===(s=(0,i.H)(s))[0]&&null===s[1])return!1;if((0,i.m)(s[0])){if((0,i.h)(s[1]))return new h({parentfeatureset:s[0],relation:t,relationGeom:s[1]});if(null===s[1])return new f.A({parentfeatureset:s[0]});throw new n.D$("InvalidParameter",r)}if((0,i.h)(s[0])){if((0,i.h)(s[1])){switch(t){case"esriSpatialRelEnvelopeIntersects":{const t=(0,a.Yc)(s[0]),e=(0,a.Yc)(s[1]);return null!=t&&null!=e&&(0,c.C)("intersects",[t.toJSON(),e.toJSON()])}case"esriSpatialRelIntersects":return(0,c.C)("intersects",[s[0].toJSON(),s[1].toJSON()]);case"esriSpatialRelContains":return(0,c.C)("contains",[s[0].toJSON(),s[1].toJSON()]);case"esriSpatialRelOverlaps":return(0,c.C)("overlaps",[s[0].toJSON(),s[1].toJSON()]);case"esriSpatialRelWithin":return(0,c.C)("within",[s[0].toJSON(),s[1].toJSON()]);case"esriSpatialRelTouches":return(0,c.C)("touches",[s[0].toJSON(),s[1].toJSON()]);case"esriSpatialRelCrosses":return(0,c.C)("crosses",[s[0].toJSON(),s[1].toJSON()])}throw new n.D$("InvalidParameter",r)}if((0,i.m)(s[1]))return new h({parentfeatureset:s[1],relation:t,relationGeom:s[0]});if(null===s[1])return!1;throw new n.D$("InvalidParameter",r)}if(null===s[0]){if((0,i.m)(s[1]))return new f.A({parentfeatureset:s[1]});if((0,i.h)(s[1])||null===s[1])return!1}throw new n.D$("InvalidParameter",r)}}function S(t){"async"===t.mode&&(t.functions.intersects=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelIntersects"))},t.functions.envelopeintersects=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelEnvelopeIntersects"))},t.signatures.push({name:"envelopeintersects",min:2,max:2}),t.functions.contains=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelContains"))},t.functions.overlaps=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelOverlaps"))},t.functions.within=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelWithin"))},t.functions.touches=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelTouches"))},t.functions.crosses=function(e,r){return t.standardFunctionAsync(e,r,y("esriSpatialRelCrosses"))},t.functions.relate=function(e,r){return t.standardFunctionAsync(e,r,async(t,e,a)=>{if(a=(0,i.H)(a),(0,i.B)(a,3,3,r),(0,i.h)(a[0])&&(0,i.h)(a[1]))return(0,c.C)("relate",[a[0].toJSON(),a[1].toJSON(),(0,i.s)(a[2])]);if((0,i.h)(a[0])&&null===a[1])return!1;if((0,i.h)(a[1])&&null===a[0])return!1;if((0,i.m)(a[0])&&null===a[1])return new f.A({parentfeatureset:a[0]});if((0,i.m)(a[1])&&null===a[0])return new f.A({parentfeatureset:a[1]});if((0,i.m)(a[0])&&(0,i.h)(a[1]))return new h({parentfeatureset:a[0],relation:"esriSpatialRelRelation",relationGeom:a[1],relationString:(0,i.s)(a[2])});if((0,i.m)(a[1])&&(0,i.h)(a[0]))return new h({parentfeatureset:a[1],relation:"esriSpatialRelRelation",relationGeom:a[0],relationString:(0,i.s)(a[2])});if(null===a[0]&&null===a[1])return!1;throw new n.D$("InvalidParameter",r)})})}},60999(t,e,r){r.d(e,{DZ:()=>y,Ke:()=>f,Tj:()=>c,UT:()=>S,aD:()=>m,jJ:()=>u});var n=r(5482),a=r(69622),i=r(97768),s=r(17676),l=r(10107),o=r(64108);function u(t,e,r){return(0,s.Lx)(t.map((t,n)=>e.apply(r,[t,n])))}async function c(t,e,r){return(await(0,s.Lx)(t.map((t,n)=>e.apply(r,[t,n])))).map(t=>t.value)}function p(t){return{ok:!0,value:t}}function h(t){return{ok:!1,error:t}}async function f(t){if(null==t)return{ok:!1,error:new Error("no promise provided")};try{return p(await t)}catch(t){return h(t)}}async function y(t){try{return p(await t)}catch(t){return(0,s.QP)(t),h(t)}}function S(t,e){return new d(t,e)}let d=class extends a.A{get value(){return null!=(t=this._result)&&!0===t.ok?t.value:null;var t}get error(){return null!=(t=this._result)&&!1===t.ok?t.error:null;var t}get finished(){return null!=this._result}constructor(t,e){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,i.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=t(r),this.promise.then(t=>{this._result=p(t),this._cleanup()},t=>{this._result=h(t),this._cleanup()}),this._abortHandle=(0,s.u7)(e,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,i.xt)(this._abortHandle),this._abortController=null}};(0,n.Cg)([(0,l.MZ)()],d.prototype,"value",null),(0,n.Cg)([(0,l.MZ)()],d.prototype,"error",null),(0,n.Cg)([(0,l.MZ)()],d.prototype,"finished",null),(0,n.Cg)([(0,l.MZ)()],d.prototype,"promise",void 0),(0,n.Cg)([(0,l.MZ)()],d.prototype,"_result",void 0),d=(0,n.Cg)([(0,o.$)("esri.core.asyncUtils.ReactiveTask")],d);class m{constructor(){this._sequence=Promise.resolve()}async acquire(){let t;this._sequence=new Promise(e=>{t=this._sequence.then(()=>e,()=>e)});const e=await t;return{[Symbol.dispose]:e}}async run(t){const e={stack:[],error:void 0,hasError:!1};try{return(0,n.mS)(e,await this.acquire(),!1),await t()}catch(t){e.error=t,e.hasError=!0}finally{(0,n.hk)(e)}}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1948,3931,5611,6061,6312,8125,9169,9285],{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{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},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:()=>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(t,e,n,r,s,a,i,o,u,h,c,l,f,m,g,x){return[t,e,n,r,s,a,i,o,u,h,c,l,f,m,g,x]}},Symbol.toStringTag,{value:"Module"}))},35522(t,e,n){n.d(e,{$A:()=>I,Bw:()=>a,C:()=>i,Cc:()=>A,DI:()=>E,Il:()=>k,Io:()=>d,Ln:()=>y,Om:()=>b,Qr:()=>l,Re:()=>h,S8:()=>P,T9:()=>x,WQ:()=>u,Z0:()=>V,_S:()=>m,aI:()=>F,ei:()=>Z,fw:()=>w,g7:()=>O,gL:()=>_,hG:()=>M,hZ:()=>o,hs:()=>p,jb:()=>T,jk:()=>g,lo:()=>L,lw:()=>c,m3:()=>v,oW:()=>N,t2:()=>Y,tn:()=>f,uE:()=>B,xg:()=>z,ze:()=>C});var r=n(51850),s=n(34304);function a(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function o(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 l(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function f(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 p(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function y(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function d(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 M(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 P(t,e){const n=e[0],r=e[1],s=e[2];let a=n*n+r*r+s*s;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a),t}function b(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],a=e[2],i=n[0],o=n[1],u=n[2];return t[0]=s*u-a*o,t[1]=a*i-r*u,t[2]=r*o-s*i,t}function A(t,e,n,r){const s=e[0],a=e[1],i=e[2];return t[0]=s+r*(n[0]-s),t[1]=a+r*(n[1]-a),t[2]=i+r*(n[2]-i),t}function V(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=n[0]*r+n[4]*s+n[8]*a+n[12],t[1]=n[1]*r+n[5]*s+n[9]*a+n[13],t[2]=n[2]*r+n[6]*s+n[10]*a+n[14],t}function Z(t,e,n){const r=e[0],s=e[1],a=e[2];return t[0]=r*n[0]+s*n[3]+a*n[6],t[1]=r*n[1]+s*n[4]+a*n[7],t[2]=r*n[2]+s*n[5]+a*n[8],t}function _(t,e,n){return w(t,e,n[0],n[1],n[2],n[3])}function w(t,e,n,r,s,a){const i=e[0],o=e[1],u=e[2],h=r*u-s*o,c=s*i-n*u,l=n*o-r*i,f=r*l-s*c,m=s*h-n*l,g=n*c-r*h,x=2*a;return t[0]=i+h*x+2*f,t[1]=o+c*x+2*m,t[2]=u+l*x+2*g,t}function O(t,e){P(S,t),P(R,e);const n=b(S,R);return n>1?0:n<-1?Math.PI:Math.acos(n)}const S=(0,r.vt)(),R=(0,r.vt)();function Y(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function F(t,e){if(t===e)return!0;const n=t[0],r=t[1],a=t[2],i=e[0],o=e[1],u=e[2],h=(0,s.FD)();return Math.abs(n-i)<=h*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-o)<=h*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(a-u)<=h*Math.max(1,Math.abs(a),Math.abs(u))}function N(t,e,n){const r=n[0]-e[0],s=n[1]-e[1],a=n[2]-e[2];let i=r*r+s*s+a*a;return i>0?(i=1/Math.sqrt(i),t[0]=r*i,t[1]=s*i,t[2]=a*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const T=h,X=c,G=l,z=d,L=M,k=a,B=v;Object.freeze(Object.defineProperty({__proto__:null,abs:f,add:u,angle:O,bezier:function(t,e,n,r,s,a){const i=1-a,o=i*i,u=a*a,h=o*i,c=3*a*o,l=3*u*i,f=u*a;return t[0]=e[0]*h+n[0]*c+r[0]*l+s[0]*f,t[1]=e[1]*h+n[1]*c+r[1]*l+s[1]*f,t[2]=e[2]*h+n[2]*c+r[2]*l+s[2]*f,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:i,cross:I,crossAndNormalize:function(t,e,n){const r=e[0],s=e[1],a=e[2],i=n[0],o=n[1],u=n[2],h=s*u-a*o,c=a*i-r*u,l=r*o-s*i,f=Math.sqrt(h*h+c*c+l*l);return t[0]=h/f,t[1]=c/f,t[2]=l/f,t},direction:N,dist:z,distance:d,div:G,divide:l,dot:b,equals:F,exactEquals:Y,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,a){const i=a*a,o=i*(2*a-3)+1,u=i*(a-2)+a,h=i*(a-1),c=i*(3-2*a);return t[0]=e[0]*o+n[0]*u+r[0]*h+s[0]*c,t[1]=e[1]*o+n[1]*u+r[1]*h+s[1]*c,t[2]=e[2]*o+n[2]*u+r[2]*h+s[2]*c,t},inverse:E,len:k,length:a,lerp:A,max:x,min:g,mul:X,multiply:c,negate:C,normalize:P,random:function(t,e=1){const n=s.Ov,r=2*n()*Math.PI,a=2*n()-1,i=Math.sqrt(1-a*a)*e;return t[0]=Math.cos(r)*i,t[1]=Math.sin(r)*i,t[2]=a*e,t},rotateX:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[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),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateY:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[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),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateZ:function(t,e,n,r){const s=[],a=[];return s[0]=e[0]-n[0],s[1]=e[1]-n[1],s[2]=e[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],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[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:p,scaleAndAdd:y,set:o,sign:m,sqrDist:L,sqrLen:B,squaredDistance:M,squaredLength:v,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:T,subtract:h,transformMat3:Z,transformMat4:V,transformQuat:_,transformQuatValues:w},Symbol.toStringTag,{value:"Module"}))},69397(t,e,n){n.d(e,{Qf:()=>u,Qh:()=>i,RS:()=>s,Ul:()=>m,i5:()=>f,lM:()=>a,qK:()=>c});var r=n(34275);const s=16;function a(t){if(!t)return 0;let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n],!1));return e}function i(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=l;for(let r=0;r<e;r++)n+=o(t[r]);return n}(t);let e=c;for(const n in t)t.hasOwnProperty(n)&&(e+=o(t[n]));return e}function o(t,e=!0){switch(typeof t){case"object":return e?i(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+f:Array.isArray(e)?h(e,s):0:0),0)}function h(t,e){return l+t.length*e}const c=32,l=16,f=145,m=64},87992(t,e,n){n.d(e,{JR:()=>I,ME:()=>E,MY:()=>A,NO:()=>C,Nh:()=>b,V2:()=>O,_s:()=>S,e6:()=>Y,gh:()=>P,tr:()=>N,uX:()=>p});var r=n(5482),s=n(69397),a=n(16930),i=(n(70328),n(19419)),o=n(60408),u=n(21325),h=n(513),c=n(50954),l=n(79567),f=n(52006),m=n(49663),g=n(46068),x=n(92722);class p{constructor({type:t,spatialReference:e,vertexCount:n,vertexXY:r,vertexZ:s,vertexM:a,partCount:i,partOffsets:o,partFlags:u,segmentFlags:h,segmentIndices:c,segmentParams:l,segmentCountArc:f,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=a,this.partCount=i,this.partOffsets=o,this.partFlags=u,this.segmentFlags=h,this.segmentIndices=c,this.segmentParams=l,this.segmentCountArc=f,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:a,segmentCountBezier:i}=this,o=O(t,e,n,r,s,this.hasCurves(),a,i);o.spatialReference=this.spatialReference;const{vertexXY:u,vertexZ:h,vertexM:c}=this;if(o.vertexXY.set(u.subarray(0,2*e),0),o.vertexZ?.set(h.subarray(0,e),0),o.vertexM?.set(c.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,n+1)),o.partOffsets.set(t.subarray(0,n+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:n,segmentParams:r,segmentParamCount:s}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(n.subarray(0,e),0),o.segmentParams.set(r.subarray(0,s),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,u.aI)(this.spatialReference,t.spatialReference))return!1;if(this.vertexCount!==t.vertexCount||this.partCount!==t.partCount)return!1;if(this.hasZ!==t.hasZ||this.hasM!==t.hasM)return!1;if(this.hasCurves()!==t.hasCurves()||this.segmentCountArc!==t.segmentCountArc||this.segmentCountBezier!==t.segmentCountBezier)return!1;const 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 y(this):[][Symbol.iterator]()}}class y{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=_(t),this._segments=new M(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 M{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=_(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++],a=e[n++];return{b:[this.end,[t,r],[s,a]]}}const r=e[n++],s=e[n++],a=e[n++],i=e[n++],o=e[n++],u=e[n++];n++,n++;const h=e[n++],c=e[n++];if(!Boolean(4&r)&&1===a)return{c:[this.end,[h,c]]};const l=2&r?0:1,f=1&r?0:1;return{a:[this.end,[o,u],l,f,i,s,a]}}}function C(t,e){const n={stack:[],error:void 0,hasError:!1};try{return e??=(0,i.Ie)(),(0,r.mS)(n,new V(t,["vertexZ","vertexM","spatialReference"]),!1),(0,i.bx)(e,function(t){let e;const{vertexCount:n,vertexXY:s,vertexZ:a,vertexM:o}=t,u=Z(t);if(t.hasCurves()){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,new V(t,["vertexZ","vertexM"]),!1);const s=(0,i.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:n}of e.segments)(0,l.e)(s,t,n),t=(0,f.yP)(n)}const[a,o,h,c]=s;e={xmin:a,ymin:o,xmax:h,ymax:c,spatialReference:u}}catch(t){n.error=t,n.hasError=!0}finally{(0,r.hk)(n)}}else{let t,r,a,i;t=r=1/0,a=i=-1/0;for(let e=0;e<n;++e){const n=s[2*e],o=s[2*e+1];t=Math.min(t,n),a=Math.max(a,n),r=Math.min(r,o),i=Math.max(i,o)}e={xmin:t,ymin:r,xmax:a,ymax:i,spatialReference:u}}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.zmin=t,e.zmax=n}if(o){let t=1/0,n=-1/0;for(const e of o)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,o.fT)(t)){r="point";const{x:s,y:a,z:i,m:o}=t,u=[s,a];null!=i&&u.push(i),null!=o&&u.push(o),n=[[u]],e=1}else(0,o.U9)(t)?(r="multipoint",n=[t.points],e=t.points.length):(0,o.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,f.yP)(e.at(-1)))&&--t),t),0));const s=O(r,e,r.includes("point")?0:n.length,(0,o.Pv)(t),(0,o.W0)(t),(0,f.Ed)(t)),{hasZ:a,hasM:i,vertexXY:u,vertexZ:h,vertexM:c}=s;function l(t){u[2*g]=t[0],u[2*g+1]=t[1],a&&(h[g]=t[2]),i&&(c[g]=t[m]),++g}s.spatialReference=t.spatialReference??void 0;const m=s.hasZ?3:2;let g=0;if(!s.isMultipart()){if(!a&&!i){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])l(t);return s}const x="polygon"===r,{partOffsets:p}=s;let y=0;if(!(0,f.Ed)(t)){for(const t of n){if(p[y++]=g,0===t.length)continue;let e=t.length;if(x&&w(t[0],t.at(-1))&&--e,a||i)for(let n=0;n<e;++n)l(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 p[y]=g,s}function d(t){const e=M+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 M=0;for(const t of n){if(s.partOffsets[y++]=g,0===t.length)continue;const e=t[0];let n=e;for(let e=1;e<t.length;++e){const r=t[e];l(n);const a=g-1;(0,f.wY)(r)?(d(10),++s.segmentCountArc,M=S(n,r,s,a,M),n=r.a[0]):(0,f.DA)(r)?(d(10),++s.segmentCountArc,M=R(n,r,s,a,M),n=r.a[0]):(0,f.aO)(r)?(d(10),++s.segmentCountArc,M=Y(n,r,s,a,M),n=r.c[0]):(0,f.n1)(r)?(d(4),++s.segmentCountBezier,M=N(0,r,s,a,M),n=r.b[0]):n=r}x&&w(e,n)||l(n)}return s.partOffsets[y]=g,s}function P(t){const e=_(t),{vertexCount:n,partCount:r,hasZ:s,hasM:a}=t,i=Z(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:i}}let o=0;if("multipoint"===t.type){const t=[];for(;o<n;)t.push(e(o++));return{points:t,spatialReference:i,hasZ:s,hasM:a}}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],a=new Array;for(;o<r;)a.push(e(o++));u&&a.length>0&&a.push(a[0]),n.push(a)}return u?{rings:n,hasZ:s,hasM:a,spatialReference:i}:{paths:n,hasZ:s,hasM:a,spatialReference:i}}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:a,spatialReference:i}:{paths:[],curvePaths:h,hasZ:s,hasM:a,spatialReference:i}}function b(t,{lengths:e,coords:n,hasZ:r,hasM:s},a){const i=t.includes("point")?0:e.length,o="polygon"===t,u="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?i:0);r??=!1,s??=!1;const h=O(t,u,i,r,s,!1,0,0);if(h.spatialReference=a??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 l=0,f=0;h.partOffsets[0]=0;for(const t of e){const e=h.partOffsets[f],a=e+t-Number(o);h.partOffsets[++f]=a;for(let t=e;t<a;++t)h.vertexXY[2*t]=n[l++],h.vertexXY[2*t+1]=n[l++],r&&(h.vertexZ[t]=n[l++]),s&&(h.vertexM[t]=n[l++]);o&&(l+=c)}return h}function I({type:t,vertexCount:e,vertexXY:n,vertexZ:r,vertexM:s,partCount:a,partOffsets:i,hasZ:o,hasM:u}){const h=new x.A([],[],o,u);a=Math.max(a,1);const c="polygon"===t;let l=0;for(let t=0;t<a;++t){const a=i?.[t+1]??e,f=h.coords.length;for(let t=l;t<a;++t)h.coords.push(n[2*t],n[2*t+1]),o&&h.coords.push(r[t]),u&&h.coords.push(s[t]);if(c){const t=l;h.coords.push(n[2*t],n[2*t+1]),o&&h.coords.push(r[t]),u&&h.coords.push(s[t])}h.lengths.push((h.coords.length-f)/h.stride),l=a}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 a=s.isCustomWkid()?0:s.getOldID();if(a<=0)return{wkt:e};let i=t.getLatestVerticalID();return(i<=0||i===a)&&(i=void 0),{wkid:n,wkt:e,latestWkid:r,vcsWkid:a,latestVcsWkid:i}}(t.getSpatialReference()),t=t.getGeometry()),new p({...t.toFlatGeometry(),spatialReference:e})}class V{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 Z({spatialReference:t}){return t instanceof a.A?t.toJSON():t}function _({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 O(t,e,n,r,s,a,i,o){i??=0,o??=0;const u=new p({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:i,segmentCountBezier:o});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),a&&(h+=e*Int8Array.BYTES_PER_ELEMENT,h+=e*Int32Array.BYTES_PER_ELEMENT,h+=u.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const c=new ArrayBuffer(h);let l=0;return u.vertexXY=new Float64Array(c,l,2*e),l+=u.vertexXY.byteLength,r&&(u.vertexZ=new Float64Array(c,l,e),l+=u.vertexZ.byteLength),s&&(u.vertexM=new Float64Array(c,l,e),l+=u.vertexM.byteLength),a&&(u.segmentParams=new Float64Array(c,l,u.segmentParamCount),l+=u.segmentParams.byteLength,u.segmentIndices=new Int32Array(c,l,e),u.segmentIndices.fill(X),l+=u.segmentIndices.byteLength),u.isMultipart()&&(u.partOffsets=new Int32Array(c,l,n+1),l+=u.partOffsets.byteLength,u.partFlags=new Int8Array(c,l,n+1),l+=u.partFlags.byteLength,"polygon"===u.type&&u.partFlags.subarray(0,n).fill(1)),a&&(u.segmentFlags=new Int8Array(c,l,e),u.segmentFlags.fill(1),l+=u.segmentFlags.byteLength),u}function S(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){n[a]=4,r[a]=i;const[o,[u,h],c,l,f,m,x]=e.a;let p=4;l||(p|=1),c||(p|=2);const y=(0,g.SW)(t,e),[d,M]=(0,g.Uk)(y,.5);return s[i++]=p,s[i++]=m,s[i++]=x,s[i++]=f,s[i++]=u,s[i++]=h,s[i++]=y.u2-y.u1,s[i++]=y.u1,s[i++]=d,s[i++]=M,i}function R(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){n[a]=4,r[a]=i;const o=(0,m.io)(t,e);return F(o,4,...(0,h.mq)(o,.5),s,i)}function Y(t,e,{segmentFlags:n,segmentIndices:r,segmentParams:s},a,i){return n[a]=4,r[a]=i,F((0,c.pM)(t,e),0,...e.c[1],s,i)}function F(t,e,n,r,s,a){const{cx:i,cy:o,thetaStart:u,thetaEnd:h,radius:c}=t;return u>h||(e|=1),Math.abs(h-u)<=Math.PI||(e|=2),s[a++]=e,s[a++]=c,s[a++]=1,s[a++]=0,s[a++]=i,s[a++]=o,s[a++]=h-u,s[a++]=u,s[a++]=n,s[a++]=r,a}function N(t,{b:[e,[n,r],[s,a]]},{segmentFlags:i,segmentIndices:o,segmentParams:u},h,c){return i[h]=2,o[h]=c,u[c++]=n,u[c++]=r,u[c++]=s,u[c++]=a,c}const T=1.61803,X=-1},78125(t,e,n){n.r(e),n.d(e,{fromExtent:()=>p,fromGeometry:()=>x,fromMultipoint:()=>y,fromPoint:()=>d,fromPolygon:()=>M,fromPolyline:()=>v,fromPolylineUsingImportOperator:()=>C,fromSpatialReference:()=>E,getSpatialReference:()=>g,toExtent:()=>b,toGeometry:()=>P,toMultipoint:()=>I,toPoint:()=>A,toPolygon:()=>V,toPolyline:()=>Z});var r=n(83661),s=(n(79187),n(55537)),a=n(95213),i=n(88885),o=n(5443),u=n(48526),h=n(86738),c=n(39829),l=n(82799),f=(n(90293),n(83299));const m="_gxVersion";function g(t){return Array.isArray(t)?t[0].spatialReference:t.spatialReference}function x(t){switch(t.type){case"point":return d(t);case"multipoint":return y(t);case"polyline":return v(t);case"polygon":return M(t);case"extent":return p(t);default:throw new Error(`Unsupported geometry type: ${t.type}`)}}function p(t){if(!t.getCacheValue(m)){const e=new a.E;e.setCoords(t.xmin,t.ymin,t.xmax,t.ymax),t.hasM&&e.setInterval(2,0,t.mmin,t.mmax),t.hasZ&&e.setInterval(1,0,t.zmin,t.zmax),t.setCacheValue(m,e)}return t.getCacheValue(m)}function y(t){if(!t.getCacheValue(m)){const e=new i.M,n=new a.P,r=t.points,s=t.hasM,o=t.hasZ,u=o?3:2;for(let t=0,a=r.length;t<a;t++){const a=r[t];n.setXYCoords(a[0],a[1]),o&&n.setZ(a[2]??0),s&&n.setM(a[u]??NaN),e.add(n)}t.setCacheValue(m,e)}return t.getCacheValue(m)}function d(t){if(!t.getCacheValue(m)){const e=new a.P;e.setXYCoords(t.x,t.y),t.hasM&&e.setM(t.m),t.hasZ&&e.setZ(t.z),t.setCacheValue(m,e)}return t.getCacheValue(m)}function M(t){if(!t.getCacheValue(m)){const{curveRings:e,hasM:n,hasZ:r,rings:s}=t,a=(0,f.fromGeometryToGXGeometry)({curveRings:e,hasM:n,hasZ:r,rings:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function v(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,f.fromGeometryToGXGeometry)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function C(t){if(!t.getCacheValue(m)){const{curvePaths:e,hasM:n,hasZ:r,paths:s}=t,a=(0,f.fromGeometryToGXGeometryUsingImportOperator)({curvePaths:e,hasM:n,hasZ:r,paths:s});t.setCacheValue(m,a)}return t.getCacheValue(m)}function E(t){return t.cache?(t.cache[m]??=(0,f.fromSpatialReference)(t),t.cache[m]):(0,f.fromSpatialReference)(t)}function P(t,e){if(t)switch(t.getGeometryType()){case s.G.enumPoint:return A(t,e);case s.G.enumEnvelope:return b(t,e);case s.G.enumMultiPoint:return I(t,e);case s.G.enumPolyline:return Z(t,e);case s.G.enumPolygon:return V(t,e)}return null}function b(t,e){if(t.isEmpty())return null;const n=new o.A({xmin:t.getXMin(),ymin:t.getYMin(),xmax:t.getXMax(),ymax:t.getYMax(),spatialReference:e}),r=t.getDescription();if(r.hasM()){const e=t.queryInterval(2,0);n.mmin=e.vmin,n.mmax=e.vmax}if(r.hasZ()){const e=t.queryInterval(1,0);n.zmin=e.vmin,n.zmax=e.vmax}return n.setCacheValue(m,t),n}function I(t,e){if(t.isEmpty())return null;const n=t.getDescription(),r=n.hasM(),s=n.hasZ(),i=[],o=new a.P;for(let e=0,n=t.getPointCount();e<n;e++){t.getPointByVal(e,o);const n=[o.getX(),o.getY()];s&&n.push(o.getZ()),r&&n.push(o.getM()),i.push(n)}const h=new u.A({hasM:r,hasZ:s,points:i,spatialReference:e});return h.setCacheValue(m,t),h}function A(t,e){if(t instanceof r.P)return new h.A({x:t.x,y:t.y,spatialReference:e});if(t.isEmpty())return null;const n=new h.A({x:t.getX(),y:t.getY(),spatialReference:e}),s=t.getDescription();return s.hasM()&&(n.m=t.getM()),s.hasZ()&&(n.z=t.getZ()),n.setCacheValue(m,t),n}function V(t,e){if(t.isEmpty())return null;const n=c.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}function Z(t,e){if(t.isEmpty())return null;const n=l.A.fromJSON({...(0,f.toGeometry)(t,null),spatialReference:e});return n.setCacheValue(m,t),n}},4197(t,e,n){n.d(e,{Vj:()=>c,cj:()=>h,jh:()=>a,l5:()=>o,yH:()=>u});var r=n(34275),s=n(9093);function a(t){return t<=r.y9?new Array(t).fill(0):new Float64Array(t)}function i(t){return((0,r.iu)(t)?t.byteLength/8:t.length)<=r.y9?Array.from(t):new Float64Array(t)}function o(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 i(t);if(0===t.length)return i(e);const n=a(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:()=>M,DC:()=>l,Ej:()=>m,Ie:()=>y,Jt:()=>d,Ne:()=>g,RF:()=>c,aI:()=>C,fA:()=>i,gE:()=>u,hZ:()=>p,iT:()=>f,is:()=>v,qv:()=>E,vI:()=>x,vY:()=>o,v_:()=>P,vt:()=>a,w1:()=>h}),n(35522);var r=n(5443),s=(n(19419),n(4197));function a(t=P){return[t[0],t[1],t[2],t[3],t[4],t[5]]}function i(t,e,n,r,s,i,o=a()){return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o[4]=s,o[5]=i,o}function o(t,e=a()){return function(t,e,n,r=a()){return p(r,E),function(t,e,n=0,r=e.length/3){let s=t[0],a=t[1],i=t[2],o=t[3],u=t[4],h=t[5];for(let t=0;t<r;t++)s=Math.min(s,e[n+3*t]),a=Math.min(a,e[n+3*t+1]),i=Math.min(i,e[n+3*t+2]),o=Math.max(o,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]=a,t[2]=i,t[3]=o,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,a,i,o,u]=t;return e[0]=n,e[1]=r,e[2]=a,e[3]=n,e[4]=r,e[5]=u,e[6]=n,e[7]=o,e[8]=a,e[9]=n,e[10]=o,e[11]=u,e[12]=i,e[13]=r,e[14]=a,e[15]=i,e[16]=r,e[17]=u,e[18]=i,e[19]=o,e[20]=a,e[21]=i,e[22]=o,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 l(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[3]=Math.max(t[3],e[2]),t[4]=Math.max(t[4],e[3])}function f(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 p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function y(t){return t?p(t,E):a(E)}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=Number.NEGATIVE_INFINITY,t[3]=e[2],t[4]=e[3],t[5]=Number.POSITIVE_INFINITY,t}function M(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],P=[0,0,0,0,0,0];a()},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 a=n-t,i=r-e;return new s([5],[t,e,a,0,0,i,-a,0,0,-i])}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],a=this.coords[r*e+1];for(let i=1;i<n;i+=1){const n=r*(e+i),o=this.coords[n],u=this.coords[n+1];t+=-.5*(o-s)*(u+a),s=o,a=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,a=this.coords.slice(0,r*n);return t?(t.set(a),new s(e,t,this.hasZ,this.hasM)):new s(e,Array.from(a),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 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[837,1948,6061],{61691(t,e,s){s.d(e,{G:()=>r});class r{*[Symbol.iterator](){let t=this.next();for(;t;)yield t,t=this.next()}}},64523(t,e,s){s.d(e,{O:()=>l});var r=s(5482),n=s(61691),i=s(55537),a=s(88885),o=s(95213),h=s(83661),u=s(5247);class l{getOperatorType(){return 10204}supportsCurves(){return!0}accelerateGeometry(t,e,s){return!1}canAccelerateGeometry(t){return!1}executeMany(t,e,s,r){return new c(t,e,s,r)}execute(t,e,s,r){return t||(0,i.a)("null param is not allowed."),new c(null,e,s,r).generalize(t)}}class c extends n.G{constructor(t,e,s,r){super(),this.m_pline=null,this.m_point=new o.P,this.m_stack=[],this.m_resultstack=[],this.m_callCount=0,this.m_progressTracker=r,this.m_geoms=t,this.m_maxDeviation=e,this.m_bRemoveDegenerateParts=s}tock(){return!0}getRank(){return 1}next(){const t=this.m_geoms.next();return null===t?null:((0,i.c)(t),this.generalize(t))}getGeometryID(){return this.m_geoms.getGeometryID()}generalize(t){const e=t.getGeometryType();if((0,i.f)(e))return t;if(e===i.G.enumEnvelope){const e=new a.P({vd:t.getDescription()});return e.addEnvelope(t,!1),this.generalize(e)}if((0,i.h)(e)){const e=new a.a({vd:t.getDescription()});return e.addSegment(t,!0),this.generalize(e)}if((0,i.j)(e)||(0,i.t)(""),t.isEmpty()||this.m_maxDeviation<=0)return t;const s=(new u.O).execute(t,0,.05*this.m_maxDeviation,0,this.m_progressTracker);t.hasNonLinearSegments()&&(this.m_maxDeviation*=.95);const n=s,o=t.createInstance();o.getGeometryType()===i.G.enumPolygon&&o.setFillRule(t.getFillRule()),this.m_xy=n.getAttributeStreamRef(0);{const t={stack:[],error:void 0,hasError:!1};try{const e=new a.L;this.m_pline=e,(0,r.mS)(t,(0,h.h)(()=>{this.m_pline=null},!1),!1);for(let t=0,e=n.getPathCount();t<e;t++)this.generalizePath(n.getImpl(),t,o.getImpl())}catch(e){t.error=e,t.hasError=!0}finally{(0,r.hk)(t)}}return this.m_resultstack.length=0,this.m_stack.length=0,o}generalizePath(t,e,s){if(t.getPathSize(e)<2)return;this.m_resultstack.length=0,this.m_stack.length=0;const r=t.getPathStart(e),n=t.getPathEnd(e)-1,i=t.isClosedPath(e),a=t.isClosedPathInXYPlane(e);let o=0,u=-1;this.m_stack.push(i?r:n),this.m_stack.push(r);let l=!1,c=!1;for(!this.m_bRemoveDegenerateParts&&a&&(l=!0,c=!0);this.m_stack.length>1;){const e=this.m_stack.at(-1);this.m_stack.pop();const s=this.m_stack.at(-1);let r=t.getXY(e);this.m_pline.setStartXY(r),r=t.getXY(s),this.m_pline.setEndXY(r);const i=[Number.NaN];let a=this.findGreatestDistance(e,s,n,i);a>=0&&(l?l=!1:(c&&i[0]>o&&(o=i[0],u=a),i[0]<=this.m_maxDeviation&&(a=-1))),a>=0?(this.m_stack.push(a),this.m_stack.push(e)):this.m_resultstack.push(e)}i||this.m_resultstack.push(this.m_stack[0]);const m=this.m_resultstack.length;if(m===t.getPathSize(e)&&m===this.m_stack.length)s.addPath(t,e,!0);else if(this.m_resultstack.length>0){if(this.m_bRemoveDegenerateParts&&this.m_resultstack.length<=2){if(i||1===this.m_resultstack.length)return;if(h.P.distance(t.getXY(this.m_resultstack[0]),t.getXY(this.m_resultstack[1]))<=this.m_maxDeviation)return}if(c&&u>=0&&o<=this.m_maxDeviation){const t=this.m_resultstack.at(-1)>u;this.m_resultstack.push(u),t&&(this.m_resultstack[this.m_resultstack.length-2]=(0,h.c)(this.m_resultstack[this.m_resultstack.length-1],this.m_resultstack[this.m_resultstack.length-1]=this.m_resultstack[this.m_resultstack.length-2]))}for(let e=0,r=this.m_resultstack.length;e<r;e++)t.getPointByVal(this.m_resultstack[e],this.m_point),0===e?s.startPathPoint(this.m_point):s.lineToPoint(this.m_point);if(i){for(let t=this.m_resultstack.length;t<3;t++)s.lineToPoint(this.m_point);s.closePathWithLine()}}}findGreatestDistance(t,e,s,r){let n=e-1;e<=t&&(n=s);let i=-1,a=0;const o=new h.P;for(let e=t+1;e<=n;e++){this.m_xy.queryPoint2D(2*e,o);const t=o.x,s=o.y,r=this.m_pline.getClosestCoordinate(o,!1);o.assign(this.m_pline.getCoord2D(r)),o.x-=t,o.y-=s;const n=o.length();n>a&&(i=e,a=n),this.m_callCount++}return r[0]=a,i}}},76061(t,e,s){s.d(e,{S:()=>n});var r=s(61691);class n extends r.G{constructor(t){super(),this.m_iGeom=-1,this.m_aGeoms=t?t.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const t=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,t}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},87992(t,e,s){s.d(e,{JR:()=>k,ME:()=>M,MY:()=>S,NO:()=>C,Nh:()=>P,V2:()=>A,_s:()=>b,e6:()=>I,gh:()=>E,tr:()=>V,uX:()=>x});var r=s(5482),n=s(69397),i=s(16930),a=(s(70328),s(19419)),o=s(60408),h=s(21325),u=s(513),l=s(50954),c=s(79567),m=s(52006),g=s(49663),f=s(46068),p=s(92722);class x{constructor({type:t,spatialReference:e,vertexCount:s,vertexXY:r,vertexZ:n,vertexM:i,partCount:a,partOffsets:o,partFlags:h,segmentFlags:u,segmentIndices:l,segmentParams:c,segmentCountArc:m,segmentCountBezier:g}){this.segmentCountArc=0,this.segmentCountBezier=0,this.type=t,this.spatialReference=e,this.vertexCount=s,this.vertexXY=r,this.vertexZ=n,this.vertexM=i,this.partCount=a,this.partOffsets=o,this.partFlags=h,this.segmentFlags=u,this.segmentIndices=l,this.segmentParams=c,this.segmentCountArc=m,this.segmentCountBezier=g}get segmentParamCount(){return 10*this.segmentCountArc+4*this.segmentCountBezier}get segmentCountLine(){const{segmentCount:t,segmentCountArc:e,segmentCountBezier:s}=this;return t&&t-e-s}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?n.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:s,hasZ:r,hasM:n,segmentCountArc:i,segmentCountBezier:a}=this,o=A(t,e,s,r,n,this.hasCurves(),i,a);o.spatialReference=this.spatialReference;const{vertexXY:h,vertexZ:u,vertexM:l}=this;if(o.vertexXY.set(h.subarray(0,2*e),0),o.vertexZ?.set(u.subarray(0,e),0),o.vertexM?.set(l.subarray(0,e),0),this.isMultipart()){const{partOffsets:t,partFlags:e}=this;o.partFlags.set(e.subarray(0,s+1)),o.partOffsets.set(t.subarray(0,s+1))}if(this.hasCurves()){const{segmentFlags:t,segmentIndices:s,segmentParams:r,segmentParamCount:n}=this;o.segmentFlags.set(t.subarray(0,e),0),o.segmentIndices.set(s.subarray(0,e),0),o.segmentParams.set(r.subarray(0,n),0)}return o}equals(t){return this.equalsWithinTolerance(t,0)}equalsWithinTolerance(t,e){if(null==t)return!1;if(this===t)return!0;if(!(0,h.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 s=0===e?(t,e)=>t!==e||isNaN(t)!==isNaN(e):(t,s)=>Math.abs(t-s)>e||isNaN(t)!==isNaN(s);for(let e=0;e<this.vertexCount;++e)if(s(this.vertexXY[2*e],t.vertexXY[2*e])||s(this.vertexXY[2*e+1],t.vertexXY[2*e+1]))return!1;if(this.hasZ)for(let e=0;e<this.vertexCount;++e)if(s(this.vertexZ[e],t.vertexZ[e]))return!1;if(this.hasM)for(let e=0;e<this.vertexCount;++e)if(s(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(s(this.segmentParams[e],t.segmentParams[e]))return!1}return!0}get parts(){return this.isMultipart()?new v(this):[][Symbol.iterator]()}}class v{constructor(t){this.geometry=t,this.value=new d(t)}get done(){return this.value.index>=this.geometry.partCount}next(){return++this.value.index,this}[Symbol.iterator](){return this}}class d{constructor(t){this.geometry=t,this.index=-1,this._readVertex=w(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 _(t.geometry)}get done(){return this.value.indexOfStartVertex>this._partEnd}next(){++this.value.indexOfStartVertex;const t=this.value.indexOfStartVertex>=this._partEnd;return this.value.indexOfEndVertex=t&&this._isPolygon?this._partStart:this.value.indexOfStartVertex+1,this}[Symbol.iterator](){return this}reset(){const{index:t}=this._part,e=this._part.geometry.partOffsets;this._partStart=e[t],this._partEnd=e[t+1]-(this._isPolygon?1:2),this.value.indexOfStartVertex=this._partStart-1}}class _{constructor(t){this.geometry=t,this.indexOfStartVertex=-1,this.indexOfEndVertex=-1,this._readVertex=w(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 s=this.geometry.segmentIndices[this.indexOfStartVertex];if(2===t){const t=e[s++],r=e[s++],n=e[s++],i=e[s++];return{b:[this.end,[t,r],[n,i]]}}const r=e[s++],n=e[s++],i=e[s++],a=e[s++],o=e[s++],h=e[s++];s++,s++;const u=e[s++],l=e[s++];if(!Boolean(4&r)&&1===i)return{c:[this.end,[u,l]]};const c=2&r?0:1,m=1&r?0:1;return{a:[this.end,[o,h],c,m,a,n,i]}}}function C(t,e){const s={stack:[],error:void 0,hasError:!1};try{return e??=(0,a.Ie)(),(0,r.mS)(s,new O(t,["vertexZ","vertexM","spatialReference"]),!1),(0,a.bx)(e,function(t){let e;const{vertexCount:s,vertexXY:n,vertexZ:i,vertexM:o}=t,h=R(t);if(t.hasCurves()){const s={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(s,new O(t,["vertexZ","vertexM"]),!1);const n=(0,a.Ie)();for(const e of t.parts){let t=e.startVertex;for(const{curve:s}of e.segments)(0,c.e)(n,t,s),t=(0,m.yP)(s)}const[i,o,u,l]=n;e={xmin:i,ymin:o,xmax:u,ymax:l,spatialReference:h}}catch(t){s.error=t,s.hasError=!0}finally{(0,r.hk)(s)}}else{let t,r,i,a;t=r=1/0,i=a=-1/0;for(let e=0;e<s;++e){const s=n[2*e],o=n[2*e+1];t=Math.min(t,s),i=Math.max(i,s),r=Math.min(r,o),a=Math.max(a,o)}e={xmin:t,ymin:r,xmax:i,ymax:a,spatialReference:h}}if(i){let t=1/0,s=-1/0;for(const e of i)t=Math.min(t,e),s=Math.max(s,e);e.zmin=t,e.zmax=s}if(o){let t=1/0,s=-1/0;for(const e of o)t=Math.min(t,e),s=Math.max(s,e);e.mmin=t,e.mmax=s}return e}(t)),e}catch(t){s.error=t,s.hasError=!0}finally{(0,r.hk)(s)}}function M(t){let e,s,r;if((0,o.fT)(t)){r="point";const{x:n,y:i,z:a,m:o}=t,h=[n,i];null!=a&&h.push(a),null!=o&&h.push(o),s=[[h]],e=1}else(0,o.U9)(t)?(r="multipoint",s=[t.points],e=t.points.length):(0,o.Rg)(t)?(r="polyline",s=t.curvePaths??t.paths,e=s.reduce((t,e)=>t+e.length,0)):(r="polygon",s=t.curveRings??t.rings,e=s.reduce((t,e)=>(0===e.length||(t+=e.length,Y(e[0],(0,m.yP)(e.at(-1)))&&--t),t),0));const n=A(r,e,r.includes("point")?0:s.length,(0,o.Pv)(t),(0,o.W0)(t),(0,m.Ed)(t)),{hasZ:i,hasM:a,vertexXY:h,vertexZ:u,vertexM:l}=n;function c(t){h[2*f]=t[0],h[2*f+1]=t[1],i&&(u[f]=t[2]),a&&(l[f]=t[g]),++f}n.spatialReference=t.spatialReference??void 0;const g=n.hasZ?3:2;let f=0;if(!n.isMultipart()){if(!i&&!a){for(const[t,e]of s[0])h[2*f]=t,h[2*f+1]=e,++f;return n}for(const t of s[0])c(t);return n}const p="polygon"===r,{partOffsets:x}=n;let v=0;if(!(0,m.Ed)(t)){for(const t of s){if(x[v++]=f,0===t.length)continue;let e=t.length;if(p&&Y(t[0],t.at(-1))&&--e,i||a)for(let s=0;s<e;++s)c(t[s]);else for(let s=0;s<e;++s){const[e,r]=t[s];h[2*f]=e,h[2*f+1]=r,++f}}return x[v]=f,n}function d(t){const e=y+t;if(e<=(n.segmentParams?.length??0))return;let s=e*X;s=20*Math.ceil(s/20);const r=n.segmentParams;n.segmentParams=new Float64Array(s),null!=r&&n.segmentParams.set(r)}let y=0;for(const t of s){if(n.partOffsets[v++]=f,0===t.length)continue;const e=t[0];let s=e;for(let e=1;e<t.length;++e){const r=t[e];c(s);const i=f-1;(0,m.wY)(r)?(d(10),++n.segmentCountArc,y=b(s,r,n,i,y),s=r.a[0]):(0,m.DA)(r)?(d(10),++n.segmentCountArc,y=F(s,r,n,i,y),s=r.a[0]):(0,m.aO)(r)?(d(10),++n.segmentCountArc,y=I(s,r,n,i,y),s=r.c[0]):(0,m.n1)(r)?(d(4),++n.segmentCountBezier,y=V(0,r,n,i,y),s=r.b[0]):s=r}p&&Y(e,s)||c(s)}return n.partOffsets[v]=f,n}function E(t){const e=w(t),{vertexCount:s,partCount:r,hasZ:n,hasM:i}=t,a=R(t);if("point"===t.type){const[e,s]=t.vertexXY,r=t.vertexZ?.[0],n=t.vertexM?.[0];return{x:e,y:s,z:r,m:n,spatialReference:a}}let o=0;if("multipoint"===t.type){const t=[];for(;o<s;)t.push(e(o++));return{points:t,spatialReference:a,hasZ:n,hasM:i}}const h="polygon"===t.type;if(!t.hasCurves()){const s=new Array;for(let n=0;n<r;++n){const r=t.partOffsets[n+1],i=new Array;for(;o<r;)i.push(e(o++));h&&i.length>0&&i.push(i[0]),s.push(i)}return h?{rings:s,hasZ:n,hasM:i,spatialReference:a}:{paths:s,hasZ:n,hasM:i,spatialReference:a}}const u=new Array;for(const{segments:e,startVertex:s}of t.parts){const t=[s];for(const{curve:s}of e)t.push(s);u.push(t)}return h?{rings:[],curveRings:u,hasZ:n,hasM:i,spatialReference:a}:{paths:[],curvePaths:u,hasZ:n,hasM:i,spatialReference:a}}function P(t,{lengths:e,coords:s,hasZ:r,hasM:n},i){const a=t.includes("point")?0:e.length,o="polygon"===t,h="point"===t?1:e.reduce((t,e)=>t+e,0)-(o?a:0);r??=!1,n??=!1;const u=A(t,h,a,r,n,!1,0,0);if(u.spatialReference=i??void 0,!u.isMultipart()){for(let t=0,e=0;t<h;++t)u.vertexXY[2*t]=s[e++],u.vertexXY[2*t+1]=s[e++],r&&(u.vertexZ[t]=s[e++]),n&&(u.vertexM[t]=s[e++]);return u}const l=2+Number(r)+Number(n);let c=0,m=0;u.partOffsets[0]=0;for(const t of e){const e=u.partOffsets[m],i=e+t-Number(o);u.partOffsets[++m]=i;for(let t=e;t<i;++t)u.vertexXY[2*t]=s[c++],u.vertexXY[2*t+1]=s[c++],r&&(u.vertexZ[t]=s[c++]),n&&(u.vertexM[t]=s[c++]);o&&(c+=l)}return u}function k({type:t,vertexCount:e,vertexXY:s,vertexZ:r,vertexM:n,partCount:i,partOffsets:a,hasZ:o,hasM:h}){const u=new p.A([],[],o,h);i=Math.max(i,1);const l="polygon"===t;let c=0;for(let t=0;t<i;++t){const i=a?.[t+1]??e,m=u.coords.length;for(let t=c;t<i;++t)u.coords.push(s[2*t],s[2*t+1]),o&&u.coords.push(r[t]),h&&u.coords.push(n[t]);if(l){const t=c;u.coords.push(s[2*t],s[2*t+1]),o&&u.coords.push(r[t]),h&&u.coords.push(n[t])}u.lengths.push((u.coords.length-m)/u.stride),c=i}return"point"===t&&(u.lengths.length=0),u}function S(t,e){return"getSpatialReference"in t&&(e=function(t){if(null==t)return;const e=t.getText()||void 0,s=t.isCustomWkid()?0:t.getOldID();if(s<=0)return{wkt:e};let r=t.getLatestID();(r<=0||r===s)&&(r=void 0);const n=t.getVCS();if(null==n)return{wkid:s,latestWkid:r,wkt:e};const i=n.isCustomWkid()?0:n.getOldID();if(i<=0)return{wkt:e};let a=t.getLatestVerticalID();return(a<=0||a===i)&&(a=void 0),{wkid:s,wkt:e,latestWkid:r,vcsWkid:i,latestVcsWkid:a}}(t.getSpatialReference()),t=t.getGeometry()),new x({...t.toFlatGeometry(),spatialReference:e})}class O{constructor(t,e){this.target=t,this.keys=e,this.oldValues=e.map(e=>t[e]);for(const s of e)t[s]=void 0}[Symbol.dispose](){this.keys.map((t,e)=>{this.target[t]=this.oldValues[e]})}}function R({spatialReference:t}){return t instanceof i.A?t.toJSON():t}function w({vertexXY:t,vertexZ:e,vertexM:s}){return e?s?r=>[t[2*r],t[2*r+1],e[r],s[r]]:s=>[t[2*s],t[2*s+1],e[s]]:s?e=>[t[2*e],t[2*e+1],s[e]]:e=>[t[2*e],t[2*e+1]]}function Y(t,e){return t.every((t,s)=>t===e[s])}function A(t,e,s,r,n,i,a,o){a??=0,o??=0;const h=new x({type:t,vertexCount:e,vertexXY:null,vertexZ:void 0,vertexM:void 0,partCount:s,partOffsets:void 0,partFlags:void 0,segmentFlags:void 0,segmentIndices:void 0,segmentParams:void 0,segmentCountArc:a,segmentCountBezier:o});let u=2*Float64Array.BYTES_PER_ELEMENT*e;r&&(u+=Float64Array.BYTES_PER_ELEMENT*e),n&&(u+=Float64Array.BYTES_PER_ELEMENT*e),h.isMultipart()&&(u+=(s+1)*Int32Array.BYTES_PER_ELEMENT,u+=(s+1)*Int8Array.BYTES_PER_ELEMENT),i&&(u+=e*Int8Array.BYTES_PER_ELEMENT,u+=e*Int32Array.BYTES_PER_ELEMENT,u+=h.segmentParamCount*Float64Array.BYTES_PER_ELEMENT);const l=new ArrayBuffer(u);let c=0;return h.vertexXY=new Float64Array(l,c,2*e),c+=h.vertexXY.byteLength,r&&(h.vertexZ=new Float64Array(l,c,e),c+=h.vertexZ.byteLength),n&&(h.vertexM=new Float64Array(l,c,e),c+=h.vertexM.byteLength),i&&(h.segmentParams=new Float64Array(l,c,h.segmentParamCount),c+=h.segmentParams.byteLength,h.segmentIndices=new Int32Array(l,c,e),h.segmentIndices.fill(G),c+=h.segmentIndices.byteLength),h.isMultipart()&&(h.partOffsets=new Int32Array(l,c,s+1),c+=h.partOffsets.byteLength,h.partFlags=new Int8Array(l,c,s+1),c+=h.partFlags.byteLength,"polygon"===h.type&&h.partFlags.subarray(0,s).fill(1)),i&&(h.segmentFlags=new Int8Array(l,c,e),h.segmentFlags.fill(1),c+=h.segmentFlags.byteLength),h}function b(t,e,{segmentFlags:s,segmentIndices:r,segmentParams:n},i,a){s[i]=4,r[i]=a;const[o,[h,u],l,c,m,g,p]=e.a;let x=4;c||(x|=1),l||(x|=2);const v=(0,f.SW)(t,e),[d,y]=(0,f.Uk)(v,.5);return n[a++]=x,n[a++]=g,n[a++]=p,n[a++]=m,n[a++]=h,n[a++]=u,n[a++]=v.u2-v.u1,n[a++]=v.u1,n[a++]=d,n[a++]=y,a}function F(t,e,{segmentFlags:s,segmentIndices:r,segmentParams:n},i,a){s[i]=4,r[i]=a;const o=(0,g.io)(t,e);return Z(o,4,...(0,u.mq)(o,.5),n,a)}function I(t,e,{segmentFlags:s,segmentIndices:r,segmentParams:n},i,a){return s[i]=4,r[i]=a,Z((0,l.pM)(t,e),0,...e.c[1],n,a)}function Z(t,e,s,r,n,i){const{cx:a,cy:o,thetaStart:h,thetaEnd:u,radius:l}=t;return h>u||(e|=1),Math.abs(u-h)<=Math.PI||(e|=2),n[i++]=e,n[i++]=l,n[i++]=1,n[i++]=0,n[i++]=a,n[i++]=o,n[i++]=u-h,n[i++]=h,n[i++]=s,n[i++]=r,i}function V(t,{b:[e,[s,r],[n,i]]},{segmentFlags:a,segmentIndices:o,segmentParams:h},u,l){return a[u]=2,o[u]=l,h[l++]=s,h[l++]=r,h[l++]=n,h[l++]=i,l}const X=1.61803,G=-1},70787(t,e,s){s.d(e,{fz:()=>o,g7:()=>i,zo:()=>a});var r=s(76061);const n=new(s(64523).O);function i(t,e,s){return n.execute(t,e,s,null)}function a(t,e,s){const i=n.executeMany(new r.S(t),e,s,null);return Array.from(i)}function o(){return n.supportsCurves()}},97528(t,e,s){s.r(e),s.d(e,{execute:()=>a,executeMany:()=>o});var r=s(86211),n=s(70787),i=s(83299);function a(t,e,s={}){const{removeDegenerateParts:a=!1,unit:o}=s,h=(0,i.getSpatialReference)(t);o&&h&&(e=(0,r.UW)(e,o,h));const u=(0,i.fromGeometry)(t),l=(0,n.g7)(u.getGeometry(),e,a);return null==l?null:(0,i.toGeometry)(l,u.getSpatialReference())}function o(t,e,s={}){const{removeDegenerateParts:a=!1,unit:o}=s,h=(0,i.getSpatialReference)(t);o&&h&&(e=(0,r.UW)(e,o,h));const[u,l]=(0,i.fromGeometries)(t);return(0,n.zo)(u,e,a).map(t=>(0,i.toGeometry)(t,l))}}}]);