@weng-lab/ui-components 1.0.11 → 1.0.13

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.
@@ -1,5 +1,5 @@
1
1
  import * as p from "react";
2
- import un, { isValidElement as _l, cloneElement as Hl, Children as Jw, useEffect as Xo, createElement as Sr, useState as as, useMemo as vi, useReducer as Zw, useCallback as br, useRef as Bl, Fragment as ex } from "react";
2
+ import un, { isValidElement as _l, cloneElement as Hl, Children as Jw, useEffect as Oo, createElement as Sr, useState as as, useMemo as vi, useReducer as Zw, useCallback as br, useRef as Bl, Fragment as ex } from "react";
3
3
  import tx from "@emotion/styled";
4
4
  import { Global as nx, ThemeContext as ox, keyframes as Qn, css as Lr } from "@emotion/react";
5
5
  import * as Gm from "react-dom";
@@ -1495,7 +1495,7 @@ const Da = {
1495
1495
  }
1496
1496
  })
1497
1497
  };
1498
- function Oo(e, t, o) {
1498
+ function Ro(e, t, o) {
1499
1499
  const r = e.theme || {};
1500
1500
  if (Array.isArray(t)) {
1501
1501
  const i = r.breakpoints || zf;
@@ -1560,7 +1560,7 @@ function zt(e) {
1560
1560
  if (l[t] == null)
1561
1561
  return null;
1562
1562
  const a = l[t], c = l.theme, u = Na(c, r) || {};
1563
- return Oo(l, a, (f) => {
1563
+ return Ro(l, a, (f) => {
1564
1564
  let h = Zl(u, s, f);
1565
1565
  return f === h && typeof f == "string" && (h = Zl(u, s, `${t}${f === "default" ? "" : oe(f)}`, f)), o === !1 ? h : {
1566
1566
  [o]: h
@@ -1627,7 +1627,7 @@ function Kx(e, t, o, r) {
1627
1627
  if (!t.includes(o))
1628
1628
  return null;
1629
1629
  const s = qx(o), i = Wx(s, r), l = e[o];
1630
- return Oo(e, l, i);
1630
+ return Ro(e, l, i);
1631
1631
  }
1632
1632
  function Qm(e, t) {
1633
1633
  const o = pd(e.theme);
@@ -1676,7 +1676,7 @@ const Xx = Jn("border", Hn), Yx = Jn("borderTop", Hn), Qx = Jn("borderRight", Hn
1676
1676
  const t = Wi(e.theme, "shape.borderRadius", 4, "borderRadius"), o = (r) => ({
1677
1677
  borderRadius: Ki(t, r)
1678
1678
  });
1679
- return Oo(e, e.borderRadius, o);
1679
+ return Ro(e, e.borderRadius, o);
1680
1680
  }
1681
1681
  return null;
1682
1682
  };
@@ -1690,7 +1690,7 @@ const Aa = (e) => {
1690
1690
  const t = Wi(e.theme, "spacing", 8, "gap"), o = (r) => ({
1691
1691
  gap: Ki(t, r)
1692
1692
  });
1693
- return Oo(e, e.gap, o);
1693
+ return Ro(e, e.gap, o);
1694
1694
  }
1695
1695
  return null;
1696
1696
  };
@@ -1703,7 +1703,7 @@ const Va = (e) => {
1703
1703
  const t = Wi(e.theme, "spacing", 8, "columnGap"), o = (r) => ({
1704
1704
  columnGap: Ki(t, r)
1705
1705
  });
1706
- return Oo(e, e.columnGap, o);
1706
+ return Ro(e, e.columnGap, o);
1707
1707
  }
1708
1708
  return null;
1709
1709
  };
@@ -1716,7 +1716,7 @@ const _a = (e) => {
1716
1716
  const t = Wi(e.theme, "spacing", 8, "rowGap"), o = (r) => ({
1717
1717
  rowGap: Ki(t, r)
1718
1718
  });
1719
- return Oo(e, e.rowGap, o);
1719
+ return Ro(e, e.rowGap, o);
1720
1720
  }
1721
1721
  return null;
1722
1722
  };
@@ -1780,7 +1780,7 @@ const CS = zt({
1780
1780
  maxWidth: kn(o)
1781
1781
  };
1782
1782
  };
1783
- return Oo(e, e.maxWidth, t);
1783
+ return Ro(e, e.maxWidth, t);
1784
1784
  }
1785
1785
  return null;
1786
1786
  };
@@ -2130,7 +2130,7 @@ function IS() {
2130
2130
  [o]: r
2131
2131
  };
2132
2132
  const h = Na(s, u) || {};
2133
- return f ? f(l) : Oo(l, r, (y) => {
2133
+ return f ? f(l) : Ro(l, r, (y) => {
2134
2134
  let g = Zl(h, d, y);
2135
2135
  return y === g && typeof y == "string" && (g = Zl(h, d, `${o}${y === "default" ? "" : oe(y)}`, y)), c === !1 ? g : {
2136
2136
  [c]: g
@@ -2163,7 +2163,7 @@ function IS() {
2163
2163
  if (l[m])
2164
2164
  h = wi(h, e(m, y, s, l));
2165
2165
  else {
2166
- const g = Oo({
2166
+ const g = Ro({
2167
2167
  theme: s
2168
2168
  }, y, (w) => ({
2169
2169
  [m]: w
@@ -2708,7 +2708,7 @@ function xl(e, t, o) {
2708
2708
  return e;
2709
2709
  }
2710
2710
  }
2711
- function Ro(e, t) {
2711
+ function Mo(e, t) {
2712
2712
  if (e = nr(e), t = gd(t), e.type.includes("hsl"))
2713
2713
  e.values[2] *= 1 - t;
2714
2714
  else if (e.type.includes("rgb") || e.type.includes("color"))
@@ -2718,12 +2718,12 @@ function Ro(e, t) {
2718
2718
  }
2719
2719
  function Et(e, t, o) {
2720
2720
  try {
2721
- return Ro(e, t);
2721
+ return Mo(e, t);
2722
2722
  } catch {
2723
2723
  return e;
2724
2724
  }
2725
2725
  }
2726
- function Mo(e, t) {
2726
+ function ko(e, t) {
2727
2727
  if (e = nr(e), t = gd(t), e.type.includes("hsl"))
2728
2728
  e.values[2] += (100 - e.values[2]) * t;
2729
2729
  else if (e.type.includes("rgb"))
@@ -2736,13 +2736,13 @@ function Mo(e, t) {
2736
2736
  }
2737
2737
  function Pt(e, t, o) {
2738
2738
  try {
2739
- return Mo(e, t);
2739
+ return ko(e, t);
2740
2740
  } catch {
2741
2741
  return e;
2742
2742
  }
2743
2743
  }
2744
2744
  function WS(e, t = 0.15) {
2745
- return hu(e) > 0.5 ? Ro(e, t) : Mo(e, t);
2745
+ return hu(e) > 0.5 ? Mo(e, t) : ko(e, t);
2746
2746
  }
2747
2747
  function Sl(e, t, o) {
2748
2748
  try {
@@ -3387,7 +3387,7 @@ function ub() {
3387
3387
  const nh = ub();
3388
3388
  function oh(e, t, o, r) {
3389
3389
  const s = r.light || r, i = r.dark || r * 1.5;
3390
- e[t] || (e.hasOwnProperty(o) ? e[t] = e[o] : t === "light" ? e.light = Mo(e.main, s) : t === "dark" && (e.dark = Ro(e.main, i)));
3390
+ e[t] || (e.hasOwnProperty(o) ? e[t] = e[o] : t === "light" ? e.light = ko(e.main, s) : t === "dark" && (e.dark = Mo(e.main, i)));
3391
3391
  }
3392
3392
  function T0(e = "light") {
3393
3393
  return e === "dark" ? {
@@ -5183,13 +5183,13 @@ const SE = te("span", {
5183
5183
  backgroundColor: e.vars.palette.Slider[`${t}Track`],
5184
5184
  borderColor: e.vars.palette.Slider[`${t}Track`]
5185
5185
  } : {
5186
- backgroundColor: Mo(e.palette[t].main, 0.62),
5187
- borderColor: Mo(e.palette[t].main, 0.62),
5186
+ backgroundColor: ko(e.palette[t].main, 0.62),
5187
+ borderColor: ko(e.palette[t].main, 0.62),
5188
5188
  ...e.applyStyles("dark", {
5189
- backgroundColor: Ro(e.palette[t].main, 0.5)
5189
+ backgroundColor: Mo(e.palette[t].main, 0.5)
5190
5190
  }),
5191
5191
  ...e.applyStyles("dark", {
5192
- borderColor: Ro(e.palette[t].main, 0.5)
5192
+ borderColor: Mo(e.palette[t].main, 0.5)
5193
5193
  })
5194
5194
  }
5195
5195
  }
@@ -6269,7 +6269,7 @@ function Qi(e, t = 166) {
6269
6269
  clearTimeout(o);
6270
6270
  }, r;
6271
6271
  }
6272
- function ko(e) {
6272
+ function Do(e) {
6273
6273
  return It(e).defaultView || window;
6274
6274
  }
6275
6275
  function Ol(e) {
@@ -6312,7 +6312,7 @@ const Sb = /* @__PURE__ */ p.forwardRef(function(t, o) {
6312
6312
  const S = d.current, I = m.current;
6313
6313
  if (!S || !I)
6314
6314
  return;
6315
- const M = ko(S).getComputedStyle(S);
6315
+ const M = Do(S).getComputedStyle(S);
6316
6316
  if (M.width === "0px")
6317
6317
  return {
6318
6318
  outerHeightStyle: 0,
@@ -6347,7 +6347,7 @@ const Sb = /* @__PURE__ */ p.forwardRef(function(t, o) {
6347
6347
  const S = Qi(w), I = d?.current;
6348
6348
  if (!I)
6349
6349
  return;
6350
- const P = ko(I);
6350
+ const P = Do(I);
6351
6351
  P.addEventListener("resize", S);
6352
6352
  let M;
6353
6353
  return typeof ResizeObserver < "u" && (M = new ResizeObserver(() => {
@@ -6433,7 +6433,7 @@ function Ar({
6433
6433
  }
6434
6434
  const Ji = /* @__PURE__ */ p.createContext(void 0);
6435
6435
  process.env.NODE_ENV !== "production" && (Ji.displayName = "FormControlContext");
6436
- function Fo() {
6436
+ function $o() {
6437
6437
  return p.useContext(Ji);
6438
6438
  }
6439
6439
  function mh(e) {
@@ -6700,7 +6700,7 @@ const Ua = (e, t) => {
6700
6700
  } = p.useRef(Q != null), X = p.useRef(), Y = p.useCallback((fe) => {
6701
6701
  process.env.NODE_ENV !== "production" && fe && fe.nodeName !== "INPUT" && !fe.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
6702
6702
  `));
6703
- }, []), re = rt(X, I, S.ref, Y), [K, ee] = p.useState(!1), ne = Fo();
6703
+ }, []), re = rt(X, I, S.ref, Y), [K, ee] = p.useState(!1), ne = $o();
6704
6704
  process.env.NODE_ENV !== "production" && p.useEffect(() => {
6705
6705
  if (ne)
6706
6706
  return ne.registerEffect();
@@ -7067,7 +7067,7 @@ process.env.NODE_ENV !== "production" && (Vr.propTypes = {
7067
7067
  function GE(e) {
7068
7068
  return Ae("MuiInput", e);
7069
7069
  }
7070
- const Wo = {
7070
+ const Ko = {
7071
7071
  ...Kt,
7072
7072
  ...Ve("MuiInput", ["root", "underline", "input"])
7073
7073
  }, zE = (e) => {
@@ -7127,12 +7127,12 @@ const Wo = {
7127
7127
  pointerEvents: "none"
7128
7128
  // Transparent to the hover style.
7129
7129
  },
7130
- [`&.${Wo.focused}:after`]: {
7130
+ [`&.${Ko.focused}:after`]: {
7131
7131
  // translateX(0) is a workaround for Safari transform scale bug
7132
7132
  // See https://github.com/mui/material-ui/issues/31766
7133
7133
  transform: "scaleX(1) translateX(0)"
7134
7134
  },
7135
- [`&.${Wo.error}`]: {
7135
+ [`&.${Ko.error}`]: {
7136
7136
  "&::before, &::after": {
7137
7137
  borderBottomColor: (e.vars || e).palette.error.main
7138
7138
  }
@@ -7150,14 +7150,14 @@ const Wo = {
7150
7150
  pointerEvents: "none"
7151
7151
  // Transparent to the hover style.
7152
7152
  },
7153
- [`&:hover:not(.${Wo.disabled}, .${Wo.error}):before`]: {
7153
+ [`&:hover:not(.${Ko.disabled}, .${Ko.error}):before`]: {
7154
7154
  borderBottom: `2px solid ${(e.vars || e).palette.text.primary}`,
7155
7155
  // Reset on touch devices, it doesn't add specificity
7156
7156
  "@media (hover: none)": {
7157
7157
  borderBottom: `1px solid ${o}`
7158
7158
  }
7159
7159
  },
7160
- [`&.${Wo.disabled}:before`]: {
7160
+ [`&.${Ko.disabled}:before`]: {
7161
7161
  borderBottomStyle: "dotted"
7162
7162
  }
7163
7163
  }
@@ -8562,7 +8562,7 @@ const sP = (e) => {
8562
8562
  slotProps: f = {},
8563
8563
  type: h = "text",
8564
8564
  ...m
8565
- } = r, y = sP(r), g = Fo(), w = Ar({
8565
+ } = r, y = sP(r), g = $o(), w = Ar({
8566
8566
  props: r,
8567
8567
  muiFormControl: g,
8568
8568
  states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
@@ -8866,7 +8866,7 @@ const Si = Ve("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
8866
8866
  focused: f,
8867
8867
  required: h,
8868
8868
  ...m
8869
- } = r, y = Fo(), g = Ar({
8869
+ } = r, y = $o(), g = Ar({
8870
8870
  props: r,
8871
8871
  muiFormControl: y,
8872
8872
  states: ["color", "required", "focused", "disabled", "error", "filled"]
@@ -9114,7 +9114,7 @@ const hP = (e) => {
9114
9114
  variant: a,
9115
9115
  className: c,
9116
9116
  ...u
9117
- } = r, d = Fo();
9117
+ } = r, d = $o();
9118
9118
  let f = l;
9119
9119
  typeof f > "u" && d && (f = d.filled || d.focused || d.adornedStart);
9120
9120
  const h = Ar({
@@ -9512,7 +9512,7 @@ const vP = (e) => {
9512
9512
  required: h,
9513
9513
  variant: m,
9514
9514
  ...y
9515
- } = r, g = Fo(), w = Ar({
9515
+ } = r, g = $o(), w = Ar({
9516
9516
  props: r,
9517
9517
  muiFormControl: g,
9518
9518
  states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
@@ -9794,7 +9794,7 @@ const Sd = /* @__PURE__ */ p.forwardRef(function(t, o) {
9794
9794
  }) => {
9795
9795
  const P = !m.current.style.width;
9796
9796
  if (S.clientHeight < m.current.clientHeight && P) {
9797
- const M = `${Rb(ko(S))}px`;
9797
+ const M = `${Rb(Do(S))}px`;
9798
9798
  m.current.style[I === "rtl" ? "paddingLeft" : "paddingRight"] = M, m.current.style.width = `calc(100% + ${M})`;
9799
9799
  }
9800
9800
  return m.current;
@@ -10721,13 +10721,13 @@ process.env.NODE_ENV !== "production" && (Ss.propTypes = {
10721
10721
  Ss && (Ss.muiSupportAuto = !0);
10722
10722
  function jP(e) {
10723
10723
  const t = It(e);
10724
- return t.body === e ? ko(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
10724
+ return t.body === e ? Do(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
10725
10725
  }
10726
10726
  function Ei(e, t) {
10727
10727
  t ? e.setAttribute("aria-hidden", "true") : e.removeAttribute("aria-hidden");
10728
10728
  }
10729
10729
  function Th(e) {
10730
- return parseInt(ko(e).getComputedStyle(e).paddingRight, 10) || 0;
10730
+ return parseInt(Do(e).getComputedStyle(e).paddingRight, 10) || 0;
10731
10731
  }
10732
10732
  function AP(e) {
10733
10733
  const o = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].includes(e.tagName), r = e.tagName === "INPUT" && e.getAttribute("type") === "hidden";
@@ -10748,7 +10748,7 @@ function VP(e, t) {
10748
10748
  const o = [], r = e.container;
10749
10749
  if (!t.disableScrollLock) {
10750
10750
  if (jP(r)) {
10751
- const l = Rb(ko(r));
10751
+ const l = Rb(Do(r));
10752
10752
  o.push({
10753
10753
  value: r.style.paddingRight,
10754
10754
  property: "padding-right",
@@ -10767,7 +10767,7 @@ function VP(e, t) {
10767
10767
  if (r.parentNode instanceof DocumentFragment)
10768
10768
  i = It(r).body;
10769
10769
  else {
10770
- const l = r.parentElement, a = ko(r);
10770
+ const l = r.parentElement, a = Do(r);
10771
10771
  i = l?.nodeName === "HTML" && a.getComputedStyle(l).overflowY === "scroll" ? l : r;
10772
10772
  }
10773
10773
  o.push({
@@ -12094,7 +12094,7 @@ const uT = (e) => {
12094
12094
  };
12095
12095
  const ee = O();
12096
12096
  let ne = ee.top - K.vertical, se = ee.left - K.horizontal;
12097
- const Se = ne + re.height, Pe = se + re.width, ae = ko(gi(i)), Ge = ae.innerHeight - m, Te = ae.innerWidth - m;
12097
+ const Se = ne + re.height, Pe = se + re.width, ae = Do(gi(i)), Ge = ae.innerHeight - m, Te = ae.innerWidth - m;
12098
12098
  if (m !== null && ne < m) {
12099
12099
  const $e = ne - m;
12100
12100
  ne -= $e, K.vertical += $e;
@@ -12139,7 +12139,7 @@ const uT = (e) => {
12139
12139
  return;
12140
12140
  const Y = Qi(() => {
12141
12141
  N();
12142
- }), re = ko(gi(i));
12142
+ }), re = Do(gi(i));
12143
12143
  return re.addEventListener("resize", Y), () => {
12144
12144
  Y.clear(), re.removeEventListener("resize", Y);
12145
12145
  };
@@ -13457,7 +13457,7 @@ const qb = Nt(/* @__PURE__ */ b.jsx("path", {
13457
13457
  SelectDisplayProps: D,
13458
13458
  variant: T = "outlined",
13459
13459
  ...R
13460
- } = r, C = v ? Bb : zb, O = Fo(), L = Ar({
13460
+ } = r, C = v ? Bb : zb, O = $o(), L = Ar({
13461
13461
  props: r,
13462
13462
  muiFormControl: O,
13463
13463
  states: ["variant", "error"]
@@ -14056,9 +14056,9 @@ const Bz = (e) => {
14056
14056
  e.defaultEnd || e.value && e.value[1] || 10
14057
14057
  ]
14058
14058
  );
14059
- Xo(() => {
14059
+ Oo(() => {
14060
14060
  e.value && (o(e.value), c(e.value));
14061
- }, [e.value]), Xo(() => {
14061
+ }, [e.value]), Oo(() => {
14062
14062
  e.onSliderChange && e.onSliderChange(t);
14063
14063
  });
14064
14064
  const r = e.min ? e.min : 0, s = e.max ? e.max : 100, i = e.step ? e.step : 0.01, l = e.minDistance ? e.minDistance : 0, [a, c] = un.useState(
@@ -14440,7 +14440,7 @@ const qT = Ve("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "s
14440
14440
  // Workaround for a rendering bug with spanned columns in Chrome 62.0.
14441
14441
  // Removes the alpha (sets it to 1), and lightens or darkens the theme color.
14442
14442
  borderBottom: e.vars ? `1px solid ${e.vars.palette.TableCell.border}` : `1px solid
14443
- ${e.palette.mode === "light" ? Mo(Ke(e.palette.divider, 1), 0.88) : Ro(Ke(e.palette.divider, 1), 0.68)}`,
14443
+ ${e.palette.mode === "light" ? ko(Ke(e.palette.divider, 1), 0.88) : Mo(Ke(e.palette.divider, 1), 0.68)}`,
14444
14444
  textAlign: "left",
14445
14445
  padding: 16,
14446
14446
  variants: [{
@@ -16372,7 +16372,7 @@ function NI(e) {
16372
16372
  return Ae("MuiCircularProgress", e);
16373
16373
  }
16374
16374
  Ve("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
16375
- const Bo = 44, Eu = Qn`
16375
+ const Go = 44, Eu = Qn`
16376
16376
  0% {
16377
16377
  transform: rotate(0deg);
16378
16378
  }
@@ -16515,7 +16515,7 @@ const Bo = 44, Eu = Qn`
16515
16515
  variant: f
16516
16516
  }, y = LI(m), g = {}, w = {}, x = {};
16517
16517
  if (f === "determinate") {
16518
- const v = 2 * Math.PI * ((Bo - u) / 2);
16518
+ const v = 2 * Math.PI * ((Go - u) / 2);
16519
16519
  g.strokeDasharray = v.toFixed(3), x["aria-valuenow"] = Math.round(d), g.strokeDashoffset = `${((100 - d) / 100 * v).toFixed(3)}px`, w.transform = "rotate(-90deg)";
16520
16520
  }
16521
16521
  return /* @__PURE__ */ b.jsx(jI, {
@@ -16534,14 +16534,14 @@ const Bo = 44, Eu = Qn`
16534
16534
  children: /* @__PURE__ */ b.jsx(AI, {
16535
16535
  className: y.svg,
16536
16536
  ownerState: m,
16537
- viewBox: `${Bo / 2} ${Bo / 2} ${Bo} ${Bo}`,
16537
+ viewBox: `${Go / 2} ${Go / 2} ${Go} ${Go}`,
16538
16538
  children: /* @__PURE__ */ b.jsx(VI, {
16539
16539
  className: y.circle,
16540
16540
  style: g,
16541
16541
  ownerState: m,
16542
- cx: Bo,
16543
- cy: Bo,
16544
- r: (Bo - u) / 2,
16542
+ cx: Go,
16543
+ cy: Go,
16544
+ r: (Go - u) / 2,
16545
16545
  fill: "none",
16546
16546
  strokeWidth: u
16547
16547
  })
@@ -18469,7 +18469,7 @@ const xO = (e) => {
18469
18469
  default: !!l,
18470
18470
  name: "SwitchBase",
18471
18471
  state: "checked"
18472
- }), L = Fo(), j = (q) => {
18472
+ }), L = $o(), j = (q) => {
18473
18473
  x && x(q), L && L.onFocus && L.onFocus(q);
18474
18474
  }, H = (q) => {
18475
18475
  g && g(q), L && L.onBlur && L.onBlur(q);
@@ -19036,7 +19036,7 @@ const us = Ve("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlace
19036
19036
  slotProps: x = {},
19037
19037
  value: v,
19038
19038
  ...S
19039
- } = r, I = Fo(), P = c ?? a.props.disabled ?? I?.disabled, M = g ?? a.props.required, D = {
19039
+ } = r, I = $o(), P = c ?? a.props.disabled ?? I?.disabled, M = g ?? a.props.required, D = {
19040
19040
  disabled: P,
19041
19041
  required: M
19042
19042
  };
@@ -19362,7 +19362,7 @@ function ly(e, t) {
19362
19362
  }
19363
19363
  return !1;
19364
19364
  }
19365
- function Do(e) {
19365
+ function No(e) {
19366
19366
  return Ln(e).getComputedStyle(e);
19367
19367
  }
19368
19368
  function nR(e) {
@@ -19388,18 +19388,18 @@ function tc(e) {
19388
19388
  }
19389
19389
  function zh(e) {
19390
19390
  return !qn(e) || // https://github.com/popperjs/popper-core/issues/837
19391
- Do(e).position === "fixed" ? null : e.offsetParent;
19391
+ No(e).position === "fixed" ? null : e.offsetParent;
19392
19392
  }
19393
19393
  function oR(e) {
19394
19394
  var t = /firefox/i.test(Ou()), o = /Trident/i.test(Ou());
19395
19395
  if (o && qn(e)) {
19396
- var r = Do(e);
19396
+ var r = No(e);
19397
19397
  if (r.position === "fixed")
19398
19398
  return null;
19399
19399
  }
19400
19400
  var s = tc(e);
19401
19401
  for (Ad(s) && (s = s.host); qn(s) && ["html", "body"].indexOf(yo(s)) < 0; ) {
19402
- var i = Do(s);
19402
+ var i = No(s);
19403
19403
  if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
19404
19404
  return s;
19405
19405
  s = s.parentNode;
@@ -19407,9 +19407,9 @@ function oR(e) {
19407
19407
  return null;
19408
19408
  }
19409
19409
  function nl(e) {
19410
- for (var t = Ln(e), o = zh(e); o && nR(o) && Do(o).position === "static"; )
19410
+ for (var t = Ln(e), o = zh(e); o && nR(o) && No(o).position === "static"; )
19411
19411
  o = zh(o);
19412
- return o && (yo(o) === "html" || yo(o) === "body" && Do(o).position === "static") ? t : o || oR(e) || t;
19412
+ return o && (yo(o) === "html" || yo(o) === "body" && No(o).position === "static") ? t : o || oR(e) || t;
19413
19413
  }
19414
19414
  function _d(e) {
19415
19415
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
@@ -19490,7 +19490,7 @@ function qh(e) {
19490
19490
  var x = l.hasOwnProperty("x"), v = l.hasOwnProperty("y"), S = Pn, I = En, P = window;
19491
19491
  if (u) {
19492
19492
  var M = nl(o), D = "clientHeight", T = "clientWidth";
19493
- if (M === Ln(o) && (M = ar(o), Do(M).position !== "static" && a === "absolute" && (D = "scrollHeight", T = "scrollWidth")), M = M, s === En || (s === Pn || s === Yn) && i === $i) {
19493
+ if (M === Ln(o) && (M = ar(o), No(M).position !== "static" && a === "absolute" && (D = "scrollHeight", T = "scrollWidth")), M = M, s === En || (s === Pn || s === Yn) && i === $i) {
19494
19494
  I = Xn;
19495
19495
  var R = f && M === P && P.visualViewport ? P.visualViewport.height : (
19496
19496
  // $FlowFixMe[prop-missing]
@@ -19620,7 +19620,7 @@ function bR(e, t) {
19620
19620
  }
19621
19621
  function yR(e) {
19622
19622
  var t, o = ar(e), r = Hd(e), s = (t = e.ownerDocument) == null ? void 0 : t.body, i = Tr(o.scrollWidth, o.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), l = Tr(o.scrollHeight, o.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), a = -r.scrollLeft + Bd(e), c = -r.scrollTop;
19623
- return Do(s || o).direction === "rtl" && (a += Tr(o.clientWidth, s ? s.clientWidth : 0) - i), {
19623
+ return No(s || o).direction === "rtl" && (a += Tr(o.clientWidth, s ? s.clientWidth : 0) - i), {
19624
19624
  width: i,
19625
19625
  height: l,
19626
19626
  x: a,
@@ -19628,7 +19628,7 @@ function yR(e) {
19628
19628
  };
19629
19629
  }
19630
19630
  function Gd(e) {
19631
- var t = Do(e), o = t.overflow, r = t.overflowX, s = t.overflowY;
19631
+ var t = No(e), o = t.overflow, r = t.overflowX, s = t.overflowY;
19632
19632
  return /auto|scroll|overlay|hidden/.test(o + s + r);
19633
19633
  }
19634
19634
  function dy(e) {
@@ -19659,7 +19659,7 @@ function Wh(e, t, o) {
19659
19659
  return t === ry ? Ru(bR(e, o)) : Mr(t) ? CR(t, o) : Ru(yR(ar(e)));
19660
19660
  }
19661
19661
  function vR(e) {
19662
- var t = Ti(tc(e)), o = ["absolute", "fixed"].indexOf(Do(e).position) >= 0, r = o && qn(e) ? nl(e) : e;
19662
+ var t = Ti(tc(e)), o = ["absolute", "fixed"].indexOf(No(e).position) >= 0, r = o && qn(e) ? nl(e) : e;
19663
19663
  return Mr(r) ? t.filter(function(s) {
19664
19664
  return Mr(s) && ly(s, r) && yo(s) !== "body";
19665
19665
  }) : [];
@@ -21414,7 +21414,11 @@ const c1 = te("div")(({ theme: e }) => ({
21414
21414
  (D) => e.defaultColumnsToShow?.includes(D.header)
21415
21415
  ) : e.columns.slice(0, u),
21416
21416
  showAddColumnsModal: !1
21417
- }), h = br(
21417
+ });
21418
+ Oo(() => {
21419
+ f({ type: "columnsChanged", columns: e.columns });
21420
+ }, [e.columns]);
21421
+ const h = br(
21418
21422
  (D, T) => {
21419
21423
  for (const R in d.columns) {
21420
21424
  const C = d.columns[R];
@@ -21458,7 +21462,7 @@ const c1 = te("div")(({ theme: e }) => ({
21458
21462
  T.current.style.visibility = C && L ? "visible" : "hidden", R.current.style.visibility = C && O ? "visible" : "hidden";
21459
21463
  }
21460
21464
  };
21461
- return Xo(() => {
21465
+ return Oo(() => {
21462
21466
  S.current && (S.current.addEventListener(
21463
21467
  "scroll",
21464
21468
  () => M(S, I, P)
@@ -22749,7 +22753,7 @@ const Z1 = 0.7, eM = 1.3, tM = {
22749
22753
  comfortable: eM,
22750
22754
  standard: 1
22751
22755
  }, wr = mt((e) => e.density), Vs = xe(wr, (e) => tM[e]);
22752
- function $o(e) {
22756
+ function Lo(e) {
22753
22757
  throw new Error("Failed assertion: should not be rendered");
22754
22758
  }
22755
22759
  const Sy = {
@@ -22883,7 +22887,7 @@ const sM = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "
22883
22887
  return he({
22884
22888
  root: ["editInputCell"]
22885
22889
  }, je, t);
22886
- }, lM = te($o, {
22890
+ }, lM = te(Lo, {
22887
22891
  name: "MuiDataGrid",
22888
22892
  slot: "EditInputCell"
22889
22893
  })({
@@ -23301,14 +23305,14 @@ class TM {
23301
23305
  this.data.add(t);
23302
23306
  }
23303
23307
  }
23304
- const Ko = (e) => e.type === "include" ? new PM(e) : new TM(e);
23308
+ const Xo = (e) => e.type === "include" ? new PM(e) : new TM(e);
23305
23309
  var Eo = /* @__PURE__ */ function(e) {
23306
23310
  return e.enterKeyDown = "enterKeyDown", e.cellDoubleClick = "cellDoubleClick", e.printableKeyDown = "printableKeyDown", e.deleteKeyDown = "deleteKeyDown", e.pasteKeyDown = "pasteKeyDown", e;
23307
23311
  }(Eo || {}), no = /* @__PURE__ */ function(e) {
23308
23312
  return e.cellFocusOut = "cellFocusOut", e.escapeKeyDown = "escapeKeyDown", e.enterKeyDown = "enterKeyDown", e.tabKeyDown = "tabKeyDown", e.shiftTabKeyDown = "shiftTabKeyDown", e;
23309
- }(no || {}), qo = /* @__PURE__ */ function(e) {
23313
+ }(no || {}), Uo = /* @__PURE__ */ function(e) {
23310
23314
  return e.enterKeyDown = "enterKeyDown", e.cellDoubleClick = "cellDoubleClick", e.printableKeyDown = "printableKeyDown", e.deleteKeyDown = "deleteKeyDown", e;
23311
- }(qo || {}), uo = /* @__PURE__ */ function(e) {
23315
+ }(Uo || {}), uo = /* @__PURE__ */ function(e) {
23312
23316
  return e.rowFocusOut = "rowFocusOut", e.escapeKeyDown = "escapeKeyDown", e.enterKeyDown = "enterKeyDown", e.tabKeyDown = "tabKeyDown", e.shiftTabKeyDown = "shiftTabKeyDown", e;
23313
23317
  }(uo || {});
23314
23318
  function Ny(e) {
@@ -23357,7 +23361,7 @@ function Ly(e, t, o) {
23357
23361
  right: l
23358
23362
  };
23359
23363
  }
23360
- const Lo = it(Tt, (e) => {
23364
+ const jo = it(Tt, (e) => {
23361
23365
  const t = [];
23362
23366
  let o = 0;
23363
23367
  for (let r = 0; r < e.length; r += 1)
@@ -23705,7 +23709,7 @@ const GM = ["open", "target", "onClose", "children", "position", "className", "o
23705
23709
  return he({
23706
23710
  root: ["menu"]
23707
23711
  }, je, t);
23708
- }, qM = te($o, {
23712
+ }, qM = te(Lo, {
23709
23713
  name: "MuiDataGrid",
23710
23714
  slot: "Menu"
23711
23715
  })({
@@ -24508,7 +24512,7 @@ const sC = mt((e) => e.sorting), sl = xe(sC, (e) => e.sortedRows), ap = it(sl, G
24508
24512
  return !1;
24509
24513
  const s = r.filterOperators.find((i) => i.value === o.operator);
24510
24514
  return s ? !s.InputComponent || o.value != null && o.value?.toString() !== "" : !1;
24511
- })), fk = it(cc, (e) => e.reduce((o, r) => (o[r.field] ? o[r.field].push(r) : o[r.field] = [r], o), {})), oo = mt((e) => e.rowSelection), il = it(oo, Ko), uc = xe(oo, cC, (e, t) => e.type === "include" ? e.ids.size : t - e.ids.size), uC = it(oo, Gn, Qo, (e, t, o) => {
24515
+ })), fk = it(cc, (e) => e.reduce((o, r) => (o[r.field] ? o[r.field].push(r) : o[r.field] = [r], o), {})), oo = mt((e) => e.rowSelection), il = it(oo, Xo), uc = xe(oo, cC, (e, t) => e.type === "include" ? e.ids.size : t - e.ids.size), uC = it(oo, Gn, Qo, (e, t, o) => {
24512
24516
  const r = /* @__PURE__ */ new Map();
24513
24517
  if (e.type === "include")
24514
24518
  for (const s of e.ids)
@@ -24795,7 +24799,7 @@ const vk = pp, dc = mt((e) => e.focus), bn = xe(dc, (e) => e.cell), wk = xe(dc,
24795
24799
  }
24796
24800
  return T;
24797
24801
  }, [i, l.pagination, l.paginationMode, l.checkboxSelectionVisibleOnly, h, f]), g = p.useMemo(() => {
24798
- const D = Ko(m);
24802
+ const D = Xo(m);
24799
24803
  let T = 0;
24800
24804
  for (const R of y)
24801
24805
  D.has(R) && (T += 1);
@@ -24803,7 +24807,7 @@ const vk = pp, dc = mt((e) => e.focus), bn = xe(dc, (e) => e.cell), wk = xe(dc,
24803
24807
  }, [m, y]), w = p.useMemo(() => {
24804
24808
  if (m.ids.size === 0)
24805
24809
  return !1;
24806
- const D = Ko(m);
24810
+ const D = Xo(m);
24807
24811
  for (const T of y)
24808
24812
  if (!D.has(T))
24809
24813
  return !0;
@@ -24860,7 +24864,7 @@ process.env.NODE_ENV !== "production" && (gp.propTypes = {
24860
24864
  */
24861
24865
  field: n.string.isRequired
24862
24866
  });
24863
- const jo = mt((e, t) => kr in t ? t[kr] : e.props.getRowId ? e.props.getRowId(t) : t.id), An = "__check__", Hs = E({}, rC, {
24867
+ const Ao = mt((e, t) => kr in t ? t[kr] : e.props.getRowId ? e.props.getRowId(t) : t.id), An = "__check__", Hs = E({}, rC, {
24864
24868
  type: "custom",
24865
24869
  field: An,
24866
24870
  width: 50,
@@ -24875,7 +24879,7 @@ const jo = mt((e, t) => kr in t ? t[kr] : e.props.getRowId ? e.props.getRowId(t)
24875
24879
  getApplyQuickFilterFn: () => null,
24876
24880
  display: "flex",
24877
24881
  valueGetter: (e, t, o, r) => {
24878
- const s = jo(r, t);
24882
+ const s = Ao(r, t);
24879
24883
  return r.current.isRowSelected(s);
24880
24884
  },
24881
24885
  renderHeader: (e) => /* @__PURE__ */ b.jsx(gp, E({}, e)),
@@ -25037,7 +25041,7 @@ const vC = (e) => [{
25037
25041
  value: "isNotEmpty",
25038
25042
  getApplyFilterFn: () => (t) => t != null,
25039
25043
  requiresFilterValue: !1
25040
- }], Fk = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "hasFocus", "inputProps", "isValidating", "isProcessingProps", "onValueChange", "slotProps"], $k = te($o)({
25044
+ }], Fk = ["id", "value", "formattedValue", "api", "field", "row", "rowNode", "colDef", "cellMode", "isEditable", "tabIndex", "hasFocus", "inputProps", "isValidating", "isProcessingProps", "onValueChange", "slotProps"], $k = te(Lo)({
25041
25045
  fontSize: "inherit"
25042
25046
  }), Lk = (e) => {
25043
25047
  const {
@@ -25187,7 +25191,7 @@ function xC({
25187
25191
  const jk = (e, t, o, r) => {
25188
25192
  if (!e)
25189
25193
  return "";
25190
- const s = jo(r, t);
25194
+ const s = Ao(r, t);
25191
25195
  return xC({
25192
25196
  value: e,
25193
25197
  columnType: "date",
@@ -25197,7 +25201,7 @@ const jk = (e, t, o, r) => {
25197
25201
  }, Ak = (e, t, o, r) => {
25198
25202
  if (!e)
25199
25203
  return "";
25200
- const s = jo(r, t);
25204
+ const s = Ao(r, t);
25201
25205
  return xC({
25202
25206
  value: e,
25203
25207
  columnType: "dateTime",
@@ -25220,44 +25224,44 @@ const jk = (e, t, o, r) => {
25220
25224
  renderEditCell: mp,
25221
25225
  // @ts-ignore
25222
25226
  pastedValueParser: (e) => new Date(e)
25223
- }), Uo = (e) => e == null ? null : Number(e), Hk = (e) => e == null || Number.isNaN(e) || e === "" ? null : (t) => Uo(t) === Uo(e), Bk = () => [{
25227
+ }), Wo = (e) => e == null ? null : Number(e), Hk = (e) => e == null || Number.isNaN(e) || e === "" ? null : (t) => Wo(t) === Wo(e), Bk = () => [{
25224
25228
  value: "=",
25225
- getApplyFilterFn: (e) => e.value == null || Number.isNaN(e.value) ? null : (t) => Uo(t) === e.value,
25229
+ getApplyFilterFn: (e) => e.value == null || Number.isNaN(e.value) ? null : (t) => Wo(t) === e.value,
25226
25230
  InputComponent: cn,
25227
25231
  InputComponentProps: {
25228
25232
  type: "number"
25229
25233
  }
25230
25234
  }, {
25231
25235
  value: "!=",
25232
- getApplyFilterFn: (e) => e.value == null || Number.isNaN(e.value) ? null : (t) => Uo(t) !== e.value,
25236
+ getApplyFilterFn: (e) => e.value == null || Number.isNaN(e.value) ? null : (t) => Wo(t) !== e.value,
25233
25237
  InputComponent: cn,
25234
25238
  InputComponentProps: {
25235
25239
  type: "number"
25236
25240
  }
25237
25241
  }, {
25238
25242
  value: ">",
25239
- getApplyFilterFn: (e) => e.value == null || Number.isNaN(e.value) ? null : (t) => t == null ? !1 : Uo(t) > e.value,
25243
+ getApplyFilterFn: (e) => e.value == null || Number.isNaN(e.value) ? null : (t) => t == null ? !1 : Wo(t) > e.value,
25240
25244
  InputComponent: cn,
25241
25245
  InputComponentProps: {
25242
25246
  type: "number"
25243
25247
  }
25244
25248
  }, {
25245
25249
  value: ">=",
25246
- getApplyFilterFn: (e) => e.value == null || Number.isNaN(e.value) ? null : (t) => t == null ? !1 : Uo(t) >= e.value,
25250
+ getApplyFilterFn: (e) => e.value == null || Number.isNaN(e.value) ? null : (t) => t == null ? !1 : Wo(t) >= e.value,
25247
25251
  InputComponent: cn,
25248
25252
  InputComponentProps: {
25249
25253
  type: "number"
25250
25254
  }
25251
25255
  }, {
25252
25256
  value: "<",
25253
- getApplyFilterFn: (e) => e.value == null || Number.isNaN(e.value) ? null : (t) => t == null ? !1 : Uo(t) < e.value,
25257
+ getApplyFilterFn: (e) => e.value == null || Number.isNaN(e.value) ? null : (t) => t == null ? !1 : Wo(t) < e.value,
25254
25258
  InputComponent: cn,
25255
25259
  InputComponentProps: {
25256
25260
  type: "number"
25257
25261
  }
25258
25262
  }, {
25259
25263
  value: "<=",
25260
- getApplyFilterFn: (e) => e.value == null || Number.isNaN(e.value) ? null : (t) => t == null ? !1 : Uo(t) <= e.value,
25264
+ getApplyFilterFn: (e) => e.value == null || Number.isNaN(e.value) ? null : (t) => t == null ? !1 : Wo(t) <= e.value,
25261
25265
  InputComponent: cn,
25262
25266
  InputComponentProps: {
25263
25267
  type: "number"
@@ -25655,7 +25659,7 @@ const ts = (e) => e == null || !tp(e) ? e : e.value, Xk = () => [{
25655
25659
  getOptionLabel: Jk,
25656
25660
  getOptionValue: Qk,
25657
25661
  valueFormatter(e, t, o, r) {
25658
- const s = jo(r, t);
25662
+ const s = Ao(r, t);
25659
25663
  if (!Ns(o))
25660
25664
  return "";
25661
25665
  const i = Dr(o, {
@@ -26253,7 +26257,7 @@ const Pg = {
26253
26257
  const ae = K.rows ?? y.rows, Ge = ne.firstRowIndex, Te = Math.min(ne.lastRowIndex, ae.length), $e = K.rows ? fg(0, K.rows.length) : fg(Ge, Te);
26254
26258
  let we = -1;
26255
26259
  !Se && _ && (_.rowIndex < Ge && ($e.unshift(_.rowIndex), we = _.rowIndex), _.rowIndex > Te && ($e.push(_.rowIndex), we = _.rowIndex));
26256
- const Ue = [], Le = t.slotProps?.row, de = Lo(e);
26260
+ const Ue = [], Le = t.slotProps?.row, de = jo(e);
26257
26261
  return $e.forEach((pe) => {
26258
26262
  const {
26259
26263
  id: Ie,
@@ -26422,7 +26426,7 @@ function Tg(e, t, o, r) {
26422
26426
  lastRowHeight: c !== void 0 ? e.current.unstable_getRowHeight(c) : 0,
26423
26427
  lastColumnWidth: u?.computedWidth ?? 0,
26424
26428
  rowsMeta: Bs(e),
26425
- columnPositions: Lo(e),
26429
+ columnPositions: jo(e),
26426
26430
  rows: i.rows,
26427
26431
  range: i.range,
26428
26432
  pinnedColumns: rr(e),
@@ -26906,7 +26910,7 @@ const tN = mt((e) => e.columnResize), Yz = xe(tN, (e) => e.resizingColumnField),
26906
26910
  }) => o === Co.Row && !!e[t]), oN = xe(Vt, (e, {
26907
26911
  rowId: t,
26908
26912
  field: o
26909
- }) => e[t]?.[o] ?? null), No = mt((e) => e.preferencePanel), rN = xe(No, (e, t) => !!(e.open && e.labelId === t));
26913
+ }) => e[t]?.[o] ?? null), Fo = mt((e) => e.preferencePanel), rN = xe(Fo, (e, t) => !!(e.open && e.labelId === t));
26910
26914
  var Xt = /* @__PURE__ */ function(e) {
26911
26915
  return e.filters = "filters", e.columns = "columns", e.aiAssistant = "aiAssistant", e;
26912
26916
  }(Xt || {});
@@ -27884,13 +27888,13 @@ const NN = io(XC), FN = 10, Ll = -5, ns = 1, Ng = {
27884
27888
  }
27885
27889
  ]
27886
27890
  })(() => {
27887
- const e = nn(), t = J(e, LN), o = ye.colors.background.base, r = ye.header.background.base, s = ye.cell.background.pinned, i = AN(ye.colors.interactive.hover), l = ye.colors.interactive.hoverOpacity, a = ye.colors.interactive.selected, c = ye.colors.interactive.selectedOpacity, u = a, d = `calc(${c} + ${l})`, f = Go(o, i, l), h = Go(o, a, c), m = Go(o, u, d), y = Go(s, i, l), g = Go(s, a, c), w = Go(s, u, d), x = (D) => ({
27891
+ const e = nn(), t = J(e, LN), o = ye.colors.background.base, r = ye.header.background.base, s = ye.cell.background.pinned, i = AN(ye.colors.interactive.hover), l = ye.colors.interactive.hoverOpacity, a = ye.colors.interactive.selected, c = ye.colors.interactive.selectedOpacity, u = a, d = `calc(${c} + ${l})`, f = zo(o, i, l), h = zo(o, a, c), m = zo(o, u, d), y = zo(s, i, l), g = zo(s, a, c), w = zo(s, u, d), x = (D) => ({
27888
27892
  [`& .${V["cell--pinnedLeft"]}, & .${V["cell--pinnedRight"]}`]: {
27889
27893
  backgroundColor: D,
27890
27894
  "&.Mui-selected": {
27891
- backgroundColor: Go(D, h, c),
27895
+ backgroundColor: zo(D, h, c),
27892
27896
  "&:hover": {
27893
- backgroundColor: Go(D, m, d)
27897
+ backgroundColor: zo(D, m, d)
27894
27898
  }
27895
27899
  }
27896
27900
  }
@@ -28488,7 +28492,7 @@ function YC(e, t) {
28488
28492
  function AN(e) {
28489
28493
  return YC(e, 1);
28490
28494
  }
28491
- function Go(e, t, o) {
28495
+ function zo(e, t, o) {
28492
28496
  return `color-mix(in srgb,${e}, ${t} calc(${o} * 100%))`;
28493
28497
  }
28494
28498
  const VN = () => () => {
@@ -28514,7 +28518,7 @@ function GN({
28514
28518
  });
28515
28519
  }
28516
28520
  function zN() {
28517
- const e = Fe(), t = J(e, Wn), o = Ce(), r = J(e, No), {
28521
+ const e = Fe(), t = J(e, Wn), o = Ce(), r = J(e, Fo), {
28518
28522
  columnsPanelTriggerRef: s,
28519
28523
  filterPanelTriggerRef: i,
28520
28524
  aiAssistantPanelTriggerRef: l
@@ -29000,14 +29004,14 @@ function pF(e) {
29000
29004
  function Ca(e, t) {
29001
29005
  return e.closest(`.${t}`);
29002
29006
  }
29003
- function Ao(e) {
29007
+ function Vo(e) {
29004
29008
  return e.replace(/["\\]/g, "\\$&");
29005
29009
  }
29006
29010
  function fF(e, t) {
29007
- return e.querySelector(`[role="columnheader"][data-field="${Ao(t)}"]`);
29011
+ return e.querySelector(`[role="columnheader"][data-field="${Vo(t)}"]`);
29008
29012
  }
29009
29013
  function ZC(e) {
29010
- return `.${V.row}[data-id="${Ao(String(e))}"]`;
29014
+ return `.${V.row}[data-id="${Vo(String(e))}"]`;
29011
29015
  }
29012
29016
  function hF(e, t) {
29013
29017
  return e.querySelector(ZC(t));
@@ -29016,7 +29020,7 @@ function gF(e, {
29016
29020
  id: t,
29017
29021
  field: o
29018
29022
  }) {
29019
- const r = ZC(t), s = `.${V.cell}[data-field="${Ao(o)}"]`, i = `${r} ${s}`;
29023
+ const r = ZC(t), s = `.${V.cell}[data-field="${Vo(o)}"]`, i = `${r} ${s}`;
29020
29024
  return e.querySelector(i);
29021
29025
  }
29022
29026
  function zs(e) {
@@ -29030,13 +29034,13 @@ function mF(e) {
29030
29034
  return e.getAttribute("data-field");
29031
29035
  }
29032
29036
  function bF(e, t) {
29033
- return e.querySelector(`[data-field="${Ao(t)}"]`);
29037
+ return e.querySelector(`[data-field="${Vo(t)}"]`);
29034
29038
  }
29035
29039
  function yF(e) {
29036
29040
  return e.getAttribute("data-fields").slice(2, -2).split("-|-");
29037
29041
  }
29038
29042
  function CF(e, t) {
29039
- return Array.from(e.querySelectorAll(`[data-fields*="|-${Ao(t)}-|"]`) ?? []);
29043
+ return Array.from(e.querySelectorAll(`[data-fields*="|-${Vo(t)}-|"]`) ?? []);
29040
29044
  }
29041
29045
  function vF(e, t) {
29042
29046
  if (!Ca(e, V.root))
@@ -29128,11 +29132,11 @@ function EF(e, t, o) {
29128
29132
  });
29129
29133
  }
29130
29134
  function PF(e, t) {
29131
- return e.columnHeadersContainerRef.current.querySelector(`:scope > div > [data-field="${Ao(t)}"][role="columnheader"]`);
29135
+ return e.columnHeadersContainerRef.current.querySelector(`:scope > div > [data-field="${Vo(t)}"][role="columnheader"]`);
29132
29136
  }
29133
29137
  function TF(e, t) {
29134
29138
  const o = e.virtualScrollerRef.current;
29135
- return Array.from(o.querySelectorAll(`:scope > div > div > div > [data-field="${Ao(t)}"][role="gridcell"]`));
29139
+ return Array.from(o.querySelectorAll(`:scope > div > div > div > [data-field="${Vo(t)}"][role="gridcell"]`));
29136
29140
  }
29137
29141
  function nv(e) {
29138
29142
  return e.virtualScrollerRef.current.querySelectorAll(
@@ -29546,7 +29550,7 @@ const VF = ["direction", "index", "sortingOrder", "disabled", "className"], _F =
29546
29550
  root: ["sortButton"],
29547
29551
  icon: ["sortIcon"]
29548
29552
  }, je, t);
29549
- }, HF = nt($o, {
29553
+ }, HF = nt(Lo, {
29550
29554
  name: "MuiDataGrid",
29551
29555
  slot: "SortButton"
29552
29556
  })({
@@ -29670,7 +29674,7 @@ function fv(e) {
29670
29674
  const {
29671
29675
  open: y,
29672
29676
  openedPanelValue: g
29673
- } = No(s);
29677
+ } = Fo(s);
29674
29678
  y && g === Xt.filters ? s.current.hideFilterPanel() : s.current.showFilterPanel(void 0, d, c), r && r(s.current.getColumnHeaderParams(o), m);
29675
29679
  }, [s, o, r, d, c]);
29676
29680
  if (!t)
@@ -29773,7 +29777,7 @@ const bt = Nt, $g = bt(/* @__PURE__ */ b.jsx("path", {
29773
29777
  d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12l1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"
29774
29778
  }), "Delete"), r$ = bt(/* @__PURE__ */ b.jsx("path", {
29775
29779
  d: "M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"
29776
- }), "Download"), s$ = ["hideMenu", "colDef", "id", "labelledby", "className", "children", "open"], i$ = te($o)(() => ({
29780
+ }), "Download"), s$ = ["hideMenu", "colDef", "id", "labelledby", "className", "children", "open"], i$ = te(Lo)(() => ({
29777
29781
  minWidth: 248
29778
29782
  }));
29779
29783
  function qg(e) {
@@ -30114,7 +30118,7 @@ function f$(e) {
30114
30118
  children: /* @__PURE__ */ b.jsx(t.slots.columnsManagement, E({}, t.slotProps?.columnsManagement))
30115
30119
  }));
30116
30120
  }
30117
- const h$ = ["children", "className", "classes", "onClose"], g$ = Ve("MuiDataGrid", ["panel", "paper"]), m$ = te($o, {
30121
+ const h$ = ["children", "className", "classes", "onClose"], g$ = Ve("MuiDataGrid", ["panel", "paper"]), m$ = te(Lo, {
30118
30122
  name: "MuiDataGrid",
30119
30123
  slot: "panel"
30120
30124
  })({
@@ -31076,7 +31080,7 @@ const U$ = te("div", {
31076
31080
  })({
31077
31081
  padding: ye.spacing(1.5, 2),
31078
31082
  borderBottom: `1px solid ${ye.colors.border.base}`
31079
- }), X$ = te($o, {
31083
+ }), X$ = te(Lo, {
31080
31084
  name: "MuiDataGrid",
31081
31085
  slot: "ColumnsManagementSearchInput"
31082
31086
  })({
@@ -31107,7 +31111,7 @@ const U$ = te("div", {
31107
31111
  slotProps: r = {}
31108
31112
  } = t, s = r.button || {}, i = r.tooltip || {}, l = Ye(), a = Ye(), c = Fe(), u = Ce(), {
31109
31113
  columnsPanelTriggerRef: d
31110
- } = dl(), f = J(c, No), h = rt(o, d), m = (g) => {
31114
+ } = dl(), f = J(c, Fo), h = rt(o, d), m = (g) => {
31111
31115
  f.open && f.openedPanelValue === Xt.columns ? c.current.hidePreferences() : c.current.showPreferences(Xt.columns, a, l), s.onClick?.(g);
31112
31116
  };
31113
31117
  if (u.disableColumnSelector)
@@ -31247,7 +31251,7 @@ const J$ = (e) => {
31247
31251
  }), _p = Me(function(t, o) {
31248
31252
  const {
31249
31253
  slotProps: r = {}
31250
- } = t, s = r.button || {}, i = r.tooltip || {}, l = r.badge || {}, a = Fe(), c = Ce(), u = J(a, cc), d = J(a, ao), f = J(a, No), h = J$(c), m = Ye(), y = Ye(), {
31254
+ } = t, s = r.button || {}, i = r.tooltip || {}, l = r.badge || {}, a = Fe(), c = Ce(), u = J(a, cc), d = J(a, ao), f = J(a, Fo), h = J$(c), m = Ye(), y = Ye(), {
31251
31255
  filterPanelTriggerRef: g
31252
31256
  } = dl(), w = rt(o, g), x = p.useMemo(() => {
31253
31257
  if (f.open)
@@ -31985,7 +31989,7 @@ const gL = ["render", "className", "onClick", "onPointerUp"], wc = Me(function(t
31985
31989
  className: s,
31986
31990
  onClick: i,
31987
31991
  onPointerUp: l
31988
- } = t, a = me(t, gL), c = Ce(), u = Ye(), d = Ye(), f = Fe(), h = J(f, No), m = h.open && h.openedPanelValue === Xt.filters, g = J(f, cc).length, w = {
31992
+ } = t, a = me(t, gL), c = Ce(), u = Ye(), d = Ye(), f = Fe(), h = J(f, Fo), m = h.open && h.openedPanelValue === Xt.filters, g = J(f, cc).length, w = {
31989
31993
  open: m,
31990
31994
  filterCount: g
31991
31995
  }, x = typeof s == "function" ? s(w) : s, {
@@ -32039,7 +32043,7 @@ const mL = ["render", "className", "onClick", "onPointerUp"], xc = Me(function(t
32039
32043
  className: s,
32040
32044
  onClick: i,
32041
32045
  onPointerUp: l
32042
- } = t, a = me(t, mL), c = Ce(), u = Ye(), d = Ye(), f = Fe(), h = J(f, No), m = h.open && h.openedPanelValue === Xt.columns, y = {
32046
+ } = t, a = me(t, mL), c = Ce(), u = Ye(), d = Ye(), f = Fe(), h = J(f, Fo), m = h.open && h.openedPanelValue === Xt.columns, y = {
32043
32047
  open: m
32044
32048
  }, g = typeof s == "function" ? s(y) : s, {
32045
32049
  columnsPanelTriggerRef: w
@@ -32202,7 +32206,7 @@ const CL = ["className"], vL = ["className"], Tv = (e) => {
32202
32206
  divider: ["toolbarDivider"],
32203
32207
  label: ["toolbarLabel"]
32204
32208
  }, je, t);
32205
- }, wL = nt($o, {
32209
+ }, wL = nt(Lo, {
32206
32210
  name: "MuiDataGrid",
32207
32211
  slot: "ToolbarDivider"
32208
32212
  })({
@@ -32525,7 +32529,7 @@ const IL = ["skeletonRowsCount", "visibleColumns", "showFirstRowBorder"], OL = n
32525
32529
  slots: s
32526
32530
  } = r, i = Yt(), l = RL({
32527
32531
  classes: r.classes
32528
- }), a = p.useRef(null), c = rt(a, o), u = Fe(), d = J(u, ft), f = J(u, As), h = J(u, Lo), m = p.useMemo(() => h.filter((T) => T <= f).length, [f, h]), {
32532
+ }), a = p.useRef(null), c = rt(a, o), u = Fe(), d = J(u, ft), f = J(u, As), h = J(u, jo), m = p.useMemo(() => h.filter((T) => T <= f).length, [f, h]), {
32529
32533
  skeletonRowsCount: y,
32530
32534
  visibleColumns: g,
32531
32535
  showFirstRowBorder: w
@@ -32570,7 +32574,7 @@ const IL = ["skeletonRowsCount", "visibleColumns", "showFirstRowBorder"], OL = n
32570
32574
  const {
32571
32575
  colDef: R,
32572
32576
  width: C
32573
- } = T, O = a.current?.querySelectorAll(`[data-field="${Ao(R.field)}"]`);
32577
+ } = T, O = a.current?.querySelectorAll(`[data-field="${Vo(R.field)}"]`);
32574
32578
  if (!O)
32575
32579
  throw new Error("MUI X: Expected skeleton cells to be defined with `data-field` attribute.");
32576
32580
  const L = S.findIndex((_) => _.field === R.field), j = P(R.field), H = j === Je.LEFT, $ = j === Je.RIGHT, N = getComputedStyle(O[0]).getPropertyValue("--width"), A = parseInt(N, 10) - C;
@@ -32682,7 +32686,7 @@ process.env.NODE_ENV !== "production" && (Jp.propTypes = {
32682
32686
  // ----------------------------------------------------------------------
32683
32687
  sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
32684
32688
  });
32685
- const DL = te($o)({
32689
+ const DL = te(Lo)({
32686
32690
  maxHeight: "calc(100% + 1px)",
32687
32691
  // border width
32688
32692
  flexGrow: 1
@@ -32802,7 +32806,7 @@ const jL = ["selected", "rowId", "row", "index", "style", "rowHeight", "classNam
32802
32806
  onMouseLeave: C,
32803
32807
  onMouseOut: O,
32804
32808
  onMouseOver: L
32805
- } = t, j = me(t, jL), H = nn(), $ = oc(), N = p.useRef(null), A = Ce(), _ = gc(H), G = J(H, Wt), k = J(H, cr), F = J(H, Lo), B = A.rowReordering, U = J(H, AL, B), z = rt(N, o), q = dn(H, s), W = J(H, zC, {
32809
+ } = t, j = me(t, jL), H = nn(), $ = oc(), N = p.useRef(null), A = Ce(), _ = gc(H), G = J(H, Wt), k = J(H, cr), F = J(H, jo), B = A.rowReordering, U = J(H, AL, B), z = rt(N, o), q = dn(H, s), W = J(H, zC, {
32806
32810
  rowId: s,
32807
32811
  editMode: A.editMode
32808
32812
  }), Q = A.editMode === Co.Row, Z = w !== void 0, X = Z && w >= f.left.length && w < y, Y = Z && w < d.length - f.right.length && w >= g, re = LL(A.classes, {
@@ -33342,7 +33346,7 @@ async function gj(e) {
33342
33346
  return;
33343
33347
  const {
33344
33348
  default: t
33345
- } = await import("./get-context-CEzl7GxY.js"), o = await t();
33349
+ } = await import("./get-context-BjNVt0BI.js"), o = await t();
33346
33350
  if (!e || !hj(o))
33347
33351
  return;
33348
33352
  const r = E({}, e, {
@@ -33926,7 +33930,7 @@ function Tj(e) {
33926
33930
  ue.currentTarget.contains(ue.target) && ue.target.getAttribute("id") !== q && ue.preventDefault();
33927
33931
  }, Jt = (ue) => {
33928
33932
  ue.currentTarget.contains(ue.target) && (X.current.focus(), U && Z.current && X.current.selectionEnd - X.current.selectionStart === 0 && X.current.select(), Z.current = !1);
33929
- }, Vo = (ue) => {
33933
+ }, _o = (ue) => {
33930
33934
  !m && (Te === "" || !de) && Ur(ue);
33931
33935
  };
33932
33936
  let Xs = v && Te.length > 0;
@@ -33962,7 +33966,7 @@ function Tj(e) {
33962
33966
  onBlur: dr,
33963
33967
  onFocus: Rc,
33964
33968
  onChange: Ws,
33965
- onMouseDown: Vo,
33969
+ onMouseDown: _o,
33966
33970
  // if open then this is handled imperatively so don't let react override
33967
33971
  // only have an opinion about this when closed
33968
33972
  "aria-activedescendant": ve ? "" : null,
@@ -34849,14 +34853,14 @@ const jj = (e) => {
34849
34853
  minWidth: 30
34850
34854
  }
34851
34855
  },
34852
- [`& .${Wo.root}`]: {
34856
+ [`& .${Ko.root}`]: {
34853
34857
  paddingBottom: 1,
34854
34858
  "& .MuiInput-input": {
34855
34859
  padding: "4px 4px 4px 0px"
34856
34860
  }
34857
34861
  },
34858
- [`& .${Wo.root}.${Kt.sizeSmall}`]: {
34859
- [`& .${Wo.input}`]: {
34862
+ [`& .${Ko.root}.${Kt.sizeSmall}`]: {
34863
+ [`& .${Ko.input}`]: {
34860
34864
  padding: "2px 4px 3px 0"
34861
34865
  }
34862
34866
  },
@@ -35233,7 +35237,7 @@ const jj = (e) => {
35233
35237
  inputFocused: We === -1,
35234
35238
  popupOpen: Zt,
35235
35239
  size: be
35236
- }, Jt = jj(Qt), Vo = {
35240
+ }, Jt = jj(Qt), _o = {
35237
35241
  slots: {
35238
35242
  paper: ae,
35239
35243
  popper: Ge,
@@ -35247,19 +35251,19 @@ const jj = (e) => {
35247
35251
  }
35248
35252
  }, [Xs, ml] = Xe("listbox", {
35249
35253
  elementType: Uj,
35250
- externalForwardedProps: Vo,
35254
+ externalForwardedProps: _o,
35251
35255
  ownerState: Qt,
35252
35256
  className: Jt.listbox,
35253
35257
  additionalProps: gl,
35254
35258
  ref: kc
35255
35259
  }), [ue, ie] = Xe("paper", {
35256
35260
  elementType: Ls,
35257
- externalForwardedProps: Vo,
35261
+ externalForwardedProps: _o,
35258
35262
  ownerState: Qt,
35259
35263
  className: Jt.paper
35260
35264
  }), [Oe, ot] = Xe("popper", {
35261
35265
  elementType: js,
35262
- externalForwardedProps: Vo,
35266
+ externalForwardedProps: _o,
35263
35267
  ownerState: Qt,
35264
35268
  className: Jt.popper,
35265
35269
  additionalProps: {
@@ -35278,19 +35282,19 @@ const jj = (e) => {
35278
35282
  disabled: S,
35279
35283
  ...dt(pt)
35280
35284
  });
35281
- if (Q ? $t.length > 0 && (de ? He = de($t, Ct, Qt) : pe ? He = pe($t, Ct, Qt) : He = $t.map((pt, _o) => {
35285
+ if (Q ? $t.length > 0 && (de ? He = de($t, Ct, Qt) : pe ? He = pe($t, Ct, Qt) : He = $t.map((pt, Ho) => {
35282
35286
  const {
35283
- key: Ho,
35287
+ key: Bo,
35284
35288
  ...Qs
35285
35289
  } = Ct({
35286
- index: _o
35290
+ index: Ho
35287
35291
  });
35288
35292
  return /* @__PURE__ */ b.jsx(Pc, {
35289
35293
  label: Ur(pt),
35290
35294
  size: be,
35291
35295
  ...Qs,
35292
- ...Vo.slotProps.chip
35293
- }, Ho);
35296
+ ..._o.slotProps.chip
35297
+ }, Bo);
35294
35298
  })) : pe && $t != null && (He = pe($t, Ct, Qt)), B > -1 && Array.isArray(He)) {
35295
35299
  const pt = He.length - B;
35296
35300
  !rn && pt > 0 && (He = He.splice(0, B), He.push(/* @__PURE__ */ b.jsx("span", {
@@ -35309,29 +35313,29 @@ const jj = (e) => {
35309
35313
  ownerState: Qt,
35310
35314
  children: pt.children
35311
35315
  })]
35312
- }, pt.key)), Qw = Le || ((pt, _o) => {
35316
+ }, pt.key)), Qw = Le || ((pt, Ho) => {
35313
35317
  const {
35314
- key: Ho,
35318
+ key: Bo,
35315
35319
  ...Qs
35316
35320
  } = pt;
35317
35321
  return /* @__PURE__ */ b.jsx("li", {
35318
35322
  ...Qs,
35319
- children: Ur(_o)
35320
- }, Ho);
35321
- }), vf = (pt, _o) => {
35322
- const Ho = on({
35323
+ children: Ur(Ho)
35324
+ }, Bo);
35325
+ }), vf = (pt, Ho) => {
35326
+ const Bo = on({
35323
35327
  option: pt,
35324
- index: _o
35328
+ index: Ho
35325
35329
  });
35326
35330
  return Qw({
35327
- ...Ho,
35331
+ ...Bo,
35328
35332
  className: Jt.option
35329
35333
  }, pt, {
35330
- selected: Ho["aria-selected"],
35331
- index: _o,
35334
+ selected: Bo["aria-selected"],
35335
+ index: Ho,
35332
35336
  inputValue: Rc
35333
35337
  }, Qt);
35334
- }, wf = Vo.slotProps.clearIndicator, xf = Vo.slotProps.popupIndicator;
35338
+ }, wf = _o.slotProps.clearIndicator, xf = _o.slotProps.popupIndicator;
35335
35339
  return /* @__PURE__ */ b.jsxs(p.Fragment, {
35336
35340
  children: [/* @__PURE__ */ b.jsx(Aj, {
35337
35341
  ref: o,
@@ -35404,11 +35408,11 @@ const jj = (e) => {
35404
35408
  }) : null, dr.length > 0 ? /* @__PURE__ */ b.jsx(Xs, {
35405
35409
  as: U,
35406
35410
  ...ml,
35407
- children: dr.map((pt, _o) => A ? gn({
35411
+ children: dr.map((pt, Ho) => A ? gn({
35408
35412
  key: pt.key,
35409
35413
  group: pt.group,
35410
- children: pt.options.map((Ho, Qs) => vf(Ho, pt.index + Qs))
35411
- }) : vf(pt, _o))
35414
+ children: pt.options.map((Bo, Qs) => vf(Bo, pt.index + Qs))
35415
+ }) : vf(pt, Ho))
35412
35416
  }) : null]
35413
35417
  })
35414
35418
  }) : null]
@@ -35893,7 +35897,7 @@ function Xj(e) {
35893
35897
  function Yj(e) {
35894
35898
  return Ae("MuiBadge", e);
35895
35899
  }
35896
- const zo = Ve("MuiBadge", [
35900
+ const qo = Ve("MuiBadge", [
35897
35901
  "root",
35898
35902
  "badge",
35899
35903
  "dot",
@@ -36003,7 +36007,7 @@ const zo = Ve("MuiBadge", [
36003
36007
  right: 0,
36004
36008
  transform: "scale(1) translate(50%, -50%)",
36005
36009
  transformOrigin: "100% 0%",
36006
- [`&.${zo.invisible}`]: {
36010
+ [`&.${qo.invisible}`]: {
36007
36011
  transform: "scale(0) translate(50%, -50%)"
36008
36012
  }
36009
36013
  }
@@ -36016,7 +36020,7 @@ const zo = Ve("MuiBadge", [
36016
36020
  right: 0,
36017
36021
  transform: "scale(1) translate(50%, 50%)",
36018
36022
  transformOrigin: "100% 100%",
36019
- [`&.${zo.invisible}`]: {
36023
+ [`&.${qo.invisible}`]: {
36020
36024
  transform: "scale(0) translate(50%, 50%)"
36021
36025
  }
36022
36026
  }
@@ -36029,7 +36033,7 @@ const zo = Ve("MuiBadge", [
36029
36033
  left: 0,
36030
36034
  transform: "scale(1) translate(-50%, -50%)",
36031
36035
  transformOrigin: "0% 0%",
36032
- [`&.${zo.invisible}`]: {
36036
+ [`&.${qo.invisible}`]: {
36033
36037
  transform: "scale(0) translate(-50%, -50%)"
36034
36038
  }
36035
36039
  }
@@ -36042,7 +36046,7 @@ const zo = Ve("MuiBadge", [
36042
36046
  left: 0,
36043
36047
  transform: "scale(1) translate(-50%, 50%)",
36044
36048
  transformOrigin: "0% 100%",
36045
- [`&.${zo.invisible}`]: {
36049
+ [`&.${qo.invisible}`]: {
36046
36050
  transform: "scale(0) translate(-50%, 50%)"
36047
36051
  }
36048
36052
  }
@@ -36055,7 +36059,7 @@ const zo = Ve("MuiBadge", [
36055
36059
  right: "14%",
36056
36060
  transform: "scale(1) translate(50%, -50%)",
36057
36061
  transformOrigin: "100% 0%",
36058
- [`&.${zo.invisible}`]: {
36062
+ [`&.${qo.invisible}`]: {
36059
36063
  transform: "scale(0) translate(50%, -50%)"
36060
36064
  }
36061
36065
  }
@@ -36068,7 +36072,7 @@ const zo = Ve("MuiBadge", [
36068
36072
  right: "14%",
36069
36073
  transform: "scale(1) translate(50%, 50%)",
36070
36074
  transformOrigin: "100% 100%",
36071
- [`&.${zo.invisible}`]: {
36075
+ [`&.${qo.invisible}`]: {
36072
36076
  transform: "scale(0) translate(50%, 50%)"
36073
36077
  }
36074
36078
  }
@@ -36081,7 +36085,7 @@ const zo = Ve("MuiBadge", [
36081
36085
  left: "14%",
36082
36086
  transform: "scale(1) translate(-50%, -50%)",
36083
36087
  transformOrigin: "0% 0%",
36084
- [`&.${zo.invisible}`]: {
36088
+ [`&.${qo.invisible}`]: {
36085
36089
  transform: "scale(0) translate(-50%, -50%)"
36086
36090
  }
36087
36091
  }
@@ -36094,7 +36098,7 @@ const zo = Ve("MuiBadge", [
36094
36098
  left: "14%",
36095
36099
  transform: "scale(1) translate(-50%, 50%)",
36096
36100
  transformOrigin: "0% 100%",
36097
- [`&.${zo.invisible}`]: {
36101
+ [`&.${qo.invisible}`]: {
36098
36102
  transform: "scale(0) translate(-50%, 50%)"
36099
36103
  }
36100
36104
  }
@@ -36385,7 +36389,7 @@ const ju = 4, Au = Qn`
36385
36389
  bar2: ["bar", "bar2", o !== "buffer" && `barColor${oe(r)}`, o === "buffer" && `color${oe(r)}`, (o === "indeterminate" || o === "query") && "bar2Indeterminate", o === "buffer" && "bar2Buffer"]
36386
36390
  };
36387
36391
  return he(s, eA, t);
36388
- }, of = (e, t) => e.vars ? e.vars.palette.LinearProgress[`${t}Bg`] : e.palette.mode === "light" ? Mo(e.palette[t].main, 0.62) : Ro(e.palette[t].main, 0.5), sA = te("span", {
36392
+ }, of = (e, t) => e.vars ? e.vars.palette.LinearProgress[`${t}Bg`] : e.palette.mode === "light" ? ko(e.palette[t].main, 0.62) : Mo(e.palette[t].main, 0.5), sA = te("span", {
36389
36393
  name: "MuiLinearProgress",
36390
36394
  slot: "Root",
36391
36395
  overridesResolver: (e, t) => {
@@ -36855,7 +36859,7 @@ const mn = Ve("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "color
36855
36859
  }
36856
36860
  },
36857
36861
  [`&.${mn.disabled}`]: {
36858
- color: e.vars ? e.vars.palette.Switch[`${t}DisabledColor`] : `${e.palette.mode === "light" ? Mo(e.palette[t].main, 0.62) : Ro(e.palette[t].main, 0.55)}`
36862
+ color: e.vars ? e.vars.palette.Switch[`${t}DisabledColor`] : `${e.palette.mode === "light" ? ko(e.palette[t].main, 0.62) : Mo(e.palette[t].main, 0.55)}`
36859
36863
  }
36860
36864
  },
36861
36865
  [`&.${mn.checked} + .${mn.track}`]: {
@@ -37161,7 +37165,7 @@ const mA = (e, t) => {
37161
37165
  position: u,
37162
37166
  variant: d,
37163
37167
  ...f
37164
- } = r, h = Fo() || {};
37168
+ } = r, h = $o() || {};
37165
37169
  let m = d;
37166
37170
  d && h.variant && process.env.NODE_ENV !== "production" && d === h.variant && console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."), h && !m && (m = h.variant);
37167
37171
  const y = {
@@ -37678,7 +37682,7 @@ function kA(e) {
37678
37682
  return e.vars ? e.vars.shape.borderRadius : typeof e.shape.borderRadius == "number" ? `${e.shape.borderRadius}px` : e.shape.borderRadius;
37679
37683
  }
37680
37684
  function DA(e) {
37681
- return e.vars ? e.vars.palette.TableCell.border : e.palette.mode === "light" ? Mo(Ke(e.palette.divider, 1), 0.88) : Ro(Ke(e.palette.divider, 1), 0.68);
37685
+ return e.vars ? e.vars.palette.TableCell.border : e.palette.mode === "light" ? ko(Ke(e.palette.divider, 1), 0.88) : Mo(Ke(e.palette.divider, 1), 0.68);
37682
37686
  }
37683
37687
  function NA(e, t) {
37684
37688
  return `rgba(from ${e} r g b / ${t})`;
@@ -38724,7 +38728,7 @@ function _V(e, t) {
38724
38728
  o.debug("Updating columns state."), e.current.setState(HV(C)), e.current.publishEvent("columnsChange", C.orderedFields);
38725
38729
  }, [o, e]), i = p.useCallback((C) => ao(e)[C], [e]), l = p.useCallback(() => Wn(e), [e]), a = p.useCallback(() => Tt(e), [e]), c = p.useCallback((C, O = !0) => (O ? Tt(e) : Wn(e)).findIndex((j) => j.field === C), [e]), u = p.useCallback((C) => {
38726
38730
  const O = c(C);
38727
- return Lo(e)[O];
38731
+ return jo(e)[O];
38728
38732
  }, [e, c]), d = p.useCallback((C) => {
38729
38733
  zn(e) !== C && (e.current.setState((L) => E({}, L, {
38730
38734
  columns: is({
@@ -40104,7 +40108,7 @@ const r_ = it(al, Br, (e, t) => (t.top || []).concat(e.rows, t.bottom || [])), s
40104
40108
  if (!a.preferencePanel.open)
40105
40109
  return a;
40106
40110
  o.debug("Hiding Preferences Panel");
40107
- const c = No(e);
40111
+ const c = Fo(e);
40108
40112
  return e.current.publishEvent("preferencePanelClose", {
40109
40113
  openedPanelValue: c.openedPanelValue
40110
40114
  }), E({}, a, {
@@ -40130,7 +40134,7 @@ const r_ = it(al, Br, (e, t) => (t.top || []).concat(e.rows, t.bottom || [])), s
40130
40134
  hidePreferences: r
40131
40135
  }, "public");
40132
40136
  const i = p.useCallback((a, c) => {
40133
- const u = No(e);
40137
+ const u = Fo(e);
40134
40138
  return (
40135
40139
  // Always export if the `exportOnlyDirtyModels` property is not activated
40136
40140
  !c.exportOnlyDirtyModels || // Always export if the panel was initialized
@@ -40473,7 +40477,7 @@ const r_ = it(al, Br, (e, t) => (t.top || []).concat(e.rows, t.bottom || [])), s
40473
40477
  return;
40474
40478
  const B = e.current.getRowParams(k.id), U = E({}, B, {
40475
40479
  field: k.field,
40476
- reason: qo.cellDoubleClick
40480
+ reason: Uo.cellDoubleClick
40477
40481
  });
40478
40482
  e.current.publishEvent("rowEditStart", U, F);
40479
40483
  }, [e]), v = p.useCallback((k) => {
@@ -40527,7 +40531,7 @@ const r_ = it(al, Br, (e, t) => (t.top || []).concat(e.rows, t.bottom || [])), s
40527
40531
  editMode: "row"
40528
40532
  }))
40529
40533
  return;
40530
- if (By(F) || zy(F) ? B = qo.printableKeyDown : F.key === "Enter" ? B = qo.enterKeyDown : (F.key === "Backspace" || F.key === "Delete") && (B = qo.deleteKeyDown), B) {
40534
+ if (By(F) || zy(F) ? B = Uo.printableKeyDown : F.key === "Enter" ? B = Uo.enterKeyDown : (F.key === "Backspace" || F.key === "Delete") && (B = Uo.deleteKeyDown), B) {
40531
40535
  const z = e.current.getRowParams(k.id), q = E({}, z, {
40532
40536
  field: k.field,
40533
40537
  reason: B
@@ -40544,7 +40548,7 @@ const r_ = it(al, Br, (e, t) => (t.top || []).concat(e.rows, t.bottom || [])), s
40544
40548
  id: F,
40545
40549
  fieldToFocus: B
40546
40550
  };
40547
- (U === qo.printableKeyDown || U === qo.deleteKeyDown) && (z.deleteValue = !!B), e.current.startRowEditMode(z);
40551
+ (U === Uo.printableKeyDown || U === Uo.deleteKeyDown) && (z.deleteValue = !!B), e.current.startRowEditMode(z);
40548
40552
  }, [e]), M = p.useCallback((k) => {
40549
40553
  const {
40550
40554
  id: F,
@@ -40905,7 +40909,7 @@ const r_ = it(al, Br, (e, t) => (t.top || []).concat(e.rows, t.bottom || [])), s
40905
40909
  return A && Ds(A) ? {
40906
40910
  [kr]: $
40907
40911
  } : null;
40908
- }, [e]), a = p.useCallback(($) => jo(e, $), [e]), c = p.useCallback(({
40912
+ }, [e]), a = p.useCallback(($) => Ao(e, $), [e]), c = p.useCallback(({
40909
40913
  cache: $,
40910
40914
  throttle: N
40911
40915
  }) => {
@@ -41377,7 +41381,7 @@ const Ri = {
41377
41381
  const U = oo(e), z = {
41378
41382
  type: U.type,
41379
41383
  ids: new Set(U.ids)
41380
- }, q = Ko(z);
41384
+ }, q = Xo(z);
41381
41385
  q.unselect(k);
41382
41386
  const W = (X) => {
41383
41387
  q.select(X);
@@ -41401,7 +41405,7 @@ const Ri = {
41401
41405
  type: "include",
41402
41406
  ids: U
41403
41407
  }, F) {
41404
- const Q = Ko(q);
41408
+ const Q = Xo(q);
41405
41409
  if (s) {
41406
41410
  const Z = (X) => {
41407
41411
  Q.select(X);
@@ -41418,7 +41422,7 @@ const Ri = {
41418
41422
  type: z.type,
41419
41423
  ids: new Set(z.ids)
41420
41424
  };
41421
- const Q = Ko(q), Z = (Y) => {
41425
+ const Q = Xo(q), Z = (Y) => {
41422
41426
  Q.select(Y);
41423
41427
  }, X = (Y) => {
41424
41428
  Q.unselect(Y);
@@ -41433,7 +41437,7 @@ const Ri = {
41433
41437
  const F = {
41434
41438
  type: k.type,
41435
41439
  ids: new Set(k.ids)
41436
- }, B = Ko(F), U = (z) => {
41440
+ }, B = Xo(F), U = (z) => {
41437
41441
  B.select(z);
41438
41442
  };
41439
41443
  for (const z of k.ids)
@@ -41466,7 +41470,7 @@ const Ri = {
41466
41470
  const F = oo(e), B = Gn(e), U = _s(e), z = (X) => t.filterMode === "server" ? !B[X] : !B[X] || U[X] === !1, q = {
41467
41471
  type: F.type,
41468
41472
  ids: new Set(F.ids)
41469
- }, W = Ko(q);
41473
+ }, W = Xo(q);
41470
41474
  let Q = !1;
41471
41475
  for (const X of F.ids) {
41472
41476
  if (z(X)) {
@@ -41752,7 +41756,7 @@ const N_ = (e, t) => {
41752
41756
  r.debug(`Scrolling to cell at row ${f.rowIndex}, col: ${f.colIndex} `);
41753
41757
  let w = {};
41754
41758
  if (f.colIndex !== void 0) {
41755
- const x = Lo(e);
41759
+ const x = jo(e);
41756
41760
  let v;
41757
41761
  if (typeof f.rowIndex < "u") {
41758
41762
  const S = l[f.rowIndex]?.id, I = e.current.unstable_getCellColSpanInfo(S, f.colIndex);
@@ -41892,7 +41896,7 @@ const lw = {
41892
41896
  return E({}, e, {
41893
41897
  dimensions: E({}, r, cw(t, o, s, rr(o)))
41894
41898
  });
41895
- }, aw = xe(Tt, Lo, (e, t) => {
41899
+ }, aw = xe(Tt, jo, (e, t) => {
41896
41900
  const o = e.length;
41897
41901
  return o === 0 ? 0 : hs(t[o - 1] + e[o - 1].computedWidth, 1);
41898
41902
  });
@@ -42507,7 +42511,7 @@ const rH = (e, t) => {
42507
42511
  }, f = (R, C, O) => {
42508
42512
  const L = e.current.rootElementRef.current;
42509
42513
  s.initialColWidth = R.computedWidth, s.initialTotalWidth = e.current.getRootDimensions().rowWidth, s.colDef = R, s.columnHeaderElement = bF(e.current.columnHeadersContainerRef.current, R.field);
42510
- const j = L.querySelector(`.${V.headerFilterRow} [data-field="${Ao(R.field)}"]`);
42514
+ const j = L.querySelector(`.${V.headerFilterRow} [data-field="${Vo(R.field)}"]`);
42511
42515
  j && (s.headerFilterElement = j), s.groupHeaderElements = CF(e.current.columnHeadersContainerRef?.current, R.field), s.cellElements = vF(s.columnHeaderElement, e.current), s.fillerLeft = Fg(e.current, o ? "filler--pinnedRight" : "filler--pinnedLeft"), s.fillerRight = Fg(e.current, o ? "filler--pinnedLeft" : "filler--pinnedRight");
42512
42516
  const H = e.current.unstable_applyPipeProcessors("isColumnPinned", !1, s.colDef.field);
42513
42517
  s.leftPinnedCellsAfter = H !== Ut.LEFT ? [] : wF(e.current, s.columnHeaderElement, o), s.rightPinnedCellsBefore = H !== Ut.RIGHT ? [] : xF(e.current, s.columnHeaderElement, o), s.leftPinnedHeadersAfter = H !== Ut.LEFT ? [] : SF(e.current, s.columnHeaderElement, o), s.rightPinnedHeadersBefore = H !== Ut.RIGHT ? [] : EF(e.current, s.columnHeaderElement, o), l.current = J_(C, o), i.current = Y_(O, s.columnHeaderElement.getBoundingClientRect(), l.current);
@@ -43123,7 +43127,7 @@ const Qu = te("div", {
43123
43127
  columnVisibility: d,
43124
43128
  columnGroupsHeaderStructure: f,
43125
43129
  hasOtherElementInTabSequence: h
43126
- } = e, [m, y] = p.useState(""), [g, w] = p.useState(""), x = nn(), v = Ce(), S = J(x, IC), I = J(x, Lo), P = J(x, vD), M = J(x, rr), D = J(x, ao), T = LC(I, P, M.left.length), R = J(x, As), C = J(x, Wd), O = J(x, L1), L = J(x, j1), j = J(x, Kd), H = p.useCallback((W) => w(W.field), []), $ = p.useCallback(() => w(""), []), N = p.useCallback((W) => y(W.field), []), A = p.useCallback(() => y(""), []), _ = p.useMemo(() => M.left.length ? {
43130
+ } = e, [m, y] = p.useState(""), [g, w] = p.useState(""), x = nn(), v = Ce(), S = J(x, IC), I = J(x, jo), P = J(x, vD), M = J(x, rr), D = J(x, ao), T = LC(I, P, M.left.length), R = J(x, As), C = J(x, Wd), O = J(x, L1), L = J(x, j1), j = J(x, Kd), H = p.useCallback((W) => w(W.field), []), $ = p.useCallback(() => w(""), []), N = p.useCallback((W) => y(W.field), []), A = p.useCallback(() => y(""), []), _ = p.useMemo(() => M.left.length ? {
43127
43131
  firstColumnIndex: 0,
43128
43132
  lastColumnIndex: M.left.length
43129
43133
  } : null, [M.left.length]), G = p.useMemo(() => M.right.length ? {
@@ -43757,7 +43761,7 @@ const kH = (e, t) => E({}, e, {
43757
43761
  align: "left",
43758
43762
  width: 200,
43759
43763
  valueGetter: (e, t, o, r) => {
43760
- const s = jo(r, t), i = dn(r, s);
43764
+ const s = Ao(r, t), i = dn(r, s);
43761
43765
  return i?.type === "group" || i?.type === "leaf" ? i.groupingKey : void 0;
43762
43766
  }
43763
43767
  }), Oa = {
@@ -45402,7 +45406,7 @@ const mB = ["hideDescendantCount"], bB = (e, t) => {
45402
45406
  const x = rr(e);
45403
45407
  if (!w.colIndex || x.left.length === 0 && x.right.length === 0)
45404
45408
  return g;
45405
- const v = Tt(e), S = As(e), I = Lo(e), P = e.current.virtualScrollerRef.current.clientWidth, M = Math.abs(e.current.virtualScrollerRef.current.scrollLeft), D = v[w.colIndex].computedWidth, T = I[w.colIndex], R = I[x.left.length], C = S - I[I.length - x.right.length], O = T + D;
45409
+ const v = Tt(e), S = As(e), I = jo(e), P = e.current.virtualScrollerRef.current.clientWidth, M = Math.abs(e.current.virtualScrollerRef.current.scrollLeft), D = v[w.colIndex].computedWidth, T = I[w.colIndex], R = I[x.left.length], C = S - I[I.length - x.right.length], O = T + D;
45406
45410
  if (O - (P - C) > M) {
45407
45411
  const L = O - (P - C);
45408
45412
  return E({}, g, {
@@ -45563,7 +45567,7 @@ const vB = (e, t) => {
45563
45567
  align: "left",
45564
45568
  width: 40,
45565
45569
  valueGetter: (e, t, o, r) => {
45566
- const s = jo(r, t);
45570
+ const s = Ao(r, t);
45567
45571
  return Jo(r).has(s);
45568
45572
  },
45569
45573
  renderCell: (e) => /* @__PURE__ */ b.jsx(xw, E({}, e)),
@@ -46101,7 +46105,7 @@ const AB = (e, t) => {
46101
46105
  }), $.rowCount !== void 0 && e.current.setRowCount($.rowCount);
46102
46106
  const A = [];
46103
46107
  $.rows.forEach((_) => {
46104
- const G = jo(e, _);
46108
+ const G = Ao(e, _);
46105
46109
  dn(e, G) && A.push({
46106
46110
  id: G,
46107
46111
  _action: "delete"
@@ -46284,7 +46288,7 @@ const zB = {
46284
46288
  const A = $[Ze], _ = [...A.children], G = cp(e), k = typeof j.start == "string" ? Math.max(G.indexOf(j.start), 0) : j.start;
46285
46289
  let F = 0;
46286
46290
  L.rows.forEach((B) => {
46287
- const U = jo(e, B);
46291
+ const U = Ao(e, B);
46288
46292
  if ($[U] || N[U]) {
46289
46293
  const z = _.indexOf(U);
46290
46294
  if (z !== -1) {
@@ -47797,8 +47801,8 @@ const EG = mV, Dm = ({ message: e, variant: t }) => /* @__PURE__ */ b.jsxs(fu, {
47797
47801
  opacity: t.expanded ? 1 : 0,
47798
47802
  transition: e.transitions.create(["width", "opacity"])
47799
47803
  }));
47800
- function DG({ label: e, labelTooltip: t, toolbarSlot: o }) {
47801
- const [r, s] = p.useState(!1), i = p.useRef(null);
47804
+ function DG({ label: e, labelTooltip: t, toolbarSlot: o, ...r }) {
47805
+ const [s, i] = p.useState(!1), l = p.useRef(null);
47802
47806
  return /* @__PURE__ */ b.jsxs(pl, { children: [
47803
47807
  /* @__PURE__ */ b.jsxs(wn, { fontWeight: "medium", sx: { flex: 1, mx: 0.5, display: "flex", alignItems: "center", gap: 1 }, children: [
47804
47808
  e,
@@ -47812,19 +47816,19 @@ function DG({ label: e, labelTooltip: t, toolbarSlot: o }) {
47812
47816
  /* @__PURE__ */ b.jsx(Io, { title: "Filters", children: /* @__PURE__ */ b.jsx(
47813
47817
  wc,
47814
47818
  {
47815
- render: (l, a) => /* @__PURE__ */ b.jsx(mo, { ...l, color: "default", children: /* @__PURE__ */ b.jsx(nf, { badgeContent: a.filterCount, color: "primary", variant: "dot", children: /* @__PURE__ */ b.jsx(TG, { fontSize: "small" }) }) })
47819
+ render: (a, c) => /* @__PURE__ */ b.jsx(mo, { ...a, color: "default", children: /* @__PURE__ */ b.jsx(nf, { badgeContent: c.filterCount, color: "primary", variant: "dot", children: /* @__PURE__ */ b.jsx(TG, { fontSize: "small" }) }) })
47816
47820
  }
47817
47821
  ) }),
47818
47822
  /* @__PURE__ */ b.jsx(Ps, { orientation: "vertical", variant: "middle", flexItem: !0, sx: { mx: 0.5 } }),
47819
47823
  /* @__PURE__ */ b.jsx(Io, { title: "Export", children: /* @__PURE__ */ b.jsx(
47820
47824
  mo,
47821
47825
  {
47822
- ref: i,
47826
+ ref: l,
47823
47827
  id: "export-menu-trigger",
47824
47828
  "aria-controls": "export-menu",
47825
47829
  "aria-haspopup": "true",
47826
- "aria-expanded": r ? "true" : void 0,
47827
- onClick: () => s(!0),
47830
+ "aria-expanded": s ? "true" : void 0,
47831
+ onClick: () => i(!0),
47828
47832
  children: /* @__PURE__ */ b.jsx(IG, { fontSize: "small" })
47829
47833
  }
47830
47834
  ) }),
@@ -47832,9 +47836,9 @@ function DG({ label: e, labelTooltip: t, toolbarSlot: o }) {
47832
47836
  Od,
47833
47837
  {
47834
47838
  id: "export-menu",
47835
- anchorEl: i.current,
47836
- open: r,
47837
- onClose: () => s(!1),
47839
+ anchorEl: l.current,
47840
+ open: s,
47841
+ onClose: () => i(!1),
47838
47842
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
47839
47843
  transformOrigin: { vertical: "top", horizontal: "right" },
47840
47844
  slotProps: {
@@ -47843,8 +47847,8 @@ function DG({ label: e, labelTooltip: t, toolbarSlot: o }) {
47843
47847
  }
47844
47848
  },
47845
47849
  children: [
47846
- /* @__PURE__ */ b.jsx(Ec, { render: /* @__PURE__ */ b.jsx(Ts, {}), onClick: () => s(!1), children: "Print" }),
47847
- /* @__PURE__ */ b.jsx(Sc, { render: /* @__PURE__ */ b.jsx(Ts, {}), onClick: () => s(!1), children: "Download as CSV" })
47850
+ /* @__PURE__ */ b.jsx(Ec, { options: { ...r.printOptions }, render: /* @__PURE__ */ b.jsx(Ts, {}), onClick: () => i(!1), children: "Print" }),
47851
+ /* @__PURE__ */ b.jsx(Sc, { options: { fileName: e, ...r.csvOptions }, render: /* @__PURE__ */ b.jsx(Ts, {}), onClick: () => i(!1), children: "Download as CSV" })
47848
47852
  ]
47849
47853
  }
47850
47854
  ),
@@ -47852,13 +47856,13 @@ function DG({ label: e, labelTooltip: t, toolbarSlot: o }) {
47852
47856
  /* @__PURE__ */ b.jsx(
47853
47857
  vc,
47854
47858
  {
47855
- render: (l, a) => /* @__PURE__ */ b.jsx(Io, { title: "Search", enterDelay: 0, children: /* @__PURE__ */ b.jsx(
47859
+ render: (a, c) => /* @__PURE__ */ b.jsx(Io, { title: "Search", enterDelay: 0, children: /* @__PURE__ */ b.jsx(
47856
47860
  MG,
47857
47861
  {
47858
- ...l,
47859
- ownerState: { expanded: a.expanded },
47862
+ ...a,
47863
+ ownerState: { expanded: c.expanded },
47860
47864
  color: "default",
47861
- "aria-disabled": a.expanded,
47865
+ "aria-disabled": c.expanded,
47862
47866
  children: /* @__PURE__ */ b.jsx(Iu, { fontSize: "small" })
47863
47867
  }
47864
47868
  ) })
@@ -47867,19 +47871,19 @@ function DG({ label: e, labelTooltip: t, toolbarSlot: o }) {
47867
47871
  /* @__PURE__ */ b.jsx(
47868
47872
  yc,
47869
47873
  {
47870
- render: ({ ref: l, ...a }, c) => /* @__PURE__ */ b.jsx(
47874
+ render: ({ ref: a, ...c }, u) => /* @__PURE__ */ b.jsx(
47871
47875
  kG,
47872
47876
  {
47873
- ...a,
47874
- ownerState: { expanded: c.expanded },
47875
- inputRef: l,
47877
+ ...c,
47878
+ ownerState: { expanded: u.expanded },
47879
+ inputRef: a,
47876
47880
  "aria-label": "Search",
47877
47881
  placeholder: "Search...",
47878
47882
  size: "small",
47879
47883
  slotProps: {
47880
47884
  input: {
47881
47885
  startAdornment: /* @__PURE__ */ b.jsx(Pa, { position: "start", children: /* @__PURE__ */ b.jsx(Iu, { fontSize: "small" }) }),
47882
- endAdornment: c.value ? /* @__PURE__ */ b.jsx(Pa, { position: "end", children: /* @__PURE__ */ b.jsx(
47886
+ endAdornment: u.value ? /* @__PURE__ */ b.jsx(Pa, { position: "end", children: /* @__PURE__ */ b.jsx(
47883
47887
  Cc,
47884
47888
  {
47885
47889
  edge: "end",
@@ -47889,9 +47893,9 @@ function DG({ label: e, labelTooltip: t, toolbarSlot: o }) {
47889
47893
  children: /* @__PURE__ */ b.jsx(OG, { fontSize: "small" })
47890
47894
  }
47891
47895
  ) }) : null,
47892
- ...a.slotProps?.input
47896
+ ...c.slotProps?.input
47893
47897
  },
47894
- ...a.slotProps
47898
+ ...c.slotProps
47895
47899
  }
47896
47900
  }
47897
47901
  )
@@ -47931,7 +47935,7 @@ const r2 = (e) => {
47931
47935
  ), I = EG(), P = i ?? I, M = br(() => {
47932
47936
  P.current?.autosizeColumns && P.current.autosizeColumns(S);
47933
47937
  }, [P, S]);
47934
- return Xo(() => {
47938
+ return Oo(() => {
47935
47939
  M();
47936
47940
  }, [s, o, M]), a && v.length === 0 && !w.loading ? typeof a == "string" ? /* @__PURE__ */ b.jsx(Dm, { message: a, variant: "empty" }) : a : f ? /* @__PURE__ */ b.jsx(Dm, { message: `Error fetching ${m}`, variant: "error" }) : /* @__PURE__ */ b.jsx(
47937
47941
  "div",
@@ -47963,7 +47967,7 @@ const r2 = (e) => {
47963
47967
  ...d
47964
47968
  },
47965
47969
  slots: {
47966
- toolbar: () => /* @__PURE__ */ b.jsx(DG, { ...x }),
47970
+ toolbar: (T) => /* @__PURE__ */ b.jsx(DG, { ...T, ...x }),
47967
47971
  ...h
47968
47972
  },
47969
47973
  ...w
@@ -50024,13 +50028,13 @@ const kz = ({
50024
50028
  queryFn: () => zG(w),
50025
50029
  enabled: !1
50026
50030
  }), X = Bl(null);
50027
- Xo(() => (w.length === 0 ? P(null) : P([]), X.current && clearTimeout(X.current), X.current = setTimeout(() => {
50031
+ Oo(() => (w.length === 0 ? P(null) : P([]), X.current && clearTimeout(X.current), X.current = setTimeout(() => {
50028
50032
  T && !Ql(w) && F(), t === "GRCh38" ? (C && w.toLowerCase().startsWith("eh") && $(), O && w.toLowerCase().startsWith("eh") && _(), R && w.toLowerCase().startsWith("rs") && z(), j && !Ql(w) && w !== "" && Q()) : O && w.toLowerCase().startsWith("em") && _();
50029
50033
  }, 100), () => {
50030
50034
  X.current && clearTimeout(X.current);
50031
- }), [w]), Xo(() => {
50035
+ }), [w]), Oo(() => {
50032
50036
  D(N || G || B || q || Z);
50033
- }, [N, G, B, q, Z]), Xo(() => {
50037
+ }, [N, G, B, q, Z]), Oo(() => {
50034
50038
  if (M) return;
50035
50039
  const ee = [];
50036
50040
  k && T && ee.push(...WG(k, s || 3)), t === "GRCh38" ? (H && C && w.toLowerCase().startsWith("eh") && ee.push(...XG(H.data.iCREQuery, l || 3)), A && O && w.toLowerCase().startsWith("eh") && ee.push(...Nm(A.data.cCREAutocompleteQuery, a || 3)), U && R && w.toLowerCase().startsWith("rs") && ee.push(...UG(U.data.snpAutocompleteQuery, i || 3)), W && j && ee.push(...KG(W.data.getAllGwasStudies, s || 3))) : A && O && w.toLowerCase().startsWith("em") && ee.push(...Nm(A.data.cCREAutocompleteQuery, a || 3)), Ql(w) && L && ee.push(...qG(w, t)), ee.length === 0 ? P(null) : P(ee);
@@ -50054,7 +50058,7 @@ const kz = ({
50054
50058
  a,
50055
50059
  i,
50056
50060
  c
50057
- ]), Xo(() => {
50061
+ ]), Oo(() => {
50058
50062
  x(""), S(null);
50059
50063
  }, [t]);
50060
50064
  const Y = br(() => {
@@ -50287,7 +50291,7 @@ export {
50287
50291
  Gr as bj,
50288
50292
  ps as bk,
50289
50293
  rr as bl,
50290
- Lo as bm,
50294
+ jo as bm,
50291
50295
  jy as bn,
50292
50296
  Ay as bo,
50293
50297
  RM as bp,
@@ -50349,7 +50353,7 @@ export {
50349
50353
  Mk as cg,
50350
50354
  CC as ch,
50351
50355
  al as ci,
50352
- No as cj,
50356
+ Fo as cj,
50353
50357
  Xt as ck,
50354
50358
  ol as cl,
50355
50359
  aM as cm,
@@ -50405,15 +50409,15 @@ export {
50405
50409
  Sw as dY,
50406
50410
  Ew as dZ,
50407
50411
  WH as d_,
50408
- jo as da,
50409
- Ko as db,
50412
+ Ao as da,
50413
+ Xo as db,
50410
50414
  Co as dc,
50411
50415
  ut as dd,
50412
50416
  xt as de,
50413
50417
  yn as df,
50414
50418
  Eo as dg,
50415
50419
  no as dh,
50416
- qo as di,
50420
+ Uo as di,
50417
50421
  uo as dj,
50418
50422
  Ny as dk,
50419
50423
  _L as dl,
@@ -50457,4 +50461,4 @@ export {
50457
50461
  KN as y,
50458
50462
  Tp as z
50459
50463
  };
50460
- //# sourceMappingURL=index-DgtxGmbU.js.map
50464
+ //# sourceMappingURL=index-c-HJw6sw.js.map