@esri/calcite-components 3.2.0-next.39 → 3.2.0-next.40

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 (655) hide show
  1. package/dist/calcite/{VGUJWIE3.js → 2AURSSBW.js} +2 -2
  2. package/dist/calcite/{3RVJJX2U.js.LEGAL.txt → 2AURSSBW.js.LEGAL.txt} +1 -1
  3. package/dist/calcite/{QJMY6HK4.js → 2BKMHEEV.js} +2 -2
  4. package/dist/calcite/{24OTRUCC.js.LEGAL.txt → 2BKMHEEV.js.LEGAL.txt} +1 -1
  5. package/dist/calcite/{ZMFN7VKF.js → 2O44LJYG.js} +2 -2
  6. package/dist/calcite/{372T7EBW.js.LEGAL.txt → 2O44LJYG.js.LEGAL.txt} +1 -1
  7. package/dist/calcite/{372T7EBW.js → 2OKWW5QW.js} +2 -2
  8. package/dist/calcite/{2DKPKQXG.js.LEGAL.txt → 2OKWW5QW.js.LEGAL.txt} +1 -1
  9. package/dist/calcite/{RN6G4AJW.js → 33VZVMEQ.js} +2 -2
  10. package/dist/calcite/33VZVMEQ.js.LEGAL.txt +3 -0
  11. package/dist/calcite/{G77XQIMX.js → 34H6VHCP.js} +2 -2
  12. package/dist/calcite/34H6VHCP.js.LEGAL.txt +3 -0
  13. package/dist/calcite/{RLN7DR35.js → 3BX3JALR.js} +2 -2
  14. package/dist/calcite/3BX3JALR.js.LEGAL.txt +3 -0
  15. package/dist/calcite/{3RVJJX2U.js → 3KAKFW27.js} +2 -2
  16. package/dist/calcite/3KAKFW27.js.LEGAL.txt +3 -0
  17. package/dist/calcite/{P2XP2NHT.js → 3NKYZGOY.js} +2 -2
  18. package/dist/calcite/3NKYZGOY.js.LEGAL.txt +3 -0
  19. package/dist/calcite/{TYKK4ZDP.js → 3OLDLPGW.js} +2 -2
  20. package/dist/calcite/3OLDLPGW.js.LEGAL.txt +3 -0
  21. package/dist/calcite/{IRUMOVZZ.js → 3ZC35IU6.js} +2 -2
  22. package/dist/calcite/3ZC35IU6.js.LEGAL.txt +3 -0
  23. package/dist/calcite/{GS3X5VRZ.js → 3ZHVUAGO.js} +2 -2
  24. package/dist/calcite/3ZHVUAGO.js.LEGAL.txt +3 -0
  25. package/dist/calcite/{NYCLULH3.js → 3ZI3PBLD.js} +2 -2
  26. package/dist/calcite/3ZI3PBLD.js.LEGAL.txt +3 -0
  27. package/dist/calcite/{MR5UPVPG.js → 47SZGRLH.js} +2 -2
  28. package/dist/calcite/47SZGRLH.js.LEGAL.txt +3 -0
  29. package/dist/calcite/{LLN5DNPL.js → 4JEZM6VX.js} +2 -2
  30. package/dist/calcite/{LLN5DNPL.js.LEGAL.txt → 4JEZM6VX.js.LEGAL.txt} +1 -1
  31. package/dist/calcite/{3VLVDWSS.js → 4KFIUD2B.js} +2 -2
  32. package/dist/calcite/4KFIUD2B.js.LEGAL.txt +3 -0
  33. package/dist/calcite/4MQEUWEH.js +4 -0
  34. package/dist/calcite/4MQEUWEH.js.LEGAL.txt +3 -0
  35. package/dist/calcite/{P6C3W6FL.js → 4PDCFLEI.js} +2 -2
  36. package/dist/calcite/4PDCFLEI.js.LEGAL.txt +3 -0
  37. package/dist/calcite/{NCWK6WJU.js → 4S5MMRKY.js} +2 -2
  38. package/dist/calcite/4S5MMRKY.js.LEGAL.txt +3 -0
  39. package/dist/calcite/{62GP7Q7R.js → 4YKPRILU.js} +2 -2
  40. package/dist/calcite/4YKPRILU.js.LEGAL.txt +3 -0
  41. package/dist/calcite/{I4FISWDK.js → 5K3GZOWW.js} +2 -2
  42. package/dist/calcite/5K3GZOWW.js.LEGAL.txt +3 -0
  43. package/dist/calcite/{W7YWLFKG.js → 5NQUZRDM.js} +2 -2
  44. package/dist/calcite/{5T2FJWUW.js → 5SSKMKFV.js} +2 -2
  45. package/dist/calcite/5SSKMKFV.js.LEGAL.txt +3 -0
  46. package/dist/calcite/{F4S6EXX6.js → 5ZKH6XNV.js} +2 -2
  47. package/dist/calcite/5ZKH6XNV.js.LEGAL.txt +3 -0
  48. package/dist/calcite/{R7U5O4YW.js → 64F6FSTF.js} +2 -2
  49. package/dist/calcite/64F6FSTF.js.LEGAL.txt +3 -0
  50. package/dist/calcite/{PYM6655A.js → 67QAOXDX.js} +1 -1
  51. package/dist/calcite/67QAOXDX.js.LEGAL.txt +3 -0
  52. package/dist/calcite/{CVQXSZEH.js → 6AW4GRQ4.js} +2 -2
  53. package/dist/calcite/6AW4GRQ4.js.LEGAL.txt +3 -0
  54. package/dist/calcite/{R3CUJDU2.js → 6DCGXB5R.js} +1 -1
  55. package/dist/calcite/6DCGXB5R.js.LEGAL.txt +3 -0
  56. package/dist/calcite/{A4XLCDLZ.js → 6GM27GBO.js} +2 -2
  57. package/dist/calcite/{SQNNHAAG.js → 6HPPO7XW.js} +2 -2
  58. package/dist/calcite/6HPPO7XW.js.LEGAL.txt +3 -0
  59. package/dist/calcite/{HBU463EW.js → 6JABLZT7.js} +2 -2
  60. package/dist/calcite/6JABLZT7.js.LEGAL.txt +3 -0
  61. package/dist/calcite/{U2YGN4RT.js → 6P5PSH65.js} +2 -2
  62. package/dist/calcite/{AXBOTO3S.js → 6RISBQOV.js} +2 -2
  63. package/dist/calcite/6RISBQOV.js.LEGAL.txt +3 -0
  64. package/dist/calcite/{XQSZJ5CG.js → 6Z2B5YPT.js} +1 -1
  65. package/dist/calcite/6Z2B5YPT.js.LEGAL.txt +3 -0
  66. package/dist/calcite/{24OTRUCC.js → 7EKOSZOZ.js} +2 -2
  67. package/dist/calcite/7EKOSZOZ.js.LEGAL.txt +3 -0
  68. package/dist/calcite/{Y5A3EQS4.js → A7N7QSFD.js} +2 -2
  69. package/dist/calcite/A7N7QSFD.js.LEGAL.txt +3 -0
  70. package/dist/calcite/{PENLWMB3.js → AB6ORITE.js} +2 -2
  71. package/dist/calcite/AB6ORITE.js.LEGAL.txt +3 -0
  72. package/dist/calcite/{NDM46TRI.js → AECWOUVE.js} +2 -2
  73. package/dist/calcite/AECWOUVE.js.LEGAL.txt +3 -0
  74. package/dist/calcite/{TGV7EMNU.js → AFEKH67J.js} +2 -2
  75. package/dist/calcite/AFEKH67J.js.LEGAL.txt +3 -0
  76. package/dist/calcite/{H3WIGFJO.js → ALA3CMPJ.js} +2 -2
  77. package/dist/calcite/ALA3CMPJ.js.LEGAL.txt +3 -0
  78. package/dist/calcite/{MUFGKP4E.js → AZTNUW5Z.js} +2 -2
  79. package/dist/calcite/AZTNUW5Z.js.LEGAL.txt +3 -0
  80. package/dist/calcite/C5B5QVOZ.js +4 -0
  81. package/dist/calcite/C5B5QVOZ.js.LEGAL.txt +3 -0
  82. package/dist/calcite/{6M254VM3.js → CFP3CIBH.js} +2 -2
  83. package/dist/calcite/CFP3CIBH.js.LEGAL.txt +3 -0
  84. package/dist/calcite/{LWUNC2OP.js → CY4HMEXM.js} +2 -2
  85. package/dist/calcite/CY4HMEXM.js.LEGAL.txt +3 -0
  86. package/dist/calcite/{BXNTEQDG.js → D33THSDQ.js} +2 -2
  87. package/dist/calcite/D33THSDQ.js.LEGAL.txt +3 -0
  88. package/dist/calcite/{4M5YF4UK.js → D5ORTJBP.js} +2 -2
  89. package/dist/calcite/D5ORTJBP.js.LEGAL.txt +3 -0
  90. package/dist/calcite/{BXRLVWOE.js → D5WOJOBP.js} +2 -2
  91. package/dist/calcite/D5WOJOBP.js.LEGAL.txt +3 -0
  92. package/dist/calcite/{4PC2H3SA.js → DCCICHLE.js} +2 -2
  93. package/dist/calcite/DCCICHLE.js.LEGAL.txt +3 -0
  94. package/dist/calcite/{DACMF6M4.js → DJIDW3PH.js} +2 -2
  95. package/dist/calcite/DJIDW3PH.js.LEGAL.txt +3 -0
  96. package/dist/calcite/{2VN3YIDH.js → DNYNDPB5.js} +2 -2
  97. package/dist/calcite/{V6MACRDH.js → DXEUZNXM.js} +2 -2
  98. package/dist/calcite/DXEUZNXM.js.LEGAL.txt +3 -0
  99. package/dist/calcite/{MG5IOFW7.js → DYBMPADA.js} +2 -2
  100. package/dist/calcite/DYBMPADA.js.LEGAL.txt +3 -0
  101. package/dist/calcite/{5UJXO6ER.js → EQDBU7RM.js} +2 -2
  102. package/dist/calcite/EQDBU7RM.js.LEGAL.txt +3 -0
  103. package/dist/calcite/{MZMZSY5A.js → EYWRTO2E.js} +2 -2
  104. package/dist/calcite/{MZMZSY5A.js.LEGAL.txt → EYWRTO2E.js.LEGAL.txt} +1 -1
  105. package/dist/calcite/{JFS56TST.js → FCJNAEP5.js} +2 -2
  106. package/dist/calcite/FCJNAEP5.js.LEGAL.txt +3 -0
  107. package/dist/calcite/{Y2E6XYEE.js → FEMPCZLV.js} +1 -1
  108. package/dist/calcite/FEMPCZLV.js.LEGAL.txt +3 -0
  109. package/dist/calcite/{N63BZNBM.js → FFH3PE7I.js} +2 -2
  110. package/dist/calcite/FFH3PE7I.js.LEGAL.txt +3 -0
  111. package/dist/calcite/{4SZ573RT.js → FNJ5UP55.js} +2 -2
  112. package/dist/calcite/FNJ5UP55.js.LEGAL.txt +3 -0
  113. package/dist/calcite/{7T7MTXSU.js → FR4VAYJC.js} +2 -2
  114. package/dist/calcite/FR4VAYJC.js.LEGAL.txt +3 -0
  115. package/dist/calcite/{QRBR6VUO.js → G2KZHOPC.js} +2 -2
  116. package/dist/calcite/G2KZHOPC.js.LEGAL.txt +3 -0
  117. package/dist/calcite/{6VI66GV4.js → GC3D3FA4.js} +2 -2
  118. package/dist/calcite/GC3D3FA4.js.LEGAL.txt +3 -0
  119. package/dist/calcite/{LZ3V33XC.js → HNVOQW5F.js} +1 -1
  120. package/dist/calcite/HNVOQW5F.js.LEGAL.txt +3 -0
  121. package/dist/calcite/{RFI4KO6W.js → HPNQQK6A.js} +1 -1
  122. package/dist/calcite/{5Z4FPF7F.js → HVDZCSXZ.js} +2 -2
  123. package/dist/calcite/HVDZCSXZ.js.LEGAL.txt +3 -0
  124. package/dist/calcite/{NODTVZ24.js → IFSUY6OL.js} +2 -2
  125. package/dist/calcite/IFSUY6OL.js.LEGAL.txt +3 -0
  126. package/dist/calcite/{SEHADNF3.js → IS2XQRWJ.js} +2 -2
  127. package/dist/calcite/IS2XQRWJ.js.LEGAL.txt +3 -0
  128. package/dist/calcite/{HOEPFXY4.js → IYSVUD2W.js} +2 -2
  129. package/dist/calcite/IYSVUD2W.js.LEGAL.txt +3 -0
  130. package/dist/calcite/{TH2HXM2T.js → J6ZU5TTP.js} +1 -1
  131. package/dist/calcite/J6ZU5TTP.js.LEGAL.txt +3 -0
  132. package/dist/calcite/{XLQJWLJR.js → JGJKOHCP.js} +1 -1
  133. package/dist/calcite/JGJKOHCP.js.LEGAL.txt +3 -0
  134. package/dist/calcite/{JATMHESF.js → JQMONEIC.js} +1 -1
  135. package/dist/calcite/JQMONEIC.js.LEGAL.txt +3 -0
  136. package/dist/calcite/{QFOJGUH4.js → JSKDQQHO.js} +2 -2
  137. package/dist/calcite/JSKDQQHO.js.LEGAL.txt +3 -0
  138. package/dist/calcite/{R5NIHVIX.js → JTSQHJX5.js} +2 -2
  139. package/dist/calcite/JTSQHJX5.js.LEGAL.txt +3 -0
  140. package/dist/calcite/{C2KRQ7VY.js → K3HQETKI.js} +2 -2
  141. package/dist/calcite/K3HQETKI.js.LEGAL.txt +3 -0
  142. package/dist/calcite/{CLRL273B.js → K3RGRXZK.js} +2 -2
  143. package/dist/calcite/{AFFK5WSZ.js → K6GY2Q5E.js} +2 -2
  144. package/dist/calcite/K6GY2Q5E.js.LEGAL.txt +3 -0
  145. package/dist/calcite/{IWDYFFAM.js → KDX22TPR.js} +2 -2
  146. package/dist/calcite/{LAKJK7HL.js → KJQNKFEY.js} +2 -2
  147. package/dist/calcite/KJQNKFEY.js.LEGAL.txt +3 -0
  148. package/dist/calcite/{T3TLDID7.js → KKVVDKZZ.js} +2 -2
  149. package/dist/calcite/KKVVDKZZ.js.LEGAL.txt +3 -0
  150. package/dist/calcite/{4JL2EBN2.js → KMI5ODOO.js} +2 -2
  151. package/dist/calcite/KMI5ODOO.js.LEGAL.txt +3 -0
  152. package/dist/calcite/{DTAEBKT4.js → KOH7CJJ2.js} +2 -2
  153. package/dist/calcite/KOH7CJJ2.js.LEGAL.txt +3 -0
  154. package/dist/calcite/{HZH7HHAH.js → KTZK563F.js} +2 -2
  155. package/dist/calcite/{HZH7HHAH.js.LEGAL.txt → KTZK563F.js.LEGAL.txt} +1 -1
  156. package/dist/calcite/{DIWK757P.js → KV75A5OZ.js} +2 -2
  157. package/dist/calcite/KV75A5OZ.js.LEGAL.txt +3 -0
  158. package/dist/calcite/{ZS2B2AF5.js → LJFEVAGO.js} +2 -2
  159. package/dist/calcite/LJFEVAGO.js.LEGAL.txt +3 -0
  160. package/dist/calcite/{J5XEWZHE.js → LUAE2BNR.js} +2 -2
  161. package/dist/calcite/LUAE2BNR.js.LEGAL.txt +3 -0
  162. package/dist/calcite/{Z646UZFI.js → LWBS4ZDT.js} +1 -1
  163. package/dist/calcite/LWBS4ZDT.js.LEGAL.txt +3 -0
  164. package/dist/calcite/{HJQMJ3O5.js → M34FQPFC.js} +2 -2
  165. package/dist/calcite/M34FQPFC.js.LEGAL.txt +3 -0
  166. package/dist/calcite/{DIYHPDDJ.js → MEJBDF2X.js} +2 -2
  167. package/dist/calcite/MEJBDF2X.js.LEGAL.txt +3 -0
  168. package/dist/calcite/{46GRM4CE.js → MG6JYBW5.js} +2 -2
  169. package/dist/calcite/MG6JYBW5.js.LEGAL.txt +3 -0
  170. package/dist/calcite/{JDWLRXMB.js → MJ3BP4EF.js} +2 -2
  171. package/dist/calcite/MJ3BP4EF.js.LEGAL.txt +3 -0
  172. package/dist/calcite/{P2CTJE5E.js → MTSBROZ4.js} +2 -2
  173. package/dist/calcite/MTSBROZ4.js.LEGAL.txt +3 -0
  174. package/dist/calcite/{7QECW2E2.js → N73L76SJ.js} +2 -2
  175. package/dist/calcite/N73L76SJ.js.LEGAL.txt +3 -0
  176. package/dist/calcite/{D2KGWKKE.js → NA2X3DPJ.js} +2 -2
  177. package/dist/calcite/NA2X3DPJ.js.LEGAL.txt +3 -0
  178. package/dist/calcite/{CK2727PE.js → NAEQOQHY.js} +2 -2
  179. package/dist/calcite/NAEQOQHY.js.LEGAL.txt +3 -0
  180. package/dist/calcite/{UGDRDJPA.js → NNTVWBBP.js} +2 -2
  181. package/dist/calcite/{FQPVAT5F.js → NP2WVDB5.js} +2 -2
  182. package/dist/calcite/NP2WVDB5.js.LEGAL.txt +3 -0
  183. package/dist/calcite/{2DKPKQXG.js → NR2X3T5D.js} +2 -2
  184. package/dist/calcite/NR2X3T5D.js.LEGAL.txt +3 -0
  185. package/dist/calcite/{LIPUTT6N.js → NYF6T3OI.js} +2 -2
  186. package/dist/calcite/NYF6T3OI.js.LEGAL.txt +3 -0
  187. package/dist/calcite/{KFEMDYAO.js → O26R4TSO.js} +2 -2
  188. package/dist/calcite/{GL7DMV4S.js → O55ZI7N2.js} +2 -2
  189. package/dist/calcite/O55ZI7N2.js.LEGAL.txt +3 -0
  190. package/dist/calcite/{NH2FREQY.js → OKGB77L2.js} +2 -2
  191. package/dist/calcite/OKGB77L2.js.LEGAL.txt +3 -0
  192. package/dist/calcite/{Z6VHOIAN.js → ORK223LB.js} +2 -2
  193. package/dist/calcite/ORK223LB.js.LEGAL.txt +3 -0
  194. package/dist/calcite/{QJN3Y7KP.js → PB3OJ43M.js} +2 -2
  195. package/dist/calcite/PB3OJ43M.js.LEGAL.txt +3 -0
  196. package/dist/calcite/{EHEE5FVV.js → PHWXS446.js} +2 -2
  197. package/dist/calcite/PHWXS446.js.LEGAL.txt +3 -0
  198. package/dist/calcite/{MXQCR7YF.js → PIHPNMID.js} +2 -2
  199. package/dist/calcite/PIHPNMID.js.LEGAL.txt +3 -0
  200. package/dist/calcite/{KPX237YH.js → PIMY4FDR.js} +2 -2
  201. package/dist/calcite/PIMY4FDR.js.LEGAL.txt +3 -0
  202. package/dist/calcite/{GZUOSY5I.js → PNGIMH3C.js} +2 -2
  203. package/dist/calcite/{QVKJQIOF.js → PNO3AQXX.js} +1 -1
  204. package/dist/calcite/PNO3AQXX.js.LEGAL.txt +3 -0
  205. package/dist/calcite/{LI2EINF7.js → PP4TWNBJ.js} +2 -2
  206. package/dist/calcite/PP4TWNBJ.js.LEGAL.txt +3 -0
  207. package/dist/calcite/{7QNG2EF7.js → PQCLGIYQ.js} +2 -2
  208. package/dist/calcite/PQCLGIYQ.js.LEGAL.txt +3 -0
  209. package/dist/calcite/{Z7EIB7KP.js → PWPO7D4Y.js} +2 -2
  210. package/dist/calcite/PWPO7D4Y.js.LEGAL.txt +3 -0
  211. package/dist/calcite/{OPWA55SD.js → PXCK2RZB.js} +2 -2
  212. package/dist/calcite/PXCK2RZB.js.LEGAL.txt +3 -0
  213. package/dist/calcite/{HAEAO4QM.js → Q2FGVAYP.js} +2 -2
  214. package/dist/calcite/Q2FGVAYP.js.LEGAL.txt +3 -0
  215. package/dist/calcite/{PLJALAVQ.js → Q732AZTP.js} +2 -2
  216. package/dist/calcite/Q732AZTP.js.LEGAL.txt +3 -0
  217. package/dist/calcite/{WL7KPPYH.js → QB7JK7LO.js} +2 -2
  218. package/dist/calcite/QB7JK7LO.js.LEGAL.txt +3 -0
  219. package/dist/calcite/{FYK4XJBH.js → QCW5FCIU.js} +1 -1
  220. package/dist/calcite/QCW5FCIU.js.LEGAL.txt +3 -0
  221. package/dist/calcite/{GTIGGEIV.js → QH2DDIL6.js} +2 -2
  222. package/dist/calcite/QH2DDIL6.js.LEGAL.txt +3 -0
  223. package/dist/calcite/{GFFE55DG.js → QHBI2BZU.js} +2 -2
  224. package/dist/calcite/QHBI2BZU.js.LEGAL.txt +3 -0
  225. package/dist/calcite/QS2IO2B6.js +4 -0
  226. package/dist/calcite/QS2IO2B6.js.LEGAL.txt +3 -0
  227. package/dist/calcite/{MFXMCYAU.js → QWS3K5HU.js} +2 -2
  228. package/dist/calcite/{NLQEJQ5J.js → QWUSZRIE.js} +2 -2
  229. package/dist/calcite/QWUSZRIE.js.LEGAL.txt +3 -0
  230. package/dist/calcite/{5CFQYPD6.js → R6YNQ2V6.js} +2 -2
  231. package/dist/calcite/R6YNQ2V6.js.LEGAL.txt +3 -0
  232. package/dist/calcite/{76ZLZZXT.js → RCZOIN3S.js} +2 -2
  233. package/dist/calcite/RCZOIN3S.js.LEGAL.txt +3 -0
  234. package/dist/calcite/{WIUS56JI.js → RGO4YDKF.js} +1 -1
  235. package/dist/calcite/{SKKGAAMO.js → RWJNVFXT.js} +2 -2
  236. package/dist/calcite/RWJNVFXT.js.LEGAL.txt +3 -0
  237. package/dist/calcite/{BIXOQRWX.js → RZQCIIVR.js} +1 -1
  238. package/dist/calcite/RZQCIIVR.js.LEGAL.txt +3 -0
  239. package/dist/calcite/{4CRXZ63L.js → SBQ2IBIF.js} +2 -2
  240. package/dist/calcite/SBQ2IBIF.js.LEGAL.txt +3 -0
  241. package/dist/calcite/{IQQJKKQR.js → SFHB45KR.js} +2 -2
  242. package/dist/calcite/SFHB45KR.js.LEGAL.txt +3 -0
  243. package/dist/calcite/{JDNJDXBT.js → SH3BT3E4.js} +2 -2
  244. package/dist/calcite/SH3BT3E4.js.LEGAL.txt +3 -0
  245. package/dist/calcite/{5JJMIROF.js → SLJ7H27X.js} +2 -2
  246. package/dist/calcite/SLJ7H27X.js.LEGAL.txt +3 -0
  247. package/dist/calcite/{MN5ZMGDP.js → SR7MDDWB.js} +2 -2
  248. package/dist/calcite/SR7MDDWB.js.LEGAL.txt +3 -0
  249. package/dist/calcite/{3VMC2CMT.js → SWKCCOCK.js} +1 -1
  250. package/dist/calcite/{3VMC2CMT.js.LEGAL.txt → SWKCCOCK.js.LEGAL.txt} +1 -1
  251. package/dist/calcite/{T4ISGVVX.js → T2IMUI4L.js} +2 -2
  252. package/dist/calcite/T2IMUI4L.js.LEGAL.txt +3 -0
  253. package/dist/calcite/{M3UZ4E5H.js → T6ZWPJ3H.js} +2 -2
  254. package/dist/calcite/T6ZWPJ3H.js.LEGAL.txt +3 -0
  255. package/dist/calcite/{Z2N3ZD66.js → TGPFQVI3.js} +1 -1
  256. package/dist/calcite/TGPFQVI3.js.LEGAL.txt +3 -0
  257. package/dist/calcite/{MBN54URU.js → TIGA7CAS.js} +2 -2
  258. package/dist/calcite/TIGA7CAS.js.LEGAL.txt +3 -0
  259. package/dist/calcite/{MZDX2RGO.js → TK7HEAKQ.js} +2 -2
  260. package/dist/calcite/TK7HEAKQ.js.LEGAL.txt +3 -0
  261. package/dist/calcite/{YPHDMEZE.js → TRCUXJQP.js} +2 -2
  262. package/dist/calcite/TRCUXJQP.js.LEGAL.txt +3 -0
  263. package/dist/calcite/{JBY373VQ.js → TXROGSB2.js} +2 -2
  264. package/dist/calcite/TXROGSB2.js.LEGAL.txt +3 -0
  265. package/dist/calcite/{KO2HPSDS.js → U4AGMMNR.js} +2 -2
  266. package/dist/calcite/U4AGMMNR.js.LEGAL.txt +3 -0
  267. package/dist/calcite/{XCW4TOV5.js → U52EKICH.js} +2 -2
  268. package/dist/calcite/{I7DZAQ33.js → UBPEEJ47.js} +2 -2
  269. package/dist/calcite/UBPEEJ47.js.LEGAL.txt +3 -0
  270. package/dist/calcite/{LEGWZZ3C.js → UCUYESPO.js} +2 -2
  271. package/dist/calcite/UCUYESPO.js.LEGAL.txt +3 -0
  272. package/dist/calcite/{THZPNFDC.js → UJ3DVBBB.js} +2 -2
  273. package/dist/calcite/UJ3DVBBB.js.LEGAL.txt +3 -0
  274. package/dist/calcite/{7JTQUIIG.js → UTHT52HY.js} +1 -1
  275. package/dist/calcite/UTHT52HY.js.LEGAL.txt +3 -0
  276. package/dist/calcite/{GSA4PGT2.js → VAAG5IJE.js} +2 -2
  277. package/dist/calcite/VAAG5IJE.js.LEGAL.txt +3 -0
  278. package/dist/calcite/{55R7FS3U.js → VCIESHSA.js} +2 -2
  279. package/dist/calcite/VCIESHSA.js.LEGAL.txt +3 -0
  280. package/dist/calcite/{GTUVAAAD.js → VIJYQUPS.js} +1 -1
  281. package/dist/calcite/VIJYQUPS.js.LEGAL.txt +3 -0
  282. package/dist/calcite/{JAL66H3J.js → VKH366XK.js} +2 -2
  283. package/dist/calcite/VKH366XK.js.LEGAL.txt +3 -0
  284. package/dist/calcite/{POGNNNSN.js → VOMFC6A5.js} +2 -2
  285. package/dist/calcite/VOMFC6A5.js.LEGAL.txt +3 -0
  286. package/dist/calcite/{YBIDORYE.js → VWXTUWMC.js} +2 -2
  287. package/dist/calcite/VWXTUWMC.js.LEGAL.txt +3 -0
  288. package/dist/calcite/{DX4BEDZ3.js → VYNVOZVL.js} +1 -1
  289. package/dist/calcite/VYNVOZVL.js.LEGAL.txt +3 -0
  290. package/dist/calcite/{VUEY5X5A.js → W6MHPGER.js} +2 -2
  291. package/dist/calcite/W6MHPGER.js.LEGAL.txt +3 -0
  292. package/dist/calcite/{5Q54AMGC.js → WIA2UZRQ.js} +2 -2
  293. package/dist/calcite/WIA2UZRQ.js.LEGAL.txt +3 -0
  294. package/dist/calcite/{OQGS3D3N.js → WLID72PZ.js} +2 -2
  295. package/dist/calcite/WLID72PZ.js.LEGAL.txt +3 -0
  296. package/dist/calcite/{7PKWMEQD.js → WQ2CWXYT.js} +2 -2
  297. package/dist/calcite/WQ2CWXYT.js.LEGAL.txt +3 -0
  298. package/dist/calcite/{M4H4WLVH.js → WVA5MSI4.js} +2 -2
  299. package/dist/calcite/WVA5MSI4.js.LEGAL.txt +3 -0
  300. package/dist/calcite/{VHLIF5DY.js → WXNB4546.js} +2 -2
  301. package/dist/calcite/WXNB4546.js.LEGAL.txt +3 -0
  302. package/dist/calcite/{MSCFVCHB.js → X3Y745O5.js} +2 -2
  303. package/dist/calcite/X3Y745O5.js.LEGAL.txt +3 -0
  304. package/dist/calcite/{PW6UBKVH.js → X5NLUQDA.js} +2 -2
  305. package/dist/calcite/X5NLUQDA.js.LEGAL.txt +3 -0
  306. package/dist/calcite/{XVSPBUCP.js → XJUNWEHJ.js} +1 -1
  307. package/dist/calcite/XJUNWEHJ.js.LEGAL.txt +3 -0
  308. package/dist/calcite/{RI5ZWQGD.js → XUZICRV7.js} +2 -2
  309. package/dist/calcite/XUZICRV7.js.LEGAL.txt +3 -0
  310. package/dist/calcite/{7CQ233AJ.js → XZK2I4C2.js} +2 -2
  311. package/dist/calcite/XZK2I4C2.js.LEGAL.txt +3 -0
  312. package/dist/calcite/{7FB33YBD.js → Y6MVE6DC.js} +2 -2
  313. package/dist/calcite/Y6MVE6DC.js.LEGAL.txt +3 -0
  314. package/dist/calcite/{6NUAVTSM.js → YCAEPRM6.js} +2 -2
  315. package/dist/calcite/YCAEPRM6.js.LEGAL.txt +3 -0
  316. package/dist/calcite/{GRLBXAFF.js → YD2UXF4G.js} +1 -1
  317. package/dist/calcite/{GFONJVVJ.js → YQDHA3IR.js} +2 -2
  318. package/dist/calcite/YQDHA3IR.js.LEGAL.txt +3 -0
  319. package/dist/calcite/{OSZVSWGU.js → Z3OQGPN5.js} +2 -2
  320. package/dist/calcite/Z3OQGPN5.js.LEGAL.txt +3 -0
  321. package/dist/calcite/{TSHHVAZ7.js → Z53Z6H75.js} +2 -2
  322. package/dist/calcite/Z53Z6H75.js.LEGAL.txt +3 -0
  323. package/dist/calcite/{HNERZLDY.js → ZTSRFYI5.js} +2 -2
  324. package/dist/calcite/ZTSRFYI5.js.LEGAL.txt +3 -0
  325. package/dist/calcite/{VYRPNOIH.js → ZXGONEDG.js} +1 -1
  326. package/dist/calcite/ZXGONEDG.js.LEGAL.txt +3 -0
  327. package/dist/calcite/calcite.esm.js +2 -2
  328. package/dist/calcite/calcite.esm.js.LEGAL.txt +1 -1
  329. package/dist/chunks/ExpandToggle.js +1 -1
  330. package/dist/chunks/FloatingArrow.js +1 -1
  331. package/dist/chunks/Heading.js +1 -1
  332. package/dist/chunks/Validation.js +1 -1
  333. package/dist/chunks/XButton.js +1 -1
  334. package/dist/chunks/array.js +1 -1
  335. package/dist/chunks/component.js +1 -1
  336. package/dist/chunks/core.js +1 -1
  337. package/dist/chunks/date.js +1 -1
  338. package/dist/chunks/dom.js +1 -1
  339. package/dist/chunks/dynamicClasses.js +1 -1
  340. package/dist/chunks/filter.js +1 -1
  341. package/dist/chunks/floating-ui.js +1 -1
  342. package/dist/chunks/form.js +1 -1
  343. package/dist/chunks/global.js +1 -1
  344. package/dist/chunks/guid.js +1 -1
  345. package/dist/chunks/input.js +1 -1
  346. package/dist/chunks/interact.min.js +1 -1
  347. package/dist/chunks/interactive.js +1 -1
  348. package/dist/chunks/key.js +1 -1
  349. package/dist/chunks/label.js +1 -1
  350. package/dist/chunks/locale.js +1 -1
  351. package/dist/chunks/logger.js +1 -1
  352. package/dist/chunks/math.js +1 -1
  353. package/dist/chunks/observers.js +1 -1
  354. package/dist/chunks/openCloseComponent.js +1 -1
  355. package/dist/chunks/resources.js +1 -1
  356. package/dist/chunks/resources2.js +1 -1
  357. package/dist/chunks/resources3.js +1 -1
  358. package/dist/chunks/resources4.js +1 -1
  359. package/dist/chunks/resources5.js +1 -1
  360. package/dist/chunks/resources6.js +1 -1
  361. package/dist/chunks/resources7.js +1 -1
  362. package/dist/chunks/responsive.js +1 -1
  363. package/dist/chunks/runtime.js +5 -5
  364. package/dist/chunks/sortableComponent.js +1 -1
  365. package/dist/chunks/text.js +1 -1
  366. package/dist/chunks/time.js +1 -1
  367. package/dist/chunks/useFocusTrap.js +1 -1
  368. package/dist/chunks/usePreventDocumentScroll.js +1 -1
  369. package/dist/chunks/useT9n.js +1 -1
  370. package/dist/chunks/utils.js +1 -1
  371. package/dist/chunks/utils2.js +1 -1
  372. package/dist/chunks/utils3.js +1 -1
  373. package/dist/chunks/utils4.js +1 -1
  374. package/dist/components/calcite-accordion/customElement.js +1 -1
  375. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  376. package/dist/components/calcite-action/customElement.js +1 -1
  377. package/dist/components/calcite-action-bar/customElement.js +1 -1
  378. package/dist/components/calcite-action-group/customElement.js +1 -1
  379. package/dist/components/calcite-action-menu/customElement.js +1 -1
  380. package/dist/components/calcite-action-pad/customElement.js +1 -1
  381. package/dist/components/calcite-alert/customElement.js +1 -1
  382. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  383. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  384. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  385. package/dist/components/calcite-avatar/customElement.js +1 -1
  386. package/dist/components/calcite-block/customElement.js +1 -1
  387. package/dist/components/calcite-block-group/customElement.js +1 -1
  388. package/dist/components/calcite-block-section/customElement.js +1 -1
  389. package/dist/components/calcite-button/customElement.js +1 -1
  390. package/dist/components/calcite-card/customElement.js +1 -1
  391. package/dist/components/calcite-card-group/customElement.js +1 -1
  392. package/dist/components/calcite-carousel/customElement.js +1 -1
  393. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  394. package/dist/components/calcite-checkbox/customElement.js +1 -1
  395. package/dist/components/calcite-chip/customElement.js +1 -1
  396. package/dist/components/calcite-chip-group/customElement.js +1 -1
  397. package/dist/components/calcite-color-picker/customElement.js +1 -1
  398. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  399. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  400. package/dist/components/calcite-combobox/customElement.js +1 -1
  401. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  402. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  403. package/dist/components/calcite-date-picker/customElement.js +1 -1
  404. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  405. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  406. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  407. package/dist/components/calcite-dialog/customElement.js +6 -8
  408. package/dist/components/calcite-dropdown/customElement.js +3 -10
  409. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  410. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  411. package/dist/components/calcite-fab/customElement.js +1 -1
  412. package/dist/components/calcite-filter/customElement.js +1 -1
  413. package/dist/components/calcite-flow/customElement.js +1 -1
  414. package/dist/components/calcite-flow-item/customElement.js +1 -1
  415. package/dist/components/calcite-graph/customElement.js +1 -1
  416. package/dist/components/calcite-handle/customElement.js +1 -1
  417. package/dist/components/calcite-icon/customElement.js +1 -1
  418. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  419. package/dist/components/calcite-input/customElement.js +1 -1
  420. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  421. package/dist/components/calcite-input-message/customElement.js +1 -1
  422. package/dist/components/calcite-input-number/customElement.js +1 -1
  423. package/dist/components/calcite-input-text/customElement.js +1 -1
  424. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  425. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  426. package/dist/components/calcite-label/customElement.js +1 -1
  427. package/dist/components/calcite-link/customElement.js +1 -1
  428. package/dist/components/calcite-list/customElement.js +1 -1
  429. package/dist/components/calcite-list-item/customElement.js +1 -1
  430. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  431. package/dist/components/calcite-loader/customElement.js +1 -1
  432. package/dist/components/calcite-menu/customElement.js +1 -1
  433. package/dist/components/calcite-menu-item/customElement.js +1 -1
  434. package/dist/components/calcite-meter/customElement.js +1 -1
  435. package/dist/components/calcite-modal/customElement.js +5 -7
  436. package/dist/components/calcite-navigation/customElement.js +1 -1
  437. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  438. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  439. package/dist/components/calcite-notice/customElement.js +1 -1
  440. package/dist/components/calcite-option/customElement.js +1 -1
  441. package/dist/components/calcite-option-group/customElement.js +1 -1
  442. package/dist/components/calcite-pagination/customElement.js +1 -1
  443. package/dist/components/calcite-panel/customElement.js +1 -1
  444. package/dist/components/calcite-popover/customElement.js +1 -1
  445. package/dist/components/calcite-progress/customElement.js +1 -1
  446. package/dist/components/calcite-radio-button/customElement.js +1 -1
  447. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  448. package/dist/components/calcite-rating/customElement.js +1 -1
  449. package/dist/components/calcite-scrim/customElement.js +1 -1
  450. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  451. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  452. package/dist/components/calcite-select/customElement.js +1 -1
  453. package/dist/components/calcite-sheet/customElement.js +5 -7
  454. package/dist/components/calcite-shell/customElement.js +1 -1
  455. package/dist/components/calcite-shell-center-row/customElement.js +1 -1
  456. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  457. package/dist/components/calcite-slider/customElement.js +1 -1
  458. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  459. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  460. package/dist/components/calcite-split-button/customElement.js +1 -1
  461. package/dist/components/calcite-stack/customElement.js +1 -1
  462. package/dist/components/calcite-stepper/customElement.js +1 -1
  463. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  464. package/dist/components/calcite-switch/customElement.js +1 -1
  465. package/dist/components/calcite-tab/customElement.js +1 -1
  466. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  467. package/dist/components/calcite-tab-title/customElement.js +1 -1
  468. package/dist/components/calcite-table/customElement.js +1 -1
  469. package/dist/components/calcite-table-cell/customElement.js +1 -1
  470. package/dist/components/calcite-table-header/customElement.js +1 -1
  471. package/dist/components/calcite-table-row/customElement.js +1 -1
  472. package/dist/components/calcite-tabs/customElement.js +1 -1
  473. package/dist/components/calcite-text-area/customElement.js +1 -1
  474. package/dist/components/calcite-tile/customElement.js +1 -1
  475. package/dist/components/calcite-tile-group/customElement.js +1 -1
  476. package/dist/components/calcite-tile-select/customElement.js +1 -1
  477. package/dist/components/calcite-tile-select-group/customElement.js +1 -1
  478. package/dist/components/calcite-time-picker/customElement.js +1 -1
  479. package/dist/components/calcite-tip/customElement.js +1 -1
  480. package/dist/components/calcite-tip-group/customElement.js +1 -1
  481. package/dist/components/calcite-tip-manager/customElement.js +1 -1
  482. package/dist/components/calcite-tooltip/customElement.js +1 -1
  483. package/dist/components/calcite-tree/customElement.js +1 -1
  484. package/dist/components/calcite-tree-item/customElement.js +1 -1
  485. package/dist/docs/api.json +1 -1
  486. package/dist/docs/docs.json +1 -1
  487. package/dist/docs/web-types.json +1 -1
  488. package/dist/index.js +1 -1
  489. package/dist/loader.js +1 -1
  490. package/package.json +2 -2
  491. package/dist/calcite/3VLVDWSS.js.LEGAL.txt +0 -3
  492. package/dist/calcite/46GRM4CE.js.LEGAL.txt +0 -3
  493. package/dist/calcite/4CRXZ63L.js.LEGAL.txt +0 -3
  494. package/dist/calcite/4JL2EBN2.js.LEGAL.txt +0 -3
  495. package/dist/calcite/4M5YF4UK.js.LEGAL.txt +0 -3
  496. package/dist/calcite/4PC2H3SA.js.LEGAL.txt +0 -3
  497. package/dist/calcite/4SZ573RT.js.LEGAL.txt +0 -3
  498. package/dist/calcite/55R7FS3U.js.LEGAL.txt +0 -3
  499. package/dist/calcite/5CFQYPD6.js.LEGAL.txt +0 -3
  500. package/dist/calcite/5JJMIROF.js.LEGAL.txt +0 -3
  501. package/dist/calcite/5Q54AMGC.js.LEGAL.txt +0 -3
  502. package/dist/calcite/5T2FJWUW.js.LEGAL.txt +0 -3
  503. package/dist/calcite/5UJXO6ER.js.LEGAL.txt +0 -3
  504. package/dist/calcite/5Z4FPF7F.js.LEGAL.txt +0 -3
  505. package/dist/calcite/62GP7Q7R.js.LEGAL.txt +0 -3
  506. package/dist/calcite/6M254VM3.js.LEGAL.txt +0 -3
  507. package/dist/calcite/6NUAVTSM.js.LEGAL.txt +0 -3
  508. package/dist/calcite/6VI66GV4.js.LEGAL.txt +0 -3
  509. package/dist/calcite/76ZLZZXT.js.LEGAL.txt +0 -3
  510. package/dist/calcite/7CQ233AJ.js.LEGAL.txt +0 -3
  511. package/dist/calcite/7FB33YBD.js.LEGAL.txt +0 -3
  512. package/dist/calcite/7JTQUIIG.js.LEGAL.txt +0 -3
  513. package/dist/calcite/7PKWMEQD.js.LEGAL.txt +0 -3
  514. package/dist/calcite/7QECW2E2.js.LEGAL.txt +0 -3
  515. package/dist/calcite/7QNG2EF7.js.LEGAL.txt +0 -3
  516. package/dist/calcite/7T7MTXSU.js.LEGAL.txt +0 -3
  517. package/dist/calcite/A2YB5LXN.js +0 -4
  518. package/dist/calcite/A2YB5LXN.js.LEGAL.txt +0 -3
  519. package/dist/calcite/AFFK5WSZ.js.LEGAL.txt +0 -3
  520. package/dist/calcite/AXBOTO3S.js.LEGAL.txt +0 -3
  521. package/dist/calcite/BIXOQRWX.js.LEGAL.txt +0 -3
  522. package/dist/calcite/BXNTEQDG.js.LEGAL.txt +0 -3
  523. package/dist/calcite/BXRLVWOE.js.LEGAL.txt +0 -3
  524. package/dist/calcite/C2KRQ7VY.js.LEGAL.txt +0 -3
  525. package/dist/calcite/CK2727PE.js.LEGAL.txt +0 -3
  526. package/dist/calcite/CVQXSZEH.js.LEGAL.txt +0 -3
  527. package/dist/calcite/D2KGWKKE.js.LEGAL.txt +0 -3
  528. package/dist/calcite/DACMF6M4.js.LEGAL.txt +0 -3
  529. package/dist/calcite/DIWK757P.js.LEGAL.txt +0 -3
  530. package/dist/calcite/DIYHPDDJ.js.LEGAL.txt +0 -3
  531. package/dist/calcite/DTAEBKT4.js.LEGAL.txt +0 -3
  532. package/dist/calcite/DX4BEDZ3.js.LEGAL.txt +0 -3
  533. package/dist/calcite/EHEE5FVV.js.LEGAL.txt +0 -3
  534. package/dist/calcite/F4S6EXX6.js.LEGAL.txt +0 -3
  535. package/dist/calcite/FQPVAT5F.js.LEGAL.txt +0 -3
  536. package/dist/calcite/FYK4XJBH.js.LEGAL.txt +0 -3
  537. package/dist/calcite/G77XQIMX.js.LEGAL.txt +0 -3
  538. package/dist/calcite/GFFE55DG.js.LEGAL.txt +0 -3
  539. package/dist/calcite/GFONJVVJ.js.LEGAL.txt +0 -3
  540. package/dist/calcite/GL7DMV4S.js.LEGAL.txt +0 -3
  541. package/dist/calcite/GS3X5VRZ.js.LEGAL.txt +0 -3
  542. package/dist/calcite/GSA4PGT2.js.LEGAL.txt +0 -3
  543. package/dist/calcite/GTIGGEIV.js.LEGAL.txt +0 -3
  544. package/dist/calcite/GTUVAAAD.js.LEGAL.txt +0 -3
  545. package/dist/calcite/H3WIGFJO.js.LEGAL.txt +0 -3
  546. package/dist/calcite/HAEAO4QM.js.LEGAL.txt +0 -3
  547. package/dist/calcite/HBU463EW.js.LEGAL.txt +0 -3
  548. package/dist/calcite/HJQMJ3O5.js.LEGAL.txt +0 -3
  549. package/dist/calcite/HNERZLDY.js.LEGAL.txt +0 -3
  550. package/dist/calcite/HOEPFXY4.js.LEGAL.txt +0 -3
  551. package/dist/calcite/I4FISWDK.js.LEGAL.txt +0 -3
  552. package/dist/calcite/I7DZAQ33.js.LEGAL.txt +0 -3
  553. package/dist/calcite/IQQJKKQR.js.LEGAL.txt +0 -3
  554. package/dist/calcite/IRUMOVZZ.js.LEGAL.txt +0 -3
  555. package/dist/calcite/J5XEWZHE.js.LEGAL.txt +0 -3
  556. package/dist/calcite/JAL66H3J.js.LEGAL.txt +0 -3
  557. package/dist/calcite/JATMHESF.js.LEGAL.txt +0 -3
  558. package/dist/calcite/JBY373VQ.js.LEGAL.txt +0 -3
  559. package/dist/calcite/JDNJDXBT.js.LEGAL.txt +0 -3
  560. package/dist/calcite/JDWLRXMB.js.LEGAL.txt +0 -3
  561. package/dist/calcite/JFS56TST.js.LEGAL.txt +0 -3
  562. package/dist/calcite/KO2HPSDS.js.LEGAL.txt +0 -3
  563. package/dist/calcite/KPX237YH.js.LEGAL.txt +0 -3
  564. package/dist/calcite/LAKJK7HL.js.LEGAL.txt +0 -3
  565. package/dist/calcite/LEGWZZ3C.js.LEGAL.txt +0 -3
  566. package/dist/calcite/LI2EINF7.js.LEGAL.txt +0 -3
  567. package/dist/calcite/LIPUTT6N.js.LEGAL.txt +0 -3
  568. package/dist/calcite/LWUNC2OP.js.LEGAL.txt +0 -3
  569. package/dist/calcite/LZ3V33XC.js.LEGAL.txt +0 -3
  570. package/dist/calcite/M3UZ4E5H.js.LEGAL.txt +0 -3
  571. package/dist/calcite/M4H4WLVH.js.LEGAL.txt +0 -3
  572. package/dist/calcite/MBN54URU.js.LEGAL.txt +0 -3
  573. package/dist/calcite/MG5IOFW7.js.LEGAL.txt +0 -3
  574. package/dist/calcite/MN5ZMGDP.js.LEGAL.txt +0 -3
  575. package/dist/calcite/MR5UPVPG.js.LEGAL.txt +0 -3
  576. package/dist/calcite/MSCFVCHB.js.LEGAL.txt +0 -3
  577. package/dist/calcite/MUFGKP4E.js.LEGAL.txt +0 -3
  578. package/dist/calcite/MXQCR7YF.js.LEGAL.txt +0 -3
  579. package/dist/calcite/MZDX2RGO.js.LEGAL.txt +0 -3
  580. package/dist/calcite/N63BZNBM.js.LEGAL.txt +0 -3
  581. package/dist/calcite/NCWK6WJU.js.LEGAL.txt +0 -3
  582. package/dist/calcite/NDM46TRI.js.LEGAL.txt +0 -3
  583. package/dist/calcite/NH2FREQY.js.LEGAL.txt +0 -3
  584. package/dist/calcite/NLQEJQ5J.js.LEGAL.txt +0 -3
  585. package/dist/calcite/NODTVZ24.js.LEGAL.txt +0 -3
  586. package/dist/calcite/NYCLULH3.js.LEGAL.txt +0 -3
  587. package/dist/calcite/OPWA55SD.js.LEGAL.txt +0 -3
  588. package/dist/calcite/OQGS3D3N.js.LEGAL.txt +0 -3
  589. package/dist/calcite/OSZVSWGU.js.LEGAL.txt +0 -3
  590. package/dist/calcite/P2CTJE5E.js.LEGAL.txt +0 -3
  591. package/dist/calcite/P2XP2NHT.js.LEGAL.txt +0 -3
  592. package/dist/calcite/P3RLUM2B.js +0 -4
  593. package/dist/calcite/P3RLUM2B.js.LEGAL.txt +0 -3
  594. package/dist/calcite/P6C3W6FL.js.LEGAL.txt +0 -3
  595. package/dist/calcite/PENLWMB3.js.LEGAL.txt +0 -3
  596. package/dist/calcite/PLJALAVQ.js.LEGAL.txt +0 -3
  597. package/dist/calcite/POGNNNSN.js.LEGAL.txt +0 -3
  598. package/dist/calcite/PW6UBKVH.js.LEGAL.txt +0 -3
  599. package/dist/calcite/PYM6655A.js.LEGAL.txt +0 -3
  600. package/dist/calcite/QFOJGUH4.js.LEGAL.txt +0 -3
  601. package/dist/calcite/QJMY6HK4.js.LEGAL.txt +0 -3
  602. package/dist/calcite/QJN3Y7KP.js.LEGAL.txt +0 -3
  603. package/dist/calcite/QRBR6VUO.js.LEGAL.txt +0 -3
  604. package/dist/calcite/QVKJQIOF.js.LEGAL.txt +0 -3
  605. package/dist/calcite/R3CUJDU2.js.LEGAL.txt +0 -3
  606. package/dist/calcite/R5NIHVIX.js.LEGAL.txt +0 -3
  607. package/dist/calcite/R7U5O4YW.js.LEGAL.txt +0 -3
  608. package/dist/calcite/RI5ZWQGD.js.LEGAL.txt +0 -3
  609. package/dist/calcite/RLN7DR35.js.LEGAL.txt +0 -3
  610. package/dist/calcite/RN6G4AJW.js.LEGAL.txt +0 -3
  611. package/dist/calcite/SEHADNF3.js.LEGAL.txt +0 -3
  612. package/dist/calcite/SKKGAAMO.js.LEGAL.txt +0 -3
  613. package/dist/calcite/SQNNHAAG.js.LEGAL.txt +0 -3
  614. package/dist/calcite/T3TLDID7.js.LEGAL.txt +0 -3
  615. package/dist/calcite/T4ISGVVX.js.LEGAL.txt +0 -3
  616. package/dist/calcite/TGV7EMNU.js.LEGAL.txt +0 -3
  617. package/dist/calcite/TH2HXM2T.js.LEGAL.txt +0 -3
  618. package/dist/calcite/THZPNFDC.js.LEGAL.txt +0 -3
  619. package/dist/calcite/TSHHVAZ7.js.LEGAL.txt +0 -3
  620. package/dist/calcite/TYKK4ZDP.js.LEGAL.txt +0 -3
  621. package/dist/calcite/V6MACRDH.js.LEGAL.txt +0 -3
  622. package/dist/calcite/VGUJWIE3.js.LEGAL.txt +0 -3
  623. package/dist/calcite/VHLIF5DY.js.LEGAL.txt +0 -3
  624. package/dist/calcite/VUEY5X5A.js.LEGAL.txt +0 -3
  625. package/dist/calcite/VYRPNOIH.js.LEGAL.txt +0 -3
  626. package/dist/calcite/WL7KPPYH.js.LEGAL.txt +0 -3
  627. package/dist/calcite/WN6CJLMD.js +0 -4
  628. package/dist/calcite/WN6CJLMD.js.LEGAL.txt +0 -3
  629. package/dist/calcite/XLQJWLJR.js.LEGAL.txt +0 -3
  630. package/dist/calcite/XQSZJ5CG.js.LEGAL.txt +0 -3
  631. package/dist/calcite/XVSPBUCP.js.LEGAL.txt +0 -3
  632. package/dist/calcite/Y2E6XYEE.js.LEGAL.txt +0 -3
  633. package/dist/calcite/Y5A3EQS4.js.LEGAL.txt +0 -3
  634. package/dist/calcite/YBIDORYE.js.LEGAL.txt +0 -3
  635. package/dist/calcite/YPHDMEZE.js.LEGAL.txt +0 -3
  636. package/dist/calcite/Z2N3ZD66.js.LEGAL.txt +0 -3
  637. package/dist/calcite/Z646UZFI.js.LEGAL.txt +0 -3
  638. package/dist/calcite/Z6VHOIAN.js.LEGAL.txt +0 -3
  639. package/dist/calcite/Z7EIB7KP.js.LEGAL.txt +0 -3
  640. package/dist/calcite/ZMFN7VKF.js.LEGAL.txt +0 -3
  641. package/dist/calcite/ZS2B2AF5.js.LEGAL.txt +0 -3
  642. /package/dist/calcite/{W7YWLFKG.js.LEGAL.txt → 5NQUZRDM.js.LEGAL.txt} +0 -0
  643. /package/dist/calcite/{A4XLCDLZ.js.LEGAL.txt → 6GM27GBO.js.LEGAL.txt} +0 -0
  644. /package/dist/calcite/{U2YGN4RT.js.LEGAL.txt → 6P5PSH65.js.LEGAL.txt} +0 -0
  645. /package/dist/calcite/{2VN3YIDH.js.LEGAL.txt → DNYNDPB5.js.LEGAL.txt} +0 -0
  646. /package/dist/calcite/{RFI4KO6W.js.LEGAL.txt → HPNQQK6A.js.LEGAL.txt} +0 -0
  647. /package/dist/calcite/{CLRL273B.js.LEGAL.txt → K3RGRXZK.js.LEGAL.txt} +0 -0
  648. /package/dist/calcite/{GRLBXAFF.js.LEGAL.txt → KDX22TPR.js.LEGAL.txt} +0 -0
  649. /package/dist/calcite/{IWDYFFAM.js.LEGAL.txt → NNTVWBBP.js.LEGAL.txt} +0 -0
  650. /package/dist/calcite/{KFEMDYAO.js.LEGAL.txt → O26R4TSO.js.LEGAL.txt} +0 -0
  651. /package/dist/calcite/{GZUOSY5I.js.LEGAL.txt → PNGIMH3C.js.LEGAL.txt} +0 -0
  652. /package/dist/calcite/{MFXMCYAU.js.LEGAL.txt → QWS3K5HU.js.LEGAL.txt} +0 -0
  653. /package/dist/calcite/{UGDRDJPA.js.LEGAL.txt → RGO4YDKF.js.LEGAL.txt} +0 -0
  654. /package/dist/calcite/{WIUS56JI.js.LEGAL.txt → U52EKICH.js.LEGAL.txt} +0 -0
  655. /package/dist/calcite/{XCW4TOV5.js.LEGAL.txt → YD2UXF4G.js.LEGAL.txt} +0 -0
@@ -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.2.0-next.39 */
4
- import{l as G}from"./7CQ233AJ.js";import{a as x}from"./W7YWLFKG.js";import{c as W,e as j,f as A,h as K}from"./3VLVDWSS.js";import{c as H,d as q}from"./7T7MTXSU.js";import{a as _,b as U}from"./DTAEBKT4.js";import{a as R}from"./GZUOSY5I.js";import"./GTUVAAAD.js";import{a as N}from"./24OTRUCC.js";import{b as k}from"./U2YGN4RT.js";import"./LLN5DNPL.js";import{d as V}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{C as E,K as M,e as D,g as I,k as v,w as b,x as P,y as z}from"./MZMZSY5A.js";var te={offset:"offset"},oe=60;function $(t){return t.replace(":15",".25").replace(":30",".5").replace(":45",".75").replace("\u2212","-")}function se(t,e){let o=w(t,"en-US",e).replace("GMT","");return o===""?0:Number($(o))*oe}function ae(){return new Date().getTimezoneOffset()*-1}function ie(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}async function ne(t){if(t==="offset")return o=>o;let{normalize:e}=await import("./IWDYFFAM.js");return e}async function le(t,e,o,s,n){if(o==="name"){let{groupByName:a}=await import("./KFEMDYAO.js");return(await a()).map(({label:i})=>({label:i,value:i,metadata:{filterValue:i}})).filter(i=>!!i).sort()}let r=n==="user"?t:n==="utc"?"fr":"en-GB",d=s.getTime();if(o==="region"){let[{groupByRegion:a},{getCountry:c,global:i}]=await Promise.all([import("./A4XLCDLZ.js"),import("./XCW4TOV5.js")]);return(await a()).map(({label:m,tzs:u})=>(u.sort((h,f)=>{let y=T(h,e),Z=T(f,e),p="Etc/GMT";if(h.startsWith(p)&&f.startsWith(p)){let g=h.substring(p.length),L=f.substring(p.length),ee=g===""?0:parseInt(g);return(L===""?0:parseInt(L))-ee}return y.localeCompare(Z)}),{label:O(e,m),items:u.map(h=>{let f=$(w(h,r,d)),y=T(h,e),Z=m===i?`${T(i,e)} Etc`:J(h),p=c(h),g=O(e,p);return{label:y,value:h,metadata:{country:g===y?void 0:g,filterValue:Z,offset:f}}})})).sort((m,u)=>m.label===i?-1:u.label===i?1:m.label.localeCompare(u.label))}let[{groupByOffset:C},{DateEngine:X}]=await Promise.all([import("./UGDRDJPA.js"),import("./WIUS56JI.js")]),F=await C({dateEngine:new X,groupDateRange:1,startDate:new Date(d).toISOString()}),Y=new Intl.ListFormat(t,{style:"long",type:"conjunction"}),B=["Factory","Etc/UTC"];return F.forEach(a=>{let c=[],i=0;a.tzs.forEach((l,m)=>{B.includes(l)&&i++,c[m]=i}),a.tzs=a.tzs.filter(l=>!B.includes(l)),a.labelTzIdx=a.labelTzIdx.map(l=>l-c[l]).filter(l=>l>=0&&l<a.tzs.length)}),F.map(({labelTzIdx:a,tzs:c})=>{let i=c[0],l=$(w(i,r,d)),m=se(i,d),u=a.map(f=>T(c[f],e));return{label:me(e,l,Y.format(u)),value:m,metadata:{filterValue:c.map(f=>J(f))}}}).filter(a=>!!a).sort((a,c)=>a.value-c.value)}function T(t,e){return e[t]||ce(t)}function re(t,e,o){return o.timeZoneRegionLabel.replace("{city}",t).replace("{country}",O(o,e))}function O(t,e){return t[e]||e}function ce(t){return t.split("/").pop()}function J(t){return t.replace(/_/g," ")}function me(t,e,o){return t.timeZoneLabel.replace("{offset}",e).replace("{cities}",o)}function w(t,e,o=Date.now()){return t==="Factory"&&(t="Etc/GMT"),G(e,{timeZone:t,timeZoneName:"shortOffset"}).formatToParts(o).find(({type:r})=>r==="timeZoneName").value}function he(t){return t.items!==void 0}function fe(t){return he(t[0])?t.flatMap(e=>e.items):t}function Q(t,e,o){return o==null?null:fe(t).find(s=>s[e]==o)}var de=D`: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:block}.offset{white-space:nowrap}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::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}`,S=class extends P{constructor(){super(...arguments),this.clearable=!1,this.disabled=!1,this.maxItems=0,this.messages=N({blocking:!0}),this.mode="offset",this.offsetStyle="user",this.open=!1,this.overlayPositioning="absolute",this.readOnly=!1,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.calciteInputTimeZoneBeforeClose=b({cancelable:!1}),this.calciteInputTimeZoneBeforeOpen=b({cancelable:!1}),this.calciteInputTimeZoneChange=b({cancelable:!1}),this.calciteInputTimeZoneClose=b({cancelable:!1}),this.calciteInputTimeZoneOpen=b({cancelable:!1})}static{this.properties={clearable:[7,{reflect:!0,type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],maxItems:[11,{reflect:!0,type:Number}],messageOverrides:[0,{attribute:!1}],mode:[3,{reflect:!0}],name:[3,{reflect:!0}],offsetStyle:[3,{reflect:!0}],open:[7,{reflect:!0,type:Boolean}],overlayPositioning:[3,{reflect:!0}],readOnly:[7,{reflect:!0,type:Boolean}],referenceDate:1,required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:E}],validationMessage:1,validity:[0,{attribute:!1}],value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=de}get value(){return this._value}set value(e){this._value=e}async setFocus(){await V(this),await this.comboboxEl.setFocus()}connectedCallback(){super.connectedCallback(),W(this),H(this)}async load(){this.normalizer=await ne(this.mode),await this.updateTimeZoneItems();let e=this.value,o=this.normalizeValue(e);this.value=o||(e===""?o:void 0),this.updateTimeZoneSelection();let s=this.selectedTimeZoneItem?`${this.selectedTimeZoneItem.value}`:"";A(this,s),this.value=s}willUpdate(e){e.has("value")&&this.hasUpdated&&this.handleValueChange(this.value,e.get("value")),(e.has("messages")||e.has("mode")&&(this.hasUpdated||this.mode!=="offset")||e.has("referenceDate"))&&this.handleTimeZoneItemPropsChange(),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openChanged()}updated(){_(this)}loaded(){this.overrideSelectedLabelForRegion(this.open),this.openChanged()}disconnectedCallback(){super.disconnectedCallback(),j(this),q(this)}async handleTimeZoneItemPropsChange(){!this.timeZoneItems||!this.hasUpdated||(await this.updateTimeZoneItems(),this.updateTimeZoneSelection())}openChanged(){this.comboboxEl&&(this.comboboxEl.open=this.open)}async handleValueChange(e,o){let s=this.normalizeValue(e);if(!s){if(this.clearable){this._value=s,this.selectedTimeZoneItem=null;return}this._value=o,this.selectedTimeZoneItem=this.findTimeZoneItem(o);return}let n=this.findTimeZoneItem(s);if(!n){this._value=o;return}this._value=s,this.selectedTimeZoneItem=n,s!==e&&(await this.updateComplete,this.overrideSelectedLabelForRegion(this.open))}onLabelClick(){this.setFocus()}setComboboxRef(e){this.comboboxEl=e}overrideSelectedLabelForRegion(e){if(this.mode!=="region"||!this.selectedTimeZoneItem)return;let{label:o,metadata:s}=this.selectedTimeZoneItem;this.comboboxEl.selectedItems[0].textLabel=!s.country||e?o:re(o,s.country,this.messages)}onComboboxBeforeClose(e){e.stopPropagation(),this.overrideSelectedLabelForRegion(!1),this.calciteInputTimeZoneBeforeClose.emit()}onComboboxBeforeOpen(e){e.stopPropagation(),this.overrideSelectedLabelForRegion(!0),this.calciteInputTimeZoneBeforeOpen.emit()}onComboboxChange(e){e.stopPropagation();let s=e.target.selectedItems[0];if(!s){this._value="",this.selectedTimeZoneItem=null,this.calciteInputTimeZoneChange.emit();return}let n=this.findTimeZoneItemByLabel(s.getAttribute("data-label")),r=`${n.value}`;this.value===r&&n.label===this.selectedTimeZoneItem.label||(this._value=r,this.selectedTimeZoneItem=n,this.calciteInputTimeZoneChange.emit())}onComboboxClose(e){e.stopPropagation(),this.open=!1,this.calciteInputTimeZoneClose.emit()}onComboboxOpen(e){this.open=!0,e.stopPropagation(),this.calciteInputTimeZoneOpen.emit()}findTimeZoneItem(e){return Q(this.timeZoneItems,"value",e)}findTimeZoneItemByLabel(e){return Q(this.timeZoneItems,"label",e)}async updateTimeZoneItems(){this.timeZoneItems=await this.createTimeZoneItems()}updateTimeZoneSelection(){if(this.value===""&&this.clearable){this.selectedTimeZoneItem=null;return}let e=this.mode==="offset"?ae():ie(),o=this.value===""||!this.value?e:this.value;this.selectedTimeZoneItem=this.findTimeZoneItem(o)||this.findTimeZoneItem(e)}async createTimeZoneItems(){return!this.messages._lang||!this.messages?[]:le(this.messages._lang,this.messages,this.mode,this.referenceDate instanceof Date?this.referenceDate:new Date(this.referenceDate??Date.now()),this.offsetStyle)}normalizeValue(e){return e=e===void 0?"":e,e&&this.normalizer(e)}render(){return U({disabled:this.disabled,children:I`<calcite-combobox .clearDisabled=${!this.clearable} .disabled=${this.disabled} .label=${this.messages.chooseTimeZone} lang=${this.messages._lang??v} .maxItems=${this.maxItems} @calciteComboboxBeforeClose=${this.onComboboxBeforeClose} @calciteComboboxBeforeOpen=${this.onComboboxBeforeOpen} @calciteComboboxChange=${this.onComboboxChange} @calciteComboboxClose=${this.onComboboxClose} @calciteComboboxOpen=${this.onComboboxOpen} .overlayPositioning=${this.overlayPositioning} .placeholder=${this.mode==="name"?this.messages.namePlaceholder:this.mode==="offset"?this.messages.offsetPlaceholder:this.messages.regionPlaceholder} placeholder-icon=search .readOnly=${this.readOnly} .scale=${this.scale} .selectionMode=${this.clearable?"single":"single-persist"} .status=${this.status} .validationIcon=${this.validationIcon} .validationMessage=${this.validationMessage} ${k(this.setComboboxRef)}>${this.renderItems()}</calcite-combobox>${K({component:this})}`})}renderItems(){return this.mode==="region"?this.renderRegionItems():x(this.timeZoneItems,({label:e})=>e,e=>{let o=this.selectedTimeZoneItem===e,{label:s,metadata:n,value:r}=e;return I`<calcite-combobox-item data-label=${s??v} .metadata=${n} .selected=${o} .textLabel=${s} .value=${r}></calcite-combobox-item>`})}renderRegionItems(){return this.timeZoneItems.flatMap(({label:e,items:o})=>R(e,I`<calcite-combobox-item-group .label=${e}>${x(o,({label:s})=>s,s=>{let n=this.selectedTimeZoneItem===s,{label:r,metadata:d,value:C}=s;return I`<calcite-combobox-item data-label=${r??v} .description=${d.country} .metadata=${d} .selected=${n} .textLabel=${r} .value=${C}><span class=${z(te.offset)} slot=content-end>${d.offset}</span></calcite-combobox-item>`})}</calcite-combobox-item-group>`))}};M("calcite-input-time-zone",S);export{S as InputTimeZone};
3
+ v3.2.0-next.40 */
4
+ import{l as G}from"./XZK2I4C2.js";import{a as x}from"./5NQUZRDM.js";import{c as W,e as j,f as A,h as K}from"./4KFIUD2B.js";import{c as H,d as q}from"./FR4VAYJC.js";import{a as _,b as U}from"./KOH7CJJ2.js";import{a as R}from"./PNGIMH3C.js";import"./VIJYQUPS.js";import{a as N}from"./7EKOSZOZ.js";import{b as k}from"./6P5PSH65.js";import"./4JEZM6VX.js";import{d as V}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{C as E,K as M,e as D,g as I,k as v,w as b,x as P,y as z}from"./EYWRTO2E.js";var te={offset:"offset"},oe=60;function $(t){return t.replace(":15",".25").replace(":30",".5").replace(":45",".75").replace("\u2212","-")}function se(t,e){let o=w(t,"en-US",e).replace("GMT","");return o===""?0:Number($(o))*oe}function ae(){return new Date().getTimezoneOffset()*-1}function ie(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}async function ne(t){if(t==="offset")return o=>o;let{normalize:e}=await import("./KDX22TPR.js");return e}async function le(t,e,o,s,n){if(o==="name"){let{groupByName:a}=await import("./O26R4TSO.js");return(await a()).map(({label:i})=>({label:i,value:i,metadata:{filterValue:i}})).filter(i=>!!i).sort()}let r=n==="user"?t:n==="utc"?"fr":"en-GB",d=s.getTime();if(o==="region"){let[{groupByRegion:a},{getCountry:c,global:i}]=await Promise.all([import("./6GM27GBO.js"),import("./U52EKICH.js")]);return(await a()).map(({label:m,tzs:u})=>(u.sort((h,f)=>{let y=T(h,e),Z=T(f,e),p="Etc/GMT";if(h.startsWith(p)&&f.startsWith(p)){let g=h.substring(p.length),L=f.substring(p.length),ee=g===""?0:parseInt(g);return(L===""?0:parseInt(L))-ee}return y.localeCompare(Z)}),{label:O(e,m),items:u.map(h=>{let f=$(w(h,r,d)),y=T(h,e),Z=m===i?`${T(i,e)} Etc`:J(h),p=c(h),g=O(e,p);return{label:y,value:h,metadata:{country:g===y?void 0:g,filterValue:Z,offset:f}}})})).sort((m,u)=>m.label===i?-1:u.label===i?1:m.label.localeCompare(u.label))}let[{groupByOffset:C},{DateEngine:X}]=await Promise.all([import("./NNTVWBBP.js"),import("./RGO4YDKF.js")]),F=await C({dateEngine:new X,groupDateRange:1,startDate:new Date(d).toISOString()}),Y=new Intl.ListFormat(t,{style:"long",type:"conjunction"}),B=["Factory","Etc/UTC"];return F.forEach(a=>{let c=[],i=0;a.tzs.forEach((l,m)=>{B.includes(l)&&i++,c[m]=i}),a.tzs=a.tzs.filter(l=>!B.includes(l)),a.labelTzIdx=a.labelTzIdx.map(l=>l-c[l]).filter(l=>l>=0&&l<a.tzs.length)}),F.map(({labelTzIdx:a,tzs:c})=>{let i=c[0],l=$(w(i,r,d)),m=se(i,d),u=a.map(f=>T(c[f],e));return{label:me(e,l,Y.format(u)),value:m,metadata:{filterValue:c.map(f=>J(f))}}}).filter(a=>!!a).sort((a,c)=>a.value-c.value)}function T(t,e){return e[t]||ce(t)}function re(t,e,o){return o.timeZoneRegionLabel.replace("{city}",t).replace("{country}",O(o,e))}function O(t,e){return t[e]||e}function ce(t){return t.split("/").pop()}function J(t){return t.replace(/_/g," ")}function me(t,e,o){return t.timeZoneLabel.replace("{offset}",e).replace("{cities}",o)}function w(t,e,o=Date.now()){return t==="Factory"&&(t="Etc/GMT"),G(e,{timeZone:t,timeZoneName:"shortOffset"}).formatToParts(o).find(({type:r})=>r==="timeZoneName").value}function he(t){return t.items!==void 0}function fe(t){return he(t[0])?t.flatMap(e=>e.items):t}function Q(t,e,o){return o==null?null:fe(t).find(s=>s[e]==o)}var de=D`: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:block}.offset{white-space:nowrap}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::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}`,S=class extends P{constructor(){super(...arguments),this.clearable=!1,this.disabled=!1,this.maxItems=0,this.messages=N({blocking:!0}),this.mode="offset",this.offsetStyle="user",this.open=!1,this.overlayPositioning="absolute",this.readOnly=!1,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.calciteInputTimeZoneBeforeClose=b({cancelable:!1}),this.calciteInputTimeZoneBeforeOpen=b({cancelable:!1}),this.calciteInputTimeZoneChange=b({cancelable:!1}),this.calciteInputTimeZoneClose=b({cancelable:!1}),this.calciteInputTimeZoneOpen=b({cancelable:!1})}static{this.properties={clearable:[7,{reflect:!0,type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],maxItems:[11,{reflect:!0,type:Number}],messageOverrides:[0,{attribute:!1}],mode:[3,{reflect:!0}],name:[3,{reflect:!0}],offsetStyle:[3,{reflect:!0}],open:[7,{reflect:!0,type:Boolean}],overlayPositioning:[3,{reflect:!0}],readOnly:[7,{reflect:!0,type:Boolean}],referenceDate:1,required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:E}],validationMessage:1,validity:[0,{attribute:!1}],value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=de}get value(){return this._value}set value(e){this._value=e}async setFocus(){await V(this),await this.comboboxEl.setFocus()}connectedCallback(){super.connectedCallback(),W(this),H(this)}async load(){this.normalizer=await ne(this.mode),await this.updateTimeZoneItems();let e=this.value,o=this.normalizeValue(e);this.value=o||(e===""?o:void 0),this.updateTimeZoneSelection();let s=this.selectedTimeZoneItem?`${this.selectedTimeZoneItem.value}`:"";A(this,s),this.value=s}willUpdate(e){e.has("value")&&this.hasUpdated&&this.handleValueChange(this.value,e.get("value")),(e.has("messages")||e.has("mode")&&(this.hasUpdated||this.mode!=="offset")||e.has("referenceDate"))&&this.handleTimeZoneItemPropsChange(),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openChanged()}updated(){_(this)}loaded(){this.overrideSelectedLabelForRegion(this.open),this.openChanged()}disconnectedCallback(){super.disconnectedCallback(),j(this),q(this)}async handleTimeZoneItemPropsChange(){!this.timeZoneItems||!this.hasUpdated||(await this.updateTimeZoneItems(),this.updateTimeZoneSelection())}openChanged(){this.comboboxEl&&(this.comboboxEl.open=this.open)}async handleValueChange(e,o){let s=this.normalizeValue(e);if(!s){if(this.clearable){this._value=s,this.selectedTimeZoneItem=null;return}this._value=o,this.selectedTimeZoneItem=this.findTimeZoneItem(o);return}let n=this.findTimeZoneItem(s);if(!n){this._value=o;return}this._value=s,this.selectedTimeZoneItem=n,s!==e&&(await this.updateComplete,this.overrideSelectedLabelForRegion(this.open))}onLabelClick(){this.setFocus()}setComboboxRef(e){this.comboboxEl=e}overrideSelectedLabelForRegion(e){if(this.mode!=="region"||!this.selectedTimeZoneItem)return;let{label:o,metadata:s}=this.selectedTimeZoneItem;this.comboboxEl.selectedItems[0].textLabel=!s.country||e?o:re(o,s.country,this.messages)}onComboboxBeforeClose(e){e.stopPropagation(),this.overrideSelectedLabelForRegion(!1),this.calciteInputTimeZoneBeforeClose.emit()}onComboboxBeforeOpen(e){e.stopPropagation(),this.overrideSelectedLabelForRegion(!0),this.calciteInputTimeZoneBeforeOpen.emit()}onComboboxChange(e){e.stopPropagation();let s=e.target.selectedItems[0];if(!s){this._value="",this.selectedTimeZoneItem=null,this.calciteInputTimeZoneChange.emit();return}let n=this.findTimeZoneItemByLabel(s.getAttribute("data-label")),r=`${n.value}`;this.value===r&&n.label===this.selectedTimeZoneItem.label||(this._value=r,this.selectedTimeZoneItem=n,this.calciteInputTimeZoneChange.emit())}onComboboxClose(e){e.stopPropagation(),this.open=!1,this.calciteInputTimeZoneClose.emit()}onComboboxOpen(e){this.open=!0,e.stopPropagation(),this.calciteInputTimeZoneOpen.emit()}findTimeZoneItem(e){return Q(this.timeZoneItems,"value",e)}findTimeZoneItemByLabel(e){return Q(this.timeZoneItems,"label",e)}async updateTimeZoneItems(){this.timeZoneItems=await this.createTimeZoneItems()}updateTimeZoneSelection(){if(this.value===""&&this.clearable){this.selectedTimeZoneItem=null;return}let e=this.mode==="offset"?ae():ie(),o=this.value===""||!this.value?e:this.value;this.selectedTimeZoneItem=this.findTimeZoneItem(o)||this.findTimeZoneItem(e)}async createTimeZoneItems(){return!this.messages._lang||!this.messages?[]:le(this.messages._lang,this.messages,this.mode,this.referenceDate instanceof Date?this.referenceDate:new Date(this.referenceDate??Date.now()),this.offsetStyle)}normalizeValue(e){return e=e===void 0?"":e,e&&this.normalizer(e)}render(){return U({disabled:this.disabled,children:I`<calcite-combobox .clearDisabled=${!this.clearable} .disabled=${this.disabled} .label=${this.messages.chooseTimeZone} lang=${this.messages._lang??v} .maxItems=${this.maxItems} @calciteComboboxBeforeClose=${this.onComboboxBeforeClose} @calciteComboboxBeforeOpen=${this.onComboboxBeforeOpen} @calciteComboboxChange=${this.onComboboxChange} @calciteComboboxClose=${this.onComboboxClose} @calciteComboboxOpen=${this.onComboboxOpen} .overlayPositioning=${this.overlayPositioning} .placeholder=${this.mode==="name"?this.messages.namePlaceholder:this.mode==="offset"?this.messages.offsetPlaceholder:this.messages.regionPlaceholder} placeholder-icon=search .readOnly=${this.readOnly} .scale=${this.scale} .selectionMode=${this.clearable?"single":"single-persist"} .status=${this.status} .validationIcon=${this.validationIcon} .validationMessage=${this.validationMessage} ${k(this.setComboboxRef)}>${this.renderItems()}</calcite-combobox>${K({component:this})}`})}renderItems(){return this.mode==="region"?this.renderRegionItems():x(this.timeZoneItems,({label:e})=>e,e=>{let o=this.selectedTimeZoneItem===e,{label:s,metadata:n,value:r}=e;return I`<calcite-combobox-item data-label=${s??v} .metadata=${n} .selected=${o} .textLabel=${s} .value=${r}></calcite-combobox-item>`})}renderRegionItems(){return this.timeZoneItems.flatMap(({label:e,items:o})=>R(e,I`<calcite-combobox-item-group .label=${e}>${x(o,({label:s})=>s,s=>{let n=this.selectedTimeZoneItem===s,{label:r,metadata:d,value:C}=s;return I`<calcite-combobox-item data-label=${r??v} .description=${d.country} .metadata=${d} .selected=${n} .textLabel=${r} .value=${C}><span class=${z(te.offset)} slot=content-end>${d.offset}</span></calcite-combobox-item>`})}</calcite-combobox-item-group>`))}};M("calcite-input-time-zone",S);export{S as InputTimeZone};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{a as c}from"./JATMHESF.js";import{a as d}from"./DX4BEDZ3.js";import{K as a,e as s,g as t,w as i,x as l,y as o}from"./MZMZSY5A.js";var n={title:"dropdown-title",separator:"dropdown-separator"},h=s`:host{display:block}.container{text-align:start}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;font-weight:var(--calcite-font-weight-bold);border-color:var(--calcite-dropdown-group-border-color, var(--calcite-color-border-3));color:var(--calcite-dropdown-group-title-text-color, var(--calcite-color-text-2))}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-dropdown-group-border-color, var(--calcite-color-border-3))}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .dropdown-title{padding:.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .dropdown-title{padding:.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .dropdown-title{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}`,r=class extends l{constructor(){super(),this.mutationObserver=d("mutation",()=>this.updateItems()),this.position=-1,this.scale="m",this.selectionMode="single",this.calciteInternalDropdownItemChange=i({cancelable:!1}),this.listen("calciteInternalDropdownItemSelect",this.updateActiveItemOnChange)}static{this.properties={groupTitle:[3,{reflect:!0}],position:[9,{type:Number}],scale:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=h}connectedCallback(){super.connectedCallback(),this.updateItems(),this.mutationObserver?.observe(this.el,{childList:!0})}willUpdate(e){e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="single")&&this.updateItems()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}updateActiveItemOnChange(e){this.requestedDropdownGroup=e.detail.requestedDropdownGroup,this.requestedDropdownItem=e.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}updateItems(){Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach(e=>e.selectionMode=this.selectionMode)}render(){let e=this.groupTitle?t`<span aria-hidden=true class=${o(n.title)}>${this.groupTitle}</span>`:null,p=this.position>0?t`<div class=${o(n.separator)} role=separator></div>`:null;return this.el.ariaLabel=this.groupTitle,this.el.role="group",t`<div class=${o({[c.container]:!0})}>${p}${e}<slot></slot></div>`}};a("calcite-dropdown-group",r);export{r as DropdownGroup};
3
+ v3.2.0-next.40 */
4
+ import{a as c}from"./JQMONEIC.js";import{a as d}from"./VYNVOZVL.js";import{K as a,e as s,g as t,w as i,x as l,y as o}from"./EYWRTO2E.js";var n={title:"dropdown-title",separator:"dropdown-separator"},h=s`:host{display:block}.container{text-align:start}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;font-weight:var(--calcite-font-weight-bold);border-color:var(--calcite-dropdown-group-border-color, var(--calcite-color-border-3));color:var(--calcite-dropdown-group-title-text-color, var(--calcite-color-text-2))}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-dropdown-group-border-color, var(--calcite-color-border-3))}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .dropdown-title{padding:.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .dropdown-title{padding:.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .dropdown-title{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}`,r=class extends l{constructor(){super(),this.mutationObserver=d("mutation",()=>this.updateItems()),this.position=-1,this.scale="m",this.selectionMode="single",this.calciteInternalDropdownItemChange=i({cancelable:!1}),this.listen("calciteInternalDropdownItemSelect",this.updateActiveItemOnChange)}static{this.properties={groupTitle:[3,{reflect:!0}],position:[9,{type:Number}],scale:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=h}connectedCallback(){super.connectedCallback(),this.updateItems(),this.mutationObserver?.observe(this.el,{childList:!0})}willUpdate(e){e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="single")&&this.updateItems()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}updateActiveItemOnChange(e){this.requestedDropdownGroup=e.detail.requestedDropdownGroup,this.requestedDropdownItem=e.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}updateItems(){Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach(e=>e.selectionMode=this.selectionMode)}render(){let e=this.groupTitle?t`<span aria-hidden=true class=${o(n.title)}>${this.groupTitle}</span>`:null,p=this.position>0?t`<div class=${o(n.separator)} role=separator></div>`:null;return this.el.ariaLabel=this.groupTitle,this.el.role="group",t`<div class=${o({[c.container]:!0})}>${p}${e}<slot></slot></div>`}};a("calcite-dropdown-group",r);export{r as DropdownGroup};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{p as e}from"./LLN5DNPL.js";import"./R3CUJDU2.js";import{B as n,C as a,K as l,e as c,g as i,x as o}from"./MZMZSY5A.js";var r={valid:"check-circle",invalid:"exclamation-mark-triangle",idle:"information"},u=c`:host{box-sizing:border-box;display:flex;block-size:auto;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);opacity:1;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;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;margin-block-start:var(--calcite-input-message-spacing, var(--calcite-input-message-spacing-value, var(--calcite-spacing-xxs)))}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;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;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;margin-inline-end:var(--calcite-spacing-sm)}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-input-message-icon-color, var(--calcite-icon-color, var(--calcite-color-status-danger)))}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-input-message-icon-color, var(--calcite-icon-color, var(--calcite-color-status-warning)))}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-input-message-icon-color, var(--calcite-icon-color, var(--calcite-color-status-success)))}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-input-message-icon-color, var(--calcite-icon-color, var(--calcite-color-brand)))}:host([scale=s]){font-size:var(--calcite-font-size--3);line-height:.75rem}:host([scale=m]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends o{constructor(){super(...arguments),this.iconFlipRtl=!1,this.scale="m",this.status="idle"}static{this.properties={icon:[3,{reflect:!0,converter:a}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}]}}static{this.styles=u}connectedCallback(){super.connectedCallback(),this.requestedIcon=e(r,this.icon,this.status)}willUpdate(t){(t.has("status")&&(this.hasUpdated||this.status!=="idle")||t.has("icon"))&&(this.requestedIcon=e(r,this.icon,this.status))}render(){let t=this.el.hidden;return n(this.el,"calcite-hydrated-hidden",t),i`${this.renderIcon(this.requestedIcon)}<slot></slot>`}renderIcon(t){if(t)return i`<calcite-icon class="calcite-input-message-icon" .flipRtl=${this.iconFlipRtl} .icon=${t} scale=s></calcite-icon>`}};l("calcite-input-message",s);export{s as InputMessage};
3
+ v3.2.0-next.40 */
4
+ import{p as e}from"./4JEZM6VX.js";import"./6DCGXB5R.js";import{B as n,C as a,K as l,e as c,g as i,x as o}from"./EYWRTO2E.js";var r={valid:"check-circle",invalid:"exclamation-mark-triangle",idle:"information"},u=c`:host{box-sizing:border-box;display:flex;block-size:auto;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);opacity:1;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;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;margin-block-start:var(--calcite-input-message-spacing, var(--calcite-input-message-spacing-value, var(--calcite-spacing-xxs)))}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;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;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;margin-inline-end:var(--calcite-spacing-sm)}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-input-message-icon-color, var(--calcite-icon-color, var(--calcite-color-status-danger)))}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-input-message-icon-color, var(--calcite-icon-color, var(--calcite-color-status-warning)))}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-input-message-icon-color, var(--calcite-icon-color, var(--calcite-color-status-success)))}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-input-message-icon-color, var(--calcite-icon-color, var(--calcite-color-brand)))}:host([scale=s]){font-size:var(--calcite-font-size--3);line-height:.75rem}:host([scale=m]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends o{constructor(){super(...arguments),this.iconFlipRtl=!1,this.scale="m",this.status="idle"}static{this.properties={icon:[3,{reflect:!0,converter:a}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],status:[3,{reflect:!0}]}}static{this.styles=u}connectedCallback(){super.connectedCallback(),this.requestedIcon=e(r,this.icon,this.status)}willUpdate(t){(t.has("status")&&(this.hasUpdated||this.status!=="idle")||t.has("icon"))&&(this.requestedIcon=e(r,this.icon,this.status))}render(){let t=this.el.hidden;return n(this.el,"calcite-hydrated-hidden",t),i`${this.renderIcon(this.requestedIcon)}<slot></slot>`}renderIcon(t){if(t)return i`<calcite-icon class="calcite-input-message-icon" .flipRtl=${this.iconFlipRtl} .icon=${t} scale=s></calcite-icon>`}};l("calcite-input-message",s);export{s as InputMessage};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{a,b as r}from"./DTAEBKT4.js";import{a as l}from"./QJN3Y7KP.js";import{K as i,e as t,g as s,x as o}from"./MZMZSY5A.js";var d=t`: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-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,e=class extends o{constructor(){super(...arguments),this.disabled=!1,this.layout="horizontal"}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],layout:[3,{reflect:!0}]}}static{this.styles=d}load(){l.deprecated("component",{name:"tile-select-group",removalVersion:4,suggested:["tile","tile-group"]})}updated(){a(this)}render(){return r({disabled:this.disabled,children:s`<slot></slot>`})}};i("calcite-tile-select-group",e);export{e as TileSelectGroup};
3
+ v3.2.0-next.40 */
4
+ import{a,b as r}from"./KOH7CJJ2.js";import{a as l}from"./PB3OJ43M.js";import{K as i,e as t,g as s,x as o}from"./EYWRTO2E.js";var d=t`: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-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,e=class extends o{constructor(){super(...arguments),this.disabled=!1,this.layout="horizontal"}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],layout:[3,{reflect:!0}]}}static{this.styles=d}load(){l.deprecated("component",{name:"tile-select-group",removalVersion:4,suggested:["tile","tile-group"]})}updated(){a(this)}render(){return r({disabled:this.disabled,children:s`<slot></slot>`})}};i("calcite-tile-select-group",e);export{e as TileSelectGroup};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{a as m,b as u}from"./DTAEBKT4.js";import{a as h}from"./DX4BEDZ3.js";import{b as p}from"./U2YGN4RT.js";import{z as i}from"./LLN5DNPL.js";import"./R3CUJDU2.js";import{K as d,e as l,g as c,w as o,x as r,y as n}from"./MZMZSY5A.js";var f={container:"container"},b=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{box-sizing:border-box;display:inline-block}:host ::slotted(calcite-tile){margin-block-end:var(--calcite-spacing-px);margin-inline-end:var(--calcite-spacing-px)}.container{display:grid;grid-auto-rows:minmax(auto,1fr)}:host([scale=s]) .container{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}:host([scale=m]) .container{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}:host([scale=l]) .container{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}:host([layout=vertical]) .container{display:flex;flex-direction:column}: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.items=[],this.mutationObserver=h("mutation",()=>this.updateTiles()),this.alignment="start",this.disabled=!1,this.layout="horizontal",this.scale="m",this.selectedItems=[],this.selectionAppearance="icon",this.selectionMode="none",this.calciteTileGroupSelect=o({cancelable:!1}),this.listen("calciteInternalTileKeyEvent",this.calciteInternalTileKeyEventListener),this.listen("calciteTileSelect",this.calciteTileSelectHandler)}static{this.properties={alignment:[3,{reflect:!0}],disabled:[7,{reflect:!0,type:Boolean}],label:1,layout:[3,{reflect:!0}],scale:[3,{reflect:!0}],selectedItems:[0,{attribute:!1}],selectionAppearance:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}]}}static{this.styles=b}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateTiles()}willUpdate(e){(e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")||e.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="icon"))&&this.updateTiles()}updated(){m(this)}loaded(){this.updateSelectedItems()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}getSlottedTiles(){return this.slotEl?.assignedElements({flatten:!0}).filter(e=>e?.matches("calcite-tile"))}selectItem(e){e&&(this.items?.forEach(t=>{let s=e===t;switch(this.selectionMode){case"multiple":s&&(t.selected=!t.selected);break;case"single":t.selected=s&&!t.selected;break;case"single-persist":t.selected=!!s;break}}),this.updateSelectedItems(),this.calciteTileGroupSelect.emit())}setSlotEl(e){this.slotEl=e}updateSelectedItems(){let e=this.items?.filter(t=>t.selected);(this.selectionMode==="single"||this.selectionMode==="single-persist")&&e?.length>1?(this.selectedItems=[e.pop()],this.items?.forEach(t=>{this.selectedItems.indexOf(t)===-1&&(t.selected=!1)})):this.selectedItems=e??[]}updateTiles(){this.items=this.getSlottedTiles(),this.items?.forEach(e=>{e.alignment=this.alignment,e.interactive=!0,e.layout=this.layout,e.scale=this.scale,e.selectionAppearance=this.selectionAppearance,e.selectionMode=this.selectionMode}),this.updateSelectedItems()}calciteInternalTileKeyEventListener(e){if(e.composedPath().includes(this.el)){e.preventDefault(),e.stopPropagation();let t=this.items?.filter(s=>!s.disabled);switch(e.detail.key){case"ArrowDown":case"ArrowRight":i(t,e.detail.target,"next");break;case"ArrowUp":case"ArrowLeft":i(t,e.detail.target,"previous");break;case"Home":i(t,e.detail.target,"first");break;case"End":i(t,e.detail.target,"last");break}}}calciteTileSelectHandler(e){e.composedPath().includes(this.el)&&this.selectItem(e.target)}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup";return u({disabled:this.disabled,children:c`<div .ariaLabel=${this.label} class=${n(f.container)} .role=${e}><slot @slotchange=${this.updateTiles} ${p(this.setSlotEl)}></slot></div>`})}};d("calcite-tile-group",a);export{a as TileGroup};
3
+ v3.2.0-next.40 */
4
+ import{a as m,b as u}from"./KOH7CJJ2.js";import{a as h}from"./VYNVOZVL.js";import{b as p}from"./6P5PSH65.js";import{z as i}from"./4JEZM6VX.js";import"./6DCGXB5R.js";import{K as d,e as l,g as c,w as o,x as r,y as n}from"./EYWRTO2E.js";var f={container:"container"},b=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{box-sizing:border-box;display:inline-block}:host ::slotted(calcite-tile){margin-block-end:var(--calcite-spacing-px);margin-inline-end:var(--calcite-spacing-px)}.container{display:grid;grid-auto-rows:minmax(auto,1fr)}:host([scale=s]) .container{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}:host([scale=m]) .container{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}:host([scale=l]) .container{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}:host([layout=vertical]) .container{display:flex;flex-direction:column}: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.items=[],this.mutationObserver=h("mutation",()=>this.updateTiles()),this.alignment="start",this.disabled=!1,this.layout="horizontal",this.scale="m",this.selectedItems=[],this.selectionAppearance="icon",this.selectionMode="none",this.calciteTileGroupSelect=o({cancelable:!1}),this.listen("calciteInternalTileKeyEvent",this.calciteInternalTileKeyEventListener),this.listen("calciteTileSelect",this.calciteTileSelectHandler)}static{this.properties={alignment:[3,{reflect:!0}],disabled:[7,{reflect:!0,type:Boolean}],label:1,layout:[3,{reflect:!0}],scale:[3,{reflect:!0}],selectedItems:[0,{attribute:!1}],selectionAppearance:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}]}}static{this.styles=b}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateTiles()}willUpdate(e){(e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")||e.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="icon"))&&this.updateTiles()}updated(){m(this)}loaded(){this.updateSelectedItems()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}getSlottedTiles(){return this.slotEl?.assignedElements({flatten:!0}).filter(e=>e?.matches("calcite-tile"))}selectItem(e){e&&(this.items?.forEach(t=>{let s=e===t;switch(this.selectionMode){case"multiple":s&&(t.selected=!t.selected);break;case"single":t.selected=s&&!t.selected;break;case"single-persist":t.selected=!!s;break}}),this.updateSelectedItems(),this.calciteTileGroupSelect.emit())}setSlotEl(e){this.slotEl=e}updateSelectedItems(){let e=this.items?.filter(t=>t.selected);(this.selectionMode==="single"||this.selectionMode==="single-persist")&&e?.length>1?(this.selectedItems=[e.pop()],this.items?.forEach(t=>{this.selectedItems.indexOf(t)===-1&&(t.selected=!1)})):this.selectedItems=e??[]}updateTiles(){this.items=this.getSlottedTiles(),this.items?.forEach(e=>{e.alignment=this.alignment,e.interactive=!0,e.layout=this.layout,e.scale=this.scale,e.selectionAppearance=this.selectionAppearance,e.selectionMode=this.selectionMode}),this.updateSelectedItems()}calciteInternalTileKeyEventListener(e){if(e.composedPath().includes(this.el)){e.preventDefault(),e.stopPropagation();let t=this.items?.filter(s=>!s.disabled);switch(e.detail.key){case"ArrowDown":case"ArrowRight":i(t,e.detail.target,"next");break;case"ArrowUp":case"ArrowLeft":i(t,e.detail.target,"previous");break;case"Home":i(t,e.detail.target,"first");break;case"End":i(t,e.detail.target,"last");break}}}calciteTileSelectHandler(e){e.composedPath().includes(this.el)&&this.selectItem(e.target)}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup";return u({disabled:this.disabled,children:c`<div .ariaLabel=${this.label} class=${n(f.container)} .role=${e}><slot @slotchange=${this.updateTiles} ${p(this.setSlotEl)}></slot></div>`})}};d("calcite-tile-group",a);export{a as TileGroup};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{a as b,b as f}from"./DTAEBKT4.js";import{a as g}from"./24OTRUCC.js";import{a as p,b as h}from"./U2YGN4RT.js";import{e as u}from"./LLN5DNPL.js";import{d as m}from"./POGNNNSN.js";import"./QJN3Y7KP.js";import"./R3CUJDU2.js";import{D as r,K as d,e as c,g as o,k as n,x as a,y as s}from"./MZMZSY5A.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}`,i=class extends a{constructor(){super(...arguments),this.containerEl=p(),this.contentsText="",this.focused=!1,this.selectionText="",this.alignment="start",this.interactionMode="interactive",this.messages=g(),this.parentRowAlignment="start",this.scale="m"}static{this.properties={contentsText:[16,{state:!0}],focused:[16,{state:!0}],selectionText:[16,{state:!0}],alignment:[3,{reflect:!0}],colSpan:[11,{reflect:!0,type:Number}],disabled:[5,{type:Boolean}],interactionMode:1,lastCell:[5,{type:Boolean}],messageOverrides:[0,{attribute:!1}],numberCell:[5,{type:Boolean}],parentRowAlignment:1,parentRowIsSelected:[5,{type:Boolean}],parentRowPositionLocalized:1,parentRowType:1,positionInRow:[9,{type:Number}],readCellContentsToAT:[5,{type:Boolean}],rowSpan:[11,{reflect:!0,type:Number}],scale:1,selectionCell:[5,{type:Boolean}]}}static{this.styles=C}async setFocus(){await m(this),this.containerEl.value.focus()}async load(){this.updateScreenReaderContentsText(),this.updateScreenReaderSelectionText()}willUpdate(t){t.has("parentRowIsSelected")&&this.updateScreenReaderSelectionText()}updated(){b(this)}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=u(this.el),l=this.disabled||this.interactionMode==="static"&&(!this.selectionCell||this.selectionCell&&this.parentRowType==="foot");return f({disabled:this.disabled,children:o`<td class=${s({[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??n} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} .role=${this.interactionMode==="interactive"?"gridcell":"cell"} rowSpan=${this.rowSpan??n} .tabIndex=${l?-1:0} ${h(this.containerEl)}>${(this.selectionCell||this.readCellContentsToAT)&&o`<span .ariaLive=${this.focused?"polite":"off"} class=${s(e.assistiveText)}>${this.selectionCell&&this.selectionText||""}${this.readCellContentsToAT&&!this.selectionCell&&this.contentsText||""}</span>`||""}<slot @slotchange=${this.updateScreenReaderContentsText}></slot></td>`})}};d("calcite-table-cell",i);export{i as TableCell};
3
+ v3.2.0-next.40 */
4
+ import{a as b,b as f}from"./KOH7CJJ2.js";import{a as g}from"./7EKOSZOZ.js";import{a as p,b as h}from"./6P5PSH65.js";import{e as u}from"./4JEZM6VX.js";import{d as m}from"./VOMFC6A5.js";import"./PB3OJ43M.js";import"./6DCGXB5R.js";import{D as r,K as d,e as c,g as o,k as n,x as a,y as s}from"./EYWRTO2E.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}`,i=class extends a{constructor(){super(...arguments),this.containerEl=p(),this.contentsText="",this.focused=!1,this.selectionText="",this.alignment="start",this.interactionMode="interactive",this.messages=g(),this.parentRowAlignment="start",this.scale="m"}static{this.properties={contentsText:[16,{state:!0}],focused:[16,{state:!0}],selectionText:[16,{state:!0}],alignment:[3,{reflect:!0}],colSpan:[11,{reflect:!0,type:Number}],disabled:[5,{type:Boolean}],interactionMode:1,lastCell:[5,{type:Boolean}],messageOverrides:[0,{attribute:!1}],numberCell:[5,{type:Boolean}],parentRowAlignment:1,parentRowIsSelected:[5,{type:Boolean}],parentRowPositionLocalized:1,parentRowType:1,positionInRow:[9,{type:Number}],readCellContentsToAT:[5,{type:Boolean}],rowSpan:[11,{reflect:!0,type:Number}],scale:1,selectionCell:[5,{type:Boolean}]}}static{this.styles=C}async setFocus(){await m(this),this.containerEl.value.focus()}async load(){this.updateScreenReaderContentsText(),this.updateScreenReaderSelectionText()}willUpdate(t){t.has("parentRowIsSelected")&&this.updateScreenReaderSelectionText()}updated(){b(this)}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=u(this.el),l=this.disabled||this.interactionMode==="static"&&(!this.selectionCell||this.selectionCell&&this.parentRowType==="foot");return f({disabled:this.disabled,children:o`<td class=${s({[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??n} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} .role=${this.interactionMode==="interactive"?"gridcell":"cell"} rowSpan=${this.rowSpan??n} .tabIndex=${l?-1:0} ${h(this.containerEl)}>${(this.selectionCell||this.readCellContentsToAT)&&o`<span .ariaLive=${this.focused?"polite":"off"} class=${s(e.assistiveText)}>${this.selectionCell&&this.selectionText||""}${this.readCellContentsToAT&&!this.selectionCell&&this.contentsText||""}</span>`||""}<slot @slotchange=${this.updateScreenReaderContentsText}></slot></td>`})}};d("calcite-table-cell",i);export{i as TableCell};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{e as E,f as z,g as R}from"./7JTQUIIG.js";var x={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var $=Object.create(null);for(let e in x)Object.hasOwn(x,e)&&($[x[e]]=e);var m={to:{},get:{}};m.get=function(e){let t=e.slice(0,3).toLowerCase(),n,r;switch(t){case"hsl":{n=m.get.hsl(e),r="hsl";break}case"hwb":{n=m.get.hwb(e),r="hwb";break}default:{n=m.get.rgb(e),r="rgb";break}}return n?{model:r,value:n}:null};m.get.rgb=function(e){if(!e)return null;let t=/^#([a-f\d]{3,4})$/i,n=/^#([a-f\d]{6})([a-f\d]{2})?$/i,r=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,o=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,s=/^(\w+)$/,a=[0,0,0,1],l,i,h;if(l=e.match(n)){for(h=l[2],l=l[1],i=0;i<3;i++){let p=i*2;a[i]=Number.parseInt(l.slice(p,p+2),16)}h&&(a[3]=Number.parseInt(h,16)/255)}else if(l=e.match(t)){for(l=l[1],h=l[3],i=0;i<3;i++)a[i]=Number.parseInt(l[i]+l[i],16);h&&(a[3]=Number.parseInt(h+h,16)/255)}else if(l=e.match(r)){for(i=0;i<3;i++)a[i]=Number.parseInt(l[i+1],10);l[4]&&(a[3]=l[5]?Number.parseFloat(l[4])*.01:Number.parseFloat(l[4]))}else if(l=e.match(o)){for(i=0;i<3;i++)a[i]=Math.round(Number.parseFloat(l[i+1])*2.55);l[4]&&(a[3]=l[5]?Number.parseFloat(l[4])*.01:Number.parseFloat(l[4]))}else return(l=e.match(s))?l[1]==="transparent"?[0,0,0,0]:Object.hasOwn(x,l[1])?(a=x[l[1]],a[3]=1,a):null:null;for(i=0;i<3;i++)a[i]=S(a[i],0,255);return a[3]=S(a[3],0,1),a};m.get.hsl=function(e){if(!e)return null;let t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=e.match(t);if(n){let r=Number.parseFloat(n[4]),o=(Number.parseFloat(n[1])%360+360)%360,s=S(Number.parseFloat(n[2]),0,100),a=S(Number.parseFloat(n[3]),0,100),l=S(Number.isNaN(r)?1:r,0,1);return[o,s,a,l]}return null};m.get.hwb=function(e){if(!e)return null;let t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=e.match(t);if(n){let r=Number.parseFloat(n[4]),o=(Number.parseFloat(n[1])%360+360)%360,s=S(Number.parseFloat(n[2]),0,100),a=S(Number.parseFloat(n[3]),0,100),l=S(Number.isNaN(r)?1:r,0,1);return[o,s,a,l]}return null};m.to.hex=function(...e){return"#"+C(e[0])+C(e[1])+C(e[2])+(e[3]<1?C(Math.round(e[3]*255)):"")};m.to.rgb=function(...e){return e.length<4||e[3]===1?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"};m.to.rgb.percent=function(...e){let t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||e[3]===1?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"};m.to.hsl=function(...e){return e.length<4||e[3]===1?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"};m.to.hwb=function(...e){let t="";return e.length>=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"};m.to.keyword=function(...e){return $[e.slice(0,3)]};function S(e,t,n){return Math.min(Math.max(t,e),n)}function C(e){let t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var M=m;var _={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var q={};for(let e of Object.keys(_))q[_[e]]=e;var c={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},k=c,v=(6/29)**3;for(let e of Object.keys(c)){if(!("channels"in c[e]))throw new Error("missing channels property: "+e);if(!("labels"in c[e]))throw new Error("missing channel labels property: "+e);if(c[e].labels.length!==c[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:n}=c[e];delete c[e].channels,delete c[e].labels,Object.defineProperty(c[e],"channels",{value:t}),Object.defineProperty(c[e],"labels",{value:n})}c.rgb.hsl=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),s=Math.max(t,n,r),a=s-o,l,i;switch(s){case o:{l=0;break}case t:{l=(n-r)/a;break}case n:{l=2+(r-t)/a;break}case r:{l=4+(t-n)/a;break}}l=Math.min(l*60,360),l<0&&(l+=360);let h=(o+s)/2;return s===o?i=0:h<=.5?i=a/(s+o):i=a/(2-s-o),[l,i*100,h*100]};c.rgb.hsv=function(e){let t,n,r,o,s,a=e[0]/255,l=e[1]/255,i=e[2]/255,h=Math.max(a,l,i),p=h-Math.min(a,l,i),w=function(K){return(h-K)/6/p+1/2};if(p===0)o=0,s=0;else{switch(s=p/h,t=w(a),n=w(l),r=w(i),h){case a:{o=r-n;break}case l:{o=1/3+t-r;break}case i:{o=2/3+n-t;break}}o<0?o+=1:o>1&&(o-=1)}return[o*360,s*100,h*100]};c.rgb.hwb=function(e){let t=e[0],n=e[1],r=e[2],o=c.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,s*100,r*100]};c.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),s=(1-t-o)/(1-o)||0,a=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[s*100,a*100,l*100,o*100]};function Y(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}c.rgb.keyword=function(e){let t=q[e];if(t)return t;let n=Number.POSITIVE_INFINITY,r;for(let o of Object.keys(_)){let s=_[o],a=Y(e,s);a<n&&(n=a,r=o)}return r};c.keyword.rgb=function(e){return _[e]};c.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;let o=t*.4124564+n*.3575761+r*.1804375,s=t*.2126729+n*.7151522+r*.072175,a=t*.0193339+n*.119192+r*.9503041;return[o*100,s*100,a*100]};c.rgb.lab=function(e){let t=c.rgb.xyz(e),n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>v?n**(1/3):7.787*n+16/116,r=r>v?r**(1/3):7.787*r+16/116,o=o>v?o**(1/3):7.787*o+16/116;let s=116*r-16,a=500*(n-r),l=200*(r-o);return[s,a,l]};c.hsl.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,o,s;if(n===0)return s=r*255,[s,s,s];let a=r<.5?r*(1+n):r+n-r*n,l=2*r-a,i=[0,0,0];for(let h=0;h<3;h++)o=t+1/3*-(h-1),o<0&&o++,o>1&&o--,6*o<1?s=l+(a-l)*6*o:2*o<1?s=a:3*o<2?s=l+(a-l)*(2/3-o)*6:s=l,i[h]=s*255;return i};c.hsl.hsv=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,o=n,s=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=s<=1?s:2-s;let a=(r+n)/2,l=r===0?2*o/(s+o):2*n/(r+n);return[t,l*100,a*100]};c.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,s=t-Math.floor(t),a=255*r*(1-n),l=255*r*(1-n*s),i=255*r*(1-n*(1-s));switch(r*=255,o){case 0:return[r,i,a];case 1:return[l,r,a];case 2:return[a,r,i];case 3:return[a,l,r];case 4:return[i,a,r];case 5:return[r,a,l]}};c.hsv.hsl=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01),s,a;a=(2-n)*r;let l=(2-n)*o;return s=n*o,s/=l<=1?l:2-l,s=s||0,a/=2,[t,s*100,a*100]};c.hwb.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,o=n+r,s;o>1&&(n/=o,r/=o);let a=Math.floor(6*t),l=1-r;s=6*t-a,a&1&&(s=1-s);let i=n+s*(l-n),h,p,w;switch(a){default:case 6:case 0:{h=l,p=i,w=n;break}case 1:{h=i,p=l,w=n;break}case 2:{h=n,p=l,w=i;break}case 3:{h=n,p=i,w=l;break}case 4:{h=i,p=n,w=l;break}case 5:{h=l,p=n,w=i;break}}return[h*255,p*255,w*255]};c.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,s=1-Math.min(1,t*(1-o)+o),a=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[s*255,a*255,l*255]};c.xyz.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,o,s,a;return o=t*3.2404542+n*-1.5371385+r*-.4985314,s=t*-.969266+n*1.8760108+r*.041556,a=t*.0556434+n*-.2040259+r*1.0572252,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),a=Math.min(Math.max(0,a),1),[o*255,s*255,a*255]};c.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>v?t**(1/3):7.787*t+16/116,n=n>v?n**(1/3):7.787*n+16/116,r=r>v?r**(1/3):7.787*r+16/116;let o=116*n-16,s=500*(t-n),a=200*(n-r);return[o,s,a]};c.lab.xyz=function(e){let t=e[0],n=e[1],r=e[2],o,s,a;s=(t+16)/116,o=n/500+s,a=s-r/200;let l=s**3,i=o**3,h=a**3;return s=l>v?l:(s-16/116)/7.787,o=i>v?i:(o-16/116)/7.787,a=h>v?h:(a-16/116)/7.787,o*=95.047,s*=100,a*=108.883,[o,s,a]};c.lab.lch=function(e){let t=e[0],n=e[1],r=e[2],o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);let a=Math.sqrt(n*n+r*r);return[t,a,o]};c.lch.lab=function(e){let t=e[0],n=e[1],o=e[2]/360*2*Math.PI,s=n*Math.cos(o),a=n*Math.sin(o);return[t,s,a]};c.rgb.ansi16=function(e,t=null){let[n,r,o]=e,s=t===null?c.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),s===0)return 30;let a=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return s===2&&(a+=60),a};c.hsv.ansi16=function(e){return c.rgb.ansi16(c.hsv.rgb(e),e[2])};c.rgb.ansi256=function(e){let t=e[0],n=e[1],r=e[2];return t>>4===n>>4&&n>>4===r>>4?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};c.ansi16.rgb=function(e){e=e[0];let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let n=(Math.trunc(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,s=(t>>2&1)*n*255;return[r,o,s]};c.ansi256.rgb=function(e){if(e=e[0],e>=232){let s=(e-232)*10+8;return[s,s,s]}e-=16;let t,n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};c.rgb.hex=function(e){let n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".slice(n.length)+n};c.hex.rgb=function(e){let t=e.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=[...n].map(l=>l+l).join(""));let r=Number.parseInt(n,16),o=r>>16&255,s=r>>8&255,a=r&255;return[o,s,a]};c.rgb.hcg=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),s=Math.min(Math.min(t,n),r),a=o-s,l,i=a<1?s/(1-a):0;return a<=0?l=0:o===t?l=(n-r)/a%6:o===n?l=2+(r-t)/a:l=4+(t-n)/a,l/=6,l%=1,[l*360,a*100,i*100]};c.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};c.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};c.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];let o=[0,0,0],s=t%1*6,a=s%1,l=1-a,i=0;switch(Math.floor(s)){case 0:{o[0]=1,o[1]=a,o[2]=0;break}case 1:{o[0]=l,o[1]=1,o[2]=0;break}case 2:{o[0]=0,o[1]=1,o[2]=a;break}case 3:{o[0]=0,o[1]=l,o[2]=1;break}case 4:{o[0]=a,o[1]=0,o[2]=1;break}default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};c.hcg.hsv=function(e){let t=e[1]/100,n=e[2]/100,r=t+n*(1-t),o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};c.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};c.hcg.hwb=function(e){let t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};c.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,o=r-t,s=0;return o<1&&(s=(r-o)/(1-o)),[e[0],o*100,s*100]};c.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};c.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};c.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};c.gray.hsl=function(e){return[0,0,e[0]]};c.gray.hsv=c.gray.hsl;c.gray.hwb=function(e){return[0,100,e[0]]};c.gray.cmyk=function(e){return[0,0,0,e[0]]};c.gray.lab=function(e){return[e[0],0,0]};c.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".slice(r.length)+r};c.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};function J(){let e={},t=Object.keys(k);for(let{length:n}=t,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}function Z(e){let t=J(),n=[e];for(t[e].distance=0;n.length>0;){let r=n.pop(),o=Object.keys(k[r]);for(let{length:s}=o,a=0;a<s;a++){let l=o[a],i=t[l];i.distance===-1&&(i.distance=t[r].distance+1,i.parent=r,n.unshift(l))}}return t}function Q(e,t){return function(n){return t(e(n))}}function V(e,t){let n=[t[e].parent,e],r=k[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)n.unshift(t[o].parent),r=Q(k[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}function ee(e){let t=Z(e),n={},r=Object.keys(t);for(let{length:o}=r,s=0;s<o;s++){let a=r[s];t[a].parent!==null&&(n[a]=V(a,t))}return n}var B=ee;var A={},te=Object.keys(k);function ne(e){let t=function(...n){let r=n[0];return r==null?r:(r.length>1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function re(e){let t=function(...n){let r=n[0];if(r==null)return r;r.length>1&&(n=r);let o=e(n);if(typeof o=="object")for(let{length:s}=o,a=0;a<s;a++)o[a]=Math.round(o[a]);return o};return"conversion"in e&&(t.conversion=e.conversion),t}for(let e of te){A[e]={},Object.defineProperty(A[e],"channels",{value:k[e].channels}),Object.defineProperty(A[e],"labels",{value:k[e].labels});let t=B(e),n=Object.keys(t);for(let r of n){let o=t[r];A[e][r]=re(o),A[e][r].raw=ne(o)}}var y=A;var G=["keyword","gray","hex"],N={};for(let e of Object.keys(y))N[[...y[e].labels].sort().join("")]=e;var I={};function b(e,t){if(!(this instanceof b))return new b(e,t);if(t&&t in G&&(t=null),t&&!(t in y))throw new Error("Unknown model: "+t);let n,r;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof b)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){let o=M.get(e);if(o===null)throw new Error("Unable to parse color from string: "+e);this.model=o.model,r=y[this.model].channels,this.color=o.value.slice(0,r),this.valpha=typeof o.value[r]=="number"?o.value[r]:1}else if(e.length>0){this.model=t||"rgb",r=y[this.model].channels;let o=Array.prototype.slice.call(e,0,r);this.color=L(o,r),this.valpha=typeof e[r]=="number"?e[r]:1}else if(typeof e=="number")this.model="rgb",this.color=[e>>16&255,e>>8&255,e&255],this.valpha=1;else{this.valpha=1;let o=Object.keys(e);"alpha"in e&&(o.splice(o.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);let s=o.sort().join("");if(!(s in N))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=N[s];let{labels:a}=y[this.model],l=[];for(n=0;n<a.length;n++)l.push(e[a[n]]);this.color=L(l)}if(I[this.model])for(r=y[this.model].channels,n=0;n<r;n++){let o=I[this.model][n];o&&(this.color[n]=o(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}b.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in M.to?this:this.rgb();t=t.round(typeof e=="number"?e:1);let n=t.valpha===1?t.color:[...t.color,this.valpha];return M.to[t.model](...n)},percentString(e){let t=this.rgb().round(typeof e=="number"?e:1),n=t.valpha===1?t.color:[...t.color,this.valpha];return M.to.rgb.percent(...n)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){let e={},{channels:t}=y[this.model],{labels:n}=y[this.model];for(let r=0;r<t;r++)e[n[r]]=this.color[r];return this.valpha!==1&&(e.alpha=this.valpha),e},unitArray(){let e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,this.valpha!==1&&e.push(this.valpha),e},unitObject(){let e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,this.valpha!==1&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new b([...this.color.map(se(e)),this.valpha],this.model)},alpha(e){return e!==void 0?new b([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:u("rgb",0,g(255)),green:u("rgb",1,g(255)),blue:u("rgb",2,g(255)),hue:u(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:u("hsl",1,g(100)),lightness:u("hsl",2,g(100)),saturationv:u("hsv",1,g(100)),value:u("hsv",2,g(100)),chroma:u("hcg",1,g(100)),gray:u("hcg",2,g(100)),white:u("hwb",1,g(100)),wblack:u("hwb",2,g(100)),cyan:u("cmyk",0,g(100)),magenta:u("cmyk",1,g(100)),yellow:u("cmyk",2,g(100)),black:u("cmyk",3,g(100)),x:u("xyz",0,g(95.047)),y:u("xyz",1,g(100)),z:u("xyz",2,g(108.833)),l:u("lab",0,g(100)),a:u("lab",1),b:u("lab",2),keyword(e){return e!==void 0?new b(e):y[this.model].keyword(this.color)},hex(e){return e!==void 0?new b(e):M.to.hex(...this.rgb().round().color)},hexa(e){if(e!==void 0)return new b(e);let t=this.rgb().round().color,n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),M.to.hex(...t)+n},rgbNumber(){let e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity(){let e=this.rgb().color,t=[];for(let[n,r]of e.entries()){let o=r/255;t[n]=o<=.04045?o/12.92:((o+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){let t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){let t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){let e=this.rgb().color;return(e[0]*2126+e[1]*7152+e[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){let e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){let t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){let t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){let t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){let t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){let t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){let t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){let e=this.rgb().color,t=e[0]*.3+e[1]*.59+e[2]*.11;return b.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){let t=this.hsl(),n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);let n=e.rgb(),r=this.rgb(),o=t===void 0?.5:t,s=2*o-1,a=n.alpha()-r.alpha(),l=((s*a===-1?s:(s+a)/(1+s*a))+1)/2,i=1-l;return b.rgb(l*n.red()+i*r.red(),l*n.green()+i*r.green(),l*n.blue()+i*r.blue(),n.alpha()*o+r.alpha()*(1-o))}};for(let e of Object.keys(y)){if(G.includes(e))continue;let{channels:t}=y[e];b.prototype[e]=function(...n){return this.model===e?new b(this):n.length>0?new b(n,e):new b([...ae(y[this.model][e].raw(this.color)),this.valpha],e)},b[e]=function(...n){let r=n[0];return typeof r=="number"&&(r=L(n,t)),new b(r,e)}}function oe(e,t){return Number(e.toFixed(t))}function se(e){return function(t){return oe(t,e)}}function u(e,t,n){e=Array.isArray(e)?e:[e];for(let r of e)(I[r]||=[])[t]=n;return e=e[0],function(r){let o;return r!==void 0?(n&&(r=n(r)),o=this[e](),o.color[t]=r,o):(o=this[e]().color[t],n&&(o=n(o)),o)}}function g(e){return function(t){return Math.max(0,Math.min(e,t))}}function ae(e){return Array.isArray(e)?e:[e]}function L(e,t){for(let n=0;n<t;n++)typeof e[n]!="number"&&(e[n]=0);return e}var T=b;var Ie={channel:"channel",channels:"channels",colorField:"color-field",colorFieldScope:"scope--color-field",colorMode:"color-mode",colorModeContainer:"color-mode-container",container:"container",control:"control",controlAndScope:"control-and-scope",controlSection:"control-section",deleteColor:"delete-color",header:"header",hexAndChannelsGroup:"hex-and-channels-group",hexOptions:"color-hex-options",hueScope:"scope--hue",hueSlider:"hue-slider",opacityScope:"scope--opacity",opacitySlider:"opacity-slider",preview:"preview",previewAndSliders:"preview-and-sliders",saveColor:"save-color",savedColor:"saved-color",savedColors:"saved-colors",savedColorsButtons:"saved-colors-buttons",savedColorsSection:"saved-colors-section",scope:"scope",section:"section",slider:"slider",sliders:"sliders",splitSection:"section--split"},Le=T("#007AC2"),Oe="calcite-color-",Ee={r:255,g:255,b:255},le={h:360,s:100,v:100},ze=le.h-1,Re={min:0,max:100},ie={s:{gap:parseInt(E),slider:{height:12},thumb:{radius:7},preview:{size:20},minWidth:200},m:{gap:parseInt(z),slider:{height:12},thumb:{radius:7},preview:{size:24},minWidth:240},l:{gap:parseInt(R),slider:{height:12},thumb:{radius:7},preview:{size:32},minWidth:304}},$e=1,qe=/^[0-9A-F]$/i,ce=/^#[0-9A-F]{3}$/i,he=/^#[0-9A-F]{6}$/i,ue=/^#[0-9A-F]{4}$/i,de=/^#[0-9A-F]{8}$/i,Be=e=>Number((e*100).toFixed()),Ge=e=>Number((e/100).toFixed(2));function j(e,t=!1){return O(e,t)||fe(e,t)}function X(e,t,n){return e?e.length===t&&n.test(e):!1}function O(e,t=!1){return X(e,t?5:4,t?ue:ce)}function fe(e,t=!1){return X(e,t?9:7,t?de:he)}function Te(e,t=!1,n=!1){if(e=e.toLowerCase(),e.startsWith("#")||(e=`#${e}`),O(e,t))return W(P(e,t));if(t&&n&&j(e,!1)){let r=O(e,!1);return W(P(`${e}${r?"f":"ff"}`,!0))}return e}function We(e,t=!1){return t?e.hexa():e.hex()}function W(e){let{r:t,g:n,b:r}=e,o=H(t),s=H(n),a=H(r),l="a"in e?H(e.a*255):"";return`#${o}${s}${a}${l}`.toLowerCase()}function H(e){return e.toString(16).padStart(2,"0")}function Pe(e){let t={...e,a:e.alpha??1};return delete t.alpha,t}function je(e){let t={...e,alpha:e.a??1};return delete t.a,t}function P(e,t=!1){if(!j(e,t))return null;e=e.replace("#","");let n,r,o,s;if(e.length===3||e.length===4){let[l,i,h,p]=e.split("");n=parseInt(`${l}${l}`,16),r=parseInt(`${i}${i}`,16),o=parseInt(`${h}${h}`,16),s=parseInt(`${p}${p}`,16)/255}else n=parseInt(e.slice(0,2),16),r=parseInt(e.slice(2,4),16),o=parseInt(e.slice(4,6),16),s=parseInt(e.slice(6,8),16)/255;return isNaN(s)?{r:n,g:r,b:o}:{r:n,g:r,b:o,a:s}}var D=e=>e,d=D({HEX:"hex",HEXA:"hexa",RGB_CSS:"rgb-css",RGBA_CSS:"rgba-css",HSL_CSS:"hsl-css",HSLA_CSS:"hsla-css"}),f=D({RGB:"rgb",RGBA:"rgba",HSL:"hsl",HSLA:"hsla",HSV:"hsv",HSVA:"hsva"});function Xe(e){if(typeof e=="string"){if(e.startsWith("#")){let{length:t}=e;if(t===4||t===7)return d.HEX;if(t===5||t===9)return d.HEXA}if(e.startsWith("rgba("))return d.RGBA_CSS;if(e.startsWith("rgb("))return d.RGB_CSS;if(e.startsWith("hsl("))return d.HSL_CSS;if(e.startsWith("hsla("))return d.HSLA_CSS}if(typeof e=="object"){if(F(e,"r","g","b"))return F(e,"a")?f.RGBA:f.RGB;if(F(e,"h","s","l"))return F(e,"a")?f.HSLA:f.HSL;if(F(e,"h","s","v"))return F(e,"a")?f.HSVA:f.HSV}return null}function F(e,...t){return t.every(n=>n&&e&&`${n}`in e)}function De(e,t){return e?.rgb().array().toString()===t?.rgb().array().toString()}function Ue(e){return e===d.HEXA||e===d.RGBA_CSS||e===d.HSLA_CSS||e===f.RGBA||e===f.HSLA||e===f.HSVA}function Ke(e){return e===d.HEX?d.HEXA:e===d.RGB_CSS?d.RGBA_CSS:e===d.HSL_CSS?d.HSLA_CSS:e===f.RGB?f.RGBA:e===f.HSL?f.HSLA:e===f.HSV?f.HSVA:e}function Ye(e){return e===d.HEXA?d.HEX:e===d.RGBA_CSS?d.RGB_CSS:e===d.HSLA_CSS?d.HSL_CSS:e===f.RGBA?f.RGB:e===f.HSLA?f.HSL:e===f.HSVA?f.HSV:e}var ge=1,U=ge*2;function Je(e,t,n){let r=n?ie.l.preview.size:t.preview.size,o=e-U,s=t.gap*3;return Math.max(o-s-r,0)}function Ze(e){let n=e-U;return{width:Math.max(n,0),height:Math.max(Math.floor(n/1.8),0)}}export{T as a,Ie as b,Le as c,Oe as d,Ee as e,le as f,ze as g,Re as h,ie as i,$e as j,qe as k,Be as l,Ge as m,j as n,O as o,fe as p,Te as q,We as r,W as s,Pe as t,je as u,P as v,d as w,Xe as x,De as y,Ue as z,Ke as A,Ye as B,Je as C,Ze as D};
3
+ v3.2.0-next.40 */
4
+ import{e as E,f as z,g as R}from"./UTHT52HY.js";var x={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var $=Object.create(null);for(let e in x)Object.hasOwn(x,e)&&($[x[e]]=e);var m={to:{},get:{}};m.get=function(e){let t=e.slice(0,3).toLowerCase(),n,r;switch(t){case"hsl":{n=m.get.hsl(e),r="hsl";break}case"hwb":{n=m.get.hwb(e),r="hwb";break}default:{n=m.get.rgb(e),r="rgb";break}}return n?{model:r,value:n}:null};m.get.rgb=function(e){if(!e)return null;let t=/^#([a-f\d]{3,4})$/i,n=/^#([a-f\d]{6})([a-f\d]{2})?$/i,r=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,o=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/,s=/^(\w+)$/,a=[0,0,0,1],l,i,h;if(l=e.match(n)){for(h=l[2],l=l[1],i=0;i<3;i++){let p=i*2;a[i]=Number.parseInt(l.slice(p,p+2),16)}h&&(a[3]=Number.parseInt(h,16)/255)}else if(l=e.match(t)){for(l=l[1],h=l[3],i=0;i<3;i++)a[i]=Number.parseInt(l[i]+l[i],16);h&&(a[3]=Number.parseInt(h+h,16)/255)}else if(l=e.match(r)){for(i=0;i<3;i++)a[i]=Number.parseInt(l[i+1],10);l[4]&&(a[3]=l[5]?Number.parseFloat(l[4])*.01:Number.parseFloat(l[4]))}else if(l=e.match(o)){for(i=0;i<3;i++)a[i]=Math.round(Number.parseFloat(l[i+1])*2.55);l[4]&&(a[3]=l[5]?Number.parseFloat(l[4])*.01:Number.parseFloat(l[4]))}else return(l=e.match(s))?l[1]==="transparent"?[0,0,0,0]:Object.hasOwn(x,l[1])?(a=x[l[1]],a[3]=1,a):null:null;for(i=0;i<3;i++)a[i]=S(a[i],0,255);return a[3]=S(a[3],0,1),a};m.get.hsl=function(e){if(!e)return null;let t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=e.match(t);if(n){let r=Number.parseFloat(n[4]),o=(Number.parseFloat(n[1])%360+360)%360,s=S(Number.parseFloat(n[2]),0,100),a=S(Number.parseFloat(n[3]),0,100),l=S(Number.isNaN(r)?1:r,0,1);return[o,s,a,l]}return null};m.get.hwb=function(e){if(!e)return null;let t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d.]+)%\s*,\s*([+-]?[\d.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=e.match(t);if(n){let r=Number.parseFloat(n[4]),o=(Number.parseFloat(n[1])%360+360)%360,s=S(Number.parseFloat(n[2]),0,100),a=S(Number.parseFloat(n[3]),0,100),l=S(Number.isNaN(r)?1:r,0,1);return[o,s,a,l]}return null};m.to.hex=function(...e){return"#"+C(e[0])+C(e[1])+C(e[2])+(e[3]<1?C(Math.round(e[3]*255)):"")};m.to.rgb=function(...e){return e.length<4||e[3]===1?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"};m.to.rgb.percent=function(...e){let t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||e[3]===1?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"};m.to.hsl=function(...e){return e.length<4||e[3]===1?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"};m.to.hwb=function(...e){let t="";return e.length>=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"};m.to.keyword=function(...e){return $[e.slice(0,3)]};function S(e,t,n){return Math.min(Math.max(t,e),n)}function C(e){let t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var M=m;var _={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var q={};for(let e of Object.keys(_))q[_[e]]=e;var c={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},k=c,v=(6/29)**3;for(let e of Object.keys(c)){if(!("channels"in c[e]))throw new Error("missing channels property: "+e);if(!("labels"in c[e]))throw new Error("missing channel labels property: "+e);if(c[e].labels.length!==c[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:n}=c[e];delete c[e].channels,delete c[e].labels,Object.defineProperty(c[e],"channels",{value:t}),Object.defineProperty(c[e],"labels",{value:n})}c.rgb.hsl=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),s=Math.max(t,n,r),a=s-o,l,i;switch(s){case o:{l=0;break}case t:{l=(n-r)/a;break}case n:{l=2+(r-t)/a;break}case r:{l=4+(t-n)/a;break}}l=Math.min(l*60,360),l<0&&(l+=360);let h=(o+s)/2;return s===o?i=0:h<=.5?i=a/(s+o):i=a/(2-s-o),[l,i*100,h*100]};c.rgb.hsv=function(e){let t,n,r,o,s,a=e[0]/255,l=e[1]/255,i=e[2]/255,h=Math.max(a,l,i),p=h-Math.min(a,l,i),w=function(K){return(h-K)/6/p+1/2};if(p===0)o=0,s=0;else{switch(s=p/h,t=w(a),n=w(l),r=w(i),h){case a:{o=r-n;break}case l:{o=1/3+t-r;break}case i:{o=2/3+n-t;break}}o<0?o+=1:o>1&&(o-=1)}return[o*360,s*100,h*100]};c.rgb.hwb=function(e){let t=e[0],n=e[1],r=e[2],o=c.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,s*100,r*100]};c.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),s=(1-t-o)/(1-o)||0,a=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[s*100,a*100,l*100,o*100]};function Y(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}c.rgb.keyword=function(e){let t=q[e];if(t)return t;let n=Number.POSITIVE_INFINITY,r;for(let o of Object.keys(_)){let s=_[o],a=Y(e,s);a<n&&(n=a,r=o)}return r};c.keyword.rgb=function(e){return _[e]};c.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;let o=t*.4124564+n*.3575761+r*.1804375,s=t*.2126729+n*.7151522+r*.072175,a=t*.0193339+n*.119192+r*.9503041;return[o*100,s*100,a*100]};c.rgb.lab=function(e){let t=c.rgb.xyz(e),n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>v?n**(1/3):7.787*n+16/116,r=r>v?r**(1/3):7.787*r+16/116,o=o>v?o**(1/3):7.787*o+16/116;let s=116*r-16,a=500*(n-r),l=200*(r-o);return[s,a,l]};c.hsl.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,o,s;if(n===0)return s=r*255,[s,s,s];let a=r<.5?r*(1+n):r+n-r*n,l=2*r-a,i=[0,0,0];for(let h=0;h<3;h++)o=t+1/3*-(h-1),o<0&&o++,o>1&&o--,6*o<1?s=l+(a-l)*6*o:2*o<1?s=a:3*o<2?s=l+(a-l)*(2/3-o)*6:s=l,i[h]=s*255;return i};c.hsl.hsv=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,o=n,s=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=s<=1?s:2-s;let a=(r+n)/2,l=r===0?2*o/(s+o):2*n/(r+n);return[t,l*100,a*100]};c.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,s=t-Math.floor(t),a=255*r*(1-n),l=255*r*(1-n*s),i=255*r*(1-n*(1-s));switch(r*=255,o){case 0:return[r,i,a];case 1:return[l,r,a];case 2:return[a,r,i];case 3:return[a,l,r];case 4:return[i,a,r];case 5:return[r,a,l]}};c.hsv.hsl=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01),s,a;a=(2-n)*r;let l=(2-n)*o;return s=n*o,s/=l<=1?l:2-l,s=s||0,a/=2,[t,s*100,a*100]};c.hwb.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,o=n+r,s;o>1&&(n/=o,r/=o);let a=Math.floor(6*t),l=1-r;s=6*t-a,a&1&&(s=1-s);let i=n+s*(l-n),h,p,w;switch(a){default:case 6:case 0:{h=l,p=i,w=n;break}case 1:{h=i,p=l,w=n;break}case 2:{h=n,p=l,w=i;break}case 3:{h=n,p=i,w=l;break}case 4:{h=i,p=n,w=l;break}case 5:{h=l,p=n,w=i;break}}return[h*255,p*255,w*255]};c.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,s=1-Math.min(1,t*(1-o)+o),a=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[s*255,a*255,l*255]};c.xyz.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,o,s,a;return o=t*3.2404542+n*-1.5371385+r*-.4985314,s=t*-.969266+n*1.8760108+r*.041556,a=t*.0556434+n*-.2040259+r*1.0572252,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),a=Math.min(Math.max(0,a),1),[o*255,s*255,a*255]};c.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>v?t**(1/3):7.787*t+16/116,n=n>v?n**(1/3):7.787*n+16/116,r=r>v?r**(1/3):7.787*r+16/116;let o=116*n-16,s=500*(t-n),a=200*(n-r);return[o,s,a]};c.lab.xyz=function(e){let t=e[0],n=e[1],r=e[2],o,s,a;s=(t+16)/116,o=n/500+s,a=s-r/200;let l=s**3,i=o**3,h=a**3;return s=l>v?l:(s-16/116)/7.787,o=i>v?i:(o-16/116)/7.787,a=h>v?h:(a-16/116)/7.787,o*=95.047,s*=100,a*=108.883,[o,s,a]};c.lab.lch=function(e){let t=e[0],n=e[1],r=e[2],o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);let a=Math.sqrt(n*n+r*r);return[t,a,o]};c.lch.lab=function(e){let t=e[0],n=e[1],o=e[2]/360*2*Math.PI,s=n*Math.cos(o),a=n*Math.sin(o);return[t,s,a]};c.rgb.ansi16=function(e,t=null){let[n,r,o]=e,s=t===null?c.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),s===0)return 30;let a=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return s===2&&(a+=60),a};c.hsv.ansi16=function(e){return c.rgb.ansi16(c.hsv.rgb(e),e[2])};c.rgb.ansi256=function(e){let t=e[0],n=e[1],r=e[2];return t>>4===n>>4&&n>>4===r>>4?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};c.ansi16.rgb=function(e){e=e[0];let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let n=(Math.trunc(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,s=(t>>2&1)*n*255;return[r,o,s]};c.ansi256.rgb=function(e){if(e=e[0],e>=232){let s=(e-232)*10+8;return[s,s,s]}e-=16;let t,n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};c.rgb.hex=function(e){let n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".slice(n.length)+n};c.hex.rgb=function(e){let t=e.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=[...n].map(l=>l+l).join(""));let r=Number.parseInt(n,16),o=r>>16&255,s=r>>8&255,a=r&255;return[o,s,a]};c.rgb.hcg=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),s=Math.min(Math.min(t,n),r),a=o-s,l,i=a<1?s/(1-a):0;return a<=0?l=0:o===t?l=(n-r)/a%6:o===n?l=2+(r-t)/a:l=4+(t-n)/a,l/=6,l%=1,[l*360,a*100,i*100]};c.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};c.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};c.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];let o=[0,0,0],s=t%1*6,a=s%1,l=1-a,i=0;switch(Math.floor(s)){case 0:{o[0]=1,o[1]=a,o[2]=0;break}case 1:{o[0]=l,o[1]=1,o[2]=0;break}case 2:{o[0]=0,o[1]=1,o[2]=a;break}case 3:{o[0]=0,o[1]=l,o[2]=1;break}case 4:{o[0]=a,o[1]=0,o[2]=1;break}default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};c.hcg.hsv=function(e){let t=e[1]/100,n=e[2]/100,r=t+n*(1-t),o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};c.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};c.hcg.hwb=function(e){let t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};c.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,o=r-t,s=0;return o<1&&(s=(r-o)/(1-o)),[e[0],o*100,s*100]};c.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};c.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};c.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};c.gray.hsl=function(e){return[0,0,e[0]]};c.gray.hsv=c.gray.hsl;c.gray.hwb=function(e){return[0,100,e[0]]};c.gray.cmyk=function(e){return[0,0,0,e[0]]};c.gray.lab=function(e){return[e[0],0,0]};c.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".slice(r.length)+r};c.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};function J(){let e={},t=Object.keys(k);for(let{length:n}=t,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}function Z(e){let t=J(),n=[e];for(t[e].distance=0;n.length>0;){let r=n.pop(),o=Object.keys(k[r]);for(let{length:s}=o,a=0;a<s;a++){let l=o[a],i=t[l];i.distance===-1&&(i.distance=t[r].distance+1,i.parent=r,n.unshift(l))}}return t}function Q(e,t){return function(n){return t(e(n))}}function V(e,t){let n=[t[e].parent,e],r=k[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)n.unshift(t[o].parent),r=Q(k[t[o].parent][o],r),o=t[o].parent;return r.conversion=n,r}function ee(e){let t=Z(e),n={},r=Object.keys(t);for(let{length:o}=r,s=0;s<o;s++){let a=r[s];t[a].parent!==null&&(n[a]=V(a,t))}return n}var B=ee;var A={},te=Object.keys(k);function ne(e){let t=function(...n){let r=n[0];return r==null?r:(r.length>1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function re(e){let t=function(...n){let r=n[0];if(r==null)return r;r.length>1&&(n=r);let o=e(n);if(typeof o=="object")for(let{length:s}=o,a=0;a<s;a++)o[a]=Math.round(o[a]);return o};return"conversion"in e&&(t.conversion=e.conversion),t}for(let e of te){A[e]={},Object.defineProperty(A[e],"channels",{value:k[e].channels}),Object.defineProperty(A[e],"labels",{value:k[e].labels});let t=B(e),n=Object.keys(t);for(let r of n){let o=t[r];A[e][r]=re(o),A[e][r].raw=ne(o)}}var y=A;var G=["keyword","gray","hex"],N={};for(let e of Object.keys(y))N[[...y[e].labels].sort().join("")]=e;var I={};function b(e,t){if(!(this instanceof b))return new b(e,t);if(t&&t in G&&(t=null),t&&!(t in y))throw new Error("Unknown model: "+t);let n,r;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof b)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){let o=M.get(e);if(o===null)throw new Error("Unable to parse color from string: "+e);this.model=o.model,r=y[this.model].channels,this.color=o.value.slice(0,r),this.valpha=typeof o.value[r]=="number"?o.value[r]:1}else if(e.length>0){this.model=t||"rgb",r=y[this.model].channels;let o=Array.prototype.slice.call(e,0,r);this.color=L(o,r),this.valpha=typeof e[r]=="number"?e[r]:1}else if(typeof e=="number")this.model="rgb",this.color=[e>>16&255,e>>8&255,e&255],this.valpha=1;else{this.valpha=1;let o=Object.keys(e);"alpha"in e&&(o.splice(o.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);let s=o.sort().join("");if(!(s in N))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=N[s];let{labels:a}=y[this.model],l=[];for(n=0;n<a.length;n++)l.push(e[a[n]]);this.color=L(l)}if(I[this.model])for(r=y[this.model].channels,n=0;n<r;n++){let o=I[this.model][n];o&&(this.color[n]=o(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}b.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in M.to?this:this.rgb();t=t.round(typeof e=="number"?e:1);let n=t.valpha===1?t.color:[...t.color,this.valpha];return M.to[t.model](...n)},percentString(e){let t=this.rgb().round(typeof e=="number"?e:1),n=t.valpha===1?t.color:[...t.color,this.valpha];return M.to.rgb.percent(...n)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){let e={},{channels:t}=y[this.model],{labels:n}=y[this.model];for(let r=0;r<t;r++)e[n[r]]=this.color[r];return this.valpha!==1&&(e.alpha=this.valpha),e},unitArray(){let e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,this.valpha!==1&&e.push(this.valpha),e},unitObject(){let e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,this.valpha!==1&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new b([...this.color.map(se(e)),this.valpha],this.model)},alpha(e){return e!==void 0?new b([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:u("rgb",0,g(255)),green:u("rgb",1,g(255)),blue:u("rgb",2,g(255)),hue:u(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:u("hsl",1,g(100)),lightness:u("hsl",2,g(100)),saturationv:u("hsv",1,g(100)),value:u("hsv",2,g(100)),chroma:u("hcg",1,g(100)),gray:u("hcg",2,g(100)),white:u("hwb",1,g(100)),wblack:u("hwb",2,g(100)),cyan:u("cmyk",0,g(100)),magenta:u("cmyk",1,g(100)),yellow:u("cmyk",2,g(100)),black:u("cmyk",3,g(100)),x:u("xyz",0,g(95.047)),y:u("xyz",1,g(100)),z:u("xyz",2,g(108.833)),l:u("lab",0,g(100)),a:u("lab",1),b:u("lab",2),keyword(e){return e!==void 0?new b(e):y[this.model].keyword(this.color)},hex(e){return e!==void 0?new b(e):M.to.hex(...this.rgb().round().color)},hexa(e){if(e!==void 0)return new b(e);let t=this.rgb().round().color,n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),M.to.hex(...t)+n},rgbNumber(){let e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity(){let e=this.rgb().color,t=[];for(let[n,r]of e.entries()){let o=r/255;t[n]=o<=.04045?o/12.92:((o+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){let t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){let t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){let e=this.rgb().color;return(e[0]*2126+e[1]*7152+e[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){let e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){let t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){let t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){let t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){let t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){let t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){let t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){let e=this.rgb().color,t=e[0]*.3+e[1]*.59+e[2]*.11;return b.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){let t=this.hsl(),n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);let n=e.rgb(),r=this.rgb(),o=t===void 0?.5:t,s=2*o-1,a=n.alpha()-r.alpha(),l=((s*a===-1?s:(s+a)/(1+s*a))+1)/2,i=1-l;return b.rgb(l*n.red()+i*r.red(),l*n.green()+i*r.green(),l*n.blue()+i*r.blue(),n.alpha()*o+r.alpha()*(1-o))}};for(let e of Object.keys(y)){if(G.includes(e))continue;let{channels:t}=y[e];b.prototype[e]=function(...n){return this.model===e?new b(this):n.length>0?new b(n,e):new b([...ae(y[this.model][e].raw(this.color)),this.valpha],e)},b[e]=function(...n){let r=n[0];return typeof r=="number"&&(r=L(n,t)),new b(r,e)}}function oe(e,t){return Number(e.toFixed(t))}function se(e){return function(t){return oe(t,e)}}function u(e,t,n){e=Array.isArray(e)?e:[e];for(let r of e)(I[r]||=[])[t]=n;return e=e[0],function(r){let o;return r!==void 0?(n&&(r=n(r)),o=this[e](),o.color[t]=r,o):(o=this[e]().color[t],n&&(o=n(o)),o)}}function g(e){return function(t){return Math.max(0,Math.min(e,t))}}function ae(e){return Array.isArray(e)?e:[e]}function L(e,t){for(let n=0;n<t;n++)typeof e[n]!="number"&&(e[n]=0);return e}var T=b;var Ie={channel:"channel",channels:"channels",colorField:"color-field",colorFieldScope:"scope--color-field",colorMode:"color-mode",colorModeContainer:"color-mode-container",container:"container",control:"control",controlAndScope:"control-and-scope",controlSection:"control-section",deleteColor:"delete-color",header:"header",hexAndChannelsGroup:"hex-and-channels-group",hexOptions:"color-hex-options",hueScope:"scope--hue",hueSlider:"hue-slider",opacityScope:"scope--opacity",opacitySlider:"opacity-slider",preview:"preview",previewAndSliders:"preview-and-sliders",saveColor:"save-color",savedColor:"saved-color",savedColors:"saved-colors",savedColorsButtons:"saved-colors-buttons",savedColorsSection:"saved-colors-section",scope:"scope",section:"section",slider:"slider",sliders:"sliders",splitSection:"section--split"},Le=T("#007AC2"),Oe="calcite-color-",Ee={r:255,g:255,b:255},le={h:360,s:100,v:100},ze=le.h-1,Re={min:0,max:100},ie={s:{gap:parseInt(E),slider:{height:12},thumb:{radius:7},preview:{size:20},minWidth:200},m:{gap:parseInt(z),slider:{height:12},thumb:{radius:7},preview:{size:24},minWidth:240},l:{gap:parseInt(R),slider:{height:12},thumb:{radius:7},preview:{size:32},minWidth:304}},$e=1,qe=/^[0-9A-F]$/i,ce=/^#[0-9A-F]{3}$/i,he=/^#[0-9A-F]{6}$/i,ue=/^#[0-9A-F]{4}$/i,de=/^#[0-9A-F]{8}$/i,Be=e=>Number((e*100).toFixed()),Ge=e=>Number((e/100).toFixed(2));function j(e,t=!1){return O(e,t)||fe(e,t)}function X(e,t,n){return e?e.length===t&&n.test(e):!1}function O(e,t=!1){return X(e,t?5:4,t?ue:ce)}function fe(e,t=!1){return X(e,t?9:7,t?de:he)}function Te(e,t=!1,n=!1){if(e=e.toLowerCase(),e.startsWith("#")||(e=`#${e}`),O(e,t))return W(P(e,t));if(t&&n&&j(e,!1)){let r=O(e,!1);return W(P(`${e}${r?"f":"ff"}`,!0))}return e}function We(e,t=!1){return t?e.hexa():e.hex()}function W(e){let{r:t,g:n,b:r}=e,o=H(t),s=H(n),a=H(r),l="a"in e?H(e.a*255):"";return`#${o}${s}${a}${l}`.toLowerCase()}function H(e){return e.toString(16).padStart(2,"0")}function Pe(e){let t={...e,a:e.alpha??1};return delete t.alpha,t}function je(e){let t={...e,alpha:e.a??1};return delete t.a,t}function P(e,t=!1){if(!j(e,t))return null;e=e.replace("#","");let n,r,o,s;if(e.length===3||e.length===4){let[l,i,h,p]=e.split("");n=parseInt(`${l}${l}`,16),r=parseInt(`${i}${i}`,16),o=parseInt(`${h}${h}`,16),s=parseInt(`${p}${p}`,16)/255}else n=parseInt(e.slice(0,2),16),r=parseInt(e.slice(2,4),16),o=parseInt(e.slice(4,6),16),s=parseInt(e.slice(6,8),16)/255;return isNaN(s)?{r:n,g:r,b:o}:{r:n,g:r,b:o,a:s}}var D=e=>e,d=D({HEX:"hex",HEXA:"hexa",RGB_CSS:"rgb-css",RGBA_CSS:"rgba-css",HSL_CSS:"hsl-css",HSLA_CSS:"hsla-css"}),f=D({RGB:"rgb",RGBA:"rgba",HSL:"hsl",HSLA:"hsla",HSV:"hsv",HSVA:"hsva"});function Xe(e){if(typeof e=="string"){if(e.startsWith("#")){let{length:t}=e;if(t===4||t===7)return d.HEX;if(t===5||t===9)return d.HEXA}if(e.startsWith("rgba("))return d.RGBA_CSS;if(e.startsWith("rgb("))return d.RGB_CSS;if(e.startsWith("hsl("))return d.HSL_CSS;if(e.startsWith("hsla("))return d.HSLA_CSS}if(typeof e=="object"){if(F(e,"r","g","b"))return F(e,"a")?f.RGBA:f.RGB;if(F(e,"h","s","l"))return F(e,"a")?f.HSLA:f.HSL;if(F(e,"h","s","v"))return F(e,"a")?f.HSVA:f.HSV}return null}function F(e,...t){return t.every(n=>n&&e&&`${n}`in e)}function De(e,t){return e?.rgb().array().toString()===t?.rgb().array().toString()}function Ue(e){return e===d.HEXA||e===d.RGBA_CSS||e===d.HSLA_CSS||e===f.RGBA||e===f.HSLA||e===f.HSVA}function Ke(e){return e===d.HEX?d.HEXA:e===d.RGB_CSS?d.RGBA_CSS:e===d.HSL_CSS?d.HSLA_CSS:e===f.RGB?f.RGBA:e===f.HSL?f.HSLA:e===f.HSV?f.HSVA:e}function Ye(e){return e===d.HEXA?d.HEX:e===d.RGBA_CSS?d.RGB_CSS:e===d.HSLA_CSS?d.HSL_CSS:e===f.RGBA?f.RGB:e===f.HSLA?f.HSL:e===f.HSVA?f.HSV:e}var ge=1,U=ge*2;function Je(e,t,n){let r=n?ie.l.preview.size:t.preview.size,o=e-U,s=t.gap*3;return Math.max(o-s-r,0)}function Ze(e){let n=e-U;return{width:Math.max(n,0),height:Math.max(Math.floor(n/1.8),0)}}export{T as a,Ie as b,Le as c,Oe as d,Ee as e,le as f,ze as g,Re as h,ie as i,$e as j,qe as k,Be as l,Ge as m,j as n,O as o,fe as p,Te as q,We as r,W as s,Pe as t,je as u,P as v,d as w,Xe as x,De as y,Ue as z,Ke as A,Ye as B,Je as C,Ze as D};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{a as b}from"./MFXMCYAU.js";import{a as f,b as g}from"./CLRL273B.js";import"./GRLBXAFF.js";var M=new Date,T=M.toISOString(),v=365,y=v,R={groupDateRange:y,startDate:T},S=(t,r,e)=>{let o=[],n=e.create(t);for(let l=0;l<=r;l++)n=e.increase(n),o.push(e.formatToIsoDateString(n));return o},w=(t,r,e,o)=>{let n=new Map,l=S(r,e,o);return t.map(c=>{let{label:s}=c,a=g(s),u=l.map(m=>{let d=`${m}-${s}`,i=n.get(d);return i||(i=o.isoToTimeZone(m,s),n.set(d,i),i)});return{...c,continent:a,isRegularContinent:a!==f,dates:u}})},J=(t,r,e)=>t.length===r.length&&t.every((o,n)=>e.same(o,r[n])),Z=(t,r=5)=>{let e=t.filter(({label:n})=>g(n)!==f);if(e.length===0)return[0];let o=e.map(n=>t.indexOf(n));return x(o,r)};function x(t,r=5){let e=t.length;if(e<=r)return t;let o=Math.min(e-2,r-2),n=(e-1)/(o+1);return[t[0],...Array.from({length:o},(l,c)=>t[Math.round((c+1)*n)]),t[e-1]]}async function G(t){let{groupDateRange:r,startDate:e,dateEngine:o}={...R,...t},n=[];if(!o)throw new Error("dateEngine is required");let l=b.map(s=>({label:s})),c=w(l,e,r,o);for(let s of c){let{label:a,continent:u,dates:m}=s;if(s.visited)continue;s.visited=!0;let d={labelIdx:[],tzs:[{label:a}]};for(let i of c.filter(p=>!p.visited)){let{label:p,continent:h,isRegularContinent:z,dates:D}=i;if((u===h||!z)&&J(m,D,o)){let I={label:p};d.tzs.push(I),i.visited=!0}}n.push(d)}return n.map(s=>(s.tzs=s.tzs.sort((a,u)=>a.label.localeCompare(u.label)),{labelTzIdx:Z(s.tzs,7),tzs:s.tzs.map(a=>a.label)})).sort((s,a)=>a.tzs.length-s.tzs.length)}export{G as groupByOffset};
3
+ v3.2.0-next.40 */
4
+ import{a as b}from"./QWS3K5HU.js";import{a as f,b as g}from"./K3RGRXZK.js";import"./YD2UXF4G.js";var M=new Date,T=M.toISOString(),v=365,y=v,R={groupDateRange:y,startDate:T},S=(t,r,e)=>{let o=[],n=e.create(t);for(let l=0;l<=r;l++)n=e.increase(n),o.push(e.formatToIsoDateString(n));return o},w=(t,r,e,o)=>{let n=new Map,l=S(r,e,o);return t.map(c=>{let{label:s}=c,a=g(s),u=l.map(m=>{let d=`${m}-${s}`,i=n.get(d);return i||(i=o.isoToTimeZone(m,s),n.set(d,i),i)});return{...c,continent:a,isRegularContinent:a!==f,dates:u}})},J=(t,r,e)=>t.length===r.length&&t.every((o,n)=>e.same(o,r[n])),Z=(t,r=5)=>{let e=t.filter(({label:n})=>g(n)!==f);if(e.length===0)return[0];let o=e.map(n=>t.indexOf(n));return x(o,r)};function x(t,r=5){let e=t.length;if(e<=r)return t;let o=Math.min(e-2,r-2),n=(e-1)/(o+1);return[t[0],...Array.from({length:o},(l,c)=>t[Math.round((c+1)*n)]),t[e-1]]}async function G(t){let{groupDateRange:r,startDate:e,dateEngine:o}={...R,...t},n=[];if(!o)throw new Error("dateEngine is required");let l=b.map(s=>({label:s})),c=w(l,e,r,o);for(let s of c){let{label:a,continent:u,dates:m}=s;if(s.visited)continue;s.visited=!0;let d={labelIdx:[],tzs:[{label:a}]};for(let i of c.filter(p=>!p.visited)){let{label:p,continent:h,isRegularContinent:z,dates:D}=i;if((u===h||!z)&&J(m,D,o)){let I={label:p};d.tzs.push(I),i.visited=!0}}n.push(d)}return n.map(s=>(s.tzs=s.tzs.sort((a,u)=>a.label.localeCompare(u.label)),{labelTzIdx:Z(s.tzs,7),tzs:s.tzs.map(a=>a.label)})).sort((s,a)=>a.tzs.length-s.tzs.length)}export{G as groupByOffset};
@@ -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.2.0-next.39 */
4
- import{a as g,b as l,e as O,f as W,k as x,l as b,n as y,o as F,q as p}from"./MUFGKP4E.js";import{k as d}from"./7CQ233AJ.js";import{h as P,i as A,j as E}from"./7JTQUIIG.js";import{a as u}from"./GTUVAAAD.js";import{a as v,b as f}from"./U2YGN4RT.js";import{i as w,k as I}from"./LLN5DNPL.js";import"./R3CUJDU2.js";import{K as S,e as D,g as s,k as $,v as C,w as z,x as Y,y as r}from"./MZMZSY5A.js";var L=D`:host{display:block}.header{display:flex;block-size:100%;align-items:center;justify-content:space-between}.chevron-container{display:flex;align-items:center}:host([scale=s]){block-size:24px;margin:var(--calcite-spacing-xs);margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .chevron-container,:host([scale=s]) .chevron{min-inline-size:24px;block-size:24px}:host([scale=m]){block-size:32px;margin:var(--calcite-spacing-sm);margin-inline-start:var(--calcite-spacing-sm-plus)}:host([scale=m]) .chevron-container,:host([scale=m]) .chevron{min-inline-size:32px;block-size:32px;--calcite-internal-action-padding-block: var(--calcite-spacing-xxs)}:host([scale=l]){block-size:44px;margin:var(--calcite-spacing-xs);margin-inline-start:var(--calcite-spacing-sm)}:host([scale=l]) .chevron-container,:host([scale=l]) .chevron{min-inline-size:44px;block-size:44px;--calcite-internal-action-padding-block: var(--calcite-spacing-sm-plus)}.chevron{box-sizing:content-box;display:flex;block-size:100%;inline-size:100%;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;outline-color:transparent;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;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;--calcite-internal-action-padding-block: 0;--calcite-action-background-color: var(--calcite-date-picker-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-date-picker-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-date-picker-header-action-background-color-press);--calcite-action-text-color: var(--calcite-date-picker-header-action-text-color);--calcite-action-text-color-press: var(--calcite-date-picker-header-action-text-color-press)}.chevron: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))))}.chevron[aria-disabled=true]{pointer-events:none}.month-year-container{display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:flex-start;text-align:center;line-height:1;gap:var(--calcite-spacing-xxs)}.month-year-container.range-calendar{justify-content:center}.year-container{position:relative;display:flex;block-size:100%}.suffix{display:flex;align-items:center}.year,.suffix{margin-inline:var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-date-picker-year-text-color, var(--calcite-color-text-1));font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-fixed-lg)}.year{position:relative;display:inline-block;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;inline-size:44px}.year:hover{transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:outline-color;outline:2px solid var(--calcite-color-border-2);outline-offset:-2px}.year: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))))}.month-select{--calcite-select-internal-border-width: 0;--calcite-select-internal-icon-border-inline-end-width: 0;--calcite-select-spacing-inline: var(--calcite-spacing-xxs);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size-md));--calcite-select-text-color: var(--calcite-date-picker-month-select-text-color, var(--calcite-color-text-1));--calcite-select-icon-color: var(--calcite-date-picker-month-select-icon-color);--calcite-select-icon-color-hover: var(--calcite-date-picker-month-select-icon-color-hover);--calcite-internal-select-spacing-block: var(--calcite-spacing-xxs);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-xxs);--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-lg);--calcite-internal-select-font-weight: var(--calcite-font-weight-medium)}:host([scale=s]) .month-year-container .month-select{--calcite-select-spacing-inline: var(--calcite-spacing-base);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size));--calcite-internal-select-spacing-block: var(--calcite-spacing-base);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-base);--calcite-internal-select-block-size: 24px;--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-base)}:host([scale=s]) .month-year-container .year{inline-size:40px}:host([scale=s]) .month-year-container .year,:host([scale=s]) .month-year-container .suffix{font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-fixed-base)}:host([scale=l]) .month-year-container .month-select{--calcite-select-spacing-inline: var(--calcite-spacing-sm);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size-lg));--calcite-internal-select-spacing-block: var(--calcite-spacing-sm);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-sm);--calcite-internal-select-block-size: 44px;--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-xl)}:host([scale=l]) .month-year-container .year{inline-size:48px}:host([scale=l]) .month-year-container .year,:host([scale=l]) .month-year-container .suffix{font-size:var(--calcite-font-size-lg);line-height:var(--calcite-font-line-height-fixed-xl)}:host([hidden]){display:none}[hidden]{display:none}`,o={header:"header",chevron:"chevron",chevronContainer:"chevron-container",monthYearContainer:"month-year-container",monthPicker:"month-select",rangeCalendar:"range-calendar",suffix:"suffix",yearContainer:"year-container"},R={chevronLeft:"chevron-left",chevronRight:"chevron-right"},K=16,k=class extends Y{constructor(){super(...arguments),this.monthPickerEl=v(),this.yearInputEl=v(),this.calciteInternalDatePickerMonthHeaderSelectChange=z({cancelable:!1})}static{this.properties={nextMonthDate:[16,{state:!0}],prevMonthDate:[16,{state:!0}],activeDate:[0,{attribute:!1}],headingLevel:[9,{type:Number}],localeData:[0,{attribute:!1}],max:[0,{attribute:!1}],messages:[0,{attribute:!1}],min:[0,{attribute:!1}],monthStyle:1,position:1,scale:[3,{reflect:!0}],selectedDate:[0,{attribute:!1}]}}static{this.styles=L}connectedCallback(){super.connectedCallback(),this.setNextPrevMonthDates()}load(){this.parentDatePickerEl=I(this.el,"calcite-date-picker")}willUpdate(e){this.hasUpdated&&(e.has("activeDate")||e.has("localeData"))&&this.setYearSelectMenuWidth(),this.hasUpdated&&e.has("scale")&&this.setYearSelectWidthOffset(),(e.has("min")||e.has("max")||e.has("activeDate"))&&this.setNextPrevMonthDates()}loaded(){this.setYearSelectWidthOffset()}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=l(y(this.activeDate),this.min,this.max),this.prevMonthDate=l(x(this.activeDate),this.min,this.max))}onYearKey(e){let t=this.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault(),this.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault(),this.setYear({localizedYear:t,offset:1});break}}formatCalendarYear(e){return d.localize(`${W(e,this.localeData)}`)}parseCalendarYear(e){return d.localize(`${O(Number(d.delocalize(e)),this.localeData)}`)}onYearChange(e){this.setYear({localizedYear:this.parseCalendarYear(e.target.value)})}onYearInput(e){this.setYear({localizedYear:this.parseCalendarYear(e.target.value),commit:!1})}prevMonthClick(e){this.handleArrowClick(e,this.prevMonthDate)}prevMonthKeydown(e){u(e.key)&&this.prevMonthClick(e)}nextMonthClick(e){this.handleArrowClick(e,this.nextMonthDate)}nextMonthKeydown(e){u(e.key)&&this.nextMonthClick(e)}async handleArrowClick(e,t){e.preventDefault(),await this.handlePenultimateValidMonth(e),this.calciteInternalDatePickerMonthHeaderSelectChange.emit(t)}handleMonthChange(e){let t=e.target,{abbreviated:a,wide:n}=this.localeData.months,i=(this.monthStyle==="wide"?n:a).indexOf(t.value),h=b(this.activeDate,i);g(h,this.min,this.max)||(h=l(h,this.min,this.max)),this.calciteInternalDatePickerMonthHeaderSelectChange.emit(h),this.setYearSelectMenuWidth()}getInRangeDate({localizedYear:e,offset:t=0}){let{min:a,max:n,activeDate:c}=this,i=Number(d.delocalize(e)),h=i.toString().length,m=isNaN(i)?!1:i+t,N=m&&(!a||a.getFullYear()<=m)&&(!n||n.getFullYear()>=m);if(m&&N&&h===e.length){let M=new Date(c);return M.setFullYear(m),l(M,a,n)}}setYear({localizedYear:e,commit:t=!0,offset:a=0}){let{yearInputEl:{value:n},activeDate:c}=this,i=this.getInRangeDate({localizedYear:e,offset:a});i&&this.calciteInternalDatePickerMonthHeaderSelectChange.emit(i),t&&(n.value=this.formatCalendarYear((i||c).getFullYear()))}setYearSelectWidthOffset(){this.yearSelectWidthOffset=K+3*parseInt(this.getYearSelectPadding()),this.setYearSelectMenuWidth()}setYearSelectMenuWidth(){let e=this.monthPickerEl.value;e&&requestAnimationFrame(()=>{let t=getComputedStyle(e),a=`${t.fontStyle} ${t.fontVariant} ${t.fontWeight} ${t.fontSize}/${t.lineHeight} ${t.fontFamily}`,c=this.localeData.months[this.monthStyle][this.activeDate.getMonth()],i=Math.ceil(w(c,a));e.style.width=`${i+this.yearSelectWidthOffset}px`})}isMonthInRange(e){let t=b(this.activeDate,e);return!this.min&&!this.max||g(t,this.min,this.max)?!0:p(t,this.max)||p(t,this.min)}async handlePenultimateValidMonth(e){let n=e.target.getAttribute("data-direction")==="left",c;if(n&&this.min){let i=l(x(this.activeDate),this.min,this.max);c=p(i,this.min)}else if(this.max){let i=l(y(this.activeDate),this.min,this.max);c=p(i,this.max)}if(c)if(this.position)this.yearInputEl.value.focus();else{let i=n?this.nextMonthAction:this.prevMonthAction;i.disabled=!1,await i.setFocus()}}getPx(e){let t=Number(e.replace(/[rem|px]/g,"")),a=16;return e.includes("rem")?`${t*a}px`:`${t}px`}getYearSelectPadding(){let e;switch(this.scale){case"l":e=E;break;case"s":e=P;break;default:e=A;break}return this.getPx(e)}render(){return s`<div class=${r(o.header)}>${this.renderContent()}</div>`}renderContent(){let{localeData:e,activeDate:t}=this;if(!t||!e)return null;if(this.parentDatePickerEl){let{numberingSystem:c,lang:i}=this.parentDatePickerEl;d.numberFormatOptions={useGrouping:!1,...c&&{numberingSystem:c},...i&&{locale:i}}}let a=F(e.unitOrder),n=a.indexOf("y")<a.indexOf("m");return s`${this.position&&s`<div class=${r({[o.chevronContainer]:!0})}>${this.position==="start"&&this.renderChevron("left")||""}</div>`||""}<div class=${r({[o.monthYearContainer]:!0,[o.rangeCalendar]:!!this.position})}>${this.renderMonthYearContainer(n)}</div>${!this.position&&s`<div class=${r({[o.chevronContainer]:!0})}>${this.renderChevron("left")}</div>`||""}<div class=${r({[o.chevronContainer]:!0})}>${this.position!=="start"&&this.renderChevron("right")||""}</div>`}renderMonthYearContainer(e){return e?[this.renderYearInput(),this.renderMonthPicker()]:[this.renderMonthPicker(),this.renderYearInput()]}renderMonthPicker(){let e=this.activeDate.getMonth(),t=this.localeData.months[this.monthStyle];return s`<calcite-select class=${r(o.monthPicker)} .label=${this.messages.monthMenu} @calciteSelectChange=${this.handleMonthChange} width=auto ${f(this.monthPickerEl)}>${t.map((a,n)=>s`<calcite-option .disabled=${!this.isMonthInRange(n)} .selected=${n===e} .value=${a}>${a}</calcite-option>`)}</calcite-select>`}renderYearInput(){let e=this.localeData.year?.suffix,t=this.formatCalendarYear(this.activeDate.getFullYear());return s`<span class=${r(o.yearContainer)}><input .ariaLabel=${this.messages.year} class=${r({year:!0})} inputmode=numeric maxlength=4 minlength=1 @change=${this.onYearChange} @input=${this.onYearInput} @keydown=${this.onYearKey} pattern=\\d* type=text .value=${C(t??"")} ${f(this.yearInputEl)}>${e&&s`<span class=${r(o.suffix)}>${e}</span>`||""}</span>`}renderChevron(e){let t=e==="right",a=p(t?this.nextMonthDate:this.prevMonthDate,this.activeDate)||!g(this.activeDate,this.min,this.max);return s`<calcite-action alignment=center .ariaDisabled=${a} .ariaLabel=${t?this.messages.nextMonth:this.messages.prevMonth} class=${r(o.chevron)} compact data-direction=${e??$} .disabled=${a} .icon=${t?R.chevronRight:R.chevronLeft} icon-flip-rtl @click=${t?this.nextMonthClick:this.prevMonthClick} @keydown=${t?this.nextMonthKeydown:this.prevMonthKeydown} role=button .scale=${this.scale==="l"?"l":"m"} .text=${t?this.messages.nextMonth:this.messages.prevMonth} ${f(n=>t?this.nextMonthAction=n:this.prevMonthAction=n)}></calcite-action>`}};S("calcite-date-picker-month-header",k);export{k as DatePickerMonthHeader};
3
+ v3.2.0-next.40 */
4
+ import{a as g,b as l,e as O,f as W,k as x,l as b,n as y,o as F,q as p}from"./AZTNUW5Z.js";import{k as d}from"./XZK2I4C2.js";import{h as P,i as A,j as E}from"./UTHT52HY.js";import{a as u}from"./VIJYQUPS.js";import{a as v,b as f}from"./6P5PSH65.js";import{i as w,k as I}from"./4JEZM6VX.js";import"./6DCGXB5R.js";import{K as S,e as D,g as s,k as $,v as C,w as z,x as Y,y as r}from"./EYWRTO2E.js";var L=D`:host{display:block}.header{display:flex;block-size:100%;align-items:center;justify-content:space-between}.chevron-container{display:flex;align-items:center}:host([scale=s]){block-size:24px;margin:var(--calcite-spacing-xs);margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .chevron-container,:host([scale=s]) .chevron{min-inline-size:24px;block-size:24px}:host([scale=m]){block-size:32px;margin:var(--calcite-spacing-sm);margin-inline-start:var(--calcite-spacing-sm-plus)}:host([scale=m]) .chevron-container,:host([scale=m]) .chevron{min-inline-size:32px;block-size:32px;--calcite-internal-action-padding-block: var(--calcite-spacing-xxs)}:host([scale=l]){block-size:44px;margin:var(--calcite-spacing-xs);margin-inline-start:var(--calcite-spacing-sm)}:host([scale=l]) .chevron-container,:host([scale=l]) .chevron{min-inline-size:44px;block-size:44px;--calcite-internal-action-padding-block: var(--calcite-spacing-sm-plus)}.chevron{box-sizing:content-box;display:flex;block-size:100%;inline-size:100%;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;outline-color:transparent;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;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;--calcite-internal-action-padding-block: 0;--calcite-action-background-color: var(--calcite-date-picker-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-date-picker-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-date-picker-header-action-background-color-press);--calcite-action-text-color: var(--calcite-date-picker-header-action-text-color);--calcite-action-text-color-press: var(--calcite-date-picker-header-action-text-color-press)}.chevron: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))))}.chevron[aria-disabled=true]{pointer-events:none}.month-year-container{display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:flex-start;text-align:center;line-height:1;gap:var(--calcite-spacing-xxs)}.month-year-container.range-calendar{justify-content:center}.year-container{position:relative;display:flex;block-size:100%}.suffix{display:flex;align-items:center}.year,.suffix{margin-inline:var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-date-picker-year-text-color, var(--calcite-color-text-1));font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-fixed-lg)}.year{position:relative;display:inline-block;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;inline-size:44px}.year:hover{transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:outline-color;outline:2px solid var(--calcite-color-border-2);outline-offset:-2px}.year: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))))}.month-select{--calcite-select-internal-border-width: 0;--calcite-select-internal-icon-border-inline-end-width: 0;--calcite-select-spacing-inline: var(--calcite-spacing-xxs);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size-md));--calcite-select-text-color: var(--calcite-date-picker-month-select-text-color, var(--calcite-color-text-1));--calcite-select-icon-color: var(--calcite-date-picker-month-select-icon-color);--calcite-select-icon-color-hover: var(--calcite-date-picker-month-select-icon-color-hover);--calcite-internal-select-spacing-block: var(--calcite-spacing-xxs);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-xxs);--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-lg);--calcite-internal-select-font-weight: var(--calcite-font-weight-medium)}:host([scale=s]) .month-year-container .month-select{--calcite-select-spacing-inline: var(--calcite-spacing-base);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size));--calcite-internal-select-spacing-block: var(--calcite-spacing-base);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-base);--calcite-internal-select-block-size: 24px;--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-base)}:host([scale=s]) .month-year-container .year{inline-size:40px}:host([scale=s]) .month-year-container .year,:host([scale=s]) .month-year-container .suffix{font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-fixed-base)}:host([scale=l]) .month-year-container .month-select{--calcite-select-spacing-inline: var(--calcite-spacing-sm);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size-lg));--calcite-internal-select-spacing-block: var(--calcite-spacing-sm);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-sm);--calcite-internal-select-block-size: 44px;--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-xl)}:host([scale=l]) .month-year-container .year{inline-size:48px}:host([scale=l]) .month-year-container .year,:host([scale=l]) .month-year-container .suffix{font-size:var(--calcite-font-size-lg);line-height:var(--calcite-font-line-height-fixed-xl)}:host([hidden]){display:none}[hidden]{display:none}`,o={header:"header",chevron:"chevron",chevronContainer:"chevron-container",monthYearContainer:"month-year-container",monthPicker:"month-select",rangeCalendar:"range-calendar",suffix:"suffix",yearContainer:"year-container"},R={chevronLeft:"chevron-left",chevronRight:"chevron-right"},K=16,k=class extends Y{constructor(){super(...arguments),this.monthPickerEl=v(),this.yearInputEl=v(),this.calciteInternalDatePickerMonthHeaderSelectChange=z({cancelable:!1})}static{this.properties={nextMonthDate:[16,{state:!0}],prevMonthDate:[16,{state:!0}],activeDate:[0,{attribute:!1}],headingLevel:[9,{type:Number}],localeData:[0,{attribute:!1}],max:[0,{attribute:!1}],messages:[0,{attribute:!1}],min:[0,{attribute:!1}],monthStyle:1,position:1,scale:[3,{reflect:!0}],selectedDate:[0,{attribute:!1}]}}static{this.styles=L}connectedCallback(){super.connectedCallback(),this.setNextPrevMonthDates()}load(){this.parentDatePickerEl=I(this.el,"calcite-date-picker")}willUpdate(e){this.hasUpdated&&(e.has("activeDate")||e.has("localeData"))&&this.setYearSelectMenuWidth(),this.hasUpdated&&e.has("scale")&&this.setYearSelectWidthOffset(),(e.has("min")||e.has("max")||e.has("activeDate"))&&this.setNextPrevMonthDates()}loaded(){this.setYearSelectWidthOffset()}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=l(y(this.activeDate),this.min,this.max),this.prevMonthDate=l(x(this.activeDate),this.min,this.max))}onYearKey(e){let t=this.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault(),this.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault(),this.setYear({localizedYear:t,offset:1});break}}formatCalendarYear(e){return d.localize(`${W(e,this.localeData)}`)}parseCalendarYear(e){return d.localize(`${O(Number(d.delocalize(e)),this.localeData)}`)}onYearChange(e){this.setYear({localizedYear:this.parseCalendarYear(e.target.value)})}onYearInput(e){this.setYear({localizedYear:this.parseCalendarYear(e.target.value),commit:!1})}prevMonthClick(e){this.handleArrowClick(e,this.prevMonthDate)}prevMonthKeydown(e){u(e.key)&&this.prevMonthClick(e)}nextMonthClick(e){this.handleArrowClick(e,this.nextMonthDate)}nextMonthKeydown(e){u(e.key)&&this.nextMonthClick(e)}async handleArrowClick(e,t){e.preventDefault(),await this.handlePenultimateValidMonth(e),this.calciteInternalDatePickerMonthHeaderSelectChange.emit(t)}handleMonthChange(e){let t=e.target,{abbreviated:a,wide:n}=this.localeData.months,i=(this.monthStyle==="wide"?n:a).indexOf(t.value),h=b(this.activeDate,i);g(h,this.min,this.max)||(h=l(h,this.min,this.max)),this.calciteInternalDatePickerMonthHeaderSelectChange.emit(h),this.setYearSelectMenuWidth()}getInRangeDate({localizedYear:e,offset:t=0}){let{min:a,max:n,activeDate:c}=this,i=Number(d.delocalize(e)),h=i.toString().length,m=isNaN(i)?!1:i+t,N=m&&(!a||a.getFullYear()<=m)&&(!n||n.getFullYear()>=m);if(m&&N&&h===e.length){let M=new Date(c);return M.setFullYear(m),l(M,a,n)}}setYear({localizedYear:e,commit:t=!0,offset:a=0}){let{yearInputEl:{value:n},activeDate:c}=this,i=this.getInRangeDate({localizedYear:e,offset:a});i&&this.calciteInternalDatePickerMonthHeaderSelectChange.emit(i),t&&(n.value=this.formatCalendarYear((i||c).getFullYear()))}setYearSelectWidthOffset(){this.yearSelectWidthOffset=K+3*parseInt(this.getYearSelectPadding()),this.setYearSelectMenuWidth()}setYearSelectMenuWidth(){let e=this.monthPickerEl.value;e&&requestAnimationFrame(()=>{let t=getComputedStyle(e),a=`${t.fontStyle} ${t.fontVariant} ${t.fontWeight} ${t.fontSize}/${t.lineHeight} ${t.fontFamily}`,c=this.localeData.months[this.monthStyle][this.activeDate.getMonth()],i=Math.ceil(w(c,a));e.style.width=`${i+this.yearSelectWidthOffset}px`})}isMonthInRange(e){let t=b(this.activeDate,e);return!this.min&&!this.max||g(t,this.min,this.max)?!0:p(t,this.max)||p(t,this.min)}async handlePenultimateValidMonth(e){let n=e.target.getAttribute("data-direction")==="left",c;if(n&&this.min){let i=l(x(this.activeDate),this.min,this.max);c=p(i,this.min)}else if(this.max){let i=l(y(this.activeDate),this.min,this.max);c=p(i,this.max)}if(c)if(this.position)this.yearInputEl.value.focus();else{let i=n?this.nextMonthAction:this.prevMonthAction;i.disabled=!1,await i.setFocus()}}getPx(e){let t=Number(e.replace(/[rem|px]/g,"")),a=16;return e.includes("rem")?`${t*a}px`:`${t}px`}getYearSelectPadding(){let e;switch(this.scale){case"l":e=E;break;case"s":e=P;break;default:e=A;break}return this.getPx(e)}render(){return s`<div class=${r(o.header)}>${this.renderContent()}</div>`}renderContent(){let{localeData:e,activeDate:t}=this;if(!t||!e)return null;if(this.parentDatePickerEl){let{numberingSystem:c,lang:i}=this.parentDatePickerEl;d.numberFormatOptions={useGrouping:!1,...c&&{numberingSystem:c},...i&&{locale:i}}}let a=F(e.unitOrder),n=a.indexOf("y")<a.indexOf("m");return s`${this.position&&s`<div class=${r({[o.chevronContainer]:!0})}>${this.position==="start"&&this.renderChevron("left")||""}</div>`||""}<div class=${r({[o.monthYearContainer]:!0,[o.rangeCalendar]:!!this.position})}>${this.renderMonthYearContainer(n)}</div>${!this.position&&s`<div class=${r({[o.chevronContainer]:!0})}>${this.renderChevron("left")}</div>`||""}<div class=${r({[o.chevronContainer]:!0})}>${this.position!=="start"&&this.renderChevron("right")||""}</div>`}renderMonthYearContainer(e){return e?[this.renderYearInput(),this.renderMonthPicker()]:[this.renderMonthPicker(),this.renderYearInput()]}renderMonthPicker(){let e=this.activeDate.getMonth(),t=this.localeData.months[this.monthStyle];return s`<calcite-select class=${r(o.monthPicker)} .label=${this.messages.monthMenu} @calciteSelectChange=${this.handleMonthChange} width=auto ${f(this.monthPickerEl)}>${t.map((a,n)=>s`<calcite-option .disabled=${!this.isMonthInRange(n)} .selected=${n===e} .value=${a}>${a}</calcite-option>`)}</calcite-select>`}renderYearInput(){let e=this.localeData.year?.suffix,t=this.formatCalendarYear(this.activeDate.getFullYear());return s`<span class=${r(o.yearContainer)}><input .ariaLabel=${this.messages.year} class=${r({year:!0})} inputmode=numeric maxlength=4 minlength=1 @change=${this.onYearChange} @input=${this.onYearInput} @keydown=${this.onYearKey} pattern=\\d* type=text .value=${C(t??"")} ${f(this.yearInputEl)}>${e&&s`<span class=${r(o.suffix)}>${e}</span>`||""}</span>`}renderChevron(e){let t=e==="right",a=p(t?this.nextMonthDate:this.prevMonthDate,this.activeDate)||!g(this.activeDate,this.min,this.max);return s`<calcite-action alignment=center .ariaDisabled=${a} .ariaLabel=${t?this.messages.nextMonth:this.messages.prevMonth} class=${r(o.chevron)} compact data-direction=${e??$} .disabled=${a} .icon=${t?R.chevronRight:R.chevronLeft} icon-flip-rtl @click=${t?this.nextMonthClick:this.prevMonthClick} @keydown=${t?this.nextMonthKeydown:this.prevMonthKeydown} role=button .scale=${this.scale==="l"?"l":"m"} .text=${t?this.messages.nextMonth:this.messages.prevMonth} ${f(n=>t?this.nextMonthAction=n:this.prevMonthAction=n)}></calcite-action>`}};S("calcite-date-picker-month-header",k);export{k as DatePickerMonthHeader};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{h as M,k as L}from"./7CQ233AJ.js";import{c as F,e as R,f as O}from"./3VLVDWSS.js";import{a as v}from"./GZUOSY5I.js";import"./GTUVAAAD.js";import{a as T}from"./DX4BEDZ3.js";import{a as S}from"./24OTRUCC.js";import{a as m,b as p}from"./U2YGN4RT.js";import{q as V}from"./LLN5DNPL.js";import"./R3CUJDU2.js";import{K as C,e as z,g as h,x as k,y as b,z as d}from"./MZMZSY5A.js";var r={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"},U=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-internal-meter-space: var(--calcite-spacing-base);--calcite-internal-meter-height: var(--calcite-spacing-lg);--calcite-internal-meter-font-size: var(--calcite-font-size--1);--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand));--calcite-internal-meter-background-color: var(--calcite-meter-background-color, var(--calcite-color-foreground-2));--calcite-internal-meter-border-color: var(--calcite-meter-border-color, var(--calcite-color-border-3));--calcite-internal-meter-shadow: var(--calcite-meter-shadow, var(--calcite-shadow-none));--calcite-internal-meter-corner-radius: var(--calcite-meter-corner-radius, 9999px);--calcite-internal-meter-value-text-color: var(--calcite-meter-value-text-color, var(--calcite-color-text-1));--calcite-internal-meter-range-text-color: var(--calcite-meter-range-text-color, var(--calcite-color-text-3))}:host([scale=s]){--calcite-internal-meter-height: var(--calcite-spacing-md);--calcite-internal-meter-font-size: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-meter-height: var(--calcite-spacing-xxl);--calcite-internal-meter-font-size: var(--calcite-font-size-0)}:host([appearance=solid]){--calcite-internal-meter-border-color: var(--calcite-color-foreground-3);--calcite-internal-meter-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline]){--calcite-internal-meter-background-color: transparent}.fill{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand))}.fill-danger{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-danger))}.fill-success{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-success))}.fill-warning{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-warning))}.container{position:relative;display:flex;align-items:center;margin:0;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-internal-meter-height);background-color:var(--calcite-internal-meter-background-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-meter-border-color);border-radius:var(--calcite-internal-meter-corner-radius);box-shadow:var(--calcite-internal-meter-shadow)}.value-visible{margin-block-start:var(--calcite-spacing-xxl)}.steps-visible{margin-block-end:var(--calcite-spacing-xxl)}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-internal-meter-space);background-color:var(--calcite-internal-meter-border-color)}.label{position:absolute;font-size:var(--calcite-internal-meter-font-size)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + .5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-internal-meter-value-text-color)}.label-range{color:var(--calcite-internal-meter-range-text-color);inset-block-start:calc(100% + .5em)}.label-range .unit-label{font-weight:var(--calcite-font-weight-medium)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);inset-inline-start:var(--calcite-internal-meter-space);inset-block:var(--calcite-internal-meter-space);border-radius:var(--calcite-internal-meter-corner-radius);max-inline-size:calc(100% - var(--calcite-internal-meter-space) * 2);min-inline-size:calc(var(--calcite-internal-meter-height) - var(--calcite-internal-meter-space) * 2);background-color:var(--calcite-internal-meter-fill-color);transition-property:inline-size,background-color,box-shadow}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-internal-meter-height));box-shadow:0 0 0 1px var(--calcite-internal-meter-fill-color)}`,y=class extends k{constructor(){super(...arguments),this.highLabelEl=m(),this.labelFlipMax=.8,this.labelFlipProximity=.15,this.lowLabelEl=m(),this.maxLabelEl=m(),this.maxPercent=100,this.messages=S({name:null}),this.meterContainerEl=m(),this.minLabelEl=m(),this.minPercent=0,this.resizeObserver=T("resize",()=>this.resizeHandler()),this.valueLabelEl=m(),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,{state:!0}],highActive:[16,{state:!0}],highPercent:[16,{state:!0}],lowActive:[16,{state:!0}],lowPercent:[16,{state:!0}],appearance:[3,{reflect:!0}],disabled:[7,{reflect:!0,type:Boolean}],fillType:[3,{reflect:!0}],form:[3,{reflect:!0}],groupSeparator:[7,{reflect:!0,type:Boolean}],high:[11,{reflect:!0,type:Number}],label:1,low:[11,{reflect:!0,type:Number}],max:[11,{reflect:!0,type:Number}],min:[11,{reflect:!0,type:Number}],name:[3,{reflect:!0}],numberingSystem:1,rangeLabelType:[3,{reflect:!0}],rangeLabels:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],unitLabel:1,value:[9,{type:Number}],valueLabel:[7,{reflect:!0,type:Boolean}],valueLabelType:[3,{reflect:!0}]}}static{this.styles=U}connectedCallback(){super.connectedCallback(),F(this),this.resizeObserver?.observe(this.el)}load(){this.calculateValues(),O(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(),R(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:l,low:t,high:a,value:i}=this,n=100*(t-e)/(l-e),s=100*(a-e)/(l-e),c=100*(i-e)/(l-e);(!t||t<e||t>a||t>l)&&(this.low=e),(!a||a>l||a<t||a<e)&&(this.high=l),i||(this.value=e),this.lowPercent=n,this.highPercent=s,this.currentPercent=i?c:0,this.lowActive=!!t&&t>e&&(!i||t>i)&&(!a||t<a),this.highActive=!!a&&e<=a&&a<l&&(!i||a>i)&&(!t||a>t)}formatLabel(e,l){if(l==="percent"){if(!this.percentFormatting){let t=M(this.messages._lang),a=new Intl.NumberFormat(t,{useGrouping:this.groupSeparator,style:"percent"});this.percentFormatting={formatter:a,locale:t}}return this.percentFormatting.formatter.format(e)}else return L.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},L.localize(e.toString())}getMeterKindCssClass(){let{low:e,high:l,min:t,max:a,value:i}=this,n=e||t,s=l||a,c=i>=n,u=i<n,g=i>=s,o=i<s;return!i||!e&&o||u?r.success:c&&o?r.warning:g?r.danger:r.success}intersects(e,l){return e&&l&&V(e.getBoundingClientRect(),l.getBoundingClientRect())}determineVisibleLabels(){let{minLabelEl:{value:e},lowLabelEl:{value:l},highLabelEl:{value:t},maxLabelEl:{value:a}}=this,i=this.intersects(t,a),n=this.intersects(l,t),s=this.intersects(l,a),c=this.intersects(e,t),u=this.intersects(e,l),g=this.intersects(e,a),o=r.labelHidden;l&&(u||s||n?l.classList.add(o):l.classList.remove(o)),t&&(c||s||i?t.classList.add(o):t.classList.remove(o)),e&&a&&(g?a.classList.add(o):a.classList.remove(o))}determineValueLabelPosition(){let{valueLabelEl:{value:e},meterContainerEl:{value:l},currentPercent:t}=this,a=t>100?100:t>0?t:0,i=e.getBoundingClientRect().width,n=l.getBoundingClientRect().width,s=100*(i-0)/(n-0);a+s>=100?(e.style.insetInlineEnd="0%",e.style.removeProperty("inset-inline-start")):(e.style.insetInlineStart=`${a}% `,e.style.removeProperty("inset-inline-end"))}renderMeterFill(){let{currentPercent:e,fillType:l}=this,t=this.getMeterKindCssClass();return h`<div class=${b({[r.fill]:!0,[t]:l!=="single"})} style=${d({width:`${e}%`})}></div>`}renderRangeLine(e){let l={insetInlineStart:`${e}%`};return h`<div class=${b(r.stepLine)} style=${d(l)}></div>`}renderValueLabel(){let{currentPercent:e,valueLabelType:l,unitLabel:t,value:a}=this,i=this.formatLabel(l==="percent"?e/100:a||0,l);return v("low-label-line",h`<div class=${b({[r.label]:!0,[r.labelValue]:!0})} ${p(this.valueLabelEl)}>${i}${t&&l!=="percent"&&h`<span class=${b(r.unitLabel)}>&nbsp;${t}</span>`||""}</div>`)}renderMinLabel(){let{rangeLabelType:e,min:l,minPercent:t,unitLabel:a}=this,i={insetInlineStart:`${t}%`},n=this.formatLabel(e==="percent"?t:l,e);return v("min-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${d(i)} ${p(this.minLabelEl)}>${n}${a&&e!=="percent"&&h`<span class=${b(r.unitLabel)}>&nbsp;${a}</span>`||""}</div>`)}renderLowLabel(){let{rangeLabelType:e,low:l,lowPercent:t,highPercent:a,labelFlipProximity:i}=this,n=l?this.formatLabel(e==="percent"?t/100:l,e):"",s={insetInlineStart:`${t}%`},c={insetInlineEnd:`${100-t}%`},u=(a-t)/100<i?c:s;return v("low-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${d(u)} ${p(this.lowLabelEl)}>${n}</div>`)}renderHighLabel(){let{rangeLabelType:e,high:l,highPercent:t,labelFlipMax:a}=this,i=l?this.formatLabel(e==="percent"?t/100:l,e):"",n={insetInlineStart:`${t}%`},s={insetInlineEnd:`${100-t}%`},c=t/100>=a?s:n;return v("high-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${d(c)} ${p(this.highLabelEl)}>${i}</div>`)}renderMaxLabel(){let{rangeLabelType:e,max:l,maxPercent:t}=this,a={insetInlineEnd:`${100-t}%`},i=this.formatLabel(e==="percent"?t/100:l,e);return v("max-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${d(a)} ${p(this.maxLabelEl)}>${i}</div>`)}render(){let{appearance:e,currentPercent:l,highActive:t,highPercent:a,label:i,lowActive:n,lowPercent:s,max:c,maxPercent:u,min:g,minPercent:o,rangeLabels:f,rangeLabelType:x,unitLabel:$,value:w,valueLabel:P,valueLabelType:E}=this,H=this.formatLabel(l/100,"percent"),I=`${w} ${$}`;return h`<div .ariaLabel=${i} .ariaValueMax=${x==="percent"?u:c} .ariaValueMin=${x==="percent"?o:g} .ariaValueNow=${E==="percent"?l:w} .ariaValueText=${E==="percent"?H:$?I:void 0} class=${b({[r.container]:!0,[r.stepsVisible]:f,[r.valueVisible]:P,[e]:e!=="outline-fill"})} role=meter ${p(this.meterContainerEl)}>${this.renderMeterFill()}${P&&this.renderValueLabel()||""}${n&&this.renderRangeLine(s)||""}${t&&this.renderRangeLine(a)||""}${f&&this.renderMinLabel()||""}${f&&n&&this.renderLowLabel()||""}${f&&t&&this.renderHighLabel()||""}${f&&this.renderMaxLabel()||""}</div>`}};C("calcite-meter",y);export{y as Meter};
3
+ v3.2.0-next.40 */
4
+ import{h as M,k as L}from"./XZK2I4C2.js";import{c as F,e as R,f as O}from"./4KFIUD2B.js";import{a as v}from"./PNGIMH3C.js";import"./VIJYQUPS.js";import{a as T}from"./VYNVOZVL.js";import{a as S}from"./7EKOSZOZ.js";import{a as m,b as p}from"./6P5PSH65.js";import{q as V}from"./4JEZM6VX.js";import"./6DCGXB5R.js";import{K as C,e as z,g as h,x as k,y as b,z as d}from"./EYWRTO2E.js";var r={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"},U=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-internal-meter-space: var(--calcite-spacing-base);--calcite-internal-meter-height: var(--calcite-spacing-lg);--calcite-internal-meter-font-size: var(--calcite-font-size--1);--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand));--calcite-internal-meter-background-color: var(--calcite-meter-background-color, var(--calcite-color-foreground-2));--calcite-internal-meter-border-color: var(--calcite-meter-border-color, var(--calcite-color-border-3));--calcite-internal-meter-shadow: var(--calcite-meter-shadow, var(--calcite-shadow-none));--calcite-internal-meter-corner-radius: var(--calcite-meter-corner-radius, 9999px);--calcite-internal-meter-value-text-color: var(--calcite-meter-value-text-color, var(--calcite-color-text-1));--calcite-internal-meter-range-text-color: var(--calcite-meter-range-text-color, var(--calcite-color-text-3))}:host([scale=s]){--calcite-internal-meter-height: var(--calcite-spacing-md);--calcite-internal-meter-font-size: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-meter-height: var(--calcite-spacing-xxl);--calcite-internal-meter-font-size: var(--calcite-font-size-0)}:host([appearance=solid]){--calcite-internal-meter-border-color: var(--calcite-color-foreground-3);--calcite-internal-meter-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline]){--calcite-internal-meter-background-color: transparent}.fill{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand))}.fill-danger{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-danger))}.fill-success{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-success))}.fill-warning{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-warning))}.container{position:relative;display:flex;align-items:center;margin:0;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-internal-meter-height);background-color:var(--calcite-internal-meter-background-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-meter-border-color);border-radius:var(--calcite-internal-meter-corner-radius);box-shadow:var(--calcite-internal-meter-shadow)}.value-visible{margin-block-start:var(--calcite-spacing-xxl)}.steps-visible{margin-block-end:var(--calcite-spacing-xxl)}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-internal-meter-space);background-color:var(--calcite-internal-meter-border-color)}.label{position:absolute;font-size:var(--calcite-internal-meter-font-size)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + .5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-internal-meter-value-text-color)}.label-range{color:var(--calcite-internal-meter-range-text-color);inset-block-start:calc(100% + .5em)}.label-range .unit-label{font-weight:var(--calcite-font-weight-medium)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);inset-inline-start:var(--calcite-internal-meter-space);inset-block:var(--calcite-internal-meter-space);border-radius:var(--calcite-internal-meter-corner-radius);max-inline-size:calc(100% - var(--calcite-internal-meter-space) * 2);min-inline-size:calc(var(--calcite-internal-meter-height) - var(--calcite-internal-meter-space) * 2);background-color:var(--calcite-internal-meter-fill-color);transition-property:inline-size,background-color,box-shadow}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-internal-meter-height));box-shadow:0 0 0 1px var(--calcite-internal-meter-fill-color)}`,y=class extends k{constructor(){super(...arguments),this.highLabelEl=m(),this.labelFlipMax=.8,this.labelFlipProximity=.15,this.lowLabelEl=m(),this.maxLabelEl=m(),this.maxPercent=100,this.messages=S({name:null}),this.meterContainerEl=m(),this.minLabelEl=m(),this.minPercent=0,this.resizeObserver=T("resize",()=>this.resizeHandler()),this.valueLabelEl=m(),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,{state:!0}],highActive:[16,{state:!0}],highPercent:[16,{state:!0}],lowActive:[16,{state:!0}],lowPercent:[16,{state:!0}],appearance:[3,{reflect:!0}],disabled:[7,{reflect:!0,type:Boolean}],fillType:[3,{reflect:!0}],form:[3,{reflect:!0}],groupSeparator:[7,{reflect:!0,type:Boolean}],high:[11,{reflect:!0,type:Number}],label:1,low:[11,{reflect:!0,type:Number}],max:[11,{reflect:!0,type:Number}],min:[11,{reflect:!0,type:Number}],name:[3,{reflect:!0}],numberingSystem:1,rangeLabelType:[3,{reflect:!0}],rangeLabels:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],unitLabel:1,value:[9,{type:Number}],valueLabel:[7,{reflect:!0,type:Boolean}],valueLabelType:[3,{reflect:!0}]}}static{this.styles=U}connectedCallback(){super.connectedCallback(),F(this),this.resizeObserver?.observe(this.el)}load(){this.calculateValues(),O(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(),R(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:l,low:t,high:a,value:i}=this,n=100*(t-e)/(l-e),s=100*(a-e)/(l-e),c=100*(i-e)/(l-e);(!t||t<e||t>a||t>l)&&(this.low=e),(!a||a>l||a<t||a<e)&&(this.high=l),i||(this.value=e),this.lowPercent=n,this.highPercent=s,this.currentPercent=i?c:0,this.lowActive=!!t&&t>e&&(!i||t>i)&&(!a||t<a),this.highActive=!!a&&e<=a&&a<l&&(!i||a>i)&&(!t||a>t)}formatLabel(e,l){if(l==="percent"){if(!this.percentFormatting){let t=M(this.messages._lang),a=new Intl.NumberFormat(t,{useGrouping:this.groupSeparator,style:"percent"});this.percentFormatting={formatter:a,locale:t}}return this.percentFormatting.formatter.format(e)}else return L.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},L.localize(e.toString())}getMeterKindCssClass(){let{low:e,high:l,min:t,max:a,value:i}=this,n=e||t,s=l||a,c=i>=n,u=i<n,g=i>=s,o=i<s;return!i||!e&&o||u?r.success:c&&o?r.warning:g?r.danger:r.success}intersects(e,l){return e&&l&&V(e.getBoundingClientRect(),l.getBoundingClientRect())}determineVisibleLabels(){let{minLabelEl:{value:e},lowLabelEl:{value:l},highLabelEl:{value:t},maxLabelEl:{value:a}}=this,i=this.intersects(t,a),n=this.intersects(l,t),s=this.intersects(l,a),c=this.intersects(e,t),u=this.intersects(e,l),g=this.intersects(e,a),o=r.labelHidden;l&&(u||s||n?l.classList.add(o):l.classList.remove(o)),t&&(c||s||i?t.classList.add(o):t.classList.remove(o)),e&&a&&(g?a.classList.add(o):a.classList.remove(o))}determineValueLabelPosition(){let{valueLabelEl:{value:e},meterContainerEl:{value:l},currentPercent:t}=this,a=t>100?100:t>0?t:0,i=e.getBoundingClientRect().width,n=l.getBoundingClientRect().width,s=100*(i-0)/(n-0);a+s>=100?(e.style.insetInlineEnd="0%",e.style.removeProperty("inset-inline-start")):(e.style.insetInlineStart=`${a}% `,e.style.removeProperty("inset-inline-end"))}renderMeterFill(){let{currentPercent:e,fillType:l}=this,t=this.getMeterKindCssClass();return h`<div class=${b({[r.fill]:!0,[t]:l!=="single"})} style=${d({width:`${e}%`})}></div>`}renderRangeLine(e){let l={insetInlineStart:`${e}%`};return h`<div class=${b(r.stepLine)} style=${d(l)}></div>`}renderValueLabel(){let{currentPercent:e,valueLabelType:l,unitLabel:t,value:a}=this,i=this.formatLabel(l==="percent"?e/100:a||0,l);return v("low-label-line",h`<div class=${b({[r.label]:!0,[r.labelValue]:!0})} ${p(this.valueLabelEl)}>${i}${t&&l!=="percent"&&h`<span class=${b(r.unitLabel)}>&nbsp;${t}</span>`||""}</div>`)}renderMinLabel(){let{rangeLabelType:e,min:l,minPercent:t,unitLabel:a}=this,i={insetInlineStart:`${t}%`},n=this.formatLabel(e==="percent"?t:l,e);return v("min-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${d(i)} ${p(this.minLabelEl)}>${n}${a&&e!=="percent"&&h`<span class=${b(r.unitLabel)}>&nbsp;${a}</span>`||""}</div>`)}renderLowLabel(){let{rangeLabelType:e,low:l,lowPercent:t,highPercent:a,labelFlipProximity:i}=this,n=l?this.formatLabel(e==="percent"?t/100:l,e):"",s={insetInlineStart:`${t}%`},c={insetInlineEnd:`${100-t}%`},u=(a-t)/100<i?c:s;return v("low-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${d(u)} ${p(this.lowLabelEl)}>${n}</div>`)}renderHighLabel(){let{rangeLabelType:e,high:l,highPercent:t,labelFlipMax:a}=this,i=l?this.formatLabel(e==="percent"?t/100:l,e):"",n={insetInlineStart:`${t}%`},s={insetInlineEnd:`${100-t}%`},c=t/100>=a?s:n;return v("high-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${d(c)} ${p(this.highLabelEl)}>${i}</div>`)}renderMaxLabel(){let{rangeLabelType:e,max:l,maxPercent:t}=this,a={insetInlineEnd:`${100-t}%`},i=this.formatLabel(e==="percent"?t/100:l,e);return v("max-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${d(a)} ${p(this.maxLabelEl)}>${i}</div>`)}render(){let{appearance:e,currentPercent:l,highActive:t,highPercent:a,label:i,lowActive:n,lowPercent:s,max:c,maxPercent:u,min:g,minPercent:o,rangeLabels:f,rangeLabelType:x,unitLabel:$,value:w,valueLabel:P,valueLabelType:E}=this,H=this.formatLabel(l/100,"percent"),I=`${w} ${$}`;return h`<div .ariaLabel=${i} .ariaValueMax=${x==="percent"?u:c} .ariaValueMin=${x==="percent"?o:g} .ariaValueNow=${E==="percent"?l:w} .ariaValueText=${E==="percent"?H:$?I:void 0} class=${b({[r.container]:!0,[r.stepsVisible]:f,[r.valueVisible]:P,[e]:e!=="outline-fill"})} role=meter ${p(this.meterContainerEl)}>${this.renderMeterFill()}${P&&this.renderValueLabel()||""}${n&&this.renderRangeLine(s)||""}${t&&this.renderRangeLine(a)||""}${f&&this.renderMinLabel()||""}${f&&n&&this.renderLowLabel()||""}${f&&t&&this.renderHighLabel()||""}${f&&this.renderMaxLabel()||""}</div>`}};C("calcite-meter",y);export{y as Meter};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{g as s,y as c}from"./MZMZSY5A.js";var i={textMatch:"text-match"};function o(t){return t.charAt(0).toUpperCase()+t.slice(1)}function n({text:t,pattern:r}){if(!r||!t)return t;let a=t.split(r);return a.length>1&&(a[1]=s`<mark class=${c(i.textMatch)}>${a[1]}</mark>`),a}export{o as a,n as b};
3
+ v3.2.0-next.40 */
4
+ import{g as s,y as c}from"./EYWRTO2E.js";var i={textMatch:"text-match"};function o(t){return t.charAt(0).toUpperCase()+t.slice(1)}function n({text:t,pattern:r}){if(!r||!t)return t;let a=t.split(r);return a.length>1&&(a[1]=s`<mark class=${c(i.textMatch)}>${a[1]}</mark>`),a}export{o as a,n as b};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.0-next.40 */
@@ -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.2.0-next.39 */
4
- import{a as o}from"./MFXMCYAU.js";import"./GRLBXAFF.js";async function m(){return o.sort().map(r=>({label:r}))}export{m as groupByName};
3
+ v3.2.0-next.40 */
4
+ import{a as o}from"./QWS3K5HU.js";import"./YD2UXF4G.js";async function m(){return o.sort().map(r=>({label:r}))}export{m as groupByName};