@aveonline/ui-react 2.33.1 → 2.33.2

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.
Files changed (2) hide show
  1. package/dist/ui-react.mjs +149 -149
  2. package/package.json +1 -1
package/dist/ui-react.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as M from "react";
2
- import u, { useState as he, useEffect as ve, useCallback as Je, forwardRef as qe, useLayoutEffect as k1, useRef as ce, Fragment as un, isValidElement as In, cloneElement as ln, createElement as Ke, createContext as Pt, useContext as wt, useMemo as we, useReducer as N1, createRef as H4, Component as c7, Children as Bn, PureComponent as Fr, memo as B0 } from "react";
2
+ import u, { useState as pe, useEffect as ve, useCallback as Je, forwardRef as qe, useLayoutEffect as k1, useRef as ce, Fragment as un, isValidElement as In, cloneElement as ln, createElement as Ke, createContext as Pt, useContext as wt, useMemo as we, useReducer as N1, createRef as H4, Component as c7, Children as Bn, PureComponent as Fr, memo as B0 } from "react";
3
3
  import * as $P from "react-dom";
4
4
  import E2, { createPortal as P0, flushSync as F0, unstable_batchedUpdates as lc } from "react-dom";
5
5
  var ts = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
@@ -933,7 +933,7 @@ function tA(e) {
933
933
  }), getClassName: () => re(i) };
934
934
  }
935
935
  function xa(e) {
936
- const t = (i) => typeof window < "u" ? window.matchMedia(i).matches : !1, [n, r] = he(t(e));
936
+ const t = (i) => typeof window < "u" ? window.matchMedia(i).matches : !1, [n, r] = pe(t(e));
937
937
  return ve(() => {
938
938
  const i = window.matchMedia(e);
939
939
  i.matches !== n && r(i.matches);
@@ -1167,7 +1167,7 @@ function Ki() {
1167
1167
  return n;
1168
1168
  }
1169
1169
  function T0() {
1170
- let [e] = he(Ki);
1170
+ let [e] = pe(Ki);
1171
1171
  return ve(() => () => e.dispose(), [e]), e;
1172
1172
  }
1173
1173
  let ft = function(e) {
@@ -1175,7 +1175,7 @@ let ft = function(e) {
1175
1175
  return u.useCallback((...n) => t.current(...n), [t]);
1176
1176
  }, $3 = { serverHandoffComplete: !1 };
1177
1177
  function el() {
1178
- let [e, t] = he($3.serverHandoffComplete);
1178
+ let [e, t] = pe($3.serverHandoffComplete);
1179
1179
  return ve(() => {
1180
1180
  e !== !0 && t(!0);
1181
1181
  }, [e]), ve(() => {
@@ -1336,7 +1336,7 @@ function Ff(e) {
1336
1336
  return "button";
1337
1337
  }
1338
1338
  function L0(e, t) {
1339
- let [n, r] = he(() => Ff(e));
1339
+ let [n, r] = pe(() => Ff(e));
1340
1340
  return En(() => {
1341
1341
  r(Ff(e));
1342
1342
  }, [e.type, e.as]), En(() => {
@@ -1550,7 +1550,7 @@ function h7({ value: e, children: t }) {
1550
1550
  }
1551
1551
  var Ot = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(Ot || {});
1552
1552
  function mA(e, t, n) {
1553
- let [r, i] = he(n), a = e !== void 0, o = ce(a), l = ce(!1), s = ce(!1);
1553
+ let [r, i] = pe(n), a = e !== void 0, o = ce(a), l = ce(!1), s = ce(!1);
1554
1554
  return a && !o.current && !l.current ? (l.current = !0, o.current = a, console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")) : !a && o.current && !s.current && (s.current = !0, o.current = a, console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")), [a ? e : r, ft((c) => (a || i(c), t == null ? void 0 : t(c)))];
1555
1555
  }
1556
1556
  function vA(e, t) {
@@ -1721,7 +1721,7 @@ function V4(e) {
1721
1721
  return u.createElement(AA.Provider, { value: e.force }, e.children);
1722
1722
  }
1723
1723
  function yF(e) {
1724
- let t = CF(), n = wt(CA), r = I2(e), [i, a] = he(() => {
1724
+ let t = CF(), n = wt(CA), r = I2(e), [i, a] = pe(() => {
1725
1725
  if (!t && n !== null || D0)
1726
1726
  return null;
1727
1727
  let o = r == null ? void 0 : r.getElementById("headlessui-portal-root");
@@ -1741,7 +1741,7 @@ function yF(e) {
1741
1741
  let bF = un, EF = Xt(function(e, t) {
1742
1742
  let n = e, r = ce(null), i = tn(sA((d) => {
1743
1743
  r.current = d;
1744
- }), t), a = I2(r), o = yF(r), [l] = he(() => {
1744
+ }), t), a = I2(r), o = yF(r), [l] = pe(() => {
1745
1745
  var d;
1746
1746
  return D0 ? null : (d = a == null ? void 0 : a.createElement("div")) != null ? d : null;
1747
1747
  }), s = el(), c = ce(!1);
@@ -1767,7 +1767,7 @@ function bA() {
1767
1767
  return e;
1768
1768
  }
1769
1769
  function H0() {
1770
- let [e, t] = he([]);
1770
+ let [e, t] = pe([]);
1771
1771
  return [e.length > 0 ? e.join(" ") : void 0, we(() => function(n) {
1772
1772
  let r = ft((a) => (t((o) => [...o, a]), () => t((o) => {
1773
1773
  let l = o.slice(), s = l.indexOf(a);
@@ -1843,7 +1843,7 @@ function DF(e, t) {
1843
1843
  return sn(t.type, FF, e, t);
1844
1844
  }
1845
1845
  let TF = "div", LF = wi.RenderStrategy | wi.Static, jF = Xt(function(e, t) {
1846
- let { open: n, onClose: r, initialFocus: i, __demoMode: a = !1, ...o } = e, [l, s] = he(0), c = w2();
1846
+ let { open: n, onClose: r, initialFocus: i, __demoMode: a = !1, ...o } = e, [l, s] = pe(0), c = w2();
1847
1847
  n === void 0 && c !== null && (n = sn(c, { [Pr.Open]: !0, [Pr.Closed]: !1 }));
1848
1848
  let d = ce(/* @__PURE__ */ new Set()), f = ce(null), h = tn(f, t), p = ce(null), v = I2(f), m = e.hasOwnProperty("open") || c !== null, g = e.hasOwnProperty("onClose");
1849
1849
  if (!m && !g)
@@ -2168,7 +2168,7 @@ let sR = un, cR = Xt(function(e, t) {
2168
2168
  return $t({ ourProps: { id: o, ref: c, role: "menuitem", tabIndex: n === !0 ? void 0 : -1, "aria-disabled": n === !0 ? !0 : void 0, disabled: void 0, onClick: h, onFocus: p, onPointerMove: v, onMouseMove: v, onPointerLeave: m, onMouseLeave: m }, theirProps: r, slot: g, defaultTag: mR, name: "Menu.Item" });
2169
2169
  }), On = Object.assign(cR, { Button: dR, Items: pR, Item: vR });
2170
2170
  function gR(e = 0) {
2171
- let [t, n] = he(e), r = Je((l) => n((s) => s | l), [t]), i = Je((l) => !!(t & l), [t]), a = Je((l) => n((s) => s & ~l), [n]), o = Je((l) => n((s) => s ^ l), [n]);
2171
+ let [t, n] = pe(e), r = Je((l) => n((s) => s | l), [t]), i = Je((l) => !!(t & l), [t]), a = Je((l) => n((s) => s & ~l), [n]), o = Je((l) => n((s) => s ^ l), [n]);
2172
2172
  return { addFlag: r, hasFlag: i, removeFlag: a, toggleFlag: o };
2173
2173
  }
2174
2174
  let xA = Pt(null);
@@ -2181,7 +2181,7 @@ function wA() {
2181
2181
  return e;
2182
2182
  }
2183
2183
  function E7() {
2184
- let [e, t] = he([]);
2184
+ let [e, t] = pe([]);
2185
2185
  return [e.length > 0 ? e.join(" ") : void 0, we(() => function(n) {
2186
2186
  let r = ft((a) => (t((o) => [...o, a]), () => t((o) => {
2187
2187
  let l = o.slice(), s = l.indexOf(a);
@@ -2291,7 +2291,7 @@ let IR = "div", SR = Xt(function(e, t) {
2291
2291
  w7.displayName = "GroupContext";
2292
2292
  let MR = un;
2293
2293
  function OR(e) {
2294
- let [t, n] = he(null), [r, i] = E7(), [a, o] = H0(), l = we(() => ({ switch: t, setSwitch: n, labelledby: r, describedby: a }), [t, n, r, a]), s = {}, c = e;
2294
+ let [t, n] = pe(null), [r, i] = E7(), [a, o] = H0(), l = we(() => ({ switch: t, setSwitch: n, labelledby: r, describedby: a }), [t, n, r, a]), s = {}, c = e;
2295
2295
  return u.createElement(o, { name: "Switch.Description" }, u.createElement(i, { name: "Switch.Label", props: { onClick() {
2296
2296
  !t || (t.click(), t.focus({ preventScroll: !0 }));
2297
2297
  } } }, u.createElement(w7.Provider, { value: l }, $t({ ourProps: s, theirProps: c, defaultTag: MR, name: "Switch.Group" }))));
@@ -2307,7 +2307,7 @@ let BR = "button", PR = Xt(function(e, t) {
2307
2307
  return u.createElement(u.Fragment, null, a != null && h && u.createElement(Ia, { features: wa.Hidden, ...eu({ as: "input", type: "checkbox", hidden: !0, readOnly: !0, checked: h, name: a, value: o }) }), $t({ ourProps: x, theirProps: l, slot: y, defaultTag: BR, name: "Switch" }));
2308
2308
  }), FR = Object.assign(PR, { Group: OR, Label: IA, Description: m7 });
2309
2309
  function RR({ onFocus: e }) {
2310
- let [t, n] = he(!0);
2310
+ let [t, n] = pe(!0);
2311
2311
  return t ? u.createElement(Ia, { as: "button", type: "button", features: wa.Focusable, onFocus: (r) => {
2312
2312
  r.preventDefault();
2313
2313
  let i, a = 50;
@@ -2593,7 +2593,7 @@ function nD(e) {
2593
2593
  }, [e]), t;
2594
2594
  }
2595
2595
  let rD = "div", OA = wi.RenderStrategy, BA = Xt(function(e, t) {
2596
- let { beforeEnter: n, afterEnter: r, beforeLeave: i, afterLeave: a, enter: o, enterFrom: l, enterTo: s, entered: c, leave: d, leaveFrom: f, leaveTo: h, ...p } = e, v = ce(null), m = tn(v, t), g = p.unmount ? $i.Unmount : $i.Hidden, { show: C, appear: y, initial: x } = KR(), [b, E] = he(C ? "visible" : "hidden"), w = qR(), { register: I, unregister: S } = w, O = ce(null);
2596
+ let { beforeEnter: n, afterEnter: r, beforeLeave: i, afterLeave: a, enter: o, enterFrom: l, enterTo: s, entered: c, leave: d, leaveFrom: f, leaveTo: h, ...p } = e, v = ce(null), m = tn(v, t), g = p.unmount ? $i.Unmount : $i.Hidden, { show: C, appear: y, initial: x } = KR(), [b, E] = pe(C ? "visible" : "hidden"), w = qR(), { register: I, unregister: S } = w, O = ce(null);
2597
2597
  ve(() => I(v), [I, v]), ve(() => {
2598
2598
  if (g === $i.Hidden && v.current) {
2599
2599
  if (C && b !== "visible") {
@@ -2628,9 +2628,9 @@ let rD = "div", OA = wi.RenderStrategy, BA = Xt(function(e, t) {
2628
2628
  let s = w2();
2629
2629
  if (n === void 0 && s !== null && (n = sn(s, { [Pr.Open]: !0, [Pr.Closed]: !1 })), ![!0, !1].includes(n))
2630
2630
  throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
2631
- let [c, d] = he(n ? "visible" : "hidden"), f = MA(() => {
2631
+ let [c, d] = pe(n ? "visible" : "hidden"), f = MA(() => {
2632
2632
  d("hidden");
2633
- }), [h, p] = he(!0), v = ce([n]);
2633
+ }), [h, p] = pe(!0), v = ce([n]);
2634
2634
  En(() => {
2635
2635
  h !== !1 && v.current[v.current.length - 1] !== n && (v.current.push(n), p(!1));
2636
2636
  }, [v, n]);
@@ -2662,7 +2662,7 @@ function Hme({
2662
2662
  hasFrozenState: i = !1,
2663
2663
  ...a
2664
2664
  }) {
2665
- const [o, l] = he(t), s = (d) => {
2665
+ const [o, l] = pe(t), s = (d) => {
2666
2666
  if (i)
2667
2667
  return l(!d), e(!d);
2668
2668
  l(d), e(d);
@@ -6251,7 +6251,7 @@ function tL(e) {
6251
6251
  placement: n,
6252
6252
  withClick: r = !1,
6253
6253
  onOpenChange: i
6254
- } = e, [a, o] = he(t), l = ce(null), s = [
6254
+ } = e, [a, o] = pe(t), l = ce(null), s = [
6255
6255
  kA(10),
6256
6256
  // Spacing between element anchor and tooltip float
6257
6257
  VA({
@@ -6400,7 +6400,7 @@ function zme({
6400
6400
  title: r,
6401
6401
  ...i
6402
6402
  }) {
6403
- const [a, o] = he(!1), l = () => n ? "bg-interactive-default" : t ? "bg-icon-disabled" : "bg-icon-subdued", s = () => n || a && !t ? "default" : t ? "disabled" : "subdued";
6403
+ const [a, o] = pe(!1), l = () => n ? "bg-interactive-default" : t ? "bg-icon-disabled" : "bg-icon-subdued", s = () => n || a && !t ? "default" : t ? "disabled" : "subdued";
6404
6404
  return /* @__PURE__ */ A.jsxs(
6405
6405
  "div",
6406
6406
  {
@@ -6684,7 +6684,7 @@ function G1(e, t) {
6684
6684
  }
6685
6685
  var bL = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
6686
6686
  function k7(e) {
6687
- var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, i = r === void 0 ? !1 : r, a = e.defaultValue, o = a === void 0 ? null : a, l = e.inputValue, s = e.menuIsOpen, c = e.onChange, d = e.onInputChange, f = e.onMenuClose, h = e.onMenuOpen, p = e.value, v = G1(e, bL), m = he(l !== void 0 ? l : n), g = kn(m, 2), C = g[0], y = g[1], x = he(s !== void 0 ? s : i), b = kn(x, 2), E = b[0], w = b[1], I = he(p !== void 0 ? p : o), S = kn(I, 2), O = S[0], B = S[1], P = Je(function(N, Q) {
6687
+ var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, i = r === void 0 ? !1 : r, a = e.defaultValue, o = a === void 0 ? null : a, l = e.inputValue, s = e.menuIsOpen, c = e.onChange, d = e.onInputChange, f = e.onMenuClose, h = e.onMenuOpen, p = e.value, v = G1(e, bL), m = pe(l !== void 0 ? l : n), g = kn(m, 2), C = g[0], y = g[1], x = pe(s !== void 0 ? s : i), b = kn(x, 2), E = b[0], w = b[1], I = pe(p !== void 0 ? p : o), S = kn(I, 2), O = S[0], B = S[1], P = Je(function(N, Q) {
6688
6688
  typeof c == "function" && c(N, Q), B(N);
6689
6689
  }, [c]), F = Je(function(N, Q) {
6690
6690
  var k;
@@ -8135,7 +8135,7 @@ var MC = function(t) {
8135
8135
  label: "menu"
8136
8136
  }, ti(n, Xj(r), "100%"), ti(n, "backgroundColor", l.neutral0), ti(n, "borderRadius", a), ti(n, "boxShadow", "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"), ti(n, "marginBottom", o.menuGutter), ti(n, "marginTop", o.menuGutter), ti(n, "position", "absolute"), ti(n, "width", "100%"), ti(n, "zIndex", 1), n;
8137
8137
  }, OC = /* @__PURE__ */ Pt(null), Uj = function(t) {
8138
- var n = t.children, r = t.minMenuHeight, i = t.maxMenuHeight, a = t.menuPlacement, o = t.menuPosition, l = t.menuShouldScrollIntoView, s = t.theme, c = wt(OC) || {}, d = c.setPortalPlacement, f = ce(null), h = he(i), p = kn(h, 2), v = p[0], m = p[1], g = he(null), C = kn(g, 2), y = C[0], x = C[1];
8138
+ var n = t.children, r = t.minMenuHeight, i = t.maxMenuHeight, a = t.menuPlacement, o = t.menuPosition, l = t.menuShouldScrollIntoView, s = t.theme, c = wt(OC) || {}, d = c.setPortalPlacement, f = ce(null), h = pe(i), p = kn(h, 2), v = p[0], m = p[1], g = pe(null), C = kn(g, 2), y = C[0], x = C[1];
8139
8139
  return ad(function() {
8140
8140
  var b = f.current;
8141
8141
  if (b) {
@@ -8230,11 +8230,11 @@ var tH = function(t) {
8230
8230
  zIndex: 1
8231
8231
  };
8232
8232
  }, nH = function(t) {
8233
- var n = t.appendTo, r = t.children, i = t.className, a = t.controlElement, o = t.cx, l = t.innerProps, s = t.menuPlacement, c = t.menuPosition, d = t.getStyles, f = ce(null), h = ce(null), p = he(MC(s)), v = kn(p, 2), m = v[0], g = v[1], C = we(function() {
8233
+ var n = t.appendTo, r = t.children, i = t.className, a = t.controlElement, o = t.cx, l = t.innerProps, s = t.menuPlacement, c = t.menuPosition, d = t.getStyles, f = ce(null), h = ce(null), p = pe(MC(s)), v = kn(p, 2), m = v[0], g = v[1], C = we(function() {
8234
8234
  return {
8235
8235
  setPortalPlacement: g
8236
8236
  };
8237
- }, []), y = he(null), x = kn(y, 2), b = x[0], E = x[1], w = Je(function() {
8237
+ }, []), y = pe(null), x = kn(y, 2), b = x[0], E = x[1], w = Je(function() {
8238
8238
  if (a) {
8239
8239
  var B = kj(a), P = c === "fixed" ? 0 : window.pageYOffset, F = B[m] + P;
8240
8240
  (F !== (b == null ? void 0 : b.offset) || B.left !== (b == null ? void 0 : b.rect.left) || B.width !== (b == null ? void 0 : b.rect.width)) && E({
@@ -10753,7 +10753,7 @@ function kme({
10753
10753
  _t: P,
10754
10754
  useT: F = !0
10755
10755
  }) {
10756
- const [D, R] = he(
10756
+ const [D, R] = pe(
10757
10757
  r || []
10758
10758
  ), { styles: j } = F2({ error: p, isError: v, helpText: l, logo: w }), T = Rt(t, F, P), G = Rt(l, F, P), N = () => Rt(E, F, P), Q = () => Rt(b, F, P), k = {
10759
10759
  ClearIndicator: R2,
@@ -10845,7 +10845,7 @@ var Pz = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading
10845
10845
  function JC(e) {
10846
10846
  var t = e.defaultOptions, n = t === void 0 ? !1 : t, r = e.cacheOptions, i = r === void 0 ? !1 : r, a = e.loadOptions;
10847
10847
  e.options;
10848
- var o = e.isLoading, l = o === void 0 ? !1 : o, s = e.onInputChange, c = e.filterOption, d = c === void 0 ? null : c, f = G1(e, Pz), h = f.inputValue, p = ce(void 0), v = ce(!1), m = he(Array.isArray(n) ? n : void 0), g = kn(m, 2), C = g[0], y = g[1], x = he(typeof h < "u" ? h : ""), b = kn(x, 2), E = b[0], w = b[1], I = he(n === !0), S = kn(I, 2), O = S[0], B = S[1], P = he(void 0), F = kn(P, 2), D = F[0], R = F[1], j = he([]), T = kn(j, 2), G = T[0], N = T[1], Q = he(!1), k = kn(Q, 2), K = k[0], z = k[1], H = he({}), $ = kn(H, 2), Z = $[0], J = $[1], q = he(void 0), oe = kn(q, 2), te = oe[0], W = oe[1], ne = he(void 0), V = kn(ne, 2), ue = V[0], ae = V[1];
10848
+ var o = e.isLoading, l = o === void 0 ? !1 : o, s = e.onInputChange, c = e.filterOption, d = c === void 0 ? null : c, f = G1(e, Pz), h = f.inputValue, p = ce(void 0), v = ce(!1), m = pe(Array.isArray(n) ? n : void 0), g = kn(m, 2), C = g[0], y = g[1], x = pe(typeof h < "u" ? h : ""), b = kn(x, 2), E = b[0], w = b[1], I = pe(n === !0), S = kn(I, 2), O = S[0], B = S[1], P = pe(void 0), F = kn(P, 2), D = F[0], R = F[1], j = pe([]), T = kn(j, 2), G = T[0], N = T[1], Q = pe(!1), k = kn(Q, 2), K = k[0], z = k[1], H = pe({}), $ = kn(H, 2), Z = $[0], J = $[1], q = pe(void 0), oe = kn(q, 2), te = oe[0], W = oe[1], ne = pe(void 0), V = kn(ne, 2), ue = V[0], ae = V[1];
10849
10849
  i !== ue && (J({}), ae(i)), n !== te && (y(Array.isArray(n) ? n : void 0), W(n)), ve(function() {
10850
10850
  return v.current = !0, function() {
10851
10851
  v.current = !1;
@@ -18575,7 +18575,7 @@ function Gme({
18575
18575
  iconTooltip: I,
18576
18576
  isActiveDropdownIndicator: S = !1
18577
18577
  }) {
18578
- const [O, B] = he(m), { styles: P } = F2({
18578
+ const [O, B] = pe(m), { styles: P } = F2({
18579
18579
  error: r,
18580
18580
  isError: h,
18581
18581
  helpText: i,
@@ -19216,7 +19216,7 @@ function Xme({
19216
19216
  kindLogo: o,
19217
19217
  ...l
19218
19218
  }) {
19219
- const [s, c] = he(!1), d = xa("(min-width: 768px)"), f = xa("(max-width: 1038px)");
19219
+ const [s, c] = pe(!1), d = xa("(min-width: 768px)"), f = xa("(max-width: 1038px)");
19220
19220
  return /* @__PURE__ */ A.jsxs(
19221
19221
  "header",
19222
19222
  {
@@ -19522,7 +19522,7 @@ var Si = function(e) {
19522
19522
  disableAbbreviations: D,
19523
19523
  prefix: b || H.prefix,
19524
19524
  transformRawValue: K
19525
- }, oe = f != null ? Vl(_t(_t({}, J), { decimalScale: x, value: String(f) })) : m != null ? Vl(_t(_t({}, J), { decimalScale: x, value: String(m) })) : "", te = he(oe), W = te[0], ne = te[1], V = he(!1), ue = V[0], ae = V[1], se = he(0), me = se[0], L = se[1], _ = he(0), ee = _[0], ie = _[1], fe = he(null), Ce = fe[0], Qe = fe[1], Ne = t || ce(null), Pe = function(Me, Te) {
19525
+ }, oe = f != null ? Vl(_t(_t({}, J), { decimalScale: x, value: String(f) })) : m != null ? Vl(_t(_t({}, J), { decimalScale: x, value: String(m) })) : "", te = pe(oe), W = te[0], ne = te[1], V = pe(!1), ue = V[0], ae = V[1], se = pe(0), me = se[0], L = se[1], _ = pe(0), ee = _[0], ie = _[1], fe = pe(null), Ce = fe[0], Qe = fe[1], Ne = t || ce(null), Pe = function(Me, Te) {
19526
19526
  ae(!0);
19527
19527
  var He = QG({
19528
19528
  selectionStart: Te,
@@ -21014,7 +21014,7 @@ function JG({
21014
21014
  withouStyle: f,
21015
21015
  classNames: h
21016
21016
  }) {
21017
- const p = ce(null), [v, m] = he(c ?? ""), [g, C] = he(!1), y = (B) => s == null ? void 0 : s(B), x = (B) => (m(B.target.value), l == null ? void 0 : l(B.target.value)), b = (B) => (m(B), l == null ? void 0 : l(B)), E = () => {
21017
+ const p = ce(null), [v, m] = pe(c ?? ""), [g, C] = pe(!1), y = (B) => s == null ? void 0 : s(B), x = (B) => (m(B.target.value), l == null ? void 0 : l(B.target.value)), b = (B) => (m(B), l == null ? void 0 : l(B)), E = () => {
21018
21018
  var B;
21019
21019
  return m(""), l == null || l(""), p && ((B = p.current) == null ? void 0 : B.focus());
21020
21020
  }, w = ({ isIconColor: B }) => B ? o ?? "subdued" : t ? "disabled" : "subdued", I = () => t ? "disabled" : g && n === "password" ? "default" : "subdued", S = re(
@@ -23592,7 +23592,7 @@ function xZ({
23592
23592
  isMobile: n,
23593
23593
  language: r
23594
23594
  }) {
23595
- const [i, a] = he(t), l = EZ[r ?? "es"], s = (d, f) => {
23595
+ const [i, a] = pe(t), l = EZ[r ?? "es"], s = (d, f) => {
23596
23596
  e(d, f), a(d);
23597
23597
  }, c = we(
23598
23598
  () => [
@@ -23702,11 +23702,11 @@ function Jme({
23702
23702
  useT: v = !0,
23703
23703
  translateTextProps: m = !1
23704
23704
  }) {
23705
- const g = ce(null), C = ce(null), [y, x] = he(!1), [b, E] = he(l), w = (W) => W == null || typeof W != "string" || !m ? W : v && typeof p == "function" ? p(W) : Rt(W, v, p), I = !xa("(min-width: 768px)"), [S, O] = he(o), [B, P] = he(
23705
+ const g = ce(null), C = ce(null), [y, x] = pe(!1), [b, E] = pe(l), w = (W) => W == null || typeof W != "string" || !m ? W : v && typeof p == "function" ? p(W) : Rt(W, v, p), I = !xa("(min-width: 768px)"), [S, O] = pe(o), [B, P] = pe(
23706
23706
  s ?? null
23707
- ), [F, D] = he(
23707
+ ), [F, D] = pe(
23708
23708
  w(s)
23709
- ), [R, j] = he(
23709
+ ), [R, j] = pe(
23710
23710
  o ? 2 : 0
23711
23711
  ), T = we(() => {
23712
23712
  switch (h) {
@@ -23722,7 +23722,7 @@ function Jme({
23722
23722
  }, [h]), G = we(
23723
23723
  () => f ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD",
23724
23724
  [f]
23725
- ), [N, Q] = he(!1);
23725
+ ), [N, Q] = pe(!1);
23726
23726
  ve(() => {
23727
23727
  E(l), O(o), P(s ?? null), D(w(s)), (o !== null || l !== null) && j(2);
23728
23728
  }, [
@@ -34418,7 +34418,7 @@ var _m = function(t, n, r, i, a) {
34418
34418
  animationDuration: 1500,
34419
34419
  animationEasing: "ease"
34420
34420
  }, $6 = function(t) {
34421
- var n = Um(Um({}, Zce), t), r = ce(), i = he(-1), a = Lce(i, 2), o = a[0], l = a[1];
34421
+ var n = Um(Um({}, Zce), t), r = ce(), i = pe(-1), a = Lce(i, 2), o = a[0], l = a[1];
34422
34422
  ve(function() {
34423
34423
  if (r.current && r.current.getTotalLength)
34424
34424
  try {
@@ -35338,7 +35338,7 @@ var cv = function(t, n, r, i, a) {
35338
35338
  animationDuration: 1500,
35339
35339
  animationEasing: "ease"
35340
35340
  }, m0e = function(t) {
35341
- var n = sv(sv({}, p0e), t), r = ce(), i = he(-1), a = o0e(i, 2), o = a[0], l = a[1];
35341
+ var n = sv(sv({}, p0e), t), r = ce(), i = pe(-1), a = o0e(i, 2), o = a[0], l = a[1];
35342
35342
  ve(function() {
35343
35343
  if (r.current && r.current.getTotalLength)
35344
35344
  try {
@@ -40731,7 +40731,7 @@ function Kv(e, t) {
40731
40731
  }
40732
40732
  return n;
40733
40733
  }
40734
- function pe(e) {
40734
+ function he(e) {
40735
40735
  for (var t = 1; t < arguments.length; t++) {
40736
40736
  var n = arguments[t] != null ? arguments[t] : {};
40737
40737
  t % 2 ? Kv(Object(n), !0).forEach(function(r) {
@@ -40793,13 +40793,13 @@ var Gde = function(t, n) {
40793
40793
  };
40794
40794
  if (t === "centric") {
40795
40795
  var o = a.coordinate, l = i.radius;
40796
- return pe(pe(pe({}, i), cn(i.cx, i.cy, l, o)), {}, {
40796
+ return he(he(he({}, i), cn(i.cx, i.cy, l, o)), {}, {
40797
40797
  angle: o,
40798
40798
  radius: l
40799
40799
  });
40800
40800
  }
40801
40801
  var s = a.coordinate, c = i.angle;
40802
- return pe(pe(pe({}, i), cn(i.cx, i.cy, s, c)), {}, {
40802
+ return he(he(he({}, i), cn(i.cx, i.cy, s, c)), {}, {
40803
40803
  angle: c,
40804
40804
  radius: s
40805
40805
  });
@@ -40892,7 +40892,7 @@ var L8 = function(t, n, r, i) {
40892
40892
  K && (F = k);
40893
40893
  }
40894
40894
  }
40895
- return pe(pe({}, v), {}, dt({}, O, pe(pe({}, m.props), {}, {
40895
+ return he(he({}, v), {}, dt({}, O, he(he({}, m.props), {}, {
40896
40896
  axisType: a,
40897
40897
  domain: F,
40898
40898
  categoricalDomain: R,
@@ -40915,7 +40915,7 @@ var L8 = function(t, n, r, i) {
40915
40915
  var b;
40916
40916
  return v ? b = o0(0, p) : l && l[y] && l[y].hasStack ? (b = AM(l[y].stackGroups, s, c), b = R8(f, b, y, a)) : (b = Kd(x, fM(h, r.filter(function(E) {
40917
40917
  return E.props[o] === y && !E.props.hide;
40918
- }), "number", d), i.defaultProps.allowDataOverflow), b = R8(f, b, y, a)), pe(pe({}, g), {}, dt({}, y, pe(pe({
40918
+ }), "number", d), i.defaultProps.allowDataOverflow), b = R8(f, b, y, a)), he(he({}, g), {}, dt({}, y, he(he({
40919
40919
  axisType: a
40920
40920
  }, i.defaultProps), {}, {
40921
40921
  hide: !0,
@@ -40991,20 +40991,20 @@ var L8 = function(t, n, r, i) {
40991
40991
  }, _de = function(t, n) {
40992
40992
  var r = t.props, i = t.graphicalItems, a = t.xAxisMap, o = a === void 0 ? {} : a, l = t.yAxisMap, s = l === void 0 ? {} : l, c = r.width, d = r.height, f = r.children, h = r.margin || {}, p = Er(f, Go), v = Er(f, Fo), m = Object.keys(s).reduce(function(E, w) {
40993
40993
  var I = s[w], S = I.orientation;
40994
- return !I.mirror && !I.hide ? pe(pe({}, E), {}, dt({}, S, E[S] + I.width)) : E;
40994
+ return !I.mirror && !I.hide ? he(he({}, E), {}, dt({}, S, E[S] + I.width)) : E;
40995
40995
  }, {
40996
40996
  left: h.left || 0,
40997
40997
  right: h.right || 0
40998
40998
  }), g = Object.keys(o).reduce(function(E, w) {
40999
40999
  var I = o[w], S = I.orientation;
41000
- return !I.mirror && !I.hide ? pe(pe({}, E), {}, dt({}, S, Br(E, "".concat(S)) + I.height)) : E;
41000
+ return !I.mirror && !I.hide ? he(he({}, E), {}, dt({}, S, Br(E, "".concat(S)) + I.height)) : E;
41001
41001
  }, {
41002
41002
  top: h.top || 0,
41003
41003
  bottom: h.bottom || 0
41004
- }), C = pe(pe({}, g), m), y = C.bottom;
41004
+ }), C = he(he({}, g), m), y = C.bottom;
41005
41005
  p && (C.bottom += p.props.height || Go.defaultProps.height), v && n && (C = _le(C, i, r, n));
41006
41006
  var x = c - C.left - C.right, b = d - C.top - C.bottom;
41007
- return pe(pe({
41007
+ return he(he({
41008
41008
  brushBottom: y
41009
41009
  }, C), {}, {
41010
41010
  // never return negative values for height and width
@@ -41031,7 +41031,7 @@ var L8 = function(t, n, r, i) {
41031
41031
  "Id on the targeted graphical component "
41032
41032
  ).concat((Ce = N == null || (Qe = N.type) === null || Qe === void 0 ? void 0 : Qe.displayName) !== null && Ce !== void 0 ? Ce : "")) : fr(!1));
41033
41033
  var je = Ne[Pe];
41034
- return pe(pe({}, ie), {}, dt(dt({}, fe.axisType, je), "".concat(fe.axisType, "Ticks"), _i(je)));
41034
+ return he(he({}, ie), {}, dt(dt({}, fe.axisType, je), "".concat(fe.axisType, "Ticks"), _i(je)));
41035
41035
  }, J), oe = q[j], te = q["".concat(j, "Ticks")], W = x && x[$] && x[$].hasStack && lse(N, x[$].stackGroups), ne = S1(N.type).indexOf("Bar") >= 0, V = $u(oe, te), ue = [], ae = T && Yle({
41036
41036
  barSize: S,
41037
41037
  stackGroups: x,
@@ -41046,8 +41046,8 @@ var L8 = function(t, n, r, i) {
41046
41046
  sizeList: ae[Z],
41047
41047
  maxBarSize: L
41048
41048
  }), _ !== V && (ue = ue.map(function(ie) {
41049
- return pe(pe({}, ie), {}, {
41050
- position: pe(pe({}, ie.position), {}, {
41049
+ return he(he({}, ie), {}, {
41050
+ position: he(he({}, ie.position), {}, {
41051
41051
  offset: ie.position.offset - _ / 2
41052
41052
  })
41053
41053
  });
@@ -41055,7 +41055,7 @@ var L8 = function(t, n, r, i) {
41055
41055
  }
41056
41056
  var ee = N && N.type && N.type.getComposedData;
41057
41057
  ee && G.push({
41058
- props: pe(pe({}, ee(pe(pe({}, q), {}, {
41058
+ props: he(he({}, ee(he(he({}, q), {}, {
41059
41059
  displayedData: k,
41060
41060
  props: g,
41061
41061
  dataKey: z,
@@ -41082,20 +41082,20 @@ var L8 = function(t, n, r, i) {
41082
41082
  return null;
41083
41083
  var w = y.children, I = y.layout, S = y.stackOffset, O = y.data, B = y.reverseStackOrder, P = tg(I), F = P.numericAxisName, D = P.cateAxisName, R = ar(w, i), j = ase(O, R, "".concat(F, "Id"), "".concat(D, "Id"), S, B), T = c.reduce(function(K, z) {
41084
41084
  var H = "".concat(z.axisType, "Map");
41085
- return pe(pe({}, K), {}, dt({}, H, Xde(y, pe(pe({}, z), {}, {
41085
+ return he(he({}, K), {}, dt({}, H, Xde(y, he(he({}, z), {}, {
41086
41086
  graphicalItems: R,
41087
41087
  stackGroups: z.axisType === F && j,
41088
41088
  dataStartIndex: x,
41089
41089
  dataEndIndex: b
41090
41090
  }))));
41091
- }, {}), G = _de(pe(pe({}, T), {}, {
41091
+ }, {}), G = _de(he(he({}, T), {}, {
41092
41092
  props: y,
41093
41093
  graphicalItems: R
41094
41094
  }), C == null ? void 0 : C.legendBBox);
41095
41095
  Object.keys(T).forEach(function(K) {
41096
41096
  T[K] = f(y, T[K], G, K.replace("Map", ""), r);
41097
41097
  });
41098
- var N = T["".concat(D, "Map")], Q = Yde(N), k = p(y, pe(pe({}, T), {}, {
41098
+ var N = T["".concat(D, "Map")], Q = Yde(N), k = p(y, he(he({}, T), {}, {
41099
41099
  dataStartIndex: x,
41100
41100
  dataEndIndex: b,
41101
41101
  updateId: E,
@@ -41103,7 +41103,7 @@ var L8 = function(t, n, r, i) {
41103
41103
  stackGroups: j,
41104
41104
  offset: G
41105
41105
  }));
41106
- return pe(pe({
41106
+ return he(he({
41107
41107
  formattedGraphicalItems: k,
41108
41108
  graphicalItems: R,
41109
41109
  offset: G,
@@ -41117,14 +41117,14 @@ var L8 = function(t, n, r, i) {
41117
41117
  return Rde(this, g), b = Tde(this, g, [C]), dt(Tt(b), "eventEmitterSymbol", Symbol("rechartsEventEmitter")), dt(Tt(b), "accessibilityManager", new Ade()), dt(Tt(b), "handleLegendBBoxUpdate", function(E) {
41118
41118
  if (E) {
41119
41119
  var w = b.state, I = w.dataStartIndex, S = w.dataEndIndex, O = w.updateId;
41120
- b.setState(pe({
41120
+ b.setState(he({
41121
41121
  legendBBox: E
41122
41122
  }, v({
41123
41123
  props: b.props,
41124
41124
  dataStartIndex: I,
41125
41125
  dataEndIndex: S,
41126
41126
  updateId: O
41127
- }, pe(pe({}, b.state), {}, {
41127
+ }, he(he({}, b.state), {}, {
41128
41128
  legendBBox: E
41129
41129
  }))));
41130
41130
  }
@@ -41139,7 +41139,7 @@ var L8 = function(t, n, r, i) {
41139
41139
  if (w !== b.state.dataStartIndex || I !== b.state.dataEndIndex) {
41140
41140
  var S = b.state.updateId;
41141
41141
  b.setState(function() {
41142
- return pe({
41142
+ return he({
41143
41143
  dataStartIndex: w,
41144
41144
  dataEndIndex: I
41145
41145
  }, v({
@@ -41156,7 +41156,7 @@ var L8 = function(t, n, r, i) {
41156
41156
  }), dt(Tt(b), "handleMouseEnter", function(E) {
41157
41157
  var w = b.getMouseInfo(E);
41158
41158
  if (w) {
41159
- var I = pe(pe({}, w), {}, {
41159
+ var I = he(he({}, w), {}, {
41160
41160
  isTooltipActive: !0
41161
41161
  });
41162
41162
  b.setState(I), b.triggerSyncEvent(I);
@@ -41164,7 +41164,7 @@ var L8 = function(t, n, r, i) {
41164
41164
  st(S) && S(I, E);
41165
41165
  }
41166
41166
  }), dt(Tt(b), "triggeredAfterMouseMove", function(E) {
41167
- var w = b.getMouseInfo(E), I = w ? pe(pe({}, w), {}, {
41167
+ var w = b.getMouseInfo(E), I = w ? he(he({}, w), {}, {
41168
41168
  isTooltipActive: !0
41169
41169
  }) : {
41170
41170
  isTooltipActive: !1
@@ -41209,7 +41209,7 @@ var L8 = function(t, n, r, i) {
41209
41209
  }), dt(Tt(b), "handleClick", function(E) {
41210
41210
  var w = b.getMouseInfo(E);
41211
41211
  if (w) {
41212
- var I = pe(pe({}, w), {}, {
41212
+ var I = he(he({}, w), {}, {
41213
41213
  isTooltipActive: !0
41214
41214
  });
41215
41215
  b.setState(I), b.triggerSyncEvent(I);
@@ -41239,7 +41239,7 @@ var L8 = function(t, n, r, i) {
41239
41239
  }), dt(Tt(b), "applySyncEvent", function(E) {
41240
41240
  var w = b.props, I = w.layout, S = w.syncMethod, O = b.state.updateId, B = E.dataStartIndex, P = E.dataEndIndex;
41241
41241
  if (E.dataStartIndex !== void 0 || E.dataEndIndex !== void 0)
41242
- b.setState(pe({
41242
+ b.setState(he({
41243
41243
  dataStartIndex: B,
41244
41244
  dataEndIndex: P
41245
41245
  }, v({
@@ -41262,14 +41262,14 @@ var L8 = function(t, n, r, i) {
41262
41262
  break;
41263
41263
  }
41264
41264
  }
41265
- var Q = pe(pe({}, T), {}, {
41265
+ var Q = he(he({}, T), {}, {
41266
41266
  x: T.left,
41267
41267
  y: T.top
41268
41268
  }), k = Math.min(F, Q.x + Q.width), K = Math.min(D, Q.y + Q.height), z = G[R] && G[R].value, H = L8(b.state, b.props.data, R), $ = G[R] ? {
41269
41269
  x: I === "horizontal" ? G[R].coordinate : k,
41270
41270
  y: I === "horizontal" ? K : G[R].coordinate
41271
41271
  } : xO;
41272
- b.setState(pe(pe({}, E), {}, {
41272
+ b.setState(he(he({}, E), {}, {
41273
41273
  activeLabel: z,
41274
41274
  activeCoordinate: $,
41275
41275
  activePayload: H,
@@ -41294,7 +41294,7 @@ var L8 = function(t, n, r, i) {
41294
41294
  });
41295
41295
  }), dt(Tt(b), "renderPolarAxis", function(E, w, I) {
41296
41296
  var S = Br(E, "type.axisType"), O = Br(b.state, "".concat(S, "Map")), B = O && O[E.props["".concat(S, "Id")]];
41297
- return /* @__PURE__ */ ln(E, pe(pe({}, B), {}, {
41297
+ return /* @__PURE__ */ ln(E, he(he({}, B), {}, {
41298
41298
  className: xt(S, B.className),
41299
41299
  key: E.key || "".concat(w, "-").concat(I),
41300
41300
  ticks: _i(B, !0)
@@ -41325,7 +41325,7 @@ var L8 = function(t, n, r, i) {
41325
41325
  if (!F)
41326
41326
  return null;
41327
41327
  var D = F.item, R = _v(F, Sde);
41328
- return /* @__PURE__ */ ln(D, pe(pe({}, R), {}, {
41328
+ return /* @__PURE__ */ ln(D, he(he({}, R), {}, {
41329
41329
  chartWidth: S,
41330
41330
  chartHeight: O,
41331
41331
  margin: B,
@@ -41337,7 +41337,7 @@ var L8 = function(t, n, r, i) {
41337
41337
  return null;
41338
41338
  var B = b.state, P = B.isTooltipActive, F = B.activeCoordinate, D = B.activePayload, R = B.activeLabel, j = B.offset, T = (E = O.props.active) !== null && E !== void 0 ? E : P;
41339
41339
  return /* @__PURE__ */ ln(O, {
41340
- viewBox: pe(pe({}, j), {}, {
41340
+ viewBox: he(he({}, j), {}, {
41341
41341
  x: j.left,
41342
41342
  y: j.top
41343
41343
  }),
@@ -41377,7 +41377,7 @@ var L8 = function(t, n, r, i) {
41377
41377
  clipPathId: O
41378
41378
  });
41379
41379
  }), dt(Tt(b), "renderActivePoints", function(E) {
41380
- var w = E.item, I = E.activePoint, S = E.basePoint, O = E.childIndex, B = E.isRange, P = [], F = w.props.key, D = w.item.props, R = D.activeDot, j = D.dataKey, T = pe(pe({
41380
+ var w = E.item, I = E.activePoint, S = E.basePoint, O = E.childIndex, B = E.isRange, P = [], F = w.props.key, D = w.item.props, R = D.activeDot, j = D.dataKey, T = he(he({
41381
41381
  index: O,
41382
41382
  dataKey: j,
41383
41383
  cx: I.x,
@@ -41390,7 +41390,7 @@ var L8 = function(t, n, r, i) {
41390
41390
  value: I.value,
41391
41391
  key: "".concat(F, "-activePoint-").concat(O)
41392
41392
  }, We(R, !1)), yu(R));
41393
- return P.push(g.renderActiveDot(R, T)), S ? P.push(g.renderActiveDot(R, pe(pe({}, T), {}, {
41393
+ return P.push(g.renderActiveDot(R, T)), S ? P.push(g.renderActiveDot(R, he(he({}, T), {}, {
41394
41394
  cx: S.x,
41395
41395
  cy: S.y,
41396
41396
  key: "".concat(F, "-basePoint-").concat(O)
@@ -41406,7 +41406,7 @@ var L8 = function(t, n, r, i) {
41406
41406
  onMouseLeave: Ic(b.handleItemMouseLeave, E.props.onMouseLeave),
41407
41407
  onMouseEnter: Ic(b.handleItemMouseEnter, E.props.onMouseEnter)
41408
41408
  });
41409
- var oe = /* @__PURE__ */ ln(E, pe(pe({}, S.props), q));
41409
+ var oe = /* @__PURE__ */ ln(E, he(he({}, S.props), q));
41410
41410
  function te(fe) {
41411
41411
  return typeof F.dataKey == "function" ? F.dataKey(fe.payload) : null;
41412
41412
  }
@@ -41420,7 +41420,7 @@ var L8 = function(t, n, r, i) {
41420
41420
  W = N == null ? void 0 : N[D], ne = Q && k && k[D];
41421
41421
  if (Z || $) {
41422
41422
  var ue = E.props.activeIndex !== void 0 ? E.props.activeIndex : D;
41423
- return [/* @__PURE__ */ ln(E, pe(pe(pe({}, S.props), q), {}, {
41423
+ return [/* @__PURE__ */ ln(E, he(he(he({}, S.props), q), {}, {
41424
41424
  activeIndex: ue
41425
41425
  })), null, null];
41426
41426
  }
@@ -41435,14 +41435,14 @@ var L8 = function(t, n, r, i) {
41435
41435
  } else {
41436
41436
  var ae, se = (ae = b.getItemByXY(b.state.activeCoordinate)) !== null && ae !== void 0 ? ae : {
41437
41437
  graphicalItem: oe
41438
- }, me = se.graphicalItem, L = me.item, _ = L === void 0 ? E : L, ee = me.childIndex, ie = pe(pe(pe({}, S.props), q), {}, {
41438
+ }, me = se.graphicalItem, L = me.item, _ = L === void 0 ? E : L, ee = me.childIndex, ie = he(he(he({}, S.props), q), {}, {
41439
41439
  activeIndex: ee
41440
41440
  });
41441
41441
  return [/* @__PURE__ */ ln(_, ie), null, null];
41442
41442
  }
41443
41443
  return Q ? [oe, null, null] : [oe, null];
41444
41444
  }), dt(Tt(b), "renderCustomized", function(E, w, I) {
41445
- return /* @__PURE__ */ ln(E, pe(pe({
41445
+ return /* @__PURE__ */ ln(E, he(he({
41446
41446
  key: "recharts-customized-".concat(I)
41447
41447
  }, b.props), b.state));
41448
41448
  }), dt(Tt(b), "renderMap", {
@@ -41544,7 +41544,7 @@ var L8 = function(t, n, r, i) {
41544
41544
  var N = G.item;
41545
41545
  return N.type.name === "Scatter";
41546
41546
  });
41547
- j && (R = pe(pe({}, R), j.props.points[S].tooltipPosition), B = j.props.points[S].tooltipPayload);
41547
+ j && (R = he(he({}, R), j.props.points[S].tooltipPosition), B = j.props.points[S].tooltipPayload);
41548
41548
  var T = {
41549
41549
  activeTooltipIndex: S,
41550
41550
  isTooltipActive: !0,
@@ -41615,13 +41615,13 @@ var L8 = function(t, n, r, i) {
41615
41615
  var O = this.state, B = O.xAxisMap, P = O.yAxisMap, F = this.getTooltipEventType();
41616
41616
  if (F !== "axis" && B && P) {
41617
41617
  var D = A1(B).scale, R = A1(P).scale, j = D && D.invert ? D.invert(w.chartX) : null, T = R && R.invert ? R.invert(w.chartY) : null;
41618
- return pe(pe({}, w), {}, {
41618
+ return he(he({}, w), {}, {
41619
41619
  xValue: j,
41620
41620
  yValue: T
41621
41621
  });
41622
41622
  }
41623
41623
  var G = qv(this.state, this.props.data, this.props.layout, S);
41624
- return G ? pe(pe({}, w), G) : null;
41624
+ return G ? he(he({}, w), G) : null;
41625
41625
  }
41626
41626
  }, {
41627
41627
  key: "inRange",
@@ -41659,7 +41659,7 @@ var L8 = function(t, n, r, i) {
41659
41659
  onTouchEnd: this.handleTouchEnd
41660
41660
  });
41661
41661
  var w = yu(this.props, this.handleOuterEvent);
41662
- return pe(pe({}, w), E);
41662
+ return he(he({}, w), E);
41663
41663
  }
41664
41664
  }, {
41665
41665
  key: "addListener",
@@ -41700,7 +41700,7 @@ var L8 = function(t, n, r, i) {
41700
41700
  var y = this.state.xAxisMap;
41701
41701
  return y ? Object.entries(y).reduce(function(x, b) {
41702
41702
  var E = Uv(b, 2), w = E[0], I = E[1];
41703
- return pe(pe({}, x), {}, dt({}, w, I.scale));
41703
+ return he(he({}, x), {}, dt({}, w, I.scale));
41704
41704
  }, {}) : null;
41705
41705
  }
41706
41706
  }, {
@@ -41709,7 +41709,7 @@ var L8 = function(t, n, r, i) {
41709
41709
  var y = this.state.yAxisMap;
41710
41710
  return y ? Object.entries(y).reduce(function(x, b) {
41711
41711
  var E = Uv(b, 2), w = E[0], I = E[1];
41712
- return pe(pe({}, x), {}, dt({}, w, I.scale));
41712
+ return he(he({}, x), {}, dt({}, w, I.scale));
41713
41713
  }, {}) : null;
41714
41714
  }
41715
41715
  }, {
@@ -41756,7 +41756,7 @@ var L8 = function(t, n, r, i) {
41756
41756
  itemData: B.props.data
41757
41757
  }), j = B.props.activeIndex === void 0 ? R : B.props.activeIndex;
41758
41758
  return {
41759
- graphicalItem: pe(pe({}, S), {}, {
41759
+ graphicalItem: he(he({}, S), {}, {
41760
41760
  childIndex: j
41761
41761
  }),
41762
41762
  payload: s2(S, E) ? B.props.data[R] : S.props.data[R]
@@ -41800,7 +41800,7 @@ var L8 = function(t, n, r, i) {
41800
41800
  clipPathId: this.clipPathId
41801
41801
  }, /* @__PURE__ */ u.createElement("div", Es({
41802
41802
  className: xt("recharts-wrapper", E),
41803
- style: pe({
41803
+ style: he({
41804
41804
  position: "relative",
41805
41805
  cursor: "default",
41806
41806
  width: w,
@@ -41819,7 +41819,7 @@ var L8 = function(t, n, r, i) {
41819
41819
  }), this.renderClipPath(), uh(b, this.renderMap)), this.renderLegend(), this.renderTooltip()));
41820
41820
  }
41821
41821
  }]), g;
41822
- }(c7), dt(n, "displayName", r), dt(n, "defaultProps", pe({
41822
+ }(c7), dt(n, "displayName", r), dt(n, "defaultProps", he({
41823
41823
  layout: "horizontal",
41824
41824
  stackOffset: "none",
41825
41825
  barCategoryGap: "10%",
@@ -41836,9 +41836,9 @@ var L8 = function(t, n, r, i) {
41836
41836
  var C = m.dataKey, y = m.data, x = m.children, b = m.width, E = m.height, w = m.layout, I = m.stackOffset, S = m.margin, O = g.dataStartIndex, B = g.dataEndIndex;
41837
41837
  if (g.updateId === void 0) {
41838
41838
  var P = eg(m);
41839
- return pe(pe(pe({}, P), {}, {
41839
+ return he(he(he({}, P), {}, {
41840
41840
  updateId: 0
41841
- }, v(pe(pe({
41841
+ }, v(he(he({
41842
41842
  props: m
41843
41843
  }, P), {}, {
41844
41844
  updateId: 0
@@ -41862,10 +41862,10 @@ var L8 = function(t, n, r, i) {
41862
41862
  // The tooltip should stay active when it was active in the previous render. If this is not
41863
41863
  // the case, the tooltip disappears and immediately re-appears, causing a flickering effect
41864
41864
  isTooltipActive: g.isTooltipActive
41865
- }, R = pe(pe({}, qv(g, y, w)), {}, {
41865
+ }, R = he(he({}, qv(g, y, w)), {}, {
41866
41866
  updateId: g.updateId + 1
41867
- }), j = pe(pe(pe({}, F), D), R);
41868
- return pe(pe(pe({}, j), v(pe({
41867
+ }), j = he(he(he({}, F), D), R);
41868
+ return he(he(he({}, j), v(he({
41869
41869
  props: m
41870
41870
  }, j), g)), {}, {
41871
41871
  prevDataKey: C,
@@ -41880,9 +41880,9 @@ var L8 = function(t, n, r, i) {
41880
41880
  }
41881
41881
  if (!hd(x, g.prevChildren)) {
41882
41882
  var T, G, N, Q, k = Er(x, Go), K = k && (T = (G = k.props) === null || G === void 0 ? void 0 : G.startIndex) !== null && T !== void 0 ? T : O, z = k && (N = (Q = k.props) === null || Q === void 0 ? void 0 : Q.endIndex) !== null && N !== void 0 ? N : B, H = K !== O || z !== B, $ = !at(y), Z = $ && !H ? g.updateId : g.updateId + 1;
41883
- return pe(pe({
41883
+ return he(he({
41884
41884
  updateId: Z
41885
- }, v(pe(pe({
41885
+ }, v(he(he({
41886
41886
  props: m
41887
41887
  }, g), {}, {
41888
41888
  updateId: Z,
@@ -42527,7 +42527,7 @@ function ave({
42527
42527
  placement: i = "right",
42528
42528
  sizeIcon: a
42529
42529
  }) {
42530
- const [o, l] = he([]), s = (d) => l((f) => f.includes(d) ? (n(f.filter((h) => h !== d)), f.filter((h) => h !== d)) : (n([...f, d]), [...f, d])), c = (d) => o.some((f) => f.id === d.id && f.label === d.label);
42530
+ const [o, l] = pe([]), s = (d) => l((f) => f.includes(d) ? (n(f.filter((h) => h !== d)), f.filter((h) => h !== d)) : (n([...f, d]), [...f, d])), c = (d) => o.some((f) => f.id === d.id && f.label === d.label);
42531
42531
  return /* @__PURE__ */ A.jsx("div", { className: "flex gap-x-2", children: /* @__PURE__ */ A.jsxs(On, { as: "div", className: "relative inline-block text-left", children: [
42532
42532
  /* @__PURE__ */ A.jsxs(On.Button, { className: "gap-x-2 flex w-full p-xs transition-colors rounded-sm items-center hover:bg-action-opacity-hovered active:bg-action-opacity-active disabled:bg-action-opacity-disabled", children: [
42533
42533
  e ? /* @__PURE__ */ A.jsx(
@@ -42615,7 +42615,7 @@ function f8e({
42615
42615
  options: e,
42616
42616
  filling: t,
42617
42617
  isDisabled: n
42618
- }), [o, l] = he(
42618
+ }), [o, l] = pe(
42619
42619
  "default"
42620
42620
  );
42621
42621
  return /* @__PURE__ */ A.jsx(On, { as: "div", className: "relative inline-block text-left", children: ({ open: s }) => /* @__PURE__ */ A.jsxs(A.Fragment, { children: [
@@ -42895,7 +42895,7 @@ const x8e = /* @__PURE__ */ Pt({
42895
42895
  branches: /* @__PURE__ */ new Set()
42896
42896
  }), w8e = /* @__PURE__ */ qe((e, t) => {
42897
42897
  var n;
42898
- const { disableOutsidePointerEvents: r = !1, onEscapeKeyDown: i, onPointerDownOutside: a, onFocusOutside: o, onInteractOutside: l, onDismiss: s, ...c } = e, d = wt(x8e), [f, h] = he(null), p = (n = f == null ? void 0 : f.ownerDocument) !== null && n !== void 0 ? n : globalThis == null ? void 0 : globalThis.document, [, v] = he({}), m = Ha(
42898
+ const { disableOutsidePointerEvents: r = !1, onEscapeKeyDown: i, onPointerDownOutside: a, onFocusOutside: o, onInteractOutside: l, onDismiss: s, ...c } = e, d = wt(x8e), [f, h] = pe(null), p = (n = f == null ? void 0 : f.ownerDocument) !== null && n !== void 0 ? n : globalThis == null ? void 0 : globalThis.document, [, v] = pe({}), m = Ha(
42899
42899
  t,
42900
42900
  (S) => h(S)
42901
42901
  ), g = Array.from(d.layers), [C] = [
@@ -43032,7 +43032,7 @@ const i4 = "focusScope.autoFocusOnMount", a4 = "focusScope.autoFocusOnUnmount",
43032
43032
  bubbles: !1,
43033
43033
  cancelable: !0
43034
43034
  }, O8e = /* @__PURE__ */ qe((e, t) => {
43035
- const { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [l, s] = he(null), c = H1(i), d = H1(a), f = ce(null), h = Ha(
43035
+ const { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [l, s] = pe(null), c = H1(i), d = H1(a), f = ce(null), h = Ha(
43036
43036
  t,
43037
43037
  (m) => s(m)
43038
43038
  ), p = ce({
@@ -43223,7 +43223,7 @@ function H8e(e) {
43223
43223
  ]), e || (t ? `radix-${t}` : "");
43224
43224
  }
43225
43225
  function z8e(e) {
43226
- const [t, n] = he(void 0);
43226
+ const [t, n] = pe(void 0);
43227
43227
  return Ko(() => {
43228
43228
  if (e) {
43229
43229
  n({
@@ -43255,7 +43255,7 @@ function z8e(e) {
43255
43255
  ]), t;
43256
43256
  }
43257
43257
  const BO = "Popper", [PO, FO] = SO(BO), [k8e, RO] = PO(BO), N8e = (e) => {
43258
- const { __scopePopper: t, children: n } = e, [r, i] = he(null);
43258
+ const { __scopePopper: t, children: n } = e, [r, i] = pe(null);
43259
43259
  return /* @__PURE__ */ Ke(k8e, {
43260
43260
  scope: t,
43261
43261
  anchor: r,
@@ -43270,10 +43270,10 @@ const BO = "Popper", [PO, FO] = SO(BO), [k8e, RO] = PO(BO), N8e = (e) => {
43270
43270
  }));
43271
43271
  }), DO = "PopperContent", [G8e, ove] = PO(DO), Z8e = /* @__PURE__ */ qe((e, t) => {
43272
43272
  var n, r, i, a, o, l, s, c;
43273
- const { __scopePopper: d, side: f = "bottom", sideOffset: h = 0, align: p = "center", alignOffset: v = 0, arrowPadding: m = 0, collisionBoundary: g = [], collisionPadding: C = 0, sticky: y = "partial", hideWhenDetached: x = !1, avoidCollisions: b = !0, onPlaced: E, ...w } = e, I = RO(DO, d), [S, O] = he(null), B = Ha(
43273
+ const { __scopePopper: d, side: f = "bottom", sideOffset: h = 0, align: p = "center", alignOffset: v = 0, arrowPadding: m = 0, collisionBoundary: g = [], collisionPadding: C = 0, sticky: y = "partial", hideWhenDetached: x = !1, avoidCollisions: b = !0, onPlaced: E, ...w } = e, I = RO(DO, d), [S, O] = pe(null), B = Ha(
43274
43274
  t,
43275
43275
  (ae) => O(ae)
43276
- ), [P, F] = he(null), D = z8e(P), R = (n = D == null ? void 0 : D.width) !== null && n !== void 0 ? n : 0, j = (r = D == null ? void 0 : D.height) !== null && r !== void 0 ? r : 0, T = f + (p !== "center" ? "-" + p : ""), G = typeof C == "number" ? C : {
43276
+ ), [P, F] = pe(null), D = z8e(P), R = (n = D == null ? void 0 : D.width) !== null && n !== void 0 ? n : 0, j = (r = D == null ? void 0 : D.height) !== null && r !== void 0 ? r : 0, T = f + (p !== "center" ? "-" + p : ""), G = typeof C == "number" ? C : {
43277
43277
  top: 0,
43278
43278
  right: 0,
43279
43279
  bottom: 0,
@@ -43334,7 +43334,7 @@ const BO = "Popper", [PO, FO] = SO(BO), [k8e, RO] = PO(BO), N8e = (e) => {
43334
43334
  $,
43335
43335
  oe
43336
43336
  ]);
43337
- const te = (i = Z.arrow) === null || i === void 0 ? void 0 : i.x, W = (a = Z.arrow) === null || a === void 0 ? void 0 : a.y, ne = ((o = Z.arrow) === null || o === void 0 ? void 0 : o.centerOffset) !== 0, [V, ue] = he();
43337
+ const te = (i = Z.arrow) === null || i === void 0 ? void 0 : i.x, W = (a = Z.arrow) === null || a === void 0 ? void 0 : a.y, ne = ((o = Z.arrow) === null || o === void 0 ? void 0 : o.centerOffset) !== 0, [V, ue] = pe();
43338
43338
  return Ko(() => {
43339
43339
  S && ue(window.getComputedStyle(S).zIndex);
43340
43340
  }, [
@@ -43428,7 +43428,7 @@ const nf = (e) => {
43428
43428
  };
43429
43429
  nf.displayName = "Presence";
43430
43430
  function K8e(e) {
43431
- const [t, n] = he(), r = ce({}), i = ce(e), a = ce("none"), o = e ? "mounted" : "unmounted", [l, s] = J8e(o, {
43431
+ const [t, n] = pe(), r = ce({}), i = ce(e), a = ce("none"), o = e ? "mounted" : "unmounted", [l, s] = J8e(o, {
43432
43432
  mounted: {
43433
43433
  UNMOUNT: "unmounted",
43434
43434
  ANIMATION_OUT: "unmountSuspended"
@@ -43509,7 +43509,7 @@ function q8e({ prop: e, defaultProp: t, onChange: n = () => {
43509
43509
  ];
43510
43510
  }
43511
43511
  function e7e({ defaultProp: e, onChange: t }) {
43512
- const n = he(e), [r] = n, i = ce(r), a = H1(t);
43512
+ const n = pe(e), [r] = n, i = ce(r), a = H1(t);
43513
43513
  return ve(() => {
43514
43514
  i.current !== r && (a(r), i.current = r);
43515
43515
  }, [
@@ -43548,7 +43548,7 @@ function o4(e, t) {
43548
43548
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
43549
43549
  }
43550
43550
  function r7e(e, t) {
43551
- var n = he(function() {
43551
+ var n = pe(function() {
43552
43552
  return {
43553
43553
  // value
43554
43554
  value: e,
@@ -43989,7 +43989,7 @@ WO.classNames = T3.classNames;
43989
43989
  const F7e = WO, $O = "Popover", [XO, lve] = SO($O, [
43990
43990
  FO
43991
43991
  ]), of = FO(), [R7e, El] = XO($O), D7e = (e) => {
43992
- const { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, l = of(t), s = ce(null), [c, d] = he(!1), [f = !1, h] = q8e({
43992
+ const { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, l = of(t), s = ce(null), [c, d] = pe(!1), [f = !1, h] = q8e({
43993
43993
  prop: r,
43994
43994
  defaultProp: i,
43995
43995
  onChange: a
@@ -44306,7 +44306,7 @@ function K7e({ prop: e, defaultProp: t, onChange: n = () => {
44306
44306
  ];
44307
44307
  }
44308
44308
  function q7e({ defaultProp: e, onChange: t }) {
44309
- const n = he(e), [r] = n, i = ce(r), a = Fa(t);
44309
+ const n = pe(e), [r] = n, i = ce(r), a = Fa(t);
44310
44310
  return ve(() => {
44311
44311
  i.current !== r && (a(r), i.current = r);
44312
44312
  }, [
@@ -44412,7 +44412,7 @@ const s6e = /* @__PURE__ */ Pt({
44412
44412
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
44413
44413
  branches: /* @__PURE__ */ new Set()
44414
44414
  }), c6e = /* @__PURE__ */ qe((e, t) => {
44415
- const { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: l, ...s } = e, c = wt(s6e), [d, f] = he(null), [, h] = he({}), p = _2(
44415
+ const { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: o, onDismiss: l, ...s } = e, c = wt(s6e), [d, f] = pe(null), [, h] = pe({}), p = _2(
44416
44416
  t,
44417
44417
  (w) => f(w)
44418
44418
  ), v = Array.from(c.layers), [m] = [
@@ -44530,7 +44530,7 @@ const u4 = "focusScope.autoFocusOnMount", d4 = "focusScope.autoFocusOnUnmount",
44530
44530
  bubbles: !1,
44531
44531
  cancelable: !0
44532
44532
  }, f6e = /* @__PURE__ */ qe((e, t) => {
44533
- const { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [l, s] = he(null), c = Fa(i), d = Fa(a), f = ce(null), h = _2(
44533
+ const { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...o } = e, [l, s] = pe(null), c = Fa(i), d = Fa(a), f = ce(null), h = _2(
44534
44534
  t,
44535
44535
  (m) => s(m)
44536
44536
  ), p = ce({
@@ -44717,7 +44717,7 @@ const j3 = (e) => {
44717
44717
  };
44718
44718
  j3.displayName = "Presence";
44719
44719
  function b6e(e) {
44720
- const [t, n] = he(), r = ce({}), i = ce(e), a = ce("none"), o = e ? "mounted" : "unmounted", [l, s] = y6e(o, {
44720
+ const [t, n] = pe(), r = ce({}), i = ce(e), a = ce("none"), o = e ? "mounted" : "unmounted", [l, s] = y6e(o, {
44721
44721
  mounted: {
44722
44722
  UNMOUNT: "unmounted",
44723
44723
  ANIMATION_OUT: "unmountSuspended"
@@ -45511,7 +45511,7 @@ function cve({
45511
45511
  onSelected: d,
45512
45512
  ...f
45513
45513
  }) {
45514
- const { _t: h } = R0({ ...f }), [p, v] = he(/* @__PURE__ */ new Set([])), [m, g] = he(!1), C = (p == null ? void 0 : p.size) > 0 && c, y = () => v((b) => {
45514
+ const { _t: h } = R0({ ...f }), [p, v] = pe(/* @__PURE__ */ new Set([])), [m, g] = pe(!1), C = (p == null ? void 0 : p.size) > 0 && c, y = () => v((b) => {
45515
45515
  const E = new Set(b);
45516
45516
  return E.clear(), d == null || d(Array.from(E)), E;
45517
45517
  }), x = (b, E) => {
@@ -48408,7 +48408,7 @@ function c9e(e) {
48408
48408
  };
48409
48409
  }
48410
48410
  function u9e({ onChange: e, placeholder: t, ...n }) {
48411
- const [r, i] = he(""), a = (o) => {
48411
+ const [r, i] = pe(""), a = (o) => {
48412
48412
  o.key === "Enter" && (i(r), e(r));
48413
48413
  };
48414
48414
  return /* @__PURE__ */ A.jsxs(A.Fragment, { children: [
@@ -48537,7 +48537,7 @@ J8.displayName = "TableHead";
48537
48537
  const K8 = qe(({ ...e }, t) => /* @__PURE__ */ A.jsx("td", { ref: t, ...e }));
48538
48538
  K8.displayName = "TableCell";
48539
48539
  function f9e(e) {
48540
- const t = xa("(min-width: 768px)"), [n, r] = he(
48540
+ const t = xa("(min-width: 768px)"), [n, r] = pe(
48541
48541
  e.currentPage - 1
48542
48542
  ), i = e == null ? void 0 : e.optionsPages.map((s) => s - 1);
48543
48543
  return {
@@ -48759,9 +48759,9 @@ function uve({
48759
48759
  search: w = void 0
48760
48760
  }) {
48761
48761
  var $;
48762
- const [I, S] = he({}), [O, B] = he(
48762
+ const [I, S] = pe({}), [O, B] = pe(
48763
48763
  void 0
48764
- ), [P, F] = he([]), [D, R] = he([]), [j, T] = he({}), [G, N] = he(
48764
+ ), [P, F] = pe([]), [D, R] = pe([]), [j, T] = pe({}), [G, N] = pe(
48765
48765
  x ?? {}
48766
48766
  ), Q = (Z, J, q, oe) => {
48767
48767
  const te = ZB(Z.getValue(J), q);
@@ -48948,7 +48948,7 @@ const p9e = B0(
48948
48948
  placeholder: r,
48949
48949
  ...i
48950
48950
  }) => {
48951
- const [a, o] = he(e), l = Je(
48951
+ const [a, o] = pe(e), l = Je(
48952
48952
  (s) => {
48953
48953
  o(s.target.value);
48954
48954
  },
@@ -49034,12 +49034,12 @@ function m9e({
49034
49034
  table: e,
49035
49035
  options: t
49036
49036
  }) {
49037
- const n = xa("(min-width: 768px)"), [r, i] = he(0), a = (s) => {
49038
- e.setPageIndex(s), i(s);
49037
+ const n = xa("(min-width: 768px)"), r = e.getState().pagination.pageIndex, i = (l) => {
49038
+ e.setPageIndex(l);
49039
+ }, a = () => {
49040
+ e.previousPage();
49039
49041
  }, o = () => {
49040
- e.previousPage(), r !== 0 && i(r - 1);
49041
- }, l = () => {
49042
- e.nextPage(), i(r + 1);
49042
+ e.nextPage();
49043
49043
  };
49044
49044
  return /* @__PURE__ */ A.jsxs("div", { className: "items-center grid grid-cols-3 mt-4 mb-3", children: [
49045
49045
  /* @__PURE__ */ A.jsx("div", { className: re(n ? "col-start-2" : "col-end-1"), children: /* @__PURE__ */ A.jsxs("div", { className: "flex items-center justify-center gap-2", children: [
@@ -49055,8 +49055,8 @@ function m9e({
49055
49055
  {
49056
49056
  className: "focus:ring-none text-letter-default text-xxs p-0 flex justify-center items-center appearance-none bg-none border-transparent ring-transparent focus:shadow-none focus:outline-none focus:border-none",
49057
49057
  value: `${e.getState().pagination.pageSize}`,
49058
- onChange: (s) => e.setPageSize(Number(s.target.value)),
49059
- children: t == null ? void 0 : t.map((s) => /* @__PURE__ */ A.jsx("option", { value: s, children: s }, s))
49058
+ onChange: (l) => e.setPageSize(Number(l.target.value)),
49059
+ children: t == null ? void 0 : t.map((l) => /* @__PURE__ */ A.jsx("option", { value: l, children: l }, l))
49060
49060
  }
49061
49061
  )
49062
49062
  ] }) }),
@@ -49065,7 +49065,7 @@ function m9e({
49065
49065
  "button",
49066
49066
  {
49067
49067
  className: "flex justify-center items-center",
49068
- onClick: o,
49068
+ onClick: a,
49069
49069
  disabled: !e.getCanPreviousPage(),
49070
49070
  children: /* @__PURE__ */ A.jsx(
49071
49071
  vt,
@@ -49084,34 +49084,34 @@ function m9e({
49084
49084
  e.getPageCount() < 99 ? "gap-2" : e.getPageCount() > 999 ? "gap-1 mr-1" : "gap-2 mr-2"
49085
49085
  ),
49086
49086
  children: e.getPageOptions().map(
49087
- (s) => s === 0 ? /* @__PURE__ */ A.jsx(
49087
+ (l) => l === 0 ? /* @__PURE__ */ A.jsx(
49088
49088
  w4,
49089
49089
  {
49090
49090
  position: "first",
49091
- pageIndex: s,
49091
+ pageIndex: l,
49092
49092
  currentPage: r,
49093
- onClick: () => a(s)
49093
+ onClick: () => i(l)
49094
49094
  },
49095
- s
49096
- ) : s !== 0 && s <= r + 1 && s >= r - 1 && s !== e.getPageCount() - 1 ? /* @__PURE__ */ A.jsx(
49095
+ l
49096
+ ) : l !== 0 && l <= r + 1 && l >= r - 1 && l !== e.getPageCount() - 1 ? /* @__PURE__ */ A.jsx(
49097
49097
  w4,
49098
49098
  {
49099
49099
  position: "middle",
49100
- pageIndex: s,
49100
+ pageIndex: l,
49101
49101
  currentPage: r,
49102
- onClick: () => a(s)
49102
+ onClick: () => i(l)
49103
49103
  },
49104
- s
49105
- ) : s === e.getPageCount() - 1 && /* @__PURE__ */ A.jsx(
49104
+ l
49105
+ ) : l === e.getPageCount() - 1 && /* @__PURE__ */ A.jsx(
49106
49106
  w4,
49107
49107
  {
49108
49108
  position: "last",
49109
- pageIndex: s,
49109
+ pageIndex: l,
49110
49110
  currentPage: r,
49111
- onClick: () => a(s),
49111
+ onClick: () => i(l),
49112
49112
  lastCount: e.getPageCount() - 1
49113
49113
  },
49114
- s
49114
+ l
49115
49115
  )
49116
49116
  )
49117
49117
  }
@@ -49120,7 +49120,7 @@ function m9e({
49120
49120
  "button",
49121
49121
  {
49122
49122
  className: "flex justify-center items-center",
49123
- onClick: l,
49123
+ onClick: o,
49124
49124
  disabled: !e.getCanNextPage(),
49125
49125
  children: /* @__PURE__ */ A.jsx(
49126
49126
  vt,
@@ -49503,7 +49503,7 @@ function I9e(e) {
49503
49503
  }, n);
49504
49504
  }
49505
49505
  function S9e() {
49506
- const [e, t] = he("");
49506
+ const [e, t] = pe("");
49507
49507
  return {
49508
49508
  announce: Je((r) => {
49509
49509
  r != null && t(r);
@@ -49521,7 +49521,7 @@ function M9e(e) {
49521
49521
  }, [e, t]);
49522
49522
  }
49523
49523
  function O9e() {
49524
- const [e] = he(() => /* @__PURE__ */ new Set()), t = Je((r) => (e.add(r), () => e.delete(r)), [e]);
49524
+ const [e] = pe(() => /* @__PURE__ */ new Set()), t = Je((r) => (e.add(r), () => e.delete(r)), [e]);
49525
49525
  return [Je((r) => {
49526
49526
  let {
49527
49527
  type: i,
@@ -49577,7 +49577,7 @@ function F9e(e) {
49577
49577
  const {
49578
49578
  announce: a,
49579
49579
  announcement: o
49580
- } = S9e(), l = tc("DndLiveRegion"), [s, c] = he(!1);
49580
+ } = S9e(), l = tc("DndLiveRegion"), [s, c] = pe(!1);
49581
49581
  if (ve(() => {
49582
49582
  c(!0);
49583
49583
  }, []), M9e(we(() => ({
@@ -50670,7 +50670,7 @@ function fhe(e, t) {
50670
50670
  dependencies: r,
50671
50671
  config: i
50672
50672
  } = t;
50673
- const [a, o] = he(null), {
50673
+ const [a, o] = pe(null), {
50674
50674
  frequency: l,
50675
50675
  measure: s,
50676
50676
  strategy: c
@@ -50778,7 +50778,7 @@ function mhe(e) {
50778
50778
  }
50779
50779
  function Gg(e, t, n) {
50780
50780
  t === void 0 && (t = mhe);
50781
- const [r, i] = he(null);
50781
+ const [r, i] = pe(null);
50782
50782
  function a() {
50783
50783
  i((s) => {
50784
50784
  if (!e)
@@ -50827,7 +50827,7 @@ function ghe(e) {
50827
50827
  }, [e]), n;
50828
50828
  }
50829
50829
  function Ahe(e) {
50830
- const [t, n] = he(null), r = ce(e), i = Je((a) => {
50830
+ const [t, n] = pe(null), r = ce(e), i = Je((a) => {
50831
50831
  const o = M4(a.target);
50832
50832
  o && n((l) => l ? (l.set(o, n7(o)), new Map(l)) : null);
50833
50833
  }, []);
@@ -50911,7 +50911,7 @@ function pP(e) {
50911
50911
  const $g = [];
50912
50912
  function bhe(e, t) {
50913
50913
  t === void 0 && (t = Sl);
50914
- const [n] = e, r = pP(n ? mr(n) : null), [i, a] = he($g);
50914
+ const [n] = e, r = pP(n ? mr(n) : null), [i, a] = pe($g);
50915
50915
  function o() {
50916
50916
  a(() => e.length ? e.map((s) => oP(s) ? r : new Af(t(s), s)) : $g);
50917
50917
  }
@@ -50934,7 +50934,7 @@ function xhe(e) {
50934
50934
  let {
50935
50935
  measure: t
50936
50936
  } = e;
50937
- const [n, r] = he(null), i = Je((c) => {
50937
+ const [n, r] = pe(null), i = Je((c) => {
50938
50938
  for (const {
50939
50939
  target: d
50940
50940
  } of c)
@@ -51274,7 +51274,7 @@ const The = /* @__PURE__ */ B0(function(t) {
51274
51274
  modifiers: p,
51275
51275
  ...v
51276
51276
  } = t;
51277
- const m = N1(Bhe, void 0, Ohe), [g, C] = m, [y, x] = O9e(), [b, E] = he(g1.Uninitialized), w = b === g1.Initialized, {
51277
+ const m = N1(Bhe, void 0, Ohe), [g, C] = m, [y, x] = O9e(), [b, E] = pe(g1.Uninitialized), w = b === g1.Initialized, {
51278
51278
  draggable: {
51279
51279
  active: I,
51280
51280
  nodes: S,
@@ -51294,7 +51294,7 @@ const The = /* @__PURE__ */ B0(function(t) {
51294
51294
  data: (Ae = P == null ? void 0 : P.data) != null ? Ae : Ihe,
51295
51295
  rect: F
51296
51296
  } : null;
51297
- }, [I, P]), R = ce(null), [j, T] = he(null), [G, N] = he(null), Q = C2(v, Object.values(v)), k = tc("DndDescribedBy", o), K = we(() => B.getEnabled(), [B]), z = Rhe(h), {
51297
+ }, [I, P]), R = ce(null), [j, T] = pe(null), [G, N] = pe(null), Q = C2(v, Object.values(v)), k = tc("DndDescribedBy", o), K = we(() => B.getEnabled(), [B]), z = Rhe(h), {
51298
51298
  droppableRects: H,
51299
51299
  measureDroppableContainers: $,
51300
51300
  measuringScheduled: Z
@@ -51348,7 +51348,7 @@ const The = /* @__PURE__ */ B0(function(t) {
51348
51348
  droppableRects: H,
51349
51349
  droppableContainers: K,
51350
51350
  pointerCoordinates: Qe
51351
- }) : null, lt = j9e(Ue, "id"), [gt, Yt] = he(null), Kt = L ? Ce : bo(Ce, je), Me = N9e(Kt, (a = gt == null ? void 0 : gt.rect) != null ? a : null, W), Te = ce(null), He = Je(
51351
+ }) : null, lt = j9e(Ue, "id"), [gt, Yt] = pe(null), Kt = L ? Ce : bo(Ce, je), Me = N9e(Kt, (a = gt == null ? void 0 : gt.rect) != null ? a : null, W), Te = ce(null), He = Je(
51352
51352
  (Ae, Oe) => {
51353
51353
  let {
51354
51354
  sensor: De,
@@ -51954,7 +51954,7 @@ function qhe(e) {
51954
51954
  node: r,
51955
51955
  rect: i
51956
51956
  } = e;
51957
- const [a, o] = he(null), l = ce(n);
51957
+ const [a, o] = pe(null), l = ce(n);
51958
51958
  return Oi(() => {
51959
51959
  if (!t && n !== l.current && r.current) {
51960
51960
  const s = i.current;
@@ -52183,7 +52183,7 @@ function dve({
52183
52183
  }
52184
52184
  }) {
52185
52185
  var te;
52186
- const [S, O] = he({}), [B, P] = he(""), [F, D] = he([]), [R, j] = he([]), [T, G] = he({}), [N, Q] = he(
52186
+ const [S, O] = pe({}), [B, P] = pe(""), [F, D] = pe([]), [R, j] = pe([]), [T, G] = pe({}), [N, Q] = pe(
52187
52187
  w ?? {}
52188
52188
  ), k = Je(
52189
52189
  (W, ne, V, ue) => {
@@ -55396,7 +55396,7 @@ const qg = /* @__PURE__ */ Pt(null), Pme = /* @__PURE__ */ Pt(null), HP = /* @__
55396
55396
  onSwiper: o,
55397
55397
  ...l
55398
55398
  } = e === void 0 ? {} : e, s = !1;
55399
- const [c, d] = he("swiper"), [f, h] = he(null), [p, v] = he(!1), m = ce(!1), g = ce(null), C = ce(null), y = ce(null), x = ce(null), b = ce(null), E = ce(null), w = ce(null), I = ce(null), {
55399
+ const [c, d] = pe("swiper"), [f, h] = pe(null), [p, v] = pe(!1), m = ce(!1), g = ce(null), C = ce(null), y = ce(null), x = ce(null), b = ce(null), E = ce(null), w = ce(null), I = ce(null), {
55400
55400
  params: S,
55401
55401
  passedParams: O,
55402
55402
  rest: B,
@@ -55512,7 +55512,7 @@ const s7 = /* @__PURE__ */ qe(function(e, t) {
55512
55512
  swiperSlideIndex: c,
55513
55513
  ...d
55514
55514
  } = e === void 0 ? {} : e;
55515
- const f = ce(null), [h, p] = he("swiper-slide"), [v, m] = he(!1);
55515
+ const f = ce(null), [h, p] = pe("swiper-slide"), [v, m] = pe(!1);
55516
55516
  function g(b, E, w) {
55517
55517
  E === f.current && p(w);
55518
55518
  }
@@ -55942,7 +55942,7 @@ function pve({
55942
55942
  ) });
55943
55943
  }
55944
55944
  function mve({ infoItems: e, onItemClick: t }) {
55945
- const n = ce(null), [r, i] = he(!1), a = () => {
55945
+ const n = ce(null), [r, i] = pe(!1), a = () => {
55946
55946
  var l;
55947
55947
  (l = n.current) == null || l.scrollBy({ left: -n.current.offsetWidth });
55948
55948
  }, o = () => {
@@ -55998,7 +55998,7 @@ function mve({ infoItems: e, onItemClick: t }) {
55998
55998
  ] });
55999
55999
  }
56000
56000
  function vve({ steps: e }) {
56001
- const [t, n] = he(0), r = () => {
56001
+ const [t, n] = pe(0), r = () => {
56002
56002
  n(t + 1);
56003
56003
  }, i = () => {
56004
56004
  t !== 0 && n(t - 1);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@aveonline/ui-react",
3
3
  "description": "Home base for Aveonline design system - ecosystem react",
4
4
  "private": false,
5
- "version": "2.33.1",
5
+ "version": "2.33.2",
6
6
  "types": "./dist/index.d.ts",
7
7
  "files": [
8
8
  "dist"