@arcgis/map-components 6.0.0-next.20 → 6.0.0-next.21

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 (342) hide show
  1. package/dist/cdn/{VQDXE456.js → 22RLIDCP.js} +1 -1
  2. package/dist/cdn/{CD2XIXN5.js → 27TSPXYV.js} +1 -1
  3. package/dist/cdn/{THIUS6HZ.js → 2GPVEWYM.js} +1 -1
  4. package/dist/cdn/{UHP6ZS6H.js → 2IBL2HKQ.js} +1 -1
  5. package/dist/cdn/{VYM3TR3Q.js → 2NM6UWC4.js} +1 -1
  6. package/dist/cdn/{CYUO2UNT.js → 2PLAZVGP.js} +1 -1
  7. package/dist/cdn/{M6COQWFB.js → 2RQGZLOJ.js} +1 -1
  8. package/dist/cdn/{AD2IA3IS.js → 2SQGIY7T.js} +1 -1
  9. package/dist/cdn/{R2KMEDRH.js → 2UAH624K.js} +1 -1
  10. package/dist/cdn/{C2YP473B.js → 2WJ53TNR.js} +1 -1
  11. package/dist/cdn/{IEZGQ2LC.js → 2YXWKKNB.js} +1 -1
  12. package/dist/cdn/{VTER7AQ2.js → 32526XJ7.js} +1 -1
  13. package/dist/cdn/{WQF3SS53.js → 34XDXFK6.js} +1 -1
  14. package/dist/cdn/3B4VHD67.js +2 -0
  15. package/dist/cdn/{LKMQHTBY.js → 3EXEL7AM.js} +1 -1
  16. package/dist/cdn/{MGQA3G43.js → 3GN3DAON.js} +1 -1
  17. package/dist/cdn/{AI3ETXGZ.js → 3MWXYWKR.js} +1 -1
  18. package/dist/cdn/{J7VECW7F.js → 3SXQLU4S.js} +1 -1
  19. package/dist/cdn/{WD4TPDI6.js → 3W7KESW7.js} +1 -1
  20. package/dist/cdn/{Y3S6WJN2.js → 43IGD6V3.js} +1 -1
  21. package/dist/cdn/{UKB45JOM.js → 4DPAOAMZ.js} +1 -1
  22. package/dist/cdn/{YAVRBZ5C.js → 4FFEPX2D.js} +1 -1
  23. package/dist/cdn/{IZKG2DP3.js → 4H2REMNG.js} +1 -1
  24. package/dist/cdn/{VHYR3UPY.js → 4I6F64B2.js} +1 -1
  25. package/dist/cdn/{DUKK2PHD.js → 4IG6WUCI.js} +1 -1
  26. package/dist/cdn/4LNXCEM5.js +2 -0
  27. package/dist/cdn/4LO7PNX7.js +2 -0
  28. package/dist/cdn/{ALZFPS2D.js → 4P4NKBQC.js} +1 -1
  29. package/dist/cdn/{SQI6CU3W.js → 4PDZTEB2.js} +1 -1
  30. package/dist/cdn/{LPXSF4M6.js → 4WZZZTT5.js} +1 -1
  31. package/dist/cdn/{XSEDC76K.js → 55VX76T5.js} +1 -1
  32. package/dist/cdn/{UBCDF55B.js → 57LPG3BE.js} +1 -1
  33. package/dist/cdn/{6BMZP72L.js → 5A7LDBDR.js} +1 -1
  34. package/dist/cdn/{6NCZTAOF.js → 5DN4ONEW.js} +1 -1
  35. package/dist/cdn/{YMAEN7NR.js → 5FBHHKRV.js} +1 -1
  36. package/dist/cdn/{DYUFBVXE.js → 5GFPOTOB.js} +1 -1
  37. package/dist/cdn/{LL3DXDKE.js → 5V6BNJ5O.js} +1 -1
  38. package/dist/cdn/{QABRDQFJ.js → 5V6K43GW.js} +1 -1
  39. package/dist/cdn/{GD4XR5XA.js → 5XZKVLHC.js} +1 -1
  40. package/dist/cdn/{F2EOAAKS.js → 62OAO327.js} +1 -1
  41. package/dist/cdn/{3YQDH3QT.js → 6DRXFSTW.js} +1 -1
  42. package/dist/cdn/{YFYFQWXG.js → 6G5QADEG.js} +1 -1
  43. package/dist/cdn/{4IJC4V6Z.js → 6HDYZ7WW.js} +1 -1
  44. package/dist/cdn/6KYZMT4A.js +2 -0
  45. package/dist/cdn/{XNHTHY3W.js → 6QWLMG5M.js} +1 -1
  46. package/dist/cdn/{NEQJAZLZ.js → 6WFVZM5S.js} +1 -1
  47. package/dist/cdn/{HJZRNUBU.js → 6Y7Q7GRB.js} +1 -1
  48. package/dist/cdn/{D7T33U5Z.js → 74PUSJU5.js} +1 -1
  49. package/dist/cdn/{H7QBBTTP.js → 7EIN5VCY.js} +1 -1
  50. package/dist/cdn/{KQZYGYQO.js → 7EKBNXGL.js} +1 -1
  51. package/dist/cdn/7ILT5PDJ.js +2 -0
  52. package/dist/cdn/{IU7BOICX.js → 7JK4JGPG.js} +1 -1
  53. package/dist/cdn/{KRJCOTGC.js → 7JPHMESH.js} +1 -1
  54. package/dist/cdn/{XCHCC6HT.js → 7LO6ACC7.js} +1 -1
  55. package/dist/cdn/{P7XX5RSZ.js → 7V7LQ35Q.js} +1 -1
  56. package/dist/cdn/{27HLXBPP.js → 7Y4SF2NT.js} +1 -1
  57. package/dist/cdn/{XFPFS6PS.js → 7Y6PADB5.js} +1 -1
  58. package/dist/cdn/{CYXNSUYF.js → 7ZWBGSCM.js} +1 -1
  59. package/dist/cdn/{OLEUR4YB.js → A5IFDSOU.js} +1 -1
  60. package/dist/cdn/{5FA37EZ6.js → AHWBCZBO.js} +1 -1
  61. package/dist/cdn/{4EGKJPJ2.js → AKGUTL2V.js} +1 -1
  62. package/dist/cdn/AMRGLUBB.js +2 -0
  63. package/dist/cdn/{RQ2MM3DQ.js → AOGDXJ2J.js} +1 -1
  64. package/dist/cdn/ARN5ZKLI.js +2 -0
  65. package/dist/cdn/{KLY36SOM.js → AUP633OS.js} +1 -1
  66. package/dist/cdn/{JCCTYIZ2.js → B2TICPHR.js} +1 -1
  67. package/dist/cdn/{CI6VWQ63.js → BDZHLGVT.js} +1 -1
  68. package/dist/cdn/{H6SIAY6D.js → BFYJTV6Q.js} +1 -1
  69. package/dist/cdn/{7NB627L5.js → BJ35LPCU.js} +1 -1
  70. package/dist/cdn/{66RQ6K6J.js → BJI5DVB5.js} +1 -1
  71. package/dist/cdn/{5Y45LLBY.js → BJJZGYBG.js} +1 -1
  72. package/dist/cdn/{EPNWPJZ6.js → BLYXYNGB.js} +1 -1
  73. package/dist/cdn/{F4AJCUZ6.js → BOPNSNUT.js} +1 -1
  74. package/dist/cdn/{LMI7MLKS.js → BUH3AQ7E.js} +1 -1
  75. package/dist/cdn/{Y7ILKQZU.js → BVRQWRKX.js} +1 -1
  76. package/dist/cdn/{JSHCS4Y6.js → C6K7TZ27.js} +1 -1
  77. package/dist/cdn/{2ZNQABOI.js → CLICUS2A.js} +1 -1
  78. package/dist/cdn/{2JOUXCA5.js → COSETVX4.js} +1 -1
  79. package/dist/cdn/{EBQ537XN.js → CWCVAPXD.js} +1 -1
  80. package/dist/cdn/{YCQWS3JT.js → CXXBV6RJ.js} +1 -1
  81. package/dist/cdn/{YR4YEJ2N.js → DCO26B7J.js} +1 -1
  82. package/dist/cdn/{KV5K3ATE.js → DDGUDJJZ.js} +1 -1
  83. package/dist/cdn/{ASHCHM4V.js → DEW5IWND.js} +1 -1
  84. package/dist/cdn/{OBQUHPHJ.js → DFNH6YRR.js} +1 -1
  85. package/dist/cdn/{DE4OSJG5.js → DFTYQJWJ.js} +1 -1
  86. package/dist/cdn/{ZOLOOVHX.js → DFZ22GLY.js} +1 -1
  87. package/dist/cdn/{R3VD3PEO.js → DGSTI5DI.js} +1 -1
  88. package/dist/cdn/{5JRZJANG.js → DS6EUOYE.js} +1 -1
  89. package/dist/cdn/{ZDLHDQCX.js → DWPXOIRF.js} +1 -1
  90. package/dist/cdn/{2T3ALADJ.js → DZIJPJS3.js} +1 -1
  91. package/dist/cdn/{6DDIOOI6.js → E6ZXXC74.js} +1 -1
  92. package/dist/cdn/{RTZG4WTI.js → EB4V6SPF.js} +1 -1
  93. package/dist/cdn/{EXSZCSCL.js → ECUVJOIW.js} +1 -1
  94. package/dist/cdn/{M6CSJLXC.js → ED2T4ASN.js} +1 -1
  95. package/dist/cdn/{LB52TH7O.js → EP27GLNL.js} +1 -1
  96. package/dist/cdn/{BE5M3N7T.js → EXB4CY2Y.js} +1 -1
  97. package/dist/cdn/{QMH2OBF6.js → EZHYSI6R.js} +1 -1
  98. package/dist/cdn/{RUMWDBIU.js → F2DTKJTK.js} +1 -1
  99. package/dist/cdn/{NU75HQA2.js → F74YQZ2X.js} +1 -1
  100. package/dist/cdn/{DIXSGC2P.js → FDESUDJ5.js} +1 -1
  101. package/dist/cdn/{BWM4ZVN7.js → FGU7NUST.js} +1 -1
  102. package/dist/cdn/{KQDXSX5Y.js → FH6Q5A5L.js} +1 -1
  103. package/dist/cdn/{Z24QDG3E.js → FMLDKHWP.js} +2 -2
  104. package/dist/cdn/{7EIWYGE2.js → FOKE5ILO.js} +1 -1
  105. package/dist/cdn/{WALR7J3I.js → FQ3ZJA4Q.js} +1 -1
  106. package/dist/cdn/{QYOTQQAL.js → FZGMIIBX.js} +1 -1
  107. package/dist/cdn/{DQSP4RFL.js → G2ACNJGG.js} +1 -1
  108. package/dist/cdn/{6S6CZJKN.js → G2PLGAUY.js} +1 -1
  109. package/dist/cdn/{X5WMEO4X.js → G56N6RF4.js} +1 -1
  110. package/dist/cdn/{CESPPRYQ.js → GEOME3IC.js} +1 -1
  111. package/dist/cdn/{WV2GLDRQ.js → GFC6LS4L.js} +1 -1
  112. package/dist/cdn/{WNRWNZGL.js → GKNGEZCO.js} +1 -1
  113. package/dist/cdn/{SW6UOJIE.js → GPYZM5CC.js} +1 -1
  114. package/dist/cdn/{U7FYQAUZ.js → GQQTIX2X.js} +1 -1
  115. package/dist/cdn/{KM7PWRG2.js → H4BTVLCG.js} +1 -1
  116. package/dist/cdn/{M76PF7SP.js → HLOH2QPV.js} +1 -1
  117. package/dist/cdn/{C6XAWMZK.js → I52P5EXK.js} +1 -1
  118. package/dist/cdn/{TTGQ4Y7X.js → IFLDLAK4.js} +1 -1
  119. package/dist/cdn/{XYEUSNMJ.js → IN7TMVRK.js} +1 -1
  120. package/dist/cdn/{IAIVTB2Q.js → IOUO7KBT.js} +1 -1
  121. package/dist/cdn/{LXLZB2JC.js → IZFEOYED.js} +1 -1
  122. package/dist/cdn/{L4HKKYNC.js → JBD7Q5YD.js} +1 -1
  123. package/dist/cdn/{GWXQ6CHV.js → JN6RVFAM.js} +1 -1
  124. package/dist/cdn/{RYQW6GPV.js → JUOOKKZJ.js} +1 -1
  125. package/dist/cdn/{NY7PPWFQ.js → JUYPQUPQ.js} +1 -1
  126. package/dist/cdn/{35EYUDTJ.js → KAG4QZ7K.js} +1 -1
  127. package/dist/cdn/{OFBCNFBW.js → KE2ER3F7.js} +1 -1
  128. package/dist/cdn/{AA4RF7H6.js → KIHYSYOL.js} +1 -1
  129. package/dist/cdn/{IQ4ADF3I.js → KIWV2RIN.js} +1 -1
  130. package/dist/cdn/{3ZFHZPWM.js → KXD4VEKE.js} +1 -1
  131. package/dist/cdn/{SDMJGSR7.js → L4WLEN3C.js} +1 -1
  132. package/dist/cdn/{STOPSNWH.js → L5XC4FXT.js} +1 -1
  133. package/dist/cdn/{AXJE2SZV.js → L6FLCEH6.js} +1 -1
  134. package/dist/cdn/{BRGIHQI3.js → LILX2DJE.js} +1 -1
  135. package/dist/cdn/{ZN52ACGS.js → LKGURYDH.js} +1 -1
  136. package/dist/cdn/{CEW6QJGT.js → LRH4FKHU.js} +1 -1
  137. package/dist/cdn/{BNZFCSS2.js → LSLTIN2Q.js} +1 -1
  138. package/dist/cdn/{BK2UM27Y.js → LTFGTX7S.js} +1 -1
  139. package/dist/cdn/{T2UN4CJT.js → LUW2PXWZ.js} +1 -1
  140. package/dist/cdn/{QFWFBHIF.js → LWVYNWD5.js} +1 -1
  141. package/dist/cdn/{NIMNZJJZ.js → LXHZGIW5.js} +1 -1
  142. package/dist/cdn/{TJC7VHRZ.js → LXJURAXP.js} +1 -1
  143. package/dist/cdn/{3XEUTP6J.js → M37TWKYP.js} +1 -1
  144. package/dist/cdn/{SMRY445Z.js → M3CIFZFR.js} +1 -1
  145. package/dist/cdn/{5P7WPXOY.js → M5OK7RKI.js} +1 -1
  146. package/dist/cdn/{RLYKTTAI.js → M7MRLBZA.js} +1 -1
  147. package/dist/cdn/{QYYYQIAI.js → MA2DWIGR.js} +1 -1
  148. package/dist/cdn/{6XODSQWR.js → MBLS5ES4.js} +1 -1
  149. package/dist/cdn/{EVQL7FMR.js → MDS3NVWM.js} +1 -1
  150. package/dist/cdn/{K7OB5AHB.js → MGH6EHT7.js} +1 -1
  151. package/dist/cdn/{OT43XHBV.js → MNL7ONFB.js} +1 -1
  152. package/dist/cdn/{FNJBBQT5.js → N4D5I6Y4.js} +1 -1
  153. package/dist/cdn/{5RCFYMHK.js → NHMHVWNB.js} +1 -1
  154. package/dist/cdn/{XDQ6UHVN.js → NKFAPBY3.js} +1 -1
  155. package/dist/cdn/{LDC5FSWA.js → NQ3COROI.js} +1 -1
  156. package/dist/cdn/{454VHWQQ.js → NTHSQXKG.js} +1 -1
  157. package/dist/cdn/{5VXEMMLV.js → NTT5IV4A.js} +1 -1
  158. package/dist/cdn/{7QA26M4F.js → NZQLQGTQ.js} +1 -1
  159. package/dist/cdn/{UJLIKFS6.js → O46PVNMT.js} +1 -1
  160. package/dist/cdn/{AWB7XOHF.js → O5HQ5YZK.js} +1 -1
  161. package/dist/cdn/{FFVPO4JB.js → OJJSIN3V.js} +1 -1
  162. package/dist/cdn/{U7WRQCRV.js → OLY5EME5.js} +1 -1
  163. package/dist/cdn/{D6GJRZJV.js → ONYCZO7Y.js} +1 -1
  164. package/dist/cdn/{TIUFHDP2.js → OQ6SYZBT.js} +1 -1
  165. package/dist/cdn/{4EHW2LXW.js → ORVSAF3Z.js} +1 -1
  166. package/dist/cdn/{AVLV4PPI.js → OZF64H7N.js} +1 -1
  167. package/dist/cdn/P3565WG3.js +2 -0
  168. package/dist/cdn/{5EBCPTE5.js → P65FMRMP.js} +1 -1
  169. package/dist/cdn/{AB74IWXX.js → PCXDOSKQ.js} +1 -1
  170. package/dist/cdn/{B7D5ZTB2.js → PFSIUSDJ.js} +1 -1
  171. package/dist/cdn/{I3FQUA77.js → PHVKEWZ7.js} +1 -1
  172. package/dist/cdn/{XX6G24PV.js → PKYYNRBS.js} +1 -1
  173. package/dist/cdn/{7IGSTLKW.js → PQ7NUE5C.js} +2 -2
  174. package/dist/cdn/{M2HYKS62.js → PRUHLC54.js} +1 -1
  175. package/dist/cdn/{RSNXBYXL.js → PXDX3LCI.js} +1 -1
  176. package/dist/cdn/PYBUTNHM.js +2 -0
  177. package/dist/cdn/Q6RSVQNE.js +2 -0
  178. package/dist/cdn/{GIBXI44G.js → Q7GF26CL.js} +1 -1
  179. package/dist/cdn/{QPHKPPYM.js → QAOT2TJ6.js} +1 -1
  180. package/dist/cdn/{MRCZ6R25.js → QET5SVDO.js} +1 -1
  181. package/dist/cdn/QKGJVGXJ.js +2 -0
  182. package/dist/cdn/{KIFEVB5D.js → QUPDTNAC.js} +1 -1
  183. package/dist/cdn/{OISNNHIG.js → QVJ2FUNW.js} +1 -1
  184. package/dist/cdn/{NR2RFSZB.js → QZVF23GH.js} +1 -1
  185. package/dist/cdn/{XOOSPWUF.js → RBRDUDEY.js} +1 -1
  186. package/dist/cdn/{7465ANAR.js → REB4CHAK.js} +1 -1
  187. package/dist/cdn/{F2QSG3HU.js → RINX3CTL.js} +1 -1
  188. package/dist/cdn/{YNMIPIKK.js → S4L4V6FJ.js} +1 -1
  189. package/dist/cdn/{4JL3FLRV.js → SAQ5BNZJ.js} +1 -1
  190. package/dist/cdn/{R5DBF7SZ.js → SDLZ4BNM.js} +1 -1
  191. package/dist/cdn/{SBYVR52H.js → SI2DEXWH.js} +1 -1
  192. package/dist/cdn/{UQLRFL2S.js → SIT5NBLS.js} +1 -1
  193. package/dist/cdn/{GCTF7CS7.js → SJGQALDG.js} +1 -1
  194. package/dist/cdn/{XYQWC4QA.js → SJGWHUCR.js} +1 -1
  195. package/dist/cdn/{QE7SN2DZ.js → SKAZPI3A.js} +1 -1
  196. package/dist/cdn/{ZNAOFUAU.js → SU2SAOBL.js} +1 -1
  197. package/dist/cdn/{CBAI4VLY.js → SXW4GFL3.js} +1 -1
  198. package/dist/cdn/{IU5QHF6T.js → T3MDSQ3T.js} +1 -1
  199. package/dist/cdn/T4Z2B3T7.js +2 -0
  200. package/dist/cdn/{WTRZ6OZV.js → TDYIVFVF.js} +1 -1
  201. package/dist/cdn/{YECZWYQZ.js → TKD5T5DW.js} +1 -1
  202. package/dist/cdn/{RQT2PVDJ.js → U77WHUC6.js} +1 -1
  203. package/dist/cdn/{PVAKLYII.js → UE6EBLH3.js} +1 -1
  204. package/dist/cdn/{UJYW2LBF.js → UFDB6U6V.js} +1 -1
  205. package/dist/cdn/{2CV4EHYO.js → UFK7DHVC.js} +1 -1
  206. package/dist/cdn/{SQXGDXHV.js → UHDJ2SI5.js} +1 -1
  207. package/dist/cdn/{3POODM7N.js → UI4IEVSV.js} +1 -1
  208. package/dist/cdn/{QCYQNVPL.js → UKIVMO7H.js} +1 -1
  209. package/dist/cdn/{YSE67FR2.js → UPCWZNTA.js} +1 -1
  210. package/dist/cdn/{RVJKTOGT.js → UR3Z5YHW.js} +1 -1
  211. package/dist/cdn/{DAZLYCHV.js → UVAUYBWF.js} +1 -1
  212. package/dist/cdn/{VIMOA3H7.js → UVPQKV5P.js} +1 -1
  213. package/dist/cdn/{3ND2HQVC.js → UYAOMCP7.js} +1 -1
  214. package/dist/cdn/UYDXI4AK.js +4 -0
  215. package/dist/cdn/{T2ONRGQX.js → V4AT7ENI.js} +1 -1
  216. package/dist/cdn/{5UF6YKFN.js → V4JCZIP5.js} +1 -1
  217. package/dist/cdn/{H22SGLVH.js → V7DMA5ZO.js} +1 -1
  218. package/dist/cdn/{AFYLXNX3.js → VEV3AAVP.js} +1 -1
  219. package/dist/cdn/{6IF5KBOJ.js → VHZM25YV.js} +1 -1
  220. package/dist/cdn/{5T4TPTPA.js → VKO3CVBS.js} +1 -1
  221. package/dist/cdn/{FUJYJKDU.js → VLHURRRU.js} +1 -1
  222. package/dist/cdn/{HKB7SRFI.js → VM5QVCMC.js} +1 -1
  223. package/dist/cdn/{JVC5XNYJ.js → VPDDFGYQ.js} +1 -1
  224. package/dist/cdn/{3TGVVG6M.js → VWUH2VUY.js} +1 -1
  225. package/dist/cdn/{3VB6M2GX.js → VWW5GBIK.js} +1 -1
  226. package/dist/cdn/{3SZ3FE66.js → W4GNRGIN.js} +1 -1
  227. package/dist/cdn/{ERULVBEV.js → WG5PHRPT.js} +1 -1
  228. package/dist/cdn/{KWPVYPJ5.js → WKI4XW7G.js} +1 -1
  229. package/dist/cdn/WTAAQHO3.js +2 -0
  230. package/dist/cdn/{BKSKZ6W6.js → WUWF6ZDM.js} +1 -1
  231. package/dist/cdn/{CYH72IDQ.js → WVKMYNN7.js} +1 -1
  232. package/dist/cdn/{64TOY3PA.js → WW7YOPDY.js} +1 -1
  233. package/dist/cdn/{TTDOASDI.js → XLB473BN.js} +1 -1
  234. package/dist/cdn/XLZB6JMZ.js +2 -0
  235. package/dist/cdn/{CUFP5Q3Z.js → XO7X6L4B.js} +1 -1
  236. package/dist/cdn/{JPFLHUNR.js → XPBFBRSY.js} +1 -1
  237. package/dist/cdn/{MWFZNICV.js → XTCYIS4Z.js} +1 -1
  238. package/dist/cdn/{BT755NSP.js → XYAJT7LP.js} +1 -1
  239. package/dist/cdn/{NHGQ7T4H.js → Y3E2FJPQ.js} +1 -1
  240. package/dist/cdn/Y4C7JJCJ.js +2 -0
  241. package/dist/cdn/{VLGRGILZ.js → Y6NC7ML3.js} +1 -1
  242. package/dist/cdn/{4NW2V4RQ.js → Y7IM3OFU.js} +1 -1
  243. package/dist/cdn/{FTFHL3EA.js → Y7XSHXVA.js} +1 -1
  244. package/dist/cdn/YAWLVMV6.js +2 -0
  245. package/dist/cdn/{SNGKRGPF.js → YBJ6ZAPO.js} +1 -1
  246. package/dist/cdn/{ZMXN6PZS.js → YBSEIOQX.js} +1 -1
  247. package/dist/cdn/{2C4EHM32.js → YBXCTOS7.js} +1 -1
  248. package/dist/cdn/{BPNUA7MC.js → YC7VLNKI.js} +1 -1
  249. package/dist/cdn/{FUSAMFLS.js → YDILFOHE.js} +1 -1
  250. package/dist/cdn/{7CHCF6IX.js → YEKQVWF5.js} +1 -1
  251. package/dist/cdn/{H6KJMGY6.js → YJROHURO.js} +1 -1
  252. package/dist/cdn/{LOF4XAJZ.js → YYCTSS52.js} +1 -1
  253. package/dist/cdn/{CG7BTPM3.js → Z42MH42I.js} +1 -1
  254. package/dist/cdn/{ID3UU7QE.js → Z6NHKWWS.js} +1 -1
  255. package/dist/cdn/{4XEZYOW7.js → ZC5YVHZ3.js} +1 -1
  256. package/dist/cdn/{SNEMD7IN.js → ZE4UHSTB.js} +1 -1
  257. package/dist/cdn/{HS2TQPAG.js → ZH3MW6H3.js} +1 -1
  258. package/dist/cdn/{BSTT6ICQ.js → ZJPYW3TN.js} +1 -1
  259. package/dist/cdn/{L726CUBZ.js → ZKKZQVJT.js} +1 -1
  260. package/dist/cdn/{4IQJMQQZ.js → ZNV3M5P2.js} +1 -1
  261. package/dist/cdn/index.js +1 -1
  262. package/dist/components/arcgis-elevation-profile/customElement.js +14 -20
  263. package/dist/components/arcgis-features-next/customElement.d.ts +2 -2
  264. package/dist/components/arcgis-features-next/customElement.js +27 -20
  265. package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -0
  266. package/dist/components/arcgis-floor-filter/customElement.js +3 -3
  267. package/dist/components/arcgis-floor-filter/interfaces.d.ts +72 -0
  268. package/dist/components/arcgis-sketch/customElement.js +394 -204
  269. package/dist/components/arcgis-sketch/toolbar-sizing-controller.d.ts +96 -0
  270. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +8 -0
  271. package/dist/components/arcgis-time-bar-slider/customElement.js +35 -35
  272. package/dist/docs/api.json +1 -1
  273. package/dist/docs/docs.json +1 -1
  274. package/dist/docs/vscode.html-custom-data.json +1 -1
  275. package/dist/docs/web-types.json +1 -1
  276. package/dist/index.d.ts +6 -0
  277. package/dist/loader.js +1 -1
  278. package/dist/types/lumina.d.ts +3 -1
  279. package/dist/types/preact.d.ts +3 -1
  280. package/dist/types/react.d.ts +3 -1
  281. package/dist/types/stencil.d.ts +3 -1
  282. package/package.json +7 -7
  283. package/dist/cdn/3SX4JMXA.js +0 -2
  284. package/dist/cdn/4CLSMFD2.js +0 -2
  285. package/dist/cdn/7FA44B44.js +0 -2
  286. package/dist/cdn/ATLQSGEK.js +0 -2
  287. package/dist/cdn/ELAKAKPE.js +0 -2
  288. package/dist/cdn/EVJFKABL.js +0 -4
  289. package/dist/cdn/EWM5PERI.js +0 -2
  290. package/dist/cdn/GBJY4A36.js +0 -2
  291. package/dist/cdn/HWRPCOVE.js +0 -2
  292. package/dist/cdn/M4M3QTI4.js +0 -2
  293. package/dist/cdn/O7ZXS622.js +0 -2
  294. package/dist/cdn/SIXKHDVJ.js +0 -2
  295. package/dist/cdn/TFXSKVB7.js +0 -2
  296. package/dist/cdn/TWPVYHJG.js +0 -2
  297. package/dist/cdn/VBSWB2VR.js +0 -2
  298. package/dist/cdn/W472ZYUY.js +0 -2
  299. package/dist/cdn/ZIQRARXE.js +0 -2
  300. /package/dist/cdn/{PBXO27K2.js → 2P5AJORF.js} +0 -0
  301. /package/dist/cdn/{GGUWUNUA.js → 4LWSF6AI.js} +0 -0
  302. /package/dist/cdn/{VCJ6M3PX.js → 5GGAWGSN.js} +0 -0
  303. /package/dist/cdn/{FIYZBOAN.js → 5GTPIPN7.js} +0 -0
  304. /package/dist/cdn/{BP7H6IBX.js → 62HMPABL.js} +0 -0
  305. /package/dist/cdn/{KZUUBMYO.js → 6SL7YNKF.js} +0 -0
  306. /package/dist/cdn/{7SDUVBEL.js → 7YT5W57B.js} +0 -0
  307. /package/dist/cdn/{X5RVRRKO.js → AKTIOEYM.js} +0 -0
  308. /package/dist/cdn/{LFSVKJXI.js → AYQJ2LTV.js} +0 -0
  309. /package/dist/cdn/{S5MD2X3H.js → CHMBPPHS.js} +0 -0
  310. /package/dist/cdn/{Z66I2FAE.js → DLUFAV4S.js} +0 -0
  311. /package/dist/cdn/{VWHNYGBM.js → DPEWQQEB.js} +0 -0
  312. /package/dist/cdn/{PSD74QRS.js → ECA47Z37.js} +0 -0
  313. /package/dist/cdn/{ZUYPKJYL.js → FJMXBIN5.js} +0 -0
  314. /package/dist/cdn/{DRD2FAEC.js → G4IKO2R6.js} +0 -0
  315. /package/dist/cdn/{GE4QV5JC.js → GCPR7XFU.js} +0 -0
  316. /package/dist/cdn/{DQDUD556.js → IAYL44LK.js} +0 -0
  317. /package/dist/cdn/{CEVISDMV.js → IRFIHD5X.js} +0 -0
  318. /package/dist/cdn/{DQRQZK5Y.js → KOMTNQPT.js} +0 -0
  319. /package/dist/cdn/{MPIIQAQO.js → LS4U4GD5.js} +0 -0
  320. /package/dist/cdn/{6LUCQLB7.js → LVIYMA67.js} +0 -0
  321. /package/dist/cdn/{WQIIAMYV.js → MEISDI2H.js} +0 -0
  322. /package/dist/cdn/{V3HQQ6TJ.js → N2YWWQOS.js} +0 -0
  323. /package/dist/cdn/{ENHMLZOY.js → NVKOZL7X.js} +0 -0
  324. /package/dist/cdn/{SIIF27TS.js → NVN2CATF.js} +0 -0
  325. /package/dist/cdn/{JAH2AKJ5.js → OFBWNR54.js} +0 -0
  326. /package/dist/cdn/{AKAOYYJ7.js → OLSESBZ7.js} +0 -0
  327. /package/dist/cdn/{SFMD5PPC.js → PWZHB6VD.js} +0 -0
  328. /package/dist/cdn/{UN65FKRA.js → QWMDZDQA.js} +0 -0
  329. /package/dist/cdn/{23L5GSFN.js → RTDY3HLR.js} +0 -0
  330. /package/dist/cdn/{MGE3J5KE.js → SFDCS6A2.js} +0 -0
  331. /package/dist/cdn/{ONSMVZAM.js → SLNXNVPI.js} +0 -0
  332. /package/dist/cdn/{DWQQDLIU.js → SLQPDAGN.js} +0 -0
  333. /package/dist/cdn/{EGD2CSA7.js → T34W3GKP.js} +0 -0
  334. /package/dist/cdn/{PST64E7E.js → TP2KQRW6.js} +0 -0
  335. /package/dist/cdn/{33LESQ6T.js → UDXDE3LW.js} +0 -0
  336. /package/dist/cdn/{ZQL4CTJK.js → XCSF7KJK.js} +0 -0
  337. /package/dist/cdn/{V7OBQRSG.js → XGWYQ7FU.js} +0 -0
  338. /package/dist/cdn/{P3ZJLVKC.js → XQ2WXTW7.js} +0 -0
  339. /package/dist/cdn/{TT57O767.js → ZCL4XHIZ.js} +0 -0
  340. /package/dist/cdn/{T5XVILYA.js → ZHYXFOYU.js} +0 -0
  341. /package/dist/cdn/{ZO5WNVFD.js → ZNIMZP5R.js} +0 -0
  342. /package/dist/cdn/{ITRBNYSS.js → ZSKO7HLH.js} +0 -0
@@ -1,4 +1,4 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- var J=globalThis,Y=J.ShadowRoot&&(J.ShadyCSS===void 0||J.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vt=Symbol(),kt=new WeakMap,I=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==vt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Y&&t===void 0){let o=e!==void 0&&e.length===1;o&&(t=kt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&kt.set(e,t))}return t}toString(){return this.cssText}},jt=s=>new I(typeof s=="string"?s:s+"",void 0,vt),Et=(s,...t)=>{let e=s.length===1?s[0]:t.reduce((o,r,n)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+s[n+1],s[0]);return new I(e,s,vt)},Ht=(s,t)=>{if(Y)s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let o=document.createElement("style"),r=J.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=e.cssText,s.appendChild(o)}},$t=Y?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(let o of t.cssRules)e+=o.cssText;return jt(e)})(s):s;var{is:we,defineProperty:Oe,getOwnPropertyDescriptor:Te,getOwnPropertyNames:Se,getOwnPropertySymbols:Pe,getPrototypeOf:xe}=Object,X=globalThis,zt=X.trustedTypes,Ne=zt?zt.emptyScript:"",De=X.reactiveElementPolyfillSupport,M=(s,t)=>s,Z={toAttribute(s,t){switch(t){case Boolean:s=s?Ne:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},k=(s,t)=>!we(s,t),Vt={attribute:!0,type:String,converter:Z,reflect:!1,useDefault:!1,hasChanged:k};Symbol.metadata??=Symbol("metadata"),X.litPropertyMetadata??=new WeakMap;var b=class 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=Vt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let o=Symbol(),r=this.getPropertyDescriptor(t,o,e);r!==void 0&&Oe(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){let{get:r,set:n}=Te(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:r,set(i){let a=r?.call(this);n?.call(this,i),this.requestUpdate(t,a,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Vt}static _$Ei(){if(this.hasOwnProperty(M("elementProperties")))return;let t=xe(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(M("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(M("properties"))){let e=this.properties,o=[...Se(e),...Pe(e)];for(let r of o)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[o,r]of e)this.elementProperties.set(o,r)}this._$Eh=new Map;for(let[e,o]of this.elementProperties){let r=this._$Eu(e,o);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let r of o)e.unshift($t(r))}else t!==void 0&&e.push($t(t));return e}static _$Eu(t,e){let o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?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),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ht(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,o){this._$AK(t,o)}_$ET(t,e){let o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(r!==void 0&&o.reflect===!0){let n=(o.converter?.toAttribute!==void 0?o.converter:Z).toAttribute(e,o.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){let o=this.constructor,r=o._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let n=o.getPropertyOptions(r),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:Z;this._$Em=r;let a=i.fromAttribute(e,n.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,o,r=!1,n){if(t!==void 0){let i=this.constructor;if(r===!1&&(n=this[t]),o??=i.getPropertyOptions(t),!((o.hasChanged??k)(n,e)||o.useDefault&&o.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,o))))return;this.C(t,e,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:o,reflect:r,wrapped:n},i){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),n!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,n]of this._$Ep)this[r]=n;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[r,n]of o){let{wrapped:i}=n,a=this[r];i!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,n,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(e)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[M("elementProperties")]=new Map,b[M("finalized")]=new Map,De?.({ReactiveElement:b}),(X.reactiveElementVersions??=[]).push("2.1.2");var At=globalThis,Bt=s=>s,tt=At.trustedTypes,Wt=tt?tt.createPolicy("lit-html",{createHTML:s=>s}):void 0,_t="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,Ct="?"+A,Le=`<${Ct}>`,O=document,H=()=>O.createComment(""),z=s=>s===null||typeof s!="object"&&typeof s!="function",wt=Array.isArray,Jt=s=>wt(s)||typeof s?.[Symbol.iterator]=="function",bt=`[
2
+ var J=globalThis,Y=J.ShadowRoot&&(J.ShadyCSS===void 0||J.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vt=Symbol(),kt=new WeakMap,I=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==vt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Y&&t===void 0){let o=e!==void 0&&e.length===1;o&&(t=kt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&kt.set(e,t))}return t}toString(){return this.cssText}},jt=s=>new I(typeof s=="string"?s:s+"",void 0,vt),Et=(s,...t)=>{let e=s.length===1?s[0]:t.reduce((o,r,n)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+s[n+1],s[0]);return new I(e,s,vt)},Ht=(s,t)=>{if(Y)s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let o=document.createElement("style"),r=J.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=e.cssText,s.appendChild(o)}},$t=Y?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(let o of t.cssRules)e+=o.cssText;return jt(e)})(s):s;var{is:we,defineProperty:Oe,getOwnPropertyDescriptor:Te,getOwnPropertyNames:Se,getOwnPropertySymbols:Pe,getPrototypeOf:xe}=Object,X=globalThis,zt=X.trustedTypes,Ne=zt?zt.emptyScript:"",De=X.reactiveElementPolyfillSupport,M=(s,t)=>s,Z={toAttribute(s,t){switch(t){case Boolean:s=s?Ne:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},k=(s,t)=>!we(s,t),Vt={attribute:!0,type:String,converter:Z,reflect:!1,useDefault:!1,hasChanged:k};Symbol.metadata??=Symbol("metadata"),X.litPropertyMetadata??=new WeakMap;var b=class 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=Vt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let o=Symbol(),r=this.getPropertyDescriptor(t,o,e);r!==void 0&&Oe(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){let{get:r,set:n}=Te(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:r,set(i){let a=r?.call(this);n?.call(this,i),this.requestUpdate(t,a,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Vt}static _$Ei(){if(this.hasOwnProperty(M("elementProperties")))return;let t=xe(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(M("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(M("properties"))){let e=this.properties,o=[...Se(e),...Pe(e)];for(let r of o)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[o,r]of e)this.elementProperties.set(o,r)}this._$Eh=new Map;for(let[e,o]of this.elementProperties){let r=this._$Eu(e,o);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let r of o)e.unshift($t(r))}else t!==void 0&&e.push($t(t));return e}static _$Eu(t,e){let o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?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),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ht(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,o){this._$AK(t,o)}_$ET(t,e){let o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(r!==void 0&&o.reflect===!0){let n=(o.converter?.toAttribute!==void 0?o.converter:Z).toAttribute(e,o.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){let o=this.constructor,r=o._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let n=o.getPropertyOptions(r),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:Z;this._$Em=r;let a=i.fromAttribute(e,n.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,o,r=!1,n){if(t!==void 0){let i=this.constructor;if(r===!1&&(n=this[t]),o??=i.getPropertyOptions(t),!((o.hasChanged??k)(n,e)||o.useDefault&&o.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,o))))return;this.C(t,e,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:o,reflect:r,wrapped:n},i){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),n!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,n]of this._$Ep)this[r]=n;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[r,n]of o){let{wrapped:i}=n,a=this[r];i!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,n,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(e)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[M("elementProperties")]=new Map,b[M("finalized")]=new Map,De?.({ReactiveElement:b}),(X.reactiveElementVersions??=[]).push("2.1.2");var At=globalThis,Bt=s=>s,tt=At.trustedTypes,Wt=tt?tt.createPolicy("lit-html",{createHTML:s=>s}):void 0,_t="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,Ct="?"+A,Ue=`<${Ct}>`,O=document,H=()=>O.createComment(""),z=s=>s===null||typeof s!="object"&&typeof s!="function",wt=Array.isArray,Jt=s=>wt(s)||typeof s?.[Symbol.iterator]=="function",bt=`[
3
3
  \f\r]`,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ft=/-->/g,qt=/>/g,C=RegExp(`>|${bt}(?:([^\\s"'>=/]+)(${bt}*=${bt}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Kt=/"/g,Yt=/^(?:script|style|textarea|title)$/i,Ot=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),vs=Ot(1),Es=Ot(2),$s=Ot(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Qt=new WeakMap,w=O.createTreeWalker(O,129);function Zt(s,t){if(!wt(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wt!==void 0?Wt.createHTML(t):t}var Xt=(s,t)=>{let e=s.length-1,o=[],r,n=t===2?"<svg>":t===3?"<math>":"",i=j;for(let a=0;a<e;a++){let c=s[a],l,u,h=-1,m=0;for(;m<c.length&&(i.lastIndex=m,u=i.exec(c),u!==null);)m=i.lastIndex,i===j?u[1]==="!--"?i=Ft:u[1]!==void 0?i=qt:u[2]!==void 0?(Yt.test(u[2])&&(r=RegExp("</"+u[2],"g")),i=C):u[3]!==void 0&&(i=C):i===C?u[0]===">"?(i=r??j,h=-1):u[1]===void 0?h=-2:(h=i.lastIndex-u[2].length,l=u[1],i=u[3]===void 0?C:u[3]==='"'?Kt:Gt):i===Kt||i===Gt?i=C:i===Ft||i===qt?i=j:(i=C,r=void 0);let E=i===C&&s[a+1].startsWith("/>")?" ":"";n+=i===j?c+Le:h>=0?(o.push(l),c.slice(0,h)+_t+c.slice(h)+A+E):c+A+(h===-2?a:E)}return[Zt(s,n+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},V=class s{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let n=0,i=0,a=t.length-1,c=this.parts,[l,u]=Xt(t,e);if(this.el=s.createElement(l,o),w.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=w.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(_t)){let m=u[i++],E=r.getAttribute(h).split(A),_=/([.?@])?(.*)/.exec(m);c.push({type:1,index:n,name:_[2],strings:E,ctor:_[1]==="."?st:_[1]==="?"?ot:_[1]==="@"?rt:S}),r.removeAttribute(h)}else h.startsWith(A)&&(c.push({type:6,index:n}),r.removeAttribute(h));if(Yt.test(r.tagName)){let h=r.textContent.split(A),m=h.length-1;if(m>0){r.textContent=tt?tt.emptyScript:"";for(let E=0;E<m;E++)r.append(h[E],H()),w.nextNode(),c.push({type:2,index:++n});r.append(h[m],H())}}}else if(r.nodeType===8)if(r.data===Ct)c.push({type:2,index:n});else{let h=-1;for(;(h=r.data.indexOf(A,h+1))!==-1;)c.push({type:7,index:n}),h+=A.length-1}n++}}static createElement(t,e){let o=O.createElement("template");return o.innerHTML=t,o}};function T(s,t,e=s,o){if(t===f)return t;let r=o!==void 0?e._$Co?.[o]:e._$Cl,n=z(t)?void 0:t._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(s),r._$AT(s,e,o)),o!==void 0?(e._$Co??=[])[o]=r:e._$Cl=r),r!==void 0&&(t=T(s,r._$AS(s,t.values),r,o)),t}var et=class{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){let{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??O).importNode(e,!0);w.currentNode=r;let n=w.nextNode(),i=0,a=0,c=o[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new D(n,n.nextSibling,this,t):c.type===1?l=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(l=new nt(n,this,t)),this._$AV.push(l),c=o[++a]}i!==c?.index&&(n=w.nextNode(),i++)}return w.currentNode=O,r}p(t){let e=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},D=class s{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=T(this,t,e),z(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Jt(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!==d&&z(this._$AH)?this._$AA.nextSibling.data=t:this.T(O.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=V.createElement(Zt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{let n=new et(r,this),i=n.u(this.options);n.p(e),this.T(i),this._$AH=n}}_$AC(t){let e=Qt.get(t.strings);return e===void 0&&Qt.set(t.strings,e=new V(t)),e}k(t){wt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,o,r=0;for(let n of t)r===e.length?e.push(o=new s(this.O(H()),this.O(H()),this,this.options)):o=e[r],o._$AI(n),r++;r<e.length&&(this._$AR(o&&o._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let o=Bt(t).nextSibling;Bt(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},S=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,n){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=d}_$AI(t,e=this,o,r){let n=this.strings,i=!1;if(n===void 0)t=T(this,t,e,0),i=!z(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,c,l;for(t=n[0],c=0;c<n.length-1;c++)l=T(this,a[o+c],e,c),l===f&&(l=this._$AH[c]),i||=!z(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+n[c+1]),this._$AH[c]=l}i&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends S{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},ot=class extends S{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},rt=class extends S{constructor(t,e,o,r,n){super(t,e,o,r,n),this.type=5}_$AI(t,e=this){if((t=T(this,t,e,0)??d)===f)return;let o=this._$AH,r=t===d&&o!==d||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==d&&(o===d||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){T(this,t)}},te={M:_t,P:A,A:Ct,C:1,L:Xt,R:et,D:Jt,V:T,I:D,H:S,N:ot,U:rt,B:st,F:nt},Re=At.litHtmlPolyfillSupport;Re?.(V,D),(At.litHtmlVersions??=[]).push("3.3.2");var it=(s,t,e)=>{let o=e?.renderBefore??t,r=o._$litPart$;if(r===void 0){let n=e?.renderBefore??null;o._$litPart$=r=new D(t.insertBefore(H(),n),n,void 0,e??{})}return r._$AI(s),r};var Tt=globalThis,$=class extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=it(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};$._$litElement$=!0,$.finalized=!0,Tt.litElementHydrateSupport?.({LitElement:$});var Ue=Tt.litElementPolyfillSupport;Ue?.({LitElement:$});(Tt.litElementVersions??=[]).push("4.2.2");var p=(s,t,...e)=>{try{return s?.call(t,...e)}catch(o){console.error(o,s)}},B=async(s,t,...e)=>{try{return await s?.call(t,...e)}catch(o){console.error(o,s)}};var F=Symbol.for("controller"),Ie=s=>typeof s=="object"&&s!==null&&(F in s||"hostConnected"in s||"hostDisconnected"in s||"hostUpdate"in s||"hostUpdated"in s),Rs=s=>typeof s?.then=="function",Us=s=>s.M.length,W,x=s=>{W!==s&&(W=s,queueMicrotask(()=>W===s?W=void 0:0))},q=s=>W,P=[],ct=s=>{if(s===void 0){P=[];return}let t=P.indexOf(s);P=t===-1?[...P,s]:P.slice(0,t+1),queueMicrotask(()=>P=[])},ee=()=>P,L,Is=s=>{L!==s&&(L=s,queueMicrotask(()=>L===s?L=void 0:0))},Me=()=>{let s=L;return L=void 0,s},se=async(s,t)=>{let e=lt(s);if(e===void 0)return s;if(await e.ready,typeof t=="function"){let o=e.watchExports(r=>t(r,o))}return e.exports},oe=async s=>{let t=lt(s);return await t.ready,t},lt=s=>{let e=q().manager.X(s);if(e!==void 0)return e;if(Ie(s))return s;let o=Me();if(o!==void 0)return o},at=!1,Ms=s=>{at=!0;try{return s()}finally{at=!1}};var re=new Set,ne;var ie=s=>typeof s=="string"?s:"el"in s?s.el.localName:"localName"in s?s.localName:s.declaredClass,ke=(s,t,e,o)=>{let r=ie(t);if(o?.once){let i=`${s}${r}${e}`;if(re.has(i))return;re.add(i)}let n;if(o?.detail){n={};for(let[i,a]of Object.entries(o.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let c=new WeakRef(a);Object.defineProperty(n,i,{enumerable:!0,get(){return c.deref()}})}else n[i]=a;ne?.log.interceptors?.forEach(i=>i(s,r,e,n)),console[s](`[${r}]: ${e}`,n)}else ne?.log.interceptors?.forEach(i=>i(s,r,e)),console[s](`[${r}]: ${e}`)},ae=s=>{let t=`[${ie(s)}] `;return e=>{let o=e instanceof Error&&e.message?e:new Error(String(e));o.message=`${t}${o.message}`,setTimeout(()=>{throw e})}},js=s=>`The property \`${s.toString()}\` is required but missing.`,Hs=s=>`The property \`${s.toString()}\` is empty but must have at least one element.`,zs=(s,t,e,o)=>ke("warn",s,`\`${t.toString()}\` is deprecated. Use \`${e.toString()}\` instead.`,o);var je=(s,t,e)=>{let o=Object.keys(s),r=o.length;R===void 0&&queueMicrotask(U),R??=new Map;let n=R.get(s);return n===void 0&&(n={callbacks:[],keyCount:r},R.set(s,n)),n.keyCount!==r&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=r),n.callbacks.push(i=>{let a=l=>p(t,null,l),c=i[r];c===void 0?a(void 0):s[c]===e?a(c):a(void 0)}),e},R,U=()=>{R?.forEach(({callbacks:s},t)=>{let e=Object.keys(t);s.forEach(o=>o(e))}),R=void 0},He=(s,t,e)=>{let o=s.manager;return o.V!==d&&o.V!==e&&o.S(void 0,void 0),o.T.length===0&&queueMicrotask(()=>o.S(void 0,void 0)),o.V=e,o.T.push((r,n)=>p(t,void 0,e===n?r:void 0)),e},ze=(s=[q(),...ee()],t,e)=>{let o=Array.isArray(s)?s:[s],r=o.length+1,n=i=>{r-=1,i!==void 0&&(r=Math.min(r,0)),r===0&&t(i)};o.forEach(i=>je(i,a=>n(a===void 0?void 0:{key:a,host:i,isReactive:!1}),e));for(let i of o)if("manager"in i&&i.manager.component===i){He(i,a=>n(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},Ve=(s="",t={},e=q())=>{let o={emit:r=>{s===""&&U();let n=new CustomEvent(s,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(n),n}};return s===""&&ze(void 0,r=>s=r.key,o),o},Be=Ve.bind(null,""),he;he=F;var St=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#r=[],this.#n=[],this.#c=[],this.#l=[],this.#d=[],this.#i=[],this.#p=!1,this.P=Promise.withResolvers(),this.connectedCalled=!1,this.loadedCalled=!1,this[he]=!0,this.#h=[];let e=this,o=t??q(new.target.name);e.#o=o,e.ready=e.P.promise,e.#a=le(e),e.component=o,e.#o.addController(e),e.#o.manager===void 0||(ct(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#r;#n;#c;#l;#d;#i;#p;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#p&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(ae(this.#o))}#a;get exports(){return this.#a}set exports(t){let e=this.#a;e!==t&&(this.#a=t,this.#h.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#a=e?le(t):t,this.#h.forEach(p)}#h;watchExports(t){let e=()=>t(this.#a);return this.#h.push(e),()=>{this.#h.splice(this.#h.indexOf(e),1)}}get use(){return x(this.#o),se}get useRef(){return x(this.#o),oe}get useRefSync(){return x(this.#o),lt}controllerRemoved(){this.#o.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#r.push(t)}onUpdate(t){this.#n.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#d.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#i.forEach(p),t.#i=[]}async triggerLoad(){if(this.#p)return;this.#p=!0;let t=this;t.hostLoad&&await B(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(B)),this.P.resolve(this.#a)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#r.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#n.forEach(ce,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(ce,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#d.forEach(this.#u,this)}#u(t){x(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#i.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#i.push(r.remove)})}};function ce(s){p(s,void 0,this)}var le=s=>{if(typeof s!="object"&&typeof s!="function"||s===null)return s;let t={get(o,r,n){if(!((r==="exports"||r==="_exports")&&r in o&&o[r]===e)&&(r in o||r in Promise.prototype||typeof r=="symbol"))return typeof o=="function"?o[r]:Reflect.get(o,r,n)}},e=new Proxy(s,t);return e};var de=St;var ht=s=>s.replace(We,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),We=/[A-Z]+(?![a-z])|[A-Z]/gu;var Qs=s=>`\u200E${s??""}\u200E`,Fe="randomUUID"in crypto,Js=()=>{if(Fe)return crypto.randomUUID();let s=crypto.getRandomValues(new Uint16Array(8));s[3]=s[3]&4095|16384,s[4]=s[4]&16383|32768;let t=e=>s[e].toString(16).padStart(4,"0");return`${t(0)+t(1)}-${t(2)}-${t(3)}-${t(4)}-${t(5)}${t(6)}${t(7)}`};var y={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},v=s=>(...t)=>({_$litDirective$:s,values:t}),g=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:qe}=te,pe=s=>s;var dt=s=>s.strings===void 0,ue=()=>document.createComment(""),so=(s,t,e)=>{let o=s._$AA.parentNode,r=t===void 0?s._$AB:t._$AA;if(e===void 0){let n=o.insertBefore(ue(),r),i=o.insertBefore(ue(),r);e=new qe(n,i,s,s.options)}else{let n=e._$AB.nextSibling,i=e._$AM,a=i!==s;if(a){let c;e._$AQ?.(s),e._$AM=s,e._$AP!==void 0&&(c=s._$AU)!==i._$AU&&e._$AP(c)}if(n!==r||a){let c=e._$AA;for(;c!==n;){let l=pe(c).nextSibling;pe(o).insertBefore(c,r),c=l}}}return e},oo=(s,t,e=s)=>(s._$AI(t,e),s),Ge={},fe=(s,t=Ge)=>s._$AH=t,ro=s=>s._$AH,no=s=>{s._$AR(),s._$AA.remove()},io=s=>{s._$AR()};var me=v(class extends g{constructor(s){if(super(s),s.type!==y.PROPERTY&&s.type!==y.ATTRIBUTE&&s.type!==y.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!dt(s))throw Error("`live` bindings can only contain a single expression")}render(s){return s}update(s,[t]){if(t===f||t===d)return t;let e=s.element,o=s.name;if(s.type===y.PROPERTY){if(t===e[o])return f}else if(s.type===y.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(o))return f}else if(s.type===y.ATTRIBUTE&&e.getAttribute(o)===t+"")return f;return fe(s),t}});var G=(s,t)=>{let e=s._$AN;if(e===void 0)return!1;for(let o of e)o._$AO?.(t,!1),G(o,t);return!0},pt=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while(e?.size===0)},ye=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),Je(t)}};function Ke(s){this._$AN!==void 0?(pt(this),this._$AM=s,ye(this)):this._$AM=s}function Qe(s,t=!1,e=0){let o=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(o))for(let n=e;n<o.length;n++)G(o[n],!1),pt(o[n]);else o!=null&&(G(o,!1),pt(o));else G(this,s)}var Je=s=>{s.type==y.CHILD&&(s._$AP??=Qe,s._$AQ??=Ke)},ut=class extends g{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,o){super._$AT(t,e,o),ye(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(G(this,t),pt(this))}setValue(t){if(dt(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var _o=()=>new xt,xt=class{},Pt=new WeakMap,Nt=v(class extends ut{render(s){return d}update(s,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=s.options?.host,this.rt(this.ct=s.element)),d}rt(s){if(this.isConnected||(s=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Pt.get(t);e===void 0&&(e=new WeakMap,Pt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ht,s)}else this.G.value=s}get lt(){return typeof this.G=="function"?Pt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Lt=s=>{let t=s;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(s),(e.I??e._postLoad).promise}return!1},Rt={};function Ut(){}function It(s){for(let t of["Associated","Disabled","Reset","StateRestore"]){let e=`orm${t}Callback`;s.prototype["f"+e]=async function(...o){await this.componentOnReady(),(this.el??this).dispatchEvent(new CustomEvent(`luminaF${e}`,{detail:o}))}}}var Ze=(s,t)=>function(o,r){if(!globalThis.customElements)return;let i=(r??o??{}).resourcesUrl;i&&s.setAssetPath(i);for(let[a,[c,l="",u=0]]of Object.entries(t)){if(customElements.get(a))continue;let[h,m,E]=l.split(";"),_=h?h?.split(",").map(Xe):void 0,gt=_?.map(([N])=>N),Q=class extends Dt{static{this.formAssociated=u===1}static{this.observedAttributes=_?.map(([,N])=>N).filter(N=>N!=="")}static{this.C=gt}static{this.E=m?m?.split(","):void 0}static{this.D=E?.split(",")}static{this.L=a}static{this.K=s}constructor(){!Q.B&&(Q.B=c(),Q.F()),super()}};customElements.define(a,Q)}},ft=Object.defineProperty,Xe=s=>{let t=s.split(":");return t.length===1?[t[0],ht(t[0])]:t},ts=globalThis.HTMLElement??Ut,Dt=class extends ts{constructor(){super(),this.#e={},this.#s=[],this.I=Promise.withResolvers(),this.H=Promise.withResolvers(),this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(o=>{Object.hasOwn(t,o)&&(t.#e[o]=t[o],delete t[o])}),e.A?t.#r({a:e.A}):e.B.then(async o=>{await e.K.p,t.#r(await(o.default?.then(r=>typeof r=="function"?{a:r}:r)??o))}).catch(o=>{t.H.reject(o),setTimeout(()=>{throw o})})}static{this.lumina=!0}static F(){for(let t of this.C??[])ft(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])ft(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])ft(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}static{It(this)}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,o){this.#t?.attributeChangedCallback(t,e,o),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Lt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#r(t){let e=this.constructor,o=e.L,r=this.#e,n=Object.values(t).find(h=>h.L===o),i=`${o}--lazy`,a=n;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);ss(a),!e.A&&(e.A=n,customElements.define(i,n)),n.N=this;let l=document.createElement(i);n.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(es,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function es([s,t]){this[s]=t}var ss=s=>{let t=s.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,n){e.setAttribute.call(this.el,r,n)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},t.hasAttribute=function(r){return e.hasAttribute.call(this.el,r)},ft(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};async function zo(s,t){let e=is(t);if(!e)return await s;e.throwIfAborted();let o=Promise.withResolvers(),r=()=>{try{e.throwIfAborted()}catch(n){o.reject(n)}};return e.addEventListener("abort",r,{once:!0}),await Promise.race([s,o.promise]).finally(()=>e.removeEventListener("abort",r))}var ve=(s,t)=>{let e=t>os?rs:t/ns,o=0,r=setInterval(()=>{o+=e,o>=t&&(clearInterval(r),s())},e);return r},os=4e3,rs=2e3,ns=4;function is(s){return s instanceof AbortSignal?s:s?.signal??void 0}var mt=class extends de{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=yt in t&&typeof t.destroy=="function",$.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${yt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),U();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),ct(void 0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>{this.#e.destroy()};this.#t=ve(t,as)}}S(t,e){let o=this.T;this.V=d,this.T=[],o.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},as=1e3,yt="autoDestroyDisabled";var Ee=v(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="class"||s.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(s){return" "+Object.keys(s).filter(t=>s[t]).join(" ")+" "}update(s,[t]){if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let e=s.element.classList;for(let o of this.st)o in t||(e.remove(o),this.st.delete(o));for(let o in t){let r=!!t[o];r===this.st.has(o)||this.nt?.has(o)||(r?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return f}});var $e="important",cs=" !"+$e,be=v(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="style"||s.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(s){return Object.keys(s).reduce((t,e)=>{let o=s[e];return o==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(s,[t]){let{style:e}=s.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?e.removeProperty(o):e[o]=null);for(let o in t){let r=t[o];if(r!=null){this.ft.add(o);let n=typeof r=="string"&&r.endsWith(cs);o.includes("-")||n?e.setProperty(o,n?r.slice(0,-11):r,n?$e:""):e[o]=r}}return f}});var Ae=class s extends ${constructor(){super(),this.M=[],this.manager=new mt(this);let t=this,e=t.constructor,o=e.N,r=e.K.o,n=s.prototype.shouldUpdate;t.#r=o?.H??Promise.withResolvers(),t.I=o?.I??Promise.withResolvers(),t.J=o?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=o??t,t.#s=t.enableUpdating,t.enableUpdating=Ut,t.shouldUpdate!==n&&(t.#e=t.shouldUpdate,t.shouldUpdate=n),r&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),o=this.shadowRootOptions===Rt;return this.K?.commonStyles===void 0||o?e:[this.K.commonStyles,...e]}static createProperty(t,e){let o=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,n=r?.hasChanged??k,i={attribute:o&1&&typeof t=="string"?ht(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),useDefault:!!(o&128),c:!1,...r,hasChanged(a,c){let l=n(a,c);return i.c=l,l}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,o){let r=this.K,n=super.getPropertyDescriptor(t,e,o);return o.d=n,{...n,get(){return r.t?.(this.#t.get(t)),n.get?.call(this)},set(i){let a=this.manager;if(o.readOnly&&!at&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);n.set.call(this,i??void 0),o.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(U(),a?.S(t,i))}}}static{this.lumina=!0}static{It(this)}#t;#e;#s;#r;#n;#c;get elementInternals(){return this.#c??=this.el.attachInternals(),this.#c}connectedCallback(){this.hasAttribute("defer-hydration")||this.#l(!0)}#l(t){let e=this.constructor.K.c?.(()=>this.requestUpdate());this.#n=e;let o=!this.manager.connectedCalled;t&&super.connectedCallback(),o?queueMicrotask(()=>this.#i().catch(r=>{this.#r.reject(r),setTimeout(()=>{throw r})})):e&&this.requestUpdate()}#d(t){try{this.#n.clear(),this.constructor.K.r(this.#n,()=>super.update(t))}catch(e){throw this.#n.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#n?.destroy(),this.#n=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,o=e.shadowRootOptions,n=t??(o===Rt?this.el:this.el.attachShadow(o));if(t)return this.manager.connectedCalled||this.#l(!1),$.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=n.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return n}async#i(){let t=this.el.G??Lt(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(B(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(yt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await 0;let o=this.J.filter(r=>!r.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#r.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#n?this.#d(t):super.update(t)}listen(t,e,o){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,o),()=>this.el.removeEventListener(t,r,o)))}listenOn(t,e,o,r){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)))}async componentOnReady(){return await this.#r.promise,this}addController(t){this.M.push(t),!(F in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var Ce=s=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},o={...s,getAssetPath(r){let n=new URL(r,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:e,customElement(r,n){n.K=o,n.L=r,customElements.get(r)||customElements.define(r,n)}};return e(s.defaultAssetPath),o};var Ur=s=>typeof s=="object"&&s!=null?Ee(s):s,Ir=s=>typeof s=="object"&&s!=null?be(s):s;var Mt=class extends g{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,Nt(this.#e)):Nt(t)}},Mr=v(Mt),kr=v,jr=me,Hr=d;var zr=s=>{let t=document.createElement("div");return it(s,t),t.firstElementChild};var us=Et`:host{display:block;box-sizing:border-box;*,*:before,*:after{box-sizing:inherit}}:host([hidden]){display:none}:host(:not(arcgis-basemap-gallery-item,arcgis-layer-list-item,arcgis-layer-list-item-indicator,arcgis-layer-list-item-panel,arcgis-print-custom-text-elements,arcgis-print-dpi-input,arcgis-print-export-button,arcgis-print-exported-link,arcgis-print-exports-panel,arcgis-print-format-select,arcgis-print-layout-advanced-options,arcgis-print-layout-panel,arcgis-print-main-panel,arcgis-print-map-only-advanced-options,arcgis-print-map-only-panel,arcgis-print-out-spatial-reference-input,arcgis-print-preview-input,arcgis-print-scale-section,arcgis-print-template-select,arcgis-print-template-selector,arcgis-labeled-switch,arcgis-measurement-content,arcgis-version-management-service-item,arcgis-version-management-version-item,arcgis-version-management-version-list,arcgis-version-management-version-properties,arcgis-video-player-action-bar,arcgis-video-player-actions-group,arcgis-video-player-controls-group,arcgis-video-player-metadata,arcgis-video-player-settings,arcgis-video-player-slider)){font-family:var(--calcite-font-family)}`,K=Ce({defaultAssetPath:"https://jsdev.arcgis.com/6.0.0-next/map-components/",hydratedAttribute:"hydrated",commonStyles:us}),{customElement:Gr,getAssetPath:Kr,setAssetPath:Qr}=K;K.t=void 0;K.o=void 0;K.c=void 0;K.r=void 0;export{Et as a,vs as b,Es as c,$s as d,f as e,d as f,it as g,Rs as h,Us as i,x as j,q as k,ct as l,ee as m,Is as n,Ms as o,ke as p,ae as q,js as r,Hs as s,zs as t,He as u,ze as v,Ve as w,Be as x,St as y,de as z,Qs as A,Js as B,Ze as C,zo as D,y as E,v as F,g as G,so as H,oo as I,fe as J,ro as K,no as L,io as M,me as N,ut as O,_o as P,Nt as Q,Ae as R,Ce as S,Ur as T,Ir as U,kr as V,jr as W,Hr as X,zr as Y,K as Z,Gr as _,Kr as $};
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Kt=/"/g,Yt=/^(?:script|style|textarea|title)$/i,Ot=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),vs=Ot(1),Es=Ot(2),$s=Ot(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Qt=new WeakMap,w=O.createTreeWalker(O,129);function Zt(s,t){if(!wt(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wt!==void 0?Wt.createHTML(t):t}var Xt=(s,t)=>{let e=s.length-1,o=[],r,n=t===2?"<svg>":t===3?"<math>":"",i=j;for(let a=0;a<e;a++){let c=s[a],l,u,h=-1,m=0;for(;m<c.length&&(i.lastIndex=m,u=i.exec(c),u!==null);)m=i.lastIndex,i===j?u[1]==="!--"?i=Ft:u[1]!==void 0?i=qt:u[2]!==void 0?(Yt.test(u[2])&&(r=RegExp("</"+u[2],"g")),i=C):u[3]!==void 0&&(i=C):i===C?u[0]===">"?(i=r??j,h=-1):u[1]===void 0?h=-2:(h=i.lastIndex-u[2].length,l=u[1],i=u[3]===void 0?C:u[3]==='"'?Kt:Gt):i===Kt||i===Gt?i=C:i===Ft||i===qt?i=j:(i=C,r=void 0);let E=i===C&&s[a+1].startsWith("/>")?" ":"";n+=i===j?c+Ue:h>=0?(o.push(l),c.slice(0,h)+_t+c.slice(h)+A+E):c+A+(h===-2?a:E)}return[Zt(s,n+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},V=class s{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let n=0,i=0,a=t.length-1,c=this.parts,[l,u]=Xt(t,e);if(this.el=s.createElement(l,o),w.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=w.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(_t)){let m=u[i++],E=r.getAttribute(h).split(A),_=/([.?@])?(.*)/.exec(m);c.push({type:1,index:n,name:_[2],strings:E,ctor:_[1]==="."?st:_[1]==="?"?ot:_[1]==="@"?rt:S}),r.removeAttribute(h)}else h.startsWith(A)&&(c.push({type:6,index:n}),r.removeAttribute(h));if(Yt.test(r.tagName)){let h=r.textContent.split(A),m=h.length-1;if(m>0){r.textContent=tt?tt.emptyScript:"";for(let E=0;E<m;E++)r.append(h[E],H()),w.nextNode(),c.push({type:2,index:++n});r.append(h[m],H())}}}else if(r.nodeType===8)if(r.data===Ct)c.push({type:2,index:n});else{let h=-1;for(;(h=r.data.indexOf(A,h+1))!==-1;)c.push({type:7,index:n}),h+=A.length-1}n++}}static createElement(t,e){let o=O.createElement("template");return o.innerHTML=t,o}};function T(s,t,e=s,o){if(t===f)return t;let r=o!==void 0?e._$Co?.[o]:e._$Cl,n=z(t)?void 0:t._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(s),r._$AT(s,e,o)),o!==void 0?(e._$Co??=[])[o]=r:e._$Cl=r),r!==void 0&&(t=T(s,r._$AS(s,t.values),r,o)),t}var et=class{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){let{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??O).importNode(e,!0);w.currentNode=r;let n=w.nextNode(),i=0,a=0,c=o[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new D(n,n.nextSibling,this,t):c.type===1?l=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(l=new nt(n,this,t)),this._$AV.push(l),c=o[++a]}i!==c?.index&&(n=w.nextNode(),i++)}return w.currentNode=O,r}p(t){let e=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},D=class s{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=T(this,t,e),z(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Jt(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!==d&&z(this._$AH)?this._$AA.nextSibling.data=t:this.T(O.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=V.createElement(Zt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{let n=new et(r,this),i=n.u(this.options);n.p(e),this.T(i),this._$AH=n}}_$AC(t){let e=Qt.get(t.strings);return e===void 0&&Qt.set(t.strings,e=new V(t)),e}k(t){wt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,o,r=0;for(let n of t)r===e.length?e.push(o=new s(this.O(H()),this.O(H()),this,this.options)):o=e[r],o._$AI(n),r++;r<e.length&&(this._$AR(o&&o._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let o=Bt(t).nextSibling;Bt(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},S=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,n){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=d}_$AI(t,e=this,o,r){let n=this.strings,i=!1;if(n===void 0)t=T(this,t,e,0),i=!z(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,c,l;for(t=n[0],c=0;c<n.length-1;c++)l=T(this,a[o+c],e,c),l===f&&(l=this._$AH[c]),i||=!z(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+n[c+1]),this._$AH[c]=l}i&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends S{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},ot=class extends S{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},rt=class extends S{constructor(t,e,o,r,n){super(t,e,o,r,n),this.type=5}_$AI(t,e=this){if((t=T(this,t,e,0)??d)===f)return;let o=this._$AH,r=t===d&&o!==d||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==d&&(o===d||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){T(this,t)}},te={M:_t,P:A,A:Ct,C:1,L:Xt,R:et,D:Jt,V:T,I:D,H:S,N:ot,U:rt,B:st,F:nt},Le=At.litHtmlPolyfillSupport;Le?.(V,D),(At.litHtmlVersions??=[]).push("3.3.2");var it=(s,t,e)=>{let o=e?.renderBefore??t,r=o._$litPart$;if(r===void 0){let n=e?.renderBefore??null;o._$litPart$=r=new D(t.insertBefore(H(),n),n,void 0,e??{})}return r._$AI(s),r};var Tt=globalThis,$=class extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=it(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};$._$litElement$=!0,$.finalized=!0,Tt.litElementHydrateSupport?.({LitElement:$});var Re=Tt.litElementPolyfillSupport;Re?.({LitElement:$});(Tt.litElementVersions??=[]).push("4.2.2");var p=(s,t,...e)=>{try{return s?.call(t,...e)}catch(o){console.error(o,s)}},B=async(s,t,...e)=>{try{return await s?.call(t,...e)}catch(o){console.error(o,s)}};var F=Symbol.for("controller"),Ie=s=>typeof s=="object"&&s!==null&&(F in s||"hostConnected"in s||"hostDisconnected"in s||"hostUpdate"in s||"hostUpdated"in s),Ls=s=>typeof s?.then=="function",Rs=s=>s.M.length,W,x=s=>{W!==s&&(W=s,queueMicrotask(()=>W===s?W=void 0:0))},q=s=>W,P=[],ct=s=>{if(s===void 0){P=[];return}let t=P.indexOf(s);P=t===-1?[...P,s]:P.slice(0,t+1),queueMicrotask(()=>P=[])},ee=()=>P,U,Is=s=>{U!==s&&(U=s,queueMicrotask(()=>U===s?U=void 0:0))},Me=()=>{let s=U;return U=void 0,s},se=async(s,t)=>{let e=lt(s);if(e===void 0)return s;if(await e.ready,typeof t=="function"){let o=e.watchExports(r=>t(r,o))}return e.exports},oe=async s=>{let t=lt(s);return await t.ready,t},lt=s=>{let e=q().manager.X(s);if(e!==void 0)return e;if(Ie(s))return s;let o=Me();if(o!==void 0)return o},at=!1,Ms=s=>{at=!0;try{return s()}finally{at=!1}};var re=new Set,ne;var ie=s=>typeof s=="string"?s:"el"in s?s.el.localName:"localName"in s?s.localName:s.declaredClass,ke=(s,t,e,o)=>{let r=ie(t);if(o?.once){let i=`${s}${r}${e}`;if(re.has(i))return;re.add(i)}let n;if(o?.detail){n={};for(let[i,a]of Object.entries(o.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let c=new WeakRef(a);Object.defineProperty(n,i,{enumerable:!0,get(){return c.deref()}})}else n[i]=a;ne?.log.interceptors?.forEach(i=>i(s,r,e,n)),console[s](`[${r}]: ${e}`,n)}else ne?.log.interceptors?.forEach(i=>i(s,r,e)),console[s](`[${r}]: ${e}`)},ae=s=>{let t=`[${ie(s)}] `;return e=>{let o=e instanceof Error&&e.message?e:new Error(String(e));o.message=`${t}${o.message}`,setTimeout(()=>{throw e})}},js=s=>`The property \`${s.toString()}\` is required but missing.`,Hs=s=>`The property \`${s.toString()}\` is empty but must have at least one element.`,zs=(s,t,e,o)=>ke("warn",s,`\`${t.toString()}\` is deprecated. Use \`${e.toString()}\` instead.`,o);var je=(s,t,e)=>{let o=Object.keys(s),r=o.length;L===void 0&&queueMicrotask(R),L??=new Map;let n=L.get(s);return n===void 0&&(n={callbacks:[],keyCount:r},L.set(s,n)),n.keyCount!==r&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=r),n.callbacks.push(i=>{let a=l=>p(t,null,l),c=i[r];c===void 0?a(void 0):s[c]===e?a(c):a(void 0)}),e},L,R=()=>{L?.forEach(({callbacks:s},t)=>{let e=Object.keys(t);s.forEach(o=>o(e))}),L=void 0},He=(s,t,e)=>{let o=s.manager;return o.V!==d&&o.V!==e&&o.S(void 0,void 0),o.T.length===0&&queueMicrotask(()=>o.S(void 0,void 0)),o.V=e,o.T.push((r,n)=>p(t,void 0,e===n?r:void 0)),e},ze=(s=[q(),...ee()],t,e)=>{let o=Array.isArray(s)?s:[s],r=o.length+1,n=i=>{r-=1,i!==void 0&&(r=Math.min(r,0)),r===0&&t(i)};o.forEach(i=>je(i,a=>n(a===void 0?void 0:{key:a,host:i,isReactive:!1}),e));for(let i of o)if("manager"in i&&i.manager.component===i){He(i,a=>n(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},Ve=(s="",t={},e=q())=>{let o={emit:r=>{s===""&&R();let n=new CustomEvent(s,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(n),n}};return s===""&&ze(void 0,r=>s=r.key,o),o},Be=Ve.bind(null,""),he;he=F;var St=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#r=[],this.#n=[],this.#c=[],this.#l=[],this.#d=[],this.#i=[],this.#p=!1,this.P=Promise.withResolvers(),this.connectedCalled=!1,this.loadedCalled=!1,this[he]=!0,this.#h=[];let e=this,o=t??q(new.target.name);e.#o=o,e.ready=e.P.promise,e.#a=le(e),e.component=o,e.#o.addController(e),e.#o.manager===void 0||(ct(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#r;#n;#c;#l;#d;#i;#p;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#p&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(ae(this.#o))}#a;get exports(){return this.#a}set exports(t){let e=this.#a;e!==t&&(this.#a=t,this.#h.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#a=e?le(t):t,this.#h.forEach(p)}#h;watchExports(t){let e=()=>t(this.#a);return this.#h.push(e),()=>{this.#h.splice(this.#h.indexOf(e),1)}}get use(){return x(this.#o),se}get useRef(){return x(this.#o),oe}get useRefSync(){return x(this.#o),lt}controllerRemoved(){this.#o.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#r.push(t)}onUpdate(t){this.#n.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#d.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#i.forEach(p),t.#i=[]}async triggerLoad(){if(this.#p)return;this.#p=!0;let t=this;t.hostLoad&&await B(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(B)),this.P.resolve(this.#a)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#r.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#n.forEach(ce,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(ce,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#d.forEach(this.#u,this)}#u(t){x(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#i.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#i.push(r.remove)})}};function ce(s){p(s,void 0,this)}var le=s=>{if(typeof s!="object"&&typeof s!="function"||s===null)return s;let t={get(o,r,n){if(!((r==="exports"||r==="_exports")&&r in o&&o[r]===e)&&(r in o||r in Promise.prototype||typeof r=="symbol"))return typeof o=="function"?o[r]:Reflect.get(o,r,n)}},e=new Proxy(s,t);return e};var de=St;var ht=s=>s.replace(We,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),We=/[A-Z]+(?![a-z])|[A-Z]/gu;var Qs=s=>`\u200E${s??""}\u200E`,Fe="randomUUID"in crypto,Js=()=>{if(Fe)return crypto.randomUUID();let s=crypto.getRandomValues(new Uint16Array(8));s[3]=s[3]&4095|16384,s[4]=s[4]&16383|32768;let t=e=>s[e].toString(16).padStart(4,"0");return`${t(0)+t(1)}-${t(2)}-${t(3)}-${t(4)}-${t(5)}${t(6)}${t(7)}`};var y={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},v=s=>(...t)=>({_$litDirective$:s,values:t}),g=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:qe}=te,pe=s=>s;var dt=s=>s.strings===void 0,ue=()=>document.createComment(""),so=(s,t,e)=>{let o=s._$AA.parentNode,r=t===void 0?s._$AB:t._$AA;if(e===void 0){let n=o.insertBefore(ue(),r),i=o.insertBefore(ue(),r);e=new qe(n,i,s,s.options)}else{let n=e._$AB.nextSibling,i=e._$AM,a=i!==s;if(a){let c;e._$AQ?.(s),e._$AM=s,e._$AP!==void 0&&(c=s._$AU)!==i._$AU&&e._$AP(c)}if(n!==r||a){let c=e._$AA;for(;c!==n;){let l=pe(c).nextSibling;pe(o).insertBefore(c,r),c=l}}}return e},oo=(s,t,e=s)=>(s._$AI(t,e),s),Ge={},fe=(s,t=Ge)=>s._$AH=t,ro=s=>s._$AH,no=s=>{s._$AR(),s._$AA.remove()},io=s=>{s._$AR()};var me=v(class extends g{constructor(s){if(super(s),s.type!==y.PROPERTY&&s.type!==y.ATTRIBUTE&&s.type!==y.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!dt(s))throw Error("`live` bindings can only contain a single expression")}render(s){return s}update(s,[t]){if(t===f||t===d)return t;let e=s.element,o=s.name;if(s.type===y.PROPERTY){if(t===e[o])return f}else if(s.type===y.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(o))return f}else if(s.type===y.ATTRIBUTE&&e.getAttribute(o)===t+"")return f;return fe(s),t}});var G=(s,t)=>{let e=s._$AN;if(e===void 0)return!1;for(let o of e)o._$AO?.(t,!1),G(o,t);return!0},pt=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while(e?.size===0)},ye=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),Je(t)}};function Ke(s){this._$AN!==void 0?(pt(this),this._$AM=s,ye(this)):this._$AM=s}function Qe(s,t=!1,e=0){let o=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(o))for(let n=e;n<o.length;n++)G(o[n],!1),pt(o[n]);else o!=null&&(G(o,!1),pt(o));else G(this,s)}var Je=s=>{s.type==y.CHILD&&(s._$AP??=Qe,s._$AQ??=Ke)},ut=class extends g{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,o){super._$AT(t,e,o),ye(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(G(this,t),pt(this))}setValue(t){if(dt(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var _o=()=>new xt,xt=class{},Pt=new WeakMap,Nt=v(class extends ut{render(s){return d}update(s,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=s.options?.host,this.rt(this.ct=s.element)),d}rt(s){if(this.isConnected||(s=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Pt.get(t);e===void 0&&(e=new WeakMap,Pt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ht,s)}else this.G.value=s}get lt(){return typeof this.G=="function"?Pt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Ut=s=>{let t=s;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(s),(e.I??e._postLoad).promise}return!1},Lt={};function Rt(){}function It(s){for(let t of["Associated","Disabled","Reset","StateRestore"]){let e=`orm${t}Callback`;s.prototype["f"+e]=async function(...o){await this.componentOnReady(),(this.el??this).dispatchEvent(new CustomEvent(`luminaF${e}`,{detail:o}))}}}var Ze=(s,t)=>function(o,r){if(!globalThis.customElements)return;let i=(r??o??{}).resourcesUrl;i&&s.setAssetPath(i);for(let[a,[c,l="",u=0]]of Object.entries(t)){if(customElements.get(a))continue;let[h,m,E]=l.split(";"),_=h?h?.split(",").map(Xe):void 0,gt=_?.map(([N])=>N),Q=class extends Dt{static{this.formAssociated=u===1}static{this.observedAttributes=_?.map(([,N])=>N).filter(N=>N!=="")}static{this.C=gt}static{this.E=m?m?.split(","):void 0}static{this.D=E?.split(",")}static{this.L=a}static{this.K=s}constructor(){!Q.B&&(Q.B=c(),Q.F()),super()}};customElements.define(a,Q)}},ft=Object.defineProperty,Xe=s=>{let t=s.split(":");return t.length===1?[t[0],ht(t[0])]:t},ts=globalThis.HTMLElement??Rt,Dt=class extends ts{constructor(){super(),this.#e={},this.#s=[],this.I=Promise.withResolvers(),this.H=Promise.withResolvers(),this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(o=>{Object.hasOwn(t,o)&&(t.#e[o]=t[o],delete t[o])}),e.A?t.#r({a:e.A}):e.B.then(async o=>{await e.K.p,t.#r(await(o.default?.then(r=>typeof r=="function"?{a:r}:r)??o))}).catch(o=>{t.H.reject(o),setTimeout(()=>{throw o})})}static{this.lumina=!0}static F(){for(let t of this.C??[])ft(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])ft(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])ft(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}static{It(this)}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,o){this.#t?.attributeChangedCallback(t,e,o),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Ut(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#r(t){let e=this.constructor,o=e.L,r=this.#e,n=Object.values(t).find(h=>h.L===o),i=`${o}--lazy`,a=n;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);ss(a),!e.A&&(e.A=n,customElements.define(i,n)),n.N=this;let l=document.createElement(i);n.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(es,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function es([s,t]){this[s]=t}var ss=s=>{let t=s.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,n){e.setAttribute.call(this.el,r,n)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},t.hasAttribute=function(r){return e.hasAttribute.call(this.el,r)},ft(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};async function zo(s,t){let e=is(t);if(!e)return await s;e.throwIfAborted();let o=Promise.withResolvers(),r=()=>{try{e.throwIfAborted()}catch(n){o.reject(n)}};return e.addEventListener("abort",r,{once:!0}),await Promise.race([s,o.promise]).finally(()=>e.removeEventListener("abort",r))}var ve=(s,t)=>{let e=t>os?rs:t/ns,o=0,r=setInterval(()=>{o+=e,o>=t&&(clearInterval(r),s())},e);return r},os=4e3,rs=2e3,ns=4;function is(s){return s instanceof AbortSignal?s:s?.signal??void 0}var mt=class extends de{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=yt in t&&typeof t.destroy=="function",$.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${yt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),R();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),ct(void 0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>{this.#e.destroy()};this.#t=ve(t,as)}}S(t,e){let o=this.T;this.V=d,this.T=[],o.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},as=1e3,yt="autoDestroyDisabled";var Ee=v(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="class"||s.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(s){return" "+Object.keys(s).filter(t=>s[t]).join(" ")+" "}update(s,[t]){if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let e=s.element.classList;for(let o of this.st)o in t||(e.remove(o),this.st.delete(o));for(let o in t){let r=!!t[o];r===this.st.has(o)||this.nt?.has(o)||(r?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return f}});var $e="important",cs=" !"+$e,be=v(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="style"||s.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(s){return Object.keys(s).reduce((t,e)=>{let o=s[e];return o==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(s,[t]){let{style:e}=s.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?e.removeProperty(o):e[o]=null);for(let o in t){let r=t[o];if(r!=null){this.ft.add(o);let n=typeof r=="string"&&r.endsWith(cs);o.includes("-")||n?e.setProperty(o,n?r.slice(0,-11):r,n?$e:""):e[o]=r}}return f}});var Ae=class s extends ${constructor(){super(),this.M=[],this.manager=new mt(this);let t=this,e=t.constructor,o=e.N,r=e.K.o,n=s.prototype.shouldUpdate;t.#r=o?.H??Promise.withResolvers(),t.I=o?.I??Promise.withResolvers(),t.J=o?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=o??t,t.#s=t.enableUpdating,t.enableUpdating=Rt,t.shouldUpdate!==n&&(t.#e=t.shouldUpdate,t.shouldUpdate=n),r&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),o=this.shadowRootOptions===Lt;return this.K?.commonStyles===void 0||o?e:[this.K.commonStyles,...e]}static createProperty(t,e){let o=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,n=r?.hasChanged??k,i={attribute:o&1&&typeof t=="string"?ht(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),useDefault:!!(o&128),c:!1,...r,hasChanged(a,c){let l=n(a,c);return i.c=l,l}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,o){let r=this.K,n=super.getPropertyDescriptor(t,e,o);return o.d=n,{...n,get(){return r.t?.(this.#t.get(t)),n.get?.call(this)},set(i){let a=this.manager;if(o.readOnly&&!at&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);n.set.call(this,i??void 0),o.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(R(),a?.S(t,i))}}}static{this.lumina=!0}static{It(this)}#t;#e;#s;#r;#n;#c;get elementInternals(){return this.#c??=this.el.attachInternals(),this.#c}connectedCallback(){this.hasAttribute("defer-hydration")||this.#l(!0)}#l(t){let e=this.constructor.K.c?.(()=>this.requestUpdate());this.#n=e;let o=!this.manager.connectedCalled;t&&super.connectedCallback(),o?queueMicrotask(()=>this.#i().catch(r=>{this.#r.reject(r),setTimeout(()=>{throw r})})):e&&this.requestUpdate()}#d(t){try{this.#n.clear(),this.constructor.K.r(this.#n,()=>super.update(t))}catch(e){throw this.#n.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#n?.destroy(),this.#n=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,o=e.shadowRootOptions,n=t??(o===Lt?this.el:this.el.attachShadow(o));if(t)return this.manager.connectedCalled||this.#l(!1),$.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=n.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return n}async#i(){let t=this.el.G??Ut(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(B(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(yt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await 0;let o=this.J.filter(r=>!r.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#r.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#n?this.#d(t):super.update(t)}listen(t,e,o){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,o),()=>this.el.removeEventListener(t,r,o)))}listenOn(t,e,o,r){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)))}async componentOnReady(){return await this.#r.promise,this}addController(t){this.M.push(t),!(F in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var Ce=s=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},o={...s,getAssetPath(r){let n=new URL(r,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:e,customElement(r,n){n.K=o,n.L=r,customElements.get(r)||customElements.define(r,n)}};return e(s.defaultAssetPath),o};var Rr=s=>typeof s=="object"&&s!=null?Ee(s):s,Ir=s=>typeof s=="object"&&s!=null?be(s):s;var Mt=class extends g{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,Nt(this.#e)):Nt(t)}},Mr=v(Mt),kr=v,jr=me,Hr=d;var zr=s=>{let t=document.createElement("div");return it(s,t),t.firstElementChild};var us=Et`:host{display:block;box-sizing:border-box;*,*:before,*:after{box-sizing:inherit}}:host([hidden]){display:none}:host(:not(arcgis-basemap-gallery-item,arcgis-layer-list-item,arcgis-layer-list-item-indicator,arcgis-layer-list-item-panel,arcgis-print-custom-text-elements,arcgis-print-dpi-input,arcgis-print-export-button,arcgis-print-exported-link,arcgis-print-exports-panel,arcgis-print-format-select,arcgis-print-layout-advanced-options,arcgis-print-layout-panel,arcgis-print-main-panel,arcgis-print-map-only-advanced-options,arcgis-print-map-only-panel,arcgis-print-out-spatial-reference-input,arcgis-print-preview-input,arcgis-print-scale-section,arcgis-print-template-select,arcgis-print-template-selector,arcgis-labeled-switch,arcgis-measurement-content,arcgis-version-management-service-item,arcgis-version-management-version-item,arcgis-version-management-version-list,arcgis-version-management-version-properties,arcgis-video-player-action-bar,arcgis-video-player-actions-group,arcgis-video-player-controls-group,arcgis-video-player-metadata,arcgis-video-player-settings,arcgis-video-player-slider)){font-family:var(--calcite-font-family)}`,K=Ce({defaultAssetPath:"https://jsdev.arcgis.com/6.0.0-next/map-components/",hydratedAttribute:"hydrated",commonStyles:us}),{customElement:Gr,getAssetPath:Kr,setAssetPath:Qr}=K;K.t=void 0;K.o=void 0;K.c=void 0;K.r=void 0;export{Et as a,vs as b,Es as c,$s as d,f as e,d as f,it as g,Ls as h,Rs as i,x as j,q as k,ct as l,ee as m,Is as n,Ms as o,ke as p,ae as q,js as r,Hs as s,zs as t,He as u,ze as v,Ve as w,Be as x,St as y,de as z,Qs as A,Js as B,Ze as C,zo as D,y as E,v as F,g as G,so as H,oo as I,fe as J,ro as K,no as L,io as M,me as N,ut as O,_o as P,Nt as Q,Ae as R,Ce as S,Rr as T,Ir as U,kr as V,jr as W,Hr as X,zr as Y,K as Z,Gr as _,Kr as $};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as $}from"./ROHGHCK6.js";import c from"./CESPPRYQ.js";import b from"./HU57LQOA.js";import a from"./F4AJCUZ6.js";import{a as m}from"./WJQUE4DR.js";import{R as x,_ as T,a as y,b as l}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:I,when:L},b,A,E,{compileExpression:R},{b:f,d:g},,{q:w}])=>{function h(u,t,{signal:r,edges:e=["leading","trailing"]}={}){let i=null,s=$(function(...o){i=Date.now(),u.apply(this,o)},t,{signal:r,edges:e}),a=function(...o){if(i==null&&(i=Date.now()),Date.now()-i>=t){i=Date.now(),u.apply(this,o),s.cancel(),s.schedule();return}s.apply(this,o)};return a.cancel=s.cancel,a.flush=s.flush,a}var J=y`.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}`,k=1,v=class extends x{constructor(){super(...arguments),this._compileThrottled=h(this._startCompile,k),this._evaluateThrottled=h(this._startEvaluate,k),this.headingLevel=2}static{this.properties={_compileTask:16,_evaluateTask:16,values:0,fieldInfoMap:0,expressionInfo:0,expressionInfos:0,layer:0,graphic:0,headingLevel:9,interceptor:0,location:0,messages:0,spatialReference:0,map:0,view:0}}static{this.styles=J}loaded(){this.manager.onLifecycle(()=>[I(()=>[this.expressionInfo,this.graphic],()=>this._compileThrottled(),{initial:!0}),L(()=>{if(!this._compileTask?.finished)return null;let t=this._compileTask.value,r=t?.dependencies,{view:e}=this;return[t,this.spatialReference,this.map,e,r?.has("view-scale")&&e&&"scale"in e?e.scale:null,r?.has("view-time-extent")?e?.timeExtent?.start:null,r?.has("view-time-extent")?e?.timeExtent?.end:null]},([t])=>this._evaluateThrottled(t)),{remove:()=>this._cancelThrottles()}])}_cancelThrottles(){this._compileThrottled.cancel(),this._evaluateThrottled.cancel()}_startCompile(){this._evaluateTask=m(this._evaluateTask),this._compileTask=m(this._compileTask),this._compileTask=g(async t=>{let{expressionInfo:r,graphic:e}=this,i=r?.expression;if(!i||!e)return null;let s=await R({expression:i,graphic:e});return f(t),s})}_startEvaluate(t){this._evaluateTask=m(this._evaluateTask),this._evaluateTask=g(async r=>{let{graphic:e}=this;if(!t||!e)return null;let{interceptor:i,spatialReference:s,map:a,location:o,view:n}=this,c=await t.evaluate({graphic:e,interceptor:i,location:o,map:a,options:{signal:r},spatialReference:s,view:n});f(r);let _=c&&"castAsJsonAsync"in c&&typeof c.castAsJsonAsync=="function"?c:null;if(!_)return null;let p=await _.castAsJsonAsync(r);f(r);let d=p?.type;return d==="media"?b.fromJSON(p):d==="text"?E.fromJSON(p):d==="fields"?A.fromJSON(p):null})}render(){let t=!this._compileTask?.finished||!this._evaluateTask?.finished;return l`<div class="root">${t?this._renderLoading():this._evaluateTask?.value?this._renderContent():null}</div>`}_renderContent(){let{values:t,fieldInfoMap:r}=this,e=this._evaluateTask?.value,i=e?.type,s={...t,...e?.attributes};if(!i)return null;if(i==="text"){let{text:a}=e;if(!a)return null;let o=w({values:s,fieldInfoMap:r??new Map,globalValues:s,layer:void 0,text:a});return l`<arcgis-feature-content .creator=${o} .graphic=${this.graphic}></arcgis-feature-content>`}else if(i==="media"){let{title:a,description:o,mediaInfos:n}=e;return!n?.length&&!a&&!o?null:l`<arcgis-feature-media .heading=${a??""} .values=${s} .formattedValues=${s} .description=${o??""} .mediaInfos=${n??[]} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`}else if(i==="fields"){let{title:a,description:o,fieldInfos:n}=e;return!n?.length&&!a&&!o?null:l`<arcgis-feature-fields .fieldInfos=${n??[]} .heading=${a??""} .values=${s} .graphic=${this.graphic} .layer=${this.layer} .isContentFieldInfos=${!!n} .description=${o??""} .headingLevel=${this.headingLevel} .messages=${this.messages} .expressionInfos=${this.expressionInfos}></arcgis-feature-fields>`}return null}_renderLoading(){return l`<div class="loading-container"><calcite-loader inline label></calcite-loader></div>`}};T("arcgis-feature-expression",v);return v},"core/reactiveUtils","popup/content/MediaContent","popup/content/FieldsContent","popup/content/TextContent","applications/Components/arcadeFeatureUtils",a,b,c)
2
+ import{a as $}from"./ROHGHCK6.js";import c from"./GEOME3IC.js";import b from"./HU57LQOA.js";import a from"./BOPNSNUT.js";import{a as m}from"./WJQUE4DR.js";import{R as x,_ as T,a as y,b as l}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:I,when:L},b,A,E,{compileExpression:R},{b:f,d:g},,{q:w}])=>{function h(u,t,{signal:r,edges:e=["leading","trailing"]}={}){let i=null,s=$(function(...o){i=Date.now(),u.apply(this,o)},t,{signal:r,edges:e}),a=function(...o){if(i==null&&(i=Date.now()),Date.now()-i>=t){i=Date.now(),u.apply(this,o),s.cancel(),s.schedule();return}s.apply(this,o)};return a.cancel=s.cancel,a.flush=s.flush,a}var J=y`.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}`,k=1,v=class extends x{constructor(){super(...arguments),this._compileThrottled=h(this._startCompile,k),this._evaluateThrottled=h(this._startEvaluate,k),this.headingLevel=2}static{this.properties={_compileTask:16,_evaluateTask:16,values:0,fieldInfoMap:0,expressionInfo:0,expressionInfos:0,layer:0,graphic:0,headingLevel:9,interceptor:0,location:0,messages:0,spatialReference:0,map:0,view:0}}static{this.styles=J}loaded(){this.manager.onLifecycle(()=>[I(()=>[this.expressionInfo,this.graphic],()=>this._compileThrottled(),{initial:!0}),L(()=>{if(!this._compileTask?.finished)return null;let t=this._compileTask.value,r=t?.dependencies,{view:e}=this;return[t,this.spatialReference,this.map,e,r?.has("view-scale")&&e&&"scale"in e?e.scale:null,r?.has("view-time-extent")?e?.timeExtent?.start:null,r?.has("view-time-extent")?e?.timeExtent?.end:null]},([t])=>this._evaluateThrottled(t)),{remove:()=>this._cancelThrottles()}])}_cancelThrottles(){this._compileThrottled.cancel(),this._evaluateThrottled.cancel()}_startCompile(){this._evaluateTask=m(this._evaluateTask),this._compileTask=m(this._compileTask),this._compileTask=g(async t=>{let{expressionInfo:r,graphic:e}=this,i=r?.expression;if(!i||!e)return null;let s=await R({expression:i,graphic:e});return f(t),s})}_startEvaluate(t){this._evaluateTask=m(this._evaluateTask),this._evaluateTask=g(async r=>{let{graphic:e}=this;if(!t||!e)return null;let{interceptor:i,spatialReference:s,map:a,location:o,view:n}=this,c=await t.evaluate({graphic:e,interceptor:i,location:o,map:a,options:{signal:r},spatialReference:s,view:n});f(r);let _=c&&"castAsJsonAsync"in c&&typeof c.castAsJsonAsync=="function"?c:null;if(!_)return null;let p=await _.castAsJsonAsync(r);f(r);let d=p?.type;return d==="media"?b.fromJSON(p):d==="text"?E.fromJSON(p):d==="fields"?A.fromJSON(p):null})}render(){let t=!this._compileTask?.finished||!this._evaluateTask?.finished;return l`<div class="root">${t?this._renderLoading():this._evaluateTask?.value?this._renderContent():null}</div>`}_renderContent(){let{values:t,fieldInfoMap:r}=this,e=this._evaluateTask?.value,i=e?.type,s={...t,...e?.attributes};if(!i)return null;if(i==="text"){let{text:a}=e;if(!a)return null;let o=w({values:s,fieldInfoMap:r??new Map,globalValues:s,layer:void 0,text:a});return l`<arcgis-feature-content .creator=${o} .graphic=${this.graphic}></arcgis-feature-content>`}else if(i==="media"){let{title:a,description:o,mediaInfos:n}=e;return!n?.length&&!a&&!o?null:l`<arcgis-feature-media .heading=${a??""} .values=${s} .formattedValues=${s} .description=${o??""} .mediaInfos=${n??[]} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`}else if(i==="fields"){let{title:a,description:o,fieldInfos:n}=e;return!n?.length&&!a&&!o?null:l`<arcgis-feature-fields .fieldInfos=${n??[]} .heading=${a??""} .values=${s} .graphic=${this.graphic} .layer=${this.layer} .isContentFieldInfos=${!!n} .description=${o??""} .headingLevel=${this.headingLevel} .messages=${this.messages} .expressionInfos=${this.expressionInfos}></arcgis-feature-fields>`}return null}_renderLoading(){return l`<div class="loading-container"><calcite-loader inline label></calcite-loader></div>`}};T("arcgis-feature-expression",v);return v},"core/reactiveUtils","popup/content/MediaContent","popup/content/FieldsContent","popup/content/TextContent","applications/Components/arcadeFeatureUtils",a,b,c)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import a from"./Y77AVOAH.js";import{f as r}from"./GIBXI44G.js";import"./RQT2PVDJ.js";import"./LXME6MU5.js";import{R as c,_ as o,a as i,b as l}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:d},{b:n,c:m,d:p}])=>{var g=i`.template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.template-select-container .template-select-error,.template-select-container .template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,s=class extends c{constructor(){super(...arguments),this._direction=r(),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=g}loaded(){this.manager.onLifecycle(()=>{let e,t=d(()=>this.viewModel.templateOptions.id,a=>{e?.remove(),this._selectedTemplate=a?this.viewModel.getLayoutTemplateById(a)??void 0:void 0,e=d(()=>this._selectedTemplate?.state,h=>this._templateState=h??"not-loaded",{initial:!0})},{initial:!0});return()=>{t.remove(),e?.remove()}})}render(){let e=this._selectedTemplate?m(this._selectedTemplate,this.messages):this.messages.selectTemplate;return l`<calcite-block class="template-select-container" .description=${n(this._selectedTemplate)} .heading=${e} .label=${e} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${t=>{(t.key==="Enter"||t.key===" ")&&this.showTemplateSelector()}} tabindex=0><calcite-icon .icon=${(this._selectedTemplate?.layout?p(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>${this._templateState==="error"?l`<calcite-icon class="template-select-error" icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`:null}<calcite-icon class="template-select-arrow" .icon=${this._direction==="rtl"?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon></calcite-block>`}};o("arcgis-print-template-select",s);return s},"core/reactiveUtils",a)
2
+ import a from"./Y77AVOAH.js";import{f as r}from"./Q7GF26CL.js";import"./U77WHUC6.js";import"./LXME6MU5.js";import{R as c,_ as o,a as i,b as l}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:d},{b:n,c:m,d:p}])=>{var g=i`.template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.template-select-container .template-select-error,.template-select-container .template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,s=class extends c{constructor(){super(...arguments),this._direction=r(),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=g}loaded(){this.manager.onLifecycle(()=>{let e,t=d(()=>this.viewModel.templateOptions.id,a=>{e?.remove(),this._selectedTemplate=a?this.viewModel.getLayoutTemplateById(a)??void 0:void 0,e=d(()=>this._selectedTemplate?.state,h=>this._templateState=h??"not-loaded",{initial:!0})},{initial:!0});return()=>{t.remove(),e?.remove()}})}render(){let e=this._selectedTemplate?m(this._selectedTemplate,this.messages):this.messages.selectTemplate;return l`<calcite-block class="template-select-container" .description=${n(this._selectedTemplate)} .heading=${e} .label=${e} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${t=>{(t.key==="Enter"||t.key===" ")&&this.showTemplateSelector()}} tabindex=0><calcite-icon .icon=${(this._selectedTemplate?.layout?p(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>${this._templateState==="error"?l`<calcite-icon class="template-select-error" icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`:null}<calcite-icon class="template-select-arrow" .icon=${this._direction==="rtl"?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon></calcite-block>`}};o("arcgis-print-template-select",s);return s},"core/reactiveUtils",a)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{E as xt,F as at,K as q,P as E,R as rt,h as j}from"./6KYZMT4A.js";import{A as K,I as pt,S as O,W as mt,f as st,h as ct,r as gt,t as nt,x as I}from"./AMRGLUBB.js";import{a as X}from"./UDXDE3LW.js";import{Q as ft,b as it,g as y,p as M,r as dt}from"./6SL7YNKF.js";var S=class extends at{_beforeChanged(){super._beforeChanged(),(this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL"))&&(this._clear=!0)}_draw(){let e=this.width(),t=this.height(),s=e/Math.abs(e),i=t/Math.abs(t),a=0,r=0,h=this.get("strokeWidth",0);this.get("containStroke",!1)&&(e-=s*h,t-=i*h,a+=s*h/2,r+=i*h/2);let l=e,d=t;if(y(l)&&y(d)){let u=Math.min(l,d)/2,p=I(this.get("cornerRadiusTL",8),u),f=I(this.get("cornerRadiusTR",8),u),m=I(this.get("cornerRadiusBR",8),u),T=I(this.get("cornerRadiusBL",8),u),_=Math.min(Math.abs(l/2),Math.abs(d/2));p=j(p,0,_),f=j(f,0,_),m=j(m,0,_),T=j(T,0,_);let g=this._display;g.moveTo(a+p*s,r),g.lineTo(a+l-f*s,r),f>0&&g.arcTo(a+l,r,a+l,r+f*i,f),g.lineTo(a+l,r+d-m*i),m>0&&g.arcTo(a+l,r+d,a+l-m*s,r+d,m),g.lineTo(a+T*s,r+d),T>0&&g.arcTo(a,r+d,a,r+d-T*i,T),g.lineTo(a,r+p*i),p>0&&g.arcTo(a,r,a+p*s,r,p),g.closePath()}}};S.className="RoundedRectangle";S.classNames=at.classNames.concat([S.className]);var F=class extends E{_afterNew(){this._settings.themeTags=O(this._settings.themeTags,["button"]),super._afterNew(),this._setDefaultTagged("background",O(this._settings.themeTags,["background"]),()=>S.new(this._root,{})),this.setPrivate("trustBounds",!0)}_prepareChildren(){if(super._prepareChildren(),this.isDirty("icon")){let e=this._prevSettings.icon,t=this.get("icon");t!==e&&(this._disposeProperty("icon"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.icon=t)}if(this.isDirty("label")){let e=this._prevSettings.label,t=this.get("label");t!==e&&(this._disposeProperty("label"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.label=t)}}};F.className="Button";F.classNames=E.classNames.concat([F.className]);function At(n,e,t,s){let i=[];return e&&e.fontVariant?i.push(e.fontVariant):n.fontVariant&&i.push(n.fontVariant),t||(e&&e.fontWeight?i.push(e.fontWeight):n.fontWeight&&i.push(n.fontWeight)),e&&e.fontStyle?i.push(e.fontStyle):n.fontStyle&&i.push(n.fontStyle),e&&e.fontSize?(e.fontSize=Z(e.fontSize),i.push(e.fontSize)):n.fontSize&&(n.fontSize=Z(n.fontSize),i.push(n.fontSize)),n.fontFamily=="inherit"?i.push(s()):e&&e.fontFamily?i.push(e.fontFamily):n.fontFamily?i.push(n.fontFamily):i.length&&i.push("Arial"),i.join(" ")}function Z(n){return y(n)||/^\s*\d*\.?\d+\s*$/.test(n)?parseFloat(n+"")+"px":n}var yt=/[\d.](r?em|%|ex|ch|v[wh])(?![a-z])|\b(smaller|larger|(xx?-)?small|medium|(xx?-)?large)\b/i;function Mt(n,e){if(!yt.test(e))return e;n.save(),n.font="1px am5-unresolved",n.font=e;let t=n.font;return n.restore(),t.indexOf("am5-unresolved")===-1?t:e}function Pt(n,e,t){n.save(),n.font=e,n.textBaseline="alphabetic";let s=n.measureText("Hg");n.textBaseline=t;let i=n.measureText("Hg");return n.restore(),s.fontBoundingBoxAscent!=null&&i.fontBoundingBoxAscent!=null?s.fontBoundingBoxAscent-i.fontBoundingBoxAscent:s.actualBoundingBoxAscent-i.actualBoundingBoxAscent}function Vt(){return/apple/i.test(navigator.vendor)}function k(n,e,t){let s=e.measureText(n),i={};if(s.actualBoundingBoxAscent==null){let r=document.createElement("div");r.innerText=n,r.style.visibility="hidden",r.style.position="absolute",r.style.top="-1000000px;",r.style.fontFamily=t.fontFamily||"",r.style.fontSize=t.fontSize+"",document.body.appendChild(r);let h=r.getBoundingClientRect();document.body.removeChild(r);let l=h.height,d=s.width;i={actualBoundingBoxAscent:l,actualBoundingBoxDescent:0,actualBoundingBoxLeft:0,actualBoundingBoxRight:d,fontBoundingBoxAscent:l,fontBoundingBoxDescent:0,width:d}}else i={actualBoundingBoxAscent:s.actualBoundingBoxAscent,actualBoundingBoxDescent:s.actualBoundingBoxDescent,actualBoundingBoxLeft:s.actualBoundingBoxLeft,actualBoundingBoxRight:s.actualBoundingBoxRight,fontBoundingBoxAscent:s.actualBoundingBoxAscent,fontBoundingBoxDescent:s.actualBoundingBoxDescent,width:s.width};let a=s.width;switch(t.textAlign){case"right":case"end":i.actualBoundingBoxLeft=a,i.actualBoundingBoxRight=0;break;case"center":i.actualBoundingBoxLeft=a/2,i.actualBoundingBoxRight=a/2;break;default:i.actualBoundingBoxLeft=0,i.actualBoundingBoxRight=a}return i}function bt(n,e,t=!1){let s=n.maxWidth,i=t?void 0:n.maxHeight;if(!y(s)&&!y(i))return 1;let a=e.right-e.left,r=e.bottom-e.top;return Math.min(s/a||1,i/r||1)}function _t(n,e,t,s,i=!1,a=!0){let r;do{if(i)t=t.slice(0,-1);else{let l=t.replace(/(?:[^,;:!?\\\/\s​]|,(?=\d))+[,;:!?\\\/\s​]*$/g,"");if((l==""||l===t)&&a)i=!0;else{if(l=="")return t;t=l}}let h=k(t,n,e);r=h.actualBoundingBoxLeft+h.actualBoundingBoxRight}while(r>s&&t!="");return t}function kt(n,e,t,s,i){let a=t.direction=="rtl";i.lines=[];let r=t.oversizedBehavior,h=t.maxWidth,l=y(h)&&r=="truncate",d=y(h)&&(r=="wrap"||r=="wrap-no-break"),u="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ",p=e.toString().replace(/\r/g,"").split(/\n/),f=!0,m=0,T=0,_=0,g;M(p,(c,z)=>{let b;for(c==""?b=[{type:"value",text:""}]:b=q.chunk(c,!1,t.ignoreFormatting);b.length>0;){let o={offsetY:_,ascent:0,width:0,height:0,left:0,right:0,textChunks:[]},$=k(u,n,t),ht=$.actualBoundingBoxAscent+$.actualBoundingBoxDescent;o.height=ht,o.ascent=$.actualBoundingBoxAscent;let w,R=t.textDecoration,G,v,P=!1,D=!0,N=[],tt;dt(b,(C,lt)=>{if(C.type=="format")if(C.text=="[/]")f||(n.restore(),f=!0),G=void 0,g=void 0,v=void 0,R=t.textDecoration,tt=void 0,w=C.text;else{f||n.restore();let x=q.getTextStyle(C.text),A=s(x);n.save(),n.font=A,g=A,w=C.text,x.textDecoration&&(R=x.textDecoration),x.fill&&(G=x.fill),x.width&&(v=it(x.width)),x.verticalAlign&&(tt=x.verticalAlign),f=!1;let L=k(u,n,t),H=L.actualBoundingBoxAscent+L.actualBoundingBoxDescent;H>o.height&&(o.height=H),L.actualBoundingBoxAscent>o.ascent&&(o.ascent=L.actualBoundingBoxAscent)}else if(C.type=="value"&&!P){let x=k(C.text,n,t),A=x.actualBoundingBoxLeft+x.actualBoundingBoxRight;if(l){i.truncated=void 0;let V=D||t.breakWords||!1,W=t.ellipsis||"",Y=k(W,n,t),ut=Y.actualBoundingBoxLeft+Y.actualBoundingBoxRight;if(o.width+A>h){let Bt=h-o.width-ut;C.text=_t(n,t,C.text,Bt,V),C.text+=W,P=!0,i.truncated=!0}}else if(d&&o.width+A>h){let V=h-o.width,W=_t(n,t,C.text,V,!1,D&&t.oversizedBehavior!="wrap-no-break");if(W=="")return i.textVisible=!0,!1;if(!D){let Y=k(K(W),n,t);if(Y.actualBoundingBoxLeft+Y.actualBoundingBoxRight>V)return N=b.slice(lt),w&&N.unshift({type:"format",text:w}),b=[],!1}N=b.slice(lt+1),K(W)!=K(C.text)&&(N.unshift({type:"value",text:C.text.substr(W.length)}),w&&N.unshift({type:"format",text:w})),C.text=K(W),b=[],P=!0}let L=1,H=1;if(g&&v&&v>A){let V=A/v;switch(t.textAlign){case"right":case"end":L=V;break;case"center":L=V,H=V;break;default:H=V}A=v}let et=x.actualBoundingBoxAscent+x.actualBoundingBoxDescent;et>o.height&&(o.height=et),x.actualBoundingBoxAscent>o.ascent&&(o.ascent=x.actualBoundingBoxAscent),o.width+=A,o.left+=x.actualBoundingBoxLeft/L,o.right+=x.actualBoundingBoxRight/H,o.textChunks.push({style:g,fill:G,text:C.text,width:A,height:et,left:x.actualBoundingBoxLeft,right:x.actualBoundingBoxRight,ascent:x.actualBoundingBoxAscent,offsetX:0,offsetY:0,textDecoration:R,verticalAlign:tt}),D=!1}return!0}),t.lineHeight instanceof X?(o.height*=t.lineHeight.value,o.ascent*=t.lineHeight.value):(o.height*=t.lineHeight||1.2,o.ascent*=t.lineHeight||1.2),m<o.left&&(m=o.left),T<o.right&&(T=o.right),i.lines.push(o),_+=o.height,b=N||[]}}),f||n.restore(),M(i.lines,(c,z)=>{let b=0;M(c.textChunks,o=>{if(o.offsetX=b+o.left-c.left,o.offsetY+=c.height-c.height*(t.baselineRatio||.19),b+=o.width*(a?-1:1),o.verticalAlign)switch(o.verticalAlign){case"super":o.offsetY-=c.height/2-o.height/2;break;case"sub":o.offsetY+=o.height/2;break}})});let B={left:a?-T:-m,top:0,right:a?m:T,bottom:_};if(r!=="none"){let c=bt(t,B,r=="truncate");if(c<1)if(r=="fit")y(t.minScale)&&c<t.minScale?(i.textVisible=!1,B.left=0,B.top=0,B.right=0,B.bottom=0):(i.originalScale||(i.originalScale=i.scale),i.scale=c,i.textVisible=!0);else if(r=="hide")i.textVisible=!1,B.left=0,B.top=0,B.right=0,B.bottom=0;else{switch(t.textAlign){case"right":case"end":B.left=a?h:-h,B.right=0;break;case"center":B.left=-h/2,B.right=h/2;break;default:B.left=0,B.right=a?-h:h}i.scale=i.originalScale||1,i.originalScale=void 0,i.textVisible=!0}else i.scale=i.originalScale||1,i.originalScale=void 0,i.textVisible=!0}return B}function Lt(n,e,t,s,i){let a=t.direction=="rtl";i.textVisible=!0,i.lines=[];let r=t.oversizedBehavior,h=t.maxWidth,l=y(h)&&r=="truncate",d=t.ellipsis||"",u,p=e.toString().replace(/\r/g,"").split(/\n/),f=!0,m=0,T=0;return M(p,(_,g)=>{let B=q.chunk(_,!1,t.ignoreFormatting),c={offsetY:T,ascent:0,width:0,height:0,left:0,right:0,textChunks:[]},z,b,o;M(B,($,ht)=>{if($.type=="format"){if($.text=="[/]")f||(n.restore(),f=!0),b=void 0,z=void 0,o=void 0;else{let w=q.getTextStyle($.text),R=s(w);n.save(),n.font=R,z=R,w.fill&&(b=w.fill),w.width&&(o=it(w.width)),f=!1}l&&(u=k(d,n,t))}else if($.type=="value"){let w=$.text.match(/./ug)||[];a&&(w=pt($.text),w.reverse());for(let R=0;R<w.length;R++){let G=w[R],v=k(G,n,t),P=v.width;z&&o&&o>P&&(P=o);let D=v.actualBoundingBoxAscent+v.actualBoundingBoxDescent;if(D>c.height&&(c.height=D),v.actualBoundingBoxAscent>c.ascent&&(c.ascent=v.actualBoundingBoxAscent),m+=P,l){u||(u=k(d,n,t));let N=u.actualBoundingBoxLeft+u.actualBoundingBoxRight;if(m+N>h){c.textChunks.length==1?i.textVisible=!1:(c.width+=N,c.left+=u.actualBoundingBoxLeft,c.right+=u.actualBoundingBoxRight,c.textChunks.push({style:z,fill:b,text:d,width:N,height:D+u.actualBoundingBoxDescent,left:u.actualBoundingBoxLeft,right:u.actualBoundingBoxRight,ascent:u.actualBoundingBoxAscent,offsetX:0,offsetY:D,textDecoration:void 0}));break}}c.width+=P,c.left+=v.actualBoundingBoxLeft,c.right+=v.actualBoundingBoxRight,c.textChunks.push({style:z,fill:b,text:G,width:P,height:D+v.actualBoundingBoxDescent,left:v.actualBoundingBoxLeft,right:v.actualBoundingBoxRight,ascent:v.actualBoundingBoxAscent,offsetX:0,offsetY:D,textDecoration:void 0})}}}),t.lineHeight instanceof X?c.height*=t.lineHeight.value:c.height*=t.lineHeight||1.2,i.lines.push(c),T+=c.height}),f||n.restore(),r=="hide"&&m>h&&(i.textVisible=!1),M(i.lines,_=>{M(_.textChunks,g=>{g.offsetY+=Math.round((_.height-g.height+(_.ascent-g.ascent))/2)})}),{left:0,top:0,right:0,bottom:0}}var J=class extends rt{_afterNew(){super._afterNew();let e=this.children.push(E.new(this._root,{html:'<textarea class="am5-editable-label"></textarea>',isMeasured:!1}));e.hide(),this.setPrivate("input",e),this._setDefaultTagged("background",["editablelabel","background"],()=>S.new(this._root,{}))}_beforeChanged(){if(super._beforeChanged(),this.isDirty("editOn")){this._editOnEvents&&this._editOnEvents.dispose();let e=this.get("editOn","click");e!="none"&&(this._editOnEvents=new ft([this.getPrivate("input").events.on(e,t=>{}),this.events.on(e,t=>{this.set("active",!0)})]))}}_prepareChildren(){super._prepareChildren(),this._maybeInitTextarea()}_updateChildren(){if(super._updateChildren(),this.isDirty("active")){let e=this.get("active",!1);e?this._startEditing():this._stopEditing();let t=this.get("background");t&&t.set("active",e)}this._syncText(),this._syncStyle()}_maybeInitTextarea(){if(!this._isInited()){let e=this.getPrivate("input");if(e&&e.getPrivate("htmlElement")){let s=e.getPrivate("htmlElement").querySelector(".am5-editable-label");s&&(this.setPrivate("textarea",s),s.addEventListener("input",i=>{this.get("multiLine")===!1&&(s.value=s.value.replace(/\n/g," ")),this.set("text",s.value),this._syncStyle()}),s.addEventListener("blur",i=>this.set("active",!1)),ct("keyboardevents")&&this._disposers.push(st(s,"keydown",i=>{nt(i)=="Escape"&&this.set("active",!1)})),this._disposers.push(st(s,"keydown",i=>{nt(i)=="Enter"&&this.get("multiLine")===!1&&(i.preventDefault(),this.set("active",!1))})),this.events.dispatch("inited",{type:"inited",target:this}))}}}_isInited(){return!!this.getPrivate("textarea")}_startEditing(){if(!this._isInited()){this.events.once("inited",()=>{this._startEditing()});return}this._text.set("opacity",0);let e=this.getPrivate("input"),t=this.getPrivate("textarea");t&&(this.get("text","")==""&&this.set("text"," "),e.show(0),this.setTimeout(()=>{this._syncStyle(),t.focus()},100))}_stopEditing(){if(!this._isInited()){this.events.once("inited",()=>{this._stopEditing()});return}let e=this.getPrivate("input"),t=this.getPrivate("textarea");t&&(this.set("text",t.value),e.hide(0),this._text.set("opacity",1))}_syncStyle(){let e=this.getPrivate("input"),t=this.getPrivate("textarea"),s=e.getPrivate("htmlElement");if(t&&s){let i=window.getComputedStyle(t);M(i,f=>{t.style[f]="initial"}),t.style.color=this.get("fill",mt(0)).toCSS(this.get("fillOpacity",1)),t.style.backgroundColor="rgba(0, 0, 0, 0)",t.style.border="none",t.style.outline="none",t.style.padding="0",t.wrap="off",t.style.resize="none",t.style.overflow="hidden";let a=this.get("maxWidth",0)-this.get("paddingLeft",0)-this.get("paddingRight",0);a>0?t.style.maxWidth=a+"px":t.style.minWidth="",t.style.height="auto",t.style.minHeight=t.scrollHeight+"px",this.get("width")&&(t.style.width=this.width()-this.get("paddingLeft",0)-this.get("paddingRight",0)+"px",t.style.minWidth="");let r=this.get("lineHeight");r?r instanceof X?t.style.lineHeight=r.value+"":y(r)&&(t.style.lineHeight=r+""):t.style.lineHeight="1.2";let h=this.get("fontFamily");h||(h=getComputedStyle(s,"font-family").getPropertyValue("font-family")),t.style.fontFamily=h;let l=this.get("fontSize");l?l=Z(l):l=getComputedStyle(s,"font-size").getPropertyValue("font-size"),t.style.fontSize=l;let d=this.get("fontWeight");d?d=d:d=getComputedStyle(s,"font-weight").getPropertyValue("font-weight"),t.style.fontWeight=d;let u=this.get("fontStyle");u?u=u:u=getComputedStyle(s,"font-style").getPropertyValue("font-style"),t.style.fontStyle=u,this.get("oversizedBehavior")=="wrap"?t.style.whiteSpace="pre-wrap":t.style.whiteSpace="nowrap",this._frameDp||(this._frameDp=this.addDisposer(this._root.events.on("frameended",()=>{t.style.minWidth==""&&(t.style.minWidth=t.scrollWidth+20+"px");let f=this.get("textAlign","start");f=="center"?(t.style.textAlign="center",!s.style.transform.match(/translateX/)&&!this.get("width")&&(s.style.transform+=" translateX(-50%)")):f=="end"?(t.style.textAlign="right",!s.style.transform.match(/translateX/)&&!this.get("width")&&(s.style.transform+=" translateX(-100%)")):t.style.textAlign=f})))}}_syncText(){let e=this.getPrivate("textarea"),t=this.get("text","");t==" "&&(t=""),e&&(e.value=t)}};J.className="EditableLabel";J.classNames=rt.classNames.concat([J.className]);var Q=class extends E{constructor(){super(...arguments),this.thumb=this._makeThumb(),this.startGrip=this._makeButton(),this.endGrip=this._makeButton(),this._thumbBusy=!1,this._startDown=!1,this._endDown=!1,this._thumbDown=!1}_addOrientationClass(){this._settings.themeTags=O(this._settings.themeTags,["scrollbar",this._settings.orientation]),this._setDefaultTagged("background",O(this._settings.themeTags,["main","background"]),()=>S.new(this._root,{}))}_makeButton(){return this.children.push(F.new(this._root,{themeTags:["resize","button",this.get("orientation")],icon:xt.new(this._root,{themeTags:["icon"]})._markC("themeTags")})._markC("themeTags","icon"))}_makeThumb(){return this.children.push(S.new(this._root,{themeTags:["thumb",this.get("orientation")]})._markC("themeTags"))}_handleAnimation(e){e&&this._disposers.push(e.events.on("stopped",()=>{this.setPrivateRaw("isBusy",!1),this._thumbBusy=!1}))}_afterNew(){this._addOrientationClass(),super._afterNew();let e=this.startGrip,t=this.endGrip,s=this.thumb,i=this.get("background");i&&this._disposers.push(i.events.on("click",a=>{this.setPrivateRaw("isBusy",!0);let r=this._display.toLocal(a.point),h=this.width(),l=this.height(),d=this.get("orientation"),u;d=="vertical"?u=(r.y-s.height()/2)/l:u=(r.x-s.width()/2)/h;let p,f;d=="vertical"?(p=u*l,f="y"):(p=u*h,f="x");let m=this.get("animationDuration",0);m>0?(this._thumbBusy=!0,this._handleAnimation(this.thumb.animate({key:f,to:p,duration:m,easing:this.get("animationEasing")}))):(this.thumb._setC(f,p),this._root.events.once("frameended",()=>{this.setPrivateRaw("isBusy",!1)}))})),this._disposers.push(s.events.on("dblclick",a=>{if(!gt(a.originalEvent,this))return;let r=this.get("animationDuration",0),h=this.get("animationEasing");this.animate({key:"start",to:0,duration:r,easing:h}),this.animate({key:"end",to:1,duration:r,easing:h})})),this._disposers.push(e.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._startDown=!0,this._gripDown="start"})),this._disposers.push(t.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._endDown=!0,this._gripDown="end"})),this._disposers.push(s.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._thumbDown=!0,this._gripDown=void 0})),this._disposers.push(e.events.on("globalpointerup",()=>{this._startDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._startDown=!1})),this._disposers.push(t.events.on("globalpointerup",()=>{this._endDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._endDown=!1})),this._disposers.push(s.events.on("globalpointerup",()=>{this._thumbDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._thumbDown=!1})),this._disposers.push(e.on("x",()=>{this._updateThumb()})),this._disposers.push(t.on("x",()=>{this._updateThumb()})),this._disposers.push(e.on("y",()=>{this._updateThumb()})),this._disposers.push(t.on("y",()=>{this._updateThumb()})),this._disposers.push(s.events.on("positionchanged",()=>{this._updateGripsByThumb()})),this.get("orientation")=="vertical"?(e._setC("x",0),t._setC("x",0),this._disposers.push(s.adapters.add("y",a=>Math.max(Math.min(Number(a),this.height()-s.height()),0))),this._disposers.push(s.adapters.add("x",a=>this.width()/2)),this._disposers.push(e.adapters.add("x",a=>this.width()/2)),this._disposers.push(t.adapters.add("x",a=>this.width()/2)),this._disposers.push(e.adapters.add("y",a=>Math.max(Math.min(Number(a),this.height()),0))),this._disposers.push(t.adapters.add("y",a=>Math.max(Math.min(Number(a),this.height()),0)))):(e._setC("y",0),t._setC("y",0),this._disposers.push(s.adapters.add("x",a=>Math.max(Math.min(Number(a),this.width()-s.width()),0))),this._disposers.push(s.adapters.add("y",a=>this.height()/2)),this._disposers.push(e.adapters.add("y",a=>this.height()/2)),this._disposers.push(t.adapters.add("y",a=>this.height()/2)),this._disposers.push(e.adapters.add("x",a=>Math.max(Math.min(Number(a),this.width()),0))),this._disposers.push(t.adapters.add("x",a=>Math.max(Math.min(Number(a),this.width()),0))))}_updateChildren(){super._updateChildren(),(this.isDirty("end")||this.isDirty("start")||this._sizeDirty)&&this.updateGrips()}_changed(){if(super._changed(),this.isDirty("start")||this.isDirty("end")){let e="rangechanged";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this,start:this.get("start",0),end:this.get("end",1),grip:this._gripDown})}}_released(){let e="released";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this})}updateGrips(){let e=this.startGrip,t=this.endGrip,s=this.get("orientation"),i=this.height(),a=this.width();s=="vertical"?(e._setC("y",i*this.get("start",0)),t._setC("y",i*this.get("end",1))):(e._setC("x",a*this.get("start",0)),t._setC("x",a*this.get("end",1)));let r=this.getPrivate("positionTextFunction"),h=Math.round(this.get("start",0)*100),l=Math.round(this.get("end",0)*100),d,u;r?(d=r.call(this,this.get("start",0)),u=r.call(this,this.get("end",0),!0)):(d=h+"%",u=l+"%"),e._setC("ariaLabel",this._t("From %1",void 0,d)),e._setC("ariaValueNow",""+h),e._setC("ariaValueText",h+"%"),e._setC("ariaValueMin","0"),e._setC("ariaValueMax","100"),t._setC("ariaLabel",this._t("To %1",void 0,u)),t._setC("ariaValueNow",""+l),t._setC("ariaValueText",l+"%"),t._setC("ariaValueMin","0"),t._setC("ariaValueMax","100")}_updateThumb(){let e=this.thumb,t=this.startGrip,s=this.endGrip,i=this.height(),a=this.width(),r=t.x(),h=s.x(),l=t.y(),d=s.y(),u=0,p=1;this.get("orientation")=="vertical"?y(l)&&y(d)&&(!this._thumbBusy&&!e.isDragging()&&(e._setC("height",d-l),e._setC("y",l)),u=l/i,p=d/i):y(r)&&y(h)&&(!this._thumbBusy&&!e.isDragging()&&(e._setC("width",h-r),e._setC("x",r)),u=r/a,p=h/a),this.getPrivate("isBusy")&&(this.get("start")!=u||this.get("end")!=p)&&(this._setC("start",u),this._setC("end",p));let f=this.getPrivate("positionTextFunction"),m=Math.round(this.get("start",0)*100),T=Math.round(this.get("end",0)*100),_,g;f?(_=f.call(this,this.get("start",0)),g=f.call(this,this.get("end",0),!0)):(_=m+"%",g=T+"%"),e._setC("ariaLabel",this._t("From %1 to %2",void 0,_,g)),e._setC("ariaValueNow",""+m),e._setC("ariaValueText",m+"%")}_updateGripsByThumb(){let e=this.thumb,t=this.startGrip,s=this.endGrip;if(this.get("orientation")=="vertical"){let i=e.height();t._setC("y",e.y()),s._setC("y",e.y()+i)}else{let i=e.width();t._setC("x",e.x()),s._setC("x",e.x()+i)}}};Q.className="Scrollbar";Q.classNames=E.classNames.concat([Q.className]);export{At as a,Mt as b,Pt as c,Vt as d,k as e,kt as f,Lt as g,S as h,F as i,J as j,Q as k};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import a from"./GPYZM5CC.js";import"./REB4CHAK.js";import"./Q7GF26CL.js";import"./U77WHUC6.js";import"./LXME6MU5.js";import"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([,{c:r}])=>{return r},"widgets/BatchAttributeForm/inputs/support/inputUtils",a)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as D,b as N}from"./RQT2PVDJ.js";import{b as _,e as A}from"./LXME6MU5.js";import{h as C,j as P,k as O,l as h,m,n as w,o as f,v,w as L,y as g}from"./7IGSTLKW.js";var V=e=>(...r)=>{let t=m(),s=new e(...r),o=s.exports;h(t.at(-1));let n=s.component.manager;n.W(s,o),s.watchExports(n.W.bind(n,s)),w(s);let a=[s.component,...t].reverse();return v(a,i=>i===void 0?void 0:U(s,i,o),o)},U=(e,{host:r,key:t,isReactive:s},o)=>{let n=r,a=n[t]!==e.exports,i=n[t]!==o,c=o!==e.exports;if(a&&!i&&c&&(n[t]=e.exports),r===e.component){if(s){let p=e.component.manager;i&&p.W(e,n[t]),e.onUpdate(u=>{if(u.has(t)){let x=n[t];x!==e.exports&&p.W(e,x)}})}e.O=s?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{n[t]!==e.exports&&(d?f(()=>{n[t]=e.exports}):n[t]=e.exports)})};var y=e=>M(void 0,e),re=e=>r=>M(r,e),b=class extends g{constructor(r,t){super(r);let s=this.exports;try{P(this.component);let o=t(this.component,this),n=this.exports!==s;if(C(o)){n||this.setProvisionalExports(o);let a=o.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i)});this.onLoad(async()=>await a)}else(!n||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this.P.reject(o)}}catchUpLifecycle(){}},M=V(b),ne=(e,r)=>new E(e,r),E=class extends g{#e;#t;#s;constructor(r,t){super(),!!1&&(this.#t=r,this.#s=t,this.#e=new MutationObserver(s=>{s.forEach(o=>{r.includes(o.attributeName)&&t.call(this.component,this.component.el.getAttribute(o.attributeName),o.oldValue,o.attributeName)})}))}hostConnected(){this.#t.forEach(r=>{this.component.el.hasAttribute(r)&&this.#s.call(this.component,this.component.el.getAttribute(r),null,r)}),this.#e.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this.#t})}hostDisconnected(){this.#e.disconnect()}};var ie=e=>y((r,t)=>{let s=globalThis.matchMedia(e),o=()=>{t.exports=s.matches};o(),t.onLifecycle(()=>(s.addEventListener("change",o),()=>s.removeEventListener("change",o)))}),j="ltr",ae=()=>y((e,r)=>{r.exports=j,r.onLifecycle(()=>{let t=()=>{let s=A(e.el,"dir",j);r.exports=s==="rtl"?"rtl":"ltr"};return t(),_(e.el,["dir"],t)})}),ce=e=>(r={})=>y((t,s)=>{let o=D(t.el),n={_lang:o.lang,_t9nLocale:o.t9nLocale,_loading:!0},a=t;s.onLifecycle(()=>N(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};s.exports=p;let u=l.componentLabel;typeof u=="string"&&"label"in t&&t.label==null&&(t.label??=u),i(a.messageOverrides)},r.name));let i=c=>{let l=s.exports,d=l._original??l,p=R(d,c);c&&(p._original=d),s.exports=p};return"messageOverrides"in a&&s.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),r.blocking?(s.setProvisionalExports(n,!1),s.ready):n}),R=(e,r)=>{if(!r)return e;let t={...e};return Object.entries(r).forEach(([s,o])=>{e[s]!==void 0&&(typeof o=="object"?t[s]=R(e[s],o):t[s]=o??e[s])}),t},pe=e=>K,F="arcgisPropertyChange",K=(...e)=>{let r=O(),t=L(F,void 0,r),s=!0;return r.manager.onUpdated(o=>{if(s||!r.el.isConnected){s=!1;return}for(let n of e)o.has(n)&&t.emit({name:n})}),t};export{V as a,y as b,re as c,ne as d,ie as e,ae as f,ce as g,pe as h};
2
+ import{a as D,b as N}from"./U77WHUC6.js";import{b as _,e as A}from"./LXME6MU5.js";import{h as C,j as P,k as O,l as h,m,n as w,o as f,v,w as L,y as g}from"./PQ7NUE5C.js";var V=e=>(...r)=>{let t=m(),s=new e(...r),o=s.exports;h(t.at(-1));let n=s.component.manager;n.W(s,o),s.watchExports(n.W.bind(n,s)),w(s);let a=[s.component,...t].reverse();return v(a,i=>i===void 0?void 0:U(s,i,o),o)},U=(e,{host:r,key:t,isReactive:s},o)=>{let n=r,a=n[t]!==e.exports,i=n[t]!==o,c=o!==e.exports;if(a&&!i&&c&&(n[t]=e.exports),r===e.component){if(s){let p=e.component.manager;i&&p.W(e,n[t]),e.onUpdate(u=>{if(u.has(t)){let x=n[t];x!==e.exports&&p.W(e,x)}})}e.O=s?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{n[t]!==e.exports&&(d?f(()=>{n[t]=e.exports}):n[t]=e.exports)})};var y=e=>M(void 0,e),re=e=>r=>M(r,e),b=class extends g{constructor(r,t){super(r);let s=this.exports;try{P(this.component);let o=t(this.component,this),n=this.exports!==s;if(C(o)){n||this.setProvisionalExports(o);let a=o.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i)});this.onLoad(async()=>await a)}else(!n||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this.P.reject(o)}}catchUpLifecycle(){}},M=V(b),ne=(e,r)=>new E(e,r),E=class extends g{#e;#t;#s;constructor(r,t){super(),!!1&&(this.#t=r,this.#s=t,this.#e=new MutationObserver(s=>{s.forEach(o=>{r.includes(o.attributeName)&&t.call(this.component,this.component.el.getAttribute(o.attributeName),o.oldValue,o.attributeName)})}))}hostConnected(){this.#t.forEach(r=>{this.component.el.hasAttribute(r)&&this.#s.call(this.component,this.component.el.getAttribute(r),null,r)}),this.#e.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this.#t})}hostDisconnected(){this.#e.disconnect()}};var ie=e=>y((r,t)=>{let s=globalThis.matchMedia(e),o=()=>{t.exports=s.matches};o(),t.onLifecycle(()=>(s.addEventListener("change",o),()=>s.removeEventListener("change",o)))}),j="ltr",ae=()=>y((e,r)=>{r.exports=j,r.onLifecycle(()=>{let t=()=>{let s=A(e.el,"dir",j);r.exports=s==="rtl"?"rtl":"ltr"};return t(),_(e.el,["dir"],t)})}),ce=e=>(r={})=>y((t,s)=>{let o=D(t.el),n={_lang:o.lang,_t9nLocale:o.t9nLocale,_loading:!0},a=t;s.onLifecycle(()=>N(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};s.exports=p;let u=l.componentLabel;typeof u=="string"&&"label"in t&&t.label==null&&(t.label??=u),i(a.messageOverrides)},r.name));let i=c=>{let l=s.exports,d=l._original??l,p=R(d,c);c&&(p._original=d),s.exports=p};return"messageOverrides"in a&&s.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),r.blocking?(s.setProvisionalExports(n,!1),s.ready):n}),R=(e,r)=>{if(!r)return e;let t={...e};return Object.entries(r).forEach(([s,o])=>{e[s]!==void 0&&(typeof o=="object"?t[s]=R(e[s],o):t[s]=o??e[s])}),t},pe=e=>K,F="arcgisPropertyChange",K=(...e)=>{let r=O(),t=L(F,void 0,r),s=!0;return r.manager.onUpdated(o=>{if(s||!r.el.isConnected){s=!1;return}for(let n of e)o.has(n)&&t.emit({name:n})}),t};export{V as a,y as b,re as c,ne as d,ie as e,ae as f,ce as g,pe as h};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as A,b as v}from"./ZPA5JUPD.js";import c from"./CESPPRYQ.js";import a from"./HU57LQOA.js";import"./GIBXI44G.js";import"./RQT2PVDJ.js";import{a as b}from"./LXME6MU5.js";import{R as L,T as y,U as $,X as o,_ as I,a as k,b as i,o as _}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([P,x,C,T,{watch:S},,{e:u}])=>{var z=k`:host([empty]){display:none}.item-link{display:flex;flex-grow:1;color:var(--calcite-color-text-3)}.item-link:visited,.item-link:hover,.item-link:focus-visible,.item-link:active{color:var(--calcite-color-text-1)}.item-link img{max-width:100%;max-height:100%;object-fit:contain}.item-link--list{align-items:center;justify-content:center;width:64px;max-height:64px;overflow:hidden;border-radius:var(--calcite-corner-radius-sm)}.item-link--list img{border-radius:var(--calcite-corner-radius-sm)}.item-link--list-icon{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.item-link--list calcite-icon{margin:var(--calcite-spacing-lg)}.item-link--preview{align-items:center;justify-content:center}.item-link--preview calcite-icon{margin-block:var(--calcite-spacing-lg)}.item-description{text-align:center;word-wrap:break-word;word-break:break-word}calcite-link{--calcite-link-text-color: var(--calcite-color-text-3);padding-inline:var(--calcite-spacing-sm);word-wrap:break-word;word-break:break-word}calcite-card{width:100%}calcite-card:hover,calcite-card:focus,calcite-card:focus-within{--calcite-card-border-color: var(--calcite-color-text-1)}`,R=C.ofType(P),w=class extends L{constructor(){super(...arguments),this._attachmentLayer=null,this._supportsImageOrientation=window?.CSS?.supports("image-orientation","from-image"),this.hideSection=!1,this._attachmentInfos=new R,this.headingLevel=2,this.hidePreviewImageAttachmentName=!1,this.empty=!1}static{this.properties={effectiveDisplayType:16,getAttachmentsPromise:16,hideSection:16,_attachmentInfos:16,_hasContent:16,supportsResizeAttachments:16,attachmentKeywords:0,attachmentTypes:0,description:1,displayType:1,graphic:0,heading:1,messages:0,orderByFields:0,headingLevel:9,hidePreviewImageAttachmentName:5,empty:39}}static{this.styles=z}get _supportsTypeWildcard(){let{graphic:e}=this;if(!e)return!1;let t=u(e);return t?.loaded&&"capabilities"in t&&t.capabilities&&"attachment"in t.capabilities&&t.capabilities.attachment&&"supportsResize"in t.capabilities.attachment&&t.capabilities.attachment.supportsTypeWildcard||!1}get effectiveDisplayType(){let{displayType:e}=this;return!e||e==="auto"?this.supportsResizeAttachments?"preview":"list":e}get _hasContent(){return this._attachmentInfos.length>0||this.getAttachmentsPromise!=null}get supportsResizeAttachments(){let{graphic:e}=this;if(!e)return!1;let t=u(e);return t?.loaded&&"capabilities"in t&&t.capabilities&&"attachment"in t.capabilities&&t.capabilities.attachment&&"supportsResize"in t.capabilities.attachment&&t.capabilities.attachment.supportsResize||!1}loaded(){this.manager.onLifecycle(()=>[S(()=>this.graphic,()=>this.graphicChanged(),{initial:!0})])}async getAttachments(){let{_attachmentLayer:e,_attachmentInfos:t,orderByFields:s,attachmentTypes:n,attachmentKeywords:c,_supportsTypeWildcard:l}=this;if(!e||typeof e.queryAttachments!="function")throw new T("invalid-layer","getAttachments(): A valid layer is required.");let m=this.graphic?.getObjectId();if(typeof m!="number")throw new T("invalid-object-id","getAttachments(): Numeric object id is required");let g=s?.map(a=>`${a.field} ${a.order==="descending"?"DESC":"ASC"}`),r=new x({objectIds:[m],returnMetadata:!0,orderByFields:g,attachmentTypes:l?n?.filter(Boolean).map(a=>`${a}/*`):void 0,keywords:c}),h=[],d=e.queryAttachments(r).then(a=>a[m]||h).catch(()=>h);this.getAttachmentsPromise=d,this._setEmpty(!1);let p=await d;t.destroyAll(),p.length&&t.addMany(p),this.getAttachmentsPromise=null,this._setEmpty(!this._hasContent)}_setEmpty(e){_(()=>this.empty=e)}setAttachmentLayer(){let{graphic:e}=this,t=u(e);this._attachmentLayer=t?t.type==="scene"&&t.associatedLayer!=null?t.associatedLayer:t:null}graphicChanged(){if(!this.graphic){this._attachmentInfos.destroyAll(),this.getAttachmentsPromise=null,this._setEmpty(!0);return}this.setAttachmentLayer(),this.getAttachments().catch(()=>{this._attachmentInfos.destroyAll(),this.getAttachmentsPromise=null,this._setEmpty(!0)})}getCSSTransform(e){let{orientationInfo:t}=e;return!this._supportsImageOrientation&&t?[t.rotation?`rotate(${t.rotation}deg)`:"",t.mirrored?"scaleX(-1)":""].join(" "):""}render(){return this.empty?null:i`<div class="root"><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this.renderAttachments()}</div>`}renderAttachmentsList(e){return i`<calcite-list .loading=${!!this.getAttachmentsPromise} .label=${this.messages?.componentLabel??""} interaction-mode=static selection-mode=none>${e.toArray().filter(Boolean).map(t=>this.renderAttachmentListItem(t))}</calcite-list>`}renderAttachmentsPreview(e){return i`<calcite-card-group .label=${this.messages?.componentLabel??""}>${this.getAttachmentsPromise?i`<calcite-card loading></calcite-card>`:e.toArray().filter(Boolean).map(t=>this.renderAttachmentPreviewItem(t))}</calcite-card-group>`}renderAttachmentsCarousel(e){let t=e.toArray().filter(Boolean);return i`<calcite-carousel .paginationDisabled=${t.length<2} .label=${this.messages?.componentLabel??""} pagination-position=top>${this.getAttachmentsPromise?i`<calcite-carousel-item .label=${this.messages?.componentLabel??""}><calcite-card loading></calcite-card></calcite-carousel-item>`:t.map(s=>i`<calcite-carousel-item .label=${s.name||this.messages?.noTitle||""}>${this.renderAttachmentPreviewItem(s,!0)}</calcite-carousel-item>`)}</calcite-carousel>`}renderAttachments(){let{effectiveDisplayType:e,_attachmentInfos:t}=this;return e==="carousel"?this.renderAttachmentsCarousel(t):e==="preview"?this.renderAttachmentsPreview(t):this.renderAttachmentsList(t)}renderAttachmentListItem(e){let{supportsResizeAttachments:t}=this,{contentType:s,name:n,url:c,size:l}=e,m=64,g=n||this.messages?.noTitle,r=v(s),h=this.getCSSTransform(e),d=h?{transform:h,"image-orientation":"none"}:{},p=t&&A(s),a=i`<a class=${y(b("item-link","item-link--list",{"item-link--list-icon":!p}))} slot=content-start href=${c??void 0??o} rel=noreferrer target=_blank>${p?i`<img alt=${n??o} src=${`${c}${c?.includes("?")?"&":"?"}w=${m}&s=${l}`} style=${$(d)} title=${n??o}>`:i`<calcite-icon .icon=${r}></calcite-icon>`}</a>`,f=i`<calcite-link slot=content .href=${c??void 0} rel=noreferrer target=_blank>${g}</calcite-link>`;return i`<calcite-list-item .label=${g}>${a}${f}</calcite-list-item>`}renderAttachmentPreviewItem(e,t=!1){let{supportsResizeAttachments:s}=this,{contentType:n,name:c,url:l,size:m}=e,g=225,r=c||this.messages?.noTitle,h=v(n),d=this.getCSSTransform(e),p=d?{transform:d,"image-orientation":"none"}:{},a=s&&A(n),f=i`<a class=${y(b("item-link","item-link--preview"))} slot=thumbnail href=${l??void 0??o} rel=noreferrer target=_blank aria-label=${r??o} title=${r??o}>${a?i`<img alt=${r??o} src=${`${l}${l?.includes("?")?"&":"?"}w=${g}&s=${m}`} style=${$(p)}>`:i`<calcite-icon scale=l .icon=${h}></calcite-icon>`}</a>`;return i`<calcite-card .label=${r}>${f}${(t||this.hidePreviewImageAttachmentName)&&a?null:i`<span class="item-description" slot=description>${r}</span>`}</calcite-card>`}};I("arcgis-feature-attachments",w);return w},"rest/query/support/AttachmentInfo","rest/support/AttachmentQuery","core/Collection","core/Error","core/reactiveUtils",a,c)
2
+ import{a as A,b as v}from"./ZPA5JUPD.js";import c from"./GEOME3IC.js";import a from"./HU57LQOA.js";import"./Q7GF26CL.js";import"./U77WHUC6.js";import{a as b}from"./LXME6MU5.js";import{R as L,T as y,U as $,X as o,_ as I,a as k,b as i,o as _}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([P,x,C,T,{watch:S},,{e:u}])=>{var z=k`:host([empty]){display:none}.item-link{display:flex;flex-grow:1;color:var(--calcite-color-text-3)}.item-link:visited,.item-link:hover,.item-link:focus-visible,.item-link:active{color:var(--calcite-color-text-1)}.item-link img{max-width:100%;max-height:100%;object-fit:contain}.item-link--list{align-items:center;justify-content:center;width:64px;max-height:64px;overflow:hidden;border-radius:var(--calcite-corner-radius-sm)}.item-link--list img{border-radius:var(--calcite-corner-radius-sm)}.item-link--list-icon{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.item-link--list calcite-icon{margin:var(--calcite-spacing-lg)}.item-link--preview{align-items:center;justify-content:center}.item-link--preview calcite-icon{margin-block:var(--calcite-spacing-lg)}.item-description{text-align:center;word-wrap:break-word;word-break:break-word}calcite-link{--calcite-link-text-color: var(--calcite-color-text-3);padding-inline:var(--calcite-spacing-sm);word-wrap:break-word;word-break:break-word}calcite-card{width:100%}calcite-card:hover,calcite-card:focus,calcite-card:focus-within{--calcite-card-border-color: var(--calcite-color-text-1)}`,R=C.ofType(P),w=class extends L{constructor(){super(...arguments),this._attachmentLayer=null,this._supportsImageOrientation=window?.CSS?.supports("image-orientation","from-image"),this.hideSection=!1,this._attachmentInfos=new R,this.headingLevel=2,this.hidePreviewImageAttachmentName=!1,this.empty=!1}static{this.properties={effectiveDisplayType:16,getAttachmentsPromise:16,hideSection:16,_attachmentInfos:16,_hasContent:16,supportsResizeAttachments:16,attachmentKeywords:0,attachmentTypes:0,description:1,displayType:1,graphic:0,heading:1,messages:0,orderByFields:0,headingLevel:9,hidePreviewImageAttachmentName:5,empty:39}}static{this.styles=z}get _supportsTypeWildcard(){let{graphic:e}=this;if(!e)return!1;let t=u(e);return t?.loaded&&"capabilities"in t&&t.capabilities&&"attachment"in t.capabilities&&t.capabilities.attachment&&"supportsResize"in t.capabilities.attachment&&t.capabilities.attachment.supportsTypeWildcard||!1}get effectiveDisplayType(){let{displayType:e}=this;return!e||e==="auto"?this.supportsResizeAttachments?"preview":"list":e}get _hasContent(){return this._attachmentInfos.length>0||this.getAttachmentsPromise!=null}get supportsResizeAttachments(){let{graphic:e}=this;if(!e)return!1;let t=u(e);return t?.loaded&&"capabilities"in t&&t.capabilities&&"attachment"in t.capabilities&&t.capabilities.attachment&&"supportsResize"in t.capabilities.attachment&&t.capabilities.attachment.supportsResize||!1}loaded(){this.manager.onLifecycle(()=>[S(()=>this.graphic,()=>this.graphicChanged(),{initial:!0})])}async getAttachments(){let{_attachmentLayer:e,_attachmentInfos:t,orderByFields:s,attachmentTypes:n,attachmentKeywords:c,_supportsTypeWildcard:l}=this;if(!e||typeof e.queryAttachments!="function")throw new T("invalid-layer","getAttachments(): A valid layer is required.");let m=this.graphic?.getObjectId();if(typeof m!="number")throw new T("invalid-object-id","getAttachments(): Numeric object id is required");let g=s?.map(a=>`${a.field} ${a.order==="descending"?"DESC":"ASC"}`),r=new x({objectIds:[m],returnMetadata:!0,orderByFields:g,attachmentTypes:l?n?.filter(Boolean).map(a=>`${a}/*`):void 0,keywords:c}),h=[],d=e.queryAttachments(r).then(a=>a[m]||h).catch(()=>h);this.getAttachmentsPromise=d,this._setEmpty(!1);let p=await d;t.destroyAll(),p.length&&t.addMany(p),this.getAttachmentsPromise=null,this._setEmpty(!this._hasContent)}_setEmpty(e){_(()=>this.empty=e)}setAttachmentLayer(){let{graphic:e}=this,t=u(e);this._attachmentLayer=t?t.type==="scene"&&t.associatedLayer!=null?t.associatedLayer:t:null}graphicChanged(){if(!this.graphic){this._attachmentInfos.destroyAll(),this.getAttachmentsPromise=null,this._setEmpty(!0);return}this.setAttachmentLayer(),this.getAttachments().catch(()=>{this._attachmentInfos.destroyAll(),this.getAttachmentsPromise=null,this._setEmpty(!0)})}getCSSTransform(e){let{orientationInfo:t}=e;return!this._supportsImageOrientation&&t?[t.rotation?`rotate(${t.rotation}deg)`:"",t.mirrored?"scaleX(-1)":""].join(" "):""}render(){return this.empty?null:i`<div class="root"><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this.renderAttachments()}</div>`}renderAttachmentsList(e){return i`<calcite-list .loading=${!!this.getAttachmentsPromise} .label=${this.messages?.componentLabel??""} interaction-mode=static selection-mode=none>${e.toArray().filter(Boolean).map(t=>this.renderAttachmentListItem(t))}</calcite-list>`}renderAttachmentsPreview(e){return i`<calcite-card-group .label=${this.messages?.componentLabel??""}>${this.getAttachmentsPromise?i`<calcite-card loading></calcite-card>`:e.toArray().filter(Boolean).map(t=>this.renderAttachmentPreviewItem(t))}</calcite-card-group>`}renderAttachmentsCarousel(e){let t=e.toArray().filter(Boolean);return i`<calcite-carousel .paginationDisabled=${t.length<2} .label=${this.messages?.componentLabel??""} pagination-position=top>${this.getAttachmentsPromise?i`<calcite-carousel-item .label=${this.messages?.componentLabel??""}><calcite-card loading></calcite-card></calcite-carousel-item>`:t.map(s=>i`<calcite-carousel-item .label=${s.name||this.messages?.noTitle||""}>${this.renderAttachmentPreviewItem(s,!0)}</calcite-carousel-item>`)}</calcite-carousel>`}renderAttachments(){let{effectiveDisplayType:e,_attachmentInfos:t}=this;return e==="carousel"?this.renderAttachmentsCarousel(t):e==="preview"?this.renderAttachmentsPreview(t):this.renderAttachmentsList(t)}renderAttachmentListItem(e){let{supportsResizeAttachments:t}=this,{contentType:s,name:n,url:c,size:l}=e,m=64,g=n||this.messages?.noTitle,r=v(s),h=this.getCSSTransform(e),d=h?{transform:h,"image-orientation":"none"}:{},p=t&&A(s),a=i`<a class=${y(b("item-link","item-link--list",{"item-link--list-icon":!p}))} slot=content-start href=${c??void 0??o} rel=noreferrer target=_blank>${p?i`<img alt=${n??o} src=${`${c}${c?.includes("?")?"&":"?"}w=${m}&s=${l}`} style=${$(d)} title=${n??o}>`:i`<calcite-icon .icon=${r}></calcite-icon>`}</a>`,f=i`<calcite-link slot=content .href=${c??void 0} rel=noreferrer target=_blank>${g}</calcite-link>`;return i`<calcite-list-item .label=${g}>${a}${f}</calcite-list-item>`}renderAttachmentPreviewItem(e,t=!1){let{supportsResizeAttachments:s}=this,{contentType:n,name:c,url:l,size:m}=e,g=225,r=c||this.messages?.noTitle,h=v(n),d=this.getCSSTransform(e),p=d?{transform:d,"image-orientation":"none"}:{},a=s&&A(n),f=i`<a class=${y(b("item-link","item-link--preview"))} slot=thumbnail href=${l??void 0??o} rel=noreferrer target=_blank aria-label=${r??o} title=${r??o}>${a?i`<img alt=${r??o} src=${`${l}${l?.includes("?")?"&":"?"}w=${g}&s=${m}`} style=${$(p)}>`:i`<calcite-icon scale=l .icon=${h}></calcite-icon>`}</a>`;return i`<calcite-card .label=${r}>${f}${(t||this.hidePreviewImageAttachmentName)&&a?null:i`<span class="item-description" slot=description>${r}</span>`}</calcite-card>`}};I("arcgis-feature-attachments",w);return w},"rest/query/support/AttachmentInfo","rest/support/AttachmentQuery","core/Collection","core/Error","core/reactiveUtils",a,c)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as d,b as m,c as g}from"./IM6IDWYR.js";import{a as n}from"./7465ANAR.js";import f from"./U7WRQCRV.js";import{h as s}from"./GIBXI44G.js";import"./RQT2PVDJ.js";import b from"./SBYVR52H.js";import"./LXME6MU5.js";import{R as o,_ as r,a,b as e,x as c}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([,{a:l}])=>{var u=a`calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-background-color-press: var(--calcite-color-foreground-1);--calcite-action-background-color: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-1);--calcite-action-text-color: var(--calcite-color-text-1);cursor:default}calcite-input-time-zone{--calcite-color-background: var(--calcite-color-foreground-1);--calcite-color-border-input: transparent}calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium);padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-md)}`,i=class extends o{constructor(){super(...arguments),this._messages=n({blocking:!0}),this.disabled=!1,this.icon="time-zone",this.view=l(this),this.arcgisPropertyChange=s()("state"),this.arcgisReady=c()}static{this.properties={_interactive:16,_resolvedTimeZone:16,actionIcon:3,disabled:7,icon:3,messageOverrides:0,label:1,referenceElement:1,state:32,view:0}}static{this.styles=u}get _interactive(){return!(this.disabled||this.state==="disabled")}get _resolvedTimeZone(){let t=this.view?.timeZone;return!t||t===d?g:t}get state(){return this.view?.ready?"ready":"disabled"}render(){return e`<calcite-action .disabled=${!this._interactive} .icon=${this.actionIcon} text>${this._resolvedTimeZone===m?e`<calcite-label>${this._messages.noAdjustment}</calcite-label>`:e`<calcite-input-time-zone mode=region overlay-positioning=fixed read-only .value=${this._resolvedTimeZone}></calcite-input-time-zone>`}</calcite-action>`}};r("arcgis-time-zone-label",i);return i},b,f)
2
+ import{a as d,b as m,c as g}from"./IM6IDWYR.js";import{a as n}from"./REB4CHAK.js";import f from"./OLY5EME5.js";import{h as s}from"./Q7GF26CL.js";import"./U77WHUC6.js";import b from"./SI2DEXWH.js";import"./LXME6MU5.js";import{R as o,_ as r,a,b as e,x as c}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([,{a:l}])=>{var u=a`calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-background-color-press: var(--calcite-color-foreground-1);--calcite-action-background-color: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-1);--calcite-action-text-color: var(--calcite-color-text-1);cursor:default}calcite-input-time-zone{--calcite-color-background: var(--calcite-color-foreground-1);--calcite-color-border-input: transparent}calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium);padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-md)}`,i=class extends o{constructor(){super(...arguments),this._messages=n({blocking:!0}),this.disabled=!1,this.icon="time-zone",this.view=l(this),this.arcgisPropertyChange=s()("state"),this.arcgisReady=c()}static{this.properties={_interactive:16,_resolvedTimeZone:16,actionIcon:3,disabled:7,icon:3,messageOverrides:0,label:1,referenceElement:1,state:32,view:0}}static{this.styles=u}get _interactive(){return!(this.disabled||this.state==="disabled")}get _resolvedTimeZone(){let t=this.view?.timeZone;return!t||t===d?g:t}get state(){return this.view?.ready?"ready":"disabled"}render(){return e`<calcite-action .disabled=${!this._interactive} .icon=${this.actionIcon} text>${this._resolvedTimeZone===m?e`<calcite-label>${this._messages.noAdjustment}</calcite-label>`:e`<calcite-input-time-zone mode=region overlay-positioning=fixed read-only .value=${this._resolvedTimeZone}></calcite-input-time-zone>`}</calcite-action>`}};r("arcgis-time-zone-label",i);return i},b,f)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{b as oe}from"./JB6WQEFJ.js";import g from"./DSIYRWN2.js";import{a as T}from"./LTFGTX7S.js";import"./FH3WFF5O.js";import{a as _}from"./6J3KSMFG.js";import f from"./BOPNSNUT.js";import"./WJQUE4DR.js";import e from"./QVJ2FUNW.js";import{a as ee}from"./REB4CHAK.js";import d from"./7ILT5PDJ.js";import c from"./7JPHMESH.js";import b from"./OLY5EME5.js";import{d as X,h as Y}from"./Q7GF26CL.js";import"./U77WHUC6.js";import a from"./SI2DEXWH.js";import{b as Q}from"./LXME6MU5.js";import{E as N,F as H,O as q,P as k,Q as E,R as j,X as A,_ as J,a as F,b as v,e as L,x as U,z}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{substitute:de},pe,ge,{watch:y,on:ue,whenOnce:me},ve,{getOrCreateMapValue:ae,createReactiveMap:ye},be,{property:p,subclass:fe},{ignoreAbortErrors:w},Ce,Te,,,,C,te,{f:Z},ie])=>{var we=["bottom-end","bottom-start","bottom-left","bottom-right","top-end","top-start","top-left","top-right"],Se=new Set(we);function se(i,e){let t=e;for(let o of i.split(".")){if(typeof t!="object"||t===null)return;t=Reflect.get(t,o)}return typeof t=="string"?t:void 0}var Ee=F`.editing-controls-panel{min-inline-size:100px;max-inline-size:400px;-webkit-user-select:none;user-select:none;pointer-events:initial;padding:var(--calcite-space-sm);arcgis-sketch-tooltip-controls+arcgis-snapping-controls{border-block-start:1px solid var(--calcite-color-border-3)}}:host{pointer-events:none}.toolbar-container{block-size:100%;min-block-size:0;min-inline-size:0}arcgis-toolbar-stack[layout=vertical]{block-size:100cqh;min-block-size:100%;max-block-size:100%}`,_e={point:"pin",polyline:"line",polygon:"polygon",rectangle:"rectangle",circle:"circle",multipoint:"pins",mesh:"i3d-building",freehandPolygon:"freehand-area",freehandPolyline:"freehand",text:"text"},Me={selectionTools:{defaultPriority:T.Default,groupKind:"split-button",overflowLabel:"selection"},selectionSet:{defaultPriority:T.High,groupKind:"actions"},createTools:{defaultPriority:T.High,groupKind:"more-button",overflowLabel:"drawing"},undoRedo:{defaultPriority:T.Medium,groupKind:"split-button",overflowLabel:"action",preferEndSlot:!0},settings:{defaultPriority:T.Max,groupKind:"more-button",overflowLabel:"action",preferEndSlot:!0},geometrySimplification:{defaultPriority:T.Default,groupKind:"actions",preferEndSlot:!0}},ke=Object.defineProperty,Pe=Object.getOwnPropertyDescriptor,h=(i,e,t,o)=>{for(var s=o>1?void 0:o?Pe(e,t):e,r=i.length-1,d;r>=0;r--)(d=i[r])&&(s=(o?d(e,t,s):d(s))||s);return o&&s&&ke(e,t,s),s},c=class extends be{constructor(i){super(i),this._effectiveRenderStateCache=new Map,this._effectiveGeometrySimplificationInProgress=!1,this.visibleElements=new Ce,this.settingsPopoverOpen=!1,this.availableCreateTools=["point","polyline","freehandPolyline","polygon","freehandPolygon","rectangle","circle"]}initialize(){this.selectionViewModel??=new Te({persistSelection:!1}),this.addHandles([y(()=>this.sketchViewModel,(i,e)=>{i!==e&&this._effectiveRenderStateCache.clear()},{sync:!0}),ie({getLoading:()=>this.sketchViewModel?.geometrySimplificationInProgress??!1,setEffectiveLoading:i=>{this._effectiveGeometrySimplificationInProgress=i}}),y(()=>this.view,i=>{this.selectionViewModel.view=i},{initial:!0,sync:!0}),y(()=>this.sketchViewModel?.layer,i=>this.selectionViewModel.sources=i?[i]:[],{initial:!0,sync:!0}),this.selectionViewModel.on("complete",({selection:i})=>{i.length&&this.update(i)}),y(()=>this.selectionViewModel.activeOperation,i=>{i&&(this.sketchViewModel?.cancel(),this._activeCustomToolOptions=void 0)},{sync:!0}),ue(()=>this.sketchViewModel,"create",i=>{i.state==="complete"&&this.sketchViewModel?.creationMode!=="continuous"&&(this._activeCustomToolOptions=void 0)}),y(()=>this.visibleElements.settingsMenu,i=>{i||(this.settingsPopoverOpen=!1)},{sync:!0})])}destroy(){this._pendingCommandAbortController?.abort(),this.selectionViewModel.destroy(),this.sketchViewModel=void 0}get _isEffectiveRenderStateFrozen(){let{sketchViewModel:i}=this;return!!(i?.toolTransitionInProgress||i?.geometrySimplificationInProgress)}_getEffectiveValue(i,e){if(!this._isEffectiveRenderStateFrozen||!this._effectiveRenderStateCache.has(i)){let t=e();return this._effectiveRenderStateCache.set(i,t),t}return this._effectiveRenderStateCache.get(i)}get _state(){return this.sketchViewModel?.state??"disabled"}get test(){return{activeCustomToolOptions:this._activeCustomToolOptions,activeSelectionTool:this._activeSelectionTool,selectionViewModel:this.selectionViewModel}}get _activeSelectionTool(){switch(this.selectionViewModel.activeOperation?.toolName){case"lasso":return"lasso-selection";case"rectangle":return"rectangle-selection";default:return}}get _activePluginUniqueIds(){let i=this.sketchViewModel?.activePluginConfigurations.filter(e=>!e.hidden).map(e=>e.uniqueId);return new Set(i??[])}get _createToolActions(){let{sketchViewModel:i}=this;if(!i)return[];let e=i.effectiveAvailablePlugins,t=this.state==="disabled",o=this.visibleElements.createTools,s=this.activeTool,r=this._activeCustomToolOptions,d=r||!i.firstPluginWithSwappableLeaf?this._customToolOptions:[],a=i.rootPlugins,l=d?.map(n=>({active:n===r,disabled:t,icon:n.icon,labelKey:n.label,onClick:n===r?()=>this._cancelActiveOperation():()=>this._activateLegacyDrawTool(n.toolName,n.createOptions,n)}))??[];if(r&&a)return[...this._pluginsToActions(a),...l];if(e?.length&&this.view?.type!=="3d")return[...this._pluginsToActions(e),...l];let g=this.view?.type==="3d";return[...this.availableCreateTools?.filter(n=>g&&n==="multipoint"?!1:n==="mesh"?!0:o[n])?.map(n=>({active:n===s,disabled:t,icon:_e[n],labelKey:`draw.${n}`,onClick:n===s?()=>this._cancelActiveOperation():()=>this._activateLegacyDrawTool(n)}))??[],...l]}get _shouldShowBackButton(){let i=this.sketchViewModel?.firstPluginWithSwappableLeaf,e=this.sketchViewModel?.rootPlugins,t=this._activeCustomToolOptions;return!!(this.sketchViewModel?.multiplePluginsActive&&i&&e&&!(e.length<2&&e.includes(i)&&!this.visibleElements.singlePluginBackButton)&&!t)}get _selectionToolActions(){return this._shouldShowBackButton?[{active:!1,disabled:this.state==="disabled",icon:"chevron-left",iconFlipRTL:!0,labelKey:"back",onClick:()=>this._cancelActiveOperation()}]:this._selectionCommands}get _settingsActions(){let i=this._customActions?.get("settings-before"),e=this._customActions?.get("settings-after"),t=this.visibleElements.settingsMenu,o=[];return!i?.length&&!e?.length&&!t||(i&&o.push(...this._customActionsToSketchActions(i)),t&&o.push({icon:"gear",active:this.settingsPopoverOpen,disabled:this.state==="disabled",labelKey:"settings.heading",tooltipKey:"settings.heading",refKey:"settings",onClick:()=>this.toggleSettingsPopover()}),e&&o.push(...this._customActionsToSketchActions(e))),o}get _activeTool(){let i=this.selectionViewModel.activeOperation;if(i)switch(i.toolName){case"lasso":return"lasso-selection";case"rectangle":return"rectangle-selection";case"default":return"custom-selection"}if(!this.sketchViewModel)return;let{availableCreateTools:e}=this,{activeTool:t,activeCreateToolDrawMode:o}=this.sketchViewModel;return t==="polygon"&&o==="freehand"&&e?.includes("freehandPolygon")?"freehandPolygon":t==="polyline"&&o==="freehand"&&e?.includes("freehandPolyline")?"freehandPolyline":t??void 0}get _selectionCommands(){let{state:i,visibleElements:e,_activeSelectionTool:t,_customActions:o}=this,s=this.state==="disabled",r=[];this.sketchViewModel?.updateOnGraphicClick!==!1&&r.push({active:i==="ready"&&this._activeSelectionTool==null,disabled:s,icon:"cursor",labelKey:"selectFeature",onClick:()=>this._activateDefaultSelectionTool()});let d=e.selectionTools;d["rectangle-selection"]&&r.push({active:t==="rectangle-selection",disabled:s,icon:"cursor-marquee",labelKey:"rectangleSelection",onClick:()=>this._activateSelectionTool("rectangle-selection")}),d["lasso-selection"]&&r.push({active:t==="lasso-selection",disabled:s,icon:"lasso-select",labelKey:"lassoSelection",onClick:()=>this._activateSelectionTool("lasso-selection")});let a=o?.get("selection-toolbar");return a&&r.push(...this._customActionsToSketchActions(a)),r}get _selectionSetActions(){let i=this.sketchViewModel?.updateGraphics.length??0;if(!i)return[];let e=this.state==="disabled",t=[],o=this._customActions?.get("before-selection-set"),s=this._customActions?.get("after-selection-set");return this.visibleElements.selectionCountLabel&&t.push({active:!1,appearance:"outline",disabled:e,icon:"selection-x",kind:"brand",labelKey:"deselectCount",labelParameters:{count:i},textEnabled:!0,renderAsAction:!0,onClick:()=>this._cancelSketchOperation()}),o&&t.push(...this._customActionsToSketchActions(o)),this.visibleElements.duplicateButton&&t.push({active:!1,disabled:e,icon:"copy",renderAsAction:!0,labelKey:i>1?"duplicateFeatures":"duplicateFeature",onClick:()=>this._duplicate()}),this.visibleElements.deleteButton&&t.push({active:!1,disabled:e,icon:"trash",kind:"danger",renderAsAction:!0,labelKey:i>1?"deleteFeatures":"deleteFeature",onClick:()=>this._delete()}),s&&t.push(...this._customActionsToSketchActions(s)),t}get _undoRedoActions(){return this.visibleElements.undoRedoMenu?[{active:!1,disabled:this.state==="disabled"||!this.sketchViewModel?.canUndo(),icon:"undo",labelKey:"undo",iconFlipRTL:!0,onClick:()=>this._undo()},{active:!1,disabled:this.state==="disabled"||!this.sketchViewModel?.canRedo(),icon:"redo",labelKey:"redo",iconFlipRTL:!0,onClick:()=>this._redo()}]:[]}get state(){return this._getEffectiveValue("state",()=>this._state)}get activeTool(){return this._getEffectiveValue("activeTool",()=>this._activeTool)}get activePluginIds(){return this._getEffectiveValue("activePluginId",()=>this._activePluginUniqueIds)}get groupedActions(){let i=this._getEffectiveValue("availableCommandGroups",()=>[["selectionTools",this._selectionToolActions],["createTools",this._createToolActions],["undoRedo",this._undoRedoActions],["settings",this._settingsActions],["selectionSet",this._selectionSetActions]].map(([t,o])=>({name:t,commands:o,visible:o.length>0}))),e=this._effectiveGeometrySimplificationInProgress?i.map(t=>({...t,commands:t.commands.map(o=>({...o,disabled:!0}))})):i;return!this.visibleElements.geometrySimplificationActivityIndicator||!this._effectiveGeometrySimplificationInProgress?e:[...e,{name:"geometrySimplification",commands:[{active:!1,appearance:"transparent",disabled:!0,kind:"warning",labelKey:"processing",loading:!0,onClick:()=>{},renderAsAction:!0}],visible:!0}]}async create(i,e){await this._executeWhenReady(async()=>{this.cancelAll();let t=this.sketchViewModel;t&&await w(t.create(i,e))})}async _executeWhenReady(i){this._pendingCommandAbortController?.abort();let e=new AbortController;this._pendingCommandAbortController=e;try{await w((async()=>{this.sketchViewModel?.geometrySimplificationInProgress&&await me(()=>!this.sketchViewModel?.geometrySimplificationInProgress,e.signal),e.signal.aborted||await i()})())}finally{this._pendingCommandAbortController===e&&(this._pendingCommandAbortController=void 0)}}toggleSettingsPopover(){this.settingsPopoverOpen=!this.settingsPopoverOpen}setCustomTools(i,e){this._customToolOptions=i??void 0;let t=this._activeCustomToolOptions;if(t){let o=this._customToolOptions?.find(s=>s.toolKey===t.toolKey);o?this._activeCustomToolOptions=o:this.cancelAll()}if(e?.length){let o=new Map;for(let s of e)ae(o,s.position,()=>[]).push(s);this._customActions=o}else this._customActions=void 0}cancelAll(){this._pendingCommandAbortController?.abort(),this._cancelSupportingOperations(),this.sketchViewModel?.cancel()}async update(i,e){await this._executeWhenReady(async()=>{let t=this.sketchViewModel;t&&await w(t.update(i,e))})}_activateDefaultSelectionTool(){this._executeWhenReady(()=>{this.cancelAll(),this.view?.focus()})}_cancelActiveOperation(){this._executeWhenReady(()=>this.cancelAll())}_cancelSketchOperation(){this._executeWhenReady(()=>this.sketchViewModel?.cancel())}_cancelSupportingOperations(){this.selectionViewModel.cancel(),this._activeCustomToolOptions=void 0}_activatePlugin(i){this._executeWhenReady(()=>{let e=this._activeCustomToolOptions!=null;this._cancelSupportingOperations();let t=this.sketchViewModel;if(t){if(e){t.cancel(),w(t.create(i));return}t.firstPluginWithSwappableLeaf?(t.replaceLeaf(i),this.view?.focus()):w(t.create(i))}})}_activateLegacyDrawTool(i,e,t){this._executeWhenReady(()=>{this._cancelSupportingOperations();let o=this.sketchViewModel;o&&(this._activeCustomToolOptions=t,w(o.create(i,e)))})}_activateSelectionTool(i){this._executeWhenReady(()=>{if(this._activeSelectionTool===i){this.selectionViewModel.cancel();return}this.cancelAll();let e={createTool:i==="lasso-selection"?"polygon":"rectangle",...i==="lasso-selection"?{mode:"hybrid",toolName:"lasso"}:{toolName:"rectangle"},type:"replace",selectOnComplete:!0};this.selectionViewModel.activate(e)&&this.view?.focus()})}_delete(){this._executeWhenReady(()=>this.sketchViewModel?.delete())}_duplicate(){this._executeWhenReady(()=>{this.sketchViewModel?.duplicate()})}_executeCustomAction(i){this._executeWhenReady(()=>i.onclick?.())}_redo(){this._executeWhenReady(()=>{this.sketchViewModel?.redo()})}_undo(){this._executeWhenReady(()=>{this.sketchViewModel?.undo()})}_customActionsToSketchActions(i){let e=this.state==="disabled";return i.map(t=>({active:t.active??!1,afterCreate:t.afterCreate,afterRemoved:t.afterRemoved,afterUpdate:t.afterUpdate,disabled:e||(t.disabled??!1),icon:t.icon,iconFlipRTL:t.flipRTL,id:t.id,labelKey:t.text,onClick:()=>this._executeCustomAction(t)}))}_pluginsToActions(i){let e=this.activePluginIds,t=this._activeCustomToolOptions,o=this.state==="disabled";return i.map(s=>({active:(e?.has(s.uniqueId)??!1)&&!t,icon:s.icon,disabled:o,labelKey:`digitizers.${s.localizationKey}`,onClick:()=>this._activatePlugin([s])}))}};h([p()],c.prototype,"_isEffectiveRenderStateFrozen",1);h([p()],c.prototype,"_effectiveGeometrySimplificationInProgress",2);h([p()],c.prototype,"_state",1);h([p()],c.prototype,"_customToolOptions",2);h([p()],c.prototype,"_activeCustomToolOptions",2);h([p()],c.prototype,"_customActions",2);h([p()],c.prototype,"selectionViewModel",2);h([p()],c.prototype,"_activeSelectionTool",1);h([p()],c.prototype,"_activePluginUniqueIds",1);h([p()],c.prototype,"_createToolActions",1);h([p()],c.prototype,"_shouldShowBackButton",1);h([p()],c.prototype,"_selectionToolActions",1);h([p()],c.prototype,"_settingsActions",1);h([p()],c.prototype,"_activeTool",1);h([p()],c.prototype,"_selectionCommands",1);h([p()],c.prototype,"_selectionSetActions",1);h([p()],c.prototype,"_undoRedoActions",1);h([p()],c.prototype,"sketchViewModel",2);h([p()],c.prototype,"visibleElements",2);h([p()],c.prototype,"view",2);h([p()],c.prototype,"settingsPopoverOpen",2);h([p()],c.prototype,"availableCreateTools",2);h([p()],c.prototype,"state",1);h([p()],c.prototype,"activeTool",1);h([p()],c.prototype,"activePluginIds",1);h([p()],c.prototype,"groupedActions",1);c=h([fe("components.sketch.SketchComponentViewModel")],c);var R=class extends q{#t;#e=!1;#i;constructor(e){if(super(e),e.type!==N.ELEMENT)throw new Error("nodeHooks() can only be used on elements")}render(e){return L}update(e,[t]){let o=e.element;if(!(o instanceof HTMLElement))throw new TypeError("nodeHooks() can only be used on HTMLElements");let s=this.#e?t.afterUpdate:t.afterCreate;return this.#t=o,this.#e=!0,this.#i=t,queueMicrotask(()=>{o.isConnected&&s?.(o)}),L}disconnected(){let e=this.#t,t=this.#i?.afterRemoved;!e||!t||queueMicrotask(()=>{e.isConnected||Z(()=>t(e),{timeout:16})})}},ne=H(R),Oe=new Set(["arcgis-map","arcgis-scene"]),Le=8,G=class extends z{constructor(e){super(e),this.#t=new MutationObserver(()=>this.#c()),this.#e=new ResizeObserver(()=>this.#v()),this.#i=new ResizeObserver(([t])=>{if(!t)return;let o=this.component.layout==="horizontal"?t.contentRect.height:t.contentRect.width;o!==this.#s&&(this.#s=o,this.#v())}),this.#h=[],this.ref=t=>{this.#o!==t&&(this.#o=t,this.#a=void 0,this.#r=void 0,this.#c())},this.#g=()=>this.#c(),this.exports=void 0,this.onConnected(()=>this.#m()),this.onUpdated(()=>{this.#d!==this.component.layout&&this.#c()}),this.onDisconnected(()=>this.#f()),this.onLifecycle(()=>y(()=>this.component.view?.attributionHeight,()=>{this.#m()},{initial:!0}))}#t;#e;#i;#l;#s;#n;#h;#u;#o;#a;#r;#d;#p;#m(){queueMicrotask(()=>{this.component.el.isConnected&&this.#c()})}#c(){let e=this.#y();if(!e){this.#b(),this.#f();return}this.#C(e.toolbar),this.#T(e),this.#w(e),this.#v(e)}#y(){let e=this.component.el,t=e.parentElement,o=this.#o,s=e.assignedSlot;if(!t||!Oe.has(t.localName)||!o||!s?.parentElement)return;let r=getComputedStyle(t).direction==="rtl"?"rtl":"ltr",d=re(e.slot,r);if(!d)return;let a=Array.from(t.children).filter(l=>l instanceof HTMLElement&&l.localName!=="arcgis-sketch");return{assignedSlot:s,content:a,direction:r,parent:t,position:d,toolbar:o}}#g;#C(e){this.#d!==this.component.layout&&(this.#s=void 0,this.#d=this.component.layout),this.#l!==e&&(this.#i.disconnect(),this.#l=e,this.#s=void 0,this.#i.observe(e))}#T(e){let t=e.assignedSlot;this.#n!==t&&(this.#n?.removeEventListener("slotchange",this.#g),this.#n=t,t.addEventListener("slotchange",this.#g)),this.#u!==e.parent&&(this.#t.disconnect(),this.#p?.(),this.#u=e.parent,this.#p=Q(e.parent,["dir"],()=>{this.#m()}),this.#t.observe(e.parent,{childList:!0,subtree:!1}))}#w(e){let t=[e.parent,...e.content];Re(this.#h,t)||(this.#e.disconnect(),t.forEach(o=>this.#e.observe(o)),this.#h=t)}#v(e=this.#y()){if(!e){this.#b();return}let t=this.component.layout,o=Ae({content:$e(e),gap:Le,layout:t,position:e.position,sameSlotReserve:Ge(e.assignedSlot,this.component.el,t,e.assignedSlot.parentElement),toolbarBounds:e.toolbar.getBoundingClientRect(),viewBounds:e.parent.getBoundingClientRect()});this.#S(e.toolbar,t,o)}#S(e,t,o){o===this.#a&&t===this.#r||(this.#a=o,this.#r=t,e.style.setProperty("--arcgis-internal-toolbar-available-length",`${o}px`),t==="horizontal"?(e.style.height="",e.style.maxHeight="",e.style.maxWidth=`${o}px`,e.style.width="fit-content"):(e.style.height="fit-content",e.style.maxHeight=`${o}px`,e.style.maxWidth="",e.style.width=""))}#b(){this.#o&&(this.#o.style.maxHeight="",this.#o.style.maxWidth="",this.#o.style.height="",this.#o.style.width="",this.#o.style.removeProperty("--arcgis-internal-toolbar-available-length"),this.#a=void 0,this.#r=void 0)}#f(){this.#t.disconnect(),this.#p?.(),this.#p=void 0,this.#e.disconnect(),this.#i.disconnect(),this.#l=void 0,this.#s=void 0,this.#h=[],this.#n?.removeEventListener("slotchange",this.#g),this.#n=void 0,this.#a=void 0,this.#r=void 0,this.#d=void 0,this.#u=void 0}};function Ae({content:i,gap:e,layout:t,position:o,sameSlotReserve:s,toolbarBounds:r,viewBounds:d}){let a=$(d,t),l=$(r,t),g=le(o,t),n=g?l.start-a.start:a.end-l.end,u=0,m=!1;for(let S of i){if(le(S.position,t)===g)continue;let f=$(S.bounds,t);if(!(f.crossStart<l.crossEnd&&f.crossEnd>l.crossStart))continue;let M=g?a.end-f.start:f.end-a.start;u=Math.max(u,M),m=!0}let b=m?e:0;return Math.max(0,a.length-Math.max(0,n)-s-u-b)}function $(i,e){return e==="horizontal"?{start:i.left,end:i.right,length:i.width,crossStart:i.top,crossEnd:i.bottom}:{start:i.top,end:i.bottom,length:i.height,crossStart:i.left,crossEnd:i.right}}function le(i,e){return e==="horizontal"?i.endsWith("left"):i.startsWith("top")}function $e(i){return i.content.flatMap(e=>{if(e.assignedSlot===i.assignedSlot)return[];let t=re(e.slot,i.direction);return t?[{bounds:e.getBoundingClientRect(),position:t}]:[]})}function Re(i,e){return i.length===e.length&&i.every((t,o)=>t===e[o])}function Ge(i,e,t,o){let s=getComputedStyle(o).flexDirection;if(!(t==="horizontal"?s.startsWith("row"):s.startsWith("column")))return 0;let r=i.assignedElements().filter(g=>g instanceof HTMLElement),d=r.indexOf(e);if(d<0)return 0;let a=getComputedStyle(e),l=s==="row"?Number.parseFloat(a.marginRight):s==="row-reverse"?Number.parseFloat(a.marginLeft):s==="column"?Number.parseFloat(a.marginBottom):Number.parseFloat(a.marginTop);return r.slice(d+1).reduce((g,n)=>{let u=n.getBoundingClientRect(),m=getComputedStyle(n),b=t==="horizontal"?u.width+Number.parseFloat(m.marginLeft)+Number.parseFloat(m.marginRight):u.height+Number.parseFloat(m.marginTop)+Number.parseFloat(m.marginBottom);return g+b},l)}function re(i,e){let[t,o]=i.split("-");if(t!=="bottom"&&t!=="top")return;let s=o==="start"?e==="ltr"?"left":"right":o==="end"?e==="ltr"?"right":"left":o;return s==="left"||s==="right"?`${t}-${s}`:void 0}var xe=te(i=>new ve({...i,cancelUpdateOnClickAway:!0,creationMode:"continuous",textSymbol:new ge({text:"hello world"}),useLegacyCreateTools:!1})),x=class extends j{constructor(){super(),this.#t=new c,this.#l=k(),this.#s=new G(this),this.#n=k(),this._defaultGraphicsLayer=null,this._messages=ee(),this.test={componentViewModel:this.#t},this._groupLayoutPriorityOverrides=new Map,this._contextualToolLocation="separate",this._refMap=ye(),this.viewModel=xe(this),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.createGraphic=this.viewModel.createGraphic,this.creationMode=this.viewModel.creationMode,this.defaultCreateOptions=this.viewModel.defaultCreateOptions,this.defaultGraphicsLayerDisabled=!1,this.defaultUpdateOptions=this.viewModel.defaultUpdateOptions,this.geometrySimplificationInProgress=this.viewModel.geometrySimplificationInProgress,this.icon="pencil",this.label=this._messages?.componentLabel,this.labelOptions=this.viewModel.labelOptions,this.layer=this.viewModel.layer,this.layout="horizontal",this.pointSymbol=this.viewModel.pointSymbol,this.polygonSymbol=this.viewModel.polygonSymbol,this.polylineSymbol=this.viewModel.polylineSymbol,this.visualScale="m",this.snappingOptions=this.viewModel.snappingOptions,this.textSymbol=this.viewModel.textSymbol,this.toolbarKind="floating",this.tooltipOptions=this.viewModel.tooltipOptions,this.useViewOptions=this.viewModel.useViewOptions,this.valueOptions=this.viewModel.valueOptions,this.useLegacyCreateTools=this.viewModel.useLegacyCreateTools,this.updateOnGraphicClickDisabled=this.viewModel.updateOnGraphicClick,this.updateGraphics=this.viewModel.updateGraphics,this.arcgisCreate=C(()=>this.viewModel,"create"),this.arcgisDelete=C(()=>this.viewModel,"delete"),this.arcgisDuplicate=C(()=>this.viewModel,"duplicate"),this.arcgisPropertyChange=Y()("activeTool","geometrySimplificationInProgress","state"),this.arcgisReady=U(),this.arcgisRedo=C(()=>this.viewModel,"redo"),this.arcgisUndo=C(()=>this.viewModel,"undo"),this.arcgisUpdate=C(()=>this.viewModel,"update"),X(["slot"],()=>{this.requestUpdate()}),this.manager.onLifecycle(()=>[y(()=>this.el.view?.map,(e,t)=>{let o=this._defaultGraphicsLayer;o&&(t?.allLayers.includes(o)&&t.remove(o),o&&!e?.allLayers.includes(o)&&e?.add(o))}),y(()=>this.el.view,e=>{this.viewModel.view=e,this.#t.view=e??void 0},{initial:!0}),y(()=>this.viewModel,e=>{this.#t.sketchViewModel=e,this.viewModel.pluginManager.sketch=this},{initial:!0}),y(()=>this.#t.state,(e,t)=>{this.requestUpdate("state",t)},{initial:!0}),y(()=>this.#t.activeTool,()=>this.arcgisPropertyChange.emit({name:"activeTool"}),{sync:!0})]),this.manager.onDestroy(()=>{this._defaultGraphicsLayer&&this.el.view?.map?.allLayers.includes(this._defaultGraphicsLayer)&&this.el.view?.map?.remove(this._defaultGraphicsLayer),this._defaultGraphicsLayer?.destroy(),this._defaultGraphicsLayer=null,this.#t.destroy()})}static{this.properties={_groupLayoutPriorityOverrides:16,_contextualToolLocation:16,_refMap:16,viewModel:0,view:0,activeTool:32,autoDestroyDisabled:5,visibleElements:0,availableCreateTools:0,createGraphic:32,creationMode:1,defaultCreateOptions:0,defaultGraphicsLayerDisabled:5,defaultUpdateOptions:0,geometrySimplificationInProgress:36,hideCreateToolsCircle:5,hideCreateToolsMultipoint:5,hideCreateToolsPoint:5,hideCreateToolsPolygon:5,hideCreateToolsPolyline:5,hideCreateToolsRectangle:5,hideDuplicateButton:5,hideDeleteButton:5,hideSelectionCountLabel:5,hideLabelsToggle:5,hideSelectionToolsLassoSelection:5,hideSelectionToolsRectangleSelection:5,hideSettingsMenu:5,hideSinglePluginBackButton:5,hideSnappingControls:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideSnappingControlsElementsGridEnabledToggle:5,hideSnappingControlsElementsGridControls:5,hideSnappingControlsElementsGridControlsElementsColorSelection:5,hideSnappingControlsElementsGridControlsElementsDynamicScaleToggle:5,hideSnappingControlsElementsGridControlsElementsLineIntervalInput:5,hideSnappingControlsElementsGridControlsElementsNumericInputs:5,hideSnappingControlsElementsGridControlsElementsOutOfScaleWarning:5,hideSnappingControlsElementsGridControlsElementsPlacementButtons:5,hideSnappingControlsElementsGridControlsElementsRotateWithMapToggle:5,hideTooltipsToggle:5,hideUndoRedoMenu:5,icon:1,label:1,labelOptions:0,layer:0,layout:1,pointSymbol:0,polygonSymbol:0,polylineSymbol:0,referenceElement:1,relativePosition:1,scale:1,visualScale:1,showSnappingControlsElementsHeader:5,showCreateToolsFreehandPolygon:5,showCreateToolsFreehandPolyline:5,showCreateToolsText:5,hideGeometrySimplificationActivityIndicator:5,snappingOptions:0,state:32,textSymbol:0,toolbarKind:1,tooltipOptions:0,useViewOptions:5,valueOptions:0,useLegacyCreateTools:5,updateOnGraphicClickDisabled:5,cancelUpdateOnClickAwayDisabled:5,updateGraphics:32}}static{this.styles=Ee}#t;get#e(){return this.#t.visibleElements}#i;#l;#s;#n;get activeTool(){return this.#t.activeTool}get visibleElements(){return this.#t.visibleElements}set visibleElements(e){this.#t.visibleElements=e}get availableCreateTools(){return this.#t.availableCreateTools}set availableCreateTools(e){this.#t.availableCreateTools=e}get hideCreateToolsCircle(){return!this.#e.createTools.circle}set hideCreateToolsCircle(e){this.#e.createTools.circle=!e}get hideCreateToolsMultipoint(){return!this.#e.createTools.multipoint}set hideCreateToolsMultipoint(e){this.#e.createTools.multipoint=!e}get hideCreateToolsPoint(){return!this.#e.createTools.point}set hideCreateToolsPoint(e){this.#e.createTools.point=!e}get hideCreateToolsPolygon(){return!this.#e.createTools.polygon}set hideCreateToolsPolygon(e){this.#e.createTools.polygon=!e}get hideCreateToolsPolyline(){return!this.#e.createTools.polyline}set hideCreateToolsPolyline(e){this.#e.createTools.polyline=!e}get hideCreateToolsRectangle(){return!this.#e.createTools.rectangle}set hideCreateToolsRectangle(e){this.#e.createTools.rectangle=!e}get hideDuplicateButton(){return!this.#e.duplicateButton}set hideDuplicateButton(e){this.#e.duplicateButton=!e}get hideDeleteButton(){return!this.#e.deleteButton}set hideDeleteButton(e){this.#e.deleteButton=!e}get hideSelectionCountLabel(){return!this.#e.selectionCountLabel}set hideSelectionCountLabel(e){this.#e.selectionCountLabel=!e}get hideLabelsToggle(){return!this.#e.labelsToggle}set hideLabelsToggle(e){this.#e.labelsToggle=!e}get hideSelectionToolsLassoSelection(){return!this.#e.selectionTools["lasso-selection"]}set hideSelectionToolsLassoSelection(e){this.#e.selectionTools["lasso-selection"]=!e}get hideSelectionToolsRectangleSelection(){return!this.#e.selectionTools["rectangle-selection"]}set hideSelectionToolsRectangleSelection(e){this.#e.selectionTools["rectangle-selection"]=!e}get hideSettingsMenu(){return!this.#e.settingsMenu}set hideSettingsMenu(e){this.#e.settingsMenu=!e}get hideSinglePluginBackButton(){return!this.#e.singlePluginBackButton}set hideSinglePluginBackButton(e){this.#e.singlePluginBackButton=!e}get hideSnappingControls(){return!this.#e.snappingControls}set hideSnappingControls(e){this.#e.snappingControls=!e}get hideSnappingControlsElementsEnabledToggle(){return!this.#e.snappingControlsElements.enabledToggle}set hideSnappingControlsElementsEnabledToggle(e){this.#e.snappingControlsElements.enabledToggle=!e}get hideSnappingControlsElementsFeatureEnabledToggle(){return!this.#e.snappingControlsElements.featureEnabledToggle}set hideSnappingControlsElementsFeatureEnabledToggle(e){this.#e.snappingControlsElements.featureEnabledToggle=!e}get hideSnappingControlsElementsLayerList(){return!this.#e.snappingControlsElements.layerList}set hideSnappingControlsElementsLayerList(e){this.#e.snappingControlsElements.layerList=!e}get hideSnappingControlsElementsSelfEnabledToggle(){return!this.#e.snappingControlsElements.selfEnabledToggle}set hideSnappingControlsElementsSelfEnabledToggle(e){this.#e.snappingControlsElements.selfEnabledToggle=!e}get hideSnappingControlsElementsGridEnabledToggle(){return!this.#e.snappingControlsElements.gridEnabledToggle}set hideSnappingControlsElementsGridEnabledToggle(e){this.#e.snappingControlsElements.gridEnabledToggle=!e}get hideSnappingControlsElementsGridControls(){return!this.#e.snappingControlsElements.gridControls}set hideSnappingControlsElementsGridControls(e){this.#e.snappingControlsElements.gridControls=!e}get hideSnappingControlsElementsGridControlsElementsColorSelection(){return!this.#e.snappingControlsElements.gridControlsElements.colorSelection}set hideSnappingControlsElementsGridControlsElementsColorSelection(e){this.#e.snappingControlsElements.gridControlsElements.colorSelection=!e}get hideSnappingControlsElementsGridControlsElementsDynamicScaleToggle(){return!this.#e.snappingControlsElements.gridControlsElements.dynamicScaleToggle}set hideSnappingControlsElementsGridControlsElementsDynamicScaleToggle(e){this.#e.snappingControlsElements.gridControlsElements.dynamicScaleToggle=!e}get hideSnappingControlsElementsGridControlsElementsLineIntervalInput(){return!this.#e.snappingControlsElements.gridControlsElements.lineIntervalInput}set hideSnappingControlsElementsGridControlsElementsLineIntervalInput(e){this.#e.snappingControlsElements.gridControlsElements.lineIntervalInput=!e}get hideSnappingControlsElementsGridControlsElementsNumericInputs(){return!this.#e.snappingControlsElements.gridControlsElements.numericInputs}set hideSnappingControlsElementsGridControlsElementsNumericInputs(e){this.#e.snappingControlsElements.gridControlsElements.numericInputs=!e}get hideSnappingControlsElementsGridControlsElementsOutOfScaleWarning(){return!this.#e.snappingControlsElements.gridControlsElements.outOfScaleWarning}set hideSnappingControlsElementsGridControlsElementsOutOfScaleWarning(e){this.#e.snappingControlsElements.gridControlsElements.outOfScaleWarning=!e}get hideSnappingControlsElementsGridControlsElementsPlacementButtons(){return!this.#e.snappingControlsElements.gridControlsElements.placementButtons}set hideSnappingControlsElementsGridControlsElementsPlacementButtons(e){this.#e.snappingControlsElements.gridControlsElements.placementButtons=!e}get hideSnappingControlsElementsGridControlsElementsRotateWithMapToggle(){return!this.#e.snappingControlsElements.gridControlsElements.rotateWithMapToggle}set hideSnappingControlsElementsGridControlsElementsRotateWithMapToggle(e){this.#e.snappingControlsElements.gridControlsElements.rotateWithMapToggle=!e}get hideTooltipsToggle(){return!this.#e.tooltipsToggle}set hideTooltipsToggle(e){this.#e.tooltipsToggle=!e}get hideUndoRedoMenu(){return!this.#e.undoRedoMenu}set hideUndoRedoMenu(e){this.#e.undoRedoMenu=!e}get relativePosition(){let e=this.el.slot;return this.#i??(Se.has(e)?e:oe.topRight)}set relativePosition(e){this.#i=e}get scale(){return this.visualScale}set scale(e){this.visualScale=e}get showSnappingControlsElementsHeader(){return this.#e.snappingControlsElements.header}set showSnappingControlsElementsHeader(e){this.#e.snappingControlsElements.header=e}get showCreateToolsFreehandPolygon(){return this.#e.createTools.freehandPolygon}set showCreateToolsFreehandPolygon(e){this.#e.createTools.freehandPolygon=e}get showCreateToolsFreehandPolyline(){return this.#e.createTools.freehandPolyline}set showCreateToolsFreehandPolyline(e){this.#e.createTools.freehandPolyline=e}get showCreateToolsText(){return this.#e.createTools.text}set showCreateToolsText(e){this.#e.createTools.text=e}get hideGeometrySimplificationActivityIndicator(){return!this.#e.geometrySimplificationActivityIndicator}set hideGeometrySimplificationActivityIndicator(e){this.#e.geometrySimplificationActivityIndicator=!e}get state(){return this.#t.state}get cancelUpdateOnClickAwayDisabled(){return!this.viewModel.cancelUpdateOnClickAway}set cancelUpdateOnClickAwayDisabled(e){this.viewModel.cancelUpdateOnClickAway=!e}async cancel(){this.#t.cancelAll()}async complete(){this.viewModel.complete()}async create(e,t){await this.#t.create(e,t)}async delete(){this.viewModel.delete()}async destroy(){await this.manager.destroy()}async dismissFloatingElements(){this.#t.settingsPopoverOpen=!1}async duplicate(){this.viewModel.duplicate()}async redo(){this.viewModel.redo()}async setContextualToolLocation(e){this._contextualToolLocation=e}async setCustomTools(e,t){this.#t.setCustomTools(e,t)}async setGroupCollapsePriorities(e){this._groupLayoutPriorityOverrides=e||new Map}async triggerUpdate(e,t){await this.#t.update(e,t)}async undo(){this.#t.sketchViewModel?.undo()}connectedCallback(){super.connectedCallback(),this.defaultGraphicsLayerDisabled||(this._defaultGraphicsLayer?.destroyed&&(this._defaultGraphicsLayer=null),this._defaultGraphicsLayer??=new pe({title:"Sketch Layer"}),this.layer=this._defaultGraphicsLayer,this.view?.map?.add(this.layer),this.viewModel.layer=this._defaultGraphicsLayer)}disconnectedCallback(){this._defaultGraphicsLayer&&this.view?.map?.allLayers.includes(this._defaultGraphicsLayer)&&this.view?.map?.remove(this._defaultGraphicsLayer),super.disconnectedCallback()}render(){let e=this._refMap.get("settings")?.value?.actionElement,t=this.#t.groupedActions,{visualScale:o,layout:s,toolbarKind:r,relativePosition:d,_contextualToolLocation:a}=this,l=t.find(({name:n})=>n==="selectionSet"),g=t.filter(({name:n})=>n!=="selectionSet");return v`<div class="toolbar-container"><arcgis-toolbar-stack .layout=${s} .toolbarKind=${r} .relativePosition=${d} .scale=${o} tooltip-appearance=calcite ${E(this.#s.ref)}><arcgis-toolbar ${E(this.#l)}>${_({hidden:!l?.visible||a!=="inline",children:this._renderActionGroup(l)})}${g.map(n=>this._renderActionGroup(n))}${_({hidden:!l?.visible||a!=="inline-end",children:this._renderActionGroup(l)})}</arcgis-toolbar>${_({hidden:!l?.visible||a!=="separate",children:v`<arcgis-toolbar>${this._renderActionGroup(l)}</arcgis-toolbar>`})}</arcgis-toolbar-stack></div>${_({hidden:this.hideSettingsMenu,children:v`<arcgis-view-popover .open=${this.#t.settingsPopoverOpen} closable .heading=${this._messages.settings?.heading} .label=${this._messages.settings?.heading} .anchorElement=${e} .visualScale=${o} .actionBarElement=${this.#l.value?.barElement} @arcgisPropertyChange=${n=>this.#t.settingsPopoverOpen=n.target.open??!1} .view=${this.view??void 0}>${this._renderSettings()}</arcgis-view-popover>`})}`}_renderSettings(){let{autoDestroyDisabled:e,hideLabelsToggle:t,hideSnappingControls:o,hideTooltipsToggle:s,showSnappingControlsElementsHeader:r,useViewOptions:d,view:a,viewModel:l}=this;return v`<div class="editing-controls-panel"><arcgis-sketch-tooltip-controls .hideLabelsToggle=${t} .hideTooltipsToggle=${d||s} .directionMode=${l.valueOptions.directionMode} .labelsEnabled=${l.labelOptions.enabled} .tooltipsEnabled=${l.tooltipOptions.enabled} @arcgisPropertyChange=${g=>{g.stopPropagation();let{labelsEnabled:n,tooltipsEnabled:u,directionMode:m}=g.currentTarget,b=this.viewModel;switch(g.detail.name){case"labelsEnabled":b.labelOptions.enabled=n;break;case"directionMode":b.valueOptions.directionMode=m;break;case"tooltipsEnabled":b.tooltipOptions.enabled=u;break}}}></arcgis-sketch-tooltip-controls>${!d&&!o?v`<arcgis-snapping-controls .autoDestroyDisabled=${e} .view=${a} .visibleElements=${this.#e.snappingControlsElements} .snappingOptions=${l.snappingOptions} .showHeader=${r} @arcgisPropertyChange=${g=>g.stopPropagation()}></arcgis-snapping-controls>`:void 0}</div>`}_renderActionGroup({visible:e,commands:t,name:o}){if(!e||!t.length)return;let{defaultPriority:s,groupKind:r,overflowLabel:d,preferEndSlot:a}=Me[o],l=(o==="geometrySimplification"?void 0:this._groupLayoutPriorityOverrides.get(o))??s,g=t.map(u=>this._renderCommand(u)),n=se(`more.${d}`,this._messages);switch(r){case"more-button":return v`<arcgis-toolbar-group .priority=${l} .preferEndSlot=${a}><arcgis-toolbar-more-button .overflowActionLabel=${n} .priority=${l}>${g}</arcgis-toolbar-more-button></arcgis-toolbar-group>`;case"split-button":return v`<arcgis-toolbar-group .priority=${l} .preferEndSlot=${a}><arcgis-toolbar-split-button .overflowActionLabel=${n} .priority=${l}>${g}</arcgis-toolbar-split-button></arcgis-toolbar-group>`;case"actions":return v`<arcgis-toolbar-group .priority=${l} .preferEndSlot=${a}>${g}</arcgis-toolbar-group>`}}_renderCommand({active:e,afterCreate:t,afterRemoved:o,afterUpdate:s,appearance:r,icon:d,disabled:a,id:l,kind:g,labelKey:n,labelParameters:u,loading:m,tooltipKey:b,iconFlipRTL:S,onClick:f,refKey:M,textEnabled:V,renderAsAction:ce}){let{_messages:B,_refMap:he,layout:I}=this,P=se(n,B),O=P===void 0?n:u?de(P,u):P,D=B?.[b]??O,W=M?ae(he,M,k):this.#n,K={afterCreate:t,afterRemoved:o,afterUpdate:s};return ce?v`<arcgis-toolbar-action .active=${e} .appearance=${r} .disabled=${a} .icon=${d} .iconFlipRtl=${S} id=${l??A} .kind=${g} .loading=${m} .labelText=${I==="horizontal"?O:""} .textEnabled=${V} .tooltipText=${I==="horizontal"&&V?"":D} @arcgisToolbarItemSelected=${f} ${ne(K)} ${E(W)}></arcgis-toolbar-action>`:v`<arcgis-toolbar-item .active=${e} .disabled=${a} .icon=${d} id=${l??A} .iconFlipRtl=${S} .labelText=${O} .tooltipText=${D} @arcgisItemSelected=${f} ${ne(K)} ${E(W)}></arcgis-toolbar-item>`}};J("arcgis-sketch",x);return x},"intl","layers/GraphicsLayer","symbols/TextSymbol","core/reactiveUtils","widgets/Sketch/SketchViewModel","applications/Components/featureUtils","core/Accessor","core/accessorSupport/decorators","core/promiseUtils","widgets/Sketch/VisibleElements","widgets/support/SelectionToolbar/SelectionToolbarViewModel",a,b,c,d,e,f,g)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as u}from"./CYH72IDQ.js";import{i as d}from"./FXUZU52U.js";import{a as g}from"./7465ANAR.js";import"./GIBXI44G.js";import"./RQT2PVDJ.js";import"./LXME6MU5.js";import{P as n,Q as o,R as m,X as p,_ as h,a as r,b as t,x as c}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";var v=r`:host{--calcite-label-margin-bottom: 0;width:100%}.root{display:flex;flex-direction:column;gap:var(--calcite-spacing-xxs);width:100%}.heading{display:grid;grid-template-columns:minmax(0,1fr) 1.5rem;align-items:center;gap:var(--calcite-spacing-xs);min-block-size:1.5rem}.label{min-inline-size:0;overflow-wrap:anywhere}.reset{--calcite-button-text-color: var(--calcite-color-text-3);inline-size:100%}calcite-select{inline-size:100%;min-inline-size:0}`,l=class extends m{constructor(){super(...arguments),this.messages=g({}),this._selectRef=n(),this.options=[],this.scale="m",this.canReset=!1,this.arcgisInternalUnitReset=c({bubbles:!1,composed:!1}),this.arcgisUnitSelectChange=c()}static{this.properties={options:[1,{type:Array}],scale:1,selectLabel:1,value:0,canReset:5,resetLabel:1,messageOverrides:0,label:1}}static{this.styles=v}async destroy(){await this.manager.destroy()}async _resetUnit(){this.arcgisInternalUnitReset.emit(),await this.updateComplete,await this._selectRef.value?.setFocus()}render(){let{messages:s,options:b=[],selectLabel:a,value:f,arcgisUnitSelectChange:$}=this,i=this.resetLabel??s.reset;return t`<calcite-label .scale=${this.scale}><div class="root"><div class="heading"><span class="label">${a}</span>${this.canReset&&i&&t`<calcite-button class="reset" appearance=transparent icon-start=reset kind=neutral .label=${`${i}: ${a}`} title=${i??p} scale=s @click=${this._resetUnit}></calcite-button>`||""}</div><calcite-select .label=${a} @calciteSelectChange=${e=>{$.emit(e.target.value)}} .scale=${this.scale} ${o(this._selectRef)}>${u(b,e=>e,e=>t`<calcite-option .selected=${e===f} .value=${e}>${d(e)?s.systems?.[e]:s.units?.[e]}</calcite-option>`)}</calcite-select></div></calcite-label>`}};h("arcgis-unit-select",l);export{l as ArcgisUnitSelect};
2
+ import{a as u}from"./WVKMYNN7.js";import{i as d}from"./FXUZU52U.js";import{a as g}from"./REB4CHAK.js";import"./Q7GF26CL.js";import"./U77WHUC6.js";import"./LXME6MU5.js";import{P as n,Q as o,R as m,X as p,_ as h,a as r,b as t,x as c}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";var v=r`:host{--calcite-label-margin-bottom: 0;width:100%}.root{display:flex;flex-direction:column;gap:var(--calcite-spacing-xxs);width:100%}.heading{display:grid;grid-template-columns:minmax(0,1fr) 1.5rem;align-items:center;gap:var(--calcite-spacing-xs);min-block-size:1.5rem}.label{min-inline-size:0;overflow-wrap:anywhere}.reset{--calcite-button-text-color: var(--calcite-color-text-3);inline-size:100%}calcite-select{inline-size:100%;min-inline-size:0}`,l=class extends m{constructor(){super(...arguments),this.messages=g({}),this._selectRef=n(),this.options=[],this.scale="m",this.canReset=!1,this.arcgisInternalUnitReset=c({bubbles:!1,composed:!1}),this.arcgisUnitSelectChange=c()}static{this.properties={options:[1,{type:Array}],scale:1,selectLabel:1,value:0,canReset:5,resetLabel:1,messageOverrides:0,label:1}}static{this.styles=v}async destroy(){await this.manager.destroy()}async _resetUnit(){this.arcgisInternalUnitReset.emit(),await this.updateComplete,await this._selectRef.value?.setFocus()}render(){let{messages:s,options:b=[],selectLabel:a,value:f,arcgisUnitSelectChange:$}=this,i=this.resetLabel??s.reset;return t`<calcite-label .scale=${this.scale}><div class="root"><div class="heading"><span class="label">${a}</span>${this.canReset&&i&&t`<calcite-button class="reset" appearance=transparent icon-start=reset kind=neutral .label=${`${i}: ${a}`} title=${i??p} scale=s @click=${this._resetUnit}></calcite-button>`||""}</div><calcite-select .label=${a} @calciteSelectChange=${e=>{$.emit(e.target.value)}} .scale=${this.scale} ${o(this._selectRef)}>${u(b,e=>e,e=>t`<calcite-option .selected=${e===f} .value=${e}>${d(e)?s.systems?.[e]:s.units?.[e]}</calcite-option>`)}</calcite-select></div></calcite-label>`}};h("arcgis-unit-select",l);export{l as ArcgisUnitSelect};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import b from"./KRJCOTGC.js";import a from"./U7WRQCRV.js";import{a as n}from"./GIBXI44G.js";export default $arcgis.t(([{watch:a},{b:i},{d:r}])=>{var v=(e,o)=>s=>p(s,e),t=class extends r{#s=void 0;constructor(o,s){super(o,s),new i(this.component)}hostLoad(){let o=!0;this.#s=a(()=>this.component.el.view,s=>{this.instance.view=s,s==null?o||(this.instance.map=s):this.instance.map=s.map,o=!1},{sync:!0,initial:!0})}hostDestroy(){this.#s?.remove(),super.hostDestroy()}},p=n(t);return v},"core/reactiveUtils",a,b)
2
+ import b from"./7JPHMESH.js";import a from"./OLY5EME5.js";import{a as n}from"./Q7GF26CL.js";export default $arcgis.t(([{watch:a},{b:i},{d:r}])=>{var v=(e,o)=>s=>p(s,e),t=class extends r{#s=void 0;constructor(o,s){super(o,s),new i(this.component)}hostLoad(){let o=!0;this.#s=a(()=>this.component.el.view,s=>{this.instance.view=s,s==null?o||(this.instance.map=s):this.instance.map=s.map,o=!1},{sync:!0,initial:!0})}hostDestroy(){this.#s?.remove(),super.hostDestroy()}},p=n(t);return v},"core/reactiveUtils",a,b)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import b from"./4XERPOOU.js";import a from"./SZ3T7YEB.js";import{R as i,T as c,U as o,_ as p,a as s,b as t}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([,{a:n,f:m}])=>{var d=s`.layer-row{display:flex}.layer-cell{padding:var(--calcite-space-2xs) 0;vertical-align:middle;word-break:break-word}.layer-cell-symbols{text-align:center}.layer-cell-info{padding-right:var(--calcite-space-sm);padding-left:var(--calcite-space-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.color-ramp{width:24px}.opacity-ramp{background-image:url(data:image/avif;base64,AAAAHGZ0eXBhdmlmAAAAAG1pZjFhdmlmbWlhZgAAANZtZXRhAAAAAAAAACFoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAAAAAAA5waXRtAAAAAAABAAAAImlsb2MAAAAAREAAAQABAAAAAAD6AAEAAAAAAAAAHgAAACNpaW5mAAAAAAABAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAAVmlwcnAAAAA4aXBjbwAAAAxhdjFDgQAMAAAAABRpc3BlAAAAAAAAAAgAAAAIAAAAEHBpeGkAAAAAAwgICAAAABZpcG1hAAAAAAAAAAEAAQOBAgMAAAAmbWRhdBIACggYCL/kgIaDQjIQGAAAAEBAA1LuL7oS8L0QEA==)}.ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.ramp-label{position:relative;padding:0 var(--calcite-space-sm);line-height:var(--calcite-font-size-sm);white-space:nowrap;font-size:var(--calcite-font-size-sm)}.ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}.layer-caption{display:table-caption;padding:var(--calcite-space-sm) 0}:dir(rtl) .ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}`,r=class extends i{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={_preview:16,legendElement:0,opacity:9,messages:0}}static{this.styles=d}get _preview(){let A=this.legendElement.preview;if(!A)return null;let e=this.legendElement.type==="opacity-ramp",a=e?"opacity-ramp":"";A.className=`color-ramp ${a}`,this.opacity!=null&&(A.style.opacity=this.opacity.toString());let l=e?this.messages.previewOpacityRampAriaLabel:this.messages.previewColorRampAriaLabel;return m(A,l),A}render(){let{legendElement:A,_preview:e}=this;if(!e)return null;let a={height:e.style.height};return t`<div class="layer-row"><div class="layer-cell layer-cell-symbols"><div class="ramps">${e}</div></div><div class="layer-cell layer-cell-info"><div class="ramp-labels" style=${o(a)}>${A.infos.map(l=>this._renderRampLabel(l,A.type))}</div></div></div>`}_renderRampLabel(A,e){return t`<div class=${c(A.label?"ramp-label":void 0)}>${n(A,e,this.messages)}</div>`}};p("arcgis-legend-classic-color-ramp",r);return r},a,b)
2
+ import b from"./4XERPOOU.js";import a from"./SZ3T7YEB.js";import{R as i,T as c,U as o,_ as p,a as s,b as t}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([,{a:n,f:m}])=>{var d=s`.layer-row{display:flex}.layer-cell{padding:var(--calcite-space-2xs) 0;vertical-align:middle;word-break:break-word}.layer-cell-symbols{text-align:center}.layer-cell-info{padding-right:var(--calcite-space-sm);padding-left:var(--calcite-space-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.color-ramp{width:24px}.opacity-ramp{background-image:url(data:image/avif;base64,AAAAHGZ0eXBhdmlmAAAAAG1pZjFhdmlmbWlhZgAAANZtZXRhAAAAAAAAACFoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAAAAAAA5waXRtAAAAAAABAAAAImlsb2MAAAAAREAAAQABAAAAAAD6AAEAAAAAAAAAHgAAACNpaW5mAAAAAAABAAAAFWluZmUCAAAAAAEAAGF2MDEAAAAAVmlwcnAAAAA4aXBjbwAAAAxhdjFDgQAMAAAAABRpc3BlAAAAAAAAAAgAAAAIAAAAEHBpeGkAAAAAAwgICAAAABZpcG1hAAAAAAAAAAEAAQOBAgMAAAAmbWRhdBIACggYCL/kgIaDQjIQGAAAAEBAA1LuL7oS8L0QEA==)}.ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.ramp-label{position:relative;padding:0 var(--calcite-space-sm);line-height:var(--calcite-font-size-sm);white-space:nowrap;font-size:var(--calcite-font-size-sm)}.ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}.layer-caption{display:table-caption;padding:var(--calcite-space-sm) 0}:dir(rtl) .ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}`,r=class extends i{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={_preview:16,legendElement:0,opacity:9,messages:0}}static{this.styles=d}get _preview(){let A=this.legendElement.preview;if(!A)return null;let e=this.legendElement.type==="opacity-ramp",a=e?"opacity-ramp":"";A.className=`color-ramp ${a}`,this.opacity!=null&&(A.style.opacity=this.opacity.toString());let l=e?this.messages.previewOpacityRampAriaLabel:this.messages.previewColorRampAriaLabel;return m(A,l),A}render(){let{legendElement:A,_preview:e}=this;if(!e)return null;let a={height:e.style.height};return t`<div class="layer-row"><div class="layer-cell layer-cell-symbols"><div class="ramps">${e}</div></div><div class="layer-cell layer-cell-info"><div class="ramp-labels" style=${o(a)}>${A.infos.map(l=>this._renderRampLabel(l,A.type))}</div></div></div>`}_renderRampLabel(A,e){return t`<div class=${c(A.label?"ramp-label":void 0)}>${n(A,e,this.messages)}</div>`}};p("arcgis-legend-classic-color-ramp",r);return r},a,b)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{R as c,_ as o,a as s,b as a}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:p},d])=>{var f=s`.sr-label{display:flex;gap:var(--calcite-spacing-xs)}.invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`;function m(e){if(e==null)return!1;let t=e.wkid;return t!=null&&t>=2e3?!0:e.wkt2!=null||e.wkt!=null}function v(e){return e==null?e:Math.round(Number.parseFloat(e))}var l=class extends c{constructor(){super(...arguments),this._isValidSpatialReference=!0}static{this.properties={_isValidSpatialReference:16,_outSpatialReference:16,templateOptions:0,viewModel:0,messages:0}}static{this.styles=f}loaded(){this.manager.onLifecycle(()=>[p(()=>this.viewModel.outSpatialReference,t=>{this._outSpatialReference=t??void 0},{initial:!0})])}render(){let{messages:t}=this;return a`<div><calcite-label><div class="sr-label">${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString()??""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({currentTarget:u})=>{let n=u.value;if(n===""){this.viewModel.outSpatialReference=null,this._isValidSpatialReference=!0;return}let i=v(n),r=Number.isNaN(i)||i==null?null:new d({wkid:i});this.viewModel.outSpatialReference=r,this._isValidSpatialReference=m(r)}}></calcite-input-number>${this._isValidSpatialReference?null:a`<div class="invalid-wkid-text">${t.invalidWkid}</div>`}</calcite-label></div>`}};o("arcgis-print-out-spatial-reference-input",l);return l},"core/reactiveUtils","geometry/SpatialReference")
2
+ import{R as c,_ as o,a as s,b as a}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:p},d])=>{var f=s`.sr-label{display:flex;gap:var(--calcite-spacing-xs)}.invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`;function m(e){if(e==null)return!1;let t=e.wkid;return t!=null&&t>=2e3?!0:e.wkt2!=null||e.wkt!=null}function v(e){return e==null?e:Math.round(Number.parseFloat(e))}var l=class extends c{constructor(){super(...arguments),this._isValidSpatialReference=!0}static{this.properties={_isValidSpatialReference:16,_outSpatialReference:16,templateOptions:0,viewModel:0,messages:0}}static{this.styles=f}loaded(){this.manager.onLifecycle(()=>[p(()=>this.viewModel.outSpatialReference,t=>{this._outSpatialReference=t??void 0},{initial:!0})])}render(){let{messages:t}=this;return a`<div><calcite-label><div class="sr-label">${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString()??""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({currentTarget:u})=>{let n=u.value;if(n===""){this.viewModel.outSpatialReference=null,this._isValidSpatialReference=!0;return}let i=v(n),r=Number.isNaN(i)||i==null?null:new d({wkid:i});this.viewModel.outSpatialReference=r,this._isValidSpatialReference=m(r)}}></calcite-input-number>${this._isValidSpatialReference?null:a`<div class="invalid-wkid-text">${t.invalidWkid}</div>`}</calcite-label></div>`}};o("arcgis-print-out-spatial-reference-input",l);return l},"core/reactiveUtils","geometry/SpatialReference")
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{g as r}from"./GIBXI44G.js";import{$ as o}from"./7IGSTLKW.js";var s=r(o);export{s as a};
2
+ import{g as r}from"./Q7GF26CL.js";import{$ as o}from"./PQ7NUE5C.js";var s=r(o);export{s as a};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import a from"./LH2T4TMP.js";import"./GDLDEHUJ.js";import{a as c}from"./7465ANAR.js";import"./GIBXI44G.js";import"./RQT2PVDJ.js";import"./LXME6MU5.js";import{R as u,_ as l,a as r,b as s}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{formatNumber:f,formatDate:g},{replace:x},{a:h,b:d}])=>{function y(i,e=!0){let t=[];if(!i)return t;let n=i.validationCriterionStates,m=i.input,p=m?.type==="attachment"?m.inputTypes?.slice()??[]:m==null?[]:[m];i.hasUnsupportedFileTypeValidationError&&t.push({key:"errorFileUnsupported",state:"danger"});for(let a of p)a.type==="document"&&a.maxFileSize!=null&&t.push({key:"maximumFileSize",messageDataValue:a.maxFileSize,state:n.get("maximum-file-size")??"info"}),a.type==="audio"&&a.maxDuration!=null&&t.push({key:"maximumAudioLength",messageDataValue:a.maxDuration,state:n.get("maximum-audio-length")??"info"}),a.type==="video"&&a.maxDuration!=null&&t.push({key:"maximumVideoLength",messageDataValue:a.maxDuration,state:n.get("maximum-video-length")??"info"}),a.type==="image"&&a.maxImageSize!=null&&t.push({key:"maximumImageSize",messageDataValue:a.maxImageSize,state:n.get("maximum-image-size")??"info"});return e&&i.minAttachmentCount!=null&&i.minAttachmentCount>0&&t.push({key:"minimumNumberOfFiles",messageDataValue:i.minAttachmentCount,state:n.get("minimum-number-of-files")??"info"}),e&&i.maxAttachmentCount!=null&&t.push({key:"maximumNumberOfFiles",messageDataValue:i.maxAttachmentCount,state:n.get("maximum-number-of-files")??"info"}),t}var C=r`.container{display:flex;flex-direction:column;gap:var(--calcite-space-sm)}`,o=class extends u{constructor(){super(...arguments),this._messages=c({blocking:!0,name:"feature-form-next"}),this.includeCountCriteria=!1}static{this.properties={includeCountCriteria:5,input:0,messageOverrides:0}}static{this.styles=C}_localize(e){let t=this._messages?.components?.attachments?.["attachment-validation-view"]?.validations?.[e.key];if(!t)return"";let n=this._formatValidationContent(e)??"";return x(t,{value:n})}_formatValidationContent(e){let t=e.messageDataValue;if(typeof t!="number")return t;switch(e.key){case"maximumFileSize":return this._formatAttachmentSize(t);case"maximumAudioLength":case"maximumVideoLength":return this._formatAttachmentDurationLimit(t);case"maximumImageSize":return f(t,{maximumFractionDigits:0,minimumFractionDigits:0,useGrouping:!1});default:return`${t}`}}_formatAttachmentDurationLimit(e){return g(Math.round(e)*1e3,{...e>=3600?{hour:"2-digit",hourCycle:"h23"}:{},minute:"2-digit",second:"2-digit",timeZone:"UTC"})}_formatAttachmentSize(e){return d(this._messages.units,e*h.Megabytes)}render(){let e=y(this.input,this.includeCountCriteria).map(t=>s`<calcite-notice appearance=outline-fill data-testid=${`notice-${t.key}`} icon .kind=${t.state} open scale=s width=full><div slot=message>${this._localize(t)}</div></calcite-notice>`);return s`<div class="container" data-testid=root>${e}</div>`}};l("arcgis-attachment-validation-view",o);return o},"intl","applications/Components/stringUtils",a)
2
+ import a from"./LH2T4TMP.js";import"./GDLDEHUJ.js";import{a as c}from"./REB4CHAK.js";import"./Q7GF26CL.js";import"./U77WHUC6.js";import"./LXME6MU5.js";import{R as u,_ as l,a as r,b as s}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{formatNumber:f,formatDate:g},{replace:x},{a:h,b:d}])=>{function y(i,e=!0){let t=[];if(!i)return t;let n=i.validationCriterionStates,m=i.input,p=m?.type==="attachment"?m.inputTypes?.slice()??[]:m==null?[]:[m];i.hasUnsupportedFileTypeValidationError&&t.push({key:"errorFileUnsupported",state:"danger"});for(let a of p)a.type==="document"&&a.maxFileSize!=null&&t.push({key:"maximumFileSize",messageDataValue:a.maxFileSize,state:n.get("maximum-file-size")??"info"}),a.type==="audio"&&a.maxDuration!=null&&t.push({key:"maximumAudioLength",messageDataValue:a.maxDuration,state:n.get("maximum-audio-length")??"info"}),a.type==="video"&&a.maxDuration!=null&&t.push({key:"maximumVideoLength",messageDataValue:a.maxDuration,state:n.get("maximum-video-length")??"info"}),a.type==="image"&&a.maxImageSize!=null&&t.push({key:"maximumImageSize",messageDataValue:a.maxImageSize,state:n.get("maximum-image-size")??"info"});return e&&i.minAttachmentCount!=null&&i.minAttachmentCount>0&&t.push({key:"minimumNumberOfFiles",messageDataValue:i.minAttachmentCount,state:n.get("minimum-number-of-files")??"info"}),e&&i.maxAttachmentCount!=null&&t.push({key:"maximumNumberOfFiles",messageDataValue:i.maxAttachmentCount,state:n.get("maximum-number-of-files")??"info"}),t}var C=r`.container{display:flex;flex-direction:column;gap:var(--calcite-space-sm)}`,o=class extends u{constructor(){super(...arguments),this._messages=c({blocking:!0,name:"feature-form-next"}),this.includeCountCriteria=!1}static{this.properties={includeCountCriteria:5,input:0,messageOverrides:0}}static{this.styles=C}_localize(e){let t=this._messages?.components?.attachments?.["attachment-validation-view"]?.validations?.[e.key];if(!t)return"";let n=this._formatValidationContent(e)??"";return x(t,{value:n})}_formatValidationContent(e){let t=e.messageDataValue;if(typeof t!="number")return t;switch(e.key){case"maximumFileSize":return this._formatAttachmentSize(t);case"maximumAudioLength":case"maximumVideoLength":return this._formatAttachmentDurationLimit(t);case"maximumImageSize":return f(t,{maximumFractionDigits:0,minimumFractionDigits:0,useGrouping:!1});default:return`${t}`}}_formatAttachmentDurationLimit(e){return g(Math.round(e)*1e3,{...e>=3600?{hour:"2-digit",hourCycle:"h23"}:{},minute:"2-digit",second:"2-digit",timeZone:"UTC"})}_formatAttachmentSize(e){return d(this._messages.units,e*h.Megabytes)}render(){let e=y(this.input,this.includeCountCriteria).map(t=>s`<calcite-notice appearance=outline-fill data-testid=${`notice-${t.key}`} icon .kind=${t.state} open scale=s width=full><div slot=message>${this._localize(t)}</div></calcite-notice>`);return s`<div class="container" data-testid=root>${e}</div>`}};l("arcgis-attachment-validation-view",o);return o},"intl","applications/Components/stringUtils",a)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as u}from"./7465ANAR.js";import"./GIBXI44G.js";import"./RQT2PVDJ.js";import"./LXME6MU5.js";import{B as h,Q as m,R as d,X as s,_ as f,a as n,b as a,x as p}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([i,{substitute:b}])=>{var g=n`:host{display:inline-block;position:relative;width:fit-content;isolation:isolate}calcite-label:focus-within .swatch-wrapper{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:2px}`,l=class extends d{constructor(){super(...arguments),this._messages=u(),this.#t=e=>{this._popoverReferenceElement=e??void 0},this.#e=h(),this._color=new i([0,0,0,1]),this._open=!1,this.arcgisColorChanged=p()}static{this.properties={_color:16,_open:16,_popoverReferenceElement:16,color:1,label:1}}static{this.styles=g}#t;#e;get color(){return this._color}set color(e){let o=e instanceof i?e:new i(e);o.equals(this._color)||(this._color=o)}#s(e){(e.key===" "||e.key==="Enter")&&this.#o(e)}#o(e){e.preventDefault(),e.stopPropagation(),this._open=!this._open}render(){let e=this._color.toCss(!0),[o,_,$,v]=this._color.toRgba(),r=b(this._messages?.ariaDescription??"",{label:this.label??this._messages?.label??"",color:`${o}, ${_}, ${$}, ${v}`});return a`<calcite-label layout=inline scale=s @click=${this.#o}><div class="swatch-wrapper" tabindex=0 role=button aria-controls=${this.#e??s} aria-expanded=${this._open?"true":"false"} aria-haspopup=dialog aria-label=${r??s} @keydown=${this.#s} @click=${this.#o} ${m(this.#t)}><calcite-swatch .color=${e} .label=${r}></calcite-swatch></div>${this.label??this._messages?.label}${this._popoverReferenceElement?a`<calcite-popover id=${this.#e??s} auto-close class="popover" .label=${this._messages?.popoverLabel??""} .open=${this._open} @calcitePopoverClose=${()=>this._open=!1} @calcitePopoverOpen=${()=>this._open=!0} overlay-positioning=fixed .referenceElement=${this._popoverReferenceElement}><calcite-color-picker alpha-channel channels-disabled @click=${t=>{t.stopPropagation()}} @calciteColorPickerInput=${({target:{value:t}})=>{if(typeof t=="string"){let c=new i(t);this.color=c,this.arcgisColorChanged.emit(c)}}} saved-disabled .value=${e}></calcite-color-picker></calcite-popover>`:void 0}</calcite-label>`}};f("arcgis-color-select",l);return l},"Color","intl")
2
+ import{a as u}from"./REB4CHAK.js";import"./Q7GF26CL.js";import"./U77WHUC6.js";import"./LXME6MU5.js";import{B as h,Q as m,R as d,X as s,_ as f,a as n,b as a,x as p}from"./PQ7NUE5C.js";import"./TAVTDQ6S.js";export default $arcgis.t(([i,{substitute:b}])=>{var g=n`:host{display:inline-block;position:relative;width:fit-content;isolation:isolate}calcite-label:focus-within .swatch-wrapper{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:2px}`,l=class extends d{constructor(){super(...arguments),this._messages=u(),this.#t=e=>{this._popoverReferenceElement=e??void 0},this.#e=h(),this._color=new i([0,0,0,1]),this._open=!1,this.arcgisColorChanged=p()}static{this.properties={_color:16,_open:16,_popoverReferenceElement:16,color:1,label:1}}static{this.styles=g}#t;#e;get color(){return this._color}set color(e){let o=e instanceof i?e:new i(e);o.equals(this._color)||(this._color=o)}#s(e){(e.key===" "||e.key==="Enter")&&this.#o(e)}#o(e){e.preventDefault(),e.stopPropagation(),this._open=!this._open}render(){let e=this._color.toCss(!0),[o,_,$,v]=this._color.toRgba(),r=b(this._messages?.ariaDescription??"",{label:this.label??this._messages?.label??"",color:`${o}, ${_}, ${$}, ${v}`});return a`<calcite-label layout=inline scale=s @click=${this.#o}><div class="swatch-wrapper" tabindex=0 role=button aria-controls=${this.#e??s} aria-expanded=${this._open?"true":"false"} aria-haspopup=dialog aria-label=${r??s} @keydown=${this.#s} @click=${this.#o} ${m(this.#t)}><calcite-swatch .color=${e} .label=${r}></calcite-swatch></div>${this.label??this._messages?.label}${this._popoverReferenceElement?a`<calcite-popover id=${this.#e??s} auto-close class="popover" .label=${this._messages?.popoverLabel??""} .open=${this._open} @calcitePopoverClose=${()=>this._open=!1} @calcitePopoverOpen=${()=>this._open=!0} overlay-positioning=fixed .referenceElement=${this._popoverReferenceElement}><calcite-color-picker alpha-channel channels-disabled @click=${t=>{t.stopPropagation()}} @calciteColorPickerInput=${({target:{value:t}})=>{if(typeof t=="string"){let c=new i(t);this.color=c,this.arcgisColorChanged.emit(c)}}} saved-disabled .value=${e}></calcite-color-picker></calcite-popover>`:void 0}</calcite-label>`}};f("arcgis-color-select",l);return l},"Color","intl")