@alfadocs/ui-kit 0.89.0 → 0.93.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 (118) hide show
  1. package/dist/_chunks/{antenatal-schedule-timeline-UiZQze4P.js → antenatal-schedule-timeline-BMMpi2lb.js} +17 -17
  2. package/dist/_chunks/{appointment-timeline-CwpbQGC1.js → appointment-timeline-BB-c1LeR.js} +2 -2
  3. package/dist/_chunks/{ar-C9FRRqJs.js → ar-THMLfSoN.js} +22 -22
  4. package/dist/_chunks/{booking-DEwmDprH.js → booking-BSpSMmJ2.js} +4 -4
  5. package/dist/_chunks/{cycle-calculator-DXSNIWFk.js → cycle-calculator-DNvvr0bP.js} +3 -3
  6. package/dist/_chunks/date-picker-BP_W6VtE.js +265 -0
  7. package/dist/_chunks/{date-picker-variants-D9B6hg15.js → date-picker-variants-eL6HjWvw.js} +966 -841
  8. package/dist/_chunks/date-range-picker-Cc4DLAL2.js +824 -0
  9. package/dist/_chunks/{date-time-picker-BU-j0qj4.js → date-time-picker-695QvBGj.js} +2 -2
  10. package/dist/_chunks/{de-C3_KZ6mR.js → de-DmZ-8rTN.js} +4 -4
  11. package/dist/_chunks/{due-date-calculator-BR_GuqHH.js → due-date-calculator-BEcdoy_E.js} +3 -3
  12. package/dist/_chunks/{el-v9xDKHgu.js → el-Bela9mxs.js} +6 -6
  13. package/dist/_chunks/{es-Lgmjq9Rp.js → es-BNncHKex.js} +10 -10
  14. package/dist/_chunks/{fr-INS1OD7m.js → fr-CH8ADfhN.js} +12 -12
  15. package/dist/_chunks/{gestational-age-calculator-DBIcxfjP.js → gestational-age-calculator-CuGkVqKp.js} +5 -5
  16. package/dist/_chunks/{hcg-doubling-BgCkds8R.js → hcg-doubling-fZ6qQN08.js} +2 -2
  17. package/dist/_chunks/{hi-BUYtlosF.js → hi-Bppfxp8l.js} +16 -16
  18. package/dist/_chunks/{isSameWeek-BUNsv4OO.js → isSameWeek-CK4HS9lH.js} +2 -2
  19. package/dist/_chunks/{it-VfsdUqeV.js → it-B4ySaRyK.js} +24 -24
  20. package/dist/_chunks/{ja-Dfk9qwzE.js → ja-CGF6Io9P.js} +12 -12
  21. package/dist/_chunks/{link-cell-renderer-BzITwSXq.js → link-cell-renderer-DQjZeoAr.js} +214 -197
  22. package/dist/_chunks/{nl-Crxwg0IZ.js → nl-DuShqwuV.js} +12 -12
  23. package/dist/_chunks/parse-DvA97ro9.js +1601 -0
  24. package/dist/_chunks/{patient-details-Dggsz-ki.js → patient-details-DrhlTrLf.js} +2 -2
  25. package/dist/_chunks/{patient-table-ps4byVwA.js → patient-table-DU_zFZoq.js} +2 -2
  26. package/dist/_chunks/{pl-IdHtxWTl.js → pl-CKQwX9Fk.js} +22 -22
  27. package/dist/_chunks/{pregnancy-dating-CvIRwWaG.js → pregnancy-dating-BdFl-rB1.js} +5 -5
  28. package/dist/_chunks/{pt-CY2m2bBz.js → pt-_njpXyOZ.js} +16 -16
  29. package/dist/_chunks/{radiograph-panel.agent-C93AXgtV.js → radiograph-panel.agent-rnrQZtK3.js} +3 -3
  30. package/dist/_chunks/{ro-qoxLkXED.js → ro-3X6_4FcN.js} +14 -14
  31. package/dist/_chunks/{ru-BVZlxoKf.js → ru-bAcgmnS-.js} +20 -20
  32. package/dist/_chunks/{sq--eT8hIiD.js → sq-jYFqr4Ga.js} +6 -6
  33. package/dist/_chunks/subDays-BcNi04uf.js +8 -0
  34. package/dist/_chunks/{sv-BGNQ5gX6.js → sv-BSGEJ-8B.js} +10 -10
  35. package/dist/_chunks/{tr-B2NEu6Gy.js → tr-CTpgUtw6.js} +14 -14
  36. package/dist/_chunks/{zh-CN-DClT1wDk.js → zh-CN-BgM0Io2O.js} +22 -22
  37. package/dist/agent-catalog.json +93 -2
  38. package/dist/agent-i18n/en.json +8 -2
  39. package/dist/components/_shared/calendar-class-names.d.ts +5 -0
  40. package/dist/components/_shared/date-picker-variants.d.ts +23 -1
  41. package/dist/components/_shared/index.d.ts +2 -2
  42. package/dist/components/appointment-timeline/index.js +1 -1
  43. package/dist/components/booking/index.js +1 -1
  44. package/dist/components/cycle-calculator/index.js +1 -1
  45. package/dist/components/data-table/filters/date-range-filter.d.ts +13 -0
  46. package/dist/components/data-table/index.js +1 -1
  47. package/dist/components/date-picker/index.js +1 -1
  48. package/dist/components/date-range-picker/date-range-picker.d.ts +79 -1
  49. package/dist/components/date-range-picker/index.d.ts +1 -1
  50. package/dist/components/date-range-picker/index.js +1 -1
  51. package/dist/components/date-time-picker/index.js +1 -1
  52. package/dist/components/due-date-calculator/index.js +2 -2
  53. package/dist/components/gestational-age-calculator/index.js +1 -1
  54. package/dist/components/hcg-doubling/index.js +1 -1
  55. package/dist/components/patient-details/index.js +1 -1
  56. package/dist/components/patient-table/index.js +1 -1
  57. package/dist/components/pregnancy-dating/index.js +1 -1
  58. package/dist/components/radiograph-panel/index.js +1 -1
  59. package/dist/i18n/locales/ar.d.ts +24 -0
  60. package/dist/i18n/locales/ar.js +24 -0
  61. package/dist/i18n/locales/de.d.ts +24 -0
  62. package/dist/i18n/locales/de.js +24 -0
  63. package/dist/i18n/locales/el.d.ts +24 -0
  64. package/dist/i18n/locales/el.js +24 -0
  65. package/dist/i18n/locales/en.d.ts +24 -0
  66. package/dist/i18n/locales/en.js +24 -0
  67. package/dist/i18n/locales/es.d.ts +24 -0
  68. package/dist/i18n/locales/es.js +24 -0
  69. package/dist/i18n/locales/fr.d.ts +24 -0
  70. package/dist/i18n/locales/fr.js +24 -0
  71. package/dist/i18n/locales/hi.d.ts +24 -0
  72. package/dist/i18n/locales/hi.js +24 -0
  73. package/dist/i18n/locales/it.d.ts +24 -0
  74. package/dist/i18n/locales/it.js +24 -0
  75. package/dist/i18n/locales/ja.d.ts +24 -0
  76. package/dist/i18n/locales/ja.js +24 -0
  77. package/dist/i18n/locales/nl.d.ts +24 -0
  78. package/dist/i18n/locales/nl.js +24 -0
  79. package/dist/i18n/locales/pl.d.ts +24 -0
  80. package/dist/i18n/locales/pl.js +24 -0
  81. package/dist/i18n/locales/pt.d.ts +24 -0
  82. package/dist/i18n/locales/pt.js +24 -0
  83. package/dist/i18n/locales/ro.d.ts +24 -0
  84. package/dist/i18n/locales/ro.js +24 -0
  85. package/dist/i18n/locales/ru.d.ts +24 -0
  86. package/dist/i18n/locales/ru.js +24 -0
  87. package/dist/i18n/locales/sq.d.ts +24 -0
  88. package/dist/i18n/locales/sq.js +24 -0
  89. package/dist/i18n/locales/sv.d.ts +24 -0
  90. package/dist/i18n/locales/sv.js +24 -0
  91. package/dist/i18n/locales/tr.d.ts +24 -0
  92. package/dist/i18n/locales/tr.js +24 -0
  93. package/dist/i18n/locales/zh.d.ts +24 -0
  94. package/dist/i18n/locales/zh.js +24 -0
  95. package/dist/index.js +15 -15
  96. package/dist/locales/ar.json +24 -0
  97. package/dist/locales/de.json +24 -0
  98. package/dist/locales/el.json +24 -0
  99. package/dist/locales/en.json +24 -0
  100. package/dist/locales/es.json +24 -0
  101. package/dist/locales/fr.json +24 -0
  102. package/dist/locales/hi.json +24 -0
  103. package/dist/locales/it.json +24 -0
  104. package/dist/locales/ja.json +24 -0
  105. package/dist/locales/nl.json +24 -0
  106. package/dist/locales/pl.json +24 -0
  107. package/dist/locales/pt.json +24 -0
  108. package/dist/locales/ro.json +24 -0
  109. package/dist/locales/ru.json +24 -0
  110. package/dist/locales/sq.json +24 -0
  111. package/dist/locales/sv.json +24 -0
  112. package/dist/locales/tr.json +24 -0
  113. package/dist/locales/zh.json +24 -0
  114. package/dist/tokens.css +1 -1
  115. package/package.json +1 -1
  116. package/dist/_chunks/date-picker-ffmyjvlI.js +0 -1845
  117. package/dist/_chunks/date-range-picker-DSOH50-f.js +0 -325
  118. package/dist/_chunks/subDays-fEHRx4hg.js +0 -8
@@ -1,10 +1,10 @@
1
- import y, { createContext as _n, useContext as Tn, useCallback as R, useRef as Ne, useLayoutEffect as Pn, useState as xe, useEffect as St, useMemo as Ce } from "react";
2
- import { t as P, c as I, n as we, s as Xe, d as En, e as Nt, i as Fn } from "./isSameDay-DUEiAT0G.js";
3
- import { jsx as ft } from "react/jsx-runtime";
4
- import { C as Bn } from "./chevron-left-B8cOyH-V.js";
5
- import { C as In } from "./chevron-right-I9AeSxH2.js";
6
- import { c as Ye } from "./index-D2ZczOXr.js";
7
- function Hn(e, t, n = "long") {
1
+ import y, { createContext as Tn, useContext as Pn, useCallback as R, useRef as Ne, useLayoutEffect as En, useState as _e, useEffect as xt, useMemo as Ce } from "react";
2
+ import { t as P, c as I, n as we, s as Ke, d as Fn, e as Nt, i as Bn } from "./isSameDay-DUEiAT0G.js";
3
+ import { jsx as lt } from "react/jsx-runtime";
4
+ import { C as In } from "./chevron-left-B8cOyH-V.js";
5
+ import { C as Hn } from "./chevron-right-I9AeSxH2.js";
6
+ import { c as re } from "./index-D2ZczOXr.js";
7
+ function zn(e, t, n = "long") {
8
8
  return new Intl.DateTimeFormat("en-US", {
9
9
  // Enforces engine to render the time. Without the option JavaScriptCore omits it.
10
10
  hour: "numeric",
@@ -12,29 +12,29 @@ function Hn(e, t, n = "long") {
12
12
  timeZoneName: n
13
13
  }).format(t).split(/\s/g).slice(2).join(" ");
14
14
  }
15
- const ze = {}, ge = {};
16
- function ie(e, t) {
15
+ const Ae = {}, be = {};
16
+ function de(e, t) {
17
17
  try {
18
- const r = (ze[e] || (ze[e] = new Intl.DateTimeFormat("en-US", {
18
+ const r = (Ae[e] || (Ae[e] = new Intl.DateTimeFormat("en-US", {
19
19
  timeZone: e,
20
20
  timeZoneName: "longOffset"
21
21
  }).format))(t).split("GMT")[1];
22
- return r in ge ? ge[r] : lt(r, r.split(":"));
22
+ return r in be ? be[r] : ht(r, r.split(":"));
23
23
  } catch {
24
- if (e in ge) return ge[e];
24
+ if (e in be) return be[e];
25
25
  const n = e == null ? void 0 : e.match(An);
26
- return n ? lt(e, n.slice(1)) : NaN;
26
+ return n ? ht(e, n.slice(1)) : NaN;
27
27
  }
28
28
  }
29
29
  const An = /([+-]\d\d):?(\d\d)?/;
30
- function lt(e, t) {
30
+ function ht(e, t) {
31
31
  const n = +(t[0] || 0), r = +(t[1] || 0), a = +(t[2] || 0) / 60;
32
- return ge[e] = n * 60 + r > 0 ? n * 60 + r + a : n * 60 - r - a;
32
+ return be[e] = n * 60 + r > 0 ? n * 60 + r + a : n * 60 - r - a;
33
33
  }
34
34
  class J extends Date {
35
35
  //#region static
36
36
  constructor(...t) {
37
- super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(ie(this.timeZone, this)) ? this.setTime(NaN) : t.length ? typeof t[0] == "number" && (t.length === 1 || t.length === 2 && typeof t[1] != "number") ? this.setTime(t[0]) : typeof t[0] == "string" ? this.setTime(+new Date(t[0])) : t[0] instanceof Date ? this.setTime(+t[0]) : (this.setTime(+new Date(...t)), Ct(this), Ke(this)) : this.setTime(Date.now());
37
+ super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(de(this.timeZone, this)) ? this.setTime(NaN) : t.length ? typeof t[0] == "number" && (t.length === 1 || t.length === 2 && typeof t[1] != "number") ? this.setTime(t[0]) : typeof t[0] == "string" ? this.setTime(+new Date(t[0])) : t[0] instanceof Date ? this.setTime(+t[0]) : (this.setTime(+new Date(...t)), Ct(this), Je(this)) : this.setTime(Date.now());
38
38
  }
39
39
  static tz(t, ...n) {
40
40
  return n.length ? new J(...n, t) : new J(Date.now(), t);
@@ -45,13 +45,13 @@ class J extends Date {
45
45
  return new J(+this, t);
46
46
  }
47
47
  getTimezoneOffset() {
48
- const t = -ie(this.timeZone, this);
48
+ const t = -de(this.timeZone, this);
49
49
  return t > 0 ? Math.floor(t) : Math.ceil(t);
50
50
  }
51
51
  //#endregion
52
52
  //#region time
53
53
  setTime(t) {
54
- return Date.prototype.setTime.apply(this, arguments), Ke(this), +this;
54
+ return Date.prototype.setTime.apply(this, arguments), Je(this), +this;
55
55
  }
56
56
  //#endregion
57
57
  //#region date-fns integration
@@ -60,39 +60,39 @@ class J extends Date {
60
60
  }
61
61
  //#endregion
62
62
  }
63
- const ht = /^(get|set)(?!UTC)/;
63
+ const mt = /^(get|set)(?!UTC)/;
64
64
  Object.getOwnPropertyNames(Date.prototype).forEach((e) => {
65
- if (!ht.test(e)) return;
66
- const t = e.replace(ht, "$1UTC");
65
+ if (!mt.test(e)) return;
66
+ const t = e.replace(mt, "$1UTC");
67
67
  J.prototype[t] && (e.startsWith("get") ? J.prototype[e] = function() {
68
68
  return this.internal[t]();
69
69
  } : (J.prototype[e] = function() {
70
- return Date.prototype[t].apply(this.internal, arguments), zn(this), +this;
70
+ return Date.prototype[t].apply(this.internal, arguments), jn(this), +this;
71
71
  }, J.prototype[t] = function() {
72
- return Date.prototype[t].apply(this, arguments), Ke(this), +this;
72
+ return Date.prototype[t].apply(this, arguments), Je(this), +this;
73
73
  }));
74
74
  });
75
- function Ke(e) {
76
- e.internal.setTime(+e), e.internal.setUTCSeconds(e.internal.getUTCSeconds() - Math.round(-ie(e.timeZone, e) * 60));
75
+ function Je(e) {
76
+ e.internal.setTime(+e), e.internal.setUTCSeconds(e.internal.getUTCSeconds() - Math.round(-de(e.timeZone, e) * 60));
77
77
  }
78
- function zn(e) {
78
+ function jn(e) {
79
79
  Date.prototype.setFullYear.call(e, e.internal.getUTCFullYear(), e.internal.getUTCMonth(), e.internal.getUTCDate()), Date.prototype.setHours.call(e, e.internal.getUTCHours(), e.internal.getUTCMinutes(), e.internal.getUTCSeconds(), e.internal.getUTCMilliseconds()), Ct(e);
80
80
  }
81
81
  function Ct(e) {
82
- const t = ie(e.timeZone, e), n = t > 0 ? Math.floor(t) : Math.ceil(t), r = /* @__PURE__ */ new Date(+e);
82
+ const t = de(e.timeZone, e), n = t > 0 ? Math.floor(t) : Math.ceil(t), r = /* @__PURE__ */ new Date(+e);
83
83
  r.setUTCHours(r.getUTCHours() - 1);
84
84
  const a = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset(), s = -(/* @__PURE__ */ new Date(+r)).getTimezoneOffset(), o = a - s, i = Date.prototype.getHours.apply(e) !== e.internal.getUTCHours();
85
85
  o && i && e.internal.setUTCMinutes(e.internal.getUTCMinutes() + o);
86
86
  const d = a - n;
87
87
  d && Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + d);
88
- const c = /* @__PURE__ */ new Date(+e);
89
- c.setUTCSeconds(0);
90
- const u = a > 0 ? c.getSeconds() : (c.getSeconds() - 60) % 60, f = Math.round(-(ie(e.timeZone, e) * 60)) % 60;
91
- (f || u) && (e.internal.setUTCSeconds(e.internal.getUTCSeconds() + f), Date.prototype.setUTCSeconds.call(e, Date.prototype.getUTCSeconds.call(e) + f + u));
92
- const h = ie(e.timeZone, e), g = h > 0 ? Math.floor(h) : Math.ceil(h), p = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset() - g, k = g !== n, N = p - d;
93
- if (k && N) {
94
- Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + N);
95
- const M = ie(e.timeZone, e), b = M > 0 ? Math.floor(M) : Math.ceil(M), W = g - b;
88
+ const u = /* @__PURE__ */ new Date(+e);
89
+ u.setUTCSeconds(0);
90
+ const c = a > 0 ? u.getSeconds() : (u.getSeconds() - 60) % 60, f = Math.round(-(de(e.timeZone, e) * 60)) % 60;
91
+ (f || c) && (e.internal.setUTCSeconds(e.internal.getUTCSeconds() + f), Date.prototype.setUTCSeconds.call(e, Date.prototype.getUTCSeconds.call(e) + f + c));
92
+ const h = de(e.timeZone, e), g = h > 0 ? Math.floor(h) : Math.ceil(h), p = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset() - g, k = g !== n, x = p - d;
93
+ if (k && x) {
94
+ Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + x);
95
+ const v = de(e.timeZone, e), b = v > 0 ? Math.floor(v) : Math.ceil(v), W = g - b;
96
96
  W && (e.internal.setUTCMinutes(e.internal.getUTCMinutes() + W), Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + W));
97
97
  }
98
98
  }
@@ -116,7 +116,7 @@ class H extends J {
116
116
  }
117
117
  toTimeString() {
118
118
  const t = this.internal.toUTCString().split(" ")[4], [n, r, a] = this.tzComponents();
119
- return `${t} GMT${n}${r}${a} (${Hn(this.timeZone, this)})`;
119
+ return `${t} GMT${n}${r}${a} (${zn(this.timeZone, this)})`;
120
120
  }
121
121
  toLocaleString(t, n) {
122
122
  return Date.prototype.toLocaleString.call(this, t, {
@@ -152,7 +152,7 @@ class H extends J {
152
152
  }
153
153
  //#endregion
154
154
  }
155
- function xt(e, t, n) {
155
+ function _t(e, t, n) {
156
156
  const r = P(e, n == null ? void 0 : n.in);
157
157
  return isNaN(t) ? I((n == null ? void 0 : n.in) || e, NaN) : (t && r.setDate(r.getDate() + t), r);
158
158
  }
@@ -171,18 +171,18 @@ function Yt(e, t, n) {
171
171
  ), r);
172
172
  }
173
173
  let qn = {};
174
- function ve() {
174
+ function ke() {
175
175
  return qn;
176
176
  }
177
- function fe(e, t) {
178
- var i, d, c, u;
179
- const n = ve(), r = (t == null ? void 0 : t.weekStartsOn) ?? ((d = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : d.weekStartsOn) ?? n.weekStartsOn ?? ((u = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : u.weekStartsOn) ?? 0, a = P(e, t == null ? void 0 : t.in), s = a.getDay(), o = (s < r ? 7 : 0) + s - r;
177
+ function le(e, t) {
178
+ var i, d, u, c;
179
+ const n = ke(), r = (t == null ? void 0 : t.weekStartsOn) ?? ((d = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : d.weekStartsOn) ?? n.weekStartsOn ?? ((c = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : c.weekStartsOn) ?? 0, a = P(e, t == null ? void 0 : t.in), s = a.getDay(), o = (s < r ? 7 : 0) + s - r;
180
180
  return a.setDate(a.getDate() - o), a.setHours(0, 0, 0, 0), a;
181
181
  }
182
182
  function Me(e, t) {
183
- return fe(e, { ...t, weekStartsOn: 1 });
183
+ return le(e, { ...t, weekStartsOn: 1 });
184
184
  }
185
- function _t(e, t) {
185
+ function Tt(e, t) {
186
186
  const n = P(e, t == null ? void 0 : t.in), r = n.getFullYear(), a = I(n, 0);
187
187
  a.setFullYear(r + 1, 0, 4), a.setHours(0, 0, 0, 0);
188
188
  const s = Me(a), o = I(n, 0);
@@ -190,7 +190,7 @@ function _t(e, t) {
190
190
  const i = Me(o);
191
191
  return n.getTime() >= s.getTime() ? r + 1 : n.getTime() >= i.getTime() ? r : r - 1;
192
192
  }
193
- function mt(e) {
193
+ function yt(e) {
194
194
  const t = P(e), n = new Date(
195
195
  Date.UTC(
196
196
  t.getFullYear(),
@@ -204,25 +204,25 @@ function mt(e) {
204
204
  );
205
205
  return n.setUTCFullYear(t.getFullYear()), +e - +n;
206
206
  }
207
- function Je(e, t, n) {
207
+ function Ze(e, t, n) {
208
208
  const [r, a] = we(
209
209
  n == null ? void 0 : n.in,
210
210
  e,
211
211
  t
212
- ), s = Xe(r), o = Xe(a), i = +s - mt(s), d = +o - mt(o);
213
- return Math.round((i - d) / En);
212
+ ), s = Ke(r), o = Ke(a), i = +s - yt(s), d = +o - yt(o);
213
+ return Math.round((i - d) / Fn);
214
214
  }
215
- function jn(e, t) {
216
- const n = _t(e, t), r = I(e, 0);
215
+ function $n(e, t) {
216
+ const n = Tt(e, t), r = I(e, 0);
217
217
  return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), Me(r);
218
218
  }
219
- function $n(e, t, n) {
220
- return xt(e, t * 7, n);
221
- }
222
219
  function Gn(e, t, n) {
220
+ return _t(e, t * 7, n);
221
+ }
222
+ function Rn(e, t, n) {
223
223
  return Yt(e, t * 12, n);
224
224
  }
225
- function Rn(e, t) {
225
+ function Vn(e, t) {
226
226
  let n, r = t == null ? void 0 : t.in;
227
227
  return e.forEach((a) => {
228
228
  !r && typeof a == "object" && (r = I.bind(null, a));
@@ -230,7 +230,7 @@ function Rn(e, t) {
230
230
  (!n || n < s || isNaN(+s)) && (n = s);
231
231
  }), I(r, n || NaN);
232
232
  }
233
- function Vn(e, t) {
233
+ function Un(e, t) {
234
234
  let n, r = t == null ? void 0 : t.in;
235
235
  return e.forEach((a) => {
236
236
  !r && typeof a == "object" && (r = I.bind(null, a));
@@ -238,13 +238,13 @@ function Vn(e, t) {
238
238
  (!n || n > s || isNaN(+s)) && (n = s);
239
239
  }), I(r, n || NaN);
240
240
  }
241
- function Tt(e) {
241
+ function Pt(e) {
242
242
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
243
243
  }
244
- function Un(e) {
245
- return !(!Tt(e) && typeof e != "number" || isNaN(+P(e)));
244
+ function Qn(e) {
245
+ return !(!Pt(e) && typeof e != "number" || isNaN(+P(e)));
246
246
  }
247
- function Pt(e, t, n) {
247
+ function Et(e, t, n) {
248
248
  const [r, a] = we(
249
249
  n == null ? void 0 : n.in,
250
250
  e,
@@ -252,16 +252,16 @@ function Pt(e, t, n) {
252
252
  ), s = r.getFullYear() - a.getFullYear(), o = r.getMonth() - a.getMonth();
253
253
  return s * 12 + o;
254
254
  }
255
- function Qn(e, t) {
255
+ function Xn(e, t) {
256
256
  const n = P(e, t == null ? void 0 : t.in), r = n.getMonth();
257
257
  return n.setFullYear(n.getFullYear(), r + 1, 0), n.setHours(23, 59, 59, 999), n;
258
258
  }
259
- function Et(e, t) {
259
+ function Ft(e, t) {
260
260
  const [n, r] = we(e, t.start, t.end);
261
261
  return { start: n, end: r };
262
262
  }
263
- function Xn(e, t) {
264
- const { start: n, end: r } = Et(t == null ? void 0 : t.in, e);
263
+ function Kn(e, t) {
264
+ const { start: n, end: r } = Ft(t == null ? void 0 : t.in, e);
265
265
  let a = +n > +r;
266
266
  const s = a ? +n : +r, o = a ? r : n;
267
267
  o.setHours(0, 0, 0, 0), o.setDate(1);
@@ -271,20 +271,20 @@ function Xn(e, t) {
271
271
  d.push(I(n, o)), o.setMonth(o.getMonth() + i);
272
272
  return a ? d.reverse() : d;
273
273
  }
274
- function Kn(e, t) {
274
+ function Jn(e, t) {
275
275
  const n = P(e, t == null ? void 0 : t.in);
276
276
  return n.setDate(1), n.setHours(0, 0, 0, 0), n;
277
277
  }
278
- function Jn(e, t) {
278
+ function Zn(e, t) {
279
279
  const n = P(e, t == null ? void 0 : t.in), r = n.getFullYear();
280
280
  return n.setFullYear(r + 1, 0, 0), n.setHours(23, 59, 59, 999), n;
281
281
  }
282
- function Ft(e, t) {
282
+ function Bt(e, t) {
283
283
  const n = P(e, t == null ? void 0 : t.in);
284
284
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
285
285
  }
286
- function Zn(e, t) {
287
- const { start: n, end: r } = Et(t == null ? void 0 : t.in, e);
286
+ function Ln(e, t) {
287
+ const { start: n, end: r } = Ft(t == null ? void 0 : t.in, e);
288
288
  let a = +n > +r;
289
289
  const s = a ? +n : +r, o = a ? r : n;
290
290
  o.setHours(0, 0, 0, 0), o.setMonth(0, 1);
@@ -294,15 +294,15 @@ function Zn(e, t) {
294
294
  d.push(I(n, o)), o.setFullYear(o.getFullYear() + i);
295
295
  return a ? d.reverse() : d;
296
296
  }
297
- function Bt(e, t) {
298
- var i, d, c, u;
299
- const n = ve(), r = (t == null ? void 0 : t.weekStartsOn) ?? ((d = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : d.weekStartsOn) ?? n.weekStartsOn ?? ((u = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : u.weekStartsOn) ?? 0, a = P(e, t == null ? void 0 : t.in), s = a.getDay(), o = (s < r ? -7 : 0) + 6 - (s - r);
297
+ function It(e, t) {
298
+ var i, d, u, c;
299
+ const n = ke(), r = (t == null ? void 0 : t.weekStartsOn) ?? ((d = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : d.weekStartsOn) ?? n.weekStartsOn ?? ((c = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : c.weekStartsOn) ?? 0, a = P(e, t == null ? void 0 : t.in), s = a.getDay(), o = (s < r ? -7 : 0) + 6 - (s - r);
300
300
  return a.setDate(a.getDate() + o), a.setHours(23, 59, 59, 999), a;
301
301
  }
302
- function Ln(e, t) {
303
- return Bt(e, { ...t, weekStartsOn: 1 });
302
+ function er(e, t) {
303
+ return It(e, { ...t, weekStartsOn: 1 });
304
304
  }
305
- const er = {
305
+ const tr = {
306
306
  lessThanXSeconds: {
307
307
  one: "less than a second",
308
308
  other: "less than {{count}} seconds"
@@ -364,54 +364,54 @@ const er = {
364
364
  one: "almost 1 year",
365
365
  other: "almost {{count}} years"
366
366
  }
367
- }, tr = (e, t, n) => {
367
+ }, nr = (e, t, n) => {
368
368
  let r;
369
- const a = er[e];
369
+ const a = tr[e];
370
370
  return typeof a == "string" ? r = a : t === 1 ? r = a.one : r = a.other.replace("{{count}}", t.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
371
371
  };
372
- function qe(e) {
372
+ function je(e) {
373
373
  return (t = {}) => {
374
374
  const n = t.width ? String(t.width) : e.defaultWidth;
375
375
  return e.formats[n] || e.formats[e.defaultWidth];
376
376
  };
377
377
  }
378
- const nr = {
378
+ const rr = {
379
379
  full: "EEEE, MMMM do, y",
380
380
  long: "MMMM do, y",
381
381
  medium: "MMM d, y",
382
382
  short: "MM/dd/yyyy"
383
- }, rr = {
383
+ }, ar = {
384
384
  full: "h:mm:ss a zzzz",
385
385
  long: "h:mm:ss a z",
386
386
  medium: "h:mm:ss a",
387
387
  short: "h:mm a"
388
- }, ar = {
388
+ }, sr = {
389
389
  full: "{{date}} 'at' {{time}}",
390
390
  long: "{{date}} 'at' {{time}}",
391
391
  medium: "{{date}}, {{time}}",
392
392
  short: "{{date}}, {{time}}"
393
- }, sr = {
394
- date: qe({
395
- formats: nr,
396
- defaultWidth: "full"
397
- }),
398
- time: qe({
393
+ }, or = {
394
+ date: je({
399
395
  formats: rr,
400
396
  defaultWidth: "full"
401
397
  }),
402
- dateTime: qe({
398
+ time: je({
403
399
  formats: ar,
404
400
  defaultWidth: "full"
401
+ }),
402
+ dateTime: je({
403
+ formats: sr,
404
+ defaultWidth: "full"
405
405
  })
406
- }, or = {
406
+ }, ir = {
407
407
  lastWeek: "'last' eeee 'at' p",
408
408
  yesterday: "'yesterday at' p",
409
409
  today: "'today at' p",
410
410
  tomorrow: "'tomorrow at' p",
411
411
  nextWeek: "eeee 'at' p",
412
412
  other: "P"
413
- }, ir = (e, t, n, r) => or[e];
414
- function me(e) {
413
+ }, dr = (e, t, n, r) => ir[e];
414
+ function ye(e) {
415
415
  return (t, n) => {
416
416
  const r = n != null && n.context ? String(n.context) : "standalone";
417
417
  let a;
@@ -426,7 +426,7 @@ function me(e) {
426
426
  return a[s];
427
427
  };
428
428
  }
429
- const dr = {
429
+ const ur = {
430
430
  narrow: ["B", "A"],
431
431
  abbreviated: ["BC", "AD"],
432
432
  wide: ["Before Christ", "Anno Domini"]
@@ -434,7 +434,7 @@ const dr = {
434
434
  narrow: ["1", "2", "3", "4"],
435
435
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
436
436
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
437
- }, ur = {
437
+ }, fr = {
438
438
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
439
439
  abbreviated: [
440
440
  "Jan",
@@ -464,7 +464,7 @@ const dr = {
464
464
  "November",
465
465
  "December"
466
466
  ]
467
- }, fr = {
467
+ }, lr = {
468
468
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
469
469
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
470
470
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
@@ -477,7 +477,7 @@ const dr = {
477
477
  "Friday",
478
478
  "Saturday"
479
479
  ]
480
- }, lr = {
480
+ }, hr = {
481
481
  narrow: {
482
482
  am: "a",
483
483
  pm: "p",
@@ -508,7 +508,7 @@ const dr = {
508
508
  evening: "evening",
509
509
  night: "night"
510
510
  }
511
- }, hr = {
511
+ }, mr = {
512
512
  narrow: {
513
513
  am: "a",
514
514
  pm: "p",
@@ -539,7 +539,7 @@ const dr = {
539
539
  evening: "in the evening",
540
540
  night: "at night"
541
541
  }
542
- }, mr = (e, t) => {
542
+ }, yr = (e, t) => {
543
543
  const n = Number(e), r = n % 100;
544
544
  if (r > 20 || r < 10)
545
545
  switch (r % 10) {
@@ -551,56 +551,56 @@ const dr = {
551
551
  return n + "rd";
552
552
  }
553
553
  return n + "th";
554
- }, yr = {
555
- ordinalNumber: mr,
556
- era: me({
557
- values: dr,
554
+ }, gr = {
555
+ ordinalNumber: yr,
556
+ era: ye({
557
+ values: ur,
558
558
  defaultWidth: "wide"
559
559
  }),
560
- quarter: me({
560
+ quarter: ye({
561
561
  values: cr,
562
562
  defaultWidth: "wide",
563
563
  argumentCallback: (e) => e - 1
564
564
  }),
565
- month: me({
566
- values: ur,
567
- defaultWidth: "wide"
568
- }),
569
- day: me({
565
+ month: ye({
570
566
  values: fr,
571
567
  defaultWidth: "wide"
572
568
  }),
573
- dayPeriod: me({
569
+ day: ye({
574
570
  values: lr,
571
+ defaultWidth: "wide"
572
+ }),
573
+ dayPeriod: ye({
574
+ values: hr,
575
575
  defaultWidth: "wide",
576
- formattingValues: hr,
576
+ formattingValues: mr,
577
577
  defaultFormattingWidth: "wide"
578
578
  })
579
579
  };
580
- function ye(e) {
580
+ function ge(e) {
581
581
  return (t, n = {}) => {
582
582
  const r = n.width, a = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], s = t.match(a);
583
583
  if (!s)
584
584
  return null;
585
- const o = s[0], i = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], d = Array.isArray(i) ? br(i, (f) => f.test(o)) : (
585
+ const o = s[0], i = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], d = Array.isArray(i) ? vr(i, (f) => f.test(o)) : (
586
586
  // [TODO] -- I challenge you to fix the type
587
- gr(i, (f) => f.test(o))
587
+ br(i, (f) => f.test(o))
588
588
  );
589
- let c;
590
- c = e.valueCallback ? e.valueCallback(d) : d, c = n.valueCallback ? (
589
+ let u;
590
+ u = e.valueCallback ? e.valueCallback(d) : d, u = n.valueCallback ? (
591
591
  // [TODO] -- I challenge you to fix the type
592
- n.valueCallback(c)
593
- ) : c;
594
- const u = t.slice(o.length);
595
- return { value: c, rest: u };
592
+ n.valueCallback(u)
593
+ ) : u;
594
+ const c = t.slice(o.length);
595
+ return { value: u, rest: c };
596
596
  };
597
597
  }
598
- function gr(e, t) {
598
+ function br(e, t) {
599
599
  for (const n in e)
600
600
  if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
601
601
  return n;
602
602
  }
603
- function br(e, t) {
603
+ function vr(e, t) {
604
604
  for (let n = 0; n < e.length; n++)
605
605
  if (t(e[n]))
606
606
  return n;
@@ -617,23 +617,23 @@ function Mr(e) {
617
617
  return { value: o, rest: i };
618
618
  };
619
619
  }
620
- const wr = /^(\d+)(th|st|nd|rd)?/i, vr = /\d+/i, kr = {
620
+ const wr = /^(\d+)(th|st|nd|rd)?/i, kr = /\d+/i, Dr = {
621
621
  narrow: /^(b|a)/i,
622
622
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
623
623
  wide: /^(before christ|before common era|anno domini|common era)/i
624
- }, Dr = {
625
- any: [/^b/i, /^(a|c)/i]
626
624
  }, Or = {
625
+ any: [/^b/i, /^(a|c)/i]
626
+ }, pr = {
627
627
  narrow: /^[1234]/i,
628
628
  abbreviated: /^q[1234]/i,
629
629
  wide: /^[1234](th|st|nd|rd)? quarter/i
630
- }, pr = {
631
- any: [/1/i, /2/i, /3/i, /4/i]
632
630
  }, Wr = {
631
+ any: [/1/i, /2/i, /3/i, /4/i]
632
+ }, Sr = {
633
633
  narrow: /^[jfmasond]/i,
634
634
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
635
635
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
636
- }, Sr = {
636
+ }, xr = {
637
637
  narrow: [
638
638
  /^j/i,
639
639
  /^f/i,
@@ -670,7 +670,7 @@ const wr = /^(\d+)(th|st|nd|rd)?/i, vr = /\d+/i, kr = {
670
670
  }, Cr = {
671
671
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
672
672
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
673
- }, xr = {
673
+ }, _r = {
674
674
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
675
675
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
676
676
  }, Yr = {
@@ -684,102 +684,102 @@ const wr = /^(\d+)(th|st|nd|rd)?/i, vr = /\d+/i, kr = {
684
684
  evening: /evening/i,
685
685
  night: /night/i
686
686
  }
687
- }, _r = {
687
+ }, Tr = {
688
688
  ordinalNumber: Mr({
689
689
  matchPattern: wr,
690
- parsePattern: vr,
690
+ parsePattern: kr,
691
691
  valueCallback: (e) => parseInt(e, 10)
692
692
  }),
693
- era: ye({
694
- matchPatterns: kr,
693
+ era: ge({
694
+ matchPatterns: Dr,
695
695
  defaultMatchWidth: "wide",
696
- parsePatterns: Dr,
696
+ parsePatterns: Or,
697
697
  defaultParseWidth: "any"
698
698
  }),
699
- quarter: ye({
700
- matchPatterns: Or,
699
+ quarter: ge({
700
+ matchPatterns: pr,
701
701
  defaultMatchWidth: "wide",
702
- parsePatterns: pr,
702
+ parsePatterns: Wr,
703
703
  defaultParseWidth: "any",
704
704
  valueCallback: (e) => e + 1
705
705
  }),
706
- month: ye({
707
- matchPatterns: Wr,
706
+ month: ge({
707
+ matchPatterns: Sr,
708
708
  defaultMatchWidth: "wide",
709
- parsePatterns: Sr,
709
+ parsePatterns: xr,
710
710
  defaultParseWidth: "any"
711
711
  }),
712
- day: ye({
712
+ day: ge({
713
713
  matchPatterns: Nr,
714
714
  defaultMatchWidth: "wide",
715
715
  parsePatterns: Cr,
716
716
  defaultParseWidth: "any"
717
717
  }),
718
- dayPeriod: ye({
719
- matchPatterns: xr,
718
+ dayPeriod: ge({
719
+ matchPatterns: _r,
720
720
  defaultMatchWidth: "any",
721
721
  parsePatterns: Yr,
722
722
  defaultParseWidth: "any"
723
723
  })
724
- }, oe = {
724
+ }, ie = {
725
725
  code: "en-US",
726
- formatDistance: tr,
727
- formatLong: sr,
728
- formatRelative: ir,
729
- localize: yr,
730
- match: _r,
726
+ formatDistance: nr,
727
+ formatLong: or,
728
+ formatRelative: dr,
729
+ localize: gr,
730
+ match: Tr,
731
731
  options: {
732
732
  weekStartsOn: 0,
733
733
  firstWeekContainsDate: 1
734
734
  }
735
- }, Tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
735
+ }, Pr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
736
736
  __proto__: null,
737
- enUS: oe
737
+ enUS: ie
738
738
  }, Symbol.toStringTag, { value: "Module" }));
739
- function Pr(e, t) {
739
+ function Er(e, t) {
740
740
  const n = P(e, t == null ? void 0 : t.in);
741
- return Je(n, Ft(n)) + 1;
741
+ return Ze(n, Bt(n)) + 1;
742
742
  }
743
- function Ze(e, t) {
744
- const n = P(e, t == null ? void 0 : t.in), r = +Me(n) - +jn(n);
743
+ function Le(e, t) {
744
+ const n = P(e, t == null ? void 0 : t.in), r = +Me(n) - +$n(n);
745
745
  return Math.round(r / Nt) + 1;
746
746
  }
747
- function It(e, t) {
748
- var u, f, h, g;
749
- const n = P(e, t == null ? void 0 : t.in), r = n.getFullYear(), a = ve(), s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((g = (h = a.locale) == null ? void 0 : h.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, o = I((t == null ? void 0 : t.in) || e, 0);
747
+ function Ht(e, t) {
748
+ var c, f, h, g;
749
+ const n = P(e, t == null ? void 0 : t.in), r = n.getFullYear(), a = ke(), s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (c = t == null ? void 0 : t.locale) == null ? void 0 : c.options) == null ? void 0 : f.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((g = (h = a.locale) == null ? void 0 : h.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, o = I((t == null ? void 0 : t.in) || e, 0);
750
750
  o.setFullYear(r + 1, 0, s), o.setHours(0, 0, 0, 0);
751
- const i = fe(o, t), d = I((t == null ? void 0 : t.in) || e, 0);
751
+ const i = le(o, t), d = I((t == null ? void 0 : t.in) || e, 0);
752
752
  d.setFullYear(r, 0, s), d.setHours(0, 0, 0, 0);
753
- const c = fe(d, t);
754
- return +n >= +i ? r + 1 : +n >= +c ? r : r - 1;
753
+ const u = le(d, t);
754
+ return +n >= +i ? r + 1 : +n >= +u ? r : r - 1;
755
755
  }
756
- function Er(e, t) {
757
- var i, d, c, u;
758
- const n = ve(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((d = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : d.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((u = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, a = It(e, t), s = I((t == null ? void 0 : t.in) || e, 0);
759
- return s.setFullYear(a, 0, r), s.setHours(0, 0, 0, 0), fe(s, t);
756
+ function Fr(e, t) {
757
+ var i, d, u, c;
758
+ const n = ke(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((d = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : d.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((c = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, a = Ht(e, t), s = I((t == null ? void 0 : t.in) || e, 0);
759
+ return s.setFullYear(a, 0, r), s.setHours(0, 0, 0, 0), le(s, t);
760
760
  }
761
- function Le(e, t) {
762
- const n = P(e, t == null ? void 0 : t.in), r = +fe(n, t) - +Er(n, t);
761
+ function et(e, t) {
762
+ const n = P(e, t == null ? void 0 : t.in), r = +le(n, t) - +Fr(n, t);
763
763
  return Math.round(r / Nt) + 1;
764
764
  }
765
- function _(e, t) {
765
+ function Y(e, t) {
766
766
  const n = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(t, "0");
767
767
  return n + r;
768
768
  }
769
- const ae = {
769
+ const se = {
770
770
  // Year
771
771
  y(e, t) {
772
772
  const n = e.getFullYear(), r = n > 0 ? n : 1 - n;
773
- return _(t === "yy" ? r % 100 : r, t.length);
773
+ return Y(t === "yy" ? r % 100 : r, t.length);
774
774
  },
775
775
  // Month
776
776
  M(e, t) {
777
777
  const n = e.getMonth();
778
- return t === "M" ? String(n + 1) : _(n + 1, 2);
778
+ return t === "M" ? String(n + 1) : Y(n + 1, 2);
779
779
  },
780
780
  // Day of the month
781
781
  d(e, t) {
782
- return _(e.getDate(), t.length);
782
+ return Y(e.getDate(), t.length);
783
783
  },
784
784
  // AM or PM
785
785
  a(e, t) {
@@ -799,26 +799,26 @@ const ae = {
799
799
  },
800
800
  // Hour [1-12]
801
801
  h(e, t) {
802
- return _(e.getHours() % 12 || 12, t.length);
802
+ return Y(e.getHours() % 12 || 12, t.length);
803
803
  },
804
804
  // Hour [0-23]
805
805
  H(e, t) {
806
- return _(e.getHours(), t.length);
806
+ return Y(e.getHours(), t.length);
807
807
  },
808
808
  // Minute
809
809
  m(e, t) {
810
- return _(e.getMinutes(), t.length);
810
+ return Y(e.getMinutes(), t.length);
811
811
  },
812
812
  // Second
813
813
  s(e, t) {
814
- return _(e.getSeconds(), t.length);
814
+ return Y(e.getSeconds(), t.length);
815
815
  },
816
816
  // Fraction of second
817
817
  S(e, t) {
818
818
  const n = t.length, r = e.getMilliseconds(), a = Math.trunc(
819
819
  r * Math.pow(10, n - 3)
820
820
  );
821
- return _(a, t.length);
821
+ return Y(a, t.length);
822
822
  }
823
823
  }, ce = {
824
824
  midnight: "midnight",
@@ -827,7 +827,7 @@ const ae = {
827
827
  afternoon: "afternoon",
828
828
  evening: "evening",
829
829
  night: "night"
830
- }, yt = {
830
+ }, gt = {
831
831
  // Era
832
832
  G: function(e, t, n) {
833
833
  const r = e.getFullYear() > 0 ? 1 : 0;
@@ -852,21 +852,21 @@ const ae = {
852
852
  const r = e.getFullYear(), a = r > 0 ? r : 1 - r;
853
853
  return n.ordinalNumber(a, { unit: "year" });
854
854
  }
855
- return ae.y(e, t);
855
+ return se.y(e, t);
856
856
  },
857
857
  // Local week-numbering year
858
858
  Y: function(e, t, n, r) {
859
- const a = It(e, r), s = a > 0 ? a : 1 - a;
859
+ const a = Ht(e, r), s = a > 0 ? a : 1 - a;
860
860
  if (t === "YY") {
861
861
  const o = s % 100;
862
- return _(o, 2);
862
+ return Y(o, 2);
863
863
  }
864
- return t === "Yo" ? n.ordinalNumber(s, { unit: "year" }) : _(s, t.length);
864
+ return t === "Yo" ? n.ordinalNumber(s, { unit: "year" }) : Y(s, t.length);
865
865
  },
866
866
  // ISO week-numbering year
867
867
  R: function(e, t) {
868
- const n = _t(e);
869
- return _(n, t.length);
868
+ const n = Tt(e);
869
+ return Y(n, t.length);
870
870
  },
871
871
  // Extended year. This is a single number designating the year of this calendar system.
872
872
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -879,7 +879,7 @@ const ae = {
879
879
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
880
880
  u: function(e, t) {
881
881
  const n = e.getFullYear();
882
- return _(n, t.length);
882
+ return Y(n, t.length);
883
883
  },
884
884
  // Quarter
885
885
  Q: function(e, t, n) {
@@ -890,7 +890,7 @@ const ae = {
890
890
  return String(r);
891
891
  // 01, 02, 03, 04
892
892
  case "QQ":
893
- return _(r, 2);
893
+ return Y(r, 2);
894
894
  // 1st, 2nd, 3rd, 4th
895
895
  case "Qo":
896
896
  return n.ordinalNumber(r, { unit: "quarter" });
@@ -924,7 +924,7 @@ const ae = {
924
924
  return String(r);
925
925
  // 01, 02, 03, 04
926
926
  case "qq":
927
- return _(r, 2);
927
+ return Y(r, 2);
928
928
  // 1st, 2nd, 3rd, 4th
929
929
  case "qo":
930
930
  return n.ordinalNumber(r, { unit: "quarter" });
@@ -955,7 +955,7 @@ const ae = {
955
955
  switch (t) {
956
956
  case "M":
957
957
  case "MM":
958
- return ae.M(e, t);
958
+ return se.M(e, t);
959
959
  // 1st, 2nd, ..., 12th
960
960
  case "Mo":
961
961
  return n.ordinalNumber(r + 1, { unit: "month" });
@@ -986,7 +986,7 @@ const ae = {
986
986
  return String(r + 1);
987
987
  // 01, 02, ..., 12
988
988
  case "LL":
989
- return _(r + 1, 2);
989
+ return Y(r + 1, 2);
990
990
  // 1st, 2nd, ..., 12th
991
991
  case "Lo":
992
992
  return n.ordinalNumber(r + 1, { unit: "month" });
@@ -1010,22 +1010,22 @@ const ae = {
1010
1010
  },
1011
1011
  // Local week of year
1012
1012
  w: function(e, t, n, r) {
1013
- const a = Le(e, r);
1014
- return t === "wo" ? n.ordinalNumber(a, { unit: "week" }) : _(a, t.length);
1013
+ const a = et(e, r);
1014
+ return t === "wo" ? n.ordinalNumber(a, { unit: "week" }) : Y(a, t.length);
1015
1015
  },
1016
1016
  // ISO week of year
1017
1017
  I: function(e, t, n) {
1018
- const r = Ze(e);
1019
- return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : _(r, t.length);
1018
+ const r = Le(e);
1019
+ return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : Y(r, t.length);
1020
1020
  },
1021
1021
  // Day of the month
1022
1022
  d: function(e, t, n) {
1023
- return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : ae.d(e, t);
1023
+ return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : se.d(e, t);
1024
1024
  },
1025
1025
  // Day of year
1026
1026
  D: function(e, t, n) {
1027
- const r = Pr(e);
1028
- return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : _(r, t.length);
1027
+ const r = Er(e);
1028
+ return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : Y(r, t.length);
1029
1029
  },
1030
1030
  // Day of week
1031
1031
  E: function(e, t, n) {
@@ -1069,7 +1069,7 @@ const ae = {
1069
1069
  return String(s);
1070
1070
  // Padded numerical value
1071
1071
  case "ee":
1072
- return _(s, 2);
1072
+ return Y(s, 2);
1073
1073
  // 1st, 2nd, ..., 7th
1074
1074
  case "eo":
1075
1075
  return n.ordinalNumber(s, { unit: "day" });
@@ -1108,7 +1108,7 @@ const ae = {
1108
1108
  return String(s);
1109
1109
  // Padded numerical value
1110
1110
  case "cc":
1111
- return _(s, t.length);
1111
+ return Y(s, t.length);
1112
1112
  // 1st, 2nd, ..., 7th
1113
1113
  case "co":
1114
1114
  return n.ordinalNumber(s, { unit: "day" });
@@ -1147,7 +1147,7 @@ const ae = {
1147
1147
  return String(a);
1148
1148
  // 02
1149
1149
  case "ii":
1150
- return _(a, t.length);
1150
+ return Y(a, t.length);
1151
1151
  // 2nd
1152
1152
  case "io":
1153
1153
  return n.ordinalNumber(a, { unit: "day" });
@@ -1266,33 +1266,33 @@ const ae = {
1266
1266
  let r = e.getHours() % 12;
1267
1267
  return r === 0 && (r = 12), n.ordinalNumber(r, { unit: "hour" });
1268
1268
  }
1269
- return ae.h(e, t);
1269
+ return se.h(e, t);
1270
1270
  },
1271
1271
  // Hour [0-23]
1272
1272
  H: function(e, t, n) {
1273
- return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : ae.H(e, t);
1273
+ return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : se.H(e, t);
1274
1274
  },
1275
1275
  // Hour [0-11]
1276
1276
  K: function(e, t, n) {
1277
1277
  const r = e.getHours() % 12;
1278
- return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : _(r, t.length);
1278
+ return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : Y(r, t.length);
1279
1279
  },
1280
1280
  // Hour [1-24]
1281
1281
  k: function(e, t, n) {
1282
1282
  let r = e.getHours();
1283
- return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : _(r, t.length);
1283
+ return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : Y(r, t.length);
1284
1284
  },
1285
1285
  // Minute
1286
1286
  m: function(e, t, n) {
1287
- return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : ae.m(e, t);
1287
+ return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : se.m(e, t);
1288
1288
  },
1289
1289
  // Second
1290
1290
  s: function(e, t, n) {
1291
- return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : ae.s(e, t);
1291
+ return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : se.s(e, t);
1292
1292
  },
1293
1293
  // Fraction of second
1294
1294
  S: function(e, t) {
1295
- return ae.S(e, t);
1295
+ return se.S(e, t);
1296
1296
  },
1297
1297
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
1298
1298
  X: function(e, t, n) {
@@ -1302,13 +1302,13 @@ const ae = {
1302
1302
  switch (t) {
1303
1303
  // Hours and optional minutes
1304
1304
  case "X":
1305
- return bt(r);
1305
+ return vt(r);
1306
1306
  // Hours, minutes and optional seconds without `:` delimiter
1307
1307
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1308
1308
  // so this token always has the same output as `XX`
1309
1309
  case "XXXX":
1310
1310
  case "XX":
1311
- return se(r);
1311
+ return oe(r);
1312
1312
  // Hours, minutes and optional seconds with `:` delimiter
1313
1313
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1314
1314
  // so this token always has the same output as `XXX`
@@ -1316,7 +1316,7 @@ const ae = {
1316
1316
  case "XXX":
1317
1317
  // Hours and minutes with `:` delimiter
1318
1318
  default:
1319
- return se(r, ":");
1319
+ return oe(r, ":");
1320
1320
  }
1321
1321
  },
1322
1322
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -1325,13 +1325,13 @@ const ae = {
1325
1325
  switch (t) {
1326
1326
  // Hours and optional minutes
1327
1327
  case "x":
1328
- return bt(r);
1328
+ return vt(r);
1329
1329
  // Hours, minutes and optional seconds without `:` delimiter
1330
1330
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1331
1331
  // so this token always has the same output as `xx`
1332
1332
  case "xxxx":
1333
1333
  case "xx":
1334
- return se(r);
1334
+ return oe(r);
1335
1335
  // Hours, minutes and optional seconds with `:` delimiter
1336
1336
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1337
1337
  // so this token always has the same output as `xxx`
@@ -1339,7 +1339,7 @@ const ae = {
1339
1339
  case "xxx":
1340
1340
  // Hours and minutes with `:` delimiter
1341
1341
  default:
1342
- return se(r, ":");
1342
+ return oe(r, ":");
1343
1343
  }
1344
1344
  },
1345
1345
  // Timezone (GMT)
@@ -1350,11 +1350,11 @@ const ae = {
1350
1350
  case "O":
1351
1351
  case "OO":
1352
1352
  case "OOO":
1353
- return "GMT" + gt(r, ":");
1353
+ return "GMT" + bt(r, ":");
1354
1354
  // Long
1355
1355
  case "OOOO":
1356
1356
  default:
1357
- return "GMT" + se(r, ":");
1357
+ return "GMT" + oe(r, ":");
1358
1358
  }
1359
1359
  },
1360
1360
  // Timezone (specific non-location)
@@ -1365,32 +1365,32 @@ const ae = {
1365
1365
  case "z":
1366
1366
  case "zz":
1367
1367
  case "zzz":
1368
- return "GMT" + gt(r, ":");
1368
+ return "GMT" + bt(r, ":");
1369
1369
  // Long
1370
1370
  case "zzzz":
1371
1371
  default:
1372
- return "GMT" + se(r, ":");
1372
+ return "GMT" + oe(r, ":");
1373
1373
  }
1374
1374
  },
1375
1375
  // Seconds timestamp
1376
1376
  t: function(e, t, n) {
1377
1377
  const r = Math.trunc(+e / 1e3);
1378
- return _(r, t.length);
1378
+ return Y(r, t.length);
1379
1379
  },
1380
1380
  // Milliseconds timestamp
1381
1381
  T: function(e, t, n) {
1382
- return _(+e, t.length);
1382
+ return Y(+e, t.length);
1383
1383
  }
1384
1384
  };
1385
- function gt(e, t = "") {
1385
+ function bt(e, t = "") {
1386
1386
  const n = e > 0 ? "-" : "+", r = Math.abs(e), a = Math.trunc(r / 60), s = r % 60;
1387
- return s === 0 ? n + String(a) : n + String(a) + t + _(s, 2);
1387
+ return s === 0 ? n + String(a) : n + String(a) + t + Y(s, 2);
1388
1388
  }
1389
- function bt(e, t) {
1390
- return e % 60 === 0 ? (e > 0 ? "-" : "+") + _(Math.abs(e) / 60, 2) : se(e, t);
1389
+ function vt(e, t) {
1390
+ return e % 60 === 0 ? (e > 0 ? "-" : "+") + Y(Math.abs(e) / 60, 2) : oe(e, t);
1391
1391
  }
1392
- function se(e, t = "") {
1393
- const n = e > 0 ? "-" : "+", r = Math.abs(e), a = _(Math.trunc(r / 60), 2), s = _(r % 60, 2);
1392
+ function oe(e, t = "") {
1393
+ const n = e > 0 ? "-" : "+", r = Math.abs(e), a = Y(Math.trunc(r / 60), 2), s = Y(r % 60, 2);
1394
1394
  return n + a + t + s;
1395
1395
  }
1396
1396
  const Mt = (e, t) => {
@@ -1405,7 +1405,7 @@ const Mt = (e, t) => {
1405
1405
  default:
1406
1406
  return t.date({ width: "full" });
1407
1407
  }
1408
- }, Ht = (e, t) => {
1408
+ }, zt = (e, t) => {
1409
1409
  switch (e) {
1410
1410
  case "p":
1411
1411
  return t.time({ width: "short" });
@@ -1417,7 +1417,7 @@ const Mt = (e, t) => {
1417
1417
  default:
1418
1418
  return t.time({ width: "full" });
1419
1419
  }
1420
- }, Fr = (e, t) => {
1420
+ }, Br = (e, t) => {
1421
1421
  const n = e.match(/(P+)(p+)?/) || [], r = n[1], a = n[2];
1422
1422
  if (!a)
1423
1423
  return Mt(e, t);
@@ -1437,87 +1437,87 @@ const Mt = (e, t) => {
1437
1437
  s = t.dateTime({ width: "full" });
1438
1438
  break;
1439
1439
  }
1440
- return s.replace("{{date}}", Mt(r, t)).replace("{{time}}", Ht(a, t));
1441
- }, Br = {
1442
- p: Ht,
1443
- P: Fr
1444
- }, Ir = /^D+$/, Hr = /^Y+$/, Ar = ["D", "DD", "YY", "YYYY"];
1445
- function zr(e) {
1446
- return Ir.test(e);
1440
+ return s.replace("{{date}}", Mt(r, t)).replace("{{time}}", zt(a, t));
1441
+ }, Ir = {
1442
+ p: zt,
1443
+ P: Br
1444
+ }, Hr = /^D+$/, zr = /^Y+$/, Ar = ["D", "DD", "YY", "YYYY"];
1445
+ function jr(e) {
1446
+ return Hr.test(e);
1447
1447
  }
1448
1448
  function qr(e) {
1449
- return Hr.test(e);
1449
+ return zr.test(e);
1450
1450
  }
1451
- function jr(e, t, n) {
1452
- const r = $r(e, t, n);
1451
+ function $r(e, t, n) {
1452
+ const r = Gr(e, t, n);
1453
1453
  if (console.warn(r), Ar.includes(e)) throw new RangeError(r);
1454
1454
  }
1455
- function $r(e, t, n) {
1455
+ function Gr(e, t, n) {
1456
1456
  const r = e[0] === "Y" ? "years" : "days of the month";
1457
1457
  return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
1458
1458
  }
1459
- const Gr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Rr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Vr = /^'([^]*?)'?$/, Ur = /''/g, Qr = /[a-zA-Z]/;
1460
- function be(e, t, n) {
1461
- var u, f, h, g, D, p, k, N;
1462
- const r = ve(), a = (n == null ? void 0 : n.locale) ?? r.locale ?? oe, s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((f = (u = n == null ? void 0 : n.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((g = (h = r.locale) == null ? void 0 : h.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, o = (n == null ? void 0 : n.weekStartsOn) ?? ((p = (D = n == null ? void 0 : n.locale) == null ? void 0 : D.options) == null ? void 0 : p.weekStartsOn) ?? r.weekStartsOn ?? ((N = (k = r.locale) == null ? void 0 : k.options) == null ? void 0 : N.weekStartsOn) ?? 0, i = P(e, n == null ? void 0 : n.in);
1463
- if (!Un(i))
1459
+ const Rr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Vr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ur = /^'([^]*?)'?$/, Qr = /''/g, Xr = /[a-zA-Z]/;
1460
+ function ve(e, t, n) {
1461
+ var c, f, h, g, D, p, k, x;
1462
+ const r = ke(), a = (n == null ? void 0 : n.locale) ?? r.locale ?? ie, s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((f = (c = n == null ? void 0 : n.locale) == null ? void 0 : c.options) == null ? void 0 : f.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((g = (h = r.locale) == null ? void 0 : h.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, o = (n == null ? void 0 : n.weekStartsOn) ?? ((p = (D = n == null ? void 0 : n.locale) == null ? void 0 : D.options) == null ? void 0 : p.weekStartsOn) ?? r.weekStartsOn ?? ((x = (k = r.locale) == null ? void 0 : k.options) == null ? void 0 : x.weekStartsOn) ?? 0, i = P(e, n == null ? void 0 : n.in);
1463
+ if (!Qn(i))
1464
1464
  throw new RangeError("Invalid time value");
1465
- let d = t.match(Rr).map((M) => {
1466
- const b = M[0];
1465
+ let d = t.match(Vr).map((v) => {
1466
+ const b = v[0];
1467
1467
  if (b === "p" || b === "P") {
1468
- const W = Br[b];
1469
- return W(M, a.formatLong);
1468
+ const W = Ir[b];
1469
+ return W(v, a.formatLong);
1470
1470
  }
1471
- return M;
1472
- }).join("").match(Gr).map((M) => {
1473
- if (M === "''")
1471
+ return v;
1472
+ }).join("").match(Rr).map((v) => {
1473
+ if (v === "''")
1474
1474
  return { isToken: !1, value: "'" };
1475
- const b = M[0];
1475
+ const b = v[0];
1476
1476
  if (b === "'")
1477
- return { isToken: !1, value: Xr(M) };
1478
- if (yt[b])
1479
- return { isToken: !0, value: M };
1480
- if (b.match(Qr))
1477
+ return { isToken: !1, value: Kr(v) };
1478
+ if (gt[b])
1479
+ return { isToken: !0, value: v };
1480
+ if (b.match(Xr))
1481
1481
  throw new RangeError(
1482
1482
  "Format string contains an unescaped latin alphabet character `" + b + "`"
1483
1483
  );
1484
- return { isToken: !1, value: M };
1484
+ return { isToken: !1, value: v };
1485
1485
  });
1486
1486
  a.localize.preprocessor && (d = a.localize.preprocessor(i, d));
1487
- const c = {
1487
+ const u = {
1488
1488
  firstWeekContainsDate: s,
1489
1489
  weekStartsOn: o,
1490
1490
  locale: a
1491
1491
  };
1492
- return d.map((M) => {
1493
- if (!M.isToken) return M.value;
1494
- const b = M.value;
1495
- (!(n != null && n.useAdditionalWeekYearTokens) && qr(b) || !(n != null && n.useAdditionalDayOfYearTokens) && zr(b)) && jr(b, t, String(e));
1496
- const W = yt[b[0]];
1497
- return W(i, b, a.localize, c);
1492
+ return d.map((v) => {
1493
+ if (!v.isToken) return v.value;
1494
+ const b = v.value;
1495
+ (!(n != null && n.useAdditionalWeekYearTokens) && qr(b) || !(n != null && n.useAdditionalDayOfYearTokens) && jr(b)) && $r(b, t, String(e));
1496
+ const W = gt[b[0]];
1497
+ return W(i, b, a.localize, u);
1498
1498
  }).join("");
1499
1499
  }
1500
- function Xr(e) {
1501
- const t = e.match(Vr);
1502
- return t ? t[1].replace(Ur, "'") : e;
1500
+ function Kr(e) {
1501
+ const t = e.match(Ur);
1502
+ return t ? t[1].replace(Qr, "'") : e;
1503
1503
  }
1504
- function Kr(e, t) {
1504
+ function Jr(e, t) {
1505
1505
  const n = P(e, t == null ? void 0 : t.in), r = n.getFullYear(), a = n.getMonth(), s = I(n, 0);
1506
1506
  return s.setFullYear(r, a + 1, 0), s.setHours(0, 0, 0, 0), s.getDate();
1507
1507
  }
1508
- function Jr(e, t) {
1508
+ function Zr(e, t) {
1509
1509
  return P(e, t == null ? void 0 : t.in).getMonth();
1510
1510
  }
1511
- function Zr(e, t) {
1511
+ function Lr(e, t) {
1512
1512
  return P(e, t == null ? void 0 : t.in).getFullYear();
1513
1513
  }
1514
- function Lr(e, t) {
1514
+ function ea(e, t) {
1515
1515
  return +P(e) > +P(t);
1516
1516
  }
1517
- function ea(e, t) {
1517
+ function ta(e, t) {
1518
1518
  return +P(e) < +P(t);
1519
1519
  }
1520
- function ta(e, t, n) {
1520
+ function na(e, t, n) {
1521
1521
  const [r, a] = we(
1522
1522
  n == null ? void 0 : n.in,
1523
1523
  e,
@@ -1525,7 +1525,7 @@ function ta(e, t, n) {
1525
1525
  );
1526
1526
  return r.getFullYear() === a.getFullYear() && r.getMonth() === a.getMonth();
1527
1527
  }
1528
- function na(e, t, n) {
1528
+ function ra(e, t, n) {
1529
1529
  const [r, a] = we(
1530
1530
  n == null ? void 0 : n.in,
1531
1531
  e,
@@ -1533,35 +1533,35 @@ function na(e, t, n) {
1533
1533
  );
1534
1534
  return r.getFullYear() === a.getFullYear();
1535
1535
  }
1536
- function ra(e, t, n) {
1536
+ function aa(e, t, n) {
1537
1537
  const r = P(e, n == null ? void 0 : n.in), a = r.getFullYear(), s = r.getDate(), o = I(e, 0);
1538
1538
  o.setFullYear(a, t, 15), o.setHours(0, 0, 0, 0);
1539
- const i = Kr(o);
1539
+ const i = Jr(o);
1540
1540
  return r.setMonth(t, Math.min(s, i)), r;
1541
1541
  }
1542
- function aa(e, t, n) {
1542
+ function sa(e, t, n) {
1543
1543
  const r = P(e, n == null ? void 0 : n.in);
1544
1544
  return isNaN(+r) ? I(e, NaN) : (r.setFullYear(t), r);
1545
1545
  }
1546
- const wt = 5, sa = 4;
1547
- function oa(e, t) {
1546
+ const wt = 5, oa = 4;
1547
+ function ia(e, t) {
1548
1548
  const n = t.startOfMonth(e), r = n.getDay() > 0 ? n.getDay() : 7, a = t.addDays(e, -r + 1), s = t.addDays(a, wt * 7 - 1);
1549
- return t.getMonth(e) === t.getMonth(s) ? wt : sa;
1549
+ return t.getMonth(e) === t.getMonth(s) ? wt : oa;
1550
1550
  }
1551
1551
  function At(e, t) {
1552
1552
  const n = t.startOfMonth(e), r = n.getDay();
1553
1553
  return r === 1 ? n : r === 0 ? t.addDays(n, -6) : t.addDays(n, -1 * (r - 1));
1554
1554
  }
1555
- function ia(e, t) {
1556
- const n = At(e, t), r = oa(e, t);
1555
+ function da(e, t) {
1556
+ const n = At(e, t), r = ia(e, t);
1557
1557
  return t.addDays(n, r * 7 - 1);
1558
1558
  }
1559
- const zt = {
1560
- ...oe,
1559
+ const jt = {
1560
+ ...ie,
1561
1561
  labels: {
1562
1562
  labelDayButton: (e, t, n, r) => {
1563
1563
  let a;
1564
- r && typeof r.format == "function" ? a = r.format.bind(r) : a = (o, i) => be(o, i, { locale: oe, ...n });
1564
+ r && typeof r.format == "function" ? a = r.format.bind(r) : a = (o, i) => ve(o, i, { locale: ie, ...n });
1565
1565
  let s = a(e, "PPPP");
1566
1566
  return t.today && (s = `Today, ${s}`), t.selected && (s = `${s}, selected`), s;
1567
1567
  },
@@ -1572,11 +1572,11 @@ const zt = {
1572
1572
  labelYearDropdown: "Choose the Year",
1573
1573
  labelGrid: (e, t, n) => {
1574
1574
  let r;
1575
- return n && typeof n.format == "function" ? r = n.format.bind(n) : r = (a, s) => be(a, s, { locale: oe, ...t }), r(e, "LLLL yyyy");
1575
+ return n && typeof n.format == "function" ? r = n.format.bind(n) : r = (a, s) => ve(a, s, { locale: ie, ...t }), r(e, "LLLL yyyy");
1576
1576
  },
1577
1577
  labelGridcell: (e, t, n, r) => {
1578
1578
  let a;
1579
- r && typeof r.format == "function" ? a = r.format.bind(r) : a = (o, i) => be(o, i, { locale: oe, ...n });
1579
+ r && typeof r.format == "function" ? a = r.format.bind(r) : a = (o, i) => ve(o, i, { locale: ie, ...n });
1580
1580
  let s = a(e, "PPPP");
1581
1581
  return t != null && t.today && (s = `Today, ${s}`), s;
1582
1582
  },
@@ -1584,11 +1584,11 @@ const zt = {
1584
1584
  labelWeekNumberHeader: "Week Number",
1585
1585
  labelWeekday: (e, t, n) => {
1586
1586
  let r;
1587
- return n && typeof n.format == "function" ? r = n.format.bind(n) : r = (a, s) => be(a, s, { locale: oe, ...t }), r(e, "cccc");
1587
+ return n && typeof n.format == "function" ? r = n.format.bind(n) : r = (a, s) => ve(a, s, { locale: ie, ...t }), r(e, "cccc");
1588
1588
  }
1589
1589
  }
1590
1590
  };
1591
- class j {
1591
+ class q {
1592
1592
  /**
1593
1593
  * Creates an instance of `DateLib`.
1594
1594
  *
@@ -1604,28 +1604,28 @@ class j {
1604
1604
  return (o = this.overrides) != null && o.newDate ? this.overrides.newDate(r, a, s) : this.options.timeZone ? new H(r, a, s, this.options.timeZone) : new Date(r, a, s);
1605
1605
  }, this.addDays = (r, a) => {
1606
1606
  var s;
1607
- return (s = this.overrides) != null && s.addDays ? this.overrides.addDays(r, a) : xt(r, a);
1607
+ return (s = this.overrides) != null && s.addDays ? this.overrides.addDays(r, a) : _t(r, a);
1608
1608
  }, this.addMonths = (r, a) => {
1609
1609
  var s;
1610
1610
  return (s = this.overrides) != null && s.addMonths ? this.overrides.addMonths(r, a) : Yt(r, a);
1611
1611
  }, this.addWeeks = (r, a) => {
1612
1612
  var s;
1613
- return (s = this.overrides) != null && s.addWeeks ? this.overrides.addWeeks(r, a) : $n(r, a);
1613
+ return (s = this.overrides) != null && s.addWeeks ? this.overrides.addWeeks(r, a) : Gn(r, a);
1614
1614
  }, this.addYears = (r, a) => {
1615
1615
  var s;
1616
- return (s = this.overrides) != null && s.addYears ? this.overrides.addYears(r, a) : Gn(r, a);
1616
+ return (s = this.overrides) != null && s.addYears ? this.overrides.addYears(r, a) : Rn(r, a);
1617
1617
  }, this.differenceInCalendarDays = (r, a) => {
1618
1618
  var s;
1619
- return (s = this.overrides) != null && s.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(r, a) : Je(r, a);
1619
+ return (s = this.overrides) != null && s.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(r, a) : Ze(r, a);
1620
1620
  }, this.differenceInCalendarMonths = (r, a) => {
1621
1621
  var s;
1622
- return (s = this.overrides) != null && s.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(r, a) : Pt(r, a);
1622
+ return (s = this.overrides) != null && s.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(r, a) : Et(r, a);
1623
1623
  }, this.eachMonthOfInterval = (r) => {
1624
1624
  var a;
1625
- return (a = this.overrides) != null && a.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(r) : Xn(r);
1625
+ return (a = this.overrides) != null && a.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(r) : Kn(r);
1626
1626
  }, this.eachYearOfInterval = (r) => {
1627
1627
  var i;
1628
- const a = (i = this.overrides) != null && i.eachYearOfInterval ? this.overrides.eachYearOfInterval(r) : Zn(r), s = new Set(a.map((d) => this.getYear(d)));
1628
+ const a = (i = this.overrides) != null && i.eachYearOfInterval ? this.overrides.eachYearOfInterval(r) : Ln(r), s = new Set(a.map((d) => this.getYear(d)));
1629
1629
  if (s.size === a.length)
1630
1630
  return a;
1631
1631
  const o = [];
@@ -1634,84 +1634,84 @@ class j {
1634
1634
  }), o;
1635
1635
  }, this.endOfBroadcastWeek = (r) => {
1636
1636
  var a;
1637
- return (a = this.overrides) != null && a.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(r) : ia(r, this);
1637
+ return (a = this.overrides) != null && a.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(r) : da(r, this);
1638
1638
  }, this.endOfISOWeek = (r) => {
1639
1639
  var a;
1640
- return (a = this.overrides) != null && a.endOfISOWeek ? this.overrides.endOfISOWeek(r) : Ln(r);
1640
+ return (a = this.overrides) != null && a.endOfISOWeek ? this.overrides.endOfISOWeek(r) : er(r);
1641
1641
  }, this.endOfMonth = (r) => {
1642
1642
  var a;
1643
- return (a = this.overrides) != null && a.endOfMonth ? this.overrides.endOfMonth(r) : Qn(r);
1643
+ return (a = this.overrides) != null && a.endOfMonth ? this.overrides.endOfMonth(r) : Xn(r);
1644
1644
  }, this.endOfWeek = (r, a) => {
1645
1645
  var s;
1646
- return (s = this.overrides) != null && s.endOfWeek ? this.overrides.endOfWeek(r, a) : Bt(r, this.options);
1646
+ return (s = this.overrides) != null && s.endOfWeek ? this.overrides.endOfWeek(r, a) : It(r, this.options);
1647
1647
  }, this.endOfYear = (r) => {
1648
1648
  var a;
1649
- return (a = this.overrides) != null && a.endOfYear ? this.overrides.endOfYear(r) : Jn(r);
1649
+ return (a = this.overrides) != null && a.endOfYear ? this.overrides.endOfYear(r) : Zn(r);
1650
1650
  }, this.format = (r, a, s) => {
1651
1651
  var i;
1652
- const o = (i = this.overrides) != null && i.format ? this.overrides.format(r, a, this.options) : be(r, a, this.options);
1652
+ const o = (i = this.overrides) != null && i.format ? this.overrides.format(r, a, this.options) : ve(r, a, this.options);
1653
1653
  return this.options.numerals && this.options.numerals !== "latn" ? this.replaceDigits(o) : o;
1654
1654
  }, this.getISOWeek = (r) => {
1655
1655
  var a;
1656
- return (a = this.overrides) != null && a.getISOWeek ? this.overrides.getISOWeek(r) : Ze(r);
1656
+ return (a = this.overrides) != null && a.getISOWeek ? this.overrides.getISOWeek(r) : Le(r);
1657
1657
  }, this.getMonth = (r, a) => {
1658
1658
  var s;
1659
- return (s = this.overrides) != null && s.getMonth ? this.overrides.getMonth(r, this.options) : Jr(r, this.options);
1659
+ return (s = this.overrides) != null && s.getMonth ? this.overrides.getMonth(r, this.options) : Zr(r, this.options);
1660
1660
  }, this.getYear = (r, a) => {
1661
1661
  var s;
1662
- return (s = this.overrides) != null && s.getYear ? this.overrides.getYear(r, this.options) : Zr(r, this.options);
1662
+ return (s = this.overrides) != null && s.getYear ? this.overrides.getYear(r, this.options) : Lr(r, this.options);
1663
1663
  }, this.getWeek = (r, a) => {
1664
1664
  var s;
1665
- return (s = this.overrides) != null && s.getWeek ? this.overrides.getWeek(r, this.options) : Le(r, this.options);
1665
+ return (s = this.overrides) != null && s.getWeek ? this.overrides.getWeek(r, this.options) : et(r, this.options);
1666
1666
  }, this.isAfter = (r, a) => {
1667
1667
  var s;
1668
- return (s = this.overrides) != null && s.isAfter ? this.overrides.isAfter(r, a) : Lr(r, a);
1668
+ return (s = this.overrides) != null && s.isAfter ? this.overrides.isAfter(r, a) : ea(r, a);
1669
1669
  }, this.isBefore = (r, a) => {
1670
1670
  var s;
1671
- return (s = this.overrides) != null && s.isBefore ? this.overrides.isBefore(r, a) : ea(r, a);
1671
+ return (s = this.overrides) != null && s.isBefore ? this.overrides.isBefore(r, a) : ta(r, a);
1672
1672
  }, this.isDate = (r) => {
1673
1673
  var a;
1674
- return (a = this.overrides) != null && a.isDate ? this.overrides.isDate(r) : Tt(r);
1674
+ return (a = this.overrides) != null && a.isDate ? this.overrides.isDate(r) : Pt(r);
1675
1675
  }, this.isSameDay = (r, a) => {
1676
1676
  var s;
1677
- return (s = this.overrides) != null && s.isSameDay ? this.overrides.isSameDay(r, a) : Fn(r, a);
1677
+ return (s = this.overrides) != null && s.isSameDay ? this.overrides.isSameDay(r, a) : Bn(r, a);
1678
1678
  }, this.isSameMonth = (r, a) => {
1679
1679
  var s;
1680
- return (s = this.overrides) != null && s.isSameMonth ? this.overrides.isSameMonth(r, a) : ta(r, a);
1680
+ return (s = this.overrides) != null && s.isSameMonth ? this.overrides.isSameMonth(r, a) : na(r, a);
1681
1681
  }, this.isSameYear = (r, a) => {
1682
1682
  var s;
1683
- return (s = this.overrides) != null && s.isSameYear ? this.overrides.isSameYear(r, a) : na(r, a);
1683
+ return (s = this.overrides) != null && s.isSameYear ? this.overrides.isSameYear(r, a) : ra(r, a);
1684
1684
  }, this.max = (r) => {
1685
1685
  var a;
1686
- return (a = this.overrides) != null && a.max ? this.overrides.max(r) : Rn(r);
1686
+ return (a = this.overrides) != null && a.max ? this.overrides.max(r) : Vn(r);
1687
1687
  }, this.min = (r) => {
1688
1688
  var a;
1689
- return (a = this.overrides) != null && a.min ? this.overrides.min(r) : Vn(r);
1689
+ return (a = this.overrides) != null && a.min ? this.overrides.min(r) : Un(r);
1690
1690
  }, this.setMonth = (r, a) => {
1691
1691
  var s;
1692
- return (s = this.overrides) != null && s.setMonth ? this.overrides.setMonth(r, a) : ra(r, a);
1692
+ return (s = this.overrides) != null && s.setMonth ? this.overrides.setMonth(r, a) : aa(r, a);
1693
1693
  }, this.setYear = (r, a) => {
1694
1694
  var s;
1695
- return (s = this.overrides) != null && s.setYear ? this.overrides.setYear(r, a) : aa(r, a);
1695
+ return (s = this.overrides) != null && s.setYear ? this.overrides.setYear(r, a) : sa(r, a);
1696
1696
  }, this.startOfBroadcastWeek = (r, a) => {
1697
1697
  var s;
1698
1698
  return (s = this.overrides) != null && s.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(r, this) : At(r, this);
1699
1699
  }, this.startOfDay = (r) => {
1700
1700
  var a;
1701
- return (a = this.overrides) != null && a.startOfDay ? this.overrides.startOfDay(r) : Xe(r);
1701
+ return (a = this.overrides) != null && a.startOfDay ? this.overrides.startOfDay(r) : Ke(r);
1702
1702
  }, this.startOfISOWeek = (r) => {
1703
1703
  var a;
1704
1704
  return (a = this.overrides) != null && a.startOfISOWeek ? this.overrides.startOfISOWeek(r) : Me(r);
1705
1705
  }, this.startOfMonth = (r) => {
1706
1706
  var a;
1707
- return (a = this.overrides) != null && a.startOfMonth ? this.overrides.startOfMonth(r) : Kn(r);
1707
+ return (a = this.overrides) != null && a.startOfMonth ? this.overrides.startOfMonth(r) : Jn(r);
1708
1708
  }, this.startOfWeek = (r, a) => {
1709
1709
  var s;
1710
- return (s = this.overrides) != null && s.startOfWeek ? this.overrides.startOfWeek(r, this.options) : fe(r, this.options);
1710
+ return (s = this.overrides) != null && s.startOfWeek ? this.overrides.startOfWeek(r, this.options) : le(r, this.options);
1711
1711
  }, this.startOfYear = (r) => {
1712
1712
  var a;
1713
- return (a = this.overrides) != null && a.startOfYear ? this.overrides.startOfYear(r) : Ft(r);
1714
- }, this.options = { locale: zt, ...t }, this.overrides = n;
1713
+ return (a = this.overrides) != null && a.startOfYear ? this.overrides.startOfYear(r) : Bt(r);
1714
+ }, this.options = { locale: jt, ...t }, this.overrides = n;
1715
1715
  }
1716
1716
  /**
1717
1717
  * Generates a mapping of Arabic digits (0-9) to the target numbering system
@@ -1756,7 +1756,7 @@ class j {
1756
1756
  getMonthYearOrder() {
1757
1757
  var n;
1758
1758
  const t = (n = this.options.locale) == null ? void 0 : n.code;
1759
- return t && j.yearFirstLocales.has(t) ? "year-first" : "month-first";
1759
+ return t && q.yearFirstLocales.has(t) ? "year-first" : "month-first";
1760
1760
  }
1761
1761
  /**
1762
1762
  * Formats the month/year pair respecting locale conventions.
@@ -1765,7 +1765,7 @@ class j {
1765
1765
  */
1766
1766
  formatMonthYear(t) {
1767
1767
  const { locale: n, timeZone: r, numerals: a } = this.options, s = n == null ? void 0 : n.code;
1768
- if (s && j.yearFirstLocales.has(s))
1768
+ if (s && q.yearFirstLocales.has(s))
1769
1769
  try {
1770
1770
  return new Intl.DateTimeFormat(s, {
1771
1771
  month: "long",
@@ -1779,7 +1779,7 @@ class j {
1779
1779
  return this.format(t, o);
1780
1780
  }
1781
1781
  }
1782
- j.yearFirstLocales = /* @__PURE__ */ new Set([
1782
+ q.yearFirstLocales = /* @__PURE__ */ new Set([
1783
1783
  "eu",
1784
1784
  "hu",
1785
1785
  "ja",
@@ -1798,7 +1798,7 @@ j.yearFirstLocales = /* @__PURE__ */ new Set([
1798
1798
  "zh-HK",
1799
1799
  "zh-TW"
1800
1800
  ]);
1801
- const Z = new j();
1801
+ const Z = new q();
1802
1802
  class qt {
1803
1803
  constructor(t, n, r = Z) {
1804
1804
  this.date = t, this.displayMonth = n, this.outside = !!(n && !r.isSameMonth(t, n)), this.dateLib = r, this.isoDate = r.format(t, "yyyy-MM-dd"), this.displayMonthId = r.format(n, "yyyy-MM"), this.dateMonthId = r.format(t, "yyyy-MM");
@@ -1814,7 +1814,7 @@ class qt {
1814
1814
  return this.dateLib.isSameDay(t.date, this.date) && this.dateLib.isSameMonth(t.displayMonth, this.displayMonth);
1815
1815
  }
1816
1816
  }
1817
- class da {
1817
+ class ua {
1818
1818
  constructor(t, n) {
1819
1819
  this.date = t, this.weeks = n;
1820
1820
  }
@@ -1824,13 +1824,13 @@ class ca {
1824
1824
  this.days = n, this.weekNumber = t;
1825
1825
  }
1826
1826
  }
1827
- function ua(e) {
1827
+ function fa(e) {
1828
1828
  return y.createElement("button", { ...e });
1829
1829
  }
1830
- function fa(e) {
1830
+ function la(e) {
1831
1831
  return y.createElement("span", { ...e });
1832
1832
  }
1833
- function la(e) {
1833
+ function ha(e) {
1834
1834
  const { size: t = 24, orientation: n = "left", className: r } = e;
1835
1835
  return (
1836
1836
  // biome-ignore lint/a11y/noSvgWithoutTitle: handled by the parent component
@@ -1844,11 +1844,11 @@ function la(e) {
1844
1844
  )
1845
1845
  );
1846
1846
  }
1847
- function ha(e) {
1847
+ function ma(e) {
1848
1848
  const { day: t, modifiers: n, ...r } = e;
1849
1849
  return y.createElement("td", { ...r });
1850
1850
  }
1851
- function ma(e) {
1851
+ function ya(e) {
1852
1852
  const { day: t, modifiers: n, ...r } = e, a = y.useRef(null);
1853
1853
  return y.useEffect(() => {
1854
1854
  var s;
@@ -1863,20 +1863,20 @@ var T;
1863
1863
  (function(e) {
1864
1864
  e.disabled = "disabled", e.hidden = "hidden", e.outside = "outside", e.focused = "focused", e.today = "today";
1865
1865
  })(T || (T = {}));
1866
- var A;
1866
+ var z;
1867
1867
  (function(e) {
1868
1868
  e.range_end = "range_end", e.range_middle = "range_middle", e.range_start = "range_start", e.selected = "selected";
1869
- })(A || (A = {}));
1870
- var q;
1869
+ })(z || (z = {}));
1870
+ var j;
1871
1871
  (function(e) {
1872
1872
  e.weeks_before_enter = "weeks_before_enter", e.weeks_before_exit = "weeks_before_exit", e.weeks_after_enter = "weeks_after_enter", e.weeks_after_exit = "weeks_after_exit", e.caption_after_enter = "caption_after_enter", e.caption_after_exit = "caption_after_exit", e.caption_before_enter = "caption_before_enter", e.caption_before_exit = "caption_before_exit";
1873
- })(q || (q = {}));
1874
- function ya(e) {
1873
+ })(j || (j = {}));
1874
+ function ga(e) {
1875
1875
  const { options: t, className: n, components: r, classNames: a, ...s } = e, o = [a[m.Dropdown], n].join(" "), i = t == null ? void 0 : t.find(({ value: d }) => d === s.value);
1876
1876
  return y.createElement(
1877
1877
  "span",
1878
1878
  { "data-disabled": s.disabled, className: a[m.DropdownRoot] },
1879
- y.createElement(r.Select, { className: o, ...s }, t == null ? void 0 : t.map(({ value: d, label: c, disabled: u }) => y.createElement(r.Option, { key: d, value: d, disabled: u }, c))),
1879
+ y.createElement(r.Select, { className: o, ...s }, t == null ? void 0 : t.map(({ value: d, label: u, disabled: c }) => y.createElement(r.Option, { key: d, value: d, disabled: c }, u))),
1880
1880
  y.createElement(
1881
1881
  "span",
1882
1882
  { className: a[m.CaptionLabel], "aria-hidden": !0 },
@@ -1885,10 +1885,10 @@ function ya(e) {
1885
1885
  )
1886
1886
  );
1887
1887
  }
1888
- function ga(e) {
1888
+ function ba(e) {
1889
1889
  return y.createElement("div", { ...e });
1890
1890
  }
1891
- function ba(e) {
1891
+ function va(e) {
1892
1892
  return y.createElement("div", { ...e });
1893
1893
  }
1894
1894
  function Ma(e) {
@@ -1899,25 +1899,25 @@ function wa(e) {
1899
1899
  const { calendarMonth: t, displayIndex: n, ...r } = e;
1900
1900
  return y.createElement("div", { ...r });
1901
1901
  }
1902
- function va(e) {
1902
+ function ka(e) {
1903
1903
  return y.createElement("table", { ...e });
1904
1904
  }
1905
- function ka(e) {
1905
+ function Da(e) {
1906
1906
  return y.createElement("div", { ...e });
1907
1907
  }
1908
- const jt = _n(void 0);
1909
- function ke() {
1910
- const e = Tn(jt);
1908
+ const $t = Tn(void 0);
1909
+ function De() {
1910
+ const e = Pn($t);
1911
1911
  if (e === void 0)
1912
1912
  throw new Error("useDayPicker() must be used within a custom component.");
1913
1913
  return e;
1914
1914
  }
1915
- function Da(e) {
1916
- const { components: t } = ke();
1915
+ function Oa(e) {
1916
+ const { components: t } = De();
1917
1917
  return y.createElement(t.Dropdown, { ...e });
1918
1918
  }
1919
- function Oa(e) {
1920
- const { onPreviousClick: t, onNextClick: n, previousMonth: r, nextMonth: a, ...s } = e, { components: o, classNames: i, labels: { labelPrevious: d, labelNext: c } } = ke(), u = R((h) => {
1919
+ function pa(e) {
1920
+ const { onPreviousClick: t, onNextClick: n, previousMonth: r, nextMonth: a, ...s } = e, { components: o, classNames: i, labels: { labelPrevious: d, labelNext: u } } = De(), c = R((h) => {
1921
1921
  a && (n == null || n(h));
1922
1922
  }, [a, n]), f = R((h) => {
1923
1923
  r && (t == null || t(h));
@@ -1932,20 +1932,20 @@ function Oa(e) {
1932
1932
  ),
1933
1933
  y.createElement(
1934
1934
  o.NextMonthButton,
1935
- { type: "button", className: i[m.NextMonthButton], tabIndex: a ? void 0 : -1, "aria-disabled": a ? void 0 : !0, "aria-label": c(a), onClick: u },
1935
+ { type: "button", className: i[m.NextMonthButton], tabIndex: a ? void 0 : -1, "aria-disabled": a ? void 0 : !0, "aria-label": u(a), onClick: c },
1936
1936
  y.createElement(o.Chevron, { disabled: a ? void 0 : !0, orientation: "right", className: i[m.Chevron] })
1937
1937
  )
1938
1938
  );
1939
1939
  }
1940
- function pa(e) {
1941
- const { components: t } = ke();
1940
+ function Wa(e) {
1941
+ const { components: t } = De();
1942
1942
  return y.createElement(t.Button, { ...e });
1943
1943
  }
1944
- function Wa(e) {
1944
+ function Sa(e) {
1945
1945
  return y.createElement("option", { ...e });
1946
1946
  }
1947
- function Sa(e) {
1948
- const { components: t } = ke();
1947
+ function xa(e) {
1948
+ const { components: t } = De();
1949
1949
  return y.createElement(t.Button, { ...e });
1950
1950
  }
1951
1951
  function Na(e) {
@@ -1955,84 +1955,84 @@ function Na(e) {
1955
1955
  function Ca(e) {
1956
1956
  return y.createElement("select", { ...e });
1957
1957
  }
1958
- function xa(e) {
1958
+ function _a(e) {
1959
1959
  const { week: t, ...n } = e;
1960
1960
  return y.createElement("tr", { ...n });
1961
1961
  }
1962
1962
  function Ya(e) {
1963
1963
  return y.createElement("th", { ...e });
1964
1964
  }
1965
- function _a(e) {
1965
+ function Ta(e) {
1966
1966
  return y.createElement(
1967
1967
  "thead",
1968
1968
  { "aria-hidden": !0 },
1969
1969
  y.createElement("tr", { ...e })
1970
1970
  );
1971
1971
  }
1972
- function Ta(e) {
1972
+ function Pa(e) {
1973
1973
  const { week: t, ...n } = e;
1974
1974
  return y.createElement("th", { ...n });
1975
1975
  }
1976
- function Pa(e) {
1976
+ function Ea(e) {
1977
1977
  return y.createElement("th", { ...e });
1978
1978
  }
1979
- function Ea(e) {
1979
+ function Fa(e) {
1980
1980
  return y.createElement("tbody", { ...e });
1981
1981
  }
1982
- function Fa(e) {
1983
- const { components: t } = ke();
1982
+ function Ba(e) {
1983
+ const { components: t } = De();
1984
1984
  return y.createElement(t.Dropdown, { ...e });
1985
1985
  }
1986
- const Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1986
+ const Ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1987
1987
  __proto__: null,
1988
- Button: ua,
1989
- CaptionLabel: fa,
1990
- Chevron: la,
1991
- Day: ha,
1992
- DayButton: ma,
1993
- Dropdown: ya,
1994
- DropdownNav: ga,
1995
- Footer: ba,
1988
+ Button: fa,
1989
+ CaptionLabel: la,
1990
+ Chevron: ha,
1991
+ Day: ma,
1992
+ DayButton: ya,
1993
+ Dropdown: ga,
1994
+ DropdownNav: ba,
1995
+ Footer: va,
1996
1996
  Month: Ma,
1997
1997
  MonthCaption: wa,
1998
- MonthGrid: va,
1999
- Months: ka,
2000
- MonthsDropdown: Da,
2001
- Nav: Oa,
2002
- NextMonthButton: pa,
2003
- Option: Wa,
2004
- PreviousMonthButton: Sa,
1998
+ MonthGrid: ka,
1999
+ Months: Da,
2000
+ MonthsDropdown: Oa,
2001
+ Nav: pa,
2002
+ NextMonthButton: Wa,
2003
+ Option: Sa,
2004
+ PreviousMonthButton: xa,
2005
2005
  Root: Na,
2006
2006
  Select: Ca,
2007
- Week: xa,
2008
- WeekNumber: Ta,
2009
- WeekNumberHeader: Pa,
2007
+ Week: _a,
2008
+ WeekNumber: Pa,
2009
+ WeekNumberHeader: Ea,
2010
2010
  Weekday: Ya,
2011
- Weekdays: _a,
2012
- Weeks: Ea,
2013
- YearsDropdown: Fa
2011
+ Weekdays: Ta,
2012
+ Weeks: Fa,
2013
+ YearsDropdown: Ba
2014
2014
  }, Symbol.toStringTag, { value: "Module" }));
2015
2015
  function te(e, t, n = !1, r = Z) {
2016
2016
  let { from: a, to: s } = e;
2017
2017
  const { differenceInCalendarDays: o, isSameDay: i } = r;
2018
2018
  return a && s ? (o(s, a) < 0 && ([a, s] = [s, a]), o(t, a) >= (n ? 1 : 0) && o(s, t) >= (n ? 1 : 0)) : !n && s ? i(s, t) : !n && a ? i(a, t) : !1;
2019
2019
  }
2020
- function et(e) {
2020
+ function tt(e) {
2021
2021
  return !!(e && typeof e == "object" && "before" in e && "after" in e);
2022
2022
  }
2023
- function _e(e) {
2023
+ function Ye(e) {
2024
2024
  return !!(e && typeof e == "object" && "from" in e);
2025
2025
  }
2026
- function tt(e) {
2026
+ function nt(e) {
2027
2027
  return !!(e && typeof e == "object" && "after" in e);
2028
2028
  }
2029
- function nt(e) {
2029
+ function rt(e) {
2030
2030
  return !!(e && typeof e == "object" && "before" in e);
2031
2031
  }
2032
- function $t(e) {
2032
+ function Gt(e) {
2033
2033
  return !!(e && typeof e == "object" && "dayOfWeek" in e);
2034
2034
  }
2035
- function Gt(e, t) {
2035
+ function Rt(e, t) {
2036
2036
  return Array.isArray(e) && e.every(t.isDate);
2037
2037
  }
2038
2038
  function ne(e, t, n = Z) {
@@ -2042,36 +2042,36 @@ function ne(e, t, n = Z) {
2042
2042
  return i;
2043
2043
  if (n.isDate(i))
2044
2044
  return a(e, i);
2045
- if (Gt(i, n))
2045
+ if (Rt(i, n))
2046
2046
  return i.some((d) => a(e, d));
2047
- if (_e(i))
2047
+ if (Ye(i))
2048
2048
  return te(i, e, !1, n);
2049
- if ($t(i))
2049
+ if (Gt(i))
2050
2050
  return Array.isArray(i.dayOfWeek) ? i.dayOfWeek.includes(e.getDay()) : i.dayOfWeek === e.getDay();
2051
- if (et(i)) {
2052
- const d = s(i.before, e), c = s(i.after, e), u = d > 0, f = c < 0;
2053
- return o(i.before, i.after) ? f && u : u || f;
2051
+ if (tt(i)) {
2052
+ const d = s(i.before, e), u = s(i.after, e), c = d > 0, f = u < 0;
2053
+ return o(i.before, i.after) ? f && c : c || f;
2054
2054
  }
2055
- return tt(i) ? s(e, i.after) > 0 : nt(i) ? s(i.before, e) > 0 : typeof i == "function" ? i(e) : !1;
2055
+ return nt(i) ? s(e, i.after) > 0 : rt(i) ? s(i.before, e) > 0 : typeof i == "function" ? i(e) : !1;
2056
2056
  });
2057
2057
  }
2058
- function Ia(e, t, n, r, a) {
2059
- const { disabled: s, hidden: o, modifiers: i, showOutsideDays: d, broadcastCalendar: c, today: u = a.today() } = t, { isSameDay: f, isSameMonth: h, startOfMonth: g, isBefore: D, endOfMonth: p, isAfter: k } = a, N = n && g(n), M = r && p(r), b = {
2058
+ function Ha(e, t, n, r, a) {
2059
+ const { disabled: s, hidden: o, modifiers: i, showOutsideDays: d, broadcastCalendar: u, today: c = a.today() } = t, { isSameDay: f, isSameMonth: h, startOfMonth: g, isBefore: D, endOfMonth: p, isAfter: k } = a, x = n && g(n), v = r && p(r), b = {
2060
2060
  [T.focused]: [],
2061
2061
  [T.outside]: [],
2062
2062
  [T.disabled]: [],
2063
2063
  [T.hidden]: [],
2064
2064
  [T.today]: []
2065
2065
  }, W = {};
2066
- for (const v of e) {
2067
- const { date: l, displayMonth: S } = v, E = !!(S && !h(l, S)), B = !!(N && D(l, N)), F = !!(M && k(l, M)), $ = !!(s && ne(l, s, a)), re = !!(o && ne(l, o, a)) || B || F || // Broadcast calendar will show outside days as default
2068
- !c && !d && E || c && d === !1 && E, L = f(l, u);
2069
- E && b.outside.push(v), $ && b.disabled.push(v), re && b.hidden.push(v), L && b.today.push(v), i && Object.keys(i).forEach((G) => {
2070
- const de = i == null ? void 0 : i[G];
2071
- de && ne(l, de, a) && (W[G] ? W[G].push(v) : W[G] = [v]);
2066
+ for (const w of e) {
2067
+ const { date: l, displayMonth: S } = w, E = !!(S && !h(l, S)), B = !!(x && D(l, x)), F = !!(v && k(l, v)), $ = !!(s && ne(l, s, a)), ae = !!(o && ne(l, o, a)) || B || F || // Broadcast calendar will show outside days as default
2068
+ !u && !d && E || u && d === !1 && E, L = f(l, c);
2069
+ E && b.outside.push(w), $ && b.disabled.push(w), ae && b.hidden.push(w), L && b.today.push(w), i && Object.keys(i).forEach((G) => {
2070
+ const ue = i == null ? void 0 : i[G];
2071
+ ue && ne(l, ue, a) && (W[G] ? W[G].push(w) : W[G] = [w]);
2072
2072
  });
2073
2073
  }
2074
- return (v) => {
2074
+ return (w) => {
2075
2075
  const l = {
2076
2076
  [T.focused]: !1,
2077
2077
  [T.disabled]: !1,
@@ -2081,10 +2081,10 @@ function Ia(e, t, n, r, a) {
2081
2081
  }, S = {};
2082
2082
  for (const E in b) {
2083
2083
  const B = b[E];
2084
- l[E] = B.some((F) => F === v);
2084
+ l[E] = B.some((F) => F === w);
2085
2085
  }
2086
2086
  for (const E in W)
2087
- S[E] = W[E].some((B) => B === v);
2087
+ S[E] = W[E].some((B) => B === w);
2088
2088
  return {
2089
2089
  ...l,
2090
2090
  // custom modifiers should override all the previous ones
@@ -2092,16 +2092,16 @@ function Ia(e, t, n, r, a) {
2092
2092
  };
2093
2093
  };
2094
2094
  }
2095
- function Ha(e, t, n = {}) {
2096
- return Object.entries(e).filter(([, a]) => a === !0).reduce((a, [s]) => (n[s] ? a.push(n[s]) : t[T[s]] ? a.push(t[T[s]]) : t[A[s]] && a.push(t[A[s]]), a), [t[m.Day]]);
2095
+ function za(e, t, n = {}) {
2096
+ return Object.entries(e).filter(([, a]) => a === !0).reduce((a, [s]) => (n[s] ? a.push(n[s]) : t[T[s]] ? a.push(t[T[s]]) : t[z[s]] && a.push(t[z[s]]), a), [t[m.Day]]);
2097
2097
  }
2098
2098
  function Aa(e) {
2099
2099
  return {
2100
- ...Ba,
2100
+ ...Ia,
2101
2101
  ...e
2102
2102
  };
2103
2103
  }
2104
- function za(e) {
2104
+ function ja(e) {
2105
2105
  const t = {
2106
2106
  "data-mode": e.mode ?? void 0,
2107
2107
  "data-required": "required" in e ? e.required : void 0,
@@ -2120,136 +2120,136 @@ function qa() {
2120
2120
  e[m[t]] = `rdp-${m[t]}`;
2121
2121
  for (const t in T)
2122
2122
  e[T[t]] = `rdp-${T[t]}`;
2123
- for (const t in A)
2124
- e[A[t]] = `rdp-${A[t]}`;
2125
- for (const t in q)
2126
- e[q[t]] = `rdp-${q[t]}`;
2123
+ for (const t in z)
2124
+ e[z[t]] = `rdp-${z[t]}`;
2125
+ for (const t in j)
2126
+ e[j[t]] = `rdp-${j[t]}`;
2127
2127
  return e;
2128
2128
  }
2129
- function Rt(e, t, n) {
2130
- return (n ?? new j(t)).formatMonthYear(e);
2129
+ function Vt(e, t, n) {
2130
+ return (n ?? new q(t)).formatMonthYear(e);
2131
2131
  }
2132
- const ja = Rt;
2133
- function $a(e, t, n) {
2134
- return (n ?? new j(t)).format(e, "d");
2132
+ const $a = Vt;
2133
+ function Ga(e, t, n) {
2134
+ return (n ?? new q(t)).format(e, "d");
2135
2135
  }
2136
- function Ga(e, t = Z) {
2136
+ function Ra(e, t = Z) {
2137
2137
  return t.format(e, "LLLL");
2138
2138
  }
2139
- function Ra(e, t, n) {
2140
- return (n ?? new j(t)).format(e, "cccccc");
2139
+ function Va(e, t, n) {
2140
+ return (n ?? new q(t)).format(e, "cccccc");
2141
2141
  }
2142
- function Va(e, t = Z) {
2142
+ function Ua(e, t = Z) {
2143
2143
  return e < 10 ? t.formatNumber(`0${e.toLocaleString()}`) : t.formatNumber(`${e.toLocaleString()}`);
2144
2144
  }
2145
- function Ua() {
2145
+ function Qa() {
2146
2146
  return "";
2147
2147
  }
2148
- function Vt(e, t = Z) {
2148
+ function Ut(e, t = Z) {
2149
2149
  return t.format(e, "yyyy");
2150
2150
  }
2151
- const Qa = Vt, Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2151
+ const Xa = Ut, Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2152
2152
  __proto__: null,
2153
- formatCaption: Rt,
2154
- formatDay: $a,
2155
- formatMonthCaption: ja,
2156
- formatMonthDropdown: Ga,
2157
- formatWeekNumber: Va,
2158
- formatWeekNumberHeader: Ua,
2159
- formatWeekdayName: Ra,
2160
- formatYearCaption: Qa,
2161
- formatYearDropdown: Vt
2153
+ formatCaption: Vt,
2154
+ formatDay: Ga,
2155
+ formatMonthCaption: $a,
2156
+ formatMonthDropdown: Ra,
2157
+ formatWeekNumber: Ua,
2158
+ formatWeekNumberHeader: Qa,
2159
+ formatWeekdayName: Va,
2160
+ formatYearCaption: Xa,
2161
+ formatYearDropdown: Ut
2162
2162
  }, Symbol.toStringTag, { value: "Module" }));
2163
- function Ka(e) {
2163
+ function Ja(e) {
2164
2164
  return e != null && e.formatMonthCaption && !e.formatCaption && (e.formatCaption = e.formatMonthCaption), e != null && e.formatYearCaption && !e.formatYearDropdown && (e.formatYearDropdown = e.formatYearCaption), {
2165
- ...Xa,
2165
+ ...Ka,
2166
2166
  ...e
2167
2167
  };
2168
2168
  }
2169
- function rt(e, t, n, r) {
2170
- let a = (r ?? new j(n)).format(e, "PPPP");
2169
+ function at(e, t, n, r) {
2170
+ let a = (r ?? new q(n)).format(e, "PPPP");
2171
2171
  return t.today && (a = `Today, ${a}`), t.selected && (a = `${a}, selected`), a;
2172
2172
  }
2173
- const Ja = rt;
2174
- function at(e, t, n) {
2175
- return (n ?? new j(t)).formatMonthYear(e);
2176
- }
2177
2173
  const Za = at;
2178
- function Ut(e, t, n, r) {
2179
- let a = (r ?? new j(n)).format(e, "PPPP");
2174
+ function st(e, t, n) {
2175
+ return (n ?? new q(t)).formatMonthYear(e);
2176
+ }
2177
+ const La = st;
2178
+ function Qt(e, t, n, r) {
2179
+ let a = (r ?? new q(n)).format(e, "PPPP");
2180
2180
  return t != null && t.today && (a = `Today, ${a}`), a;
2181
2181
  }
2182
- function Qt(e) {
2182
+ function Xt(e) {
2183
2183
  return "Choose the Month";
2184
2184
  }
2185
- function Xt() {
2185
+ function Kt() {
2186
2186
  return "";
2187
2187
  }
2188
- const La = "Go to the Next Month";
2189
- function Kt(e, t) {
2190
- return La;
2188
+ const es = "Go to the Next Month";
2189
+ function Jt(e, t) {
2190
+ return es;
2191
2191
  }
2192
- function Jt(e) {
2192
+ function Zt(e) {
2193
2193
  return "Go to the Previous Month";
2194
2194
  }
2195
- function Zt(e, t, n) {
2196
- return (n ?? new j(t)).format(e, "cccc");
2195
+ function Lt(e, t, n) {
2196
+ return (n ?? new q(t)).format(e, "cccc");
2197
2197
  }
2198
- function Lt(e, t) {
2198
+ function en(e, t) {
2199
2199
  return `Week ${e}`;
2200
2200
  }
2201
- function en(e) {
2201
+ function tn(e) {
2202
2202
  return "Week Number";
2203
2203
  }
2204
- function tn(e) {
2204
+ function nn(e) {
2205
2205
  return "Choose the Year";
2206
2206
  }
2207
- const es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2207
+ const ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2208
2208
  __proto__: null,
2209
- labelCaption: Za,
2210
- labelDay: Ja,
2211
- labelDayButton: rt,
2212
- labelGrid: at,
2213
- labelGridcell: Ut,
2214
- labelMonthDropdown: Qt,
2215
- labelNav: Xt,
2216
- labelNext: Kt,
2217
- labelPrevious: Jt,
2218
- labelWeekNumber: Lt,
2219
- labelWeekNumberHeader: en,
2220
- labelWeekday: Zt,
2221
- labelYearDropdown: tn
2209
+ labelCaption: La,
2210
+ labelDay: Za,
2211
+ labelDayButton: at,
2212
+ labelGrid: st,
2213
+ labelGridcell: Qt,
2214
+ labelMonthDropdown: Xt,
2215
+ labelNav: Kt,
2216
+ labelNext: Jt,
2217
+ labelPrevious: Zt,
2218
+ labelWeekNumber: en,
2219
+ labelWeekNumberHeader: tn,
2220
+ labelWeekday: Lt,
2221
+ labelYearDropdown: nn
2222
2222
  }, Symbol.toStringTag, { value: "Module" })), X = (e, t, n) => t || (n ? typeof n == "function" ? n : (...r) => n : e);
2223
- function ts(e, t) {
2223
+ function ns(e, t) {
2224
2224
  var r;
2225
2225
  const n = ((r = t.locale) == null ? void 0 : r.labels) ?? {};
2226
2226
  return {
2227
- ...es,
2227
+ ...ts,
2228
2228
  ...e ?? {},
2229
- labelDayButton: X(rt, e == null ? void 0 : e.labelDayButton, n.labelDayButton),
2230
- labelMonthDropdown: X(Qt, e == null ? void 0 : e.labelMonthDropdown, n.labelMonthDropdown),
2231
- labelNext: X(Kt, e == null ? void 0 : e.labelNext, n.labelNext),
2232
- labelPrevious: X(Jt, e == null ? void 0 : e.labelPrevious, n.labelPrevious),
2233
- labelWeekNumber: X(Lt, e == null ? void 0 : e.labelWeekNumber, n.labelWeekNumber),
2234
- labelYearDropdown: X(tn, e == null ? void 0 : e.labelYearDropdown, n.labelYearDropdown),
2235
- labelGrid: X(at, e == null ? void 0 : e.labelGrid, n.labelGrid),
2236
- labelGridcell: X(Ut, e == null ? void 0 : e.labelGridcell, n.labelGridcell),
2237
- labelNav: X(Xt, e == null ? void 0 : e.labelNav, n.labelNav),
2238
- labelWeekNumberHeader: X(en, e == null ? void 0 : e.labelWeekNumberHeader, n.labelWeekNumberHeader),
2239
- labelWeekday: X(Zt, e == null ? void 0 : e.labelWeekday, n.labelWeekday)
2229
+ labelDayButton: X(at, e == null ? void 0 : e.labelDayButton, n.labelDayButton),
2230
+ labelMonthDropdown: X(Xt, e == null ? void 0 : e.labelMonthDropdown, n.labelMonthDropdown),
2231
+ labelNext: X(Jt, e == null ? void 0 : e.labelNext, n.labelNext),
2232
+ labelPrevious: X(Zt, e == null ? void 0 : e.labelPrevious, n.labelPrevious),
2233
+ labelWeekNumber: X(en, e == null ? void 0 : e.labelWeekNumber, n.labelWeekNumber),
2234
+ labelYearDropdown: X(nn, e == null ? void 0 : e.labelYearDropdown, n.labelYearDropdown),
2235
+ labelGrid: X(st, e == null ? void 0 : e.labelGrid, n.labelGrid),
2236
+ labelGridcell: X(Qt, e == null ? void 0 : e.labelGridcell, n.labelGridcell),
2237
+ labelNav: X(Kt, e == null ? void 0 : e.labelNav, n.labelNav),
2238
+ labelWeekNumberHeader: X(tn, e == null ? void 0 : e.labelWeekNumberHeader, n.labelWeekNumberHeader),
2239
+ labelWeekday: X(Lt, e == null ? void 0 : e.labelWeekday, n.labelWeekday)
2240
2240
  };
2241
2241
  }
2242
- function ns(e, t, n, r, a) {
2243
- const { startOfMonth: s, startOfYear: o, endOfYear: i, eachMonthOfInterval: d, getMonth: c } = a;
2242
+ function rs(e, t, n, r, a) {
2243
+ const { startOfMonth: s, startOfYear: o, endOfYear: i, eachMonthOfInterval: d, getMonth: u } = a;
2244
2244
  return d({
2245
2245
  start: o(e),
2246
2246
  end: i(e)
2247
2247
  }).map((h) => {
2248
- const g = r.formatMonthDropdown(h, a), D = c(h), p = t && h < s(t) || n && h > s(n) || !1;
2248
+ const g = r.formatMonthDropdown(h, a), D = u(h), p = t && h < s(t) || n && h > s(n) || !1;
2249
2249
  return { value: D, label: g, disabled: p };
2250
2250
  });
2251
2251
  }
2252
- function rs(e, t = {}, n = {}) {
2252
+ function as(e, t = {}, n = {}) {
2253
2253
  let r = { ...t == null ? void 0 : t[m.Day] };
2254
2254
  return Object.entries(e).filter(([, a]) => a === !0).forEach(([a]) => {
2255
2255
  r = {
@@ -2258,7 +2258,7 @@ function rs(e, t = {}, n = {}) {
2258
2258
  };
2259
2259
  }), r;
2260
2260
  }
2261
- function as(e, t, n, r) {
2261
+ function ss(e, t, n, r) {
2262
2262
  const a = r ?? e.today(), s = n ? e.startOfBroadcastWeek(a, e) : t ? e.startOfISOWeek(a) : e.startOfWeek(a), o = [];
2263
2263
  for (let i = 0; i < 7; i++) {
2264
2264
  const d = e.addDays(s, i);
@@ -2266,10 +2266,10 @@ function as(e, t, n, r) {
2266
2266
  }
2267
2267
  return o;
2268
2268
  }
2269
- function ss(e, t, n, r, a = !1) {
2269
+ function os(e, t, n, r, a = !1) {
2270
2270
  if (!e || !t)
2271
2271
  return;
2272
- const { startOfYear: s, endOfYear: o, eachYearOfInterval: i, getYear: d } = r, c = s(e), u = o(t), f = i({ start: c, end: u });
2272
+ const { startOfYear: s, endOfYear: o, eachYearOfInterval: i, getYear: d } = r, u = s(e), c = o(t), f = i({ start: u, end: c });
2273
2273
  return a && f.reverse(), f.map((h) => {
2274
2274
  const g = n.formatYearDropdown(h, r);
2275
2275
  return {
@@ -2279,134 +2279,134 @@ function ss(e, t, n, r, a = !1) {
2279
2279
  };
2280
2280
  });
2281
2281
  }
2282
- function os(e, t = {}) {
2282
+ function is(e, t = {}) {
2283
2283
  var i;
2284
2284
  const { weekStartsOn: n, locale: r } = t, a = n ?? ((i = r == null ? void 0 : r.options) == null ? void 0 : i.weekStartsOn) ?? 0, s = (d) => {
2285
- const c = typeof d == "number" || typeof d == "string" ? new Date(d) : d;
2286
- return new H(c.getFullYear(), c.getMonth(), c.getDate(), 12, 0, 0, e);
2285
+ const u = typeof d == "number" || typeof d == "string" ? new Date(d) : d;
2286
+ return new H(u.getFullYear(), u.getMonth(), u.getDate(), 12, 0, 0, e);
2287
2287
  }, o = (d) => {
2288
- const c = s(d);
2289
- return new Date(c.getFullYear(), c.getMonth(), c.getDate(), 0, 0, 0, 0);
2288
+ const u = s(d);
2289
+ return new Date(u.getFullYear(), u.getMonth(), u.getDate(), 0, 0, 0, 0);
2290
2290
  };
2291
2291
  return {
2292
2292
  today: () => s(H.tz(e)),
2293
- newDate: (d, c, u) => new H(d, c, u, 12, 0, 0, e),
2293
+ newDate: (d, u, c) => new H(d, u, c, 12, 0, 0, e),
2294
2294
  startOfDay: (d) => s(d),
2295
- startOfWeek: (d, c) => {
2296
- const u = s(d), f = (c == null ? void 0 : c.weekStartsOn) ?? a, h = (u.getDay() - f + 7) % 7;
2297
- return u.setDate(u.getDate() - h), u;
2295
+ startOfWeek: (d, u) => {
2296
+ const c = s(d), f = (u == null ? void 0 : u.weekStartsOn) ?? a, h = (c.getDay() - f + 7) % 7;
2297
+ return c.setDate(c.getDate() - h), c;
2298
2298
  },
2299
2299
  startOfISOWeek: (d) => {
2300
- const c = s(d), u = (c.getDay() - 1 + 7) % 7;
2301
- return c.setDate(c.getDate() - u), c;
2300
+ const u = s(d), c = (u.getDay() - 1 + 7) % 7;
2301
+ return u.setDate(u.getDate() - c), u;
2302
2302
  },
2303
2303
  startOfMonth: (d) => {
2304
- const c = s(d);
2305
- return c.setDate(1), c;
2304
+ const u = s(d);
2305
+ return u.setDate(1), u;
2306
2306
  },
2307
2307
  startOfYear: (d) => {
2308
- const c = s(d);
2309
- return c.setMonth(0, 1), c;
2308
+ const u = s(d);
2309
+ return u.setMonth(0, 1), u;
2310
2310
  },
2311
- endOfWeek: (d, c) => {
2312
- const u = s(d), g = ((((c == null ? void 0 : c.weekStartsOn) ?? a) + 6) % 7 - u.getDay() + 7) % 7;
2313
- return u.setDate(u.getDate() + g), u;
2311
+ endOfWeek: (d, u) => {
2312
+ const c = s(d), g = ((((u == null ? void 0 : u.weekStartsOn) ?? a) + 6) % 7 - c.getDay() + 7) % 7;
2313
+ return c.setDate(c.getDate() + g), c;
2314
2314
  },
2315
2315
  endOfISOWeek: (d) => {
2316
- const c = s(d), u = (7 - c.getDay()) % 7;
2317
- return c.setDate(c.getDate() + u), c;
2316
+ const u = s(d), c = (7 - u.getDay()) % 7;
2317
+ return u.setDate(u.getDate() + c), u;
2318
2318
  },
2319
2319
  endOfMonth: (d) => {
2320
- const c = s(d);
2321
- return c.setMonth(c.getMonth() + 1, 0), c;
2320
+ const u = s(d);
2321
+ return u.setMonth(u.getMonth() + 1, 0), u;
2322
2322
  },
2323
2323
  endOfYear: (d) => {
2324
- const c = s(d);
2325
- return c.setMonth(11, 31), c;
2324
+ const u = s(d);
2325
+ return u.setMonth(11, 31), u;
2326
2326
  },
2327
2327
  eachMonthOfInterval: (d) => {
2328
- const c = s(d.start), u = s(d.end), f = [], h = new H(c.getFullYear(), c.getMonth(), 1, 12, 0, 0, e), g = u.getFullYear() * 12 + u.getMonth();
2328
+ const u = s(d.start), c = s(d.end), f = [], h = new H(u.getFullYear(), u.getMonth(), 1, 12, 0, 0, e), g = c.getFullYear() * 12 + c.getMonth();
2329
2329
  for (; h.getFullYear() * 12 + h.getMonth() <= g; )
2330
2330
  f.push(new H(h, e)), h.setMonth(h.getMonth() + 1, 1);
2331
2331
  return f;
2332
2332
  },
2333
2333
  // Normalize to noon once before arithmetic (avoid DST/midnight edge cases),
2334
2334
  // mutate the same TZDate, and return it.
2335
- addDays: (d, c) => {
2336
- const u = s(d);
2337
- return u.setDate(u.getDate() + c), u;
2335
+ addDays: (d, u) => {
2336
+ const c = s(d);
2337
+ return c.setDate(c.getDate() + u), c;
2338
2338
  },
2339
- addWeeks: (d, c) => {
2340
- const u = s(d);
2341
- return u.setDate(u.getDate() + c * 7), u;
2339
+ addWeeks: (d, u) => {
2340
+ const c = s(d);
2341
+ return c.setDate(c.getDate() + u * 7), c;
2342
2342
  },
2343
- addMonths: (d, c) => {
2344
- const u = s(d);
2345
- return u.setMonth(u.getMonth() + c), u;
2343
+ addMonths: (d, u) => {
2344
+ const c = s(d);
2345
+ return c.setMonth(c.getMonth() + u), c;
2346
2346
  },
2347
- addYears: (d, c) => {
2348
- const u = s(d);
2349
- return u.setFullYear(u.getFullYear() + c), u;
2347
+ addYears: (d, u) => {
2348
+ const c = s(d);
2349
+ return c.setFullYear(c.getFullYear() + u), c;
2350
2350
  },
2351
2351
  eachYearOfInterval: (d) => {
2352
- const c = s(d.start), u = s(d.end), f = [], h = new H(c.getFullYear(), 0, 1, 12, 0, 0, e);
2353
- for (; h.getFullYear() <= u.getFullYear(); )
2352
+ const u = s(d.start), c = s(d.end), f = [], h = new H(u.getFullYear(), 0, 1, 12, 0, 0, e);
2353
+ for (; h.getFullYear() <= c.getFullYear(); )
2354
2354
  f.push(new H(h, e)), h.setFullYear(h.getFullYear() + 1, 0, 1);
2355
2355
  return f;
2356
2356
  },
2357
- getWeek: (d, c) => {
2357
+ getWeek: (d, u) => {
2358
2358
  var f;
2359
- const u = o(d);
2360
- return Le(u, {
2361
- weekStartsOn: (c == null ? void 0 : c.weekStartsOn) ?? a,
2362
- firstWeekContainsDate: (c == null ? void 0 : c.firstWeekContainsDate) ?? ((f = r == null ? void 0 : r.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1
2359
+ const c = o(d);
2360
+ return et(c, {
2361
+ weekStartsOn: (u == null ? void 0 : u.weekStartsOn) ?? a,
2362
+ firstWeekContainsDate: (u == null ? void 0 : u.firstWeekContainsDate) ?? ((f = r == null ? void 0 : r.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1
2363
2363
  });
2364
2364
  },
2365
2365
  getISOWeek: (d) => {
2366
- const c = o(d);
2367
- return Ze(c);
2366
+ const u = o(d);
2367
+ return Le(u);
2368
2368
  },
2369
- differenceInCalendarDays: (d, c) => {
2370
- const u = o(d), f = o(c);
2371
- return Je(u, f);
2369
+ differenceInCalendarDays: (d, u) => {
2370
+ const c = o(d), f = o(u);
2371
+ return Ze(c, f);
2372
2372
  },
2373
- differenceInCalendarMonths: (d, c) => {
2374
- const u = o(d), f = o(c);
2375
- return Pt(u, f);
2373
+ differenceInCalendarMonths: (d, u) => {
2374
+ const c = o(d), f = o(u);
2375
+ return Et(c, f);
2376
2376
  }
2377
2377
  };
2378
2378
  }
2379
- const De = (e) => e instanceof HTMLElement ? e : null, je = (e) => [
2379
+ const Oe = (e) => e instanceof HTMLElement ? e : null, qe = (e) => [
2380
2380
  ...e.querySelectorAll("[data-animated-month]") ?? []
2381
- ], is = (e) => De(e.querySelector("[data-animated-month]")), $e = (e) => De(e.querySelector("[data-animated-caption]")), Ge = (e) => De(e.querySelector("[data-animated-weeks]")), ds = (e) => De(e.querySelector("[data-animated-nav]")), cs = (e) => De(e.querySelector("[data-animated-weekdays]"));
2382
- function us(e, t, { classNames: n, months: r, focused: a, dateLib: s }) {
2381
+ ], ds = (e) => Oe(e.querySelector("[data-animated-month]")), $e = (e) => Oe(e.querySelector("[data-animated-caption]")), Ge = (e) => Oe(e.querySelector("[data-animated-weeks]")), us = (e) => Oe(e.querySelector("[data-animated-nav]")), cs = (e) => Oe(e.querySelector("[data-animated-weekdays]"));
2382
+ function fs(e, t, { classNames: n, months: r, focused: a, dateLib: s }) {
2383
2383
  const o = Ne(null), i = Ne(r), d = Ne(!1);
2384
- Pn(() => {
2385
- const c = i.current;
2384
+ En(() => {
2385
+ const u = i.current;
2386
2386
  if (i.current = r, !t || !e.current || // safety check because the ref can be set to anything by consumers
2387
2387
  !(e.current instanceof HTMLElement) || // validation required for the animation to work as expected
2388
- r.length === 0 || c.length === 0 || r.length !== c.length)
2388
+ r.length === 0 || u.length === 0 || r.length !== u.length)
2389
2389
  return;
2390
- const u = s.isSameMonth(r[0].date, c[0].date), f = s.isAfter(r[0].date, c[0].date), h = f ? n[q.caption_after_enter] : n[q.caption_before_enter], g = f ? n[q.weeks_after_enter] : n[q.weeks_before_enter], D = o.current, p = e.current.cloneNode(!0);
2391
- if (p instanceof HTMLElement ? (je(p).forEach((b) => {
2390
+ const c = s.isSameMonth(r[0].date, u[0].date), f = s.isAfter(r[0].date, u[0].date), h = f ? n[j.caption_after_enter] : n[j.caption_before_enter], g = f ? n[j.weeks_after_enter] : n[j.weeks_before_enter], D = o.current, p = e.current.cloneNode(!0);
2391
+ if (p instanceof HTMLElement ? (qe(p).forEach((b) => {
2392
2392
  if (!(b instanceof HTMLElement))
2393
2393
  return;
2394
- const W = is(b);
2394
+ const W = ds(b);
2395
2395
  W && b.contains(W) && b.removeChild(W);
2396
- const v = $e(b);
2397
- v && v.classList.remove(h);
2396
+ const w = $e(b);
2397
+ w && w.classList.remove(h);
2398
2398
  const l = Ge(b);
2399
2399
  l && l.classList.remove(g);
2400
- }), o.current = p) : o.current = null, d.current || u || // skip animation if a day is focused because it can cause issues to the animation and is better for a11y
2400
+ }), o.current = p) : o.current = null, d.current || c || // skip animation if a day is focused because it can cause issues to the animation and is better for a11y
2401
2401
  a)
2402
2402
  return;
2403
- const k = D instanceof HTMLElement ? je(D) : [], N = je(e.current);
2404
- if (N != null && N.every((M) => M instanceof HTMLElement) && k && k.every((M) => M instanceof HTMLElement)) {
2403
+ const k = D instanceof HTMLElement ? qe(D) : [], x = qe(e.current);
2404
+ if (x != null && x.every((v) => v instanceof HTMLElement) && k && k.every((v) => v instanceof HTMLElement)) {
2405
2405
  d.current = !0, e.current.style.isolation = "isolate";
2406
- const M = ds(e.current);
2407
- M && (M.style.zIndex = "1"), N.forEach((b, W) => {
2408
- const v = k[W];
2409
- if (!v)
2406
+ const v = us(e.current);
2407
+ v && (v.style.zIndex = "1"), x.forEach((b, W) => {
2408
+ const w = k[W];
2409
+ if (!w)
2410
2410
  return;
2411
2411
  b.style.position = "relative", b.style.overflow = "hidden";
2412
2412
  const l = $e(b);
@@ -2414,43 +2414,43 @@ function us(e, t, { classNames: n, months: r, focused: a, dateLib: s }) {
2414
2414
  const S = Ge(b);
2415
2415
  S && S.classList.add(g);
2416
2416
  const E = () => {
2417
- d.current = !1, e.current && (e.current.style.isolation = ""), M && (M.style.zIndex = ""), l && l.classList.remove(h), S && S.classList.remove(g), b.style.position = "", b.style.overflow = "", b.contains(v) && b.removeChild(v);
2417
+ d.current = !1, e.current && (e.current.style.isolation = ""), v && (v.style.zIndex = ""), l && l.classList.remove(h), S && S.classList.remove(g), b.style.position = "", b.style.overflow = "", b.contains(w) && b.removeChild(w);
2418
2418
  };
2419
- v.style.pointerEvents = "none", v.style.position = "absolute", v.style.overflow = "hidden", v.setAttribute("aria-hidden", "true");
2420
- const B = cs(v);
2419
+ w.style.pointerEvents = "none", w.style.position = "absolute", w.style.overflow = "hidden", w.setAttribute("aria-hidden", "true");
2420
+ const B = cs(w);
2421
2421
  B && (B.style.opacity = "0");
2422
- const F = $e(v);
2423
- F && (F.classList.add(f ? n[q.caption_before_exit] : n[q.caption_after_exit]), F.addEventListener("animationend", E));
2424
- const $ = Ge(v);
2425
- $ && $.classList.add(f ? n[q.weeks_before_exit] : n[q.weeks_after_exit]), b.insertBefore(v, b.firstChild);
2422
+ const F = $e(w);
2423
+ F && (F.classList.add(f ? n[j.caption_before_exit] : n[j.caption_after_exit]), F.addEventListener("animationend", E));
2424
+ const $ = Ge(w);
2425
+ $ && $.classList.add(f ? n[j.weeks_before_exit] : n[j.weeks_after_exit]), b.insertBefore(w, b.firstChild);
2426
2426
  });
2427
2427
  }
2428
2428
  });
2429
2429
  }
2430
- function fs(e, t, n, r) {
2431
- const a = e[0], s = e[e.length - 1], { ISOWeek: o, fixedWeeks: i, broadcastCalendar: d } = n ?? {}, { addDays: c, differenceInCalendarDays: u, differenceInCalendarMonths: f, endOfBroadcastWeek: h, endOfISOWeek: g, endOfMonth: D, endOfWeek: p, isAfter: k, startOfBroadcastWeek: N, startOfISOWeek: M, startOfWeek: b } = r, W = d ? N(a, r) : o ? M(a) : b(a), v = d ? h(s) : o ? g(D(s)) : p(D(s)), l = t && (d ? h(t) : o ? g(t) : p(t)), S = l && k(v, l) ? l : v, E = u(S, W), B = f(s, a) + 1, F = [];
2430
+ function ls(e, t, n, r) {
2431
+ const a = e[0], s = e[e.length - 1], { ISOWeek: o, fixedWeeks: i, broadcastCalendar: d } = n ?? {}, { addDays: u, differenceInCalendarDays: c, differenceInCalendarMonths: f, endOfBroadcastWeek: h, endOfISOWeek: g, endOfMonth: D, endOfWeek: p, isAfter: k, startOfBroadcastWeek: x, startOfISOWeek: v, startOfWeek: b } = r, W = d ? x(a, r) : o ? v(a) : b(a), w = d ? h(s) : o ? g(D(s)) : p(D(s)), l = t && (d ? h(t) : o ? g(t) : p(t)), S = l && k(w, l) ? l : w, E = c(S, W), B = f(s, a) + 1, F = [];
2432
2432
  for (let L = 0; L <= E; L++) {
2433
- const G = c(W, L);
2433
+ const G = u(W, L);
2434
2434
  F.push(G);
2435
2435
  }
2436
- const re = (d ? 35 : 42) * B;
2437
- if (i && F.length < re) {
2438
- const L = re - F.length;
2436
+ const ae = (d ? 35 : 42) * B;
2437
+ if (i && F.length < ae) {
2438
+ const L = ae - F.length;
2439
2439
  for (let G = 0; G < L; G++) {
2440
- const de = c(F[F.length - 1], 1);
2441
- F.push(de);
2440
+ const ue = u(F[F.length - 1], 1);
2441
+ F.push(ue);
2442
2442
  }
2443
2443
  }
2444
2444
  return F;
2445
2445
  }
2446
- function ls(e) {
2446
+ function hs(e) {
2447
2447
  const t = [];
2448
2448
  return e.reduce((n, r) => {
2449
2449
  const a = r.weeks.reduce((s, o) => s.concat(o.days.slice()), t.slice());
2450
2450
  return n.concat(a.slice());
2451
2451
  }, t.slice());
2452
2452
  }
2453
- function hs(e, t, n, r) {
2453
+ function ms(e, t, n, r) {
2454
2454
  const { numberOfMonths: a = 1 } = n, s = [];
2455
2455
  for (let o = 0; o < a; o++) {
2456
2456
  const i = r.addMonths(e, o);
@@ -2460,92 +2460,92 @@ function hs(e, t, n, r) {
2460
2460
  }
2461
2461
  return s;
2462
2462
  }
2463
- function vt(e, t, n, r) {
2463
+ function kt(e, t, n, r) {
2464
2464
  const { month: a, defaultMonth: s, today: o = r.today(), numberOfMonths: i = 1 } = e;
2465
2465
  let d = a || s || o;
2466
- const { differenceInCalendarMonths: c, addMonths: u, startOfMonth: f } = r;
2467
- if (n && c(n, d) < i - 1) {
2466
+ const { differenceInCalendarMonths: u, addMonths: c, startOfMonth: f } = r;
2467
+ if (n && u(n, d) < i - 1) {
2468
2468
  const h = -1 * (i - 1);
2469
- d = u(n, h);
2469
+ d = c(n, h);
2470
2470
  }
2471
- return t && c(d, t) < 0 && (d = t), f(d);
2471
+ return t && u(d, t) < 0 && (d = t), f(d);
2472
2472
  }
2473
- function ms(e, t, n, r) {
2474
- const { addDays: a, endOfBroadcastWeek: s, endOfISOWeek: o, endOfMonth: i, endOfWeek: d, getISOWeek: c, getWeek: u, startOfBroadcastWeek: f, startOfISOWeek: h, startOfWeek: g } = r, D = e.reduce((p, k) => {
2475
- const N = n.broadcastCalendar ? f(k, r) : n.ISOWeek ? h(k) : g(k), M = n.broadcastCalendar ? s(k) : n.ISOWeek ? o(i(k)) : d(i(k)), b = t.filter((S) => S >= N && S <= M), W = n.broadcastCalendar ? 35 : 42;
2473
+ function ys(e, t, n, r) {
2474
+ const { addDays: a, endOfBroadcastWeek: s, endOfISOWeek: o, endOfMonth: i, endOfWeek: d, getISOWeek: u, getWeek: c, startOfBroadcastWeek: f, startOfISOWeek: h, startOfWeek: g } = r, D = e.reduce((p, k) => {
2475
+ const x = n.broadcastCalendar ? f(k, r) : n.ISOWeek ? h(k) : g(k), v = n.broadcastCalendar ? s(k) : n.ISOWeek ? o(i(k)) : d(i(k)), b = t.filter((S) => S >= x && S <= v), W = n.broadcastCalendar ? 35 : 42;
2476
2476
  if (n.fixedWeeks && b.length < W) {
2477
2477
  const S = t.filter((E) => {
2478
2478
  const B = W - b.length;
2479
- return E > M && E <= a(M, B);
2479
+ return E > v && E <= a(v, B);
2480
2480
  });
2481
2481
  b.push(...S);
2482
2482
  }
2483
- const v = b.reduce((S, E) => {
2484
- const B = n.ISOWeek ? c(E) : u(E), F = S.find((re) => re.weekNumber === B), $ = new qt(E, k, r);
2483
+ const w = b.reduce((S, E) => {
2484
+ const B = n.ISOWeek ? u(E) : c(E), F = S.find((ae) => ae.weekNumber === B), $ = new qt(E, k, r);
2485
2485
  return F ? F.days.push($) : S.push(new ca(B, [$])), S;
2486
- }, []), l = new da(k, v);
2486
+ }, []), l = new ua(k, w);
2487
2487
  return p.push(l), p;
2488
2488
  }, []);
2489
2489
  return n.reverseMonths ? D.reverse() : D;
2490
2490
  }
2491
- function ys(e, t) {
2491
+ function gs(e, t) {
2492
2492
  let { startMonth: n, endMonth: r } = e;
2493
- const { startOfYear: a, startOfDay: s, startOfMonth: o, endOfMonth: i, addYears: d, endOfYear: c, newDate: u, today: f } = t, { fromYear: h, toYear: g, fromMonth: D, toMonth: p } = e;
2494
- !n && D && (n = D), !n && h && (n = t.newDate(h, 0, 1)), !r && p && (r = p), !r && g && (r = u(g, 11, 31));
2493
+ const { startOfYear: a, startOfDay: s, startOfMonth: o, endOfMonth: i, addYears: d, endOfYear: u, newDate: c, today: f } = t, { fromYear: h, toYear: g, fromMonth: D, toMonth: p } = e;
2494
+ !n && D && (n = D), !n && h && (n = t.newDate(h, 0, 1)), !r && p && (r = p), !r && g && (r = c(g, 11, 31));
2495
2495
  const k = e.captionLayout === "dropdown" || e.captionLayout === "dropdown-years";
2496
- return n ? n = o(n) : h ? n = u(h, 0, 1) : !n && k && (n = a(d(e.today ?? f(), -100))), r ? r = i(r) : g ? r = u(g, 11, 31) : !r && k && (r = c(e.today ?? f())), [
2496
+ return n ? n = o(n) : h ? n = c(h, 0, 1) : !n && k && (n = a(d(e.today ?? f(), -100))), r ? r = i(r) : g ? r = c(g, 11, 31) : !r && k && (r = u(e.today ?? f())), [
2497
2497
  n && s(n),
2498
2498
  r && s(r)
2499
2499
  ];
2500
2500
  }
2501
- function gs(e, t, n, r) {
2501
+ function bs(e, t, n, r) {
2502
2502
  if (n.disableNavigation)
2503
2503
  return;
2504
- const { pagedNavigation: a, numberOfMonths: s = 1 } = n, { startOfMonth: o, addMonths: i, differenceInCalendarMonths: d } = r, c = a ? s : 1, u = o(e);
2504
+ const { pagedNavigation: a, numberOfMonths: s = 1 } = n, { startOfMonth: o, addMonths: i, differenceInCalendarMonths: d } = r, u = a ? s : 1, c = o(e);
2505
2505
  if (!t)
2506
- return i(u, c);
2506
+ return i(c, u);
2507
2507
  if (!(d(t, e) < s))
2508
- return i(u, c);
2508
+ return i(c, u);
2509
2509
  }
2510
- function bs(e, t, n, r) {
2510
+ function vs(e, t, n, r) {
2511
2511
  if (n.disableNavigation)
2512
2512
  return;
2513
- const { pagedNavigation: a, numberOfMonths: s } = n, { startOfMonth: o, addMonths: i, differenceInCalendarMonths: d } = r, c = a ? s ?? 1 : 1, u = o(e);
2513
+ const { pagedNavigation: a, numberOfMonths: s } = n, { startOfMonth: o, addMonths: i, differenceInCalendarMonths: d } = r, u = a ? s ?? 1 : 1, c = o(e);
2514
2514
  if (!t)
2515
- return i(u, -c);
2516
- if (!(d(u, t) <= 0))
2517
- return i(u, -c);
2515
+ return i(c, -u);
2516
+ if (!(d(c, t) <= 0))
2517
+ return i(c, -u);
2518
2518
  }
2519
2519
  function Ms(e) {
2520
2520
  const t = [];
2521
2521
  return e.reduce((n, r) => n.concat(r.weeks.slice()), t.slice());
2522
2522
  }
2523
2523
  function Te(e, t) {
2524
- const [n, r] = xe(e);
2524
+ const [n, r] = _e(e);
2525
2525
  return [t === void 0 ? n : t, r];
2526
2526
  }
2527
2527
  function ws(e, t) {
2528
2528
  var W;
2529
- const [n, r] = ys(e, t), { startOfMonth: a, endOfMonth: s } = t, o = vt(e, n, r, t), [i, d] = Te(
2529
+ const [n, r] = gs(e, t), { startOfMonth: a, endOfMonth: s } = t, o = kt(e, n, r, t), [i, d] = Te(
2530
2530
  o,
2531
2531
  // initialMonth is always computed from props.month if provided
2532
2532
  e.month ? o : void 0
2533
2533
  );
2534
- St(() => {
2535
- const v = vt(e, n, r, t);
2536
- d(v);
2534
+ xt(() => {
2535
+ const w = kt(e, n, r, t);
2536
+ d(w);
2537
2537
  }, [e.timeZone]);
2538
- const { months: c, weeks: u, days: f, previousMonth: h, nextMonth: g } = Ce(() => {
2539
- const v = hs(i, r, { numberOfMonths: e.numberOfMonths }, t), l = fs(v, e.endMonth ? s(e.endMonth) : void 0, {
2538
+ const { months: u, weeks: c, days: f, previousMonth: h, nextMonth: g } = Ce(() => {
2539
+ const w = ms(i, r, { numberOfMonths: e.numberOfMonths }, t), l = ls(w, e.endMonth ? s(e.endMonth) : void 0, {
2540
2540
  ISOWeek: e.ISOWeek,
2541
2541
  fixedWeeks: e.fixedWeeks,
2542
2542
  broadcastCalendar: e.broadcastCalendar
2543
- }, t), S = ms(v, l, {
2543
+ }, t), S = ys(w, l, {
2544
2544
  broadcastCalendar: e.broadcastCalendar,
2545
2545
  fixedWeeks: e.fixedWeeks,
2546
2546
  ISOWeek: e.ISOWeek,
2547
2547
  reverseMonths: e.reverseMonths
2548
- }, t), E = Ms(S), B = ls(S), F = bs(i, n, e, t), $ = gs(i, r, e, t);
2548
+ }, t), E = Ms(S), B = hs(S), F = vs(i, n, e, t), $ = bs(i, r, e, t);
2549
2549
  return {
2550
2550
  months: S,
2551
2551
  weeks: E,
@@ -2566,23 +2566,23 @@ function ws(e, t) {
2566
2566
  e.numberOfMonths,
2567
2567
  e.pagedNavigation,
2568
2568
  e.reverseMonths
2569
- ]), { disableNavigation: D, onMonthChange: p } = e, k = (v) => u.some((l) => l.days.some((S) => S.isEqualTo(v))), N = (v) => {
2569
+ ]), { disableNavigation: D, onMonthChange: p } = e, k = (w) => c.some((l) => l.days.some((S) => S.isEqualTo(w))), x = (w) => {
2570
2570
  if (D)
2571
2571
  return;
2572
- let l = a(v);
2572
+ let l = a(w);
2573
2573
  n && l < a(n) && (l = a(n)), r && l > a(r) && (l = a(r)), d(l), p == null || p(l);
2574
2574
  };
2575
2575
  return {
2576
- months: c,
2577
- weeks: u,
2576
+ months: u,
2577
+ weeks: c,
2578
2578
  days: f,
2579
2579
  navStart: n,
2580
2580
  navEnd: r,
2581
2581
  previousMonth: h,
2582
2582
  nextMonth: g,
2583
- goToMonth: N,
2584
- goToDay: (v) => {
2585
- k(v) || N(v.date);
2583
+ goToMonth: x,
2584
+ goToDay: (w) => {
2585
+ k(w) || x(w.date);
2586
2586
  }
2587
2587
  };
2588
2588
  }
@@ -2590,76 +2590,76 @@ var K;
2590
2590
  (function(e) {
2591
2591
  e[e.Today = 0] = "Today", e[e.Selected = 1] = "Selected", e[e.LastFocused = 2] = "LastFocused", e[e.FocusedModifier = 3] = "FocusedModifier";
2592
2592
  })(K || (K = {}));
2593
- function kt(e) {
2593
+ function Dt(e) {
2594
2594
  return !e[T.disabled] && !e[T.hidden] && !e[T.outside];
2595
2595
  }
2596
- function vs(e, t, n, r) {
2596
+ function ks(e, t, n, r) {
2597
2597
  let a, s = -1;
2598
2598
  for (const o of e) {
2599
2599
  const i = t(o);
2600
- kt(i) && (i[T.focused] && s < K.FocusedModifier ? (a = o, s = K.FocusedModifier) : r != null && r.isEqualTo(o) && s < K.LastFocused ? (a = o, s = K.LastFocused) : n(o.date) && s < K.Selected ? (a = o, s = K.Selected) : i[T.today] && s < K.Today && (a = o, s = K.Today));
2600
+ Dt(i) && (i[T.focused] && s < K.FocusedModifier ? (a = o, s = K.FocusedModifier) : r != null && r.isEqualTo(o) && s < K.LastFocused ? (a = o, s = K.LastFocused) : n(o.date) && s < K.Selected ? (a = o, s = K.Selected) : i[T.today] && s < K.Today && (a = o, s = K.Today));
2601
2601
  }
2602
- return a || (a = e.find((o) => kt(t(o)))), a;
2602
+ return a || (a = e.find((o) => Dt(t(o)))), a;
2603
2603
  }
2604
- function ks(e, t, n, r, a, s, o) {
2605
- const { ISOWeek: i, broadcastCalendar: d } = s, { addDays: c, addMonths: u, addWeeks: f, addYears: h, endOfBroadcastWeek: g, endOfISOWeek: D, endOfWeek: p, max: k, min: N, startOfBroadcastWeek: M, startOfISOWeek: b, startOfWeek: W } = o;
2604
+ function Ds(e, t, n, r, a, s, o) {
2605
+ const { ISOWeek: i, broadcastCalendar: d } = s, { addDays: u, addMonths: c, addWeeks: f, addYears: h, endOfBroadcastWeek: g, endOfISOWeek: D, endOfWeek: p, max: k, min: x, startOfBroadcastWeek: v, startOfISOWeek: b, startOfWeek: W } = o;
2606
2606
  let l = {
2607
- day: c,
2607
+ day: u,
2608
2608
  week: f,
2609
- month: u,
2609
+ month: c,
2610
2610
  year: h,
2611
- startOfWeek: (S) => d ? M(S, o) : i ? b(S) : W(S),
2611
+ startOfWeek: (S) => d ? v(S, o) : i ? b(S) : W(S),
2612
2612
  endOfWeek: (S) => d ? g(S) : i ? D(S) : p(S)
2613
2613
  }[e](n, t === "after" ? 1 : -1);
2614
- return t === "before" && r ? l = k([r, l]) : t === "after" && a && (l = N([a, l])), l;
2614
+ return t === "before" && r ? l = k([r, l]) : t === "after" && a && (l = x([a, l])), l;
2615
2615
  }
2616
- function nn(e, t, n, r, a, s, o, i = 0) {
2616
+ function rn(e, t, n, r, a, s, o, i = 0) {
2617
2617
  if (i > 365)
2618
2618
  return;
2619
- const d = ks(e, t, n.date, r, a, s, o), c = !!(s.disabled && ne(d, s.disabled, o)), u = !!(s.hidden && ne(d, s.hidden, o)), f = d, h = new qt(d, f, o);
2620
- return !c && !u ? h : nn(e, t, h, r, a, s, o, i + 1);
2619
+ const d = Ds(e, t, n.date, r, a, s, o), u = !!(s.disabled && ne(d, s.disabled, o)), c = !!(s.hidden && ne(d, s.hidden, o)), f = d, h = new qt(d, f, o);
2620
+ return !u && !c ? h : rn(e, t, h, r, a, s, o, i + 1);
2621
2621
  }
2622
- function Ds(e, t, n, r, a) {
2623
- const { autoFocus: s } = e, [o, i] = xe(), d = vs(t.days, n, r || (() => !1), o), [c, u] = xe(s ? d : void 0);
2622
+ function Os(e, t, n, r, a) {
2623
+ const { autoFocus: s } = e, [o, i] = _e(), d = ks(t.days, n, r || (() => !1), o), [u, c] = _e(s ? d : void 0);
2624
2624
  return {
2625
2625
  isFocusTarget: (p) => !!(d != null && d.isEqualTo(p)),
2626
- setFocused: u,
2627
- focused: c,
2626
+ setFocused: c,
2627
+ focused: u,
2628
2628
  blur: () => {
2629
- i(c), u(void 0);
2629
+ i(u), c(void 0);
2630
2630
  },
2631
2631
  moveFocus: (p, k) => {
2632
- if (!c)
2632
+ if (!u)
2633
2633
  return;
2634
- const N = nn(p, k, c, t.navStart, t.navEnd, e, a);
2635
- N && (e.disableNavigation && !t.days.some((b) => b.isEqualTo(N)) || (t.goToDay(N), u(N)));
2634
+ const x = rn(p, k, u, t.navStart, t.navEnd, e, a);
2635
+ x && (e.disableNavigation && !t.days.some((b) => b.isEqualTo(x)) || (t.goToDay(x), c(x)));
2636
2636
  }
2637
2637
  };
2638
2638
  }
2639
- function Os(e, t) {
2640
- const { selected: n, required: r, onSelect: a } = e, [s, o] = Te(n, a ? n : void 0), i = a ? n : s, { isSameDay: d } = t, c = (g) => (i == null ? void 0 : i.some((D) => d(D, g))) ?? !1, { min: u, max: f } = e;
2639
+ function ps(e, t) {
2640
+ const { selected: n, required: r, onSelect: a } = e, [s, o] = Te(n, a ? n : void 0), i = a ? n : s, { isSameDay: d } = t, u = (g) => (i == null ? void 0 : i.some((D) => d(D, g))) ?? !1, { min: c, max: f } = e;
2641
2641
  return {
2642
2642
  selected: i,
2643
2643
  select: (g, D, p) => {
2644
2644
  let k = [...i ?? []];
2645
- if (c(g)) {
2646
- if ((i == null ? void 0 : i.length) === u || r && (i == null ? void 0 : i.length) === 1)
2645
+ if (u(g)) {
2646
+ if ((i == null ? void 0 : i.length) === c || r && (i == null ? void 0 : i.length) === 1)
2647
2647
  return;
2648
- k = i == null ? void 0 : i.filter((N) => !d(N, g));
2648
+ k = i == null ? void 0 : i.filter((x) => !d(x, g));
2649
2649
  } else
2650
2650
  (i == null ? void 0 : i.length) === f ? k = [g] : k = [...k, g];
2651
2651
  return a || o(k), a == null || a(k, g, D, p), k;
2652
2652
  },
2653
- isSelected: c
2653
+ isSelected: u
2654
2654
  };
2655
2655
  }
2656
- function ps(e, t, n = 0, r = 0, a = !1, s = Z) {
2657
- const { from: o, to: i } = t || {}, { isSameDay: d, isAfter: c, isBefore: u } = s;
2656
+ function Ws(e, t, n = 0, r = 0, a = !1, s = Z) {
2657
+ const { from: o, to: i } = t || {}, { isSameDay: d, isAfter: u, isBefore: c } = s;
2658
2658
  let f;
2659
2659
  if (!o && !i)
2660
2660
  f = { from: e, to: n > 0 ? void 0 : e };
2661
2661
  else if (o && !i)
2662
- d(o, e) ? n === 0 ? f = { from: o, to: e } : a ? f = { from: o, to: void 0 } : f = void 0 : u(e, o) ? f = { from: e, to: o } : f = { from: o, to: e };
2662
+ d(o, e) ? n === 0 ? f = { from: o, to: e } : a ? f = { from: o, to: void 0 } : f = void 0 : c(e, o) ? f = { from: e, to: o } : f = { from: o, to: e };
2663
2663
  else if (o && i)
2664
2664
  if (d(o, e) && d(i, e))
2665
2665
  a ? f = { from: o, to: i } : f = void 0;
@@ -2667,11 +2667,11 @@ function ps(e, t, n = 0, r = 0, a = !1, s = Z) {
2667
2667
  f = { from: o, to: n > 0 ? void 0 : e };
2668
2668
  else if (d(i, e))
2669
2669
  f = { from: e, to: n > 0 ? void 0 : e };
2670
- else if (u(e, o))
2671
- f = { from: e, to: i };
2672
2670
  else if (c(e, o))
2671
+ f = { from: e, to: i };
2672
+ else if (u(e, o))
2673
2673
  f = { from: o, to: e };
2674
- else if (c(e, i))
2674
+ else if (u(e, i))
2675
2675
  f = { from: o, to: e };
2676
2676
  else
2677
2677
  throw new Error("Invalid range");
@@ -2681,7 +2681,7 @@ function ps(e, t, n = 0, r = 0, a = !1, s = Z) {
2681
2681
  }
2682
2682
  return f;
2683
2683
  }
2684
- function Ws(e, t, n = Z) {
2684
+ function Ss(e, t, n = Z) {
2685
2685
  const r = Array.isArray(t) ? t : [t];
2686
2686
  let a = e.from;
2687
2687
  const s = n.differenceInCalendarDays(e.to, e.from), o = Math.min(s, 6);
@@ -2692,22 +2692,22 @@ function Ws(e, t, n = Z) {
2692
2692
  }
2693
2693
  return !1;
2694
2694
  }
2695
- function Dt(e, t, n = Z) {
2695
+ function Ot(e, t, n = Z) {
2696
2696
  return te(e, t.from, !1, n) || te(e, t.to, !1, n) || te(t, e.from, !1, n) || te(t, e.to, !1, n);
2697
2697
  }
2698
- function Ss(e, t, n = Z) {
2698
+ function xs(e, t, n = Z) {
2699
2699
  const r = Array.isArray(t) ? t : [t];
2700
- if (r.filter((i) => typeof i != "function").some((i) => typeof i == "boolean" ? i : n.isDate(i) ? te(e, i, !1, n) : Gt(i, n) ? i.some((d) => te(e, d, !1, n)) : _e(i) ? i.from && i.to ? Dt(e, { from: i.from, to: i.to }, n) : !1 : $t(i) ? Ws(e, i.dayOfWeek, n) : et(i) ? n.isAfter(i.before, i.after) ? Dt(e, {
2700
+ if (r.filter((i) => typeof i != "function").some((i) => typeof i == "boolean" ? i : n.isDate(i) ? te(e, i, !1, n) : Rt(i, n) ? i.some((d) => te(e, d, !1, n)) : Ye(i) ? i.from && i.to ? Ot(e, { from: i.from, to: i.to }, n) : !1 : Gt(i) ? Ss(e, i.dayOfWeek, n) : tt(i) ? n.isAfter(i.before, i.after) ? Ot(e, {
2701
2701
  from: n.addDays(i.after, 1),
2702
2702
  to: n.addDays(i.before, -1)
2703
- }, n) : ne(e.from, i, n) || ne(e.to, i, n) : tt(i) || nt(i) ? ne(e.from, i, n) || ne(e.to, i, n) : !1))
2703
+ }, n) : ne(e.from, i, n) || ne(e.to, i, n) : nt(i) || rt(i) ? ne(e.from, i, n) || ne(e.to, i, n) : !1))
2704
2704
  return !0;
2705
2705
  const o = r.filter((i) => typeof i == "function");
2706
2706
  if (o.length) {
2707
2707
  let i = e.from;
2708
2708
  const d = n.differenceInCalendarDays(e.to, e.from);
2709
- for (let c = 0; c <= d; c++) {
2710
- if (o.some((u) => u(i)))
2709
+ for (let u = 0; u <= d; u++) {
2710
+ if (o.some((c) => c(i)))
2711
2711
  return !0;
2712
2712
  i = n.addDays(i, 1);
2713
2713
  }
@@ -2715,19 +2715,19 @@ function Ss(e, t, n = Z) {
2715
2715
  return !1;
2716
2716
  }
2717
2717
  function Ns(e, t) {
2718
- const { disabled: n, excludeDisabled: r, resetOnSelect: a, selected: s, required: o, onSelect: i } = e, [d, c] = Te(s, i ? s : void 0), u = i ? s : d;
2718
+ const { disabled: n, excludeDisabled: r, resetOnSelect: a, selected: s, required: o, onSelect: i } = e, [d, u] = Te(s, i ? s : void 0), c = i ? s : d;
2719
2719
  return {
2720
- selected: u,
2720
+ selected: c,
2721
2721
  select: (g, D, p) => {
2722
- const { min: k, max: N } = e;
2723
- let M;
2722
+ const { min: k, max: x } = e;
2723
+ let v;
2724
2724
  if (g) {
2725
- const b = u == null ? void 0 : u.from, W = u == null ? void 0 : u.to, v = !!b && !!W, l = !!b && !!W && t.isSameDay(b, W) && t.isSameDay(g, b);
2726
- a && (v || !(u != null && u.from)) ? !o && l ? M = void 0 : M = { from: g, to: void 0 } : M = ps(g, u, k, N, o, t);
2725
+ const b = c == null ? void 0 : c.from, W = c == null ? void 0 : c.to, w = !!b && !!W, l = !!b && !!W && t.isSameDay(b, W) && t.isSameDay(g, b);
2726
+ a && (w || !(c != null && c.from)) ? !o && l ? v = void 0 : v = { from: g, to: void 0 } : v = Ws(g, c, k, x, o, t);
2727
2727
  }
2728
- return r && n && (M != null && M.from) && M.to && Ss({ from: M.from, to: M.to }, n, t) && (M.from = g, M.to = void 0), i || c(M), i == null || i(M, g, D, p), M;
2728
+ return r && n && (v != null && v.from) && v.to && xs({ from: v.from, to: v.to }, n, t) && (v.from = g, v.to = void 0), i || u(v), i == null || i(v, g, D, p), v;
2729
2729
  },
2730
- isSelected: (g) => u && te(u, g, !1, t)
2730
+ isSelected: (g) => c && te(c, g, !1, t)
2731
2731
  };
2732
2732
  }
2733
2733
  function Cs(e, t) {
@@ -2741,8 +2741,8 @@ function Cs(e, t) {
2741
2741
  isSelected: (f) => i ? d(i, f) : !1
2742
2742
  };
2743
2743
  }
2744
- function xs(e, t) {
2745
- const n = Cs(e, t), r = Os(e, t), a = Ns(e, t);
2744
+ function _s(e, t) {
2745
+ const n = Cs(e, t), r = ps(e, t), a = Ns(e, t);
2746
2746
  switch (e.mode) {
2747
2747
  case "single":
2748
2748
  return n;
@@ -2757,61 +2757,61 @@ function xs(e, t) {
2757
2757
  function V(e, t) {
2758
2758
  return e instanceof H && e.timeZone === t ? e : new H(e, t);
2759
2759
  }
2760
- function ue(e, t, n) {
2760
+ function fe(e, t, n) {
2761
2761
  return V(e, t);
2762
2762
  }
2763
- function Ot(e, t, n) {
2764
- return typeof e == "boolean" || typeof e == "function" ? e : e instanceof Date ? ue(e, t) : Array.isArray(e) ? e.map((r) => r instanceof Date ? ue(r, t) : r) : _e(e) ? {
2763
+ function pt(e, t, n) {
2764
+ return typeof e == "boolean" || typeof e == "function" ? e : e instanceof Date ? fe(e, t) : Array.isArray(e) ? e.map((r) => r instanceof Date ? fe(r, t) : r) : Ye(e) ? {
2765
2765
  ...e,
2766
2766
  from: e.from ? V(e.from, t) : e.from,
2767
2767
  to: e.to ? V(e.to, t) : e.to
2768
- } : et(e) ? {
2769
- before: ue(e.before, t),
2770
- after: ue(e.after, t)
2771
2768
  } : tt(e) ? {
2772
- after: ue(e.after, t)
2769
+ before: fe(e.before, t),
2770
+ after: fe(e.after, t)
2773
2771
  } : nt(e) ? {
2774
- before: ue(e.before, t)
2772
+ after: fe(e.after, t)
2773
+ } : rt(e) ? {
2774
+ before: fe(e.before, t)
2775
2775
  } : e;
2776
2776
  }
2777
2777
  function Re(e, t, n) {
2778
- return e && (Array.isArray(e) ? e.map((r) => Ot(r, t)) : Ot(e, t));
2778
+ return e && (Array.isArray(e) ? e.map((r) => pt(r, t)) : pt(e, t));
2779
2779
  }
2780
- function As(e) {
2781
- var ut;
2780
+ function js(e) {
2781
+ var ft;
2782
2782
  let t = e;
2783
2783
  const n = t.timeZone;
2784
2784
  if (n && (t = {
2785
2785
  ...e,
2786
2786
  timeZone: n
2787
- }, t.today && (t.today = V(t.today, n)), t.month && (t.month = V(t.month, n)), t.defaultMonth && (t.defaultMonth = V(t.defaultMonth, n)), t.startMonth && (t.startMonth = V(t.startMonth, n)), t.endMonth && (t.endMonth = V(t.endMonth, n)), t.mode === "single" && t.selected ? t.selected = V(t.selected, n) : t.mode === "multiple" && t.selected ? t.selected = (ut = t.selected) == null ? void 0 : ut.map((O) => V(O, n)) : t.mode === "range" && t.selected && (t.selected = {
2787
+ }, t.today && (t.today = V(t.today, n)), t.month && (t.month = V(t.month, n)), t.defaultMonth && (t.defaultMonth = V(t.defaultMonth, n)), t.startMonth && (t.startMonth = V(t.startMonth, n)), t.endMonth && (t.endMonth = V(t.endMonth, n)), t.mode === "single" && t.selected ? t.selected = V(t.selected, n) : t.mode === "multiple" && t.selected ? t.selected = (ft = t.selected) == null ? void 0 : ft.map((O) => V(O, n)) : t.mode === "range" && t.selected && (t.selected = {
2788
2788
  from: t.selected.from ? V(t.selected.from, n) : t.selected.from,
2789
2789
  to: t.selected.to ? V(t.selected.to, n) : t.selected.to
2790
2790
  }), t.disabled !== void 0 && (t.disabled = Re(t.disabled, n)), t.hidden !== void 0 && (t.hidden = Re(t.hidden, n)), t.modifiers)) {
2791
2791
  const O = {};
2792
- Object.keys(t.modifiers).forEach((Y) => {
2793
- var w;
2794
- O[Y] = Re((w = t.modifiers) == null ? void 0 : w[Y], n);
2792
+ Object.keys(t.modifiers).forEach((_) => {
2793
+ var M;
2794
+ O[_] = Re((M = t.modifiers) == null ? void 0 : M[_], n);
2795
2795
  }), t.modifiers = O;
2796
2796
  }
2797
2797
  const { components: r, formatters: a, labels: s, dateLib: o, locale: i, classNames: d } = Ce(() => {
2798
- const O = { ...zt, ...t.locale }, Y = t.broadcastCalendar ? 1 : t.weekStartsOn, w = t.noonSafe && t.timeZone ? os(t.timeZone, {
2799
- weekStartsOn: Y,
2798
+ const O = { ...jt, ...t.locale }, _ = t.broadcastCalendar ? 1 : t.weekStartsOn, M = t.noonSafe && t.timeZone ? is(t.timeZone, {
2799
+ weekStartsOn: _,
2800
2800
  locale: O
2801
- }) : void 0, x = t.dateLib && w ? { ...w, ...t.dateLib } : t.dateLib ?? w, z = new j({
2801
+ }) : void 0, C = t.dateLib && M ? { ...M, ...t.dateLib } : t.dateLib ?? M, A = new q({
2802
2802
  locale: O,
2803
- weekStartsOn: Y,
2803
+ weekStartsOn: _,
2804
2804
  firstWeekContainsDate: t.firstWeekContainsDate,
2805
2805
  useAdditionalWeekYearTokens: t.useAdditionalWeekYearTokens,
2806
2806
  useAdditionalDayOfYearTokens: t.useAdditionalDayOfYearTokens,
2807
2807
  timeZone: t.timeZone,
2808
2808
  numerals: t.numerals
2809
- }, x);
2809
+ }, C);
2810
2810
  return {
2811
- dateLib: z,
2811
+ dateLib: A,
2812
2812
  components: Aa(t.components),
2813
- formatters: Ka(t.formatters),
2814
- labels: ts(t.labels, z.options),
2813
+ formatters: Ja(t.formatters),
2814
+ labels: ns(t.labels, A.options),
2815
2815
  locale: O,
2816
2816
  classNames: { ...qa(), ...t.classNames }
2817
2817
  };
@@ -2832,65 +2832,65 @@ function As(e) {
2832
2832
  t.classNames
2833
2833
  ]);
2834
2834
  t.today || (t = { ...t, today: o.today() });
2835
- const { captionLayout: c, mode: u, navLayout: f, numberOfMonths: h = 1, onDayBlur: g, onDayClick: D, onDayFocus: p, onDayKeyDown: k, onDayMouseEnter: N, onDayMouseLeave: M, onNextClick: b, onPrevClick: W, showWeekNumber: v, styles: l } = t, { formatCaption: S, formatDay: E, formatMonthDropdown: B, formatWeekNumber: F, formatWeekNumberHeader: $, formatWeekdayName: re, formatYearDropdown: L } = a, G = ws(t, o), { days: de, months: Oe, navStart: Pe, navEnd: Ee, previousMonth: U, nextMonth: Q, goToMonth: ee } = G, Fe = Ia(de, t, Pe, Ee, o), { isSelected: le, select: he, selected: pe } = xs(t, o) ?? {}, { blur: st, focused: We, isFocusTarget: rn, moveFocus: ot, setFocused: Se } = Ds(t, G, Fe, le ?? (() => !1), o), { labelDayButton: an, labelGridcell: sn, labelGrid: on, labelMonthDropdown: dn, labelNav: it, labelPrevious: cn, labelNext: un, labelWeekday: fn, labelWeekNumber: ln, labelWeekNumberHeader: hn, labelYearDropdown: mn } = s, yn = Ce(() => as(o, t.ISOWeek, t.broadcastCalendar, t.today), [o, t.ISOWeek, t.broadcastCalendar, t.today]), dt = u !== void 0 || D !== void 0, Be = R(() => {
2835
+ const { captionLayout: u, mode: c, navLayout: f, numberOfMonths: h = 1, onDayBlur: g, onDayClick: D, onDayFocus: p, onDayKeyDown: k, onDayMouseEnter: x, onDayMouseLeave: v, onNextClick: b, onPrevClick: W, showWeekNumber: w, styles: l } = t, { formatCaption: S, formatDay: E, formatMonthDropdown: B, formatWeekNumber: F, formatWeekNumberHeader: $, formatWeekdayName: ae, formatYearDropdown: L } = a, G = ws(t, o), { days: ue, months: pe, navStart: Pe, navEnd: Ee, previousMonth: U, nextMonth: Q, goToMonth: ee } = G, Fe = Ha(ue, t, Pe, Ee, o), { isSelected: he, select: me, selected: We } = _s(t, o) ?? {}, { blur: ot, focused: Se, isFocusTarget: an, moveFocus: it, setFocused: xe } = Os(t, G, Fe, he ?? (() => !1), o), { labelDayButton: sn, labelGridcell: on, labelGrid: dn, labelMonthDropdown: un, labelNav: dt, labelPrevious: cn, labelNext: fn, labelWeekday: ln, labelWeekNumber: hn, labelWeekNumberHeader: mn, labelYearDropdown: yn } = s, gn = Ce(() => ss(o, t.ISOWeek, t.broadcastCalendar, t.today), [o, t.ISOWeek, t.broadcastCalendar, t.today]), ut = c !== void 0 || D !== void 0, Be = R(() => {
2836
2836
  U && (ee(U), W == null || W(U));
2837
2837
  }, [U, ee, W]), Ie = R(() => {
2838
2838
  Q && (ee(Q), b == null || b(Q));
2839
- }, [ee, Q, b]), gn = R((O, Y) => (w) => {
2840
- w.preventDefault(), w.stopPropagation(), Se(O), !Y.disabled && (he == null || he(O.date, Y, w), D == null || D(O.date, Y, w));
2841
- }, [he, D, Se]), bn = R((O, Y) => (w) => {
2842
- Se(O), p == null || p(O.date, Y, w);
2843
- }, [p, Se]), Mn = R((O, Y) => (w) => {
2844
- st(), g == null || g(O.date, Y, w);
2845
- }, [st, g]), wn = R((O, Y) => (w) => {
2846
- const x = {
2839
+ }, [ee, Q, b]), bn = R((O, _) => (M) => {
2840
+ M.preventDefault(), M.stopPropagation(), xe(O), !_.disabled && (me == null || me(O.date, _, M), D == null || D(O.date, _, M));
2841
+ }, [me, D, xe]), vn = R((O, _) => (M) => {
2842
+ xe(O), p == null || p(O.date, _, M);
2843
+ }, [p, xe]), Mn = R((O, _) => (M) => {
2844
+ ot(), g == null || g(O.date, _, M);
2845
+ }, [ot, g]), wn = R((O, _) => (M) => {
2846
+ const C = {
2847
2847
  ArrowLeft: [
2848
- w.shiftKey ? "month" : "day",
2848
+ M.shiftKey ? "month" : "day",
2849
2849
  t.dir === "rtl" ? "after" : "before"
2850
2850
  ],
2851
2851
  ArrowRight: [
2852
- w.shiftKey ? "month" : "day",
2852
+ M.shiftKey ? "month" : "day",
2853
2853
  t.dir === "rtl" ? "before" : "after"
2854
2854
  ],
2855
- ArrowDown: [w.shiftKey ? "year" : "week", "after"],
2856
- ArrowUp: [w.shiftKey ? "year" : "week", "before"],
2857
- PageUp: [w.shiftKey ? "year" : "month", "before"],
2858
- PageDown: [w.shiftKey ? "year" : "month", "after"],
2855
+ ArrowDown: [M.shiftKey ? "year" : "week", "after"],
2856
+ ArrowUp: [M.shiftKey ? "year" : "week", "before"],
2857
+ PageUp: [M.shiftKey ? "year" : "month", "before"],
2858
+ PageDown: [M.shiftKey ? "year" : "month", "after"],
2859
2859
  Home: ["startOfWeek", "before"],
2860
2860
  End: ["endOfWeek", "after"]
2861
2861
  };
2862
- if (x[w.key]) {
2863
- w.preventDefault(), w.stopPropagation();
2864
- const [z, C] = x[w.key];
2865
- ot(z, C);
2862
+ if (C[M.key]) {
2863
+ M.preventDefault(), M.stopPropagation();
2864
+ const [A, N] = C[M.key];
2865
+ it(A, N);
2866
2866
  }
2867
- k == null || k(O.date, Y, w);
2868
- }, [ot, k, t.dir]), vn = R((O, Y) => (w) => {
2869
- N == null || N(O.date, Y, w);
2870
- }, [N]), kn = R((O, Y) => (w) => {
2871
- M == null || M(O.date, Y, w);
2872
- }, [M]), Dn = R((O) => (Y) => {
2873
- const w = Number(Y.target.value), x = o.setMonth(o.startOfMonth(O), w);
2874
- ee(x);
2875
- }, [o, ee]), On = R((O) => (Y) => {
2876
- const w = Number(Y.target.value), x = o.setYear(o.startOfMonth(O), w);
2877
- ee(x);
2878
- }, [o, ee]), { className: pn, style: Wn } = Ce(() => ({
2867
+ k == null || k(O.date, _, M);
2868
+ }, [it, k, t.dir]), kn = R((O, _) => (M) => {
2869
+ x == null || x(O.date, _, M);
2870
+ }, [x]), Dn = R((O, _) => (M) => {
2871
+ v == null || v(O.date, _, M);
2872
+ }, [v]), On = R((O) => (_) => {
2873
+ const M = Number(_.target.value), C = o.setMonth(o.startOfMonth(O), M);
2874
+ ee(C);
2875
+ }, [o, ee]), pn = R((O) => (_) => {
2876
+ const M = Number(_.target.value), C = o.setYear(o.startOfMonth(O), M);
2877
+ ee(C);
2878
+ }, [o, ee]), { className: Wn, style: Sn } = Ce(() => ({
2879
2879
  className: [d[m.Root], t.className].filter(Boolean).join(" "),
2880
2880
  style: { ...l == null ? void 0 : l[m.Root], ...t.style }
2881
- }), [d, t.className, t.style, l]), Sn = za(t), ct = Ne(null);
2882
- us(ct, !!t.animate, {
2881
+ }), [d, t.className, t.style, l]), xn = ja(t), ct = Ne(null);
2882
+ fs(ct, !!t.animate, {
2883
2883
  classNames: d,
2884
- months: Oe,
2885
- focused: We,
2884
+ months: pe,
2885
+ focused: Se,
2886
2886
  dateLib: o
2887
2887
  });
2888
2888
  const Nn = {
2889
2889
  dayPickerProps: t,
2890
- selected: pe,
2891
- select: he,
2892
- isSelected: le,
2893
- months: Oe,
2890
+ selected: We,
2891
+ select: me,
2892
+ isSelected: he,
2893
+ months: pe,
2894
2894
  nextMonth: Q,
2895
2895
  previousMonth: U,
2896
2896
  goToMonth: ee,
@@ -2902,37 +2902,37 @@ function As(e) {
2902
2902
  formatters: a
2903
2903
  };
2904
2904
  return y.createElement(
2905
- jt.Provider,
2905
+ $t.Provider,
2906
2906
  { value: Nn },
2907
2907
  y.createElement(
2908
2908
  r.Root,
2909
- { rootRef: t.animate ? ct : void 0, className: pn, style: Wn, dir: t.dir, id: t.id, lang: t.lang ?? i.code, nonce: t.nonce, title: t.title, role: t.role, "aria-label": t["aria-label"], "aria-labelledby": t["aria-labelledby"], ...Sn },
2909
+ { rootRef: t.animate ? ct : void 0, className: Wn, style: Sn, dir: t.dir, id: t.id, lang: t.lang ?? i.code, nonce: t.nonce, title: t.title, role: t.role, "aria-label": t["aria-label"], "aria-labelledby": t["aria-labelledby"], ...xn },
2910
2910
  y.createElement(
2911
2911
  r.Months,
2912
2912
  { className: d[m.Months], style: l == null ? void 0 : l[m.Months] },
2913
- !t.hideNavigation && !f && y.createElement(r.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: d[m.Nav], style: l == null ? void 0 : l[m.Nav], "aria-label": it(), onPreviousClick: Be, onNextClick: Ie, previousMonth: U, nextMonth: Q }),
2914
- Oe.map((O, Y) => y.createElement(
2913
+ !t.hideNavigation && !f && y.createElement(r.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: d[m.Nav], style: l == null ? void 0 : l[m.Nav], "aria-label": dt(), onPreviousClick: Be, onNextClick: Ie, previousMonth: U, nextMonth: Q }),
2914
+ pe.map((O, _) => y.createElement(
2915
2915
  r.Month,
2916
2916
  {
2917
2917
  "data-animated-month": t.animate ? "true" : void 0,
2918
2918
  className: d[m.Month],
2919
2919
  style: l == null ? void 0 : l[m.Month],
2920
2920
  // biome-ignore lint/suspicious/noArrayIndexKey: breaks animation
2921
- key: Y,
2922
- displayIndex: Y,
2921
+ key: _,
2922
+ displayIndex: _,
2923
2923
  calendarMonth: O
2924
2924
  },
2925
- f === "around" && !t.hideNavigation && Y === 0 && y.createElement(
2925
+ f === "around" && !t.hideNavigation && _ === 0 && y.createElement(
2926
2926
  r.PreviousMonthButton,
2927
2927
  { type: "button", className: d[m.PreviousMonthButton], tabIndex: U ? void 0 : -1, "aria-disabled": U ? void 0 : !0, "aria-label": cn(U), onClick: Be, "data-animated-button": t.animate ? "true" : void 0 },
2928
2928
  y.createElement(r.Chevron, { disabled: U ? void 0 : !0, className: d[m.Chevron], orientation: t.dir === "rtl" ? "right" : "left" })
2929
2929
  ),
2930
- y.createElement(r.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: d[m.MonthCaption], style: l == null ? void 0 : l[m.MonthCaption], calendarMonth: O, displayIndex: Y }, c != null && c.startsWith("dropdown") ? y.createElement(
2930
+ y.createElement(r.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: d[m.MonthCaption], style: l == null ? void 0 : l[m.MonthCaption], calendarMonth: O, displayIndex: _ }, u != null && u.startsWith("dropdown") ? y.createElement(
2931
2931
  r.DropdownNav,
2932
2932
  { className: d[m.Dropdowns], style: l == null ? void 0 : l[m.Dropdowns] },
2933
2933
  (() => {
2934
- const w = c === "dropdown" || c === "dropdown-months" ? y.createElement(r.MonthsDropdown, { key: "month", className: d[m.MonthsDropdown], "aria-label": dn(), classNames: d, components: r, disabled: !!t.disableNavigation, onChange: Dn(O.date), options: ns(O.date, Pe, Ee, a, o), style: l == null ? void 0 : l[m.Dropdown], value: o.getMonth(O.date) }) : y.createElement("span", { key: "month" }, B(O.date, o)), x = c === "dropdown" || c === "dropdown-years" ? y.createElement(r.YearsDropdown, { key: "year", className: d[m.YearsDropdown], "aria-label": mn(o.options), classNames: d, components: r, disabled: !!t.disableNavigation, onChange: On(O.date), options: ss(Pe, Ee, a, o, !!t.reverseYears), style: l == null ? void 0 : l[m.Dropdown], value: o.getYear(O.date) }) : y.createElement("span", { key: "year" }, L(O.date, o));
2935
- return o.getMonthYearOrder() === "year-first" ? [x, w] : [w, x];
2934
+ const M = u === "dropdown" || u === "dropdown-months" ? y.createElement(r.MonthsDropdown, { key: "month", className: d[m.MonthsDropdown], "aria-label": un(), classNames: d, components: r, disabled: !!t.disableNavigation, onChange: On(O.date), options: rs(O.date, Pe, Ee, a, o), style: l == null ? void 0 : l[m.Dropdown], value: o.getMonth(O.date) }) : y.createElement("span", { key: "month" }, B(O.date, o)), C = u === "dropdown" || u === "dropdown-years" ? y.createElement(r.YearsDropdown, { key: "year", className: d[m.YearsDropdown], "aria-label": yn(o.options), classNames: d, components: r, disabled: !!t.disableNavigation, onChange: pn(O.date), options: os(Pe, Ee, a, o, !!t.reverseYears), style: l == null ? void 0 : l[m.Dropdown], value: o.getYear(O.date) }) : y.createElement("span", { key: "year" }, L(O.date, o));
2935
+ return o.getMonthYearOrder() === "year-first" ? [C, M] : [M, C];
2936
2936
  })(),
2937
2937
  y.createElement("span", { role: "status", "aria-live": "polite", style: {
2938
2938
  border: 0,
@@ -2947,35 +2947,35 @@ function As(e) {
2947
2947
  wordWrap: "normal"
2948
2948
  } }, S(O.date, o.options, o))
2949
2949
  ) : y.createElement(r.CaptionLabel, { className: d[m.CaptionLabel], role: "status", "aria-live": "polite" }, S(O.date, o.options, o))),
2950
- f === "around" && !t.hideNavigation && Y === h - 1 && y.createElement(
2950
+ f === "around" && !t.hideNavigation && _ === h - 1 && y.createElement(
2951
2951
  r.NextMonthButton,
2952
- { type: "button", className: d[m.NextMonthButton], tabIndex: Q ? void 0 : -1, "aria-disabled": Q ? void 0 : !0, "aria-label": un(Q), onClick: Ie, "data-animated-button": t.animate ? "true" : void 0 },
2952
+ { type: "button", className: d[m.NextMonthButton], tabIndex: Q ? void 0 : -1, "aria-disabled": Q ? void 0 : !0, "aria-label": fn(Q), onClick: Ie, "data-animated-button": t.animate ? "true" : void 0 },
2953
2953
  y.createElement(r.Chevron, { disabled: Q ? void 0 : !0, className: d[m.Chevron], orientation: t.dir === "rtl" ? "left" : "right" })
2954
2954
  ),
2955
- Y === h - 1 && f === "after" && !t.hideNavigation && y.createElement(r.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: d[m.Nav], style: l == null ? void 0 : l[m.Nav], "aria-label": it(), onPreviousClick: Be, onNextClick: Ie, previousMonth: U, nextMonth: Q }),
2955
+ _ === h - 1 && f === "after" && !t.hideNavigation && y.createElement(r.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: d[m.Nav], style: l == null ? void 0 : l[m.Nav], "aria-label": dt(), onPreviousClick: Be, onNextClick: Ie, previousMonth: U, nextMonth: Q }),
2956
2956
  y.createElement(
2957
2957
  r.MonthGrid,
2958
- { role: "grid", "aria-multiselectable": u === "multiple" || u === "range", "aria-label": on(O.date, o.options, o) || void 0, className: d[m.MonthGrid], style: l == null ? void 0 : l[m.MonthGrid] },
2958
+ { role: "grid", "aria-multiselectable": c === "multiple" || c === "range", "aria-label": dn(O.date, o.options, o) || void 0, className: d[m.MonthGrid], style: l == null ? void 0 : l[m.MonthGrid] },
2959
2959
  !t.hideWeekdays && y.createElement(
2960
2960
  r.Weekdays,
2961
2961
  { "data-animated-weekdays": t.animate ? "true" : void 0, className: d[m.Weekdays], style: l == null ? void 0 : l[m.Weekdays] },
2962
- v && y.createElement(r.WeekNumberHeader, { "aria-label": hn(o.options), className: d[m.WeekNumberHeader], style: l == null ? void 0 : l[m.WeekNumberHeader], scope: "col" }, $()),
2963
- yn.map((w) => y.createElement(r.Weekday, { "aria-label": fn(w, o.options, o), className: d[m.Weekday], key: String(w), style: l == null ? void 0 : l[m.Weekday], scope: "col" }, re(w, o.options, o)))
2962
+ w && y.createElement(r.WeekNumberHeader, { "aria-label": mn(o.options), className: d[m.WeekNumberHeader], style: l == null ? void 0 : l[m.WeekNumberHeader], scope: "col" }, $()),
2963
+ gn.map((M) => y.createElement(r.Weekday, { "aria-label": ln(M, o.options, o), className: d[m.Weekday], key: String(M), style: l == null ? void 0 : l[m.Weekday], scope: "col" }, ae(M, o.options, o)))
2964
2964
  ),
2965
- y.createElement(r.Weeks, { "data-animated-weeks": t.animate ? "true" : void 0, className: d[m.Weeks], style: l == null ? void 0 : l[m.Weeks] }, O.weeks.map((w) => y.createElement(
2965
+ y.createElement(r.Weeks, { "data-animated-weeks": t.animate ? "true" : void 0, className: d[m.Weeks], style: l == null ? void 0 : l[m.Weeks] }, O.weeks.map((M) => y.createElement(
2966
2966
  r.Week,
2967
- { className: d[m.Week], key: w.weekNumber, style: l == null ? void 0 : l[m.Week], week: w },
2968
- v && y.createElement(r.WeekNumber, { week: w, style: l == null ? void 0 : l[m.WeekNumber], "aria-label": ln(w.weekNumber, {
2967
+ { className: d[m.Week], key: M.weekNumber, style: l == null ? void 0 : l[m.Week], week: M },
2968
+ w && y.createElement(r.WeekNumber, { week: M, style: l == null ? void 0 : l[m.WeekNumber], "aria-label": hn(M.weekNumber, {
2969
2969
  locale: i
2970
- }), className: d[m.WeekNumber], scope: "row", role: "rowheader" }, F(w.weekNumber, o)),
2971
- w.days.map((x) => {
2972
- const { date: z } = x, C = Fe(x);
2973
- if (C[T.focused] = !C.hidden && !!(We != null && We.isEqualTo(x)), C[A.selected] = (le == null ? void 0 : le(z)) || C.selected, _e(pe)) {
2974
- const { from: He, to: Ae } = pe;
2975
- C[A.range_start] = !!(He && Ae && o.isSameDay(z, He)), C[A.range_end] = !!(He && Ae && o.isSameDay(z, Ae)), C[A.range_middle] = te(pe, z, !0, o);
2970
+ }), className: d[m.WeekNumber], scope: "row", role: "rowheader" }, F(M.weekNumber, o)),
2971
+ M.days.map((C) => {
2972
+ const { date: A } = C, N = Fe(C);
2973
+ if (N[T.focused] = !N.hidden && !!(Se != null && Se.isEqualTo(C)), N[z.selected] = (he == null ? void 0 : he(A)) || N.selected, Ye(We)) {
2974
+ const { from: He, to: ze } = We;
2975
+ N[z.range_start] = !!(He && ze && o.isSameDay(A, He)), N[z.range_end] = !!(He && ze && o.isSameDay(A, ze)), N[z.range_middle] = te(We, A, !0, o);
2976
2976
  }
2977
- const Cn = rs(C, l, t.modifiersStyles), xn = Ha(C, d, t.modifiersClassNames), Yn = !dt && !C.hidden ? sn(z, C, o.options, o) : void 0;
2978
- return y.createElement(r.Day, { key: `${x.isoDate}_${x.displayMonthId}`, day: x, modifiers: C, className: xn.join(" "), style: Cn, role: "gridcell", "aria-selected": C.selected || void 0, "aria-label": Yn, "data-day": x.isoDate, "data-month": x.outside ? x.dateMonthId : void 0, "data-selected": C.selected || void 0, "data-disabled": C.disabled || void 0, "data-hidden": C.hidden || void 0, "data-outside": x.outside || void 0, "data-focused": C.focused || void 0, "data-today": C.today || void 0 }, !C.hidden && dt ? y.createElement(r.DayButton, { className: d[m.DayButton], style: l == null ? void 0 : l[m.DayButton], type: "button", day: x, modifiers: C, disabled: !C.focused && C.disabled || void 0, "aria-disabled": C.focused && C.disabled || void 0, tabIndex: rn(x) ? 0 : -1, "aria-label": an(z, C, o.options, o), onClick: gn(x, C), onBlur: Mn(x, C), onFocus: bn(x, C), onKeyDown: wn(x, C), onMouseEnter: vn(x, C), onMouseLeave: kn(x, C) }, E(z, o.options, o)) : !C.hidden && E(x.date, o.options, o));
2977
+ const Cn = as(N, l, t.modifiersStyles), _n = za(N, d, t.modifiersClassNames), Yn = !ut && !N.hidden ? on(A, N, o.options, o) : void 0;
2978
+ return y.createElement(r.Day, { key: `${C.isoDate}_${C.displayMonthId}`, day: C, modifiers: N, className: _n.join(" "), style: Cn, role: "gridcell", "aria-selected": N.selected || void 0, "aria-label": Yn, "data-day": C.isoDate, "data-month": C.outside ? C.dateMonthId : void 0, "data-selected": N.selected || void 0, "data-disabled": N.disabled || void 0, "data-hidden": N.hidden || void 0, "data-outside": C.outside || void 0, "data-focused": N.focused || void 0, "data-today": N.today || void 0 }, !N.hidden && ut ? y.createElement(r.DayButton, { className: d[m.DayButton], style: l == null ? void 0 : l[m.DayButton], type: "button", day: C, modifiers: N, disabled: !N.focused && N.disabled || void 0, "aria-disabled": N.focused && N.disabled || void 0, tabIndex: an(C) ? 0 : -1, "aria-label": sn(A, N, o.options, o), onClick: bn(C, N), onBlur: Mn(C, N), onFocus: vn(C, N), onKeyDown: wn(C, N), onMouseEnter: kn(C, N), onMouseLeave: Dn(C, N) }, E(A, o.options, o)) : !N.hidden && E(C.date, o.options, o));
2979
2979
  })
2980
2980
  )))
2981
2981
  )
@@ -2985,36 +2985,36 @@ function As(e) {
2985
2985
  )
2986
2986
  );
2987
2987
  }
2988
- const pt = {
2989
- en: () => Promise.resolve().then(() => Tr).then((e) => e.enUS),
2990
- it: () => import("./it-VfsdUqeV.js").then((e) => e.it),
2991
- de: () => import("./de-C3_KZ6mR.js").then((e) => e.de),
2992
- es: () => import("./es-Lgmjq9Rp.js").then((e) => e.es),
2993
- fr: () => import("./fr-INS1OD7m.js").then((e) => e.fr),
2994
- pt: () => import("./pt-CY2m2bBz.js").then((e) => e.pt),
2995
- nl: () => import("./nl-Crxwg0IZ.js").then((e) => e.nl),
2996
- pl: () => import("./pl-IdHtxWTl.js").then((e) => e.pl),
2997
- ro: () => import("./ro-qoxLkXED.js").then((e) => e.ro),
2998
- ru: () => import("./ru-BVZlxoKf.js").then((e) => e.ru),
2999
- sv: () => import("./sv-BGNQ5gX6.js").then((e) => e.sv),
3000
- el: () => import("./el-v9xDKHgu.js").then((e) => e.el),
3001
- ja: () => import("./ja-Dfk9qwzE.js").then((e) => e.ja),
3002
- zh: () => import("./zh-CN-DClT1wDk.js").then((e) => e.zhCN),
3003
- hi: () => import("./hi-BUYtlosF.js").then((e) => e.hi),
3004
- ar: () => import("./ar-C9FRRqJs.js").then((e) => e.ar),
3005
- tr: () => import("./tr-B2NEu6Gy.js").then((e) => e.tr),
3006
- sq: () => import("./sq--eT8hIiD.js").then((e) => e.sq)
2988
+ const Wt = {
2989
+ en: () => Promise.resolve().then(() => Pr).then((e) => e.enUS),
2990
+ it: () => import("./it-B4ySaRyK.js").then((e) => e.it),
2991
+ de: () => import("./de-DmZ-8rTN.js").then((e) => e.de),
2992
+ es: () => import("./es-BNncHKex.js").then((e) => e.es),
2993
+ fr: () => import("./fr-CH8ADfhN.js").then((e) => e.fr),
2994
+ pt: () => import("./pt-_njpXyOZ.js").then((e) => e.pt),
2995
+ nl: () => import("./nl-DuShqwuV.js").then((e) => e.nl),
2996
+ pl: () => import("./pl-CKQwX9Fk.js").then((e) => e.pl),
2997
+ ro: () => import("./ro-3X6_4FcN.js").then((e) => e.ro),
2998
+ ru: () => import("./ru-bAcgmnS-.js").then((e) => e.ru),
2999
+ sv: () => import("./sv-BSGEJ-8B.js").then((e) => e.sv),
3000
+ el: () => import("./el-Bela9mxs.js").then((e) => e.el),
3001
+ ja: () => import("./ja-CGF6Io9P.js").then((e) => e.ja),
3002
+ zh: () => import("./zh-CN-BgM0Io2O.js").then((e) => e.zhCN),
3003
+ hi: () => import("./hi-Bppfxp8l.js").then((e) => e.hi),
3004
+ ar: () => import("./ar-THMLfSoN.js").then((e) => e.ar),
3005
+ tr: () => import("./tr-CTpgUtw6.js").then((e) => e.tr),
3006
+ sq: () => import("./sq-jYFqr4Ga.js").then((e) => e.sq)
3007
3007
  };
3008
3008
  async function Ys(e) {
3009
3009
  const t = e.toLowerCase().split("-")[0];
3010
- return (pt[t] ?? pt.en)();
3010
+ return (Wt[t] ?? Wt.en)();
3011
3011
  }
3012
3012
  const Ve = /* @__PURE__ */ new Map();
3013
- function zs(e) {
3014
- const t = e.toLowerCase().split("-")[0], [n, r] = xe(
3013
+ function qs(e) {
3014
+ const t = e.toLowerCase().split("-")[0], [n, r] = _e(
3015
3015
  () => Ve.get(t)
3016
3016
  );
3017
- return St(() => {
3017
+ return xt(() => {
3018
3018
  const a = Ve.get(t);
3019
3019
  if (a) {
3020
3020
  r(a);
@@ -3049,23 +3049,26 @@ const Ue = {
3049
3049
  ar: "dd/MM/yyyy",
3050
3050
  he: "dd.MM.yyyy"
3051
3051
  };
3052
- function qs(e) {
3052
+ function $s(e) {
3053
3053
  const t = e.toLowerCase();
3054
3054
  return Ue[t] ?? Ue[t.split("-")[0]] ?? Ue.en;
3055
3055
  }
3056
- function js(e, t, n) {
3056
+ function Gs(e, t, n) {
3057
3057
  const r = [];
3058
3058
  return e && r.push({ before: e }), t && r.push({ after: t }), Array.isArray(n) ? r.push(...n) : typeof n == "function" && r.push(n), r.length === 1 ? r[0] : r;
3059
3059
  }
3060
- function $s({ orientation: e }) {
3061
- return e === "left" ? /* @__PURE__ */ ft(Bn, { className: "ds:size-4 ds:rtl:-scale-x-100" }) : /* @__PURE__ */ ft(In, { className: "ds:size-4 ds:rtl:-scale-x-100" });
3060
+ function Rs({ orientation: e }) {
3061
+ return e === "left" ? /* @__PURE__ */ lt(In, { className: "ds:size-4 ds:rtl:-scale-x-100" }) : /* @__PURE__ */ lt(Hn, { className: "ds:size-4 ds:rtl:-scale-x-100" });
3062
3062
  }
3063
- const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", _s = "ds:size-[var(--min-target-size)] ds:text-center ds:align-middle", Ts = [
3063
+ const Qe = "ds:bg-[var(--calendar-range-fill)]", Ts = "ds:size-[var(--min-target-size)] ds:text-center ds:align-middle", Ps = [
3064
3064
  // `rdp-day_button` stays as a stable structural/test hook. Selection fills
3065
3065
  // target the descendant `button` instead: inside an arbitrary variant an
3066
3066
  // underscore reads as a SPACE, so `.rdp-day_button` would compile to the
3067
3067
  // never-matching `.rdp-day button` pair.
3068
3068
  "rdp-day_button",
3069
+ // `relative` anchors the `today` dot (an `::after` marker set on this button
3070
+ // by the `DayFlag.today` entry below) so it survives every cell state.
3071
+ "ds:relative",
3069
3072
  "ds:flex ds:items-center ds:justify-center",
3070
3073
  "ds:size-[calc(var(--min-target-size)-2px)]",
3071
3074
  "ds:mx-auto ds:rounded-[var(--radius-sm)]",
@@ -3073,11 +3076,34 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", _s = "ds
3073
3076
  "ds:cursor-pointer ds:font-[inherit] ds:text-[inherit] ds:bg-transparent",
3074
3077
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
3075
3078
  "ds:hover:bg-muted",
3079
+ // Disabled days must not offer hover affordance — the base `hover:bg-muted`
3080
+ // still fires on a disabled `<button>`, implying it is clickable. Reset it.
3081
+ "ds:disabled:hover:bg-transparent",
3076
3082
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
3077
3083
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
3078
3084
  "ds:forced-colors:focus-visible:outline-[Highlight]",
3079
3085
  "ds:disabled:cursor-default"
3080
- ].join(" "), Wt = [
3086
+ ].join(" "), Es = [
3087
+ "rdp-today",
3088
+ "ds:[&_button]:font-semibold",
3089
+ "ds:[&_button]:after:content-['']",
3090
+ "ds:[&_button]:after:absolute",
3091
+ // Centre it: logical `start-1/2` + a physical translate that is flipped
3092
+ // under RTL (kit idiom `-translate-x-1/2 rtl:translate-x-1/2`) so the dot
3093
+ // stays centred under the numeral in Arabic too.
3094
+ "ds:[&_button]:after:bottom-[3px] ds:[&_button]:after:start-1/2",
3095
+ "ds:[&_button]:after:-translate-x-1/2 ds:[&_button]:after:rtl:translate-x-1/2",
3096
+ "ds:[&_button]:after:size-[3px] ds:[&_button]:after:rounded-full",
3097
+ // `bg-current` = the button's own text colour, so the dot is `--foreground`
3098
+ // on a plain/in-range cell and `--primary-foreground` on a solid cap. Under
3099
+ // forced-colors, `currentColor` is preserved and resolves to the button's
3100
+ // forced colour — CanvasText on a plain cell, HighlightText on a
3101
+ // Highlight-filled cap/range (the selection states already force the button
3102
+ // text to HighlightText) — so the dot keeps the guaranteed system-colour
3103
+ // pairing in every state without a separate (and previously wrong, because
3104
+ // it pinned CanvasText even on a Highlight cap) forced-colors override.
3105
+ "ds:[&_button]:after:bg-current"
3106
+ ].join(" "), St = [
3081
3107
  "ds:inline-flex ds:items-center ds:justify-center",
3082
3108
  "ds:size-[var(--min-target-size)] ds:rounded-[var(--radius-sm)]",
3083
3109
  "ds:cursor-pointer ds:bg-transparent ds:text-foreground",
@@ -3087,7 +3113,7 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", _s = "ds
3087
3113
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
3088
3114
  "ds:disabled:opacity-50 ds:disabled:cursor-default",
3089
3115
  "ds:aria-disabled:opacity-50 ds:aria-disabled:cursor-default"
3090
- ].join(" "), Gs = {
3116
+ ].join(" "), Vs = {
3091
3117
  /* ---- Layout shell ---- */
3092
3118
  [m.Root]: "rdp-root ds:relative ds:font-sans ds:text-foreground",
3093
3119
  [m.Months]: "rdp-months ds:relative ds:flex ds:flex-wrap ds:gap-[var(--spacing-lg)]",
@@ -3099,32 +3125,49 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", _s = "ds
3099
3125
  // `top-0` is the block-axis (RTL-agnostic) inset; `end-0` is the
3100
3126
  // inline-axis logical inset → `inset-inline-end: 0`, mirroring under RTL.
3101
3127
  [m.Nav]: "rdp-nav ds:absolute ds:top-0 ds:end-0 ds:flex ds:items-center ds:h-[var(--min-target-size)]",
3102
- [m.PreviousMonthButton]: `rdp-button_previous ${Wt}`,
3103
- [m.NextMonthButton]: `rdp-button_next ${Wt}`,
3128
+ [m.PreviousMonthButton]: `rdp-button_previous ${St}`,
3129
+ [m.NextMonthButton]: `rdp-button_next ${St}`,
3104
3130
  [m.Chevron]: "rdp-chevron ds:inline-block ds:fill-current",
3105
3131
  /* ---- Weekday header row ---- */
3106
3132
  [m.Weekdays]: "rdp-weekdays",
3107
- [m.Weekday]: "rdp-weekday ds:opacity-75 ds:py-[var(--spacing-xs)] ds:text-center ds:font-medium ds:text-[length:var(--font-size-sm)] ds:text-muted-foreground",
3133
+ // Full-strength `--muted-foreground` (6.93:1 on white), not the old
3134
+ // `opacity-75` multiply on top of it (≈3.80:1 — fails AA).
3135
+ [m.Weekday]: "rdp-weekday ds:py-[var(--spacing-xs)] ds:text-center ds:font-medium ds:text-[length:var(--font-size-sm)] ds:text-muted-foreground",
3108
3136
  /* ---- Week rows + day cells ---- */
3109
3137
  [m.Weeks]: "rdp-weeks",
3110
3138
  [m.Week]: "rdp-week",
3111
- [m.Day]: `rdp-day ${_s}`,
3112
- [m.DayButton]: Ts,
3113
- [m.WeekNumber]: "rdp-week_number ds:opacity-50 ds:text-center ds:text-[length:var(--font-size-sm)] ds:size-[var(--min-target-size)]",
3114
- /* ---- Day flags ---- */
3115
- [T.today]: "rdp-today ds:text-primary ds:font-semibold ds:[&:is(.rdp-outside)]:text-inherit",
3116
- [T.outside]: "rdp-outside ds:opacity-50",
3117
- [T.disabled]: "rdp-disabled ds:opacity-30",
3139
+ [m.Day]: `rdp-day ${Ts}`,
3140
+ [m.DayButton]: Ps,
3141
+ [m.WeekNumber]: "rdp-week_number ds:text-muted-foreground ds:text-center ds:text-[length:var(--font-size-sm)] ds:size-[var(--min-target-size)]",
3142
+ /* ---- Day flags ----
3143
+ De-emphasised states now ride tokened colours with GUARANTEED contrast
3144
+ ratios instead of `opacity-*` alpha multiplies (which read muddy and
3145
+ dodge the ratio). `today` is a shape marker (see TODAY_DOT) that survives
3146
+ inside a range and on a solid cap; `disabled` adds a `line-through`
3147
+ non-colour "unavailable" cue on top of the muted colour. */
3148
+ [T.today]: Es,
3149
+ [T.outside]: "rdp-outside ds:text-muted-foreground",
3150
+ [T.disabled]: "rdp-disabled ds:text-muted-foreground ds:[&_button]:line-through",
3118
3151
  [T.hidden]: "rdp-hidden ds:invisible",
3119
3152
  /* ---- Selection states ----
3120
3153
  The colour fill lives on the inner `.rdp-day_button` via descendant
3121
3154
  selectors so the cell padding stays transparent and the rounded
3122
3155
  button reads as the selected chip. */
3123
- [A.selected]: "rdp-selected ds:[&_button]:bg-primary ds:[&_button]:text-primary-foreground ds:[&_button]:border-primary ds:[&_button]:hover:bg-primary-hover ds:forced-colors:[&_button]:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]",
3124
- [A.range_start]: `rdp-range_start ${Qe} ds:rounded-s-[var(--radius-sm)] ds:[&_button]:bg-primary ds:[&_button]:text-primary-foreground ds:[&_button]:border-primary ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_button]:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]`,
3125
- [A.range_middle]: `rdp-range_middle ${Qe} ds:[&_button]:bg-transparent ds:[&_button]:border-transparent ds:[&_button]:text-foreground ds:[&_button]:rounded-none ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]`,
3126
- [A.range_end]: `rdp-range_end ${Qe} ds:rounded-e-[var(--radius-sm)] ds:[&_button]:bg-primary ds:[&_button]:text-primary-foreground ds:[&_button]:border-primary ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_button]:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]`
3127
- }, Rs = Ye(
3156
+ [z.selected]: "rdp-selected ds:[&_button]:bg-primary ds:[&_button]:text-primary-foreground ds:[&_button]:border-primary ds:[&_button]:hover:bg-primary-hover ds:forced-colors:[&_button]:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]",
3157
+ [z.range_start]: `rdp-range_start ${Qe} ds:rounded-s-[var(--radius-sm)] ds:[&_button]:bg-primary ds:[&_button]:text-primary-foreground ds:[&_button]:border-primary ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_button]:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]`,
3158
+ // rdp applies BOTH `selected` and `range_middle` to a middle day. `selected`
3159
+ // fills the button (solid `--primary`, white text); `range_middle` must undo
3160
+ // that so the day reads as `--foreground` on the soft band, NOT white text on
3161
+ // it (≈1.3:1). The `bg`/`text` overrides use the compound `&.rdp-selected`
3162
+ // selector so they out-specify `selected`'s `[&_button]` rules deterministically
3163
+ // (Tailwind emits same-specificity utilities in an unstable order otherwise).
3164
+ [z.range_middle]: `rdp-range_middle ${Qe} ds:[&.rdp-selected_button]:bg-transparent ds:[&_button]:border-transparent ds:[&.rdp-selected_button]:text-foreground ds:[&_button]:rounded-none ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]`,
3165
+ [z.range_end]: `rdp-range_end ${Qe} ds:rounded-e-[var(--radius-sm)] ds:[&_button]:bg-primary ds:[&_button]:text-primary-foreground ds:[&_button]:border-primary ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_button]:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]`
3166
+ }, Xe = "ds:bg-[var(--calendar-compare-fill)] ds:border-b-2 ds:border-dashed ds:border-b-[var(--calendar-compare-edge)]", Us = {
3167
+ compareStart: `rdp-compare_start ${Xe} ds:rounded-s-[var(--radius-sm)]`,
3168
+ compareMiddle: `rdp-compare_middle ${Xe}`,
3169
+ compareEnd: `rdp-compare_end ${Xe} ds:rounded-e-[var(--radius-sm)]`
3170
+ }, Qs = re(
3128
3171
  [
3129
3172
  "ds:relative ds:flex ds:items-center ds:w-full",
3130
3173
  "ds:border ds:text-foreground",
@@ -3167,7 +3210,64 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", _s = "ds
3167
3210
  chrome: "input"
3168
3211
  }
3169
3212
  }
3170
- ), Vs = Ye(
3213
+ ), Xs = re(
3214
+ [
3215
+ "ds:w-full ds:min-w-0 ds:rounded-[var(--radius-sm)] ds:border ds:bg-input",
3216
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
3217
+ "ds:text-[length:var(--font-size-sm)] ds:text-foreground",
3218
+ "ds:shadow-[var(--shadow-input)]",
3219
+ "ds:transition-[colors,box-shadow] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
3220
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
3221
+ "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
3222
+ ].join(" "),
3223
+ {
3224
+ variants: {
3225
+ state: {
3226
+ default: "ds:border-border",
3227
+ active: "ds:border-primary",
3228
+ error: "ds:border-destructive"
3229
+ }
3230
+ },
3231
+ defaultVariants: { state: "default" }
3232
+ }
3233
+ ), Ks = re(
3234
+ [
3235
+ "ds:inline-flex ds:items-center ds:justify-center ds:min-h-[var(--min-target-size)]",
3236
+ "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:rounded-[var(--radius-sm)]",
3237
+ "ds:text-[length:var(--font-size-sm)] ds:font-medium ds:cursor-pointer",
3238
+ "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
3239
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
3240
+ "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
3241
+ "ds:disabled:cursor-not-allowed ds:disabled:opacity-50"
3242
+ ].join(" "),
3243
+ {
3244
+ variants: {
3245
+ intent: {
3246
+ ghost: "ds:bg-transparent ds:text-foreground ds:hover:bg-muted",
3247
+ primary: "ds:bg-primary ds:text-primary-foreground ds:hover:bg-primary-hover"
3248
+ }
3249
+ },
3250
+ defaultVariants: { intent: "ghost" }
3251
+ }
3252
+ ), Js = re(
3253
+ "ds:inline-flex ds:items-center ds:rounded-[var(--radius-sm)] ds:border ds:border-border ds:bg-input ds:p-[2px]"
3254
+ ), Zs = re(
3255
+ [
3256
+ "ds:inline-flex ds:items-center ds:justify-center ds:cursor-pointer",
3257
+ // Meet the kit touch-target rule (44px base / 48px accessible), matching
3258
+ // the footer actions, rather than the ~22px a bare text segment would be.
3259
+ "ds:min-h-[calc(var(--min-target-size)-4px)]",
3260
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
3261
+ "ds:rounded-[calc(var(--radius-sm)-2px)] ds:text-[length:var(--font-size-xs)] ds:font-medium",
3262
+ "ds:text-muted-foreground",
3263
+ "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
3264
+ "ds:data-[state=checked]:bg-primary ds:data-[state=checked]:text-primary-foreground",
3265
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
3266
+ "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
3267
+ ].join(" ")
3268
+ ), Ls = re(
3269
+ "ds:ps-[var(--spacing-sm)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-xs)] ds:text-[length:var(--font-size-xs)] ds:font-semibold ds:uppercase ds:tracking-wide ds:text-muted-foreground"
3270
+ ), eo = re(
3171
3271
  "ds:absolute ds:inset-y-0 ds:end-0 ds:flex ds:items-center ds:pointer-events-none ds:text-muted-foreground",
3172
3272
  {
3173
3273
  variants: {
@@ -3179,60 +3279,85 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", _s = "ds
3179
3279
  },
3180
3280
  defaultVariants: { size: "md" }
3181
3281
  }
3182
- ), Us = Ye(
3282
+ ), to = re(
3183
3283
  [
3184
3284
  "ds:z-[var(--z-popover)] ds:rounded-[var(--radius-md)]",
3185
3285
  "ds:border ds:border-border ds:bg-background ds:shadow-[var(--shadow-lg)]",
3186
3286
  "ds:p-[var(--spacing-md)]"
3187
3287
  ].join(" ")
3188
- ), Qs = Ye(
3288
+ ), no = re(
3189
3289
  [
3190
- "ds:w-full ds:text-start ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
3290
+ // A flex row so an `active` preset can carry a trailing check icon and the
3291
+ // label still fills the width and truncates rather than wrapping.
3292
+ "ds:flex ds:w-full ds:items-center ds:justify-between ds:gap-[var(--spacing-xs)]",
3293
+ "ds:text-start ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
3294
+ "ds:min-h-[var(--min-target-size)]",
3191
3295
  "ds:rounded-[var(--radius-sm)] ds:text-[length:var(--font-size-sm)] ds:text-foreground",
3192
3296
  "ds:hover:bg-muted ds:cursor-pointer",
3193
3297
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
3194
3298
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
3195
3299
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
3196
- ].join(" ")
3300
+ ].join(" "),
3301
+ {
3302
+ variants: {
3303
+ // The applied-preset state. Tints with the shared `--calendar-range-fill`
3304
+ // (violet primary wash) and keeps the label on `--foreground` (high
3305
+ // contrast) — it does NOT use the magenta accent, which fails AA on white.
3306
+ // The component pairs this with `aria-pressed` + a trailing check icon so
3307
+ // the state is not conveyed by colour alone.
3308
+ active: {
3309
+ true: "ds:bg-[var(--calendar-range-fill)] ds:font-semibold ds:hover:bg-[var(--calendar-range-fill)]",
3310
+ false: ""
3311
+ }
3312
+ },
3313
+ defaultVariants: { active: !1 }
3314
+ }
3197
3315
  );
3198
3316
  export {
3199
- Me as A,
3200
- Le as B,
3201
- $s as C,
3202
- As as D,
3203
- Ze as E,
3204
- mt as F,
3205
- oe as G,
3206
- Br as H,
3207
- qr as I,
3208
- jr as J,
3209
- zr as K,
3210
- Un as L,
3211
- xt as a,
3212
- $n as b,
3213
- js as c,
3214
- Qn as d,
3215
- Bt as e,
3216
- Kn as f,
3217
- qs as g,
3218
- be as h,
3219
- Lr as i,
3220
- Je as j,
3221
- Vs as k,
3222
- Gs as l,
3223
- Us as m,
3224
- ea as n,
3225
- qe as o,
3226
- Qs as p,
3227
- me as q,
3228
- ye as r,
3229
- fe as s,
3230
- Rs as t,
3231
- zs as u,
3232
- Mr as v,
3233
- Yt as w,
3234
- ta as x,
3235
- ve as y,
3236
- It as z
3317
+ je as A,
3318
+ ye as B,
3319
+ Rs as C,
3320
+ js as D,
3321
+ ge as E,
3322
+ Mr as F,
3323
+ Yt as G,
3324
+ na as H,
3325
+ ke as I,
3326
+ Ht as J,
3327
+ Me as K,
3328
+ et as L,
3329
+ Le as M,
3330
+ yt as N,
3331
+ ie as O,
3332
+ Ir as P,
3333
+ qr as Q,
3334
+ $r as R,
3335
+ jr as S,
3336
+ _t as a,
3337
+ Gs as b,
3338
+ ta as c,
3339
+ eo as d,
3340
+ Vs as e,
3341
+ ve as f,
3342
+ $s as g,
3343
+ to as h,
3344
+ ea as i,
3345
+ Qn as j,
3346
+ Ze as k,
3347
+ Gn as l,
3348
+ Rn as m,
3349
+ It as n,
3350
+ Xn as o,
3351
+ no as p,
3352
+ Jn as q,
3353
+ Zs as r,
3354
+ le as s,
3355
+ Qs as t,
3356
+ qs as u,
3357
+ Js as v,
3358
+ Xs as w,
3359
+ Ls as x,
3360
+ Us as y,
3361
+ Ks as z
3237
3362
  };
3238
- //# sourceMappingURL=date-picker-variants-D9B6hg15.js.map
3363
+ //# sourceMappingURL=date-picker-variants-eL6HjWvw.js.map