@3sc/common-component 0.0.566 → 0.0.568

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.
@@ -4470,10 +4470,10 @@ function SC(e) {
4470
4470
  storageWindow: R,
4471
4471
  noSsr: A
4472
4472
  });
4473
- let ke = Q, we = Ce;
4474
- z && (ke = H.mode, we = H.colorScheme), process.env.NODE_ENV !== "production" && O && !W.vars && console.warn(["MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.", "Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution."].join(`
4473
+ let ke = Q, xe = Ce;
4474
+ z && (ke = H.mode, xe = H.colorScheme), process.env.NODE_ENV !== "production" && O && !W.vars && console.warn(["MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.", "Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution."].join(`
4475
4475
  `));
4476
- let We = we || W.defaultColorScheme;
4476
+ let We = xe || W.defaultColorScheme;
4477
4477
  W.vars && !O && (We = W.defaultColorScheme);
4478
4478
  const Me = P.useMemo(() => {
4479
4479
  const ge = W.generateThemeVars?.() || W.vars, me = {
@@ -4493,25 +4493,25 @@ function SC(e) {
4493
4493
  });
4494
4494
  }
4495
4495
  return l ? l(me) : me;
4496
- }, [W, We, q, V, K]), Se = W.colorSchemeSelector;
4496
+ }, [W, We, q, V, K]), we = W.colorSchemeSelector;
4497
4497
  Vn(() => {
4498
- if (we && I && Se && Se !== "media") {
4499
- const ge = Se;
4500
- let me = Se;
4498
+ if (xe && I && we && we !== "media") {
4499
+ const ge = we;
4500
+ let me = we;
4501
4501
  if (ge === "class" && (me = ".%s"), ge === "data" && (me = "[data-%s]"), ge?.startsWith("data-") && !ge.includes("%s") && (me = `[${ge}="%s"]`), me.startsWith("."))
4502
- I.classList.remove(...G.map((Ne) => me.substring(1).replace("%s", Ne))), I.classList.add(me.substring(1).replace("%s", we));
4502
+ I.classList.remove(...G.map((Ne) => me.substring(1).replace("%s", Ne))), I.classList.add(me.substring(1).replace("%s", xe));
4503
4503
  else {
4504
- const Ne = me.replace("%s", we).match(/\[([^\]]+)\]/);
4504
+ const Ne = me.replace("%s", xe).match(/\[([^\]]+)\]/);
4505
4505
  if (Ne) {
4506
4506
  const [Ve, Xe] = Ne[1].split("=");
4507
4507
  Xe || G.forEach((Pe) => {
4508
- I.removeAttribute(Ve.replace(we, Pe));
4508
+ I.removeAttribute(Ve.replace(xe, Pe));
4509
4509
  }), I.setAttribute(Ve, Xe ? Xe.replace(/"|'/g, "") : "");
4510
4510
  } else
4511
- I.setAttribute(me, we);
4511
+ I.setAttribute(me, xe);
4512
4512
  }
4513
4513
  }
4514
- }, [we, Se, I, G]), P.useEffect(() => {
4514
+ }, [xe, we, I, G]), P.useEffect(() => {
4515
4515
  let ge;
4516
4516
  if (C && N.current && M) {
4517
4517
  const me = M.createElement("style");
@@ -4522,12 +4522,12 @@ function SC(e) {
4522
4522
  return () => {
4523
4523
  clearTimeout(ge);
4524
4524
  };
4525
- }, [we, C, M]), P.useEffect(() => (N.current = !0, () => {
4525
+ }, [xe, C, M]), P.useEffect(() => (N.current = !0, () => {
4526
4526
  N.current = !1;
4527
4527
  }), []);
4528
4528
  const ne = P.useMemo(() => ({
4529
4529
  allColorSchemes: G,
4530
- colorScheme: we,
4530
+ colorScheme: xe,
4531
4531
  darkColorScheme: te,
4532
4532
  lightColorScheme: Z,
4533
4533
  mode: ke,
@@ -4537,7 +4537,7 @@ function SC(e) {
4537
4537
  `)), L(ge);
4538
4538
  },
4539
4539
  systemMode: pe
4540
- }), [G, we, te, Z, ke, Re, L, pe, Me.colorSchemeSelector]);
4540
+ }), [G, xe, te, Z, ke, Re, L, pe, Me.colorSchemeSelector]);
4541
4541
  let ie = !0;
4542
4542
  (E || W.cssVariables === !1 || z && _?.cssVarPrefix === K) && (ie = !1);
4543
4543
  const Oe = /* @__PURE__ */ p.jsxs(P.Fragment, {
@@ -7903,33 +7903,33 @@ const pk = Le("MuiButtonBase", ["root", "disabled", "focusVisible"]), hk = (e) =
7903
7903
  P.useEffect(() => {
7904
7904
  j && h && !u && z.pulsate();
7905
7905
  }, [u, h, j, z]);
7906
- const q = Mr(z, "start", k, f), K = Mr(z, "stop", v, f), U = Mr(z, "stop", T, f), G = Mr(z, "stop", M, f), le = Mr(z, "stop", (Se) => {
7907
- j && Se.preventDefault(), R && R(Se);
7908
- }, f), ae = Mr(z, "start", E, f), F = Mr(z, "stop", I, f), Q = Mr(z, "stop", $, f), L = Mr(z, "stop", (Se) => {
7909
- ml(Se.target) || W(!1), y && y(Se);
7910
- }, !1), pe = _n((Se) => {
7911
- H.current || (H.current = Se.currentTarget), ml(Se.target) && (W(!0), S && S(Se)), w && w(Se);
7906
+ const q = Mr(z, "start", k, f), K = Mr(z, "stop", v, f), U = Mr(z, "stop", T, f), G = Mr(z, "stop", M, f), le = Mr(z, "stop", (we) => {
7907
+ j && we.preventDefault(), R && R(we);
7908
+ }, f), ae = Mr(z, "start", E, f), F = Mr(z, "stop", I, f), Q = Mr(z, "stop", $, f), L = Mr(z, "stop", (we) => {
7909
+ ml(we.target) || W(!1), y && y(we);
7910
+ }, !1), pe = _n((we) => {
7911
+ H.current || (H.current = we.currentTarget), ml(we.target) && (W(!0), S && S(we)), w && w(we);
7912
7912
  }), Z = () => {
7913
- const Se = H.current;
7914
- return c && c !== "button" && !(Se.tagName === "A" && Se.href);
7915
- }, te = _n((Se) => {
7916
- h && !Se.repeat && j && Se.key === " " && z.stop(Se, () => {
7917
- z.start(Se);
7918
- }), Se.target === Se.currentTarget && Z() && Se.key === " " && Se.preventDefault(), x && x(Se), Se.target === Se.currentTarget && Z() && Se.key === "Enter" && !d && (Se.preventDefault(), b && b(Se));
7919
- }), Ce = _n((Se) => {
7920
- h && Se.key === " " && j && !Se.defaultPrevented && z.stop(Se, () => {
7921
- z.pulsate(Se);
7922
- }), C && C(Se), b && Se.target === Se.currentTarget && Z() && Se.key === " " && !Se.defaultPrevented && b(Se);
7913
+ const we = H.current;
7914
+ return c && c !== "button" && !(we.tagName === "A" && we.href);
7915
+ }, te = _n((we) => {
7916
+ h && !we.repeat && j && we.key === " " && z.stop(we, () => {
7917
+ z.start(we);
7918
+ }), we.target === we.currentTarget && Z() && we.key === " " && we.preventDefault(), x && x(we), we.target === we.currentTarget && Z() && we.key === "Enter" && !d && (we.preventDefault(), b && b(we));
7919
+ }), Ce = _n((we) => {
7920
+ h && we.key === " " && j && !we.defaultPrevented && z.stop(we, () => {
7921
+ z.pulsate(we);
7922
+ }), C && C(we), b && we.target === we.currentTarget && Z() && we.key === " " && !we.defaultPrevented && b(we);
7923
7923
  });
7924
7924
  let Re = c;
7925
7925
  Re === "button" && (_.href || _.to) && (Re = g);
7926
7926
  const ke = {};
7927
7927
  if (Re === "button") {
7928
- const Se = !!_.formAction;
7929
- ke.type = N === void 0 && !Se ? "button" : N, ke.disabled = d;
7928
+ const we = !!_.formAction;
7929
+ ke.type = N === void 0 && !we ? "button" : N, ke.disabled = d;
7930
7930
  } else
7931
7931
  !_.href && !_.to && (ke.role = "button"), d && (ke["aria-disabled"] = d);
7932
- const we = Jt(n, H), We = {
7932
+ const xe = Jt(n, H), We = {
7933
7933
  ...r,
7934
7934
  centerRipple: s,
7935
7935
  component: c,
@@ -7957,7 +7957,7 @@ const pk = Le("MuiButtonBase", ["root", "disabled", "focusVisible"]), hk = (e) =
7957
7957
  onTouchEnd: F,
7958
7958
  onTouchMove: Q,
7959
7959
  onTouchStart: ae,
7960
- ref: we,
7960
+ ref: xe,
7961
7961
  tabIndex: d ? -1 : D,
7962
7962
  type: N,
7963
7963
  ...ke,
@@ -9647,7 +9647,7 @@ function RE(e) {
9647
9647
  C[S] = Ce, E[S] = Ce - _;
9648
9648
  }
9649
9649
  if (l) {
9650
- var Re, ke = S === "x" ? gn : yn, we = S === "x" ? zn : Hn, We = C[x], Me = x === "y" ? "height" : "width", Se = We + b[ke], ne = We - b[we], ie = [gn, yn].indexOf(v) !== -1, Oe = (Re = $?.[x]) != null ? Re : 0, ge = ie ? Se : We - k[Me] - R[Me] - Oe + I.altAxis, me = ie ? We + k[Me] + R[Me] - Oe - I.altAxis : ne, Ne = m && ie ? Jk(ge, We, me) : si(m ? ge : Se, We, m ? me : ne);
9650
+ var Re, ke = S === "x" ? gn : yn, xe = S === "x" ? zn : Hn, We = C[x], Me = x === "y" ? "height" : "width", we = We + b[ke], ne = We - b[xe], ie = [gn, yn].indexOf(v) !== -1, Oe = (Re = $?.[x]) != null ? Re : 0, ge = ie ? we : We - k[Me] - R[Me] - Oe + I.altAxis, me = ie ? We + k[Me] + R[Me] - Oe - I.altAxis : ne, Ne = m && ie ? Jk(ge, We, me) : si(m ? ge : we, We, m ? me : ne);
9651
9651
  C[x] = Ne, E[x] = Ne - We;
9652
9652
  }
9653
9653
  t.modifiersData[r] = E;
@@ -11421,7 +11421,7 @@ const oc = (e, t) => {
11421
11421
  value: G
11422
11422
  });
11423
11423
  }, [G, ke, le]);
11424
- const we = (Pe) => {
11424
+ const xe = (Pe) => {
11425
11425
  D && D(Pe), w.onFocus && w.onFocus(Pe), Z && Z.onFocus ? Z.onFocus(Pe) : pe(!0);
11426
11426
  }, We = (Pe) => {
11427
11427
  I && I(Pe), w.onBlur && w.onBlur(Pe), Z && Z.onBlur ? Z.onBlur(Pe) : pe(!1);
@@ -11439,7 +11439,7 @@ const oc = (e, t) => {
11439
11439
  P.useEffect(() => {
11440
11440
  ke(ae.current);
11441
11441
  }, []);
11442
- const Se = (Pe) => {
11442
+ const we = (Pe) => {
11443
11443
  ae.current && Pe.currentTarget === Pe.target && ae.current.focus(), E && E(Pe);
11444
11444
  };
11445
11445
  let ne = T, ie = w;
@@ -11486,7 +11486,7 @@ const oc = (e, t) => {
11486
11486
  (tm || (tm = /* @__PURE__ */ p.jsx(nm, {}))), /* @__PURE__ */ p.jsxs(Ne, {
11487
11487
  ...Ve,
11488
11488
  ref: n,
11489
- onClick: Se,
11489
+ onClick: we,
11490
11490
  ...U,
11491
11491
  ...!hl(Ne) && {
11492
11492
  ownerState: {
@@ -11527,7 +11527,7 @@ const oc = (e, t) => {
11527
11527
  className: be(me.input, ie.className, _ && "MuiInputBase-readOnly"),
11528
11528
  onBlur: We,
11529
11529
  onChange: Me,
11530
- onFocus: we
11530
+ onFocus: xe
11531
11531
  })
11532
11532
  }), g, H ? H({
11533
11533
  ...te,
@@ -18227,15 +18227,15 @@ const s5 = (e) => {
18227
18227
  };
18228
18228
  const pe = $();
18229
18229
  let Z = pe.top - L.vertical, te = pe.left - L.horizontal;
18230
- const Ce = Z + Q.height, Re = te + Q.width, ke = er(Js(s)), we = ke.innerHeight - m, We = ke.innerWidth - m;
18230
+ const Ce = Z + Q.height, Re = te + Q.width, ke = er(Js(s)), xe = ke.innerHeight - m, We = ke.innerWidth - m;
18231
18231
  if (m !== null && Z < m) {
18232
18232
  const Me = Z - m;
18233
18233
  Z -= Me, L.vertical += Me;
18234
- } else if (m !== null && Ce > we) {
18235
- const Me = Ce - we;
18234
+ } else if (m !== null && Ce > xe) {
18235
+ const Me = Ce - xe;
18236
18236
  Z -= Me, L.vertical += Me;
18237
18237
  }
18238
- if (process.env.NODE_ENV !== "production" && Q.height > we && Q.height && we && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${Q.height - we}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
18238
+ if (process.env.NODE_ENV !== "production" && Q.height > xe && Q.height && xe && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${Q.height - xe}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
18239
18239
  `)), m !== null && te < m) {
18240
18240
  const Me = te - m;
18241
18241
  te -= Me, L.horizontal += Me;
@@ -20528,8 +20528,8 @@ const z5 = (e) => {
20528
20528
  M?.(ye), ye.button === 0 && (ye.preventDefault(), U.current.focus(), Ce(!0, ye));
20529
20529
  }, ke = (ye) => {
20530
20530
  Ce(!1, ye);
20531
- }, we = P.Children.toArray(l), We = (ye) => {
20532
- const he = we.find(($e) => $e.props.value === ye.target.value);
20531
+ }, xe = P.Children.toArray(l), We = (ye) => {
20532
+ const he = xe.find(($e) => $e.props.value === ye.target.value);
20533
20533
  he !== void 0 && (W(he.props.value), x && x(ye, he));
20534
20534
  }, Me = (ye) => (he) => {
20535
20535
  let $e;
@@ -20552,7 +20552,7 @@ const z5 = (e) => {
20552
20552
  }
20553
20553
  T || Ce(!1, he);
20554
20554
  }
20555
- }, Se = (ye) => {
20555
+ }, we = (ye) => {
20556
20556
  E || ([
20557
20557
  " ",
20558
20558
  "ArrowUp",
@@ -20577,7 +20577,7 @@ const z5 = (e) => {
20577
20577
  (vl({
20578
20578
  value: j
20579
20579
  }) || h) && (D ? ie = D(j) : me = !0);
20580
- const Ve = we.map((ye) => {
20580
+ const Ve = xe.map((ye) => {
20581
20581
  if (!/* @__PURE__ */ P.isValidElement(ye))
20582
20582
  return null;
20583
20583
  process.env.NODE_ENV !== "production" && Nr.isFragment(ye) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
@@ -20605,11 +20605,11 @@ const z5 = (e) => {
20605
20605
  });
20606
20606
  process.env.NODE_ENV !== "production" && P.useEffect(() => {
20607
20607
  if (!Ne && !T && j !== "") {
20608
- const ye = we.map((he) => he.props.value);
20608
+ const ye = xe.map((he) => he.props.value);
20609
20609
  console.warn([`MUI: You have provided an out-of-range value \`${j}\` for the select ${w ? `(name="${w}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${ye.filter((he) => he != null).map((he) => `\`${he}\``).join(", ") || '""'}.`].join(`
20610
20610
  `));
20611
20611
  }
20612
- }, [Ne, we, T, w, j]), me && (T ? ge.length === 0 ? ie = null : ie = ge.reduce((ye, he, $e) => (ye.push(he), $e < ge.length - 1 && ye.push(", "), ye), []) : ie = Oe);
20612
+ }, [Ne, xe, T, w, j]), me && (T ? ge.length === 0 ? ie = null : ie = ge.reduce((ye, he, $e) => (ye.push(he), $e < ge.length - 1 && ye.push(", "), ye), []) : ie = Oe);
20613
20613
  let Xe = F;
20614
20614
  !a && ae && G && (Xe = Z.clientWidth);
20615
20615
  let Pe;
@@ -20642,7 +20642,7 @@ const z5 = (e) => {
20642
20642
  "aria-describedby": r,
20643
20643
  "aria-required": O ? "true" : void 0,
20644
20644
  "aria-invalid": m ? "true" : void 0,
20645
- onKeyDown: Se,
20645
+ onKeyDown: we,
20646
20646
  onMouseDown: f || E ? null : Re,
20647
20647
  onBlur: ne,
20648
20648
  onFocus: k,
@@ -21714,13 +21714,13 @@ const Qi = /* @__PURE__ */ P.forwardRef(function(t, n) {
21714
21714
  q.current && ze.type !== "touchstart" || (B && B.removeAttribute("title"), G.clear(), le.clear(), g || Ra && y ? G.start(Ra ? y : g, () => {
21715
21715
  Ce(ze);
21716
21716
  }) : Ce(ze));
21717
- }, we = (ze) => {
21717
+ }, xe = (ze) => {
21718
21718
  G.clear(), le.start(w, () => {
21719
21719
  Re(ze);
21720
21720
  });
21721
21721
  }, [, We] = P.useState(!1), Me = (ze) => {
21722
- ml(ze.target) || (We(!1), we(ze));
21723
- }, Se = (ze) => {
21722
+ ml(ze.target) || (We(!1), xe(ze));
21723
+ }, we = (ze) => {
21724
21724
  B || j(ze.currentTarget), ml(ze.target) && (We(!0), ke(ze));
21725
21725
  }, ne = (ze) => {
21726
21726
  q.current = !0;
@@ -21771,7 +21771,7 @@ const Qi = /* @__PURE__ */ P.forwardRef(function(t, n) {
21771
21771
  `));
21772
21772
  }, [B]));
21773
21773
  const Rt = {};
21774
- m || (Pe.onTouchStart = ie, Pe.onTouchEnd = Oe), f || (Pe.onMouseOver = Ma(ke, Pe.onMouseOver), Pe.onMouseLeave = Ma(we, Pe.onMouseLeave), K || (Rt.onMouseOver = ke, Rt.onMouseLeave = we)), u || (Pe.onFocus = Ma(Se, Pe.onFocus), Pe.onBlur = Ma(Me, Pe.onBlur), K || (Rt.onFocus = Se, Rt.onBlur = Me)), process.env.NODE_ENV !== "production" && _.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${_.props.title}\` or the Tooltip component.`].join(`
21774
+ m || (Pe.onTouchStart = ie, Pe.onTouchEnd = Oe), f || (Pe.onMouseOver = Ma(ke, Pe.onMouseOver), Pe.onMouseLeave = Ma(xe, Pe.onMouseLeave), K || (Rt.onMouseOver = ke, Rt.onMouseLeave = xe)), u || (Pe.onFocus = Ma(we, Pe.onFocus), Pe.onBlur = Ma(Me, Pe.onBlur), K || (Rt.onFocus = we, Rt.onBlur = Me)), process.env.NODE_ENV !== "production" && _.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${_.props.title}\` or the Tooltip component.`].join(`
21775
21775
  `));
21776
21776
  const dt = {
21777
21777
  ...r,
@@ -23939,7 +23939,7 @@ const Xb = /* @__PURE__ */ P.forwardRef(function(t, n) {
23939
23939
  const [q, K] = P.useState(!1), [U, G] = P.useState(Om), [le, ae] = P.useState(!1), [F, Q] = P.useState(!1), [L, pe] = P.useState(!1), [Z, te] = P.useState({
23940
23940
  overflow: "hidden",
23941
23941
  scrollbarWidth: 0
23942
- }), Ce = /* @__PURE__ */ new Map(), Re = P.useRef(null), ke = P.useRef(null), we = {
23942
+ }), Ce = /* @__PURE__ */ new Map(), Re = P.useRef(null), ke = P.useRef(null), xe = {
23943
23943
  slots: S,
23944
23944
  slotProps: {
23945
23945
  indicator: C,
@@ -23995,7 +23995,7 @@ const Xb = /* @__PURE__ */ P.forwardRef(function(t, n) {
23995
23995
  const qt = Math.abs(U[ct] - Dt[ct]), In = Math.abs(U[z] - Dt[z]);
23996
23996
  (qt >= 1 || In >= 1) && G(Dt);
23997
23997
  }
23998
- }), Se = (ve, {
23998
+ }), we = (ve, {
23999
23999
  animation: Ie = !0
24000
24000
  } = {}) => {
24001
24001
  Ie ? BR(A, Re.current, ve, {
@@ -24003,7 +24003,7 @@ const Xb = /* @__PURE__ */ P.forwardRef(function(t, n) {
24003
24003
  }) : Re.current[A] = ve;
24004
24004
  }, ne = (ve) => {
24005
24005
  let Ie = Re.current[A];
24006
- O ? Ie += ve : Ie += ve * (s ? -1 : 1), Se(Ie);
24006
+ O ? Ie += ve : Ie += ve * (s ? -1 : 1), we(Ie);
24007
24007
  }, ie = () => {
24008
24008
  const ve = Re.current[H];
24009
24009
  let Ie = 0;
@@ -24028,7 +24028,7 @@ const Xb = /* @__PURE__ */ P.forwardRef(function(t, n) {
24028
24028
  className: be(j.scrollableX, j.hideScrollbar),
24029
24029
  elementType: KR,
24030
24030
  shouldForwardComponentProp: !0,
24031
- externalForwardedProps: we,
24031
+ externalForwardedProps: xe,
24032
24032
  ownerState: B
24033
24033
  }), Xe = P.useCallback((ve) => {
24034
24034
  Ne?.(ve), te({
@@ -24038,7 +24038,7 @@ const Xb = /* @__PURE__ */ P.forwardRef(function(t, n) {
24038
24038
  }, [Ne]), [Pe, Rt] = et("scrollButtons", {
24039
24039
  className: be(j.scrollButtons, k.className),
24040
24040
  elementType: Kb,
24041
- externalForwardedProps: we,
24041
+ externalForwardedProps: xe,
24042
24042
  ownerState: B,
24043
24043
  additionalProps: {
24044
24044
  orientation: b,
@@ -24077,12 +24077,12 @@ const Xb = /* @__PURE__ */ P.forwardRef(function(t, n) {
24077
24077
  if (!(!st || !Ie)) {
24078
24078
  if (st[N] < Ie[N]) {
24079
24079
  const ct = Ie[A] + (st[N] - Ie[N]);
24080
- Se(ct, {
24080
+ we(ct, {
24081
24081
  animation: ve
24082
24082
  });
24083
24083
  } else if (st[_] > Ie[_]) {
24084
24084
  const ct = Ie[A] + (st[_] - Ie[_]);
24085
- Se(ct, {
24085
+ we(ct, {
24086
24086
  animation: ve
24087
24087
  });
24088
24088
  }
@@ -24143,7 +24143,7 @@ const Xb = /* @__PURE__ */ P.forwardRef(function(t, n) {
24143
24143
  const [qn, jn] = et("indicator", {
24144
24144
  className: be(j.indicator, C.className),
24145
24145
  elementType: GR,
24146
- externalForwardedProps: we,
24146
+ externalForwardedProps: xe,
24147
24147
  ownerState: B,
24148
24148
  additionalProps: {
24149
24149
  style: U
@@ -24198,7 +24198,7 @@ const Xb = /* @__PURE__ */ P.forwardRef(function(t, n) {
24198
24198
  className: be(j.root, f),
24199
24199
  elementType: UR,
24200
24200
  externalForwardedProps: {
24201
- ...we,
24201
+ ...xe,
24202
24202
  ...E,
24203
24203
  component: h
24204
24204
  },
@@ -24207,7 +24207,7 @@ const Xb = /* @__PURE__ */ P.forwardRef(function(t, n) {
24207
24207
  ref: Re,
24208
24208
  className: j.scroller,
24209
24209
  elementType: YR,
24210
- externalForwardedProps: we,
24210
+ externalForwardedProps: xe,
24211
24211
  ownerState: B,
24212
24212
  additionalProps: {
24213
24213
  style: {
@@ -24219,7 +24219,7 @@ const Xb = /* @__PURE__ */ P.forwardRef(function(t, n) {
24219
24219
  ref: ke,
24220
24220
  className: be(j.list, j.flexContainer),
24221
24221
  elementType: qR,
24222
- externalForwardedProps: we,
24222
+ externalForwardedProps: xe,
24223
24223
  ownerState: B,
24224
24224
  getSlotProps: (ve) => ({
24225
24225
  ...ve,
@@ -24518,7 +24518,7 @@ const ZR = {
24518
24518
  elementType: Pb,
24519
24519
  externalForwardedProps: ae,
24520
24520
  ownerState: V
24521
- }), [ke, we] = et("htmlInput", {
24521
+ }), [ke, xe] = et("htmlInput", {
24522
24522
  elementType: "input",
24523
24523
  externalForwardedProps: ae,
24524
24524
  ownerState: V
@@ -24526,7 +24526,7 @@ const ZR = {
24526
24526
  elementType: Rb,
24527
24527
  externalForwardedProps: ae,
24528
24528
  ownerState: V
24529
- }), [Se, ne] = et("select", {
24529
+ }), [we, ne] = et("select", {
24530
24530
  elementType: xf,
24531
24531
  externalForwardedProps: ae,
24532
24532
  ownerState: V
@@ -24549,7 +24549,7 @@ const ZR = {
24549
24549
  onChange: I,
24550
24550
  onFocus: $,
24551
24551
  placeholder: E,
24552
- inputProps: we,
24552
+ inputProps: xe,
24553
24553
  slots: {
24554
24554
  input: _.htmlInput ? ke : void 0
24555
24555
  },
@@ -24562,7 +24562,7 @@ const ZR = {
24562
24562
  id: G,
24563
24563
  ...Re,
24564
24564
  children: S
24565
- }), A ? /* @__PURE__ */ p.jsx(Se, {
24565
+ }), A ? /* @__PURE__ */ p.jsx(we, {
24566
24566
  "aria-describedby": U,
24567
24567
  id: K,
24568
24568
  labelId: G,
@@ -30559,9 +30559,9 @@ const B6 = ee(Ef)(({ theme: e }) => ({
30559
30559
  async function H6(e) {
30560
30560
  switch (e.split("-")[0]) {
30561
30561
  case "tr":
30562
- return (await import("./tr-C1vErcaF.js")).tr;
30562
+ return (await import("./tr-BlJ7z3p-.js")).tr;
30563
30563
  case "nl":
30564
- return (await import("./nl-CYorEk42.js")).nl;
30564
+ return (await import("./nl-BNRj7uS3.js")).nl;
30565
30565
  default:
30566
30566
  return (await Promise.resolve().then(() => YA)).enUS;
30567
30567
  }
@@ -33973,7 +33973,7 @@ function G9(e) {
33973
33973
  t.classNames
33974
33974
  ]);
33975
33975
  t.today || (t = { ...t, today: a.today() });
33976
- const { captionLayout: d, mode: u, navLayout: f, numberOfMonths: h = 1, onDayBlur: m, onDayClick: g, onDayFocus: y, onDayKeyDown: b, onDayMouseEnter: v, onDayMouseLeave: T, onNextClick: w, onPrevClick: S, showWeekNumber: x, styles: C } = t, { formatCaption: k, formatDay: R, formatMonthDropdown: M, formatWeekNumber: I, formatWeekNumberHeader: $, formatWeekdayName: E, formatYearDropdown: D } = o, O = B9(t, a), { days: A, months: N, navStart: _, navEnd: H, previousMonth: z, nextMonth: B, goToMonth: j } = O, W = t9(A, t, _, H, a), { isSelected: V, select: q, selected: K } = q9(t, a) ?? {}, { blur: U, focused: G, isFocusTarget: le, moveFocus: ae, setFocused: F } = F9(t, O, W, V ?? (() => !1), a), { labelDayButton: Q, labelGridcell: L, labelGrid: pe, labelMonthDropdown: Z, labelNav: te, labelPrevious: Ce, labelNext: Re, labelWeekday: ke, labelWeekNumber: we, labelWeekNumberHeader: We, labelYearDropdown: Me } = s, Se = De(() => S9(a, t.ISOWeek, t.broadcastCalendar, t.today), [a, t.ISOWeek, t.broadcastCalendar, t.today]), ne = u !== void 0 || g !== void 0, ie = Ee(() => {
33976
+ const { captionLayout: d, mode: u, navLayout: f, numberOfMonths: h = 1, onDayBlur: m, onDayClick: g, onDayFocus: y, onDayKeyDown: b, onDayMouseEnter: v, onDayMouseLeave: T, onNextClick: w, onPrevClick: S, showWeekNumber: x, styles: C } = t, { formatCaption: k, formatDay: R, formatMonthDropdown: M, formatWeekNumber: I, formatWeekNumberHeader: $, formatWeekdayName: E, formatYearDropdown: D } = o, O = B9(t, a), { days: A, months: N, navStart: _, navEnd: H, previousMonth: z, nextMonth: B, goToMonth: j } = O, W = t9(A, t, _, H, a), { isSelected: V, select: q, selected: K } = q9(t, a) ?? {}, { blur: U, focused: G, isFocusTarget: le, moveFocus: ae, setFocused: F } = F9(t, O, W, V ?? (() => !1), a), { labelDayButton: Q, labelGridcell: L, labelGrid: pe, labelMonthDropdown: Z, labelNav: te, labelPrevious: Ce, labelNext: Re, labelWeekday: ke, labelWeekNumber: xe, labelWeekNumberHeader: We, labelYearDropdown: Me } = s, we = De(() => S9(a, t.ISOWeek, t.broadcastCalendar, t.today), [a, t.ISOWeek, t.broadcastCalendar, t.today]), ne = u !== void 0 || g !== void 0, ie = Ee(() => {
33977
33977
  z && (j(z), S?.(z));
33978
33978
  }, [z, j, S]), Oe = Ee(() => {
33979
33979
  B && (j(B), w?.(B));
@@ -34101,12 +34101,12 @@ function G9(e) {
34101
34101
  r.Weekdays,
34102
34102
  { "data-animated-weekdays": t.animate ? "true" : void 0, className: c[Ae.Weekdays], style: C?.[Ae.Weekdays] },
34103
34103
  x && se.createElement(r.WeekNumberHeader, { "aria-label": We(a.options), className: c[Ae.WeekNumberHeader], style: C?.[Ae.WeekNumberHeader], scope: "col" }, $()),
34104
- Se.map((je) => se.createElement(r.Weekday, { "aria-label": ke(je, a.options, a), className: c[Ae.Weekday], key: String(je), style: C?.[Ae.Weekday], scope: "col" }, E(je, a.options, a)))
34104
+ we.map((je) => se.createElement(r.Weekday, { "aria-label": ke(je, a.options, a), className: c[Ae.Weekday], key: String(je), style: C?.[Ae.Weekday], scope: "col" }, E(je, a.options, a)))
34105
34105
  ),
34106
34106
  se.createElement(r.Weeks, { "data-animated-weeks": t.animate ? "true" : void 0, className: c[Ae.Weeks], style: C?.[Ae.Weeks] }, he.weeks.map((je) => se.createElement(
34107
34107
  r.Week,
34108
34108
  { className: c[Ae.Week], key: je.weekNumber, style: C?.[Ae.Week], week: je },
34109
- x && se.createElement(r.WeekNumber, { week: je, style: C?.[Ae.WeekNumber], "aria-label": we(je.weekNumber, {
34109
+ x && se.createElement(r.WeekNumber, { week: je, style: C?.[Ae.WeekNumber], "aria-label": xe(je.weekNumber, {
34110
34110
  locale: l
34111
34111
  }), className: c[Ae.WeekNumber], scope: "row", role: "rowheader" }, I(je.weekNumber, a)),
34112
34112
  je.days.map((rt) => {
@@ -34243,7 +34243,7 @@ const Q9 = ({
34243
34243
  }[te]
34244
34244
  }
34245
34245
  ), Q = (te) => {
34246
- const { options: Ce, value: Re } = te ?? {}, ke = Ce?.length !== 12, we = Ce?.find((Me) => Me?.value === Re)?.label, We = () => {
34246
+ const { options: Ce, value: Re } = te ?? {}, ke = Ce?.length !== 12, xe = Ce?.find((Me) => Me?.value === Re)?.label, We = () => {
34247
34247
  W("year");
34248
34248
  };
34249
34249
  return /* @__PURE__ */ p.jsxs(
@@ -34266,7 +34266,7 @@ const Q9 = ({
34266
34266
  fontSize: "1.7rem",
34267
34267
  fontWeight: "500"
34268
34268
  },
34269
- children: we
34269
+ children: xe
34270
34270
  }
34271
34271
  ),
34272
34272
  ke && /* @__PURE__ */ p.jsx(c0, { color: R.palette.primary.notifyIconColor })
@@ -34289,8 +34289,8 @@ const Q9 = ({
34289
34289
  height: T ?? "30rem",
34290
34290
  width: v ?? "30rem"
34291
34291
  },
34292
- children: J9.map((ke, we) => {
34293
- const We = new Date(Ce, we, 1), Me = m && We < new Date(m.getFullYear(), m.getMonth(), 1);
34292
+ children: J9.map((ke, xe) => {
34293
+ const We = new Date(Ce, xe, 1), Me = m && We < new Date(m.getFullYear(), m.getMonth(), 1);
34294
34294
  return /* @__PURE__ */ p.jsx(
34295
34295
  oe,
34296
34296
  {
@@ -34301,15 +34301,15 @@ const Q9 = ({
34301
34301
  cursor: Me ? "not-allowed" : "pointer",
34302
34302
  opacity: Me ? 0.5 : 1
34303
34303
  },
34304
- onClick: () => !Me && G(we),
34304
+ onClick: () => !Me && G(xe),
34305
34305
  children: /* @__PURE__ */ p.jsx(
34306
34306
  oe,
34307
34307
  {
34308
34308
  sx: {
34309
34309
  p: "0.8rem 1.2rem",
34310
34310
  borderRadius: "2rem",
34311
- bgcolor: we === Re && !Me && R.palette.brandColor.orange,
34312
- color: we === Re && !Me ? R.palette.brandColor.white : R.palette.primary.notifyActiveText,
34311
+ bgcolor: xe === Re && !Me && R.palette.brandColor.orange,
34312
+ color: xe === Re && !Me ? R.palette.brandColor.white : R.palette.primary.notifyActiveText,
34313
34313
  fontSize: "1.1rem"
34314
34314
  },
34315
34315
  children: k(ke)
@@ -34333,7 +34333,7 @@ const Q9 = ({
34333
34333
  width: v ?? "30rem"
34334
34334
  },
34335
34335
  children: C.map((ke) => {
34336
- const we = m && ke < m.getFullYear();
34336
+ const xe = m && ke < m.getFullYear();
34337
34337
  return /* @__PURE__ */ p.jsx(
34338
34338
  oe,
34339
34339
  {
@@ -34341,18 +34341,18 @@ const Q9 = ({
34341
34341
  display: "flex",
34342
34342
  justifyContent: "center",
34343
34343
  alignItems: "center",
34344
- cursor: we ? "not-allowed" : "pointer",
34345
- opacity: we ? 0.5 : 1
34344
+ cursor: xe ? "not-allowed" : "pointer",
34345
+ opacity: xe ? 0.5 : 1
34346
34346
  },
34347
- onClick: () => !we && le(ke),
34347
+ onClick: () => !xe && le(ke),
34348
34348
  children: /* @__PURE__ */ p.jsx(
34349
34349
  oe,
34350
34350
  {
34351
34351
  sx: {
34352
34352
  p: "0.8rem 1.2rem",
34353
34353
  borderRadius: "2rem",
34354
- bgcolor: ke === Ce && !we && R.palette.brandColor.orange,
34355
- color: ke === Ce && !we ? R.palette.brandColor.white : R.palette.primary.notifyActiveText,
34354
+ bgcolor: ke === Ce && !xe && R.palette.brandColor.orange,
34355
+ color: ke === Ce && !xe ? R.palette.brandColor.white : R.palette.primary.notifyActiveText,
34356
34356
  fontSize: "1.1rem"
34357
34357
  },
34358
34358
  children: ke
@@ -34378,8 +34378,8 @@ const Q9 = ({
34378
34378
  if (!V && !u) return;
34379
34379
  const Re = I.current?.querySelectorAll(
34380
34380
  'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
34381
- ), ke = Array.from(Re || []), we = ke[0], We = ke[ke.length - 1];
34382
- Ce.key === "Tab" && (Ce.shiftKey ? document.activeElement === we && (Ce.preventDefault(), We?.focus()) : document.activeElement === We && (Ce.preventDefault(), we?.focus())), Ce.key === "Escape" && U?.();
34381
+ ), ke = Array.from(Re || []), xe = ke[0], We = ke[ke.length - 1];
34382
+ Ce.key === "Tab" && (Ce.shiftKey ? document.activeElement === xe && (Ce.preventDefault(), We?.focus()) : document.activeElement === We && (Ce.preventDefault(), xe?.focus())), Ce.key === "Escape" && U?.();
34383
34383
  };
34384
34384
  return document.addEventListener("keydown", te), () => document.removeEventListener("keydown", te);
34385
34385
  }, [V, u, U]), /* @__PURE__ */ p.jsxs(oe, { ref: M, children: [
@@ -35773,10 +35773,16 @@ function CN({
35773
35773
  if (S === -1) return { ids: /* @__PURE__ */ new Set([b]), afterId: null };
35774
35774
  const x = w[S];
35775
35775
  let C = S, k = S;
35776
- for (let I = S - 1; I >= 0 && w[I].pinned === x.pinned; I--)
35776
+ for (let I = S - 1; I >= 0; I--) {
35777
+ const $ = w[I];
35778
+ if ($.pinned !== x.pinned || $.groupId !== x.groupId) break;
35777
35779
  C = I;
35778
- for (let I = S + 1; I < w.length && w[I].pinned === x.pinned; I++)
35780
+ }
35781
+ for (let I = S + 1; I < w.length; I++) {
35782
+ const $ = w[I];
35783
+ if ($.pinned !== x.pinned || $.groupId !== x.groupId) break;
35779
35784
  k = I;
35785
+ }
35780
35786
  const R = new Set(w.slice(C, k + 1).map((I) => I.id)), M = (T = (v = w[k + 1]) == null ? void 0 : v.id) != null ? T : null;
35781
35787
  return { ids: R, afterId: M };
35782
35788
  },
@@ -36358,7 +36364,6 @@ const La = Tr(function({
36358
36364
  "div",
36359
36365
  {
36360
36366
  className: [u.cell, o ? u.pinnedCell : void 0].filter(Boolean).join(" ") || void 0,
36361
- onClick: t.renderCell ? (x) => x.stopPropagation() : void 0,
36362
36367
  style: {
36363
36368
  ...r,
36364
36369
  position: "absolute",
@@ -36907,12 +36912,12 @@ function HN({
36907
36912
  if (x === "server") return t;
36908
36913
  const ce = pe.current;
36909
36914
  if (!q.columnId || !ce) return t;
36910
- const de = (re = ce.accessor) != null ? re : (xe) => {
36915
+ const de = (re = ce.accessor) != null ? re : (Se) => {
36911
36916
  var Ze;
36912
- return xe[(Ze = ce.field) != null ? Ze : ce.id];
36917
+ return Se[(Ze = ce.field) != null ? Ze : ce.id];
36913
36918
  };
36914
- return [...t].sort((xe, Ze) => {
36915
- const Fe = de(xe), Je = de(Ze);
36919
+ return [...t].sort((Se, Ze) => {
36920
+ const Fe = de(Se), Je = de(Ze);
36916
36921
  if (Fe == null) return 1;
36917
36922
  if (Je == null) return -1;
36918
36923
  const He = Fe < Je ? -1 : Fe > Je ? 1 : 0;
@@ -36921,12 +36926,12 @@ function HN({
36921
36926
  }, [t, x, q.columnId, q.direction]), te = fe("");
36922
36927
  Ke(() => {
36923
36928
  if (!T) return;
36924
- const re = H.orderedColumns.map((de, xe) => ({
36929
+ const re = H.orderedColumns.map((de, Se) => ({
36925
36930
  id: de.id,
36926
36931
  hidden: de.hidden,
36927
36932
  pinned: de.pinned,
36928
36933
  width: de.width,
36929
- order: xe
36934
+ order: Se
36930
36935
  })), ce = JSON.stringify(re);
36931
36936
  ce !== te.current && (te.current = ce, T(re));
36932
36937
  }, [H.orderedColumns, T]);
@@ -36934,15 +36939,15 @@ function HN({
36934
36939
  (re, ce) => {
36935
36940
  if (O.rowSelection) {
36936
36941
  const de = String(n ? n(re, ce) : ce);
36937
- Re((xe) => xe === de ? null : de);
36942
+ Re(de);
36938
36943
  }
36939
36944
  b?.(re, ce);
36940
36945
  },
36941
36946
  [O.rowSelection, n, b]
36942
- ), we = Ee(
36947
+ ), xe = Ee(
36943
36948
  (re, ce) => !Ce || !O.rowSelection ? !1 : String(n ? n(re, ce) : ce) === Ce,
36944
36949
  [Ce, O.rowSelection, n]
36945
- ), We = fe(null), Me = fe(0), Se = fe(0), [, ne] = Al((re) => re + 1, 0), ie = fe(0), Oe = fe(!1), ge = fe(null), me = fe(null), Ne = fe(null), Ve = fe(null), Xe = De(
36950
+ ), We = fe(null), Me = fe(0), we = fe(0), [, ne] = Al((re) => re + 1, 0), ie = fe(0), Oe = fe(!1), ge = fe(null), me = fe(null), Ne = fe(null), Ve = fe(null), Xe = De(
36946
36951
  () => wN(j),
36947
36952
  [j]
36948
36953
  ), Pe = De(
@@ -37014,22 +37019,22 @@ function HN({
37014
37019
  const re = We.current;
37015
37020
  if (!re) return;
37016
37021
  const ce = re.scrollTop, de = re.scrollLeft;
37017
- Se.current = ce, Me.current = de, rr(ce), Yt(de), Ie(de);
37018
- const xe = ve.current !== null;
37019
- me.current && (me.current.style.visibility = xe ? "visible" : "hidden", me.current.style.pointerEvents = xe ? "auto" : "none"), Oe.current = !0, ge.current && clearTimeout(ge.current), ge.current = setTimeout(() => {
37022
+ we.current = ce, Me.current = de, rr(ce), Yt(de), Ie(de);
37023
+ const Se = ve.current !== null;
37024
+ me.current && (me.current.style.visibility = Se ? "visible" : "hidden", me.current.style.pointerEvents = Se ? "auto" : "none"), Oe.current = !0, ge.current && clearTimeout(ge.current), ge.current = setTimeout(() => {
37020
37025
  Oe.current = !1, ne();
37021
37026
  }, 150), cancelAnimationFrame(ie.current), ie.current = requestAnimationFrame(ne);
37022
37027
  }, [rr, Yt, Ie, ne]);
37023
37028
  Ke(() => {
37024
- rr(Se.current), Yt(Me.current), Ie(Me.current);
37029
+ rr(we.current), Yt(Me.current), Ie(Me.current);
37025
37030
  }, [rr, Yt, Ie]), Ke(() => {
37026
37031
  const re = (Ze) => {
37027
37032
  Ze.preventDefault();
37028
37033
  const Fe = We.current;
37029
37034
  Fe && (Fe.scrollTop += Ze.deltaY, Fe.scrollLeft += Ze.deltaX);
37030
- }, ce = { passive: !1 }, de = Ne.current, xe = Ve.current;
37031
- return de?.addEventListener("wheel", re, ce), xe?.addEventListener("wheel", re, ce), () => {
37032
- de?.removeEventListener("wheel", re, ce), xe?.removeEventListener("wheel", re, ce);
37035
+ }, ce = { passive: !1 }, de = Ne.current, Se = Ve.current;
37036
+ return de?.addEventListener("wheel", re, ce), Se?.addEventListener("wheel", re, ce), () => {
37037
+ de?.removeEventListener("wheel", re, ce), Se?.removeEventListener("wheel", re, ce);
37033
37038
  };
37034
37039
  }, []), se.useLayoutEffect(() => {
37035
37040
  if (!me.current) return;
@@ -37048,7 +37053,7 @@ function HN({
37048
37053
  const Mp = fe((re) => 120);
37049
37054
  Mp.current = (re) => {
37050
37055
  var ce, de;
37051
- return (de = (ce = H.orderedColumns.find((xe) => xe.id === re)) == null ? void 0 : ce.width) != null ? de : 120;
37056
+ return (de = (ce = H.orderedColumns.find((Se) => Se.id === re)) == null ? void 0 : ce.width) != null ? de : 120;
37052
37057
  };
37053
37058
  const { startResize: Pp } = SN({
37054
37059
  onResize: (re, ce) => ae(re, ce),
@@ -37057,24 +37062,24 @@ function HN({
37057
37062
  }), ux = Ee(
37058
37063
  (re) => {
37059
37064
  var ce, de;
37060
- const xe = (ce = dt.current) == null ? void 0 : ce.getBoundingClientRect();
37061
- if (!xe) return null;
37065
+ const Se = (ce = dt.current) == null ? void 0 : ce.getBoundingClientRect();
37066
+ if (!Se) return null;
37062
37067
  const Ze = Me.current;
37063
37068
  let Fe = 0;
37064
37069
  for (const He of z) {
37065
37070
  if (He.id === re)
37066
- return { left: xe.left + Fe, right: xe.left + Fe + He.width };
37071
+ return { left: Se.left + Fe, right: Se.left + Fe + He.width };
37067
37072
  Fe += He.width;
37068
37073
  }
37069
37074
  const Je = j.findIndex((He) => He.id === re);
37070
37075
  if (Je !== -1) {
37071
37076
  const He = j[Je], Et = W + ((de = Xe[Je]) != null ? de : 0) - Ze;
37072
- return { left: xe.left + Et, right: xe.left + Et + He.width };
37077
+ return { left: Se.left + Et, right: Se.left + Et + He.width };
37073
37078
  }
37074
37079
  Fe = 0;
37075
37080
  for (const He of B) {
37076
37081
  if (He.id === re) {
37077
- const Et = xe.right - V;
37082
+ const Et = Se.right - V;
37078
37083
  return { left: Et + Fe, right: Et + Fe + He.width };
37079
37084
  }
37080
37085
  Fe += He.width;
@@ -37085,13 +37090,13 @@ function HN({
37085
37090
  ), As = CN({
37086
37091
  onMoveColumnBefore: (re, ce) => {
37087
37092
  if (F(re, ce), Ds.current) {
37088
- const xe = Pc.current.map((Ze) => Ze.id).filter((Ze) => Ze !== re);
37089
- xe.splice(xe.indexOf(ce), 0, re), Ds.current(xe);
37093
+ const Se = Pc.current.map((Ze) => Ze.id).filter((Ze) => Ze !== re);
37094
+ Se.splice(Se.indexOf(ce), 0, re), Ds.current(Se);
37090
37095
  }
37091
37096
  },
37092
37097
  onMoveColumnToEnd: (re) => {
37093
37098
  if (Q(re), Ds.current) {
37094
- const de = [...Pc.current.map((xe) => xe.id).filter((xe) => xe !== re), re];
37099
+ const de = [...Pc.current.map((Se) => Se.id).filter((Se) => Se !== re), re];
37095
37100
  Ds.current(de);
37096
37101
  }
37097
37102
  },
@@ -37116,19 +37121,19 @@ function HN({
37116
37121
  [H, As, Pp, O, A, N, _]
37117
37122
  ), Dp = Ee(
37118
37123
  (re, ce) => {
37119
- var de, xe, Ze, Fe, Je, He, Et, pt;
37120
- return we(re, ce) ? (Fe = (Ze = (de = N.rowSelected) == null ? void 0 : de.background) != null ? Ze : (xe = N.rowSelected) == null ? void 0 : xe.backgroundColor) != null ? Fe : "var(--vg-bg-row-selected)" : O.alternateRows && ce % 2 === 1 ? "var(--vg-bg-row-alt)" : (pt = (Et = (Je = N.row) == null ? void 0 : Je.background) != null ? Et : (He = N.row) == null ? void 0 : He.backgroundColor) != null ? pt : "var(--vg-bg)";
37124
+ var de, Se, Ze, Fe, Je, He, Et, pt;
37125
+ return xe(re, ce) ? (Fe = (Ze = (de = N.rowSelected) == null ? void 0 : de.background) != null ? Ze : (Se = N.rowSelected) == null ? void 0 : Se.backgroundColor) != null ? Fe : "var(--vg-bg-row-selected)" : O.alternateRows && ce % 2 === 1 ? "var(--vg-bg-row-alt)" : (pt = (Et = (Je = N.row) == null ? void 0 : Je.background) != null ? Et : (He = N.row) == null ? void 0 : He.backgroundColor) != null ? pt : "var(--vg-bg)";
37121
37126
  },
37122
- [we, O.alternateRows, N.rowSelected, N.row]
37127
+ [xe, O.alternateRows, N.rowSelected, N.row]
37123
37128
  ), hx = Ee(
37124
37129
  (re, ce) => {
37125
- var de, xe, Ze, Fe, Je, He, Et, pt, Pt, it;
37126
- return we(re, ce) ? (Fe = (Ze = (de = N.rowSelected) == null ? void 0 : de.background) != null ? Ze : (xe = N.rowSelected) == null ? void 0 : xe.backgroundColor) != null ? Fe : "var(--vg-bg-row-selected)" : O.alternateRows && ce % 2 === 1 ? "var(--vg-bg-row-alt)" : (it = (Pt = (Et = (Je = N.pinnedCell) == null ? void 0 : Je.background) != null ? Et : (He = N.pinnedCell) == null ? void 0 : He.backgroundColor) != null ? Pt : (pt = N.row) == null ? void 0 : pt.background) != null ? it : "var(--vg-bg-pinned)";
37130
+ var de, Se, Ze, Fe, Je, He, Et, pt, Pt, it;
37131
+ return xe(re, ce) ? (Fe = (Ze = (de = N.rowSelected) == null ? void 0 : de.background) != null ? Ze : (Se = N.rowSelected) == null ? void 0 : Se.backgroundColor) != null ? Fe : "var(--vg-bg-row-selected)" : O.alternateRows && ce % 2 === 1 ? "var(--vg-bg-row-alt)" : (it = (Pt = (Et = (Je = N.pinnedCell) == null ? void 0 : Je.background) != null ? Et : (He = N.pinnedCell) == null ? void 0 : He.backgroundColor) != null ? Pt : (pt = N.row) == null ? void 0 : pt.background) != null ? it : "var(--vg-bg-pinned)";
37127
37132
  },
37128
- [we, O.alternateRows, N.rowSelected, N.row, N.pinnedCell]
37133
+ [xe, O.alternateRows, N.rowSelected, N.row, N.pinnedCell]
37129
37134
  ), mx = () => {
37130
37135
  var re, ce;
37131
- const de = [], xe = /* @__PURE__ */ new Set();
37136
+ const de = [], Se = /* @__PURE__ */ new Set();
37132
37137
  for (let Ze = qt.startIndex; Ze <= qt.endIndex; Ze++) {
37133
37138
  const Fe = j[Ze];
37134
37139
  if (!Fe) continue;
@@ -37155,8 +37160,8 @@ function HN({
37155
37160
  continue;
37156
37161
  }
37157
37162
  const He = K.find((it) => it.children.some((Ft) => Ft.id === Fe.id));
37158
- if (!He || xe.has(He.id)) continue;
37159
- xe.add(He.id);
37163
+ if (!He || Se.has(He.id)) continue;
37164
+ Se.add(He.id);
37160
37165
  const Et = j.filter(
37161
37166
  (it) => He.children.some((Ft) => Ft.id === it.id)
37162
37167
  ), pt = Et.reduce((it, Ft) => it + Ft.width, 0), Pt = j.findIndex(
@@ -37183,13 +37188,13 @@ function HN({
37183
37188
  const re = [];
37184
37189
  let ce;
37185
37190
  const de = [];
37186
- for (let xe = qt.startIndex; xe <= qt.endIndex; xe++) {
37187
- const Ze = j[xe];
37188
- !Ze || Rp.has(Ze.id) || de.push(xe);
37191
+ for (let Se = qt.startIndex; Se <= qt.endIndex; Se++) {
37192
+ const Ze = j[Se];
37193
+ !Ze || Rp.has(Ze.id) || de.push(Se);
37189
37194
  }
37190
- return de.forEach((xe, Ze) => {
37195
+ return de.forEach((Se, Ze) => {
37191
37196
  var Fe;
37192
- const Je = j[xe];
37197
+ const Je = j[Se];
37193
37198
  if (!Je) return;
37194
37199
  const He = Je.groupId !== ce;
37195
37200
  ce = Je.groupId;
@@ -37203,7 +37208,7 @@ function HN({
37203
37208
  isLast: Et,
37204
37209
  style: {
37205
37210
  position: "absolute",
37206
- left: W + ((Fe = Xe[xe]) != null ? Fe : 0),
37211
+ left: W + ((Fe = Xe[Se]) != null ? Fe : 0),
37207
37212
  top: 0,
37208
37213
  width: Je.width,
37209
37214
  height: a,
@@ -37218,7 +37223,7 @@ function HN({
37218
37223
  const re = [], ce = [];
37219
37224
  for (let de = qt.startIndex; de <= qt.endIndex; de++)
37220
37225
  j[de] && ce.push(de);
37221
- return ce.forEach((de, xe) => {
37226
+ return ce.forEach((de, Se) => {
37222
37227
  var Ze;
37223
37228
  const Fe = j[de];
37224
37229
  Fe && re.push(
@@ -37226,8 +37231,8 @@ function HN({
37226
37231
  fo,
37227
37232
  {
37228
37233
  column: Fe,
37229
- isFirst: xe === 0,
37230
- isLast: xe === ce.length - 1,
37234
+ isFirst: Se === 0,
37235
+ isLast: Se === ce.length - 1,
37231
37236
  style: {
37232
37237
  position: "absolute",
37233
37238
  left: W + ((Ze = Xe[de]) != null ? Ze : 0),
@@ -37243,9 +37248,9 @@ function HN({
37243
37248
  }), re;
37244
37249
  }, bx = (re) => {
37245
37250
  var ce, de;
37246
- const xe = Z[re];
37247
- if (!xe) return null;
37248
- const Ze = ye + re * s, Fe = Dp(xe, re), Je = hx(xe, re), He = we(xe, re), Et = String(n ? n(xe, re) : re), pt = [];
37251
+ const Se = Z[re];
37252
+ if (!Se) return null;
37253
+ const Ze = ye + re * s, Fe = Dp(Se, re), Je = hx(Se, re), He = xe(Se, re), Et = String(n ? n(Se, re) : re), pt = [];
37249
37254
  for (let Wt = qt.startIndex; Wt <= qt.endIndex; Wt++) {
37250
37255
  const en = j[Wt];
37251
37256
  en && pt.push(
@@ -37253,7 +37258,7 @@ function HN({
37253
37258
  La,
37254
37259
  {
37255
37260
  column: en,
37256
- row: xe,
37261
+ row: Se,
37257
37262
  isScrolling: ma,
37258
37263
  loadingCell: m.loadingCell,
37259
37264
  style: {
@@ -37276,7 +37281,7 @@ function HN({
37276
37281
  La,
37277
37282
  {
37278
37283
  column: Wt,
37279
- row: xe,
37284
+ row: Se,
37280
37285
  pinned: !0,
37281
37286
  isScrolling: ma,
37282
37287
  loadingCell: m.loadingCell,
@@ -37299,7 +37304,7 @@ function HN({
37299
37304
  La,
37300
37305
  {
37301
37306
  column: Wt,
37302
- row: xe,
37307
+ row: Se,
37303
37308
  pinned: !0,
37304
37309
  isScrolling: ma,
37305
37310
  loadingCell: m.loadingCell,
@@ -37321,7 +37326,7 @@ function HN({
37321
37326
  role: "row",
37322
37327
  "aria-rowindex": re + 1,
37323
37328
  "aria-selected": He,
37324
- onClick: () => ke(xe, re),
37329
+ onClick: () => ke(Se, re),
37325
37330
  className: [_.row, He ? _.rowSelected : void 0].filter(Boolean).join(" ") || void 0,
37326
37331
  style: {
37327
37332
  position: "absolute",
@@ -37388,19 +37393,19 @@ function HN({
37388
37393
  }
37389
37394
  ),
37390
37395
  pt,
37391
- He && ((de = m.rowSelectionIndicator) == null ? void 0 : de.call(m, xe, re))
37396
+ He && ((de = m.rowSelectionIndicator) == null ? void 0 : de.call(m, Se, re))
37392
37397
  ]
37393
37398
  },
37394
37399
  Et
37395
37400
  );
37396
37401
  }, vx = () => {
37397
- var re, ce, de, xe, Ze;
37402
+ var re, ce, de, Se, Ze;
37398
37403
  if (!st) return null;
37399
37404
  const Fe = [];
37400
37405
  for (let Je = mn.startIndex; Je <= mn.endIndex; Je++) {
37401
37406
  const He = Z[Je];
37402
37407
  if (!He) continue;
37403
- const Et = String(n ? n(He, Je) : Je), pt = we(He, Je), Pt = pt ? (xe = (de = (re = N.rowSelected) == null ? void 0 : re.background) != null ? de : (ce = N.rowSelected) == null ? void 0 : ce.backgroundColor) != null ? xe : "var(--vg-bg-row-selected)" : "var(--vg-bg-frozen, var(--vg-bg-row-alt))";
37408
+ const Et = String(n ? n(He, Je) : Je), pt = xe(He, Je), Pt = pt ? (Se = (de = (re = N.rowSelected) == null ? void 0 : re.background) != null ? de : (ce = N.rowSelected) == null ? void 0 : ce.backgroundColor) != null ? Se : "var(--vg-bg-row-selected)" : "var(--vg-bg-frozen, var(--vg-bg-row-alt))";
37404
37409
  Fe.push(
37405
37410
  /* @__PURE__ */ p.jsxs(
37406
37411
  "div",
@@ -37454,7 +37459,7 @@ function HN({
37454
37459
  }
37455
37460
  return Fe;
37456
37461
  }, Ap = (re) => {
37457
- const ce = re === "left", de = ce ? z : B, xe = ce ? W : V, Ze = ce && cn !== null, Fe = Ze ? xe + Or : xe;
37462
+ const ce = re === "left", de = ce ? z : B, Se = ce ? W : V, Ze = ce && cn !== null, Fe = Ze ? Se + Or : Se;
37458
37463
  if (!de.length && !Ze) return null;
37459
37464
  const Je = [];
37460
37465
  let He = 0;
@@ -37895,8 +37900,8 @@ function HN({
37895
37900
  var re;
37896
37901
  const { draggingId: ce } = As.dragState, de = G.find((Fe) => Fe.id === ce);
37897
37902
  if (!de) return null;
37898
- const xe = (re = dt.current) == null ? void 0 : re.getBoundingClientRect();
37899
- if (!xe) return null;
37903
+ const Se = (re = dt.current) == null ? void 0 : re.getBoundingClientRect();
37904
+ if (!Se) return null;
37900
37905
  const Ze = de.align === "center" ? "center" : de.align === "right" ? "flex-end" : "flex-start";
37901
37906
  return /* @__PURE__ */ p.jsx(p.Fragment, { children: /* @__PURE__ */ p.jsxs(
37902
37907
  "div",
@@ -37904,9 +37909,9 @@ function HN({
37904
37909
  ref: As.registerGhost,
37905
37910
  style: {
37906
37911
  position: "fixed",
37907
- top: xe.top,
37912
+ top: Se.top,
37908
37913
  width: de.width,
37909
- height: xe.height,
37914
+ height: Se.height,
37910
37915
  zIndex: 9999,
37911
37916
  pointerEvents: "none",
37912
37917
  boxShadow: "0 6px 24px rgba(0,0,0,0.20)",
@@ -42823,7 +42828,7 @@ function ox({
42823
42828
  }
42824
42829
  )
42825
42830
  ] }, `row-${ge}`);
42826
- }), we = () => {
42831
+ }), xe = () => {
42827
42832
  const ne = k.current;
42828
42833
  if (!ne) return;
42829
42834
  const ie = ne.scrollTop, Oe = ne.clientHeight, ge = Math.floor(ie / R) - M, me = Math.ceil(Oe / R) + 2 * M, Ne = Math.max(0, Math.min(I - 1, ge)), Ve = Math.max(Ne, Math.min(I, Ne + me));
@@ -42833,15 +42838,15 @@ function ox({
42833
42838
  let ne;
42834
42839
  const ie = () => {
42835
42840
  ne && cancelAnimationFrame(ne), ne = requestAnimationFrame(() => {
42836
- we();
42841
+ xe();
42837
42842
  });
42838
42843
  }, Oe = k.current;
42839
42844
  if (!(!Oe || !d))
42840
- return we(), Oe.addEventListener("scroll", ie), () => {
42845
+ return xe(), Oe.addEventListener("scroll", ie), () => {
42841
42846
  cancelAnimationFrame(ne), Oe.removeEventListener("scroll", ie);
42842
42847
  };
42843
42848
  }, [I]);
42844
- const We = $.start * R, Me = (I - $.end) * R, Se = d ? n?.slice($.start, $.end) : n;
42849
+ const We = $.start * R, Me = (I - $.end) * R, we = d ? n?.slice($.start, $.end) : n;
42845
42850
  return x ? /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
42846
42851
  /* @__PURE__ */ p.jsx(
42847
42852
  Tf,
@@ -42918,7 +42923,7 @@ function ox({
42918
42923
  ] }),
42919
42924
  /* @__PURE__ */ p.jsxs(Cf, { children: [
42920
42925
  d && /* @__PURE__ */ p.jsx("tr", { style: { height: We } }),
42921
- ke(Se),
42926
+ ke(we),
42922
42927
  d && /* @__PURE__ */ p.jsx("tr", { style: { height: Me } })
42923
42928
  ] })
42924
42929
  ]
@@ -43826,14 +43831,14 @@ function wB({
43826
43831
  }), Re = De(
43827
43832
  () => K.slice(pe, Z),
43828
43833
  [K, pe, Z]
43829
- ), ke = n?.slice(G, le), [we, We] = ue(0);
43834
+ ), ke = n?.slice(G, le), [xe, We] = ue(0);
43830
43835
  Ke(() => {
43831
43836
  const ge = x.current;
43832
43837
  if (!ge) return;
43833
43838
  const me = new ResizeObserver(() => We(ge.offsetHeight));
43834
43839
  return me.observe(ge), () => me.disconnect();
43835
43840
  }, []);
43836
- const Me = K2(s?.column?.definitions || []), Se = s?.isNested, ne = s?.data || [], ie = s?.hashKey, Oe = Ee(
43841
+ const Me = K2(s?.column?.definitions || []), we = s?.isNested, ne = s?.data || [], ie = s?.hashKey, Oe = Ee(
43837
43842
  (ge) => {
43838
43843
  C.current = ge, Ce(ge);
43839
43844
  },
@@ -43872,7 +43877,7 @@ function wB({
43872
43877
  virtualisedColumns: Re,
43873
43878
  isManageable: w,
43874
43879
  isResizable: S,
43875
- tableHeight: we,
43880
+ tableHeight: xe,
43876
43881
  sort: t,
43877
43882
  handleMenuClick: y,
43878
43883
  getStickyLeft: D,
@@ -43903,7 +43908,7 @@ function wB({
43903
43908
  topSpacerHeight: ae,
43904
43909
  bottomSpacerHeight: F,
43905
43910
  selectedRow: e?.selectedRow,
43906
- isNested: Se,
43911
+ isNested: we,
43907
43912
  nestedRow: ne,
43908
43913
  nestedColumn: Me,
43909
43914
  hashKey: ie,
@@ -44986,4 +44991,4 @@ export {
44986
44991
  BB as t,
44987
44992
  dL as u
44988
44993
  };
44989
- //# sourceMappingURL=index-BR2XS6aa.js.map
44994
+ //# sourceMappingURL=index-CAD8quwS.js.map