@vonage/vivid 5.3.0 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/accordion-item/definition.js +1 -1
  2. package/alert/definition.cjs +1 -1
  3. package/alert/definition.js +2 -2
  4. package/badge/definition.js +1 -1
  5. package/banner/definition.js +1 -1
  6. package/bundled/base-color-picker.cjs +18 -13
  7. package/bundled/base-color-picker.js +98 -81
  8. package/bundled/calendar-picker.template.cjs +7 -7
  9. package/bundled/calendar-picker.template.js +102 -102
  10. package/bundled/char-count.cjs +1 -1
  11. package/bundled/char-count.js +1 -1
  12. package/bundled/definition10.cjs +1 -1
  13. package/bundled/definition10.js +2 -2
  14. package/bundled/definition11.cjs +12 -19
  15. package/bundled/definition11.js +87 -66
  16. package/bundled/definition12.cjs +19 -10
  17. package/bundled/definition12.js +217 -36
  18. package/bundled/definition13.cjs +10 -1
  19. package/bundled/definition13.js +38 -14
  20. package/bundled/definition14.cjs +1 -5
  21. package/bundled/definition14.js +15 -24
  22. package/bundled/definition15.cjs +5 -30
  23. package/bundled/definition15.js +22 -73
  24. package/bundled/definition16.cjs +30 -19
  25. package/bundled/definition16.js +74 -97
  26. package/bundled/definition17.cjs +19 -13
  27. package/bundled/definition17.js +83 -117
  28. package/bundled/definition18.cjs +13 -12
  29. package/bundled/definition18.js +114 -71
  30. package/bundled/definition19.cjs +26 -27
  31. package/bundled/definition19.js +171 -180
  32. package/bundled/definition2.cjs +9 -9
  33. package/bundled/definition2.js +84 -129
  34. package/bundled/definition3.cjs +1 -1
  35. package/bundled/definition3.js +1 -1
  36. package/bundled/definition6.cjs +3 -3
  37. package/bundled/definition6.js +19 -19
  38. package/bundled/definition9.cjs +5 -5
  39. package/bundled/definition9.js +394 -392
  40. package/bundled/listbox.cjs +1 -1
  41. package/bundled/listbox.js +82 -102
  42. package/bundled/localized.cjs +1 -1
  43. package/bundled/localized.js +48 -31
  44. package/bundled/mixins.cjs +1 -1
  45. package/bundled/mixins.js +1 -1
  46. package/bundled/picker-field.template.cjs +14 -14
  47. package/bundled/picker-field.template.js +35 -56
  48. package/bundled/time-selection-picker.template.cjs +12 -12
  49. package/bundled/time-selection-picker.template.js +13 -12
  50. package/bundled/trapped-focus.cjs +1 -0
  51. package/bundled/trapped-focus.js +26 -0
  52. package/bundled/vivid-element.cjs +5 -1
  53. package/bundled/vivid-element.js +401 -358
  54. package/calendar/index.cjs +13 -13
  55. package/calendar/index.js +171 -143
  56. package/card/definition.cjs +1 -1
  57. package/card/definition.js +1 -1
  58. package/color-picker/definition.cjs +209 -113
  59. package/color-picker/definition.js +209 -113
  60. package/color-picker/index.cjs +104 -75
  61. package/color-picker/index.js +412 -326
  62. package/combobox/definition.cjs +7 -27
  63. package/combobox/definition.js +8 -28
  64. package/combobox/index.cjs +6 -6
  65. package/combobox/index.js +57 -71
  66. package/contextual-help/index.cjs +1 -1
  67. package/contextual-help/index.js +1 -1
  68. package/custom-elements.json +354 -2
  69. package/data-grid/index.cjs +1 -1
  70. package/data-grid/index.js +1 -1
  71. package/date-picker/definition.cjs +1 -1
  72. package/date-picker/definition.js +1 -1
  73. package/date-picker/index.cjs +1 -1
  74. package/date-picker/index.js +2 -2
  75. package/date-range-picker/definition.cjs +1 -1
  76. package/date-range-picker/definition.js +1 -1
  77. package/date-range-picker/index.cjs +1 -1
  78. package/date-range-picker/index.js +2 -2
  79. package/date-time-picker/definition.cjs +1 -1
  80. package/date-time-picker/definition.js +1 -1
  81. package/date-time-picker/index.cjs +1 -1
  82. package/date-time-picker/index.js +2 -2
  83. package/dial-pad/definition.cjs +139 -0
  84. package/dial-pad/definition.js +139 -0
  85. package/dial-pad/index.cjs +27 -20
  86. package/dial-pad/index.js +177 -100
  87. package/dialog/definition.cjs +2 -2
  88. package/dialog/definition.js +2 -2
  89. package/dialog/index.cjs +7 -7
  90. package/dialog/index.js +6 -6
  91. package/divider/index.cjs +1 -1
  92. package/divider/index.js +1 -1
  93. package/elevation/definition.cjs +1 -1
  94. package/elevation/definition.js +1 -1
  95. package/fab/definition.js +1 -1
  96. package/header/definition.cjs +1 -1
  97. package/header/definition.js +1 -1
  98. package/icon/definition.cjs +56 -22
  99. package/icon/definition.js +56 -22
  100. package/index.cjs +3 -4
  101. package/index.js +2 -3
  102. package/lib/accordion/accordion.d.ts +1 -1
  103. package/lib/accordion/definition.d.ts +1 -1
  104. package/lib/audio-player/audio-player.d.ts +1 -1
  105. package/lib/color-picker/color-picker.d.ts +390 -12
  106. package/lib/color-picker/locale.d.ts +4 -0
  107. package/lib/combobox/combobox.d.ts +1 -0
  108. package/lib/combobox/combobox.options.d.ts +1 -1
  109. package/lib/date-picker/date-picker.d.ts +38 -38
  110. package/lib/date-range-picker/date-range-picker.d.ts +20 -20
  111. package/lib/date-time-picker/date-time-picker.d.ts +40 -40
  112. package/lib/dial-pad/dial-pad.d.ts +1 -0
  113. package/lib/divider/divider.d.ts +1 -1
  114. package/lib/icon/icon.d.ts +1 -0
  115. package/lib/menu-item/menu-item-role.d.ts +1 -1
  116. package/lib/popup/popup.d.ts +1 -1
  117. package/lib/searchable-select/locale.d.ts +4 -0
  118. package/lib/searchable-select/searchable-select.d.ts +3 -0
  119. package/lib/select/select.d.ts +3 -1
  120. package/lib/simple-color-picker/simple-color-picker.d.ts +2 -1
  121. package/lib/slider/slider.d.ts +1 -1
  122. package/lib/tabs/tabs.d.ts +2 -2
  123. package/lib/text-area/text-area.d.ts +1 -1
  124. package/lib/text-field/text-field.d.ts +1 -1
  125. package/lib/time-picker/time-picker.d.ts +20 -20
  126. package/locales/de-DE.cjs +20 -3
  127. package/locales/de-DE.js +20 -3
  128. package/locales/en-GB.cjs +21 -4
  129. package/locales/en-GB.js +21 -4
  130. package/locales/en-US.cjs +21 -4
  131. package/locales/en-US.js +21 -4
  132. package/locales/ja-JP.cjs +20 -3
  133. package/locales/ja-JP.js +20 -3
  134. package/locales/zh-CN.cjs +19 -2
  135. package/locales/zh-CN.js +19 -2
  136. package/menu/definition.cjs +4 -4
  137. package/menu/definition.js +4 -4
  138. package/nav-disclosure/definition.js +1 -1
  139. package/nav-item/definition.js +1 -1
  140. package/note/definition.js +1 -1
  141. package/number-field/definition.js +1 -1
  142. package/number-field/index.cjs +1 -1
  143. package/number-field/index.js +3 -3
  144. package/option/definition.cjs +6 -77
  145. package/option/definition.js +3 -78
  146. package/option/index.cjs +1 -1
  147. package/option/index.js +1 -1
  148. package/package.json +31 -5
  149. package/popup/definition.cjs +2 -2
  150. package/popup/definition.js +2 -2
  151. package/progress-ring/index.cjs +1 -1
  152. package/progress-ring/index.js +1 -1
  153. package/radio/index.cjs +1 -1
  154. package/radio/index.js +1 -1
  155. package/radio-group/index.cjs +1 -1
  156. package/radio-group/index.js +1 -1
  157. package/range-slider/definition.cjs +1 -1
  158. package/range-slider/definition.js +1 -1
  159. package/rich-text-editor/definition.cjs +2 -3
  160. package/rich-text-editor/definition.js +1 -2
  161. package/rich-text-editor/index.cjs +27 -27
  162. package/rich-text-editor/index.js +1209 -1199
  163. package/searchable-select/definition.cjs +103 -11
  164. package/searchable-select/definition.js +103 -11
  165. package/searchable-select/index.cjs +81 -69
  166. package/searchable-select/index.js +359 -273
  167. package/select/definition.cjs +30 -44
  168. package/select/definition.js +30 -44
  169. package/selectable-box/definition.cjs +1 -1
  170. package/selectable-box/definition.js +1 -1
  171. package/selectable-box/index.cjs +1 -1
  172. package/selectable-box/index.js +2 -2
  173. package/shared/aria/aria-mixin.d.ts +1 -1
  174. package/shared/color-picker/base-color-picker.d.ts +2 -1
  175. package/shared/foundation/listbox/listbox.d.ts +4 -0
  176. package/shared/picker-field/mixins/calendar-picker.d.ts +10 -10
  177. package/shared/picker-field/mixins/calendar-picker.template.d.ts +10 -10
  178. package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +20 -20
  179. package/shared/picker-field/mixins/single-date-picker.d.ts +28 -28
  180. package/shared/picker-field/mixins/single-value-picker.d.ts +8 -8
  181. package/shared/picker-field/mixins/time-selection-picker.d.ts +20 -20
  182. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +20 -20
  183. package/simple-color-picker/definition.cjs +9 -7
  184. package/simple-color-picker/definition.js +9 -7
  185. package/simple-color-picker/index.cjs +6 -6
  186. package/simple-color-picker/index.js +41 -39
  187. package/slider/definition.cjs +1 -1
  188. package/slider/definition.js +1 -1
  189. package/split-button/definition.js +1 -1
  190. package/styles/core/all.css +1 -1
  191. package/styles/core/theme.css +1 -1
  192. package/styles/core/typography.css +1 -1
  193. package/styles/tokens/theme-dark.css +4 -4
  194. package/styles/tokens/theme-light.css +4 -4
  195. package/styles/tokens/vivid-2-compat.css +1 -1
  196. package/tab/definition.js +1 -1
  197. package/tag/definition.cjs +34 -14
  198. package/tag/definition.js +35 -15
  199. package/tag/index.cjs +25 -12
  200. package/tag/index.js +64 -47
  201. package/tag-group/definition.cjs +1 -2
  202. package/tag-group/definition.js +1 -2
  203. package/tag-group/index.cjs +1 -1
  204. package/tag-group/index.js +11 -12
  205. package/text-area/index.cjs +1 -1
  206. package/text-area/index.js +2 -2
  207. package/text-field/definition.js +1 -1
  208. package/time-picker/definition.cjs +1 -1
  209. package/time-picker/definition.js +1 -1
  210. package/time-picker/index.cjs +1 -1
  211. package/time-picker/index.js +1 -1
  212. package/toggletip/definition.cjs +1 -1
  213. package/toggletip/definition.js +1 -1
  214. package/toggletip/index.cjs +1 -1
  215. package/toggletip/index.js +1 -1
  216. package/tooltip/definition.cjs +3 -3
  217. package/tooltip/definition.js +3 -3
  218. package/tooltip/index.cjs +1 -1
  219. package/tooltip/index.js +1 -1
  220. package/tree-item/definition.cjs +1 -1
  221. package/tree-item/definition.js +1 -1
  222. package/tree-view/definition.cjs +1 -1
  223. package/tree-view/definition.js +1 -1
  224. package/unbundled/affix.js +1 -1
  225. package/unbundled/base-color-picker.cjs +36 -18
  226. package/unbundled/base-color-picker.js +36 -18
  227. package/unbundled/calendar-picker.template.cjs +2 -2
  228. package/unbundled/calendar-picker.template.js +2 -2
  229. package/unbundled/definition.js +1 -1
  230. package/unbundled/definition2.js +1 -1
  231. package/unbundled/definition3.cjs +222 -141
  232. package/unbundled/definition3.js +220 -139
  233. package/unbundled/definition4.cjs +145 -235
  234. package/unbundled/definition4.js +143 -233
  235. package/unbundled/definition5.cjs +269 -27
  236. package/unbundled/definition5.js +267 -26
  237. package/unbundled/definition6.cjs +56 -0
  238. package/unbundled/definition6.js +52 -0
  239. package/unbundled/listbox.cjs +41 -63
  240. package/unbundled/listbox.js +39 -61
  241. package/unbundled/picker-field.template.cjs +3 -36
  242. package/unbundled/picker-field.template.js +3 -35
  243. package/unbundled/slider.template.cjs +1 -1
  244. package/unbundled/slider.template.js +1 -1
  245. package/unbundled/time-selection-picker.template.cjs +2 -1
  246. package/unbundled/time-selection-picker.template.js +2 -1
  247. package/unbundled/trapped-focus.cjs +37 -0
  248. package/unbundled/trapped-focus.js +34 -0
  249. package/unbundled/vivid-element.cjs +1 -1
  250. package/unbundled/vivid-element.js +1 -1
  251. package/video-player/definition.cjs +56 -16
  252. package/video-player/definition.js +56 -16
  253. package/video-player/index.cjs +36 -36
  254. package/video-player/index.js +2461 -2445
  255. package/visually-hidden/index.cjs +1 -1
  256. package/visually-hidden/index.js +1 -1
  257. package/vivid.api.json +285 -38
  258. package/bundled/_has.cjs +0 -1
  259. package/bundled/_has.js +0 -34
  260. package/bundled/option.cjs +0 -1
  261. package/bundled/option.js +0 -158
  262. package/unbundled/option.cjs +0 -217
  263. package/unbundled/option.js +0 -214
@@ -1,11 +1,11 @@
1
- import { o as H, v as V, U as Z, a as ue, h as x } from "./vivid-element.js";
2
- import { D as _e } from "./divider.js";
1
+ import { o as H, v as V, U as Z, a as de, h as x } from "./vivid-element.js";
2
+ import { D as ve } from "./divider.js";
3
3
  import { B as Le } from "./definition3.js";
4
- import { V as ve } from "./definition13.js";
4
+ import { V as Me } from "./definition14.js";
5
5
  import { r as F } from "./repeat.js";
6
6
  import { w as D } from "./when.js";
7
- import { c as Me } from "./class-names.js";
8
- const lr = '.segments{display:inline-flex;gap:24px}.segment{display:flex;flex-direction:column;gap:12px}.segment .header{display:flex;align-items:center;padding-block:8px}.segment .title{display:flex;flex-grow:1;justify-content:center}.segment .title-action{border-radius:8px;block-size:24px;font:var(--vvd-typography-base-extended);padding-inline:8px}.calendar{display:flex;flex-direction:column;margin-top:8px;gap:4px}.calendar .calendar-separator{margin-inline:10px}.calendar .calendar-weekdays{display:flex;justify-content:center}.calendar .calendar-weekday{display:inline-flex;align-items:center;justify-content:center;block-size:16px;font:var(--vvd-typography-base-condensed);inline-size:40px}.calendar .calendar-week{display:flex;justify-content:center}.calendar .calendar-day{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;aspect-ratio:1/1;block-size:28px;font:var(--vvd-typography-base);margin-inline:6px}.calendar .calendar-day.start,.calendar .calendar-day.end{border:2px solid var(--vvd-color-cta-50);background-color:var(--vvd-color-cta-200)}.calendar:focus-visible .calendar .calendar-day.start,.calendar:focus-visible .calendar .calendar-day.end{border-width:3px}.calendar .calendar-day:before,.calendar .calendar-day:after{position:absolute;z-index:-1;display:block;width:20px;height:28px}.calendar .calendar-day:before{right:50%}.calendar .calendar-day:after{left:50%}.calendar .calendar-day.range:before,.calendar .calendar-day.range:after{background-color:var(--vvd-color-cta-50)}.calendar .calendar-day.range:not(.start):before,.calendar .calendar-day.range:not(.end):after{content:""}.calendar .calendar-day.outside-month,.calendar .calendar-day:disabled{color:var(--vvd-color-neutral-400)}.months-separator{margin-inline:-12px}.month-grid{display:flex;flex-direction:column;gap:34px}.month-grid .months-row{display:flex;justify-content:center;gap:29px}.month-grid .month{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;aspect-ratio:1/1;block-size:48px;font:var(--vvd-typography-base-extended);text-transform:uppercase}.month-grid .month:disabled{color:var(--vvd-color-neutral-400)}.button{--_connotation-color-primary: var(--vvd-date-picker-accent-primary, var(--vvd-color-canvas-text));--_connotation-color-firm: var(--vvd-date-picker-accent-firm, var(--vvd-color-canvas-text));--_connotation-color-faint: var(--vvd-date-picker-accent-faint, var(--vvd-color-neutral-50));--_connotation-color-soft: var(--vvd-date-picker-accent-soft, var(--vvd-color-neutral-100));--_connotation-color-dim: var(--vvd-date-picker-accent-dim, var(--vvd-color-neutral-200));--_connotation-color-pale: var(--vvd-date-picker-accent-pale, var(--vvd-color-neutral-300))}.button{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}@media (hover: hover){.button:hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: transparent}}.button.hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: transparent}.button:active:where(:not(.disabled,:disabled)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: transparent}.button.active:where(:not(.disabled,:disabled)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: transparent}.button.selected:where(:not(.disabled,:disabled)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: transparent}@media (hover: hover){.button.selected:hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-dim);--_appearance-color-outline: transparent}}.button.selected.hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-dim);--_appearance-color-outline: transparent}.button.selected:disabled{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-200);--_appearance-color-outline: transparent}.button.selected.disabled{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-200);--_appearance-color-outline: transparent}.button{position:relative;padding:0;border:none;background-color:var(--_appearance-color-fill);color:var(--_appearance-color-text);cursor:pointer}.button:disabled{cursor:not-allowed}.button:focus:not(.title-action),.button.title-action:focus-visible{--focus-stroke-gap-color: transparent;color:var(--vvd-color-canvas-text);box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px))}.button:focus:not(.title-action).start,.button:focus:not(.title-action).end,.button.title-action:focus-visible.start,.button.title-action:focus-visible.end{border-width:3px}.button.current{border:1px solid var(--vvd-color-neutral-200)}.button.selected{border:1px solid var(--vvd-color-neutral-900)}';
7
+ import { c as ke } from "./class-names.js";
8
+ const lr = '.segments{gap:24px}@media (width >= 648px){.segments{display:inline-flex}}.segment{display:flex;flex-direction:column;gap:12px}.segment .header{display:flex;align-items:center;padding-block:8px}.segment .title{display:flex;flex-grow:1;justify-content:center}.segment .title-action{border-radius:8px;block-size:24px;font:var(--vvd-typography-base-extended);padding-inline:8px}.calendar{display:flex;flex-direction:column;margin-top:8px;gap:4px}.calendar .calendar-separator{margin-inline:10px}.calendar .calendar-weekdays{display:flex;justify-content:center}.calendar .calendar-weekday{display:inline-flex;align-items:center;justify-content:center;block-size:16px;font:var(--vvd-typography-base-condensed);inline-size:40px}.calendar .calendar-week{display:flex;justify-content:center}.calendar .calendar-day{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;aspect-ratio:1/1;block-size:28px;font:var(--vvd-typography-base);margin-inline:6px}.calendar .calendar-day.start,.calendar .calendar-day.end{border:2px solid var(--vvd-color-cta-50);background-color:var(--vvd-color-cta-200)}.calendar:focus-visible .calendar .calendar-day.start,.calendar:focus-visible .calendar .calendar-day.end{border-width:3px}.calendar .calendar-day:before,.calendar .calendar-day:after{position:absolute;z-index:-1;display:block;width:20px;height:28px}.calendar .calendar-day:before{right:50%}.calendar .calendar-day:after{left:50%}.calendar .calendar-day.range:before,.calendar .calendar-day.range:after{background-color:var(--vvd-color-cta-50)}.calendar .calendar-day.range:not(.start):before,.calendar .calendar-day.range:not(.end):after{content:""}.calendar .calendar-day.outside-month,.calendar .calendar-day:disabled{color:var(--vvd-color-neutral-400)}.months-separator{margin-inline:-12px}.month-grid{display:flex;flex-direction:column;gap:34px}.month-grid .months-row{display:flex;justify-content:center;gap:29px}.month-grid .month{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;aspect-ratio:1/1;block-size:48px;font:var(--vvd-typography-base-extended);text-transform:uppercase}.month-grid .month:disabled{color:var(--vvd-color-neutral-400)}.button{--_connotation-color-primary: var(--vvd-date-picker-accent-primary, var(--vvd-color-canvas-text));--_connotation-color-firm: var(--vvd-date-picker-accent-firm, var(--vvd-color-canvas-text));--_connotation-color-faint: var(--vvd-date-picker-accent-faint, var(--vvd-color-neutral-50));--_connotation-color-soft: var(--vvd-date-picker-accent-soft, var(--vvd-color-neutral-100));--_connotation-color-dim: var(--vvd-date-picker-accent-dim, var(--vvd-color-neutral-200));--_connotation-color-pale: var(--vvd-date-picker-accent-pale, var(--vvd-color-neutral-300))}.button{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}@media (hover: hover){.button:hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: transparent}}.button.hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: transparent}.button:active:where(:not(.disabled,:disabled)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: transparent}.button.active:where(:not(.disabled,:disabled)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: transparent}.button.selected:where(:not(.disabled,:disabled)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: transparent}@media (hover: hover){.button.selected:hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-dim);--_appearance-color-outline: transparent}}.button.selected.hover:where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-dim);--_appearance-color-outline: transparent}.button.selected:disabled{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-200);--_appearance-color-outline: transparent}.button.selected.disabled{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-200);--_appearance-color-outline: transparent}.button{position:relative;padding:0;border:none;background-color:var(--_appearance-color-fill);color:var(--_appearance-color-text);cursor:pointer}.button:disabled{cursor:not-allowed}.button:focus:not(.title-action),.button.title-action:focus-visible{--focus-stroke-gap-color: transparent;color:var(--vvd-color-canvas-text);box-shadow:0 0 0 4px color-mix(in srgb,var(--vvd-color-cta-500),transparent 85%),inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:1px solid var(--focus-stroke-color, var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset, 0px))}.button:focus:not(.title-action).start,.button:focus:not(.title-action).end,.button.title-action:focus-visible.start,.button.title-action:focus-visible.end{border-width:3px}.button.current{border:1px solid var(--vvd-color-neutral-200)}.button.selected{border:1px solid var(--vvd-color-neutral-900)}';
9
9
  function _(r) {
10
10
  const e = Object.prototype.toString.call(r);
11
11
  return r instanceof Date || typeof r == "object" && e === "[object Date]" ? new r.constructor(+r) : typeof r == "number" || e === "[object Number]" || typeof r == "string" || e === "[object String]" ? new Date(r) : /* @__PURE__ */ new Date(NaN);
@@ -13,11 +13,11 @@ function _(r) {
13
13
  function w(r, e) {
14
14
  return r instanceof Date ? new r.constructor(e) : new Date(e);
15
15
  }
16
- function ne(r, e) {
16
+ function re(r, e) {
17
17
  const n = _(r);
18
18
  return isNaN(e) ? w(r, NaN) : (e && n.setDate(n.getDate() + e), n);
19
19
  }
20
- const ke = 6048e5, He = 864e5, Re = 6e4, Qe = 36e5, Be = 1e3;
20
+ const De = 6048e5, He = 864e5, Re = 6e4, Qe = 36e5, Be = 1e3;
21
21
  let Ae = {};
22
22
  function L() {
23
23
  return Ae;
@@ -29,7 +29,7 @@ function $(r, e) {
29
29
  function I(r) {
30
30
  return $(r, { weekStartsOn: 1 });
31
31
  }
32
- function De(r) {
32
+ function Pe(r) {
33
33
  const e = _(r), n = e.getFullYear(), t = w(r, 0);
34
34
  t.setFullYear(n + 1, 0, 4), t.setHours(0, 0, 0, 0);
35
35
  const a = I(t), o = w(r, 0);
@@ -37,7 +37,7 @@ function De(r) {
37
37
  const s = I(o);
38
38
  return e.getTime() >= a.getTime() ? n + 1 : e.getTime() >= s.getTime() ? n : n - 1;
39
39
  }
40
- function de(r) {
40
+ function he(r) {
41
41
  const e = _(r);
42
42
  return e.setHours(0, 0, 0, 0), e;
43
43
  }
@@ -56,11 +56,11 @@ function X(r) {
56
56
  return n.setUTCFullYear(e.getFullYear()), +r - +n;
57
57
  }
58
58
  function Ve(r, e) {
59
- const n = de(r), t = de(e), a = +n - X(n), o = +t - X(t);
59
+ const n = he(r), t = he(e), a = +n - X(n), o = +t - X(t);
60
60
  return Math.round((a - o) / He);
61
61
  }
62
62
  function Ge(r) {
63
- const e = De(r), n = w(r, 0);
63
+ const e = Pe(r), n = w(r, 0);
64
64
  return n.setFullYear(e, 0, 4), n.setHours(0, 0, 0, 0), I(n);
65
65
  }
66
66
  function Xe(r) {
@@ -495,7 +495,7 @@ const pt = /^(\d+)(th|st|nd|rd)?/i, mt = /\d+/i, wt = {
495
495
  parsePatterns: Dt,
496
496
  defaultParseWidth: "any"
497
497
  })
498
- }, Pe = {
498
+ }, Te = {
499
499
  code: "en-US",
500
500
  formatDistance: Je,
501
501
  formatLong: et,
@@ -511,11 +511,11 @@ function Tt(r) {
511
511
  const e = _(r);
512
512
  return Ve(e, ze(e)) + 1;
513
513
  }
514
- function Te(r) {
514
+ function Ye(r) {
515
515
  const e = _(r), n = +I(e) - +Ge(e);
516
- return Math.round(n / ke) + 1;
516
+ return Math.round(n / De) + 1;
517
517
  }
518
- function re(r, e) {
518
+ function ae(r, e) {
519
519
  const n = _(r), t = n.getFullYear(), a = L(), o = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, s = w(r, 0);
520
520
  s.setFullYear(t + 1, 0, o), s.setHours(0, 0, 0, 0);
521
521
  const i = $(s, e), h = w(r, 0);
@@ -524,12 +524,12 @@ function re(r, e) {
524
524
  return n.getTime() >= i.getTime() ? t + 1 : n.getTime() >= v.getTime() ? t : t - 1;
525
525
  }
526
526
  function Yt(r, e) {
527
- const n = L(), t = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, a = re(r, e), o = w(r, 0);
527
+ const n = L(), t = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, a = ae(r, e), o = w(r, 0);
528
528
  return o.setFullYear(a, 0, t), o.setHours(0, 0, 0, 0), $(o, e);
529
529
  }
530
- function Ye(r, e) {
530
+ function Oe(r, e) {
531
531
  const n = _(r), t = +$(n, e) - +Yt(n, e);
532
- return Math.round(t / ke) + 1;
532
+ return Math.round(t / De) + 1;
533
533
  }
534
534
  function l(r, e) {
535
535
  const n = r < 0 ? "-" : "", t = Math.abs(r).toString().padStart(e, "0");
@@ -596,7 +596,7 @@ const C = {
596
596
  afternoon: "afternoon",
597
597
  evening: "evening",
598
598
  night: "night"
599
- }, he = {
599
+ }, fe = {
600
600
  // Era
601
601
  G: function(r, e, n) {
602
602
  const t = r.getFullYear() > 0 ? 1 : 0;
@@ -622,7 +622,7 @@ const C = {
622
622
  },
623
623
  // Local week-numbering year
624
624
  Y: function(r, e, n, t) {
625
- const a = re(r, t), o = a > 0 ? a : 1 - a;
625
+ const a = ae(r, t), o = a > 0 ? a : 1 - a;
626
626
  if (e === "YY") {
627
627
  const s = o % 100;
628
628
  return l(s, 2);
@@ -631,7 +631,7 @@ const C = {
631
631
  },
632
632
  // ISO week-numbering year
633
633
  R: function(r, e) {
634
- const n = De(r);
634
+ const n = Pe(r);
635
635
  return l(n, e.length);
636
636
  },
637
637
  // Extended year. This is a single number designating the year of this calendar system.
@@ -754,12 +754,12 @@ const C = {
754
754
  },
755
755
  // Local week of year
756
756
  w: function(r, e, n, t) {
757
- const a = Ye(r, t);
757
+ const a = Oe(r, t);
758
758
  return e === "wo" ? n.ordinalNumber(a, { unit: "week" }) : l(a, e.length);
759
759
  },
760
760
  // ISO week of year
761
761
  I: function(r, e, n) {
762
- const t = Te(r);
762
+ const t = Ye(r);
763
763
  return e === "Io" ? n.ordinalNumber(t, { unit: "week" }) : l(t, e.length);
764
764
  },
765
765
  // Day of the month
@@ -1022,7 +1022,7 @@ const C = {
1022
1022
  return "Z";
1023
1023
  switch (e) {
1024
1024
  case "X":
1025
- return pe(t);
1025
+ return me(t);
1026
1026
  case "XXXX":
1027
1027
  case "XX":
1028
1028
  return E(t);
@@ -1037,7 +1037,7 @@ const C = {
1037
1037
  const t = r.getTimezoneOffset();
1038
1038
  switch (e) {
1039
1039
  case "x":
1040
- return pe(t);
1040
+ return me(t);
1041
1041
  case "xxxx":
1042
1042
  case "xx":
1043
1043
  return E(t);
@@ -1054,7 +1054,7 @@ const C = {
1054
1054
  case "O":
1055
1055
  case "OO":
1056
1056
  case "OOO":
1057
- return "GMT" + fe(t, ":");
1057
+ return "GMT" + pe(t, ":");
1058
1058
  case "OOOO":
1059
1059
  default:
1060
1060
  return "GMT" + E(t, ":");
@@ -1067,7 +1067,7 @@ const C = {
1067
1067
  case "z":
1068
1068
  case "zz":
1069
1069
  case "zzz":
1070
- return "GMT" + fe(t, ":");
1070
+ return "GMT" + pe(t, ":");
1071
1071
  case "zzzz":
1072
1072
  default:
1073
1073
  return "GMT" + E(t, ":");
@@ -1084,18 +1084,18 @@ const C = {
1084
1084
  return l(t, e.length);
1085
1085
  }
1086
1086
  };
1087
- function fe(r, e = "") {
1087
+ function pe(r, e = "") {
1088
1088
  const n = r > 0 ? "-" : "+", t = Math.abs(r), a = Math.trunc(t / 60), o = t % 60;
1089
1089
  return o === 0 ? n + String(a) : n + String(a) + e + l(o, 2);
1090
1090
  }
1091
- function pe(r, e) {
1091
+ function me(r, e) {
1092
1092
  return r % 60 === 0 ? (r > 0 ? "-" : "+") + l(Math.abs(r) / 60, 2) : E(r, e);
1093
1093
  }
1094
1094
  function E(r, e = "") {
1095
1095
  const n = r > 0 ? "-" : "+", t = Math.abs(r), a = l(Math.trunc(t / 60), 2), o = l(t % 60, 2);
1096
1096
  return n + a + e + o;
1097
1097
  }
1098
- const me = (r, e) => {
1098
+ const we = (r, e) => {
1099
1099
  switch (r) {
1100
1100
  case "P":
1101
1101
  return e.date({ width: "short" });
@@ -1107,7 +1107,7 @@ const me = (r, e) => {
1107
1107
  default:
1108
1108
  return e.date({ width: "full" });
1109
1109
  }
1110
- }, Oe = (r, e) => {
1110
+ }, Ce = (r, e) => {
1111
1111
  switch (r) {
1112
1112
  case "p":
1113
1113
  return e.time({ width: "short" });
@@ -1122,7 +1122,7 @@ const me = (r, e) => {
1122
1122
  }, Ot = (r, e) => {
1123
1123
  const n = r.match(/(P+)(p+)?/) || [], t = n[1], a = n[2];
1124
1124
  if (!a)
1125
- return me(r, e);
1125
+ return we(r, e);
1126
1126
  let o;
1127
1127
  switch (t) {
1128
1128
  case "P":
@@ -1139,15 +1139,15 @@ const me = (r, e) => {
1139
1139
  o = e.dateTime({ width: "full" });
1140
1140
  break;
1141
1141
  }
1142
- return o.replace("{{date}}", me(t, e)).replace("{{time}}", Oe(a, e));
1142
+ return o.replace("{{date}}", we(t, e)).replace("{{time}}", Ce(a, e));
1143
1143
  }, ee = {
1144
- p: Oe,
1144
+ p: Ce,
1145
1145
  P: Ot
1146
1146
  }, Ct = /^D+$/, $t = /^Y+$/, Et = ["D", "DD", "YY", "YYYY"];
1147
- function Ce(r) {
1147
+ function $e(r) {
1148
1148
  return Ct.test(r);
1149
1149
  }
1150
- function $e(r) {
1150
+ function Ee(r) {
1151
1151
  return $t.test(r);
1152
1152
  }
1153
1153
  function te(r, e, n) {
@@ -1160,7 +1160,7 @@ function Nt(r, e, n) {
1160
1160
  }
1161
1161
  const Wt = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, qt = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ft = /^'([^]*?)'?$/, It = /''/g, Lt = /[a-zA-Z]/;
1162
1162
  function Ht(r, e, n) {
1163
- const t = L(), a = t.locale ?? Pe, o = t.firstWeekContainsDate ?? t.locale?.options?.firstWeekContainsDate ?? 1, s = t.weekStartsOn ?? t.locale?.options?.weekStartsOn ?? 0, i = _(r);
1163
+ const t = L(), a = t.locale ?? Te, o = t.firstWeekContainsDate ?? t.locale?.options?.firstWeekContainsDate ?? 1, s = t.weekStartsOn ?? t.locale?.options?.weekStartsOn ?? 0, i = _(r);
1164
1164
  if (!je(i))
1165
1165
  throw new RangeError("Invalid time value");
1166
1166
  let h = e.match(qt).map((f) => {
@@ -1176,7 +1176,7 @@ function Ht(r, e, n) {
1176
1176
  const d = f[0];
1177
1177
  if (d === "'")
1178
1178
  return { isToken: !1, value: Rt(f) };
1179
- if (he[d])
1179
+ if (fe[d])
1180
1180
  return { isToken: !0, value: f };
1181
1181
  if (d.match(Lt))
1182
1182
  throw new RangeError(
@@ -1193,8 +1193,8 @@ function Ht(r, e, n) {
1193
1193
  return h.map((f) => {
1194
1194
  if (!f.isToken) return f.value;
1195
1195
  const d = f.value;
1196
- ($e(d) || Ce(d)) && te(d, e, String(r));
1197
- const O = he[d[0]];
1196
+ (Ee(d) || $e(d)) && te(d, e, String(r));
1197
+ const O = fe[d[0]];
1198
1198
  return O(i, d, a.localize, v);
1199
1199
  }).join("");
1200
1200
  }
@@ -1236,13 +1236,13 @@ function Vt(r, e) {
1236
1236
  ), n;
1237
1237
  }
1238
1238
  const Gt = 10;
1239
- class Ee {
1239
+ class Ne {
1240
1240
  subPriority = 0;
1241
1241
  validate(e, n) {
1242
1242
  return !0;
1243
1243
  }
1244
1244
  }
1245
- class Xt extends Ee {
1245
+ class Xt extends Ne {
1246
1246
  constructor(e, n, t, a, o) {
1247
1247
  super(), this.value = e, this.validateValue = n, this.setValue = t, this.priority = a, o && (this.subPriority = o);
1248
1248
  }
@@ -1253,7 +1253,7 @@ class Xt extends Ee {
1253
1253
  return this.setValue(e, n, this.value, t);
1254
1254
  }
1255
1255
  }
1256
- class jt extends Ee {
1256
+ class jt extends Ne {
1257
1257
  priority = Gt;
1258
1258
  subPriority = -1;
1259
1259
  set(e, n) {
@@ -1371,7 +1371,7 @@ function T(r, e) {
1371
1371
  rest: e.slice(n[0].length)
1372
1372
  };
1373
1373
  }
1374
- function Ne(r) {
1374
+ function We(r) {
1375
1375
  return p(y.anyDigitsSigned, r);
1376
1376
  }
1377
1377
  function b(r, e) {
@@ -1402,7 +1402,7 @@ function j(r, e) {
1402
1402
  return p(new RegExp("^-?\\d{1," + r + "}"), e);
1403
1403
  }
1404
1404
  }
1405
- function ae(r) {
1405
+ function oe(r) {
1406
1406
  switch (r) {
1407
1407
  case "morning":
1408
1408
  return 4;
@@ -1419,7 +1419,7 @@ function ae(r) {
1419
1419
  return 0;
1420
1420
  }
1421
1421
  }
1422
- function We(r, e) {
1422
+ function qe(r, e) {
1423
1423
  const n = e > 0, t = n ? e : 1 - e;
1424
1424
  let a;
1425
1425
  if (t <= 50)
@@ -1430,7 +1430,7 @@ function We(r, e) {
1430
1430
  }
1431
1431
  return n ? a : 1 - a;
1432
1432
  }
1433
- function qe(r) {
1433
+ function Fe(r) {
1434
1434
  return r % 400 === 0 || r % 4 === 0 && r % 100 !== 0;
1435
1435
  }
1436
1436
  class Kt extends u {
@@ -1461,7 +1461,7 @@ class Kt extends u {
1461
1461
  set(e, n, t) {
1462
1462
  const a = e.getFullYear();
1463
1463
  if (t.isTwoDigitYear) {
1464
- const s = We(
1464
+ const s = qe(
1465
1465
  t.year,
1466
1466
  a
1467
1467
  );
@@ -1496,9 +1496,9 @@ class Jt extends u {
1496
1496
  return n.isTwoDigitYear || n.year > 0;
1497
1497
  }
1498
1498
  set(e, n, t, a) {
1499
- const o = re(e, a);
1499
+ const o = ae(e, a);
1500
1500
  if (t.isTwoDigitYear) {
1501
- const i = We(
1501
+ const i = qe(
1502
1502
  t.year,
1503
1503
  o
1504
1504
  );
@@ -1801,7 +1801,7 @@ class nn extends u {
1801
1801
  ];
1802
1802
  }
1803
1803
  function rn(r, e, n) {
1804
- const t = _(r), a = Ye(t, n) - e;
1804
+ const t = _(r), a = Oe(t, n) - e;
1805
1805
  return t.setDate(t.getDate() - a * 7), t;
1806
1806
  }
1807
1807
  class an extends u {
@@ -1839,7 +1839,7 @@ class an extends u {
1839
1839
  ];
1840
1840
  }
1841
1841
  function on(r, e) {
1842
- const n = _(r), t = Te(n) - e;
1842
+ const n = _(r), t = Ye(n) - e;
1843
1843
  return n.setDate(n.getDate() - t * 7), n;
1844
1844
  }
1845
1845
  class sn extends u {
@@ -1905,7 +1905,7 @@ class un extends u {
1905
1905
  }
1906
1906
  }
1907
1907
  validate(e, n) {
1908
- const t = e.getFullYear(), a = qe(t), o = e.getMonth();
1908
+ const t = e.getFullYear(), a = Fe(t), o = e.getMonth();
1909
1909
  return a ? n >= 1 && n <= ln[o] : n >= 1 && n <= cn[o];
1910
1910
  }
1911
1911
  set(e, n, t) {
@@ -1942,7 +1942,7 @@ class dn extends u {
1942
1942
  }
1943
1943
  validate(e, n) {
1944
1944
  const t = e.getFullYear();
1945
- return qe(t) ? n >= 1 && n <= 366 : n >= 1 && n <= 365;
1945
+ return Fe(t) ? n >= 1 && n <= 366 : n >= 1 && n <= 365;
1946
1946
  }
1947
1947
  set(e, n, t) {
1948
1948
  return e.setMonth(0, t), e.setHours(0, 0, 0, 0), e;
@@ -1965,9 +1965,9 @@ class dn extends u {
1965
1965
  "T"
1966
1966
  ];
1967
1967
  }
1968
- function oe(r, e, n) {
1968
+ function se(r, e, n) {
1969
1969
  const t = L(), a = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? t.weekStartsOn ?? t.locale?.options?.weekStartsOn ?? 0, o = _(r), s = o.getDay(), h = (e % 7 + 7) % 7, v = 7 - a, f = e < 0 || e > 6 ? e - (s + v) % 7 : (h + v) % 7 - (s + v) % 7;
1970
- return ne(o, f);
1970
+ return re(o, f);
1971
1971
  }
1972
1972
  class hn extends u {
1973
1973
  priority = 90;
@@ -1999,7 +1999,7 @@ class hn extends u {
1999
1999
  return n >= 0 && n <= 6;
2000
2000
  }
2001
2001
  set(e, n, t, a) {
2002
- return e = oe(e, t, a), e.setHours(0, 0, 0, 0), e;
2002
+ return e = se(e, t, a), e.setHours(0, 0, 0, 0), e;
2003
2003
  }
2004
2004
  incompatibleTokens = ["D", "i", "e", "c", "t", "T"];
2005
2005
  }
@@ -2045,7 +2045,7 @@ class fn extends u {
2045
2045
  return n >= 0 && n <= 6;
2046
2046
  }
2047
2047
  set(e, n, t, a) {
2048
- return e = oe(e, t, a), e.setHours(0, 0, 0, 0), e;
2048
+ return e = se(e, t, a), e.setHours(0, 0, 0, 0), e;
2049
2049
  }
2050
2050
  incompatibleTokens = [
2051
2051
  "y",
@@ -2107,7 +2107,7 @@ class pn extends u {
2107
2107
  return n >= 0 && n <= 6;
2108
2108
  }
2109
2109
  set(e, n, t, a) {
2110
- return e = oe(e, t, a), e.setHours(0, 0, 0, 0), e;
2110
+ return e = se(e, t, a), e.setHours(0, 0, 0, 0), e;
2111
2111
  }
2112
2112
  incompatibleTokens = [
2113
2113
  "y",
@@ -2129,7 +2129,7 @@ class pn extends u {
2129
2129
  }
2130
2130
  function mn(r, e) {
2131
2131
  const n = _(r), t = At(n), a = e - t;
2132
- return ne(n, a);
2132
+ return re(n, a);
2133
2133
  }
2134
2134
  class wn extends u {
2135
2135
  priority = 90;
@@ -2252,7 +2252,7 @@ class bn extends u {
2252
2252
  }
2253
2253
  }
2254
2254
  set(e, n, t) {
2255
- return e.setHours(ae(t), 0, 0, 0), e;
2255
+ return e.setHours(oe(t), 0, 0, 0), e;
2256
2256
  }
2257
2257
  incompatibleTokens = ["b", "B", "H", "k", "t", "T"];
2258
2258
  }
@@ -2290,7 +2290,7 @@ class yn extends u {
2290
2290
  }
2291
2291
  }
2292
2292
  set(e, n, t) {
2293
- return e.setHours(ae(t), 0, 0, 0), e;
2293
+ return e.setHours(oe(t), 0, 0, 0), e;
2294
2294
  }
2295
2295
  incompatibleTokens = ["a", "B", "H", "k", "t", "T"];
2296
2296
  }
@@ -2328,7 +2328,7 @@ class gn extends u {
2328
2328
  }
2329
2329
  }
2330
2330
  set(e, n, t) {
2331
- return e.setHours(ae(t), 0, 0, 0), e;
2331
+ return e.setHours(oe(t), 0, 0, 0), e;
2332
2332
  }
2333
2333
  incompatibleTokens = ["a", "b", "t", "T"];
2334
2334
  }
@@ -2536,7 +2536,7 @@ class Yn extends u {
2536
2536
  class On extends u {
2537
2537
  priority = 40;
2538
2538
  parse(e) {
2539
- return Ne(e);
2539
+ return We(e);
2540
2540
  }
2541
2541
  set(e, n, t) {
2542
2542
  return [w(e, t * 1e3), { timestampIsSet: !0 }];
@@ -2546,7 +2546,7 @@ class On extends u {
2546
2546
  class Cn extends u {
2547
2547
  priority = 20;
2548
2548
  parse(e) {
2549
- return Ne(e);
2549
+ return We(e);
2550
2550
  }
2551
2551
  set(e, n, t) {
2552
2552
  return [w(e, t), { timestampIsSet: !0 }];
@@ -2587,7 +2587,7 @@ const $n = {
2587
2587
  T: new Cn()
2588
2588
  }, En = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Nn = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Wn = /^'([^]*?)'?$/, qn = /''/g, Fn = /\S/, In = /[a-zA-Z]/;
2589
2589
  function Ln(r, e, n, t) {
2590
- const a = Bt(), o = a.locale ?? Pe, s = a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, i = a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0;
2590
+ const a = Bt(), o = a.locale ?? Te, s = a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, i = a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0;
2591
2591
  if (e === "")
2592
2592
  return r === "" ? _(n) : w(n, NaN);
2593
2593
  const h = {
@@ -2603,17 +2603,17 @@ function Ln(r, e, n, t) {
2603
2603
  return c;
2604
2604
  }).join("").match(En), d = [];
2605
2605
  for (let c of f) {
2606
- $e(c) && te(c, e, r), Ce(c) && te(c, e, r);
2606
+ Ee(c) && te(c, e, r), $e(c) && te(c, e, r);
2607
2607
  const m = c[0], k = $n[m];
2608
2608
  if (k) {
2609
- const { incompatibleTokens: ie } = k;
2610
- if (Array.isArray(ie)) {
2611
- const ce = d.find(
2612
- (le) => ie.includes(le.token) || le.token === m
2609
+ const { incompatibleTokens: ce } = k;
2610
+ if (Array.isArray(ce)) {
2611
+ const le = d.find(
2612
+ (ue) => ce.includes(ue.token) || ue.token === m
2613
2613
  );
2614
- if (ce)
2614
+ if (le)
2615
2615
  throw new RangeError(
2616
- `The format string mustn't contain \`${ce.fullToken}\` and \`${c}\` at the same time`
2616
+ `The format string mustn't contain \`${le.fullToken}\` and \`${c}\` at the same time`
2617
2617
  );
2618
2618
  } else if (k.incompatibleTokens === "*" && d.length > 0)
2619
2619
  throw new RangeError(
@@ -2648,25 +2648,25 @@ function Ln(r, e, n, t) {
2648
2648
  let W = _(n);
2649
2649
  if (isNaN(W.getTime()))
2650
2650
  return w(n, NaN);
2651
- const se = {};
2651
+ const ie = {};
2652
2652
  for (const c of O) {
2653
2653
  if (!c.validate(W, h))
2654
2654
  return w(n, NaN);
2655
- const m = c.set(W, se, h);
2656
- Array.isArray(m) ? (W = m[0], Object.assign(se, m[1])) : W = m;
2655
+ const m = c.set(W, ie, h);
2656
+ Array.isArray(m) ? (W = m[0], Object.assign(ie, m[1])) : W = m;
2657
2657
  }
2658
2658
  return w(n, W);
2659
2659
  }
2660
2660
  function Hn(r) {
2661
2661
  return r.match(Wn)[1].replace(qn, "'");
2662
2662
  }
2663
- const z = (r) => Qt(r, {}), we = (r = /* @__PURE__ */ new Date()) => z(r), K = (r) => {
2663
+ const z = (r) => Qt(r, {}), be = (r = /* @__PURE__ */ new Date()) => z(r), K = (r) => {
2664
2664
  const [e, n, t] = r.split("-");
2665
2665
  return new Date(parseInt(e), parseInt(n) - 1, parseInt(t));
2666
2666
  }, G = (r, e) => {
2667
2667
  const n = K(r), t = new Date(n);
2668
2668
  return t.setDate(t.getDate() + e), z(t);
2669
- }, be = (r, e) => r > e ? 1 : r < e ? -1 : 0, Rn = (r) => r.length === 3, Qn = (r) => r.every((e) => /^\d+$/.test(e)), Bn = ([r, e, n]) => {
2669
+ }, ye = (r, e) => r > e ? 1 : r < e ? -1 : 0, Rn = (r) => r.length === 3, Qn = (r) => r.every((e) => /^\d+$/.test(e)), Bn = ([r, e, n]) => {
2670
2670
  const t = parseInt(r), a = parseInt(e) - 1, o = parseInt(n), s = new Date(t, a, o);
2671
2671
  return s.getFullYear() === t && s.getMonth() === a && s.getDate() === o;
2672
2672
  }, An = (r) => {
@@ -2687,7 +2687,7 @@ const z = (r) => Qt(r, {}), we = (r = /* @__PURE__ */ new Date()) => z(r), K = (
2687
2687
  }, M = ({ month: r, year: e }, n) => {
2688
2688
  const t = new Date(e, r);
2689
2689
  return t.setMonth(t.getMonth() + n), { month: t.getMonth(), year: t.getFullYear() };
2690
- }, N = (r, e) => r.year === e.year ? r.month - e.month : r.year - e.year, A = (r, e) => N(r, e) === 0, Fe = ({ month: r, year: e }) => `${e.toString().padStart(4, "0")}-${(r + 1).toString().padStart(2, "0")}`, ye = (r) => K(r).getFullYear(), Ie = 4, Vn = (r, e) => {
2690
+ }, N = (r, e) => r.year === e.year ? r.month - e.month : r.year - e.year, A = (r, e) => N(r, e) === 0, Ie = ({ month: r, year: e }) => `${e.toString().padStart(4, "0")}-${(r + 1).toString().padStart(2, "0")}`, ge = (r) => K(r).getFullYear(), ne = 4, Vn = (r, e) => {
2691
2691
  const n = [];
2692
2692
  let t = [];
2693
2693
  for (let a = 0; a < 12; a++) {
@@ -2696,7 +2696,7 @@ const z = (r) => Qt(r, {}), we = (r = /* @__PURE__ */ new Date()) => z(r), K = (
2696
2696
  label: e.months.shorthand[a],
2697
2697
  monthName: e.months.name[a],
2698
2698
  month: o
2699
- }), t.length === Ie && (n.push(t), t = []);
2699
+ }), t.length === ne && (n.push(t), t = []);
2700
2700
  }
2701
2701
  return n;
2702
2702
  }, Gn = (r) => {
@@ -2722,7 +2722,7 @@ const zn = ({ month: r, year: e }, n) => {
2722
2722
  const O = d - s;
2723
2723
  f.push(
2724
2724
  Xn(
2725
- ne(a, O),
2725
+ re(a, O),
2726
2726
  jn(O, i)
2727
2727
  )
2728
2728
  ), f.length === 7 && (t.push(f), f = []);
@@ -2744,7 +2744,7 @@ const hr = (r) => {
2744
2744
  class e extends r {
2745
2745
  // --- Core ---
2746
2746
  constructor(...t) {
2747
- super(...t), this._selectedMonth = S(), this._currentDate = we(), this._currentMonth = S(), this._numCalendars = 1, this._hideDatesOutsideMonth = !1, this._lastFocussedDate = null, this._monthPickerYear = null, this._lastFocussedMonth = null, this.value = "";
2747
+ super(...t), this._selectedMonth = S(), this._currentDate = be(), this._currentMonth = S(), this._numCalendars = 1, this._hideDatesOutsideMonth = !1, this._lastFocussedDate = null, this._monthPickerYear = null, this._lastFocussedMonth = null, this.value = "";
2748
2748
  }
2749
2749
  /**
2750
2750
  * @internal
@@ -2760,7 +2760,7 @@ const hr = (r) => {
2760
2760
  * @internal
2761
2761
  */
2762
2762
  _isDateInValidRange(t) {
2763
- return (!this._resolvedMinDate || be(t, this._resolvedMinDate) >= 0) && (!this._resolvedMaxDate || be(t, this._resolvedMaxDate) <= 0);
2763
+ return (!this._resolvedMinDate || ye(t, this._resolvedMinDate) >= 0) && (!this._resolvedMaxDate || ye(t, this._resolvedMaxDate) <= 0);
2764
2764
  }
2765
2765
  #e(t) {
2766
2766
  return this._resolvedMaxDate && N(t, B(this._resolvedMaxDate)) > 0;
@@ -2801,7 +2801,7 @@ const hr = (r) => {
2801
2801
  }
2802
2802
  get _isPrevYearDisabled() {
2803
2803
  const a = (this._inMonthPicker ? this._monthPickerYear : this._selectedMonth.year) - 1;
2804
- return this._resolvedMinDate && a < ye(this._resolvedMinDate);
2804
+ return this._resolvedMinDate && a < ge(this._resolvedMinDate);
2805
2805
  }
2806
2806
  /**
2807
2807
  * @internal
@@ -2814,7 +2814,7 @@ const hr = (r) => {
2814
2814
  }
2815
2815
  get _isNextYearDisabled() {
2816
2816
  const a = (this._inMonthPicker ? this._monthPickerYear : this._selectedMonth.year) + 1;
2817
- return this._resolvedMaxDate && a > ye(this._resolvedMaxDate);
2817
+ return this._resolvedMaxDate && a > ge(this._resolvedMaxDate);
2818
2818
  }
2819
2819
  /**
2820
2820
  * @internal
@@ -2947,7 +2947,7 @@ const hr = (r) => {
2947
2947
  ).flatMap((i) => i.calendar.grid.flat().map((h) => h.date)), a = [
2948
2948
  this._lastFocussedDate,
2949
2949
  ...this._getSelectedDates(),
2950
- we(),
2950
+ be(),
2951
2951
  ...t
2952
2952
  ], o = this._selectedMonth, s = M(
2953
2953
  this._selectedMonth,
@@ -2976,8 +2976,8 @@ const hr = (r) => {
2976
2976
  */
2977
2977
  _onMonthKeydown(t, a) {
2978
2978
  let o = null;
2979
- return a.key === "ArrowUp" ? o = M(t, -4) : a.key === "ArrowDown" ? o = M(t, Ie) : a.key === "ArrowLeft" ? o = M(t, -1) : a.key === "ArrowRight" && (o = M(t, 1)), o && this._isMonthInValidRange(o) ? (o.year !== this._monthPickerYear && (this._monthPickerYear = o.year, Z.process()), this._dialogEl.querySelector(
2980
- `[data-month="${Fe(o)}"]`
2979
+ return a.key === "ArrowUp" ? o = M(t, -ne) : a.key === "ArrowDown" ? o = M(t, ne) : a.key === "ArrowLeft" ? o = M(t, -1) : a.key === "ArrowRight" && (o = M(t, 1)), o && this._isMonthInValidRange(o) ? (o.year !== this._monthPickerYear && (this._monthPickerYear = o.year, Z.process()), this._dialogEl.querySelector(
2980
+ `[data-month="${Ie(o)}"]`
2981
2981
  ).focus(), !1) : !0;
2982
2982
  }
2983
2983
  /**
@@ -3020,12 +3020,12 @@ const hr = (r) => {
3020
3020
  V
3021
3021
  ], e.prototype, "_tabbableMonth", 1), e;
3022
3022
  };
3023
- var Un = Object.defineProperty, ge = (r, e, n, t) => {
3023
+ var Un = Object.defineProperty, xe = (r, e, n, t) => {
3024
3024
  for (var a = void 0, o = r.length - 1, s; o >= 0; o--)
3025
3025
  (s = r[o]) && (a = s(e, n, a) || a);
3026
3026
  return a && Un(e, n, a), a;
3027
3027
  };
3028
- const xe = {
3028
+ const _e = {
3029
3029
  fromView: (r) => r && An(r) ? r : "",
3030
3030
  toView(r) {
3031
3031
  return r;
@@ -3061,10 +3061,10 @@ const xe = {
3061
3061
  super(...t), this.min = "", this.max = "";
3062
3062
  }
3063
3063
  }
3064
- return ge([
3065
- ue({ converter: xe })
3066
- ], e.prototype, "min"), ge([
3067
- ue({ converter: xe })
3064
+ return xe([
3065
+ de({ converter: _e })
3066
+ ], e.prototype, "min"), xe([
3067
+ de({ converter: _e })
3068
3068
  ], e.prototype, "max"), e;
3069
3069
  };
3070
3070
  function Sn(r) {
@@ -3159,7 +3159,7 @@ function Sn(r) {
3159
3159
  </div>`;
3160
3160
  }
3161
3161
  function er(r) {
3162
- const e = r.tagFor(_e), n = r.tagFor(ve);
3162
+ const e = r.tagFor(ve), n = r.tagFor(Me);
3163
3163
  return x`
3164
3164
  <div
3165
3165
  class='calendar'
@@ -3195,7 +3195,7 @@ function er(r) {
3195
3195
  (t, a) => !a.parentContext.parentContext.parent._hideDatesOutsideMonth || !t.isOutsideMonth,
3196
3196
  x` <span role="gridcell">
3197
3197
  <button
3198
- class="${(t, a) => Me(
3198
+ class="${(t, a) => ke(
3199
3199
  "calendar-day",
3200
3200
  "button",
3201
3201
  [
@@ -3265,7 +3265,7 @@ function er(r) {
3265
3265
  )}`;
3266
3266
  }
3267
3267
  function tr(r) {
3268
- const e = r.tagFor(_e), n = r.tagFor(ve);
3268
+ const e = r.tagFor(ve), n = r.tagFor(Me);
3269
3269
  return x`
3270
3270
  <${e}
3271
3271
  class='months-separator'
@@ -3285,7 +3285,7 @@ function tr(r) {
3285
3285
  x`
3286
3286
  <span role="gridcell">
3287
3287
  <button
3288
- class="${(t, a) => Me(
3288
+ class="${(t, a) => ke(
3289
3289
  "month",
3290
3290
  "button",
3291
3291
  [
@@ -3308,7 +3308,7 @@ function tr(r) {
3308
3308
  a.parentContext.parentContext.parent._tabbableMonth
3309
3309
  ) ? 1 : -1}"
3310
3310
  aria-label="${(t) => t.monthName}"
3311
- data-month="${(t) => Fe(t.month)}"
3311
+ data-month="${(t) => Ie(t.month)}"
3312
3312
  ?disabled="${(t, a) => !a.parentContext.parentContext.parent._isMonthInValidRange(
3313
3313
  t.month
3314
3314
  )}"
@@ -3360,11 +3360,11 @@ const pr = (r) => x`
3360
3360
  export {
3361
3361
  hr as C,
3362
3362
  fr as M,
3363
- xe as V,
3363
+ _e as V,
3364
3364
  pr as a,
3365
- be as b,
3365
+ ye as b,
3366
3366
  lr as c,
3367
- we as d,
3367
+ be as d,
3368
3368
  ur as f,
3369
3369
  An as i,
3370
3370
  dr as p