test-stpr-ui-kit 0.5.47 → 0.5.49

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.
@@ -234,58 +234,60 @@ const Be = (n) => {
234
234
  spApplyButtons__submit: Hl
235
235
  }, zl = (n) => {
236
236
  const {
237
- applyButtonsMobileDirection: a = "column",
238
- applyButtonsAlign: t = "center",
239
- cancelBtnContent: e = "Отменить",
240
- cancelBtnIconName: r,
241
- submitBtnIconName: o,
242
- cancelBtnDisabled: i,
243
- submitBtnContent: s = "Подтвердить",
244
- formId: l,
245
- disabled: p,
246
- onClose: u,
247
- submit: d,
248
- loading: m,
249
- cancelBtnVariant: v = "secondary",
250
- submitBtnVariant: w = "primary",
251
- cancelBtnClassName: b,
252
- submitBtnClassName: y
253
- } = n, C = E({
237
+ classNameRoot: a,
238
+ applyButtonsMobileDirection: t = "column",
239
+ applyButtonsAlign: e = "center",
240
+ cancelBtnContent: r = "Отменить",
241
+ cancelBtnIconName: o,
242
+ submitBtnIconName: i,
243
+ cancelBtnDisabled: s,
244
+ submitBtnContent: l = "Подтвердить",
245
+ formId: p,
246
+ disabled: u,
247
+ onClose: d,
248
+ submit: m,
249
+ loading: v,
250
+ cancelBtnVariant: w = "secondary",
251
+ submitBtnVariant: b = "primary",
252
+ cancelBtnClassName: y,
253
+ submitBtnClassName: C
254
+ } = n, T = E({
254
255
  [wn.spApplyButtons]: !0,
255
- [wn[`spApplyButtons_mobile-${a}`]]: a,
256
- [wn[`spApplyButtons_align-${t}`]]: t
257
- }), T = E({
258
- [wn.spApplyButtons__submit]: !0,
259
- ...y && { [y]: !0 }
256
+ [wn[`spApplyButtons_mobile-${t}`]]: t,
257
+ [wn[`spApplyButtons_align-${e}`]]: e,
258
+ ...a && { [a]: !0 }
260
259
  }), S = E({
260
+ [wn.spApplyButtons__submit]: !0,
261
+ ...C && { [C]: !0 }
262
+ }), D = E({
261
263
  [wn.spApplyButtons__cancel]: !0,
262
- ...b && { [b]: !0 }
264
+ ...y && { [y]: !0 }
263
265
  });
264
- return /* @__PURE__ */ ue("div", { className: C, children: [
265
- u && /* @__PURE__ */ M(
266
+ return /* @__PURE__ */ ue("div", { className: T, children: [
267
+ d && /* @__PURE__ */ M(
266
268
  tr,
267
269
  {
268
270
  type: "button",
269
- variant: v,
270
- iconName: r,
271
- classNameRoot: S,
272
- disabled: i,
273
- onClick: u,
274
- children: e
271
+ variant: w,
272
+ iconName: o,
273
+ classNameRoot: D,
274
+ disabled: s,
275
+ onClick: d,
276
+ children: r
275
277
  }
276
278
  ),
277
- d && /* @__PURE__ */ M(
279
+ m && /* @__PURE__ */ M(
278
280
  tr,
279
281
  {
280
282
  type: "submit",
281
- variant: w,
282
- iconName: o,
283
- classNameRoot: T,
284
- form: l || void 0,
285
- disabled: p,
286
- onClick: d,
287
- loading: m,
288
- children: s
283
+ variant: b,
284
+ iconName: i,
285
+ classNameRoot: S,
286
+ form: p || void 0,
287
+ disabled: u,
288
+ onClick: m,
289
+ loading: v,
290
+ children: l
289
291
  }
290
292
  )
291
293
  ] });
@@ -468,70 +470,72 @@ const Gl = "_modalWrapper_190yy_43", Kl = "_modalWrapper__modal_190yy_76", Xl =
468
470
  ] }) });
469
471
  }, rc = (n) => {
470
472
  const {
471
- zIndex: a,
472
- header: t,
473
- subHeader: e,
474
- cancelBtnContent: r,
475
- cancelBtnDisabled: o,
476
- cancelBtnIconName: i,
477
- submitBtnContent: s,
478
- submitBtnIconName: l,
479
- submit: p,
480
- disabled: u,
481
- formId: d,
482
- onClose: m,
483
- applyButtonsMobileDirection: v = "column",
484
- applyButtonsAlign: w = "right",
485
- modalVerticalAlign: b = "top",
486
- textAlign: y = "left",
487
- loading: C,
488
- isVisibleCloseButton: T,
489
- isHiddenModal: S,
490
- size: D,
491
- classNameRoot: x,
492
- classNameLayerRoot: A,
493
- submitBtnVariant: Y,
494
- cancelBtnVariant: P,
495
- submitBtnClassName: L,
496
- cancelBtnClassName: G,
497
- classNameHeaderRoot: ce,
498
- classNameFooterRoot: ne
473
+ classNameApplyButtonsRoot: a,
474
+ zIndex: t,
475
+ header: e,
476
+ subHeader: r,
477
+ cancelBtnContent: o,
478
+ cancelBtnDisabled: i,
479
+ cancelBtnIconName: s,
480
+ submitBtnContent: l,
481
+ submitBtnIconName: p,
482
+ submit: u,
483
+ disabled: d,
484
+ formId: m,
485
+ onClose: v,
486
+ applyButtonsMobileDirection: w = "column",
487
+ applyButtonsAlign: b = "right",
488
+ modalVerticalAlign: y = "top",
489
+ textAlign: C = "left",
490
+ loading: T,
491
+ isVisibleCloseButton: S,
492
+ isHiddenModal: D,
493
+ size: x,
494
+ classNameRoot: A,
495
+ classNameLayerRoot: Y,
496
+ submitBtnVariant: P,
497
+ cancelBtnVariant: L,
498
+ submitBtnClassName: K,
499
+ cancelBtnClassName: ce,
500
+ classNameHeaderRoot: ne,
501
+ classNameFooterRoot: G
499
502
  } = n;
500
503
  return /* @__PURE__ */ M(
501
504
  nc,
502
505
  {
503
- zIndex: a,
504
- header: t,
505
- onClose: m,
506
- modalVerticalAlign: b,
507
- textAlign: y,
508
- subHeader: e,
509
- isVisibleCloseButton: T,
510
- isHiddenModal: S,
511
- size: D,
512
- classNameRoot: x,
513
- classNameLayerRoot: A,
514
- classNameHeaderRoot: ce,
515
- classNameFooterRoot: ne,
516
- footer: r || i || s || l ? /* @__PURE__ */ M(
506
+ zIndex: t,
507
+ header: e,
508
+ onClose: v,
509
+ modalVerticalAlign: y,
510
+ textAlign: C,
511
+ subHeader: r,
512
+ isVisibleCloseButton: S,
513
+ isHiddenModal: D,
514
+ size: x,
515
+ classNameRoot: A,
516
+ classNameLayerRoot: Y,
517
+ classNameHeaderRoot: ne,
518
+ classNameFooterRoot: G,
519
+ footer: o || s || l || p ? /* @__PURE__ */ M(
517
520
  zl,
518
521
  {
519
- submitBtnClassName: L,
520
- cancelBtnClassName: G,
521
- applyButtonsMobileDirection: v,
522
- applyButtonsAlign: w,
523
- cancelBtnContent: r,
524
- cancelBtnIconName: i,
525
- cancelBtnDisabled: o,
526
- submitBtnContent: s,
527
- submitBtnIconName: l,
528
- submitBtnVariant: Y,
529
- cancelBtnVariant: P,
530
- formId: d,
531
- disabled: u,
532
- onClose: m,
533
- submit: p,
534
- loading: C
522
+ classNameRoot: a,
523
+ submitBtnClassName: K,
524
+ cancelBtnClassName: ce,
525
+ applyButtonsMobileDirection: w,
526
+ applyButtonsAlign: b,
527
+ cancelBtnContent: o,
528
+ cancelBtnIconName: s,
529
+ cancelBtnDisabled: i,
530
+ submitBtnContent: l,
531
+ submitBtnIconName: p,
532
+ submitBtnVariant: P,
533
+ cancelBtnVariant: L,
534
+ formId: m,
535
+ disabled: d,
536
+ onClose: v,
537
+ submit: u,
538
+ loading: T
535
539
  }
536
540
  ) : null
537
541
  }
@@ -668,7 +672,7 @@ const wr = (n) => {
668
672
  visibility: "hidden",
669
673
  opacity: 0,
670
674
  left: "-9999px"
671
- }), [P, L] = Ce(!1), G = Ge(() => {
675
+ }), [P, L] = Ce(!1), K = Ge(() => {
672
676
  if (!C.current || !T.current) return;
673
677
  const W = C.current.getBoundingClientRect(), z = T.current.getBoundingClientRect();
674
678
  let $ = 0, X = 0;
@@ -721,19 +725,19 @@ const wr = (n) => {
721
725
  }));
722
726
  }, [p, b, P]);
723
727
  Re(() => (D(!0), () => D(!1)), []), Re(() => {
724
- S && G();
725
- }, [S, G]), Re(() => {
728
+ S && K();
729
+ }, [S, K]), Re(() => {
726
730
  if (!S) return;
727
- const W = () => G();
731
+ const W = () => K();
728
732
  return window.addEventListener("resize", W), window.addEventListener("scroll", W, !0), () => {
729
733
  window.removeEventListener("resize", W), window.removeEventListener("scroll", W, !0);
730
734
  };
731
- }, [S, G]);
735
+ }, [S, K]);
732
736
  const ce = E({
733
737
  ...m && { [m]: !0 }
734
738
  }), ne = E({
735
739
  ...v && { [v]: !0 }
736
- }), K = E({
740
+ }), G = E({
737
741
  [xi.spTooltip]: !0,
738
742
  ...l && { [l]: !0 }
739
743
  }), te = document.body;
@@ -741,7 +745,7 @@ const wr = (n) => {
741
745
  "div",
742
746
  {
743
747
  ref: C,
744
- className: K,
748
+ className: G,
745
749
  onClick: x,
746
750
  onMouseEnter: () => a && L(!0),
747
751
  onMouseLeave: () => a && L(!1),
@@ -4302,29 +4306,29 @@ function pd(n, a, t, e) {
4302
4306
  }, u = [new bu(e == null ? void 0 : e.in, t)], d = a.match(od).map((P) => {
4303
4307
  const L = P[0];
4304
4308
  if (L in ma) {
4305
- const G = ma[L];
4306
- return G(P, i.formatLong);
4309
+ const K = ma[L];
4310
+ return K(P, i.formatLong);
4307
4311
  }
4308
4312
  return P;
4309
4313
  }).join("").match(ad), m = [];
4310
4314
  for (let P of d) {
4311
- const L = P[0], G = rd[L];
4312
- if (G) {
4313
- const { incompatibleTokens: ce } = G;
4315
+ const L = P[0], K = rd[L];
4316
+ if (K) {
4317
+ const { incompatibleTokens: ce } = K;
4314
4318
  if (Array.isArray(ce)) {
4315
- const K = m.find(
4319
+ const G = m.find(
4316
4320
  (te) => ce.includes(te.token) || te.token === L
4317
4321
  );
4318
- if (K)
4322
+ if (G)
4319
4323
  throw new RangeError(
4320
- `The format string mustn't contain \`${K.fullToken}\` and \`${P}\` at the same time`
4324
+ `The format string mustn't contain \`${G.fullToken}\` and \`${P}\` at the same time`
4321
4325
  );
4322
- } else if (G.incompatibleTokens === "*" && m.length > 0)
4326
+ } else if (K.incompatibleTokens === "*" && m.length > 0)
4323
4327
  throw new RangeError(
4324
4328
  `The format string mustn't contain \`${P}\` and any other token at the same time`
4325
4329
  );
4326
4330
  m.push({ token: L, fullToken: P });
4327
- const ne = G.run(
4331
+ const ne = K.run(
4328
4332
  n,
4329
4333
  P,
4330
4334
  i.match,
@@ -4346,8 +4350,8 @@ function pd(n, a, t, e) {
4346
4350
  }
4347
4351
  if (n.length > 0 && ld.test(n))
4348
4352
  return r();
4349
- const v = u.map((P) => P.priority).sort((P, L) => L - P).filter((P, L, G) => G.indexOf(P) === L).map(
4350
- (P) => u.filter((L) => L.priority === P).sort((L, G) => G.subPriority - L.subPriority)
4353
+ const v = u.map((P) => P.priority).sort((P, L) => L - P).filter((P, L, K) => K.indexOf(P) === L).map(
4354
+ (P) => u.filter((L) => L.priority === P).sort((L, K) => K.subPriority - L.subPriority)
4351
4355
  ).map((P) => P[0]);
4352
4356
  let w = oe(t, e == null ? void 0 : e.in);
4353
4357
  if (isNaN(+w)) return r();
@@ -4966,7 +4970,7 @@ const lf = (n) => ({
4966
4970
  }, 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));
4967
4971
  let Y = A ? A[S] : 0;
4968
4972
  (!Y || !await (i.isElement == null ? void 0 : i.isElement(A))) && (Y = s.floating[S] || o.floating[w]);
4969
- 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 = zd(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;
4973
+ const P = D / 2 - x / 2, L = Y / 2 - b[w] / 2 - 1, K = fn(d[C], L), ce = fn(d[T], L), ne = K, G = Y - b[w] - ce, te = Y / 2 - b[w] / 2 + P, W = zd(ne, te, G), z = !l.arrow && On(r) != null && te !== W && o.reference[w] / 2 - (te < ne ? K : ce) - b[w] / 2 < 0, $ = z ? te < ne ? te - ne : te - G : 0;
4970
4974
  return {
4971
4975
  [v]: m[v] + $,
4972
4976
  data: {
@@ -5006,12 +5010,12 @@ const lf = (n) => ({
5006
5010
  const C = mn(r), T = qt(s), S = mn(s) === s, D = await (l.isRTL == null ? void 0 : l.isRTL(p.floating)), x = m || (S || !b ? [pr(s)] : $d(s)), A = w !== "none";
5007
5011
  !m && A && x.push(...Xd(s, b, w, D));
5008
5012
  const Y = [s, ...x], P = await sf(a, y), L = [];
5009
- let G = ((e = o.flip) == null ? void 0 : e.overflows) || [];
5013
+ let K = ((e = o.flip) == null ? void 0 : e.overflows) || [];
5010
5014
  if (u && L.push(P[C]), d) {
5011
5015
  const te = Ud(r, i, D);
5012
5016
  L.push(P[te[0]], P[te[1]]);
5013
5017
  }
5014
- if (G = [...G, {
5018
+ if (K = [...K, {
5015
5019
  placement: r,
5016
5020
  overflows: L
5017
5021
  }], !L.every((te) => te <= 0)) {
@@ -5019,22 +5023,22 @@ const lf = (n) => ({
5019
5023
  const te = (((ce = o.flip) == null ? void 0 : ce.index) || 0) + 1, W = Y[te];
5020
5024
  if (W && (!(d === "alignment" ? T !== qt(W) : !1) || // We leave the current main axis only if every placement on that axis
5021
5025
  // overflows the main axis.
5022
- G.every((X) => qt(X.placement) === T ? X.overflows[0] > 0 : !0)))
5026
+ K.every((X) => qt(X.placement) === T ? X.overflows[0] > 0 : !0)))
5023
5027
  return {
5024
5028
  data: {
5025
5029
  index: te,
5026
- overflows: G
5030
+ overflows: K
5027
5031
  },
5028
5032
  reset: {
5029
5033
  placement: W
5030
5034
  }
5031
5035
  };
5032
- let z = (ne = G.filter(($) => $.overflows[0] <= 0).sort(($, X) => $.overflows[1] - X.overflows[1])[0]) == null ? void 0 : ne.placement;
5036
+ let z = (ne = K.filter(($) => $.overflows[0] <= 0).sort(($, X) => $.overflows[1] - X.overflows[1])[0]) == null ? void 0 : ne.placement;
5033
5037
  if (!z)
5034
5038
  switch (v) {
5035
5039
  case "bestFit": {
5036
- var K;
5037
- const $ = (K = G.filter((X) => {
5040
+ var G;
5041
+ const $ = (G = K.filter((X) => {
5038
5042
  if (A) {
5039
5043
  const h = qt(X.placement);
5040
5044
  return h === T || // Create a bias to the `y` side axis due to horizontal
@@ -5042,7 +5046,7 @@ const lf = (n) => ({
5042
5046
  h === "y";
5043
5047
  }
5044
5048
  return !0;
5045
- }).map((X) => [X.placement, X.overflows.filter((h) => h > 0).reduce((h, f) => h + f, 0)]).sort((X, h) => X[1] - h[1])[0]) == null ? void 0 : K[0];
5049
+ }).map((X) => [X.placement, X.overflows.filter((h) => h > 0).reduce((h, f) => h + f, 0)]).sort((X, h) => X[1] - h[1])[0]) == null ? void 0 : G[0];
5046
5050
  $ && (z = $);
5047
5051
  break;
5048
5052
  }
@@ -5569,7 +5573,7 @@ function Lf(n) {
5569
5573
  X !== A.current && (A.current = X, b(X));
5570
5574
  }, []), S = I.useCallback((X) => {
5571
5575
  X !== Y.current && (Y.current = X, C(X));
5572
- }, []), D = o || w, x = i || y, A = I.useRef(null), Y = I.useRef(null), P = I.useRef(u), L = l != null, G = zr(l), ce = zr(r), ne = zr(p), K = I.useCallback(() => {
5576
+ }, []), D = o || w, x = i || y, A = I.useRef(null), Y = I.useRef(null), P = I.useRef(u), L = l != null, K = zr(l), ce = zr(r), ne = zr(p), G = I.useCallback(() => {
5573
5577
  if (!A.current || !Y.current)
5574
5578
  return;
5575
5579
  const X = {
@@ -5602,11 +5606,11 @@ function Lf(n) {
5602
5606
  te.current = !1;
5603
5607
  }), []), Zn(() => {
5604
5608
  if (D && (A.current = D), x && (Y.current = x), D && x) {
5605
- if (G.current)
5606
- return G.current(D, x, K);
5607
- K();
5609
+ if (K.current)
5610
+ return K.current(D, x, G);
5611
+ G();
5608
5612
  }
5609
- }, [D, x, K, G, L]);
5613
+ }, [D, x, G, K, L]);
5610
5614
  const W = I.useMemo(() => ({
5611
5615
  reference: A,
5612
5616
  floating: Y,
@@ -5638,11 +5642,11 @@ function Lf(n) {
5638
5642
  }, [t, s, z.floating, u.x, u.y]);
5639
5643
  return I.useMemo(() => ({
5640
5644
  ...u,
5641
- update: K,
5645
+ update: G,
5642
5646
  refs: W,
5643
5647
  elements: z,
5644
5648
  floatingStyles: $
5645
- }), [u, K, W, z, $]);
5649
+ }), [u, G, W, z, $]);
5646
5650
  }
5647
5651
  const Ff = (n) => {
5648
5652
  function a(t) {
@@ -5747,10 +5751,10 @@ const Uf = /* @__PURE__ */ I.forwardRef(function(a, t) {
5747
5751
  const [D, x] = e.split("-"), A = D === "top" || D === "bottom";
5748
5752
  let Y = d;
5749
5753
  (A && i != null && i.x || !A && i != null && i.y) && (Y = null);
5750
- 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";
5754
+ const P = u * 2, L = P / 2, K = s / 2 * (p / -8 + 1), ce = l / 2 * p / 4, ne = !!v, G = Y && x === "end" ? "bottom" : "top";
5751
5755
  let te = Y && x === "end" ? "right" : "left";
5752
5756
  Y && T && (te = x === "end" ? "left" : "right");
5753
- 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 = {
5757
+ 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 - K) + "," + (l - ce)) + (" Q" + s / 2 + "," + l + " " + K + "," + (l - ce)) + " Z", X = {
5754
5758
  top: ne ? "rotate(180deg)" : "",
5755
5759
  left: ne ? "rotate(90deg)" : "rotate(-90deg)",
5756
5760
  bottom: ne ? "" : "rotate(180deg)",
@@ -5767,7 +5771,7 @@ const Uf = /* @__PURE__ */ I.forwardRef(function(a, t) {
5767
5771
  position: "absolute",
5768
5772
  pointerEvents: "none",
5769
5773
  [te]: W,
5770
- [K]: z,
5774
+ [G]: z,
5771
5775
  [D]: A || ne ? "100%" : "calc(100% - " + P / 2 + "px)",
5772
5776
  transform: [X, w].filter((h) => !!h).join(" "),
5773
5777
  ...b
@@ -6860,25 +6864,25 @@ var Mm = (
6860
6864
  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;
6861
6865
  if (p) {
6862
6866
  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) {
6863
- var G, ce, ne = P, K = L;
6867
+ var K, ce, ne = P, G = L;
6864
6868
  switch (Y) {
6865
6869
  case ee.ArrowRight:
6866
- ne = ft(P, Vn), K = L === 11 ? 0 : L + Vn;
6870
+ ne = ft(P, Vn), G = L === 11 ? 0 : L + Vn;
6867
6871
  break;
6868
6872
  case ee.ArrowLeft:
6869
- ne = Qt(P, Vn), K = L === 0 ? 11 : L - Vn;
6873
+ ne = Qt(P, Vn), G = L === 0 ? 11 : L - Vn;
6870
6874
  break;
6871
6875
  case ee.ArrowUp:
6872
- ne = Qt(P, y), K = !((G = C == null ? void 0 : C[0]) === null || G === void 0) && G.includes(L) ? L + 12 - y : L - y;
6876
+ ne = Qt(P, y), G = !((K = C == null ? void 0 : C[0]) === null || K === void 0) && K.includes(L) ? L + 12 - y : L - y;
6873
6877
  break;
6874
6878
  case ee.ArrowDown:
6875
- 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;
6879
+ ne = ft(P, y), G = !((ce = C == null ? void 0 : C[C.length - 1]) === null || ce === void 0) && ce.includes(L) ? L - 12 + y : L + y;
6876
6880
  break;
6877
6881
  }
6878
- return { newCalculatedDate: ne, newCalculatedMonth: K };
6882
+ return { newCalculatedDate: ne, newCalculatedMonth: G };
6879
6883
  }, S = function(Y, P, L) {
6880
- for (var G = 40, ce = Y, ne = !1, K = 0, te = T(ce, P, L), W = te.newCalculatedDate, z = te.newCalculatedMonth; !ne; ) {
6881
- if (K >= G) {
6884
+ for (var K = 40, ce = Y, ne = !1, G = 0, te = T(ce, P, L), W = te.newCalculatedDate, z = te.newCalculatedMonth; !ne; ) {
6885
+ if (G >= K) {
6882
6886
  W = P, z = L;
6883
6887
  break;
6884
6888
  }
@@ -6897,7 +6901,7 @@ var Mm = (
6897
6901
  W = $.newCalculatedDate, z = $.newCalculatedMonth;
6898
6902
  } else
6899
6903
  ne = !0;
6900
- K++;
6904
+ G++;
6901
6905
  }
6902
6906
  return { newCalculatedDate: W, newCalculatedMonth: z };
6903
6907
  };
@@ -8270,10 +8274,10 @@ var Qr = "Date input not valid.", Qm = (
8270
8274
  });
8271
8275
  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 : "";
8272
8276
  if (v) {
8273
- var S = e.props.rangeSeparator, D = S.trim(), x = T.split(y.includes(D) ? S : D, 2).map(function(K) {
8274
- return K.trim();
8275
- }), A = x[0], Y = x[1], P = Vr(A ?? "", y, e.props.locale, C), L = P ? Vr(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());
8276
- if (!G && !ce || P && it(P, e.props) || L && it(L, e.props))
8277
+ var S = e.props.rangeSeparator, D = S.trim(), x = T.split(y.includes(D) ? S : D, 2).map(function(G) {
8278
+ return G.trim();
8279
+ }), A = x[0], Y = x[1], P = Vr(A ?? "", y, e.props.locale, C), L = P ? Vr(Y ?? "", y, e.props.locale, C) : null, K = (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());
8280
+ if (!K && !ce || P && it(P, e.props) || L && it(L, e.props))
8277
8281
  return;
8278
8282
  (s = (i = e.props).onChange) === null || s === void 0 || s.call(i, [P, L], d);
8279
8283
  } else {
@@ -8316,12 +8320,12 @@ var Qr = "Date input not valid.", Qm = (
8316
8320
  if (!(C != null && C.length))
8317
8321
  m == null || m([u], o);
8318
8322
  else {
8319
- var P = C.some(function(G) {
8320
- return he(G, u);
8323
+ var P = C.some(function(K) {
8324
+ return he(K, u);
8321
8325
  });
8322
8326
  if (P) {
8323
- var L = C.filter(function(G) {
8324
- return !he(G, u);
8327
+ var L = C.filter(function(K) {
8328
+ return !he(K, u);
8325
8329
  });
8326
8330
  m == null || m(L, o);
8327
8331
  } else
@@ -8441,7 +8445,7 @@ var Qr = "Date input not valid.", Qm = (
8441
8445
  r.preventDefault(), e.setOpen(!1), e.inputOk() || (l = (s = e.props).onInputError) === null || l === void 0 || l.call(s, { code: 1, msg: Qr });
8442
8446
  return;
8443
8447
  }
8444
- var G = null;
8448
+ var K = null;
8445
8449
  switch (x) {
8446
8450
  case ee.ArrowLeft:
8447
8451
  case ee.ArrowRight:
@@ -8451,16 +8455,16 @@ var Qr = "Date input not valid.", Qm = (
8451
8455
  case ee.PageDown:
8452
8456
  case ee.Home:
8453
8457
  case ee.End:
8454
- G = L(x, Y);
8458
+ K = L(x, Y);
8455
8459
  break;
8456
8460
  }
8457
- if (!G) {
8461
+ if (!K) {
8458
8462
  (u = (p = e.props).onInputError) === null || u === void 0 || u.call(p, { code: 1, msg: Qr });
8459
8463
  return;
8460
8464
  }
8461
- if (r.preventDefault(), e.setState({ lastPreSelectChange: Gr }), S && e.setSelected(G), e.setPreSelection(G), D) {
8462
- var ce = Ue(Y), ne = Ue(G), K = me(Y), te = me(G);
8463
- ce !== ne || K !== te ? e.setState({ shouldFocusDayInline: !0 }) : e.setState({ shouldFocusDayInline: !1 });
8465
+ if (r.preventDefault(), e.setState({ lastPreSelectChange: Gr }), S && e.setSelected(K), e.setPreSelection(K), D) {
8466
+ var ce = Ue(Y), ne = Ue(K), G = me(Y), te = me(K);
8467
+ ce !== ne || G !== te ? e.setState({ shouldFocusDayInline: !0 }) : e.setState({ shouldFocusDayInline: !1 });
8464
8468
  }
8465
8469
  }
8466
8470
  }, e.onPopperKeyDown = function(r) {
@@ -8755,7 +8759,7 @@ function Km() {
8755
8759
  for (var g = h.mask, _ = f; _ < g.length; ++_) if (!b(h, _)) return _;
8756
8760
  return null;
8757
8761
  }
8758
- function G(h) {
8762
+ function K(h) {
8759
8763
  return h || h === 0 ? h + "" : "";
8760
8764
  }
8761
8765
  function ce(h, f, g, _, c) {
@@ -8766,7 +8770,7 @@ function Km() {
8766
8770
  var h = new RegExp("windows", "i"), f = new RegExp("phone", "i"), g = navigator.userAgent;
8767
8771
  return h.test(g) && f.test(g);
8768
8772
  }
8769
- function K(h) {
8773
+ function G(h) {
8770
8774
  return typeof h == "function";
8771
8775
  }
8772
8776
  function te() {
@@ -8835,36 +8839,36 @@ function Km() {
8835
8839
  var O = s(s(c)).beforePasteState, J = s(s(c)).previousSelection, le = c.props.beforeMaskedValueChange, ae = c.getInputValue(), de = c.value, fe = c.getSelection();
8836
8840
  c.isInputAutofilled(ae, fe, de, J) && (de = D(c.maskOptions, ""), J = { start: 0, end: 0, length: 0 }), O && (J = O.selection, de = O.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);
8837
8841
  var _e = ce(c.maskOptions, ae, fe, de, J), Ae = _e.enteredString, Le = _e.selection, Ye = _e.value;
8838
- if (K(le)) {
8842
+ if (G(le)) {
8839
8843
  var Z = le({ value: Ye, selection: Le }, { value: de, selection: J }, Ae, c.getBeforeMaskedValueChangeConfig());
8840
8844
  Ye = Z.value, Le = Z.selection;
8841
8845
  }
8842
- 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);
8846
+ c.setInputValue(Ye), G(c.props.onChange) && c.props.onChange(Q), c.isWindowsPhoneBrowser ? c.setSelection(Le.start, Le.end, { deferred: !0 }) : c.setSelection(Le.start, Le.end);
8843
8847
  }, c.onFocus = function(Q) {
8844
8848
  var O = c.props.beforeMaskedValueChange, J = c.maskOptions, le = J.mask, ae = J.prefix;
8845
8849
  if (c.focused = !0, c.mounted = !0, le) {
8846
8850
  if (c.value) T(c.maskOptions, c.value) < c.maskOptions.mask.length && c.setCursorToEnd();
8847
8851
  else {
8848
8852
  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 };
8849
- if (K(O)) {
8853
+ if (G(O)) {
8850
8854
  var Ye = O({ value: fe, selection: Le }, { value: c.value, selection: null }, null, c.getBeforeMaskedValueChangeConfig());
8851
8855
  fe = Ye.value, Le = Ye.selection;
8852
8856
  }
8853
8857
  var Z = fe !== c.getInputValue();
8854
- Z && c.setInputValue(fe), Z && K(c.props.onChange) && c.props.onChange(Q), c.setSelection(Le.start, Le.end);
8858
+ Z && c.setInputValue(fe), Z && G(c.props.onChange) && c.props.onChange(Q), c.setSelection(Le.start, Le.end);
8855
8859
  }
8856
8860
  c.runSaveSelectionLoop();
8857
8861
  }
8858
- K(c.props.onFocus) && c.props.onFocus(Q);
8862
+ G(c.props.onFocus) && c.props.onFocus(Q);
8859
8863
  }, c.onBlur = function(Q) {
8860
8864
  var O = c.props.beforeMaskedValueChange, J = c.maskOptions.mask;
8861
8865
  if (c.stopSaveSelectionLoop(), c.focused = !1, J && !c.props.alwaysShowMask && C(c.maskOptions, c.value)) {
8862
8866
  var le = "";
8863
- K(O) && (le = O({ value: le, selection: null }, { value: c.value, selection: c.previousSelection }, null, c.getBeforeMaskedValueChangeConfig()).value);
8867
+ G(O) && (le = O({ value: le, selection: null }, { value: c.value, selection: c.previousSelection }, null, c.getBeforeMaskedValueChangeConfig()).value);
8864
8868
  var ae = le !== c.getInputValue();
8865
- ae && c.setInputValue(le), ae && K(c.props.onChange) && c.props.onChange(Q);
8869
+ ae && c.setInputValue(le), ae && G(c.props.onChange) && c.props.onChange(Q);
8866
8870
  }
8867
- K(c.props.onBlur) && c.props.onBlur(Q);
8871
+ G(c.props.onBlur) && c.props.onBlur(Q);
8868
8872
  }, c.onMouseDown = function(Q) {
8869
8873
  if (!c.focused && document.addEventListener) {
8870
8874
  c.mouseDownX = Q.clientX, c.mouseDownY = Q.clientY, c.mouseDownTime = (/* @__PURE__ */ new Date()).getTime();
@@ -8876,18 +8880,18 @@ function Km() {
8876
8880
  };
8877
8881
  document.addEventListener("mouseup", O);
8878
8882
  }
8879
- K(c.props.onMouseDown) && c.props.onMouseDown(Q);
8883
+ G(c.props.onMouseDown) && c.props.onMouseDown(Q);
8880
8884
  }, c.onPaste = function(Q) {
8881
- K(c.props.onPaste) && c.props.onPaste(Q), Q.defaultPrevented || (c.beforePasteState = { value: c.getInputValue(), selection: c.getSelection() }, c.setInputValue(""));
8885
+ G(c.props.onPaste) && c.props.onPaste(Q), Q.defaultPrevented || (c.beforePasteState = { value: c.getInputValue(), selection: c.getSelection() }, c.setInputValue(""));
8882
8886
  }, c.handleRef = function(Q) {
8883
- c.props.children == null && K(c.props.inputRef) && c.props.inputRef(Q);
8887
+ c.props.children == null && G(c.props.inputRef) && c.props.inputRef(Q);
8884
8888
  };
8885
8889
  var k = _.mask, B = _.maskChar, q = _.formatChars, R = _.alwaysShowMask, H = _.beforeMaskedValueChange, V = _.defaultValue, j = _.value;
8886
8890
  c.maskOptions = w(k, B, q), V == null && (V = ""), j == null && (j = V);
8887
- var U = G(j);
8888
- if (c.maskOptions.mask && (R || U) && (U = D(c.maskOptions, U), K(H))) {
8891
+ var U = K(j);
8892
+ if (c.maskOptions.mask && (R || U) && (U = D(c.maskOptions, U), G(H))) {
8889
8893
  var F = _.value;
8890
- _.value == null && (F = V), U = H({ value: U, selection: null }, { value: F = G(F), selection: null }, null, c.getBeforeMaskedValueChangeConfig()).value;
8894
+ _.value == null && (F = V), U = H({ value: U, selection: null }, { value: F = K(F), selection: null }, null, c.getBeforeMaskedValueChangeConfig()).value;
8891
8895
  }
8892
8896
  return c.value = U, c;
8893
8897
  }
@@ -8896,7 +8900,7 @@ function Km() {
8896
8900
  return g.componentDidMount = function() {
8897
8901
  this.mounted = !0, this.getInputDOMNode() && (this.isWindowsPhoneBrowser = ne(), this.maskOptions.mask && this.getInputValue() !== this.value && this.setInputValue(this.value));
8898
8902
  }, g.componentDidUpdate = function() {
8899
- var _ = this.previousSelection, c = this.props, k = c.beforeMaskedValueChange, B = c.alwaysShowMask, q = c.mask, R = c.maskChar, H = c.formatChars, V = this.maskOptions, j = B || this.isFocused(), U = this.props.value != null, F = U ? G(this.props.value) : this.value, Q = _ ? _.start : null;
8903
+ var _ = this.previousSelection, c = this.props, k = c.beforeMaskedValueChange, B = c.alwaysShowMask, q = c.mask, R = c.maskChar, H = c.formatChars, V = this.maskOptions, j = B || this.isFocused(), U = this.props.value != null, F = U ? K(this.props.value) : this.value, Q = _ ? _.start : null;
8900
8904
  if (this.maskOptions = w(q, R, H), this.maskOptions.mask) {
8901
8905
  !V.mask && this.isFocused() && this.runSaveSelectionLoop();
8902
8906
  var O = this.maskOptions.mask && this.maskOptions.mask !== V.mask;
@@ -8906,7 +8910,7 @@ function Km() {
8906
8910
  }
8907
8911
  !this.maskOptions.mask || !C(this.maskOptions, F) || j || U && this.props.value || (F = "");
8908
8912
  var le = { start: Q, end: Q };
8909
- if (K(k)) {
8913
+ if (G(k)) {
8910
8914
  var ae = k({ value: F, selection: le }, { value: this.value, selection: this.previousSelection }, null, this.getBeforeMaskedValueChangeConfig());
8911
8915
  F = ae.value, le = ae.selection;
8912
8916
  }
@@ -8921,7 +8925,7 @@ function Km() {
8921
8925
  }, g.render = function() {
8922
8926
  var _, c = this.props, k = (c.mask, c.alwaysShowMask, c.maskChar, c.formatChars, c.inputRef, c.beforeMaskedValueChange, c.children), B = i(c, ["mask", "alwaysShowMask", "maskChar", "formatChars", "inputRef", "beforeMaskedValueChange", "children"]);
8923
8927
  if (k) {
8924
- K(k) || p(!1);
8928
+ G(k) || p(!1);
8925
8929
  var q = ["onChange", "onPaste", "onMouseDown", "onFocus", "onBlur", "value", "disabled", "readOnly"], R = r({}, B);
8926
8930
  q.forEach(function(V) {
8927
8931
  return delete R[V];
@@ -9189,7 +9193,7 @@ function Jm() {
9189
9193
  return _;
9190
9194
  return null;
9191
9195
  }
9192
- function G(h) {
9196
+ function K(h) {
9193
9197
  return !h && h !== 0 ? "" : h + "";
9194
9198
  }
9195
9199
  function ce(h, f, g, _, c) {
@@ -9214,7 +9218,7 @@ function Jm() {
9214
9218
  var h = new RegExp("windows", "i"), f = new RegExp("phone", "i"), g = navigator.userAgent;
9215
9219
  return h.test(g) && f.test(g);
9216
9220
  }
9217
- function K(h) {
9221
+ function G(h) {
9218
9222
  return typeof h == "function";
9219
9223
  }
9220
9224
  function te() {
@@ -9312,7 +9316,7 @@ function Jm() {
9312
9316
  length: 0
9313
9317
  }, _e = Ae.slice(0, de.start) + _e + Ae.slice(de.end), c.beforePasteState = null);
9314
9318
  var Ye = ce(c.maskOptions, _e, Le, Ae, de), Z = Ye.enteredString, ie = Ye.selection, Me = Ye.value;
9315
- if (K(fe)) {
9319
+ if (G(fe)) {
9316
9320
  var Pe = fe({
9317
9321
  value: Me,
9318
9322
  selection: ie
@@ -9322,7 +9326,7 @@ function Jm() {
9322
9326
  }, Z, c.getBeforeMaskedValueChangeConfig());
9323
9327
  Me = Pe.value, ie = Pe.selection;
9324
9328
  }
9325
- c.setInputValue(Me), K(c.props.onChange) && c.props.onChange(O), c.isWindowsPhoneBrowser ? c.setSelection(ie.start, ie.end, {
9329
+ c.setInputValue(Me), G(c.props.onChange) && c.props.onChange(O), c.isWindowsPhoneBrowser ? c.setSelection(ie.start, ie.end, {
9326
9330
  deferred: !0
9327
9331
  }) : c.setSelection(ie.start, ie.end);
9328
9332
  }, c.onFocus = function(O) {
@@ -9335,7 +9339,7 @@ function Jm() {
9335
9339
  start: Le,
9336
9340
  end: Le
9337
9341
  };
9338
- if (K(J)) {
9342
+ if (G(J)) {
9339
9343
  var Z = J({
9340
9344
  value: _e,
9341
9345
  selection: Ye
@@ -9346,16 +9350,16 @@ function Jm() {
9346
9350
  _e = Z.value, Ye = Z.selection;
9347
9351
  }
9348
9352
  var ie = _e !== c.getInputValue();
9349
- ie && c.setInputValue(_e), ie && K(c.props.onChange) && c.props.onChange(O), c.setSelection(Ye.start, Ye.end);
9353
+ ie && c.setInputValue(_e), ie && G(c.props.onChange) && c.props.onChange(O), c.setSelection(Ye.start, Ye.end);
9350
9354
  }
9351
9355
  c.runSaveSelectionLoop();
9352
9356
  }
9353
- K(c.props.onFocus) && c.props.onFocus(O);
9357
+ G(c.props.onFocus) && c.props.onFocus(O);
9354
9358
  }, c.onBlur = function(O) {
9355
9359
  var J = c.props.beforeMaskedValueChange, le = c.maskOptions.mask;
9356
9360
  if (c.stopSaveSelectionLoop(), c.focused = !1, le && !c.props.alwaysShowMask && C(c.maskOptions, c.value)) {
9357
9361
  var ae = "";
9358
- if (K(J)) {
9362
+ if (G(J)) {
9359
9363
  var de = J({
9360
9364
  value: ae,
9361
9365
  selection: null
@@ -9366,9 +9370,9 @@ function Jm() {
9366
9370
  ae = de.value;
9367
9371
  }
9368
9372
  var fe = ae !== c.getInputValue();
9369
- fe && c.setInputValue(ae), fe && K(c.props.onChange) && c.props.onChange(O);
9373
+ fe && c.setInputValue(ae), fe && G(c.props.onChange) && c.props.onChange(O);
9370
9374
  }
9371
- K(c.props.onBlur) && c.props.onBlur(O);
9375
+ G(c.props.onBlur) && c.props.onBlur(O);
9372
9376
  }, c.onMouseDown = function(O) {
9373
9377
  if (!c.focused && document.addEventListener) {
9374
9378
  c.mouseDownX = O.clientX, c.mouseDownY = O.clientY, c.mouseDownTime = (/* @__PURE__ */ new Date()).getTime();
@@ -9380,21 +9384,21 @@ function Jm() {
9380
9384
  };
9381
9385
  document.addEventListener("mouseup", J);
9382
9386
  }
9383
- K(c.props.onMouseDown) && c.props.onMouseDown(O);
9387
+ G(c.props.onMouseDown) && c.props.onMouseDown(O);
9384
9388
  }, c.onPaste = function(O) {
9385
- K(c.props.onPaste) && c.props.onPaste(O), O.defaultPrevented || (c.beforePasteState = {
9389
+ G(c.props.onPaste) && c.props.onPaste(O), O.defaultPrevented || (c.beforePasteState = {
9386
9390
  value: c.getInputValue(),
9387
9391
  selection: c.getSelection()
9388
9392
  }, c.setInputValue(""));
9389
9393
  }, c.handleRef = function(O) {
9390
- c.props.children == null && K(c.props.inputRef) && c.props.inputRef(O);
9394
+ c.props.children == null && G(c.props.inputRef) && c.props.inputRef(O);
9391
9395
  };
9392
9396
  var k = _.mask, B = _.maskChar, q = _.formatChars, R = _.alwaysShowMask, H = _.beforeMaskedValueChange, V = _.defaultValue, j = _.value;
9393
9397
  c.maskOptions = w(k, B, q), V == null && (V = ""), j == null && (j = V);
9394
- var U = G(j);
9395
- if (c.maskOptions.mask && (R || U) && (U = D(c.maskOptions, U), K(H))) {
9398
+ var U = K(j);
9399
+ if (c.maskOptions.mask && (R || U) && (U = D(c.maskOptions, U), G(H))) {
9396
9400
  var F = _.value;
9397
- _.value == null && (F = V), F = G(F);
9401
+ _.value == null && (F = V), F = K(F);
9398
9402
  var Q = H({
9399
9403
  value: U,
9400
9404
  selection: null
@@ -9410,7 +9414,7 @@ function Jm() {
9410
9414
  return g.componentDidMount = function() {
9411
9415
  this.mounted = !0, this.getInputDOMNode() && (this.isWindowsPhoneBrowser = ne(), this.maskOptions.mask && this.getInputValue() !== this.value && this.setInputValue(this.value));
9412
9416
  }, g.componentDidUpdate = function() {
9413
- var c = this.previousSelection, k = this.props, B = k.beforeMaskedValueChange, q = k.alwaysShowMask, R = k.mask, H = k.maskChar, V = k.formatChars, j = this.maskOptions, U = q || this.isFocused(), F = this.props.value != null, Q = F ? G(this.props.value) : this.value, O = c ? c.start : null;
9417
+ var c = this.previousSelection, k = this.props, B = k.beforeMaskedValueChange, q = k.alwaysShowMask, R = k.mask, H = k.maskChar, V = k.formatChars, j = this.maskOptions, U = q || this.isFocused(), F = this.props.value != null, Q = F ? K(this.props.value) : this.value, O = c ? c.start : null;
9414
9418
  if (this.maskOptions = w(R, H, V), this.maskOptions.mask)
9415
9419
  !j.mask && this.isFocused() && this.runSaveSelectionLoop();
9416
9420
  else {
@@ -9427,7 +9431,7 @@ function Jm() {
9427
9431
  start: O,
9428
9432
  end: O
9429
9433
  };
9430
- if (K(B)) {
9434
+ if (G(B)) {
9431
9435
  var de = B({
9432
9436
  value: Q,
9433
9437
  selection: ae
@@ -9456,7 +9460,7 @@ function Jm() {
9456
9460
  !V.maxLength || !w(k, B, q).mask,
9457
9461
  "react-input-mask: maxLength property shouldn't be passed to the masked input. It breaks masking and unnecessary because length is limited by the mask length."
9458
9462
  ), H) {
9459
- K(H) || (process.env.NODE_ENV !== "production" ? e(!1, "react-input-mask: children must be a function") : e(!1));
9463
+ G(H) || (process.env.NODE_ENV !== "production" ? e(!1, "react-input-mask: children must be a function") : e(!1));
9460
9464
  var U = ["onChange", "onPaste", "onMouseDown", "onFocus", "onBlur", "value", "disabled", "readOnly"], F = i({}, V);
9461
9465
  U.forEach(function(J) {
9462
9466
  return delete F[J];
@@ -9527,7 +9531,7 @@ const th = /* @__PURE__ */ Va(eh), nh = "_datepickerInput_e80nk_43", rh = "_date
9527
9531
  }, Y = () => {
9528
9532
  S(!1);
9529
9533
  }, P = (ne) => {
9530
- const { target: K } = ne, { value: te, name: W } = K;
9534
+ const { target: G } = ne, { value: te, name: W } = G;
9531
9535
  r && r(ne, { value: te, name: W });
9532
9536
  }, L = E({
9533
9537
  [nt.datepickerInput]: !0,
@@ -9539,7 +9543,7 @@ const th = /* @__PURE__ */ Va(eh), nh = "_datepickerInput_e80nk_43", rh = "_date
9539
9543
  [nt.datepickerInput_focused]: b || T,
9540
9544
  [nt.datepickerInput_error]: !!u,
9541
9545
  ...C && { [C]: !0 }
9542
- }), G = E({
9546
+ }), K = E({
9543
9547
  [nt.datepickerInput__input]: !0,
9544
9548
  [nt.datepickerInput__input_clearStyles]: !0
9545
9549
  }), ce = E({
@@ -9577,7 +9581,7 @@ const th = /* @__PURE__ */ Va(eh), nh = "_datepickerInput_e80nk_43", rh = "_date
9577
9581
  autoComplete: "off",
9578
9582
  placeholder: i,
9579
9583
  disabled: p,
9580
- className: G
9584
+ className: K
9581
9585
  }
9582
9586
  )
9583
9587
  }
@@ -9664,10 +9668,10 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
9664
9668
  name: Y,
9665
9669
  changed: P,
9666
9670
  onMouseEnter: L,
9667
- infoTooltipText: G,
9671
+ infoTooltipText: K,
9668
9672
  tooltipPosition: ce,
9669
9673
  minDate: ne,
9670
- maxDate: K,
9674
+ maxDate: G,
9671
9675
  classNameRoot: te,
9672
9676
  classNameDatePickerInputRoot: W,
9673
9677
  classNameLabel: z,
@@ -9708,7 +9712,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
9708
9712
  tooltipPosition: ce,
9709
9713
  required: m,
9710
9714
  label: w,
9711
- infoTooltipText: G,
9715
+ infoTooltipText: K,
9712
9716
  classNameBaseTooltipRoot: $
9713
9717
  }
9714
9718
  ),
@@ -9721,7 +9725,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
9721
9725
  closeOnScroll: u,
9722
9726
  shouldCloseOnSelect: p,
9723
9727
  minDate: ne,
9724
- maxDate: K,
9728
+ maxDate: G,
9725
9729
  dateFormat: o,
9726
9730
  locale: fp,
9727
9731
  onBlur: x,
@@ -10027,7 +10031,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
10027
10031
  [pt.spInput__control_disabled]: i,
10028
10032
  [pt[`spInput__control_${o}`]]: o,
10029
10033
  [pt.spInput__control_clearable]: d
10030
- }), G = E({
10034
+ }), K = E({
10031
10035
  [pt.spInput__clear]: !0
10032
10036
  }), ce = E({
10033
10037
  [pt.spInput__error]: !0,
@@ -10035,7 +10039,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
10035
10039
  ...S && { [S]: !0 }
10036
10040
  }), ne = E({
10037
10041
  ...D && { [D]: !0 }
10038
- }), K = (z) => {
10042
+ }), G = (z) => {
10039
10043
  e(z, { name: u, value: "" });
10040
10044
  }, te = (z) => {
10041
10045
  const { value: $, name: X } = z.target;
@@ -10068,7 +10072,7 @@ const fh = "_spLabel_1mq16_43", mh = "_spLabel__text_1mq16_52", hh = "_spLabel__
10068
10072
  ref: a
10069
10073
  }
10070
10074
  ),
10071
- d && t && !i && /* @__PURE__ */ M(Be, { onClick: K, className: G, name: pe.Trash })
10075
+ d && t && !i && /* @__PURE__ */ M(Be, { onClick: G, className: K, name: pe.Trash })
10072
10076
  ] }),
10073
10077
  l && /* @__PURE__ */ M("div", { className: ce, children: l })
10074
10078
  ] });
@@ -10353,7 +10357,7 @@ function wv() {
10353
10357
  }
10354
10358
  }
10355
10359
  }
10356
- 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;
10360
+ var x = l, A = p, Y = s, P = i, L = a, K = u, ce = e, ne = w, G = v, te = t, W = o, z = r, $ = d, X = !1;
10357
10361
  function h(F) {
10358
10362
  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;
10359
10363
  }
@@ -10393,7 +10397,7 @@ function wv() {
10393
10397
  function U(F) {
10394
10398
  return D(F) === d;
10395
10399
  }
10396
- 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 = q, ye.isMemo = R, ye.isPortal = H, ye.isProfiler = V, ye.isStrictMode = j, ye.isSuspense = U, ye.isValidElementType = S, ye.typeOf = D;
10400
+ ye.AsyncMode = x, ye.ConcurrentMode = A, ye.ContextConsumer = Y, ye.ContextProvider = P, ye.Element = L, ye.ForwardRef = K, ye.Fragment = ce, ye.Lazy = ne, ye.Memo = G, 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 = q, ye.isMemo = R, ye.isPortal = H, ye.isProfiler = V, ye.isStrictMode = j, ye.isSuspense = U, ye.isValidElementType = S, ye.typeOf = D;
10397
10401
  }()), ye;
10398
10402
  }
10399
10403
  var Qo;
@@ -10549,12 +10553,12 @@ function xv() {
10549
10553
  element: D(),
10550
10554
  elementType: x(),
10551
10555
  instanceOf: A,
10552
- node: G(),
10556
+ node: K(),
10553
10557
  objectOf: P,
10554
10558
  oneOf: Y,
10555
10559
  oneOfType: L,
10556
10560
  shape: ne,
10557
- exact: K
10561
+ exact: G
10558
10562
  };
10559
10563
  function w(f, g) {
10560
10564
  return f === g ? f !== 0 || 1 / f === 1 / g : f !== f && g !== g;
@@ -10709,7 +10713,7 @@ function xv() {
10709
10713
  }
10710
10714
  return y(c);
10711
10715
  }
10712
- function G() {
10716
+ function K() {
10713
10717
  function f(g, _, c, k, B) {
10714
10718
  return te(g[_]) ? null : new b("Invalid " + k + " `" + B + "` supplied to " + ("`" + c + "`, expected a ReactNode."));
10715
10719
  }
@@ -10737,7 +10741,7 @@ function xv() {
10737
10741
  }
10738
10742
  return y(g);
10739
10743
  }
10740
- function K(f) {
10744
+ function G(f) {
10741
10745
  function g(_, c, k, B, q) {
10742
10746
  var R = _[c], H = z(R);
10743
10747
  if (H !== "object")
@@ -11143,7 +11147,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
11143
11147
  },
11144
11148
  A
11145
11149
  );
11146
- const L = a.find((_) => _.value === e), G = (_, c) => {
11150
+ const L = a.find((_) => _.value === e), K = (_, c) => {
11147
11151
  i(_, { value: c.value, name: r }), Y(!1);
11148
11152
  }, ce = () => {
11149
11153
  m || Y(!A);
@@ -11152,7 +11156,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
11152
11156
  [qe.spSelect_error]: !!l,
11153
11157
  [qe.spSelect_absolutePositionError]: C,
11154
11158
  ...T && { [T]: !0 }
11155
- }), K = E({
11159
+ }), G = E({
11156
11160
  [qe.spSelect__container]: !0
11157
11161
  }), te = E({
11158
11162
  [qe.spSelect__control]: !0,
@@ -11205,7 +11209,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
11205
11209
  [qe.spSelect__option]: !0
11206
11210
  }),
11207
11211
  onClick: (k) => {
11208
- G(k, {
11212
+ K(k, {
11209
11213
  value: _.value
11210
11214
  });
11211
11215
  },
@@ -11239,7 +11243,7 @@ const Iv = (n) => `not ${n}`, Ov = (n, a) => {
11239
11243
  classNameBaseTooltipRoot: x
11240
11244
  }
11241
11245
  ),
11242
- /* @__PURE__ */ ue("div", { className: K, onMouseEnter: s, children: [
11246
+ /* @__PURE__ */ ue("div", { className: G, onMouseEnter: s, children: [
11243
11247
  f(),
11244
11248
  A && g()
11245
11249
  ] }),
@@ -13429,13 +13433,13 @@ var Sa = {
13429
13433
  fileRejections: []
13430
13434
  };
13431
13435
  function Ms() {
13432
- 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() {
13436
+ 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, K = tn(function() {
13433
13437
  return ug(t);
13434
13438
  }, [t]), ce = tn(function() {
13435
13439
  return pg(t);
13436
13440
  }, [t]), ne = tn(function() {
13437
13441
  return typeof y == "function" ? y : fi;
13438
- }, [y]), K = tn(function() {
13442
+ }, [y]), G = tn(function() {
13439
13443
  return typeof b == "function" ? b : fi;
13440
13444
  }, [b]), te = Fe(null), W = Fe(null), z = Os(Sg, Sa), $ = ua(z, 2), X = $[0], h = $[1], f = X.isFocused, g = X.isFileDialogActive, _ = Fe(typeof window < "u" && window.isSecureContext && C && cg()), c = function() {
13441
13445
  !_.current && g && setTimeout(function() {
@@ -13443,7 +13447,7 @@ function Ms() {
13443
13447
  var ie = W.current.files;
13444
13448
  ie.length || (h({
13445
13449
  type: "closeDialog"
13446
- }), K());
13450
+ }), G());
13447
13451
  }
13448
13452
  }, 300);
13449
13453
  };
@@ -13451,7 +13455,7 @@ function Ms() {
13451
13455
  return window.addEventListener("focus", c, !1), function() {
13452
13456
  window.removeEventListener("focus", c, !1);
13453
13457
  };
13454
- }, [W, g, K, _]);
13458
+ }, [W, g, G, _]);
13455
13459
  var k = Fe([]), B = function(ie) {
13456
13460
  te.current && te.current.contains(ie.target) || (ie.preventDefault(), k.current = []);
13457
13461
  };
@@ -13470,7 +13474,7 @@ function Ms() {
13470
13474
  if (!(vr(Z) && !Y)) {
13471
13475
  var Me = ie.length, Pe = Me > 0 && og({
13472
13476
  files: ie,
13473
- accept: G,
13477
+ accept: K,
13474
13478
  minSize: i,
13475
13479
  maxSize: o,
13476
13480
  multiple: s,
@@ -13487,7 +13491,7 @@ function Ms() {
13487
13491
  }).catch(function(ie) {
13488
13492
  return q(ie);
13489
13493
  });
13490
- }, [r, p, q, Y, G, i, o, s, l, L]), H = Ge(function(Z) {
13494
+ }, [r, p, q, Y, K, i, o, s, l, L]), H = Ge(function(Z) {
13491
13495
  Z.preventDefault(), Z.persist(), _e(Z);
13492
13496
  var ie = Qn(Z);
13493
13497
  if (ie && Z.dataTransfer)
@@ -13510,7 +13514,7 @@ function Ms() {
13510
13514
  }, [te, u, Y]), j = Ge(function(Z, ie) {
13511
13515
  var Me = [], Pe = [];
13512
13516
  Z.forEach(function(Je) {
13513
- 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;
13517
+ var gn = ys(Je, K), 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;
13514
13518
  if (Ir && Lr && !Ar)
13515
13519
  Me.push(Je);
13516
13520
  else {
@@ -13533,7 +13537,7 @@ function Ms() {
13533
13537
  isDragReject: Pe.length > 0,
13534
13538
  type: "setFiles"
13535
13539
  }), m && m(Me, Pe, ie), Pe.length > 0 && w && w(Pe, ie), Me.length > 0 && v && v(Me, ie);
13536
- }, [h, s, G, i, o, l, m, v, w, L]), U = Ge(function(Z) {
13540
+ }, [h, s, K, i, o, l, m, v, w, L]), U = Ge(function(Z) {
13537
13541
  Z.preventDefault(), Z.persist(), _e(Z), k.current = [], Qn(Z) && Promise.resolve(r(Z)).then(function(ie) {
13538
13542
  vr(Z) && !Y || j(ie, Z);
13539
13543
  }).catch(function(ie) {
@@ -13557,7 +13561,7 @@ function Ms() {
13557
13561
  type: "closeDialog"
13558
13562
  });
13559
13563
  }).catch(function(ie) {
13560
- dg(ie) ? (K(ie), h({
13564
+ dg(ie) ? (G(ie), h({
13561
13565
  type: "closeDialog"
13562
13566
  })) : fg(ie) ? (_.current = !1, W.current ? (W.current.value = null, W.current.click()) : q(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."))) : q(ie);
13563
13567
  });
@@ -13566,7 +13570,7 @@ function Ms() {
13566
13570
  W.current && (h({
13567
13571
  type: "openDialog"
13568
13572
  }), ne(), W.current.value = null, W.current.click());
13569
- }, [h, ne, K, C, j, q, ce, s]), Q = Ge(function(Z) {
13573
+ }, [h, ne, G, C, j, q, ce, s]), Q = Ge(function(Z) {
13570
13574
  !te.current || !te.current.isEqualNode(Z.target) || (Z.key === " " || Z.key === "Enter" || Z.keyCode === 32 || Z.keyCode === 13) && (Z.preventDefault(), F());
13571
13575
  }, [te, F]), O = Ge(function() {
13572
13576
  h({
@@ -13608,7 +13612,7 @@ function Ms() {
13608
13612
  }, []), Ye = tn(function() {
13609
13613
  return function() {
13610
13614
  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, _g), en = Ca({
13611
- accept: G,
13615
+ accept: K,
13612
13616
  multiple: s,
13613
13617
  type: "file",
13614
13618
  style: {
@@ -13770,7 +13774,7 @@ const Mg = (n) => Ms(n), Eg = "_spUploadFiles_qdbwu_43", Ng = "_spUploadFiles_er
13770
13774
  }), L = E({
13771
13775
  [ge.spUploadFiles__control]: !0,
13772
13776
  [ge.spUploadFiles__control_loading]: m
13773
- }), G = E({
13777
+ }), K = E({
13774
13778
  [ge.spUploadFiles__fileNamesList]: !0,
13775
13779
  [ge.spUploadFiles__fileNamesList_loading]: m
13776
13780
  }), ce = E({
@@ -13786,7 +13790,7 @@ const Mg = (n) => Ms(n), Eg = "_spUploadFiles_qdbwu_43", Ng = "_spUploadFiles_er
13786
13790
  }
13787
13791
  const _ = [...l], c = _.findIndex((k) => k.name === f);
13788
13792
  _.splice(c, 1), r(_, e);
13789
- }, K = (f) => {
13793
+ }, G = (f) => {
13790
13794
  f.stopPropagation(), r([], e), b([]);
13791
13795
  }, te = (f) => Object.values(f).flatMap((g) => g.map((_) => _.toUpperCase())).join(", "), W = () => {
13792
13796
  if (S) {
@@ -13811,7 +13815,7 @@ const Mg = (n) => Ms(n), Eg = "_spUploadFiles_qdbwu_43", Ng = "_spUploadFiles_er
13811
13815
  classNameRoot: E(ge.spUploadFiles__fileName)
13812
13816
  }
13813
13817
  );
13814
- }, z = () => /* @__PURE__ */ M("ul", { className: G, children: D.map(({ file: f, errors: g }, _) => {
13818
+ }, z = () => /* @__PURE__ */ M("ul", { className: K, children: D.map(({ file: f, errors: g }, _) => {
13815
13819
  const c = g ? (g == null ? void 0 : g.length) > 0 : void 0, k = () => g ? g == null ? void 0 : g.map(ow).join(", ") : "";
13816
13820
  return /* @__PURE__ */ ue(
13817
13821
  "li",
@@ -13884,7 +13888,7 @@ const Mg = (n) => Ms(n), Eg = "_spUploadFiles_qdbwu_43", Ng = "_spUploadFiles_er
13884
13888
  }
13885
13889
  ), h = () => /* @__PURE__ */ ue(Mn, { children: [
13886
13890
  x ? $() : X(),
13887
- x && A ? /* @__PURE__ */ M("div", { className: ce, onClick: K, children: /* @__PURE__ */ M(Be, { name: pe.Close }) }) : A && p && /* @__PURE__ */ M(
13891
+ x && A ? /* @__PURE__ */ M("div", { className: ce, onClick: G, children: /* @__PURE__ */ M(Be, { name: pe.Close }) }) : A && p && /* @__PURE__ */ M(
13888
13892
  br,
13889
13893
  {
13890
13894
  hover: !0,