@happeouikit/form-elements 2.3.37 → 2.3.39

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.
package/dist/index.es.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { jsxs as Me, jsx as V } from "react/jsx-runtime";
2
2
  import * as R from "react";
3
- import k, { useEffect as Ze, useState as se, forwardRef as ba, useContext as ll, Component as ya, createContext as cl, useCallback as ie, useMemo as We, Fragment as Cn, useRef as _e, useImperativeHandle as dl } from "react";
3
+ import k, { useEffect as Ze, useState as se, forwardRef as ba, useContext as ll, Component as ya, createContext as cl, useCallback as q, useMemo as We, Fragment as Cn, useRef as _e, useImperativeHandle as dl } from "react";
4
4
  import A, { css as jt } from "styled-components";
5
5
  import { sansFamily as Ft, BodyUI as pe, TinyText as Jr, TextEpsilon as fl } from "@happeouikit/typography";
6
6
  import { IconAlertCircleOutline as hl, IconArrowDropDown as pl, IconCheck as Co, IconRemove as ml, IconClose as gl, IconCalendar as vl, IconChevronLeft as bl, IconChevronRight as yl, IconError as Il, IconSearch as xo } from "@happeouikit/icons";
7
7
  import { createPortal as Cl } from "react-dom";
8
- import { gray06 as qt, gray04 as Ia, active as re, toBgLight as Ut, gray05 as wo, gray01 as xn, white as Gt, gray03 as xl, lighten as wl, black as Dl, lighten40 as Ml, gray07 as kl } from "@happeouikit/colors";
8
+ import { gray06 as qt, gray04 as Ia, active as ae, toBgLight as Ut, gray05 as wo, gray01 as xn, white as Gt, gray03 as xl, lighten as wl, black as Dl, lighten40 as Ml, gray07 as kl } from "@happeouikit/colors";
9
9
  import { screen as Sl, shadow500 as El, radius500 as Al, radius400 as Nl, shadow400 as _l } from "@happeouikit/theme";
10
10
  import O from "prop-types";
11
11
  import { defineMessages as Do, useIntl as Wt } from "react-intl";
@@ -920,7 +920,7 @@ function kc() {
920
920
  }
921
921
  }
922
922
  }
923
- var b = u, D = l, w = s, T = o, E = t, J = c, z = n, ae = f, oe = h, F = r, K = i, Ee = a, xe = d, Ae = !1;
923
+ var b = u, D = l, w = s, T = o, E = t, J = c, z = n, ie = f, oe = h, F = r, K = i, Ee = a, xe = d, Ae = !1;
924
924
  function Ke(N) {
925
925
  return Ae || (Ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Ve(N) || M(N) === u;
926
926
  }
@@ -960,7 +960,7 @@ function kc() {
960
960
  function Gn(N) {
961
961
  return M(N) === d;
962
962
  }
963
- U.AsyncMode = b, U.ConcurrentMode = D, U.ContextConsumer = w, U.ContextProvider = T, U.Element = E, U.ForwardRef = J, U.Fragment = z, U.Lazy = ae, U.Memo = oe, U.Portal = F, U.Profiler = K, U.StrictMode = Ee, U.Suspense = xe, U.isAsyncMode = Ke, U.isConcurrentMode = Ve, U.isContextConsumer = ut, U.isContextProvider = he, U.isElement = ve, U.isForwardRef = qe, U.isFragment = et, U.isLazy = Te, U.isMemo = Fe, U.isPortal = St, U.isProfiler = Vt, U.isStrictMode = Tr, U.isSuspense = Gn, U.isValidElementType = I, U.typeOf = M;
963
+ U.AsyncMode = b, U.ConcurrentMode = D, U.ContextConsumer = w, U.ContextProvider = T, U.Element = E, U.ForwardRef = J, U.Fragment = z, U.Lazy = ie, U.Memo = oe, U.Portal = F, U.Profiler = K, U.StrictMode = Ee, U.Suspense = xe, U.isAsyncMode = Ke, U.isConcurrentMode = Ve, U.isContextConsumer = ut, U.isContextProvider = he, U.isElement = ve, U.isForwardRef = qe, U.isFragment = et, U.isLazy = Te, U.isMemo = Fe, U.isPortal = St, U.isProfiler = Vt, U.isStrictMode = Tr, U.isSuspense = Gn, U.isValidElementType = I, U.typeOf = M;
964
964
  }()), U;
965
965
  }
966
966
  var $ = {};
@@ -1742,7 +1742,7 @@ function Vi(e, t) {
1742
1742
  }
1743
1743
  return r;
1744
1744
  }
1745
- function ne(e) {
1745
+ function re(e) {
1746
1746
  for (var t = 1; t < arguments.length; t++) {
1747
1747
  var r = arguments[t] != null ? arguments[t] : {};
1748
1748
  t % 2 ? Vi(Object(r), !0).forEach(function(n) {
@@ -1811,7 +1811,7 @@ var Li = function(t) {
1811
1811
  }, Uo = function(t) {
1812
1812
  t.className, t.clearValue, t.cx, t.getStyles, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
1813
1813
  var r = an(t, ld);
1814
- return ne({}, r);
1814
+ return re({}, r);
1815
1815
  };
1816
1816
  function Ba(e) {
1817
1817
  return [document.documentElement, document.body, window].indexOf(e) > -1;
@@ -1899,7 +1899,7 @@ function Cd(e) {
1899
1899
  };
1900
1900
  if (!r || !r.offsetParent)
1901
1901
  return c;
1902
- var d = l.getBoundingClientRect(), p = d.height, h = r.getBoundingClientRect(), f = h.bottom, m = h.height, g = h.top, v = r.offsetParent.getBoundingClientRect(), y = v.top, I = window.innerHeight, M = $o(l), b = parseInt(getComputedStyle(r).marginBottom, 10), D = parseInt(getComputedStyle(r).marginTop, 10), w = y - D, T = I - g, E = w + M, J = p - M - g, z = f - I + M + b, ae = M + g - D, oe = 160;
1902
+ var d = l.getBoundingClientRect(), p = d.height, h = r.getBoundingClientRect(), f = h.bottom, m = h.height, g = h.top, v = r.offsetParent.getBoundingClientRect(), y = v.top, I = window.innerHeight, M = $o(l), b = parseInt(getComputedStyle(r).marginBottom, 10), D = parseInt(getComputedStyle(r).marginTop, 10), w = y - D, T = I - g, E = w + M, J = p - M - g, z = f - I + M + b, ie = M + g - D, oe = 160;
1903
1903
  switch (a) {
1904
1904
  case "auto":
1905
1905
  case "bottom":
@@ -1941,13 +1941,13 @@ function Cd(e) {
1941
1941
  maxHeight: t
1942
1942
  };
1943
1943
  if (E >= m && !o)
1944
- return i && Vn(l, ae, oe), {
1944
+ return i && Vn(l, ie, oe), {
1945
1945
  placement: "top",
1946
1946
  maxHeight: t
1947
1947
  };
1948
1948
  if (!o && E >= n || o && w >= n) {
1949
1949
  var xe = t;
1950
- return (!o && E >= n || o && w >= n) && (xe = o ? w - D : E - D), i && Vn(l, ae, oe), {
1950
+ return (!o && E >= n || o && w >= n) && (xe = o ? w - D : E - D), i && Vn(l, ie, oe), {
1951
1951
  placement: "top",
1952
1952
  maxHeight: xe
1953
1953
  };
@@ -2004,7 +2004,7 @@ var oa = function(t) {
2004
2004
  }
2005
2005
  }, n.getUpdatedProps = function() {
2006
2006
  var s = n.props.menuPlacement, u = n.state.placement || oa(s);
2007
- return ne(ne({}, n.props), {}, {
2007
+ return re(re({}, n.props), {}, {
2008
2008
  placement: u,
2009
2009
  maxHeight: n.state.maxHeight
2010
2010
  });
@@ -2405,7 +2405,7 @@ var Ud = function(t) {
2405
2405
  }, o));
2406
2406
  }, tf = ["innerRef", "isDisabled", "isHidden", "inputClassName"], nf = function(t) {
2407
2407
  var r = t.isDisabled, n = t.value, a = t.theme, i = a.spacing, o = a.colors;
2408
- return ne({
2408
+ return re({
2409
2409
  margin: i.baseUnit / 2,
2410
2410
  paddingBottom: i.baseUnit / 2,
2411
2411
  paddingTop: i.baseUnit / 2,
@@ -2428,13 +2428,13 @@ var Ud = function(t) {
2428
2428
  display: "inline-grid",
2429
2429
  gridArea: "1 / 1 / 2 / 3",
2430
2430
  gridTemplateColumns: "0 min-content",
2431
- "&:after": ne({
2431
+ "&:after": re({
2432
2432
  content: 'attr(data-value) " "',
2433
2433
  visibility: "hidden",
2434
2434
  whiteSpace: "pre"
2435
2435
  }, os)
2436
2436
  }, af = function(t) {
2437
- return ne({
2437
+ return re({
2438
2438
  label: "input",
2439
2439
  color: "inherit",
2440
2440
  background: 0,
@@ -2512,7 +2512,7 @@ var hf = function(t) {
2512
2512
  var g = m.css, v = m.cx;
2513
2513
  return P(p, {
2514
2514
  data: o,
2515
- innerProps: ne({
2515
+ innerProps: re({
2516
2516
  className: v(g(s("multiValue", t)), i({
2517
2517
  "multi-value": !0,
2518
2518
  "multi-value--is-disabled": l
@@ -2529,7 +2529,7 @@ var hf = function(t) {
2529
2529
  selectProps: d
2530
2530
  }, r), P(f, {
2531
2531
  data: o,
2532
- innerProps: ne({
2532
+ innerProps: re({
2533
2533
  className: v(g(s("multiValueRemove", t)), i({
2534
2534
  "multi-value__remove": !0
2535
2535
  }, n)),
@@ -2635,7 +2635,7 @@ var hf = function(t) {
2635
2635
  SingleValue: yf,
2636
2636
  ValueContainer: Td
2637
2637
  }, If = function(t) {
2638
- return ne(ne({}, Sn), t.components);
2638
+ return re(re({}, Sn), t.components);
2639
2639
  };
2640
2640
  function Cf(e) {
2641
2641
  if (Array.isArray(e))
@@ -2687,21 +2687,21 @@ function Rr(e, t) {
2687
2687
  }
2688
2688
  var Df = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
2689
2689
  function Mf(e) {
2690
- var t = e.defaultInputValue, r = t === void 0 ? "" : t, n = e.defaultMenuIsOpen, a = n === void 0 ? !1 : n, i = e.defaultValue, o = i === void 0 ? null : i, s = e.inputValue, u = e.menuIsOpen, l = e.onChange, c = e.onInputChange, d = e.onMenuClose, p = e.onMenuOpen, h = e.value, f = an(e, Df), m = se(s !== void 0 ? s : r), g = Rr(m, 2), v = g[0], y = g[1], I = se(u !== void 0 ? u : a), M = Rr(I, 2), b = M[0], D = M[1], w = se(h !== void 0 ? h : o), T = Rr(w, 2), E = T[0], J = T[1], z = ie(function(Ae, Ke) {
2690
+ var t = e.defaultInputValue, r = t === void 0 ? "" : t, n = e.defaultMenuIsOpen, a = n === void 0 ? !1 : n, i = e.defaultValue, o = i === void 0 ? null : i, s = e.inputValue, u = e.menuIsOpen, l = e.onChange, c = e.onInputChange, d = e.onMenuClose, p = e.onMenuOpen, h = e.value, f = an(e, Df), m = se(s !== void 0 ? s : r), g = Rr(m, 2), v = g[0], y = g[1], I = se(u !== void 0 ? u : a), M = Rr(I, 2), b = M[0], D = M[1], w = se(h !== void 0 ? h : o), T = Rr(w, 2), E = T[0], J = T[1], z = q(function(Ae, Ke) {
2691
2691
  typeof l == "function" && l(Ae, Ke), J(Ae);
2692
- }, [l]), ae = ie(function(Ae, Ke) {
2692
+ }, [l]), ie = q(function(Ae, Ke) {
2693
2693
  var Ve;
2694
2694
  typeof c == "function" && (Ve = c(Ae, Ke)), y(Ve !== void 0 ? Ve : Ae);
2695
- }, [c]), oe = ie(function() {
2695
+ }, [c]), oe = q(function() {
2696
2696
  typeof p == "function" && p(), D(!0);
2697
- }, [p]), F = ie(function() {
2697
+ }, [p]), F = q(function() {
2698
2698
  typeof d == "function" && d(), D(!1);
2699
2699
  }, [d]), K = s !== void 0 ? s : v, Ee = u !== void 0 ? u : b, xe = h !== void 0 ? h : E;
2700
- return ne(ne({}, f), {}, {
2700
+ return re(re({}, f), {}, {
2701
2701
  inputValue: K,
2702
2702
  menuIsOpen: Ee,
2703
2703
  onChange: z,
2704
- onInputChange: ae,
2704
+ onInputChange: ie,
2705
2705
  onMenuClose: F,
2706
2706
  onMenuOpen: oe,
2707
2707
  value: xe
@@ -2810,13 +2810,13 @@ var Pf = process.env.NODE_ENV === "production" ? {
2810
2810
  }
2811
2811
  }, Ff = function(t) {
2812
2812
  var r = t.ariaSelection, n = t.focusedOption, a = t.focusedValue, i = t.focusableOptions, o = t.isFocused, s = t.selectValue, u = t.selectProps, l = t.id, c = u.ariaLiveMessages, d = u.getOptionLabel, p = u.inputValue, h = u.isMulti, f = u.isOptionDisabled, m = u.isSearchable, g = u.menuIsOpen, v = u.options, y = u.screenReaderStatus, I = u.tabSelectsValue, M = u["aria-label"], b = u["aria-live"], D = We(function() {
2813
- return ne(ne({}, Tf), c || {});
2813
+ return re(re({}, Tf), c || {});
2814
2814
  }, [c]), w = We(function() {
2815
2815
  var F = "";
2816
2816
  if (r && D.onChange) {
2817
2817
  var K = r.option, Ee = r.options, xe = r.removedValue, Ae = r.removedValues, Ke = r.value, Ve = function(Fe) {
2818
2818
  return Array.isArray(Fe) ? null : Fe;
2819
- }, ut = xe || K || Ve(Ke), he = ut ? d(ut) : "", ve = Ee || Ae || void 0, qe = ve ? ve.map(d) : [], et = ne({
2819
+ }, ut = xe || K || Ve(Ke), he = ut ? d(ut) : "", ve = Ee || Ae || void 0, qe = ve ? ve.map(d) : [], et = re({
2820
2820
  // multiSelected items are usually items that have already been selected
2821
2821
  // or set by the user as a default value so we assume they are not disabled
2822
2822
  isDisabled: ut && f(ut, s),
@@ -2867,18 +2867,18 @@ var Pf = process.env.NODE_ENV === "production" ? {
2867
2867
  });
2868
2868
  }
2869
2869
  return F;
2870
- }, [M, n, a, h, f, m, g, D, s, I]), z = "".concat(T, " ").concat(E, " ").concat(J), ae = P(Cn, null, P("span", {
2870
+ }, [M, n, a, h, f, m, g, D, s, I]), z = "".concat(T, " ").concat(E, " ").concat(J), ie = P(Cn, null, P("span", {
2871
2871
  id: "aria-selection"
2872
2872
  }, w), P("span", {
2873
2873
  id: "aria-context"
2874
2874
  }, z)), oe = (r == null ? void 0 : r.action) === "initial-input-focus";
2875
2875
  return P(Cn, null, P(ji, {
2876
2876
  id: l
2877
- }, oe && ae), P(ji, {
2877
+ }, oe && ie), P(ji, {
2878
2878
  "aria-live": b,
2879
2879
  "aria-atomic": "false",
2880
2880
  "aria-relevant": "additions text"
2881
- }, o && !oe && ae));
2881
+ }, o && !oe && ie));
2882
2882
  }, ua = [{
2883
2883
  base: "A",
2884
2884
  letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
@@ -3149,7 +3149,7 @@ var ds = function(t) {
3149
3149
  return function(r, n) {
3150
3150
  if (r.data.__isNew__)
3151
3151
  return !0;
3152
- var a = ne({
3152
+ var a = re({
3153
3153
  ignoreCase: !0,
3154
3154
  ignoreAccents: !0,
3155
3155
  stringify: Wf,
@@ -3191,26 +3191,26 @@ var Lf = function(t) {
3191
3191
  t.preventDefault(), t.stopPropagation();
3192
3192
  };
3193
3193
  function Hf(e) {
3194
- var t = e.isEnabled, r = e.onBottomArrive, n = e.onBottomLeave, a = e.onTopArrive, i = e.onTopLeave, o = _e(!1), s = _e(!1), u = _e(0), l = _e(null), c = ie(function(g, v) {
3194
+ var t = e.isEnabled, r = e.onBottomArrive, n = e.onBottomLeave, a = e.onTopArrive, i = e.onTopLeave, o = _e(!1), s = _e(!1), u = _e(0), l = _e(null), c = q(function(g, v) {
3195
3195
  if (l.current !== null) {
3196
3196
  var y = l.current, I = y.scrollTop, M = y.scrollHeight, b = y.clientHeight, D = l.current, w = v > 0, T = M - b - I, E = !1;
3197
3197
  T > v && o.current && (n && n(g), o.current = !1), w && s.current && (i && i(g), s.current = !1), w && v > T ? (r && !o.current && r(g), D.scrollTop = M, E = !0, o.current = !0) : !w && -v > I && (a && !s.current && a(g), D.scrollTop = 0, E = !0, s.current = !0), E && Lf(g);
3198
3198
  }
3199
- }, [r, n, a, i]), d = ie(function(g) {
3199
+ }, [r, n, a, i]), d = q(function(g) {
3200
3200
  c(g, g.deltaY);
3201
- }, [c]), p = ie(function(g) {
3201
+ }, [c]), p = q(function(g) {
3202
3202
  u.current = g.changedTouches[0].clientY;
3203
- }, []), h = ie(function(g) {
3203
+ }, []), h = q(function(g) {
3204
3204
  var v = u.current - g.changedTouches[0].clientY;
3205
3205
  c(g, v);
3206
- }, [c]), f = ie(function(g) {
3206
+ }, [c]), f = q(function(g) {
3207
3207
  if (g) {
3208
3208
  var v = bd ? {
3209
3209
  passive: !1
3210
3210
  } : !1;
3211
3211
  g.addEventListener("wheel", d, v), g.addEventListener("touchstart", p, v), g.addEventListener("touchmove", h, v);
3212
3212
  }
3213
- }, [h, p, d]), m = ie(function(g) {
3213
+ }, [h, p, d]), m = q(function(g) {
3214
3214
  g && (g.removeEventListener("wheel", d, !1), g.removeEventListener("touchstart", p, !1), g.removeEventListener("touchmove", h, !1));
3215
3215
  }, [h, p, d]);
3216
3216
  return Ze(function() {
@@ -3249,7 +3249,7 @@ var eo = !!(typeof window < "u" && window.document && window.document.createElem
3249
3249
  passive: !1
3250
3250
  };
3251
3251
  function Zf(e) {
3252
- var t = e.isEnabled, r = e.accountForScrollbars, n = r === void 0 ? !0 : r, a = _e({}), i = _e(null), o = ie(function(u) {
3252
+ var t = e.isEnabled, r = e.accountForScrollbars, n = r === void 0 ? !0 : r, a = _e({}), i = _e(null), o = q(function(u) {
3253
3253
  if (eo) {
3254
3254
  var l = document.body, c = l && l.style;
3255
3255
  if (n && Ui.forEach(function(f) {
@@ -3264,7 +3264,7 @@ function Zf(e) {
3264
3264
  }
3265
3265
  l && qi() && (l.addEventListener("touchmove", Ji, Lt), u && (u.addEventListener("touchstart", Ki, Lt), u.addEventListener("touchmove", Qi, Lt))), hn += 1;
3266
3266
  }
3267
- }, [n]), s = ie(function(u) {
3267
+ }, [n]), s = q(function(u) {
3268
3268
  if (eo) {
3269
3269
  var l = document.body, c = l && l.style;
3270
3270
  hn = Math.max(hn - 1, 0), n && hn < 1 && Ui.forEach(function(d) {
@@ -3613,7 +3613,7 @@ var ys = function(t) {
3613
3613
  return a.props.menuIsOpen ? a.buildFocusableOptions() : [];
3614
3614
  }, a.ariaOnChange = function(i, o) {
3615
3615
  a.setState({
3616
- ariaSelection: ne({
3616
+ ariaSelection: re({
3617
3617
  value: i
3618
3618
  }, o)
3619
3619
  });
@@ -3902,7 +3902,7 @@ var ys = function(t) {
3902
3902
  // Getters
3903
3903
  // ==============================
3904
3904
  function() {
3905
- return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(Vr) : ne(ne({}, Vr), this.props.theme) : Vr;
3905
+ return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(Vr) : re(re({}, Vr), this.props.theme) : Vr;
3906
3906
  }
3907
3907
  )
3908
3908
  }, {
@@ -4014,7 +4014,7 @@ var ys = function(t) {
4014
4014
  // Renderers
4015
4015
  // ==============================
4016
4016
  function() {
4017
- var a = this.props, i = a.isDisabled, o = a.isSearchable, s = a.inputId, u = a.inputValue, l = a.tabIndex, c = a.form, d = a.menuIsOpen, p = this.getComponents(), h = p.Input, f = this.state, m = f.inputIsHidden, g = f.ariaSelection, v = this.commonProps, y = s || this.getElementId("input"), I = ne(ne({
4017
+ var a = this.props, i = a.isDisabled, o = a.isSearchable, s = a.inputId, u = a.inputValue, l = a.tabIndex, c = a.form, d = a.menuIsOpen, p = this.getComponents(), h = p.Input, f = this.state, m = f.inputIsHidden, g = f.ariaSelection, v = this.commonProps, y = s || this.getElementId("input"), I = re(re({
4018
4018
  "aria-autocomplete": "list",
4019
4019
  "aria-expanded": d,
4020
4020
  "aria-haspopup": !0,
@@ -4173,7 +4173,7 @@ var ys = function(t) {
4173
4173
  }, {
4174
4174
  key: "renderMenu",
4175
4175
  value: function() {
4176
- var a = this, i = this.getComponents(), o = i.Group, s = i.GroupHeading, u = i.Menu, l = i.MenuList, c = i.MenuPortal, d = i.LoadingMessage, p = i.NoOptionsMessage, h = i.Option, f = this.commonProps, m = this.state.focusedOption, g = this.props, v = g.captureMenuScroll, y = g.inputValue, I = g.isLoading, M = g.loadingMessage, b = g.minMenuHeight, D = g.maxMenuHeight, w = g.menuIsOpen, T = g.menuPlacement, E = g.menuPosition, J = g.menuPortalTarget, z = g.menuShouldBlockScroll, ae = g.menuShouldScrollIntoView, oe = g.noOptionsMessage, F = g.onMenuScrollToTop, K = g.onMenuScrollToBottom;
4176
+ var a = this, i = this.getComponents(), o = i.Group, s = i.GroupHeading, u = i.Menu, l = i.MenuList, c = i.MenuPortal, d = i.LoadingMessage, p = i.NoOptionsMessage, h = i.Option, f = this.commonProps, m = this.state.focusedOption, g = this.props, v = g.captureMenuScroll, y = g.inputValue, I = g.isLoading, M = g.loadingMessage, b = g.minMenuHeight, D = g.maxMenuHeight, w = g.menuIsOpen, T = g.menuPlacement, E = g.menuPosition, J = g.menuPortalTarget, z = g.menuShouldBlockScroll, ie = g.menuShouldScrollIntoView, oe = g.noOptionsMessage, F = g.onMenuScrollToTop, K = g.onMenuScrollToBottom;
4177
4177
  if (!w)
4178
4178
  return null;
4179
4179
  var Ee = function(ve, qe) {
@@ -4241,7 +4241,7 @@ var ys = function(t) {
4241
4241
  maxMenuHeight: D,
4242
4242
  menuPlacement: T,
4243
4243
  menuPosition: E,
4244
- menuShouldScrollIntoView: ae
4244
+ menuShouldScrollIntoView: ie
4245
4245
  }, ut = /* @__PURE__ */ R.createElement(Ko, G({}, f, Ve), function(he) {
4246
4246
  var ve = he.ref, qe = he.placerProps, et = qe.placement, Te = qe.maxHeight;
4247
4247
  return /* @__PURE__ */ R.createElement(u, G({}, f, Ve, {
@@ -4376,7 +4376,7 @@ var ys = function(t) {
4376
4376
  value: Hn(g, v, v[0] || null),
4377
4377
  options: v,
4378
4378
  action: "initial-input-focus"
4379
- }, T = !d), (l == null ? void 0 : l.action) === "initial-input-focus" && (w = null), ne(ne(ne({}, y), D), {}, {
4379
+ }, T = !d), (l == null ? void 0 : l.action) === "initial-input-focus" && (w = null), re(re(re({}, y), D), {}, {
4380
4380
  prevProps: a,
4381
4381
  ariaSelection: w,
4382
4382
  prevWasFocused: T
@@ -4436,18 +4436,18 @@ const dh = ch, fh = ({ label: e, ...t }, r) => {
4436
4436
 
4437
4437
  :active {
4438
4438
  outline: none;
4439
- border-color: ${re};
4439
+ border-color: ${ae};
4440
4440
  }
4441
4441
 
4442
4442
  :focus {
4443
4443
  outline: none;
4444
- border-color: ${re};
4444
+ border-color: ${ae};
4445
4445
  }
4446
4446
 
4447
4447
  &--is-focused,
4448
4448
  &--is-focused:active {
4449
4449
  outline: none !important;
4450
- border: 1px solid ${re} !important;
4450
+ border: 1px solid ${ae} !important;
4451
4451
  box-shadow: none;
4452
4452
  }
4453
4453
  }
@@ -4460,7 +4460,7 @@ const dh = ch, fh = ({ label: e, ...t }, r) => {
4460
4460
 
4461
4461
  &__menu {
4462
4462
  .dropdown__option--is-focused:not(.dropdown__option--is-selected) {
4463
- background: ${Ut(re)};
4463
+ background: ${Ut(ae)};
4464
4464
  }
4465
4465
  }
4466
4466
 
@@ -4492,10 +4492,10 @@ const dh = ch, fh = ({ label: e, ...t }, r) => {
4492
4492
  e.children
4493
4493
  )), ws = A(pe)`
4494
4494
  text-decoration: ${({ underline: e }) => e ? "underline" : "none"};
4495
- color: ${({ color: e }) => e || re};
4495
+ color: ${({ color: e }) => e || ae};
4496
4496
 
4497
4497
  :hover {
4498
- color: ${({ hoverColor: e }) => e || re};
4498
+ color: ${({ hoverColor: e }) => e || ae};
4499
4499
  text-decoration: underline;
4500
4500
  }
4501
4501
  `;
@@ -4506,8 +4506,8 @@ xs.propTypes = {
4506
4506
  children: O.node
4507
4507
  };
4508
4508
  xs.defaultProps = {
4509
- color: re,
4510
- hoverColor: re,
4509
+ color: ae,
4510
+ hoverColor: ae,
4511
4511
  underline: !1
4512
4512
  };
4513
4513
  const r1 = ({
@@ -4527,15 +4527,27 @@ const r1 = ({
4527
4527
  "data-testid": h,
4528
4528
  ...f
4529
4529
  }) => {
4530
- const m = _e(null), g = ie(
4530
+ const m = _e(null), g = q(
4531
4531
  (I) => {
4532
4532
  if (!i && (I.preventDefault(), m.current)) {
4533
4533
  const M = !m.current.checked;
4534
- I.currentTarget.setAttribute("aria-checked", M.toString()), m.current.checked = M, l == null || l(M);
4534
+ I.currentTarget.setAttribute("aria-checked", M.toString()), m.current.checked = M;
4535
+ const b = {
4536
+ ...I,
4537
+ target: {
4538
+ ...m.current,
4539
+ checked: M,
4540
+ id: y
4541
+ }
4542
+ };
4543
+ typeof l == "function" && l(
4544
+ b,
4545
+ M
4546
+ );
4535
4547
  }
4536
4548
  },
4537
4549
  [l]
4538
- ), v = ie(
4550
+ ), v = q(
4539
4551
  (I) => {
4540
4552
  I.key.match(/enter|spacebar|\W{1}/i) && g(I);
4541
4553
  },
@@ -4604,6 +4616,12 @@ const r1 = ({
4604
4616
  background-color: ${({ background: e }) => e || "var(--color-stroke)"};
4605
4617
  border: 2px solid ${({ background: e }) => e || "var(--color-stroke)"};
4606
4618
  border-radius: var(--radius-pill);
4619
+ flex-shrink: 0;
4620
+
4621
+ :active {
4622
+ transform: none;
4623
+ box-shadow: none;
4624
+ }
4607
4625
 
4608
4626
  :before {
4609
4627
  position: absolute;
@@ -4683,7 +4701,7 @@ const r1 = ({
4683
4701
 
4684
4702
  input:disabled + ${Kn} {
4685
4703
  cursor: not-allowed;
4686
- border-color: var(--color-disabled-text-on-light);
4704
+ border-color: transparent;
4687
4705
  background-color: var(--color-disabled-text-on-light);
4688
4706
  }
4689
4707
  `, Dh = ({
@@ -4701,25 +4719,35 @@ const r1 = ({
4701
4719
  "data-tip-disable": d,
4702
4720
  ...p
4703
4721
  }) => {
4704
- const h = _e(null);
4722
+ const h = _e(null), f = We(() => u || nn(), [u]);
4705
4723
  Ze(() => {
4706
4724
  h.current && (h.current.indeterminate = n || !1);
4707
4725
  }, [n]);
4708
- const f = ie(
4726
+ const m = q(
4709
4727
  (v) => {
4710
4728
  if (!h.current || o)
4711
4729
  return;
4712
4730
  v.preventDefault();
4713
4731
  const y = !h.current.checked;
4714
- h.current.checked = y, typeof a == "function" && a(y);
4732
+ if (h.current.checked = y, typeof a == "function") {
4733
+ const I = {
4734
+ ...v,
4735
+ target: {
4736
+ ...h.current,
4737
+ checked: y,
4738
+ id: f
4739
+ }
4740
+ };
4741
+ a(I, y);
4742
+ }
4715
4743
  },
4716
- [o, a]
4717
- ), m = ie(
4744
+ [o, f, a]
4745
+ ), g = q(
4718
4746
  (v) => {
4719
- !v.key.match(/enter|spacebar|\W{1}/i) || !h.current || (v.preventDefault(), f(v));
4747
+ !v.key.match(/enter|spacebar|\W{1}/i) || !h.current || (v.preventDefault(), m(v));
4720
4748
  },
4721
4749
  [a]
4722
- ), g = We(() => u || nn(), [u]);
4750
+ );
4723
4751
  return /* @__PURE__ */ Me(Oh, { style: i, background: l, children: [
4724
4752
  /* @__PURE__ */ V(
4725
4753
  "input",
@@ -4731,16 +4759,16 @@ const r1 = ({
4731
4759
  checked: s,
4732
4760
  "aria-checked": n ? "mixed" : s,
4733
4761
  "aria-disabled": o,
4734
- "aria-describedby": r ? `${g}_description` : void 0,
4735
- id: g,
4762
+ "aria-describedby": r ? `${f}_description` : void 0,
4763
+ id: f,
4736
4764
  ...p
4737
4765
  }
4738
4766
  ),
4739
4767
  n ? /* @__PURE__ */ V(
4740
4768
  Nt,
4741
4769
  {
4742
- onClick: f,
4743
- onKeyDown: m,
4770
+ onClick: m,
4771
+ onKeyDown: g,
4744
4772
  tabIndex: 0,
4745
4773
  "aria-checked": "mixed",
4746
4774
  "aria-disabled": o,
@@ -4751,8 +4779,8 @@ const r1 = ({
4751
4779
  ) : /* @__PURE__ */ V(
4752
4780
  Ct,
4753
4781
  {
4754
- onClick: f,
4755
- onKeyDown: m,
4782
+ onClick: m,
4783
+ onKeyDown: g,
4756
4784
  tabIndex: 0,
4757
4785
  "aria-checked": s,
4758
4786
  "aria-disabled": o,
@@ -4766,9 +4794,9 @@ const r1 = ({
4766
4794
  e && /* @__PURE__ */ V(
4767
4795
  _h,
4768
4796
  {
4769
- onClick: f,
4797
+ onClick: m,
4770
4798
  bold: !0,
4771
- htmlFor: g,
4799
+ htmlFor: f,
4772
4800
  "data-tip": c,
4773
4801
  "data-tip-disable": d,
4774
4802
  children: e
@@ -4776,10 +4804,11 @@ const r1 = ({
4776
4804
  ),
4777
4805
  t && /* @__PURE__ */ V(Ah, { children: t })
4778
4806
  ] }),
4779
- r && /* @__PURE__ */ V(Nh, { id: `${g}_description`, children: r })
4807
+ r && /* @__PURE__ */ V(Nh, { id: `${f}_description`, children: r })
4780
4808
  ] })
4781
4809
  ] });
4782
4810
  }, Ct = A.span`
4811
+ box-sizing: content-box;
4783
4812
  cursor: pointer;
4784
4813
  height: 16px;
4785
4814
  width: 16px;
@@ -4787,6 +4816,7 @@ const r1 = ({
4787
4816
  background-color: transparent;
4788
4817
  border: 2px solid ${({ background: e }) => e || "var(--color-stroke)"};
4789
4818
  position: relative;
4819
+ flex-shrink: 0;
4790
4820
 
4791
4821
  &:focus-visible {
4792
4822
  outline: 0;
@@ -4865,9 +4895,12 @@ const r1 = ({
4865
4895
  background: var(--color-disabled-text-on-light);
4866
4896
  }
4867
4897
 
4868
- input:disabled ~ div p {
4869
- cursor: default;
4870
- color: var(--color-disabled-text-on-light);
4898
+ input:disabled ~ div {
4899
+ p,
4900
+ label {
4901
+ cursor: default;
4902
+ color: var(--color-disabled-text-on-light);
4903
+ }
4871
4904
  }
4872
4905
 
4873
4906
  :hover {
@@ -4909,10 +4942,10 @@ const r1 = ({
4909
4942
  Ze(() => {
4910
4943
  e && d(e);
4911
4944
  }, [e]);
4912
- const p = (f) => c.includes(f), h = (f, m) => {
4913
- f.onChange && f.onChange(m);
4914
- const v = (m ? [...c, f.value] : c.filter((y) => y !== f.value)).sort(Th(u));
4915
- d(v), o && o(v);
4945
+ const p = (f) => c.includes(f), h = (f, m, g) => {
4946
+ f.onChange && f.onChange(m, g);
4947
+ const y = (g ? [...c, f.value] : c.filter((I) => I !== f.value)).sort(Th(u));
4948
+ d(y), o && o(y);
4916
4949
  };
4917
4950
  return /* @__PURE__ */ V(Bh, { className: a, children: u.map((f) => /* @__PURE__ */ V("li", { children: /* @__PURE__ */ V(
4918
4951
  Dh,
@@ -4922,7 +4955,7 @@ const r1 = ({
4922
4955
  name: r,
4923
4956
  disabled: f.disabled || t || !1,
4924
4957
  checked: p(f.value),
4925
- onChange: (m) => h(f, m)
4958
+ onChange: (m, g) => h(f, m, g)
4926
4959
  }
4927
4960
  ) }, f.value)) });
4928
4961
  }, Bh = A.ul`
@@ -4940,35 +4973,69 @@ const r1 = ({
4940
4973
  description: r,
4941
4974
  background: n,
4942
4975
  id: a,
4943
- ...i
4976
+ onChange: i,
4977
+ ...o
4944
4978
  }) => {
4945
- const [o] = se(() => a || `radio_${nn()}`);
4979
+ const [s] = se(() => a || `radio_${nn()}`), u = q(
4980
+ (c) => {
4981
+ if (o.disabled)
4982
+ return;
4983
+ c.preventDefault();
4984
+ const d = {
4985
+ ...c,
4986
+ target: {
4987
+ ...c.target,
4988
+ checked: !0,
4989
+ id: s
4990
+ }
4991
+ };
4992
+ typeof i == "function" && i(
4993
+ d,
4994
+ !0
4995
+ );
4996
+ },
4997
+ [s, i, o.disabled]
4998
+ ), l = q(
4999
+ (c) => {
5000
+ c.key.match(/enter|spacebar|\W{1}/i) && (c.preventDefault(), u(c));
5001
+ },
5002
+ [u]
5003
+ );
4946
5004
  return /* @__PURE__ */ Me(Xh, { background: n, children: [
4947
5005
  /* @__PURE__ */ V(
4948
5006
  "input",
4949
5007
  {
4950
5008
  type: "radio",
4951
- "aria-describedby": r ? `${o}_description` : void 0,
4952
- ...i,
4953
- id: o
5009
+ "aria-describedby": r ? `${s}_description` : void 0,
5010
+ ...o,
5011
+ id: s,
5012
+ onKeyDown: l
5013
+ }
5014
+ ),
5015
+ /* @__PURE__ */ V(
5016
+ gn,
5017
+ {
5018
+ onClick: u,
5019
+ onKeyDown: l,
5020
+ background: n
4954
5021
  }
4955
5022
  ),
4956
- /* @__PURE__ */ V(gn, { background: n }),
4957
5023
  e && /* @__PURE__ */ Me(Yh, { children: [
4958
5024
  /* @__PURE__ */ Me(Vh, { children: [
4959
5025
  e && /* @__PURE__ */ V(
4960
5026
  Zh,
4961
5027
  {
4962
5028
  bold: !0,
4963
- htmlFor: o,
4964
- "data-tip": i["data-tip"],
4965
- "data-tip-disable": i["data-tip-disable"],
5029
+ htmlFor: s,
5030
+ "data-tip": o["data-tip"],
5031
+ "data-tip-disable": o["data-tip-disable"],
5032
+ onClick: u,
4966
5033
  children: e
4967
5034
  }
4968
5035
  ),
4969
5036
  t && /* @__PURE__ */ V(Lh, { children: t })
4970
5037
  ] }),
4971
- r && /* @__PURE__ */ V(Hh, { id: `${o}_description`, children: r })
5038
+ r && /* @__PURE__ */ V(Hh, { id: `${s}_description`, children: r })
4972
5039
  ] })
4973
5040
  ] });
4974
5041
  };
@@ -4981,6 +5048,7 @@ Ds.defaultProps = {
4981
5048
  label: null
4982
5049
  };
4983
5050
  const gn = A.span`
5051
+ box-sizing: content-box;
4984
5052
  position: relative;
4985
5053
  height: 16px;
4986
5054
  width: 16px;
@@ -4988,6 +5056,7 @@ const gn = A.span`
4988
5056
  border: 2px solid ${({ background: e }) => e || "var(--color-stroke)"};
4989
5057
  border-radius: var(--radius-circle);
4990
5058
  flex-shrink: 0;
5059
+ cursor: pointer;
4991
5060
  input:focus + & {
4992
5061
  :before {
4993
5062
  content: "";
@@ -5128,12 +5197,12 @@ const jh = A.textarea`
5128
5197
 
5129
5198
  :active {
5130
5199
  outline: none;
5131
- border-color: ${re};
5200
+ border-color: ${ae};
5132
5201
  }
5133
5202
 
5134
5203
  :focus {
5135
5204
  outline: none;
5136
- border-color: ${re};
5205
+ border-color: ${ae};
5137
5206
  }
5138
5207
  `, zh = A.div`
5139
5208
  margin: 4px 0;
@@ -5150,7 +5219,7 @@ Uh.propTypes = {
5150
5219
  };
5151
5220
  const $h = A.div`
5152
5221
  display: inline;
5153
- background: ${re};
5222
+ background: ${ae};
5154
5223
  height: 24px;
5155
5224
  width: auto;
5156
5225
  border-radius: 100px;
@@ -5167,7 +5236,7 @@ const $h = A.div`
5167
5236
  padding: 2px 11.6px 2px 10px;
5168
5237
  bottom: 3px;
5169
5238
  color: ${Gt};
5170
- `, ks = ({ text: e, isFilled: t, color: r = re, applyCustomStylings: n }) => /* @__PURE__ */ k.createElement(Kh, { color: r, isFilled: t }, n ? n(e) : /* @__PURE__ */ k.createElement(Jr, { color: t ? Gt : r, uppercase: !0, bold: !0 }, e)), Kh = A.span`
5239
+ `, ks = ({ text: e, isFilled: t, color: r = ae, applyCustomStylings: n }) => /* @__PURE__ */ k.createElement(Kh, { color: r, isFilled: t }, n ? n(e) : /* @__PURE__ */ k.createElement(Jr, { color: t ? Gt : r, uppercase: !0, bold: !0 }, e)), Kh = A.span`
5171
5240
  display: inline-block;
5172
5241
  background: ${({ color: e, isFilled: t }) => t ? e : Ut(e)};
5173
5242
  padding: 4px 8px;
@@ -5180,7 +5249,7 @@ ks.propTypes = {
5180
5249
  applyCustomStylings: O.func
5181
5250
  };
5182
5251
  ks.defaultProps = {
5183
- color: re
5252
+ color: ae
5184
5253
  };
5185
5254
  var Mt = {}, Xe = {}, Va = {}, $e = {};
5186
5255
  Object.defineProperty($e, "__esModule", {
@@ -7127,7 +7196,7 @@ function ag(e, t) {
7127
7196
  return this[e](t);
7128
7197
  return this;
7129
7198
  }
7130
- var mu = /\d/, Pe = /\d\d/, gu = /\d{3}/, oi = /\d{4}/, Dr = /[+-]?\d{6}/, ee = /\d\d?/, vu = /\d\d\d\d?/, bu = /\d\d\d\d\d\d?/, Mr = /\d{1,3}/, si = /\d{1,4}/, kr = /[+-]?\d{1,6}/, cn = /\d+/, Sr = /[+-]?\d+/, ig = /Z|[+-]\d\d:?\d\d/gi, Er = /Z|[+-]\d\d(?::?\d\d)?/gi, og = /[+-]?\d+(\.\d{1,3})?/, Tn = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, dr;
7199
+ var mu = /\d/, Pe = /\d\d/, gu = /\d{3}/, oi = /\d{4}/, Dr = /[+-]?\d{6}/, te = /\d\d?/, vu = /\d\d\d\d?/, bu = /\d\d\d\d\d\d?/, Mr = /\d{1,3}/, si = /\d{1,4}/, kr = /[+-]?\d{1,6}/, cn = /\d+/, Sr = /[+-]?\d+/, ig = /Z|[+-]\d\d:?\d\d/gi, Er = /Z|[+-]\d\d(?::?\d\d)?/gi, og = /[+-]?\d+(\.\d{1,3})?/, Tn = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, dr;
7131
7200
  dr = {};
7132
7201
  function S(e, t, r) {
7133
7202
  dr[e] = st(t) ? t : function(n, a) {
@@ -7195,8 +7264,8 @@ _("MMMM", 0, 0, function(e) {
7195
7264
  });
7196
7265
  Ie("month", "M");
7197
7266
  Ce("month", 8);
7198
- S("M", ee);
7199
- S("MM", ee, Pe);
7267
+ S("M", te);
7268
+ S("MM", te, Pe);
7200
7269
  S("MMM", function(e, t) {
7201
7270
  return t.monthsShortRegex(e);
7202
7271
  });
@@ -7304,7 +7373,7 @@ _(0, ["YYYYYY", 6, !0], 0, "year");
7304
7373
  Ie("year", "y");
7305
7374
  Ce("year", 1);
7306
7375
  S("Y", Sr);
7307
- S("YY", ee, Pe);
7376
+ S("YY", te, Pe);
7308
7377
  S("YYYY", si, oi);
7309
7378
  S("YYYYY", kr, Dr);
7310
7379
  S("YYYYYY", kr, Dr);
@@ -7364,10 +7433,10 @@ Ie("week", "w");
7364
7433
  Ie("isoWeek", "W");
7365
7434
  Ce("week", 5);
7366
7435
  Ce("isoWeek", 5);
7367
- S("w", ee);
7368
- S("ww", ee, Pe);
7369
- S("W", ee);
7370
- S("WW", ee, Pe);
7436
+ S("w", te);
7437
+ S("ww", te, Pe);
7438
+ S("W", te);
7439
+ S("WW", te, Pe);
7371
7440
  Fn(
7372
7441
  ["w", "ww", "W", "WW"],
7373
7442
  function(e, t, r, n) {
@@ -7415,9 +7484,9 @@ Ie("isoWeekday", "E");
7415
7484
  Ce("day", 11);
7416
7485
  Ce("weekday", 11);
7417
7486
  Ce("isoWeekday", 11);
7418
- S("d", ee);
7419
- S("e", ee);
7420
- S("E", ee);
7487
+ S("d", te);
7488
+ S("e", te);
7489
+ S("E", te);
7421
7490
  S("dd", function(e, t) {
7422
7491
  return t.weekdaysMinRegex(e);
7423
7492
  });
@@ -7578,12 +7647,12 @@ function Eu(e, t) {
7578
7647
  }
7579
7648
  S("a", Eu);
7580
7649
  S("A", Eu);
7581
- S("H", ee);
7582
- S("h", ee);
7583
- S("k", ee);
7584
- S("HH", ee, Pe);
7585
- S("hh", ee, Pe);
7586
- S("kk", ee, Pe);
7650
+ S("H", te);
7651
+ S("h", te);
7652
+ S("k", te);
7653
+ S("HH", te, Pe);
7654
+ S("hh", te, Pe);
7655
+ S("kk", te, Pe);
7587
7656
  S("hmm", vu);
7588
7657
  S("hmmss", bu);
7589
7658
  S("Hmm", vu);
@@ -7636,7 +7705,7 @@ var Au = {
7636
7705
  weekdaysMin: Tg,
7637
7706
  weekdaysShort: ku,
7638
7707
  meridiemParse: Qg
7639
- }, te = {}, pn = {}, Nn;
7708
+ }, ne = {}, pn = {}, Nn;
7640
7709
  function ev(e, t) {
7641
7710
  var r, n = Math.min(e.length, t.length);
7642
7711
  for (r = 0; r < n; r += 1)
@@ -7665,13 +7734,13 @@ function nv(e) {
7665
7734
  }
7666
7735
  function Nr(e) {
7667
7736
  var t = null, r;
7668
- if (te[e] === void 0 && typeof module < "u" && module && module.exports && nv(e))
7737
+ if (ne[e] === void 0 && typeof module < "u" && module && module.exports && nv(e))
7669
7738
  try {
7670
7739
  t = Nn._abbr, r = require, r("./locale/" + e), Dt(t);
7671
7740
  } catch {
7672
- te[e] = null;
7741
+ ne[e] = null;
7673
7742
  }
7674
- return te[e];
7743
+ return ne[e];
7675
7744
  }
7676
7745
  function Dt(e, t) {
7677
7746
  var r;
@@ -7682,14 +7751,14 @@ function Dt(e, t) {
7682
7751
  function di(e, t) {
7683
7752
  if (t !== null) {
7684
7753
  var r, n = Au;
7685
- if (t.abbr = e, te[e] != null)
7754
+ if (t.abbr = e, ne[e] != null)
7686
7755
  du(
7687
7756
  "defineLocaleOverride",
7688
7757
  "use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."
7689
- ), n = te[e]._config;
7758
+ ), n = ne[e]._config;
7690
7759
  else if (t.parentLocale != null)
7691
- if (te[t.parentLocale] != null)
7692
- n = te[t.parentLocale]._config;
7760
+ if (ne[t.parentLocale] != null)
7761
+ n = ne[t.parentLocale]._config;
7693
7762
  else if (r = Nr(t.parentLocale), r != null)
7694
7763
  n = r._config;
7695
7764
  else
@@ -7697,19 +7766,19 @@ function di(e, t) {
7697
7766
  name: e,
7698
7767
  config: t
7699
7768
  }), null;
7700
- return te[e] = new ri(ca(n, t)), pn[e] && pn[e].forEach(function(a) {
7769
+ return ne[e] = new ri(ca(n, t)), pn[e] && pn[e].forEach(function(a) {
7701
7770
  di(a.name, a.config);
7702
- }), Dt(e), te[e];
7771
+ }), Dt(e), ne[e];
7703
7772
  } else
7704
- return delete te[e], null;
7773
+ return delete ne[e], null;
7705
7774
  }
7706
7775
  function rv(e, t) {
7707
7776
  if (t != null) {
7708
7777
  var r, n, a = Au;
7709
- te[e] != null && te[e].parentLocale != null ? te[e].set(ca(te[e]._config, t)) : (n = Nr(e), n != null && (a = n._config), t = ca(a, t), n == null && (t.abbr = e), r = new ri(t), r.parentLocale = te[e], te[e] = r), Dt(e);
7778
+ ne[e] != null && ne[e].parentLocale != null ? ne[e].set(ca(ne[e]._config, t)) : (n = Nr(e), n != null && (a = n._config), t = ca(a, t), n == null && (t.abbr = e), r = new ri(t), r.parentLocale = ne[e], ne[e] = r), Dt(e);
7710
7779
  } else
7711
- te[e] != null && (te[e].parentLocale != null ? (te[e] = te[e].parentLocale, e === Dt() && Dt(e)) : te[e] != null && delete te[e]);
7712
- return te[e];
7780
+ ne[e] != null && (ne[e].parentLocale != null ? (ne[e] = ne[e].parentLocale, e === Dt() && Dt(e)) : ne[e] != null && delete ne[e]);
7781
+ return ne[e];
7713
7782
  }
7714
7783
  function yt(e) {
7715
7784
  var t;
@@ -7723,7 +7792,7 @@ function yt(e) {
7723
7792
  return tv(e);
7724
7793
  }
7725
7794
  function av() {
7726
- return da(te);
7795
+ return da(ne);
7727
7796
  }
7728
7797
  function fi(e) {
7729
7798
  var t, r = e._a;
@@ -7907,8 +7976,8 @@ function bv(e) {
7907
7976
  t = e._w, t.GG != null || t.W != null || t.E != null ? (i = 1, o = 4, r = Xt(
7908
7977
  t.GG,
7909
7978
  e._a[ye],
7910
- An(q(), 1, 4).year
7911
- ), n = Xt(t.W, 1), a = Xt(t.E, 1), (a < 1 || a > 7) && (u = !0)) : (i = e._locale._week.dow, o = e._locale._week.doy, l = An(q(), i, o), r = Xt(t.gg, e._a[ye], l.year), n = Xt(t.w, l.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (u = !0)) : t.e != null ? (a = t.e + i, (t.e < 0 || t.e > 6) && (u = !0)) : a = i), n < 1 || n > gt(r, i, o) ? W(e)._overflowWeeks = !0 : u != null ? W(e)._overflowWeekday = !0 : (s = Mu(r, n, a, i, o), e._a[ye] = s.year, e._dayOfYear = s.dayOfYear);
7979
+ An(ee(), 1, 4).year
7980
+ ), n = Xt(t.W, 1), a = Xt(t.E, 1), (a < 1 || a > 7) && (u = !0)) : (i = e._locale._week.dow, o = e._locale._week.doy, l = An(ee(), i, o), r = Xt(t.gg, e._a[ye], l.year), n = Xt(t.w, l.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (u = !0)) : t.e != null ? (a = t.e + i, (t.e < 0 || t.e > 6) && (u = !0)) : a = i), n < 1 || n > gt(r, i, o) ? W(e)._overflowWeeks = !0 : u != null ? W(e)._overflowWeekday = !0 : (s = Mu(r, n, a, i, o), e._a[ye] = s.year, e._dayOfYear = s.dayOfYear);
7912
7981
  }
7913
7982
  x.ISO_8601 = function() {
7914
7983
  };
@@ -7978,26 +8047,26 @@ function Pu(e, t, r, n, a) {
7978
8047
  var i = {};
7979
8048
  return (t === !0 || t === !1) && (n = t, t = void 0), (r === !0 || r === !1) && (n = r, r = void 0), (Tt(e) && ei(e) || ze(e) && e.length === 0) && (e = void 0), i._isAMomentObject = !0, i._useUTC = i._isUTC = a, i._l = r, i._i = e, i._f = t, i._strict = n, xv(i);
7980
8049
  }
7981
- function q(e, t, r, n) {
8050
+ function ee(e, t, r, n) {
7982
8051
  return Pu(e, t, r, n, !1);
7983
8052
  }
7984
8053
  var Dv = Be(
7985
8054
  "moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
7986
8055
  function() {
7987
- var e = q.apply(null, arguments);
8056
+ var e = ee.apply(null, arguments);
7988
8057
  return this.isValid() && e.isValid() ? e < this ? this : e : xr();
7989
8058
  }
7990
8059
  ), Mv = Be(
7991
8060
  "moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
7992
8061
  function() {
7993
- var e = q.apply(null, arguments);
8062
+ var e = ee.apply(null, arguments);
7994
8063
  return this.isValid() && e.isValid() ? e > this ? this : e : xr();
7995
8064
  }
7996
8065
  );
7997
8066
  function Tu(e, t) {
7998
8067
  var r, n;
7999
8068
  if (t.length === 1 && ze(t[0]) && (t = t[0]), !t.length)
8000
- return q();
8069
+ return ee();
8001
8070
  for (r = t[0], n = 1; n < t.length; ++n)
8002
8071
  (!t[n].isValid() || t[n][e](r)) && (r = t[n]);
8003
8072
  return r;
@@ -8080,7 +8149,7 @@ function mi(e, t) {
8080
8149
  }
8081
8150
  function gi(e, t) {
8082
8151
  var r, n;
8083
- return t._isUTC ? (r = t.clone(), n = (Ue(e) || On(e) ? e.valueOf() : q(e).valueOf()) - r.valueOf(), r._d.setTime(r._d.valueOf() + n), x.updateOffset(r, !1), r) : q(e).local();
8152
+ return t._isUTC ? (r = t.clone(), n = (Ue(e) || On(e) ? e.valueOf() : ee(e).valueOf()) - r.valueOf(), r._d.setTime(r._d.valueOf() + n), x.updateOffset(r, !1), r) : ee(e).local();
8084
8153
  }
8085
8154
  function pa(e) {
8086
8155
  return -Math.round(e._d.getTimezoneOffset());
@@ -8125,7 +8194,7 @@ function Wv() {
8125
8194
  return this;
8126
8195
  }
8127
8196
  function Bv(e) {
8128
- return this.isValid() ? (e = e ? q(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
8197
+ return this.isValid() ? (e = e ? ee(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
8129
8198
  }
8130
8199
  function Yv() {
8131
8200
  return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
@@ -8134,7 +8203,7 @@ function Vv() {
8134
8203
  if (!De(this._isDSTShifted))
8135
8204
  return this._isDSTShifted;
8136
8205
  var e = {}, t;
8137
- return ni(e, this), e = Ou(e), e._a ? (t = e._isUTC ? ot(e._a) : q(e._a), this._isDSTShifted = this.isValid() && Ov(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
8206
+ return ni(e, this), e = Ou(e), e._a ? (t = e._isUTC ? ot(e._a) : ee(e._a), this._isDSTShifted = this.isValid() && Ov(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
8138
8207
  }
8139
8208
  function Lv() {
8140
8209
  return this.isValid() ? !this._isUTC : !1;
@@ -8169,8 +8238,8 @@ function Je(e, t) {
8169
8238
  m: At(n[7], a),
8170
8239
  s: At(n[8], a)
8171
8240
  }) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (o = jv(
8172
- q(r.from),
8173
- q(r.to)
8241
+ ee(r.from),
8242
+ ee(r.to)
8174
8243
  ), r = {}, r.ms = o.milliseconds, r.M = o.months), i = new _r(r), tr(e) && L(e, "_locale") && (i._locale = e._locale), tr(e) && L(e, "_isValid") && (i._isValid = e._isValid), i;
8175
8244
  }
8176
8245
  Je.fn = _r.prototype;
@@ -8263,28 +8332,28 @@ function qv(e, t) {
8263
8332
  }
8264
8333
  function eb(e, t) {
8265
8334
  arguments.length === 1 && (arguments[0] ? $v(arguments[0]) ? (e = arguments[0], t = void 0) : Kv(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
8266
- var r = e || q(), n = gi(r, this).startOf("day"), a = x.calendarFormat(this, n) || "sameElse", i = t && (st(t[a]) ? t[a].call(this, r) : t[a]);
8335
+ var r = e || ee(), n = gi(r, this).startOf("day"), a = x.calendarFormat(this, n) || "sameElse", i = t && (st(t[a]) ? t[a].call(this, r) : t[a]);
8267
8336
  return this.format(
8268
- i || this.localeData().calendar(a, this, q(r))
8337
+ i || this.localeData().calendar(a, this, ee(r))
8269
8338
  );
8270
8339
  }
8271
8340
  function tb() {
8272
8341
  return new Pn(this);
8273
8342
  }
8274
8343
  function nb(e, t) {
8275
- var r = Ue(e) ? e : q(e);
8344
+ var r = Ue(e) ? e : ee(e);
8276
8345
  return this.isValid() && r.isValid() ? (t = Ye(t) || "millisecond", t === "millisecond" ? this.valueOf() > r.valueOf() : r.valueOf() < this.clone().startOf(t).valueOf()) : !1;
8277
8346
  }
8278
8347
  function rb(e, t) {
8279
- var r = Ue(e) ? e : q(e);
8348
+ var r = Ue(e) ? e : ee(e);
8280
8349
  return this.isValid() && r.isValid() ? (t = Ye(t) || "millisecond", t === "millisecond" ? this.valueOf() < r.valueOf() : this.clone().endOf(t).valueOf() < r.valueOf()) : !1;
8281
8350
  }
8282
8351
  function ab(e, t, r, n) {
8283
- var a = Ue(e) ? e : q(e), i = Ue(t) ? t : q(t);
8352
+ var a = Ue(e) ? e : ee(e), i = Ue(t) ? t : ee(t);
8284
8353
  return this.isValid() && a.isValid() && i.isValid() ? (n = n || "()", (n[0] === "(" ? this.isAfter(a, r) : !this.isBefore(a, r)) && (n[1] === ")" ? this.isBefore(i, r) : !this.isAfter(i, r))) : !1;
8285
8354
  }
8286
8355
  function ib(e, t) {
8287
- var r = Ue(e) ? e : q(e), n;
8356
+ var r = Ue(e) ? e : ee(e), n;
8288
8357
  return this.isValid() && r.isValid() ? (t = Ye(t) || "millisecond", t === "millisecond" ? this.valueOf() === r.valueOf() : (n = r.valueOf(), this.clone().startOf(t).valueOf() <= n && n <= this.clone().endOf(t).valueOf())) : !1;
8289
8358
  }
8290
8359
  function ob(e, t) {
@@ -8364,16 +8433,16 @@ function fb(e) {
8364
8433
  return this.localeData().postformat(t);
8365
8434
  }
8366
8435
  function hb(e, t) {
8367
- return this.isValid() && (Ue(e) && e.isValid() || q(e).isValid()) ? Je({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
8436
+ return this.isValid() && (Ue(e) && e.isValid() || ee(e).isValid()) ? Je({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
8368
8437
  }
8369
8438
  function pb(e) {
8370
- return this.from(q(), e);
8439
+ return this.from(ee(), e);
8371
8440
  }
8372
8441
  function mb(e, t) {
8373
- return this.isValid() && (Ue(e) && e.isValid() || q(e).isValid()) ? Je({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
8442
+ return this.isValid() && (Ue(e) && e.isValid() || ee(e).isValid()) ? Je({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
8374
8443
  }
8375
8444
  function gb(e) {
8376
- return this.to(q(), e);
8445
+ return this.to(ee(), e);
8377
8446
  }
8378
8447
  function Yu(e) {
8379
8448
  var t;
@@ -8708,8 +8777,8 @@ Ce("weekYear", 1);
8708
8777
  Ce("isoWeekYear", 1);
8709
8778
  S("G", Sr);
8710
8779
  S("g", Sr);
8711
- S("GG", ee, Pe);
8712
- S("gg", ee, Pe);
8780
+ S("GG", te, Pe);
8781
+ S("gg", te, Pe);
8713
8782
  S("GGGG", si, oi);
8714
8783
  S("gggg", si, oi);
8715
8784
  S("GGGGG", kr, Dr);
@@ -8778,14 +8847,14 @@ function $b(e) {
8778
8847
  _("D", ["DD", 2], "Do", "date");
8779
8848
  Ie("date", "D");
8780
8849
  Ce("date", 9);
8781
- S("D", ee);
8782
- S("DD", ee, Pe);
8850
+ S("D", te);
8851
+ S("DD", te, Pe);
8783
8852
  S("Do", function(e, t) {
8784
8853
  return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
8785
8854
  });
8786
8855
  Q(["D", "DD"], rt);
8787
8856
  Q("Do", function(e, t) {
8788
- t[rt] = B(e.match(ee)[0]);
8857
+ t[rt] = B(e.match(te)[0]);
8789
8858
  });
8790
8859
  var zu = ln("Date", !0);
8791
8860
  _("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
@@ -8805,15 +8874,15 @@ function Jb(e) {
8805
8874
  _("m", ["mm", 2], 0, "minute");
8806
8875
  Ie("minute", "m");
8807
8876
  Ce("minute", 14);
8808
- S("m", ee);
8809
- S("mm", ee, Pe);
8877
+ S("m", te);
8878
+ S("mm", te, Pe);
8810
8879
  Q(["m", "mm"], je);
8811
8880
  var Qb = ln("Minutes", !1);
8812
8881
  _("s", ["ss", 2], 0, "second");
8813
8882
  Ie("second", "s");
8814
8883
  Ce("second", 15);
8815
- S("s", ee);
8816
- S("ss", ee, Pe);
8884
+ S("s", te);
8885
+ S("ss", te, Pe);
8817
8886
  Q(["s", "ss"], mt);
8818
8887
  var Kb = ln("Seconds", !1);
8819
8888
  _("S", 0, 0, function() {
@@ -8964,10 +9033,10 @@ C.isDSTShifted = Be(
8964
9033
  Vv
8965
9034
  );
8966
9035
  function ny(e) {
8967
- return q(e * 1e3);
9036
+ return ee(e * 1e3);
8968
9037
  }
8969
9038
  function ry() {
8970
- return q.apply(null, arguments).parseZone();
9039
+ return ee.apply(null, arguments).parseZone();
8971
9040
  }
8972
9041
  function $u(e) {
8973
9042
  return e;
@@ -9252,7 +9321,7 @@ Q("x", function(e, t, r) {
9252
9321
  });
9253
9322
  //! moment.js
9254
9323
  x.version = "2.29.4";
9255
- Bm(q);
9324
+ Bm(ee);
9256
9325
  x.fn = C;
9257
9326
  x.min = kv;
9258
9327
  x.max = Sv;
@@ -9803,9 +9872,9 @@ const jy = ({
9803
9872
  padding: 8px;
9804
9873
 
9805
9874
  ${({ $isActive: e }) => e && jt`
9806
- background-color: ${wl(re, 0.9)};
9875
+ background-color: ${wl(ae, 0.9)};
9807
9876
  p {
9808
- color: ${re};
9877
+ color: ${ae};
9809
9878
  font-weight: bold;
9810
9879
  }
9811
9880
  `}
@@ -9829,7 +9898,7 @@ const jy = ({
9829
9898
  }
9830
9899
  &.DayPicker-Day--selected:not(.DayPicker-Day--before):not(.DayPicker-Day--after) {
9831
9900
  ${({ hasRange: e }) => e && jt`
9832
- background-color: ${Ut(re)};
9901
+ background-color: ${Ut(ae)};
9833
9902
  border-radius: 0;
9834
9903
  &:not(.DayPicker-Day--outside) {
9835
9904
  color: ${xn};
@@ -9841,7 +9910,7 @@ const jy = ({
9841
9910
  `}
9842
9911
  }
9843
9912
  &.DayPicker-Day--selected {
9844
- background-color: ${re};
9913
+ background-color: ${ae};
9845
9914
  color: ${Gt};
9846
9915
  }
9847
9916
 
@@ -9852,7 +9921,7 @@ const jy = ({
9852
9921
  ::before {
9853
9922
  content: "";
9854
9923
  position: absolute;
9855
- background-color: ${Ut(re)};
9924
+ background-color: ${Ut(ae)};
9856
9925
  width: 10px;
9857
9926
  height: 35px;
9858
9927
  top: 0;
@@ -9867,7 +9936,7 @@ const jy = ({
9867
9936
  ::before {
9868
9937
  content: "";
9869
9938
  position: absolute;
9870
- background-color: ${Ut(re)};
9939
+ background-color: ${Ut(ae)};
9871
9940
  width: 10px;
9872
9941
  height: 35px;
9873
9942
  top: 0;
@@ -9877,7 +9946,7 @@ const jy = ({
9877
9946
  `}
9878
9947
  }
9879
9948
  &.DayPicker-Day--today:not(.DayPicker-Day--selected) {
9880
- color: ${re};
9949
+ color: ${ae};
9881
9950
  }
9882
9951
 
9883
9952
  &.DayPicker-Day--outside {
@@ -9911,12 +9980,12 @@ const jy = ({
9911
9980
  :active {
9912
9981
  outline: none;
9913
9982
  box-shadow: none;
9914
- border-color: ${re};
9983
+ border-color: ${ae};
9915
9984
  }
9916
9985
 
9917
9986
  :focus {
9918
9987
  outline: none;
9919
- border-color: ${re};
9988
+ border-color: ${ae};
9920
9989
  }
9921
9990
  }
9922
9991
 
@@ -10047,10 +10116,10 @@ function Io(e) {
10047
10116
  }
10048
10117
  var b0 = m0;
10049
10118
  const y0 = /* @__PURE__ */ Sa(b0), I0 = /^\d{4}$/g, $r = "default", sl = ({ label: e, value: t, onChange: r, inputMode: n }) => {
10050
- const a = Wt(), [i, o] = se(t), [s, u] = se(t), [l, c] = se(n), [d, p] = se($r), [h, f] = se(), [m, g] = se(""), v = ie(
10119
+ const a = Wt(), [i, o] = se(t), [s, u] = se(t), [l, c] = se(n), [d, p] = se($r), [h, f] = se(), [m, g] = se(""), v = q(
10051
10120
  ({ time: E, mode: J }) => {
10052
- const z = parseInt(E[0]), ae = parseInt(E[1]);
10053
- if (isNaN(z) || isNaN(ae))
10121
+ const z = parseInt(E[0]), ie = parseInt(E[1]);
10122
+ if (isNaN(z) || isNaN(ie))
10054
10123
  return p("error"), f(a.formatMessage(ce.notNumber)), !1;
10055
10124
  const oe = new RegExp(
10056
10125
  J === "24h" ? "([0-1][0-9]{1}|[2][0-3]{1}):([0-5]{1}[0-9]{1})" : "([0][1-9]|[1][0-2]{1}):([0-5]{1}[0-9]{1})"
@@ -10058,22 +10127,22 @@ const y0 = /* @__PURE__ */ Sa(b0), I0 = /^\d{4}$/g, $r = "default", sl = ({ labe
10058
10127
  return oe.test(F) ? (p($r), !0) : (p("error"), f(a.formatMessage(ce.invalidTime)), !1);
10059
10128
  },
10060
10129
  [a]
10061
- ), y = ie(
10130
+ ), y = q(
10062
10131
  ({ date: E, time: J, mode: z }) => {
10063
10132
  if (!J || !z || !v({ time: J, mode: z }) || !E)
10064
10133
  return;
10065
- const ae = parseInt(J[0]), oe = parseInt(J[1]), F = x(E);
10066
- z === "am" && ae === 12 ? F.hour(0) : z === "pm" && ae === 12 ? F.hour(12) : z === "pm" ? F.hour(ae + 12) : F.hour(ae), F.minute(oe), r && r(F.toDate());
10134
+ const ie = parseInt(J[0]), oe = parseInt(J[1]), F = x(E);
10135
+ z === "am" && ie === 12 ? F.hour(0) : z === "pm" && ie === 12 ? F.hour(12) : z === "pm" ? F.hour(ie + 12) : F.hour(ie), F.minute(oe), r && r(F.toDate());
10067
10136
  },
10068
10137
  [r, v]
10069
- ), I = ie(
10138
+ ), I = q(
10070
10139
  (E) => {
10071
10140
  o(E), y({ date: E, time: s, mode: l });
10072
10141
  },
10073
10142
  [l, s, y]
10074
- ), M = ie((E) => {
10143
+ ), M = q((E) => {
10075
10144
  (E.charCode < 48 || E.charCode > 58) && E.preventDefault();
10076
- }, []), b = ie(
10145
+ }, []), b = q(
10077
10146
  (E) => {
10078
10147
  if (E.length !== 2) {
10079
10148
  p("error"), f(a.formatMessage(ce.wrongFormat));
@@ -10082,12 +10151,12 @@ const y0 = /* @__PURE__ */ Sa(b0), I0 = /^\d{4}$/g, $r = "default", sl = ({ labe
10082
10151
  u(E), y({ date: i, time: E, mode: l });
10083
10152
  },
10084
10153
  [a, i, l, y]
10085
- ), D = ie(
10154
+ ), D = q(
10086
10155
  ({ value: E }) => {
10087
10156
  c(E), y({ date: i, time: s, mode: E });
10088
10157
  },
10089
10158
  [i, s, y]
10090
- ), w = y0(b, 500), T = ie(
10159
+ ), w = y0(b, 500), T = q(
10091
10160
  (E) => {
10092
10161
  const J = E.target.value;
10093
10162
  let z = J;
@@ -10144,7 +10213,7 @@ sl.defaultProps = {
10144
10213
  label: void 0
10145
10214
  };
10146
10215
  const x0 = {
10147
- border: `solid 1px ${Ml(re)}`,
10216
+ border: `solid 1px ${Ml(ae)}`,
10148
10217
  borderRadius: Nl
10149
10218
  }, w0 = k.forwardRef(
10150
10219
  ({ results: e, focusedResultIndex: t, onResultClick: r }, n) => /* @__PURE__ */ k.createElement(D0, null, e.map((a, i) => /* @__PURE__ */ k.createElement(Cn, { key: a.text || i }, /* @__PURE__ */ k.createElement(
@@ -10165,7 +10234,7 @@ const x0 = {
10165
10234
  list-style-type: none;
10166
10235
  cursor: pointer;
10167
10236
  &:hover {
10168
- background: ${Ut(re)};
10237
+ background: ${Ut(ae)};
10169
10238
  }
10170
10239
  `, k0 = ({ maxHeight: e, children: t }) => /* @__PURE__ */ React.createElement(S0, null, /* @__PURE__ */ React.createElement(E0, { maxHeight: e }, t)), S0 = A.div`
10171
10240
  position: relative;
@@ -10297,7 +10366,7 @@ const x0 = {
10297
10366
  }, [h]);
10298
10367
  const z = (F) => {
10299
10368
  D && (u || b || t || (F.key === "ArrowUp" ? (f(T()), F.preventDefault()) : F.key === "ArrowDown" ? (f(w()), F.preventDefault()) : F.key === "Enter" && h != null && (E(r[h]), F.preventDefault())));
10300
- }, ae = (F) => {
10369
+ }, ie = (F) => {
10301
10370
  E(F);
10302
10371
  };
10303
10372
  Ze(() => {
@@ -10313,7 +10382,7 @@ const x0 = {
10313
10382
  {
10314
10383
  results: r,
10315
10384
  focusedResultIndex: h,
10316
- onResultClick: ae,
10385
+ onResultClick: ie,
10317
10386
  ref: M
10318
10387
  }
10319
10388
  ) : /* @__PURE__ */ React.createElement(T0, { query: c.q });