@arcgis/core 4.33.0-next.20250415 → 4.33.0-next.20250417

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 (447) hide show
  1. package/analysis/Analysis.js +1 -1
  2. package/analysis/AreaMeasurementAnalysis.js +1 -1
  3. package/analysis/DimensionAnalysis.js +1 -1
  4. package/analysis/DirectLineMeasurementAnalysis.js +1 -1
  5. package/analysis/LengthDimension.js +1 -1
  6. package/analysis/LineOfSightAnalysis.js +1 -1
  7. package/analysis/SliceAnalysis.js +1 -1
  8. package/analysis/Viewshed.js +1 -1
  9. package/analysis/ViewshedAnalysis.js +1 -1
  10. package/assets/components/assets/icon/browserJoin16.json +1 -0
  11. package/assets/components/assets/icon/browserJoin24.json +1 -0
  12. package/assets/components/assets/icon/browserJoin32.json +1 -0
  13. package/assets/components/assets/icon/browserPlus16.json +1 -0
  14. package/assets/components/assets/icon/browserPlus24.json +1 -0
  15. package/assets/components/assets/icon/browserPlus32.json +1 -0
  16. package/assets/components/assets/icon/check16.json +1 -1
  17. package/assets/components/assets/icon/check24.json +1 -1
  18. package/assets/components/assets/icon/check32.json +1 -1
  19. package/assets/components/assets/icon/classroomGis16.json +1 -0
  20. package/assets/components/assets/icon/classroomGis24.json +1 -0
  21. package/assets/components/assets/icon/classroomGis32.json +1 -0
  22. package/assets/components/assets/icon/documentLearning16.json +1 -0
  23. package/assets/components/assets/icon/documentLearning24.json +1 -0
  24. package/assets/components/assets/icon/documentLearning32.json +1 -0
  25. package/assets/components/assets/icon/doubleFloatSet16.json +1 -0
  26. package/assets/components/assets/icon/doubleFloatSet24.json +1 -0
  27. package/assets/components/assets/icon/doubleFloatSet32.json +1 -0
  28. package/assets/components/assets/icon/eLearningGis16.json +1 -0
  29. package/assets/components/assets/icon/eLearningGis24.json +1 -0
  30. package/assets/components/assets/icon/eLearningGis32.json +1 -0
  31. package/assets/components/assets/icon/language216.json +1 -0
  32. package/assets/components/assets/icon/language224.json +1 -0
  33. package/assets/components/assets/icon/language232.json +1 -0
  34. package/assets/components/assets/icon/layerSet16.json +1 -0
  35. package/assets/components/assets/icon/layerSet24.json +1 -0
  36. package/assets/components/assets/icon/layerSet32.json +1 -0
  37. package/assets/components/assets/icon/learningGisWorkflow16.json +1 -0
  38. package/assets/components/assets/icon/learningGisWorkflow24.json +1 -0
  39. package/assets/components/assets/icon/learningGisWorkflow32.json +1 -0
  40. package/assets/components/assets/icon/learningSteps16.json +1 -0
  41. package/assets/components/assets/icon/learningSteps24.json +1 -0
  42. package/assets/components/assets/icon/learningSteps32.json +1 -0
  43. package/assets/components/assets/icon/learningWebCourse16.json +1 -0
  44. package/assets/components/assets/icon/learningWebCourse24.json +1 -0
  45. package/assets/components/assets/icon/learningWebCourse32.json +1 -0
  46. package/assets/components/assets/icon/mapInformation16.json +1 -0
  47. package/assets/components/assets/icon/mapInformation24.json +1 -0
  48. package/assets/components/assets/icon/mapInformation32.json +1 -0
  49. package/assets/components/assets/icon/mooc16.json +1 -0
  50. package/assets/components/assets/icon/mooc24.json +1 -0
  51. package/assets/components/assets/icon/mooc32.json +1 -0
  52. package/assets/components/assets/icon/multipleVariablesSet16.json +1 -0
  53. package/assets/components/assets/icon/multipleVariablesSet24.json +1 -0
  54. package/assets/components/assets/icon/multipleVariablesSet32.json +1 -0
  55. package/assets/components/assets/icon/parameters16.json +1 -0
  56. package/assets/components/assets/icon/parameters24.json +1 -0
  57. package/assets/components/assets/icon/parameters32.json +1 -0
  58. package/assets/components/assets/icon/parametersGear16.json +1 -0
  59. package/assets/components/assets/icon/parametersGear24.json +1 -0
  60. package/assets/components/assets/icon/parametersGear32.json +1 -0
  61. package/assets/components/assets/icon/parametersPlus16.json +1 -0
  62. package/assets/components/assets/icon/parametersPlus24.json +1 -0
  63. package/assets/components/assets/icon/parametersPlus32.json +1 -0
  64. package/assets/components/assets/icon/storymapExperience16.json +1 -0
  65. package/assets/components/assets/icon/storymapExperience24.json +1 -0
  66. package/assets/components/assets/icon/storymapExperience32.json +1 -0
  67. package/assets/components/assets/icon/stringSet16.json +1 -0
  68. package/assets/components/assets/icon/stringSet24.json +1 -0
  69. package/assets/components/assets/icon/stringSet32.json +1 -0
  70. package/assets/components/assets/icon/tableSet16.json +1 -0
  71. package/assets/components/assets/icon/tableSet24.json +1 -0
  72. package/assets/components/assets/icon/tableSet32.json +1 -0
  73. package/assets/components/assets/icon/variablePlus16.json +1 -0
  74. package/assets/components/assets/icon/variablePlus24.json +1 -0
  75. package/assets/components/assets/icon/variablePlus32.json +1 -0
  76. package/assets/components/assets/icon/videoLearning16.json +1 -0
  77. package/assets/components/assets/icon/videoLearning24.json +1 -0
  78. package/assets/components/assets/icon/videoLearning32.json +1 -0
  79. package/assets/esri/core/workers/RemoteClient.js +1 -1
  80. package/assets/esri/core/workers/chunks/05cba30c0d3855de7a65.js +1 -0
  81. package/assets/esri/core/workers/chunks/{7ef9bcd58af499a14a08.js → 089a19381b66cd074425.js} +1 -1
  82. package/assets/esri/core/workers/chunks/0be7a0f4c4f4f91d1957.js +1 -0
  83. package/assets/esri/core/workers/chunks/0c6f2808c57ff820bfdd.js +2 -0
  84. package/assets/esri/core/workers/chunks/{baed733a29aa65efc2a0.js.LICENSE.txt → 0c6f2808c57ff820bfdd.js.LICENSE.txt} +7 -1
  85. package/assets/esri/core/workers/chunks/103c78c8bfdb56227bc0.js +1 -0
  86. package/assets/esri/core/workers/chunks/184d7c8ea818bec5c462.js +1 -0
  87. package/assets/esri/core/workers/chunks/{4523ba4a3c8987abca56.js → 1c75f7e4d2e9c8e377e7.js} +1 -1
  88. package/assets/esri/core/workers/chunks/1e1c3243ac82c969bb1f.js +1 -0
  89. package/assets/esri/core/workers/chunks/22f604726529ee6f8c25.js +1 -0
  90. package/assets/esri/core/workers/chunks/25142d431dd1e5e82234.js +1 -0
  91. package/assets/esri/core/workers/chunks/25e19bd171eeb5634a4f.js +1 -0
  92. package/assets/esri/core/workers/chunks/26924d2f03b8a1b7a9b2.js +1 -0
  93. package/assets/esri/core/workers/chunks/27482132abb939a1cdb7.js +1 -0
  94. package/assets/esri/core/workers/chunks/2ae1dbdac9f24f4a3c84.js +1 -0
  95. package/assets/esri/core/workers/chunks/{984c5047ab1fa632ca09.js → 2db5dd5638c93b0af102.js} +1 -1
  96. package/assets/esri/core/workers/chunks/{ed517687b3728fd2eb64.js → 2fd5b48976cefe7cc0ab.js} +1 -1
  97. package/assets/esri/core/workers/chunks/31b2ceed80796c7f6c03.js +1 -0
  98. package/assets/esri/core/workers/chunks/3521a53f826f0ce6ac33.js +1 -0
  99. package/assets/esri/core/workers/chunks/3697ec74522cc5059098.js +1 -0
  100. package/assets/esri/core/workers/chunks/{60472225a228e499b1a2.js → 38557792ff9516fc991b.js} +1 -1
  101. package/assets/esri/core/workers/chunks/388a763da712ca71ccf4.js +1 -0
  102. package/assets/esri/core/workers/chunks/38f9ede26098eb03ca2d.js +2 -0
  103. package/assets/esri/core/workers/chunks/{239821543abbd63c5787.js.LICENSE.txt → 38f9ede26098eb03ca2d.js.LICENSE.txt} +3 -3
  104. package/assets/esri/core/workers/chunks/3b8eee013d7ca156ef2d.js +1 -0
  105. package/assets/esri/core/workers/chunks/{7f86c9ec45f4fae1fb49.js → 3ee505f9ddb671dcfa52.js} +1 -1
  106. package/assets/esri/core/workers/chunks/3f3a2c6ce48d832bf2f1.js +1 -0
  107. package/assets/esri/core/workers/chunks/{82493f51a2182f76dd2f.js → 459e3e507e8ea3e7e6ab.js} +1 -1
  108. package/assets/esri/core/workers/chunks/51b5dfc7085272d26b89.js +1 -0
  109. package/assets/esri/core/workers/chunks/536d7986ebb710a8a452.js +1 -0
  110. package/assets/esri/core/workers/chunks/53eaad20c4f55dae21e0.js +1 -0
  111. package/assets/esri/core/workers/chunks/55eff05354069f34bb1d.js +1 -0
  112. package/assets/esri/core/workers/chunks/569e9ec636199d1f1744.js +1 -0
  113. package/assets/esri/core/workers/chunks/598fade09fa4da759ac2.js +1 -0
  114. package/assets/esri/core/workers/chunks/5ac3096139e3eafd0e1d.js +1 -0
  115. package/assets/esri/core/workers/chunks/{93d06a1a0b700ddb3807.js → 5bdd5ae2d2f23ef6b331.js} +1 -1
  116. package/assets/esri/core/workers/chunks/5db336767959507c07e5.js +2 -0
  117. package/assets/esri/core/workers/chunks/{c03bffa13841e4f80379.js.LICENSE.txt → 5db336767959507c07e5.js.LICENSE.txt} +2 -2
  118. package/assets/esri/core/workers/chunks/5e5225623977e61fd0ef.js +1 -0
  119. package/assets/esri/core/workers/chunks/642a595353a86f3717e3.js +1 -0
  120. package/assets/esri/core/workers/chunks/64640051f1fd787a3362.js +1 -0
  121. package/assets/esri/core/workers/chunks/6d230c55cde66ee905b3.js +1 -0
  122. package/assets/esri/core/workers/chunks/{c1bd47cde53918f454ca.js → 729407e372c8353cf871.js} +1 -1
  123. package/assets/esri/core/workers/chunks/{029705c229ccf2e6b78d.js → 736a11e64e5f03e3936b.js} +39 -38
  124. package/assets/esri/core/workers/chunks/769b66cca8347f0f84db.js +1 -0
  125. package/assets/esri/core/workers/chunks/7c4746f60332620f75c5.js +1 -0
  126. package/assets/esri/core/workers/chunks/{b6dd25bccb9f6e19c18e.js → 7c7ff11246479382974c.js} +1 -1
  127. package/assets/esri/core/workers/chunks/7fce62ef3f0b011e0d35.js +1 -0
  128. package/assets/esri/core/workers/chunks/814d72abbfdd4552e4ec.js +2 -0
  129. package/assets/esri/core/workers/chunks/{373782e9f5d61616fde4.js.LICENSE.txt → 814d72abbfdd4552e4ec.js.LICENSE.txt} +1 -6
  130. package/assets/esri/core/workers/chunks/{3a84ee5d0434362286a6.js → 873327fc41edd3830afa.js} +4 -4
  131. package/assets/esri/core/workers/chunks/8ea182c2fc20dba79ef2.js +1 -0
  132. package/assets/esri/core/workers/chunks/{d58fae2fc9d148e015ae.js → 90dc783a617ff053e862.js} +1 -1
  133. package/assets/esri/core/workers/chunks/93e9dfd1ba8f393c6c47.js +1 -0
  134. package/assets/esri/core/workers/chunks/93f792f5b94f3745b57d.js +2 -0
  135. package/assets/esri/core/workers/chunks/{3845e1d47bb51c06682e.js.LICENSE.txt → 93f792f5b94f3745b57d.js.LICENSE.txt} +1 -1
  136. package/assets/esri/core/workers/chunks/a197c86d42cc9ce21924.js +1 -0
  137. package/assets/esri/core/workers/chunks/a276980c06d5d311a37e.js +1 -0
  138. package/assets/esri/core/workers/chunks/a600194cfe26aedc21dd.js +1 -0
  139. package/assets/esri/core/workers/chunks/{a4239e301728d594afa5.js → a6b14665a46c2af5ac11.js} +1 -1
  140. package/assets/esri/core/workers/chunks/ae156b99e60a2bf940e4.js +1 -0
  141. package/assets/esri/core/workers/chunks/afcb12bf54a5656f641e.js +2 -0
  142. package/assets/esri/core/workers/chunks/{75e01c6404cbd51daabc.js.LICENSE.txt → afcb12bf54a5656f641e.js.LICENSE.txt} +1 -1
  143. package/assets/esri/core/workers/chunks/b2f1d1721a9dd88a1adf.js +1 -0
  144. package/assets/esri/core/workers/chunks/{4275dcec730a11173661.js → b7fc99ec15e2c86a6425.js} +1 -1
  145. package/assets/esri/core/workers/chunks/b8248939373e25a8d6db.js +1 -0
  146. package/assets/esri/core/workers/chunks/bbaadce582df7e20397b.js +1 -0
  147. package/assets/esri/core/workers/chunks/{18404cd87d29b2bdc7bf.js → c4dba6cf17aece714d22.js} +1 -1
  148. package/assets/esri/core/workers/chunks/c5d786166a5609b85276.js +2 -0
  149. package/assets/esri/core/workers/chunks/{e4d522ade82192f32d54.js.LICENSE.txt → c5d786166a5609b85276.js.LICENSE.txt} +1 -1
  150. package/assets/esri/core/workers/chunks/{f4111bb5e5a4910b684a.js → c616139a160eab9cd717.js} +1 -1
  151. package/assets/esri/core/workers/chunks/{c589d32f8efcca6bf712.js → c6b08fdc0421258efcf5.js} +1 -1
  152. package/assets/esri/core/workers/chunks/c779335f5d5455c77a62.js +1 -0
  153. package/assets/esri/core/workers/chunks/{eb61e484f090fca28937.js → cb2be1a81bdd3443f758.js} +1 -1
  154. package/assets/esri/core/workers/chunks/ccc50f28f217e50cc2c3.js +1 -0
  155. package/assets/esri/core/workers/chunks/cd2927b922444880566d.js +1 -0
  156. package/assets/esri/core/workers/chunks/{df1225a3e751a662c182.js → d04efa51da9b4eb3a8a7.js} +1 -1
  157. package/assets/esri/core/workers/chunks/d434d44916d32d4b10d5.js +1 -0
  158. package/assets/esri/core/workers/chunks/{50c1753ee3dc0d28ffd7.js → d696abbb1b13ac1a689b.js} +1 -1
  159. package/assets/esri/core/workers/chunks/dbaa4b8d37aab40d7bd1.js +2 -0
  160. package/assets/esri/core/workers/chunks/dbaa4b8d37aab40d7bd1.js.LICENSE.txt +3 -0
  161. package/assets/esri/core/workers/chunks/{4a15308b54734247f38e.js → dd8e72d6784a8ebc115d.js} +1 -1
  162. package/assets/esri/core/workers/chunks/de0784474d2e9e504a91.js +1 -0
  163. package/assets/esri/core/workers/chunks/{aca3ccb9599bcc444617.js → e1472af8f5d64c057d04.js} +1 -1
  164. package/assets/esri/core/workers/chunks/e27fa1e84f16b7f19a90.js +1 -0
  165. package/assets/esri/core/workers/chunks/e2cd6038d9c7167b128e.js +1 -0
  166. package/assets/esri/core/workers/chunks/{d88544ac332be633e3fe.js → e64e0c3240f8e577a61c.js} +1 -1
  167. package/assets/esri/core/workers/chunks/e9fba86036b8fe700a41.js +1 -0
  168. package/assets/esri/core/workers/chunks/{0252d853419adc203f04.js → ef6e805c49e1afdf966b.js} +1 -1
  169. package/assets/esri/core/workers/chunks/f2bc75a718a10065011d.js +1 -0
  170. package/assets/esri/core/workers/chunks/{1263391920fbb8926ced.js → f34ce3c37a385b341631.js} +1 -1
  171. package/assets/esri/core/workers/chunks/{e3d25d027885eb1a415f.js → f458a40e1f8fce3ad23c.js} +1 -1
  172. package/assets/esri/core/workers/chunks/f65b720b750aebca1bcd.js +1 -0
  173. package/assets/esri/core/workers/chunks/fdcbd28f38bc485ac5e3.js +1 -0
  174. package/assets/esri/themes/dark/main.css +1 -1
  175. package/assets/esri/themes/light/main.css +1 -1
  176. package/assets/esri/themes/light/view.css +1 -1
  177. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_ar.json +1 -1
  178. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_bg.json +1 -1
  179. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_bs.json +1 -1
  180. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_ca.json +1 -1
  181. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_cs.json +1 -1
  182. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_da.json +1 -1
  183. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_de.json +1 -1
  184. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_el.json +1 -1
  185. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_es.json +1 -1
  186. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_et.json +1 -1
  187. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_fi.json +1 -1
  188. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_fr.json +1 -1
  189. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_he.json +1 -1
  190. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_hr.json +1 -1
  191. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_hu.json +1 -1
  192. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_id.json +1 -1
  193. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_it.json +1 -1
  194. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_ja.json +1 -1
  195. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_ko.json +1 -1
  196. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_lt.json +1 -1
  197. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_lv.json +1 -1
  198. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_nl.json +1 -1
  199. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_no.json +1 -1
  200. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_pl.json +1 -1
  201. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_pt-BR.json +1 -1
  202. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_pt-PT.json +1 -1
  203. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_ro.json +1 -1
  204. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_ru.json +1 -1
  205. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_sk.json +1 -1
  206. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_sl.json +1 -1
  207. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_sr.json +1 -1
  208. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_sv.json +1 -1
  209. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_th.json +1 -1
  210. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_tr.json +1 -1
  211. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_uk.json +1 -1
  212. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_vi.json +1 -1
  213. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_zh-CN.json +1 -1
  214. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_zh-HK.json +1 -1
  215. package/assets/esri/widgets/TimeSlider/t9n/TimeSlider_zh-TW.json +1 -1
  216. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ar.json +1 -0
  217. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bg.json +1 -0
  218. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_bs.json +1 -0
  219. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ca.json +1 -0
  220. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_cs.json +1 -0
  221. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_da.json +1 -0
  222. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_de.json +1 -0
  223. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_el.json +1 -0
  224. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_es.json +1 -0
  225. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_et.json +1 -0
  226. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fi.json +1 -0
  227. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_fr.json +1 -0
  228. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_he.json +1 -0
  229. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hr.json +1 -0
  230. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_hu.json +1 -0
  231. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_id.json +1 -0
  232. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_it.json +1 -0
  233. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ja.json +1 -0
  234. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ko.json +1 -0
  235. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lt.json +1 -0
  236. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_lv.json +1 -0
  237. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_nl.json +1 -0
  238. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_no.json +1 -0
  239. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pl.json +1 -0
  240. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-BR.json +1 -0
  241. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_pt-PT.json +1 -0
  242. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ro.json +1 -0
  243. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_ru.json +1 -0
  244. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sk.json +1 -0
  245. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sl.json +1 -0
  246. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sr.json +1 -0
  247. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_sv.json +1 -0
  248. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_th.json +1 -0
  249. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_tr.json +1 -0
  250. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_uk.json +1 -0
  251. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_vi.json +1 -0
  252. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-CN.json +1 -0
  253. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-HK.json +1 -0
  254. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_zh-TW.json +1 -0
  255. package/chunks/ComponentShader.glsl.js +14 -14
  256. package/chunks/DefaultMaterial.glsl.js +6 -6
  257. package/chunks/OITBlend.glsl.js +1 -0
  258. package/chunks/Path.glsl.js +3 -3
  259. package/chunks/RealisticTree.glsl.js +5 -5
  260. package/chunks/SSAO.glsl.js +5 -4
  261. package/chunks/Viewshed.glsl.js +1 -1
  262. package/core/promiseUtils.d.ts +1 -0
  263. package/core/urlUtils.d.ts +4 -0
  264. package/geometry/support/MeshTexture.js +1 -1
  265. package/identity/IdentityModal.js +1 -1
  266. package/interfaces.d.ts +290 -42
  267. package/intl/date.js +1 -1
  268. package/intl/messages.js +1 -1
  269. package/intl/number.js +1 -1
  270. package/layers/FeatureLayer.js +1 -1
  271. package/layers/ParquetLayer.js +1 -1
  272. package/layers/ViewshedLayer.js +1 -1
  273. package/layers/graphics/sources/ParquetSource.js +1 -1
  274. package/layers/save/featureLayerUtils.js +1 -1
  275. package/layers/support/ParquetEncodingBase.js +5 -0
  276. package/layers/support/ParquetEncodingLocation.js +5 -0
  277. package/layers/support/ParquetEncodingWkb.js +5 -0
  278. package/layers/support/layerUtils.js +1 -1
  279. package/layers/support/parquetUtils.js +5 -0
  280. package/libs/parquet/parquet.js +1 -1
  281. package/package.json +2 -2
  282. package/portal/PortalItem.js +1 -1
  283. package/portal/PortalUser.js +1 -1
  284. package/portal/support/portalItemUtils.js +1 -1
  285. package/rest/networks/trace.js +1 -1
  286. package/rest/print.js +1 -1
  287. package/support/TablesMixin.js +1 -1
  288. package/support/modeUtils.js +5 -0
  289. package/support/revision.js +1 -1
  290. package/views/2d/layers/features/layerAdapters/ParquetLayerAdapter.js +1 -1
  291. package/views/2d/layers/features/sources/strategies/ParquetLoadStrategy.js +1 -1
  292. package/views/3d/analysis/Dimension/DimensionVisualization.js +1 -1
  293. package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
  294. package/views/3d/analysis/LineOfSightAnalysisView3D.js +1 -1
  295. package/views/3d/analysis/Viewshed/ViewshedComputedData.js +1 -1
  296. package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
  297. package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
  298. package/views/3d/analysis/Viewshed/ViewshedVisualization.js +1 -1
  299. package/views/3d/analysis/ViewshedAnalysisView3D.js +1 -1
  300. package/views/3d/interactive/Manipulator3D.js +1 -1
  301. package/views/3d/interactive/editingTools/transform/ExtentTransformTool.js +1 -1
  302. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentMove.js +1 -1
  303. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentRotate.js +1 -1
  304. package/views/3d/interactive/editingTools/transform/extentTransform/ExtentScale.js +1 -1
  305. package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
  306. package/views/3d/interactive/visualElements/Object3DVisualElement.js +1 -1
  307. package/views/3d/interactive/visualElements/OutlineVisualElement.js +1 -1
  308. package/views/3d/interactive/visualElements/ParallelLineVisualElement.js +1 -1
  309. package/views/3d/interactive/visualElements/RightAngleQuadVisualElement.js +1 -1
  310. package/views/3d/interactive/visualElements/ViewshedShapeVisualElement.js +1 -1
  311. package/views/3d/interactive/visualElements/VisualElementResources.js +1 -1
  312. package/views/3d/layers/DrapedSubView3D.js +1 -1
  313. package/views/3d/layers/graphics/Graphics3DExtrudeSymbolLayer.js +1 -1
  314. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  315. package/views/3d/layers/graphics/Graphics3DLineCalloutSymbolLayer.js +1 -1
  316. package/views/3d/layers/graphics/Graphics3DLineSymbolLayer.js +1 -1
  317. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  318. package/views/3d/layers/graphics/Graphics3DObject3DGraphicLayer.js +1 -1
  319. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  320. package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
  321. package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
  322. package/views/3d/layers/graphics/Graphics3DSymbolLayer.js +1 -1
  323. package/views/3d/layers/graphics/Graphics3DTextSymbolLayer.js +1 -1
  324. package/views/3d/layers/graphics/Graphics3DWaterSymbolLayer.js +1 -1
  325. package/views/3d/layers/graphics/LabelDeconflictor.js +1 -1
  326. package/views/3d/layers/graphics/Labeler.js +1 -1
  327. package/views/3d/layers/graphics/MeshFastUpdateProcessor.js +1 -1
  328. package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
  329. package/views/3d/layers/graphics/pipeline/rendering/DirectRenderer.js +1 -1
  330. package/views/3d/layers/graphics/pipeline/rendering/LodRenderer.js +1 -1
  331. package/views/3d/layers/graphics/polygonUtils.js +1 -1
  332. package/views/3d/layers/support/HeatmapFeatureProcessor.js +1 -1
  333. package/views/3d/support/MemoryController.js +1 -1
  334. package/views/3d/support/engineContent/line.js +1 -1
  335. package/views/3d/terrain/OverlayRenderer.js +1 -1
  336. package/views/3d/webgl-engine/Stage.js +1 -1
  337. package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
  338. package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
  339. package/views/3d/webgl-engine/core/shaderLibrary/Laserline.glsl.js +1 -1
  340. package/views/3d/webgl-engine/effects/bloom/BloomPresets.glsl.js +1 -1
  341. package/views/3d/webgl-engine/effects/bloom/BloomRenderNode.js +1 -1
  342. package/views/3d/webgl-engine/lib/ContentObjectType.js +1 -1
  343. package/views/3d/webgl-engine/lib/Geometry.js +1 -1
  344. package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
  345. package/views/3d/webgl-engine/lib/GridLocalOriginFactory.js +1 -1
  346. package/views/3d/webgl-engine/lib/IntersectableGeometry.js +5 -0
  347. package/views/3d/webgl-engine/lib/Material.js +1 -1
  348. package/views/3d/webgl-engine/lib/Object3D.js +1 -1
  349. package/views/3d/webgl-engine/lib/PathGeometry.js +1 -1
  350. package/views/3d/webgl-engine/lib/RayIntersections.js +1 -1
  351. package/views/3d/webgl-engine/lib/RenderContext.js +1 -1
  352. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  353. package/views/3d/webgl-engine/lib/RendererBase.js +1 -1
  354. package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
  355. package/views/3d/webgl-engine/lib/WebGLLayer.js +1 -1
  356. package/views/3d/webgl-engine/materials/DefaultMaterial.js +1 -1
  357. package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
  358. package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
  359. package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
  360. package/views/3d/webgl-engine/parts/RenderView.js +1 -1
  361. package/views/3d/webgl-engine/shaders/DefaultMaterialTechniqueConfiguration.js +1 -1
  362. package/views/ToolViewManager.js +1 -1
  363. package/views/analysis/analysisViewUtils.js +1 -1
  364. package/views/draw/support/HighlightHelper.js +1 -1
  365. package/views/interactive/InteractiveToolBase.js +1 -1
  366. package/views/interactive/Tooltip.js +1 -1
  367. package/views/interactive/interactiveToolUtils.js +1 -1
  368. package/views/interactive/keybindings.js +1 -1
  369. package/views/support/Scheduler.js +1 -1
  370. package/views/ui/UI.js +1 -1
  371. package/webdoc/support/saveUtils.js +1 -1
  372. package/webdoc/support/webdocSaveUtils.js +1 -1
  373. package/webscene/Slide.js +1 -1
  374. package/widgets/Editor/UpdateFeatureWorkflow.js +1 -1
  375. package/widgets/ElevationProfile/support/chartUtils.js +1 -1
  376. package/widgets/Feature/FeatureMedia.js +1 -1
  377. package/widgets/Feature/support/featureUtils.js +1 -1
  378. package/widgets/FeatureTable/Grid/Grid.js +1 -1
  379. package/widgets/FeatureTable/Grid/GridViewModel.js +1 -1
  380. package/widgets/FeatureTable.js +1 -1
  381. package/widgets/Features/FeaturesViewModel.js +1 -1
  382. package/widgets/Legend/support/sizeRampUtils.js +1 -1
  383. package/widgets/TimeSlider.js +1 -1
  384. package/widgets/support/AnalysisViewModel.js +1 -1
  385. package/widgets/support/InteractiveAnalysisViewModel.js +1 -1
  386. package/widgets/support/UtilityNetworkAssociations/FeatureUtilityNetworkAssociationsViewModel.js +1 -1
  387. package/widgets/support/widget.js +1 -1
  388. package/assets/esri/core/workers/chunks/0297e55a49ca0d1231ef.js +0 -1
  389. package/assets/esri/core/workers/chunks/04008648c59031bca8ea.js +0 -1
  390. package/assets/esri/core/workers/chunks/067dda58592fbf4fb812.js +0 -1
  391. package/assets/esri/core/workers/chunks/0b4e63e705db09dbe171.js +0 -1
  392. package/assets/esri/core/workers/chunks/1072b4f37eacbbfda2c8.js +0 -1
  393. package/assets/esri/core/workers/chunks/1b87fa15470cce26feea.js +0 -1
  394. package/assets/esri/core/workers/chunks/239821543abbd63c5787.js +0 -2
  395. package/assets/esri/core/workers/chunks/272a309760dacb13dee3.js +0 -1
  396. package/assets/esri/core/workers/chunks/2791f1f2791087d0217f.js +0 -1
  397. package/assets/esri/core/workers/chunks/35dccd3883d2e466c42e.js +0 -1
  398. package/assets/esri/core/workers/chunks/364860a42edc0c3b8d5b.js +0 -1
  399. package/assets/esri/core/workers/chunks/373782e9f5d61616fde4.js +0 -2
  400. package/assets/esri/core/workers/chunks/37e49d1a1407c193dcd0.js +0 -1
  401. package/assets/esri/core/workers/chunks/37e4f588a6896f98bce3.js +0 -1
  402. package/assets/esri/core/workers/chunks/3845e1d47bb51c06682e.js +0 -2
  403. package/assets/esri/core/workers/chunks/3f6dc811b5d515c2725c.js +0 -1
  404. package/assets/esri/core/workers/chunks/4ba34124054752b363c0.js +0 -1
  405. package/assets/esri/core/workers/chunks/4baef5262ce401bf81bb.js +0 -1
  406. package/assets/esri/core/workers/chunks/4e711f4fa1cbedf4dae5.js +0 -1
  407. package/assets/esri/core/workers/chunks/593396b4c210da77a131.js +0 -1
  408. package/assets/esri/core/workers/chunks/5b32c2a1b276352593dc.js +0 -1
  409. package/assets/esri/core/workers/chunks/5df4e73905c0ae75e37c.js +0 -1
  410. package/assets/esri/core/workers/chunks/5fb9bb3ac2f60dbd59c4.js +0 -1
  411. package/assets/esri/core/workers/chunks/66e90f7d473d1f688254.js +0 -1
  412. package/assets/esri/core/workers/chunks/68d7babbe7e0d934e056.js +0 -1
  413. package/assets/esri/core/workers/chunks/6e6b60779c11efc128af.js +0 -1
  414. package/assets/esri/core/workers/chunks/72d7e45e7eb28f2cc0b0.js +0 -1
  415. package/assets/esri/core/workers/chunks/759c12b0715279e3c0f6.js +0 -1
  416. package/assets/esri/core/workers/chunks/75e01c6404cbd51daabc.js +0 -2
  417. package/assets/esri/core/workers/chunks/77660e18ea793ae85f83.js +0 -1
  418. package/assets/esri/core/workers/chunks/879d672d12f9ef2e1b50.js +0 -1
  419. package/assets/esri/core/workers/chunks/90442f47c9f31f26b453.js +0 -1
  420. package/assets/esri/core/workers/chunks/91439b59260b0fb04be9.js +0 -1
  421. package/assets/esri/core/workers/chunks/96978d039f183565bffa.js +0 -1
  422. package/assets/esri/core/workers/chunks/999a4f7ca581f28cc1c4.js +0 -1
  423. package/assets/esri/core/workers/chunks/af41dcc8006cd0f451c2.js +0 -1
  424. package/assets/esri/core/workers/chunks/af9fda47d02c51a2c7da.js +0 -1
  425. package/assets/esri/core/workers/chunks/baed733a29aa65efc2a0.js +0 -2
  426. package/assets/esri/core/workers/chunks/c03bffa13841e4f80379.js +0 -2
  427. package/assets/esri/core/workers/chunks/c7ab674764312d65348f.js +0 -1
  428. package/assets/esri/core/workers/chunks/ca0572fe5614005acceb.js +0 -1
  429. package/assets/esri/core/workers/chunks/d2c7067bb6654c0e2793.js +0 -1
  430. package/assets/esri/core/workers/chunks/d46c82a55219b27c301b.js +0 -1
  431. package/assets/esri/core/workers/chunks/d89f105b8a0b13dd8e5f.js +0 -1
  432. package/assets/esri/core/workers/chunks/e13caf9691f556071e31.js +0 -1
  433. package/assets/esri/core/workers/chunks/e14449f07ed3386f4f2b.js +0 -1
  434. package/assets/esri/core/workers/chunks/e31bb256921807464715.js +0 -1
  435. package/assets/esri/core/workers/chunks/e4d522ade82192f32d54.js +0 -2
  436. package/assets/esri/core/workers/chunks/e5713b757f770a138b8c.js +0 -1
  437. package/assets/esri/core/workers/chunks/e6544e966f14fb410157.js +0 -1
  438. package/assets/esri/core/workers/chunks/e792603b7cc3ddd133f3.js +0 -1
  439. package/assets/esri/core/workers/chunks/e7cb4003c45e42b48ea6.js +0 -1
  440. package/assets/esri/core/workers/chunks/eb011e8b14db37ddb110.js +0 -1
  441. package/assets/esri/core/workers/chunks/f0c864425f000ab87a7b.js +0 -1
  442. package/assets/esri/core/workers/chunks/f7d33d18bf1bd4db9df8.js +0 -1
  443. package/assets/esri/core/workers/chunks/f9396af9cbfd165e72e2.js +0 -1
  444. package/assets/esri/core/workers/chunks/fa2d836d4a844b26b84e.js +0 -1
  445. package/layers/support/parquetLayerUtils.js +0 -5
  446. package/support/themeUtils.js +0 -5
  447. package/views/3d/webgl-engine/lib/MaterialCollection.js +0 -5
@@ -1,2 +0,0 @@
1
- /*! For license information please see 75e01c6404cbd51daabc.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7292],{7804:(t,e,i)=>{i.d(e,{OA:()=>o,WL:()=>s,u$:()=>r});const o={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},r=t=>(...e)=>({_$litDirective$:t,values:e});class s{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},12618:(t,e,i)=>{i.d(e,{WF:()=>s,qy:()=>r.qy,S$:()=>a.S,s6:()=>r.s6,JW:()=>r.JW});var o=i(28760),r=i(36752);class s extends o.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,r.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return r.c0}}s._$litElement$=!0,s.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:s});const n=globalThis.litElementPolyfillSupport;n?.({LitElement:s}),(globalThis.litElementVersions??=[]).push("4.1.1");var a=i(41793)},14813:(t,e,i)=>{i.d(e,{Qu:()=>s,qu:()=>r});var o=i(34088);let r=!1;const s=t=>{r=!0,(0,o.s)(t)}},18504:(t,e,i)=>{i.d(e,{Rt:()=>s,mY:()=>a});var o=i(36752);const{I:r}=o.ge,s=t=>void 0===t.strings,n={},a=(t,e=n)=>t._$AH=e},26031:(t,e,i)=>{i.d(e,{WF:()=>w,lh:()=>v,le:()=>A,s6:()=>$,CP:()=>k,zl:()=>x,Bq:()=>C,pf:()=>E});var o=i(98015);function r(t){let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){const i=e;return i.manager?.loadedCalled||i._offspring.push(t),i._postLoad.promise}return!1}var s=Object.defineProperty;var n=globalThis.HTMLElement??function(t){const e=t.split(":");return 1===e.length?[e[0],(0,o.j1)(e[0])]:e};function a([t,e]){this[t]=e}(class extends n{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new o.cY,this._postLoaded=new o.cY,this._offspring=[],this._saveInstanceProperties();const t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(this._initializeComponent.bind(this)).catch((t=>{this._postLoaded.reject(t),setTimeout((()=>{throw t}))}))}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){s(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(e){this._store[t]=e}})}static _bindAsync(t){s(this.prototype,t,{async value(...e){this._litElement||await this._postLoaded.promise;const i=this._litElement;return await i[t](...e)},configurable:!0})}static _bindSync(t){s(this.prototype,t,{value(...e){return this._litElement[t](...e)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){const t=this.constructor,e=this;t._properties?.forEach((t=>{Object.hasOwn(this,t)&&(this._store[t]=e[t],delete e[t])}))}attributeChangedCallback(t,e,i){this._litElement?.attributeChangedCallback(t,e,i),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask((()=>{this._ancestorLoad=r(this)}))}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){const e=this.constructor,i=e._name,o=this._store,r=Object.values(t).find((t=>t.tagName===i)),n=`${i}--lazy`;let c=r;for(;c&&!Object.hasOwn(c,"lumina");)c=Object.getPrototypeOf(c);!function(t){const e=t.prototype,i=Element.prototype;Object.hasOwn(e,"isConnected")||(e.setAttribute=function(t,e){i.setAttribute.call(this.el,t,e)},e.removeAttribute=function(t){i.removeAttribute.call(this.el,t)},s(e,"isConnected",{get(){return Reflect.get(i,"isConnected",this.el)}}))}(c),!e._LitConstructor&&(e._LitConstructor=r,customElements.define(n,r)),r.lazy=this;const l=document.createElement(n);r.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach((t=>{const e=this.getAttribute(t);l.attributeChangedCallback(t,null,e)})),Object.entries(o).forEach(a,l);const h=this.isConnected;(h||this._ancestorLoad)&&(l.connectedCallback?.(),h||l.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}});var c={},l=i(90286);Event,Event;var h=i(28760);h.W3,h.Ec;var d=i(12618),u=i(36752),p=i(7804);const f=(0,p.u$)(class extends p.WL{constructor(t){if(super(t),t.type!==p.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const i=t.element.classList;for(const t of this.st)t in e||(i.remove(t),this.st.delete(t));for(const t in e){const o=!!e[t];o===this.st.has(t)||this.nt?.has(t)||(o?(i.add(t),this.st.add(t)):(i.remove(t),this.st.delete(t)))}return u.c0}}),g="important",m=" !"+g,y=(0,p.u$)(class extends p.WL{constructor(t){if(super(t),t.type!==p.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?i.removeProperty(t):i[t]=null);for(const t in e){const o=e[t];if(null!=o){this.ft.add(t);const e="string"==typeof o&&o.endsWith(m);t.includes("-")||e?i.setProperty(t,e?o.slice(0,-11):o,e?g:""):i[t]=o}}return u.c0}});i(56328);var b=(t="",e={},i=(0,l.Gk)())=>{const o={emit:o=>{""===t&&(0,l.hq)();const r=new CustomEvent(t,{detail:o,cancelable:!0,bubbles:!0,composed:!0,...e});return i.el.dispatchEvent(r),r}};return""===t&&(0,l.Nh)(void 0,(e=>{t=e.key}),o),o},v=b.bind(null,""),_=()=>{},w=class t extends d.WF{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=(0,l.lr)(this),this._postLoad=this.constructor.lazy?._postLoad??new o.cY,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new o.cY,this._enableUpdating=this.enableUpdating,this.enableUpdating=_;const e=t.prototype.shouldUpdate;this.shouldUpdate!==e&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=e),d.S$&&this.el.setAttribute(this.constructor.runtime.hydratedAttribute,"")}static finalizeStyles(t){const e=super.finalizeStyles(t),i=this.shadowRootOptions===c;return void 0===this.runtime?.commonStyles||i?e:[this.runtime.commonStyles,...e]}static createProperty(t,e){const i="number"==typeof e?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0;super.createProperty(t,{attribute:!!(1&i&&"string"==typeof t)&&(0,o.j1)(t),reflect:!!(2&i),type:4&i?Boolean:8&i?Number:void 0,state:!!(16&i),readOnly:!!(32&i),noAccessor:!!(64&i),...r})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;const t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask((()=>this._load().catch((t=>{this._postLoaded.reject(t),setTimeout((()=>{throw t}))}))))}createRenderRoot(){const t=this.el.shadowRoot,e=this.constructor,i=e.shadowRootOptions,o=t??(i===c?this.el:this.el.attachShadow(i));if(Object.defineProperty(this,"shadowRoot",{value:o}),t)return d.WF.prototype.createRenderRoot.call(this),t;if(this.isConnected){const t=o.getRootNode();t.adoptedStyleSheets=[...t.adoptedStyleSheets,...e.elementStyles.map((t=>"styleSheet"in t?t.styleSheet:t))]}return o}async _load(){const t=this.el._ancestorLoad??r(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();const e=this._offspring.filter((t=>!t.manager?.loadedCalled));e.length&&await Promise.allSettled(e.map((async t=>await t.componentOnReady()))),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,e,i){const o=e?.bind(this)??e;this.manager.onLifecycle((()=>(this.el.addEventListener(t,o,i),()=>this.el.removeEventListener(t,o,i))))}listenOn(t,e,i,o){const r=i?.bind(this)??i;this.manager.onLifecycle((()=>(t.addEventListener(e,r,o),()=>t.removeEventListener(e,r,o))))}async componentOnReady(){return await this._postLoaded.promise,this}};function A(t){let e;const i=t=>{e=new URL(t,globalThis.location?.href||void 0).href},o={...t,getAssetPath(t){const i=new URL(t,e);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:i,customElement(t,e){e.runtime=o,e.tagName=t,customElements.get(t)||customElements.define(t,e)}};return i(t.defaultAssetPath),o}w.$createEvent=b;var k=t=>"object"==typeof t&&null!=t?f(t):t,x=t=>"object"==typeof t&&null!=t?y(t):t,$=u.s6;function C(t,e,i){null==i?t.removeAttribute(e):t.setAttribute(e,i)}var E={toAttribute:t=>!0===t?"":!1===t?null:t}},28760:(t,e,i)=>{i.d(e,{Ec:()=>m,W3:()=>g,mN:()=>b});var o=i(33826);const{is:r,defineProperty:s,getOwnPropertyDescriptor:n,getOwnPropertyNames:a,getOwnPropertySymbols:c,getPrototypeOf:l}=Object,h=globalThis,d=h.trustedTypes,u=d?d.emptyScript:"",p=h.reactiveElementPolyfillSupport,f=(t,e)=>t,g={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},m=(t,e)=>!r(t,e),y={attribute:!0,type:String,converter:g,reflect:!1,hasChanged:m};Symbol.metadata??=Symbol("metadata"),h.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=y){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),o=this.getPropertyDescriptor(t,i,e);void 0!==o&&s(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){const{get:o,set:r}=n(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const s=o?.call(this);r.call(this,e),this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(f("elementProperties")))return;const t=l(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(f("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(f("properties"))){const t=this.properties,e=[...a(t),...c(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift((0,o.sk)(t))}else void 0!==t&&e.push((0,o.sk)(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return(0,o.Rf)(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){const i=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,i);if(void 0!==o&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:g).toAttribute(e,i.type);this._$Em=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$Em=null}}_$AK(t,e){const i=this.constructor,o=i._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=i.getPropertyOptions(o),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:g;this._$Em=o,this[o]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??m)(this[t],e))return;this.P(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t)!0!==i.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],i)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[f("elementProperties")]=new Map,b[f("finalized")]=new Map,p?.({ReactiveElement:b}),(h.reactiveElementVersions??=[]).push("2.0.4")},33826:(t,e,i)=>{i.d(e,{AH:()=>c,Rf:()=>l,sk:()=>h});const o=globalThis,r=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),n=new WeakMap;class a{constructor(t,e,i){if(this._$cssResult$=!0,i!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(r&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&n.set(e,t))}return t}toString(){return this.cssText}}const c=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new a(i,t,s)},l=(t,e)=>{if(r)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=o.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}},h=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,s))(e)})(t):t},34088:(t,e,i)=>{i.d(e,{C:()=>a,D:()=>c,c:()=>m,f:()=>d,g:()=>y,i:()=>f,l:()=>u,s:()=>b});var o=i(26031),r=i(41793);const s="calcite-mode-auto",n="calcite-mode-dark",a={autoMode:s,darkMode:n,lightMode:"calcite-mode-light",rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},c={filter:250,nextTick:0,resize:150,reposition:100};function l(){const{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,i=()=>t.contains(n)||t.contains(s)&&e?"dark":"light",o=t=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:t}})),r=t=>{a!==t&&o(t),a=t};let a=i();o(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(t=>r(t.matches?"dark":"light"))),new MutationObserver((()=>r(i()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const h=globalThis.calciteConfig,d=h?.focusTrapStack||[],u=h?.logLevel||"info",p="3.0.3",f=()=>!r.S&&typeof navigator<"u"&&typeof window<"u"&&typeof location<"u"&&typeof document<"u"&&window.location===location&&window.document===document;f()&&("interactive"===document.readyState?l():document.addEventListener("DOMContentLoaded",(()=>l()),{once:!0})),function(){if(h&&h.version)return;console.info(`Using Calcite Components ${p} [Date: 2025-02-19, Revision: 0b0b89f59]`);const t=h||globalThis.calciteConfig||{};Object.defineProperty(t,"version",{value:p,writable:!1}),globalThis.calciteConfig=t}();const g=(0,o.le)({defaultAssetPath:"https://js.arcgis.com/calcite-components/3.0.3/",hydratedAttribute:"calcite-hydrated"}),{customElement:m,getAssetPath:y,setAssetPath:b}=g},36752:(t,e,i)=>{i.d(e,{JW:()=>$,XX:()=>V,c0:()=>E,ej:()=>C,ge:()=>F,qy:()=>x,s6:()=>L});const o=globalThis,r=o.trustedTypes,s=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,n="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,c="?"+a,l=`<${c}>`,h=document,d=()=>h.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,f=t=>p(t)||"function"==typeof t?.[Symbol.iterator],g="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,y=/-->/g,b=/>/g,v=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,w=/"/g,A=/^(?:script|style|textarea|title)$/i,k=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),x=k(1),$=k(2),C=k(3),E=Symbol.for("lit-noChange"),L=Symbol.for("lit-nothing"),S=new WeakMap,O=h.createTreeWalker(h,129);function T(t,e){if(!p(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(e):e}const U=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":3===e?"<math>":"",c=m;for(let e=0;e<i;e++){const i=t[e];let h,d,u=-1,p=0;for(;p<i.length&&(c.lastIndex=p,d=c.exec(i),null!==d);)p=c.lastIndex,c===m?"!--"===d[1]?c=y:void 0!==d[1]?c=b:void 0!==d[2]?(A.test(d[2])&&(r=RegExp("</"+d[2],"g")),c=v):void 0!==d[3]&&(c=v):c===v?">"===d[0]?(c=r??m,u=-1):void 0===d[1]?u=-2:(u=c.lastIndex-d[2].length,h=d[1],c=void 0===d[3]?v:'"'===d[3]?w:_):c===w||c===_?c=v:c===y||c===b?c=m:(c=v,r=void 0);const f=c===v&&t[e+1].startsWith("/>")?" ":"";s+=c===m?i+l:u>=0?(o.push(h),i.slice(0,u)+n+i.slice(u)+a+f):i+a+(-2===u?e:f)}return[T(t,s+(t[i]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),o]};class P{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,l=0;const h=t.length-1,u=this.parts,[p,f]=U(t,e);if(this.el=P.createElement(p,i),O.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=O.nextNode())&&u.length<h;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(n)){const e=f[l++],i=o.getAttribute(t).split(a),r=/([.?@])?(.*)/.exec(e);u.push({type:1,index:s,name:r[2],strings:i,ctor:"."===r[1]?I:"?"===r[1]?M:"@"===r[1]?N:z}),o.removeAttribute(t)}else t.startsWith(a)&&(u.push({type:6,index:s}),o.removeAttribute(t));if(A.test(o.tagName)){const t=o.textContent.split(a),e=t.length-1;if(e>0){o.textContent=r?r.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],d()),O.nextNode(),u.push({type:2,index:++s});o.append(t[e],d())}}}else if(8===o.nodeType)if(o.data===c)u.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(a,t+1));)u.push({type:7,index:s}),t+=a.length-1}s++}}static createElement(t,e){const i=h.createElement("template");return i.innerHTML=t,i}}function j(t,e,i=t,o){if(e===E)return e;let r=void 0!==o?i._$Co?.[o]:i._$Cl;const s=u(e)?void 0:e._$litDirective$;return r?.constructor!==s&&(r?._$AO?.(!1),void 0===s?r=void 0:(r=new s(t),r._$AT(t,i,o)),void 0!==o?(i._$Co??=[])[o]=r:i._$Cl=r),void 0!==r&&(e=j(t,r._$AS(t,e.values),r,o)),e}class R{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,o=(t?.creationScope??h).importNode(e,!0);O.currentNode=o;let r=O.nextNode(),s=0,n=0,a=i[0];for(;void 0!==a;){if(s===a.index){let e;2===a.type?e=new D(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new W(r,this,t)),this._$AV.push(e),a=i[++n]}s!==a?.index&&(r=O.nextNode(),s++)}return O.currentNode=h,o}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class D{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=j(this,t,e),u(t)?t===L||null==t||""===t?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==E&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):f(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==L&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(h.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,o="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=P.createElement(T(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new R(o,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=S.get(t.strings);return void 0===e&&S.set(t.strings,e=new P(t)),e}k(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new D(this.O(d()),this.O(d()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class z{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,r){this.type=1,this._$AH=L,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=L}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=j(this,t,e,0),s=!u(t)||t!==this._$AH&&t!==E,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=j(this,o[i+n],e,n),a===E&&(a=this._$AH[n]),s||=!u(a)||a!==this._$AH[n],a===L?t=L:t!==L&&(t+=(a??"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.j(t)}j(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class I extends z{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===L?void 0:t}}class M extends z{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==L)}}class N extends z{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){if((t=j(this,t,e,0)??L)===E)return;const i=this._$AH,o=t===L&&i!==L||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==L&&(i===L||o);o&&this.element.removeEventListener(this.name,this,i),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class W{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){j(this,t)}}const F={M:n,P:a,A:c,C:1,L:U,R,D:f,V:j,I:D,H:z,N:M,U:N,B:I,F:W},H=o.litHtmlPolyfillSupport;H?.(P,D),(o.litHtmlVersions??=[]).push("3.2.1");const V=(t,e,i)=>{const o=i?.renderBefore??e;let r=o._$litPart$;if(void 0===r){const t=i?.renderBefore??null;o._$litPart$=r=new D(e.insertBefore(d(),t),t,void 0,i??{})}return r._$AI(t),r}},37330:(t,e,i)=>{i.d(e,{I:()=>nt});var o=function(){return o=Object.assign||function(t){for(var e,i=1,o=arguments.length;i<o;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},o.apply(this,arguments)},r={exports:{}},s={},n={exports:{}},a={};function c(){return{"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1}}var l=/javascript\s*\:/gim;a.whiteList={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1},a.getDefaultWhiteList=c,a.onAttr=function(t,e,i){},a.onIgnoreAttr=function(t,e,i){},a.safeAttrValue=function(t,e){return l.test(e)?"":e};var h=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},d=function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")},u=a,p=function(t,e){";"!==(t=d(t))[t.length-1]&&(t+=";");var i=t.length,o=!1,r=0,s=0,n="";function a(){if(!o){var i=h(t.slice(r,s)),a=i.indexOf(":");if(-1!==a){var c=h(i.slice(0,a)),l=h(i.slice(a+1));if(c){var d=e(r,n.length,c,l,i);d&&(n+=d+"; ")}}}r=s+1}for(;s<i;s++){var c=t[s];if("/"===c&&"*"===t[s+1]){var l=t.indexOf("*/",s+2);if(-1===l)break;r=(s=l+1)+1,o=!1}else"("===c?o=!0:")"===c?o=!1:";"===c?o||a():"\n"===c&&a()}return h(n)};function f(t){return null==t}function g(t){(t=function(t){var e={};for(var i in t)e[i]=t[i];return e}(t||{})).whiteList=t.whiteList||u.whiteList,t.onAttr=t.onAttr||u.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||u.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||u.safeAttrValue,this.options=t}g.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e=this.options,i=e.whiteList,o=e.onAttr,r=e.onIgnoreAttr,s=e.safeAttrValue;return p(t,(function(t,e,n,a,c){var l=i[n],h=!1;if(!0===l?h=l:"function"==typeof l?h=l(a):l instanceof RegExp&&(h=l.test(a)),!0!==h&&(h=!1),a=s(n,a)){var d,u={position:e,sourcePosition:t,source:c,isWhite:h};return h?f(d=o(n,a,u))?n+":"+a:d:f(d=r(n,a,u))?void 0:d}}))};var m=g;!function(t,e){var i=a,o=m;for(var r in(e=t.exports=function(t,e){return new o(e).process(t)}).FilterCSS=o,i)e[r]=i[r]}(n,n.exports);var y=n.exports,b={indexOf:function(t,e){var i,o;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,o=t.length;i<o;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var o,r;if(Array.prototype.forEach)return t.forEach(e,i);for(o=0,r=t.length;o<r;o++)e.call(i,t[o],o,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/.exec(t);return e?e.index:-1}},v=y.FilterCSS,_=y.getDefaultWhiteList,w=b;var A=new v;function k(t){return t.replace(x,"&lt;").replace($,"&gt;")}var x=/</g,$=/>/g,C=/"/g,E=/&quot;/g,L=/&#([a-zA-Z0-9]*);?/gim,S=/&colon;?/gim,O=/&newline;?/gim,T=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,U=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,P=/u\s*r\s*l\s*\(.*/gi;function j(t){return t.replace(C,"&quot;")}function R(t){return t.replace(E,'"')}function D(t){return t.replace(L,(function(t,e){return"x"===e[0]||"X"===e[0]?String.fromCharCode(parseInt(e.substr(1),16)):String.fromCharCode(parseInt(e,10))}))}function z(t){return t.replace(S,":").replace(O," ")}function I(t){for(var e="",i=0,o=t.length;i<o;i++)e+=t.charCodeAt(i)<32?" ":t.charAt(i);return w.trim(e)}function M(t){return I(t=z(t=D(t=R(t))))}function N(t){return k(t=j(t))}s.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},s.getDefaultWhiteList=function(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}},s.onTag=function(t,e,i){},s.onIgnoreTag=function(t,e,i){},s.onTagAttr=function(t,e,i){},s.onIgnoreTagAttr=function(t,e,i){},s.safeAttrValue=function(t,e,i,o){if(i=M(i),"href"===e||"src"===e){if("#"===(i=w.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"data:image/"!==i.substr(0,11)&&"ftp://"!==i.substr(0,6)&&"./"!==i.substr(0,2)&&"../"!==i.substr(0,3)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===e){if(T.lastIndex=0,T.test(i))return""}else if("style"===e){if(U.lastIndex=0,U.test(i))return"";if(P.lastIndex=0,P.test(i)&&(T.lastIndex=0,T.test(i)))return"";!1!==o&&(i=(o=o||A).process(i))}return N(i)},s.escapeHtml=k,s.escapeQuote=j,s.unescapeQuote=R,s.escapeHtmlEntities=D,s.escapeDangerHtml5Entities=z,s.clearNonPrintableCharacter=I,s.friendlyAttrValue=M,s.escapeAttrValue=N,s.onIgnoreTagStripAll=function(){return""},s.StripTagBody=function(t,e){"function"!=typeof e&&(e=function(){});var i=!Array.isArray(t),o=[],r=!1;return{onIgnoreTag:function(s,n,a){if(function(e){return!!i||-1!==w.indexOf(t,e)}(s)){if(a.isClosing){var c=a.position+10;return o.push([!1!==r?r:a.position,c]),r=!1,"[/removed]"}return r||(r=a.position),"[removed]"}return e(s,n,a)},remove:function(t){var e="",i=0;return w.forEach(o,(function(o){e+=t.slice(i,o[0]),i=o[1]})),e+=t.slice(i)}}},s.stripCommentTag=function(t){for(var e="",i=0;i<t.length;){var o=t.indexOf("\x3c!--",i);if(-1===o){e+=t.slice(i);break}e+=t.slice(i,o);var r=t.indexOf("--\x3e",o);if(-1===r)break;i=r+3}return e},s.stripBlankChar=function(t){var e=t.split("");return(e=e.filter((function(t){var e=t.charCodeAt(0);return!(127===e||e<=31&&10!==e&&13!==e)}))).join("")},s.cssFilter=A,s.getDefaultCSSWhiteList=_;var W={},F=b;function H(t){var e,i=F.spaceIndex(t);return e=-1===i?t.slice(1,-1):t.slice(1,i+1),"/"===(e=F.trim(e).toLowerCase()).slice(0,1)&&(e=e.slice(1)),"/"===e.slice(-1)&&(e=e.slice(0,-1)),e}function V(t){return"</"===t.slice(0,2)}var q=/[^a-zA-Z0-9\\_:.-]/gim;function B(t,e){for(;e<t.length;e++){var i=t[e];if(" "!==i)return"="===i?e:-1}}function Y(t,e){for(;e<t.length;e++){var i=t[e];if(" "!==i)return"'"===i||'"'===i?e:-1}}function X(t,e){for(;e>0;e--){var i=t[e];if(" "!==i)return"="===i?e:-1}}function Z(t){return function(t){return'"'===t[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]}(t)?t.substr(1,t.length-2):t}W.parseTag=function(t,e,i){var o="",r=0,s=!1,n=!1,a=0,c=t.length,l="",h="";t:for(a=0;a<c;a++){var d=t.charAt(a);if(!1===s){if("<"===d){s=a;continue}}else if(!1===n){if("<"===d){o+=i(t.slice(r,a)),s=a,r=a;continue}if(">"===d){o+=i(t.slice(r,s)),l=H(h=t.slice(s,a+1)),o+=e(s,o.length,l,h,V(h)),r=a+1,s=!1;continue}if('"'===d||"'"===d)for(var u=1,p=t.charAt(a-u);""===p.trim()||"="===p;){if("="===p){n=d;continue t}p=t.charAt(a-++u)}}else if(d===n){n=!1;continue}}return r<t.length&&(o+=i(t.substr(r))),o},W.parseAttr=function(t,e){var i=0,o=0,r=[],s=!1,n=t.length;function a(t,i){if(!((t=(t=F.trim(t)).replace(q,"").toLowerCase()).length<1)){var o=e(t,i||"");o&&r.push(o)}}for(var c=0;c<n;c++){var l,h=t.charAt(c);if(!1!==s||"="!==h)if(!1===s||c!==o){if(/\s|\n|\t/.test(h)){if(t=t.replace(/\s|\n|\t/g," "),!1===s){if(-1===(l=B(t,c))){a(F.trim(t.slice(i,c))),s=!1,i=c+1;continue}c=l-1;continue}if(-1===(l=X(t,c-1))){a(s,Z(F.trim(t.slice(i,c)))),s=!1,i=c+1;continue}}}else{if(-1===(l=t.indexOf(h,c+1)))break;a(s,F.trim(t.slice(o+1,l))),s=!1,i=(c=l)+1}else s=t.slice(i,c),i=c+1,o='"'===t.charAt(i)||"'"===t.charAt(i)?i:Y(t,c+1)}return i<t.length&&(!1===s?a(t.slice(i)):a(s,Z(F.trim(t.slice(i))))),F.trim(r.join(" "))};var G=y.FilterCSS,K=s,J=W,Q=J.parseTag,tt=J.parseAttr,et=b;function it(t){return null==t}function ot(t){(t=function(t){var e={};for(var i in t)e[i]=t[i];return e}(t||{})).stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=K.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=function(t){var e={};for(var i in t)Array.isArray(t[i])?e[i.toLowerCase()]=t[i].map((function(t){return t.toLowerCase()})):e[i.toLowerCase()]=t[i];return e}(t.whiteList||t.allowList):t.whiteList=K.whiteList,t.onTag=t.onTag||K.onTag,t.onTagAttr=t.onTagAttr||K.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||K.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||K.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||K.safeAttrValue,t.escapeHtml=t.escapeHtml||K.escapeHtml,this.options=t,!1===t.css?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new G(t.css))}ot.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e=this.options,i=e.whiteList,o=e.onTag,r=e.onIgnoreTag,s=e.onTagAttr,n=e.onIgnoreTagAttr,a=e.safeAttrValue,c=e.escapeHtml,l=this.cssFilter;e.stripBlankChar&&(t=K.stripBlankChar(t)),e.allowCommentTag||(t=K.stripCommentTag(t));var h=!1;e.stripIgnoreTagBody&&(h=K.StripTagBody(e.stripIgnoreTagBody,r),r=h.onIgnoreTag);var d=Q(t,(function(t,e,h,d,u){var p={sourcePosition:t,position:e,isClosing:u,isWhite:Object.prototype.hasOwnProperty.call(i,h)},f=o(h,d,p);if(!it(f))return f;if(p.isWhite){if(p.isClosing)return"</"+h+">";var g=function(t){var e=et.spaceIndex(t);if(-1===e)return{html:"",closing:"/"===t[t.length-2]};var i="/"===(t=et.trim(t.slice(e+1,-1)))[t.length-1];return i&&(t=et.trim(t.slice(0,-1))),{html:t,closing:i}}(d),m=i[h],y=tt(g.html,(function(t,e){var i=-1!==et.indexOf(m,t),o=s(h,t,e,i);return it(o)?i?(e=a(h,t,e,l))?t+'="'+e+'"':t:it(o=n(h,t,e,i))?void 0:o:o}));return d="<"+h,y&&(d+=" "+y),g.closing&&(d+=" /"),d+">"}return it(f=r(h,d,p))?c(d):f}),c);return h&&(d=h.remove(d)),d};var rt=ot;!function(t,e){var i=s,o=W,r=rt;function n(t,e){return new r(e).process(t)}(e=t.exports=n).filterXSS=n,e.FilterXSS=r,function(){for(var t in i)e[t]=i[t];for(var r in o)e[r]=o[r]}(),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=t.exports)}(r,r.exports);var st=r.exports,nt=function(){function t(t,e){var i,r=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=o(o({},st.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(t,e,i,o){return"a"===t&&"href"===e||("img"===t||"source"===t)&&"src"===e?r.sanitizeUrl(i):st.safeAttrValue(t,e,i,o)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"},t&&!e?i=t:t&&e?((i=Object.create(this.arcgisFilterOptions)).css={whiteList:this.arcgisCSSWhiteList},Object.keys(t).forEach((function(e){if("whiteList"===e)i.whiteList=r._extendObjectOfArrays([r.arcgisWhiteList,t.whiteList||{}]);else if("css"===e){var o=t.css.whiteList;null!=o&&t.css instanceof Object&&Object.keys(o).forEach((function(t){return i.css.whiteList[t]=o[t]}))}else i[e]=t[e]}))):((i=Object.create(this.arcgisFilterOptions)).whiteList=this.arcgisWhiteList,i.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=i,this._xssFilter=new st.FilterXSS(i)}return t.prototype.sanitize=function(t,e){switch(void 0===e&&(e={}),typeof t){case"number":return isNaN(t)||!isFinite(t)?null:t;case"boolean":return t;case"string":return this._xssFilter.process(t);case"object":return this._iterateOverObject(t,e);default:if(e.allowUndefined&&void 0===t)return;return null}},t.prototype.sanitizeUrl=function(t,e){var i=(null!=e?e:{}).isProtocolRequired,o=void 0===i||i,r=this._trim(t.substring(0,t.indexOf(":"))),s="/"===t,n=/^#/.test(t),a=r&&this.allowedProtocols.indexOf(r.toLowerCase())>-1;return s||n||a?st.escapeAttrValue(t):r||o?"":st.escapeAttrValue("https://".concat(t))},t.prototype.sanitizeHTMLAttribute=function(t,e,i,o){return"function"==typeof this.xssFilterOptions.safeAttrValue?this.xssFilterOptions.safeAttrValue(t,e,i,o):st.safeAttrValue(t,e,i,o)},t.prototype.validate=function(t,e){void 0===e&&(e={});var i=this.sanitize(t,e);return{isValid:t===i,sanitized:i}},t.prototype.encodeHTML=function(t){var e=this;return String(t).replace(/[&<>"'\/]/g,(function(t){return e._entityMap[t]}))},t.prototype.encodeAttrValue=function(t){var e=/^[a-zA-Z0-9]$/;return String(t).replace(/[\x00-\xFF]/g,(function(i,o){return e.test(i)?i:"&#x".concat(Number(t.charCodeAt(o)).toString(16),";")}))},t.prototype._extendObjectOfArrays=function(t){var e={};return t.forEach((function(t){Object.keys(t).forEach((function(i){Array.isArray(t[i])&&Array.isArray(e[i])?e[i]=e[i].concat(t[i]):e[i]=t[i]}))})),e},t.prototype._iterateOverObject=function(t,e){var i=this;void 0===e&&(e={});try{var o=!1,r=void 0;if(Array.isArray(t))r=t.reduce((function(t,r){var s=i.validate(r,e);return s.isValid?t.concat([r]):(o=!0,t.concat([s.sanitized]))}),[]);else{if(!function(t){if("object"!=typeof t||null===t)return!1;if("[object Object]"!==Object.prototype.toString.call(t))return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t)){if(e.allowUndefined&&void 0===t)return;return null}r=Object.keys(t).reduce((function(r,s){var n=t[s],a=i.validate(n,e);return a.isValid?r[s]=n:(o=!0,r[s]=a.sanitized),r}),{})}return o?r:t}catch(t){return null}},t.prototype._trim=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},t}()},41793:(t,e,i)=>{i.d(e,{S:()=>o});const o=!1},56328:(t,e,i)=>{i.d(e,{V:()=>n});var o=i(36752),r=i(7804),s=i(18504);const n=(0,r.u$)(class extends r.WL{constructor(t){if(super(t),t.type!==r.OA.PROPERTY&&t.type!==r.OA.ATTRIBUTE&&t.type!==r.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(0,s.Rt)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===o.c0||e===o.s6)return e;const i=t.element,n=t.name;if(t.type===r.OA.PROPERTY){if(e===i[n])return o.c0}else if(t.type===r.OA.BOOLEAN_ATTRIBUTE){if(!!e===i.hasAttribute(n))return o.c0}else if(t.type===r.OA.ATTRIBUTE&&i.getAttribute(n)===e+"")return o.c0;return(0,s.mY)(t),e}})},90286:(t,e,i)=>{i.d(e,{hq:()=>x,aK:()=>V,yr:()=>X,Gk:()=>a,Nh:()=>O,lr:()=>T,oW:()=>B});var o,r=i(98015),s=Symbol.for("controller");function n(t){o!==t&&(o=t,queueMicrotask((()=>{o===t&&(o=void 0)})))}function a(t){return o}var c,l=[];function h(t){if(void 0===t)return void(l=[]);const e=l.indexOf(t);l=-1===e?[...l,t]:l.slice(0,e+1),queueMicrotask((()=>{l=[]}))}function d(){return l}var u,p=async(t,e)=>{const i=g(t);if(void 0===i)return t;if(await i.ready,"function"==typeof e){const t=i.watchExports((i=>e(i,t)))}return i.exports},f=async t=>{const e=g(t);return await e.ready,e},g=t=>{const e=a().manager.internals.resolveExports(t);if(void 0!==e)return e;if((t=>"object"==typeof t&&null!==t&&(s in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t))return t;const i=function(){const t=c;return c=void 0,t}();return void 0!==i?i:void 0},m={setter:!1,getter:!1,readOnly:!1},y=new WeakMap;u=s;var b=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new r.cY,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[u]=!0,this.ready=this._ready.promise,this._exports=w(this),this._exportWatchers=new Set;const e=t??a(new.target.name);this.component=e,this.component.addController(this),void 0===this.component.manager||(h(this),queueMicrotask((()=>this.catchUpLifecycle())))}catchUpLifecycle(){const{manager:t}=this.component;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t._loadCalled||this.triggerLoad().then((()=>{!t.loadedCalled||this.triggerLoaded()})).catch(console.error)}get exports(){return this._exports}set exports(t){const e=this._exports;e!==t&&(this._exports=t,this._exportWatchers.forEach(r.UF),this.connectedCalled&&!1!==this.assignedProperty&&this.component.requestUpdate(this.assignedProperty,e)),this._ready.resolve(t)}setProvisionalExports(t,e=!0){this._exports=e?w(t):t,this._exportWatchers.forEach(r.UF)}watchExports(t){const e=()=>t(this._exports);return this._exportWatchers.add(e),()=>{this._exportWatchers.delete(e)}}get use(){return n(this.component),p}get useRef(){return n(this.component),f}get useRefSync(){return n(this.component),g}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){const t=this;t.hostConnected&&(0,r.UF)(t.hostConnected,t),this._callbacks.hostConnected.forEach(r.UF),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&(0,r.UF)(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(r.UF),this._lifecycleCleanups.forEach(r.UF),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;const t=this;t.hostLoad&&await(0,r.ao)(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(r.ao)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;const t=this;t.hostLoaded&&(0,r.UF)(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(r.UF),this.loadedCalled=!0}triggerUpdate(t){const e=this;e.hostUpdate&&(0,r.UF)(e.hostUpdate,e,t),this._callbacks.hostUpdate.forEach(v,t)}triggerUpdated(t){const e=this;e.hostUpdated&&(0,r.UF)(e.hostUpdated,e,t),this._callbacks.hostUpdated.forEach(v,t)}triggerDestroy(){const t=this;t.hostDestroy&&(0,r.UF)(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(r.UF)}triggerLifecycle(){const t=this;t.hostLifecycle&&this._callLifecycle((()=>t.hostLifecycle())),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){n(this.component);const e=(0,r.UF)(t);(Array.isArray(e)?e:[e]).forEach((t=>{"function"==typeof t?this._lifecycleCleanups.push(t):"object"==typeof t&&"function"==typeof t.remove&&this._lifecycleCleanups.push(t.remove)}))}};function v(t){(0,r.UF)(t,void 0,this)}var _=b;function w(t){if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const e=new Proxy(t,{get(t,i,o){if(!A.has(i)||!(i in t)||t[i]!==e)return i in t||i in Promise.prototype||"symbol"==typeof i?"function"==typeof t?t[i]:Reflect.get(t,i,o):void 0},set:(t,e,i,o)=>Reflect.set(t,e,i,o)});return e}var A=new Set(["exports","_exports"]),k=void 0;function x(){Array.from(k?.entries()??[]).forEach((([t,{callbacks:e}])=>{const i=Object.keys(t);e.forEach((t=>t(i)))})),k=void 0}function $(t,e,i){var o;const s=e,n=t.manager.internals;(o=n.allWatchers)[s]??(o[s]=[]);const a=n.allWatchers[s],c=i,l=(t,e,i)=>(0,r.UF)(c,null,t,e,i);return a.push(l),()=>{const t=a.indexOf(l);-1!==t&&a.splice(t,1)}}var C=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;const t=this.component.manager.internals;Object.entries(t.members).forEach((([e,[i]])=>{var o;2048&i&&((o=t.setters)[e]??(o[e]=[]),t.setters[e].push(t.readonlySetter))}))},this.trackedValue=S,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,e,i)=>{if(m.readOnly)return t;throw new Error(`Cannot assign to read-only property "${i}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=t}firePropTrackers(t,e){const i=this.keyTrackers;this.trackedValue=S,this.keyTrackers=[],i.forEach((i=>i(t,e)))}getSetProxy(t){const e=this.component,i=e.constructor.prototype;if(this._getSetProxy(i,t,"class"),e.manager.isLit)return;const o=e.el.constructor.prototype;i!==o&&this._getSetProxy(o,t,"html")}_getSetProxy(t,e,i){const o=(r=this.component,s=e,r.manager.internals.members?.[s]?.[0]);var r,s;let n;do{n=Object.getOwnPropertyDescriptor(t,e)}while(!n&&(t=Object.getPrototypeOf(t)));if(!n)return;const a=n.get,c=n.set,l=L in a,h=L in c;if(l&&h)return;const d=!l,u=!h,p=d?function(){let t=a.call(this);const i=y.get(this);if(m.getter||void 0===i)return t;const o=i.manager.internals;t=o.accessorGetter[e](t,e);const r=o.getters[e]??E;for(let i=0;i<r.length;i++)t=r[i](t,e);return t}:a,f=u?function(t){const i=a.call(this),r=y.get(this);if(void 0===r)return void c.call(this,t);let s=r.manager.isLit?t??void 0:function(t,e=8){return null==t||"object"==typeof t||"function"==typeof t?t:4&e?"false"!==t&&(""===t||!!t):2&e?Number.parseFloat(t):1&e?String(t):t}(t,o);const n=r.manager.internals;if(s===i)c.call(this,s);else{const t=m.setter?E:n.setters[e]??E;for(let o=0;o<t.length&&(s=t[o](s,i,e),s!==i);o++);s=n.accessorSetter[e](s,i,e),c.call(this,s),s!==i&&n.enabledWatchers[e]?.forEach((t=>t(s,i,e)))}n.keyTrackers.length>0&&n?.firePropTrackers(e,t)}:c;d&&(p[L]=!0),u&&(f[L]=!0),Object.defineProperty(t,e,{...n,get:p,set:f})}markExports(t,e){("object"==typeof e&&null!==e||"function"==typeof e)&&this._exports.set(e,t)}resolveExports(t){return"object"==typeof t&&null!==t||"function"==typeof t?this._exports.get(t):void 0}},E=[],L=Symbol(),S=Symbol();function O(t=[a(),...d()],e,i){const o=Array.isArray(t)?t:[t];let s=o.length+1;const n=t=>{s-=1,void 0!==t&&(s=Math.min(s,0)),0===s&&e(t)};o.forEach((t=>function(t,e,i){const o=Object.keys(t),s=o.length;void 0===k&&queueMicrotask(x),k??(k=new Map);let n=k.get(t);return void 0===n&&(n={callbacks:[],keyCount:s},k.set(t,n)),n.keyCount!==s&&(n.callbacks.forEach((t=>t(o))),n.callbacks=[],n.keyCount=s),n.callbacks.push((o=>{const n=t=>(0,r.UF)(e,null,t),a=o[s];void 0===a?n(void 0):t[a]===i?n(a):n(void 0)})),i}(t,(e=>n(void 0===e?void 0:{key:e,host:t,isReactive:!1})),i)));const c=o.find((t=>"manager"in t&&"object"==typeof t.manager&&t.manager.component===t));return c&&function(t,e,i){const o=t.manager.internals;o.trackedValue!==S&&o.trackedValue!==i&&o.firePropTrackers(void 0,void 0),0===o.keyTrackers.length&&queueMicrotask((()=>o.firePropTrackers(void 0,void 0))),o.trackedValue=i,o.keyTrackers.push(((t,o)=>(0,r.UF)(e,void 0,i===o?t:void 0)))}(c,(t=>n(void 0===t?void 0:{key:t,host:c,isReactive:!0})),i),i}var T=(t,e)=>new U(t,e),U=class extends _{constructor(t,e){const i="addController"in t,o=new Set,a=t;if(a.addController=function(e){o.add(e),!(s in e)&&t.renderRoot&&t.el.isConnected&&e.hostConnected?.()},a.removeController=function(t){o.delete(t),t.controllerRemoved?.()},!i){const i=e??t.constructor.__forceUpdate;a.requestUpdate=()=>i(t)}super(t),this.internals=new C(this.component),this.destroyed=!1,this._updatePromise=new r.cY,this._originalLifecycles={},this.isLit=i,this.component.manager=this,function(t,e){if(e){const e=t.constructor.elementProperties;t.manager.internals.members=Object.fromEntries(Array.from(e,(([t,e])=>e.noAccessor?void 0:[t,[(e.readOnly?2048:0)|(e.state?32:16)]])).filter(r.EA))}else{const e=t.constructor,i=e.__registerControllers?.(t)??void 0;if(e.__registerControllers=void 0,"object"!=typeof i)throw new Error("Failed to retrieve component meta");t.manager.internals.members=Object.fromEntries(Object.entries(i).filter((([t,[e]])=>!!(63&e))))}}(t,i),this._controllers=o,this.exports=void 0,this.hasDestroy=P in this.component&&"function"==typeof this.component.destroy,this._bindLifecycleMethods();const c=this.internals;Object.keys(c.members).forEach((t=>{c.accessorGetter[t]=R,c.accessorSetter[t]=R,c.getSetProxy(t)})),i?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(t,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),n(t),y.set(t.el,t),y.set(t,t)}_bindLifecycleMethods(){const t=this.component,e=this.isLit,i=t.el===t;this._originalLifecycles={_connectedCallback:e||i?void 0:t.connectedCallback,_disconnectedCallback:e||i?void 0:t.disconnectedCallback,_load:e?t.load:t.componentWillLoad,_loaded:e?t.loaded:t.componentDidLoad,_willUpdate:e?void 0:t.componentWillUpdate,_updated:e?void 0:t.componentDidUpdate,_destroy:t.destroy};const o=this._connectedCallback.bind(this),r=this._disconnectedCallback.bind(this),s=this._update.bind(this),n=this._updated.bind(this);e?t.constructor.prototype.addController.call(t,{hostConnected:o,hostDisconnected:r,hostUpdate:s,hostUpdated:n}):(t.connectedCallback=o,t.disconnectedCallback=r,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=s,t.componentDidUpdate=n),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){const t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${P} prop.`)}void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout);const t=this.internals;t.enabledWatchers=t.allWatchers,x(),t.enableReadonly?.(),this._controllers.forEach(D),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(z),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,I)),await(this._originalLifecycles._load?.call(this.component)),this.hasDestroy&&$(this.component,P,(()=>this._setAutoDestroyTimeout()))}_loaded(){this._controllers.forEach(M),this._originalLifecycles._loaded?.call(this.component)}_update(){const t=this.component;return this._controllers.forEach(N,t.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){const t=this.component;if(this._controllers.forEach(W,t.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)t.$changes=new Map;else{const t=this._updatePromise;this._updatePromise=new r.cY,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(F),this._controllers.clear(),await(this._originalLifecycles._destroy?.call(this.component))}}_setAutoDestroyTimeout(){if(void 0!==this._autoDestroyTimeout&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){const t=()=>{this.destroy().catch(console.error)};this._autoDestroyTimeout=(0,r.oK)(t,j)}}},P="autoDestroyDisabled",j=1e3,R=t=>t;function D(t){"triggerConnected"in t?t.triggerConnected():(0,r.UF)(t.hostConnected,t)}function z(t){"triggerDisconnected"in t?t.triggerDisconnected():(0,r.UF)(t.hostDisconnected,t)}async function I(t){"triggerLoad"in t?await t.triggerLoad():await(0,r.ao)(t.hostLoad,t)}function M(t){"triggerLoaded"in t?t.triggerLoaded():(0,r.UF)(t.hostLoaded,t)}function N(t){"triggerUpdate"in t?t.triggerUpdate(this):(0,r.UF)(t.hostUpdate,t,this)}function W(t){"triggerUpdated"in t?t.triggerUpdated(this):(0,r.UF)(t.hostUpdated,t,this)}function F(t){"triggerDestroy"in t?t.triggerDestroy():(0,r.UF)(t.hostDestroy,t)}var H,V=t=>e=>q(e,t),q=(H=class extends b{constructor(t,e){super(t);const i=this.exports;try{n(this.component);const t=e(this.component,this),o=this.exports!==i;if(t instanceof Promise){o||this.setProvisionalExports(t);const e=t.then((t=>{this.exports=t,super.catchUpLifecycle()})).catch((t=>{this._ready.reject(t),console.error(t)}));this.onLoad((async()=>await e))}else o&&void 0===t||(this.exports=t),queueMicrotask((()=>super.catchUpLifecycle()))}catch(t){this._ready.reject(t),console.error(t)}}catchUpLifecycle(){}},(...t)=>{const e=d(),i=new H(...t),o=i.exports;h(e.at(-1));const r=i.component.manager.internals;var s;return r.markExports(i,o),i.watchExports((t=>r.markExports(i,t))),c!==(s=i)&&(c=s,queueMicrotask((()=>{c===s&&(c=void 0)}))),O([i.component,...e].reverse(),(t=>void 0===t?void 0:function(t,{host:e,key:i,isReactive:o},r){const s=e,n=s[i]!==t.exports,a=s[i]!==r,c=r!==t.exports;n&&!a&&c&&(s[i]=t.exports);if(e===t.component){if(o){const e=t.component.manager.internals;a&&e.markExports(t,s[i]),$(t.component,i,(i=>{i!==t.exports&&e.markExports(t,i)}))}t.assignedProperty=o?void 0:i}t.watchExports((()=>{if(s[i]===t.exports)return;const e=t.component.manager,o=e.internals.setters[i]?.includes(e.internals.readonlySetter);o?function(){m.readOnly=!0;try{return void(s[i]=t.exports)}finally{m.readOnly=!1}}():s[i]=t.exports}))}(i,t,o)),o)}),B=(t,e)=>new Y(t,e),Y=class extends b{constructor(t,e){super(),this._attributes=t,this._callback=e,this._observer=new MutationObserver((i=>{i.forEach((i=>{t.includes(i.attributeName)&&e.call(this.component,this.component.el.getAttribute(i.attributeName),i.oldValue,i.attributeName)}))}))}hostConnected(){this._attributes.forEach((t=>{this.component.el.hasAttribute(t)&&this._callback.call(this.component,null,this.component.el.getAttribute(t),t)})),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}},X=t=>(e={})=>q(void 0,((i,o)=>{const s=(0,r.kn)(i.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},a=i;function c(t){const e=o.exports,i=e._original??e,r=Z(i,t);t&&(r._original=i),o.exports=r}return o.onLifecycle((()=>(0,r.hd)(i.el,(()=>t("./assets")),(({t9nLocale:t,t9nStrings:e,lang:r})=>{const s={...e,_lang:r,_t9nLocale:t,_loading:!1};o.exports=s;const n=e.componentLabel;"string"==typeof n&&"label"in i&&null==i.label&&(i.label??(i.label=n)),c(a.messageOverrides)}),e.name))),"messageOverrides"in a&&o.onLifecycle((()=>$(a,"messageOverrides",c))),e.blocking?(o.setProvisionalExports(n,!1),o.ready):n}));function Z(t,e){if(!e)return t;const i={...t};return Object.entries(e).forEach((([e,o])=>{i[e]="object"==typeof o?Z(t[e],o):o??t[e]})),i}},98015:(t,e,i)=>{i.d(e,{EA:()=>k,UF:()=>n,ao:()=>a,cY:()=>o,hd:()=>m,j1:()=>y,kn:()=>f,oK:()=>v});var o=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}};var r={};function s(t,e,i){const o=function(t,e){let i=t;for(;i;){const t=i.closest?.(e);if(t)return t;const o=i.getRootNode?.();if(o===globalThis.document)return null;i=o.host}return null}(t,`[${e}]`);return o?.getAttribute(e)??i}function n(t,e,...i){try{return t?.call(e,...i)}catch(e){console.error(e,t)}}async function a(t,e,...i){try{const o=t?.call(e,...i);return o instanceof Promise?await o:o}catch(e){console.error(e,t)}}var c=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),l="en",h={pt:"pt-PT",nb:"no",zh:"zh-CN"};async function d(t,e,i=""){const o=`${e}/${i}`,r=`${o}${t}.json`;return u[r]??(u[r]=p(t,o)),await u[r]}var u={};async function p(t,e){const i=`${e}${t}.json`;try{const t=await fetch(i);if(t.ok)return await t.json()}catch(t){return console.error(t),{}}return t===l?{}:await p(l,e)}function f(t){const e=s(t,"lang",globalThis.navigator?.language||l);return{lang:e,t9nLocale:g(e)}}function g(t){const[e,i]=t.split("-"),o=e.toLowerCase();let r=o;return i&&(r=`${o}-${i.toUpperCase()}`),r=h[r]??r,c.has(r)?r:i?g(o):l}function m(t,e,i,o){let s;const n=()=>{(async function(t,e,i=t.tagName.toLowerCase().split("-").slice(1).join("-")){const{lang:o,t9nLocale:r}=f(t),s=`${e}/${i}/t9n`;return{lang:o,t9nLocale:r,t9nStrings:null===i?{}:await d(r,s,"messages.")}})(t,e(),o).then((t=>{s?.lang===t.lang&&s.t9nLocale===t.t9nLocale&&s.t9nStrings===t.t9nStrings||i(t),s=t})).catch(console.error)};return queueMicrotask(n),function(t,e,i){const{subscribe:o}=function(t){const e=t.join(","),i=r[e];if(void 0!==i)return i;const o=new Set,s=new MutationObserver((t=>o.forEach((e=>e(t)))));globalThis.document&&s.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});const n={subscribe:t=>(o.add(t),()=>{o.delete(t),0===o.size&&(s.disconnect(),r[e]=void 0)})};return r[e]=n,n}(e);return o((e=>{const o=e.some((e=>function(t,e){let i=t;for(;i;){if(i===e)return!0;if(!i.parentNode)return!1;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1}(t,e.target)));o&&i()}))}(t,["lang"],n)}var y=t=>t.replace(b,((t,e)=>`${0===e?"":"-"}${t.toLowerCase()}`)),b=/[A-Z]+(?![a-z])|[A-Z]/gu;function v(t,e){const i=e>_?w:e/A;let o=0;const r=setInterval((()=>{o+=i,o>=e&&(clearInterval(r),t())}),i);return r}var _=4e3,w=2e3,A=4;function k(t){return void 0!==t}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5177],{4902:(e,t,r)=>{r.d(t,{A:()=>u});var l=r(90237),i=r(40608);let s=0;const n=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+s++})}};return t=(0,l._)([(0,i.$)("esri.core.Identifiable")],t),t};let o=class extends(n(class{})){};var a;o=(0,l._)([(0,i.$)("esri.core.Identifiable")],o),(a=o||(o={})).IdentifiableMixin=n,a.NumericIdentifiableMixin=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:s++})}};return t=(0,l._)([(0,i.$)("esri.core.Identifiable.NumericIdentifiable")],t),t};const u=o},8303:(e,t,r)=>{r.d(t,{A:()=>T});var l=r(90237),i=r(92602),s=r(70333),n=r(78888),o=r(60999),a=r(49186),u=r(53966),p=r(97768),c=r(74887),d=r(84952),h=r(10107),f=(r(44208),r(87811),r(36005)),y=r(40608),m=r(43937),w=r(83531),v=r(20655),g=r(80812),_=r(41318),A=r(10407);const T=e=>{let t=class extends e{constructor(){super(...arguments),this.resourceReferences={portalItem:null,paths:[]},this.userHasEditingPrivileges=!0,this.userHasFullEditingPrivileges=!1,this.userHasUpdateItemPrivileges=!1}destroy(){this.portalItem=(0,p.pR)(this.portalItem),this.resourceReferences.portalItem=null,this.resourceReferences.paths.length=0}set portalItem(e){e!==this._get("portalItem")&&(this.removeOrigin("portal-item"),this._set("portalItem",e))}readPortalItem(e,t,r){if(t.itemId)return new g.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:l}=await r.e(1204).then(r.bind(r,41204));return(0,c.Te)(t),await l({instance:this,supportedTypes:e.supportedTypes,validateItem:e.validateItem,supportsData:e.supportsData,layerModuleTypeMap:e.layerModuleTypeMap,populateGroupLayer:e.populateGroupLayer},t)}catch(e){throw(0,c.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,c.QP)(e),!0))))}async setUserPrivileges(e,t){if(!i.A.userPrivilegesApplied)return this.finishLoadEditablePortalLayer(t);if(this.url)try{const{features:{edit:r,fullEdit:l},content:{updateItem:i}}=await this._fetchUserPrivileges(e,t);this._set("userHasEditingPrivileges",r),this._set("userHasFullEditingPrivileges",l),this._set("userHasUpdateItemPrivileges",i)}catch(e){(0,c.QP)(e)}}async _fetchUserPrivileges(e,t){let r=this.portalItem;if(!e||!r||!r.loaded||r.sourceUrl)return this._fetchFallbackUserPrivileges(t);const l=!s.id?.findCredential(this.url),i=e===r.id;if(i&&r.portal.user)return this._getUserPrivileges(r,l);let n,o;if(i)n=r.portal.url;else try{n=await(0,w.wI)(this.url,t)}catch(e){(0,c.QP)(e)}if(!n||!(0,d.b8)(n,r.portal.url))return this._fetchFallbackUserPrivileges(t);try{const e=null!=t?t.signal:null;o=await(s.id?.getCredential(`${n}/sharing`,{prompt:!1,signal:e}))}catch(e){(0,c.QP)(e)}const a=!0,u=!1,p=!1;if(!o)return{features:{edit:a,fullEdit:u},content:{updateItem:p}};try{if(i?await r.reload():(r=new g.default({id:e,portal:{url:n}}),await r.load(t)),r.portal.user)return this._getUserPrivileges(r,l)}catch(e){(0,c.QP)(e)}return{features:{edit:a,fullEdit:u},content:{updateItem:p}}}_getUserPrivileges(e,t){const r=(0,A.It)(e);return t&&(r.features.edit=!0),r}async _fetchFallbackUserPrivileges(e){let t=!0;try{t=await this._fetchUserHasEditingPrivileges(e)}catch(e){(0,c.QP)(e)}return{features:{edit:t,fullEdit:!1},content:{updateItem:!1}}}async _fetchUserHasEditingPrivileges(e){const t=this.url?s.id?.findCredential(this.url):null;if(!t)return!0;const r=M.credential===t?M.user:await this._fetchEditingUser(e);return M.credential=t,M.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=s.id?.findServerInfo(this.url??"");if(!r?.owningSystemUrl)return null;const l=`${r.owningSystemUrl}/sharing/rest`,i=v.A.getDefault();if(i&&i.loaded&&(0,d.S8)(i.restUrl)===(0,d.S8)(l))return i.user;const a=`${l}/community/self`,u=null!=e?e.signal:null,p=await(0,o.Ke)((0,n.A)(a,{authMode:"no-prompt",query:{f:"json"},signal:u}));return p.ok?_.A.fromJSON(p.value.data):null}read(e,t){t&&(t.layer=this),super.read(e,t)}write(e,t){const r=t?.portal,l=this.portalItem?.id&&(this.portalItem.portal||v.A.getDefault());return r&&l&&!(0,d.ut)(l.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,l._)([(0,h.MZ)({type:g.default})],t.prototype,"portalItem",null),(0,l._)([(0,f.w)("web-document","portalItem",["itemId"])],t.prototype,"readPortalItem",null),(0,l._)([(0,m.K)("web-document","portalItem",{itemId:{type:String}})],t.prototype,"writePortalItem",null),(0,l._)([(0,h.MZ)({clonable:!1})],t.prototype,"resourceReferences",void 0),(0,l._)([(0,h.MZ)({type:Boolean,readOnly:!0})],t.prototype,"userHasEditingPrivileges",void 0),(0,l._)([(0,h.MZ)({type:Boolean,readOnly:!0})],t.prototype,"userHasFullEditingPrivileges",void 0),(0,l._)([(0,h.MZ)({type:Boolean,readOnly:!0})],t.prototype,"userHasUpdateItemPrivileges",void 0),t=(0,l._)([(0,y.$)("esri.layers.mixins.PortalLayer")],t),t},M={credential:null,user:null}},33446:(e,t,r)=>{r.d(t,{C:()=>n,m:()=>s});var l=r(49186),i=r(74887);async function s(e,t,r){let s;try{s=await createImageBitmap(e)}catch(e){throw new l.A("request:server",`Unable to load ${t}`,{url:t,error:e})}return(0,i.Te)(r),s}async function n(e,t,r,s,n){let o;try{o=await createImageBitmap(e)}catch(e){throw new l.A("request:server",`Unable to load tile ${t}/${r}/${s}`,{error:e,level:t,row:r,col:s})}return(0,i.Te)(n),o}},36708:(e,t,r)=>{r.d(t,{C_:()=>d,OH:()=>y,Vh:()=>m,on:()=>c,pc:()=>w,wB:()=>a,z7:()=>u});var l=r(37955),i=r(36563),s=r(97768),n=r(74887),o=r(14012);function a(e,t,r={}){return p(e,t,r,h)}function u(e,t,r={}){return p(e,t,r,f)}function p(e,t,r={},l){let i=null;const n=r.once?(e,r)=>{l(e)&&((0,s.xt)(i),t(e,r))}:(e,r)=>{l(e)&&t(e,r)};if(i=(0,o.Cn)(e,n,r.sync,r.equals),r.initial){const t=e();n(t,t)}return i}function c(e,t,r,n={}){let o=null,u=null,p=null;function c(){o&&u&&(u.remove(),n.onListenerRemove?.(o),o=null,u=null)}function d(e){n.once&&n.once&&(0,s.xt)(p),r(e)}const h=a(e,((e,r)=>{c(),(0,l.wb)(e)&&(o=e,u=(0,l.on)(e,t,d),n.onListenerAdd?.(e))}),{sync:n.sync,initial:!0});return p=(0,i.hA)((()=>{h.remove(),c()})),p}function d(e,t){return function(e,t,r){if((0,n.G4)(r))return Promise.reject((0,n.NK)());const l=e();if(t?.(l))return Promise.resolve(l);let o=null;function a(){o=(0,s.xt)(o)}return new Promise(((l,s)=>{o=(0,i.vE)([(0,n.u7)(r,(()=>{a(),s((0,n.NK)())})),p(e,(e=>{a(),l(e)}),{sync:!1,once:!0},t??h)])}))}(e,f,t)}function h(e){return!0}function f(e){return!!e}r(80559);const y={sync:!0},m={initial:!0},w={sync:!0,initial:!0}},47314:(e,t,r)=>{r.r(t),r.d(t,{default:()=>x});var l,i=r(90237),s=r(78888),n=r(49186),o=r(92071),a=r(799),u=r(84952),p=r(10107),c=(r(44208),r(53966),r(87811),r(36005)),d=r(40608),h=r(43937),f=r(5443),y=r(86738),m=r(16930),w=r(4146),v=r(63074),g=r(16131),_=r(8303),A=r(54310),T=r(25036),M=r(33446),b=r(91806),P=r(87045),I=r(83703);let E=l=class extends((0,v.dM)((0,A.J)((0,T.j)((0,g.q)((0,_.A)((0,o.P)(w.A))))))){constructor(...e){super(...e),this.copyright="",this.fullExtent=new f.A(-20037508.342787,-20037508.34278,20037508.34278,20037508.342787,m.A.WebMercator),this.legendEnabled=!1,this.isReference=null,this.popupEnabled=!1,this.spatialReference=m.A.WebMercator,this.subDomains=null,this.tileInfo=new P.A({size:[256,256],dpi:96,format:"png8",compressionQuality:0,origin:new y.A({x:-20037508.342787,y:20037508.342787,spatialReference:m.A.WebMercator}),spatialReference:m.A.WebMercator,lods:[new b.A({level:0,scale:591657527.591555,resolution:156543.033928}),new b.A({level:1,scale:295828763.795777,resolution:78271.5169639999}),new b.A({level:2,scale:147914381.897889,resolution:39135.7584820001}),new b.A({level:3,scale:73957190.948944,resolution:19567.8792409999}),new b.A({level:4,scale:36978595.474472,resolution:9783.93962049996}),new b.A({level:5,scale:18489297.737236,resolution:4891.96981024998}),new b.A({level:6,scale:9244648.868618,resolution:2445.98490512499}),new b.A({level:7,scale:4622324.434309,resolution:1222.99245256249}),new b.A({level:8,scale:2311162.217155,resolution:611.49622628138}),new b.A({level:9,scale:1155581.108577,resolution:305.748113140558}),new b.A({level:10,scale:577790.554289,resolution:152.874056570411}),new b.A({level:11,scale:288895.277144,resolution:76.4370282850732}),new b.A({level:12,scale:144447.638572,resolution:38.2185141425366}),new b.A({level:13,scale:72223.819286,resolution:19.1092570712683}),new b.A({level:14,scale:36111.909643,resolution:9.55462853563415}),new b.A({level:15,scale:18055.954822,resolution:4.77731426794937}),new b.A({level:16,scale:9027.977411,resolution:2.38865713397468}),new b.A({level:17,scale:4513.988705,resolution:1.19432856685505}),new b.A({level:18,scale:2256.994353,resolution:.597164283559817}),new b.A({level:19,scale:1128.497176,resolution:.298582141647617}),new b.A({level:20,scale:564.248588,resolution:.14929107082380833}),new b.A({level:21,scale:282.124294,resolution:.07464553541190416}),new b.A({level:22,scale:141.062147,resolution:.03732276770595208}),new b.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 n.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}readSpatialReference(e,t){return e||m.A.fromJSON(t.fullExtent?.spatialReference)}get tileServers(){if(!this.urlTemplate)return null;const e=[],{urlTemplate:t,subDomains:r}=this,l=new u.s0(t),i=l.scheme?l.scheme+"://":"//",s=i+l.authority+"/",n=l.authority;if(n?.includes("{subDomain}")){if(r&&r.length>0&&n.split(".").length>1)for(const t of r)e.push(i+n.replaceAll(/\{subDomain\}/gi,t)+"/")}else e.push(s);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,l={}){const{signal:i}=l,n=this.getTileUrl(e,t,r),o={responseType:"image",signal:i,query:{...this.refreshParameters}};return(0,s.A)(n,o).then((e=>e.data))}async fetchImageBitmapTile(e,t,r,i={}){const{signal:n}=i;if(this.fetchTile!==l.prototype.fetchTile){const l=await this.fetchTile(e,t,r,i);return(0,M.C)(l,e,t,r,n)}const o=this.getTileUrl(e,t,r),a={responseType:"blob",signal:n,query:{...this.refreshParameters}},{data:u}=await(0,s.A)(o,a);return(0,M.C)(u,e,t,r,n)}getTileUrl(e,t,r){const{levelValues:l,tileServers:i,urlPath:s}=this;if(!l||!i||!s)return"";const n=l[e];return i[t%i.length]+(0,a.HC)(s,{level:n,z:n,col:r,x:r,row:t,y:t})}};(0,i._)([(0,p.MZ)({type:String,value:"",json:{write:!0}})],E.prototype,"copyright",void 0),(0,i._)([(0,p.MZ)({type:f.A,json:{write:!0},nonNullable:!0})],E.prototype,"fullExtent",void 0),(0,i._)([(0,p.MZ)({readOnly:!0,json:{read:!1,write:!1}})],E.prototype,"legendEnabled",void 0),(0,i._)([(0,p.MZ)({type:["show","hide"]})],E.prototype,"listMode",void 0),(0,i._)([(0,p.MZ)({json:{read:!0,write:!0}})],E.prototype,"blendMode",void 0),(0,i._)([(0,p.MZ)()],E.prototype,"levelValues",null),(0,i._)([(0,p.MZ)({type:Boolean,json:{read:!1,write:{enabled:!0,overridePolicy:()=>({enabled:!1})}}})],E.prototype,"isReference",void 0),(0,i._)([(0,p.MZ)({type:["WebTiledLayer"],value:"WebTiledLayer"})],E.prototype,"operationalLayerType",void 0),(0,i._)([(0,p.MZ)({readOnly:!0,json:{read:!1,write:!1}})],E.prototype,"popupEnabled",void 0),(0,i._)([(0,p.MZ)({type:m.A})],E.prototype,"spatialReference",void 0),(0,i._)([(0,c.w)("spatialReference",["spatialReference","fullExtent.spatialReference"])],E.prototype,"readSpatialReference",null),(0,i._)([(0,p.MZ)({type:[String],json:{write:!0}})],E.prototype,"subDomains",void 0),(0,i._)([(0,p.MZ)({type:P.A,json:{write:!0}})],E.prototype,"tileInfo",void 0),(0,i._)([(0,p.MZ)({readOnly:!0})],E.prototype,"tileServers",null),(0,i._)([(0,p.MZ)({json:{read:!1}})],E.prototype,"type",void 0),(0,i._)([(0,p.MZ)()],E.prototype,"urlPath",null),(0,i._)([(0,p.MZ)({type:String,json:{origins:{"portal-item":{read:{source:"url"}}}}})],E.prototype,"urlTemplate",void 0),(0,i._)([(0,c.w)("urlTemplate",["urlTemplate","templateUrl"])],E.prototype,"readUrlTemplate",null),(0,i._)([(0,h.K)("urlTemplate",{templateUrl:{type:String}})],E.prototype,"writeUrlTemplate",null),(0,i._)([(0,p.MZ)({type:I.x,json:{write:!0}})],E.prototype,"wmtsInfo",void 0),E=l=(0,i._)([(0,d.$)("esri.layers.WebTileLayer")],E);const x=E},69540:(e,t,r)=>{r.d(t,{A:()=>d});var l=r(90237),i=r(69622),s=(r(44208),r(4718)),n=(r(53966),r(97768)),o=r(35666),a=r(88620),u=r(40608);const p=e=>{let t=class extends e{clone(){const e=(0,a.oY)(this);(0,n.Lw)(e,"unable to clone instance of non-accessor class");const t=e.metadata,r=e.store,l={},i=new Map;for(const e in t){const n=t[e],a=r?.originOf(e),u=n.clonable;if(n.readOnly||!1===u||a!==o.Gr.USER&&a!==o.Gr.DEFAULTS&&a!==o.Gr.WEB_MAP&&a!==o.Gr.WEB_SCENE)continue;const p=this[e];let c=null;c="function"==typeof u?u(p):"reference"===u?p:(0,s.TU)(p),null!=p&&null==c||(a===o.Gr.DEFAULTS?i.set(e,c):l[e]=c)}const u=new(0,Object.getPrototypeOf(this).constructor)(l);if(i.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,r]of i)e.set(t,r,o.Gr.DEFAULTS)}return u}};return t=(0,l._)([(0,u.$)("esri.core.Clonable")],t),t};let c=class extends(p(i.A)){};c=(0,l._)([(0,u.$)("esri.core.Clonable")],c),(c||(c={})).ClonableMixin=p;const d=c},72802:(e,t,r)=>{r.d(t,{U:()=>l});class l{constructor(e,t,r,l,i=void 0){this.id=e,this.level=t,this.row=r,this.col=l,this.extent=i}}},78553:(e,t,r)=>{r.d(t,{D:()=>s,p:()=>i});var l=r(56507);function i(e){const t=(0,l.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function s(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}},79677:(e,t,r)=>{r.d(t,{A:()=>h});var l,i=r(90237),s=r(25482),n=r(88930),o=r(10107),a=(r(44208),r(53966),r(87811),r(36005)),u=r(40608),p=r(43937),c=r(98623);let d=class extends s.A{static{l=this}static get allTime(){return f}static get empty(){return y}static fromArray(e){return new l({start:null!=e[0]?new Date(e[0]):e[0],end:null!=e[1]?new Date(e[1]):e[1]})}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(l.allTime)}get isEmpty(){return this.equals(l.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new l({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,r=this.end?.getTime()??this.end,l=e.start?.getTime()??e.start,i=e.end?.getTime()??e.end;return t===l&&r===i}expandTo(e,t=c.qU){if(this.isEmpty||this.isAllTime)return this.clone();let r=this.start;r&&(r=(0,n.lL)(r,e,t));let i=this.end;if(i){const r=(0,n.lL)(i,e,t);i=i.getTime()===r.getTime()?r:(0,n.S1)(r,1,e,t)}return new l({start:r,end:i})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return l.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,r=this.end?.getTime()??1/0,i=e.start?.getTime()??-1/0,s=e.end?.getTime()??1/0;let n,o;return i>=t&&i<=r?n=i:t>=i&&t<=s&&(n=t),r>=i&&r<=s?o=r:s>=t&&s<=r&&(o=s),null==n||null==o||isNaN(n)||isNaN(o)?l.empty:new l({start:n===-1/0?null:new Date(n),end:o===1/0?null:new Date(o)})}offset(e,t,r=c.qU){if(this.isEmpty||this.isAllTime)return this.clone();const i=new l,{start:s,end:o}=this;return null!=s&&(i.start=(0,n.S1)(s,e,t,r)),null!=o&&(i.end=(0,n.S1)(o,e,t,r)),i}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return f.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,r=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new l({start:t,end:r})}};(0,i._)([(0,o.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,i._)([(0,a.w)("end")],d.prototype,"readEnd",null),(0,i._)([(0,p.K)("end")],d.prototype,"writeEnd",null),(0,i._)([(0,o.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,i._)([(0,o.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,i._)([(0,o.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,i._)([(0,a.w)("start")],d.prototype,"readStart",null),(0,i._)([(0,p.K)("start")],d.prototype,"writeStart",null),d=l=(0,i._)([(0,u.$)("esri.time.TimeExtent")],d);const h=d,f=new d,y=new d({start:void 0,end:void 0})},83703:(e,t,r)=>{r.d(t,{x:()=>u});var l,i=r(90237),s=r(25482),n=r(4718),o=r(10107),a=(r(44208),r(53966),r(40608));let u=l=class extends s.A{constructor(e){super(e)}clone(){return new l({customLayerParameters:(0,n.o8)(this.customLayerParameters),customParameters:(0,n.o8)(this.customParameters),layerIdentifier:this.layerIdentifier,tileMatrixSet:this.tileMatrixSet,url:this.url})}};(0,i._)([(0,o.MZ)({json:{type:Object,write:!0}})],u.prototype,"customLayerParameters",void 0),(0,i._)([(0,o.MZ)({json:{type:Object,write:!0}})],u.prototype,"customParameters",void 0),(0,i._)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"layerIdentifier",void 0),(0,i._)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"tileMatrixSet",void 0),(0,i._)([(0,o.MZ)({type:String,json:{write:!0}})],u.prototype,"url",void 0),u=l=(0,i._)([(0,a.$)("esri.layers.support.WMTSLayerInfo")],u)},87045:(e,t,r)=>{r.d(t,{A:()=>b});var l,i=r(90237),s=r(66552),n=r(25482),o=r(83047),a=r(10107),u=r(56507),p=(r(44208),r(87811),r(36005)),c=r(40608),d=r(43937),h=r(86738),f=r(16930),y=r(19419),m=r(21325),w=r(28735),v=r(91806),g=r(72802);const _=new s.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 A=class extends n.A{static{l=this}static create(e={}){const{resolutionFactor:t=1,scales:r,size:i=256,spatialReference:s=f.A.WebMercator,numLODs:n=24}=e;if(!(0,m.fn)(s)){const e=[];if(r)for(let t=0;t<r.length;t++){const l=r[t];e.push(new v.A({level:t,scale:l,resolution:l}))}else{let t=5e-4;for(let r=n-1;r>=0;r--)e.unshift(new v.A({level:r,scale:t,resolution:t})),t*=2}return new l({dpi:96,lods:e,origin:new h.A(0,0,s),size:[i,i],spatialReference:s})}const a=(0,m.Vp)(s),u=e.origin?new h.A({x:e.origin.x,y:e.origin.y,spatialReference:s}):new h.A(a?{x:a.origin[0],y:a.origin[1],spatialReference:s}:{x:0,y:0,spatialReference:s}),p=1/(39.37*(0,o.GA)(s)*96),c=[];if(r)for(let e=0;e<r.length;e++){const t=r[e],l=t*p;c.push(new v.A({level:e,scale:t,resolution:l}))}else{let e=(0,m.EA)(s)?512/i*591657527.5917094:256/i*591657527.591555;const r=Math.ceil(n/t);c.push(new v.A({level:0,scale:e,resolution:e*p}));for(let l=1;l<r;l++){const r=e/2**t,i=r*p;c.push(new v.A({level:l,scale:r,resolution:i})),e=r}}return new l({dpi:96,lods:c,origin:u,size:[i,i],spatialReference:s})}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,m.Vp)(e);return e.isWrappable&&!!r&&Math.abs(r.origin[0]-t.x)<=r.dx}return!1}readOrigin(e,t){return h.A.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,r=0;const l=[],i=this._levelToLOD={};e&&(t=-1/0,r=1/0,e.forEach((e=>{l.push(e.scale),t=e.scale>t?e.scale:t,r=e.scale<r?e.scale:r,i[e.level]=e}))),this._set("scales",l),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),l=r+1;return t[r]/(t[r]/t[l])**(e-r)}scaleToZoom(e){const t=this.scales,r=t.length-1;let l=0;for(;l<r;l++){const r=t[l],i=t[l+1];if(r<=e)return l;if(i===e)return l+1;if(r>e&&i<e)return l+Math.log(r/e)/Math.log(r/i)}return l}tileAt(e,t,r,l){const i=this.lodAt(e);if(!i)return null;let s,n;if("number"==typeof t)s=t,n=r;else if((0,m.aI)(t.spatialReference,this.spatialReference))s=t.x,n=t.y,l=r;else{const e=(0,w.Cv)(t,this.spatialReference);if(null==e)return null;s=e.x,n=e.y,l=r}const o=i.resolution*this.size[0],a=i.resolution*this.size[1];return l||(l=new g.U(null,0,0,0,(0,y.vt)())),l.level=e,l.row=Math.floor((this.origin.y-n)/a+.001),l.col=Math.floor((s-this.origin.x)/o+.001),this.updateTileInfo(l),l}updateTileInfo(e,t=l.ExtrapolateOptions.NONE){let r=this.lodAt(e.level);if(!r&&t===l.ExtrapolateOptions.POWER_OF_TWO){const t=this.lods[this.lods.length-1];t.level<e.level&&(r=t)}if(!r)return;const i=e.level-r.level,s=r.resolution*this.size[0]/2**i,n=r.resolution*this.size[1]/2**i;e.id=`${e.level}/${e.row}/${e.col}`,e.extent||(e.extent=(0,y.vt)()),e.extent[0]=this.origin.x+e.col*s,e.extent[1]=this.origin.y-(e.row+1)*n,e.extent[2]=e.extent[0]+s,e.extent[3]=e.extent[1]+n}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:l}=r,i=l*this.size[0],s=l*this.size[1];return e[0]=this.origin.x+t.col*i,e[1]=this.origin.y-(t.row+1)*s,e[2]=e[0]+i,e[3]=e[1]+s,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return l.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=[],i=this.lods.length-t;for(let e=0;e<i;e++){const l=e+t,{scale:i,resolution:s}=l>=0?this.lods[l]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};r.push(new v.A({level:e,scale:i,resolution:s}))}return new l({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 l=e[r];this._upsampleLevels[l.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/l.resolution:0},t=l}}};var T,M;(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],A.prototype,"compressionQuality",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],A.prototype,"dpi",void 0),(0,i._)([(0,a.MZ)({type:String,json:{read:_.read,write:_.write,origins:{"web-scene":{read:!1,write:!1}}}})],A.prototype,"format",void 0),(0,i._)([(0,a.MZ)({readOnly:!0})],A.prototype,"isWrappable",null),(0,i._)([(0,a.MZ)({type:h.A,json:{write:!0}})],A.prototype,"origin",void 0),(0,i._)([(0,p.w)("origin")],A.prototype,"readOrigin",null),(0,i._)([(0,a.MZ)({type:[v.A],value:null,json:{write:!0}})],A.prototype,"lods",null),(0,i._)([(0,a.MZ)({readOnly:!0})],A.prototype,"scales",void 0),(0,i._)([(0,a.MZ)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],A.prototype,"size",void 0),(0,i._)([(0,p.w)("size",["rows","cols"])],A.prototype,"readSize",null),(0,i._)([(0,d.K)("size",{cols:{type:u.jz},rows:{type:u.jz}})],A.prototype,"writeSize",null),(0,i._)([(0,a.MZ)({type:f.A,json:{write:!0}})],A.prototype,"spatialReference",void 0),A=l=(0,i._)([(0,c.$)("esri.layers.support.TileInfo")],A),(M=(T=A||(A={})).ExtrapolateOptions||(T.ExtrapolateOptions={}))[M.NONE=0]="NONE",M[M.POWER_OF_TWO=1]="POWER_OF_TWO";const b=A},91806:(e,t,r)=>{r.d(t,{A:()=>p});var l,i=r(90237),s=r(25482),n=r(10107),o=r(56507),a=(r(44208),r(87811),r(40608));let u=class extends s.A{static{l=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 l({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,i._)([(0,n.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"cols",void 0),(0,i._)([(0,n.MZ)({type:o.jz,json:{write:!0}})],u.prototype,"level",void 0),(0,i._)([(0,n.MZ)({type:String,json:{write:!0}})],u.prototype,"levelValue",void 0),(0,i._)([(0,n.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"origin",void 0),(0,i._)([(0,n.MZ)({type:Number,json:{write:!0}})],u.prototype,"resolution",void 0),(0,i._)([(0,n.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"rows",void 0),(0,i._)([(0,n.MZ)({type:Number,json:{write:!0}})],u.prototype,"scale",void 0),u=l=(0,i._)([(0,a.$)("esri.layers.support.LOD")],u);const p=u}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7690],{4902:(e,t,i)=>{i.d(t,{A:()=>u});var r=i(90237),n=i(40608);let s=0;const l=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+s++})}};return t=(0,r._)([(0,n.$)("esri.core.Identifiable")],t),t};let o=class extends(l(class{})){};var a;o=(0,r._)([(0,n.$)("esri.core.Identifiable")],o),(a=o||(o={})).IdentifiableMixin=l,a.NumericIdentifiableMixin=e=>{let t=class extends e{constructor(...e){super(...e),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:s++})}};return t=(0,r._)([(0,n.$)("esri.core.Identifiable.NumericIdentifiable")],t),t};const u=o},17029:(e,t,i)=>{i.r(t),i.d(t,{default:()=>R});var r,n=i(90237),s=i(78888),l=i(51447),o=i(49186),a=i(66552),u=i(53966),c=i(92071),p=i(10107),d=(i(44208),i(87811),i(40608)),h=i(86738),g=i(16930),y=i(5443),f=i(19419),w=i(4146),m=i(63074),v=i(54310),b=i(25036),A=i(33446),M=i(87045);const _=new(i(72802).U)("0/0/0",0,0,0,void 0);let T=r=class extends((0,m.dM)((0,b.j)((0,v.J)(w.A)))){constructor(){super(...arguments),this.tileInfo=M.A.create({spatialReference:g.A.WebMercator,size:256}),this.type="base-tile",this.fullExtent=new y.A(-20037508.342787,-20037508.34278,20037508.34278,20037508.342787,g.A.WebMercator),this.spatialReference=g.A.WebMercator}addResolvingPromise(e){super.addResolvingPromise(e)}getTileBounds(e,t,i,r){const n=r||(0,f.vt)();return _.level=e,_.row=t,_.col=i,_.extent=n,this.tileInfo.updateTileInfo(_),_.extent=void 0,n}fetchTile(e,t,i,r={}){const{signal:n}=r,l=this.getTileUrl(e,t,i),o={responseType:"image",signal:n,query:{...this.refreshParameters}};return(0,s.A)(l??"",o).then((e=>e.data))}async fetchImageBitmapTile(e,t,i,n={}){const{signal:l}=n;if(this.fetchTile!==r.prototype.fetchTile){const r=await this.fetchTile(e,t,i,n);return(0,A.C)(r,e,t,i,l)}const o=this.getTileUrl(e,t,i)??"",a={responseType:"blob",signal:l,query:{...this.refreshParameters}},{data:u}=await(0,s.A)(o,a);return(0,A.C)(u,e,t,i,l)}getTileUrl(){throw new o.A("basetilelayer:gettileurl-not-implemented","getTileUrl() is not implemented")}};(0,n._)([(0,p.MZ)({type:M.A})],T.prototype,"tileInfo",void 0),(0,n._)([(0,p.MZ)({type:["show","hide"]})],T.prototype,"listMode",void 0),(0,n._)([(0,p.MZ)({readOnly:!0,value:"base-tile"})],T.prototype,"type",void 0),(0,n._)([(0,p.MZ)({nonNullable:!0})],T.prototype,"fullExtent",void 0),(0,n._)([(0,p.MZ)()],T.prototype,"spatialReference",void 0),T=r=(0,n._)([(0,d.$)("esri.layers.BaseTileLayer")],T);const x=T;var E=i(16131),O=i(91806);const S=new a.J({BingMapsAerial:"aerial",BingMapsRoad:"road",BingMapsHybrid:"hybrid"});(0,l.uW)(u.A.getLogger("esri.layers.BingMapsLayer"),"esri.layers.BingMapsLayer",{version:"4.33",warnOnce:!0});let j=class extends((0,m.dM)((0,E.q)((0,c.P)(x)))){constructor(e){super(e),this.type="bing-maps",this.tileInfo=new M.A({size:[256,256],dpi:96,origin:new h.A({x:-20037508.342787,y:20037508.342787,spatialReference:g.A.WebMercator}),spatialReference:g.A.WebMercator,lods:[new O.A({level:1,resolution:78271.5169639999,scale:295828763.795777}),new O.A({level:2,resolution:39135.7584820001,scale:147914381.897889}),new O.A({level:3,resolution:19567.8792409999,scale:73957190.948944}),new O.A({level:4,resolution:9783.93962049996,scale:36978595.474472}),new O.A({level:5,resolution:4891.96981024998,scale:18489297.737236}),new O.A({level:6,resolution:2445.98490512499,scale:9244648.868618}),new O.A({level:7,resolution:1222.99245256249,scale:4622324.434309}),new O.A({level:8,resolution:611.49622628138,scale:2311162.217155}),new O.A({level:9,resolution:305.748113140558,scale:1155581.108577}),new O.A({level:10,resolution:152.874056570411,scale:577790.554289}),new O.A({level:11,resolution:76.4370282850732,scale:288895.277144}),new O.A({level:12,resolution:38.2185141425366,scale:144447.638572}),new O.A({level:13,resolution:19.1092570712683,scale:72223.819286}),new O.A({level:14,resolution:9.55462853563415,scale:36111.909643}),new O.A({level:15,resolution:4.77731426794937,scale:18055.954822}),new O.A({level:16,resolution:2.38865713397468,scale:9027.977411}),new O.A({level:17,resolution:1.19432856685505,scale:4513.988705}),new O.A({level:18,resolution:.597164283559817,scale:2256.994353}),new O.A({level:19,resolution:.298582141647617,scale:1128.497176}),new O.A({level:20,resolution:.1492910708238085,scale:564.248588})]}),this.key=null,this.style="road",this.culture="en-US",this.region=null,this.portalUrl=null,this.hasAttributionData=!0}get bingMetadata(){return this._get("bingMetadata")}set bingMetadata(e){this._set("bingMetadata",e)}get copyright(){return null!=this.bingMetadata?this.bingMetadata.copyright:null}get operationalLayerType(){return S.toJSON(this.style)}get bingLogo(){return null!=this.bingMetadata?this.bingMetadata.brandLogoUri:null}load(e){return this.key?this.addResolvingPromise(this._getMetadata()):this.portalUrl?this.addResolvingPromise(this._getPortalBingKey().then((()=>this._getMetadata()))):this.addResolvingPromise(Promise.reject(new o.A("bingmapslayer:load","Bing layer must have bing key."))),Promise.resolve(this)}getTileUrl(e,t,i){if(!this.loaded||null==this.bingMetadata)return null;const r=this.bingMetadata.resourceSets[0].resources[0],n=r.imageUrlSubdomains[t%r.imageUrlSubdomains.length],s=this._getQuadKey(e,t,i);return r.imageUrl.replace("{subdomain}",n).replace("{quadkey}",s)}async fetchAttributionData(){return this.load().then((()=>null==this.bingMetadata?null:{contributors:this.bingMetadata.resourceSets[0].resources[0].imageryProviders.map((e=>({attribution:e.attribution,coverageAreas:e.coverageAreas.map((e=>({zoomMin:e.zoomMin,zoomMax:e.zoomMax,score:1,bbox:[e.bbox[0],e.bbox[1],e.bbox[2],e.bbox[3]]})))})))}))}_getMetadata(){const e={road:"roadOnDemand",aerial:"aerial",hybrid:"aerialWithLabelsOnDemand"}[this.style];return(0,s.A)(`https://dev.virtualearth.net/REST/v1/Imagery/Metadata/${e}`,{responseType:"json",query:{include:"ImageryProviders",uriScheme:"https",key:this.key,suppressStatus:!0,output:"json",culture:this.culture,userRegion:this.region}}).then((e=>{const t=e.data;if(200!==t.statusCode)throw new o.A("bingmapslayer:getmetadata",t.statusDescription);if(this.bingMetadata=t,0===this.bingMetadata.resourceSets.length)throw new o.A("bingmapslayer:getmetadata","no bing resourcesets");if(0===this.bingMetadata.resourceSets[0].resources.length)throw new o.A("bingmapslayer:getmetadata","no bing resources")})).catch((e=>{throw new o.A("bingmapslayer:getmetadata",e.message)}))}_getPortalBingKey(){return(0,s.A)(this.portalUrl??"",{responseType:"json",authMode:"no-prompt",query:{f:"json"}}).then((e=>{if(!e.data.bingKey)throw new o.A("bingmapslayer:getportalbingkey","The referenced Portal does not contain a valid bing key");this.key=e.data.bingKey})).catch((e=>{throw new o.A("bingmapslayer:getportalbingkey",e.message)}))}_getQuadKey(e,t,i){let r="";for(let n=e;n>0;n--){let e=0;const s=1<<n-1;i&s&&(e+=1),t&s&&(e+=2),r+=e.toString()}return r}};(0,n._)([(0,p.MZ)({json:{read:!1,write:!1},value:null})],j.prototype,"bingMetadata",null),(0,n._)([(0,p.MZ)({json:{read:!1,write:!1},value:"bing-maps",readOnly:!0})],j.prototype,"type",void 0),(0,n._)([(0,p.MZ)({type:M.A})],j.prototype,"tileInfo",void 0),(0,n._)([(0,p.MZ)({type:String,readOnly:!0,json:{read:!1,write:!1}})],j.prototype,"copyright",null),(0,n._)([(0,p.MZ)({type:String,json:{write:!1,read:!1}})],j.prototype,"key",void 0),(0,n._)([(0,p.MZ)({type:S.apiValues,nonNullable:!0,json:{read:{source:"layerType",reader:S.read}}})],j.prototype,"style",void 0),(0,n._)([(0,p.MZ)({type:["BingMapsAerial","BingMapsHybrid","BingMapsRoad"]})],j.prototype,"operationalLayerType",null),(0,n._)([(0,p.MZ)({type:String,json:{write:!1,read:!1}})],j.prototype,"culture",void 0),(0,n._)([(0,p.MZ)({type:String,json:{write:!1,read:!1}})],j.prototype,"region",void 0),(0,n._)([(0,p.MZ)({type:String,json:{write:!0,read:!0}})],j.prototype,"portalUrl",void 0),(0,n._)([(0,p.MZ)({type:Boolean,json:{write:!1,read:!1}})],j.prototype,"hasAttributionData",void 0),(0,n._)([(0,p.MZ)({type:String,readOnly:!0})],j.prototype,"bingLogo",null),j=(0,n._)([(0,d.$)("esri.layers.BingMapsLayer")],j);const R=j},33446:(e,t,i)=>{i.d(t,{C:()=>l,m:()=>s});var r=i(49186),n=i(74887);async function s(e,t,i){let s;try{s=await createImageBitmap(e)}catch(e){throw new r.A("request:server",`Unable to load ${t}`,{url:t,error:e})}return(0,n.Te)(i),s}async function l(e,t,i,s,l){let o;try{o=await createImageBitmap(e)}catch(e){throw new r.A("request:server",`Unable to load tile ${t}/${i}/${s}`,{error:e,level:t,row:i,col:s})}return(0,n.Te)(l),o}},36708:(e,t,i)=>{i.d(t,{C_:()=>d,OH:()=>y,Vh:()=>f,on:()=>p,pc:()=>w,wB:()=>a,z7:()=>u});var r=i(37955),n=i(36563),s=i(97768),l=i(74887),o=i(14012);function a(e,t,i={}){return c(e,t,i,h)}function u(e,t,i={}){return c(e,t,i,g)}function c(e,t,i={},r){let n=null;const l=i.once?(e,i)=>{r(e)&&((0,s.xt)(n),t(e,i))}:(e,i)=>{r(e)&&t(e,i)};if(n=(0,o.Cn)(e,l,i.sync,i.equals),i.initial){const t=e();l(t,t)}return n}function p(e,t,i,l={}){let o=null,u=null,c=null;function p(){o&&u&&(u.remove(),l.onListenerRemove?.(o),o=null,u=null)}function d(e){l.once&&l.once&&(0,s.xt)(c),i(e)}const h=a(e,((e,i)=>{p(),(0,r.wb)(e)&&(o=e,u=(0,r.on)(e,t,d),l.onListenerAdd?.(e))}),{sync:l.sync,initial:!0});return c=(0,n.hA)((()=>{h.remove(),p()})),c}function d(e,t){return function(e,t,i){if((0,l.G4)(i))return Promise.reject((0,l.NK)());const r=e();if(t?.(r))return Promise.resolve(r);let o=null;function a(){o=(0,s.xt)(o)}return new Promise(((r,s)=>{o=(0,n.vE)([(0,l.u7)(i,(()=>{a(),s((0,l.NK)())})),c(e,(e=>{a(),r(e)}),{sync:!1,once:!0},t??h)])}))}(e,g,t)}function h(e){return!0}function g(e){return!!e}i(80559);const y={sync:!0},f={initial:!0},w={sync:!0,initial:!0}},69540:(e,t,i)=>{i.d(t,{A:()=>d});var r=i(90237),n=i(69622),s=(i(44208),i(4718)),l=(i(53966),i(97768)),o=i(35666),a=i(88620),u=i(40608);const c=e=>{let t=class extends e{clone(){const e=(0,a.oY)(this);(0,l.Lw)(e,"unable to clone instance of non-accessor class");const t=e.metadata,i=e.store,r={},n=new Map;for(const e in t){const l=t[e],a=i?.originOf(e),u=l.clonable;if(l.readOnly||!1===u||a!==o.Gr.USER&&a!==o.Gr.DEFAULTS&&a!==o.Gr.WEB_MAP&&a!==o.Gr.WEB_SCENE)continue;const c=this[e];let p=null;p="function"==typeof u?u(c):"reference"===u?c:(0,s.TU)(c),null!=c&&null==p||(a===o.Gr.DEFAULTS?n.set(e,p):r[e]=p)}const u=new(0,Object.getPrototypeOf(this).constructor)(r);if(n.size){const e=(0,a.oY)(u)?.store;if(e)for(const[t,i]of n)e.set(t,i,o.Gr.DEFAULTS)}return u}};return t=(0,r._)([(0,u.$)("esri.core.Clonable")],t),t};let p=class extends(c(n.A)){};p=(0,r._)([(0,u.$)("esri.core.Clonable")],p),(p||(p={})).ClonableMixin=c;const d=p},72802:(e,t,i)=>{i.d(t,{U:()=>r});class r{constructor(e,t,i,r,n=void 0){this.id=e,this.level=t,this.row=i,this.col=r,this.extent=n}}},78553:(e,t,i)=>{i.d(t,{D:()=>s,p:()=>n});var r=i(56507);function n(e){const t=(0,r.Vr)(100*(1-e));return Math.max(0,Math.min(t,100))}function s(e){const t=1-e/100;return Math.max(0,Math.min(t,1))}},79677:(e,t,i)=>{i.d(t,{A:()=>h});var r,n=i(90237),s=i(25482),l=i(88930),o=i(10107),a=(i(44208),i(53966),i(87811),i(36005)),u=i(40608),c=i(43937),p=i(98623);let d=class extends s.A{static{r=this}static get allTime(){return g}static get empty(){return y}static fromArray(e){return new r({start:null!=e[0]?new Date(e[0]):e[0],end:null!=e[1]?new Date(e[1]):e[1]})}constructor(e){super(e),this.end=null,this.start=null}readEnd(e,t){return null!=t.end?new Date(t.end):null}writeEnd(e,t){t.end=e?.getTime()??null}get isAllTime(){return this.equals(r.allTime)}get isEmpty(){return this.equals(r.empty)}readStart(e,t){return null!=t.start?new Date(t.start):null}writeStart(e,t){t.start=e?.getTime()??null}clone(){return new r({end:this.end,start:this.start})}equals(e){if(!e)return!1;const t=this.start?.getTime()??this.start,i=this.end?.getTime()??this.end,r=e.start?.getTime()??e.start,n=e.end?.getTime()??e.end;return t===r&&i===n}expandTo(e,t=p.qU){if(this.isEmpty||this.isAllTime)return this.clone();let i=this.start;i&&(i=(0,l.lL)(i,e,t));let n=this.end;if(n){const i=(0,l.lL)(n,e,t);n=n.getTime()===i.getTime()?i:(0,l.S1)(i,1,e,t)}return new r({start:i,end:n})}intersection(e){if(!e)return this.clone();if(this.isEmpty||e.isEmpty)return r.empty;if(this.isAllTime)return e.clone();if(e.isAllTime)return this.clone();const t=this.start?.getTime()??-1/0,i=this.end?.getTime()??1/0,n=e.start?.getTime()??-1/0,s=e.end?.getTime()??1/0;let l,o;return n>=t&&n<=i?l=n:t>=n&&t<=s&&(l=t),i>=n&&i<=s?o=i:s>=t&&s<=i&&(o=s),null==l||null==o||isNaN(l)||isNaN(o)?r.empty:new r({start:l===-1/0?null:new Date(l),end:o===1/0?null:new Date(o)})}offset(e,t,i=p.qU){if(this.isEmpty||this.isAllTime)return this.clone();const n=new r,{start:s,end:o}=this;return null!=s&&(n.start=(0,l.S1)(s,e,t,i)),null!=o&&(n.end=(0,l.S1)(o,e,t,i)),n}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(e){if(!e||e.isEmpty)return this.clone();if(this.isEmpty)return e.clone();if(this.isAllTime||e.isAllTime)return g.clone();const t=null!=this.start&&null!=e.start?new Date(Math.min(this.start.getTime(),e.start.getTime())):null,i=null!=this.end&&null!=e.end?new Date(Math.max(this.end.getTime(),e.end.getTime())):null;return new r({start:t,end:i})}};(0,n._)([(0,o.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"end",void 0),(0,n._)([(0,a.w)("end")],d.prototype,"readEnd",null),(0,n._)([(0,c.K)("end")],d.prototype,"writeEnd",null),(0,n._)([(0,o.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isAllTime",null),(0,n._)([(0,o.MZ)({readOnly:!0,json:{read:!1}})],d.prototype,"isEmpty",null),(0,n._)([(0,o.MZ)({type:Date,json:{write:{allowNull:!0}}})],d.prototype,"start",void 0),(0,n._)([(0,a.w)("start")],d.prototype,"readStart",null),(0,n._)([(0,c.K)("start")],d.prototype,"writeStart",null),d=r=(0,n._)([(0,u.$)("esri.time.TimeExtent")],d);const h=d,g=new d,y=new d({start:void 0,end:void 0})},87045:(e,t,i)=>{i.d(t,{A:()=>T});var r,n=i(90237),s=i(66552),l=i(25482),o=i(83047),a=i(10107),u=i(56507),c=(i(44208),i(87811),i(36005)),p=i(40608),d=i(43937),h=i(86738),g=i(16930),y=i(19419),f=i(21325),w=i(28735),m=i(91806),v=i(72802);const b=new s.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 A=class extends l.A{static{r=this}static create(e={}){const{resolutionFactor:t=1,scales:i,size:n=256,spatialReference:s=g.A.WebMercator,numLODs:l=24}=e;if(!(0,f.fn)(s)){const e=[];if(i)for(let t=0;t<i.length;t++){const r=i[t];e.push(new m.A({level:t,scale:r,resolution:r}))}else{let t=5e-4;for(let i=l-1;i>=0;i--)e.unshift(new m.A({level:i,scale:t,resolution:t})),t*=2}return new r({dpi:96,lods:e,origin:new h.A(0,0,s),size:[n,n],spatialReference:s})}const a=(0,f.Vp)(s),u=e.origin?new h.A({x:e.origin.x,y:e.origin.y,spatialReference:s}):new h.A(a?{x:a.origin[0],y:a.origin[1],spatialReference:s}:{x:0,y:0,spatialReference:s}),c=1/(39.37*(0,o.GA)(s)*96),p=[];if(i)for(let e=0;e<i.length;e++){const t=i[e],r=t*c;p.push(new m.A({level:e,scale:t,resolution:r}))}else{let e=(0,f.EA)(s)?512/n*591657527.5917094:256/n*591657527.591555;const i=Math.ceil(l/t);p.push(new m.A({level:0,scale:e,resolution:e*c}));for(let r=1;r<i;r++){const i=e/2**t,n=i*c;p.push(new m.A({level:r,scale:i,resolution:n})),e=i}}return new r({dpi:96,lods:p,origin:u,size:[n,n],spatialReference:s})}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 i=(0,f.Vp)(e);return e.isWrappable&&!!i&&Math.abs(i.origin[0]-t.x)<=i.dx}return!1}readOrigin(e,t){return h.A.fromJSON({spatialReference:t.spatialReference,...e})}set lods(e){let t=0,i=0;const r=[],n=this._levelToLOD={};e&&(t=-1/0,i=1/0,e.forEach((e=>{r.push(e.scale),t=e.scale>t?e.scale:t,i=e.scale<i?e.scale:i,n[e.level]=e}))),this._set("scales",r),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 i=Math.floor(e),r=i+1;return t[i]/(t[i]/t[r])**(e-i)}scaleToZoom(e){const t=this.scales,i=t.length-1;let r=0;for(;r<i;r++){const i=t[r],n=t[r+1];if(i<=e)return r;if(n===e)return r+1;if(i>e&&n<e)return r+Math.log(i/e)/Math.log(i/n)}return r}tileAt(e,t,i,r){const n=this.lodAt(e);if(!n)return null;let s,l;if("number"==typeof t)s=t,l=i;else if((0,f.aI)(t.spatialReference,this.spatialReference))s=t.x,l=t.y,r=i;else{const e=(0,w.Cv)(t,this.spatialReference);if(null==e)return null;s=e.x,l=e.y,r=i}const o=n.resolution*this.size[0],a=n.resolution*this.size[1];return r||(r=new v.U(null,0,0,0,(0,y.vt)())),r.level=e,r.row=Math.floor((this.origin.y-l)/a+.001),r.col=Math.floor((s-this.origin.x)/o+.001),this.updateTileInfo(r),r}updateTileInfo(e,t=r.ExtrapolateOptions.NONE){let i=this.lodAt(e.level);if(!i&&t===r.ExtrapolateOptions.POWER_OF_TWO){const t=this.lods[this.lods.length-1];t.level<e.level&&(i=t)}if(!i)return;const n=e.level-i.level,s=i.resolution*this.size[0]/2**n,l=i.resolution*this.size[1]/2**n;e.id=`${e.level}/${e.row}/${e.col}`,e.extent||(e.extent=(0,y.vt)()),e.extent[0]=this.origin.x+e.col*s,e.extent[1]=this.origin.y-(e.row+1)*l,e.extent[2]=e.extent[0]+s,e.extent[3]=e.extent[1]+l}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 i=this.lodAt(t.level);if(null==i)return null;const{resolution:r}=i,n=r*this.size[0],s=r*this.size[1];return e[0]=this.origin.x+t.col*n,e[1]=this.origin.y-(t.row+1)*s,e[2]=e[0]+n,e[3]=e[1]+s,e}lodAt(e){return this._levelToLOD?.[e]??null}clone(){return r.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 i=[],n=this.lods.length-t;for(let e=0;e<n;e++){const r=e+t,{scale:n,resolution:s}=r>=0?this.lods[r]:{scale:2*this.lods[0].scale,resolution:2*this.lods[0].resolution};i.push(new m.A({level:e,scale:n,resolution:s}))}return new r({size:[e,e],dpi:this.dpi,format:this.format,compressionQuality:this.compressionQuality,origin:this.origin,spatialReference:this.spatialReference,lods:i})}_initializeUpsampleLevels(){const e=this.lods;this._upsampleLevels=[];let t=null;for(let i=0;i<e.length;i++){const r=e[i];this._upsampleLevels[r.level]={parentLevel:t?t.level:-1,factor:t?t.resolution/r.resolution:0},t=r}}};var M,_;(0,n._)([(0,a.MZ)({type:Number,json:{write:!0}})],A.prototype,"compressionQuality",void 0),(0,n._)([(0,a.MZ)({type:Number,json:{write:!0}})],A.prototype,"dpi",void 0),(0,n._)([(0,a.MZ)({type:String,json:{read:b.read,write:b.write,origins:{"web-scene":{read:!1,write:!1}}}})],A.prototype,"format",void 0),(0,n._)([(0,a.MZ)({readOnly:!0})],A.prototype,"isWrappable",null),(0,n._)([(0,a.MZ)({type:h.A,json:{write:!0}})],A.prototype,"origin",void 0),(0,n._)([(0,c.w)("origin")],A.prototype,"readOrigin",null),(0,n._)([(0,a.MZ)({type:[m.A],value:null,json:{write:!0}})],A.prototype,"lods",null),(0,n._)([(0,a.MZ)({readOnly:!0})],A.prototype,"scales",void 0),(0,n._)([(0,a.MZ)({cast:e=>Array.isArray(e)?e:"number"==typeof e?[e,e]:[256,256]})],A.prototype,"size",void 0),(0,n._)([(0,c.w)("size",["rows","cols"])],A.prototype,"readSize",null),(0,n._)([(0,d.K)("size",{cols:{type:u.jz},rows:{type:u.jz}})],A.prototype,"writeSize",null),(0,n._)([(0,a.MZ)({type:g.A,json:{write:!0}})],A.prototype,"spatialReference",void 0),A=r=(0,n._)([(0,p.$)("esri.layers.support.TileInfo")],A),(_=(M=A||(A={})).ExtrapolateOptions||(M.ExtrapolateOptions={}))[_.NONE=0]="NONE",_[_.POWER_OF_TWO=1]="POWER_OF_TWO";const T=A},91806:(e,t,i)=>{i.d(t,{A:()=>c});var r,n=i(90237),s=i(25482),l=i(10107),o=i(56507),a=(i(44208),i(87811),i(40608));let u=class extends s.A{static{r=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 r({cols:this.cols,level:this.level,levelValue:this.levelValue,resolution:this.resolution,rows:this.rows,scale:this.scale})}};(0,n._)([(0,l.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"cols",void 0),(0,n._)([(0,l.MZ)({type:o.jz,json:{write:!0}})],u.prototype,"level",void 0),(0,n._)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"levelValue",void 0),(0,n._)([(0,l.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"origin",void 0),(0,n._)([(0,l.MZ)({type:Number,json:{write:!0}})],u.prototype,"resolution",void 0),(0,n._)([(0,l.MZ)({json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],u.prototype,"rows",void 0),(0,n._)([(0,l.MZ)({type:Number,json:{write:!0}})],u.prototype,"scale",void 0),u=r=(0,n._)([(0,a.$)("esri.layers.support.LOD")],u);const c=u}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7883],{27883:(e,t,n)=>{n.d(t,{resolveWebStyleSymbol:()=>b});var o=n(61473),r=n(49186),l=n(84952),s=n(20655),i=n(97159),a=n(73838),c=n(98751),u=n(85594),y=n(57212),m=n(33910);const f=["web-gltf","web","cim"];function b(e,t,n){const o=e.name;return null==o?Promise.reject(new r.A("symbolstyleutils:style-symbol-reference-name-missing","Missing name in style symbol reference")):"Esri2DPointSymbolsStyle"===e.styleName?function(e,t,n){const o=u.jg.replaceAll(/\{SymbolName\}/gi,e),r=null!=t.portal?t.portal:s.A.getDefault();return(0,u.yA)(o,n).then((e=>{const t=(0,u.bo)(e.data);return(0,a.rS)(t,{portal:r,url:(0,l.An)((0,l.nM)(o)),origin:"portal-item"})}))}(o,t,n):(0,u.cF)(e,t,n).then((e=>p(e,o,t,u.o5,n)))}async function p(e,t,n,b,p){const d=null!=n?.portal?n.portal:s.A.getDefault(),g={portal:d,url:(0,l.An)(e.baseUrl),origin:"portal-item"},S=function(e,t){return t.items.find((t=>t.name===e))}(t,e.data);if(!S)throw new r.A("symbolstyleutils:symbol-name-not-found",`The symbol name '${t}' could not be found`,{symbolName:t});const w=p?.acceptedFormats??f,A=b(S,w);if(!A)throw new r.A("symbolstyleutils:symbol-reference-no-accepted-format",`The symbol name '${t}' does not have an accepted format (one of ${w})`,{symbolName:t});const{url:h,format:C}=A;let M=(0,i.f)(h,g),v=S.thumbnail?.href??null;const k=S.thumbnail?.imageData;(0,o.b5)()&&(M=(0,o.EM)(M)??"",v=(0,o.EM)(v));const L={portal:d,url:(0,l.An)((0,l.nM)(M)),origin:"portal-item"};return(0,u.yA)(M,p).then((o=>{const r="cim"===C?(0,u.bo)(o.data):o.data,l=(0,a.rS)(r,L);if(l&&(0,m.wk)(l)){if(v){const e=(0,i.f)(v,g);l.thumbnail=new y.V({url:e})}else k&&(l.thumbnail=new y.V({url:`data:image/png;base64,${k}`}));e.styleUrl?l.styleOrigin=new c.A({portal:n.portal,styleUrl:e.styleUrl,name:t}):e.styleName&&(l.styleOrigin=new c.A({portal:n.portal,styleName:e.styleName,name:t}))}return l}))}},59868:(e,t,n)=>{n.d(t,{A7:()=>c,Cx:()=>u,Hk:()=>y,UK:()=>a}),n(44208);var o=n(94985),r=n(31593),l=n(53930),s=n(68249),i=n(93470);const a=l.A.fromJSON(i.Cb),c=r.A.fromJSON(i.yM),u=o.A.fromJSON(i.WR),y=s.A.fromJSON(i.JZ);l.A.fromJSON(i.nC),r.A.fromJSON(i.HW),o.A.fromJSON(i.b6)},61473:(e,t,n)=>{function o(e){return e=e||globalThis.location.hostname,c.some((t=>null!=e?.match(t)))}function r(e,t){return e?(t=t||globalThis.location.hostname)?null!=t.match(l)||null!=t.match(i)?e.replace("static.arcgis.com","staticdev.arcgis.com"):null!=t.match(s)||null!=t.match(a)?e.replace("static.arcgis.com","staticqa.arcgis.com"):e:e:null}n.d(t,{EM:()=>r,b5:()=>o});const l=/^devext\.arcgis\.com$/,s=/^qaext\.arcgis\.com$/,i=/^[\w-]*\.mapsdevext\.arcgis\.com$/,a=/^[\w-]*\.mapsqa\.arcgis\.com$/,c=[/^([\w-]*\.)?[\w-]*\.zrh-dev-local\.esri\.com$/,l,s,/^jsapps\.esri\.com$/,i,a]},73838:(e,t,n)=>{n.d(t,{rS:()=>T,M9:()=>U,oO:()=>$});var o=n(49186),r=n(83531),l=n(37757),s=n(13313),i=n(97887),a=n(68548),c=n(58592),u=n(75981),y=n(65365),m=n(94985),f=n(31593),b=n(53930),p=n(68249),d=n(68197),g=n(5503),S=(n(44208),n(90629)),w=n(27845),A=n(11506),h=n(39065),C=n(59868),M=n(93470);u.A.fromSimpleMarkerSymbol(C.UK),i.A.fromSimpleLineSymbol(C.A7),y.A.fromSimpleFillSymbol(C.Cx),new a.A({symbolLayers:new g.A([new w.A({material:{color:M.fT},edges:new h.A({size:(0,S.PN)(1),color:new d.A(M.JR)})})])});const v=new i.A({symbolLayers:new g.A([new A.A({material:{color:new d.A([0,0,0])},size:(0,S.PN)(1)})])}),k=new y.A({symbolLayers:new g.A([new w.A({outline:{color:new d.A([0,0,0]),size:(0,S.PN)(1)}})])});var L=n(33910);const I="#useCIMFallbackSymbology()",N={retainId:!1,ignoreDrivers:!1,hasLabelingContext:!0};function U(e,t,n,o){const r=D(e,{},{context:o,isLabelSymbol:!1});null!=r&&(t[n]=r)}function $(e,t,n,o){const r=D(e,{},{context:o,isLabelSymbol:!0});null!=r&&(t[n]=r)}function x(e){return(0,L.wk)(e)||e instanceof l.A}function D(e,t,n){if(null==e)return null;const{context:d,isLabelSymbol:g}=n,S=d?.origin,w=d?.messages;if("web-scene"===S&&!x(e)){const n=function(e,t=N){if(!e)return{symbol:null};const{retainId:n=N.retainId,ignoreDrivers:r=N.ignoreDrivers,hasLabelingContext:d=N.hasLabelingContext,retainCIM:g=N.retainCIM,cimFallbackEnabled:S=N.cimFallbackEnabled}=t;let w=null;if((0,L.wk)(e)||e instanceof l.A)w=e.clone();else if("cim"===e.type){const n=e.data?.symbol?.type;switch(n){case"CIMPointSymbol":w=g?e.clone():u.A.fromCIMSymbol(e);break;case"CIMLineSymbol":S&&(w=v.clone(),t?.logWarning?.(I,"Unsupported CIM line symbology converted to fallback 3D line symbology"));break;case"CIMPolygonSymbol":S&&(w=k.clone(),t?.logWarning?.(I,"Unsupported CIM polygon symbology converted to fallback 3D polygon symbology"))}if(!w)return{error:new o.A("symbol-conversion:unsupported-cim-symbol",`CIM symbol of type '${n||"unknown"}' is unsupported in 3D`,{symbol:e})}}else if(e instanceof f.A)w=i.A.fromSimpleLineSymbol(e);else if(e instanceof b.A)w=u.A.fromSimpleMarkerSymbol(e);else if(e instanceof c.A)w=u.A.fromPictureMarkerSymbol(e);else if(e instanceof m.A)w=t.geometryType&&"mesh"===t.geometryType?a.A.fromSimpleFillSymbol(e):y.A.fromSimpleFillSymbol(e);else{if(!(e instanceof p.A))return{error:new o.A("symbol-conversion:unsupported-2d-symbol",`2D symbol of type '${e.type||e.declaredClass}' is unsupported in 3D`,{symbol:e})};w=d?s.A.fromTextSymbol(e):u.A.fromTextSymbol(e)}return n&&w&&"cim"!==w.type&&(w.id=e.id),!r||"cim"===w.type||w instanceof l.A||w.symbolLayers.forEach((e=>e.ignoreDrivers=!0)),{symbol:w}}(e,{retainCIM:!0,hasLabelingContext:g});return null!=n.symbol?n.symbol.write(t,d):(w?.push(new o.A("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported in scenes. Use 3D symbology instead when working with WebScene and SceneView`,{symbol:e,context:d,error:n.error})),null)}return(0,r.TU)(d?.layer)&&(A=e,"polygon-3d"===A?.type||"line-3d"===A?.type)?(w?.push(new o.A("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported on layers of type '${d?.layer?.declaredClass}'.`,{symbol:e,context:d})),null):("web-map"===S||"portal-item"===S&&!(0,r.TU)(d?.layer))&&x(e)?(w?.push(new o.A("symbol:unsupported",`Symbols of type '${e.declaredClass}' are not supported in web maps and portal items. Use 2D symbology and CIMSymbol instead when working with MapView`,{symbol:e,context:d})),null):e.write(t,d);var A}function T(e,t){return(0,L.Bu)(e,null,t)}},83531:(e,t,n)=>{n.d(t,{BR:()=>u,Ov:()=>i,TU:()=>s,W_:()=>a,XX:()=>l,tk:()=>y,wI:()=>c});var o=n(70333),r=n(78888);const l={Point:"SceneLayer","3DObject":"SceneLayer",IntegratedMesh:"IntegratedMeshLayer",PointCloud:"PointCloudLayer",Building:"BuildingSceneLayer"};function s(e){const t=e?.type;return"building-scene"===t||"integrated-mesh"===t||"point-cloud"===t||"scene"===t}function i(e){return"feature"===e?.type&&!e.url&&"memory"===e.source?.type}function a(e){const t=e?.type;return("feature"===t||"subtype-group"===t||"oriented-imagery"===t)&&"feature-layer"===e?.source?.type}async function c(e,t){const n=o.id?.findServerInfo(e);if(null!=n?.currentVersion)return n.owningSystemUrl||null;const l=e.toLowerCase().indexOf("/rest/services");if(-1===l)return null;const s=`${e.slice(0,l)}/rest/info`,i=null!=t?t.signal:null,{data:a}=await(0,r.A)(s,{query:{f:"json"},responseType:"json",signal:i});return a?.owningSystemUrl||null}function u(e){return function(e){if(!("capabilities"in e))return!1;switch(e.type){case"catalog":case"catalog-footprint":case"csv":case"feature":case"geojson":case"imagery":case"knowledge-graph-sublayer":case"ogc-feature":case"oriented-imagery":case"scene":case"sublayer":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}(e)?"effectiveCapabilities"in e?e.effectiveCapabilities:e.capabilities:null}function y(e){return!!function(e){if(!("editingEnabled"in e))return!1;switch(e.type){case"csv":case"feature":case"geojson":case"oriented-imagery":case"scene":case"subtype-group":case"subtype-sublayer":return!0;default:return!1}}(e)&&("effectiveEditingEnabled"in e?e.effectiveEditingEnabled:e.editingEnabled)}},85594:(e,t,n)=>{n.d(t,{jg:()=>S,cF:()=>y,bo:()=>m,yA:()=>p,o5:()=>f});var o=n(78888),r=n(49186),l=n(44208),s=n(74887),i=n(84952),a=n(20655),c=n(16405);const u=new Map;function y(e,t,n){return null!=e?.styleUrl?async function(e,t){try{return{data:(await p(e,t)).data,baseUrl:(0,i.nM)(e),styleUrl:e}}catch(e){return(0,s.QP)(e),null}}(e.styleUrl,n):null!=e?.styleName?function(e,t,n){const o=null!=t.portal?t.portal:a.A.getDefault();let l;const s=`${o.url} - ${o.user?.username} - ${e}`,i=u.get(s);if(i)return i;const y=function(e,t,n){return t.load(n).then((()=>{const o=new c.A({disableExtraQuery:!0,query:`owner:${d} AND type:${g} AND typekeywords:"${e}"`});return t.queryItems(o,n)})).then((({results:t})=>{let o=null;const l=e.toLowerCase();if(t&&Array.isArray(t))for(const e of t){const t=e.typeKeywords?.some((e=>e.toLowerCase()===l));if(t&&e.type===g&&e.owner===d){o=e;break}}if(!o)throw new r.A("symbolstyleutils:style-not-found",`The style '${e}' could not be found`,{styleName:e});return o.load(n)}))}(e,o,n).then((e=>(l=e,e.fetchData()))).then((t=>({data:t,baseUrl:l.itemUrl??"",styleName:e})));return u.set(s,y),y}(e.styleName,t,n):Promise.reject(new r.A("symbolstyleutils:style-url-and-name-missing","Either styleUrl or styleName is required to resolve a style"))}function m(e){return null===e||"CIMSymbolReference"===e.type?e:{type:"CIMSymbolReference",symbol:e}}function f(e,t){for(const n of t)switch(n){case"cim":if(e.cimRef)return{format:n,url:encodeURI(e.cimRef)};break;case"web-gltf-basisu":{const t=b(e,"gltf_basisu");if(t)return{format:n,url:t};break}case"web-gltf":{const t=b(e,"gltf");if(t)return{format:n,url:t};break}case"web":{const t=b(e,"gltf");if(t)return{format:"web-gltf",url:t};if(e.webRef)return{format:n,url:encodeURI(e.webRef)};break}}}function b(e,t){if(!(0,l.A)("enable-feature:force-wosr"))return e.formatInfos?.find((e=>e.type===t))?.href}function p(e,t){const n={responseType:"json",query:{f:"json"},...t};return(0,o.A)((0,i.S8)(e),n)}const d="esri_en",g="Style",S="https://cdn.arcgis.com/sharing/rest/content/items/220936cc6ed342c9937abd8f180e7d1e/resources/styles/cim/{SymbolName}.json?f=json"},93470:(e,t,n)=>{n.d(t,{Cb:()=>l,HW:()=>u,JR:()=>r,JZ:()=>a,WR:()=>i,b6:()=>y,fT:()=>o,nC:()=>c,yM:()=>s});const o=[252,146,31,255],r=[153,153,153,255],l={type:"esriSMS",style:"esriSMSCircle",size:6,color:o,outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[153,153,153,255]}},s={type:"esriSLS",style:"esriSLSSolid",width:.75,color:o},i={type:"esriSFS",style:"esriSFSSolid",color:[252,146,31,196],outline:{type:"esriSLS",style:"esriSLSSolid",width:.75,color:[255,255,255,191]}},a={type:"esriTS",color:[255,255,255,255],font:{family:"arial-unicode-ms",size:10,weight:"bold"},horizontalAlignment:"center",kerning:!0,haloColor:[0,0,0,255],haloSize:1,rotated:!1,text:"",xoffset:0,yoffset:0,angle:0},c={type:"esriSMS",style:"esriSMSCircle",color:[0,0,0,255],outline:null,size:10.5},u={type:"esriSLS",style:"esriSLSSolid",color:[0,0,0,255],width:1.5},y={type:"esriSFS",style:"esriSFSSolid",color:[0,0,0,255],outline:null}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5356,5613],{4513:(e,a,r)=>{r.d(a,{S:()=>t});const t={BingMapsLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(7690)]).then(r.bind(r,17029))).default,BuildingSceneLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(9953),r.e(4796),r.e(3029),r.e(4111),r.e(8506),r.e(3600),r.e(6213),r.e(2944),r.e(958),r.e(4654),r.e(6298),r.e(1961)]).then(r.bind(r,88303))).default,CSVLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(9953),r.e(4796),r.e(3029),r.e(4111),r.e(8506),r.e(3600),r.e(9070)]).then(r.bind(r,72256))).default,CatalogLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(4796),r.e(4111),r.e(8506),r.e(364),r.e(8628),r.e(2593),r.e(2696),r.e(4178)]).then(r.bind(r,79003))).default,DimensionLayer:async()=>(await Promise.all([r.e(6131),r.e(3813)]).then(r.bind(r,71493))).default,ElevationLayer:async()=>(await Promise.all([r.e(6131),r.e(9953),r.e(9186),r.e(2955)]).then(r.bind(r,68611))).default,FeatureLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(9953),r.e(4796),r.e(3029),r.e(4111),r.e(8506),r.e(3600),r.e(5483)]).then(r.bind(r,13600))).default,GeoJSONLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(9953),r.e(4796),r.e(3029),r.e(4927)]).then(r.bind(r,17625))).default,GeoRSSLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(3740)]).then(r.bind(r,63201))).default,GroupLayer:async()=>(await Promise.all([r.e(6131),r.e(3562),r.e(8256)]).then(r.bind(r,85989))).default,ImageryLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1956),r.e(9953),r.e(364),r.e(984),r.e(2439),r.e(272)]).then(r.bind(r,58434))).default,ImageryTileLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(9953),r.e(984),r.e(6049),r.e(2439),r.e(7677),r.e(5943)]).then(r.bind(r,35943))).default,IntegratedMesh3DTilesLayer:async()=>(await Promise.all([r.e(6131),r.e(107)]).then(r.bind(r,61528))).default,IntegratedMeshLayer:async()=>(await Promise.all([r.e(6131),r.e(6298),r.e(6858)]).then(r.bind(r,84453))).default,KMLLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(5026)]).then(r.bind(r,79465))).default,KnowledgeGraphLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(9953),r.e(4796),r.e(3029),r.e(6760),r.e(8613),r.e(7475),r.e(2083),r.e(8692)]).then(r.bind(r,28692))).default,LineOfSightLayer:async()=>(await Promise.all([r.e(6131),r.e(6213),r.e(6360),r.e(9695)]).then(r.bind(r,49695))).default,LinkChartLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(9953),r.e(4796),r.e(3029),r.e(6760),r.e(8613),r.e(7475),r.e(2083),r.e(1728)]).then(r.bind(r,71728))).default,MapImageLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(4796),r.e(4111),r.e(364),r.e(4341),r.e(7656),r.e(6928)]).then(r.bind(r,7656))).default,MapNotesLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(9953),r.e(4796),r.e(3029),r.e(4111),r.e(8506),r.e(3600),r.e(7475),r.e(2936)]).then(r.bind(r,96953))).default,MediaLayer:async()=>(await Promise.all([r.e(6131),r.e(2763)]).then(r.bind(r,19647))).default,OGCFeatureLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(4796),r.e(3029),r.e(2905),r.e(4934)]).then(r.bind(r,87152))).default,OpenStreetMapLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(5177),r.e(349)]).then(r.bind(r,40349))).default,OrientedImageryLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(9953),r.e(4796),r.e(3029),r.e(4111),r.e(8506),r.e(3600),r.e(9835)]).then(r.bind(r,97927))).default,PointCloudLayer:async()=>(await Promise.all([r.e(6131),r.e(8948),r.e(7984),r.e(6742)]).then(r.bind(r,76742))).default,RouteLayer:async()=>(await Promise.all([r.e(6131),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(7634)]).then(r.bind(r,64185))).default,SceneLayer:async()=>(await Promise.all([r.e(6131),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(4796),r.e(6213),r.e(2944),r.e(958),r.e(4654),r.e(6298),r.e(6462)]).then(r.bind(r,13899))).default,StreamLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(4796),r.e(3029),r.e(505)]).then(r.bind(r,60683))).default,SubtypeGroupLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1956),r.e(4796),r.e(4111),r.e(8506),r.e(1162)]).then(r.bind(r,59929))).default,TileLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(4796),r.e(4111),r.e(364),r.e(9186),r.e(4341),r.e(8535)]).then(r.bind(r,71756))).default,UnknownLayer:async()=>(await r.e(146).then(r.bind(r,146))).default,UnsupportedLayer:async()=>(await r.e(5165).then(r.bind(r,45165))).default,VectorTileLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(9186),r.e(9949),r.e(5013),r.e(4429)]).then(r.bind(r,48757))).default,VideoLayer:async()=>(await r.e(6875).then(r.bind(r,86875))).default,ViewshedLayer:async()=>(await Promise.all([r.e(6131),r.e(6213),r.e(6360),r.e(6650)]).then(r.bind(r,96650))).default,VoxelLayer:async()=>(await Promise.all([r.e(6131),r.e(8948),r.e(6183)]).then(r.bind(r,16183))).default,WCSLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(9953),r.e(984),r.e(6049),r.e(2439),r.e(7677),r.e(9547)]).then(r.bind(r,19547))).default,WFSLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(13),r.e(5055),r.e(1214),r.e(1956),r.e(9953),r.e(4796),r.e(3029),r.e(7396)]).then(r.bind(r,16350))).default,WMSLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(8948),r.e(2106),r.e(5721),r.e(1904)]).then(r.bind(r,51904))).default,WMTSLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(5177),r.e(309)]).then(r.bind(r,20309))).default,WebTileLayer:async()=>(await Promise.all([r.e(6131),r.e(8219),r.e(5177)]).then(r.bind(r,47314))).default}},8947:(e,a,r)=>{r.d(a,{L:()=>s});var t=r(60999),n=r(74887),i=r(67076);async function s(e,a,r){const s=e&&e.getAtOrigin&&e.getAtOrigin("renderer",a.origin);if(s&&"unique-value"===s.type&&s.styleOrigin){const l=await(0,t.Ke)(s.populateFromStyle());if((0,n.Te)(r),!1===l.ok){const r=l.error;a?.messages&&a.messages.push(new i.A("renderer:style-reference",`Failed to create unique value renderer from style reference: ${r.message}`,{error:r,context:a})),e.clear("renderer",a?.origin)}}}},10407:(e,a,r)=>{r.d(a,{It:()=>L,LG:()=>s,OM:()=>y,Sm:()=>o,Y:()=>l,bK:()=>c,mm:()=>d,sQ:()=>u});var t=r(80586),n=r(16930),i=r(28735);function s(e,a){if(!l(e,a)){const r=e.typeKeywords;r?r.push(a):e.typeKeywords=[a]}}function l(e,a){return!!e.typeKeywords?.includes(a)}function c(e){return l(e,d.HOSTED_SERVICE)}function y(e,a){const r=e.typeKeywords;if(r){const e=r.indexOf(a);e>-1&&r.splice(e,1)}}function o(e,a,r){r?s(e,a):y(e,a)}async function u(e){const a=e.clone().normalize();let r;if(a.length>1)for(const e of a)r?e.width>r.width&&(r=e):r=e;else r=a[0];return async function(e){const a=e.spatialReference;if(a.isWGS84)return e.clone();if(a.isWebMercator)return(0,i.ci)(e);const r=n.A.WGS84;return await(0,t.initializeProjection)(a,r),(0,t.project)(e,r)}(r)}const d={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 L(e){const{portal:a,isOrgItem:r,itemControl:t}=e,n=a.user?.privileges;let i=!n||n.includes("features:user:edit"),s=!!r&&!!n?.includes("features:user:fullEdit");const l="update"===t||"admin"===t;return l?s=i=!0:s&&(i=!0),{features:{edit:i,fullEdit:s},content:{updateItem:l}}}},22429:(e,a,r)=>{r.d(a,{v:()=>n});var t=r(24183);class n{constructor(){this._serviceMetadatas=new Map,this._itemDatas=new Map}async fetchServiceMetadata(e,a){const r=this._serviceMetadatas.get(e);if(r)return r;const n=await(0,t.V)(e,a);return this._serviceMetadatas.set(e,n),n}async fetchItemData(e){const{id:a}=e;if(!a)return null;const{_itemDatas:r}=this;if(r.has(a))return r.get(a);const t=await e.fetchData();return r.set(a,t),t}async fetchCustomParameters(e,a){const r=await this.fetchItemData(e);return r&&"object"==typeof r&&(a?a(r):r.customParameters)||null}}},23154:(e,a,r)=>{r.d(a,{K:()=>d,Q:()=>i});var t=r(24183);const n=new Set(["Catalog Layer","Feature Layer","Oriented Imagery Layer"]);async function i(e,a){const{loadContext:r,...n}=a||{},i=r?await r.fetchServiceMetadata(e,n):await(0,t.V)(e,n);u(i),c(i);const s={serviceJSON:i};if((i.currentVersion??0)<10.5)return s;const l=`${e}/layers`,y=r?await r.fetchServiceMetadata(l,n):await(0,t.V)(l,n);return u(y),c(y),s.layersJSON={layers:y.layers,tables:y.tables},s}function s(e){const{type:a}=e;return!!a&&n.has(a)}function l(e){return"Table"===e.type}function c(e){e.layers=e.layers?.filter(s),e.tables=e.tables?.filter(l)}function y(e){e.type||="Feature Layer"}function o(e){e.type||="Table"}function u(e){e.layers?.forEach(y),e.tables?.forEach(o)}function d(e){switch(e){case"Feature Layer":case"Table":return"FeatureLayer";case"Oriented Imagery Layer":return"OrientedImageryLayer";case"Catalog Layer":return"CatalogLayer"}return"FeatureLayer"}},24183:(e,a,r)=>{r.d(a,{V:()=>n});var t=r(78888);async function n(e,a){const{data:r}=await(0,t.A)(e,{responseType:"json",query:{f:"json",...a?.customParameters,token:a?.apiKey}});return r}},45613:(e,a,r)=>{r.d(a,{fromItem:()=>d,n:()=>L});var t=r(49186),n=r(92009),i=r(23154),s=r(22429),l=r(83531),c=r(4513),y=r(80812),o=r(66964),u=r(10407);async function d(e){let{portalItem:a}=e;!a||a instanceof y.default||(a=new y.default(a));const r=await async function(e){await e.load();const a=new s.v;return async function(e){const a=e.className,r=c.S[a];return{constructor:await r(),properties:e.properties}}(await L(e,a))}(a);return new(0,r.constructor)({portalItem:a,...r.properties})}async function L(e,a){switch(e.type){case"3DTiles Service":return e.typeKeywords.includes("3DObject")?{className:"UnsupportedLayer"}:{className:"IntegratedMesh3DTilesLayer"};case"CSV":return{className:"CSVLayer"};case"Feature Collection":return async function(e){await e.load();const a=(0,u.Y)(e,"Map Notes"),r=(0,u.Y)(e,"Markup");if(a||r)return{className:"MapNotesLayer"};if((0,u.Y)(e,"Route Layer"))return{className:"RouteLayer"};const t=await e.fetchData();return 1===(0,o.XH)(t)?{className:"FeatureLayer"}:{className:"GroupLayer"}}(e);case"Feature Service":return async function(e,a){const r=await f(e,a);if("object"==typeof r){const{sourceJSON:e,className:a}=r,t={sourceJSON:e};return null!=r.id&&(t.layerId=r.id),{className:a||"FeatureLayer",properties:t}}return{className:"GroupLayer"}}(e,a);case"Feed":case"Stream Service":return{className:"StreamLayer"};case"GeoJson":return{className:"GeoJSONLayer"};case"Group Layer":return{className:"GroupLayer"};case"Image Service":return async function(e,a){await e.load();const r=e.typeKeywords?.map((e=>e.toLowerCase()))??[];if(r.includes("elevation 3d layer"))return{className:"ElevationLayer"};if(r.includes("tiled imagery"))return{className:"ImageryTileLayer"};const t=await a.fetchItemData(e),n=t?.layerType;if("ArcGISTiledImageServiceLayer"===n)return{className:"ImageryTileLayer"};if("ArcGISImageServiceLayer"===n)return{className:"ImageryLayer"};const i=await a.fetchServiceMetadata(e.url,{customParameters:await a.fetchCustomParameters(e)}),s=i.cacheType?.toLowerCase(),l=i.capabilities?.toLowerCase().includes("tilesonly"),c=i.tileInfo?.format?.toLowerCase()??"",y=null==s&&["jpg","jpeg","png","png8","png24","png32","mixed"].includes(c);return"map"===s||y||l?{className:"ImageryTileLayer"}:{className:"ImageryLayer"}}(e,a);case"KML":return{className:"KMLLayer"};case"Knowledge Graph Layer":return{className:"KnowledgeGraphLayer"};case"Map Service":return async function(e,a){return await async function(e,a){const{tileInfo:r}=await a.fetchServiceMetadata(e.url,{customParameters:await a.fetchCustomParameters(e)});return r}(e,a)?{className:"TileLayer"}:{className:"MapImageLayer"}}(e,a);case"Media Layer":return{className:"MediaLayer"};case"Scene Service":return async function(e,a){const r=await f(e,a,(async()=>{try{if(!e.url)return[];const{serverUrl:r}=await(0,n.L)(e.url,{sceneLayerItem:e}),t=await a.fetchServiceMetadata(r);return t?.tables??[]}catch{return[]}}));if("object"==typeof r){const t={};let n;if(null!=r.id?(t.layerId=r.id,n=`${e.url}/layers/${r.id}`):n=e.url,e.typeKeywords?.length)for(const a of Object.keys(l.XX))if(e.typeKeywords.includes(a))return{className:l.XX[a]};const i=await a.fetchServiceMetadata(n,{customParameters:await a.fetchCustomParameters(e,(e=>(0,o.pJ)(e)?.customParameters))});return{className:l.XX[i?.layerType]||"SceneLayer",properties:t}}if(!1===r){const r=await a.fetchServiceMetadata(e.url);if("Voxel"===r?.layerType)return{className:"VoxelLayer"}}return{className:"GroupLayer"}}(e,a);case"Vector Tile Service":return{className:"VectorTileLayer"};case"WCS":return{className:"WCSLayer"};case"WFS":return{className:"WFSLayer"};case"WMS":return{className:"WMSLayer"};case"WMTS":return{className:"WMTSLayer"};default:throw new t.A("portal:unknown-item-type","Unknown item type '${type}'",{type:e.type})}}async function f(e,a,r){const{url:t,type:n}=e,s="Feature Service"===n;if(!t)return{};if(/\/\d+$/.test(t)){if(s){const r=await a.fetchServiceMetadata(t,{customParameters:await a.fetchCustomParameters(e,(e=>(0,o.pJ)(e)?.customParameters))});return{id:r.id,className:(0,i.K)(r.type),sourceJSON:r}}return{}}await e.load();let l=await a.fetchItemData(e);if(s){const e=await(0,o.bO)(l,t,a),r=m(e);if("object"==typeof r){const a=(0,o.rc)(e,r.id);r.className=(0,o.K8)(a?.layerType)}return r}if("Scene Service"===n&&(l=await(0,o.nu)(e,l,a)),(0,o.XH)(l)>0)return m(l);const c=await a.fetchServiceMetadata(t);return r&&(c.tables=await r()),m(c)}function m(e){return 1===(0,o.XH)(e)&&{id:(0,o.pJ)(e)?.id}}},66964:(e,a,r)=>{r.d(a,{Ju:()=>y,K8:()=>d,XH:()=>o,_r:()=>i,bO:()=>s,l:()=>u,nu:()=>L,pJ:()=>l,rc:()=>c});var t=r(92009),n=r(23154);function i(e){const a={id:e.id,name:e.name},r=(0,n.K)(e.type);return"FeatureLayer"!==r&&(a.layerType=r),a}async function s(e,a,r){if(null==e?.layers||null==e?.tables){const t=await r.fetchServiceMetadata(a,{customParameters:l(e)?.customParameters});(e=e||{}).layers=e.layers||t?.layers?.map(i),e.tables=e.tables||t?.tables?.map(i)}return e}function l(e){if(!e)return null;const{layers:a,tables:r}=e;return a?.length?a[0]:r?.length?r[0]:null}function c(e,a){return null==a?null:[...e.layers||[],...e.tables||[]].find((e=>e.id===a))}function y(e,a){return[...e.layers||[],...e.tables||[]].filter((({layerType:e})=>e?a.includes(e):a.includes("ArcGISFeatureLayer")))}function o(e){return(e?.layers?.length??0)+(e?.tables?.length??0)}function u(e){switch(e){case"catalog":return["CatalogLayer"];case"feature":return["ArcGISFeatureLayer"];case"oriented-imagery":return["OrientedImageryLayer"];case"subtype-group":return["SubtypeGroupLayer","SubtypeGroupTable"]}return null}function d(e){switch(e){case"CatalogLayer":return"CatalogLayer";case"OrientedImageryLayer":return"OrientedImageryLayer";case"SubtypeGroupLayer":case"SubtypeGroupTable":return"SubtypeGroupLayer"}return"FeatureLayer"}async function L(e,a,r){if(!e?.url)return a??{};if(a??={},!a.layers){const t=await r.fetchServiceMetadata(e.url);a.layers=t.layers?.map(i)}const{serverUrl:n,portalItem:s}=await(0,t.L)(e.url,{sceneLayerItem:e,customParameters:l(a)?.customParameters}).catch((()=>({serverUrl:null,portalItem:null})));if(null==n)return a.tables=[],a;if(!a.tables&&s){const e=await s.fetchData().catch((()=>null));if(e?.tables)a.tables=e.tables.map(i);else{const t=await r.fetchServiceMetadata(n,{customParameters:l(e)?.customParameters}).catch((()=>null));a.tables=t?.tables?.map(i)}}if(a.tables)for(const e of a.tables)e.url=`${n}/${e.id}`;return a}},75356:(e,a,r)=>{r.d(a,{N:()=>M,populateOperationalLayers:()=>o});var t=r(5503),n=(r(44208),r(22429)),i=r(4513),s=r(80812);function l(e,a){return!(!e.layerType||"ArcGISFeatureLayer"!==e.layerType)&&e.featureCollectionType===a}var c=r(45613),y=r(8947);async function o(e,a,r){if(!a)return;const t=a.map((e=>async function(e,a){return async function(e,a,r){const t=new e;return t.read(a,r.context),"group"===t.type&&("GroupLayer"===a.layerType?await M(t,a,r):v(a)?function(e,a,r){a.itemId&&(e.portalItem=new s.default({id:a.itemId,portal:r?.portal}),e.when((()=>{const t=t=>{const n=t.layerId;G(t,e,a,n,r);const i=a.featureCollection?.layers?.[n];i&&t.read(i,r)};e.layers?.forEach(t),e.tables?.forEach(t)})))}(t,a,r.context):b(a)&&await async function(e,a,r){const t=i.S.FeatureLayer,n=await t(),s=a.featureCollection,l=s?.showLegend,c=s?.layers?.map(((t,i)=>{const s=new n;s.read(t,r);const c={...r,ignoreDefaults:!0};return G(s,e,a,i,c),null!=l&&s.read({showLegend:l},c),s}));e.layers.addMany(c??[])}(t,a,r.context)),await(0,y.L)(t,r.context),t}(await I(e,a),e,a)}(e,r))),n=await Promise.allSettled(t);for(const a of n)"rejected"===a.status||a.value&&e.add(a.value)}const u={ArcGISDimensionLayer:"DimensionLayer",ArcGISFeatureLayer:"FeatureLayer",ArcGISImageServiceLayer:"ImageryLayer",ArcGISMapServiceLayer:"MapImageLayer",ArcGISSceneServiceLayer:"SceneLayer",ArcGISTiledElevationServiceLayer:"ElevationLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",BuildingSceneLayer:"BuildingSceneLayer",CatalogLayer:"CatalogLayer",CSV:"CSVLayer",DefaultTileLayer:"TileLayer",GeoJSON:"GeoJSONLayer",GroupLayer:"GroupLayer",IntegratedMesh3DTilesLayer:"IntegratedMesh3DTilesLayer",Object3DTilesLayer:"UnsupportedLayer",IntegratedMeshLayer:"IntegratedMeshLayer",KML:"KMLLayer",LineOfSightLayer:"LineOfSightLayer",MediaLayer:"MediaLayer",OGCFeatureLayer:"OGCFeatureLayer",OrientedImageryLayer:"OrientedImageryLayer",PointCloudLayer:"PointCloudLayer",RasterDataLayer:"UnsupportedLayer",VectorTileLayer:"VectorTileLayer",ViewshedLayer:"ViewshedLayer",Voxel:"VoxelLayer",WCS:"WCSLayer",WFS:"WFSLayer",WMS:"WMSLayer",WebTiledLayer:"WebTileLayer"},d={ArcGISTiledElevationServiceLayer:"ElevationLayer",DefaultTileLayer:"ElevationLayer",RasterDataElevationLayer:"UnsupportedLayer"},L={ArcGISFeatureLayer:"FeatureLayer"},f={ArcGISImageServiceLayer:"UnsupportedLayer",ArcGISMapServiceLayer:"UnsupportedLayer",ArcGISSceneServiceLayer:"SceneLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",DefaultTileLayer:"TileLayer",OpenStreetMap:"OpenStreetMapLayer",VectorTileLayer:"VectorTileLayer",WCS:"UnsupportedLayer",WMS:"UnsupportedLayer",WebTiledLayer:"WebTileLayer"},m={ArcGISAnnotationLayer:"UnsupportedLayer",ArcGISDimensionLayer:"UnsupportedLayer",ArcGISFeatureLayer:"FeatureLayer",ArcGISImageServiceLayer:"ImageryLayer",ArcGISImageServiceVectorLayer:"ImageryLayer",ArcGISMapServiceLayer:"MapImageLayer",ArcGISStreamLayer:"StreamLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",BingMapsAerial:"BingMapsLayer",BingMapsHybrid:"BingMapsLayer",BingMapsRoad:"BingMapsLayer",CatalogLayer:"CatalogLayer",CSV:"CSVLayer",DefaultTileLayer:"TileLayer",GeoJSON:"GeoJSONLayer",GeoRSS:"GeoRSSLayer",GroupLayer:"GroupLayer",KML:"KMLLayer",KnowledgeGraphLayer:"KnowledgeGraphLayer",MediaLayer:"MediaLayer",OGCFeatureLayer:"OGCFeatureLayer",OrientedImageryLayer:"OrientedImageryLayer",SubtypeGroupLayer:"SubtypeGroupLayer",VectorTileLayer:"VectorTileLayer",WCS:"WCSLayer",WFS:"WFSLayer",WMS:"WMSLayer",WebTiledLayer:"WebTileLayer"},p={ArcGISFeatureLayer:"FeatureLayer",SubtypeGroupTable:"SubtypeGroupLayer"},S={ArcGISImageServiceLayer:"ImageryLayer",ArcGISImageServiceVectorLayer:"ImageryLayer",ArcGISMapServiceLayer:"MapImageLayer",ArcGISTiledImageServiceLayer:"ImageryTileLayer",ArcGISTiledMapServiceLayer:"TileLayer",BingMapsAerial:"BingMapsLayer",BingMapsHybrid:"BingMapsLayer",BingMapsRoad:"BingMapsLayer",DefaultTileLayer:"TileLayer",OpenStreetMap:"OpenStreetMapLayer",VectorTileLayer:"VectorTileLayer",WCS:"WCSLayer",WMS:"WMSLayer",WebTiledLayer:"WebTileLayer"},w={...m,LinkChartLayer:"LinkChartLayer"},h={...p},g={...S};async function I(e,a){const r=a.context,t=T(r);let y=e.layerType||e.type;!y&&a?.defaultLayerType&&(y=a.defaultLayerType);const o=t[y];let u=o?i.S[o]:i.S.UnknownLayer;if(v(e)){const a=r?.portal;if(e.itemId){const r=new s.default({id:e.itemId,portal:a});await r.load();const t=(await(0,c.n)(r,new n.v)).className||"UnknownLayer";u=i.S[t]}}else"ArcGISFeatureLayer"===y?function(e){return l(e,"notes")}(e)||function(e){return l(e,"markup")}(e)?u=i.S.MapNotesLayer:function(e){return l(e,"route")}(e)?u=i.S.RouteLayer:b(e)&&(u=i.S.GroupLayer):e.wmtsInfo?.url&&e.wmtsInfo.layerIdentifier?u=i.S.WMTSLayer:"WFS"===y&&"2.0.0"!==e.wfsInfo?.version&&(u=i.S.UnsupportedLayer);return u()}function b(e){return"ArcGISFeatureLayer"===e.layerType&&!v(e)&&(e.featureCollection?.layers?.length??0)>1}function v(e){return"Feature Collection"===e.type}function T(e){let a;switch(e.origin){case"web-scene":switch(e.layerContainerType){case"basemap":a=f;break;case"ground":a=d;break;case"tables":a=L;break;default:a=u}break;case"link-chart":switch(e.layerContainerType){case"basemap":a=g;break;case"tables":a=h;break;default:a=w}break;default:switch(e.layerContainerType){case"basemap":a=S;break;case"tables":a=p;break;default:a=m}}return a}async function M(e,a,r){const n=new t.A,i=o(n,Array.isArray(a.layers)?a.layers:[],r);try{try{if(await i,"group"===e.type)return e.layers.addMany(n),e}catch(a){e.destroy();for(const e of n)e.destroy();throw a}}catch(e){throw e}}function G(e,a,r,t,n){e.read({id:`${a.id}-sublayer-${t}`,visibility:r.visibleLayers?.includes(t)??!0},n)}},92009:(e,a,r)=>{r.d(a,{L:()=>o});var t=r(70333),n=r(78888),i=r(49186),s=r(74887),l=r(60694),c=r(20655),y=r(80812);async function o(e,a){const r=(0,l.qg)(e);if(!r)throw new i.A("invalid-url","Invalid scene service url");const o={...a,sceneServerUrl:r.url.path,layerId:r.sublayer??void 0};if(o.sceneLayerItem??=await async function(e){const a=(await u(e)).serviceItemId;if(!a)return null;const r=new y.default({id:a,apiKey:e.apiKey}),i=await async function(e){const a=t.id?.findServerInfo(e.sceneServerUrl);if(a?.owningSystemUrl)return a.owningSystemUrl;const r=e.sceneServerUrl.replace(/(.*\/rest)\/.*/i,"$1")+"/info";try{const a=(await(0,n.A)(r,{query:{f:"json"},responseType:"json",signal:e.signal})).data.owningSystemUrl;if(a)return a}catch(e){(0,s.QP)(e)}return null}(e);null!=i&&(r.portal=new c.A({url:i}));try{return await r.load({signal:e.signal})}catch(e){return(0,s.QP)(e),null}}(o),null==o.sceneLayerItem)return d(o.sceneServerUrl.replace("/SceneServer","/FeatureServer"),o);const L=await async function({sceneLayerItem:e,signal:a}){if(!e)return null;try{const r=(await e.fetchRelatedItems({relationshipType:"Service2Service",direction:"reverse"},{signal:a})).find((e=>"Feature Service"===e.type))||null;if(!r)return null;const t=new y.default({portal:r.portal,id:r.id});return await t.load(),t}catch(e){return(0,s.QP)(e),null}}(o);if(!L?.url)throw new i.A("related-service-not-found","Could not find feature service through portal item relationship");o.featureServiceItem=L;const f=await d(L.url,o);return f.portalItem=L,f}async function u(e){if(e.rootDocument)return e.rootDocument;const a={query:{f:"json",...e.customParameters,token:e.apiKey},responseType:"json",signal:e.signal};try{const r=await(0,n.A)(e.sceneServerUrl,a);e.rootDocument=r.data}catch{e.rootDocument={}}return e.rootDocument}async function d(e,a){const r=(0,l.qg)(e);if(!r)throw new i.A("invalid-feature-service-url","Invalid feature service url");const t=r.url.path,s=a.layerId;if(null==s)return{serverUrl:t};const c=u(a),y=a.featureServiceItem?await a.featureServiceItem.fetchData("json"):null,o=(y?.layers?.[0]||y?.tables?.[0])?.customParameters,d=e=>{const r={query:{f:"json",...o},responseType:"json",authMode:e,signal:a.signal};return(0,n.A)(t,r)},L=d("anonymous").catch((()=>d("no-prompt"))),[f,m]=await Promise.all([L,c]),p=m?.layers,S=f.data&&f.data.layers;if(!Array.isArray(S))throw new Error("expected layers array");if(Array.isArray(p)){for(let e=0;e<Math.min(p.length,S.length);e++)if(p[e].id===s)return{serverUrl:t,layerId:S[e].id}}else if(null!=s&&s<S.length)return{serverUrl:t,layerId:S[s].id};throw new Error("could not find matching associated sublayer")}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4755,7136],{17136:(e,t,n)=>{n.d(t,{O7:()=>M,el:()=>k});var s=n(92602),r=n(49186),o=n(53966),i=n(39829),c=n(82799),l=n(80754),f=n(21325),a=n(28735),u=n(78888),p=n(65864),h=n(2272),g=n(84952),m=n(92300);const y=()=>o.A.getLogger("esri.geometry.support.normalizeUtils");function d(e){return"polygon"===e[0].type}function A(e){return"polyline"===e[0].type}function x(e,t,n){if(t){const t=function(e,t){if(!(e instanceof c.A||e instanceof i.A)){const e="straightLineDensify: the input geometry is neither polyline nor polygon";throw y().error(e),new r.A("internal:geometry",e)}const n=(0,l.r8)(e),s=[];for(const e of n){const n=[];s.push(n),n.push([e[0][0],e[0][1]]);for(let s=0;s<e.length-1;s++){const r=e[s][0],o=e[s][1],i=e[s+1][0],c=e[s+1][1],l=Math.sqrt((i-r)*(i-r)+(c-o)*(c-o)),f=(c-o)/l,a=(i-r)/l,u=l/t;if(u>1){for(let e=1;e<=u-1;e++){const s=e*t,i=a*s+r,c=f*s+o;n.push([i,c])}const e=(l+Math.floor(u-1)*t)/2,s=a*e+r,i=f*e+o;n.push([s,i])}n.push([i,c])}}return function(e){return"polygon"===e.type}(e)?new i.A({rings:s,spatialReference:e.spatialReference}):new c.A({paths:s,spatialReference:e.spatialReference})}(e,1e6);e=(0,a.ci)(t,!0)}return n&&(e=(0,l.kS)(e,n)),e}function w(e,t,n){if(Array.isArray(e)){const s=e[0];if(s>t){const n=(0,l.kd)(s,t);e[0]=s+n*(-2*t)}else if(s<n){const t=(0,l.kd)(s,n);e[0]=s+t*(-2*n)}}else{const s=e.x;if(s>t){const n=(0,l.kd)(s,t);e=e.clone().offset(n*(-2*t),0)}else if(s<n){const t=(0,l.kd)(s,n);e=e.clone().offset(t*(-2*n),0)}}return e}function R(e,t){let n=-1;for(let s=0;s<t.cutIndexes.length;s++){const r=t.cutIndexes[s],o=t.geometries[s],i=(0,l.r8)(o);for(let e=0;e<i.length;e++){const t=i[e];t.some((n=>{if(n[0]<180)return!0;{let n=0;for(let e=0;e<t.length;e++){const s=t[e][0];n=s>n?s:n}n=Number(n.toFixed(9));const s=-360*(0,l.kd)(n,180);for(let n=0;n<t.length;n++){const t=o.getPoint(e,n);o.setPoint(e,n,t.clone().offset(s,0))}return!0}}))}if(r===n){if(d(e))for(const t of(0,l.r8)(o))e[r]=e[r].addRing(t);else if(A(e))for(const t of(0,l.r8)(o))e[r]=e[r].addPath(t)}else n=r,e[r]=o}return e}async function k(e,t,n){if(!Array.isArray(e))return k([e],t);t&&"string"!=typeof t&&y().warn("normalizeCentralMeridian()","The url object is deprecated, use the url string instead");const r="string"==typeof t?t:t?.url??s.A.geometryServiceUrl;let o,d,A,M,b,S,X,j,L=0;const N=[],O=[];for(const t of e)if(null!=t)if(o||(o=t.spatialReference,d=(0,f.Vp)(o),A=o.isWebMercator,S=A?102100:4326,M=l.j7[S].maxX,b=l.j7[S].minX,X=l.j7[S].plus180Line,j=l.j7[S].minus180Line),d)if("mesh"===t.type)O.push(t);else if("point"===t.type)O.push(w(t.clone(),M,b));else if("multipoint"===t.type){const e=t.clone();e.points=e.points.map((e=>w(e,M,b))),O.push(e)}else if("extent"===t.type){const e=t.clone()._normalize(!1,!1,d);O.push(e.rings?new i.A(e):e)}else if(t.extent){const e=t.extent,n=(0,l.kd)(e.xmin,b)*(2*M);let s=0===n?t.clone():(0,l.kS)(t.clone(),n);e.offset(n,0);let{xmin:r,xmax:o}=e;r=Number(r.toFixed(9)),o=Number(o.toFixed(9)),e.intersects(X)&&o!==M?(L=o>L?o:L,s=x(s,A),N.push(s),O.push("cut")):e.intersects(j)&&r!==b?(L=o*(2*M)>L?o*(2*M):L,s=x(s,A,360),N.push(s),O.push("cut")):O.push(s)}else O.push(t.clone());else O.push(t);else O.push(t);let q=(0,l.kd)(L,M),v=-90;const C=q,G=new c.A;for(;q>0;){const e=360*q-180;G.addPath([[e,v],[e,-1*v]]),v*=-1,q--}if(N.length>0&&C>0){const t=R(N,await async function(e,t,n,s){const r=(0,h.Dl)(e),o=t[0].spatialReference,i={...s,responseType:"json",query:{...r.query,f:"json",sr:(0,f.YX)(o),target:JSON.stringify({geometryType:(0,p.$B)(t[0]),geometries:t}),cutter:JSON.stringify(n)}},c=await(0,u.A)(r.path+"/cut",i),{cutIndexes:l,geometries:a=[]}=c.data;return{cutIndexes:l,geometries:a.map((e=>{const t=(0,p.rS)(e);return t.spatialReference=o,t}))}}(r,N,G,n)),s=[],o=[];for(let n=0;n<O.length;n++){const r=O[n];if("cut"!==r)o.push(r);else{const r=t.shift(),i=e[n];null!=i&&"polygon"===i.type&&i.rings&&i.rings.length>1&&r.rings.length>=i.rings.length?(s.push(r),o.push("simplify")):o.push(A?(0,a.Gh)(r):r)}}if(!s.length)return o;const i=await async function(e,t,n){const s="string"==typeof e?(0,g.An)(e):e,r=t[0].spatialReference,o=(0,p.$B)(t[0]),i={...n,query:{...s.query,f:"json",sr:(0,f.YX)(r),geometries:JSON.stringify((0,m.X)(t))}},{data:c}=await(0,u.A)(s.path+"/simplify",i);return(0,m.V)(c.geometries,o,r)}(r,s,n),c=[];for(let e=0;e<o.length;e++){const t=o[e];"simplify"!==t?c.push(t):c.push(A?(0,a.Gh)(i.shift()):i.shift())}return c}const J=[];for(let e=0;e<O.length;e++){const t=O[e];if("cut"!==t)J.push(t);else{const e=N.shift();J.push(!0===A?(0,a.Gh)(e):e)}}return J}function M(e,t,n){const s=(0,f.Vp)(n);if(null==s)return e;const[r,o]=s.valid,i=2*o;let c=0,l=0;t>o?c=Math.ceil(Math.abs(t-o)/i):t<r&&(c=-Math.ceil(Math.abs(t-r)/i)),e>o?l=Math.ceil(Math.abs(e-o)/i):e<r&&(l=-Math.ceil(Math.abs(e-r)/i));let a=e+(c-l)*i;const u=a-t;return u>o?a-=i:u<r&&(a+=i),a}},80754:(e,t,n)=>{n.d(t,{j7:()=>i,kS:()=>l,kd:()=>c,r8:()=>f});var s=n(82799),r=n(16930),o=n(65864);const i={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new s.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator}),minus180Line:new s.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:r.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new s.A({paths:[[[180,-180],[180,180]]],spatialReference:r.A.WGS84}),minus180Line:new s.A({paths:[[[-180,-180],[-180,180]]],spatialReference:r.A.WGS84})}};function c(e,t){return Math.ceil((e-t)/(2*t))}function l(e,t){const n=f(e);for(const e of n)for(const n of e)n[0]+=t;return e}function f(e){return(0,o.Bi)(e)?e.rings:e.paths}},92300:(e,t,n)=>{n.d(t,{V:()=>o,X:()=>r});var s=n(65864);function r(e){return{geometryType:(0,s.$B)(e[0]),geometries:e.map((e=>e.toJSON()))}}function o(e,t,n){const r=(0,s.xD)(t);return e.map((e=>{const t=r.fromJSON(e);return t.spatialReference=n,t}))}}}]);