test-stpr-ui-kit 0.5.36 → 0.5.38

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.
@@ -3,7 +3,7 @@ var Ts = (n, a, t) => a in n ? Ns(n, a, { enumerable: !0, configurable: !0, writ
3
3
  var re = (n, a, t) => Ts(n, typeof a != "symbol" ? a + "" : a, t);
4
4
  import { jsxs as ue, jsx as M, Fragment as Mn } from "react/jsx-runtime";
5
5
  import * as R from "react";
6
- import T, { useState as Ce, useEffect as Re, useRef as Fe, useCallback as Ge, useLayoutEffect as Ma, cloneElement as mi, createRef as Wt, Component as He, createElement as Ps, forwardRef as hi, createContext as vi, useContext as Is, useMemo as tn, useReducer as Os, useImperativeHandle as Rs, Fragment as Ls } from "react";
6
+ import N, { useState as Ce, useEffect as Re, useRef as Fe, useCallback as Ge, useLayoutEffect as Ma, cloneElement as mi, createRef as Wt, Component as He, createElement as Ps, forwardRef as hi, createContext as vi, useContext as Is, useMemo as tn, useReducer as Os, useImperativeHandle as Rs, Fragment as Ls } from "react";
7
7
  import * as Fs from "react-dom";
8
8
  import gr from "react-dom";
9
9
  function _i(n) {
@@ -54,7 +54,7 @@ const Be = (n) => {
54
54
  [pe.Calendar]: gi,
55
55
  [pe.ArrowBottom]: Bs
56
56
  };
57
- return T.createElement(o[a], {
57
+ return N.createElement(o[a], {
58
58
  ...e,
59
59
  style: r
60
60
  });
@@ -93,14 +93,14 @@ const Be = (n) => {
93
93
  classNameChildrenWrapper: v
94
94
  } = n, [w, b] = Ce(e), y = () => {
95
95
  r || (o == null || o(!w), b(!w));
96
- }, D = E({
96
+ }, C = E({
97
97
  [qe.spAccordion]: !0,
98
98
  [qe.spAccordion_open]: w,
99
99
  [qe.spAccordion_noOpen]: !w,
100
100
  [qe.spAccordion_noBorder]: i,
101
101
  [qe.spAccordion_noPadding]: s,
102
102
  ...p && { [p]: !0 }
103
- }), N = E({
103
+ }), T = E({
104
104
  [qe.spAccordion__header]: !0,
105
105
  ...u && { [u]: !0 }
106
106
  }), S = E({
@@ -108,7 +108,7 @@ const Be = (n) => {
108
108
  [qe[`spAccordion__name--level-${l}`]]: l,
109
109
  [qe.spAccordion__name_hiddenExpand]: r,
110
110
  ...d && { [d]: !0 }
111
- }), C = E({
111
+ }), D = E({
112
112
  [qe.spAccordion__icon]: !0,
113
113
  [qe.spAccordion__icon_open]: w,
114
114
  [qe.spAccordion__icon_hidden]: r,
@@ -121,10 +121,10 @@ const Be = (n) => {
121
121
  [qe.spAccordion__content]: !0,
122
122
  [qe.spAccordion__content_open]: w
123
123
  });
124
- return /* @__PURE__ */ ue("div", { className: D, children: [
125
- /* @__PURE__ */ ue("div", { className: N, children: [
124
+ return /* @__PURE__ */ ue("div", { className: C, children: [
125
+ /* @__PURE__ */ ue("div", { className: T, children: [
126
126
  /* @__PURE__ */ M("div", { className: S, children: /* @__PURE__ */ M("span", { onClick: y, children: a }) }),
127
- /* @__PURE__ */ M(Be, { onClick: y, className: C, name: pe.ChevronDown })
127
+ /* @__PURE__ */ M(Be, { onClick: y, className: D, name: pe.ChevronDown })
128
128
  ] }),
129
129
  /* @__PURE__ */ M("div", { className: x, children: /* @__PURE__ */ M("div", { className: A, children: t }) })
130
130
  ] });
@@ -179,22 +179,22 @@ const Be = (n) => {
179
179
  isFullWidth: w = !1,
180
180
  isOnlyIcon: b = !1,
181
181
  noPadding: y = !1,
182
- classNameRoot: D,
183
- classNameTextRoot: N,
182
+ classNameRoot: C,
183
+ classNameTextRoot: T,
184
184
  classNameIconContainerRoot: S
185
- } = n, C = (j) => {
186
- l || r == null || r(j);
185
+ } = n, D = (Y) => {
186
+ l || r == null || r(Y);
187
187
  }, x = () => {
188
- const j = E({
188
+ const Y = E({
189
189
  [ct.spButton__text]: !0,
190
- ...N && { [N]: !0 }
190
+ ...T && { [T]: !0 }
191
191
  }), P = E({
192
192
  [ct.spButton__iconContainer]: !0,
193
193
  ...S && { [S]: !0 }
194
194
  }), L = () => v ? /* @__PURE__ */ M("div", { className: P, children: /* @__PURE__ */ M(Ea, { size: "md", classNameRoot: ct.spButton__spinner }) }) : o ? /* @__PURE__ */ M("div", { className: P, children: /* @__PURE__ */ M(Be, { name: o, rotate: s }) }) : i ? /* @__PURE__ */ M("div", { className: P, children: i }) : null;
195
195
  return /* @__PURE__ */ ue(Mn, { children: [
196
196
  u === "start" && L(),
197
- !b && m && /* @__PURE__ */ M("div", { className: j, children: m }),
197
+ !b && m && /* @__PURE__ */ M("div", { className: Y, children: m }),
198
198
  u === "end" && L()
199
199
  ] });
200
200
  }, A = E({
@@ -206,14 +206,14 @@ const Be = (n) => {
206
206
  [ct.spButton_fullWidth]: w,
207
207
  [ct.spButton_disabled]: l,
208
208
  [ct.spButton_loading]: v,
209
- ...D && { [D]: !0 }
209
+ ...C && { [C]: !0 }
210
210
  });
211
211
  return /* @__PURE__ */ M(
212
212
  "button",
213
213
  {
214
214
  style: e,
215
215
  className: A,
216
- onClick: C,
216
+ onClick: D,
217
217
  disabled: l,
218
218
  type: p,
219
219
  form: d,
@@ -247,18 +247,18 @@ const Be = (n) => {
247
247
  submitBtnVariant: w = "primary",
248
248
  cancelBtnClassName: b,
249
249
  submitBtnClassName: y
250
- } = n, D = E({
250
+ } = n, C = E({
251
251
  [wn.spApplyButtons]: !0,
252
252
  [wn[`spApplyButtons_mobile-${a}`]]: a,
253
253
  [wn[`spApplyButtons_align-${t}`]]: t
254
- }), N = E({
254
+ }), T = E({
255
255
  [wn.spApplyButtons__submit]: !0,
256
256
  ...y && { [y]: !0 }
257
257
  }), S = E({
258
258
  [wn.spApplyButtons__cancel]: !0,
259
259
  ...b && { [b]: !0 }
260
260
  });
261
- return /* @__PURE__ */ ue("div", { className: D, children: [
261
+ return /* @__PURE__ */ ue("div", { className: C, children: [
262
262
  u && /* @__PURE__ */ M(
263
263
  tr,
264
264
  {
@@ -277,7 +277,7 @@ const Be = (n) => {
277
277
  type: "submit",
278
278
  variant: w,
279
279
  iconName: o,
280
- classNameRoot: N,
280
+ classNameRoot: T,
281
281
  form: l || void 0,
282
282
  disabled: p,
283
283
  onClick: d,
@@ -348,7 +348,7 @@ const Be = (n) => {
348
348
  "spText_type-description": "_spText_type-description_ouo6s_96",
349
349
  "spText_type-link": "_spText_type-link_ouo6s_104",
350
350
  spText_cursorPointer: Ul
351
- }, st = T.forwardRef((n, a) => {
351
+ }, st = N.forwardRef((n, a) => {
352
352
  const {
353
353
  type: t,
354
354
  children: e,
@@ -417,19 +417,19 @@ const $l = "_modalWrapper_1qyrz_43", Ql = "_modalWrapper__modal_1qyrz_76", Gl =
417
417
  subHeader: w,
418
418
  footer: b,
419
419
  size: y = "lg"
420
- } = n, D = E({
420
+ } = n, C = E({
421
421
  [et.modalWrapper]: !0,
422
422
  [et[`modalWrapper--modalVerticalAlign-${u}`]]: u,
423
423
  [et[`modalWrapper--textAlign-${d}`]]: d,
424
424
  ...o && { [o]: !0 }
425
- }), N = E({
425
+ }), T = E({
426
426
  [et.modalWrapper__modal]: !0,
427
427
  [et[`modalWrapper__modal--size-${y}`]]: y,
428
428
  ...i && { [i]: !0 }
429
429
  }), S = E({
430
430
  [et.modalWrapper__closeButton]: !0,
431
431
  [et[`modalWrapper__closeButton--size-${y}`]]: y
432
- }), C = E({
432
+ }), D = E({
433
433
  [et.modalWrapper__closeButtonIconContainer]: !0,
434
434
  [et[`modalWrapper__closeButtonIconContainer--size-${y}`]]: y
435
435
  }), x = E({
@@ -437,16 +437,16 @@ const $l = "_modalWrapper_1qyrz_43", Ql = "_modalWrapper__modal_1qyrz_76", Gl =
437
437
  }), A = E({
438
438
  [et.modalWrapper__header]: !0,
439
439
  ...s && { [s]: !0 }
440
- }), j = E({
440
+ }), Y = E({
441
441
  [et.modalWrapper__subHeader]: !0
442
442
  }), P = E({
443
443
  [et.modalWrapper__footer]: !0,
444
444
  ...l && { [l]: !0 }
445
445
  });
446
- return /* @__PURE__ */ M(bi, { zIndex: a, isHiddenModal: t, classNameRoot: D, children: /* @__PURE__ */ ue("div", { className: N, style: p, children: [
446
+ return /* @__PURE__ */ M(bi, { zIndex: a, isHiddenModal: t, classNameRoot: C, children: /* @__PURE__ */ ue("div", { className: T, style: p, children: [
447
447
  (v || w) && /* @__PURE__ */ ue("div", { className: A, children: [
448
448
  typeof v == "string" ? /* @__PURE__ */ M(st, { type: "h3", children: v }) : v,
449
- w && /* @__PURE__ */ M("div", { className: j, children: typeof w == "string" ? /* @__PURE__ */ M(st, { children: w }) : w })
449
+ w && /* @__PURE__ */ M("div", { className: Y, children: typeof w == "string" ? /* @__PURE__ */ M(st, { children: w }) : w })
450
450
  ] }),
451
451
  r && /* @__PURE__ */ M("div", { className: x, children: r }),
452
452
  b && /* @__PURE__ */ M("div", { className: P, children: b }),
@@ -454,7 +454,7 @@ const $l = "_modalWrapper_1qyrz_43", Ql = "_modalWrapper__modal_1qyrz_76", Gl =
454
454
  tr,
455
455
  {
456
456
  classNameRoot: S,
457
- classNameIconContainerRoot: C,
457
+ classNameIconContainerRoot: D,
458
458
  onClick: m,
459
459
  iconName: pe.Close,
460
460
  variant: "link",
@@ -481,13 +481,13 @@ const $l = "_modalWrapper_1qyrz_43", Ql = "_modalWrapper__modal_1qyrz_76", Gl =
481
481
  applyButtonsAlign: w = "right",
482
482
  modalVerticalAlign: b = "top",
483
483
  textAlign: y = "left",
484
- loading: D,
485
- isVisibleCloseButton: N,
484
+ loading: C,
485
+ isVisibleCloseButton: T,
486
486
  isHiddenModal: S,
487
- size: C,
487
+ size: D,
488
488
  classNameRoot: x,
489
489
  classNameLayerRoot: A,
490
- submitBtnVariant: j,
490
+ submitBtnVariant: Y,
491
491
  cancelBtnVariant: P,
492
492
  submitBtnClassName: L,
493
493
  cancelBtnClassName: G,
@@ -503,9 +503,9 @@ const $l = "_modalWrapper_1qyrz_43", Ql = "_modalWrapper__modal_1qyrz_76", Gl =
503
503
  modalVerticalAlign: b,
504
504
  textAlign: y,
505
505
  subHeader: e,
506
- isVisibleCloseButton: N,
506
+ isVisibleCloseButton: T,
507
507
  isHiddenModal: S,
508
- size: C,
508
+ size: D,
509
509
  classNameRoot: x,
510
510
  classNameLayerRoot: A,
511
511
  classNameHeaderRoot: ce,
@@ -522,13 +522,13 @@ const $l = "_modalWrapper_1qyrz_43", Ql = "_modalWrapper__modal_1qyrz_76", Gl =
522
522
  cancelBtnDisabled: o,
523
523
  submitBtnContent: s,
524
524
  submitBtnIconName: l,
525
- submitBtnVariant: j,
525
+ submitBtnVariant: Y,
526
526
  cancelBtnVariant: P,
527
527
  formId: d,
528
528
  disabled: u,
529
529
  onClose: m,
530
530
  submit: p,
531
- loading: D
531
+ loading: C
532
532
  }
533
533
  ) : null
534
534
  }
@@ -567,7 +567,7 @@ const $l = "_modalWrapper_1qyrz_43", Ql = "_modalWrapper__modal_1qyrz_76", Gl =
567
567
  spBaseTooltip: nc,
568
568
  spBaseTooltip_noPadding: rc,
569
569
  spBaseTooltip__content: ac
570
- }, yi = T.forwardRef((n, a) => {
570
+ }, yi = N.forwardRef((n, a) => {
571
571
  const {
572
572
  text: t,
573
573
  noPadding: e = !1,
@@ -651,9 +651,9 @@ const wr = (n) => {
651
651
  classNameBaseTooltipRoot: m,
652
652
  classNameBaseTooltipContentRoot: v,
653
653
  styleTooltip: w
654
- } = n, [b, y] = Ce(!1), D = Fe(null), N = Fe(null), [S, C] = Ce(!1);
654
+ } = n, [b, y] = Ce(!1), C = Fe(null), T = Fe(null), [S, D] = Ce(!1);
655
655
  Na(
656
- [D, N],
656
+ [C, T],
657
657
  () => {
658
658
  s && s(), y(!1);
659
659
  },
@@ -661,13 +661,13 @@ const wr = (n) => {
661
661
  );
662
662
  const x = (W) => {
663
663
  e && W.stopPropagation(), !a && (b ? s && s() : i && i(), y((z) => t ? !z : !0));
664
- }, [A, j] = Ce({
664
+ }, [A, Y] = Ce({
665
665
  visibility: "hidden",
666
666
  opacity: 0,
667
667
  left: "-9999px"
668
668
  }), [P, L] = Ce(!1), G = Ge(() => {
669
- if (!D.current || !N.current) return;
670
- const W = D.current.getBoundingClientRect(), z = N.current.getBoundingClientRect();
669
+ if (!C.current || !T.current) return;
670
+ const W = C.current.getBoundingClientRect(), z = T.current.getBoundingClientRect();
671
671
  let $ = 0, X = 0;
672
672
  switch (p) {
673
673
  case je.Right:
@@ -709,7 +709,7 @@ const wr = (n) => {
709
709
  default:
710
710
  $ = W.bottom + window.scrollY, X = W.left + window.scrollX;
711
711
  }
712
- $ + z.height > window.innerHeight + window.scrollY && p.includes("bottom") ? $ = W.top + window.scrollY - z.height : $ < window.scrollY && p.includes("top") && ($ = W.bottom + window.scrollY), X + z.width > window.innerWidth + window.scrollX && p.includes("left") ? X = W.left + window.scrollX - z.width + W.width : X < window.scrollX && p.includes("right") && (X = W.right + window.scrollX - W.width), j((h) => ({
712
+ $ + z.height > window.innerHeight + window.scrollY && p.includes("bottom") ? $ = W.top + window.scrollY - z.height : $ < window.scrollY && p.includes("top") && ($ = W.bottom + window.scrollY), X + z.width > window.innerWidth + window.scrollX && p.includes("left") ? X = W.left + window.scrollX - z.width + W.width : X < window.scrollX && p.includes("right") && (X = W.right + window.scrollX - W.width), Y((h) => ({
713
713
  ...h,
714
714
  top: `${$}px`,
715
715
  left: `${X}px`,
@@ -717,7 +717,7 @@ const wr = (n) => {
717
717
  opacity: b || P ? 1 : 0
718
718
  }));
719
719
  }, [p, b, P]);
720
- Re(() => (C(!0), () => C(!1)), []), Re(() => {
720
+ Re(() => (D(!0), () => D(!1)), []), Re(() => {
721
721
  S && G();
722
722
  }, [S, G]), Re(() => {
723
723
  if (!S) return;
@@ -737,7 +737,7 @@ const wr = (n) => {
737
737
  return /* @__PURE__ */ ue(
738
738
  "div",
739
739
  {
740
- ref: D,
740
+ ref: C,
741
741
  className: K,
742
742
  onClick: x,
743
743
  onMouseEnter: () => a && L(!0),
@@ -749,7 +749,7 @@ const wr = (n) => {
749
749
  yi,
750
750
  {
751
751
  style: A,
752
- ref: N,
752
+ ref: T,
753
753
  noPadding: d,
754
754
  text: u,
755
755
  classNameRoot: ce,
@@ -812,23 +812,23 @@ const wr = (n) => {
812
812
  [Ze.spCheckbox__box]: !0,
813
813
  [Ze.spCheckbox__box_disabled]: e,
814
814
  [Ze.spCheckbox__box_error]: s
815
- }), D = E({
815
+ }), C = E({
816
816
  [Ze.spCheckbox__box__checkmark]: !0,
817
817
  [Ze[`spCheckbox__box__checkmark--size-${a}`]]: a
818
- }), N = E({
818
+ }), T = E({
819
819
  [Ze.spCheckbox__box__innerSquare]: !0,
820
820
  [Ze.spCheckbox__box__innerSquare_checked]: t,
821
821
  [Ze[`spCheckbox__box__innerSquare--size-${a}`]]: a
822
822
  }), S = E({
823
823
  [Ze.spCheckbox__control]: !0
824
- }), C = E({
824
+ }), D = E({
825
825
  [Ze.spCheckbox__label]: !0
826
826
  }), x = E({
827
827
  [Ze.spCheckbox__required]: !0
828
828
  }), A = E({
829
829
  [Ze.spCheckbox__error]: !0,
830
830
  ...w && { [w]: !0 }
831
- }), j = E({
831
+ }), Y = E({
832
832
  [Ze.spCheckbox__tooltip]: !0
833
833
  });
834
834
  return /* @__PURE__ */ ue("div", { className: b, onMouseEnter: m, children: [
@@ -844,10 +844,10 @@ const wr = (n) => {
844
844
  }
845
845
  }
846
846
  ),
847
- /* @__PURE__ */ M("span", { className: D, children: /* @__PURE__ */ M("span", { className: N }) }),
848
- i && /* @__PURE__ */ M("span", { className: C, children: i }),
847
+ /* @__PURE__ */ M("span", { className: C, children: /* @__PURE__ */ M("span", { className: T }) }),
848
+ i && /* @__PURE__ */ M("span", { className: D, children: i }),
849
849
  p && /* @__PURE__ */ M("div", { className: x, children: "*" }),
850
- d && /* @__PURE__ */ M("div", { className: j, children: /* @__PURE__ */ M(br, { hover: !0, position: u, text: d }) })
850
+ d && /* @__PURE__ */ M("div", { className: Y, children: /* @__PURE__ */ M(br, { hover: !0, position: u, text: d }) })
851
851
  ] }),
852
852
  s && /* @__PURE__ */ M("div", { className: A, children: s })
853
853
  ] });
@@ -2736,30 +2736,30 @@ function nu(n, a, t) {
2736
2736
  }
2737
2737
  const ru = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, au = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ou = /^'([^]*?)'?$/, iu = /''/g, su = /[a-zA-Z]/;
2738
2738
  function io(n, a, t) {
2739
- var u, d, m, v, w, b, y, D;
2740
- const e = Zt(), r = (t == null ? void 0 : t.locale) ?? e.locale ?? Pi, o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((d = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : d.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((v = (m = e.locale) == null ? void 0 : m.options) == null ? void 0 : v.firstWeekContainsDate) ?? 1, i = (t == null ? void 0 : t.weekStartsOn) ?? ((b = (w = t == null ? void 0 : t.locale) == null ? void 0 : w.options) == null ? void 0 : b.weekStartsOn) ?? e.weekStartsOn ?? ((D = (y = e.locale) == null ? void 0 : y.options) == null ? void 0 : D.weekStartsOn) ?? 0, s = oe(n, t == null ? void 0 : t.in);
2739
+ var u, d, m, v, w, b, y, C;
2740
+ const e = Zt(), r = (t == null ? void 0 : t.locale) ?? e.locale ?? Pi, o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((d = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : d.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((v = (m = e.locale) == null ? void 0 : m.options) == null ? void 0 : v.firstWeekContainsDate) ?? 1, i = (t == null ? void 0 : t.weekStartsOn) ?? ((b = (w = t == null ? void 0 : t.locale) == null ? void 0 : w.options) == null ? void 0 : b.weekStartsOn) ?? e.weekStartsOn ?? ((C = (y = e.locale) == null ? void 0 : y.options) == null ? void 0 : C.weekStartsOn) ?? 0, s = oe(n, t == null ? void 0 : t.in);
2741
2741
  if (!ar(s))
2742
2742
  throw new RangeError("Invalid time value");
2743
- let l = a.match(au).map((N) => {
2744
- const S = N[0];
2743
+ let l = a.match(au).map((T) => {
2744
+ const S = T[0];
2745
2745
  if (S === "p" || S === "P") {
2746
- const C = ma[S];
2747
- return C(N, r.formatLong);
2746
+ const D = ma[S];
2747
+ return D(T, r.formatLong);
2748
2748
  }
2749
- return N;
2750
- }).join("").match(ru).map((N) => {
2751
- if (N === "''")
2749
+ return T;
2750
+ }).join("").match(ru).map((T) => {
2751
+ if (T === "''")
2752
2752
  return { isToken: !1, value: "'" };
2753
- const S = N[0];
2753
+ const S = T[0];
2754
2754
  if (S === "'")
2755
- return { isToken: !1, value: lu(N) };
2755
+ return { isToken: !1, value: lu(T) };
2756
2756
  if (no[S])
2757
- return { isToken: !0, value: N };
2757
+ return { isToken: !0, value: T };
2758
2758
  if (S.match(su))
2759
2759
  throw new RangeError(
2760
2760
  "Format string contains an unescaped latin alphabet character `" + S + "`"
2761
2761
  );
2762
- return { isToken: !1, value: N };
2762
+ return { isToken: !1, value: T };
2763
2763
  });
2764
2764
  r.localize.preprocessor && (l = r.localize.preprocessor(s, l));
2765
2765
  const p = {
@@ -2767,12 +2767,12 @@ function io(n, a, t) {
2767
2767
  weekStartsOn: i,
2768
2768
  locale: r
2769
2769
  };
2770
- return l.map((N) => {
2771
- if (!N.isToken) return N.value;
2772
- const S = N.value;
2770
+ return l.map((T) => {
2771
+ if (!T.isToken) return T.value;
2772
+ const S = T.value;
2773
2773
  (!(t != null && t.useAdditionalWeekYearTokens) && eu(S) || !(t != null && t.useAdditionalDayOfYearTokens) && Jp(S)) && tu(S, a, String(n));
2774
- const C = no[S[0]];
2775
- return C(s, S, r.localize, p);
2774
+ const D = no[S[0]];
2775
+ return D(s, S, r.localize, p);
2776
2776
  }).join("");
2777
2777
  }
2778
2778
  function lu(n) {
@@ -4288,8 +4288,8 @@ const td = {
4288
4288
  T: new ed()
4289
4289
  }, nd = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, rd = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ad = /^'([^]*?)'?$/, od = /''/g, id = /\S/, sd = /[a-zA-Z]/;
4290
4290
  function ld(n, a, t, e) {
4291
- var y, D, N, S, C, x, A, j;
4292
- const r = () => De((e == null ? void 0 : e.in) || t, NaN), o = uu(), i = (e == null ? void 0 : e.locale) ?? o.locale ?? Pi, s = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((D = (y = e == null ? void 0 : e.locale) == null ? void 0 : y.options) == null ? void 0 : D.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((S = (N = o.locale) == null ? void 0 : N.options) == null ? void 0 : S.firstWeekContainsDate) ?? 1, l = (e == null ? void 0 : e.weekStartsOn) ?? ((x = (C = e == null ? void 0 : e.locale) == null ? void 0 : C.options) == null ? void 0 : x.weekStartsOn) ?? o.weekStartsOn ?? ((j = (A = o.locale) == null ? void 0 : A.options) == null ? void 0 : j.weekStartsOn) ?? 0;
4291
+ var y, C, T, S, D, x, A, Y;
4292
+ const r = () => De((e == null ? void 0 : e.in) || t, NaN), o = uu(), i = (e == null ? void 0 : e.locale) ?? o.locale ?? Pi, s = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((C = (y = e == null ? void 0 : e.locale) == null ? void 0 : y.options) == null ? void 0 : C.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((S = (T = o.locale) == null ? void 0 : T.options) == null ? void 0 : S.firstWeekContainsDate) ?? 1, l = (e == null ? void 0 : e.weekStartsOn) ?? ((x = (D = e == null ? void 0 : e.locale) == null ? void 0 : D.options) == null ? void 0 : x.weekStartsOn) ?? o.weekStartsOn ?? ((Y = (A = o.locale) == null ? void 0 : A.options) == null ? void 0 : Y.weekStartsOn) ?? 0;
4293
4293
  if (!a)
4294
4294
  return n ? r() : oe(t, e == null ? void 0 : e.in);
4295
4295
  const p = {
@@ -4851,13 +4851,13 @@ const rf = async (n, a, t) => {
4851
4851
  for (let b = 0; b < s.length; b++) {
4852
4852
  const {
4853
4853
  name: y,
4854
- fn: D
4854
+ fn: C
4855
4855
  } = s[b], {
4856
- x: N,
4856
+ x: T,
4857
4857
  y: S,
4858
- data: C,
4858
+ data: D,
4859
4859
  reset: x
4860
- } = await D({
4860
+ } = await C({
4861
4861
  x: u,
4862
4862
  y: d,
4863
4863
  initialPlacement: e,
@@ -4871,11 +4871,11 @@ const rf = async (n, a, t) => {
4871
4871
  floating: a
4872
4872
  }
4873
4873
  });
4874
- u = N ?? u, d = S ?? d, v = {
4874
+ u = T ?? u, d = S ?? d, v = {
4875
4875
  ...v,
4876
4876
  [y]: {
4877
4877
  ...v[y],
4878
- ...C
4878
+ ...D
4879
4879
  }
4880
4880
  }, x && w <= 50 && (w++, typeof x == "object" && (x.placement && (m = x.placement), x.rects && (p = x.rects === !0 ? await i.getElementRects({
4881
4881
  reference: n,
@@ -4910,17 +4910,17 @@ async function af(n, a) {
4910
4910
  elementContext: d = "floating",
4911
4911
  altBoundary: m = !1,
4912
4912
  padding: v = 0
4913
- } = Mr(a, n), w = Hi(v), y = s[m ? d === "floating" ? "reference" : "floating" : d], D = ur(await o.getClippingRect({
4913
+ } = Mr(a, n), w = Hi(v), y = s[m ? d === "floating" ? "reference" : "floating" : d], C = ur(await o.getClippingRect({
4914
4914
  element: (t = await (o.isElement == null ? void 0 : o.isElement(y))) == null || t ? y : y.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(s.floating)),
4915
4915
  boundary: p,
4916
4916
  rootBoundary: u,
4917
4917
  strategy: l
4918
- })), N = d === "floating" ? {
4918
+ })), T = d === "floating" ? {
4919
4919
  x: e,
4920
4920
  y: r,
4921
4921
  width: i.floating.width,
4922
4922
  height: i.floating.height
4923
- } : i.reference, S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(s.floating)), C = await (o.isElement == null ? void 0 : o.isElement(S)) ? await (o.getScale == null ? void 0 : o.getScale(S)) || {
4923
+ } : i.reference, S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(s.floating)), D = await (o.isElement == null ? void 0 : o.isElement(S)) ? await (o.getScale == null ? void 0 : o.getScale(S)) || {
4924
4924
  x: 1,
4925
4925
  y: 1
4926
4926
  } : {
@@ -4928,15 +4928,15 @@ async function af(n, a) {
4928
4928
  y: 1
4929
4929
  }, x = ur(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
4930
4930
  elements: s,
4931
- rect: N,
4931
+ rect: T,
4932
4932
  offsetParent: S,
4933
4933
  strategy: l
4934
- }) : N);
4934
+ }) : T);
4935
4935
  return {
4936
- top: (D.top - x.top + w.top) / C.y,
4937
- bottom: (x.bottom - D.bottom + w.bottom) / C.y,
4938
- left: (D.left - x.left + w.left) / C.x,
4939
- right: (x.right - D.right + w.right) / C.x
4936
+ top: (C.top - x.top + w.top) / D.y,
4937
+ bottom: (x.bottom - C.bottom + w.bottom) / D.y,
4938
+ left: (C.left - x.left + w.left) / D.x,
4939
+ right: (x.right - C.right + w.right) / D.x
4940
4940
  };
4941
4941
  }
4942
4942
  const of = (n) => ({
@@ -4960,10 +4960,10 @@ const of = (n) => ({
4960
4960
  const d = Hi(u), m = {
4961
4961
  x: t,
4962
4962
  y: e
4963
- }, v = Ba(r), w = Wa(v), b = await i.getDimensions(p), y = v === "y", D = y ? "top" : "left", N = y ? "bottom" : "right", S = y ? "clientHeight" : "clientWidth", C = o.reference[w] + o.reference[v] - m[v] - o.floating[w], x = m[v] - o.reference[v], A = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(p));
4964
- let j = A ? A[S] : 0;
4965
- (!j || !await (i.isElement == null ? void 0 : i.isElement(A))) && (j = s.floating[S] || o.floating[w]);
4966
- const P = C / 2 - x / 2, L = j / 2 - b[w] / 2 - 1, G = fn(d[D], L), ce = fn(d[N], L), ne = G, K = j - b[w] - ce, te = j / 2 - b[w] / 2 + P, W = jd(ne, te, K), z = !l.arrow && On(r) != null && te !== W && o.reference[w] / 2 - (te < ne ? G : ce) - b[w] / 2 < 0, $ = z ? te < ne ? te - ne : te - K : 0;
4963
+ }, v = Ba(r), w = Wa(v), b = await i.getDimensions(p), y = v === "y", C = y ? "top" : "left", T = y ? "bottom" : "right", S = y ? "clientHeight" : "clientWidth", D = o.reference[w] + o.reference[v] - m[v] - o.floating[w], x = m[v] - o.reference[v], A = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(p));
4964
+ let Y = A ? A[S] : 0;
4965
+ (!Y || !await (i.isElement == null ? void 0 : i.isElement(A))) && (Y = s.floating[S] || o.floating[w]);
4966
+ const P = D / 2 - x / 2, L = Y / 2 - b[w] / 2 - 1, G = fn(d[C], L), ce = fn(d[T], L), ne = G, K = Y - b[w] - ce, te = Y / 2 - b[w] / 2 + P, W = jd(ne, te, K), z = !l.arrow && On(r) != null && te !== W && o.reference[w] / 2 - (te < ne ? G : ce) - b[w] / 2 < 0, $ = z ? te < ne ? te - ne : te - K : 0;
4967
4967
  return {
4968
4968
  [v]: m[v] + $,
4969
4969
  data: {
@@ -5000,12 +5000,12 @@ const of = (n) => ({
5000
5000
  } = Mr(n, a);
5001
5001
  if ((t = o.arrow) != null && t.alignmentOffset)
5002
5002
  return {};
5003
- const D = mn(r), N = Vt(s), S = mn(s) === s, C = await (l.isRTL == null ? void 0 : l.isRTL(p.floating)), x = m || (S || !b ? [pr(s)] : Vd(s)), A = w !== "none";
5004
- !m && A && x.push(...Gd(s, b, w, C));
5005
- const j = [s, ...x], P = await af(a, y), L = [];
5003
+ const C = mn(r), T = Vt(s), S = mn(s) === s, D = await (l.isRTL == null ? void 0 : l.isRTL(p.floating)), x = m || (S || !b ? [pr(s)] : Vd(s)), A = w !== "none";
5004
+ !m && A && x.push(...Gd(s, b, w, D));
5005
+ const Y = [s, ...x], P = await af(a, y), L = [];
5006
5006
  let G = ((e = o.flip) == null ? void 0 : e.overflows) || [];
5007
- if (u && L.push(P[D]), d) {
5008
- const te = qd(r, i, C);
5007
+ if (u && L.push(P[C]), d) {
5008
+ const te = qd(r, i, D);
5009
5009
  L.push(P[te[0]], P[te[1]]);
5010
5010
  }
5011
5011
  if (G = [...G, {
@@ -5013,10 +5013,10 @@ const of = (n) => ({
5013
5013
  overflows: L
5014
5014
  }], !L.every((te) => te <= 0)) {
5015
5015
  var ce, ne;
5016
- const te = (((ce = o.flip) == null ? void 0 : ce.index) || 0) + 1, W = j[te];
5017
- if (W && (!(d === "alignment" ? N !== Vt(W) : !1) || // We leave the current main axis only if every placement on that axis
5016
+ const te = (((ce = o.flip) == null ? void 0 : ce.index) || 0) + 1, W = Y[te];
5017
+ if (W && (!(d === "alignment" ? T !== Vt(W) : !1) || // We leave the current main axis only if every placement on that axis
5018
5018
  // overflows the main axis.
5019
- G.every((X) => Vt(X.placement) === N ? X.overflows[0] > 0 : !0)))
5019
+ G.every((X) => Vt(X.placement) === T ? X.overflows[0] > 0 : !0)))
5020
5020
  return {
5021
5021
  data: {
5022
5022
  index: te,
@@ -5034,7 +5034,7 @@ const of = (n) => ({
5034
5034
  const $ = (K = G.filter((X) => {
5035
5035
  if (A) {
5036
5036
  const h = Vt(X.placement);
5037
- return h === N || // Create a bias to the `y` side axis due to horizontal
5037
+ return h === T || // Create a bias to the `y` side axis due to horizontal
5038
5038
  // reading directions favoring greater width.
5039
5039
  h === "y";
5040
5040
  }
@@ -5158,8 +5158,8 @@ function Xt(n, a, t, e) {
5158
5158
  const m = tt(o), v = e && $e(e) ? tt(e) : e;
5159
5159
  let w = m, b = va(w);
5160
5160
  for (; b && e && v !== w; ) {
5161
- const y = sn(b), D = b.getBoundingClientRect(), N = lt(b), S = D.left + (b.clientLeft + parseFloat(N.paddingLeft)) * y.x, C = D.top + (b.clientTop + parseFloat(N.paddingTop)) * y.y;
5162
- l *= y.x, p *= y.y, u *= y.x, d *= y.y, l += S, p += C, w = tt(b), b = va(w);
5161
+ const y = sn(b), C = b.getBoundingClientRect(), T = lt(b), S = C.left + (b.clientLeft + parseFloat(T.paddingLeft)) * y.x, D = C.top + (b.clientTop + parseFloat(T.paddingTop)) * y.y;
5162
+ l *= y.x, p *= y.y, u *= y.x, d *= y.y, l += S, p += D, w = tt(b), b = va(w);
5163
5163
  }
5164
5164
  }
5165
5165
  return ur({
@@ -5416,21 +5416,21 @@ function Sf(n, a) {
5416
5416
  } = p;
5417
5417
  if (s || a(), !m || !v)
5418
5418
  return;
5419
- const w = Bn(d), b = Bn(r.clientWidth - (u + m)), y = Bn(r.clientHeight - (d + v)), D = Bn(u), S = {
5420
- rootMargin: -w + "px " + -b + "px " + -y + "px " + -D + "px",
5419
+ const w = Bn(d), b = Bn(r.clientWidth - (u + m)), y = Bn(r.clientHeight - (d + v)), C = Bn(u), S = {
5420
+ rootMargin: -w + "px " + -b + "px " + -y + "px " + -C + "px",
5421
5421
  threshold: Gt(0, fn(1, l)) || 1
5422
5422
  };
5423
- let C = !0;
5423
+ let D = !0;
5424
5424
  function x(A) {
5425
- const j = A[0].intersectionRatio;
5426
- if (j !== l) {
5427
- if (!C)
5425
+ const Y = A[0].intersectionRatio;
5426
+ if (Y !== l) {
5427
+ if (!D)
5428
5428
  return i();
5429
- j ? i(!1, j) : e = setTimeout(() => {
5429
+ Y ? i(!1, Y) : e = setTimeout(() => {
5430
5430
  i(!1, 1e-7);
5431
5431
  }, 1e3);
5432
5432
  }
5433
- j === 1 && !Qi(p, n.getBoundingClientRect()) && i(), C = !1;
5433
+ Y === 1 && !Qi(p, n.getBoundingClientRect()) && i(), D = !1;
5434
5434
  }
5435
5435
  try {
5436
5436
  t = new IntersectionObserver(x, {
@@ -5454,16 +5454,16 @@ function Mf(n, a, t, e) {
5454
5454
  layoutShift: s = typeof IntersectionObserver == "function",
5455
5455
  animationFrame: l = !1
5456
5456
  } = e, p = Ya(n), u = r || o ? [...p ? Nn(p) : [], ...Nn(a)] : [];
5457
- u.forEach((D) => {
5458
- r && D.addEventListener("scroll", t, {
5457
+ u.forEach((C) => {
5458
+ r && C.addEventListener("scroll", t, {
5459
5459
  passive: !0
5460
- }), o && D.addEventListener("resize", t);
5460
+ }), o && C.addEventListener("resize", t);
5461
5461
  });
5462
5462
  const d = p && s ? Sf(p, t) : null;
5463
5463
  let m = -1, v = null;
5464
- i && (v = new ResizeObserver((D) => {
5465
- let [N] = D;
5466
- N && N.target === p && v && (v.unobserve(a), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
5464
+ i && (v = new ResizeObserver((C) => {
5465
+ let [T] = C;
5466
+ T && T.target === p && v && (v.unobserve(a), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
5467
5467
  var S;
5468
5468
  (S = v) == null || S.observe(a);
5469
5469
  })), t();
@@ -5471,14 +5471,14 @@ function Mf(n, a, t, e) {
5471
5471
  let w, b = l ? Xt(n) : null;
5472
5472
  l && y();
5473
5473
  function y() {
5474
- const D = Xt(n);
5475
- b && !Qi(b, D) && t(), b = D, w = requestAnimationFrame(y);
5474
+ const C = Xt(n);
5475
+ b && !Qi(b, C) && t(), b = C, w = requestAnimationFrame(y);
5476
5476
  }
5477
5477
  return t(), () => {
5478
- var D;
5479
- u.forEach((N) => {
5480
- r && N.removeEventListener("scroll", t), o && N.removeEventListener("resize", t);
5481
- }), d == null || d(), (D = v) == null || D.disconnect(), v = null, l && cancelAnimationFrame(w);
5478
+ var C;
5479
+ u.forEach((T) => {
5480
+ r && T.removeEventListener("scroll", t), o && T.removeEventListener("resize", t);
5481
+ }), d == null || d(), (C = v) == null || C.disconnect(), v = null, l && cancelAnimationFrame(w);
5482
5482
  };
5483
5483
  }
5484
5484
  const Ef = pf, Nf = sf, _o = of, Tf = (n, a, t) => {
@@ -5562,19 +5562,19 @@ function Of(n) {
5562
5562
  isPositioned: !1
5563
5563
  }), [m, v] = R.useState(e);
5564
5564
  fr(m, e) || v(e);
5565
- const [w, b] = R.useState(null), [y, D] = R.useState(null), N = R.useCallback((X) => {
5565
+ const [w, b] = R.useState(null), [y, C] = R.useState(null), T = R.useCallback((X) => {
5566
5566
  X !== A.current && (A.current = X, b(X));
5567
5567
  }, []), S = R.useCallback((X) => {
5568
- X !== j.current && (j.current = X, D(X));
5569
- }, []), C = o || w, x = i || y, A = R.useRef(null), j = R.useRef(null), P = R.useRef(u), L = l != null, G = zr(l), ce = zr(r), ne = zr(p), K = R.useCallback(() => {
5570
- if (!A.current || !j.current)
5568
+ X !== Y.current && (Y.current = X, C(X));
5569
+ }, []), D = o || w, x = i || y, A = R.useRef(null), Y = R.useRef(null), P = R.useRef(u), L = l != null, G = zr(l), ce = zr(r), ne = zr(p), K = R.useCallback(() => {
5570
+ if (!A.current || !Y.current)
5571
5571
  return;
5572
5572
  const X = {
5573
5573
  placement: a,
5574
5574
  strategy: t,
5575
5575
  middleware: m
5576
5576
  };
5577
- ce.current && (X.platform = ce.current), Tf(A.current, j.current, X).then((h) => {
5577
+ ce.current && (X.platform = ce.current), Tf(A.current, Y.current, X).then((h) => {
5578
5578
  const f = {
5579
5579
  ...h,
5580
5580
  // The floating element's position may be recomputed while it's closed
@@ -5598,21 +5598,21 @@ function Of(n) {
5598
5598
  Zn(() => (te.current = !0, () => {
5599
5599
  te.current = !1;
5600
5600
  }), []), Zn(() => {
5601
- if (C && (A.current = C), x && (j.current = x), C && x) {
5601
+ if (D && (A.current = D), x && (Y.current = x), D && x) {
5602
5602
  if (G.current)
5603
- return G.current(C, x, K);
5603
+ return G.current(D, x, K);
5604
5604
  K();
5605
5605
  }
5606
- }, [C, x, K, G, L]);
5606
+ }, [D, x, K, G, L]);
5607
5607
  const W = R.useMemo(() => ({
5608
5608
  reference: A,
5609
- floating: j,
5610
- setReference: N,
5609
+ floating: Y,
5610
+ setReference: T,
5611
5611
  setFloating: S
5612
- }), [N, S]), z = R.useMemo(() => ({
5613
- reference: C,
5612
+ }), [T, S]), z = R.useMemo(() => ({
5613
+ reference: D,
5614
5614
  floating: x
5615
- }), [C, x]), $ = R.useMemo(() => {
5615
+ }), [D, x]), $ = R.useMemo(() => {
5616
5616
  const X = {
5617
5617
  position: t,
5618
5618
  left: 0,
@@ -5735,24 +5735,24 @@ const qf = /* @__PURE__ */ R.forwardRef(function(a, t) {
5735
5735
  ...y
5736
5736
  } = a;
5737
5737
  process.env.NODE_ENV !== "production" && (t || Hf("The `ref` prop is required for `FloatingArrow`."));
5738
- const D = Ki(), [N, S] = R.useState(!1);
5738
+ const C = Ki(), [T, S] = R.useState(!1);
5739
5739
  if (dr(() => {
5740
5740
  if (!r) return;
5741
5741
  lt(r).direction === "rtl" && S(!0);
5742
5742
  }, [r]), !r)
5743
5743
  return null;
5744
- const [C, x] = e.split("-"), A = C === "top" || C === "bottom";
5745
- let j = d;
5746
- (A && i != null && i.x || !A && i != null && i.y) && (j = null);
5747
- const P = u * 2, L = P / 2, G = s / 2 * (p / -8 + 1), ce = l / 2 * p / 4, ne = !!v, K = j && x === "end" ? "bottom" : "top";
5748
- let te = j && x === "end" ? "right" : "left";
5749
- j && N && (te = x === "end" ? "left" : "right");
5750
- const W = (o == null ? void 0 : o.x) != null ? j || o.x : "", z = (o == null ? void 0 : o.y) != null ? j || o.y : "", $ = v || "M0,0" + (" H" + s) + (" L" + (s - G) + "," + (l - ce)) + (" Q" + s / 2 + "," + l + " " + G + "," + (l - ce)) + " Z", X = {
5744
+ const [D, x] = e.split("-"), A = D === "top" || D === "bottom";
5745
+ let Y = d;
5746
+ (A && i != null && i.x || !A && i != null && i.y) && (Y = null);
5747
+ const P = u * 2, L = P / 2, G = s / 2 * (p / -8 + 1), ce = l / 2 * p / 4, ne = !!v, K = Y && x === "end" ? "bottom" : "top";
5748
+ let te = Y && x === "end" ? "right" : "left";
5749
+ Y && T && (te = x === "end" ? "left" : "right");
5750
+ const W = (o == null ? void 0 : o.x) != null ? Y || o.x : "", z = (o == null ? void 0 : o.y) != null ? Y || o.y : "", $ = v || "M0,0" + (" H" + s) + (" L" + (s - G) + "," + (l - ce)) + (" Q" + s / 2 + "," + l + " " + G + "," + (l - ce)) + " Z", X = {
5751
5751
  top: ne ? "rotate(180deg)" : "",
5752
5752
  left: ne ? "rotate(90deg)" : "rotate(-90deg)",
5753
5753
  bottom: ne ? "" : "rotate(180deg)",
5754
5754
  right: ne ? "rotate(-90deg)" : "rotate(90deg)"
5755
- }[C];
5755
+ }[D];
5756
5756
  return /* @__PURE__ */ ue("svg", {
5757
5757
  ...y,
5758
5758
  "aria-hidden": !0,
@@ -5765,12 +5765,12 @@ const qf = /* @__PURE__ */ R.forwardRef(function(a, t) {
5765
5765
  pointerEvents: "none",
5766
5766
  [te]: W,
5767
5767
  [K]: z,
5768
- [C]: A || ne ? "100%" : "calc(100% - " + P / 2 + "px)",
5768
+ [D]: A || ne ? "100%" : "calc(100% - " + P / 2 + "px)",
5769
5769
  transform: [X, w].filter((h) => !!h).join(" "),
5770
5770
  ...b
5771
5771
  },
5772
5772
  children: [P > 0 && /* @__PURE__ */ M("path", {
5773
- clipPath: "url(#" + D + ")",
5773
+ clipPath: "url(#" + C + ")",
5774
5774
  fill: "none",
5775
5775
  stroke: m,
5776
5776
  strokeWidth: P + (v ? 0 : 1),
@@ -5779,7 +5779,7 @@ const qf = /* @__PURE__ */ R.forwardRef(function(a, t) {
5779
5779
  stroke: P && !v ? y.fill : "none",
5780
5780
  d: $
5781
5781
  }), /* @__PURE__ */ M("clipPath", {
5782
- id: D,
5782
+ id: C,
5783
5783
  children: /* @__PURE__ */ M("rect", {
5784
5784
  x: -L,
5785
5785
  y: L * (ne ? -1 : 1),
@@ -5867,12 +5867,12 @@ function Xf(n) {
5867
5867
  }
5868
5868
  }
5869
5869
  }), w = R.useCallback((S) => {
5870
- const C = $e(S) ? {
5870
+ const D = $e(S) ? {
5871
5871
  getBoundingClientRect: () => S.getBoundingClientRect(),
5872
5872
  getClientRects: () => S.getClientRects(),
5873
5873
  contextElement: S
5874
5874
  } : S;
5875
- l(C), v.refs.setReference(C);
5875
+ l(D), v.refs.setReference(D);
5876
5876
  }, [v.refs]), b = R.useCallback((S) => {
5877
5877
  ($e(S) || S === null) && (d.current = S, i(S)), ($e(v.refs.reference.current) || v.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
5878
5878
  // `null` to support `positionReference` + an unstable `reference`
@@ -5883,26 +5883,26 @@ function Xf(n) {
5883
5883
  setReference: b,
5884
5884
  setPositionReference: w,
5885
5885
  domReference: d
5886
- }), [v.refs, b, w]), D = R.useMemo(() => ({
5886
+ }), [v.refs, b, w]), C = R.useMemo(() => ({
5887
5887
  ...v.elements,
5888
5888
  domReference: u
5889
- }), [v.elements, u]), N = R.useMemo(() => ({
5889
+ }), [v.elements, u]), T = R.useMemo(() => ({
5890
5890
  ...v,
5891
5891
  ...e,
5892
5892
  refs: y,
5893
- elements: D,
5893
+ elements: C,
5894
5894
  nodeId: a
5895
- }), [v, y, D, a, e]);
5895
+ }), [v, y, C, a, e]);
5896
5896
  return dr(() => {
5897
- e.dataRef.current.floatingContext = N;
5898
- const S = m == null ? void 0 : m.nodesRef.current.find((C) => C.id === a);
5899
- S && (S.context = N);
5897
+ e.dataRef.current.floatingContext = T;
5898
+ const S = m == null ? void 0 : m.nodesRef.current.find((D) => D.id === a);
5899
+ S && (S.context = T);
5900
5900
  }), R.useMemo(() => ({
5901
5901
  ...v,
5902
- context: N,
5902
+ context: T,
5903
5903
  refs: y,
5904
- elements: D
5905
- }), [v, y, D, N]);
5904
+ elements: C
5905
+ }), [v, y, C, T]);
5906
5906
  }
5907
5907
  /*!
5908
5908
  react-datepicker v8.7.0
@@ -5942,7 +5942,7 @@ function xt(n, a, t) {
5942
5942
  }
5943
5943
  var Zf = function(n) {
5944
5944
  var a = n.showTimeSelectOnly, t = a === void 0 ? !1 : a, e = n.showTime, r = e === void 0 ? !1 : e, o = n.className, i = n.children, s = t ? "Choose Time" : "Choose Date".concat(r ? " and Time" : "");
5945
- return T.createElement("div", { className: o, role: "dialog", "aria-label": s, "aria-modal": "true" }, i);
5945
+ return N.createElement("div", { className: o, role: "dialog", "aria-label": s, "aria-modal": "true" }, i);
5946
5946
  }, Jf = function(n, a) {
5947
5947
  var t = Fe(null), e = Fe(n);
5948
5948
  e.current = n;
@@ -5959,7 +5959,7 @@ var Zf = function(n) {
5959
5959
  }, [r]), t;
5960
5960
  }, Nr = function(n) {
5961
5961
  var a = n.children, t = n.onClickOutside, e = n.className, r = n.containerRef, o = n.style, i = n.ignoreClass, s = Jf(t, i);
5962
- return T.createElement("div", { className: e, style: o, ref: function(l) {
5962
+ return N.createElement("div", { className: e, style: o, ref: function(l) {
5963
5963
  s.current = l, r && (r.current = l);
5964
5964
  } }, a);
5965
5965
  }, ee;
@@ -6385,7 +6385,7 @@ var bm = (
6385
6385
  ze(a, n);
6386
6386
  function a(t) {
6387
6387
  var e = n.call(this, t) || this;
6388
- return e.inputRef = T.createRef(), e.onTimeChange = function(r) {
6388
+ return e.inputRef = N.createRef(), e.onTimeChange = function(r) {
6389
6389
  var o, i;
6390
6390
  e.setState({ time: r });
6391
6391
  var s = e.props.date, l = s instanceof Date && !isNaN(+s), p = l ? s : /* @__PURE__ */ new Date();
@@ -6400,7 +6400,7 @@ var bm = (
6400
6400
  date: i,
6401
6401
  value: r,
6402
6402
  onChange: e.onTimeChange
6403
- }) : T.createElement("input", { type: "time", className: "react-datepicker-time__input", placeholder: "Time", name: "time-input", ref: e.inputRef, onClick: function() {
6403
+ }) : N.createElement("input", { type: "time", className: "react-datepicker-time__input", placeholder: "Time", name: "time-input", ref: e.inputRef, onClick: function() {
6404
6404
  var p;
6405
6405
  (p = e.inputRef.current) === null || p === void 0 || p.focus();
6406
6406
  }, required: !0, value: r, onChange: function(p) {
@@ -6415,14 +6415,14 @@ var bm = (
6415
6415
  time: t.timeString
6416
6416
  } : null;
6417
6417
  }, a.prototype.render = function() {
6418
- return T.createElement(
6418
+ return N.createElement(
6419
6419
  "div",
6420
6420
  { className: "react-datepicker__input-time-container" },
6421
- T.createElement("div", { className: "react-datepicker-time__caption" }, this.props.timeInputLabel),
6422
- T.createElement(
6421
+ N.createElement("div", { className: "react-datepicker-time__caption" }, this.props.timeInputLabel),
6422
+ N.createElement(
6423
6423
  "div",
6424
6424
  { className: "react-datepicker-time__input-container" },
6425
- T.createElement("div", { className: "react-datepicker-time__input" }, this.renderTimeInput())
6425
+ N.createElement("div", { className: "react-datepicker-time__input" }, this.renderTimeInput())
6426
6426
  )
6427
6427
  );
6428
6428
  }, a;
@@ -6572,11 +6572,11 @@ var bm = (
6572
6572
  }, t.render = function() {
6573
6573
  return (
6574
6574
  // TODO: Use <option> instead of the "option" role to ensure accessibility across all devices.
6575
- T.createElement(
6575
+ N.createElement(
6576
6576
  "div",
6577
6577
  { ref: t.dayEl, className: t.getClassNames(t.props.day), onKeyDown: t.handleOnKeyDown, onClick: t.handleClick, onMouseEnter: t.props.usePointerEvent ? void 0 : t.handleMouseEnter, onPointerEnter: t.props.usePointerEvent ? t.handleMouseEnter : void 0, tabIndex: t.getTabIndex(), "aria-label": t.getAriaLabel(), role: "gridcell", title: t.getTitle(), "aria-disabled": t.isDisabled(), "aria-current": t.isCurrentDay() ? "date" : void 0, "aria-selected": t.isSelected() || t.isInRange() },
6578
6578
  t.renderDayContents(),
6579
- t.getTitle() !== "" && T.createElement("span", { className: "overlay" }, t.getTitle())
6579
+ t.getTitle() !== "" && N.createElement("span", { className: "overlay" }, t.getTitle())
6580
6580
  )
6581
6581
  );
6582
6582
  }, t;
@@ -6636,7 +6636,7 @@ var bm = (
6636
6636
  "react-datepicker__week-number--clickable": !!s && !r,
6637
6637
  "react-datepicker__week-number--selected": !!s && he(this.props.date, this.props.selected)
6638
6638
  };
6639
- return T.createElement("div", { ref: this.weekNumberEl, className: E(l), "aria-label": "".concat(i, " ").concat(this.props.weekNumber), onClick: this.handleClick, onKeyDown: this.handleOnKeyDown, tabIndex: this.getTabIndex(), role: "gridcell" }, e);
6639
+ return N.createElement("div", { ref: this.weekNumberEl, className: E(l), "aria-label": "".concat(i, " ").concat(this.props.weekNumber), onClick: this.handleClick, onKeyDown: this.handleOnKeyDown, tabIndex: this.getTabIndex(), role: "gridcell" }, e);
6640
6640
  }, a;
6641
6641
  }(He)
6642
6642
  ), km = (
@@ -6683,11 +6683,11 @@ var bm = (
6683
6683
  var e = t.startOfWeek(), r = [], o = t.formatWeekNumber(e);
6684
6684
  if (t.props.showWeekNumber) {
6685
6685
  var i = t.props.onWeekSelect || t.props.showWeekPicker ? t.handleWeekClick.bind(t, e, o) : void 0;
6686
- r.push(T.createElement(xm, ve({ key: "W" }, a.defaultProps, t.props, { weekNumber: o, isWeekDisabled: t.isWeekDisabled(), date: e, onClick: i })));
6686
+ r.push(N.createElement(xm, ve({ key: "W" }, a.defaultProps, t.props, { weekNumber: o, isWeekDisabled: t.isWeekDisabled(), date: e, onClick: i })));
6687
6687
  }
6688
6688
  return r.concat([0, 1, 2, 3, 4, 5, 6].map(function(s) {
6689
6689
  var l = ut(e, s);
6690
- return T.createElement(ym, ve({}, a.defaultProps, t.props, { ariaLabelPrefixWhenEnabled: t.props.chooseDayAriaLabelPrefix, ariaLabelPrefixWhenDisabled: t.props.disabledDayAriaLabelPrefix, key: l.valueOf(), day: l, onClick: t.handleDayClick.bind(t, l), onMouseEnter: t.handleDayMouseEnter.bind(t, l) }));
6690
+ return N.createElement(ym, ve({}, a.defaultProps, t.props, { ariaLabelPrefixWhenEnabled: t.props.chooseDayAriaLabelPrefix, ariaLabelPrefixWhenDisabled: t.props.disabledDayAriaLabelPrefix, key: l.valueOf(), day: l, onClick: t.handleDayClick.bind(t, l), onMouseEnter: t.handleDayMouseEnter.bind(t, l) }));
6691
6691
  }));
6692
6692
  }, t.startOfWeek = function() {
6693
6693
  return At(t.props.day, t.props.locale, t.props.calendarStartDay);
@@ -6709,7 +6709,7 @@ var bm = (
6709
6709
  "react-datepicker__week--selected": he(this.startOfWeek(), this.props.selected),
6710
6710
  "react-datepicker__week--keyboard-selected": this.isKeyboardSelected()
6711
6711
  }, e = this.props.weekClassName ? this.props.weekClassName(this.startOfWeek()) : void 0;
6712
- return T.createElement("div", { className: E(t, e), role: "row" }, this.renderDays());
6712
+ return N.createElement("div", { className: E(t, e), role: "row" }, this.renderDays());
6713
6713
  }, a;
6714
6714
  }(He)
6715
6715
  ), xn, Dm = 6, ln = {
@@ -6834,7 +6834,7 @@ var Cm = (
6834
6834
  return t.props.showWeekPicker ? At(w, t.props.locale, t.props.calendarStartDay) : t.props.preSelection;
6835
6835
  }, p = function(w) {
6836
6836
  return t.props.showWeekPicker ? At(w, t.props.locale, t.props.calendarStartDay) : t.props.selected;
6837
- }, u = t.props.selected ? p(t.props.selected) : void 0, d = t.props.preSelection ? l(t.props.preSelection) : void 0; e.push(T.createElement(km, ve({}, t.props, { ariaLabelPrefix: t.props.weekAriaLabelPrefix, key: o, day: s, month: Ue(t.props.day), onDayClick: t.handleDayClick, onDayMouseEnter: t.handleDayMouseEnter, selected: u, preSelection: d, showWeekNumber: t.props.showWeekNumbers }))), !i; ) {
6837
+ }, u = t.props.selected ? p(t.props.selected) : void 0, d = t.props.preSelection ? l(t.props.preSelection) : void 0; e.push(N.createElement(km, ve({}, t.props, { ariaLabelPrefix: t.props.weekAriaLabelPrefix, key: o, day: s, month: Ue(t.props.day), onDayClick: t.handleDayClick, onDayMouseEnter: t.handleDayMouseEnter, selected: u, preSelection: d, showWeekNumber: t.props.showWeekNumbers }))), !i; ) {
6838
6838
  o++, s = rr(s, 1);
6839
6839
  var m = r && o >= Dm, v = !r && !t.isWeekInMonth(s);
6840
6840
  if (m || v)
@@ -6856,9 +6856,9 @@ var Cm = (
6856
6856
  }, t.handleKeyboardNavigation = function(e, r, o) {
6857
6857
  var i, s = t.props, l = s.selected, p = s.preSelection, u = s.setPreSelection, d = s.minDate, m = s.maxDate, v = s.showFourColumnMonthYearPicker, w = s.showTwoColumnMonthYearPicker;
6858
6858
  if (p) {
6859
- var b = Lo(v, w), y = t.getVerticalOffset(b), D = (i = $r[b]) === null || i === void 0 ? void 0 : i.grid, N = function(j, P, L) {
6859
+ var b = Lo(v, w), y = t.getVerticalOffset(b), C = (i = $r[b]) === null || i === void 0 ? void 0 : i.grid, T = function(Y, P, L) {
6860
6860
  var G, ce, ne = P, K = L;
6861
- switch (j) {
6861
+ switch (Y) {
6862
6862
  case ee.ArrowRight:
6863
6863
  ne = ft(P, qn), K = L === 11 ? 0 : L + qn;
6864
6864
  break;
@@ -6866,31 +6866,31 @@ var Cm = (
6866
6866
  ne = Qt(P, qn), K = L === 0 ? 11 : L - qn;
6867
6867
  break;
6868
6868
  case ee.ArrowUp:
6869
- ne = Qt(P, y), K = !((G = D == null ? void 0 : D[0]) === null || G === void 0) && G.includes(L) ? L + 12 - y : L - y;
6869
+ ne = Qt(P, y), K = !((G = C == null ? void 0 : C[0]) === null || G === void 0) && G.includes(L) ? L + 12 - y : L - y;
6870
6870
  break;
6871
6871
  case ee.ArrowDown:
6872
- ne = ft(P, y), K = !((ce = D == null ? void 0 : D[D.length - 1]) === null || ce === void 0) && ce.includes(L) ? L - 12 + y : L + y;
6872
+ ne = ft(P, y), K = !((ce = C == null ? void 0 : C[C.length - 1]) === null || ce === void 0) && ce.includes(L) ? L - 12 + y : L + y;
6873
6873
  break;
6874
6874
  }
6875
6875
  return { newCalculatedDate: ne, newCalculatedMonth: K };
6876
- }, S = function(j, P, L) {
6877
- for (var G = 40, ce = j, ne = !1, K = 0, te = N(ce, P, L), W = te.newCalculatedDate, z = te.newCalculatedMonth; !ne; ) {
6876
+ }, S = function(Y, P, L) {
6877
+ for (var G = 40, ce = Y, ne = !1, K = 0, te = T(ce, P, L), W = te.newCalculatedDate, z = te.newCalculatedMonth; !ne; ) {
6878
6878
  if (K >= G) {
6879
6879
  W = P, z = L;
6880
6880
  break;
6881
6881
  }
6882
6882
  if (d && W < d) {
6883
6883
  ce = ee.ArrowRight;
6884
- var $ = N(ce, W, z);
6884
+ var $ = T(ce, W, z);
6885
6885
  W = $.newCalculatedDate, z = $.newCalculatedMonth;
6886
6886
  }
6887
6887
  if (m && W > m) {
6888
6888
  ce = ee.ArrowLeft;
6889
- var $ = N(ce, W, z);
6889
+ var $ = T(ce, W, z);
6890
6890
  W = $.newCalculatedDate, z = $.newCalculatedMonth;
6891
6891
  }
6892
6892
  if (pm(W, t.props)) {
6893
- var $ = N(ce, W, z);
6893
+ var $ = T(ce, W, z);
6894
6894
  W = $.newCalculatedDate, z = $.newCalculatedMonth;
6895
6895
  } else
6896
6896
  ne = !0;
@@ -6902,7 +6902,7 @@ var Cm = (
6902
6902
  t.isMonthDisabled(o) || (t.onMonthClick(e, o), u == null || u(l));
6903
6903
  return;
6904
6904
  }
6905
- var C = S(r, p, o), x = C.newCalculatedDate, A = C.newCalculatedMonth;
6905
+ var D = S(r, p, o), x = D.newCalculatedDate, A = D.newCalculatedMonth;
6906
6906
  switch (r) {
6907
6907
  case ee.ArrowRight:
6908
6908
  case ee.ArrowLeft:
@@ -7002,8 +7002,8 @@ var Cm = (
7002
7002
  }, t.renderMonths = function() {
7003
7003
  var e, r = t.props, o = r.showTwoColumnMonthYearPicker, i = r.showFourColumnMonthYearPicker, s = r.day, l = r.selected, p = (e = $r[Lo(i, o)]) === null || e === void 0 ? void 0 : e.grid;
7004
7004
  return p == null ? void 0 : p.map(function(u, d) {
7005
- return T.createElement("div", { className: "react-datepicker__month-wrapper", key: d }, u.map(function(m, v) {
7006
- return T.createElement("div", { ref: t.MONTH_REFS[m], key: v, onClick: function(w) {
7005
+ return N.createElement("div", { className: "react-datepicker__month-wrapper", key: d }, u.map(function(m, v) {
7006
+ return N.createElement("div", { ref: t.MONTH_REFS[m], key: v, onClick: function(w) {
7007
7007
  t.onMonthClick(w, m);
7008
7008
  }, onKeyDown: function(w) {
7009
7009
  rs(w) && (w.preventDefault(), w.key = ee.Enter), t.onMonthKeyDown(w, m);
@@ -7016,8 +7016,8 @@ var Cm = (
7016
7016
  });
7017
7017
  }, t.renderQuarters = function() {
7018
7018
  var e = t.props, r = e.day, o = e.selected, i = [1, 2, 3, 4];
7019
- return T.createElement("div", { className: "react-datepicker__quarter-wrapper" }, i.map(function(s, l) {
7020
- return T.createElement("div", { key: l, ref: t.QUARTER_REFS[l], role: "option", onClick: function(p) {
7019
+ return N.createElement("div", { className: "react-datepicker__quarter-wrapper" }, i.map(function(s, l) {
7020
+ return N.createElement("div", { key: l, ref: t.QUARTER_REFS[l], role: "option", onClick: function(p) {
7021
7021
  t.onQuarterClick(p, s);
7022
7022
  }, onKeyDown: function(p) {
7023
7023
  t.onQuarterKeyDown(p, s);
@@ -7042,11 +7042,11 @@ var Cm = (
7042
7042
  return [e];
7043
7043
  }, a.prototype.render = function() {
7044
7044
  var t = this.props, e = t.showMonthYearPicker, r = t.showQuarterYearPicker, o = t.day, i = t.ariaLabelPrefix, s = i === void 0 ? "Month " : i, l = s ? s.trim() + " " : "", p = e || r;
7045
- return p ? T.createElement("div", { className: this.getClassNames(), onMouseLeave: this.props.usePointerEvent ? void 0 : this.handleMouseLeave, onPointerLeave: this.props.usePointerEvent ? this.handleMouseLeave : void 0, "aria-label": "".concat(l).concat(Se(o, "MMMM, yyyy", this.props.locale)), role: "listbox" }, e ? this.renderMonths() : this.renderQuarters()) : T.createElement(
7045
+ return p ? N.createElement("div", { className: this.getClassNames(), onMouseLeave: this.props.usePointerEvent ? void 0 : this.handleMouseLeave, onPointerLeave: this.props.usePointerEvent ? this.handleMouseLeave : void 0, "aria-label": "".concat(l).concat(Se(o, "MMMM, yyyy", this.props.locale)), role: "listbox" }, e ? this.renderMonths() : this.renderQuarters()) : N.createElement(
7046
7046
  "div",
7047
7047
  { role: "table" },
7048
- this.props.dayNamesHeader && T.createElement("div", { role: "rowgroup" }, this.props.dayNamesHeader),
7049
- T.createElement("div", { className: this.getClassNames(), onMouseLeave: this.props.usePointerEvent ? void 0 : this.handleMouseLeave, onPointerLeave: this.props.usePointerEvent ? this.handleMouseLeave : void 0, "aria-label": "".concat(l).concat(Se(o, "MMMM, yyyy", this.props.locale)), role: "rowgroup" }, this.renderWeeks())
7048
+ this.props.dayNamesHeader && N.createElement("div", { role: "rowgroup" }, this.props.dayNamesHeader),
7049
+ N.createElement("div", { className: this.getClassNames(), onMouseLeave: this.props.usePointerEvent ? void 0 : this.handleMouseLeave, onPointerLeave: this.props.usePointerEvent ? this.handleMouseLeave : void 0, "aria-label": "".concat(l).concat(Se(o, "MMMM, yyyy", this.props.locale)), role: "rowgroup" }, this.renderWeeks())
7050
7050
  );
7051
7051
  }, a;
7052
7052
  }(He)
@@ -7077,12 +7077,12 @@ var Cm = (
7077
7077
  }
7078
7078
  }, t.renderOptions = function() {
7079
7079
  return t.monthOptionButtonsRef = {}, t.props.monthNames.map(function(e, r) {
7080
- return T.createElement(
7080
+ return N.createElement(
7081
7081
  "div",
7082
7082
  { ref: function(o) {
7083
7083
  t.monthOptionButtonsRef[r] = o, t.isSelectedMonth(r) && (o == null || o.focus());
7084
7084
  }, role: "button", tabIndex: 0, className: t.isSelectedMonth(r) ? "react-datepicker__month-option react-datepicker__month-option--selected_month" : "react-datepicker__month-option", key: e, onClick: t.onChange.bind(t, r), onKeyDown: t.handleOptionKeyDown.bind(t, r), "aria-selected": t.isSelectedMonth(r) ? "true" : void 0 },
7085
- t.isSelectedMonth(r) ? T.createElement("span", { className: "react-datepicker__month-option--selected" }, "✓") : "",
7085
+ t.isSelectedMonth(r) ? N.createElement("span", { className: "react-datepicker__month-option--selected" }, "✓") : "",
7086
7086
  e
7087
7087
  );
7088
7088
  });
@@ -7093,7 +7093,7 @@ var Cm = (
7093
7093
  }, t;
7094
7094
  }
7095
7095
  return a.prototype.render = function() {
7096
- return T.createElement(Nr, { className: "react-datepicker__month-dropdown", onClickOutside: this.handleClickOutside }, this.renderOptions());
7096
+ return N.createElement(Nr, { className: "react-datepicker__month-dropdown", onClickOutside: this.handleClickOutside }, this.renderOptions());
7097
7097
  }, a;
7098
7098
  }(He)
7099
7099
  ), Mm = (
@@ -7106,21 +7106,21 @@ var Cm = (
7106
7106
  dropdownVisible: !1
7107
7107
  }, t.renderSelectOptions = function(e) {
7108
7108
  return e.map(function(r, o) {
7109
- return T.createElement("option", { key: r, value: o }, r);
7109
+ return N.createElement("option", { key: r, value: o }, r);
7110
7110
  });
7111
7111
  }, t.renderSelectMode = function(e) {
7112
- return T.createElement("select", { value: t.props.month, className: "react-datepicker__month-select", onChange: function(r) {
7112
+ return N.createElement("select", { value: t.props.month, className: "react-datepicker__month-select", onChange: function(r) {
7113
7113
  return t.onChange(parseInt(r.target.value));
7114
7114
  } }, t.renderSelectOptions(e));
7115
7115
  }, t.renderReadView = function(e, r) {
7116
- return T.createElement(
7116
+ return N.createElement(
7117
7117
  "button",
7118
7118
  { key: "read", type: "button", style: { visibility: e ? "visible" : "hidden" }, className: "react-datepicker__month-read-view", onClick: t.toggleDropdown },
7119
- T.createElement("span", { className: "react-datepicker__month-read-view--down-arrow" }),
7120
- T.createElement("span", { className: "react-datepicker__month-read-view--selected-month" }, r[t.props.month])
7119
+ N.createElement("span", { className: "react-datepicker__month-read-view--down-arrow" }),
7120
+ N.createElement("span", { className: "react-datepicker__month-read-view--selected-month" }, r[t.props.month])
7121
7121
  );
7122
7122
  }, t.renderDropdown = function(e) {
7123
- return T.createElement(Sm, ve({ key: "dropdown" }, t.props, { monthNames: e, onChange: t.onChange, onCancel: t.toggleDropdown }));
7123
+ return N.createElement(Sm, ve({ key: "dropdown" }, t.props, { monthNames: e, onChange: t.onChange, onCancel: t.toggleDropdown }));
7124
7124
  }, t.renderScrollMode = function(e) {
7125
7125
  var r = t.state.dropdownVisible, o = [t.renderReadView(!r, e)];
7126
7126
  return r && o.unshift(t.renderDropdown(e)), o;
@@ -7146,7 +7146,7 @@ var Cm = (
7146
7146
  r = this.renderSelectMode(e);
7147
7147
  break;
7148
7148
  }
7149
- return T.createElement("div", { className: "react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode) }, r);
7149
+ return N.createElement("div", { className: "react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode) }, r);
7150
7150
  }, a;
7151
7151
  }(He)
7152
7152
  );
@@ -7164,10 +7164,10 @@ var Nm = (
7164
7164
  return e.renderOptions = function() {
7165
7165
  return e.state.monthYearsList.map(function(r) {
7166
7166
  var o = ha(r), i = vt(e.props.date, r) && Xe(e.props.date, r);
7167
- return T.createElement(
7167
+ return N.createElement(
7168
7168
  "div",
7169
7169
  { className: i ? "react-datepicker__month-year-option--selected_month-year" : "react-datepicker__month-year-option", key: o, onClick: e.onChange.bind(e, o), "aria-selected": i ? "true" : void 0 },
7170
- i ? T.createElement("span", { className: "react-datepicker__month-year-option--selected" }, "✓") : "",
7170
+ i ? N.createElement("span", { className: "react-datepicker__month-year-option--selected" }, "✓") : "",
7171
7171
  Se(r, e.props.dateFormat, e.props.locale)
7172
7172
  );
7173
7173
  });
@@ -7184,7 +7184,7 @@ var Nm = (
7184
7184
  "react-datepicker__month-year-dropdown": !0,
7185
7185
  "react-datepicker__month-year-dropdown--scrollable": this.props.scrollableMonthYearDropdown
7186
7186
  });
7187
- return T.createElement(Nr, { className: t, onClickOutside: this.handleClickOutside }, this.renderOptions());
7187
+ return N.createElement(Nr, { className: t, onClickOutside: this.handleClickOutside }, this.renderOptions());
7188
7188
  }, a;
7189
7189
  }(He)
7190
7190
  ), Tm = (
@@ -7198,23 +7198,23 @@ var Nm = (
7198
7198
  }, t.renderSelectOptions = function() {
7199
7199
  for (var e = Ot(t.props.minDate), r = Ot(t.props.maxDate), o = []; !Bt(e, r); ) {
7200
7200
  var i = ha(e);
7201
- o.push(T.createElement("option", { key: i, value: i }, Se(e, t.props.dateFormat, t.props.locale))), e = ft(e, 1);
7201
+ o.push(N.createElement("option", { key: i, value: i }, Se(e, t.props.dateFormat, t.props.locale))), e = ft(e, 1);
7202
7202
  }
7203
7203
  return o;
7204
7204
  }, t.onSelectChange = function(e) {
7205
7205
  t.onChange(parseInt(e.target.value));
7206
7206
  }, t.renderSelectMode = function() {
7207
- return T.createElement("select", { value: ha(Ot(t.props.date)), className: "react-datepicker__month-year-select", onChange: t.onSelectChange }, t.renderSelectOptions());
7207
+ return N.createElement("select", { value: ha(Ot(t.props.date)), className: "react-datepicker__month-year-select", onChange: t.onSelectChange }, t.renderSelectOptions());
7208
7208
  }, t.renderReadView = function(e) {
7209
7209
  var r = Se(t.props.date, t.props.dateFormat, t.props.locale);
7210
- return T.createElement(
7210
+ return N.createElement(
7211
7211
  "div",
7212
7212
  { key: "read", style: { visibility: e ? "visible" : "hidden" }, className: "react-datepicker__month-year-read-view", onClick: t.toggleDropdown },
7213
- T.createElement("span", { className: "react-datepicker__month-year-read-view--down-arrow" }),
7214
- T.createElement("span", { className: "react-datepicker__month-year-read-view--selected-month-year" }, r)
7213
+ N.createElement("span", { className: "react-datepicker__month-year-read-view--down-arrow" }),
7214
+ N.createElement("span", { className: "react-datepicker__month-year-read-view--selected-month-year" }, r)
7215
7215
  );
7216
7216
  }, t.renderDropdown = function() {
7217
- return T.createElement(Nm, ve({ key: "dropdown" }, t.props, { onChange: t.onChange, onCancel: t.toggleDropdown }));
7217
+ return N.createElement(Nm, ve({ key: "dropdown" }, t.props, { onChange: t.onChange, onCancel: t.toggleDropdown }));
7218
7218
  }, t.renderScrollMode = function() {
7219
7219
  var e = t.state.dropdownVisible, r = [t.renderReadView(!e)];
7220
7220
  return e && r.unshift(t.renderDropdown()), r;
@@ -7238,7 +7238,7 @@ var Nm = (
7238
7238
  t = this.renderSelectMode();
7239
7239
  break;
7240
7240
  }
7241
- return T.createElement("div", { className: "react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode) }, t);
7241
+ return N.createElement("div", { className: "react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode) }, t);
7242
7242
  }, a;
7243
7243
  }(He)
7244
7244
  ), Pm = (
@@ -7271,8 +7271,8 @@ var Nm = (
7271
7271
  var o, i;
7272
7272
  e.key === ee.Space && (e.preventDefault(), e.key = ee.Enter), (e.key === ee.ArrowUp || e.key === ee.ArrowLeft) && e.target instanceof HTMLElement && e.target.previousSibling && (e.preventDefault(), e.target.previousSibling instanceof HTMLElement && e.target.previousSibling.focus()), (e.key === ee.ArrowDown || e.key === ee.ArrowRight) && e.target instanceof HTMLElement && e.target.nextSibling && (e.preventDefault(), e.target.nextSibling instanceof HTMLElement && e.target.nextSibling.focus()), e.key === ee.Enter && t.handleClick(r), (i = (o = t.props).handleOnKeyDown) === null || i === void 0 || i.call(o, e);
7273
7273
  }, t.renderTimes = function() {
7274
- for (var e, r = [], o = typeof t.props.format == "string" ? t.props.format : "p", i = (e = t.props.intervals) !== null && e !== void 0 ? e : a.defaultProps.intervals, s = t.props.selected || t.props.openToDate || xe(), l = Jn(s), p = t.props.injectTimes && t.props.injectTimes.sort(function(y, D) {
7275
- return y.getTime() - D.getTime();
7274
+ for (var e, r = [], o = typeof t.props.format == "string" ? t.props.format : "p", i = (e = t.props.intervals) !== null && e !== void 0 ? e : a.defaultProps.intervals, s = t.props.selected || t.props.openToDate || xe(), l = Jn(s), p = t.props.injectTimes && t.props.injectTimes.sort(function(y, C) {
7275
+ return y.getTime() - C.getTime();
7276
7276
  }), u = 60 * gm(s), d = u / i, m = 0; m < d; m++) {
7277
7277
  var v = da(l, m * i);
7278
7278
  if (r.push(v), p) {
@@ -7280,23 +7280,23 @@ var Nm = (
7280
7280
  r = r.concat(w);
7281
7281
  }
7282
7282
  }
7283
- var b = r.reduce(function(y, D) {
7284
- return D.getTime() <= s.getTime() ? D : y;
7283
+ var b = r.reduce(function(y, C) {
7284
+ return C.getTime() <= s.getTime() ? C : y;
7285
7285
  }, r[0]);
7286
7286
  return r.map(function(y) {
7287
- return T.createElement("li", { key: y.valueOf(), onClick: t.handleClick.bind(t, y), className: t.liClasses(y), ref: function(D) {
7288
- y === b && (t.centerLi = D);
7289
- }, onKeyDown: function(D) {
7290
- t.handleOnKeyDown(D, y);
7287
+ return N.createElement("li", { key: y.valueOf(), onClick: t.handleClick.bind(t, y), className: t.liClasses(y), ref: function(C) {
7288
+ y === b && (t.centerLi = C);
7289
+ }, onKeyDown: function(C) {
7290
+ t.handleOnKeyDown(C, y);
7291
7291
  }, tabIndex: y === b ? 0 : -1, role: "option", "aria-selected": t.isSelectedTime(y) ? "true" : void 0, "aria-disabled": t.isDisabledTime(y) ? "true" : void 0 }, Se(y, o, t.props.locale));
7292
7292
  });
7293
7293
  }, t.renderTimeCaption = function() {
7294
- return t.props.showTimeCaption === !1 ? T.createElement(T.Fragment, null) : T.createElement(
7294
+ return t.props.showTimeCaption === !1 ? N.createElement(N.Fragment, null) : N.createElement(
7295
7295
  "div",
7296
7296
  { className: "react-datepicker__header react-datepicker__header--time ".concat(t.props.showTimeSelectOnly ? "react-datepicker__header--time--only" : ""), ref: function(e) {
7297
7297
  t.header = e;
7298
7298
  } },
7299
- T.createElement("div", { className: "react-datepicker-time__header" }, t.props.timeCaption)
7299
+ N.createElement("div", { className: "react-datepicker-time__header" }, t.props.timeCaption)
7300
7300
  );
7301
7301
  }, t;
7302
7302
  }
@@ -7327,17 +7327,17 @@ var Nm = (
7327
7327
  });
7328
7328
  }, a.prototype.render = function() {
7329
7329
  var t = this, e, r = this.state.height;
7330
- return T.createElement(
7330
+ return N.createElement(
7331
7331
  "div",
7332
7332
  { className: "react-datepicker__time-container ".concat(((e = this.props.todayButton) !== null && e !== void 0 ? e : a.defaultProps.todayButton) ? "react-datepicker__time-container--with-today-button" : "") },
7333
7333
  this.renderTimeCaption(),
7334
- T.createElement(
7334
+ N.createElement(
7335
7335
  "div",
7336
7336
  { className: "react-datepicker__time" },
7337
- T.createElement(
7337
+ N.createElement(
7338
7338
  "div",
7339
7339
  { className: "react-datepicker__time-box" },
7340
- T.createElement("ul", { className: "react-datepicker__time-list", ref: function(o) {
7340
+ N.createElement("ul", { className: "react-datepicker__time-list", ref: function(o) {
7341
7341
  t.list = o;
7342
7342
  }, style: r ? { height: r } : {}, role: "listbox", "aria-label": this.props.timeCaption }, this.renderTimes())
7343
7343
  )
@@ -7455,10 +7455,10 @@ var Nm = (
7455
7455
  case ee.ArrowDown: {
7456
7456
  if (u === void 0 || d === void 0 || e.props.preSelection == null)
7457
7457
  break;
7458
- var D = Et(u, d).endPeriod, w = Fo, b = o + w;
7459
- if (b > D) {
7458
+ var C = Et(u, d).endPeriod, w = Fo, b = o + w;
7459
+ if (b > C) {
7460
7460
  var y = d % w;
7461
- o <= D && o > D - y ? w = y : w += y, b = o + w;
7461
+ o <= C && o > C - y ? w = y : w += y, b = o + w;
7462
7462
  }
7463
7463
  e.handleYearNavigation(b, Nt(e.props.preSelection, w));
7464
7464
  break;
@@ -7493,7 +7493,7 @@ var Nm = (
7493
7493
  if (o === void 0)
7494
7494
  return null;
7495
7495
  for (var p = Et(o, i), u = p.startPeriod, d = p.endPeriod, m = function(b) {
7496
- e.push(T.createElement("div", { ref: v.YEAR_REFS[b - u], onClick: function(y) {
7496
+ e.push(N.createElement("div", { ref: v.YEAR_REFS[b - u], onClick: function(y) {
7497
7497
  t.onYearClick(y, b);
7498
7498
  }, onKeyDown: function(y) {
7499
7499
  rs(y) && (y.preventDefault(), y.key = ee.Enter), t.onYearKeyDown(y, b);
@@ -7508,10 +7508,10 @@ var Nm = (
7508
7508
  } : void 0, key: b, "aria-current": v.isCurrentYear(b) ? "date" : void 0 }, v.getYearContent(b)));
7509
7509
  }, v = this, w = u; w <= d; w++)
7510
7510
  m(w);
7511
- return T.createElement(
7511
+ return N.createElement(
7512
7512
  "div",
7513
7513
  { className: "react-datepicker__year" },
7514
- T.createElement("div", { className: "react-datepicker__year-wrapper", onMouseLeave: this.props.usePointerEvent ? void 0 : this.props.clearSelectingDate, onPointerLeave: this.props.usePointerEvent ? this.props.clearSelectingDate : void 0 }, e)
7514
+ N.createElement("div", { className: "react-datepicker__year-wrapper", onMouseLeave: this.props.usePointerEvent ? void 0 : this.props.clearSelectingDate, onPointerLeave: this.props.usePointerEvent ? this.props.clearSelectingDate : void 0 }, e)
7515
7515
  );
7516
7516
  }, a;
7517
7517
  }(He)
@@ -7549,27 +7549,27 @@ var Rm = (
7549
7549
  }, e.renderOptions = function() {
7550
7550
  e.yearOptionButtonsRef = {};
7551
7551
  var s = e.props.year, l = e.state.yearsList.map(function(d) {
7552
- return T.createElement(
7552
+ return N.createElement(
7553
7553
  "div",
7554
7554
  { ref: function(m) {
7555
7555
  e.yearOptionButtonsRef[d] = m, d === s && (m == null || m.focus());
7556
7556
  }, role: "button", tabIndex: 0, className: s === d ? "react-datepicker__year-option react-datepicker__year-option--selected_year" : "react-datepicker__year-option", key: d, onClick: e.onChange.bind(e, d), onKeyDown: e.handleOptionKeyDown.bind(e, d), "aria-selected": s === d ? "true" : void 0 },
7557
- s === d ? T.createElement("span", { className: "react-datepicker__year-option--selected" }, "✓") : "",
7557
+ s === d ? N.createElement("span", { className: "react-datepicker__year-option--selected" }, "✓") : "",
7558
7558
  d
7559
7559
  );
7560
7560
  }), p = e.props.minDate ? me(e.props.minDate) : null, u = e.props.maxDate ? me(e.props.maxDate) : null;
7561
7561
  return (!u || !e.state.yearsList.find(function(d) {
7562
7562
  return d === u;
7563
- })) && l.unshift(T.createElement(
7563
+ })) && l.unshift(N.createElement(
7564
7564
  "div",
7565
7565
  { className: "react-datepicker__year-option", key: "upcoming", onClick: e.incrementYears },
7566
- T.createElement("a", { className: "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming" })
7566
+ N.createElement("a", { className: "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming" })
7567
7567
  )), (!p || !e.state.yearsList.find(function(d) {
7568
7568
  return d === p;
7569
- })) && l.push(T.createElement(
7569
+ })) && l.push(N.createElement(
7570
7570
  "div",
7571
7571
  { className: "react-datepicker__year-option", key: "previous", onClick: e.decrementYears },
7572
- T.createElement("a", { className: "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous" })
7572
+ N.createElement("a", { className: "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous" })
7573
7573
  )), l;
7574
7574
  }, e.onChange = function(s) {
7575
7575
  e.props.onChange(s);
@@ -7605,7 +7605,7 @@ var Rm = (
7605
7605
  "react-datepicker__year-dropdown": !0,
7606
7606
  "react-datepicker__year-dropdown--scrollable": this.props.scrollableYearDropdown
7607
7607
  });
7608
- return T.createElement(Nr, { className: t, containerRef: this.dropdownRef, onClickOutside: this.handleClickOutside }, this.renderOptions());
7608
+ return N.createElement(Nr, { className: t, containerRef: this.dropdownRef, onClickOutside: this.handleClickOutside }, this.renderOptions());
7609
7609
  }, a;
7610
7610
  }(He)
7611
7611
  ), Lm = (
@@ -7618,21 +7618,21 @@ var Rm = (
7618
7618
  dropdownVisible: !1
7619
7619
  }, t.renderSelectOptions = function() {
7620
7620
  for (var e = t.props.minDate ? me(t.props.minDate) : 1900, r = t.props.maxDate ? me(t.props.maxDate) : 2100, o = [], i = e; i <= r; i++)
7621
- o.push(T.createElement("option", { key: i, value: i }, i));
7621
+ o.push(N.createElement("option", { key: i, value: i }, i));
7622
7622
  return o;
7623
7623
  }, t.onSelectChange = function(e) {
7624
7624
  t.onChange(parseInt(e.target.value));
7625
7625
  }, t.renderSelectMode = function() {
7626
- return T.createElement("select", { value: t.props.year, className: "react-datepicker__year-select", onChange: t.onSelectChange }, t.renderSelectOptions());
7626
+ return N.createElement("select", { value: t.props.year, className: "react-datepicker__year-select", onChange: t.onSelectChange }, t.renderSelectOptions());
7627
7627
  }, t.renderReadView = function(e) {
7628
- return T.createElement(
7628
+ return N.createElement(
7629
7629
  "button",
7630
7630
  { key: "read", type: "button", style: { visibility: e ? "visible" : "hidden" }, className: "react-datepicker__year-read-view", onClick: t.toggleDropdown },
7631
- T.createElement("span", { className: "react-datepicker__year-read-view--down-arrow" }),
7632
- T.createElement("span", { className: "react-datepicker__year-read-view--selected-year" }, t.props.year)
7631
+ N.createElement("span", { className: "react-datepicker__year-read-view--down-arrow" }),
7632
+ N.createElement("span", { className: "react-datepicker__year-read-view--selected-year" }, t.props.year)
7633
7633
  );
7634
7634
  }, t.renderDropdown = function() {
7635
- return T.createElement(Rm, ve({ key: "dropdown" }, t.props, { onChange: t.onChange, onCancel: t.toggleDropdown }));
7635
+ return N.createElement(Rm, ve({ key: "dropdown" }, t.props, { onChange: t.onChange, onCancel: t.toggleDropdown }));
7636
7636
  }, t.renderScrollMode = function() {
7637
7637
  var e = t.state.dropdownVisible, r = [t.renderReadView(!e)];
7638
7638
  return e && r.unshift(t.renderDropdown()), r;
@@ -7665,7 +7665,7 @@ var Rm = (
7665
7665
  t = this.renderSelectMode();
7666
7666
  break;
7667
7667
  }
7668
- return T.createElement("div", { className: "react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode) }, t);
7668
+ return N.createElement("div", { className: "react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode) }, t);
7669
7669
  }, a;
7670
7670
  }(He)
7671
7671
  ), Fm = [
@@ -7773,18 +7773,18 @@ var Rm = (
7773
7773
  }, e.header = function(r) {
7774
7774
  r === void 0 && (r = e.state.date);
7775
7775
  var o = At(r, e.props.locale, e.props.calendarStartDay), i = [];
7776
- return e.props.showWeekNumbers && i.push(T.createElement(
7776
+ return e.props.showWeekNumbers && i.push(N.createElement(
7777
7777
  "div",
7778
7778
  { key: "W", className: "react-datepicker__day-name", role: "columnheader" },
7779
- T.createElement("span", { className: "react-datepicker__sr-only" }, "Week number"),
7780
- T.createElement("span", { "aria-hidden": "true" }, e.props.weekLabel || "#")
7779
+ N.createElement("span", { className: "react-datepicker__sr-only" }, "Week number"),
7780
+ N.createElement("span", { "aria-hidden": "true" }, e.props.weekLabel || "#")
7781
7781
  )), i.concat([0, 1, 2, 3, 4, 5, 6].map(function(s) {
7782
7782
  var l = ut(o, s), p = e.formatWeekday(l, e.props.locale), u = e.props.weekDayClassName ? e.props.weekDayClassName(l) : void 0;
7783
- return T.createElement(
7783
+ return N.createElement(
7784
7784
  "div",
7785
7785
  { key: s, role: "columnheader", className: E("react-datepicker__day-name", u) },
7786
- T.createElement("span", { className: "react-datepicker__sr-only" }, Se(l, "EEEE", e.props.locale)),
7787
- T.createElement("span", { "aria-hidden": "true" }, p)
7786
+ N.createElement("span", { className: "react-datepicker__sr-only" }, Se(l, "EEEE", e.props.locale)),
7787
+ N.createElement("span", { "aria-hidden": "true" }, p)
7788
7788
  );
7789
7789
  }));
7790
7790
  }, e.formatWeekday = function(r, o) {
@@ -7827,11 +7827,11 @@ var Rm = (
7827
7827
  "react-datepicker__navigation--previous"
7828
7828
  ], w = e.decreaseMonth;
7829
7829
  (e.props.showMonthYearPicker || e.props.showQuarterYearPicker || e.props.showYearPicker) && (w = e.decreaseYear), d && e.props.showDisabledMonthNavigation && (v.push("react-datepicker__navigation--previous--disabled"), w = void 0);
7830
- var b = e.props.showMonthYearPicker || e.props.showQuarterYearPicker || e.props.showYearPicker, y = e.props, D = y.previousMonthButtonLabel, N = D === void 0 ? a.defaultProps.previousMonthButtonLabel : D, S = y.previousYearButtonLabel, C = S === void 0 ? a.defaultProps.previousYearButtonLabel : S, x = e.props, A = x.previousMonthAriaLabel, j = A === void 0 ? typeof N == "string" ? N : "Previous Month" : A, P = x.previousYearAriaLabel, L = P === void 0 ? typeof C == "string" ? C : "Previous Year" : P;
7831
- return T.createElement(
7830
+ var b = e.props.showMonthYearPicker || e.props.showQuarterYearPicker || e.props.showYearPicker, y = e.props, C = y.previousMonthButtonLabel, T = C === void 0 ? a.defaultProps.previousMonthButtonLabel : C, S = y.previousYearButtonLabel, D = S === void 0 ? a.defaultProps.previousYearButtonLabel : S, x = e.props, A = x.previousMonthAriaLabel, Y = A === void 0 ? typeof T == "string" ? T : "Previous Month" : A, P = x.previousYearAriaLabel, L = P === void 0 ? typeof D == "string" ? D : "Previous Year" : P;
7831
+ return N.createElement(
7832
7832
  "button",
7833
- { type: "button", className: v.join(" "), onClick: w, onKeyDown: e.props.handleOnKeyDown, "aria-label": b ? L : j },
7834
- T.createElement("span", { className: m.join(" ") }, b ? C : N)
7833
+ { type: "button", className: v.join(" "), onClick: w, onKeyDown: e.props.handleOnKeyDown, "aria-label": b ? L : Y },
7834
+ N.createElement("span", { className: m.join(" ") }, b ? D : T)
7835
7835
  );
7836
7836
  }
7837
7837
  }
@@ -7873,41 +7873,41 @@ var Rm = (
7873
7873
  e.props.showTimeSelect && i.push("react-datepicker__navigation--next--with-time"), e.props.todayButton && i.push("react-datepicker__navigation--next--with-today-button");
7874
7874
  var l = e.increaseMonth;
7875
7875
  (e.props.showMonthYearPicker || e.props.showQuarterYearPicker || e.props.showYearPicker) && (l = e.increaseYear), o && e.props.showDisabledMonthNavigation && (i.push("react-datepicker__navigation--next--disabled"), l = void 0);
7876
- var p = e.props.showMonthYearPicker || e.props.showQuarterYearPicker || e.props.showYearPicker, u = e.props, d = u.nextMonthButtonLabel, m = d === void 0 ? a.defaultProps.nextMonthButtonLabel : d, v = u.nextYearButtonLabel, w = v === void 0 ? a.defaultProps.nextYearButtonLabel : v, b = e.props, y = b.nextMonthAriaLabel, D = y === void 0 ? typeof m == "string" ? m : "Next Month" : y, N = b.nextYearAriaLabel, S = N === void 0 ? typeof w == "string" ? w : "Next Year" : N;
7877
- return T.createElement(
7876
+ var p = e.props.showMonthYearPicker || e.props.showQuarterYearPicker || e.props.showYearPicker, u = e.props, d = u.nextMonthButtonLabel, m = d === void 0 ? a.defaultProps.nextMonthButtonLabel : d, v = u.nextYearButtonLabel, w = v === void 0 ? a.defaultProps.nextYearButtonLabel : v, b = e.props, y = b.nextMonthAriaLabel, C = y === void 0 ? typeof m == "string" ? m : "Next Month" : y, T = b.nextYearAriaLabel, S = T === void 0 ? typeof w == "string" ? w : "Next Year" : T;
7877
+ return N.createElement(
7878
7878
  "button",
7879
- { type: "button", className: i.join(" "), onClick: l, onKeyDown: e.props.handleOnKeyDown, "aria-label": p ? S : D },
7880
- T.createElement("span", { className: s.join(" ") }, p ? w : m)
7879
+ { type: "button", className: i.join(" "), onClick: l, onKeyDown: e.props.handleOnKeyDown, "aria-label": p ? S : C },
7880
+ N.createElement("span", { className: s.join(" ") }, p ? w : m)
7881
7881
  );
7882
7882
  }
7883
7883
  }
7884
7884
  }, e.renderCurrentMonth = function(r) {
7885
7885
  r === void 0 && (r = e.state.date);
7886
7886
  var o = ["react-datepicker__current-month"];
7887
- return e.props.showYearDropdown && o.push("react-datepicker__current-month--hasYearDropdown"), e.props.showMonthDropdown && o.push("react-datepicker__current-month--hasMonthDropdown"), e.props.showMonthYearDropdown && o.push("react-datepicker__current-month--hasMonthYearDropdown"), T.createElement("h2", { className: o.join(" ") }, Se(r, e.props.dateFormat, e.props.locale));
7887
+ return e.props.showYearDropdown && o.push("react-datepicker__current-month--hasYearDropdown"), e.props.showMonthDropdown && o.push("react-datepicker__current-month--hasMonthDropdown"), e.props.showMonthYearDropdown && o.push("react-datepicker__current-month--hasMonthYearDropdown"), N.createElement("h2", { className: o.join(" ") }, Se(r, e.props.dateFormat, e.props.locale));
7888
7888
  }, e.renderYearDropdown = function(r) {
7889
7889
  if (r === void 0 && (r = !1), !(!e.props.showYearDropdown || r))
7890
- return T.createElement(Lm, ve({}, a.defaultProps, e.props, { date: e.state.date, onChange: e.changeYear, year: me(e.state.date) }));
7890
+ return N.createElement(Lm, ve({}, a.defaultProps, e.props, { date: e.state.date, onChange: e.changeYear, year: me(e.state.date) }));
7891
7891
  }, e.renderMonthDropdown = function(r) {
7892
7892
  if (r === void 0 && (r = !1), !(!e.props.showMonthDropdown || r))
7893
- return T.createElement(Mm, ve({}, a.defaultProps, e.props, { month: Ue(e.state.date), onChange: e.changeMonth }));
7893
+ return N.createElement(Mm, ve({}, a.defaultProps, e.props, { month: Ue(e.state.date), onChange: e.changeMonth }));
7894
7894
  }, e.renderMonthYearDropdown = function(r) {
7895
7895
  if (r === void 0 && (r = !1), !(!e.props.showMonthYearDropdown || r))
7896
- return T.createElement(Tm, ve({}, a.defaultProps, e.props, { date: e.state.date, onChange: e.changeMonthYear }));
7896
+ return N.createElement(Tm, ve({}, a.defaultProps, e.props, { date: e.state.date, onChange: e.changeMonthYear }));
7897
7897
  }, e.handleTodayButtonClick = function(r) {
7898
7898
  e.props.onSelect(xo(), r), e.props.setPreSelection && e.props.setPreSelection(xo());
7899
7899
  }, e.renderTodayButton = function() {
7900
7900
  if (!(!e.props.todayButton || e.props.showTimeSelectOnly))
7901
- return T.createElement("div", { className: "react-datepicker__today-button", onClick: e.handleTodayButtonClick }, e.props.todayButton);
7901
+ return N.createElement("div", { className: "react-datepicker__today-button", onClick: e.handleTodayButtonClick }, e.props.todayButton);
7902
7902
  }, e.renderDayNamesHeader = function(r) {
7903
- return T.createElement("div", { className: "react-datepicker__day-names", role: "row" }, e.header(r));
7903
+ return N.createElement("div", { className: "react-datepicker__day-names", role: "row" }, e.header(r));
7904
7904
  }, e.renderDefaultHeader = function(r) {
7905
7905
  var o = r.monthDate, i = r.i;
7906
- return T.createElement(
7906
+ return N.createElement(
7907
7907
  "div",
7908
7908
  { className: "react-datepicker__header ".concat(e.props.showTimeSelect ? "react-datepicker__header--has-time-select" : "") },
7909
7909
  e.renderCurrentMonth(o),
7910
- T.createElement(
7910
+ N.createElement(
7911
7911
  "div",
7912
7912
  { className: "react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(e.props.dropdownMode), onFocus: e.handleDropdownFocus },
7913
7913
  e.renderMonthDropdown(i !== 0),
@@ -7927,11 +7927,11 @@ var Rm = (
7927
7927
  endYear: b
7928
7928
  };
7929
7929
  }
7930
- var y = Mo(e.state.date, e.props), D = Eo(e.state.date, e.props), N = No(e.state.date, e.props), S = To(e.state.date, e.props);
7931
- return T.createElement("div", { className: "react-datepicker__header react-datepicker__header--custom", onFocus: e.props.onDropdownFocus }, (i = (o = e.props).renderCustomHeader) === null || i === void 0 ? void 0 : i.call(o, ve(ve(ve({}, e.state), u && { visibleYearsRange: m }), { customHeaderCount: l, monthDate: s, changeMonth: e.changeMonth, changeYear: e.changeYear, decreaseMonth: e.decreaseMonth, increaseMonth: e.increaseMonth, decreaseYear: e.decreaseYear, increaseYear: e.increaseYear, prevMonthButtonDisabled: y, nextMonthButtonDisabled: D, prevYearButtonDisabled: N, nextYearButtonDisabled: S })));
7930
+ var y = Mo(e.state.date, e.props), C = Eo(e.state.date, e.props), T = No(e.state.date, e.props), S = To(e.state.date, e.props);
7931
+ return N.createElement("div", { className: "react-datepicker__header react-datepicker__header--custom", onFocus: e.props.onDropdownFocus }, (i = (o = e.props).renderCustomHeader) === null || i === void 0 ? void 0 : i.call(o, ve(ve(ve({}, e.state), u && { visibleYearsRange: m }), { customHeaderCount: l, monthDate: s, changeMonth: e.changeMonth, changeYear: e.changeYear, decreaseMonth: e.decreaseMonth, increaseMonth: e.increaseMonth, decreaseYear: e.decreaseYear, increaseYear: e.increaseYear, prevMonthButtonDisabled: y, nextMonthButtonDisabled: C, prevYearButtonDisabled: T, nextYearButtonDisabled: S })));
7932
7932
  }, e.renderYearHeader = function(r) {
7933
7933
  var o = r.monthDate, i = e.props, s = i.showYearPicker, l = i.yearItemNumber, p = l === void 0 ? a.defaultProps.yearItemNumber : l, u = Et(o, p), d = u.startPeriod, m = u.endPeriod;
7934
- return T.createElement("div", { className: "react-datepicker__header react-datepicker-year-header" }, s ? "".concat(d, " - ").concat(m) : me(o));
7934
+ return N.createElement("div", { className: "react-datepicker__header react-datepicker-year-header" }, s ? "".concat(d, " - ").concat(m) : me(o));
7935
7935
  }, e.renderHeader = function(r) {
7936
7936
  var o = r.monthDate, i = r.i, s = i === void 0 ? 0 : i, l = { monthDate: o, i: s };
7937
7937
  switch (!0) {
@@ -7947,38 +7947,38 @@ var Rm = (
7947
7947
  if (!(e.props.showTimeSelectOnly || e.props.showYearPicker)) {
7948
7948
  for (var i = [], s = (r = e.props.monthsShown) !== null && r !== void 0 ? r : a.defaultProps.monthsShown, l = e.props.showPreviousMonths ? s - 1 : 0, p = e.props.showMonthYearPicker || e.props.showQuarterYearPicker ? Nt(e.state.date, l) : Qt(e.state.date, l), u = (o = e.props.monthSelectedIn) !== null && o !== void 0 ? o : l, d = 0; d < s; ++d) {
7949
7949
  var m = d - u + l, v = e.props.showMonthYearPicker || e.props.showQuarterYearPicker ? Nt(p, m) : ft(p, m), w = "month-".concat(d), b = d < s - 1, y = d > 0;
7950
- i.push(T.createElement(
7950
+ i.push(N.createElement(
7951
7951
  "div",
7952
- { key: w, ref: function(D) {
7953
- e.monthContainer = D ?? void 0;
7952
+ { key: w, ref: function(C) {
7953
+ e.monthContainer = C ?? void 0;
7954
7954
  }, className: "react-datepicker__month-container" },
7955
7955
  e.renderHeader({ monthDate: v, i: d }),
7956
- T.createElement(Cm, ve({}, a.defaultProps, e.props, { containerRef: e.containerRef, ariaLabelPrefix: e.props.monthAriaLabelPrefix, day: v, onDayClick: e.handleDayClick, handleOnKeyDown: e.props.handleOnDayKeyDown, handleOnMonthKeyDown: e.props.handleOnKeyDown, onDayMouseEnter: e.handleDayMouseEnter, onMouseLeave: e.handleMonthMouseLeave, orderInDisplay: d, selectingDate: e.state.selectingDate, monthShowsDuplicateDaysEnd: b, monthShowsDuplicateDaysStart: y, dayNamesHeader: e.renderDayNamesHeader(v) }))
7956
+ N.createElement(Cm, ve({}, a.defaultProps, e.props, { containerRef: e.containerRef, ariaLabelPrefix: e.props.monthAriaLabelPrefix, day: v, onDayClick: e.handleDayClick, handleOnKeyDown: e.props.handleOnDayKeyDown, handleOnMonthKeyDown: e.props.handleOnKeyDown, onDayMouseEnter: e.handleDayMouseEnter, onMouseLeave: e.handleMonthMouseLeave, orderInDisplay: d, selectingDate: e.state.selectingDate, monthShowsDuplicateDaysEnd: b, monthShowsDuplicateDaysStart: y, dayNamesHeader: e.renderDayNamesHeader(v) }))
7957
7957
  ));
7958
7958
  }
7959
7959
  return i;
7960
7960
  }
7961
7961
  }, e.renderYears = function() {
7962
7962
  if (!e.props.showTimeSelectOnly && e.props.showYearPicker)
7963
- return T.createElement(
7963
+ return N.createElement(
7964
7964
  "div",
7965
7965
  { className: "react-datepicker__year--container" },
7966
7966
  e.renderHeader({ monthDate: e.state.date }),
7967
- T.createElement(Im, ve({}, a.defaultProps, e.props, { selectingDate: e.state.selectingDate, date: e.state.date, onDayClick: e.handleDayClick, clearSelectingDate: e.clearSelectingDate, onYearMouseEnter: e.handleYearMouseEnter, onYearMouseLeave: e.handleYearMouseLeave }))
7967
+ N.createElement(Im, ve({}, a.defaultProps, e.props, { selectingDate: e.state.selectingDate, date: e.state.date, onDayClick: e.handleDayClick, clearSelectingDate: e.clearSelectingDate, onYearMouseEnter: e.handleYearMouseEnter, onYearMouseLeave: e.handleYearMouseLeave }))
7968
7968
  );
7969
7969
  }, e.renderTimeSection = function() {
7970
7970
  if (e.props.showTimeSelect && (e.state.monthContainer || e.props.showTimeSelectOnly))
7971
- return T.createElement(Pm, ve({}, a.defaultProps, e.props, { onChange: e.props.onTimeChange, format: e.props.timeFormat, intervals: e.props.timeIntervals, monthRef: e.state.monthContainer }));
7971
+ return N.createElement(Pm, ve({}, a.defaultProps, e.props, { onChange: e.props.onTimeChange, format: e.props.timeFormat, intervals: e.props.timeIntervals, monthRef: e.state.monthContainer }));
7972
7972
  }, e.renderInputTimeSection = function() {
7973
7973
  var r = e.props.selected ? new Date(e.props.selected) : void 0, o = r && Tr(r) && !!e.props.selected, i = o ? "".concat(Io(r.getHours()), ":").concat(Io(r.getMinutes())) : "";
7974
7974
  if (e.props.showTimeInput)
7975
- return T.createElement(bm, ve({}, a.defaultProps, e.props, { date: r, timeString: i, onChange: e.props.onTimeChange }));
7975
+ return N.createElement(bm, ve({}, a.defaultProps, e.props, { date: r, timeString: i, onChange: e.props.onTimeChange }));
7976
7976
  }, e.renderAriaLiveRegion = function() {
7977
7977
  var r, o = Et(e.state.date, (r = e.props.yearItemNumber) !== null && r !== void 0 ? r : a.defaultProps.yearItemNumber), i = o.startPeriod, s = o.endPeriod, l;
7978
- return e.props.showYearPicker ? l = "".concat(i, " - ").concat(s) : e.props.showMonthYearPicker || e.props.showQuarterYearPicker ? l = me(e.state.date) : l = "".concat(Ha(Ue(e.state.date), e.props.locale), " ").concat(me(e.state.date)), T.createElement("span", { role: "alert", "aria-live": "polite", className: "react-datepicker__aria-live" }, e.state.isRenderAriaLiveMessage && l);
7978
+ return e.props.showYearPicker ? l = "".concat(i, " - ").concat(s) : e.props.showMonthYearPicker || e.props.showQuarterYearPicker ? l = me(e.state.date) : l = "".concat(Ha(Ue(e.state.date), e.props.locale), " ").concat(me(e.state.date)), N.createElement("span", { role: "alert", "aria-live": "polite", className: "react-datepicker__aria-live" }, e.state.isRenderAriaLiveMessage && l);
7979
7979
  }, e.renderChildren = function() {
7980
7980
  if (e.props.children)
7981
- return T.createElement("div", { className: "react-datepicker__children-container" }, e.props.children);
7981
+ return N.createElement("div", { className: "react-datepicker__children-container" }, e.props.children);
7982
7982
  }, e.containerRef = Wt(), e.state = {
7983
7983
  date: e.getDateInView(),
7984
7984
  selectingDate: void 0,
@@ -8021,13 +8021,13 @@ var Rm = (
8021
8021
  });
8022
8022
  }, a.prototype.render = function() {
8023
8023
  var t = this.props.container || Zf;
8024
- return T.createElement(
8024
+ return N.createElement(
8025
8025
  Nr,
8026
8026
  { onClickOutside: this.handleClickOutside, style: { display: "contents" }, ignoreClass: this.props.outsideClickIgnoreClass },
8027
- T.createElement(
8027
+ N.createElement(
8028
8028
  "div",
8029
8029
  { style: { display: "contents" }, ref: this.containerRef },
8030
- T.createElement(
8030
+ N.createElement(
8031
8031
  t,
8032
8032
  { className: E("react-datepicker", this.props.className, {
8033
8033
  "react-datepicker--time-only": this.props.showTimeSelectOnly
@@ -8049,20 +8049,20 @@ var Rm = (
8049
8049
  ), Bm = function(n) {
8050
8050
  var a = n.icon, t = n.className, e = t === void 0 ? "" : t, r = n.onClick, o = "react-datepicker__calendar-icon";
8051
8051
  if (typeof a == "string")
8052
- return T.createElement("i", { className: "".concat(o, " ").concat(a, " ").concat(e), "aria-hidden": "true", onClick: r });
8053
- if (T.isValidElement(a)) {
8052
+ return N.createElement("i", { className: "".concat(o, " ").concat(a, " ").concat(e), "aria-hidden": "true", onClick: r });
8053
+ if (N.isValidElement(a)) {
8054
8054
  var i = a;
8055
- return T.cloneElement(i, {
8055
+ return N.cloneElement(i, {
8056
8056
  className: "".concat(i.props.className || "", " ").concat(o, " ").concat(e),
8057
8057
  onClick: function(s) {
8058
8058
  typeof i.props.onClick == "function" && i.props.onClick(s), typeof r == "function" && r(s);
8059
8059
  }
8060
8060
  });
8061
8061
  }
8062
- return T.createElement(
8062
+ return N.createElement(
8063
8063
  "svg",
8064
8064
  { className: "".concat(o, " ").concat(e), xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", onClick: r },
8065
- T.createElement("path", { d: "M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z" })
8065
+ N.createElement("path", { d: "M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z" })
8066
8066
  );
8067
8067
  }, os = (
8068
8068
  /** @class */
@@ -8101,12 +8101,12 @@ var Rm = (
8101
8101
  }
8102
8102
  return a.prototype.render = function() {
8103
8103
  var t;
8104
- return ((t = this.props.enableTabLoop) !== null && t !== void 0 ? t : a.defaultProps.enableTabLoop) ? T.createElement(
8104
+ return ((t = this.props.enableTabLoop) !== null && t !== void 0 ? t : a.defaultProps.enableTabLoop) ? N.createElement(
8105
8105
  "div",
8106
8106
  { className: "react-datepicker__tab-loop", ref: this.tabLoopRef },
8107
- T.createElement("div", { className: "react-datepicker__tab-loop__start", tabIndex: 0, onFocus: this.handleFocusStart }),
8107
+ N.createElement("div", { className: "react-datepicker__tab-loop__start", tabIndex: 0, onFocus: this.handleFocusStart }),
8108
8108
  this.props.children,
8109
- T.createElement("div", { className: "react-datepicker__tab-loop__end", tabIndex: 0, onFocus: this.handleFocusEnd })
8109
+ N.createElement("div", { className: "react-datepicker__tab-loop__end", tabIndex: 0, onFocus: this.handleFocusEnd })
8110
8110
  ) : this.props.children;
8111
8111
  }, a.defaultProps = {
8112
8112
  enableTabLoop: !0
@@ -8120,7 +8120,7 @@ function Hm(n) {
8120
8120
  Lf(10),
8121
8121
  Af({ element: o })
8122
8122
  ], (e = t.popperModifiers) !== null && e !== void 0 ? e : [], !0) }, t.popperProps)), s = ve(ve({}, t), { hidePopper: r, popperProps: ve(ve({}, i), { arrowRef: o }) });
8123
- return T.createElement(n, ve({}, s));
8123
+ return N.createElement(n, ve({}, s));
8124
8124
  }
8125
8125
  return a.displayName = "withFloating(".concat(n.displayName || n.name || "Component", ")"), a;
8126
8126
  }
@@ -8128,23 +8128,23 @@ var zm = function(n) {
8128
8128
  var a = n.className, t = n.wrapperClassName, e = n.hidePopper, r = e === void 0 ? !0 : e, o = n.popperComponent, i = n.targetComponent, s = n.enableTabLoop, l = n.popperOnKeyDown, p = n.portalId, u = n.portalHost, d = n.popperProps, m = n.showArrow, v = void 0;
8129
8129
  if (!r) {
8130
8130
  var w = E("react-datepicker-popper", a);
8131
- v = T.createElement(
8131
+ v = N.createElement(
8132
8132
  is,
8133
8133
  { enableTabLoop: s },
8134
- T.createElement(
8134
+ N.createElement(
8135
8135
  "div",
8136
8136
  { ref: d.refs.setFloating, style: d.floatingStyles, className: w, "data-placement": d.placement, onKeyDown: l },
8137
8137
  o,
8138
- m && T.createElement(qf, { ref: d.arrowRef, context: d.context, fill: "currentColor", strokeWidth: 1, height: 8, width: 16, style: { transform: "translateY(-1px)" }, className: "react-datepicker__triangle" })
8138
+ m && N.createElement(qf, { ref: d.arrowRef, context: d.context, fill: "currentColor", strokeWidth: 1, height: 8, width: 16, style: { transform: "translateY(-1px)" }, className: "react-datepicker__triangle" })
8139
8139
  )
8140
8140
  );
8141
8141
  }
8142
- n.popperContainer && (v = Ps(n.popperContainer, {}, v)), p && !r && (v = T.createElement(os, { portalId: p, portalHost: u }, v));
8142
+ n.popperContainer && (v = Ps(n.popperContainer, {}, v)), p && !r && (v = N.createElement(os, { portalId: p, portalHost: u }, v));
8143
8143
  var b = E("react-datepicker-wrapper", t);
8144
- return T.createElement(
8145
- T.Fragment,
8144
+ return N.createElement(
8145
+ N.Fragment,
8146
8146
  null,
8147
- T.createElement("div", { ref: d.refs.setReference, className: b }, i),
8147
+ N.createElement("div", { ref: d.refs.setReference, className: b }, i),
8148
8148
  v
8149
8149
  );
8150
8150
  }, qm = Hm(zm);
@@ -8265,17 +8265,17 @@ var Qr = "Date input not valid.", Um = (
8265
8265
  inputValue: (d == null ? void 0 : d.target) instanceof HTMLInputElement ? d.target.value : null,
8266
8266
  lastPreSelectChange: $m
8267
8267
  });
8268
- var m = e.props, v = m.selectsRange, w = m.startDate, b = m.endDate, y = (r = e.props.dateFormat) !== null && r !== void 0 ? r : a.defaultProps.dateFormat, D = (o = e.props.strictParsing) !== null && o !== void 0 ? o : a.defaultProps.strictParsing, N = (d == null ? void 0 : d.target) instanceof HTMLInputElement ? d.target.value : "";
8268
+ var m = e.props, v = m.selectsRange, w = m.startDate, b = m.endDate, y = (r = e.props.dateFormat) !== null && r !== void 0 ? r : a.defaultProps.dateFormat, C = (o = e.props.strictParsing) !== null && o !== void 0 ? o : a.defaultProps.strictParsing, T = (d == null ? void 0 : d.target) instanceof HTMLInputElement ? d.target.value : "";
8269
8269
  if (v) {
8270
- var S = e.props.rangeSeparator, C = S.trim(), x = N.split(y.includes(C) ? S : C, 2).map(function(K) {
8270
+ var S = e.props.rangeSeparator, D = S.trim(), x = T.split(y.includes(D) ? S : D, 2).map(function(K) {
8271
8271
  return K.trim();
8272
- }), A = x[0], j = x[1], P = qr(A ?? "", y, e.props.locale, D), L = P ? qr(j ?? "", y, e.props.locale, D) : null, G = (w == null ? void 0 : w.getTime()) !== (P == null ? void 0 : P.getTime()), ce = (b == null ? void 0 : b.getTime()) !== (L == null ? void 0 : L.getTime());
8272
+ }), A = x[0], Y = x[1], P = qr(A ?? "", y, e.props.locale, C), L = P ? qr(Y ?? "", y, e.props.locale, C) : null, G = (w == null ? void 0 : w.getTime()) !== (P == null ? void 0 : P.getTime()), ce = (b == null ? void 0 : b.getTime()) !== (L == null ? void 0 : L.getTime());
8273
8273
  if (!G && !ce || P && it(P, e.props) || L && it(L, e.props))
8274
8274
  return;
8275
8275
  (s = (i = e.props).onChange) === null || s === void 0 || s.call(i, [P, L], d);
8276
8276
  } else {
8277
- var ne = qr(N, y, e.props.locale, D, (l = e.props.selected) !== null && l !== void 0 ? l : void 0);
8278
- (ne || !N) && e.setSelected(ne, d, !0);
8277
+ var ne = qr(T, y, e.props.locale, C, (l = e.props.selected) !== null && l !== void 0 ? l : void 0);
8278
+ (ne || !T) && e.setSelected(ne, d, !0);
8279
8279
  }
8280
8280
  }
8281
8281
  }, e.handleSelect = function(r, o, i) {
@@ -8293,36 +8293,36 @@ var Qr = "Date input not valid.", Um = (
8293
8293
  return;
8294
8294
  } else if (u !== null && it(u, e.props))
8295
8295
  return;
8296
- var d = e.props, m = d.onChange, v = d.selectsRange, w = d.startDate, b = d.endDate, y = d.selectsMultiple, D = d.selectedDates, N = d.minTime, S = d.swapRange;
8296
+ var d = e.props, m = d.onChange, v = d.selectsRange, w = d.startDate, b = d.endDate, y = d.selectsMultiple, C = d.selectedDates, T = d.minTime, S = d.swapRange;
8297
8297
  if (!Ut(e.props.selected, u) || e.props.allowSameDay || v || y)
8298
8298
  if (u !== null && (e.props.selected && (!i || !e.props.showTimeSelect && !e.props.showTimeSelectOnly && !e.props.showTimeInput) && (u = Vr(u, {
8299
8299
  hour: Pt(e.props.selected),
8300
8300
  minute: It(e.props.selected),
8301
8301
  second: Ft(e.props.selected)
8302
- })), !i && (e.props.showTimeSelect || e.props.showTimeSelectOnly) && N && (u = Vr(u, {
8303
- hour: N.getHours(),
8304
- minute: N.getMinutes(),
8305
- second: N.getSeconds()
8302
+ })), !i && (e.props.showTimeSelect || e.props.showTimeSelectOnly) && T && (u = Vr(u, {
8303
+ hour: T.getHours(),
8304
+ minute: T.getMinutes(),
8305
+ second: T.getSeconds()
8306
8306
  })), e.props.inline || e.setState({
8307
8307
  preSelection: u
8308
8308
  }), e.props.focusSelectedMonth || e.setState({ monthSelectedIn: s })), v) {
8309
- var C = !w && !b, x = w && !b, A = !w && !!b, j = w && b;
8310
- C ? m == null || m([u, null], o) : x ? u === null ? m == null || m([null, null], o) : Ur(u, w) ? S ? m == null || m([u, w], o) : m == null || m([u, null], o) : m == null || m([w, u], o) : A && (u && Ur(u, b) ? m == null || m([u, b], o) : m == null || m([u, null], o)), j && (m == null || m([u, null], o));
8309
+ var D = !w && !b, x = w && !b, A = !w && !!b, Y = w && b;
8310
+ D ? m == null || m([u, null], o) : x ? u === null ? m == null || m([null, null], o) : Ur(u, w) ? S ? m == null || m([u, w], o) : m == null || m([u, null], o) : m == null || m([w, u], o) : A && (u && Ur(u, b) ? m == null || m([u, b], o) : m == null || m([u, null], o)), Y && (m == null || m([u, null], o));
8311
8311
  } else if (y) {
8312
8312
  if (u !== null)
8313
- if (!(D != null && D.length))
8313
+ if (!(C != null && C.length))
8314
8314
  m == null || m([u], o);
8315
8315
  else {
8316
- var P = D.some(function(G) {
8316
+ var P = C.some(function(G) {
8317
8317
  return he(G, u);
8318
8318
  });
8319
8319
  if (P) {
8320
- var L = D.filter(function(G) {
8320
+ var L = C.filter(function(G) {
8321
8321
  return !he(G, u);
8322
8322
  });
8323
8323
  m == null || m(L, o);
8324
8324
  } else
8325
- m == null || m(xt(xt([], D, !0), [u], !1), o);
8325
+ m == null || m(xt(xt([], C, !0), [u], !1), o);
8326
8326
  }
8327
8327
  } else
8328
8328
  m == null || m(u, o);
@@ -8390,9 +8390,9 @@ var Qr = "Date input not valid.", Um = (
8390
8390
  });
8391
8391
  }));
8392
8392
  }, e.onDayKeyDown = function(r) {
8393
- var o, i, s, l, p, u, d = e.props, m = d.minDate, v = d.maxDate, w = d.disabledKeyboardNavigation, b = d.showWeekPicker, y = d.shouldCloseOnSelect, D = d.locale, N = d.calendarStartDay, S = d.adjustDateOnChange, C = d.inline;
8393
+ var o, i, s, l, p, u, d = e.props, m = d.minDate, v = d.maxDate, w = d.disabledKeyboardNavigation, b = d.showWeekPicker, y = d.shouldCloseOnSelect, C = d.locale, T = d.calendarStartDay, S = d.adjustDateOnChange, D = d.inline;
8394
8394
  if ((i = (o = e.props).onKeyDown) === null || i === void 0 || i.call(o, r), !w) {
8395
- var x = r.key, A = r.shiftKey, j = xe(e.state.preSelection), P = function(W, z) {
8395
+ var x = r.key, A = r.shiftKey, Y = xe(e.state.preSelection), P = function(W, z) {
8396
8396
  var $ = z;
8397
8397
  switch (W) {
8398
8398
  case ee.ArrowRight:
@@ -8414,7 +8414,7 @@ var Qr = "Date input not valid.", Um = (
8414
8414
  $ = A ? Nt(z, 1) : ft(z, 1);
8415
8415
  break;
8416
8416
  case ee.Home:
8417
- $ = At(z, D, N);
8417
+ $ = At(z, C, T);
8418
8418
  break;
8419
8419
  case ee.End:
8420
8420
  $ = am(z);
@@ -8432,7 +8432,7 @@ var Qr = "Date input not valid.", Um = (
8432
8432
  return g;
8433
8433
  };
8434
8434
  if (x === ee.Enter) {
8435
- r.preventDefault(), e.handleSelect(j, r), !y && e.setPreSelection(j);
8435
+ r.preventDefault(), e.handleSelect(Y, r), !y && e.setPreSelection(Y);
8436
8436
  return;
8437
8437
  } else if (x === ee.Escape) {
8438
8438
  r.preventDefault(), e.setOpen(!1), e.inputOk() || (l = (s = e.props).onInputError) === null || l === void 0 || l.call(s, { code: 1, msg: Qr });
@@ -8448,15 +8448,15 @@ var Qr = "Date input not valid.", Um = (
8448
8448
  case ee.PageDown:
8449
8449
  case ee.Home:
8450
8450
  case ee.End:
8451
- G = L(x, j);
8451
+ G = L(x, Y);
8452
8452
  break;
8453
8453
  }
8454
8454
  if (!G) {
8455
8455
  (u = (p = e.props).onInputError) === null || u === void 0 || u.call(p, { code: 1, msg: Qr });
8456
8456
  return;
8457
8457
  }
8458
- if (r.preventDefault(), e.setState({ lastPreSelectChange: Gr }), S && e.setSelected(G), e.setPreSelection(G), C) {
8459
- var ce = Ue(j), ne = Ue(G), K = me(j), te = me(G);
8458
+ if (r.preventDefault(), e.setState({ lastPreSelectChange: Gr }), S && e.setSelected(G), e.setPreSelection(G), D) {
8459
+ var ce = Ue(Y), ne = Ue(G), K = me(Y), te = me(G);
8460
8460
  ce !== ne || K !== te ? e.setState({ shouldFocusDayInline: !0 }) : e.setState({ shouldFocusDayInline: !1 });
8461
8461
  }
8462
8462
  }
@@ -8473,7 +8473,7 @@ var Qr = "Date input not valid.", Um = (
8473
8473
  typeof e.props.closeOnScroll == "boolean" && e.props.closeOnScroll ? (r.target === document || r.target === document.documentElement || r.target === document.body) && e.setOpen(!1) : typeof e.props.closeOnScroll == "function" && e.props.closeOnScroll(r) && e.setOpen(!1);
8474
8474
  }, e.renderCalendar = function() {
8475
8475
  var r, o;
8476
- return !e.props.inline && !e.isCalendarOpen() ? null : T.createElement(Wm, ve({ showMonthYearDropdown: void 0, ref: function(i) {
8476
+ return !e.props.inline && !e.isCalendarOpen() ? null : N.createElement(Wm, ve({ showMonthYearDropdown: void 0, ref: function(i) {
8477
8477
  e.calendar = i;
8478
8478
  } }, e.props, e.state, { setOpen: e.setOpen, dateFormat: (r = e.props.dateFormatCalendar) !== null && r !== void 0 ? r : a.defaultProps.dateFormatCalendar, onSelect: e.handleSelect, onClickOutside: e.handleCalendarClickOutside, holidays: vm(e.modifyHolidays()), outsideClickIgnoreClass: e.props.outsideClickIgnoreClass, onDropdownFocus: e.handleDropdownFocus, onTimeChange: e.handleTimeChange, className: e.props.calendarClassName, container: e.props.calendarContainer, handleOnKeyDown: e.props.onKeyDown, handleOnDayKeyDown: e.onDayKeyDown, setPreSelection: e.setPreSelection, dropdownMode: (o = e.props.dropdownMode) !== null && o !== void 0 ? o : a.defaultProps.dropdownMode }), e.props.children);
8479
8479
  }, e.renderAriaLiveRegion = function() {
@@ -8490,15 +8490,15 @@ var Qr = "Date input not valid.", Um = (
8490
8490
  })) : p = "Selected date: ".concat(at(e.props.selected, {
8491
8491
  dateFormat: l,
8492
8492
  locale: o
8493
- })), T.createElement("span", { role: "alert", "aria-live": "polite", className: "react-datepicker__aria-live" }, p);
8493
+ })), N.createElement("span", { role: "alert", "aria-live": "polite", className: "react-datepicker__aria-live" }, p);
8494
8494
  }, e.renderDateInput = function() {
8495
- var r, o, i = E(e.props.className, (r = {}, r[e.props.outsideClickIgnoreClass || a.defaultProps.outsideClickIgnoreClass] = e.state.open, r)), s = e.props.customInput || T.createElement("input", { type: "text" }), l = e.props.customInputRef || "ref";
8495
+ var r, o, i = E(e.props.className, (r = {}, r[e.props.outsideClickIgnoreClass || a.defaultProps.outsideClickIgnoreClass] = e.state.open, r)), s = e.props.customInput || N.createElement("input", { type: "text" }), l = e.props.customInputRef || "ref";
8496
8496
  return mi(s, (o = {}, o[l] = function(p) {
8497
8497
  e.input = p;
8498
8498
  }, o.value = e.getInputValue(), o.onBlur = e.handleBlur, o.onChange = e.handleChange, o.onClick = e.onInputClick, o.onFocus = e.handleFocus, o.onKeyDown = e.onInputKeyDown, o.id = e.props.id, o.name = e.props.name, o.form = e.props.form, o.autoFocus = e.props.autoFocus, o.placeholder = e.props.placeholderText, o.disabled = e.props.disabled, o.autoComplete = e.props.autoComplete, o.className = E(s.props.className, i), o.title = e.props.title, o.readOnly = e.props.readOnly, o.required = e.props.required, o.tabIndex = e.props.tabIndex, o["aria-describedby"] = e.props.ariaDescribedBy, o["aria-invalid"] = e.props.ariaInvalid, o["aria-labelledby"] = e.props.ariaLabelledBy, o["aria-required"] = e.props.ariaRequired, o));
8499
8499
  }, e.renderClearButton = function() {
8500
8500
  var r = e.props, o = r.isClearable, i = r.disabled, s = r.selected, l = r.startDate, p = r.endDate, u = r.clearButtonTitle, d = r.clearButtonClassName, m = d === void 0 ? "" : d, v = r.ariaLabelClose, w = v === void 0 ? "Close" : v, b = r.selectedDates, y = r.readOnly;
8501
- return o && !y && (s != null || l != null || p != null || b != null && b.length) ? T.createElement("button", { type: "button", className: E("react-datepicker__close-icon", m, { "react-datepicker__close-icon--disabled": i }), disabled: i, "aria-label": w, onClick: e.onClearClick, title: u, tabIndex: -1 }) : null;
8501
+ return o && !y && (s != null || l != null || p != null || b != null && b.length) ? N.createElement("button", { type: "button", className: E("react-datepicker__close-icon", m, { "react-datepicker__close-icon--disabled": i }), disabled: i, "aria-label": w, onClick: e.onClearClick, title: u, tabIndex: -1 }) : null;
8502
8502
  }, e.state = e.calcInitialState(), e.preventFocusTimeout = void 0, e;
8503
8503
  }
8504
8504
  return Object.defineProperty(a, "defaultProps", {
@@ -8565,10 +8565,10 @@ var Qr = "Date input not valid.", Um = (
8565
8565
  this.clearPreventFocusTimeout(), window.removeEventListener("scroll", this.onScroll, !0), document.removeEventListener("visibilitychange", this.setHiddenStateOnVisibilityHidden);
8566
8566
  }, a.prototype.renderInputContainer = function() {
8567
8567
  var t = this.props, e = t.showIcon, r = t.icon, o = t.calendarIconClassname, i = t.calendarIconClassName, s = t.toggleCalendarOnIconClick, l = this.state.open;
8568
- return o && console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."), T.createElement(
8568
+ return o && console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."), N.createElement(
8569
8569
  "div",
8570
8570
  { className: "react-datepicker__input-container".concat(e ? " react-datepicker__view-calendar-icon" : "") },
8571
- e && T.createElement(Bm, ve({ icon: r, className: E(i, !i && o, l && "react-datepicker-ignore-onclickoutside") }, s ? {
8571
+ e && N.createElement(Bm, ve({ icon: r, className: E(i, !i && o, l && "react-datepicker-ignore-onclickoutside") }, s ? {
8572
8572
  onClick: this.toggleCalendar
8573
8573
  } : null)),
8574
8574
  this.state.isRenderAriaLiveMessage && this.renderAriaLiveRegion(),
@@ -8580,19 +8580,19 @@ var Qr = "Date input not valid.", Um = (
8580
8580
  if (this.props.inline)
8581
8581
  return t;
8582
8582
  if (this.props.withPortal) {
8583
- var e = this.state.open ? T.createElement(
8583
+ var e = this.state.open ? N.createElement(
8584
8584
  is,
8585
8585
  { enableTabLoop: this.props.enableTabLoop },
8586
- T.createElement("div", { className: "react-datepicker__portal", tabIndex: -1, onKeyDown: this.onPortalKeyDown }, t)
8586
+ N.createElement("div", { className: "react-datepicker__portal", tabIndex: -1, onKeyDown: this.onPortalKeyDown }, t)
8587
8587
  ) : null;
8588
- return this.state.open && this.props.portalId && (e = T.createElement(os, ve({ portalId: this.props.portalId }, this.props), e)), T.createElement(
8588
+ return this.state.open && this.props.portalId && (e = N.createElement(os, ve({ portalId: this.props.portalId }, this.props), e)), N.createElement(
8589
8589
  "div",
8590
8590
  null,
8591
8591
  this.renderInputContainer(),
8592
8592
  e
8593
8593
  );
8594
8594
  }
8595
- return T.createElement(qm, ve({}, this.props, { className: this.props.popperClassName, hidePopper: !this.isCalendarOpen(), targetComponent: this.renderInputContainer(), popperComponent: t, popperOnKeyDown: this.onPopperKeyDown, showArrow: this.props.showPopperArrow }));
8595
+ return N.createElement(qm, ve({}, this.props, { className: this.props.popperClassName, hidePopper: !this.isCalendarOpen(), targetComponent: this.renderInputContainer(), popperComponent: t, popperOnKeyDown: this.onPopperKeyDown, showArrow: this.props.showPopperArrow }));
8596
8596
  }, a;
8597
8597
  }(He)
8598
8598
  ), $m = "input", Gr = "navigate";
@@ -8606,7 +8606,7 @@ function Qm() {
8606
8606
  function n(h) {
8607
8607
  return h && typeof h == "object" && "default" in h ? h.default : h;
8608
8608
  }
8609
- var a = n(T), t = gr;
8609
+ var a = n(N), t = gr;
8610
8610
  function e(h, f) {
8611
8611
  for (var g = Object.getOwnPropertyNames(f), _ = 0; _ < g.length; _++) {
8612
8612
  var c = g[_], k = Object.getOwnPropertyDescriptor(f, c);
@@ -8684,12 +8684,12 @@ function Qm() {
8684
8684
  var k = c[_[f]];
8685
8685
  return new RegExp(k).test(g);
8686
8686
  }
8687
- function D(h, f) {
8687
+ function C(h, f) {
8688
8688
  return f.split("").every(function(g, _) {
8689
8689
  return b(h, _) || !y(h, _, g);
8690
8690
  });
8691
8691
  }
8692
- function N(h, f) {
8692
+ function T(h, f) {
8693
8693
  var g = h.maskChar, _ = h.prefix;
8694
8694
  if (!g) {
8695
8695
  for (; f.length > _.length && b(h, f.length - 1); ) f = f.slice(0, f.length - 1);
@@ -8705,38 +8705,38 @@ function Qm() {
8705
8705
  return c;
8706
8706
  }
8707
8707
  function S(h, f) {
8708
- return N(h, f) === h.mask.length;
8708
+ return T(h, f) === h.mask.length;
8709
8709
  }
8710
- function C(h, f) {
8710
+ function D(h, f) {
8711
8711
  var g = h.maskChar, _ = h.mask, c = h.prefix;
8712
8712
  if (!g) {
8713
8713
  for ((f = A(h, "", f, 0)).length < c.length && (f = c); f.length < _.length && b(h, f.length); ) f += _[f.length];
8714
8714
  return f;
8715
8715
  }
8716
- if (f) return A(h, C(h, ""), f, 0);
8716
+ if (f) return A(h, D(h, ""), f, 0);
8717
8717
  for (var k = 0; k < _.length; k++) b(h, k) ? f += _[k] : f += g;
8718
8718
  return f;
8719
8719
  }
8720
8720
  function x(h, f, g, _) {
8721
8721
  var c = g + _, k = h.maskChar, B = h.mask, V = h.prefix, O = f.split("");
8722
- if (k) return O.map(function(q, Y) {
8723
- return Y < g || c <= Y ? q : b(h, Y) ? B[Y] : k;
8722
+ if (k) return O.map(function(q, j) {
8723
+ return j < g || c <= j ? q : b(h, j) ? B[j] : k;
8724
8724
  }).join("");
8725
8725
  for (var H = c; H < O.length; H++) b(h, H) && (O[H] = "");
8726
- return g = Math.max(V.length, g), O.splice(g, c - g), f = O.join(""), C(h, f);
8726
+ return g = Math.max(V.length, g), O.splice(g, c - g), f = O.join(""), D(h, f);
8727
8727
  }
8728
8728
  function A(h, f, g, _) {
8729
8729
  var c = h.mask, k = h.maskChar, B = h.prefix, V = g.split(""), O = S(h, f);
8730
8730
  return !k && _ > f.length && (f += c.slice(f.length, _)), V.every(function(H) {
8731
8731
  for (; F = H, b(h, U = _) && F !== c[U]; ) {
8732
- if (_ >= f.length && (f += c[_]), q = H, Y = _, k && b(h, Y) && q === k) return !0;
8732
+ if (_ >= f.length && (f += c[_]), q = H, j = _, k && b(h, j) && q === k) return !0;
8733
8733
  if (++_ >= c.length) return !1;
8734
8734
  }
8735
- var q, Y, U, F;
8736
- return !y(h, _, H) && H !== k || (_ < f.length ? f = k || O || _ < B.length ? f.slice(0, _) + H + f.slice(_ + 1) : (f = f.slice(0, _) + H + f.slice(_), C(h, f)) : k || (f += H), ++_ < c.length);
8735
+ var q, j, U, F;
8736
+ return !y(h, _, H) && H !== k || (_ < f.length ? f = k || O || _ < B.length ? f.slice(0, _) + H + f.slice(_ + 1) : (f = f.slice(0, _) + H + f.slice(_), D(h, f)) : k || (f += H), ++_ < c.length);
8737
8737
  }), f;
8738
8738
  }
8739
- function j(h, f, g, _) {
8739
+ function Y(h, f, g, _) {
8740
8740
  var c = h.mask, k = h.maskChar, B = g.split(""), V = _;
8741
8741
  return B.every(function(O) {
8742
8742
  for (; q = O, b(h, H = _) && q !== c[H]; ) if (++_ >= c.length) return !1;
@@ -8756,8 +8756,8 @@ function Qm() {
8756
8756
  return h || h === 0 ? h + "" : "";
8757
8757
  }
8758
8758
  function ce(h, f, g, _, c) {
8759
- var k = h.mask, B = h.prefix, V = h.lastEditablePosition, O = f, H = "", q = 0, Y = 0, U = Math.min(c.start, g.start);
8760
- return g.end > c.start ? Y = (q = j(h, _, H = O.slice(c.start, g.end), U)) ? c.length : 0 : O.length < _.length && (Y = _.length - O.length), O = _, Y && (Y === 1 && !c.length && (U = c.start === g.start ? L(h, g.start) : P(h, g.start)), O = x(h, O, U, Y)), O = A(h, O, H, U), (U += q) >= k.length ? U = k.length : U < B.length && !q ? U = B.length : U >= B.length && U < V && q && (U = L(h, U)), H || (H = null), { value: O = C(h, O), enteredString: H, selection: { start: U, end: U } };
8759
+ var k = h.mask, B = h.prefix, V = h.lastEditablePosition, O = f, H = "", q = 0, j = 0, U = Math.min(c.start, g.start);
8760
+ return g.end > c.start ? j = (q = Y(h, _, H = O.slice(c.start, g.end), U)) ? c.length : 0 : O.length < _.length && (j = _.length - O.length), O = _, j && (j === 1 && !c.length && (U = c.start === g.start ? L(h, g.start) : P(h, g.start)), O = x(h, O, U, j)), O = A(h, O, H, U), (U += q) >= k.length ? U = k.length : U < B.length && !q ? U = B.length : U >= B.length && U < V && q && (U = L(h, U)), H || (H = null), { value: O = D(h, O), enteredString: H, selection: { start: U, end: U } };
8761
8761
  }
8762
8762
  function ne() {
8763
8763
  var h = new RegExp("windows", "i"), f = new RegExp("phone", "i"), g = navigator.userAgent;
@@ -8802,13 +8802,13 @@ function Qm() {
8802
8802
  var I = c.getInputDOMNode();
8803
8803
  I && (c.value = Q, I.value = Q);
8804
8804
  }, c.setCursorToEnd = function() {
8805
- var Q = N(c.maskOptions, c.value), I = L(c.maskOptions, Q);
8805
+ var Q = T(c.maskOptions, c.value), I = L(c.maskOptions, Q);
8806
8806
  I !== null && c.setCursorPosition(I);
8807
8807
  }, c.setSelection = function(Q, I, J) {
8808
8808
  J === void 0 && (J = {});
8809
- var ie = c.getInputDOMNode(), ae = c.isFocused();
8810
- ie && ae && (J.deferred || u(ie, Q, I), c.selectionDeferId !== null && $(c.selectionDeferId), c.selectionDeferId = z(function() {
8811
- c.selectionDeferId = null, u(ie, Q, I);
8809
+ var le = c.getInputDOMNode(), ae = c.isFocused();
8810
+ le && ae && (J.deferred || u(le, Q, I), c.selectionDeferId !== null && $(c.selectionDeferId), c.selectionDeferId = z(function() {
8811
+ c.selectionDeferId = null, u(le, Q, I);
8812
8812
  }), c.previousSelection = { start: Q, end: I, length: Math.abs(I - Q) });
8813
8813
  }, c.getSelection = function() {
8814
8814
  return d(c.getInputDOMNode());
@@ -8819,30 +8819,30 @@ function Qm() {
8819
8819
  }, c.isFocused = function() {
8820
8820
  return c.focused;
8821
8821
  }, c.getBeforeMaskedValueChangeConfig = function() {
8822
- var Q = c.maskOptions, I = Q.mask, J = Q.maskChar, ie = Q.permanents, ae = Q.formatChars;
8823
- return { mask: I, maskChar: J, permanents: ie, alwaysShowMask: !!c.props.alwaysShowMask, formatChars: ae };
8824
- }, c.isInputAutofilled = function(Q, I, J, ie) {
8822
+ var Q = c.maskOptions, I = Q.mask, J = Q.maskChar, le = Q.permanents, ae = Q.formatChars;
8823
+ return { mask: I, maskChar: J, permanents: le, alwaysShowMask: !!c.props.alwaysShowMask, formatChars: ae };
8824
+ }, c.isInputAutofilled = function(Q, I, J, le) {
8825
8825
  var ae = c.getInputDOMNode();
8826
8826
  try {
8827
8827
  if (ae.matches(":-webkit-autofill")) return !0;
8828
8828
  } catch {
8829
8829
  }
8830
- return !c.focused || ie.end < J.length && I.end === Q.length;
8830
+ return !c.focused || le.end < J.length && I.end === Q.length;
8831
8831
  }, c.onChange = function(Q) {
8832
- var I = s(s(c)).beforePasteState, J = s(s(c)).previousSelection, ie = c.props.beforeMaskedValueChange, ae = c.getInputValue(), de = c.value, fe = c.getSelection();
8833
- c.isInputAutofilled(ae, fe, de, J) && (de = C(c.maskOptions, ""), J = { start: 0, end: 0, length: 0 }), I && (J = I.selection, de = I.value, fe = { start: J.start + ae.length, end: J.start + ae.length, length: 0 }, ae = de.slice(0, J.start) + ae + de.slice(J.end), c.beforePasteState = null);
8832
+ var I = s(s(c)).beforePasteState, J = s(s(c)).previousSelection, le = c.props.beforeMaskedValueChange, ae = c.getInputValue(), de = c.value, fe = c.getSelection();
8833
+ c.isInputAutofilled(ae, fe, de, J) && (de = D(c.maskOptions, ""), J = { start: 0, end: 0, length: 0 }), I && (J = I.selection, de = I.value, fe = { start: J.start + ae.length, end: J.start + ae.length, length: 0 }, ae = de.slice(0, J.start) + ae + de.slice(J.end), c.beforePasteState = null);
8834
8834
  var _e = ce(c.maskOptions, ae, fe, de, J), Ae = _e.enteredString, Le = _e.selection, Ye = _e.value;
8835
- if (K(ie)) {
8836
- var Z = ie({ value: Ye, selection: Le }, { value: de, selection: J }, Ae, c.getBeforeMaskedValueChangeConfig());
8835
+ if (K(le)) {
8836
+ var Z = le({ value: Ye, selection: Le }, { value: de, selection: J }, Ae, c.getBeforeMaskedValueChangeConfig());
8837
8837
  Ye = Z.value, Le = Z.selection;
8838
8838
  }
8839
8839
  c.setInputValue(Ye), K(c.props.onChange) && c.props.onChange(Q), c.isWindowsPhoneBrowser ? c.setSelection(Le.start, Le.end, { deferred: !0 }) : c.setSelection(Le.start, Le.end);
8840
8840
  }, c.onFocus = function(Q) {
8841
- var I = c.props.beforeMaskedValueChange, J = c.maskOptions, ie = J.mask, ae = J.prefix;
8842
- if (c.focused = !0, c.mounted = !0, ie) {
8843
- if (c.value) N(c.maskOptions, c.value) < c.maskOptions.mask.length && c.setCursorToEnd();
8841
+ var I = c.props.beforeMaskedValueChange, J = c.maskOptions, le = J.mask, ae = J.prefix;
8842
+ if (c.focused = !0, c.mounted = !0, le) {
8843
+ if (c.value) T(c.maskOptions, c.value) < c.maskOptions.mask.length && c.setCursorToEnd();
8844
8844
  else {
8845
- var de = C(c.maskOptions, ae), fe = C(c.maskOptions, de), _e = N(c.maskOptions, fe), Ae = L(c.maskOptions, _e), Le = { start: Ae, end: Ae };
8845
+ var de = D(c.maskOptions, ae), fe = D(c.maskOptions, de), _e = T(c.maskOptions, fe), Ae = L(c.maskOptions, _e), Le = { start: Ae, end: Ae };
8846
8846
  if (K(I)) {
8847
8847
  var Ye = I({ value: fe, selection: Le }, { value: c.value, selection: null }, null, c.getBeforeMaskedValueChangeConfig());
8848
8848
  fe = Ye.value, Le = Ye.selection;
@@ -8855,19 +8855,19 @@ function Qm() {
8855
8855
  K(c.props.onFocus) && c.props.onFocus(Q);
8856
8856
  }, c.onBlur = function(Q) {
8857
8857
  var I = c.props.beforeMaskedValueChange, J = c.maskOptions.mask;
8858
- if (c.stopSaveSelectionLoop(), c.focused = !1, J && !c.props.alwaysShowMask && D(c.maskOptions, c.value)) {
8859
- var ie = "";
8860
- K(I) && (ie = I({ value: ie, selection: null }, { value: c.value, selection: c.previousSelection }, null, c.getBeforeMaskedValueChangeConfig()).value);
8861
- var ae = ie !== c.getInputValue();
8862
- ae && c.setInputValue(ie), ae && K(c.props.onChange) && c.props.onChange(Q);
8858
+ if (c.stopSaveSelectionLoop(), c.focused = !1, J && !c.props.alwaysShowMask && C(c.maskOptions, c.value)) {
8859
+ var le = "";
8860
+ K(I) && (le = I({ value: le, selection: null }, { value: c.value, selection: c.previousSelection }, null, c.getBeforeMaskedValueChangeConfig()).value);
8861
+ var ae = le !== c.getInputValue();
8862
+ ae && c.setInputValue(le), ae && K(c.props.onChange) && c.props.onChange(Q);
8863
8863
  }
8864
8864
  K(c.props.onBlur) && c.props.onBlur(Q);
8865
8865
  }, c.onMouseDown = function(Q) {
8866
8866
  if (!c.focused && document.addEventListener) {
8867
8867
  c.mouseDownX = Q.clientX, c.mouseDownY = Q.clientY, c.mouseDownTime = (/* @__PURE__ */ new Date()).getTime();
8868
- var I = function J(ie) {
8868
+ var I = function J(le) {
8869
8869
  if (document.removeEventListener("mouseup", J), c.focused) {
8870
- var ae = Math.abs(ie.clientX - c.mouseDownX), de = Math.abs(ie.clientY - c.mouseDownY), fe = Math.max(ae, de), _e = (/* @__PURE__ */ new Date()).getTime() - c.mouseDownTime;
8870
+ var ae = Math.abs(le.clientX - c.mouseDownX), de = Math.abs(le.clientY - c.mouseDownY), fe = Math.max(ae, de), _e = (/* @__PURE__ */ new Date()).getTime() - c.mouseDownTime;
8871
8871
  (fe <= 10 && _e <= 200 || fe <= 5 && _e <= 300) && c.setCursorToEnd();
8872
8872
  }
8873
8873
  };
@@ -8879,10 +8879,10 @@ function Qm() {
8879
8879
  }, c.handleRef = function(Q) {
8880
8880
  c.props.children == null && K(c.props.inputRef) && c.props.inputRef(Q);
8881
8881
  };
8882
- var k = _.mask, B = _.maskChar, V = _.formatChars, O = _.alwaysShowMask, H = _.beforeMaskedValueChange, q = _.defaultValue, Y = _.value;
8883
- c.maskOptions = w(k, B, V), q == null && (q = ""), Y == null && (Y = q);
8884
- var U = G(Y);
8885
- if (c.maskOptions.mask && (O || U) && (U = C(c.maskOptions, U), K(H))) {
8882
+ var k = _.mask, B = _.maskChar, V = _.formatChars, O = _.alwaysShowMask, H = _.beforeMaskedValueChange, q = _.defaultValue, j = _.value;
8883
+ c.maskOptions = w(k, B, V), q == null && (q = ""), j == null && (j = q);
8884
+ var U = G(j);
8885
+ if (c.maskOptions.mask && (O || U) && (U = D(c.maskOptions, U), K(H))) {
8886
8886
  var F = _.value;
8887
8887
  _.value == null && (F = q), U = H({ value: U, selection: null }, { value: F = G(F), selection: null }, null, c.getBeforeMaskedValueChangeConfig()).value;
8888
8888
  }
@@ -8893,25 +8893,25 @@ function Qm() {
8893
8893
  return g.componentDidMount = function() {
8894
8894
  this.mounted = !0, this.getInputDOMNode() && (this.isWindowsPhoneBrowser = ne(), this.maskOptions.mask && this.getInputValue() !== this.value && this.setInputValue(this.value));
8895
8895
  }, g.componentDidUpdate = function() {
8896
- var _ = this.previousSelection, c = this.props, k = c.beforeMaskedValueChange, B = c.alwaysShowMask, V = c.mask, O = c.maskChar, H = c.formatChars, q = this.maskOptions, Y = B || this.isFocused(), U = this.props.value != null, F = U ? G(this.props.value) : this.value, Q = _ ? _.start : null;
8896
+ var _ = this.previousSelection, c = this.props, k = c.beforeMaskedValueChange, B = c.alwaysShowMask, V = c.mask, O = c.maskChar, H = c.formatChars, q = this.maskOptions, j = B || this.isFocused(), U = this.props.value != null, F = U ? G(this.props.value) : this.value, Q = _ ? _.start : null;
8897
8897
  if (this.maskOptions = w(V, O, H), this.maskOptions.mask) {
8898
8898
  !q.mask && this.isFocused() && this.runSaveSelectionLoop();
8899
8899
  var I = this.maskOptions.mask && this.maskOptions.mask !== q.mask;
8900
- if (q.mask || U || (F = this.getInputValue()), (I || this.maskOptions.mask && (F || Y)) && (F = C(this.maskOptions, F)), I) {
8901
- var J = N(this.maskOptions, F);
8900
+ if (q.mask || U || (F = this.getInputValue()), (I || this.maskOptions.mask && (F || j)) && (F = D(this.maskOptions, F)), I) {
8901
+ var J = T(this.maskOptions, F);
8902
8902
  (Q === null || J < Q) && (Q = S(this.maskOptions, F) ? J : L(this.maskOptions, J));
8903
8903
  }
8904
- !this.maskOptions.mask || !D(this.maskOptions, F) || Y || U && this.props.value || (F = "");
8905
- var ie = { start: Q, end: Q };
8904
+ !this.maskOptions.mask || !C(this.maskOptions, F) || j || U && this.props.value || (F = "");
8905
+ var le = { start: Q, end: Q };
8906
8906
  if (K(k)) {
8907
- var ae = k({ value: F, selection: ie }, { value: this.value, selection: this.previousSelection }, null, this.getBeforeMaskedValueChangeConfig());
8908
- F = ae.value, ie = ae.selection;
8907
+ var ae = k({ value: F, selection: le }, { value: this.value, selection: this.previousSelection }, null, this.getBeforeMaskedValueChangeConfig());
8908
+ F = ae.value, le = ae.selection;
8909
8909
  }
8910
8910
  this.value = F;
8911
8911
  var de = this.getInputValue() !== this.value;
8912
8912
  de ? (this.setInputValue(this.value), this.forceUpdate()) : I && this.forceUpdate();
8913
8913
  var fe = !1;
8914
- ie.start != null && ie.end != null && (fe = !_ || _.start !== ie.start || _.end !== ie.end), (fe || de) && this.setSelection(ie.start, ie.end);
8914
+ le.start != null && le.end != null && (fe = !_ || _.start !== le.start || _.end !== le.end), (fe || de) && this.setSelection(le.start, le.end);
8915
8915
  } else q.mask && (this.stopSaveSelectionLoop(), this.forceUpdate());
8916
8916
  }, g.componentWillUnmount = function() {
8917
8917
  this.mounted = !1, this.selectionDeferId !== null && $(this.selectionDeferId), this.stopSaveSelectionLoop();
@@ -9000,7 +9000,7 @@ function Xm() {
9000
9000
  function n(h) {
9001
9001
  return h && typeof h == "object" && "default" in h ? h.default : h;
9002
9002
  }
9003
- var a = n(T), t = gr, e = n(Gm()), r = n(Km());
9003
+ var a = n(N), t = gr, e = n(Gm()), r = n(Km());
9004
9004
  function o(h, f) {
9005
9005
  for (var g = Object.getOwnPropertyNames(f), _ = 0; _ < g.length; _++) {
9006
9006
  var c = g[_], k = Object.getOwnPropertyDescriptor(f, c);
@@ -9095,12 +9095,12 @@ function Xm() {
9095
9095
  var k = _[f], B = c[k];
9096
9096
  return new RegExp(B).test(g);
9097
9097
  }
9098
- function D(h, f) {
9098
+ function C(h, f) {
9099
9099
  return f.split("").every(function(g, _) {
9100
9100
  return b(h, _) || !y(h, _, g);
9101
9101
  });
9102
9102
  }
9103
- function N(h, f) {
9103
+ function T(h, f) {
9104
9104
  var g = h.maskChar, _ = h.prefix;
9105
9105
  if (!g) {
9106
9106
  for (; f.length > _.length && b(h, f.length - 1); )
@@ -9117,9 +9117,9 @@ function Xm() {
9117
9117
  return c;
9118
9118
  }
9119
9119
  function S(h, f) {
9120
- return N(h, f) === h.mask.length;
9120
+ return T(h, f) === h.mask.length;
9121
9121
  }
9122
- function C(h, f) {
9122
+ function D(h, f) {
9123
9123
  var g = h.maskChar, _ = h.mask, c = h.prefix;
9124
9124
  if (!g) {
9125
9125
  for (f = A(h, "", f, 0), f.length < c.length && (f = c); f.length < _.length && b(h, f.length); )
@@ -9127,7 +9127,7 @@ function Xm() {
9127
9127
  return f;
9128
9128
  }
9129
9129
  if (f) {
9130
- var k = C(h, "");
9130
+ var k = D(h, "");
9131
9131
  return A(h, k, f, 0);
9132
9132
  }
9133
9133
  for (var B = 0; B < _.length; B++)
@@ -9139,10 +9139,10 @@ function Xm() {
9139
9139
  if (!k) {
9140
9140
  for (var H = c; H < O.length; H++)
9141
9141
  b(h, H) && (O[H] = "");
9142
- return g = Math.max(V.length, g), O.splice(g, c - g), f = O.join(""), C(h, f);
9142
+ return g = Math.max(V.length, g), O.splice(g, c - g), f = O.join(""), D(h, f);
9143
9143
  }
9144
- return O.map(function(q, Y) {
9145
- return Y < g || Y >= c ? q : b(h, Y) ? B[Y] : k;
9144
+ return O.map(function(q, j) {
9145
+ return j < g || j >= c ? q : b(h, j) ? B[j] : k;
9146
9146
  }).join("");
9147
9147
  }
9148
9148
  function A(h, f, g, _) {
@@ -9151,20 +9151,20 @@ function Xm() {
9151
9151
  }, q = function(U, F) {
9152
9152
  return !k || !b(h, F) || U !== k;
9153
9153
  };
9154
- return !k && _ > f.length && (f += c.slice(f.length, _)), V.every(function(Y) {
9155
- for (; !H(_, Y); ) {
9156
- if (_ >= f.length && (f += c[_]), !q(Y, _))
9154
+ return !k && _ > f.length && (f += c.slice(f.length, _)), V.every(function(j) {
9155
+ for (; !H(_, j); ) {
9156
+ if (_ >= f.length && (f += c[_]), !q(j, _))
9157
9157
  return !0;
9158
9158
  if (_++, _ >= c.length)
9159
9159
  return !1;
9160
9160
  }
9161
- var U = y(h, _, Y) || Y === k;
9162
- return U ? (_ < f.length ? k || O || _ < B.length ? f = f.slice(0, _) + Y + f.slice(_ + 1) : (f = f.slice(0, _) + Y + f.slice(_), f = C(h, f)) : k || (f += Y), _++, _ < c.length) : !0;
9161
+ var U = y(h, _, j) || j === k;
9162
+ return U ? (_ < f.length ? k || O || _ < B.length ? f = f.slice(0, _) + j + f.slice(_ + 1) : (f = f.slice(0, _) + j + f.slice(_), f = D(h, f)) : k || (f += j), _++, _ < c.length) : !0;
9163
9163
  }), f;
9164
9164
  }
9165
- function j(h, f, g, _) {
9166
- var c = h.mask, k = h.maskChar, B = g.split(""), V = _, O = function(q, Y) {
9167
- return !b(h, q) || Y === c[q];
9165
+ function Y(h, f, g, _) {
9166
+ var c = h.mask, k = h.maskChar, B = g.split(""), V = _, O = function(q, j) {
9167
+ return !b(h, q) || j === c[q];
9168
9168
  };
9169
9169
  return B.every(function(H) {
9170
9170
  for (; !O(_, H); )
@@ -9190,15 +9190,15 @@ function Xm() {
9190
9190
  return !h && h !== 0 ? "" : h + "";
9191
9191
  }
9192
9192
  function ce(h, f, g, _, c) {
9193
- var k = h.mask, B = h.prefix, V = h.lastEditablePosition, O = f, H = "", q = 0, Y = 0, U = Math.min(c.start, g.start);
9194
- if (g.end > c.start ? (H = O.slice(c.start, g.end), q = j(h, _, H, U), q ? Y = c.length : Y = 0) : O.length < _.length && (Y = _.length - O.length), O = _, Y) {
9195
- if (Y === 1 && !c.length) {
9193
+ var k = h.mask, B = h.prefix, V = h.lastEditablePosition, O = f, H = "", q = 0, j = 0, U = Math.min(c.start, g.start);
9194
+ if (g.end > c.start ? (H = O.slice(c.start, g.end), q = Y(h, _, H, U), q ? j = c.length : j = 0) : O.length < _.length && (j = _.length - O.length), O = _, j) {
9195
+ if (j === 1 && !c.length) {
9196
9196
  var F = c.start === g.start;
9197
9197
  U = F ? L(h, g.start) : P(h, g.start);
9198
9198
  }
9199
- O = x(h, O, U, Y);
9199
+ O = x(h, O, U, j);
9200
9200
  }
9201
- return O = A(h, O, H, U), U = U + q, U >= k.length ? U = k.length : U < B.length && !q ? U = B.length : U >= B.length && U < V && q && (U = L(h, U)), O = C(h, O), H || (H = null), {
9201
+ return O = A(h, O, H, U), U = U + q, U >= k.length ? U = k.length : U < B.length && !q ? U = B.length : U >= B.length && U < V && q && (U = L(h, U)), O = D(h, O), H || (H = null), {
9202
9202
  value: O,
9203
9203
  enteredString: H,
9204
9204
  selection: {
@@ -9256,13 +9256,13 @@ function Xm() {
9256
9256
  var J = c.getInputDOMNode();
9257
9257
  J && (c.value = I, J.value = I);
9258
9258
  }, c.setCursorToEnd = function() {
9259
- var I = N(c.maskOptions, c.value), J = L(c.maskOptions, I);
9259
+ var I = T(c.maskOptions, c.value), J = L(c.maskOptions, I);
9260
9260
  J !== null && c.setCursorPosition(J);
9261
- }, c.setSelection = function(I, J, ie) {
9262
- ie === void 0 && (ie = {});
9261
+ }, c.setSelection = function(I, J, le) {
9262
+ le === void 0 && (le = {});
9263
9263
  var ae = c.getInputDOMNode(), de = c.isFocused();
9264
9264
  if (!(!ae || !de)) {
9265
- var fe = ie, _e = fe.deferred;
9265
+ var fe = le, _e = fe.deferred;
9266
9266
  _e || u(ae, I, J), c.selectionDeferId !== null && $(c.selectionDeferId), c.selectionDeferId = z(function() {
9267
9267
  c.selectionDeferId = null, u(ae, I, J);
9268
9268
  }), c.previousSelection = {
@@ -9281,54 +9281,54 @@ function Xm() {
9281
9281
  }, c.isFocused = function() {
9282
9282
  return c.focused;
9283
9283
  }, c.getBeforeMaskedValueChangeConfig = function() {
9284
- var I = c.maskOptions, J = I.mask, ie = I.maskChar, ae = I.permanents, de = I.formatChars, fe = c.props.alwaysShowMask;
9284
+ var I = c.maskOptions, J = I.mask, le = I.maskChar, ae = I.permanents, de = I.formatChars, fe = c.props.alwaysShowMask;
9285
9285
  return {
9286
9286
  mask: J,
9287
- maskChar: ie,
9287
+ maskChar: le,
9288
9288
  permanents: ae,
9289
9289
  alwaysShowMask: !!fe,
9290
9290
  formatChars: de
9291
9291
  };
9292
- }, c.isInputAutofilled = function(I, J, ie, ae) {
9292
+ }, c.isInputAutofilled = function(I, J, le, ae) {
9293
9293
  var de = c.getInputDOMNode();
9294
9294
  try {
9295
9295
  if (de.matches(":-webkit-autofill"))
9296
9296
  return !0;
9297
9297
  } catch {
9298
9298
  }
9299
- return c.focused ? ae.end < ie.length && J.end === I.length : !0;
9299
+ return c.focused ? ae.end < le.length && J.end === I.length : !0;
9300
9300
  }, c.onChange = function(I) {
9301
- var J = p(p(c)), ie = J.beforePasteState, ae = p(p(c)), de = ae.previousSelection, fe = c.props.beforeMaskedValueChange, _e = c.getInputValue(), Ae = c.value, Le = c.getSelection();
9302
- c.isInputAutofilled(_e, Le, Ae, de) && (Ae = C(c.maskOptions, ""), de = {
9301
+ var J = p(p(c)), le = J.beforePasteState, ae = p(p(c)), de = ae.previousSelection, fe = c.props.beforeMaskedValueChange, _e = c.getInputValue(), Ae = c.value, Le = c.getSelection();
9302
+ c.isInputAutofilled(_e, Le, Ae, de) && (Ae = D(c.maskOptions, ""), de = {
9303
9303
  start: 0,
9304
9304
  end: 0,
9305
9305
  length: 0
9306
- }), ie && (de = ie.selection, Ae = ie.value, Le = {
9306
+ }), le && (de = le.selection, Ae = le.value, Le = {
9307
9307
  start: de.start + _e.length,
9308
9308
  end: de.start + _e.length,
9309
9309
  length: 0
9310
9310
  }, _e = Ae.slice(0, de.start) + _e + Ae.slice(de.end), c.beforePasteState = null);
9311
- var Ye = ce(c.maskOptions, _e, Le, Ae, de), Z = Ye.enteredString, se = Ye.selection, Me = Ye.value;
9311
+ var Ye = ce(c.maskOptions, _e, Le, Ae, de), Z = Ye.enteredString, ie = Ye.selection, Me = Ye.value;
9312
9312
  if (K(fe)) {
9313
9313
  var Pe = fe({
9314
9314
  value: Me,
9315
- selection: se
9315
+ selection: ie
9316
9316
  }, {
9317
9317
  value: Ae,
9318
9318
  selection: de
9319
9319
  }, Z, c.getBeforeMaskedValueChangeConfig());
9320
- Me = Pe.value, se = Pe.selection;
9320
+ Me = Pe.value, ie = Pe.selection;
9321
9321
  }
9322
- c.setInputValue(Me), K(c.props.onChange) && c.props.onChange(I), c.isWindowsPhoneBrowser ? c.setSelection(se.start, se.end, {
9322
+ c.setInputValue(Me), K(c.props.onChange) && c.props.onChange(I), c.isWindowsPhoneBrowser ? c.setSelection(ie.start, ie.end, {
9323
9323
  deferred: !0
9324
- }) : c.setSelection(se.start, se.end);
9324
+ }) : c.setSelection(ie.start, ie.end);
9325
9325
  }, c.onFocus = function(I) {
9326
- var J = c.props.beforeMaskedValueChange, ie = c.maskOptions, ae = ie.mask, de = ie.prefix;
9326
+ var J = c.props.beforeMaskedValueChange, le = c.maskOptions, ae = le.mask, de = le.prefix;
9327
9327
  if (c.focused = !0, c.mounted = !0, ae) {
9328
9328
  if (c.value)
9329
- N(c.maskOptions, c.value) < c.maskOptions.mask.length && c.setCursorToEnd();
9329
+ T(c.maskOptions, c.value) < c.maskOptions.mask.length && c.setCursorToEnd();
9330
9330
  else {
9331
- var fe = C(c.maskOptions, de), _e = C(c.maskOptions, fe), Ae = N(c.maskOptions, _e), Le = L(c.maskOptions, Ae), Ye = {
9331
+ var fe = D(c.maskOptions, de), _e = D(c.maskOptions, fe), Ae = T(c.maskOptions, _e), Le = L(c.maskOptions, Ae), Ye = {
9332
9332
  start: Le,
9333
9333
  end: Le
9334
9334
  };
@@ -9342,15 +9342,15 @@ function Xm() {
9342
9342
  }, null, c.getBeforeMaskedValueChangeConfig());
9343
9343
  _e = Z.value, Ye = Z.selection;
9344
9344
  }
9345
- var se = _e !== c.getInputValue();
9346
- se && c.setInputValue(_e), se && K(c.props.onChange) && c.props.onChange(I), c.setSelection(Ye.start, Ye.end);
9345
+ var ie = _e !== c.getInputValue();
9346
+ ie && c.setInputValue(_e), ie && K(c.props.onChange) && c.props.onChange(I), c.setSelection(Ye.start, Ye.end);
9347
9347
  }
9348
9348
  c.runSaveSelectionLoop();
9349
9349
  }
9350
9350
  K(c.props.onFocus) && c.props.onFocus(I);
9351
9351
  }, c.onBlur = function(I) {
9352
- var J = c.props.beforeMaskedValueChange, ie = c.maskOptions.mask;
9353
- if (c.stopSaveSelectionLoop(), c.focused = !1, ie && !c.props.alwaysShowMask && D(c.maskOptions, c.value)) {
9352
+ var J = c.props.beforeMaskedValueChange, le = c.maskOptions.mask;
9353
+ if (c.stopSaveSelectionLoop(), c.focused = !1, le && !c.props.alwaysShowMask && C(c.maskOptions, c.value)) {
9354
9354
  var ae = "";
9355
9355
  if (K(J)) {
9356
9356
  var de = J({
@@ -9369,8 +9369,8 @@ function Xm() {
9369
9369
  }, c.onMouseDown = function(I) {
9370
9370
  if (!c.focused && document.addEventListener) {
9371
9371
  c.mouseDownX = I.clientX, c.mouseDownY = I.clientY, c.mouseDownTime = (/* @__PURE__ */ new Date()).getTime();
9372
- var J = function ie(ae) {
9373
- if (document.removeEventListener("mouseup", ie), !!c.focused) {
9372
+ var J = function le(ae) {
9373
+ if (document.removeEventListener("mouseup", le), !!c.focused) {
9374
9374
  var de = Math.abs(ae.clientX - c.mouseDownX), fe = Math.abs(ae.clientY - c.mouseDownY), _e = Math.max(de, fe), Ae = (/* @__PURE__ */ new Date()).getTime() - c.mouseDownTime;
9375
9375
  (_e <= 10 && Ae <= 200 || _e <= 5 && Ae <= 300) && c.setCursorToEnd();
9376
9376
  }
@@ -9386,10 +9386,10 @@ function Xm() {
9386
9386
  }, c.handleRef = function(I) {
9387
9387
  c.props.children == null && K(c.props.inputRef) && c.props.inputRef(I);
9388
9388
  };
9389
- var k = _.mask, B = _.maskChar, V = _.formatChars, O = _.alwaysShowMask, H = _.beforeMaskedValueChange, q = _.defaultValue, Y = _.value;
9390
- c.maskOptions = w(k, B, V), q == null && (q = ""), Y == null && (Y = q);
9391
- var U = G(Y);
9392
- if (c.maskOptions.mask && (O || U) && (U = C(c.maskOptions, U), K(H))) {
9389
+ var k = _.mask, B = _.maskChar, V = _.formatChars, O = _.alwaysShowMask, H = _.beforeMaskedValueChange, q = _.defaultValue, j = _.value;
9390
+ c.maskOptions = w(k, B, V), q == null && (q = ""), j == null && (j = q);
9391
+ var U = G(j);
9392
+ if (c.maskOptions.mask && (O || U) && (U = D(c.maskOptions, U), K(H))) {
9393
9393
  var F = _.value;
9394
9394
  _.value == null && (F = q), F = G(F);
9395
9395
  var Q = H({
@@ -9407,19 +9407,19 @@ function Xm() {
9407
9407
  return g.componentDidMount = function() {
9408
9408
  this.mounted = !0, this.getInputDOMNode() && (this.isWindowsPhoneBrowser = ne(), this.maskOptions.mask && this.getInputValue() !== this.value && this.setInputValue(this.value));
9409
9409
  }, g.componentDidUpdate = function() {
9410
- var c = this.previousSelection, k = this.props, B = k.beforeMaskedValueChange, V = k.alwaysShowMask, O = k.mask, H = k.maskChar, q = k.formatChars, Y = this.maskOptions, U = V || this.isFocused(), F = this.props.value != null, Q = F ? G(this.props.value) : this.value, I = c ? c.start : null;
9410
+ var c = this.previousSelection, k = this.props, B = k.beforeMaskedValueChange, V = k.alwaysShowMask, O = k.mask, H = k.maskChar, q = k.formatChars, j = this.maskOptions, U = V || this.isFocused(), F = this.props.value != null, Q = F ? G(this.props.value) : this.value, I = c ? c.start : null;
9411
9411
  if (this.maskOptions = w(O, H, q), this.maskOptions.mask)
9412
- !Y.mask && this.isFocused() && this.runSaveSelectionLoop();
9412
+ !j.mask && this.isFocused() && this.runSaveSelectionLoop();
9413
9413
  else {
9414
- Y.mask && (this.stopSaveSelectionLoop(), this.forceUpdate());
9414
+ j.mask && (this.stopSaveSelectionLoop(), this.forceUpdate());
9415
9415
  return;
9416
9416
  }
9417
- var J = this.maskOptions.mask && this.maskOptions.mask !== Y.mask;
9418
- if (!Y.mask && !F && (Q = this.getInputValue()), (J || this.maskOptions.mask && (Q || U)) && (Q = C(this.maskOptions, Q)), J) {
9419
- var ie = N(this.maskOptions, Q);
9420
- (I === null || ie < I) && (S(this.maskOptions, Q) ? I = ie : I = L(this.maskOptions, ie));
9417
+ var J = this.maskOptions.mask && this.maskOptions.mask !== j.mask;
9418
+ if (!j.mask && !F && (Q = this.getInputValue()), (J || this.maskOptions.mask && (Q || U)) && (Q = D(this.maskOptions, Q)), J) {
9419
+ var le = T(this.maskOptions, Q);
9420
+ (I === null || le < I) && (S(this.maskOptions, Q) ? I = le : I = L(this.maskOptions, le));
9421
9421
  }
9422
- this.maskOptions.mask && D(this.maskOptions, Q) && !U && (!F || !this.props.value) && (Q = "");
9422
+ this.maskOptions.mask && C(this.maskOptions, Q) && !U && (!F || !this.props.value) && (Q = "");
9423
9423
  var ae = {
9424
9424
  start: I,
9425
9425
  end: I
@@ -9446,7 +9446,7 @@ function Xm() {
9446
9446
  c.alwaysShowMask;
9447
9447
  var B = c.maskChar, V = c.formatChars, O = c.inputRef;
9448
9448
  c.beforeMaskedValueChange;
9449
- var H = c.children, q = l(c, ["mask", "alwaysShowMask", "maskChar", "formatChars", "inputRef", "beforeMaskedValueChange", "children"]), Y;
9449
+ var H = c.children, q = l(c, ["mask", "alwaysShowMask", "maskChar", "formatChars", "inputRef", "beforeMaskedValueChange", "children"]), j;
9450
9450
  if (process.env.NODE_ENV !== "production" && r(
9451
9451
  // parse mask to test against actual mask prop as this.maskOptions
9452
9452
  // will be updated later in componentDidUpdate
@@ -9457,20 +9457,20 @@ function Xm() {
9457
9457
  var U = ["onChange", "onPaste", "onMouseDown", "onFocus", "onBlur", "value", "disabled", "readOnly"], F = i({}, q);
9458
9458
  U.forEach(function(J) {
9459
9459
  return delete F[J];
9460
- }), Y = H(F);
9460
+ }), j = H(F);
9461
9461
  var Q = U.filter(function(J) {
9462
- return Y.props[J] != null && Y.props[J] !== q[J];
9462
+ return j.props[J] != null && j.props[J] !== q[J];
9463
9463
  });
9464
9464
  Q.length && (process.env.NODE_ENV !== "production" ? e(!1, "react-input-mask: the following props should be passed to the react-input-mask's component and should not be altered in children's function: " + Q.join(", ")) : e(!1)), process.env.NODE_ENV !== "production" && r(!O, "react-input-mask: inputRef is ignored when children is passed, attach ref to the children instead");
9465
9465
  } else
9466
- Y = a.createElement("input", i({
9466
+ j = a.createElement("input", i({
9467
9467
  ref: this.handleRef
9468
9468
  }, q));
9469
9469
  var I = {
9470
9470
  onFocus: this.onFocus,
9471
9471
  onBlur: this.onBlur
9472
9472
  };
9473
- return this.maskOptions.mask && (!q.disabled && !q.readOnly && (I.onChange = this.onChange, I.onPaste = this.onPaste, I.onMouseDown = this.onMouseDown), q.value != null && (I.value = this.value)), Y = a.cloneElement(Y, I), Y;
9473
+ return this.maskOptions.mask && (!q.disabled && !q.readOnly && (I.onChange = this.onChange, I.onPaste = this.onPaste, I.onMouseDown = this.onMouseDown), q.value != null && (I.value = this.value)), j = a.cloneElement(j, I), j;
9474
9474
  }, f;
9475
9475
  }(a.Component);
9476
9476
  return Jr = X, Jr;
@@ -9495,25 +9495,25 @@ const Jm = /* @__PURE__ */ qa(Zm), eh = "_datepickerInput_e80nk_43", th = "_date
9495
9495
  name: e,
9496
9496
  onChange: r,
9497
9497
  dateFormatMask: o = "99.99.9999",
9498
- variant: i = "outlined",
9499
- size: s = "lg",
9500
- disabled: l,
9501
- error: p,
9502
- placeholderText: u = "дд.мм.гггг",
9498
+ placeholderText: i = "дд.мм.гггг",
9499
+ variant: s = "outlined",
9500
+ size: l = "lg",
9501
+ disabled: p,
9502
+ error: u,
9503
9503
  onClick: d,
9504
9504
  onBlur: m,
9505
9505
  onMouseDownInput: v,
9506
9506
  readOnlyInput: w = !1,
9507
9507
  focused: b,
9508
9508
  changed: y,
9509
- classNameRoot: D
9510
- } = n, [N, S] = Ce(!1), C = Fe(null);
9509
+ classNameRoot: C
9510
+ } = n, [T, S] = Ce(!1), D = Fe(null);
9511
9511
  Na(
9512
- [C],
9512
+ [D],
9513
9513
  () => {
9514
9514
  S(!1);
9515
9515
  },
9516
- N
9516
+ T
9517
9517
  );
9518
9518
  const x = !!t;
9519
9519
  Re(() => {
@@ -9521,21 +9521,21 @@ const Jm = /* @__PURE__ */ qa(Zm), eh = "_datepickerInput_e80nk_43", th = "_date
9521
9521
  }, [b]);
9522
9522
  const A = (ne) => {
9523
9523
  S(!0), v && v(ne);
9524
- }, j = () => {
9524
+ }, Y = () => {
9525
9525
  S(!1);
9526
9526
  }, P = (ne) => {
9527
9527
  const { target: K } = ne, { value: te, name: W } = K;
9528
- r && r(ne, { value: te ? new Date(te) : null, name: W });
9528
+ r && r(ne, { value: te, name: W });
9529
9529
  }, L = E({
9530
9530
  [nt.datepickerInput]: !0,
9531
- [nt[`datepickerInput_${i}`]]: i,
9531
+ [nt[`datepickerInput_${s}`]]: s,
9532
9532
  [nt.datepickerInput_active]: x,
9533
- [nt.datepickerInput_size]: s,
9534
- [nt.datepickerInput_disabled]: l,
9533
+ [nt.datepickerInput_size]: l,
9534
+ [nt.datepickerInput_disabled]: p,
9535
9535
  [nt.datepickerInput_changed]: y,
9536
- [nt.datepickerInput_focused]: b || N,
9537
- [nt.datepickerInput_error]: !!p,
9538
- ...D && { [D]: !0 }
9536
+ [nt.datepickerInput_focused]: b || T,
9537
+ [nt.datepickerInput_error]: !!u,
9538
+ ...C && { [C]: !0 }
9539
9539
  }), G = E({
9540
9540
  [nt.datepickerInput__input]: !0,
9541
9541
  [nt.datepickerInput__input_clearStyles]: !0
@@ -9545,10 +9545,10 @@ const Jm = /* @__PURE__ */ qa(Zm), eh = "_datepickerInput_e80nk_43", th = "_date
9545
9545
  return /* @__PURE__ */ ue(
9546
9546
  "div",
9547
9547
  {
9548
- ref: C,
9548
+ ref: D,
9549
9549
  onMouseDown: A,
9550
9550
  onClick: d,
9551
- onBlur: j,
9551
+ onBlur: Y,
9552
9552
  className: L,
9553
9553
  children: [
9554
9554
  /* @__PURE__ */ M(
@@ -9556,7 +9556,7 @@ const Jm = /* @__PURE__ */ qa(Zm), eh = "_datepickerInput_e80nk_43", th = "_date
9556
9556
  {
9557
9557
  className: nt.datepickerInput,
9558
9558
  alwaysShowMask: !1,
9559
- disabled: l,
9559
+ disabled: p,
9560
9560
  mask: o,
9561
9561
  onBlur: m,
9562
9562
  onMouseDown: (ne) => {
@@ -9565,15 +9565,15 @@ const Jm = /* @__PURE__ */ qa(Zm), eh = "_datepickerInput_e80nk_43", th = "_date
9565
9565
  onChange: P,
9566
9566
  name: e,
9567
9567
  value: t,
9568
- placeholder: u,
9568
+ placeholder: i,
9569
9569
  children: (ne) => /* @__PURE__ */ M(
9570
9570
  "input",
9571
9571
  {
9572
9572
  ...ne,
9573
9573
  ref: a,
9574
9574
  autoComplete: "off",
9575
- placeholder: u,
9576
- disabled: l,
9575
+ placeholder: i,
9576
+ disabled: p,
9577
9577
  className: G
9578
9578
  }
9579
9579
  )
@@ -9622,7 +9622,7 @@ const uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__
9622
9622
  }
9623
9623
  )
9624
9624
  ] });
9625
- }, hh = "_datePicker_o134k_43", vh = "_datePicker_relative_o134k_49", _h = "_datePicker__customHeader_o134k_52", gh = "_datePicker__navigationWrapper_o134k_57", wh = "_datePicker__navigation_o134k_57", bh = "_datePicker__navigation_previous_o134k_69", yh = "_datePicker__footer_o134k_72", xh = "_datePicker__footerActions_o134k_77", kh = "_datePicker__footerActions_clear_o134k_82", Dh = "_datePicker__footerActions_done_o134k_85", Ch = "_datePicker__customContainer_o134k_88", We = {
9625
+ }, hh = "_datePicker_1ejft_43", vh = "_datePicker_relative_1ejft_49", _h = "_datePicker__customHeader_1ejft_52", gh = "_datePicker__navigationWrapper_1ejft_57", wh = "_datePicker__navigation_1ejft_57", bh = "_datePicker__navigation_previous_1ejft_69", yh = "_datePicker__footer_1ejft_72", xh = "_datePicker__footerActions_1ejft_77", kh = "_datePicker__footerActions_clear_1ejft_82", Dh = "_datePicker__footerActions_done_1ejft_85", Ch = "_datePicker__customContainer_1ejft_88", We = {
9626
9626
  datePicker: hh,
9627
9627
  datePicker_relative: vh,
9628
9628
  datePicker__customHeader: _h,
@@ -9636,62 +9636,53 @@ const uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__
9636
9636
  datePicker__customContainer: Ch
9637
9637
  }, xw = (n) => {
9638
9638
  const {
9639
- placeholderText: a = "дд.мм.гг",
9640
- dateFormatMask: t = "99.99.99",
9641
- dateFormat: e = "dd.MM.yyyy",
9642
- size: r = "lg",
9643
- disabled: o,
9644
- required: i,
9645
- error: s,
9646
- label: l,
9647
- readOnlyInput: p = !0,
9648
- value: u,
9649
- selected: d,
9650
- onCalendarOpen: m,
9651
- onCalendarClose: v,
9652
- onMouseDownInput: w,
9653
- isClearable: b,
9654
- onChange: y,
9655
- onBlur: D,
9656
- onFocus: N,
9657
- name: S,
9658
- changed: C,
9659
- onMouseEnter: x,
9660
- infoTooltipText: A,
9661
- tooltipPosition: j,
9662
- isRelative: P = !0,
9663
- closeOnScroll: L = !0,
9664
- shouldCloseOnSelect: G = !0,
9665
- minDate: ce,
9666
- maxDate: ne,
9667
- variant: K = "outlined",
9639
+ variant: a = "outlined",
9640
+ size: t = "lg",
9641
+ placeholderText: e = "дд.мм.гггг",
9642
+ dateFormatMask: r = "99.99.9999",
9643
+ dateFormat: o = "dd.MM.yyyy",
9644
+ readOnlyInput: i = !0,
9645
+ isClearable: s = !0,
9646
+ isRelative: l = !0,
9647
+ shouldCloseOnSelect: p = !1,
9648
+ closeOnScroll: u = !1,
9649
+ disabled: d,
9650
+ required: m,
9651
+ error: v,
9652
+ label: w,
9653
+ value: b,
9654
+ selected: y,
9655
+ onCalendarOpen: C,
9656
+ onCalendarClose: T,
9657
+ onMouseDownInput: S,
9658
+ onChange: D,
9659
+ onBlur: x,
9660
+ onFocus: A,
9661
+ name: Y,
9662
+ changed: P,
9663
+ onMouseEnter: L,
9664
+ infoTooltipText: G,
9665
+ tooltipPosition: ce,
9666
+ minDate: ne,
9667
+ maxDate: K,
9668
9668
  classNameRoot: te,
9669
9669
  classNameDatePickerInputRoot: W,
9670
9670
  classNameLabel: z,
9671
9671
  classNameBaseTooltipRoot: $
9672
- } = n, [X, h] = Ce(!1), [f, g] = Ce(d), _ = () => {
9673
- m && m(), N && N(), h(!0);
9672
+ } = n, [X, h] = Ce(!1), [f, g] = Ce(y), _ = () => {
9673
+ C && C(), A && A(), h(!0);
9674
9674
  }, c = () => {
9675
- v && v(), D && D(), h(!1), g(null);
9675
+ T && T(), x && x(), h(!1);
9676
9676
  }, k = (I, J) => {
9677
- if (y) {
9678
- const ie = {
9679
- target: {
9680
- name: S || "",
9681
- value: I ? I.toISOString() : null
9682
- }
9683
- // Можно добавить другие необходимые поля event'а если нужно
9684
- };
9685
- S && y(ie, { name: S, value: I });
9686
- }
9677
+ D && Y && D({ name: Y, value: I });
9687
9678
  }, B = (I) => {
9688
- G && k(I), g(I);
9679
+ p && k(I), g(I);
9689
9680
  }, V = E({
9690
9681
  [We.datePicker]: !0,
9691
- [We.datePicker_size]: r,
9692
- [We.datePicker_active]: !!u,
9693
- [We.datePicker_error]: !!s,
9694
- [We.datePicker_relative]: P,
9682
+ [We.datePicker_size]: t,
9683
+ [We.datePicker_active]: !!b,
9684
+ [We.datePicker_error]: !!v,
9685
+ [We.datePicker_relative]: l,
9695
9686
  ...te && { [te]: !0 }
9696
9687
  }), O = Fe(null), H = E({
9697
9688
  [We.datePicker__customInput]: !0,
@@ -9699,22 +9690,22 @@ const uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__
9699
9690
  }), q = E({
9700
9691
  [We.datePicker__label]: !0,
9701
9692
  ...z && { [z]: !0 }
9702
- }), Y = E({
9693
+ }), j = E({
9703
9694
  [We.datePicker__error]: !0
9704
9695
  }), U = (I) => {
9705
9696
  I.preventDefault(), I.stopPropagation(), k(null), O.current && O.current.setOpen(!1), c();
9706
9697
  }, F = (I) => {
9707
9698
  I.preventDefault(), I.stopPropagation(), O.current && O.current.setOpen(!1), k(f), c();
9708
9699
  };
9709
- return /* @__PURE__ */ ue("div", { onMouseEnter: x, className: V, children: [
9710
- l && /* @__PURE__ */ M(
9700
+ return /* @__PURE__ */ ue("div", { onMouseEnter: L, className: V, children: [
9701
+ w && /* @__PURE__ */ M(
9711
9702
  Pr,
9712
9703
  {
9713
9704
  classNameRoot: q,
9714
- tooltipPosition: j,
9715
- required: i,
9716
- label: l,
9717
- infoTooltipText: A,
9705
+ tooltipPosition: ce,
9706
+ required: m,
9707
+ label: w,
9708
+ infoTooltipText: G,
9718
9709
  classNameBaseTooltipRoot: $
9719
9710
  }
9720
9711
  ),
@@ -9723,25 +9714,25 @@ const uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__
9723
9714
  {
9724
9715
  onSelect: B,
9725
9716
  ref: O,
9726
- closeOnScroll: L,
9727
- shouldCloseOnSelect: G,
9728
- minDate: ce,
9729
- maxDate: ne,
9730
- dateFormat: e,
9717
+ closeOnScroll: u,
9718
+ shouldCloseOnSelect: p,
9719
+ minDate: ne,
9720
+ maxDate: K,
9721
+ dateFormat: o,
9731
9722
  locale: up,
9732
- onBlur: D,
9733
- onFocus: N,
9734
- required: i,
9735
- name: S,
9723
+ onBlur: x,
9724
+ onFocus: A,
9725
+ required: m,
9726
+ name: Y,
9736
9727
  onCalendarClose: c,
9737
9728
  onCalendarOpen: _,
9738
- selected: d,
9739
- value: u,
9740
- disabled: o,
9729
+ selected: y,
9730
+ value: b,
9731
+ disabled: d,
9741
9732
  renderCustomHeader: ({
9742
9733
  monthDate: I,
9743
9734
  decreaseMonth: J,
9744
- increaseMonth: ie
9735
+ increaseMonth: le
9745
9736
  }) => {
9746
9737
  const ae = I.toLocaleString("ru-RU", {
9747
9738
  month: "short"
@@ -9764,7 +9755,7 @@ const uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__
9764
9755
  Be,
9765
9756
  {
9766
9757
  name: pe.ArrowBottom,
9767
- onClick: ie,
9758
+ onClick: le,
9768
9759
  className: E(We.datePicker__navigation)
9769
9760
  }
9770
9761
  )
@@ -9773,7 +9764,7 @@ const uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__
9773
9764
  },
9774
9765
  calendarContainer: ({ className: I, children: J }) => /* @__PURE__ */ ue("div", { className: E(We.datePicker__customContainer, I), children: [
9775
9766
  J,
9776
- b && /* @__PURE__ */ ue("div", { className: We.datePicker__footer, children: [
9767
+ s && /* @__PURE__ */ ue("div", { className: We.datePicker__footer, children: [
9777
9768
  /* @__PURE__ */ M(
9778
9769
  st,
9779
9770
  {
@@ -9801,22 +9792,22 @@ const uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__
9801
9792
  customInput: /* @__PURE__ */ M(
9802
9793
  ss,
9803
9794
  {
9804
- variant: K,
9805
- placeholderText: a,
9806
- dateFormatMask: t,
9807
- changed: C,
9795
+ variant: a,
9796
+ placeholderText: e,
9797
+ dateFormatMask: r,
9798
+ changed: P,
9808
9799
  classNameRoot: H,
9809
- size: r,
9810
- error: s,
9800
+ size: t,
9801
+ error: v,
9811
9802
  focused: X,
9812
- onMouseDownInput: w,
9813
- readOnlyInput: p,
9814
- disabled: o
9803
+ onMouseDownInput: S,
9804
+ readOnlyInput: i,
9805
+ disabled: d
9815
9806
  }
9816
9807
  )
9817
9808
  }
9818
9809
  ),
9819
- s && /* @__PURE__ */ M("div", { className: Y, children: s })
9810
+ v && /* @__PURE__ */ M("div", { className: j, children: v })
9820
9811
  ] });
9821
9812
  }, Sh = (n) => {
9822
9813
  const { getRootProps: a, children: t, disabled: e, name: r, getInputProps: o } = n;
@@ -9913,7 +9904,7 @@ const uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__
9913
9904
  const y = E({
9914
9905
  [jo.ellipsisTextWithTooltip]: !0,
9915
9906
  ...e && { [e]: !0 }
9916
- }), D = E({
9907
+ }), C = E({
9917
9908
  [jo.ellipsisTextWithTooltip__tooltip]: !0,
9918
9909
  ...r && { [r]: !0 }
9919
9910
  });
@@ -9923,7 +9914,7 @@ const uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__
9923
9914
  hover: !0,
9924
9915
  position: s,
9925
9916
  classNameBaseTooltipRoot: i,
9926
- classNameTooltip: D,
9917
+ classNameTooltip: C,
9927
9918
  classNameBaseTooltipContentRoot: o,
9928
9919
  isVisibleTooltip: d,
9929
9920
  text: a,
@@ -9997,7 +9988,7 @@ const uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__
9997
9988
  spInput__clear: Kh,
9998
9989
  spInput__error: Xh,
9999
9990
  spInput__error_absolutePosition: Zh
10000
- }, Jh = T.forwardRef((n, a) => {
9991
+ }, Jh = N.forwardRef((n, a) => {
10001
9992
  const {
10002
9993
  value: t,
10003
9994
  onChange: e,
@@ -10014,17 +10005,17 @@ const uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__
10014
10005
  infoTooltipText: w,
10015
10006
  tooltipPosition: b,
10016
10007
  isVisibleDefaultTitle: y = !0,
10017
- placeholder: D = "Введите...",
10018
- classNameRoot: N,
10008
+ placeholder: C = "Введите...",
10009
+ classNameRoot: T,
10019
10010
  classNameError: S,
10020
- classNameLabel: C,
10011
+ classNameLabel: D,
10021
10012
  classNameBaseTooltipRoot: x,
10022
10013
  ...A
10023
- } = n, j = E({
10014
+ } = n, Y = E({
10024
10015
  [pt.spInput]: !0,
10025
10016
  [pt.spInput_error]: !!l,
10026
10017
  [pt.spInput_absolutePositionError]: s,
10027
- ...N && { [N]: !0 }
10018
+ ...T && { [T]: !0 }
10028
10019
  }), P = E({
10029
10020
  [pt.spInput__container]: !0
10030
10021
  }), L = E({
@@ -10039,14 +10030,14 @@ const uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__
10039
10030
  [pt.spInput__error_absolutePosition]: s,
10040
10031
  ...S && { [S]: !0 }
10041
10032
  }), ne = E({
10042
- ...C && { [C]: !0 }
10033
+ ...D && { [D]: !0 }
10043
10034
  }), K = (z) => {
10044
10035
  e(z, { name: u, value: "" });
10045
10036
  }, te = (z) => {
10046
10037
  const { value: $, name: X } = z.target;
10047
10038
  m && $ && !new RegExp(m).test($) || e(z, { value: $, name: X });
10048
10039
  };
10049
- return /* @__PURE__ */ ue("div", { className: j, children: [
10040
+ return /* @__PURE__ */ ue("div", { className: Y, children: [
10050
10041
  r && /* @__PURE__ */ M(
10051
10042
  Pr,
10052
10043
  {
@@ -10063,7 +10054,7 @@ const uh = "_spLabel_1mq16_43", dh = "_spLabel__text_1mq16_52", fh = "_spLabel__
10063
10054
  "input",
10064
10055
  {
10065
10056
  ...A,
10066
- placeholder: D,
10057
+ placeholder: C,
10067
10058
  disabled: i,
10068
10059
  onChange: te,
10069
10060
  title: y ? t : void 0,
@@ -10247,7 +10238,7 @@ var Uo;
10247
10238
  function vv() {
10248
10239
  if (Uo) return be;
10249
10240
  Uo = 1;
10250
- var n = typeof Symbol == "function" && Symbol.for, a = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, e = n ? Symbol.for("react.fragment") : 60107, r = n ? Symbol.for("react.strict_mode") : 60108, o = n ? Symbol.for("react.profiler") : 60114, i = n ? Symbol.for("react.provider") : 60109, s = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, p = n ? Symbol.for("react.concurrent_mode") : 60111, u = n ? Symbol.for("react.forward_ref") : 60112, d = n ? Symbol.for("react.suspense") : 60113, m = n ? Symbol.for("react.suspense_list") : 60120, v = n ? Symbol.for("react.memo") : 60115, w = n ? Symbol.for("react.lazy") : 60116, b = n ? Symbol.for("react.block") : 60121, y = n ? Symbol.for("react.fundamental") : 60117, D = n ? Symbol.for("react.responder") : 60118, N = n ? Symbol.for("react.scope") : 60119;
10241
+ var n = typeof Symbol == "function" && Symbol.for, a = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, e = n ? Symbol.for("react.fragment") : 60107, r = n ? Symbol.for("react.strict_mode") : 60108, o = n ? Symbol.for("react.profiler") : 60114, i = n ? Symbol.for("react.provider") : 60109, s = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, p = n ? Symbol.for("react.concurrent_mode") : 60111, u = n ? Symbol.for("react.forward_ref") : 60112, d = n ? Symbol.for("react.suspense") : 60113, m = n ? Symbol.for("react.suspense_list") : 60120, v = n ? Symbol.for("react.memo") : 60115, w = n ? Symbol.for("react.lazy") : 60116, b = n ? Symbol.for("react.block") : 60121, y = n ? Symbol.for("react.fundamental") : 60117, C = n ? Symbol.for("react.responder") : 60118, T = n ? Symbol.for("react.scope") : 60119;
10251
10242
  function S(x) {
10252
10243
  if (typeof x == "object" && x !== null) {
10253
10244
  var A = x.$$typeof;
@@ -10278,12 +10269,12 @@ function vv() {
10278
10269
  }
10279
10270
  }
10280
10271
  }
10281
- function C(x) {
10272
+ function D(x) {
10282
10273
  return S(x) === p;
10283
10274
  }
10284
10275
  return be.AsyncMode = l, be.ConcurrentMode = p, be.ContextConsumer = s, be.ContextProvider = i, be.Element = a, be.ForwardRef = u, be.Fragment = e, be.Lazy = w, be.Memo = v, be.Portal = t, be.Profiler = o, be.StrictMode = r, be.Suspense = d, be.isAsyncMode = function(x) {
10285
- return C(x) || S(x) === l;
10286
- }, be.isConcurrentMode = C, be.isContextConsumer = function(x) {
10276
+ return D(x) || S(x) === l;
10277
+ }, be.isConcurrentMode = D, be.isContextConsumer = function(x) {
10287
10278
  return S(x) === s;
10288
10279
  }, be.isContextProvider = function(x) {
10289
10280
  return S(x) === i;
@@ -10306,7 +10297,7 @@ function vv() {
10306
10297
  }, be.isSuspense = function(x) {
10307
10298
  return S(x) === d;
10308
10299
  }, be.isValidElementType = function(x) {
10309
- return typeof x == "string" || typeof x == "function" || x === e || x === p || x === o || x === r || x === d || x === m || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === v || x.$$typeof === i || x.$$typeof === s || x.$$typeof === u || x.$$typeof === y || x.$$typeof === D || x.$$typeof === N || x.$$typeof === b);
10300
+ return typeof x == "string" || typeof x == "function" || x === e || x === p || x === o || x === r || x === d || x === m || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === v || x.$$typeof === i || x.$$typeof === s || x.$$typeof === u || x.$$typeof === y || x.$$typeof === C || x.$$typeof === T || x.$$typeof === b);
10310
10301
  }, be.typeOf = S, be;
10311
10302
  }
10312
10303
  var ye = {};
@@ -10321,12 +10312,12 @@ var ye = {};
10321
10312
  var $o;
10322
10313
  function _v() {
10323
10314
  return $o || ($o = 1, process.env.NODE_ENV !== "production" && function() {
10324
- var n = typeof Symbol == "function" && Symbol.for, a = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, e = n ? Symbol.for("react.fragment") : 60107, r = n ? Symbol.for("react.strict_mode") : 60108, o = n ? Symbol.for("react.profiler") : 60114, i = n ? Symbol.for("react.provider") : 60109, s = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, p = n ? Symbol.for("react.concurrent_mode") : 60111, u = n ? Symbol.for("react.forward_ref") : 60112, d = n ? Symbol.for("react.suspense") : 60113, m = n ? Symbol.for("react.suspense_list") : 60120, v = n ? Symbol.for("react.memo") : 60115, w = n ? Symbol.for("react.lazy") : 60116, b = n ? Symbol.for("react.block") : 60121, y = n ? Symbol.for("react.fundamental") : 60117, D = n ? Symbol.for("react.responder") : 60118, N = n ? Symbol.for("react.scope") : 60119;
10315
+ var n = typeof Symbol == "function" && Symbol.for, a = n ? Symbol.for("react.element") : 60103, t = n ? Symbol.for("react.portal") : 60106, e = n ? Symbol.for("react.fragment") : 60107, r = n ? Symbol.for("react.strict_mode") : 60108, o = n ? Symbol.for("react.profiler") : 60114, i = n ? Symbol.for("react.provider") : 60109, s = n ? Symbol.for("react.context") : 60110, l = n ? Symbol.for("react.async_mode") : 60111, p = n ? Symbol.for("react.concurrent_mode") : 60111, u = n ? Symbol.for("react.forward_ref") : 60112, d = n ? Symbol.for("react.suspense") : 60113, m = n ? Symbol.for("react.suspense_list") : 60120, v = n ? Symbol.for("react.memo") : 60115, w = n ? Symbol.for("react.lazy") : 60116, b = n ? Symbol.for("react.block") : 60121, y = n ? Symbol.for("react.fundamental") : 60117, C = n ? Symbol.for("react.responder") : 60118, T = n ? Symbol.for("react.scope") : 60119;
10325
10316
  function S(F) {
10326
10317
  return typeof F == "string" || typeof F == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
10327
- F === e || F === p || F === o || F === r || F === d || F === m || typeof F == "object" && F !== null && (F.$$typeof === w || F.$$typeof === v || F.$$typeof === i || F.$$typeof === s || F.$$typeof === u || F.$$typeof === y || F.$$typeof === D || F.$$typeof === N || F.$$typeof === b);
10318
+ F === e || F === p || F === o || F === r || F === d || F === m || typeof F == "object" && F !== null && (F.$$typeof === w || F.$$typeof === v || F.$$typeof === i || F.$$typeof === s || F.$$typeof === u || F.$$typeof === y || F.$$typeof === C || F.$$typeof === T || F.$$typeof === b);
10328
10319
  }
10329
- function C(F) {
10320
+ function D(F) {
10330
10321
  if (typeof F == "object" && F !== null) {
10331
10322
  var Q = F.$$typeof;
10332
10323
  switch (Q) {
@@ -10358,47 +10349,47 @@ function _v() {
10358
10349
  }
10359
10350
  }
10360
10351
  }
10361
- var x = l, A = p, j = s, P = i, L = a, G = u, ce = e, ne = w, K = v, te = t, W = o, z = r, $ = d, X = !1;
10352
+ var x = l, A = p, Y = s, P = i, L = a, G = u, ce = e, ne = w, K = v, te = t, W = o, z = r, $ = d, X = !1;
10362
10353
  function h(F) {
10363
- return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(F) || C(F) === l;
10354
+ return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(F) || D(F) === l;
10364
10355
  }
10365
10356
  function f(F) {
10366
- return C(F) === p;
10357
+ return D(F) === p;
10367
10358
  }
10368
10359
  function g(F) {
10369
- return C(F) === s;
10360
+ return D(F) === s;
10370
10361
  }
10371
10362
  function _(F) {
10372
- return C(F) === i;
10363
+ return D(F) === i;
10373
10364
  }
10374
10365
  function c(F) {
10375
10366
  return typeof F == "object" && F !== null && F.$$typeof === a;
10376
10367
  }
10377
10368
  function k(F) {
10378
- return C(F) === u;
10369
+ return D(F) === u;
10379
10370
  }
10380
10371
  function B(F) {
10381
- return C(F) === e;
10372
+ return D(F) === e;
10382
10373
  }
10383
10374
  function V(F) {
10384
- return C(F) === w;
10375
+ return D(F) === w;
10385
10376
  }
10386
10377
  function O(F) {
10387
- return C(F) === v;
10378
+ return D(F) === v;
10388
10379
  }
10389
10380
  function H(F) {
10390
- return C(F) === t;
10381
+ return D(F) === t;
10391
10382
  }
10392
10383
  function q(F) {
10393
- return C(F) === o;
10384
+ return D(F) === o;
10394
10385
  }
10395
- function Y(F) {
10396
- return C(F) === r;
10386
+ function j(F) {
10387
+ return D(F) === r;
10397
10388
  }
10398
10389
  function U(F) {
10399
- return C(F) === d;
10390
+ return D(F) === d;
10400
10391
  }
10401
- ye.AsyncMode = x, ye.ConcurrentMode = A, ye.ContextConsumer = j, ye.ContextProvider = P, ye.Element = L, ye.ForwardRef = G, ye.Fragment = ce, ye.Lazy = ne, ye.Memo = K, ye.Portal = te, ye.Profiler = W, ye.StrictMode = z, ye.Suspense = $, ye.isAsyncMode = h, ye.isConcurrentMode = f, ye.isContextConsumer = g, ye.isContextProvider = _, ye.isElement = c, ye.isForwardRef = k, ye.isFragment = B, ye.isLazy = V, ye.isMemo = O, ye.isPortal = H, ye.isProfiler = q, ye.isStrictMode = Y, ye.isSuspense = U, ye.isValidElementType = S, ye.typeOf = C;
10392
+ ye.AsyncMode = x, ye.ConcurrentMode = A, ye.ContextConsumer = Y, ye.ContextProvider = P, ye.Element = L, ye.ForwardRef = G, ye.Fragment = ce, ye.Lazy = ne, ye.Memo = K, ye.Portal = te, ye.Profiler = W, ye.StrictMode = z, ye.Suspense = $, ye.isAsyncMode = h, ye.isConcurrentMode = f, ye.isContextConsumer = g, ye.isContextProvider = _, ye.isElement = c, ye.isForwardRef = k, ye.isFragment = B, ye.isLazy = V, ye.isMemo = O, ye.isPortal = H, ye.isProfiler = q, ye.isStrictMode = j, ye.isSuspense = U, ye.isValidElementType = S, ye.typeOf = D;
10402
10393
  }()), ye;
10403
10394
  }
10404
10395
  var Qo;
@@ -10541,22 +10532,22 @@ function bv() {
10541
10532
  return g;
10542
10533
  }
10543
10534
  var m = "<<anonymous>>", v = {
10544
- array: D("array"),
10545
- bigint: D("bigint"),
10546
- bool: D("boolean"),
10547
- func: D("function"),
10548
- number: D("number"),
10549
- object: D("object"),
10550
- string: D("string"),
10551
- symbol: D("symbol"),
10552
- any: N(),
10535
+ array: C("array"),
10536
+ bigint: C("bigint"),
10537
+ bool: C("boolean"),
10538
+ func: C("function"),
10539
+ number: C("number"),
10540
+ object: C("object"),
10541
+ string: C("string"),
10542
+ symbol: C("symbol"),
10543
+ any: T(),
10553
10544
  arrayOf: S,
10554
- element: C(),
10545
+ element: D(),
10555
10546
  elementType: x(),
10556
10547
  instanceOf: A,
10557
10548
  node: G(),
10558
10549
  objectOf: P,
10559
- oneOf: j,
10550
+ oneOf: Y,
10560
10551
  oneOfType: L,
10561
10552
  shape: ne,
10562
10553
  exact: K
@@ -10571,8 +10562,8 @@ function bv() {
10571
10562
  function y(f) {
10572
10563
  if (process.env.NODE_ENV !== "production")
10573
10564
  var g = {}, _ = 0;
10574
- function c(B, V, O, H, q, Y, U) {
10575
- if (H = H || m, Y = Y || O, U !== t) {
10565
+ function c(B, V, O, H, q, j, U) {
10566
+ if (H = H || m, j = j || O, U !== t) {
10576
10567
  if (l) {
10577
10568
  var F = new Error(
10578
10569
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
@@ -10582,22 +10573,22 @@ function bv() {
10582
10573
  var Q = H + ":" + O;
10583
10574
  !g[Q] && // Avoid spamming the console because they are often not actionable except for lib authors
10584
10575
  _ < 3 && (o(
10585
- "You are manually calling a React.PropTypes validation function for the `" + Y + "` prop on `" + H + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
10576
+ "You are manually calling a React.PropTypes validation function for the `" + j + "` prop on `" + H + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
10586
10577
  ), g[Q] = !0, _++);
10587
10578
  }
10588
10579
  }
10589
- return V[O] == null ? B ? V[O] === null ? new b("The " + q + " `" + Y + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new b("The " + q + " `" + Y + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : f(V, O, H, q, Y);
10580
+ return V[O] == null ? B ? V[O] === null ? new b("The " + q + " `" + j + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new b("The " + q + " `" + j + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : f(V, O, H, q, j);
10590
10581
  }
10591
10582
  var k = c.bind(null, !1);
10592
10583
  return k.isRequired = c.bind(null, !0), k;
10593
10584
  }
10594
- function D(f) {
10585
+ function C(f) {
10595
10586
  function g(_, c, k, B, V, O) {
10596
10587
  var H = _[c], q = z(H);
10597
10588
  if (q !== f) {
10598
- var Y = $(H);
10589
+ var j = $(H);
10599
10590
  return new b(
10600
- "Invalid " + B + " `" + V + "` of type " + ("`" + Y + "` supplied to `" + k + "`, expected ") + ("`" + f + "`."),
10591
+ "Invalid " + B + " `" + V + "` of type " + ("`" + j + "` supplied to `" + k + "`, expected ") + ("`" + f + "`."),
10601
10592
  { expectedType: f }
10602
10593
  );
10603
10594
  }
@@ -10605,7 +10596,7 @@ function bv() {
10605
10596
  }
10606
10597
  return y(g);
10607
10598
  }
10608
- function N() {
10599
+ function T() {
10609
10600
  return y(i);
10610
10601
  }
10611
10602
  function S(f) {
@@ -10618,15 +10609,15 @@ function bv() {
10618
10609
  return new b("Invalid " + B + " `" + V + "` of type " + ("`" + H + "` supplied to `" + k + "`, expected an array."));
10619
10610
  }
10620
10611
  for (var q = 0; q < O.length; q++) {
10621
- var Y = f(O, q, k, B, V + "[" + q + "]", t);
10622
- if (Y instanceof Error)
10623
- return Y;
10612
+ var j = f(O, q, k, B, V + "[" + q + "]", t);
10613
+ if (j instanceof Error)
10614
+ return j;
10624
10615
  }
10625
10616
  return null;
10626
10617
  }
10627
10618
  return y(g);
10628
10619
  }
10629
- function C() {
10620
+ function D() {
10630
10621
  function f(g, _, c, k, B) {
10631
10622
  var V = g[_];
10632
10623
  if (!s(V)) {
@@ -10658,7 +10649,7 @@ function bv() {
10658
10649
  }
10659
10650
  return y(g);
10660
10651
  }
10661
- function j(f) {
10652
+ function Y(f) {
10662
10653
  if (!Array.isArray(f))
10663
10654
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
10664
10655
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
@@ -10684,9 +10675,9 @@ function bv() {
10684
10675
  return new b("Invalid " + B + " `" + V + "` of type " + ("`" + H + "` supplied to `" + k + "`, expected an object."));
10685
10676
  for (var q in O)
10686
10677
  if (e(O, q)) {
10687
- var Y = f(O, q, k, B, V + "." + q, t);
10688
- if (Y instanceof Error)
10689
- return Y;
10678
+ var j = f(O, q, k, B, V + "." + q, t);
10679
+ if (j instanceof Error)
10680
+ return j;
10690
10681
  }
10691
10682
  return null;
10692
10683
  }
@@ -10703,8 +10694,8 @@ function bv() {
10703
10694
  ), i;
10704
10695
  }
10705
10696
  function c(k, B, V, O, H) {
10706
- for (var q = [], Y = 0; Y < f.length; Y++) {
10707
- var U = f[Y], F = U(k, B, V, O, H, t);
10697
+ for (var q = [], j = 0; j < f.length; j++) {
10698
+ var U = f[j], F = U(k, B, V, O, H, t);
10708
10699
  if (F == null)
10709
10700
  return null;
10710
10701
  F.data && e(F.data, "expectedType") && q.push(F.data.expectedType);
@@ -10731,10 +10722,10 @@ function bv() {
10731
10722
  if (H !== "object")
10732
10723
  return new b("Invalid " + B + " `" + V + "` of type `" + H + "` " + ("supplied to `" + k + "`, expected `object`."));
10733
10724
  for (var q in f) {
10734
- var Y = f[q];
10735
- if (typeof Y != "function")
10736
- return ce(k, B, V, q, $(Y));
10737
- var U = Y(O, q, k, B, V + "." + q, t);
10725
+ var j = f[q];
10726
+ if (typeof j != "function")
10727
+ return ce(k, B, V, q, $(j));
10728
+ var U = j(O, q, k, B, V + "." + q, t);
10738
10729
  if (U)
10739
10730
  return U;
10740
10731
  }
@@ -10748,16 +10739,16 @@ function bv() {
10748
10739
  if (H !== "object")
10749
10740
  return new b("Invalid " + B + " `" + V + "` of type `" + H + "` " + ("supplied to `" + k + "`, expected `object`."));
10750
10741
  var q = a({}, _[c], f);
10751
- for (var Y in q) {
10752
- var U = f[Y];
10753
- if (e(f, Y) && typeof U != "function")
10754
- return ce(k, B, V, Y, $(U));
10742
+ for (var j in q) {
10743
+ var U = f[j];
10744
+ if (e(f, j) && typeof U != "function")
10745
+ return ce(k, B, V, j, $(U));
10755
10746
  if (!U)
10756
10747
  return new b(
10757
- "Invalid " + B + " `" + V + "` key `" + Y + "` supplied to `" + k + "`.\nBad object: " + JSON.stringify(_[c], null, " ") + `
10748
+ "Invalid " + B + " `" + V + "` key `" + j + "` supplied to `" + k + "`.\nBad object: " + JSON.stringify(_[c], null, " ") + `
10758
10749
  Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
10759
10750
  );
10760
- var F = U(O, Y, k, B, V + "." + Y, t);
10751
+ var F = U(O, j, k, B, V + "." + j, t);
10761
10752
  if (F)
10762
10753
  return F;
10763
10754
  }
@@ -10891,37 +10882,37 @@ if (process.env.NODE_ENV !== "production") {
10891
10882
  } else
10892
10883
  ya.exports = yv()();
10893
10884
  var Dv = ya.exports;
10894
- const le = /* @__PURE__ */ qa(Dv), Ke = le.oneOfType([le.string, le.number]), ds = {
10895
- all: le.bool,
10896
- grid: le.bool,
10897
- aural: le.bool,
10898
- braille: le.bool,
10899
- handheld: le.bool,
10900
- print: le.bool,
10901
- projection: le.bool,
10902
- screen: le.bool,
10903
- tty: le.bool,
10904
- tv: le.bool,
10905
- embossed: le.bool
10885
+ const se = /* @__PURE__ */ qa(Dv), Ke = se.oneOfType([se.string, se.number]), ds = {
10886
+ all: se.bool,
10887
+ grid: se.bool,
10888
+ aural: se.bool,
10889
+ braille: se.bool,
10890
+ handheld: se.bool,
10891
+ print: se.bool,
10892
+ projection: se.bool,
10893
+ screen: se.bool,
10894
+ tty: se.bool,
10895
+ tv: se.bool,
10896
+ embossed: se.bool
10906
10897
  }, Cv = {
10907
- orientation: le.oneOf(["portrait", "landscape"]),
10908
- scan: le.oneOf(["progressive", "interlace"]),
10909
- aspectRatio: le.string,
10910
- deviceAspectRatio: le.string,
10898
+ orientation: se.oneOf(["portrait", "landscape"]),
10899
+ scan: se.oneOf(["progressive", "interlace"]),
10900
+ aspectRatio: se.string,
10901
+ deviceAspectRatio: se.string,
10911
10902
  height: Ke,
10912
10903
  deviceHeight: Ke,
10913
10904
  width: Ke,
10914
10905
  deviceWidth: Ke,
10915
- color: le.bool,
10916
- colorIndex: le.bool,
10917
- monochrome: le.bool,
10906
+ color: se.bool,
10907
+ colorIndex: se.bool,
10908
+ monochrome: se.bool,
10918
10909
  resolution: Ke,
10919
10910
  type: Object.keys(ds)
10920
10911
  }, { type: Cw, ...Sv } = Cv, Mv = {
10921
- minAspectRatio: le.string,
10922
- maxAspectRatio: le.string,
10923
- minDeviceAspectRatio: le.string,
10924
- maxDeviceAspectRatio: le.string,
10912
+ minAspectRatio: se.string,
10913
+ maxAspectRatio: se.string,
10914
+ minDeviceAspectRatio: se.string,
10915
+ maxDeviceAspectRatio: se.string,
10925
10916
  minHeight: Ke,
10926
10917
  maxHeight: Ke,
10927
10918
  minDeviceHeight: Ke,
@@ -10930,12 +10921,12 @@ const le = /* @__PURE__ */ qa(Dv), Ke = le.oneOfType([le.string, le.number]), ds
10930
10921
  maxWidth: Ke,
10931
10922
  minDeviceWidth: Ke,
10932
10923
  maxDeviceWidth: Ke,
10933
- minColor: le.number,
10934
- maxColor: le.number,
10935
- minColorIndex: le.number,
10936
- maxColorIndex: le.number,
10937
- minMonochrome: le.number,
10938
- maxMonochrome: le.number,
10924
+ minColor: se.number,
10925
+ maxColor: se.number,
10926
+ minColorIndex: se.number,
10927
+ maxColorIndex: se.number,
10928
+ minMonochrome: se.number,
10929
+ maxMonochrome: se.number,
10939
10930
  minResolution: Ke,
10940
10931
  maxResolution: Ke,
10941
10932
  ...Sv
@@ -11036,8 +11027,8 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
11036
11027
  l.current = o, p.current = performance.now();
11037
11028
  const w = (b) => {
11038
11029
  if (!p.current) return;
11039
- const y = b - p.current, D = Math.min(y / t, 1), N = D < 0.5 ? 4 * D * D * D : 1 - Math.pow(-2 * D + 2, 3) / 2, S = l.current + (u.current - l.current) * N, C = Math.max(0, Math.floor(S));
11040
- i(C), D < 1 && (s.current = requestAnimationFrame(w));
11030
+ const y = b - p.current, C = Math.min(y / t, 1), T = C < 0.5 ? 4 * C * C * C : 1 - Math.pow(-2 * C + 2, 3) / 2, S = l.current + (u.current - l.current) * T, D = Math.max(0, Math.floor(S));
11031
+ i(D), C < 1 && (s.current = requestAnimationFrame(w));
11041
11032
  };
11042
11033
  return s.current = requestAnimationFrame(w), () => {
11043
11034
  s.current && cancelAnimationFrame(s.current);
@@ -11135,28 +11126,28 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
11135
11126
  maxHeightList: w = Qv,
11136
11127
  isVisibleDefaultTitle: b = !0,
11137
11128
  isScrollableList: y = !1,
11138
- isAbsolutePositionError: D = !1,
11139
- classNameRoot: N,
11129
+ isAbsolutePositionError: C = !1,
11130
+ classNameRoot: T,
11140
11131
  classNameError: S,
11141
- classNameLabel: C,
11132
+ classNameLabel: D,
11142
11133
  classNameBaseTooltipRoot: x
11143
- } = n, [A, j] = Ce(!1), P = Fe(null);
11134
+ } = n, [A, Y] = Ce(!1), P = Fe(null);
11144
11135
  Na(
11145
11136
  [P],
11146
11137
  () => {
11147
- j(!1);
11138
+ Y(!1);
11148
11139
  },
11149
11140
  A
11150
11141
  );
11151
11142
  const L = a.find((_) => _.value === e), G = (_, c) => {
11152
- i(_, { value: c, name: r }), j(!1);
11143
+ i(_, { value: c, name: r }), Y(!1);
11153
11144
  }, ce = () => {
11154
- m || j(!A);
11145
+ m || Y(!A);
11155
11146
  }, ne = E({
11156
11147
  [Ve.spSelect]: !0,
11157
11148
  [Ve.spSelect_error]: !!l,
11158
- [Ve.spSelect_absolutePositionError]: D,
11159
- ...N && { [N]: !0 }
11149
+ [Ve.spSelect_absolutePositionError]: C,
11150
+ ...T && { [T]: !0 }
11160
11151
  }), K = E({
11161
11152
  [Ve.spSelect__container]: !0
11162
11153
  }), te = E({
@@ -11172,10 +11163,10 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
11172
11163
  [Ve.spSelect__list]: !0,
11173
11164
  [Ve.spSelect__list_scrollable]: y
11174
11165
  }), X = E({
11175
- ...C && { [C]: !0 }
11166
+ ...D && { [D]: !0 }
11176
11167
  }), h = E({
11177
11168
  [Ve.spSelect__error]: !0,
11178
- [Ve.spSelect__error_absolutePosition]: D,
11169
+ [Ve.spSelect__error_absolutePosition]: C,
11179
11170
  ...S && { [S]: !0 }
11180
11171
  }), f = () => /* @__PURE__ */ ue(
11181
11172
  "div",
@@ -11302,10 +11293,10 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
11302
11293
  isNotTableOnNotDesktop: e = !1,
11303
11294
  isDesktop: r = !0,
11304
11295
  classNameRoot: o
11305
- } = n, i = a.map((C) => t ? {
11306
- ...C,
11307
- isVisible: t.some((x) => !!x[C.key])
11308
- } : C).filter((C) => C.isVisible), s = E({
11296
+ } = n, i = a.map((D) => t ? {
11297
+ ...D,
11298
+ isVisible: t.some((x) => !!x[D.key])
11299
+ } : D).filter((D) => D.isVisible), s = E({
11309
11300
  [rt.spTable]: !0,
11310
11301
  ...o && { [o]: !0 }
11311
11302
  }), l = E({
@@ -11314,28 +11305,28 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
11314
11305
  [rt.spTable__tdColorContent]: !0
11315
11306
  }), u = E({
11316
11307
  [rt.spTable__emptyPage]: !0
11317
- }), [d, m] = Ce(null), v = (C) => {
11318
- const { text: x, rowIndex: A, colIndex: j } = C;
11319
- (d == null ? void 0 : d.rowIndex) === A && (d == null ? void 0 : d.colIndex) === j || navigator.clipboard.writeText(x).then(() => {
11320
- m({ rowIndex: A, colIndex: j });
11308
+ }), [d, m] = Ce(null), v = (D) => {
11309
+ const { text: x, rowIndex: A, colIndex: Y } = D;
11310
+ (d == null ? void 0 : d.rowIndex) === A && (d == null ? void 0 : d.colIndex) === Y || navigator.clipboard.writeText(x).then(() => {
11311
+ m({ rowIndex: A, colIndex: Y });
11321
11312
  }).catch((P) => {
11322
11313
  console.error("Ошибка при копировании:", P);
11323
11314
  });
11324
11315
  }, w = () => {
11325
11316
  m(null);
11326
11317
  }, b = () => /* @__PURE__ */ M("div", { className: u, children: "Данные отсутствуют" }), y = ({
11327
- row: C,
11318
+ row: D,
11328
11319
  col: x
11329
11320
  }) => {
11330
- const A = C[x.key];
11321
+ const A = D[x.key];
11331
11322
  if (!A) return null;
11332
- const [j, P] = A.split(/\s*\{\{|}}\s*/).filter(Boolean);
11323
+ const [Y, P] = A.split(/\s*\{\{|}}\s*/).filter(Boolean);
11333
11324
  return /* @__PURE__ */ ue("span", { children: [
11334
- j,
11325
+ Y,
11335
11326
  P && /* @__PURE__ */ M("span", { className: p, children: ` ${P}` })
11336
11327
  ] });
11337
- }, D = () => t && Array.isArray(t) && t.length > 0 ? /* @__PURE__ */ ue("table", { className: s, children: [
11338
- /* @__PURE__ */ M("colgroup", { children: i.map((C, x, A) => /* @__PURE__ */ M(
11328
+ }, C = () => t && Array.isArray(t) && t.length > 0 ? /* @__PURE__ */ ue("table", { className: s, children: [
11329
+ /* @__PURE__ */ M("colgroup", { children: i.map((D, x, A) => /* @__PURE__ */ M(
11339
11330
  "col",
11340
11331
  {
11341
11332
  style: {
@@ -11344,16 +11335,16 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
11344
11335
  },
11345
11336
  x
11346
11337
  )) }),
11347
- /* @__PURE__ */ M("thead", { children: /* @__PURE__ */ M("tr", { children: i.map((C, x) => /* @__PURE__ */ M("th", { children: C.title }, x)) }) }),
11348
- /* @__PURE__ */ M("tbody", { children: t.map((C, x) => C ? /* @__PURE__ */ M("tr", { children: i.map((A, j) => {
11349
- const P = (d == null ? void 0 : d.rowIndex) === x && (d == null ? void 0 : d.colIndex) === j;
11338
+ /* @__PURE__ */ M("thead", { children: /* @__PURE__ */ M("tr", { children: i.map((D, x) => /* @__PURE__ */ M("th", { children: D.title }, x)) }) }),
11339
+ /* @__PURE__ */ M("tbody", { children: t.map((D, x) => D ? /* @__PURE__ */ M("tr", { children: i.map((A, Y) => {
11340
+ const P = (d == null ? void 0 : d.rowIndex) === x && (d == null ? void 0 : d.colIndex) === Y;
11350
11341
  return /* @__PURE__ */ M(
11351
11342
  "td",
11352
11343
  {
11353
11344
  onMouseLeave: P ? w : void 0,
11354
11345
  children: /* @__PURE__ */ ue("div", { className: l, children: [
11355
- /* @__PURE__ */ M("span", { children: A.isColorContentsCurlyBrackets ? y({ row: C, col: A }) : C[A.key] }),
11356
- !ba(C[A.key]) && A.isBeCopiedValue && /* @__PURE__ */ M(
11346
+ /* @__PURE__ */ M("span", { children: A.isColorContentsCurlyBrackets ? y({ row: D, col: A }) : D[A.key] }),
11347
+ !ba(D[A.key]) && A.isBeCopiedValue && /* @__PURE__ */ M(
11357
11348
  Be,
11358
11349
  {
11359
11350
  className: E({
@@ -11362,31 +11353,31 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
11362
11353
  }),
11363
11354
  name: P ? pe.Check : pe.Copy,
11364
11355
  onClick: () => {
11365
- const L = C[A.key];
11356
+ const L = D[A.key];
11366
11357
  if (!L) return null;
11367
11358
  v({
11368
11359
  text: L,
11369
11360
  rowIndex: x,
11370
- colIndex: j
11361
+ colIndex: Y
11371
11362
  });
11372
11363
  }
11373
11364
  }
11374
11365
  )
11375
11366
  ] })
11376
11367
  },
11377
- `${x}:${j}`
11368
+ `${x}:${Y}`
11378
11369
  );
11379
11370
  }) }, x) : null) })
11380
- ] }) : b(), N = () => t && Array.isArray(t) && t.length > 0 ? /* @__PURE__ */ M(
11371
+ ] }) : b(), T = () => t && Array.isArray(t) && t.length > 0 ? /* @__PURE__ */ M(
11381
11372
  "div",
11382
11373
  {
11383
11374
  className: E({
11384
11375
  [rt.spStringsGroup]: !0
11385
11376
  }),
11386
- children: t.map((C, x) => C ? /* @__PURE__ */ M("div", { children: i.map((A, j) => {
11387
- if (ba(C[A.key]))
11377
+ children: t.map((D, x) => D ? /* @__PURE__ */ M("div", { children: i.map((A, Y) => {
11378
+ if (ba(D[A.key]))
11388
11379
  return null;
11389
- const P = (d == null ? void 0 : d.rowIndex) === x && (d == null ? void 0 : d.colIndex) === j;
11380
+ const P = (d == null ? void 0 : d.rowIndex) === x && (d == null ? void 0 : d.colIndex) === Y;
11390
11381
  return /* @__PURE__ */ ue(
11391
11382
  "div",
11392
11383
  {
@@ -11411,7 +11402,7 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
11411
11402
  [rt.spStringsGroup__groupItemContent]: !0
11412
11403
  }),
11413
11404
  children: [
11414
- /* @__PURE__ */ M("span", { children: A.isColorContentsCurlyBrackets ? y({ row: C, col: A }) : C[A.key] }),
11405
+ /* @__PURE__ */ M("span", { children: A.isColorContentsCurlyBrackets ? y({ row: D, col: A }) : D[A.key] }),
11415
11406
  A.isBeCopiedValue && /* @__PURE__ */ M(
11416
11407
  Be,
11417
11408
  {
@@ -11421,12 +11412,12 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
11421
11412
  }),
11422
11413
  name: P ? pe.Check : pe.Copy,
11423
11414
  onClick: () => {
11424
- const L = C[A.key];
11415
+ const L = D[A.key];
11425
11416
  if (!L) return null;
11426
11417
  v({
11427
11418
  text: L,
11428
11419
  rowIndex: x,
11429
- colIndex: j
11420
+ colIndex: Y
11430
11421
  });
11431
11422
  }
11432
11423
  }
@@ -11436,12 +11427,12 @@ const Tv = (n) => `not ${n}`, Pv = (n, a) => {
11436
11427
  )
11437
11428
  ]
11438
11429
  },
11439
- j
11430
+ Y
11440
11431
  );
11441
11432
  }) }, x) : null)
11442
11433
  }
11443
11434
  ) : b();
11444
- return e ? r ? D() : N() : D();
11435
+ return e ? r ? C() : T() : C();
11445
11436
  }, E_ = "_spTabs_1rc64_43", N_ = "_spTabs_separated_1rc64_48", T_ = "_spTabs__tabElement_1rc64_48", P_ = "_spTabs__tabElement_active_1rc64_85", I_ = "_spTabs__tooltip_1rc64_92", jt = {
11446
11437
  spTabs: E_,
11447
11438
  spTabs_separated: N_,
@@ -13230,7 +13221,7 @@ var $a = /* @__PURE__ */ hi(function(n, a) {
13230
13221
  return {
13231
13222
  open: o
13232
13223
  };
13233
- }, [o]), /* @__PURE__ */ T.createElement(Ls, null, t(Ee(Ee({}, i), {}, {
13224
+ }, [o]), /* @__PURE__ */ N.createElement(Ls, null, t(Ee(Ee({}, i), {}, {
13234
13225
  open: o
13235
13226
  })));
13236
13227
  });
@@ -13268,7 +13259,7 @@ $a.propTypes = {
13268
13259
  * @param {File[]} params.acceptedFiles Accepted files
13269
13260
  * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
13270
13261
  */
13271
- children: le.func,
13262
+ children: se.func,
13272
13263
  /**
13273
13264
  * Set accepted file types.
13274
13265
  * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
@@ -13276,90 +13267,90 @@ $a.propTypes = {
13276
13267
  * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
13277
13268
  * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
13278
13269
  */
13279
- accept: le.objectOf(le.arrayOf(le.string)),
13270
+ accept: se.objectOf(se.arrayOf(se.string)),
13280
13271
  /**
13281
13272
  * Allow drag 'n' drop (or selection from the file dialog) of multiple files
13282
13273
  */
13283
- multiple: le.bool,
13274
+ multiple: se.bool,
13284
13275
  /**
13285
13276
  * If false, allow dropped items to take over the current browser window
13286
13277
  */
13287
- preventDropOnDocument: le.bool,
13278
+ preventDropOnDocument: se.bool,
13288
13279
  /**
13289
13280
  * If true, disables click to open the native file selection dialog
13290
13281
  */
13291
- noClick: le.bool,
13282
+ noClick: se.bool,
13292
13283
  /**
13293
13284
  * If true, disables SPACE/ENTER to open the native file selection dialog.
13294
13285
  * Note that it also stops tracking the focus state.
13295
13286
  */
13296
- noKeyboard: le.bool,
13287
+ noKeyboard: se.bool,
13297
13288
  /**
13298
13289
  * If true, disables drag 'n' drop
13299
13290
  */
13300
- noDrag: le.bool,
13291
+ noDrag: se.bool,
13301
13292
  /**
13302
13293
  * If true, stops drag event propagation to parents
13303
13294
  */
13304
- noDragEventsBubbling: le.bool,
13295
+ noDragEventsBubbling: se.bool,
13305
13296
  /**
13306
13297
  * Minimum file size (in bytes)
13307
13298
  */
13308
- minSize: le.number,
13299
+ minSize: se.number,
13309
13300
  /**
13310
13301
  * Maximum file size (in bytes)
13311
13302
  */
13312
- maxSize: le.number,
13303
+ maxSize: se.number,
13313
13304
  /**
13314
13305
  * Maximum accepted number of files
13315
13306
  * The default value is 0 which means there is no limitation to how many files are accepted.
13316
13307
  */
13317
- maxFiles: le.number,
13308
+ maxFiles: se.number,
13318
13309
  /**
13319
13310
  * Enable/disable the dropzone
13320
13311
  */
13321
- disabled: le.bool,
13312
+ disabled: se.bool,
13322
13313
  /**
13323
13314
  * Use this to provide a custom file aggregator
13324
13315
  *
13325
13316
  * @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
13326
13317
  */
13327
- getFilesFromEvent: le.func,
13318
+ getFilesFromEvent: se.func,
13328
13319
  /**
13329
13320
  * Cb for when closing the file dialog with no selection
13330
13321
  */
13331
- onFileDialogCancel: le.func,
13322
+ onFileDialogCancel: se.func,
13332
13323
  /**
13333
13324
  * Cb for when opening the file dialog
13334
13325
  */
13335
- onFileDialogOpen: le.func,
13326
+ onFileDialogOpen: se.func,
13336
13327
  /**
13337
13328
  * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
13338
13329
  * to open the file picker instead of using an `<input type="file">` click event.
13339
13330
  */
13340
- useFsAccessApi: le.bool,
13331
+ useFsAccessApi: se.bool,
13341
13332
  /**
13342
13333
  * Set to true to focus the root element on render
13343
13334
  */
13344
- autoFocus: le.bool,
13335
+ autoFocus: se.bool,
13345
13336
  /**
13346
13337
  * Cb for when the `dragenter` event occurs.
13347
13338
  *
13348
13339
  * @param {DragEvent} event
13349
13340
  */
13350
- onDragEnter: le.func,
13341
+ onDragEnter: se.func,
13351
13342
  /**
13352
13343
  * Cb for when the `dragleave` event occurs
13353
13344
  *
13354
13345
  * @param {DragEvent} event
13355
13346
  */
13356
- onDragLeave: le.func,
13347
+ onDragLeave: se.func,
13357
13348
  /**
13358
13349
  * Cb for when the `dragover` event occurs
13359
13350
  *
13360
13351
  * @param {DragEvent} event
13361
13352
  */
13362
- onDragOver: le.func,
13353
+ onDragOver: se.func,
13363
13354
  /**
13364
13355
  * Cb for when the `drop` event occurs.
13365
13356
  * Note that this callback is invoked after the `getFilesFromEvent` callback is done.
@@ -13390,7 +13381,7 @@ $a.propTypes = {
13390
13381
  * @param {FileRejection[]} fileRejections
13391
13382
  * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
13392
13383
  */
13393
- onDrop: le.func,
13384
+ onDrop: se.func,
13394
13385
  /**
13395
13386
  * Cb for when the `drop` event occurs.
13396
13387
  * Note that if no files are accepted, this callback is not invoked.
@@ -13398,7 +13389,7 @@ $a.propTypes = {
13398
13389
  * @param {File[]} files
13399
13390
  * @param {(DragEvent|Event)} event
13400
13391
  */
13401
- onDropAccepted: le.func,
13392
+ onDropAccepted: se.func,
13402
13393
  /**
13403
13394
  * Cb for when the `drop` event occurs.
13404
13395
  * Note that if no files are rejected, this callback is not invoked.
@@ -13406,19 +13397,19 @@ $a.propTypes = {
13406
13397
  * @param {FileRejection[]} fileRejections
13407
13398
  * @param {(DragEvent|Event)} event
13408
13399
  */
13409
- onDropRejected: le.func,
13400
+ onDropRejected: se.func,
13410
13401
  /**
13411
13402
  * Cb for when there's some error from any of the promises.
13412
13403
  *
13413
13404
  * @param {Error} error
13414
13405
  */
13415
- onError: le.func,
13406
+ onError: se.func,
13416
13407
  /**
13417
13408
  * Custom validation function. It must return null if there's no errors.
13418
13409
  * @param {File} file
13419
13410
  * @returns {FileError|FileError[]|null}
13420
13411
  */
13421
- validator: le.func
13412
+ validator: se.func
13422
13413
  };
13423
13414
  var Sa = {
13424
13415
  isFocused: !1,
@@ -13430,7 +13421,7 @@ var Sa = {
13430
13421
  fileRejections: []
13431
13422
  };
13432
13423
  function Ms() {
13433
- var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = Ee(Ee({}, Ss), n), t = a.accept, e = a.disabled, r = a.getFilesFromEvent, o = a.maxSize, i = a.minSize, s = a.multiple, l = a.maxFiles, p = a.onDragEnter, u = a.onDragLeave, d = a.onDragOver, m = a.onDrop, v = a.onDropAccepted, w = a.onDropRejected, b = a.onFileDialogCancel, y = a.onFileDialogOpen, D = a.useFsAccessApi, N = a.autoFocus, S = a.preventDropOnDocument, C = a.noClick, x = a.noKeyboard, A = a.noDrag, j = a.noDragEventsBubbling, P = a.onError, L = a.validator, G = tn(function() {
13424
+ var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = Ee(Ee({}, Ss), n), t = a.accept, e = a.disabled, r = a.getFilesFromEvent, o = a.maxSize, i = a.minSize, s = a.multiple, l = a.maxFiles, p = a.onDragEnter, u = a.onDragLeave, d = a.onDragOver, m = a.onDrop, v = a.onDropAccepted, w = a.onDropRejected, b = a.onFileDialogCancel, y = a.onFileDialogOpen, C = a.useFsAccessApi, T = a.autoFocus, S = a.preventDropOnDocument, D = a.noClick, x = a.noKeyboard, A = a.noDrag, Y = a.noDragEventsBubbling, P = a.onError, L = a.validator, G = tn(function() {
13434
13425
  return cg(t);
13435
13426
  }, [t]), ce = tn(function() {
13436
13427
  return lg(t);
@@ -13438,11 +13429,11 @@ function Ms() {
13438
13429
  return typeof y == "function" ? y : fi;
13439
13430
  }, [y]), K = tn(function() {
13440
13431
  return typeof b == "function" ? b : fi;
13441
- }, [b]), te = Fe(null), W = Fe(null), z = Os(Dg, Sa), $ = ua(z, 2), X = $[0], h = $[1], f = X.isFocused, g = X.isFileDialogActive, _ = Fe(typeof window < "u" && window.isSecureContext && D && sg()), c = function() {
13432
+ }, [b]), te = Fe(null), W = Fe(null), z = Os(Dg, Sa), $ = ua(z, 2), X = $[0], h = $[1], f = X.isFocused, g = X.isFileDialogActive, _ = Fe(typeof window < "u" && window.isSecureContext && C && sg()), c = function() {
13442
13433
  !_.current && g && setTimeout(function() {
13443
13434
  if (W.current) {
13444
- var se = W.current.files;
13445
- se.length || (h({
13435
+ var ie = W.current.files;
13436
+ ie.length || (h({
13446
13437
  type: "closeDialog"
13447
13438
  }), K());
13448
13439
  }
@@ -13453,24 +13444,24 @@ function Ms() {
13453
13444
  window.removeEventListener("focus", c, !1);
13454
13445
  };
13455
13446
  }, [W, g, K, _]);
13456
- var k = Fe([]), B = function(se) {
13457
- te.current && te.current.contains(se.target) || (se.preventDefault(), k.current = []);
13447
+ var k = Fe([]), B = function(ie) {
13448
+ te.current && te.current.contains(ie.target) || (ie.preventDefault(), k.current = []);
13458
13449
  };
13459
13450
  Re(function() {
13460
13451
  return S && (document.addEventListener("dragover", ui, !1), document.addEventListener("drop", B, !1)), function() {
13461
13452
  S && (document.removeEventListener("dragover", ui), document.removeEventListener("drop", B));
13462
13453
  };
13463
13454
  }, [te, S]), Re(function() {
13464
- return !e && N && te.current && te.current.focus(), function() {
13455
+ return !e && T && te.current && te.current.focus(), function() {
13465
13456
  };
13466
- }, [te, N, e]);
13457
+ }, [te, T, e]);
13467
13458
  var V = Ge(function(Z) {
13468
13459
  P ? P(Z) : console.error(Z);
13469
13460
  }, [P]), O = Ge(function(Z) {
13470
- Z.preventDefault(), Z.persist(), _e(Z), k.current = [].concat(vg(k.current), [Z.target]), Qn(Z) && Promise.resolve(r(Z)).then(function(se) {
13471
- if (!(vr(Z) && !j)) {
13472
- var Me = se.length, Pe = Me > 0 && rg({
13473
- files: se,
13461
+ Z.preventDefault(), Z.persist(), _e(Z), k.current = [].concat(vg(k.current), [Z.target]), Qn(Z) && Promise.resolve(r(Z)).then(function(ie) {
13462
+ if (!(vr(Z) && !Y)) {
13463
+ var Me = ie.length, Pe = Me > 0 && rg({
13464
+ files: ie,
13474
13465
  accept: G,
13475
13466
  minSize: i,
13476
13467
  maxSize: o,
@@ -13485,30 +13476,30 @@ function Ms() {
13485
13476
  type: "setDraggedFiles"
13486
13477
  }), p && p(Z);
13487
13478
  }
13488
- }).catch(function(se) {
13489
- return V(se);
13479
+ }).catch(function(ie) {
13480
+ return V(ie);
13490
13481
  });
13491
- }, [r, p, V, j, G, i, o, s, l, L]), H = Ge(function(Z) {
13482
+ }, [r, p, V, Y, G, i, o, s, l, L]), H = Ge(function(Z) {
13492
13483
  Z.preventDefault(), Z.persist(), _e(Z);
13493
- var se = Qn(Z);
13494
- if (se && Z.dataTransfer)
13484
+ var ie = Qn(Z);
13485
+ if (ie && Z.dataTransfer)
13495
13486
  try {
13496
13487
  Z.dataTransfer.dropEffect = "copy";
13497
13488
  } catch {
13498
13489
  }
13499
- return se && d && d(Z), !1;
13500
- }, [d, j]), q = Ge(function(Z) {
13490
+ return ie && d && d(Z), !1;
13491
+ }, [d, Y]), q = Ge(function(Z) {
13501
13492
  Z.preventDefault(), Z.persist(), _e(Z);
13502
- var se = k.current.filter(function(Pe) {
13493
+ var ie = k.current.filter(function(Pe) {
13503
13494
  return te.current && te.current.contains(Pe);
13504
- }), Me = se.indexOf(Z.target);
13505
- Me !== -1 && se.splice(Me, 1), k.current = se, !(se.length > 0) && (h({
13495
+ }), Me = ie.indexOf(Z.target);
13496
+ Me !== -1 && ie.splice(Me, 1), k.current = ie, !(ie.length > 0) && (h({
13506
13497
  type: "setDraggedFiles",
13507
13498
  isDragActive: !1,
13508
13499
  isDragAccept: !1,
13509
13500
  isDragReject: !1
13510
13501
  }), Qn(Z) && u && u(Z));
13511
- }, [te, u, j]), Y = Ge(function(Z, se) {
13502
+ }, [te, u, Y]), j = Ge(function(Z, ie) {
13512
13503
  var Me = [], Pe = [];
13513
13504
  Z.forEach(function(Je) {
13514
13505
  var gn = ys(Je, G), en = ua(gn, 2), Ir = en[0], Or = en[1], Rr = xs(Je, i, o), Fn = ua(Rr, 2), Lr = Fn[0], Fr = Fn[1], Ar = L ? L(Je) : null;
@@ -13533,16 +13524,16 @@ function Ms() {
13533
13524
  fileRejections: Pe,
13534
13525
  isDragReject: Pe.length > 0,
13535
13526
  type: "setFiles"
13536
- }), m && m(Me, Pe, se), Pe.length > 0 && w && w(Pe, se), Me.length > 0 && v && v(Me, se);
13527
+ }), m && m(Me, Pe, ie), Pe.length > 0 && w && w(Pe, ie), Me.length > 0 && v && v(Me, ie);
13537
13528
  }, [h, s, G, i, o, l, m, v, w, L]), U = Ge(function(Z) {
13538
- Z.preventDefault(), Z.persist(), _e(Z), k.current = [], Qn(Z) && Promise.resolve(r(Z)).then(function(se) {
13539
- vr(Z) && !j || Y(se, Z);
13540
- }).catch(function(se) {
13541
- return V(se);
13529
+ Z.preventDefault(), Z.persist(), _e(Z), k.current = [], Qn(Z) && Promise.resolve(r(Z)).then(function(ie) {
13530
+ vr(Z) && !Y || j(ie, Z);
13531
+ }).catch(function(ie) {
13532
+ return V(ie);
13542
13533
  }), h({
13543
13534
  type: "reset"
13544
13535
  });
13545
- }, [r, Y, V, j]), F = Ge(function() {
13536
+ }, [r, j, V, Y]), F = Ge(function() {
13546
13537
  if (_.current) {
13547
13538
  h({
13548
13539
  type: "openDialog"
@@ -13551,23 +13542,23 @@ function Ms() {
13551
13542
  multiple: s,
13552
13543
  types: ce
13553
13544
  };
13554
- window.showOpenFilePicker(Z).then(function(se) {
13555
- return r(se);
13556
- }).then(function(se) {
13557
- Y(se, null), h({
13545
+ window.showOpenFilePicker(Z).then(function(ie) {
13546
+ return r(ie);
13547
+ }).then(function(ie) {
13548
+ j(ie, null), h({
13558
13549
  type: "closeDialog"
13559
13550
  });
13560
- }).catch(function(se) {
13561
- pg(se) ? (K(se), h({
13551
+ }).catch(function(ie) {
13552
+ pg(ie) ? (K(ie), h({
13562
13553
  type: "closeDialog"
13563
- })) : ug(se) ? (_.current = !1, W.current ? (W.current.value = null, W.current.click()) : V(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : V(se);
13554
+ })) : ug(ie) ? (_.current = !1, W.current ? (W.current.value = null, W.current.click()) : V(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : V(ie);
13564
13555
  });
13565
13556
  return;
13566
13557
  }
13567
13558
  W.current && (h({
13568
13559
  type: "openDialog"
13569
13560
  }), ne(), W.current.value = null, W.current.click());
13570
- }, [h, ne, K, D, Y, V, ce, s]), Q = Ge(function(Z) {
13561
+ }, [h, ne, K, C, j, V, ce, s]), Q = Ge(function(Z) {
13571
13562
  !te.current || !te.current.isEqualNode(Z.target) || (Z.key === " " || Z.key === "Enter" || Z.keyCode === 32 || Z.keyCode === 13) && (Z.preventDefault(), F());
13572
13563
  }, [te, F]), I = Ge(function() {
13573
13564
  h({
@@ -13577,24 +13568,24 @@ function Ms() {
13577
13568
  h({
13578
13569
  type: "blur"
13579
13570
  });
13580
- }, []), ie = Ge(function() {
13581
- C || (ig() ? setTimeout(F, 0) : F());
13582
- }, [C, F]), ae = function(se) {
13583
- return e ? null : se;
13584
- }, de = function(se) {
13585
- return x ? null : ae(se);
13586
- }, fe = function(se) {
13587
- return A ? null : ae(se);
13588
- }, _e = function(se) {
13589
- j && se.stopPropagation();
13571
+ }, []), le = Ge(function() {
13572
+ D || (ig() ? setTimeout(F, 0) : F());
13573
+ }, [D, F]), ae = function(ie) {
13574
+ return e ? null : ie;
13575
+ }, de = function(ie) {
13576
+ return x ? null : ae(ie);
13577
+ }, fe = function(ie) {
13578
+ return A ? null : ae(ie);
13579
+ }, _e = function(ie) {
13580
+ Y && ie.stopPropagation();
13590
13581
  }, Ae = tn(function() {
13591
13582
  return function() {
13592
- var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, se = Z.refKey, Me = se === void 0 ? "ref" : se, Pe = Z.role, Je = Z.onKeyDown, gn = Z.onFocus, en = Z.onBlur, Ir = Z.onClick, Or = Z.onDragEnter, Rr = Z.onDragOver, Fn = Z.onDragLeave, Lr = Z.onDrop, Fr = _r(Z, mg);
13583
+ var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, ie = Z.refKey, Me = ie === void 0 ? "ref" : ie, Pe = Z.role, Je = Z.onKeyDown, gn = Z.onFocus, en = Z.onBlur, Ir = Z.onClick, Or = Z.onDragEnter, Rr = Z.onDragOver, Fn = Z.onDragLeave, Lr = Z.onDrop, Fr = _r(Z, mg);
13593
13584
  return Ee(Ee(Ca({
13594
13585
  onKeyDown: de(mt(Je, Q)),
13595
13586
  onFocus: de(mt(gn, I)),
13596
13587
  onBlur: de(mt(en, J)),
13597
- onClick: ae(mt(Ir, ie)),
13588
+ onClick: ae(mt(Ir, le)),
13598
13589
  onDragEnter: fe(mt(Or, O)),
13599
13590
  onDragOver: fe(mt(Rr, H)),
13600
13591
  onDragLeave: fe(mt(Fn, q)),
@@ -13604,11 +13595,11 @@ function Ms() {
13604
13595
  tabIndex: 0
13605
13596
  } : {}), Fr);
13606
13597
  };
13607
- }, [te, Q, I, J, ie, O, H, q, U, x, A, e]), Le = Ge(function(Z) {
13598
+ }, [te, Q, I, J, le, O, H, q, U, x, A, e]), Le = Ge(function(Z) {
13608
13599
  Z.stopPropagation();
13609
13600
  }, []), Ye = tn(function() {
13610
13601
  return function() {
13611
- var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, se = Z.refKey, Me = se === void 0 ? "ref" : se, Pe = Z.onChange, Je = Z.onClick, gn = _r(Z, hg), en = Ca({
13602
+ var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, ie = Z.refKey, Me = ie === void 0 ? "ref" : ie, Pe = Z.onChange, Je = Z.onClick, gn = _r(Z, hg), en = Ca({
13612
13603
  accept: G,
13613
13604
  multiple: s,
13614
13605
  type: "file",
@@ -13756,12 +13747,12 @@ const Cg = (n) => Ms(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
13756
13747
  b([..._, ...w]), r(c, e);
13757
13748
  },
13758
13749
  [w, l, s, e, r]
13759
- ), { getRootProps: D, getInputProps: N } = Cg({
13750
+ ), { getRootProps: C, getInputProps: T } = Cg({
13760
13751
  accept: o,
13761
13752
  onDrop: y,
13762
13753
  multiple: s,
13763
13754
  disabled: i
13764
- }), S = w ? (w == null ? void 0 : w.length) > 0 : void 0, C = [...l.map((f) => ({ file: f, errors: null })), ...w], x = (C == null ? void 0 : C.length) > 0 || (w == null ? void 0 : w.length) > 0, A = t === "input", j = t === "dropzone", P = E({
13755
+ }), S = w ? (w == null ? void 0 : w.length) > 0 : void 0, D = [...l.map((f) => ({ file: f, errors: null })), ...w], x = (D == null ? void 0 : D.length) > 0 || (w == null ? void 0 : w.length) > 0, A = t === "input", Y = t === "dropzone", P = E({
13765
13756
  [ge.spUploadFiles]: !0,
13766
13757
  [ge[`spUploadFiles--variant-${t}`]]: t,
13767
13758
  [ge.spUploadFiles_error]: S && !s && v && v.length > 0,
@@ -13807,12 +13798,12 @@ const Cg = (n) => Ms(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
13807
13798
  return /* @__PURE__ */ M(
13808
13799
  kn,
13809
13800
  {
13810
- text: C[0].file.name,
13801
+ text: D[0].file.name,
13811
13802
  classNameTooltipRoot: E(ge.spUploadFiles__fileNameContainer),
13812
13803
  classNameRoot: E(ge.spUploadFiles__fileName)
13813
13804
  }
13814
13805
  );
13815
- }, z = () => /* @__PURE__ */ M("ul", { className: G, children: C.map(({ file: f, errors: g }, _) => {
13806
+ }, z = () => /* @__PURE__ */ M("ul", { className: G, children: D.map(({ file: f, errors: g }, _) => {
13816
13807
  const c = g ? (g == null ? void 0 : g.length) > 0 : void 0, k = () => g ? g == null ? void 0 : g.map(rw).join(", ") : "";
13817
13808
  return /* @__PURE__ */ ue(
13818
13809
  "li",
@@ -13898,12 +13889,12 @@ const Cg = (n) => Ms(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
13898
13889
  return /* @__PURE__ */ M(
13899
13890
  Sh,
13900
13891
  {
13901
- getRootProps: D,
13902
- getInputProps: N,
13892
+ getRootProps: C,
13893
+ getInputProps: T,
13903
13894
  disabled: i,
13904
13895
  name: e,
13905
13896
  children: /* @__PURE__ */ ue("div", { className: P, children: [
13906
- j && /* @__PURE__ */ M(
13897
+ Y && /* @__PURE__ */ M(
13907
13898
  wr,
13908
13899
  {
13909
13900
  hover: !0,
@@ -13950,9 +13941,9 @@ const Cg = (n) => Ms(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
13950
13941
  ...a && { [a]: !0 }
13951
13942
  }), y = E({
13952
13943
  [Mt.viewImageModal__layer]: !0
13953
- }), D = E({
13944
+ }), C = E({
13954
13945
  [Mt.viewImageModal__closeButton]: !0
13955
- }), N = E({
13946
+ }), T = E({
13956
13947
  [Mt.viewImageModal__spinner]: !0
13957
13948
  }), S = E(Mt.viewImageModal__img, {
13958
13949
  [Mt.viewImageModal__img_loading]: p,
@@ -13960,7 +13951,7 @@ const Cg = (n) => Ms(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
13960
13951
  ...t && { [t]: !0 }
13961
13952
  });
13962
13953
  return /* @__PURE__ */ ue(bi, { classNameRoot: y, children: [
13963
- s && p && /* @__PURE__ */ M(Ea, { classNameRoot: N, size: "xl" }),
13954
+ s && p && /* @__PURE__ */ M(Ea, { classNameRoot: T, size: "xl" }),
13964
13955
  /* @__PURE__ */ ue("div", { className: b, children: [
13965
13956
  /* @__PURE__ */ M(
13966
13957
  "img",
@@ -13984,7 +13975,7 @@ const Cg = (n) => Ms(n), Sg = "_spUploadFiles_qdbwu_43", Mg = "_spUploadFiles_er
13984
13975
  /* @__PURE__ */ M(
13985
13976
  tr,
13986
13977
  {
13987
- classNameRoot: D,
13978
+ classNameRoot: C,
13988
13979
  onClick: l,
13989
13980
  variant: "link",
13990
13981
  isOnlyIcon: !0,