@esri/calcite-components 3.0.0 → 3.1.0-next.0

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 (391) hide show
  1. package/dist/calcite/{45GA6INB.js → 23MOV6NG.js} +2 -2
  2. package/dist/calcite/{U725E4ID.js → 2OOLECPX.js} +2 -2
  3. package/dist/calcite/{GOOHYN3D.js → 34MV5U4O.js} +2 -2
  4. package/dist/calcite/{U3WK4DZT.js → 373CZCGO.js} +2 -2
  5. package/dist/calcite/{WWUBU6N5.js → 3AXOI2C3.js} +2 -2
  6. package/dist/calcite/{HFIRIAQA.js → 3B2PP7OF.js} +2 -2
  7. package/dist/calcite/{FNM4DZZH.js → 3SGAAJUZ.js} +1 -1
  8. package/dist/calcite/{6ZTWHW63.js → 3WJNCOPC.js} +2 -2
  9. package/dist/calcite/{2M4WCGKG.js → 4OCELM2X.js} +2 -2
  10. package/dist/calcite/{EOHVH6PN.js → 4UTJZXPD.js} +2 -2
  11. package/dist/calcite/{7PWETOIU.js → 4YQ5JTFA.js} +2 -2
  12. package/dist/calcite/{BRTESQOJ.js → 5FHBAB7Y.js} +2 -2
  13. package/dist/calcite/{T6HODD4B.js → 5M6HCNZZ.js} +2 -2
  14. package/dist/calcite/{V4JZRN7T.js → 5V63WOMD.js} +2 -2
  15. package/dist/calcite/{MPX2M2VX.js → 5WY3RA4V.js} +2 -2
  16. package/dist/calcite/{L5FDXQMT.js → 62IMSXF5.js} +1 -1
  17. package/dist/calcite/{RMGYRZXR.js → 6D6N2CCC.js} +2 -2
  18. package/dist/calcite/{KBDXI6DJ.js → 6I7N4DJM.js} +2 -2
  19. package/dist/calcite/{RLSQLIV6.js → 6IFDRSQV.js} +2 -2
  20. package/dist/calcite/{DBVNMM6Q.js → 6MMOWRSM.js} +2 -2
  21. package/dist/calcite/{DDJ75RTI.js → 6QGNNBZ5.js} +2 -2
  22. package/dist/calcite/{PZLVQQMT.js → 6R5C57P5.js} +2 -2
  23. package/dist/calcite/{GNUSLZWJ.js → 6T6UMXEG.js} +2 -2
  24. package/dist/calcite/{MIKGJ3NM.js → 6WT3NQTF.js} +2 -2
  25. package/dist/calcite/{LHSAAMYQ.js → 6XUNN5BD.js} +2 -2
  26. package/dist/calcite/{DH4ISGHV.js → 73JHMQAR.js} +2 -2
  27. package/dist/calcite/{XXZIOSXQ.js → 75U2CEI2.js} +2 -2
  28. package/dist/calcite/{GSXEMGSW.js → 77VX6TWS.js} +2 -2
  29. package/dist/calcite/{CWPRBG3T.js → 7A7OCUYH.js} +2 -2
  30. package/dist/calcite/{MQYH4ONZ.js → 7HBBL4ZM.js} +1 -1
  31. package/dist/calcite/{AXXJNFKZ.js → 7IHFMVXN.js} +2 -2
  32. package/dist/calcite/{I2OIH73C.js → 7LGBDOYP.js} +1 -1
  33. package/dist/calcite/{WPAMFFBY.js → 7OPWGOIH.js} +2 -2
  34. package/dist/calcite/{GN5CPLSJ.js → 7VOKVNOX.js} +2 -2
  35. package/dist/calcite/{RESHLE2Y.js → A3KUHAYH.js} +2 -2
  36. package/dist/calcite/{VJD4CRQ3.js → A77PTXQI.js} +2 -2
  37. package/dist/calcite/{US3PQV6O.js → A7BIZKUQ.js} +2 -2
  38. package/dist/calcite/{ECEZ4R6E.js → A7KPG75H.js} +2 -2
  39. package/dist/calcite/{4SEPDFCP.js → A7WWDVJQ.js} +2 -2
  40. package/dist/calcite/{YYJSHQR3.js → AFBGRNF3.js} +1 -1
  41. package/dist/calcite/{DNYBIAUI.js → AFI5OSXD.js} +2 -2
  42. package/dist/calcite/{7U7FF3Y4.js → AFQ7CFQT.js} +2 -2
  43. package/dist/calcite/{YA5A7PJR.js → AIRWHAUT.js} +2 -2
  44. package/dist/calcite/{TVDZM7WT.js → AM6UJWJO.js} +2 -2
  45. package/dist/calcite/{OLMX7G3J.js → ARAAYSPA.js} +1 -1
  46. package/dist/calcite/{GYQTRH4V.js → B22OHVZA.js} +2 -2
  47. package/dist/calcite/{6X2SD2PW.js → B5JXHWI4.js} +2 -2
  48. package/dist/calcite/{G3LH75CQ.js → BAWLIDLU.js} +2 -2
  49. package/dist/calcite/{R3HMG2D6.js → BB5G2FKE.js} +2 -2
  50. package/dist/calcite/{O4O3TSE5.js → BCUBPURC.js} +2 -2
  51. package/dist/calcite/{ZA76CHET.js → BECCYK7I.js} +2 -2
  52. package/dist/calcite/{QCGLMLKW.js → BGBHXXSC.js} +2 -2
  53. package/dist/calcite/{URM3R65T.js → BHOEIDXT.js} +2 -2
  54. package/dist/calcite/{QK2H5T7J.js → BOLBKIM3.js} +2 -2
  55. package/dist/calcite/{OTHVFLNW.js → BUB7E4GE.js} +2 -2
  56. package/dist/calcite/{2JKKAEPM.js → BUHVYEME.js} +2 -2
  57. package/dist/calcite/{YMRTHS5X.js → BY2VIVYE.js} +2 -2
  58. package/dist/calcite/{VCSXFNPO.js → CHQYILCK.js} +2 -2
  59. package/dist/calcite/{7SX3RD7P.js → CKLM3NH3.js} +2 -2
  60. package/dist/calcite/{KWOOGTG2.js → CPLZSNMW.js} +2 -2
  61. package/dist/calcite/{2YAXZHP2.js → CPWCVFVX.js} +2 -2
  62. package/dist/calcite/{CIV3PH3Z.js → CQ5FVCCX.js} +2 -2
  63. package/dist/calcite/{KSNEQFZX.js → CU6QKL4W.js} +2 -2
  64. package/dist/calcite/{PT2XMADA.js → CVPHYVRS.js} +1 -1
  65. package/dist/calcite/{4Z7JRTON.js → CYK3MWM4.js} +2 -2
  66. package/dist/calcite/{SMUXJLDL.js → D2PRGKAG.js} +2 -2
  67. package/dist/calcite/{LB5ATL5Q.js → D44V6PEO.js} +2 -2
  68. package/dist/calcite/{CBSMKHOY.js → DSNK4E4G.js} +2 -2
  69. package/dist/calcite/{QQ67AVDV.js → DUM56X2O.js} +2 -2
  70. package/dist/calcite/{ESBOJTBS.js → DXGYOB2C.js} +2 -2
  71. package/dist/calcite/{XBZLGRRI.js → DY75E5TM.js} +2 -2
  72. package/dist/calcite/{MBQZPRQ5.js → E7MBDJGE.js} +2 -2
  73. package/dist/calcite/{6XTYGXNG.js → EBHSG7RJ.js} +2 -2
  74. package/dist/calcite/{XT32TCZG.js → EEUCEFXG.js} +1 -1
  75. package/dist/calcite/{G3ZJ2KQT.js → EKQYW7GE.js} +2 -2
  76. package/dist/calcite/{NWVCPRVB.js → ERNMRUWX.js} +1 -1
  77. package/dist/calcite/{CY6C2FDZ.js → EY2PLOMF.js} +2 -2
  78. package/dist/calcite/{66B2H27W.js → F3Y2S6BF.js} +2 -2
  79. package/dist/calcite/{TQIVV2F7.js → F7CJI6MB.js} +2 -2
  80. package/dist/calcite/{CMO3X257.js → FE2QRVI7.js} +2 -2
  81. package/dist/calcite/{CFRBQXK4.js → FF4V4NT7.js} +2 -2
  82. package/dist/calcite/{JUNCR7R2.js → FSSFZBVO.js} +2 -2
  83. package/dist/calcite/{BSRMWMHQ.js → FZJ3BTYV.js} +2 -2
  84. package/dist/calcite/{IJCTXZQB.js → GK5DGLYC.js} +2 -2
  85. package/dist/calcite/{4BSCJ722.js → H4E2N4X2.js} +2 -2
  86. package/dist/calcite/{KI2NOBMU.js → H7E2HITF.js} +2 -2
  87. package/dist/calcite/{WKTGTKRJ.js → H7RTEVRM.js} +2 -2
  88. package/dist/calcite/{7WG5I3MP.js → HBNQRYUU.js} +2 -2
  89. package/dist/calcite/{LILDCWFX.js → HD5RZV7I.js} +2 -2
  90. package/dist/calcite/{JVNEJ36Z.js → HIRSIKVC.js} +2 -2
  91. package/dist/calcite/{VMRLYKNI.js → HLORIHBB.js} +1 -1
  92. package/dist/calcite/{MZRO54UT.js → HSU2J7U7.js} +2 -2
  93. package/dist/calcite/{N4MN6VQ7.js → HTI57FLV.js} +2 -2
  94. package/dist/calcite/{MUWK32IE.js → HU25GIR3.js} +2 -2
  95. package/dist/calcite/{CK6HQQX6.js → HX44FXR7.js} +1 -1
  96. package/dist/calcite/{XOVG6UH3.js → I2OX63UC.js} +2 -2
  97. package/dist/calcite/{D36VWSDW.js → I2YUGRNE.js} +2 -2
  98. package/dist/calcite/IJV4X7J7.js +4 -0
  99. package/dist/calcite/{4YZ27QWL.js → IOPDSOMP.js} +2 -2
  100. package/dist/calcite/{KVSCG5E3.js → IPEYLL4T.js} +2 -2
  101. package/dist/calcite/{JFYDLHH7.js → IRMEFP5V.js} +2 -2
  102. package/dist/calcite/{TSJJLMPA.js → ISKYJPVP.js} +1 -1
  103. package/dist/calcite/{A5GGYTUQ.js → IUOGAZKX.js} +2 -2
  104. package/dist/calcite/{GPUFLCIT.js → JAPR4FNO.js} +2 -2
  105. package/dist/calcite/{SJKTCGW6.js → JHE67SX5.js} +2 -2
  106. package/dist/calcite/{NODC2JA6.js → JM3OLLIG.js} +2 -2
  107. package/dist/calcite/{ZGXTLCGJ.js → JQIN4FNX.js} +2 -2
  108. package/dist/calcite/{QHASLHZN.js → K72IV53Z.js} +2 -2
  109. package/dist/calcite/{JEX42CPR.js → KFZDQQV4.js} +2 -2
  110. package/dist/calcite/{SBZ6VJ75.js → KLBMM5PO.js} +1 -1
  111. package/dist/calcite/{MCSX2S5T.js → KM6NLV33.js} +2 -2
  112. package/dist/calcite/{IYDN67SF.js → KQUGBIWA.js} +2 -2
  113. package/dist/calcite/{RVQMJBNS.js → LEH7GP3V.js} +2 -2
  114. package/dist/calcite/{GKKCWEZX.js → LN56JZD3.js} +2 -2
  115. package/dist/calcite/{KSVYAIHK.js → LONQYMAY.js} +2 -2
  116. package/dist/calcite/{N55N67N5.js → M2BP427U.js} +2 -2
  117. package/dist/calcite/{HMVKZP47.js → M7GV7Q4M.js} +2 -2
  118. package/dist/calcite/{BZKF5ZXQ.js → MBZP2G7S.js} +2 -2
  119. package/dist/calcite/{7KSGVDSR.js → MGMKRHPK.js} +2 -2
  120. package/dist/calcite/{BRTDMTZ3.js → MJPRNCRR.js} +2 -2
  121. package/dist/calcite/{3DGJ6ZQI.js → MKSN35K2.js} +2 -2
  122. package/dist/calcite/{WSGL37LB.js → MM3U5UFW.js} +2 -2
  123. package/dist/calcite/{R4RMVIKH.js → MNKK2ILQ.js} +2 -2
  124. package/dist/calcite/{I32TMNTO.js → MRYPQXG2.js} +1 -1
  125. package/dist/calcite/{SKDMJE3X.js → MW55GFZV.js} +1 -1
  126. package/dist/calcite/{ARHYATTG.js → MYKRE5QO.js} +2 -2
  127. package/dist/calcite/{BAHIPAHM.js → N6OZM4AJ.js} +2 -2
  128. package/dist/calcite/{IH4RXHJJ.js → NBCCD7Z4.js} +2 -2
  129. package/dist/calcite/{KBNS3CCT.js → NEZR6N4L.js} +2 -2
  130. package/dist/calcite/{QAYSDI3M.js → NKVV542U.js} +1 -1
  131. package/dist/calcite/{HGTV36FX.js → NTQTXOKH.js} +2 -2
  132. package/dist/calcite/{Z6GA347Y.js → NW2QKL4A.js} +2 -2
  133. package/dist/calcite/{GFC7NS6P.js → O6U5C56E.js} +2 -2
  134. package/dist/calcite/{I62DUDHI.js → OKSDNORT.js} +2 -2
  135. package/dist/calcite/{G7WFYVUC.js → OLXJRGIR.js} +2 -2
  136. package/dist/calcite/{AI3R3SU6.js → OQYQHRZJ.js} +2 -2
  137. package/dist/calcite/{PNHR5K2L.js → P2EJXRHM.js} +2 -2
  138. package/dist/calcite/{X2UHFJHG.js → P37UOGXI.js} +2 -2
  139. package/dist/calcite/PC7WLS5Q.js +4 -0
  140. package/dist/calcite/{5AVZLE2Q.js → PD3WNH5L.js} +2 -2
  141. package/dist/calcite/{YTRT5XZT.js → PER743YE.js} +2 -2
  142. package/dist/calcite/{OE2AH2NC.js → PMGM7JNH.js} +2 -2
  143. package/dist/calcite/{S76CXQTI.js → PUMTLS4E.js} +2 -2
  144. package/dist/calcite/{RJLKHCRB.js → Q3M6KGKZ.js} +2 -2
  145. package/dist/calcite/{VNQNKQ2J.js → Q4MKOMJK.js} +2 -2
  146. package/dist/calcite/{GAAXSGWK.js → Q52B4SR4.js} +2 -2
  147. package/dist/calcite/{Z7VNUC77.js → QC3KYLNZ.js} +2 -2
  148. package/dist/calcite/{EFI2G5WL.js → QFOLYCWD.js} +2 -2
  149. package/dist/calcite/{F6EGRKXW.js → QGOU2BEZ.js} +2 -2
  150. package/dist/calcite/{ZV442E6X.js → QI2ELYU3.js} +2 -2
  151. package/dist/calcite/{R6GNPMSV.js → QIZGHNZY.js} +2 -2
  152. package/dist/calcite/{D2HDFE7S.js → QJRMWXHQ.js} +2 -2
  153. package/dist/calcite/{OTUG3NVT.js → QQR6TKYE.js} +2 -2
  154. package/dist/calcite/{EAML4EDI.js → QR6G6AB2.js} +2 -2
  155. package/dist/calcite/{LH7KSBQC.js → QUUKOZWD.js} +2 -2
  156. package/dist/calcite/{KULDQOV2.js → R3EBVVN3.js} +2 -2
  157. package/dist/calcite/{CNO6NFH5.js → R3FLP5QS.js} +2 -2
  158. package/dist/calcite/{C46JYVUP.js → R6M6HES6.js} +2 -2
  159. package/dist/calcite/{LOZEGKG2.js → RAA7AM6M.js} +2 -2
  160. package/dist/calcite/{EHZCT5YZ.js → RDOVN276.js} +2 -2
  161. package/dist/calcite/{OGED6PPP.js → RFATQCOE.js} +2 -2
  162. package/dist/calcite/{QLKHJI4P.js → RHR5F4HO.js} +1 -1
  163. package/dist/calcite/{DT67ZFPX.js → RISOP66W.js} +2 -2
  164. package/dist/calcite/{KW57BHXD.js → RSMRASRN.js} +2 -2
  165. package/dist/calcite/{NVBNX55L.js → RTH7YVQR.js} +2 -2
  166. package/dist/calcite/{JCWM5Z43.js → RWRS2NU2.js} +2 -2
  167. package/dist/calcite/{AYZ73RWQ.js → S23GFP6K.js} +2 -2
  168. package/dist/calcite/{YXLQFMOA.js → S6HVF75Y.js} +2 -2
  169. package/dist/calcite/{GGO5TMB4.js → S74LMG36.js} +2 -2
  170. package/dist/calcite/{7QHUEK5R.js → SADM47KH.js} +2 -2
  171. package/dist/calcite/{OOSULFCY.js → SLKTWE3W.js} +2 -2
  172. package/dist/calcite/{ATHBUWBY.js → SLTDIENT.js} +2 -2
  173. package/dist/calcite/{K3ZBW4GY.js → SYGGMDPD.js} +2 -2
  174. package/dist/calcite/{VST65PDC.js → T4MBSEJN.js} +1 -1
  175. package/dist/calcite/{6LW27BEV.js → TCIPD6BI.js} +2 -2
  176. package/dist/calcite/{22RQB3WE.js → TD2M3HXH.js} +1 -1
  177. package/dist/calcite/{TNR5VZG2.js → TFDQPWTN.js} +2 -2
  178. package/dist/calcite/{GE63ETFI.js → TO5FCIUA.js} +2 -2
  179. package/dist/calcite/{VG7BJBFG.js → TX2VI5MW.js} +2 -2
  180. package/dist/calcite/{46U4MKUU.js → U3HEL4RD.js} +2 -2
  181. package/dist/calcite/{ZQO6E4FO.js → UELJS6PF.js} +2 -2
  182. package/dist/calcite/{N2BVYYYP.js → UFYDUU52.js} +2 -2
  183. package/dist/calcite/{IXRMDUEL.js → UP7SL3CK.js} +2 -2
  184. package/dist/calcite/{LLSB73WA.js → UT6FICQ3.js} +2 -2
  185. package/dist/calcite/{FHBFGCTR.js → V6AMPSCT.js} +2 -2
  186. package/dist/calcite/{G2KHDAZD.js → VEJRRMKU.js} +2 -2
  187. package/dist/calcite/{HKHPJJ34.js → VFVGGH4O.js} +2 -2
  188. package/dist/calcite/{36DMRAV2.js → VQ4LSZKF.js} +2 -2
  189. package/dist/calcite/{JLZYAYOL.js → VW4FPITC.js} +2 -2
  190. package/dist/calcite/{QU33PBBI.js → WACTC6C2.js} +2 -2
  191. package/dist/calcite/{RVMVJW6K.js → WFNPLZZD.js} +2 -2
  192. package/dist/calcite/{FE3A3YUN.js → WOZ3YSMM.js} +2 -2
  193. package/dist/calcite/{3IV6JSC2.js → WQI63ENU.js} +2 -2
  194. package/dist/calcite/{SYEQSDHG.js → WX25GXOJ.js} +2 -2
  195. package/dist/calcite/{E3R5SMVW.js → X2CKUJNY.js} +2 -2
  196. package/dist/calcite/{24SER2VV.js → X3XUDYZK.js} +2 -2
  197. package/dist/calcite/{3TOVZEQB.js → X4HIU64B.js} +2 -2
  198. package/dist/calcite/{RAQWKUOJ.js → X6MOGC7A.js} +2 -2
  199. package/dist/calcite/{345Q4UHX.js → XBMJE2HA.js} +2 -2
  200. package/dist/calcite/{RUTUU2EH.js → XEB3PVUL.js} +2 -2
  201. package/dist/calcite/{Y6VF7HSM.js → XENH6L4X.js} +2 -2
  202. package/dist/calcite/{5EPP4MG3.js → XJJ7H5YN.js} +2 -2
  203. package/dist/calcite/{C54C5E23.js → XPXLWH7X.js} +2 -2
  204. package/dist/calcite/{QYGED6CL.js → XRGQWCOT.js} +2 -2
  205. package/dist/calcite/{E4NMFIKN.js → XU4G32CA.js} +2 -2
  206. package/dist/calcite/{FDIM6DYL.js → XYTAOAJQ.js} +2 -2
  207. package/dist/calcite/{FNFWOOMR.js → XZVQKECK.js} +1 -1
  208. package/dist/calcite/{4TQLSUKH.js → YBPOJHA7.js} +1 -1
  209. package/dist/calcite/{3GICXOBQ.js → YCJABBGV.js} +2 -2
  210. package/dist/calcite/{OPBQNK7J.js → YDLXSG4W.js} +2 -2
  211. package/dist/calcite/{2BGMAPSV.js → YICY6VCM.js} +2 -2
  212. package/dist/calcite/{T3NRBBZP.js → YLJ43EVG.js} +2 -2
  213. package/dist/calcite/{OHOS32IT.js → YMHBAMWI.js} +2 -2
  214. package/dist/calcite/{UELGJSYH.js → YSGHAVSA.js} +1 -1
  215. package/dist/calcite/{7D3VEEUX.js → YUGL6WTS.js} +2 -2
  216. package/dist/calcite/{6OZRZ36X.js → YWEFWGI7.js} +2 -2
  217. package/dist/calcite/{DTL2LM6T.js → YYWIZXXK.js} +2 -2
  218. package/dist/calcite/{CJYTY62F.js → Z6W6VEP2.js} +2 -2
  219. package/dist/calcite/{RAFCSOOQ.js → Z7SGWG6G.js} +2 -2
  220. package/dist/calcite/{TQTAM3XB.js → ZBOL56TZ.js} +2 -2
  221. package/dist/calcite/{RSAEDAEX.js → ZCCUSDNB.js} +2 -2
  222. package/dist/calcite/{UJL3BWDH.js → ZFTPOTKI.js} +2 -2
  223. package/dist/calcite/{7E342YOK.js → ZTKKB3EW.js} +2 -2
  224. package/dist/calcite/{FCN5RMLA.js → ZUF4UFWX.js} +2 -2
  225. package/dist/calcite/calcite.esm.js +2 -2
  226. package/dist/chunks/ExpandToggle.js +1 -1
  227. package/dist/chunks/FloatingArrow.js +1 -1
  228. package/dist/chunks/Heading.js +1 -1
  229. package/dist/chunks/Validation.js +1 -1
  230. package/dist/chunks/_commonjsHelpers.js +1 -1
  231. package/dist/chunks/array.js +1 -1
  232. package/dist/chunks/component.js +1 -1
  233. package/dist/chunks/core.js +1 -1
  234. package/dist/chunks/date.js +1 -1
  235. package/dist/chunks/dom.js +1 -1
  236. package/dist/chunks/dynamicClasses.js +1 -1
  237. package/dist/chunks/filter.js +1 -1
  238. package/dist/chunks/floating-ui.js +1 -1
  239. package/dist/chunks/focusTrapComponent.js +1 -1
  240. package/dist/chunks/form.js +1 -1
  241. package/dist/chunks/global.js +1 -1
  242. package/dist/chunks/guid.js +1 -1
  243. package/dist/chunks/input.js +1 -1
  244. package/dist/chunks/interact.min.js +1 -1
  245. package/dist/chunks/interactive.js +1 -1
  246. package/dist/chunks/key.js +1 -1
  247. package/dist/chunks/label.js +1 -1
  248. package/dist/chunks/loadable.js +1 -1
  249. package/dist/chunks/locale.js +1 -1
  250. package/dist/chunks/logger.js +1 -1
  251. package/dist/chunks/math.js +1 -1
  252. package/dist/chunks/observers.js +1 -1
  253. package/dist/chunks/openCloseComponent.js +1 -1
  254. package/dist/chunks/resources.js +1 -1
  255. package/dist/chunks/resources2.js +1 -1
  256. package/dist/chunks/resources3.js +1 -1
  257. package/dist/chunks/resources4.js +1 -1
  258. package/dist/chunks/resources5.js +1 -1
  259. package/dist/chunks/resources6.js +1 -1
  260. package/dist/chunks/resources7.js +1 -1
  261. package/dist/chunks/responsive.js +1 -1
  262. package/dist/chunks/runtime.js +10 -10
  263. package/dist/chunks/sortableComponent.js +1 -1
  264. package/dist/chunks/text.js +1 -1
  265. package/dist/chunks/time.js +1 -1
  266. package/dist/chunks/useFocusTrap.js +1 -1
  267. package/dist/chunks/useT9n.js +1 -1
  268. package/dist/chunks/utils.js +1 -1
  269. package/dist/chunks/utils2.js +1 -1
  270. package/dist/chunks/utils3.js +1 -1
  271. package/dist/chunks/utils4.js +1 -1
  272. package/dist/components/calcite-accordion/customElement.js +1 -1
  273. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  274. package/dist/components/calcite-action/customElement.js +2 -2
  275. package/dist/components/calcite-action-bar/customElement.js +1 -1
  276. package/dist/components/calcite-action-group/customElement.js +1 -1
  277. package/dist/components/calcite-action-menu/customElement.js +1 -1
  278. package/dist/components/calcite-action-pad/customElement.js +1 -1
  279. package/dist/components/calcite-alert/customElement.js +1 -1
  280. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  281. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  282. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  283. package/dist/components/calcite-avatar/customElement.js +1 -1
  284. package/dist/components/calcite-block/customElement.js +1 -1
  285. package/dist/components/calcite-block-group/customElement.js +1 -1
  286. package/dist/components/calcite-block-section/customElement.js +1 -1
  287. package/dist/components/calcite-button/customElement.js +1 -1
  288. package/dist/components/calcite-card/customElement.js +1 -1
  289. package/dist/components/calcite-card-group/customElement.js +1 -1
  290. package/dist/components/calcite-carousel/customElement.js +1 -1
  291. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  292. package/dist/components/calcite-checkbox/customElement.js +1 -1
  293. package/dist/components/calcite-chip/customElement.js +1 -1
  294. package/dist/components/calcite-chip-group/customElement.js +1 -1
  295. package/dist/components/calcite-color-picker/customElement.js +1 -1
  296. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  297. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  298. package/dist/components/calcite-combobox/customElement.js +1 -1
  299. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  300. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  301. package/dist/components/calcite-date-picker/customElement.js +1 -1
  302. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  303. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  304. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  305. package/dist/components/calcite-dialog/customElement.js +1 -1
  306. package/dist/components/calcite-dropdown/customElement.js +1 -1
  307. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  308. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  309. package/dist/components/calcite-fab/customElement.js +1 -1
  310. package/dist/components/calcite-filter/customElement.js +1 -1
  311. package/dist/components/calcite-flow/customElement.js +1 -1
  312. package/dist/components/calcite-flow-item/customElement.js +1 -1
  313. package/dist/components/calcite-graph/customElement.js +1 -1
  314. package/dist/components/calcite-handle/customElement.js +1 -1
  315. package/dist/components/calcite-icon/customElement.js +1 -1
  316. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  317. package/dist/components/calcite-input/customElement.js +1 -1
  318. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  319. package/dist/components/calcite-input-message/customElement.js +1 -1
  320. package/dist/components/calcite-input-number/customElement.js +1 -1
  321. package/dist/components/calcite-input-text/customElement.js +1 -1
  322. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  323. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  324. package/dist/components/calcite-label/customElement.js +1 -1
  325. package/dist/components/calcite-link/customElement.js +1 -1
  326. package/dist/components/calcite-list/customElement.js +1 -1
  327. package/dist/components/calcite-list-item/customElement.js +1 -1
  328. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  329. package/dist/components/calcite-loader/customElement.js +1 -1
  330. package/dist/components/calcite-menu/customElement.js +1 -1
  331. package/dist/components/calcite-menu-item/customElement.js +1 -1
  332. package/dist/components/calcite-meter/customElement.js +1 -1
  333. package/dist/components/calcite-modal/customElement.js +1 -1
  334. package/dist/components/calcite-navigation/customElement.js +1 -1
  335. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  336. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  337. package/dist/components/calcite-notice/customElement.js +1 -1
  338. package/dist/components/calcite-option/customElement.js +1 -1
  339. package/dist/components/calcite-option-group/customElement.js +1 -1
  340. package/dist/components/calcite-pagination/customElement.js +1 -1
  341. package/dist/components/calcite-panel/customElement.js +1 -1
  342. package/dist/components/calcite-popover/customElement.js +1 -1
  343. package/dist/components/calcite-progress/customElement.js +1 -1
  344. package/dist/components/calcite-radio-button/customElement.js +1 -1
  345. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  346. package/dist/components/calcite-rating/customElement.js +1 -1
  347. package/dist/components/calcite-scrim/customElement.js +1 -1
  348. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  349. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  350. package/dist/components/calcite-select/customElement.js +1 -1
  351. package/dist/components/calcite-sheet/customElement.js +1 -1
  352. package/dist/components/calcite-shell/customElement.js +1 -1
  353. package/dist/components/calcite-shell-center-row/customElement.js +1 -1
  354. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  355. package/dist/components/calcite-slider/customElement.js +1 -1
  356. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  357. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  358. package/dist/components/calcite-split-button/customElement.js +1 -1
  359. package/dist/components/calcite-stack/customElement.js +1 -1
  360. package/dist/components/calcite-stepper/customElement.js +1 -1
  361. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  362. package/dist/components/calcite-switch/customElement.js +1 -1
  363. package/dist/components/calcite-tab/customElement.js +1 -1
  364. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  365. package/dist/components/calcite-tab-title/customElement.js +6 -6
  366. package/dist/components/calcite-table/customElement.js +1 -1
  367. package/dist/components/calcite-table-cell/customElement.js +1 -1
  368. package/dist/components/calcite-table-header/customElement.js +1 -1
  369. package/dist/components/calcite-table-row/customElement.js +1 -1
  370. package/dist/components/calcite-tabs/customElement.js +1 -1
  371. package/dist/components/calcite-text-area/customElement.js +1 -1
  372. package/dist/components/calcite-tile/customElement.js +1 -1
  373. package/dist/components/calcite-tile-group/customElement.js +1 -1
  374. package/dist/components/calcite-tile-select/customElement.js +1 -1
  375. package/dist/components/calcite-tile-select-group/customElement.js +1 -1
  376. package/dist/components/calcite-time-picker/customElement.js +1 -1
  377. package/dist/components/calcite-tip/customElement.js +1 -1
  378. package/dist/components/calcite-tip-group/customElement.js +1 -1
  379. package/dist/components/calcite-tip-manager/customElement.js +1 -1
  380. package/dist/components/calcite-tooltip/customElement.js +1 -1
  381. package/dist/components/calcite-tree/customElement.js +1 -1
  382. package/dist/components/calcite-tree-item/customElement.js +1 -1
  383. package/dist/docs/api.json +1 -1
  384. package/dist/docs/docs.json +1 -1
  385. package/dist/docs/supported-browsers.json +1 -1
  386. package/dist/docs/web-types.json +1 -1
  387. package/dist/index.js +1 -1
  388. package/dist/loader.js +1 -1
  389. package/package.json +5 -5
  390. package/dist/calcite/MPAVJ7UH.js +0 -4
  391. package/dist/calcite/T5UPGHU3.js +0 -4
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
3
+ v3.1.0-next.0 */
4
4
  var E=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};function Fe(t,e){let o=t;for(;o;){if(o===e)return!0;if(!o.parentNode)return!1;o.parentNode instanceof ShadowRoot?o=o.parentNode.host:o=o.parentNode}return!1}function Ge(t,e,o){let{subscribe:s}=Ke(e);return s(n=>{n.some(i=>Fe(t,i.target))&&o()})}var bt={};function Ke(t){let e=t.join(","),o=bt[e];if(o!==void 0)return o;let s=new Set,n=new MutationObserver(i=>s.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});let r={subscribe(i){return s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),bt[e]=void 0)}}};return bt[e]=r,r}function Je(t,e){let o=t;for(;o;){let s=o.closest?.(e);if(s)return s;let n=o.getRootNode?.();if(n===globalThis.document)return null;o=n.host}return null}function Ye(t,e,o){return Je(t,`[${e}]`)?.getAttribute(e)??o}function p(t,e,...o){try{return t?.call(e,...o)}catch(s){console.error(s,t)}}async function H(t,e,...o){try{let s=t?.call(e,...o);return s instanceof Promise?await s:s}catch(s){console.error(s,t)}}var Ze=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],Qe=new Set(Ze),tt="en",Xe={pt:"pt-PT",nb:"no",zh:"zh-CN"};async function to(t,e,o=""){let s=`${e}/${o}`,n=`${s}${t}.json`;return _t[n]??(_t[n]=Wt(t,s)),await _t[n]}var _t={};async function Wt(t,e){let o=`${e}${t}.json`;try{let s=await fetch(o);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return t===tt?{}:await Wt(tt,e)}function Ct(t){let e=Ye(t,"lang",globalThis.navigator?.language||tt);return{lang:e,t9nLocale:qt(e)}}function qt(t){let[e,o]=t.split("-"),s=e.toLowerCase(),n=s;return o&&(n=`${s}-${o.toUpperCase()}`),n=Xe[n]??n,Qe.has(n)?n:o?qt(s):tt}function Bt(t,e,o,s){let n,r=()=>void eo(t,e(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&o(i),n=i}).catch(console.error);return queueMicrotask(r),Ge(t,["lang"],r)}async function eo(t,e,o=t.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:s,t9nLocale:n}=Ct(t),r=`${e}/${o}/t9n`,c=o===null?{}:await to(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:c}}var et=t=>t.replace(oo,(e,o)=>`${o===0?"":"-"}${e.toLowerCase()}`),oo=/[A-Z]+(?![a-z])|[A-Z]/gu;function Ft(t,e){let o=e>so?no:e/ro,s=0,n=setInterval(()=>{s+=o,s>=e&&(clearInterval(n),t())},o);return n}var so=4e3,no=2e3,ro=4;function Gt(t){return t!==void 0}function Kt(t,e){if(e){let o=t.constructor.elementProperties;t.manager.internals.members=Object.fromEntries(Array.from(o,([s,n])=>n.noAccessor?void 0:[s,[(n.readOnly?2048:0)|(n.state?32:16)]]).filter(Gt))}else{let o=t.constructor,s=o.__registerControllers?.(t)??void 0;if(o.__registerControllers=void 0,typeof s!="object")throw new Error("Failed to retrieve component meta");t.manager.internals.members=Object.fromEntries(Object.entries(s).filter(([n,[r]])=>(r&63)!==0))}}function Jt(t,e=8){return t==null||typeof t=="object"||typeof t=="function"?t:e&4?t==="false"?!1:t===""||!!t:e&2?Number.parseFloat(t):e&1?String(t):t}var Yt=(t,e)=>t.manager.internals.members?.[e]?.[0];var st=Symbol.for("controller");var Xt=t=>typeof t=="object"&&t!==null&&(st in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t);var W;function P(t){W!==t&&(W=t,queueMicrotask(()=>{W===t&&(W=void 0)}))}function T(t){return W}var O=[];function xt(t){if(t===void 0){O=[];return}let e=O.indexOf(t);O=e===-1?[...O,t]:O.slice(0,e+1),queueMicrotask(()=>{O=[]})}function At(){return O}var j;function io(t){j!==t&&(j=t,queueMicrotask(()=>{j===t&&(j=void 0)}))}function ao(){let t=j;return j=void 0,t}var co=async(t,e)=>{let o=Lt(t);if(o===void 0)return t;if(await o.ready,typeof e=="function"){let s=o.watchExports(n=>e(n,s))}return o.exports},lo=async t=>{let e=Lt(t);return await e.ready,e},Lt=t=>{let o=T().manager.internals.resolveExports(t);if(o!==void 0)return o;if(Xt(t))return t;let s=ao();if(s!==void 0)return s},q={setter:!1,getter:!1,readOnly:!1},B=new WeakMap,te;te=st;var nt=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new E,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[te]=!0,this.ready=this._ready.promise,this._exports=Qt(this),this._exportWatchers=new Set;let e=t??T(new.target.name);this.component=e,this.component.addController(this),this.component.manager===void 0||(xt(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:t}=this.component;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t._loadCalled&&this.triggerLoad().then(()=>{t.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(t){let e=this._exports;e!==t&&(this._exports=t,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,e)),this._ready.resolve(t)}setProvisionalExports(t,e=!0){this._exports=e?Qt(t):t,this._exportWatchers.forEach(p)}watchExports(t){let e=()=>t(this._exports);return this._exportWatchers.add(e),()=>void this._exportWatchers.delete(e)}get use(){return P(this.component),co}get useRef(){return P(this.component),lo}get useRefSync(){return P(this.component),Lt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let t=this;t.hostLoad&&await H(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(H)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let t=this;t.hostLoaded&&p(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(t){let e=this;e.hostUpdate&&p(e.hostUpdate,e,t),this._callbacks.hostUpdate.forEach(Zt,t)}triggerUpdated(t){let e=this;e.hostUpdated&&p(e.hostUpdated,e,t),this._callbacks.hostUpdated.forEach(Zt,t)}triggerDestroy(){let t=this;t.hostDestroy&&p(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let t=this;t.hostLifecycle&&this._callLifecycle(()=>t.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){P(this.component);let e=p(t);(Array.isArray(e)?e:[e]).forEach(s=>{typeof s=="function"?this._lifecycleCleanups.push(s):typeof s=="object"&&typeof s.remove=="function"&&this._lifecycleCleanups.push(s.remove)})}};function Zt(t){p(t,void 0,this)}var ee=nt;function Qt(t){if(typeof t!="object"&&typeof t!="function"||t===null)return t;let e=new Proxy(t,{get(o,s,n){if(!(ho.has(s)&&s in o&&o[s]===e)&&(s in o||s in Promise.prototype||typeof s=="symbol"))return typeof o=="function"?o[s]:Reflect.get(o,s,n)},set:(o,s,n,r)=>Reflect.set(o,s,n,r)});return e}var ho=new Set(["exports","_exports"]);function oe(t,e,o){let s=Object.keys(t),n=s.length;S===void 0&&queueMicrotask(F),S??(S=new Map);let r=S.get(t);return r===void 0&&(r={callbacks:[],keyCount:n},S.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>p(e,null,l),a=i[n];a===void 0?c(void 0):t[a]===o?c(a):c(void 0)}),o}var S=void 0;function F(){Array.from(S?.entries()??[]).forEach(([t,{callbacks:e}])=>{let o=Object.keys(t);e.forEach(s=>s(o))}),S=void 0}function rt(t,e,o){var s;let n=e,r=t.manager.internals;(s=r.allWatchers)[n]??(s[n]=[]);let i=r.allWatchers[n],c=o,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var se=class{constructor(t){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let e=this.component.manager.internals;Object.entries(e.members).forEach(([o,[s]])=>{var n;s&2048&&((n=e.setters)[o]??(n[o]=[]),e.setters[o].push(e.readonlySetter))})},this.trackedValue=$t,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(e,o,s)=>{if(q.readOnly)return e;throw new Error(`Cannot assign to read-only property "${s}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(e)}"`)},this.component=t}firePropTrackers(t,e){let o=this.keyTrackers;this.trackedValue=$t,this.keyTrackers=[],o.forEach(s=>s(t,e))}getSetProxy(t){let e=this.component,o=e.constructor.prototype;if(this._getSetProxy(o,t,"class"),e.manager.isLit)return;let s=e.el.constructor.prototype;o!==s&&this._getSetProxy(s,t,"html")}_getSetProxy(t,e,o){let s=this.component,n=Yt(s,e),r;do r=Object.getOwnPropertyDescriptor(t,e);while(!r&&(t=Object.getPrototypeOf(t)));if(!r)return;let i=r.get,c=r.set,a=ot in i,l=ot in c;if(a&&l)return;let d=!a,h=!l,m=d?function(){let g=i.call(this),C=B.get(this);if(q.getter||C===void 0)return g;let M=C.manager.internals;g=M.accessorGetter[e](g,e);let v=M.getters[e]??wt;for(let w=0;w<v.length;w++)g=v[w](g,e);return g}:i,y=h?function(g){let C=i.call(this),M=B.get(this);if(M===void 0){c.call(this,g);return}let v=M.manager.isLit?g??void 0:Jt(g,n),w=M.manager.internals;if(v===C)c.call(this,v);else{let Ht=q.setter?wt:w.setters[e]??wt;for(let z=0;z<Ht.length&&(v=Ht[z](v,C,e),v!==C);z++);v=w.accessorSetter[e](v,C,e),c.call(this,v),v!==C&&w.enabledWatchers[e]?.forEach(z=>z(v,C,e))}w.keyTrackers.length>0&&w?.firePropTrackers(e,g)}:c;d&&(m[ot]=!0),h&&(y[ot]=!0),Object.defineProperty(t,e,{...r,get:m,set:y})}markExports(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this._exports.set(e,t)}resolveExports(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this._exports.get(t)}},wt=[],ot=Symbol(),$t=Symbol();function ne(t,e,o){let s=t.manager.internals;return s.trackedValue!==$t&&s.trackedValue!==o&&s.firePropTrackers(void 0,void 0),s.keyTrackers.length===0&&queueMicrotask(()=>s.firePropTrackers(void 0,void 0)),s.trackedValue=o,s.keyTrackers.push((n,r)=>p(e,void 0,o===r?n:void 0)),o}function it(t=[T(),...At()],e,o){let s=Array.isArray(t)?t:[t],n=s.length+1,r=c=>{n-=1,c!==void 0&&(n=Math.min(n,0)),n===0&&e(c)};s.forEach(c=>oe(c,a=>r(a===void 0?void 0:{key:a,host:c,isReactive:!1}),o));let i=s.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&ne(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),o),o}function re(t){q.readOnly=!0;try{return t()}finally{q.readOnly=!1}}var ie=t=>(...e)=>{let o=At(),s=new t(...e),n=s.exports;xt(o.at(-1));let r=s.component.manager.internals;r.markExports(s,n),s.watchExports(c=>r.markExports(s,c)),io(s);let i=[s.component,...o].reverse();return it(i,c=>c===void 0?void 0:po(s,c,n),n)};function po(t,{host:e,key:o,isReactive:s},n){let r=e,i=r[o]!==t.exports,c=r[o]!==n,a=n!==t.exports;if(i&&!c&&a&&(r[o]=t.exports),e===t.component){if(s){let d=t.component.manager.internals;c&&d.markExports(t,r[o]),rt(t.component,o,h=>{h!==t.exports&&d.markExports(t,h)})}t.assignedProperty=s?void 0:o}t.watchExports(()=>{if(r[o]===t.exports)return;let d=t.component.manager;d.internals.setters[o]?.includes(d.internals.readonlySetter)?re(()=>{r[o]=t.exports}):r[o]=t.exports})}var ce=(t,e)=>new uo(t,e),uo=class extends ee{constructor(t,e){let o="addController"in t,s=new Set;function n(a){s.add(a),!(st in a)&&t.renderRoot&&t.el.isConnected&&a.hostConnected?.()}function r(a){s.delete(a),a.controllerRemoved?.()}let i=t;if(i.addController=n,i.removeController=r,!o){let a=e??t.constructor.__forceUpdate;i.requestUpdate=()=>a(t)}super(t),this.internals=new se(this.component),this.destroyed=!1,this._updatePromise=new E,this._originalLifecycles={},this.isLit=o,this.component.manager=this,Kt(t,o),this._controllers=s,this.exports=void 0,this.hasDestroy=Ot in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=ae,c.accessorSetter[a]=ae,c.getSetProxy(a)}),o?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(t,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),P(t),B.set(t.el,t),B.set(t,t)}_bindLifecycleMethods(){let t=this.component,e=this.isLit,o=t.el===t;this._originalLifecycles={_connectedCallback:e||o?void 0:t.connectedCallback,_disconnectedCallback:e||o?void 0:t.disconnectedCallback,_load:e?t.load:t.componentWillLoad,_loaded:e?t.loaded:t.componentDidLoad,_willUpdate:e?void 0:t.componentWillUpdate,_updated:e?void 0:t.componentDidUpdate,_destroy:t.destroy};let s=this._connectedCallback.bind(this),n=this._disconnectedCallback.bind(this),r=this._update.bind(this),i=this._updated.bind(this);e?t.constructor.prototype.addController.call(t,{hostConnected:s,hostDisconnected:n,hostUpdate:r,hostUpdated:i}):(t.connectedCallback=s,t.disconnectedCallback=n,t.componentWillLoad=this._load.bind(this),t.componentDidLoad=this._loaded.bind(this),t.componentWillUpdate=r,t.componentDidUpdate=i),this.hasDestroy&&(t.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let e=this.component.el.tagName.toLowerCase();throw this.component.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 ${Ot} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let t=this.internals;t.enabledWatchers=t.allWatchers,F(),t.enableReadonly?.(),this._controllers.forEach(mo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(vo),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,yo)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&rt(this.component,Ot,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(go),this._originalLifecycles._loaded?.call(this.component)}_update(){let t=this.component;return this._controllers.forEach(Eo,t.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let t=this.component;if(this._controllers.forEach(bo,t.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)t.$changes=new Map;else{let e=this._updatePromise;this._updatePromise=new E,e.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(_o),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let t=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=Ft(t,fo)}}},Ot="autoDestroyDisabled",fo=1e3;var ae=t=>t;function mo(t){"triggerConnected"in t?t.triggerConnected():p(t.hostConnected,t)}function vo(t){"triggerDisconnected"in t?t.triggerDisconnected():p(t.hostDisconnected,t)}async function yo(t){"triggerLoad"in t?await t.triggerLoad():await H(t.hostLoad,t)}function go(t){"triggerLoaded"in t?t.triggerLoaded():p(t.hostLoaded,t)}function Eo(t){"triggerUpdate"in t?t.triggerUpdate(this):p(t.hostUpdate,t,this)}function bo(t){"triggerUpdated"in t?t.triggerUpdated(this):p(t.hostUpdated,t,this)}function _o(t){"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t)}var Co=t=>le(void 0,t),Ss=t=>e=>le(e,t),wo=class extends nt{constructor(t,e){super(t);let o=this.exports;try{P(this.component);let s=e(this.component,this),n=this.exports!==o;if(s instanceof Promise){n||this.setProvisionalExports(s);let r=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await r)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this._ready.reject(s),console.error(s)}}catchUpLifecycle(){}},le=ie(wo),Ps=(t,e)=>new $o(t,e),$o=class extends nt{constructor(t,e){super(),this._attributes=t,this._callback=e,this._observer=new MutationObserver(o=>{o.forEach(s=>{t.includes(s.attributeName)&&e.call(this.component,this.component.el.getAttribute(s.attributeName),s.oldValue,s.attributeName)})})}hostConnected(){this._attributes.forEach(t=>{this.component.el.hasAttribute(t)&&this._callback.call(this.component,null,this.component.el.getAttribute(t),t)}),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}};var Ns=t=>(e={})=>Co((o,s)=>{let n=Ct(o.el),r={_lang:n.lang,_t9nLocale:n.t9nLocale,_loading:!0},i=o;s.onLifecycle(()=>Bt(o.el,()=>t("./assets"),({t9nLocale:a,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:a,_loading:!1};s.exports=h;let m=l.componentLabel;typeof m=="string"&&"label"in o&&o.label==null&&(o.label??(o.label=m)),c(i.messageOverrides)},e.name));function c(a){let l=s.exports,d=l._original??l,h=he(d,a);a&&(h._original=d),s.exports=h}return"messageOverrides"in i&&s.onLifecycle(()=>rt(i,"messageOverrides",c)),e.blocking?(s.setProvisionalExports(r,!1),s.ready):r});function he(t,e){if(!e)return t;let o={...t};return Object.entries(e).forEach(([s,n])=>{typeof n=="object"?o[s]=he(t[s],n):o[s]=n??t[s]}),o}var at=globalThis,ct=at.ShadowRoot&&(at.ShadyCSS===void 0||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,St=Symbol(),de=new WeakMap,G=class{constructor(e,o,s){if(this._$cssResult$=!0,s!==St)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(ct&&e===void 0){let s=o!==void 0&&o.length===1;s&&(e=de.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),s&&de.set(o,e))}return e}toString(){return this.cssText}},pe=t=>new G(typeof t=="string"?t:t+"",void 0,St),xo=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((s,n,r)=>s+(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.")})(n)+t[r+1],t[0]);return new G(o,t,St)},Pt=(t,e)=>{if(ct)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let s=document.createElement("style"),n=at.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=o.cssText,t.appendChild(s)}},lt=ct?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let s of e.cssRules)o+=s.cssText;return pe(o)})(t):t;var Nt=globalThis,ht=Nt.trustedTypes,ue=ht?ht.createPolicy("lit-html",{createHTML:t=>t}):void 0,kt="$lit$",$=`lit$${Math.random().toFixed(9).slice(2)}$`,Dt="?"+$,Ao=`<${Dt}>`,D=document,J=()=>D.createComment(""),Y=t=>t===null||typeof t!="object"&&typeof t!="function",Rt=Array.isArray,Ee=t=>Rt(t)||typeof t?.[Symbol.iterator]=="function",Tt=`[
5
5
  \f\r]`,K=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,fe=/-->/g,me=/>/g,N=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ve=/'/g,ye=/"/g,be=/^(?:script|style|textarea|title)$/i,Ut=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Ms=Ut(1),js=Ut(2),Vs=Ut(3),f=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),ge=new WeakMap,k=D.createTreeWalker(D,129);function _e(t,e){if(!Rt(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ue!==void 0?ue.createHTML(e):e}var Ce=(t,e)=>{let o=t.length-1,s=[],n,r=e===2?"<svg>":e===3?"<math>":"",i=K;for(let c=0;c<o;c++){let a=t[c],l,d,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,d=i.exec(a),d!==null);)m=i.lastIndex,i===K?d[1]==="!--"?i=fe:d[1]!==void 0?i=me:d[2]!==void 0?(be.test(d[2])&&(n=RegExp("</"+d[2],"g")),i=N):d[3]!==void 0&&(i=N):i===N?d[0]===">"?(i=n??K,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?N:d[3]==='"'?ye:ve):i===ye||i===ve?i=N:i===fe||i===me?i=K:(i=N,n=void 0);let y=i===N&&t[c+1].startsWith("/>")?" ":"";r+=i===K?a+Ao:h>=0?(s.push(l),a.slice(0,h)+kt+a.slice(h)+$+y):a+$+(h===-2?c:y)}return[_e(t,r+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),s]},Z=class t{constructor({strings:e,_$litType$:o},s){let n;this.parts=[];let r=0,i=0,c=e.length-1,a=this.parts,[l,d]=Ce(e,o);if(this.el=t.createElement(l,s),k.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=k.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(kt)){let m=d[i++],y=n.getAttribute(h).split($),_=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:_[2],strings:y,ctor:_[1]==="."?pt:_[1]==="?"?ut:_[1]==="@"?ft:U}),n.removeAttribute(h)}else h.startsWith($)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(be.test(n.tagName)){let h=n.textContent.split($),m=h.length-1;if(m>0){n.textContent=ht?ht.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],J()),k.nextNode(),a.push({type:2,index:++r});n.append(h[m],J())}}}else if(n.nodeType===8)if(n.data===Dt)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf($,h+1))!==-1;)a.push({type:7,index:r}),h+=$.length-1}r++}}static createElement(e,o){let s=D.createElement("template");return s.innerHTML=e,s}};function R(t,e,o=t,s){if(e===f)return e;let n=s!==void 0?o._$Co?.[s]:o._$Cl,r=Y(e)?void 0:e._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(t),n._$AT(t,o,s)),s!==void 0?(o._$Co??=[])[s]=n:o._$Cl=n),n!==void 0&&(e=R(t,n._$AS(t,e.values),n,s)),e}var dt=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:s}=this._$AD,n=(e?.creationScope??D).importNode(o,!0);k.currentNode=n;let r=k.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new V(r,r.nextSibling,this,e):a.type===1?l=new a.ctor(r,a.name,a.strings,this,e):a.type===6&&(l=new mt(r,this,e)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(r=k.nextNode(),i++)}return k.currentNode=D,n}p(e){let o=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(e,s,o),o+=s.strings.length-2):s._$AI(e[o])),o++}},V=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,s,n){this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=R(this,e,o),Y(e)?e===u||e==null||e===""?(this._$AH!==u&&this._$AR(),this._$AH=u):e!==this._$AH&&e!==f&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ee(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==u&&Y(this._$AH)?this._$AA.nextSibling.data=e:this.T(D.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:s}=e,n=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=Z.createElement(_e(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(o);else{let r=new dt(n,this),i=r.u(this.options);r.p(o),this.T(i),this._$AH=r}}_$AC(e){let o=ge.get(e.strings);return o===void 0&&ge.set(e.strings,o=new Z(e)),o}k(e){Rt(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,s,n=0;for(let r of e)n===o.length?o.push(s=new t(this.O(J()),this.O(J()),this,this.options)):s=o[n],s._$AI(r),n++;n<o.length&&(this._$AR(s&&s._$AB.nextSibling,n),o.length=n)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let s=e.nextSibling;e.remove(),e=s}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},U=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,s,n,r){this.type=1,this._$AH=u,this._$AN=void 0,this.element=e,this.name=o,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=u}_$AI(e,o=this,s,n){let r=this.strings,i=!1;if(r===void 0)e=R(this,e,o,0),i=!Y(e)||e!==this._$AH&&e!==f,i&&(this._$AH=e);else{let c=e,a,l;for(e=r[0],a=0;a<r.length-1;a++)l=R(this,c[s+a],o,a),l===f&&(l=this._$AH[a]),i||=!Y(l)||l!==this._$AH[a],l===u?e=u:e!==u&&(e+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(e)}j(e){e===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},pt=class extends U{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===u?void 0:e}},ut=class extends U{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==u)}},ft=class extends U{constructor(e,o,s,n,r){super(e,o,s,n,r),this.type=5}_$AI(e,o=this){if((e=R(this,e,o,0)??u)===f)return;let s=this._$AH,n=e===u&&s!==u||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,r=e!==u&&(s===u||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},mt=class{constructor(e,o,s){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(e){R(this,e)}},we={M:kt,P:$,A:Dt,C:1,L:Ce,R:dt,D:Ee,V:R,I:V,H:U,N:ut,U:ft,B:pt,F:mt},Lo=Nt.litHtmlPolyfillSupport;Lo?.(Z,V),(Nt.litHtmlVersions??=[]).push("3.2.1");var $e=(t,e,o)=>{let s=o?.renderBefore??e,n=s._$litPart$;if(n===void 0){let r=o?.renderBefore??null;s._$litPart$=n=new V(e.insertBefore(J(),r),r,void 0,o??{})}return n._$AI(t),n};var{is:Oo,defineProperty:So,getOwnPropertyDescriptor:Po,getOwnPropertyNames:To,getOwnPropertySymbols:No,getPrototypeOf:ko}=Object,yt=globalThis,xe=yt.trustedTypes,Do=xe?xe.emptyScript:"",Ro=yt.reactiveElementPolyfillSupport,Q=(t,e)=>t,vt={toAttribute(t,e){switch(e){case Boolean:t=t?Do:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},It=(t,e)=>!Oo(t,e),Ae={attribute:!0,type:String,converter:vt,reflect:!1,hasChanged:It};Symbol.metadata??=Symbol("metadata"),yt.litPropertyMetadata??=new WeakMap;var x=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=Ae){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(e,s,o);n!==void 0&&So(this.prototype,e,n)}}static getPropertyDescriptor(e,o,s){let{get:n,set:r}=Po(this.prototype,e)??{get(){return this[o]},set(i){this[o]=i}};return{get(){return n?.call(this)},set(i){let c=n?.call(this);r.call(this,i),this.requestUpdate(e,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ae}static _$Ei(){if(this.hasOwnProperty(Q("elementProperties")))return;let e=ko(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Q("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Q("properties"))){let o=this.properties,s=[...To(o),...No(o)];for(let n of s)this.createProperty(n,o[n])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[s,n]of o)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[o,s]of this.elementProperties){let n=this._$Eu(o,s);n!==void 0&&this._$Eh.set(n,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let s=new Set(e.flat(1/0).reverse());for(let n of s)o.unshift(lt(n))}else e!==void 0&&o.push(lt(e));return o}static _$Eu(e,o){let s=o.attribute;return s===!1?void 0:typeof s=="string"?s:typeof e=="string"?e.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(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,o=this.constructor.elementProperties;for(let s of o.keys())this.hasOwnProperty(s)&&(e.set(s,this[s]),delete this[s]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Pt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,s){this._$AK(e,s)}_$EC(e,o){let s=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:vt).toAttribute(o,s.type);this._$Em=e,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(e,o){let s=this.constructor,n=s._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:vt;this._$Em=n,this[n]=i.fromAttribute(o,r.type),this._$Em=null}}requestUpdate(e,o,s){if(e!==void 0){if(s??=this.constructor.getPropertyOptions(e),!(s.hasChanged??It)(this[e],o))return;this.P(e,o,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,o,s){this._$AL.has(e)||this._$AL.set(e,o),s.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(o)):this._$EU()}catch(s){throw e=!1,this._$EU(),s}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EC(o,this[o])),this._$EU()}updated(e){}firstUpdated(e){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[Q("elementProperties")]=new Map,x[Q("finalized")]=new Map,Ro?.({ReactiveElement:x}),(yt.reactiveElementVersions??=[]).push("2.0.4");var A=class extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=$e(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:A});var Uo=globalThis.litElementPolyfillSupport;Uo?.({LitElement:A});(globalThis.litElementVersions??=[]).push("4.1.1");var b={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},I=t=>(...e)=>({_$litDirective$:t,values:e}),L=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,s){this._$Ct=e,this._$AM=o,this._$Ci=s}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:Io}=we;var Oe=t=>t.strings===void 0,Le=()=>document.createComment(""),nn=(t,e,o)=>{let s=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(o===void 0){let r=s.insertBefore(Le(),n),i=s.insertBefore(Le(),n);o=new Io(r,i,t,t.options)}else{let r=o._$AB.nextSibling,i=o._$AM,c=i!==t;if(c){let a;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(a=t._$AU)!==i._$AU&&o._$AP(a)}if(r!==n||c){let a=o._$AA;for(;a!==r;){let l=a.nextSibling;s.insertBefore(a,n),a=l}}}return o},rn=(t,e,o=t)=>(t._$AI(e,o),t),Mo={},Se=(t,e=Mo)=>t._$AH=e,an=t=>t._$AH,cn=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let s=e.nextSibling;e.remove(),e=s}};var jo=I(class extends L{constructor(t){if(super(t),t.type!==b.PROPERTY&&t.type!==b.ATTRIBUTE&&t.type!==b.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Oe(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===f||e===u)return e;let o=t.element,s=t.name;if(t.type===b.PROPERTY){if(e===o[s])return f}else if(t.type===b.BOOLEAN_ATTRIBUTE){if(!!e===o.hasAttribute(s))return f}else if(t.type===b.ATTRIBUTE&&o.getAttribute(s)===e+"")return f;return Se(t),e}});var Pe=";",gt=",",Te=":";function Mt(t){let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){let o=e;return o.manager?.loadedCalled||o._offspring.push(t),o._postLoad.promise}return!1}var Vo=(t,e)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&t.setAssetPath(i),Object.entries(e).forEach(zo)};function zo([t,[e,o=""]]){if(customElements.get(t))return;let[s,n,r]=o.split(Pe),i=s?s?.split(gt).map(Ne):void 0,c=i?.map(([l])=>l),a=class extends Wo{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(gt):void 0}static{this._syncMethods=r?.split(gt)}static{this._name=t}constructor(){!a._loadPromise&&(a._loadPromise=e(),a._initializePrototype()),super()}};customElements.define(t,a)}var Et=Object.defineProperty;function Ne(t){let e=t.split(Te);return e.length===1?[e[0],et(e[0])]:e}var Ho=globalThis.HTMLElement??Ne,Wo=class extends Ho{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new E,this._postLoaded=new E,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(this._initializeComponent.bind(this)).catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){Et(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(e){this._store[t]=e}})}static _bindAsync(t){Et(this.prototype,t,{async value(...e){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...e)},configurable:!0})}static _bindSync(t){Et(this.prototype,t,{value(...e){return this._litElement[t](...e)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,e=this;t._properties?.forEach(o=>{Object.hasOwn(this,o)&&(this._store[o]=e[o],delete e[o])})}attributeChangedCallback(t,e,o){this._litElement?.attributeChangedCallback(t,e,o),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Mt(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let e=this.constructor,o=e._name,s=this._store,n=Object.values(t).find(d=>d.tagName===o),r=`${o}--lazy`,i=n;for(;i&&!Object.hasOwn(i,"lumina");)i=Object.getPrototypeOf(i);Bo(i),!e._LitConstructor&&(e._LitConstructor=n,customElements.define(r,n)),n.lazy=this;let a=document.createElement(r);n.lazy=void 0,this._litElement=a,this._store=a,this._pendingAttributes.forEach(d=>{let h=this.getAttribute(d);a.attributeChangedCallback(d,null,h)}),Object.entries(s).forEach(qo,a);let l=this.isConnected;(l||this._ancestorLoad)&&(a.connectedCallback?.(),l||a.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function qo([t,e]){this[t]=e}function Bo(t){let e=t.prototype,o=Element.prototype;Object.hasOwn(e,"isConnected")||(e.setAttribute=function(n,r){o.setAttribute.call(this.el,n,r)},e.removeAttribute=function(n){o.removeAttribute.call(this.el,n)},Et(e,"isConnected",{get(){return Reflect.get(o,"isConnected",this.el)}}))}var jt={};var Re=I(class extends L{constructor(t){if(super(t),t.type!==b.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in e)e[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(e)}let o=t.element.classList;for(let s of this.st)s in e||(o.remove(s),this.st.delete(s));for(let s in e){let n=!!e[s];n===this.st.has(s)||this.nt?.has(s)||(n?(o.add(s),this.st.add(s)):(o.remove(s),this.st.delete(s)))}return f}});var Ue="important",Go=" !"+Ue,Ie=I(class extends L{constructor(t){if(super(t),t.type!==b.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,o)=>{let s=t[o];return s==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let s of this.ft)e[s]==null&&(this.ft.delete(s),s.includes("-")?o.removeProperty(s):o[s]=null);for(let s in e){let n=e[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(Go);s.includes("-")||r?o.setProperty(s,r?n.slice(0,-11):n,r?Ue:""):o[s]=n}}return f}});var Me=(t="",e={},o=T())=>{let s={emit:n=>{t===""&&F();let r=new CustomEvent(t,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...e});return o.el.dispatchEvent(r),r}};return t===""&&it(void 0,n=>{t=n.key},s),s},mr=Me.bind(null,"");var Ko=()=>{},Jo=class je extends A{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=ce(this),this._postLoad=this.constructor.lazy?._postLoad??new E,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new E,this._enableUpdating=this.enableUpdating,this.enableUpdating=Ko;let e=je.prototype.shouldUpdate;this.shouldUpdate!==e&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=e),!1}static finalizeStyles(e){let o=super.finalizeStyles(e),s=this.shadowRootOptions===jt;return this.runtime?.commonStyles===void 0||s?o:[this.runtime.commonStyles,...o]}static createProperty(e,o){let s=typeof o=="number"?o:Array.isArray(o)?o[0]:0,n=Array.isArray(o)?o[1]:void 0;super.createProperty(e,{attribute:s&1&&typeof e=="string"?et(e):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let e=!this.manager.connectedCalled;super.connectedCallback(),e&&queueMicrotask(()=>this._load().catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})}))}createRenderRoot(){let e=this.el.shadowRoot,o=this.constructor,s=o.shadowRootOptions,r=e??(s===jt?this.el:this.el.attachShadow(s));if(Object.defineProperty(this,"shadowRoot",{value:r}),e)return A.prototype.createRenderRoot.call(this),e;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...o.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let e=this.el._ancestorLoad??Mt(this.el);e&&await e,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(s=>!s.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async s=>await s.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(e){return this.$changes=e,this._originalShouldUpdate?.(e)??!0}listen(e,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(this.el.addEventListener(e,n,s),()=>this.el.removeEventListener(e,n,s)))}listenOn(e,o,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(e.addEventListener(o,r,n),()=>e.removeEventListener(o,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}};Jo.$createEvent=Me;function Ve(t){let e,o=n=>{e=new URL(n,globalThis.location?.href||void 0).href},s={...t,getAssetPath(n){let r=new URL(n,e);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:o,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return o(t.defaultAssetPath),s}var Ar=t=>typeof t=="object"&&t!=null?Re(t):t,Lr=t=>typeof t=="object"&&t!=null?Ie(t):t;var Sr=u;function Pr(t,e,o){o==null?t.removeAttribute(e):t.setAttribute(e,o)}var Tr={toAttribute:t=>t===!0?"":t===!1?null:t};var We="calcite-mode-auto",qe="calcite-mode-dark",Yo="calcite-mode-light",Rr={autoMode:We,darkMode:qe,lightMode:Yo,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},Ur={filter:250,nextTick:0,resize:150,reposition:100};function ze(){let{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,o=()=>t.contains(qe)||t.contains(We)&&e?"dark":"light",s=i=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:i}})),n=i=>{r!==i&&s(i),r=i},r=o();s(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",i=>n(i.matches?"dark":"light")),new MutationObserver(()=>n(o())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var X=globalThis.calciteConfig,Ir=X?.focusTrapStack||[],Mr=X?.logLevel||"info",He="3.0.0",Zo="2025-02-08",Qo="e63242f9e";function Xo(){if(X&&X.version)return;console.info(`Using Calcite Components ${He} [Date: ${Zo}, Revision: ${Qo}]`);let t=X||globalThis.calciteConfig||{};Object.defineProperty(t,"version",{value:He,writable:!1}),globalThis.calciteConfig=t}var Be=()=>!!1&&typeof navigator<"u"&&typeof window<"u"&&typeof location<"u"&&typeof document<"u"&&window.location===location&&window.document===document;function ts(){return navigator.userAgentData}function jr(){if(!Be())return"";let t=ts();return t?.brands?t.brands.map(({brand:e,version:o})=>`${e}/${o}`).join(" "):navigator.userAgent}function es(){Be()&&(document.readyState==="interactive"?ze():document.addEventListener("DOMContentLoaded",()=>ze(),{once:!0})),Xo()}es();var os=Ve({defaultAssetPath:"https://js.arcgis.com/calcite-components/3.0.0/",hydratedAttribute:"calcite-hydrated"}),{customElement:Vr,getAssetPath:zr,setAssetPath:Hr}=os;export{Vo as a,Ss as b,Ps as c,Ns as d,xo as e,Ms as f,js as g,Vs as h,f as i,u as j,$e as k,b as l,I as m,L as n,Oe as o,nn as p,rn as q,Se as r,an as s,cn as t,jo as u,mr as v,Jo as w,Ar as x,Lr as y,Sr as z,Pr as A,Tr as B,Rr as C,Ur as D,Ir as E,Mr as F,Be as G,jr as H,os as I,Vr as J,zr as K};
6
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ve=/'/g,ye=/"/g,be=/^(?:script|style|textarea|title)$/i,Ut=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Ms=Ut(1),js=Ut(2),Vs=Ut(3),f=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),ge=new WeakMap,k=D.createTreeWalker(D,129);function _e(t,e){if(!Rt(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ue!==void 0?ue.createHTML(e):e}var Ce=(t,e)=>{let o=t.length-1,s=[],n,r=e===2?"<svg>":e===3?"<math>":"",i=K;for(let c=0;c<o;c++){let a=t[c],l,d,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,d=i.exec(a),d!==null);)m=i.lastIndex,i===K?d[1]==="!--"?i=fe:d[1]!==void 0?i=me:d[2]!==void 0?(be.test(d[2])&&(n=RegExp("</"+d[2],"g")),i=N):d[3]!==void 0&&(i=N):i===N?d[0]===">"?(i=n??K,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?N:d[3]==='"'?ye:ve):i===ye||i===ve?i=N:i===fe||i===me?i=K:(i=N,n=void 0);let y=i===N&&t[c+1].startsWith("/>")?" ":"";r+=i===K?a+Ao:h>=0?(s.push(l),a.slice(0,h)+kt+a.slice(h)+$+y):a+$+(h===-2?c:y)}return[_e(t,r+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),s]},Z=class t{constructor({strings:e,_$litType$:o},s){let n;this.parts=[];let r=0,i=0,c=e.length-1,a=this.parts,[l,d]=Ce(e,o);if(this.el=t.createElement(l,s),k.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=k.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(kt)){let m=d[i++],y=n.getAttribute(h).split($),_=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:_[2],strings:y,ctor:_[1]==="."?pt:_[1]==="?"?ut:_[1]==="@"?ft:U}),n.removeAttribute(h)}else h.startsWith($)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(be.test(n.tagName)){let h=n.textContent.split($),m=h.length-1;if(m>0){n.textContent=ht?ht.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],J()),k.nextNode(),a.push({type:2,index:++r});n.append(h[m],J())}}}else if(n.nodeType===8)if(n.data===Dt)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf($,h+1))!==-1;)a.push({type:7,index:r}),h+=$.length-1}r++}}static createElement(e,o){let s=D.createElement("template");return s.innerHTML=e,s}};function R(t,e,o=t,s){if(e===f)return e;let n=s!==void 0?o._$Co?.[s]:o._$Cl,r=Y(e)?void 0:e._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(t),n._$AT(t,o,s)),s!==void 0?(o._$Co??=[])[s]=n:o._$Cl=n),n!==void 0&&(e=R(t,n._$AS(t,e.values),n,s)),e}var dt=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:s}=this._$AD,n=(e?.creationScope??D).importNode(o,!0);k.currentNode=n;let r=k.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new V(r,r.nextSibling,this,e):a.type===1?l=new a.ctor(r,a.name,a.strings,this,e):a.type===6&&(l=new mt(r,this,e)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(r=k.nextNode(),i++)}return k.currentNode=D,n}p(e){let o=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(e,s,o),o+=s.strings.length-2):s._$AI(e[o])),o++}},V=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,s,n){this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=R(this,e,o),Y(e)?e===u||e==null||e===""?(this._$AH!==u&&this._$AR(),this._$AH=u):e!==this._$AH&&e!==f&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ee(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==u&&Y(this._$AH)?this._$AA.nextSibling.data=e:this.T(D.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:s}=e,n=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=Z.createElement(_e(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(o);else{let r=new dt(n,this),i=r.u(this.options);r.p(o),this.T(i),this._$AH=r}}_$AC(e){let o=ge.get(e.strings);return o===void 0&&ge.set(e.strings,o=new Z(e)),o}k(e){Rt(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,s,n=0;for(let r of e)n===o.length?o.push(s=new t(this.O(J()),this.O(J()),this,this.options)):s=o[n],s._$AI(r),n++;n<o.length&&(this._$AR(s&&s._$AB.nextSibling,n),o.length=n)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let s=e.nextSibling;e.remove(),e=s}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},U=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,s,n,r){this.type=1,this._$AH=u,this._$AN=void 0,this.element=e,this.name=o,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=u}_$AI(e,o=this,s,n){let r=this.strings,i=!1;if(r===void 0)e=R(this,e,o,0),i=!Y(e)||e!==this._$AH&&e!==f,i&&(this._$AH=e);else{let c=e,a,l;for(e=r[0],a=0;a<r.length-1;a++)l=R(this,c[s+a],o,a),l===f&&(l=this._$AH[a]),i||=!Y(l)||l!==this._$AH[a],l===u?e=u:e!==u&&(e+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(e)}j(e){e===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},pt=class extends U{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===u?void 0:e}},ut=class extends U{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==u)}},ft=class extends U{constructor(e,o,s,n,r){super(e,o,s,n,r),this.type=5}_$AI(e,o=this){if((e=R(this,e,o,0)??u)===f)return;let s=this._$AH,n=e===u&&s!==u||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,r=e!==u&&(s===u||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},mt=class{constructor(e,o,s){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(e){R(this,e)}},we={M:kt,P:$,A:Dt,C:1,L:Ce,R:dt,D:Ee,V:R,I:V,H:U,N:ut,U:ft,B:pt,F:mt},Lo=Nt.litHtmlPolyfillSupport;Lo?.(Z,V),(Nt.litHtmlVersions??=[]).push("3.2.1");var $e=(t,e,o)=>{let s=o?.renderBefore??e,n=s._$litPart$;if(n===void 0){let r=o?.renderBefore??null;s._$litPart$=n=new V(e.insertBefore(J(),r),r,void 0,o??{})}return n._$AI(t),n};var{is:Oo,defineProperty:So,getOwnPropertyDescriptor:Po,getOwnPropertyNames:To,getOwnPropertySymbols:No,getPrototypeOf:ko}=Object,yt=globalThis,xe=yt.trustedTypes,Do=xe?xe.emptyScript:"",Ro=yt.reactiveElementPolyfillSupport,Q=(t,e)=>t,vt={toAttribute(t,e){switch(e){case Boolean:t=t?Do:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},It=(t,e)=>!Oo(t,e),Ae={attribute:!0,type:String,converter:vt,reflect:!1,hasChanged:It};Symbol.metadata??=Symbol("metadata"),yt.litPropertyMetadata??=new WeakMap;var x=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=Ae){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(e,s,o);n!==void 0&&So(this.prototype,e,n)}}static getPropertyDescriptor(e,o,s){let{get:n,set:r}=Po(this.prototype,e)??{get(){return this[o]},set(i){this[o]=i}};return{get(){return n?.call(this)},set(i){let c=n?.call(this);r.call(this,i),this.requestUpdate(e,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ae}static _$Ei(){if(this.hasOwnProperty(Q("elementProperties")))return;let e=ko(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Q("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Q("properties"))){let o=this.properties,s=[...To(o),...No(o)];for(let n of s)this.createProperty(n,o[n])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[s,n]of o)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[o,s]of this.elementProperties){let n=this._$Eu(o,s);n!==void 0&&this._$Eh.set(n,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let s=new Set(e.flat(1/0).reverse());for(let n of s)o.unshift(lt(n))}else e!==void 0&&o.push(lt(e));return o}static _$Eu(e,o){let s=o.attribute;return s===!1?void 0:typeof s=="string"?s:typeof e=="string"?e.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(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,o=this.constructor.elementProperties;for(let s of o.keys())this.hasOwnProperty(s)&&(e.set(s,this[s]),delete this[s]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Pt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,s){this._$AK(e,s)}_$EC(e,o){let s=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:vt).toAttribute(o,s.type);this._$Em=e,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(e,o){let s=this.constructor,n=s._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:vt;this._$Em=n,this[n]=i.fromAttribute(o,r.type),this._$Em=null}}requestUpdate(e,o,s){if(e!==void 0){if(s??=this.constructor.getPropertyOptions(e),!(s.hasChanged??It)(this[e],o))return;this.P(e,o,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,o,s){this._$AL.has(e)||this._$AL.set(e,o),s.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(o)):this._$EU()}catch(s){throw e=!1,this._$EU(),s}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EC(o,this[o])),this._$EU()}updated(e){}firstUpdated(e){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[Q("elementProperties")]=new Map,x[Q("finalized")]=new Map,Ro?.({ReactiveElement:x}),(yt.reactiveElementVersions??=[]).push("2.0.4");var A=class extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=$e(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:A});var Uo=globalThis.litElementPolyfillSupport;Uo?.({LitElement:A});(globalThis.litElementVersions??=[]).push("4.1.1");var b={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},I=t=>(...e)=>({_$litDirective$:t,values:e}),L=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,s){this._$Ct=e,this._$AM=o,this._$Ci=s}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:Io}=we;var Oe=t=>t.strings===void 0,Le=()=>document.createComment(""),nn=(t,e,o)=>{let s=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(o===void 0){let r=s.insertBefore(Le(),n),i=s.insertBefore(Le(),n);o=new Io(r,i,t,t.options)}else{let r=o._$AB.nextSibling,i=o._$AM,c=i!==t;if(c){let a;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(a=t._$AU)!==i._$AU&&o._$AP(a)}if(r!==n||c){let a=o._$AA;for(;a!==r;){let l=a.nextSibling;s.insertBefore(a,n),a=l}}}return o},rn=(t,e,o=t)=>(t._$AI(e,o),t),Mo={},Se=(t,e=Mo)=>t._$AH=e,an=t=>t._$AH,cn=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let s=e.nextSibling;e.remove(),e=s}};var jo=I(class extends L{constructor(t){if(super(t),t.type!==b.PROPERTY&&t.type!==b.ATTRIBUTE&&t.type!==b.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Oe(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===f||e===u)return e;let o=t.element,s=t.name;if(t.type===b.PROPERTY){if(e===o[s])return f}else if(t.type===b.BOOLEAN_ATTRIBUTE){if(!!e===o.hasAttribute(s))return f}else if(t.type===b.ATTRIBUTE&&o.getAttribute(s)===e+"")return f;return Se(t),e}});var Pe=";",gt=",",Te=":";function Mt(t){let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){let o=e;return o.manager?.loadedCalled||o._offspring.push(t),o._postLoad.promise}return!1}var Vo=(t,e)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&t.setAssetPath(i),Object.entries(e).forEach(zo)};function zo([t,[e,o=""]]){if(customElements.get(t))return;let[s,n,r]=o.split(Pe),i=s?s?.split(gt).map(Ne):void 0,c=i?.map(([l])=>l),a=class extends Wo{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(gt):void 0}static{this._syncMethods=r?.split(gt)}static{this._name=t}constructor(){!a._loadPromise&&(a._loadPromise=e(),a._initializePrototype()),super()}};customElements.define(t,a)}var Et=Object.defineProperty;function Ne(t){let e=t.split(Te);return e.length===1?[e[0],et(e[0])]:e}var Ho=globalThis.HTMLElement??Ne,Wo=class extends Ho{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new E,this._postLoaded=new E,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(this._initializeComponent.bind(this)).catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){Et(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(e){this._store[t]=e}})}static _bindAsync(t){Et(this.prototype,t,{async value(...e){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...e)},configurable:!0})}static _bindSync(t){Et(this.prototype,t,{value(...e){return this._litElement[t](...e)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,e=this;t._properties?.forEach(o=>{Object.hasOwn(this,o)&&(this._store[o]=e[o],delete e[o])})}attributeChangedCallback(t,e,o){this._litElement?.attributeChangedCallback(t,e,o),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Mt(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let e=this.constructor,o=e._name,s=this._store,n=Object.values(t).find(d=>d.tagName===o),r=`${o}--lazy`,i=n;for(;i&&!Object.hasOwn(i,"lumina");)i=Object.getPrototypeOf(i);Bo(i),!e._LitConstructor&&(e._LitConstructor=n,customElements.define(r,n)),n.lazy=this;let a=document.createElement(r);n.lazy=void 0,this._litElement=a,this._store=a,this._pendingAttributes.forEach(d=>{let h=this.getAttribute(d);a.attributeChangedCallback(d,null,h)}),Object.entries(s).forEach(qo,a);let l=this.isConnected;(l||this._ancestorLoad)&&(a.connectedCallback?.(),l||a.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function qo([t,e]){this[t]=e}function Bo(t){let e=t.prototype,o=Element.prototype;Object.hasOwn(e,"isConnected")||(e.setAttribute=function(n,r){o.setAttribute.call(this.el,n,r)},e.removeAttribute=function(n){o.removeAttribute.call(this.el,n)},Et(e,"isConnected",{get(){return Reflect.get(o,"isConnected",this.el)}}))}var jt={};var Re=I(class extends L{constructor(t){if(super(t),t.type!==b.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in e)e[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(e)}let o=t.element.classList;for(let s of this.st)s in e||(o.remove(s),this.st.delete(s));for(let s in e){let n=!!e[s];n===this.st.has(s)||this.nt?.has(s)||(n?(o.add(s),this.st.add(s)):(o.remove(s),this.st.delete(s)))}return f}});var Ue="important",Go=" !"+Ue,Ie=I(class extends L{constructor(t){if(super(t),t.type!==b.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,o)=>{let s=t[o];return s==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let s of this.ft)e[s]==null&&(this.ft.delete(s),s.includes("-")?o.removeProperty(s):o[s]=null);for(let s in e){let n=e[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(Go);s.includes("-")||r?o.setProperty(s,r?n.slice(0,-11):n,r?Ue:""):o[s]=n}}return f}});var Me=(t="",e={},o=T())=>{let s={emit:n=>{t===""&&F();let r=new CustomEvent(t,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...e});return o.el.dispatchEvent(r),r}};return t===""&&it(void 0,n=>{t=n.key},s),s},mr=Me.bind(null,"");var Ko=()=>{},Jo=class je extends A{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=ce(this),this._postLoad=this.constructor.lazy?._postLoad??new E,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new E,this._enableUpdating=this.enableUpdating,this.enableUpdating=Ko;let e=je.prototype.shouldUpdate;this.shouldUpdate!==e&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=e),!1}static finalizeStyles(e){let o=super.finalizeStyles(e),s=this.shadowRootOptions===jt;return this.runtime?.commonStyles===void 0||s?o:[this.runtime.commonStyles,...o]}static createProperty(e,o){let s=typeof o=="number"?o:Array.isArray(o)?o[0]:0,n=Array.isArray(o)?o[1]:void 0;super.createProperty(e,{attribute:s&1&&typeof e=="string"?et(e):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let e=!this.manager.connectedCalled;super.connectedCallback(),e&&queueMicrotask(()=>this._load().catch(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})}))}createRenderRoot(){let e=this.el.shadowRoot,o=this.constructor,s=o.shadowRootOptions,r=e??(s===jt?this.el:this.el.attachShadow(s));if(Object.defineProperty(this,"shadowRoot",{value:r}),e)return A.prototype.createRenderRoot.call(this),e;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...o.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let e=this.el._ancestorLoad??Mt(this.el);e&&await e,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(s=>!s.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async s=>await s.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(e){return this.$changes=e,this._originalShouldUpdate?.(e)??!0}listen(e,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(this.el.addEventListener(e,n,s),()=>this.el.removeEventListener(e,n,s)))}listenOn(e,o,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(e.addEventListener(o,r,n),()=>e.removeEventListener(o,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}};Jo.$createEvent=Me;function Ve(t){let e,o=n=>{e=new URL(n,globalThis.location?.href||void 0).href},s={...t,getAssetPath(n){let r=new URL(n,e);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:o,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return o(t.defaultAssetPath),s}var Ar=t=>typeof t=="object"&&t!=null?Re(t):t,Lr=t=>typeof t=="object"&&t!=null?Ie(t):t;var Sr=u;function Pr(t,e,o){o==null?t.removeAttribute(e):t.setAttribute(e,o)}var Tr={toAttribute:t=>t===!0?"":t===!1?null:t};var We="calcite-mode-auto",qe="calcite-mode-dark",Yo="calcite-mode-light",Rr={autoMode:We,darkMode:qe,lightMode:Yo,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},Ur={filter:250,nextTick:0,resize:150,reposition:100};function ze(){let{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,o=()=>t.contains(qe)||t.contains(We)&&e?"dark":"light",s=i=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:i}})),n=i=>{r!==i&&s(i),r=i},r=o();s(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",i=>n(i.matches?"dark":"light")),new MutationObserver(()=>n(o())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var X=globalThis.calciteConfig,Ir=X?.focusTrapStack||[],Mr=X?.logLevel||"info",He="3.1.0-next.0",Zo="2025-02-10",Qo="5c6e12654";function Xo(){if(X&&X.version)return;console.info(`Using Calcite Components ${He} [Date: ${Zo}, Revision: ${Qo}]`);let t=X||globalThis.calciteConfig||{};Object.defineProperty(t,"version",{value:He,writable:!1}),globalThis.calciteConfig=t}var Be=()=>!!1&&typeof navigator<"u"&&typeof window<"u"&&typeof location<"u"&&typeof document<"u"&&window.location===location&&window.document===document;function ts(){return navigator.userAgentData}function jr(){if(!Be())return"";let t=ts();return t?.brands?t.brands.map(({brand:e,version:o})=>`${e}/${o}`).join(" "):navigator.userAgent}function es(){Be()&&(document.readyState==="interactive"?ze():document.addEventListener("DOMContentLoaded",()=>ze(),{once:!0})),Xo()}es();var os=Ve({defaultAssetPath:"https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.1.0-next.0/dist/calcite/",hydratedAttribute:"calcite-hydrated"}),{customElement:Vr,getAssetPath:zr,setAssetPath:Hr}=os;export{Vo as a,Ss as b,Ps as c,Ns as d,xo as e,Ms as f,js as g,Vs as h,f as i,u as j,$e as k,b as l,I as m,L as n,Oe as o,nn as p,rn as q,Se as r,an as s,cn as t,jo as u,mr as v,Jo as w,Ar as x,Lr as y,Sr as z,Pr as A,Tr as B,Rr as C,Ur as D,Ir as E,Mr as F,Be as G,jr as H,os as I,Vr as J,zr as K};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{d as t}from"./22RQB3WE.js";import{a as v,b as B}from"./LOZEGKG2.js";import{a as $}from"./CIV3PH3Z.js";import{a as x}from"./ARHYATTG.js";import{b as h}from"./QU33PBBI.js";import{e as k}from"./CMO3X257.js";import{b as w}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as u,e as b,f as d,j as f,v as l,w as m,x as g}from"./KVSCG5E3.js";var T={backButton:"back-button"},y={backLeft:"chevron-left",backRight:"chevron-right"},o={actionBar:"action-bar",alerts:"alerts",contentTop:"content-top",contentBottom:"content-bottom",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions",footerEnd:"footer-end",footerStart:"footer-start"},L=b`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:none;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([selected]){display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.back-button{border-width:0px;border-style:solid;border-inline-end-width:1px;border-color:var(--calcite-flow-border-color, var(--calcite-color-border-3))}calcite-panel{--calcite-panel-background-color: var(--calcite-flow-background-color);--calcite-panel-border-color: var(--calcite-flow-border-color, var(--calcite-flow-item-header-border-block-end));--calcite-panel-corner-radius: var(--calcite-flow-corner-radius);--calcite-panel-description-text-color: var(--calcite-flow-description-text-color);--calcite-panel-footer-background-color: var(--calcite-flow-footer-background-color);--calcite-panel-footer-space: var(--calcite-flow-footer-space, var(--calcite-flow-item-footer-padding));--calcite-panel-header-action-background-color-hover: var(--calcite-flow-header-action-background-color-hover);--calcite-panel-header-action-background-color-press: var(--calcite-flow-header-action-background-color-press);--calcite-panel-header-action-background-color: var(--calcite-flow-header-action-background-color);--calcite-panel-header-action-indicator-color: var(--calcite-flow-header-action-indicator-color);--calcite-panel-header-action-text-color-press: var(--calcite-flow-header-action-text-color-press);--calcite-panel-header-action-text-color: var(--calcite-flow-header-action-text-color);--calcite-panel-header-background-color: var(--calcite-flow-header-background-color);--calcite-panel-header-content-space: var(--calcite-flow-header-content-space);--calcite-panel-heading-text-color: var(--calcite-flow-heading-text-color);--calcite-panel-space: var(--calcite-flow-space)}:host([hidden]){display:none}[hidden]{display:none}`,p=class extends m{constructor(){super(...arguments),this.closable=!1,this.closed=!1,this.collapseDirection="down",this.collapsed=!1,this.collapsible=!1,this.disabled=!1,this.loading=!1,this.menuOpen=!1,this.messages=x(),this.overlayPositioning="absolute",this.scale="m",this.selected=!1,this.showBackButton=!1,this.calciteFlowItemBack=l(),this.calciteFlowItemClose=l({cancelable:!1}),this.calciteFlowItemScroll=l({cancelable:!1}),this.calciteFlowItemToggle=l({cancelable:!1}),this.calciteInternalFlowItemChange=l({cancelable:!1})}static{this.properties={beforeBack:0,beforeClose:0,closable:7,closed:7,collapseDirection:1,collapsed:7,collapsible:7,description:1,disabled:7,heading:1,headingLevel:11,loading:7,menuOpen:7,messageOverrides:0,overlayPositioning:3,scale:3,selected:7,showBackButton:5}}static{this.styles=L}async scrollContentTo(e){await this.containerEl?.scrollContentTo(e)}async setFocus(){await w(this);let{backButtonEl:e,containerEl:a}=this;if(e)return e.setFocus();if(a)return a.setFocus()}async load(){}willUpdate(e){e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.calciteInternalFlowItemChange.emit()}updated(){v(this)}loaded(){}handleInternalPanelScroll(e){e.target===this.containerEl&&(e.stopPropagation(),this.calciteFlowItemScroll.emit())}handleInternalPanelClose(e){e.target===this.containerEl&&(e.stopPropagation(),this.closed=!0,this.calciteFlowItemClose.emit())}handleInternalPanelToggle(e){e.target===this.containerEl&&(e.stopPropagation(),this.collapsed=e.target.collapsed,this.calciteFlowItemToggle.emit())}backButtonClick(){this.calciteFlowItemBack.emit()}setBackRef(e){this.backButtonEl=e}setContainerRef(e){this.containerEl=e}renderBackButton(){let{el:e}=this,a=k(e)==="rtl",{showBackButton:n,backButtonClick:i,messages:r}=this,c=r.back,s=a?y.backRight:y.backLeft;return n?$("flow-back-button",d`<calcite-action .ariaLabel=${c} class=${g(T.backButton)} .icon=${s} @click=${i} scale=s slot=header-actions-start .text=${c} title=${c??f} ${h(this.setBackRef)}></calcite-action>`):null}render(){let{collapsed:e,collapseDirection:a,collapsible:n,closable:i,closed:r,description:c,disabled:s,heading:C,headingLevel:I,loading:E,menuOpen:P,messages:F,overlayPositioning:A,beforeClose:S}=this;return B({disabled:s,children:d`<calcite-panel .beforeClose=${S} .closable=${i} .closed=${r} .collapseDirection=${a} .collapsed=${e} .collapsible=${n} .description=${c} .disabled=${s} .heading=${C} .headingLevel=${I} .loading=${E} .menuOpen=${P} .messageOverrides=${F} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${A} .scale=${this.scale} ${h(this.setContainerRef)}>${this.renderBackButton()}<slot name=${o.actionBar} slot=${t.actionBar}></slot><slot name=${o.alerts} slot=${t.alerts}></slot><slot name=${o.headerActionsStart} slot=${t.headerActionsStart}></slot><slot name=${o.headerActionsEnd} slot=${t.headerActionsEnd}></slot><slot name=${o.headerContent} slot=${t.headerContent}></slot><slot name=${o.headerMenuActions} slot=${t.headerMenuActions}></slot><slot name=${o.fab} slot=${t.fab}></slot><slot name=${o.contentTop} slot=${t.contentTop}></slot><slot name=${o.contentBottom} slot=${t.contentBottom}></slot><slot name=${o.footerStart} slot=${t.footerStart}></slot><slot name=${o.footer} slot=${t.footer}></slot><slot name=${o.footerEnd} slot=${t.footerEnd}></slot><slot name=${o.footerActions} slot=${t.footerActions}></slot><slot></slot></calcite-panel>`})}};u("calcite-flow-item",p);export{p as FlowItem};
3
+ v3.1.0-next.0 */
4
+ import{d as t}from"./TD2M3HXH.js";import{a as v,b as B}from"./RAA7AM6M.js";import{a as $}from"./CQ5FVCCX.js";import{a as x}from"./MYKRE5QO.js";import{b as h}from"./WACTC6C2.js";import{e as k}from"./FE2QRVI7.js";import{b as w}from"./7VOKVNOX.js";import"./7LGBDOYP.js";import{J as u,e as b,f as d,j as f,v as l,w as m,x as g}from"./IPEYLL4T.js";var T={backButton:"back-button"},y={backLeft:"chevron-left",backRight:"chevron-right"},o={actionBar:"action-bar",alerts:"alerts",contentTop:"content-top",contentBottom:"content-bottom",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions",footerEnd:"footer-end",footerStart:"footer-start"},L=b`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:none;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([selected]){display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.back-button{border-width:0px;border-style:solid;border-inline-end-width:1px;border-color:var(--calcite-flow-border-color, var(--calcite-color-border-3))}calcite-panel{--calcite-panel-background-color: var(--calcite-flow-background-color);--calcite-panel-border-color: var(--calcite-flow-border-color, var(--calcite-flow-item-header-border-block-end));--calcite-panel-corner-radius: var(--calcite-flow-corner-radius);--calcite-panel-description-text-color: var(--calcite-flow-description-text-color);--calcite-panel-footer-background-color: var(--calcite-flow-footer-background-color);--calcite-panel-footer-space: var(--calcite-flow-footer-space, var(--calcite-flow-item-footer-padding));--calcite-panel-header-action-background-color-hover: var(--calcite-flow-header-action-background-color-hover);--calcite-panel-header-action-background-color-press: var(--calcite-flow-header-action-background-color-press);--calcite-panel-header-action-background-color: var(--calcite-flow-header-action-background-color);--calcite-panel-header-action-indicator-color: var(--calcite-flow-header-action-indicator-color);--calcite-panel-header-action-text-color-press: var(--calcite-flow-header-action-text-color-press);--calcite-panel-header-action-text-color: var(--calcite-flow-header-action-text-color);--calcite-panel-header-background-color: var(--calcite-flow-header-background-color);--calcite-panel-header-content-space: var(--calcite-flow-header-content-space);--calcite-panel-heading-text-color: var(--calcite-flow-heading-text-color);--calcite-panel-space: var(--calcite-flow-space)}:host([hidden]){display:none}[hidden]{display:none}`,p=class extends m{constructor(){super(...arguments),this.closable=!1,this.closed=!1,this.collapseDirection="down",this.collapsed=!1,this.collapsible=!1,this.disabled=!1,this.loading=!1,this.menuOpen=!1,this.messages=x(),this.overlayPositioning="absolute",this.scale="m",this.selected=!1,this.showBackButton=!1,this.calciteFlowItemBack=l(),this.calciteFlowItemClose=l({cancelable:!1}),this.calciteFlowItemScroll=l({cancelable:!1}),this.calciteFlowItemToggle=l({cancelable:!1}),this.calciteInternalFlowItemChange=l({cancelable:!1})}static{this.properties={beforeBack:0,beforeClose:0,closable:7,closed:7,collapseDirection:1,collapsed:7,collapsible:7,description:1,disabled:7,heading:1,headingLevel:11,loading:7,menuOpen:7,messageOverrides:0,overlayPositioning:3,scale:3,selected:7,showBackButton:5}}static{this.styles=L}async scrollContentTo(e){await this.containerEl?.scrollContentTo(e)}async setFocus(){await w(this);let{backButtonEl:e,containerEl:a}=this;if(e)return e.setFocus();if(a)return a.setFocus()}async load(){}willUpdate(e){e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.calciteInternalFlowItemChange.emit()}updated(){v(this)}loaded(){}handleInternalPanelScroll(e){e.target===this.containerEl&&(e.stopPropagation(),this.calciteFlowItemScroll.emit())}handleInternalPanelClose(e){e.target===this.containerEl&&(e.stopPropagation(),this.closed=!0,this.calciteFlowItemClose.emit())}handleInternalPanelToggle(e){e.target===this.containerEl&&(e.stopPropagation(),this.collapsed=e.target.collapsed,this.calciteFlowItemToggle.emit())}backButtonClick(){this.calciteFlowItemBack.emit()}setBackRef(e){this.backButtonEl=e}setContainerRef(e){this.containerEl=e}renderBackButton(){let{el:e}=this,a=k(e)==="rtl",{showBackButton:n,backButtonClick:i,messages:r}=this,c=r.back,s=a?y.backRight:y.backLeft;return n?$("flow-back-button",d`<calcite-action .ariaLabel=${c} class=${g(T.backButton)} .icon=${s} @click=${i} scale=s slot=header-actions-start .text=${c} title=${c??f} ${h(this.setBackRef)}></calcite-action>`):null}render(){let{collapsed:e,collapseDirection:a,collapsible:n,closable:i,closed:r,description:c,disabled:s,heading:C,headingLevel:I,loading:E,menuOpen:P,messages:F,overlayPositioning:A,beforeClose:S}=this;return B({disabled:s,children:d`<calcite-panel .beforeClose=${S} .closable=${i} .closed=${r} .collapseDirection=${a} .collapsed=${e} .collapsible=${n} .description=${c} .disabled=${s} .heading=${C} .headingLevel=${I} .loading=${E} .menuOpen=${P} .messageOverrides=${F} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${A} .scale=${this.scale} ${h(this.setContainerRef)}>${this.renderBackButton()}<slot name=${o.actionBar} slot=${t.actionBar}></slot><slot name=${o.alerts} slot=${t.alerts}></slot><slot name=${o.headerActionsStart} slot=${t.headerActionsStart}></slot><slot name=${o.headerActionsEnd} slot=${t.headerActionsEnd}></slot><slot name=${o.headerContent} slot=${t.headerContent}></slot><slot name=${o.headerMenuActions} slot=${t.headerMenuActions}></slot><slot name=${o.fab} slot=${t.fab}></slot><slot name=${o.contentTop} slot=${t.contentTop}></slot><slot name=${o.contentBottom} slot=${t.contentBottom}></slot><slot name=${o.footerStart} slot=${t.footerStart}></slot><slot name=${o.footer} slot=${t.footer}></slot><slot name=${o.footerEnd} slot=${t.footerEnd}></slot><slot name=${o.footerActions} slot=${t.footerActions}></slot><slot></slot></calcite-panel>`})}};u("calcite-flow-item",p);export{p as FlowItem};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
3
+ v3.1.0-next.0 */
4
4
  var c=(n,t,a)=>Math.max(t,Math.min(n,a)),s=new RegExp(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/),o=n=>{let t=(""+n).match(s);return!t||parseInt(t[1])===0?0:Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0))};function i(n){return o(n)>0&&n>0?parseFloat(`0.${n.toString().split(".")[1]}`):n}function u(n,t,a,r,e){return(n-t)*(e-r)/(a-t)+r}function g(n,t,a){return n<a?-1:n>t-a?1:0}export{c as a,o as b,i as c,u as d,g as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{b as e}from"./VJD4CRQ3.js";import"./YYJSHQR3.js";var _={name:"it-ch",weekdays:"domenica_luned\xEC_marted\xEC_mercoled\xEC_gioved\xEC_venerd\xEC_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(o){return o},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};e.locale(_,null,!0);var i=_;export{i as default};
3
+ v3.1.0-next.0 */
4
+ import{b as e}from"./A77PTXQI.js";import"./AFBGRNF3.js";var _={name:"it-ch",weekdays:"domenica_luned\xEC_marted\xEC_mercoled\xEC_gioved\xEC_venerd\xEC_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(o){return o},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};e.locale(_,null,!0);var i=_;export{i as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{a}from"./YYJSHQR3.js";export{a as default};
3
+ v3.1.0-next.0 */
4
+ import{a}from"./AFBGRNF3.js";export{a as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{a as U}from"./N2BVYYYP.js";import{c as S,e as A,f as M,h as D}from"./DTL2LM6T.js";import{c as k,d as x}from"./G3LH75CQ.js";import{a as b,b as C}from"./LOZEGKG2.js";import{e as w,v as y}from"./CMO3X257.js";import{b as I}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{B as f,G as g,J as v,e as h,f as c,v as m,w as p,x as u}from"./KVSCG5E3.js";var $={itemWrapper:"item-wrapper"},E={validationMessage:"segmentedControlValidationMessage"},z=h`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column}.item-wrapper{display:flex;background-color:var(--calcite-color-foreground-1);inline-size:fit-content;outline:1px solid var(--calcite-segmented-control-border-color, var(--calcite-color-border-input));outline-offset:-1px}:host([appearance=outline])>.item-wrapper{background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([layout=vertical])>.item-wrapper{flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full])>.item-wrapper{inline-size:100%;min-inline-size:fit-content}:host([width=full])>.item-wrapper ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical])>.item-wrapper ::slotted(calcite-segmented-control-item){justify-content:flex-start}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends p{constructor(){super(),this.items=[],this.appearance="solid",this.disabled=!1,this.layout="horizontal",this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=null,this.width="auto",this.calciteSegmentedControlChange=m({cancelable:!1}),this.listen("calciteInternalSegmentedControlItemChange",this.handleSelected),this.listen("keydown",this.handleKeyDown),this.listen("click",this.handleClick)}static{this.properties={appearance:3,disabled:7,form:3,layout:3,name:3,required:7,scale:3,selectedItem:0,status:3,validationIcon:[3,{converter:f}],validationMessage:1,validity:0,value:1,width:3}}static{this.styles=z}async setFocus(){await I(this),(this.selectedItem||this.items[0])?.focus()}connectedCallback(){super.connectedCallback(),k(this),S(this)}load(){}willUpdate(t){(t.has("appearance")&&(this.hasUpdated||this.appearance!=="solid")||t.has("layout")&&(this.hasUpdated||this.layout!=="horizontal")||t.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.handleItemPropChange(),t.has("value")&&(this.hasUpdated||this.value!==null)&&this.valueHandler(this.value),t.has("selectedItem")&&this.handleSelectedItemChange(this.selectedItem,t.get("selectedItem"))}updated(){b(this)}loaded(){M(this,this.value)}disconnectedCallback(){super.disconnectedCallback(),x(this),A(this)}valueHandler(t){let{items:e}=this;e.forEach(a=>a.checked=a.value===t)}handleSelectedItemChange(t,e){if(this.value=t?.value,t===e)return;let{items:a}=this,s=a.filter(i=>i===t).pop();s?this.selectItem(s):a[0]&&(a[0].tabIndex=0)}handleClick(t){this.disabled||t.target.localName==="calcite-segmented-control-item"&&this.selectItem(t.target,!0)}handleSelected(t){t.preventDefault();let e=t.target;e.checked&&this.selectItem(e),t.stopPropagation()}handleKeyDown(t){let e=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "],{key:a}=t,{el:s,selectedItem:i}=this;if(e.indexOf(a)===-1)return;let l=a;w(s)==="rtl"&&(a==="ArrowRight"&&(l="ArrowLeft"),a==="ArrowLeft"&&(l="ArrowRight"));let{items:o}=this,n=-1;switch(o.forEach((r,L)=>{r===i&&(n=L)}),l){case"ArrowLeft":case"ArrowUp":{t.preventDefault();let r=n<1?o[o.length-1]:o[n-1];this.selectItem(r,!0);return}case"ArrowRight":case"ArrowDown":{t.preventDefault();let r=n===-1?o[1]:o[n+1]||o[0];this.selectItem(r,!0);return}case" ":t.preventDefault(),this.selectItem(t.target,!0);return;default:return}}handleItemPropChange(){let{items:t}=this;t.forEach(e=>{e.appearance=this.appearance,e.layout=this.layout,e.scale=this.scale})}handleSelectedItem(){let{items:t}=this,e=t.filter(a=>a.checked).pop();e?this.selectItem(e):t[0]&&(t[0].tabIndex=0)}async handleDefaultSlotChange(t){let e=y(t).filter(a=>a.matches("calcite-segmented-control-item"));await Promise.all(e.map(a=>a.componentOnReady())),this.items=e,this.handleSelectedItem(),this.handleItemPropChange()}onLabelClick(){this.setFocus()}async selectItem(t,e=!1){if(t===this.selectedItem)return;let{items:a}=this,s=null;a.forEach(i=>{let l=i===t;(l&&!i.checked||!l&&i.checked)&&(i.checked=l),i.tabIndex=l?0:-1,l&&(s=i)}),this.selectedItem=s,s&&e&&(await this.updateComplete,this.calciteSegmentedControlChange.emit()),g()&&s&&s.focus()}render(){return this.el.role="radiogroup",c`<div aria-errormessage=${E.validationMessage} .ariaInvalid=${this.status==="invalid"} class=${u($.itemWrapper)}>${C({disabled:this.disabled,children:c`<slot @slotchange=${this.handleDefaultSlotChange}></slot>${D({component:this})}`})}</div>${this.validationMessage&&this.status==="invalid"?U({icon:this.validationIcon,id:E.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`}};v("calcite-segmented-control",d);export{d as SegmentedControl};
3
+ v3.1.0-next.0 */
4
+ import{a as U}from"./UFYDUU52.js";import{c as S,e as A,f as M,h as D}from"./YYWIZXXK.js";import{c as k,d as x}from"./BAWLIDLU.js";import{a as b,b as C}from"./RAA7AM6M.js";import{e as w,v as y}from"./FE2QRVI7.js";import{b as I}from"./7VOKVNOX.js";import"./7LGBDOYP.js";import{B as f,G as g,J as v,e as h,f as c,v as m,w as p,x as u}from"./IPEYLL4T.js";var $={itemWrapper:"item-wrapper"},E={validationMessage:"segmentedControlValidationMessage"},z=h`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column}.item-wrapper{display:flex;background-color:var(--calcite-color-foreground-1);inline-size:fit-content;outline:1px solid var(--calcite-segmented-control-border-color, var(--calcite-color-border-input));outline-offset:-1px}:host([appearance=outline])>.item-wrapper{background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([layout=vertical])>.item-wrapper{flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full])>.item-wrapper{inline-size:100%;min-inline-size:fit-content}:host([width=full])>.item-wrapper ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical])>.item-wrapper ::slotted(calcite-segmented-control-item){justify-content:flex-start}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends p{constructor(){super(),this.items=[],this.appearance="solid",this.disabled=!1,this.layout="horizontal",this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=null,this.width="auto",this.calciteSegmentedControlChange=m({cancelable:!1}),this.listen("calciteInternalSegmentedControlItemChange",this.handleSelected),this.listen("keydown",this.handleKeyDown),this.listen("click",this.handleClick)}static{this.properties={appearance:3,disabled:7,form:3,layout:3,name:3,required:7,scale:3,selectedItem:0,status:3,validationIcon:[3,{converter:f}],validationMessage:1,validity:0,value:1,width:3}}static{this.styles=z}async setFocus(){await I(this),(this.selectedItem||this.items[0])?.focus()}connectedCallback(){super.connectedCallback(),k(this),S(this)}load(){}willUpdate(t){(t.has("appearance")&&(this.hasUpdated||this.appearance!=="solid")||t.has("layout")&&(this.hasUpdated||this.layout!=="horizontal")||t.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.handleItemPropChange(),t.has("value")&&(this.hasUpdated||this.value!==null)&&this.valueHandler(this.value),t.has("selectedItem")&&this.handleSelectedItemChange(this.selectedItem,t.get("selectedItem"))}updated(){b(this)}loaded(){M(this,this.value)}disconnectedCallback(){super.disconnectedCallback(),x(this),A(this)}valueHandler(t){let{items:e}=this;e.forEach(a=>a.checked=a.value===t)}handleSelectedItemChange(t,e){if(this.value=t?.value,t===e)return;let{items:a}=this,s=a.filter(i=>i===t).pop();s?this.selectItem(s):a[0]&&(a[0].tabIndex=0)}handleClick(t){this.disabled||t.target.localName==="calcite-segmented-control-item"&&this.selectItem(t.target,!0)}handleSelected(t){t.preventDefault();let e=t.target;e.checked&&this.selectItem(e),t.stopPropagation()}handleKeyDown(t){let e=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "],{key:a}=t,{el:s,selectedItem:i}=this;if(e.indexOf(a)===-1)return;let l=a;w(s)==="rtl"&&(a==="ArrowRight"&&(l="ArrowLeft"),a==="ArrowLeft"&&(l="ArrowRight"));let{items:o}=this,n=-1;switch(o.forEach((r,L)=>{r===i&&(n=L)}),l){case"ArrowLeft":case"ArrowUp":{t.preventDefault();let r=n<1?o[o.length-1]:o[n-1];this.selectItem(r,!0);return}case"ArrowRight":case"ArrowDown":{t.preventDefault();let r=n===-1?o[1]:o[n+1]||o[0];this.selectItem(r,!0);return}case" ":t.preventDefault(),this.selectItem(t.target,!0);return;default:return}}handleItemPropChange(){let{items:t}=this;t.forEach(e=>{e.appearance=this.appearance,e.layout=this.layout,e.scale=this.scale})}handleSelectedItem(){let{items:t}=this,e=t.filter(a=>a.checked).pop();e?this.selectItem(e):t[0]&&(t[0].tabIndex=0)}async handleDefaultSlotChange(t){let e=y(t).filter(a=>a.matches("calcite-segmented-control-item"));await Promise.all(e.map(a=>a.componentOnReady())),this.items=e,this.handleSelectedItem(),this.handleItemPropChange()}onLabelClick(){this.setFocus()}async selectItem(t,e=!1){if(t===this.selectedItem)return;let{items:a}=this,s=null;a.forEach(i=>{let l=i===t;(l&&!i.checked||!l&&i.checked)&&(i.checked=l),i.tabIndex=l?0:-1,l&&(s=i)}),this.selectedItem=s,s&&e&&(await this.updateComplete,this.calciteSegmentedControlChange.emit()),g()&&s&&s.focus()}render(){return this.el.role="radiogroup",c`<div aria-errormessage=${E.validationMessage} .ariaInvalid=${this.status==="invalid"} class=${u($.itemWrapper)}>${C({disabled:this.disabled,children:c`<slot @slotchange=${this.handleDefaultSlotChange}></slot>${D({component:this})}`})}</div>${this.validationMessage&&this.status==="invalid"?U({icon:this.validationIcon,id:E.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`}};v("calcite-segmented-control",d);export{d as SegmentedControl};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{a as s}from"./KW57BHXD.js";import{J as i,e,f as t,w as r}from"./KVSCG5E3.js";var a=e`:host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}::slotted(calcite-tip){margin:0;border-style:none;max-inline-size:var(--calcite-tip-max-width)}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends r{static{this.properties={groupTitle:1}}static{this.styles=a}load(){s.deprecated("component",{name:"tip-group",removalVersion:4,suggested:["carousel","carousel-item"]})}render(){return t`<slot></slot>`}};i("calcite-tip-group",o);export{o as TipGroup};
3
+ v3.1.0-next.0 */
4
+ import{a as s}from"./RSMRASRN.js";import{J as i,e,f as t,w as r}from"./IPEYLL4T.js";var a=e`:host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}::slotted(calcite-tip){margin:0;border-style:none;max-inline-size:var(--calcite-tip-max-width)}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends r{static{this.properties={groupTitle:1}}static{this.styles=a}load(){s.deprecated("component",{name:"tip-group",removalVersion:4,suggested:["carousel","carousel-item"]})}render(){return t`<slot></slot>`}};i("calcite-tip-group",o);export{o as TipGroup};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{a as x,b as C}from"./4TQLSUKH.js";import{a as O,b as S}from"./LOZEGKG2.js";import{a as y}from"./KW57BHXD.js";import{a as f}from"./CNO6NFH5.js";import{l as v}from"./CMO3X257.js";import"./I2OIH73C.js";import{J as u,e as h,f as m,v as b,w as p,x as g}from"./KVSCG5E3.js";var l={container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"},E=h`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends p{constructor(){super(),this.dragEnabled=!0,this.items=[],this.mutationObserver=f("mutation",()=>{this.setUpSorting()}),this.disabled=!1,this.handleSelector="calcite-handle",this.layout="vertical",this.loading=!1,this.calciteListOrderChange=b({cancelable:!1}),this.listen("calciteHandleNudge",this.calciteHandleNudgeNextHandler)}static{this.properties={canPull:0,canPut:0,disabled:7,dragSelector:3,group:3,handleSelector:3,layout:3,loading:7}}static{this.styles=E}connectedCallback(){super.connectedCallback(),this.setUpSorting(),this.beginObserving()}load(){y.deprecated("component",{name:"sortable-list",removalVersion:4,suggested:"block-group"})}updated(){O(this)}disconnectedCallback(){super.disconnectedCallback(),C(this),this.endObserving()}calciteHandleNudgeNextHandler(e){this.handleNudgeEvent(e)}onGlobalDragStart(){this.endObserving()}onGlobalDragEnd(){this.beginObserving()}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(e){let{direction:r}=e.detail,t=e.composedPath().find(a=>a.matches(this.handleSelector)),i=this.items.find(a=>a.contains(t)||e.composedPath().includes(a)),c=this.items.length-1,s=this.items.indexOf(i),o=!1,n;r==="up"?s===0?o=!0:n=s-1:s===c?n=0:s===c-1?o=!0:n=s+2,this.endObserving(),o?i.parentElement.appendChild(i):i.parentElement.insertBefore(i,this.items[n]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame(()=>v(t)),"selected"in t&&(t.selected=!0)}setUpSorting(){this.items=Array.from(this.el.children),x(this)}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}endObserving(){this.mutationObserver?.disconnect()}render(){let{disabled:e,layout:r}=this,t=r==="horizontal"||!1;return S({disabled:e,children:m`<div class=${g({[l.container]:!0,[l.containerVertical]:!t,[l.containerHorizontal]:t})}><slot></slot></div>`})}};u("calcite-sortable-list",d);export{d as SortableList};
3
+ v3.1.0-next.0 */
4
+ import{a as x,b as C}from"./YBPOJHA7.js";import{a as O,b as S}from"./RAA7AM6M.js";import{a as y}from"./RSMRASRN.js";import{a as f}from"./R3FLP5QS.js";import{l as v}from"./FE2QRVI7.js";import"./7LGBDOYP.js";import{J as u,e as h,f as m,v as b,w as p,x as g}from"./IPEYLL4T.js";var l={container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"},E=h`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends p{constructor(){super(),this.dragEnabled=!0,this.items=[],this.mutationObserver=f("mutation",()=>{this.setUpSorting()}),this.disabled=!1,this.handleSelector="calcite-handle",this.layout="vertical",this.loading=!1,this.calciteListOrderChange=b({cancelable:!1}),this.listen("calciteHandleNudge",this.calciteHandleNudgeNextHandler)}static{this.properties={canPull:0,canPut:0,disabled:7,dragSelector:3,group:3,handleSelector:3,layout:3,loading:7}}static{this.styles=E}connectedCallback(){super.connectedCallback(),this.setUpSorting(),this.beginObserving()}load(){y.deprecated("component",{name:"sortable-list",removalVersion:4,suggested:"block-group"})}updated(){O(this)}disconnectedCallback(){super.disconnectedCallback(),C(this),this.endObserving()}calciteHandleNudgeNextHandler(e){this.handleNudgeEvent(e)}onGlobalDragStart(){this.endObserving()}onGlobalDragEnd(){this.beginObserving()}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(e){let{direction:r}=e.detail,t=e.composedPath().find(a=>a.matches(this.handleSelector)),i=this.items.find(a=>a.contains(t)||e.composedPath().includes(a)),c=this.items.length-1,s=this.items.indexOf(i),o=!1,n;r==="up"?s===0?o=!0:n=s-1:s===c?n=0:s===c-1?o=!0:n=s+2,this.endObserving(),o?i.parentElement.appendChild(i):i.parentElement.insertBefore(i,this.items[n]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame(()=>v(t)),"selected"in t&&(t.selected=!0)}setUpSorting(){this.items=Array.from(this.el.children),x(this)}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}endObserving(){this.mutationObserver?.disconnect()}render(){let{disabled:e,layout:r}=this,t=r==="horizontal"||!1;return S({disabled:e,children:m`<div class=${g({[l.container]:!0,[l.containerVertical]:!t,[l.containerHorizontal]:t})}><slot></slot></div>`})}};u("calcite-sortable-list",d);export{d as SortableList};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{a as T}from"./V4JZRN7T.js";import"./PT2XMADA.js";import{a as f,b as S}from"./LOZEGKG2.js";import{a as r}from"./CIV3PH3Z.js";import"./NWVCPRVB.js";import{a as v}from"./ARHYATTG.js";import{b as w}from"./QU33PBBI.js";import"./CMO3X257.js";import{b as $}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{J as g,e as u,f as a,j as l,v as i,w as b,x as c}from"./KVSCG5E3.js";var y={handle:"handle",dropdown:"dropdown"},D={drag:"drag",blank:"blank"},p={label:"{label}",position:"{position}",total:"{total}"},I=["top","up","down","bottom"],B=u`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.dropdown{block-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,h=class extends b{constructor(){super(...arguments),this.disabled=!1,this.messages=v({blocking:!0}),this.moveToItems=[],this.open=!1,this.overlayPositioning="absolute",this.placement=T,this.scale="m",this.calciteSortHandleBeforeClose=i({cancelable:!1}),this.calciteSortHandleBeforeOpen=i({cancelable:!1}),this.calciteSortHandleClose=i({cancelable:!1}),this.calciteSortHandleMove=i({cancelable:!1}),this.calciteSortHandleOpen=i({cancelable:!1}),this.calciteSortHandleReorder=i({cancelable:!1})}static{this.properties={hasSetInfo:16,isSetDisabled:16,disabled:7,flipPlacements:0,label:1,messageOverrides:0,messages:0,moveToItems:0,open:7,overlayPositioning:3,placement:3,scale:3,setPosition:9,setSize:9,widthScale:3}}static{this.styles=B}get hasSetInfo(){return typeof this.setPosition=="number"&&typeof this.setSize=="number"}get isSetDisabled(){let{setPosition:e,setSize:t,moveToItems:o}=this;return this.hasSetInfo?e<1||t<1||t<2&&o.length<1:!1}async setFocus(){await $(this),this.dropdownEl?.setFocus()}async load(){}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler()}updated(){f(this)}loaded(){}openHandler(){if(this.disabled){this.open=!1;return}this.dropdownEl&&(this.dropdownEl.open=this.open)}setDropdownEl(e){e&&(this.dropdownEl=e,this.openHandler())}getLabel(){let{label:e,messages:t,setPosition:o,setSize:s}=this;if(!this.hasSetInfo)return e??"";let n=e?t.repositionLabel.replace(p.label,e):t.reposition;return n=n.replace(p.position,o?o.toString():""),n.replace(p.total,s?s.toString():"")}handleBeforeOpen(e){e.stopPropagation(),this.calciteSortHandleBeforeOpen.emit()}handleOpen(e){e.stopPropagation(),this.calciteSortHandleOpen.emit(),this.open=!0}handleBeforeClose(e){e.stopPropagation(),this.calciteSortHandleBeforeClose.emit()}handleClose(e){e.stopPropagation(),this.calciteSortHandleClose.emit(),this.open=!1}handleReorder(e){this.calciteSortHandleReorder.emit({reorder:e.target.dataset.value})}handleMoveTo(e){let t=e.target.dataset.id,o=this.moveToItems.find(s=>s.id===t);this.calciteSortHandleMove.emit({moveTo:o})}render(){let{disabled:e,flipPlacements:t,open:o,overlayPositioning:s,placement:n,scale:m,widthScale:P}=this,d=this.getLabel(),H=e||this.isSetDisabled;return S({disabled:e,children:a`<calcite-dropdown class=${c(y.dropdown)} .disabled=${H} .flipPlacements=${t} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${s} .placement=${n} .scale=${m} .widthScale=${P} ${w(this.setDropdownEl)}><calcite-action .active=${o} appearance=transparent class=${c(y.handle)} .dragHandle=${!0} .icon=${e?D.blank:D.drag} .label=${d} .scale=${m} slot=trigger .text=${d} title=${d??l}></calcite-action>${this.renderGroup()}${this.renderMoveToGroup()}</calcite-dropdown>`})}renderMoveToItem(e){return r(e.id,a`<calcite-dropdown-item data-id=${e.id??l} .label=${e.label} @calciteDropdownItemSelect=${this.handleMoveTo}>${e.label}</calcite-dropdown-item>`)}renderGroup(){return this.hasSetInfo?r("reorder",a`<calcite-dropdown-group .groupTitle=${this.messages.reorder} .scale=${this.scale} selection-mode=none>${this.renderTop()}${this.renderUp()}${this.renderDown()}${this.renderBottom()}</calcite-dropdown-group>`):null}renderMoveToGroup(){let{messages:e,moveToItems:t,scale:o}=this;return t.length?r("move-to-items",a`<calcite-dropdown-group .groupTitle=${e.moveTo} .scale=${o} selection-mode=none>${t.map(s=>this.renderMoveToItem(s))}</calcite-dropdown-group>`):null}renderDropdownItem(e,t){return r(I[e],a`<calcite-dropdown-item data-value=${I[e]??l} .label=${t} @calciteDropdownItemSelect=${this.handleReorder}>${t}</calcite-dropdown-item>`)}renderTop(){let{setPosition:e}=this;return e!==1&&e!==2?this.renderDropdownItem(0,this.messages.moveToTop):null}renderUp(){return this.setPosition!==1?this.renderDropdownItem(1,this.messages.moveUp):null}renderDown(){return this.setPosition!==this.setSize?this.renderDropdownItem(2,this.messages.moveDown):null}renderBottom(){let{setPosition:e,setSize:t}=this;return e!==t&&e!==t-1?this.renderDropdownItem(3,this.messages.moveToBottom):null}};g("calcite-sort-handle",h);export{h as SortHandle};
3
+ v3.1.0-next.0 */
4
+ import{a as T}from"./5V63WOMD.js";import"./CVPHYVRS.js";import{a as f,b as S}from"./RAA7AM6M.js";import{a as r}from"./CQ5FVCCX.js";import"./ERNMRUWX.js";import{a as v}from"./MYKRE5QO.js";import{b as w}from"./WACTC6C2.js";import"./FE2QRVI7.js";import{b as $}from"./7VOKVNOX.js";import"./7LGBDOYP.js";import{J as g,e as u,f as a,j as l,v as i,w as b,x as c}from"./IPEYLL4T.js";var y={handle:"handle",dropdown:"dropdown"},D={drag:"drag",blank:"blank"},p={label:"{label}",position:"{position}",total:"{total}"},I=["top","up","down","bottom"],B=u`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.dropdown{block-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,h=class extends b{constructor(){super(...arguments),this.disabled=!1,this.messages=v({blocking:!0}),this.moveToItems=[],this.open=!1,this.overlayPositioning="absolute",this.placement=T,this.scale="m",this.calciteSortHandleBeforeClose=i({cancelable:!1}),this.calciteSortHandleBeforeOpen=i({cancelable:!1}),this.calciteSortHandleClose=i({cancelable:!1}),this.calciteSortHandleMove=i({cancelable:!1}),this.calciteSortHandleOpen=i({cancelable:!1}),this.calciteSortHandleReorder=i({cancelable:!1})}static{this.properties={hasSetInfo:16,isSetDisabled:16,disabled:7,flipPlacements:0,label:1,messageOverrides:0,messages:0,moveToItems:0,open:7,overlayPositioning:3,placement:3,scale:3,setPosition:9,setSize:9,widthScale:3}}static{this.styles=B}get hasSetInfo(){return typeof this.setPosition=="number"&&typeof this.setSize=="number"}get isSetDisabled(){let{setPosition:e,setSize:t,moveToItems:o}=this;return this.hasSetInfo?e<1||t<1||t<2&&o.length<1:!1}async setFocus(){await $(this),this.dropdownEl?.setFocus()}async load(){}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler()}updated(){f(this)}loaded(){}openHandler(){if(this.disabled){this.open=!1;return}this.dropdownEl&&(this.dropdownEl.open=this.open)}setDropdownEl(e){e&&(this.dropdownEl=e,this.openHandler())}getLabel(){let{label:e,messages:t,setPosition:o,setSize:s}=this;if(!this.hasSetInfo)return e??"";let n=e?t.repositionLabel.replace(p.label,e):t.reposition;return n=n.replace(p.position,o?o.toString():""),n.replace(p.total,s?s.toString():"")}handleBeforeOpen(e){e.stopPropagation(),this.calciteSortHandleBeforeOpen.emit()}handleOpen(e){e.stopPropagation(),this.calciteSortHandleOpen.emit(),this.open=!0}handleBeforeClose(e){e.stopPropagation(),this.calciteSortHandleBeforeClose.emit()}handleClose(e){e.stopPropagation(),this.calciteSortHandleClose.emit(),this.open=!1}handleReorder(e){this.calciteSortHandleReorder.emit({reorder:e.target.dataset.value})}handleMoveTo(e){let t=e.target.dataset.id,o=this.moveToItems.find(s=>s.id===t);this.calciteSortHandleMove.emit({moveTo:o})}render(){let{disabled:e,flipPlacements:t,open:o,overlayPositioning:s,placement:n,scale:m,widthScale:P}=this,d=this.getLabel(),H=e||this.isSetDisabled;return S({disabled:e,children:a`<calcite-dropdown class=${c(y.dropdown)} .disabled=${H} .flipPlacements=${t} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${s} .placement=${n} .scale=${m} .widthScale=${P} ${w(this.setDropdownEl)}><calcite-action .active=${o} appearance=transparent class=${c(y.handle)} .dragHandle=${!0} .icon=${e?D.blank:D.drag} .label=${d} .scale=${m} slot=trigger .text=${d} title=${d??l}></calcite-action>${this.renderGroup()}${this.renderMoveToGroup()}</calcite-dropdown>`})}renderMoveToItem(e){return r(e.id,a`<calcite-dropdown-item data-id=${e.id??l} .label=${e.label} @calciteDropdownItemSelect=${this.handleMoveTo}>${e.label}</calcite-dropdown-item>`)}renderGroup(){return this.hasSetInfo?r("reorder",a`<calcite-dropdown-group .groupTitle=${this.messages.reorder} .scale=${this.scale} selection-mode=none>${this.renderTop()}${this.renderUp()}${this.renderDown()}${this.renderBottom()}</calcite-dropdown-group>`):null}renderMoveToGroup(){let{messages:e,moveToItems:t,scale:o}=this;return t.length?r("move-to-items",a`<calcite-dropdown-group .groupTitle=${e.moveTo} .scale=${o} selection-mode=none>${t.map(s=>this.renderMoveToItem(s))}</calcite-dropdown-group>`):null}renderDropdownItem(e,t){return r(I[e],a`<calcite-dropdown-item data-value=${I[e]??l} .label=${t} @calciteDropdownItemSelect=${this.handleReorder}>${t}</calcite-dropdown-item>`)}renderTop(){let{setPosition:e}=this;return e!==1&&e!==2?this.renderDropdownItem(0,this.messages.moveToTop):null}renderUp(){return this.setPosition!==1?this.renderDropdownItem(1,this.messages.moveUp):null}renderDown(){return this.setPosition!==this.setSize?this.renderDropdownItem(2,this.messages.moveDown):null}renderBottom(){let{setPosition:e,setSize:t}=this;return e!==t&&e!==t-1?this.renderDropdownItem(3,this.messages.moveToBottom):null}};g("calcite-sort-handle",h);export{h as SortHandle};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{e as k,i as I,j as S}from"./ESBOJTBS.js";import{a}from"./XXZIOSXQ.js";import{a as z,b as y}from"./LOZEGKG2.js";import{a as d,b as C}from"./3IV6JSC2.js";import"./KW57BHXD.js";import{a as c}from"./CIV3PH3Z.js";import{s as $}from"./CMO3X257.js";import{a as w}from"./I2OIH73C.js";import{J as v,e as u,f as o,j as g,v as r,w as x,x as i,y as f}from"./KVSCG5E3.js";var t={active:"label--active",centerContent:"center-content",container:"container",custom:"icon--custom",description:"description",icon:"icon",iconSelected:"icon--selected",label:"label",scale:m=>`scale--${m}`,selected:"label--selected",shortText:"short-text",single:"label--single",textContainer:"text-container",title:"title"},M={contentEnd:"content-end",contentStart:"content-start"},j=u`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .25rem;--calcite-combobox-item-spacing-unit-l: .5rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-xs)}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .375rem;--calcite-combobox-item-spacing-unit-l: .75rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-sm)}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-s: .625rem;--calcite-combobox-item-spacing-unit-l: 1rem;--calcite-combobox-item-selector-icon-size: 1.5rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size)}.container{--calcite-combobox-item-indent-value: calc( var(--calcite-combobox-item-spacing-unit-l) * var(--calcite-combobox-item-spacing-indent-multiplier) )}:host(:focus){--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0;display:flex;flex-direction:column;padding:0}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);outline-color:transparent;word-wrap:break-word;word-break:break-word;justify-content:space-around;gap:var(--calcite-combobox-item-spacing-unit-l);padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline-end:var(--calcite-combobox-item-spacing-unit-l);padding-inline-start:var(--calcite-combobox-item-indent-value)}:host([disabled]) .label{cursor:default}.label--selected{color:var(--calcite-color-text-1)}.label--selected .title{font-weight:var(--calcite-font-weight-medium)}.label--active{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.label:active{background-color:var(--calcite-color-foreground-3)}.icon{display:inline-flex;opacity:0;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-color-border-1)}.icon--custom{margin-block-start:-1px}.icon--selected{color:var(--calcite-color-text-1)}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}.center-content{display:flex;flex-direction:column;flex-grow:1;padding-block:0}.description{font-size:var(--calcite-internal-combobox-item-description-font-size)}:host([selected]) .description,:host(:hover) .description{color:var(--calcite-color-text-2)}.short-text{color:var(--calcite-color-text-3);white-space:nowrap}.title{color:var(--calcite-color-text-1)}.title,.description,.short-text{line-height:var(--calcite-font-line-height-relative-snug)}:host([item-hidden]){display:none}.text-match{background-color:transparent;color:inherit;font-weight:var(--calcite-font-weight-bold)}`,h=class extends x{constructor(){super(...arguments),this.hasContent=!1,this._selected=!1,this.active=!1,this.disabled=!1,this.guid=w(),this.iconFlipRtl=!1,this.scale="m",this.selectionMode="multiple",this.itemHidden=!1,this.calciteComboboxItemChange=r({cancelable:!1}),this.calciteInternalComboboxItemChange=r({cancelable:!1})}static{this.properties={hasContent:16,active:7,ancestors:0,description:1,disabled:7,filterDisabled:7,filterTextMatchPattern:2,guid:3,heading:1,icon:3,iconFlipRtl:7,label:1,metadata:0,scale:1,selected:7,selectionMode:3,shortHeading:1,textLabel:3,value:1,itemHidden:7}}static{this.styles=j}get selected(){return this._selected}set selected(e){let l=this._selected;e!==l&&(this._selected=e,this.emitItemChange())}connectedCallback(){super.connectedCallback(),this.ancestors=k(this.el)}load(){C(this,"value","textLabel")}willUpdate(e){this.hasUpdated&&(e.has("disabled")||e.has("heading")||e.has("label")||e.has("textLabel"))&&this.emitItemChange()}updated(){z(this)}emitItemChange(){this.calciteInternalComboboxItemChange.emit()}handleDefaultSlotChange(e){this.hasContent=$(e)}toggleSelected(){let e=this.selectionMode==="single-persist";this.disabled||e&&this.selected||(this.selected=!this.selected,this.calciteComboboxItemChange.emit())}itemClickHandler(){this.toggleSelected()}renderIcon(e){return this.icon?c("icon",o`<calcite-icon class=${i({[t.custom]:!!this.icon,[t.iconSelected]:this.icon&&this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${this.icon||e} .scale=${d(this.scale)}></calcite-icon>`):null}renderSelectIndicator(e){return c("indicator",o`<calcite-icon class=${i({[t.icon]:!0,[t.iconSelected]:this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${e} .scale=${d(this.scale)}></calcite-icon>`)}renderChildren(){return c("default-slot-container",o`<ul .hidden=${!this.hasContent}><slot @slotchange=${this.handleDefaultSlotChange}></slot></ul>`)}render(){let{disabled:e,heading:l,label:H,textLabel:L,value:R,filterTextMatchPattern:n,description:b,shortHeading:p}=this,s=S(this.selectionMode),E=e||s?void 0:"check",F=s?"bullet-point":"check",T=l||L,_=H||R,D={[t.label]:!0,[t.selected]:this.selected,[t.active]:this.active,[t.single]:s},P=I(this.el);return this.el.ariaHidden="true",this.el.ariaLabel=_,y({disabled:e,children:o`<div class=${i({[t.container]:!0,[t.scale(this.scale)]:!0})} style=${f({"--calcite-combobox-item-spacing-indent-multiplier":`${P}`})}><li class=${i(D)} id=${this.guid??g} @click=${this.itemClickHandler}>${this.renderSelectIndicator(F)}<slot name=${M.contentStart}></slot>${this.renderIcon(E)}<div class=${i(t.centerContent)}><div class=${i(t.title)}>${a({text:T,pattern:n})}</div>${b?o`<div class=${i(t.description)}>${a({text:b,pattern:n})}</div>`:null}</div>${p?o`<div class=${i(t.shortText)}>${a({text:p,pattern:n})}</div>`:null}<slot name=${M.contentEnd}></slot></li>${this.renderChildren()}</div>`})}};v("calcite-combobox-item",h);export{h as ComboboxItem};
3
+ v3.1.0-next.0 */
4
+ import{e as k,i as I,j as S}from"./DXGYOB2C.js";import{a}from"./75U2CEI2.js";import{a as z,b as y}from"./RAA7AM6M.js";import{a as d,b as C}from"./WQI63ENU.js";import"./RSMRASRN.js";import{a as c}from"./CQ5FVCCX.js";import{s as $}from"./FE2QRVI7.js";import{a as w}from"./7LGBDOYP.js";import{J as v,e as u,f as o,j as g,v as r,w as x,x as i,y as f}from"./IPEYLL4T.js";var t={active:"label--active",centerContent:"center-content",container:"container",custom:"icon--custom",description:"description",icon:"icon",iconSelected:"icon--selected",label:"label",scale:m=>`scale--${m}`,selected:"label--selected",shortText:"short-text",single:"label--single",textContainer:"text-container",title:"title"},M={contentEnd:"content-end",contentStart:"content-start"},j=u`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .25rem;--calcite-combobox-item-spacing-unit-l: .5rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-xs)}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .375rem;--calcite-combobox-item-spacing-unit-l: .75rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-sm)}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-s: .625rem;--calcite-combobox-item-spacing-unit-l: 1rem;--calcite-combobox-item-selector-icon-size: 1.5rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size)}.container{--calcite-combobox-item-indent-value: calc( var(--calcite-combobox-item-spacing-unit-l) * var(--calcite-combobox-item-spacing-indent-multiplier) )}:host(:focus){--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0;display:flex;flex-direction:column;padding:0}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);outline-color:transparent;word-wrap:break-word;word-break:break-word;justify-content:space-around;gap:var(--calcite-combobox-item-spacing-unit-l);padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline-end:var(--calcite-combobox-item-spacing-unit-l);padding-inline-start:var(--calcite-combobox-item-indent-value)}:host([disabled]) .label{cursor:default}.label--selected{color:var(--calcite-color-text-1)}.label--selected .title{font-weight:var(--calcite-font-weight-medium)}.label--active{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.label:active{background-color:var(--calcite-color-foreground-3)}.icon{display:inline-flex;opacity:0;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-color-border-1)}.icon--custom{margin-block-start:-1px}.icon--selected{color:var(--calcite-color-text-1)}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}.center-content{display:flex;flex-direction:column;flex-grow:1;padding-block:0}.description{font-size:var(--calcite-internal-combobox-item-description-font-size)}:host([selected]) .description,:host(:hover) .description{color:var(--calcite-color-text-2)}.short-text{color:var(--calcite-color-text-3);white-space:nowrap}.title{color:var(--calcite-color-text-1)}.title,.description,.short-text{line-height:var(--calcite-font-line-height-relative-snug)}:host([item-hidden]){display:none}.text-match{background-color:transparent;color:inherit;font-weight:var(--calcite-font-weight-bold)}`,h=class extends x{constructor(){super(...arguments),this.hasContent=!1,this._selected=!1,this.active=!1,this.disabled=!1,this.guid=w(),this.iconFlipRtl=!1,this.scale="m",this.selectionMode="multiple",this.itemHidden=!1,this.calciteComboboxItemChange=r({cancelable:!1}),this.calciteInternalComboboxItemChange=r({cancelable:!1})}static{this.properties={hasContent:16,active:7,ancestors:0,description:1,disabled:7,filterDisabled:7,filterTextMatchPattern:2,guid:3,heading:1,icon:3,iconFlipRtl:7,label:1,metadata:0,scale:1,selected:7,selectionMode:3,shortHeading:1,textLabel:3,value:1,itemHidden:7}}static{this.styles=j}get selected(){return this._selected}set selected(e){let l=this._selected;e!==l&&(this._selected=e,this.emitItemChange())}connectedCallback(){super.connectedCallback(),this.ancestors=k(this.el)}load(){C(this,"value","textLabel")}willUpdate(e){this.hasUpdated&&(e.has("disabled")||e.has("heading")||e.has("label")||e.has("textLabel"))&&this.emitItemChange()}updated(){z(this)}emitItemChange(){this.calciteInternalComboboxItemChange.emit()}handleDefaultSlotChange(e){this.hasContent=$(e)}toggleSelected(){let e=this.selectionMode==="single-persist";this.disabled||e&&this.selected||(this.selected=!this.selected,this.calciteComboboxItemChange.emit())}itemClickHandler(){this.toggleSelected()}renderIcon(e){return this.icon?c("icon",o`<calcite-icon class=${i({[t.custom]:!!this.icon,[t.iconSelected]:this.icon&&this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${this.icon||e} .scale=${d(this.scale)}></calcite-icon>`):null}renderSelectIndicator(e){return c("indicator",o`<calcite-icon class=${i({[t.icon]:!0,[t.iconSelected]:this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${e} .scale=${d(this.scale)}></calcite-icon>`)}renderChildren(){return c("default-slot-container",o`<ul .hidden=${!this.hasContent}><slot @slotchange=${this.handleDefaultSlotChange}></slot></ul>`)}render(){let{disabled:e,heading:l,label:H,textLabel:L,value:R,filterTextMatchPattern:n,description:b,shortHeading:p}=this,s=S(this.selectionMode),E=e||s?void 0:"check",F=s?"bullet-point":"check",T=l||L,_=H||R,D={[t.label]:!0,[t.selected]:this.selected,[t.active]:this.active,[t.single]:s},P=I(this.el);return this.el.ariaHidden="true",this.el.ariaLabel=_,y({disabled:e,children:o`<div class=${i({[t.container]:!0,[t.scale(this.scale)]:!0})} style=${f({"--calcite-combobox-item-spacing-indent-multiplier":`${P}`})}><li class=${i(D)} id=${this.guid??g} @click=${this.itemClickHandler}>${this.renderSelectIndicator(F)}<slot name=${M.contentStart}></slot>${this.renderIcon(E)}<div class=${i(t.centerContent)}><div class=${i(t.title)}>${a({text:T,pattern:n})}</div>${b?o`<div class=${i(t.description)}>${a({text:b,pattern:n})}</div>`:null}</div>${p?o`<div class=${i(t.shortText)}>${a({text:p,pattern:n})}</div>`:null}<slot name=${M.contentEnd}></slot></li>${this.renderChildren()}</div>`})}};v("calcite-combobox-item",h);export{h as ComboboxItem};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
3
+ v3.1.0-next.0 */
4
4
  function t(r,o){return(r+o)%o}export{t as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{a as b,b as g}from"./LOZEGKG2.js";import{a as f}from"./ARHYATTG.js";import{a as h,b as p}from"./QU33PBBI.js";import{e as m}from"./CMO3X257.js";import{b as u}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{C as r,J as d,e as c,f as o,j as s,w as a,x as i}from"./KVSCG5E3.js";var e={contentCell:"content-cell",numberCell:"number-cell",footerCell:"footer-cell",selectionCell:"selection-cell",selectedCell:"selected-cell",assistiveText:"assistive-text",lastCell:"last-cell",staticCell:"static-cell"},C=c`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{--calcite-internal-table-cell-background: var(--calcite-table-cell-background, transparent);display:contents}:host([alignment=center]) td:not(.selection-cell):not(.number-cell){text-align:center}:host([alignment=end]) td:not(.selection-cell):not(.number-cell){text-align:end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}td{white-space:normal;text-align:start;vertical-align:middle;color:var(--calcite-color-text-1);background:var(--calcite-internal-table-cell-background);font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-color-border-3);padding:var(--calcite-internal-table-cell-padding)}td:not(.static-cell){outline-color:transparent}td:not(.static-cell):focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}td.start.content-cell{vertical-align:top}td.end.content-cell{vertical-align:bottom}td.last-cell{border-inline-end:0}.number-cell{background-color:var(--calcite-color-foreground-2)}.footer-cell{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);border-block-start:1px solid var(--calcite-color-border-3)}.number-cell,.selection-cell{text-align:center;border-inline-end:1px solid var(--calcite-color-border-3);inline-size:2rem;min-inline-size:2rem}.selection-cell{color:var(--calcite-color-text-3);inset-inline-start:2rem}.selection-cell:not(.footer-cell){cursor:pointer}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-internal-table-cell-background: var(--calcite-color-foreground-current)}.selection-cell.selected-cell{box-shadow:inset .25rem 0 0 0 var(--calcite-color-brand);color:var(--calcite-color-brand)}.selection-cell.selected-cell calcite-icon{color:var(--calcite-color-brand)}.calcite--rtl.selection-cell.selected-cell{box-shadow:inset -.25rem 0 0 0 var(--calcite-color-brand)}.selection-cell{vertical-align:middle}.selection-cell ::slotted(calcite-icon){pointer-events:none;margin-block-start:.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,n=class extends a{constructor(){super(...arguments),this.containerEl=h(),this.contentsText="",this.focused=!1,this.selectionText="",this.alignment="start",this.interactionMode="interactive",this.messages=f(),this.parentRowAlignment="start",this.scale="m"}static{this.properties={contentsText:16,focused:16,selectionText:16,alignment:3,colSpan:11,disabled:5,interactionMode:1,lastCell:5,messageOverrides:0,numberCell:5,parentRowAlignment:1,parentRowIsSelected:5,parentRowPositionLocalized:1,parentRowType:1,positionInRow:9,readCellContentsToAT:5,rowSpan:11,scale:1,selectionCell:5}}static{this.styles=C}async setFocus(){await u(this),this.containerEl.value.focus()}async load(){this.updateScreenReaderContentsText(),this.updateScreenReaderSelectionText()}willUpdate(t){t.has("parentRowIsSelected")&&this.updateScreenReaderSelectionText()}updated(){b(this)}loaded(){}updateScreenReaderSelectionText(){let t=`${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.selected} ${this.messages?.keyboardDeselect}`,l=`${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.unselected} ${this.messages?.keyboardSelect}`;this.selectionText=this.parentRowIsSelected?t:l}updateScreenReaderContentsText(){this.contentsText=this.el.textContent}onContainerBlur(){this.focused=!1}onContainerFocus(){this.focused=!0}render(){let t=m(this.el),l=this.disabled||this.interactionMode==="static"&&(!this.selectionCell||this.selectionCell&&this.parentRowType==="foot");return g({disabled:this.disabled,children:o`<td class=${i({[e.footerCell]:this.parentRowType==="foot",[e.contentCell]:!this.numberCell&&!this.selectionCell,[e.numberCell]:this.numberCell,[e.selectionCell]:this.selectionCell,[e.selectedCell]:this.parentRowIsSelected,[e.lastCell]:this.lastCell&&(!this.rowSpan||this.colSpan&&!!this.rowSpan),[r.rtl]:t==="rtl",[e.staticCell]:l,[this.parentRowAlignment]:this.parentRowAlignment==="start"||this.parentRowAlignment==="end"})} colSpan=${this.colSpan??s} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} .role=${this.interactionMode==="interactive"?"gridcell":"cell"} rowSpan=${this.rowSpan??s} .tabIndex=${l?-1:0} ${p(this.containerEl)}>${(this.selectionCell||this.readCellContentsToAT)&&o`<span .ariaLive=${this.focused?"polite":"off"} class=${i(e.assistiveText)}>${this.selectionCell&&this.selectionText||""}${this.readCellContentsToAT&&!this.selectionCell&&this.contentsText||""}</span>`||""}<slot @slotchange=${this.updateScreenReaderContentsText}></slot></td>`})}};d("calcite-table-cell",n);export{n as TableCell};
3
+ v3.1.0-next.0 */
4
+ import{a as b,b as g}from"./RAA7AM6M.js";import{a as f}from"./MYKRE5QO.js";import{a as h,b as p}from"./WACTC6C2.js";import{e as m}from"./FE2QRVI7.js";import{b as u}from"./7VOKVNOX.js";import"./7LGBDOYP.js";import{C as r,J as d,e as c,f as o,j as s,w as a,x as i}from"./IPEYLL4T.js";var e={contentCell:"content-cell",numberCell:"number-cell",footerCell:"footer-cell",selectionCell:"selection-cell",selectedCell:"selected-cell",assistiveText:"assistive-text",lastCell:"last-cell",staticCell:"static-cell"},C=c`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{--calcite-internal-table-cell-background: var(--calcite-table-cell-background, transparent);display:contents}:host([alignment=center]) td:not(.selection-cell):not(.number-cell){text-align:center}:host([alignment=end]) td:not(.selection-cell):not(.number-cell){text-align:end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}td{white-space:normal;text-align:start;vertical-align:middle;color:var(--calcite-color-text-1);background:var(--calcite-internal-table-cell-background);font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-color-border-3);padding:var(--calcite-internal-table-cell-padding)}td:not(.static-cell){outline-color:transparent}td:not(.static-cell):focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}td.start.content-cell{vertical-align:top}td.end.content-cell{vertical-align:bottom}td.last-cell{border-inline-end:0}.number-cell{background-color:var(--calcite-color-foreground-2)}.footer-cell{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);border-block-start:1px solid var(--calcite-color-border-3)}.number-cell,.selection-cell{text-align:center;border-inline-end:1px solid var(--calcite-color-border-3);inline-size:2rem;min-inline-size:2rem}.selection-cell{color:var(--calcite-color-text-3);inset-inline-start:2rem}.selection-cell:not(.footer-cell){cursor:pointer}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-internal-table-cell-background: var(--calcite-color-foreground-current)}.selection-cell.selected-cell{box-shadow:inset .25rem 0 0 0 var(--calcite-color-brand);color:var(--calcite-color-brand)}.selection-cell.selected-cell calcite-icon{color:var(--calcite-color-brand)}.calcite--rtl.selection-cell.selected-cell{box-shadow:inset -.25rem 0 0 0 var(--calcite-color-brand)}.selection-cell{vertical-align:middle}.selection-cell ::slotted(calcite-icon){pointer-events:none;margin-block-start:.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,n=class extends a{constructor(){super(...arguments),this.containerEl=h(),this.contentsText="",this.focused=!1,this.selectionText="",this.alignment="start",this.interactionMode="interactive",this.messages=f(),this.parentRowAlignment="start",this.scale="m"}static{this.properties={contentsText:16,focused:16,selectionText:16,alignment:3,colSpan:11,disabled:5,interactionMode:1,lastCell:5,messageOverrides:0,numberCell:5,parentRowAlignment:1,parentRowIsSelected:5,parentRowPositionLocalized:1,parentRowType:1,positionInRow:9,readCellContentsToAT:5,rowSpan:11,scale:1,selectionCell:5}}static{this.styles=C}async setFocus(){await u(this),this.containerEl.value.focus()}async load(){this.updateScreenReaderContentsText(),this.updateScreenReaderSelectionText()}willUpdate(t){t.has("parentRowIsSelected")&&this.updateScreenReaderSelectionText()}updated(){b(this)}loaded(){}updateScreenReaderSelectionText(){let t=`${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.selected} ${this.messages?.keyboardDeselect}`,l=`${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.unselected} ${this.messages?.keyboardSelect}`;this.selectionText=this.parentRowIsSelected?t:l}updateScreenReaderContentsText(){this.contentsText=this.el.textContent}onContainerBlur(){this.focused=!1}onContainerFocus(){this.focused=!0}render(){let t=m(this.el),l=this.disabled||this.interactionMode==="static"&&(!this.selectionCell||this.selectionCell&&this.parentRowType==="foot");return g({disabled:this.disabled,children:o`<td class=${i({[e.footerCell]:this.parentRowType==="foot",[e.contentCell]:!this.numberCell&&!this.selectionCell,[e.numberCell]:this.numberCell,[e.selectionCell]:this.selectionCell,[e.selectedCell]:this.parentRowIsSelected,[e.lastCell]:this.lastCell&&(!this.rowSpan||this.colSpan&&!!this.rowSpan),[r.rtl]:t==="rtl",[e.staticCell]:l,[this.parentRowAlignment]:this.parentRowAlignment==="start"||this.parentRowAlignment==="end"})} colSpan=${this.colSpan??s} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} .role=${this.interactionMode==="interactive"?"gridcell":"cell"} rowSpan=${this.rowSpan??s} .tabIndex=${l?-1:0} ${p(this.containerEl)}>${(this.selectionCell||this.readCellContentsToAT)&&o`<span .ariaLive=${this.focused?"polite":"off"} class=${i(e.assistiveText)}>${this.selectionCell&&this.selectionText||""}${this.readCellContentsToAT&&!this.selectionCell&&this.contentsText||""}</span>`||""}<slot @slotchange=${this.updateScreenReaderContentsText}></slot></td>`})}};d("calcite-table-cell",n);export{n as TableCell};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{b as n,c as v}from"./G7WFYVUC.js";import{a as k,b as g}from"./LOZEGKG2.js";import{b as u}from"./QU33PBBI.js";import{e as b,l as m}from"./CMO3X257.js";import{b as f}from"./GN5CPLSJ.js";import"./I2OIH73C.js";import{B as d,C as h,J as p,e as l,f as o,w as r,x as c,z as e}from"./KVSCG5E3.js";var R=l`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0;border-style:none;font-family:inherit;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform,background-size;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;margin-block-start:-.25em}:host .calcite-link--icon.icon-start{margin-inline-end:.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0;color:var(--calcite-link-text-color, var(--calcite-color-text-link));line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px,100% 1px}:host span:active,:host a:active{background-size:100% 2px,100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%,100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends r{constructor(){super(),this.disabled=!1,this.download=!1,this.listen("click",this.clickHandler)}static{this.properties={disabled:7,download:[3,{converter:d}],href:3,iconEnd:3,iconFlipRtl:3,iconStart:3,rel:1,target:1}}static{this.styles=R}async setFocus(){await f(this),m(this.childEl)}load(){}updated(){k(this)}loaded(){}clickHandler(i){this.disabled||i.isTrusted||this.childEl.click()}childElClickHandler(i){i.isTrusted||i.stopPropagation()}storeTagRef(i){this.childEl=i}render(){let{download:i,el:y}=this,x=b(y),t=this.href?"a":"span",$=o`<calcite-icon class="calcite-link--icon icon-start" .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} scale=s></calcite-icon>`,z=o`<calcite-icon class="calcite-link--icon icon-end" .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} scale=s></calcite-icon>`,s=t==="span"?n`span`:n`a`,w=t==="span"?"link":null,E=t==="span"?0:null;return this.el.role="presentation",g({disabled:this.disabled,children:v`<${s} class=${c({[h.rtl]:x==="rtl"})} download=${(t==="a"?i===!0||i===""?"":i||null:null)??e} href=${(t==="a"&&this.href)??e} @click=${this.childElClickHandler} rel=${(t==="a"&&this.rel)??e} .role=${w} tabindex=${E??e} target=${(t==="a"&&this.target)??e} ${u(this.storeTagRef)}>${o`${this.iconStart?$:null}<slot></slot>${this.iconEnd?z:null}`}</${s}>`})}};p("calcite-link",a);export{a as Link};
3
+ v3.1.0-next.0 */
4
+ import{b as n,c as v}from"./OLXJRGIR.js";import{a as k,b as g}from"./RAA7AM6M.js";import{b as u}from"./WACTC6C2.js";import{e as b,l as m}from"./FE2QRVI7.js";import{b as f}from"./7VOKVNOX.js";import"./7LGBDOYP.js";import{B as d,C as h,J as p,e as l,f as o,w as r,x as c,z as e}from"./IPEYLL4T.js";var R=l`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0;border-style:none;font-family:inherit;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform,background-size;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;margin-block-start:-.25em}:host .calcite-link--icon.icon-start{margin-inline-end:.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0;color:var(--calcite-link-text-color, var(--calcite-color-text-link));line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px,100% 1px}:host span:active,:host a:active{background-size:100% 2px,100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%,100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends r{constructor(){super(),this.disabled=!1,this.download=!1,this.listen("click",this.clickHandler)}static{this.properties={disabled:7,download:[3,{converter:d}],href:3,iconEnd:3,iconFlipRtl:3,iconStart:3,rel:1,target:1}}static{this.styles=R}async setFocus(){await f(this),m(this.childEl)}load(){}updated(){k(this)}loaded(){}clickHandler(i){this.disabled||i.isTrusted||this.childEl.click()}childElClickHandler(i){i.isTrusted||i.stopPropagation()}storeTagRef(i){this.childEl=i}render(){let{download:i,el:y}=this,x=b(y),t=this.href?"a":"span",$=o`<calcite-icon class="calcite-link--icon icon-start" .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} scale=s></calcite-icon>`,z=o`<calcite-icon class="calcite-link--icon icon-end" .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} scale=s></calcite-icon>`,s=t==="span"?n`span`:n`a`,w=t==="span"?"link":null,E=t==="span"?0:null;return this.el.role="presentation",g({disabled:this.disabled,children:v`<${s} class=${c({[h.rtl]:x==="rtl"})} download=${(t==="a"?i===!0||i===""?"":i||null:null)??e} href=${(t==="a"&&this.href)??e} @click=${this.childElClickHandler} rel=${(t==="a"&&this.rel)??e} .role=${w} tabindex=${E??e} target=${(t==="a"&&this.target)??e} ${u(this.storeTagRef)}>${o`${this.iconStart?$:null}<slot></slot>${this.iconEnd?z:null}`}</${s}>`})}};p("calcite-link",a);export{a as Link};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{a as n}from"./CIV3PH3Z.js";import{u as l,v as r}from"./CMO3X257.js";import"./I2OIH73C.js";import{J as f,e as w,f as t,w as $,x as i}from"./KVSCG5E3.js";var v=w`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing: 26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto;justify-content:space-between}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0;border-width:0px;z-index:calc(var(--calcite-z-index) - 1);display:initial}.content--non-interactive{pointer-events:none;display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-start]::slotted(calcite-shell-panel),slot[name=panel-end]::slotted(calcite-shell-panel){position:relative;z-index:calc(var(--calcite-z-index) + 1)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-color-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}.content-bottom{justify-content:flex-end}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:.25rem;--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);inset-block-end:.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}slot[name=modals]::slotted(calcite-modal){position:absolute}:host([hidden]){display:none}[hidden]{display:none}`,s={main:"main",content:"content",contentBehind:"content--behind",contentBottom:"content-bottom",contentNonInteractive:"content--non-interactive",footer:"footer",positionedSlotWrapper:"positioned-slot-wrapper",contentBehindCenterContent:"center-content"},a={centerRow:"center-row",panelStart:"panel-start",panelEnd:"panel-end",panelTop:"panel-top",panelBottom:"panel-bottom",header:"header",footer:"footer",alerts:"alerts",sheets:"sheets",modals:"modals",dialogs:"dialogs"},d=class extends ${constructor(){super(),this.hasAlerts=!1,this.hasDialogs=!1,this.hasFooter=!1,this.hasHeader=!1,this.hasModals=!1,this.hasOnlyPanelBottom=!1,this.hasPanelBottom=!1,this.hasPanelTop=!1,this.hasSheets=!1,this.panelIsResizing=!1,this.contentBehind=!1,this.listen("calciteInternalShellPanelResizeStart",this.handleCalciteInternalShellPanelResizeStart),this.listen("calciteInternalShellPanelResizeEnd",this.handleCalciteInternalShellPanelResizeEnd)}static{this.properties={hasAlerts:16,hasDialogs:16,hasFooter:16,hasHeader:16,hasModals:16,hasOnlyPanelBottom:16,hasPanelBottom:16,hasPanelTop:16,hasSheets:16,panelIsResizing:16,contentBehind:7}}static{this.styles=v}willUpdate(e){(e.has("hasPanelTop")&&(this.hasUpdated||this.hasPanelTop!==!1)||e.has("hasPanelBottom")&&(this.hasUpdated||this.hasPanelBottom!==!1))&&(this.hasOnlyPanelBottom=!this.hasPanelTop&&this.hasPanelBottom)}handleCalciteInternalShellPanelResizeStart(e){this.panelIsResizing=!0,e.stopPropagation()}handleCalciteInternalShellPanelResizeEnd(e){this.panelIsResizing=!1,e.stopPropagation()}handleHeaderSlotChange(e){this.hasHeader=!!l(e)}handleFooterSlotChange(e){this.hasFooter=!!l(e)}handleAlertsSlotChange(e){this.hasAlerts=!!l(e),r(e)?.map(o=>{o.tagName==="CALCITE-ALERT"&&(o.embedded=!0)})}handleSheetsSlotChange(e){this.hasSheets=!!l(e),r(e)?.map(o=>{o.tagName==="CALCITE-SHEET"&&(o.embedded=!0)})}handleModalsSlotChange(e){this.hasModals=!!l(e)}handlePanelTopChange(e){this.hasPanelTop=l(e)}handlePanelBottomChange(e){this.hasPanelBottom=l(e)}handleDialogsSlotChange(e){this.hasDialogs=!!l(e),r(e)?.map(o=>{o.tagName==="CALCITE-DIALOG"&&(o.embedded=!0)})}renderHeader(){return t`<div .hidden=${!this.hasHeader}>${n("header",t`<slot name=${a.header} @slotchange=${this.handleHeaderSlotChange}></slot>`)}</div>`}renderFooter(){return n("footer",t`<div class=${i(s.footer)} .hidden=${!this.hasFooter}><slot name=${a.footer} @slotchange=${this.handleFooterSlotChange}></slot></div>`)}renderAlerts(){return t`<div .hidden=${!this.hasAlerts}>${n("alerts",t`<slot name=${a.alerts} @slotchange=${this.handleAlertsSlotChange}></slot>`)}</div>`}renderSheets(){return t`<div .hidden=${!this.hasSheets}>${n("sheets",t`<slot name=${a.sheets} @slotchange=${this.handleSheetsSlotChange}></slot>`)}</div>`}renderModals(){return t`<div .hidden=${!this.hasModals}>${n("modals",t`<slot name=${a.modals} @slotchange=${this.handleModalsSlotChange}></slot>`)}</div>`}renderDialogs(){return t`<div .hidden=${!this.hasDialogs}>${n("dialogs",t`<slot name=${a.dialogs} @slotchange=${this.handleDialogsSlotChange}></slot>`)}</div>`}renderContent(){let{panelIsResizing:e}=this,o=n("default-slot",t`<slot></slot>`),h=e?t`<div class=${i(s.contentNonInteractive)}>${o}</div>`:o,c=n("center-row-slot",t`<slot name=${a.centerRow}></slot>`),p=n("panel-bottom-slot",t`<slot name=${a.panelBottom} @slotchange=${this.handlePanelBottomChange}></slot>`),m=n("panel-top-slot",t`<slot name=${a.panelTop} @slotchange=${this.handlePanelTopChange}></slot>`),g="content-container";return this.contentBehind?[n(g,t`<div class=${i({[s.content]:!0,[s.contentBehind]:!0})}>${h}</div>`),t`<div class=${i({[s.contentBehindCenterContent]:!0,[s.contentBottom]:this.hasOnlyPanelBottom})}>${m}${p}${c}</div>`]:[n(g,t`<div class=${i({[s.content]:!0,[s.contentBottom]:this.hasOnlyPanelBottom})}>${m}${h}${p}${c}</div>`)]}renderMain(){return t`<div class=${i(s.main)}><slot name=${a.panelStart}></slot>${this.renderContent()}<slot name=${a.panelEnd}></slot></div>`}renderPositionedSlots(){return t`<div class=${i(s.positionedSlotWrapper)}>${this.renderAlerts()}${this.renderModals()}${this.renderDialogs()}${this.renderSheets()}</div>`}render(){return t`${this.renderHeader()}${this.renderMain()}${this.renderFooter()}${this.renderPositionedSlots()}`}};f("calcite-shell",d);export{d as Shell};
3
+ v3.1.0-next.0 */
4
+ import{a as n}from"./CQ5FVCCX.js";import{u as l,v as r}from"./FE2QRVI7.js";import"./7LGBDOYP.js";import{J as f,e as w,f as t,w as $,x as i}from"./IPEYLL4T.js";var v=w`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing: 26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto;justify-content:space-between}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0;border-width:0px;z-index:calc(var(--calcite-z-index) - 1);display:initial}.content--non-interactive{pointer-events:none;display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-start]::slotted(calcite-shell-panel),slot[name=panel-end]::slotted(calcite-shell-panel){position:relative;z-index:calc(var(--calcite-z-index) + 1)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-color-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}.content-bottom{justify-content:flex-end}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:.25rem;--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);inset-block-end:.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}slot[name=modals]::slotted(calcite-modal){position:absolute}:host([hidden]){display:none}[hidden]{display:none}`,s={main:"main",content:"content",contentBehind:"content--behind",contentBottom:"content-bottom",contentNonInteractive:"content--non-interactive",footer:"footer",positionedSlotWrapper:"positioned-slot-wrapper",contentBehindCenterContent:"center-content"},a={centerRow:"center-row",panelStart:"panel-start",panelEnd:"panel-end",panelTop:"panel-top",panelBottom:"panel-bottom",header:"header",footer:"footer",alerts:"alerts",sheets:"sheets",modals:"modals",dialogs:"dialogs"},d=class extends ${constructor(){super(),this.hasAlerts=!1,this.hasDialogs=!1,this.hasFooter=!1,this.hasHeader=!1,this.hasModals=!1,this.hasOnlyPanelBottom=!1,this.hasPanelBottom=!1,this.hasPanelTop=!1,this.hasSheets=!1,this.panelIsResizing=!1,this.contentBehind=!1,this.listen("calciteInternalShellPanelResizeStart",this.handleCalciteInternalShellPanelResizeStart),this.listen("calciteInternalShellPanelResizeEnd",this.handleCalciteInternalShellPanelResizeEnd)}static{this.properties={hasAlerts:16,hasDialogs:16,hasFooter:16,hasHeader:16,hasModals:16,hasOnlyPanelBottom:16,hasPanelBottom:16,hasPanelTop:16,hasSheets:16,panelIsResizing:16,contentBehind:7}}static{this.styles=v}willUpdate(e){(e.has("hasPanelTop")&&(this.hasUpdated||this.hasPanelTop!==!1)||e.has("hasPanelBottom")&&(this.hasUpdated||this.hasPanelBottom!==!1))&&(this.hasOnlyPanelBottom=!this.hasPanelTop&&this.hasPanelBottom)}handleCalciteInternalShellPanelResizeStart(e){this.panelIsResizing=!0,e.stopPropagation()}handleCalciteInternalShellPanelResizeEnd(e){this.panelIsResizing=!1,e.stopPropagation()}handleHeaderSlotChange(e){this.hasHeader=!!l(e)}handleFooterSlotChange(e){this.hasFooter=!!l(e)}handleAlertsSlotChange(e){this.hasAlerts=!!l(e),r(e)?.map(o=>{o.tagName==="CALCITE-ALERT"&&(o.embedded=!0)})}handleSheetsSlotChange(e){this.hasSheets=!!l(e),r(e)?.map(o=>{o.tagName==="CALCITE-SHEET"&&(o.embedded=!0)})}handleModalsSlotChange(e){this.hasModals=!!l(e)}handlePanelTopChange(e){this.hasPanelTop=l(e)}handlePanelBottomChange(e){this.hasPanelBottom=l(e)}handleDialogsSlotChange(e){this.hasDialogs=!!l(e),r(e)?.map(o=>{o.tagName==="CALCITE-DIALOG"&&(o.embedded=!0)})}renderHeader(){return t`<div .hidden=${!this.hasHeader}>${n("header",t`<slot name=${a.header} @slotchange=${this.handleHeaderSlotChange}></slot>`)}</div>`}renderFooter(){return n("footer",t`<div class=${i(s.footer)} .hidden=${!this.hasFooter}><slot name=${a.footer} @slotchange=${this.handleFooterSlotChange}></slot></div>`)}renderAlerts(){return t`<div .hidden=${!this.hasAlerts}>${n("alerts",t`<slot name=${a.alerts} @slotchange=${this.handleAlertsSlotChange}></slot>`)}</div>`}renderSheets(){return t`<div .hidden=${!this.hasSheets}>${n("sheets",t`<slot name=${a.sheets} @slotchange=${this.handleSheetsSlotChange}></slot>`)}</div>`}renderModals(){return t`<div .hidden=${!this.hasModals}>${n("modals",t`<slot name=${a.modals} @slotchange=${this.handleModalsSlotChange}></slot>`)}</div>`}renderDialogs(){return t`<div .hidden=${!this.hasDialogs}>${n("dialogs",t`<slot name=${a.dialogs} @slotchange=${this.handleDialogsSlotChange}></slot>`)}</div>`}renderContent(){let{panelIsResizing:e}=this,o=n("default-slot",t`<slot></slot>`),h=e?t`<div class=${i(s.contentNonInteractive)}>${o}</div>`:o,c=n("center-row-slot",t`<slot name=${a.centerRow}></slot>`),p=n("panel-bottom-slot",t`<slot name=${a.panelBottom} @slotchange=${this.handlePanelBottomChange}></slot>`),m=n("panel-top-slot",t`<slot name=${a.panelTop} @slotchange=${this.handlePanelTopChange}></slot>`),g="content-container";return this.contentBehind?[n(g,t`<div class=${i({[s.content]:!0,[s.contentBehind]:!0})}>${h}</div>`),t`<div class=${i({[s.contentBehindCenterContent]:!0,[s.contentBottom]:this.hasOnlyPanelBottom})}>${m}${p}${c}</div>`]:[n(g,t`<div class=${i({[s.content]:!0,[s.contentBottom]:this.hasOnlyPanelBottom})}>${m}${h}${p}${c}</div>`)]}renderMain(){return t`<div class=${i(s.main)}><slot name=${a.panelStart}></slot>${this.renderContent()}<slot name=${a.panelEnd}></slot></div>`}renderPositionedSlots(){return t`<div class=${i(s.positionedSlotWrapper)}>${this.renderAlerts()}${this.renderModals()}${this.renderDialogs()}${this.renderSheets()}</div>`}render(){return t`${this.renderHeader()}${this.renderMain()}${this.renderFooter()}${this.renderPositionedSlots()}`}};f("calcite-shell",d);export{d as Shell};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.0.0 */
4
- import{h as R,k as f}from"./KBDXI6DJ.js";import{c as S,e as F,f as I}from"./DTL2LM6T.js";import{a as g}from"./CIV3PH3Z.js";import"./UELGJSYH.js";import{a as V}from"./CNO6NFH5.js";import{a as M}from"./ARHYATTG.js";import{a as p,b as m}from"./QU33PBBI.js";import{q as C}from"./CMO3X257.js";import"./I2OIH73C.js";import{J as T,e as z,f as h,w as E,x as d,y as u}from"./KVSCG5E3.js";var s={container:"container",fill:"fill",stepLine:"step-line",label:"label",labelHidden:"label-hidden",labelRange:"label-range",labelValue:"label-value",unitLabel:"unit-label",stepsVisible:"steps-visible",valueVisible:"value-visible",success:"fill-success",warning:"fill-warning",danger:"fill-danger"},A=z`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host{display:flex;--calcite-meter-space-internal: .125rem;--calcite-meter-height-internal: 1rem;--calcite-meter-font-size-internal: var(--calcite-font-size--1)}:host([scale=s]){--calcite-meter-height-internal: .75rem;--calcite-meter-font-size-internal: var(--calcite-font-size--2)}:host([scale=l]){--calcite-meter-height-internal: 1.5rem;--calcite-meter-font-size-internal: var(--calcite-font-size-0)}.container{position:relative;margin:0;display:flex;inline-size:100%;align-items:center;block-size:var(--calcite-meter-height-internal);background-color:var(--calcite-color-foreground-2);border:1px solid var(--calcite-color-border-3);border-radius:var(--calcite-meter-height-internal)}.solid{border:1px solid var(--calcite-color-foreground-3);background-color:var(--calcite-color-foreground-3)}.outline{background-color:transparent}.value-visible{margin-block-start:1.5rem}.steps-visible{margin-block-end:1.5rem}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-meter-space-internal);background-color:var(--calcite-color-border-3)}.label{position:absolute;font-size:var(--calcite-meter-font-size-internal)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + .5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.label-range{color:var(--calcite-color-text-3);inset-block-start:calc(100% + .5em)}.unit-label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3)}.label-value .unit-label{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;background-color:var(--calcite-color-brand);transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);inset-inline-start:var(--calcite-meter-space-internal);inset-block:var(--calcite-meter-space-internal);border-radius:var(--calcite-meter-height-internal);max-inline-size:calc(100% - var(--calcite-meter-space-internal) * 2);min-inline-size:calc(var(--calcite-meter-height-internal) - var(--calcite-meter-space-internal) * 2);transition-property:inline-size,background-color,box-shadow}.fill-danger{background-color:var(--calcite-color-status-danger)}.fill-success{background-color:var(--calcite-color-status-success)}.fill-warning{background-color:var(--calcite-color-status-warning)}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-meter-height-internal));box-shadow:0 0 0 1px var(--calcite-color-brand)}.solid .fill-danger{box-shadow:0 0 0 1px var(--calcite-color-status-danger)}.solid .fill-success{box-shadow:0 0 0 1px var(--calcite-color-status-success)}.solid .fill-warning{box-shadow:0 0 0 1px var(--calcite-color-status-warning)}@media (forced-colors: active){.fill,.fill-danger,.fill-success,.fill-warning{background-color:Highlight}}`,$=class extends E{constructor(){super(...arguments),this.highLabelEl=p(),this.labelFlipMax=.8,this.labelFlipProximity=.15,this.lowLabelEl=p(),this.maxLabelEl=p(),this.maxPercent=100,this.messages=M({name:null}),this.meterContainerEl=p(),this.minLabelEl=p(),this.minPercent=0,this.resizeObserver=V("resize",()=>this.resizeHandler()),this.valueLabelEl=p(),this.appearance="outline-fill",this.disabled=!1,this.fillType="range",this.groupSeparator=!1,this.max=100,this.min=0,this.rangeLabelType="percent",this.rangeLabels=!1,this.scale="m",this.unitLabel="",this.valueLabel=!1,this.valueLabelType="percent"}static{this.properties={currentPercent:16,highActive:16,highPercent:16,lowActive:16,lowPercent:16,appearance:3,disabled:7,fillType:3,form:3,groupSeparator:7,high:11,label:1,low:11,max:11,min:11,name:3,numberingSystem:1,rangeLabelType:3,rangeLabels:7,scale:3,unitLabel:1,value:9,valueLabel:7,valueLabelType:3}}static{this.styles=A}connectedCallback(){super.connectedCallback(),S(this),this.resizeObserver?.observe(this.el)}load(){this.calculateValues(),I(this,this.value)}willUpdate(e){(e.has("min")&&(this.hasUpdated||this.min!==0)||e.has("max")&&(this.hasUpdated||this.max!==100)||e.has("low")||e.has("high")||e.has("value"))&&this.handleRangeChange(),(e.has("rangeLabels")&&(this.hasUpdated||this.rangeLabels!==!1)||e.has("rangeLabelType")&&(this.hasUpdated||this.rangeLabelType!=="percent")||e.has("unitLabel")&&(this.hasUpdated||this.unitLabel!=="")||e.has("valueLabel")&&(this.hasUpdated||this.valueLabel!==!1)||e.has("valueLabelType")&&(this.hasUpdated||this.valueLabelType!=="percent"))&&this.updateLabels()}loaded(){this.updateLabels()}disconnectedCallback(){super.disconnectedCallback(),F(this),this.resizeObserver?.disconnect()}handleRangeChange(){this.calculateValues(),this.updateLabels()}resizeHandler(){this.updateLabels()}updateLabels(){this.valueLabelEl.value&&this.determineValueLabelPosition(),this.rangeLabels&&this.determineVisibleLabels()}calculateValues(){let{min:e,max:a,low:t,high:i,value:l}=this,n=100*(t-e)/(a-e),r=100*(i-e)/(a-e),c=100*(l-e)/(a-e);(!t||t<e||t>i||t>a)&&(this.low=e),(!i||i>a||i<t||i<e)&&(this.high=a),l||(this.value=e),this.lowPercent=n,this.highPercent=r,this.currentPercent=l?c:0,this.lowActive=!!t&&t>e&&(!l||t>l)&&(!i||t<i),this.highActive=!!i&&e<=i&&i<a&&(!l||i>l)&&(!t||i>t)}formatLabel(e,a){if(a==="percent"){if(!this.percentFormatting){let t=R(this.messages._lang),i=new Intl.NumberFormat(t,{useGrouping:this.groupSeparator,style:"percent"});this.percentFormatting={formatter:i,locale:t}}return this.percentFormatting.formatter.format(e)}else return f.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},f.localize(e.toString())}getMeterKindCssClass(){let{low:e,high:a,min:t,max:i,value:l}=this,n=e||t,r=a||i,c=l>=n,b=l<n,v=l>=r,o=l<r;return!l||!e&&o||b?s.success:c&&o?s.warning:v?s.danger:s.success}intersects(e,a){return e&&a&&C(e.getBoundingClientRect(),a.getBoundingClientRect())}determineVisibleLabels(){let{minLabelEl:{value:e},lowLabelEl:{value:a},highLabelEl:{value:t},maxLabelEl:{value:i}}=this,l=this.intersects(t,i),n=this.intersects(a,t),r=this.intersects(a,i),c=this.intersects(e,t),b=this.intersects(e,a),v=this.intersects(e,i),o=s.labelHidden;a&&(b||r||n?a.classList.add(o):a.classList.remove(o)),t&&(c||r||l?t.classList.add(o):t.classList.remove(o)),e&&i&&(v?i.classList.add(o):i.classList.remove(o))}determineValueLabelPosition(){let{valueLabelEl:{value:e},meterContainerEl:{value:a},currentPercent:t}=this,i=t>100?100:t>0?t:0,l=e.getBoundingClientRect().width,n=a.getBoundingClientRect().width,r=100*(l-0)/(n-0);i+r>=100?(e.style.insetInlineEnd="0%",e.style.removeProperty("inset-inline-start")):(e.style.insetInlineStart=`${i}% `,e.style.removeProperty("inset-inline-end"))}renderMeterFill(){let{currentPercent:e,fillType:a}=this,t=this.getMeterKindCssClass();return h`<div class=${d({[s.fill]:!0,[t]:a!=="single"})} style=${u({width:`${e}%`})}></div>`}renderRangeLine(e){let a={insetInlineStart:`${e}%`};return h`<div class=${d(s.stepLine)} style=${u(a)}></div>`}renderValueLabel(){let{currentPercent:e,valueLabelType:a,unitLabel:t,value:i}=this,l=this.formatLabel(a==="percent"?e/100:i||0,a);return g("low-label-line",h`<div class=${d({[s.label]:!0,[s.labelValue]:!0})} ${m(this.valueLabelEl)}>${l}${t&&a!=="percent"&&h`<span class=${d(s.unitLabel)}>&nbsp;${t}</span>`||""}</div>`)}renderMinLabel(){let{rangeLabelType:e,min:a,minPercent:t,unitLabel:i}=this,l={insetInlineStart:`${t}%`},n=this.formatLabel(e==="percent"?t:a,e);return g("min-label-line",h`<div class=${d({[s.label]:!0,[s.labelRange]:!0})} style=${u(l)} ${m(this.minLabelEl)}>${n}${i&&e!=="percent"&&h`<span class=${d(s.unitLabel)}>&nbsp;${i}</span>`||""}</div>`)}renderLowLabel(){let{rangeLabelType:e,low:a,lowPercent:t,highPercent:i,labelFlipProximity:l}=this,n=a?this.formatLabel(e==="percent"?t/100:a,e):"",r={insetInlineStart:`${t}%`},c={insetInlineEnd:`${100-t}%`},b=(i-t)/100<l?c:r;return g("low-label-line",h`<div class=${d({[s.label]:!0,[s.labelRange]:!0})} style=${u(b)} ${m(this.lowLabelEl)}>${n}</div>`)}renderHighLabel(){let{rangeLabelType:e,high:a,highPercent:t,labelFlipMax:i}=this,l=a?this.formatLabel(e==="percent"?t/100:a,e):"",n={insetInlineStart:`${t}%`},r={insetInlineEnd:`${100-t}%`},c=t/100>=i?r:n;return g("high-label-line",h`<div class=${d({[s.label]:!0,[s.labelRange]:!0})} style=${u(c)} ${m(this.highLabelEl)}>${l}</div>`)}renderMaxLabel(){let{rangeLabelType:e,max:a,maxPercent:t}=this,i={insetInlineEnd:`${100-t}%`},l=this.formatLabel(e==="percent"?t/100:a,e);return g("max-label-line",h`<div class=${d({[s.label]:!0,[s.labelRange]:!0})} style=${u(i)} ${m(this.maxLabelEl)}>${l}</div>`)}render(){let{appearance:e,currentPercent:a,highActive:t,highPercent:i,label:l,lowActive:n,lowPercent:r,max:c,maxPercent:b,min:v,minPercent:o,rangeLabels:L,rangeLabelType:y,unitLabel:x,value:w,valueLabel:P,valueLabelType:k}=this,H=this.formatLabel(a/100,"percent"),U=`${w} ${x}`;return h`<div .ariaLabel=${l} .ariaValueMax=${y==="percent"?b:c} .ariaValueMin=${y==="percent"?o:v} .ariaValueNow=${k==="percent"?a:w} .ariaValueText=${k==="percent"?H:x?U:void 0} class=${d({[s.container]:!0,[s.stepsVisible]:L,[s.valueVisible]:P,[e]:e!=="outline-fill"})} role=meter ${m(this.meterContainerEl)}>${this.renderMeterFill()}${P&&this.renderValueLabel()||""}${n&&this.renderRangeLine(r)||""}${t&&this.renderRangeLine(i)||""}${L&&this.renderMinLabel()||""}${L&&n&&this.renderLowLabel()||""}${L&&t&&this.renderHighLabel()||""}${L&&this.renderMaxLabel()||""}</div>`}};T("calcite-meter",$);export{$ as Meter};
3
+ v3.1.0-next.0 */
4
+ import{h as R,k as f}from"./6I7N4DJM.js";import{c as S,e as F,f as I}from"./YYWIZXXK.js";import{a as g}from"./CQ5FVCCX.js";import"./YSGHAVSA.js";import{a as V}from"./R3FLP5QS.js";import{a as M}from"./MYKRE5QO.js";import{a as p,b as m}from"./WACTC6C2.js";import{q as C}from"./FE2QRVI7.js";import"./7LGBDOYP.js";import{J as T,e as z,f as h,w as E,x as d,y as u}from"./IPEYLL4T.js";var s={container:"container",fill:"fill",stepLine:"step-line",label:"label",labelHidden:"label-hidden",labelRange:"label-range",labelValue:"label-value",unitLabel:"unit-label",stepsVisible:"steps-visible",valueVisible:"value-visible",success:"fill-success",warning:"fill-warning",danger:"fill-danger"},A=z`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host{display:flex;--calcite-meter-space-internal: .125rem;--calcite-meter-height-internal: 1rem;--calcite-meter-font-size-internal: var(--calcite-font-size--1)}:host([scale=s]){--calcite-meter-height-internal: .75rem;--calcite-meter-font-size-internal: var(--calcite-font-size--2)}:host([scale=l]){--calcite-meter-height-internal: 1.5rem;--calcite-meter-font-size-internal: var(--calcite-font-size-0)}.container{position:relative;margin:0;display:flex;inline-size:100%;align-items:center;block-size:var(--calcite-meter-height-internal);background-color:var(--calcite-color-foreground-2);border:1px solid var(--calcite-color-border-3);border-radius:var(--calcite-meter-height-internal)}.solid{border:1px solid var(--calcite-color-foreground-3);background-color:var(--calcite-color-foreground-3)}.outline{background-color:transparent}.value-visible{margin-block-start:1.5rem}.steps-visible{margin-block-end:1.5rem}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-meter-space-internal);background-color:var(--calcite-color-border-3)}.label{position:absolute;font-size:var(--calcite-meter-font-size-internal)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + .5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.label-range{color:var(--calcite-color-text-3);inset-block-start:calc(100% + .5em)}.unit-label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3)}.label-value .unit-label{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;background-color:var(--calcite-color-brand);transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);inset-inline-start:var(--calcite-meter-space-internal);inset-block:var(--calcite-meter-space-internal);border-radius:var(--calcite-meter-height-internal);max-inline-size:calc(100% - var(--calcite-meter-space-internal) * 2);min-inline-size:calc(var(--calcite-meter-height-internal) - var(--calcite-meter-space-internal) * 2);transition-property:inline-size,background-color,box-shadow}.fill-danger{background-color:var(--calcite-color-status-danger)}.fill-success{background-color:var(--calcite-color-status-success)}.fill-warning{background-color:var(--calcite-color-status-warning)}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-meter-height-internal));box-shadow:0 0 0 1px var(--calcite-color-brand)}.solid .fill-danger{box-shadow:0 0 0 1px var(--calcite-color-status-danger)}.solid .fill-success{box-shadow:0 0 0 1px var(--calcite-color-status-success)}.solid .fill-warning{box-shadow:0 0 0 1px var(--calcite-color-status-warning)}@media (forced-colors: active){.fill,.fill-danger,.fill-success,.fill-warning{background-color:Highlight}}`,$=class extends E{constructor(){super(...arguments),this.highLabelEl=p(),this.labelFlipMax=.8,this.labelFlipProximity=.15,this.lowLabelEl=p(),this.maxLabelEl=p(),this.maxPercent=100,this.messages=M({name:null}),this.meterContainerEl=p(),this.minLabelEl=p(),this.minPercent=0,this.resizeObserver=V("resize",()=>this.resizeHandler()),this.valueLabelEl=p(),this.appearance="outline-fill",this.disabled=!1,this.fillType="range",this.groupSeparator=!1,this.max=100,this.min=0,this.rangeLabelType="percent",this.rangeLabels=!1,this.scale="m",this.unitLabel="",this.valueLabel=!1,this.valueLabelType="percent"}static{this.properties={currentPercent:16,highActive:16,highPercent:16,lowActive:16,lowPercent:16,appearance:3,disabled:7,fillType:3,form:3,groupSeparator:7,high:11,label:1,low:11,max:11,min:11,name:3,numberingSystem:1,rangeLabelType:3,rangeLabels:7,scale:3,unitLabel:1,value:9,valueLabel:7,valueLabelType:3}}static{this.styles=A}connectedCallback(){super.connectedCallback(),S(this),this.resizeObserver?.observe(this.el)}load(){this.calculateValues(),I(this,this.value)}willUpdate(e){(e.has("min")&&(this.hasUpdated||this.min!==0)||e.has("max")&&(this.hasUpdated||this.max!==100)||e.has("low")||e.has("high")||e.has("value"))&&this.handleRangeChange(),(e.has("rangeLabels")&&(this.hasUpdated||this.rangeLabels!==!1)||e.has("rangeLabelType")&&(this.hasUpdated||this.rangeLabelType!=="percent")||e.has("unitLabel")&&(this.hasUpdated||this.unitLabel!=="")||e.has("valueLabel")&&(this.hasUpdated||this.valueLabel!==!1)||e.has("valueLabelType")&&(this.hasUpdated||this.valueLabelType!=="percent"))&&this.updateLabels()}loaded(){this.updateLabels()}disconnectedCallback(){super.disconnectedCallback(),F(this),this.resizeObserver?.disconnect()}handleRangeChange(){this.calculateValues(),this.updateLabels()}resizeHandler(){this.updateLabels()}updateLabels(){this.valueLabelEl.value&&this.determineValueLabelPosition(),this.rangeLabels&&this.determineVisibleLabels()}calculateValues(){let{min:e,max:a,low:t,high:i,value:l}=this,n=100*(t-e)/(a-e),r=100*(i-e)/(a-e),c=100*(l-e)/(a-e);(!t||t<e||t>i||t>a)&&(this.low=e),(!i||i>a||i<t||i<e)&&(this.high=a),l||(this.value=e),this.lowPercent=n,this.highPercent=r,this.currentPercent=l?c:0,this.lowActive=!!t&&t>e&&(!l||t>l)&&(!i||t<i),this.highActive=!!i&&e<=i&&i<a&&(!l||i>l)&&(!t||i>t)}formatLabel(e,a){if(a==="percent"){if(!this.percentFormatting){let t=R(this.messages._lang),i=new Intl.NumberFormat(t,{useGrouping:this.groupSeparator,style:"percent"});this.percentFormatting={formatter:i,locale:t}}return this.percentFormatting.formatter.format(e)}else return f.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},f.localize(e.toString())}getMeterKindCssClass(){let{low:e,high:a,min:t,max:i,value:l}=this,n=e||t,r=a||i,c=l>=n,b=l<n,v=l>=r,o=l<r;return!l||!e&&o||b?s.success:c&&o?s.warning:v?s.danger:s.success}intersects(e,a){return e&&a&&C(e.getBoundingClientRect(),a.getBoundingClientRect())}determineVisibleLabels(){let{minLabelEl:{value:e},lowLabelEl:{value:a},highLabelEl:{value:t},maxLabelEl:{value:i}}=this,l=this.intersects(t,i),n=this.intersects(a,t),r=this.intersects(a,i),c=this.intersects(e,t),b=this.intersects(e,a),v=this.intersects(e,i),o=s.labelHidden;a&&(b||r||n?a.classList.add(o):a.classList.remove(o)),t&&(c||r||l?t.classList.add(o):t.classList.remove(o)),e&&i&&(v?i.classList.add(o):i.classList.remove(o))}determineValueLabelPosition(){let{valueLabelEl:{value:e},meterContainerEl:{value:a},currentPercent:t}=this,i=t>100?100:t>0?t:0,l=e.getBoundingClientRect().width,n=a.getBoundingClientRect().width,r=100*(l-0)/(n-0);i+r>=100?(e.style.insetInlineEnd="0%",e.style.removeProperty("inset-inline-start")):(e.style.insetInlineStart=`${i}% `,e.style.removeProperty("inset-inline-end"))}renderMeterFill(){let{currentPercent:e,fillType:a}=this,t=this.getMeterKindCssClass();return h`<div class=${d({[s.fill]:!0,[t]:a!=="single"})} style=${u({width:`${e}%`})}></div>`}renderRangeLine(e){let a={insetInlineStart:`${e}%`};return h`<div class=${d(s.stepLine)} style=${u(a)}></div>`}renderValueLabel(){let{currentPercent:e,valueLabelType:a,unitLabel:t,value:i}=this,l=this.formatLabel(a==="percent"?e/100:i||0,a);return g("low-label-line",h`<div class=${d({[s.label]:!0,[s.labelValue]:!0})} ${m(this.valueLabelEl)}>${l}${t&&a!=="percent"&&h`<span class=${d(s.unitLabel)}>&nbsp;${t}</span>`||""}</div>`)}renderMinLabel(){let{rangeLabelType:e,min:a,minPercent:t,unitLabel:i}=this,l={insetInlineStart:`${t}%`},n=this.formatLabel(e==="percent"?t:a,e);return g("min-label-line",h`<div class=${d({[s.label]:!0,[s.labelRange]:!0})} style=${u(l)} ${m(this.minLabelEl)}>${n}${i&&e!=="percent"&&h`<span class=${d(s.unitLabel)}>&nbsp;${i}</span>`||""}</div>`)}renderLowLabel(){let{rangeLabelType:e,low:a,lowPercent:t,highPercent:i,labelFlipProximity:l}=this,n=a?this.formatLabel(e==="percent"?t/100:a,e):"",r={insetInlineStart:`${t}%`},c={insetInlineEnd:`${100-t}%`},b=(i-t)/100<l?c:r;return g("low-label-line",h`<div class=${d({[s.label]:!0,[s.labelRange]:!0})} style=${u(b)} ${m(this.lowLabelEl)}>${n}</div>`)}renderHighLabel(){let{rangeLabelType:e,high:a,highPercent:t,labelFlipMax:i}=this,l=a?this.formatLabel(e==="percent"?t/100:a,e):"",n={insetInlineStart:`${t}%`},r={insetInlineEnd:`${100-t}%`},c=t/100>=i?r:n;return g("high-label-line",h`<div class=${d({[s.label]:!0,[s.labelRange]:!0})} style=${u(c)} ${m(this.highLabelEl)}>${l}</div>`)}renderMaxLabel(){let{rangeLabelType:e,max:a,maxPercent:t}=this,i={insetInlineEnd:`${100-t}%`},l=this.formatLabel(e==="percent"?t/100:a,e);return g("max-label-line",h`<div class=${d({[s.label]:!0,[s.labelRange]:!0})} style=${u(i)} ${m(this.maxLabelEl)}>${l}</div>`)}render(){let{appearance:e,currentPercent:a,highActive:t,highPercent:i,label:l,lowActive:n,lowPercent:r,max:c,maxPercent:b,min:v,minPercent:o,rangeLabels:L,rangeLabelType:y,unitLabel:x,value:w,valueLabel:P,valueLabelType:k}=this,H=this.formatLabel(a/100,"percent"),U=`${w} ${x}`;return h`<div .ariaLabel=${l} .ariaValueMax=${y==="percent"?b:c} .ariaValueMin=${y==="percent"?o:v} .ariaValueNow=${k==="percent"?a:w} .ariaValueText=${k==="percent"?H:x?U:void 0} class=${d({[s.container]:!0,[s.stepsVisible]:L,[s.valueVisible]:P,[e]:e!=="outline-fill"})} role=meter ${m(this.meterContainerEl)}>${this.renderMeterFill()}${P&&this.renderValueLabel()||""}${n&&this.renderRangeLine(r)||""}${t&&this.renderRangeLine(i)||""}${L&&this.renderMinLabel()||""}${L&&n&&this.renderLowLabel()||""}${L&&t&&this.renderHighLabel()||""}${L&&this.renderMaxLabel()||""}</div>`}};T("calcite-meter",$);export{$ as Meter};