@purpurds/calendar 8.3.1 → 8.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import { jsxs as ar, jsx as te } from "react/jsx-runtime";
2
- import v, { createContext as nr, useContext as rr, useCallback as ee, useRef as Ue, useLayoutEffect as ir, useState as tt, useEffect as Ea, useMemo as ut, forwardRef as or } from "react";
3
- function sr(e, a, t = "long") {
1
+ import { jsxs as rr, jsx as te } from "react/jsx-runtime";
2
+ import v, { createContext as ir, useContext as or, useCallback as ee, useRef as Ue, useLayoutEffect as sr, useState as tt, useEffect as Va, useMemo as ut, forwardRef as dr } from "react";
3
+ function ur(e, a, t = "long") {
4
4
  return new Intl.DateTimeFormat("en-US", {
5
5
  // Enforces engine to render the time. Without the option JavaScriptCore omits it.
6
6
  hour: "numeric",
@@ -18,11 +18,11 @@ function We(e, a) {
18
18
  return n in Ae ? Ae[n] : qt(n, n.split(":"));
19
19
  } catch {
20
20
  if (e in Ae) return Ae[e];
21
- const t = e == null ? void 0 : e.match(dr);
21
+ const t = e == null ? void 0 : e.match(mr);
22
22
  return t ? qt(e, t.slice(1)) : NaN;
23
23
  }
24
24
  }
25
- const dr = /([+-]\d\d):?(\d\d)?/;
25
+ const mr = /([+-]\d\d):?(\d\d)?/;
26
26
  function qt(e, a) {
27
27
  const t = +(a[0] || 0), n = +(a[1] || 0), r = +(a[2] || 0) / 60;
28
28
  return Ae[e] = t * 60 + n > 0 ? t * 60 + n + r : t * 60 - n - r;
@@ -30,7 +30,7 @@ function qt(e, a) {
30
30
  class ue extends Date {
31
31
  //#region static
32
32
  constructor(...a) {
33
- super(), a.length > 1 && typeof a[a.length - 1] == "string" && (this.timeZone = a.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(We(this.timeZone, this)) ? this.setTime(NaN) : a.length ? typeof a[0] == "number" && (a.length === 1 || a.length === 2 && typeof a[1] != "number") ? this.setTime(a[0]) : typeof a[0] == "string" ? this.setTime(+new Date(a[0])) : a[0] instanceof Date ? this.setTime(+a[0]) : (this.setTime(+new Date(...a)), Va(this), wt(this)) : this.setTime(Date.now());
33
+ super(), a.length > 1 && typeof a[a.length - 1] == "string" && (this.timeZone = a.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(We(this.timeZone, this)) ? this.setTime(NaN) : a.length ? typeof a[0] == "number" && (a.length === 1 || a.length === 2 && typeof a[1] != "number") ? this.setTime(a[0]) : typeof a[0] == "string" ? this.setTime(+new Date(a[0])) : a[0] instanceof Date ? this.setTime(+a[0]) : (this.setTime(+new Date(...a)), Ha(this), wt(this)) : this.setTime(Date.now());
34
34
  }
35
35
  static tz(a, ...t) {
36
36
  return t.length ? new ue(...t, a) : new ue(Date.now(), a);
@@ -63,7 +63,7 @@ Object.getOwnPropertyNames(Date.prototype).forEach((e) => {
63
63
  ue.prototype[a] && (e.startsWith("get") ? ue.prototype[e] = function() {
64
64
  return this.internal[a]();
65
65
  } : (ue.prototype[e] = function() {
66
- return Date.prototype[a].apply(this.internal, arguments), ur(this), +this;
66
+ return Date.prototype[a].apply(this.internal, arguments), lr(this), +this;
67
67
  }, ue.prototype[a] = function() {
68
68
  return Date.prototype[a].apply(this, arguments), wt(this), +this;
69
69
  }));
@@ -71,10 +71,10 @@ Object.getOwnPropertyNames(Date.prototype).forEach((e) => {
71
71
  function wt(e) {
72
72
  e.internal.setTime(+e), e.internal.setUTCSeconds(e.internal.getUTCSeconds() - Math.round(-We(e.timeZone, e) * 60));
73
73
  }
74
- function ur(e) {
75
- 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()), Va(e);
74
+ function lr(e) {
75
+ 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()), Ha(e);
76
76
  }
77
- function Va(e) {
77
+ function Ha(e) {
78
78
  const a = We(e.timeZone, e), t = a > 0 ? Math.floor(a) : Math.ceil(a), n = /* @__PURE__ */ new Date(+e);
79
79
  n.setUTCHours(n.getUTCHours() - 1);
80
80
  const r = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset(), s = -(/* @__PURE__ */ new Date(+n)).getTimezoneOffset(), m = r - s, u = Date.prototype.getHours.apply(e) !== e.internal.getUTCHours();
@@ -112,7 +112,7 @@ class I extends ue {
112
112
  }
113
113
  toTimeString() {
114
114
  const a = this.internal.toUTCString().split(" ")[4], [t, n, r] = this.tzComponents();
115
- return `${a} GMT${t}${n}${r} (${sr(this.timeZone, this)})`;
115
+ return `${a} GMT${t}${n}${r} (${ur(this.timeZone, this)})`;
116
116
  }
117
117
  toLocaleString(a, t) {
118
118
  return Date.prototype.toLocaleString.call(this, a, {
@@ -164,18 +164,18 @@ var U;
164
164
  (function(e) {
165
165
  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";
166
166
  })(U || (U = {}));
167
- const Ha = 6048e5, mr = 864e5, Rt = Symbol.for("constructDateFrom");
167
+ const Xa = 6048e5, cr = 864e5, Rt = Symbol.for("constructDateFrom");
168
168
  function O(e, a) {
169
169
  return typeof e == "function" ? e(a) : e && typeof e == "object" && Rt in e ? e[Rt](a) : e instanceof Date ? new e.constructor(a) : new Date(a);
170
170
  }
171
171
  function S(e, a) {
172
172
  return O(a || e, e);
173
173
  }
174
- function Xa(e, a, t) {
174
+ function _a(e, a, t) {
175
175
  const n = S(e, t == null ? void 0 : t.in);
176
176
  return isNaN(a) ? O(e, NaN) : (a && n.setDate(n.getDate() + a), n);
177
177
  }
178
- function _a(e, a, t) {
178
+ function Oa(e, a, t) {
179
179
  const n = S(e, t == null ? void 0 : t.in);
180
180
  if (isNaN(a)) return O(e, NaN);
181
181
  if (!a)
@@ -189,19 +189,19 @@ function _a(e, a, t) {
189
189
  r
190
190
  ), n);
191
191
  }
192
- let lr = {};
192
+ let hr = {};
193
193
  function Le() {
194
- return lr;
194
+ return hr;
195
195
  }
196
- function ve(e, a) {
196
+ function we(e, a) {
197
197
  var u, l, c, p;
198
198
  const t = Le(), n = (a == null ? void 0 : a.weekStartsOn) ?? ((l = (u = a == null ? void 0 : a.locale) == null ? void 0 : u.options) == null ? void 0 : l.weekStartsOn) ?? t.weekStartsOn ?? ((p = (c = t.locale) == null ? void 0 : c.options) == null ? void 0 : p.weekStartsOn) ?? 0, r = S(e, a == null ? void 0 : a.in), s = r.getDay(), m = (s < n ? 7 : 0) + s - n;
199
199
  return r.setDate(r.getDate() - m), r.setHours(0, 0, 0, 0), r;
200
200
  }
201
201
  function Ye(e, a) {
202
- return ve(e, { ...a, weekStartsOn: 1 });
202
+ return we(e, { ...a, weekStartsOn: 1 });
203
203
  }
204
- function Oa(e, a) {
204
+ function Fa(e, a) {
205
205
  const t = S(e, a == null ? void 0 : a.in), n = t.getFullYear(), r = O(t, 0);
206
206
  r.setFullYear(n + 1, 0, 4), r.setHours(0, 0, 0, 0);
207
207
  const s = Ye(r), m = O(t, 0);
@@ -234,25 +234,25 @@ function Ie(e, a) {
234
234
  const t = S(e, a == null ? void 0 : a.in);
235
235
  return t.setHours(0, 0, 0, 0), t;
236
236
  }
237
- function Fa(e, a, t) {
237
+ function Aa(e, a, t) {
238
238
  const [n, r] = je(
239
239
  t == null ? void 0 : t.in,
240
240
  e,
241
241
  a
242
242
  ), s = Ie(n), m = Ie(r), u = +s - Qt(s), l = +m - Qt(m);
243
- return Math.round((u - l) / mr);
243
+ return Math.round((u - l) / cr);
244
244
  }
245
- function cr(e, a) {
246
- const t = Oa(e, a), n = O(e, 0);
245
+ function fr(e, a) {
246
+ const t = Fa(e, a), n = O(e, 0);
247
247
  return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0), Ye(n);
248
248
  }
249
- function hr(e, a, t) {
250
- return Xa(e, a * 7, t);
249
+ function gr(e, a, t) {
250
+ return _a(e, a * 7, t);
251
251
  }
252
- function fr(e, a, t) {
253
- return _a(e, a * 12, t);
252
+ function pr(e, a, t) {
253
+ return Oa(e, a * 12, t);
254
254
  }
255
- function gr(e, a) {
255
+ function br(e, a) {
256
256
  let t, n = a == null ? void 0 : a.in;
257
257
  return e.forEach((r) => {
258
258
  !n && typeof r == "object" && (n = O.bind(null, r));
@@ -260,7 +260,7 @@ function gr(e, a) {
260
260
  (!t || t < s || isNaN(+s)) && (t = s);
261
261
  }), O(n, t || NaN);
262
262
  }
263
- function pr(e, a) {
263
+ function vr(e, a) {
264
264
  let t, n = a == null ? void 0 : a.in;
265
265
  return e.forEach((r) => {
266
266
  !n && typeof r == "object" && (n = O.bind(null, r));
@@ -268,7 +268,7 @@ function pr(e, a) {
268
268
  (!t || t > s || isNaN(+s)) && (t = s);
269
269
  }), O(n, t || NaN);
270
270
  }
271
- function br(e, a, t) {
271
+ function wr(e, a, t) {
272
272
  const [n, r] = je(
273
273
  t == null ? void 0 : t.in,
274
274
  e,
@@ -276,13 +276,13 @@ function br(e, a, t) {
276
276
  );
277
277
  return +Ie(n) == +Ie(r);
278
278
  }
279
- function Aa(e) {
279
+ function Ya(e) {
280
280
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
281
281
  }
282
- function vr(e) {
283
- return !(!Aa(e) && typeof e != "number" || isNaN(+S(e)));
282
+ function yr(e) {
283
+ return !(!Ya(e) && typeof e != "number" || isNaN(+S(e)));
284
284
  }
285
- function wr(e, a, t) {
285
+ function Pr(e, a, t) {
286
286
  const [n, r] = je(
287
287
  t == null ? void 0 : t.in,
288
288
  e,
@@ -290,16 +290,16 @@ function wr(e, a, t) {
290
290
  ), s = n.getFullYear() - r.getFullYear(), m = n.getMonth() - r.getMonth();
291
291
  return s * 12 + m;
292
292
  }
293
- function yr(e, a) {
293
+ function Mr(e, a) {
294
294
  const t = S(e, a == null ? void 0 : a.in), n = t.getMonth();
295
295
  return t.setFullYear(t.getFullYear(), n + 1, 0), t.setHours(23, 59, 59, 999), t;
296
296
  }
297
- function Pr(e, a) {
297
+ function kr(e, a) {
298
298
  const [t, n] = je(e, a.start, a.end);
299
299
  return { start: t, end: n };
300
300
  }
301
- function Mr(e, a) {
302
- const { start: t, end: n } = Pr(a == null ? void 0 : a.in, e);
301
+ function $r(e, a) {
302
+ const { start: t, end: n } = kr(a == null ? void 0 : a.in, e);
303
303
  let r = +t > +n;
304
304
  const s = r ? +t : +n, m = r ? n : t;
305
305
  m.setHours(0, 0, 0, 0), m.setDate(1);
@@ -309,27 +309,27 @@ function Mr(e, a) {
309
309
  l.push(O(t, m)), m.setMonth(m.getMonth() + u);
310
310
  return r ? l.reverse() : l;
311
311
  }
312
- function kr(e, a) {
312
+ function Wr(e, a) {
313
313
  const t = S(e, a == null ? void 0 : a.in);
314
314
  return t.setDate(1), t.setHours(0, 0, 0, 0), t;
315
315
  }
316
- function $r(e, a) {
316
+ function jr(e, a) {
317
317
  const t = S(e, a == null ? void 0 : a.in), n = t.getFullYear();
318
318
  return t.setFullYear(n + 1, 0, 0), t.setHours(23, 59, 59, 999), t;
319
319
  }
320
- function Ya(e, a) {
320
+ function Ia(e, a) {
321
321
  const t = S(e, a == null ? void 0 : a.in);
322
322
  return t.setFullYear(t.getFullYear(), 0, 1), t.setHours(0, 0, 0, 0), t;
323
323
  }
324
- function Ia(e, a) {
324
+ function La(e, a) {
325
325
  var u, l, c, p;
326
326
  const t = Le(), n = (a == null ? void 0 : a.weekStartsOn) ?? ((l = (u = a == null ? void 0 : a.locale) == null ? void 0 : u.options) == null ? void 0 : l.weekStartsOn) ?? t.weekStartsOn ?? ((p = (c = t.locale) == null ? void 0 : c.options) == null ? void 0 : p.weekStartsOn) ?? 0, r = S(e, a == null ? void 0 : a.in), s = r.getDay(), m = (s < n ? -7 : 0) + 6 - (s - n);
327
327
  return r.setDate(r.getDate() + m), r.setHours(23, 59, 59, 999), r;
328
328
  }
329
- function Wr(e, a) {
330
- return Ia(e, { ...a, weekStartsOn: 1 });
329
+ function Dr(e, a) {
330
+ return La(e, { ...a, weekStartsOn: 1 });
331
331
  }
332
- const jr = {
332
+ const xr = {
333
333
  lessThanXSeconds: {
334
334
  one: "less than a second",
335
335
  other: "less than {{count}} seconds"
@@ -393,7 +393,7 @@ const jr = {
393
393
  }
394
394
  }, De = (e, a, t) => {
395
395
  let n;
396
- const r = jr[e];
396
+ const r = xr[e];
397
397
  return typeof r == "string" ? n = r : a === 1 ? n = r.one : n = r.other.replace("{{count}}", a.toString()), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "in " + n : n + " ago" : n;
398
398
  };
399
399
  function d(e) {
@@ -402,42 +402,42 @@ function d(e) {
402
402
  return e.formats[t] || e.formats[e.defaultWidth];
403
403
  };
404
404
  }
405
- const Dr = {
405
+ const zr = {
406
406
  full: "EEEE, MMMM do, y",
407
407
  long: "MMMM do, y",
408
408
  medium: "MMM d, y",
409
409
  short: "MM/dd/yyyy"
410
- }, xr = {
410
+ }, Sr = {
411
411
  full: "h:mm:ss a zzzz",
412
412
  long: "h:mm:ss a z",
413
413
  medium: "h:mm:ss a",
414
414
  short: "h:mm a"
415
- }, zr = {
415
+ }, Nr = {
416
416
  full: "{{date}} 'at' {{time}}",
417
417
  long: "{{date}} 'at' {{time}}",
418
418
  medium: "{{date}}, {{time}}",
419
419
  short: "{{date}}, {{time}}"
420
- }, Sr = {
420
+ }, Tr = {
421
421
  date: d({
422
- formats: Dr,
422
+ formats: zr,
423
423
  defaultWidth: "full"
424
424
  }),
425
425
  time: d({
426
- formats: xr,
426
+ formats: Sr,
427
427
  defaultWidth: "full"
428
428
  }),
429
429
  dateTime: d({
430
- formats: zr,
430
+ formats: Nr,
431
431
  defaultWidth: "full"
432
432
  })
433
- }, Nr = {
433
+ }, Cr = {
434
434
  lastWeek: "'last' eeee 'at' p",
435
435
  yesterday: "'yesterday at' p",
436
436
  today: "'today at' p",
437
437
  tomorrow: "'tomorrow at' p",
438
438
  nextWeek: "eeee 'at' p",
439
439
  other: "P"
440
- }, we = (e, a, t, n) => Nr[e];
440
+ }, ye = (e, a, t, n) => Cr[e];
441
441
  function i(e) {
442
442
  return (a, t) => {
443
443
  const n = t != null && t.context ? String(t.context) : "standalone";
@@ -453,15 +453,15 @@ function i(e) {
453
453
  return r[s];
454
454
  };
455
455
  }
456
- const Tr = {
456
+ const Er = {
457
457
  narrow: ["B", "A"],
458
458
  abbreviated: ["BC", "AD"],
459
459
  wide: ["Before Christ", "Anno Domini"]
460
- }, Cr = {
460
+ }, Vr = {
461
461
  narrow: ["1", "2", "3", "4"],
462
462
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
463
463
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
464
- }, Er = {
464
+ }, Hr = {
465
465
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
466
466
  abbreviated: [
467
467
  "Jan",
@@ -491,7 +491,7 @@ const Tr = {
491
491
  "November",
492
492
  "December"
493
493
  ]
494
- }, Vr = {
494
+ }, Xr = {
495
495
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
496
496
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
497
497
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
@@ -504,7 +504,7 @@ const Tr = {
504
504
  "Friday",
505
505
  "Saturday"
506
506
  ]
507
- }, Hr = {
507
+ }, _r = {
508
508
  narrow: {
509
509
  am: "a",
510
510
  pm: "p",
@@ -535,7 +535,7 @@ const Tr = {
535
535
  evening: "evening",
536
536
  night: "night"
537
537
  }
538
- }, Xr = {
538
+ }, Or = {
539
539
  narrow: {
540
540
  am: "a",
541
541
  pm: "p",
@@ -566,7 +566,7 @@ const Tr = {
566
566
  evening: "in the evening",
567
567
  night: "at night"
568
568
  }
569
- }, _r = (e, a) => {
569
+ }, Fr = (e, a) => {
570
570
  const t = Number(e), n = t % 100;
571
571
  if (n > 20 || n < 10)
572
572
  switch (n % 10) {
@@ -578,29 +578,29 @@ const Tr = {
578
578
  return t + "rd";
579
579
  }
580
580
  return t + "th";
581
- }, ye = {
582
- ordinalNumber: _r,
581
+ }, Pe = {
582
+ ordinalNumber: Fr,
583
583
  era: i({
584
- values: Tr,
584
+ values: Er,
585
585
  defaultWidth: "wide"
586
586
  }),
587
587
  quarter: i({
588
- values: Cr,
588
+ values: Vr,
589
589
  defaultWidth: "wide",
590
590
  argumentCallback: (e) => e - 1
591
591
  }),
592
592
  month: i({
593
- values: Er,
593
+ values: Hr,
594
594
  defaultWidth: "wide"
595
595
  }),
596
596
  day: i({
597
- values: Vr,
597
+ values: Xr,
598
598
  defaultWidth: "wide"
599
599
  }),
600
600
  dayPeriod: i({
601
- values: Hr,
601
+ values: _r,
602
602
  defaultWidth: "wide",
603
- formattingValues: Xr,
603
+ formattingValues: Or,
604
604
  defaultFormattingWidth: "wide"
605
605
  })
606
606
  };
@@ -609,9 +609,9 @@ function o(e) {
609
609
  const n = t.width, r = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], s = a.match(r);
610
610
  if (!s)
611
611
  return null;
612
- const m = s[0], u = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(u) ? Fr(u, (h) => h.test(m)) : (
612
+ const m = s[0], u = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(u) ? Yr(u, (h) => h.test(m)) : (
613
613
  // [TODO] -- I challenge you to fix the type
614
- Or(u, (h) => h.test(m))
614
+ Ar(u, (h) => h.test(m))
615
615
  );
616
616
  let c;
617
617
  c = e.valueCallback ? e.valueCallback(l) : l, c = t.valueCallback ? (
@@ -622,12 +622,12 @@ function o(e) {
622
622
  return { value: c, rest: p };
623
623
  };
624
624
  }
625
- function Or(e, a) {
625
+ function Ar(e, a) {
626
626
  for (const t in e)
627
627
  if (Object.prototype.hasOwnProperty.call(e, t) && a(e[t]))
628
628
  return t;
629
629
  }
630
- function Fr(e, a) {
630
+ function Yr(e, a) {
631
631
  for (let t = 0; t < e.length; t++)
632
632
  if (a(e[t]))
633
633
  return t;
@@ -644,23 +644,23 @@ function g(e) {
644
644
  return { value: m, rest: u };
645
645
  };
646
646
  }
647
- const Ar = /^(\d+)(th|st|nd|rd)?/i, Yr = /\d+/i, Ir = {
647
+ const Ir = /^(\d+)(th|st|nd|rd)?/i, Lr = /\d+/i, qr = {
648
648
  narrow: /^(b|a)/i,
649
649
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
650
650
  wide: /^(before christ|before common era|anno domini|common era)/i
651
- }, Lr = {
651
+ }, Gr = {
652
652
  any: [/^b/i, /^(a|c)/i]
653
- }, qr = {
653
+ }, Rr = {
654
654
  narrow: /^[1234]/i,
655
655
  abbreviated: /^q[1234]/i,
656
656
  wide: /^[1234](th|st|nd|rd)? quarter/i
657
- }, Gr = {
657
+ }, Qr = {
658
658
  any: [/1/i, /2/i, /3/i, /4/i]
659
- }, Rr = {
659
+ }, Kr = {
660
660
  narrow: /^[jfmasond]/i,
661
661
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
662
662
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
663
- }, Qr = {
663
+ }, Jr = {
664
664
  narrow: [
665
665
  /^j/i,
666
666
  /^f/i,
@@ -689,18 +689,18 @@ const Ar = /^(\d+)(th|st|nd|rd)?/i, Yr = /\d+/i, Ir = {
689
689
  /^n/i,
690
690
  /^d/i
691
691
  ]
692
- }, Kr = {
692
+ }, Br = {
693
693
  narrow: /^[smtwf]/i,
694
694
  short: /^(su|mo|tu|we|th|fr|sa)/i,
695
695
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
696
696
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
697
- }, Jr = {
697
+ }, Zr = {
698
698
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
699
699
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
700
- }, Br = {
700
+ }, Ur = {
701
701
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
702
702
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
703
- }, Zr = {
703
+ }, ei = {
704
704
  any: {
705
705
  am: /^a/i,
706
706
  pm: /^p/i,
@@ -711,80 +711,80 @@ const Ar = /^(\d+)(th|st|nd|rd)?/i, Yr = /\d+/i, Ir = {
711
711
  evening: /evening/i,
712
712
  night: /night/i
713
713
  }
714
- }, Pe = {
714
+ }, Me = {
715
715
  ordinalNumber: g({
716
- matchPattern: Ar,
717
- parsePattern: Yr,
716
+ matchPattern: Ir,
717
+ parsePattern: Lr,
718
718
  valueCallback: (e) => parseInt(e, 10)
719
719
  }),
720
720
  era: o({
721
- matchPatterns: Ir,
721
+ matchPatterns: qr,
722
722
  defaultMatchWidth: "wide",
723
- parsePatterns: Lr,
723
+ parsePatterns: Gr,
724
724
  defaultParseWidth: "any"
725
725
  }),
726
726
  quarter: o({
727
- matchPatterns: qr,
727
+ matchPatterns: Rr,
728
728
  defaultMatchWidth: "wide",
729
- parsePatterns: Gr,
729
+ parsePatterns: Qr,
730
730
  defaultParseWidth: "any",
731
731
  valueCallback: (e) => e + 1
732
732
  }),
733
733
  month: o({
734
- matchPatterns: Rr,
734
+ matchPatterns: Kr,
735
735
  defaultMatchWidth: "wide",
736
- parsePatterns: Qr,
736
+ parsePatterns: Jr,
737
737
  defaultParseWidth: "any"
738
738
  }),
739
739
  day: o({
740
- matchPatterns: Kr,
740
+ matchPatterns: Br,
741
741
  defaultMatchWidth: "wide",
742
- parsePatterns: Jr,
742
+ parsePatterns: Zr,
743
743
  defaultParseWidth: "any"
744
744
  }),
745
745
  dayPeriod: o({
746
- matchPatterns: Br,
746
+ matchPatterns: Ur,
747
747
  defaultMatchWidth: "any",
748
- parsePatterns: Zr,
748
+ parsePatterns: ei,
749
749
  defaultParseWidth: "any"
750
750
  })
751
751
  }, $t = {
752
752
  code: "en-US",
753
753
  formatDistance: De,
754
- formatLong: Sr,
755
- formatRelative: we,
756
- localize: ye,
757
- match: Pe,
754
+ formatLong: Tr,
755
+ formatRelative: ye,
756
+ localize: Pe,
757
+ match: Me,
758
758
  options: {
759
759
  weekStartsOn: 0,
760
760
  firstWeekContainsDate: 1
761
761
  }
762
762
  };
763
- function Ur(e, a) {
763
+ function ti(e, a) {
764
764
  const t = S(e, a == null ? void 0 : a.in);
765
- return Fa(t, Ya(t)) + 1;
766
- }
767
- function La(e, a) {
768
- const t = S(e, a == null ? void 0 : a.in), n = +Ye(t) - +cr(t);
769
- return Math.round(n / Ha) + 1;
765
+ return Aa(t, Ia(t)) + 1;
770
766
  }
771
767
  function qa(e, a) {
768
+ const t = S(e, a == null ? void 0 : a.in), n = +Ye(t) - +fr(t);
769
+ return Math.round(n / Xa) + 1;
770
+ }
771
+ function Ga(e, a) {
772
772
  var p, h, b, w;
773
773
  const t = S(e, a == null ? void 0 : a.in), n = t.getFullYear(), r = Le(), s = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((h = (p = a == null ? void 0 : a.locale) == null ? void 0 : p.options) == null ? void 0 : h.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((w = (b = r.locale) == null ? void 0 : b.options) == null ? void 0 : w.firstWeekContainsDate) ?? 1, m = O((a == null ? void 0 : a.in) || e, 0);
774
774
  m.setFullYear(n + 1, 0, s), m.setHours(0, 0, 0, 0);
775
- const u = ve(m, a), l = O((a == null ? void 0 : a.in) || e, 0);
775
+ const u = we(m, a), l = O((a == null ? void 0 : a.in) || e, 0);
776
776
  l.setFullYear(n, 0, s), l.setHours(0, 0, 0, 0);
777
- const c = ve(l, a);
777
+ const c = we(l, a);
778
778
  return +t >= +u ? n + 1 : +t >= +c ? n : n - 1;
779
779
  }
780
- function ei(e, a) {
780
+ function ai(e, a) {
781
781
  var u, l, c, p;
782
- const t = Le(), n = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((l = (u = a == null ? void 0 : a.locale) == null ? void 0 : u.options) == null ? void 0 : l.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((p = (c = t.locale) == null ? void 0 : c.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, r = qa(e, a), s = O((a == null ? void 0 : a.in) || e, 0);
783
- return s.setFullYear(r, 0, n), s.setHours(0, 0, 0, 0), ve(s, a);
782
+ const t = Le(), n = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((l = (u = a == null ? void 0 : a.locale) == null ? void 0 : u.options) == null ? void 0 : l.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((p = (c = t.locale) == null ? void 0 : c.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, r = Ga(e, a), s = O((a == null ? void 0 : a.in) || e, 0);
783
+ return s.setFullYear(r, 0, n), s.setHours(0, 0, 0, 0), we(s, a);
784
784
  }
785
- function Ga(e, a) {
786
- const t = S(e, a == null ? void 0 : a.in), n = +ve(t, a) - +ei(t, a);
787
- return Math.round(n / Ha) + 1;
785
+ function Ra(e, a) {
786
+ const t = S(e, a == null ? void 0 : a.in), n = +we(t, a) - +ai(t, a);
787
+ return Math.round(n / Xa) + 1;
788
788
  }
789
789
  function V(e, a) {
790
790
  const t = e < 0 ? "-" : "", n = Math.abs(e).toString().padStart(a, "0");
@@ -880,7 +880,7 @@ const pe = {
880
880
  },
881
881
  // Local week-numbering year
882
882
  Y: function(e, a, t, n) {
883
- const r = qa(e, n), s = r > 0 ? r : 1 - r;
883
+ const r = Ga(e, n), s = r > 0 ? r : 1 - r;
884
884
  if (a === "YY") {
885
885
  const m = s % 100;
886
886
  return V(m, 2);
@@ -889,7 +889,7 @@ const pe = {
889
889
  },
890
890
  // ISO week-numbering year
891
891
  R: function(e, a) {
892
- const t = Oa(e);
892
+ const t = Fa(e);
893
893
  return V(t, a.length);
894
894
  },
895
895
  // Extended year. This is a single number designating the year of this calendar system.
@@ -1034,12 +1034,12 @@ const pe = {
1034
1034
  },
1035
1035
  // Local week of year
1036
1036
  w: function(e, a, t, n) {
1037
- const r = Ga(e, n);
1037
+ const r = Ra(e, n);
1038
1038
  return a === "wo" ? t.ordinalNumber(r, { unit: "week" }) : V(r, a.length);
1039
1039
  },
1040
1040
  // ISO week of year
1041
1041
  I: function(e, a, t) {
1042
- const n = La(e);
1042
+ const n = qa(e);
1043
1043
  return a === "Io" ? t.ordinalNumber(n, { unit: "week" }) : V(n, a.length);
1044
1044
  },
1045
1045
  // Day of the month
@@ -1048,7 +1048,7 @@ const pe = {
1048
1048
  },
1049
1049
  // Day of year
1050
1050
  D: function(e, a, t) {
1051
- const n = Ur(e);
1051
+ const n = ti(e);
1052
1052
  return a === "Do" ? t.ordinalNumber(n, { unit: "dayOfYear" }) : V(n, a.length);
1053
1053
  },
1054
1054
  // Day of week
@@ -1429,7 +1429,7 @@ const Zt = (e, a) => {
1429
1429
  default:
1430
1430
  return a.date({ width: "full" });
1431
1431
  }
1432
- }, Ra = (e, a) => {
1432
+ }, Qa = (e, a) => {
1433
1433
  switch (e) {
1434
1434
  case "p":
1435
1435
  return a.time({ width: "short" });
@@ -1441,7 +1441,7 @@ const Zt = (e, a) => {
1441
1441
  default:
1442
1442
  return a.time({ width: "full" });
1443
1443
  }
1444
- }, ti = (e, a) => {
1444
+ }, ni = (e, a) => {
1445
1445
  const t = e.match(/(P+)(p+)?/) || [], n = t[1], r = t[2];
1446
1446
  if (!r)
1447
1447
  return Zt(e, a);
@@ -1461,47 +1461,47 @@ const Zt = (e, a) => {
1461
1461
  s = a.dateTime({ width: "full" });
1462
1462
  break;
1463
1463
  }
1464
- return s.replace("{{date}}", Zt(n, a)).replace("{{time}}", Ra(r, a));
1465
- }, ai = {
1466
- p: Ra,
1467
- P: ti
1468
- }, ni = /^D+$/, ri = /^Y+$/, ii = ["D", "DD", "YY", "YYYY"];
1469
- function oi(e) {
1470
- return ni.test(e);
1464
+ return s.replace("{{date}}", Zt(n, a)).replace("{{time}}", Qa(r, a));
1465
+ }, ri = {
1466
+ p: Qa,
1467
+ P: ni
1468
+ }, ii = /^D+$/, oi = /^Y+$/, si = ["D", "DD", "YY", "YYYY"];
1469
+ function di(e) {
1470
+ return ii.test(e);
1471
1471
  }
1472
- function si(e) {
1473
- return ri.test(e);
1472
+ function ui(e) {
1473
+ return oi.test(e);
1474
1474
  }
1475
- function di(e, a, t) {
1476
- const n = ui(e, a, t);
1477
- if (console.warn(n), ii.includes(e)) throw new RangeError(n);
1475
+ function mi(e, a, t) {
1476
+ const n = li(e, a, t);
1477
+ if (console.warn(n), si.includes(e)) throw new RangeError(n);
1478
1478
  }
1479
- function ui(e, a, t) {
1479
+ function li(e, a, t) {
1480
1480
  const n = e[0] === "Y" ? "years" : "days of the month";
1481
1481
  return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
1482
1482
  }
1483
- const mi = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, li = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ci = /^'([^]*?)'?$/, hi = /''/g, fi = /[a-zA-Z]/;
1484
- function gi(e, a, t) {
1483
+ const ci = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, hi = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, fi = /^'([^]*?)'?$/, gi = /''/g, pi = /[a-zA-Z]/;
1484
+ function bi(e, a, t) {
1485
1485
  var p, h, b, w, k, j, M, $;
1486
1486
  const n = Le(), r = (t == null ? void 0 : t.locale) ?? n.locale ?? $t, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((h = (p = t == null ? void 0 : t.locale) == null ? void 0 : p.options) == null ? void 0 : h.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((w = (b = n.locale) == null ? void 0 : b.options) == null ? void 0 : w.firstWeekContainsDate) ?? 1, m = (t == null ? void 0 : t.weekStartsOn) ?? ((j = (k = t == null ? void 0 : t.locale) == null ? void 0 : k.options) == null ? void 0 : j.weekStartsOn) ?? n.weekStartsOn ?? (($ = (M = n.locale) == null ? void 0 : M.options) == null ? void 0 : $.weekStartsOn) ?? 0, u = S(e, t == null ? void 0 : t.in);
1487
- if (!vr(u))
1487
+ if (!yr(u))
1488
1488
  throw new RangeError("Invalid time value");
1489
- let l = a.match(li).map((W) => {
1489
+ let l = a.match(hi).map((W) => {
1490
1490
  const y = W[0];
1491
1491
  if (y === "p" || y === "P") {
1492
- const N = ai[y];
1492
+ const N = ri[y];
1493
1493
  return N(W, r.formatLong);
1494
1494
  }
1495
1495
  return W;
1496
- }).join("").match(mi).map((W) => {
1496
+ }).join("").match(ci).map((W) => {
1497
1497
  if (W === "''")
1498
1498
  return { isToken: !1, value: "'" };
1499
1499
  const y = W[0];
1500
1500
  if (y === "'")
1501
- return { isToken: !1, value: pi(W) };
1501
+ return { isToken: !1, value: vi(W) };
1502
1502
  if (Kt[y])
1503
1503
  return { isToken: !0, value: W };
1504
- if (y.match(fi))
1504
+ if (y.match(pi))
1505
1505
  throw new RangeError(
1506
1506
  "Format string contains an unescaped latin alphabet character `" + y + "`"
1507
1507
  );
@@ -1516,29 +1516,29 @@ function gi(e, a, t) {
1516
1516
  return l.map((W) => {
1517
1517
  if (!W.isToken) return W.value;
1518
1518
  const y = W.value;
1519
- (!(t != null && t.useAdditionalWeekYearTokens) && si(y) || !(t != null && t.useAdditionalDayOfYearTokens) && oi(y)) && di(y, a, String(e));
1519
+ (!(t != null && t.useAdditionalWeekYearTokens) && ui(y) || !(t != null && t.useAdditionalDayOfYearTokens) && di(y)) && mi(y, a, String(e));
1520
1520
  const N = Kt[y[0]];
1521
1521
  return N(u, y, r.localize, c);
1522
1522
  }).join("");
1523
1523
  }
1524
- function pi(e) {
1525
- const a = e.match(ci);
1526
- return a ? a[1].replace(hi, "'") : e;
1524
+ function vi(e) {
1525
+ const a = e.match(fi);
1526
+ return a ? a[1].replace(gi, "'") : e;
1527
1527
  }
1528
- function bi(e, a) {
1528
+ function wi(e, a) {
1529
1529
  const t = S(e, a == null ? void 0 : a.in), n = t.getFullYear(), r = t.getMonth(), s = O(t, 0);
1530
1530
  return s.setFullYear(n, r + 1, 0), s.setHours(0, 0, 0, 0), s.getDate();
1531
1531
  }
1532
- function vi(e, a) {
1532
+ function yi(e, a) {
1533
1533
  return S(e, a == null ? void 0 : a.in).getMonth();
1534
1534
  }
1535
- function wi(e, a) {
1535
+ function Pi(e, a) {
1536
1536
  return S(e, a == null ? void 0 : a.in).getFullYear();
1537
1537
  }
1538
- function yi(e, a) {
1538
+ function Mi(e, a) {
1539
1539
  return +S(e) > +S(a);
1540
1540
  }
1541
- function Pi(e, a) {
1541
+ function ki(e, a) {
1542
1542
  return +S(e) < +S(a);
1543
1543
  }
1544
1544
  function _(e, a, t) {
@@ -1547,9 +1547,9 @@ function _(e, a, t) {
1547
1547
  e,
1548
1548
  a
1549
1549
  );
1550
- return +ve(n, t) == +ve(r, t);
1550
+ return +we(n, t) == +we(r, t);
1551
1551
  }
1552
- function Mi(e, a, t) {
1552
+ function $i(e, a, t) {
1553
1553
  const [n, r] = je(
1554
1554
  t == null ? void 0 : t.in,
1555
1555
  e,
@@ -1557,7 +1557,7 @@ function Mi(e, a, t) {
1557
1557
  );
1558
1558
  return n.getFullYear() === r.getFullYear() && n.getMonth() === r.getMonth();
1559
1559
  }
1560
- function ki(e, a, t) {
1560
+ function Wi(e, a, t) {
1561
1561
  const [n, r] = je(
1562
1562
  t == null ? void 0 : t.in,
1563
1563
  e,
@@ -1565,27 +1565,27 @@ function ki(e, a, t) {
1565
1565
  );
1566
1566
  return n.getFullYear() === r.getFullYear();
1567
1567
  }
1568
- function $i(e, a, t) {
1568
+ function ji(e, a, t) {
1569
1569
  const n = S(e, t == null ? void 0 : t.in), r = n.getFullYear(), s = n.getDate(), m = O(e, 0);
1570
1570
  m.setFullYear(r, a, 15), m.setHours(0, 0, 0, 0);
1571
- const u = bi(m);
1571
+ const u = wi(m);
1572
1572
  return n.setMonth(a, Math.min(s, u)), n;
1573
1573
  }
1574
- function Wi(e, a, t) {
1574
+ function Di(e, a, t) {
1575
1575
  const n = S(e, t == null ? void 0 : t.in);
1576
1576
  return isNaN(+n) ? O(e, NaN) : (n.setFullYear(a), n);
1577
1577
  }
1578
- const Ut = 5, ji = 4;
1579
- function Di(e, a) {
1578
+ const Ut = 5, xi = 4;
1579
+ function zi(e, a) {
1580
1580
  const t = a.startOfMonth(e), n = t.getDay() > 0 ? t.getDay() : 7, r = a.addDays(e, -n + 1), s = a.addDays(r, Ut * 7 - 1);
1581
- return a.getMonth(e) === a.getMonth(s) ? Ut : ji;
1581
+ return a.getMonth(e) === a.getMonth(s) ? Ut : xi;
1582
1582
  }
1583
- function Qa(e, a) {
1583
+ function Ka(e, a) {
1584
1584
  const t = a.startOfMonth(e), n = t.getDay();
1585
1585
  return n === 1 ? t : n === 0 ? a.addDays(t, -6) : a.addDays(t, -1 * (n - 1));
1586
1586
  }
1587
- function xi(e, a) {
1588
- const t = Qa(e, a), n = Di(e, a);
1587
+ function Si(e, a) {
1588
+ const t = Ka(e, a), n = zi(e, a);
1589
1589
  return a.addDays(t, n * 7 - 1);
1590
1590
  }
1591
1591
  class fe {
@@ -1604,89 +1604,89 @@ class fe {
1604
1604
  return (m = this.overrides) != null && m.newDate ? this.overrides.newDate(n, r, s) : this.options.timeZone ? new I(n, r, s, this.options.timeZone) : new Date(n, r, s);
1605
1605
  }, this.addDays = (n, r) => {
1606
1606
  var s;
1607
- return (s = this.overrides) != null && s.addDays ? this.overrides.addDays(n, r) : Xa(n, r);
1607
+ return (s = this.overrides) != null && s.addDays ? this.overrides.addDays(n, r) : _a(n, r);
1608
1608
  }, this.addMonths = (n, r) => {
1609
1609
  var s;
1610
- return (s = this.overrides) != null && s.addMonths ? this.overrides.addMonths(n, r) : _a(n, r);
1610
+ return (s = this.overrides) != null && s.addMonths ? this.overrides.addMonths(n, r) : Oa(n, r);
1611
1611
  }, this.addWeeks = (n, r) => {
1612
1612
  var s;
1613
- return (s = this.overrides) != null && s.addWeeks ? this.overrides.addWeeks(n, r) : hr(n, r);
1613
+ return (s = this.overrides) != null && s.addWeeks ? this.overrides.addWeeks(n, r) : gr(n, r);
1614
1614
  }, this.addYears = (n, r) => {
1615
1615
  var s;
1616
- return (s = this.overrides) != null && s.addYears ? this.overrides.addYears(n, r) : fr(n, r);
1616
+ return (s = this.overrides) != null && s.addYears ? this.overrides.addYears(n, r) : pr(n, r);
1617
1617
  }, this.differenceInCalendarDays = (n, r) => {
1618
1618
  var s;
1619
- return (s = this.overrides) != null && s.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(n, r) : Fa(n, r);
1619
+ return (s = this.overrides) != null && s.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(n, r) : Aa(n, r);
1620
1620
  }, this.differenceInCalendarMonths = (n, r) => {
1621
1621
  var s;
1622
- return (s = this.overrides) != null && s.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(n, r) : wr(n, r);
1622
+ return (s = this.overrides) != null && s.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(n, r) : Pr(n, r);
1623
1623
  }, this.eachMonthOfInterval = (n) => {
1624
1624
  var r;
1625
- return (r = this.overrides) != null && r.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(n) : Mr(n);
1625
+ return (r = this.overrides) != null && r.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(n) : $r(n);
1626
1626
  }, this.endOfBroadcastWeek = (n) => {
1627
1627
  var r;
1628
- return (r = this.overrides) != null && r.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(n) : xi(n, this);
1628
+ return (r = this.overrides) != null && r.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(n) : Si(n, this);
1629
1629
  }, this.endOfISOWeek = (n) => {
1630
1630
  var r;
1631
- return (r = this.overrides) != null && r.endOfISOWeek ? this.overrides.endOfISOWeek(n) : Wr(n);
1631
+ return (r = this.overrides) != null && r.endOfISOWeek ? this.overrides.endOfISOWeek(n) : Dr(n);
1632
1632
  }, this.endOfMonth = (n) => {
1633
1633
  var r;
1634
- return (r = this.overrides) != null && r.endOfMonth ? this.overrides.endOfMonth(n) : yr(n);
1634
+ return (r = this.overrides) != null && r.endOfMonth ? this.overrides.endOfMonth(n) : Mr(n);
1635
1635
  }, this.endOfWeek = (n, r) => {
1636
1636
  var s;
1637
- return (s = this.overrides) != null && s.endOfWeek ? this.overrides.endOfWeek(n, r) : Ia(n, this.options);
1637
+ return (s = this.overrides) != null && s.endOfWeek ? this.overrides.endOfWeek(n, r) : La(n, this.options);
1638
1638
  }, this.endOfYear = (n) => {
1639
1639
  var r;
1640
- return (r = this.overrides) != null && r.endOfYear ? this.overrides.endOfYear(n) : $r(n);
1640
+ return (r = this.overrides) != null && r.endOfYear ? this.overrides.endOfYear(n) : jr(n);
1641
1641
  }, this.format = (n, r, s) => {
1642
1642
  var u;
1643
- const m = (u = this.overrides) != null && u.format ? this.overrides.format(n, r, this.options) : gi(n, r, this.options);
1643
+ const m = (u = this.overrides) != null && u.format ? this.overrides.format(n, r, this.options) : bi(n, r, this.options);
1644
1644
  return this.options.numerals && this.options.numerals !== "latn" ? this.replaceDigits(m) : m;
1645
1645
  }, this.getISOWeek = (n) => {
1646
1646
  var r;
1647
- return (r = this.overrides) != null && r.getISOWeek ? this.overrides.getISOWeek(n) : La(n);
1647
+ return (r = this.overrides) != null && r.getISOWeek ? this.overrides.getISOWeek(n) : qa(n);
1648
1648
  }, this.getMonth = (n, r) => {
1649
1649
  var s;
1650
- return (s = this.overrides) != null && s.getMonth ? this.overrides.getMonth(n, this.options) : vi(n, this.options);
1650
+ return (s = this.overrides) != null && s.getMonth ? this.overrides.getMonth(n, this.options) : yi(n, this.options);
1651
1651
  }, this.getYear = (n, r) => {
1652
1652
  var s;
1653
- return (s = this.overrides) != null && s.getYear ? this.overrides.getYear(n, this.options) : wi(n, this.options);
1653
+ return (s = this.overrides) != null && s.getYear ? this.overrides.getYear(n, this.options) : Pi(n, this.options);
1654
1654
  }, this.getWeek = (n, r) => {
1655
1655
  var s;
1656
- return (s = this.overrides) != null && s.getWeek ? this.overrides.getWeek(n, this.options) : Ga(n, this.options);
1656
+ return (s = this.overrides) != null && s.getWeek ? this.overrides.getWeek(n, this.options) : Ra(n, this.options);
1657
1657
  }, this.isAfter = (n, r) => {
1658
1658
  var s;
1659
- return (s = this.overrides) != null && s.isAfter ? this.overrides.isAfter(n, r) : yi(n, r);
1659
+ return (s = this.overrides) != null && s.isAfter ? this.overrides.isAfter(n, r) : Mi(n, r);
1660
1660
  }, this.isBefore = (n, r) => {
1661
1661
  var s;
1662
- return (s = this.overrides) != null && s.isBefore ? this.overrides.isBefore(n, r) : Pi(n, r);
1662
+ return (s = this.overrides) != null && s.isBefore ? this.overrides.isBefore(n, r) : ki(n, r);
1663
1663
  }, this.isDate = (n) => {
1664
1664
  var r;
1665
- return (r = this.overrides) != null && r.isDate ? this.overrides.isDate(n) : Aa(n);
1665
+ return (r = this.overrides) != null && r.isDate ? this.overrides.isDate(n) : Ya(n);
1666
1666
  }, this.isSameDay = (n, r) => {
1667
1667
  var s;
1668
- return (s = this.overrides) != null && s.isSameDay ? this.overrides.isSameDay(n, r) : br(n, r);
1668
+ return (s = this.overrides) != null && s.isSameDay ? this.overrides.isSameDay(n, r) : wr(n, r);
1669
1669
  }, this.isSameMonth = (n, r) => {
1670
1670
  var s;
1671
- return (s = this.overrides) != null && s.isSameMonth ? this.overrides.isSameMonth(n, r) : Mi(n, r);
1671
+ return (s = this.overrides) != null && s.isSameMonth ? this.overrides.isSameMonth(n, r) : $i(n, r);
1672
1672
  }, this.isSameYear = (n, r) => {
1673
1673
  var s;
1674
- return (s = this.overrides) != null && s.isSameYear ? this.overrides.isSameYear(n, r) : ki(n, r);
1674
+ return (s = this.overrides) != null && s.isSameYear ? this.overrides.isSameYear(n, r) : Wi(n, r);
1675
1675
  }, this.max = (n) => {
1676
1676
  var r;
1677
- return (r = this.overrides) != null && r.max ? this.overrides.max(n) : gr(n);
1677
+ return (r = this.overrides) != null && r.max ? this.overrides.max(n) : br(n);
1678
1678
  }, this.min = (n) => {
1679
1679
  var r;
1680
- return (r = this.overrides) != null && r.min ? this.overrides.min(n) : pr(n);
1680
+ return (r = this.overrides) != null && r.min ? this.overrides.min(n) : vr(n);
1681
1681
  }, this.setMonth = (n, r) => {
1682
1682
  var s;
1683
- return (s = this.overrides) != null && s.setMonth ? this.overrides.setMonth(n, r) : $i(n, r);
1683
+ return (s = this.overrides) != null && s.setMonth ? this.overrides.setMonth(n, r) : ji(n, r);
1684
1684
  }, this.setYear = (n, r) => {
1685
1685
  var s;
1686
- return (s = this.overrides) != null && s.setYear ? this.overrides.setYear(n, r) : Wi(n, r);
1686
+ return (s = this.overrides) != null && s.setYear ? this.overrides.setYear(n, r) : Di(n, r);
1687
1687
  }, this.startOfBroadcastWeek = (n, r) => {
1688
1688
  var s;
1689
- return (s = this.overrides) != null && s.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(n, this) : Qa(n, this);
1689
+ return (s = this.overrides) != null && s.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(n, this) : Ka(n, this);
1690
1690
  }, this.startOfDay = (n) => {
1691
1691
  var r;
1692
1692
  return (r = this.overrides) != null && r.startOfDay ? this.overrides.startOfDay(n) : Ie(n);
@@ -1695,13 +1695,13 @@ class fe {
1695
1695
  return (r = this.overrides) != null && r.startOfISOWeek ? this.overrides.startOfISOWeek(n) : Ye(n);
1696
1696
  }, this.startOfMonth = (n) => {
1697
1697
  var r;
1698
- return (r = this.overrides) != null && r.startOfMonth ? this.overrides.startOfMonth(n) : kr(n);
1698
+ return (r = this.overrides) != null && r.startOfMonth ? this.overrides.startOfMonth(n) : Wr(n);
1699
1699
  }, this.startOfWeek = (n, r) => {
1700
1700
  var s;
1701
- return (s = this.overrides) != null && s.startOfWeek ? this.overrides.startOfWeek(n, this.options) : ve(n, this.options);
1701
+ return (s = this.overrides) != null && s.startOfWeek ? this.overrides.startOfWeek(n, this.options) : we(n, this.options);
1702
1702
  }, this.startOfYear = (n) => {
1703
1703
  var r;
1704
- return (r = this.overrides) != null && r.startOfYear ? this.overrides.startOfYear(n) : Ya(n);
1704
+ return (r = this.overrides) != null && r.startOfYear ? this.overrides.startOfYear(n) : Ia(n);
1705
1705
  }, this.options = { locale: $t, ...a }, this.overrides = t;
1706
1706
  }
1707
1707
  /**
@@ -1742,7 +1742,7 @@ class fe {
1742
1742
  }
1743
1743
  }
1744
1744
  const me = new fe();
1745
- class Ka {
1745
+ class Ja {
1746
1746
  constructor(a, t, n = me) {
1747
1747
  this.date = a, this.displayMonth = t, this.outside = !!(t && !n.isSameMonth(a, t)), this.dateLib = n;
1748
1748
  }
@@ -1757,12 +1757,12 @@ class Ka {
1757
1757
  return this.dateLib.isSameDay(a.date, this.date) && this.dateLib.isSameMonth(a.displayMonth, this.displayMonth);
1758
1758
  }
1759
1759
  }
1760
- class zi {
1760
+ class Ni {
1761
1761
  constructor(a, t) {
1762
1762
  this.date = a, this.weeks = t;
1763
1763
  }
1764
1764
  }
1765
- class Si {
1765
+ class Ti {
1766
1766
  constructor(a, t) {
1767
1767
  this.days = t, this.weekNumber = a;
1768
1768
  }
@@ -1772,22 +1772,22 @@ function ce(e, a, t = !1, n = me) {
1772
1772
  const { differenceInCalendarDays: m, isSameDay: u } = n;
1773
1773
  return r && s ? (m(s, r) < 0 && ([r, s] = [s, r]), m(a, r) >= (t ? 1 : 0) && m(s, a) >= (t ? 1 : 0)) : !t && s ? u(s, a) : !t && r ? u(r, a) : !1;
1774
1774
  }
1775
- function Ja(e) {
1775
+ function Ba(e) {
1776
1776
  return !!(e && typeof e == "object" && "before" in e && "after" in e);
1777
1777
  }
1778
1778
  function Wt(e) {
1779
1779
  return !!(e && typeof e == "object" && "from" in e);
1780
1780
  }
1781
- function Ba(e) {
1781
+ function Za(e) {
1782
1782
  return !!(e && typeof e == "object" && "after" in e);
1783
1783
  }
1784
- function Za(e) {
1784
+ function Ua(e) {
1785
1785
  return !!(e && typeof e == "object" && "before" in e);
1786
1786
  }
1787
- function Ua(e) {
1787
+ function en(e) {
1788
1788
  return !!(e && typeof e == "object" && "dayOfWeek" in e);
1789
1789
  }
1790
- function en(e, a) {
1790
+ function tn(e, a) {
1791
1791
  return Array.isArray(e) && e.every(a.isDate);
1792
1792
  }
1793
1793
  function he(e, a, t = me) {
@@ -1797,20 +1797,20 @@ function he(e, a, t = me) {
1797
1797
  return u;
1798
1798
  if (t.isDate(u))
1799
1799
  return r(e, u);
1800
- if (en(u, t))
1800
+ if (tn(u, t))
1801
1801
  return u.includes(e);
1802
1802
  if (Wt(u))
1803
1803
  return ce(u, e, !1, t);
1804
- if (Ua(u))
1804
+ if (en(u))
1805
1805
  return Array.isArray(u.dayOfWeek) ? u.dayOfWeek.includes(e.getDay()) : u.dayOfWeek === e.getDay();
1806
- if (Ja(u)) {
1806
+ if (Ba(u)) {
1807
1807
  const l = s(u.before, e), c = s(u.after, e), p = l > 0, h = c < 0;
1808
1808
  return m(u.before, u.after) ? h && p : p || h;
1809
1809
  }
1810
- return Ba(u) ? s(e, u.after) > 0 : Za(u) ? s(u.before, e) > 0 : typeof u == "function" ? u(e) : !1;
1810
+ return Za(u) ? s(e, u.after) > 0 : Ua(u) ? s(u.before, e) > 0 : typeof u == "function" ? u(e) : !1;
1811
1811
  });
1812
1812
  }
1813
- function Ni(e, a, t, n, r) {
1813
+ function Ci(e, a, t, n, r) {
1814
1814
  const { disabled: s, hidden: m, modifiers: u, showOutsideDays: l, broadcastCalendar: c, today: p } = a, { isSameDay: h, isSameMonth: b, startOfMonth: w, isBefore: k, endOfMonth: j, isAfter: M } = r, $ = t && w(t), W = n && j(n), y = {
1815
1815
  [X.focused]: [],
1816
1816
  [X.outside]: [],
@@ -1847,16 +1847,16 @@ function Ni(e, a, t, n, r) {
1847
1847
  };
1848
1848
  };
1849
1849
  }
1850
- function Ti(e, a, t = {}) {
1850
+ function Ei(e, a, t = {}) {
1851
1851
  return Object.entries(e).filter(([, r]) => r === !0).reduce((r, [s]) => (t[s] ? r.push(t[s]) : a[X[s]] ? r.push(a[X[s]]) : a[oe[s]] && r.push(a[oe[s]]), r), [a[P.Day]]);
1852
1852
  }
1853
- function Ci(e) {
1853
+ function Vi(e) {
1854
1854
  return v.createElement("button", { ...e });
1855
1855
  }
1856
- function Ei(e) {
1856
+ function Hi(e) {
1857
1857
  return v.createElement("span", { ...e });
1858
1858
  }
1859
- function Vi(e) {
1859
+ function Xi(e) {
1860
1860
  const { size: a = 24, orientation: t = "left", className: n } = e;
1861
1861
  return v.createElement(
1862
1862
  "svg",
@@ -1867,18 +1867,18 @@ function Vi(e) {
1867
1867
  t === "right" && v.createElement("polygon", { points: "8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20" })
1868
1868
  );
1869
1869
  }
1870
- function Hi(e) {
1870
+ function _i(e) {
1871
1871
  const { day: a, modifiers: t, ...n } = e;
1872
1872
  return v.createElement("td", { ...n });
1873
1873
  }
1874
- function Xi(e) {
1874
+ function Oi(e) {
1875
1875
  const { day: a, modifiers: t, ...n } = e, r = v.useRef(null);
1876
1876
  return v.useEffect(() => {
1877
1877
  var s;
1878
1878
  t.focused && ((s = r.current) == null || s.focus());
1879
1879
  }, [t.focused]), v.createElement("button", { ref: r, ...n });
1880
1880
  }
1881
- function _i(e) {
1881
+ function Fi(e) {
1882
1882
  const { options: a, className: t, components: n, classNames: r, ...s } = e, m = [r[P.Dropdown], t].join(" "), u = a == null ? void 0 : a.find(({ value: l }) => l === s.value);
1883
1883
  return v.createElement(
1884
1884
  "span",
@@ -1892,38 +1892,38 @@ function _i(e) {
1892
1892
  )
1893
1893
  );
1894
1894
  }
1895
- function Oi(e) {
1895
+ function Ai(e) {
1896
1896
  return v.createElement("div", { ...e });
1897
1897
  }
1898
- function Fi(e) {
1898
+ function Yi(e) {
1899
1899
  return v.createElement("div", { ...e });
1900
1900
  }
1901
- function Ai(e) {
1901
+ function Ii(e) {
1902
1902
  const { calendarMonth: a, displayIndex: t, ...n } = e;
1903
1903
  return v.createElement("div", { ...n }, e.children);
1904
1904
  }
1905
- function Yi(e) {
1905
+ function Li(e) {
1906
1906
  const { calendarMonth: a, displayIndex: t, ...n } = e;
1907
1907
  return v.createElement("div", { ...n });
1908
1908
  }
1909
- function Ii(e) {
1909
+ function qi(e) {
1910
1910
  return v.createElement("table", { ...e });
1911
1911
  }
1912
- function Li(e) {
1912
+ function Gi(e) {
1913
1913
  return v.createElement("div", { ...e });
1914
1914
  }
1915
- const tn = nr(void 0);
1915
+ const an = ir(void 0);
1916
1916
  function qe() {
1917
- const e = rr(tn);
1917
+ const e = or(an);
1918
1918
  if (e === void 0)
1919
1919
  throw new Error("useDayPicker() must be used within a custom component.");
1920
1920
  return e;
1921
1921
  }
1922
- function qi(e) {
1922
+ function Ri(e) {
1923
1923
  const { components: a } = qe();
1924
1924
  return v.createElement(a.Dropdown, { ...e });
1925
1925
  }
1926
- function Gi(e) {
1926
+ function Qi(e) {
1927
1927
  const { onPreviousClick: a, onNextClick: t, previousMonth: n, nextMonth: r, ...s } = e, { components: m, classNames: u, labels: { labelPrevious: l, labelNext: c } } = qe(), p = ee((b) => {
1928
1928
  r && (t == null || t(b));
1929
1929
  }, [r, t]), h = ee((b) => {
@@ -1944,88 +1944,88 @@ function Gi(e) {
1944
1944
  )
1945
1945
  );
1946
1946
  }
1947
- function Ri(e) {
1947
+ function Ki(e) {
1948
1948
  const { components: a } = qe();
1949
1949
  return v.createElement(a.Button, { ...e });
1950
1950
  }
1951
- function Qi(e) {
1951
+ function Ji(e) {
1952
1952
  return v.createElement("option", { ...e });
1953
1953
  }
1954
- function Ki(e) {
1954
+ function Bi(e) {
1955
1955
  const { components: a } = qe();
1956
1956
  return v.createElement(a.Button, { ...e });
1957
1957
  }
1958
- function Ji(e) {
1958
+ function Zi(e) {
1959
1959
  const { rootRef: a, ...t } = e;
1960
1960
  return v.createElement("div", { ...t, ref: a });
1961
1961
  }
1962
- function Bi(e) {
1962
+ function Ui(e) {
1963
1963
  return v.createElement("select", { ...e });
1964
1964
  }
1965
- function Zi(e) {
1965
+ function eo(e) {
1966
1966
  const { week: a, ...t } = e;
1967
1967
  return v.createElement("tr", { ...t });
1968
1968
  }
1969
- function Ui(e) {
1969
+ function to(e) {
1970
1970
  return v.createElement("th", { ...e });
1971
1971
  }
1972
- function eo(e) {
1972
+ function ao(e) {
1973
1973
  return v.createElement(
1974
1974
  "thead",
1975
1975
  { "aria-hidden": !0 },
1976
1976
  v.createElement("tr", { ...e })
1977
1977
  );
1978
1978
  }
1979
- function to(e) {
1979
+ function no(e) {
1980
1980
  const { week: a, ...t } = e;
1981
1981
  return v.createElement("th", { ...t });
1982
1982
  }
1983
- function ao(e) {
1983
+ function ro(e) {
1984
1984
  return v.createElement("th", { ...e });
1985
1985
  }
1986
- function no(e) {
1986
+ function io(e) {
1987
1987
  return v.createElement("tbody", { ...e });
1988
1988
  }
1989
- function ro(e) {
1989
+ function oo(e) {
1990
1990
  const { components: a } = qe();
1991
1991
  return v.createElement(a.Dropdown, { ...e });
1992
1992
  }
1993
- const io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1993
+ const so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1994
1994
  __proto__: null,
1995
- Button: Ci,
1996
- CaptionLabel: Ei,
1997
- Chevron: Vi,
1998
- Day: Hi,
1999
- DayButton: Xi,
2000
- Dropdown: _i,
2001
- DropdownNav: Oi,
2002
- Footer: Fi,
2003
- Month: Ai,
2004
- MonthCaption: Yi,
2005
- MonthGrid: Ii,
2006
- Months: Li,
2007
- MonthsDropdown: qi,
2008
- Nav: Gi,
2009
- NextMonthButton: Ri,
2010
- Option: Qi,
2011
- PreviousMonthButton: Ki,
2012
- Root: Ji,
2013
- Select: Bi,
2014
- Week: Zi,
2015
- WeekNumber: to,
2016
- WeekNumberHeader: ao,
2017
- Weekday: Ui,
2018
- Weekdays: eo,
2019
- Weeks: no,
2020
- YearsDropdown: ro
1995
+ Button: Vi,
1996
+ CaptionLabel: Hi,
1997
+ Chevron: Xi,
1998
+ Day: _i,
1999
+ DayButton: Oi,
2000
+ Dropdown: Fi,
2001
+ DropdownNav: Ai,
2002
+ Footer: Yi,
2003
+ Month: Ii,
2004
+ MonthCaption: Li,
2005
+ MonthGrid: qi,
2006
+ Months: Gi,
2007
+ MonthsDropdown: Ri,
2008
+ Nav: Qi,
2009
+ NextMonthButton: Ki,
2010
+ Option: Ji,
2011
+ PreviousMonthButton: Bi,
2012
+ Root: Zi,
2013
+ Select: Ui,
2014
+ Week: eo,
2015
+ WeekNumber: no,
2016
+ WeekNumberHeader: ro,
2017
+ Weekday: to,
2018
+ Weekdays: ao,
2019
+ Weeks: io,
2020
+ YearsDropdown: oo
2021
2021
  }, Symbol.toStringTag, { value: "Module" }));
2022
- function oo(e) {
2022
+ function uo(e) {
2023
2023
  return {
2024
- ...io,
2024
+ ...so,
2025
2025
  ...e
2026
2026
  };
2027
2027
  }
2028
- function so(e) {
2028
+ function mo(e) {
2029
2029
  const a = {
2030
2030
  "data-mode": e.mode ?? void 0,
2031
2031
  "data-required": "required" in e ? e.required : void 0,
@@ -2038,7 +2038,7 @@ function so(e) {
2038
2038
  t.startsWith("data-") && (a[t] = n);
2039
2039
  }), a;
2040
2040
  }
2041
- function an() {
2041
+ function nn() {
2042
2042
  const e = {};
2043
2043
  for (const a in P)
2044
2044
  e[P[a]] = `rdp-${P[a]}`;
@@ -2050,47 +2050,47 @@ function an() {
2050
2050
  e[U[a]] = `rdp-${U[a]}`;
2051
2051
  return e;
2052
2052
  }
2053
- function nn(e, a, t) {
2053
+ function rn(e, a, t) {
2054
2054
  return (t ?? new fe(a)).format(e, "LLLL y");
2055
2055
  }
2056
- const uo = nn;
2057
- function mo(e, a, t) {
2056
+ const lo = rn;
2057
+ function co(e, a, t) {
2058
2058
  return (t ?? new fe(a)).format(e, "d");
2059
2059
  }
2060
- function lo(e, a = me) {
2060
+ function ho(e, a = me) {
2061
2061
  return a.format(e, "LLLL");
2062
2062
  }
2063
- function co(e, a = me) {
2063
+ function fo(e, a = me) {
2064
2064
  return e < 10 ? a.formatNumber(`0${e.toLocaleString()}`) : a.formatNumber(`${e.toLocaleString()}`);
2065
2065
  }
2066
- function ho() {
2066
+ function go() {
2067
2067
  return "";
2068
2068
  }
2069
- function fo(e, a, t) {
2069
+ function po(e, a, t) {
2070
2070
  return (t ?? new fe(a)).format(e, "cccccc");
2071
2071
  }
2072
- function rn(e, a = me) {
2072
+ function on(e, a = me) {
2073
2073
  return a.format(e, "yyyy");
2074
2074
  }
2075
- const go = rn, po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2075
+ const bo = on, vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2076
2076
  __proto__: null,
2077
- formatCaption: nn,
2078
- formatDay: mo,
2079
- formatMonthCaption: uo,
2080
- formatMonthDropdown: lo,
2081
- formatWeekNumber: co,
2082
- formatWeekNumberHeader: ho,
2083
- formatWeekdayName: fo,
2084
- formatYearCaption: go,
2085
- formatYearDropdown: rn
2077
+ formatCaption: rn,
2078
+ formatDay: co,
2079
+ formatMonthCaption: lo,
2080
+ formatMonthDropdown: ho,
2081
+ formatWeekNumber: fo,
2082
+ formatWeekNumberHeader: go,
2083
+ formatWeekdayName: po,
2084
+ formatYearCaption: bo,
2085
+ formatYearDropdown: on
2086
2086
  }, Symbol.toStringTag, { value: "Module" }));
2087
- function bo(e) {
2087
+ function wo(e) {
2088
2088
  return e != null && e.formatMonthCaption && !e.formatCaption && (e.formatCaption = e.formatMonthCaption), e != null && e.formatYearCaption && !e.formatYearDropdown && (e.formatYearDropdown = e.formatYearCaption), {
2089
- ...po,
2089
+ ...vo,
2090
2090
  ...e
2091
2091
  };
2092
2092
  }
2093
- function vo(e, a, t, n, r) {
2093
+ function yo(e, a, t, n, r) {
2094
2094
  const { startOfMonth: s, startOfYear: m, endOfYear: u, eachMonthOfInterval: l, getMonth: c } = r;
2095
2095
  return l({
2096
2096
  start: m(e),
@@ -2100,7 +2100,7 @@ function vo(e, a, t, n, r) {
2100
2100
  return { value: k, label: w, disabled: j };
2101
2101
  });
2102
2102
  }
2103
- function wo(e, a = {}, t = {}) {
2103
+ function Po(e, a = {}, t = {}) {
2104
2104
  let n = { ...a == null ? void 0 : a[P.Day] };
2105
2105
  return Object.entries(e).filter(([, r]) => r === !0).forEach(([r]) => {
2106
2106
  n = {
@@ -2109,7 +2109,7 @@ function wo(e, a = {}, t = {}) {
2109
2109
  };
2110
2110
  }), n;
2111
2111
  }
2112
- function yo(e, a, t) {
2112
+ function Mo(e, a, t) {
2113
2113
  const n = e.today(), r = a ? e.startOfISOWeek(n) : e.startOfWeek(n), s = [];
2114
2114
  for (let m = 0; m < 7; m++) {
2115
2115
  const u = e.addDays(r, m);
@@ -2117,7 +2117,7 @@ function yo(e, a, t) {
2117
2117
  }
2118
2118
  return s;
2119
2119
  }
2120
- function Po(e, a, t, n) {
2120
+ function ko(e, a, t, n) {
2121
2121
  if (!e || !a)
2122
2122
  return;
2123
2123
  const { startOfYear: r, endOfYear: s, addYears: m, getYear: u, isBefore: l, isSameYear: c } = n, p = r(e), h = s(a), b = [];
@@ -2133,64 +2133,64 @@ function Po(e, a, t, n) {
2133
2133
  };
2134
2134
  });
2135
2135
  }
2136
- function on(e, a, t) {
2136
+ function sn(e, a, t) {
2137
2137
  return (t ?? new fe(a)).format(e, "LLLL y");
2138
2138
  }
2139
- const Mo = on;
2140
- function ko(e, a, t, n) {
2139
+ const $o = sn;
2140
+ function Wo(e, a, t, n) {
2141
2141
  let r = (n ?? new fe(t)).format(e, "PPPP");
2142
2142
  return a != null && a.today && (r = `Today, ${r}`), r;
2143
2143
  }
2144
- function sn(e, a, t, n) {
2144
+ function dn(e, a, t, n) {
2145
2145
  let r = (n ?? new fe(t)).format(e, "PPPP");
2146
2146
  return a.today && (r = `Today, ${r}`), a.selected && (r = `${r}, selected`), r;
2147
2147
  }
2148
- const $o = sn;
2149
- function Wo() {
2148
+ const jo = dn;
2149
+ function Do() {
2150
2150
  return "";
2151
2151
  }
2152
- function jo(e) {
2152
+ function xo(e) {
2153
2153
  return "Choose the Month";
2154
2154
  }
2155
- function Do(e) {
2155
+ function zo(e) {
2156
2156
  return "Go to the Next Month";
2157
2157
  }
2158
- function xo(e) {
2158
+ function So(e) {
2159
2159
  return "Go to the Previous Month";
2160
2160
  }
2161
- function zo(e, a, t) {
2161
+ function No(e, a, t) {
2162
2162
  return (t ?? new fe(a)).format(e, "cccc");
2163
2163
  }
2164
- function So(e, a) {
2164
+ function To(e, a) {
2165
2165
  return `Week ${e}`;
2166
2166
  }
2167
- function No(e) {
2167
+ function Co(e) {
2168
2168
  return "Week Number";
2169
2169
  }
2170
- function To(e) {
2170
+ function Eo(e) {
2171
2171
  return "Choose the Year";
2172
2172
  }
2173
- const Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2173
+ const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2174
2174
  __proto__: null,
2175
- labelCaption: Mo,
2176
- labelDay: $o,
2177
- labelDayButton: sn,
2178
- labelGrid: on,
2179
- labelGridcell: ko,
2180
- labelMonthDropdown: jo,
2181
- labelNav: Wo,
2182
- labelNext: Do,
2183
- labelPrevious: xo,
2184
- labelWeekNumber: So,
2185
- labelWeekNumberHeader: No,
2186
- labelWeekday: zo,
2187
- labelYearDropdown: To
2175
+ labelCaption: $o,
2176
+ labelDay: jo,
2177
+ labelDayButton: dn,
2178
+ labelGrid: sn,
2179
+ labelGridcell: Wo,
2180
+ labelMonthDropdown: xo,
2181
+ labelNav: Do,
2182
+ labelNext: zo,
2183
+ labelPrevious: So,
2184
+ labelWeekNumber: To,
2185
+ labelWeekNumberHeader: Co,
2186
+ labelWeekday: No,
2187
+ labelYearDropdown: Eo
2188
2188
  }, Symbol.toStringTag, { value: "Module" })), Ge = (e) => e instanceof HTMLElement ? e : null, lt = (e) => [
2189
2189
  ...e.querySelectorAll("[data-animated-month]") ?? []
2190
- ], Eo = (e) => Ge(e.querySelector("[data-animated-month]")), ct = (e) => Ge(e.querySelector("[data-animated-caption]")), ht = (e) => Ge(e.querySelector("[data-animated-weeks]")), Vo = (e) => Ge(e.querySelector("[data-animated-nav]")), Ho = (e) => Ge(e.querySelector("[data-animated-weekdays]"));
2191
- function Xo(e, a, { classNames: t, months: n, focused: r, dateLib: s }) {
2190
+ ], Ho = (e) => Ge(e.querySelector("[data-animated-month]")), ct = (e) => Ge(e.querySelector("[data-animated-caption]")), ht = (e) => Ge(e.querySelector("[data-animated-weeks]")), Xo = (e) => Ge(e.querySelector("[data-animated-nav]")), _o = (e) => Ge(e.querySelector("[data-animated-weekdays]"));
2191
+ function Oo(e, a, { classNames: t, months: n, focused: r, dateLib: s }) {
2192
2192
  const m = Ue(null), u = Ue(n), l = Ue(!1);
2193
- ir(() => {
2193
+ sr(() => {
2194
2194
  const c = u.current;
2195
2195
  if (u.current = n, !a || !e.current || // safety check because the ref can be set to anything by consumers
2196
2196
  !(e.current instanceof HTMLElement) || // validation required for the animation to work as expected
@@ -2200,7 +2200,7 @@ function Xo(e, a, { classNames: t, months: n, focused: r, dateLib: s }) {
2200
2200
  if (j instanceof HTMLElement ? (lt(j).forEach((y) => {
2201
2201
  if (!(y instanceof HTMLElement))
2202
2202
  return;
2203
- const N = Eo(y);
2203
+ const N = Ho(y);
2204
2204
  N && y.contains(N) && y.removeChild(N);
2205
2205
  const f = ct(y);
2206
2206
  f && f.classList.remove(b);
@@ -2212,7 +2212,7 @@ function Xo(e, a, { classNames: t, months: n, focused: r, dateLib: s }) {
2212
2212
  const M = k instanceof HTMLElement ? lt(k) : [], $ = lt(e.current);
2213
2213
  if ($ && $.every((W) => W instanceof HTMLElement) && M && M.every((W) => W instanceof HTMLElement)) {
2214
2214
  l.current = !0, e.current.style.isolation = "isolate";
2215
- const W = Vo(e.current);
2215
+ const W = Xo(e.current);
2216
2216
  W && (W.style.zIndex = "1"), $.forEach((y, N) => {
2217
2217
  const f = M[N];
2218
2218
  if (!f)
@@ -2226,7 +2226,7 @@ function Xo(e, a, { classNames: t, months: n, focused: r, dateLib: s }) {
2226
2226
  l.current = !1, e.current && (e.current.style.isolation = ""), W && (W.style.zIndex = ""), x && x.classList.remove(b), D && D.classList.remove(w), y.style.position = "", y.style.overflow = "", y.contains(f) && y.removeChild(f);
2227
2227
  };
2228
2228
  f.style.pointerEvents = "none", f.style.position = "absolute", f.style.overflow = "hidden", f.setAttribute("aria-hidden", "true");
2229
- const F = Ho(f);
2229
+ const F = _o(f);
2230
2230
  F && (F.style.opacity = "0");
2231
2231
  const L = ct(f);
2232
2232
  L && (L.classList.add(h ? t[U.caption_before_exit] : t[U.caption_after_exit]), L.addEventListener("animationend", T));
@@ -2236,7 +2236,7 @@ function Xo(e, a, { classNames: t, months: n, focused: r, dateLib: s }) {
2236
2236
  }
2237
2237
  });
2238
2238
  }
2239
- function _o(e, a, t, n) {
2239
+ function Fo(e, a, t, n) {
2240
2240
  const r = e[0], s = e[e.length - 1], { ISOWeek: m, fixedWeeks: u, broadcastCalendar: l } = t ?? {}, { addDays: c, differenceInCalendarDays: p, differenceInCalendarMonths: h, endOfBroadcastWeek: b, endOfISOWeek: w, endOfMonth: k, endOfWeek: j, isAfter: M, startOfBroadcastWeek: $, startOfISOWeek: W, startOfWeek: y } = n, N = l ? $(r, n) : m ? W(r) : y(r), f = l ? b(s) : m ? w(k(s)) : j(k(s)), x = p(f, N), D = h(s, r) + 1, T = [];
2241
2241
  for (let q = 0; q <= x; q++) {
2242
2242
  const ae = c(N, q);
@@ -2254,14 +2254,14 @@ function _o(e, a, t, n) {
2254
2254
  }
2255
2255
  return T;
2256
2256
  }
2257
- function Oo(e) {
2257
+ function Ao(e) {
2258
2258
  const a = [];
2259
2259
  return e.reduce((t, n) => {
2260
2260
  const r = n.weeks.reduce((s, m) => [...s, ...m.days], a);
2261
2261
  return [...t, ...r];
2262
2262
  }, a);
2263
2263
  }
2264
- function Fo(e, a, t, n) {
2264
+ function Yo(e, a, t, n) {
2265
2265
  const { numberOfMonths: r = 1 } = t, s = [];
2266
2266
  for (let m = 0; m < r; m++) {
2267
2267
  const u = n.addMonths(e, m);
@@ -2281,7 +2281,7 @@ function ea(e, a, t, n) {
2281
2281
  }
2282
2282
  return a && c(l, a) < 0 && (l = a), h(l);
2283
2283
  }
2284
- function Ao(e, a, t, n) {
2284
+ function Io(e, a, t, n) {
2285
2285
  const { addDays: r, endOfBroadcastWeek: s, endOfISOWeek: m, endOfMonth: u, endOfWeek: l, getISOWeek: c, getWeek: p, startOfBroadcastWeek: h, startOfISOWeek: b, startOfWeek: w } = n, k = e.reduce((j, M) => {
2286
2286
  const $ = t.broadcastCalendar ? h(M, n) : t.ISOWeek ? b(M) : w(M), W = t.broadcastCalendar ? s(M) : t.ISOWeek ? m(u(M)) : l(u(M)), y = a.filter((D) => D >= $ && D <= W), N = t.broadcastCalendar ? 35 : 42;
2287
2287
  if (t.fixedWeeks && y.length < N) {
@@ -2292,14 +2292,14 @@ function Ao(e, a, t, n) {
2292
2292
  y.push(...D);
2293
2293
  }
2294
2294
  const f = y.reduce((D, T) => {
2295
- const F = t.ISOWeek ? c(T) : p(T), L = D.find((ae) => ae.weekNumber === F), q = new Ka(T, M, n);
2296
- return L ? L.days.push(q) : D.push(new Si(F, [q])), D;
2297
- }, []), x = new zi(M, f);
2295
+ const F = t.ISOWeek ? c(T) : p(T), L = D.find((ae) => ae.weekNumber === F), q = new Ja(T, M, n);
2296
+ return L ? L.days.push(q) : D.push(new Ti(F, [q])), D;
2297
+ }, []), x = new Ni(M, f);
2298
2298
  return j.push(x), j;
2299
2299
  }, []);
2300
2300
  return t.reverseMonths ? k.reverse() : k;
2301
2301
  }
2302
- function Yo(e, a) {
2302
+ function Lo(e, a) {
2303
2303
  let { startMonth: t, endMonth: n } = e;
2304
2304
  const { startOfYear: r, startOfDay: s, startOfMonth: m, endOfMonth: u, addYears: l, endOfYear: c, newDate: p, today: h } = a, { fromYear: b, toYear: w, fromMonth: k, toMonth: j } = e;
2305
2305
  !t && k && (t = k), !t && b && (t = a.newDate(b, 0, 1)), !n && j && (n = j), !n && w && (n = p(w, 11, 31));
@@ -2309,7 +2309,7 @@ function Yo(e, a) {
2309
2309
  n && s(n)
2310
2310
  ];
2311
2311
  }
2312
- function Io(e, a, t, n) {
2312
+ function qo(e, a, t, n) {
2313
2313
  if (t.disableNavigation)
2314
2314
  return;
2315
2315
  const { pagedNavigation: r, numberOfMonths: s = 1 } = t, { startOfMonth: m, addMonths: u, differenceInCalendarMonths: l } = n, c = r ? s : 1, p = m(e);
@@ -2318,7 +2318,7 @@ function Io(e, a, t, n) {
2318
2318
  if (!(l(a, e) < s))
2319
2319
  return u(p, c);
2320
2320
  }
2321
- function Lo(e, a, t, n) {
2321
+ function Go(e, a, t, n) {
2322
2322
  if (t.disableNavigation)
2323
2323
  return;
2324
2324
  const { pagedNavigation: r, numberOfMonths: s } = t, { startOfMonth: m, addMonths: u, differenceInCalendarMonths: l } = n, c = r ? s ?? 1 : 1, p = m(e);
@@ -2327,7 +2327,7 @@ function Lo(e, a, t, n) {
2327
2327
  if (!(l(p, a) <= 0))
2328
2328
  return u(p, -c);
2329
2329
  }
2330
- function qo(e) {
2330
+ function Ro(e) {
2331
2331
  const a = [];
2332
2332
  return e.reduce((t, n) => [...t, ...n.weeks], a);
2333
2333
  }
@@ -2335,17 +2335,17 @@ function at(e, a) {
2335
2335
  const [t, n] = tt(e);
2336
2336
  return [a === void 0 ? t : a, n];
2337
2337
  }
2338
- function Go(e, a) {
2339
- const [t, n] = Yo(e, a), { startOfMonth: r, endOfMonth: s } = a, m = ea(e, t, n, a), [u, l] = at(
2338
+ function Qo(e, a) {
2339
+ const [t, n] = Lo(e, a), { startOfMonth: r, endOfMonth: s } = a, m = ea(e, t, n, a), [u, l] = at(
2340
2340
  m,
2341
2341
  // initialMonth is always computed from props.month if provided
2342
2342
  e.month ? m : void 0
2343
2343
  );
2344
- Ea(() => {
2344
+ Va(() => {
2345
2345
  const x = ea(e, t, n, a);
2346
2346
  l(x);
2347
2347
  }, [e.timeZone]);
2348
- const c = Fo(u, n, e, a), p = _o(c, e.endMonth ? s(e.endMonth) : void 0, e, a), h = Ao(c, p, e, a), b = qo(h), w = Oo(h), k = Lo(u, t, e, a), j = Io(u, n, e, a), { disableNavigation: M, onMonthChange: $ } = e, W = (x) => b.some((D) => D.days.some((T) => T.isEqualTo(x))), y = (x) => {
2348
+ const c = Yo(u, n, e, a), p = Fo(c, e.endMonth ? s(e.endMonth) : void 0, e, a), h = Io(c, p, e, a), b = Ro(h), w = Ao(h), k = Go(u, t, e, a), j = qo(u, n, e, a), { disableNavigation: M, onMonthChange: $ } = e, W = (x) => b.some((D) => D.days.some((T) => T.isEqualTo(x))), y = (x) => {
2349
2349
  if (M)
2350
2350
  return;
2351
2351
  let D = r(x);
@@ -2372,7 +2372,7 @@ var de;
2372
2372
  function ta(e) {
2373
2373
  return !e[X.disabled] && !e[X.hidden] && !e[X.outside];
2374
2374
  }
2375
- function Ro(e, a, t, n) {
2375
+ function Ko(e, a, t, n) {
2376
2376
  let r, s = -1;
2377
2377
  for (const m of e) {
2378
2378
  const u = a(m);
@@ -2380,7 +2380,7 @@ function Ro(e, a, t, n) {
2380
2380
  }
2381
2381
  return r || (r = e.find((m) => ta(a(m)))), r;
2382
2382
  }
2383
- function Qo(e, a, t, n, r, s, m) {
2383
+ function Jo(e, a, t, n, r, s, m) {
2384
2384
  const { ISOWeek: u, broadcastCalendar: l } = s, { addDays: c, addMonths: p, addWeeks: h, addYears: b, endOfBroadcastWeek: w, endOfISOWeek: k, endOfWeek: j, max: M, min: $, startOfBroadcastWeek: W, startOfISOWeek: y, startOfWeek: N } = m;
2385
2385
  let x = {
2386
2386
  day: c,
@@ -2392,14 +2392,14 @@ function Qo(e, a, t, n, r, s, m) {
2392
2392
  }[e](t, a === "after" ? 1 : -1);
2393
2393
  return a === "before" && n ? x = M([n, x]) : a === "after" && r && (x = $([r, x])), x;
2394
2394
  }
2395
- function dn(e, a, t, n, r, s, m, u = 0) {
2395
+ function un(e, a, t, n, r, s, m, u = 0) {
2396
2396
  if (u > 365)
2397
2397
  return;
2398
- const l = Qo(e, a, t.date, n, r, s, m), c = !!(s.disabled && he(l, s.disabled, m)), p = !!(s.hidden && he(l, s.hidden, m)), h = l, b = new Ka(l, h, m);
2399
- return !c && !p ? b : dn(e, a, b, n, r, s, m, u + 1);
2398
+ const l = Jo(e, a, t.date, n, r, s, m), c = !!(s.disabled && he(l, s.disabled, m)), p = !!(s.hidden && he(l, s.hidden, m)), h = l, b = new Ja(l, h, m);
2399
+ return !c && !p ? b : un(e, a, b, n, r, s, m, u + 1);
2400
2400
  }
2401
- function Ko(e, a, t, n, r) {
2402
- const { autoFocus: s } = e, [m, u] = tt(), l = Ro(a.days, t, n || (() => !1), m), [c, p] = tt(s ? l : void 0);
2401
+ function Bo(e, a, t, n, r) {
2402
+ const { autoFocus: s } = e, [m, u] = tt(), l = Ko(a.days, t, n || (() => !1), m), [c, p] = tt(s ? l : void 0);
2403
2403
  return {
2404
2404
  isFocusTarget: (j) => !!(l != null && l.isEqualTo(j)),
2405
2405
  setFocused: p,
@@ -2410,12 +2410,12 @@ function Ko(e, a, t, n, r) {
2410
2410
  moveFocus: (j, M) => {
2411
2411
  if (!c)
2412
2412
  return;
2413
- const $ = dn(j, M, c, a.navStart, a.navEnd, e, r);
2413
+ const $ = un(j, M, c, a.navStart, a.navEnd, e, r);
2414
2414
  $ && (a.goToDay($), p($));
2415
2415
  }
2416
2416
  };
2417
2417
  }
2418
- function Jo(e, a) {
2418
+ function Zo(e, a) {
2419
2419
  const { selected: t, required: n, onSelect: r } = e, [s, m] = at(t, r ? t : void 0), u = r ? t : s, { isSameDay: l } = a, c = (w) => (u == null ? void 0 : u.some((k) => l(k, w))) ?? !1, { min: p, max: h } = e;
2420
2420
  return {
2421
2421
  selected: u,
@@ -2432,7 +2432,7 @@ function Jo(e, a) {
2432
2432
  isSelected: c
2433
2433
  };
2434
2434
  }
2435
- function Bo(e, a, t = 0, n = 0, r = !1, s = me) {
2435
+ function Uo(e, a, t = 0, n = 0, r = !1, s = me) {
2436
2436
  const { from: m, to: u } = a || {}, { isSameDay: l, isAfter: c, isBefore: p } = s;
2437
2437
  let h;
2438
2438
  if (!m && !u)
@@ -2460,7 +2460,7 @@ function Bo(e, a, t = 0, n = 0, r = !1, s = me) {
2460
2460
  }
2461
2461
  return h;
2462
2462
  }
2463
- function Zo(e, a, t = me) {
2463
+ function es(e, a, t = me) {
2464
2464
  const n = Array.isArray(a) ? a : [a];
2465
2465
  let r = e.from;
2466
2466
  const s = t.differenceInCalendarDays(e.to, e.from), m = Math.min(s, 6);
@@ -2474,12 +2474,12 @@ function Zo(e, a, t = me) {
2474
2474
  function aa(e, a, t = me) {
2475
2475
  return ce(e, a.from, !1, t) || ce(e, a.to, !1, t) || ce(a, e.from, !1, t) || ce(a, e.to, !1, t);
2476
2476
  }
2477
- function Uo(e, a, t = me) {
2477
+ function ts(e, a, t = me) {
2478
2478
  const n = Array.isArray(a) ? a : [a];
2479
- if (n.filter((u) => typeof u != "function").some((u) => typeof u == "boolean" ? u : t.isDate(u) ? ce(e, u, !1, t) : en(u, t) ? u.some((l) => ce(e, l, !1, t)) : Wt(u) ? u.from && u.to ? aa(e, { from: u.from, to: u.to }, t) : !1 : Ua(u) ? Zo(e, u.dayOfWeek, t) : Ja(u) ? t.isAfter(u.before, u.after) ? aa(e, {
2479
+ if (n.filter((u) => typeof u != "function").some((u) => typeof u == "boolean" ? u : t.isDate(u) ? ce(e, u, !1, t) : tn(u, t) ? u.some((l) => ce(e, l, !1, t)) : Wt(u) ? u.from && u.to ? aa(e, { from: u.from, to: u.to }, t) : !1 : en(u) ? es(e, u.dayOfWeek, t) : Ba(u) ? t.isAfter(u.before, u.after) ? aa(e, {
2480
2480
  from: t.addDays(u.after, 1),
2481
2481
  to: t.addDays(u.before, -1)
2482
- }, t) : he(e.from, u, t) || he(e.to, u, t) : Ba(u) || Za(u) ? he(e.from, u, t) || he(e.to, u, t) : !1))
2482
+ }, t) : he(e.from, u, t) || he(e.to, u, t) : Za(u) || Ua(u) ? he(e.from, u, t) || he(e.to, u, t) : !1))
2483
2483
  return !0;
2484
2484
  const m = n.filter((u) => typeof u == "function");
2485
2485
  if (m.length) {
@@ -2493,18 +2493,18 @@ function Uo(e, a, t = me) {
2493
2493
  }
2494
2494
  return !1;
2495
2495
  }
2496
- function es(e, a) {
2496
+ function as(e, a) {
2497
2497
  const { disabled: t, excludeDisabled: n, selected: r, required: s, onSelect: m } = e, [u, l] = at(r, m ? r : void 0), c = m ? r : u;
2498
2498
  return {
2499
2499
  selected: c,
2500
2500
  select: (b, w, k) => {
2501
- const { min: j, max: M } = e, $ = b ? Bo(b, c, j, M, s, a) : void 0;
2502
- return n && t && ($ != null && $.from) && $.to && Uo({ from: $.from, to: $.to }, t, a) && ($.from = b, $.to = void 0), m || l($), m == null || m($, b, w, k), $;
2501
+ const { min: j, max: M } = e, $ = b ? Uo(b, c, j, M, s, a) : void 0;
2502
+ return n && t && ($ != null && $.from) && $.to && ts({ from: $.from, to: $.to }, t, a) && ($.from = b, $.to = void 0), m || l($), m == null || m($, b, w, k), $;
2503
2503
  },
2504
2504
  isSelected: (b) => c && ce(c, b, !1, a)
2505
2505
  };
2506
2506
  }
2507
- function ts(e, a) {
2507
+ function ns(e, a) {
2508
2508
  const { selected: t, required: n, onSelect: r } = e, [s, m] = at(t, r ? t : void 0), u = r ? t : s, { isSameDay: l } = a;
2509
2509
  return {
2510
2510
  selected: u,
@@ -2515,8 +2515,8 @@ function ts(e, a) {
2515
2515
  isSelected: (h) => u ? l(u, h) : !1
2516
2516
  };
2517
2517
  }
2518
- function as(e, a) {
2519
- const t = ts(e, a), n = Jo(e, a), r = es(e, a);
2518
+ function rs(e, a) {
2519
+ const t = ns(e, a), n = Zo(e, a), r = as(e, a);
2520
2520
  switch (e.mode) {
2521
2521
  case "single":
2522
2522
  return t;
@@ -2528,7 +2528,7 @@ function as(e, a) {
2528
2528
  return;
2529
2529
  }
2530
2530
  }
2531
- function ns(e) {
2531
+ function is(e) {
2532
2532
  var Lt;
2533
2533
  let a = e;
2534
2534
  a.timeZone && (a = {
@@ -2549,11 +2549,11 @@ function ns(e) {
2549
2549
  timeZone: a.timeZone,
2550
2550
  numerals: a.numerals
2551
2551
  }, a.dateLib),
2552
- components: oo(a.components),
2553
- formatters: bo(a.formatters),
2554
- labels: { ...Co, ...a.labels },
2552
+ components: uo(a.components),
2553
+ formatters: wo(a.formatters),
2554
+ labels: { ...Vo, ...a.labels },
2555
2555
  locale: z,
2556
- classNames: { ...an(), ...a.classNames }
2556
+ classNames: { ...nn(), ...a.classNames }
2557
2557
  };
2558
2558
  }, [
2559
2559
  a.locale,
@@ -2569,17 +2569,17 @@ function ns(e) {
2569
2569
  a.formatters,
2570
2570
  a.labels,
2571
2571
  a.classNames
2572
- ]), { captionLayout: l, mode: c, navLayout: p, numberOfMonths: h = 1, onDayBlur: b, onDayClick: w, onDayFocus: k, onDayKeyDown: j, onDayMouseEnter: M, onDayMouseLeave: $, onNextClick: W, onPrevClick: y, showWeekNumber: N, styles: f } = a, { formatCaption: x, formatDay: D, formatMonthDropdown: T, formatWeekNumber: F, formatWeekNumberHeader: L, formatWeekdayName: q, formatYearDropdown: ae } = n, xe = Go(a, s), { days: ze, months: Se, navStart: Re, navEnd: nt, previousMonth: ne, nextMonth: re, goToMonth: le } = xe, rt = Ni(ze, a, Re, nt, s), { isSelected: Te, select: Ce, selected: Qe } = as(a, s) ?? {}, { blur: Ot, focused: Ke, isFocusTarget: zn, moveFocus: Ft, setFocused: Je } = Ko(a, xe, rt, Te ?? (() => !1), s), { labelDayButton: Sn, labelGridcell: Nn, labelGrid: Tn, labelMonthDropdown: Cn, labelNav: At, labelPrevious: En, labelNext: Vn, labelWeekday: Hn, labelWeekNumber: Xn, labelWeekNumberHeader: _n, labelYearDropdown: On } = r, Fn = ut(() => yo(s, a.ISOWeek), [s, a.ISOWeek]), Yt = c !== void 0 || w !== void 0, it = ee(() => {
2572
+ ]), { captionLayout: l, mode: c, navLayout: p, numberOfMonths: h = 1, onDayBlur: b, onDayClick: w, onDayFocus: k, onDayKeyDown: j, onDayMouseEnter: M, onDayMouseLeave: $, onNextClick: W, onPrevClick: y, showWeekNumber: N, styles: f } = a, { formatCaption: x, formatDay: D, formatMonthDropdown: T, formatWeekNumber: F, formatWeekNumberHeader: L, formatWeekdayName: q, formatYearDropdown: ae } = n, xe = Qo(a, s), { days: ze, months: Se, navStart: Re, navEnd: nt, previousMonth: ne, nextMonth: re, goToMonth: le } = xe, rt = Ci(ze, a, Re, nt, s), { isSelected: Te, select: Ce, selected: Qe } = rs(a, s) ?? {}, { blur: Ot, focused: Ke, isFocusTarget: Nn, moveFocus: Ft, setFocused: Je } = Bo(a, xe, rt, Te ?? (() => !1), s), { labelDayButton: Tn, labelGridcell: Cn, labelGrid: En, labelMonthDropdown: Vn, labelNav: At, labelPrevious: Hn, labelNext: Xn, labelWeekday: _n, labelWeekNumber: On, labelWeekNumberHeader: Fn, labelYearDropdown: An } = r, Yn = ut(() => Mo(s, a.ISOWeek), [s, a.ISOWeek]), Yt = c !== void 0 || w !== void 0, it = ee(() => {
2573
2573
  ne && (le(ne), y == null || y(ne));
2574
2574
  }, [ne, le, y]), ot = ee(() => {
2575
2575
  re && (le(re), W == null || W(re));
2576
- }, [le, re, W]), An = ee((z, H) => (C) => {
2576
+ }, [le, re, W]), In = ee((z, H) => (C) => {
2577
2577
  C.preventDefault(), C.stopPropagation(), Je(z), Ce == null || Ce(z.date, H, C), w == null || w(z.date, H, C);
2578
- }, [Ce, w, Je]), Yn = ee((z, H) => (C) => {
2578
+ }, [Ce, w, Je]), Ln = ee((z, H) => (C) => {
2579
2579
  Je(z), k == null || k(z.date, H, C);
2580
- }, [k, Je]), In = ee((z, H) => (C) => {
2580
+ }, [k, Je]), qn = ee((z, H) => (C) => {
2581
2581
  Ot(), b == null || b(z.date, H, C);
2582
- }, [Ot, b]), Ln = ee((z, H) => (C) => {
2582
+ }, [Ot, b]), Gn = ee((z, H) => (C) => {
2583
2583
  const ge = {
2584
2584
  ArrowLeft: [
2585
2585
  C.shiftKey ? "month" : "day",
@@ -2602,27 +2602,27 @@ function ns(e) {
2602
2602
  Ft(ie, Be);
2603
2603
  }
2604
2604
  j == null || j(z.date, H, C);
2605
- }, [Ft, j, a.dir]), qn = ee((z, H) => (C) => {
2605
+ }, [Ft, j, a.dir]), Rn = ee((z, H) => (C) => {
2606
2606
  M == null || M(z.date, H, C);
2607
- }, [M]), Gn = ee((z, H) => (C) => {
2607
+ }, [M]), Qn = ee((z, H) => (C) => {
2608
2608
  $ == null || $(z.date, H, C);
2609
- }, [$]), Rn = ee((z) => (H) => {
2609
+ }, [$]), Kn = ee((z) => (H) => {
2610
2610
  const C = Number(H.target.value), ge = s.setMonth(s.startOfMonth(z), C);
2611
2611
  le(ge);
2612
- }, [s, le]), Qn = ee((z) => (H) => {
2612
+ }, [s, le]), Jn = ee((z) => (H) => {
2613
2613
  const C = Number(H.target.value), ge = s.setYear(s.startOfMonth(z), C);
2614
2614
  le(ge);
2615
- }, [s, le]), { className: Kn, style: Jn } = ut(() => ({
2615
+ }, [s, le]), { className: Bn, style: Zn } = ut(() => ({
2616
2616
  className: [u[P.Root], a.className].filter(Boolean).join(" "),
2617
2617
  style: { ...f == null ? void 0 : f[P.Root], ...a.style }
2618
- }), [u, a.className, a.style, f]), Bn = so(a), It = Ue(null);
2619
- Xo(It, !!a.animate, {
2618
+ }), [u, a.className, a.style, f]), Un = mo(a), It = Ue(null);
2619
+ Oo(It, !!a.animate, {
2620
2620
  classNames: u,
2621
2621
  months: Se,
2622
2622
  focused: Ke,
2623
2623
  dateLib: s
2624
2624
  });
2625
- const Zn = {
2625
+ const er = {
2626
2626
  dayPickerProps: a,
2627
2627
  selected: Qe,
2628
2628
  select: Ce,
@@ -2639,30 +2639,30 @@ function ns(e) {
2639
2639
  formatters: n
2640
2640
  };
2641
2641
  return v.createElement(
2642
- tn.Provider,
2643
- { value: Zn },
2642
+ an.Provider,
2643
+ { value: er },
2644
2644
  v.createElement(
2645
2645
  t.Root,
2646
- { rootRef: a.animate ? It : void 0, className: Kn, style: Jn, dir: a.dir, id: a.id, lang: a.lang, nonce: a.nonce, title: a.title, role: a.role, "aria-label": a["aria-label"], ...Bn },
2646
+ { rootRef: a.animate ? It : void 0, className: Bn, style: Zn, dir: a.dir, id: a.id, lang: a.lang, nonce: a.nonce, title: a.title, role: a.role, "aria-label": a["aria-label"], ...Un },
2647
2647
  v.createElement(
2648
2648
  t.Months,
2649
2649
  { className: u[P.Months], style: f == null ? void 0 : f[P.Months] },
2650
2650
  !a.hideNavigation && !p && v.createElement(t.Nav, { "data-animated-nav": a.animate ? "true" : void 0, className: u[P.Nav], style: f == null ? void 0 : f[P.Nav], "aria-label": At(), onPreviousClick: it, onNextClick: ot, previousMonth: ne, nextMonth: re }),
2651
2651
  Se.map((z, H) => {
2652
- const C = vo(z.date, Re, nt, n, s), ge = Po(Re, nt, n, s);
2652
+ const C = yo(z.date, Re, nt, n, s), ge = ko(Re, nt, n, s);
2653
2653
  return v.createElement(
2654
2654
  t.Month,
2655
2655
  { "data-animated-month": a.animate ? "true" : void 0, className: u[P.Month], style: f == null ? void 0 : f[P.Month], key: H, displayIndex: H, calendarMonth: z },
2656
2656
  p === "around" && !a.hideNavigation && H === 0 && v.createElement(
2657
2657
  t.PreviousMonthButton,
2658
- { type: "button", className: u[P.PreviousMonthButton], tabIndex: ne ? void 0 : -1, "aria-disabled": ne ? void 0 : !0, "aria-label": En(ne), onClick: it, "data-animated-button": a.animate ? "true" : void 0 },
2658
+ { type: "button", className: u[P.PreviousMonthButton], tabIndex: ne ? void 0 : -1, "aria-disabled": ne ? void 0 : !0, "aria-label": Hn(ne), onClick: it, "data-animated-button": a.animate ? "true" : void 0 },
2659
2659
  v.createElement(t.Chevron, { disabled: ne ? void 0 : !0, className: u[P.Chevron], orientation: a.dir === "rtl" ? "right" : "left" })
2660
2660
  ),
2661
2661
  v.createElement(t.MonthCaption, { "data-animated-caption": a.animate ? "true" : void 0, className: u[P.MonthCaption], style: f == null ? void 0 : f[P.MonthCaption], calendarMonth: z, displayIndex: H }, l != null && l.startsWith("dropdown") ? v.createElement(
2662
2662
  t.DropdownNav,
2663
2663
  { className: u[P.Dropdowns], style: f == null ? void 0 : f[P.Dropdowns] },
2664
- l === "dropdown" || l === "dropdown-months" ? v.createElement(t.MonthsDropdown, { className: u[P.MonthsDropdown], "aria-label": Cn(), classNames: u, components: t, disabled: !!a.disableNavigation, onChange: Rn(z.date), options: C, style: f == null ? void 0 : f[P.Dropdown], value: s.getMonth(z.date) }) : v.createElement("span", null, T(z.date, s)),
2665
- l === "dropdown" || l === "dropdown-years" ? v.createElement(t.YearsDropdown, { className: u[P.YearsDropdown], "aria-label": On(s.options), classNames: u, components: t, disabled: !!a.disableNavigation, onChange: Qn(z.date), options: ge, style: f == null ? void 0 : f[P.Dropdown], value: s.getYear(z.date) }) : v.createElement("span", null, ae(z.date, s)),
2664
+ l === "dropdown" || l === "dropdown-months" ? v.createElement(t.MonthsDropdown, { className: u[P.MonthsDropdown], "aria-label": Vn(), classNames: u, components: t, disabled: !!a.disableNavigation, onChange: Kn(z.date), options: C, style: f == null ? void 0 : f[P.Dropdown], value: s.getMonth(z.date) }) : v.createElement("span", null, T(z.date, s)),
2665
+ l === "dropdown" || l === "dropdown-years" ? v.createElement(t.YearsDropdown, { className: u[P.YearsDropdown], "aria-label": An(s.options), classNames: u, components: t, disabled: !!a.disableNavigation, onChange: Jn(z.date), options: ge, style: f == null ? void 0 : f[P.Dropdown], value: s.getYear(z.date) }) : v.createElement("span", null, ae(z.date, s)),
2666
2666
  v.createElement("span", { role: "status", "aria-live": "polite", style: {
2667
2667
  border: 0,
2668
2668
  clip: "rect(0 0 0 0)",
@@ -2678,23 +2678,23 @@ function ns(e) {
2678
2678
  ) : v.createElement(t.CaptionLabel, { className: u[P.CaptionLabel], role: "status", "aria-live": "polite" }, x(z.date, s.options, s))),
2679
2679
  p === "around" && !a.hideNavigation && H === h - 1 && v.createElement(
2680
2680
  t.NextMonthButton,
2681
- { type: "button", className: u[P.NextMonthButton], tabIndex: re ? void 0 : -1, "aria-disabled": re ? void 0 : !0, "aria-label": Vn(re), onClick: ot, "data-animated-button": a.animate ? "true" : void 0 },
2681
+ { type: "button", className: u[P.NextMonthButton], tabIndex: re ? void 0 : -1, "aria-disabled": re ? void 0 : !0, "aria-label": Xn(re), onClick: ot, "data-animated-button": a.animate ? "true" : void 0 },
2682
2682
  v.createElement(t.Chevron, { disabled: re ? void 0 : !0, className: u[P.Chevron], orientation: a.dir === "rtl" ? "left" : "right" })
2683
2683
  ),
2684
2684
  H === h - 1 && p === "after" && !a.hideNavigation && v.createElement(t.Nav, { "data-animated-nav": a.animate ? "true" : void 0, className: u[P.Nav], style: f == null ? void 0 : f[P.Nav], "aria-label": At(), onPreviousClick: it, onNextClick: ot, previousMonth: ne, nextMonth: re }),
2685
2685
  v.createElement(
2686
2686
  t.MonthGrid,
2687
- { role: "grid", "aria-multiselectable": c === "multiple" || c === "range", "aria-label": Tn(z.date, s.options, s) || void 0, className: u[P.MonthGrid], style: f == null ? void 0 : f[P.MonthGrid] },
2687
+ { role: "grid", "aria-multiselectable": c === "multiple" || c === "range", "aria-label": En(z.date, s.options, s) || void 0, className: u[P.MonthGrid], style: f == null ? void 0 : f[P.MonthGrid] },
2688
2688
  !a.hideWeekdays && v.createElement(
2689
2689
  t.Weekdays,
2690
2690
  { "data-animated-weekdays": a.animate ? "true" : void 0, className: u[P.Weekdays], style: f == null ? void 0 : f[P.Weekdays] },
2691
- N && v.createElement(t.WeekNumberHeader, { "aria-label": _n(s.options), className: u[P.WeekNumberHeader], style: f == null ? void 0 : f[P.WeekNumberHeader], scope: "col" }, L()),
2692
- Fn.map((ie, Be) => v.createElement(t.Weekday, { "aria-label": Hn(ie, s.options, s), className: u[P.Weekday], key: Be, style: f == null ? void 0 : f[P.Weekday], scope: "col" }, q(ie, s.options, s)))
2691
+ N && v.createElement(t.WeekNumberHeader, { "aria-label": Fn(s.options), className: u[P.WeekNumberHeader], style: f == null ? void 0 : f[P.WeekNumberHeader], scope: "col" }, L()),
2692
+ Yn.map((ie, Be) => v.createElement(t.Weekday, { "aria-label": _n(ie, s.options, s), className: u[P.Weekday], key: Be, style: f == null ? void 0 : f[P.Weekday], scope: "col" }, q(ie, s.options, s)))
2693
2693
  ),
2694
2694
  v.createElement(t.Weeks, { "data-animated-weeks": a.animate ? "true" : void 0, className: u[P.Weeks], style: f == null ? void 0 : f[P.Weeks] }, z.weeks.map((ie, Be) => v.createElement(
2695
2695
  t.Week,
2696
2696
  { className: u[P.Week], key: ie.weekNumber, style: f == null ? void 0 : f[P.Week], week: ie },
2697
- N && v.createElement(t.WeekNumber, { week: ie, style: f == null ? void 0 : f[P.WeekNumber], "aria-label": Xn(ie.weekNumber, {
2697
+ N && v.createElement(t.WeekNumber, { week: ie, style: f == null ? void 0 : f[P.WeekNumber], "aria-label": On(ie.weekNumber, {
2698
2698
  locale: m
2699
2699
  }), className: u[P.WeekNumber], scope: "row", role: "rowheader" }, F(ie.weekNumber, s)),
2700
2700
  ie.days.map((A) => {
@@ -2703,8 +2703,8 @@ function ns(e) {
2703
2703
  const { from: st, to: dt } = Qe;
2704
2704
  E[oe.range_start] = !!(st && dt && s.isSameDay(se, st)), E[oe.range_end] = !!(st && dt && s.isSameDay(se, dt)), E[oe.range_middle] = ce(Qe, se, !0, s);
2705
2705
  }
2706
- const Un = wo(E, f, a.modifiersStyles), er = Ti(E, u, a.modifiersClassNames), tr = !Yt && !E.hidden ? Nn(se, E, s.options, s) : void 0;
2707
- return v.createElement(t.Day, { key: `${s.format(se, "yyyy-MM-dd")}_${s.format(A.displayMonth, "yyyy-MM")}`, day: A, modifiers: E, className: er.join(" "), style: Un, role: "gridcell", "aria-selected": E.selected || void 0, "aria-label": tr, "data-day": s.format(se, "yyyy-MM-dd"), "data-month": A.outside ? s.format(se, "yyyy-MM") : void 0, "data-selected": E.selected || void 0, "data-disabled": E.disabled || void 0, "data-hidden": E.hidden || void 0, "data-outside": A.outside || void 0, "data-focused": E.focused || void 0, "data-today": E.today || void 0 }, !E.hidden && Yt ? v.createElement(t.DayButton, { className: u[P.DayButton], style: f == null ? void 0 : f[P.DayButton], type: "button", day: A, modifiers: E, disabled: E.disabled || void 0, tabIndex: zn(A) ? 0 : -1, "aria-label": Sn(se, E, s.options, s), onClick: An(A, E), onBlur: In(A, E), onFocus: Yn(A, E), onKeyDown: Ln(A, E), onMouseEnter: qn(A, E), onMouseLeave: Gn(A, E) }, D(se, s.options, s)) : !E.hidden && D(A.date, s.options, s));
2706
+ const tr = Po(E, f, a.modifiersStyles), ar = Ei(E, u, a.modifiersClassNames), nr = !Yt && !E.hidden ? Cn(se, E, s.options, s) : void 0;
2707
+ return v.createElement(t.Day, { key: `${s.format(se, "yyyy-MM-dd")}_${s.format(A.displayMonth, "yyyy-MM")}`, day: A, modifiers: E, className: ar.join(" "), style: tr, role: "gridcell", "aria-selected": E.selected || void 0, "aria-label": nr, "data-day": s.format(se, "yyyy-MM-dd"), "data-month": A.outside ? s.format(se, "yyyy-MM") : void 0, "data-selected": E.selected || void 0, "data-disabled": E.disabled || void 0, "data-hidden": E.hidden || void 0, "data-outside": A.outside || void 0, "data-focused": E.focused || void 0, "data-today": E.today || void 0 }, !E.hidden && Yt ? v.createElement(t.DayButton, { className: u[P.DayButton], style: f == null ? void 0 : f[P.DayButton], type: "button", day: A, modifiers: E, disabled: E.disabled || void 0, tabIndex: Nn(A) ? 0 : -1, "aria-label": Tn(se, E, s.options, s), onClick: In(A, E), onBlur: qn(A, E), onFocus: Ln(A, E), onKeyDown: Gn(A, E), onMouseEnter: Rn(A, E), onMouseLeave: Qn(A, E) }, D(se, s.options, s)) : !E.hidden && D(A.date, s.options, s));
2708
2708
  })
2709
2709
  )))
2710
2710
  )
@@ -2715,10 +2715,10 @@ function ns(e) {
2715
2715
  )
2716
2716
  );
2717
2717
  }
2718
- const rs = {
2718
+ const os = {
2719
2719
  LG: "lg"
2720
2720
  };
2721
- function is(e) {
2721
+ function ss(e) {
2722
2722
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
2723
2723
  }
2724
2724
  var na = { exports: {} };
@@ -2728,7 +2728,7 @@ var na = { exports: {} };
2728
2728
  http://jedwatson.github.io/classnames
2729
2729
  */
2730
2730
  var ra;
2731
- function os() {
2731
+ function ds() {
2732
2732
  return ra || (ra = 1, (function(e) {
2733
2733
  (function() {
2734
2734
  var a = {}.hasOwnProperty;
@@ -2760,27 +2760,28 @@ function os() {
2760
2760
  })();
2761
2761
  })(na)), na.exports;
2762
2762
  }
2763
- var ss = os();
2764
- const ds = /* @__PURE__ */ is(ss), us = "_rotate_12t9p_1", ms = "_dash_12t9p_1", ls = {
2763
+ var us = ds();
2764
+ const ms = /* @__PURE__ */ ss(us), ls = "_rotate_12t9p_1", cs = "_dash_12t9p_1", hs = {
2765
2765
  "purpur-spinner": "_purpur-spinner_12t9p_2",
2766
- rotate: us,
2766
+ rotate: ls,
2767
2767
  "purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
2768
2768
  "purpur-spinner--xs": "_purpur-spinner--xs_12t9p_10",
2769
2769
  "purpur-spinner--sm": "_purpur-spinner--sm_12t9p_14",
2770
2770
  "purpur-spinner--md": "_purpur-spinner--md_12t9p_18",
2771
2771
  "purpur-spinner--lg": "_purpur-spinner--lg_12t9p_22",
2772
2772
  "purpur-spinner__circle": "_purpur-spinner__circle_12t9p_26",
2773
- dash: ms,
2773
+ dash: cs,
2774
2774
  "purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
2775
2775
  "purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
2776
- }, ia = ds.bind(ls), Ee = "purpur-spinner", cs = {
2776
+ }, ia = ms.bind(hs), Ee = "purpur-spinner", fs = {
2777
2777
  SM: "sm"
2778
- }, hs = ({
2778
+ }, mn = ({
2779
2779
  disabled: e = !1,
2780
2780
  negative: a = !1,
2781
- size: t = cs.SM,
2782
- ...n
2783
- }) => /* @__PURE__ */ te("div", { className: ia(Ee, `${Ee}--${t}`), ...n, children: /* @__PURE__ */ te("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ te(
2781
+ size: t = fs.SM,
2782
+ className: n,
2783
+ ...r
2784
+ }) => /* @__PURE__ */ te("div", { className: ia(Ee, `${Ee}--${t}`, n), ...r, children: /* @__PURE__ */ te("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ te(
2784
2785
  "circle",
2785
2786
  {
2786
2787
  className: ia(`${Ee}__circle`, {
@@ -2792,7 +2793,8 @@ const ds = /* @__PURE__ */ is(ss), us = "_rotate_12t9p_1", ms = "_dash_12t9p_1",
2792
2793
  r: "20"
2793
2794
  }
2794
2795
  ) }) });
2795
- function fs(e) {
2796
+ mn.displayName = "Spinner";
2797
+ function gs(e) {
2796
2798
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
2797
2799
  }
2798
2800
  var oa = { exports: {} };
@@ -2802,7 +2804,7 @@ var oa = { exports: {} };
2802
2804
  http://jedwatson.github.io/classnames
2803
2805
  */
2804
2806
  var sa;
2805
- function gs() {
2807
+ function ps() {
2806
2808
  return sa || (sa = 1, (function(e) {
2807
2809
  (function() {
2808
2810
  var a = {}.hasOwnProperty;
@@ -2834,30 +2836,31 @@ function gs() {
2834
2836
  })();
2835
2837
  })(oa)), oa.exports;
2836
2838
  }
2837
- var ps = gs();
2838
- const bs = /* @__PURE__ */ fs(ps), vs = {
2839
- "purpur-button": "_purpur-button_1goi7_1",
2840
- "purpur-button--xs": "_purpur-button--xs_1goi7_33",
2841
- "purpur-button--icon-only": "_purpur-button--icon-only_1goi7_36",
2842
- "purpur-button--sm": "_purpur-button--sm_1goi7_39",
2843
- "purpur-button--md": "_purpur-button--md_1goi7_45",
2844
- "purpur-button--lg": "_purpur-button--lg_1goi7_51",
2845
- "purpur-button--full-width": "_purpur-button--full-width_1goi7_57",
2846
- "purpur-button--primary": "_purpur-button--primary_1goi7_60",
2847
- "purpur-button--disabled": "_purpur-button--disabled_1goi7_64",
2848
- "purpur-button--primary-negative": "_purpur-button--primary-negative_1goi7_70",
2849
- "purpur-button--secondary": "_purpur-button--secondary_1goi7_82",
2850
- "purpur-button--secondary-negative": "_purpur-button--secondary-negative_1goi7_93",
2851
- "purpur-button--expressive": "_purpur-button--expressive_1goi7_104",
2852
- "purpur-button--expressive-negative": "_purpur-button--expressive-negative_1goi7_114",
2853
- "purpur-button--negative": "_purpur-button--negative_1goi7_126",
2854
- "purpur-button--destructive": "_purpur-button--destructive_1goi7_133",
2855
- "purpur-button--destructive-negative": "_purpur-button--destructive-negative_1goi7_143",
2856
- "purpur-button--tertiary-purple": "_purpur-button--tertiary-purple_1goi7_153",
2857
- "purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_1goi7_166",
2858
- "purpur-button--text-negative": "_purpur-button--text-negative_1goi7_181",
2859
- "purpur-button--text": "_purpur-button--text_1goi7_181"
2860
- }, ws = bs.bind(vs), Me = "purpur-button", yt = or(
2839
+ var bs = ps();
2840
+ const vs = /* @__PURE__ */ gs(bs), ws = {
2841
+ "purpur-button": "_purpur-button_10jh0_1",
2842
+ "purpur-button--xs": "_purpur-button--xs_10jh0_22",
2843
+ "purpur-button--icon-only": "_purpur-button--icon-only_10jh0_25",
2844
+ "purpur-button--sm": "_purpur-button--sm_10jh0_28",
2845
+ "purpur-button--md": "_purpur-button--md_10jh0_34",
2846
+ "purpur-button--lg": "_purpur-button--lg_10jh0_40",
2847
+ "purpur-button--full-width": "_purpur-button--full-width_10jh0_46",
2848
+ "purpur-button--primary": "_purpur-button--primary_10jh0_64",
2849
+ "purpur-button--disabled": "_purpur-button--disabled_10jh0_68",
2850
+ "purpur-button--primary-negative": "_purpur-button--primary-negative_10jh0_74",
2851
+ "purpur-button--secondary": "_purpur-button--secondary_10jh0_86",
2852
+ "purpur-button--secondary-negative": "_purpur-button--secondary-negative_10jh0_97",
2853
+ "purpur-button--expressive": "_purpur-button--expressive_10jh0_108",
2854
+ "purpur-button--expressive-negative": "_purpur-button--expressive-negative_10jh0_118",
2855
+ "purpur-button--negative": "_purpur-button--negative_10jh0_130",
2856
+ "purpur-button--destructive": "_purpur-button--destructive_10jh0_137",
2857
+ "purpur-button--destructive-negative": "_purpur-button--destructive-negative_10jh0_147",
2858
+ "purpur-button--tertiary-purple": "_purpur-button--tertiary-purple_10jh0_157",
2859
+ "purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_10jh0_170",
2860
+ "purpur-button--text-negative": "_purpur-button--text-negative_10jh0_185",
2861
+ "purpur-button--text": "_purpur-button--text_10jh0_185",
2862
+ "purpur-button__spinner": "_purpur-button__spinner_10jh0_235"
2863
+ }, da = vs.bind(ws), be = "purpur-button", yt = dr(
2861
2864
  ({
2862
2865
  children: e,
2863
2866
  className: a,
@@ -2874,23 +2877,23 @@ const bs = /* @__PURE__ */ fs(ps), vs = {
2874
2877
  }, b) => {
2875
2878
  if (r && c === "destructive")
2876
2879
  return null;
2877
- const w = ws(
2880
+ const w = da(
2878
2881
  [
2879
- Me,
2880
- `${Me}--${m ? `${c}-negative` : c}`,
2881
- `${Me}--${l}`
2882
+ be,
2883
+ `${be}--${m ? `${c}-negative` : c}`,
2884
+ `${be}--${l}`
2882
2885
  ],
2883
2886
  {
2884
- [`${Me}--icon-only`]: r,
2885
- [`${Me}--negative`]: m,
2886
- [`${Me}--full-width`]: n,
2887
- [`${Me}--disabled`]: t || s
2887
+ [`${be}--icon-only`]: r,
2888
+ [`${be}--negative`]: m,
2889
+ [`${be}--full-width`]: n,
2890
+ [`${be}--disabled`]: t || s
2888
2891
  },
2889
2892
  a
2890
2893
  ), k = (M) => {
2891
2894
  t || s ? M.preventDefault() : u && u(M);
2892
2895
  }, j = !!h["aria-disabled"] || t || s;
2893
- return /* @__PURE__ */ ar(
2896
+ return /* @__PURE__ */ rr(
2894
2897
  "button",
2895
2898
  {
2896
2899
  className: w,
@@ -2901,11 +2904,12 @@ const bs = /* @__PURE__ */ fs(ps), vs = {
2901
2904
  ...h,
2902
2905
  children: [
2903
2906
  s && /* @__PURE__ */ te(
2904
- hs,
2907
+ mn,
2905
2908
  {
2906
- size: l === rs.LG ? "xs" : "xxs",
2909
+ size: l === os.LG ? "xs" : "xxs",
2907
2910
  negative: m,
2908
- disabled: j
2911
+ disabled: j,
2912
+ className: da(`${be}__spinner`)
2909
2913
  }
2910
2914
  ),
2911
2915
  " ",
@@ -2919,15 +2923,15 @@ yt.displayName = "Button";
2919
2923
  function ys(e) {
2920
2924
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
2921
2925
  }
2922
- var da = { exports: {} };
2926
+ var ua = { exports: {} };
2923
2927
  /*!
2924
2928
  Copyright (c) 2018 Jed Watson.
2925
2929
  Licensed under the MIT License (MIT), see
2926
2930
  http://jedwatson.github.io/classnames
2927
2931
  */
2928
- var ua;
2932
+ var ma;
2929
2933
  function Ps() {
2930
- return ua || (ua = 1, (function(e) {
2934
+ return ma || (ma = 1, (function(e) {
2931
2935
  (function() {
2932
2936
  var a = {}.hasOwnProperty;
2933
2937
  function t() {
@@ -2956,7 +2960,7 @@ function Ps() {
2956
2960
  }
2957
2961
  e.exports ? (t.default = t, e.exports = t) : window.classNames = t;
2958
2962
  })();
2959
- })(da)), da.exports;
2963
+ })(ua)), ua.exports;
2960
2964
  }
2961
2965
  var Ms = Ps();
2962
2966
  const ks = /* @__PURE__ */ ys(Ms), $s = {
@@ -2967,7 +2971,7 @@ const ks = /* @__PURE__ */ ys(Ms), $s = {
2967
2971
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
2968
2972
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
2969
2973
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
2970
- }, Ws = ks.bind($s), ma = "purpur-icon", js = "md", Ds = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), xs = ({ content: e = "", title: a } = {}) => {
2974
+ }, Ws = ks.bind($s), la = "purpur-icon", js = "md", Ds = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), xs = ({ content: e = "", title: a } = {}) => {
2971
2975
  const t = [
2972
2976
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
2973
2977
  { name: "fill", value: "currentColor" },
@@ -2979,7 +2983,7 @@ const ks = /* @__PURE__ */ ys(Ms), $s = {
2979
2983
  const s = xs({
2980
2984
  content: zs(e.svg),
2981
2985
  title: a
2982
- }), m = Ws(t, ma, `${ma}--${n}`);
2986
+ }), m = Ws(t, la, `${la}--${n}`);
2983
2987
  return /* @__PURE__ */ te("span", { className: m, dangerouslySetInnerHTML: { __html: s }, ...r });
2984
2988
  };
2985
2989
  jt.displayName = "Icon";
@@ -2988,15 +2992,15 @@ const Ss = {
2988
2992
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M16.175 3.905a.9.9 0 0 1-.08 1.27L8.36 12l7.736 6.825a.9.9 0 0 1-1.191 1.35l-8.5-7.5a.9.9 0 0 1 0-1.35l8.5-7.5a.9.9 0 0 1 1.27.08Z" clip-rule="evenodd"/></svg>',
2989
2993
  keywords: ["chevron-left"],
2990
2994
  category: "utility"
2991
- }, un = (e) => /* @__PURE__ */ te(jt, { ...e, svg: Ss });
2992
- un.displayName = "IconChevronLeft";
2995
+ }, ln = (e) => /* @__PURE__ */ te(jt, { ...e, svg: Ss });
2996
+ ln.displayName = "IconChevronLeft";
2993
2997
  const Ns = {
2994
2998
  name: "chevron-right",
2995
2999
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.809 3.924a.9.9 0 0 0 .115 1.267L16.094 12l-8.17 6.809a.9.9 0 0 0 1.152 1.382l9-7.5a.9.9 0 0 0 0-1.382l-9-7.5a.9.9 0 0 0-1.267.115Z" clip-rule="evenodd"/></svg>',
2996
3000
  keywords: ["chevron-right"],
2997
3001
  category: "utility"
2998
- }, mn = (e) => /* @__PURE__ */ te(jt, { ...e, svg: Ns });
2999
- mn.displayName = "IconChevronRight";
3002
+ }, cn = (e) => /* @__PURE__ */ te(jt, { ...e, svg: Ns });
3003
+ cn.displayName = "IconChevronRight";
3000
3004
  const Ts = {
3001
3005
  lessThanXSeconds: {
3002
3006
  one: "minder as 'n sekonde",
@@ -6386,7 +6390,7 @@ function ac(e) {
6386
6390
  return "'у мінулы " + a + " а' p";
6387
6391
  }
6388
6392
  }
6389
- function ln(e) {
6393
+ function hn(e) {
6390
6394
  return "'у " + Dt[e] + " а' p";
6391
6395
  }
6392
6396
  function nc(e) {
@@ -6405,10 +6409,10 @@ function nc(e) {
6405
6409
  }
6406
6410
  const rc = (e, a, t) => {
6407
6411
  const n = S(e), r = n.getDay();
6408
- return _(n, a, t) ? ln(r) : ac(r);
6412
+ return _(n, a, t) ? hn(r) : ac(r);
6409
6413
  }, ic = (e, a, t) => {
6410
6414
  const n = S(e), r = n.getDay();
6411
- return _(n, a, t) ? ln(r) : nc(r);
6415
+ return _(n, a, t) ? hn(r) : nc(r);
6412
6416
  }, oc = {
6413
6417
  lastWeek: rc,
6414
6418
  yesterday: "'учора а' p",
@@ -6948,7 +6952,7 @@ function Xc(e) {
6948
6952
  return "'у мінулы " + a + " а' p";
6949
6953
  }
6950
6954
  }
6951
- function cn(e) {
6955
+ function fn(e) {
6952
6956
  return "'у " + xt[e] + " а' p";
6953
6957
  }
6954
6958
  function _c(e) {
@@ -6967,10 +6971,10 @@ function _c(e) {
6967
6971
  }
6968
6972
  const Oc = (e, a, t) => {
6969
6973
  const n = S(e), r = n.getDay();
6970
- return _(n, a, t) ? cn(r) : Xc(r);
6974
+ return _(n, a, t) ? fn(r) : Xc(r);
6971
6975
  }, Fc = (e, a, t) => {
6972
6976
  const n = S(e), r = n.getDay();
6973
- return _(n, a, t) ? cn(r) : _c(r);
6977
+ return _(n, a, t) ? fn(r) : _c(r);
6974
6978
  }, Ac = {
6975
6979
  lastWeek: Oc,
6976
6980
  yesterday: "'учора а' p",
@@ -7385,7 +7389,7 @@ function bh(e) {
7385
7389
  return "'миналия " + a + " в' p";
7386
7390
  }
7387
7391
  }
7388
- function hn(e) {
7392
+ function gn(e) {
7389
7393
  const a = zt[e];
7390
7394
  return e === 2 ? "'във " + a + " в' p" : "'в " + a + " в' p";
7391
7395
  }
@@ -7405,10 +7409,10 @@ function vh(e) {
7405
7409
  }
7406
7410
  const wh = (e, a, t) => {
7407
7411
  const n = S(e), r = n.getDay();
7408
- return _(n, a, t) ? hn(r) : bh(r);
7412
+ return _(n, a, t) ? gn(r) : bh(r);
7409
7413
  }, yh = (e, a, t) => {
7410
7414
  const n = S(e), r = n.getDay();
7411
- return _(n, a, t) ? hn(r) : vh(r);
7415
+ return _(n, a, t) ? gn(r) : vh(r);
7412
7416
  }, Ph = {
7413
7417
  lastWeek: wh,
7414
7418
  yesterday: "'вчера в' p",
@@ -7794,7 +7798,7 @@ function Zh(e, a) {
7794
7798
  }
7795
7799
  }
7796
7800
  const Uh = (e, a) => {
7797
- const t = Number(e), n = fn(t);
7801
+ const t = Number(e), n = pn(t);
7798
7802
  if ((a == null ? void 0 : a.unit) === "date")
7799
7803
  return Zh(t, n);
7800
7804
  if (t > 10 || t === 0) return n + "তম";
@@ -7810,7 +7814,7 @@ const Uh = (e, a) => {
7810
7814
  return n + "ম";
7811
7815
  }
7812
7816
  };
7813
- function fn(e) {
7817
+ function pn(e) {
7814
7818
  return e.toString().replace(/\d/g, function(a) {
7815
7819
  return qh.locale[a];
7816
7820
  });
@@ -7905,7 +7909,7 @@ const ef = {
7905
7909
  }, af = (e, a, t) => {
7906
7910
  let n;
7907
7911
  const r = tf[e];
7908
- return typeof r == "string" ? n = r : a === 1 ? n = r.one : n = r.other.replace("{{count}}", fn(a)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? n + " এর মধ্যে" : n + " আগে" : n;
7912
+ return typeof r == "string" ? n = r : a === 1 ? n = r.one : n = r.other.replace("{{count}}", pn(a)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? n + " এর মধ্যে" : n + " আগে" : n;
7909
7913
  }, nf = {
7910
7914
  full: "EEEE, MMMM do, y",
7911
7915
  long: "MMMM do, y",
@@ -10738,7 +10742,7 @@ const ef = {
10738
10742
  weekStartsOn: 1,
10739
10743
  firstWeekContainsDate: 4
10740
10744
  }
10741
- }, la = {
10745
+ }, ca = {
10742
10746
  lessThanXSeconds: {
10743
10747
  standalone: {
10744
10748
  one: "weniger als 1 Sekunde",
@@ -10893,9 +10897,9 @@ const ef = {
10893
10897
  other: "fast {{count}} Jahren"
10894
10898
  }
10895
10899
  }
10896
- }, gn = (e, a, t) => {
10900
+ }, bn = (e, a, t) => {
10897
10901
  let n;
10898
- const r = t != null && t.addSuffix ? la[e].withPreposition : la[e].standalone;
10902
+ const r = t != null && t.addSuffix ? ca[e].withPreposition : ca[e].standalone;
10899
10903
  return typeof r == "string" ? n = r : a === 1 ? n = r.one : n = r.other.replace("{{count}}", String(a)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "in " + n : "vor " + n : n;
10900
10904
  }, Ob = {
10901
10905
  full: "EEEE, do MMMM y",
@@ -10916,7 +10920,7 @@ const ef = {
10916
10920
  long: "{{date}} 'um' {{time}}",
10917
10921
  medium: "{{date}} {{time}}",
10918
10922
  short: "{{date}} {{time}}"
10919
- }, pn = {
10923
+ }, vn = {
10920
10924
  date: d({
10921
10925
  formats: Ob,
10922
10926
  defaultWidth: "full"
@@ -10936,7 +10940,7 @@ const ef = {
10936
10940
  tomorrow: "'morgen um' p",
10937
10941
  nextWeek: "eeee 'um' p",
10938
10942
  other: "P"
10939
- }, bn = (e, a, t, n) => Yb[e], Ib = {
10943
+ }, wn = (e, a, t, n) => Yb[e], Ib = {
10940
10944
  narrow: ["v.Chr.", "n.Chr."],
10941
10945
  abbreviated: ["v.Chr.", "n.Chr."],
10942
10946
  wide: ["vor Christus", "nach Christus"]
@@ -11161,7 +11165,7 @@ const ef = {
11161
11165
  night: /nachts/i
11162
11166
  // will never be matched. Night is matched by `pm`
11163
11167
  }
11164
- }, vn = {
11168
+ }, yn = {
11165
11169
  ordinalNumber: g({
11166
11170
  matchPattern: Bb,
11167
11171
  parsePattern: Zb,
@@ -11200,11 +11204,11 @@ const ef = {
11200
11204
  })
11201
11205
  }, AK = {
11202
11206
  code: "de",
11203
- formatDistance: gn,
11204
- formatLong: pn,
11205
- formatRelative: bn,
11207
+ formatDistance: bn,
11208
+ formatLong: vn,
11209
+ formatRelative: wn,
11206
11210
  localize: Jb,
11207
- match: vn,
11211
+ match: yn,
11208
11212
  options: {
11209
11213
  weekStartsOn: 1,
11210
11214
  firstWeekContainsDate: 4
@@ -11367,11 +11371,11 @@ const ef = {
11367
11371
  })
11368
11372
  }, YK = {
11369
11373
  code: "de-AT",
11370
- formatDistance: gn,
11371
- formatLong: pn,
11372
- formatRelative: bn,
11374
+ formatDistance: bn,
11375
+ formatLong: vn,
11376
+ formatRelative: wn,
11373
11377
  localize: pv,
11374
- match: vn,
11378
+ match: yn,
11375
11379
  options: {
11376
11380
  weekStartsOn: 1,
11377
11381
  firstWeekContainsDate: 4
@@ -11775,9 +11779,9 @@ const ef = {
11775
11779
  code: "en-AU",
11776
11780
  formatDistance: De,
11777
11781
  formatLong: Kv,
11778
- formatRelative: we,
11779
- localize: ye,
11780
- match: Pe,
11782
+ formatRelative: ye,
11783
+ localize: Pe,
11784
+ match: Me,
11781
11785
  options: {
11782
11786
  weekStartsOn: 1,
11783
11787
  firstWeekContainsDate: 4
@@ -11880,9 +11884,9 @@ const ef = {
11880
11884
  code: "en-CA",
11881
11885
  formatDistance: Bv,
11882
11886
  formatLong: tw,
11883
- formatRelative: we,
11884
- localize: ye,
11885
- match: Pe,
11887
+ formatRelative: ye,
11888
+ localize: Pe,
11889
+ match: Me,
11886
11890
  options: {
11887
11891
  weekStartsOn: 0,
11888
11892
  firstWeekContainsDate: 1
@@ -11902,7 +11906,7 @@ const ef = {
11902
11906
  long: "{{date}} 'at' {{time}}",
11903
11907
  medium: "{{date}}, {{time}}",
11904
11908
  short: "{{date}}, {{time}}"
11905
- }, wn = {
11909
+ }, Pn = {
11906
11910
  date: d({
11907
11911
  formats: aw,
11908
11912
  defaultWidth: "full"
@@ -11918,10 +11922,10 @@ const ef = {
11918
11922
  }, GK = {
11919
11923
  code: "en-GB",
11920
11924
  formatDistance: De,
11921
- formatLong: wn,
11922
- formatRelative: we,
11923
- localize: ye,
11924
- match: Pe,
11925
+ formatLong: Pn,
11926
+ formatRelative: ye,
11927
+ localize: Pe,
11928
+ match: Me,
11925
11929
  options: {
11926
11930
  weekStartsOn: 1,
11927
11931
  firstWeekContainsDate: 4
@@ -11929,10 +11933,10 @@ const ef = {
11929
11933
  }, RK = {
11930
11934
  code: "en-IE",
11931
11935
  formatDistance: De,
11932
- formatLong: wn,
11933
- formatRelative: we,
11934
- localize: ye,
11935
- match: Pe,
11936
+ formatLong: Pn,
11937
+ formatRelative: ye,
11938
+ localize: Pe,
11939
+ match: Me,
11936
11940
  options: {
11937
11941
  weekStartsOn: 1,
11938
11942
  firstWeekContainsDate: 4
@@ -11969,9 +11973,9 @@ const ef = {
11969
11973
  code: "en-IN",
11970
11974
  formatDistance: De,
11971
11975
  formatLong: dw,
11972
- formatRelative: we,
11973
- localize: ye,
11974
- match: Pe,
11976
+ formatRelative: ye,
11977
+ localize: Pe,
11978
+ match: Me,
11975
11979
  options: {
11976
11980
  weekStartsOn: 1,
11977
11981
  // Monday is the first day of the week.
@@ -12010,9 +12014,9 @@ const ef = {
12010
12014
  code: "en-NZ",
12011
12015
  formatDistance: De,
12012
12016
  formatLong: cw,
12013
- formatRelative: we,
12014
- localize: ye,
12015
- match: Pe,
12017
+ formatRelative: ye,
12018
+ localize: Pe,
12019
+ match: Me,
12016
12020
  options: {
12017
12021
  weekStartsOn: 1,
12018
12022
  firstWeekContainsDate: 4
@@ -12049,9 +12053,9 @@ const ef = {
12049
12053
  code: "en-ZA",
12050
12054
  formatDistance: De,
12051
12055
  formatLong: pw,
12052
- formatRelative: we,
12053
- localize: ye,
12054
- match: Pe,
12056
+ formatRelative: ye,
12057
+ localize: Pe,
12058
+ match: Me,
12055
12059
  options: {
12056
12060
  weekStartsOn: 0,
12057
12061
  // Sunday is the first day of the week.
@@ -12755,7 +12759,7 @@ const ef = {
12755
12759
  weekStartsOn: 1,
12756
12760
  firstWeekContainsDate: 1
12757
12761
  }
12758
- }, ca = {
12762
+ }, ha = {
12759
12763
  lessThanXSeconds: {
12760
12764
  standalone: {
12761
12765
  one: "vähem kui üks sekund",
@@ -12911,7 +12915,7 @@ const ef = {
12911
12915
  }
12912
12916
  }
12913
12917
  }, Py = (e, a, t) => {
12914
- const n = t != null && t.addSuffix ? ca[e].withPreposition : ca[e].standalone;
12918
+ const n = t != null && t.addSuffix ? ha[e].withPreposition : ha[e].standalone;
12915
12919
  let r;
12916
12920
  return typeof n == "string" ? r = n : a === 1 ? r = n.one : r = n.other.replace("{{count}}", String(a)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? r + " pärast" : r + " eest" : r;
12917
12921
  }, My = {
@@ -12957,7 +12961,7 @@ const ef = {
12957
12961
  narrow: ["1", "2", "3", "4"],
12958
12962
  abbreviated: ["K1", "K2", "K3", "K4"],
12959
12963
  wide: ["1. kvartal", "2. kvartal", "3. kvartal", "4. kvartal"]
12960
- }, ha = {
12964
+ }, fa = {
12961
12965
  narrow: ["J", "V", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
12962
12966
  abbreviated: [
12963
12967
  "jaan",
@@ -12987,7 +12991,7 @@ const ef = {
12987
12991
  "november",
12988
12992
  "detsember"
12989
12993
  ]
12990
- }, fa = {
12994
+ }, ga = {
12991
12995
  narrow: ["P", "E", "T", "K", "N", "R", "L"],
12992
12996
  short: ["P", "E", "T", "K", "N", "R", "L"],
12993
12997
  abbreviated: [
@@ -13082,15 +13086,15 @@ const ef = {
13082
13086
  argumentCallback: (e) => e - 1
13083
13087
  }),
13084
13088
  month: i({
13085
- values: ha,
13089
+ values: fa,
13086
13090
  defaultWidth: "wide",
13087
- formattingValues: ha,
13091
+ formattingValues: fa,
13088
13092
  defaultFormattingWidth: "wide"
13089
13093
  }),
13090
13094
  day: i({
13091
- values: fa,
13095
+ values: ga,
13092
13096
  defaultWidth: "wide",
13093
- formattingValues: fa,
13097
+ formattingValues: ga,
13094
13098
  defaultFormattingWidth: "wide"
13095
13099
  }),
13096
13100
  dayPeriod: i({
@@ -13964,22 +13968,22 @@ const ef = {
13964
13968
  firstWeekContainsDate: 1
13965
13969
  }
13966
13970
  };
13967
- function ga(e) {
13971
+ function pa(e) {
13968
13972
  return e.replace(/sekuntia?/, "sekunnin");
13969
13973
  }
13970
- function pa(e) {
13974
+ function ba(e) {
13971
13975
  return e.replace(/minuuttia?/, "minuutin");
13972
13976
  }
13973
- function ba(e) {
13977
+ function va(e) {
13974
13978
  return e.replace(/tuntia?/, "tunnin");
13975
13979
  }
13976
13980
  function ZP(e) {
13977
13981
  return e.replace(/päivää?/, "päivän");
13978
13982
  }
13979
- function va(e) {
13983
+ function wa(e) {
13980
13984
  return e.replace(/(viikko|viikkoa)/, "viikon");
13981
13985
  }
13982
- function wa(e) {
13986
+ function ya(e) {
13983
13987
  return e.replace(/(kuukausi|kuukautta)/, "kuukauden");
13984
13988
  }
13985
13989
  function Ze(e) {
@@ -13989,12 +13993,12 @@ const UP = {
13989
13993
  lessThanXSeconds: {
13990
13994
  one: "alle sekunti",
13991
13995
  other: "alle {{count}} sekuntia",
13992
- futureTense: ga
13996
+ futureTense: pa
13993
13997
  },
13994
13998
  xSeconds: {
13995
13999
  one: "sekunti",
13996
14000
  other: "{{count}} sekuntia",
13997
- futureTense: ga
14001
+ futureTense: pa
13998
14002
  },
13999
14003
  halfAMinute: {
14000
14004
  one: "puoli minuuttia",
@@ -14004,22 +14008,22 @@ const UP = {
14004
14008
  lessThanXMinutes: {
14005
14009
  one: "alle minuutti",
14006
14010
  other: "alle {{count}} minuuttia",
14007
- futureTense: pa
14011
+ futureTense: ba
14008
14012
  },
14009
14013
  xMinutes: {
14010
14014
  one: "minuutti",
14011
14015
  other: "{{count}} minuuttia",
14012
- futureTense: pa
14016
+ futureTense: ba
14013
14017
  },
14014
14018
  aboutXHours: {
14015
14019
  one: "noin tunti",
14016
14020
  other: "noin {{count}} tuntia",
14017
- futureTense: ba
14021
+ futureTense: va
14018
14022
  },
14019
14023
  xHours: {
14020
14024
  one: "tunti",
14021
14025
  other: "{{count}} tuntia",
14022
- futureTense: ba
14026
+ futureTense: va
14023
14027
  },
14024
14028
  xDays: {
14025
14029
  one: "päivä",
@@ -14029,22 +14033,22 @@ const UP = {
14029
14033
  aboutXWeeks: {
14030
14034
  one: "noin viikko",
14031
14035
  other: "noin {{count}} viikkoa",
14032
- futureTense: va
14036
+ futureTense: wa
14033
14037
  },
14034
14038
  xWeeks: {
14035
14039
  one: "viikko",
14036
14040
  other: "{{count}} viikkoa",
14037
- futureTense: va
14041
+ futureTense: wa
14038
14042
  },
14039
14043
  aboutXMonths: {
14040
14044
  one: "noin kuukausi",
14041
14045
  other: "noin {{count}} kuukautta",
14042
- futureTense: wa
14046
+ futureTense: ya
14043
14047
  },
14044
14048
  xMonths: {
14045
14049
  one: "kuukausi",
14046
14050
  other: "{{count}} kuukautta",
14047
- futureTense: wa
14051
+ futureTense: ya
14048
14052
  },
14049
14053
  aboutXYears: {
14050
14054
  one: "noin vuosi",
@@ -14459,7 +14463,7 @@ const UP = {
14459
14463
  tomorrow: "'demain à' p'",
14460
14464
  nextWeek: "eeee 'prochain à' p",
14461
14465
  other: "P"
14462
- }, yn = (e, a, t, n) => T1[e], C1 = {
14466
+ }, Mn = (e, a, t, n) => T1[e], C1 = {
14463
14467
  narrow: ["av. J.-C", "ap. J.-C"],
14464
14468
  abbreviated: ["av. J.-C", "ap. J.-C"],
14465
14469
  wide: ["avant Jésus-Christ", "après Jésus-Christ"]
@@ -14683,7 +14687,7 @@ const UP = {
14683
14687
  code: "fr",
14684
14688
  formatDistance: St,
14685
14689
  formatLong: N1,
14686
- formatRelative: yn,
14690
+ formatRelative: Mn,
14687
14691
  localize: Nt,
14688
14692
  match: Tt,
14689
14693
  options: {
@@ -14722,7 +14726,7 @@ const UP = {
14722
14726
  code: "fr-CA",
14723
14727
  formatDistance: St,
14724
14728
  formatLong: tM,
14725
- formatRelative: yn,
14729
+ formatRelative: Mn,
14726
14730
  localize: Nt,
14727
14731
  match: Tt,
14728
14732
  // Unique for fr-CA
@@ -16612,7 +16616,7 @@ const UP = {
16612
16616
  weekStartsOn: 0,
16613
16617
  firstWeekContainsDate: 1
16614
16618
  }
16615
- }, Pn = {
16619
+ }, kn = {
16616
16620
  locale: {
16617
16621
  1: "१",
16618
16622
  2: "२",
@@ -16765,17 +16769,17 @@ const UP = {
16765
16769
  }
16766
16770
  }, Z$ = (e, a) => {
16767
16771
  const t = Number(e);
16768
- return Mn(t);
16772
+ return $n(t);
16769
16773
  };
16770
16774
  function U$(e) {
16771
16775
  const a = e.toString().replace(/[१२३४५६७८९०]/g, function(t) {
16772
- return Pn.number[t];
16776
+ return kn.number[t];
16773
16777
  });
16774
16778
  return Number(a);
16775
16779
  }
16776
- function Mn(e) {
16780
+ function $n(e) {
16777
16781
  return e.toString().replace(/\d/g, function(a) {
16778
- return Pn.locale[a];
16782
+ return kn.locale[a];
16779
16783
  });
16780
16784
  }
16781
16785
  const eW = {
@@ -16874,7 +16878,7 @@ const eW = {
16874
16878
  }, aW = (e, a, t) => {
16875
16879
  let n;
16876
16880
  const r = tW[e];
16877
- return typeof r == "string" ? n = r : a === 1 ? n = r.one : n = r.other.replace("{{count}}", Mn(a)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? n + "मे " : n + " पहले" : n;
16881
+ return typeof r == "string" ? n = r : a === 1 ? n = r.one : n = r.other.replace("{{count}}", $n(a)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? n + "मे " : n + " पहले" : n;
16878
16882
  }, nW = {
16879
16883
  full: "EEEE, do MMMM, y",
16880
16884
  // CLDR #1787
@@ -17981,18 +17985,18 @@ const eW = {
17981
17985
  "pénteken",
17982
17986
  "szombaton"
17983
17987
  ];
17984
- function ya(e) {
17988
+ function Pa(e) {
17985
17989
  return (a) => {
17986
17990
  const t = Ej[a.getDay()];
17987
17991
  return `${e ? "" : "'múlt' "}'${t}' p'-kor'`;
17988
17992
  };
17989
17993
  }
17990
17994
  const Vj = {
17991
- lastWeek: ya(!1),
17995
+ lastWeek: Pa(!1),
17992
17996
  yesterday: "'tegnap' p'-kor'",
17993
17997
  today: "'ma' p'-kor'",
17994
17998
  tomorrow: "'holnap' p'-kor'",
17995
- nextWeek: ya(!0),
17999
+ nextWeek: Pa(!0),
17996
18000
  other: "P"
17997
18001
  }, Hj = (e, a) => {
17998
18002
  const t = Vj[e];
@@ -19345,7 +19349,7 @@ const Vj = {
19345
19349
  one: "quasi un anno",
19346
19350
  other: "quasi {{count}} anni"
19347
19351
  }
19348
- }, kn = (e, a, t) => {
19352
+ }, Wn = (e, a, t) => {
19349
19353
  let n;
19350
19354
  const r = Xx[e];
19351
19355
  return typeof r == "string" ? n = r : a === 1 ? n = r.one : n = r.other.replace("{{count}}", a.toString()), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "tra " + n : n + " fa" : n;
@@ -19394,7 +19398,7 @@ function Yx(e) {
19394
19398
  return "'" + Ct[e] + " scorso alle' p";
19395
19399
  }
19396
19400
  }
19397
- function Pa(e) {
19401
+ function Ma(e) {
19398
19402
  return "'" + Ct[e] + " alle' p";
19399
19403
  }
19400
19404
  function Ix(e) {
@@ -19408,17 +19412,17 @@ function Ix(e) {
19408
19412
  const Lx = {
19409
19413
  lastWeek: (e, a, t) => {
19410
19414
  const n = e.getDay();
19411
- return _(e, a, t) ? Pa(n) : Yx(n);
19415
+ return _(e, a, t) ? Ma(n) : Yx(n);
19412
19416
  },
19413
19417
  yesterday: "'ieri alle' p",
19414
19418
  today: "'oggi alle' p",
19415
19419
  tomorrow: "'domani alle' p",
19416
19420
  nextWeek: (e, a, t) => {
19417
19421
  const n = e.getDay();
19418
- return _(e, a, t) ? Pa(n) : Ix(n);
19422
+ return _(e, a, t) ? Ma(n) : Ix(n);
19419
19423
  },
19420
19424
  other: "P"
19421
- }, $n = (e, a, t, n) => {
19425
+ }, jn = (e, a, t, n) => {
19422
19426
  const r = Lx[e];
19423
19427
  return typeof r == "function" ? r(a, t, n) : r;
19424
19428
  }, qx = {
@@ -19537,7 +19541,7 @@ const Lx = {
19537
19541
  }, Bx = (e, a) => {
19538
19542
  const t = Number(e);
19539
19543
  return String(t);
19540
- }, Wn = {
19544
+ }, Dn = {
19541
19545
  ordinalNumber: Bx,
19542
19546
  era: i({
19543
19547
  values: qx,
@@ -19629,7 +19633,7 @@ const Lx = {
19629
19633
  evening: /sera/i,
19630
19634
  night: /notte/i
19631
19635
  }
19632
- }, jn = {
19636
+ }, xn = {
19633
19637
  ordinalNumber: g({
19634
19638
  matchPattern: Zx,
19635
19639
  parsePattern: Ux,
@@ -19668,11 +19672,11 @@ const Lx = {
19668
19672
  })
19669
19673
  }, vJ = {
19670
19674
  code: "it",
19671
- formatDistance: kn,
19675
+ formatDistance: Wn,
19672
19676
  formatLong: Ax,
19673
- formatRelative: $n,
19674
- localize: Wn,
19675
- match: jn,
19677
+ formatRelative: jn,
19678
+ localize: Dn,
19679
+ match: xn,
19676
19680
  options: {
19677
19681
  weekStartsOn: 1,
19678
19682
  firstWeekContainsDate: 4
@@ -19707,11 +19711,11 @@ const Lx = {
19707
19711
  })
19708
19712
  }, wJ = {
19709
19713
  code: "it-CH",
19710
- formatDistance: kn,
19714
+ formatDistance: Wn,
19711
19715
  formatLong: hz,
19712
- formatRelative: $n,
19713
- localize: Wn,
19714
- match: jn,
19716
+ formatRelative: jn,
19717
+ localize: Dn,
19718
+ match: xn,
19715
19719
  options: {
19716
19720
  weekStartsOn: 1,
19717
19721
  firstWeekContainsDate: 4
@@ -21035,7 +21039,7 @@ const QS = (e, a, t) => {
21035
21039
  function US(e) {
21036
21040
  return "'өткен " + Et[e] + " сағат' p'-де'";
21037
21041
  }
21038
- function Ma(e) {
21042
+ function ka(e) {
21039
21043
  return "'" + Et[e] + " сағат' p'-де'";
21040
21044
  }
21041
21045
  function eN(e) {
@@ -21044,14 +21048,14 @@ function eN(e) {
21044
21048
  const tN = {
21045
21049
  lastWeek: (e, a, t) => {
21046
21050
  const n = e.getDay();
21047
- return _(e, a, t) ? Ma(n) : US(n);
21051
+ return _(e, a, t) ? ka(n) : US(n);
21048
21052
  },
21049
21053
  yesterday: "'кеше сағат' p'-де'",
21050
21054
  today: "'бүгін сағат' p'-де'",
21051
21055
  tomorrow: "'ертең сағат' p'-де'",
21052
21056
  nextWeek: (e, a, t) => {
21053
21057
  const n = e.getDay();
21054
- return _(e, a, t) ? Ma(n) : eN(n);
21058
+ return _(e, a, t) ? ka(n) : eN(n);
21055
21059
  },
21056
21060
  other: "P"
21057
21061
  }, aN = (e, a, t, n) => {
@@ -21853,13 +21857,13 @@ const tN = {
21853
21857
  }
21854
21858
  }
21855
21859
  };
21856
- function ka(e, a) {
21860
+ function $a(e, a) {
21857
21861
  return a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? e.future : e.past : e.default;
21858
21862
  }
21859
21863
  const t2 = (e, a, t) => {
21860
21864
  let n;
21861
21865
  const r = e2[e];
21862
- return r.one && a === 1 ? n = ka(r.one, t) : n = ka(r.other, t), n.replace("{{count}}", String(a));
21866
+ return r.one && a === 1 ? n = $a(r.one, t) : n = $a(r.other, t), n.replace("{{count}}", String(a));
21863
21867
  }, a2 = {
21864
21868
  full: "EEEE, MMMM d, y",
21865
21869
  // CLDR 1816
@@ -22661,7 +22665,7 @@ const t2 = (e, a, t) => {
22661
22665
  }
22662
22666
  }
22663
22667
  }, iT = ["d", "h", "n", "t", "z"], oT = ["a,", "e", "i", "o", "u"], sT = [0, 1, 2, 3, 8, 9], dT = [40, 50, 60, 70];
22664
- function $a(e) {
22668
+ function Wa(e) {
22665
22669
  const a = e.charAt(0).toLowerCase();
22666
22670
  if (oT.indexOf(a) != -1 || iT.indexOf(a) != -1)
22667
22671
  return !0;
@@ -22673,7 +22677,7 @@ function $a(e) {
22673
22677
  const uT = (e, a, t) => {
22674
22678
  let n;
22675
22679
  const r = rT[e], s = t != null && t.addSuffix ? r.withPreposition : r.standalone;
22676
- return typeof s == "string" ? n = s : a === 1 ? n = s.one : n = s.other.replace("{{count}}", String(a)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "a" + ($a(n) ? "n" : "") + " " + n : "viru" + ($a(n) ? "n" : "") + " " + n : n;
22680
+ return typeof s == "string" ? n = s : a === 1 ? n = s.one : n = s.other.replace("{{count}}", String(a)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "a" + (Wa(n) ? "n" : "") + " " + n : "viru" + (Wa(n) ? "n" : "") + " " + n : n;
22677
22681
  }, mT = {
22678
22682
  full: "EEEE, do MMMM y",
22679
22683
  // Méindeg, 7. Januar 2018
@@ -22975,7 +22979,7 @@ const uT = (e, a, t) => {
22975
22979
  weekStartsOn: 1,
22976
22980
  firstWeekContainsDate: 4
22977
22981
  }
22978
- }, Dn = {
22982
+ }, zn = {
22979
22983
  xseconds_other: "sekundė_sekundžių_sekundes",
22980
22984
  xminutes_one: "minutė_minutės_minutę",
22981
22985
  xminutes_other: "minutės_minučių_minutes",
@@ -22993,23 +22997,23 @@ const uT = (e, a, t) => {
22993
22997
  over: "daugiau nei",
22994
22998
  almost: "beveik",
22995
22999
  lessthan: "mažiau nei"
22996
- }, Wa = (e, a, t, n) => a ? n ? "kelių sekundžių" : "kelias sekundes" : "kelios sekundės", Z = (e, a, t, n) => a ? n ? be(t)[1] : be(t)[2] : be(t)[0], Q = (e, a, t, n) => {
23000
+ }, ja = (e, a, t, n) => a ? n ? "kelių sekundžių" : "kelias sekundes" : "kelios sekundės", Z = (e, a, t, n) => a ? n ? ve(t)[1] : ve(t)[2] : ve(t)[0], Q = (e, a, t, n) => {
22997
23001
  const r = e + " ";
22998
- return e === 1 ? r + Z(e, a, t, n) : a ? n ? r + be(t)[1] : r + (ja(e) ? be(t)[1] : be(t)[2]) : r + (ja(e) ? be(t)[1] : be(t)[0]);
23002
+ return e === 1 ? r + Z(e, a, t, n) : a ? n ? r + ve(t)[1] : r + (Da(e) ? ve(t)[1] : ve(t)[2]) : r + (Da(e) ? ve(t)[1] : ve(t)[0]);
22999
23003
  };
23000
- function ja(e) {
23004
+ function Da(e) {
23001
23005
  return e % 10 === 0 || e > 10 && e < 20;
23002
23006
  }
23003
- function be(e) {
23004
- return Dn[e].split("_");
23007
+ function ve(e) {
23008
+ return zn[e].split("_");
23005
23009
  }
23006
23010
  const XT = {
23007
23011
  lessThanXSeconds: {
23008
- one: Wa,
23012
+ one: ja,
23009
23013
  other: Q
23010
23014
  },
23011
23015
  xSeconds: {
23012
- one: Wa,
23016
+ one: ja,
23013
23017
  other: Q
23014
23018
  },
23015
23019
  halfAMinute: "pusė minutės",
@@ -23081,7 +23085,7 @@ const XT = {
23081
23085
  s
23082
23086
  ), n) {
23083
23087
  const l = n[0].toLowerCase();
23084
- m = Dn[l] + " " + m;
23088
+ m = zn[l] + " " + m;
23085
23089
  }
23086
23090
  return t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "po " + m : "prieš " + m : m;
23087
23091
  }, OT = {
@@ -23585,7 +23589,7 @@ const g0 = {
23585
23589
  formats: w0,
23586
23590
  defaultWidth: "full"
23587
23591
  })
23588
- }, Da = [
23592
+ }, xa = [
23589
23593
  "svētdienā",
23590
23594
  "pirmdienā",
23591
23595
  "otrdienā",
@@ -23594,11 +23598,11 @@ const g0 = {
23594
23598
  "piektdienā",
23595
23599
  "sestdienā"
23596
23600
  ], P0 = {
23597
- lastWeek: (e, a, t) => _(e, a, t) ? "eeee 'plkst.' p" : "'Pagājušā " + Da[e.getDay()] + " plkst.' p",
23601
+ lastWeek: (e, a, t) => _(e, a, t) ? "eeee 'plkst.' p" : "'Pagājušā " + xa[e.getDay()] + " plkst.' p",
23598
23602
  yesterday: "'Vakar plkst.' p",
23599
23603
  today: "'Šodien plkst.' p",
23600
23604
  tomorrow: "'Rīt plkst.' p",
23601
- nextWeek: (e, a, t) => _(e, a, t) ? "eeee 'plkst.' p" : "'Nākamajā " + Da[e.getDay()] + " plkst.' p",
23605
+ nextWeek: (e, a, t) => _(e, a, t) ? "eeee 'plkst.' p" : "'Nākamajā " + xa[e.getDay()] + " plkst.' p",
23602
23606
  other: "P"
23603
23607
  }, M0 = (e, a, t, n) => {
23604
23608
  const r = P0[e];
@@ -24052,7 +24056,7 @@ function U0(e) {
24052
24056
  return "'минатиот " + a + " во' p";
24053
24057
  }
24054
24058
  }
24055
- function xa(e) {
24059
+ function za(e) {
24056
24060
  const a = Vt[e];
24057
24061
  switch (e) {
24058
24062
  case 0:
@@ -24083,14 +24087,14 @@ function eC(e) {
24083
24087
  const tC = {
24084
24088
  lastWeek: (e, a, t) => {
24085
24089
  const n = e.getDay();
24086
- return _(e, a, t) ? xa(n) : U0(n);
24090
+ return _(e, a, t) ? za(n) : U0(n);
24087
24091
  },
24088
24092
  yesterday: "'вчера во' p",
24089
24093
  today: "'денес во' p",
24090
24094
  tomorrow: "'утре во' p",
24091
24095
  nextWeek: (e, a, t) => {
24092
24096
  const n = e.getDay();
24093
- return _(e, a, t) ? xa(n) : eC(n);
24097
+ return _(e, a, t) ? za(n) : eC(n);
24094
24098
  },
24095
24099
  other: "P"
24096
24100
  }, aC = (e, a, t, n) => {
@@ -27262,7 +27266,7 @@ const O3 = (e, a, t) => {
27262
27266
  5: "masculine",
27263
27267
  6: "feminine"
27264
27268
  };
27265
- function za(e, a, t, n) {
27269
+ function Sa(e, a, t, n) {
27266
27270
  let r;
27267
27271
  if (_(a, t, n))
27268
27272
  r = q3;
@@ -27276,11 +27280,11 @@ function za(e, a, t, n) {
27276
27280
  return `'${r[m]}' eeee 'o' p`;
27277
27281
  }
27278
27282
  const Q3 = {
27279
- lastWeek: za,
27283
+ lastWeek: Sa,
27280
27284
  yesterday: "'wczoraj o' p",
27281
27285
  today: "'dzisiaj o' p",
27282
27286
  tomorrow: "'jutro o' p",
27283
- nextWeek: za,
27287
+ nextWeek: Sa,
27284
27288
  other: "P"
27285
27289
  }, K3 = (e, a, t, n) => {
27286
27290
  const r = Q3[e];
@@ -28919,7 +28923,7 @@ function r_(e) {
28919
28923
  return "'в прошлую " + a + " в' p";
28920
28924
  }
28921
28925
  }
28922
- function Sa(e) {
28926
+ function Na(e) {
28923
28927
  const a = Ht[e];
28924
28928
  return e === 2 ? "'во " + a + " в' p" : "'в " + a + " в' p";
28925
28929
  }
@@ -28941,14 +28945,14 @@ function i_(e) {
28941
28945
  const o_ = {
28942
28946
  lastWeek: (e, a, t) => {
28943
28947
  const n = e.getDay();
28944
- return _(e, a, t) ? Sa(n) : r_(n);
28948
+ return _(e, a, t) ? Na(n) : r_(n);
28945
28949
  },
28946
28950
  yesterday: "'вчера в' p",
28947
28951
  today: "'сегодня в' p",
28948
28952
  tomorrow: "'завтра в' p",
28949
28953
  nextWeek: (e, a, t) => {
28950
28954
  const n = e.getDay();
28951
- return _(e, a, t) ? Sa(n) : i_(n);
28955
+ return _(e, a, t) ? Na(n) : i_(n);
28952
28956
  },
28953
28957
  other: "P"
28954
28958
  }, s_ = (e, a, t, n) => {
@@ -29769,7 +29773,7 @@ function hO(e) {
29769
29773
  return "'minulý' eeee 'o' p";
29770
29774
  }
29771
29775
  }
29772
- function Na(e) {
29776
+ function Ta(e) {
29773
29777
  const a = Xt[e];
29774
29778
  return e === 4 ? "'vo' eeee 'o' p" : "'v " + a + " o' p";
29775
29779
  }
@@ -29789,14 +29793,14 @@ function fO(e) {
29789
29793
  const gO = {
29790
29794
  lastWeek: (e, a, t) => {
29791
29795
  const n = e.getDay();
29792
- return _(e, a, t) ? Na(n) : hO(n);
29796
+ return _(e, a, t) ? Ta(n) : hO(n);
29793
29797
  },
29794
29798
  yesterday: "'včera o' p",
29795
29799
  today: "'dnes o' p",
29796
29800
  tomorrow: "'zajtra o' p",
29797
29801
  nextWeek: (e, a, t) => {
29798
29802
  const n = e.getDay();
29799
- return _(e, a, t) ? Na(n) : fO(n);
29803
+ return _(e, a, t) ? Ta(n) : fO(n);
29800
29804
  },
29801
29805
  other: "P"
29802
29806
  }, pO = (e, a, t, n) => {
@@ -32995,7 +32999,7 @@ const xY = {
32995
32999
  weekStartsOn: 1,
32996
33000
  firstWeekContainsDate: 4
32997
33001
  }
32998
- }, Ta = {
33002
+ }, Ca = {
32999
33003
  lessThanXSeconds: {
33000
33004
  standalone: {
33001
33005
  one: "సెకను కన్నా తక్కువ",
@@ -33159,7 +33163,7 @@ const xY = {
33159
33163
  }
33160
33164
  }, nI = (e, a, t) => {
33161
33165
  let n;
33162
- const r = t != null && t.addSuffix ? Ta[e].withPreposition : Ta[e].standalone;
33166
+ const r = t != null && t.addSuffix ? Ca[e].withPreposition : Ca[e].standalone;
33163
33167
  return typeof r == "string" ? n = r : a === 1 ? n = r.one : n = r.other.replace("{{count}}", String(a)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? n + "లో" : n + " క్రితం" : n;
33164
33168
  }, rI = {
33165
33169
  full: "d, MMMM y, EEEE",
@@ -34778,7 +34782,7 @@ function bq(e) {
34778
34782
  return "'у минулий " + a + " о' p";
34779
34783
  }
34780
34784
  }
34781
- function xn(e) {
34785
+ function Sn(e) {
34782
34786
  return "'у " + _t[e] + " о' p";
34783
34787
  }
34784
34788
  function vq(e) {
@@ -34797,10 +34801,10 @@ function vq(e) {
34797
34801
  }
34798
34802
  const wq = (e, a, t) => {
34799
34803
  const n = S(e), r = n.getDay();
34800
- return _(n, a, t) ? xn(r) : bq(r);
34804
+ return _(n, a, t) ? Sn(r) : bq(r);
34801
34805
  }, yq = (e, a, t) => {
34802
34806
  const n = S(e), r = n.getDay();
34803
- return _(n, a, t) ? xn(r) : vq(r);
34807
+ return _(n, a, t) ? Sn(r) : vq(r);
34804
34808
  }, Pq = {
34805
34809
  lastWeek: wq,
34806
34810
  yesterday: "'вчора о' p",
@@ -36334,17 +36338,17 @@ const wq = (e, a, t) => {
36334
36338
  defaultWidth: "full"
36335
36339
  })
36336
36340
  };
36337
- function Ca(e, a, t) {
36341
+ function Ea(e, a, t) {
36338
36342
  const n = "eeee p";
36339
36343
  return _(e, a, t) ? n : e.getTime() > a.getTime() ? "'下个'" + n : "'上个'" + n;
36340
36344
  }
36341
36345
  const TR = {
36342
- lastWeek: Ca,
36346
+ lastWeek: Ea,
36343
36347
  // days before yesterday, maybe in this week or last week
36344
36348
  yesterday: "'昨天' p",
36345
36349
  today: "'今天' p",
36346
36350
  tomorrow: "'明天' p",
36347
- nextWeek: Ca,
36351
+ nextWeek: Ea,
36348
36352
  // days after tomorrow, maybe in this week or next week
36349
36353
  other: "PP p"
36350
36354
  }, CR = (e, a, t, n) => {
@@ -37379,7 +37383,7 @@ const TR = {
37379
37383
  button_next: vK,
37380
37384
  button_previous: wK
37381
37385
  }, yK = (e) => {
37382
- const { firstElementRef: a, ...t } = e, n = an(), r = {
37386
+ const { firstElementRef: a, ...t } = e, n = nn(), r = {
37383
37387
  ...Y,
37384
37388
  root: `${n.root} ${Y.root}`,
37385
37389
  day_button: `${n.day_button} ${Y.day_button}`,
@@ -37397,10 +37401,10 @@ const TR = {
37397
37401
  button_next: `${n.button_next} ${Y.button_next}`,
37398
37402
  button_previous: `${n.button_previous} ${Y.button_previous}`
37399
37403
  }, s = (/* @__PURE__ */ new Date()).getFullYear() - 10, m = (/* @__PURE__ */ new Date()).getFullYear() + 10, [u, l] = tt();
37400
- return Ea(() => {
37404
+ return Va(() => {
37401
37405
  t.mode === "single" && t.selected instanceof Date ? l(t.selected) : t.mode === "range" && t.selected && typeof t.selected == "object" && "from" in t.selected && t.selected.from instanceof Date && l(t.selected.from);
37402
37406
  }, [t.selected, t.mode]), /* @__PURE__ */ te(
37403
- ns,
37407
+ is,
37404
37408
  {
37405
37409
  weekStartsOn: 1,
37406
37410
  captionLayout: "dropdown-years",
@@ -37412,8 +37416,8 @@ const TR = {
37412
37416
  classNames: r,
37413
37417
  navLayout: "around",
37414
37418
  components: {
37415
- PreviousMonthButton: (c) => /* @__PURE__ */ te(yt, { ref: a, variant: "text", size: "sm", iconOnly: !0, ...c, children: /* @__PURE__ */ te(un, { size: "sm" }) }),
37416
- NextMonthButton: (c) => /* @__PURE__ */ te(yt, { variant: "text", size: "sm", iconOnly: !0, ...c, children: /* @__PURE__ */ te(mn, { size: "sm" }) })
37419
+ PreviousMonthButton: (c) => /* @__PURE__ */ te(yt, { ref: a, variant: "text", size: "sm", iconOnly: !0, ...c, children: /* @__PURE__ */ te(ln, { size: "sm" }) }),
37420
+ NextMonthButton: (c) => /* @__PURE__ */ te(yt, { variant: "text", size: "sm", iconOnly: !0, ...c, children: /* @__PURE__ */ te(cn, { size: "sm" }) })
37417
37421
  }
37418
37422
  }
37419
37423
  );