@epam/ai-dial-ui-kit 0.13.0-dev.50 → 0.13.0-dev.51

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.
@@ -74,7 +74,7 @@ function CS() {
74
74
  return "Suspense";
75
75
  case R:
76
76
  return "SuspenseList";
77
- case k:
77
+ case T:
78
78
  return "Activity";
79
79
  }
80
80
  if (typeof H == "object")
@@ -133,14 +133,14 @@ function CS() {
133
133
  }
134
134
  }
135
135
  function n() {
136
- var H = I.A;
136
+ var H = k.A;
137
137
  return H === null ? null : H.getOwner();
138
138
  }
139
139
  function o() {
140
140
  return Error("react-stack-top-frame");
141
141
  }
142
142
  function r(H) {
143
- if (T.call(H, "key")) {
143
+ if (I.call(H, "key")) {
144
144
  var U = Object.getOwnPropertyDescriptor(H, "key").get;
145
145
  if (U && U.isReactWarning) return !1;
146
146
  }
@@ -210,7 +210,7 @@ function CS() {
210
210
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
211
211
  );
212
212
  else u(ge);
213
- if (T.call(U, "key")) {
213
+ if (I.call(U, "key")) {
214
214
  ge = e(H);
215
215
  var Me = Object.keys(U).filter(function(pe) {
216
216
  return pe !== "key";
@@ -251,7 +251,7 @@ React keys must be passed directly to JSX without using spread:
251
251
  function p(H) {
252
252
  return typeof H == "object" && H !== null && H.$$typeof === f;
253
253
  }
254
- var g = J, f = /* @__PURE__ */ Symbol.for("react.transitional.element"), m = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), C = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), b = /* @__PURE__ */ Symbol.for("react.consumer"), x = /* @__PURE__ */ Symbol.for("react.context"), y = /* @__PURE__ */ Symbol.for("react.forward_ref"), S = /* @__PURE__ */ Symbol.for("react.suspense"), R = /* @__PURE__ */ Symbol.for("react.suspense_list"), F = /* @__PURE__ */ Symbol.for("react.memo"), D = /* @__PURE__ */ Symbol.for("react.lazy"), k = /* @__PURE__ */ Symbol.for("react.activity"), E = /* @__PURE__ */ Symbol.for("react.client.reference"), I = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, T = Object.prototype.hasOwnProperty, O = Array.isArray, A = console.createTask ? console.createTask : function() {
254
+ var g = J, f = /* @__PURE__ */ Symbol.for("react.transitional.element"), m = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), C = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), b = /* @__PURE__ */ Symbol.for("react.consumer"), x = /* @__PURE__ */ Symbol.for("react.context"), y = /* @__PURE__ */ Symbol.for("react.forward_ref"), S = /* @__PURE__ */ Symbol.for("react.suspense"), R = /* @__PURE__ */ Symbol.for("react.suspense_list"), F = /* @__PURE__ */ Symbol.for("react.memo"), D = /* @__PURE__ */ Symbol.for("react.lazy"), T = /* @__PURE__ */ Symbol.for("react.activity"), E = /* @__PURE__ */ Symbol.for("react.client.reference"), k = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = Object.prototype.hasOwnProperty, O = Array.isArray, A = console.createTask ? console.createTask : function() {
255
255
  return null;
256
256
  };
257
257
  g = {
@@ -264,7 +264,7 @@ React keys must be passed directly to JSX without using spread:
264
264
  o
265
265
  )(), Y = A(i(o)), G = {};
266
266
  Gr.Fragment = v, Gr.jsx = function(H, U, Q) {
267
- var se = 1e4 > I.recentlyCreatedOwnerStacks++;
267
+ var se = 1e4 > k.recentlyCreatedOwnerStacks++;
268
268
  return d(
269
269
  H,
270
270
  U,
@@ -274,7 +274,7 @@ React keys must be passed directly to JSX without using spread:
274
274
  se ? A(i(H)) : Y
275
275
  );
276
276
  }, Gr.jsxs = function(H, U, Q) {
277
- var se = 1e4 > I.recentlyCreatedOwnerStacks++;
277
+ var se = 1e4 > k.recentlyCreatedOwnerStacks++;
278
278
  return d(
279
279
  H,
280
280
  U,
@@ -595,9 +595,9 @@ const bS = (e, t) => {
595
595
  "bottom-left",
596
596
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
597
597
  "left-bottom"
598
- ], y = () => [...x(), De, Ee], S = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], F = () => [De, Ee, l], D = () => [Ni, "full", "auto", ...F()], k = () => [Oi, "none", "subgrid", De, Ee], E = () => ["auto", {
598
+ ], y = () => [...x(), De, Ee], S = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], F = () => [De, Ee, l], D = () => [Ni, "full", "auto", ...F()], T = () => [Oi, "none", "subgrid", De, Ee], E = () => ["auto", {
599
599
  span: ["full", Oi, De, Ee]
600
- }, Oi, De, Ee], I = () => [Oi, "auto", De, Ee], T = () => ["auto", "min", "max", "fr", De, Ee], O = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], A = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], V = () => ["auto", ...F()], _ = () => [Ni, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...F()], B = () => [Ni, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...F()], Y = () => [Ni, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...F()], G = () => [e, De, Ee], H = () => [...x(), Vf, Gf, {
600
+ }, Oi, De, Ee], k = () => [Oi, "auto", De, Ee], I = () => ["auto", "min", "max", "fr", De, Ee], O = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], A = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], V = () => ["auto", ...F()], _ = () => [Ni, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...F()], B = () => [Ni, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...F()], Y = () => [Ni, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...F()], G = () => [e, De, Ee], H = () => [...x(), Vf, Gf, {
601
601
  position: [De, Ee]
602
602
  }], U = () => ["no-repeat", {
603
603
  repeat: ["", "x", "y", "space", "round"]
@@ -949,7 +949,7 @@ const bS = (e, t) => {
949
949
  * @see https://tailwindcss.com/docs/grid-template-columns
950
950
  */
951
951
  "grid-cols": [{
952
- "grid-cols": k()
952
+ "grid-cols": T()
953
953
  }],
954
954
  /**
955
955
  * Grid Column Start / End
@@ -963,21 +963,21 @@ const bS = (e, t) => {
963
963
  * @see https://tailwindcss.com/docs/grid-column
964
964
  */
965
965
  "col-start": [{
966
- "col-start": I()
966
+ "col-start": k()
967
967
  }],
968
968
  /**
969
969
  * Grid Column End
970
970
  * @see https://tailwindcss.com/docs/grid-column
971
971
  */
972
972
  "col-end": [{
973
- "col-end": I()
973
+ "col-end": k()
974
974
  }],
975
975
  /**
976
976
  * Grid Template Rows
977
977
  * @see https://tailwindcss.com/docs/grid-template-rows
978
978
  */
979
979
  "grid-rows": [{
980
- "grid-rows": k()
980
+ "grid-rows": T()
981
981
  }],
982
982
  /**
983
983
  * Grid Row Start / End
@@ -991,14 +991,14 @@ const bS = (e, t) => {
991
991
  * @see https://tailwindcss.com/docs/grid-row
992
992
  */
993
993
  "row-start": [{
994
- "row-start": I()
994
+ "row-start": k()
995
995
  }],
996
996
  /**
997
997
  * Grid Row End
998
998
  * @see https://tailwindcss.com/docs/grid-row
999
999
  */
1000
1000
  "row-end": [{
1001
- "row-end": I()
1001
+ "row-end": k()
1002
1002
  }],
1003
1003
  /**
1004
1004
  * Grid Auto Flow
@@ -1012,14 +1012,14 @@ const bS = (e, t) => {
1012
1012
  * @see https://tailwindcss.com/docs/grid-auto-columns
1013
1013
  */
1014
1014
  "auto-cols": [{
1015
- "auto-cols": T()
1015
+ "auto-cols": I()
1016
1016
  }],
1017
1017
  /**
1018
1018
  * Grid Auto Rows
1019
1019
  * @see https://tailwindcss.com/docs/grid-auto-rows
1020
1020
  */
1021
1021
  "auto-rows": [{
1022
- "auto-rows": T()
1022
+ "auto-rows": I()
1023
1023
  }],
1024
1024
  /**
1025
1025
  * Gap
@@ -3847,7 +3847,7 @@ const m2 = {
3847
3847
  ),
3848
3848
  children: d ? /* @__PURE__ */ h.jsx(an, { fullWidth: !1, className: "self-center" }) : n ? w.map(([S, R]) => {
3849
3849
  if (!(S in n)) return null;
3850
- const F = n[S], D = parseFloat((R - F).toFixed(2)), k = D >= 0, E = k ? `+${D}` : String(D);
3850
+ const F = n[S], D = parseFloat((R - F).toFixed(2)), T = D >= 0, E = T ? `+${D}` : String(D);
3851
3851
  return /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-1.5", children: [
3852
3852
  /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-2", children: [
3853
3853
  /* @__PURE__ */ h.jsx("span", { className: "dial-small-text text-primary", children: S }),
@@ -3856,7 +3856,7 @@ const m2 = {
3856
3856
  {
3857
3857
  className: L(
3858
3858
  "dial-tiny-semi-text rounded-[120px] border border-transparent px-2",
3859
- k ? "bg-success text-success" : "bg-error text-error"
3859
+ T ? "bg-success text-success" : "bg-error text-error"
3860
3860
  ),
3861
3861
  children: E
3862
3862
  }
@@ -3912,11 +3912,11 @@ const m2 = {
3912
3912
  className: "cursor-pointer rounded-sm text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-primary",
3913
3913
  children: F
3914
3914
  }
3915
- ) : F, k = v?.[S];
3916
- return k ? /* @__PURE__ */ h.jsx(
3915
+ ) : F, T = v?.[S];
3916
+ return T ? /* @__PURE__ */ h.jsx(
3917
3917
  Ct,
3918
3918
  {
3919
- tooltip: k,
3919
+ tooltip: T,
3920
3920
  triggerClassName: "flex flex-col",
3921
3921
  children: D
3922
3922
  },
@@ -4853,10 +4853,10 @@ const j2 = "flex", z2 = "pb-1 mt-2", W2 = {
4853
4853
  Math.min(100, (e - t) / (s - t) * 100)
4854
4854
  ), b = gu(i), x = a ? a(e) : e.toFixed(b), y = P(
4855
4855
  (D) => {
4856
- const k = C.current;
4857
- if (!k) return e;
4858
- const E = k.getBoundingClientRect(), I = (D - E.left) / E.width, T = t + I * (s - t), O = gu(i), A = parseFloat(
4859
- (Math.round((T - t) / i) * i + t).toFixed(O)
4856
+ const T = C.current;
4857
+ if (!T) return e;
4858
+ const E = T.getBoundingClientRect(), k = (D - E.left) / E.width, I = t + k * (s - t), O = gu(i), A = parseFloat(
4859
+ (Math.round((I - t) / i) * i + t).toFixed(O)
4860
4860
  );
4861
4861
  return Math.min(s, Math.max(t, A));
4862
4862
  },
@@ -4874,27 +4874,27 @@ const j2 = "flex", z2 = "pb-1 mt-2", W2 = {
4874
4874
  ), F = P(
4875
4875
  (D) => {
4876
4876
  if (n) return;
4877
- const k = gu(i), E = (O) => parseFloat((Math.round((O - t) / i) * i + t).toFixed(k)), I = (O) => Math.min(s, Math.max(t, O));
4878
- let T = e;
4877
+ const T = gu(i), E = (O) => parseFloat((Math.round((O - t) / i) * i + t).toFixed(T)), k = (O) => Math.min(s, Math.max(t, O));
4878
+ let I = e;
4879
4879
  switch (D.key) {
4880
4880
  case "ArrowRight":
4881
4881
  case "ArrowUp":
4882
- T = I(E(e + i));
4882
+ I = k(E(e + i));
4883
4883
  break;
4884
4884
  case "ArrowLeft":
4885
4885
  case "ArrowDown":
4886
- T = I(E(e - i));
4886
+ I = k(E(e - i));
4887
4887
  break;
4888
4888
  case "Home":
4889
- T = t;
4889
+ I = t;
4890
4890
  break;
4891
4891
  case "End":
4892
- T = s;
4892
+ I = s;
4893
4893
  break;
4894
4894
  default:
4895
4895
  return;
4896
4896
  }
4897
- D.preventDefault(), T !== e && l?.(T);
4897
+ D.preventDefault(), I !== e && l?.(I);
4898
4898
  },
4899
4899
  [n, e, i, t, s, l]
4900
4900
  );
@@ -7461,17 +7461,17 @@ var vc = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(vc ||
7461
7461
  this.props.snap && this.props.snap.x && (x = cm(x, this.props.snap.x, this.props.snapGap)), this.props.snap && this.props.snap.y && (b = cm(b, this.props.snap.y, this.props.snapGap));
7462
7462
  var S = this.calculateNewSizeFromAspectRatio(x, b, { width: y.maxWidth, height: y.maxHeight }, { width: a, height: l });
7463
7463
  if (x = S.newWidth, b = S.newHeight, this.props.grid) {
7464
- var R = lm(x, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), F = lm(b, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), D = this.props.snapGap || 0, k = D === 0 || Math.abs(R - x) <= D ? R : x, E = D === 0 || Math.abs(F - b) <= D ? F : b;
7465
- x = k, b = E;
7464
+ var R = lm(x, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), F = lm(b, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), D = this.props.snapGap || 0, T = D === 0 || Math.abs(R - x) <= D ? R : x, E = D === 0 || Math.abs(F - b) <= D ? F : b;
7465
+ x = T, b = E;
7466
7466
  }
7467
- var I = {
7467
+ var k = {
7468
7468
  width: x - g.width,
7469
7469
  height: b - g.height
7470
7470
  };
7471
- if (this.delta = I, f && typeof f == "string") {
7471
+ if (this.delta = k, f && typeof f == "string") {
7472
7472
  if (f.endsWith("%")) {
7473
- var T = x / v.width * 100;
7474
- x = "".concat(T, "%");
7473
+ var I = x / v.width * 100;
7474
+ x = "".concat(I, "%");
7475
7475
  } else if (f.endsWith("vw")) {
7476
7476
  var O = x / this.window.innerWidth * 100;
7477
7477
  x = "".concat(O, "vw");
@@ -7482,8 +7482,8 @@ var vc = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(vc ||
7482
7482
  }
7483
7483
  if (m && typeof m == "string") {
7484
7484
  if (m.endsWith("%")) {
7485
- var T = b / v.height * 100;
7486
- b = "".concat(T, "%");
7485
+ var I = b / v.height * 100;
7486
+ b = "".concat(I, "%");
7487
7487
  } else if (m.endsWith("vw")) {
7488
7488
  var O = b / this.window.innerWidth * 100;
7489
7489
  b = "".concat(O, "vw");
@@ -7500,7 +7500,7 @@ var vc = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(vc ||
7500
7500
  var _ = this.state.width !== V.width, B = this.state.height !== V.height, Y = this.state.flexBasis !== V.flexBasis, G = _ || B || Y;
7501
7501
  G && gS(function() {
7502
7502
  i.setState(V);
7503
- }), this.props.onResize && G && this.props.onResize(s, p, this.resizable, I);
7503
+ }), this.props.onResize && G && this.props.onResize(s, p, this.resizable, k);
7504
7504
  }
7505
7505
  }, t.prototype.onMouseUp = function(s) {
7506
7506
  var i, n, o = this.state, r = o.isResizing, a = o.direction;
@@ -7684,16 +7684,16 @@ const hF = (e) => {
7684
7684
  u
7685
7685
  );
7686
7686
  if (r !== ks.Default) {
7687
- const k = L(
7687
+ const T = L(
7688
7688
  g,
7689
7689
  r === ks.Circular && "rounded-full",
7690
7690
  r === ks.Rectangular && "rounded",
7691
7691
  r === ks.Text && "rounded",
7692
7692
  !!c && "relative"
7693
7693
  ), E = {};
7694
- return a && (E.width = typeof a == "number" ? `${a}px` : a), l && (E.height = typeof l == "number" ? `${l}px` : l), d && (E.backgroundColor = d), /* @__PURE__ */ h.jsx("div", { className: k, style: E, ...p, children: c && /* @__PURE__ */ h.jsx("div", { className: "absolute inset-0 flex items-center justify-center pointer-events-none", children: c }) });
7694
+ return a && (E.width = typeof a == "number" ? `${a}px` : a), l && (E.height = typeof l == "number" ? `${l}px` : l), d && (E.backgroundColor = d), /* @__PURE__ */ h.jsx("div", { className: T, style: E, ...p, children: c && /* @__PURE__ */ h.jsx("div", { className: "absolute inset-0 flex items-center justify-center pointer-events-none", children: c }) });
7695
7695
  }
7696
- const f = !!s, m = !!i, v = !!t, C = typeof s == "object" ? s : {}, w = typeof i == "object" ? i : {}, b = typeof t == "object" ? t : {}, x = hF(C.size), y = C.shape ?? Eh.Circle, S = w.width ?? "38%", R = b.rows ?? 3, F = b.width, D = (k) => F ? Array.isArray(F) ? F[k] ?? "100%" : F : k === R - 1 ? "61%" : "100%";
7696
+ const f = !!s, m = !!i, v = !!t, C = typeof s == "object" ? s : {}, w = typeof i == "object" ? i : {}, b = typeof t == "object" ? t : {}, x = hF(C.size), y = C.shape ?? Eh.Circle, S = w.width ?? "38%", R = b.rows ?? 3, F = b.width, D = (T) => F ? Array.isArray(F) ? F[T] ?? "100%" : F : T === R - 1 ? "61%" : "100%";
7697
7697
  return /* @__PURE__ */ h.jsxs(
7698
7698
  "div",
7699
7699
  {
@@ -7726,7 +7726,7 @@ const hF = (e) => {
7726
7726
  }
7727
7727
  }
7728
7728
  ),
7729
- v && /* @__PURE__ */ h.jsx("div", { className: "flex flex-col gap-3", children: Array.from({ length: R }).map((k, E) => /* @__PURE__ */ h.jsx(
7729
+ v && /* @__PURE__ */ h.jsx("div", { className: "flex flex-col gap-3", children: Array.from({ length: R }).map((T, E) => /* @__PURE__ */ h.jsx(
7730
7730
  "div",
7731
7731
  {
7732
7732
  className: L(g, "h-4 rounded"),
@@ -14676,9 +14676,9 @@ var _5 = 0, Mu = class extends $ {
14676
14676
  let u, p, g = 0;
14677
14677
  this.invalidateVerticalScroll();
14678
14678
  do {
14679
- const { stickyTopHeight: f, stickyBottomHeight: m } = c, v = d.rowTop, C = d.rowHeight, w = r.getPixelOffset(), b = d.rowTop - w, x = b + d.rowHeight, y = this.getVScrollPosition(), S = a.divStretchOffset, R = y.top + S, F = y.bottom + S, D = F - R, k = a.getScrollPositionForPixel(b), E = a.getScrollPositionForPixel(x - D), I = Math.min((k + E) / 2, b), T = R + f > b, O = F - m < x;
14679
+ const { stickyTopHeight: f, stickyBottomHeight: m } = c, v = d.rowTop, C = d.rowHeight, w = r.getPixelOffset(), b = d.rowTop - w, x = b + d.rowHeight, y = this.getVScrollPosition(), S = a.divStretchOffset, R = y.top + S, F = y.bottom + S, D = F - R, T = a.getScrollPositionForPixel(b), E = a.getScrollPositionForPixel(x - D), k = Math.min((T + E) / 2, b), I = R + f > b, O = F - m < x;
14680
14680
  let A = null;
14681
- t === "top" ? A = k - f : t === "bottom" ? A = E + m : t === "middle" ? A = I : T ? A = k - f : O && (E - k > D ? A = k - f : A = E + m), A !== null && (this.setVerticalScrollPosition(A), l.redraw({ afterScroll: !0 })), u = v !== d.rowTop || C !== d.rowHeight, p = f !== c.stickyTopHeight || m !== c.stickyBottomHeight, g++;
14681
+ t === "top" ? A = T - f : t === "bottom" ? A = E + m : t === "middle" ? A = k : I ? A = T - f : O && (E - T > D ? A = T - f : A = E + m), A !== null && (this.setVerticalScrollPosition(A), l.redraw({ afterScroll: !0 })), u = v !== d.rowTop || C !== d.rowHeight, p = f !== c.stickyTopHeight || m !== c.stickyBottomHeight, g++;
14682
14682
  } while ((u || p) && g < 10);
14683
14683
  if (this.animationFrameSvc?.flushAllFrames(), s < 10 && (d?.stub || !this.beans.rowAutoHeight?.areRowsMeasured())) {
14684
14684
  const f = this.getVScrollPosition().top;
@@ -18771,8 +18771,8 @@ var H4 = class extends $ {
18771
18771
  const F = R === w.length - 1;
18772
18772
  let D;
18773
18773
  F ? D = x : (D = Math.round(g[R] * u * y), x -= D);
18774
- const k = S.getMinWidth(), E = S.getMaxWidth();
18775
- D < k ? (D = k, m[S.getId()] = !0, v = !0) : E > 0 && D > E && (D = E, m[S.getId()] = !0, v = !0), f[S.getId()] = D;
18774
+ const T = S.getMinWidth(), E = S.getMaxWidth();
18775
+ D < T ? (D = T, m[S.getId()] = !0, v = !0) : E > 0 && D > E && (D = E, m[S.getId()] = !0, v = !0), f[S.getId()] = D;
18776
18776
  });
18777
18777
  }
18778
18778
  for (const w of p) {
@@ -19625,43 +19625,43 @@ function Ls(e, t, s) {
19625
19625
  const C = (y, S, R, F, D) => {
19626
19626
  if (!y)
19627
19627
  return;
19628
- const k = sD(S, t.defaultState), E = k("flex").value1, I = k("sort").value1, T = k("sortType").value1, O = Yi(I) || cg(T), A = Ci(T), V = pd(I), _ = O ? { type: A, direction: V } : void 0;
19628
+ const T = sD(S, t.defaultState), E = T("flex").value1, k = T("sort").value1, I = T("sortType").value1, O = Yi(k) || cg(I), A = Ci(I), V = pd(k), _ = O ? { type: A, direction: V } : void 0;
19629
19629
  if (lb(
19630
19630
  e,
19631
19631
  y,
19632
- k("hide").value1,
19632
+ T("hide").value1,
19633
19633
  _,
19634
- k("sortIndex").value1,
19635
- k("pinned").value1,
19634
+ T("sortIndex").value1,
19635
+ T("pinned").value1,
19636
19636
  E,
19637
19637
  s
19638
19638
  ), E == null) {
19639
- const B = k("width").value1;
19639
+ const B = T("width").value1;
19640
19640
  if (B != null) {
19641
19641
  const Y = y.getColDef().minWidth ?? u.getDefaultColumnMinWidth();
19642
19642
  Y != null && B >= Y && y.setActualWidth(B, s);
19643
19643
  }
19644
19644
  }
19645
- D || !y.isPrimary() || (p?.syncColumnWithState(y, s, k), n?.syncColumnWithState(y, s, k, R), o?.syncColumnWithState(y, s, k, F));
19645
+ D || !y.isPrimary() || (p?.syncColumnWithState(y, s, T), n?.syncColumnWithState(y, s, T, R), o?.syncColumnWithState(y, s, T, F));
19646
19646
  }, w = (y, S, R) => {
19647
- const F = a1(e, s), D = S.slice(), k = {}, E = {}, I = [], T = [], O = [];
19647
+ const F = a1(e, s), D = S.slice(), T = {}, E = {}, k = [], I = [], O = [];
19648
19648
  let A = 0;
19649
19649
  const V = n?.columns.slice() ?? [], _ = o?.columns.slice() ?? [];
19650
19650
  for (const G of y) {
19651
19651
  const H = G.colId;
19652
19652
  if (H.startsWith($i)) {
19653
- I.push(G), O.push(G);
19653
+ k.push(G), O.push(G);
19654
19654
  continue;
19655
19655
  }
19656
19656
  if (cn(H)) {
19657
- T.push(G), O.push(G);
19657
+ I.push(G), O.push(G);
19658
19658
  continue;
19659
19659
  }
19660
19660
  const Q = R(H);
19661
- Q ? (C(Q, G, k, E, !1), Zs(D, Q)) : (O.push(G), A += 1);
19661
+ Q ? (C(Q, G, T, E, !1), Zs(D, Q)) : (O.push(G), A += 1);
19662
19662
  }
19663
- const B = (G) => C(G, null, k, E, !1);
19664
- D.forEach(B), n?.sortColumns(Ym.bind(n, k, V)), o?.sortColumns(Ym.bind(o, E, _)), i.refreshCols(!1, s);
19663
+ const B = (G) => C(G, null, T, E, !1);
19664
+ D.forEach(B), n?.sortColumns(Ym.bind(n, T, V)), o?.sortColumns(Ym.bind(o, E, _)), i.refreshCols(!1, s);
19665
19665
  const Y = (G, H, U = []) => {
19666
19666
  for (const Q of H) {
19667
19667
  const se = G(Q.colId);
@@ -19671,11 +19671,11 @@ function Ls(e, t, s) {
19671
19671
  };
19672
19672
  return Y(
19673
19673
  (G) => r?.getColumn(G) ?? null,
19674
- I,
19674
+ k,
19675
19675
  r?.getColumns()?.slice()
19676
19676
  ), Y(
19677
19677
  (G) => a?.getColumn(G) ?? null,
19678
- T,
19678
+ I,
19679
19679
  a?.getColumns()?.slice()
19680
19680
  ), r6(t, i, f), c.refresh(s), g.dispatchEvent({
19681
19681
  type: "columnEverythingChanged",
@@ -19722,13 +19722,13 @@ function a1(e, t) {
19722
19722
  d[u.colId] = u;
19723
19723
  return () => {
19724
19724
  const u = (S, R, F, D) => {
19725
- const k = R.map(D), E = F.map(D);
19726
- if (ln(k, E))
19725
+ const T = R.map(D), E = F.map(D);
19726
+ if (ln(T, E))
19727
19727
  return;
19728
- const T = new Set(R);
19728
+ const I = new Set(R);
19729
19729
  for (const A of F)
19730
- T.delete(A) || T.add(A);
19731
- const O = [...T];
19730
+ I.delete(A) || I.add(A);
19731
+ const O = [...I];
19732
19732
  a.dispatchEvent({
19733
19733
  type: S,
19734
19734
  columns: O,
@@ -19754,8 +19754,8 @@ function a1(e, t) {
19754
19754
  g
19755
19755
  );
19756
19756
  const m = p((S, R) => {
19757
- const F = S.aggFunc != null, D = F != R.isValueActive(), k = F && S.aggFunc != R.getAggFunc();
19758
- return D || k;
19757
+ const F = S.aggFunc != null, D = F != R.isValueActive(), T = F && S.aggFunc != R.getAggFunc();
19758
+ return D || T;
19759
19759
  });
19760
19760
  m.length > 0 && O4(a, "columnValueChanged", m, t), rr(a, p((S, R) => S.width != R.getActualWidth()), !0, t), o1(a, p((S, R) => S.pinned != R.getPinned()), t), N4(a, p((S, R) => S.hide == R.isVisible()), t);
19761
19761
  const x = p((S, R) => !tc(R.getSortDef(), {
@@ -30289,8 +30289,8 @@ var AM = ".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.a
30289
30289
  const d = this.getRowBufferInPixels(), u = this.ctrlsSvc.getScrollFeature(), p = this.gos.get("suppressRowVirtualisation");
30290
30290
  let g = !1, f, m;
30291
30291
  do {
30292
- const x = t.getPixelOffset(), { pageFirstPixel: y, pageLastPixel: S } = t.getCurrentPagePixelRange(), R = e.divStretchOffset, F = u.getVScrollPosition(), D = F.top, k = F.bottom;
30293
- p ? (f = y + R, m = S + R) : (f = Math.max(D + x - d, y) + R, m = Math.min(k + x + d, S) + R), this.firstVisibleVPixel = Math.max(D + x, y) + R, this.lastVisibleVPixel = Math.min(k + x, S) + R, g = this.ensureAllRowsInRangeHaveHeightsCalculated(f, m);
30292
+ const x = t.getPixelOffset(), { pageFirstPixel: y, pageLastPixel: S } = t.getCurrentPagePixelRange(), R = e.divStretchOffset, F = u.getVScrollPosition(), D = F.top, T = F.bottom;
30293
+ p ? (f = y + R, m = S + R) : (f = Math.max(D + x - d, y) + R, m = Math.min(T + x + d, S) + R), this.firstVisibleVPixel = Math.max(D + x, y) + R, this.lastVisibleVPixel = Math.min(T + x, S) + R, g = this.ensureAllRowsInRangeHaveHeightsCalculated(f, m);
30294
30294
  } while (g);
30295
30295
  let v = s.getRowIndexAtPixel(f), C = s.getRowIndexAtPixel(m);
30296
30296
  const w = t.getFirstRow(), b = t.getLastRow();
@@ -33756,8 +33756,8 @@ var RA = class extends $ {
33756
33756
  if (F > 0) {
33757
33757
  const D = w[R.colId] ?? {};
33758
33758
  D.minWidth ?? (D.minWidth = l), D.maxWidth ?? (D.maxWidth = a);
33759
- const k = FA(R, F, D);
33760
- R.setActualWidth(k, d), v.add(R), C++;
33759
+ const T = FA(R, F, D);
33760
+ R.setActualWidth(T, d), v.add(R), C++;
33761
33761
  }
33762
33762
  y.push(R);
33763
33763
  }
@@ -33882,9 +33882,9 @@ var RA = class extends $ {
33882
33882
  const w = C / ci(d);
33883
33883
  let b = C;
33884
33884
  for (let x = d.length - 1; x >= 0; x--) {
33885
- const y = d[x], S = y.getColId(), R = m[S], F = r?.[S], D = F?.minWidth ?? i?.defaultMinWidth ?? R, k = F?.maxWidth ?? i?.defaultMaxWidth, E = Math.max(D ?? -1 / 0, y.getMinWidth()), I = Math.min(k ?? 1 / 0, y.getMaxWidth());
33886
- let T = Math.round(y.getActualWidth() * w);
33887
- T < E ? (T = E, f(y), g = !1) : T > I ? (T = I, f(y), g = !1) : x === 0 && (T = b), y.setActualWidth(T, t, !0), b -= T;
33885
+ const y = d[x], S = y.getColId(), R = m[S], F = r?.[S], D = F?.minWidth ?? i?.defaultMinWidth ?? R, T = F?.maxWidth ?? i?.defaultMaxWidth, E = Math.max(D ?? -1 / 0, y.getMinWidth()), k = Math.min(T ?? 1 / 0, y.getMaxWidth());
33886
+ let I = Math.round(y.getActualWidth() * w);
33887
+ I < E ? (I = E, f(y), g = !1) : I > k ? (I = k, f(y), g = !1) : x === 0 && (I = b), y.setActualWidth(I, t, !0), b -= I;
33888
33888
  }
33889
33889
  }
33890
33890
  }
@@ -43140,30 +43140,30 @@ var GN = class extends $ {
43140
43140
  columnOrder: u
43141
43141
  } = e;
43142
43142
  let p = !1;
43143
- const g = (E, I) => {
43144
- const T = !i?.has(E) && !!(I || t === "api");
43145
- return p || (p = T), T;
43143
+ const g = (E, k) => {
43144
+ const I = !i?.has(E) && !!(k || t === "api");
43145
+ return p || (p = I), I;
43146
43146
  }, f = {}, m = (E) => {
43147
- let I = f[E];
43148
- return I || (I = { colId: E }, f[E] = I, I);
43147
+ let k = f[E];
43148
+ return k || (k = { colId: E }, f[E] = k, k);
43149
43149
  }, v = {}, C = g("sort", n);
43150
- C && n?.sortModel.forEach(({ colId: E, sort: I, type: T }, O) => {
43150
+ C && n?.sortModel.forEach(({ colId: E, sort: k, type: I }, O) => {
43151
43151
  const A = m(E);
43152
- A.sort = I, A.sortIndex = O, A.sortType = T;
43152
+ A.sort = k, A.sortIndex = O, A.sortType = I;
43153
43153
  }), (C || !s) && (v.sort = null, v.sortIndex = null);
43154
43154
  const w = g("rowGroup", o);
43155
- w && o?.groupColIds.forEach((E, I) => {
43156
- const T = m(E);
43157
- T.rowGroup = !0, T.rowGroupIndex = I;
43155
+ w && o?.groupColIds.forEach((E, k) => {
43156
+ const I = m(E);
43157
+ I.rowGroup = !0, I.rowGroupIndex = k;
43158
43158
  }), (w || !s) && (v.rowGroup = null, v.rowGroupIndex = null);
43159
43159
  const b = g("aggregation", r);
43160
- b && r?.aggregationModel.forEach(({ colId: E, aggFunc: I }) => {
43161
- m(E).aggFunc = I;
43160
+ b && r?.aggregationModel.forEach(({ colId: E, aggFunc: k }) => {
43161
+ m(E).aggFunc = k;
43162
43162
  }), (b || !s) && (v.aggFunc = null);
43163
43163
  const x = g("pivot", a);
43164
- x && (a?.pivotColIds.forEach((E, I) => {
43165
- const T = m(E);
43166
- T.pivot = !0, T.pivotIndex = I;
43164
+ x && (a?.pivotColIds.forEach((E, k) => {
43165
+ const I = m(E);
43166
+ I.pivot = !0, I.pivotIndex = k;
43167
43167
  }), this.gos.updateGridOptions({
43168
43168
  options: { pivotMode: !!a?.pivotMode },
43169
43169
  source: t
@@ -43183,16 +43183,16 @@ var GN = class extends $ {
43183
43183
  (S || !s) && (v.hide = null);
43184
43184
  const R = g("columnSizing", d);
43185
43185
  if (R)
43186
- for (const { colId: E, flex: I, width: T } of d?.columnSizingModel ?? []) {
43186
+ for (const { colId: E, flex: k, width: I } of d?.columnSizingModel ?? []) {
43187
43187
  const O = m(E);
43188
- O.flex = I ?? null, O.width = T;
43188
+ O.flex = k ?? null, O.width = I;
43189
43189
  }
43190
43190
  (R || !s) && (v.flex = null);
43191
- const F = u?.orderedColIds, D = !!F?.length && !i?.has("columnOrder"), k = D ? F.map((E) => m(E)) : Object.values(f);
43192
- (k.length || p) && (this.columnStates = k, Ls(
43191
+ const F = u?.orderedColIds, D = !!F?.length && !i?.has("columnOrder"), T = D ? F.map((E) => m(E)) : Object.values(f);
43192
+ (T.length || p) && (this.columnStates = T, Ls(
43193
43193
  this.beans,
43194
43194
  {
43195
- state: k,
43195
+ state: T,
43196
43196
  applyOrder: D,
43197
43197
  defaultState: v
43198
43198
  },
@@ -47249,10 +47249,10 @@ var Ox = Sp((e, t) => {
47249
47249
  Ox,
47250
47250
  e
47251
47251
  ));
47252
- }, []), D = W(() => `ag-cell-wrapper ${v.toString()}`, [v]), k = W(() => `ag-group-expanded ${w.toString()}`, [w]), E = W(
47252
+ }, []), D = W(() => `ag-cell-wrapper ${v.toString()}`, [v]), T = W(() => `ag-group-expanded ${w.toString()}`, [w]), E = W(
47253
47253
  () => `ag-group-contracted ${x.toString()}`,
47254
47254
  [x]
47255
- ), I = W(() => `ag-group-checkbox ${S.toString()}`, [S]), T = d?.componentFromFramework, O = T ? d.componentClass : void 0, A = d == null && f != null, V = gr(f);
47255
+ ), k = W(() => `ag-group-checkbox ${S.toString()}`, [S]), I = d?.componentFromFramework, O = I ? d.componentClass : void 0, A = d == null && f != null, V = gr(f);
47256
47256
  return /* @__PURE__ */ J.createElement(
47257
47257
  "span",
47258
47258
  {
@@ -47260,10 +47260,10 @@ var Ox = Sp((e, t) => {
47260
47260
  ref: F,
47261
47261
  ...e.colDef ? {} : { role: c.current?.getCellAriaRole() }
47262
47262
  },
47263
- /* @__PURE__ */ J.createElement("span", { className: k, ref: a }),
47263
+ /* @__PURE__ */ J.createElement("span", { className: T, ref: a }),
47264
47264
  /* @__PURE__ */ J.createElement("span", { className: E, ref: l }),
47265
- /* @__PURE__ */ J.createElement("span", { className: I, ref: r }),
47266
- /* @__PURE__ */ J.createElement("span", { className: "ag-group-value", ref: o }, A ? V : T ? /* @__PURE__ */ J.createElement(O, { ...d.params }) : null),
47265
+ /* @__PURE__ */ J.createElement("span", { className: k, ref: r }),
47266
+ /* @__PURE__ */ J.createElement("span", { className: "ag-group-value", ref: o }, A ? V : I ? /* @__PURE__ */ J.createElement(O, { ...d.params }) : null),
47267
47267
  /* @__PURE__ */ J.createElement("span", { className: "ag-group-child-count" }, p)
47268
47268
  );
47269
47269
  }), qv = Ox, rf = Ia({
@@ -47797,17 +47797,17 @@ var eB = 1e3, tB = class {
47797
47797
  () => $a(g, t, w.current, R),
47798
47798
  [g]
47799
47799
  );
47800
- const D = W(() => o.toString(), [o]), k = W(() => a.toString(), [a]), E = W(() => c.toString(), [c]), I = W(() => !!(g && g.componentFromFramework && Cr(g.componentClass)), [g]), T = W(() => s.get("reactiveCustomComponents"), []), O = W(() => s.get("enableFilterHandlers"), []), [A, V] = N();
47800
+ const D = W(() => o.toString(), [o]), T = W(() => a.toString(), [a]), E = W(() => c.toString(), [c]), k = W(() => !!(g && g.componentFromFramework && Cr(g.componentClass)), [g]), I = W(() => s.get("reactiveCustomComponents"), []), O = W(() => s.get("enableFilterHandlers"), []), [A, V] = N();
47801
47801
  Se(() => {
47802
47802
  if (g?.componentFromFramework)
47803
- if (T) {
47803
+ if (I) {
47804
47804
  const G = O ? rB : qH, H = new G(g.params, () => m((U) => U + 1));
47805
47805
  R(H), V(H);
47806
47806
  } else
47807
47807
  af();
47808
47808
  }, [g]);
47809
47809
  const _ = A?.getProps(), B = g?.componentFromFramework, Y = g?.componentClass;
47810
- return /* @__PURE__ */ J.createElement("div", { ref: F, style: i, className: D, role: "gridcell" }, /* @__PURE__ */ J.createElement("div", { ref: w, className: k, role: "presentation" }, B ? T ? _ && /* @__PURE__ */ J.createElement(
47810
+ return /* @__PURE__ */ J.createElement("div", { ref: F, style: i, className: D, role: "gridcell" }, /* @__PURE__ */ J.createElement("div", { ref: w, className: T, role: "presentation" }, B ? I ? _ && /* @__PURE__ */ J.createElement(
47811
47811
  rf.Provider,
47812
47812
  {
47813
47813
  value: {
@@ -47815,7 +47815,7 @@ var eB = 1e3, tB = class {
47815
47815
  }
47816
47816
  },
47817
47817
  /* @__PURE__ */ J.createElement(Y, { ..._ })
47818
- ) : /* @__PURE__ */ J.createElement(Y, { ...g.params, ref: I ? () => {
47818
+ ) : /* @__PURE__ */ J.createElement(Y, { ...g.params, ref: k ? () => {
47819
47819
  } : R }) : null), /* @__PURE__ */ J.createElement(
47820
47820
  "div",
47821
47821
  {
@@ -47841,28 +47841,28 @@ var eB = 1e3, tB = class {
47841
47841
  return;
47842
47842
  }
47843
47843
  f.current = t.createBean(new vr());
47844
- const k = {
47844
+ const T = {
47845
47845
  setWidth: (E) => {
47846
47846
  m.current && (m.current.style.width = E);
47847
47847
  },
47848
- toggleCss: (E, I) => o((T) => T.setClass(E, I)),
47848
+ toggleCss: (E, k) => o((I) => I.setClass(E, k)),
47849
47849
  setUserStyles: (E) => i(E),
47850
47850
  setHeaderWrapperHidden: (E) => {
47851
- const I = C.current;
47852
- I && (E ? I.style.setProperty("display", "none") : I.style.removeProperty("display"));
47851
+ const k = C.current;
47852
+ k && (E ? k.style.setProperty("display", "none") : k.style.removeProperty("display"));
47853
47853
  },
47854
47854
  setHeaderWrapperMaxHeight: (E) => {
47855
- const I = C.current;
47856
- I && (E != null ? I.style.setProperty("max-height", `${E}px`) : I.style.removeProperty("max-height"), I.classList.toggle("ag-header-cell-comp-wrapper-limited-height", E != null));
47855
+ const k = C.current;
47856
+ k && (E != null ? k.style.setProperty("max-height", `${E}px`) : k.style.removeProperty("max-height"), k.classList.toggle("ag-header-cell-comp-wrapper-limited-height", E != null));
47857
47857
  },
47858
47858
  setUserCompDetails: (E) => g(E),
47859
47859
  setResizableDisplayed: (E) => {
47860
- a((I) => I.setClass("ag-hidden", !E)), c(E ? "false" : "true");
47860
+ a((k) => k.setClass("ag-hidden", !E)), c(E ? "false" : "true");
47861
47861
  },
47862
47862
  setAriaExpanded: (E) => u(E),
47863
47863
  getUserCompInstance: () => w.current || void 0
47864
47864
  };
47865
- e.setComp(k, D, v.current, C.current, f.current);
47865
+ e.setComp(T, D, v.current, C.current, f.current);
47866
47866
  }, []);
47867
47867
  Rs(() => $a(p, t, C.current), [p]), Se(() => {
47868
47868
  m.current && e.setDragSource(m.current);
@@ -47883,8 +47883,8 @@ var eB = 1e3, tB = class {
47883
47883
  setHeight: (R) => d(R),
47884
47884
  setTop: (R) => p(R),
47885
47885
  setHeaderCtrls: (R, F, D) => {
47886
- const k = g.current, E = _c(k, R, F);
47887
- E !== k && (g.current = E, Da(D, () => m(E)));
47886
+ const T = g.current, E = _c(T, R, F);
47887
+ E !== T && (g.current = E, Da(D, () => m(E)));
47888
47888
  },
47889
47889
  setWidth: (R) => {
47890
47890
  C.current && (C.current.style.width = R);
@@ -48148,7 +48148,7 @@ var eB = 1e3, tB = class {
48148
48148
  instanceId: r
48149
48149
  } = e, a = z(), [l, c] = N(
48150
48150
  () => e.isCellRenderer() ? void 0 : { compDetails: void 0, value: e.getValueToDisplay(), force: !1 }
48151
- ), [d, u] = N(), [p, g] = N(1), [f, m] = N(), [v, C] = N(!1), [w, b] = N(!1), [x, y] = N(!1), S = z(null), [R, F] = N(), D = W(() => e.isForceWrapper(), [e]), k = W(() => e.getCellAriaRole(), [e]), E = z(null), I = z(null), T = z(null), O = z(), A = z(), V = z(), _ = z([]), B = z(), Y = z(), [G, H] = N(0), U = P((oe) => {
48151
+ ), [d, u] = N(), [p, g] = N(1), [f, m] = N(), [v, C] = N(!1), [w, b] = N(!1), [x, y] = N(!1), S = z(null), [R, F] = N(), D = W(() => e.isForceWrapper(), [e]), T = W(() => e.getCellAriaRole(), [e]), E = z(null), k = z(null), I = z(null), O = z(), A = z(), V = z(), _ = z([]), B = z(), Y = z(), [G, H] = N(0), U = P((oe) => {
48152
48152
  Y.current = oe, H((ce) => ce + 1);
48153
48153
  }, []), Q = l != null && (v || x || w) && (d == null || !!d.popup), se = D || Q, Fe = W(() => e.getCellValueClass(), [e]), ee = P(
48154
48154
  (oe) => {
@@ -48179,9 +48179,9 @@ var eB = 1e3, tB = class {
48179
48179
  return;
48180
48180
  B.current?.refreshVisibility();
48181
48181
  const Be = oe.compDetails, Ge = ce.compDetails;
48182
- if (Be.componentClass != Ge.componentClass || T.current?.refresh == null)
48182
+ if (Be.componentClass != Ge.componentClass || I.current?.refresh == null)
48183
48183
  return;
48184
- T.current.refresh(Ge.params) != !0 && g((Ae) => Ae + 1);
48184
+ I.current.refresh(Ge.params) != !0 && g((Ae) => Ae + 1);
48185
48185
  }, [l]), Rs(() => {
48186
48186
  if (!(d && !d.compDetails.componentFromFramework) || n.isDestroyed())
48187
48187
  return;
@@ -48217,7 +48217,7 @@ var eB = 1e3, tB = class {
48217
48217
  },
48218
48218
  [e, n, x, w, v]
48219
48219
  ), M = P(() => {
48220
- const oe = !e.isCellSpanning() || I.current, ce = E.current;
48220
+ const oe = !e.isCellSpanning() || k.current, ce = E.current;
48221
48221
  if (!ce || !oe || !e || !e.isAlive() || n.isDestroyed()) {
48222
48222
  a.current = n.destroyBean(a.current);
48223
48223
  return;
@@ -48234,7 +48234,7 @@ var eB = 1e3, tB = class {
48234
48234
  S.current && vi(S.current), S.current = ve, ve && E.current && E.current.appendChild(ve);
48235
48235
  },
48236
48236
  getCellEditor: () => A.current ?? null,
48237
- getCellRenderer: () => T.current ?? O.current,
48237
+ getCellRenderer: () => I.current ?? O.current,
48238
48238
  getParentOfValue: () => Y.current ?? V.current ?? E.current,
48239
48239
  setRenderDetails: (ve, Ae, Ze) => {
48240
48240
  const at = () => {
@@ -48282,7 +48282,7 @@ var eB = 1e3, tB = class {
48282
48282
  e.setComp(
48283
48283
  Be,
48284
48284
  ce,
48285
- I.current ?? void 0,
48285
+ k.current ?? void 0,
48286
48286
  Ge,
48287
48287
  t,
48288
48288
  s,
@@ -48291,7 +48291,7 @@ var eB = 1e3, tB = class {
48291
48291
  }, []), q = P((oe) => {
48292
48292
  E.current = oe, M();
48293
48293
  }, []), be = P((oe) => {
48294
- I.current = oe, M();
48294
+ k.current = oe, M();
48295
48295
  }, []), Pe = W(() => !!(l?.compDetails?.componentFromFramework && Cr(l.compDetails.componentClass)), [l]);
48296
48296
  Rs(() => {
48297
48297
  if (!E.current)
@@ -48305,21 +48305,21 @@ var eB = 1e3, tB = class {
48305
48305
  return ce?.toString?.() ?? ce;
48306
48306
  if (oe.componentFromFramework) {
48307
48307
  const Be = oe.componentClass;
48308
- return /* @__PURE__ */ J.createElement(Ry, { fallback: /* @__PURE__ */ J.createElement(SB, { cellCtrl: e, parent: E }) }, Pe ? /* @__PURE__ */ J.createElement(Be, { ...oe.params, key: p }) : /* @__PURE__ */ J.createElement(Be, { ...oe.params, key: p, ref: T }));
48308
+ return /* @__PURE__ */ J.createElement(Ry, { fallback: /* @__PURE__ */ J.createElement(SB, { cellCtrl: e, parent: E }) }, Pe ? /* @__PURE__ */ J.createElement(Be, { ...oe.params, key: p }) : /* @__PURE__ */ J.createElement(Be, { ...oe.params, key: p, ref: I }));
48309
48309
  }
48310
48310
  }, fe = () => {
48311
48311
  const oe = () => l == null ? null : se ? /* @__PURE__ */ J.createElement("span", { role: "presentation", id: `cell-${r}`, className: Fe, ref: U }, K()) : K(), ce = (Be) => xB(Be, ee, E.current, e, R);
48312
48312
  return d != null ? d.popup ? /* @__PURE__ */ J.createElement(J.Fragment, null, oe(), ce(d)) : ce(d) : oe();
48313
- }, me = () => /* @__PURE__ */ J.createElement("div", { ref: q, style: f, role: k, "col-id": o }, se ? /* @__PURE__ */ J.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: pe }, fe()) : fe());
48313
+ }, me = () => /* @__PURE__ */ J.createElement("div", { ref: q, style: f, role: T, "col-id": o }, se ? /* @__PURE__ */ J.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: pe }, fe()) : fe());
48314
48314
  return e.isCellSpanning() ? /* @__PURE__ */ J.createElement("div", { ref: be, className: "ag-spanned-cell-wrapper", role: "presentation" }, me()) : me();
48315
48315
  }, FB = zt(RB), EB = ({ rowCtrl: e, containerType: t }) => {
48316
48316
  const { context: s, gos: i, editSvc: n } = vt(Wt), o = vt(Ax) === "default", r = z(), a = z(e.getDomOrder()), l = e.isFullWidth(), c = e.rowNode.displayed, [d, u] = N(
48317
48317
  () => c ? e.rowNode.getRowIndexString() : null
48318
48318
  ), [p, g] = N(() => e.rowId), [f, m] = N(() => e.businessKey), [v, C] = N(() => e.rowStyles), w = z(null), [b, x] = N(() => null), [y, S] = N(), [R, F] = N(
48319
48319
  () => c ? e.getInitialRowTop(t) : void 0
48320
- ), [D, k] = N(
48320
+ ), [D, T] = N(
48321
48321
  () => c ? e.getInitialTransform(t) : void 0
48322
- ), E = z(null), I = z(), T = z(), O = z(!1), [A, V] = N(0);
48322
+ ), E = z(null), k = z(), I = z(), O = z(!1), [A, V] = N(0);
48323
48323
  Se(() => {
48324
48324
  if (O.current || !y || A > 10)
48325
48325
  return;
@@ -48347,7 +48347,7 @@ var eB = 1e3, tB = class {
48347
48347
  // the rowTop is managed by state, instead of direct style manipulation by rowCtrl (like all the other styles)
48348
48348
  // as we need to have an initial value when it's placed into he DOM for the first time, for animation to work.
48349
48349
  setTop: F,
48350
- setTransform: k,
48350
+ setTransform: T,
48351
48351
  // i found using React for managing classes at the row level was to slow, as modifying classes caused a lot of
48352
48352
  // React code to execute, so avoiding React for managing CSS Classes made the grid go much faster.
48353
48353
  toggleCss: (q, be) => _.current.toggleCss(q, be),
@@ -48363,22 +48363,22 @@ var eB = 1e3, tB = class {
48363
48363
  K !== Pe && (w.current = K, o ? B.current() : Da(be, () => x(K)));
48364
48364
  },
48365
48365
  showFullWidth: (q) => {
48366
- T.current = q.params, S(q);
48366
+ I.current = q.params, S(q);
48367
48367
  },
48368
- getFullWidthCellRenderer: () => I.current,
48369
- getFullWidthCellRendererParams: () => T.current,
48368
+ getFullWidthCellRenderer: () => k.current,
48369
+ getFullWidthCellRendererParams: () => I.current,
48370
48370
  refreshFullWidth: (q) => {
48371
48371
  const be = q();
48372
- return T.current = be, ge.current ? (S((Pe) => ({
48372
+ return I.current = be, ge.current ? (S((Pe) => ({
48373
48373
  ...Pe,
48374
48374
  params: be
48375
- })), !0) : !I.current || !I.current.refresh ? !1 : I.current.refresh(be);
48375
+ })), !0) : !k.current || !k.current.refresh ? !1 : k.current.refresh(be);
48376
48376
  }
48377
48377
  };
48378
48378
  e.setComp(M, pe, t, r.current);
48379
48379
  }, []);
48380
48380
  Rs(
48381
- () => $a(y, s, E.current, I),
48381
+ () => $a(y, s, E.current, k),
48382
48382
  [y]
48383
48383
  );
48384
48384
  const Q = W(() => {
@@ -48398,7 +48398,7 @@ var eB = 1e3, tB = class {
48398
48398
  }
48399
48399
  )), ie = () => {
48400
48400
  const pe = y.componentClass;
48401
- return ee ? /* @__PURE__ */ J.createElement(pe, { ...y.params }) : /* @__PURE__ */ J.createElement(pe, { ...y.params, ref: I });
48401
+ return ee ? /* @__PURE__ */ J.createElement(pe, { ...y.params }) : /* @__PURE__ */ J.createElement(pe, { ...y.params, ref: k });
48402
48402
  };
48403
48403
  return /* @__PURE__ */ J.createElement(
48404
48404
  "div",
@@ -48466,7 +48466,7 @@ var eB = 1e3, tB = class {
48466
48466
  n.current
48467
48467
  );
48468
48468
  }
48469
- }, [R, F]), k = P(
48469
+ }, [R, F]), T = P(
48470
48470
  (A) => {
48471
48471
  o.current = A, D();
48472
48472
  },
@@ -48476,26 +48476,26 @@ var eB = 1e3, tB = class {
48476
48476
  r.current = A, D();
48477
48477
  },
48478
48478
  [D]
48479
- ), I = P(
48479
+ ), k = P(
48480
48480
  (A) => {
48481
48481
  n.current = A, D();
48482
48482
  },
48483
48483
  [D]
48484
- ), T = () => /* @__PURE__ */ J.createElement(
48484
+ ), I = () => /* @__PURE__ */ J.createElement(
48485
48485
  "div",
48486
48486
  {
48487
48487
  className: b,
48488
- ref: k,
48488
+ ref: T,
48489
48489
  role: y ? "presentation" : "rowgroup"
48490
48490
  },
48491
48491
  c.map((A) => /* @__PURE__ */ J.createElement(Qv, { rowCtrl: A, containerType: i.type, key: A.instanceId }))
48492
48492
  );
48493
48493
  if (!y)
48494
- return T();
48494
+ return I();
48495
48495
  const O = () => /* @__PURE__ */ J.createElement("div", { className: x, ref: E, role: "presentation" }, f.map((A) => /* @__PURE__ */ J.createElement(Qv, { rowCtrl: A, containerType: i.type, key: A.instanceId })));
48496
- return /* @__PURE__ */ J.createElement("div", { className: w, ref: I, role: "rowgroup" }, T(), u ? O() : null);
48496
+ return /* @__PURE__ */ J.createElement("div", { className: w, ref: k, role: "rowgroup" }, I(), u ? O() : null);
48497
48497
  }, PB = zt(DB), TB = () => {
48498
- const e = vt(Wt), { context: t, overlays: s } = e, [i, n] = N(""), [o, r] = N(0), [a, l] = N(0), [c, d] = N("0px"), [u, p] = N("0px"), [g, f] = N("100%"), [m, v] = N("0px"), [C, w] = N("0px"), [b, x] = N("100%"), [y, S] = N(!0), [R, F] = N(!0), [D, k] = N(null), [E, I] = N(""), [T, O] = N(null), [A, V] = N("ag-layout-normal"), _ = z();
48498
+ const e = vt(Wt), { context: t, overlays: s } = e, [i, n] = N(""), [o, r] = N(0), [a, l] = N(0), [c, d] = N("0px"), [u, p] = N("0px"), [g, f] = N("100%"), [m, v] = N("0px"), [C, w] = N("0px"), [b, x] = N("100%"), [y, S] = N(!0), [R, F] = N(!0), [D, T] = N(null), [E, k] = N(""), [I, O] = N(null), [A, V] = N("ag-layout-normal"), _ = z();
48499
48499
  _.current || (_.current = new Ga(() => B.current));
48500
48500
  const B = z(null), Y = z(null), G = z(null), H = z(null), U = z(null), Q = z(null), se = z(null), Fe = z([]), ee = z([]);
48501
48501
  En(" AG Grid Body ", B), En(" AG Pinned Top ", Y), En(" AG Sticky Top ", G), En(" AG Middle ", Q), En(" AG Pinned Bottom ", se);
@@ -48535,8 +48535,8 @@ var eB = 1e3, tB = class {
48535
48535
  setBottomInvisible: F,
48536
48536
  setColumnMovingCss: (Ue, qe) => _.current.toggleCss(Ue, qe),
48537
48537
  updateLayoutClasses: V,
48538
- setAlwaysVerticalScrollClass: k,
48539
- setPinnedTopBottomOverflowY: I,
48538
+ setAlwaysVerticalScrollClass: T,
48539
+ setPinnedTopBottomOverflowY: k,
48540
48540
  setCellSelectableCss: (Ue, qe) => O(qe ? Ue : null),
48541
48541
  setBodyViewportWidth: (Ue) => {
48542
48542
  Q.current && (Q.current.style.width = Ue);
@@ -48567,18 +48567,18 @@ var eB = 1e3, tB = class {
48567
48567
  i,
48568
48568
  A,
48569
48569
  D,
48570
- T
48570
+ I
48571
48571
  ),
48572
- [i, A, D, T]
48572
+ [i, A, D, I]
48573
48573
  ), pe = W(() => ms("ag-body", A), [A]), M = W(
48574
- () => ms("ag-floating-top", y ? "ag-invisible" : null, T),
48575
- [T, y]
48576
- ), q = W(() => ms("ag-sticky-top", T), [T]), be = W(
48577
- () => ms("ag-sticky-bottom", m === "0px" ? "ag-invisible" : null, T),
48578
- [T, m]
48574
+ () => ms("ag-floating-top", y ? "ag-invisible" : null, I),
48575
+ [I, y]
48576
+ ), q = W(() => ms("ag-sticky-top", I), [I]), be = W(
48577
+ () => ms("ag-sticky-bottom", m === "0px" ? "ag-invisible" : null, I),
48578
+ [I, m]
48579
48579
  ), Pe = W(
48580
- () => ms("ag-floating-bottom", R ? "ag-invisible" : null, T),
48581
- [T, R]
48580
+ () => ms("ag-floating-bottom", R ? "ag-invisible" : null, I),
48581
+ [I, R]
48582
48582
  ), K = W(
48583
48583
  () => ({
48584
48584
  height: o,
@@ -48699,11 +48699,11 @@ var eB = 1e3, tB = class {
48699
48699
  }), b = z(), x = z([]), y = P(() => {
48700
48700
  }, []);
48701
48701
  En(" AG Grid ", f);
48702
- const S = P((I) => {
48703
- if (f.current = I, g.current = I ? e.createBean(new FP()) : e.destroyBean(g.current), !I || e.isDestroyed())
48702
+ const S = P((k) => {
48703
+ if (f.current = k, g.current = k ? e.createBean(new FP()) : e.destroyBean(g.current), !k || e.isDestroyed())
48704
48704
  return;
48705
- const T = g.current;
48706
- w.current = T.focusInnerElement.bind(T);
48705
+ const I = g.current;
48706
+ w.current = I.focusInnerElement.bind(I);
48707
48707
  const O = {
48708
48708
  destroyGridUi: () => {
48709
48709
  },
@@ -48738,11 +48738,11 @@ var eB = 1e3, tB = class {
48738
48738
  setCursor: r,
48739
48739
  setUserSelect: l
48740
48740
  };
48741
- T.setComp(O, I, I), d(!0);
48741
+ I.setComp(O, k, k), d(!0);
48742
48742
  }, []);
48743
48743
  Se(() => {
48744
- const I = g.current, T = f.current;
48745
- if (!u || !I || !v || !T || e.isDestroyed())
48744
+ const k = g.current, I = f.current;
48745
+ if (!u || !k || !v || !I || e.isDestroyed())
48746
48746
  return;
48747
48747
  const O = [];
48748
48748
  x.current = [], b.current = void 0;
@@ -48752,12 +48752,12 @@ var eB = 1e3, tB = class {
48752
48752
  sideBarSelector: _,
48753
48753
  statusBarSelector: B,
48754
48754
  gridHeaderDropZonesSelector: Y
48755
- } = I.getOptionalSelectors(), G = [];
48755
+ } = k.getOptionalSelectors(), G = [];
48756
48756
  if (Y) {
48757
48757
  const U = e.createBean(
48758
48758
  new Y.component()
48759
48759
  ), Q = U.getGui();
48760
- T.insertAdjacentElement("afterbegin", Q), G.push(Q), O.push(U), x.current.push(...U.getFocusableContainers?.() ?? []);
48760
+ I.insertAdjacentElement("afterbegin", Q), G.push(Q), O.push(U), x.current.push(...U.getFocusableContainers?.() ?? []);
48761
48761
  }
48762
48762
  if (_) {
48763
48763
  const U = e.createBean(new _.component()), Q = U.getGui(), se = v.querySelector(".ag-tab-guard-bottom");
@@ -48765,7 +48765,7 @@ var eB = 1e3, tB = class {
48765
48765
  }
48766
48766
  const H = (U) => {
48767
48767
  const Q = e.createBean(new U()), se = Q.getGui();
48768
- return T.insertAdjacentElement("beforeend", se), G.push(se), O.push(Q), Q;
48768
+ return I.insertAdjacentElement("beforeend", se), G.push(se), O.push(Q), Q;
48769
48769
  };
48770
48770
  if (B) {
48771
48771
  const U = H(B.component);
@@ -48794,13 +48794,13 @@ var eB = 1e3, tB = class {
48794
48794
  cursor: o ?? ""
48795
48795
  }),
48796
48796
  [a, o]
48797
- ), k = P((I) => {
48798
- m.current = I, p(I !== null);
48797
+ ), T = P((k) => {
48798
+ m.current = k, p(k !== null);
48799
48799
  }, []), E = P(() => !g.current?.isFocusable(), []);
48800
48800
  return /* @__PURE__ */ J.createElement("div", { ref: S, className: R, style: D, role: "presentation" }, /* @__PURE__ */ J.createElement("div", { className: F, ref: C, role: "presentation" }, c && v && !e.isDestroyed() && /* @__PURE__ */ J.createElement(Wt.Provider, { value: e.getBeans() }, /* @__PURE__ */ J.createElement(
48801
48801
  AB,
48802
48802
  {
48803
- ref: k,
48803
+ ref: T,
48804
48804
  eFocusableElement: v,
48805
48805
  onTabKeyDown: y,
48806
48806
  gridCtrl: g.current,
@@ -48894,16 +48894,16 @@ var eB = 1e3, tB = class {
48894
48894
  }
48895
48895
  }, D = new WB(F);
48896
48896
  c.current = D;
48897
- const k = new OB(), E = {
48897
+ const T = new OB(), E = {
48898
48898
  providedBeanInstances: {
48899
48899
  frameworkCompWrapper: new jB(o.current, R),
48900
- renderStatus: k
48900
+ renderStatus: T
48901
48901
  },
48902
48902
  modules: S,
48903
48903
  frameworkOverrides: D,
48904
48904
  setThemeOnGridDiv: !0
48905
- }, I = (A) => {
48906
- g(A), A.createBean(k), r.current.push(() => {
48905
+ }, k = (A) => {
48906
+ g(A), A.createBean(T), r.current.push(() => {
48907
48907
  A.destroy();
48908
48908
  }), A.getBean("ctrlsSvc").whenReady(
48909
48909
  {
@@ -48918,7 +48918,7 @@ var eB = 1e3, tB = class {
48918
48918
  V && e.passGridApi?.(V);
48919
48919
  }
48920
48920
  );
48921
- }, T = (A) => {
48921
+ }, I = (A) => {
48922
48922
  A.getBean("ctrlsSvc").whenReady(
48923
48923
  {
48924
48924
  addDestroyFunc: (V) => {
@@ -48935,8 +48935,8 @@ var eB = 1e3, tB = class {
48935
48935
  R.gridId ?? (R.gridId = d.current), i.current = O.create(
48936
48936
  y,
48937
48937
  R,
48938
+ k,
48938
48939
  I,
48939
- T,
48940
48940
  E
48941
48941
  ), r.current.push(() => {
48942
48942
  i.current = void 0;
@@ -49042,14 +49042,14 @@ var jB = class extends MH {
49042
49042
  return;
49043
49043
  }
49044
49044
  const F = {
49045
- toggleCss: (k, E) => l((I) => I.setClass(k, E)),
49046
- toggleDetailGridCss: (k, E) => d((I) => I.setClass(k, E)),
49047
- setDetailGrid: (k) => p(k),
49048
- setRowData: (k) => f(k),
49045
+ toggleCss: (T, E) => l((k) => k.setClass(T, E)),
49046
+ toggleDetailGridCss: (T, E) => d((k) => k.setClass(T, E)),
49047
+ setDetailGrid: (T) => p(T),
49048
+ setRowData: (T) => f(T),
49049
49049
  getGui: () => v.current
49050
49050
  }, D = i.createDynamicBean("detailCellRendererCtrl", !0);
49051
49051
  if (D && (n.createBean(D), D.init(F, e), m.current = D, o.get("detailRowAutoHeight"))) {
49052
- const k = () => {
49052
+ const T = () => {
49053
49053
  if (v.current == null)
49054
49054
  return;
49055
49055
  const E = v.current.clientHeight;
@@ -49057,7 +49057,7 @@ var jB = class extends MH {
49057
49057
  e.node.setRowHeight(E), (mt(o) || fr(o)) && r.onRowHeightChanged();
49058
49058
  }, 0);
49059
49059
  };
49060
- C.current = Fi(s, R, k), k();
49060
+ C.current = Fi(s, R, T), T();
49061
49061
  }
49062
49062
  }, []), S = P((R) => {
49063
49063
  m.current?.registerDetailWithMaster(R);
@@ -49350,15 +49350,15 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49350
49350
  matchReferenceWidth: S = !0,
49351
49351
  maxDropdownHeight: R
49352
49352
  }) => {
49353
- const [F, D] = N(d), k = c !== void 0, E = k ? !!c : F, I = z(null), T = P(
49353
+ const [F, D] = N(d), T = c !== void 0, E = T ? !!c : F, k = z(null), I = P(
49354
49354
  (M) => {
49355
- k || D(M), u?.(M);
49355
+ T || D(M), u?.(M);
49356
49356
  },
49357
- [k, u]
49357
+ [T, u]
49358
49358
  ), O = Os(), A = a === void 0, { refs: V, floatingStyles: _, context: B } = Jn({
49359
49359
  placement: a,
49360
49360
  open: E,
49361
- onOpenChange: T,
49361
+ onOpenChange: I,
49362
49362
  whileElementsMounted: Aa,
49363
49363
  middleware: [
49364
49364
  La({ mainAxis: Io, crossAxis: 0 }),
@@ -49423,29 +49423,29 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49423
49423
  [V]
49424
49424
  ), ee = P(
49425
49425
  (M) => {
49426
- !r.includes(Nt.ContextMenu) || l || (M.preventDefault(), y && (Fe(M.clientX, M.clientY), I.current = document.elementFromPoint(
49426
+ !r.includes(Nt.ContextMenu) || l || (M.preventDefault(), y && (Fe(M.clientX, M.clientY), k.current = document.elementFromPoint(
49427
49427
  M.clientX,
49428
49428
  M.clientY
49429
- )), T(!0));
49429
+ )), I(!0));
49430
49430
  },
49431
- [y, l, T, Fe, r]
49431
+ [y, l, I, Fe, r]
49432
49432
  ), ge = P(
49433
49433
  (M) => {
49434
- !y || l || (r.includes(Nt.ContextMenu) && E && T(!1), Fe(M.clientX, M.clientY), I.current = document.elementFromPoint(
49434
+ !y || l || (r.includes(Nt.ContextMenu) && E && I(!1), Fe(M.clientX, M.clientY), k.current = document.elementFromPoint(
49435
49435
  M.clientX,
49436
49436
  M.clientY
49437
49437
  ));
49438
49438
  },
49439
- [y, l, Fe, E, r, T]
49439
+ [y, l, Fe, E, r, I]
49440
49440
  );
49441
49441
  Se(() => {
49442
- l && E && T(!1);
49443
- }, [l, E, T]);
49442
+ l && E && I(!1);
49443
+ }, [l, E, I]);
49444
49444
  const Me = P(
49445
49445
  (M) => (q) => {
49446
- M.disabled || (M.onClick?.({ key: M.key, domEvent: q }), s?.({ key: M.key, domEvent: q }), T(!1));
49446
+ M.disabled || (M.onClick?.({ key: M.key, domEvent: q }), s?.({ key: M.key, domEvent: q }), I(!1));
49447
49447
  },
49448
- [s, T]
49448
+ [s, I]
49449
49449
  ), ie = W(() => o ? o() : t ? /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
49450
49450
  i && /* @__PURE__ */ h.jsx(h.Fragment, { children: typeof i == "function" ? i() : i }),
49451
49451
  /* @__PURE__ */ h.jsx(
@@ -49478,7 +49478,7 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49478
49478
  QB,
49479
49479
  {
49480
49480
  item: M,
49481
- onRootClose: () => T(!1)
49481
+ onRootClose: () => I(!1)
49482
49482
  },
49483
49483
  M.key
49484
49484
  ) : /* @__PURE__ */ h.jsxs(
@@ -49531,7 +49531,7 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49531
49531
  n,
49532
49532
  i,
49533
49533
  o,
49534
- T,
49534
+ I,
49535
49535
  m,
49536
49536
  v
49537
49537
  ]), pe = Q({
@@ -49542,15 +49542,15 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49542
49542
  if (!E) return;
49543
49543
  const M = V.reference.current;
49544
49544
  let q = null;
49545
- if (M instanceof Element ? q = M : I.current instanceof Element && (q = I.current), !q) return;
49545
+ if (M instanceof Element ? q = M : k.current instanceof Element && (q = k.current), !q) return;
49546
49546
  const be = new IntersectionObserver(
49547
49547
  ([Pe]) => {
49548
- Pe.isIntersecting || T(!1);
49548
+ Pe.isIntersecting || I(!1);
49549
49549
  },
49550
49550
  { root: null, threshold: 0 }
49551
49551
  );
49552
49552
  return be.observe(q), () => be.disconnect();
49553
- }, [E, V.reference, T]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
49553
+ }, [E, V.reference, I]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
49554
49554
  /* @__PURE__ */ h.jsx(
49555
49555
  "span",
49556
49556
  {
@@ -49592,7 +49592,7 @@ const ZB = "rounded bg-layer-0 shadow", Id = ({
49592
49592
  {
49593
49593
  ariaLabel: "Close dropdown",
49594
49594
  onClose: (M) => {
49595
- g?.(M), T(!1);
49595
+ g?.(M), I(!1);
49596
49596
  }
49597
49597
  }
49598
49598
  ) }),
@@ -49684,9 +49684,9 @@ const Kx = ({
49684
49684
  allowDisabledContextMenu: x = !1,
49685
49685
  selectionMode: y
49686
49686
  }) => {
49687
- const [S, R] = N(), F = Os(), D = Ha(), k = nG(), E = z(/* @__PURE__ */ new Set()), I = z(
49687
+ const [S, R] = N(), F = Os(), D = Ha(), T = nG(), E = z(/* @__PURE__ */ new Set()), k = z(
49688
49688
  void 0
49689
- ), T = W(
49689
+ ), I = W(
49690
49690
  () => ({
49691
49691
  ...ih,
49692
49692
  oddRowBackgroundColor: p ? ih.oddRowBackgroundColor : ih.backgroundColor,
@@ -49729,7 +49729,7 @@ const Kx = ({
49729
49729
  if (!S)
49730
49730
  return;
49731
49731
  const be = (M.selectedNodes || []).map((K) => K.data), Pe = new Set(be.map(u));
49732
- E.current = Pe, I.current = M.source, V(M.source) || c?.(Pe, be);
49732
+ E.current = Pe, k.current = M.source, V(M.source) || c?.(Pe, be);
49733
49733
  },
49734
49734
  [S, u, V, c]
49735
49735
  ), B = W(() => oG(
@@ -49761,8 +49761,8 @@ const Kx = ({
49761
49761
  [u, a]
49762
49762
  ), G = P(() => {
49763
49763
  const M = "dial-row-select", q = "dial-row-select-visible";
49764
- return D || k || l && l.size > 0 ? `${M} ${q}` : !l || l.size === 0 ? M : `${M} ${q}`;
49765
- }, [D, k, l]), H = P(() => D || k ? G() : !l || l.size === 0 ? "dial-row-not-select-header" : G(), [G, D, k, l]), U = W(() => {
49764
+ return D || T || l && l.size > 0 ? `${M} ${q}` : !l || l.size === 0 ? M : `${M} ${q}`;
49765
+ }, [D, T, l]), H = P(() => D || T ? G() : !l || l.size === 0 ? "dial-row-not-select-header" : G(), [G, D, T, l]), U = W(() => {
49766
49766
  if (y === dc.SINGLE)
49767
49767
  return {
49768
49768
  ...eG,
@@ -49912,7 +49912,7 @@ const Kx = ({
49912
49912
  }, []);
49913
49913
  return Se(() => {
49914
49914
  const M = V(
49915
- I.current
49915
+ k.current
49916
49916
  );
49917
49917
  if (S && l?.size && M) {
49918
49918
  const q = Array.from(l)[0];
@@ -49946,7 +49946,7 @@ const Kx = ({
49946
49946
  headerHeight: Jv,
49947
49947
  rowHeight: Jv,
49948
49948
  cellSelection: !1,
49949
- theme: TI.withPart(rI).withParams({ ...T }),
49949
+ theme: TI.withPart(rI).withParams({ ...I }),
49950
49950
  autoSizeStrategy: { type: "fitGridWidth" },
49951
49951
  columnDefs: se,
49952
49952
  defaultColDef: Fe,
@@ -50087,7 +50087,7 @@ const $r = ({
50087
50087
  inlineContainerClassName: u,
50088
50088
  inlineTabClassName: p
50089
50089
  }) => {
50090
- const [g, f] = N(!1), [m, v] = N(!1), [C, w] = N(!1), b = rG(), x = b === _i.Mobile || r === Uc.Tablet && b === _i.Tablet, y = n === fp.Horizontal, S = z(null), R = z(null), F = z(null), D = e.find((O) => O.id === t), k = W(
50090
+ const [g, f] = N(!1), [m, v] = N(!1), [C, w] = N(!1), b = rG(), x = b === _i.Mobile || r === Uc.Tablet && b === _i.Tablet, y = n === fp.Horizontal, S = z(null), R = z(null), F = z(null), D = e.find((O) => O.id === t), T = W(
50091
50091
  () => L(
50092
50092
  "flex gap-2",
50093
50093
  y ? "flex-row flex-nowrap overflow-x-auto" : "flex-col flex-wrap w-full"
@@ -50096,7 +50096,7 @@ const $r = ({
50096
50096
  ), E = P(() => {
50097
50097
  const O = R.current;
50098
50098
  O && w(O.scrollWidth > O.clientWidth);
50099
- }, []), I = P(() => {
50099
+ }, []), k = P(() => {
50100
50100
  const O = F.current, A = R.current;
50101
50101
  if (!O || !A) return;
50102
50102
  const V = O.getBoundingClientRect(), _ = A.getBoundingClientRect();
@@ -50117,19 +50117,19 @@ const $r = ({
50117
50117
  left: Y,
50118
50118
  behavior: "smooth"
50119
50119
  });
50120
- }, []), T = P(
50120
+ }, []), I = P(
50121
50121
  (O) => {
50122
- s(O), O === t && I();
50122
+ s(O), O === t && k();
50123
50123
  },
50124
- [s, t, I]
50124
+ [s, t, k]
50125
50125
  );
50126
50126
  return Se(() => {
50127
50127
  E();
50128
50128
  const O = new ResizeObserver(() => E()), A = R.current;
50129
50129
  return A && O.observe(A), () => O.disconnect();
50130
50130
  }, [e, E]), Se(() => {
50131
- I();
50132
- }, [t, I]), o === Yo.Inline ? /* @__PURE__ */ h.jsx(
50131
+ k();
50132
+ }, [t, k]), o === Yo.Inline ? /* @__PURE__ */ h.jsx(
50133
50133
  "div",
50134
50134
  {
50135
50135
  role: "tablist",
@@ -50143,7 +50143,7 @@ const $r = ({
50143
50143
  tab: O,
50144
50144
  active: t === O.id,
50145
50145
  view: Yo.Inline,
50146
- onClick: T,
50146
+ onClick: I,
50147
50147
  className: p
50148
50148
  },
50149
50149
  O.id
@@ -50171,7 +50171,7 @@ const $r = ({
50171
50171
  tab: O,
50172
50172
  active: O.id === t,
50173
50173
  onClick: (A) => {
50174
- T(A), f(!1);
50174
+ I(A), f(!1);
50175
50175
  },
50176
50176
  className: L(
50177
50177
  "w-full rounded-none h-11 items-center px-6",
@@ -50186,7 +50186,7 @@ const $r = ({
50186
50186
  {
50187
50187
  tab: D,
50188
50188
  active: !0,
50189
- onClick: T,
50189
+ onClick: I,
50190
50190
  className: "rounded-none bg-transparent border-l-0 border-b-0 h-full items-center px-0"
50191
50191
  },
50192
50192
  t
@@ -50213,7 +50213,7 @@ const $r = ({
50213
50213
  ref: S,
50214
50214
  className: L("flex items-center", i),
50215
50215
  children: [
50216
- /* @__PURE__ */ h.jsx("div", { ref: R, role: "tablist", className: k, children: e.map((O) => /* @__PURE__ */ h.jsx(
50216
+ /* @__PURE__ */ h.jsx("div", { ref: R, role: "tablist", className: T, children: e.map((O) => /* @__PURE__ */ h.jsx(
50217
50217
  "div",
50218
50218
  {
50219
50219
  ref: t === O.id ? F : void 0,
@@ -50223,7 +50223,7 @@ const $r = ({
50223
50223
  {
50224
50224
  tab: O,
50225
50225
  active: t === O.id,
50226
- onClick: T,
50226
+ onClick: I,
50227
50227
  horizontal: y,
50228
50228
  className: L("w-full", d)
50229
50229
  }
@@ -50244,7 +50244,7 @@ const $r = ({
50244
50244
  tab: O,
50245
50245
  active: O.id === t,
50246
50246
  onClick: (A) => {
50247
- T(A), v(!1);
50247
+ I(A), v(!1);
50248
50248
  },
50249
50249
  className: "w-full rounded-none h-8 items-center px-3 py-2"
50250
50250
  },
@@ -50889,7 +50889,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
50889
50889
  }) => {
50890
50890
  const f = z(null), m = z([]), v = z(null), [C, w] = N(e), [b, x] = N(""), [y, S] = N(!1), [R, F] = N(e.length), D = P((_) => (B) => {
50891
50891
  m.current[_] = B;
50892
- }, []), k = P(() => {
50892
+ }, []), T = P(() => {
50893
50893
  if (!c) return;
50894
50894
  const _ = f.current;
50895
50895
  if (!_) return;
@@ -50917,9 +50917,9 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
50917
50917
  const Y = [B, ...C];
50918
50918
  w(Y), g?.(Y);
50919
50919
  }
50920
- }, I = (_) => {
50920
+ }, k = (_) => {
50921
50921
  (_.key === "," || _.key === "Enter") && (_.preventDefault(), E(b), x(""));
50922
- }, T = () => {
50922
+ }, I = () => {
50923
50923
  b.trim() && (E(b), x(""));
50924
50924
  }, O = (_) => {
50925
50925
  const B = C.filter((Y, G) => G !== _);
@@ -50941,10 +50941,10 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
50941
50941
  }
50942
50942
  F(C.length);
50943
50943
  const _ = new ResizeObserver(() => {
50944
- k();
50944
+ T();
50945
50945
  }), B = f.current;
50946
- return B && _.observe(B), k(), () => _.disconnect();
50947
- }, [c, k, C]), Se(() => {
50946
+ return B && _.observe(B), T(), () => _.disconnect();
50947
+ }, [c, T, C]), Se(() => {
50948
50948
  w(e);
50949
50949
  }, [JSON.stringify(e)]);
50950
50950
  const V = /* @__PURE__ */ h.jsxs(
@@ -50984,8 +50984,8 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
50984
50984
  type: "text",
50985
50985
  value: b,
50986
50986
  onChange: (_) => x(_.target.value),
50987
- onKeyDown: I,
50988
- onBlur: T,
50987
+ onKeyDown: k,
50988
+ onBlur: I,
50989
50989
  className: ue(
50990
50990
  "dial-input outline-none !border-none w-full flex-1 !p-1 !h-auto",
50991
50991
  c ? "min-w-0" : "min-w-[100px]"
@@ -51242,7 +51242,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
51242
51242
  s || R(!0);
51243
51243
  }, [s]), D = P(() => {
51244
51244
  R(!1), d?.();
51245
- }, [d]), k = P(() => {
51245
+ }, [d]), T = P(() => {
51246
51246
  f?.(), D();
51247
51247
  }, [f, D]), E = P(() => {
51248
51248
  g(), D();
@@ -51254,7 +51254,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
51254
51254
  {
51255
51255
  disabled: s,
51256
51256
  open: S,
51257
- selectedValue: o ?? n.find((I) => I.id === i)?.name,
51257
+ selectedValue: o ?? n.find((k) => k.id === i)?.name,
51258
51258
  valueClassName: r,
51259
51259
  inputClassName: ue(a, "py-2", "px-3"),
51260
51260
  emptyValueText: l,
@@ -51264,7 +51264,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
51264
51264
  wr,
51265
51265
  {
51266
51266
  open: S,
51267
- onClose: k,
51267
+ onClose: T,
51268
51268
  header: u,
51269
51269
  portalId: p,
51270
51270
  size: y,
@@ -51273,7 +51273,7 @@ const SG = "flex justify-end gap-2 px-6 py-4 border-t border-tertiary", RG = "te
51273
51273
  bi,
51274
51274
  {
51275
51275
  label: m,
51276
- onClick: k
51276
+ onClick: T
51277
51277
  }
51278
51278
  ),
51279
51279
  /* @__PURE__ */ h.jsx(
@@ -51777,10 +51777,10 @@ const WG = "dial-input flex w-full items-center justify-between gap-2 dial-small
51777
51777
  header: R,
51778
51778
  footer: F,
51779
51779
  onClose: D,
51780
- onChange: k,
51780
+ onChange: T,
51781
51781
  inlineSearch: E = !1,
51782
- dismissRef: I,
51783
- onFooterClick: T,
51782
+ dismissRef: k,
51783
+ onFooterClick: I,
51784
51784
  open: O,
51785
51785
  onOpenChange: A,
51786
51786
  onInlineQueryChange: V,
@@ -51811,9 +51811,9 @@ const WG = "dial-input flex w-full items-center justify-between gap-2 dial-small
51811
51811
  }, [l, E, U, ge]);
51812
51812
  const K = P(
51813
51813
  (Z) => {
51814
- Me || pe(Z), k?.(Z);
51814
+ Me || pe(Z), T?.(Z);
51815
51815
  },
51816
- [Me, k]
51816
+ [Me, T]
51817
51817
  ), fe = P(
51818
51818
  (Z) => {
51819
51819
  if (t) {
@@ -51924,7 +51924,7 @@ const WG = "dial-input flex w-full items-center justify-between gap-2 dial-small
51924
51924
  me,
51925
51925
  _
51926
51926
  ]);
51927
- cr(I, () => ({
51927
+ cr(k, () => ({
51928
51928
  dismiss: () => {
51929
51929
  Q(!1);
51930
51930
  }
@@ -52090,7 +52090,7 @@ const WG = "dial-input flex w-full items-center justify-between gap-2 dial-small
52090
52090
  "div",
52091
52091
  {
52092
52092
  onClick: (Z) => {
52093
- T?.(Z), T && Q(!1);
52093
+ I?.(Z), I && Q(!1);
52094
52094
  },
52095
52095
  children: typeof F == "function" ? F() : F
52096
52096
  }
@@ -52821,7 +52821,7 @@ const cV = function(t, s, i) {
52821
52821
  Se(() => {
52822
52822
  R();
52823
52823
  }, [n]);
52824
- const [{ isOver: D, canDrop: k }, E] = $p(
52824
+ const [{ isOver: D, canDrop: T }, E] = $p(
52825
52825
  () => ({
52826
52826
  accept: [kd],
52827
52827
  drop(V) {
@@ -52838,9 +52838,9 @@ const cV = function(t, s, i) {
52838
52838
  })
52839
52839
  }),
52840
52840
  [e, d, u, y]
52841
- ), I = (V) => {
52841
+ ), k = (V) => {
52842
52842
  (V.key === "Enter" || V.key === "Space") && (V.preventDefault(), g.current?.click());
52843
- }, T = (V) => {
52843
+ }, I = (V) => {
52844
52844
  V?.preventDefault();
52845
52845
  const _ = Array.from(V.dataTransfer?.items ?? []);
52846
52846
  C(!!d?.(_)), b(!!u?.(_)), m(_);
@@ -52848,8 +52848,8 @@ const cV = function(t, s, i) {
52848
52848
  V.target === V.currentTarget && R();
52849
52849
  }, A = ue(
52850
52850
  "border border-dashed rounded w-full cursor-pointer relative h-full hover:border-hover",
52851
- !k && !S && "border-primary",
52852
- k && (D ? "border-accent-primary" : "border-hover"),
52851
+ !T && !S && "border-primary",
52852
+ T && (D ? "border-accent-primary" : "border-hover"),
52853
52853
  S && "border-error"
52854
52854
  );
52855
52855
  return E(p), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
@@ -52858,7 +52858,7 @@ const cV = function(t, s, i) {
52858
52858
  {
52859
52859
  className: A,
52860
52860
  ref: p,
52861
- onDragOver: T,
52861
+ onDragOver: I,
52862
52862
  onDragLeave: O,
52863
52863
  children: [
52864
52864
  /* @__PURE__ */ h.jsxs(
@@ -52866,7 +52866,7 @@ const cV = function(t, s, i) {
52866
52866
  {
52867
52867
  htmlFor: "file",
52868
52868
  tabIndex: 0,
52869
- onKeyDown: I,
52869
+ onKeyDown: k,
52870
52870
  className: "flex flex-col items-center cursor-pointer size-full text-secondary dial-tiny-text justify-center",
52871
52871
  children: [
52872
52872
  t && /* @__PURE__ */ h.jsx("p", { className: "mb-1", children: t }),
@@ -52938,9 +52938,9 @@ const cV = function(t, s, i) {
52938
52938
  () => ({
52939
52939
  accept: [kd],
52940
52940
  drop(D) {
52941
- const k = D.files, E = [...t, ...k], I = i?.(k) ?? !1, T = n?.(k) ?? !1, O = C?.(k) ?? !1;
52942
- if (u(I), g(T), I || T || O) {
52943
- m(k.length);
52941
+ const T = D.files, E = [...t, ...T], k = i?.(T) ?? !1, I = n?.(T) ?? !1, O = C?.(T) ?? !1;
52942
+ if (u(k), g(I), k || I || O) {
52943
+ m(T.length);
52944
52944
  return;
52945
52945
  }
52946
52946
  s(E), v();
@@ -52960,8 +52960,8 @@ const cV = function(t, s, i) {
52960
52960
  ]
52961
52961
  ), S = (D) => {
52962
52962
  D.preventDefault();
52963
- const k = Array.from(D.dataTransfer?.items ?? []);
52964
- u(!!i?.(k)), g(!1), m(k.length);
52963
+ const T = Array.from(D.dataTransfer?.items ?? []);
52964
+ u(!!i?.(T)), g(!1), m(T.length);
52965
52965
  }, R = (D) => {
52966
52966
  D.target === D.currentTarget && v();
52967
52967
  };
@@ -53076,8 +53076,8 @@ const cV = function(t, s, i) {
53076
53076
  if (!o)
53077
53077
  return !1;
53078
53078
  const D = o * (1024 * 1024);
53079
- return F?.some((k) => {
53080
- const E = k.size;
53079
+ return F?.some((T) => {
53080
+ const E = T.size;
53081
53081
  return !!E && E > D;
53082
53082
  });
53083
53083
  },
@@ -53087,15 +53087,15 @@ const cV = function(t, s, i) {
53087
53087
  if (!r || !u)
53088
53088
  return !1;
53089
53089
  const D = r * 1024 * 1024;
53090
- return F.reduce((E, I) => E + I.size, 0) > D;
53090
+ return F.reduce((E, k) => E + k.size, 0) > D;
53091
53091
  },
53092
53092
  [r, u]
53093
53093
  ), R = P(
53094
53094
  (F) => {
53095
53095
  const D = F.target.files;
53096
53096
  if (D && D.length > 0) {
53097
- const k = Array.from(D), E = x(k), I = y(k);
53098
- !E && !I && e([...i || [], ...k]);
53097
+ const T = Array.from(D), E = x(T), k = y(T);
53098
+ !E && !k && e([...i || [], ...T]);
53099
53099
  }
53100
53100
  },
53101
53101
  [x, y, e, i]
@@ -53293,16 +53293,16 @@ const dC = ({
53293
53293
  }) => {
53294
53294
  const m = o.length === 1, v = m ? o[0]?.name : "", C = c?.[Dt.Replace] ?? "Replace", w = c?.[Dt.Duplicate] ?? "Duplicate", b = c?.[Dt.Cancel] ?? "Cancel", x = d?.[ls.ReplaceAll] ?? "Replace all", y = d?.[ls.DuplicateAll] ?? "Duplicate all", S = d?.[ls.DecideForEach] ?? "Decide for each", [R, F] = N(
53295
53295
  Dt.Replace
53296
- ), [D, k] = N(
53296
+ ), [D, T] = N(
53297
53297
  ls.ReplaceAll
53298
- ), [E, I] = N(
53298
+ ), [E, k] = N(
53299
53299
  new Map(
53300
53300
  o.map((ee) => [
53301
53301
  ee.path,
53302
53302
  Dt.Replace
53303
53303
  ])
53304
53304
  )
53305
- ), [T, O] = N(
53305
+ ), [I, O] = N(
53306
53306
  void 0
53307
53307
  ), A = m ? r : a, V = /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
53308
53308
  "Item with the name ",
@@ -53383,7 +53383,7 @@ const dC = ({
53383
53383
  }
53384
53384
  ], Me = ge.find(
53385
53385
  (pe) => pe.key === ee.data.action
53386
- ), ie = T === ee.data.path;
53386
+ ), ie = I === ee.data.path;
53387
53387
  return /* @__PURE__ */ h.jsx("div", { className: "flex items-center h-full", children: /* @__PURE__ */ h.jsx(
53388
53388
  jt,
53389
53389
  {
@@ -53391,7 +53391,7 @@ const dC = ({
53391
53391
  open: ie,
53392
53392
  items: ge,
53393
53393
  onItemClick: ({ key: pe }) => {
53394
- I((M) => {
53394
+ k((M) => {
53395
53395
  const q = new Map(M);
53396
53396
  return q.set(
53397
53397
  ee.data.path,
@@ -53431,7 +53431,7 @@ const dC = ({
53431
53431
  C,
53432
53432
  w,
53433
53433
  b,
53434
- T
53434
+ I
53435
53435
  ]), U = W(
53436
53436
  () => [
53437
53437
  {
@@ -53469,7 +53469,7 @@ const dC = ({
53469
53469
  G
53470
53470
  ]
53471
53471
  ), Q = P(() => {
53472
- F(Dt.Replace), k(ls.ReplaceAll), I(
53472
+ F(Dt.Replace), T(ls.ReplaceAll), k(
53473
53473
  new Map(
53474
53474
  o.map((ee) => [
53475
53475
  ee.path,
@@ -53538,7 +53538,7 @@ const dC = ({
53538
53538
  radioButtons: U,
53539
53539
  activeRadioButton: D,
53540
53540
  orientation: tr.Column,
53541
- onChange: (ee) => k(ee),
53541
+ onChange: (ee) => T(ee),
53542
53542
  formItemChildrenClassName: "gap-3"
53543
53543
  }
53544
53544
  )
@@ -56423,10 +56423,10 @@ const _V = (e) => {
56423
56423
  (b, x, y, S) => {
56424
56424
  const R = e(b), F = new Set(R.map(gh));
56425
56425
  return x.map((D) => {
56426
- const k = D.name, E = F.has(k), I = y && E ? k : fC(k, F, D.nodeType);
56427
- return (!y || !E) && F.add(I), {
56426
+ const T = D.name, E = F.has(T), k = y && E ? T : fC(T, F, D.nodeType);
56427
+ return (!y || !E) && F.add(k), {
56428
56428
  sourceUrl: D.path,
56429
- destinationUrl: `${b}/${I}`,
56429
+ destinationUrl: `${b}/${k}`,
56430
56430
  overwrite: y && E,
56431
56431
  nodeType: D.nodeType ?? Te.ITEM,
56432
56432
  ...S ?? {}
@@ -56437,13 +56437,13 @@ const _V = (e) => {
56437
56437
  ), g = P(
56438
56438
  (b, x, y, S) => {
56439
56439
  const R = e(b), F = new Set(R.map(gh));
56440
- return x.filter((k) => y.get(k.path) !== Dt.Cancel).map((k) => {
56441
- const E = y.get(k.path), I = F.has(k.name), T = E === Dt.Replace && I, O = T ? k.name : fC(k.name, F, k.nodeType);
56442
- return T || F.add(O), {
56443
- sourceUrl: k.path,
56440
+ return x.filter((T) => y.get(T.path) !== Dt.Cancel).map((T) => {
56441
+ const E = y.get(T.path), k = F.has(T.name), I = E === Dt.Replace && k, O = I ? T.name : fC(T.name, F, T.nodeType);
56442
+ return I || F.add(O), {
56443
+ sourceUrl: T.path,
56444
56444
  destinationUrl: `${b}/${O}`,
56445
- overwrite: T,
56446
- nodeType: k.nodeType ?? Te.ITEM,
56445
+ overwrite: I,
56446
+ nodeType: T.nodeType ?? Te.ITEM,
56447
56447
  ...S ?? {}
56448
56448
  };
56449
56449
  });
@@ -56559,10 +56559,10 @@ const _V = (e) => {
56559
56559
  startConflictResolution: R,
56560
56560
  resolveConflictsWithStrategy: F,
56561
56561
  closeConflictResolution: D,
56562
- openConflictResolution: k,
56562
+ openConflictResolution: T,
56563
56563
  handleReplaceAll: E,
56564
- handleDuplicateAll: I,
56565
- handleCancelAll: T,
56564
+ handleDuplicateAll: k,
56565
+ handleCancelAll: I,
56566
56566
  handleDecideForEach: O
56567
56567
  } = v0({
56568
56568
  getDestinationFiles: e,
@@ -56624,10 +56624,10 @@ const _V = (e) => {
56624
56624
  ), B = P(() => {
56625
56625
  E(), A();
56626
56626
  }, [E, A]), Y = P(() => {
56627
+ k(), A();
56628
+ }, [k, A]), G = P(() => {
56627
56629
  I(), A();
56628
- }, [I, A]), G = P(() => {
56629
- T(), A();
56630
- }, [T, A]), H = P(
56630
+ }, [I, A]), H = P(
56631
56631
  (ie) => {
56632
56632
  O(ie), A();
56633
56633
  },
@@ -56681,7 +56681,7 @@ const _V = (e) => {
56681
56681
  clearState: A,
56682
56682
  conflictingFiles: x,
56683
56683
  conflictResolutionOpen: y,
56684
- openConflictResolution: k,
56684
+ openConflictResolution: T,
56685
56685
  closeConflictResolution: D,
56686
56686
  handleConflictReplace: B,
56687
56687
  handleConflictCancel: G,
@@ -56778,10 +56778,10 @@ const _V = (e) => {
56778
56778
  x(/* @__PURE__ */ new Map()), S(null);
56779
56779
  }, []), {
56780
56780
  conflictingFiles: D,
56781
- conflictResolutionOpen: k,
56781
+ conflictResolutionOpen: T,
56782
56782
  hasActiveConflictRef: E,
56783
- startConflictResolution: I,
56784
- closeConflictResolution: T,
56783
+ startConflictResolution: k,
56784
+ closeConflictResolution: I,
56785
56785
  openConflictResolution: O,
56786
56786
  handleReplaceAll: A,
56787
56787
  handleDuplicateAll: V,
@@ -56813,10 +56813,10 @@ const _V = (e) => {
56813
56813
  }
56814
56814
  });
56815
56815
  Se(() => {
56816
- a && w || (d(!1), p(!1), f(void 0), T(), F());
56816
+ a && w || (d(!1), p(!1), f(void 0), I(), F());
56817
56817
  }, [
56818
56818
  a,
56819
- T,
56819
+ I,
56820
56820
  F,
56821
56821
  w
56822
56822
  ]), Se(() => {
@@ -56883,7 +56883,7 @@ const _V = (e) => {
56883
56883
  oe,
56884
56884
  fe
56885
56885
  );
56886
- return S({ destinationFolder: fe }), I(fe, Ge, {
56886
+ return S({ destinationFolder: fe }), k(fe, Ge, {
56887
56887
  destinationFolder: fe
56888
56888
  }).hasConflicts ? !1 : (e?.(oe, fe), F(), !0);
56889
56889
  },
@@ -56896,7 +56896,7 @@ const _V = (e) => {
56896
56896
  s,
56897
56897
  n,
56898
56898
  G,
56899
- I,
56899
+ k,
56900
56900
  F,
56901
56901
  w
56902
56902
  ]
@@ -56912,8 +56912,8 @@ const _V = (e) => {
56912
56912
  },
56913
56913
  [B, F]
56914
56914
  ), ee = P(() => {
56915
- T(), E.current || F();
56916
- }, [T, E, F]), ge = P(
56915
+ I(), E.current || F();
56916
+ }, [I, E, F]), ge = P(
56917
56917
  (K) => {
56918
56918
  !a || !w || (K.preventDefault(), K.stopPropagation(), K.dataTransfer.types.includes("Files") && d(!0));
56919
56919
  },
@@ -57049,7 +57049,7 @@ const _V = (e) => {
57049
57049
  };
57050
57050
  if (C.current = fe, S({ destinationFolder: K }), x(
57051
57051
  /* @__PURE__ */ new Map([[ve.path, { fileContent: ce, name: Ge }]])
57052
- ), I(K, [ve], {
57052
+ ), k(K, [ve], {
57053
57053
  destinationFolder: K
57054
57054
  }).hasConflicts) {
57055
57055
  document.body.removeChild(me);
@@ -57067,7 +57067,7 @@ const _V = (e) => {
57067
57067
  o,
57068
57068
  a,
57069
57069
  w,
57070
- I,
57070
+ k,
57071
57071
  r
57072
57072
  ]
57073
57073
  ), Pe = P(() => {
@@ -57087,7 +57087,7 @@ const _V = (e) => {
57087
57087
  openArchiveDialog: be,
57088
57088
  fileInputRef: m,
57089
57089
  uploadConflictingFiles: D,
57090
- uploadConflictResolutionOpen: k,
57090
+ uploadConflictResolutionOpen: T,
57091
57091
  hasActiveUploadConflictRef: E,
57092
57092
  openUploadConflictResolution: O,
57093
57093
  closeUploadConflictResolution: ee,
@@ -57346,10 +57346,10 @@ const rj = ({
57346
57346
  if (c === Ps.Folder)
57347
57347
  return e;
57348
57348
  if (c === Ps.Sibling && u) {
57349
- const I = Qo(n, u.parentPath || "");
57349
+ const k = Qo(n, u.parentPath || "");
57350
57350
  return {
57351
57351
  path: u.parentPath,
57352
- items: I?.items || [],
57352
+ items: k?.items || [],
57353
57353
  nodeType: Te.FOLDER,
57354
57354
  name: u?.parentPath?.split("/")?.pop() || "",
57355
57355
  folderId: ""
@@ -57358,73 +57358,73 @@ const rj = ({
57358
57358
  return c === Ps.Child ? u : e;
57359
57359
  }, [c, u, e, n]);
57360
57360
  Se(() => {
57361
- const I = b?.path;
57362
- C.current !== I && o && (r(!1), l(null), v("")), C.current = I;
57361
+ const k = b?.path;
57362
+ C.current !== k && o && (r(!1), l(null), v("")), C.current = k;
57363
57363
  }, [b?.path, o]);
57364
57364
  const x = P(() => {
57365
57365
  if (o) return;
57366
57366
  C.current = e?.path || "/";
57367
- const I = `__new_folder_${Date.now()}`, T = (e?.items ?? []).filter(
57367
+ const k = `__new_folder_${Date.now()}`, I = (e?.items ?? []).filter(
57368
57368
  (A) => A.nodeType === Te.FOLDER
57369
- ), O = qr(T);
57370
- l(I), v(O), r(!0), d(Ps.Folder), p(e || null);
57369
+ ), O = qr(I);
57370
+ l(k), v(O), r(!0), d(Ps.Folder), p(e || null);
57371
57371
  }, [o, e]), y = P(
57372
- (I) => {
57372
+ (k) => {
57373
57373
  if (o) return;
57374
- C.current = I?.parentPath || "/";
57375
- const T = `__new_folder_${Date.now()}`, A = (Qo(n, I?.parentPath || "/")?.items ?? []).filter(
57374
+ C.current = k?.parentPath || "/";
57375
+ const I = `__new_folder_${Date.now()}`, A = (Qo(n, k?.parentPath || "/")?.items ?? []).filter(
57376
57376
  (_) => _.nodeType === Te.FOLDER
57377
57377
  ), V = qr(A);
57378
- v(V), l(T), r(!0), d(Ps.Sibling), p(I), f(I?.parentPath || "/");
57378
+ v(V), l(I), r(!0), d(Ps.Sibling), p(k), f(k?.parentPath || "/");
57379
57379
  },
57380
57380
  [o, n]
57381
57381
  ), S = P(
57382
- (I) => {
57382
+ (k) => {
57383
57383
  if (o) return;
57384
- C.current = I.path;
57385
- const T = `__new_folder_${Date.now()}`, O = (I?.items ?? []).filter(
57384
+ C.current = k.path;
57385
+ const I = `__new_folder_${Date.now()}`, O = (k?.items ?? []).filter(
57386
57386
  (V) => V.nodeType === Te.FOLDER
57387
57387
  ), A = qr(O);
57388
- v(A), l(T), r(!0), d(Ps.Child), p(I), f(I?.path || "/");
57388
+ v(A), l(I), r(!0), d(Ps.Child), p(k), f(k?.path || "/");
57389
57389
  },
57390
57390
  [o]
57391
57391
  ), R = P(
57392
- (I) => {
57392
+ (k) => {
57393
57393
  if (o) return;
57394
- C.current = I?.parentPath || "/";
57395
- const O = (Qo(n, I?.parentPath || "/")?.items ?? []).filter(
57394
+ C.current = k?.parentPath || "/";
57395
+ const O = (Qo(n, k?.parentPath || "/")?.items ?? []).filter(
57396
57396
  (V) => V.nodeType === Te.FOLDER
57397
57397
  ), A = qr(O);
57398
- v(A), d(Ps.Sibling), p(I), f(I?.parentPath || "/"), r(!0);
57398
+ v(A), d(Ps.Sibling), p(k), f(k?.parentPath || "/"), r(!0);
57399
57399
  },
57400
57400
  [o, n]
57401
57401
  ), F = P(
57402
- (I) => {
57402
+ (k) => {
57403
57403
  if (o) return;
57404
- C.current = I.path;
57405
- const T = (I?.items ?? []).filter(
57404
+ C.current = k.path;
57405
+ const I = (k?.items ?? []).filter(
57406
57406
  (A) => A.nodeType === Te.FOLDER
57407
- ), O = qr(T);
57408
- v(O), d(Ps.Child), p(I), f(I?.path || "/"), r(!0);
57407
+ ), O = qr(I);
57408
+ v(O), d(Ps.Child), p(k), f(k?.path || "/"), r(!0);
57409
57409
  },
57410
57410
  [o]
57411
57411
  ), D = P(() => {
57412
57412
  r(!1), l(null), d(Ps.Folder), p(null), f(null), C.current = void 0, v("");
57413
- }, []), k = P(
57414
- (I) => {
57415
- const T = I.trim();
57416
- if (!T)
57413
+ }, []), T = P(
57414
+ (k) => {
57415
+ const I = k.trim();
57416
+ if (!I)
57417
57417
  return w.emptyName;
57418
- if (T.includes(".."))
57418
+ if (I.includes(".."))
57419
57419
  return w.consecutiveDotsError;
57420
- if (T.startsWith(".") && T.length > 1)
57420
+ if (I.startsWith(".") && I.length > 1)
57421
57421
  return w.hiddenItemWarning;
57422
57422
  if (b && b.items && new Set(
57423
57423
  (b.items ?? []).filter((A) => A.nodeType === Te.FOLDER).map((A) => A.name.toLowerCase())
57424
- ).has(T.toLowerCase()))
57424
+ ).has(I.toLowerCase()))
57425
57425
  return w.duplicateName;
57426
57426
  if (s && b) {
57427
- const O = s(T, b);
57427
+ const O = s(I, b);
57428
57428
  if (O)
57429
57429
  return O;
57430
57430
  }
@@ -57432,12 +57432,12 @@ const rj = ({
57432
57432
  },
57433
57433
  [b, s, w]
57434
57434
  ), E = P(
57435
- async (I) => {
57436
- const T = I.trim();
57437
- if (!T)
57435
+ async (k) => {
57436
+ const I = k.trim();
57437
+ if (!I)
57438
57438
  return;
57439
57439
  D();
57440
- const A = `${b?.path ?? "/"}/${T}`, V = `${A}/${dh}`, B = {
57440
+ const A = `${b?.path ?? "/"}/${I}`, V = `${A}/${dh}`, B = {
57441
57441
  fileContent: new File([], dh, {
57442
57442
  type: "text/plain"
57443
57443
  }),
@@ -57459,7 +57459,7 @@ const rj = ({
57459
57459
  startTreeChildFolderCreation: F,
57460
57460
  cancelFolderCreation: D,
57461
57461
  saveFolderCreation: E,
57462
- validateFolderName: k
57462
+ validateFolderName: T
57463
57463
  };
57464
57464
  }, dj = ({
57465
57465
  additionalButtons: e,
@@ -57645,10 +57645,10 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
57645
57645
  onTableFileClick: R,
57646
57646
  handleSelectionClick: F,
57647
57647
  onGridApiChange: D,
57648
- onCopyFiles: k,
57648
+ onCopyFiles: T,
57649
57649
  onMoveToFiles: E,
57650
- onDeleteFiles: I,
57651
- onDownloadFiles: T,
57650
+ onDeleteFiles: k,
57651
+ onDownloadFiles: I,
57652
57652
  onRenameValidate: O,
57653
57653
  renameValidationMessages: A,
57654
57654
  forbiddenSymbolsRegExp: V = vj,
@@ -57846,7 +57846,7 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
57846
57846
  sourceFolder: eu
57847
57847
  } = ZV({
57848
57848
  getDestinationFiles: (xe) => Qo(i, xe)?.items ?? [],
57849
- onCopyFiles: k,
57849
+ onCopyFiles: T,
57850
57850
  onMoveToFiles: E,
57851
57851
  onCopySuccess: ni,
57852
57852
  onMoveSuccess: ni,
@@ -57864,10 +57864,10 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
57864
57864
  closeDeleteConfirmation: gl,
57865
57865
  confirmDelete: bo
57866
57866
  } = XV({
57867
- onDeleteFiles: I,
57867
+ onDeleteFiles: k,
57868
57868
  onDeleteSuccess: ni
57869
57869
  }), { handleDownloadFiles: Ai } = JV({
57870
- onDownloadFiles: T,
57870
+ onDownloadFiles: I,
57871
57871
  customDownloadItemsAction: rt,
57872
57872
  onDownloadSuccess: ni
57873
57873
  }), {
@@ -58453,7 +58453,7 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
58453
58453
  processDestinationFolderPath: y,
58454
58454
  ...S
58455
58455
  }) => {
58456
- const [R, F] = N(!1), [D, k] = N(!1), E = z(null), I = Ha(), T = P((B) => {
58456
+ const [R, F] = N(!1), [D, T] = N(!1), E = z(null), k = Ha(), I = P((B) => {
58457
58457
  F(B);
58458
58458
  }, []), O = W(() => {
58459
58459
  const B = [];
@@ -58462,14 +58462,14 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
58462
58462
  label: a,
58463
58463
  icon: /* @__PURE__ */ h.jsx(kf, { ...de, className: "text-secondary" }),
58464
58464
  onClick: () => {
58465
- E.current?.createFolder(), k(!1);
58465
+ E.current?.createFolder(), T(!1);
58466
58466
  }
58467
58467
  }), d && B.push({
58468
58468
  key: "show-hidden-files",
58469
58469
  label: c,
58470
58470
  icon: /* @__PURE__ */ h.jsx(Ma, { ...de, className: "text-secondary" }),
58471
58471
  onClick: () => {
58472
- F((Y) => !Y), k(!1);
58472
+ F((Y) => !Y), T(!1);
58473
58473
  }
58474
58474
  }), B;
58475
58475
  }, [
@@ -58502,12 +58502,12 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
58502
58502
  dividers: !1,
58503
58503
  className: "md:!h-[800px] !bg-layer-2",
58504
58504
  footer: /* @__PURE__ */ h.jsxs("div", { className: "flex justify-between items-center gap-2 p-4 md:px-6", children: [
58505
- /* @__PURE__ */ h.jsx("div", { className: "flex items-center gap-4 min-w-0", children: I ? /* @__PURE__ */ h.jsx(
58505
+ /* @__PURE__ */ h.jsx("div", { className: "flex items-center gap-4 min-w-0", children: k ? /* @__PURE__ */ h.jsx(
58506
58506
  jt,
58507
58507
  {
58508
58508
  items: O,
58509
58509
  open: D,
58510
- onOpenChange: k,
58510
+ onOpenChange: T,
58511
58511
  children: /* @__PURE__ */ h.jsx(
58512
58512
  Ri,
58513
58513
  {
@@ -58541,7 +58541,7 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
58541
58541
  {
58542
58542
  label: c,
58543
58543
  isOn: R,
58544
- onChange: T,
58544
+ onChange: I,
58545
58545
  switchId: "hidden-files-switch-modal"
58546
58546
  }
58547
58547
  ) }) })
@@ -58580,7 +58580,7 @@ const fj = ':;,=/{}%&\\"', y0 = `(\r
58580
58580
  actionsRef: E,
58581
58581
  path: w,
58582
58582
  showHiddenFiles: R,
58583
- onShowHiddenFilesChange: T,
58583
+ onShowHiddenFilesChange: I,
58584
58584
  treeOptions: {
58585
58585
  ...S.treeOptions,
58586
58586
  collapsed: b,
@@ -58829,25 +58829,25 @@ const Rj = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
58829
58829
  const b = W(() => {
58830
58830
  if (!i) return;
58831
58831
  let D = CC(i);
58832
- const k = [...D];
58832
+ const T = [...D];
58833
58833
  let E = 0;
58834
58834
  if (a) {
58835
- const T = CC(a);
58836
- if (T.length) {
58835
+ const I = CC(a);
58836
+ if (I.length) {
58837
58837
  const O = D.findIndex(
58838
- (A, V) => T.every((_, B) => D[V + B] === _)
58838
+ (A, V) => I.every((_, B) => D[V + B] === _)
58839
58839
  );
58840
- O !== -1 && (E = T.length, D = [
58840
+ O !== -1 && (E = I.length, D = [
58841
58841
  ...D.slice(0, O),
58842
- ...D.slice(O + T.length)
58842
+ ...D.slice(O + I.length)
58843
58843
  ]);
58844
58844
  }
58845
58845
  }
58846
58846
  if (!D.length) return [{ label: "/" }];
58847
- const I = D.map((T, O) => {
58848
- const A = O < D.length - E ? O : O + E, V = k.slice(0, A + 1), _ = typeof n == "function" ? n(V, A) : void 0;
58847
+ const k = D.map((I, O) => {
58848
+ const A = O < D.length - E ? O : O + E, V = T.slice(0, A + 1), _ = typeof n == "function" ? n(V, A) : void 0;
58849
58849
  return {
58850
- label: T,
58850
+ label: I,
58851
58851
  href: _,
58852
58852
  onClick: s ? (B) => {
58853
58853
  B.preventDefault(), s(_);
@@ -58855,11 +58855,11 @@ const Rj = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
58855
58855
  };
58856
58856
  });
58857
58857
  if (o && r) {
58858
- const T = o.split("/").filter(Boolean), O = i.split("/").filter(Boolean);
58859
- if (T.every(
58858
+ const I = o.split("/").filter(Boolean), O = i.split("/").filter(Boolean);
58859
+ if (I.every(
58860
58860
  (V, _) => O[_] === V
58861
- ) && I.length > 0) {
58862
- const V = I.slice(T.length);
58861
+ ) && k.length > 0) {
58862
+ const V = k.slice(I.length);
58863
58863
  return [
58864
58864
  {
58865
58865
  label: r,
@@ -58872,7 +58872,7 @@ const Rj = ({ getSelectionLabel: e, onClearSelection: t, actions: s, selectedCou
58872
58872
  ];
58873
58873
  }
58874
58874
  }
58875
- return I;
58875
+ return k;
58876
58876
  }, [
58877
58877
  i,
58878
58878
  a,
@@ -59241,20 +59241,20 @@ function Bj({
59241
59241
  onCreateFolderSave: l,
59242
59242
  onCreateFolderCancel: c
59243
59243
  }) {
59244
- const [d, u] = N(e), [p, g] = N(!1), [f, m] = N(""), v = z(null), C = z(!1), w = z(!1), b = P((D = !1, k = "") => {
59245
- g(D), m(k);
59244
+ const [d, u] = N(e), [p, g] = N(!1), [f, m] = N(""), v = z(null), C = z(!1), w = z(!1), b = P((D = !1, T = "") => {
59245
+ g(D), m(T);
59246
59246
  }, []), x = P(
59247
59247
  (D) => {
59248
59248
  if (!o)
59249
59249
  return b(), !0;
59250
- const k = o(D);
59251
- return k ? k.startsWith(`${Je.Warning}__`) ? (b(!1, k), !0) : (b(!0, k), !1) : (b(), !0);
59250
+ const T = o(D);
59251
+ return T ? T.startsWith(`${Je.Warning}__`) ? (b(!1, T), !0) : (b(!0, T), !1) : (b(), !0);
59252
59252
  },
59253
59253
  [o, b]
59254
59254
  ), y = P(
59255
59255
  (D) => {
59256
- const k = D ?? "";
59257
- u(k), x(k);
59256
+ const T = D ?? "";
59257
+ u(T), x(T);
59258
59258
  },
59259
59259
  [x]
59260
59260
  ), S = P(
@@ -59295,21 +59295,21 @@ function Bj({
59295
59295
  }, [t, s, e, b]), Se(() => {
59296
59296
  const D = v.current;
59297
59297
  if (!t && !s || !D) return;
59298
- const k = (E) => {
59298
+ const T = (E) => {
59299
59299
  E.key === "Enter" ? (E.preventDefault(), v.current?.blur()) : E.key === "Escape" && (E.preventDefault(), R());
59300
59300
  };
59301
- return D.addEventListener("keydown", k), () => D.removeEventListener("keydown", k);
59301
+ return D.addEventListener("keydown", T), () => D.removeEventListener("keydown", T);
59302
59302
  }, [t, s, R]), Se(() => {
59303
59303
  if (!t && !s || i) return;
59304
59304
  const D = v.current;
59305
59305
  if (!D) return;
59306
- const k = (T) => T ? (D.closest(`[${S0}]`) ?? D).contains(T) : !1, E = (T) => {
59307
- k(T.target) || F();
59308
- }, I = (T) => {
59309
- k(T.relatedTarget) || F();
59306
+ const T = (I) => I ? (D.closest(`[${S0}]`) ?? D).contains(I) : !1, E = (I) => {
59307
+ T(I.target) || F();
59308
+ }, k = (I) => {
59309
+ T(I.relatedTarget) || F();
59310
59310
  };
59311
- return document.addEventListener("pointerdown", E, !0), D.addEventListener("blur", I), () => {
59312
- document.removeEventListener("pointerdown", E, !0), D.removeEventListener("blur", I);
59311
+ return document.addEventListener("pointerdown", E, !0), D.addEventListener("blur", k), () => {
59312
+ document.removeEventListener("pointerdown", E, !0), D.removeEventListener("blur", k);
59313
59313
  };
59314
59314
  }, [t, s, i, F]), { inputRef: v, value: d, onChange: y, invalid: p, invalidMessage: f };
59315
59315
  }
@@ -59428,14 +59428,14 @@ const Gj = ({
59428
59428
  onCreateFolderSave: g
59429
59429
  });
59430
59430
  if (!i && !o) {
59431
- const k = mf(
59431
+ const T = mf(
59432
59432
  {
59433
59433
  name: e,
59434
59434
  isFolder: t === Fs.Folder
59435
59435
  },
59436
59436
  w,
59437
59437
  b
59438
- ), E = !!k;
59438
+ ), E = !!T;
59439
59439
  return t === Fs.Folder ? /* @__PURE__ */ h.jsx(
59440
59440
  Kp,
59441
59441
  {
@@ -59447,7 +59447,7 @@ const Gj = ({
59447
59447
  sharedIndicatorClassName: m,
59448
59448
  hideTooltip: C,
59449
59449
  isInvalidName: E,
59450
- tooltipContent: k
59450
+ tooltipContent: T
59451
59451
  }
59452
59452
  ) : /* @__PURE__ */ h.jsx(
59453
59453
  qp,
@@ -59460,7 +59460,7 @@ const Gj = ({
59460
59460
  sharedIndicatorClassName: m,
59461
59461
  hideTooltip: C,
59462
59462
  isInvalidName: E,
59463
- tooltipContent: k
59463
+ tooltipContent: T
59464
59464
  }
59465
59465
  );
59466
59466
  }
@@ -59509,12 +59509,12 @@ const Gj = ({
59509
59509
  forbiddenSymbolsTooltip: F,
59510
59510
  newFolderDefaultName: D
59511
59511
  }) => {
59512
- const { expandedPaths: k, togglePath: E } = x0({
59512
+ const { expandedPaths: T, togglePath: E } = x0({
59513
59513
  expandedPaths: s ?? /* @__PURE__ */ new Set(),
59514
59514
  onExpandedPathsChange: x
59515
- }), I = (O) => {
59515
+ }), k = (O) => {
59516
59516
  m?.(O), E(O.path);
59517
- }, T = (O, A, V) => {
59517
+ }, I = (O, A, V) => {
59518
59518
  let _ = O;
59519
59519
  return V && V.path === p && (_ = [
59520
59520
  {
@@ -59531,7 +59531,7 @@ const Gj = ({
59531
59531
  const { path: Y, nodeType: G, name: H, items: U } = B, Q = G === Te.FOLDER;
59532
59532
  if (!d && m0(B)) return null;
59533
59533
  if (!Q && !t) return;
59534
- const se = Array.isArray(U) && U.length > 0 && U.some((fe) => fe.nodeType === Te.FOLDER || t), Fe = k.has(Y), ee = r === Y, ge = i.has(Y), Me = u === Y || Y === `${p}/${Zr}`, ie = n.has(Y), pe = o.has(Y), M = f && g && Y === f && Q, q = b && ((fe) => b(fe, B)), be = ee ? "bg-accent-primary-alpha border-l-2 border-l-accent-primary rounded" : "border-l-2 border-l-transparent", Pe = M ? [] : v?.(B) ?? [], K = R ? mf(
59534
+ const se = Array.isArray(U) && U.length > 0 && U.some((fe) => fe.nodeType === Te.FOLDER || t), Fe = T.has(Y), ee = r === Y, ge = i.has(Y), Me = u === Y || Y === `${p}/${Zr}`, ie = n.has(Y), pe = o.has(Y), M = f && g && Y === f && Q, q = b && ((fe) => b(fe, B)), be = ee ? "bg-accent-primary-alpha border-l-2 border-l-accent-primary rounded" : "border-l-2 border-l-transparent", Pe = M ? [] : v?.(B) ?? [], K = R ? mf(
59535
59535
  { name: B.name, isFolder: Q },
59536
59536
  R,
59537
59537
  F
@@ -59558,14 +59558,14 @@ const Gj = ({
59558
59558
  "div",
59559
59559
  {
59560
59560
  className: "absolute size-full left-0 top-0 z-0",
59561
- onClick: () => I(B)
59561
+ onClick: () => k(B)
59562
59562
  }
59563
59563
  ),
59564
59564
  /* @__PURE__ */ h.jsx(
59565
59565
  "div",
59566
59566
  {
59567
59567
  className: "relative flex flex-row truncate items-center w-fit h-6 gap-x-1 pl-1",
59568
- onClick: () => !Me && I(B),
59568
+ onClick: () => !Me && k(B),
59569
59569
  children: /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
59570
59570
  Q && /* @__PURE__ */ h.jsx(
59571
59571
  LC,
@@ -59628,11 +59628,11 @@ const Gj = ({
59628
59628
  )
59629
59629
  }
59630
59630
  ),
59631
- Fe && (U || B?.path === p) && T(U || [], A + 1, B)
59631
+ Fe && (U || B?.path === p) && I(U || [], A + 1, B)
59632
59632
  ] }) }, `${Y}-children`);
59633
59633
  });
59634
59634
  };
59635
- return /* @__PURE__ */ h.jsx("div", { className: "flex-1 size-full overflow-y-auto", "aria-label": "folders-tree", children: e.length > 0 ? T(e, 0) : /* @__PURE__ */ h.jsx(
59635
+ return /* @__PURE__ */ h.jsx("div", { className: "flex-1 size-full overflow-y-auto", "aria-label": "folders-tree", children: e.length > 0 ? I(e, 0) : /* @__PURE__ */ h.jsx(
59636
59636
  Ba,
59637
59637
  {
59638
59638
  title: a,
@@ -59875,7 +59875,7 @@ const Gj = ({
59875
59875
  shared: f,
59876
59876
  sharedIndicatorClassName: C,
59877
59877
  iconSize: Ki,
59878
- validate: (I) => S(I, x),
59878
+ validate: (k) => S(k, x),
59879
59879
  onSave: R,
59880
59880
  onCancel: F,
59881
59881
  inputContainerClassName: L([
@@ -59904,7 +59904,7 @@ const Gj = ({
59904
59904
  forbiddenSymbolsTooltip: n.context.forbiddenSymbolsTooltip
59905
59905
  }
59906
59906
  );
59907
- const k = mf(
59907
+ const T = mf(
59908
59908
  {
59909
59909
  name: n.data.name,
59910
59910
  isFolder: o === Te.FOLDER
@@ -59920,8 +59920,8 @@ const Gj = ({
59920
59920
  sharedIndicatorClassName: C,
59921
59921
  iconSize: Ki,
59922
59922
  hideTooltip: v,
59923
- isInvalidName: !!k,
59924
- tooltipContent: k
59923
+ isInvalidName: !!T,
59924
+ tooltipContent: T
59925
59925
  }
59926
59926
  ) : /* @__PURE__ */ h.jsx(
59927
59927
  qp,
@@ -59931,8 +59931,8 @@ const Gj = ({
59931
59931
  sharedIndicatorClassName: C,
59932
59932
  iconSize: Ki,
59933
59933
  hideTooltip: v,
59934
- isInvalidName: !!k,
59935
- tooltipContent: k
59934
+ isInvalidName: !!T,
59935
+ tooltipContent: T
59936
59936
  }
59937
59937
  );
59938
59938
  }
@@ -60176,22 +60176,22 @@ const Kj = () => {
60176
60176
  icon: /* @__PURE__ */ h.jsx(Ch, { ...de, className: "text-secondary" }),
60177
60177
  onClick: () => p?.(y.path)
60178
60178
  });
60179
- const D = y.name.split("."), k = D.length > 1 ? D[D.length - 1] : "", E = k && m?.includes(`.${k}`);
60179
+ const D = y.name.split("."), T = D.length > 1 ? D[D.length - 1] : "", E = T && m?.includes(`.${T}`);
60180
60180
  e[te.Preview] && typeof g == "function" && y.nodeType === Te.ITEM && E && !R && S.push({
60181
60181
  key: te.Preview,
60182
60182
  label: e[te.Preview],
60183
60183
  icon: /* @__PURE__ */ h.jsx(Ma, { ...de, className: "text-secondary" }),
60184
60184
  onClick: () => g?.(y.path)
60185
60185
  });
60186
- const I = !y.permissions || y.permissions.includes(br.WRITE);
60187
- e[te.Delete] && I && S.push({
60186
+ const k = !y.permissions || y.permissions.includes(br.WRITE);
60187
+ e[te.Delete] && k && S.push({
60188
60188
  key: te.Delete,
60189
60189
  label: e[te.Delete],
60190
60190
  icon: /* @__PURE__ */ h.jsx(er, { ...de, className: "text-secondary" }),
60191
60191
  onClick: () => r(y, y.parentPath ?? "")
60192
60192
  });
60193
- const T = y.nodeType === Te.FOLDER || y.nodeType === Te.ITEM && v;
60194
- return e[te.Rename] && T && I && S.push({
60193
+ const I = y.nodeType === Te.FOLDER || y.nodeType === Te.ITEM && v;
60194
+ return e[te.Rename] && I && k && S.push({
60195
60195
  key: te.Rename,
60196
60196
  label: e[te.Rename],
60197
60197
  icon: /* @__PURE__ */ h.jsx(GC, { ...de, className: "text-secondary" }),
@@ -60305,10 +60305,10 @@ const Kj = () => {
60305
60305
  currentPath: R,
60306
60306
  gridRows: F,
60307
60307
  selectedPaths: D,
60308
- selectedFiles: k,
60308
+ selectedFiles: T,
60309
60309
  clearSelection: E,
60310
- setSelectedPaths: I,
60311
- effectiveSearchValue: T,
60310
+ setSelectedPaths: k,
60311
+ effectiveSearchValue: I,
60312
60312
  handleBreadcrumbItemClick: O,
60313
60313
  handleSearchChange: A,
60314
60314
  handleTreeItemClick: V,
@@ -60601,14 +60601,14 @@ const Kj = () => {
60601
60601
  ]
60602
60602
  ), fl = W(() => {
60603
60603
  const ne = /* @__PURE__ */ new Set();
60604
- return k.forEach((tt, pt) => ne.add(pt)), ne;
60605
- }, [k]), kr = P(
60604
+ return T.forEach((tt, pt) => ne.add(pt)), ne;
60605
+ }, [T]), kr = P(
60606
60606
  (ne, tt) => {
60607
- I(ne), B?.(tt);
60607
+ k(ne), B?.(tt);
60608
60608
  },
60609
- [B, I]
60609
+ [B, k]
60610
60610
  ), ml = jj({
60611
- selectedFiles: k,
60611
+ selectedFiles: T,
60612
60612
  actionLabels: d?.actionLabels,
60613
60613
  onDuplicate: ee,
60614
60614
  onCopy: (ne) => {
@@ -60997,7 +60997,7 @@ const Kj = () => {
60997
60997
  onItemClick: O,
60998
60998
  rootItemPath: i?.path,
60999
60999
  rootItemLabel: i?.label,
61000
- value: T,
61000
+ value: I,
61001
61001
  onSearchChange: A,
61002
61002
  isCompactView: ps,
61003
61003
  labelClassName: "dial-tiny-text"
@@ -61779,8 +61779,8 @@ const Ta = ({
61779
61779
  const F = _e(
61780
61780
  { $ref: C[b] },
61781
61781
  o
61782
- ), { [v]: D, ...k } = F.properties ?? {};
61783
- return { ...F, properties: k };
61782
+ ), { [v]: D, ...T } = F.properties ?? {};
61783
+ return { ...F, properties: T };
61784
61784
  })() : void 0;
61785
61785
  return S ? /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-3", children: [
61786
61786
  /* @__PURE__ */ h.jsx("div", { role: "radiogroup", className: "flex flex-row flex-wrap gap-4", children: Object.keys(C).map((F) => {
@@ -61813,9 +61813,9 @@ const Ta = ({
61813
61813
  }
61814
61814
  )
61815
61815
  ] }) : /* @__PURE__ */ h.jsx("div", { role: "radiogroup", className: "flex flex-col gap-2", children: Object.keys(C).map((F) => {
61816
- const D = _e({ $ref: C[F] }, o), k = b === F, { [v]: E, ...I } = D.properties ?? {}, T = {
61816
+ const D = _e({ $ref: C[F] }, o), T = b === F, { [v]: E, ...k } = D.properties ?? {}, I = {
61817
61817
  ...D,
61818
- properties: I
61818
+ properties: k
61819
61819
  };
61820
61820
  return /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col", children: [
61821
61821
  /* @__PURE__ */ h.jsx(
@@ -61825,15 +61825,15 @@ const Ta = ({
61825
61825
  value: F,
61826
61826
  inputId: `${l}-${F}`,
61827
61827
  label: D.title ?? F,
61828
- checked: k,
61828
+ checked: T,
61829
61829
  disabled: a,
61830
61830
  onChange: () => y(F)
61831
61831
  }
61832
61832
  ),
61833
- k && /* @__PURE__ */ h.jsx("div", { className: "ml-6 mt-2", children: /* @__PURE__ */ h.jsx(
61833
+ T && /* @__PURE__ */ h.jsx("div", { className: "ml-6 mt-2", children: /* @__PURE__ */ h.jsx(
61834
61834
  uc,
61835
61835
  {
61836
- schema: T,
61836
+ schema: I,
61837
61837
  value: t,
61838
61838
  onChange: s,
61839
61839
  path: i,
@@ -62183,7 +62183,7 @@ const Ta = ({
62183
62183
  value: b,
62184
62184
  disabled: u,
62185
62185
  invalid: F,
62186
- onChange: (T) => x(T ?? ""),
62186
+ onChange: (I) => x(I ?? ""),
62187
62187
  onBlur: () => {
62188
62188
  C(S), b !== t && n(b);
62189
62189
  },
@@ -62217,11 +62217,11 @@ const Ta = ({
62217
62217
  )
62218
62218
  ] });
62219
62219
  if (!y) return D;
62220
- const k = [...c, t], E = Cf(s, i, g), I = ui(
62220
+ const T = [...c, t], E = Cf(s, i, g), k = ui(
62221
62221
  s,
62222
62222
  i,
62223
62223
  g,
62224
- k.join(".")
62224
+ T.join(".")
62225
62225
  );
62226
62226
  return /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-2", children: [
62227
62227
  D,
@@ -62231,7 +62231,7 @@ const Ta = ({
62231
62231
  title: t,
62232
62232
  level: d,
62233
62233
  summary: E,
62234
- errorCount: I.length + (F ? 1 : 0),
62234
+ errorCount: k.length + (F ? 1 : 0),
62235
62235
  defaultExpanded: m,
62236
62236
  children: /* @__PURE__ */ h.jsx(
62237
62237
  yi,
@@ -62239,7 +62239,7 @@ const Ta = ({
62239
62239
  schema: i,
62240
62240
  value: s,
62241
62241
  onChange: o,
62242
- path: k,
62242
+ path: T,
62243
62243
  level: d + 1
62244
62244
  }
62245
62245
  )
@@ -62319,7 +62319,7 @@ const Ta = ({
62319
62319
  () => JSON.stringify(e, null, 2)
62320
62320
  );
62321
62321
  Se(() => {
62322
- typeof window < "u" && import("./JsonEditor-Czgk4lVz.js").then((d) => {
62322
+ typeof window < "u" && import("./JsonEditor-DEub-rvC.js").then((d) => {
62323
62323
  r(() => d.DialJsonEditor);
62324
62324
  });
62325
62325
  }, []);
@@ -62468,21 +62468,21 @@ const Ta = ({
62468
62468
  ), v = W(() => t || (xi(e, e) ?? {}), []), [C, w] = N(v), [b, x] = N(
62469
62469
  /* @__PURE__ */ new Set()
62470
62470
  ), y = P((E) => {
62471
- x((I) => I.has(E) ? I : /* @__PURE__ */ new Set([...I, E]));
62471
+ x((k) => k.has(E) ? k : /* @__PURE__ */ new Set([...k, E]));
62472
62472
  }, []);
62473
62473
  Se(() => {
62474
62474
  d?.(v);
62475
62475
  }, []);
62476
- const S = (E, I) => {
62477
- const T = { ...C, [E]: I };
62478
- w(T), l?.(T), c?.(E, I);
62476
+ const S = (E, k) => {
62477
+ const I = { ...C, [E]: k };
62478
+ w(I), l?.(I), c?.(E, k);
62479
62479
  }, R = new Set(Object.keys(e.properties ?? {})), F = Object.keys(C).filter(
62480
62480
  (E) => !R.has(E)
62481
62481
  ), D = E0(
62482
62482
  Object.entries(e.properties ?? {}).filter(
62483
62483
  ([, E]) => !_e(E, e).isHidden
62484
62484
  )
62485
- ), k = e.required ?? [];
62485
+ ), T = e.required ?? [];
62486
62486
  return /* @__PURE__ */ h.jsx(
62487
62487
  F0.Provider,
62488
62488
  {
@@ -62500,13 +62500,13 @@ const Ta = ({
62500
62500
  skipUntouched: p
62501
62501
  },
62502
62502
  children: /* @__PURE__ */ h.jsxs("div", { className: L("flex flex-col gap-4", i), children: [
62503
- D.map(([E, I]) => {
62504
- const T = _e(I, e), O = T.title ?? I.title ?? Yc(E), A = k.includes(E), V = C[E];
62503
+ D.map(([E, k]) => {
62504
+ const I = _e(k, e), O = I.title ?? k.title ?? Yc(E), A = T.includes(E), V = C[E];
62505
62505
  if (a === sa.Flat)
62506
62506
  return /* @__PURE__ */ h.jsx(
62507
62507
  T0,
62508
62508
  {
62509
- schema: I,
62509
+ schema: k,
62510
62510
  value: V,
62511
62511
  onChange: (G) => S(E, G),
62512
62512
  path: [E],
@@ -62522,7 +62522,7 @@ const Ta = ({
62522
62522
  /* @__PURE__ */ h.jsx(
62523
62523
  yi,
62524
62524
  {
62525
- schema: I,
62525
+ schema: k,
62526
62526
  value: V,
62527
62527
  onChange: (G) => S(E, G),
62528
62528
  path: [E],
@@ -62531,19 +62531,19 @@ const Ta = ({
62531
62531
  }
62532
62532
  )
62533
62533
  ] }, E);
62534
- const _ = ui(V, T, e, E), B = E + ".", Y = !p || b.has(E) || [...b].some((G) => G.startsWith(B));
62534
+ const _ = ui(V, I, e, E), B = E + ".", Y = !p || b.has(E) || [...b].some((G) => G.startsWith(B));
62535
62535
  return /* @__PURE__ */ h.jsx(
62536
62536
  Ta,
62537
62537
  {
62538
62538
  title: O,
62539
- description: T.description,
62539
+ description: I.description,
62540
62540
  level: 0,
62541
62541
  defaultExpanded: o,
62542
62542
  errorCount: Y ? A && Ad(V) ? Math.max(_.length, 1) : _.length : 0,
62543
62543
  children: /* @__PURE__ */ h.jsx(
62544
62544
  yi,
62545
62545
  {
62546
- schema: I,
62546
+ schema: k,
62547
62547
  value: V,
62548
62548
  onChange: (G) => S(E, G),
62549
62549
  path: [E],
@@ -62556,7 +62556,7 @@ const Ta = ({
62556
62556
  );
62557
62557
  }),
62558
62558
  F.map((E) => {
62559
- const I = Yc(E), T = /* @__PURE__ */ h.jsx(
62559
+ const k = Yc(E), I = /* @__PURE__ */ h.jsx(
62560
62560
  M0,
62561
62561
  {
62562
62562
  value: C[E],
@@ -62567,15 +62567,15 @@ const Ta = ({
62567
62567
  return a === sa.Sections ? /* @__PURE__ */ h.jsx(
62568
62568
  Ta,
62569
62569
  {
62570
- title: I,
62570
+ title: k,
62571
62571
  level: 0,
62572
62572
  defaultExpanded: o,
62573
- children: T
62573
+ children: I
62574
62574
  },
62575
62575
  E
62576
62576
  ) : /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-3", children: [
62577
- /* @__PURE__ */ h.jsx("h2", { className: "dial-small-semi-text text-primary", children: I }),
62578
- T
62577
+ /* @__PURE__ */ h.jsx("h2", { className: "dial-small-semi-text text-primary", children: k }),
62578
+ I
62579
62579
  ] }, E);
62580
62580
  })
62581
62581
  ] })
@@ -63096,26 +63096,26 @@ const yC = {
63096
63096
  ), R = W(() => Mz(u), [u]), F = W(
63097
63097
  () => Ez(b.getFullYear(), b.getMonth()),
63098
63098
  [b]
63099
- ), D = (T) => {
63099
+ ), D = (I) => {
63100
63100
  x(
63101
- (O) => new Date(O.getFullYear(), O.getMonth() + T, 1)
63101
+ (O) => new Date(O.getFullYear(), O.getMonth() + I, 1)
63102
63102
  );
63103
- }, k = (T, O) => {
63104
- if (EC(T, c, d)) return;
63105
- const A = e === vs.DateTime && f ? PC(T, Ul(f)) : T;
63103
+ }, T = (I, O) => {
63104
+ if (EC(I, c, d)) return;
63105
+ const A = e === vs.DateTime && f ? PC(I, Ul(f)) : I;
63106
63106
  s?.(A), e === vs.Date && O();
63107
- }, E = (T) => {
63108
- s?.(PC(f ?? /* @__PURE__ */ new Date(), T));
63109
- }, I = () => f ? e === vs.DateTime ? `${DC(f, u)}, ${Ul(f)}` : DC(f, u) : g;
63107
+ }, E = (I) => {
63108
+ s?.(PC(f ?? /* @__PURE__ */ new Date(), I));
63109
+ }, k = () => f ? e === vs.DateTime ? `${DC(f, u)}, ${Ul(f)}` : DC(f, u) : g;
63110
63110
  if (e === vs.Time) {
63111
- const T = typeof t == "string" ? t : f ? Ul(f) : "";
63111
+ const I = typeof t == "string" ? t : f ? Ul(f) : "";
63112
63112
  return /* @__PURE__ */ h.jsxs("div", { className: L("flex flex-col gap-y-3", l), children: [
63113
63113
  i && /* @__PURE__ */ h.jsx(Jo, { id: C, label: i, htmlFor: v }),
63114
63114
  /* @__PURE__ */ h.jsx(
63115
63115
  IC,
63116
63116
  {
63117
63117
  id: v,
63118
- value: T,
63118
+ value: I,
63119
63119
  onChange: (O) => s?.(O),
63120
63120
  disabled: o,
63121
63121
  invalid: r,
@@ -63126,7 +63126,7 @@ const yC = {
63126
63126
  ] });
63127
63127
  }
63128
63128
  if (e === vs.Weekday) {
63129
- const T = typeof t == "string" ? t : void 0, O = R.find((A) => A.value === T);
63129
+ const I = typeof t == "string" ? t : void 0, O = R.find((A) => A.value === I);
63130
63130
  return /* @__PURE__ */ h.jsxs("div", { className: L("flex flex-col gap-y-3", l), children: [
63131
63131
  i && /* @__PURE__ */ h.jsx(Jo, { id: C, label: i, htmlFor: v }),
63132
63132
  /* @__PURE__ */ h.jsx(
@@ -63169,11 +63169,11 @@ const yC = {
63169
63169
  {
63170
63170
  type: "button",
63171
63171
  role: "option",
63172
- "aria-selected": V.value === T,
63172
+ "aria-selected": V.value === I,
63173
63173
  className: L(
63174
63174
  "flex w-full items-center rounded-lg px-3 py-2 text-left dial-small-text text-primary hover:bg-accent-primary-alpha",
63175
63175
  "focus-visible:outline focus-visible:outline-focus-black",
63176
- V.value === T && "bg-accent-primary-alpha"
63176
+ V.value === I && "bg-accent-primary-alpha"
63177
63177
  ),
63178
63178
  onClick: () => {
63179
63179
  s?.(V.value), A();
@@ -63207,12 +63207,12 @@ const yC = {
63207
63207
  "truncate",
63208
63208
  !f && "text-secondary"
63209
63209
  ),
63210
- children: I()
63210
+ children: k()
63211
63211
  }
63212
63212
  ),
63213
63213
  Fz
63214
63214
  ] }),
63215
- panel: (T) => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63215
+ panel: (I) => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63216
63216
  /* @__PURE__ */ h.jsxs("div", { className: "flex items-center justify-between", children: [
63217
63217
  /* @__PURE__ */ h.jsx(
63218
63218
  SC,
@@ -63268,7 +63268,7 @@ const yC = {
63268
63268
  V && yz,
63269
63269
  B && "cursor-not-allowed opacity-40 hover:bg-transparent"
63270
63270
  ),
63271
- onClick: () => k(O, T),
63271
+ onClick: () => T(O, I),
63272
63272
  children: O.getDate()
63273
63273
  },
63274
63274
  O.toISOString()
@@ -63612,15 +63612,15 @@ const yC = {
63612
63612
  matchReferenceWidth: S = !0,
63613
63613
  maxDropdownHeight: R
63614
63614
  }) => {
63615
- const [F, D] = N(d), k = c !== void 0, E = k ? !!c : F, I = z(null), T = P(
63615
+ const [F, D] = N(d), T = c !== void 0, E = T ? !!c : F, k = z(null), I = P(
63616
63616
  (M) => {
63617
- k || D(M), u?.(M);
63617
+ T || D(M), u?.(M);
63618
63618
  },
63619
- [k, u]
63619
+ [T, u]
63620
63620
  ), O = Os(), A = a === void 0, { refs: V, floatingStyles: _, context: B } = Jn({
63621
63621
  placement: a,
63622
63622
  open: E,
63623
- onOpenChange: T,
63623
+ onOpenChange: I,
63624
63624
  whileElementsMounted: Aa,
63625
63625
  middleware: [
63626
63626
  La({ mainAxis: ko, crossAxis: 0 }),
@@ -63685,29 +63685,29 @@ const yC = {
63685
63685
  [V]
63686
63686
  ), ee = P(
63687
63687
  (M) => {
63688
- !r.includes(Nt.ContextMenu) || l || (M.preventDefault(), y && (Fe(M.clientX, M.clientY), I.current = document.elementFromPoint(
63688
+ !r.includes(Nt.ContextMenu) || l || (M.preventDefault(), y && (Fe(M.clientX, M.clientY), k.current = document.elementFromPoint(
63689
63689
  M.clientX,
63690
63690
  M.clientY
63691
- )), T(!0));
63691
+ )), I(!0));
63692
63692
  },
63693
- [y, l, T, Fe, r]
63693
+ [y, l, I, Fe, r]
63694
63694
  ), ge = P(
63695
63695
  (M) => {
63696
- !y || l || (r.includes(Nt.ContextMenu) && E && T(!1), Fe(M.clientX, M.clientY), I.current = document.elementFromPoint(
63696
+ !y || l || (r.includes(Nt.ContextMenu) && E && I(!1), Fe(M.clientX, M.clientY), k.current = document.elementFromPoint(
63697
63697
  M.clientX,
63698
63698
  M.clientY
63699
63699
  ));
63700
63700
  },
63701
- [y, l, Fe, E, r, T]
63701
+ [y, l, Fe, E, r, I]
63702
63702
  );
63703
63703
  Se(() => {
63704
- l && E && T(!1);
63705
- }, [l, E, T]);
63704
+ l && E && I(!1);
63705
+ }, [l, E, I]);
63706
63706
  const Me = P(
63707
63707
  (M) => (q) => {
63708
- M.disabled || (M.onClick?.({ key: M.key, domEvent: q }), s?.({ key: M.key, domEvent: q }), T(!1));
63708
+ M.disabled || (M.onClick?.({ key: M.key, domEvent: q }), s?.({ key: M.key, domEvent: q }), I(!1));
63709
63709
  },
63710
- [s, T]
63710
+ [s, I]
63711
63711
  ), ie = W(() => o ? o() : t ? /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63712
63712
  i && /* @__PURE__ */ h.jsx(h.Fragment, { children: typeof i == "function" ? i() : i }),
63713
63713
  /* @__PURE__ */ h.jsx(
@@ -63740,7 +63740,7 @@ const yC = {
63740
63740
  Vz,
63741
63741
  {
63742
63742
  item: M,
63743
- onRootClose: () => T(!1)
63743
+ onRootClose: () => I(!1)
63744
63744
  },
63745
63745
  M.key
63746
63746
  ) : /* @__PURE__ */ h.jsxs(
@@ -63792,7 +63792,7 @@ const yC = {
63792
63792
  n,
63793
63793
  i,
63794
63794
  o,
63795
- T,
63795
+ I,
63796
63796
  m,
63797
63797
  v
63798
63798
  ]), pe = Q({
@@ -63803,15 +63803,15 @@ const yC = {
63803
63803
  if (!E) return;
63804
63804
  const M = V.reference.current;
63805
63805
  let q = null;
63806
- if (M instanceof Element ? q = M : I.current instanceof Element && (q = I.current), !q) return;
63806
+ if (M instanceof Element ? q = M : k.current instanceof Element && (q = k.current), !q) return;
63807
63807
  const be = new IntersectionObserver(
63808
63808
  ([Pe]) => {
63809
- Pe.isIntersecting || T(!1);
63809
+ Pe.isIntersecting || I(!1);
63810
63810
  },
63811
63811
  { root: null, threshold: 0 }
63812
63812
  );
63813
63813
  return be.observe(q), () => be.disconnect();
63814
- }, [E, V.reference, T]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63814
+ }, [E, V.reference, I]), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
63815
63815
  /* @__PURE__ */ h.jsx(
63816
63816
  "span",
63817
63817
  {
@@ -63853,7 +63853,7 @@ const yC = {
63853
63853
  {
63854
63854
  ariaLabel: "Close dropdown",
63855
63855
  onClose: (M) => {
63856
- g?.(M), T(!1);
63856
+ g?.(M), I(!1);
63857
63857
  }
63858
63858
  }
63859
63859
  ) }),
@@ -64099,22 +64099,22 @@ const yC = {
64099
64099
  }) => {
64100
64100
  const b = C === Ie.Small, x = z(null), y = td([d, x]), S = c === "number" || g !== void 0 || m !== void 0;
64101
64101
  Se(() => {
64102
- const k = x.current;
64103
- if (!k || !S || t) return;
64104
- const E = (I) => {
64105
- I.preventDefault();
64102
+ const T = x.current;
64103
+ if (!T || !S || t) return;
64104
+ const E = (k) => {
64105
+ k.preventDefault();
64106
64106
  };
64107
- return k.addEventListener("wheel", E, { passive: !1 }), () => {
64108
- k.removeEventListener("wheel", E);
64107
+ return T.addEventListener("wheel", E, { passive: !1 }), () => {
64108
+ T.removeEventListener("wheel", E);
64109
64109
  };
64110
64110
  }, [t, S, c]);
64111
- const R = (k) => {
64112
- Z0(k, c, g, m);
64113
- }, F = (k) => {
64114
- const E = k.currentTarget.value;
64111
+ const R = (T) => {
64112
+ Z0(T, c, g, m);
64113
+ }, F = (T) => {
64114
+ const E = T.currentTarget.value;
64115
64115
  if (S && E !== "") {
64116
- const I = parseFloat(E);
64117
- if (isNaN(I) && E !== "-" && E !== "." || !isNaN(I) && (g !== void 0 && I < +g || m !== void 0 && I > +m))
64116
+ const k = parseFloat(E);
64117
+ if (isNaN(k) && E !== "-" && E !== "." || !isNaN(k) && (g !== void 0 && k < +g || m !== void 0 && k > +m))
64118
64118
  return;
64119
64119
  }
64120
64120
  f?.(E || void 0);
@@ -64318,10 +64318,10 @@ const yC = {
64318
64318
  className: R,
64319
64319
  fieldClassName: F,
64320
64320
  listClassName: D,
64321
- closable: k = !1,
64321
+ closable: T = !1,
64322
64322
  header: E,
64323
- footer: I,
64324
- onClose: T,
64323
+ footer: k,
64324
+ onClose: I,
64325
64325
  onChange: O,
64326
64326
  dismissRef: A,
64327
64327
  onFooterClick: V,
@@ -64453,7 +64453,7 @@ const yC = {
64453
64453
  className: Kz,
64454
64454
  children: [
64455
64455
  E && /* @__PURE__ */ h.jsx(h.Fragment, { children: typeof E == "function" ? E() : E }),
64456
- (g || k) && (e.length > sW || !!pe) && /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-2 px-2 pt-2", children: [
64456
+ (g || T) && (e.length > sW || !!pe) && /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-2 px-2 pt-2", children: [
64457
64457
  g && /* @__PURE__ */ h.jsx(
64458
64458
  Zc,
64459
64459
  {
@@ -64467,7 +64467,7 @@ const yC = {
64467
64467
  containerClassName: "w-full"
64468
64468
  }
64469
64469
  ),
64470
- k && /* @__PURE__ */ h.jsx(
64470
+ T && /* @__PURE__ */ h.jsx(
64471
64471
  bf,
64472
64472
  {
64473
64473
  "aria-label": "Close select",
@@ -64475,7 +64475,7 @@ const yC = {
64475
64475
  size: Ie.Small,
64476
64476
  icon: nW,
64477
64477
  onClick: (ae) => {
64478
- T?.(ae), ie(!1);
64478
+ I?.(ae), ie(!1);
64479
64479
  }
64480
64480
  }
64481
64481
  )
@@ -64564,13 +64564,13 @@ const yC = {
64564
64564
  ae.value
64565
64565
  );
64566
64566
  }) }),
64567
- I && /* @__PURE__ */ h.jsx(
64567
+ k && /* @__PURE__ */ h.jsx(
64568
64568
  "div",
64569
64569
  {
64570
64570
  onClick: (ae) => {
64571
64571
  V?.(ae), V && ie(!1);
64572
64572
  },
64573
- children: typeof I == "function" ? I() : I
64573
+ children: typeof k == "function" ? k() : k
64574
64574
  }
64575
64575
  )
64576
64576
  ]
@@ -64585,8 +64585,8 @@ const yC = {
64585
64585
  open: Me,
64586
64586
  onOpenChange: ie,
64587
64587
  disabled: S,
64588
- closable: k,
64589
- onClose: T,
64588
+ closable: T,
64589
+ onClose: I,
64590
64590
  placement: "bottom-start",
64591
64591
  allowedPlacements: ["bottom-start", "top-start"],
64592
64592
  maxDropdownHeight: g ? null : Qz,
@@ -64758,30 +64758,31 @@ const yC = {
64758
64758
  overlayClassName: o,
64759
64759
  titleClassName: r,
64760
64760
  headerClassName: a,
64761
- children: l,
64762
- footer: c,
64763
- onClose: d,
64764
- size: u = Ht.Md,
64765
- hideClose: p = !1,
64766
- closeAriaLabel: g = "Close dialog",
64767
- closeOnOutsideClick: f = !0,
64768
- preventKeyboardOnOpen: m = !1
64761
+ bodyClassName: l,
64762
+ children: c,
64763
+ footer: d,
64764
+ onClose: u,
64765
+ size: p = Ht.Md,
64766
+ hideClose: g = !1,
64767
+ closeAriaLabel: f = "Close dialog",
64768
+ closeOnOutsideClick: m = !0,
64769
+ preventKeyboardOnOpen: v = !1
64769
64770
  }) => {
64770
- const v = z(null), C = Os(), { refs: w, context: b } = Jn({
64771
+ const C = z(null), w = Os(), { refs: b, context: x } = Jn({
64771
64772
  open: e,
64772
- onOpenChange: (D) => {
64773
- D || d?.(null);
64773
+ onOpenChange: (T) => {
64774
+ T || u?.(null);
64774
64775
  }
64775
- }), x = to(b, { role: "dialog" }), y = eo(b, { outsidePress: f }), { getFloatingProps: S } = so([x, y]);
64776
+ }), y = to(x, { role: "dialog" }), S = eo(x, { outsidePress: m }), { getFloatingProps: R } = so([y, S]);
64776
64777
  if (!e) return null;
64777
- const R = typeof t == "string" ? `popup-heading-${C}` : void 0, F = (D) => D ? typeof D == "string" ? /* @__PURE__ */ h.jsx(
64778
+ const F = typeof t == "string" ? `popup-heading-${w}` : void 0, D = (T) => T ? typeof T == "string" ? /* @__PURE__ */ h.jsx(
64778
64779
  "h2",
64779
64780
  {
64780
- id: R,
64781
+ id: F,
64781
64782
  className: L(pW, r),
64782
- children: /* @__PURE__ */ h.jsx(Ct, { tooltip: D, children: D })
64783
+ children: /* @__PURE__ */ h.jsx(Ct, { tooltip: T, children: T })
64783
64784
  }
64784
- ) : D : /* @__PURE__ */ h.jsx("span", {});
64785
+ ) : T : /* @__PURE__ */ h.jsx("span", {});
64785
64786
  return /* @__PURE__ */ h.jsx(io, { id: i, children: /* @__PURE__ */ h.jsx(
64786
64787
  zC,
64787
64788
  {
@@ -64789,27 +64790,27 @@ const yC = {
64789
64790
  children: /* @__PURE__ */ h.jsx(
64790
64791
  ur,
64791
64792
  {
64792
- context: b,
64793
- initialFocus: m ? v : void 0,
64793
+ context: x,
64794
+ initialFocus: v ? C : void 0,
64794
64795
  children: /* @__PURE__ */ h.jsxs(
64795
64796
  "div",
64796
64797
  {
64797
- ref: w.setFloating,
64798
- ...S(),
64798
+ ref: b.setFloating,
64799
+ ...R(),
64799
64800
  role: "dialog",
64800
64801
  "aria-modal": "true",
64801
- "aria-labelledby": R,
64802
- "aria-label": R ? void 0 : s,
64802
+ "aria-labelledby": F,
64803
+ "aria-label": F ? void 0 : s,
64803
64804
  className: L(
64804
64805
  uW,
64805
- gW[u],
64806
+ gW[p],
64806
64807
  n
64807
64808
  ),
64808
64809
  children: [
64809
- m && /* @__PURE__ */ h.jsx(
64810
+ v && /* @__PURE__ */ h.jsx(
64810
64811
  "div",
64811
64812
  {
64812
- ref: v,
64813
+ ref: C,
64813
64814
  tabIndex: -1,
64814
64815
  "aria-hidden": !0,
64815
64816
  className: "absolute size-px -m-px overflow-hidden opacity-0 pointer-events-none"
@@ -64820,19 +64821,19 @@ const yC = {
64820
64821
  {
64821
64822
  className: L(hW, a),
64822
64823
  children: [
64823
- F(t),
64824
- !p && /* @__PURE__ */ h.jsx(
64824
+ D(t),
64825
+ !g && /* @__PURE__ */ h.jsx(
64825
64826
  K0,
64826
64827
  {
64827
- ariaLabel: g,
64828
- onClose: (D) => d?.(D)
64828
+ ariaLabel: f,
64829
+ onClose: (T) => u?.(T)
64829
64830
  }
64830
64831
  )
64831
64832
  ]
64832
64833
  }
64833
64834
  ),
64834
- /* @__PURE__ */ h.jsx("div", { className: "grow overflow-auto", children: l }),
64835
- c
64835
+ /* @__PURE__ */ h.jsx("div", { className: L("grow overflow-auto", l), children: c }),
64836
+ d
64836
64837
  ]
64837
64838
  }
64838
64839
  )
@@ -65011,7 +65012,7 @@ const yC = {
65011
65012
  ]
65012
65013
  }
65013
65014
  );
65014
- }, k_ = () => import("./JsonEditor-Czgk4lVz.js"), M_ = () => import("./MarkdownEditor-CDGGSeup.js"), A_ = () => import("./MarkdownEditor-CP4xX5ZZ.js");
65015
+ }, k_ = () => import("./JsonEditor-DEub-rvC.js"), M_ = () => import("./MarkdownEditor-Br2RF_Vk.js"), A_ = () => import("./MarkdownEditor-CoFWPnTQ.js");
65015
65016
  export {
65016
65017
  ta as $,
65017
65018
  I_ as A,