@aveonline/ui-react 1.6.3 → 1.6.4

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/ui-react.mjs CHANGED
@@ -141,10 +141,10 @@ function L3() {
141
141
  {
142
142
  for (var w = arguments.length, F = new Array(w > 1 ? w - 1 : 0), j = 1; j < w; j++)
143
143
  F[j - 1] = arguments[j];
144
- y("error", p, F);
144
+ Q("error", p, F);
145
145
  }
146
146
  }
147
- function y(p, w, F) {
147
+ function Q(p, w, F) {
148
148
  {
149
149
  var j = h.ReactDebugCurrentFrame, $ = j.getStackAddendum();
150
150
  $ !== "" && (w += "%s", F = F.concat([$]));
@@ -154,19 +154,19 @@ function L3() {
154
154
  s1.unshift("Warning: " + w), Function.prototype.apply.call(console[p], console, s1);
155
155
  }
156
156
  }
157
- var b = !1, v = !1, Q = !1, R = !1, S = !1, V;
157
+ var b = !1, v = !1, y = !1, R = !1, S = !1, V;
158
158
  V = Symbol.for("react.module.reference");
159
159
  function P(p) {
160
- return !!(typeof p == "string" || typeof p == "function" || p === i || p === o || S || p === r || p === u || p === c || R || p === f || b || v || Q || typeof p == "object" && p !== null && (p.$$typeof === C || p.$$typeof === d || p.$$typeof === a || p.$$typeof === l || p.$$typeof === s || p.$$typeof === V || p.getModuleId !== void 0));
160
+ return !!(typeof p == "string" || typeof p == "function" || p === i || p === o || S || p === r || p === u || p === c || R || p === f || b || v || y || typeof p == "object" && p !== null && (p.$$typeof === C || p.$$typeof === d || p.$$typeof === a || p.$$typeof === l || p.$$typeof === s || p.$$typeof === V || p.getModuleId !== void 0));
161
161
  }
162
- function O(p, w, F) {
162
+ function T(p, w, F) {
163
163
  var j = p.displayName;
164
164
  if (j)
165
165
  return j;
166
166
  var $ = w.displayName || w.name || "";
167
167
  return $ !== "" ? F + "(" + $ + ")" : F;
168
168
  }
169
- function T(p) {
169
+ function H(p) {
170
170
  return p.displayName || "Context";
171
171
  }
172
172
  function G(p) {
@@ -194,12 +194,12 @@ function L3() {
194
194
  switch (p.$$typeof) {
195
195
  case l:
196
196
  var w = p;
197
- return T(w) + ".Consumer";
197
+ return H(w) + ".Consumer";
198
198
  case a:
199
199
  var F = p;
200
- return T(F._context) + ".Provider";
200
+ return H(F._context) + ".Provider";
201
201
  case s:
202
- return O(p, p.render, "ForwardRef");
202
+ return T(p, p.render, "ForwardRef");
203
203
  case d:
204
204
  var j = p.displayName || null;
205
205
  return j !== null ? j : G(p.type) || "Memo";
@@ -295,7 +295,7 @@ function L3() {
295
295
  var ce = typeof WeakMap == "function" ? WeakMap : Map;
296
296
  _1 = new ce();
297
297
  }
298
- function H(p, w) {
298
+ function O(p, w) {
299
299
  if (!p || j1)
300
300
  return "";
301
301
  {
@@ -367,7 +367,7 @@ function L3() {
367
367
  return typeof p == "function" && _1.set(p, Mn), Mn;
368
368
  }
369
369
  function te(p, w, F) {
370
- return H(p, !1);
370
+ return O(p, !1);
371
371
  }
372
372
  function z1(p) {
373
373
  var w = p.prototype;
@@ -377,7 +377,7 @@ function L3() {
377
377
  if (p == null)
378
378
  return "";
379
379
  if (typeof p == "function")
380
- return H(p, z1(p));
380
+ return O(p, z1(p));
381
381
  if (typeof p == "string")
382
382
  return N1(p);
383
383
  switch (p) {
@@ -1833,18 +1833,18 @@ let R0 = "div", x0 = ve.RenderStrategy | ve.Static, w0 = f1(function(e, t) {
1833
1833
  throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${n}`);
1834
1834
  if (typeof i != "function")
1835
1835
  throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${i}`);
1836
- let h = n ? 0 : 1, [B, y] = H2(Q0, {
1836
+ let h = n ? 0 : 1, [B, Q] = H2(Q0, {
1837
1837
  titleId: null,
1838
1838
  descriptionId: null,
1839
1839
  panelRef: M3()
1840
- }), b = n1(() => i(!1)), v = n1((L) => y({
1840
+ }), b = n1(() => i(!1)), v = n1((L) => Q({
1841
1841
  type: 0,
1842
1842
  id: L
1843
- })), Q = Z2() ? o ? !1 : h === 0 : !1, R = l > 1, S = p1(Q2) !== null, V = R ? "parent" : "leaf";
1844
- c0(d, R ? Q : !1), K3(() => {
1843
+ })), y = Z2() ? o ? !1 : h === 0 : !1, R = l > 1, S = p1(Q2) !== null, V = R ? "parent" : "leaf";
1844
+ c0(d, R ? y : !1), K3(() => {
1845
1845
  var L, W;
1846
1846
  return [...Array.from((L = I == null ? void 0 : I.querySelectorAll("body > *, [data-headlessui-portal]")) != null ? L : []).filter((Z) => !(!(Z instanceof HTMLElement) || Z.contains(f.current) || B.panelRef.current && Z.contains(B.panelRef.current))), (W = B.panelRef.current) != null ? W : d.current];
1847
- }, b, Q && !R), Ot(I == null ? void 0 : I.defaultView, "keydown", (L) => {
1847
+ }, b, y && !R), Ot(I == null ? void 0 : I.defaultView, "keydown", (L) => {
1848
1848
  L.defaultPrevented || L.key === c1.Escape && h === 0 && (R || (L.preventDefault(), L.stopPropagation(), b()));
1849
1849
  }), y0(I, h === 0 && !S), A1(() => {
1850
1850
  if (h !== 0 || !d.current)
@@ -1855,7 +1855,7 @@ let R0 = "div", x0 = ve.RenderStrategy | ve.Static, w0 = f1(function(e, t) {
1855
1855
  });
1856
1856
  return L.observe(d.current), () => L.disconnect();
1857
1857
  }, [h, d, b]);
1858
- let [P, O] = X2(), T = `headlessui-dialog-${T1()}`, G = z(() => [{
1858
+ let [P, T] = X2(), H = `headlessui-dialog-${T1()}`, G = z(() => [{
1859
1859
  dialogState: h,
1860
1860
  close: b,
1861
1861
  setTitleId: v
@@ -1863,7 +1863,7 @@ let R0 = "div", x0 = ve.RenderStrategy | ve.Static, w0 = f1(function(e, t) {
1863
1863
  open: h === 0
1864
1864
  }), [h]), N = {
1865
1865
  ref: C,
1866
- id: T,
1866
+ id: H,
1867
1867
  role: "dialog",
1868
1868
  "aria-modal": h === 0 ? !0 : void 0,
1869
1869
  "aria-labelledby": B.titleId,
@@ -1892,13 +1892,13 @@ let R0 = "div", x0 = ve.RenderStrategy | ve.Static, w0 = f1(function(e, t) {
1892
1892
  target: d,
1893
1893
  children: /* @__PURE__ */ A(yt, {
1894
1894
  force: !1,
1895
- children: /* @__PURE__ */ A(O, {
1895
+ children: /* @__PURE__ */ A(T, {
1896
1896
  slot: x,
1897
1897
  name: "Dialog.Description",
1898
1898
  children: /* @__PURE__ */ A(Xe, {
1899
1899
  initialFocus: r,
1900
1900
  containers: c,
1901
- features: Q ? O1(V, {
1901
+ features: y ? O1(V, {
1902
1902
  parent: Xe.features.RestoreFocus,
1903
1903
  leaf: Xe.features.All & ~Xe.features.FocusLock
1904
1904
  }) : Xe.features.None,
@@ -2113,8 +2113,8 @@ let k0 = G1, X0 = f1(function(e, t) {
2113
2113
  let B = Re(a);
2114
2114
  if (!B)
2115
2115
  return;
2116
- let y = (() => h ? h instanceof HTMLElement ? h : h.current instanceof HTMLElement ? h.current : B.getElementById(r) : B.getElementById(r))();
2117
- y == null || y.focus();
2116
+ let Q = (() => h ? h instanceof HTMLElement ? h : h.current instanceof HTMLElement ? h.current : B.getElementById(r) : B.getElementById(r))();
2117
+ Q == null || Q.focus();
2118
2118
  }), I = z(() => ({
2119
2119
  close: f
2120
2120
  }), [f]), g = z(() => ({
@@ -2325,7 +2325,7 @@ let e5 = "div", t5 = f1(function(e, t) {
2325
2325
  return (x == null ? void 0 : x[L]) === (N == null ? void 0 : N[L]);
2326
2326
  } : a), [c, d] = H2($0, {
2327
2327
  options: []
2328
- }), C = c.options, [f, I] = Yt(), [g, m] = X2(), h = `headlessui-radiogroup-${T1()}`, B = X(null), y = m1(B, t), [b, v] = Yr(n, o, i), Q = z(() => C.find((x) => !x.propsRef.current.disabled), [C]), R = z(() => C.some((x) => u(x.propsRef.current.value, b)), [C, b]), S = n1((x) => {
2328
+ }), C = c.options, [f, I] = Yt(), [g, m] = X2(), h = `headlessui-radiogroup-${T1()}`, B = X(null), Q = m1(B, t), [b, v] = Yr(n, o, i), y = z(() => C.find((x) => !x.propsRef.current.disabled), [C]), R = z(() => C.some((x) => u(x.propsRef.current.value, b)), [C, b]), S = n1((x) => {
2329
2329
  var N;
2330
2330
  if (l || u(x, b))
2331
2331
  return !1;
@@ -2378,16 +2378,16 @@ let e5 = "div", t5 = f1(function(e, t) {
2378
2378
  }), () => d({
2379
2379
  type: 1,
2380
2380
  id: x.id
2381
- }))), O = z(() => ({
2381
+ }))), T = z(() => ({
2382
2382
  registerOption: P,
2383
- firstOption: Q,
2383
+ firstOption: y,
2384
2384
  containsCheckedOption: R,
2385
2385
  change: S,
2386
2386
  disabled: l,
2387
2387
  value: b,
2388
2388
  compare: u
2389
- }), [P, Q, R, S, l, b, u]), T = {
2390
- ref: y,
2389
+ }), [P, y, R, S, l, b, u]), H = {
2390
+ ref: Q,
2391
2391
  id: h,
2392
2392
  role: "radiogroup",
2393
2393
  "aria-labelledby": f,
@@ -2401,7 +2401,7 @@ let e5 = "div", t5 = f1(function(e, t) {
2401
2401
  children: /* @__PURE__ */ A(I, {
2402
2402
  name: "RadioGroup.Label",
2403
2403
  children: /* @__PURE__ */ D(zt.Provider, {
2404
- value: O,
2404
+ value: T,
2405
2405
  children: [r != null && b != null && Zr({
2406
2406
  [r]: b
2407
2407
  }).map(([x, N]) => a1.createElement(ye, {
@@ -2417,7 +2417,7 @@ let e5 = "div", t5 = f1(function(e, t) {
2417
2417
  value: N
2418
2418
  })
2419
2419
  })), C1({
2420
- ourProps: T,
2420
+ ourProps: H,
2421
2421
  theirProps: s,
2422
2422
  slot: G,
2423
2423
  defaultTag: e5,
@@ -2450,10 +2450,10 @@ let r5 = "div", i5 = f1(function(e, t) {
2450
2450
  registerOption: m,
2451
2451
  disabled: h,
2452
2452
  change: B,
2453
- firstOption: y,
2453
+ firstOption: Q,
2454
2454
  containsCheckedOption: b,
2455
2455
  value: v,
2456
- compare: Q
2456
+ compare: y
2457
2457
  } = ii("RadioGroup.Option");
2458
2458
  S1(() => m({
2459
2459
  id: r,
@@ -2469,23 +2469,23 @@ let r5 = "div", i5 = f1(function(e, t) {
2469
2469
  if (Ke(N.currentTarget))
2470
2470
  return N.preventDefault();
2471
2471
  u(2);
2472
- }), V = n1(() => c(2)), P = (y == null ? void 0 : y.id) === r, O = h || f, T = Q(v, C), G = {
2472
+ }), V = n1(() => c(2)), P = (Q == null ? void 0 : Q.id) === r, T = h || f, H = y(v, C), G = {
2473
2473
  ref: i,
2474
2474
  id: r,
2475
2475
  role: "radio",
2476
- "aria-checked": T ? "true" : "false",
2476
+ "aria-checked": H ? "true" : "false",
2477
2477
  "aria-labelledby": o,
2478
2478
  "aria-describedby": l,
2479
- "aria-disabled": O ? !0 : void 0,
2480
- tabIndex: (() => O ? -1 : T || !b && P ? 0 : -1)(),
2481
- onClick: O ? void 0 : R,
2482
- onFocus: O ? void 0 : S,
2483
- onBlur: O ? void 0 : V
2479
+ "aria-disabled": T ? !0 : void 0,
2480
+ tabIndex: (() => T ? -1 : H || !b && P ? 0 : -1)(),
2481
+ onClick: T ? void 0 : R,
2482
+ onFocus: T ? void 0 : S,
2483
+ onBlur: T ? void 0 : V
2484
2484
  }, x = z(() => ({
2485
- checked: T,
2486
- disabled: O,
2485
+ checked: H,
2486
+ disabled: T,
2487
2487
  active: d(2)
2488
- }), [T, O, d]);
2488
+ }), [H, T, d]);
2489
2489
  return /* @__PURE__ */ A(s, {
2490
2490
  name: "RadioGroup.Description",
2491
2491
  children: /* @__PURE__ */ A(a, {
@@ -2549,7 +2549,7 @@ let l5 = "button", s5 = f1(function(e, t) {
2549
2549
  b.key === c1.Space ? (b.preventDefault(), I()) : b.key === c1.Enter && jr(b.currentTarget);
2550
2550
  }), h = n1((b) => b.preventDefault()), B = z(() => ({
2551
2551
  checked: C
2552
- }), [C]), y = {
2552
+ }), [C]), Q = {
2553
2553
  id: s,
2554
2554
  ref: d,
2555
2555
  role: "switch",
@@ -2574,7 +2574,7 @@ let l5 = "button", s5 = f1(function(e, t) {
2574
2574
  value: a
2575
2575
  })
2576
2576
  }), C1({
2577
- ourProps: y,
2577
+ ourProps: Q,
2578
2578
  theirProps: l,
2579
2579
  slot: B,
2580
2580
  defaultTag: l5,
@@ -2717,29 +2717,29 @@ let g5 = G1, f5 = f1(function(e, t) {
2717
2717
  orientation: s,
2718
2718
  activation: u,
2719
2719
  ...C
2720
- }), [s, u, C]), B = he(c ? e.selectedIndex : C.selectedIndex), y = z(() => ({
2721
- registerTab(Q) {
2720
+ }), [s, u, C]), B = he(c ? e.selectedIndex : C.selectedIndex), Q = z(() => ({
2721
+ registerTab(y) {
2722
2722
  return f({
2723
2723
  type: 1,
2724
- tab: Q
2724
+ tab: y
2725
2725
  }), () => f({
2726
2726
  type: 2,
2727
- tab: Q
2727
+ tab: y
2728
2728
  });
2729
2729
  },
2730
- registerPanel(Q) {
2730
+ registerPanel(y) {
2731
2731
  return f({
2732
2732
  type: 3,
2733
- panel: Q
2733
+ panel: y
2734
2734
  }), () => f({
2735
2735
  type: 4,
2736
- panel: Q
2736
+ panel: y
2737
2737
  });
2738
2738
  },
2739
- change(Q) {
2740
- B.current !== Q && g.current(Q), c || f({
2739
+ change(y) {
2740
+ B.current !== y && g.current(y), c || f({
2741
2741
  type: 0,
2742
- index: Q
2742
+ index: y
2743
2743
  });
2744
2744
  }
2745
2745
  }), [f, c]);
@@ -2758,14 +2758,14 @@ let g5 = G1, f5 = f1(function(e, t) {
2758
2758
  return a1.createElement(Ut.Provider, {
2759
2759
  value: b
2760
2760
  }, a1.createElement(_t.Provider, {
2761
- value: y
2761
+ value: Q
2762
2762
  }, a1.createElement(qt.Provider, {
2763
2763
  value: h
2764
2764
  }, h.tabs.length <= 0 && a1.createElement(c5, {
2765
2765
  onFocus: () => {
2766
- var Q, R;
2766
+ var y, R;
2767
2767
  for (let S of m.current)
2768
- if (((Q = S.current) == null ? void 0 : Q.tabIndex) === 0)
2768
+ if (((y = S.current) == null ? void 0 : y.tabIndex) === 0)
2769
2769
  return (R = S.current) == null || R.focus(), !0;
2770
2770
  return !1;
2771
2771
  }
@@ -2809,15 +2809,15 @@ let g5 = G1, f5 = f1(function(e, t) {
2809
2809
  let m = s.indexOf(f);
2810
2810
  m === -1 && (m = g);
2811
2811
  let h = m === l, B = n1((P) => {
2812
- var O;
2813
- let T = P();
2814
- if (T === ge.Success && a === "auto") {
2815
- let G = (O = Re(f)) == null ? void 0 : O.activeElement, x = d.tabs.findIndex((N) => N.current === G);
2812
+ var T;
2813
+ let H = P();
2814
+ if (H === ge.Success && a === "auto") {
2815
+ let G = (T = Re(f)) == null ? void 0 : T.activeElement, x = d.tabs.findIndex((N) => N.current === G);
2816
2816
  x !== -1 && c.change(x);
2817
2817
  }
2818
- return T;
2819
- }), y = n1((P) => {
2820
- let O = s.map((T) => T.current).filter(Boolean);
2818
+ return H;
2819
+ }), Q = n1((P) => {
2820
+ let T = s.map((H) => H.current).filter(Boolean);
2821
2821
  if (P.key === c1.Space || P.key === c1.Enter) {
2822
2822
  P.preventDefault(), P.stopPropagation(), c.change(m);
2823
2823
  return;
@@ -2825,17 +2825,17 @@ let g5 = G1, f5 = f1(function(e, t) {
2825
2825
  switch (P.key) {
2826
2826
  case c1.Home:
2827
2827
  case c1.PageUp:
2828
- return P.preventDefault(), P.stopPropagation(), B(() => K1(O, x1.First));
2828
+ return P.preventDefault(), P.stopPropagation(), B(() => K1(T, x1.First));
2829
2829
  case c1.End:
2830
2830
  case c1.PageDown:
2831
- return P.preventDefault(), P.stopPropagation(), B(() => K1(O, x1.Last));
2831
+ return P.preventDefault(), P.stopPropagation(), B(() => K1(T, x1.Last));
2832
2832
  }
2833
2833
  if (B(() => O1(o, {
2834
2834
  vertical() {
2835
- return P.key === c1.ArrowUp ? K1(O, x1.Previous | x1.WrapAround) : P.key === c1.ArrowDown ? K1(O, x1.Next | x1.WrapAround) : ge.Error;
2835
+ return P.key === c1.ArrowUp ? K1(T, x1.Previous | x1.WrapAround) : P.key === c1.ArrowDown ? K1(T, x1.Next | x1.WrapAround) : ge.Error;
2836
2836
  },
2837
2837
  horizontal() {
2838
- return P.key === c1.ArrowLeft ? K1(O, x1.Previous | x1.WrapAround) : P.key === c1.ArrowRight ? K1(O, x1.Next | x1.WrapAround) : ge.Error;
2838
+ return P.key === c1.ArrowLeft ? K1(T, x1.Previous | x1.WrapAround) : P.key === c1.ArrowRight ? K1(T, x1.Next | x1.WrapAround) : ge.Error;
2839
2839
  }
2840
2840
  })) === ge.Success)
2841
2841
  return P.preventDefault();
@@ -2844,14 +2844,14 @@ let g5 = G1, f5 = f1(function(e, t) {
2844
2844
  b.current || (b.current = !0, (P = f.current) == null || P.focus(), c.change(m), r2(() => {
2845
2845
  b.current = !1;
2846
2846
  }));
2847
- }), Q = n1((P) => {
2847
+ }), y = n1((P) => {
2848
2848
  P.preventDefault();
2849
2849
  }), R = z(() => ({
2850
2850
  selected: h
2851
2851
  }), [h]), S = e, V = {
2852
2852
  ref: I,
2853
- onKeyDown: y,
2854
- onMouseDown: Q,
2853
+ onKeyDown: Q,
2854
+ onMouseDown: y,
2855
2855
  onClick: v,
2856
2856
  id: r,
2857
2857
  role: "tab",
@@ -2896,7 +2896,7 @@ let g5 = G1, f5 = f1(function(e, t) {
2896
2896
  g === -1 && (g = I);
2897
2897
  let m = g === a, h = z(() => ({
2898
2898
  selected: m
2899
- }), [m]), B = e, y = {
2899
+ }), [m]), B = e, Q = {
2900
2900
  ref: f,
2901
2901
  id: d,
2902
2902
  role: "tabpanel",
@@ -2905,9 +2905,9 @@ let g5 = G1, f5 = f1(function(e, t) {
2905
2905
  };
2906
2906
  return !m && ((r = e.unmount) != null ? r : !0) && !((o = e.static) != null && o) ? a1.createElement(ye, {
2907
2907
  as: "span",
2908
- ...y
2908
+ ...Q
2909
2909
  }) : C1({
2910
- ourProps: y,
2910
+ ourProps: Q,
2911
2911
  theirProps: B,
2912
2912
  slot: h,
2913
2913
  defaultTag: v5,
@@ -3477,7 +3477,7 @@ const Q5 = async (e, t, n) => {
3477
3477
  fn: h
3478
3478
  } = l[g], {
3479
3479
  x: B,
3480
- y,
3480
+ y: Q,
3481
3481
  data: b,
3482
3482
  reset: v
3483
3483
  } = await h({
@@ -3494,7 +3494,7 @@ const Q5 = async (e, t, n) => {
3494
3494
  floating: t
3495
3495
  }
3496
3496
  });
3497
- if (c = B != null ? B : c, d = y != null ? y : d, f = {
3497
+ if (c = B != null ? B : c, d = Q != null ? Q : d, f = {
3498
3498
  ...f,
3499
3499
  [m]: {
3500
3500
  ...f[m],
@@ -3606,12 +3606,12 @@ const Xn = (e) => ({
3606
3606
  const u = oi(i), c = {
3607
3607
  x: r,
3608
3608
  y: o
3609
- }, d = a2(a), C = W2(a), f = en(d), I = await s.getDimensions(n), g = d === "y" ? "top" : "left", m = d === "y" ? "bottom" : "right", h = l.reference[f] + l.reference[d] - c[d] - l.floating[f], B = c[d] - l.reference[d], y = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(n));
3610
- let b = y ? d === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0;
3609
+ }, d = a2(a), C = W2(a), f = en(d), I = await s.getDimensions(n), g = d === "y" ? "top" : "left", m = d === "y" ? "bottom" : "right", h = l.reference[f] + l.reference[d] - c[d] - l.floating[f], B = c[d] - l.reference[d], Q = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(n));
3610
+ let b = Q ? d === "y" ? Q.clientHeight || 0 : Q.clientWidth || 0 : 0;
3611
3611
  b === 0 && (b = l.floating[f]);
3612
- const v = h / 2 - B / 2, Q = u[g], R = b - I[f] - u[m], S = b / 2 - I[f] / 2 + v, V = xt(Q, S, R), T = (C === "start" ? u[g] : u[m]) > 0 && S !== V && l.reference[f] <= l.floating[f] ? S < Q ? Q - S : R - S : 0;
3612
+ const v = h / 2 - B / 2, y = u[g], R = b - I[f] - u[m], S = b / 2 - I[f] / 2 + v, V = xt(y, S, R), H = (C === "start" ? u[g] : u[m]) > 0 && S !== V && l.reference[f] <= l.floating[f] ? S < y ? y - S : R - S : 0;
3613
3613
  return {
3614
- [d]: c[d] - T,
3614
+ [d]: c[d] - H,
3615
3615
  data: {
3616
3616
  [d]: V,
3617
3617
  centerOffset: S - V
@@ -3667,21 +3667,21 @@ const G5 = function(e) {
3667
3667
  fallbackStrategy: C = "bestFit",
3668
3668
  flipAlignment: f = !0,
3669
3669
  ...I
3670
- } = e, g = o2(i), h = d || (g === a || !f ? [x2(a)] : M5(a)), B = [a, ...h], y = await ai(t, I), b = [];
3670
+ } = e, g = o2(i), h = d || (g === a || !f ? [x2(a)] : M5(a)), B = [a, ...h], Q = await ai(t, I), b = [];
3671
3671
  let v = ((n = r.flip) == null ? void 0 : n.overflows) || [];
3672
- if (u && b.push(y[g]), c) {
3672
+ if (u && b.push(Q[g]), c) {
3673
3673
  const {
3674
3674
  main: V,
3675
3675
  cross: P
3676
3676
  } = P5(i, o, await (l.isRTL == null ? void 0 : l.isRTL(s.floating)));
3677
- b.push(y[V], y[P]);
3677
+ b.push(Q[V], Q[P]);
3678
3678
  }
3679
3679
  if (v = [...v, {
3680
3680
  placement: i,
3681
3681
  overflows: b
3682
3682
  }], !b.every((V) => V <= 0)) {
3683
- var Q, R;
3684
- const V = ((Q = (R = r.flip) == null ? void 0 : R.index) != null ? Q : 0) + 1, P = B[V];
3683
+ var y, R;
3684
+ const V = ((y = (R = r.flip) == null ? void 0 : R.index) != null ? y : 0) + 1, P = B[V];
3685
3685
  if (P)
3686
3686
  return {
3687
3687
  data: {
@@ -3692,22 +3692,22 @@ const G5 = function(e) {
3692
3692
  placement: P
3693
3693
  }
3694
3694
  };
3695
- let O = "bottom";
3695
+ let T = "bottom";
3696
3696
  switch (C) {
3697
3697
  case "bestFit": {
3698
3698
  var S;
3699
- const T = (S = v.map((G) => [G, G.overflows.filter((x) => x > 0).reduce((x, N) => x + N, 0)]).sort((G, x) => G[1] - x[1])[0]) == null ? void 0 : S[0].placement;
3700
- T && (O = T);
3699
+ const H = (S = v.map((G) => [G, G.overflows.filter((x) => x > 0).reduce((x, N) => x + N, 0)]).sort((G, x) => G[1] - x[1])[0]) == null ? void 0 : S[0].placement;
3700
+ H && (T = H);
3701
3701
  break;
3702
3702
  }
3703
3703
  case "initialPlacement":
3704
- O = a;
3704
+ T = a;
3705
3705
  break;
3706
3706
  }
3707
- if (i !== O)
3707
+ if (i !== T)
3708
3708
  return {
3709
3709
  reset: {
3710
- placement: O
3710
+ placement: T
3711
3711
  }
3712
3712
  };
3713
3713
  }
@@ -3794,12 +3794,12 @@ const L5 = function(e) {
3794
3794
  }, c = await ai(t, s), d = a2(o2(r)), C = D5(d);
3795
3795
  let f = u[d], I = u[C];
3796
3796
  if (o) {
3797
- const m = d === "y" ? "top" : "left", h = d === "y" ? "bottom" : "right", B = f + c[m], y = f - c[h];
3798
- f = xt(B, f, y);
3797
+ const m = d === "y" ? "top" : "left", h = d === "y" ? "bottom" : "right", B = f + c[m], Q = f - c[h];
3798
+ f = xt(B, f, Q);
3799
3799
  }
3800
3800
  if (a) {
3801
- const m = C === "y" ? "top" : "left", h = C === "y" ? "bottom" : "right", B = I + c[m], y = I - c[h];
3802
- I = xt(B, I, y);
3801
+ const m = C === "y" ? "top" : "left", h = C === "y" ? "bottom" : "right", B = I + c[m], Q = I - c[h];
3802
+ I = xt(B, I, Q);
3803
3803
  }
3804
3804
  const g = l.fn({
3805
3805
  ...t,
@@ -4235,17 +4235,17 @@ function $5(e) {
4235
4235
  u.current = b, m();
4236
4236
  }, [m]), B = E.useCallback((b) => {
4237
4237
  c.current = b, m();
4238
- }, [m]), y = E.useMemo(() => ({
4238
+ }, [m]), Q = E.useMemo(() => ({
4239
4239
  reference: u,
4240
4240
  floating: c
4241
4241
  }), []);
4242
4242
  return E.useMemo(() => ({
4243
4243
  ...o,
4244
4244
  update: I,
4245
- refs: y,
4245
+ refs: Q,
4246
4246
  reference: h,
4247
4247
  floating: B
4248
- }), [o, I, y, h, B]);
4248
+ }), [o, I, Q, h, B]);
4249
4249
  }
4250
4250
  const e4 = (e) => {
4251
4251
  const {
@@ -4363,15 +4363,15 @@ function s4(e) {
4363
4363
  });
4364
4364
  const {
4365
4365
  reference: B
4366
- } = I, y = E.useCallback((b) => {
4366
+ } = I, Q = E.useCallback((b) => {
4367
4367
  (be(b) || b === null) && (h.refs.domReference.current = b, u(b)), B(b);
4368
4368
  }, [B, h.refs]);
4369
4369
  return E.useMemo(() => ({
4370
4370
  ...I,
4371
4371
  context: h,
4372
4372
  refs: m,
4373
- reference: y
4374
- }), [I, m, h, y]);
4373
+ reference: Q
4374
+ }), [I, m, h, Q]);
4375
4375
  }
4376
4376
  function At(e, t, n) {
4377
4377
  const i = /* @__PURE__ */ new Map();
@@ -4495,7 +4495,7 @@ const g4 = function(e, t) {
4495
4495
  events: d,
4496
4496
  refs: C,
4497
4497
  _: f
4498
- } = e, I = rn(), g = Ci(), m = er(r), h = er(i), B = C4(s), y = E.useRef(), b = E.useRef(), v = E.useRef(), Q = E.useRef(), R = E.useRef(!0), S = E.useRef(!1), V = E.useCallback(() => {
4498
+ } = e, I = rn(), g = Ci(), m = er(r), h = er(i), B = C4(s), Q = E.useRef(), b = E.useRef(), v = E.useRef(), y = E.useRef(), R = E.useRef(!0), S = E.useRef(!1), V = E.useCallback(() => {
4499
4499
  var G;
4500
4500
  const x = (G = c.current.openEvent) == null ? void 0 : G.type;
4501
4501
  return (x == null ? void 0 : x.includes("mouse")) && x !== "mousedown";
@@ -4504,7 +4504,7 @@ const g4 = function(e, t) {
4504
4504
  if (!n)
4505
4505
  return;
4506
4506
  function G() {
4507
- clearTimeout(b.current), clearTimeout(Q.current), R.current = !0;
4507
+ clearTimeout(b.current), clearTimeout(y.current), R.current = !0;
4508
4508
  }
4509
4509
  return d.on("dismiss", G), () => {
4510
4510
  d.off("dismiss", G);
@@ -4522,11 +4522,11 @@ const g4 = function(e, t) {
4522
4522
  }, [C, u, n, m, c, V]);
4523
4523
  const P = E.useCallback(function(G) {
4524
4524
  G === void 0 && (G = !0);
4525
- const x = Ct(h.current, "close", y.current);
4525
+ const x = Ct(h.current, "close", Q.current);
4526
4526
  x && !v.current ? (clearTimeout(b.current), b.current = setTimeout(() => u(!1), x)) : G && (clearTimeout(b.current), u(!1));
4527
- }, [h, u]), O = E.useCallback(() => {
4527
+ }, [h, u]), T = E.useCallback(() => {
4528
4528
  v.current && (Ce(C.floating.current).removeEventListener("pointermove", v.current), v.current = void 0);
4529
- }, [C]), T = E.useCallback(() => {
4529
+ }, [C]), H = E.useCallback(() => {
4530
4530
  Ce(C.floating.current).body.style.pointerEvents = "", S.current = !1;
4531
4531
  }, [C]);
4532
4532
  return E.useEffect(() => {
@@ -4536,10 +4536,10 @@ const g4 = function(e, t) {
4536
4536
  return c.current.openEvent ? ["click", "mousedown"].includes(c.current.openEvent.type) : !1;
4537
4537
  }
4538
4538
  function x(U) {
4539
- if (clearTimeout(b.current), R.current = !1, o && y.current !== "mouse" || a > 0 && Ct(h.current, "open") === 0)
4539
+ if (clearTimeout(b.current), R.current = !1, o && Q.current !== "mouse" || a > 0 && Ct(h.current, "open") === 0)
4540
4540
  return;
4541
4541
  c.current.openEvent = U;
4542
- const d1 = Ct(h.current, "open", y.current);
4542
+ const d1 = Ct(h.current, "open", Q.current);
4543
4543
  d1 ? b.current = setTimeout(() => {
4544
4544
  u(!0);
4545
4545
  }, d1) : u(!0);
@@ -4548,14 +4548,14 @@ const g4 = function(e, t) {
4548
4548
  if (G())
4549
4549
  return;
4550
4550
  const d1 = Ce(C.floating.current);
4551
- if (clearTimeout(Q.current), m.current) {
4551
+ if (clearTimeout(y.current), m.current) {
4552
4552
  clearTimeout(b.current), v.current && d1.removeEventListener("pointermove", v.current), v.current = m.current({
4553
4553
  ...e,
4554
4554
  tree: I,
4555
4555
  x: U.clientX,
4556
4556
  y: U.clientY,
4557
4557
  onClose() {
4558
- T(), O(), P();
4558
+ H(), T(), P();
4559
4559
  }
4560
4560
  }), d1.addEventListener("pointermove", v.current);
4561
4561
  return;
@@ -4570,7 +4570,7 @@ const g4 = function(e, t) {
4570
4570
  y: U.clientY,
4571
4571
  leave: !0,
4572
4572
  onClose() {
4573
- T(), O(), P();
4573
+ H(), T(), P();
4574
4574
  }
4575
4575
  })(U);
4576
4576
  }
@@ -4589,8 +4589,8 @@ const g4 = function(e, t) {
4589
4589
  a,
4590
4590
  l,
4591
4591
  P,
4592
- O,
4593
4592
  T,
4593
+ H,
4594
4594
  u,
4595
4595
  s,
4596
4596
  I,
@@ -4611,21 +4611,21 @@ const g4 = function(e, t) {
4611
4611
  }
4612
4612
  }
4613
4613
  }, [n, s, g, C, I, m, c, V]), Qe(() => {
4614
- B && !s && (y.current = void 0, O(), T());
4614
+ B && !s && (Q.current = void 0, T(), H());
4615
4615
  }), E.useEffect(() => () => {
4616
- O(), clearTimeout(b.current), clearTimeout(Q.current), S.current && T();
4617
- }, [n, O, T]), E.useMemo(() => {
4616
+ T(), clearTimeout(b.current), clearTimeout(y.current), S.current && H();
4617
+ }, [n, T, H]), E.useMemo(() => {
4618
4618
  if (!n)
4619
4619
  return {};
4620
4620
  function G(x) {
4621
- y.current = x.pointerType;
4621
+ Q.current = x.pointerType;
4622
4622
  }
4623
4623
  return {
4624
4624
  reference: {
4625
4625
  onPointerDown: G,
4626
4626
  onPointerEnter: G,
4627
4627
  onMouseMove() {
4628
- s || a === 0 || (clearTimeout(Q.current), Q.current = setTimeout(() => {
4628
+ s || a === 0 || (clearTimeout(y.current), y.current = setTimeout(() => {
4629
4629
  R.current || u(!0);
4630
4630
  }, a));
4631
4631
  }
@@ -4725,23 +4725,23 @@ const I4 = {
4725
4725
  }), i(!1);
4726
4726
  }
4727
4727
  }
4728
- function y(R) {
4728
+ function Q(R) {
4729
4729
  const S = h.current;
4730
4730
  if (h.current = !1, S)
4731
4731
  return;
4732
4732
  const V = d4(R);
4733
4733
  if (be(V) && r.floating.current) {
4734
4734
  var P;
4735
- const T = (P = r.floating.current.ownerDocument.defaultView) != null ? P : window, G = V.scrollWidth > V.clientWidth, x = V.scrollHeight > V.clientHeight;
4735
+ const H = (P = r.floating.current.ownerDocument.defaultView) != null ? P : window, G = V.scrollWidth > V.clientWidth, x = V.scrollHeight > V.clientHeight;
4736
4736
  let N = x && R.offsetX > V.clientWidth;
4737
- if (x && T.getComputedStyle(V).direction === "rtl" && (N = R.offsetX <= V.offsetWidth - V.clientWidth), N || G && R.offsetY > V.clientHeight)
4737
+ if (x && H.getComputedStyle(V).direction === "rtl" && (N = R.offsetX <= V.offsetWidth - V.clientWidth), N || G && R.offsetY > V.clientHeight)
4738
4738
  return;
4739
4739
  }
4740
- const O = g && dt(g.nodesRef.current, a).some((T) => {
4740
+ const T = g && dt(g.nodesRef.current, a).some((H) => {
4741
4741
  var G;
4742
- return gt(R, (G = T.context) == null ? void 0 : G.refs.floating.current);
4742
+ return gt(R, (G = H.context) == null ? void 0 : G.refs.floating.current);
4743
4743
  });
4744
- gt(R, r.floating.current) || gt(R, r.domReference.current) || O || !I && g && dt(g.nodesRef.current, a).length > 0 || (o.emit("dismiss", m ? {
4744
+ gt(R, r.floating.current) || gt(R, r.domReference.current) || T || !I && g && dt(g.nodesRef.current, a).length > 0 || (o.emit("dismiss", m ? {
4745
4745
  preventScroll: !0
4746
4746
  } : !1), i(!1));
4747
4747
  }
@@ -4749,19 +4749,19 @@ const I4 = {
4749
4749
  i(!1);
4750
4750
  }
4751
4751
  const v = Ce(r.floating.current);
4752
- s && v.addEventListener("keydown", B), u && v.addEventListener(c, y);
4753
- let Q = [];
4754
- return f && (be(r.domReference.current) && (Q = fe(r.domReference.current)), be(r.floating.current) && (Q = Q.concat(fe(r.floating.current))), !be(r.reference.current) && r.reference.current && r.reference.current.contextElement && (Q = Q.concat(
4752
+ s && v.addEventListener("keydown", B), u && v.addEventListener(c, Q);
4753
+ let y = [];
4754
+ return f && (be(r.domReference.current) && (y = fe(r.domReference.current)), be(r.floating.current) && (y = y.concat(fe(r.floating.current))), !be(r.reference.current) && r.reference.current && r.reference.current.contextElement && (y = y.concat(
4755
4755
  fe(r.reference.current.contextElement)
4756
- ))), Q = Q.filter((R) => {
4756
+ ))), y = y.filter((R) => {
4757
4757
  var S;
4758
4758
  return R !== ((S = v.defaultView) == null ? void 0 : S.visualViewport);
4759
- }), Q.forEach((R) => {
4759
+ }), y.forEach((R) => {
4760
4760
  R.addEventListener("scroll", b, {
4761
4761
  passive: !0
4762
4762
  });
4763
4763
  }), () => {
4764
- s && v.removeEventListener("keydown", B), u && v.removeEventListener(c, y), Q.forEach((R) => {
4764
+ s && v.removeEventListener("keydown", B), u && v.removeEventListener(c, Q), y.forEach((R) => {
4765
4765
  R.removeEventListener("scroll", b);
4766
4766
  });
4767
4767
  };
@@ -5743,21 +5743,21 @@ function pe(e, t) {
5743
5743
  }
5744
5744
  var L4 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
5745
5745
  function on(e) {
5746
- var t = e.defaultInputValue, n = t === void 0 ? "" : t, i = e.defaultMenuIsOpen, r = i === void 0 ? !1 : i, o = e.defaultValue, a = o === void 0 ? null : o, l = e.inputValue, s = e.menuIsOpen, u = e.onChange, c = e.onInputChange, d = e.onMenuClose, C = e.onMenuOpen, f = e.value, I = pe(e, L4), g = _(l !== void 0 ? l : n), m = w1(g, 2), h = m[0], B = m[1], y = _(s !== void 0 ? s : r), b = w1(y, 2), v = b[0], Q = b[1], R = _(f !== void 0 ? f : a), S = w1(R, 2), V = S[0], P = S[1], O = g1(function(Z, U) {
5746
+ var t = e.defaultInputValue, n = t === void 0 ? "" : t, i = e.defaultMenuIsOpen, r = i === void 0 ? !1 : i, o = e.defaultValue, a = o === void 0 ? null : o, l = e.inputValue, s = e.menuIsOpen, u = e.onChange, c = e.onInputChange, d = e.onMenuClose, C = e.onMenuOpen, f = e.value, I = pe(e, L4), g = _(l !== void 0 ? l : n), m = w1(g, 2), h = m[0], B = m[1], Q = _(s !== void 0 ? s : r), b = w1(Q, 2), v = b[0], y = b[1], R = _(f !== void 0 ? f : a), S = w1(R, 2), V = S[0], P = S[1], T = g1(function(Z, U) {
5747
5747
  typeof u == "function" && u(Z, U), P(Z);
5748
- }, [u]), T = g1(function(Z, U) {
5748
+ }, [u]), H = g1(function(Z, U) {
5749
5749
  var d1;
5750
5750
  typeof c == "function" && (d1 = c(Z, U)), B(d1 !== void 0 ? d1 : Z);
5751
5751
  }, [c]), G = g1(function() {
5752
- typeof C == "function" && C(), Q(!0);
5752
+ typeof C == "function" && C(), y(!0);
5753
5753
  }, [C]), x = g1(function() {
5754
- typeof d == "function" && d(), Q(!1);
5754
+ typeof d == "function" && d(), y(!1);
5755
5755
  }, [d]), N = l !== void 0 ? l : h, L = s !== void 0 ? s : v, W = f !== void 0 ? f : V;
5756
5756
  return t1(t1({}, I), {}, {
5757
5757
  inputValue: N,
5758
5758
  menuIsOpen: L,
5759
- onChange: O,
5760
- onInputChange: T,
5759
+ onChange: T,
5760
+ onInputChange: H,
5761
5761
  onMenuClose: x,
5762
5762
  onMenuOpen: G,
5763
5763
  value: W
@@ -6057,7 +6057,7 @@ function uo(e) {
6057
6057
  return hi(h2("", null, null, null, [""], e = bi(e), 0, [0], e));
6058
6058
  }
6059
6059
  function h2(e, t, n, i, r, o, a, l, s) {
6060
- for (var u = 0, c = 0, d = a, C = 0, f = 0, I = 0, g = 1, m = 1, h = 1, B = 0, y = "", b = r, v = o, Q = i, R = y; m; )
6060
+ for (var u = 0, c = 0, d = a, C = 0, f = 0, I = 0, g = 1, m = 1, h = 1, B = 0, Q = "", b = r, v = o, y = i, R = Q; m; )
6061
6061
  switch (I = B, B = X1()) {
6062
6062
  case 40:
6063
6063
  if (I != 108 && P1(R, d - 1) == 58) {
@@ -6103,21 +6103,21 @@ function h2(e, t, n, i, r, o, a, l, s) {
6103
6103
  case 59:
6104
6104
  R += ";";
6105
6105
  default:
6106
- if (I2(Q = rr(R, t, n, u, c, r, l, y, b = [], v = [], d), o), B === 123)
6106
+ if (I2(y = rr(R, t, n, u, c, r, l, Q, b = [], v = [], d), o), B === 123)
6107
6107
  if (c === 0)
6108
- h2(R, t, Q, Q, b, o, d, l, v);
6108
+ h2(R, t, y, y, b, o, d, l, v);
6109
6109
  else
6110
6110
  switch (C === 99 && P1(R, 3) === 110 ? 100 : C) {
6111
6111
  case 100:
6112
6112
  case 109:
6113
6113
  case 115:
6114
- h2(e, Q, Q, i && I2(rr(e, Q, Q, 0, 0, r, l, y, r, b = [], d), v), r, v, d, l, i ? b : v);
6114
+ h2(e, y, y, i && I2(rr(e, y, y, 0, 0, r, l, Q, r, b = [], d), v), r, v, d, l, i ? b : v);
6115
6115
  break;
6116
6116
  default:
6117
- h2(R, Q, Q, Q, [""], v, 0, l, v);
6117
+ h2(R, y, y, y, [""], v, 0, l, v);
6118
6118
  }
6119
6119
  }
6120
- u = c = f = 0, g = h = 1, y = R = "", d = a;
6120
+ u = c = f = 0, g = h = 1, Q = R = "", d = a;
6121
6121
  break;
6122
6122
  case 58:
6123
6123
  d = 1 + $1(R), f = I;
@@ -6136,7 +6136,7 @@ function h2(e, t, n, i, r, o, a, l, s) {
6136
6136
  l[u++] = ($1(R) - 1) * h, h = 1;
6137
6137
  break;
6138
6138
  case 64:
6139
- ee() === 45 && (R += b2(X1())), C = ee(), c = d = $1(y = R += so(m2())), B++;
6139
+ ee() === 45 && (R += b2(X1())), C = ee(), c = d = $1(Q = R += so(m2())), B++;
6140
6140
  break;
6141
6141
  case 45:
6142
6142
  I === 45 && $1(R) == 2 && (g = 0);
@@ -6146,8 +6146,8 @@ function h2(e, t, n, i, r, o, a, l, s) {
6146
6146
  }
6147
6147
  function rr(e, t, n, i, r, o, a, l, s, u, c) {
6148
6148
  for (var d = r - 1, C = r === 0 ? o : [""], f = un(C), I = 0, g = 0, m = 0; I < i; ++I)
6149
- for (var h = 0, B = _e(e, d + 1, d = _4(g = a[I])), y = e; h < f; ++h)
6150
- (y = pi(g > 0 ? C[h] + " " + B : o1(B, /&\f/g, C[h]))) && (s[m++] = y);
6149
+ for (var h = 0, B = _e(e, d + 1, d = _4(g = a[I])), Q = e; h < f; ++h)
6150
+ (Q = pi(g > 0 ? C[h] + " " + B : o1(B, /&\f/g, C[h]))) && (s[m++] = Q);
6151
6151
  return K2(e, t, n, r === 0 ? ln : l, s, u, c);
6152
6152
  }
6153
6153
  function co(e, t, n) {
@@ -6455,12 +6455,12 @@ If multiple caches share the same key they might "fight" for each other's style
6455
6455
  })], C = Co(u.concat(r, d)), f = function(m) {
6456
6456
  return Fe(uo(m), C);
6457
6457
  };
6458
- s = function(m, h, B, y) {
6458
+ s = function(m, h, B, Q) {
6459
6459
  c = B, process.env.NODE_ENV !== "production" && h.map !== void 0 && (c = {
6460
6460
  insert: function(v) {
6461
6461
  B.insert(v + h.map);
6462
6462
  }
6463
- }), f(m ? m + "{" + h.styles + "}" : h.styles), y && (I.inserted[h.name] = !0);
6463
+ }), f(m ? m + "{" + h.styles + "}" : h.styles), Q && (I.inserted[h.name] = !0);
6464
6464
  };
6465
6465
  }
6466
6466
  var I = {
@@ -6494,10 +6494,10 @@ function Vo() {
6494
6494
  return r1;
6495
6495
  lr = 1;
6496
6496
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, C = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, h = e ? Symbol.for("react.responder") : 60118, B = e ? Symbol.for("react.scope") : 60119;
6497
- function y(v) {
6497
+ function Q(v) {
6498
6498
  if (typeof v == "object" && v !== null) {
6499
- var Q = v.$$typeof;
6500
- switch (Q) {
6499
+ var y = v.$$typeof;
6500
+ switch (y) {
6501
6501
  case t:
6502
6502
  switch (v = v.type, v) {
6503
6503
  case s:
@@ -6516,44 +6516,44 @@ function Vo() {
6516
6516
  case a:
6517
6517
  return v;
6518
6518
  default:
6519
- return Q;
6519
+ return y;
6520
6520
  }
6521
6521
  }
6522
6522
  case n:
6523
- return Q;
6523
+ return y;
6524
6524
  }
6525
6525
  }
6526
6526
  }
6527
6527
  function b(v) {
6528
- return y(v) === u;
6528
+ return Q(v) === u;
6529
6529
  }
6530
6530
  return r1.AsyncMode = s, r1.ConcurrentMode = u, r1.ContextConsumer = l, r1.ContextProvider = a, r1.Element = t, r1.ForwardRef = c, r1.Fragment = i, r1.Lazy = I, r1.Memo = f, r1.Portal = n, r1.Profiler = o, r1.StrictMode = r, r1.Suspense = d, r1.isAsyncMode = function(v) {
6531
- return b(v) || y(v) === s;
6531
+ return b(v) || Q(v) === s;
6532
6532
  }, r1.isConcurrentMode = b, r1.isContextConsumer = function(v) {
6533
- return y(v) === l;
6533
+ return Q(v) === l;
6534
6534
  }, r1.isContextProvider = function(v) {
6535
- return y(v) === a;
6535
+ return Q(v) === a;
6536
6536
  }, r1.isElement = function(v) {
6537
6537
  return typeof v == "object" && v !== null && v.$$typeof === t;
6538
6538
  }, r1.isForwardRef = function(v) {
6539
- return y(v) === c;
6539
+ return Q(v) === c;
6540
6540
  }, r1.isFragment = function(v) {
6541
- return y(v) === i;
6541
+ return Q(v) === i;
6542
6542
  }, r1.isLazy = function(v) {
6543
- return y(v) === I;
6543
+ return Q(v) === I;
6544
6544
  }, r1.isMemo = function(v) {
6545
- return y(v) === f;
6545
+ return Q(v) === f;
6546
6546
  }, r1.isPortal = function(v) {
6547
- return y(v) === n;
6547
+ return Q(v) === n;
6548
6548
  }, r1.isProfiler = function(v) {
6549
- return y(v) === o;
6549
+ return Q(v) === o;
6550
6550
  }, r1.isStrictMode = function(v) {
6551
- return y(v) === r;
6551
+ return Q(v) === r;
6552
6552
  }, r1.isSuspense = function(v) {
6553
- return y(v) === d;
6553
+ return Q(v) === d;
6554
6554
  }, r1.isValidElementType = function(v) {
6555
6555
  return typeof v == "string" || typeof v == "function" || v === i || v === u || v === o || v === r || v === d || v === C || typeof v == "object" && v !== null && (v.$$typeof === I || v.$$typeof === f || v.$$typeof === a || v.$$typeof === l || v.$$typeof === c || v.$$typeof === m || v.$$typeof === h || v.$$typeof === B || v.$$typeof === g);
6556
- }, r1.typeOf = y, r1;
6556
+ }, r1.typeOf = Q, r1;
6557
6557
  }
6558
6558
  var i1 = {};
6559
6559
  /** @license React v16.13.1
@@ -6568,15 +6568,15 @@ var sr;
6568
6568
  function Po() {
6569
6569
  return sr || (sr = 1, process.env.NODE_ENV !== "production" && function() {
6570
6570
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, C = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, h = e ? Symbol.for("react.responder") : 60118, B = e ? Symbol.for("react.scope") : 60119;
6571
- function y(H) {
6572
- return typeof H == "string" || typeof H == "function" || H === i || H === u || H === o || H === r || H === d || H === C || typeof H == "object" && H !== null && (H.$$typeof === I || H.$$typeof === f || H.$$typeof === a || H.$$typeof === l || H.$$typeof === c || H.$$typeof === m || H.$$typeof === h || H.$$typeof === B || H.$$typeof === g);
6571
+ function Q(O) {
6572
+ return typeof O == "string" || typeof O == "function" || O === i || O === u || O === o || O === r || O === d || O === C || typeof O == "object" && O !== null && (O.$$typeof === I || O.$$typeof === f || O.$$typeof === a || O.$$typeof === l || O.$$typeof === c || O.$$typeof === m || O.$$typeof === h || O.$$typeof === B || O.$$typeof === g);
6573
6573
  }
6574
- function b(H) {
6575
- if (typeof H == "object" && H !== null) {
6576
- var te = H.$$typeof;
6574
+ function b(O) {
6575
+ if (typeof O == "object" && O !== null) {
6576
+ var te = O.$$typeof;
6577
6577
  switch (te) {
6578
6578
  case t:
6579
- var z1 = H.type;
6579
+ var z1 = O.type;
6580
6580
  switch (z1) {
6581
6581
  case s:
6582
6582
  case u:
@@ -6603,47 +6603,47 @@ function Po() {
6603
6603
  }
6604
6604
  }
6605
6605
  }
6606
- var v = s, Q = u, R = l, S = a, V = t, P = c, O = i, T = I, G = f, x = n, N = o, L = r, W = d, Z = !1;
6607
- function U(H) {
6608
- return Z || (Z = !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.")), d1(H) || b(H) === s;
6606
+ var v = s, y = u, R = l, S = a, V = t, P = c, T = i, H = I, G = f, x = n, N = o, L = r, W = d, Z = !1;
6607
+ function U(O) {
6608
+ return Z || (Z = !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.")), d1(O) || b(O) === s;
6609
6609
  }
6610
- function d1(H) {
6611
- return b(H) === u;
6610
+ function d1(O) {
6611
+ return b(O) === u;
6612
6612
  }
6613
- function H1(H) {
6614
- return b(H) === l;
6613
+ function H1(O) {
6614
+ return b(O) === l;
6615
6615
  }
6616
- function u1(H) {
6617
- return b(H) === a;
6616
+ function u1(O) {
6617
+ return b(O) === a;
6618
6618
  }
6619
- function I1(H) {
6620
- return typeof H == "object" && H !== null && H.$$typeof === t;
6619
+ function I1(O) {
6620
+ return typeof O == "object" && O !== null && O.$$typeof === t;
6621
6621
  }
6622
- function F1(H) {
6623
- return b(H) === c;
6622
+ function F1(O) {
6623
+ return b(O) === c;
6624
6624
  }
6625
- function Q1(H) {
6626
- return b(H) === i;
6625
+ function Q1(O) {
6626
+ return b(O) === i;
6627
6627
  }
6628
- function y1(H) {
6629
- return b(H) === I;
6628
+ function y1(O) {
6629
+ return b(O) === I;
6630
6630
  }
6631
- function R1(H) {
6632
- return b(H) === f;
6631
+ function R1(O) {
6632
+ return b(O) === f;
6633
6633
  }
6634
- function N1(H) {
6635
- return b(H) === n;
6634
+ function N1(O) {
6635
+ return b(O) === n;
6636
6636
  }
6637
- function j1(H) {
6638
- return b(H) === o;
6637
+ function j1(O) {
6638
+ return b(O) === o;
6639
6639
  }
6640
- function _1(H) {
6641
- return b(H) === r;
6640
+ function _1(O) {
6641
+ return b(O) === r;
6642
6642
  }
6643
- function ce(H) {
6644
- return b(H) === d;
6643
+ function ce(O) {
6644
+ return b(O) === d;
6645
6645
  }
6646
- i1.AsyncMode = v, i1.ConcurrentMode = Q, i1.ContextConsumer = R, i1.ContextProvider = S, i1.Element = V, i1.ForwardRef = P, i1.Fragment = O, i1.Lazy = T, i1.Memo = G, i1.Portal = x, i1.Profiler = N, i1.StrictMode = L, i1.Suspense = W, i1.isAsyncMode = U, i1.isConcurrentMode = d1, i1.isContextConsumer = H1, i1.isContextProvider = u1, i1.isElement = I1, i1.isForwardRef = F1, i1.isFragment = Q1, i1.isLazy = y1, i1.isMemo = R1, i1.isPortal = N1, i1.isProfiler = j1, i1.isStrictMode = _1, i1.isSuspense = ce, i1.isValidElementType = y, i1.typeOf = b;
6646
+ i1.AsyncMode = v, i1.ConcurrentMode = y, i1.ContextConsumer = R, i1.ContextProvider = S, i1.Element = V, i1.ForwardRef = P, i1.Fragment = T, i1.Lazy = H, i1.Memo = G, i1.Portal = x, i1.Profiler = N, i1.StrictMode = L, i1.Suspense = W, i1.isAsyncMode = U, i1.isConcurrentMode = d1, i1.isContextConsumer = H1, i1.isContextProvider = u1, i1.isElement = I1, i1.isForwardRef = F1, i1.isFragment = Q1, i1.isLazy = y1, i1.isMemo = R1, i1.isPortal = N1, i1.isProfiler = j1, i1.isStrictMode = _1, i1.isSuspense = ce, i1.isValidElementType = Q, i1.typeOf = b;
6647
6647
  }()), i1;
6648
6648
  }
6649
6649
  (function(e) {
@@ -7356,7 +7356,7 @@ function m8(e) {
7356
7356
  };
7357
7357
  if (!n || !n.offsetParent)
7358
7358
  return c;
7359
- var d = u.getBoundingClientRect(), C = d.height, f = n.getBoundingClientRect(), I = f.bottom, g = f.height, m = f.top, h = n.offsetParent.getBoundingClientRect(), B = h.top, y = a ? window.innerHeight : u8(u), b = Li(u), v = parseInt(getComputedStyle(n).marginBottom, 10), Q = parseInt(getComputedStyle(n).marginTop, 10), R = B - Q, S = y - m, V = R + b, P = C - b - m, O = I - y + b + v, T = b + m - Q, G = 160;
7359
+ var d = u.getBoundingClientRect(), C = d.height, f = n.getBoundingClientRect(), I = f.bottom, g = f.height, m = f.top, h = n.offsetParent.getBoundingClientRect(), B = h.top, Q = a ? window.innerHeight : u8(u), b = Li(u), v = parseInt(getComputedStyle(n).marginBottom, 10), y = parseInt(getComputedStyle(n).marginTop, 10), R = B - y, S = Q - m, V = R + b, P = C - b - m, T = I - Q + b + v, H = b + m - y, G = 160;
7360
7360
  switch (r) {
7361
7361
  case "auto":
7362
7362
  case "bottom":
@@ -7366,12 +7366,12 @@ function m8(e) {
7366
7366
  maxHeight: t
7367
7367
  };
7368
7368
  if (P >= g && !a)
7369
- return o && E2(u, O, G), {
7369
+ return o && E2(u, T, G), {
7370
7370
  placement: "bottom",
7371
7371
  maxHeight: t
7372
7372
  };
7373
7373
  if (!a && P >= i || a && S >= i) {
7374
- o && E2(u, O, G);
7374
+ o && E2(u, T, G);
7375
7375
  var x = a ? S - v : P - v;
7376
7376
  return {
7377
7377
  placement: "bottom",
@@ -7386,7 +7386,7 @@ function m8(e) {
7386
7386
  };
7387
7387
  }
7388
7388
  if (r === "bottom")
7389
- return o && D2(u, O), {
7389
+ return o && D2(u, T), {
7390
7390
  placement: "bottom",
7391
7391
  maxHeight: t
7392
7392
  };
@@ -7398,13 +7398,13 @@ function m8(e) {
7398
7398
  maxHeight: t
7399
7399
  };
7400
7400
  if (V >= g && !a)
7401
- return o && E2(u, T, G), {
7401
+ return o && E2(u, H, G), {
7402
7402
  placement: "top",
7403
7403
  maxHeight: t
7404
7404
  };
7405
7405
  if (!a && V >= i || a && R >= i) {
7406
7406
  var W = t;
7407
- return (!a && V >= i || a && R >= i) && (W = a ? R - Q : V - Q), o && E2(u, T, G), {
7407
+ return (!a && V >= i || a && R >= i) && (W = a ? R - y : V - y), o && E2(u, H, G), {
7408
7408
  placement: "top",
7409
7409
  maxHeight: W
7410
7410
  };
@@ -7433,20 +7433,20 @@ var Oi = function(t) {
7433
7433
  label: "menu"
7434
7434
  }, U1(n, b8(i), "100%"), U1(n, "backgroundColor", l.neutral0), U1(n, "borderRadius", o), U1(n, "boxShadow", "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"), U1(n, "marginBottom", a.menuGutter), U1(n, "marginTop", a.menuGutter), U1(n, "position", "absolute"), U1(n, "width", "100%"), U1(n, "zIndex", 1), n;
7435
7435
  }, Ti = /* @__PURE__ */ V1(null), v8 = function(t) {
7436
- var n = t.children, i = t.minMenuHeight, r = t.maxMenuHeight, o = t.menuPlacement, a = t.menuPosition, l = t.menuShouldScrollIntoView, s = t.theme, u = p1(Ti) || {}, c = u.setPortalPlacement, d = X(null), C = _(r), f = w1(C, 2), I = f[0], g = f[1], m = _(null), h = w1(m, 2), B = h[0], y = h[1];
7436
+ var n = t.children, i = t.minMenuHeight, r = t.maxMenuHeight, o = t.menuPlacement, a = t.menuPosition, l = t.menuShouldScrollIntoView, s = t.theme, u = p1(Ti) || {}, c = u.setPortalPlacement, d = X(null), C = _(r), f = w1(C, 2), I = f[0], g = f[1], m = _(null), h = w1(m, 2), B = h[0], Q = h[1];
7437
7437
  return Nt(function() {
7438
7438
  var b = d.current;
7439
7439
  if (!!b) {
7440
- var v = a === "fixed", Q = l && !v, R = m8({
7440
+ var v = a === "fixed", y = l && !v, R = m8({
7441
7441
  maxHeight: r,
7442
7442
  menuEl: b,
7443
7443
  minHeight: i,
7444
7444
  placement: o,
7445
- shouldScroll: Q,
7445
+ shouldScroll: y,
7446
7446
  isFixedPosition: v,
7447
7447
  theme: s
7448
7448
  });
7449
- g(R.maxHeight), y(R.placement), c == null || c(R.placement);
7449
+ g(R.maxHeight), Q(R.placement), c == null || c(R.placement);
7450
7450
  }
7451
7451
  }, [r, o, a, l, i, c, s]), n({
7452
7452
  ref: d,
@@ -7531,23 +7531,23 @@ var w8 = function(t) {
7531
7531
  return {
7532
7532
  setPortalPlacement: m
7533
7533
  };
7534
- }, []), B = _(null), y = w1(B, 2), b = y[0], v = y[1], Q = g1(function() {
7534
+ }, []), B = _(null), Q = w1(B, 2), b = Q[0], v = Q[1], y = g1(function() {
7535
7535
  if (!!o) {
7536
- var P = d8(o), O = u === "fixed" ? 0 : window.pageYOffset, T = P[g] + O;
7537
- (T !== (b == null ? void 0 : b.offset) || P.left !== (b == null ? void 0 : b.rect.left) || P.width !== (b == null ? void 0 : b.rect.width)) && v({
7538
- offset: T,
7536
+ var P = d8(o), T = u === "fixed" ? 0 : window.pageYOffset, H = P[g] + T;
7537
+ (H !== (b == null ? void 0 : b.offset) || P.left !== (b == null ? void 0 : b.rect.left) || P.width !== (b == null ? void 0 : b.rect.width)) && v({
7538
+ offset: H,
7539
7539
  rect: P
7540
7540
  });
7541
7541
  }
7542
7542
  }, [o, u, g, b == null ? void 0 : b.offset, b == null ? void 0 : b.rect.left, b == null ? void 0 : b.rect.width]);
7543
7543
  Nt(function() {
7544
- Q();
7545
- }, [Q]);
7544
+ y();
7545
+ }, [y]);
7546
7546
  var R = g1(function() {
7547
- typeof C.current == "function" && (C.current(), C.current = null), o && d.current && (C.current = di(o, d.current, Q, {
7547
+ typeof C.current == "function" && (C.current(), C.current = null), o && d.current && (C.current = di(o, d.current, y, {
7548
7548
  elementResize: "ResizeObserver" in window
7549
7549
  }));
7550
- }, [o, Q]);
7550
+ }, [o, y]);
7551
7551
  Nt(function() {
7552
7552
  R();
7553
7553
  }, [R]);
@@ -8163,11 +8163,11 @@ var Ba = process.env.NODE_ENV === "production" ? {
8163
8163
  return "".concat(i).concat(n ? " for search term " + n : "", ".");
8164
8164
  }
8165
8165
  }, Qa = function(t) {
8166
- var n = t.ariaSelection, i = t.focusedOption, r = t.focusedValue, o = t.focusableOptions, a = t.isFocused, l = t.selectValue, s = t.selectProps, u = t.id, c = s.ariaLiveMessages, d = s.getOptionLabel, C = s.inputValue, f = s.isMulti, I = s.isOptionDisabled, g = s.isSearchable, m = s.menuIsOpen, h = s.options, B = s.screenReaderStatus, y = s.tabSelectsValue, b = s["aria-label"], v = s["aria-live"], Q = z(function() {
8166
+ var n = t.ariaSelection, i = t.focusedOption, r = t.focusedValue, o = t.focusableOptions, a = t.isFocused, l = t.selectValue, s = t.selectProps, u = t.id, c = s.ariaLiveMessages, d = s.getOptionLabel, C = s.inputValue, f = s.isMulti, I = s.isOptionDisabled, g = s.isSearchable, m = s.menuIsOpen, h = s.options, B = s.screenReaderStatus, Q = s.tabSelectsValue, b = s["aria-label"], v = s["aria-live"], y = z(function() {
8167
8167
  return t1(t1({}, ya), c || {});
8168
8168
  }, [c]), R = z(function() {
8169
8169
  var x = "";
8170
- if (n && Q.onChange) {
8170
+ if (n && y.onChange) {
8171
8171
  var N = n.option, L = n.options, W = n.removedValue, Z = n.removedValues, U = n.value, d1 = function(R1) {
8172
8172
  return Array.isArray(R1) ? null : R1;
8173
8173
  }, H1 = W || N || d1(U), u1 = H1 ? d(H1) : "", I1 = L || Z || void 0, F1 = I1 ? I1.map(d) : [], Q1 = t1({
@@ -8175,12 +8175,12 @@ var Ba = process.env.NODE_ENV === "production" ? {
8175
8175
  label: u1,
8176
8176
  labels: F1
8177
8177
  }, n);
8178
- x = Q.onChange(Q1);
8178
+ x = y.onChange(Q1);
8179
8179
  }
8180
8180
  return x;
8181
- }, [n, Q, I, l, d]), S = z(function() {
8181
+ }, [n, y, I, l, d]), S = z(function() {
8182
8182
  var x = "", N = i || r, L = !!(i && l && l.includes(i));
8183
- if (N && Q.onFocus) {
8183
+ if (N && y.onFocus) {
8184
8184
  var W = {
8185
8185
  focused: N,
8186
8186
  label: d(N),
@@ -8190,47 +8190,47 @@ var Ba = process.env.NODE_ENV === "production" ? {
8190
8190
  context: N === i ? "menu" : "value",
8191
8191
  selectValue: l
8192
8192
  };
8193
- x = Q.onFocus(W);
8193
+ x = y.onFocus(W);
8194
8194
  }
8195
8195
  return x;
8196
- }, [i, r, d, I, Q, o, l]), V = z(function() {
8196
+ }, [i, r, d, I, y, o, l]), V = z(function() {
8197
8197
  var x = "";
8198
- if (m && h.length && Q.onFilter) {
8198
+ if (m && h.length && y.onFilter) {
8199
8199
  var N = B({
8200
8200
  count: o.length
8201
8201
  });
8202
- x = Q.onFilter({
8202
+ x = y.onFilter({
8203
8203
  inputValue: C,
8204
8204
  resultsMessage: N
8205
8205
  });
8206
8206
  }
8207
8207
  return x;
8208
- }, [o, C, m, Q, h, B]), P = z(function() {
8208
+ }, [o, C, m, y, h, B]), P = z(function() {
8209
8209
  var x = "";
8210
- if (Q.guidance) {
8210
+ if (y.guidance) {
8211
8211
  var N = r ? "value" : m ? "menu" : "input";
8212
- x = Q.guidance({
8212
+ x = y.guidance({
8213
8213
  "aria-label": b,
8214
8214
  context: N,
8215
8215
  isDisabled: i && I(i, l),
8216
8216
  isMulti: f,
8217
8217
  isSearchable: g,
8218
- tabSelectsValue: y
8218
+ tabSelectsValue: Q
8219
8219
  });
8220
8220
  }
8221
8221
  return x;
8222
- }, [b, i, r, f, I, g, m, Q, l, y]), O = "".concat(S, " ").concat(V, " ").concat(P), T = k(G1, null, k("span", {
8222
+ }, [b, i, r, f, I, g, m, y, l, Q]), T = "".concat(S, " ").concat(V, " ").concat(P), H = k(G1, null, k("span", {
8223
8223
  id: "aria-selection"
8224
8224
  }, R), k("span", {
8225
8225
  id: "aria-context"
8226
- }, O)), G = (n == null ? void 0 : n.action) === "initial-input-focus";
8226
+ }, T)), G = (n == null ? void 0 : n.action) === "initial-input-focus";
8227
8227
  return k(G1, null, k(Br, {
8228
8228
  id: u
8229
- }, G && T), k(Br, {
8229
+ }, G && H), k(Br, {
8230
8230
  "aria-live": v,
8231
8231
  "aria-atomic": "false",
8232
8232
  "aria-relevant": "additions text"
8233
- }, a && !G && T));
8233
+ }, a && !G && H));
8234
8234
  }, Dt = [{
8235
8235
  base: "A",
8236
8236
  letters: "A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"
@@ -8540,8 +8540,8 @@ var Ma = function(t) {
8540
8540
  function Ga(e) {
8541
8541
  var t = e.isEnabled, n = e.onBottomArrive, i = e.onBottomLeave, r = e.onTopArrive, o = e.onTopLeave, a = X(!1), l = X(!1), s = X(0), u = X(null), c = g1(function(m, h) {
8542
8542
  if (u.current !== null) {
8543
- var B = u.current, y = B.scrollTop, b = B.scrollHeight, v = B.clientHeight, Q = u.current, R = h > 0, S = b - v - y, V = !1;
8544
- S > h && a.current && (i && i(m), a.current = !1), R && l.current && (o && o(m), l.current = !1), R && h > S ? (n && !a.current && n(m), Q.scrollTop = b, V = !0, a.current = !0) : !R && -h > y && (r && !l.current && r(m), Q.scrollTop = 0, V = !0, l.current = !0), V && Ma(m);
8543
+ var B = u.current, Q = B.scrollTop, b = B.scrollHeight, v = B.clientHeight, y = u.current, R = h > 0, S = b - v - Q, V = !1;
8544
+ S > h && a.current && (i && i(m), a.current = !1), R && l.current && (o && o(m), l.current = !1), R && h > S ? (n && !a.current && n(m), y.scrollTop = b, V = !0, a.current = !0) : !R && -h > Q && (r && !l.current && r(m), y.scrollTop = 0, V = !0, l.current = !0), V && Ma(m);
8545
8545
  }
8546
8546
  }, [n, i, r, o]), d = g1(function(m) {
8547
8547
  c(m, m.deltaY);
@@ -9064,7 +9064,7 @@ var l3 = function(t) {
9064
9064
  }, r.onValueInputFocus = function(l) {
9065
9065
  l.preventDefault(), l.stopPropagation(), r.focus();
9066
9066
  }, r.onKeyDown = function(l) {
9067
- var s = r.props, u = s.isMulti, c = s.backspaceRemovesValue, d = s.escapeClearsValue, C = s.inputValue, f = s.isClearable, I = s.isDisabled, g = s.menuIsOpen, m = s.onKeyDown, h = s.tabSelectsValue, B = s.openMenuOnFocus, y = r.state, b = y.focusedOption, v = y.focusedValue, Q = y.selectValue;
9067
+ var s = r.props, u = s.isMulti, c = s.backspaceRemovesValue, d = s.escapeClearsValue, C = s.inputValue, f = s.isClearable, I = s.isDisabled, g = s.menuIsOpen, m = s.onKeyDown, h = s.tabSelectsValue, B = s.openMenuOnFocus, Q = r.state, b = Q.focusedOption, v = Q.focusedValue, y = Q.selectValue;
9068
9068
  if (!I && !(typeof m == "function" && (m(l), l.defaultPrevented))) {
9069
9069
  switch (r.blockOptionHover = !0, l.key) {
9070
9070
  case "ArrowLeft":
@@ -9090,7 +9090,7 @@ var l3 = function(t) {
9090
9090
  }
9091
9091
  break;
9092
9092
  case "Tab":
9093
- if (r.isComposing || l.shiftKey || !g || !h || !b || B && r.isOptionSelected(b, Q))
9093
+ if (r.isComposing || l.shiftKey || !g || !h || !b || B && r.isOptionSelected(b, y))
9094
9094
  return;
9095
9095
  r.selectOption(b);
9096
9096
  break;
@@ -9360,7 +9360,7 @@ var l3 = function(t) {
9360
9360
  }, {
9361
9361
  key: "renderInput",
9362
9362
  value: function() {
9363
- var r = this.props, o = r.isDisabled, a = r.isSearchable, l = r.inputId, s = r.inputValue, u = r.tabIndex, c = r.form, d = r.menuIsOpen, C = r.required, f = this.getComponents(), I = f.Input, g = this.state, m = g.inputIsHidden, h = g.ariaSelection, B = this.commonProps, y = l || this.getElementId("input"), b = t1(t1(t1({
9363
+ var r = this.props, o = r.isDisabled, a = r.isSearchable, l = r.inputId, s = r.inputValue, u = r.tabIndex, c = r.form, d = r.menuIsOpen, C = r.required, f = this.getComponents(), I = f.Input, g = this.state, m = g.inputIsHidden, h = g.ariaSelection, B = this.commonProps, Q = l || this.getElementId("input"), b = t1(t1(t1({
9364
9364
  "aria-autocomplete": "list",
9365
9365
  "aria-expanded": d,
9366
9366
  "aria-haspopup": !0,
@@ -9385,7 +9385,7 @@ var l3 = function(t) {
9385
9385
  autoCapitalize: "none",
9386
9386
  autoComplete: "off",
9387
9387
  autoCorrect: "off",
9388
- id: y,
9388
+ id: Q,
9389
9389
  innerRef: this.getInputRef,
9390
9390
  isDisabled: o,
9391
9391
  isHidden: m,
@@ -9399,7 +9399,7 @@ var l3 = function(t) {
9399
9399
  value: s,
9400
9400
  ...b
9401
9401
  }) : /* @__PURE__ */ A(Sa, {
9402
- id: y,
9402
+ id: Q,
9403
9403
  innerRef: this.getInputRef,
9404
9404
  onBlur: this.onInputBlur,
9405
9405
  onChange: F2,
@@ -9415,20 +9415,20 @@ var l3 = function(t) {
9415
9415
  }, {
9416
9416
  key: "renderPlaceholderOrValue",
9417
9417
  value: function() {
9418
- var r = this, o = this.getComponents(), a = o.MultiValue, l = o.MultiValueContainer, s = o.MultiValueLabel, u = o.MultiValueRemove, c = o.SingleValue, d = o.Placeholder, C = this.commonProps, f = this.props, I = f.controlShouldRenderValue, g = f.isDisabled, m = f.isMulti, h = f.inputValue, B = f.placeholder, y = this.state, b = y.selectValue, v = y.focusedValue, Q = y.isFocused;
9418
+ var r = this, o = this.getComponents(), a = o.MultiValue, l = o.MultiValueContainer, s = o.MultiValueLabel, u = o.MultiValueRemove, c = o.SingleValue, d = o.Placeholder, C = this.commonProps, f = this.props, I = f.controlShouldRenderValue, g = f.isDisabled, m = f.isMulti, h = f.inputValue, B = f.placeholder, Q = this.state, b = Q.selectValue, v = Q.focusedValue, y = Q.isFocused;
9419
9419
  if (!this.hasValue() || !I)
9420
9420
  return h ? null : /* @__PURE__ */ Y1(d, {
9421
9421
  ...C,
9422
9422
  key: "placeholder",
9423
9423
  isDisabled: g,
9424
- isFocused: Q,
9424
+ isFocused: y,
9425
9425
  innerProps: {
9426
9426
  id: this.getElementId("placeholder")
9427
9427
  }
9428
9428
  }, B);
9429
9429
  if (m)
9430
9430
  return b.map(function(S, V) {
9431
- var P = S === v, O = "".concat(r.getOptionLabel(S), "-").concat(r.getOptionValue(S));
9431
+ var P = S === v, T = "".concat(r.getOptionLabel(S), "-").concat(r.getOptionValue(S));
9432
9432
  return /* @__PURE__ */ Y1(a, {
9433
9433
  ...C,
9434
9434
  components: {
@@ -9438,7 +9438,7 @@ var l3 = function(t) {
9438
9438
  },
9439
9439
  isFocused: P,
9440
9440
  isDisabled: g,
9441
- key: O,
9441
+ key: T,
9442
9442
  index: V,
9443
9443
  removeProps: {
9444
9444
  onClick: function() {
@@ -9531,19 +9531,19 @@ var l3 = function(t) {
9531
9531
  }, {
9532
9532
  key: "renderMenu",
9533
9533
  value: function() {
9534
- var r = this, o = this.getComponents(), a = o.Group, l = o.GroupHeading, s = o.Menu, u = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, C = o.NoOptionsMessage, f = o.Option, I = this.commonProps, g = this.state.focusedOption, m = this.props, h = m.captureMenuScroll, B = m.inputValue, y = m.isLoading, b = m.loadingMessage, v = m.minMenuHeight, Q = m.maxMenuHeight, R = m.menuIsOpen, S = m.menuPlacement, V = m.menuPosition, P = m.menuPortalTarget, O = m.menuShouldBlockScroll, T = m.menuShouldScrollIntoView, G = m.noOptionsMessage, x = m.onMenuScrollToTop, N = m.onMenuScrollToBottom;
9534
+ var r = this, o = this.getComponents(), a = o.Group, l = o.GroupHeading, s = o.Menu, u = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, C = o.NoOptionsMessage, f = o.Option, I = this.commonProps, g = this.state.focusedOption, m = this.props, h = m.captureMenuScroll, B = m.inputValue, Q = m.isLoading, b = m.loadingMessage, v = m.minMenuHeight, y = m.maxMenuHeight, R = m.menuIsOpen, S = m.menuPlacement, V = m.menuPosition, P = m.menuPortalTarget, T = m.menuShouldBlockScroll, H = m.menuShouldScrollIntoView, G = m.noOptionsMessage, x = m.onMenuScrollToTop, N = m.onMenuScrollToBottom;
9535
9535
  if (!R)
9536
9536
  return null;
9537
9537
  var L = function(I1, F1) {
9538
- var Q1 = I1.type, y1 = I1.data, R1 = I1.isDisabled, N1 = I1.isSelected, j1 = I1.label, _1 = I1.value, ce = g === y1, H = R1 ? void 0 : function() {
9538
+ var Q1 = I1.type, y1 = I1.data, R1 = I1.isDisabled, N1 = I1.isSelected, j1 = I1.label, _1 = I1.value, ce = g === y1, O = R1 ? void 0 : function() {
9539
9539
  return r.onOptionHover(y1);
9540
9540
  }, te = R1 ? void 0 : function() {
9541
9541
  return r.selectOption(y1);
9542
9542
  }, z1 = "".concat(r.getElementId("option"), "-").concat(F1), k1 = {
9543
9543
  id: z1,
9544
9544
  onClick: te,
9545
- onMouseMove: H,
9546
- onMouseOver: H,
9545
+ onMouseMove: O,
9546
+ onMouseOver: O,
9547
9547
  tabIndex: -1
9548
9548
  };
9549
9549
  return /* @__PURE__ */ Y1(f, {
@@ -9581,7 +9581,7 @@ var l3 = function(t) {
9581
9581
  } else if (u1.type === "option")
9582
9582
  return L(u1, "".concat(u1.index));
9583
9583
  });
9584
- else if (y) {
9584
+ else if (Q) {
9585
9585
  var Z = b({
9586
9586
  inputValue: B
9587
9587
  });
@@ -9604,10 +9604,10 @@ var l3 = function(t) {
9604
9604
  }
9605
9605
  var d1 = {
9606
9606
  minMenuHeight: v,
9607
- maxMenuHeight: Q,
9607
+ maxMenuHeight: y,
9608
9608
  menuPlacement: S,
9609
9609
  menuPosition: V,
9610
- menuShouldScrollIntoView: T
9610
+ menuShouldScrollIntoView: H
9611
9611
  }, H1 = /* @__PURE__ */ A(v8, {
9612
9612
  ...I,
9613
9613
  ...d1,
@@ -9622,20 +9622,20 @@ var l3 = function(t) {
9622
9622
  onMouseMove: r.onMenuMouseMove,
9623
9623
  id: r.getElementId("listbox")
9624
9624
  },
9625
- isLoading: y,
9625
+ isLoading: Q,
9626
9626
  placement: Q1,
9627
9627
  children: /* @__PURE__ */ A(Ha, {
9628
9628
  captureEnabled: h,
9629
9629
  onTopArrive: x,
9630
9630
  onBottomArrive: N,
9631
- lockEnabled: O,
9631
+ lockEnabled: T,
9632
9632
  children: function(R1) {
9633
9633
  return /* @__PURE__ */ A(u, {
9634
9634
  ...I,
9635
9635
  innerRef: function(j1) {
9636
9636
  r.getMenuListRef(j1), R1(j1);
9637
9637
  },
9638
- isLoading: y,
9638
+ isLoading: Q,
9639
9639
  maxHeight: y1,
9640
9640
  focusedOption: g,
9641
9641
  children: W
@@ -9755,7 +9755,7 @@ var l3 = function(t) {
9755
9755
  value: function(r, o) {
9756
9756
  var a = o.prevProps, l = o.clearFocusValueOnUpdate, s = o.inputIsHiddenAfterUpdate, u = o.ariaSelection, c = o.isFocused, d = o.prevWasFocused, C = r.options, f = r.value, I = r.menuIsOpen, g = r.inputValue, m = r.isMulti, h = N2(f), B = {};
9757
9757
  if (a && (f !== a.value || C !== a.options || I !== a.menuIsOpen || g !== a.inputValue)) {
9758
- var y = I ? qa(r, h) : [], b = l ? _a(o, h) : null, v = $a(o, y);
9758
+ var Q = I ? qa(r, h) : [], b = l ? _a(o, h) : null, v = $a(o, Q);
9759
9759
  B = {
9760
9760
  selectValue: h,
9761
9761
  focusedOption: v,
@@ -9763,7 +9763,7 @@ var l3 = function(t) {
9763
9763
  clearFocusValueOnUpdate: !1
9764
9764
  };
9765
9765
  }
9766
- var Q = s != null && r !== a ? {
9766
+ var y = s != null && r !== a ? {
9767
9767
  inputIsHidden: s,
9768
9768
  inputIsHiddenAfterUpdate: void 0
9769
9769
  } : {}, R = u, S = c && d;
@@ -9771,7 +9771,7 @@ var l3 = function(t) {
9771
9771
  value: ze(m, h, h[0] || null),
9772
9772
  options: h,
9773
9773
  action: "initial-input-focus"
9774
- }, S = !d), (u == null ? void 0 : u.action) === "initial-input-focus" && (R = null), t1(t1(t1({}, B), Q), {}, {
9774
+ }, S = !d), (u == null ? void 0 : u.action) === "initial-input-focus" && (R = null), t1(t1(t1({}, B), y), {}, {
9775
9775
  prevProps: r,
9776
9776
  ariaSelection: R,
9777
9777
  prevWasFocused: S
@@ -9911,7 +9911,7 @@ function A2({
9911
9911
  })
9912
9912
  });
9913
9913
  return /* @__PURE__ */ D(B1, {
9914
- children: [r, /* @__PURE__ */ D("div", {
9914
+ children: [r, i || e || t ? /* @__PURE__ */ D("div", {
9915
9915
  className: M("flex", o()),
9916
9916
  children: [e && !t && /* @__PURE__ */ A(a, {}), (t || n) && !e && /* @__PURE__ */ A(l, {}), i && /* @__PURE__ */ A("div", {
9917
9917
  className: "my-2 w-full flex justify-end",
@@ -9920,7 +9920,7 @@ function A2({
9920
9920
  className: "w-[80px] h-[15px]"
9921
9921
  })
9922
9922
  })]
9923
- })]
9923
+ }) : null]
9924
9924
  });
9925
9925
  }
9926
9926
  const d2 = ({
@@ -10002,15 +10002,18 @@ function Q7({
10002
10002
  isError: C,
10003
10003
  helpText: a
10004
10004
  }), B = {
10005
- DropdownIndicator: d2,
10006
10005
  ClearIndicator: c2,
10007
10006
  Option: mn,
10008
10007
  Placeholder: C2,
10008
+ DropdownIndicator: (R) => /* @__PURE__ */ A(d2, {
10009
+ ...R,
10010
+ isActive: !0
10011
+ }),
10009
10012
  SingleValue: (R) => /* @__PURE__ */ A(et, {
10010
10013
  ...R,
10011
10014
  hasLabelPlaceholder: l
10012
10015
  })
10013
- }, y = {
10016
+ }, Q = {
10014
10017
  id: r,
10015
10018
  name: o,
10016
10019
  placeholder: t,
@@ -10024,17 +10027,17 @@ function Q7({
10024
10027
  options: e,
10025
10028
  isSearchable: u,
10026
10029
  components: B
10027
- }, v = () => (n == null ? void 0 : n.label) && (n == null ? void 0 : n.value) ? n : void 0, Q = () => (g == null ? void 0 : g.label) && (g == null ? void 0 : g.value) ? g : void 0;
10030
+ }, v = () => (n == null ? void 0 : n.label) && (n == null ? void 0 : n.value) ? n : void 0, y = () => (g == null ? void 0 : g.label) && (g == null ? void 0 : g.value) ? g : void 0;
10028
10031
  return /* @__PURE__ */ A(A2, {
10029
10032
  error: d,
10030
10033
  helpText: a,
10031
10034
  showErrorText: f,
10032
10035
  children: /* @__PURE__ */ A(pn, {
10033
- ...y,
10036
+ ...Q,
10034
10037
  ...b,
10035
10038
  menuIsOpen: m,
10036
10039
  defaultValue: v(),
10037
- value: Q(),
10040
+ value: y(),
10038
10041
  onChange: (R) => R && s && s(R)
10039
10042
  })
10040
10043
  });
@@ -10043,7 +10046,7 @@ var n7 = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading
10043
10046
  function s3(e) {
10044
10047
  var t = e.defaultOptions, n = t === void 0 ? !1 : t, i = e.cacheOptions, r = i === void 0 ? !1 : i, o = e.loadOptions;
10045
10048
  e.options;
10046
- var a = e.isLoading, l = a === void 0 ? !1 : a, s = e.onInputChange, u = e.filterOption, c = u === void 0 ? null : u, d = pe(e, n7), C = d.inputValue, f = X(void 0), I = X(!1), g = _(Array.isArray(n) ? n : void 0), m = w1(g, 2), h = m[0], B = m[1], y = _(typeof C < "u" ? C : ""), b = w1(y, 2), v = b[0], Q = b[1], R = _(n === !0), S = w1(R, 2), V = S[0], P = S[1], O = _(void 0), T = w1(O, 2), G = T[0], x = T[1], N = _([]), L = w1(N, 2), W = L[0], Z = L[1], U = _(!1), d1 = w1(U, 2), H1 = d1[0], u1 = d1[1], I1 = _({}), F1 = w1(I1, 2), Q1 = F1[0], y1 = F1[1], R1 = _(void 0), N1 = w1(R1, 2), j1 = N1[0], _1 = N1[1], ce = _(void 0), H = w1(ce, 2), te = H[0], z1 = H[1];
10049
+ var a = e.isLoading, l = a === void 0 ? !1 : a, s = e.onInputChange, u = e.filterOption, c = u === void 0 ? null : u, d = pe(e, n7), C = d.inputValue, f = X(void 0), I = X(!1), g = _(Array.isArray(n) ? n : void 0), m = w1(g, 2), h = m[0], B = m[1], Q = _(typeof C < "u" ? C : ""), b = w1(Q, 2), v = b[0], y = b[1], R = _(n === !0), S = w1(R, 2), V = S[0], P = S[1], T = _(void 0), H = w1(T, 2), G = H[0], x = H[1], N = _([]), L = w1(N, 2), W = L[0], Z = L[1], U = _(!1), d1 = w1(U, 2), H1 = d1[0], u1 = d1[1], I1 = _({}), F1 = w1(I1, 2), Q1 = F1[0], y1 = F1[1], R1 = _(void 0), N1 = w1(R1, 2), j1 = N1[0], _1 = N1[1], ce = _(void 0), O = w1(ce, 2), te = O[0], z1 = O[1];
10047
10050
  r !== te && (y1({}), z1(r)), n !== j1 && (B(Array.isArray(n) ? n : void 0), _1(n)), A1(function() {
10048
10051
  return I.current = !0, function() {
10049
10052
  I.current = !1;
@@ -10065,14 +10068,14 @@ function s3(e) {
10065
10068
  var xe = g1(function(Ae, J1) {
10066
10069
  var D1 = s8(Ae, J1, s);
10067
10070
  if (!D1) {
10068
- f.current = void 0, Q(""), x(""), Z([]), P(!1), u1(!1);
10071
+ f.current = void 0, y(""), x(""), Z([]), P(!1), u1(!1);
10069
10072
  return;
10070
10073
  }
10071
10074
  if (r && Q1[D1])
10072
- Q(D1), x(D1), Z(Q1[D1]), P(!1), u1(!1);
10075
+ y(D1), x(D1), Z(Q1[D1]), P(!1), u1(!1);
10073
10076
  else {
10074
10077
  var tt = f.current = {};
10075
- Q(D1), P(!0), u1(!G), k1(D1, function(me) {
10078
+ y(D1), P(!0), u1(!G), k1(D1, function(me) {
10076
10079
  !I || tt === f.current && (f.current = void 0, P(!1), x(D1), Z(me || []), u1(!1), y1(me ? t1(t1({}, Q1), {}, U1({}, D1, me)) : Q1));
10077
10080
  });
10078
10081
  }
@@ -10117,15 +10120,18 @@ function R7({
10117
10120
  isError: C,
10118
10121
  helpText: r
10119
10122
  }), B = {
10120
- DropdownIndicator: d2,
10121
10123
  ClearIndicator: c2,
10122
10124
  Option: mn,
10123
10125
  Placeholder: C2,
10124
- SingleValue: (R) => /* @__PURE__ */ A(et, {
10125
- ...R,
10126
+ DropdownIndicator: (y) => /* @__PURE__ */ A(d2, {
10127
+ ...y,
10128
+ isActive: !0
10129
+ }),
10130
+ SingleValue: (y) => /* @__PURE__ */ A(et, {
10131
+ ...y,
10126
10132
  hasLabelPlaceholder: o
10127
10133
  })
10128
- }, y = {
10134
+ }, Q = {
10129
10135
  id: t,
10130
10136
  name: n,
10131
10137
  placeholder: e,
@@ -10133,25 +10139,23 @@ function R7({
10133
10139
  isClearable: l,
10134
10140
  styles: h,
10135
10141
  noOptionsMessage: () => "No encontrado"
10136
- }, b = {
10137
- onBlur: I,
10138
- isLoading: c,
10139
- components: B
10140
- }, v = () => (s == null ? void 0 : s.label) && (s == null ? void 0 : s.value) ? s : void 0, Q = () => (g == null ? void 0 : g.label) && (g == null ? void 0 : g.value) ? g : void 0;
10142
+ }, b = () => (s == null ? void 0 : s.label) && (s == null ? void 0 : s.value) ? s : void 0, v = () => (g == null ? void 0 : g.label) && (g == null ? void 0 : g.value) ? g : void 0;
10141
10143
  return /* @__PURE__ */ A(A2, {
10142
10144
  error: i,
10143
10145
  helpText: r,
10144
10146
  showErrorText: f,
10145
10147
  children: /* @__PURE__ */ A(r7, {
10146
- ...b,
10147
- ...y,
10148
+ ...Q,
10148
10149
  cacheOptions: !0,
10150
+ isLoading: c,
10151
+ onBlur: I,
10149
10152
  menuIsOpen: m,
10153
+ components: B,
10150
10154
  defaultOptions: !0,
10151
- defaultValue: v(),
10152
- value: Q(),
10153
- onChange: (R) => u && u(R),
10154
- loadOptions: (R) => d && d(R)
10155
+ defaultValue: b(),
10156
+ value: v(),
10157
+ onChange: (y) => u && u(y),
10158
+ loadOptions: (y) => d && d(y)
10155
10159
  })
10156
10160
  });
10157
10161
  }
@@ -10218,19 +10222,22 @@ function x7({
10218
10222
  value: B
10219
10223
  }) {
10220
10224
  const {
10221
- styles: y
10225
+ styles: Q
10222
10226
  } = u2({
10223
10227
  error: o,
10224
10228
  isError: I,
10225
10229
  helpText: l
10226
10230
  }), b = {
10227
- DropdownIndicator: d2,
10228
10231
  ClearIndicator: c2,
10232
+ DropdownIndicator: (V) => /* @__PURE__ */ A(d2, {
10233
+ ...V,
10234
+ isActive: !0
10235
+ }),
10236
+ Placeholder: C2,
10229
10237
  Option: (V) => /* @__PURE__ */ A(i7, {
10230
10238
  ...V,
10231
10239
  alignButton: C
10232
10240
  }),
10233
- Placeholder: C2,
10234
10241
  SingleValue: (V) => /* @__PURE__ */ A(et, {
10235
10242
  ...V,
10236
10243
  hasLabelPlaceholder: s
@@ -10241,9 +10248,9 @@ function x7({
10241
10248
  placeholder: t,
10242
10249
  isDisabled: i,
10243
10250
  isClearable: d,
10244
- styles: y,
10251
+ styles: Q,
10245
10252
  noOptionsMessage: () => "No encontrado"
10246
- }, Q = {
10253
+ }, y = {
10247
10254
  onBlur: m,
10248
10255
  isSearchable: c,
10249
10256
  options: e,
@@ -10255,7 +10262,7 @@ function x7({
10255
10262
  showErrorText: g,
10256
10263
  children: /* @__PURE__ */ A(pn, {
10257
10264
  ...v,
10258
- ...Q,
10265
+ ...y,
10259
10266
  menuIsOpen: h,
10260
10267
  className: "font-sans",
10261
10268
  defaultValue: R(),
@@ -10367,12 +10374,15 @@ function w7({
10367
10374
  isError: d,
10368
10375
  helpText: s
10369
10376
  }), h = {
10370
- DropdownIndicator: d2,
10371
10377
  ClearIndicator: c2,
10372
10378
  Option: c7,
10373
10379
  Placeholder: C2,
10374
- SingleValue: (Q) => /* @__PURE__ */ A(u7, {
10375
- ...Q,
10380
+ DropdownIndicator: (y) => /* @__PURE__ */ A(d2, {
10381
+ ...y,
10382
+ isActive: !0
10383
+ }),
10384
+ SingleValue: (y) => /* @__PURE__ */ A(u7, {
10385
+ ...y,
10376
10386
  isDisabled: o
10377
10387
  })
10378
10388
  }, B = {
@@ -10383,7 +10393,7 @@ function w7({
10383
10393
  isClearable: c,
10384
10394
  styles: m,
10385
10395
  noOptionsMessage: () => "No encontrado"
10386
- }, y = {
10396
+ }, Q = {
10387
10397
  options: i,
10388
10398
  isSearchable: l,
10389
10399
  components: h,
@@ -10394,12 +10404,12 @@ function w7({
10394
10404
  helpText: s,
10395
10405
  showErrorText: C,
10396
10406
  children: /* @__PURE__ */ A(pn, {
10397
- ...y,
10407
+ ...Q,
10398
10408
  ...B,
10399
10409
  menuIsOpen: I,
10400
10410
  defaultValue: b(),
10401
10411
  value: v(),
10402
- onChange: (Q) => u && u(Q)
10412
+ onChange: (y) => u && u(y)
10403
10413
  })
10404
10414
  });
10405
10415
  }
@@ -10426,17 +10436,17 @@ var A7 = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel"
10426
10436
  }
10427
10437
  };
10428
10438
  function d7(e) {
10429
- var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, i = e.createOptionPosition, r = i === void 0 ? "last" : i, o = e.formatCreateLabel, a = o === void 0 ? ht.formatCreateLabel : o, l = e.isValidNewOption, s = l === void 0 ? ht.isValidNewOption : l, u = e.getNewOptionData, c = u === void 0 ? ht.getNewOptionData : u, d = e.onCreateOption, C = e.options, f = C === void 0 ? [] : C, I = e.onChange, g = pe(e, A7), m = g.getOptionValue, h = m === void 0 ? $i : m, B = g.getOptionLabel, y = B === void 0 ? _i : B, b = g.inputValue, v = g.isLoading, Q = g.isMulti, R = g.value, S = g.name, V = z(function() {
10439
+ var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, i = e.createOptionPosition, r = i === void 0 ? "last" : i, o = e.formatCreateLabel, a = o === void 0 ? ht.formatCreateLabel : o, l = e.isValidNewOption, s = l === void 0 ? ht.isValidNewOption : l, u = e.getNewOptionData, c = u === void 0 ? ht.getNewOptionData : u, d = e.onCreateOption, C = e.options, f = C === void 0 ? [] : C, I = e.onChange, g = pe(e, A7), m = g.getOptionValue, h = m === void 0 ? $i : m, B = g.getOptionLabel, Q = B === void 0 ? _i : B, b = g.inputValue, v = g.isLoading, y = g.isMulti, R = g.value, S = g.name, V = z(function() {
10430
10440
  return s(b, N2(R), f, {
10431
10441
  getOptionValue: h,
10432
- getOptionLabel: y
10442
+ getOptionLabel: Q
10433
10443
  }) ? c(b, a(b)) : void 0;
10434
- }, [a, c, y, h, b, s, f, R]), P = z(function() {
10444
+ }, [a, c, Q, h, b, s, f, R]), P = z(function() {
10435
10445
  return (n || !v) && V ? r === "first" ? [V].concat(Ue(f)) : [].concat(Ue(f), [V]) : f;
10436
- }, [n, r, v, V, f]), O = g1(function(T, G) {
10446
+ }, [n, r, v, V, f]), T = g1(function(H, G) {
10437
10447
  if (G.action !== "select-option")
10438
- return I(T, G);
10439
- var x = Array.isArray(T) ? T : [T];
10448
+ return I(H, G);
10449
+ var x = Array.isArray(H) ? H : [H];
10440
10450
  if (x[x.length - 1] === V) {
10441
10451
  if (d)
10442
10452
  d(b);
@@ -10446,15 +10456,15 @@ function d7(e) {
10446
10456
  name: S,
10447
10457
  option: N
10448
10458
  };
10449
- I(ze(Q, [].concat(Ue(N2(R)), [N]), N), L);
10459
+ I(ze(y, [].concat(Ue(N2(R)), [N]), N), L);
10450
10460
  }
10451
10461
  return;
10452
10462
  }
10453
- I(T, G);
10454
- }, [c, b, Q, S, V, d, I, R]);
10463
+ I(H, G);
10464
+ }, [c, b, y, S, V, d, I, R]);
10455
10465
  return t1(t1({}, g), {}, {
10456
10466
  options: P,
10457
- onChange: O
10467
+ onChange: T
10458
10468
  });
10459
10469
  }
10460
10470
  var C7 = /* @__PURE__ */ le(function(e, t) {
@@ -10484,7 +10494,7 @@ function V7({
10484
10494
  menuIsOpen: m,
10485
10495
  allowCreateWhileLoading: h,
10486
10496
  createOptionPosition: B = "first",
10487
- logo: y
10497
+ logo: Q
10488
10498
  }) {
10489
10499
  const {
10490
10500
  styles: b
@@ -10492,7 +10502,7 @@ function V7({
10492
10502
  error: i,
10493
10503
  isError: C,
10494
10504
  helpText: r,
10495
- hasLogo: Boolean(y)
10505
+ hasLogo: Boolean(Q)
10496
10506
  }), v = {
10497
10507
  ClearIndicator: c2,
10498
10508
  Option: mn,
@@ -10505,7 +10515,7 @@ function V7({
10505
10515
  ...V,
10506
10516
  hasLabelPlaceholder: o
10507
10517
  })
10508
- }, Q = {
10518
+ }, y = {
10509
10519
  id: t,
10510
10520
  name: n,
10511
10521
  placeholder: e,
@@ -10518,9 +10528,9 @@ function V7({
10518
10528
  error: i,
10519
10529
  helpText: r,
10520
10530
  showErrorText: f,
10521
- logo: y,
10531
+ logo: Q,
10522
10532
  children: /* @__PURE__ */ A(C7, {
10523
- ...Q,
10533
+ ...y,
10524
10534
  cacheOptions: !0,
10525
10535
  menuIsOpen: m,
10526
10536
  isLoading: c,
@@ -11094,7 +11104,7 @@ function I7({
11094
11104
  }) => (c(b), o == null ? void 0 : o(b)), I = () => (c((b) => b ? b = Number(b) + 1 : b = 1), o == null ? void 0 : o(String(u))), g = () => (c((b) => b ? b = Number(b) - 1 : b = 0), o == null ? void 0 : o(String(u))), m = () => {
11095
11105
  var b;
11096
11106
  return c(""), o == null || o(""), s && ((b = s.current) == null ? void 0 : b.focus());
11097
- }, h = () => e ? "disabled" : "subdued", B = () => e ? "disabled" : d && t === "password" ? "default" : "subdued", y = M(
11107
+ }, h = () => e ? "disabled" : "subdued", B = () => e ? "disabled" : d && t === "password" ? "default" : "subdued", Q = M(
11098
11108
  "w-full rounded-sm bg-action-secondary-default py-md px-sm font-sans text-xs font-book leading-xs text-letter-default caret-icon-default placeholder:font-sans placeholder:text-xs placeholder:font-book placeholder:leading-xs placeholder:text-letter-subdued focus:ring-0 disabled:bg-action-secondary-disabled disabled:text-letter-disabled disabled:placeholder:text-letter-disabled",
11099
11109
  i || l ? "border border-action-critical-default focus:border-action-critical-default" : "border-none focus:rounded-[5px] focus:shadow-[0px_0px_0px_1px_#3EADFE]",
11100
11110
  {
@@ -11113,7 +11123,7 @@ function I7({
11113
11123
  showPassword: d,
11114
11124
  setShowPassword: C,
11115
11125
  clearInput: m,
11116
- getClassInput: y
11126
+ getClassInput: Q
11117
11127
  };
11118
11128
  }
11119
11129
  function E7({
@@ -11158,9 +11168,10 @@ Me.Special = function(t) {
11158
11168
  const {
11159
11169
  children: n,
11160
11170
  isNumber: i,
11161
- isPassword: r
11171
+ isPassword: r,
11172
+ showIconNumber: o = !1
11162
11173
  } = t;
11163
- return i ? /* @__PURE__ */ A("span", {
11174
+ return i && o ? /* @__PURE__ */ A("span", {
11164
11175
  className: "flex flex-col items-center justify-center",
11165
11176
  children: n
11166
11177
  }) : r ? /* @__PURE__ */ A("span", {
@@ -11195,8 +11206,9 @@ const D7 = le((e, t) => {
11195
11206
  value: g,
11196
11207
  tooltip: m,
11197
11208
  showErrorText: h,
11198
- isError: B
11199
- } = e, y = I7({
11209
+ isError: B,
11210
+ showIconNumber: Q = !1
11211
+ } = e, b = I7({
11200
11212
  isDisabled: r,
11201
11213
  type: s,
11202
11214
  iconRight: c,
@@ -11206,79 +11218,80 @@ const D7 = le((e, t) => {
11206
11218
  value: g,
11207
11219
  isError: B
11208
11220
  }), {
11209
- inputValue: b,
11210
- inputRef: v,
11211
- handleChange: Q,
11212
- subtractValue: R,
11213
- addMoreValue: S,
11214
- getColorIcon: V,
11215
- getColorIconPassword: P,
11216
- showPassword: O,
11217
- setShowPassword: T,
11218
- clearInput: G,
11219
- getClassInput: x
11220
- } = y, N = () => m != null && m.isActive ? /* @__PURE__ */ A(B4, {
11221
+ inputValue: v,
11222
+ inputRef: y,
11223
+ handleChange: R,
11224
+ subtractValue: S,
11225
+ addMoreValue: V,
11226
+ getColorIcon: P,
11227
+ getColorIconPassword: T,
11228
+ showPassword: H,
11229
+ setShowPassword: G,
11230
+ clearInput: x,
11231
+ getClassInput: N
11232
+ } = b, L = () => m != null && m.isActive ? /* @__PURE__ */ A(B4, {
11221
11233
  placement: m == null ? void 0 : m.placement,
11222
11234
  title: m == null ? void 0 : m.title,
11223
11235
  description: m == null ? void 0 : m.description,
11224
11236
  children: /* @__PURE__ */ A(h1, {
11225
11237
  kind: c,
11226
- color: V()
11238
+ color: P()
11227
11239
  })
11228
11240
  }) : /* @__PURE__ */ A(h1, {
11229
11241
  kind: c,
11230
- color: V()
11231
- }), L = z(() => j2([v, t]), [v, t]);
11242
+ color: P()
11243
+ }), W = z(() => j2([y, t]), [y, t]);
11232
11244
  return /* @__PURE__ */ D(B1, {
11233
11245
  children: [/* @__PURE__ */ D(Me, {
11234
11246
  renderInput: /* @__PURE__ */ A("input", {
11235
11247
  id: n,
11236
11248
  name: i,
11237
- ref: L,
11238
- value: b,
11249
+ ref: W,
11250
+ value: v,
11239
11251
  placeholder: a,
11240
- onChange: Q,
11252
+ onChange: R,
11241
11253
  readOnly: o,
11242
11254
  disabled: r,
11243
11255
  autoComplete: l,
11244
- type: O ? "text" : s,
11245
- className: x
11256
+ type: H ? "text" : s,
11257
+ className: N
11246
11258
  }),
11247
11259
  renderIconLeft: u && /* @__PURE__ */ A(h1, {
11248
11260
  kind: u,
11249
- color: V()
11261
+ color: P()
11250
11262
  }),
11251
11263
  children: [/* @__PURE__ */ A(Me.Delete, {
11252
- inputValue: b,
11264
+ inputValue: v,
11253
11265
  children: /* @__PURE__ */ A(h1, {
11254
11266
  kind: "delete",
11255
11267
  color: "default",
11256
- onClick: G,
11268
+ onClick: x,
11257
11269
  cursor: "pointer"
11258
11270
  })
11259
11271
  }), /* @__PURE__ */ D(Me.Special, {
11260
11272
  isNumber: s === "number",
11273
+ showIconNumber: Q,
11261
11274
  children: [/* @__PURE__ */ A(h1, {
11262
11275
  kind: "more",
11263
11276
  cursor: "pointer",
11264
11277
  size: "sm",
11265
- color: V(),
11266
- onClick: S
11278
+ color: P(),
11279
+ onClick: V
11267
11280
  }), /* @__PURE__ */ A(h1, {
11268
11281
  kind: "less",
11269
11282
  cursor: "pointer",
11270
11283
  size: "sm",
11271
- color: V(),
11272
- onClick: R
11284
+ color: P(),
11285
+ onClick: S
11273
11286
  })]
11274
11287
  }), /* @__PURE__ */ A(Me.Special, {
11275
11288
  isPassword: s === "password",
11276
11289
  children: /* @__PURE__ */ A(h1, {
11277
11290
  kind: "eye",
11278
- color: P(),
11279
- onClick: () => T(!O)
11291
+ color: T(),
11292
+ onClick: () => G(!H)
11280
11293
  })
11281
- }), N()]
11294
+ }), L()]
11282
11295
  }), /* @__PURE__ */ A(E7, {
11283
11296
  helpText: d,
11284
11297
  error: f,