@epam/ai-dial-ui-kit 0.10.0-dev.6 → 0.10.0-dev.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as Ee from "react";
2
- import X, { useState as k, useRef as H, useEffect as xe, useMemo as V, createContext as Vr, useContext as at, isValidElement as dh, cloneElement as du, useCallback as D, memo as At, useLayoutEffect as hi, PureComponent as p0, Component as g0, forwardRef as uh, useImperativeHandle as zr, createElement as cr, Suspense as f0, useId as Wr, Children as m0 } from "react";
2
+ import X, { useState as k, useRef as H, useEffect as be, useMemo as V, createContext as Vr, useContext as at, isValidElement as dh, cloneElement as du, useCallback as D, memo as At, useLayoutEffect as hi, PureComponent as p0, Component as g0, forwardRef as uh, useImperativeHandle as zr, createElement as cr, Suspense as f0, useId as Wr, Children as m0 } from "react";
3
3
  import ve from "classnames";
4
4
  import { IconInfoCircle as hh, IconCircleCheck as v0, IconAlertTriangle as ph, IconAlertCircle as C0, IconX as Eo, IconMinus as w0, IconCheck as gh, IconExclamationCircle as fh, IconClipboardX as ov, IconChevronsLeft as b0, IconChevronsRight as x0, IconGripVertical as y0, IconFile as rv, IconFileTypeZip as S0, IconFileTypeXml as R0, IconFileTypeXls as F0, IconFileTypeVue as E0, IconFileTypeTxt as D0, IconFileTypeTsx as P0, IconFileTypeTs as T0, IconFileTypeSvg as I0, IconFileTypeSql as M0, IconFileTypeRs as k0, IconFileTypePpt as A0, IconFileTypePng as L0, IconFileTypePhp as O0, IconFileTypePdf as N0, IconFileTypeJsx as H0, IconFileTypeJs as G0, IconFileTypeJpg as B0, IconFileTypeHtml as V0, IconFileTypeDocx as z0, IconFileTypeDoc as W0, IconFileTypeCsv as j0, IconFileTypeCss as _0, IconFileTypeBmp as U0, IconArrowUpRight as $0, IconFolder as mh, IconChevronLeft as q0, IconChevronRight as vh, IconZoomCancel as K0, IconChevronDown as jr, IconDotsVertical as Do, IconDots as Y0, IconTrashX as mo, IconEyeOff as av, IconEye as Jl, IconSearch as Z0, IconPlus as ec, IconChevronUp as Q0, IconCircleFilled as Qa, IconFileZip as X0, IconCopyMinus as J0, IconFolderPlus as bg, IconArrowLeft as ex, IconAlertCircleFilled as tx, IconAlertTriangleFilled as ix, IconCaretRightFilled as sx, IconCopy as Ch, IconDownload as wh, IconUserX as bh, IconExternalLink as uu, IconPencilMinus as lv, IconFileDescription as nx } from "@tabler/icons-react";
5
5
  import { useFloating as xh, autoUpdate as cv, offset as dv, flip as uv, shift as hv, arrow as ox, useHover as pv, useFocus as rx, useDismiss as yh, useRole as Sh, useInteractions as Rh, useMergeRefs as Fh, FloatingPortal as Eh, FloatingArrow as ax, autoPlacement as lx, size as cx, useClick as dx, FloatingFocusManager as gv, FloatingOverlay as ux } from "@floating-ui/react";
@@ -58,12 +58,12 @@ var Jo = {};
58
58
  var yg;
59
59
  function vx() {
60
60
  return yg || (yg = 1, process.env.NODE_ENV !== "production" && (function() {
61
- function e(I) {
62
- if (I == null) return null;
63
- if (typeof I == "function")
64
- return I.$$typeof === P ? null : I.displayName || I.name || null;
65
- if (typeof I == "string") return I;
66
- switch (I) {
61
+ function e(M) {
62
+ if (M == null) return null;
63
+ if (typeof M == "function")
64
+ return M.$$typeof === P ? null : M.displayName || M.name || null;
65
+ if (typeof M == "string") return M;
66
+ switch (M) {
67
67
  case v:
68
68
  return "Fragment";
69
69
  case w:
@@ -77,131 +77,131 @@ function vx() {
77
77
  case T:
78
78
  return "Activity";
79
79
  }
80
- if (typeof I == "object")
81
- switch (typeof I.tag == "number" && console.error(
80
+ if (typeof M == "object")
81
+ switch (typeof M.tag == "number" && console.error(
82
82
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
83
- ), I.$$typeof) {
83
+ ), M.$$typeof) {
84
84
  case m:
85
85
  return "Portal";
86
86
  case x:
87
- return I.displayName || "Context";
87
+ return M.displayName || "Context";
88
88
  case b:
89
- return (I._context.displayName || "Context") + ".Consumer";
89
+ return (M._context.displayName || "Context") + ".Consumer";
90
90
  case y:
91
- var W = I.render;
92
- return I = I.displayName, I || (I = W.displayName || W.name || "", I = I !== "" ? "ForwardRef(" + I + ")" : "ForwardRef"), I;
91
+ var W = M.render;
92
+ return M = M.displayName, M || (M = W.displayName || W.name || "", M = M !== "" ? "ForwardRef(" + M + ")" : "ForwardRef"), M;
93
93
  case R:
94
- return W = I.displayName || null, W !== null ? W : e(I.type) || "Memo";
94
+ return W = M.displayName || null, W !== null ? W : e(M.type) || "Memo";
95
95
  case E:
96
- W = I._payload, I = I._init;
96
+ W = M._payload, M = M._init;
97
97
  try {
98
- return e(I(W));
98
+ return e(M(W));
99
99
  } catch {
100
100
  }
101
101
  }
102
102
  return null;
103
103
  }
104
- function t(I) {
105
- return "" + I;
104
+ function t(M) {
105
+ return "" + M;
106
106
  }
107
- function i(I) {
107
+ function i(M) {
108
108
  try {
109
- t(I);
109
+ t(M);
110
110
  var W = !1;
111
111
  } catch {
112
112
  W = !0;
113
113
  }
114
114
  if (W) {
115
115
  W = console;
116
- var Z = W.error, ae = typeof Symbol == "function" && Symbol.toStringTag && I[Symbol.toStringTag] || I.constructor.name || "Object";
116
+ var Z = W.error, ae = typeof Symbol == "function" && Symbol.toStringTag && M[Symbol.toStringTag] || M.constructor.name || "Object";
117
117
  return Z.call(
118
118
  W,
119
119
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
120
120
  ae
121
- ), t(I);
121
+ ), t(M);
122
122
  }
123
123
  }
124
- function s(I) {
125
- if (I === v) return "<>";
126
- if (typeof I == "object" && I !== null && I.$$typeof === E)
124
+ function s(M) {
125
+ if (M === v) return "<>";
126
+ if (typeof M == "object" && M !== null && M.$$typeof === E)
127
127
  return "<...>";
128
128
  try {
129
- var W = e(I);
129
+ var W = e(M);
130
130
  return W ? "<" + W + ">" : "<...>";
131
131
  } catch {
132
132
  return "<...>";
133
133
  }
134
134
  }
135
135
  function n() {
136
- var I = M.A;
137
- return I === null ? null : I.getOwner();
136
+ var M = I.A;
137
+ return M === null ? null : M.getOwner();
138
138
  }
139
139
  function o() {
140
140
  return Error("react-stack-top-frame");
141
141
  }
142
- function r(I) {
143
- if (N.call(I, "key")) {
144
- var W = Object.getOwnPropertyDescriptor(I, "key").get;
142
+ function r(M) {
143
+ if (N.call(M, "key")) {
144
+ var W = Object.getOwnPropertyDescriptor(M, "key").get;
145
145
  if (W && W.isReactWarning) return !1;
146
146
  }
147
- return I.key !== void 0;
147
+ return M.key !== void 0;
148
148
  }
149
- function a(I, W) {
149
+ function a(M, W) {
150
150
  function Z() {
151
151
  G || (G = !0, console.error(
152
152
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
153
153
  W
154
154
  ));
155
155
  }
156
- Z.isReactWarning = !0, Object.defineProperty(I, "key", {
156
+ Z.isReactWarning = !0, Object.defineProperty(M, "key", {
157
157
  get: Z,
158
158
  configurable: !0
159
159
  });
160
160
  }
161
161
  function l() {
162
- var I = e(this.type);
163
- return B[I] || (B[I] = !0, console.error(
162
+ var M = e(this.type);
163
+ return B[M] || (B[M] = !0, console.error(
164
164
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
165
- )), I = this.props.ref, I !== void 0 ? I : null;
165
+ )), M = this.props.ref, M !== void 0 ? M : null;
166
166
  }
167
- function c(I, W, Z, ae, be, Q) {
167
+ function c(M, W, Z, ae, xe, Q) {
168
168
  var U = Z.ref;
169
- return I = {
169
+ return M = {
170
170
  $$typeof: f,
171
- type: I,
171
+ type: M,
172
172
  key: W,
173
173
  props: Z,
174
174
  _owner: ae
175
- }, (U !== void 0 ? U : null) !== null ? Object.defineProperty(I, "ref", {
175
+ }, (U !== void 0 ? U : null) !== null ? Object.defineProperty(M, "ref", {
176
176
  enumerable: !1,
177
177
  get: l
178
- }) : Object.defineProperty(I, "ref", { enumerable: !1, value: null }), I._store = {}, Object.defineProperty(I._store, "validated", {
178
+ }) : Object.defineProperty(M, "ref", { enumerable: !1, value: null }), M._store = {}, Object.defineProperty(M._store, "validated", {
179
179
  configurable: !1,
180
180
  enumerable: !1,
181
181
  writable: !0,
182
182
  value: 0
183
- }), Object.defineProperty(I, "_debugInfo", {
183
+ }), Object.defineProperty(M, "_debugInfo", {
184
184
  configurable: !1,
185
185
  enumerable: !1,
186
186
  writable: !0,
187
187
  value: null
188
- }), Object.defineProperty(I, "_debugStack", {
188
+ }), Object.defineProperty(M, "_debugStack", {
189
189
  configurable: !1,
190
190
  enumerable: !1,
191
191
  writable: !0,
192
- value: be
193
- }), Object.defineProperty(I, "_debugTask", {
192
+ value: xe
193
+ }), Object.defineProperty(M, "_debugTask", {
194
194
  configurable: !1,
195
195
  enumerable: !1,
196
196
  writable: !0,
197
197
  value: Q
198
- }), Object.freeze && (Object.freeze(I.props), Object.freeze(I)), I;
198
+ }), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
199
199
  }
200
- function d(I, W, Z, ae, be, Q) {
200
+ function d(M, W, Z, ae, xe, Q) {
201
201
  var U = W.children;
202
202
  if (U !== void 0)
203
203
  if (ae)
204
- if (K(U)) {
204
+ if ($(U)) {
205
205
  for (ae = 0; ae < U.length; ae++)
206
206
  u(U[ae]);
207
207
  Object.freeze && Object.freeze(U);
@@ -211,7 +211,7 @@ function vx() {
211
211
  );
212
212
  else u(U);
213
213
  if (N.call(W, "key")) {
214
- U = e(I);
214
+ U = e(M);
215
215
  var Se = Object.keys(W).filter(function(oe) {
216
216
  return oe !== "key";
217
217
  });
@@ -235,53 +235,53 @@ React keys must be passed directly to JSX without using spread:
235
235
  } else Z = W;
236
236
  return U && a(
237
237
  Z,
238
- typeof I == "function" ? I.displayName || I.name || "Unknown" : I
238
+ typeof M == "function" ? M.displayName || M.name || "Unknown" : M
239
239
  ), c(
240
- I,
240
+ M,
241
241
  U,
242
242
  Z,
243
243
  n(),
244
- be,
244
+ xe,
245
245
  Q
246
246
  );
247
247
  }
248
- function u(I) {
249
- h(I) ? I._store && (I._store.validated = 1) : typeof I == "object" && I !== null && I.$$typeof === E && (I._payload.status === "fulfilled" ? h(I._payload.value) && I._payload.value._store && (I._payload.value._store.validated = 1) : I._store && (I._store.validated = 1));
248
+ function u(M) {
249
+ h(M) ? M._store && (M._store.validated = 1) : typeof M == "object" && M !== null && M.$$typeof === E && (M._payload.status === "fulfilled" ? h(M._payload.value) && M._payload.value._store && (M._payload.value._store.validated = 1) : M._store && (M._store.validated = 1));
250
250
  }
251
- function h(I) {
252
- return typeof I == "object" && I !== null && I.$$typeof === f;
251
+ function h(M) {
252
+ return typeof M == "object" && M !== null && M.$$typeof === f;
253
253
  }
254
- var p = X, 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"), F = /* @__PURE__ */ Symbol.for("react.suspense"), S = /* @__PURE__ */ Symbol.for("react.suspense_list"), R = /* @__PURE__ */ Symbol.for("react.memo"), E = /* @__PURE__ */ Symbol.for("react.lazy"), T = /* @__PURE__ */ Symbol.for("react.activity"), P = /* @__PURE__ */ Symbol.for("react.client.reference"), M = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, N = Object.prototype.hasOwnProperty, K = Array.isArray, O = console.createTask ? console.createTask : function() {
254
+ var p = X, 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"), F = /* @__PURE__ */ Symbol.for("react.suspense"), S = /* @__PURE__ */ Symbol.for("react.suspense_list"), R = /* @__PURE__ */ Symbol.for("react.memo"), E = /* @__PURE__ */ Symbol.for("react.lazy"), T = /* @__PURE__ */ Symbol.for("react.activity"), P = /* @__PURE__ */ Symbol.for("react.client.reference"), I = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, N = Object.prototype.hasOwnProperty, $ = Array.isArray, O = console.createTask ? console.createTask : function() {
255
255
  return null;
256
256
  };
257
257
  p = {
258
- react_stack_bottom_frame: function(I) {
259
- return I();
258
+ react_stack_bottom_frame: function(M) {
259
+ return M();
260
260
  }
261
261
  };
262
262
  var G, B = {}, _ = p.react_stack_bottom_frame.bind(
263
263
  p,
264
264
  o
265
265
  )(), re = O(s(o)), A = {};
266
- Jo.Fragment = v, Jo.jsx = function(I, W, Z) {
267
- var ae = 1e4 > M.recentlyCreatedOwnerStacks++;
266
+ Jo.Fragment = v, Jo.jsx = function(M, W, Z) {
267
+ var ae = 1e4 > I.recentlyCreatedOwnerStacks++;
268
268
  return d(
269
- I,
269
+ M,
270
270
  W,
271
271
  Z,
272
272
  !1,
273
273
  ae ? Error("react-stack-top-frame") : _,
274
- ae ? O(s(I)) : re
274
+ ae ? O(s(M)) : re
275
275
  );
276
- }, Jo.jsxs = function(I, W, Z) {
277
- var ae = 1e4 > M.recentlyCreatedOwnerStacks++;
276
+ }, Jo.jsxs = function(M, W, Z) {
277
+ var ae = 1e4 > I.recentlyCreatedOwnerStacks++;
278
278
  return d(
279
- I,
279
+ M,
280
280
  W,
281
281
  Z,
282
282
  !0,
283
283
  ae ? Error("react-stack-top-frame") : _,
284
- ae ? O(s(I)) : re
284
+ ae ? O(s(M)) : re
285
285
  );
286
286
  };
287
287
  })()), Jo;
@@ -597,13 +597,13 @@ const wx = (e, t) => {
597
597
  "left-bottom"
598
598
  ], y = () => [...x(), we, Ce], F = () => ["auto", "hidden", "clip", "visible", "scroll"], S = () => ["auto", "contain", "none"], R = () => [we, Ce, l], E = () => [ps, "full", "auto", ...R()], T = () => [gs, "none", "subgrid", we, Ce], P = () => ["auto", {
599
599
  span: ["full", gs, we, Ce]
600
- }, gs, we, Ce], M = () => [gs, "auto", we, Ce], N = () => ["auto", "min", "max", "fr", we, Ce], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], G = () => ["auto", ...R()], B = () => [ps, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...R()], _ = () => [ps, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...R()], re = () => [ps, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...R()], A = () => [e, we, Ce], I = () => [...x(), Tg, Pg, {
600
+ }, gs, we, Ce], I = () => [gs, "auto", we, Ce], N = () => ["auto", "min", "max", "fr", we, Ce], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], G = () => ["auto", ...R()], B = () => [ps, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...R()], _ = () => [ps, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...R()], re = () => [ps, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...R()], A = () => [e, we, Ce], M = () => [...x(), Tg, Pg, {
601
601
  position: [we, Ce]
602
602
  }], W = () => ["no-repeat", {
603
603
  repeat: ["", "x", "y", "space", "round"]
604
604
  }], Z = () => ["auto", "cover", "contain", iy, Qx, {
605
605
  size: [we, Ce]
606
- }], ae = () => [nd, er, $s], be = () => [
606
+ }], ae = () => [nd, er, $s], xe = () => [
607
607
  // Deprecated since Tailwind CSS v4.0.0
608
608
  "",
609
609
  "none",
@@ -618,7 +618,7 @@ const wx = (e, t) => {
618
618
  f,
619
619
  we,
620
620
  Ce
621
- ], $ = () => ["none", Ne, we, Ce], de = () => ["none", Ne, we, Ce], j = () => [Ne, we, Ce], ge = () => [ps, "full", ...R()];
621
+ ], q = () => ["none", Ne, we, Ce], de = () => ["none", Ne, we, Ce], j = () => [Ne, we, Ce], ge = () => [ps, "full", ...R()];
622
622
  return {
623
623
  cacheSize: 500,
624
624
  theme: {
@@ -963,14 +963,14 @@ const wx = (e, t) => {
963
963
  * @see https://tailwindcss.com/docs/grid-column
964
964
  */
965
965
  "col-start": [{
966
- "col-start": M()
966
+ "col-start": I()
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": M()
973
+ "col-end": I()
974
974
  }],
975
975
  /**
976
976
  * Grid Template Rows
@@ -991,14 +991,14 @@ const wx = (e, t) => {
991
991
  * @see https://tailwindcss.com/docs/grid-row
992
992
  */
993
993
  "row-start": [{
994
- "row-start": M()
994
+ "row-start": I()
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": M()
1001
+ "row-end": I()
1002
1002
  }],
1003
1003
  /**
1004
1004
  * Grid Auto Flow
@@ -1047,7 +1047,7 @@ const wx = (e, t) => {
1047
1047
  * @see https://tailwindcss.com/docs/justify-content
1048
1048
  */
1049
1049
  "justify-content": [{
1050
- justify: [...K(), "normal"]
1050
+ justify: [...$(), "normal"]
1051
1051
  }],
1052
1052
  /**
1053
1053
  * Justify Items
@@ -1068,7 +1068,7 @@ const wx = (e, t) => {
1068
1068
  * @see https://tailwindcss.com/docs/align-content
1069
1069
  */
1070
1070
  "align-content": [{
1071
- content: ["normal", ...K()]
1071
+ content: ["normal", ...$()]
1072
1072
  }],
1073
1073
  /**
1074
1074
  * Align Items
@@ -1093,7 +1093,7 @@ const wx = (e, t) => {
1093
1093
  * @see https://tailwindcss.com/docs/place-content
1094
1094
  */
1095
1095
  "place-content": [{
1096
- "place-content": K()
1096
+ "place-content": $()
1097
1097
  }],
1098
1098
  /**
1099
1099
  * Place Items
@@ -1673,7 +1673,7 @@ const wx = (e, t) => {
1673
1673
  * @see https://tailwindcss.com/docs/background-position
1674
1674
  */
1675
1675
  "bg-position": [{
1676
- bg: I()
1676
+ bg: M()
1677
1677
  }],
1678
1678
  /**
1679
1679
  * Background Repeat
@@ -1759,105 +1759,105 @@ const wx = (e, t) => {
1759
1759
  * @see https://tailwindcss.com/docs/border-radius
1760
1760
  */
1761
1761
  rounded: [{
1762
- rounded: be()
1762
+ rounded: xe()
1763
1763
  }],
1764
1764
  /**
1765
1765
  * Border Radius Start
1766
1766
  * @see https://tailwindcss.com/docs/border-radius
1767
1767
  */
1768
1768
  "rounded-s": [{
1769
- "rounded-s": be()
1769
+ "rounded-s": xe()
1770
1770
  }],
1771
1771
  /**
1772
1772
  * Border Radius End
1773
1773
  * @see https://tailwindcss.com/docs/border-radius
1774
1774
  */
1775
1775
  "rounded-e": [{
1776
- "rounded-e": be()
1776
+ "rounded-e": xe()
1777
1777
  }],
1778
1778
  /**
1779
1779
  * Border Radius Top
1780
1780
  * @see https://tailwindcss.com/docs/border-radius
1781
1781
  */
1782
1782
  "rounded-t": [{
1783
- "rounded-t": be()
1783
+ "rounded-t": xe()
1784
1784
  }],
1785
1785
  /**
1786
1786
  * Border Radius Right
1787
1787
  * @see https://tailwindcss.com/docs/border-radius
1788
1788
  */
1789
1789
  "rounded-r": [{
1790
- "rounded-r": be()
1790
+ "rounded-r": xe()
1791
1791
  }],
1792
1792
  /**
1793
1793
  * Border Radius Bottom
1794
1794
  * @see https://tailwindcss.com/docs/border-radius
1795
1795
  */
1796
1796
  "rounded-b": [{
1797
- "rounded-b": be()
1797
+ "rounded-b": xe()
1798
1798
  }],
1799
1799
  /**
1800
1800
  * Border Radius Left
1801
1801
  * @see https://tailwindcss.com/docs/border-radius
1802
1802
  */
1803
1803
  "rounded-l": [{
1804
- "rounded-l": be()
1804
+ "rounded-l": xe()
1805
1805
  }],
1806
1806
  /**
1807
1807
  * Border Radius Start Start
1808
1808
  * @see https://tailwindcss.com/docs/border-radius
1809
1809
  */
1810
1810
  "rounded-ss": [{
1811
- "rounded-ss": be()
1811
+ "rounded-ss": xe()
1812
1812
  }],
1813
1813
  /**
1814
1814
  * Border Radius Start End
1815
1815
  * @see https://tailwindcss.com/docs/border-radius
1816
1816
  */
1817
1817
  "rounded-se": [{
1818
- "rounded-se": be()
1818
+ "rounded-se": xe()
1819
1819
  }],
1820
1820
  /**
1821
1821
  * Border Radius End End
1822
1822
  * @see https://tailwindcss.com/docs/border-radius
1823
1823
  */
1824
1824
  "rounded-ee": [{
1825
- "rounded-ee": be()
1825
+ "rounded-ee": xe()
1826
1826
  }],
1827
1827
  /**
1828
1828
  * Border Radius End Start
1829
1829
  * @see https://tailwindcss.com/docs/border-radius
1830
1830
  */
1831
1831
  "rounded-es": [{
1832
- "rounded-es": be()
1832
+ "rounded-es": xe()
1833
1833
  }],
1834
1834
  /**
1835
1835
  * Border Radius Top Left
1836
1836
  * @see https://tailwindcss.com/docs/border-radius
1837
1837
  */
1838
1838
  "rounded-tl": [{
1839
- "rounded-tl": be()
1839
+ "rounded-tl": xe()
1840
1840
  }],
1841
1841
  /**
1842
1842
  * Border Radius Top Right
1843
1843
  * @see https://tailwindcss.com/docs/border-radius
1844
1844
  */
1845
1845
  "rounded-tr": [{
1846
- "rounded-tr": be()
1846
+ "rounded-tr": xe()
1847
1847
  }],
1848
1848
  /**
1849
1849
  * Border Radius Bottom Right
1850
1850
  * @see https://tailwindcss.com/docs/border-radius
1851
1851
  */
1852
1852
  "rounded-br": [{
1853
- "rounded-br": be()
1853
+ "rounded-br": xe()
1854
1854
  }],
1855
1855
  /**
1856
1856
  * Border Radius Bottom Left
1857
1857
  * @see https://tailwindcss.com/docs/border-radius
1858
1858
  */
1859
1859
  "rounded-bl": [{
1860
- "rounded-bl": be()
1860
+ "rounded-bl": xe()
1861
1861
  }],
1862
1862
  /**
1863
1863
  * Border Width
@@ -2378,7 +2378,7 @@ const wx = (e, t) => {
2378
2378
  * @see https://tailwindcss.com/docs/mask-position
2379
2379
  */
2380
2380
  "mask-position": [{
2381
- mask: I()
2381
+ mask: M()
2382
2382
  }],
2383
2383
  /**
2384
2384
  * Mask Repeat
@@ -2696,28 +2696,28 @@ const wx = (e, t) => {
2696
2696
  * @see https://tailwindcss.com/docs/rotate
2697
2697
  */
2698
2698
  rotate: [{
2699
- rotate: $()
2699
+ rotate: q()
2700
2700
  }],
2701
2701
  /**
2702
2702
  * Rotate X
2703
2703
  * @see https://tailwindcss.com/docs/rotate
2704
2704
  */
2705
2705
  "rotate-x": [{
2706
- "rotate-x": $()
2706
+ "rotate-x": q()
2707
2707
  }],
2708
2708
  /**
2709
2709
  * Rotate Y
2710
2710
  * @see https://tailwindcss.com/docs/rotate
2711
2711
  */
2712
2712
  "rotate-y": [{
2713
- "rotate-y": $()
2713
+ "rotate-y": q()
2714
2714
  }],
2715
2715
  /**
2716
2716
  * Rotate Z
2717
2717
  * @see https://tailwindcss.com/docs/rotate
2718
2718
  */
2719
2719
  "rotate-z": [{
2720
- "rotate-z": $()
2720
+ "rotate-z": q()
2721
2721
  }],
2722
2722
  /**
2723
2723
  * Scale
@@ -3295,7 +3295,7 @@ const Ig = {
3295
3295
  }), h = rx(d.context, {
3296
3296
  enabled: s == null
3297
3297
  }), p = yh(d.context), f = Sh(d.context, { role: "tooltip" }), m = Rh([u, h, p, f]);
3298
- return xe(() => {
3298
+ return be(() => {
3299
3299
  if (!l) return;
3300
3300
  const v = d.refs.reference.current;
3301
3301
  if (!(v instanceof Element)) return;
@@ -3612,7 +3612,7 @@ const hy = (e) => ({
3612
3612
  }, f = D(() => {
3613
3613
  h.current && cancelAnimationFrame(h.current), h.current = requestAnimationFrame(p);
3614
3614
  }, []);
3615
- xe(() => {
3615
+ be(() => {
3616
3616
  f();
3617
3617
  const C = () => f();
3618
3618
  window.addEventListener("resize", C);
@@ -4077,7 +4077,7 @@ const Fy = "flex", Ey = "pb-1 mt-2", Dy = {
4077
4077
  onToggle: c
4078
4078
  }) => {
4079
4079
  const [d, u] = k(i), [h, p] = k(!0), f = V(() => typeof l == "boolean", [l]), m = f ? l : h;
4080
- xe(() => {
4080
+ be(() => {
4081
4081
  f && u(l ? i : od);
4082
4082
  }, [f, l, i]);
4083
4083
  const v = le([
@@ -5266,7 +5266,7 @@ var ZS = /* @__PURE__ */ At(function(t) {
5266
5266
  "children"
5267
5267
  ]);
5268
5268
  const [n, o] = QS(s);
5269
- return xe(() => {
5269
+ return be(() => {
5270
5270
  if (o) {
5271
5271
  const r = Vv();
5272
5272
  return ++Vg, () => {
@@ -5330,7 +5330,7 @@ function JS() {
5330
5330
  }), rd;
5331
5331
  }
5332
5332
  var e2 = JS();
5333
- const t2 = /* @__PURE__ */ gx(e2), dn = typeof window < "u" ? hi : xe;
5333
+ const t2 = /* @__PURE__ */ gx(e2), dn = typeof window < "u" ? hi : be;
5334
5334
  function i2(e, t, i) {
5335
5335
  const [s, n] = k(
5336
5336
  () => t(e)
@@ -5803,7 +5803,7 @@ function C2(e, t, i) {
5803
5803
  i
5804
5804
  ]
5805
5805
  );
5806
- return xe(() => {
5806
+ return be(() => {
5807
5807
  s.spec = e;
5808
5808
  }, [
5809
5809
  e
@@ -5903,7 +5903,7 @@ function D2(e, t) {
5903
5903
  t
5904
5904
  ]
5905
5905
  );
5906
- return xe(() => {
5906
+ return be(() => {
5907
5907
  i.spec = e;
5908
5908
  }, [
5909
5909
  e
@@ -6542,17 +6542,17 @@ var xl = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(xl ||
6542
6542
  var S = qg(x, this.props.grid[0], this.props.gridGap ? this.props.gridGap[0] : 0), R = qg(b, this.props.grid[1], this.props.gridGap ? this.props.gridGap[1] : 0), E = this.props.snapGap || 0, T = E === 0 || Math.abs(S - x) <= E ? S : x, P = E === 0 || Math.abs(R - b) <= E ? R : b;
6543
6543
  x = T, b = P;
6544
6544
  }
6545
- var M = {
6545
+ var I = {
6546
6546
  width: x - p.width,
6547
6547
  height: b - p.height
6548
6548
  };
6549
- if (this.delta = M, f && typeof f == "string") {
6549
+ if (this.delta = I, f && typeof f == "string") {
6550
6550
  if (f.endsWith("%")) {
6551
6551
  var N = x / v.width * 100;
6552
6552
  x = "".concat(N, "%");
6553
6553
  } else if (f.endsWith("vw")) {
6554
- var K = x / this.window.innerWidth * 100;
6555
- x = "".concat(K, "vw");
6554
+ var $ = x / this.window.innerWidth * 100;
6555
+ x = "".concat($, "vw");
6556
6556
  } else if (f.endsWith("vh")) {
6557
6557
  var O = x / this.window.innerHeight * 100;
6558
6558
  x = "".concat(O, "vh");
@@ -6563,8 +6563,8 @@ var xl = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(xl ||
6563
6563
  var N = b / v.height * 100;
6564
6564
  b = "".concat(N, "%");
6565
6565
  } else if (m.endsWith("vw")) {
6566
- var K = b / this.window.innerWidth * 100;
6567
- b = "".concat(K, "vw");
6566
+ var $ = b / this.window.innerWidth * 100;
6567
+ b = "".concat($, "vw");
6568
6568
  } else if (m.endsWith("vh")) {
6569
6569
  var O = b / this.window.innerHeight * 100;
6570
6570
  b = "".concat(O, "vh");
@@ -6578,7 +6578,7 @@ var xl = /* @__PURE__ */ ((e) => (e.Left = "left", e.Right = "right", e))(xl ||
6578
6578
  var B = this.state.width !== G.width, _ = this.state.height !== G.height, re = this.state.flexBasis !== G.flexBasis, A = B || _ || re;
6579
6579
  A && px(function() {
6580
6580
  s.setState(G);
6581
- }), this.props.onResize && A && this.props.onResize(i, h, this.resizable, M);
6581
+ }), this.props.onResize && A && this.props.onResize(i, h, this.resizable, I);
6582
6582
  }
6583
6583
  }, t.prototype.onMouseUp = function(i) {
6584
6584
  var s, n, o = this.state, r = o.isResizing, a = o.direction;
@@ -7980,7 +7980,7 @@ var i3 = (e, t, i) => {
7980
7980
  ` : ""}Visit ${s}`}${i ? "" : `
7981
7981
  Alternatively register the ValidationModule to see the full message in the console.`}`;
7982
7982
  };
7983
- function q(...e) {
7983
+ function K(...e) {
7984
7984
  tp(wr, e[0], e[1], !0);
7985
7985
  }
7986
7986
  function Ue(...e) {
@@ -8031,7 +8031,7 @@ function Ts(e, t, i = !1, s) {
8031
8031
  data: t.data
8032
8032
  }, c = n.getCallback("getRowHeight")(l);
8033
8033
  if (Eu(c))
8034
- return c === 0 && q(23), { height: Math.max(1, c), estimated: !1 };
8034
+ return c === 0 && K(23), { height: Math.max(1, c), estimated: !1 };
8035
8035
  }
8036
8036
  if (t.detail && n.get("masterDetail"))
8037
8037
  return r3(n);
@@ -8049,7 +8049,7 @@ function rn(e) {
8049
8049
  if (!s || ot(s))
8050
8050
  return t.getDefaultRowHeight();
8051
8051
  const n = t.refreshRowHeightVariable();
8052
- return n !== -1 ? n : (q(24), t.getDefaultRowHeight());
8052
+ return n !== -1 ? n : (K(24), t.getDefaultRowHeight());
8053
8053
  }
8054
8054
  function Eu(e) {
8055
8055
  return !isNaN(e) && typeof e == "number" && isFinite(e);
@@ -8098,7 +8098,7 @@ function wo(e) {
8098
8098
  const t = e.getCallback("getRowId");
8099
8099
  return t === void 0 ? t : (i) => {
8100
8100
  let s = t(i);
8101
- return typeof s != "string" && (uc(() => q(25, { id: s }), "getRowIdString"), s = String(s)), s;
8101
+ return typeof s != "string" && (uc(() => K(25, { id: s }), "getRowIdString"), s = String(s)), s;
8102
8102
  };
8103
8103
  }
8104
8104
  function c3(e, t) {
@@ -8522,7 +8522,7 @@ var R3 = ["asc", "desc", null], F3 = [
8522
8522
  }
8523
8523
  /** @deprecated v33 Use `api.isColumnHovered(column)` instead. */
8524
8524
  isHovered() {
8525
- return q(261), !!this.beans.colHover?.isHovered(this);
8525
+ return K(261), !!this.beans.colHover?.isHovered(this);
8526
8526
  }
8527
8527
  setFirstRightPinned(e, t) {
8528
8528
  this.firstRightPinned !== e && (this.firstRightPinned = e, this.dispatchColEvent("firstRightPinnedChanged", t));
@@ -8861,7 +8861,7 @@ var P3 = class {
8861
8861
  let s = e ?? t;
8862
8862
  if (s ? i !== 0 && (s += "_" + i) : s = i, !this.existingKeys[s]) {
8863
8863
  const n = String(s);
8864
- return e && i > 0 && q(273, { providedId: e, usedId: n }), this.existingKeys[n] = !0, n;
8864
+ return e && i > 0 && K(273, { providedId: e, usedId: n }), this.existingKeys[n] = !0, n;
8865
8865
  }
8866
8866
  i++;
8867
8867
  }
@@ -9002,11 +9002,11 @@ function N3(e, t, i) {
9002
9002
  const s = Object.assign({}, D3), n = e.gos.get("columnTypes") || {};
9003
9003
  for (const o of Object.keys(n)) {
9004
9004
  const r = n[o];
9005
- o in s ? q(34, { key: o }) : (r.type && q(35), s[o] = r);
9005
+ o in s ? K(34, { key: o }) : (r.type && K(35), s[o] = r);
9006
9006
  }
9007
9007
  for (const o of t) {
9008
9008
  const r = s[o.trim()];
9009
- r ? Ht(i, r, !1, !0) : q(36, { t: o });
9009
+ r ? Ht(i, r, !1, !0) : K(36, { t: o });
9010
9010
  }
9011
9011
  }
9012
9012
  function H3(e) {
@@ -9808,7 +9808,7 @@ var DF = class extends Z3 {
9808
9808
  e?.onGridExit?.(t);
9809
9809
  }
9810
9810
  warnNoBody() {
9811
- q(54);
9811
+ K(54);
9812
9812
  }
9813
9813
  isDropZoneWithinThisGrid(e) {
9814
9814
  return this.beans.ctrlsSvc.getGridBodyCtrl().eGridBody.contains(e.dropZoneTarget);
@@ -10622,7 +10622,7 @@ function yi(e, t, i) {
10622
10622
  }
10623
10623
  function cp(e, t) {
10624
10624
  const { debounceMs: i } = e;
10625
- return pc(e) ? (i != null && q(71), 0) : i ?? t;
10625
+ return pc(e) ? (i != null && K(71), 0) : i ?? t;
10626
10626
  }
10627
10627
  function pc(e) {
10628
10628
  return (e.buttons?.indexOf("apply") ?? -1) >= 0;
@@ -10693,7 +10693,7 @@ var GF = class extends lt {
10693
10693
  * @deprecated v34 Use the same method on the filter handler (`api.getColumnFilterHandler()`) instead.
10694
10694
  */
10695
10695
  doesFilterPass(e) {
10696
- q(283);
10696
+ K(283);
10697
10697
  const { getHandler: t, model: i, column: s } = this.params;
10698
10698
  return t().doesFilterPass({
10699
10699
  ...e,
@@ -10708,7 +10708,7 @@ var GF = class extends lt {
10708
10708
  * @deprecated v34 Filters are active when they have a model. Use `api.getColumnFilterModel()` instead.
10709
10709
  */
10710
10710
  isFilterActive() {
10711
- return q(284), this.params.model != null;
10711
+ return K(284), this.params.model != null;
10712
10712
  }
10713
10713
  setupApplyDebounced() {
10714
10714
  const e = cp(this.params, this.defaultDebounceMs), t = pt(this, this.checkApplyDebounce.bind(this), e);
@@ -10723,13 +10723,13 @@ var GF = class extends lt {
10723
10723
  * @deprecated v34 Use (`api.getColumnFilterModel()`) instead.
10724
10724
  */
10725
10725
  getModel() {
10726
- return q(285), this.params.model;
10726
+ return K(285), this.params.model;
10727
10727
  }
10728
10728
  /**
10729
10729
  * @deprecated v34 Use (`api.setColumnFilterModel()`) instead.
10730
10730
  */
10731
10731
  setModel(e) {
10732
- q(286);
10732
+ K(286);
10733
10733
  const { beans: t, params: i } = this;
10734
10734
  return t.colFilter.setModelForColumnLegacy(i.column, e);
10735
10735
  }
@@ -11184,7 +11184,7 @@ var uf = "row-group-", up = "t-", hp = "b-", VF = 0, ks = class {
11184
11184
  * - `false` if the node is not a full width cell
11185
11185
  */
11186
11186
  isFullWidthCell() {
11187
- if (q(61), this.detail)
11187
+ if (K(61), this.detail)
11188
11188
  return !0;
11189
11189
  const e = this.beans.gos.getCallback("isFullWidthRow");
11190
11190
  return e ? e({ rowNode: this }) : !1;
@@ -11665,7 +11665,7 @@ var mf = class extends z {
11665
11665
  for (const d of e) {
11666
11666
  const u = s?.({ data: d, level: 0, rowPinned: t }) ?? n + this.nextId++;
11667
11667
  if (a.has(u)) {
11668
- q(96, { id: u, data: d });
11668
+ K(96, { id: u, data: d });
11669
11669
  continue;
11670
11670
  }
11671
11671
  c++, a.add(u), r.push(u);
@@ -13723,7 +13723,7 @@ var TE = 0, yd = class extends z {
13723
13723
  return;
13724
13724
  const { rowModel: s } = this.beans, n = s.getRowCount();
13725
13725
  if (typeof e != "number" || e < 0 || e >= n) {
13726
- q(88, { index: e });
13726
+ K(88, { index: e });
13727
13727
  return;
13728
13728
  }
13729
13729
  this.clearRetryListeners();
@@ -13733,9 +13733,9 @@ var TE = 0, yd = class extends z {
13733
13733
  let u, h, p = 0;
13734
13734
  this.invalidateVerticalScroll();
13735
13735
  do {
13736
- 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(), F = a.divStretchOffset, S = y.top + F, R = y.bottom + F, E = R - S, T = a.getScrollPositionForPixel(b), P = a.getScrollPositionForPixel(x - E), M = Math.min((T + P) / 2, b), N = S + f > b, K = R - m < x;
13736
+ 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(), F = a.divStretchOffset, S = y.top + F, R = y.bottom + F, E = R - S, T = a.getScrollPositionForPixel(b), P = a.getScrollPositionForPixel(x - E), I = Math.min((T + P) / 2, b), N = S + f > b, $ = R - m < x;
13737
13737
  let O = null;
13738
- t === "top" ? O = T - f : t === "bottom" ? O = P + m : t === "middle" ? O = M : N ? O = T - f : K && (P - T > E ? O = T - f : O = P + m), O !== null && (this.setVerticalScrollPosition(O), l.redraw({ afterScroll: !0 })), u = v !== d.rowTop || C !== d.rowHeight, h = f !== c.stickyTopHeight || m !== c.stickyBottomHeight, p++;
13738
+ t === "top" ? O = T - f : t === "bottom" ? O = P + m : t === "middle" ? O = I : N ? O = T - f : $ && (P - T > E ? O = T - f : O = P + m), O !== null && (this.setVerticalScrollPosition(O), l.redraw({ afterScroll: !0 })), u = v !== d.rowTop || C !== d.rowHeight, h = f !== c.stickyTopHeight || m !== c.stickyBottomHeight, p++;
13739
13739
  } while ((u || h) && p < 10);
13740
13740
  if (this.animationFrameSvc?.flushAllFrames(), i < 10 && (d?.stub || !this.beans.rowAutoHeight?.areRowsMeasured())) {
13741
13741
  const f = this.getVScrollPosition().top;
@@ -15455,10 +15455,10 @@ var h5 = class extends z {
15455
15455
  apiNotFound(e) {
15456
15456
  const { beans: t, gos: i, preDestroyLink: s } = this;
15457
15457
  if (!t)
15458
- q(26, { fnName: e, preDestroyLink: s });
15458
+ K(26, { fnName: e, preDestroyLink: s });
15459
15459
  else {
15460
15460
  const n = Pf[e];
15461
- i.assertModuleRegistered(n, `api.${e}`) && q(27, { fnName: e, module: n });
15461
+ i.assertModuleRegistered(n, `api.${e}`) && K(27, { fnName: e, module: n });
15462
15462
  }
15463
15463
  }
15464
15464
  destroy() {
@@ -15499,7 +15499,7 @@ function C5(e, t, i) {
15499
15499
  }
15500
15500
  function $t(e, t, i) {
15501
15501
  let s = null;
15502
- e === "smallDown" ? q(262) : e === "smallLeft" ? q(263) : e === "smallRight" && q(264);
15502
+ e === "smallDown" ? K(262) : e === "smallLeft" ? K(263) : e === "smallRight" && K(264);
15503
15503
  const n = i?.getColDef().icons;
15504
15504
  if (n && (s = n[e]), t.gos && !s) {
15505
15505
  const o = t.gos.get("icons");
@@ -15512,14 +15512,14 @@ function $t(e, t, i) {
15512
15512
  else if (typeof s == "string")
15513
15513
  o = s;
15514
15514
  else {
15515
- q(38, { iconName: e });
15515
+ K(38, { iconName: e });
15516
15516
  return;
15517
15517
  }
15518
15518
  if (typeof o == "string")
15519
15519
  return Kh(o);
15520
15520
  if (Zh(o))
15521
15521
  return o;
15522
- q(133, { iconName: e });
15522
+ K(133, { iconName: e });
15523
15523
  return;
15524
15524
  } else {
15525
15525
  const o = t.registry.getIcon(e);
@@ -16278,12 +16278,12 @@ var V5 = 0.25, z5 = class extends z {
16278
16278
  }
16279
16279
  addRowDropZone(e) {
16280
16280
  if (!e.getContainer()) {
16281
- q(55);
16281
+ K(55);
16282
16282
  return;
16283
16283
  }
16284
16284
  const t = this.beans.dragAndDrop;
16285
16285
  if (t.findExternalZone(e.getContainer())) {
16286
- q(56);
16286
+ K(56);
16287
16287
  return;
16288
16288
  }
16289
16289
  const i = e.fromGrid ? e : {
@@ -17312,7 +17312,7 @@ var pD = class extends z {
17312
17312
  if (!l)
17313
17313
  return;
17314
17314
  if (t > l.length - e.length) {
17315
- q(30, { toIndex: t });
17315
+ K(30, { toIndex: t });
17316
17316
  return;
17317
17317
  }
17318
17318
  o?.start();
@@ -18678,11 +18678,11 @@ function Ri(e, t, i) {
18678
18678
  if (!m.length && !v?.length)
18679
18679
  return !1;
18680
18680
  if (t?.state && !t.state.forEach)
18681
- return q(32), !1;
18681
+ return K(32), !1;
18682
18682
  const C = (y, F, S, R, E) => {
18683
18683
  if (!y)
18684
18684
  return;
18685
- const T = z3(F, t.defaultState), P = T("flex").value1, M = T("sort").value1, N = T("sortType").value1, K = Ds(M) || ip(N), O = os(N), G = hc(M), B = K ? { type: O, direction: G } : void 0;
18685
+ const T = z3(F, t.defaultState), P = T("flex").value1, I = T("sort").value1, N = T("sortType").value1, $ = Ds(I) || ip(N), O = os(N), G = hc(I), B = $ ? { type: O, direction: G } : void 0;
18686
18686
  if (kC(
18687
18687
  e,
18688
18688
  y,
@@ -18701,26 +18701,26 @@ function Ri(e, t, i) {
18701
18701
  }
18702
18702
  E || !y.isPrimary() || (h?.syncColumnWithState(y, i, T), n?.syncColumnWithState(y, i, T, S), o?.syncColumnWithState(y, i, T, R));
18703
18703
  }, w = (y, F, S) => {
18704
- const R = Mw(e, i), E = F.slice(), T = {}, P = {}, M = [], N = [], K = [];
18704
+ const R = Mw(e, i), E = F.slice(), T = {}, P = {}, I = [], N = [], $ = [];
18705
18705
  let O = 0;
18706
18706
  const G = n?.columns.slice() ?? [], B = o?.columns.slice() ?? [];
18707
18707
  for (const A of y) {
18708
- const I = A.colId;
18709
- if (I.startsWith(Ss)) {
18710
- M.push(A), K.push(A);
18708
+ const M = A.colId;
18709
+ if (M.startsWith(Ss)) {
18710
+ I.push(A), $.push(A);
18711
18711
  continue;
18712
18712
  }
18713
- if (Gs(I)) {
18714
- N.push(A), K.push(A);
18713
+ if (Gs(M)) {
18714
+ N.push(A), $.push(A);
18715
18715
  continue;
18716
18716
  }
18717
- const Z = S(I);
18718
- Z ? (C(Z, A, T, P, !1), Wi(E, Z)) : (K.push(A), O += 1);
18717
+ const Z = S(M);
18718
+ Z ? (C(Z, A, T, P, !1), Wi(E, Z)) : ($.push(A), O += 1);
18719
18719
  }
18720
18720
  const _ = (A) => C(A, null, T, P, !1);
18721
18721
  E.forEach(_), n?.sortColumns(Of.bind(n, T, G)), o?.sortColumns(Of.bind(o, P, B)), s.refreshCols(!1, i);
18722
- const re = (A, I, W = []) => {
18723
- for (const Z of I) {
18722
+ const re = (A, M, W = []) => {
18723
+ for (const Z of M) {
18724
18724
  const ae = A(Z.colId);
18725
18725
  Wi(W, ae), C(ae, Z, null, null, !0);
18726
18726
  }
@@ -18728,7 +18728,7 @@ function Ri(e, t, i) {
18728
18728
  };
18729
18729
  return re(
18730
18730
  (A) => r?.getColumn(A) ?? null,
18731
- M,
18731
+ I,
18732
18732
  r?.getColumns()?.slice()
18733
18733
  ), re(
18734
18734
  (A) => a?.getColumn(A) ?? null,
@@ -18737,7 +18737,7 @@ function Ri(e, t, i) {
18737
18737
  ), UD(t, s, f), c.refresh(i), p.dispatchEvent({
18738
18738
  type: "columnEverythingChanged",
18739
18739
  source: i
18740
- }), R(), { unmatchedAndAutoStates: K, unmatchedCount: O };
18740
+ }), R(), { unmatchedAndAutoStates: $, unmatchedCount: O };
18741
18741
  };
18742
18742
  l?.start();
18743
18743
  let { unmatchedAndAutoStates: b, unmatchedCount: x } = w(
@@ -18785,11 +18785,11 @@ function Mw(e, t) {
18785
18785
  const N = new Set(S);
18786
18786
  for (const O of R)
18787
18787
  N.delete(O) || N.add(O);
18788
- const K = [...N];
18788
+ const $ = [...N];
18789
18789
  a.dispatchEvent({
18790
18790
  type: F,
18791
- columns: K,
18792
- column: K.length === 1 ? K[0] : null,
18791
+ columns: $,
18792
+ column: $.length === 1 ? $[0] : null,
18793
18793
  source: t
18794
18794
  });
18795
18795
  }, h = (F) => {
@@ -18905,7 +18905,7 @@ function $D(e, t, i, s) {
18905
18905
  l.startsWith(Ss) ? n.splice(r++, 0, a) : n.push(a);
18906
18906
  }
18907
18907
  if (n = Fw(n, s), !Ew(n, i.getColTree())) {
18908
- q(39);
18908
+ K(39);
18909
18909
  return;
18910
18910
  }
18911
18911
  e.list = n;
@@ -20061,7 +20061,7 @@ var kP = [
20061
20061
  n = Hf(r, e);
20062
20062
  } else {
20063
20063
  if (i.includes(o)) {
20064
- q(44);
20064
+ K(44);
20065
20065
  return;
20066
20066
  }
20067
20067
  const r = t[o];
@@ -20092,7 +20092,7 @@ var kP = [
20092
20092
  }
20093
20093
  const o = this.dataTypeDefinitions[s];
20094
20094
  if (!o) {
20095
- q(47, { cellDataType: s });
20095
+ K(47, { cellDataType: s });
20096
20096
  return;
20097
20097
  }
20098
20098
  return e.cellDataType = s, o.groupSafeValueFormatter && (e.valueFormatter = o.groupSafeValueFormatter), o.valueParser && (e.valueParser = o.valueParser), o.suppressDefaultProperties || this.setColDefPropertiesForBaseDataType(e, s, o, i), o.columnTypes;
@@ -20238,7 +20238,7 @@ var kP = [
20238
20238
  }
20239
20239
  validateColDef(e, t, i, s) {
20240
20240
  if (e.cellDataType === "object") {
20241
- const n = (l) => l?.cellDataType == null || l?.cellDataType === !0, o = n(t) && n(i), r = (l) => q(48, { property: l, inferred: o, colId: s }), { object: a } = this.dataTypeDefinitions;
20241
+ const n = (l) => l?.cellDataType == null || l?.cellDataType === !0, o = n(t) && n(i), r = (l) => K(48, { property: l, inferred: o, colId: s }), { object: a } = this.dataTypeDefinitions;
20242
20242
  e.valueFormatter === a.groupSafeValueFormatter && !this.hasObjectValueFormatter && r("Formatter"), e.editable && e.valueParser === a.valueParser && !this.hasObjectValueParser && r("Parser");
20243
20243
  }
20244
20244
  }
@@ -20352,7 +20352,7 @@ function Hf(e, t) {
20352
20352
  ]), i;
20353
20353
  }
20354
20354
  function Gf(e, t, i) {
20355
- return t ? t.baseDataType !== e.baseDataType ? (q(46), !1) : !0 : (q(45, { parentCellDataType: i }), !1);
20355
+ return t ? t.baseDataType !== e.baseDataType ? (K(46), !1) : !0 : (K(45, { parentCellDataType: i }), !1);
20356
20356
  }
20357
20357
  var LP = (e) => typeof e == "bigint" || typeof e == "number", OP = (e) => e === "number" || e === "bigint";
20358
20358
  function Bf(e, t) {
@@ -21696,7 +21696,7 @@ ${i}}
21696
21696
  params: G4
21697
21697
  }), V4 = /* @__PURE__ */ B4(), z4 = {
21698
21698
  warn: (...e) => {
21699
- q(e[0], e[1]);
21699
+ K(e[0], e[1]);
21700
21700
  },
21701
21701
  error: (...e) => {
21702
21702
  Ue(e[0], e[1]);
@@ -22160,7 +22160,7 @@ var b6 = class extends x4 {
22160
22160
  return u6;
22161
22161
  }
22162
22162
  varError(e, t) {
22163
- q(9, { variable: { cssName: e, defaultValue: t } });
22163
+ K(9, { variable: { cssName: e, defaultValue: t } });
22164
22164
  }
22165
22165
  themeError(e) {
22166
22166
  Ue(240, { theme: e });
@@ -24567,7 +24567,7 @@ var J6 = class extends lt {
24567
24567
  this.params = e, this.checkWarnings(), this.workOutInnerHeaderGroupComponent(t, e), this.setupLabel(e), this.addGroupExpandIcon(e), this.setupExpandIcons(), i?.setupForHeaderGroup(this);
24568
24568
  }
24569
24569
  checkWarnings() {
24570
- this.params.template && q(89);
24570
+ this.params.template && K(89);
24571
24571
  }
24572
24572
  workOutInnerHeaderGroupComponent(e, t) {
24573
24573
  const i = CF(e, t, t);
@@ -24675,7 +24675,7 @@ var J6 = class extends lt {
24675
24675
  // frames. this stops bugs - where some code is asking for a frame to be executed
24676
24676
  // when it should not.
24677
24677
  verify() {
24678
- this.active === !1 && q(92);
24678
+ this.active === !1 && K(92);
24679
24679
  }
24680
24680
  createTask(e, t, i, s, n = !1) {
24681
24681
  this.verify();
@@ -24882,7 +24882,7 @@ var J6 = class extends lt {
24882
24882
  i = this.gos.get("enableRtl") ? this.getCellToRight(i) : this.getCellToLeft(i);
24883
24883
  break;
24884
24884
  default:
24885
- i = null, q(8, { key: e });
24885
+ i = null, K(8, { key: e });
24886
24886
  break;
24887
24887
  }
24888
24888
  i ? s = this.isCellGoodToFocusOn(i) : s = !0;
@@ -28038,7 +28038,7 @@ var KT = {
28038
28038
  if (!s.cols || !e?.length)
28039
28039
  return;
28040
28040
  if (Rt(r, "print")) {
28041
- q(37);
28041
+ K(37);
28042
28042
  return;
28043
28043
  }
28044
28044
  n?.start();
@@ -28488,15 +28488,15 @@ var CI = ".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.a
28488
28488
  this.showInitialOverlay = !1;
28489
28489
  const t = this.userForcedNoRows;
28490
28490
  if (this.userForcedNoRows = !1, e.get("loading")) {
28491
- q(99);
28491
+ K(99);
28492
28492
  return;
28493
28493
  }
28494
28494
  if (e.get("activeOverlay")) {
28495
- q(296);
28495
+ K(296);
28496
28496
  return;
28497
28497
  }
28498
28498
  if (this.currentDef === Mp) {
28499
- q(297);
28499
+ K(297);
28500
28500
  return;
28501
28501
  }
28502
28502
  this.doHideOverlay(), t && this.getOverlayDef() !== Jn && this.updateOverlay(!1);
@@ -30332,7 +30332,7 @@ var BI = "paste", VI = class extends z {
30332
30332
  }
30333
30333
  isSetValueSupported(e, t, i, s) {
30334
30334
  const { field: n, valueSetter: o } = s, r = this.beans.formula, a = e.isAllowFormula() && r?.isFormula(i), l = !!this.formulaDataSvc?.hasDataSource();
30335
- return ot(n) && ot(o) && !(l && a) ? t.group && (s.groupRowValueSetter || s.groupRowEditable) ? !0 : (q(17), !1) : this.dataTypeSvc && !this.dataTypeSvc.checkType(e, i) ? (q(135), !1) : !0;
30335
+ return ot(n) && ot(o) && !(l && a) ? t.group && (s.groupRowValueSetter || s.groupRowEditable) ? !0 : (K(17), !1) : this.dataTypeSvc && !this.dataTypeSvc.checkType(e, i) ? (K(135), !1) : !0;
30336
30336
  }
30337
30337
  handleExternalFormulaChange(e) {
30338
30338
  const { column: t, rowNode: i, newValue: s, eventSource: n, setterParams: o } = e, r = this.beans.formula, a = this.formulaDataSvc;
@@ -30439,7 +30439,7 @@ var BI = "paste", VI = class extends z {
30439
30439
  });
30440
30440
  n = s(o);
30441
30441
  }
30442
- return typeof n == "string" || n == null || (n = String(n), n === "[object Object]" && q(121)), n;
30442
+ return typeof n == "string" || n == null || (n = String(n), n === "[object Object]" && K(121)), n;
30443
30443
  }
30444
30444
  }, KI = {
30445
30445
  moduleName: "CommunityCore",
@@ -31438,7 +31438,7 @@ var c8 = class extends z {
31438
31438
  break;
31439
31439
  }
31440
31440
  case "columnPivotChanged":
31441
- q(21);
31441
+ K(21);
31442
31442
  break;
31443
31443
  }
31444
31444
  });
@@ -31594,7 +31594,7 @@ function C1(e) {
31594
31594
  }
31595
31595
  function w1(e) {
31596
31596
  if (e.rowAutoHeight?.active) {
31597
- q(3);
31597
+ K(3);
31598
31598
  return;
31599
31599
  }
31600
31600
  e.rowModel?.resetRowHeights();
@@ -31739,7 +31739,7 @@ var M8 = {
31739
31739
  }
31740
31740
  updateRowData(e, t, i) {
31741
31741
  if (this.dispatchRowDataUpdateStarted(e.add), this.beans.groupStage?.getNestedDataGetter())
31742
- return q(268), { remove: [], update: [], add: [] };
31742
+ return K(268), { remove: [], update: [], add: [] };
31743
31743
  const s = [], n = wo(this.gos), o = this.executeRemove(n, e, t, s, i), r = this.executeUpdate(n, e, t, s), a = this.executeAdd(e, t);
31744
31744
  return this.deselect(s), { remove: o, update: r, add: a };
31745
31745
  }
@@ -31808,7 +31808,7 @@ var M8 = {
31808
31808
  const s = new ks(this.beans);
31809
31809
  s.parent = this.rootNode, s.level = t, s.group = !1, i != null && (s.sourceRowIndex = i), s.setDataAndId(e, String(this.nextId++));
31810
31810
  const n = s.id, o = this.allNodesMap;
31811
- return o[n] && q(2, { nodeId: n }), o[n] = s, s;
31811
+ return o[n] && K(2, { nodeId: n }), o[n] = s, s;
31812
31812
  }
31813
31813
  /** Called when a node needs to be deleted */
31814
31814
  destroyNode(e, t) {
@@ -32146,7 +32146,7 @@ var V8 = class extends z {
32146
32146
  return;
32147
32147
  const o = new Set(e), r = n?.onPropChange(o);
32148
32148
  let a;
32149
- o.has("rowData") ? a = i.get("rowData") : r && (a = n?.extractData()), a && !Array.isArray(a) && (a = null, q(1));
32149
+ o.has("rowData") ? a = i.get("rowData") : r && (a = n?.extractData()), a && !Array.isArray(a) && (a = null, K(1));
32150
32150
  const l = { step: "nothing", changedProps: o };
32151
32151
  if (a) {
32152
32152
  const d = !r && !this.isEmpty() && a.length > 0 && i.exists("getRowId") && // backward compatibility - for who want old behaviour of Row IDs but NOT Immutable Data.
@@ -32888,7 +32888,7 @@ var cM = class extends z {
32888
32888
  this.sizeColumnsToFitGridBody(e, 500);
32889
32889
  }, 100) : t === 500 ? window.setTimeout(() => {
32890
32890
  this.sizeColumnsToFitGridBody(e, -1);
32891
- }, 500) : q(29);
32891
+ }, 500) : K(29);
32892
32892
  }
32893
32893
  // called from api
32894
32894
  sizeColumnsToFit(e, t = "sizeColumnsToFit", i, s) {
@@ -32939,9 +32939,9 @@ var cM = class extends z {
32939
32939
  const w = C / Qi(d);
32940
32940
  let b = C;
32941
32941
  for (let x = d.length - 1; x >= 0; x--) {
32942
- const y = d[x], F = y.getColId(), S = m[F], R = r?.[F], E = R?.minWidth ?? s?.defaultMinWidth ?? S, T = R?.maxWidth ?? s?.defaultMaxWidth, P = Math.max(E ?? -1 / 0, y.getMinWidth()), M = Math.min(T ?? 1 / 0, y.getMaxWidth());
32942
+ const y = d[x], F = y.getColId(), S = m[F], R = r?.[F], E = R?.minWidth ?? s?.defaultMinWidth ?? S, T = R?.maxWidth ?? s?.defaultMaxWidth, P = Math.max(E ?? -1 / 0, y.getMinWidth()), I = Math.min(T ?? 1 / 0, y.getMaxWidth());
32943
32943
  let N = Math.round(y.getActualWidth() * w);
32944
- N < P ? (N = P, f(y), p = !1) : N > M ? (N = M, f(y), p = !1) : x === 0 && (N = b), y.setActualWidth(N, t, !0), b -= N;
32944
+ N < P ? (N = P, f(y), p = !1) : N > I ? (N = I, f(y), p = !1) : x === 0 && (N = b), y.setActualWidth(N, t, !0), b -= N;
32945
32945
  }
32946
32946
  }
32947
32947
  }
@@ -33290,7 +33290,7 @@ var pM = class extends z {
33290
33290
  function bM(e, t) {
33291
33291
  const i = document.defaultView || window;
33292
33292
  if (!i) {
33293
- q(52);
33293
+ K(52);
33294
33294
  return;
33295
33295
  }
33296
33296
  const s = document.createElement("a"), n = i.URL.createObjectURL(t);
@@ -33442,7 +33442,7 @@ var xM = class {
33442
33442
  if (e == null)
33443
33443
  return '""';
33444
33444
  let t;
33445
- return typeof e == "string" ? t = e : typeof e.toString == "function" ? t = e.toString() : (q(53), t = ""), '"' + t.replace(/"/g, '""') + '"';
33445
+ return typeof e == "string" ? t = e : typeof e.toString == "function" ? t = e.toString() : (K(53), t = ""), '"' + t.replace(/"/g, '""') + '"';
33446
33446
  }
33447
33447
  parse() {
33448
33448
  return this.result;
@@ -33460,7 +33460,7 @@ var xM = class {
33460
33460
  }
33461
33461
  export(e) {
33462
33462
  if (this.isExportSuppressed()) {
33463
- q(51);
33463
+ K(51);
33464
33464
  return;
33465
33465
  }
33466
33466
  const t = () => {
@@ -35640,7 +35640,7 @@ var NM = (e, t) => {
35640
35640
  this.focusAfterAttached = e.cellStartedEdit;
35641
35641
  const { eEditor: t, valueSvc: i, gos: s } = this, { values: n, value: o, eventKey: r } = e;
35642
35642
  if (ot(n)) {
35643
- q(58);
35643
+ K(58);
35644
35644
  return;
35645
35645
  }
35646
35646
  this.startedByEnter = r != null ? r === L.ENTER : !1;
@@ -35780,7 +35780,7 @@ function Dk(e, t) {
35780
35780
  function Pk(e, t) {
35781
35781
  const { key: i, colKey: s, rowIndex: n, rowPinned: o } = t, { editSvc: r, colModel: a } = e, l = a.getCol(s);
35782
35782
  if (!l) {
35783
- q(12, { colKey: s });
35783
+ K(12, { colKey: s });
35784
35784
  return;
35785
35785
  }
35786
35786
  const d = ji(e, {
@@ -35788,7 +35788,7 @@ function Pk(e, t) {
35788
35788
  rowPinned: o || null
35789
35789
  });
35790
35790
  if (!d) {
35791
- q(290, { rowIndex: n, rowPinned: o });
35791
+ K(290, { rowIndex: n, rowPinned: o });
35792
35792
  return;
35793
35793
  }
35794
35794
  if (!r?.isCellEditable({ rowNode: d, column: l }, "api"))
@@ -37486,7 +37486,7 @@ function C7(e) {
37486
37486
  }
37487
37487
  function w7(e, t, i) {
37488
37488
  const { gos: s, colModel: n, colFilter: o } = e;
37489
- i && !s.get("enableFilterHandlers") && (q(288), i = !1);
37489
+ i && !s.get("enableFilterHandlers") && (K(288), i = !1);
37490
37490
  const r = n.getColDefCol(t);
37491
37491
  return r ? o?.getModelForColumn(r, i) ?? null : null;
37492
37492
  }
@@ -37519,7 +37519,7 @@ function S7(e, t) {
37519
37519
  function R7(e, t) {
37520
37520
  const { colModel: i, colFilter: s, gos: n } = e;
37521
37521
  if (!n.get("enableFilterHandlers")) {
37522
- q(287);
37522
+ K(287);
37523
37523
  return;
37524
37524
  }
37525
37525
  const { colId: o, action: r } = t;
@@ -37759,16 +37759,16 @@ var A7 = class extends z {
37759
37759
  }), l.forEach((c) => {
37760
37760
  const d = s.getColDefCol(c) || s.getCol(c);
37761
37761
  if (!d) {
37762
- q(62, { colId: c });
37762
+ K(62, { colId: c });
37763
37763
  return;
37764
37764
  }
37765
37765
  if (!d.isFilterAllowed()) {
37766
- q(63, { colId: c });
37766
+ K(63, { colId: c });
37767
37767
  return;
37768
37768
  }
37769
37769
  const u = this.getOrCreateFilterWrapper(d, !0);
37770
37770
  if (!u) {
37771
- q(64, { colId: c });
37771
+ K(64, { colId: c });
37772
37772
  return;
37773
37773
  }
37774
37774
  r.push(this.setModelOnFilterWrapper(u, e[c], !0));
@@ -37828,7 +37828,7 @@ var A7 = class extends z {
37828
37828
  if (e.isHandler)
37829
37829
  return bt(this.model, i);
37830
37830
  const s = e.filter;
37831
- return s ? typeof s.getModel != "function" ? (q(66), null) : s.getModel() : bt(this.initialModel, i);
37831
+ return s ? typeof s.getModel != "function" ? (K(66), null) : s.getModel() : bt(this.initialModel, i);
37832
37832
  }
37833
37833
  isFilterPresent() {
37834
37834
  return this.activeColumnFilters.length > 0;
@@ -37844,7 +37844,7 @@ var A7 = class extends z {
37844
37844
  ), !0) : !1;
37845
37845
  }
37846
37846
  updateActiveFilters() {
37847
- const e = (l) => l ? l.isFilterActive ? l.isFilterActive() : (q(67), !1) : !1, { colModel: t, gos: i } = this.beans, s = !!Pl(i), n = [], o = [], r = (l, c, d) => {
37847
+ const e = (l) => l ? l.isFilterActive ? l.isFilterActive() : (K(67), !1) : !1, { colModel: t, gos: i } = this.beans, s = !!Pl(i), n = [], o = [], r = (l, c, d) => {
37848
37848
  c && (Rm(l, t.isPivotMode(), t.isPivotActive(), s) ? n.push(d) : o.push(d));
37849
37849
  }, a = [];
37850
37850
  return this.allColumnFilters.forEach((l) => {
@@ -38071,7 +38071,7 @@ var A7 = class extends z {
38071
38071
  handlerParams: r
38072
38072
  };
38073
38073
  const { compDetails: c, createFilterUi: d } = l;
38074
- return this.isGlobalButtons && (c.params?.buttons?.length || q(281, { colId: e.getColId() })), {
38074
+ return this.isGlobalButtons && (c.params?.buttons?.length || K(281, { colId: e.getColId() })), {
38075
38075
  compDetails: c,
38076
38076
  handler: o,
38077
38077
  handlerGenerator: a,
@@ -38193,7 +38193,7 @@ var A7 = class extends z {
38193
38193
  const { compName: f, jsComp: m, fwComp: v } = VC(n, t);
38194
38194
  f ? p = f : m == null && v == null && t.filter === !0 && (p = i), h = this.handlerMap[p], h && (u = d(h));
38195
38195
  }
38196
- return u ? { filterHandler: u, handlerNameOrCallback: r ?? h } : l ? (rt(s) && q(277, { colId: e.getColId() }), k7) : void 0;
38196
+ return u ? { filterHandler: u, handlerNameOrCallback: r ?? h } : l ? (rt(s) && K(277, { colId: e.getColId() }), k7) : void 0;
38197
38197
  }
38198
38198
  createHandler(e, t, i) {
38199
38199
  const s = this.createHandlerFunc(e, t, i);
@@ -38518,7 +38518,7 @@ var A7 = class extends z {
38518
38518
  if (n) {
38519
38519
  n.then((o) => {
38520
38520
  if (typeof o?.setModel != "function") {
38521
- q(65), s();
38521
+ K(65), s();
38522
38522
  return;
38523
38523
  }
38524
38524
  (o.setModel(t) || Be.resolve()).then(() => s());
@@ -38821,7 +38821,7 @@ var N7 = class extends z {
38821
38821
  return this.isAdvFilterEnabled() ? (this.warnAdvFilters(), Promise.resolve(void 0)) : this.colFilter?.getFilterInstance(e) ?? Promise.resolve(void 0);
38822
38822
  }
38823
38823
  warnAdvFilters() {
38824
- q(68);
38824
+ K(68);
38825
38825
  }
38826
38826
  setupAdvFilterHeaderComp(e) {
38827
38827
  this.advancedFilter?.getCtrl().setupHeaderComp(e);
@@ -38867,7 +38867,7 @@ var G7 = class extends lt {
38867
38867
  event: C
38868
38868
  });
38869
38869
  };
38870
- ["apply", "clear", "reset", "cancel"].includes(c) || q(75);
38870
+ ["apply", "clear", "reset", "cancel"].includes(c) || K(75);
38871
38871
  const h = c === "apply", f = Jt({
38872
38872
  tag: "button",
38873
38873
  attrs: { type: h && t ? "submit" : "button" },
@@ -39055,7 +39055,7 @@ var G7 = class extends lt {
39055
39055
  );
39056
39056
  this.comp = d, l = d.getGui();
39057
39057
  } else
39058
- this.registerCSS(V7), l = a.getGui(), ne(l) || q(69, { guiFromFilter: l });
39058
+ this.registerCSS(V7), l = a.getGui(), ne(l) || K(69, { guiFromFilter: l });
39059
39059
  this.appendChild(l), e ? this.eventSvc.dispatchEvent({
39060
39060
  type: "filterOpened",
39061
39061
  column: t,
@@ -39285,7 +39285,7 @@ var G7 = class extends lt {
39285
39285
  for (const t of e) {
39286
39286
  if (typeof t == "string")
39287
39287
  continue;
39288
- const i = [["displayKey"], ["displayName"], ["predicate", "test"]], s = (n) => n.some((o) => t[o] != null) ? !0 : (q(72, { keys: n }), !1);
39288
+ const i = [["displayKey"], ["displayName"], ["predicate", "test"]], s = (n) => n.some((o) => t[o] != null) ? !0 : (K(72, { keys: n }), !1);
39289
39289
  if (!i.every(s)) {
39290
39290
  this.filterOptions = e.filter((n) => n === t) || [];
39291
39291
  continue;
@@ -39303,9 +39303,9 @@ var G7 = class extends lt {
39303
39303
  return i;
39304
39304
  if (i.displayKey)
39305
39305
  return i.displayKey;
39306
- q(73);
39306
+ K(73);
39307
39307
  } else
39308
- q(74);
39308
+ K(74);
39309
39309
  }
39310
39310
  getCustomOption(e) {
39311
39311
  return this.customFilterOptions[e];
@@ -39329,7 +39329,7 @@ function Y7(e, t, i) {
39329
39329
  }
39330
39330
  function Z7(e, t) {
39331
39331
  let i = e.length;
39332
- return i > t && (e.splice(t), q(78), i = t), i;
39332
+ return i > t && (e.splice(t), K(78), i = t), i;
39333
39333
  }
39334
39334
  var Q7 = /* @__PURE__ */ new Set([
39335
39335
  "empty",
@@ -39433,7 +39433,7 @@ var yc = class extends GF {
39433
39433
  if (e.operator) {
39434
39434
  const s = e;
39435
39435
  let n = s.conditions;
39436
- n == null && (n = [], q(77));
39436
+ n == null && (n = [], K(77));
39437
39437
  const o = Z7(n, this.maxNumConditions), r = this.getNumConditions();
39438
39438
  if (o < r)
39439
39439
  this.removeConditionsAndOperators(o);
@@ -39452,9 +39452,9 @@ var yc = class extends GF {
39452
39452
  }
39453
39453
  setNumConditions(e) {
39454
39454
  let t = e.maxNumConditions ?? 2;
39455
- t < 1 && (q(79), t = 1), this.maxNumConditions = t;
39455
+ t < 1 && (K(79), t = 1), this.maxNumConditions = t;
39456
39456
  let i = e.numAlwaysVisibleConditions ?? 1;
39457
- i < 1 && (q(80), i = 1), i > t && (q(81), i = t), this.numAlwaysVisibleConditions = i;
39457
+ i < 1 && (K(80), i = 1), i > t && (K(81), i = t), this.numAlwaysVisibleConditions = i;
39458
39458
  }
39459
39459
  createOption() {
39460
39460
  const e = this.getGui(), t = this.createManagedBean(new Lp());
@@ -40003,7 +40003,7 @@ var H1 = class extends z {
40003
40003
  case "notBlank":
40004
40004
  return !ql(t);
40005
40005
  default:
40006
- return q(76, { filterModelType: s }), !0;
40006
+ return K(76, { filterModelType: s }), !0;
40007
40007
  }
40008
40008
  }
40009
40009
  }, Gp = {
@@ -40380,16 +40380,16 @@ var Dm = 1e3, Pm = 1 / 0, nA = class extends yc {
40380
40380
  const d = e[l];
40381
40381
  if (d != null)
40382
40382
  if (isNaN(d))
40383
- q(82, { param: l });
40383
+ K(82, { param: l });
40384
40384
  else
40385
40385
  return d == null ? c : Number(d);
40386
40386
  return c;
40387
40387
  }, i = t("minValidYear", Dm), s = t("maxValidYear", Pm);
40388
- this.minValidYear = i, this.maxValidYear = s, i > s && q(83);
40388
+ this.minValidYear = i, this.maxValidYear = s, i > s && K(83);
40389
40389
  const { minValidDate: n, maxValidDate: o } = e, r = n instanceof Date ? n : Vt(n);
40390
40390
  this.minValidDate = r;
40391
40391
  const a = o instanceof Date ? o : Vt(o);
40392
- this.maxValidDate = a, r && a && r > a && q(84);
40392
+ this.maxValidDate = a, r && a && r > a && K(84);
40393
40393
  }
40394
40394
  refreshInputValidation() {
40395
40395
  for (let e = 0; e < this.dateConditionFromComps.length; e++)
@@ -40786,7 +40786,7 @@ var aA = class extends Hp {
40786
40786
  const { minValidYear: s, maxValidYear: n, minValidDate: o, maxValidDate: r, buttons: a, includeTime: l, colDef: c } = e.filterParams || {}, d = this.beans.dataTypeSvc, u = l ?? d?.getDateIncludesTimeFlag?.(c.cellDataType) ?? !1;
40787
40787
  i ? u ? (t.type = "datetime-local", t.step = "1") : t.type = "date" : t.type = "text";
40788
40788
  const h = Tm(o, s, !0), p = Tm(r, n, !1);
40789
- h && p && h.getTime() > p.getTime() && q(87), h && (t.min = Bt(h, u)), p && (t.max = Bt(p, u)), this.isApply = e.location === "floatingFilter" && !!a?.includes("apply");
40789
+ h && p && h.getTime() > p.getTime() && K(87), h && (t.min = Bt(h, u)), p && (t.max = Bt(p, u)), this.isApply = e.location === "floatingFilter" && !!a?.includes("apply");
40790
40790
  }
40791
40791
  refresh(e) {
40792
40792
  this.params = e, this.setParams(e);
@@ -40815,7 +40815,7 @@ var aA = class extends Hp {
40815
40815
  }
40816
40816
  };
40817
40817
  function Tm(e, t, i) {
40818
- return e && t && q(i ? 85 : 86), e instanceof Date ? e : e ? Vt(e) : t ? Vt(`${t}-${i ? "01-01" : "12-31"}`) : null;
40818
+ return e && t && K(i ? 85 : 86), e instanceof Date ? e : e ? Vt(e) : t ? Vt(`${t}-${i ? "01-01" : "12-31"}`) : null;
40819
40819
  }
40820
40820
  var Zp = [
40821
40821
  "equals",
@@ -41240,7 +41240,7 @@ var $A = class extends z {
41240
41240
  }
41241
41241
  setFilter(e) {
41242
41242
  if (e != null && typeof e != "string") {
41243
- q(70, { newFilter: e });
41243
+ K(70, { newFilter: e });
41244
41244
  return;
41245
41245
  }
41246
41246
  const t = this.parseFilter(e);
@@ -41482,7 +41482,7 @@ var $A = class extends z {
41482
41482
  loadFromDatasource() {
41483
41483
  const e = this.createLoadParams();
41484
41484
  if (ot(this.params.datasource.getRows)) {
41485
- q(90);
41485
+ K(90);
41486
41486
  return;
41487
41487
  }
41488
41488
  window.setTimeout(() => {
@@ -42197,30 +42197,30 @@ var R9 = class extends z {
42197
42197
  columnOrder: u
42198
42198
  } = e;
42199
42199
  let h = !1;
42200
- const p = (P, M) => {
42201
- const N = !s?.has(P) && !!(M || t === "api");
42200
+ const p = (P, I) => {
42201
+ const N = !s?.has(P) && !!(I || t === "api");
42202
42202
  return h || (h = N), N;
42203
42203
  }, f = {}, m = (P) => {
42204
- let M = f[P];
42205
- return M || (M = { colId: P }, f[P] = M, M);
42204
+ let I = f[P];
42205
+ return I || (I = { colId: P }, f[P] = I, I);
42206
42206
  }, v = {}, C = p("sort", n);
42207
- C && n?.sortModel.forEach(({ colId: P, sort: M, type: N }, K) => {
42207
+ C && n?.sortModel.forEach(({ colId: P, sort: I, type: N }, $) => {
42208
42208
  const O = m(P);
42209
- O.sort = M, O.sortIndex = K, O.sortType = N;
42209
+ O.sort = I, O.sortIndex = $, O.sortType = N;
42210
42210
  }), (C || !i) && (v.sort = null, v.sortIndex = null);
42211
42211
  const w = p("rowGroup", o);
42212
- w && o?.groupColIds.forEach((P, M) => {
42212
+ w && o?.groupColIds.forEach((P, I) => {
42213
42213
  const N = m(P);
42214
- N.rowGroup = !0, N.rowGroupIndex = M;
42214
+ N.rowGroup = !0, N.rowGroupIndex = I;
42215
42215
  }), (w || !i) && (v.rowGroup = null, v.rowGroupIndex = null);
42216
42216
  const b = p("aggregation", r);
42217
- b && r?.aggregationModel.forEach(({ colId: P, aggFunc: M }) => {
42218
- m(P).aggFunc = M;
42217
+ b && r?.aggregationModel.forEach(({ colId: P, aggFunc: I }) => {
42218
+ m(P).aggFunc = I;
42219
42219
  }), (b || !i) && (v.aggFunc = null);
42220
42220
  const x = p("pivot", a);
42221
- x && (a?.pivotColIds.forEach((P, M) => {
42221
+ x && (a?.pivotColIds.forEach((P, I) => {
42222
42222
  const N = m(P);
42223
- N.pivot = !0, N.pivotIndex = M;
42223
+ N.pivot = !0, N.pivotIndex = I;
42224
42224
  }), this.gos.updateGridOptions({
42225
42225
  options: { pivotMode: !!a?.pivotMode },
42226
42226
  source: t
@@ -42240,9 +42240,9 @@ var R9 = class extends z {
42240
42240
  (F || !i) && (v.hide = null);
42241
42241
  const S = p("columnSizing", d);
42242
42242
  if (S)
42243
- for (const { colId: P, flex: M, width: N } of d?.columnSizingModel ?? []) {
42244
- const K = m(P);
42245
- K.flex = M ?? null, K.width = N;
42243
+ for (const { colId: P, flex: I, width: N } of d?.columnSizingModel ?? []) {
42244
+ const $ = m(P);
42245
+ $.flex = I ?? null, $.width = N;
42246
42246
  }
42247
42247
  (S || !i) && (v.flex = null);
42248
42248
  const R = u?.orderedColIds, E = !!R?.length && !s?.has("columnOrder"), T = E ? R.map((P) => m(P)) : Object.values(f);
@@ -42628,7 +42628,7 @@ var or = "paginationPageSizeSelector", G9 = { tag: "span", cls: "ag-paging-page-
42628
42628
  const e = this.getPageSizeSelectorValues(), t = this.pagination.getPageSize(), i = !t || !e.includes(t);
42629
42629
  if (i) {
42630
42630
  const n = this.gos.exists("paginationPageSize"), o = this.gos.get(or) !== !0;
42631
- q(94, { pageSizeSet: n, pageSizesSet: o, pageSizeOptions: e, paginationPageSizeOption: t }), o || q(95, { paginationPageSizeOption: t, paginationPageSizeSelector: or }), e.unshift("");
42631
+ K(94, { pageSizeSet: n, pageSizesSet: o, pageSizeOptions: e, paginationPageSizeOption: t }), o || K(95, { paginationPageSizeOption: t, paginationPageSizeSelector: or }), e.unshift("");
42632
42632
  }
42633
42633
  const s = String(i ? "" : t);
42634
42634
  this.selectPageSizeComp ? (Hs(this.pageSizeOptions, e) || (this.selectPageSizeComp.clearOptions().addOptions(this.createPageSizeSelectOptions(e)), this.pageSizeOptions = e), this.selectPageSizeComp.setValue(s, !0)) : this.createPageSizeSelectorComp(e, s), this.hasEmptyOption = i;
@@ -43977,7 +43977,7 @@ var vL = {
43977
43977
  }
43978
43978
  }, PL = ':where(.ag-selection-checkbox) .ag-checkbox-input-wrapper:before{content:"";cursor:pointer;inset:-8px;position:absolute}';
43979
43979
  function TL(e, t) {
43980
- if (!t.nodes.every((r) => r.rowPinned && !vc(r) ? (q(59), !1) : r.id === void 0 ? (q(60), !1) : !0))
43980
+ if (!t.nodes.every((r) => r.rowPinned && !vc(r) ? (K(59), !1) : r.id === void 0 ? (K(60), !1) : !0))
43981
43981
  return;
43982
43982
  const { nodes: s, source: n, newValue: o } = t;
43983
43983
  e.selectionSvc?.setNodesSelected({ nodes: s, source: n ?? "api", newValue: o });
@@ -44244,11 +44244,11 @@ var GL = {
44244
44244
  ), s.setInputAriaLabel(t("ariaHeaderSelection", "Column with Header Selection")), e || i.announceAriaDescription();
44245
44245
  }
44246
44246
  checkSelectionType(e) {
44247
- return Ml(this.gos) ? !0 : (q(128, { feature: e }), !1);
44247
+ return Ml(this.gos) ? !0 : (K(128, { feature: e }), !1);
44248
44248
  }
44249
44249
  checkRightRowModelType(e) {
44250
44250
  const { gos: t, rowModel: i } = this.beans;
44251
- return rt(t) || Mo(t) ? !0 : (q(129, { feature: e, rowModel: i.getType() }), !1);
44251
+ return rt(t) || Mo(t) ? !0 : (K(129, { feature: e, rowModel: i.getType() }), !1);
44252
44252
  }
44253
44253
  onCbSelectAll() {
44254
44254
  if (this.processingEventFromCheckbox || !this.cbSelectAllVisible)
@@ -44525,18 +44525,18 @@ var WL = class extends z {
44525
44525
  return 0;
44526
44526
  const { gos: a } = this;
44527
44527
  if (!on(a) && e)
44528
- return q(132), 0;
44528
+ return K(132), 0;
44529
44529
  if (s.length > 1 && !this.isMultiSelect())
44530
- return q(130), 0;
44530
+ return K(130), 0;
44531
44531
  let l = 0;
44532
44532
  for (let c = 0; c < s.length; c++) {
44533
44533
  const d = s[c], u = d.primaryRow;
44534
44534
  if (u.rowPinned && !vc(u)) {
44535
- q(59);
44535
+ K(59);
44536
44536
  continue;
44537
44537
  }
44538
44538
  if (u.id === void 0) {
44539
- q(60);
44539
+ K(60);
44540
44540
  continue;
44541
44541
  }
44542
44542
  if (e && d.destroyed)
@@ -44761,11 +44761,11 @@ var WL = class extends z {
44761
44761
  selectAllRowNodes(e) {
44762
44762
  const { gos: t, selectionCtx: i } = this;
44763
44763
  if (!on(t)) {
44764
- q(132);
44764
+ K(132);
44765
44765
  return;
44766
44766
  }
44767
44767
  if (u3(t) && !Ml(t)) {
44768
- q(130);
44768
+ K(130);
44769
44769
  return;
44770
44770
  }
44771
44771
  if (!this.canSelectAll())
@@ -44848,7 +44848,7 @@ var WL = class extends z {
44848
44848
  setDetailSelectionState(e, t, i) {
44849
44849
  if (this.masterSelectsDetail) {
44850
44850
  if (!Ml(t)) {
44851
- q(269);
44851
+ K(269);
44852
44852
  return;
44853
44853
  }
44854
44854
  switch (e.isSelected()) {
@@ -45415,7 +45415,7 @@ var iO = {
45415
45415
  this.gridOptions = e.gridOptions, QR(s8);
45416
45416
  }
45417
45417
  warnOnInitialPropertyUpdate(e, t) {
45418
- e === "api" && XL[t] && q(22, { key: t });
45418
+ e === "api" && XL[t] && K(22, { key: t });
45419
45419
  }
45420
45420
  processGridOptions(e) {
45421
45421
  this.processOptions(e, $6());
@@ -45428,7 +45428,7 @@ var iO = {
45428
45428
  n ? this.gos.assertModuleRegistered(
45429
45429
  n,
45430
45430
  `AG Grid '${e}' component: ${t}`
45431
- ) : q(101, {
45431
+ ) : K(101, {
45432
45432
  propertyName: e,
45433
45433
  componentName: t,
45434
45434
  agGridDefaults: i,
@@ -45444,10 +45444,10 @@ var iO = {
45444
45444
  }) : void 0;
45445
45445
  }
45446
45446
  checkRowEvents(e) {
45447
- lO.has(e) && q(10, { eventType: e });
45447
+ lO.has(e) && K(10, { eventType: e });
45448
45448
  }
45449
45449
  validateIcon(e) {
45450
- if (oO.has(e) && q(43, { iconName: e }), sO[e])
45450
+ if (oO.has(e) && K(43, { iconName: e }), sO[e])
45451
45451
  return;
45452
45452
  const t = nO[e];
45453
45453
  if (t) {
@@ -45461,7 +45461,7 @@ var iO = {
45461
45461
  });
45462
45462
  return;
45463
45463
  }
45464
- q(134, { iconName: e });
45464
+ K(134, { iconName: e });
45465
45465
  }
45466
45466
  isProvidedUserComp(e) {
45467
45467
  return !!ho[e];
@@ -46188,7 +46188,7 @@ var vO = class {
46188
46188
  }
46189
46189
  createMethodProxy(e, t, i) {
46190
46190
  return function() {
46191
- return e.hasMethod(t) ? e.callMethod(t, arguments) : (i && q(49, { methodName: t }), null);
46191
+ return e.hasMethod(t) ? e.callMethod(t, arguments) : (i && K(49, { methodName: t }), null);
46192
46192
  };
46193
46193
  }
46194
46194
  }, CO = class extends fw {
@@ -46287,15 +46287,15 @@ var ob = uh((e, t) => {
46287
46287
  return;
46288
46288
  }
46289
46289
  const _ = {
46290
- setInnerRenderer: (A, I) => {
46291
- u(A), m(I);
46290
+ setInnerRenderer: (A, M) => {
46291
+ u(A), m(M);
46292
46292
  },
46293
46293
  setChildCount: (A) => p(A),
46294
- toggleCss: (A, I) => C((W) => W.setClass(A, I)),
46295
- setContractedDisplayed: (A) => y((I) => I.setClass("ag-hidden", !A)),
46296
- setExpandedDisplayed: (A) => b((I) => I.setClass("ag-hidden", !A)),
46297
- setCheckboxVisible: (A) => S((I) => I.setClass("ag-invisible", !A)),
46298
- setCheckboxSpacing: (A) => S((I) => I.setClass("ag-group-checkbox-spacing", A))
46294
+ toggleCss: (A, M) => C((W) => W.setClass(A, M)),
46295
+ setContractedDisplayed: (A) => y((M) => M.setClass("ag-hidden", !A)),
46296
+ setExpandedDisplayed: (A) => b((M) => M.setClass("ag-hidden", !A)),
46297
+ setCheckboxVisible: (A) => S((M) => M.setClass("ag-invisible", !A)),
46298
+ setCheckboxSpacing: (A) => S((M) => M.setClass("ag-group-checkbox-spacing", A))
46299
46299
  }, re = i.createDynamicBean("groupCellRendererCtrl", !0);
46300
46300
  re && (c.current = s.createBean(re), c.current.init(
46301
46301
  _,
@@ -46309,7 +46309,7 @@ var ob = uh((e, t) => {
46309
46309
  }, []), E = V(() => `ag-cell-wrapper ${v.toString()}`, [v]), T = V(() => `ag-group-expanded ${w.toString()}`, [w]), P = V(
46310
46310
  () => `ag-group-contracted ${x.toString()}`,
46311
46311
  [x]
46312
- ), M = V(() => `ag-group-checkbox ${F.toString()}`, [F]), N = d?.componentFromFramework, K = N ? d.componentClass : void 0, O = d == null && f != null, G = Io(f);
46312
+ ), I = V(() => `ag-group-checkbox ${F.toString()}`, [F]), N = d?.componentFromFramework, $ = N ? d.componentClass : void 0, O = d == null && f != null, G = Io(f);
46313
46313
  return /* @__PURE__ */ X.createElement(
46314
46314
  "span",
46315
46315
  {
@@ -46319,8 +46319,8 @@ var ob = uh((e, t) => {
46319
46319
  },
46320
46320
  /* @__PURE__ */ X.createElement("span", { className: T, ref: a }),
46321
46321
  /* @__PURE__ */ X.createElement("span", { className: P, ref: l }),
46322
- /* @__PURE__ */ X.createElement("span", { className: M, ref: r }),
46323
- /* @__PURE__ */ X.createElement("span", { className: "ag-group-value", ref: o }, O ? G : N ? /* @__PURE__ */ X.createElement(K, { ...d.params }) : null),
46322
+ /* @__PURE__ */ X.createElement("span", { className: I, ref: r }),
46323
+ /* @__PURE__ */ X.createElement("span", { className: "ag-group-value", ref: o }, O ? G : N ? /* @__PURE__ */ X.createElement($, { ...d.params }) : null),
46324
46324
  /* @__PURE__ */ X.createElement("span", { className: "ag-group-child-count" }, h)
46325
46325
  );
46326
46326
  }), Am = ob, Jp = Vr({
@@ -46328,7 +46328,7 @@ var ob = uh((e, t) => {
46328
46328
  }
46329
46329
  }), SO = (e) => {
46330
46330
  const { initialProps: t, addUpdateCallback: i, CustomComponentClass: s, setMethods: n } = e, [{ key: o, ...r }, a] = k(t);
46331
- return xe(() => {
46331
+ return be(() => {
46332
46332
  i((l) => a(l));
46333
46333
  }, []), /* @__PURE__ */ X.createElement(Jp.Provider, { value: { setMethods: n } }, /* @__PURE__ */ X.createElement(s, { key: o, ...r }));
46334
46334
  }, RO = At(SO), FO = 0;
@@ -46721,7 +46721,7 @@ var kO = class {
46721
46721
  }
46722
46722
  };
46723
46723
  function eg() {
46724
- q(231);
46724
+ K(231);
46725
46725
  }
46726
46726
  var BO = 1e3, VO = class {
46727
46727
  constructor(e, t, i) {
@@ -46798,7 +46798,7 @@ var BO = 1e3, VO = class {
46798
46798
  hi(
46799
46799
  () => Qr(s, i, d.current, u),
46800
46800
  [s]
46801
- ), xe(() => {
46801
+ ), be(() => {
46802
46802
  e.setDragSource(l.current);
46803
46803
  }, [s]);
46804
46804
  const f = V(() => !!(s?.componentFromFramework && Lo(s.componentClass)), [s]), m = s?.componentFromFramework, v = s?.componentClass;
@@ -46834,7 +46834,7 @@ var BO = 1e3, VO = class {
46834
46834
  v.current = t.createBean(new Ao()), F.current = new Be((W) => {
46835
46835
  y.current = W;
46836
46836
  });
46837
- const I = {
46837
+ const M = {
46838
46838
  toggleCss: (W, Z) => r((ae) => ae.setClass(W, Z)),
46839
46839
  setUserStyles: (W) => n(W),
46840
46840
  addOrRemoveBodyCssClass: (W, Z) => l((ae) => ae.setClass(W, Z)),
@@ -46848,18 +46848,18 @@ var BO = 1e3, VO = class {
46848
46848
  getFloatingFilterComp: () => F.current ? F.current : null,
46849
46849
  setMenuIcon: (W) => x.current?.appendChild(W)
46850
46850
  };
46851
- e.setComp(I, A, x.current, w.current, v.current);
46851
+ e.setComp(M, A, x.current, w.current, v.current);
46852
46852
  }, []);
46853
46853
  hi(
46854
46854
  () => Qr(p, t, w.current, S),
46855
46855
  [p]
46856
46856
  );
46857
- const E = V(() => o.toString(), [o]), T = V(() => a.toString(), [a]), P = V(() => c.toString(), [c]), M = V(() => !!(p && p.componentFromFramework && Lo(p.componentClass)), [p]), N = V(() => i.get("reactiveCustomComponents"), []), K = V(() => i.get("enableFilterHandlers"), []), [O, G] = k();
46858
- xe(() => {
46857
+ const E = V(() => o.toString(), [o]), T = V(() => a.toString(), [a]), P = V(() => c.toString(), [c]), I = V(() => !!(p && p.componentFromFramework && Lo(p.componentClass)), [p]), N = V(() => i.get("reactiveCustomComponents"), []), $ = V(() => i.get("enableFilterHandlers"), []), [O, G] = k();
46858
+ be(() => {
46859
46859
  if (p?.componentFromFramework)
46860
46860
  if (N) {
46861
- const A = K ? UO : kO, I = new A(p.params, () => m((W) => W + 1));
46862
- S(I), G(I);
46861
+ const A = $ ? UO : kO, M = new A(p.params, () => m((W) => W + 1));
46862
+ S(M), G(M);
46863
46863
  } else
46864
46864
  eg();
46865
46865
  }, [p]);
@@ -46872,7 +46872,7 @@ var BO = 1e3, VO = class {
46872
46872
  }
46873
46873
  },
46874
46874
  /* @__PURE__ */ X.createElement(re, { ...B })
46875
- ) : /* @__PURE__ */ X.createElement(re, { ...p.params, ref: M ? () => {
46875
+ ) : /* @__PURE__ */ X.createElement(re, { ...p.params, ref: I ? () => {
46876
46876
  } : S }) : null), /* @__PURE__ */ X.createElement(
46877
46877
  "div",
46878
46878
  {
@@ -46902,26 +46902,26 @@ var BO = 1e3, VO = class {
46902
46902
  setWidth: (P) => {
46903
46903
  m.current && (m.current.style.width = P);
46904
46904
  },
46905
- toggleCss: (P, M) => o((N) => N.setClass(P, M)),
46905
+ toggleCss: (P, I) => o((N) => N.setClass(P, I)),
46906
46906
  setUserStyles: (P) => s(P),
46907
46907
  setHeaderWrapperHidden: (P) => {
46908
- const M = C.current;
46909
- M && (P ? M.style.setProperty("display", "none") : M.style.removeProperty("display"));
46908
+ const I = C.current;
46909
+ I && (P ? I.style.setProperty("display", "none") : I.style.removeProperty("display"));
46910
46910
  },
46911
46911
  setHeaderWrapperMaxHeight: (P) => {
46912
- const M = C.current;
46913
- M && (P != null ? M.style.setProperty("max-height", `${P}px`) : M.style.removeProperty("max-height"), M.classList.toggle("ag-header-cell-comp-wrapper-limited-height", P != null));
46912
+ const I = C.current;
46913
+ I && (P != null ? I.style.setProperty("max-height", `${P}px`) : I.style.removeProperty("max-height"), I.classList.toggle("ag-header-cell-comp-wrapper-limited-height", P != null));
46914
46914
  },
46915
46915
  setUserCompDetails: (P) => p(P),
46916
46916
  setResizableDisplayed: (P) => {
46917
- a((M) => M.setClass("ag-hidden", !P)), c(P ? "false" : "true");
46917
+ a((I) => I.setClass("ag-hidden", !P)), c(P ? "false" : "true");
46918
46918
  },
46919
46919
  setAriaExpanded: (P) => u(P),
46920
46920
  getUserCompInstance: () => w.current || void 0
46921
46921
  };
46922
46922
  e.setComp(T, E, v.current, C.current, f.current);
46923
46923
  }, []);
46924
- hi(() => Qr(h, t, C.current), [h]), xe(() => {
46924
+ hi(() => Qr(h, t, C.current), [h]), be(() => {
46925
46925
  m.current && e.setDragSource(m.current);
46926
46926
  }, [h]);
46927
46927
  const x = V(() => !!(h?.componentFromFramework && Lo(h.componentClass)), [h]), y = V(() => "ag-header-group-cell " + n.toString(), [n]), F = V(
@@ -47025,7 +47025,7 @@ var BO = 1e3, VO = class {
47025
47025
  );
47026
47026
  return /* @__PURE__ */ X.createElement("div", { ref: a, className: l, style: c, role: "presentation" }, /* @__PURE__ */ X.createElement(Ud, { pinned: "left" }), /* @__PURE__ */ X.createElement(Ud, { pinned: null }), /* @__PURE__ */ X.createElement(Ud, { pinned: "right" }));
47027
47027
  }, eN = At(JO), tN = (e, t) => {
47028
- xe(() => {
47028
+ be(() => {
47029
47029
  const i = t.current;
47030
47030
  if (i) {
47031
47031
  const s = i.parentElement;
@@ -47082,7 +47082,7 @@ var BO = 1e3, VO = class {
47082
47082
  }
47083
47083
  }, sN = (e) => {
47084
47084
  const t = H(e), i = H(), s = H(!1), n = H(!1), [, o] = k(0);
47085
- s.current && (n.current = !0), xe(() => (s.current || (i.current = t.current(), s.current = !0), o((r) => r + 1), () => {
47085
+ s.current && (n.current = !0), be(() => (s.current || (i.current = t.current(), s.current = !0), o((r) => r + 1), () => {
47086
47086
  n.current && i.current?.();
47087
47087
  }), []);
47088
47088
  }, nN = (e) => {
@@ -47156,7 +47156,7 @@ var BO = 1e3, VO = class {
47156
47156
  const d = c.getGui();
47157
47157
  d && d.parentElement && d.remove(), a.destroyBean(c), n.current = void 0;
47158
47158
  }, []);
47159
- xe(() => {
47159
+ be(() => {
47160
47160
  const c = e != null && !r, d = e?.compDetails && !e.compDetails.componentFromFramework, u = t && i == null;
47161
47161
  if (!(c && d && !u)) {
47162
47162
  l();
@@ -47177,7 +47177,7 @@ var BO = 1e3, VO = class {
47177
47177
  return;
47178
47178
  (t ? i : o.current).appendChild(v), n.current = m;
47179
47179
  });
47180
- }, [e, t, s, r]), xe(() => l, []);
47180
+ }, [e, t, s, r]), be(() => l, []);
47181
47181
  }, lb = aN, lN = ({
47182
47182
  cellCtrl: e,
47183
47183
  parent: t
@@ -47205,9 +47205,9 @@ var BO = 1e3, VO = class {
47205
47205
  instanceId: r
47206
47206
  } = e, a = H(), [l, c] = k(
47207
47207
  () => e.isCellRenderer() ? void 0 : { compDetails: void 0, value: e.getValueToDisplay(), force: !1 }
47208
- ), [d, u] = k(), [h, p] = k(1), [f, m] = k(), [v, C] = k(!1), [w, b] = k(!1), [x, y] = k(!1), F = H(null), [S, R] = k(), E = V(() => e.isForceWrapper(), [e]), T = V(() => e.getCellAriaRole(), [e]), P = H(null), M = H(null), N = H(null), K = H(), O = H(), G = H(), B = H([]), _ = H(), re = H(), [A, I] = k(0), W = D((ue) => {
47209
- re.current = ue, I((Ie) => Ie + 1);
47210
- }, []), Z = l != null && (v || x || w) && (d == null || !!d.popup), ae = E || Z, be = V(() => e.getCellValueClass(), [e]), Q = D(
47208
+ ), [d, u] = k(), [h, p] = k(1), [f, m] = k(), [v, C] = k(!1), [w, b] = k(!1), [x, y] = k(!1), F = H(null), [S, R] = k(), E = V(() => e.isForceWrapper(), [e]), T = V(() => e.getCellAriaRole(), [e]), P = H(null), I = H(null), N = H(null), $ = H(), O = H(), G = H(), B = H([]), _ = H(), re = H(), [A, M] = k(0), W = D((ue) => {
47209
+ re.current = ue, M((Ie) => Ie + 1);
47210
+ }, []), Z = l != null && (v || x || w) && (d == null || !!d.popup), ae = E || Z, xe = V(() => e.getCellValueClass(), [e]), Q = D(
47211
47211
  (ue) => {
47212
47212
  if (O.current = ue, ue) {
47213
47213
  const Ie = ue.isCancelBeforeStart && ue.isCancelBeforeStart();
@@ -47225,7 +47225,7 @@ var BO = 1e3, VO = class {
47225
47225
  ae,
47226
47226
  re.current,
47227
47227
  A,
47228
- K,
47228
+ $,
47229
47229
  P,
47230
47230
  Se
47231
47231
  );
@@ -47273,8 +47273,8 @@ var BO = 1e3, VO = class {
47273
47273
  v && Me(e.createSelectionCheckbox()), x && Me(e.createDndSource()), w && (Ie = e.createRowDragComp(), _.current = Ie, Ie && (Me(Ie), Ie.refreshVisibility()));
47274
47274
  },
47275
47275
  [e, n, x, w, v]
47276
- ), $ = D(() => {
47277
- const ue = !e.isCellSpanning() || M.current, Ie = P.current;
47276
+ ), q = D(() => {
47277
+ const ue = !e.isCellSpanning() || I.current, Ie = P.current;
47278
47278
  if (!Ie || !ue || !e || !e.isAlive() || n.isDestroyed()) {
47279
47279
  a.current = n.destroyBean(a.current);
47280
47280
  return;
@@ -47291,7 +47291,7 @@ var BO = 1e3, VO = class {
47291
47291
  F.current && ns(F.current), F.current = ye, ye && P.current && P.current.appendChild(ye);
47292
47292
  },
47293
47293
  getCellEditor: () => O.current ?? null,
47294
- getCellRenderer: () => N.current ?? K.current,
47294
+ getCellRenderer: () => N.current ?? $.current,
47295
47295
  getParentOfValue: () => re.current ?? G.current ?? P.current,
47296
47296
  setRenderDetails: (ye, Oe, Ve) => {
47297
47297
  const Ot = () => {
@@ -47339,16 +47339,16 @@ var BO = 1e3, VO = class {
47339
47339
  e.setComp(
47340
47340
  Me,
47341
47341
  Ie,
47342
- M.current ?? void 0,
47342
+ I.current ?? void 0,
47343
47343
  ke,
47344
47344
  t,
47345
47345
  i,
47346
47346
  a.current
47347
47347
  );
47348
47348
  }, []), de = D((ue) => {
47349
- P.current = ue, $();
47349
+ P.current = ue, q();
47350
47350
  }, []), j = D((ue) => {
47351
- M.current = ue, $();
47351
+ I.current = ue, q();
47352
47352
  }, []), ge = V(() => !!(l?.compDetails?.componentFromFramework && Lo(l.compDetails.componentClass)), [l]);
47353
47353
  hi(() => {
47354
47354
  if (!P.current)
@@ -47365,7 +47365,7 @@ var BO = 1e3, VO = class {
47365
47365
  return /* @__PURE__ */ X.createElement(f0, { fallback: /* @__PURE__ */ X.createElement(lN, { cellCtrl: e, parent: P }) }, ge ? /* @__PURE__ */ X.createElement(Me, { ...ue.params, key: h }) : /* @__PURE__ */ X.createElement(Me, { ...ue.params, key: h, ref: N }));
47366
47366
  }
47367
47367
  }, Ae = () => {
47368
- const ue = () => l == null ? null : ae ? /* @__PURE__ */ X.createElement("span", { role: "presentation", id: `cell-${r}`, className: be, ref: W }, me()) : me(), Ie = (Me) => rN(Me, Q, P.current, e, S);
47368
+ const ue = () => l == null ? null : ae ? /* @__PURE__ */ X.createElement("span", { role: "presentation", id: `cell-${r}`, className: xe, ref: W }, me()) : me(), Ie = (Me) => rN(Me, Q, P.current, e, S);
47369
47369
  return d != null ? d.popup ? /* @__PURE__ */ X.createElement(X.Fragment, null, ue(), Ie(d)) : Ie(d) : ue();
47370
47370
  }, Pe = () => /* @__PURE__ */ X.createElement("div", { ref: de, style: f, role: T, "col-id": o }, ae ? /* @__PURE__ */ X.createElement("div", { className: "ag-cell-wrapper", role: "presentation", ref: oe }, Ae()) : Ae());
47371
47371
  return e.isCellSpanning() ? /* @__PURE__ */ X.createElement("div", { ref: j, className: "ag-spanned-cell-wrapper", role: "presentation" }, Pe()) : Pe();
@@ -47376,12 +47376,12 @@ var BO = 1e3, VO = class {
47376
47376
  () => c ? e.getInitialRowTop(t) : void 0
47377
47377
  ), [E, T] = k(
47378
47378
  () => c ? e.getInitialTransform(t) : void 0
47379
- ), P = H(null), M = H(), N = H(), K = H(!1), [O, G] = k(0);
47380
- xe(() => {
47381
- if (K.current || !y || O > 10)
47379
+ ), P = H(null), I = H(), N = H(), $ = H(!1), [O, G] = k(0);
47380
+ be(() => {
47381
+ if ($.current || !y || O > 10)
47382
47382
  return;
47383
47383
  const oe = P.current?.firstChild;
47384
- oe ? (e.setupDetailRowAutoHeight(oe), K.current = !0) : G(($) => $ + 1);
47384
+ oe ? (e.setupDetailRowAutoHeight(oe), $.current = !0) : G((q) => q + 1);
47385
47385
  }, [y, O]);
47386
47386
  const B = H();
47387
47387
  B.current || (B.current = new _r(() => P.current));
@@ -47393,14 +47393,14 @@ var BO = 1e3, VO = class {
47393
47393
  re,
47394
47394
  () => w.current,
47395
47395
  []
47396
- ), I = o ? A : b, W = D((oe) => {
47396
+ ), M = o ? A : b, W = D((oe) => {
47397
47397
  if (P.current = oe, r.current = oe ? i.createBean(new Ao()) : i.destroyBean(r.current), !oe) {
47398
47398
  e.unsetComp(t);
47399
47399
  return;
47400
47400
  }
47401
47401
  if (!e.isAlive() || i.isDestroyed())
47402
47402
  return;
47403
- const $ = {
47403
+ const q = {
47404
47404
  // the rowTop is managed by state, instead of direct style manipulation by rowCtrl (like all the other styles)
47405
47405
  // as we need to have an initial value when it's placed into he DOM for the first time, for animation to work.
47406
47406
  setTop: R,
@@ -47422,30 +47422,30 @@ var BO = 1e3, VO = class {
47422
47422
  showFullWidth: (de) => {
47423
47423
  N.current = de.params, F(de);
47424
47424
  },
47425
- getFullWidthCellRenderer: () => M.current,
47425
+ getFullWidthCellRenderer: () => I.current,
47426
47426
  getFullWidthCellRendererParams: () => N.current,
47427
47427
  refreshFullWidth: (de) => {
47428
47428
  const j = de();
47429
47429
  return N.current = j, U.current ? (F((ge) => ({
47430
47430
  ...ge,
47431
47431
  params: j
47432
- })), !0) : !M.current || !M.current.refresh ? !1 : M.current.refresh(j);
47432
+ })), !0) : !I.current || !I.current.refresh ? !1 : I.current.refresh(j);
47433
47433
  }
47434
47434
  };
47435
- e.setComp($, oe, t, r.current);
47435
+ e.setComp(q, oe, t, r.current);
47436
47436
  }, []);
47437
47437
  hi(
47438
- () => Qr(y, i, P.current, M),
47438
+ () => Qr(y, i, P.current, I),
47439
47439
  [y]
47440
47440
  );
47441
47441
  const Z = V(() => {
47442
47442
  const oe = { top: S, transform: E };
47443
47443
  return Object.assign(oe, v), oe;
47444
- }, [S, E, v]), ae = l && y?.componentFromFramework, be = !l && I != null, Q = V(() => !!(y?.componentFromFramework && Lo(y.componentClass)), [y]), U = H(!1);
47445
- xe(() => {
47444
+ }, [S, E, v]), ae = l && y?.componentFromFramework, xe = !l && M != null, Q = V(() => !!(y?.componentFromFramework && Lo(y.componentClass)), [y]), U = H(!1);
47445
+ be(() => {
47446
47446
  U.current = Q && !!y && !!s.get("reactiveCustomComponents");
47447
47447
  }, [Q, y]);
47448
- const Se = () => I?.map((oe) => /* @__PURE__ */ X.createElement(
47448
+ const Se = () => M?.map((oe) => /* @__PURE__ */ X.createElement(
47449
47449
  dN,
47450
47450
  {
47451
47451
  cellCtrl: oe,
@@ -47455,7 +47455,7 @@ var BO = 1e3, VO = class {
47455
47455
  }
47456
47456
  )), ie = () => {
47457
47457
  const oe = y.componentClass;
47458
- return Q ? /* @__PURE__ */ X.createElement(oe, { ...y.params }) : /* @__PURE__ */ X.createElement(oe, { ...y.params, ref: M });
47458
+ return Q ? /* @__PURE__ */ X.createElement(oe, { ...y.params }) : /* @__PURE__ */ X.createElement(oe, { ...y.params, ref: I });
47459
47459
  };
47460
47460
  return /* @__PURE__ */ X.createElement(
47461
47461
  "div",
@@ -47467,7 +47467,7 @@ var BO = 1e3, VO = class {
47467
47467
  "row-id": h,
47468
47468
  "row-business-key": f
47469
47469
  },
47470
- be ? Se() : ae ? ie() : null
47470
+ xe ? Se() : ae ? ie() : null
47471
47471
  );
47472
47472
  }, Hm = At(uN), hN = ({ name: e }) => {
47473
47473
  const { context: t, gos: i } = at(Lt), s = V(() => Kr(e), [e]), n = H(null), o = H(null), r = H(null), a = H([]), l = H([]), [c, d] = k(() => []), u = !!i.get("enableCellSpan") && !!s.getSpannedRowCtrls, h = H([]), p = H([]), [f, m] = k(() => []), v = H(!1), C = H(), w = V(() => ni("ag-viewport", uw(e)), [e]), b = V(() => ni(hw(e)), [e]), x = V(() => ni("ag-spanning-container", UE(e)), [e]), y = s.type === "center" || u, F = y ? n : o;
@@ -47533,7 +47533,7 @@ var BO = 1e3, VO = class {
47533
47533
  r.current = O, E();
47534
47534
  },
47535
47535
  [E]
47536
- ), M = D(
47536
+ ), I = D(
47537
47537
  (O) => {
47538
47538
  n.current = O, E();
47539
47539
  },
@@ -47549,16 +47549,16 @@ var BO = 1e3, VO = class {
47549
47549
  );
47550
47550
  if (!y)
47551
47551
  return N();
47552
- const K = () => /* @__PURE__ */ X.createElement("div", { className: x, ref: P, role: "presentation" }, f.map((O) => /* @__PURE__ */ X.createElement(Hm, { rowCtrl: O, containerType: s.type, key: O.instanceId })));
47553
- return /* @__PURE__ */ X.createElement("div", { className: w, ref: M, role: "rowgroup" }, N(), u ? K() : null);
47552
+ const $ = () => /* @__PURE__ */ X.createElement("div", { className: x, ref: P, role: "presentation" }, f.map((O) => /* @__PURE__ */ X.createElement(Hm, { rowCtrl: O, containerType: s.type, key: O.instanceId })));
47553
+ return /* @__PURE__ */ X.createElement("div", { className: w, ref: I, role: "rowgroup" }, N(), u ? $() : null);
47554
47554
  }, pN = At(hN), gN = () => {
47555
- const e = at(Lt), { context: t, overlays: i } = e, [s, n] = k(""), [o, r] = k(0), [a, l] = k(0), [c, d] = k("0px"), [u, h] = k("0px"), [p, f] = k("100%"), [m, v] = k("0px"), [C, w] = k("0px"), [b, x] = k("100%"), [y, F] = k(!0), [S, R] = k(!0), [E, T] = k(null), [P, M] = k(""), [N, K] = k(null), [O, G] = k("ag-layout-normal"), B = H();
47555
+ const e = at(Lt), { context: t, overlays: i } = e, [s, n] = k(""), [o, r] = k(0), [a, l] = k(0), [c, d] = k("0px"), [u, h] = k("0px"), [p, f] = k("100%"), [m, v] = k("0px"), [C, w] = k("0px"), [b, x] = k("100%"), [y, F] = k(!0), [S, R] = k(!0), [E, T] = k(null), [P, I] = k(""), [N, $] = k(null), [O, G] = k("ag-layout-normal"), B = H();
47556
47556
  B.current || (B.current = new _r(() => _.current));
47557
- const _ = H(null), re = H(null), A = H(null), I = H(null), W = H(null), Z = H(null), ae = H(null), be = H([]), Q = H([]);
47557
+ const _ = H(null), re = H(null), A = H(null), M = H(null), W = H(null), Z = H(null), ae = H(null), xe = H([]), Q = H([]);
47558
47558
  Js(" AG Grid Body ", _), Js(" AG Pinned Top ", re), Js(" AG Sticky Top ", A), Js(" AG Middle ", Z), Js(" AG Pinned Bottom ", ae);
47559
47559
  const U = D((ke) => {
47560
47560
  if (_.current = ke, !ke || t.isDestroyed()) {
47561
- be.current = t.destroyBeans(be.current);
47561
+ xe.current = t.destroyBeans(xe.current);
47562
47562
  for (const $e of Q.current)
47563
47563
  $e();
47564
47564
  Q.current = [];
@@ -47568,7 +47568,7 @@ var BO = 1e3, VO = class {
47568
47568
  $e.appendChild(Y), Q.current.push(() => Y.remove());
47569
47569
  }, Oe = ($e) => {
47570
47570
  const Y = t.createBean(new $e());
47571
- return be.current.push(Y), Y;
47571
+ return xe.current.push(Y), Y;
47572
47572
  }, Ve = ($e, Y, je) => {
47573
47573
  ye($e, document.createComment(je)), ye($e, Oe(Y).getGui());
47574
47574
  };
@@ -47593,8 +47593,8 @@ var BO = 1e3, VO = class {
47593
47593
  setColumnMovingCss: ($e, Y) => B.current.toggleCss($e, Y),
47594
47594
  updateLayoutClasses: G,
47595
47595
  setAlwaysVerticalScrollClass: T,
47596
- setPinnedTopBottomOverflowY: M,
47597
- setCellSelectableCss: ($e, Y) => K(Y ? $e : null),
47596
+ setPinnedTopBottomOverflowY: I,
47597
+ setCellSelectableCss: ($e, Y) => $(Y ? $e : null),
47598
47598
  setBodyViewportWidth: ($e) => {
47599
47599
  Z.current && (Z.current.style.width = $e);
47600
47600
  },
@@ -47609,14 +47609,14 @@ var BO = 1e3, VO = class {
47609
47609
  setStickyBottomWidth: x,
47610
47610
  setGridRootRole: ($e) => ke.setAttribute("role", $e)
47611
47611
  }, wt = t.createBean(new o5());
47612
- be.current.push(wt), wt.setComp(
47612
+ xe.current.push(wt), wt.setComp(
47613
47613
  st,
47614
47614
  ke,
47615
47615
  Z.current,
47616
47616
  re.current,
47617
47617
  ae.current,
47618
47618
  A.current,
47619
- I.current
47619
+ M.current
47620
47620
  );
47621
47621
  }, []), Se = V(() => ni("ag-root", "ag-unselectable", O), [O]), ie = V(
47622
47622
  () => ni(
@@ -47627,7 +47627,7 @@ var BO = 1e3, VO = class {
47627
47627
  N
47628
47628
  ),
47629
47629
  [s, O, E, N]
47630
- ), oe = V(() => ni("ag-body", O), [O]), $ = V(
47630
+ ), oe = V(() => ni("ag-body", O), [O]), q = V(
47631
47631
  () => ni("ag-floating-top", y ? "ag-invisible" : null, N),
47632
47632
  [N, y]
47633
47633
  ), de = V(() => ni("ag-sticky-top", N), [N]), j = V(
@@ -47672,7 +47672,7 @@ var BO = 1e3, VO = class {
47672
47672
  }) => /* @__PURE__ */ X.createElement("div", { ref: ke, className: Oe, role: "presentation", style: Ve }, ye.map(Ie));
47673
47673
  return /* @__PURE__ */ X.createElement("div", { ref: U, className: Se }, /* @__PURE__ */ X.createElement(eN, null), Me({
47674
47674
  section: re,
47675
- className: $,
47675
+ className: q,
47676
47676
  style: me,
47677
47677
  children: ["topLeft", "topCenter", "topRight", "topFullWidth"]
47678
47678
  }), /* @__PURE__ */ X.createElement("div", { className: oe, ref: W, role: "presentation" }, Me({
@@ -47685,7 +47685,7 @@ var BO = 1e3, VO = class {
47685
47685
  style: Ae,
47686
47686
  children: ["stickyTopLeft", "stickyTopCenter", "stickyTopRight", "stickyTopFullWidth"]
47687
47687
  }), Me({
47688
- section: I,
47688
+ section: M,
47689
47689
  className: j,
47690
47690
  style: Pe,
47691
47691
  children: ["stickyBottomLeft", "stickyBottomCenter", "stickyBottomRight", "stickyBottomFullWidth"]
@@ -47756,12 +47756,12 @@ var BO = 1e3, VO = class {
47756
47756
  }), b = H(), x = H([]), y = D(() => {
47757
47757
  }, []);
47758
47758
  Js(" AG Grid ", f);
47759
- const F = D((M) => {
47760
- if (f.current = M, p.current = M ? e.createBean(new d5()) : e.destroyBean(p.current), !M || e.isDestroyed())
47759
+ const F = D((I) => {
47760
+ if (f.current = I, p.current = I ? e.createBean(new d5()) : e.destroyBean(p.current), !I || e.isDestroyed())
47761
47761
  return;
47762
47762
  const N = p.current;
47763
47763
  w.current = N.focusInnerElement.bind(N);
47764
- const K = {
47764
+ const $ = {
47765
47765
  destroyGridUi: () => {
47766
47766
  },
47767
47767
  // do nothing, as framework users destroy grid by removing the comp
@@ -47795,13 +47795,13 @@ var BO = 1e3, VO = class {
47795
47795
  setCursor: r,
47796
47796
  setUserSelect: l
47797
47797
  };
47798
- N.setComp(K, M, M), d(!0);
47798
+ N.setComp($, I, I), d(!0);
47799
47799
  }, []);
47800
- xe(() => {
47801
- const M = p.current, N = f.current;
47802
- if (!u || !M || !v || !N || e.isDestroyed())
47800
+ be(() => {
47801
+ const I = p.current, N = f.current;
47802
+ if (!u || !I || !v || !N || e.isDestroyed())
47803
47803
  return;
47804
- const K = [];
47804
+ const $ = [];
47805
47805
  x.current = [], b.current = void 0;
47806
47806
  const {
47807
47807
  watermarkSelector: O,
@@ -47809,31 +47809,31 @@ var BO = 1e3, VO = class {
47809
47809
  sideBarSelector: B,
47810
47810
  statusBarSelector: _,
47811
47811
  gridHeaderDropZonesSelector: re
47812
- } = M.getOptionalSelectors(), A = [];
47812
+ } = I.getOptionalSelectors(), A = [];
47813
47813
  if (re) {
47814
47814
  const W = e.createBean(
47815
47815
  new re.component()
47816
47816
  ), Z = W.getGui();
47817
- N.insertAdjacentElement("afterbegin", Z), A.push(Z), K.push(W), x.current.push(...W.getFocusableContainers?.() ?? []);
47817
+ N.insertAdjacentElement("afterbegin", Z), A.push(Z), $.push(W), x.current.push(...W.getFocusableContainers?.() ?? []);
47818
47818
  }
47819
47819
  if (B) {
47820
47820
  const W = e.createBean(new B.component()), Z = W.getGui(), ae = v.querySelector(".ag-tab-guard-bottom");
47821
- ae && (ae.insertAdjacentElement("beforebegin", Z), A.push(Z)), K.push(W), x.current.push(W);
47821
+ ae && (ae.insertAdjacentElement("beforebegin", Z), A.push(Z)), $.push(W), x.current.push(W);
47822
47822
  }
47823
- const I = (W) => {
47823
+ const M = (W) => {
47824
47824
  const Z = e.createBean(new W()), ae = Z.getGui();
47825
- return N.insertAdjacentElement("beforeend", ae), A.push(ae), K.push(Z), Z;
47825
+ return N.insertAdjacentElement("beforeend", ae), A.push(ae), $.push(Z), Z;
47826
47826
  };
47827
47827
  if (_) {
47828
- const W = I(_.component);
47828
+ const W = M(_.component);
47829
47829
  x.current.push(W);
47830
47830
  }
47831
47831
  if (G) {
47832
- const W = I(G.component);
47832
+ const W = M(G.component);
47833
47833
  b.current = W, x.current.push(W);
47834
47834
  }
47835
- return O && I(O.component), () => {
47836
- e.destroyBeans(K), x.current = [], b.current = void 0;
47835
+ return O && M(O.component), () => {
47836
+ e.destroyBeans($), x.current = [], b.current = void 0;
47837
47837
  for (const W of A)
47838
47838
  W.remove();
47839
47839
  };
@@ -47851,8 +47851,8 @@ var BO = 1e3, VO = class {
47851
47851
  cursor: o ?? ""
47852
47852
  }),
47853
47853
  [a, o]
47854
- ), T = D((M) => {
47855
- m.current = M, h(M !== null);
47854
+ ), T = D((I) => {
47855
+ m.current = I, h(I !== null);
47856
47856
  }, []), P = D(() => !p.current?.isFocusable(), []);
47857
47857
  return /* @__PURE__ */ X.createElement("div", { ref: F, className: S, style: E, role: "presentation" }, /* @__PURE__ */ X.createElement("div", { className: R, ref: C, role: "presentation" }, c && v && !e.isDestroyed() && /* @__PURE__ */ X.createElement(Lt.Provider, { value: e.getBeans() }, /* @__PURE__ */ X.createElement(
47858
47858
  CN,
@@ -47897,7 +47897,7 @@ var BO = 1e3, VO = class {
47897
47897
  areCellsRendered() {
47898
47898
  return this.beans.rowRenderer.getAllRowCtrls().every((e) => e.isRowRendered() && e.getAllCellCtrls().every((t) => !!t.eGui));
47899
47899
  }
47900
- }, yN = typeof window > "u" ? xe : hi, cb = {
47900
+ }, yN = typeof window > "u" ? be : hi, cb = {
47901
47901
  setGridApi: void 0,
47902
47902
  maxComponentCreationTimeMs: void 0,
47903
47903
  children: void 0
@@ -47959,7 +47959,7 @@ var BO = 1e3, VO = class {
47959
47959
  modules: F,
47960
47960
  frameworkOverrides: E,
47961
47961
  setThemeOnGridDiv: !0
47962
- }, M = (O) => {
47962
+ }, I = (O) => {
47963
47963
  p(O), O.createBean(T), r.current.push(() => {
47964
47964
  O.destroy();
47965
47965
  }), O.getBean("ctrlsSvc").whenReady(
@@ -47988,11 +47988,11 @@ var BO = 1e3, VO = class {
47988
47988
  a.current.length = 0, u.current = !0;
47989
47989
  }
47990
47990
  );
47991
- }, K = new r8();
47992
- S.gridId ?? (S.gridId = d.current), s.current = K.create(
47991
+ }, $ = new r8();
47992
+ S.gridId ?? (S.gridId = d.current), s.current = $.create(
47993
47993
  y,
47994
47994
  S,
47995
- M,
47995
+ I,
47996
47996
  N,
47997
47997
  P
47998
47998
  ), r.current.push(() => {
@@ -48004,7 +48004,7 @@ var BO = 1e3, VO = class {
48004
48004
  }), [e.containerStyle]), b = D((y) => {
48005
48005
  u.current && !c.current?.shouldQueueUpdates() ? y() : a.current.push(y);
48006
48006
  }, []);
48007
- xe(() => {
48007
+ be(() => {
48008
48008
  const y = FN(l.current, e);
48009
48009
  l.current = e, b(() => {
48010
48010
  s.current && b3(y, s.current);
@@ -48021,7 +48021,7 @@ function FN(e, t) {
48021
48021
  const i = {};
48022
48022
  for (const s of Object.keys(t)) {
48023
48023
  if (db.has(s)) {
48024
- RN.has(s) && q(274, { prop: s });
48024
+ RN.has(s) && K(274, { prop: s });
48025
48025
  continue;
48026
48026
  }
48027
48027
  const n = t[s];
@@ -48092,15 +48092,15 @@ var EN = class extends vO {
48092
48092
  refresh() {
48093
48093
  return m.current?.refresh() ?? !1;
48094
48094
  }
48095
- })), e.template && q(230);
48095
+ })), e.template && K(230);
48096
48096
  const y = D((S) => {
48097
48097
  if (v.current = S, !S || n.isDestroyed()) {
48098
48098
  m.current = n.destroyBean(m.current), C.current?.();
48099
48099
  return;
48100
48100
  }
48101
48101
  const R = {
48102
- toggleCss: (T, P) => l((M) => M.setClass(T, P)),
48103
- toggleDetailGridCss: (T, P) => d((M) => M.setClass(T, P)),
48102
+ toggleCss: (T, P) => l((I) => I.setClass(T, P)),
48103
+ toggleDetailGridCss: (T, P) => d((I) => I.setClass(T, P)),
48104
48104
  setDetailGrid: (T) => h(T),
48105
48105
  setRowData: (T) => f(T),
48106
48106
  getGui: () => v.current
@@ -48232,7 +48232,7 @@ const MN = ve(
48232
48232
  y || x(U), l?.(U);
48233
48233
  },
48234
48234
  [y, l]
48235
- ), E = Wr(), T = n === void 0, P = (U) => "clientWidth" in U ? U.clientWidth : U.getBoundingClientRect?.()?.width ?? 0, { refs: M, floatingStyles: N, context: K } = xh({
48235
+ ), E = Wr(), T = n === void 0, P = (U) => "clientWidth" in U ? U.clientWidth : U.getBoundingClientRect?.()?.width ?? 0, { refs: I, floatingStyles: N, context: $ } = xh({
48236
48236
  placement: n,
48237
48237
  open: F,
48238
48238
  onOpenChange: R,
@@ -48249,27 +48249,27 @@ const MN = ve(
48249
48249
  cx({
48250
48250
  padding: rr,
48251
48251
  apply({ availableWidth: U, availableHeight: Se, elements: ie }) {
48252
- const oe = ie.floating, $ = P(ie.reference);
48252
+ const oe = ie.floating, q = P(ie.reference);
48253
48253
  oe.style.setProperty(
48254
48254
  "--fui-available-height",
48255
48255
  `${Math.floor(Se)}px`
48256
48256
  ), oe.style.setProperty(
48257
48257
  "--reference-width",
48258
- C ? `${Math.round($)}px` : "0px"
48259
- ), C ? oe.style.minWidth = `${Math.round($)}px` : oe.style.removeProperty("min-width"), oe.style.maxWidth = `${Math.floor(U)}px`;
48258
+ C ? `${Math.round(q)}px` : "0px"
48259
+ ), C ? oe.style.minWidth = `${Math.round(q)}px` : oe.style.removeProperty("min-width"), oe.style.maxWidth = `${Math.floor(U)}px`;
48260
48260
  const de = Math.floor(Se);
48261
48261
  oe.style.maxHeight = `${w ? Math.min(de, w) : de}px`;
48262
48262
  }
48263
48263
  })
48264
48264
  ]
48265
- }), O = dx(K, {
48265
+ }), O = dx($, {
48266
48266
  enabled: s.includes(ci.Click) && !o
48267
- }), G = pv(K, {
48267
+ }), G = pv($, {
48268
48268
  enabled: s.includes(ci.Hover) && !o,
48269
48269
  move: !1,
48270
48270
  restMs: 40,
48271
48271
  delay: { open: 80, close: 80 }
48272
- }), B = yh(K, {
48272
+ }), B = yh($, {
48273
48273
  bubbles: !0,
48274
48274
  referencePress: !1,
48275
48275
  outsidePress: (U) => {
@@ -48277,14 +48277,14 @@ const MN = ve(
48277
48277
  const Se = U.target;
48278
48278
  return !(p?.current && Se instanceof Node && p.current.contains(Se));
48279
48279
  }
48280
- }), _ = Sh(K, { role: "menu" }), { getReferenceProps: re, getFloatingProps: A } = Rh([
48280
+ }), _ = Sh($, { role: "menu" }), { getReferenceProps: re, getFloatingProps: A } = Rh([
48281
48281
  O,
48282
48282
  G,
48283
48283
  B,
48284
48284
  _
48285
- ]), I = D(
48285
+ ]), M = D(
48286
48286
  (U, Se) => {
48287
- M.setPositionReference({
48287
+ I.setPositionReference({
48288
48288
  getBoundingClientRect: () => ({
48289
48289
  width: 0,
48290
48290
  height: 0,
@@ -48297,25 +48297,25 @@ const MN = ve(
48297
48297
  })
48298
48298
  });
48299
48299
  },
48300
- [M]
48300
+ [I]
48301
48301
  ), W = D(
48302
48302
  (U) => {
48303
- !s.includes(ci.ContextMenu) || o || (U.preventDefault(), v && (I(U.clientX, U.clientY), S.current = document.elementFromPoint(
48303
+ !s.includes(ci.ContextMenu) || o || (U.preventDefault(), v && (M(U.clientX, U.clientY), S.current = document.elementFromPoint(
48304
48304
  U.clientX,
48305
48305
  U.clientY
48306
48306
  )), R(!0));
48307
48307
  },
48308
- [v, o, R, I, s]
48308
+ [v, o, R, M, s]
48309
48309
  ), Z = D(
48310
48310
  (U) => {
48311
- !v || o || (s.includes(ci.ContextMenu) && F && R(!1), I(U.clientX, U.clientY), S.current = document.elementFromPoint(
48311
+ !v || o || (s.includes(ci.ContextMenu) && F && R(!1), M(U.clientX, U.clientY), S.current = document.elementFromPoint(
48312
48312
  U.clientX,
48313
48313
  U.clientY
48314
48314
  ));
48315
48315
  },
48316
- [v, o, I, F, s, R]
48316
+ [v, o, M, F, s, R]
48317
48317
  );
48318
- xe(() => {
48318
+ be(() => {
48319
48319
  o && F && R(!1);
48320
48320
  }, [o, F, R]);
48321
48321
  const ae = D(
@@ -48323,7 +48323,7 @@ const MN = ve(
48323
48323
  U.disabled || (U.onClick?.({ key: U.key, domEvent: Se }), t?.onClick?.({ key: U.key, domEvent: Se }), R(!1));
48324
48324
  },
48325
48325
  [t, R]
48326
- ), be = V(() => i ? i() : t ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
48326
+ ), xe = V(() => i ? i() : t ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
48327
48327
  t.header && /* @__PURE__ */ g.jsx(g.Fragment, { children: typeof t.header == "function" ? t.header() : t.header }),
48328
48328
  /* @__PURE__ */ g.jsx("div", { role: "none", className: "py-1", "aria-label": "dropdown", children: t.items.map((U) => U.type === Hr.Divider ? /* @__PURE__ */ g.jsx(
48329
48329
  "div",
@@ -48388,9 +48388,9 @@ const MN = ve(
48388
48388
  onContextMenu: W,
48389
48389
  onMouseDown: Z
48390
48390
  });
48391
- return xe(() => {
48391
+ return be(() => {
48392
48392
  if (!F) return;
48393
- const U = M.reference.current;
48393
+ const U = I.reference.current;
48394
48394
  let Se = null;
48395
48395
  if (U instanceof Element ? Se = U : S.current instanceof Element && (Se = S.current), !Se) return;
48396
48396
  const ie = new IntersectionObserver(
@@ -48400,11 +48400,11 @@ const MN = ve(
48400
48400
  { root: null, threshold: 0 }
48401
48401
  );
48402
48402
  return ie.observe(Se), () => ie.disconnect();
48403
- }, [F, M.reference, R]), /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
48403
+ }, [F, I.reference, R]), /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
48404
48404
  /* @__PURE__ */ g.jsx(
48405
48405
  "span",
48406
48406
  {
48407
- ref: M.setReference,
48407
+ ref: I.setReference,
48408
48408
  className: ve(
48409
48409
  MN,
48410
48410
  o && "!cursor-not-allowed opacity-75",
@@ -48420,7 +48420,7 @@ const MN = ve(
48420
48420
  F && /* @__PURE__ */ g.jsx(Eh, { children: /* @__PURE__ */ g.jsx(
48421
48421
  gv,
48422
48422
  {
48423
- context: K,
48423
+ context: $,
48424
48424
  modal: !1,
48425
48425
  initialFocus: -1,
48426
48426
  returnFocus: !0,
@@ -48428,7 +48428,7 @@ const MN = ve(
48428
48428
  "div",
48429
48429
  {
48430
48430
  id: E,
48431
- ref: M.setFloating,
48431
+ ref: I.setFloating,
48432
48432
  style: N,
48433
48433
  className: ve(
48434
48434
  kN,
@@ -48446,7 +48446,7 @@ const MN = ve(
48446
48446
  }
48447
48447
  }
48448
48448
  ) }),
48449
- be
48449
+ xe
48450
48450
  ]
48451
48451
  }
48452
48452
  )
@@ -48528,7 +48528,7 @@ const mb = ({
48528
48528
  allowDisabledContextMenu: x = !1,
48529
48529
  selectionMode: y
48530
48530
  }) => {
48531
- const [F, S] = k(qd), [R, E] = k(), T = Wr(), P = H(/* @__PURE__ */ new Set()), M = H(
48531
+ const [F, S] = k(qd), [R, E] = k(), T = Wr(), P = H(/* @__PURE__ */ new Set()), I = H(
48532
48532
  void 0
48533
48533
  ), N = V(
48534
48534
  () => ({
@@ -48537,12 +48537,12 @@ const mb = ({
48537
48537
  wrapperBorder: w
48538
48538
  }),
48539
48539
  [h, w]
48540
- ), K = D(($) => {
48541
- $.api.sizeColumnsToFit(), S(qd);
48540
+ ), $ = D((q) => {
48541
+ q.api.sizeColumnsToFit(), S(qd);
48542
48542
  }, []), O = D(
48543
- ($) => {
48544
- if ($.data) {
48545
- const de = u($.data), j = a?.has(de) ?? !1, ge = j && !x, me = $.value == null ? "" : String($.value), Ae = s?.($.data) ?? [];
48543
+ (q) => {
48544
+ if (q.data) {
48545
+ const de = u(q.data), j = a?.has(de) ?? !1, ge = j && !x, me = q.value == null ? "" : String(q.value), Ae = s?.(q.data) ?? [];
48546
48546
  return /* @__PURE__ */ g.jsx(
48547
48547
  Yt,
48548
48548
  {
@@ -48566,23 +48566,23 @@ const mb = ({
48566
48566
  },
48567
48567
  [s, a, u, x]
48568
48568
  ), G = D(
48569
- ($) => $ === Qs.API || $ === Qs.ROW_DATA_CHANGED,
48569
+ (q) => q === Qs.API || q === Qs.ROW_DATA_CHANGED,
48570
48570
  []
48571
48571
  ), B = D(
48572
- ($) => {
48572
+ (q) => {
48573
48573
  if (!R)
48574
48574
  return;
48575
- const j = ($.selectedNodes || []).map((me) => me.data), ge = new Set(j.map(u));
48576
- P.current = ge, M.current = $.source, G($.source) || c?.(ge, j);
48575
+ const j = (q.selectedNodes || []).map((me) => me.data), ge = new Set(j.map(u));
48576
+ P.current = ge, I.current = q.source, G(q.source) || c?.(ge, j);
48577
48577
  },
48578
48578
  [R, u, G, c]
48579
48579
  ), _ = V(() => WN(
48580
- ($) => B?.($),
48580
+ (q) => B?.(q),
48581
48581
  100
48582
48582
  ), [B]), re = D(
48583
- ($) => {
48584
- if (!$.data) return null;
48585
- const de = u($.data), j = $.node.isSelected(), ge = a?.has(de), me = `row-select-${de}`;
48583
+ (q) => {
48584
+ if (!q.data) return null;
48585
+ const de = u(q.data), j = q.node.isSelected(), ge = a?.has(de), me = `row-select-${de}`;
48586
48586
  return /* @__PURE__ */ g.jsx("div", { className: "size-6 flex items-center justify-center", children: /* @__PURE__ */ g.jsx(
48587
48587
  to,
48588
48588
  {
@@ -48593,20 +48593,20 @@ const mb = ({
48593
48593
  name: "gridradiobutton",
48594
48594
  value: "selected",
48595
48595
  onChange: () => {
48596
- ge || ($.node.setSelected(
48596
+ ge || (q.node.setSelected(
48597
48597
  !0,
48598
48598
  !0,
48599
48599
  Qs.CHECKBOX_SELECTED
48600
- ), $.api.refreshCells({ columns: [$.column?.getColId()] }));
48600
+ ), q.api.refreshCells({ columns: [q.column?.getColId()] }));
48601
48601
  }
48602
48602
  }
48603
48603
  ) });
48604
48604
  },
48605
48605
  [u, a]
48606
48606
  ), A = D(() => {
48607
- const $ = "dial-row-select", de = "dial-row-select-visible";
48608
- return !l || l.size === 0 ? $ : `${$} ${de}`;
48609
- }, [l]), I = D(() => !l || l.size === 0 ? "dial-row-not-select-header" : A(), [A, l]), W = V(() => {
48607
+ const q = "dial-row-select", de = "dial-row-select-visible";
48608
+ return !l || l.size === 0 ? q : `${q} ${de}`;
48609
+ }, [l]), M = D(() => !l || l.size === 0 ? "dial-row-not-select-header" : A(), [A, l]), W = V(() => {
48610
48610
  if (y === gl.SINGLE)
48611
48611
  return {
48612
48612
  ...VN,
@@ -48615,9 +48615,9 @@ const mb = ({
48615
48615
  if (y === gl.MULTIPLE)
48616
48616
  return {
48617
48617
  ...zN,
48618
- headerClass: () => I(),
48619
- cellClass: ($) => {
48620
- const de = $.data ? u($.data) : null;
48618
+ headerClass: () => M(),
48619
+ cellClass: (q) => {
48620
+ const de = q.data ? u(q.data) : null;
48621
48621
  let j = A();
48622
48622
  return de && a?.has(de) && (j += " opacity-50 pointer-events-none"), j;
48623
48623
  }
@@ -48625,19 +48625,19 @@ const mb = ({
48625
48625
  }, [
48626
48626
  y,
48627
48627
  re,
48628
- I,
48628
+ M,
48629
48629
  u,
48630
48630
  A,
48631
48631
  a
48632
48632
  ]), Z = D(
48633
- ($) => {
48634
- const de = typeof r == "function" ? r($) : !!r;
48635
- if (!$.cellRenderer)
48636
- return { ...$, cellRenderer: O };
48633
+ (q) => {
48634
+ const de = typeof r == "function" ? r(q) : !!r;
48635
+ if (!q.cellRenderer)
48636
+ return { ...q, cellRenderer: O };
48637
48637
  if (!de)
48638
- return $;
48639
- const j = $.cellRenderer;
48640
- return { ...$, cellRenderer: (me) => {
48638
+ return q;
48639
+ const j = q.cellRenderer;
48640
+ return { ...q, cellRenderer: (me) => {
48641
48641
  const Ae = me.data ? s?.(me.data) ?? [] : [];
48642
48642
  let Pe = null;
48643
48643
  if (typeof j == "function") {
@@ -48680,7 +48680,7 @@ const mb = ({
48680
48680
  // eslint-disable-next-line react-hooks/exhaustive-deps
48681
48681
  r ? Z : null
48682
48682
  ]
48683
- ), be = V(
48683
+ ), xe = V(
48684
48684
  () => ({
48685
48685
  minWidth: 150,
48686
48686
  resizable: !0,
@@ -48694,16 +48694,16 @@ const mb = ({
48694
48694
  comparator: GN.bind(void 0)
48695
48695
  }),
48696
48696
  [p]
48697
- ), Q = ($) => {
48697
+ ), Q = (q) => {
48698
48698
  const de = document.querySelector(Gm);
48699
48699
  de && de.setAttribute("aria-description", pu);
48700
48700
  const j = ae.map((ge) => ({
48701
48701
  ...ge,
48702
48702
  sort: void 0
48703
48703
  }));
48704
- $.api.updateGridOptions({ columnDefs: j, rowData: t }), $.api.sizeColumnsToFit(), E($.api), i?.onGridReady?.($), d?.($.api);
48704
+ q.api.updateGridOptions({ columnDefs: j, rowData: t }), q.api.sizeColumnsToFit(), E(q.api), i?.onGridReady?.(q), d?.(q.api);
48705
48705
  };
48706
- xe(() => {
48706
+ be(() => {
48707
48707
  R && t && R.setGridOption("rowData", t);
48708
48708
  }, [R, t]);
48709
48709
  const U = D(
@@ -48729,36 +48729,36 @@ const mb = ({
48729
48729
  if (y)
48730
48730
  return {
48731
48731
  mode: y === gl.SINGLE ? "singleRow" : "multiRow",
48732
- isRowSelectable: ($) => {
48733
- const de = $.data ? u($.data) : null;
48732
+ isRowSelectable: (q) => {
48733
+ const de = q.data ? u(q.data) : null;
48734
48734
  return de ? !a?.has(de) : !0;
48735
48735
  }
48736
48736
  };
48737
48737
  }, [a, u, y]);
48738
- xe(() => {
48739
- R && t && P.current.size && P.current.forEach(($) => {
48740
- const de = R.getRowNode($);
48738
+ be(() => {
48739
+ R && t && P.current.size && P.current.forEach((q) => {
48740
+ const de = R.getRowNode(q);
48741
48741
  de && !de.isSelected() && de.setSelected(!0, !1, Qs.API);
48742
48742
  });
48743
- }, [R, t]), xe(() => {
48744
- R && l && (R.deselectAll("all", Qs.API), l.forEach(($) => {
48745
- const de = R.getRowNode($);
48743
+ }, [R, t]), be(() => {
48744
+ R && l && (R.deselectAll("all", Qs.API), l.forEach((q) => {
48745
+ const de = R.getRowNode(q);
48746
48746
  de && !de.isSelected() && de.setSelected(!0, !1, Qs.API);
48747
48747
  }));
48748
48748
  }, [R, l]);
48749
48749
  const ie = D(
48750
- ($) => $.data ? u($.data) : "",
48750
+ (q) => q.data ? u(q.data) : "",
48751
48751
  [u]
48752
48752
  ), oe = D(() => {
48753
- document.querySelectorAll(`.ag-row ${Gm}`).forEach(($) => {
48754
- $.setAttribute("aria-description", pu);
48753
+ document.querySelectorAll(`.ag-row ${Gm}`).forEach((q) => {
48754
+ q.setAttribute("aria-description", pu);
48755
48755
  });
48756
48756
  }, []);
48757
- return xe(() => {
48758
- const $ = G(
48759
- M.current
48757
+ return be(() => {
48758
+ const q = G(
48759
+ I.current
48760
48760
  );
48761
- if (R && l?.size && $) {
48761
+ if (R && l?.size && q) {
48762
48762
  const de = Array.from(l)[0];
48763
48763
  if (de) {
48764
48764
  const j = R.getRowNode(de);
@@ -48793,9 +48793,9 @@ const mb = ({
48793
48793
  theme: g6.withPart(U4).withParams({ ...N }),
48794
48794
  autoSizeStrategy: { type: "fitGridWidth" },
48795
48795
  columnDefs: ae,
48796
- defaultColDef: be,
48796
+ defaultColDef: xe,
48797
48797
  selectionColumnDef: W,
48798
- onGridSizeChanged: K,
48798
+ onGridSizeChanged: $,
48799
48799
  onGridReady: Q,
48800
48800
  loading: C,
48801
48801
  suppressCellFocus: !0,
@@ -48869,7 +48869,7 @@ const Bm = () => typeof window < "u" && window.innerWidth < 640, Yd = () => {
48869
48869
  return e >= 1024 ? Fs.Desktop : e < 640 ? Fs.Mobile : Fs.Tablet;
48870
48870
  }, _N = () => {
48871
48871
  const [e, t] = k(() => typeof window > "u" ? Fs.Desktop : Yd());
48872
- return xe(() => {
48872
+ return be(() => {
48873
48873
  t(Yd());
48874
48874
  const i = () => t(Yd());
48875
48875
  return window.addEventListener("resize", i), () => window.removeEventListener("resize", i);
@@ -48897,14 +48897,14 @@ const Bm = () => typeof window < "u" && window.innerWidth < 640, Yd = () => {
48897
48897
  }, []), R = D(() => {
48898
48898
  const T = x.current, P = b.current;
48899
48899
  if (!T || !P) return;
48900
- const M = T.getBoundingClientRect(), N = P.getBoundingClientRect();
48901
- if (M.width === 0 || N.width === 0) return;
48902
- const K = jN;
48900
+ const I = T.getBoundingClientRect(), N = P.getBoundingClientRect();
48901
+ if (I.width === 0 || N.width === 0) return;
48902
+ const $ = jN;
48903
48903
  let O = P.scrollLeft;
48904
- if (M.left < N.left + K)
48905
- O -= N.left + K - M.left;
48906
- else if (M.right > N.right - K)
48907
- O += M.right - (N.right - K);
48904
+ if (I.left < N.left + $)
48905
+ O -= N.left + $ - I.left;
48906
+ else if (I.right > N.right - $)
48907
+ O += I.right - (N.right - $);
48908
48908
  else
48909
48909
  return;
48910
48910
  const G = Math.max(
@@ -48921,11 +48921,11 @@ const Bm = () => typeof window < "u" && window.innerWidth < 640, Yd = () => {
48921
48921
  },
48922
48922
  [i, t, R]
48923
48923
  );
48924
- return xe(() => {
48924
+ return be(() => {
48925
48925
  S();
48926
48926
  const T = new ResizeObserver(() => S()), P = b.current;
48927
48927
  return P && T.observe(P), () => T.disconnect();
48928
- }, [e, S]), xe(() => {
48928
+ }, [e, S]), be(() => {
48929
48929
  R();
48930
48930
  }, [t, R]), v ? /* @__PURE__ */ g.jsx(
48931
48931
  "div",
@@ -49615,17 +49615,17 @@ const rH = "flex justify-end gap-2 px-6 py-4", aH = "text-secondary dial-small-1
49615
49615
  if (!B) return;
49616
49616
  const _ = B.offsetWidth;
49617
49617
  if (_ === 0) return;
49618
- const re = v.current?.offsetWidth ?? 0, I = _ - (d ? 0 : uH) - Qd;
49618
+ const re = v.current?.offsetWidth ?? 0, M = _ - (d ? 0 : uH) - Qd;
49619
49619
  let W = 0, Z = 0;
49620
49620
  for (let ae = 0; ae < C.length; ae++) {
49621
- const be = m.current[ae];
49622
- if (!be) continue;
49623
- const Q = be.offsetWidth + Qd;
49624
- if (W + Q > I) break;
49621
+ const xe = m.current[ae];
49622
+ if (!xe) continue;
49623
+ const Q = xe.offsetWidth + Qd;
49624
+ if (W + Q > M) break;
49625
49625
  W += Q, Z++;
49626
49626
  }
49627
49627
  if (Z < C.length && Z > 0)
49628
- for (; W + re > I && Z > 0; ) {
49628
+ for (; W + re > M && Z > 0; ) {
49629
49629
  Z--;
49630
49630
  const ae = m.current[Z]?.offsetWidth ?? 0;
49631
49631
  W -= ae + Qd;
@@ -49637,15 +49637,15 @@ const rH = "flex justify-end gap-2 px-6 py-4", aH = "text-secondary dial-small-1
49637
49637
  const re = [_, ...C];
49638
49638
  w(re), p?.(re);
49639
49639
  }
49640
- }, M = (B) => {
49640
+ }, I = (B) => {
49641
49641
  (B.key === "," || B.key === "Enter") && (B.preventDefault(), P(b), x(""));
49642
49642
  }, N = () => {
49643
49643
  b.trim() && (P(b), x(""));
49644
- }, K = (B) => {
49644
+ }, $ = (B) => {
49645
49645
  const _ = C.filter((re, A) => A !== B);
49646
49646
  w(_), p?.(_);
49647
49647
  }, O = () => r ? /* @__PURE__ */ g.jsx(Bi, { text: r }) : o ? /* @__PURE__ */ g.jsx(ic, { text: o }) : null;
49648
- xe(() => {
49648
+ be(() => {
49649
49649
  if (c) return;
49650
49650
  const B = new ResizeObserver(() => {
49651
49651
  if (f.current) {
@@ -49654,7 +49654,7 @@ const rH = "flex justify-end gap-2 px-6 py-4", aH = "text-secondary dial-small-1
49654
49654
  }
49655
49655
  });
49656
49656
  return f.current && B.observe(f.current), () => B.disconnect();
49657
- }, [C, c]), xe(() => {
49657
+ }, [C, c]), be(() => {
49658
49658
  if (!c) {
49659
49659
  R(C.length);
49660
49660
  return;
@@ -49664,7 +49664,7 @@ const rH = "flex justify-end gap-2 px-6 py-4", aH = "text-secondary dial-small-1
49664
49664
  T();
49665
49665
  }), _ = f.current;
49666
49666
  return _ && B.observe(_), T(), () => B.disconnect();
49667
- }, [c, T, C]), xe(() => {
49667
+ }, [c, T, C]), be(() => {
49668
49668
  w(e);
49669
49669
  }, [JSON.stringify(e)]);
49670
49670
  const G = /* @__PURE__ */ g.jsxs(
@@ -49683,7 +49683,7 @@ const rH = "flex justify-end gap-2 px-6 py-4", aH = "text-secondary dial-small-1
49683
49683
  {
49684
49684
  tag: B,
49685
49685
  className: h,
49686
- remove: !l && !d ? () => K(_) : void 0
49686
+ remove: !l && !d ? () => $(_) : void 0
49687
49687
  },
49688
49688
  B + _
49689
49689
  )
@@ -49703,7 +49703,7 @@ const rH = "flex justify-end gap-2 px-6 py-4", aH = "text-secondary dial-small-1
49703
49703
  type: "text",
49704
49704
  value: b,
49705
49705
  onChange: (B) => x(B.target.value),
49706
- onKeyDown: M,
49706
+ onKeyDown: I,
49707
49707
  onBlur: N,
49708
49708
  className: ve(
49709
49709
  "dial-input outline-none !border-none w-full flex-1 !p-1 !h-auto",
@@ -49729,7 +49729,7 @@ const rH = "flex justify-end gap-2 px-6 py-4", aH = "text-secondary dial-small-1
49729
49729
  {
49730
49730
  tag: B,
49731
49731
  className: h,
49732
- remove: !l && !d ? () => K(_) : void 0
49732
+ remove: !l && !d ? () => $(_) : void 0
49733
49733
  }
49734
49734
  )
49735
49735
  },
@@ -50155,28 +50155,33 @@ const rH = "flex justify-end gap-2 px-6 py-4", aH = "text-secondary dial-small-1
50155
50155
  inputButtonProps: m,
50156
50156
  ...v
50157
50157
  }) => {
50158
- const C = H(null), w = Fh([c, C]);
50159
- xe(() => {
50160
- const S = C.current;
50161
- if (!S) return;
50162
- const R = (E) => {
50163
- E.preventDefault();
50158
+ const C = H(null), w = Fh([c, C]), [b, x] = k(!1), y = D(() => {
50159
+ const I = C.current;
50160
+ I && x(I.scrollWidth > I.clientWidth);
50161
+ }, []);
50162
+ be(() => {
50163
+ y();
50164
+ }, [d, y]), be(() => (window.addEventListener("resize", y), () => window.removeEventListener("resize", y)), [y]), be(() => {
50165
+ const I = C.current;
50166
+ if (!I) return;
50167
+ const N = ($) => {
50168
+ $.preventDefault();
50164
50169
  };
50165
- return S.addEventListener("wheel", R, { passive: !1 }), () => {
50166
- S.removeEventListener("wheel", R);
50170
+ return I.addEventListener("wheel", N, { passive: !1 }), () => {
50171
+ I.removeEventListener("wheel", N);
50167
50172
  };
50168
50173
  }, []);
50169
- const b = l === "number" || h !== void 0 || f !== void 0, x = (S) => {
50170
- yb(S, l, h, f);
50171
- }, y = (S) => {
50172
- const R = S.currentTarget.value;
50173
- if (b && R !== "") {
50174
- const E = parseFloat(R);
50175
- if (isNaN(E) && R !== "-" && R !== "." || !isNaN(E) && (h !== void 0 && E < +h || f !== void 0 && E > +f))
50174
+ const F = l === "number" || h !== void 0 || f !== void 0, S = (I) => {
50175
+ yb(I, l, h, f);
50176
+ }, R = (I) => {
50177
+ const N = I.currentTarget.value;
50178
+ if (F && N !== "") {
50179
+ const $ = parseFloat(N);
50180
+ if (isNaN($) && N !== "-" && N !== "." || !isNaN($) && (h !== void 0 && $ < +h || f !== void 0 && $ > +f))
50176
50181
  return;
50177
50182
  }
50178
- p?.(R || void 0);
50179
- }, F = () => /* @__PURE__ */ g.jsxs(
50183
+ p?.(N || void 0);
50184
+ }, E = () => /* @__PURE__ */ g.jsxs(
50180
50185
  "div",
50181
50186
  {
50182
50187
  className: le(
@@ -50212,8 +50217,8 @@ const rH = "flex justify-end gap-2 px-6 py-4", aH = "text-secondary dial-small-1
50212
50217
  t && "cursor-not-allowed",
50213
50218
  s
50214
50219
  ),
50215
- onChange: y,
50216
- onKeyDown: x,
50220
+ onChange: R,
50221
+ onKeyDown: S,
50217
50222
  min: h,
50218
50223
  disabled: t,
50219
50224
  max: f,
@@ -50228,8 +50233,8 @@ const rH = "flex justify-end gap-2 px-6 py-4", aH = "text-secondary dial-small-1
50228
50233
  m && /* @__PURE__ */ g.jsx(bH, { ...m, disabled: t })
50229
50234
  ]
50230
50235
  }
50231
- );
50232
- return t && l !== "password" ? /* @__PURE__ */ g.jsx(Xt, { tooltip: u || d, children: F() }) : F();
50236
+ ), T = t && l !== "password" || b, P = u || d;
50237
+ return T && P ? /* @__PURE__ */ g.jsx(Xt, { tooltip: P, children: E() }) : E();
50233
50238
  }, xH = /^0+\.(\d+)?$/, yH = /^0+/, Wm = ({
50234
50239
  integer: e,
50235
50240
  onChange: t,
@@ -50317,7 +50322,7 @@ const rH = "flex justify-end gap-2 px-6 py-4", aH = "text-secondary dial-small-1
50317
50322
  ...n
50318
50323
  }) => {
50319
50324
  const [o, r] = k(i || "");
50320
- xe(() => {
50325
+ be(() => {
50321
50326
  r(i || "");
50322
50327
  }, [i]);
50323
50328
  const a = D(
@@ -50403,33 +50408,33 @@ const Fo = ({
50403
50408
  onChange: E,
50404
50409
  inlineSearch: T = !1,
50405
50410
  dismissRef: P,
50406
- onFooterClick: M,
50411
+ onFooterClick: I,
50407
50412
  open: N,
50408
- onOpenChange: K,
50413
+ onOpenChange: $,
50409
50414
  onInlineQueryChange: O,
50410
50415
  customMultiSelectTagsRenderer: G
50411
50416
  }) => {
50412
- const B = Wr(), [_, re] = k(!1), A = N !== void 0, I = A ? !!N : _, W = D(
50417
+ const B = Wr(), [_, re] = k(!1), A = N !== void 0, M = A ? !!N : _, W = D(
50413
50418
  (Y) => {
50414
- A || re(Y), K?.(Y);
50419
+ A || re(Y), $?.(Y);
50415
50420
  },
50416
- [A, K]
50421
+ [A, $]
50417
50422
  ), [Z, ae] = k(
50418
50423
  T && l || ""
50419
- ), be = H(null), Q = D(
50424
+ ), xe = H(null), Q = D(
50420
50425
  (Y) => {
50421
50426
  Y !== Z && (ae(Y || ""), O?.(Y || ""));
50422
50427
  },
50423
50428
  [O, Z]
50424
- ), U = s !== void 0, [Se, ie] = k(n), oe = U ? s : Se, $ = V(() => t ? Array.isArray(oe) ? oe : [] : typeof oe == "string" ? [oe] : [], [oe, t]), de = V(() => {
50429
+ ), U = s !== void 0, [Se, ie] = k(n), oe = U ? s : Se, q = V(() => t ? Array.isArray(oe) ? oe : [] : typeof oe == "string" ? [oe] : [], [oe, t]), de = V(() => {
50425
50430
  const Y = Z.trim().toLowerCase();
50426
50431
  return Y ? e.filter((je) => je.label.toLowerCase().includes(Y)) : e;
50427
50432
  }, [e, Z]);
50428
- xe(() => {
50429
- !I && !T && Q("");
50430
- }, [T, I, Q]), xe(() => {
50431
- T && !I && l && Q(l || "");
50432
- }, [l, T, I, Q]);
50433
+ be(() => {
50434
+ !M && !T && Q("");
50435
+ }, [T, M, Q]), be(() => {
50436
+ T && !M && l && Q(l || "");
50437
+ }, [l, T, M, Q]);
50433
50438
  const j = D(
50434
50439
  (Y) => {
50435
50440
  U || ie(Y), E?.(Y);
@@ -50438,7 +50443,7 @@ const Fo = ({
50438
50443
  ), ge = D(
50439
50444
  (Y) => {
50440
50445
  if (t) {
50441
- const je = new Set($);
50446
+ const je = new Set(q);
50442
50447
  je.has(Y) ? je.delete(Y) : je.add(Y), j(Array.from(je));
50443
50448
  return;
50444
50449
  }
@@ -50453,7 +50458,7 @@ const Fo = ({
50453
50458
  j,
50454
50459
  T,
50455
50460
  W,
50456
- $,
50461
+ q,
50457
50462
  e,
50458
50463
  Q,
50459
50464
  O
@@ -50464,50 +50469,50 @@ const Fo = ({
50464
50469
  j("");
50465
50470
  return;
50466
50471
  }
50467
- const vi = $.filter((Bo) => Bo !== je);
50472
+ const vi = q.filter((Bo) => Bo !== je);
50468
50473
  j(vi);
50469
50474
  },
50470
- [t, $, j]
50475
+ [t, q, j]
50471
50476
  ), Ae = V(
50472
50477
  () => de.filter((Y) => !Y.disabled),
50473
50478
  [de]
50474
50479
  ), Pe = V(
50475
- () => Ae.filter((Y) => $.includes(Y.value)).length,
50476
- [Ae, $]
50480
+ () => Ae.filter((Y) => q.includes(Y.value)).length,
50481
+ [Ae, q]
50477
50482
  ), ue = (Y) => {
50478
50483
  T && !t && !Y && ge(Z), W(Y);
50479
50484
  }, Ie = Ae.length > 0 && Pe === Ae.length, Me = Pe > 0 && !Ie, ke = () => {
50480
50485
  if (!(!t || Ae.length === 0))
50481
50486
  if (Ie) {
50482
- const Y = new Set(Ae.map((vi) => vi.value)), je = $.filter((vi) => !Y.has(vi));
50487
+ const Y = new Set(Ae.map((vi) => vi.value)), je = q.filter((vi) => !Y.has(vi));
50483
50488
  j(je);
50484
50489
  } else {
50485
- const Y = new Set($);
50490
+ const Y = new Set(q);
50486
50491
  Ae.forEach((je) => Y.add(je.value)), j(Array.from(Y));
50487
50492
  }
50488
- }, ye = $.length > 0;
50489
- xe(() => {
50490
- I && T && !t && !w && requestAnimationFrame(() => {
50491
- const Y = be.current;
50493
+ }, ye = q.length > 0;
50494
+ be(() => {
50495
+ M && T && !t && !w && requestAnimationFrame(() => {
50496
+ const Y = xe.current;
50492
50497
  if (!Y) return;
50493
50498
  Y.focus();
50494
50499
  const je = Y.value?.length ?? 0;
50495
50500
  Y.setSelectionRange?.(je, je);
50496
50501
  });
50497
- }, [I, T, t, w]);
50498
- const Oe = !t && ye ? $[0] : void 0, Ve = V(
50502
+ }, [M, T, t, w]);
50503
+ const Oe = !t && ye ? q[0] : void 0, Ve = V(
50499
50504
  () => Oe ? e.find((Y) => Y.value === Oe) : void 0,
50500
50505
  [e, Oe]
50501
- ), Ot = D(() => !t || $.length === 0 ? null : /* @__PURE__ */ g.jsx(
50506
+ ), Ot = D(() => !t || q.length === 0 ? null : /* @__PURE__ */ g.jsx(
50502
50507
  Fb,
50503
50508
  {
50504
50509
  options: e,
50505
- selectedValues: $,
50510
+ selectedValues: q,
50506
50511
  handleRemoveTag: me
50507
50512
  }
50508
- ), [t, e, $, me]), st = D(() => t ? ye ? G?.(
50513
+ ), [t, e, q, me]), st = D(() => t ? ye ? G?.(
50509
50514
  e,
50510
- $,
50515
+ q,
50511
50516
  me
50512
50517
  ) || Ot() : /* @__PURE__ */ g.jsx("span", { className: "text-secondary truncate", children: c }) : Ve ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
50513
50518
  Ve.icon && /* @__PURE__ */ g.jsx(Qe, { icon: Ve.icon }),
@@ -50528,7 +50533,7 @@ const Fo = ({
50528
50533
  Ot,
50529
50534
  Ve,
50530
50535
  e,
50531
- $,
50536
+ q,
50532
50537
  me,
50533
50538
  G
50534
50539
  ]);
@@ -50539,15 +50544,15 @@ const Fo = ({
50539
50544
  }));
50540
50545
  const wt = D(() => {
50541
50546
  Q(
50542
- $.length === 1 ? Ve?.label ?? Z : ""
50547
+ q.length === 1 ? Ve?.label ?? Z : ""
50543
50548
  );
50544
- }, [Z, $.length, Q, Ve?.label]), $e = D(() => {
50545
- w || (W(!I), T && !t && (wt(), be.current?.focus()));
50546
- }, [w, T, I, t, wt, W]);
50549
+ }, [Z, q.length, Q, Ve?.label]), $e = D(() => {
50550
+ w || (W(!M), T && !t && (wt(), xe.current?.focus()));
50551
+ }, [w, T, M, t, wt, W]);
50547
50552
  return /* @__PURE__ */ g.jsx(
50548
50553
  Yt,
50549
50554
  {
50550
- open: I,
50555
+ open: M,
50551
50556
  onOpenChange: ue,
50552
50557
  disabled: w,
50553
50558
  closable: y,
@@ -50620,7 +50625,7 @@ const Fo = ({
50620
50625
  description: v
50621
50626
  }
50622
50627
  ) }) : de.map((Y) => {
50623
- const je = $.includes(Y.value);
50628
+ const je = q.includes(Y.value);
50624
50629
  return t ? /* @__PURE__ */ g.jsxs(
50625
50630
  "div",
50626
50631
  {
@@ -50681,7 +50686,7 @@ const Fo = ({
50681
50686
  "div",
50682
50687
  {
50683
50688
  onClick: (Y) => {
50684
- M?.(Y), M && W(!1);
50689
+ I?.(Y), I && W(!1);
50685
50690
  },
50686
50691
  children: typeof S == "function" ? S() : S
50687
50692
  }
@@ -50696,7 +50701,7 @@ const Fo = ({
50696
50701
  tabIndex: 0,
50697
50702
  "aria-roledescription": "button to open select list",
50698
50703
  "aria-haspopup": "listbox",
50699
- "aria-expanded": I,
50704
+ "aria-expanded": M,
50700
50705
  "aria-controls": `list-${i || B}`,
50701
50706
  className: le(
50702
50707
  DH,
@@ -50735,7 +50740,7 @@ const Fo = ({
50735
50740
  Y.stopPropagation();
50736
50741
  },
50737
50742
  className: "bg-transparent outline-none w-full dial-small-text",
50738
- ref: be,
50743
+ ref: xe,
50739
50744
  disabled: w,
50740
50745
  "aria-disabled": w,
50741
50746
  autoComplete: "off"
@@ -50745,7 +50750,7 @@ const Fo = ({
50745
50750
  Qe,
50746
50751
  {
50747
50752
  icon: kH,
50748
- className: ve("text-primary", I && "rotate-180")
50753
+ className: ve("text-primary", M && "rotate-180")
50749
50754
  }
50750
50755
  )
50751
50756
  ]
@@ -51409,7 +51414,7 @@ const $H = function(t, i, s) {
51409
51414
  v,
51410
51415
  w
51411
51416
  ]);
51412
- xe(() => {
51417
+ be(() => {
51413
51418
  S();
51414
51419
  }, [n]);
51415
51420
  const [{ isOver: E, canDrop: T }, P] = _v(
@@ -51425,13 +51430,13 @@ const $H = function(t, i, s) {
51425
51430
  })
51426
51431
  }),
51427
51432
  [x]
51428
- ), M = (G) => {
51433
+ ), I = (G) => {
51429
51434
  (G.key === "Enter" || G.key === "Space") && (G.preventDefault(), p.current?.click());
51430
51435
  }, N = (G) => {
51431
51436
  G?.preventDefault();
51432
51437
  const B = Array.from(G.dataTransfer?.items ?? []);
51433
51438
  C(!!d?.(B)), b(!!u?.(B)), m(B);
51434
- }, K = (G) => {
51439
+ }, $ = (G) => {
51435
51440
  G.target === G.currentTarget && S();
51436
51441
  }, O = ve(
51437
51442
  "border border-dashed rounded w-full cursor-pointer relative h-full hover:border-hover",
@@ -51446,14 +51451,14 @@ const $H = function(t, i, s) {
51446
51451
  className: O,
51447
51452
  ref: h,
51448
51453
  onDragOver: N,
51449
- onDragLeave: K,
51454
+ onDragLeave: $,
51450
51455
  children: [
51451
51456
  /* @__PURE__ */ g.jsxs(
51452
51457
  "label",
51453
51458
  {
51454
51459
  htmlFor: "file",
51455
51460
  tabIndex: 0,
51456
- onKeyDown: M,
51461
+ onKeyDown: I,
51457
51462
  className: "flex flex-col items-center cursor-pointer size-full text-secondary dial-tiny-text justify-center",
51458
51463
  children: [
51459
51464
  t && /* @__PURE__ */ g.jsx("p", { className: "mb-1", children: t }),
@@ -51584,15 +51589,15 @@ const $H = function(t, i, s) {
51584
51589
  if (!r || !u)
51585
51590
  return !1;
51586
51591
  const E = r * 1024 * 1024;
51587
- return R.reduce((P, M) => P + M.size, 0) > E;
51592
+ return R.reduce((P, I) => P + I.size, 0) > E;
51588
51593
  },
51589
51594
  [r, u]
51590
51595
  ), S = D(
51591
51596
  (R) => {
51592
51597
  const E = R.target.files;
51593
51598
  if (E && E.length > 0) {
51594
- const T = Array.from(E), P = x(T), M = y(T);
51595
- !P && !M && e([...s || [], ...T]);
51599
+ const T = Array.from(E), P = x(T), I = y(T);
51600
+ !P && !I && e([...s || [], ...T]);
51596
51601
  }
51597
51602
  },
51598
51603
  [x, y, e, s]
@@ -51714,14 +51719,14 @@ const Ym = ({
51714
51719
  mt.Replace
51715
51720
  ), [E, T] = k(
51716
51721
  Zt.ReplaceAll
51717
- ), [P, M] = k(
51722
+ ), [P, I] = k(
51718
51723
  new Map(
51719
51724
  o.map((Q) => [
51720
51725
  Q.path,
51721
51726
  mt.Replace
51722
51727
  ])
51723
51728
  )
51724
- ), [N, K] = k(
51729
+ ), [N, $] = k(
51725
51730
  void 0
51726
51731
  ), O = m ? r : a, G = /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
51727
51732
  "Item with the name ",
@@ -51750,7 +51755,7 @@ const Ym = ({
51750
51755
  path: Q.path,
51751
51756
  nodeType: Q.nodeType ?? Re.ITEM,
51752
51757
  action: P.get(Q.path) || mt.Replace
51753
- })), [o, P]), I = V(() => [
51758
+ })), [o, P]), M = V(() => [
51754
51759
  {
51755
51760
  field: "name",
51756
51761
  headerName: p,
@@ -51811,20 +51816,20 @@ const Ym = ({
51811
51816
  menu: {
51812
51817
  items: U,
51813
51818
  onClick: ({ key: oe }) => {
51814
- M(($) => {
51815
- const de = new Map($);
51819
+ I((q) => {
51820
+ const de = new Map(q);
51816
51821
  return de.set(
51817
51822
  Q.data.path,
51818
51823
  oe
51819
51824
  ), de;
51820
- }), K(void 0);
51825
+ }), $(void 0);
51821
51826
  }
51822
51827
  },
51823
51828
  placement: "bottom-start",
51824
51829
  matchReferenceWidth: !1,
51825
51830
  allowedPlacements: ["bottom-start", "top-start"],
51826
51831
  onOpenChange: (oe) => {
51827
- K(oe ? Q.data.path : void 0);
51832
+ $(oe ? Q.data.path : void 0);
51828
51833
  },
51829
51834
  children: /* @__PURE__ */ g.jsxs("button", { type: "button", className: "flex items-center gap-2", children: [
51830
51835
  /* @__PURE__ */ g.jsxs("span", { className: "flex items-center gap-2", children: [
@@ -51869,7 +51874,7 @@ const Ym = ({
51869
51874
  content: E === Zt.DecideForEach ? /* @__PURE__ */ g.jsx("div", { className: "mt-4", children: /* @__PURE__ */ g.jsx(
51870
51875
  mb,
51871
51876
  {
51872
- columnDefs: I,
51877
+ columnDefs: M,
51873
51878
  rowData: A,
51874
51879
  getRowId: (Q) => Q.id,
51875
51880
  wrapCustomCellRenderers: !1,
@@ -51886,11 +51891,11 @@ const Ym = ({
51886
51891
  y,
51887
51892
  F,
51888
51893
  E,
51889
- I,
51894
+ M,
51890
51895
  A
51891
51896
  ]
51892
51897
  ), Z = D(() => {
51893
- R(mt.Replace), T(Zt.ReplaceAll), M(
51898
+ R(mt.Replace), T(Zt.ReplaceAll), I(
51894
51899
  new Map(
51895
51900
  o.map((Q) => [
51896
51901
  Q.path,
@@ -51900,7 +51905,7 @@ const Ym = ({
51900
51905
  );
51901
51906
  }, [o]), ae = D(() => {
51902
51907
  Z(), t();
51903
- }, [Z, t]), be = D(() => {
51908
+ }, [Z, t]), xe = D(() => {
51904
51909
  if (Z(), m)
51905
51910
  S === mt.Replace ? i() : s();
51906
51911
  else if (E === Zt.ReplaceAll)
@@ -51939,7 +51944,7 @@ const Ym = ({
51939
51944
  preventKeyboardOnOpen: !0,
51940
51945
  footer: /* @__PURE__ */ g.jsxs("div", { className: "flex justify-end gap-3 py-4 px-6 border-t border-tertiary", children: [
51941
51946
  /* @__PURE__ */ g.jsx(as, { onClick: ae, label: h }),
51942
- /* @__PURE__ */ g.jsx(is, { onClick: be, label: u })
51947
+ /* @__PURE__ */ g.jsx(is, { onClick: xe, label: u })
51943
51948
  ] }),
51944
51949
  children: /* @__PURE__ */ g.jsxs("div", { className: "px-6 py-4", children: [
51945
51950
  /* @__PURE__ */ g.jsx("p", { className: "text-secondary mb-4 break-words", children: _ }),
@@ -51974,7 +51979,7 @@ const Ym = ({
51974
51979
  buttonClassName: n
51975
51980
  }) => {
51976
51981
  const o = H(e);
51977
- xe(() => {
51982
+ be(() => {
51978
51983
  o.current = e;
51979
51984
  }, [e]);
51980
51985
  const r = D(
@@ -52042,7 +52047,7 @@ const Ym = ({
52042
52047
  };
52043
52048
  function gG(e, t) {
52044
52049
  const i = H(null), [s, n] = k(!1);
52045
- return xe(() => {
52050
+ return be(() => {
52046
52051
  if (!i.current) return;
52047
52052
  const o = new ResizeObserver(([r]) => {
52048
52053
  const a = r.contentRect.width;
@@ -54828,10 +54833,10 @@ const DG = (e, t, i, s, n) => {
54828
54833
  (b, x, y, F) => {
54829
54834
  const S = e(b), R = new Set(S.map(lu));
54830
54835
  return x.map((E) => {
54831
- const T = E.name, P = R.has(T), M = y && P ? T : ev(T, R, E.nodeType);
54832
- return (!y || !P) && R.add(M), {
54836
+ const T = E.name, P = R.has(T), I = y && P ? T : ev(T, R, E.nodeType);
54837
+ return (!y || !P) && R.add(I), {
54833
54838
  sourceUrl: E.path,
54834
- destinationUrl: `${b}/${M}`,
54839
+ destinationUrl: `${b}/${I}`,
54835
54840
  overwrite: y && P,
54836
54841
  nodeType: E.nodeType ?? Re.ITEM,
54837
54842
  ...F ?? {}
@@ -54843,10 +54848,10 @@ const DG = (e, t, i, s, n) => {
54843
54848
  (b, x, y, F) => {
54844
54849
  const S = e(b), R = new Set(S.map(lu));
54845
54850
  return x.filter((T) => y.get(T.path) !== mt.Cancel).map((T) => {
54846
- const P = y.get(T.path), M = R.has(T.name), N = P === mt.Replace && M, K = N ? T.name : ev(T.name, R, T.nodeType);
54847
- return N || R.add(K), {
54851
+ const P = y.get(T.path), I = R.has(T.name), N = P === mt.Replace && I, $ = N ? T.name : ev(T.name, R, T.nodeType);
54852
+ return N || R.add($), {
54848
54853
  sourceUrl: T.path,
54849
- destinationUrl: `${b}/${K}`,
54854
+ destinationUrl: `${b}/${$}`,
54850
54855
  overwrite: N,
54851
54856
  nodeType: T.nodeType ?? Re.ITEM,
54852
54857
  ...F ?? {}
@@ -54966,9 +54971,9 @@ const DG = (e, t, i, s, n) => {
54966
54971
  closeConflictResolution: E,
54967
54972
  openConflictResolution: T,
54968
54973
  handleReplaceAll: P,
54969
- handleDuplicateAll: M,
54974
+ handleDuplicateAll: I,
54970
54975
  handleCancelAll: N,
54971
- handleDecideForEach: K
54976
+ handleDecideForEach: $
54972
54977
  } = Hb({
54973
54978
  getDestinationFiles: e,
54974
54979
  onResolve: (ie, oe) => {
@@ -54986,12 +54991,12 @@ const DG = (e, t, i, s, n) => {
54986
54991
  type: vt.Copy
54987
54992
  });
54988
54993
  if (b({ type: vt.Copy }), !oe.hasConflicts) {
54989
- const $ = R(
54994
+ const q = R(
54990
54995
  ie,
54991
54996
  d,
54992
54997
  !1
54993
54998
  );
54994
- t?.($, ie), s?.(), O();
54999
+ t?.(q, ie), s?.(), O();
54995
55000
  }
54996
55001
  },
54997
55002
  [
@@ -55004,17 +55009,17 @@ const DG = (e, t, i, s, n) => {
55004
55009
  ]
55005
55010
  ), B = D(
55006
55011
  (ie, oe) => {
55007
- const $ = oe || (w?.sourceFolder ?? "/");
55012
+ const q = oe || (w?.sourceFolder ?? "/");
55008
55013
  if (!S(ie, h, {
55009
55014
  type: vt.Move,
55010
- sourceFolderPath: $
55015
+ sourceFolderPath: q
55011
55016
  }).hasConflicts) {
55012
55017
  const j = R(
55013
55018
  ie,
55014
55019
  h,
55015
55020
  !0
55016
55021
  );
55017
- i?.(j, $, ie), n?.(), O();
55022
+ i?.(j, q, ie), n?.(), O();
55018
55023
  }
55019
55024
  },
55020
55025
  [
@@ -55029,22 +55034,22 @@ const DG = (e, t, i, s, n) => {
55029
55034
  ), _ = D(() => {
55030
55035
  P(), O();
55031
55036
  }, [P, O]), re = D(() => {
55032
- M(), O();
55033
- }, [M, O]), A = D(() => {
55037
+ I(), O();
55038
+ }, [I, O]), A = D(() => {
55034
55039
  N(), O();
55035
- }, [N, O]), I = D(
55040
+ }, [N, O]), M = D(
55036
55041
  (ie) => {
55037
- K(ie), O();
55042
+ $(ie), O();
55038
55043
  },
55039
- [K, O]
55044
+ [$, O]
55040
55045
  ), W = D(
55041
55046
  (ie) => {
55042
- const oe = ie.at(0)?.parentPath ?? "/", $ = R(
55047
+ const oe = ie.at(0)?.parentPath ?? "/", q = R(
55043
55048
  oe,
55044
55049
  ie,
55045
55050
  !1
55046
55051
  );
55047
- t?.($, oe), o?.();
55052
+ t?.(q, oe), o?.();
55048
55053
  },
55049
55054
  [t, o, R]
55050
55055
  ), Z = D(
@@ -55054,7 +55059,7 @@ const DG = (e, t, i, s, n) => {
55054
55059
  []
55055
55060
  ), ae = D(() => {
55056
55061
  c(!1), F.current || O();
55057
- }, [O, F]), [be, Q] = k(), U = D(
55062
+ }, [O, F]), [xe, Q] = k(), U = D(
55058
55063
  (ie) => {
55059
55064
  u(ie);
55060
55065
  const oe = ie[0]?.parentPath ?? ie[0]?.folderId;
@@ -55080,7 +55085,7 @@ const DG = (e, t, i, s, n) => {
55080
55085
  handleMoveTo: B,
55081
55086
  openDestinationFolderPopup: l,
55082
55087
  destinationFolderMode: f,
55083
- destinationFolderTitle: be,
55088
+ destinationFolderTitle: xe,
55084
55089
  handleSetCopiedFiles: U,
55085
55090
  handleSetMovedFiles: Se,
55086
55091
  clearState: O,
@@ -55091,7 +55096,7 @@ const DG = (e, t, i, s, n) => {
55091
55096
  handleConflictReplace: _,
55092
55097
  handleConflictCancel: A,
55093
55098
  handleConflictDuplicate: re,
55094
- handleConflictDecideForEach: I,
55099
+ handleConflictDecideForEach: M,
55095
55100
  sourceFolder: v
55096
55101
  };
55097
55102
  }, MG = ({
@@ -55185,9 +55190,9 @@ const DG = (e, t, i, s, n) => {
55185
55190
  conflictResolutionOpen: E,
55186
55191
  hasActiveConflictRef: T,
55187
55192
  startConflictResolution: P,
55188
- closeConflictResolution: M,
55193
+ closeConflictResolution: I,
55189
55194
  openConflictResolution: N,
55190
- handleReplaceAll: K,
55195
+ handleReplaceAll: $,
55191
55196
  handleDuplicateAll: O,
55192
55197
  handleCancelAll: G,
55193
55198
  handleDecideForEach: B
@@ -55216,14 +55221,14 @@ const DG = (e, t, i, s, n) => {
55216
55221
  S();
55217
55222
  }
55218
55223
  });
55219
- xe(() => {
55220
- r && C || (c(!1), u(!1), p(void 0), M(), S());
55224
+ be(() => {
55225
+ r && C || (c(!1), u(!1), p(void 0), I(), S());
55221
55226
  }, [
55222
55227
  r,
55223
- M,
55228
+ I,
55224
55229
  S,
55225
55230
  C
55226
- ]), xe(() => {
55231
+ ]), be(() => {
55227
55232
  if (!r || !C) return;
55228
55233
  let j = 0;
55229
55234
  const ge = (ue) => {
@@ -55297,9 +55302,9 @@ const DG = (e, t, i, s, n) => {
55297
55302
  S,
55298
55303
  C
55299
55304
  ]
55300
- ), I = D(() => {
55301
- K(), S();
55302
- }, [K, S]), W = D(() => {
55305
+ ), M = D(() => {
55306
+ $(), S();
55307
+ }, [$, S]), W = D(() => {
55303
55308
  O(), S();
55304
55309
  }, [O, S]), Z = D(() => {
55305
55310
  G(), S();
@@ -55308,9 +55313,9 @@ const DG = (e, t, i, s, n) => {
55308
55313
  B(j), S();
55309
55314
  },
55310
55315
  [B, S]
55311
- ), be = D(() => {
55312
- M(), T.current || S();
55313
- }, [M, T, S]), Q = D(
55316
+ ), xe = D(() => {
55317
+ I(), T.current || S();
55318
+ }, [I, T, S]), Q = D(
55314
55319
  (j) => {
55315
55320
  !r || !C || (j.preventDefault(), j.stopPropagation(), j.dataTransfer.types.includes("Files") && c(!0));
55316
55321
  },
@@ -55369,7 +55374,7 @@ const DG = (e, t, i, s, n) => {
55369
55374
  C
55370
55375
  ]
55371
55376
  );
55372
- xe(() => {
55377
+ be(() => {
55373
55378
  let j = f.current;
55374
55379
  j || (j = document.createElement("input"), j.type = "file", j.multiple = !0, j.style.display = "none", document.body.appendChild(j), f.current = j), s && s.length > 0 ? j.accept = s.join(",") : j.removeAttribute("accept");
55375
55380
  const ge = async () => {
@@ -55410,7 +55415,7 @@ const DG = (e, t, i, s, n) => {
55410
55415
  !r || !C || (m.current = j, v.current = ge, f.current && f.current.click());
55411
55416
  },
55412
55417
  [r, C]
55413
- ), $ = D(
55418
+ ), q = D(
55414
55419
  (j, ge) => {
55415
55420
  if (!o || !r || !C) return;
55416
55421
  const me = document.createElement("input");
@@ -55462,14 +55467,14 @@ const DG = (e, t, i, s, n) => {
55462
55467
  clearError: de,
55463
55468
  handleUpload: A,
55464
55469
  openFileDialog: oe,
55465
- openArchiveDialog: $,
55470
+ openArchiveDialog: q,
55466
55471
  fileInputRef: f,
55467
55472
  uploadConflictingFiles: R,
55468
55473
  uploadConflictResolutionOpen: E,
55469
55474
  hasActiveUploadConflictRef: T,
55470
55475
  openUploadConflictResolution: N,
55471
- closeUploadConflictResolution: be,
55472
- handleUploadConflictReplace: I,
55476
+ closeUploadConflictResolution: xe,
55477
+ handleUploadConflictReplace: M,
55473
55478
  handleUploadConflictDuplicate: W,
55474
55479
  handleUploadConflictCancel: Z,
55475
55480
  handleUploadConflictDecideForEach: ae
@@ -55597,7 +55602,7 @@ const VG = ({
55597
55602
  () => s ? e?.expandedPaths ?? /* @__PURE__ */ new Set() : t,
55598
55603
  [s, e?.expandedPaths, t]
55599
55604
  );
55600
- xe(() => {
55605
+ be(() => {
55601
55606
  s && e?.expandedPaths && i(new Set(e.expandedPaths));
55602
55607
  }, [s, e?.expandedPaths]);
55603
55608
  const o = D(
@@ -55710,7 +55715,7 @@ const VG = ({
55710
55715
  }),
55711
55716
  [s]
55712
55717
  );
55713
- xe(() => {
55718
+ be(() => {
55714
55719
  const f = e?.path;
55715
55720
  l.current !== f && n && (o(!1), a(null)), l.current = f;
55716
55721
  }, [e?.path, n]);
@@ -55830,7 +55835,7 @@ function qG({
55830
55835
  activeTab: l
55831
55836
  }) {
55832
55837
  const [c, d] = k(""), u = H(!1), h = H(!1), p = H([]), f = H(i), m = H(l);
55833
- xe(() => {
55838
+ be(() => {
55834
55839
  o != null && d(String(o));
55835
55840
  }, [o]);
55836
55841
  const v = String(
@@ -55854,14 +55859,14 @@ function qG({
55854
55859
  },
55855
55860
  [r, w, b]
55856
55861
  );
55857
- xe(() => {
55862
+ be(() => {
55858
55863
  (f.current !== i || m.current !== l) && (f.current = i, m.current = l, u.current = !1, h.current = !1, p.current = [], d(""), r?.(""), t?.());
55859
55864
  }, [
55860
55865
  i,
55861
55866
  l,
55862
55867
  r,
55863
55868
  t
55864
- ]), xe(() => {
55869
+ ]), be(() => {
55865
55870
  n || (p.current = s);
55866
55871
  }, [s, n]);
55867
55872
  const y = V(() => {
@@ -55948,26 +55953,26 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
55948
55953
  onGridApiChange: E,
55949
55954
  onCopyFiles: T,
55950
55955
  onMoveToFiles: P,
55951
- onDeleteFiles: M,
55956
+ onDeleteFiles: I,
55952
55957
  onDownloadFiles: N,
55953
- onRenameValidate: K,
55958
+ onRenameValidate: $,
55954
55959
  onAddSibling: O,
55955
55960
  onAddChild: G,
55956
55961
  renameValidationMessages: B,
55957
55962
  forbiddenSymbolsRegExp: _ = QG,
55958
55963
  forbiddenSymbolsTooltip: re,
55959
55964
  onUploadFiles: A,
55960
- onValidateUpload: I,
55965
+ onValidateUpload: M,
55961
55966
  uploadEnabled: W,
55962
55967
  uploadValidationMessages: Z,
55963
55968
  maxFileSize: ae,
55964
- onUploadArchive: be,
55969
+ onUploadArchive: xe,
55965
55970
  onCreateFolder: Q,
55966
55971
  onCreateFolderValidate: U,
55967
55972
  folderCreationValidationMessages: Se,
55968
55973
  fileMetadataPopupOptions: ie,
55969
55974
  onGetInfo: oe,
55970
- onUnshareFiles: $,
55975
+ onUnshareFiles: q,
55971
55976
  onRemoveFilesAccess: de,
55972
55977
  actionsRef: j,
55973
55978
  sharedByMePaths: ge,
@@ -56036,9 +56041,9 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56036
56041
  ds && (us.current = {
56037
56042
  fileNames: /* @__PURE__ */ new Set([We]),
56038
56043
  destinationFolder: Ke
56039
- }), be?.(Te, We, Ke);
56044
+ }), xe?.(Te, We, Ke);
56040
56045
  },
56041
- [be, ds]
56046
+ [xe, ds]
56042
56047
  ), Nc = V(() => {
56043
56048
  const Te = /* @__PURE__ */ new Map();
56044
56049
  return $i.forEach((We) => {
@@ -56046,7 +56051,7 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56046
56051
  Ke && Te.set(We, Ke);
56047
56052
  }), Te;
56048
56053
  }, [$i, s]);
56049
- xe(() => {
56054
+ be(() => {
56050
56055
  if ($i.size === 0) return;
56051
56056
  let Te = !1;
56052
56057
  for (const We of $i)
@@ -56094,7 +56099,7 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56094
56099
  getDisplayName: _c
56095
56100
  } = VG({
56096
56101
  items: s,
56097
- onRenameValidate: K,
56102
+ onRenameValidate: $,
56098
56103
  validationMessages: B,
56099
56104
  onMoveToFiles: P
56100
56105
  }), {
@@ -56147,7 +56152,7 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56147
56152
  getCopyHeader: x?.getCopyHeader,
56148
56153
  getMoveHeader: x?.getMoveHeader
56149
56154
  });
56150
- xe(() => {
56155
+ be(() => {
56151
56156
  Hn || kn(void 0);
56152
56157
  }, [Hn, kn]);
56153
56158
  const {
@@ -56157,7 +56162,7 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56157
56162
  closeDeleteConfirmation: Wt,
56158
56163
  confirmDelete: Jc
56159
56164
  } = kG({
56160
- onDeleteFiles: M,
56165
+ onDeleteFiles: I,
56161
56166
  onDeleteSuccess: qi
56162
56167
  }), { handleDownloadFiles: qo } = AG({
56163
56168
  onDownloadFiles: N,
@@ -56184,7 +56189,7 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56184
56189
  handleUploadConflictDecideForEach: Ra
56185
56190
  } = OG({
56186
56191
  onUploadFiles: Lc,
56187
- onValidateUpload: I,
56192
+ onValidateUpload: M,
56188
56193
  maxFileSize: ae,
56189
56194
  onUploadArchive: Oc,
56190
56195
  allowedFileTypes: Ie,
@@ -56331,7 +56336,7 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56331
56336
  jo,
56332
56337
  ct
56333
56338
  ]);
56334
- xe(() => {
56339
+ be(() => {
56335
56340
  const Te = us.current;
56336
56341
  if (!Te) return;
56337
56342
  if ((ct ?? "") !== Te.destinationFolder) {
@@ -56465,7 +56470,7 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56465
56470
  handleDrop: Fa,
56466
56471
  clearUploadError: ed,
56467
56472
  onUploadFiles: A,
56468
- onValidateUpload: I,
56473
+ onValidateUpload: M,
56469
56474
  maxFileSize: ae,
56470
56475
  isDraggingOverWindow: Us,
56471
56476
  openFileDialog: Ea,
@@ -56500,7 +56505,7 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56500
56505
  openMetadataPopup: c0,
56501
56506
  closeMetadataPopup: d0,
56502
56507
  onGetInfo: oe,
56503
- onUnshareFiles: $,
56508
+ onUnshareFiles: q,
56504
56509
  onRemoveFilesAccess: de,
56505
56510
  actionsRef: j,
56506
56511
  sharedByMePaths: ge,
@@ -56540,12 +56545,12 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56540
56545
  maxSelectableFileSize: o
56541
56546
  }) => {
56542
56547
  const [r, a] = k(null), [l, c] = k(null);
56543
- xe(() => {
56548
+ be(() => {
56544
56549
  const h = () => {
56545
56550
  a(null), c(null);
56546
56551
  };
56547
56552
  return window.addEventListener("scroll", h, !0), () => window.removeEventListener("scroll", h, !0);
56548
- }, []), xe(() => {
56553
+ }, []), be(() => {
56549
56554
  const h = (m) => {
56550
56555
  const C = m.target.closest(
56551
56556
  ".ag-row"
@@ -56609,7 +56614,7 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56609
56614
  ) });
56610
56615
  }, cg = () => {
56611
56616
  const [e, t] = k(Bm());
56612
- return xe(() => {
56617
+ return be(() => {
56613
56618
  const i = () => t(Bm());
56614
56619
  return window.addEventListener("resize", i), () => window.removeEventListener("resize", i);
56615
56620
  }, []), e;
@@ -56638,7 +56643,7 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56638
56643
  }) => {
56639
56644
  const [y, F] = k(!1), [S, R] = k(!1), E = H(null), T = cg(), P = D((G) => {
56640
56645
  F(G);
56641
- }, []), M = V(() => {
56646
+ }, []), I = V(() => {
56642
56647
  const G = [
56643
56648
  {
56644
56649
  key: "add-folder",
@@ -56662,7 +56667,7 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56662
56667
  G && (i?.(G), s?.(G));
56663
56668
  },
56664
56669
  [i, s]
56665
- ), K = l === vt.Copy ? "Copy to" : "Move to", O = V(() => !C || !m ? !1 : m === C, [C, m]);
56670
+ ), $ = l === vt.Copy ? "Copy to" : "Move to", O = V(() => !C || !m ? !1 : m === C, [C, m]);
56666
56671
  return /* @__PURE__ */ g.jsx(
56667
56672
  No,
56668
56673
  {
@@ -56678,7 +56683,7 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56678
56683
  /* @__PURE__ */ g.jsx("div", { className: "flex items-center gap-4 min-w-0", children: T ? /* @__PURE__ */ g.jsx(
56679
56684
  Yt,
56680
56685
  {
56681
- menu: { items: M },
56686
+ menu: { items: I },
56682
56687
  open: S,
56683
56688
  onOpenChange: R,
56684
56689
  children: /* @__PURE__ */ g.jsx(
@@ -56740,7 +56745,7 @@ const YG = ':;,=/{}%&\\"', zb = `(\r
56740
56745
  )
56741
56746
  ] })
56742
56747
  ] }),
56743
- header: f ?? K,
56748
+ header: f ?? $,
56744
56749
  children: /* @__PURE__ */ g.jsxs("div", { className: "bg-layer-2 h-full flex flex-col", children: [
56745
56750
  b && /* @__PURE__ */ g.jsx("div", { className: "px-6 mb-4 pt-4", children: /* @__PURE__ */ g.jsx(fy, { ...b }) }),
56746
56751
  /* @__PURE__ */ g.jsx("div", { className: "flex-1 min-h-0", children: /* @__PURE__ */ g.jsx(
@@ -56813,7 +56818,7 @@ function sB({
56813
56818
  // Re-measure when the action list or layout-affecting deps (e.g. isMobile) change
56814
56819
  // eslint-disable-next-line react-hooks/exhaustive-deps
56815
56820
  [e, p, ...o]
56816
- ), xe(() => {
56821
+ ), be(() => {
56817
56822
  if (!r.current) return;
56818
56823
  let v = null;
56819
56824
  const C = () => {
@@ -57009,18 +57014,18 @@ const nB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
57009
57014
  if (a) {
57010
57015
  const N = sv(a);
57011
57016
  if (N.length) {
57012
- const K = E.findIndex(
57017
+ const $ = E.findIndex(
57013
57018
  (O, G) => N.every((B, _) => E[G + _] === B)
57014
57019
  );
57015
- K !== -1 && (P = N.length, E = [
57016
- ...E.slice(0, K),
57017
- ...E.slice(K + N.length)
57020
+ $ !== -1 && (P = N.length, E = [
57021
+ ...E.slice(0, $),
57022
+ ...E.slice($ + N.length)
57018
57023
  ]);
57019
57024
  }
57020
57025
  }
57021
57026
  if (!E.length) return [{ label: "/" }];
57022
- const M = E.map((N, K) => {
57023
- const O = K < E.length - P ? K : K + P, G = T.slice(0, O + 1), B = typeof n == "function" ? n(G, O) : void 0;
57027
+ const I = E.map((N, $) => {
57028
+ const O = $ < E.length - P ? $ : $ + P, G = T.slice(0, O + 1), B = typeof n == "function" ? n(G, O) : void 0;
57024
57029
  return {
57025
57030
  label: N,
57026
57031
  href: B,
@@ -57030,11 +57035,11 @@ const nB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
57030
57035
  };
57031
57036
  });
57032
57037
  if (o && r) {
57033
- const N = o.split("/").filter(Boolean), K = s.split("/").filter(Boolean);
57038
+ const N = o.split("/").filter(Boolean), $ = s.split("/").filter(Boolean);
57034
57039
  if (N.every(
57035
- (G, B) => K[B] === G
57036
- ) && M.length > 0) {
57037
- const G = M.slice(N.length);
57040
+ (G, B) => $[B] === G
57041
+ ) && I.length > 0) {
57042
+ const G = I.slice(N.length);
57038
57043
  return [
57039
57044
  {
57040
57045
  label: r,
@@ -57047,7 +57052,7 @@ const nB = ({ getSelectionLabel: e, onClearSelection: t, actions: i, selectedCou
57047
57052
  ];
57048
57053
  }
57049
57054
  }
57050
- return M;
57055
+ return I;
57051
57056
  }, [
57052
57057
  s,
57053
57058
  a,
@@ -57517,18 +57522,18 @@ function CB({
57517
57522
  }, [f, n, r]), C = D(() => {
57518
57523
  i && a(e), p(), o?.();
57519
57524
  }, [e, o, i, p]);
57520
- return xe(() => {
57525
+ return be(() => {
57521
57526
  t && (a(e), p(), requestAnimationFrame(() => {
57522
57527
  h.current?.focus(), h.current?.select();
57523
57528
  }));
57524
- }, [t, e, p]), xe(() => {
57529
+ }, [t, e, p]), be(() => {
57525
57530
  const w = h.current;
57526
57531
  if (!t || !w) return;
57527
57532
  const b = (x) => {
57528
57533
  x.key === "Enter" ? (x.preventDefault(), h.current?.blur()) : x.key === "Escape" && (x.preventDefault(), C());
57529
57534
  };
57530
57535
  return w.addEventListener("keydown", b), () => w.removeEventListener("keydown", b);
57531
- }, [t, v, C]), xe(() => {
57536
+ }, [t, v, C]), be(() => {
57532
57537
  if (!t) return;
57533
57538
  const w = h.current;
57534
57539
  if (!w) return;
@@ -57651,12 +57656,12 @@ const Ql = ({
57651
57656
  onExpandedPathsChange: b
57652
57657
  }), R = (T) => {
57653
57658
  f?.(T), S(T.path);
57654
- }, E = (T, P) => T.map((M) => {
57655
- const { path: N, nodeType: K, name: O, items: G } = M, B = K === Re.FOLDER;
57656
- if (!d && Ob(M)) return null;
57659
+ }, E = (T, P) => T.map((I) => {
57660
+ const { path: N, nodeType: $, name: O, items: G } = I, B = $ === Re.FOLDER;
57661
+ if (!d && Ob(I)) return null;
57657
57662
  if (!B && !t) return;
57658
- const _ = Array.isArray(G) && G.length > 0 && G.some((oe) => oe.nodeType === Re.FOLDER || t), re = F.has(N), A = r === N, I = s.has(N), W = u === N, Z = n.has(N), ae = o.has(N), be = p && h && N === p && B, Q = w && ((oe) => w(oe, M)), U = A ? "bg-accent-primary-alpha border-l-2 border-l-accent-primary rounded" : "border-l-2 border-l-transparent", Se = be ? [] : m?.(M) ?? [], ie = x ? lg(
57659
- { name: M.name, isFolder: B },
57663
+ const _ = Array.isArray(G) && G.length > 0 && G.some((oe) => oe.nodeType === Re.FOLDER || t), re = F.has(N), A = r === N, M = s.has(N), W = u === N, Z = n.has(N), ae = o.has(N), xe = p && h && N === p && B, Q = w && ((oe) => w(oe, I)), U = A ? "bg-accent-primary-alpha border-l-2 border-l-accent-primary rounded" : "border-l-2 border-l-transparent", Se = xe ? [] : m?.(I) ?? [], ie = x ? lg(
57664
+ { name: I.name, isFolder: B },
57660
57665
  x,
57661
57666
  y
57662
57667
  ) : void 0;
@@ -57682,14 +57687,14 @@ const Ql = ({
57682
57687
  "div",
57683
57688
  {
57684
57689
  className: "absolute size-full left-0 top-0 z-0",
57685
- onClick: () => R(M)
57690
+ onClick: () => R(I)
57686
57691
  }
57687
57692
  ),
57688
57693
  /* @__PURE__ */ g.jsx(
57689
57694
  "div",
57690
57695
  {
57691
57696
  className: "relative flex flex-row truncate items-center w-fit h-6 gap-x-1 pl-1",
57692
- onClick: () => !W && R(M),
57697
+ onClick: () => !W && R(I),
57693
57698
  children: /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
57694
57699
  B && /* @__PURE__ */ g.jsx(
57695
57700
  sx,
@@ -57706,9 +57711,9 @@ const Ql = ({
57706
57711
  Ql,
57707
57712
  {
57708
57713
  elementId: `${N}-tree-item`,
57709
- name: be ? h : O,
57714
+ name: xe ? h : O,
57710
57715
  type: B ? gi.Folder : gi.File,
57711
- loading: I,
57716
+ loading: M,
57712
57717
  shared: ae,
57713
57718
  sharedIndicatorClassName: le(
57714
57719
  "group-hover/item:bg-accent-primary-alpha",
@@ -57717,7 +57722,7 @@ const Ql = ({
57717
57722
  iconSize: Es,
57718
57723
  forbiddenSymbolsRegExp: x,
57719
57724
  forbiddenSymbolsTooltip: ie,
57720
- ...!be && {
57725
+ ...!xe && {
57721
57726
  editing: W,
57722
57727
  onSave: v,
57723
57728
  onCancel: C,
@@ -57728,7 +57733,7 @@ const Ql = ({
57728
57733
  ] })
57729
57734
  }
57730
57735
  ),
57731
- Se.length > 0 && !W && !be && /* @__PURE__ */ g.jsx("div", { className: "flex-1 flex justify-end", children: /* @__PURE__ */ g.jsx(
57736
+ Se.length > 0 && !W && !xe && /* @__PURE__ */ g.jsx("div", { className: "flex-1 flex justify-end", children: /* @__PURE__ */ g.jsx(
57732
57737
  Yt,
57733
57738
  {
57734
57739
  placement: "bottom-start",
@@ -58335,8 +58340,8 @@ const DB = () => {
58335
58340
  icon: /* @__PURE__ */ g.jsx(Jl, { ...se, className: "text-secondary" }),
58336
58341
  onClick: () => m?.(y.path)
58337
58342
  });
58338
- const M = !y.permissions || y.permissions.includes(Ho.WRITE);
58339
- e[ee.Delete] && M && F.push({
58343
+ const I = !y.permissions || y.permissions.includes(Ho.WRITE);
58344
+ e[ee.Delete] && I && F.push({
58340
58345
  key: ee.Delete,
58341
58346
  label: e[ee.Delete],
58342
58347
  icon: /* @__PURE__ */ g.jsx(mo, { ...se, className: "text-secondary" }),
@@ -58423,26 +58428,26 @@ const DB = () => {
58423
58428
  selectedPaths: E,
58424
58429
  selectedFiles: T,
58425
58430
  clearSelection: P,
58426
- setSelectedPaths: M,
58431
+ setSelectedPaths: I,
58427
58432
  effectiveSearchValue: N,
58428
- handleBreadcrumbItemClick: K,
58433
+ handleBreadcrumbItemClick: $,
58429
58434
  handleSearchChange: O,
58430
58435
  handleTreeItemClick: G,
58431
58436
  handleTableRowClick: B,
58432
58437
  handleSelectionClick: _,
58433
58438
  onGridApiChange: re,
58434
58439
  handleOpenDestinationFolderPopup: A,
58435
- handleCloseDestinationFolderPopup: I,
58440
+ handleCloseDestinationFolderPopup: M,
58436
58441
  openDestinationFolderPopup: W,
58437
58442
  destinationFolderMode: Z,
58438
58443
  handleSetCopiedFiles: ae,
58439
- handleSetMovedFiles: be,
58444
+ handleSetMovedFiles: xe,
58440
58445
  handleDuplicate: Q,
58441
58446
  handleCopyTo: U,
58442
58447
  handleMoveTo: Se,
58443
58448
  handleAddSibling: ie,
58444
58449
  handleAddChild: oe,
58445
- handleDownloadFiles: $,
58450
+ handleDownloadFiles: q,
58446
58451
  openDeleteConfirmation: de,
58447
58452
  closeDeleteConfirmation: j,
58448
58453
  confirmDelete: ge,
@@ -58622,13 +58627,13 @@ const DB = () => {
58622
58627
  }
58623
58628
  ),
58624
58629
  onClick: () => {
58625
- be([J]), A(vt.Move);
58630
+ xe([J]), A(vt.Move);
58626
58631
  }
58627
58632
  }), o.actionLabels[ee.Download] && !ti && !Ti && nt.push({
58628
58633
  key: "download",
58629
58634
  label: o.actionLabels[ee.Download],
58630
58635
  icon: /* @__PURE__ */ g.jsx(wh, { ...se, className: "text-secondary" }),
58631
- onClick: () => $([J])
58636
+ onClick: () => q([J])
58632
58637
  }), o.actionLabels[ee.Rename] && !ti && nt.push({
58633
58638
  key: "rename",
58634
58639
  label: o.actionLabels[ee.Rename],
@@ -58694,8 +58699,8 @@ const DB = () => {
58694
58699
  Q,
58695
58700
  ae,
58696
58701
  A,
58697
- be,
58698
- $,
58702
+ xe,
58703
+ q,
58699
58704
  ua,
58700
58705
  In,
58701
58706
  Mn,
@@ -58708,9 +58713,9 @@ const DB = () => {
58708
58713
  return T.forEach((Je, nt) => J.add(nt)), J;
58709
58714
  }, [T]), va = D(
58710
58715
  (J, Je) => {
58711
- M(J), _?.(Je);
58716
+ I(J), _?.(Je);
58712
58717
  },
58713
- [_, M]
58718
+ [_, I]
58714
58719
  ), Ca = bB({
58715
58720
  selectedFiles: T,
58716
58721
  actionLabels: d?.actionLabels,
@@ -58719,9 +58724,9 @@ const DB = () => {
58719
58724
  ae(J), A(vt.Copy);
58720
58725
  },
58721
58726
  onMove: (J) => {
58722
- be(J), A(vt.Move);
58727
+ xe(J), A(vt.Move);
58723
58728
  },
58724
- onDownload: $,
58729
+ onDownload: q,
58725
58730
  onDelete: de,
58726
58731
  onUnshare: In,
58727
58732
  onRemoveAccess: Mn,
@@ -58876,9 +58881,9 @@ const DB = () => {
58876
58881
  ae([J]), A(vt.Copy);
58877
58882
  },
58878
58883
  onMove: (J) => {
58879
- be([J]), A(vt.Move);
58884
+ xe([J]), A(vt.Move);
58880
58885
  },
58881
- onDownload: (J) => $([J]),
58886
+ onDownload: (J) => q([J]),
58882
58887
  onRename: $c,
58883
58888
  onDelete: (J, Je) => de([J], Je),
58884
58889
  onInfo: (J) => Hc(J),
@@ -59087,7 +59092,7 @@ const DB = () => {
59087
59092
  ...a ?? {},
59088
59093
  makeHref: (J) => J.join("/"),
59089
59094
  path: S,
59090
- onItemClick: K,
59095
+ onItemClick: $,
59091
59096
  rootItemPath: s?.path,
59092
59097
  rootItemLabel: s?.label,
59093
59098
  value: N,
@@ -59141,10 +59146,10 @@ const DB = () => {
59141
59146
  {
59142
59147
  ...h,
59143
59148
  open: W,
59144
- onClose: I,
59149
+ onClose: M,
59145
59150
  onConfirm: () => {
59146
59151
  const J = h?.destinationFolderPath ?? "/";
59147
- Z === vt.Copy ? U(J) : Se(J), I();
59152
+ Z === vt.Copy ? U(J) : Se(J), M();
59148
59153
  },
59149
59154
  mode: Z,
59150
59155
  items: i,
@@ -59838,9 +59843,9 @@ const gg = ({
59838
59843
  }
59839
59844
  )
59840
59845
  ] }) : /* @__PURE__ */ g.jsx("div", { role: "radiogroup", className: "flex flex-col gap-2", children: Object.keys(C).map((R) => {
59841
- const E = _e({ $ref: C[R] }, o), T = b === R, { [v]: P, ...M } = E.properties ?? {}, N = {
59846
+ const E = _e({ $ref: C[R] }, o), T = b === R, { [v]: P, ...I } = E.properties ?? {}, N = {
59842
59847
  ...E,
59843
- properties: M
59848
+ properties: I
59844
59849
  };
59845
59850
  return /* @__PURE__ */ g.jsxs("div", { className: "flex flex-col", children: [
59846
59851
  /* @__PURE__ */ g.jsx(
@@ -60353,7 +60358,7 @@ const gg = ({
60353
60358
  ), b = D((S) => {
60354
60359
  w((R) => R.has(S) ? R : /* @__PURE__ */ new Set([...R, S]));
60355
60360
  }, []);
60356
- xe(() => {
60361
+ be(() => {
60357
60362
  d?.(f);
60358
60363
  }, []);
60359
60364
  const x = (S, R) => {
@@ -60375,13 +60380,13 @@ const gg = ({
60375
60380
  skipUntouched: h
60376
60381
  },
60377
60382
  children: /* @__PURE__ */ g.jsx("div", { className: le("flex flex-col gap-4", s), children: y.map(([S, R]) => {
60378
- const E = _e(R, e), T = E.title ?? R.title ?? hg(S), P = F.includes(S), M = m[S];
60383
+ const E = _e(R, e), T = E.title ?? R.title ?? hg(S), P = F.includes(S), I = m[S];
60379
60384
  if (a === fl.Flat)
60380
60385
  return /* @__PURE__ */ g.jsx(
60381
60386
  $b,
60382
60387
  {
60383
60388
  schema: R,
60384
- value: M,
60389
+ value: I,
60385
60390
  onChange: (B) => x(S, B),
60386
60391
  path: [S],
60387
60392
  level: 0,
@@ -60397,7 +60402,7 @@ const gg = ({
60397
60402
  Os,
60398
60403
  {
60399
60404
  schema: R,
60400
- value: M,
60405
+ value: I,
60401
60406
  onChange: (B) => x(S, B),
60402
60407
  path: [S],
60403
60408
  level: 0,
@@ -60405,7 +60410,7 @@ const gg = ({
60405
60410
  }
60406
60411
  )
60407
60412
  ] }, S);
60408
- const N = pg(M, E, e), K = tn(M, E, e, S), O = S + ".", G = !h || C.has(S) || [...C].some((B) => B.startsWith(O));
60413
+ const N = pg(I, E, e), $ = tn(I, E, e, S), O = S + ".", G = !h || C.has(S) || [...C].some((B) => B.startsWith(O));
60409
60414
  return /* @__PURE__ */ g.jsx(
60410
60415
  gg,
60411
60416
  {
@@ -60414,12 +60419,12 @@ const gg = ({
60414
60419
  level: 0,
60415
60420
  summary: N,
60416
60421
  defaultExpanded: o,
60417
- errorCount: G ? P && M == null ? Math.max(K.length, 1) : K.length : 0,
60422
+ errorCount: G ? P && I == null ? Math.max($.length, 1) : $.length : 0,
60418
60423
  children: /* @__PURE__ */ g.jsx(
60419
60424
  Os,
60420
60425
  {
60421
60426
  schema: R,
60422
- value: M,
60427
+ value: I,
60423
60428
  onChange: (B) => x(S, B),
60424
60429
  path: [S],
60425
60430
  level: 1,