@nypl/design-system-react-components 4.1.4 → 4.1.6

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.
@@ -48,13 +48,13 @@ var jy;
48
48
  function rT() {
49
49
  return jy || (jy = 1, process.env.NODE_ENV !== "production" && function() {
50
50
  var r = r1, a = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), v = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), R = Symbol.iterator, N = "@@iterator";
51
- function Z(j) {
51
+ function O(j) {
52
52
  if (j === null || typeof j != "object")
53
53
  return null;
54
54
  var w1 = R && j[R] || j[N];
55
55
  return typeof w1 == "function" ? w1 : null;
56
56
  }
57
- var z = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
57
+ var U = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
58
58
  function P(j) {
59
59
  {
60
60
  for (var w1 = arguments.length, Z1 = new Array(w1 > 1 ? w1 - 1 : 0), m2 = 1; m2 < w1; m2++)
@@ -64,7 +64,7 @@ function rT() {
64
64
  }
65
65
  function I(j, w1, Z1) {
66
66
  {
67
- var m2 = z.ReactDebugCurrentFrame, Q2 = m2.getStackAddendum();
67
+ var m2 = U.ReactDebugCurrentFrame, Q2 = m2.getStackAddendum();
68
68
  Q2 !== "" && (w1 += "%s", Z1 = Z1.concat([Q2]));
69
69
  var k2 = Z1.map(function(v2) {
70
70
  return String(v2);
@@ -198,7 +198,7 @@ function rT() {
198
198
  D1 < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
199
199
  }
200
200
  }
201
- var H2 = z.ReactCurrentDispatcher, V2;
201
+ var H2 = U.ReactCurrentDispatcher, V2;
202
202
  function o2(j, w1, Z1) {
203
203
  {
204
204
  if (V2 === void 0)
@@ -324,7 +324,7 @@ function rT() {
324
324
  }
325
325
  return "";
326
326
  }
327
- var m3 = Object.prototype.hasOwnProperty, B1 = {}, T2 = z.ReactDebugCurrentFrame;
327
+ var m3 = Object.prototype.hasOwnProperty, B1 = {}, T2 = U.ReactDebugCurrentFrame;
328
328
  function z3(j) {
329
329
  if (j) {
330
330
  var w1 = j._owner, Z1 = F2(j.type, j._source, w1 ? w1.type : null);
@@ -375,7 +375,7 @@ function rT() {
375
375
  if (Ze(j))
376
376
  return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", o3(j)), le(j);
377
377
  }
378
- var b4 = z.ReactCurrentOwner, Ie = {
378
+ var b4 = U.ReactCurrentOwner, Ie = {
379
379
  key: !0,
380
380
  ref: !0,
381
381
  __self: !0,
@@ -469,7 +469,7 @@ function rT() {
469
469
  return R3(j, j2, Ve, Q2, m2, b4.current, v2);
470
470
  }
471
471
  }
472
- var Z3 = z.ReactCurrentOwner, O3 = z.ReactDebugCurrentFrame;
472
+ var Z3 = U.ReactCurrentOwner, O3 = U.ReactDebugCurrentFrame;
473
473
  function H3(j) {
474
474
  if (j) {
475
475
  var w1 = j._owner, Z1 = F2(j.type, j._source, w1 ? w1.type : null);
@@ -535,7 +535,7 @@ Check the top-level render call using <` + Z1 + ">.");
535
535
  else if (F4(j))
536
536
  j._store && (j._store.validated = !0);
537
537
  else if (j) {
538
- var Q2 = Z(j);
538
+ var Q2 = O(j);
539
539
  if (typeof Q2 == "function" && Q2 !== j.entries)
540
540
  for (var k2 = Q2.call(j), v2; !(v2 = k2.next()).done; )
541
541
  F4(v2.value) && D6(v2.value, w1);
@@ -623,8 +623,8 @@ process.env.NODE_ENV === "production" ? eh.exports = tT() : eh.exports = rT();
623
623
  var x = eh.exports, fc = { exports: {} };
624
624
  fc.exports;
625
625
  (function(r, a) {
626
- var o = 200, s = "__lodash_hash_undefined__", i = 800, p = 16, C = 9007199254740991, v = "[object Arguments]", y = "[object Array]", L = "[object AsyncFunction]", V = "[object Boolean]", k = "[object Date]", S = "[object Error]", _ = "[object Function]", R = "[object GeneratorFunction]", N = "[object Map]", Z = "[object Number]", z = "[object Null]", P = "[object Object]", I = "[object Proxy]", W = "[object RegExp]", $ = "[object Set]", J = "[object String]", e1 = "[object Undefined]", c1 = "[object WeakMap]", d1 = "[object ArrayBuffer]", k1 = "[object DataView]", M1 = "[object Float32Array]", g1 = "[object Float64Array]", y1 = "[object Int8Array]", r2 = "[object Int16Array]", D1 = "[object Int32Array]", N1 = "[object Uint8Array]", G1 = "[object Uint8ClampedArray]", m1 = "[object Uint16Array]", S1 = "[object Uint32Array]", v1 = /[\\^$.*+?()[\]{}|]/g, Q1 = /^\[object .+?Constructor\]$/, q1 = /^(?:0|[1-9]\d*)$/, j1 = {};
627
- j1[M1] = j1[g1] = j1[y1] = j1[r2] = j1[D1] = j1[N1] = j1[G1] = j1[m1] = j1[S1] = !0, j1[v] = j1[y] = j1[d1] = j1[V] = j1[k1] = j1[k] = j1[S] = j1[_] = j1[N] = j1[Z] = j1[P] = j1[W] = j1[$] = j1[J] = j1[c1] = !1;
626
+ var o = 200, s = "__lodash_hash_undefined__", i = 800, p = 16, C = 9007199254740991, v = "[object Arguments]", y = "[object Array]", L = "[object AsyncFunction]", V = "[object Boolean]", k = "[object Date]", S = "[object Error]", _ = "[object Function]", R = "[object GeneratorFunction]", N = "[object Map]", O = "[object Number]", U = "[object Null]", P = "[object Object]", I = "[object Proxy]", W = "[object RegExp]", $ = "[object Set]", J = "[object String]", e1 = "[object Undefined]", c1 = "[object WeakMap]", d1 = "[object ArrayBuffer]", k1 = "[object DataView]", M1 = "[object Float32Array]", g1 = "[object Float64Array]", y1 = "[object Int8Array]", r2 = "[object Int16Array]", D1 = "[object Int32Array]", N1 = "[object Uint8Array]", G1 = "[object Uint8ClampedArray]", m1 = "[object Uint16Array]", S1 = "[object Uint32Array]", v1 = /[\\^$.*+?()[\]{}|]/g, Q1 = /^\[object .+?Constructor\]$/, q1 = /^(?:0|[1-9]\d*)$/, j1 = {};
627
+ j1[M1] = j1[g1] = j1[y1] = j1[r2] = j1[D1] = j1[N1] = j1[G1] = j1[m1] = j1[S1] = !0, j1[v] = j1[y] = j1[d1] = j1[V] = j1[k1] = j1[k] = j1[S] = j1[_] = j1[N] = j1[O] = j1[P] = j1[W] = j1[$] = j1[J] = j1[c1] = !1;
628
628
  var x2 = typeof Xu == "object" && Xu && Xu.Object === Object && Xu, n3 = typeof self == "object" && self && self.Object === Object && self, H2 = x2 || n3 || Function("return this")(), V2 = a && !a.nodeType && a, o2 = V2 && !0 && r && !r.nodeType && r, l2 = o2 && o2.exports === V2, R2 = l2 && x2.process, B2 = function() {
629
629
  try {
630
630
  var B = o2 && o2.require && o2.require("util").types;
@@ -839,7 +839,7 @@ fc.exports;
839
839
  }
840
840
  var W2 = J7();
841
841
  function V5(B) {
842
- return B == null ? B === void 0 ? e1 : z : X3 && X3 in Object(B) ? Ft(B) : V3(B);
842
+ return B == null ? B === void 0 ? e1 : U : X3 && X3 in Object(B) ? Ft(B) : V3(B);
843
843
  }
844
844
  function H9(B) {
845
845
  return J5(B) && V5(B) == v;
@@ -2387,10 +2387,10 @@ function zT(r, a) {
2387
2387
  const k = L.map((S) => {
2388
2388
  if (AT.has(S))
2389
2389
  return S;
2390
- const _ = S.indexOf(" "), [R, N] = _ !== -1 ? [S.substr(0, _), S.substr(_ + 1)] : [S], Z = oh(N) ? N : N && N.split(" "), z = `colors.${R}`, P = z in a.__cssMap ? a.__cssMap[z].varRef : R;
2391
- return Z ? [
2390
+ const _ = S.indexOf(" "), [R, N] = _ !== -1 ? [S.substr(0, _), S.substr(_ + 1)] : [S], O = oh(N) ? N : N && N.split(" "), U = `colors.${R}`, P = U in a.__cssMap ? a.__cssMap[U].varRef : R;
2391
+ return O ? [
2392
2392
  P,
2393
- ...Array.isArray(Z) ? Z : [Z]
2393
+ ...Array.isArray(O) ? O : [O]
2394
2394
  ].join(" ") : P;
2395
2395
  });
2396
2396
  return `${v}(${k.join(", ")})`;
@@ -3872,7 +3872,7 @@ const { defineMultiStyleConfig: c_, definePartsStyle: d_ } = U2(["container", "b
3872
3872
  }
3873
3873
  }), z_ = {
3874
3874
  parts: ["helperErrorText"],
3875
- baseStyle: ({ hasChildren: r }) => ({
3875
+ baseStyle: ({ hasHelperText: r }) => ({
3876
3876
  helperErrorText: {
3877
3877
  marginTop: r ? "helper.default" : "0"
3878
3878
  }
@@ -6811,7 +6811,9 @@ const { defineMultiStyleConfig: UD, definePartsStyle: ID } = U2([
6811
6811
  ...ch[r.size]
6812
6812
  };
6813
6813
  return {
6814
- ...a,
6814
+ // Apply styles to the root element if a custom svg is not passed
6815
+ ...r.hasChildSVG ? {} : a,
6816
+ // Apply styles to a child svg element
6815
6817
  svg: {
6816
6818
  ...a
6817
6819
  }
@@ -7202,6 +7204,19 @@ const { defineMultiStyleConfig: UD, definePartsStyle: ID } = U2([
7202
7204
  select: CZ(r),
7203
7205
  "div[data-testid='ds-helperErrorText']": {
7204
7206
  marginLeft: !o && r === "inline" ? "0" : `${a}px`
7207
+ },
7208
+ /**
7209
+ * Overriding Chakra default styles with styles that are RTL-aware to
7210
+ * properly position the dropdown icon.
7211
+ *
7212
+ * To work properly, the `right` attribute needs to be unset before the
7213
+ * `inset-inline-end` attribute is set. Additionally, `insetInlineEnd`
7214
+ * which should map to `inset-inline-end` actually maps to `right`,
7215
+ * which does not solve the problem. Maybe these are bugs in Chakra.
7216
+ * */
7217
+ ".chakra-select__icon-wrapper": {
7218
+ right: "unset",
7219
+ "inset-inline-end": "var(--nypl-space-2)"
7205
7220
  }
7206
7221
  })
7207
7222
  ),
@@ -8172,8 +8187,8 @@ const PZ = oe({
8172
8187
  baseStyle: zZ(
8173
8188
  ({ backgroundColor: r, highlightColor: a }) => {
8174
8189
  const o = "var(--nypl-colors-ui-typography-body)", s = "var(--nypl-colors-dark-ui-typography-body)", i = (N = "light") => `${N === "dark" ? s : o} !important`, p = (N = "light") => a ? `${a} !important` : `${N === "dark" ? s : o} !important`, C = "var(--nypl-colors-ui-link-primary)", v = "var(--nypl-colors-dark-ui-link-primary)", y = (N = "light") => a ? `${a} !important` : `${N === "dark" ? v : C} !important`, L = (N = "light") => {
8175
- const Z = N === "dark" ? `${N}.` : "";
8176
- return a || `${Z}ui.border.default`;
8190
+ const O = N === "dark" ? `${N}.` : "";
8191
+ return a || `${O}ui.border.default`;
8177
8192
  }, V = "var(--nypl-colors-ui-link-primary-05)", k = "var(--nypl-colors-dark-ui-link-primary-10)", S = (N = "light") => r || `${N === "dark" ? k : V} !important`, _ = {
8178
8193
  ...hL(),
8179
8194
  svg: {
@@ -10224,7 +10239,6 @@ const {
10224
10239
  utilitySearch: wL
10225
10240
  }, S3 = P1(
10226
10241
  u2((r, a) => {
10227
- var Z;
10228
10242
  const {
10229
10243
  align: o = "none",
10230
10244
  children: s,
@@ -10237,38 +10251,41 @@ const {
10237
10251
  title: V = `${y} icon`,
10238
10252
  variant: k = "default",
10239
10253
  ...S
10240
- } = r, _ = re("ReservoirIcon", {
10254
+ } = r, _ = s && s.type === "svg", R = re("ReservoirIcon", {
10241
10255
  align: o,
10242
10256
  color: i,
10257
+ hasChildSVG: _,
10243
10258
  iconRotation: C,
10244
10259
  size: L,
10245
10260
  variant: k
10246
- }), R = {
10261
+ }), N = {
10247
10262
  "aria-hidden": p,
10248
10263
  id: v,
10249
10264
  role: "img",
10250
10265
  title: V,
10251
10266
  ...S
10252
10267
  };
10253
- let N = null;
10254
- if (y && s)
10268
+ if (y && _)
10255
10269
  return console.warn(
10256
10270
  "NYPL Reservoir Icon: Pass in either a `name` prop or an `svg` element child. Do not pass both."
10257
10271
  ), null;
10258
- if (!y && !s)
10272
+ if (s && !_)
10273
+ return console.warn(
10274
+ "NYPL Reservoir Icon: Only an `svg` element can be passed to the `Icon` component as its child."
10275
+ ), null;
10276
+ if (!y && !_)
10259
10277
  return console.warn(
10260
10278
  "NYPL Reservoir Icon: Pass an icon `name` prop or an SVG child to ensure an icon appears."
10261
10279
  ), null;
10262
10280
  if (y) {
10263
- const z = dB[y];
10264
- return /* @__PURE__ */ x.jsx(gb, { as: z, ref: a, ...R, __css: _ });
10281
+ const U = dB[y];
10282
+ return /* @__PURE__ */ x.jsx(gb, { as: U, ref: a, ...N, __css: R });
10265
10283
  }
10266
- return s.type === "svg" || ((Z = s.props) == null ? void 0 : Z.type) === "svg" ? N = r1.cloneElement(s, {
10267
- ...R,
10284
+ const O = r1.cloneElement(s, {
10285
+ ...N,
10268
10286
  ref: a
10269
- }) : console.warn(
10270
- "NYPL Reservoir Icon: An `svg` element must be passed to the `Icon` component as its child."
10271
- ), /* @__PURE__ */ x.jsx(p1, { ref: a, __css: _, children: N });
10287
+ });
10288
+ return /* @__PURE__ */ x.jsx(p1, { ref: a, __css: R, children: O });
10272
10289
  }),
10273
10290
  // Pass all custom props to Chakra and override, e.g. we want the
10274
10291
  // DS color value set and not color strings.
@@ -10317,7 +10334,7 @@ const CB = ({
10317
10334
  key: _,
10318
10335
  maxHeight: i,
10319
10336
  overflow: "auto"
10320
- }, Z = typeof S.panel == "string" ? /* @__PURE__ */ x.jsx(
10337
+ }, O = typeof S.panel == "string" ? /* @__PURE__ */ x.jsx(
10321
10338
  Oy,
10322
10339
  {
10323
10340
  ...N,
@@ -10330,7 +10347,7 @@ const CB = ({
10330
10347
  borderBottom: R ? void 0 : "transparent",
10331
10348
  children: S.panel
10332
10349
  }
10333
- ), z = S.ariaLabel ? S.ariaLabel : a;
10350
+ ), U = S.ariaLabel ? S.ariaLabel : a;
10334
10351
  return S.ariaLabel && a && console.warn(
10335
10352
  "NYPL Reservoir Accordion: An aria-label value has been passed for the overall component and as part of the accordionData prop. Both can not be used, so the value in the accordionData prop will take precedence."
10336
10353
  ), /* @__PURE__ */ x.jsx(qE, { id: `${o}-item-${_}`, children: ({ isExpanded: P }) => {
@@ -10339,7 +10356,7 @@ const CB = ({
10339
10356
  /* @__PURE__ */ x.jsxs(
10340
10357
  GE,
10341
10358
  {
10342
- "aria-label": z,
10359
+ "aria-label": U,
10343
10360
  id: `${o}-button-${_}`,
10344
10361
  padding: k,
10345
10362
  ref: S.buttonInteractionRef,
@@ -10394,7 +10411,7 @@ const CB = ({
10394
10411
  ]
10395
10412
  }
10396
10413
  ),
10397
- (s || P) && Z
10414
+ (s || P) && O
10398
10415
  ] });
10399
10416
  } }, _);
10400
10417
  });
@@ -10411,14 +10428,14 @@ const CB = ({
10411
10428
  ...L
10412
10429
  } = r, V = me(i), [k, S] = xe(
10413
10430
  p ? [0] : []
10414
- ), [_, R] = xe(-1), N = o.map((z) => ({
10415
- ...z,
10416
- buttonInteractionRef: z.buttonInteractionRef || bb()
10417
- })), Z = (z) => {
10418
- if (z.code === "Escape") {
10431
+ ), [_, R] = xe(-1), N = o.map((U) => ({
10432
+ ...U,
10433
+ buttonInteractionRef: U.buttonInteractionRef || bb()
10434
+ })), O = (U) => {
10435
+ if (U.code === "Escape") {
10419
10436
  let P;
10420
- z.target.dataset.index ? P = Number(z.target.dataset.index) : P = Number(
10421
- z.target.closest("[role='region']").id.split("-").pop()
10437
+ U.target.dataset.index ? P = Number(U.target.dataset.index) : P = Number(
10438
+ U.target.closest("[role='region']").id.split("-").pop()
10422
10439
  ), S(
10423
10440
  k.filter((I) => I !== P)
10424
10441
  ), N[P].buttonInteractionRef && N[P].buttonInteractionRef.current.focus();
@@ -10432,8 +10449,8 @@ const CB = ({
10432
10449
  allowMultiple: !0,
10433
10450
  "data-testid": "ds-accordion",
10434
10451
  index: k,
10435
- onChange: (z) => S(z),
10436
- onKeyDown: Z,
10452
+ onChange: (U) => S(U),
10453
+ onKeyDown: O,
10437
10454
  id: V,
10438
10455
  ref: a,
10439
10456
  ...L,
@@ -10562,7 +10579,7 @@ const L9 = P1(
10562
10579
  target: V,
10563
10580
  variant: k = "default",
10564
10581
  ...S
10565
- } = r, _ = k === "backwards" || k === "forwards" || k === "standalone" ? !1 : v, Z = {
10582
+ } = r, _ = k === "backwards" || k === "forwards" || k === "standalone" ? !1 : v, O = {
10566
10583
  id: C,
10567
10584
  href: p,
10568
10585
  onClick: y,
@@ -10571,12 +10588,12 @@ const L9 = P1(
10571
10588
  target: k === "external" ? "_blank" : V || null,
10572
10589
  ...S
10573
10590
  };
10574
- let z = "link";
10575
- k === "action" || k === "backwards" || k === "external" || k === "forwards" || k === "standalone" ? z = "moreLink" : k.includes("button") && (z = k);
10591
+ let U = "link";
10592
+ k === "action" || k === "backwards" || k === "external" || k === "forwards" || k === "standalone" ? U = "moreLink" : k.includes("button") && (U = k);
10576
10593
  const P = N2("Link", {
10577
10594
  finalIsUnderlined: _,
10578
10595
  hasVisitedState: i,
10579
- variant: z
10596
+ variant: U
10580
10597
  }), I = C || sT(`link-${s}`), W = (k === "forwards" || k === "backwards") && mB({
10581
10598
  children: s,
10582
10599
  id: I,
@@ -10591,7 +10608,7 @@ const L9 = P1(
10591
10608
  {
10592
10609
  as: o,
10593
10610
  "data-testid": "ds-link",
10594
- ...Z,
10611
+ ...O,
10595
10612
  sx: P.base,
10596
10613
  ...S,
10597
10614
  children: [
@@ -10679,13 +10696,13 @@ const L9 = P1(
10679
10696
  url: k,
10680
10697
  urlClass: S,
10681
10698
  ..._
10682
- } = r, R = yB(C), N = y || C, Z = N2("Heading", {
10699
+ } = r, R = yB(C), N = y || C, O = N2("Heading", {
10683
10700
  variant: N,
10684
10701
  isCapitalized: s,
10685
10702
  isUppercase: i,
10686
10703
  isLowercase: p,
10687
10704
  url: k
10688
- }), z = R;
10705
+ }), U = R;
10689
10706
  !r.children && !V && console.warn(
10690
10707
  "NYPL Reservoir Heading: No children or value was passed to the `text` prop."
10691
10708
  );
@@ -10699,9 +10716,9 @@ const L9 = P1(
10699
10716
  "heading2",
10700
10717
  "h1",
10701
10718
  "h2"
10702
- ], J = $.includes(N) ? "overline1" : "overline2", e1 = $.includes(N) ? "subtitle1" : "subtitle2", c1 = Z.defaultColorStyle, d1 = v && L ? { sx: { ...Z.base } } : {
10719
+ ], J = $.includes(N) ? "overline1" : "overline2", e1 = $.includes(N) ? "subtitle1" : "subtitle2", c1 = O.defaultColorStyle, d1 = v && L ? { sx: { ...O.base } } : {
10703
10720
  ..._,
10704
- sx: { ...Z.base, ...c1 }
10721
+ sx: { ...O.base, ...c1 }
10705
10722
  }, k1 = /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
10706
10723
  v && /* @__PURE__ */ x.jsx(
10707
10724
  P4,
@@ -10716,7 +10733,7 @@ const L9 = P1(
10716
10733
  /* @__PURE__ */ x.jsx(
10717
10734
  eS,
10718
10735
  {
10719
- as: z,
10736
+ as: U,
10720
10737
  "data-testid": "ds-heading",
10721
10738
  id: o,
10722
10739
  ref: a,
@@ -10803,7 +10820,9 @@ const ia = P1(
10803
10820
  isInvalid: L = !1,
10804
10821
  showHelperInvalidText: V = !0,
10805
10822
  ...k
10806
- } = r, S = v ? `${v}-componentWrapper` : void 0, _ = v ? `${v}-helperErrorText` : void 0, N = N2("ComponentWrapper", { hasChildren: !!o }), Z = L ? y : p, z = X0({
10823
+ } = r, S = v ? `${v}-componentWrapper` : void 0, _ = v ? `${v}-helperErrorText` : void 0, R = L ? y : p, N = N2("ComponentWrapper", {
10824
+ hasHelperText: !!R
10825
+ }), O = X0({
10807
10826
  id: v,
10808
10827
  title: i,
10809
10828
  additionalStyles: {
@@ -10819,16 +10838,16 @@ const ia = P1(
10819
10838
  __css: N,
10820
10839
  ...k,
10821
10840
  children: [
10822
- z,
10841
+ O,
10823
10842
  s && /* @__PURE__ */ x.jsx(P4, { mb: "paragraph.default", children: s }),
10824
10843
  o,
10825
- Z && /* @__PURE__ */ x.jsx(
10844
+ /* @__PURE__ */ x.jsx(
10826
10845
  ia,
10827
10846
  {
10828
10847
  id: _,
10829
10848
  isInvalid: L,
10830
10849
  isRenderedText: V,
10831
- text: Z,
10850
+ text: R,
10832
10851
  __css: { ...N.helperErrorText, ...C }
10833
10852
  }
10834
10853
  )
@@ -10883,14 +10902,14 @@ const ia = P1(
10883
10902
  }, [s, y]);
10884
10903
  const N = (I, W) => {
10885
10904
  I.preventDefault && I.preventDefault(), _ !== W && (R(W), y && y(W));
10886
- }, Z = W5(
10905
+ }, O = W5(
10887
10906
  "ui.gray.dark",
10888
10907
  "ui.gray.medium"
10889
- ), z = (I) => {
10908
+ ), U = (I) => {
10890
10909
  const W = _ === I.value && I.value !== "showAll", $ = I.value === "showAll", J = v || o && !o.includes(I.value) && !$, e1 = W ? {
10891
10910
  ...V.button,
10892
10911
  border: "1px solid",
10893
- borderColor: Z
10912
+ borderColor: O
10894
10913
  } : {
10895
10914
  ...V.button,
10896
10915
  border: "1px solid transparent"
@@ -10912,7 +10931,7 @@ const ia = P1(
10912
10931
  },
10913
10932
  I.value
10914
10933
  );
10915
- }, P = () => k.map((I) => z(I));
10934
+ }, P = () => k.map((I) => U(I));
10916
10935
  return /* @__PURE__ */ x.jsx(
10917
10936
  p1,
10918
10937
  {
@@ -10964,8 +10983,8 @@ const ia = P1(
10964
10983
  var $;
10965
10984
  return I !== "file" && (($ = W == null ? void 0 : W.src) == null ? void 0 : $.includes(`${I}.com`));
10966
10985
  }
10967
- const Z = N2("AudioPlayer", {});
10968
- function z() {
10986
+ const O = N2("AudioPlayer", {});
10987
+ function U() {
10969
10988
  return S ? /* @__PURE__ */ x.jsx(
10970
10989
  p1,
10971
10990
  {
@@ -10975,7 +10994,7 @@ const ia = P1(
10975
10994
  }
10976
10995
  ) : null;
10977
10996
  }
10978
- const P = z();
10997
+ const P = U();
10979
10998
  return /* @__PURE__ */ x.jsxs(
10980
10999
  X7,
10981
11000
  {
@@ -10985,14 +11004,14 @@ const ia = P1(
10985
11004
  helperText: C,
10986
11005
  id: v,
10987
11006
  ref: a,
10988
- __css: Z.base,
11007
+ __css: O.base,
10989
11008
  ...L,
10990
11009
  children: [
10991
11010
  V ? /* @__PURE__ */ x.jsx(
10992
11011
  p1,
10993
11012
  {
10994
11013
  dangerouslySetInnerHTML: { __html: R },
10995
- __css: Z.invalid
11014
+ __css: O.invalid
10996
11015
  }
10997
11016
  ) : /* @__PURE__ */ x.jsx(x.Fragment, { children: P }),
10998
11017
  /* @__PURE__ */ x.jsx("noscript", { children: /* @__PURE__ */ x.jsx(
@@ -11061,7 +11080,7 @@ const xB = {
11061
11080
  isDismissible: y = !1,
11062
11081
  variant: L = "neutral",
11063
11082
  ...V
11064
- } = r, k = me(v), [S, _] = xe(!0), R = () => _(!1), N = !!(o && p), Z = N2("Banner", {
11083
+ } = r, k = me(v), [S, _] = xe(!0), R = () => _(!1), N = !!(o && p), O = N2("Banner", {
11065
11084
  // Only set the custom `backgroundColor` and `highlightColor` values
11066
11085
  // if they are both set.
11067
11086
  backgroundColor: N ? o : void 0,
@@ -11069,21 +11088,21 @@ const xB = {
11069
11088
  // If `backgroundColor` and `highlightColor` are set, then it
11070
11089
  // overrides the Banner variant.
11071
11090
  variant: N ? void 0 : L
11072
- }), z = {
11091
+ }), U = {
11073
11092
  size: "heading6",
11074
11093
  color: L === "negative" ? "ui.error.primary" : null,
11075
11094
  _dark: {
11076
11095
  color: L === "negative" ? "dark.ui.error.primary" : null
11077
11096
  },
11078
11097
  paddingBottom: "xs"
11079
- }, P = i ? typeof i == "string" ? /* @__PURE__ */ x.jsx(b9, { level: "h2", text: i, ...z }) : r1.cloneElement(i, z) : null, I = /* @__PURE__ */ x.jsx(
11098
+ }, P = i ? typeof i == "string" ? /* @__PURE__ */ x.jsx(b9, { level: "h2", text: i, ...U }) : r1.cloneElement(i, U) : null, I = /* @__PURE__ */ x.jsx(
11080
11099
  j3,
11081
11100
  {
11082
11101
  "aria-label": "Close the banner",
11083
11102
  id: `${k}-dismissible-button`,
11084
11103
  onClick: R,
11085
11104
  variant: "text",
11086
- __css: Z.dismissibleButton,
11105
+ __css: O.dismissibleButton,
11087
11106
  children: /* @__PURE__ */ x.jsx(
11088
11107
  S3,
11089
11108
  {
@@ -11116,7 +11135,7 @@ const xB = {
11116
11135
  "data-variant": L,
11117
11136
  id: k,
11118
11137
  ref: a,
11119
- __css: Z.base,
11138
+ __css: O.base,
11120
11139
  ...V,
11121
11140
  children: [
11122
11141
  W,
@@ -11339,12 +11358,12 @@ function _B(r, a, o, s) {
11339
11358
  function DB(r) {
11340
11359
  var a = r === void 0 ? {} : r, o = a.threshold, s = a.delay, i = a.trackVisibility, p = a.rootMargin, C = a.root, v = a.triggerOnce, y = a.skip, L = a.initialInView, V = a.fallbackInView, k = a.onChange, S = d.useRef(), _ = d.useRef(), R = d.useState({
11341
11360
  inView: !!L
11342
- }), N = R[0], Z = R[1];
11361
+ }), N = R[0], O = R[1];
11343
11362
  _.current = k;
11344
- var z = d.useCallback(
11363
+ var U = d.useCallback(
11345
11364
  function(I) {
11346
11365
  S.current !== void 0 && (S.current(), S.current = void 0), !y && I && (S.current = _B(I, function(W, $) {
11347
- Z({
11366
+ O({
11348
11367
  inView: W,
11349
11368
  entry: $
11350
11369
  }), _.current && _.current(W, $), $.isIntersecting && v && S.current && (S.current(), S.current = void 0);
@@ -11374,11 +11393,11 @@ function DB(r) {
11374
11393
  ]
11375
11394
  );
11376
11395
  d.useEffect(function() {
11377
- !S.current && N.entry && !v && !y && Z({
11396
+ !S.current && N.entry && !v && !y && O({
11378
11397
  inView: !!L
11379
11398
  });
11380
11399
  });
11381
- var P = [z, N.inView, N.entry];
11400
+ var P = [U, N.inView, N.entry];
11382
11401
  return P.ref = P[0], P.inView = P[1], P.entry = P[2], P;
11383
11402
  }
11384
11403
  const RB = P1(
@@ -11426,8 +11445,8 @@ const RB = P1(
11426
11445
  isLazy: _ = !1,
11427
11446
  onError: R,
11428
11447
  size: N = "default",
11429
- sizeBasedOn: Z = "width",
11430
- src: z,
11448
+ sizeBasedOn: O = "width",
11449
+ src: U,
11431
11450
  ...P
11432
11451
  } = r, I = MB(), [W, $] = DB({
11433
11452
  triggerOnce: !0,
@@ -11436,16 +11455,16 @@ const RB = P1(
11436
11455
  variant: S,
11437
11456
  ratio: C,
11438
11457
  size: N,
11439
- sizeBasedOn: Z
11458
+ sizeBasedOn: O
11440
11459
  }), c1 = (r2) => {
11441
11460
  console.warn(
11442
11461
  "NYPL Reservoir Image: The initial image failed to load in the browser. The fallback image source will now be used."
11443
11462
  ), r2.target.src = V, R && R(r2);
11444
11463
  };
11445
- let d1 = null, k1, M1, g1 = _ ? {} : { src: z };
11464
+ let d1 = null, k1, M1, g1 = _ ? {} : { src: U };
11446
11465
  p && p.length > 300 && console.warn(
11447
11466
  "NYPL Reservoir Image: Alt text must be less than 300 characters."
11448
- ), _ && ($ || I) && (k1 = W, g1 = { src: z }), M1 = Cc(k1, a), d1 = y || /* @__PURE__ */ x.jsx(
11467
+ ), _ && ($ || I) && (k1 = W, g1 = { src: U }), M1 = Cc(k1, a), d1 = y || /* @__PURE__ */ x.jsx(
11449
11468
  p1,
11450
11469
  {
11451
11470
  as: "img",
@@ -11465,7 +11484,7 @@ const RB = P1(
11465
11484
  id: k ? `${k}-wrapper` : null,
11466
11485
  ratio: C,
11467
11486
  size: N,
11468
- sizeBasedOn: Z,
11487
+ sizeBasedOn: O,
11469
11488
  ...v || L ? {} : P,
11470
11489
  children: d1
11471
11490
  }
@@ -11605,11 +11624,11 @@ const VI = P1(
11605
11624
  layout: V = "column",
11606
11625
  mainActionLink: k,
11607
11626
  ...S
11608
- } = r, _ = me(p), R = C.src || C.component, N = C.component ? "original" : C.aspectRatio, Z = {}, z = [], P = [], I = r1.Children.toArray(s);
11627
+ } = r, _ = me(p), R = C.src || C.component, N = C.component ? "original" : C.aspectRatio, O = {}, U = [], P = [], I = r1.Children.toArray(s);
11609
11628
  let W = 0;
11610
11629
  C.component && C.aspectRatio && console.warn(
11611
11630
  "NYPL Reservoir Card: Both the `imageProps.component` and `imageProps.aspectRatio` props were set but `imageProps.aspectRatio` will be ignored in favor of the aspect ratio on `imageProps.component` prop."
11612
- ), o && (Z.backgroundColor = o), i && (Z.color = i);
11631
+ ), o && (O.backgroundColor = o), i && (O.color = i);
11613
11632
  const $ = N2("ReservoirCard", {
11614
11633
  hasImage: R,
11615
11634
  imageIsAtEnd: C.isAtEnd,
@@ -11630,13 +11649,13 @@ const VI = P1(
11630
11649
  layout: V,
11631
11650
  __css: $.heading
11632
11651
  });
11633
- z.push(g1), W++;
11652
+ U.push(g1), W++;
11634
11653
  } else if (d1) {
11635
11654
  const M1 = r1.cloneElement(J, { key: e1 });
11636
- z.push(M1);
11655
+ U.push(M1);
11637
11656
  } else if (c1) {
11638
11657
  const M1 = r1.cloneElement(J, { key: e1, isCentered: L, layout: V });
11639
- v && V === "row" ? P.push(M1) : z.push(M1);
11658
+ v && V === "row" ? P.push(M1) : U.push(M1);
11640
11659
  }
11641
11660
  }), /* @__PURE__ */ x.jsx(
11642
11661
  p1,
@@ -11652,7 +11671,7 @@ const VI = P1(
11652
11671
  mainActionLink: k,
11653
11672
  styles: {
11654
11673
  ...$.wrapper,
11655
- ...Z
11674
+ ...O
11656
11675
  },
11657
11676
  "data-cardwrapper": !0,
11658
11677
  children: [
@@ -11674,7 +11693,7 @@ const VI = P1(
11674
11693
  src: C.src ? C.src : void 0
11675
11694
  }
11676
11695
  ),
11677
- /* @__PURE__ */ x.jsx(p1, { __css: $.body, "data-body": !0, children: z }),
11696
+ /* @__PURE__ */ x.jsx(p1, { __css: $.body, "data-body": !0, children: U }),
11678
11697
  P.length ? /* @__PURE__ */ x.jsx(p1, { __css: { ...$.body, ...$.actions }, "data-actions": !0, children: P }) : null
11679
11698
  ]
11680
11699
  }
@@ -11705,10 +11724,10 @@ const Tp = P1(
11705
11724
  showHelperInvalidText: _ = !0,
11706
11725
  showLabel: R = !0,
11707
11726
  value: N,
11708
- ...Z
11709
- } = r, z = me(s), P = N2("Checkbox", {}), I = AB(), W = y ? i : o, $ = v ? void 0 : /* @__PURE__ */ x.jsx(jB, {}), J = Wo({
11727
+ ...O
11728
+ } = r, U = me(s), P = N2("Checkbox", {}), I = AB(), W = y ? i : o, $ = v ? void 0 : /* @__PURE__ */ x.jsx(jB, {}), J = Wo({
11710
11729
  footnote: W,
11711
- id: z,
11730
+ id: U,
11712
11731
  labelText: V,
11713
11732
  name: "Checkbox",
11714
11733
  showLabel: R
@@ -11719,16 +11738,16 @@ const Tp = P1(
11719
11738
  "data-testid": "ds-checkbox",
11720
11739
  helperText: o,
11721
11740
  helperTextStyles: P.helperErrorText,
11722
- id: z,
11741
+ id: U,
11723
11742
  invalidText: i,
11724
11743
  isInvalid: y,
11725
11744
  showHelperInvalidText: _,
11726
- ...Z,
11745
+ ...O,
11727
11746
  children: /* @__PURE__ */ x.jsx(
11728
11747
  lS,
11729
11748
  {
11730
11749
  icon: $,
11731
- id: z,
11750
+ id: U,
11732
11751
  isDisabled: (I == null ? void 0 : I.isDisabled) || C,
11733
11752
  isIndeterminate: v,
11734
11753
  isInvalid: (I == null ? void 0 : I.isInvalid) || y,
@@ -11800,8 +11819,8 @@ const Tp = P1(
11800
11819
  name: _,
11801
11820
  onChange: R,
11802
11821
  showHelperInvalidText: N = !0,
11803
- showLabel: Z = !0,
11804
- showRequiredLabel: z = !0,
11822
+ showLabel: O = !0,
11823
+ showRequiredLabel: U = !0,
11805
11824
  value: P,
11806
11825
  ...I
11807
11826
  } = r, W = me(p), $ = L ? C : i, J = S === "column" ? Fo.input.group.default.vstack : Fo.input.group.default.hstack, e1 = s && R ? {
@@ -11823,10 +11842,10 @@ const Tp = P1(
11823
11842
  {
11824
11843
  "data-testid": "ds-checkboxGroup",
11825
11844
  id: W,
11826
- isLegendHidden: !Z,
11845
+ isLegendHidden: !O,
11827
11846
  isRequired: V,
11828
11847
  legendText: k,
11829
- showRequiredLabel: z,
11848
+ showRequiredLabel: U,
11830
11849
  ...I,
11831
11850
  __css: d1,
11832
11851
  children: [
@@ -11879,13 +11898,13 @@ const Tp = P1(
11879
11898
  e1,
11880
11899
  { base: v ? c1 : void 0, md: c1 }
11881
11900
  ])
11882
- ), Z = N2("ReservoirTable", {
11901
+ ), O = N2("ReservoirTable", {
11883
11902
  columnHeadersBackgroundColor: s,
11884
11903
  columnHeadersTextColor: i,
11885
11904
  isScrollable: v,
11886
11905
  showRowDividers: y,
11887
11906
  useRowHeaders: S
11888
- }), z = k && /* @__PURE__ */ x.jsx(CS, { children: k }), P = o.length > 0 ? /* @__PURE__ */ x.jsx(uS, { children: /* @__PURE__ */ x.jsx(Ny, { children: o.map(($, J) => /* @__PURE__ */ x.jsx(
11907
+ }), U = k && /* @__PURE__ */ x.jsx(CS, { children: k }), P = o.length > 0 ? /* @__PURE__ */ x.jsx(uS, { children: /* @__PURE__ */ x.jsx(Ny, { children: o.map(($, J) => /* @__PURE__ */ x.jsx(
11889
11908
  By,
11890
11909
  {
11891
11910
  scope: "col",
@@ -11960,16 +11979,16 @@ const Tp = P1(
11960
11979
  "data-testid": "ds-table",
11961
11980
  id: C,
11962
11981
  ...W,
11963
- sx: Z.base,
11982
+ sx: O.base,
11964
11983
  children: /* @__PURE__ */ x.jsx(
11965
11984
  dS,
11966
11985
  {
11967
11986
  "aria-label": k && !L ? k : void 0,
11968
11987
  ref: a,
11969
- sx: Z.innerTable,
11988
+ sx: O.innerTable,
11970
11989
  ..._,
11971
11990
  children: /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
11972
- L && z,
11991
+ L && U,
11973
11992
  P,
11974
11993
  I()
11975
11994
  ] })
@@ -12022,7 +12041,7 @@ const Tp = P1(
12022
12041
  ), _ = (q1, j1 = "small") => {
12023
12042
  const x2 = j1 === "small" ? 1 : 2;
12024
12043
  return (q1[x2] === "AA" || q1[x2] === "AAA") && /* @__PURE__ */ x.jsx(S, {});
12025
- }, R = ["Color", "Ratio", "16px", "36px"], N = _(y), Z = _(y, "large"), z = _(p), P = _(p, "large"), I = L && _(L), W = L && _(L, "large"), $ = V && _(V), J = V && _(V, "large"), e1 = a && _(a), c1 = a && _(a, "large"), d1 = o && _(o), k1 = o && _(o, "large"), M1 = s && _(s), g1 = s && _(s, "large"), y1 = i && _(i), r2 = i && _(i, "large"), D1 = C && _(C), N1 = C && _(C, "large"), G1 = v && _(v), m1 = v && _(v, "large"), S1 = [
12044
+ }, R = ["Color", "Ratio", "16px", "36px"], N = _(y), O = _(y, "large"), U = _(p), P = _(p, "large"), I = L && _(L), W = L && _(L, "large"), $ = V && _(V), J = V && _(V, "large"), e1 = a && _(a), c1 = a && _(a, "large"), d1 = o && _(o), k1 = o && _(o, "large"), M1 = s && _(s), g1 = s && _(s, "large"), y1 = i && _(i), r2 = i && _(i, "large"), D1 = C && _(C), N1 = C && _(C, "large"), G1 = v && _(v), m1 = v && _(v, "large"), S1 = [
12026
12045
  [
12027
12046
  /* @__PURE__ */ x.jsxs("span", { style: { padding: 0 }, children: [
12028
12047
  /* @__PURE__ */ x.jsx(v8, { backgroundColor: "white", border: !0 }),
@@ -12035,7 +12054,7 @@ const Tp = P1(
12035
12054
  ] }),
12036
12055
  /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
12037
12056
  y[2],
12038
- Z
12057
+ O
12039
12058
  ] })
12040
12059
  ],
12041
12060
  [
@@ -12046,7 +12065,7 @@ const Tp = P1(
12046
12065
  /* @__PURE__ */ x.jsx("span", { children: `${p[0]}:1` }, "colorUiBlackRatio"),
12047
12066
  /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
12048
12067
  p[1],
12049
- z
12068
+ U
12050
12069
  ] }),
12051
12070
  /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
12052
12071
  p[2],
@@ -12236,38 +12255,38 @@ const Tp = P1(
12236
12255
  dataBrandSecondaryColor: _,
12237
12256
  notes: R,
12238
12257
  showColorDataTable: N = !0,
12239
- textColor: Z = "ui.white"
12240
- } = r, z = `--nypl-colors-${C.replace(/\./g, "-")}`, P = a === "ui.white" || a === "ui.typography.inverse.heading" || a === "ui.typography.inverse.body" ? "1px solid var(--nypl-colors-ui-gray-light-cool)" : void 0;
12258
+ textColor: O = "ui.white"
12259
+ } = r, U = `--nypl-colors-${C.replace(/\./g, "-")}`, P = a === "ui.white" || a === "ui.typography.inverse.heading" || a === "ui.typography.inverse.body" ? "1px solid var(--nypl-colors-ui-gray-light-cool)" : void 0;
12241
12260
  return /* @__PURE__ */ x.jsx(
12242
12261
  p1,
12243
12262
  {
12244
12263
  bg: a,
12245
- color: Z,
12264
+ color: O,
12246
12265
  px: "m",
12247
12266
  paddingBottom: "m",
12248
12267
  paddingTop: "s",
12249
12268
  border: P,
12250
12269
  children: /* @__PURE__ */ x.jsxs(hS, { alignItems: "top", children: [
12251
12270
  /* @__PURE__ */ x.jsxs(p1, { width: "80%", children: [
12252
- /* @__PURE__ */ x.jsx(b9, { size: "heading5", border: "none", color: Z, pb: "0", children: a }),
12271
+ /* @__PURE__ */ x.jsx(b9, { size: "heading5", border: "none", color: O, pb: "0", children: a }),
12253
12272
  /* @__PURE__ */ x.jsxs(
12254
12273
  P4,
12255
12274
  {
12256
- color: Z,
12275
+ color: O,
12257
12276
  fontSize: "var(--nypl-fontSizes-desktop-caption) !important",
12258
12277
  fontWeight: "medium",
12259
12278
  m: "0 !important",
12260
12279
  children: [
12261
12280
  /* @__PURE__ */ x.jsx("span", { style: { fontWeight: "bold" }, children: "CSS:" }),
12262
12281
  " ",
12263
- `var(${z})`
12282
+ `var(${U})`
12264
12283
  ]
12265
12284
  }
12266
12285
  ),
12267
12286
  v && /* @__PURE__ */ x.jsxs(
12268
12287
  P4,
12269
12288
  {
12270
- color: Z,
12289
+ color: O,
12271
12290
  fontSize: "var(--nypl-fontSizes-desktop-caption) !important",
12272
12291
  fontWeight: "medium",
12273
12292
  m: "0 !important",
@@ -12281,7 +12300,7 @@ const Tp = P1(
12281
12300
  R && /* @__PURE__ */ x.jsxs(
12282
12301
  P4,
12283
12302
  {
12284
- color: Z,
12303
+ color: O,
12285
12304
  fontWeight: "medium",
12286
12305
  lineHeight: "20px",
12287
12306
  size: "tag",
@@ -12306,7 +12325,7 @@ const Tp = P1(
12306
12325
  dataWhiteColor: k,
12307
12326
  dataBrandPrimaryColor: S,
12308
12327
  dataBrandSecondaryColor: _,
12309
- textColor: Z
12328
+ textColor: O
12310
12329
  }
12311
12330
  )
12312
12331
  ] })
@@ -12449,10 +12468,10 @@ function Fh(r, a) {
12449
12468
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
12450
12469
  var R = /* @__PURE__ */ new Date(0);
12451
12470
  R.setUTCFullYear(k + 1, 0, _), R.setUTCHours(0, 0, 0, 0);
12452
- var N = K0(R, a), Z = /* @__PURE__ */ new Date(0);
12453
- Z.setUTCFullYear(k, 0, _), Z.setUTCHours(0, 0, 0, 0);
12454
- var z = K0(Z, a);
12455
- return V.getTime() >= N.getTime() ? k + 1 : V.getTime() >= z.getTime() ? k : k - 1;
12471
+ var N = K0(R, a), O = /* @__PURE__ */ new Date(0);
12472
+ O.setUTCFullYear(k, 0, _), O.setUTCHours(0, 0, 0, 0);
12473
+ var U = K0(O, a);
12474
+ return V.getTime() >= N.getTime() ? k + 1 : V.getTime() >= U.getTime() ? k : k - 1;
12456
12475
  }
12457
12476
  function XB(r, a) {
12458
12477
  var o, s, i, p, C, v, y, L;
@@ -13561,12 +13580,12 @@ var wP = /^(\d+)(th|st|nd|rd)?/i, xP = /\d+/i, HP = {
13561
13580
  }
13562
13581
  }, OP = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, NP = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, BP = /^'([^]*?)'?$/, PP = /''/g, FP = /[a-zA-Z]/;
13563
13582
  function kL(r, a, o) {
13564
- var s, i, p, C, v, y, L, V, k, S, _, R, N, Z, z, P, I, W;
13583
+ var s, i, p, C, v, y, L, V, k, S, _, R, N, O, U, P, I, W;
13565
13584
  F1(2, arguments);
13566
13585
  var $ = String(a), J = ar(), e1 = (s = (i = o == null ? void 0 : o.locale) !== null && i !== void 0 ? i : J.locale) !== null && s !== void 0 ? s : fw, c1 = G2((p = (C = (v = (y = o == null ? void 0 : o.firstWeekContainsDate) !== null && y !== void 0 ? y : o == null || (L = o.locale) === null || L === void 0 || (V = L.options) === null || V === void 0 ? void 0 : V.firstWeekContainsDate) !== null && v !== void 0 ? v : J.firstWeekContainsDate) !== null && C !== void 0 ? C : (k = J.locale) === null || k === void 0 || (S = k.options) === null || S === void 0 ? void 0 : S.firstWeekContainsDate) !== null && p !== void 0 ? p : 1);
13567
13586
  if (!(c1 >= 1 && c1 <= 7))
13568
13587
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
13569
- var d1 = G2((_ = (R = (N = (Z = o == null ? void 0 : o.weekStartsOn) !== null && Z !== void 0 ? Z : o == null || (z = o.locale) === null || z === void 0 || (P = z.options) === null || P === void 0 ? void 0 : P.weekStartsOn) !== null && N !== void 0 ? N : J.weekStartsOn) !== null && R !== void 0 ? R : (I = J.locale) === null || I === void 0 || (W = I.options) === null || W === void 0 ? void 0 : W.weekStartsOn) !== null && _ !== void 0 ? _ : 0);
13588
+ var d1 = G2((_ = (R = (N = (O = o == null ? void 0 : o.weekStartsOn) !== null && O !== void 0 ? O : o == null || (U = o.locale) === null || U === void 0 || (P = U.options) === null || P === void 0 ? void 0 : P.weekStartsOn) !== null && N !== void 0 ? N : J.weekStartsOn) !== null && R !== void 0 ? R : (I = J.locale) === null || I === void 0 || (W = I.options) === null || W === void 0 ? void 0 : W.weekStartsOn) !== null && _ !== void 0 ? _ : 0);
13570
13589
  if (!(d1 >= 0 && d1 <= 6))
13571
13590
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
13572
13591
  if (!e1.localize)
@@ -14855,7 +14874,7 @@ function Ih(r, a, o) {
14855
14874
  var k = ar(), S = G2((s = (i = (p = (C = o == null ? void 0 : o.weekStartsOn) !== null && C !== void 0 ? C : o == null || (v = o.locale) === null || v === void 0 || (y = v.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && p !== void 0 ? p : k.weekStartsOn) !== null && i !== void 0 ? i : (L = k.locale) === null || L === void 0 || (V = L.options) === null || V === void 0 ? void 0 : V.weekStartsOn) !== null && s !== void 0 ? s : 0);
14856
14875
  if (!(S >= 0 && S <= 6))
14857
14876
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
14858
- var _ = n2(r), R = G2(a), N = _.getUTCDay(), Z = R % 7, z = (Z + 7) % 7, P = (z < S ? 7 : 0) + R - N;
14877
+ var _ = n2(r), R = G2(a), N = _.getUTCDay(), O = R % 7, U = (O + 7) % 7, P = (U < S ? 7 : 0) + R - N;
14859
14878
  return _.setUTCDate(_.getUTCDate() + P), _;
14860
14879
  }
14861
14880
  var ZF = /* @__PURE__ */ function(r) {
@@ -15694,7 +15713,7 @@ var PF = /* @__PURE__ */ function(r) {
15694
15713
  T: new KF()
15695
15714
  }, eA = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, tA = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, rA = /^'([^]*?)'?$/, nA = /''/g, aA = /\S/, iA = /[a-zA-Z]/;
15696
15715
  function Rp(r, a, o, s) {
15697
- var i, p, C, v, y, L, V, k, S, _, R, N, Z, z, P, I, W, $;
15716
+ var i, p, C, v, y, L, V, k, S, _, R, N, O, U, P, I, W, $;
15698
15717
  F1(3, arguments);
15699
15718
  var J = String(r), e1 = String(a), c1 = ar(), d1 = (i = (p = s == null ? void 0 : s.locale) !== null && p !== void 0 ? p : c1.locale) !== null && i !== void 0 ? i : fw;
15700
15719
  if (!d1.match)
@@ -15702,7 +15721,7 @@ function Rp(r, a, o, s) {
15702
15721
  var k1 = G2((C = (v = (y = (L = s == null ? void 0 : s.firstWeekContainsDate) !== null && L !== void 0 ? L : s == null || (V = s.locale) === null || V === void 0 || (k = V.options) === null || k === void 0 ? void 0 : k.firstWeekContainsDate) !== null && y !== void 0 ? y : c1.firstWeekContainsDate) !== null && v !== void 0 ? v : (S = c1.locale) === null || S === void 0 || (_ = S.options) === null || _ === void 0 ? void 0 : _.firstWeekContainsDate) !== null && C !== void 0 ? C : 1);
15703
15722
  if (!(k1 >= 1 && k1 <= 7))
15704
15723
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
15705
- var M1 = G2((R = (N = (Z = (z = s == null ? void 0 : s.weekStartsOn) !== null && z !== void 0 ? z : s == null || (P = s.locale) === null || P === void 0 || (I = P.options) === null || I === void 0 ? void 0 : I.weekStartsOn) !== null && Z !== void 0 ? Z : c1.weekStartsOn) !== null && N !== void 0 ? N : (W = c1.locale) === null || W === void 0 || ($ = W.options) === null || $ === void 0 ? void 0 : $.weekStartsOn) !== null && R !== void 0 ? R : 0);
15724
+ var M1 = G2((R = (N = (O = (U = s == null ? void 0 : s.weekStartsOn) !== null && U !== void 0 ? U : s == null || (P = s.locale) === null || P === void 0 || (I = P.options) === null || I === void 0 ? void 0 : I.weekStartsOn) !== null && O !== void 0 ? O : c1.weekStartsOn) !== null && N !== void 0 ? N : (W = c1.locale) === null || W === void 0 || ($ = W.options) === null || $ === void 0 ? void 0 : $.weekStartsOn) !== null && R !== void 0 ? R : 0);
15706
15725
  if (!(M1 >= 0 && M1 <= 6))
15707
15726
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
15708
15727
  if (e1 === "")
@@ -15964,7 +15983,7 @@ function xA() {
15964
15983
  return C.now() - v;
15965
15984
  };
15966
15985
  }
15967
- var y = [], L = [], V = 1, k = null, S = 3, _ = !1, R = !1, N = !1, Z = typeof setTimeout == "function" ? setTimeout : null, z = typeof clearTimeout == "function" ? clearTimeout : null, P = typeof setImmediate < "u" ? setImmediate : null;
15986
+ var y = [], L = [], V = 1, k = null, S = 3, _ = !1, R = !1, N = !1, O = typeof setTimeout == "function" ? setTimeout : null, U = typeof clearTimeout == "function" ? clearTimeout : null, P = typeof setImmediate < "u" ? setImmediate : null;
15968
15987
  typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
15969
15988
  function I(m1) {
15970
15989
  for (var S1 = o(L); S1 !== null; ) {
@@ -15982,7 +16001,7 @@ function xA() {
15982
16001
  }
15983
16002
  }
15984
16003
  function $(m1, S1) {
15985
- R = !1, N && (N = !1, z(c1), c1 = -1), _ = !0;
16004
+ R = !1, N && (N = !1, U(c1), c1 = -1), _ = !0;
15986
16005
  var v1 = S;
15987
16006
  try {
15988
16007
  for (I(S1), k = o(y); k !== null && (!(k.expirationTime > S1) || m1 && !M1()); ) {
@@ -16030,13 +16049,13 @@ function xA() {
16030
16049
  D1.postMessage(null);
16031
16050
  };
16032
16051
  } else y1 = function() {
16033
- Z(g1, 0);
16052
+ O(g1, 0);
16034
16053
  };
16035
16054
  function N1(m1) {
16036
16055
  e1 = m1, J || (J = !0, y1());
16037
16056
  }
16038
16057
  function G1(m1, S1) {
16039
- c1 = Z(function() {
16058
+ c1 = O(function() {
16040
16059
  m1(r.unstable_now());
16041
16060
  }, S1);
16042
16061
  }
@@ -16105,7 +16124,7 @@ function xA() {
16105
16124
  default:
16106
16125
  q1 = 5e3;
16107
16126
  }
16108
- return q1 = v1 + q1, m1 = { id: V++, callback: S1, priorityLevel: m1, startTime: v1, expirationTime: q1, sortIndex: -1 }, v1 > Q1 ? (m1.sortIndex = v1, a(L, m1), o(y) === null && m1 === o(L) && (N ? (z(c1), c1 = -1) : N = !0, G1(W, v1 - Q1))) : (m1.sortIndex = q1, a(y, m1), R || _ || (R = !0, N1($))), m1;
16127
+ return q1 = v1 + q1, m1 = { id: V++, callback: S1, priorityLevel: m1, startTime: v1, expirationTime: q1, sortIndex: -1 }, v1 > Q1 ? (m1.sortIndex = v1, a(L, m1), o(y) === null && m1 === o(L) && (N ? (U(c1), c1 = -1) : N = !0, G1(W, v1 - Q1))) : (m1.sortIndex = q1, a(y, m1), R || _ || (R = !0, N1($))), m1;
16109
16128
  }, r.unstable_shouldYield = M1, r.unstable_wrapCallback = function(m1) {
16110
16129
  var S1 = S;
16111
16130
  return function() {
@@ -16178,14 +16197,14 @@ function HA() {
16178
16197
  }
16179
16198
  var N = typeof performance == "object" && typeof performance.now == "function";
16180
16199
  if (N) {
16181
- var Z = performance;
16200
+ var O = performance;
16182
16201
  r.unstable_now = function() {
16183
- return Z.now();
16202
+ return O.now();
16184
16203
  };
16185
16204
  } else {
16186
- var z = Date, P = z.now();
16205
+ var U = Date, P = U.now();
16187
16206
  r.unstable_now = function() {
16188
- return z.now() - P;
16207
+ return U.now() - P;
16189
16208
  };
16190
16209
  }
16191
16210
  var I = 1073741823, W = -1, $ = 250, J = 5e3, e1 = 1e4, c1 = I, d1 = [], k1 = [], M1 = 1, g1 = null, y1 = k, r2 = !1, D1 = !1, N1 = !1, G1 = typeof setTimeout == "function" ? setTimeout : null, m1 = typeof clearTimeout == "function" ? clearTimeout : null, S1 = typeof setImmediate < "u" ? setImmediate : null;
@@ -16457,50 +16476,50 @@ function VA() {
16457
16476
  function N(n, l, f, m, b, H, T) {
16458
16477
  this.acceptsBooleans = l === 2 || l === 3 || l === 4, this.attributeName = m, this.attributeNamespace = b, this.mustUseProperty = f, this.propertyName = n, this.type = l, this.sanitizeURL = H, this.removeEmptyString = T;
16459
16478
  }
16460
- var Z = {};
16479
+ var O = {};
16461
16480
  "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n) {
16462
- Z[n] = new N(n, 0, !1, n, null, !1, !1);
16481
+ O[n] = new N(n, 0, !1, n, null, !1, !1);
16463
16482
  }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(n) {
16464
16483
  var l = n[0];
16465
- Z[l] = new N(l, 1, !1, n[1], null, !1, !1);
16484
+ O[l] = new N(l, 1, !1, n[1], null, !1, !1);
16466
16485
  }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(n) {
16467
- Z[n] = new N(n, 2, !1, n.toLowerCase(), null, !1, !1);
16486
+ O[n] = new N(n, 2, !1, n.toLowerCase(), null, !1, !1);
16468
16487
  }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(n) {
16469
- Z[n] = new N(n, 2, !1, n, null, !1, !1);
16488
+ O[n] = new N(n, 2, !1, n, null, !1, !1);
16470
16489
  }), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n) {
16471
- Z[n] = new N(n, 3, !1, n.toLowerCase(), null, !1, !1);
16490
+ O[n] = new N(n, 3, !1, n.toLowerCase(), null, !1, !1);
16472
16491
  }), ["checked", "multiple", "muted", "selected"].forEach(function(n) {
16473
- Z[n] = new N(n, 3, !0, n, null, !1, !1);
16492
+ O[n] = new N(n, 3, !0, n, null, !1, !1);
16474
16493
  }), ["capture", "download"].forEach(function(n) {
16475
- Z[n] = new N(n, 4, !1, n, null, !1, !1);
16494
+ O[n] = new N(n, 4, !1, n, null, !1, !1);
16476
16495
  }), ["cols", "rows", "size", "span"].forEach(function(n) {
16477
- Z[n] = new N(n, 6, !1, n, null, !1, !1);
16496
+ O[n] = new N(n, 6, !1, n, null, !1, !1);
16478
16497
  }), ["rowSpan", "start"].forEach(function(n) {
16479
- Z[n] = new N(n, 5, !1, n.toLowerCase(), null, !1, !1);
16498
+ O[n] = new N(n, 5, !1, n.toLowerCase(), null, !1, !1);
16480
16499
  });
16481
- var z = /[\-:]([a-z])/g;
16500
+ var U = /[\-:]([a-z])/g;
16482
16501
  function P(n) {
16483
16502
  return n[1].toUpperCase();
16484
16503
  }
16485
16504
  "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n) {
16486
16505
  var l = n.replace(
16487
- z,
16506
+ U,
16488
16507
  P
16489
16508
  );
16490
- Z[l] = new N(l, 1, !1, n, null, !1, !1);
16509
+ O[l] = new N(l, 1, !1, n, null, !1, !1);
16491
16510
  }), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n) {
16492
- var l = n.replace(z, P);
16493
- Z[l] = new N(l, 1, !1, n, "http://www.w3.org/1999/xlink", !1, !1);
16511
+ var l = n.replace(U, P);
16512
+ O[l] = new N(l, 1, !1, n, "http://www.w3.org/1999/xlink", !1, !1);
16494
16513
  }), ["xml:base", "xml:lang", "xml:space"].forEach(function(n) {
16495
- var l = n.replace(z, P);
16496
- Z[l] = new N(l, 1, !1, n, "http://www.w3.org/XML/1998/namespace", !1, !1);
16514
+ var l = n.replace(U, P);
16515
+ O[l] = new N(l, 1, !1, n, "http://www.w3.org/XML/1998/namespace", !1, !1);
16497
16516
  }), ["tabIndex", "crossOrigin"].forEach(function(n) {
16498
- Z[n] = new N(n, 1, !1, n.toLowerCase(), null, !1, !1);
16499
- }), Z.xlinkHref = new N("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(n) {
16500
- Z[n] = new N(n, 1, !1, n.toLowerCase(), null, !0, !0);
16517
+ O[n] = new N(n, 1, !1, n.toLowerCase(), null, !1, !1);
16518
+ }), O.xlinkHref = new N("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(n) {
16519
+ O[n] = new N(n, 1, !1, n.toLowerCase(), null, !0, !0);
16501
16520
  });
16502
16521
  function I(n, l, f, m) {
16503
- var b = Z.hasOwnProperty(l) ? Z[l] : null;
16522
+ var b = O.hasOwnProperty(l) ? O[l] : null;
16504
16523
  (b !== null ? b.type !== 0 : m || !(2 < l.length) || l[0] !== "o" && l[0] !== "O" || l[1] !== "n" && l[1] !== "N") && (R(l, f, b, m) && (f = null), m || b === null ? S(l) && (f === null ? n.removeAttribute(l) : n.setAttribute(l, "" + f)) : b.mustUseProperty ? n[b.propertyName] = f === null ? b.type === 3 ? !1 : "" : f : (l = b.attributeName, m = b.attributeNamespace, f === null ? n.removeAttribute(l) : (b = b.type, f = b === 3 || b === 4 && f === !0 ? "" : "" + f, m ? n.setAttributeNS(m, l, f) : n.setAttribute(l, f))));
16505
16524
  }
16506
16525
  var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, $ = Symbol.for("react.element"), J = Symbol.for("react.portal"), e1 = Symbol.for("react.fragment"), c1 = Symbol.for("react.strict_mode"), d1 = Symbol.for("react.profiler"), k1 = Symbol.for("react.provider"), M1 = Symbol.for("react.context"), g1 = Symbol.for("react.forward_ref"), y1 = Symbol.for("react.suspense"), r2 = Symbol.for("react.suspense_list"), D1 = Symbol.for("react.memo"), N1 = Symbol.for("react.lazy"), G1 = Symbol.for("react.offscreen"), m1 = Symbol.iterator;
@@ -21609,7 +21628,7 @@ function MA() {
21609
21628
  g.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, g);
21610
21629
  }
21611
21630
  }
21612
- var y = 0, L = 1, V = 2, k = 3, S = 4, _ = 5, R = 6, N = 7, Z = 8, z = 9, P = 10, I = 11, W = 12, $ = 13, J = 14, e1 = 15, c1 = 16, d1 = 17, k1 = 18, M1 = 19, g1 = 21, y1 = 22, r2 = 23, D1 = 24, N1 = 25, G1 = !0, m1 = !1, S1 = !1, v1 = !1, Q1 = !1, q1 = !1, j1 = !0, x2 = !0, n3 = !0, H2 = /* @__PURE__ */ new Set(), V2 = {}, o2 = {};
21631
+ var y = 0, L = 1, V = 2, k = 3, S = 4, _ = 5, R = 6, N = 7, O = 8, U = 9, P = 10, I = 11, W = 12, $ = 13, J = 14, e1 = 15, c1 = 16, d1 = 17, k1 = 18, M1 = 19, g1 = 21, y1 = 22, r2 = 23, D1 = 24, N1 = 25, G1 = !0, m1 = !1, S1 = !1, v1 = !1, Q1 = !1, q1 = !1, j1 = !0, x2 = !0, n3 = !0, H2 = /* @__PURE__ */ new Set(), V2 = {}, o2 = {};
21613
21632
  function l2(e, t) {
21614
21633
  R2(e, t), R2(e + "Capture", t);
21615
21634
  }
@@ -22139,12 +22158,12 @@ function MA() {
22139
22158
  e[M] = u;
22140
22159
  return;
22141
22160
  }
22142
- var D = h.attributeName, O = h.attributeNamespace;
22161
+ var D = h.attributeName, Z = h.attributeNamespace;
22143
22162
  if (u === null)
22144
22163
  e.removeAttribute(D);
22145
22164
  else {
22146
22165
  var G = h.type, Q;
22147
- G === le || G === Oe && u === !0 ? Q = "" : (m3(u, D), Q = "" + u, h.sanitizeURL && D6(Q.toString())), O ? e.setAttributeNS(O, D, Q) : e.setAttribute(D, Q);
22166
+ G === le || G === Oe && u === !0 ? Q = "" : (m3(u, D), Q = "" + u, h.sanitizeURL && D6(Q.toString())), Z ? e.setAttributeNS(Z, D, Q) : e.setAttribute(D, Q);
22148
22167
  }
22149
22168
  }
22150
22169
  }
@@ -22286,18 +22305,18 @@ function MA() {
22286
22305
  if (l1 && c && typeof l1.stack == "string") {
22287
22306
  for (var M = l1.stack.split(`
22288
22307
  `), E = c.stack.split(`
22289
- `), D = M.length - 1, O = E.length - 1; D >= 1 && O >= 0 && M[D] !== E[O]; )
22290
- O--;
22291
- for (; D >= 1 && O >= 0; D--, O--)
22292
- if (M[D] !== E[O]) {
22293
- if (D !== 1 || O !== 1)
22308
+ `), D = M.length - 1, Z = E.length - 1; D >= 1 && Z >= 0 && M[D] !== E[Z]; )
22309
+ Z--;
22310
+ for (; D >= 1 && Z >= 0; D--, Z--)
22311
+ if (M[D] !== E[Z]) {
22312
+ if (D !== 1 || Z !== 1)
22294
22313
  do
22295
- if (D--, O--, O < 0 || M[D] !== E[O]) {
22314
+ if (D--, Z--, Z < 0 || M[D] !== E[Z]) {
22296
22315
  var G = `
22297
22316
  ` + M[D].replace(" at new ", " at ");
22298
22317
  return e.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", e.displayName)), typeof e == "function" && J7.set(e, G), G;
22299
22318
  }
22300
- while (D >= 1 && O >= 0);
22319
+ while (D >= 1 && Z >= 0);
22301
22320
  break;
22302
22321
  }
22303
22322
  }
@@ -22448,7 +22467,7 @@ Error generating stack: ` + c.message + `
22448
22467
  switch (t) {
22449
22468
  case D1:
22450
22469
  return "Cache";
22451
- case z:
22470
+ case U:
22452
22471
  var c = u;
22453
22472
  return T8(c) + ".Consumer";
22454
22473
  case P:
@@ -22470,7 +22489,7 @@ Error generating stack: ` + c.message + `
22470
22489
  return "Text";
22471
22490
  case c1:
22472
22491
  return V3(u);
22473
- case Z:
22492
+ case O:
22474
22493
  return u === K5 ? "StrictMode" : "Mode";
22475
22494
  case y1:
22476
22495
  return "Offscreen";
@@ -22744,8 +22763,8 @@ Check the render method of \`` + e + "`." : "";
22744
22763
  h[E].selected !== D && (h[E].selected = D), D && c && (h[E].defaultSelected = !0);
22745
22764
  }
22746
22765
  } else {
22747
- for (var O = M4(We(u)), G = null, Q = 0; Q < h.length; Q++) {
22748
- if (h[Q].value === O) {
22766
+ for (var Z = M4(We(u)), G = null, Q = 0; Q < h.length; Q++) {
22767
+ if (h[Q].value === Z) {
22749
22768
  h[Q].selected = !0, c && (h[Q].defaultSelected = !0);
22750
22769
  return;
22751
22770
  }
@@ -23739,9 +23758,9 @@ Check the render method of \`` + e + "`." : "";
23739
23758
  return C("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", t), Xe[t] = !0, !0;
23740
23759
  var E = Z3(t), D = E !== null && E.type === M2;
23741
23760
  if (Gt.hasOwnProperty(h)) {
23742
- var O = Gt[h];
23743
- if (O !== t)
23744
- return C("Invalid DOM property `%s`. Did you mean `%s`?", t, O), Xe[t] = !0, !0;
23761
+ var Z = Gt[h];
23762
+ if (Z !== t)
23763
+ return C("Invalid DOM property `%s`. Did you mean `%s`?", t, Z), Xe[t] = !0, !0;
23745
23764
  } else if (!D && t !== h)
23746
23765
  return C("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.", t, h), Xe[t] = !0, !0;
23747
23766
  return typeof u == "boolean" && R3(t, u, E, !1) ? (u ? C('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.', u, t, t, u, t) : C('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', u, t, t, u, t, t, t), Xe[t] = !0, !0) : D ? !0 : R3(t, u, E, !1) ? (Xe[t] = !0, !1) : ((u === "false" || u === "true") && E !== null && E.type === le && (C("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?", u, t, u === "false" ? "The browser will interpret it as a truthy value." : 'Although this works, it will not work as expected if you pass the string "false".', t, u), Xe[t] = !0), !0);
@@ -23879,8 +23898,8 @@ Check the render method of \`` + e + "`." : "";
23879
23898
  var D = Array.prototype.slice.call(arguments, 3);
23880
23899
  try {
23881
23900
  t.apply(u, D);
23882
- } catch (O) {
23883
- this.onError(O);
23901
+ } catch (Z) {
23902
+ this.onError(Z);
23884
23903
  }
23885
23904
  }
23886
23905
  var wr = br;
@@ -23889,7 +23908,7 @@ Check the render method of \`` + e + "`." : "";
23889
23908
  wr = function(t, u, c, h, g, w, M, E, D) {
23890
23909
  if (typeof document > "u" || document === null)
23891
23910
  throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
23892
- var O = document.createEvent("Event"), G = !1, Q = !0, o1 = window.event, l1 = Object.getOwnPropertyDescriptor(window, "event");
23911
+ var Z = document.createEvent("Event"), G = !1, Q = !0, o1 = window.event, l1 = Object.getOwnPropertyDescriptor(window, "event");
23893
23912
  function C1() {
23894
23913
  Aa.removeEventListener(f1, h2, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = o1);
23895
23914
  }
@@ -23906,7 +23925,7 @@ Check the render method of \`` + e + "`." : "";
23906
23925
  }
23907
23926
  }
23908
23927
  var f1 = "react-" + (t || "invokeguardedcallback");
23909
- if (window.addEventListener("error", a1), Aa.addEventListener(f1, h2, !1), O.initEvent(f1, !1, !1), Aa.dispatchEvent(O), l1 && Object.defineProperty(window, "event", l1), G && Q && (r3 ? q2 && (s2 = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : s2 = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(s2)), window.removeEventListener("error", a1), !G)
23928
+ if (window.addEventListener("error", a1), Aa.addEventListener(f1, h2, !1), Z.initEvent(f1, !1, !1), Aa.dispatchEvent(Z), l1 && Object.defineProperty(window, "event", l1), G && Q && (r3 ? q2 && (s2 = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : s2 = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(s2)), window.removeEventListener("error", a1), !G)
23910
23929
  return C1(), br.apply(this, arguments);
23911
23930
  };
23912
23931
  }
@@ -24109,28 +24128,28 @@ Check the render method of \`` + e + "`." : "";
24109
24128
  if (c.return !== h.return)
24110
24129
  c = g, h = w;
24111
24130
  else {
24112
- for (var D = !1, O = g.child; O; ) {
24113
- if (O === c) {
24131
+ for (var D = !1, Z = g.child; Z; ) {
24132
+ if (Z === c) {
24114
24133
  D = !0, c = g, h = w;
24115
24134
  break;
24116
24135
  }
24117
- if (O === h) {
24136
+ if (Z === h) {
24118
24137
  D = !0, h = g, c = w;
24119
24138
  break;
24120
24139
  }
24121
- O = O.sibling;
24140
+ Z = Z.sibling;
24122
24141
  }
24123
24142
  if (!D) {
24124
- for (O = w.child; O; ) {
24125
- if (O === c) {
24143
+ for (Z = w.child; Z; ) {
24144
+ if (Z === c) {
24126
24145
  D = !0, c = w, h = g;
24127
24146
  break;
24128
24147
  }
24129
- if (O === h) {
24148
+ if (Z === h) {
24130
24149
  D = !0, h = w, c = g;
24131
24150
  break;
24132
24151
  }
24133
- O = O.sibling;
24152
+ Z = Z.sibling;
24134
24153
  }
24135
24154
  if (!D)
24136
24155
  throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
@@ -24568,14 +24587,14 @@ Check the render method of \`` + e + "`." : "";
24568
24587
  if (t !== L1 && t !== c && // If we already suspended with a delay, then interrupting is fine. Don't
24569
24588
  // bother waiting until the root is complete.
24570
24589
  (t & h) === L1) {
24571
- var O = G6(c), G = G6(t);
24590
+ var Z = G6(c), G = G6(t);
24572
24591
  if (
24573
24592
  // Tests whether the next lane is equal or lower priority than the wip
24574
24593
  // one. This works because the bits decrease in priority as you go left.
24575
- O >= G || // Default priority updates should not interrupt transition updates. The
24594
+ Z >= G || // Default priority updates should not interrupt transition updates. The
24576
24595
  // only difference between default updates and transition updates is that
24577
24596
  // default updates do not support refresh transitions.
24578
- O === Y4 && (G & Y9) !== L1
24597
+ Z === Y4 && (G & Y9) !== L1
24579
24598
  )
24580
24599
  return t;
24581
24600
  }
@@ -24971,8 +24990,8 @@ Check the render method of \`` + e + "`." : "";
24971
24990
  return K8.set(D, nt(K8.get(D) || null, e, t, u, c, E)), !0;
24972
24991
  }
24973
24992
  case "gotpointercapture": {
24974
- var O = h, G = O.pointerId;
24975
- return Ce.set(G, nt(Ce.get(G) || null, e, t, u, c, O)), !0;
24993
+ var Z = h, G = Z.pointerId;
24994
+ return Ce.set(G, nt(Ce.get(G) || null, e, t, u, c, Z)), !0;
24976
24995
  }
24977
24996
  }
24978
24997
  return !1;
@@ -25767,9 +25786,9 @@ Check the render method of \`` + e + "`." : "";
25767
25786
  function a2(e, t, u, c, h, g, w) {
25768
25787
  var M = u ? vn(u) : window, E, D;
25769
25788
  if (n(M) ? E = b : gs(M) ? H ? E = U1 : (E = x1, D = s1) : H1(M) && (E = b1), E) {
25770
- var O = E(t, u);
25771
- if (O) {
25772
- lt(e, O, c, h);
25789
+ var Z = E(t, u);
25790
+ if (Z) {
25791
+ lt(e, Z, c, h);
25773
25792
  return;
25774
25793
  }
25775
25794
  }
@@ -25786,12 +25805,12 @@ Check the render method of \`` + e + "`." : "";
25786
25805
  return;
25787
25806
  }
25788
25807
  if (!(!E && !M)) {
25789
- var O;
25808
+ var Z;
25790
25809
  if (h.window === h)
25791
- O = h;
25810
+ Z = h;
25792
25811
  else {
25793
25812
  var G = h.ownerDocument;
25794
- G ? O = G.defaultView || G.parentWindow : O = window;
25813
+ G ? Z = G.defaultView || G.parentWindow : Z = window;
25795
25814
  }
25796
25815
  var Q, o1;
25797
25816
  if (E) {
@@ -25805,7 +25824,7 @@ Check the render method of \`` + e + "`." : "";
25805
25824
  if (Q !== o1) {
25806
25825
  var $1 = m6, h2 = "onMouseLeave", s2 = "onMouseEnter", r3 = "mouse";
25807
25826
  (t === "pointerout" || t === "pointerover") && ($1 = us, h2 = "onPointerLeave", s2 = "onPointerEnter", r3 = "pointer");
25808
- var q2 = Q == null ? O : vn(Q), a1 = o1 == null ? O : vn(o1), f1 = new $1(h2, r3 + "leave", Q, c, h);
25827
+ var q2 = Q == null ? Z : vn(Q), a1 = o1 == null ? Z : vn(o1), f1 = new $1(h2, r3 + "leave", Q, c, h);
25809
25828
  f1.target = q2, f1.relatedTarget = a1;
25810
25829
  var i1 = null, V1 = S0(h);
25811
25830
  if (V1 === u) {
@@ -25873,18 +25892,18 @@ Check the render method of \`` + e + "`." : "";
25873
25892
  return ze(e, h, g, w, M);
25874
25893
  }
25875
25894
  function ze(e, t, u, c, h) {
25876
- var g = 0, w = -1, M = -1, E = 0, D = 0, O = e, G = null;
25895
+ var g = 0, w = -1, M = -1, E = 0, D = 0, Z = e, G = null;
25877
25896
  e: for (; ; ) {
25878
- for (var Q = null; O === t && (u === 0 || O.nodeType === n6) && (w = g + u), O === c && (h === 0 || O.nodeType === n6) && (M = g + h), O.nodeType === n6 && (g += O.nodeValue.length), (Q = O.firstChild) !== null; )
25879
- G = O, O = Q;
25897
+ for (var Q = null; Z === t && (u === 0 || Z.nodeType === n6) && (w = g + u), Z === c && (h === 0 || Z.nodeType === n6) && (M = g + h), Z.nodeType === n6 && (g += Z.nodeValue.length), (Q = Z.firstChild) !== null; )
25898
+ G = Z, Z = Q;
25880
25899
  for (; ; ) {
25881
- if (O === e)
25900
+ if (Z === e)
25882
25901
  break e;
25883
- if (G === t && ++E === u && (w = g), G === c && ++D === h && (M = g), (Q = O.nextSibling) !== null)
25902
+ if (G === t && ++E === u && (w = g), G === c && ++D === h && (M = g), (Q = Z.nextSibling) !== null)
25884
25903
  break;
25885
- O = G, G = O.parentNode;
25904
+ Z = G, G = Z.parentNode;
25886
25905
  }
25887
- O = Q;
25906
+ Z = Q;
25888
25907
  }
25889
25908
  return w === -1 || M === -1 ? null : {
25890
25909
  start: w,
@@ -25899,12 +25918,12 @@ Check the render method of \`` + e + "`." : "";
25899
25918
  var E = M;
25900
25919
  M = w, w = E;
25901
25920
  }
25902
- var D = g2(e, w), O = g2(e, M);
25903
- if (D && O) {
25904
- if (h.rangeCount === 1 && h.anchorNode === D.node && h.anchorOffset === D.offset && h.focusNode === O.node && h.focusOffset === O.offset)
25921
+ var D = g2(e, w), Z = g2(e, M);
25922
+ if (D && Z) {
25923
+ if (h.rangeCount === 1 && h.anchorNode === D.node && h.anchorOffset === D.offset && h.focusNode === Z.node && h.focusOffset === Z.offset)
25905
25924
  return;
25906
25925
  var G = u.createRange();
25907
- G.setStart(D.node, D.offset), h.removeAllRanges(), w > M ? (h.addRange(G), h.extend(O.node, O.offset)) : (G.setEnd(O.node, O.offset), h.addRange(G));
25926
+ G.setStart(D.node, D.offset), h.removeAllRanges(), w > M ? (h.addRange(G), h.extend(Z.node, Z.offset)) : (G.setEnd(Z.node, Z.offset), h.addRange(G));
25908
25927
  }
25909
25928
  }
25910
25929
  }
@@ -26154,13 +26173,13 @@ Check the render method of \`` + e + "`." : "";
26154
26173
  E = us;
26155
26174
  break;
26156
26175
  }
26157
- var O = (g & k5) !== 0;
26176
+ var Z = (g & k5) !== 0;
26158
26177
  {
26159
- var G = !O && // TODO: ideally, we'd eventually add all events from
26178
+ var G = !Z && // TODO: ideally, we'd eventually add all events from
26160
26179
  // nonDelegatedEvents list in DOMPluginEventSystem.
26161
26180
  // Then we can remove this special list.
26162
26181
  // This is a breaking change that can wait until React 18.
26163
- t === "scroll", Q = bx(u, M, c.type, O, G);
26182
+ t === "scroll", Q = bx(u, M, c.type, Z, G);
26164
26183
  if (Q.length > 0) {
26165
26184
  var o1 = new E(M, D, null, c, h);
26166
26185
  e.push({
@@ -26193,7 +26212,7 @@ Check the render method of \`` + e + "`." : "";
26193
26212
  }
26194
26213
  else
26195
26214
  for (var D = 0; D < t.length; D++) {
26196
- var O = t[D], G = O.instance, Q = O.currentTarget, o1 = O.listener;
26215
+ var Z = t[D], G = Z.instance, Q = Z.currentTarget, o1 = Z.listener;
26197
26216
  if (G !== c && e.isPropagationStopped())
26198
26217
  return;
26199
26218
  Cm(e, o1, Q), c = G;
@@ -26252,14 +26271,14 @@ Check the render method of \`` + e + "`." : "";
26252
26271
  if (hm(D, w))
26253
26272
  break;
26254
26273
  if (E === S)
26255
- for (var O = M.return; O !== null; ) {
26256
- var G = O.tag;
26274
+ for (var Z = M.return; Z !== null; ) {
26275
+ var G = Z.tag;
26257
26276
  if (G === k || G === S) {
26258
- var Q = O.stateNode.containerInfo;
26277
+ var Q = Z.stateNode.containerInfo;
26259
26278
  if (hm(Q, w))
26260
26279
  return;
26261
26280
  }
26262
- O = O.return;
26281
+ Z = Z.return;
26263
26282
  }
26264
26283
  for (; D !== null; ) {
26265
26284
  var o1 = S0(D);
@@ -26289,11 +26308,11 @@ Check the render method of \`` + e + "`." : "";
26289
26308
  };
26290
26309
  }
26291
26310
  function bx(e, t, u, c, h, g) {
26292
- for (var w = t !== null ? t + "Capture" : null, M = c ? w : t, E = [], D = e, O = null; D !== null; ) {
26311
+ for (var w = t !== null ? t + "Capture" : null, M = c ? w : t, E = [], D = e, Z = null; D !== null; ) {
26293
26312
  var G = D, Q = G.stateNode, o1 = G.tag;
26294
- if (o1 === _ && Q !== null && (O = Q, M !== null)) {
26313
+ if (o1 === _ && Q !== null && (Z = Q, M !== null)) {
26295
26314
  var l1 = j6(D, M);
26296
- l1 != null && E.push(Mi(D, l1, O));
26315
+ l1 != null && E.push(Mi(D, l1, Z));
26297
26316
  }
26298
26317
  if (h)
26299
26318
  break;
@@ -26307,8 +26326,8 @@ Check the render method of \`` + e + "`." : "";
26307
26326
  if (M === _ && w !== null) {
26308
26327
  var E = w, D = j6(h, u);
26309
26328
  D != null && c.unshift(Mi(h, D, E));
26310
- var O = j6(h, t);
26311
- O != null && c.push(Mi(h, O, E));
26329
+ var Z = j6(h, t);
26330
+ Z != null && c.push(Mi(h, Z, E));
26312
26331
  }
26313
26332
  h = h.return;
26314
26333
  }
@@ -26340,11 +26359,11 @@ Check the render method of \`` + e + "`." : "";
26340
26359
  }
26341
26360
  function mm(e, t, u, c, h) {
26342
26361
  for (var g = t._reactName, w = [], M = u; M !== null && M !== c; ) {
26343
- var E = M, D = E.alternate, O = E.stateNode, G = E.tag;
26362
+ var E = M, D = E.alternate, Z = E.stateNode, G = E.tag;
26344
26363
  if (D !== null && D === c)
26345
26364
  break;
26346
- if (G === _ && O !== null) {
26347
- var Q = O;
26365
+ if (G === _ && Z !== null) {
26366
+ var Q = Z;
26348
26367
  if (h) {
26349
26368
  var o1 = j6(M, g);
26350
26369
  o1 != null && w.unshift(Mi(M, o1, Q));
@@ -26457,8 +26476,8 @@ Check the render method of \`` + e + "`." : "";
26457
26476
  is: t.is
26458
26477
  });
26459
26478
  else if (w = g.createElement(e), e === "select") {
26460
- var O = w;
26461
- t.multiple ? O.multiple = !0 : t.size && (O.size = t.size);
26479
+ var Z = w;
26480
+ t.multiple ? Z.multiple = !0 : t.size && (Z.size = t.size);
26462
26481
  }
26463
26482
  } else
26464
26483
  w = g.createElementNS(M, e);
@@ -26548,13 +26567,13 @@ Check the render method of \`` + e + "`." : "";
26548
26567
  break;
26549
26568
  }
26550
26569
  dr(t, M);
26551
- var E, D, O = null;
26570
+ var E, D, Z = null;
26552
26571
  for (E in w)
26553
26572
  if (!(M.hasOwnProperty(E) || !w.hasOwnProperty(E) || w[E] == null))
26554
26573
  if (E === E0) {
26555
26574
  var G = w[E];
26556
26575
  for (D in G)
26557
- G.hasOwnProperty(D) && (O || (O = {}), O[D] = "");
26576
+ G.hasOwnProperty(D) && (Z || (Z = {}), Z[D] = "");
26558
26577
  } else E === ki || E === k0 || E === Hs || E === ut || E === vm || (V2.hasOwnProperty(E) ? g || (g = []) : (g = g || []).push(E, null));
26559
26578
  for (E in M) {
26560
26579
  var Q = M[E], o1 = w != null ? w[E] : void 0;
@@ -26562,17 +26581,17 @@ Check the render method of \`` + e + "`." : "";
26562
26581
  if (E === E0)
26563
26582
  if (Q && Object.freeze(Q), o1) {
26564
26583
  for (D in o1)
26565
- o1.hasOwnProperty(D) && (!Q || !Q.hasOwnProperty(D)) && (O || (O = {}), O[D] = "");
26584
+ o1.hasOwnProperty(D) && (!Q || !Q.hasOwnProperty(D)) && (Z || (Z = {}), Z[D] = "");
26566
26585
  for (D in Q)
26567
- Q.hasOwnProperty(D) && o1[D] !== Q[D] && (O || (O = {}), O[D] = Q[D]);
26586
+ Q.hasOwnProperty(D) && o1[D] !== Q[D] && (Z || (Z = {}), Z[D] = Q[D]);
26568
26587
  } else
26569
- O || (g || (g = []), g.push(E, O)), O = Q;
26588
+ Z || (g || (g = []), g.push(E, Z)), Z = Q;
26570
26589
  else if (E === ki) {
26571
26590
  var l1 = Q ? Q[Vs] : void 0, C1 = o1 ? o1[Vs] : void 0;
26572
26591
  l1 != null && C1 !== l1 && (g = g || []).push(E, l1);
26573
26592
  } else E === k0 ? (typeof Q == "string" || typeof Q == "number") && (g = g || []).push(E, "" + Q) : E === Hs || E === ut || (V2.hasOwnProperty(E) ? (Q != null && (typeof Q != "function" && ks(E, Q), E === "onScroll" && ae("scroll", e)), !g && o1 !== Q && (g = [])) : (g = g || []).push(E, Q));
26574
26593
  }
26575
- return O && (Jc(O, M[E0]), (g = g || []).push(E0, O)), g;
26594
+ return Z && (Jc(Z, M[E0]), (g = g || []).push(E0, Z)), g;
26576
26595
  }
26577
26596
  function Zx(e, t, u, c, h) {
26578
26597
  u === "input" && h.type === "radio" && h.name != null && k3(e, h);
@@ -26638,8 +26657,8 @@ Check the render method of \`` + e + "`." : "";
26638
26657
  dr(t, u);
26639
26658
  {
26640
26659
  E = /* @__PURE__ */ new Set();
26641
- for (var O = e.attributes, G = 0; G < O.length; G++) {
26642
- var Q = O[G].name.toLowerCase();
26660
+ for (var Z = e.attributes, G = 0; G < Z.length; G++) {
26661
+ var Q = Z[G].name.toLowerCase();
26643
26662
  switch (Q) {
26644
26663
  case "value":
26645
26664
  break;
@@ -26648,7 +26667,7 @@ Check the render method of \`` + e + "`." : "";
26648
26667
  case "selected":
26649
26668
  break;
26650
26669
  default:
26651
- E.add(O[G].name);
26670
+ E.add(Z[G].name);
26652
26671
  }
26653
26672
  }
26654
26673
  }
@@ -26917,12 +26936,12 @@ Check the render method of \`` + e + "`." : "";
26917
26936
  var E = M.tag, D = !!g + "|" + e + "|" + E;
26918
26937
  if (!Hm[D]) {
26919
26938
  Hm[D] = !0;
26920
- var O = e, G = "";
26921
- if (e === "#text" ? /\S/.test(t) ? O = "Text nodes" : (O = "Whitespace text nodes", G = " Make sure you don't have any extra whitespace between tags on each line of your source code.") : O = "<" + e + ">", g) {
26939
+ var Z = e, G = "";
26940
+ if (e === "#text" ? /\S/.test(t) ? Z = "Text nodes" : (Z = "Whitespace text nodes", G = " Make sure you don't have any extra whitespace between tags on each line of your source code.") : Z = "<" + e + ">", g) {
26922
26941
  var Q = "";
26923
- E === "table" && e === "tr" && (Q += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), C("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s", O, E, G, Q);
26942
+ E === "table" && e === "tr" && (Q += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), C("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s", Z, E, G, Q);
26924
26943
  } else
26925
- C("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.", O, E);
26944
+ C("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.", Z, E);
26926
26945
  }
26927
26946
  }
26928
26947
  };
@@ -27539,7 +27558,7 @@ Check the render method of \`` + e + "`." : "";
27539
27558
  D0(), N7[B7++] = l9, N7[B7++] = s9, N7[B7++] = T0, T0 = e;
27540
27559
  var c = l9, h = s9, g = $s(c) - 1, w = c & ~(1 << g), M = u + 1, E = $s(t) + g;
27541
27560
  if (E > 30) {
27542
- var D = g - g % 5, O = (1 << D) - 1, G = (w & O).toString(32), Q = w >> D, o1 = g - D, l1 = $s(t) + o1, C1 = M << o1, $1 = C1 | Q, h2 = G + h;
27561
+ var D = g - g % 5, Z = (1 << D) - 1, G = (w & Z).toString(32), Q = w >> D, o1 = g - D, l1 = $s(t) + o1, C1 = M << o1, $1 = C1 | Q, h2 = G + h;
27543
27562
  l9 = 1 << l1 | $1, s9 = h2;
27544
27563
  } else {
27545
27564
  var s2 = M << g, r3 = s2 | w, q2 = h;
@@ -27650,7 +27669,7 @@ Check the render method of \`` + e + "`." : "";
27650
27669
  var g = e.type, w = e.memoizedProps, M = e.stateNode;
27651
27670
  switch (t.tag) {
27652
27671
  case _: {
27653
- var E = t.type, D = t.pendingProps, O = (e.mode & Y2) !== C2;
27672
+ var E = t.type, D = t.pendingProps, Z = (e.mode & Y2) !== C2;
27654
27673
  UH(
27655
27674
  g,
27656
27675
  w,
@@ -27658,7 +27677,7 @@ Check the render method of \`` + e + "`." : "";
27658
27677
  E,
27659
27678
  D,
27660
27679
  // TODO: Delete this argument when we remove the legacy root API.
27661
- O
27680
+ Z
27662
27681
  );
27663
27682
  break;
27664
27683
  }
@@ -27776,7 +27795,7 @@ Check the render method of \`` + e + "`." : "";
27776
27795
  break;
27777
27796
  }
27778
27797
  case _: {
27779
- var M = h.type, E = h.memoizedProps, D = h.stateNode, O = (h.mode & Y2) !== C2;
27798
+ var M = h.type, E = h.memoizedProps, D = h.stateNode, Z = (h.mode & Y2) !== C2;
27780
27799
  OH(
27781
27800
  M,
27782
27801
  E,
@@ -27784,7 +27803,7 @@ Check the render method of \`` + e + "`." : "";
27784
27803
  t,
27785
27804
  u,
27786
27805
  // TODO: Delete this argument when we remove the legacy root API.
27787
- O
27806
+ Z
27788
27807
  );
27789
27808
  break;
27790
27809
  }
@@ -27933,14 +27952,14 @@ Please update the following components: %s`, E);
27933
27952
  Please update the following components: %s`, D);
27934
27953
  }
27935
27954
  if (u.size > 0) {
27936
- var O = Z0(u);
27955
+ var Z = Z0(u);
27937
27956
  p(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
27938
27957
 
27939
27958
  * Move data fetching code or side effects to componentDidUpdate.
27940
27959
  * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
27941
27960
  * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
27942
27961
 
27943
- Please update the following components: %s`, O);
27962
+ Please update the following components: %s`, Z);
27944
27963
  }
27945
27964
  if (h.size > 0) {
27946
27965
  var G = Z0(h);
@@ -28041,8 +28060,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, h)
28041
28060
  E.tag = Ks;
28042
28061
  var D = c.updateQueue;
28043
28062
  if (D !== null) {
28044
- var O = D.shared, G = O.pending;
28045
- G === null ? E.next = E : (E.next = G.next, G.next = E), O.pending = E;
28063
+ var Z = D.shared, G = Z.pending;
28064
+ G === null ? E.next = E : (E.next = G.next, G.next = E), Z.pending = E;
28046
28065
  }
28047
28066
  }
28048
28067
  c.lanes = Z2(c.lanes, u);
@@ -28254,8 +28273,8 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, h)
28254
28273
  return;
28255
28274
  }
28256
28275
  }
28257
- var O = u.lastBaseUpdate;
28258
- O === null ? u.firstBaseUpdate = t : O.next = t, u.lastBaseUpdate = t;
28276
+ var Z = u.lastBaseUpdate;
28277
+ Z === null ? u.firstBaseUpdate = t : Z.next = t, u.lastBaseUpdate = t;
28259
28278
  }
28260
28279
  function HV(e, t, u, c, h, g) {
28261
28280
  switch (u.tag) {
@@ -28313,9 +28332,9 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, h)
28313
28332
  h.shared.pending = null;
28314
28333
  var E = M, D = E.next;
28315
28334
  E.next = null, w === null ? g = D : w.next = D, w = E;
28316
- var O = e.alternate;
28317
- if (O !== null) {
28318
- var G = O.updateQueue, Q = G.lastBaseUpdate;
28335
+ var Z = e.alternate;
28336
+ if (Z !== null) {
28337
+ var G = Z.updateQueue, Q = G.lastBaseUpdate;
28319
28338
  Q !== w && (Q === null ? G.firstBaseUpdate = D : Q.next = D, G.lastBaseUpdate = E);
28320
28339
  }
28321
28340
  }
@@ -28510,25 +28529,25 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, h)
28510
28529
  var D = t.contextTypes;
28511
28530
  c = D != null, g = c ? yn(e, h) : u7;
28512
28531
  }
28513
- var O = new t(u, g);
28532
+ var Z = new t(u, g);
28514
28533
  if (e.mode & de) {
28515
28534
  Y3(!0);
28516
28535
  try {
28517
- O = new t(u, g);
28536
+ Z = new t(u, g);
28518
28537
  } finally {
28519
28538
  Y3(!1);
28520
28539
  }
28521
28540
  }
28522
- var G = e.memoizedState = O.state !== null && O.state !== void 0 ? O.state : null;
28523
- lv(e, O);
28541
+ var G = e.memoizedState = Z.state !== null && Z.state !== void 0 ? Z.state : null;
28542
+ lv(e, Z);
28524
28543
  {
28525
28544
  if (typeof t.getDerivedStateFromProps == "function" && G === null) {
28526
28545
  var Q = V3(t) || "Component";
28527
- dC.has(Q) || (dC.add(Q), C("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", Q, O.state === null ? "null" : "undefined", Q));
28546
+ dC.has(Q) || (dC.add(Q), C("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", Q, Z.state === null ? "null" : "undefined", Q));
28528
28547
  }
28529
- if (typeof t.getDerivedStateFromProps == "function" || typeof O.getSnapshotBeforeUpdate == "function") {
28548
+ if (typeof t.getDerivedStateFromProps == "function" || typeof Z.getSnapshotBeforeUpdate == "function") {
28530
28549
  var o1 = null, l1 = null, C1 = null;
28531
- if (typeof O.componentWillMount == "function" && O.componentWillMount.__suppressDeprecationWarning !== !0 ? o1 = "componentWillMount" : typeof O.UNSAFE_componentWillMount == "function" && (o1 = "UNSAFE_componentWillMount"), typeof O.componentWillReceiveProps == "function" && O.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? l1 = "componentWillReceiveProps" : typeof O.UNSAFE_componentWillReceiveProps == "function" && (l1 = "UNSAFE_componentWillReceiveProps"), typeof O.componentWillUpdate == "function" && O.componentWillUpdate.__suppressDeprecationWarning !== !0 ? C1 = "componentWillUpdate" : typeof O.UNSAFE_componentWillUpdate == "function" && (C1 = "UNSAFE_componentWillUpdate"), o1 !== null || l1 !== null || C1 !== null) {
28550
+ if (typeof Z.componentWillMount == "function" && Z.componentWillMount.__suppressDeprecationWarning !== !0 ? o1 = "componentWillMount" : typeof Z.UNSAFE_componentWillMount == "function" && (o1 = "UNSAFE_componentWillMount"), typeof Z.componentWillReceiveProps == "function" && Z.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? l1 = "componentWillReceiveProps" : typeof Z.UNSAFE_componentWillReceiveProps == "function" && (l1 = "UNSAFE_componentWillReceiveProps"), typeof Z.componentWillUpdate == "function" && Z.componentWillUpdate.__suppressDeprecationWarning !== !0 ? C1 = "componentWillUpdate" : typeof Z.UNSAFE_componentWillUpdate == "function" && (C1 = "UNSAFE_componentWillUpdate"), o1 !== null || l1 !== null || C1 !== null) {
28532
28551
  var $1 = V3(t) || "Component", h2 = typeof t.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
28533
28552
  fC.has($1) || (fC.add($1), C(`Unsafe legacy lifecycles will not be called for components using new component APIs.
28534
28553
 
@@ -28542,7 +28561,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, $1, h2, o1 !== null ? `
28542
28561
  }
28543
28562
  }
28544
28563
  }
28545
- return c && Dm(e, h, g), O;
28564
+ return c && Dm(e, h, g), Z;
28546
28565
  }
28547
28566
  function kV(e, t) {
28548
28567
  var u = t.state;
@@ -28593,7 +28612,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, $1, h2, o1 !== null ? `
28593
28612
  var D = gn(e, t, !0);
28594
28613
  E = yn(e, D);
28595
28614
  }
28596
- var O = t.getDerivedStateFromProps, G = typeof O == "function" || typeof h.getSnapshotBeforeUpdate == "function";
28615
+ var Z = t.getDerivedStateFromProps, G = typeof Z == "function" || typeof h.getSnapshotBeforeUpdate == "function";
28597
28616
  !G && (typeof h.UNSAFE_componentWillReceiveProps == "function" || typeof h.componentWillReceiveProps == "function") && (g !== u || w !== E) && uv(e, h, u, E), tv();
28598
28617
  var Q = e.memoizedState, o1 = h.state = Q;
28599
28618
  if (ru(e, u, h, c), o1 = e.memoizedState, g === u && Q === o1 && !Fs() && !nu()) {
@@ -28603,7 +28622,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, $1, h2, o1 !== null ? `
28603
28622
  }
28604
28623
  return !1;
28605
28624
  }
28606
- typeof O == "function" && (gC(e, t, O, u), o1 = e.memoizedState);
28625
+ typeof Z == "function" && (gC(e, t, Z, u), o1 = e.memoizedState);
28607
28626
  var C1 = nu() || ov(e, t, g, u, Q, o1, E);
28608
28627
  if (C1) {
28609
28628
  if (!G && (typeof h.UNSAFE_componentWillMount == "function" || typeof h.componentWillMount == "function") && (typeof h.componentWillMount == "function" && h.componentWillMount(), typeof h.UNSAFE_componentWillMount == "function" && h.UNSAFE_componentWillMount()), typeof h.componentDidMount == "function") {
@@ -28624,9 +28643,9 @@ https://reactjs.org/link/unsafe-component-lifecycles`, $1, h2, o1 !== null ? `
28624
28643
  ev(e, t);
28625
28644
  var w = t.memoizedProps, M = t.type === t.elementType ? w : w6(t.type, w);
28626
28645
  g.props = M;
28627
- var E = t.pendingProps, D = g.context, O = u.contextType, G = u7;
28628
- if (typeof O == "object" && O !== null)
28629
- G = Ue(O);
28646
+ var E = t.pendingProps, D = g.context, Z = u.contextType, G = u7;
28647
+ if (typeof Z == "object" && Z !== null)
28648
+ G = Ue(Z);
28630
28649
  else {
28631
28650
  var Q = gn(t, u, !0);
28632
28651
  G = yn(t, Q);
@@ -28680,11 +28699,11 @@ https://reactjs.org/link/unsafe-component-lifecycles`, $1, h2, o1 !== null ? `
28680
28699
  var D = "" + c;
28681
28700
  if (t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === D)
28682
28701
  return t.ref;
28683
- var O = function(G) {
28702
+ var Z = function(G) {
28684
28703
  var Q = E.refs;
28685
28704
  Q === nv && (Q = E.refs = {}), G === null ? delete Q[D] : Q[D] = G;
28686
28705
  };
28687
- return O._stringRef = D, O;
28706
+ return Z._stringRef = D, Z;
28688
28707
  } else {
28689
28708
  if (typeof c != "string")
28690
28709
  throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");
@@ -28762,7 +28781,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
28762
28781
  function E(a1, f1, i1, V1) {
28763
28782
  var Y1 = i1.type;
28764
28783
  if (Y1 === y7)
28765
- return O(a1, f1, i1.props.children, V1, i1.key);
28784
+ return Z(a1, f1, i1.props.children, V1, i1.key);
28766
28785
  if (f1 !== null && (f1.elementType === Y1 || // Keep this check inline so it only runs on the false path:
28767
28786
  ry(f1, i1) || // Lazy types should reconcile their resolved type.
28768
28787
  // We need to do this after the Hot Reloading check above,
@@ -28784,7 +28803,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
28784
28803
  return A1.return = a1, A1;
28785
28804
  }
28786
28805
  }
28787
- function O(a1, f1, i1, V1, Y1) {
28806
+ function Z(a1, f1, i1, V1, Y1) {
28788
28807
  if (f1 === null || f1.tag !== N) {
28789
28808
  var A1 = Vt(i1, a1.mode, V1, Y1);
28790
28809
  return A1.return = a1, A1;
@@ -28837,7 +28856,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
28837
28856
  }
28838
28857
  }
28839
28858
  if (Ge(i1) || g3(i1))
28840
- return Y1 !== null ? null : O(a1, f1, i1, V1, null);
28859
+ return Y1 !== null ? null : Z(a1, f1, i1, V1, null);
28841
28860
  iu(a1, i1);
28842
28861
  }
28843
28862
  return typeof i1 == "function" && ou(a1), null;
@@ -28863,7 +28882,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
28863
28882
  }
28864
28883
  if (Ge(V1) || g3(V1)) {
28865
28884
  var Te = a1.get(i1) || null;
28866
- return O(f1, Te, V1, Y1, null);
28885
+ return Z(f1, Te, V1, Y1, null);
28867
28886
  }
28868
28887
  iu(f1, V1);
28869
28888
  }
@@ -29377,7 +29396,7 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
29377
29396
  g.baseQueue !== w && C("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."), g.baseQueue = w = M, h.pending = null;
29378
29397
  }
29379
29398
  if (w !== null) {
29380
- var O = w.next, G = g.baseState, Q = null, o1 = null, l1 = null, C1 = O;
29399
+ var Z = w.next, G = g.baseState, Q = null, o1 = null, l1 = null, C1 = Z;
29381
29400
  do {
29382
29401
  var $1 = C1.lane;
29383
29402
  if (W8(B0, $1)) {
@@ -29411,7 +29430,7 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
29411
29430
  l1 === null ? (o1 = l1 = h2, Q = G) : l1 = l1.next = h2, _3.lanes = Z2(_3.lanes, $1), ho($1);
29412
29431
  }
29413
29432
  C1 = C1.next;
29414
- } while (C1 !== null && C1 !== O);
29433
+ } while (C1 !== null && C1 !== Z);
29415
29434
  l1 === null ? Q = G : l1.next = o1, t1(G, c.memoizedState) || ro(), c.memoizedState = G, c.baseState = Q, c.baseQueue = l1, h.lastRenderedState = G;
29416
29435
  }
29417
29436
  var q2 = h.interleaved;
@@ -29435,8 +29454,8 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
29435
29454
  h.pending = null;
29436
29455
  var E = w.next, D = E;
29437
29456
  do {
29438
- var O = D.action;
29439
- M = e(M, O), D = D.next;
29457
+ var Z = D.action;
29458
+ M = e(M, Z), D = D.next;
29440
29459
  } while (D !== E);
29441
29460
  t1(M, c.memoizedState) || ro(), c.memoizedState = M, c.baseQueue === null && (c.baseState = M), h.lastRenderedState = M;
29442
29461
  }
@@ -29482,10 +29501,10 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
29482
29501
  // checking whether we scheduled a subscription effect above.
29483
29502
  a4 !== null && a4.memoizedState.tag & t4) {
29484
29503
  c.flags |= z4, Gi(t4 | T4, wv.bind(null, c, D, g, t), void 0, null);
29485
- var O = ju();
29486
- if (O === null)
29504
+ var Z = ju();
29505
+ if (Z === null)
29487
29506
  throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");
29488
- et(O, B0) || bv(c, t, g);
29507
+ et(Z, B0) || bv(c, t, g);
29489
29508
  }
29490
29509
  return g;
29491
29510
  }
@@ -29797,10 +29816,10 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
29797
29816
  }
29798
29817
  }
29799
29818
  }
29800
- var O = Xm(e, t, h, c);
29801
- if (O !== null) {
29819
+ var Z = Xm(e, t, h, c);
29820
+ if (Z !== null) {
29802
29821
  var G = g5();
29803
- s4(O, e, c, G), Ov(O, t, c);
29822
+ s4(Z, e, c, G), Ov(Z, t, c);
29804
29823
  }
29805
29824
  }
29806
29825
  Nv(e, c);
@@ -30485,8 +30504,8 @@ Incoming: %s`, h1, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
30485
30504
  D = `Consider adding an error boundary to your tree to customize error handling behavior.
30486
30505
  Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;
30487
30506
  else {
30488
- var O = _2(e) || "Anonymous";
30489
- D = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + O + ".");
30507
+ var Z = _2(e) || "Anonymous";
30508
+ D = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + Z + ".");
30490
30509
  }
30491
30510
  var G = E + `
30492
30511
  ` + w + `
@@ -30612,11 +30631,11 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30612
30631
  do {
30613
30632
  switch (D.tag) {
30614
30633
  case k: {
30615
- var O = c;
30634
+ var Z = c;
30616
30635
  D.flags |= Pe;
30617
30636
  var G = tt(h);
30618
30637
  D.lanes = Z2(D.lanes, G);
30619
- var Q = Yv(D, O, G);
30638
+ var Q = Yv(D, Z, G);
30620
30639
  sC(D, Q);
30621
30640
  return;
30622
30641
  }
@@ -30694,9 +30713,9 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30694
30713
  return E.ref = t.ref, E.return = t, t.child = E, E;
30695
30714
  }
30696
30715
  {
30697
- var D = u.type, O = D.propTypes;
30698
- O && y6(
30699
- O,
30716
+ var D = u.type, Z = D.propTypes;
30717
+ Z && y6(
30718
+ Z,
30700
30719
  c,
30701
30720
  // Resolved props
30702
30721
  "prop",
@@ -30734,10 +30753,10 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30734
30753
  }
30735
30754
  }
30736
30755
  if (e !== null) {
30737
- var O = e.memoizedProps;
30738
- if (E1(O, c) && e.ref === t.ref && // Prevent bailout if the implementation changed due to hot reload.
30756
+ var Z = e.memoizedProps;
30757
+ if (E1(Z, c) && e.ref === t.ref && // Prevent bailout if the implementation changed due to hot reload.
30739
30758
  t.type === e.type)
30740
- if (V6 = !1, t.pendingProps = c = O, bf(e, h))
30759
+ if (V6 = !1, t.pendingProps = c = Z, bf(e, h))
30741
30760
  (e.flags & Hr) !== f2 && (V6 = !0);
30742
30761
  else return t.lanes = e.lanes, c9(e, t, h);
30743
30762
  }
@@ -30770,12 +30789,12 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30770
30789
  } else
30771
30790
  E = u;
30772
30791
  t.lanes = t.childLanes = k4;
30773
- var O = {
30792
+ var Z = {
30774
30793
  baseLanes: E,
30775
30794
  cachePool: M,
30776
30795
  transitions: null
30777
30796
  };
30778
- return t.memoizedState = O, t.updateQueue = null, zu(t, E), null;
30797
+ return t.memoizedState = Z, t.updateQueue = null, zu(t, E), null;
30779
30798
  }
30780
30799
  else {
30781
30800
  var o1;
@@ -30847,9 +30866,9 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30847
30866
  }
30848
30867
  case !0: {
30849
30868
  t.flags |= d2, t.flags |= Pe;
30850
- var D = new Error("Simulated error coming from DevTools"), O = tt(h);
30851
- t.lanes = Z2(t.lanes, O);
30852
- var G = lf(t, P0(D, t), O);
30869
+ var D = new Error("Simulated error coming from DevTools"), Z = tt(h);
30870
+ t.lanes = Z2(t.lanes, Z);
30871
+ var G = lf(t, P0(D, t), Z);
30853
30872
  sC(t, G);
30854
30873
  break;
30855
30874
  }
@@ -30924,8 +30943,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30924
30943
  transitions: w.transitions
30925
30944
  }, D = t.updateQueue;
30926
30945
  if (D.baseState = E, t.memoizedState = E, t.flags & C4) {
30927
- var O = P0(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."), t);
30928
- return ng(e, t, M, u, O);
30946
+ var Z = P0(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."), t);
30947
+ return ng(e, t, M, u, Z);
30929
30948
  } else if (M !== g) {
30930
30949
  var G = P0(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."), t);
30931
30950
  return ng(e, t, M, u, G);
@@ -30958,20 +30977,20 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30958
30977
  _u(e, t);
30959
30978
  var h = t.pendingProps, g = u, w = g._payload, M = g._init, E = M(w);
30960
30979
  t.type = E;
30961
- var D = t.tag = iE(E), O = w6(E, h), G;
30980
+ var D = t.tag = iE(E), Z = w6(E, h), G;
30962
30981
  switch (D) {
30963
30982
  case y:
30964
- return hf(t, E), t.type = E = An(E), G = ff(null, t, E, O, c), G;
30983
+ return hf(t, E), t.type = E = An(E), G = ff(null, t, E, Z, c), G;
30965
30984
  case L:
30966
- return t.type = E = $f(E), G = tg(null, t, E, O, c), G;
30985
+ return t.type = E = $f(E), G = tg(null, t, E, Z, c), G;
30967
30986
  case I:
30968
- return t.type = E = Yf(E), G = Gv(null, t, E, O, c), G;
30987
+ return t.type = E = Yf(E), G = Gv(null, t, E, Z, c), G;
30969
30988
  case J: {
30970
30989
  if (t.type !== t.elementType) {
30971
30990
  var Q = E.propTypes;
30972
30991
  Q && y6(
30973
30992
  Q,
30974
- O,
30993
+ Z,
30975
30994
  // Resolved for outer only
30976
30995
  "prop",
30977
30996
  V3(E)
@@ -30981,7 +31000,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
30981
31000
  null,
30982
31001
  t,
30983
31002
  E,
30984
- w6(E.type, O),
31003
+ w6(E.type, Z),
30985
31004
  // The inner type can have defaults too
30986
31005
  c
30987
31006
  ), G;
@@ -31013,8 +31032,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
31013
31032
  t.mode & de && b6.recordLegacyContextWarning(t, null), ce(!0), eo.current = t, M = _n(null, t, u, h, g, c), E = Dn(), ce(!1);
31014
31033
  }
31015
31034
  if (u6(), t.flags |= r7, typeof M == "object" && M !== null && typeof M.render == "function" && M.$$typeof === void 0) {
31016
- var O = V3(u) || "Unknown";
31017
- to[O] || (C("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", O, O, O), to[O] = !0);
31035
+ var Z = V3(u) || "Unknown";
31036
+ to[Z] || (C("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", Z, Z, Z), to[Z] = !0);
31018
31037
  }
31019
31038
  if (
31020
31039
  // Run these checks in production only if the flag is off.
@@ -31103,9 +31122,9 @@ Check the render method of \`` + c + "`.");
31103
31122
  if (E !== null)
31104
31123
  return mM(t, E);
31105
31124
  }
31106
- var D = c.children, O = c.fallback;
31125
+ var D = c.children, Z = c.fallback;
31107
31126
  if (g) {
31108
- var G = CM(t, D, O, u), Q = t.child;
31127
+ var G = CM(t, D, Z, u), Q = t.child;
31109
31128
  return Q.memoizedState = vf(u), t.memoizedState = mf, G;
31110
31129
  } else
31111
31130
  return gf(t, D);
@@ -31172,8 +31191,8 @@ Check the render method of \`` + c + "`.");
31172
31191
  // only codepath.)
31173
31192
  t.child !== w
31174
31193
  ) {
31175
- var O = t.child;
31176
- D = O, D.childLanes = L1, D.pendingProps = E, t.mode & e3 && (D.actualDuration = 0, D.actualStartTime = -1, D.selfBaseDuration = w.selfBaseDuration, D.treeBaseDuration = w.treeBaseDuration), t.deletions = null;
31194
+ var Z = t.child;
31195
+ D = Z, D.childLanes = L1, D.pendingProps = E, t.mode & e3 && (D.actualDuration = 0, D.actualStartTime = -1, D.selfBaseDuration = w.selfBaseDuration, D.treeBaseDuration = w.treeBaseDuration), t.deletions = null;
31177
31196
  } else
31178
31197
  D = ig(w, E), D.subtreeFlags = w.subtreeFlags & ye;
31179
31198
  var G;
@@ -31220,8 +31239,8 @@ Check the render method of \`` + c + "`.");
31220
31239
  if (Nd(h)) {
31221
31240
  var M, E, D;
31222
31241
  {
31223
- var O = wH(h);
31224
- M = O.digest, E = O.message, D = O.stack;
31242
+ var Z = wH(h);
31243
+ M = Z.digest, E = Z.message, D = Z.stack;
31225
31244
  }
31226
31245
  var G;
31227
31246
  E ? G = new Error(E) : G = new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");
@@ -31367,13 +31386,13 @@ Check the render method of \`` + c + "`.");
31367
31386
  else
31368
31387
  switch (h) {
31369
31388
  case "forwards": {
31370
- var O = yM(t.child), G;
31371
- O === null ? (G = t.child, t.child = null) : (G = O.sibling, O.sibling = null), Lf(
31389
+ var Z = yM(t.child), G;
31390
+ Z === null ? (G = t.child, t.child = null) : (G = Z.sibling, Z.sibling = null), Lf(
31372
31391
  t,
31373
31392
  !1,
31374
31393
  // isBackwards
31375
31394
  G,
31376
- O,
31395
+ Z,
31377
31396
  g
31378
31397
  );
31379
31398
  break;
@@ -31439,8 +31458,8 @@ Check the render method of \`` + c + "`.");
31439
31458
  } else
31440
31459
  gV(t, h, u);
31441
31460
  }
31442
- var O = g.children;
31443
- return m5(e, t, O, u), t.child;
31461
+ var Z = g.children;
31462
+ return m5(e, t, Z, u), t.child;
31444
31463
  }
31445
31464
  var cg = !1;
31446
31465
  function VM(e, t, u) {
@@ -31522,8 +31541,8 @@ Check the render method of \`` + c + "`.");
31522
31541
  if (E !== null) {
31523
31542
  if (E.dehydrated !== null)
31524
31543
  return vt(t, kn(x6.current)), t.flags |= d2, null;
31525
- var D = t.child, O = D.childLanes;
31526
- if (F3(u, O))
31544
+ var D = t.child, Z = D.childLanes;
31545
+ if (F3(u, Z))
31527
31546
  return ag(e, t, u);
31528
31547
  vt(t, kn(x6.current));
31529
31548
  var G = c9(e, t, u);
@@ -31578,7 +31597,7 @@ Check the render method of \`` + c + "`.");
31578
31597
  return oM(e, t, E, u);
31579
31598
  }
31580
31599
  case y: {
31581
- var D = t.type, O = t.pendingProps, G = t.elementType === D ? O : w6(D, O);
31600
+ var D = t.type, Z = t.pendingProps, G = t.elementType === D ? Z : w6(D, Z);
31582
31601
  return ff(e, t, D, G, u);
31583
31602
  }
31584
31603
  case L: {
@@ -31601,13 +31620,13 @@ Check the render method of \`` + c + "`.");
31601
31620
  }
31602
31621
  case N:
31603
31622
  return eM(e, t, u);
31604
- case Z:
31623
+ case O:
31605
31624
  return tM(e, t, u);
31606
31625
  case W:
31607
31626
  return rM(e, t, u);
31608
31627
  case P:
31609
31628
  return HM(e, t, u);
31610
- case z:
31629
+ case U:
31611
31630
  return VM(e, t, u);
31612
31631
  case J: {
31613
31632
  var s2 = t.type, r3 = t.pendingProps, q2 = w6(s2, r3);
@@ -31699,8 +31718,8 @@ Check the render method of \`` + c + "`.");
31699
31718
  u = Z2(u, Z2(D.lanes, D.childLanes)), c |= D.subtreeFlags & ye, c |= D.flags & ye, E += D.treeBaseDuration, D = D.sibling;
31700
31719
  e.treeBaseDuration = E;
31701
31720
  } else
31702
- for (var O = e.child; O !== null; )
31703
- u = Z2(u, Z2(O.lanes, O.childLanes)), c |= O.subtreeFlags & ye, c |= O.flags & ye, O.return = e, O = O.sibling;
31721
+ for (var Z = e.child; Z !== null; )
31722
+ u = Z2(u, Z2(Z.lanes, Z.childLanes)), c |= Z.subtreeFlags & ye, c |= Z.flags & ye, Z.return = e, Z = Z.sibling;
31704
31723
  e.subtreeFlags |= c;
31705
31724
  } else {
31706
31725
  if ((e.mode & e3) !== C2) {
@@ -31752,9 +31771,9 @@ Check the render method of \`` + c + "`.");
31752
31771
  case y:
31753
31772
  case I:
31754
31773
  case N:
31755
- case Z:
31774
+ case O:
31756
31775
  case W:
31757
- case z:
31776
+ case U:
31758
31777
  case J:
31759
31778
  return _4(t), null;
31760
31779
  case L: {
@@ -31787,11 +31806,11 @@ Check the render method of \`` + c + "`.");
31787
31806
  throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");
31788
31807
  return _4(t), null;
31789
31808
  }
31790
- var O = kC(), G = Ys(t);
31809
+ var Z = kC(), G = Ys(t);
31791
31810
  if (G)
31792
- uV(t, E, O) && Rn(t);
31811
+ uV(t, E, Z) && Rn(t);
31793
31812
  else {
31794
- var Q = qx(D, c, E, O, t);
31813
+ var Q = qx(D, c, E, Z, t);
31795
31814
  fg(Q, t, !1, !1), t.stateNode = Q, Xx(Q, D, c, E) && Rn(t);
31796
31815
  }
31797
31816
  t.ref !== null && Cg(t);
@@ -32198,8 +32217,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
32198
32217
  D.passiveEffectDuration += u;
32199
32218
  break e;
32200
32219
  case W:
32201
- var O = E.stateNode;
32202
- O.passiveEffectDuration += u;
32220
+ var Z = E.stateNode;
32221
+ Z.passiveEffectDuration += u;
32203
32222
  break e;
32204
32223
  }
32205
32224
  E = E.return;
@@ -32270,10 +32289,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
32270
32289
  break;
32271
32290
  }
32272
32291
  case _: {
32273
- var O = u.stateNode;
32292
+ var Z = u.stateNode;
32274
32293
  if (t === null && u.flags & J2) {
32275
32294
  var G = u.type, Q = u.memoizedProps;
32276
- aH(O, G, Q);
32295
+ aH(Z, G, Q);
32277
32296
  }
32278
32297
  break;
32279
32298
  }
@@ -32562,11 +32581,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
32562
32581
  if (M !== null) {
32563
32582
  var E = M.lastEffect;
32564
32583
  if (E !== null) {
32565
- var D = E.next, O = D;
32584
+ var D = E.next, Z = D;
32566
32585
  do {
32567
- var G = O, Q = G.destroy, o1 = G.tag;
32568
- Q !== void 0 && ((o1 & s8) !== z5 ? Ru(u, t, Q) : (o1 & r4) !== z5 && (Wa(u), u.mode & e3 ? (C8(), Ru(u, t, Q), d8(u)) : Ru(u, t, Q), Qa())), O = O.next;
32569
- } while (O !== D);
32586
+ var G = Z, Q = G.destroy, o1 = G.tag;
32587
+ Q !== void 0 && ((o1 & s8) !== z5 ? Ru(u, t, Q) : (o1 & r4) !== z5 && (Wa(u), u.mode & e3 ? (C8(), Ru(u, t, Q), d8(u)) : Ru(u, t, Q), Qa())), Z = Z.next;
32588
+ } while (Z !== D);
32570
32589
  }
32571
32590
  }
32572
32591
  }
@@ -32704,10 +32723,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
32704
32723
  if (h & J2) {
32705
32724
  var w = e.stateNode;
32706
32725
  if (w != null) {
32707
- var M = e.memoizedProps, E = c !== null ? c.memoizedProps : M, D = e.type, O = e.updateQueue;
32708
- if (e.updateQueue = null, O !== null)
32726
+ var M = e.memoizedProps, E = c !== null ? c.memoizedProps : M, D = e.type, Z = e.updateQueue;
32727
+ if (e.updateQueue = null, Z !== null)
32709
32728
  try {
32710
- iH(w, O, D, E, M, e);
32729
+ iH(w, Z, D, E, M, e);
32711
32730
  } catch (b2) {
32712
32731
  G3(e, e.return, b2);
32713
32732
  }
@@ -32822,8 +32841,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
32822
32841
  Mf(e, t, u);
32823
32842
  continue;
32824
32843
  } else {
32825
- var E = h.alternate, D = E !== null && E.memoizedState !== null, O = D || D4, G = Du, Q = D4;
32826
- Du = M, D4 = O, D4 && !Q && (t2 = h, XM(h));
32844
+ var E = h.alternate, D = E !== null && E.memoizedState !== null, Z = D || D4, G = Du, Q = D4;
32845
+ Du = M, D4 = Z, D4 && !Q && (t2 = h, XM(h));
32827
32846
  for (var o1 = g; o1 !== null; )
32828
32847
  t2 = o1, Sg(
32829
32848
  o1,
@@ -33318,8 +33337,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
33318
33337
  if (w === Sf)
33319
33338
  Ht(e, h);
33320
33339
  else {
33321
- var D = !et(e, h), O = e.current.alternate;
33322
- if (D && !Vk(O)) {
33340
+ var D = !et(e, h), Z = e.current.alternate;
33341
+ if (D && !Vk(Z)) {
33323
33342
  if (w = Uu(e, h), w === A0) {
33324
33343
  var G = K9(e);
33325
33344
  G !== L1 && (h = G, w = Bf(e, G));
@@ -33329,7 +33348,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
33329
33348
  throw z0(e, L1), Ht(e, h), I5(e, ke()), Q;
33330
33349
  }
33331
33350
  }
33332
- e.finishedWork = O, e.finishedLanes = h, Hk(e, w, h);
33351
+ e.finishedWork = Z, e.finishedLanes = h, Hk(e, w, h);
33333
33352
  }
33334
33353
  }
33335
33354
  return I5(e, ke()), e.callbackNode === u ? Fg.bind(null, e) : null;
@@ -33686,10 +33705,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
33686
33705
  if (M || E) {
33687
33706
  var D = Z4.transition;
33688
33707
  Z4.transition = null;
33689
- var O = i7();
33708
+ var Z = i7();
33690
33709
  Ee(Q4);
33691
33710
  var G = t3;
33692
- t3 |= j7, Ef.current = null, ZM(e, h), Iv(), QM(e, h, g), Qx(e.containerInfo), e.current = h, i0(g), qM(h, e, g), Rr(), Ua(), t3 = G, Ee(O), Z4.transition = D;
33711
+ t3 |= j7, Ef.current = null, ZM(e, h), Iv(), QM(e, h, g), Qx(e.containerInfo), e.current = h, i0(g), qM(h, e, g), Rr(), Ua(), t3 = G, Ee(Z), Z4.transition = D;
33693
33712
  } else
33694
33713
  e.current = h, Iv();
33695
33714
  var Q = j0;
@@ -34076,16 +34095,16 @@ This ensures that you're testing the behavior the user would see in the browser.
34076
34095
  }
34077
34096
  if (z7 === null)
34078
34097
  throw new Error("Expected resolveFamily to be set during hot reload.");
34079
- var D = !1, O = !1;
34098
+ var D = !1, Z = !1;
34080
34099
  if (E !== null) {
34081
34100
  var G = z7(E);
34082
- G !== void 0 && (u.has(G) ? O = !0 : t.has(G) && (w === L ? O = !0 : D = !0));
34101
+ G !== void 0 && (u.has(G) ? Z = !0 : t.has(G) && (w === L ? Z = !0 : D = !0));
34083
34102
  }
34084
- if (Fn !== null && (Fn.has(e) || c !== null && Fn.has(c)) && (O = !0), O && (e._debugNeedsRemount = !0), O || D) {
34103
+ if (Fn !== null && (Fn.has(e) || c !== null && Fn.has(c)) && (Z = !0), Z && (e._debugNeedsRemount = !0), Z || D) {
34085
34104
  var Q = j5(e, z1);
34086
34105
  Q !== null && s4(Q, e, z1, P3);
34087
34106
  }
34088
- h !== null && !O && Wf(h, t, u), g !== null && Wf(g, t, u);
34107
+ h !== null && !Z && Wf(h, t, u), g !== null && Wf(g, t, u);
34089
34108
  }
34090
34109
  }
34091
34110
  var eE = function(e, t) {
@@ -34241,7 +34260,7 @@ This ensures that you're testing the behavior the user would see in the browser.
34241
34260
  case y7:
34242
34261
  return Vt(u.children, h, g, t);
34243
34262
  case K5:
34244
- w = Z, h |= de, (h & Y2) !== C2 && (h |= O5);
34263
+ w = O, h |= de, (h & Y2) !== C2 && (h |= O5);
34245
34264
  break;
34246
34265
  case V4:
34247
34266
  return sE(u, h, g, t);
@@ -34263,7 +34282,7 @@ This ensures that you're testing the behavior the user would see in the browser.
34263
34282
  w = P;
34264
34283
  break e;
34265
34284
  case w1:
34266
- w = z;
34285
+ w = U;
34267
34286
  break e;
34268
34287
  case Z1:
34269
34288
  w = I, M = Yf(M);
@@ -34286,8 +34305,8 @@ Check the render method of \`` + D + "`.");
34286
34305
  throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) " + ("but got: " + (e == null ? e : typeof e) + "." + E));
34287
34306
  }
34288
34307
  }
34289
- var O = c7(w, u, t, h);
34290
- return O.elementType = e, O.type = M, O.lanes = g, O._debugOwner = c, O;
34308
+ var Z = c7(w, u, t, h);
34309
+ return Z.elementType = e, Z.type = M, Z.lanes = g, Z._debugOwner = c, Z;
34291
34310
  }
34292
34311
  function Kf(e, t, u) {
34293
34312
  var c = null;
@@ -34364,8 +34383,8 @@ Check the render method of \`` + D + "`.");
34364
34383
  }
34365
34384
  }
34366
34385
  function ly(e, t, u, c, h, g, w, M, E, D) {
34367
- var O = new fE(e, t, u, M, E), G = lE(t, g);
34368
- O.current = G, G.stateNode = O;
34386
+ var Z = new fE(e, t, u, M, E), G = lE(t, g);
34387
+ Z.current = G, G.stateNode = Z;
34369
34388
  {
34370
34389
  var Q = {
34371
34390
  element: c,
@@ -34377,7 +34396,7 @@ Check the render method of \`` + D + "`.");
34377
34396
  };
34378
34397
  G.memoizedState = Q;
34379
34398
  }
34380
- return lC(G), O;
34399
+ return lC(G), Z;
34381
34400
  }
34382
34401
  var tp = "18.2.0";
34383
34402
  function pE(e, t, u) {
@@ -34436,7 +34455,7 @@ Check the render method of \`` + D + "`.");
34436
34455
  return ly(e, t, E, D, u, c, h, g, w);
34437
34456
  }
34438
34457
  function cy(e, t, u, c, h, g, w, M, E, D) {
34439
- var O = !0, G = ly(u, c, O, e, h, g, w, M, E);
34458
+ var Z = !0, G = ly(u, c, Z, e, h, g, w, M, E);
34440
34459
  G.context = sy(null);
34441
34460
  var Q = G.current, o1 = g5(), l1 = xt(Q), C1 = u9(o1, l1);
34442
34461
  return C1.callback = t ?? null, ht(Q, C1, l1), wk(G, l1, o1), G;
@@ -34729,8 +34748,8 @@ Check the render method of %s.`, _2(Ye) || "Unknown"));
34729
34748
  u != null && (u.unstable_strictMode === !0 && (g = !0), u.identifierPrefix !== void 0 && (M = u.identifierPrefix), u.onRecoverableError !== void 0 && (E = u.onRecoverableError));
34730
34749
  var D = cy(t, null, e, zs, c, g, w, M, E);
34731
34750
  if (Os(D.current, e), Vi(e), h)
34732
- for (var O = 0; O < h.length; O++) {
34733
- var G = h[O];
34751
+ for (var Z = 0; Z < h.length; Z++) {
34752
+ var G = h[Z];
34734
34753
  OV(D, G);
34735
34754
  }
34736
34755
  return new Wu(D);
@@ -34791,11 +34810,11 @@ Check the render method of %s.`, _2(Ye) || "Unknown"));
34791
34810
  if (typeof c == "function") {
34792
34811
  var D = c;
34793
34812
  c = function() {
34794
- var Q = Yu(O);
34813
+ var Q = Yu(Z);
34795
34814
  D.call(Q);
34796
34815
  };
34797
34816
  }
34798
- var O = uy(
34817
+ var Z = uy(
34799
34818
  e,
34800
34819
  Ct,
34801
34820
  null,
@@ -34808,11 +34827,11 @@ Check the render method of %s.`, _2(Ye) || "Unknown"));
34808
34827
  // identifierPrefix
34809
34828
  Ry
34810
34829
  );
34811
- e._reactRootContainer = O, Os(O.current, e);
34830
+ e._reactRootContainer = Z, Os(Z.current, e);
34812
34831
  var G = e.nodeType === ve ? e.parentNode : e;
34813
34832
  return Vi(G), f9(function() {
34814
- go(t, O, u, c);
34815
- }), O;
34833
+ go(t, Z, u, c);
34834
+ }), Z;
34816
34835
  }
34817
34836
  }
34818
34837
  function TE(e, t) {
@@ -35327,7 +35346,7 @@ var nj = function(a, o) {
35327
35346
  function aj(r) {
35328
35347
  var a, o = r.state, s = r.name, i = r.options, p = o.elements.arrow, C = o.modifiersData.popperOffsets, v = x8(o.placement), y = qh(v), L = [q5, G7].indexOf(v) >= 0, V = L ? "height" : "width";
35329
35348
  if (!(!p || !C)) {
35330
- var k = nj(i.padding, o), S = Qh(p), _ = y === "y" ? Q5 : q5, R = y === "y" ? q7 : G7, N = o.rects.reference[V] + o.rects.reference[y] - C[y] - o.rects.popper[V], Z = C[y] - o.rects.reference[y], z = Xo(p), P = z ? y === "y" ? z.clientHeight || 0 : z.clientWidth || 0 : 0, I = N / 2 - Z / 2, W = k[_], $ = P - S[V] - k[R], J = P / 2 - S[V] / 2 + I, e1 = No(W, J, $), c1 = y;
35349
+ var k = nj(i.padding, o), S = Qh(p), _ = y === "y" ? Q5 : q5, R = y === "y" ? q7 : G7, N = o.rects.reference[V] + o.rects.reference[y] - C[y] - o.rects.popper[V], O = C[y] - o.rects.reference[y], U = Xo(p), P = U ? y === "y" ? U.clientHeight || 0 : U.clientWidth || 0 : 0, I = N / 2 - O / 2, W = k[_], $ = P - S[V] - k[R], J = P / 2 - S[V] / 2 + I, e1 = No(W, J, $), c1 = y;
35331
35350
  o.modifiersData[s] = (a = {}, a[c1] = e1, a.centerOffset = e1 - J, a);
35332
35351
  }
35333
35352
  }
@@ -35361,15 +35380,15 @@ function sj(r, a) {
35361
35380
  };
35362
35381
  }
35363
35382
  function IL(r) {
35364
- var a, o = r.popper, s = r.popperRect, i = r.placement, p = r.variation, C = r.offsets, v = r.position, y = r.gpuAcceleration, L = r.adaptive, V = r.roundOffsets, k = r.isFixed, S = C.x, _ = S === void 0 ? 0 : S, R = C.y, N = R === void 0 ? 0 : R, Z = typeof V == "function" ? V({
35383
+ var a, o = r.popper, s = r.popperRect, i = r.placement, p = r.variation, C = r.offsets, v = r.position, y = r.gpuAcceleration, L = r.adaptive, V = r.roundOffsets, k = r.isFixed, S = C.x, _ = S === void 0 ? 0 : S, R = C.y, N = R === void 0 ? 0 : R, O = typeof V == "function" ? V({
35365
35384
  x: _,
35366
35385
  y: N
35367
35386
  }) : {
35368
35387
  x: _,
35369
35388
  y: N
35370
35389
  };
35371
- _ = Z.x, N = Z.y;
35372
- var z = C.hasOwnProperty("x"), P = C.hasOwnProperty("y"), I = q5, W = Q5, $ = window;
35390
+ _ = O.x, N = O.y;
35391
+ var U = C.hasOwnProperty("x"), P = C.hasOwnProperty("y"), I = q5, W = Q5, $ = window;
35373
35392
  if (L) {
35374
35393
  var J = Xo(o), e1 = "clientHeight", c1 = "clientWidth";
35375
35394
  if (J === g7(o) && (J = Nt(o), w9(J).position !== "static" && v === "absolute" && (e1 = "scrollHeight", c1 = "scrollWidth")), J = J, i === Q5 || (i === q5 || i === G7) && p === zo) {
@@ -35400,9 +35419,9 @@ function IL(r) {
35400
35419
  };
35401
35420
  if (_ = g1.x, N = g1.y, y) {
35402
35421
  var y1;
35403
- return Object.assign({}, M1, (y1 = {}, y1[W] = P ? "0" : "", y1[I] = z ? "0" : "", y1.transform = ($.devicePixelRatio || 1) <= 1 ? "translate(" + _ + "px, " + N + "px)" : "translate3d(" + _ + "px, " + N + "px, 0)", y1));
35422
+ return Object.assign({}, M1, (y1 = {}, y1[W] = P ? "0" : "", y1[I] = U ? "0" : "", y1.transform = ($.devicePixelRatio || 1) <= 1 ? "translate(" + _ + "px, " + N + "px)" : "translate3d(" + _ + "px, " + N + "px, 0)", y1));
35404
35423
  }
35405
- return Object.assign({}, M1, (a = {}, a[W] = P ? N + "px" : "", a[I] = z ? _ + "px" : "", a.transform = "", a));
35424
+ return Object.assign({}, M1, (a = {}, a[W] = P ? N + "px" : "", a[I] = U ? _ + "px" : "", a.transform = "", a));
35406
35425
  }
35407
35426
  function uj(r) {
35408
35427
  var a = r.state, o = r.options, s = o.gpuAcceleration, i = s === void 0 ? !0 : s, p = o.adaptive, C = p === void 0 ? !0 : p, v = o.roundOffsets, y = v === void 0 ? !0 : v, L = {
@@ -35602,15 +35621,15 @@ function Fw(r) {
35602
35621
  }
35603
35622
  function Uo(r, a) {
35604
35623
  a === void 0 && (a = {});
35605
- var o = a, s = o.placement, i = s === void 0 ? r.placement : s, p = o.strategy, C = p === void 0 ? r.strategy : p, v = o.boundary, y = v === void 0 ? FA : v, L = o.rootBoundary, V = L === void 0 ? _w : L, k = o.elementContext, S = k === void 0 ? Eo : k, _ = o.altBoundary, R = _ === void 0 ? !1 : _, N = o.padding, Z = N === void 0 ? 0 : N, z = Nw(typeof Z != "number" ? Z : Bw(Z, Go)), P = S === Eo ? AA : Eo, I = r.rects.popper, W = r.elements[R ? P : S], $ = yj(J0(W) ? W : W.contextElement || Nt(r.elements.popper), y, V, C), J = da(r.elements.reference), e1 = Fw({
35624
+ var o = a, s = o.placement, i = s === void 0 ? r.placement : s, p = o.strategy, C = p === void 0 ? r.strategy : p, v = o.boundary, y = v === void 0 ? FA : v, L = o.rootBoundary, V = L === void 0 ? _w : L, k = o.elementContext, S = k === void 0 ? Eo : k, _ = o.altBoundary, R = _ === void 0 ? !1 : _, N = o.padding, O = N === void 0 ? 0 : N, U = Nw(typeof O != "number" ? O : Bw(O, Go)), P = S === Eo ? AA : Eo, I = r.rects.popper, W = r.elements[R ? P : S], $ = yj(J0(W) ? W : W.contextElement || Nt(r.elements.popper), y, V, C), J = da(r.elements.reference), e1 = Fw({
35606
35625
  reference: J,
35607
35626
  element: I,
35608
35627
  placement: i
35609
35628
  }), c1 = Mh(Object.assign({}, I, e1)), d1 = S === Eo ? c1 : J, k1 = {
35610
- top: $.top - d1.top + z.top,
35611
- bottom: d1.bottom - $.bottom + z.bottom,
35612
- left: $.left - d1.left + z.left,
35613
- right: d1.right - $.right + z.right
35629
+ top: $.top - d1.top + U.top,
35630
+ bottom: d1.bottom - $.bottom + U.bottom,
35631
+ left: $.left - d1.left + U.left,
35632
+ right: d1.right - $.right + U.right
35614
35633
  }, M1 = r.modifiersData.offset;
35615
35634
  if (S === Eo && M1) {
35616
35635
  var g1 = M1[i];
@@ -35650,7 +35669,7 @@ function bj(r) {
35650
35669
  function wj(r) {
35651
35670
  var a = r.state, o = r.options, s = r.name;
35652
35671
  if (!a.modifiersData[s]._skip) {
35653
- for (var i = o.mainAxis, p = i === void 0 ? !0 : i, C = o.altAxis, v = C === void 0 ? !0 : C, y = o.fallbackPlacements, L = o.padding, V = o.boundary, k = o.rootBoundary, S = o.altBoundary, _ = o.flipVariations, R = _ === void 0 ? !0 : _, N = o.allowedAutoPlacements, Z = a.options.placement, z = x8(Z), P = z === Z, I = y || (P || !R ? [uc(Z)] : bj(Z)), W = [Z].concat(I).reduce(function(x2, n3) {
35672
+ for (var i = o.mainAxis, p = i === void 0 ? !0 : i, C = o.altAxis, v = C === void 0 ? !0 : C, y = o.fallbackPlacements, L = o.padding, V = o.boundary, k = o.rootBoundary, S = o.altBoundary, _ = o.flipVariations, R = _ === void 0 ? !0 : _, N = o.allowedAutoPlacements, O = a.options.placement, U = x8(O), P = U === O, I = y || (P || !R ? [uc(O)] : bj(O)), W = [O].concat(I).reduce(function(x2, n3) {
35654
35673
  return x2.concat(x8(n3) === Yh ? Lj(a, {
35655
35674
  placement: n3,
35656
35675
  boundary: V,
@@ -35788,12 +35807,12 @@ function _j(r) {
35788
35807
  return r === "x" ? "y" : "x";
35789
35808
  }
35790
35809
  function Dj(r) {
35791
- var a = r.state, o = r.options, s = r.name, i = o.mainAxis, p = i === void 0 ? !0 : i, C = o.altAxis, v = C === void 0 ? !1 : C, y = o.boundary, L = o.rootBoundary, V = o.altBoundary, k = o.padding, S = o.tether, _ = S === void 0 ? !0 : S, R = o.tetherOffset, N = R === void 0 ? 0 : R, Z = Uo(a, {
35810
+ var a = r.state, o = r.options, s = r.name, i = o.mainAxis, p = i === void 0 ? !0 : i, C = o.altAxis, v = C === void 0 ? !1 : C, y = o.boundary, L = o.rootBoundary, V = o.altBoundary, k = o.padding, S = o.tether, _ = S === void 0 ? !0 : S, R = o.tetherOffset, N = R === void 0 ? 0 : R, O = Uo(a, {
35792
35811
  boundary: y,
35793
35812
  rootBoundary: L,
35794
35813
  padding: k,
35795
35814
  altBoundary: V
35796
- }), z = x8(a.placement), P = Ca(a.placement), I = !P, W = qh(z), $ = _j(W), J = a.modifiersData.popperOffsets, e1 = a.rects.reference, c1 = a.rects.popper, d1 = typeof N == "function" ? N(Object.assign({}, a.rects, {
35815
+ }), U = x8(a.placement), P = Ca(a.placement), I = !P, W = qh(U), $ = _j(W), J = a.modifiersData.popperOffsets, e1 = a.rects.reference, c1 = a.rects.popper, d1 = typeof N == "function" ? N(Object.assign({}, a.rects, {
35797
35816
  placement: a.placement
35798
35817
  })) : N, k1 = typeof d1 == "number" ? {
35799
35818
  mainAxis: d1,
@@ -35807,14 +35826,14 @@ function Dj(r) {
35807
35826
  };
35808
35827
  if (J) {
35809
35828
  if (p) {
35810
- var y1, r2 = W === "y" ? Q5 : q5, D1 = W === "y" ? q7 : G7, N1 = W === "y" ? "height" : "width", G1 = J[W], m1 = G1 + Z[r2], S1 = G1 - Z[D1], v1 = _ ? -c1[N1] / 2 : 0, Q1 = P === ua ? e1[N1] : c1[N1], q1 = P === ua ? -c1[N1] : -e1[N1], j1 = a.elements.arrow, x2 = _ && j1 ? Qh(j1) : {
35829
+ var y1, r2 = W === "y" ? Q5 : q5, D1 = W === "y" ? q7 : G7, N1 = W === "y" ? "height" : "width", G1 = J[W], m1 = G1 + O[r2], S1 = G1 - O[D1], v1 = _ ? -c1[N1] / 2 : 0, Q1 = P === ua ? e1[N1] : c1[N1], q1 = P === ua ? -c1[N1] : -e1[N1], j1 = a.elements.arrow, x2 = _ && j1 ? Qh(j1) : {
35811
35830
  width: 0,
35812
35831
  height: 0
35813
35832
  }, n3 = a.modifiersData["arrow#persistent"] ? a.modifiersData["arrow#persistent"].padding : Ow(), H2 = n3[r2], V2 = n3[D1], o2 = No(0, e1[N1], x2[N1]), l2 = I ? e1[N1] / 2 - v1 - o2 - H2 - k1.mainAxis : Q1 - o2 - H2 - k1.mainAxis, R2 = I ? -e1[N1] / 2 + v1 + o2 + V2 + k1.mainAxis : q1 + o2 + V2 + k1.mainAxis, B2 = a.elements.arrow && Xo(a.elements.arrow), b3 = B2 ? W === "y" ? B2.clientTop || 0 : B2.clientLeft || 0 : 0, K2 = (y1 = M1 == null ? void 0 : M1[W]) != null ? y1 : 0, S2 = G1 + l2 - K2 - b3, F2 = G1 + R2 - K2, m3 = No(_ ? kc(m1, S2) : m1, G1, _ ? Q0(S1, F2) : S1);
35814
35833
  J[W] = m3, g1[W] = m3 - G1;
35815
35834
  }
35816
35835
  if (v) {
35817
- var B1, T2 = W === "x" ? Q5 : q5, z3 = W === "x" ? q7 : G7, A2 = J[$], a3 = $ === "y" ? "height" : "width", M2 = A2 + Z[T2], o3 = A2 - Z[z3], Ze = [Q5, q5].indexOf(z) !== -1, le = (B1 = M1 == null ? void 0 : M1[$]) != null ? B1 : 0, Oe = Ze ? M2 : A2 - e1[a3] - c1[a3] - le + k1.altAxis, b4 = Ze ? A2 + e1[a3] + c1[a3] - le - k1.altAxis : o3, Ie = _ && Ze ? rj(Oe, A2, b4) : No(_ ? Oe : M2, A2, _ ? b4 : o3);
35836
+ var B1, T2 = W === "x" ? Q5 : q5, z3 = W === "x" ? q7 : G7, A2 = J[$], a3 = $ === "y" ? "height" : "width", M2 = A2 + O[T2], o3 = A2 - O[z3], Ze = [Q5, q5].indexOf(U) !== -1, le = (B1 = M1 == null ? void 0 : M1[$]) != null ? B1 : 0, Oe = Ze ? M2 : A2 - e1[a3] - c1[a3] - le + k1.altAxis, b4 = Ze ? A2 + e1[a3] + c1[a3] - le - k1.altAxis : o3, Ie = _ && Ze ? rj(Oe, A2, b4) : No(_ ? Oe : M2, A2, _ ? b4 : o3);
35818
35837
  J[$] = Ie, g1[$] = Ie - A2;
35819
35838
  }
35820
35839
  a.modifiersData[s] = g1;
@@ -35936,8 +35955,8 @@ function zj(r) {
35936
35955
  styles: {}
35937
35956
  }, k = [], S = !1, _ = {
35938
35957
  state: V,
35939
- setOptions: function(z) {
35940
- var P = typeof z == "function" ? z(V.options) : z;
35958
+ setOptions: function(U) {
35959
+ var P = typeof U == "function" ? U(V.options) : U;
35941
35960
  N(), V.options = Object.assign({}, p, V.options, P), V.scrollParents = {
35942
35961
  reference: J0(v) ? Bo(v) : v.contextElement ? Bo(v.contextElement) : [],
35943
35962
  popper: Bo(y)
@@ -35954,7 +35973,7 @@ function zj(r) {
35954
35973
  // prefer the async Popper#update method
35955
35974
  forceUpdate: function() {
35956
35975
  if (!S) {
35957
- var z = V.elements, P = z.reference, I = z.popper;
35976
+ var U = V.elements, P = U.reference, I = U.popper;
35958
35977
  if (GL(P, I)) {
35959
35978
  V.rects = {
35960
35979
  reference: Bj(P, Xo(I), V.options.strategy === "fixed"),
@@ -35981,8 +36000,8 @@ function zj(r) {
35981
36000
  // Async and optimistically optimized update – it will not be executed if
35982
36001
  // not necessary (debounced to run at most once-per-tick)
35983
36002
  update: Aj(function() {
35984
- return new Promise(function(Z) {
35985
- _.forceUpdate(), Z(V);
36003
+ return new Promise(function(O) {
36004
+ _.forceUpdate(), O(V);
35986
36005
  });
35987
36006
  }),
35988
36007
  destroy: function() {
@@ -35991,16 +36010,16 @@ function zj(r) {
35991
36010
  };
35992
36011
  if (!GL(v, y))
35993
36012
  return _;
35994
- _.setOptions(L).then(function(Z) {
35995
- !S && L.onFirstUpdate && L.onFirstUpdate(Z);
36013
+ _.setOptions(L).then(function(O) {
36014
+ !S && L.onFirstUpdate && L.onFirstUpdate(O);
35996
36015
  });
35997
36016
  function R() {
35998
- V.orderedModifiers.forEach(function(Z) {
35999
- var z = Z.name, P = Z.options, I = P === void 0 ? {} : P, W = Z.effect;
36017
+ V.orderedModifiers.forEach(function(O) {
36018
+ var U = O.name, P = O.options, I = P === void 0 ? {} : P, W = O.effect;
36000
36019
  if (typeof W == "function") {
36001
36020
  var $ = W({
36002
36021
  state: V,
36003
- name: z,
36022
+ name: U,
36004
36023
  instance: _,
36005
36024
  options: I
36006
36025
  }), J = function() {
@@ -36010,8 +36029,8 @@ function zj(r) {
36010
36029
  });
36011
36030
  }
36012
36031
  function N() {
36013
- k.forEach(function(Z) {
36014
- return Z();
36032
+ k.forEach(function(O) {
36033
+ return O();
36015
36034
  }), k = [];
36016
36035
  }
36017
36036
  return _;
@@ -36104,11 +36123,11 @@ var Xj = [], Kj = function(a, o, s) {
36104
36123
  var R = _.state, N = Object.keys(R.elements);
36105
36124
  $h.flushSync(function() {
36106
36125
  y({
36107
- styles: AL(N.map(function(Z) {
36108
- return [Z, R.styles[Z] || {}];
36126
+ styles: AL(N.map(function(O) {
36127
+ return [O, R.styles[O] || {}];
36109
36128
  })),
36110
- attributes: AL(N.map(function(Z) {
36111
- return [Z, R.attributes[Z]];
36129
+ attributes: AL(N.map(function(O) {
36130
+ return [O, R.attributes[O]];
36112
36131
  }))
36113
36132
  });
36114
36133
  });
@@ -36148,7 +36167,7 @@ var Xj = [], Kj = function(a, o, s) {
36148
36167
  return Promise.resolve(null);
36149
36168
  }, tz = [];
36150
36169
  function rz(r) {
36151
- var a = r.placement, o = a === void 0 ? "bottom" : a, s = r.strategy, i = s === void 0 ? "absolute" : s, p = r.modifiers, C = p === void 0 ? tz : p, v = r.referenceElement, y = r.onFirstUpdate, L = r.innerRef, V = r.children, k = d.useContext(kw), S = d.useState(null), _ = S[0], R = S[1], N = d.useState(null), Z = N[0], z = N[1];
36170
+ var a = r.placement, o = a === void 0 ? "bottom" : a, s = r.strategy, i = s === void 0 ? "absolute" : s, p = r.modifiers, C = p === void 0 ? tz : p, v = r.referenceElement, y = r.onFirstUpdate, L = r.innerRef, V = r.children, k = d.useContext(kw), S = d.useState(null), _ = S[0], R = S[1], N = d.useState(null), O = N[0], U = N[1];
36152
36171
  d.useEffect(function() {
36153
36172
  Hh(L, _);
36154
36173
  }, [L, _]);
@@ -36159,13 +36178,13 @@ function rz(r) {
36159
36178
  onFirstUpdate: y,
36160
36179
  modifiers: [].concat(C, [{
36161
36180
  name: "arrow",
36162
- enabled: Z != null,
36181
+ enabled: O != null,
36163
36182
  options: {
36164
- element: Z
36183
+ element: O
36165
36184
  }
36166
36185
  }])
36167
36186
  };
36168
- }, [o, i, y, C, Z]), I = Kj(v || k, _, P), W = I.state, $ = I.styles, J = I.forceUpdate, e1 = I.update, c1 = d.useMemo(function() {
36187
+ }, [o, i, y, C, O]), I = Kj(v || k, _, P), W = I.state, $ = I.styles, J = I.forceUpdate, e1 = I.update, c1 = d.useMemo(function() {
36169
36188
  return {
36170
36189
  ref: R,
36171
36190
  style: $.popper,
@@ -36174,12 +36193,12 @@ function rz(r) {
36174
36193
  isReferenceHidden: W && W.modifiersData.hide ? W.modifiersData.hide.isReferenceHidden : null,
36175
36194
  arrowProps: {
36176
36195
  style: $.arrow,
36177
- ref: z
36196
+ ref: U
36178
36197
  },
36179
36198
  forceUpdate: J || Jj,
36180
36199
  update: e1 || ez
36181
36200
  };
36182
- }, [R, z, o, W, $, e1, J]);
36201
+ }, [R, U, o, W, $, e1, J]);
36183
36202
  return Sw(V)(c1);
36184
36203
  }
36185
36204
  var nz = process.env.NODE_ENV !== "production", Aw = function() {
@@ -36299,14 +36318,14 @@ function zw(r, a) {
36299
36318
  return o.__proto__ = s, o;
36300
36319
  })(r, a);
36301
36320
  }
36302
- function U(r) {
36321
+ function z(r) {
36303
36322
  if (r === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
36304
36323
  return r;
36305
36324
  }
36306
36325
  function uz(r, a) {
36307
36326
  if (a && (typeof a == "object" || typeof a == "function")) return a;
36308
36327
  if (a !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
36309
- return U(r);
36328
+ return z(r);
36310
36329
  }
36311
36330
  function L4(r) {
36312
36331
  var a = function() {
@@ -36677,27 +36696,27 @@ var Lz = Bc(function(r) {
36677
36696
  var a = L4(o);
36678
36697
  function o(s) {
36679
36698
  var i;
36680
- v4(this, o), A(U(i = a.call(this, s)), "renderOptions", function() {
36699
+ v4(this, o), A(z(i = a.call(this, s)), "renderOptions", function() {
36681
36700
  var y = i.props.year, L = i.state.yearsList.map(function(S) {
36682
- return r1.createElement("div", { className: y === S ? "react-datepicker__year-option react-datepicker__year-option--selected_year" : "react-datepicker__year-option", key: S, onClick: i.onChange.bind(U(i), S), "aria-selected": y === S ? "true" : void 0 }, y === S ? r1.createElement("span", { className: "react-datepicker__year-option--selected" }, "✓") : "", S);
36701
+ return r1.createElement("div", { className: y === S ? "react-datepicker__year-option react-datepicker__year-option--selected_year" : "react-datepicker__year-option", key: S, onClick: i.onChange.bind(z(i), S), "aria-selected": y === S ? "true" : void 0 }, y === S ? r1.createElement("span", { className: "react-datepicker__year-option--selected" }, "✓") : "", S);
36683
36702
  }), V = i.props.minDate ? X2(i.props.minDate) : null, k = i.props.maxDate ? X2(i.props.maxDate) : null;
36684
36703
  return k && i.state.yearsList.find(function(S) {
36685
36704
  return S === k;
36686
36705
  }) || L.unshift(r1.createElement("div", { className: "react-datepicker__year-option", key: "upcoming", onClick: i.incrementYears }, r1.createElement("a", { className: "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming" }))), V && i.state.yearsList.find(function(S) {
36687
36706
  return S === V;
36688
36707
  }) || L.push(r1.createElement("div", { className: "react-datepicker__year-option", key: "previous", onClick: i.decrementYears }, r1.createElement("a", { className: "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous" }))), L;
36689
- }), A(U(i), "onChange", function(y) {
36708
+ }), A(z(i), "onChange", function(y) {
36690
36709
  i.props.onChange(y);
36691
- }), A(U(i), "handleClickOutside", function() {
36710
+ }), A(z(i), "handleClickOutside", function() {
36692
36711
  i.props.onCancel();
36693
- }), A(U(i), "shiftYears", function(y) {
36712
+ }), A(z(i), "shiftYears", function(y) {
36694
36713
  var L = i.state.yearsList.map(function(V) {
36695
36714
  return V + y;
36696
36715
  });
36697
36716
  i.setState({ yearsList: L });
36698
- }), A(U(i), "incrementYears", function() {
36717
+ }), A(z(i), "incrementYears", function() {
36699
36718
  return i.shiftYears(1);
36700
- }), A(U(i), "decrementYears", function() {
36719
+ }), A(z(i), "decrementYears", function() {
36701
36720
  return i.shiftYears(-1);
36702
36721
  });
36703
36722
  var p = s.yearDropdownItemNumber, C = s.scrollableYearDropdown, v = p || (C ? 10 : 5);
@@ -36722,33 +36741,33 @@ var Lz = Bc(function(r) {
36722
36741
  var s;
36723
36742
  v4(this, o);
36724
36743
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
36725
- return A(U(s = a.call.apply(a, [this].concat(p))), "state", { dropdownVisible: !1 }), A(U(s), "renderSelectOptions", function() {
36744
+ return A(z(s = a.call.apply(a, [this].concat(p))), "state", { dropdownVisible: !1 }), A(z(s), "renderSelectOptions", function() {
36726
36745
  for (var v = s.props.minDate ? X2(s.props.minDate) : 1900, y = s.props.maxDate ? X2(s.props.maxDate) : 2100, L = [], V = v; V <= y; V++) L.push(r1.createElement("option", { key: V, value: V }, V));
36727
36746
  return L;
36728
- }), A(U(s), "onSelectChange", function(v) {
36747
+ }), A(z(s), "onSelectChange", function(v) {
36729
36748
  s.onChange(v.target.value);
36730
- }), A(U(s), "renderSelectMode", function() {
36749
+ }), A(z(s), "renderSelectMode", function() {
36731
36750
  return r1.createElement("select", { value: s.props.year, className: "react-datepicker__year-select", onChange: s.onSelectChange }, s.renderSelectOptions());
36732
- }), A(U(s), "renderReadView", function(v) {
36751
+ }), A(z(s), "renderReadView", function(v) {
36733
36752
  return r1.createElement("div", { key: "read", style: { visibility: v ? "visible" : "hidden" }, className: "react-datepicker__year-read-view", onClick: function(y) {
36734
36753
  return s.toggleDropdown(y);
36735
36754
  } }, r1.createElement("span", { className: "react-datepicker__year-read-view--down-arrow" }), r1.createElement("span", { className: "react-datepicker__year-read-view--selected-year" }, s.props.year));
36736
- }), A(U(s), "renderDropdown", function() {
36755
+ }), A(z(s), "renderDropdown", function() {
36737
36756
  return r1.createElement(Lz, { key: "dropdown", year: s.props.year, onChange: s.onChange, onCancel: s.toggleDropdown, minDate: s.props.minDate, maxDate: s.props.maxDate, scrollableYearDropdown: s.props.scrollableYearDropdown, yearDropdownItemNumber: s.props.yearDropdownItemNumber });
36738
- }), A(U(s), "renderScrollMode", function() {
36757
+ }), A(z(s), "renderScrollMode", function() {
36739
36758
  var v = s.state.dropdownVisible, y = [s.renderReadView(!v)];
36740
36759
  return v && y.unshift(s.renderDropdown()), y;
36741
- }), A(U(s), "onChange", function(v) {
36760
+ }), A(z(s), "onChange", function(v) {
36742
36761
  s.toggleDropdown(), v !== s.props.year && s.props.onChange(v);
36743
- }), A(U(s), "toggleDropdown", function(v) {
36762
+ }), A(z(s), "toggleDropdown", function(v) {
36744
36763
  s.setState({ dropdownVisible: !s.state.dropdownVisible }, function() {
36745
36764
  s.props.adjustDateOnChange && s.handleYearChange(s.props.date, v);
36746
36765
  });
36747
- }), A(U(s), "handleYearChange", function(v, y) {
36766
+ }), A(z(s), "handleYearChange", function(v, y) {
36748
36767
  s.onSelect(v, y), s.setOpen();
36749
- }), A(U(s), "onSelect", function(v, y) {
36768
+ }), A(z(s), "onSelect", function(v, y) {
36750
36769
  s.props.onSelect && s.props.onSelect(v, y);
36751
- }), A(U(s), "setOpen", function() {
36770
+ }), A(z(s), "setOpen", function() {
36752
36771
  s.props.setOpen && s.props.setOpen(!0);
36753
36772
  }), s;
36754
36773
  }
@@ -36770,15 +36789,15 @@ var Lz = Bc(function(r) {
36770
36789
  var s;
36771
36790
  v4(this, o);
36772
36791
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
36773
- return A(U(s = a.call.apply(a, [this].concat(p))), "isSelectedMonth", function(v) {
36792
+ return A(z(s = a.call.apply(a, [this].concat(p))), "isSelectedMonth", function(v) {
36774
36793
  return s.props.month === v;
36775
- }), A(U(s), "renderOptions", function() {
36794
+ }), A(z(s), "renderOptions", function() {
36776
36795
  return s.props.monthNames.map(function(v, y) {
36777
- return r1.createElement("div", { className: s.isSelectedMonth(y) ? "react-datepicker__month-option react-datepicker__month-option--selected_month" : "react-datepicker__month-option", key: v, onClick: s.onChange.bind(U(s), y), "aria-selected": s.isSelectedMonth(y) ? "true" : void 0 }, s.isSelectedMonth(y) ? r1.createElement("span", { className: "react-datepicker__month-option--selected" }, "✓") : "", v);
36796
+ return r1.createElement("div", { className: s.isSelectedMonth(y) ? "react-datepicker__month-option react-datepicker__month-option--selected_month" : "react-datepicker__month-option", key: v, onClick: s.onChange.bind(z(s), y), "aria-selected": s.isSelectedMonth(y) ? "true" : void 0 }, s.isSelectedMonth(y) ? r1.createElement("span", { className: "react-datepicker__month-option--selected" }, "✓") : "", v);
36778
36797
  });
36779
- }), A(U(s), "onChange", function(v) {
36798
+ }), A(z(s), "onChange", function(v) {
36780
36799
  return s.props.onChange(v);
36781
- }), A(U(s), "handleClickOutside", function() {
36800
+ }), A(z(s), "handleClickOutside", function() {
36782
36801
  return s.props.onCancel();
36783
36802
  }), s;
36784
36803
  }
@@ -36792,24 +36811,24 @@ var Lz = Bc(function(r) {
36792
36811
  var s;
36793
36812
  v4(this, o);
36794
36813
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
36795
- return A(U(s = a.call.apply(a, [this].concat(p))), "state", { dropdownVisible: !1 }), A(U(s), "renderSelectOptions", function(v) {
36814
+ return A(z(s = a.call.apply(a, [this].concat(p))), "state", { dropdownVisible: !1 }), A(z(s), "renderSelectOptions", function(v) {
36796
36815
  return v.map(function(y, L) {
36797
36816
  return r1.createElement("option", { key: L, value: L }, y);
36798
36817
  });
36799
- }), A(U(s), "renderSelectMode", function(v) {
36818
+ }), A(z(s), "renderSelectMode", function(v) {
36800
36819
  return r1.createElement("select", { value: s.props.month, className: "react-datepicker__month-select", onChange: function(y) {
36801
36820
  return s.onChange(y.target.value);
36802
36821
  } }, s.renderSelectOptions(v));
36803
- }), A(U(s), "renderReadView", function(v, y) {
36822
+ }), A(z(s), "renderReadView", function(v, y) {
36804
36823
  return r1.createElement("div", { key: "read", style: { visibility: v ? "visible" : "hidden" }, className: "react-datepicker__month-read-view", onClick: s.toggleDropdown }, r1.createElement("span", { className: "react-datepicker__month-read-view--down-arrow" }), r1.createElement("span", { className: "react-datepicker__month-read-view--selected-month" }, y[s.props.month]));
36805
- }), A(U(s), "renderDropdown", function(v) {
36824
+ }), A(z(s), "renderDropdown", function(v) {
36806
36825
  return r1.createElement(wz, { key: "dropdown", month: s.props.month, monthNames: v, onChange: s.onChange, onCancel: s.toggleDropdown });
36807
- }), A(U(s), "renderScrollMode", function(v) {
36826
+ }), A(z(s), "renderScrollMode", function(v) {
36808
36827
  var y = s.state.dropdownVisible, L = [s.renderReadView(!y, v)];
36809
36828
  return y && L.unshift(s.renderDropdown(v)), L;
36810
- }), A(U(s), "onChange", function(v) {
36829
+ }), A(z(s), "onChange", function(v) {
36811
36830
  s.toggleDropdown(), v !== s.props.month && s.props.onChange(v);
36812
- }), A(U(s), "toggleDropdown", function() {
36831
+ }), A(z(s), "toggleDropdown", function() {
36813
36832
  return s.setState({ dropdownVisible: !s.state.dropdownVisible });
36814
36833
  }), s;
36815
36834
  }
@@ -36838,14 +36857,14 @@ var oc, Vz = Bc(function(r) {
36838
36857
  var a = L4(o);
36839
36858
  function o(s) {
36840
36859
  var i;
36841
- return v4(this, o), A(U(i = a.call(this, s)), "renderOptions", function() {
36860
+ return v4(this, o), A(z(i = a.call(this, s)), "renderOptions", function() {
36842
36861
  return i.state.monthYearsList.map(function(p) {
36843
36862
  var C = vh(p), v = St(i.props.date, p) && T6(i.props.date, p);
36844
- return r1.createElement("div", { className: v ? "react-datepicker__month-year-option--selected_month-year" : "react-datepicker__month-year-option", key: C, onClick: i.onChange.bind(U(i), C), "aria-selected": v ? "true" : void 0 }, v ? r1.createElement("span", { className: "react-datepicker__month-year-option--selected" }, "✓") : "", Re(p, i.props.dateFormat, i.props.locale));
36863
+ return r1.createElement("div", { className: v ? "react-datepicker__month-year-option--selected_month-year" : "react-datepicker__month-year-option", key: C, onClick: i.onChange.bind(z(i), C), "aria-selected": v ? "true" : void 0 }, v ? r1.createElement("span", { className: "react-datepicker__month-year-option--selected" }, "✓") : "", Re(p, i.props.dateFormat, i.props.locale));
36845
36864
  });
36846
- }), A(U(i), "onChange", function(p) {
36865
+ }), A(z(i), "onChange", function(p) {
36847
36866
  return i.props.onChange(p);
36848
- }), A(U(i), "handleClickOutside", function() {
36867
+ }), A(z(i), "handleClickOutside", function() {
36849
36868
  i.props.onCancel();
36850
36869
  }), i.state = { monthYearsList: Hz(i.props.minDate, i.props.maxDate) }, i;
36851
36870
  }
@@ -36860,31 +36879,31 @@ var oc, Vz = Bc(function(r) {
36860
36879
  var s;
36861
36880
  v4(this, o);
36862
36881
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
36863
- return A(U(s = a.call.apply(a, [this].concat(p))), "state", { dropdownVisible: !1 }), A(U(s), "renderSelectOptions", function() {
36882
+ return A(z(s = a.call.apply(a, [this].concat(p))), "state", { dropdownVisible: !1 }), A(z(s), "renderSelectOptions", function() {
36864
36883
  for (var v = _t(s.props.minDate), y = _t(s.props.maxDate), L = []; !Dt(v, y); ) {
36865
36884
  var V = vh(v);
36866
36885
  L.push(r1.createElement("option", { key: V, value: V }, Re(v, s.props.dateFormat, s.props.locale))), v = _6(v, 1);
36867
36886
  }
36868
36887
  return L;
36869
- }), A(U(s), "onSelectChange", function(v) {
36888
+ }), A(z(s), "onSelectChange", function(v) {
36870
36889
  s.onChange(v.target.value);
36871
- }), A(U(s), "renderSelectMode", function() {
36890
+ }), A(z(s), "renderSelectMode", function() {
36872
36891
  return r1.createElement("select", { value: vh(_t(s.props.date)), className: "react-datepicker__month-year-select", onChange: s.onSelectChange }, s.renderSelectOptions());
36873
- }), A(U(s), "renderReadView", function(v) {
36892
+ }), A(z(s), "renderReadView", function(v) {
36874
36893
  var y = Re(s.props.date, s.props.dateFormat, s.props.locale);
36875
36894
  return r1.createElement("div", { key: "read", style: { visibility: v ? "visible" : "hidden" }, className: "react-datepicker__month-year-read-view", onClick: function(L) {
36876
36895
  return s.toggleDropdown(L);
36877
36896
  } }, r1.createElement("span", { className: "react-datepicker__month-year-read-view--down-arrow" }), r1.createElement("span", { className: "react-datepicker__month-year-read-view--selected-month-year" }, y));
36878
- }), A(U(s), "renderDropdown", function() {
36897
+ }), A(z(s), "renderDropdown", function() {
36879
36898
  return r1.createElement(Vz, { key: "dropdown", date: s.props.date, dateFormat: s.props.dateFormat, onChange: s.onChange, onCancel: s.toggleDropdown, minDate: s.props.minDate, maxDate: s.props.maxDate, scrollableMonthYearDropdown: s.props.scrollableMonthYearDropdown, locale: s.props.locale });
36880
- }), A(U(s), "renderScrollMode", function() {
36899
+ }), A(z(s), "renderScrollMode", function() {
36881
36900
  var v = s.state.dropdownVisible, y = [s.renderReadView(!v)];
36882
36901
  return v && y.unshift(s.renderDropdown()), y;
36883
- }), A(U(s), "onChange", function(v) {
36902
+ }), A(z(s), "onChange", function(v) {
36884
36903
  s.toggleDropdown();
36885
36904
  var y = Q3(parseInt(v));
36886
36905
  St(s.props.date, y) && T6(s.props.date, y) || s.props.onChange(y);
36887
- }), A(U(s), "toggleDropdown", function() {
36906
+ }), A(z(s), "toggleDropdown", function() {
36888
36907
  return s.setState({ dropdownVisible: !s.state.dropdownVisible });
36889
36908
  }), s;
36890
36909
  }
@@ -36906,73 +36925,73 @@ var oc, Vz = Bc(function(r) {
36906
36925
  var s;
36907
36926
  v4(this, o);
36908
36927
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
36909
- return A(U(s = a.call.apply(a, [this].concat(p))), "dayEl", r1.createRef()), A(U(s), "handleClick", function(v) {
36928
+ return A(z(s = a.call.apply(a, [this].concat(p))), "dayEl", r1.createRef()), A(z(s), "handleClick", function(v) {
36910
36929
  !s.isDisabled() && s.props.onClick && s.props.onClick(v);
36911
- }), A(U(s), "handleMouseEnter", function(v) {
36930
+ }), A(z(s), "handleMouseEnter", function(v) {
36912
36931
  !s.isDisabled() && s.props.onMouseEnter && s.props.onMouseEnter(v);
36913
- }), A(U(s), "handleOnKeyDown", function(v) {
36932
+ }), A(z(s), "handleOnKeyDown", function(v) {
36914
36933
  v.key === " " && (v.preventDefault(), v.key = "Enter"), s.props.handleOnKeyDown(v);
36915
- }), A(U(s), "isSameDay", function(v) {
36934
+ }), A(z(s), "isSameDay", function(v) {
36916
36935
  return x5(s.props.day, v);
36917
- }), A(U(s), "isKeyboardSelected", function() {
36936
+ }), A(z(s), "isKeyboardSelected", function() {
36918
36937
  return !s.props.disabledKeyboardNavigation && !s.isSameDay(s.props.selected) && s.isSameDay(s.props.preSelection);
36919
- }), A(U(s), "isDisabled", function() {
36938
+ }), A(z(s), "isDisabled", function() {
36920
36939
  return Ac(s.props.day, s.props);
36921
- }), A(U(s), "isExcluded", function() {
36940
+ }), A(z(s), "isExcluded", function() {
36922
36941
  return tm(s.props.day, s.props);
36923
- }), A(U(s), "getHighLightedClass", function(v) {
36942
+ }), A(z(s), "getHighLightedClass", function(v) {
36924
36943
  var y = s.props, L = y.day, V = y.highlightDates;
36925
36944
  if (!V) return !1;
36926
36945
  var k = Re(L, "MM.dd.yyyy");
36927
36946
  return V.get(k);
36928
- }), A(U(s), "isInRange", function() {
36947
+ }), A(z(s), "isInRange", function() {
36929
36948
  var v = s.props, y = v.day, L = v.startDate, V = v.endDate;
36930
36949
  return !(!L || !V) && dc(y, L, V);
36931
- }), A(U(s), "isInSelectingRange", function() {
36932
- var v, y = s.props, L = y.day, V = y.selectsStart, k = y.selectsEnd, S = y.selectsRange, _ = y.selectsDisabledDaysInRange, R = y.startDate, N = y.endDate, Z = (v = s.props.selectingDate) !== null && v !== void 0 ? v : s.props.preSelection;
36933
- return !(!(V || k || S) || !Z || !_ && s.isDisabled()) && (V && N && (y9(Z, N) || Tt(Z, N)) ? dc(L, Z, N) : (k && R && (Dt(Z, R) || Tt(Z, R)) || !(!S || !R || N || !Dt(Z, R) && !Tt(Z, R))) && dc(L, R, Z));
36934
- }), A(U(s), "isSelectingRangeStart", function() {
36950
+ }), A(z(s), "isInSelectingRange", function() {
36951
+ var v, y = s.props, L = y.day, V = y.selectsStart, k = y.selectsEnd, S = y.selectsRange, _ = y.selectsDisabledDaysInRange, R = y.startDate, N = y.endDate, O = (v = s.props.selectingDate) !== null && v !== void 0 ? v : s.props.preSelection;
36952
+ return !(!(V || k || S) || !O || !_ && s.isDisabled()) && (V && N && (y9(O, N) || Tt(O, N)) ? dc(L, O, N) : (k && R && (Dt(O, R) || Tt(O, R)) || !(!S || !R || N || !Dt(O, R) && !Tt(O, R))) && dc(L, R, O));
36953
+ }), A(z(s), "isSelectingRangeStart", function() {
36935
36954
  var v;
36936
36955
  if (!s.isInSelectingRange()) return !1;
36937
36956
  var y = s.props, L = y.day, V = y.startDate, k = y.selectsStart, S = (v = s.props.selectingDate) !== null && v !== void 0 ? v : s.props.preSelection;
36938
36957
  return x5(L, k ? S : V);
36939
- }), A(U(s), "isSelectingRangeEnd", function() {
36958
+ }), A(z(s), "isSelectingRangeEnd", function() {
36940
36959
  var v;
36941
36960
  if (!s.isInSelectingRange()) return !1;
36942
36961
  var y = s.props, L = y.day, V = y.endDate, k = y.selectsEnd, S = y.selectsRange, _ = (v = s.props.selectingDate) !== null && v !== void 0 ? v : s.props.preSelection;
36943
36962
  return x5(L, k || S ? _ : V);
36944
- }), A(U(s), "isRangeStart", function() {
36963
+ }), A(z(s), "isRangeStart", function() {
36945
36964
  var v = s.props, y = v.day, L = v.startDate, V = v.endDate;
36946
36965
  return !(!L || !V) && x5(L, y);
36947
- }), A(U(s), "isRangeEnd", function() {
36966
+ }), A(z(s), "isRangeEnd", function() {
36948
36967
  var v = s.props, y = v.day, L = v.startDate, V = v.endDate;
36949
36968
  return !(!L || !V) && x5(V, y);
36950
- }), A(U(s), "isWeekend", function() {
36969
+ }), A(z(s), "isWeekend", function() {
36951
36970
  var v = WP(s.props.day);
36952
36971
  return v === 0 || v === 6;
36953
- }), A(U(s), "isAfterMonth", function() {
36972
+ }), A(z(s), "isAfterMonth", function() {
36954
36973
  return s.props.month !== void 0 && (s.props.month + 1) % 12 === a5(s.props.day);
36955
- }), A(U(s), "isBeforeMonth", function() {
36974
+ }), A(z(s), "isBeforeMonth", function() {
36956
36975
  return s.props.month !== void 0 && (a5(s.props.day) + 1) % 12 === s.props.month;
36957
- }), A(U(s), "isCurrentDay", function() {
36976
+ }), A(z(s), "isCurrentDay", function() {
36958
36977
  return s.isSameDay(Q3());
36959
- }), A(U(s), "isSelected", function() {
36978
+ }), A(z(s), "isSelected", function() {
36960
36979
  return s.isSameDay(s.props.selected);
36961
- }), A(U(s), "getClassNames", function(v) {
36980
+ }), A(z(s), "getClassNames", function(v) {
36962
36981
  var y = s.props.dayClassName ? s.props.dayClassName(v) : void 0;
36963
36982
  return H5("react-datepicker__day", y, "react-datepicker__day--" + pz(s.props.day), { "react-datepicker__day--disabled": s.isDisabled(), "react-datepicker__day--excluded": s.isExcluded(), "react-datepicker__day--selected": s.isSelected(), "react-datepicker__day--keyboard-selected": s.isKeyboardSelected(), "react-datepicker__day--range-start": s.isRangeStart(), "react-datepicker__day--range-end": s.isRangeEnd(), "react-datepicker__day--in-range": s.isInRange(), "react-datepicker__day--in-selecting-range": s.isInSelectingRange(), "react-datepicker__day--selecting-range-start": s.isSelectingRangeStart(), "react-datepicker__day--selecting-range-end": s.isSelectingRangeEnd(), "react-datepicker__day--today": s.isCurrentDay(), "react-datepicker__day--weekend": s.isWeekend(), "react-datepicker__day--outside-month": s.isAfterMonth() || s.isBeforeMonth() }, s.getHighLightedClass("react-datepicker__day--highlighted"));
36964
- }), A(U(s), "getAriaLabel", function() {
36983
+ }), A(z(s), "getAriaLabel", function() {
36965
36984
  var v = s.props, y = v.day, L = v.ariaLabelPrefixWhenEnabled, V = L === void 0 ? "Choose" : L, k = v.ariaLabelPrefixWhenDisabled, S = k === void 0 ? "Not available" : k, _ = s.isDisabled() || s.isExcluded() ? S : V;
36966
36985
  return "".concat(_, " ").concat(Re(y, "PPPP", s.props.locale));
36967
- }), A(U(s), "getTabIndex", function(v, y) {
36986
+ }), A(z(s), "getTabIndex", function(v, y) {
36968
36987
  var L = v || s.props.selected, V = y || s.props.preSelection;
36969
36988
  return s.isKeyboardSelected() || s.isSameDay(L) && x5(V, L) ? 0 : -1;
36970
- }), A(U(s), "handleFocusDay", function() {
36989
+ }), A(z(s), "handleFocusDay", function() {
36971
36990
  var v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, y = !1;
36972
36991
  s.getTabIndex() === 0 && !v.isInputFocused && s.isSameDay(s.props.preSelection) && (document.activeElement && document.activeElement !== document.body || (y = !0), s.props.inline && !s.props.shouldFocusDayInline && (y = !1), s.props.containerRef && s.props.containerRef.current && s.props.containerRef.current.contains(document.activeElement) && document.activeElement.classList.contains("react-datepicker__day") && (y = !0), s.props.monthShowsDuplicateDaysEnd && s.isAfterMonth() && (y = !1), s.props.monthShowsDuplicateDaysStart && s.isBeforeMonth() && (y = !1)), y && s.dayEl.current.focus({ preventScroll: !0 });
36973
- }), A(U(s), "renderDayContents", function() {
36992
+ }), A(z(s), "renderDayContents", function() {
36974
36993
  return s.props.monthShowsDuplicateDaysEnd && s.isAfterMonth() || s.props.monthShowsDuplicateDaysStart && s.isBeforeMonth() ? null : s.props.renderDayContents ? s.props.renderDayContents(EL(s.props.day), s.props.day) : EL(s.props.day);
36975
- }), A(U(s), "render", function() {
36994
+ }), A(z(s), "render", function() {
36976
36995
  return r1.createElement("div", { ref: s.dayEl, className: s.getClassNames(s.props.day), onKeyDown: s.handleOnKeyDown, onClick: s.handleClick, onMouseEnter: s.handleMouseEnter, tabIndex: s.getTabIndex(), "aria-label": s.getAriaLabel(), role: "option", "aria-disabled": s.isDisabled(), "aria-current": s.isCurrentDay() ? "date" : void 0, "aria-selected": s.isSelected() || s.isInRange() }, s.renderDayContents());
36977
36996
  }), s;
36978
36997
  }
@@ -36988,7 +37007,7 @@ var oc, Vz = Bc(function(r) {
36988
37007
  var s;
36989
37008
  v4(this, o);
36990
37009
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
36991
- return A(U(s = a.call.apply(a, [this].concat(p))), "handleClick", function(v) {
37010
+ return A(z(s = a.call.apply(a, [this].concat(p))), "handleClick", function(v) {
36992
37011
  s.props.onClick && s.props.onClick(v);
36993
37012
  }), s;
36994
37013
  }
@@ -37003,23 +37022,23 @@ var oc, Vz = Bc(function(r) {
37003
37022
  var s;
37004
37023
  v4(this, o);
37005
37024
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
37006
- return A(U(s = a.call.apply(a, [this].concat(p))), "handleDayClick", function(v, y) {
37025
+ return A(z(s = a.call.apply(a, [this].concat(p))), "handleDayClick", function(v, y) {
37007
37026
  s.props.onDayClick && s.props.onDayClick(v, y);
37008
- }), A(U(s), "handleDayMouseEnter", function(v) {
37027
+ }), A(z(s), "handleDayMouseEnter", function(v) {
37009
37028
  s.props.onDayMouseEnter && s.props.onDayMouseEnter(v);
37010
- }), A(U(s), "handleWeekClick", function(v, y, L) {
37029
+ }), A(z(s), "handleWeekClick", function(v, y, L) {
37011
37030
  typeof s.props.onWeekSelect == "function" && s.props.onWeekSelect(v, y, L), s.props.shouldCloseOnSelect && s.props.setOpen(!1);
37012
- }), A(U(s), "formatWeekNumber", function(v) {
37031
+ }), A(z(s), "formatWeekNumber", function(v) {
37013
37032
  return s.props.formatWeekNumber ? s.props.formatWeekNumber(v) : fz(v);
37014
- }), A(U(s), "renderDays", function() {
37033
+ }), A(z(s), "renderDays", function() {
37015
37034
  var v = Jh(s.props.day, s.props.locale, s.props.calendarStartDay), y = [], L = s.formatWeekNumber(v);
37016
37035
  if (s.props.showWeekNumber) {
37017
- var V = s.props.onWeekSelect ? s.handleWeekClick.bind(U(s), v, L) : void 0;
37036
+ var V = s.props.onWeekSelect ? s.handleWeekClick.bind(z(s), v, L) : void 0;
37018
37037
  y.push(r1.createElement(Ez, { key: "W", weekNumber: L, onClick: V, ariaLabelPrefix: s.props.ariaLabelPrefix }));
37019
37038
  }
37020
37039
  return y.concat([0, 1, 2, 3, 4, 5, 6].map(function(k) {
37021
37040
  var S = ha(v, k);
37022
- return r1.createElement(kz, { ariaLabelPrefixWhenEnabled: s.props.chooseDayAriaLabelPrefix, ariaLabelPrefixWhenDisabled: s.props.disabledDayAriaLabelPrefix, key: S.valueOf(), day: S, month: s.props.month, onClick: s.handleDayClick.bind(U(s), S), onMouseEnter: s.handleDayMouseEnter.bind(U(s), S), minDate: s.props.minDate, maxDate: s.props.maxDate, excludeDates: s.props.excludeDates, excludeDateIntervals: s.props.excludeDateIntervals, includeDates: s.props.includeDates, includeDateIntervals: s.props.includeDateIntervals, highlightDates: s.props.highlightDates, selectingDate: s.props.selectingDate, filterDate: s.props.filterDate, preSelection: s.props.preSelection, selected: s.props.selected, selectsStart: s.props.selectsStart, selectsEnd: s.props.selectsEnd, selectsRange: s.props.selectsRange, selectsDisabledDaysInRange: s.props.selectsDisabledDaysInRange, startDate: s.props.startDate, endDate: s.props.endDate, dayClassName: s.props.dayClassName, renderDayContents: s.props.renderDayContents, disabledKeyboardNavigation: s.props.disabledKeyboardNavigation, handleOnKeyDown: s.props.handleOnKeyDown, isInputFocused: s.props.isInputFocused, containerRef: s.props.containerRef, inline: s.props.inline, shouldFocusDayInline: s.props.shouldFocusDayInline, monthShowsDuplicateDaysEnd: s.props.monthShowsDuplicateDaysEnd, monthShowsDuplicateDaysStart: s.props.monthShowsDuplicateDaysStart, locale: s.props.locale });
37041
+ return r1.createElement(kz, { ariaLabelPrefixWhenEnabled: s.props.chooseDayAriaLabelPrefix, ariaLabelPrefixWhenDisabled: s.props.disabledDayAriaLabelPrefix, key: S.valueOf(), day: S, month: s.props.month, onClick: s.handleDayClick.bind(z(s), S), onMouseEnter: s.handleDayMouseEnter.bind(z(s), S), minDate: s.props.minDate, maxDate: s.props.maxDate, excludeDates: s.props.excludeDates, excludeDateIntervals: s.props.excludeDateIntervals, includeDates: s.props.includeDates, includeDateIntervals: s.props.includeDateIntervals, highlightDates: s.props.highlightDates, selectingDate: s.props.selectingDate, filterDate: s.props.filterDate, preSelection: s.props.preSelection, selected: s.props.selected, selectsStart: s.props.selectsStart, selectsEnd: s.props.selectsEnd, selectsRange: s.props.selectsRange, selectsDisabledDaysInRange: s.props.selectsDisabledDaysInRange, startDate: s.props.startDate, endDate: s.props.endDate, dayClassName: s.props.dayClassName, renderDayContents: s.props.renderDayContents, disabledKeyboardNavigation: s.props.disabledKeyboardNavigation, handleOnKeyDown: s.props.handleOnKeyDown, isInputFocused: s.props.isInputFocused, containerRef: s.props.containerRef, inline: s.props.inline, shouldFocusDayInline: s.props.shouldFocusDayInline, monthShowsDuplicateDaysEnd: s.props.monthShowsDuplicateDaysEnd, monthShowsDuplicateDaysStart: s.props.monthShowsDuplicateDaysStart, locale: s.props.locale });
37023
37042
  }));
37024
37043
  }), s;
37025
37044
  }
@@ -37039,60 +37058,60 @@ var Tz = function(r) {
37039
37058
  var s;
37040
37059
  v4(this, o);
37041
37060
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
37042
- return A(U(s = a.call.apply(a, [this].concat(p))), "MONTH_REFS", Eh(Array(12)).map(function() {
37061
+ return A(z(s = a.call.apply(a, [this].concat(p))), "MONTH_REFS", Eh(Array(12)).map(function() {
37043
37062
  return r1.createRef();
37044
- })), A(U(s), "QUARTER_REFS", Eh(Array(4)).map(function() {
37063
+ })), A(z(s), "QUARTER_REFS", Eh(Array(4)).map(function() {
37045
37064
  return r1.createRef();
37046
- })), A(U(s), "isDisabled", function(v) {
37065
+ })), A(z(s), "isDisabled", function(v) {
37047
37066
  return Ac(v, s.props);
37048
- }), A(U(s), "isExcluded", function(v) {
37067
+ }), A(z(s), "isExcluded", function(v) {
37049
37068
  return tm(v, s.props);
37050
- }), A(U(s), "handleDayClick", function(v, y) {
37069
+ }), A(z(s), "handleDayClick", function(v, y) {
37051
37070
  s.props.onDayClick && s.props.onDayClick(v, y, s.props.orderInDisplay);
37052
- }), A(U(s), "handleDayMouseEnter", function(v) {
37071
+ }), A(z(s), "handleDayMouseEnter", function(v) {
37053
37072
  s.props.onDayMouseEnter && s.props.onDayMouseEnter(v);
37054
- }), A(U(s), "handleMouseLeave", function() {
37073
+ }), A(z(s), "handleMouseLeave", function() {
37055
37074
  s.props.onMouseLeave && s.props.onMouseLeave();
37056
- }), A(U(s), "isRangeStartMonth", function(v) {
37075
+ }), A(z(s), "isRangeStartMonth", function(v) {
37057
37076
  var y = s.props, L = y.day, V = y.startDate, k = y.endDate;
37058
37077
  return !(!V || !k) && T6(b5(L, v), V);
37059
- }), A(U(s), "isRangeStartQuarter", function(v) {
37078
+ }), A(z(s), "isRangeStartQuarter", function(v) {
37060
37079
  var y = s.props, L = y.day, V = y.startDate, k = y.endDate;
37061
37080
  return !(!V || !k) && Ec(Jn(L, v), V);
37062
- }), A(U(s), "isRangeEndMonth", function(v) {
37081
+ }), A(z(s), "isRangeEndMonth", function(v) {
37063
37082
  var y = s.props, L = y.day, V = y.startDate, k = y.endDate;
37064
37083
  return !(!V || !k) && T6(b5(L, v), k);
37065
- }), A(U(s), "isRangeEndQuarter", function(v) {
37084
+ }), A(z(s), "isRangeEndQuarter", function(v) {
37066
37085
  var y = s.props, L = y.day, V = y.startDate, k = y.endDate;
37067
37086
  return !(!V || !k) && Ec(Jn(L, v), k);
37068
- }), A(U(s), "isInSelectingRangeMonth", function(v) {
37069
- var y, L = s.props, V = L.day, k = L.selectsStart, S = L.selectsEnd, _ = L.selectsRange, R = L.startDate, N = L.endDate, Z = (y = s.props.selectingDate) !== null && y !== void 0 ? y : s.props.preSelection;
37070
- return !(!(k || S || _) || !Z) && (k && N ? Fp(Z, N, v, V) : (S && R || !(!_ || !R || N)) && Fp(R, Z, v, V));
37071
- }), A(U(s), "isSelectingMonthRangeStart", function(v) {
37087
+ }), A(z(s), "isInSelectingRangeMonth", function(v) {
37088
+ var y, L = s.props, V = L.day, k = L.selectsStart, S = L.selectsEnd, _ = L.selectsRange, R = L.startDate, N = L.endDate, O = (y = s.props.selectingDate) !== null && y !== void 0 ? y : s.props.preSelection;
37089
+ return !(!(k || S || _) || !O) && (k && N ? Fp(O, N, v, V) : (S && R || !(!_ || !R || N)) && Fp(R, O, v, V));
37090
+ }), A(z(s), "isSelectingMonthRangeStart", function(v) {
37072
37091
  var y;
37073
37092
  if (!s.isInSelectingRangeMonth(v)) return !1;
37074
37093
  var L = s.props, V = L.day, k = L.startDate, S = L.selectsStart, _ = b5(V, v), R = (y = s.props.selectingDate) !== null && y !== void 0 ? y : s.props.preSelection;
37075
37094
  return T6(_, S ? R : k);
37076
- }), A(U(s), "isSelectingMonthRangeEnd", function(v) {
37095
+ }), A(z(s), "isSelectingMonthRangeEnd", function(v) {
37077
37096
  var y;
37078
37097
  if (!s.isInSelectingRangeMonth(v)) return !1;
37079
37098
  var L = s.props, V = L.day, k = L.endDate, S = L.selectsEnd, _ = L.selectsRange, R = b5(V, v), N = (y = s.props.selectingDate) !== null && y !== void 0 ? y : s.props.preSelection;
37080
37099
  return T6(R, S || _ ? N : k);
37081
- }), A(U(s), "isInSelectingRangeQuarter", function(v) {
37082
- var y, L = s.props, V = L.day, k = L.selectsStart, S = L.selectsEnd, _ = L.selectsRange, R = L.startDate, N = L.endDate, Z = (y = s.props.selectingDate) !== null && y !== void 0 ? y : s.props.preSelection;
37083
- return !(!(k || S || _) || !Z) && (k && N ? jp(Z, N, v, V) : (S && R || !(!_ || !R || N)) && jp(R, Z, v, V));
37084
- }), A(U(s), "isWeekInMonth", function(v) {
37100
+ }), A(z(s), "isInSelectingRangeQuarter", function(v) {
37101
+ var y, L = s.props, V = L.day, k = L.selectsStart, S = L.selectsEnd, _ = L.selectsRange, R = L.startDate, N = L.endDate, O = (y = s.props.selectingDate) !== null && y !== void 0 ? y : s.props.preSelection;
37102
+ return !(!(k || S || _) || !O) && (k && N ? jp(O, N, v, V) : (S && R || !(!_ || !R || N)) && jp(R, O, v, V));
37103
+ }), A(z(s), "isWeekInMonth", function(v) {
37085
37104
  var y = s.props.day, L = ha(v, 6);
37086
37105
  return T6(v, y) || T6(L, y);
37087
- }), A(U(s), "isCurrentMonth", function(v, y) {
37106
+ }), A(z(s), "isCurrentMonth", function(v, y) {
37088
37107
  return X2(v) === X2(Q3()) && y === a5(Q3());
37089
- }), A(U(s), "isCurrentQuarter", function(v, y) {
37108
+ }), A(z(s), "isCurrentQuarter", function(v, y) {
37090
37109
  return X2(v) === X2(Q3()) && y === ta(Q3());
37091
- }), A(U(s), "isSelectedMonth", function(v, y, L) {
37110
+ }), A(z(s), "isSelectedMonth", function(v, y, L) {
37092
37111
  return a5(v) === y && X2(v) === X2(L);
37093
- }), A(U(s), "isSelectedQuarter", function(v, y, L) {
37112
+ }), A(z(s), "isSelectedQuarter", function(v, y, L) {
37094
37113
  return ta(v) === y && X2(v) === X2(L);
37095
- }), A(U(s), "renderWeeks", function() {
37114
+ }), A(z(s), "renderWeeks", function() {
37096
37115
  for (var v = [], y = s.props.fixedHeight, L = 0, V = !1, k = Jh(_t(s.props.day), s.props.locale, s.props.calendarStartDay); v.push(r1.createElement(Sz, { ariaLabelPrefix: s.props.weekAriaLabelPrefix, chooseDayAriaLabelPrefix: s.props.chooseDayAriaLabelPrefix, disabledDayAriaLabelPrefix: s.props.disabledDayAriaLabelPrefix, key: L, day: k, month: a5(s.props.day), onDayClick: s.handleDayClick, onDayMouseEnter: s.handleDayMouseEnter, onWeekSelect: s.props.onWeekSelect, formatWeekNumber: s.props.formatWeekNumber, locale: s.props.locale, minDate: s.props.minDate, maxDate: s.props.maxDate, excludeDates: s.props.excludeDates, excludeDateIntervals: s.props.excludeDateIntervals, includeDates: s.props.includeDates, includeDateIntervals: s.props.includeDateIntervals, inline: s.props.inline, shouldFocusDayInline: s.props.shouldFocusDayInline, highlightDates: s.props.highlightDates, selectingDate: s.props.selectingDate, filterDate: s.props.filterDate, preSelection: s.props.preSelection, selected: s.props.selected, selectsStart: s.props.selectsStart, selectsEnd: s.props.selectsEnd, selectsRange: s.props.selectsRange, selectsDisabledDaysInRange: s.props.selectsDisabledDaysInRange, showWeekNumber: s.props.showWeekNumbers, startDate: s.props.startDate, endDate: s.props.endDate, dayClassName: s.props.dayClassName, setOpen: s.props.setOpen, shouldCloseOnSelect: s.props.shouldCloseOnSelect, disabledKeyboardNavigation: s.props.disabledKeyboardNavigation, renderDayContents: s.props.renderDayContents, handleOnKeyDown: s.props.handleOnKeyDown, isInputFocused: s.props.isInputFocused, containerRef: s.props.containerRef, calendarStartDay: s.props.calendarStartDay, monthShowsDuplicateDaysEnd: s.props.monthShowsDuplicateDaysEnd, monthShowsDuplicateDaysStart: s.props.monthShowsDuplicateDaysStart })), !V; ) {
37097
37116
  L++, k = Ah(k, 1);
37098
37117
  var S = y && L >= 6, _ = !y && !s.isWeekInMonth(k);
@@ -37102,17 +37121,17 @@ var Tz = function(r) {
37102
37121
  }
37103
37122
  }
37104
37123
  return v;
37105
- }), A(U(s), "onMonthClick", function(v, y) {
37124
+ }), A(z(s), "onMonthClick", function(v, y) {
37106
37125
  s.handleDayClick(_t(b5(s.props.day, y)), v);
37107
- }), A(U(s), "onMonthMouseEnter", function(v) {
37126
+ }), A(z(s), "onMonthMouseEnter", function(v) {
37108
37127
  s.handleDayMouseEnter(_t(b5(s.props.day, v)));
37109
- }), A(U(s), "handleMonthNavigation", function(v, y) {
37128
+ }), A(z(s), "handleMonthNavigation", function(v, y) {
37110
37129
  s.isDisabled(y) || s.isExcluded(y) || (s.props.setPreSelection(y), s.MONTH_REFS[v].current && s.MONTH_REFS[v].current.focus());
37111
- }), A(U(s), "onMonthKeyDown", function(v, y) {
37112
- var L = s.props, V = L.selected, k = L.preSelection, S = L.disabledKeyboardNavigation, _ = L.showTwoColumnMonthYearPicker, R = L.showFourColumnMonthYearPicker, N = L.setPreSelection, Z = v.key;
37113
- if (Z !== "Tab" && v.preventDefault(), !S) {
37114
- var z = pb(R, _), P = zp[z].verticalNavigationOffset, I = zp[z].grid;
37115
- switch (Z) {
37130
+ }), A(z(s), "onMonthKeyDown", function(v, y) {
37131
+ var L = s.props, V = L.selected, k = L.preSelection, S = L.disabledKeyboardNavigation, _ = L.showTwoColumnMonthYearPicker, R = L.showFourColumnMonthYearPicker, N = L.setPreSelection, O = v.key;
37132
+ if (O !== "Tab" && v.preventDefault(), !S) {
37133
+ var U = pb(R, _), P = zp[U].verticalNavigationOffset, I = zp[U].grid;
37134
+ switch (O) {
37116
37135
  case "Enter":
37117
37136
  s.onMonthClick(v, y), N(V);
37118
37137
  break;
@@ -37129,13 +37148,13 @@ var Tz = function(r) {
37129
37148
  s.handleMonthNavigation(I[I.length - 1].includes(y) ? y - 12 + P : y + P, _6(k, P));
37130
37149
  }
37131
37150
  }
37132
- }), A(U(s), "onQuarterClick", function(v, y) {
37151
+ }), A(z(s), "onQuarterClick", function(v, y) {
37133
37152
  s.handleDayClick(nb(Jn(s.props.day, y)), v);
37134
- }), A(U(s), "onQuarterMouseEnter", function(v) {
37153
+ }), A(z(s), "onQuarterMouseEnter", function(v) {
37135
37154
  s.handleDayMouseEnter(nb(Jn(s.props.day, v)));
37136
- }), A(U(s), "handleQuarterNavigation", function(v, y) {
37155
+ }), A(z(s), "handleQuarterNavigation", function(v, y) {
37137
37156
  s.isDisabled(y) || s.isExcluded(y) || (s.props.setPreSelection(y), s.QUARTER_REFS[v - 1].current && s.QUARTER_REFS[v - 1].current.focus());
37138
- }), A(U(s), "onQuarterKeyDown", function(v, y) {
37157
+ }), A(z(s), "onQuarterKeyDown", function(v, y) {
37139
37158
  var L = v.key;
37140
37159
  if (!s.props.disabledKeyboardNavigation) switch (L) {
37141
37160
  case "Enter":
@@ -37147,35 +37166,35 @@ var Tz = function(r) {
37147
37166
  case "ArrowLeft":
37148
37167
  s.handleQuarterNavigation(y === 1 ? 4 : y - 1, YP(s.props.preSelection, 1));
37149
37168
  }
37150
- }), A(U(s), "getMonthClassNames", function(v) {
37151
- var y = s.props, L = y.day, V = y.startDate, k = y.endDate, S = y.selected, _ = y.minDate, R = y.maxDate, N = y.preSelection, Z = y.monthClassName, z = y.excludeDates, P = y.includeDates, I = Z ? Z(b5(L, v)) : void 0, W = b5(L, v);
37152
- return H5("react-datepicker__month-text", "react-datepicker__month-".concat(v), I, { "react-datepicker__month-text--disabled": (_ || R || z || P) && $w(W, s.props), "react-datepicker__month-text--selected": s.isSelectedMonth(L, v, S), "react-datepicker__month-text--keyboard-selected": !s.props.disabledKeyboardNavigation && a5(N) === v, "react-datepicker__month-text--in-selecting-range": s.isInSelectingRangeMonth(v), "react-datepicker__month-text--in-range": Fp(V, k, v, L), "react-datepicker__month-text--range-start": s.isRangeStartMonth(v), "react-datepicker__month-text--range-end": s.isRangeEndMonth(v), "react-datepicker__month-text--selecting-range-start": s.isSelectingMonthRangeStart(v), "react-datepicker__month-text--selecting-range-end": s.isSelectingMonthRangeEnd(v), "react-datepicker__month-text--today": s.isCurrentMonth(L, v) });
37153
- }), A(U(s), "getTabIndex", function(v) {
37169
+ }), A(z(s), "getMonthClassNames", function(v) {
37170
+ var y = s.props, L = y.day, V = y.startDate, k = y.endDate, S = y.selected, _ = y.minDate, R = y.maxDate, N = y.preSelection, O = y.monthClassName, U = y.excludeDates, P = y.includeDates, I = O ? O(b5(L, v)) : void 0, W = b5(L, v);
37171
+ return H5("react-datepicker__month-text", "react-datepicker__month-".concat(v), I, { "react-datepicker__month-text--disabled": (_ || R || U || P) && $w(W, s.props), "react-datepicker__month-text--selected": s.isSelectedMonth(L, v, S), "react-datepicker__month-text--keyboard-selected": !s.props.disabledKeyboardNavigation && a5(N) === v, "react-datepicker__month-text--in-selecting-range": s.isInSelectingRangeMonth(v), "react-datepicker__month-text--in-range": Fp(V, k, v, L), "react-datepicker__month-text--range-start": s.isRangeStartMonth(v), "react-datepicker__month-text--range-end": s.isRangeEndMonth(v), "react-datepicker__month-text--selecting-range-start": s.isSelectingMonthRangeStart(v), "react-datepicker__month-text--selecting-range-end": s.isSelectingMonthRangeEnd(v), "react-datepicker__month-text--today": s.isCurrentMonth(L, v) });
37172
+ }), A(z(s), "getTabIndex", function(v) {
37154
37173
  var y = a5(s.props.preSelection);
37155
37174
  return s.props.disabledKeyboardNavigation || v !== y ? "-1" : "0";
37156
- }), A(U(s), "getQuarterTabIndex", function(v) {
37175
+ }), A(z(s), "getQuarterTabIndex", function(v) {
37157
37176
  var y = ta(s.props.preSelection);
37158
37177
  return s.props.disabledKeyboardNavigation || v !== y ? "-1" : "0";
37159
- }), A(U(s), "getAriaLabel", function(v) {
37178
+ }), A(z(s), "getAriaLabel", function(v) {
37160
37179
  var y = s.props, L = y.chooseDayAriaLabelPrefix, V = L === void 0 ? "Choose" : L, k = y.disabledDayAriaLabelPrefix, S = k === void 0 ? "Not available" : k, _ = y.day, R = b5(_, v), N = s.isDisabled(R) || s.isExcluded(R) ? S : V;
37161
37180
  return "".concat(N, " ").concat(Re(R, "MMMM yyyy"));
37162
- }), A(U(s), "getQuarterClassNames", function(v) {
37181
+ }), A(z(s), "getQuarterClassNames", function(v) {
37163
37182
  var y = s.props, L = y.day, V = y.startDate, k = y.endDate, S = y.selected, _ = y.minDate, R = y.maxDate, N = y.preSelection;
37164
37183
  return H5("react-datepicker__quarter-text", "react-datepicker__quarter-".concat(v), { "react-datepicker__quarter-text--disabled": (_ || R) && vz(Jn(L, v), s.props), "react-datepicker__quarter-text--selected": s.isSelectedQuarter(L, v, S), "react-datepicker__quarter-text--keyboard-selected": ta(N) === v, "react-datepicker__quarter-text--in-selecting-range": s.isInSelectingRangeQuarter(v), "react-datepicker__quarter-text--in-range": jp(V, k, v, L), "react-datepicker__quarter-text--range-start": s.isRangeStartQuarter(v), "react-datepicker__quarter-text--range-end": s.isRangeEndQuarter(v) });
37165
- }), A(U(s), "renderMonths", function() {
37184
+ }), A(z(s), "renderMonths", function() {
37166
37185
  var v = s.props, y = v.showFullMonthYearPicker, L = v.showTwoColumnMonthYearPicker, V = v.showFourColumnMonthYearPicker, k = v.locale, S = v.day, _ = v.selected;
37167
37186
  return zp[pb(V, L)].grid.map(function(R, N) {
37168
- return r1.createElement("div", { className: "react-datepicker__month-wrapper", key: N }, R.map(function(Z, z) {
37169
- return r1.createElement("div", { ref: s.MONTH_REFS[Z], key: z, onClick: function(P) {
37170
- s.onMonthClick(P, Z);
37187
+ return r1.createElement("div", { className: "react-datepicker__month-wrapper", key: N }, R.map(function(O, U) {
37188
+ return r1.createElement("div", { ref: s.MONTH_REFS[O], key: U, onClick: function(P) {
37189
+ s.onMonthClick(P, O);
37171
37190
  }, onKeyDown: function(P) {
37172
- s.onMonthKeyDown(P, Z);
37191
+ s.onMonthKeyDown(P, O);
37173
37192
  }, onMouseEnter: function() {
37174
- return s.onMonthMouseEnter(Z);
37175
- }, tabIndex: s.getTabIndex(Z), className: s.getMonthClassNames(Z), role: "option", "aria-label": s.getAriaLabel(Z), "aria-current": s.isCurrentMonth(S, Z) ? "date" : void 0, "aria-selected": s.isSelectedMonth(S, Z, _) }, y ? em(Z, k) : Iw(Z, k));
37193
+ return s.onMonthMouseEnter(O);
37194
+ }, tabIndex: s.getTabIndex(O), className: s.getMonthClassNames(O), role: "option", "aria-label": s.getAriaLabel(O), "aria-current": s.isCurrentMonth(S, O) ? "date" : void 0, "aria-selected": s.isSelectedMonth(S, O, _) }, y ? em(O, k) : Iw(O, k));
37176
37195
  }));
37177
37196
  });
37178
- }), A(U(s), "renderQuarters", function() {
37197
+ }), A(z(s), "renderQuarters", function() {
37179
37198
  var v = s.props, y = v.day, L = v.selected;
37180
37199
  return r1.createElement("div", { className: "react-datepicker__quarter-wrapper" }, [1, 2, 3, 4].map(function(V, k) {
37181
37200
  return r1.createElement("div", { key: k, ref: s.QUARTER_REFS[k], role: "option", onClick: function(S) {
@@ -37186,7 +37205,7 @@ var Tz = function(r) {
37186
37205
  return s.onQuarterMouseEnter(V);
37187
37206
  }, className: s.getQuarterClassNames(V), "aria-selected": s.isSelectedQuarter(y, V, L), tabIndex: s.getQuarterTabIndex(V), "aria-current": s.isCurrentQuarter(y, V) ? "date" : void 0 }, mz(V, s.props.locale));
37188
37207
  }));
37189
- }), A(U(s), "getClassNames", function() {
37208
+ }), A(z(s), "getClassNames", function() {
37190
37209
  var v = s.props;
37191
37210
  v.day;
37192
37211
  var y = v.selectingDate, L = v.selectsStart, V = v.selectsEnd, k = v.showMonthYearPicker, S = v.showQuarterYearPicker;
@@ -37204,28 +37223,28 @@ var Tz = function(r) {
37204
37223
  var s;
37205
37224
  v4(this, o);
37206
37225
  for (var i = arguments.length, p = new Array(i), C = 0; C < i; C++) p[C] = arguments[C];
37207
- return A(U(s = a.call.apply(a, [this].concat(p))), "state", { height: null }), A(U(s), "handleClick", function(v) {
37226
+ return A(z(s = a.call.apply(a, [this].concat(p))), "state", { height: null }), A(z(s), "handleClick", function(v) {
37208
37227
  (s.props.minTime || s.props.maxTime) && lb(v, s.props) || (s.props.excludeTimes || s.props.includeTimes || s.props.filterTime) && ob(v, s.props) || s.props.onChange(v);
37209
- }), A(U(s), "isSelectedTime", function(v, y, L) {
37228
+ }), A(z(s), "isSelectedTime", function(v, y, L) {
37210
37229
  return s.props.selected && y === h7(v) && L === p7(v);
37211
- }), A(U(s), "liClasses", function(v, y, L) {
37230
+ }), A(z(s), "liClasses", function(v, y, L) {
37212
37231
  var V = ["react-datepicker__time-list-item", s.props.timeClassName ? s.props.timeClassName(v, y, L) : void 0];
37213
37232
  return s.isSelectedTime(v, y, L) && V.push("react-datepicker__time-list-item--selected"), ((s.props.minTime || s.props.maxTime) && lb(v, s.props) || (s.props.excludeTimes || s.props.includeTimes || s.props.filterTime) && ob(v, s.props)) && V.push("react-datepicker__time-list-item--disabled"), s.props.injectTimes && (60 * h7(v) + p7(v)) % s.props.intervals != 0 && V.push("react-datepicker__time-list-item--injected"), V.join(" ");
37214
- }), A(U(s), "handleOnKeyDown", function(v, y) {
37233
+ }), A(z(s), "handleOnKeyDown", function(v, y) {
37215
37234
  v.key === " " && (v.preventDefault(), v.key = "Enter"), v.key === "Enter" && s.handleClick(y), s.props.handleOnKeyDown(v);
37216
- }), A(U(s), "renderTimes", function() {
37235
+ }), A(z(s), "renderTimes", function() {
37217
37236
  for (var v = [], y = s.props.format ? s.props.format : "p", L = s.props.intervals, V = hz(Q3(s.props.selected)), k = 1440 / L, S = s.props.injectTimes && s.props.injectTimes.sort(function(W, $) {
37218
37237
  return W - $;
37219
- }), _ = s.props.selected || s.props.openToDate || Q3(), R = h7(_), N = p7(_), Z = Oo(Zo(V, N), R), z = 0; z < k; z++) {
37220
- var P = mh(V, z * L);
37238
+ }), _ = s.props.selected || s.props.openToDate || Q3(), R = h7(_), N = p7(_), O = Oo(Zo(V, N), R), U = 0; U < k; U++) {
37239
+ var P = mh(V, U * L);
37221
37240
  if (v.push(P), S) {
37222
- var I = gz(V, P, z, L, S);
37241
+ var I = gz(V, P, U, L, S);
37223
37242
  v = v.concat(I);
37224
37243
  }
37225
37244
  }
37226
37245
  return v.map(function(W, $) {
37227
- return r1.createElement("li", { key: $, onClick: s.handleClick.bind(U(s), W), className: s.liClasses(W, R, N), ref: function(J) {
37228
- (y9(W, Z) || Tt(W, Z)) && (s.centerLi = J);
37246
+ return r1.createElement("li", { key: $, onClick: s.handleClick.bind(z(s), W), className: s.liClasses(W, R, N), ref: function(J) {
37247
+ (y9(W, O) || Tt(W, O)) && (s.centerLi = J);
37229
37248
  }, onKeyDown: function(J) {
37230
37249
  s.handleOnKeyDown(J, W);
37231
37250
  }, tabIndex: "0", "aria-selected": s.isSelectedTime(W, R, N) ? "true" : void 0 }, Re(W, y, s.props.locale));
@@ -37254,53 +37273,53 @@ var _z = function(r) {
37254
37273
  var a = L4(o);
37255
37274
  function o(s) {
37256
37275
  var i;
37257
- return v4(this, o), A(U(i = a.call(this, s)), "YEAR_REFS", Eh(Array(i.props.yearItemNumber)).map(function() {
37276
+ return v4(this, o), A(z(i = a.call(this, s)), "YEAR_REFS", Eh(Array(i.props.yearItemNumber)).map(function() {
37258
37277
  return r1.createRef();
37259
- })), A(U(i), "isDisabled", function(p) {
37278
+ })), A(z(i), "isDisabled", function(p) {
37260
37279
  return Ac(p, i.props);
37261
- }), A(U(i), "isExcluded", function(p) {
37280
+ }), A(z(i), "isExcluded", function(p) {
37262
37281
  return tm(p, i.props);
37263
- }), A(U(i), "selectingDate", function() {
37282
+ }), A(z(i), "selectingDate", function() {
37264
37283
  var p;
37265
37284
  return (p = i.props.selectingDate) !== null && p !== void 0 ? p : i.props.preSelection;
37266
- }), A(U(i), "updateFocusOnPaginate", function(p) {
37285
+ }), A(z(i), "updateFocusOnPaginate", function(p) {
37267
37286
  var C = (function() {
37268
37287
  this.YEAR_REFS[p].current.focus();
37269
- }).bind(U(i));
37288
+ }).bind(z(i));
37270
37289
  window.requestAnimationFrame(C);
37271
- }), A(U(i), "handleYearClick", function(p, C) {
37290
+ }), A(z(i), "handleYearClick", function(p, C) {
37272
37291
  i.props.onDayClick && i.props.onDayClick(p, C);
37273
- }), A(U(i), "handleYearNavigation", function(p, C) {
37292
+ }), A(z(i), "handleYearNavigation", function(p, C) {
37274
37293
  var v = i.props, y = v.date, L = v.yearItemNumber, V = ra(y, L).startPeriod;
37275
37294
  i.isDisabled(C) || i.isExcluded(C) || (i.props.setPreSelection(C), p - V == -1 ? i.updateFocusOnPaginate(L - 1) : p - V === L ? i.updateFocusOnPaginate(0) : i.YEAR_REFS[p - V].current.focus());
37276
- }), A(U(i), "isSameDay", function(p, C) {
37295
+ }), A(z(i), "isSameDay", function(p, C) {
37277
37296
  return x5(p, C);
37278
- }), A(U(i), "isCurrentYear", function(p) {
37297
+ }), A(z(i), "isCurrentYear", function(p) {
37279
37298
  return p === X2(Q3());
37280
- }), A(U(i), "isRangeStart", function(p) {
37299
+ }), A(z(i), "isRangeStart", function(p) {
37281
37300
  return i.props.startDate && i.props.endDate && St(v9(Q3(), p), i.props.startDate);
37282
- }), A(U(i), "isRangeEnd", function(p) {
37301
+ }), A(z(i), "isRangeEnd", function(p) {
37283
37302
  return i.props.startDate && i.props.endDate && St(v9(Q3(), p), i.props.endDate);
37284
- }), A(U(i), "isInRange", function(p) {
37303
+ }), A(z(i), "isInRange", function(p) {
37285
37304
  return Ap(p, i.props.startDate, i.props.endDate);
37286
- }), A(U(i), "isInSelectingRange", function(p) {
37305
+ }), A(z(i), "isInSelectingRange", function(p) {
37287
37306
  var C = i.props, v = C.selectsStart, y = C.selectsEnd, L = C.selectsRange, V = C.startDate, k = C.endDate;
37288
37307
  return !(!(v || y || L) || !i.selectingDate()) && (v && k ? Ap(p, i.selectingDate(), k) : (y && V || !(!L || !V || k)) && Ap(p, V, i.selectingDate()));
37289
- }), A(U(i), "isSelectingRangeStart", function(p) {
37308
+ }), A(z(i), "isSelectingRangeStart", function(p) {
37290
37309
  if (!i.isInSelectingRange(p)) return !1;
37291
37310
  var C = i.props, v = C.startDate, y = C.selectsStart, L = v9(Q3(), p);
37292
37311
  return St(L, y ? i.selectingDate() : v);
37293
- }), A(U(i), "isSelectingRangeEnd", function(p) {
37312
+ }), A(z(i), "isSelectingRangeEnd", function(p) {
37294
37313
  if (!i.isInSelectingRange(p)) return !1;
37295
37314
  var C = i.props, v = C.endDate, y = C.selectsEnd, L = C.selectsRange, V = v9(Q3(), p);
37296
37315
  return St(V, y || L ? i.selectingDate() : v);
37297
- }), A(U(i), "isKeyboardSelected", function(p) {
37316
+ }), A(z(i), "isKeyboardSelected", function(p) {
37298
37317
  var C = _o(v9(i.props.date, p));
37299
37318
  return !i.props.disabledKeyboardNavigation && !i.props.inline && !x5(C, _o(i.props.selected)) && x5(C, _o(i.props.preSelection));
37300
- }), A(U(i), "onYearClick", function(p, C) {
37319
+ }), A(z(i), "onYearClick", function(p, C) {
37301
37320
  var v = i.props.date;
37302
37321
  i.handleYearClick(_o(v9(v, C)), p);
37303
- }), A(U(i), "onYearKeyDown", function(p, C) {
37322
+ }), A(z(i), "onYearKeyDown", function(p, C) {
37304
37323
  var v = p.key;
37305
37324
  if (!i.props.disabledKeyboardNavigation) switch (v) {
37306
37325
  case "Enter":
@@ -37312,26 +37331,26 @@ var _z = function(r) {
37312
37331
  case "ArrowLeft":
37313
37332
  i.handleYearNavigation(C - 1, Ao(i.props.preSelection, 1));
37314
37333
  }
37315
- }), A(U(i), "getYearClassNames", function(p) {
37334
+ }), A(z(i), "getYearClassNames", function(p) {
37316
37335
  var C = i.props, v = C.minDate, y = C.maxDate, L = C.selected, V = C.excludeDates, k = C.includeDates, S = C.filterDate;
37317
37336
  return H5("react-datepicker__year-text", { "react-datepicker__year-text--selected": p === X2(L), "react-datepicker__year-text--disabled": (v || y || V || k || S) && Yw(p, i.props), "react-datepicker__year-text--keyboard-selected": i.isKeyboardSelected(p), "react-datepicker__year-text--range-start": i.isRangeStart(p), "react-datepicker__year-text--range-end": i.isRangeEnd(p), "react-datepicker__year-text--in-range": i.isInRange(p), "react-datepicker__year-text--in-selecting-range": i.isInSelectingRange(p), "react-datepicker__year-text--selecting-range-start": i.isSelectingRangeStart(p), "react-datepicker__year-text--selecting-range-end": i.isSelectingRangeEnd(p), "react-datepicker__year-text--today": i.isCurrentYear(p) });
37318
- }), A(U(i), "getYearTabIndex", function(p) {
37337
+ }), A(z(i), "getYearTabIndex", function(p) {
37319
37338
  return i.props.disabledKeyboardNavigation ? "-1" : p === X2(i.props.preSelection) ? "0" : "-1";
37320
- }), A(U(i), "getYearContainerClassNames", function() {
37339
+ }), A(z(i), "getYearContainerClassNames", function() {
37321
37340
  var p = i.props, C = p.selectingDate, v = p.selectsStart, y = p.selectsEnd, L = p.selectsRange;
37322
37341
  return H5("react-datepicker__year", { "react-datepicker__year--selecting-range": C && (v || y || L) });
37323
37342
  }), i;
37324
37343
  }
37325
37344
  return g4(o, [{ key: "render", value: function() {
37326
37345
  for (var s = this, i = [], p = this.props, C = p.date, v = p.yearItemNumber, y = p.onYearMouseEnter, L = p.onYearMouseLeave, V = ra(C, v), k = V.startPeriod, S = V.endPeriod, _ = function(N) {
37327
- i.push(r1.createElement("div", { ref: s.YEAR_REFS[N - k], onClick: function(Z) {
37328
- s.onYearClick(Z, N);
37329
- }, onKeyDown: function(Z) {
37330
- s.onYearKeyDown(Z, N);
37331
- }, tabIndex: s.getYearTabIndex(N), className: s.getYearClassNames(N), onMouseEnter: function(Z) {
37332
- return y(Z, N);
37333
- }, onMouseLeave: function(Z) {
37334
- return L(Z, N);
37346
+ i.push(r1.createElement("div", { ref: s.YEAR_REFS[N - k], onClick: function(O) {
37347
+ s.onYearClick(O, N);
37348
+ }, onKeyDown: function(O) {
37349
+ s.onYearKeyDown(O, N);
37350
+ }, tabIndex: s.getYearTabIndex(N), className: s.getYearClassNames(N), onMouseEnter: function(O) {
37351
+ return y(O, N);
37352
+ }, onMouseLeave: function(O) {
37353
+ return L(O, N);
37335
37354
  }, key: N, "aria-current": s.isCurrentYear(N) ? "date" : void 0 }, N));
37336
37355
  }, R = k; R <= S; R++) _(R);
37337
37356
  return r1.createElement("div", { className: this.getYearContainerClassNames() }, r1.createElement("div", { className: "react-datepicker__year-wrapper", onMouseLeave: this.props.clearSelectingDate }, i));
@@ -37341,11 +37360,11 @@ var _z = function(r) {
37341
37360
  var a = L4(o);
37342
37361
  function o(s) {
37343
37362
  var i;
37344
- return v4(this, o), A(U(i = a.call(this, s)), "onTimeChange", function(p) {
37363
+ return v4(this, o), A(z(i = a.call(this, s)), "onTimeChange", function(p) {
37345
37364
  i.setState({ time: p });
37346
37365
  var C = /* @__PURE__ */ new Date();
37347
37366
  C.setHours(p.split(":")[0]), C.setMinutes(p.split(":")[1]), i.props.onChange(C);
37348
- }), A(U(i), "renderTimeInput", function() {
37367
+ }), A(z(i), "renderTimeInput", function() {
37349
37368
  var p = i.state.time, C = i.props, v = C.date, y = C.timeString, L = C.customTimeInput;
37350
37369
  return L ? r1.cloneElement(L, { date: v, value: p, onChange: i.onTimeChange }) : r1.createElement("input", { type: "time", className: "react-datepicker-time__input", placeholder: "Time", name: "time-input", required: !0, value: p, onChange: function(V) {
37351
37370
  i.onTimeChange(V.target.value || y);
@@ -37367,80 +37386,80 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37367
37386
  var a = L4(o);
37368
37387
  function o(s) {
37369
37388
  var i;
37370
- return v4(this, o), A(U(i = a.call(this, s)), "handleClickOutside", function(p) {
37389
+ return v4(this, o), A(z(i = a.call(this, s)), "handleClickOutside", function(p) {
37371
37390
  i.props.onClickOutside(p);
37372
- }), A(U(i), "setClickOutsideRef", function() {
37391
+ }), A(z(i), "setClickOutsideRef", function() {
37373
37392
  return i.containerRef.current;
37374
- }), A(U(i), "handleDropdownFocus", function(p) {
37393
+ }), A(z(i), "handleDropdownFocus", function(p) {
37375
37394
  (function() {
37376
37395
  var C = ((arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}).className || "").split(/\s+/);
37377
37396
  return Zz.some(function(v) {
37378
37397
  return C.indexOf(v) >= 0;
37379
37398
  });
37380
37399
  })(p.target) && i.props.onDropdownFocus();
37381
- }), A(U(i), "getDateInView", function() {
37400
+ }), A(z(i), "getDateInView", function() {
37382
37401
  var p = i.props, C = p.preSelection, v = p.selected, y = p.openToDate, L = Ww(i.props), V = Qw(i.props), k = Q3(), S = y || v || C;
37383
37402
  return S || (L && y9(k, L) ? L : V && Dt(k, V) ? V : k);
37384
- }), A(U(i), "increaseMonth", function() {
37403
+ }), A(z(i), "increaseMonth", function() {
37385
37404
  i.setState(function(p) {
37386
37405
  var C = p.date;
37387
37406
  return { date: _6(C, 1) };
37388
37407
  }, function() {
37389
37408
  return i.handleMonthChange(i.state.date);
37390
37409
  });
37391
- }), A(U(i), "decreaseMonth", function() {
37410
+ }), A(z(i), "decreaseMonth", function() {
37392
37411
  i.setState(function(p) {
37393
37412
  var C = p.date;
37394
37413
  return { date: sa(C, 1) };
37395
37414
  }, function() {
37396
37415
  return i.handleMonthChange(i.state.date);
37397
37416
  });
37398
- }), A(U(i), "handleDayClick", function(p, C, v) {
37417
+ }), A(z(i), "handleDayClick", function(p, C, v) {
37399
37418
  i.props.onSelect(p, C, v), i.props.setPreSelection && i.props.setPreSelection(p);
37400
- }), A(U(i), "handleDayMouseEnter", function(p) {
37419
+ }), A(z(i), "handleDayMouseEnter", function(p) {
37401
37420
  i.setState({ selectingDate: p }), i.props.onDayMouseEnter && i.props.onDayMouseEnter(p);
37402
- }), A(U(i), "handleMonthMouseLeave", function() {
37421
+ }), A(z(i), "handleMonthMouseLeave", function() {
37403
37422
  i.setState({ selectingDate: null }), i.props.onMonthMouseLeave && i.props.onMonthMouseLeave();
37404
- }), A(U(i), "handleYearMouseEnter", function(p, C) {
37423
+ }), A(z(i), "handleYearMouseEnter", function(p, C) {
37405
37424
  i.setState({ selectingDate: v9(Q3(), C) }), i.props.onYearMouseEnter && i.props.onYearMouseEnter(p, C);
37406
- }), A(U(i), "handleYearMouseLeave", function(p, C) {
37425
+ }), A(z(i), "handleYearMouseLeave", function(p, C) {
37407
37426
  i.props.onYearMouseLeave && i.props.onYearMouseLeave(p, C);
37408
- }), A(U(i), "handleYearChange", function(p) {
37427
+ }), A(z(i), "handleYearChange", function(p) {
37409
37428
  i.props.onYearChange && (i.props.onYearChange(p), i.setState({ isRenderAriaLiveMessage: !0 })), i.props.adjustDateOnChange && (i.props.onSelect && i.props.onSelect(p), i.props.setOpen && i.props.setOpen(!0)), i.props.setPreSelection && i.props.setPreSelection(p);
37410
- }), A(U(i), "handleMonthChange", function(p) {
37429
+ }), A(z(i), "handleMonthChange", function(p) {
37411
37430
  i.handleCustomMonthChange(p), i.props.adjustDateOnChange && (i.props.onSelect && i.props.onSelect(p), i.props.setOpen && i.props.setOpen(!0)), i.props.setPreSelection && i.props.setPreSelection(p);
37412
- }), A(U(i), "handleCustomMonthChange", function(p) {
37431
+ }), A(z(i), "handleCustomMonthChange", function(p) {
37413
37432
  i.props.onMonthChange && (i.props.onMonthChange(p), i.setState({ isRenderAriaLiveMessage: !0 }));
37414
- }), A(U(i), "handleMonthYearChange", function(p) {
37433
+ }), A(z(i), "handleMonthYearChange", function(p) {
37415
37434
  i.handleYearChange(p), i.handleMonthChange(p);
37416
- }), A(U(i), "changeYear", function(p) {
37435
+ }), A(z(i), "changeYear", function(p) {
37417
37436
  i.setState(function(C) {
37418
37437
  var v = C.date;
37419
37438
  return { date: v9(v, p) };
37420
37439
  }, function() {
37421
37440
  return i.handleYearChange(i.state.date);
37422
37441
  });
37423
- }), A(U(i), "changeMonth", function(p) {
37442
+ }), A(z(i), "changeMonth", function(p) {
37424
37443
  i.setState(function(C) {
37425
37444
  var v = C.date;
37426
37445
  return { date: b5(v, p) };
37427
37446
  }, function() {
37428
37447
  return i.handleMonthChange(i.state.date);
37429
37448
  });
37430
- }), A(U(i), "changeMonthYear", function(p) {
37449
+ }), A(z(i), "changeMonthYear", function(p) {
37431
37450
  i.setState(function(C) {
37432
37451
  var v = C.date;
37433
37452
  return { date: v9(b5(v, a5(p)), X2(p)) };
37434
37453
  }, function() {
37435
37454
  return i.handleMonthYearChange(i.state.date);
37436
37455
  });
37437
- }), A(U(i), "header", function() {
37456
+ }), A(z(i), "header", function() {
37438
37457
  var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : i.state.date, C = Jh(p, i.props.locale, i.props.calendarStartDay), v = [];
37439
37458
  return i.props.showWeekNumbers && v.push(r1.createElement("div", { key: "W", className: "react-datepicker__day-name" }, i.props.weekLabel || "#")), v.concat([0, 1, 2, 3, 4, 5, 6].map(function(y) {
37440
37459
  var L = ha(C, y), V = i.formatWeekday(L, i.props.locale), k = i.props.weekDayClassName ? i.props.weekDayClassName(L) : void 0;
37441
37460
  return r1.createElement("div", { key: y, className: H5("react-datepicker__day-name", k) }, V);
37442
37461
  }));
37443
- }), A(U(i), "formatWeekday", function(p, C) {
37462
+ }), A(z(i), "formatWeekday", function(p, C) {
37444
37463
  return i.props.formatWeekDay ? function(v, y, L) {
37445
37464
  return y(Re(v, "EEEE", L));
37446
37465
  }(p, i.props.formatWeekDay, C) : i.props.useWeekdaysShort ? function(v, y) {
@@ -37448,16 +37467,16 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37448
37467
  }(p, C) : function(v, y) {
37449
37468
  return Re(v, "EEEEEE", y);
37450
37469
  }(p, C);
37451
- }), A(U(i), "decreaseYear", function() {
37470
+ }), A(z(i), "decreaseYear", function() {
37452
37471
  i.setState(function(p) {
37453
37472
  var C = p.date;
37454
37473
  return { date: Ao(C, i.props.showYearPicker ? i.props.yearItemNumber : 1) };
37455
37474
  }, function() {
37456
37475
  return i.handleYearChange(i.state.date);
37457
37476
  });
37458
- }), A(U(i), "clearSelectingDate", function() {
37477
+ }), A(z(i), "clearSelectingDate", function() {
37459
37478
  i.setState({ selectingDate: null });
37460
- }), A(U(i), "renderPreviousButton", function() {
37479
+ }), A(z(i), "renderPreviousButton", function() {
37461
37480
  if (!i.props.renderCustomHeader) {
37462
37481
  var p;
37463
37482
  switch (!0) {
@@ -37465,8 +37484,8 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37465
37484
  p = cb(i.state.date, i.props);
37466
37485
  break;
37467
37486
  case i.props.showYearPicker:
37468
- p = function(z) {
37469
- var P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = P.minDate, W = P.yearItemNumber, $ = W === void 0 ? 12 : W, J = ra(_o(Ao(z, $)), $).endPeriod, e1 = I && X2(I);
37487
+ p = function(U) {
37488
+ var P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = P.minDate, W = P.yearItemNumber, $ = W === void 0 ? 12 : W, J = ra(_o(Ao(U, $)), $).endPeriod, e1 = I && X2(I);
37470
37489
  return e1 && e1 > J || !1;
37471
37490
  }(i.state.date, i.props);
37472
37491
  break;
@@ -37476,18 +37495,18 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37476
37495
  if ((i.props.forceShowMonthNavigation || i.props.showDisabledMonthNavigation || !p) && !i.props.showTimeSelectOnly) {
37477
37496
  var C = ["react-datepicker__navigation", "react-datepicker__navigation--previous"], v = i.decreaseMonth;
37478
37497
  (i.props.showMonthYearPicker || i.props.showQuarterYearPicker || i.props.showYearPicker) && (v = i.decreaseYear), p && i.props.showDisabledMonthNavigation && (C.push("react-datepicker__navigation--previous--disabled"), v = null);
37479
- var y = i.props.showMonthYearPicker || i.props.showQuarterYearPicker || i.props.showYearPicker, L = i.props, V = L.previousMonthButtonLabel, k = L.previousYearButtonLabel, S = i.props, _ = S.previousMonthAriaLabel, R = _ === void 0 ? typeof V == "string" ? V : "Previous Month" : _, N = S.previousYearAriaLabel, Z = N === void 0 ? typeof k == "string" ? k : "Previous Year" : N;
37480
- return r1.createElement("button", { type: "button", className: C.join(" "), onClick: v, onKeyDown: i.props.handleOnKeyDown, "aria-label": y ? Z : R }, r1.createElement("span", { className: ["react-datepicker__navigation-icon", "react-datepicker__navigation-icon--previous"].join(" ") }, y ? i.props.previousYearButtonLabel : i.props.previousMonthButtonLabel));
37498
+ var y = i.props.showMonthYearPicker || i.props.showQuarterYearPicker || i.props.showYearPicker, L = i.props, V = L.previousMonthButtonLabel, k = L.previousYearButtonLabel, S = i.props, _ = S.previousMonthAriaLabel, R = _ === void 0 ? typeof V == "string" ? V : "Previous Month" : _, N = S.previousYearAriaLabel, O = N === void 0 ? typeof k == "string" ? k : "Previous Year" : N;
37499
+ return r1.createElement("button", { type: "button", className: C.join(" "), onClick: v, onKeyDown: i.props.handleOnKeyDown, "aria-label": y ? O : R }, r1.createElement("span", { className: ["react-datepicker__navigation-icon", "react-datepicker__navigation-icon--previous"].join(" ") }, y ? i.props.previousYearButtonLabel : i.props.previousMonthButtonLabel));
37481
37500
  }
37482
37501
  }
37483
- }), A(U(i), "increaseYear", function() {
37502
+ }), A(z(i), "increaseYear", function() {
37484
37503
  i.setState(function(p) {
37485
37504
  var C = p.date;
37486
37505
  return { date: la(C, i.props.showYearPicker ? i.props.yearItemNumber : 1) };
37487
37506
  }, function() {
37488
37507
  return i.handleYearChange(i.state.date);
37489
37508
  });
37490
- }), A(U(i), "renderNextButton", function() {
37509
+ }), A(z(i), "renderNextButton", function() {
37491
37510
  if (!i.props.renderCustomHeader) {
37492
37511
  var p;
37493
37512
  switch (!0) {
@@ -37495,8 +37514,8 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37495
37514
  p = db(i.state.date, i.props);
37496
37515
  break;
37497
37516
  case i.props.showYearPicker:
37498
- p = function(z) {
37499
- var P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = P.maxDate, W = P.yearItemNumber, $ = W === void 0 ? 12 : W, J = ra(la(z, $), $).startPeriod, e1 = I && X2(I);
37517
+ p = function(U) {
37518
+ var P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = P.maxDate, W = P.yearItemNumber, $ = W === void 0 ? 12 : W, J = ra(la(U, $), $).startPeriod, e1 = I && X2(I);
37500
37519
  return e1 && e1 < J || !1;
37501
37520
  }(i.state.date, i.props);
37502
37521
  break;
@@ -37508,40 +37527,40 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37508
37527
  i.props.showTimeSelect && C.push("react-datepicker__navigation--next--with-time"), i.props.todayButton && C.push("react-datepicker__navigation--next--with-today-button");
37509
37528
  var v = i.increaseMonth;
37510
37529
  (i.props.showMonthYearPicker || i.props.showQuarterYearPicker || i.props.showYearPicker) && (v = i.increaseYear), p && i.props.showDisabledMonthNavigation && (C.push("react-datepicker__navigation--next--disabled"), v = null);
37511
- var y = i.props.showMonthYearPicker || i.props.showQuarterYearPicker || i.props.showYearPicker, L = i.props, V = L.nextMonthButtonLabel, k = L.nextYearButtonLabel, S = i.props, _ = S.nextMonthAriaLabel, R = _ === void 0 ? typeof V == "string" ? V : "Next Month" : _, N = S.nextYearAriaLabel, Z = N === void 0 ? typeof k == "string" ? k : "Next Year" : N;
37512
- return r1.createElement("button", { type: "button", className: C.join(" "), onClick: v, onKeyDown: i.props.handleOnKeyDown, "aria-label": y ? Z : R }, r1.createElement("span", { className: ["react-datepicker__navigation-icon", "react-datepicker__navigation-icon--next"].join(" ") }, y ? i.props.nextYearButtonLabel : i.props.nextMonthButtonLabel));
37530
+ var y = i.props.showMonthYearPicker || i.props.showQuarterYearPicker || i.props.showYearPicker, L = i.props, V = L.nextMonthButtonLabel, k = L.nextYearButtonLabel, S = i.props, _ = S.nextMonthAriaLabel, R = _ === void 0 ? typeof V == "string" ? V : "Next Month" : _, N = S.nextYearAriaLabel, O = N === void 0 ? typeof k == "string" ? k : "Next Year" : N;
37531
+ return r1.createElement("button", { type: "button", className: C.join(" "), onClick: v, onKeyDown: i.props.handleOnKeyDown, "aria-label": y ? O : R }, r1.createElement("span", { className: ["react-datepicker__navigation-icon", "react-datepicker__navigation-icon--next"].join(" ") }, y ? i.props.nextYearButtonLabel : i.props.nextMonthButtonLabel));
37513
37532
  }
37514
37533
  }
37515
- }), A(U(i), "renderCurrentMonth", function() {
37534
+ }), A(z(i), "renderCurrentMonth", function() {
37516
37535
  var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : i.state.date, C = ["react-datepicker__current-month"];
37517
37536
  return i.props.showYearDropdown && C.push("react-datepicker__current-month--hasYearDropdown"), i.props.showMonthDropdown && C.push("react-datepicker__current-month--hasMonthDropdown"), i.props.showMonthYearDropdown && C.push("react-datepicker__current-month--hasMonthYearDropdown"), r1.createElement("div", { className: C.join(" ") }, Re(p, i.props.dateFormat, i.props.locale));
37518
- }), A(U(i), "renderYearDropdown", function() {
37537
+ }), A(z(i), "renderYearDropdown", function() {
37519
37538
  var p = arguments.length > 0 && arguments[0] !== void 0 && arguments[0];
37520
37539
  if (i.props.showYearDropdown && !p) return r1.createElement(bz, { adjustDateOnChange: i.props.adjustDateOnChange, date: i.state.date, onSelect: i.props.onSelect, setOpen: i.props.setOpen, dropdownMode: i.props.dropdownMode, onChange: i.changeYear, minDate: i.props.minDate, maxDate: i.props.maxDate, year: X2(i.state.date), scrollableYearDropdown: i.props.scrollableYearDropdown, yearDropdownItemNumber: i.props.yearDropdownItemNumber });
37521
- }), A(U(i), "renderMonthDropdown", function() {
37540
+ }), A(z(i), "renderMonthDropdown", function() {
37522
37541
  var p = arguments.length > 0 && arguments[0] !== void 0 && arguments[0];
37523
37542
  if (i.props.showMonthDropdown && !p) return r1.createElement(xz, { dropdownMode: i.props.dropdownMode, locale: i.props.locale, onChange: i.changeMonth, month: a5(i.state.date), useShortMonthInDropdown: i.props.useShortMonthInDropdown });
37524
- }), A(U(i), "renderMonthYearDropdown", function() {
37543
+ }), A(z(i), "renderMonthYearDropdown", function() {
37525
37544
  var p = arguments.length > 0 && arguments[0] !== void 0 && arguments[0];
37526
37545
  if (i.props.showMonthYearDropdown && !p) return r1.createElement(Mz, { dropdownMode: i.props.dropdownMode, locale: i.props.locale, dateFormat: i.props.dateFormat, onChange: i.changeMonthYear, minDate: i.props.minDate, maxDate: i.props.maxDate, date: i.state.date, scrollableMonthYearDropdown: i.props.scrollableMonthYearDropdown });
37527
- }), A(U(i), "handleTodayButtonClick", function(p) {
37546
+ }), A(z(i), "handleTodayButtonClick", function(p) {
37528
37547
  i.props.onSelect(ab(), p), i.props.setPreSelection && i.props.setPreSelection(ab());
37529
- }), A(U(i), "renderTodayButton", function() {
37548
+ }), A(z(i), "renderTodayButton", function() {
37530
37549
  if (i.props.todayButton && !i.props.showTimeSelectOnly) return r1.createElement("div", { className: "react-datepicker__today-button", onClick: function(p) {
37531
37550
  return i.handleTodayButtonClick(p);
37532
37551
  } }, i.props.todayButton);
37533
- }), A(U(i), "renderDefaultHeader", function(p) {
37552
+ }), A(z(i), "renderDefaultHeader", function(p) {
37534
37553
  var C = p.monthDate, v = p.i;
37535
37554
  return r1.createElement("div", { className: "react-datepicker__header ".concat(i.props.showTimeSelect ? "react-datepicker__header--has-time-select" : "") }, i.renderCurrentMonth(C), r1.createElement("div", { className: "react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(i.props.dropdownMode), onFocus: i.handleDropdownFocus }, i.renderMonthDropdown(v !== 0), i.renderMonthYearDropdown(v !== 0), i.renderYearDropdown(v !== 0)), r1.createElement("div", { className: "react-datepicker__day-names" }, i.header(C)));
37536
- }), A(U(i), "renderCustomHeader", function() {
37555
+ }), A(z(i), "renderCustomHeader", function() {
37537
37556
  var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, C = p.monthDate, v = p.i;
37538
37557
  if (i.props.showTimeSelect && !i.state.monthContainer || i.props.showTimeSelectOnly) return null;
37539
37558
  var y = sb(i.state.date, i.props), L = ub(i.state.date, i.props), V = cb(i.state.date, i.props), k = db(i.state.date, i.props), S = !i.props.showMonthYearPicker && !i.props.showQuarterYearPicker && !i.props.showYearPicker;
37540
37559
  return r1.createElement("div", { className: "react-datepicker__header react-datepicker__header--custom", onFocus: i.props.onDropdownFocus }, i.props.renderCustomHeader(KL(KL({}, i.state), {}, { customHeaderCount: v, monthDate: C, changeMonth: i.changeMonth, changeYear: i.changeYear, decreaseMonth: i.decreaseMonth, increaseMonth: i.increaseMonth, decreaseYear: i.decreaseYear, increaseYear: i.increaseYear, prevMonthButtonDisabled: y, nextMonthButtonDisabled: L, prevYearButtonDisabled: V, nextYearButtonDisabled: k })), S && r1.createElement("div", { className: "react-datepicker__day-names" }, i.header(C)));
37541
- }), A(U(i), "renderYearHeader", function() {
37560
+ }), A(z(i), "renderYearHeader", function() {
37542
37561
  var p = i.state.date, C = i.props, v = C.showYearPicker, y = ra(p, C.yearItemNumber), L = y.startPeriod, V = y.endPeriod;
37543
37562
  return r1.createElement("div", { className: "react-datepicker__header react-datepicker-year-header" }, v ? "".concat(L, " - ").concat(V) : X2(p));
37544
- }), A(U(i), "renderHeader", function(p) {
37563
+ }), A(z(i), "renderHeader", function(p) {
37545
37564
  switch (!0) {
37546
37565
  case i.props.renderCustomHeader !== void 0:
37547
37566
  return i.renderCustomHeader(p);
@@ -37550,7 +37569,7 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37550
37569
  default:
37551
37570
  return i.renderDefaultHeader(p);
37552
37571
  }
37553
- }), A(U(i), "renderMonths", function() {
37572
+ }), A(z(i), "renderMonths", function() {
37554
37573
  if (!i.props.showTimeSelectOnly && !i.props.showYearPicker) {
37555
37574
  for (var p = [], C = i.props.showPreviousMonths ? i.props.monthsShown - 1 : 0, v = sa(i.state.date, C), y = 0; y < i.props.monthsShown; ++y) {
37556
37575
  var L = y - i.props.monthSelectedIn, V = _6(v, L), k = "month-".concat(y), S = y < i.props.monthsShown - 1, _ = y > 0;
@@ -37560,17 +37579,17 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37560
37579
  }
37561
37580
  return p;
37562
37581
  }
37563
- }), A(U(i), "renderYears", function() {
37582
+ }), A(z(i), "renderYears", function() {
37564
37583
  if (!i.props.showTimeSelectOnly) return i.props.showYearPicker ? r1.createElement("div", { className: "react-datepicker__year--container" }, i.renderHeader(), r1.createElement(_z, Fc({ onDayClick: i.handleDayClick, selectingDate: i.state.selectingDate, clearSelectingDate: i.clearSelectingDate, date: i.state.date }, i.props, { onYearMouseEnter: i.handleYearMouseEnter, onYearMouseLeave: i.handleYearMouseLeave }))) : void 0;
37565
- }), A(U(i), "renderTimeSection", function() {
37584
+ }), A(z(i), "renderTimeSection", function() {
37566
37585
  if (i.props.showTimeSelect && (i.state.monthContainer || i.props.showTimeSelectOnly)) return r1.createElement(Kw, { selected: i.props.selected, openToDate: i.props.openToDate, onChange: i.props.onTimeChange, timeClassName: i.props.timeClassName, format: i.props.timeFormat, includeTimes: i.props.includeTimes, intervals: i.props.timeIntervals, minTime: i.props.minTime, maxTime: i.props.maxTime, excludeTimes: i.props.excludeTimes, filterTime: i.props.filterTime, timeCaption: i.props.timeCaption, todayButton: i.props.todayButton, showMonthDropdown: i.props.showMonthDropdown, showMonthYearDropdown: i.props.showMonthYearDropdown, showYearDropdown: i.props.showYearDropdown, withPortal: i.props.withPortal, monthRef: i.state.monthContainer, injectTimes: i.props.injectTimes, locale: i.props.locale, handleOnKeyDown: i.props.handleOnKeyDown, showTimeSelectOnly: i.props.showTimeSelectOnly });
37567
- }), A(U(i), "renderInputTimeSection", function() {
37586
+ }), A(z(i), "renderInputTimeSection", function() {
37568
37587
  var p = new Date(i.props.selected), C = Et(p) && i.props.selected ? "".concat(fb(p.getHours()), ":").concat(fb(p.getMinutes())) : "";
37569
37588
  if (i.props.showTimeInput) return r1.createElement(Dz, { date: p, timeString: C, timeInputLabel: i.props.timeInputLabel, onChange: i.props.onTimeChange, customTimeInput: i.props.customTimeInput });
37570
- }), A(U(i), "renderAriaLiveRegion", function() {
37589
+ }), A(z(i), "renderAriaLiveRegion", function() {
37571
37590
  var p, C = ra(i.state.date, i.props.yearItemNumber), v = C.startPeriod, y = C.endPeriod;
37572
37591
  return p = i.props.showYearPicker ? "".concat(v, " - ").concat(y) : i.props.showMonthYearPicker || i.props.showQuarterYearPicker ? X2(i.state.date) : "".concat(em(a5(i.state.date), i.props.locale), " ").concat(X2(i.state.date)), r1.createElement("span", { role: "alert", "aria-live": "polite", className: "react-datepicker__aria-live" }, i.state.isRenderAriaLiveMessage && p);
37573
- }), A(U(i), "renderChildren", function() {
37592
+ }), A(z(i), "renderChildren", function() {
37574
37593
  if (i.props.children) return r1.createElement("div", { className: "react-datepicker__children-container" }, i.props.children);
37575
37594
  }), i.containerRef = r1.createRef(), i.state = { date: i.getDateInView(), selectingDate: null, monthContainer: null, isRenderAriaLiveMessage: !1 }, i;
37576
37595
  }
@@ -37614,12 +37633,12 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37614
37633
  var a = L4(o);
37615
37634
  function o(s) {
37616
37635
  var i;
37617
- return v4(this, o), A(U(i = a.call(this, s)), "getTabChildren", function() {
37636
+ return v4(this, o), A(z(i = a.call(this, s)), "getTabChildren", function() {
37618
37637
  return Array.prototype.slice.call(i.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"), 1, -1).filter(Nz);
37619
- }), A(U(i), "handleFocusStart", function(p) {
37638
+ }), A(z(i), "handleFocusStart", function(p) {
37620
37639
  var C = i.getTabChildren();
37621
37640
  C && C.length > 1 && C[C.length - 1].focus();
37622
- }), A(U(i), "handleFocusEnd", function(p) {
37641
+ }), A(z(i), "handleFocusEnd", function(p) {
37623
37642
  var C = i.getTabChildren();
37624
37643
  C && C.length > 1 && C[0].focus();
37625
37644
  }), i.tabLoopRef = r1.createRef(), i;
@@ -37636,15 +37655,15 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37636
37655
  return v4(this, o), a.apply(this, arguments);
37637
37656
  }
37638
37657
  return g4(o, [{ key: "render", value: function() {
37639
- var s, i = this.props, p = i.className, C = i.wrapperClassName, v = i.hidePopper, y = i.popperComponent, L = i.popperModifiers, V = i.popperPlacement, k = i.popperProps, S = i.targetComponent, _ = i.enableTabLoop, R = i.popperOnKeyDown, N = i.portalId, Z = i.portalHost;
37658
+ var s, i = this.props, p = i.className, C = i.wrapperClassName, v = i.hidePopper, y = i.popperComponent, L = i.popperModifiers, V = i.popperPlacement, k = i.popperProps, S = i.targetComponent, _ = i.enableTabLoop, R = i.popperOnKeyDown, N = i.portalId, O = i.portalHost;
37640
37659
  if (!v) {
37641
- var z = H5("react-datepicker-popper", p);
37660
+ var U = H5("react-datepicker-popper", p);
37642
37661
  s = r1.createElement(rz, Fc({ modifiers: L, placement: V }, k), function(I) {
37643
37662
  var W = I.ref, $ = I.style, J = I.placement, e1 = I.arrowProps;
37644
- return r1.createElement(ex, { enableTabLoop: _ }, r1.createElement("div", { ref: W, style: $, className: z, "data-placement": J, onKeyDown: R }, r1.cloneElement(y, { arrowProps: e1 })));
37663
+ return r1.createElement(ex, { enableTabLoop: _ }, r1.createElement("div", { ref: W, style: $, className: U, "data-placement": J, onKeyDown: R }, r1.cloneElement(y, { arrowProps: e1 })));
37645
37664
  });
37646
37665
  }
37647
- this.props.popperContainer && (s = r1.createElement(this.props.popperContainer, {}, s)), N && !v && (s = r1.createElement(Jw, { portalId: N, portalHost: Z }, s));
37666
+ this.props.popperContainer && (s = r1.createElement(this.props.popperContainer, {}, s)), N && !v && (s = r1.createElement(Jw, { portalId: N, portalHost: O }, s));
37648
37667
  var P = H5("react-datepicker-wrapper", C);
37649
37668
  return r1.createElement(PA, { className: "react-datepicker-manager" }, r1.createElement(lz, null, function(I) {
37650
37669
  var W = I.ref;
@@ -37658,18 +37677,18 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37658
37677
  var a = L4(o);
37659
37678
  function o(s) {
37660
37679
  var i;
37661
- return v4(this, o), A(U(i = a.call(this, s)), "getPreSelection", function() {
37680
+ return v4(this, o), A(z(i = a.call(this, s)), "getPreSelection", function() {
37662
37681
  return i.props.openToDate ? i.props.openToDate : i.props.selectsEnd && i.props.startDate ? i.props.startDate : i.props.selectsStart && i.props.endDate ? i.props.endDate : Q3();
37663
- }), A(U(i), "calcInitialState", function() {
37682
+ }), A(z(i), "calcInitialState", function() {
37664
37683
  var p, C = i.getPreSelection(), v = Ww(i.props), y = Qw(i.props), L = v && y9(C, w8(v)) ? v : y && Dt(C, yh(y)) ? y : C;
37665
37684
  return { open: i.props.startOpen || !1, preventFocus: !1, preSelection: (p = i.props.selectsRange ? i.props.startDate : i.props.selected) !== null && p !== void 0 ? p : L, highlightDates: Cb(i.props.highlightDates), focused: !1, shouldFocusDayInline: !1, isRenderAriaLiveMessage: !1 };
37666
- }), A(U(i), "clearPreventFocusTimeout", function() {
37685
+ }), A(z(i), "clearPreventFocusTimeout", function() {
37667
37686
  i.preventFocusTimeout && clearTimeout(i.preventFocusTimeout);
37668
- }), A(U(i), "setFocus", function() {
37687
+ }), A(z(i), "setFocus", function() {
37669
37688
  i.input && i.input.focus && i.input.focus({ preventScroll: !0 });
37670
- }), A(U(i), "setBlur", function() {
37689
+ }), A(z(i), "setBlur", function() {
37671
37690
  i.input && i.input.blur && i.input.blur(), i.cancelFocusInput();
37672
- }), A(U(i), "setOpen", function(p) {
37691
+ }), A(z(i), "setOpen", function(p) {
37673
37692
  var C = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
37674
37693
  i.setState({ open: p, preSelection: p && i.state.open ? i.state.preSelection : i.calcInitialState().preSelection, lastPreSelectChange: Up }, function() {
37675
37694
  p || i.setState(function(v) {
@@ -37678,33 +37697,33 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37678
37697
  !C && i.setBlur(), i.setState({ inputValue: null });
37679
37698
  });
37680
37699
  });
37681
- }), A(U(i), "inputOk", function() {
37700
+ }), A(z(i), "inputOk", function() {
37682
37701
  return Bh(i.state.preSelection);
37683
- }), A(U(i), "isCalendarOpen", function() {
37702
+ }), A(z(i), "isCalendarOpen", function() {
37684
37703
  return i.props.open === void 0 ? i.state.open && !i.props.disabled && !i.props.readOnly : i.props.open;
37685
- }), A(U(i), "handleFocus", function(p) {
37704
+ }), A(z(i), "handleFocus", function(p) {
37686
37705
  i.state.preventFocus || (i.props.onFocus(p), i.props.preventOpenOnFocus || i.props.readOnly || i.setOpen(!0)), i.setState({ focused: !0 });
37687
- }), A(U(i), "cancelFocusInput", function() {
37706
+ }), A(z(i), "cancelFocusInput", function() {
37688
37707
  clearTimeout(i.inputFocusTimeout), i.inputFocusTimeout = null;
37689
- }), A(U(i), "deferFocusInput", function() {
37708
+ }), A(z(i), "deferFocusInput", function() {
37690
37709
  i.cancelFocusInput(), i.inputFocusTimeout = setTimeout(function() {
37691
37710
  return i.setFocus();
37692
37711
  }, 1);
37693
- }), A(U(i), "handleDropdownFocus", function() {
37712
+ }), A(z(i), "handleDropdownFocus", function() {
37694
37713
  i.cancelFocusInput();
37695
- }), A(U(i), "handleBlur", function(p) {
37714
+ }), A(z(i), "handleBlur", function(p) {
37696
37715
  (!i.state.open || i.props.withPortal || i.props.showTimeInput) && i.props.onBlur(p), i.setState({ focused: !1 });
37697
- }), A(U(i), "handleCalendarClickOutside", function(p) {
37716
+ }), A(z(i), "handleCalendarClickOutside", function(p) {
37698
37717
  i.props.inline || i.setOpen(!1), i.props.onClickOutside(p), i.props.withPortal && p.preventDefault();
37699
- }), A(U(i), "handleChange", function() {
37718
+ }), A(z(i), "handleChange", function() {
37700
37719
  for (var p = arguments.length, C = new Array(p), v = 0; v < p; v++) C[v] = arguments[v];
37701
37720
  var y = C[0];
37702
- if (!i.props.onChangeRaw || (i.props.onChangeRaw.apply(U(i), C), typeof y.isDefaultPrevented == "function" && !y.isDefaultPrevented())) {
37721
+ if (!i.props.onChangeRaw || (i.props.onChangeRaw.apply(z(i), C), typeof y.isDefaultPrevented == "function" && !y.isDefaultPrevented())) {
37703
37722
  i.setState({ inputValue: y.target.value, lastPreSelectChange: Fz });
37704
37723
  var L = Cz(y.target.value, i.props.dateFormat, i.props.locale, i.props.strictParsing, i.props.minDate);
37705
37724
  i.props.showTimeSelectOnly && i.props.selected && !x5(L, i.props.selected) && (L = sz(i.props.selected, L == null ? { hours: h7(i.props.selected), minutes: p7(i.props.selected), seconds: Dp(i.props.selected) } : { hours: h7(L), minutes: p7(L), seconds: Dp(L) })), !L && y.target.value || i.setSelected(L, y, !0);
37706
37725
  }
37707
- }), A(U(i), "handleSelect", function(p, C, v) {
37726
+ }), A(z(i), "handleSelect", function(p, C, v) {
37708
37727
  if (i.setState({ preventFocus: !0 }, function() {
37709
37728
  return i.preventFocusTimeout = setTimeout(function() {
37710
37729
  return i.setState({ preventFocus: !1 });
@@ -37715,7 +37734,7 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37715
37734
  var y = i.props, L = y.startDate, V = y.endDate;
37716
37735
  !L || V || y9(p, L) || i.setOpen(!1);
37717
37736
  }
37718
- }), A(U(i), "setSelected", function(p, C, v, y) {
37737
+ }), A(z(i), "setSelected", function(p, C, v, y) {
37719
37738
  var L = p;
37720
37739
  if (i.props.showYearPicker) {
37721
37740
  if (L !== null && Yw(X2(L), i.props)) return;
@@ -37724,11 +37743,11 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37724
37743
  } else if (L !== null && Ac(L, i.props)) return;
37725
37744
  var V = i.props, k = V.onChange, S = V.selectsRange, _ = V.startDate, R = V.endDate;
37726
37745
  if (!Tt(i.props.selected, L) || i.props.allowSameDay || S) if (L !== null && (!i.props.selected || v && (i.props.showTimeSelect || i.props.showTimeSelectOnly || i.props.showTimeInput) || (L = rb(L, { hour: h7(i.props.selected), minute: p7(i.props.selected), second: Dp(i.props.selected) })), i.props.inline || i.setState({ preSelection: L }), i.props.focusSelectedMonth || i.setState({ monthSelectedIn: y })), S) {
37727
- var N = _ && !R, Z = _ && R;
37728
- !_ && !R ? k([L, null], C) : N && (y9(L, _) ? k([L, null], C) : k([_, L], C)), Z && k([L, null], C);
37746
+ var N = _ && !R, O = _ && R;
37747
+ !_ && !R ? k([L, null], C) : N && (y9(L, _) ? k([L, null], C) : k([_, L], C)), O && k([L, null], C);
37729
37748
  } else k(L, C);
37730
37749
  v || (i.props.onSelect(L, C), i.setState({ inputValue: null }));
37731
- }), A(U(i), "setPreSelection", function(p) {
37750
+ }), A(z(i), "setPreSelection", function(p) {
37732
37751
  var C = i.props.minDate !== void 0, v = i.props.maxDate !== void 0, y = !0;
37733
37752
  if (p) {
37734
37753
  var L = w8(p);
@@ -37742,12 +37761,12 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37742
37761
  }
37743
37762
  }
37744
37763
  y && i.setState({ preSelection: p });
37745
- }), A(U(i), "handleTimeChange", function(p) {
37764
+ }), A(z(i), "handleTimeChange", function(p) {
37746
37765
  var C = rb(i.props.selected ? i.props.selected : i.getPreSelection(), { hour: h7(p), minute: p7(p) });
37747
37766
  i.setState({ preSelection: C }), i.props.onChange(C), i.props.shouldCloseOnSelect && i.setOpen(!1), i.props.showTimeInput && i.setOpen(!0), (i.props.showTimeSelectOnly || i.props.showTimeSelect) && i.setState({ isRenderAriaLiveMessage: !0 }), i.setState({ inputValue: null });
37748
- }), A(U(i), "onInputClick", function() {
37767
+ }), A(z(i), "onInputClick", function() {
37749
37768
  i.props.disabled || i.props.readOnly || i.setOpen(!0), i.props.onInputClick();
37750
- }), A(U(i), "onInputKeyDown", function(p) {
37769
+ }), A(z(i), "onInputKeyDown", function(p) {
37751
37770
  i.props.onKeyDown(p);
37752
37771
  var C = p.key;
37753
37772
  if (i.state.open || i.props.inline || i.props.preventOpenOnFocus) {
@@ -37761,13 +37780,13 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37761
37780
  C === "Enter" ? (p.preventDefault(), i.inputOk() && i.state.lastPreSelectChange === Up ? (i.handleSelect(y, p), !i.props.shouldCloseOnSelect && i.setPreSelection(y)) : i.setOpen(!1)) : C === "Escape" ? (p.preventDefault(), i.setOpen(!1)) : C === "Tab" && p.shiftKey && i.setOpen(!1), i.inputOk() || i.props.onInputError({ code: 1, msg: "Date input not valid." });
37762
37781
  }
37763
37782
  } else C !== "ArrowDown" && C !== "ArrowUp" && C !== "Enter" || i.onInputClick();
37764
- }), A(U(i), "onPortalKeyDown", function(p) {
37783
+ }), A(z(i), "onPortalKeyDown", function(p) {
37765
37784
  p.key === "Escape" && (p.preventDefault(), i.setState({ preventFocus: !0 }, function() {
37766
37785
  i.setOpen(!1), setTimeout(function() {
37767
37786
  i.setFocus(), i.setState({ preventFocus: !1 });
37768
37787
  });
37769
37788
  }));
37770
- }), A(U(i), "onDayKeyDown", function(p) {
37789
+ }), A(z(i), "onDayKeyDown", function(p) {
37771
37790
  i.props.onKeyDown(p);
37772
37791
  var C = p.key, v = Q3(i.state.preSelection);
37773
37792
  if (C === "Enter") p.preventDefault(), i.handleSelect(v, p), !i.props.shouldCloseOnSelect && i.setPreSelection(v);
@@ -37805,26 +37824,26 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37805
37824
  L !== V || k !== S ? i.setState({ shouldFocusDayInline: !0 }) : i.setState({ shouldFocusDayInline: !1 });
37806
37825
  }
37807
37826
  }
37808
- }), A(U(i), "onPopperKeyDown", function(p) {
37827
+ }), A(z(i), "onPopperKeyDown", function(p) {
37809
37828
  p.key === "Escape" && (p.preventDefault(), i.setState({ preventFocus: !0 }, function() {
37810
37829
  i.setOpen(!1), setTimeout(function() {
37811
37830
  i.setFocus(), i.setState({ preventFocus: !1 });
37812
37831
  });
37813
37832
  }));
37814
- }), A(U(i), "onClearClick", function(p) {
37833
+ }), A(z(i), "onClearClick", function(p) {
37815
37834
  p && p.preventDefault && p.preventDefault(), i.props.selectsRange ? i.props.onChange([null, null], p) : i.props.onChange(null, p), i.setState({ inputValue: null });
37816
- }), A(U(i), "clear", function() {
37835
+ }), A(z(i), "clear", function() {
37817
37836
  i.onClearClick();
37818
- }), A(U(i), "onScroll", function(p) {
37837
+ }), A(z(i), "onScroll", function(p) {
37819
37838
  typeof i.props.closeOnScroll == "boolean" && i.props.closeOnScroll ? p.target !== document && p.target !== document.documentElement && p.target !== document.body || i.setOpen(!1) : typeof i.props.closeOnScroll == "function" && i.props.closeOnScroll(p) && i.setOpen(!1);
37820
- }), A(U(i), "renderCalendar", function() {
37839
+ }), A(z(i), "renderCalendar", function() {
37821
37840
  return i.props.inline || i.isCalendarOpen() ? r1.createElement(Pz, { ref: function(p) {
37822
37841
  i.calendar = p;
37823
37842
  }, locale: i.props.locale, calendarStartDay: i.props.calendarStartDay, chooseDayAriaLabelPrefix: i.props.chooseDayAriaLabelPrefix, disabledDayAriaLabelPrefix: i.props.disabledDayAriaLabelPrefix, weekAriaLabelPrefix: i.props.weekAriaLabelPrefix, monthAriaLabelPrefix: i.props.monthAriaLabelPrefix, adjustDateOnChange: i.props.adjustDateOnChange, setOpen: i.setOpen, shouldCloseOnSelect: i.props.shouldCloseOnSelect, dateFormat: i.props.dateFormatCalendar, useWeekdaysShort: i.props.useWeekdaysShort, formatWeekDay: i.props.formatWeekDay, dropdownMode: i.props.dropdownMode, selected: i.props.selected, preSelection: i.state.preSelection, onSelect: i.handleSelect, onWeekSelect: i.props.onWeekSelect, openToDate: i.props.openToDate, minDate: i.props.minDate, maxDate: i.props.maxDate, selectsStart: i.props.selectsStart, selectsEnd: i.props.selectsEnd, selectsRange: i.props.selectsRange, startDate: i.props.startDate, endDate: i.props.endDate, excludeDates: i.props.excludeDates, excludeDateIntervals: i.props.excludeDateIntervals, filterDate: i.props.filterDate, onClickOutside: i.handleCalendarClickOutside, formatWeekNumber: i.props.formatWeekNumber, highlightDates: i.state.highlightDates, includeDates: i.props.includeDates, includeDateIntervals: i.props.includeDateIntervals, includeTimes: i.props.includeTimes, injectTimes: i.props.injectTimes, inline: i.props.inline, shouldFocusDayInline: i.state.shouldFocusDayInline, peekNextMonth: i.props.peekNextMonth, showMonthDropdown: i.props.showMonthDropdown, showPreviousMonths: i.props.showPreviousMonths, useShortMonthInDropdown: i.props.useShortMonthInDropdown, showMonthYearDropdown: i.props.showMonthYearDropdown, showWeekNumbers: i.props.showWeekNumbers, showYearDropdown: i.props.showYearDropdown, withPortal: i.props.withPortal, forceShowMonthNavigation: i.props.forceShowMonthNavigation, showDisabledMonthNavigation: i.props.showDisabledMonthNavigation, scrollableYearDropdown: i.props.scrollableYearDropdown, scrollableMonthYearDropdown: i.props.scrollableMonthYearDropdown, todayButton: i.props.todayButton, weekLabel: i.props.weekLabel, outsideClickIgnoreClass: "react-datepicker-ignore-onclickoutside", fixedHeight: i.props.fixedHeight, monthsShown: i.props.monthsShown, monthSelectedIn: i.state.monthSelectedIn, onDropdownFocus: i.handleDropdownFocus, onMonthChange: i.props.onMonthChange, onYearChange: i.props.onYearChange, dayClassName: i.props.dayClassName, weekDayClassName: i.props.weekDayClassName, monthClassName: i.props.monthClassName, timeClassName: i.props.timeClassName, showTimeSelect: i.props.showTimeSelect, showTimeSelectOnly: i.props.showTimeSelectOnly, onTimeChange: i.handleTimeChange, timeFormat: i.props.timeFormat, timeIntervals: i.props.timeIntervals, minTime: i.props.minTime, maxTime: i.props.maxTime, excludeTimes: i.props.excludeTimes, filterTime: i.props.filterTime, timeCaption: i.props.timeCaption, className: i.props.calendarClassName, container: i.props.calendarContainer, yearItemNumber: i.props.yearItemNumber, yearDropdownItemNumber: i.props.yearDropdownItemNumber, previousMonthAriaLabel: i.props.previousMonthAriaLabel, previousMonthButtonLabel: i.props.previousMonthButtonLabel, nextMonthAriaLabel: i.props.nextMonthAriaLabel, nextMonthButtonLabel: i.props.nextMonthButtonLabel, previousYearAriaLabel: i.props.previousYearAriaLabel, previousYearButtonLabel: i.props.previousYearButtonLabel, nextYearAriaLabel: i.props.nextYearAriaLabel, nextYearButtonLabel: i.props.nextYearButtonLabel, timeInputLabel: i.props.timeInputLabel, disabledKeyboardNavigation: i.props.disabledKeyboardNavigation, renderCustomHeader: i.props.renderCustomHeader, popperProps: i.props.popperProps, renderDayContents: i.props.renderDayContents, onDayMouseEnter: i.props.onDayMouseEnter, onMonthMouseLeave: i.props.onMonthMouseLeave, onYearMouseEnter: i.props.onYearMouseEnter, onYearMouseLeave: i.props.onYearMouseLeave, selectsDisabledDaysInRange: i.props.selectsDisabledDaysInRange, showTimeInput: i.props.showTimeInput, showMonthYearPicker: i.props.showMonthYearPicker, showFullMonthYearPicker: i.props.showFullMonthYearPicker, showTwoColumnMonthYearPicker: i.props.showTwoColumnMonthYearPicker, showFourColumnMonthYearPicker: i.props.showFourColumnMonthYearPicker, showYearPicker: i.props.showYearPicker, showQuarterYearPicker: i.props.showQuarterYearPicker, showPopperArrow: i.props.showPopperArrow, excludeScrollbar: i.props.excludeScrollbar, handleOnKeyDown: i.props.onKeyDown, handleOnDayKeyDown: i.onDayKeyDown, isInputFocused: i.state.focused, customTimeInput: i.props.customTimeInput, setPreSelection: i.setPreSelection }, i.props.children) : null;
37824
- }), A(U(i), "renderAriaLiveRegion", function() {
37843
+ }), A(z(i), "renderAriaLiveRegion", function() {
37825
37844
  var p, C = i.props, v = C.dateFormat, y = C.locale, L = i.props.showTimeInput || i.props.showTimeSelect ? "PPPPp" : "PPPP";
37826
37845
  return p = i.props.selectsRange ? "Selected start date: ".concat(g8(i.props.startDate, { dateFormat: L, locale: y }), ". ").concat(i.props.endDate ? "End date: " + g8(i.props.endDate, { dateFormat: L, locale: y }) : "") : i.props.showTimeSelectOnly ? "Selected time: ".concat(g8(i.props.selected, { dateFormat: v, locale: y })) : i.props.showYearPicker ? "Selected year: ".concat(g8(i.props.selected, { dateFormat: "yyyy", locale: y })) : i.props.showMonthYearPicker ? "Selected month: ".concat(g8(i.props.selected, { dateFormat: "MMMM yyyy", locale: y })) : i.props.showQuarterYearPicker ? "Selected quarter: ".concat(g8(i.props.selected, { dateFormat: "yyyy, QQQ", locale: y })) : "Selected date: ".concat(g8(i.props.selected, { dateFormat: L, locale: y })), r1.createElement("span", { role: "alert", "aria-live": "polite", className: "react-datepicker__aria-live" }, i.state.isRenderAriaLiveMessage && p);
37827
- }), A(U(i), "renderDateInput", function() {
37846
+ }), A(z(i), "renderDateInput", function() {
37828
37847
  var p, C = H5(i.props.className, A({}, "react-datepicker-ignore-onclickoutside", i.state.open)), v = i.props.customInput || r1.createElement("input", { type: "text" }), y = i.props.customInputRef || "ref", L = typeof i.props.value == "string" ? i.props.value : typeof i.state.inputValue == "string" ? i.state.inputValue : i.props.selectsRange ? function(V, k, S) {
37829
37848
  if (!V) return "";
37830
37849
  var _ = g8(V, S), R = k ? g8(k, S) : "";
@@ -37833,7 +37852,7 @@ var Zz = ["react-datepicker__year-select", "react-datepicker__month-select", "re
37833
37852
  return r1.cloneElement(v, (A(p = {}, y, function(V) {
37834
37853
  i.input = V;
37835
37854
  }), A(p, "value", L), A(p, "onBlur", i.handleBlur), A(p, "onChange", i.handleChange), A(p, "onClick", i.onInputClick), A(p, "onFocus", i.handleFocus), A(p, "onKeyDown", i.onInputKeyDown), A(p, "id", i.props.id), A(p, "name", i.props.name), A(p, "form", i.props.form), A(p, "autoFocus", i.props.autoFocus), A(p, "placeholder", i.props.placeholderText), A(p, "disabled", i.props.disabled), A(p, "autoComplete", i.props.autoComplete), A(p, "className", H5(v.props.className, C)), A(p, "title", i.props.title), A(p, "readOnly", i.props.readOnly), A(p, "required", i.props.required), A(p, "tabIndex", i.props.tabIndex), A(p, "aria-describedby", i.props.ariaDescribedBy), A(p, "aria-invalid", i.props.ariaInvalid), A(p, "aria-labelledby", i.props.ariaLabelledBy), A(p, "aria-required", i.props.ariaRequired), p));
37836
- }), A(U(i), "renderClearButton", function() {
37855
+ }), A(z(i), "renderClearButton", function() {
37837
37856
  var p = i.props, C = p.isClearable, v = p.selected, y = p.startDate, L = p.endDate, V = p.clearButtonTitle, k = p.clearButtonClassName, S = k === void 0 ? "" : k, _ = p.ariaLabelClose, R = _ === void 0 ? "Close" : _;
37838
37857
  return !C || v == null && y == null && L == null ? null : r1.createElement("button", { type: "button", className: "react-datepicker__close-icon ".concat(S).trim(), "aria-label": R, onClick: i.onClearClick, title: V, tabIndex: -1 });
37839
37858
  }), i.state = i.calcInitialState(), i;
@@ -37980,8 +37999,8 @@ const jz = {
37980
37999
  isInvalid: _ = !1,
37981
38000
  isRequired: R = !1,
37982
38001
  labelText: N,
37983
- max: Z,
37984
- maxLength: z,
38002
+ max: O,
38003
+ maxLength: U,
37985
38004
  min: P,
37986
38005
  name: I,
37987
38006
  onChange: W,
@@ -38037,7 +38056,7 @@ const jz = {
38037
38056
  S1(""), k && k(), (B1 = Q1.current) == null || B1.focus();
38038
38057
  };
38039
38058
  let K2 = _, S2, F2, m3;
38040
- return D1 === "number" && Z && P && P > Z && (K2 = !0, console.warn(
38059
+ return D1 === "number" && O && P && P > O && (K2 = !0, console.warn(
38041
38060
  "NYPL Reservoir TextInput: The `min` prop is greater than the `max` prop."
38042
38061
  )), m3 = H2 ? {
38043
38062
  defaultValue: C,
@@ -38059,8 +38078,8 @@ const jz = {
38059
38078
  isDisabled: S,
38060
38079
  isRequired: R,
38061
38080
  isInvalid: K2,
38062
- max: Z,
38063
- maxLength: z,
38081
+ max: O,
38082
+ maxLength: U,
38064
38083
  min: P,
38065
38084
  name: I,
38066
38085
  onChange: l2,
@@ -38138,7 +38157,7 @@ const jz = {
38138
38157
  showRequiredLabel: _,
38139
38158
  value: R,
38140
38159
  ...N
38141
- }, Z) => (delete N.disabled, /* @__PURE__ */ x.jsx(
38160
+ }, O) => (delete N.disabled, /* @__PURE__ */ x.jsx(
38142
38161
  er,
38143
38162
  {
38144
38163
  additionalAriaLabel: "Press tab to access the calendar.",
@@ -38156,7 +38175,7 @@ const jz = {
38156
38175
  showLabel: k,
38157
38176
  showRequiredLabel: _,
38158
38177
  value: R,
38159
- ref: r || Z,
38178
+ ref: r || O,
38160
38179
  ...N
38161
38180
  }
38162
38181
  ))
@@ -38207,8 +38226,8 @@ const jz = {
38207
38226
  isInvalid: _,
38208
38227
  isRequired: R,
38209
38228
  labelText: N = "From",
38210
- maxDate: Z,
38211
- minDate: z,
38229
+ maxDate: O,
38230
+ minDate: U,
38212
38231
  nameFrom: P,
38213
38232
  nameTo: I,
38214
38233
  onChange: W,
@@ -38239,8 +38258,8 @@ const jz = {
38239
38258
  }
38240
38259
  }
38241
38260
  ],
38242
- minDate: z ? new Date(z) : null,
38243
- maxDate: Z ? new Date(Z) : null,
38261
+ minDate: U ? new Date(U) : null,
38262
+ maxDate: O ? new Date(O) : null,
38244
38263
  dateFormat: o
38245
38264
  }, o2 = {
38246
38265
  isRequired: R,
@@ -38473,15 +38492,15 @@ const EI = P1(
38473
38492
  variant: y = "standard",
38474
38493
  showIcon: L = !0,
38475
38494
  ...V
38476
- } = r, k = me(i), [S, _] = xe(!0), { colorMode: R } = yS(), N = () => _(!1), Z = N2("Notification", {
38495
+ } = r, k = me(i), [S, _] = xe(!0), { colorMode: R } = yS(), N = () => _(!1), O = N2("Notification", {
38477
38496
  isCentered: p,
38478
38497
  notificationHeading: v,
38479
38498
  variant: y,
38480
38499
  showIcon: L
38481
- }), z = () => {
38500
+ }), U = () => {
38482
38501
  const c1 = {
38483
38502
  size: "large",
38484
- __css: Z.icon
38503
+ __css: O.icon
38485
38504
  };
38486
38505
  if (!L)
38487
38506
  return;
@@ -38525,7 +38544,7 @@ const EI = P1(
38525
38544
  id: `${i}-notification-dismissible-button`,
38526
38545
  onClick: N,
38527
38546
  variant: "text",
38528
- __css: Z.dismissibleButton,
38547
+ __css: O.dismissibleButton,
38529
38548
  children: /* @__PURE__ */ x.jsx(
38530
38549
  S3,
38531
38550
  {
@@ -38537,7 +38556,7 @@ const EI = P1(
38537
38556
  }
38538
38557
  )
38539
38558
  }
38540
- ), W = z(), $ = (v || L) && /* @__PURE__ */ x.jsx(
38559
+ ), W = U(), $ = (v || L) && /* @__PURE__ */ x.jsx(
38541
38560
  $z,
38542
38561
  {
38543
38562
  icon: W,
@@ -38565,10 +38584,10 @@ const EI = P1(
38565
38584
  "data-variant": y,
38566
38585
  id: k,
38567
38586
  ref: a,
38568
- __css: Z,
38587
+ __css: O,
38569
38588
  ...V,
38570
38589
  children: [
38571
- /* @__PURE__ */ x.jsxs(p1, { __css: Z.container, children: [
38590
+ /* @__PURE__ */ x.jsxs(p1, { __css: O.container, children: [
38572
38591
  $,
38573
38592
  e1
38574
38593
  ] }),
@@ -38594,9 +38613,9 @@ const EI = P1(
38594
38613
  showLabel: _ = !0,
38595
38614
  value: R,
38596
38615
  ...N
38597
- } = r, Z = me(s), z = N2("Radio", { showLabel: _ }), P = Qz(), I = re("RadioWrapper"), $ = Wo({
38616
+ } = r, O = me(s), U = N2("Radio", { showLabel: _ }), P = Qz(), I = re("RadioWrapper"), $ = Wo({
38598
38617
  footnote: v ? i : o,
38599
- id: Z,
38618
+ id: O,
38600
38619
  labelText: L,
38601
38620
  name: "Radio",
38602
38621
  showLabel: _
@@ -38606,8 +38625,8 @@ const EI = P1(
38606
38625
  {
38607
38626
  "data-testid": "ds-radio",
38608
38627
  helperText: o,
38609
- helperTextStyles: z.helperErrorText,
38610
- id: Z,
38628
+ helperTextStyles: U.helperErrorText,
38629
+ id: O,
38611
38630
  invalidText: i,
38612
38631
  isInvalid: v,
38613
38632
  showHelperInvalidText: S,
@@ -38616,7 +38635,7 @@ const EI = P1(
38616
38635
  children: /* @__PURE__ */ x.jsx(
38617
38636
  LS,
38618
38637
  {
38619
- id: Z,
38638
+ id: O,
38620
38639
  isChecked: p,
38621
38640
  isDisabled: (P == null ? void 0 : P.isDisabled) || C,
38622
38641
  isInvalid: (P == null ? void 0 : P.isInvalid) || v,
@@ -38626,9 +38645,9 @@ const EI = P1(
38626
38645
  ref: a,
38627
38646
  value: R,
38628
38647
  alignItems: "flex-start",
38629
- sx: z,
38648
+ sx: U,
38630
38649
  ...$,
38631
- children: /* @__PURE__ */ x.jsx(p1, { as: "span", __css: _ ? {} : z.hiddenLabel, children: L })
38650
+ children: /* @__PURE__ */ x.jsx(p1, { as: "span", __css: _ ? {} : U.hiddenLabel, children: L })
38632
38651
  }
38633
38652
  )
38634
38653
  }
@@ -38652,12 +38671,12 @@ const EI = P1(
38652
38671
  name: _,
38653
38672
  onChange: R,
38654
38673
  showHelperInvalidText: N = !0,
38655
- showLabel: Z = !0,
38656
- showRequiredLabel: z = !0,
38674
+ showLabel: O = !0,
38675
+ showRequiredLabel: U = !0,
38657
38676
  ...P
38658
38677
  } = r, [I, W] = r1.useState(s), $ = L ? C : i, J = S === "column" ? Fo.s : Fo.l, e1 = N2("RadioGroup", {
38659
38678
  isFullWidth: y,
38660
- isLegendHidden: !Z
38679
+ isLegendHidden: !O
38661
38680
  }), c1 = {
38662
38681
  "aria-labelledby": `${p}-span-title`,
38663
38682
  name: _,
@@ -38678,7 +38697,7 @@ const EI = P1(
38678
38697
  return /* @__PURE__ */ x.jsxs(p1, { "data-testid": "ds-radioGroup", id: p, __css: e1, ...P, children: [
38679
38698
  /* @__PURE__ */ x.jsxs(p1, { as: "span", id: `${p}-span-title`, __css: e1.spanLegend, children: [
38680
38699
  k,
38681
- z && V && /* @__PURE__ */ x.jsx("span", { children: " (required)" })
38700
+ U && V && /* @__PURE__ */ x.jsx("span", { children: " (required)" })
38682
38701
  ] }),
38683
38702
  /* @__PURE__ */ x.jsx(bS, { ...c1, children: /* @__PURE__ */ x.jsx(
38684
38703
  tr,
@@ -38752,8 +38771,8 @@ const Kz = P1(
38752
38771
  onOpen: _,
38753
38772
  onClose: R,
38754
38773
  ...N
38755
- }, Z) => {
38756
- const z = me(s), [P, I] = Sc(k), [W, $] = Sc(i), [J, e1] = xe(!1), { state: c1, setCategory: d1, setComment: k1, setEmail: M1, clearValues: g1 } = Xz(), y1 = fa(), r2 = S || y1.isOpen, D1 = _ || y1.onOpen, N1 = R || y1.onClose, G1 = i5(), m1 = i5(), S1 = i5(), v1 = N2("FeedbackBox", {}), Q1 = P === "form", q1 = P === "confirmation", j1 = P === "error", x2 = 3e3, n3 = 500, H2 = 165, V2 = "auto 1fr", o2 = W5(null, "dark.ui.typography.body"), l2 = 235, R2 = 275, B2 = 345, b3 = 37, K2 = 24;
38774
+ }, O) => {
38775
+ const U = me(s), [P, I] = Sc(k), [W, $] = Sc(i), [J, e1] = xe(!1), { state: c1, setCategory: d1, setComment: k1, setEmail: M1, clearValues: g1 } = Xz(), y1 = fa(), r2 = S || y1.isOpen, D1 = _ || y1.onOpen, N1 = R || y1.onClose, G1 = i5(), m1 = i5(), S1 = i5(), v1 = N2("FeedbackBox", {}), Q1 = P === "form", q1 = P === "confirmation", j1 = P === "error", x2 = 3e3, n3 = 500, H2 = 165, V2 = "auto 1fr", o2 = W5(null, "dark.ui.typography.body"), l2 = 235, R2 = 275, B2 = 345, b3 = 37, K2 = 24;
38757
38776
  let S2 = H2;
38758
38777
  const F2 = () => {
38759
38778
  N1(), I("form"), g1(), $(!1), setTimeout(() => {
@@ -38815,16 +38834,16 @@ const Kz = P1(
38815
38834
  return /* @__PURE__ */ x.jsxs(
38816
38835
  p1,
38817
38836
  {
38818
- id: z,
38837
+ id: U,
38819
38838
  "data-testid": "ds-feedbackBox",
38820
- ref: Z,
38839
+ ref: O,
38821
38840
  sx: v1,
38822
38841
  ...N,
38823
38842
  children: [
38824
38843
  /* @__PURE__ */ x.jsx(
38825
38844
  j3,
38826
38845
  {
38827
- id: `${z}-feedback-open`,
38846
+ id: `${U}-feedback-open`,
38828
38847
  onClick: D1,
38829
38848
  sx: v1.openButton,
38830
38849
  ref: m1,
@@ -38844,7 +38863,7 @@ const Kz = P1(
38844
38863
  /* @__PURE__ */ x.jsxs(
38845
38864
  j3,
38846
38865
  {
38847
- id: `${z}-feedback-close`,
38866
+ id: `${U}-feedback-close`,
38848
38867
  onClick: F2,
38849
38868
  sx: v1.closeButton,
38850
38869
  variant: "text",
@@ -38862,7 +38881,7 @@ const Kz = P1(
38862
38881
  tx,
38863
38882
  {
38864
38883
  gap: "grid.s",
38865
- id: `${z}-feedback-form`,
38884
+ id: `${U}-feedback-form`,
38866
38885
  onSubmit: m3,
38867
38886
  sx: {
38868
38887
  ".feedback-body": {
@@ -38888,17 +38907,17 @@ const Kz = P1(
38888
38907
  qz,
38889
38908
  {
38890
38909
  defaultValue: c1.category,
38891
- id: `${z}-category`,
38910
+ id: `${U}-category`,
38892
38911
  isDisabled: J,
38893
38912
  labelText: "What is your feedback about?",
38894
- name: `${z}-category`,
38913
+ name: `${U}-category`,
38895
38914
  onChange: (M2) => d1(M2),
38896
38915
  sx: v1.radioGroup,
38897
38916
  children: [
38898
38917
  /* @__PURE__ */ x.jsx(
38899
38918
  Ip,
38900
38919
  {
38901
- id: `${z}-category-comment`,
38920
+ id: `${U}-category-comment`,
38902
38921
  labelText: "Comment",
38903
38922
  value: "comment"
38904
38923
  }
@@ -38906,7 +38925,7 @@ const Kz = P1(
38906
38925
  /* @__PURE__ */ x.jsx(
38907
38926
  Ip,
38908
38927
  {
38909
- id: `${z}-category-correction`,
38928
+ id: `${U}-category-correction`,
38910
38929
  labelText: "Correction",
38911
38930
  value: "correction"
38912
38931
  }
@@ -38914,7 +38933,7 @@ const Kz = P1(
38914
38933
  /* @__PURE__ */ x.jsx(
38915
38934
  Ip,
38916
38935
  {
38917
- id: `${z}-category-bug`,
38936
+ id: `${U}-category-bug`,
38918
38937
  labelText: "Bug",
38919
38938
  value: "bug"
38920
38939
  }
@@ -38927,7 +38946,7 @@ const Kz = P1(
38927
38946
  {
38928
38947
  defaultValue: c1.comment,
38929
38948
  helperText: `${n3 - c1.comment.length} characters remaining`,
38930
- id: `${z}-comment`,
38949
+ id: `${U}-comment`,
38931
38950
  invalidText: "There was a problem. Please fill out this field.",
38932
38951
  isDisabled: J,
38933
38952
  isInvalid: W,
@@ -38936,7 +38955,7 @@ const Kz = P1(
38936
38955
  /* @__PURE__ */ x.jsx("span", { children: "(required)" })
38937
38956
  ] }),
38938
38957
  maxLength: n3,
38939
- name: `${z}-comment`,
38958
+ name: `${U}-comment`,
38940
38959
  onChange: (M2) => k1(M2.target.value),
38941
38960
  placeholder: "Enter your question or feedback here",
38942
38961
  ref: S1,
@@ -38946,12 +38965,12 @@ const Kz = P1(
38946
38965
  L && /* @__PURE__ */ x.jsx(C7, { width: "100%", children: /* @__PURE__ */ x.jsx(
38947
38966
  er,
38948
38967
  {
38949
- id: `${z}-email`,
38968
+ id: `${U}-email`,
38950
38969
  invalidText: "There was a problem. Please enter a valid email address.",
38951
38970
  isDisabled: J,
38952
38971
  isInvalid: p,
38953
38972
  labelText: "Email",
38954
- name: `${z}-email`,
38973
+ name: `${U}-email`,
38955
38974
  onChange: (M2) => M1(M2.target.value),
38956
38975
  placeholder: "Enter your email address here",
38957
38976
  type: "email",
@@ -38964,12 +38983,12 @@ const Kz = P1(
38964
38983
  W0,
38965
38984
  {
38966
38985
  buttonWidth: "full",
38967
- id: `${z}-submit-cancel`,
38986
+ id: `${U}-submit-cancel`,
38968
38987
  children: [
38969
38988
  /* @__PURE__ */ x.jsx(
38970
38989
  j3,
38971
38990
  {
38972
- id: `${z}-cancel`,
38991
+ id: `${U}-cancel`,
38973
38992
  isDisabled: J,
38974
38993
  onClick: F2,
38975
38994
  variant: "secondary",
@@ -38980,7 +38999,7 @@ const Kz = P1(
38980
38999
  /* @__PURE__ */ x.jsx(
38981
39000
  j3,
38982
39001
  {
38983
- id: `${z}-submit`,
39002
+ id: `${U}-submit`,
38984
39003
  isDisabled: J,
38985
39004
  type: "submit",
38986
39005
  children: "Submit"
@@ -39056,26 +39075,26 @@ const Kz = P1(
39056
39075
  W0,
39057
39076
  {
39058
39077
  buttonWidth: "full",
39059
- id: `${z}-submit-cancel`,
39078
+ id: `${U}-submit-cancel`,
39060
39079
  children: [
39061
39080
  /* @__PURE__ */ x.jsx(
39062
39081
  j3,
39063
39082
  {
39064
- id: `${z}-return-browsing2`,
39083
+ id: `${U}-return-browsing2`,
39065
39084
  onClick: F2,
39066
39085
  variant: "secondary",
39067
39086
  children: "Return to Browsing"
39068
39087
  },
39069
- `${z}-return-browsing2`
39088
+ `${U}-return-browsing2`
39070
39089
  ),
39071
39090
  /* @__PURE__ */ x.jsx(
39072
39091
  j3,
39073
39092
  {
39074
- id: `${z}-try-again`,
39093
+ id: `${U}-try-again`,
39075
39094
  onClick: () => I("form"),
39076
39095
  children: "Try Again"
39077
39096
  },
39078
- `${z}-try-again`
39097
+ `${U}-try-again`
39079
39098
  )
39080
39099
  ]
39081
39100
  }
@@ -39206,9 +39225,9 @@ const TI = P1(
39206
39225
  ..._
39207
39226
  } = r, R = me(s), N = N2("FilterBarPopup", {
39208
39227
  width: "full"
39209
- }), Z = {
39228
+ }), O = {
39210
39229
  size: "heading5"
39211
- }, z = p ? typeof p == "string" ? /* @__PURE__ */ x.jsx(b9, { level: "h2", text: p, ...Z }) : r1.cloneElement(p, Z) : null, P = fa(), I = i || P.isOpen, W = y || P.onOpen, $ = L || P.onClose, J = () => {
39230
+ }, U = p ? typeof p == "string" ? /* @__PURE__ */ x.jsx(b9, { level: "h2", text: p, ...O }) : r1.cloneElement(p, O) : null, P = fa(), I = i || P.isOpen, W = y || P.onOpen, $ = L || P.onClose, J = () => {
39212
39231
  v(), $();
39213
39232
  }, e1 = i5(), c1 = () => {
39214
39233
  C(), setTimeout(() => {
@@ -39237,7 +39256,7 @@ const TI = P1(
39237
39256
  children: [
39238
39257
  /* @__PURE__ */ x.jsx(Qp, {}),
39239
39258
  /* @__PURE__ */ x.jsxs(qp, { children: [
39240
- /* @__PURE__ */ x.jsx(Gp, { sx: z ? N.modalHeader : void 0, children: z }),
39259
+ /* @__PURE__ */ x.jsx(Gp, { sx: U ? N.modalHeader : void 0, children: U }),
39241
39260
  /* @__PURE__ */ x.jsx(Xp, { sx: N.modalCloseButton }),
39242
39261
  /* @__PURE__ */ x.jsx(Kp, { sx: N.modalBody, children: /* @__PURE__ */ x.jsx(tr, { direction: "column", rowGap: "s", spacing: "0", children: V({
39243
39262
  isBlockElement: !0,
@@ -39310,15 +39329,15 @@ const DI = P1(
39310
39329
  subHeaderText: _,
39311
39330
  textBackgroundColor: R,
39312
39331
  textColor: N,
39313
- ...Z
39314
- } = r, z = N2("Hero", {
39332
+ ...O
39333
+ } = r, U = N2("Hero", {
39315
39334
  foregroundColor: p,
39316
39335
  isBlurredBackgroundImage: k,
39317
39336
  isDarkBackgroundImage: S,
39318
39337
  isDarkText: V,
39319
39338
  textColor: N,
39320
39339
  variant: v
39321
- }), P = z.heading, I = C && r1.cloneElement(C, { __css: P });
39340
+ }), P = U.heading, I = C && r1.cloneElement(C, { __css: P });
39322
39341
  let W = {}, $ = {};
39323
39342
  const J = /* @__PURE__ */ x.jsx(
39324
39343
  qo,
@@ -39432,7 +39451,7 @@ const DI = P1(
39432
39451
  p1,
39433
39452
  {
39434
39453
  __css: {
39435
- ...z.imgWrapper
39454
+ ...U.imgWrapper
39436
39455
  },
39437
39456
  style: {
39438
39457
  backgroundImage: `/**/url("${L.src}")`
@@ -39440,7 +39459,7 @@ const DI = P1(
39440
39459
  children: J
39441
39460
  }
39442
39461
  ),
39443
- /* @__PURE__ */ x.jsxs(p1, { __css: z.interior, children: [
39462
+ /* @__PURE__ */ x.jsxs(p1, { __css: U.interior, children: [
39444
39463
  I,
39445
39464
  _
39446
39465
  ] })
@@ -39449,21 +39468,21 @@ const DI = P1(
39449
39468
  p1,
39450
39469
  {
39451
39470
  __css: {
39452
- ...z.imgWrapper
39471
+ ...U.imgWrapper
39453
39472
  },
39454
39473
  children: J
39455
39474
  }
39456
39475
  ),
39457
39476
  I,
39458
- v === "tertiary" && _ ? /* @__PURE__ */ x.jsx("p", { children: _ }) : /* @__PURE__ */ x.jsx(p1, { __css: z.bodyText, children: _ })
39477
+ v === "tertiary" && _ ? /* @__PURE__ */ x.jsx("p", { children: _ }) : /* @__PURE__ */ x.jsx(p1, { __css: U.bodyText, children: _ })
39459
39478
  ] }), k1 = /* @__PURE__ */ x.jsx(
39460
39479
  p1,
39461
39480
  {
39462
39481
  "data-testid": "ds-hero-content",
39463
- __css: { ...z.content, ...$ },
39482
+ __css: { ...U.content, ...$ },
39464
39483
  children: d1
39465
39484
  }
39466
- ), M1 = v === "primary" ? /* @__PURE__ */ x.jsx(p1, { "data-testid": "ds-hero-grid", __css: z.grid, children: k1 }) : /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
39485
+ ), M1 = v === "primary" ? /* @__PURE__ */ x.jsx(p1, { "data-testid": "ds-hero-grid", __css: U.grid, children: k1 }) : /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
39467
39486
  v === "campaign" && /* @__PURE__ */ x.jsx(p1, { className: "heroBackgroundImage" }),
39468
39487
  k1
39469
39488
  ] });
@@ -39475,10 +39494,10 @@ const DI = P1(
39475
39494
  id: y,
39476
39495
  ref: a,
39477
39496
  __css: {
39478
- ...z.base,
39497
+ ...U.base,
39479
39498
  ...W
39480
39499
  },
39481
- ...Z,
39500
+ ...O,
39482
39501
  children: M1
39483
39502
  }
39484
39503
  );
@@ -39537,9 +39556,9 @@ const DI = P1(
39537
39556
  return console.warn(
39538
39557
  "NYPL Reservoir List: Pass in either `<li>` children or pass data in the `listItems` prop, not both."
39539
39558
  ), null;
39540
- const R = (N) => o || (p ? N === "ol" || N === "ul" ? p.map((Z, z) => /* @__PURE__ */ x.jsx("li", { children: Z }, z)) : N === "dl" ? p.map((Z, z) => [
39541
- /* @__PURE__ */ x.jsx("dt", { children: Z.term }, `${z}-term`),
39542
- /* @__PURE__ */ x.jsx("dd", { children: Z.description }, `${z}-des`)
39559
+ const R = (N) => o || (p ? N === "ol" || N === "ul" ? p.map((O, U) => /* @__PURE__ */ x.jsx("li", { children: O }, U)) : N === "dl" ? p.map((O, U) => [
39560
+ /* @__PURE__ */ x.jsx("dt", { children: O.term }, `${U}-term`),
39561
+ /* @__PURE__ */ x.jsx("dd", { children: O.description }, `${U}-des`)
39543
39562
  ]) : null : null);
39544
39563
  return L === "ol" || L === "ul" ? _ = /* @__PURE__ */ x.jsx(
39545
39564
  p1,
@@ -40075,7 +40094,7 @@ const NI = P1(
40075
40094
  ($) => $.id === s
40076
40095
  ), [R, N] = xe(
40077
40096
  _ || null
40078
- ), Z = ($, J) => {
40097
+ ), O = ($, J) => {
40079
40098
  J && J($);
40080
40099
  const e1 = y == null ? void 0 : y.find((c1) => c1.id === $);
40081
40100
  N(e1);
@@ -40103,7 +40122,7 @@ const NI = P1(
40103
40122
  ) : console.warn(
40104
40123
  "NYPL Reservoir Menu: The `listItemsData` prop is required."
40105
40124
  );
40106
- const z = ($) => $ ? $.type === "icon" ? /* @__PURE__ */ x.jsx(S3, { name: $.name, size: "medium" }) : /* @__PURE__ */ x.jsx(p1, { w: "1.5rem", h: "1.5rem", children: /* @__PURE__ */ x.jsx(
40125
+ const U = ($) => $ ? $.type === "icon" ? /* @__PURE__ */ x.jsx(S3, { name: $.name, size: "medium" }) : /* @__PURE__ */ x.jsx(p1, { w: "1.5rem", h: "1.5rem", children: /* @__PURE__ */ x.jsx(
40107
40126
  qo,
40108
40127
  {
40109
40128
  alt: $.alt,
@@ -40160,7 +40179,7 @@ const NI = P1(
40160
40179
  {
40161
40180
  isFocusable: !0,
40162
40181
  "data-testid": c1 ? "selected-item" : "",
40163
- onClick: () => Z(e1.id, e1.onClick),
40182
+ onClick: () => O(e1.id, e1.onClick),
40164
40183
  ref: c1 ? W : null,
40165
40184
  sx: {
40166
40185
  ...S.actionItem,
@@ -40175,7 +40194,7 @@ const NI = P1(
40175
40194
  gap: "8px"
40176
40195
  },
40177
40196
  children: [
40178
- z(e1.media),
40197
+ U(e1.media),
40179
40198
  /* @__PURE__ */ x.jsx("span", { children: e1.label })
40180
40199
  ]
40181
40200
  }
@@ -40421,8 +40440,8 @@ const tI = u2((r, a) => {
40421
40440
  onMixedStateChange: _,
40422
40441
  selectedItems: R,
40423
40442
  width: N = "full",
40424
- ...Z
40425
- } = r, z = me(o), [P, I] = xe(!1), W = i5(), $ = i5(), J = i5(), e1 = (B1) => {
40443
+ ...O
40444
+ } = r, U = me(o), [P, I] = xe(!1), W = i5(), $ = i5(), J = i5(), e1 = (B1) => {
40426
40445
  if (B1.type === "mousedown") {
40427
40446
  const T2 = $.current;
40428
40447
  T2 && !T2.contains(B1.target) ? I(!0) : I(!1);
@@ -40444,7 +40463,7 @@ const tI = u2((r, a) => {
40444
40463
  const M1 = y === "expand" ? "unset" : p ? "270px" : "215px", g1 = v.length > C && y === "expand", y1 = r1.useMemo(
40445
40464
  () => g1 ? v.slice(0, C) : v,
40446
40465
  [g1, v, C]
40447
- ), [r2, D1] = xe(y1), [N1, G1] = xe(!0), m1 = ((m3 = R[z]) == null ? void 0 : m3.items.length) || 0, S1 = `item${m1 === 1 ? "" : "s"}`, v1 = `${L}, ${m1} ${S1} currently selected`, Q1 = N2("MultiSelect", {
40466
+ ), [r2, D1] = xe(y1), [N1, G1] = xe(!0), m1 = ((m3 = R[U]) == null ? void 0 : m3.items.length) || 0, S1 = `item${m1 === 1 ? "" : "s"}`, v1 = `${L}, ${m1} ${S1} currently selected`, Q1 = N2("MultiSelect", {
40448
40467
  isBlockElement: s,
40449
40468
  width: N
40450
40469
  }), q1 = (B1, T2) => R[B1] ? !!R[B1].items.find(
@@ -40490,7 +40509,7 @@ const tI = u2((r, a) => {
40490
40509
  {
40491
40510
  variant: "text",
40492
40511
  fontSize: "desktop.button.default",
40493
- id: `${z}-view-all-text-btn`,
40512
+ id: `${U}-view-all-text-btn`,
40494
40513
  ref: J,
40495
40514
  onClick: l2,
40496
40515
  __css: Q1.viewAllButton,
@@ -40510,12 +40529,12 @@ const tI = u2((r, a) => {
40510
40529
  labelText: B2(B1),
40511
40530
  name: B1.name,
40512
40531
  ..._ !== void 0 ? {
40513
- isChecked: j1(z, B1),
40514
- isIndeterminate: x2(z, B1),
40532
+ isChecked: j1(U, B1),
40533
+ isIndeterminate: x2(U, B1),
40515
40534
  onChange: _,
40516
40535
  isDisabled: n3(B1)
40517
40536
  } : {
40518
- isChecked: q1(z, B1.id),
40537
+ isChecked: q1(U, B1.id),
40519
40538
  isDisabled: n3(B1),
40520
40539
  onChange: k
40521
40540
  }
@@ -40530,7 +40549,7 @@ const tI = u2((r, a) => {
40530
40549
  labelText: B2(T2),
40531
40550
  name: T2.name,
40532
40551
  isDisabled: T2.isDisabled,
40533
- isChecked: q1(z, T2.id),
40552
+ isChecked: q1(U, T2.id),
40534
40553
  onChange: k,
40535
40554
  __css: Q1.menuChildren
40536
40555
  },
@@ -40544,7 +40563,7 @@ const tI = u2((r, a) => {
40544
40563
  labelText: B2(B1),
40545
40564
  name: B1.name,
40546
40565
  isDisabled: B1.isDisabled,
40547
- isChecked: q1(z, B1.id),
40566
+ isChecked: q1(U, B1.id),
40548
40567
  onChange: k
40549
40568
  },
40550
40569
  B1.id
@@ -40560,7 +40579,7 @@ const tI = u2((r, a) => {
40560
40579
  ), S2 = /* @__PURE__ */ x.jsx(
40561
40580
  er,
40562
40581
  {
40563
- id: `${z}-textInput`,
40582
+ id: `${U}-textInput`,
40564
40583
  labelText: `Search ${L}`,
40565
40584
  isClearable: !0,
40566
40585
  isClearableCallback: o2,
@@ -40586,7 +40605,7 @@ const tI = u2((r, a) => {
40586
40605
  /* @__PURE__ */ x.jsx(
40587
40606
  zB,
40588
40607
  {
40589
- id: `${z}-checkboxGroup`,
40608
+ id: `${U}-checkboxGroup`,
40590
40609
  layout: "column",
40591
40610
  isFullWidth: !0,
40592
40611
  isRequired: !1,
@@ -40605,11 +40624,11 @@ const tI = u2((r, a) => {
40605
40624
  p1,
40606
40625
  {
40607
40626
  "data-testid": "ds-multiSelect",
40608
- id: z,
40627
+ id: U,
40609
40628
  ref: $,
40610
40629
  onClick: () => I(!1),
40611
40630
  __css: Q1.base,
40612
- ...Z,
40631
+ ...O,
40613
40632
  children: [
40614
40633
  /* @__PURE__ */ x.jsx(
40615
40634
  pB,
@@ -40624,7 +40643,7 @@ const tI = u2((r, a) => {
40624
40643
  }
40625
40644
  ],
40626
40645
  "aria-label": v1,
40627
- id: `${z}-accordion`,
40646
+ id: `${U}-accordion`,
40628
40647
  isDefaultOpen: i,
40629
40648
  isAlwaysRendered: !0,
40630
40649
  userClickedOutside: P,
@@ -40637,7 +40656,7 @@ const tI = u2((r, a) => {
40637
40656
  m1 > 0 && /* @__PURE__ */ x.jsx(
40638
40657
  tI,
40639
40658
  {
40640
- id: z,
40659
+ id: U,
40641
40660
  multiSelectLabelText: L,
40642
40661
  isOpen: i,
40643
40662
  selectedItemsString: S1,
@@ -40753,8 +40772,8 @@ const tI = u2((r, a) => {
40753
40772
  valueEmail: _,
40754
40773
  title: R,
40755
40774
  view: N = "form",
40756
- ...Z
40757
- }, z) => {
40775
+ ...O
40776
+ }, U) => {
40758
40777
  const P = me(C), I = N2("NewsletterSignup", {
40759
40778
  highlightColor: y
40760
40779
  }), W = W5(null, "dark.ui.typography.body"), $ = W5(
@@ -40778,9 +40797,9 @@ const tI = u2((r, a) => {
40778
40797
  direction: { base: "column", md: "row" },
40779
40798
  id: P,
40780
40799
  gap: "0",
40781
- ref: z,
40800
+ ref: U,
40782
40801
  __css: I,
40783
- ...Z,
40802
+ ...O,
40784
40803
  children: [
40785
40804
  /* @__PURE__ */ x.jsxs(
40786
40805
  Yp,
@@ -40888,12 +40907,12 @@ const tI = u2((r, a) => {
40888
40907
  ), s && o && console.warn(
40889
40908
  "NYPL Reservoir Pagination: The `currentPage` prop does not work with the `getPageHref` prop. Use `currentPage` with `onPageChange` instead."
40890
40909
  );
40891
- const N = typeof s < "u" && typeof s == "function", Z = (c1, d1) => {
40910
+ const N = typeof s < "u" && typeof s == "function", O = (c1, d1) => {
40892
40911
  c1.preventDefault && c1.preventDefault(), V !== d1 && (k(d1), C && C(d1));
40893
- }, z = (c1) => {
40894
- V > 1 && Z(c1, _);
40912
+ }, U = (c1) => {
40913
+ V > 1 && O(c1, _);
40895
40914
  }, P = (c1) => {
40896
- V < v && Z(c1, R);
40915
+ V < v && O(c1, R);
40897
40916
  }, I = ({
40898
40917
  pageNumber: c1,
40899
40918
  text: d1,
@@ -40906,7 +40925,7 @@ const tI = u2((r, a) => {
40906
40925
  "aria-label": `${M1 ? "Previous" : "Next"} page`,
40907
40926
  "aria-disabled": k1,
40908
40927
  href: N ? s(c1) : "#",
40909
- onClick: N ? void 0 : M1 ? z : P,
40928
+ onClick: N ? void 0 : M1 ? U : P,
40910
40929
  variant: "action",
40911
40930
  __css: {
40912
40931
  ...S.link,
@@ -40995,7 +41014,7 @@ const tI = u2((r, a) => {
40995
41014
  href: N ? s(c1) : "#",
40996
41015
  "aria-label": `Page ${c1}`,
40997
41016
  "aria-current": d1 ? "page" : void 0,
40998
- onClick: N ? void 0 : (M1) => Z(M1, c1),
41017
+ onClick: N ? void 0 : (M1) => O(M1, c1),
40999
41018
  __css: {
41000
41019
  ...S.link,
41001
41020
  ...k1,
@@ -41117,7 +41136,7 @@ const tI = u2((r, a) => {
41117
41136
  // If `isIndeterminate` is true, then it overrides the `value` prop.
41118
41137
  isIndeterminate: i || void 0,
41119
41138
  value: i ? void 0 : R
41120
- }, Z = (z) => z === "circular" ? /* @__PURE__ */ x.jsxs(p1, { __css: _.circularContainer, children: [
41139
+ }, O = (U) => U === "circular" ? /* @__PURE__ */ x.jsxs(p1, { __css: _.circularContainer, children: [
41121
41140
  /* @__PURE__ */ x.jsx(RS, { ...N, sx: _.circular, children: v && !i && y !== "small" && /* @__PURE__ */ x.jsxs(ZS, { children: [
41122
41141
  R,
41123
41142
  "%"
@@ -41157,7 +41176,7 @@ const tI = u2((r, a) => {
41157
41176
  ref: a,
41158
41177
  __css: _,
41159
41178
  ...V,
41160
- children: Z(s)
41179
+ children: O(s)
41161
41180
  }
41162
41181
  );
41163
41182
  })
@@ -41179,15 +41198,15 @@ const tI = u2((r, a) => {
41179
41198
  name: _,
41180
41199
  onChange: R,
41181
41200
  placeholder: N,
41182
- variant: Z = "default",
41183
- showHelperInvalidText: z = !0,
41201
+ variant: O = "default",
41202
+ showHelperInvalidText: U = !0,
41184
41203
  showLabel: P = !0,
41185
41204
  showRequiredLabel: I = !0,
41186
41205
  requiredLabelText: W,
41187
41206
  value: $ = "",
41188
41207
  ...J
41189
41208
  } = r, e1 = me(C), [c1, d1] = xe(0), k1 = i5(null), M1 = N2("ReservoirSelect", {
41190
- variant: Z,
41209
+ variant: O,
41191
41210
  labelPosition: k,
41192
41211
  labelWidth: c1,
41193
41212
  showLabel: P
@@ -41222,7 +41241,7 @@ const tI = u2((r, a) => {
41222
41241
  id: e1,
41223
41242
  invalidText: g1,
41224
41243
  isInvalid: L,
41225
- showHelperInvalidText: z,
41244
+ showHelperInvalidText: U,
41226
41245
  __css: M1,
41227
41246
  ...J,
41228
41247
  children: /* @__PURE__ */ x.jsxs(p1, { __css: k === "inline" && M1.inline, children: [
@@ -41286,30 +41305,30 @@ const tI = u2((r, a) => {
41286
41305
  method: _,
41287
41306
  noBrandButtonType: R = !1,
41288
41307
  onSubmit: N,
41289
- selectProps: Z,
41290
- textInputElement: z,
41308
+ selectProps: O,
41309
+ textInputElement: U,
41291
41310
  textInputProps: P,
41292
41311
  ...I
41293
- } = r, W = me(v), J = N2("SearchBar", { hasSelectElem: !!Z }), e1 = {
41312
+ } = r, W = me(v), J = N2("SearchBar", { hasSelectElem: !!O }), e1 = {
41294
41313
  helperText: "",
41295
41314
  isDisabled: L,
41296
41315
  isInvalid: V,
41297
41316
  isRequired: k,
41298
41317
  showHelperInvalidText: !1,
41299
41318
  showLabel: !1
41300
- }, c1 = V ? y : C, d1 = c1 ? `${S} - ${c1}` : S, M1 = `${(P == null ? void 0 : P.placeholder) || "Search terms"} ${k ? "(required)" : ""}`, g1 = R ? "noBrand" : "primary", y1 = Z && /* @__PURE__ */ x.jsx(
41319
+ }, c1 = V ? y : C, d1 = c1 ? `${S} - ${c1}` : S, M1 = `${(P == null ? void 0 : P.placeholder) || "Search terms"} ${k ? "(required)" : ""}`, g1 = R ? "noBrand" : "primary", y1 = O && /* @__PURE__ */ x.jsx(
41301
41320
  rI,
41302
41321
  {
41303
- id: `${(Z == null ? void 0 : Z.id) || W}-select`,
41304
- labelText: Z == null ? void 0 : Z.labelText,
41305
- name: Z == null ? void 0 : Z.name,
41306
- onChange: Z == null ? void 0 : Z.onChange,
41322
+ id: `${(O == null ? void 0 : O.id) || W}-select`,
41323
+ labelText: O == null ? void 0 : O.labelText,
41324
+ name: O == null ? void 0 : O.name,
41325
+ onChange: O == null ? void 0 : O.onChange,
41307
41326
  variant: "searchbar",
41308
- value: Z == null ? void 0 : Z.value,
41327
+ value: O == null ? void 0 : O.value,
41309
41328
  __css: J.select,
41310
41329
  "data-select": !0,
41311
41330
  ...e1,
41312
- children: Z == null ? void 0 : Z.optionsData.map((G1) => /* @__PURE__ */ x.jsx("option", { value: G1.value, children: G1.text }, G1.value))
41331
+ children: O == null ? void 0 : O.optionsData.map((G1) => /* @__PURE__ */ x.jsx("option", { value: G1.value, children: G1.text }, G1.value))
41313
41332
  }
41314
41333
  ), r2 = P && /* @__PURE__ */ x.jsx(
41315
41334
  er,
@@ -41349,7 +41368,7 @@ const tI = u2((r, a) => {
41349
41368
  /* @__PURE__ */ x.jsx("span", { children: "Search" })
41350
41369
  ]
41351
41370
  }
41352
- ), N1 = z || r2;
41371
+ ), N1 = U || r2;
41353
41372
  return /* @__PURE__ */ x.jsx(
41354
41373
  X7,
41355
41374
  {
@@ -41407,11 +41426,11 @@ const tI = u2((r, a) => {
41407
41426
  showImage: k,
41408
41427
  variant: v
41409
41428
  }), N = ({
41410
- type: Z,
41411
- size: z = 1,
41429
+ type: O,
41430
+ size: U = 1,
41412
41431
  lastWidth: P = "80%"
41413
- }) => new Array(z).fill(null).map((I, W) => {
41414
- const $ = W === z - 1 ? P : "100%", J = W === z - 1 && Z === "content" ? "0" : void 0;
41432
+ }) => new Array(U).fill(null).map((I, W) => {
41433
+ const $ = W === U - 1 ? P : "100%", J = W === U - 1 && O === "content" ? "0" : void 0;
41415
41434
  return /* @__PURE__ */ x.jsx(
41416
41435
  up,
41417
41436
  {
@@ -41420,12 +41439,12 @@ const tI = u2((r, a) => {
41420
41439
  children: /* @__PURE__ */ x.jsx(
41421
41440
  p1,
41422
41441
  {
41423
- __css: R[Z],
41442
+ __css: R[O],
41424
41443
  style: { marginBottom: J }
41425
41444
  }
41426
41445
  )
41427
41446
  },
41428
- `${Z}-${W}`
41447
+ `${O}-${W}`
41429
41448
  );
41430
41449
  });
41431
41450
  return /* @__PURE__ */ x.jsxs(
@@ -41503,8 +41522,8 @@ const tI = u2((r, a) => {
41503
41522
  name: _,
41504
41523
  onChange: R,
41505
41524
  onChangeEnd: N,
41506
- showBoxes: Z = !0,
41507
- showHelperInvalidText: z = !0,
41525
+ showBoxes: O = !0,
41526
+ showHelperInvalidText: U = !0,
41508
41527
  showLabel: P = !0,
41509
41528
  showRequiredLabel: I = !0,
41510
41529
  showValues: W = !0,
@@ -41528,7 +41547,7 @@ const tI = u2((r, a) => {
41528
41547
  const g1 = N2("ReservoirSlider", {
41529
41548
  isDisabled: C,
41530
41549
  isInvalid: M1,
41531
- showBoxes: Z,
41550
+ showBoxes: O,
41532
41551
  showValues: W
41533
41552
  }), y1 = {
41534
41553
  // Don't focus on the thumbs for every small change.
@@ -41637,7 +41656,7 @@ const tI = u2((r, a) => {
41637
41656
  invalidText: p,
41638
41657
  isInvalid: M1,
41639
41658
  ref: a,
41640
- showHelperInvalidText: z,
41659
+ showHelperInvalidText: U,
41641
41660
  __css: g1,
41642
41661
  ...e1,
41643
41662
  children: [
@@ -41645,17 +41664,17 @@ const tI = u2((r, a) => {
41645
41664
  Io,
41646
41665
  {
41647
41666
  id: `${c1}-label`,
41648
- htmlFor: Z ? `${c1}-textInput-${y ? "start" : "end"}` : "",
41667
+ htmlFor: O ? `${c1}-textInput-${y ? "start" : "end"}` : "",
41649
41668
  isRequired: I && L,
41650
41669
  children: V
41651
41670
  }
41652
41671
  ),
41653
41672
  /* @__PURE__ */ x.jsxs(p1, { __css: g1.container, children: [
41654
- Z && y && D1("start"),
41673
+ O && y && D1("start"),
41655
41674
  W && /* @__PURE__ */ x.jsx(p1, { __css: g1.leftValue, children: S }),
41656
41675
  N1(),
41657
41676
  W && /* @__PURE__ */ x.jsx(p1, { __css: g1.rightValue, children: k }),
41658
- Z && D1("end")
41677
+ O && D1("end")
41659
41678
  ] })
41660
41679
  ]
41661
41680
  }
@@ -42073,10 +42092,10 @@ const XI = ({
42073
42092
  (_.length === 0 || R.length === 0) && console.warn(
42074
42093
  "NYPL Reservoir Tabs: Pass data in the `contentData` props or as children."
42075
42094
  );
42076
- const N = _[0] ? ($ = _[0]) == null ? void 0 : $.props : _.props, Z = () => {
42095
+ const N = _[0] ? ($ = _[0]) == null ? void 0 : $.props : _.props, O = () => {
42077
42096
  const J = L === 0 ? N.children.length - 1 : L - 1;
42078
42097
  V(J);
42079
- }, z = () => {
42098
+ }, U = () => {
42080
42099
  const J = L === N.children.length - 1 ? 0 : L + 1;
42081
42100
  V(J);
42082
42101
  }, P = /* @__PURE__ */ x.jsx(
@@ -42084,7 +42103,7 @@ const XI = ({
42084
42103
  {
42085
42104
  "aria-label": "Scroll tabs left",
42086
42105
  id: `${S}-tabs-previous`,
42087
- onClick: Z,
42106
+ onClick: O,
42088
42107
  __css: {
42089
42108
  ...k.buttonArrows,
42090
42109
  left: "0"
@@ -42105,7 +42124,7 @@ const XI = ({
42105
42124
  {
42106
42125
  "aria-label": "Scroll tabs right",
42107
42126
  id: `${S}-tabs-next`,
42108
- onClick: z,
42127
+ onClick: U,
42109
42128
  __css: {
42110
42129
  ...k.buttonArrows,
42111
42130
  right: "0"
@@ -42384,7 +42403,7 @@ const t$ = P1(
42384
42403
  onChange: S = dI,
42385
42404
  size: _ = "default",
42386
42405
  ...R
42387
- } = r, N = me(i), Z = N2("Toggle", { isDisabled: v, size: _ }), z = re("Switch", { size: _ }), I = Wo({
42406
+ } = r, N = me(i), O = N2("Toggle", { isDisabled: v, size: _ }), U = re("Switch", { size: _ }), I = Wo({
42388
42407
  footnote: y ? p : s,
42389
42408
  id: N,
42390
42409
  labelText: V,
@@ -42396,12 +42415,12 @@ const t$ = P1(
42396
42415
  {
42397
42416
  "data-testid": "ds-toggle",
42398
42417
  helperText: s,
42399
- helperTextStyles: Z.helperErrorText,
42418
+ helperTextStyles: O.helperErrorText,
42400
42419
  id: N,
42401
42420
  invalidText: p,
42402
42421
  isInvalid: y,
42403
42422
  ...R,
42404
- children: /* @__PURE__ */ x.jsx(p1, { __css: Z, children: /* @__PURE__ */ x.jsx(
42423
+ children: /* @__PURE__ */ x.jsx(p1, { __css: O, children: /* @__PURE__ */ x.jsx(
42405
42424
  YS,
42406
42425
  {
42407
42426
  id: N,
@@ -42419,7 +42438,7 @@ const t$ = P1(
42419
42438
  defaultChecked: o
42420
42439
  },
42421
42440
  ...I,
42422
- __css: z,
42441
+ __css: U,
42423
42442
  children: V
42424
42443
  }
42425
42444
  ) })
@@ -42441,25 +42460,25 @@ const t$ = P1(
42441
42460
  videoId: V,
42442
42461
  videoType: k,
42443
42462
  ...S
42444
- } = r, _ = k === "vimeo" ? y || "Vimeo video player" : y || "YouTube video player", R = k === "vimeo" ? `https://player.vimeo.com/video/${V}?autoplay=0&loop=0` : `https://www.youtube.com/embed/${V}?disablekb=1&autoplay=0&fs=1&modestbranding=0`, N = y ? `${y}` : "Video player", Z = i && i.includes("<iframe") && !i.includes("title=") ? i.replace(
42463
+ } = r, _ = k === "vimeo" ? y || "Vimeo video player" : y || "YouTube video player", R = k === "vimeo" ? `https://player.vimeo.com/video/${V}?autoplay=0&loop=0` : `https://www.youtube.com/embed/${V}?disablekb=1&autoplay=0&fs=1&modestbranding=0`, N = y ? `${y}` : "Video player", O = i && i.includes("<iframe") && !i.includes("title=") ? i.replace(
42445
42464
  "<iframe ",
42446
42465
  `<iframe title="${N}" `
42447
- ) : i, z = "<strong>Error:</strong> This video player has not been configured properly. Please contact the site administrator.";
42466
+ ) : i, U = "<strong>Error:</strong> This video player has not been configured properly. Please contact the site administrator.";
42448
42467
  let P = !1;
42449
- !Z && !k && !V ? (console.warn(
42468
+ !O && !k && !V ? (console.warn(
42450
42469
  "NYPL Reservoir VideoPlayer: Pass in either the `embedCode` prop or both the `videoType` and `videoId` props; none were passed."
42451
- ), P = !0) : !Z && !k ? (console.warn(
42470
+ ), P = !0) : !O && !k ? (console.warn(
42452
42471
  "NYPL Reservoir VideoPlayer: The `videoType` prop is also required. Only the `videoId` prop was set."
42453
- ), P = !0) : !Z && !V ? (console.warn(
42472
+ ), P = !0) : !O && !V ? (console.warn(
42454
42473
  "NYPL Reservoir VideoPlayer: The `videoId` prop is also required. Only the `videoType` prop was set."
42455
- ), P = !0) : Z && (k || V) && (console.warn(
42474
+ ), P = !0) : O && (k || V) && (console.warn(
42456
42475
  "NYPL Reservoir VideoPlayer: Pass in either the `embedCode` prop or both the `videoType` and `videoId` props; all were set."
42457
42476
  ), P = !0), V && (V.includes("://") || V.includes("http") || V.includes(".") || V.includes("youtube") || V.includes("vimeo")) && (console.warn(
42458
42477
  "NYPL Reservoir VideoPlayer: The `videoId` prop is not configured properly."
42459
- ), P = !0), Z && (!Z.includes("vimeo.com") && !Z.includes("youtube.com") || !Z.includes("<iframe") || !Z.includes("</iframe")) && (console.warn(
42478
+ ), P = !0), O && (!O.includes("vimeo.com") && !O.includes("youtube.com") || !O.includes("<iframe") || !O.includes("</iframe")) && (console.warn(
42460
42479
  "NYPL Reservoir VideoPlayer: The `embedCode` prop is not configured properly."
42461
42480
  ), P = !0);
42462
- const W = N2("VideoPlayer", { variant: P ? "invalid" : o }), $ = Z ? /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: Z } }) : /* @__PURE__ */ x.jsx(
42481
+ const W = N2("VideoPlayer", { variant: P ? "invalid" : o }), $ = O ? /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: O } }) : /* @__PURE__ */ x.jsx(
42463
42482
  p1,
42464
42483
  {
42465
42484
  as: "iframe",
@@ -42480,7 +42499,7 @@ const t$ = P1(
42480
42499
  __css: W.base,
42481
42500
  ...S,
42482
42501
  children: [
42483
- P ? /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: z } }) : /* @__PURE__ */ x.jsx(
42502
+ P ? /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: U } }) : /* @__PURE__ */ x.jsx(
42484
42503
  X7,
42485
42504
  {
42486
42505
  descriptionText: s || void 0,