@arcgis/core 5.0.0-next.122 → 5.0.0-next.124

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 (836) hide show
  1. package/Camera.d.ts +1 -1
  2. package/Ground.d.ts +7 -7
  3. package/PopupTemplate.d.ts +6 -6
  4. package/WebScene.d.ts +1 -1
  5. package/analysis/AreaMeasurementAnalysis.d.ts +1 -1
  6. package/analysis/DirectLineMeasurementAnalysis.d.ts +1 -1
  7. package/analysis/LengthDimension.d.ts +4 -4
  8. package/analysis/ShadowCastAnalysis.d.ts +3 -3
  9. package/analysis/SliceAnalysis.d.ts +1 -1
  10. package/analysis/SlicePlane.d.ts +1 -1
  11. package/applications/Components/SketchTooltipControls.d.ts +3 -2
  12. package/applications/Components/SketchTooltipControls.js +1 -1
  13. package/assets/esri/core/t9n/Units_ar.json +1 -1
  14. package/assets/esri/core/t9n/Units_bg.json +1 -1
  15. package/assets/esri/core/t9n/Units_bs.json +1 -1
  16. package/assets/esri/core/t9n/Units_ca.json +1 -1
  17. package/assets/esri/core/t9n/Units_cs.json +1 -1
  18. package/assets/esri/core/t9n/Units_da.json +1 -1
  19. package/assets/esri/core/t9n/Units_de.json +1 -1
  20. package/assets/esri/core/t9n/Units_el.json +1 -1
  21. package/assets/esri/core/t9n/Units_es.json +1 -1
  22. package/assets/esri/core/t9n/Units_et.json +1 -1
  23. package/assets/esri/core/t9n/Units_fi.json +1 -1
  24. package/assets/esri/core/t9n/Units_fr.json +1 -1
  25. package/assets/esri/core/t9n/Units_he.json +1 -1
  26. package/assets/esri/core/t9n/Units_hr.json +1 -1
  27. package/assets/esri/core/t9n/Units_hu.json +1 -1
  28. package/assets/esri/core/t9n/Units_id.json +1 -1
  29. package/assets/esri/core/t9n/Units_it.json +1 -1
  30. package/assets/esri/core/t9n/Units_ja.json +1 -1
  31. package/assets/esri/core/t9n/Units_ko.json +1 -1
  32. package/assets/esri/core/t9n/Units_lt.json +1 -1
  33. package/assets/esri/core/t9n/Units_lv.json +1 -1
  34. package/assets/esri/core/t9n/Units_nl.json +1 -1
  35. package/assets/esri/core/t9n/Units_no.json +1 -1
  36. package/assets/esri/core/t9n/Units_pl.json +1 -1
  37. package/assets/esri/core/t9n/Units_pt-BR.json +1 -1
  38. package/assets/esri/core/t9n/Units_pt-PT.json +1 -1
  39. package/assets/esri/core/t9n/Units_ro.json +1 -1
  40. package/assets/esri/core/t9n/Units_ru.json +1 -1
  41. package/assets/esri/core/t9n/Units_sk.json +1 -1
  42. package/assets/esri/core/t9n/Units_sl.json +1 -1
  43. package/assets/esri/core/t9n/Units_sr.json +1 -1
  44. package/assets/esri/core/t9n/Units_sv.json +1 -1
  45. package/assets/esri/core/t9n/Units_th.json +1 -1
  46. package/assets/esri/core/t9n/Units_tr.json +1 -1
  47. package/assets/esri/core/t9n/Units_uk.json +1 -1
  48. package/assets/esri/core/t9n/Units_vi.json +1 -1
  49. package/assets/esri/core/t9n/Units_zh-CN.json +1 -1
  50. package/assets/esri/core/t9n/Units_zh-HK.json +1 -1
  51. package/assets/esri/core/t9n/Units_zh-TW.json +1 -1
  52. package/assets/esri/core/workers/RemoteClient.js +1 -1
  53. package/assets/esri/core/workers/chunks/0184b4c0c92c76c60ab2.js +1 -0
  54. package/assets/esri/core/workers/chunks/05d6cd51ca970705e46a.js +1 -0
  55. package/assets/esri/core/workers/chunks/{d5314786df52b6be5307.js → 0e6ffb02a929130ddb50.js} +1 -1
  56. package/assets/esri/core/workers/chunks/128cdb4a02549abc68b5.js +1 -0
  57. package/assets/esri/core/workers/chunks/{41fe4d8fe97388498f73.js → 13512a23655258fa77f4.js} +1 -1
  58. package/assets/esri/core/workers/chunks/{d621cdd0aef6d77986f0.js → 1469e6d1d0d4e310b8f8.js} +1 -1
  59. package/assets/esri/core/workers/chunks/{b9e90875943703486227.js → 15ba0296403dd4152b88.js} +1 -1
  60. package/assets/esri/core/workers/chunks/1701d9c50610f0b2dd38.js +1 -0
  61. package/assets/esri/core/workers/chunks/1794db88a2006711eff3.js +1 -0
  62. package/assets/esri/core/workers/chunks/{dddcae86e434d93b10c0.js → 189e22df73414a1a3989.js} +1 -1
  63. package/assets/esri/core/workers/chunks/{63831996ad82bd3b1ca9.js → 1e29a114c1cfe21121c4.js} +1 -1
  64. package/assets/esri/core/workers/chunks/{6b1e1fb4e9010873c171.js → 1f30558e3ad6ac68bdb8.js} +1 -1
  65. package/assets/esri/core/workers/chunks/2011da6dfc4bb89829c6.js +1 -0
  66. package/assets/esri/core/workers/chunks/22045f85e503ae0ec8f4.js +1 -0
  67. package/assets/esri/core/workers/chunks/231602adad900fc024f0.js +1 -0
  68. package/assets/esri/core/workers/chunks/{9c06b803912fcafa7f52.js → 24dd404612c35f6a3fc3.js} +1 -1
  69. package/assets/esri/core/workers/chunks/25861560a6ec1ffedfad.js +1 -0
  70. package/assets/esri/core/workers/chunks/{401af6d07c9f458ae067.js → 2c69d8bb1c950b95278d.js} +1 -1
  71. package/assets/esri/core/workers/chunks/2cd56b7ab70f908bbbd4.js +1 -0
  72. package/assets/esri/core/workers/chunks/{120a5fa9b46084cd0c45.js → 2d376f82cdf020e1fca9.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{5b3f2bad61a0d993bf16.js → 2e63e18df96e5a2461de.js} +1 -1
  74. package/assets/esri/core/workers/chunks/2e9d280f51ab43e6f102.js +1 -0
  75. package/assets/esri/core/workers/chunks/32a1ccc145c9f6091e13.js +1 -0
  76. package/assets/esri/core/workers/chunks/34691b147318b2cfdd45.js +1 -0
  77. package/assets/esri/core/workers/chunks/38124ee5119e614645c9.js +1 -0
  78. package/assets/esri/core/workers/chunks/394aa478c29599b08bf5.js +1 -0
  79. package/assets/esri/core/workers/chunks/43780090ae85b21ef3fd.js +1 -0
  80. package/assets/esri/core/workers/chunks/43c797bfc2191b51875b.js +1 -0
  81. package/assets/esri/core/workers/chunks/460a82f3e4838b13e3b4.js +1 -0
  82. package/assets/esri/core/workers/chunks/{78ce6fcb72e97d3dc087.js → 499d594dc0d282dfe777.js} +1 -1
  83. package/assets/esri/core/workers/chunks/4ad6f80488aa218b95e3.js +1 -0
  84. package/assets/esri/core/workers/chunks/4ba4aa6c75e3f8950e65.js +1 -0
  85. package/assets/esri/core/workers/chunks/{a115984b794a7f90b2c0.js → 4d45c51ff32dd75299ac.js} +1 -1
  86. package/assets/esri/core/workers/chunks/4e9863a11d09900baf30.js +1 -0
  87. package/assets/esri/core/workers/chunks/{61ce373f00a0cad113ed.js → 4f2c29168c9de0b08741.js} +1 -1
  88. package/assets/esri/core/workers/chunks/4fdc838f4c3efab6cd61.js +1 -0
  89. package/assets/esri/core/workers/chunks/5028de543cc1b8e60e65.js +1 -0
  90. package/assets/esri/core/workers/chunks/51a2da9faccf204d0817.js +1 -0
  91. package/assets/esri/core/workers/chunks/{17b39b88547968048113.js → 531c55f3b8e708ccf767.js} +1 -1
  92. package/assets/esri/core/workers/chunks/{5789898948cc0da78b8b.js → 552e5c413828e181f89a.js} +1 -1
  93. package/assets/esri/core/workers/chunks/{ec4e2f18453e1cb68fed.js → 5f10f39835cb40179000.js} +1 -1
  94. package/assets/esri/core/workers/chunks/{7b1964255722e756eba3.js → 5f9eeab833a6c08c76c4.js} +1 -1
  95. package/assets/esri/core/workers/chunks/6321680c8070dffa3b6c.js +1 -0
  96. package/assets/esri/core/workers/chunks/65f86594c42ff82095fe.js +1 -0
  97. package/assets/esri/core/workers/chunks/677f5e444ff588ab670f.js +1 -0
  98. package/assets/esri/core/workers/chunks/6997b4d5bcc9c4755375.js +1 -0
  99. package/assets/esri/core/workers/chunks/{b79cceeee3ed46f218a0.js → 69ab42b965bccc3bad4f.js} +1 -1
  100. package/assets/esri/core/workers/chunks/{bb4c75479cfea67cf8a2.js → 6af14a0217077d9ab47f.js} +1 -1
  101. package/assets/esri/core/workers/chunks/6b02919373bd4da7ff73.js +1 -0
  102. package/assets/esri/core/workers/chunks/{672542d0435fbfd0647c.js → 6b3d8280a24f7a3aac40.js} +1 -1
  103. package/assets/esri/core/workers/chunks/6cd370c716e4fe87b684.js +1 -0
  104. package/assets/esri/core/workers/chunks/7382c9882525101eddad.js +1 -0
  105. package/assets/esri/core/workers/chunks/7477a4d08414b561d03b.js +1 -0
  106. package/assets/esri/core/workers/chunks/{da188d0e22ba1639928e.js → 75907e5d009b71ce723b.js} +1 -1
  107. package/assets/esri/core/workers/chunks/778ab9e4c3928b0d7d74.js +1 -0
  108. package/assets/esri/core/workers/chunks/{ac62411b9b4cf85a4722.js → 7a037fbfd91dd22e3bf0.js} +1 -1
  109. package/assets/esri/core/workers/chunks/{0420fb4b3592f8a26b1f.js → 7d2b1e5402a88b6bee85.js} +1 -1
  110. package/assets/esri/core/workers/chunks/{50661f65a9c191f528bc.js → 7ee7529fcbd0d169047c.js} +1 -1
  111. package/assets/esri/core/workers/chunks/8161deb139b24ad6c287.js +1 -0
  112. package/assets/esri/core/workers/chunks/81a45d7e9dadf678b584.js +1 -0
  113. package/assets/esri/core/workers/chunks/{82a446e8befe9d29c8f0.js → 822a115c7d718e4e3d2b.js} +1 -1
  114. package/assets/esri/core/workers/chunks/86f2ec2692363abc97d1.js +1 -0
  115. package/assets/esri/core/workers/chunks/{18b0776aef1536867ab8.js → 89274b81a2a8b7cd5c49.js} +1 -1
  116. package/assets/esri/core/workers/chunks/8c3bf66f8543cedc72ef.js +1 -0
  117. package/assets/esri/core/workers/chunks/{6789ddaa61e6d8f20d04.js → 8eea620f770576d18809.js} +1 -1
  118. package/assets/esri/core/workers/chunks/920d6330df72e2f01d19.js +1 -0
  119. package/assets/esri/core/workers/chunks/{10c4f5afe14c0addc418.js → 9332db133a0925d522fe.js} +1 -1
  120. package/assets/esri/core/workers/chunks/{bc87890d00d6dba979b2.js → 99c9f35a29f9f6c9e4ce.js} +1 -1
  121. package/assets/esri/core/workers/chunks/9dc7abca1d1eb9ba5b58.js +1 -0
  122. package/assets/esri/core/workers/chunks/9e054c264b17f04b7efa.js +1 -0
  123. package/assets/esri/core/workers/chunks/a49f1172b17c14527acf.js +1 -0
  124. package/assets/esri/core/workers/chunks/{ab9156be67332338bbe4.js → aceec85ce64a3e6d8761.js} +1 -1
  125. package/assets/esri/core/workers/chunks/b10b3eb8c2ed9be14ab2.js +1 -0
  126. package/assets/esri/core/workers/chunks/b40e4ed067da65c3d7ce.js +1 -0
  127. package/assets/esri/core/workers/chunks/{b5fc0a2480a229e8891a.js → b5f291e8ed7f7cac158d.js} +1 -1
  128. package/assets/esri/core/workers/chunks/b5f68e1fdbaca3cd9c8d.js +1 -0
  129. package/assets/esri/core/workers/chunks/{a32b274404dfd2fb70ee.js → bcfa9f2e54f6777d0855.js} +1 -1
  130. package/assets/esri/core/workers/chunks/{9a43065e51df9c21c9fa.js → bdb4f216ae8881b98604.js} +1 -1
  131. package/assets/esri/core/workers/chunks/c409b8d39c0a40dafa06.js +1 -0
  132. package/assets/esri/core/workers/chunks/c6e0ada6f2ad74fddfec.js +1 -0
  133. package/assets/esri/core/workers/chunks/c80c82acec04ee0ade04.js +1 -0
  134. package/assets/esri/core/workers/chunks/c873ac660e7d5dc88781.js +1 -0
  135. package/assets/esri/core/workers/chunks/cfdb17522112c52f81ad.js +1 -0
  136. package/assets/esri/core/workers/chunks/d03d50f3247327257d8b.js +1 -0
  137. package/assets/esri/core/workers/chunks/d27a542a406ac3fe2ad9.js +1 -0
  138. package/assets/esri/core/workers/chunks/d2d9c1f32a75befe168b.js +1 -0
  139. package/assets/esri/core/workers/chunks/d76dfac06299cbd4f00e.js +1 -0
  140. package/assets/esri/core/workers/chunks/d9dc8d9fc8ab2706f96b.js +1 -0
  141. package/assets/esri/core/workers/chunks/{09cf8aed89a1ea1f8b28.js → da42da04a9df651b06cc.js} +1 -1
  142. package/assets/esri/core/workers/chunks/dd24cddc406f610d2483.js +1 -0
  143. package/assets/esri/core/workers/chunks/ded71a656e2626a411f9.js +1 -0
  144. package/assets/esri/core/workers/chunks/df1fa0f7e8f7e2bcc2e6.js +1 -0
  145. package/assets/esri/core/workers/chunks/{a5af20f3d484d2d3bafe.js → e2dc7e6b84e9b38ef9fe.js} +1 -1
  146. package/assets/esri/core/workers/chunks/{2889e782ed81bb05b9e5.js → e508f8e707eb3207cfcc.js} +1 -1
  147. package/assets/esri/core/workers/chunks/{bb8530ade7c40a1ed7c4.js → eb9e913fe0dfcc71cf92.js} +1 -1
  148. package/assets/esri/core/workers/chunks/{6a043be736f096d70070.js → ec2dfd89e4ce6fda4971.js} +1 -1
  149. package/assets/esri/core/workers/chunks/{f7e25a85a79c4e3c1c9f.js → ec63c0fa21cd3c872633.js} +1 -1
  150. package/assets/esri/core/workers/chunks/{a5bd7e5d71cffde68f89.js → ee89564d11c077169b31.js} +1 -1
  151. package/assets/esri/core/workers/chunks/ef9106ee818ec732b670.js +1 -0
  152. package/assets/esri/core/workers/chunks/f0582d8111ec825e1f9a.js +1 -0
  153. package/assets/esri/core/workers/chunks/{2e7d4a437717606bc39c.js → f104823f3b31a204bacb.js} +1 -1
  154. package/assets/esri/core/workers/chunks/{12fd2e26e949d90abfbd.js → f114da7ef2b891184e77.js} +1 -1
  155. package/assets/esri/core/workers/chunks/f121a0bf33c03abfa0b6.js +1 -0
  156. package/assets/esri/core/workers/chunks/{b3cc7f6d953bfbc3a70d.js → f62e37863a549f72093c.js} +1 -1
  157. package/assets/esri/core/workers/chunks/fab7e3e07d700d7bb651.js +1 -0
  158. package/assets/esri/core/workers/chunks/{bc9997d15ec0a86793c6.js → fd47dc60646260c5633c.js} +1 -1
  159. package/assets/esri/core/workers/chunks/fe5aec7e2da4465422b4.js +1 -0
  160. package/assets/esri/core/workers/chunks/{0fe47bf45428100cc808.js → ffb73b4e8f2f7ffd2db4.js} +1 -1
  161. package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
  162. package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
  163. package/assets/esri/themes/base/widgets/_Attribution.scss +4 -2
  164. package/assets/esri/themes/dark/main.css +1 -1
  165. package/assets/esri/themes/light/main.css +1 -1
  166. package/assets/esri/themes/light/view.css +1 -1
  167. package/assets/esri/widgets/Directions/t9n/Directions_ar.json +1 -1
  168. package/assets/esri/widgets/Directions/t9n/Directions_bg.json +1 -1
  169. package/assets/esri/widgets/Directions/t9n/Directions_bs.json +1 -1
  170. package/assets/esri/widgets/Directions/t9n/Directions_ca.json +1 -1
  171. package/assets/esri/widgets/Directions/t9n/Directions_cs.json +1 -1
  172. package/assets/esri/widgets/Directions/t9n/Directions_da.json +1 -1
  173. package/assets/esri/widgets/Directions/t9n/Directions_de.json +1 -1
  174. package/assets/esri/widgets/Directions/t9n/Directions_el.json +1 -1
  175. package/assets/esri/widgets/Directions/t9n/Directions_es.json +1 -1
  176. package/assets/esri/widgets/Directions/t9n/Directions_et.json +1 -1
  177. package/assets/esri/widgets/Directions/t9n/Directions_fi.json +1 -1
  178. package/assets/esri/widgets/Directions/t9n/Directions_fr.json +1 -1
  179. package/assets/esri/widgets/Directions/t9n/Directions_he.json +1 -1
  180. package/assets/esri/widgets/Directions/t9n/Directions_hr.json +1 -1
  181. package/assets/esri/widgets/Directions/t9n/Directions_hu.json +1 -1
  182. package/assets/esri/widgets/Directions/t9n/Directions_id.json +1 -1
  183. package/assets/esri/widgets/Directions/t9n/Directions_it.json +1 -1
  184. package/assets/esri/widgets/Directions/t9n/Directions_ja.json +1 -1
  185. package/assets/esri/widgets/Directions/t9n/Directions_ko.json +1 -1
  186. package/assets/esri/widgets/Directions/t9n/Directions_lt.json +1 -1
  187. package/assets/esri/widgets/Directions/t9n/Directions_lv.json +1 -1
  188. package/assets/esri/widgets/Directions/t9n/Directions_nl.json +1 -1
  189. package/assets/esri/widgets/Directions/t9n/Directions_no.json +1 -1
  190. package/assets/esri/widgets/Directions/t9n/Directions_pl.json +1 -1
  191. package/assets/esri/widgets/Directions/t9n/Directions_pt-BR.json +1 -1
  192. package/assets/esri/widgets/Directions/t9n/Directions_pt-PT.json +1 -1
  193. package/assets/esri/widgets/Directions/t9n/Directions_ro.json +1 -1
  194. package/assets/esri/widgets/Directions/t9n/Directions_ru.json +1 -1
  195. package/assets/esri/widgets/Directions/t9n/Directions_sk.json +1 -1
  196. package/assets/esri/widgets/Directions/t9n/Directions_sl.json +1 -1
  197. package/assets/esri/widgets/Directions/t9n/Directions_sr.json +1 -1
  198. package/assets/esri/widgets/Directions/t9n/Directions_sv.json +1 -1
  199. package/assets/esri/widgets/Directions/t9n/Directions_th.json +1 -1
  200. package/assets/esri/widgets/Directions/t9n/Directions_tr.json +1 -1
  201. package/assets/esri/widgets/Directions/t9n/Directions_uk.json +1 -1
  202. package/assets/esri/widgets/Directions/t9n/Directions_vi.json +1 -1
  203. package/assets/esri/widgets/Directions/t9n/Directions_zh-CN.json +1 -1
  204. package/assets/esri/widgets/Directions/t9n/Directions_zh-HK.json +1 -1
  205. package/assets/esri/widgets/Directions/t9n/Directions_zh-TW.json +1 -1
  206. package/assets/esri/widgets/Editor/t9n/Editor_ar.json +1 -1
  207. package/assets/esri/widgets/Editor/t9n/Editor_bg.json +1 -1
  208. package/assets/esri/widgets/Editor/t9n/Editor_bs.json +1 -1
  209. package/assets/esri/widgets/Editor/t9n/Editor_ca.json +1 -1
  210. package/assets/esri/widgets/Editor/t9n/Editor_cs.json +1 -1
  211. package/assets/esri/widgets/Editor/t9n/Editor_da.json +1 -1
  212. package/assets/esri/widgets/Editor/t9n/Editor_de.json +1 -1
  213. package/assets/esri/widgets/Editor/t9n/Editor_el.json +1 -1
  214. package/assets/esri/widgets/Editor/t9n/Editor_es.json +1 -1
  215. package/assets/esri/widgets/Editor/t9n/Editor_et.json +1 -1
  216. package/assets/esri/widgets/Editor/t9n/Editor_fi.json +1 -1
  217. package/assets/esri/widgets/Editor/t9n/Editor_fr.json +1 -1
  218. package/assets/esri/widgets/Editor/t9n/Editor_he.json +1 -1
  219. package/assets/esri/widgets/Editor/t9n/Editor_hr.json +1 -1
  220. package/assets/esri/widgets/Editor/t9n/Editor_hu.json +1 -1
  221. package/assets/esri/widgets/Editor/t9n/Editor_id.json +1 -1
  222. package/assets/esri/widgets/Editor/t9n/Editor_it.json +1 -1
  223. package/assets/esri/widgets/Editor/t9n/Editor_ja.json +1 -1
  224. package/assets/esri/widgets/Editor/t9n/Editor_ko.json +1 -1
  225. package/assets/esri/widgets/Editor/t9n/Editor_lt.json +1 -1
  226. package/assets/esri/widgets/Editor/t9n/Editor_lv.json +1 -1
  227. package/assets/esri/widgets/Editor/t9n/Editor_nl.json +1 -1
  228. package/assets/esri/widgets/Editor/t9n/Editor_no.json +1 -1
  229. package/assets/esri/widgets/Editor/t9n/Editor_pl.json +1 -1
  230. package/assets/esri/widgets/Editor/t9n/Editor_pt-BR.json +1 -1
  231. package/assets/esri/widgets/Editor/t9n/Editor_pt-PT.json +1 -1
  232. package/assets/esri/widgets/Editor/t9n/Editor_ro.json +1 -1
  233. package/assets/esri/widgets/Editor/t9n/Editor_ru.json +1 -1
  234. package/assets/esri/widgets/Editor/t9n/Editor_sk.json +1 -1
  235. package/assets/esri/widgets/Editor/t9n/Editor_sl.json +1 -1
  236. package/assets/esri/widgets/Editor/t9n/Editor_sr.json +1 -1
  237. package/assets/esri/widgets/Editor/t9n/Editor_sv.json +1 -1
  238. package/assets/esri/widgets/Editor/t9n/Editor_th.json +1 -1
  239. package/assets/esri/widgets/Editor/t9n/Editor_tr.json +1 -1
  240. package/assets/esri/widgets/Editor/t9n/Editor_uk.json +1 -1
  241. package/assets/esri/widgets/Editor/t9n/Editor_vi.json +1 -1
  242. package/assets/esri/widgets/Editor/t9n/Editor_zh-CN.json +1 -1
  243. package/assets/esri/widgets/Editor/t9n/Editor_zh-HK.json +1 -1
  244. package/assets/esri/widgets/Editor/t9n/Editor_zh-TW.json +1 -1
  245. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ar.json +1 -1
  246. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bg.json +1 -1
  247. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_bs.json +1 -1
  248. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ca.json +1 -1
  249. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_cs.json +1 -1
  250. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_da.json +1 -1
  251. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_de.json +1 -1
  252. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_el.json +1 -1
  253. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_es.json +1 -1
  254. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_et.json +1 -1
  255. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fi.json +1 -1
  256. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_fr.json +1 -1
  257. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_he.json +1 -1
  258. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hr.json +1 -1
  259. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_hu.json +1 -1
  260. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_id.json +1 -1
  261. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_it.json +1 -1
  262. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ja.json +1 -1
  263. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ko.json +1 -1
  264. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lt.json +1 -1
  265. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_lv.json +1 -1
  266. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_nl.json +1 -1
  267. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_no.json +1 -1
  268. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pl.json +1 -1
  269. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-BR.json +1 -1
  270. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_pt-PT.json +1 -1
  271. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ro.json +1 -1
  272. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_ru.json +1 -1
  273. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sk.json +1 -1
  274. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sl.json +1 -1
  275. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sr.json +1 -1
  276. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_sv.json +1 -1
  277. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_th.json +1 -1
  278. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_tr.json +1 -1
  279. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_uk.json +1 -1
  280. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_vi.json +1 -1
  281. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-CN.json +1 -1
  282. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-HK.json +1 -1
  283. package/assets/esri/widgets/FeatureTable/t9n/FeatureTable_zh-TW.json +1 -1
  284. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ar.json +1 -1
  285. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bg.json +1 -1
  286. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_bs.json +1 -1
  287. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ca.json +1 -1
  288. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_cs.json +1 -1
  289. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_da.json +1 -1
  290. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_de.json +1 -1
  291. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_el.json +1 -1
  292. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_es.json +1 -1
  293. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_et.json +1 -1
  294. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fi.json +1 -1
  295. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_fr.json +1 -1
  296. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_he.json +1 -1
  297. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hr.json +1 -1
  298. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_hu.json +1 -1
  299. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_id.json +1 -1
  300. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_it.json +1 -1
  301. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ja.json +1 -1
  302. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ko.json +1 -1
  303. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lt.json +1 -1
  304. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_lv.json +1 -1
  305. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_nl.json +1 -1
  306. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_no.json +1 -1
  307. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pl.json +1 -1
  308. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-BR.json +1 -1
  309. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_pt-PT.json +1 -1
  310. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ro.json +1 -1
  311. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_ru.json +1 -1
  312. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sk.json +1 -1
  313. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sl.json +1 -1
  314. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sr.json +1 -1
  315. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_sv.json +1 -1
  316. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_th.json +1 -1
  317. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_tr.json +1 -1
  318. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_uk.json +1 -1
  319. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_vi.json +1 -1
  320. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-CN.json +1 -1
  321. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-HK.json +1 -1
  322. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_zh-TW.json +1 -1
  323. package/assets/esri/widgets/Sketch/t9n/Sketch_ar.json +1 -1
  324. package/assets/esri/widgets/Sketch/t9n/Sketch_bg.json +1 -1
  325. package/assets/esri/widgets/Sketch/t9n/Sketch_bs.json +1 -1
  326. package/assets/esri/widgets/Sketch/t9n/Sketch_ca.json +1 -1
  327. package/assets/esri/widgets/Sketch/t9n/Sketch_cs.json +1 -1
  328. package/assets/esri/widgets/Sketch/t9n/Sketch_da.json +1 -1
  329. package/assets/esri/widgets/Sketch/t9n/Sketch_de.json +1 -1
  330. package/assets/esri/widgets/Sketch/t9n/Sketch_el.json +1 -1
  331. package/assets/esri/widgets/Sketch/t9n/Sketch_es.json +1 -1
  332. package/assets/esri/widgets/Sketch/t9n/Sketch_et.json +1 -1
  333. package/assets/esri/widgets/Sketch/t9n/Sketch_fi.json +1 -1
  334. package/assets/esri/widgets/Sketch/t9n/Sketch_fr.json +1 -1
  335. package/assets/esri/widgets/Sketch/t9n/Sketch_he.json +1 -1
  336. package/assets/esri/widgets/Sketch/t9n/Sketch_hr.json +1 -1
  337. package/assets/esri/widgets/Sketch/t9n/Sketch_hu.json +1 -1
  338. package/assets/esri/widgets/Sketch/t9n/Sketch_id.json +1 -1
  339. package/assets/esri/widgets/Sketch/t9n/Sketch_it.json +1 -1
  340. package/assets/esri/widgets/Sketch/t9n/Sketch_ja.json +1 -1
  341. package/assets/esri/widgets/Sketch/t9n/Sketch_ko.json +1 -1
  342. package/assets/esri/widgets/Sketch/t9n/Sketch_lt.json +1 -1
  343. package/assets/esri/widgets/Sketch/t9n/Sketch_lv.json +1 -1
  344. package/assets/esri/widgets/Sketch/t9n/Sketch_nl.json +1 -1
  345. package/assets/esri/widgets/Sketch/t9n/Sketch_no.json +1 -1
  346. package/assets/esri/widgets/Sketch/t9n/Sketch_pl.json +1 -1
  347. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-BR.json +1 -1
  348. package/assets/esri/widgets/Sketch/t9n/Sketch_pt-PT.json +1 -1
  349. package/assets/esri/widgets/Sketch/t9n/Sketch_ro.json +1 -1
  350. package/assets/esri/widgets/Sketch/t9n/Sketch_ru.json +1 -1
  351. package/assets/esri/widgets/Sketch/t9n/Sketch_sk.json +1 -1
  352. package/assets/esri/widgets/Sketch/t9n/Sketch_sl.json +1 -1
  353. package/assets/esri/widgets/Sketch/t9n/Sketch_sr.json +1 -1
  354. package/assets/esri/widgets/Sketch/t9n/Sketch_sv.json +1 -1
  355. package/assets/esri/widgets/Sketch/t9n/Sketch_th.json +1 -1
  356. package/assets/esri/widgets/Sketch/t9n/Sketch_tr.json +1 -1
  357. package/assets/esri/widgets/Sketch/t9n/Sketch_uk.json +1 -1
  358. package/assets/esri/widgets/Sketch/t9n/Sketch_vi.json +1 -1
  359. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-CN.json +1 -1
  360. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-HK.json +1 -1
  361. package/assets/esri/widgets/Sketch/t9n/Sketch_zh-TW.json +1 -1
  362. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ar.json +1 -1
  363. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bg.json +1 -1
  364. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bs.json +1 -1
  365. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ca.json +1 -1
  366. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_cs.json +1 -1
  367. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_da.json +1 -1
  368. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_de.json +1 -1
  369. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_el.json +1 -1
  370. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_es.json +1 -1
  371. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_et.json +1 -1
  372. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fi.json +1 -1
  373. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fr.json +1 -1
  374. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_he.json +1 -1
  375. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hr.json +1 -1
  376. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hu.json +1 -1
  377. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_id.json +1 -1
  378. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_it.json +1 -1
  379. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ja.json +1 -1
  380. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ko.json +1 -1
  381. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lt.json +1 -1
  382. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lv.json +1 -1
  383. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_nl.json +1 -1
  384. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_no.json +1 -1
  385. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pl.json +1 -1
  386. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-BR.json +1 -1
  387. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-PT.json +1 -1
  388. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ro.json +1 -1
  389. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ru.json +1 -1
  390. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sk.json +1 -1
  391. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sl.json +1 -1
  392. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sr.json +1 -1
  393. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sv.json +1 -1
  394. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_th.json +1 -1
  395. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_tr.json +1 -1
  396. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_uk.json +1 -1
  397. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_vi.json +1 -1
  398. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-CN.json +1 -1
  399. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-HK.json +1 -1
  400. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-TW.json +1 -1
  401. package/chunks/Fog.glsl.js +1 -1
  402. package/config.js +1 -1
  403. package/core/has.js +1 -1
  404. package/core/sql/types.d.ts +398 -86
  405. package/core/types.d.ts +5 -0
  406. package/core/workers/workerFactory.js +1 -1
  407. package/editing/sharedTemplates/executor/builders/radialLines.js +1 -1
  408. package/editing/sharedTemplates/executor/builders/support/shapeUtils.js +1 -1
  409. package/effects/FocusAreas.d.ts +1 -1
  410. package/form/elements/FieldElement.d.ts +1 -1
  411. package/form/elements/GroupElement.d.ts +1 -1
  412. package/form/elements/TextElement.d.ts +1 -1
  413. package/form/elements/inputs/ComboBoxInput.d.ts +1 -1
  414. package/form/elements/inputs/RadioButtonsInput.d.ts +1 -1
  415. package/form/elements/inputs/SwitchInput.d.ts +1 -1
  416. package/geometry/Mesh.d.ts +7 -7
  417. package/geometry/operators/alphaShapeOperator.d.ts +1 -1
  418. package/geometry/operators/areaOperator.d.ts +1 -1
  419. package/geometry/operators/bufferOperator.d.ts +1 -1
  420. package/geometry/operators/centroidOperator.d.ts +1 -1
  421. package/geometry/operators/clipOperator.d.ts +1 -1
  422. package/geometry/operators/containsOperator.d.ts +1 -1
  423. package/geometry/operators/convexHullOperator.d.ts +1 -1
  424. package/geometry/operators/crossesOperator.d.ts +1 -1
  425. package/geometry/operators/cutOperator.d.ts +1 -1
  426. package/geometry/operators/densifyOperator.d.ts +1 -1
  427. package/geometry/operators/differenceOperator.d.ts +1 -1
  428. package/geometry/operators/disjointOperator.d.ts +1 -1
  429. package/geometry/operators/distanceOperator.d.ts +1 -1
  430. package/geometry/operators/generalizeOperator.d.ts +1 -1
  431. package/geometry/operators/geodesicProximityOperator.d.ts +1 -1
  432. package/geometry/operators/geodeticDistanceOperator.d.ts +1 -1
  433. package/geometry/operators/geodeticUtilsOperator.d.ts +2 -2
  434. package/geometry/operators/graphicBufferOperator.d.ts +1 -1
  435. package/geometry/operators/intersectionOperator.d.ts +1 -1
  436. package/geometry/operators/intersectsOperator.d.ts +1 -1
  437. package/geometry/operators/isNearOperator.d.ts +1 -1
  438. package/geometry/operators/lengthOperator.d.ts +1 -1
  439. package/geometry/operators/locateBetweenOperator.d.ts +1 -1
  440. package/geometry/operators/multiPartToSinglePartOperator.d.ts +1 -1
  441. package/geometry/operators/offsetOperator.d.ts +5 -5
  442. package/geometry/operators/overlapsOperator.d.ts +1 -1
  443. package/geometry/operators/proximityOperator.d.ts +1 -1
  444. package/geometry/operators/simplifyOGCOperator.d.ts +1 -1
  445. package/geometry/operators/simplifyOperator.d.ts +1 -1
  446. package/geometry/operators/support/GeographicTransformation.d.ts +6 -4
  447. package/geometry/operators/support/GeographicTransformation.js +1 -1
  448. package/geometry/operators/support/GeographicTransformationStep.d.ts +5 -3
  449. package/geometry/operators/support/GeographicTransformationStep.js +1 -1
  450. package/geometry/operators/support/Transformation.d.ts +6 -6
  451. package/geometry/operators/symmetricDifferenceOperator.d.ts +1 -1
  452. package/geometry/operators/touchesOperator.d.ts +1 -1
  453. package/geometry/operators/unionOperator.d.ts +1 -1
  454. package/geometry/operators/withinOperator.d.ts +1 -1
  455. package/geometry/projectionUtils.js +1 -1
  456. package/geometry/support/MeshMaterialMetallicRoughness.d.ts +1 -1
  457. package/geometry/support/curves/curveUtils.js +1 -1
  458. package/kernel.js +1 -1
  459. package/layers/BuildingSceneLayer.d.ts +4 -4
  460. package/layers/CSVLayer.d.ts +4 -4
  461. package/layers/CatalogLayer.d.ts +2 -2
  462. package/layers/ElevationLayer.d.ts +1 -1
  463. package/layers/FeatureLayer.d.ts +2 -2
  464. package/layers/GaussianSplatLayer.d.ts +77 -10
  465. package/layers/GeoJSONLayer.d.ts +3 -3
  466. package/layers/GeoRSSLayer.d.ts +1 -1
  467. package/layers/GraphicsLayer.d.ts +2 -2
  468. package/layers/ImageryLayer.d.ts +3 -3
  469. package/layers/ImageryTileLayer.d.ts +2 -2
  470. package/layers/IntegratedMesh3DTilesLayer.d.ts +6 -6
  471. package/layers/IntegratedMesh3DTilesLayer.js +1 -1
  472. package/layers/IntegratedMeshLayer.d.ts +7 -7
  473. package/layers/Lyr3DWasmPerSceneView.js +1 -1
  474. package/layers/MapImageLayer.d.ts +1 -1
  475. package/layers/MediaLayer.d.ts +1 -1
  476. package/layers/OGCFeatureLayer.d.ts +2 -2
  477. package/layers/PointCloudLayer.d.ts +1 -1
  478. package/layers/SceneLayer.d.ts +9 -9
  479. package/layers/StreamLayer.d.ts +2 -2
  480. package/layers/VectorTileLayer.d.ts +2 -2
  481. package/layers/VideoLayer.d.ts +1 -1
  482. package/layers/VoxelLayer.d.ts +8 -8
  483. package/layers/WFSLayer.d.ts +6 -6
  484. package/layers/catalog/CatalogFootprintLayer.d.ts +1 -1
  485. package/layers/graphics/data/QueryEngineResult.js +1 -1
  486. package/layers/graphics/data/SnappingCandidate.js +1 -1
  487. package/layers/mixins/BlendLayer.d.ts +6 -6
  488. package/layers/pointCloudFilters/PointCloudReturnFilter.d.ts +1 -1
  489. package/layers/pointCloudFilters/PointCloudValueFilter.d.ts +1 -1
  490. package/layers/support/ControlPointsGeoreference.d.ts +2 -2
  491. package/layers/support/ControlPointsGeoreference.js +1 -1
  492. package/layers/support/CornersGeoreference.d.ts +2 -2
  493. package/layers/support/CornersGeoreference.js +1 -1
  494. package/layers/support/DimensionalDefinition.d.ts +2 -2
  495. package/layers/support/ExtentAndRotationGeoreference.d.ts +2 -2
  496. package/layers/support/ExtentAndRotationGeoreference.js +1 -1
  497. package/layers/support/FeatureEffect.d.ts +4 -4
  498. package/layers/support/FeatureFilter.d.ts +17 -17
  499. package/layers/support/FeatureReductionBinning.d.ts +1 -1
  500. package/layers/support/FeatureReductionCluster.d.ts +9 -9
  501. package/layers/support/FeatureReductionSelection.d.ts +1 -1
  502. package/layers/support/GeoreferenceBaseMixin.js +2 -0
  503. package/layers/support/LabelClass.d.ts +2 -2
  504. package/layers/support/RasterFunction.d.ts +1 -1
  505. package/layers/support/SceneFilter.d.ts +2 -2
  506. package/layers/support/SceneModification.d.ts +3 -3
  507. package/layers/support/arcgisLayerUrl.js +1 -1
  508. package/layers/support/featurePopupQueryUtils.js +1 -1
  509. package/layers/support/mediaUtils.js +1 -1
  510. package/layers/support/relativeTimeQueryUtils.js +1 -1
  511. package/layers/support/serviceCapabilitiesUtils.js +1 -1
  512. package/layers/types.d.ts +24 -10
  513. package/package.json +1 -1
  514. package/popup/content/AttachmentsContent.d.ts +1 -1
  515. package/popup/content/BarChartMediaInfo.d.ts +1 -1
  516. package/popup/content/ColumnChartMediaInfo.d.ts +1 -1
  517. package/popup/content/FieldsContent.d.ts +1 -1
  518. package/popup/content/ImageMediaInfo.d.ts +1 -1
  519. package/popup/content/LineChartMediaInfo.d.ts +1 -1
  520. package/popup/content/MediaContent.d.ts +1 -1
  521. package/popup/content/PieChartMediaInfo.d.ts +1 -1
  522. package/popup/content/RelationshipContent.d.ts +1 -1
  523. package/popup/content/TextContent.d.ts +1 -1
  524. package/portal/support/urlUtils.js +1 -1
  525. package/renderers/ClassBreaksRenderer.d.ts +1 -1
  526. package/renderers/DictionaryRenderer.d.ts +1 -1
  527. package/renderers/DotDensityRenderer.d.ts +46 -3
  528. package/renderers/DotDensityRenderer.js +1 -1
  529. package/renderers/FlowRenderer.d.ts +6 -6
  530. package/renderers/HeatmapRenderer.d.ts +3 -3
  531. package/renderers/PieChartRenderer.d.ts +1 -1
  532. package/renderers/RasterShadedReliefRenderer.d.ts +1 -1
  533. package/renderers/Renderer.d.ts +4 -4
  534. package/renderers/SimpleRenderer.d.ts +2 -2
  535. package/renderers/UniqueValueRenderer.d.ts +2 -2
  536. package/renderers/VectorFieldRenderer.d.ts +1 -1
  537. package/renderers/mixins/VisualVariablesMixin.d.ts +12 -12
  538. package/renderers/visualVariables/ColorVariable.d.ts +1 -1
  539. package/renderers/visualVariables/OpacityVariable.d.ts +1 -1
  540. package/renderers/visualVariables/RotationVariable.d.ts +1 -1
  541. package/renderers/visualVariables/SizeVariable.d.ts +1 -1
  542. package/renderers/visualVariables/VisualVariable.d.ts +1 -1
  543. package/rest/featureService/FeatureService.js +1 -1
  544. package/rest/print.js +1 -1
  545. package/rest/query/operations/pbfFlatFeatureSet.js +1 -1
  546. package/rest/query/support/AttachmentInfo.d.ts +1 -1
  547. package/rest/support/AutoIntervalBinParameters.d.ts +1 -1
  548. package/rest/support/DateBinParameters.d.ts +1 -1
  549. package/rest/support/FixedBoundariesBinParameters.d.ts +1 -1
  550. package/rest/support/FixedIntervalBinParameters.d.ts +1 -1
  551. package/rest/support/Query.d.ts +3 -2
  552. package/rest/types.d.ts +1 -3
  553. package/smartMapping/labels/clusters.d.ts +1 -1
  554. package/smartMapping/popup/clusters.d.ts +2 -2
  555. package/smartMapping/popup/templates.d.ts +1 -1
  556. package/smartMapping/raster/renderers/flow.d.ts +2 -2
  557. package/smartMapping/renderers/color.d.ts +12 -12
  558. package/smartMapping/renderers/predominance.d.ts +3 -3
  559. package/smartMapping/renderers/relationship.d.ts +15 -15
  560. package/smartMapping/renderers/univariateColorSize.d.ts +4 -4
  561. package/smartMapping/symbology/color.d.ts +4 -4
  562. package/smartMapping/symbology/flow.d.ts +2 -2
  563. package/smartMapping/symbology/types.d.ts +18 -18
  564. package/support/actions/ActionButton.d.ts +1 -1
  565. package/support/revision.js +1 -1
  566. package/symbols/CIMSymbol.d.ts +1 -1
  567. package/symbols/ExtrudeSymbol3DLayer.d.ts +21 -11
  568. package/symbols/FillSymbol3DLayer.d.ts +39 -19
  569. package/symbols/IconSymbol3DLayer.d.ts +1 -1
  570. package/symbols/LabelSymbol3D.d.ts +2 -2
  571. package/symbols/LineStyleMarker3D.d.ts +7 -7
  572. package/symbols/LineSymbol3D.d.ts +2 -2
  573. package/symbols/LineSymbol3DLayer.d.ts +7 -7
  574. package/symbols/LineSymbolMarker.d.ts +6 -6
  575. package/symbols/MarkerSymbol.d.ts +1 -1
  576. package/symbols/MeshSymbol3D.d.ts +2 -2
  577. package/symbols/ObjectSymbol3DLayer.d.ts +29 -7
  578. package/symbols/PathSymbol3DLayer.d.ts +32 -20
  579. package/symbols/PictureFillSymbol.d.ts +1 -1
  580. package/symbols/PictureMarkerSymbol.d.ts +1 -1
  581. package/symbols/PointSymbol3D.d.ts +3 -3
  582. package/symbols/PolygonSymbol3D.d.ts +7 -7
  583. package/symbols/SimpleFillSymbol.d.ts +8 -8
  584. package/symbols/SimpleLineSymbol.d.ts +20 -20
  585. package/symbols/SimpleMarkerSymbol.d.ts +7 -7
  586. package/symbols/Symbol3DLayer.d.ts +16 -16
  587. package/symbols/TextSymbol.d.ts +1 -1
  588. package/symbols/TextSymbol3DLayer.d.ts +1 -1
  589. package/symbols/WaterSymbol3DLayer.d.ts +3 -3
  590. package/symbols/WebStyleSymbol.d.ts +1 -1
  591. package/symbols/callouts/Callout3D.d.ts +1 -1
  592. package/symbols/callouts/LineCallout3D.d.ts +3 -3
  593. package/symbols/cim/CIMSymbolHelper.js +1 -1
  594. package/symbols/cim/rasterizingUtils.js +1 -1
  595. package/symbols/cim/types.d.ts +23 -23
  596. package/symbols/edges/Edges3D.d.ts +1 -1
  597. package/symbols/edges/SolidEdges3D.d.ts +1 -1
  598. package/symbols/patterns/LineStylePattern3D.d.ts +11 -11
  599. package/symbols/patterns/StylePattern3D.d.ts +8 -8
  600. package/symbols/support/ElevationInfo.d.ts +2 -2
  601. package/symbols/support/IconSymbol3DLayerResource.d.ts +6 -6
  602. package/symbols/support/ObjectSymbol3DLayerResource.d.ts +7 -7
  603. package/symbols/support/Symbol3DEmissive.d.ts +19 -6
  604. package/symbols/support/Symbol3DVerticalOffset.d.ts +2 -2
  605. package/versionManagement/VersionManagementService.d.ts +4 -0
  606. package/views/2d/interactive/SnappingVisualizer2D.js +1 -1
  607. package/views/2d/layers/BaseLayerViewGL2D.d.ts +1 -1
  608. package/views/2d/layers/features/layerAdapters/CatalogFootprintLayerAdapter.js +1 -1
  609. package/views/2d/layers/features/layerAdapters/FeatureLayerAdapter.js +1 -1
  610. package/views/2d/layers/features/layerAdapters/InMemoryLayerAdapter.js +1 -1
  611. package/views/2d/layers/features/layerAdapters/KnowledgeGraphSublayerAdapter.js +1 -1
  612. package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
  613. package/views/2d/layers/features/layerAdapters/OrientedImageryLayerAdapter.js +1 -1
  614. package/views/2d/layers/features/layerAdapters/SubtypeGroupLayerAdapter.js +1 -1
  615. package/views/2d/layers/features/sources/FeatureSourceQueryInfo.js +1 -1
  616. package/views/2d/layers/features/sources/strategies/FeaturePagedTileLoadStrategy.js +1 -1
  617. package/views/2d/layers/features/sources/strategies/FeatureSnapshotLoadStrategy.js +1 -1
  618. package/views/2d/layers/features/sources/strategies/chunks/SourceChunkStore.js +1 -1
  619. package/views/2d/layers/support/RouteLayerWaypointVisualization.js +1 -1
  620. package/views/2d/types.d.ts +3 -3
  621. package/views/3d/environment/CloudyWeather.d.ts +1 -1
  622. package/views/3d/environment/Environment.d.ts +4 -4
  623. package/views/3d/environment/FoggyWeather.d.ts +1 -1
  624. package/views/3d/environment/RainyWeather.d.ts +1 -1
  625. package/views/3d/environment/SnowyWeather.d.ts +1 -1
  626. package/views/3d/environment/SunLighting.d.ts +1 -1
  627. package/views/3d/environment/SunnyWeather.d.ts +1 -1
  628. package/views/3d/environment/VirtualLighting.d.ts +1 -1
  629. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  630. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  631. package/views/3d/layers/support/featureTileQuery3D.js +1 -1
  632. package/views/3d/webgl/RenderNode.d.ts +2 -2
  633. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  634. package/views/3d/webgl-engine/effects/glow/GlowRenderNode.js +1 -1
  635. package/views/3d/webgl-engine/materials/renderers/VaoWriter.js +1 -1
  636. package/views/3d/webgl.d.ts +1 -1
  637. package/views/Magnifier.d.ts +3 -3
  638. package/views/MapView.d.ts +7 -7
  639. package/views/SceneView.d.ts +16 -16
  640. package/views/View.d.ts +2 -2
  641. package/views/interactive/keybindings.js +1 -1
  642. package/views/interactive/sketch/SketchLabelOptions.d.ts +1 -1
  643. package/views/interactive/sketch/SketchTooltipOptions.d.ts +1 -1
  644. package/views/interactive/snapping/SnappingOptions.d.ts +7 -7
  645. package/views/interactive/snapping/candidates/EdgeSnappingCandidate.js +1 -1
  646. package/views/interactive/snapping/featureSources/GraphicsSnappingSource.js +1 -1
  647. package/views/interactive/snapping/featureSources/queryEngineUtils.js +1 -1
  648. package/views/interactive/snapping/featureSources/snappingCandidateElevationAlignment.js +1 -1
  649. package/views/interactive/snapping/featureSources/snappingCandidateElevationFilter.js +1 -1
  650. package/views/interactive/snapping/hints/LineSnappingHint.js +1 -1
  651. package/views/layers/FeatureLikeLayerView.js +1 -1
  652. package/views/layers/support/WhereClauseVisitor.js +1 -1
  653. package/views/support/HighlightOptions.d.ts +1 -1
  654. package/views/ui/DefaultUI.d.ts +2 -2
  655. package/views/webgl/RenderingContext.js +1 -1
  656. package/webscene/Environment.d.ts +16 -11
  657. package/webscene/Glow.d.ts +9 -2
  658. package/webscene/background/ColorBackground.d.ts +1 -1
  659. package/widgets/AreaMeasurement2D.d.ts +1 -1
  660. package/widgets/AreaMeasurement3D.d.ts +2 -2
  661. package/widgets/Attachments.d.ts +1 -1
  662. package/widgets/Attribution.d.ts +1 -1
  663. package/widgets/BasemapGallery.d.ts +1 -1
  664. package/widgets/BasemapLayerList.d.ts +3 -3
  665. package/widgets/BasemapToggle.d.ts +1 -1
  666. package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.d.ts +1 -2
  667. package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
  668. package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
  669. package/widgets/BatchAttributeForm/inputs/BatchFormInputs.d.ts +0 -1
  670. package/widgets/BatchAttributeForm/inputs/FieldInput.d.ts +1 -1
  671. package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
  672. package/widgets/BatchAttributeForm/inputs/TextElementInput.d.ts +2 -11
  673. package/widgets/BatchAttributeForm/inputs/TextElementInput.js +1 -1
  674. package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
  675. package/widgets/BatchAttributeForm/inputs/support/textElementInputUtils.js +2 -0
  676. package/widgets/BatchAttributeForm/templates/TextElementTemplate.js +1 -1
  677. package/widgets/BatchAttributeForm/templates/support/constants.js +2 -0
  678. package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
  679. package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
  680. package/widgets/BatchAttributeForm/templates/support/textElementTemplateUtils.js +2 -0
  681. package/widgets/BatchAttributeForm.d.ts +0 -2
  682. package/widgets/Bookmarks/BookmarksVisibleElements.d.ts +1 -1
  683. package/widgets/Bookmarks.d.ts +2 -2
  684. package/widgets/BuildingExplorer.d.ts +1 -1
  685. package/widgets/CatalogLayerList.d.ts +3 -3
  686. package/widgets/Compass.d.ts +2 -2
  687. package/widgets/CoordinateConversion.d.ts +1 -1
  688. package/widgets/Daylight.d.ts +5 -5
  689. package/widgets/DirectLineMeasurement3D.d.ts +2 -2
  690. package/widgets/Directions/DirectionsViewModel.d.ts +12 -0
  691. package/widgets/Directions/DirectionsViewModel.js +1 -1
  692. package/widgets/Directions.d.ts +4 -4
  693. package/widgets/DistanceMeasurement2D.d.ts +1 -1
  694. package/widgets/Editor/CreateFeaturesWorkflow.d.ts +1 -1
  695. package/widgets/Editor/EditorViewModel.js +1 -1
  696. package/widgets/Editor/components/Settings.js +1 -1
  697. package/widgets/Editor.d.ts +8 -8
  698. package/widgets/ElevationProfile/ElevationProfileLineGround.d.ts +1 -1
  699. package/widgets/ElevationProfile/ElevationProfileLineInput.d.ts +1 -1
  700. package/widgets/ElevationProfile/ElevationProfileLineView.d.ts +1 -1
  701. package/widgets/ElevationProfile.d.ts +3 -3
  702. package/widgets/Expand.d.ts +1 -1
  703. package/widgets/FeatureForm.d.ts +1 -1
  704. package/widgets/FeatureTable/ActionColumn.d.ts +2 -2
  705. package/widgets/FeatureTable/AttachmentsColumn.d.ts +1 -1
  706. package/widgets/FeatureTable/FeatureTableViewModel.d.ts +3 -3
  707. package/widgets/FeatureTable/Grid/GroupColumn.d.ts +1 -1
  708. package/widgets/FeatureTable/RelationshipColumn.d.ts +1 -1
  709. package/widgets/FeatureTable/VisibleElements.d.ts +1 -1
  710. package/widgets/FeatureTable.d.ts +10 -10
  711. package/widgets/FeatureTemplates/FeatureTemplatesViewModel.d.ts +5 -5
  712. package/widgets/FeatureTemplates.d.ts +8 -8
  713. package/widgets/Features/FeaturesViewModel.d.ts +2 -2
  714. package/widgets/Features/FeaturesViewModel.js +1 -1
  715. package/widgets/Features/FeaturesVisibleElements.d.ts +2 -2
  716. package/widgets/Features.d.ts +1 -1
  717. package/widgets/Histogram.d.ts +2 -2
  718. package/widgets/HistogramRangeSlider.d.ts +1 -1
  719. package/widgets/Home.d.ts +1 -1
  720. package/widgets/LayerList/ListItemPanel.d.ts +1 -1
  721. package/widgets/LayerList.d.ts +4 -4
  722. package/widgets/Legend.d.ts +8 -8
  723. package/widgets/LineOfSight.d.ts +1 -1
  724. package/widgets/Locate.d.ts +2 -2
  725. package/widgets/Measurement.d.ts +1 -1
  726. package/widgets/NavigationToggle/NavigationToggleViewModel.d.ts +1 -1
  727. package/widgets/NavigationToggle.d.ts +3 -3
  728. package/widgets/Popup/PopupVisibleElements.d.ts +2 -2
  729. package/widgets/Popup.d.ts +5 -5
  730. package/widgets/Print/CustomTemplate.d.ts +1 -1
  731. package/widgets/Print/PrintViewModel.js +1 -1
  732. package/widgets/Print/TemplateOptions.d.ts +4 -4
  733. package/widgets/ScaleRangeSlider.d.ts +1 -1
  734. package/widgets/Search/SearchViewModel.d.ts +4 -4
  735. package/widgets/Search.d.ts +5 -5
  736. package/widgets/ShadowCast.d.ts +3 -3
  737. package/widgets/Sketch/SketchViewModel.d.ts +39 -39
  738. package/widgets/Sketch.d.ts +43 -43
  739. package/widgets/Sketch.js +1 -1
  740. package/widgets/Slice.d.ts +2 -2
  741. package/widgets/Slider/SliderViewModel.d.ts +2 -2
  742. package/widgets/Slider.d.ts +9 -9
  743. package/widgets/Swipe/SwipeViewModel.d.ts +1 -1
  744. package/widgets/Swipe.d.ts +2 -2
  745. package/widgets/TableList/ListItemPanel.d.ts +1 -1
  746. package/widgets/TableList.d.ts +1 -1
  747. package/widgets/TimeSlider/TimeSliderViewModel.d.ts +8 -9
  748. package/widgets/TimeSlider/types.d.ts +1 -1
  749. package/widgets/TimeSlider.d.ts +11 -12
  750. package/widgets/Track.d.ts +2 -2
  751. package/widgets/UtilityNetworkAssociations.d.ts +3 -3
  752. package/widgets/UtilityNetworkTrace.d.ts +4 -4
  753. package/widgets/UtilityNetworkValidateTopology.d.ts +1 -1
  754. package/widgets/ValuePicker.d.ts +5 -5
  755. package/widgets/VideoPlayer.d.ts +1 -1
  756. package/widgets/smartMapping/ClassedColorSlider.d.ts +1 -1
  757. package/widgets/smartMapping/ClassedSizeSlider.d.ts +1 -1
  758. package/widgets/smartMapping/ColorSizeSlider.d.ts +2 -2
  759. package/widgets/smartMapping/ColorSlider.d.ts +1 -1
  760. package/widgets/smartMapping/HeatmapSlider.d.ts +1 -1
  761. package/widgets/smartMapping/OpacitySlider.d.ts +1 -1
  762. package/widgets/smartMapping/SizeSlider.d.ts +1 -1
  763. package/widgets/smartMapping/SmartMappingSliderBase.d.ts +4 -4
  764. package/widgets/smartMapping/SmartMappingSliderViewModel.d.ts +6 -6
  765. package/widgets/support/GridControls.d.ts +1 -1
  766. package/widgets/support/SketchTooltipControls.js +1 -1
  767. package/widgets/support/SnappingControls/VisibleElements.d.ts +1 -1
  768. package/widgets/support/SnappingControls.d.ts +6 -6
  769. package/assets/esri/core/workers/chunks/0baf2cf9d8998045a605.js +0 -1
  770. package/assets/esri/core/workers/chunks/0c8a676599821b9871c2.js +0 -1
  771. package/assets/esri/core/workers/chunks/0cc68540194bd9f7aa3c.js +0 -1
  772. package/assets/esri/core/workers/chunks/153a9d087e0fe7072af4.js +0 -1
  773. package/assets/esri/core/workers/chunks/15e5471277a48f482383.js +0 -1
  774. package/assets/esri/core/workers/chunks/178c91fabf4a87bbb50b.js +0 -1
  775. package/assets/esri/core/workers/chunks/1ab4289195f5e46c6fe8.js +0 -1
  776. package/assets/esri/core/workers/chunks/2216264b22a605a0f1ce.js +0 -1
  777. package/assets/esri/core/workers/chunks/22d12c309af9c19a1a48.js +0 -1
  778. package/assets/esri/core/workers/chunks/25b815ef26cf2fa26fc8.js +0 -1
  779. package/assets/esri/core/workers/chunks/2b7615cccbaeda1649f3.js +0 -1
  780. package/assets/esri/core/workers/chunks/2bb7bb7901bd343201fc.js +0 -1
  781. package/assets/esri/core/workers/chunks/2f0ea91afc9aa8ee9cad.js +0 -1
  782. package/assets/esri/core/workers/chunks/395ee51a863757ea8124.js +0 -1
  783. package/assets/esri/core/workers/chunks/3a850b5e847b6b0ea53f.js +0 -1
  784. package/assets/esri/core/workers/chunks/3d78e9b3c97c0ce21d16.js +0 -1
  785. package/assets/esri/core/workers/chunks/449cf6ae6b6e6c2795e5.js +0 -1
  786. package/assets/esri/core/workers/chunks/4550b7620932cd6de20e.js +0 -1
  787. package/assets/esri/core/workers/chunks/455fbddd814e4681f0c0.js +0 -1
  788. package/assets/esri/core/workers/chunks/4d438627dd3509f65d5a.js +0 -1
  789. package/assets/esri/core/workers/chunks/4dcd5d5ea5875a08a7c7.js +0 -1
  790. package/assets/esri/core/workers/chunks/4ef60a76eeca20bcafb1.js +0 -1
  791. package/assets/esri/core/workers/chunks/5058715f32ff026053a9.js +0 -1
  792. package/assets/esri/core/workers/chunks/5062ed46edb88c0d343c.js +0 -1
  793. package/assets/esri/core/workers/chunks/5210bde0a05ab172ab28.js +0 -1
  794. package/assets/esri/core/workers/chunks/529dbf16ffbbd39f3fa2.js +0 -1
  795. package/assets/esri/core/workers/chunks/554f389f99db430b309c.js +0 -1
  796. package/assets/esri/core/workers/chunks/56a296cb5c1ae1ea5ab2.js +0 -1
  797. package/assets/esri/core/workers/chunks/58cf3d35771b87bd74e5.js +0 -1
  798. package/assets/esri/core/workers/chunks/5fe0bed2a0a9f8eadb28.js +0 -1
  799. package/assets/esri/core/workers/chunks/652bb1b53782cdd3103c.js +0 -1
  800. package/assets/esri/core/workers/chunks/6acab23acf3b044f5215.js +0 -1
  801. package/assets/esri/core/workers/chunks/6c2a7bac3f8e32c83292.js +0 -1
  802. package/assets/esri/core/workers/chunks/6d26e5368e8952003669.js +0 -1
  803. package/assets/esri/core/workers/chunks/7595c52b1647f092c61a.js +0 -1
  804. package/assets/esri/core/workers/chunks/7b7288c431933a75daca.js +0 -1
  805. package/assets/esri/core/workers/chunks/7c01e5eaab97a9ae80ad.js +0 -1
  806. package/assets/esri/core/workers/chunks/7cb6ccee9bcef449caea.js +0 -1
  807. package/assets/esri/core/workers/chunks/8177e95596b71bf020aa.js +0 -1
  808. package/assets/esri/core/workers/chunks/879e8439a513cb333b61.js +0 -1
  809. package/assets/esri/core/workers/chunks/8c321c6bc344544ebb51.js +0 -1
  810. package/assets/esri/core/workers/chunks/90aeef17af12cfbecb36.js +0 -1
  811. package/assets/esri/core/workers/chunks/a027da22acdaa6d6baa3.js +0 -1
  812. package/assets/esri/core/workers/chunks/a6006718fe22d9f2fa87.js +0 -1
  813. package/assets/esri/core/workers/chunks/ae0a555b047b11aa68eb.js +0 -1
  814. package/assets/esri/core/workers/chunks/b0b24fb60a21b995b348.js +0 -1
  815. package/assets/esri/core/workers/chunks/b60337c471e2b855d02a.js +0 -1
  816. package/assets/esri/core/workers/chunks/b6e155b42a4a423139e7.js +0 -1
  817. package/assets/esri/core/workers/chunks/bb830d93e97dceac350f.js +0 -1
  818. package/assets/esri/core/workers/chunks/bd12ca39198e6efbefbb.js +0 -1
  819. package/assets/esri/core/workers/chunks/bd1bbf1820e12d7a27f6.js +0 -1
  820. package/assets/esri/core/workers/chunks/bf9b2aa2e67ca746ec7c.js +0 -1
  821. package/assets/esri/core/workers/chunks/c516b185b099bf69c0ed.js +0 -1
  822. package/assets/esri/core/workers/chunks/c693e8eb96ab8a4b9cbe.js +0 -1
  823. package/assets/esri/core/workers/chunks/c9067667290e93407dd7.js +0 -1
  824. package/assets/esri/core/workers/chunks/d4da3abbd3d88cd63cb9.js +0 -1
  825. package/assets/esri/core/workers/chunks/e59c5bcf91984aa5be6d.js +0 -1
  826. package/assets/esri/core/workers/chunks/e71d08c6f545c2c70174.js +0 -1
  827. package/assets/esri/core/workers/chunks/e8a7ff6210cd11d3a828.js +0 -1
  828. package/assets/esri/core/workers/chunks/eb4a2dc5efdb873a7f25.js +0 -1
  829. package/assets/esri/core/workers/chunks/ed78e19b1e400c0db309.js +0 -1
  830. package/assets/esri/core/workers/chunks/ee34f14bbfe619b85a80.js +0 -1
  831. package/assets/esri/core/workers/chunks/f0b8de5b3cfbe9223df6.js +0 -1
  832. package/assets/esri/core/workers/chunks/f347dee99faa9ee5eef1.js +0 -1
  833. package/assets/esri/core/workers/chunks/fe52117fe6982046c9e3.js +0 -1
  834. package/layers/support/GeoreferenceBase.d.ts +0 -4
  835. package/layers/support/GeoreferenceBase.js +0 -2
  836. package/widgets/BatchAttributeForm/inputs/support/textInputElementUtils.js +0 -2
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[926,6682],{563(e,t,r){r.d(t,{QueueProcessor:()=>u,SharedConcurrency:()=>d});var s=r(97768),i=r(74887),n=r(9775),o=r(32587),a=r(76030),h=r(44794);class u{constructor(e){this._schedule=null,this._deferreds=new o.A,this._controllers=new o.A,this._processingItems=new o.A,this._pausedSignal=(0,h.v)(!1),this.process=e.process,this.concurrency=e.concurrency,this.sharedConcurrency=e.sharedConcurrency??c,this._queue=new n.A(e.peeker)}destroy(){this.clear(),this._schedule=(0,s.xt)(this._schedule)}get updating(){return this.running}get length(){return this._processingItems.size+this._queue.length}get running(){return!this._pausedSignal.value&&this._queue.length>0&&!this.full}get full(){return this._processingItems.size>=this.concurrency||this.sharedConcurrency.full}abort(e){const t=this._controllers.get(e);t?.abort()}clear(){this._queue.clear();const e=Array.from(this._controllers.values());this._controllers.clear(),e.forEach(e=>e.abort()),this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear(),this._cancelNext()}forEach(e){this._deferreds.forEach((t,r)=>e(r))}_get(e){const t=this._deferreds.get(e);return t?.promise}pause(){this._pausedSignal.value||(this._pausedSignal.value=!0,this._cancelNext())}push(e,t){const r=this._get(e);if(r)return r;const s=new AbortController,n=(0,i.Tw)(),o=t?(0,i.u7)(t,()=>s.abort()):null,a=(0,i.NY)(s.signal,()=>{const t=this._processingItems.get(e);t&&t.controller.abort(),h(),n.reject((0,i.NK)())}),h=()=>{a.remove(),o?.remove(),this._removeItem(e),this._queue.remove(e),this._scheduleNext()};return this._deferreds.set(e,n),this._controllers.set(e,s),n.promise.then(h,h),this._queue.push(e),this._scheduleNext(),n.promise}last(){return this._queue.last()}reset(){const e=Array.from(this._processingItems.values());this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear();for(const t of e)this._queue.push(t.item),t.controller.abort();this._scheduleNext()}resume(){this._pausedSignal.value&&(this._pausedSignal.value=!1,this._scheduleNext())}takeAll(){const e=[];for(;this._queue.length;)e.push(this._queue.pop());return this.clear(),e}_removeItem(e){this._deferreds.delete(e),this._controllers.delete(e),this._processingItems.has(e)&&(this._processingItems.delete(e),this.sharedConcurrency.current.value-=1)}_scheduleNext(){this._pausedSignal.value||this._schedule||(this._schedule=(0,a._)(()=>{this._schedule=null,this._next()}))}_next(){for(;this._queue.length>0&&this._processingItems.size<this.concurrency&&!this.sharedConcurrency.full;)this._process(this._queue.pop())}_cancelNext(){this._schedule&&(this._schedule.remove(),this._schedule=null)}_processResult(e,t){this._canProcessFulfillment(e)&&(this._scheduleNext(),this._deferreds.get(e.item).resolve(t))}_processError(e,t){this._canProcessFulfillment(e)&&(this._scheduleNext(),this._deferreds.get(e.item).reject(t))}_canProcessFulfillment(e){return!!this._deferreds.get(e.item)&&this._processingItems.get(e.item)===e}_process(e){if(null==e)return;let t;const r=new AbortController,s=new l(e,r);this._processingItems.set(e,s),this.sharedConcurrency.current.value+=1;try{t=this.process(e,r.signal)}catch(e){this._processError(s,e)}(0,i.$X)(t)?(s.promise=t,t.then(e=>this._processResult(s,e),e=>this._processError(s,e))):this._processResult(s,t)}}class l{constructor(e,t){this.item=e,this.controller=t,this.promise=null}}class d{constructor(e){this.limit=e,this.current=(0,h.v)(0)}get full(){return this.current.value>=this.limit}}const c=new d(1/0)},926(e,t,r){r.d(t,{Dd:()=>c,Jn:()=>_,Qc:()=>p,getApiKey:()=>l,getSessionToken:()=>d});var s=r(92602),i=r(11254),n=r(84952);const o=/^https?:\/\/(i?basemaps|basemapstyles)-api\.arcgis\.com\//i,a=new Set(["elevation3d.arcgis.com","js.arcgis.com","jsdev.arcgis.com","jsqa.arcgis.com","static.arcgis.com"]),h=new Map;let u=null;function l(e){if(!p(e))return null;const t=t=>t instanceof RegExp?t.test(e):"string"==typeof t&&e.startsWith(t),r=s.A.apiKeys;if(Array.isArray(r.scopes))for(const e of r.scopes)if(Array.isArray(e.urls)){if(e.urls.some(t))return e.token}else if(t(e.urls))return e.token;return r.basemapStyles&&o.test(e)?r.basemapStyles:s.A.apiKey&&/^https?:\/\/.+\.arcgis\.com(\/|$)/i.test(e)?s.A.apiKey:null}async function d(e){if(!s.A.sessions?.basemap?.enabled||!o.test(e))return null;const t=l(e);if(!t)return null;u&&await u;const{styleFamily:r="arcgis",autoRefresh:n,duration:a=43200}=s.A.sessions.basemap,d=`${t}:${r}`,c=h.get(d);if(c&&(!n||c.endTime>Date.now()))return c.sessionToken;let _;u=(0,i.A)("https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/sessions/start",{cacheBust:!0,query:{durationSeconds:a,styleFamily:r,token:t}});try{_=(await u).data,_.endTime-=5e3,h.set(d,_)}finally{u=null}return _.sessionToken}function c(){return null!=s.A.apiKey||null!=s.A.apiKeys.basemapStyles}function _(e,t){return t?p(e):null!=l(e)}function p(e){const t=(0,n.$z)(e,!0);return!!t&&!a.has(t)&&!e.endsWith("/sharing/rest/generateToken")}},2272(e,t,r){r.d(t,{Dl:()=>u,gf:()=>d,jV:()=>h,lF:()=>l});var s=r(92602),i=r(70333),n=r(4718),o=r(84952),a=r(926);function h(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,o.An)(e):(0,n.o8)(e)}function l(e,t,r){const s={};for(const i in e){if("declaredClass"===i)continue;const n=e[i];if(null!=n&&"function"!=typeof n)if(Array.isArray(n))s[i]=n.map(e=>l(e));else if("object"==typeof n)if(n.toJSON){const e=n.toJSON(r?.[i]);s[i]=t?e:JSON.stringify(e)}else s[i]=t?n:JSON.stringify(n);else s[i]=n}return s}async function d(e,t,n){const o=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??i.id?.findCredential(e)?.token:null}(e,t);if(o)return o;!i.id&&s.A.request.useIdentity&&await Promise.all([r.e(7632),r.e(7780),r.e(148)]).then(r.bind(r,50148));const h=await i.id.getCredential(e,n);return h?.token}},5162(e,t,r){r.d(t,{HJ:()=>o,Im:()=>l,KN:()=>h});var s=r(39516),i=r(70300),n=r(8446);class o{static async create(e){const{metadata:t,definitionExpression:r}=e,i=r?await(0,s.GP)(r,t.fieldsIndex):null;return new o(t,i,r)}constructor(e,t,r){this.metadata=e,this._clause=t,this._definitionExpression=r}get hash(){return this._definitionExpression}testFeature(e){return null==this._clause||this._clause.testFeature(e)}}class a{constructor(){this.modified=new Map,this.removed=new Set}modify(e){this.modified.set(e.objectId,e),this.removed.has(e.objectId)&&this.removed.delete(e.objectId)}remove(e){this.modified.delete(e),this.removed.add(e)}get isEmpty(){return 0===this.modified.size&&0===this.removed.size}applyWhereClause(e){const t=new a;for(const[r,s]of this.modified)e.testFeature(s)?t.modified.set(r,s):t.removed.add(s.objectId);for(const e of this.removed)t.removed.add(e);return t}}class h extends i.K{constructor(e){super(),this._reader=e,this.chunkId="override",this.normalizedChunkId="override"}static fromFeatures(e,t){const r=n.K.fromOptimizedFeatures(e,t);return new h(r)}get reader(){return this._reader}get queryInfo(){return{}}get first(){return!1}get end(){return!1}get isTiled(){return!1}getTileReader(e){if(!this._reader.getSize())return null;const t=this.queryFeaturesInBounds(e.bounds);return t.setTransformForDisplay(e.transform),t}}class u{constructor(e,t){this.inner=e,this.isWeak=t,this.lastWeak=null}get isStrong(){return!this.isWeak}}class l{constructor(e){this._parameters=e,this._overrides=new Map,this._update=new a,this._lastCleanup=0}update(e){this._parameters=e}hasOverride(e){return this._overrides.has(e)}onChunkInsert(e){if(this._overrides.size){const t=e.reader.getCursor();for(;t.next();){const e=t.getObjectId(),r=this._overrides.get(e);if(r?.lastWeak&&(r.lastWeak=null),r?.isWeak){const e=t.readOptimizedFeatureWorldSpace(),s=r.inner?.attributes??{};e.attributes={...s,...e.attributes},r.inner=e,this._update.modify(e),this.invalidate()}}}e.registerOverrides(this)}apply(e,t){const{updateWeak:r,removeWeak:s,update:i,remove:n,release:o}=e.commands;this.invalidate();for(const e of r){const t=new u(e,!0),r=this._overrides.get(e.objectId);r?.isStrong?r.lastWeak=t:(this._overrides.set(e.objectId,t),this._update.modify(e))}for(const e of i){const t=new u(e,!1),r=this._overrides.get(e.objectId);t.lastWeak=r?.isWeak?r:r?.lastWeak??null,this._overrides.set(e.objectId,t),this._update.modify(e)}for(const e of s){const t=new u(null,!0),r=this._overrides.get(e);r?.isStrong?r.lastWeak=t:(this._overrides.set(e,t),this._update.remove(e))}for(const e of n){const t=new u(null,!1),r=this._overrides.get(e);t.lastWeak=r?.isWeak?r:r?.lastWeak??null,this._overrides.set(e,t),this._update.remove(e)}if(o.length){const e=new Set;for(const t of o){const r=this._overrides.get(t);r?.lastWeak?(this._overrides.set(t,r.lastWeak),null==r.lastWeak.inner?this._update.remove(t):this._update.modify(r.lastWeak.inner)):r&&!r.isWeak&&(this._overrides.delete(t),e.add(t))}t.forEachUnsafe(t=>{const r=t.getObjectId();e.has(r)&&(this._update.modify(t.readOptimizedFeatureWorldSpace()),e.delete(r))});for(const t of e.values())this._update.remove(t)}}clearWeakOverrides(){for(const[e,t]of this._overrides.entries())t.isWeak&&this._overrides.delete(e);this.invalidate()}cleanup(e){if(this._overrides.size<1e4)return;const t=performance.now();if(t-this._lastCleanup<1e3)return;this._lastCleanup=t;const r=this._getWeakDeletions();if(!(r.size<1e4)){for(const t of e){const e=t.reader.withoutOverrides().getCursor();for(;e.next();){const t=e.getObjectId();r.delete(t)}}for(const e of r)this._overrides.delete(e);r.size&&this.invalidate()}}takeOverrideUpdate(){const e=this._update;return e.isEmpty?null:(this._update=new a,e.applyWhereClause(this._parameters))}asChunk(){const e=this._parameters;if(this._lastOverrideParametersHash!==e.hash&&(this._lastOverrideParametersHash=e.hash,this._chunk=null),!this._chunk){const t=[];for(const r of this._overrides.values())null!=r.inner&&e.testFeature(r.inner)&&t.push(r.inner);this._chunk=h.fromFeatures(t,e.metadata)}return this._chunk}invalidate(){this._chunk=null}putWeakObjectIdsFromGlobalIds(e,t,r){for(const[s,i]of this._overrides.entries()){if(i.isWeak&&null!=i.inner){const n=i.inner.attributes[r];n&&t.has(n)&&!e.has(n)&&e.set(n,s);continue}if(null!=i.lastWeak&&null!=i.lastWeak.inner){const n=i.lastWeak.inner.attributes[r];n&&t.has(n)&&!e.has(n)&&e.set(n,s)}}}_getWeakDeletions(){const e=new Set;for(const[t,r]of this._overrides.entries())r.isWeak&&null==r.inner&&e.add(t);return e}}},8446(e,t,r){r.d(t,{K:()=>a});var s=r(90708),i=r(43334),n=r(95466),o=r(99996);class a extends o.Y{static fromFeatures(e,t){const{geometryType:r}=t,i=(0,s.Di)([],e,r,!1,!1,t.featureIdInfo);for(let t=0;t<i.length;t++)i[t].displayId=e[t].displayId;return a.fromOptimizedFeatures(i,t)}static fromFeatureSet(e,t){const r=(0,s.q3)(e,t.featureIdInfo);return a.fromOptimizedFeatureSet(r,t)}static fromOptimizedFeatureSet(e,t){const r=a.fromOptimizedFeatures(e.features,t);return r._exceededTransferLimit=e.exceededTransferLimit,r._transform=e.transform,r._fieldsIndex=new n.A(e.fields),r}static fromOptimizedFeatures(e,t,r){const s=new a(e,t);return s._fieldsIndex=t.fieldsIndex,s._transform=r,s}static empty(e){return new a([],e)}constructor(e,t){super(t),this._featureIndex=-1,this._exceededTransferLimit=!1,this._fieldsIndex=null,this._geometryType=t.geometryType,this._features=e}get fields(){return this._fieldsIndex}get geometryType(){return this._geometryType}get hasFeatures(){return!!this._features.length}get hasNext(){return this._featureIndex+1<this._features.length}get exceededTransferLimit(){return this._exceededTransferLimit}get hasZ(){return!1}get hasM(){return!1}get _current(){return this._features[this._featureIndex]}get usedMemory(){return this._current.usedMemory}getSize(){return this._features.length}getCursor(){return this.copy()}getInTransform(){return this._transform}getAttributeHash(){let e="";for(const t in this._current.attributes)e+=this._current.attributes[t];return e}getIndex(){return this._featureIndex}setIndex(e){this._featureIndex=e}getObjectId(){return this._current?.objectId}getDisplayId(){return this._current.displayId}setDisplayId(e){this._current.displayId=e}copy(){const e=new a(this._features,this.metadata);return this.copyInto(e),e}next(){for(;++this._featureIndex<this._features.length&&!this._getExists(););return this._featureIndex<this._features.length}readGeometryArea(){return(0,i.N3)(this._current)?(0,s.Rk)(this._current.geometry,2):0}_readX(){return(0,i.N3)(this._current)?this._current.geometry.coords[0]:0}_readY(){return(0,i.N3)(this._current)?this._current.geometry.coords[1]:0}_readGeometry(){return(0,i.N3)(this._current)?this._current.geometry??null:null}_readServerCentroid(){return this._current.centroid}_readAttribute(e,t){if(!this._fieldsIndex){const t=this._current.attributes[e];if(void 0!==t)return t;const r=e.toLowerCase();for(const e in this._current.attributes)if(e.toLowerCase()===r)return this._current.attributes[e];return}const r=this._fieldsIndex.get(e);if(!r)return;const s=this._current.attributes[r.name];return null==s?s:t&&this.fields.isDateField(e)?new Date(s):s}_readAttributes(){return this._current.attributes}copyInto(e){super.copyInto(e),e._featureIndex=this._featureIndex,e._transform=this._transform,e._fieldsIndex=this._fieldsIndex}}},8631(e,t,r){r.d(t,{r:()=>c,g:()=>d});var s,i=r(53177),n=r(76357),o=r(5482),a=r(91429),h=r(93223);let u=class extends n.A{static{s=this}constructor(e){super(e),this.type="inherited"}clone(){return new s}};(0,o.Cg)([(0,h.e)({inherited:"inherited"})],u.prototype,"type",void 0),u=s=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],u);var l=r(41628);const d={key:"type",base:n.A,typeMap:{range:l.A,"coded-value":i.A,inherited:u}};function c(e){if(!e?.type)return null;switch(e.type){case"range":return l.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return u.fromJSON(e)}return null}},9012(e,t,r){function s(e,{timeZone:t,timeExtent:r}){return{$view:{scale:e,timeZone:t,timeProperties:{currentStart:r?.start,currentEnd:r?.end}}}}r.d(t,{N:()=>s})},16630(e,t,r){r.d(t,{s:()=>l}),r(44208);var s=r(69397),i=r(92722),n=r(17754),o=r(57733),a=r(99996);let h;const u=new TextDecoder;class l extends a.Y{constructor(e,t,r,i,n=new Uint32Array(r.size())){super(e),this._indexMap=t,this._inner=r,this._fileId=i,this._displayIds=n,this._index=-1,this.usedMemory=s.qK,this._size=this._inner.size(),e.featureIdInfo.type}destroy(){super.destroy(),this._inner.free()}get fields(){return this.metadata.fieldsIndex}get geometryType(){return this.metadata.geometryType}get hasFeatures(){return!0}get hasNext(){throw new Error("Method not implemented.")}get exceededTransferLimit(){return!1}get hasZ(){return!1}get hasM(){return!1}async updateFields(e,t,r,s){const i=this._inner.rowGroup(),n=new Uint32Array(this._inner.readIdsUnsafe()),o=await e.createPatch(t,i,n,r,s);this._inner.insertPatchBytes(new Uint8Array(o))}getInTransform(){return null}getSize(){return this._size}getCursor(){return this.copy()}getAttributeHash(){let e="";for(const t of this.fields.fields)e+=this._readAttribute(t.name,!1)+".";return e}getObjectId(){return(0,n.xb)(this._fileId,this._inner.rowId(this._index))}getDisplayId(){return this._displayIds[this._index]}setDisplayId(e){this._displayIds[this._index]=e}setIndex(e){this._index=e}getBoundsXMin(){return this._inner.boundsXMin(this._index)}getBoundsYMin(){return this._inner.boundsYMin(this._index)}getBoundsXMax(){return this._inner.boundsXMax(this._index)}getBoundsYMax(){return this._inner.boundsYMax(this._index)}setBoundsXMin(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsYMin(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsXMax(e){throw new Error("InternalError: Setting bounds is unsupported")}setBoundsYMax(e){throw new Error("InternalError: Setting bounds is unsupported")}getIndex(){return this._index}next(){for(;++this._index<this._size&&!this._getExists(););return this._index<this._size}readGeometryArea(){return this.readGeometryForDisplay()?.area()??0}copy(){const e=new l(this.metadata,this._indexMap,this._inner,this._fileId,this._displayIds);return this.copyInto(e),e}copyInto(e){super.copyInto(e),e._index=this._index}readGeometryForDisplayTransformed(e){const[t,r]=e.translate,[s,n]=e.scale;return h||(h=o.QuantizedGeometryBuffer.new()),this._inner.transformGeometry(h,t,r,s,n,this._index)?new i.A(h.readLengthsUnsafe(),h.readCoordsUnsafe(),this.hasZ,this.hasM):null}_readGeometry(e){const t=this._inner.readCoordsUnsafe(this._index),r=this._inner.readLengthsUnsafe(this._index);return t&&r?new i.A(r,t,this.hasZ,this.hasM):null}_readX(){return this._inner.readX(this._index)}_readY(){return this._inner.readY(this._index)}_readServerCentroid(){return null}_readAttribute(e,t){const r=this.fields.get(e);if(!r)return;const s=this._indexMap[r.name];if(null==s)return this.getObjectId();const i=this._inner.readAttribute(this._index,s);if(null==i)return i;if("esriFieldTypeString"===r.type||"esriFieldTypeDateOnly"===r.type||"esriFieldTypeTimeOnly"===r.type||"esriFieldTypeTimestampOffset"===r.type){const e=this._inner.readAttribute(this._index,s);return u.decode(e)}const n=this.fields.isDateField(r.name);return t?null==i?i:n?new Date(i):i:i}_readAttributes(){const e={};for(const t of this.metadata.fieldsIndex.fields){if(null==this._indexMap[t.name])continue;const r=this._readAttribute(t.name,!1);void 0!==r&&(e[t.name]=r)}return e.__OBJECTID=this.getObjectId(),e}}},17754(e,t,r){function s(e){return e>>>24&255}function i(e){return 16777215&e}function n(e,t){return e<<24|t}r.d(t,{gE:()=>i,wY:()=>s,xb:()=>n})},20437(e,t,r){r.d(t,{A:()=>p});var s,i=r(5482),n=r(66552),o=r(25482),a=r(91429),h=r(56507),u=r(8631),l=r(98453),d=r(36005),c=r(93223);const _=new n.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier"});let p=class extends o.o{static{s=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?_.fromJSON(r.fieldValueType):null}clone(){return new s({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],p.prototype,"defaultValue",void 0),(0,i.Cg)([(0,a.MZ)()],p.prototype,"description",void 0),(0,i.Cg)([(0,d.w)("description")],p.prototype,"readDescription",null),(0,i.Cg)([(0,a.MZ)({types:u.g,json:{read:{reader:u.r},write:!0}})],p.prototype,"domain",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],p.prototype,"editable",void 0),(0,i.Cg)([(0,a.MZ)({type:h.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],p.prototype,"length",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],p.prototype,"nullable",void 0),(0,i.Cg)([(0,c.e)(l.m)],p.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)()],p.prototype,"valueType",void 0),(0,i.Cg)([(0,d.w)("valueType",["description"])],p.prototype,"readValueType",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],p.prototype,"visible",void 0),p=s=(0,i.Cg)([(0,a.$K)("esri.layers.support.Field")],p)},28923(e,t,r){r.d(t,{j:()=>i});var s=r(70300);class i extends s.K{constructor(e,t,r,s,i=0){super(),this._reader=e,this._queryJSON=t,this._page=r,this._end=s,this.fileIndex=i,this.chunkId=`${this.fileIndex}.${this._page}${this.end?"e":""}`,this.normalizedChunkId=this.chunkId}get reader(){return this._reader}get first(){return 0===this._page}get end(){return this._end}get queryInfo(){return{type:"snapshot",chunkId:this.chunkId,queryJSON:this._queryJSON,page:this._page,size:this.size(),end:this.end}}get isTiled(){return!1}getTileReader(e){const t=this.queryFeaturesInBounds(e.bounds);return t.setTransformForDisplay(e.transform),t}}},30661(e,t,r){r.d(t,{Z:()=>n});var s=r(43334),i=r(8446);class n{static{this.Shared=new n}getObjectId(e){return e.getObjectId()}getAttributes(e){return e.readAttributes()}getAttribute(e,t){return e.readAttribute(t)}getAttributeAsTimestamp(e,t){return e.readAttributeAsTimestamp(t)}cloneWithGeometry(e,t,r){const n=e.readAttributes(),o=new s.Om(t,n,null,e.getObjectId(),e.getDisplayId()),a=i.K.fromOptimizedFeatures([o],e.metadata);return a.setIndex(0),a}getGeometry(e){return e.readGeometryWorldSpace()}getCentroid(e,t){return e.readCentroidForDisplay()}}},32011(e,t,r){r.d(t,{d:()=>h});var s=r(19419),i=r(537),n=r(12359),o=r(95108),a=r(12176);function h(e){if(0===e.totalSize)return null;const t=(0,i.z8)(e);if(!t)return null;const r=4*(Math.abs(t[0])+Math.abs(t[2])+Math.abs(t[1])+Math.abs(t[3])+1)*222045e-19;let o=0,a=0;e.reset();for(let t=0;e.nextPath();t++){const r=e.getCurrentRingArea();r>a&&(a=r,o=t)}if(e.seekPath(o),0===e.pathSize)return null;e.seekPathStart();const h=(0,i.B$)(e);if(Math.abs(a)<=2*r*r)return[(h[0]+h[2])/2,(h[1]+h[3])/2];e.seekPathStart();const c=(0,n.w2)(e,(0,s.vt)());if(null===c)return null;if(e.totalPoints<4)return c;const _=[[NaN,NaN],[NaN,NaN],[NaN,NaN],[NaN,NaN]],p=[NaN,NaN,NaN,NaN],g=[NaN,NaN,NaN,NaN];let x=!1,v=l(c,e,!0);0===v.distance&&(x=!0,_[0][0]=c[0],_[0][1]=c[1],v=l(c,e,!1)),p[0]=v.distance,g[0]=0;const I=[NaN,NaN];let b=!1,T=.25,w=-1,S=NaN;do{if(S=NaN,_[1]=d(e,f(h[0],h[2],T),0,t),isNaN(_[1][0])||isNaN(_[1][1])||(v=l(_[1],e,!1),S=v.distance),!isNaN(S)&&S>r&&u(_[1],e))b=!0,p[1]=S,g[1]=m(_[1],c);else if(!isNaN(S)&&S>w&&(w=S,I[0]=_[1][0],I[1]=_[1][1]),T-=.01,T<.1){if(!(w>=0))break;b=!0,p[1]=w,_[1][0]=I[0],_[1][1]=I[1],g[1]=m(_[1],c)}}while(!b);b=!1,T=.5,w=-1;let M=.01,A=1;do{if(S=NaN,_[2]=d(e,f(h[0],h[2],T),0,t),isNaN(_[2][0])||isNaN(_[2][1])||(v=l(_[2],e,!1),S=v.distance),!isNaN(S)&&S>r&&u(_[2],e))b=!0,p[2]=S,g[2]=m(_[2],c);else if(!isNaN(S)&&S>w)w=S,I[0]=_[2][0],I[1]=_[2][1];else if(S>w&&(w=S,I[0]=_[2][0],I[1]=_[2][1]),T=.5+M*A,M+=.01,A*=-1,T<.3||T>.7){if(!(w>=0))break;b=!0,p[2]=w,_[2][0]=I[0],_[2][1]=I[1],g[2]=m(_[2],c)}}while(!b);b=!1,T=.75,w=-1;do{if(S=NaN,_[3]=d(e,f(h[0],h[2],T),0,t),isNaN(_[3][0])||isNaN(_[3][1])||(v=l(_[3],e,!1),S=v.distance),!isNaN(S)&&S>r&&u(_[3],e))b=!0,p[3]=S,g[3]=m(_[3],c);else if(S>w&&(w=S,I[0]=_[3][0],I[1]=_[3][1]),T+=.01,T>.9){if(!(w>=0))break;b=!0,p[3]=w,_[3][0]=I[0],_[3][1]=I[1],g[3]=m(_[3],c)}}while(!b);const F=[0,1,2,3],C=x?0:1;let P;for(let e=C;e<4;e++)for(let e=C;e<3;e++){const t=g[e],r=g[e+1];y(t,r)>0&&(P=F[e],F[e]=F[e+1],F[e+1]=P,g[e]=r,g[e+1]=t)}let O=C,N=0,k=0;for(let e=C;e<4;e++){switch(e){case 0:k=2*p[F[e]];break;case 1:k=1.66666666*p[F[e]];break;case 2:k=1.33333333*p[F[e]];break;case 3:k=p[F[e]]}k>N&&(N=k,O=F[e])}return _[O]}function u(e,t){let r,s,i,n,o=0;for(t.reset();t.nextPath()&&t.nextPoint();)for(r=t.x,s=t.y;t.nextPoint();r=i,s=n)i=t.x,n=t.y,s>e[1]!=n>e[1]&&((i-r)*(e[1]-s)-(n-s)*(e[0]-r)>0?o++:o--);return 0!==o}function l(e,t,r){if(r&&u(e,t))return{coord:e,distance:0};let s=1/0,i=0,n=0,a=[0,0],h=[0,0];const l=[0,0];for(t.reset();t.nextPath()&&t.nextPoint();)if(!(t.pathSize<2))for(a[0]=t.x,a[1]=t.y;t.nextPoint();a=h){h=[t.x,t.y],(0,o.gR)(l,e,a,h);const r=m(e,l);r<s&&(s=r,i=l[0],n=l[1])}return{coord:[i,n],distance:Math.sqrt(s)}}function d(e,t,r,i){const n=[t,0];let o=1/0,h=1/0,u=!1,l=!1;const d=[[t,i[1]-1],[t,i[3]+1]],p=[0,0],f=[0,0],m=[0,0],y=[[0,0],[0,0]],g=(0,s.vt)();for(e.reset();e.nextPath()&&e.nextPoint();)if(!(e.pathSize<2))for(y[0][0]=e.x,y[0][1]=e.y;e.nextPoint();y[0][0]=y[1][0],y[0][1]=y[1][1]){if(y[1][0]=e.x,y[1][1]=e.y,null===c(g,y))continue;if(f[0]=d[0][0],f[1]=d[0][1],m[0]=d[1][0],m[1]=d[1][1],0===_(g,f,m))continue;if(!(0,a.Ql)(d[0],d[1],y[0],y[1],p))continue;const t=p[1];o>h?t<o&&(o=t,u=!0):t<h&&(h=t,l=!0)}return u&&l?n[1]=(o+h)/2:n[0]=n[1]=NaN,n}function c(e,t){if(t.length<2)return null;e||(e=(0,s.vt)());const[r,i]=t[0],[n,o]=t[1];return e[0]=Math.min(r,n),e[1]=Math.min(i,o),e[2]=Math.max(r,n),e[3]=Math.max(i,o),e}function _(e,t,r){let s=p(t,e),i=p(r,e);const n=e[0],o=e[1],a=e[2],h=e[3];if(s&i)return 0;if(!(s|i))return 4;const u=(s?1:0)|(i?2:0);do{const u=r[0]-t[0],l=r[1]-t[1];if(u>l)3&s?(1&s?(t[1]+=l*(n-t[0])/u,t[0]=n):(t[1]+=l*(a-t[0])/u,t[0]=a),s=p(t,e)):3&i?(1&i?(r[1]+=l*(n-r[0])/u,r[0]=n):(r[1]+=l*(a-r[0])/u,r[0]=a),i=p(r,e)):s?(4&s?(t[0]+=u*(o-t[1])/l,t[1]=o):(t[0]+=u*(h-t[1])/l,t[1]=h),s=p(t,e)):(4&i?(r[0]+=u*(o-r[1])/l,r[1]=o):(r[0]+=u*(h-r[1])/l,r[1]=h),i=p(r,e));else if(12&s?(4&s?(t[0]+=u*(o-t[1])/l,t[1]=o):(t[0]+=u*(h-t[1])/l,t[1]=h),s=p(t,e)):12&i?(4&i?(r[0]+=u*(o-r[1])/l,r[1]=o):(r[0]+=u*(h-r[1])/l,r[1]=h),i=p(r,e)):s?(1&s?(t[1]+=l*(n-t[0])/u,t[0]=n):(t[1]+=l*(a-t[0])/u,t[0]=a),s=p(t,e)):(1&i?(r[1]+=l*(n-r[0])/u,r[0]=n):(r[1]+=l*(a-r[0])/u,r[0]=a),i=p(r,e)),s&i)return 0}while(s|i);return u}function p(e,t){return(e[0]<t[0]?1:0)|(e[0]>t[2]?1:0)<<1|(e[1]<t[1]?1:0)<<2|(e[1]>t[3]?1:0)<<3}function f(e,t,r){return e+(t-e)*r}function m(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}function y(e,t){if(e<t)return-1;if(e>t)return 1;if(e===t)return 0;const r=isNaN(e),s=isNaN(t);return r<s?-1:r>s?1:0}},32587(e,t,r){r.d(t,{A:()=>n});var s=r(62788),i=r(95488);class n{constructor(e){this._observable=new i.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(e)}get size(){return(0,s.gc)(this._observable),this._map.size}batch(e){try{this._batchDepth++,e()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(e){const t=this._map.delete(e);return t&&this._notify(),t}entries(){return(0,s.gc)(this._observable),this._map.entries()}forEach(e,t){(0,s.gc)(this._observable),this._map.forEach((r,s)=>e.call(t,r,s,this),t)}get(e){return(0,s.gc)(this._observable),this._map.get(e)}has(e){return(0,s.gc)(this._observable),this._map.has(e)}keys(){return(0,s.gc)(this._observable),this._map.keys()}set(e,t){return this._map.set(e,t),this._notify(),this}transformValues(e,t=this._map.keys()){this.batch(()=>{for(const r of t){if(!this._map.has(r))continue;const t=this._map.get(r),s=e(t,r);s!==t&&this.set(r,s)}})}values(){return(0,s.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,s.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},35258(e,t,r){r.d(t,{i:()=>n});var s=r(16930),i=r(95466);class n{static minimal(e,t,r=[]){return new n({geometryType:e,fieldsIndex:new i.A(r).toJSON(),featureIdInfo:{type:"object-id",fieldName:t},subtypes:null,subtypeField:null,types:null,globalIdField:null,spatialReference:null,outSpatialReference:null,timeInfo:null,timeReferenceUnknownClient:null,dateFieldsTimeZone:null,typeIdField:null})}static createFeature(e){return new n(e)}constructor(e){let t;this._options=e,this._fieldsIndex=i.A.fromJSON(e.fieldsIndex),e.spatialReference&&(e.spatialReference instanceof s.A?this._spatialReference=e.spatialReference:this._spatialReference=s.A.fromJSON(e.spatialReference)),e.outSpatialReference&&(e.outSpatialReference instanceof s.A?this._outSpatialReference=e.outSpatialReference:this._outSpatialReference=s.A.fromJSON(e.outSpatialReference)),"object-id"===e.featureIdInfo.type&&(t=e.featureIdInfo.fieldName),this._arcadeSchema={fields:this.fieldsIndex.fields,fieldsIndex:this.fieldsIndex,geometryType:this.geometryType,objectIdField:t,globalIdField:this._options.globalIdField,spatialReference:this._spatialReference,timeInfo:this._options.timeInfo,typeIdField:this._options.typeIdField??void 0,types:this._options.types??void 0,subtypeField:this._options.subtypeField,subtypes:this._options.subtypes??void 0,datesInUnknownTimezone:this._options.timeReferenceUnknownClient??void 0,dateFieldsTimeZone:this._options.dateFieldsTimeZone??void 0}}get fieldsIndex(){return this._fieldsIndex}get geometryType(){return"esriGeometryMultiPatch"===this._options.geometryType?"esriGeometryPolygon":this._options.geometryType}get serviceGeometryType(){return this._options.geometryType}get subtypeField(){return this._options.subtypeField}get timeInfo(){return this._options.timeInfo}get featureIdInfo(){return this._options.featureIdInfo}get globalIdField(){return this._options.globalIdField}get arcadeSchema(){return this._arcadeSchema}get spatialReference(){return this._spatialReference}get outSpatialReference(){return this._outSpatialReference}get timeReferenceUnknownClient(){return this._options.timeReferenceUnknownClient}weakCloneWithAdditionalFields(e){return new n({fieldsIndex:{fields:[...this._fieldsIndex.fields,...e],timeZoneByFieldName:null},geometryType:this.geometryType,globalIdField:this.globalIdField,featureIdInfo:this.featureIdInfo,spatialReference:this.spatialReference,outSpatialReference:this.outSpatialReference,subtypeField:this.subtypeField,subtypes:this._options.subtypes,timeInfo:this.timeInfo,timeReferenceUnknownClient:this.timeReferenceUnknownClient,dateFieldsTimeZone:this._options.dateFieldsTimeZone,typeIdField:this._options.typeIdField,types:this._options.types})}}},36708(e,t,r){r.d(t,{C_:()=>c,OH:()=>f,Vh:()=>m,on:()=>d,pc:()=>y,wB:()=>h,z7:()=>u});var s=r(37955),i=r(36563),n=r(97768),o=r(74887),a=r(14012);function h(e,t,r={}){return l(e,t,r,_)}function u(e,t,r={}){return l(e,t,r,p)}function l(e,t,r={},s){let i=null;const o=r.once?(e,r)=>{s(e)&&((0,n.xt)(i),t(e,r))}:(e,r)=>{s(e)&&t(e,r)};if(i=(0,a.Cn)(e,o,r.sync,r.equals),r.initial){const t=e();o(t,t)}return i}function d(e,t,r,o={}){let a=null,u=null,l=null;function d(){a&&u&&(u.remove(),o.onListenerRemove?.(a),a=null,u=null)}function c(e){o.once&&o.once&&(0,n.xt)(l),r(e)}const _=h(e,(e,r)=>{d(),(0,s.wb)(e)&&(a=e,u=(0,s.on)(e,t,c),o.onListenerAdd?.(e))},{sync:o.sync,initial:!0});return l=(0,i.hA)(()=>{_.remove(),d()}),l}function c(e,t){return function(e,t,r){if((0,o.G4)(r))return Promise.reject((0,o.NK)());const s=e();if(t?.(s))return Promise.resolve(s);let a=null;function h(){a=(0,n.xt)(a)}return new Promise((s,n)=>{a=(0,i.vE)([(0,o.u7)(r,()=>{h(),n((0,o.NK)())}),l(e,e=>{h(),s(e)},{sync:!1,once:!0},t??_)])})}(e,p,t)}function _(e){return!0}function p(e){return!!e}r(80559);const f={sync:!0},m={initial:!0},y={sync:!0,initial:!0}},36745(e,t,r){r.d(t,{z:()=>a});var s=r(4718),i=r(51118),n=r(60408),o=r(92722);class a{static fromOptimized(e,t,r=1){return(new h).initialize(e,t,r)}static fromJSON(e){const[t,r]=l(e),s=(0,n.Pv)(e),i=(0,n.W0)(e);return(new d).initialize(t,r,s,i,1)}static fromOptimizedCIM(e,t,r=1){return(new c).initialize(e,t,r)}static fromJSONCIM(e,t=1){const[r,s]=l(e),i=(0,n.Pv)(e),o=(0,n.W0)(e);return(new _).initialize(r,s,i,o,t)}static fromFeatureSetReader(e){const t=e.readGeometryForDisplay(),r=e.geometryType;return t&&r?this.fromOptimized(t,r):null}static fromFeatureSetReaderCIM(e){const t=e.readGeometryForDisplay(),r=e.geometryType;return t&&r?this.fromOptimizedCIM(t,r):null}static createEmptyOptimized(e,t=!1,r=!1,s=1){return(new c).initialize(new o.A([],[],t,r),e,s)}static createEmptyJSON(e,t=!1,r=!1){return(new d).initialize([],e,t,r,1)}static createEmptyOptimizedCIM(e,t=!1,r=!1,s=1){return(new c).initialize(new o.A([],[],t,r),e,s)}static createEmptyJSONCIM(e,t=!1,r=!1,s=1){return(new _).initialize([],e,t,r,s)}asJSON(){const e=(0,i.x)(this),{hasZ:t,hasM:r}=this;return"esriGeometryEnvelope"===this.geometryType?{xmin:e[0][0][0],ymin:e[0][0][1],xmax:e[0][2][0],ymax:e[0][2][1]}:"esriGeometryMultipoint"===this.geometryType?{points:e.flat(),hasZ:t,hasM:r}:"esriGeometryPoint"===this.geometryType?{x:e[0][0][0],y:e[0][0][1],z:t?e[0][0][2]:void 0,m:r?e[0][0][t?3:2]:void 0}:"esriGeometryPolygon"===this.geometryType?{rings:e,hasZ:t,hasM:r}:{paths:e,hasZ:t,hasM:r}}getCurrentRingArea(){if(this.pathSize<3)return 0;let e,t,r=0;if(this.seekPathStart(),!this.nextPoint())return 0;e=this.x,t=this.y;const s=e,i=t;for(;this.nextPoint();)r+=(e-this.x)*(t+this.y),e=this.x,t=this.y;return r+=(e-s)*(t+i),-.5*r}invertY(){this.yFactor*=-1}}class h extends a{constructor(){super(...arguments),this._end=-1}get hasZ(){return this._geometry?.hasZ}get hasM(){return this._geometry?.hasM}initialize(e,t,r){return this.geometryType=t,this._stride=e.stride,this._geometry=e,this._pathIndex=-1,this._pathOffset=0,this._pointOffset=-this._stride,this._end=-1,this.yFactor=r,this}reset(){this.initialize(this._geometry,this.geometryType,this.yFactor)}seekPath(e){if(e>=0&&e<this.totalSize){if(this._pathIndex<e)for(;this._pathIndex<e&&this.nextPath(););else if(this._pathIndex>e)for(;this._pathIndex>e&&this.prevPath(););return!0}return!1}seekPathStart(){this._pointOffset=this._pathOffset-this._stride}seekPathEnd(){this._pointOffset=this._end}seekInPath(e){const t=this._pathOffset+e*this._stride;return t>=0&&t<this._end&&(this._pointOffset=t,!0)}nextPoint(){return(this._pointOffset+=this._stride)<this._end}prevPoint(){return(this._pointOffset-=this._stride)>=this._pathOffset}nextPath(){return!(this.pathIndex>=this.totalSize-1||(this._pathIndex>=0&&(this._pathOffset+=this._stride*this.pathSize),this._pathIndex++,this._pointOffset=this._pathOffset-this._stride,this._end=this._pointOffset+this._stride+this._stride*this.pathSize,0))}prevPath(){return!(this.pathIndex<=0||(this._pathIndex--,this._end=this._pathOffset,this._pathOffset-=this._stride*this.pathSize,this._pointOffset=this._pathOffset-this._stride,0))}getCurrentPath(){const e=this._end,t=this._geometry.coords,r=this._pathOffset;return(new h).initialize(new o.A([this.pathSize],t.slice(r,e),this.hasZ,this.hasM),this.geometryType,this.yFactor)}pathLength(){const e=this._end,t=this._stride,r=this._geometry.coords;let s=0;for(let i=this._pathOffset+t;i<e;i+=t){const e=r[i-t],n=r[i-t+1],o=r[i]-e,a=r[i+1]-n;s+=Math.sqrt(o*o+a*a)}return s}startPath(){this._geometry.lengths.push(0)}pushPath(e){this.startPath(),this.pushPoints(e)}pushPoint(e){for(let t=0;t<this._stride;++t)this._geometry.coords.push(e[t]);this._geometry.lengths[this.totalSize-1]++}pushXY(e,t){this._geometry.coords.push(e,t),this._geometry.lengths[this.totalSize-1]++}pushPoints(e){for(const t of e)for(let e=0;e<this._stride;++e)this._geometry.coords.push(t[e]);this._geometry.lengths[this.totalSize-1]+=e.length}pushCursor(e){const t=e.asOptimized();this._geometry.coords.push(...t.coords),this._geometry.lengths.push(...t.lengths)}asOptimized(){const e=this._geometry.clone();if(1!==this.yFactor)for(let t=1;t<e.coords.length;t+=this._stride)e.coords[t]*=this.yFactor;return"esriGeometryPoint"===this.geometryType&&(e.lengths.length=0),e}isClosed(){const e=this._geometry.coords,t=this._pathOffset,r=this._end-this._stride;for(let s=0;s<this._stride;s++)if(e[t+s]!==e[r+s])return!1;return!0}clone(){return(new h).initialize(this._geometry.clone(),this.geometryType,this.yFactor)}get totalPoints(){return this._geometry.isPoint?1:this._geometry.lengths.reduce((e,t)=>e+t)}get pathSize(){const{lengths:e}=this._geometry;return this._geometry.isPoint?1:this._pathIndex<0||this._pathIndex>e.length-1?0:e[this._pathIndex]}get totalSize(){return this._geometry.isPoint?1:this._geometry.lengths.length}get x(){return this._geometry.coords[this._pointOffset]}set x(e){this._geometry.coords[this._pointOffset]=e}get y(){return this.yFactor*this._geometry.coords[this._pointOffset+1]}set y(e){this._geometry.coords[this._pointOffset+1]=this.yFactor*e}get z(){return this._geometry.coords[this._pointOffset+2]}set z(e){this._geometry.coords[this._pointOffset+2]=e}get m(){const e=this.hasZ?3:2;return this._geometry.coords[this._pointOffset+e]}set m(e){this._geometry.coords[this._pointOffset+3]=e}get pathIndex(){return this._pathIndex}get _coordIndex(){return this._pointOffset/this._stride}}function u(e){const t=[e.x,e.y];return e.z&&t.push(e.z),e.m&&t.push(e.m),t}function l(e){return(0,n.Bi)(e)?[e.rings,"esriGeometryPolygon"]:(0,n.Rg)(e)?[e.paths,"esriGeometryPolyline"]:(0,n.U9)(e)?[[e.points],"esriGeometryMultipoint"]:(0,n.ZC)(e)?[[[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]]],"esriGeometryEnvelope"]:(0,n.fT)(e)?[[[u(e)]],"esriGeometryPoint"]:[[],"esriGeometryPolyline"]}class d extends a{initialize(e,t,r,s,i){return this._paths=e,this.geometryType=t,this.hasZ=r,this.hasM=s,this._pathIndex=this._pointIndex=-1,this.yFactor=i,this._mIndex=this.hasZ?3:2,this}reset(){this._pathIndex=this._pointIndex=-1}seekPath(e){return this._pathIndex=e,this._pointIndex=-1,e>=0&&e<this.totalSize&&(this._currentPath=this._paths[e],!0)}seekPathStart(){this._pointIndex=-1}seekPathEnd(){this._pointIndex=this._currentPath.length}seekInPath(e){return e>=0&&e<this._currentPath.length&&(this._pointIndex=e,this._currentPoint=this._currentPath[this._pointIndex],!0)}nextPoint(){return this._currentPoint=this._currentPath[++this._pointIndex],this._pointIndex<this._currentPath.length}prevPoint(){return this._currentPoint=this._currentPath[--this._pointIndex],this._pointIndex>=0}nextPath(){return this._pointIndex=-1,this._currentPath=this._paths[++this._pathIndex],this._pathIndex<this.totalSize}prevPath(){return this.pathIndex>0&&(this._pointIndex=-1,this._pathIndex--,this._currentPath=this._paths[this._pathIndex],!0)}pathLength(){const e=this._currentPath.length,t=this._currentPath;let r=0;for(let s=1;s<e;s++){const e=t[s-1],i=t[s],n=e[0],o=e[1],a=i[0]-n,h=i[1]-o;r+=Math.sqrt(a*a+h*h)}return r}startPath(){this._paths.push([])}getCurrentPath(){return(new d).initialize([this._currentPath],this.geometryType,this.hasZ,this.hasM,this.yFactor)}pushPath(e){this._paths.push(e)}pushPoint(e){this._paths[this.totalSize-1].push(e)}pushXY(e,t){this._paths[this.totalSize-1].push([e,t])}pushPoints(e){this._paths[this.totalSize-1].push(...e)}pushCursor(e){const t=(0,i.x)(e);for(const e of t)this.pushPath(e)}asOptimized(){const{hasZ:e,hasM:t}=this,r=new o.A([],[],e,t),{coords:s,lengths:i}=r;if("esriGeometryPoint"===this.geometryType)s.push(...this._paths[0][0]),i.length=0;else for(const r of this._paths){for(const i of r)s.push(i[0]),s.push(i[1]*this.yFactor),e&&s.push(i[2]),t&&s.push(i[this._mIndex]);i.push(r.length)}return r}isClosed(){const e=this._currentPath[0],t=this._currentPath[this._currentPath.length-1];for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}clone(){return(new d).initialize((0,s.o8)(this._paths),this.geometryType,this.hasZ,this.hasM,this.yFactor)}get totalPoints(){return this._paths.map(e=>e.length).reduce((e,t)=>e+t)}get pathSize(){return this._pathIndex<0||this._pathIndex>this.totalSize-1?-1:this._paths[this._pathIndex].length}get totalSize(){return this._paths.length}get x(){return this._currentPoint[0]}set x(e){this._currentPoint[0]=e}get y(){return this.yFactor*this._currentPoint[1]}set y(e){this._currentPoint[1]=this.yFactor*e}get z(){return this._currentPoint[2]}set z(e){this._currentPoint[2]=e}get m(){return this._currentPoint[this._mIndex]}set m(e){this._currentPoint[this._mIndex]=e}get pathIndex(){return this._pathIndex}}class c extends h{initialize(e,t,r){return super.initialize(e,t,r),this._controlPoints||(this._controlPoints=this._controlPoints=new Array(this.totalSize).fill(void 0).map(e=>new Set)),this}startPath(){super.startPath(),this._controlPoints.push(new Set)}clone(){const e=(new c).initialize(this._geometry.clone(),this.geometryType,this.yFactor);return e._controlPoints=this._controlPoints,e}setControlPoint(){this._controlPoints[this.pathIndex].add(this._coordIndex)}getControlPoint(){return this._controlPoints[this.pathIndex].has(this._coordIndex)}setControlPointAt(e){this._controlPoints[this.pathIndex].add(e)}getControlPointAt(e){return this._controlPoints[this.pathIndex].has(e)}}class _ extends d{initialize(e,t,r,s,i){return super.initialize(e,t,r,s,i)}clone(){return(new _).initialize((0,s.o8)(this._paths),this.geometryType,this.hasZ,this.hasM,this.yFactor)}setControlPoint(){this._paths[this.pathIndex][this._pointIndex][4]=1}getControlPoint(){return 1===this._paths[this.pathIndex][this._pointIndex][4]}setControlPointAt(e){this._paths[this.pathIndex][e][4]=1}getControlPointAt(e){return 1===this._paths[this.pathIndex][e][4]}}},38976(e,t,r){r.d(t,{n:()=>n});var s=r(76213),i=r(9012);class n{constructor(e){this._options=e}insert(e,t){const r=e.getCursor(),{arcadeContextInfo:s,scale:n}=this._options,o=(0,i.N)(n,s);for(;r.next();)this._insertFeature(r,o,this._options.sqlOptions,t)}_insertFeature(e,t,r,i){const{featureFilter:n}=this._options;if(null!==n&&!n.check(e,r))return;let o=0,a=0;if("esriGeometryPoint"===e.geometryType)o=e.readXWorldSpace(),a=e.readYWorldSpace();else{if(i){const t=e.readCentroidForDisplay();if(null==t)return;const[r,i]=t.coords;if(r<0||r>s.CQ||i<0||i>s.CQ)return}const t=e.readCentroidWorldSpace();if(null==t)return;o=t.coords[0],a=t.coords[1]}this._insert(e,o,a,t)}}},39357(e,t,r){r.d(t,{A:()=>a});var s,i=r(5482),n=r(25482),o=r(91429);let a=s=class extends n.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new s({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=s=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},39412(e,t,r){r.d(t,{N:()=>n});var s=r(2741);let i=null;async function n(){return i||(i=async function(){const e=await r.e(7733).then(r.bind(r,57733));return await e.default({module_or_path:(0,s.s)("esri/libs/parquet/pkg/bundle_bg.wasm")}),e}()),i}},41628(e,t,r){r.d(t,{A:()=>h});var s,i=r(5482),n=r(91429),o=r(76357),a=r(93223);let h=class extends o.A{static{s=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new s({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],h.prototype,"maxValue",void 0),(0,i.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],h.prototype,"minValue",void 0),(0,i.Cg)([(0,a.e)({range:"range"})],h.prototype,"type",void 0),h=s=(0,i.Cg)([(0,n.$K)("esri.layers.support.RangeDomain")],h)},44320(e,t,r){r.d(t,{I:()=>h});var s=r(65529),i=r(44208),n=r(70328),o=r(30661),a=r(5162);class h{constructor(){this._chunks=new Map,this._chunksToRemove=[],this.events=new s.bk,this.featureAdapter=new o.Z}destroy(){this.clear()}clear(){for(const e of this._chunks.values())this._chunksToRemove.push(e);this._chunks.clear(),this._overrides?.clearWeakOverrides()}get usedMemory(){let e=0;for(const t of this._chunks.values())e+=t.usedMemory;return e}async update(e){if(this._overrides){const t=await a.HJ.create(e);this._overrides.update(t)}if(this._postQueryFilter=e.postQueryFilter,this._postQueryFilter)for(const{reader:e}of this.insertedChunks())e.applyPostQueryFilter(this._postQueryFilter);this._schema=e}*chunks(){this._overrides&&(yield this._overrides.asChunk()),yield*this._chunks.values()}insertedChunks(){return this._chunks.values()}insert(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e.chunkId}] SourceChunkStore.insert`),this._overrides?.onChunkInsert(e),this._chunks.set(e.chunkId,e),this._postQueryFilter&&e.reader.applyPostQueryFilter(this._postQueryFilter),this.events.emit("changed")}remove(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e.chunkId}] SourceChunkStore.remove`),this._chunks.delete(e.chunkId),this._chunksToRemove.push(e)}removeById(e){(0,i.A)("esri-2d-update-debug")&&console.debug(`Chunk[${e}] SourceChunkStore.remove`);const t=this._chunks.get(e);this._chunks.delete(e),t&&this._chunksToRemove.push(t)}cleanup(){const e=this._chunksToRemove;return this._chunksToRemove=[],this._overrides?.cleanup(this._chunks.values()),e}async applyOverride(e){if(null==this._overrides){const e=await a.HJ.create(this._schema);this._overrides=new a.Im(e);for(const e of this._chunks.values())this._overrides.onChunkInsert(e)}this._overrides.apply(e,this),this.events.emit("changed");for(const e of this._chunks.values())e.invalidate()}takeOverrideUpdate(){return this._overrides?.takeOverrideUpdate()}refresh(){this.events.emit("refresh")}forEach(e){const t=new Set;for(const r of this.chunks()){const s=r.reader.getCursor();for(;s.next();){const r=s.getObjectId();t.has(r)||(e(s.copy()),t.add(r))}}}forEachUnsafe(e){const t=new Set;for(const r of this.chunks()){const s=r.reader.getCursor();for(;s.next();){const r=s.getObjectId();t.has(r)||(e(s),t.add(r))}}}mapObjectIdsFromGlobalIds(e,t){const r=new Map,s=new Set(e);return this._overrides?.putWeakObjectIdsFromGlobalIds(r,s,t),this._forEachUnsafeIgnoreOverrides(e=>{const i=e.readAttribute(t);if(i&&s.has(i)&&!r.has(i)){const t=e.getObjectId();r.set(i,t)}}),r}forEachInBounds(e,t){const r=new Set;for(const s of this.chunks()){const i=s.queryFeaturesInBounds(e);for(;i.next();){const e=i.getObjectId();r.has(e)||(t(i.copy()),r.add(e))}}}forEachBounds(e,t){const r=(0,n.vt)();for(const s of e)s.getBounds(r)&&t(r)}_forEachUnsafeIgnoreOverrides(e){const t=new Set;for(const r of this._chunks.values()){const s=r.reader.withoutOverrides().getCursor();for(;s.next();){const r=s.getObjectId();t.has(r)||(e(s),t.add(r))}}}}},48163(e,t,r){function s(){return[0,0]}function i(e){return[e[0],e[1]]}function n(e,t){return[e,t]}function o(){return n(1,1)}function a(){return n(1,0)}function h(){return n(0,1)}r.d(t,{Un:()=>u,fA:()=>n,o8:()=>i,vt:()=>s});const u=o(),l=a(),d=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:u,UNIT_X:l,UNIT_Y:d,ZEROS:[0,0],clone:i,create:s,freeze:function(e,t){return[e,t]},fromArray:function(e,t=[0,0]){const r=Math.min(2,e.length);for(let s=0;s<r;++s)t[s]=e[s];return t},fromValues:n,ones:o,unitX:a,unitY:h,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},50115(e,t,r){r.d(t,{OP:()=>o,V4:()=>i,rZ:()=>n}),r(44208);var s=r(53966);function i(e,t,r){if(null==e)return null;const i=t.readArcadeFeature();t.contextTimeZone=r.$view?.timeZone;try{return e.evaluate(i,r)}catch(e){return s.A.getLogger("esri.views.2d.support.arcadeOnDemand").warn("Feature arcade evaluation failed:",e),null}}function n(e){return null==e||e===1/0||e===-1/0||"number"==typeof e&&isNaN(e)}function o(e,t,r,s){if(null==e)return null!=s?s:null;const i=t.readArcadeFeature();t.contextTimeZone=r.$view?.timeZone;const o=e.evaluate(i,r);return n(o)?null!=s?s:null:o}},52350(e,t,r){r.d(t,{e:()=>a});var s=r(69397),i=r(62577),n=r(90708),o=r(99996);class a extends o.Y{static from(e,t){if(e instanceof this){const r=new Set(t),s=e._indices.filter(e=>r.has(e));return new a(e._reader,s)}return new a(e.copy(),t)}constructor(e,t){super(e.metadata),this._currentIndex=-1,this._displayTransform=null,this._reader=e,this._indices=t}setTransformForDisplay(e){const t=this._reader.getInTransform();if(null==t)return void(this._displayTransform=(0,i.Q1)(e));const r=(0,i.Q1)(t),s=(0,i.Q1)(e),[n,o]=r.scale,[a,h]=r.translate,[u,l]=s.scale,[d,c]=s.translate,_=n/u,p=o/l,f=(a-d)/u,m=(h-c)/l;this._displayTransform={originPosition:"lowerLeft",scale:[1/_,1/p,1,1],translate:[-f/_,-m/p,0,0]}}getInTransform(){return this._reader.getInTransform()}get fields(){return this._reader.fields}get hasNext(){return this._currentIndex+1<this._indices.length}getSize(){return this._indices.length}getCursor(){return this.copy()}copy(){const e=new a(this._reader.copy(),this._indices);return e._currentIndex=this._currentIndex,e._displayTransform=this._displayTransform,e._processorAttributes=this._processorAttributes,e}get contextTimeZone(){return this._reader.contextTimeZone}set contextTimeZone(e){this._reader.contextTimeZone=e}get usedMemory(){return s.qK+this._reader.usedMemory}setProcessorAttributes(e){this._processorAttributes=Object.assign(this._processorAttributes??{},e)}_nextIndex(){return++this._currentIndex<this._indices.length&&(this._reader.setIndex(this._indices[this._currentIndex]),!0)}next(){for(;this._nextIndex()&&!this._reader._getExists(););return this._currentIndex<this._indices.length}readXForDisplay(){return this._displayTransform?(0,i.IE)(this._displayTransform,this._reader.readXForDisplay()):this._reader.readXForDisplay()}readYForDisplay(){return this._displayTransform?(0,i.B2)(this._displayTransform,this._reader.readYForDisplay()):this._reader.readYForDisplay()}readGeometryForDisplay(){return this._displayTransform?this._reader.readGeometryForDisplayTransformed(this._displayTransform):this._reader.readGeometryForDisplay()}readCentroidForDisplay(){const e=this._reader.readCentroidForDisplay()?.clone();if(e){const[t,r]=e.coords;this._displayTransform&&(e.coords[0]=(0,i.IE)(this._displayTransform,t),e.coords[1]=(0,i.B2)(this._displayTransform,r))}return e}get geometryType(){return this._reader.geometryType}get hasFeatures(){return this._reader.hasFeatures}get exceededTransferLimit(){return this._reader.exceededTransferLimit}get hasZ(){return this._reader.hasZ}get hasM(){return this._reader.hasM}readAttribute(e,t=!1){const r=this._reader.readAttribute(e,t);return null==r&&this._processorAttributes?this._processorAttributes[e]:r}readAttributes(){return{...this._processorAttributes,...this._reader.readAttributes()}}joinAttributes(e){return this._reader.joinAttributes(e)}getBounds(e){return this._reader.getBounds(e)}getAttributeHash(){return this._reader.getAttributeHash()}getObjectId(){return this._reader.getObjectId()}getDisplayId(){return this._reader.getDisplayId()}setDisplayId(e){return this._reader.setDisplayId(e)}setIndex(e){return this._reader.setIndex(e)}getIndex(){return this._reader.getIndex()}readXWorldSpace(){return this._reader.readXWorldSpace()}readYWorldSpace(){return this._reader.readYWorldSpace()}_readX(){return this._reader.readXForDisplay()}_readY(){return this._reader.readYForDisplay()}_readServerCentroid(){return this._reader._readServerCentroid()}readLegacyFeatureForDisplay(){const e=this.readCentroidForDisplay();return{attributes:this.readAttributes(),geometry:this.readLegacyGeometryForDisplay(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyGeometryForDisplay(){const e=this.readGeometryForDisplay();return(0,n.zv)(e,this.geometryType,!1,!1)}readGeometryArea(){return this._displayTransform?this._reader.readGeometryForDisplayTransformed(this._displayTransform)?.area()??0:this._reader.readGeometryArea()}readGeometryWorldSpace(){return this._reader.readGeometryWorldSpace()}_readGeometry(){return this._reader._readGeometry()}_readAttribute(e,t){throw new Error("Error: Should not be called. Underlying _reader should be used instead")}_readAttributes(){throw new Error("Error: Should not be called. Underlying _reader should be used instead")}readArcadeFeature(){return this._reader.readArcadeFeature()}geometry(){return this._reader.geometry()}field(e){return this._reader.field(e)}hasField(e){return this._reader.hasField(e)}setField(e,t){return this._reader.setField(e,t)}keys(){return this._reader.keys()}castToText(e=!1){return this._reader.castToText(e)}}},53177(e,t,r){r.d(t,{A:()=>l});var s,i=r(5482),n=r(4718),o=r(91429),a=r(39357),h=r(76357),u=r(93223);let l=class extends h.A{static{s=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new s({codedValues:(0,n.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],l.prototype,"codedValues",void 0),(0,i.Cg)([(0,u.e)({codedValue:"coded-value"})],l.prototype,"type",void 0),l=s=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],l)},60408(e,t,r){function s(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function i(e){return void 0!==e.points}function n(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function h(e){return"object"==typeof e&&"vertexAttributes"in e}function u(e){return e?n(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":s(e)?"esriGeometryEnvelope":i(e)?"esriGeometryMultipoint":null:null}function l(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function d(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>u,Bi:()=>a,Pv:()=>l,Rg:()=>o,U9:()=>i,W0:()=>d,ZC:()=>s,fT:()=>n,uW:()=>h})},63664(e,t,r){r.d(t,{B:()=>s});class s{constructor(e){this._statistics=e}get statistics(){return this._statistics}}},64714(e,t,r){r.d(t,{F0:()=>a,Vx:()=>l,e2:()=>c,f:()=>_});var s=r(44208),i=r(4718),n=r(99352),o=r(93470);function a(e){return{renderer:{type:"simple",symbol:"esriGeometryPoint"===e||"esriGeometryMultipoint"===e?o.Cb:"esriGeometryPolyline"===e?o.yM:o.WR}}}const h=/^[_$a-zA-Z][_$a-zA-Z0-9]*$/;let u=1;function l(e,t){if((0,s.A)("esri-csp-restrictions"))return()=>({[t]:null,...e});try{let r=`this${d(t)} = null;`;for(const t in e)r+=`this${d(t)} = ${JSON.stringify(e[t])};`;const s=new Function(`\n return class AttributesClass$${u++} {\n constructor() {\n ${r};\n }\n }\n `)();return()=>new s}catch(r){return()=>({[t]:null,...e})}}function d(e){return h.test(e)?`.${e}`:`[${JSON.stringify(e)}]`}function c(e={}){return[{name:"New Feature",description:"",prototype:{attributes:(0,i.o8)(e)}}]}function _(e,t){return{analytics:{supportsCacheHint:!1},attachment:null,data:{isVersioned:!1,isBranchVersioned:!1,supportedCurveTypes:[],supportsAttachment:!1,supportsM:!1,supportsTrueCurve:!1,supportsZ:e},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:t,supportsDelete:t,supportsEditing:t,supportsChangeTracking:!1,supportsQuery:!0,supportsQueryBins:!0,supportsQueryPivot:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:t,supportsExceedsLimitStatistics:!0,supportsAsyncConvert3D:!1},query:n.F,queryRelated:{supportsCount:!0,supportsOrderBy:!0,supportsPagination:!0,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:n.P,editing:{supportsGeometryUpdate:t,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsTrueCurveUpdate:t,supportsTrueCurveUpdateByTrueCurveClientsOnly:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsAsyncApplyEdits:!1,zDefault:void 0}}}},65864(e,t,r){r.d(t,{rS:()=>l,xD:()=>c});var s=r(5443),i=r(91075),n=r(48526),o=r(86738),a=r(39829),h=r(82799),u=r(60408);function l(e){return null==e?null:e instanceof i.A?e:(0,u.fT)(e)?o.A.fromJSON(e):(0,u.Rg)(e)?h.A.fromJSON(e):(0,u.Bi)(e)?a.A.fromJSON(e):(0,u.U9)(e)?n.A.fromJSON(e):(0,u.ZC)(e)?s.A.fromJSON(e):null}const d={esriGeometryPoint:o.A,esriGeometryPolyline:h.A,esriGeometryPolygon:a.A,esriGeometryEnvelope:s.A,esriGeometryMultipoint:n.A,esriGeometryMultiPatch:a.A};function c(e){return e&&d[e]||null}},68974(e,t,r){r.d(t,{H:()=>h,p:()=>a});var s=r(69397),i=r(86211),n=r(38976),o=r(75538);function a(e,t){return(0,i.GA)(e)*i.dy*96/t}class h extends n.n{constructor(e){super(e),this._cells=new Map,this._pixelsPerMapUnit=a(e.spatialReference,e.scale)}get usedMemory(){const e=this._cells.values().next().value;return e?(s.RS+e.usedMemory)*this._cells.size:0}put(e){for(const t of this._cells.values()){const r=e.get(t.id);r?r.merge(t):e.set(t.id,t.clone())}}putBounded(e,t,r){const s=[t.xmin,t.ymin,t.xmax,t.ymax],[i,n,o,a]=s,h=Math.floor(i*this._pixelsPerMapUnit/this._options.cellSize),u=Math.floor(n*this._pixelsPerMapUnit/this._options.cellSize),l=Math.ceil(o*this._pixelsPerMapUnit/this._options.cellSize),d=Math.ceil(a*this._pixelsPerMapUnit/this._options.cellSize);for(let t=u;t<=d;t++)for(let r=h;r<=l;r++){const s=`${r}.${t}`,i=this._cells.get(s);if(!i)continue;const n=e.get(i.id);n?i&&!e.has(i.id)&&n.merge(i):e.set(i.id,i.clone())}}_insert(e,t,r,s){const i=t*this._pixelsPerMapUnit,n=r*this._pixelsPerMapUnit,o=Math.floor(i/this._options.cellSize),a=Math.floor(n/this._options.cellSize);this._getCellOrCreate(o,a).insert(e,s,t,r)}_getCellOrCreate(e,t){const r=o.L.createId(e,t);let s=this._cells.get(r);if(!s){const i=1*this._options.cellSize/this._pixelsPerMapUnit;s=o.L.create(e,t,this._options.fields,i),this._cells.set(r,s)}return s}}},70300(e,t,r){r.d(t,{K:()=>Y});var s=r(69397),i=r(11006);function n(e,t){if(!(this instanceof n))return new n(e,t);this._maxEntries=Math.max(4,e||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),t&&("function"==typeof t?this.toBBox=t:this._initFormat(t)),this.clear()}function o(e,t,r){if(!r)return t.indexOf(e);for(var s=0;s<t.length;s++)if(r(e,t[s]))return s;return-1}function a(e,t){h(e,0,e.children.length,t,e)}function h(e,t,r,s,i){i||(i=g(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var n,o=t;o<r;o++)n=e.children[o],u(i,e.leaf?s(n):n);return i}function u(e,t){return e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY),e}function l(e,t){return e.minX-t.minX}function d(e,t){return e.minY-t.minY}function c(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function _(e){return e.maxX-e.minX+(e.maxY-e.minY)}function p(e,t){return(Math.max(t.maxX,e.maxX)-Math.min(t.minX,e.minX))*(Math.max(t.maxY,e.maxY)-Math.min(t.minY,e.minY))}function f(e,t){var r=Math.max(e.minX,t.minX),s=Math.max(e.minY,t.minY),i=Math.min(e.maxX,t.maxX),n=Math.min(e.maxY,t.maxY);return Math.max(0,i-r)*Math.max(0,n-s)}function m(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function y(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function g(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function x(e,t,r,s,n){for(var o,a=[t,r];a.length;)(r=a.pop())-(t=a.pop())<=s||(o=t+Math.ceil((r-t)/s/2)*s,(0,i.q)(e,o,t,r,n),a.push(t,o,o,r))}n.prototype={all:function(){return this._all(this.data,[])},search:function(e){var t=this.data,r=[],s=this.toBBox;if(!y(e,t))return r;for(var i,n,o,a,h=[];t;){for(i=0,n=t.children.length;i<n;i++)o=t.children[i],y(e,a=t.leaf?s(o):o)&&(t.leaf?r.push(o):m(e,a)?this._all(o,r):h.push(o));t=h.pop()}return r},collides:function(e){var t=this.data,r=this.toBBox;if(!y(e,t))return!1;for(var s,i,n,o,a=[];t;){for(s=0,i=t.children.length;s<i;s++)if(n=t.children[s],y(e,o=t.leaf?r(n):n)){if(t.leaf||m(e,o))return!0;a.push(n)}t=a.pop()}return!1},load:function(e){if(!e||!e.length)return this;if(e.length<this._minEntries){for(var t=0,r=e.length;t<r;t++)this.insert(e[t]);return this}var s=this._build(e.slice(),0,e.length-1,0);if(this.data.children.length)if(this.data.height===s.height)this._splitRoot(this.data,s);else{if(this.data.height<s.height){var i=this.data;this.data=s,s=i}this._insert(s,this.data.height-s.height-1,!0)}else this.data=s;return this},insert:function(e){return null!=e&&this._insert(e,this.data.height-1),this},clear:function(){return this.data=g([]),this},remove:function(e,t){if(null==e)return this;for(var r,s,i,n,a=this.data,h=this.toBBox(e),u=[],l=[];a||u.length;){if(a||(a=u.pop(),s=u[u.length-1],r=l.pop(),n=!0),a.leaf&&-1!==(i=o(e,a.children,t)))return a.children.splice(i,1),u.push(a),this._condense(u),this;n||a.leaf||!m(a,h)?s?(r++,a=s.children[r],n=!1):a=null:(u.push(a),l.push(r),r=0,s=a,a=a.children[0])}return this},toBBox:function(e){return e},compareMinX:l,compareMinY:d,toJSON:function(){return this.data},fromJSON:function(e){return this.data=e,this},_all:function(e,t){for(var r=[];e;)e.leaf?t.push.apply(t,e.children):r.push.apply(r,e.children),e=r.pop();return t},_build:function(e,t,r,s){var i,n=r-t+1,o=this._maxEntries;if(n<=o)return a(i=g(e.slice(t,r+1)),this.toBBox),i;s||(s=Math.ceil(Math.log(n)/Math.log(o)),o=Math.ceil(n/Math.pow(o,s-1))),(i=g([])).leaf=!1,i.height=s;var h,u,l,d,c=Math.ceil(n/o),_=c*Math.ceil(Math.sqrt(o));for(x(e,t,r,_,this.compareMinX),h=t;h<=r;h+=_)for(x(e,h,l=Math.min(h+_-1,r),c,this.compareMinY),u=h;u<=l;u+=c)d=Math.min(u+c-1,l),i.children.push(this._build(e,u,d,s-1));return a(i,this.toBBox),i},_chooseSubtree:function(e,t,r,s){for(var i,n,o,a,h,u,l,d;s.push(t),!t.leaf&&s.length-1!==r;){for(l=d=1/0,i=0,n=t.children.length;i<n;i++)h=c(o=t.children[i]),(u=p(e,o)-h)<d?(d=u,l=h<l?h:l,a=o):u===d&&h<l&&(l=h,a=o);t=a||t.children[0]}return t},_insert:function(e,t,r){var s=this.toBBox,i=r?e:s(e),n=[],o=this._chooseSubtree(i,this.data,t,n);for(o.children.push(e),u(o,i);t>=0&&n[t].children.length>this._maxEntries;)this._split(n,t),t--;this._adjustParentBBoxes(i,n,t)},_split:function(e,t){var r=e[t],s=r.children.length,i=this._minEntries;this._chooseSplitAxis(r,i,s);var n=this._chooseSplitIndex(r,i,s),o=g(r.children.splice(n,r.children.length-n));o.height=r.height,o.leaf=r.leaf,a(r,this.toBBox),a(o,this.toBBox),t?e[t-1].children.push(o):this._splitRoot(r,o)},_splitRoot:function(e,t){this.data=g([e,t]),this.data.height=e.height+1,this.data.leaf=!1,a(this.data,this.toBBox)},_chooseSplitIndex:function(e,t,r){var s,i,n,o,a,u,l,d;for(u=l=1/0,s=t;s<=r-t;s++)o=f(i=h(e,0,s,this.toBBox),n=h(e,s,r,this.toBBox)),a=c(i)+c(n),o<u?(u=o,d=s,l=a<l?a:l):o===u&&a<l&&(l=a,d=s);return d},_chooseSplitAxis:function(e,t,r){var s=e.leaf?this.compareMinX:l,i=e.leaf?this.compareMinY:d;this._allDistMargin(e,t,r,s)<this._allDistMargin(e,t,r,i)&&e.children.sort(s)},_allDistMargin:function(e,t,r,s){e.children.sort(s);var i,n,o=this.toBBox,a=h(e,0,t,o),l=h(e,r-t,r,o),d=_(a)+_(l);for(i=t;i<r-t;i++)n=e.children[i],u(a,e.leaf?o(n):n),d+=_(a);for(i=r-t-1;i>=t;i--)n=e.children[i],u(l,e.leaf?o(n):n),d+=_(l);return d},_adjustParentBBoxes:function(e,t,r){for(var s=r;s>=0;s--)u(t[s],e)},_condense:function(e){for(var t,r=e.length-1;r>=0;r--)0===e[r].children.length?r>0?(t=e[r-1].children).splice(t.indexOf(e[r]),1):this.clear():a(e[r],this.toBBox)},_initFormat:function(e){var t=["return a"," - b",";"];this.compareMinX=new Function("a","b",t.join(e[0])),this.compareMinY=new Function("a","b",t.join(e[1])),this.toBBox=new Function("a","return {minX: a"+e[0]+", minY: a"+e[1]+", maxX: a"+e[2]+", maxY: a"+e[3]+"};")}};var v=r(70328);class I{static fromReader(e){const t=[],r=e.copy(),s=(0,v.vt)();for(;r.next();)r.getBounds(s)&&t.push(r.getIndex());const i=n(9,e=>(r.setIndex(e),{minX:r.getBoundsXMin(),minY:r.getBoundsYMin(),maxX:r.getBoundsXMax(),maxY:r.getBoundsYMax()}));return i.load(t),new I(i,t.length)}constructor(e,t){this._index=e,this._size=t}get usedMemory(){return this._size*s.RS}search(e){const t={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};return this._index.search(t)}}r(44208);var b=r(34727),T=(r(37585),r(48163)),w=r(39829),S=r(16930),M=r(19419),A=r(79258),F=r(90708),C=r(31464);function P(e,t,r,s){if(s.isWebMercator){const s=(0,b.KJ)(e/A.$O.radius),i=s-360*Math.floor((s+180)/360),n=[0,0];return O(n,0,(0,b.KJ)(Math.PI/2-2*Math.atan(Math.exp(-t/A.$O.radius))),i,r),n}const i=(0,C.Cv)({x:e,y:t},s,S.A.WGS84);if(!i)return null;const n=[0,0];return O(n,0,i.y,i.x,r),n}function O(e,t,r,s,i){i%2&&(i+=1);let n=0,o=0,a=-90,h=90,u=-180,l=180;for(let e=0;e<i/2;e++){for(let t=0;t<5;t++){const r=(u+l)/2,i=s>r?1:0;n|=i<<29-(t+5*e),u=(1-i)*u+i*r,l=(1-i)*r+i*l}for(let t=0;t<5;t++){const s=(a+h)/2,i=r>s?1:0;o|=i<<29-(t+5*e),a=(1-i)*a+i*s,h=(1-i)*s+i*h}}e[2*t]=n,e[2*t+1]=o}(0,T.vt)(),(0,T.vt)();var N=r(63664),k=r(92029);class z extends N.B{static create(e,t,r,s){const i=k.o.create(e),n=new Array(32);for(let e=0;e<n.length;e++)n[e]=null;return new z(i,t,r,s,n)}constructor(e,t,r,s,i){super(e),this.xNode=t,this.yNode=r,this.depth=s,this.children=i,this._objectIds=new Set,this._count=0,this._xWorldTotal=0,this._yWorldTotal=0,this._xGeohashTotal=0,this._yGeohashTotal=0,this.next=null}static get estimatedMemory(){let e=0;return e+=2*s.qK,e+=32*s.RS,e+=k.o.estimatedMemory,e}get id(){return`${this.xNode}.${this.yNode}`}get containedObjectIds(){return this._objectIds}get count(){return this._count}clone(){const e=new z(this._statistics.clone(),this.xNode,this.yNode,this.depth,this.children);return e._count=this._count,e._xWorldTotal=this._xWorldTotal,e._yWorldTotal=this._yWorldTotal,e._xGeohashTotal=this._xGeohashTotal,e._yGeohashTotal=this._yGeohashTotal,e.next=this.next,e._objectIds=new Set(this._objectIds),e}insert(e,t,r,s,i,n){this._count+=1,this._xWorldTotal+=t,this._yWorldTotal+=r,this._xGeohashTotal+=s,this._yGeohashTotal+=i,this._statistics.insert(e,n),this._objectIds.add(e.getObjectId())}merge(e){if(0!==e._count){this._count+=e._count,this._xWorldTotal+=e._xWorldTotal,this._yWorldTotal+=e._yWorldTotal,this._xGeohashTotal+=e._xWorldTotal,this._yGeohashTotal+=e._yWorldTotal,this._statistics.merge(e._statistics);for(const t of e._objectIds.values())this._objectIds.add(t)}}getCentroid(e){throw new Error("getCentroid not supported for GeohashNode")}getGeometry(e,t){const r=this._getLngLatBounds(),[s,i,n,o]=r,a=(0,C.Cv)({rings:[[[s,i],[s,o],[n,o],[n,i],[s,i]]]},S.A.WGS84,e),h=(0,F.Ye)(a);return null!=t?(0,F.Nl)(h,"esriGeometryPolygon",t,!1,!1):h}getGeometricCentroid(e,t){const r=this._getLngLatBounds(),[s,i,n,o]=r,a=(0,C.Cv)({x:(s+n)/2,y:(i+o)/2},S.A.WGS84,e),h=(0,F.qN)(a);return null!=t?(0,F.Nl)(h,"esriGeometryPoint",t,!1,!1):h}getAttributes(){const e={aggregateId:this.id};for(const t of this._statistics.values())e[t.field.name]=t.value;return e.aggregateCount=this._count,e}find(e,t,r,s,i,n){if(s>=r)return this;const o=1-s%2,a=3*o+2*(1-o),h=2*o+3*(1-o),u=30-i-a,l=30-n-h,d=((e&7*o+3*(1-o)<<u)>>u)+((t&3*o+7*(1-o)<<l)>>l)*(8*o+4*(1-o)),c=this.children[d];return null==c?null:c.find(e,t,r,s+1,i+a,n+h)}_getLngLatBounds(){const e=this.depth,t=Math.ceil(e/2),r=Math.floor(e/2),s=30-(3*t+2*r),i=30-(2*t+3*r);return function(e,t){let r=-90,s=90,i=-180,n=180;for(let o=0;o<t;o++){const t=Math.ceil((o+1)/2),a=Math.floor((o+1)/2),h=1-o%2,u=30-(3*t+2*a),l=30-(2*t+3*a),d=2*h+3*(1-h),c=(7*h+3*(1-h)<<u&e.geohashX)>>u,_=(3*h+7*(1-h)<<l&e.geohashY)>>l;for(let e=3*h+2*(1-h)-1;e>=0;e--){const t=(i+n)/2,r=c&1<<e?1:0;i=(1-r)*i+r*t,n=(1-r)*t+r*n}for(let e=d-1;e>=0;e--){const t=(r+s)/2,i=_&1<<e?1:0;r=(1-i)*r+i*t,s=(1-i)*t+i*s}}return[i,r,n,s]}({geohashX:this.xNode<<s,geohashY:this.yNode<<i},this.depth)}}class B{constructor(e){this._fields=e,this._size=0,this._depth=0,this._root=z.create(this._fields,0,0,0)}destroy(){}get size(){return this._size}get depth(){return this._depth}get usedMemory(){return this._size*z.estimatedMemory}find(e,t,r){return this._root.find(e,t,r,0,0,0)}insert(e,t,r,s,i,n,o){let a=this._root,h=0,u=0,l=0;for(;null!==a;){if(a.insert(e,t,r,s,i,o),h>=n)return;const d=Math.ceil((h+1)/2),c=Math.floor((h+1)/2),_=1-h%2,p=30-(3*d+2*c),f=30-(2*d+3*c),m=(s&7*_+3*(1-_)<<p)>>p,y=(i&3*_+7*(1-_)<<f)>>f,g=m+y*(8*_+4*(1-_));u=u<<3*_+2*(1-_)|m,l=l<<2*_+3*(1-_)|y,null==a.children[g]&&(a.children[g]=z.create(this._fields,u,l,h+1),this._depth=Math.max(this._depth,h+1),this._size+=1),h+=1,a=a.children[g]}}putBins(e,t){for(const r of this.getNodes(t)){const t=e.get(r.id);t?t.merge(r):e.set(r.id,r.clone())}}getNodes(e){const t=[],{geohashBounds:r,level:s}=e;let i=this._root;for(;null!==i;){const e=i.depth,n=i.xNode,o=i.yNode;if(e>=s){t.push(i),i=i.next;continue}const a=Math.ceil((e+1)/2),h=Math.floor((e+1)/2),u=1-e%2,l=30-(3*a+2*h),d=30-(2*a+3*h),c=~((1<<l)-1),_=~((1<<d)-1),p=(r.xLL&c)>>l,f=(r.yLL&_)>>d,m=(r.xTR&c)>>l,y=(r.yTR&_)>>d,g=n<<3*u+2*(1-u),x=o<<2*u+3*(1-u),v=g+8*u+4*(1-u),I=x+4*u+8*(1-u),b=Math.max(g,p),T=Math.max(x,f),w=Math.min(v,m),S=Math.min(I,y);let M=null,A=null;for(let e=T;e<=S;e++)for(let t=b;t<=w;t++){const r=t-g+(e-x)*(8*u+4*(1-u)),s=i.children[r];s&&(M||(M=s,M.next=i.next),A&&(A.next=s),A=s,s.next=i.next)}i=M||i.next}return t}}var D=r(38976);class G extends D.n{constructor(e){super(e),this._tree=new B(this._options.fields)}get usedMemory(){return this._tree.usedMemory}put(e){throw new Error("Geohash tree does not support put")}putBounded(e,t,r){const{geohashLevel:s,spatialReference:i}=this._options,n=function(e,t,r,s){const i=[e.xmin,e.ymin,e.xmax,e.ymax],n=w.A.fromExtent((0,M.w1)(i,s)),o=(0,C.Cv)(n,s,S.A.WGS84,{extendedParams:{densificationStep:64*t}});if(!o)return null;const a=(0,F.Ye)(o,!1,!1),h=a.coords.filter((e,t)=>!(t%2)),u=a.coords.filter((e,t)=>t%2),l=Math.min(...h),d=Math.min(...u),c=Math.max(...h),_=Math.max(...u),p=P(l,d,r,S.A.WGS84),f=P(c,_,r,S.A.WGS84);return p&&f?{bounds:i,geohashBounds:{xLL:p[0],yLL:p[1],xTR:f[0],yTR:f[1]},level:r}:null}(t,r,s,i);null!=n&&this._tree.putBins(e,n)}_insert(e,t,r,s){const{geohashLevel:i,spatialReference:n}=this._options,o=P(t,r,i,n);o&&this._tree.insert(e,t,r,o[0],o[1],i,s)}}var W=r(68974),j=r(52350);class Y{size(){return this.reader.getSize()}get fields(){return this.reader.fields}invalidate(){this._aggregateIndex=null,this._aggregateIndexHash=null,this._spatialIndex=null}get usedMemory(){let e=0;return e+=this.reader.underlyingMemory,this._aggregateIndex&&(e+=this._aggregateIndex.usedMemory),this._spatialIndex&&(e+=this._spatialIndex.usedMemory),e}getObjectIds(){const e=this.reader.getCursor(),t=[];for(;e.next();)t.push(e.getObjectId());return t}registerOverrides(e){this.reader.registerOverrides(e),this.invalidate()}queryFeaturesInBounds(e){const t=this._getSpatialIndex().search(e);return j.e.from(this.reader,t)}getAggregateIndex(e){const t=JSON.stringify(e);if(t!==this._aggregateIndexHash){switch(this._aggregateIndexHash=t,e.type){case"grid":this._aggregateIndex=new W.H(e);break;case"geohash":this._aggregateIndex=new G(e)}this._aggregateIndex.insert(this.reader,this.isTiled)}return this._aggregateIndex}_getSpatialIndex(){return this._spatialIndex||(this._spatialIndex=I.fromReader(this.reader)),this._spatialIndex}}},73250(e,t,r){r.d(t,{y:()=>i});var s=r(69397);class i{static fromBuffer(e,t){return new i(e,t)}static create(e,t=4294967295){const r=new Uint32Array(Math.ceil(e/32));return new i(r,t)}constructor(e,t){this._mask=0,this._buf=e,this._mask=t}_getIndex(e){return Math.floor(e/32)}get usedMemory(){return(0,s.Qf)(this._buf)}has(e){const t=this._mask&e;return!!(this._buf[this._getIndex(t)]&1<<t%32)}hasRange(e,t){let r=e,s=t;for(;r%32&&r!==s;){if(this.has(r))return!0;r++}for(;s%32&&r!==s;){if(this.has(r))return!0;s--}if(r===s)return!1;for(let e=r/32;e!==s/32;e++)if(this._buf[e])return!0;return!1}set(e){const t=this._mask&e,r=this._getIndex(t),s=1<<t%32;this._buf[r]|=s}setRange(e,t){let r=e,s=t;for(;r%32&&r!==s;)this.set(r++);for(;s%32&&r!==s;)this.set(s--);if(r!==s)for(let e=r/32;e!==s/32;e++)this._buf[e]=4294967295}unset(e){const t=this._mask&e,r=this._getIndex(t),s=1<<t%32;this._buf[r]&=4294967295^s}resize(e){const t=this._buf,r=new Uint32Array(Math.ceil(e/32));r.set(t),this._buf=r}or(e){for(let t=0;t<this._buf.length;t++)this._buf[t]|=e._buf[t];return this}and(e){for(let t=0;t<this._buf.length;t++)this._buf[t]&=e._buf[t];return this}xor(e){for(let t=0;t<this._buf.length;t++)this._buf[t]^=e._buf[t];return this}ior(e){for(let t=0;t<this._buf.length;t++)this._buf[t]|=~e._buf[t];return this}iand(e){for(let t=0;t<this._buf.length;t++)this._buf[t]&=~e._buf[t];return this}ixor(e){for(let t=0;t<this._buf.length;t++)this._buf[t]^=~e._buf[t];return this}any(){for(let e=0;e<this._buf.length;e++)if(this._buf[e])return!0;return!1}copy(e){for(let t=0;t<this._buf.length;t++)this._buf[t]=e._buf[t];return this}clone(){return new i(this._buf.slice(),this._mask)}clear(){for(let e=0;e<this._buf.length;e++)this._buf[e]=0;return this}forEachSet(e){for(let t=0;t<this._buf.length;t++){let r=this._buf[t],s=32*t;if(r)for(;r;)1&r&&e(s),r>>>=1,s++}}countSet(){let e=0;return this.forEachSet(t=>{e++}),e}}},75538(e,t,r){r.d(t,{L:()=>a});var s=r(90708),i=r(92722),n=r(63664),o=r(92029);class a extends n.B{static createId(e,t){return`${e}.${t}`}static create(e,t,r,s){return new a(e,t,o.o.create(r),s)}constructor(e,t,r,s){super(r),this.gridX=e,this.gridY=t,this._worldUnitsPerCell=s,this._count=0,this._xWorldTotal=0,this._yWorldTotal=0,this._objectIds=new Set}get id(){return a.createId(this.gridX,this.gridY)}get containedObjectIds(){return this._objectIds}get count(){return this._count}get firstObjectId(){return this._objectIds.values().next().value}get centroidXWorld(){return this._xWorldTotal/this._count}get centroidYWorld(){return this._yWorldTotal/this._count}get usedMemory(){return 48}clone(){const e=new a(this.gridX,this.gridY,this._statistics.clone(),this._worldUnitsPerCell);return e._count=this._count,e._xWorldTotal=this._xWorldTotal,e._yWorldTotal=this._yWorldTotal,e._firstFeatureAttributes=this._firstFeatureAttributes,e._objectIds=new Set(this._objectIds),e}insert(e,t,r,s){0===this._count?this._firstFeatureAttributes=e.readAttributes():this._firstFeatureAttributes=null,this._count+=1,this._xWorldTotal+=r,this._yWorldTotal+=s,this._statistics.insert(e,t),this._objectIds.add(e.getObjectId())}merge(e){if(0!==e._count){this._count+=e._count,this._firstFeatureAttributes=e._firstFeatureAttributes,this._xWorldTotal+=e._xWorldTotal,this._yWorldTotal+=e._yWorldTotal,this._statistics.merge(e._statistics);for(const t of e._objectIds.values())this._objectIds.add(t)}}getCentroidX(e){return null==e?this.centroidXWorld:(0,s.IE)(e,this.centroidXWorld)}getCentroidY(e){return null==e?this.centroidYWorld:(0,s.B2)(e,this.centroidYWorld)}getGeometry(e,t){const r=this.gridX*this._worldUnitsPerCell,n=this.gridY*this._worldUnitsPerCell,o=new i.A([4],[r,n,r+this._worldUnitsPerCell,n,r+this._worldUnitsPerCell,n+this._worldUnitsPerCell,r,n+this._worldUnitsPerCell]);return null!=t?(0,s.Nl)(o,"esriGeometryPolygon",t):o}getCentroid(e){const t=new i.A([],[this.centroidXWorld,this.centroidYWorld]);return null!=e?(0,s.Nl)(t,"esriGeometryPoint",e):t}getGeometricCentroid(e,t){const r=this.gridX*this._worldUnitsPerCell+.5*this._worldUnitsPerCell,n=this.gridY*this._worldUnitsPerCell+.5*this._worldUnitsPerCell,o=new i.A([],[r,n]);return null!=t?(0,s.Nl)(o,"esriGeometryPoint",t):o}getAttributes(){const e={aggregateId:this.id};for(const t of this._statistics.values())e[t.field.name]=t.value;return null!=this._firstFeatureAttributes?{...e,...this._firstFeatureAttributes}:e}}},76357(e,t,r){r.d(t,{A:()=>u});var s=r(5482),i=r(66552),n=r(25482),o=r(91429),a=r(93223);const h=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let u=class extends n.o{constructor(e){super(e),this.name=null,this.type=null}};(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,s.Cg)([(0,a.e)(h),(0,o.MZ)({json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=(0,s.Cg)([(0,o.$K)("esri.layers.support.Domain")],u)},92029(e,t,r){r.d(t,{o:()=>o});var s=r(69397),i=r(50115);const n=Math.PI/180;class o{static create(e){return new o(e.map(e=>function(e){switch(e.statisticType){case"min":return new h(e);case"max":return new u(e);case"avg":return new d(e);case"avg_angle":return new c(e);case"sum":case"count":return new l(e);case"mode":return new _(e)}}(e)))}constructor(e){this._statistics=e}static get estimatedMemory(){return s.qK+4*s.qK}values(){return this._statistics.values()}insert(e,t){for(const r of this._statistics)r.insert(e,t)}merge(e){for(let t=0;t<this._statistics.length;t++){const r=this._statistics[t],s=e._statistics[t];if(r.field.name!==s.field.name)throw new Error("InternalError: Tried to merge incompatible statistics");r.merge(s)}}clone(){return new o(this._statistics.map(e=>e.clone()))}}class a{constructor(e){this.field=e}insert(e,t){if(!this.field.computed)return;const r=this.field.computed.read(e,t);(0,i.rZ)(r)||this._insertValue(r)}}class h extends a{constructor(){super(...arguments),this.type="min",this.value=Number.MAX_VALUE}_insertValue(e){this.value=Math.min(this.value,e)}merge(e){this.value=Math.min(this.value,e.value)}clone(){const e=new h(this.field);return e.value=this.value,e}}class u extends a{constructor(){super(...arguments),this.type="max",this.value=Number.MIN_VALUE}_insertValue(e){this.value=Math.max(this.value,e)}merge(e){this.value=Math.max(this.value,e.value)}clone(){const e=new u(this.field);return e.value=this.value,e}}class l extends a{constructor(){super(...arguments),this.type="sum",this.value=0}_insertValue(e){this.value+=e}merge(e){this.value+=e.value}clone(){const e=new l(this.field);return e.value=this.value,e}}class d extends a{constructor(){super(...arguments),this.type="avg",this._total=0,this._count=0}get value(){return this._total/this._count}_insertValue(e){this._total+=e,this._count+=1}merge(e){this._total+=e._total,this._count+=e._count}clone(){const e=new d(this.field);return e._total=this._total,e._count=this._count,e}}class c extends a{constructor(){super(...arguments),this.type="avg_angle",this._x=0,this._y=0,this._count=0}get value(){const e=this._x/this._count,t=this._y/this._count,r=180/Math.PI;return Math.atan2(t,e)*r}_insertValue(e){this._x=this._x+Math.cos(e*n),this._y=this._y+Math.sin(e*n),this._count+=1}merge(e){this._x+=e._x,this._y+=e._y,this._count+=e._count}clone(){const e=new c(this.field);return e._x=this._x,e._y=this._y,e._count=this._count,e}}class _ extends a{constructor(){super(...arguments),this._frequencies=new Map}get value(){let e,t=0;for(const[r,s]of this._frequencies.entries())s>t&&(t=s,e=r);return e}_insertValue(e){const t=this._frequencies.get(e);null!=t?this._frequencies.set(e,t+1):this._frequencies.set(e,1)}merge(e){for(const[t,r]of e._frequencies.entries()){const e=this._frequencies.get(t);null!=e?this._frequencies.set(t,e+r):this._frequencies.set(t,r)}}clone(){const e=new _(this.field);return e._frequencies=new Map(this._frequencies),e}}},97633(e,t,r){r.d(t,{P:()=>n});var s=r(69397),i=r(73250);class n{constructor(e){this._valid=i.y.create(e),this._data=new Array(e)}get usedMemory(){let e=this._valid.usedMemory;if(this._data.length>0){const t="string"==typeof this._data[0]?64:s.RS;e+=this._data.length*t}return e}has(e){return this._valid.has(e)}set(e,t){this._valid.set(e),this._data[e]=t}get(e){return this._data[e]}}},98453(e,t,r){r.d(t,{m:()=>s});const s=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"})},99996(e,t,r){r.d(t,{Y:()=>O});var s=r(66131),i=r(44208),n=r(69397),o=r(44729),a=r(15032),h=r(36745),u=r(70328),l=r(65864),d=r(32011),c=r(62577),_=r(27647),p=r(90708),f=r(43334),m=r(92722),y=r(98623),g=r(97633);const x=(0,i.A)("featurelayer-simplify-thresholds")??[.5,.5,.5,.5],v=x[0],I=x[1],b=x[2],T=x[3],w=(0,i.A)("featurelayer-simplify-payload-size-factors")??[1,2,4],S=w[0],M=w[1],A=w[2],F=(0,i.A)("featurelayer-simplify-mobile-factor")??2,C=(0,i.A)("esri-mobile"),P=4294967295;class O{constructor(e){this.metadata=e,this.type="FeatureSetReader",this._overrides=null,this._postQueryFilteredIds=new Set,this._joined=[],this._objectIdToIndex=null,this._boundsBuffer=[],this._caches=new Map,this.arcadeDeclaredClass="esri.arcade.Feature",this._contextTimeZone=null}destroy(){}[Symbol.dispose](){this.destroy()}getAreaSimplificationThreshold(e,t){let r=1;const s=C?F:1;t>4e6?r=A*s:t>1e6?r=M*s:t>5e5?r=S*s:t>1e5&&(r=s);let i=0;return e>4e3?i=T*r:e>2e3?i=b*r:e>100?i=I:e>15&&(i=v),i}getBounds(e){!function(e,t){if(!(e.length>t))for(;e.length<=t;)e.push(0)}(this._boundsBuffer,4*this.getIndex()+4);const t=this.getBoundsXMin();if(t===P||!isFinite(t))return!1;if(0===this.getBoundsXMin()){const t=this.readGeometryWorldSpace();if(t?.isPoint&&0===t.coords[0]&&0===t.coords[1])return(0,u.BI)(e,0,0,0,0),!0;if(!t)return this.setBoundsXMin(P),!1;let r=1/0,s=1/0,i=-1/0,n=-1/0;return t.forEachVertex((e,t)=>{r=Math.min(r,e),s=Math.min(s,t),i=Math.max(i,e),n=Math.max(n,t)}),this.setBoundsXMin(r),this.setBoundsYMin(s),this.setBoundsXMax(i),this.setBoundsYMax(n),(0,u.BI)(e,r,s,i,n),!0}const r=this.getBoundsXMin(),s=this.getBoundsYMin(),i=this.getBoundsXMax(),n=this.getBoundsYMax();return(0,u.BI)(e,r,s,i,n),!0}getBoundsXMin(){return this._boundsBuffer[4*this.getIndex()]}setBoundsXMin(e){this._boundsBuffer[4*this.getIndex()]=e}getBoundsYMin(){return this._boundsBuffer[4*this.getIndex()+1]}setBoundsYMin(e){this._boundsBuffer[4*this.getIndex()+1]=e}getBoundsXMax(){return this._boundsBuffer[4*this.getIndex()+2]}setBoundsXMax(e){this._boundsBuffer[4*this.getIndex()+2]=e}getBoundsYMax(){return this._boundsBuffer[4*this.getIndex()+3]}setBoundsYMax(e){this._boundsBuffer[4*this.getIndex()+3]=e}readAttributeAsTimestamp(e){const t=this.readAttribute(e);return"string"==typeof t?new Date(t).getTime():"number"==typeof t||null==t?t:null}readAttribute(e,t=!1){const r=this._readAttribute(e,t);if(void 0!==r)return r;for(const r of this._joined){r.setIndex(this.getIndex());const s=r._readAttribute(e,t);if(void 0!==s)return s}}readAttributes(){const e=this._readAttributes();for(const t of this._joined){t.setIndex(this.getIndex());const r=t._readAttributes();for(const t of Object.keys(r))e[t]=r[t]}return e}joinAttributes(e){this._joined.push(e)}registerOverrides(e){this._overrides=e}withoutOverrides(){const e=this.copy();return e._overrides=null,e}readOptimizedFeatureWorldSpace(){const e=this.readGeometryWorldSpace(),t=this.readAttributes(),r=this.readCentroidWorldSpace();return new f.Om(e,t,r,this.getObjectId(),this.getDisplayId())}readLegacyFeatureForDisplay(){const e=this.readCentroidForDisplay();return{attributes:this.readAttributes(),geometry:this.readLegacyGeometryForDisplay(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyFeatureWorldSpace(){const e=this.readCentroidWorldSpace();return{attributes:this.readAttributes(),geometry:this._readLegacyGeometryWorldSpace(),centroid:(e&&{x:e.coords[0],y:e.coords[1]})??null}}readLegacyGeometryForDisplay(){const e=this.readGeometryForDisplay();return(0,p.zv)(e,this.geometryType,!1,!1)}readXForDisplay(){return this._readX()}readYForDisplay(){return this._readY()}readXWorldSpace(){const e=this._readX(),t=this.getInTransform();return null==t?e:e*t.scale[0]+t.translate[0]}readYWorldSpace(){const e=this._readY(),t=this.getInTransform();return null==t?e:t.translate[1]-e*t.scale[1]}readGeometryForDisplay(){const e=this._readGeometryDeltaDecoded(!0);if(!e){const e=this._createDeltaQuantizedGeometryFromServerCentroid();return e?e.deltaDecode():null}return e}readGeometryForDisplayTransformed(e){let t=this.readGeometryForDisplay();if(t&&"esriGeometryPolyline"===this.metadata.geometryType&&(t=(0,p.kz)(t,this.metadata.geometryType,e.scale[0])),t&&(t=(0,p.hK)(t,e,this.metadata.geometryType)),!t){const t=this.readCentroidForDisplay();if(!t)return null;const r=(0,c.IE)(e,t.coords[0]),s=(0,c.B2)(e,t.coords[1]);return this._createDeltaQuantizedExtrudedGeometry(r,s).deltaDecode()}return t}readGeometryWorldSpace(){let e=this._readGeometry();if(e||(e=this._createDeltaQuantizedGeometryFromServerCentroid()),!e)return null;const t=e.clone(),r=this.getInTransform();return null!=r&&(0,p.aQ)(t,r),t}readCentroidForDisplay(){const e=this.readGeometryForDisplay();return e?this._computeDisplayCentroid(e):this._readServerCentroid()}readCentroidWorldSpace(){const e=this.readGeometryForDisplay(),t=e?this._computeDisplayCentroid(e):this._readServerCentroid();if(!t)return null;const r=t.clone(),s=this.getInTransform();return null!=s&&(0,p.aQ)(r,s),r}setCache(e){let t=this._caches.get(e);null==t&&(t=new g.P(this.getSize()),this._caches.set(e,t)),this._activeCache=t}setCachedValue(e){this._activeCache.set(this.getIndex(),e)}hasCachedValue(){return this._activeCache.has(this.getIndex())}getCachedValue(){return this._activeCache.get(this.getIndex())}get underlyingMemory(){let e=0;e+=(0,n.Qf)(this._boundsBuffer);for(const t of this._caches.values())e+=t.usedMemory;return e}_readGeometryDeltaDecoded(e){const t=this._readGeometry(e);return"esriGeometryPoint"!==this.geometryType&&t&&this.getInTransform()?t.deltaDecode():t}get contextTimeZone(){return this._contextTimeZone}set contextTimeZone(e){this._contextTimeZone=e}readArcadeFeature(){return this}hasField(e){return this.fields.has(e)||this._joined.some(t=>t.hasField(e))}geometry(){const e=this.readGeometryWorldSpace(),t=(0,p.zv)(e,this.geometryType,this.hasZ,this.hasM),r=(0,l.rS)(t);if(r){if(!this.metadata.outSpatialReference)throw new Error("InternalError: Expected spatial reference to be defined");r.spatialReference=this.metadata.outSpatialReference}return r}autocastArcadeDate(e,t){return t&&t instanceof Date?this.isUnknownDateTimeField(e)?s.lY.unknownDateJSToArcadeDate(t):s.lY.dateJSAndZoneToArcadeDate(t,this.contextTimeZone??y.qU):t}isUnknownDateTimeField(e){return this.metadata.fieldsIndex.getTimeZone(e)===y.L5}field(e){let t=this.fields.get(e);if(t)switch(t.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(this.readAttribute(e,!1));case"time-only":case"esriFieldTypeTimeOnly":return a.k.fromReader(this.readAttribute(e,!1));case"esriFieldTypeTimestampOffset":case"timestamp-offset":return s.lY.fromReaderAsTimeStampOffset(this.readAttribute(e,!1));case"date":case"esriFieldTypeDate":return this.autocastArcadeDate(e,this.readAttribute(e,!0));default:return this.readAttribute(e,!1)}for(const r of this._joined)if(r.setIndex(this.getIndex()),t=r.fields.get(e),t)switch(t.type){case"date-only":case"esriFieldTypeDateOnly":return o.n.fromReader(r._readAttribute(e,!1));case"time-only":case"esriFieldTypeTimeOnly":return a.k.fromReader(r._readAttribute(e,!1));case"esriFieldTypeTimestampOffset":case"timestamp-offset":return s.lY.fromReaderAsTimeStampOffset(r._readAttribute(e,!1));case"date":case"esriFieldTypeDate":return this.autocastArcadeDate(e,r._readAttribute(e,!0));default:return this.readAttribute(e,!1)}throw new Error(`Field ${e} does not exist`)}setField(e,t){throw new Error("Unable to update feature attribute values, feature is readonly")}keys(){return this.fields.fields.map(e=>e.name)}isEmpty(){return this.fields.fields.length<=0&&null==this.geometry()}castToText(e=!1){if(!e)return JSON.stringify(this.readLegacyFeatureForDisplay());const t=this.readLegacyFeatureForDisplay();if(!t)return JSON.stringify(null);const r={geometry:t.geometry,attributes:{...t.attributes}};for(const e in r.attributes){const t=r.attributes[e];t instanceof Date&&(r.attributes[e]=t.getTime())}return JSON.stringify(r)}gdbVersion(){return null}fullSchema(){return this.metadata.arcadeSchema}castAsJson(e=null){return{attributes:this._readAttributes(),geometry:!0===e?.keepGeometryType?this.geometry():this.geometry()?.toJSON()??null}}castAsJsonAsync(e=null,t=null){return Promise.resolve(this.castAsJson(t))}applyPostQueryFilter(e){if(this._postQueryFilteredIds.clear(),!e)return;const t=this.getCursor();for(;t.next();)e.check(t,{currentUser:null})||this._postQueryFilteredIds.add(t.getObjectId())}_getExists(){if(this._overrides){const e=this.getObjectId();return!this._overrides.hasOverride(e)}return!this._postQueryFilteredIds.has(this.getObjectId())}_computeDisplayCentroid(e){if(null==this.getInTransform())return(0,_.Q)(e);const t=h.z.fromOptimized(e,this.geometryType);t.yFactor*=-1;const r=(0,d.d)(t);return r?(r[1]*=-1,new m.A([],r)):null}copyInto(e){e._joined=this._joined,e._overrides=this._overrides,e._objectIdToIndex=this._objectIdToIndex,e._boundsBuffer=this._boundsBuffer,e._activeCache=this._activeCache,e._caches=this._caches,e._contextTimeZone=this._contextTimeZone,e._postQueryFilteredIds=this._postQueryFilteredIds}_readLegacyGeometryWorldSpace(){const e=this.readGeometryWorldSpace();return(0,p.zv)(e,this.geometryType,!1,!1)}_createDeltaQuantizedGeometryFromServerCentroid(){const e=this._readServerCentroid();if(!e)return null;const[t,r]=e.coords;return this._createDeltaQuantizedExtrudedGeometry(t,r)}_createDeltaQuantizedExtrudedGeometry(e,t){return"esriGeometryPolyline"===this.geometryType?this._createDeltaQuantizedExtrudedLine(e,t):this._createDeltaQuantizedExtrudedQuad(e,t)}_createDeltaQuantizedExtrudedQuad(e,t){return new m.A([5],[e-1,t,1,-1,1,1,-1,1,-1,-1])}_createDeltaQuantizedExtrudedLine(e,t){return new m.A([2],[e-1,t+1,1,-1])}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9573],{159(e,t,r){r.d(t,{A:()=>a});var n,l=r(5482),i=r(69622),s=r(91429),o=r(99157);let a=n=class extends i.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new n;for(let t=this.steps.length-1;t>=0;t--){const r=this.steps[t];e.steps.push(r.getInverse())}return e}};(0,l.Cg)([(0,s.MZ)({type:[o.A],nonNullable:!0})],a.prototype,"steps",void 0),a=n=(0,l.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},8303(e,t,r){r.d(t,{A:()=>A});var n=r(5482),l=r(92602),i=r(70333),s=r(11254),o=r(60999),a=r(49186),u=r(53966),c=r(97768),p=r(74887),f=r(84952),h=r(91429),d=r(77548),g=r(20655),y=r(80812),m=r(41318),w=r(10407),v=r(36005),M=r(43937);const A=e=>{const t=e;let A=class extends t{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,c.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}get portalItem(){return this._get("portalItem")}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new y.default({id:t.itemId,portal:r?.portal})}writePortalItem(e,t){e?.id&&(t.itemId=e.id)}async loadFromPortal(e,t){if(this.portalItem?.id)try{const{load:n}=await r.e(1204).then(r.bind(r,41204));return(0,p.Te)(t),await n({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,p.zf)(e)||u.A.getLogger(this).warn(`Failed to load layer (${this.title}, ${this.id}) portal item (${this.portalItem.id})\n ${e}`),e}}async finishLoadEditablePortalLayer(e){this._set("userHasEditingPrivileges",await this._fetchUserHasEditingPrivileges(e).catch(e=>((0,p.QP)(e),!0)))}async setUserPrivileges(e,t){if(!l.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:n},content:{updateItem:l}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",n),this._set("userHasUpdateItemPrivileges",l)}catch(e){(0,p.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const n=!i.id?.findCredential(this.url),l=e===r.id;if(l&&r.portal.user)return this._getUserPrivileges(r,n);let s,o;if(l)s=r.portal.url;else try{s=await(0,d.wI)(this.url,t)}catch(e){(0,p.QP)(e)}if(!s||!(0,f.b8)(s,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;o=await(i.id?.getCredential(`${s}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,p.QP)(e)}const a=!0,u=!1,c=!1;if(!o)return{features:{edit:a,fullEdit:u},content:{updateItem:c}};try{if(l?await r.reload():(r=new y.default({id:e,portal:{url:s}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,n)}catch(e){(0,p.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:c}}}_getUserPrivileges(e,t){const r=(0,w.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,p.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?i.id?.findCredential(this.url):null;if(!t)return!0;const r=I.credential===t?I.user:await this._fetchEditingUser(e);return I.credential=t,I.user=r,null==r?.privileges||r.privileges.includes("features:user:edit")}async _fetchEditingUser(e){const t=this.portalItem?.portal?.user;if(t)return t;const r=i.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const n=`${r.owningSystemUrl}/sharing/rest`,l=g.A.getDefault();if(l&&l.loaded&&(0,f.S8)(l.restUrl)===(0,f.S8)(n))return l.user;const a=`${n}/community/self`,u=null!=e?e.signal:null,c=await(0,o.Ke)((0,s.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return c.ok?m.A.fromJSON(c.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,n=this.portalItem?.id&&(this.portalItem.portal||g.A.getDefault());return r&&n&&!(0,f.ut)(n.restUrl,r.restUrl)?(t.messages&&t.messages.push(new a.A("layer:cross-portal",`The layer '${this.title} (${this.id})' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save, set layer.portalItem to null or save to the same portal as the item associated with the layer`,{layer:this})),null):super.write(e,{...t,layer:this})}};return(0,n.Cg)([(0,h.MZ)({type:y.default})],A.prototype,"portalItem",null),(0,n.Cg)([(0,v.w)("web-document","portalItem",["itemId"])],A.prototype,"readPortalItem",null),(0,n.Cg)([(0,M.K)("web-document","portalItem",{itemId:{type:String}})],A.prototype,"writePortalItem",null),(0,n.Cg)([(0,h.MZ)({clonable:!1})],A.prototype,"resourceReferences",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],A.prototype,"userHasEditingPrivileges",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],A.prototype,"userHasFullEditingPrivileges",void 0),(0,n.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],A.prototype,"userHasUpdateItemPrivileges",void 0),A=(0,n.Cg)([(0,h.$K)("esri.layers.mixins.PortalLayer")],A),A},I={credential:null,user:null}},9762(e,t,r){r.r(t),r.d(t,{projectBuffer:()=>l});var n=r(49208);function l(e,t,r,l,i,s,o=Math.floor(e.length/3)){const a=(0,n.jd)(t,i);if(null==a)return!1;if(a===n.pO){if(e===l&&r===s)return!0;const t=r+3*o;for(let n=r,i=s;n<t;n++,i++)l[i]=e[n]??0;return!0}const u=r+3*o;for(let t=r,n=s;t<u;t+=3,n+=3)a(e,t,l,n);return!0}},10407(e,t,r){r.d(t,{It:()=>h,LG:()=>s,OM:()=>u,Sm:()=>c,Y:()=>o,bK:()=>a,mm:()=>f,sQ:()=>p});var n=r(91218),l=r(16930),i=r(28735);function s(e,t){if(!o(e,t)){const r=e.typeKeywords;r?r.push(t):e.typeKeywords=[t]}}function o(e,t){return!!e.typeKeywords?.includes(t)}function a(e){return o(e,f.HOSTED_SERVICE)}function u(e,t){const r=e.typeKeywords;if(r){const e=r.indexOf(t);e>-1&&r.splice(e,1)}}function c(e,t,r){r?s(e,t):u(e,t)}async function p(e){const t=e.clone().normalize();let r;if(t.length>1)for(const e of t)r?e.width>r.width&&(r=e):r=e;else r=t[0];return async function(e){const t=e.spatialReference;if(t.isWGS84)return e.clone();if(t.isWebMercator)return(0,i.ci)(e);const r=l.A.WGS84;return await(0,n.initializeProjection)(t,r),(0,n.project)(e,r)}(r)}const f={CHARTS:"Charts",DYNAMIC:"Dynamic",DEVELOPER_BASEMAP:"DeveloperBasemap",GROUP_LAYER_MAP:"Map",HOSTED_SERVICE:"Hosted Service",JSAPI:"ArcGIS API for JavaScript",LOCAL_SCENE:"ViewingMode-Local",METADATA:"Metadata",MULTI_LAYER:"Multilayer",ORIENTED_IMAGERY_LAYER:"OrientedImageryLayer",SINGLE_LAYER:"Singlelayer",SUBTYPE_GROUP_LAYER:"SubtypeGroupLayer",SUBTYPE_GROUP_TABLE:"SubtypeGroupTable",TABLE:"Table",TILED_IMAGERY:"Tiled Imagery"};function h(e){const{portal:t,isOrgItem:r,itemControl:n}=e,l=t.user?.privileges;let i=!l||l.includes("features:user:edit"),s=!!r&&!!l?.includes("features:user:fullEdit");const o="update"===n||"admin"===n;return o?s=i=!0:s&&(i=!0),{features:{edit:i,fullEdit:s},content:{updateItem:o}}}},33446(e,t,r){r.d(t,{C:()=>s,m:()=>i});var n=r(49186),l=r(74887);async function i(e,t,r){let i;try{i=await createImageBitmap(e)}catch(e){throw new n.A("request:server",`Unable to load ${t}`,{url:t,error:e})}return(0,l.Te)(r),i}async function s(e,t,r,i,s){let o;try{o=await createImageBitmap(e)}catch(e){throw new n.A("request:server",`Unable to load tile ${t}/${r}/${i}`,{error:e,level:t,row:r,col:i})}return(0,l.Te)(s),o}},34403(e,t,r){r.d(t,{TP:()=>s});var n=r(79258);Math.PI;const l=n.$O.radius,i=n.$O.eccentricitySquared,s={a1:l*i,a2:l*i*l*i,a3:l*i*i/2,a4:l*i*l*i*2.5,a5:l*i+l*i*i/2,a6:1-i};n.$O.radius,n.$O.flattening,n.Sw.radius,n.Sw.flattening,n.sH.radius,n.sH.flattening,n.sH.radius},47314(e,t,r){r.r(t),r.d(t,{default:()=>P});var n,l=r(5482),i=r(11254),s=r(49186),o=r(25728),a=r(799),u=r(84952),c=r(91429),p=r(5443),f=r(86738),h=r(16930),d=r(4146),g=r(63074),y=r(16131),m=r(8303),w=r(54310),v=r(25036),M=r(33446),A=r(91806),I=r(87045),R=r(83703),C=r(36005),b=r(43937);let P=n=class extends((0,g.dM)((0,w.J)((0,v.j)((0,y.q)((0,m.A)((0,o.M)(d.A))))))){constructor(...e){super(...e),this.copyright="",this.fullExtent=new p.A(-20037508.342787,-20037508.34278,20037508.34278,20037508.342787,h.A.WebMercator),this.legendEnabled=!1,this.isReference=null,this.popupEnabled=!1,this.spatialReference=h.A.WebMercator,this.subDomains=null,this.tileInfo=new I.A({size:[256,256],dpi:96,format:"png8",compressionQuality:0,origin:new f.A({x:-20037508.342787,y:20037508.342787,spatialReference:h.A.WebMercator}),spatialReference:h.A.WebMercator,lods:[new A.A({level:0,scale:591657527.591555,resolution:156543.033928}),new A.A({level:1,scale:295828763.795777,resolution:78271.5169639999}),new A.A({level:2,scale:147914381.897889,resolution:39135.7584820001}),new A.A({level:3,scale:73957190.948944,resolution:19567.8792409999}),new A.A({level:4,scale:36978595.474472,resolution:9783.93962049996}),new A.A({level:5,scale:18489297.737236,resolution:4891.96981024998}),new A.A({level:6,scale:9244648.868618,resolution:2445.98490512499}),new A.A({level:7,scale:4622324.434309,resolution:1222.99245256249}),new A.A({level:8,scale:2311162.217155,resolution:611.49622628138}),new A.A({level:9,scale:1155581.108577,resolution:305.748113140558}),new A.A({level:10,scale:577790.554289,resolution:152.874056570411}),new A.A({level:11,scale:288895.277144,resolution:76.4370282850732}),new A.A({level:12,scale:144447.638572,resolution:38.2185141425366}),new A.A({level:13,scale:72223.819286,resolution:19.1092570712683}),new A.A({level:14,scale:36111.909643,resolution:9.55462853563415}),new A.A({level:15,scale:18055.954822,resolution:4.77731426794937}),new A.A({level:16,scale:9027.977411,resolution:2.38865713397468}),new A.A({level:17,scale:4513.988705,resolution:1.19432856685505}),new A.A({level:18,scale:2256.994353,resolution:.597164283559817}),new A.A({level:19,scale:1128.497176,resolution:.298582141647617}),new A.A({level:20,scale:564.248588,resolution:.14929107082380833}),new A.A({level:21,scale:282.124294,resolution:.07464553541190416}),new A.A({level:22,scale:141.062147,resolution:.03732276770595208}),new A.A({level:23,scale:70.5310735,resolution:.01866138385297604})]}),this.type="web-tile",this.urlTemplate=null,this.wmtsInfo=null}normalizeCtorArgs(e,t){return"string"==typeof e?{urlTemplate:e,...t}:e}load(e){const t=this.loadFromPortal({supportedTypes:["WMTS"]},e).then(()=>{let e="";if(this.urlTemplate)if(this.spatialReference.equals(this.tileInfo.spatialReference)){const t=new u.s0(this.urlTemplate);!(this.subDomains&&this.subDomains.length>0)&&t.authority?.includes("{subDomain}")&&(e="is missing 'subDomains' property")}else e="spatialReference must match tileInfo.spatialReference";else e="is missing the required 'urlTemplate' property value";if(e)throw new s.A("web-tile-layer:load",`WebTileLayer (title: '${this.title}', id: '${this.id}') ${e}`)});return this.addResolvingPromise(t),Promise.resolve(this)}get levelValues(){const e=[];if(!this.tileInfo)return null;for(const t of this.tileInfo.lods)e[t.level]=t.levelValue||t.level;return e}get loaded(){return super.loaded}readSpatialReference(e,t){return e||h.A.fromJSON(t.fullExtent?.spatialReference)}get tileServers(){if(!this.urlTemplate)return null;const e=[],{urlTemplate:t,subDomains:r}=this,n=new u.s0(t),l=n.scheme?n.scheme+"://":"//",i=l+n.authority+"/",s=n.authority;if(s?.includes("{subDomain}")){if(r&&r.length>0&&s.split(".").length>1)for(const t of r)e.push(l+s.replaceAll(/\{subDomain\}/gi,t)+"/")}else e.push(i);return e.map(u.Il)}get urlPath(){if(!this.urlTemplate)return null;const e=this.urlTemplate,t=new u.s0(e),r=(t.scheme?t.scheme+"://":"//")+t.authority+"/";return e.slice(r.length)}readUrlTemplate(e,t){return e||t.templateUrl}writeUrlTemplate(e,t){(0,u.BQ)(e)&&(e="https:"+e),e&&(e=e.replaceAll(/\{z\}/gi,"{level}").replaceAll(/\{x\}/gi,"{col}").replaceAll(/\{y\}/gi,"{row}"),e=(0,u.S8)(e)),t.templateUrl=e}fetchTile(e,t,r,n={}){const{signal:l}=n,s=this.getTileUrl(e,t,r),o={responseType:"image",signal:l,query:{...this.refreshParameters}};return(0,i.A)(s,o).then(e=>e.data)}async fetchImageBitmapTile(e,t,r,l={}){const{signal:s}=l;if(this.fetchTile!==n.prototype.fetchTile){const n=await this.fetchTile(e,t,r,l);return(0,M.C)(n,e,t,r,s)}const o=this.getTileUrl(e,t,r),a={responseType:"blob",signal:s,query:{...this.refreshParameters}},{data:u}=await(0,i.A)(o,a);return(0,M.C)(u,e,t,r,s)}getTileUrl(e,t,r){const{levelValues:n,tileServers:l,urlPath:i}=this;if(!n||!l||!i)return"";const s=n[e];return l[t%l.length]+(0,a.HC)(i,{level:s,z:s,col:r,x:r,row:t,y:t})}};(0,l.Cg)([(0,c.MZ)({type:String,value:"",json:{write:!0}})],P.prototype,"copyright",void 0),(0,l.Cg)([(0,c.MZ)({type:p.A,json:{write:!0},nonNullable:!0})],P.prototype,"fullExtent",void 0),(0,l.Cg)([(0,c.MZ)({readOnly:!0,json:{read:!1,write:!1}})],P.prototype,"legendEnabled",void 0),(0,l.Cg)([(0,c.MZ)({type:["show","hide"]})],P.prototype,"listMode",void 0),(0,l.Cg)([(0,c.MZ)({json:{read:!0,write:!0}})],P.prototype,"blendMode",void 0),(0,l.Cg)([(0,c.MZ)()],P.prototype,"levelValues",null),(0,l.Cg)([(0,c.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],P.prototype,"isReference",void 0),(0,l.Cg)([(0,c.MZ)({type:["WebTiledLayer"],value:"WebTiledLayer"})],P.prototype,"operationalLayerType",void 0),(0,l.Cg)([(0,c.MZ)({readOnly:!0,json:{read:!1,write:!1}})],P.prototype,"popupEnabled",void 0),(0,l.Cg)([(0,c.MZ)({type:h.A})],P.prototype,"spatialReference",void 0),(0,l.Cg)([(0,C.w)("spatialReference",["spatialReference","fullExtent.spatialReference"])],P.prototype,"readSpatialReference",null),(0,l.Cg)([(0,c.MZ)({type:[String],json:{write:!0}})],P.prototype,"subDomains",void 0),(0,l.Cg)([(0,c.MZ)({type:I.A,json:{write:!0}})],P.prototype,"tileInfo",void 0),(0,l.Cg)([(0,c.MZ)({readOnly:!0})],P.prototype,"tileServers",null),(0,l.Cg)([(0,c.MZ)({json:{read:!1}})],P.prototype,"type",void 0),(0,l.Cg)([(0,c.MZ)()],P.prototype,"urlPath",null),(0,l.Cg)([(0,c.MZ)({type:String,json:{origins:{"portal-item":{read:{source:"url"}}}}})],P.prototype,"urlTemplate",void 0),(0,l.Cg)([(0,C.w)("urlTemplate",["urlTemplate","templateUrl"])],P.prototype,"readUrlTemplate",null),(0,l.Cg)([(0,b.K)("urlTemplate",{templateUrl:{type:String}})],P.prototype,"writeUrlTemplate",null),(0,l.Cg)([(0,c.MZ)({type:R.x,json:{write:!0}})],P.prototype,"wmtsInfo",void 0),P=n=(0,l.Cg)([(0,c.$K)("esri.layers.WebTileLayer")],P)},49208(e,t,r){r.d(t,{Tp:()=>p,jd:()=>c,pO:()=>h,w5:()=>u});var n=r(34727),l=r(86211),i=r(73941),s=r(79258),o=r(34403),a=r(21325);const u={2:{5:h,7:null,9:null,10:h,1:A,6:null,8:null,0:null,3:g,11:y,2:h,4:P},5:{5:h,7:null,9:null,10:h,1:A,6:null,8:null,0:null,3:g,11:y,2:h,4:P},7:{5:null,7:h,9:null,10:h,1:null,6:M,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:h,10:h,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:d,7:null,9:null,10:d,1:function(e,t,r,n){const l=e[t]/E,i=j-2*Math.atan(Math.exp(-e[t+1]/E)),s=E+(e[t+2]??0),o=Math.cos(i)*s;r[n]=Math.cos(l)*o,r[n+1]=Math.sin(l)*o,r[n+2]=Math.sin(i)*s},6:null,8:null,0:null,3:h,11:function(e,t,r,n){d(e,t,r,n),y(r,n,r,n)},2:d,4:function(e,t,r,n){d(e,t,r,n),P(r,n,r,n)}},4:{5:T,7:null,9:null,10:T,1:function(e,t,r,n){T(e,t,r,n),A(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){T(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){T(e,t,r,n),y(r,n,r,n)},2:T,4:h},1:{5:b,7:null,9:null,10:b,1:h,6:null,8:null,0:null,3:function(e,t,r,n){b(e,t,r,n),g(r,n,r,n)},11:function(e,t,r,n){b(e,t,r,n),y(r,n,r,n)},2:b,4:function(e,t,r,n){b(e,t,r,n),P(r,n,r,n)}},6:{5:null,7:C,9:null,10:C,1:null,6:h,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:R,10:R,1:null,6:null,8:h,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:h,3:null,11:null,2:null,4:null},10:{5:h,7:h,9:h,10:h,1:A,6:M,8:v,0:null,3:g,11:y,2:h,4:P},11:{5:m,7:null,9:null,10:m,1:function(e,t,r,n){m(e,t,r,n),A(r,n,r,n)},6:null,8:null,0:null,3:function(e,t,r,n){m(e,t,r,n),g(r,n,r,n)},11:h,2:m,4:function(e,t,r,n){m(e,t,r,n),P(r,n,r,n)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(x.source.spatialReference===e&&x.dest.spatialReference===t)return x;const r=f(e,x.source),n=f(t,x.dest);return 0===r&&0===n?(0,a.aI)(e,t)?x.projector=h:x.projector=null:x.projector=u[r][n],x}function f(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,l.GA)(e,1)),(0,i.jA)(e)?t.spatialReferenceId=1:(0,a.oT)(e)?t.spatialReferenceId=2:(0,a.K8)(e)?t.spatialReferenceId=3:(0,a.r1)(e)?t.spatialReferenceId=11:e.wkt===i.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===i.FY.wkt?t.spatialReferenceId=6:e.wkt===i.LJ.wkt?t.spatialReferenceId=8:(0,i.q8)(e)?t.spatialReferenceId=7:(0,i.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function h(e,t,r,n){e!==r&&(r[n++]=e[t++],r[n++]=e[t++],r[n]=e[t]??0)}function d(e,t,r,n){r[n]=_*(e[t]/E),r[n+1]=_*(j-2*Math.atan(Math.exp(-e[t+1]/E))),r[n+2]=e[t+2]??0}function g(e,t,r,l){!function(e,t,r,l,i){const s=.4999999*Math.PI,o=(0,n.qE)(S*e[t+1],-s,s),a=Math.sin(o);r[l++]=S*e[t]*i.radius,r[l++]=i.halfSemiMajorAxis*Math.log((1+a)/(1-a)),r[l]=e[t+2]??0}(e,t,r,l,s.$O)}function y(e,t,r,n){r[n]=e[t]*L,r[n+1]=e[t+1]*L,r[n+2]=e[t+2]??0}function m(e,t,r,n){r[n]=e[t]*Z,r[n+1]=e[t+1]*Z,r[n+2]=e[t+2]??0}function w(e,t,r,n,l){const i=l+(e[t+2]??0),s=S*e[t],o=S*e[t+1],a=Math.cos(o)*i;r[n]=Math.cos(s)*a,r[n+1]=Math.sin(s)*a,r[n+2]=Math.sin(o)*i}function v(e,t,r,n){w(e,t,r,n,s.Sw.radius)}function M(e,t,r,n){w(e,t,r,n,s.sH.radius)}function A(e,t,r,n){w(e,t,r,n,s.$O.radius)}function I(e,t,r,l,i){const s=e[t],o=e[t+1],a=e[t+2]??0,u=Math.sqrt(s*s+o*o+a*a),c=(0,n.YN)(a/(0===u?1:u)),p=Math.atan2(o,s);r[l++]=_*p,r[l++]=_*c,r[l]=u-i}function R(e,t,r,n){I(e,t,r,n,s.Sw.radius)}function C(e,t,r,n){I(e,t,r,n,s.sH.radius)}function b(e,t,r,n){I(e,t,r,n,s.$O.radius)}function P(e,t,r,n){!function(e,t,r,n,l){const i=S*e[t],s=S*e[t+1],o=e[t+2]??0,a=Math.sin(s),u=Math.cos(s),c=l.radius/Math.sqrt(1-l.eccentricitySquared*a*a);r[n++]=(c+o)*u*Math.cos(i),r[n++]=(c+o)*u*Math.sin(i),r[n++]=(c*(1-l.eccentricitySquared)+o)*a}(e,t,r,n,s.$O)}function T(e,t,r,n){const l=o.TP,i=e[t],a=e[t+1],u=e[t+2]??0;let c,p,f,h,d,g,y,m,w,v,M,A,I,R,C,b,P,T,x,S,j;c=Math.abs(u),p=i*i+a*a,f=Math.sqrt(p),h=p+u*u,d=Math.sqrt(h),S=Math.atan2(a,i),g=u*u/h,y=p/h,R=l.a2/d,C=l.a3-l.a4/d,y>.3?(m=c/d*(1+y*(l.a1+R+g*C)/d),x=Math.asin(m),v=m*m,w=Math.sqrt(1-v)):(w=f/d*(1-g*(l.a5-R-y*C)/d),x=Math.acos(w),v=1-w*w,m=Math.sqrt(v)),M=1-s.$O.eccentricitySquared*v,A=s.$O.radius/Math.sqrt(M),I=l.a6*A,R=f-A*w,C=c-I*m,P=w*R+m*C,b=w*C-m*R,T=b/(I/M+P),x+=T,j=P+b*T/2,u<0&&(x=-x),r[n++]=_*S,r[n++]=_*x,r[n]=j}const x={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:h},S=(0,n.kU)(1),_=(0,n.KJ)(1),j=.5*Math.PI,E=s.$O.radius,L=E*Math.PI/180,Z=180/(E*Math.PI)},60999(e,t,r){r.d(t,{DZ:()=>d,Ke:()=>h,Tj:()=>c,UT:()=>g,aD:()=>m,jJ:()=>u});var n=r(5482),l=r(69622),i=r(97768),s=r(74887),o=r(10107),a=r(64108);function u(e,t,r){return(0,s.Lx)(e.map((e,n)=>t.apply(r,[e,n])))}async function c(e,t,r){return(await(0,s.Lx)(e.map((e,n)=>t.apply(r,[e,n])))).map(e=>e.value)}function p(e){return{ok:!0,value:e}}function f(e){return{ok:!1,error:e}}async function h(e){if(null==e)return{ok:!1,error:new Error("no promise provided")};try{return p(await e)}catch(e){return f(e)}}async function d(e){try{return p(await e)}catch(e){return(0,s.QP)(e),f(e)}}function g(e,t){return new y(e,t)}let y=class extends l.A{get value(){return null!=(e=this._result)&&!0===e.ok?e.value:null;var e}get error(){return null!=(e=this._result)&&!1===e.ok?e.error:null;var e}get finished(){return null!=this._result}constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=(0,i.DC)(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;const{signal:r}=this._abortController;this.promise=e(r),this.promise.then(e=>{this._result=p(e),this._cleanup()},e=>{this._result=f(e),this._cleanup()}),this._abortHandle=(0,s.u7)(t,this.abort)}normalizeCtorArgs(){return{}}destroy(){this.abort()}_cleanup(){this._abortHandle=(0,i.xt)(this._abortHandle),this._abortController=null}};(0,n.Cg)([(0,o.MZ)()],y.prototype,"value",null),(0,n.Cg)([(0,o.MZ)()],y.prototype,"error",null),(0,n.Cg)([(0,o.MZ)()],y.prototype,"finished",null),(0,n.Cg)([(0,o.MZ)()],y.prototype,"promise",void 0),(0,n.Cg)([(0,o.MZ)()],y.prototype,"_result",void 0),y=(0,n.Cg)([(0,a.$)("esri.core.asyncUtils.ReactiveTask")],y);class m{constructor(){this._sequence=Promise.resolve()}async acquire(){let e;this._sequence=new Promise(t=>{e=this._sequence.then(()=>t,()=>t)});const t=await e;return{[Symbol.dispose]:t}}async run(e){const t={stack:[],error:void 0,hasError:!1};try{return(0,n.mS)(t,await this.acquire(),!1),await e()}catch(e){t.error=e,t.hasError=!0}finally{(0,n.hk)(t)}}}},69540(e,t,r){r.d(t,{OU:()=>c,Pw:()=>p});var n=r(5482),l=r(69622),i=(r(44208),r(4718)),s=(r(53966),r(97768)),o=r(88620),a=r(64108);const u=Symbol("ClonableMixin"),c=e=>{var t;const r=e;let l=class extends r{constructor(){super(...arguments),this[t]=!0}static{t=u}clone(e){const t=(0,o.oY)(this);(0,s.Lw)(t,"unable to clone instance of non-accessor class");const r=t.metadata,n=t.store,l={},a=new Map;for(const t in r){const s=r[t],o=n?.originOf(t),u=s.clonable;if(s.readOnly||!1===u||7!==o&&0!==o&&5!==o&&4!==o)continue;const c=this[t];let p=null;if("function"==typeof u)p=u(c,e);else if("reference"===u)p=c;else if(p=(0,i.TU)(c,e),null!=c&&null==p)continue;0===o?a.set(t,p):l[t]=p}const u=new(0,Object.getPrototypeOf(this).constructor)(l);if(a.size){const e=(0,o.oY)(u)?.store;if(e)for(const[t,r]of a)e.set(t,r,0)}return u}};return l=(0,n.Cg)([(0,a.$)("esri.core.Clonable")],l),l},p=c(l.A)},72802(e,t,r){r.d(t,{U:()=>l});var n=r(19419);class l{constructor(e,t,r,l=(0,n.vt)()){this._level=e,this._row=t,this._col=r,this.extent=l}get id(){return this._id??=`${this.level}/${this.row}/${this.col}`,this._id}get level(){return this._level}set level(e){this._level=e,this._id=null}get row(){return this._row}set row(e){this._row=e,this._id=null}get col(){return this._col}set col(e){this._col=e,this._id=null}toJSON(){return{level:this._level,row:this._row,col:this._col,extent:this.extent}}static fromJSON(e){return new l(e.level,e.row,e.col,e.extent)}}},78553(e,t,r){r.d(t,{D:()=>i,p:()=>l});var n=r(56507);function l(e){const t=(0,n.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function i(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}},83703(e,t,r){r.d(t,{x:()=>a});var n,l=r(5482),i=r(25482),s=r(4718),o=r(91429);let a=n=class extends i.o{constructor(e){super(e)}clone(){return new n({customLayerParameters:(0,s.o8)(this.customLayerParameters),customParameters:(0,s.o8)(this.customParameters),layerIdentifier:this.layerIdentifier,tileMatrixSet:this.tileMatrixSet,url:this.url})}};(0,l.Cg)([(0,o.MZ)({json:{type:Object,write:!0}})],a.prototype,"customLayerParameters",void 0),(0,l.Cg)([(0,o.MZ)({json:{type:Object,write:!0}})],a.prototype,"customParameters",void 0),(0,l.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"layerIdentifier",void 0),(0,l.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"tileMatrixSet",void 0),(0,l.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"url",void 0),a=n=(0,l.Cg)([(0,o.$K)("esri.layers.support.WMTSLayerInfo")],a)},87045(e,t,r){r.d(t,{A:()=>v});var n,l=r(5482),i=r(66552),s=r(25482),o=r(86211),a=r(91429),u=r(56507),c=r(86738),p=r(16930),f=r(21325),h=r(28735),d=r(91806),g=r(72802),y=r(36005),m=r(43937);const w=new i.J({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let v=class extends s.o{static{n=this}static create(e={}){const{resolutionFactor:t=1,scales:r,size:l=256,spatialReference:i=p.A.WebMercator,numLODs:s=24}=e;if(!(0,f.fn)(i)){const e=[];if(r)for(let t=0;t<r.length;t++){const n=r[t];e.push(new d.A({level:t,scale:n,resolution:n}))}else{let t=5e-4;for(let r=s-1;r>=0;r--)e.unshift(new d.A({level:r,scale:t,resolution:t})),t*=2}return new n({dpi:96,lods:e,origin:new c.A(0,0,i),size:[l,l],spatialReference:i})}const a=(0,f.Vp)(i),u=e.origin?new c.A({x:e.origin.x,y:e.origin.y,spatialReference:i}):new c.A(a?{x:a.origin[0],y:a.origin[1],spatialReference:i}:{x:0,y:0,spatialReference:i}),h=1/(39.37*(0,o.GA)(i)*96),g=[];if(r)for(let e=0;e<r.length;e++){const t=r[e],n=t*h;g.push(new d.A({level:e,scale:t,resolution:n}))}else{let e=(0,f.EA)(i)?512/l*591657527.5917094:256/l*591657527.591555;const r=Math.ceil(s/t);g.push(new d.A({level:0,scale:e,resolution:e*h}));for(let n=1;n<r;n++){const r=e/2**t,l=r*h;g.push(new d.A({level:n,scale:r,resolution:l})),e=r}}return new n({dpi:96,lods:g,origin:u,size:[l,l],spatialReference:i})}constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.size=null,this.spatialReference=null}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const r=(0,f.Vp)(e);return e.isWrappable&&!!r&&Math.abs(r.origin[0]-t.x)<=r.dx}return!1}readOrigin(e,t){return c.A.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,r=0;const n=[],l=this._levelToLOD={};e&&(t=-1/0,r=1/0,e.forEach(e=>{n.push(e.scale),t=e.scale>t?e.scale:t,r=e.scale<r?e.scale:r,l[e.level]=e})),this._set("scales",n),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];const r=Math.floor(e),n=r+1;return t[r]/(t[r]/t[n])**(e-r)}scaleToZoom(e){const t=this.scales,r=t.length-1;let n=0;for(;n<r;n++){const r=t[n],l=t[n+1];if(r<=e)return n;if(l===e)return n+1;if(r>e&&l<e)return n+Math.log(r/e)/Math.log(r/l)}return n}tileAt(e,t,r,n){const l=this.lodAt(e);if(!l)return null;let i,s;if("number"==typeof t)i=t,s=r;else if((0,f.aI)(t.spatialReference,this.spatialReference))i=t.x,s=t.y,n=r;else{const e=(0,h.Cv)(t,this.spatialReference);if(null==e)return null;i=e.x,s=e.y,n=r}const o=l.resolution*this.size[0],a=l.resolution*this.size[1];return n??=new g.U(0,0,0),n.level=e,n.row=Math.floor((this.origin.y-s)/a+.001),n.col=Math.floor((i-this.origin.x)/o+.001),this.updateTileInfo(n),n}updateTileInfo(e,t=0){if(!("extent"in e))return!1;let r=this.lodAt(e.level);if(!r&&1===t){const t=this.lods[this.lods.length-1];t.level<e.level&&(r=t)}if(!r)return!1;const n=e.level-r.level,l=r.resolution*this.size[0]/2**n,i=r.resolution*this.size[1]/2**n;return e.extent[0]=this.origin.x+e.col*l,e.extent[1]=this.origin.y-(e.row+1)*i,e.extent[2]=e.extent[0]+l,e.extent[3]=e.extent[1]+i,!0}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const r=this.lodAt(t.level);if(null==r)return null;const{resolution:n}=r,l=n*this.size[0],i=n*this.size[1];return e[0]=this.origin.x+t.col*l,e[1]=this.origin.y-(t.row+1)*i,e[2]=e[0]+l,e[3]=e[1]+i,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return n.fromJSON(this.write({}))}getCompatibleForVTL(e){if(this.size[0]!==this.size[1]||256===this.size[0]&&512===e)return null;const t=(512===this.size[0]&&256===e?-1:0)+(this.spatialReference.isGeographic?1:0);if(this.size[0]===e&&0===t)return this;const r=[],l=this.lods.length-t;for(let e=0;e<l;e++){const n=e+t,{scale:l,resolution:i}=n>=0?this.lods[n]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};r.push(new d.A({level:e,scale:l,resolution:i}))}return new n({size:[e,e],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:r})}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let r=0;r<e.length;r++){const n=e[r];this._upsampleLevels[n.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/n.resolution:0},t=n}}};(0,l.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"compressionQuality",void 0),(0,l.Cg)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"dpi",void 0),(0,l.Cg)([(0,a.MZ)({type:String,json:{read:w.read,write:w.write,origins:{"web-scene":{read:!1,write:!1}}}})],v.prototype,"format",void 0),(0,l.Cg)([(0,a.MZ)({readOnly:!0})],v.prototype,"isWrappable",null),(0,l.Cg)([(0,a.MZ)({type:c.A,json:{write:!0}})],v.prototype,"origin",void 0),(0,l.Cg)([(0,y.w)("origin")],v.prototype,"readOrigin",null),(0,l.Cg)([(0,a.MZ)({type:[d.A],value:null,json:{write:!0}})],v.prototype,"lods",null),(0,l.Cg)([(0,a.MZ)({readOnly:!0})],v.prototype,"scales",void 0),(0,l.Cg)([(0,a.MZ)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],v.prototype,"size",void 0),(0,l.Cg)([(0,y.w)("size",["rows","cols"])],v.prototype,"readSize",null),(0,l.Cg)([(0,m.K)("size",{cols:{type:u.jz},rows:{type:u.jz}})],v.prototype,"writeSize",null),(0,l.Cg)([(0,a.MZ)({type:p.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),v=n=(0,l.Cg)([(0,a.$K)("esri.layers.support.TileInfo")],v)},91218(e,t,r){r.r(t),r.d(t,{canProjectWithoutEngine:()=>N,initializeProjection:()=>K,isEqualBaseGCS:()=>B,isLoaded:()=>j,isLoadedOrLoad:()=>E,isLoadedOrLoadFor:()=>L,load:()=>O,project:()=>U,projectAsync:()=>W,projectExtent:()=>ne,projectMany:()=>z,projectMultipoint:()=>J,projectOrLoad:()=>D,projectOrLoadMany:()=>$,projectPoint:()=>V,projectPolygon:()=>te,projectPolyline:()=>X,projectWithoutEngine:()=>F,requiresLoad:()=>Z,test:()=>H,tryProject:()=>k,unload:()=>q});var n=r(49186),l=r(74887),i=r(62788),s=r(95488),o=r(51850),a=r(21276),u=r(73941),c=r(5443),p=r(91075),f=r(48526),h=r(86738),d=r(39829),g=r(82799),y=r(16930),m=r(98764),w=r(159),v=r(9762),M=r(49208);function A(e,t,r,n,l,i){return I[0]=e,I[1]=t,I[2]=r,(0,v.projectBuffer)(I,n,0,l,i,0)}const I=(0,o.vt)();var R=r(21325),C=r(52006);let b=null,P=null,T=null,x=null,S={};const _=new s.I;function j(){return!!(P?.isLoaded()&&T?.isLoaded()&&x?.isLoaded())}function E(){return!!j()||((0,i.gc)(_),O(),!1)}function L(e,t){return!e||!t||N(e,t)||E()}function Z(e,t){return!N(e,t)&&!j()}async function O(e){null==b&&(b=Promise.all([r.e(3276).then(r.bind(r,83276)).then(e=>(P=e,P.load())),r.e(8377).then(r.bind(r,8377)).then(e=>(T=e,T.load())),r.e(2158).then(r.bind(r,12158)).then(e=>(x=e,x.load()))])),await b,(0,l.Te)(e),_.notify()}function U(e,t,r){return Array.isArray(e)?0===e.length?[]:((0,a.H)(e),z(e,e[0].spatialReference,t,r)):((0,a.f)(e),z([e],e.spatialReference,t,r)[0])}function z(e,t,r,n){if(null==t||null==r)return e;if(!e.some(e=>(0,C.Ed)(e))&&N(t,r,n))return e.map(e=>F(e,t,r));if(null==n?.geographicTransformation&&(0,u.jA)(t))return z(e.map(e=>F(e,t,y.A.WGS84)),y.A.WGS84,r,{zConversionDisabled:n?.zConversionDisabled});if(null==n?.geographicTransformation&&(0,u.jA)(r))return z(e,t,y.A.WGS84).map(e=>F(e,y.A.WGS84,r));if(!j())throw new G;if(!n?.geographicTransformation)if(n?.extendedParams)n={...n,geographicTransformation:x.getTransformation(t,r,n.areaOfInterestExtent)||new w.A};else if(!n?.areaOfInterestExtent){const e=function(e,t){return[e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??"",t.wkid?.toString()??"-1",t.wkt?.toString()??"",t.wkt2?.toString()??""].join()}(t,r);let l=S[e];l||(l=x.getTransformation(t,r)||new w.A,S[e]=l),n={geographicTransformation:l,zConversionDisabled:n?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?P.executeMany(e,r,n):T.executeMany(e,r,n)}function k(e,t,r){try{return U(e,t,r)}catch(e){return null}}function D(e,t){const r=$([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 $(e,t,r){if(!j())for(const r of e)if(null!=r&&!(0,R.aI)(r.spatialReference,t)&&(0,R.fn)(r.spatialReference)&&(0,R.fn)(t)&&!N(r.spatialReference,t))return(0,i.gc)(_),{pending:O(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,R.aI)(e.spatialReference,t)?e:(0,R.fn)(e.spatialReference)&&(0,R.fn)(t)?U(e,t,r):null)}}class G extends n.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function q(){b=null,P=null,T=null,x=null,S={}}const H={get loadPromise(){return b}};async function W(e,t,r){if((0,l.Te)(r),!e)return e;const n=$(Array.isArray(e)?e:[e],t,r);if(n.pending)return await n.pending,(0,l.Te)(r),W(e,t,r);const i=n.geometries??[];return Array.isArray(e)?i:i[0]}function N(e,t,r){return!(r?.areaOfInterestExtent||r?.extendedParams||r?.geographicTransformation)&&(!!(0,R.aI)(e,t)||(0,R.fn)(e)&&(0,R.fn)(t)&&!!(0,M.jd)(e,t))}function B(e,t){if((0,R.aI)(e,t))return!0;if(!(0,R.fn)(e)||!(0,R.fn)(t))return!1;const r=(0,R.oT)(e)||(0,R.K8)(e)||(0,R.x1)(e),n=(0,R.oT)(t)||(0,R.K8)(t)||(0,R.x1)(t);return r&&n}async function K(e,t,r,n){if(j())return(0,l.NO)(n);if(Array.isArray(e)){for(const{source:t,dest:r,options:l}of e)if(t&&r&&!N(t,r,l))return O(n)}else if(e&&t&&!N(e,t,r))return O(n);return(0,l.NO)(n)}function F(e,t,r){return e?"x"in e?Y(e,t,new h.A,r,0):"xmin"in e?le(e,t,new c.A,r,0):"rings"in e?re(e,t,new d.A,r,0):"paths"in e?ee(e,t,new g.A,r,0):"points"in e?Q(e,t,new f.A,r,0):null:null}function V(e,t,r=t.spatialReference,n=0){return null!=r&&null!=e.spatialReference&&null!=Y(e,e.spatialReference,t,r,n)}function Y(e,t,r,n,l){oe[0]=e.x,oe[1]=e.y;const i=e.z;return oe[2]=void 0!==i?i:l,(0,v.projectBuffer)(oe,t,0,oe,n,0)?(r.x=oe[0],r.y=oe[1],r.spatialReference=n,void 0!==i||(0,u.xP)(n)?(r.z=oe[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 J(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=Q(e,e.spatialReference,t,r,n)}function Q(e,t,r,n,l){const{points:i,hasZ:s,hasM:o}=e,a=[],u=i.length,c=[];for(const e of i)c.push(e[0],e[1],s?e[2]:l);if(!(0,v.projectBuffer)(c,t,0,c,n,0,u))return null;const p=se(s,n);for(let e=0;e<u;++e){const t=3*e,r=c[t],n=c[t+1];p&&o?a.push([r,n,c[t+2],i[e][3]]):p?a.push([r,n,c[t+2]]):o?a.push([r,n,i[e][2]]):a.push([r,n])}return r.points=a,r.spatialReference=n,r.hasZ=s,r.hasM=o,r}function X(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=ee(e,e.spatialReference,t,r,n)}function ee(e,t,r,n,l){const{paths:i,hasZ:s,hasM:o}=e,a=[];if(!ie(i,s??!1,o??!1,t,a,n,l))return null;const u=se(s,n);return r.paths=a,r.spatialReference=n,r.hasZ=u,r.hasM=o,r}function te(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=re(e,e.spatialReference,t,r,n)}function re(e,t,r,n,l){const{rings:i,hasZ:s,hasM:o}=e,a=[];if(!ie(i,s??!1,o??!1,t,a,n,l))return null;const u=se(s,n);return r.rings=a,r.spatialReference=n,r.hasZ=u,r.hasM=o,r}function ne(e,t,r=t.spatialReference,n=0){return null!=e.spatialReference&&null!=r&&null!=le(e,e.spatialReference,t,r,n)}function le(e,t,r,n,l){const{xmin:i,ymin:s,xmax:o,ymax:a,hasZ:u,hasM:c}=e;if(!A(i,s,u?e.zmin:l,t,oe,n))return null;const p=se(u,n);return r.xmin=oe[0],r.ymin=oe[1],p&&(r.zmin=oe[2]),A(o,a,u?e.zmax:l,t,oe,n)?(r.xmax=oe[0],r.ymax=oe[1],p&&(r.zmax=oe[2]),c&&(r.mmin=e.mmin,r.mmax=e.mmax),r.spatialReference=n,r):null}function ie(e,t,r,n,l,i,s=0){const o=new Array;for(const r of e)for(const e of r)o.push(e[0],e[1],t?e[2]:s);if(!(0,v.projectBuffer)(o,n,0,o,i,0))return!1;let a=0;l.length=0;const u=se(t,i);for(const t of e){const e=new Array;for(const n of t)u&&r?e.push([o[a++],o[a++],o[a++],n[3]]):u?e.push([o[a++],o[a++],o[a++]]):r?(e.push([o[a++],o[a++],n[2]]),a++):(e.push([o[a++],o[a++]]),a++);l.push(e)}return!0}function se(e,t){return e||(0,u.xP)(t)||(0,R.aI)(t,m.Y0)}const oe=(0,o.vt)()},91806(e,t,r){r.d(t,{A:()=>a});var n,l=r(5482),i=r(25482),s=r(91429),o=r(56507);let a=class extends i.o{static{n=this}constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new n({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,l.Cg)([(0,s.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],a.prototype,"cols",void 0),(0,l.Cg)([(0,s.MZ)({type:o.jz,json:{write:!0}})],a.prototype,"level",void 0),(0,l.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],a.prototype,"levelValue",void 0),(0,l.Cg)([(0,s.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],a.prototype,"origin",void 0),(0,l.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],a.prototype,"resolution",void 0),(0,l.Cg)([(0,s.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],a.prototype,"rows",void 0),(0,l.Cg)([(0,s.MZ)({type:Number,json:{write:!0}})],a.prototype,"scale",void 0),a=n=(0,l.Cg)([(0,s.$K)("esri.layers.support.LOD")],a)},98764(e,t,r){r.d(t,{GD:()=>s,Y0:()=>u,lO:()=>c});var n=r(73941),l=r(16930),i=r(21325);const s=new l.A(n.fv),o=new l.A(n.FY),a=new l.A(n.LJ),u=new l.A(n.Ro);function c(e){const t=p.get(e);if(t)return t;let r=s;if(e)if(e===o)r=o;else if(e===a)r=a;else{const t=e.wkid,n=e.latestWkid;if(null!=t||null!=n)(0,i.tl)(t)||(0,i.tl)(n)?r=o:((0,i.ZL)(t)||(0,i.ZL)(n))&&(r=a);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===f?r=o:e===h&&(r=a)}}}return p.set(e,r),r}const p=new Map,f=o.wkt.toUpperCase(),h=a.wkt.toUpperCase()},99157(e,t,r){r.d(t,{A:()=>o});var n,l=r(5482),i=r(69622),s=r(91429);let o=n=class extends i.A{constructor(e){super(e),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new n({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,l.Cg)([(0,s.MZ)()],o.prototype,"isInverse",void 0),(0,l.Cg)([(0,s.MZ)()],o.prototype,"wkt",void 0),(0,l.Cg)([(0,s.MZ)()],o.prototype,"wkid",void 0),o=n=(0,l.Cg)([(0,s.$K)("esri.geometry.operators.support.GeographicTransformationStep")],o)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6231],{159(n,e,t){t.d(e,{A:()=>a});var r,l=t(5482),o=t(69622),u=t(91429),i=t(99157);let a=r=class extends o.A{constructor(n){super(n),this.steps=[]}getInverse(){const n=new r;for(let e=this.steps.length-1;e>=0;e--){const t=this.steps[e];n.steps.push(t.getInverse())}return n}};(0,l.Cg)([(0,u.MZ)({type:[i.A],nonNullable:!0})],a.prototype,"steps",void 0),a=r=(0,l.Cg)([(0,u.$K)("esri.geometry.operators.support.GeographicTransformation")],a)},9762(n,e,t){t.r(e),t.d(e,{projectBuffer:()=>l});var r=t(49208);function l(n,e,t,l,o,u,i=Math.floor(n.length/3)){const a=(0,r.jd)(e,o);if(null==a)return!1;if(a===r.pO){if(n===l&&t===u)return!0;const e=t+3*i;for(let r=t,o=u;r<e;r++,o++)l[o]=n[r]??0;return!0}const s=t+3*i;for(let e=t,r=u;e<s;e+=3,r+=3)a(n,e,l,r);return!0}},24212(n,e,t){t.d(e,{$7:()=>i,B:()=>u,XF:()=>s,tW:()=>a,w7:()=>o});var r=t(56512),l=t(86211);function o(n,e){return function(n,e){return e?.mode?e.mode:function(n){return n?c:f}(n).mode}(null==n||(n.hasZ??!1),e)}function u(n,e,t){return t&&t.mode!==e?`${n} only support ${e} elevation mode`:null}function i(n,e,t){return t?.mode===e?`${n} do not support ${e} elevation mode`:null}function a(n,e){return null!=e?.featureExpressionInfo&&"0"!==e.featureExpressionInfo.expression?`${n} do not support featureExpressionInfo`:null}function s(n,e){e&&n.warn(".elevationInfo=",e)}t(16271),(0,r.B)((n,e,t)=>{if(!n)return 0;if("decimal-degrees"===e)return 0;const r="unknown"!==e&&e?e:"meters",o=(0,l.mq)(t);return o?(0,l.oU)(n,r,o):0});const c={mode:"absolute-height",offset:0},f={mode:"on-the-ground",offset:null}},34403(n,e,t){t.d(e,{TP:()=>u});var r=t(79258);Math.PI;const l=r.$O.radius,o=r.$O.eccentricitySquared,u={a1:l*o,a2:l*o*l*o,a3:l*o*o/2,a4:l*o*l*o*2.5,a5:l*o+l*o*o/2,a6:1-o};r.$O.radius,r.$O.flattening,r.Sw.radius,r.Sw.flattening,r.sH.radius,r.sH.flattening,r.sH.radius},49208(n,e,t){t.d(e,{Tp:()=>f,jd:()=>c,pO:()=>d,w5:()=>s});var r=t(34727),l=t(86211),o=t(73941),u=t(79258),i=t(34403),a=t(21325);const s={2:{5:d,7:null,9:null,10:d,1:I,6:null,8:null,0:null,3:g,11:m,2:d,4:k},5:{5:d,7:null,9:null,10:d,1:I,6:null,8:null,0:null,3:g,11:m,2:d,4:k},7:{5:null,7:d,9:null,10:d,1:null,6:y,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:d,10:d,1:null,6:null,8:R,0:null,3:null,11:null,2:null,4:null},3:{5:h,7:null,9:null,10:h,1:function(n,e,t,r){const l=n[e]/C,o=$-2*Math.atan(Math.exp(-n[e+1]/C)),u=C+(n[e+2]??0),i=Math.cos(o)*u;t[r]=Math.cos(l)*i,t[r+1]=Math.sin(l)*i,t[r+2]=Math.sin(o)*u},6:null,8:null,0:null,3:d,11:function(n,e,t,r){h(n,e,t,r),m(t,r,t,r)},2:h,4:function(n,e,t,r){h(n,e,t,r),k(t,r,t,r)}},4:{5:O,7:null,9:null,10:O,1:function(n,e,t,r){O(n,e,t,r),I(t,r,t,r)},6:null,8:null,0:null,3:function(n,e,t,r){O(n,e,t,r),g(t,r,t,r)},11:function(n,e,t,r){O(n,e,t,r),m(t,r,t,r)},2:O,4:d},1:{5:j,7:null,9:null,10:j,1:d,6:null,8:null,0:null,3:function(n,e,t,r){j(n,e,t,r),g(t,r,t,r)},11:function(n,e,t,r){j(n,e,t,r),m(t,r,t,r)},2:j,4:function(n,e,t,r){j(n,e,t,r),k(t,r,t,r)}},6:{5:null,7:v,9:null,10:v,1:null,6:d,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:A,10:A,1:null,6:null,8:d,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:d,3:null,11:null,2:null,4:null},10:{5:d,7:d,9:d,10:d,1:I,6:y,8:R,0:null,3:g,11:m,2:d,4:k},11:{5:w,7:null,9:null,10:w,1:function(n,e,t,r){w(n,e,t,r),I(t,r,t,r)},6:null,8:null,0:null,3:function(n,e,t,r){w(n,e,t,r),g(t,r,t,r)},11:d,2:w,4:function(n,e,t,r){w(n,e,t,r),k(t,r,t,r)}}};function c(n,e){return f(n,e)?.projector}function f(n,e){if(null==n||null==e)return null;if(P.source.spatialReference===n&&P.dest.spatialReference===e)return P;const t=p(n,P.source),r=p(e,P.dest);return 0===t&&0===r?(0,a.aI)(n,e)?P.projector=d:P.projector=null:P.projector=s[t][r],P}function p(n,e){return n?e.spatialReference===n?e.spatialReferenceId:(e.spatialReference=n,"metersPerUnit"in e&&(e.metersPerUnit=(0,l.GA)(n,1)),(0,o.jA)(n)?e.spatialReferenceId=1:(0,a.oT)(n)?e.spatialReferenceId=2:(0,a.K8)(n)?e.spatialReferenceId=3:(0,a.r1)(n)?e.spatialReferenceId=11:n.wkt===o.Ro.wkt?e.spatialReferenceId=4:4490===n.wkid?e.spatialReferenceId=5:n.wkt===o.FY.wkt?e.spatialReferenceId=6:n.wkt===o.LJ.wkt?e.spatialReferenceId=8:(0,o.q8)(n)?e.spatialReferenceId=7:(0,o.KQ)(n)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function d(n,e,t,r){n!==t&&(t[r++]=n[e++],t[r++]=n[e++],t[r]=n[e]??0)}function h(n,e,t,r){t[r]=T*(n[e]/C),t[r+1]=T*($-2*Math.atan(Math.exp(-n[e+1]/C))),t[r+2]=n[e+2]??0}function g(n,e,t,l){!function(n,e,t,l,o){const u=.4999999*Math.PI,i=(0,r.qE)(S*n[e+1],-u,u),a=Math.sin(i);t[l++]=S*n[e]*o.radius,t[l++]=o.halfSemiMajorAxis*Math.log((1+a)/(1-a)),t[l]=n[e+2]??0}(n,e,t,l,u.$O)}function m(n,e,t,r){t[r]=n[e]*q,t[r+1]=n[e+1]*q,t[r+2]=n[e+2]??0}function w(n,e,t,r){t[r]=n[e]*Z,t[r+1]=n[e+1]*Z,t[r+2]=n[e+2]??0}function M(n,e,t,r,l){const o=l+(n[e+2]??0),u=S*n[e],i=S*n[e+1],a=Math.cos(i)*o;t[r]=Math.cos(u)*a,t[r+1]=Math.sin(u)*a,t[r+2]=Math.sin(i)*o}function R(n,e,t,r){M(n,e,t,r,u.Sw.radius)}function y(n,e,t,r){M(n,e,t,r,u.sH.radius)}function I(n,e,t,r){M(n,e,t,r,u.$O.radius)}function x(n,e,t,l,o){const u=n[e],i=n[e+1],a=n[e+2]??0,s=Math.sqrt(u*u+i*i+a*a),c=(0,r.YN)(a/(0===s?1:s)),f=Math.atan2(i,u);t[l++]=T*f,t[l++]=T*c,t[l]=s-o}function A(n,e,t,r){x(n,e,t,r,u.Sw.radius)}function v(n,e,t,r){x(n,e,t,r,u.sH.radius)}function j(n,e,t,r){x(n,e,t,r,u.$O.radius)}function k(n,e,t,r){!function(n,e,t,r,l){const o=S*n[e],u=S*n[e+1],i=n[e+2]??0,a=Math.sin(u),s=Math.cos(u),c=l.radius/Math.sqrt(1-l.eccentricitySquared*a*a);t[r++]=(c+i)*s*Math.cos(o),t[r++]=(c+i)*s*Math.sin(o),t[r++]=(c*(1-l.eccentricitySquared)+i)*a}(n,e,t,r,u.$O)}function O(n,e,t,r){const l=i.TP,o=n[e],a=n[e+1],s=n[e+2]??0;let c,f,p,d,h,g,m,w,M,R,y,I,x,A,v,j,k,O,P,S,$;c=Math.abs(s),f=o*o+a*a,p=Math.sqrt(f),d=f+s*s,h=Math.sqrt(d),S=Math.atan2(a,o),g=s*s/d,m=f/d,A=l.a2/h,v=l.a3-l.a4/h,m>.3?(w=c/h*(1+m*(l.a1+A+g*v)/h),P=Math.asin(w),R=w*w,M=Math.sqrt(1-R)):(M=p/h*(1-g*(l.a5-A-m*v)/h),P=Math.acos(M),R=1-M*M,w=Math.sqrt(R)),y=1-u.$O.eccentricitySquared*R,I=u.$O.radius/Math.sqrt(y),x=l.a6*I,A=p-I*M,v=c-x*w,k=M*A+w*v,j=M*v-w*A,O=j/(x/y+k),P+=O,$=k+j*O/2,s<0&&(P=-P),t[r++]=T*S,t[r++]=T*P,t[r]=$}const P={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:d},S=(0,r.kU)(1),T=(0,r.KJ)(1),$=.5*Math.PI,C=u.$O.radius,q=C*Math.PI/180,Z=180/(C*Math.PI)},56512(n,e,t){function r(n){let e,t,r=[],l=!1;return function(...o){return l&&e===this&&function(n,e){if(n.length!==e.length)return!1;for(let t=0;t<n.length;++t)if(n[t]!==e[t])return!1;return!0}(o,r)||(t=n.apply(this,o),e=this,r=o,l=!0),t}}t.d(e,{B:()=>r})},91218(n,e,t){t.r(e),t.d(e,{canProjectWithoutEngine:()=>D,initializeProjection:()=>F,isEqualBaseGCS:()=>Y,isLoaded:()=>$,isLoadedOrLoad:()=>C,isLoadedOrLoadFor:()=>q,load:()=>L,project:()=>b,projectAsync:()=>H,projectExtent:()=>rn,projectMany:()=>z,projectMultipoint:()=>X,projectOrLoad:()=>B,projectOrLoadMany:()=>G,projectPoint:()=>J,projectPolygon:()=>en,projectPolyline:()=>_,projectWithoutEngine:()=>N,requiresLoad:()=>Z,test:()=>K,tryProject:()=>E,unload:()=>W});var r=t(49186),l=t(74887),o=t(62788),u=t(95488),i=t(51850),a=t(21276),s=t(73941),c=t(5443),f=t(91075),p=t(48526),d=t(86738),h=t(39829),g=t(82799),m=t(16930),w=t(98764),M=t(159),R=t(9762),y=t(49208);function I(n,e,t,r,l,o){return x[0]=n,x[1]=e,x[2]=t,(0,R.projectBuffer)(x,r,0,l,o,0)}const x=(0,i.vt)();var A=t(21325),v=t(52006);let j=null,k=null,O=null,P=null,S={};const T=new u.I;function $(){return!!(k?.isLoaded()&&O?.isLoaded()&&P?.isLoaded())}function C(){return!!$()||((0,o.gc)(T),L(),!1)}function q(n,e){return!n||!e||D(n,e)||C()}function Z(n,e){return!D(n,e)&&!$()}async function L(n){null==j&&(j=Promise.all([t.e(3276).then(t.bind(t,83276)).then(n=>(k=n,k.load())),t.e(8377).then(t.bind(t,8377)).then(n=>(O=n,O.load())),t.e(2158).then(t.bind(t,12158)).then(n=>(P=n,P.load()))])),await j,(0,l.Te)(n),T.notify()}function b(n,e,t){return Array.isArray(n)?0===n.length?[]:((0,a.H)(n),z(n,n[0].spatialReference,e,t)):((0,a.f)(n),z([n],n.spatialReference,e,t)[0])}function z(n,e,t,r){if(null==e||null==t)return n;if(!n.some(n=>(0,v.Ed)(n))&&D(e,t,r))return n.map(n=>N(n,e,t));if(null==r?.geographicTransformation&&(0,s.jA)(e))return z(n.map(n=>N(n,e,m.A.WGS84)),m.A.WGS84,t,{zConversionDisabled:r?.zConversionDisabled});if(null==r?.geographicTransformation&&(0,s.jA)(t))return z(n,e,m.A.WGS84).map(n=>N(n,m.A.WGS84,t));if(!$())throw new U;if(!r?.geographicTransformation)if(r?.extendedParams)r={...r,geographicTransformation:P.getTransformation(e,t,r.areaOfInterestExtent)||new M.A};else if(!r?.areaOfInterestExtent){const n=function(n,e){return[n.wkid?.toString()??"-1",n.wkt?.toString()??"",n.wkt2?.toString()??"",e.wkid?.toString()??"-1",e.wkt?.toString()??"",e.wkt2?.toString()??""].join()}(e,t);let l=S[n];l||(l=P.getTransformation(e,t)||new M.A,S[n]=l),r={geographicTransformation:l,zConversionDisabled:r?.zConversionDisabled}}return n[0].spatialReference||(n[0].spatialReference=e),n[0]instanceof f.A?k.executeMany(n,t,r):O.executeMany(n,t,r)}function E(n,e,t){try{return b(n,e,t)}catch(n){return null}}function B(n,e){const t=G([n],e);return null!=t.pending?{pending:t.pending,geometry:null}:null!=t.geometries?{pending:null,geometry:t.geometries[0]}:{pending:null,geometry:null}}function G(n,e,t){if(!$())for(const t of n)if(null!=t&&!(0,A.aI)(t.spatialReference,e)&&(0,A.fn)(t.spatialReference)&&(0,A.fn)(e)&&!D(t.spatialReference,e))return(0,o.gc)(T),{pending:L(),geometries:null};return{pending:null,geometries:n.map(n=>null==n?null:(0,A.aI)(n.spatialReference,e)?n:(0,A.fn)(n.spatialReference)&&(0,A.fn)(e)?b(n,e,t):null)}}class U extends r.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function W(){j=null,k=null,O=null,P=null,S={}}const K={get loadPromise(){return j}};async function H(n,e,t){if((0,l.Te)(t),!n)return n;const r=G(Array.isArray(n)?n:[n],e,t);if(r.pending)return await r.pending,(0,l.Te)(t),H(n,e,t);const o=r.geometries??[];return Array.isArray(n)?o:o[0]}function D(n,e,t){return!(t?.areaOfInterestExtent||t?.extendedParams||t?.geographicTransformation)&&(!!(0,A.aI)(n,e)||(0,A.fn)(n)&&(0,A.fn)(e)&&!!(0,y.jd)(n,e))}function Y(n,e){if((0,A.aI)(n,e))return!0;if(!(0,A.fn)(n)||!(0,A.fn)(e))return!1;const t=(0,A.oT)(n)||(0,A.K8)(n)||(0,A.x1)(n),r=(0,A.oT)(e)||(0,A.K8)(e)||(0,A.x1)(e);return t&&r}async function F(n,e,t,r){if($())return(0,l.NO)(r);if(Array.isArray(n)){for(const{source:e,dest:t,options:l}of n)if(e&&t&&!D(e,t,l))return L(r)}else if(n&&e&&!D(n,e,t))return L(r);return(0,l.NO)(r)}function N(n,e,t){return n?"x"in n?Q(n,e,new d.A,t,0):"xmin"in n?ln(n,e,new c.A,t,0):"rings"in n?tn(n,e,new h.A,t,0):"paths"in n?nn(n,e,new g.A,t,0):"points"in n?V(n,e,new p.A,t,0):null:null}function J(n,e,t=e.spatialReference,r=0){return null!=t&&null!=n.spatialReference&&null!=Q(n,n.spatialReference,e,t,r)}function Q(n,e,t,r,l){an[0]=n.x,an[1]=n.y;const o=n.z;return an[2]=void 0!==o?o:l,(0,R.projectBuffer)(an,e,0,an,r,0)?(t.x=an[0],t.y=an[1],t.spatialReference=r,void 0!==o||(0,s.xP)(r)?(t.z=an[2],t.hasZ=!0):(t.z=void 0,t.hasZ=!1),void 0===n.m?(t.m=void 0,t.hasM=!1):(t.m=n.m,t.hasM=!0),t):null}function X(n,e,t=e.spatialReference,r=0){return null!=n.spatialReference&&null!=t&&null!=V(n,n.spatialReference,e,t,r)}function V(n,e,t,r,l){const{points:o,hasZ:u,hasM:i}=n,a=[],s=o.length,c=[];for(const n of o)c.push(n[0],n[1],u?n[2]:l);if(!(0,R.projectBuffer)(c,e,0,c,r,0,s))return null;const f=un(u,r);for(let n=0;n<s;++n){const e=3*n,t=c[e],r=c[e+1];f&&i?a.push([t,r,c[e+2],o[n][3]]):f?a.push([t,r,c[e+2]]):i?a.push([t,r,o[n][2]]):a.push([t,r])}return t.points=a,t.spatialReference=r,t.hasZ=u,t.hasM=i,t}function _(n,e,t=e.spatialReference,r=0){return null!=n.spatialReference&&null!=t&&null!=nn(n,n.spatialReference,e,t,r)}function nn(n,e,t,r,l){const{paths:o,hasZ:u,hasM:i}=n,a=[];if(!on(o,u??!1,i??!1,e,a,r,l))return null;const s=un(u,r);return t.paths=a,t.spatialReference=r,t.hasZ=s,t.hasM=i,t}function en(n,e,t=e.spatialReference,r=0){return null!=n.spatialReference&&null!=t&&null!=tn(n,n.spatialReference,e,t,r)}function tn(n,e,t,r,l){const{rings:o,hasZ:u,hasM:i}=n,a=[];if(!on(o,u??!1,i??!1,e,a,r,l))return null;const s=un(u,r);return t.rings=a,t.spatialReference=r,t.hasZ=s,t.hasM=i,t}function rn(n,e,t=e.spatialReference,r=0){return null!=n.spatialReference&&null!=t&&null!=ln(n,n.spatialReference,e,t,r)}function ln(n,e,t,r,l){const{xmin:o,ymin:u,xmax:i,ymax:a,hasZ:s,hasM:c}=n;if(!I(o,u,s?n.zmin:l,e,an,r))return null;const f=un(s,r);return t.xmin=an[0],t.ymin=an[1],f&&(t.zmin=an[2]),I(i,a,s?n.zmax:l,e,an,r)?(t.xmax=an[0],t.ymax=an[1],f&&(t.zmax=an[2]),c&&(t.mmin=n.mmin,t.mmax=n.mmax),t.spatialReference=r,t):null}function on(n,e,t,r,l,o,u=0){const i=new Array;for(const t of n)for(const n of t)i.push(n[0],n[1],e?n[2]:u);if(!(0,R.projectBuffer)(i,r,0,i,o,0))return!1;let a=0;l.length=0;const s=un(e,o);for(const e of n){const n=new Array;for(const r of e)s&&t?n.push([i[a++],i[a++],i[a++],r[3]]):s?n.push([i[a++],i[a++],i[a++]]):t?(n.push([i[a++],i[a++],r[2]]),a++):(n.push([i[a++],i[a++]]),a++);l.push(n)}return!0}function un(n,e){return n||(0,s.xP)(e)||(0,A.aI)(e,w.Y0)}const an=(0,i.vt)()},98764(n,e,t){t.d(e,{GD:()=>u,Y0:()=>s,lO:()=>c});var r=t(73941),l=t(16930),o=t(21325);const u=new l.A(r.fv),i=new l.A(r.FY),a=new l.A(r.LJ),s=new l.A(r.Ro);function c(n){const e=f.get(n);if(e)return e;let t=u;if(n)if(n===i)t=i;else if(n===a)t=a;else{const e=n.wkid,r=n.latestWkid;if(null!=e||null!=r)(0,o.tl)(e)||(0,o.tl)(r)?t=i:((0,o.ZL)(e)||(0,o.ZL)(r))&&(t=a);else{const e=n.wkt2??n.wkt;if(e){const n=e.toUpperCase();n===p?t=i:n===d&&(t=a)}}}return f.set(n,t),t}const f=new Map,p=i.wkt.toUpperCase(),d=a.wkt.toUpperCase()},99157(n,e,t){t.d(e,{A:()=>i});var r,l=t(5482),o=t(69622),u=t(91429);let i=r=class extends o.A{constructor(n){super(n),this.isInverse=!1,this.wkt=null,this.wkid=null}getInverse(){return new r({isInverse:!this.isInverse,wkid:this.wkid,wkt:this.wkt})}};(0,l.Cg)([(0,u.MZ)()],i.prototype,"isInverse",void 0),(0,l.Cg)([(0,u.MZ)()],i.prototype,"wkt",void 0),(0,l.Cg)([(0,u.MZ)()],i.prototype,"wkid",void 0),i=r=(0,l.Cg)([(0,u.$K)("esri.geometry.operators.support.GeographicTransformationStep")],i)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[284],{159(e,t,n){n.d(t,{A:()=>l});var i,s=n(5482),r=n(69622),o=n(91429),a=n(99157);let l=i=class extends r.A{constructor(e){super(e),this.steps=[]}getInverse(){const e=new i;for(let t=this.steps.length-1;t>=0;t--){const n=this.steps[t];e.steps.push(n.getInverse())}return e}};(0,s.Cg)([(0,o.MZ)({type:[a.A],nonNullable:!0})],l.prototype,"steps",void 0),l=i=(0,s.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformation")],l)},9762(e,t,n){n.r(t),n.d(t,{projectBuffer:()=>s});var i=n(49208);function s(e,t,n,s,r,o,a=Math.floor(e.length/3)){const l=(0,i.jd)(t,r);if(null==l)return!1;if(l===i.pO){if(e===s&&n===o)return!0;const t=n+3*a;for(let i=n,r=o;i<t;i++,r++)s[r]=e[i]??0;return!0}const u=n+3*a;for(let t=n,i=o;t<u;t+=3,i+=3)l(e,t,s,i);return!0}},20521(e,t,n){n.r(t),n.d(t,{default:()=>Se});var i=n(5482),s=n(37838),r=n(69540),o=n(49186),a=n(25728),l=n(74887),u=n(36708),c=n(91429),p=n(89808),d=n(99959);const f=Symbol("isWCSGraphicOrigin");var h;class m extends d.A{get[(h=f,p.Q)](){return this.layer}constructor(e){super(),this[h]=!0,this.type="wcs",this.layer=e}get id(){return this.layer.id}}var g=n(4146),v=n(63074),y=n(69208),w=n(16131),x=n(8303),b=n(72545),C=n(54310),I=n(25036),S=n(82935),A=n(82806),M=n(53966),R=n(5443),T=n(38458),D=n(11254),L=n(330);function P(e){return e.endsWith("?")?e.slice(0,-1):e}function O(e){return e.filter(({coverageSubType:e})=>null==e||""===e||/^rectified(grid|dataset)/i.test(e))}function N(e){const t={};for(let n=0;n<e.childNodes.length;n++){const i=e.childNodes[n];if(1!==i.nodeType)continue;const s=(0,L.vv)(i).toLowerCase();switch(s){case"title":case"abstract":t[s]=(0,L.mX)(i);break;case"identifier":t.id=(0,L.mX)(i);break;case"wgs84boundingbox":{const e=(0,L.pN)(i,"LowerCorner"),n=(0,L.pN)(i,"UpperCorner");t.lonLatEnvelope=new R.A({xmin:e[0],ymin:e[1],xmax:n[0],ymax:n[1],spatialReference:{wkid:4326}})}break;case"coveragesummary":t.coverageSummaries=t.coverageSummaries||[],t.coverageSummaries.push(N(i))}}return t}function V(e,t){if(e.coverageSummaries)for(let n=0;n<e.coverageSummaries.length;n++)e.coverageSummaries[n].abstract=e.coverageSummaries[n].abstract||e.abstract,e.coverageSummaries[n].lonLatEnvelope=e.coverageSummaries[n].lonLatEnvelope||e.lonLatEnvelope,e.coverageSummaries[n].title=e.coverageSummaries[n].title||e.title,V(e.coverageSummaries[n],t);null!=e.id&&t.push(e)}function $(e){const t=(0,L.V6)(e.querySelector("Operation[name=GetCapabilities]"),"Get")?.getAttribute("xlink:href")||"",n=(0,L.V6)(e.querySelector("Operation[name=DescribeCoverage]"),"Get")?.getAttribute("xlink:href")||"",i=(0,L.V6)(e.querySelector("Operation[name=GetCoverage]"),"Get")?.getAttribute("xlink:href")||"";return{getCapabilities:P(t),describeCoverage:P(n),getCoverage:P(i)}}function E(e,t=null){let n=null;n="string"==typeof e?(new DOMParser).parseFromString(e,"text/xml"):e;let i=n.documentElement.getAttribute("version");"1.0"===i?i="1.0.0":"1.1"===i&&(i="1.1.0");const s=i||t||"1.0.0",r=s.slice(0,3);let a;if("2.0"===r)a=function(e){const t=(0,L.V6)(e,"ServiceIdentification"),n=(0,L.mX)(t,"Title"),i=(0,L.Dy)(t,"ServiceTypeVersion"),s=(0,L.Dy)(t,"Profile"),r=$((0,L.V6)(e,"OperationsMetadata")),o=(0,L.IC)(e,"Contents/CoverageSummary"),a=[];for(let e=0;e<o.length;e++){const t=o[e],n=(0,L.mX)(t,"CoverageId"),i=(0,L.V6)(t,"WGS84BoundingBox");let s;if(i){const e=(0,L.pN)(i,"LowerCorner"),t=(0,L.pN)(i,"UpperCorner");s=new R.A({xmin:e[0],ymin:e[1],xmax:t[0],ymax:t[1],spatialReference:{wkid:4326}})}const r=(0,L.mX)(t,"CoverageSubtype")||"RectifiedGridCoverage";a.push({id:n,lonLatEnvelope:s,coverageSubType:r})}const l=(0,L.V6)(e,"ServiceMetadata");return{name:n,supportedVersions:i,supportedFormats:(0,L.Dy)(l,"formatSupported"),supportedInterpolations:(0,L.Dy)(l,"interpolationSupported").concat((0,L.Dy)(l,"InterpolationSupported")),onlineResources:r,profiles:s,coverages:a,gridCoverages:O(a),version:"2.0.1"}}(n);else if("1.1"===r)a=function(e){const t=(0,L.mX)(e,"ServiceIdentification/Title"),n=(0,L.Dy)(e,"ServiceIdentification/ServiceTypeVersion"),i=$((0,L.V6)(e,"OperationsMetadata")),s=[],r=(0,L.V6)(e,"Contents");for(let e=0;e<r.childNodes.length;e++){const t=r.childNodes[e];1===t.nodeType&&(0,L.g7)(t,"CoverageSummary")&&V(N(t),s)}const o=(0,L.Dy)(r,"SupportedFormat");return{name:t,onlineResources:i,coverages:s,gridCoverages:O(s),supportedVersions:n,supportedFormats:o,version:"1.1.0"}}(n);else{if("1.0"!==r)throw new o.A("wcsraster:parsecapabilities","the capabilities version is not supported");a=function(e){const t=(0,L.mX)(e,"Service/name"),n=(0,L.V6)(e,"Capability"),i=(0,L.V6)(n,"GetCapabilities/Get/OnlineResource")?.getAttribute("xlink:href")??"",s=(0,L.V6)(n,"DescribeCoverage/Get/OnlineResource")?.getAttribute("xlink:href")??"",r=(0,L.V6)(n,"GetCoverage/Get/OnlineResource")?.getAttribute("xlink:href")??"",o={getCapabilities:P(i),describeCoverage:P(s),getCoverage:P(r)},a=(0,L.IC)(e,"CoverageOfferingBrief"),l=[];for(let e=0;e<a.length;e++){const t=a[e],n=(0,L.mX)(t,"name"),i=(0,L.IC)(t,"pos"),s=(0,L.pN)(i[0]),r=(0,L.pN)(i[1]),o=new R.A({xmin:s[0],ymin:s[1],xmax:r[0],ymax:r[1],spatialReference:{wkid:4326}});l.push({id:n,lonLatEnvelope:o})}return{name:t,onlineResources:o,coverages:l,gridCoverages:O(l),supportedVersions:["1.0.0"],version:"1.0.0"}}(n)}return a.version=s,a}var j=n(39829),k=n(4366),G=n(87186);function Z(e){e.variables.forEach(e=>e.dimensions.forEach(e=>e.values??=(0,k.Xg)(e)))}function _(e){return{requestResponseCRSs:(0,L.Dy)(e,"requestResponseCRSs").map(e=>e.split(":")[1]),nativeCRSs:(0,L.Dy)(e,"nativeCRSs").map(e=>e.split(":")[1])}}function X(e,t){const n=(0,L.Dy)(e,"1.0.0"===t?"interpolationMethod":"InterpolationMethod"),i="1.0.0"===t?e.getAttribute("default"):(0,L.mX)(e,"InterpolationMethods/Default");return null!=i?[i].concat(n.filter(e=>e.toLowerCase()!==i.toLowerCase())):n}function F(e){return null==e?["nearest"]:e.map(e=>{const t=e.toLowerCase();return t.includes("nearest")?"nearest":t.includes("linear")?"bilinear":t.includes("cubic")?"cubic":null}).filter(e=>!!e)}function z(e){const t=(0,L.IC)(e,"pos"),n=(0,L.pN)(t[0]),i=(0,L.pN)(t[1]);return new R.A({xmin:n[0],ymin:n[1],xmax:i[0],ymax:i[1],spatialReference:{wkid:4326}})}function W(e,t){const n=(0,L.Dy)(e,t);return n?.length&&""!==n[0]&&!isNaN(Number(n[0]))?n.map(e=>Number(e)):null}function q(e){const t=(0,L.pN)(e,"MinimumValue"),n=(0,L.pN)(e,"MaximumValue");return t.length&&n.length?t.map((e,t)=>({min:e,max:n[t],avg:-1,stddev:-1})):null}function B(e){return null==e?null:e.every(t=>t===e[0])?e[0]:e}function U(e){const t=[],n=(0,L.IC)(e,"RangeSet");let i=[];for(let e=0;e<n.length;e++){const s=(0,L.mX)(n[e],"name"),r=(0,L.mX)(n[e],"label"),o=[],a=W(n[e],"nullValues/singleValue"),l=(0,L.IC)(n[e],"AxisDescription");for(let e=0;e<l.length;e++){const t=(0,L.mX)(l[e],"name"),n=(0,L.mX)(l[e],"label"),s=(0,L.Dy)(l[e],"singleValue");if(0===s.length){const t=(0,L.mX)(l[e],"min"),n=(0,L.mX)(l[e],"max"),i=Number((0,L.mX)(l[e],"res"))||1;if(null!==t&&null!==n)for(let e=parseInt(t,10);e<=parseInt(n,10);e+=i)s.push(e.toString())}"band"===t.toLowerCase()&&(i=s),o.push({name:t,label:n,values:s})}t.push({name:s,label:r,nullValues:a,axis:o})}return{rangeSet:t,bandNames:i}}function H(e=null){if(!e)return{resolution:null,units:null};let t=e.toUpperCase();const n=["Years","Months","Days","Hours","Minutes","Seconds"];let i,s,r;return t.includes("PT")?(t=t.slice(2),r=["H","M","S"].findIndex(e=>t.includes(e)),i=n[3+r],s=parseFloat(t.slice(0,-1))):(t=t.slice(1),r=["Y","M","D"].findIndex(e=>t.includes(e)),r>-1&&(i=n[r]),s=parseFloat(t.slice(0,-1))),{resolution:s,units:i}}function K(e){const t=(0,L.IC)(e,"timeposition");if(t.length>0){const e=[];for(let n=0;n<t.length;n++)e.push(new Date((0,L.mX)(t[n])));return{begin:e[0],end:e[e.length-1],values:e}}const n=(0,L.V6)(e,"timePeriod")||(0,L.V6)(e,"TimePeriod");return n?{begin:new Date((0,L.mX)(n,"beginPosition")||(0,L.mX)(n,"BeginPosition")),end:new Date((0,L.mX)(n,"endPosition")||(0,L.mX)(n,"EndPosition")),...H((0,L.mX)(n,"timeResolution")||(0,L.mX)(n,"TimeResolution"))}:null}function J(e){const t=(0,L.V6)(e,"spatialDomain"),n=(0,L.V6)(t,"Envelope")||(0,L.V6)(t,"EnvelopeWithTimePeriod"),i=n.getAttribute("srsName").split(":"),s=i[i.length-1],r=(0,L.IC)(n,"pos"),o=(0,L.pN)(r[0]),a=(0,L.pN)(r[1]),l=parseInt(s,10),u=isNaN(l)?null:{wkid:l},c=new R.A({xmin:o[0],ymin:o[1],xmax:a[0],ymax:a[1],spatialReference:u}),p=(0,L.V6)(t,"RectifiedGrid"),d=(0,L.mX)(p,"low").split(" "),f=(0,L.mX)(p,"high").split(" "),h=parseInt(f[0],10)-parseInt(d[0],10)+1,m=parseInt(f[1],10)-parseInt(d[1],10)+1,g=(0,L.pN)(t,"origin/pos"),v=(0,L.IC)(t,"offsetVector"),y={envelope:c,columns:h,rows:m,offset:{x:parseFloat((0,L.mX)(v[0]).split(" ")[0]),y:parseFloat((0,L.mX)(v[1]).split(" ")[1])},origin:{x:g[0],y:g[1]}},w=(0,L.V6)(e,"temporalDomain")||(0,L.V6)(e,"TemporalDomain");return{spatialDomain:y,temporalDomain:w?K(w):null}}function Y(e,t){const n=[],i=(0,L.IC)(e,"Field");let s,r=[];for(let e=0;e<i.length;e++){const o=(0,L.mX)(i[e],"Identifier"),a=(0,L.mX)(i[e],"Description"),l=(0,L.mX)(i[e],"Definition"),u=(0,L.mX)(i[e],"Abstract"),c=(0,L.mX)(i[e],"Title"),p=W(i[e],"NullValue"),d=(0,L.V6)(i[e],"AllowedValues"),f=d?q(d):null,h=X(i[e],"1.1.0"),m=[],g=(0,L.IC)(i[e],"Axis");for(let e=0;e<g.length;e++){const n=g[e].getAttribute("identifier"),i=(0,L.mX)(g[e],"UOM"),o=(0,L.mX)(g[e],"DataType"),a=(0,L.Dy)(g[e],"Key");t&&!n.toLowerCase().includes("band")||(r=a,s=p),m.push({identifier:n,uom:i,dataType:o,values:a,bandNoDataValues:s})}n.push({identifier:o,description:a,definition:l,abstract:u,title:c,supportedInterpolations:h,axis:m,nullValues:p,statistics:f})}return{rangeSet:n,bandNames:r,bandNoDataValues:s,statistics:n[0].statistics}}function Q(e){const t=(0,L.V6)(e,"SpatialDomain"),n=(0,L.V6)(t,"GridCRS"),i=(0,L.mX)(n,"GridBaseCRS"),s=(0,L.mX)(n,"GridOrigin"),r=s?.split(" ").map(e=>parseFloat(e))??[0,0],o=(0,L.pN)(n,"GridOffsets"),a=(0,L.IC)(t,"BoundingBox");let l,u,c,p;for(let e=0;e<a.length;e++){const t=a[e].getAttribute("crs")?.toLowerCase();if(null!=t)if(t.includes("imagecrs")){const t=(0,L.pN)(a[e],"LowerCorner"),n=(0,L.pN)(a[e],"UpperCorner");l=n[0]-t[0]+1,u=n[1]-t[1]+1}else if(t.indexOf("epsg")>0){const n=t.split(":");c=parseInt(n[n.length-1],10);const i=(0,L.pN)(a[e],"LowerCorner"),s=(0,L.pN)(a[e],"UpperCorner");p=new R.A({xmin:i[0],ymin:i[1],xmax:s[0],ymax:s[1],spatialReference:{wkid:c}})}}const d=l>u,f=p.xmax-p.xmin>p.ymax-p.ymin;let h=!1;(0,T.m)(c)&&(d===f?h=!1:(h=!0,p=new R.A({xmin:p.ymin,ymin:p.xmin,xmax:p.ymax,ymax:p.xmax,spatialReference:{wkid:c}})));const m={columns:l,rows:u,origin:{x:r[0],y:r[1]},offset:{x:o[0],y:o[o.length-1]},gridBaseCRS:i,envelope:p,useEPSGAxis:h},g=(0,L.V6)(e,"temporalDomain")||(0,L.V6)(e,"TemporalDomain");return{spatialDomain:m,temporalDomain:g?K(g):null}}function ee(e){const t=(0,L.V6)(e,"Envelope")||(0,L.V6)(e,"EnvelopeWithTimePeriod"),n=t.getAttribute("srsName"),i=n.slice(n.lastIndexOf("/")+1),s=t.getAttribute("axisLabels").split(" ").map(e=>e.trim()).filter(e=>""!==e.trim()),r=(0,L.pN)(t,"lowerCorner"),o=(0,L.pN)(t,"upperCorner"),a=!["y","lat","latitude","north","nor","n","b"].includes(s[0].toLowerCase());let l;const u=parseInt(i,10),c=isNaN(u)?null:{wkid:u};l=new R.A(a?{xmin:r[0],ymin:r[1],xmax:o[0],ymax:o[1],spatialReference:c}:{xmin:r[1],ymin:r[0],xmax:o[1],ymax:o[0],spatialReference:c});const p={mins:r,maxs:o},d=t.getAttribute("uomLabels").trim().split(" ");let f,h;if((0,L.g7)(t,"EnvelopeWithTimePeriod")){f=new Date((0,L.mX)(e,"beginPosition")||(0,L.mX)(e,"BeginPosition")),h=new Date((0,L.mX)(e,"endPosition")||(0,L.mX)(e,"EndPosition"));const t=d?.findIndex(e=>"oledatetime"===e?.toLowerCase());t>-1&&(d[t]="ISO8601")}return{envelope:l,axisLabels:s,uomLabels:d.length?d:null,envelopeAllDims:p,beginPosition:f,endPosition:h,isEastFirst:a}}function te(e,t){const n=[],i=(0,L.IC)(e,"DataRecord"),s=[];let r,o=[];for(let e=0;e<i.length;e++){const a=(0,L.IC)(i[e],"field"),l=[];for(let e=0;e<a.length;e++){const n=a[e].getAttribute("name"),i=(0,L.mX)(a[e],"description")||"",u=(0,L.V6)(a[e],"uom")?.getAttribute("code")||"",c=(0,L.pN)(a[e],"interval"),p=W(a[e],"nilValue")?.[0];t&&!n.toLowerCase().includes("band")||(s.push(n),c?.length&&(r=r||[],r.push({min:c[0],max:c[1],avg:-1,stddev:-1})),o.push(p)),l.push({name:n,description:i,uom:u,allowedValues:c,nilValue:p})}n.push(l)}return o.some(e=>null!=e)||(o=null),{rangeType:n,bandNames:s,bandStats:r,bandNoDataValues:o}}function ne(e){let t=1,n="";const i=.01;return Math.abs(e-1/24)<1/24*i?n="Hours":Math.abs(e-1)<1*i?n="Days":e<1?(t=Math.round(24*e),n="Hours"):e>28-i&&e<31+i||Math.round(e/30)<12?n="Months":e>365-i&&e<366+i&&(n="Years"),{interval:t,intervalUnit:n}}function ie(e,t){const n=(0,L.V6)(e,"RectifiedGrid"),i=(0,L.pN)(n,"low"),s=(0,L.pN)(n,"high"),r=[];for(let e=0;e<i.length;e++)r.push(s[e]-i[e]+1);const o=(0,L.mX)(n,"axisLabels").split(" "),a=(0,L.pN)(n,"origin/pos"),l=(0,L.IC)(n,"offsetVector"),u=[];for(let e=0;e<l.length;e++){const t=(0,L.pN)(l[e]),n=t.findIndex(e=>0!==e);u[n]=t[n]}let c,p,d,f=!1;return t?.length&&o?.length&&(f=[...t].sort((e,t)=>e<t?-1:1).join(",")===[...o].sort((e,t)=>e<t?-1:1).join(",")),["y","lat","latitude","north","nor","n","b"].includes((f?o:t)[0].toLowerCase())?(c=r[1],p=r[0],d={y:Math.abs(u[0]),x:Math.abs(u[1])}):(c=r[0],p=r[1],d={x:Math.abs(u[0]),y:Math.abs(u[1])}),{columns:c,rows:p,origin:a,offset:u,resolution:d,gridSamples:r,axisLabels:o,hasSameAxisLabelsAsBoundedBy:f}}function se(e){const t=(0,L.V6)(e,"EarthObservation");if(!t)return null;const n=(0,L.V6)(t,"phenomenonTime"),i=n?K(n):null,s=(0,L.V6)(t,"phenomenonTime"),r=s?K(s):null,o=(0,L.mX)(t,"featureOfInterest/Footprint/multiExtentOf/MultiSurface/surfaceMembers/Polygon/exterior/LinearRing/posList");let a=null;if(o){const e=o.split(" ").map(e=>e.trim()).filter(e=>null!=e&&""!==e).map(Number);if(e.length){const t=[];for(let n=0;n<e.length/2;n+=2)t.push(e[n],e[n+1]);a=new j.A({rings:[[t]]})}}return{observation:{phenomenonTime:i,resultTime:r,footprint:a,identifier:(0,L.mX)(e,"metaDataProperty/EarthObservationMetaData/identifier"),acquisitionType:(0,L.mX)(e,"metaDataProperty/EarthObservationMetaData/acquisitionType"),status:(0,L.mX)(e,"metaDataProperty/EarthObservationMetaData/status")}}}async function re(e,t){const{coverageIds:n,version:i,customParameters:s,signal:r}=t,a=i.slice(0,3),u="1.0"===a?"coverage":"1.1"===a?"identifiers":"coverageId",c={service:"WCS",request:"DescribeCoverage",version:i,[u]:n.join(","),...s};try{const{data:t}=await(0,D.A)(e,{query:c,responseType:"xml",signal:r});return function(e,t){let n=null;if(n="string"==typeof e?(new DOMParser).parseFromString(e,"text/xml"):e,"1.0.0"===t)return(0,L.IC)(n,"CoverageOffering").map(e=>function(e){const t={version:"1.0"};let n,i=[];for(let s=0;s<e.childNodes.length;s++){const r=e.childNodes[s];if(1===r.nodeType)if((0,L.g7)(r,"description"))t.description=(0,L.mX)(r);else if((0,L.g7)(r,"name"))t.name=(0,L.mX)(r);else if((0,L.g7)(r,"label"))t.label=(0,L.mX)(r);else if((0,L.g7)(r,"supportedFormats"))t.supportedFormats=(0,L.Dy)(r,"formats");else if((0,L.g7)(r,"supportedCRSs"))t.supportedCRSs=_(r);else if((0,L.g7)(r,"supportedInterpolations"))t.supportedInterpolations=X(r,"1.0.0");else if((0,L.g7)(r,"lonLatEnvelope"))t.lonLatEnvelope=z(r);else if((0,L.g7)(r,"rangeSet")){const e=U(r);t.rangeSet=e.rangeSet,i=e.bandNames;const s=e.rangeSet[0].nullValues;s?.length&&(n=B(s))}else(0,L.g7)(r,"domainSet")&&(t.domainSet=J(r))}const s=F(t.supportedInterpolations),{name:r,description:o,label:a,lonLatEnvelope:l,supportedFormats:u}=t,{spatialDomain:c}=t.domainSet,p={x:Math.abs(c.offset.x),y:Math.abs(c.offset.y)},d=function(e){if(!e.temporalDomain)return null;const{begin:t,end:n,values:i,units:s,resolution:r}=e.temporalDomain,o={variables:[{name:"default",description:"",dimensions:[{name:"StdTime",description:"",unit:"ISO8601",values:i?.map(e=>e.getTime()),hasRegularIntervals:!i,interval:r,intervalUnit:s,extent:[t.getTime(),n.getTime()]}]}]};return Z(o),o}(t.domainSet),f=new G.A({width:c.columns,height:c.rows,pixelSize:p,pixelType:"unknown",extent:c.envelope,spatialReference:c.envelope.spatialReference,bandCount:i.length||1,noDataValue:n,multidimensionalInfo:d});return{id:r,title:t.name,description:o||a,lonLatEnvelope:l,rasterInfo:f,bandNames:i,supportedFormats:u,supportedInterpolations:s,coverageDescription:t,version:"1.0.0",useEPSGAxis:!1}}(e));const i=(0,L.IC)(n,"CoverageDescription");return"1.1.0"===t||"1.1.1"===t||"1.1.2"===t?i.map(e=>function(e,t){const n=[],i=[],s={supportedFormats:n,supportedCRSs:i,version:"1.1"};let r,o,a=[];for(let t=0;t<e.childNodes.length;t++){const l=e.childNodes[t];if(1!==l.nodeType)continue;const u=(0,L.vv)(l).toLowerCase();switch(u){case"title":case"abstract":case"identifier":s[u]=(0,L.mX)(l);break;case"supportedformat":{const e=(0,L.mX)(l);n.includes(e)||n.push(e)}break;case"supportedcrs":{const e=(0,L.mX)(l);i.includes(e)||i.push(e)}break;case"range":{const e=Y(l,!!s.domain?.temporalDomain);s.range=e.rangeSet,a=e.bandNames;const{bandNoDataValues:t}=e;t?.length&&(r=B(t)),o=e.statistics}break;case"domain":s.domain=Q(l)}}const l=F(s.range[0].supportedInterpolations),{identifier:u,abstract:c,title:p,domain:d,range:f}=s,h={x:Math.abs(d.spatialDomain.offset.x),y:Math.abs(d.spatialDomain.offset.y)},m=function(e,t){if(!t.temporalDomain)return null;const n=e.filter(e=>!e.identifier.toLowerCase().includes("field_1")&&!e.axis.some(e=>e.identifier.includes("band"))),i=[];if(n.length&&n.forEach(e=>{const t=e.axis.map(e=>{const t=e.values.map(t=>"ISO8601"===e.uom?(t=t.trim()).toLowerCase().includes("z")?new Date(t).getTime():new Date(t+"Z").getTime():parseFloat(t.trim())),n=[Math.min.apply(null,t),Math.max.apply(null,t)];return{name:e.identifier.trim(),description:"",field:e.identifier.trim(),unit:e.uom?e.uom.trim():"",hasRegularIntervals:!1,values:t,extent:n}});i.push({name:e.identifier.trim(),description:e.description?.trim()??"",unit:"",dimensions:t,statistics:e.statistics})}),t.temporalDomain){const{begin:e,end:n,values:s,units:r,resolution:o}=t.temporalDomain;i.some(e=>e.dimensions.some(e=>"stdtime"===e.name.toLowerCase()))||i.forEach(t=>{t.dimensions.push({name:"StdTime",description:"",unit:"ISO8601",values:s?.map(e=>e.getTime()),hasRegularIntervals:!s,interval:o,intervalUnit:r,extent:[e.getTime(),n.getTime()]})})}if(i.length){const e={variables:i};return Z(e),e}return null}(f,d);m&&(r=f[0].nullValues,1===r?.length&&(r=r[0]));const g=new G.A({width:d.spatialDomain.columns,height:d.spatialDomain.rows,pixelSize:h,pixelType:"unknown",extent:d.spatialDomain.envelope,spatialReference:d.spatialDomain.envelope.spatialReference,bandCount:a.length||1,noDataValue:r,statistics:o,multidimensionalInfo:m});return{id:u,title:s.title,description:c||p,bandNames:a,rasterInfo:g,supportedFormats:n,supportedInterpolations:l,coverageDescription:s,version:t,useEPSGAxis:d.spatialDomain.useEPSGAxis}}(e,t)):i.map(e=>function(e){const t={version:"2.0"};let n,i,s=[];for(let r=0;r<e.childNodes.length;r++){const o=e.childNodes[r];if(1===o.nodeType)if((0,L.g7)(o,"coverageId"))t.coverageId=(0,L.mX)(o);else if((0,L.g7)(o,"ServiceParameters"))t.serviceParameters={supportedFormats:(0,L.Dy)(o,"nativeFormat")};else if((0,L.g7)(o,"boundedBy"))t.boundedBy=ee(o);else if((0,L.g7)(o,"rangeType")){const e=te(o,t.boundedBy?.axisLabels.length>2||t.domainSet?.axisLabels.length>2);t.rangeType=e.rangeType,s=e.bandNames,n=e.bandStats;const{bandNoDataValues:r}=e;r?.length&&(i=B(r))}else if((0,L.g7)(o,"domainSet"))t.domainSet=ie(o,t.boundedBy?.axisLabels);else if((0,L.g7)(o,"metadata")){const e=(0,L.V6)(o,"EOMetadata");t.eoMetadata=e?se(e):null}}const{coverageId:r,boundedBy:o,domainSet:a,rangeType:l,serviceParameters:u}=t,c=function(e,t,n){if(n.axisLabels.length<=2)return null;const i=[];for(let t=0;t<e.length;t++){const n=e[t];for(let e=0;e<n.length;e++)n[e].name.toLowerCase().includes("band")||i.push(n[e])}const s=[];if(i.length){const e=[];for(let i=2;i<n.axisLabels.length;i++){const s=t.uomLabels?.[i]?.trim()??"",r=n.axisLabels[i].toLowerCase().includes("time")||"iso8601"===s.toLowerCase()||"oledatetime"===s.toLowerCase();let o,a;if(r){const e=ne(n.offset[i]);o=e.interval,a=e.intervalUnit}else o=n.offset[i],a=s;const l=[];r?(l.push((0,k.$E)(t.envelopeAllDims.mins[i])),l.push((0,k.$E)(t.envelopeAllDims.maxs[i]))):(l.push(t.envelopeAllDims.mins[i]),l.push(t.envelopeAllDims.maxs[i])),e.push({name:n.axisLabels[i].trim(),description:n.axisLabels[i].trim(),unit:r?"ISO8601":s,hasRegularIntervals:!0,extent:l,interval:o,intervalUnit:a})}if(i.forEach(t=>{const{allowedValues:n}=t,i=2===n?.length?[{min:n[0],max:n[1],avg:-1,stddev:-1}]:null;s.push({name:t.name.trim(),description:t.description?.trim()??"",unit:t.uom.trim(),statistics:i,dimensions:[...e]})}),s.length){const e={variables:s};return Z(e),e}}return null}(l,o,a);return!n&&c&&(n=c?.variables[0].statistics),null!=c&&(i=l[0][0].nilValue),{id:r,title:r,description:r,bandNames:s,rasterInfo:new G.A({width:a.columns,height:a.rows,pixelSize:a.resolution,pixelType:"unknown",extent:o.envelope,spatialReference:o.envelope.spatialReference,bandCount:s.length||1,statistics:n,noDataValue:i,multidimensionalInfo:c}),supportedFormats:u.supportedFormats,coverageDescription:t,version:"2.0.1",useEPSGAxis:!1}}(e))}(t,i)}catch(e){if(!(0,l.zf)(e))throw new o.A("wcslayer:open","wcs coverage description is not valid or supported");throw e}}var oe=n(49859);function ae(e,t,n=0){const i="--"+t.boundary,s=[];for(let e=0;e<i.length;e++)s.push(i.charCodeAt(e));const r=[],o="\n--"+t.boundary+"--";for(let e=0;e<o.length;e++)r.push(o.charCodeAt(e));const a=[10],l=[13,10],u=[],c=s.length,p=new Uint8Array(e,n),d=p.length-c;let f=0,h=0;for(let e=0;e<d;e++){for(h=0;h<c&&p[e+h]===s[h];h++);if(h!==c)continue;let n=!1;if(f){const i=le(p.subarray(f,e),t);u.push(i),n=!!i.isValidImage}if(e+=c-1,p[e+1]===a[0]?e+=1:p[e+1]===l[0]&&p[e+2]===l[1]&&(e+=2),f=e+1,n)break}const m=r.length;for(let e=p.length-m-10;e<p.length-m;e++){for(h=0;h<m&&p[e+h]===r[h];h++);if(h===m){u.push(le(p.subarray(f,e),t));break}}return u}function le(e,t){const n=String.fromCharCode.apply(null,e.subarray(0,Math.min(300,e.length))).split("\n"),i=Math.min(n.length,7),s={contentDisposition:"inline"};let r=0;for(let o=0;o<i;o++)if(n[o].length<4)r=r+n[o].length+1;else if("content"===n[o].slice(0,7).toLowerCase()){r=r+n[o].length+1;const e=n[o].indexOf(":");if(-1===e)continue;const t=n[o].slice(0,e).trim(),i=n[o].slice(e+1).trim();switch(t.toLowerCase()){case"content-type":s.contentType=i;break;case"content-description":s.contentDescription=i;break;case"content-transfer-encoding":s.contentTransferEncoding=i;break;case"content-id":s.contentID=i;break;case"content-disposition":s.contentDisposition=i;break;case"content-location":s.contentLocation=i}}else{if(s.contentDisposition.toLowerCase().includes("inline")&&n[o].length>=4&&s.contentType?.toLowerCase().includes("image")){let t=!0,n=e.subarray(r,e.length);if(s.contentType.toLowerCase().indexOf("tif")>0){if("base64"===s.contentTransferEncoding){let e="";const t=n;for(let n=0;n<t.length;n+=65535){const i=t.subarray(n,n+65535>t.length-1?t.length-1:n+65535);e+=String.fromCharCode.apply(null,i)}const i=atob(e);n=new Uint8Array(i.length);for(let e=0;e<n.length;e++)n[e]=i.charCodeAt(e)}t=73===n[0]&&73===n[1]||77===n[0]&&77===n[1]}if(t){let t=n.buffer;"base64"!==s.contentTransferEncoding&&(t=new ArrayBuffer(e.length-r),n=new Uint8Array(t),n.set(e.subarray(r,e.length))),s.contentData=t,s.isValidImage=!0}break}if((""===t.start||s.contentID===t.start)&&s.contentType){if(s.contentType.includes("text")||s.contentType.includes("xml")){s.contentData=String.fromCharCode.apply(null,e.subarray(r,e.length));break}s.contentData=e.subarray(r,e.length)}}return s}var ue=n(20758),ce=n(47520),pe=n(45617);const de=["nearest neighbor","bilinear","bicubic"],fe=["nearest","linear","cubic"],he="response is not a supported multipart/related mediaType with inline tiff, switching to compatibility mode",me=new Set(["1.0.0","1.1.0","1.1.1","1.1.2","2.0.1"]);let ge=class extends oe.A{constructor(){super(...arguments),this.datasetFormat="WCSServer",this.tileType="Raster"}get rasterId(){return`${this.url}-${this.coverageId}-${this.version}`}async fetchRawTile(e,t,n,i={}){if(this.isBlockOutside(e,t,n))return null;const{nativePixelSize:s,spatialReference:r}=this.rasterInfo,a=2**e,l=s.x*a,u=s.y*a,{blockWidth:c,blockHeight:p}=this.getBlockWidthHeight(e),{origin:d}=this.rasterInfo.storageInfo.tileInfo,f=this.getTileExtent({x:l,y:u},t,n,d,r,[c,p]),h=this.rasterInfo.extent,m=f.xmax>h.xmax,g=f.ymin<h.ymin,v=m||g;let y=f,w=c,x=p;if(v&&(y=f.clone().intersection(h),null!=y&&(m&&(w=Math.floor((y.xmax-y.xmin)/l),y.xmax=y.xmin+l*w),g&&(x=Math.floor((y.ymax-y.ymin)/u),y.ymin=y.ymax-u*x))),null==y||w<=1||x<=1)return null;const b=await this._getCoverage(y,w,x,a,i);if(!b)return null;const{coverageDescription:C}=this.coverageInfo,{noDataValue:I,multidimensionalInfo:S}=this.rasterInfo,{multidimensionalDefinition:A}=i;let M;if(null!=S&&null!=A&&A.length){const e=A[0].variableName;if("2.0"===C.version){const t=C.rangeType[0].find(t=>t.name===e);M=t?.nilValue}else if("1.1"===C.version){const t=C.range.find(t=>t.identifier===e);M=t?.nullValues}}const R=M??I,T=await this.decodePixelBlock(b,{width:w,height:x,planes:null,pixelType:null,tiffNoDataValue:Array.isArray(R)?R[0]:R,matchAllNoData:!0});if(null==T)return null;if(T&&(T.width!==w||T.height!==x))throw new o.A("wcsraster-fetch",`the response has unexpected dimension width: ${T.width}, height: {pixelBlock.height}`);return v?(0,ce.$Q)(T,{x:0,y:0},{width:p,height:p}):T}async _open(e){const{customFetchParameters:t}=this.ioConfig,n=e?.signal,i=await async function(e,t){const{version:n,customParameters:i,signal:s}=t??{},r=n?.startsWith("1.0")?"version":"acceptVersions",a={service:"WCS",request:"GetCapabilities",[r]:n,...i};try{let{data:n}=await(0,D.A)(e,{query:a,responseType:"xml",signal:s});return t?.version||function(e){let t=null;t="string"==typeof e?(new DOMParser).parseFromString(e,"text/xml"):e;const n=t.documentElement.getAttribute("version"),i=n?.slice(0,3);return null!=i&&i<"2.1"}(n)||(a[r]="2.0.1",({data:n}=await(0,D.A)(e,{query:a,responseType:"xml",signal:s}))),E(n)}catch(e){if(!(0,l.zf)(e))throw new o.A("wcslayer:open","wcs capabilities is not valid or supported");throw e}}(this.url,{version:t?.version??this.version,customParameters:t,signal:n});if(this.capabilities=i,!this.version){let e=i.version.slice(0,3);"2.0"===e||"1.1"===e||"1.0"===e?this.version=i.version:(e=i.supportedVersions.find(e=>"2.0.1"===e)||i.supportedVersions.find(e=>e.startsWith("2.0"))||i.supportedVersions.find(e=>e.startsWith("1.1"))||i.supportedVersions.find(e=>e.startsWith("1.0"))||"1.0.0",this.version=e)}const{version:s}=this;if(!me.has(s))throw new o.A("wcsraster-open",`unsupported WCS version ${s}`);const{gridCoverages:r}=i;if(!r.length)throw new o.A("wcsraster-open","cannot find rectified grid coverages");this.coverageId??=r[0].id;const{coverageId:a}=this,u=r.find(e=>e.id===a);if(null==u)throw new o.A("wcsraster-open",`the coverageId ${a} does not exist in capabilities`);const c=await re(this.url,{coverageIds:[a],version:s,customParameters:t,signal:n});if(this.coverageInfo=c[0],s.startsWith("2.0")){const{coverageInfo:e}=this;e.lonLatEnvelope=u.lonLatEnvelope,e.supportedInterpolations=F(i.supportedInterpolations),this._patchDimensionValues201(a,n)}this.datasetName=this.coverageInfo.title;const{rasterInfo:p}=this.coverageInfo;if(this.createRemoteDatasetStorageInfo(p,512,512),this._set("rasterInfo",p),null==p.spatialReference)throw new o.A("wcsraster-open",`coverage without spatial reference is not supported: ${a}`);const{pixelType:d,bandCount:f}=await this._getPixelTypeAndBandCount(n);p.pixelType=d,1===p.bandCount&&f>1&&(p.bandCount=f),this.updateTileInfo()}async _patchDimensionValues201(e,t){const{coverageInfo:n}=this,i=n.rasterInfo.multidimensionalInfo?.variables,s=me.has("1.1.2")?"1.1.2":me.has("1.1.1")?"1.1.1":me.has("1.1.0")?"1.1.0":null,{customFetchParameters:r}=this.ioConfig;if(i&&s)try{const n=this.url.includes("/ImageServer/"),o=e.length>8&&e.startsWith("Coverage")&&n?e.slice(8):e,a=await re(this.url,{coverageIds:[o??e],version:s,customParameters:r,signal:t}).catch(()=>{if(o)return re(this.url,{coverageIds:[e],version:s,customParameters:r,signal:t})}),l=a?.[0].rasterInfo.multidimensionalInfo?.variables;if(l)for(const e of i){const t=l.find(({name:t})=>t===e.name);if(t?.dimensions?.length)for(let i=e.dimensions.length-1;i>=0;i--){const s=e.dimensions[i],r=t.dimensions.find(({name:e})=>e===s.name);r?r.values&&r.extent?.join(",")===s.extent?.join(",")&&(e.dimensions[i]={...s,values:r.values}):n&&e.dimensions.splice(i,1)}}}catch{}}async _getPixelTypeAndBandCount(e){const{pixelSize:t,extent:n,multidimensionalInfo:i}=this.rasterInfo,s=n.center,r=new R.A({xmin:s.x-t.x,xmax:s.x+t.x,ymin:s.y-t.y,ymax:s.y+t.y,spatialReference:n.spatialReference});let a=[];if(null!=i){const e=i.variables[0];a=[],e.dimensions.forEach(t=>{a.push(new pe.A({variableName:e.name,dimensionName:t.name,values:t.hasRegularIntervals?t.extent?.[0]:t.values?.[0],isSlice:!0}))})}const{coverageDescription:l}=this.coverageInfo,u={interpolation:"nearest",multidimensionalDefinition:a,signal:e},{version:c}=l,{ioConfig:p}=this,d="2.0"===c&&null==p.allowAnyMediaType||"1.1"===c&&null==p.use2GridOffsets;let f;try{f=await this._getCoverage(r,2,2,1,u,!0)}catch(e){if(!d)throw e;if("1.1"===c){if(!e.details?.isResolutionMismatch)throw e;p.use2GridOffsets=!0}}if(!f&&d&&("2.0"===c&&(p.allowAnyMediaType=!0),f=await this._getCoverage(r,2,2,1,u),f&&M.A.getLogger(this).warn("wcsraster:getcoverage",he)),!f)throw new o.A("wcsraster-open","unable to determine pixel type");const h=await this.decodePixelBlock(f,{width:2,height:2,planes:null,pixelType:null});if(null==h)throw new o.A("wcsraster-open","unable to determine pixel type");return{pixelType:h.pixelType,bandCount:h.getPlaneCount()??0}}async _getCoverage(e,t,n,i,s,r=!1){const{coverageDescription:a}=this.coverageInfo,{version:l}=a,u="2.0"===l?this._getCoverage201Parameters(e,t,n,i,s,a):"1.1"===l?this._getCoverage110Parameters(e,t,n,s,a):this._getCoverage100Parameters(e,t,n,s),c="2.0"===l?await this.request(this._constructWCS201Url(u),{signal:s.signal,responseType:"array-buffer"}):await this.request(this.url,{query:u,signal:s.signal,responseType:"array-buffer"});if("1.0"===l)return c.data;if("2.0"===l&&!1!==this.ioConfig.allowAnyMediaType&&"tiff"===(0,ue.g)(c.data))return r&&(this.ioConfig.allowAnyMediaType=!0,M.A.getLogger(this).warn("wcsraster:getcoverage",he)),c.data;const p=function(e){const t=function(e){const t=e.getHeader?.("Content-Type")?.split(";");if(!t)return null;if(!(t[0].trim()??"").startsWith("multipart/"))return null;const n={boundary:"",start:"",type:""};for(let e=1;e<t.length;e++){const i=t[e].indexOf("=");if(i>0){const s=t[e].slice(0,i).trim(),r=t[e].slice(i+1).trim();n[s]=r.startsWith('"')?r.slice(1,-1):r}}return n}(e);return t?{isMultipart:!0,data:t.boundary?ae(e.data,t,0):null}:{isMultipart:!1,data:null}}(c);if(p.isMultipart&&p.data){const e=p.data.find(e=>e.isValidImage);return r&&"base64"===e?.contentTransferEncoding&&M.A.getLogger(this).warn("wcsraster:getcoverage","response is base64 encoded which may impact layer display performance"),e?.contentData}const d=new Uint8Array(c.data,0,Math.min(c.data.byteLength,2e3)),f=String.fromCharCode.apply(null,d).toLowerCase().includes("exception"),h=f&&String.fromCharCode.apply(null,d).includes("A non-zero RESX/RESY or WIDTH/HEIGHT is required but neither was provided");if(f)throw new o.A("wcsraster:getcoverage","server returns an exception",{isResolutionMismatch:h});throw new o.A("wcsraster:getcoverage","response is not a supported multipart mediaType with inline tiff")}_getInterpolationIndex(e){return e&&this.coverageInfo.supportedInterpolations?.includes(e)?"nearest"===e?0:"bilinear"===e?1:"cubic"===e?2:0:0}_getCoverage100Parameters(e,t,n,i){const s=`${e.xmin},${e.ymin},${e.xmax},${e.ymax}`,r=e.spatialReference.wkid,o=(this.coverageInfo.supportedFormats||[]).find(e=>e.toLowerCase().includes("tiff"))||"GEOTIFF",{bandIds:a,interpolation:l}=i,u=this._getInterpolationIndex(l),c=a?a.map(e=>this.coverageInfo.bandNames[e]):null,p=de[u],{multidimensionalDefinition:d}=i;let f;if(null!=d&&null!=this.rasterInfo.multidimensionalInfo){const e=d.find(e=>"StdTime"===e.dimensionName);let t=e?.values;t&&t.length>0&&(Array.isArray(t[0])&&(t=t[0]),f=t.map(e=>ve(e)).join(","))}return{service:"WCS",request:"GetCoverage",version:this.version,coverage:this.coverageId,format:o,crs:`EPSG:${r}`,bbox:s,width:t,height:n,time:f,interpolation:p,band:c?.join(",")}}_getCoverage110Parameters(e,t,n,i,s){const{multidimensionalDefinition:r,bandIds:o,interpolation:a}=i,l=e.spatialReference.wkid,u=`urn:ogc:def:crs:EPSG::${l}`,c=(this.coverageInfo.supportedFormats||[]).find(e=>e.toLowerCase().includes("tiff"))||"image/tiff",p=this._getInterpolationIndex(a),d=fe[p],f=null==a||0===this.coverageInfo.supportedInterpolations?.indexOf(a),h=s.domain.spatialDomain,m=h.origin.x<=h.envelope.xmin&&h.origin.y<=h.envelope.ymin,g=e.width/t,v=e.height/n*(m?1:-1),y=m?[e.xmin,e.ymin]:[e.xmin,e.ymax],w=h.useEPSGAxis&&(0,T.m)(l),x=w?`${y[1]},${y[0]}`:`${y[0]},${y[1]}`,b=this.ioConfig.use2GridOffsets,C=w?b?`${v},${g}`:`${v},0,0,${g}`:b?`${g},${v}`:`${g},0,0,${v}`,I=g/2,S=e.xmin+I,A=e.xmax-I,M=Math.abs(v)/2,R=e.ymin+M,D=e.ymax-M,L=w?`${R},${S},${D},${A},${u}`:`${S},${R},${A},${D},${u}`,P=s.range.find(e=>e.axis.some(e=>e.identifier.toLowerCase().includes("band")));let O,N=P&&d&&o?f?`${P.identifier}[${P.axis[0].identifier}[${o.join(",")}]]`:`${P.identifier}:${d}[${P.axis[0].identifier}[${o.join(",")}]]`:null;if(null!=r&&r.length)for(let e=0;e<r.length;e++){let t=r[e].values;const n=r[e].dimensionName?.toLowerCase(),i=r[e].variableName?.toLowerCase(),o=s.range.find(e=>e.identifier.toLowerCase()===i);if(t.length>0)if(Array.isArray(t[0])&&(t=t[0]),"stdtime"===n)O=t.map(e=>ve(e)).join(",");else if(o){const e=o.axis.find(e=>e.identifier.toLowerCase()===n);e&&(N=f?o.identifier+"["+e.identifier+"["+t.join(",")+"]]":o.identifier+":"+d+"["+e.identifier+"["+t.join(",")+"]]")}e===r.length-1&&o&&!N&&(N=f?o.identifier:o.identifier+":"+d)}return{service:"WCS",request:"GetCoverage",version:this.version,identifier:this.coverageId,format:c,crs:`EPSG:${l}`,boundingbox:L,gridCS:"urn:ogc:def:cs:OGC:0.0:Grid2dSquareCS",gridType:"urn:ogc:def:method:WCS:1.1:2dGridIn2dCrs",gridOrigin:x,gridOffsets:C,gridBaseCRS:u,timeSequence:O,rangeSubset:N}}_getCoverage201Parameters(e,t,n,i,s,r){const{multidimensionalDefinition:o,interpolation:a}=s,l=this._getInterpolationIndex(a);let u=null;const{supportedInterpolations:c}=this.capabilities;if(c?.length)switch(l){case 0:u=c.find(e=>e.toLowerCase().includes("nearest"));break;case 1:u=c.find(e=>e.toLowerCase().includes("linear"));break;case 2:u=c.find(e=>e.toLowerCase().includes("cubic")||e.toLowerCase().includes("quadratic"))}const p=(this.coverageInfo.supportedFormats||[]).find(e=>e.toLowerCase().includes("tiff"))||"image/tiff",{bandNames:d}=this.coverageInfo,{boundedBy:f,domainSet:h,rangeType:m}=r,g=f.isEastFirst?0:1,v=1-g,{axisLabels:y}=f,w=y[g],x=y[v],b=`http://www.opengis.net/def/crs/EPSG/0/${e.spatialReference.wkid}`,C=b,I=[];I.push(`${w}(${e.xmin},${e.xmax})`),I.push(`${x}(${e.ymin},${e.ymax})`);const S=[];if(y.length>2)for(let e=2;e<y.length;e++){const t=h.origin[e];if(y[e].toLowerCase().includes("time")){let n=t.toString();f.uomLabels?.[e].toLowerCase().includes("ole")&&(S.push(y[e]),n=ve(t,!0)),I.push(y[e]+",http://www.opengis.net("+n+")")}else I.push(y[e]+",http://www.opengis.net("+t+")")}let A=null;if(null!=o&&o.length){const e=[];m.forEach(t=>t.forEach(t=>e.push(t.name)));const t=[];for(let n=0;n<o.length;n++){const i=y.find(e=>e===o[n].dimensionName),s=e.find(e=>e===o[n].variableName);if(t.includes(s)||t.push(s),i){let e=o[n].values;if(e.length>0){Array.isArray(e[0])&&(e=e[0]);let t="";t=i.toLowerCase().includes("time")?e.map(e=>ve(e)).join(","):e.join(",");const n=I.findIndex(e=>e.startsWith(i+",http://www.opengis.net"));-1===n&&I.push(i+",http://www.opengis.net("+t+")"),-1===n||I[n].includes("("+t+")")||I.splice(n,1,i+",http://www.opengis.net("+t+")")}}}t.length&&(A=t.join(","))}else d?.length>=2&&(A=(s.bandIds?s.bandIds.map(e=>d[e]):d).join(","));const M=I.join("&subset="),R=!r.domainSet.hasSameAxisLabelsAsBoundedBy&&!1!==this.ioConfig.allowScaleFactor,T=R?null:`${w}(${t}),${x}(${n})`,D=R?1/i:null;return{service:"WCS",request:"GetCoverage",version:this.version,coverageId:this.coverageId,rangesubset:A,interpolation:u,scaleSize:T,scaleFactor:D,subset:M,format:p,mediaType:this.ioConfig.allowAnyMediaType?null:"multipart/related",outputcrs:b,subsettingcrs:C}}_constructWCS201Url(e){const t={...this.ioConfig.customFetchParameters,...e},n=[];return Object.keys(t).forEach(e=>{const i=t[e];null!=i&&("subset"===e?"string"==typeof i&&i.split("&subset=").forEach(e=>{e&&n.push(`subset=${encodeURIComponent(e)}`)}):n.push(`${e}=${encodeURIComponent(i)}`))}),`${encodeURI(this.url)}?${n.join("&")}`}};function ve(e,t=!1){return(t?new Date((0,k.$E)(e)):new Date(e)).toISOString()}(0,i.Cg)([(0,c.MZ)({type:String,json:{write:!0}})],ge.prototype,"datasetFormat",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ge.prototype,"tileType",void 0),(0,i.Cg)([(0,c.MZ)({type:String,json:{write:!0}})],ge.prototype,"version",void 0),(0,i.Cg)([(0,c.MZ)({type:String,json:{write:!0}})],ge.prototype,"coverageId",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],ge.prototype,"rasterId",null),ge=(0,i.Cg)([(0,c.$K)("esri.layers.raster.datasets.WCSRaster")],ge);var ye=n(10873),we=n(20437),xe=n(74797),be=n(30291);const Ce=new Set(["milliseconds","seconds","minutes","hours","days","weeks","months","years","decades","centuries"]);let Ie=class extends((0,v.dM)((0,I.j)((0,w.q)((0,x.A)((0,y.d)((0,A.b)((0,b.G)((0,S.e)((0,C.J)((0,a.M)((0,r.OU)(g.A)))))))))))){constructor(...e){super(...e),this.coverageId=null,this.version=null,this.isReference=null,this.graphicOrigin=new m(this),this.legendEnabled=!0,this.noData=0,this.operationalLayerType="WCS",this.type="wcs",this.popupEnabled=!0,this.popupTemplate=null,this.fields=null,this._debouncedSaveOperations=(0,l.sg)(async(e,t,i)=>{const{save:s,saveAs:r}=await n.e(9838).then(n.bind(n,59838));switch(e){case 0:return s(this,t);case 1:return r(this,i,t)}})}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["WCS"]},e).catch(l.QP).then(()=>this._openRaster(t))),Promise.resolve(this)}get renderer(){return super.renderer}set renderer(e){super.renderer=e}get coverageInfo(){return this.raster.coverageInfo}get defaultPopupTemplate(){return this.createPopupTemplate()}get rasterFields(){const e=[(0,xe.rZ)("Pixel Value")],t=this.raster?.rasterInfo??this.serviceRasterInfo,n=t?.multidimensionalInfo;if(n){const t=(0,xe.AL)(n);e.push(...t)}return e}createPopupTemplate(e){return(0,be.tn)({fields:this.rasterFields,title:this.title},e)}async save(e){return this._debouncedSaveOperations(0,e)}async saveAs(e,t){return this._debouncedSaveOperations(1,t,e)}async _openRaster(e){const t=new ge({url:this.url,version:this.version,coverageId:this.coverageId,ioConfig:{sampling:"closest",...this.ioConfig,customFetchParameters:this.customParameters}});if(await t.open({signal:e}),!t.rasterInfo)throw t.destroy(),new o.A("wcs-layer:load","cannot load resources on "+this.url);const{rasterInfo:n}=t;null==n.noDataValue&&(n.noDataValue=this.noData),this._set("serviceRasterInfo",n),this._set("spatialReference",n.spatialReference),null==this.title&&this.setAtOrigin("title",t.datasetName,"service"),null==this.coverageId&&this.setAtOrigin("coverageId",t.coverageInfo.id,"service"),null==this.version&&t.version&&this.setAtOrigin("version",t.version,"service"),this.setAtOrigin("tileInfo",t.rasterInfo.storageInfo.tileInfo,"service");const{multidimensionalInfo:i}=n;if(null!=i){const e=i.variables[0].dimensions.find(({name:e})=>"StdTime"===e);if(e){let t=e.extent?.[0]??e.values[0];Array.isArray(t)&&(t=t[0]);let n=e.extent?.[1]??e.values[e.values.length-1];Array.isArray(n)&&(n=n[1]);const i=Ce.has(e.intervalUnit?.toLowerCase())?e.intervalUnit?.toLowerCase():null;this.set("timeInfo",{startField:"StdTime",fullTimeExtent:{start:t,end:n},timeZone:null,interval:i?{value:e.interval,unit:i}:null})}}this.raster=t,this._configDefaultSettings(),this.addHandles((0,u.wB)(()=>this.customParameters,e=>this.raster.ioConfig.customFetchParameters=e))}};(0,i.Cg)([(0,c.MZ)({type:String,nonNullable:!0,json:{name:"wcsInfo.coverageId",write:{isRequired:!0,ignoreOrigin:!0}}})],Ie.prototype,"coverageId",void 0),(0,i.Cg)([(0,c.MZ)()],Ie.prototype,"coverageInfo",null),(0,i.Cg)([(0,c.MZ)({type:["1.0.0","1.1.0","1.1.1","1.1.2","2.0.1"],nonNullable:!0,json:{name:"wcsInfo.version",write:{isRequired:!0,ignoreOrigin:!0}}})],Ie.prototype,"version",void 0),(0,i.Cg)([(0,c.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],Ie.prototype,"isReference",void 0),(0,i.Cg)([(0,c.MZ)({json:{read:!0,write:!0}})],Ie.prototype,"blendMode",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0,clonable:!1})],Ie.prototype,"graphicOrigin",void 0),(0,i.Cg)([(0,c.MZ)(ye.fV)],Ie.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:["show","hide"]})],Ie.prototype,"listMode",void 0),(0,i.Cg)([(0,c.MZ)()],Ie.prototype,"noData",void 0),(0,i.Cg)([(0,c.MZ)({type:["WCS"]})],Ie.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,c.MZ)()],Ie.prototype,"raster",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],Ie.prototype,"type",void 0),(0,i.Cg)([(0,c.MZ)(ye.M6)],Ie.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,c.MZ)({type:s.A,json:{name:"popupInfo",write:!0}})],Ie.prototype,"popupTemplate",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0})],Ie.prototype,"defaultPopupTemplate",null),(0,i.Cg)([(0,c.MZ)({readOnly:!0,type:[we.A]})],Ie.prototype,"fields",void 0),(0,i.Cg)([(0,c.MZ)({readOnly:!0,type:[we.A]})],Ie.prototype,"rasterFields",null),Ie=(0,i.Cg)([(0,c.$K)("esri.layers.WCSLayer")],Ie);const Se=Ie},34403(e,t,n){n.d(t,{TP:()=>o});var i=n(79258);Math.PI;const s=i.$O.radius,r=i.$O.eccentricitySquared,o={a1:s*r,a2:s*r*s*r,a3:s*r*r/2,a4:s*r*s*r*2.5,a5:s*r+s*r*r/2,a6:1-r};i.$O.radius,i.$O.flattening,i.Sw.radius,i.Sw.flattening,i.sH.radius,i.sH.flattening,i.sH.radius},38458(e,t,n){n.d(t,{m:()=>s});const i=[[3819,3819],[3821,3824],[3889,3889],[3906,3906],[4001,4025],[4027,4036],[4039,4047],[4052,4055],[4074,4075],[4080,4081],[4120,4176],[4178,4185],[4188,4216],[4218,4289],[4291,4304],[4306,4319],[4322,4326],[4463,4463],[4470,4470],[4475,4475],[4483,4483],[4490,4490],[4555,4558],[4600,4646],[4657,4765],[4801,4811],[4813,4821],[4823,4824],[4901,4904],[5013,5013],[5132,5132],[5228,5229],[5233,5233],[5246,5246],[5252,5252],[5264,5264],[5324,5340],[5354,5354],[5360,5360],[5365,5365],[5370,5373],[5381,5381],[5393,5393],[5451,5451],[5464,5464],[5467,5467],[5489,5489],[5524,5524],[5527,5527],[5546,5546],[2044,2045],[2081,2083],[2085,2086],[2093,2093],[2096,2098],[2105,2132],[2169,2170],[2176,2180],[2193,2193],[2200,2200],[2206,2212],[2319,2319],[2320,2462],[2523,2549],[2551,2735],[2738,2758],[2935,2941],[2953,2953],[3006,3030],[3034,3035],[3038,3051],[3058,3059],[3068,3068],[3114,3118],[3126,3138],[3150,3151],[3300,3301],[3328,3335],[3346,3346],[3350,3352],[3366,3366],[3389,3390],[3416,3417],[3833,3841],[3844,3850],[3854,3854],[3873,3885],[3907,3910],[4026,4026],[4037,4038],[4417,4417],[4434,4434],[4491,4554],[4839,4839],[5048,5048],[5105,5130],[5253,5259],[5269,5275],[5343,5349],[5479,5482],[5518,5519],[5520,5520],[20004,20032],[20064,20092],[21413,21423],[21473,21483],[21896,21899],[22171,22177],[22181,22187],[22191,22197],[25884,25884],[27205,27232],[27391,27398],[27492,27492],[28402,28432],[28462,28492],[30161,30179],[30800,30800],[31251,31259],[31275,31279],[31281,31290],[31466,31700]];function s(e){return null!=e&&i.some(([t,n])=>e>=t&&e<=n)}},49208(e,t,n){n.d(t,{Tp:()=>p,jd:()=>c,pO:()=>f,w5:()=>u});var i=n(34727),s=n(86211),r=n(73941),o=n(79258),a=n(34403),l=n(21325);const u={2:{5:f,7:null,9:null,10:f,1:b,6:null,8:null,0:null,3:m,11:g,2:f,4:M},5:{5:f,7:null,9:null,10:f,1:b,6:null,8:null,0:null,3:m,11:g,2:f,4:M},7:{5:null,7:f,9:null,10:f,1:null,6:x,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:f,10:f,1:null,6:null,8:w,0:null,3:null,11:null,2:null,4:null},3:{5:h,7:null,9:null,10:h,1:function(e,t,n,i){const s=e[t]/O,r=P-2*Math.atan(Math.exp(-e[t+1]/O)),o=O+(e[t+2]??0),a=Math.cos(r)*o;n[i]=Math.cos(s)*a,n[i+1]=Math.sin(s)*a,n[i+2]=Math.sin(r)*o},6:null,8:null,0:null,3:f,11:function(e,t,n,i){h(e,t,n,i),g(n,i,n,i)},2:h,4:function(e,t,n,i){h(e,t,n,i),M(n,i,n,i)}},4:{5:R,7:null,9:null,10:R,1:function(e,t,n,i){R(e,t,n,i),b(n,i,n,i)},6:null,8:null,0:null,3:function(e,t,n,i){R(e,t,n,i),m(n,i,n,i)},11:function(e,t,n,i){R(e,t,n,i),g(n,i,n,i)},2:R,4:f},1:{5:A,7:null,9:null,10:A,1:f,6:null,8:null,0:null,3:function(e,t,n,i){A(e,t,n,i),m(n,i,n,i)},11:function(e,t,n,i){A(e,t,n,i),g(n,i,n,i)},2:A,4:function(e,t,n,i){A(e,t,n,i),M(n,i,n,i)}},6:{5:null,7:S,9:null,10:S,1:null,6:f,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:I,10:I,1:null,6:null,8:f,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:f,3:null,11:null,2:null,4:null},10:{5:f,7:f,9:f,10:f,1:b,6:x,8:w,0:null,3:m,11:g,2:f,4:M},11:{5:v,7:null,9:null,10:v,1:function(e,t,n,i){v(e,t,n,i),b(n,i,n,i)},6:null,8:null,0:null,3:function(e,t,n,i){v(e,t,n,i),m(n,i,n,i)},11:f,2:v,4:function(e,t,n,i){v(e,t,n,i),M(n,i,n,i)}}};function c(e,t){return p(e,t)?.projector}function p(e,t){if(null==e||null==t)return null;if(T.source.spatialReference===e&&T.dest.spatialReference===t)return T;const n=d(e,T.source),i=d(t,T.dest);return 0===n&&0===i?(0,l.aI)(e,t)?T.projector=f:T.projector=null:T.projector=u[n][i],T}function d(e,t){return e?t.spatialReference===e?t.spatialReferenceId:(t.spatialReference=e,"metersPerUnit"in t&&(t.metersPerUnit=(0,s.GA)(e,1)),(0,r.jA)(e)?t.spatialReferenceId=1:(0,l.oT)(e)?t.spatialReferenceId=2:(0,l.K8)(e)?t.spatialReferenceId=3:(0,l.r1)(e)?t.spatialReferenceId=11:e.wkt===r.Ro.wkt?t.spatialReferenceId=4:4490===e.wkid?t.spatialReferenceId=5:e.wkt===r.FY.wkt?t.spatialReferenceId=6:e.wkt===r.LJ.wkt?t.spatialReferenceId=8:(0,r.q8)(e)?t.spatialReferenceId=7:(0,r.KQ)(e)?t.spatialReferenceId=9:t.spatialReferenceId=0):0}function f(e,t,n,i){e!==n&&(n[i++]=e[t++],n[i++]=e[t++],n[i]=e[t]??0)}function h(e,t,n,i){n[i]=L*(e[t]/O),n[i+1]=L*(P-2*Math.atan(Math.exp(-e[t+1]/O))),n[i+2]=e[t+2]??0}function m(e,t,n,s){!function(e,t,n,s,r){const o=.4999999*Math.PI,a=(0,i.qE)(D*e[t+1],-o,o),l=Math.sin(a);n[s++]=D*e[t]*r.radius,n[s++]=r.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[s]=e[t+2]??0}(e,t,n,s,o.$O)}function g(e,t,n,i){n[i]=e[t]*N,n[i+1]=e[t+1]*N,n[i+2]=e[t+2]??0}function v(e,t,n,i){n[i]=e[t]*V,n[i+1]=e[t+1]*V,n[i+2]=e[t+2]??0}function y(e,t,n,i,s){const r=s+(e[t+2]??0),o=D*e[t],a=D*e[t+1],l=Math.cos(a)*r;n[i]=Math.cos(o)*l,n[i+1]=Math.sin(o)*l,n[i+2]=Math.sin(a)*r}function w(e,t,n,i){y(e,t,n,i,o.Sw.radius)}function x(e,t,n,i){y(e,t,n,i,o.sH.radius)}function b(e,t,n,i){y(e,t,n,i,o.$O.radius)}function C(e,t,n,s,r){const o=e[t],a=e[t+1],l=e[t+2]??0,u=Math.sqrt(o*o+a*a+l*l),c=(0,i.YN)(l/(0===u?1:u)),p=Math.atan2(a,o);n[s++]=L*p,n[s++]=L*c,n[s]=u-r}function I(e,t,n,i){C(e,t,n,i,o.Sw.radius)}function S(e,t,n,i){C(e,t,n,i,o.sH.radius)}function A(e,t,n,i){C(e,t,n,i,o.$O.radius)}function M(e,t,n,i){!function(e,t,n,i,s){const r=D*e[t],o=D*e[t+1],a=e[t+2]??0,l=Math.sin(o),u=Math.cos(o),c=s.radius/Math.sqrt(1-s.eccentricitySquared*l*l);n[i++]=(c+a)*u*Math.cos(r),n[i++]=(c+a)*u*Math.sin(r),n[i++]=(c*(1-s.eccentricitySquared)+a)*l}(e,t,n,i,o.$O)}function R(e,t,n,i){const s=a.TP,r=e[t],l=e[t+1],u=e[t+2]??0;let c,p,d,f,h,m,g,v,y,w,x,b,C,I,S,A,M,R,T,D,P;c=Math.abs(u),p=r*r+l*l,d=Math.sqrt(p),f=p+u*u,h=Math.sqrt(f),D=Math.atan2(l,r),m=u*u/f,g=p/f,I=s.a2/h,S=s.a3-s.a4/h,g>.3?(v=c/h*(1+g*(s.a1+I+m*S)/h),T=Math.asin(v),w=v*v,y=Math.sqrt(1-w)):(y=d/h*(1-m*(s.a5-I-g*S)/h),T=Math.acos(y),w=1-y*y,v=Math.sqrt(w)),x=1-o.$O.eccentricitySquared*w,b=o.$O.radius/Math.sqrt(x),C=s.a6*b,I=d-b*y,S=c-C*v,M=y*I+v*S,A=y*S-v*I,R=A/(C/x+M),T+=R,P=M+A*R/2,u<0&&(T=-T),n[i++]=L*D,n[i++]=L*T,n[i]=P}const T={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:f},D=(0,i.kU)(1),L=(0,i.KJ)(1),P=.5*Math.PI,O=o.$O.radius,N=O*Math.PI/180,V=180/(O*Math.PI)},72802(e,t,n){n.d(t,{U:()=>s});var i=n(19419);class s{constructor(e,t,n,s=(0,i.vt)()){this._level=e,this._row=t,this._col=n,this.extent=s}get id(){return this._id??=`${this.level}/${this.row}/${this.col}`,this._id}get level(){return this._level}set level(e){this._level=e,this._id=null}get row(){return this._row}set row(e){this._row=e,this._id=null}get col(){return this._col}set col(e){this._col=e,this._id=null}toJSON(){return{level:this._level,row:this._row,col:this._col,extent:this.extent}}static fromJSON(e){return new s(e.level,e.row,e.col,e.extent)}}},87045(e,t,n){n.d(t,{A:()=>w});var i,s=n(5482),r=n(66552),o=n(25482),a=n(86211),l=n(91429),u=n(56507),c=n(86738),p=n(16930),d=n(21325),f=n(28735),h=n(91806),m=n(72802),g=n(36005),v=n(43937);const y=new r.J({PNG:"png",PNG8:"png8",PNG24:"png24",PNG32:"png32",JPEG:"jpg",JPG:"jpg",DIB:"dib",TIFF:"tiff",EMF:"emf",PS:"ps",PDF:"pdf",GIF:"gif",SVG:"svg",SVGZ:"svgz",Mixed:"mixed",MIXED:"mixed",LERC:"lerc",LERC2D:"lerc2d",RAW:"raw",pbf:"pbf"});let w=class extends o.o{static{i=this}static create(e={}){const{resolutionFactor:t=1,scales:n,size:s=256,spatialReference:r=p.A.WebMercator,numLODs:o=24}=e;if(!(0,d.fn)(r)){const e=[];if(n)for(let t=0;t<n.length;t++){const i=n[t];e.push(new h.A({level:t,scale:i,resolution:i}))}else{let t=5e-4;for(let n=o-1;n>=0;n--)e.unshift(new h.A({level:n,scale:t,resolution:t})),t*=2}return new i({dpi:96,lods:e,origin:new c.A(0,0,r),size:[s,s],spatialReference:r})}const l=(0,d.Vp)(r),u=e.origin?new c.A({x:e.origin.x,y:e.origin.y,spatialReference:r}):new c.A(l?{x:l.origin[0],y:l.origin[1],spatialReference:r}:{x:0,y:0,spatialReference:r}),f=1/(39.37*(0,a.GA)(r)*96),m=[];if(n)for(let e=0;e<n.length;e++){const t=n[e],i=t*f;m.push(new h.A({level:e,scale:t,resolution:i}))}else{let e=(0,d.EA)(r)?512/s*591657527.5917094:256/s*591657527.591555;const n=Math.ceil(o/t);m.push(new h.A({level:0,scale:e,resolution:e*f}));for(let i=1;i<n;i++){const n=e/2**t,s=n*f;m.push(new h.A({level:i,scale:n,resolution:s})),e=n}}return new i({dpi:96,lods:m,origin:u,size:[s,s],spatialReference:r})}constructor(e){super(e),this.dpi=96,this.format=null,this.origin=null,this.size=null,this.spatialReference=null}get isWrappable(){const{spatialReference:e,origin:t}=this;if(e&&t){const n=(0,d.Vp)(e);return e.isWrappable&&!!n&&Math.abs(n.origin[0]-t.x)<=n.dx}return!1}readOrigin(e,t){return c.A.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,n=0;const i=[],s=this._levelToLOD={};e&&(t=-1/0,n=1/0,e.forEach(e=>{i.push(e.scale),t=e.scale>t?e.scale:t,n=e.scale<n?e.scale:n,s[e.level]=e})),this._set("scales",i),this._set("lods",e),this._initializeUpsampleLevels()}readSize(e,t){return[t.cols,t.rows]}writeSize(e,t){t.cols=e[0],t.rows=e[1]}zoomToScale(e){const t=this.scales;if(e<=0)return t[0];if(e>=t.length-1)return t[t.length-1];const n=Math.floor(e),i=n+1;return t[n]/(t[n]/t[i])**(e-n)}scaleToZoom(e){const t=this.scales,n=t.length-1;let i=0;for(;i<n;i++){const n=t[i],s=t[i+1];if(n<=e)return i;if(s===e)return i+1;if(n>e&&s<e)return i+Math.log(n/e)/Math.log(n/s)}return i}tileAt(e,t,n,i){const s=this.lodAt(e);if(!s)return null;let r,o;if("number"==typeof t)r=t,o=n;else if((0,d.aI)(t.spatialReference,this.spatialReference))r=t.x,o=t.y,i=n;else{const e=(0,f.Cv)(t,this.spatialReference);if(null==e)return null;r=e.x,o=e.y,i=n}const a=s.resolution*this.size[0],l=s.resolution*this.size[1];return i??=new m.U(0,0,0),i.level=e,i.row=Math.floor((this.origin.y-o)/l+.001),i.col=Math.floor((r-this.origin.x)/a+.001),this.updateTileInfo(i),i}updateTileInfo(e,t=0){if(!("extent"in e))return!1;let n=this.lodAt(e.level);if(!n&&1===t){const t=this.lods[this.lods.length-1];t.level<e.level&&(n=t)}if(!n)return!1;const i=e.level-n.level,s=n.resolution*this.size[0]/2**i,r=n.resolution*this.size[1]/2**i;return e.extent[0]=this.origin.x+e.col*s,e.extent[1]=this.origin.y-(e.row+1)*r,e.extent[2]=e.extent[0]+s,e.extent[3]=e.extent[1]+r,!0}upsampleTile(e){const t=this._upsampleLevels[e.level];return!(!t||-1===t.parentLevel||(e.level=t.parentLevel,e.row=Math.floor(e.row/t.factor+.001),e.col=Math.floor(e.col/t.factor+.001),this.updateTileInfo(e),0))}getTileBounds(e,t){const n=this.lodAt(t.level);if(null==n)return null;const{resolution:i}=n,s=i*this.size[0],r=i*this.size[1];return e[0]=this.origin.x+t.col*s,e[1]=this.origin.y-(t.row+1)*r,e[2]=e[0]+s,e[3]=e[1]+r,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return i.fromJSON(this.write({}))}getCompatibleForVTL(e){if(this.size[0]!==this.size[1]||256===this.size[0]&&512===e)return null;const t=(512===this.size[0]&&256===e?-1:0)+(this.spatialReference.isGeographic?1:0);if(this.size[0]===e&&0===t)return this;const n=[],s=this.lods.length-t;for(let e=0;e<s;e++){const i=e+t,{scale:s,resolution:r}=i>=0?this.lods[i]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};n.push(new h.A({level:e,scale:s,resolution:r}))}return new i({size:[e,e],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:n})}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let n=0;n<e.length;n++){const i=e[n];this._upsampleLevels[i.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/i.resolution:0},t=i}}};(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],w.prototype,"compressionQuality",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],w.prototype,"dpi",void 0),(0,s.Cg)([(0,l.MZ)({type:String,json:{read:y.read,write:y.write,origins:{"web-scene":{read:!1,write:!1}}}})],w.prototype,"format",void 0),(0,s.Cg)([(0,l.MZ)({readOnly:!0})],w.prototype,"isWrappable",null),(0,s.Cg)([(0,l.MZ)({type:c.A,json:{write:!0}})],w.prototype,"origin",void 0),(0,s.Cg)([(0,g.w)("origin")],w.prototype,"readOrigin",null),(0,s.Cg)([(0,l.MZ)({type:[h.A],value:null,json:{write:!0}})],w.prototype,"lods",null),(0,s.Cg)([(0,l.MZ)({readOnly:!0})],w.prototype,"scales",void 0),(0,s.Cg)([(0,l.MZ)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],w.prototype,"size",void 0),(0,s.Cg)([(0,g.w)("size",["rows","cols"])],w.prototype,"readSize",null),(0,s.Cg)([(0,v.K)("size",{cols:{type:u.jz},rows:{type:u.jz}})],w.prototype,"writeSize",null),(0,s.Cg)([(0,l.MZ)({type:p.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),w=i=(0,s.Cg)([(0,l.$K)("esri.layers.support.TileInfo")],w)},91218(e,t,n){n.r(t),n.d(t,{canProjectWithoutEngine:()=>W,initializeProjection:()=>B,isEqualBaseGCS:()=>q,isLoaded:()=>P,isLoadedOrLoad:()=>O,isLoadedOrLoadFor:()=>N,load:()=>$,project:()=>E,projectAsync:()=>z,projectExtent:()=>ie,projectMany:()=>j,projectMultipoint:()=>J,projectOrLoad:()=>G,projectOrLoadMany:()=>Z,projectPoint:()=>H,projectPolygon:()=>te,projectPolyline:()=>Q,projectWithoutEngine:()=>U,requiresLoad:()=>V,test:()=>F,tryProject:()=>k,unload:()=>X});var i=n(49186),s=n(74887),r=n(62788),o=n(95488),a=n(51850),l=n(21276),u=n(73941),c=n(5443),p=n(91075),d=n(48526),f=n(86738),h=n(39829),m=n(82799),g=n(16930),v=n(98764),y=n(159),w=n(9762),x=n(49208);function b(e,t,n,i,s,r){return C[0]=e,C[1]=t,C[2]=n,(0,w.projectBuffer)(C,i,0,s,r,0)}const C=(0,a.vt)();var I=n(21325),S=n(52006);let A=null,M=null,R=null,T=null,D={};const L=new o.I;function P(){return!!(M?.isLoaded()&&R?.isLoaded()&&T?.isLoaded())}function O(){return!!P()||((0,r.gc)(L),$(),!1)}function N(e,t){return!e||!t||W(e,t)||O()}function V(e,t){return!W(e,t)&&!P()}async function $(e){null==A&&(A=Promise.all([n.e(3276).then(n.bind(n,83276)).then(e=>(M=e,M.load())),n.e(8377).then(n.bind(n,8377)).then(e=>(R=e,R.load())),n.e(2158).then(n.bind(n,12158)).then(e=>(T=e,T.load()))])),await A,(0,s.Te)(e),L.notify()}function E(e,t,n){return Array.isArray(e)?0===e.length?[]:((0,l.H)(e),j(e,e[0].spatialReference,t,n)):((0,l.f)(e),j([e],e.spatialReference,t,n)[0])}function j(e,t,n,i){if(null==t||null==n)return e;if(!e.some(e=>(0,S.Ed)(e))&&W(t,n,i))return e.map(e=>U(e,t,n));if(null==i?.geographicTransformation&&(0,u.jA)(t))return j(e.map(e=>U(e,t,g.A.WGS84)),g.A.WGS84,n,{zConversionDisabled:i?.zConversionDisabled});if(null==i?.geographicTransformation&&(0,u.jA)(n))return j(e,t,g.A.WGS84).map(e=>U(e,g.A.WGS84,n));if(!P())throw new _;if(!i?.geographicTransformation)if(i?.extendedParams)i={...i,geographicTransformation:T.getTransformation(t,n,i.areaOfInterestExtent)||new y.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,n);let s=D[e];s||(s=T.getTransformation(t,n)||new y.A,D[e]=s),i={geographicTransformation:s,zConversionDisabled:i?.zConversionDisabled}}return e[0].spatialReference||(e[0].spatialReference=t),e[0]instanceof p.A?M.executeMany(e,n,i):R.executeMany(e,n,i)}function k(e,t,n){try{return E(e,t,n)}catch(e){return null}}function G(e,t){const n=Z([e],t);return null!=n.pending?{pending:n.pending,geometry:null}:null!=n.geometries?{pending:null,geometry:n.geometries[0]}:{pending:null,geometry:null}}function Z(e,t,n){if(!P())for(const n of e)if(null!=n&&!(0,I.aI)(n.spatialReference,t)&&(0,I.fn)(n.spatialReference)&&(0,I.fn)(t)&&!W(n.spatialReference,t))return(0,r.gc)(L),{pending:$(),geometries:null};return{pending:null,geometries:e.map(e=>null==e?null:(0,I.aI)(e.spatialReference,t)?e:(0,I.fn)(e.spatialReference)&&(0,I.fn)(t)?E(e,t,n):null)}}class _ extends i.A{constructor(){super("projection:not-loaded","projection engine not fully loaded yet, please call load()")}}function X(){A=null,M=null,R=null,T=null,D={}}const F={get loadPromise(){return A}};async function z(e,t,n){if((0,s.Te)(n),!e)return e;const i=Z(Array.isArray(e)?e:[e],t,n);if(i.pending)return await i.pending,(0,s.Te)(n),z(e,t,n);const r=i.geometries??[];return Array.isArray(e)?r:r[0]}function W(e,t,n){return!(n?.areaOfInterestExtent||n?.extendedParams||n?.geographicTransformation)&&(!!(0,I.aI)(e,t)||(0,I.fn)(e)&&(0,I.fn)(t)&&!!(0,x.jd)(e,t))}function q(e,t){if((0,I.aI)(e,t))return!0;if(!(0,I.fn)(e)||!(0,I.fn)(t))return!1;const n=(0,I.oT)(e)||(0,I.K8)(e)||(0,I.x1)(e),i=(0,I.oT)(t)||(0,I.K8)(t)||(0,I.x1)(t);return n&&i}async function B(e,t,n,i){if(P())return(0,s.NO)(i);if(Array.isArray(e)){for(const{source:t,dest:n,options:s}of e)if(t&&n&&!W(t,n,s))return $(i)}else if(e&&t&&!W(e,t,n))return $(i);return(0,s.NO)(i)}function U(e,t,n){return e?"x"in e?K(e,t,new f.A,n,0):"xmin"in e?se(e,t,new c.A,n,0):"rings"in e?ne(e,t,new h.A,n,0):"paths"in e?ee(e,t,new m.A,n,0):"points"in e?Y(e,t,new d.A,n,0):null:null}function H(e,t,n=t.spatialReference,i=0){return null!=n&&null!=e.spatialReference&&null!=K(e,e.spatialReference,t,n,i)}function K(e,t,n,i,s){ae[0]=e.x,ae[1]=e.y;const r=e.z;return ae[2]=void 0!==r?r:s,(0,w.projectBuffer)(ae,t,0,ae,i,0)?(n.x=ae[0],n.y=ae[1],n.spatialReference=i,void 0!==r||(0,u.xP)(i)?(n.z=ae[2],n.hasZ=!0):(n.z=void 0,n.hasZ=!1),void 0===e.m?(n.m=void 0,n.hasM=!1):(n.m=e.m,n.hasM=!0),n):null}function J(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=Y(e,e.spatialReference,t,n,i)}function Y(e,t,n,i,s){const{points:r,hasZ:o,hasM:a}=e,l=[],u=r.length,c=[];for(const e of r)c.push(e[0],e[1],o?e[2]:s);if(!(0,w.projectBuffer)(c,t,0,c,i,0,u))return null;const p=oe(o,i);for(let e=0;e<u;++e){const t=3*e,n=c[t],i=c[t+1];p&&a?l.push([n,i,c[t+2],r[e][3]]):p?l.push([n,i,c[t+2]]):a?l.push([n,i,r[e][2]]):l.push([n,i])}return n.points=l,n.spatialReference=i,n.hasZ=o,n.hasM=a,n}function Q(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=ee(e,e.spatialReference,t,n,i)}function ee(e,t,n,i,s){const{paths:r,hasZ:o,hasM:a}=e,l=[];if(!re(r,o??!1,a??!1,t,l,i,s))return null;const u=oe(o,i);return n.paths=l,n.spatialReference=i,n.hasZ=u,n.hasM=a,n}function te(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=ne(e,e.spatialReference,t,n,i)}function ne(e,t,n,i,s){const{rings:r,hasZ:o,hasM:a}=e,l=[];if(!re(r,o??!1,a??!1,t,l,i,s))return null;const u=oe(o,i);return n.rings=l,n.spatialReference=i,n.hasZ=u,n.hasM=a,n}function ie(e,t,n=t.spatialReference,i=0){return null!=e.spatialReference&&null!=n&&null!=se(e,e.spatialReference,t,n,i)}function se(e,t,n,i,s){const{xmin:r,ymin:o,xmax:a,ymax:l,hasZ:u,hasM:c}=e;if(!b(r,o,u?e.zmin:s,t,ae,i))return null;const p=oe(u,i);return n.xmin=ae[0],n.ymin=ae[1],p&&(n.zmin=ae[2]),b(a,l,u?e.zmax:s,t,ae,i)?(n.xmax=ae[0],n.ymax=ae[1],p&&(n.zmax=ae[2]),c&&(n.mmin=e.mmin,n.mmax=e.mmax),n.spatialReference=i,n):null}function re(e,t,n,i,s,r,o=0){const a=new Array;for(const n of e)for(const e of n)a.push(e[0],e[1],t?e[2]:o);if(!(0,w.projectBuffer)(a,i,0,a,r,0))return!1;let l=0;s.length=0;const u=oe(t,r);for(const t of e){const e=new Array;for(const i of t)u&&n?e.push([a[l++],a[l++],a[l++],i[3]]):u?e.push([a[l++],a[l++],a[l++]]):n?(e.push([a[l++],a[l++],i[2]]),l++):(e.push([a[l++],a[l++]]),l++);s.push(e)}return!0}function oe(e,t){return e||(0,u.xP)(t)||(0,I.aI)(t,v.Y0)}const ae=(0,a.vt)()},91806(e,t,n){n.d(t,{A:()=>l});var i,s=n(5482),r=n(25482),o=n(91429),a=n(56507);let l=class extends r.o{static{i=this}constructor(e){super(e),this.cols=null,this.level=0,this.levelValue=null,this.origin=null,this.resolution=0,this.rows=null,this.scale=0}clone(){return new i({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],l.prototype,"cols",void 0),(0,s.Cg)([(0,o.MZ)({type:a.jz,json:{write:!0}})],l.prototype,"level",void 0),(0,s.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],l.prototype,"levelValue",void 0),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],l.prototype,"origin",void 0),(0,s.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],l.prototype,"resolution",void 0),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],l.prototype,"rows",void 0),(0,s.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],l.prototype,"scale",void 0),l=i=(0,s.Cg)([(0,o.$K)("esri.layers.support.LOD")],l)},98764(e,t,n){n.d(t,{GD:()=>o,Y0:()=>u,lO:()=>c});var i=n(73941),s=n(16930),r=n(21325);const o=new s.A(i.fv),a=new s.A(i.FY),l=new s.A(i.LJ),u=new s.A(i.Ro);function c(e){const t=p.get(e);if(t)return t;let n=o;if(e)if(e===a)n=a;else if(e===l)n=l;else{const t=e.wkid,i=e.latestWkid;if(null!=t||null!=i)(0,r.tl)(t)||(0,r.tl)(i)?n=a:((0,r.ZL)(t)||(0,r.ZL)(i))&&(n=l);else{const t=e.wkt2??e.wkt;if(t){const e=t.toUpperCase();e===d?n=a:e===f&&(n=l)}}}return p.set(e,n),n}const p=new Map,d=a.wkt.toUpperCase(),f=l.wkt.toUpperCase()},99157(e,t,n){n.d(t,{A:()=>a});var i,s=n(5482),r=n(69622),o=n(91429);let a=i=class extends r.A{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,s.Cg)([(0,o.MZ)()],a.prototype,"isInverse",void 0),(0,s.Cg)([(0,o.MZ)()],a.prototype,"wkt",void 0),(0,s.Cg)([(0,o.MZ)()],a.prototype,"wkid",void 0),a=i=(0,s.Cg)([(0,o.$K)("esri.geometry.operators.support.GeographicTransformationStep")],a)}}]);