@scbt-ecom/ui 0.59.1 → 0.60.0

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.
package/dist/ui.js CHANGED
@@ -1,12 +1,13 @@
1
- import { j as m, c as We, R as Ye, B as D, u as Je, a as Qe, b as Ze, d as et, P as k, e as ve, f as tt, I as nt, g as U, h as ot, A as rt, H as it, i as j, k as lt, m as me, D as ut, V as st, O as at } from "./index-mSNqlGXI.js";
2
- import { n as Un, C as Kn, t as Xn, s as Wn, o as Yn, K as Jn, L as Qn, N as Zn, l as eo, p as to, q as no, S as oo, U as ro, r as io, v as lo } from "./index-mSNqlGXI.js";
3
- import * as P from "react";
4
- import { forwardRef as E, useState as he, useEffect as gt } from "react";
5
- import { c as w, T as Se } from "./typeGuards-Bhdr9KYW.js";
6
- import { D as so, d as ao, f as go, b as co, a as fo } from "./utils-Cc0awqbk.js";
7
- import { createPortal as dt } from "react-dom";
8
- import { a as xe } from "./useDebounce-QgEEiWs9.js";
9
- const ct = We(
1
+ import { j as p, c as Qe, R as et, B as D, u as tt, a as nt, b as ot, d as rt, P as U, e as Fe, f as it, I as lt, g as X, h as ut, A as st, H as at, i as z, k as gt, m as Ce, D as dt, V as ct, O as ft } from "./index-CTkhWiic.js";
2
+ import { n as oo, C as ro, t as io, s as lo, o as uo, K as so, L as ao, N as go, l as co, p as fo, q as po, U as mo, r as ho, v as So } from "./index-CTkhWiic.js";
3
+ import * as E from "react";
4
+ import { forwardRef as M, useState as we, useEffect as pt, isValidElement as k, cloneElement as ye, Children as G } from "react";
5
+ import { c as w, T as Re } from "./typeGuards-Bhdr9KYW.js";
6
+ import { D as wo, d as Ro, f as vo, b as xo, a as _o } from "./utils-Cc0awqbk.js";
7
+ import { createPortal as mt } from "react-dom";
8
+ import { a as $e } from "./useDebounce-QgEEiWs9.js";
9
+ import { m as ht } from "./mergeRefs-qDToYXtM.js";
10
+ const St = Qe(
10
11
  "group flex items-center justify-center cursor-pointer rounded-full outline-offset-[3px] outline-transparent outline-2 transition duration-12 active:scale-[0.97] disabled:pointer-events-none",
11
12
  {
12
13
  variants: {
@@ -26,10 +27,10 @@ const ct = We(
26
27
  size: "lg"
27
28
  }
28
29
  }
29
- ), Ln = E(
30
- ({ size: e, intent: o, children: t, classes: n, type: r = "button", ...i }, l) => /* @__PURE__ */ m.jsx("button", { ref: l, type: r, className: w(ct({ intent: o, size: e }), n == null ? void 0 : n.button), ...i, children: /* @__PURE__ */ m.jsx("span", { className: w(n == null ? void 0 : n.icon), children: t }) })
31
- ), Hn = ({ className: e }) => /* @__PURE__ */ m.jsx("div", { className: w("skeleton-apply h-full w-full", e) }), An = ({ isVisible: e, classes: o, children: t, buttonProps: n }) => /* @__PURE__ */ m.jsxs(
32
- Ye,
30
+ ), kn = M(
31
+ ({ size: e, intent: o, children: t, classes: n, type: r = "button", ...i }, l) => /* @__PURE__ */ p.jsx("button", { ref: l, type: r, className: w(St({ intent: o, size: e }), n == null ? void 0 : n.button), ...i, children: /* @__PURE__ */ p.jsx("span", { className: w(n == null ? void 0 : n.icon), children: t }) })
32
+ ), qn = ({ className: e }) => /* @__PURE__ */ p.jsx("div", { className: w("skeleton-apply h-full w-full", e) }), Un = ({ isVisible: e, classes: o, children: t, buttonProps: n }) => /* @__PURE__ */ p.jsxs(
33
+ et,
33
34
  {
34
35
  className: w(
35
36
  "fixed bottom-0 left-1/2 z-[60] w-full max-w-[604px] -translate-x-1/2 translate-y-0 rounded-t-lg bg-color-white px-6 py-4 shadow-[0px_-6px_8px_0px_#2929290A] transition-transform duration-1000 desktop:hidden",
@@ -38,10 +39,10 @@ const ct = We(
38
39
  ),
39
40
  children: [
40
41
  t,
41
- /* @__PURE__ */ m.jsx(D, { size: "lg", className: w("m-auto w-full", o == null ? void 0 : o.button), ...n, children: "Оформить заявку" })
42
+ /* @__PURE__ */ p.jsx(D, { size: "lg", className: w("m-auto w-full", o == null ? void 0 : o.button), ...n, children: "Оформить заявку" })
42
43
  ]
43
44
  }
44
- ), bn = {
45
+ ), Kn = {
45
46
  group: {
46
47
  arrows: ["arrows/arrowCircle", "arrows/arrowLink", "arrows/arrowRight", "arrows/arrowRotate", "arrows/arrowScroll"],
47
48
  brandLogos: [
@@ -139,9 +140,9 @@ const ct = We(
139
140
  "status/iconUser"
140
141
  ]
141
142
  };
142
- var le = "Tabs", [ft, Gn] = Ze(le, [
143
- ve
144
- ]), _e = ve(), [pt, ue] = ft(le), Fe = P.forwardRef(
143
+ var ae = "Tabs", [Ct, Xn] = ot(ae, [
144
+ Fe
145
+ ]), Ve = Fe(), [wt, ge] = Ct(ae), Me = E.forwardRef(
145
146
  (e, o) => {
146
147
  const {
147
148
  __scopeTabs: t,
@@ -152,23 +153,23 @@ var le = "Tabs", [ft, Gn] = Ze(le, [
152
153
  dir: u,
153
154
  activationMode: s = "automatic",
154
155
  ...g
155
- } = e, d = Je(u), [f, c] = Qe({
156
+ } = e, d = tt(u), [f, c] = nt({
156
157
  prop: n,
157
158
  onChange: r,
158
159
  defaultProp: i
159
160
  });
160
- return /* @__PURE__ */ m.jsx(
161
- pt,
161
+ return /* @__PURE__ */ p.jsx(
162
+ wt,
162
163
  {
163
164
  scope: t,
164
- baseId: et(),
165
+ baseId: rt(),
165
166
  value: f,
166
167
  onValueChange: c,
167
168
  orientation: l,
168
169
  dir: d,
169
170
  activationMode: s,
170
- children: /* @__PURE__ */ m.jsx(
171
- k.div,
171
+ children: /* @__PURE__ */ p.jsx(
172
+ U.div,
172
173
  {
173
174
  dir: d,
174
175
  "data-orientation": l,
@@ -180,20 +181,20 @@ var le = "Tabs", [ft, Gn] = Ze(le, [
180
181
  );
181
182
  }
182
183
  );
183
- Fe.displayName = le;
184
- var ye = "TabsList", $e = P.forwardRef(
184
+ Me.displayName = ae;
185
+ var Ie = "TabsList", Pe = E.forwardRef(
185
186
  (e, o) => {
186
- const { __scopeTabs: t, loop: n = !0, ...r } = e, i = ue(ye, t), l = _e(t);
187
- return /* @__PURE__ */ m.jsx(
188
- tt,
187
+ const { __scopeTabs: t, loop: n = !0, ...r } = e, i = ge(Ie, t), l = Ve(t);
188
+ return /* @__PURE__ */ p.jsx(
189
+ it,
189
190
  {
190
191
  asChild: !0,
191
192
  ...l,
192
193
  orientation: i.orientation,
193
194
  dir: i.dir,
194
195
  loop: n,
195
- children: /* @__PURE__ */ m.jsx(
196
- k.div,
196
+ children: /* @__PURE__ */ p.jsx(
197
+ U.div,
197
198
  {
198
199
  role: "tablist",
199
200
  "aria-orientation": i.orientation,
@@ -205,19 +206,19 @@ var ye = "TabsList", $e = P.forwardRef(
205
206
  );
206
207
  }
207
208
  );
208
- $e.displayName = ye;
209
- var Ve = "TabsTrigger", Me = P.forwardRef(
209
+ Pe.displayName = Ie;
210
+ var Ee = "TabsTrigger", De = E.forwardRef(
210
211
  (e, o) => {
211
- const { __scopeTabs: t, value: n, disabled: r = !1, ...i } = e, l = ue(Ve, t), u = _e(t), s = Ee(l.baseId, n), g = De(l.baseId, n), d = n === l.value;
212
- return /* @__PURE__ */ m.jsx(
213
- nt,
212
+ const { __scopeTabs: t, value: n, disabled: r = !1, ...i } = e, l = ge(Ee, t), u = Ve(t), s = Ae(l.baseId, n), g = He(l.baseId, n), d = n === l.value;
213
+ return /* @__PURE__ */ p.jsx(
214
+ lt,
214
215
  {
215
216
  asChild: !0,
216
217
  ...u,
217
218
  focusable: !r,
218
219
  active: d,
219
- children: /* @__PURE__ */ m.jsx(
220
- k.button,
220
+ children: /* @__PURE__ */ p.jsx(
221
+ U.button,
221
222
  {
222
223
  type: "button",
223
224
  role: "tab",
@@ -229,13 +230,13 @@ var Ve = "TabsTrigger", Me = P.forwardRef(
229
230
  id: s,
230
231
  ...i,
231
232
  ref: o,
232
- onMouseDown: U(e.onMouseDown, (f) => {
233
+ onMouseDown: X(e.onMouseDown, (f) => {
233
234
  !r && f.button === 0 && f.ctrlKey === !1 ? l.onValueChange(n) : f.preventDefault();
234
235
  }),
235
- onKeyDown: U(e.onKeyDown, (f) => {
236
+ onKeyDown: X(e.onKeyDown, (f) => {
236
237
  [" ", "Enter"].includes(f.key) && l.onValueChange(n);
237
238
  }),
238
- onFocus: U(e.onFocus, () => {
239
+ onFocus: X(e.onFocus, () => {
239
240
  const f = l.activationMode !== "manual";
240
241
  !d && !r && f && l.onValueChange(n);
241
242
  })
@@ -245,15 +246,15 @@ var Ve = "TabsTrigger", Me = P.forwardRef(
245
246
  );
246
247
  }
247
248
  );
248
- Me.displayName = Ve;
249
- var Ie = "TabsContent", Pe = P.forwardRef(
249
+ De.displayName = Ee;
250
+ var Le = "TabsContent", be = E.forwardRef(
250
251
  (e, o) => {
251
- const { __scopeTabs: t, value: n, forceMount: r, children: i, ...l } = e, u = ue(Ie, t), s = Ee(u.baseId, n), g = De(u.baseId, n), d = n === u.value, f = P.useRef(d);
252
- return P.useEffect(() => {
252
+ const { __scopeTabs: t, value: n, forceMount: r, children: i, ...l } = e, u = ge(Le, t), s = Ae(u.baseId, n), g = He(u.baseId, n), d = n === u.value, f = E.useRef(d);
253
+ return E.useEffect(() => {
253
254
  const c = requestAnimationFrame(() => f.current = !1);
254
255
  return () => cancelAnimationFrame(c);
255
- }, []), /* @__PURE__ */ m.jsx(ot, { present: r || d, children: ({ present: c }) => /* @__PURE__ */ m.jsx(
256
- k.div,
256
+ }, []), /* @__PURE__ */ p.jsx(ut, { present: r || d, children: ({ present: c }) => /* @__PURE__ */ p.jsx(
257
+ U.div,
257
258
  {
258
259
  "data-state": d ? "active" : "inactive",
259
260
  "data-orientation": u.orientation,
@@ -273,26 +274,26 @@ var Ie = "TabsContent", Pe = P.forwardRef(
273
274
  ) });
274
275
  }
275
276
  );
276
- Pe.displayName = Ie;
277
- function Ee(e, o) {
277
+ be.displayName = Le;
278
+ function Ae(e, o) {
278
279
  return `${e}-trigger-${o}`;
279
280
  }
280
- function De(e, o) {
281
+ function He(e, o) {
281
282
  return `${e}-content-${o}`;
282
283
  }
283
- var mt = Fe, ht = $e, St = Me, Ce = Pe;
284
- const Ct = ({ classes: e, contents: o }) => /* @__PURE__ */ m.jsx("div", { className: w("flex flex-col gap-4", e == null ? void 0 : e.contentsWrapper), children: o == null ? void 0 : o.map(({ id: t, body: n, accordion: r }) => r && (r != null && r.title) ? /* @__PURE__ */ m.jsx(Ce, { value: t, className: w("py-8", e == null ? void 0 : e.content), children: /* @__PURE__ */ m.jsx(rt, { label: r == null ? void 0 : r.title, children: n }) }, t) : /* @__PURE__ */ m.jsx(Ce, { value: t, className: w("py-8", e == null ? void 0 : e.content), children: n }, t)) }), jn = ({ renderContent: e, defaultActiveTabId: o = "1", value: t, onChangeTab: n, classes: r }) => {
284
+ var Rt = Me, vt = Pe, xt = De, ve = be;
285
+ const _t = ({ classes: e, contents: o }) => /* @__PURE__ */ p.jsx("div", { className: w("flex flex-col gap-4", e == null ? void 0 : e.contentsWrapper), children: o == null ? void 0 : o.map(({ id: t, body: n, accordion: r }) => r && (r != null && r.title) ? /* @__PURE__ */ p.jsx(ve, { value: t, className: w("py-8", e == null ? void 0 : e.content), children: /* @__PURE__ */ p.jsx(st, { label: r == null ? void 0 : r.title, children: n }) }, t) : /* @__PURE__ */ p.jsx(ve, { value: t, className: w("py-8", e == null ? void 0 : e.content), children: n }, t)) }), Wn = ({ renderContent: e, defaultActiveTabId: o = "1", value: t, onChangeTab: n, classes: r }) => {
285
286
  var i;
286
- return /* @__PURE__ */ m.jsxs(
287
- mt,
287
+ return /* @__PURE__ */ p.jsxs(
288
+ Rt,
288
289
  {
289
290
  value: t,
290
291
  onValueChange: n,
291
292
  defaultValue: o,
292
293
  className: w("flex flex-col", r == null ? void 0 : r.root),
293
294
  children: [
294
- /* @__PURE__ */ m.jsx(ht, { className: w("flex items-center gap-4", r == null ? void 0 : r.list), children: (i = e == null ? void 0 : e.triggers) == null ? void 0 : i.map(({ id: l, label: u }) => /* @__PURE__ */ m.jsx(
295
- St,
295
+ /* @__PURE__ */ p.jsx(vt, { className: w("flex items-center gap-4", r == null ? void 0 : r.list), children: (i = e == null ? void 0 : e.triggers) == null ? void 0 : i.map(({ id: l, label: u }) => /* @__PURE__ */ p.jsx(
296
+ xt,
296
297
  {
297
298
  value: l,
298
299
  className: w(
@@ -303,31 +304,31 @@ const Ct = ({ classes: e, contents: o }) => /* @__PURE__ */ m.jsx("div", { class
303
304
  },
304
305
  l
305
306
  )) }),
306
- /* @__PURE__ */ m.jsx(Ct, { contents: e == null ? void 0 : e.contents, classes: r == null ? void 0 : r.tabContent })
307
+ /* @__PURE__ */ p.jsx(_t, { contents: e == null ? void 0 : e.contents, classes: r == null ? void 0 : r.tabContent })
307
308
  ]
308
309
  }
309
310
  );
310
- }, wt = {
311
+ }, Ft = {
311
312
  initial: { opacity: 0 },
312
313
  animate: { opacity: 1 },
313
314
  exit: { opacity: 0 },
314
315
  transition: { duration: 0.3, ease: "easeInOut" }
315
- }, Rt = {
316
+ }, yt = {
316
317
  initial: { opacity: 0, scale: 0 },
317
318
  animate: { opacity: 1, scale: 1 },
318
319
  exit: { opacity: 0, scale: 0 },
319
320
  transition: { duration: 0.3, ease: "easeInOut" }
320
- }, vt = ({ title: e, closeModal: o, classes: t }) => /* @__PURE__ */ m.jsxs("div", { className: w("flex items-start justify-between gap-4", t == null ? void 0 : t.header), children: [
321
- e && /* @__PURE__ */ m.jsx(it, { as: "h3", className: w("flex-1 text-color-dark", t == null ? void 0 : t.title), children: e }),
322
- /* @__PURE__ */ m.jsx(
323
- j,
321
+ }, $t = ({ title: e, closeModal: o, classes: t }) => /* @__PURE__ */ p.jsxs("div", { className: w("flex items-start justify-between gap-4", t == null ? void 0 : t.header), children: [
322
+ e && /* @__PURE__ */ p.jsx(at, { as: "h3", className: w("flex-1 text-color-dark", t == null ? void 0 : t.title), children: e }),
323
+ /* @__PURE__ */ p.jsx(
324
+ z,
324
325
  {
325
326
  onClick: o,
326
327
  name: "general/close",
327
328
  className: w("size-8 cursor-pointer text-icon-dark-hover", t == null ? void 0 : t.icon)
328
329
  }
329
330
  )
330
- ] }), zn = ({
331
+ ] }), Yn = ({
331
332
  title: e,
332
333
  children: o,
333
334
  isModalOpen: t,
@@ -337,8 +338,8 @@ const Ct = ({ classes: e, contents: o }) => /* @__PURE__ */ m.jsx("div", { class
337
338
  classes: l
338
339
  }) => {
339
340
  t ? document.body.style.overflow = "hidden" : document.body.style.overflow = "visible";
340
- const s = /* @__PURE__ */ m.jsx(lt, { children: t && /* @__PURE__ */ m.jsx(
341
- me.div,
341
+ const s = /* @__PURE__ */ p.jsx(gt, { children: t && /* @__PURE__ */ p.jsx(
342
+ Ce.div,
342
343
  {
343
344
  tabIndex: -1,
344
345
  onClick: i,
@@ -351,9 +352,9 @@ const Ct = ({ classes: e, contents: o }) => /* @__PURE__ */ m.jsx("div", { class
351
352
  g.key === "Escape" && i();
352
353
  },
353
354
  "data-test-id": "modal-overlay",
354
- ...wt,
355
- children: /* @__PURE__ */ m.jsxs(
356
- me.div,
355
+ ...Ft,
356
+ children: /* @__PURE__ */ p.jsxs(
357
+ Ce.div,
357
358
  {
358
359
  onClick: (g) => g.stopPropagation(),
359
360
  className: w(
@@ -361,33 +362,33 @@ const Ct = ({ classes: e, contents: o }) => /* @__PURE__ */ m.jsx("div", { class
361
362
  l == null ? void 0 : l.modal
362
363
  ),
363
364
  "data-test-id": "modal",
364
- ...Rt,
365
+ ...yt,
365
366
  children: [
366
- /* @__PURE__ */ m.jsx(vt, { title: e, closeModal: i, classes: l == null ? void 0 : l.modalHeader }),
367
- /* @__PURE__ */ m.jsx("div", { className: w("mt-4", l == null ? void 0 : l.content), children: o })
367
+ /* @__PURE__ */ p.jsx($t, { title: e, closeModal: i, classes: l == null ? void 0 : l.modalHeader }),
368
+ /* @__PURE__ */ p.jsx("div", { className: w("mt-4", l == null ? void 0 : l.content), children: o })
368
369
  ]
369
370
  }
370
371
  )
371
372
  }
372
373
  ) });
373
- return /* @__PURE__ */ m.jsx(m.Fragment, { children: n ? dt(s, r) : s });
374
- }, Le = E((e, o) => /* @__PURE__ */ m.jsx("table", { ref: o, ...e }));
375
- Le.displayName = "Table";
376
- const He = E((e, o) => /* @__PURE__ */ m.jsx("thead", { ref: o, ...e }));
377
- He.displayName = "TableHeader";
378
- const Ae = E((e, o) => /* @__PURE__ */ m.jsx("tbody", { ref: o, ...e }));
379
- Ae.displayName = "TableBody";
380
- const xt = E((e, o) => /* @__PURE__ */ m.jsx("tfoot", { ref: o, ...e }));
381
- xt.displayName = "TableFooter";
382
- const O = E((e, o) => /* @__PURE__ */ m.jsx("tr", { ref: o, ...e }));
383
- O.displayName = "TableRow";
384
- const be = E((e, o) => /* @__PURE__ */ m.jsx("th", { ref: o, ...e }));
385
- be.displayName = "TableHead";
386
- const ee = E((e, o) => /* @__PURE__ */ m.jsx("td", { ref: o, ...e }));
387
- ee.displayName = "TableCell";
388
- const _t = E((e, o) => /* @__PURE__ */ m.jsx("caption", { ref: o, ...e }));
389
- _t.displayName = "TableCaption";
390
- const Ft = ({
374
+ return /* @__PURE__ */ p.jsx(p.Fragment, { children: n ? mt(s, r) : s });
375
+ }, Ge = M((e, o) => /* @__PURE__ */ p.jsx("table", { ref: o, ...e }));
376
+ Ge.displayName = "Table";
377
+ const je = M((e, o) => /* @__PURE__ */ p.jsx("thead", { ref: o, ...e }));
378
+ je.displayName = "TableHeader";
379
+ const ze = M((e, o) => /* @__PURE__ */ p.jsx("tbody", { ref: o, ...e }));
380
+ ze.displayName = "TableBody";
381
+ const Vt = M((e, o) => /* @__PURE__ */ p.jsx("tfoot", { ref: o, ...e }));
382
+ Vt.displayName = "TableFooter";
383
+ const B = M((e, o) => /* @__PURE__ */ p.jsx("tr", { ref: o, ...e }));
384
+ B.displayName = "TableRow";
385
+ const Ne = M((e, o) => /* @__PURE__ */ p.jsx("th", { ref: o, ...e }));
386
+ Ne.displayName = "TableHead";
387
+ const ne = M((e, o) => /* @__PURE__ */ p.jsx("td", { ref: o, ...e }));
388
+ ne.displayName = "TableCell";
389
+ const Mt = M((e, o) => /* @__PURE__ */ p.jsx("caption", { ref: o, ...e }));
390
+ Mt.displayName = "TableCaption";
391
+ const It = ({
391
392
  children: e,
392
393
  canSort: o,
393
394
  toggleSorting: t,
@@ -395,8 +396,8 @@ const Ft = ({
395
396
  isSorted: r,
396
397
  classes: i
397
398
  }) => {
398
- const { root: l, content: u, icon: s } = i || {}, { isDesktop: g } = xe(), d = o && g;
399
- return /* @__PURE__ */ m.jsxs(
399
+ const { root: l, content: u, icon: s } = i || {}, { isDesktop: g } = $e(), d = o && g;
400
+ return /* @__PURE__ */ p.jsxs(
400
401
  "button",
401
402
  {
402
403
  type: "button",
@@ -404,9 +405,9 @@ const Ft = ({
404
405
  onClick: () => t(!r),
405
406
  disabled: !d,
406
407
  children: [
407
- /* @__PURE__ */ m.jsx("span", { className: w("", u), children: e }),
408
- d && /* @__PURE__ */ m.jsx(
409
- j,
408
+ /* @__PURE__ */ p.jsx("span", { className: w("", u), children: e }),
409
+ d && /* @__PURE__ */ p.jsx(
410
+ z,
410
411
  {
411
412
  name: "arrows/arrowRight",
412
413
  className: w(
@@ -432,7 +433,7 @@ const Ft = ({
432
433
  *
433
434
  * @license MIT
434
435
  */
435
- function yt() {
436
+ function Pt() {
436
437
  return {
437
438
  accessor: (e, o) => typeof e == "function" ? {
438
439
  ...o,
@@ -456,13 +457,13 @@ function $(e, o) {
456
457
  }));
457
458
  };
458
459
  }
459
- function q(e) {
460
+ function K(e) {
460
461
  return e instanceof Function;
461
462
  }
462
- function $t(e) {
463
+ function Et(e) {
463
464
  return Array.isArray(e) && e.every((o) => typeof o == "number");
464
465
  }
465
- function Vt(e, o) {
466
+ function Dt(e, o) {
466
467
  const t = [], n = (r) => {
467
468
  r.forEach((i) => {
468
469
  t.push(i);
@@ -483,10 +484,10 @@ function S(e, o, t) {
483
484
  n = u;
484
485
  let g;
485
486
  if (t.key && t.debug && (g = Date.now()), r = o(...u), t == null || t.onChange == null || t.onChange(r), t.key && t.debug && t != null && t.debug()) {
486
- const d = Math.round((Date.now() - l) * 100) / 100, f = Math.round((Date.now() - g) * 100) / 100, c = f / 16, a = (p, h) => {
487
- for (p = String(p); p.length < h; )
488
- p = " " + p;
489
- return p;
487
+ const d = Math.round((Date.now() - l) * 100) / 100, f = Math.round((Date.now() - g) * 100) / 100, c = f / 16, a = (m, h) => {
488
+ for (m = String(m); m.length < h; )
489
+ m = " " + m;
490
+ return m;
490
491
  };
491
492
  console.info(`%c⏱ ${a(f, 5)} /${a(d, 5)} ms`, `
492
493
  font-size: .6rem;
@@ -506,7 +507,7 @@ function C(e, o, t, n) {
506
507
  onChange: n
507
508
  };
508
509
  }
509
- function Mt(e, o, t, n) {
510
+ function Lt(e, o, t, n) {
510
511
  const r = () => {
511
512
  var l;
512
513
  return (l = i.getValue()) != null ? l : e.options.renderFallbackValue;
@@ -529,7 +530,7 @@ function Mt(e, o, t, n) {
529
530
  l.createCell == null || l.createCell(i, t, o, e);
530
531
  }, {}), i;
531
532
  }
532
- function It(e, o, t, n) {
533
+ function bt(e, o, t, n) {
533
534
  var r, i;
534
535
  const u = {
535
536
  ...e._getDefaultColumnDef(),
@@ -539,8 +540,8 @@ function It(e, o, t, n) {
539
540
  if (u.accessorFn ? d = u.accessorFn : s && (s.includes(".") ? d = (c) => {
540
541
  let a = c;
541
542
  for (const h of s.split(".")) {
542
- var p;
543
- a = (p = a) == null ? void 0 : p[h], process.env.NODE_ENV !== "production" && a === void 0 && console.warn(`"${h}" in deeply nested key "${s}" returned undefined.`);
543
+ var m;
544
+ a = (m = a) == null ? void 0 : m[h], process.env.NODE_ENV !== "production" && a === void 0 && console.warn(`"${h}" in deeply nested key "${s}" returned undefined.`);
544
545
  }
545
546
  return a;
546
547
  } : d = (c) => c[u.accessorKey]), !g)
@@ -559,8 +560,8 @@ function It(e, o, t, n) {
559
560
  getLeafColumns: S(() => [e._getOrderColumnsFn()], (c) => {
560
561
  var a;
561
562
  if ((a = f.columns) != null && a.length) {
562
- let p = f.columns.flatMap((h) => h.getLeafColumns());
563
- return c(p);
563
+ let m = f.columns.flatMap((h) => h.getLeafColumns());
564
+ return c(m);
564
565
  }
565
566
  return [f];
566
567
  }, C(e.options, "debugColumns", "column.getLeafColumns"))
@@ -570,7 +571,7 @@ function It(e, o, t, n) {
570
571
  return f;
571
572
  }
572
573
  const F = "debugHeaders";
573
- function we(e, o, t) {
574
+ function xe(e, o, t) {
574
575
  var n;
575
576
  let i = {
576
577
  id: (n = t.id) != null ? n : o.id,
@@ -599,20 +600,20 @@ function we(e, o, t) {
599
600
  l.createHeader == null || l.createHeader(i, e);
600
601
  }), i;
601
602
  }
602
- const Pt = {
603
+ const At = {
603
604
  createTable: (e) => {
604
605
  e.getHeaderGroups = S(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (o, t, n, r) => {
605
606
  var i, l;
606
607
  const u = (i = n == null ? void 0 : n.map((f) => t.find((c) => c.id === f)).filter(Boolean)) != null ? i : [], s = (l = r == null ? void 0 : r.map((f) => t.find((c) => c.id === f)).filter(Boolean)) != null ? l : [], g = t.filter((f) => !(n != null && n.includes(f.id)) && !(r != null && r.includes(f.id)));
607
- return z(o, [...u, ...g, ...s], e);
608
- }, C(e.options, F, "getHeaderGroups")), e.getCenterHeaderGroups = S(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (o, t, n, r) => (t = t.filter((i) => !(n != null && n.includes(i.id)) && !(r != null && r.includes(i.id))), z(o, t, e, "center")), C(e.options, F, "getCenterHeaderGroups")), e.getLeftHeaderGroups = S(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (o, t, n) => {
608
+ return N(o, [...u, ...g, ...s], e);
609
+ }, C(e.options, F, "getHeaderGroups")), e.getCenterHeaderGroups = S(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (o, t, n, r) => (t = t.filter((i) => !(n != null && n.includes(i.id)) && !(r != null && r.includes(i.id))), N(o, t, e, "center")), C(e.options, F, "getCenterHeaderGroups")), e.getLeftHeaderGroups = S(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (o, t, n) => {
609
610
  var r;
610
611
  const i = (r = n == null ? void 0 : n.map((l) => t.find((u) => u.id === l)).filter(Boolean)) != null ? r : [];
611
- return z(o, i, e, "left");
612
+ return N(o, i, e, "left");
612
613
  }, C(e.options, F, "getLeftHeaderGroups")), e.getRightHeaderGroups = S(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.right], (o, t, n) => {
613
614
  var r;
614
615
  const i = (r = n == null ? void 0 : n.map((l) => t.find((u) => u.id === l)).filter(Boolean)) != null ? r : [];
615
- return z(o, i, e, "right");
616
+ return N(o, i, e, "right");
616
617
  }, C(e.options, F, "getRightHeaderGroups")), e.getFooterGroups = S(() => [e.getHeaderGroups()], (o) => [...o].reverse(), C(e.options, F, "getFooterGroups")), e.getLeftFooterGroups = S(() => [e.getLeftHeaderGroups()], (o) => [...o].reverse(), C(e.options, F, "getLeftFooterGroups")), e.getCenterFooterGroups = S(() => [e.getCenterHeaderGroups()], (o) => [...o].reverse(), C(e.options, F, "getCenterFooterGroups")), e.getRightFooterGroups = S(() => [e.getRightHeaderGroups()], (o) => [...o].reverse(), C(e.options, F, "getRightFooterGroups")), e.getFlatHeaders = S(() => [e.getHeaderGroups()], (o) => o.map((t) => t.headers).flat(), C(e.options, F, "getFlatHeaders")), e.getLeftFlatHeaders = S(() => [e.getLeftHeaderGroups()], (o) => o.map((t) => t.headers).flat(), C(e.options, F, "getLeftFlatHeaders")), e.getCenterFlatHeaders = S(() => [e.getCenterHeaderGroups()], (o) => o.map((t) => t.headers).flat(), C(e.options, F, "getCenterFlatHeaders")), e.getRightFlatHeaders = S(() => [e.getRightHeaderGroups()], (o) => o.map((t) => t.headers).flat(), C(e.options, F, "getRightFlatHeaders")), e.getCenterLeafHeaders = S(() => [e.getCenterFlatHeaders()], (o) => o.filter((t) => {
617
618
  var n;
618
619
  return !((n = t.subHeaders) != null && n.length);
@@ -628,63 +629,63 @@ const Pt = {
628
629
  }, C(e.options, F, "getLeafHeaders"));
629
630
  }
630
631
  };
631
- function z(e, o, t, n) {
632
+ function N(e, o, t, n) {
632
633
  var r, i;
633
634
  let l = 0;
634
635
  const u = function(c, a) {
635
- a === void 0 && (a = 1), l = Math.max(l, a), c.filter((p) => p.getIsVisible()).forEach((p) => {
636
+ a === void 0 && (a = 1), l = Math.max(l, a), c.filter((m) => m.getIsVisible()).forEach((m) => {
636
637
  var h;
637
- (h = p.columns) != null && h.length && u(p.columns, a + 1);
638
+ (h = m.columns) != null && h.length && u(m.columns, a + 1);
638
639
  }, 0);
639
640
  };
640
641
  u(e);
641
642
  let s = [];
642
643
  const g = (c, a) => {
643
- const p = {
644
+ const m = {
644
645
  depth: a,
645
646
  id: [n, `${a}`].filter(Boolean).join("_"),
646
647
  headers: []
647
648
  }, h = [];
648
649
  c.forEach((R) => {
649
- const v = [...h].reverse()[0], x = R.column.depth === p.depth;
650
- let _, M = !1;
651
- if (x && R.column.parent ? _ = R.column.parent : (_ = R.column, M = !0), v && (v == null ? void 0 : v.column) === _)
650
+ const v = [...h].reverse()[0], x = R.column.depth === m.depth;
651
+ let _, I = !1;
652
+ if (x && R.column.parent ? _ = R.column.parent : (_ = R.column, I = !0), v && (v == null ? void 0 : v.column) === _)
652
653
  v.subHeaders.push(R);
653
654
  else {
654
- const y = we(t, _, {
655
+ const y = xe(t, _, {
655
656
  id: [n, a, _.id, R == null ? void 0 : R.id].filter(Boolean).join("_"),
656
- isPlaceholder: M,
657
- placeholderId: M ? `${h.filter((A) => A.column === _).length}` : void 0,
657
+ isPlaceholder: I,
658
+ placeholderId: I ? `${h.filter((A) => A.column === _).length}` : void 0,
658
659
  depth: a,
659
660
  index: h.length
660
661
  });
661
662
  y.subHeaders.push(R), h.push(y);
662
663
  }
663
- p.headers.push(R), R.headerGroup = p;
664
- }), s.push(p), a > 0 && g(h, a - 1);
665
- }, d = o.map((c, a) => we(t, c, {
664
+ m.headers.push(R), R.headerGroup = m;
665
+ }), s.push(m), a > 0 && g(h, a - 1);
666
+ }, d = o.map((c, a) => xe(t, c, {
666
667
  depth: l,
667
668
  index: a
668
669
  }));
669
670
  g(d, l - 1), s.reverse();
670
- const f = (c) => c.filter((p) => p.column.getIsVisible()).map((p) => {
671
+ const f = (c) => c.filter((m) => m.column.getIsVisible()).map((m) => {
671
672
  let h = 0, R = 0, v = [0];
672
- p.subHeaders && p.subHeaders.length ? (v = [], f(p.subHeaders).forEach((_) => {
673
+ m.subHeaders && m.subHeaders.length ? (v = [], f(m.subHeaders).forEach((_) => {
673
674
  let {
674
- colSpan: M,
675
+ colSpan: I,
675
676
  rowSpan: y
676
677
  } = _;
677
- h += M, v.push(y);
678
+ h += I, v.push(y);
678
679
  })) : h = 1;
679
680
  const x = Math.min(...v);
680
- return R = R + x, p.colSpan = h, p.rowSpan = R, {
681
+ return R = R + x, m.colSpan = h, m.rowSpan = R, {
681
682
  colSpan: h,
682
683
  rowSpan: R
683
684
  };
684
685
  });
685
686
  return f((r = (i = s[0]) == null ? void 0 : i.headers) != null ? r : []), s;
686
687
  }
687
- const se = (e, o, t, n, r, i, l) => {
688
+ const de = (e, o, t, n, r, i, l) => {
688
689
  let u = {
689
690
  id: o,
690
691
  index: n,
@@ -712,7 +713,7 @@ const se = (e, o, t, n, r, i, l) => {
712
713
  return (g = u.getValue(s)) != null ? g : e.options.renderFallbackValue;
713
714
  },
714
715
  subRows: [],
715
- getLeafRows: () => Vt(u.subRows, (s) => s.subRows),
716
+ getLeafRows: () => Dt(u.subRows, (s) => s.subRows),
716
717
  getParentRow: () => u.parentId ? e.getRow(u.parentId, !0) : void 0,
717
718
  getParentRows: () => {
718
719
  let s = [], g = u;
@@ -723,7 +724,7 @@ const se = (e, o, t, n, r, i, l) => {
723
724
  }
724
725
  return s.reverse();
725
726
  },
726
- getAllCells: S(() => [e.getAllLeafColumns()], (s) => s.map((g) => Mt(e, u, g, g.id)), C(e.options, "debugRows", "getAllCells")),
727
+ getAllCells: S(() => [e.getAllLeafColumns()], (s) => s.map((g) => Lt(e, u, g, g.id)), C(e.options, "debugRows", "getAllCells")),
727
728
  _getAllCellsByColumnId: S(() => [u.getAllCells()], (s) => s.reduce((g, d) => (g[d.column.id] = d, g), {}), C(e.options, "debugRows", "getAllCellsByColumnId"))
728
729
  };
729
730
  for (let s = 0; s < e._features.length; s++) {
@@ -731,54 +732,54 @@ const se = (e, o, t, n, r, i, l) => {
731
732
  g == null || g.createRow == null || g.createRow(u, e);
732
733
  }
733
734
  return u;
734
- }, Et = {
735
+ }, Ht = {
735
736
  createColumn: (e, o) => {
736
737
  e._getFacetedRowModel = o.options.getFacetedRowModel && o.options.getFacetedRowModel(o, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : o.getPreFilteredRowModel(), e._getFacetedUniqueValues = o.options.getFacetedUniqueValues && o.options.getFacetedUniqueValues(o, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = o.options.getFacetedMinMaxValues && o.options.getFacetedMinMaxValues(o, e.id), e.getFacetedMinMaxValues = () => {
737
738
  if (e._getFacetedMinMaxValues)
738
739
  return e._getFacetedMinMaxValues();
739
740
  };
740
741
  }
741
- }, Ge = (e, o, t) => {
742
+ }, Te = (e, o, t) => {
742
743
  var n, r;
743
744
  const i = t == null || (n = t.toString()) == null ? void 0 : n.toLowerCase();
744
745
  return !!(!((r = e.getValue(o)) == null || (r = r.toString()) == null || (r = r.toLowerCase()) == null) && r.includes(i));
745
746
  };
746
- Ge.autoRemove = (e) => V(e);
747
- const je = (e, o, t) => {
747
+ Te.autoRemove = (e) => V(e);
748
+ const Oe = (e, o, t) => {
748
749
  var n;
749
750
  return !!(!((n = e.getValue(o)) == null || (n = n.toString()) == null) && n.includes(t));
750
751
  };
751
- je.autoRemove = (e) => V(e);
752
- const ze = (e, o, t) => {
752
+ Oe.autoRemove = (e) => V(e);
753
+ const Be = (e, o, t) => {
753
754
  var n;
754
755
  return ((n = e.getValue(o)) == null || (n = n.toString()) == null ? void 0 : n.toLowerCase()) === (t == null ? void 0 : t.toLowerCase());
755
756
  };
756
- ze.autoRemove = (e) => V(e);
757
- const Ne = (e, o, t) => {
757
+ Be.autoRemove = (e) => V(e);
758
+ const ke = (e, o, t) => {
758
759
  var n;
759
760
  return (n = e.getValue(o)) == null ? void 0 : n.includes(t);
760
761
  };
761
- Ne.autoRemove = (e) => V(e);
762
- const Te = (e, o, t) => !t.some((n) => {
762
+ ke.autoRemove = (e) => V(e);
763
+ const qe = (e, o, t) => !t.some((n) => {
763
764
  var r;
764
765
  return !((r = e.getValue(o)) != null && r.includes(n));
765
766
  });
766
- Te.autoRemove = (e) => V(e) || !(e != null && e.length);
767
- const Oe = (e, o, t) => t.some((n) => {
767
+ qe.autoRemove = (e) => V(e) || !(e != null && e.length);
768
+ const Ue = (e, o, t) => t.some((n) => {
768
769
  var r;
769
770
  return (r = e.getValue(o)) == null ? void 0 : r.includes(n);
770
771
  });
771
- Oe.autoRemove = (e) => V(e) || !(e != null && e.length);
772
- const Be = (e, o, t) => e.getValue(o) === t;
773
- Be.autoRemove = (e) => V(e);
774
- const ke = (e, o, t) => e.getValue(o) == t;
775
- ke.autoRemove = (e) => V(e);
776
- const ae = (e, o, t) => {
772
+ Ue.autoRemove = (e) => V(e) || !(e != null && e.length);
773
+ const Ke = (e, o, t) => e.getValue(o) === t;
774
+ Ke.autoRemove = (e) => V(e);
775
+ const Xe = (e, o, t) => e.getValue(o) == t;
776
+ Xe.autoRemove = (e) => V(e);
777
+ const ce = (e, o, t) => {
777
778
  let [n, r] = t;
778
779
  const i = e.getValue(o);
779
780
  return i >= n && i <= r;
780
781
  };
781
- ae.resolveFilterValue = (e) => {
782
+ ce.resolveFilterValue = (e) => {
782
783
  let [o, t] = e, n = typeof o != "number" ? parseFloat(o) : o, r = typeof t != "number" ? parseFloat(t) : t, i = o === null || Number.isNaN(n) ? -1 / 0 : n, l = t === null || Number.isNaN(r) ? 1 / 0 : r;
783
784
  if (i > l) {
784
785
  const u = i;
@@ -786,22 +787,22 @@ ae.resolveFilterValue = (e) => {
786
787
  }
787
788
  return [i, l];
788
789
  };
789
- ae.autoRemove = (e) => V(e) || V(e[0]) && V(e[1]);
790
- const I = {
791
- includesString: Ge,
792
- includesStringSensitive: je,
793
- equalsString: ze,
794
- arrIncludes: Ne,
795
- arrIncludesAll: Te,
796
- arrIncludesSome: Oe,
797
- equals: Be,
798
- weakEquals: ke,
799
- inNumberRange: ae
790
+ ce.autoRemove = (e) => V(e) || V(e[0]) && V(e[1]);
791
+ const P = {
792
+ includesString: Te,
793
+ includesStringSensitive: Oe,
794
+ equalsString: Be,
795
+ arrIncludes: ke,
796
+ arrIncludesAll: qe,
797
+ arrIncludesSome: Ue,
798
+ equals: Ke,
799
+ weakEquals: Xe,
800
+ inNumberRange: ce
800
801
  };
801
802
  function V(e) {
802
803
  return e == null || e === "";
803
804
  }
804
- const Dt = {
805
+ const Gt = {
805
806
  getDefaultColumnDef: () => ({
806
807
  filterFn: "auto"
807
808
  }),
@@ -817,12 +818,12 @@ const Dt = {
817
818
  createColumn: (e, o) => {
818
819
  e.getAutoFilterFn = () => {
819
820
  const t = o.getCoreRowModel().flatRows[0], n = t == null ? void 0 : t.getValue(e.id);
820
- return typeof n == "string" ? I.includesString : typeof n == "number" ? I.inNumberRange : typeof n == "boolean" || n !== null && typeof n == "object" ? I.equals : Array.isArray(n) ? I.arrIncludes : I.weakEquals;
821
+ return typeof n == "string" ? P.includesString : typeof n == "number" ? P.inNumberRange : typeof n == "boolean" || n !== null && typeof n == "object" ? P.equals : Array.isArray(n) ? P.arrIncludes : P.weakEquals;
821
822
  }, e.getFilterFn = () => {
822
823
  var t, n;
823
- return q(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
824
+ return K(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
824
825
  // @ts-ignore
825
- (t = (n = o.options.filterFns) == null ? void 0 : n[e.columnDef.filterFn]) != null ? t : I[e.columnDef.filterFn]
826
+ (t = (n = o.options.filterFns) == null ? void 0 : n[e.columnDef.filterFn]) != null ? t : P[e.columnDef.filterFn]
826
827
  );
827
828
  }, e.getCanFilter = () => {
828
829
  var t, n, r;
@@ -836,7 +837,7 @@ const Dt = {
836
837
  }, e.setFilterValue = (t) => {
837
838
  o.setColumnFilters((n) => {
838
839
  const r = e.getFilterFn(), i = n == null ? void 0 : n.find((d) => d.id === e.id), l = L(t, i ? i.value : void 0);
839
- if (Re(r, l, e)) {
840
+ if (_e(r, l, e)) {
840
841
  var u;
841
842
  return (u = n == null ? void 0 : n.filter((d) => d.id !== e.id)) != null ? u : [];
842
843
  }
@@ -863,7 +864,7 @@ const Dt = {
863
864
  const u = t.find((s) => s.id === l.id);
864
865
  if (u) {
865
866
  const s = u.getFilterFn();
866
- if (Re(s, l.value, u))
867
+ if (_e(s, l.value, u))
867
868
  return !1;
868
869
  }
869
870
  return !0;
@@ -876,57 +877,57 @@ const Dt = {
876
877
  }, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());
877
878
  }
878
879
  };
879
- function Re(e, o, t) {
880
+ function _e(e, o, t) {
880
881
  return (e && e.autoRemove ? e.autoRemove(o, t) : !1) || typeof o > "u" || typeof o == "string" && !o;
881
882
  }
882
- const Lt = (e, o, t) => t.reduce((n, r) => {
883
+ const jt = (e, o, t) => t.reduce((n, r) => {
883
884
  const i = r.getValue(e);
884
885
  return n + (typeof i == "number" ? i : 0);
885
- }, 0), Ht = (e, o, t) => {
886
+ }, 0), zt = (e, o, t) => {
886
887
  let n;
887
888
  return t.forEach((r) => {
888
889
  const i = r.getValue(e);
889
890
  i != null && (n > i || n === void 0 && i >= i) && (n = i);
890
891
  }), n;
891
- }, At = (e, o, t) => {
892
+ }, Nt = (e, o, t) => {
892
893
  let n;
893
894
  return t.forEach((r) => {
894
895
  const i = r.getValue(e);
895
896
  i != null && (n < i || n === void 0 && i >= i) && (n = i);
896
897
  }), n;
897
- }, bt = (e, o, t) => {
898
+ }, Tt = (e, o, t) => {
898
899
  let n, r;
899
900
  return t.forEach((i) => {
900
901
  const l = i.getValue(e);
901
902
  l != null && (n === void 0 ? l >= l && (n = r = l) : (n > l && (n = l), r < l && (r = l)));
902
903
  }), [n, r];
903
- }, Gt = (e, o) => {
904
+ }, Ot = (e, o) => {
904
905
  let t = 0, n = 0;
905
906
  if (o.forEach((r) => {
906
907
  let i = r.getValue(e);
907
908
  i != null && (i = +i) >= i && (++t, n += i);
908
909
  }), t) return n / t;
909
- }, jt = (e, o) => {
910
+ }, Bt = (e, o) => {
910
911
  if (!o.length)
911
912
  return;
912
913
  const t = o.map((i) => i.getValue(e));
913
- if (!$t(t))
914
+ if (!Et(t))
914
915
  return;
915
916
  if (t.length === 1)
916
917
  return t[0];
917
918
  const n = Math.floor(t.length / 2), r = t.sort((i, l) => i - l);
918
919
  return t.length % 2 !== 0 ? r[n] : (r[n - 1] + r[n]) / 2;
919
- }, zt = (e, o) => Array.from(new Set(o.map((t) => t.getValue(e))).values()), Nt = (e, o) => new Set(o.map((t) => t.getValue(e))).size, Tt = (e, o) => o.length, K = {
920
- sum: Lt,
921
- min: Ht,
922
- max: At,
923
- extent: bt,
924
- mean: Gt,
925
- median: jt,
926
- unique: zt,
927
- uniqueCount: Nt,
928
- count: Tt
929
- }, Ot = {
920
+ }, kt = (e, o) => Array.from(new Set(o.map((t) => t.getValue(e))).values()), qt = (e, o) => new Set(o.map((t) => t.getValue(e))).size, Ut = (e, o) => o.length, W = {
921
+ sum: jt,
922
+ min: zt,
923
+ max: Nt,
924
+ extent: Tt,
925
+ mean: Ot,
926
+ median: Bt,
927
+ unique: kt,
928
+ uniqueCount: qt,
929
+ count: Ut
930
+ }, Kt = {
930
931
  getDefaultColumnDef: () => ({
931
932
  aggregatedCell: (e) => {
932
933
  var o, t;
@@ -962,14 +963,14 @@ const Lt = (e, o, t) => t.reduce((n, r) => {
962
963
  }, e.getAutoAggregationFn = () => {
963
964
  const t = o.getCoreRowModel().flatRows[0], n = t == null ? void 0 : t.getValue(e.id);
964
965
  if (typeof n == "number")
965
- return K.sum;
966
+ return W.sum;
966
967
  if (Object.prototype.toString.call(n) === "[object Date]")
967
- return K.extent;
968
+ return W.extent;
968
969
  }, e.getAggregationFn = () => {
969
970
  var t, n;
970
971
  if (!e)
971
972
  throw new Error();
972
- return q(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : (t = (n = o.options.aggregationFns) == null ? void 0 : n[e.columnDef.aggregationFn]) != null ? t : K[e.columnDef.aggregationFn];
973
+ return K(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : (t = (n = o.options.aggregationFns) == null ? void 0 : n[e.columnDef.aggregationFn]) != null ? t : W[e.columnDef.aggregationFn];
973
974
  };
974
975
  },
975
976
  createTable: (e) => {
@@ -993,13 +994,13 @@ const Lt = (e, o, t) => t.reduce((n, r) => {
993
994
  };
994
995
  }
995
996
  };
996
- function Bt(e, o, t) {
997
+ function Xt(e, o, t) {
997
998
  if (!(o != null && o.length) || !t)
998
999
  return e;
999
1000
  const n = e.filter((i) => !o.includes(i.id));
1000
1001
  return t === "remove" ? n : [...o.map((i) => e.find((l) => l.id === i)).filter(Boolean), ...n];
1001
1002
  }
1002
- const kt = {
1003
+ const Wt = {
1003
1004
  getInitialState: (e) => ({
1004
1005
  columnOrder: [],
1005
1006
  ...e
@@ -1008,12 +1009,12 @@ const kt = {
1008
1009
  onColumnOrderChange: $("columnOrder", e)
1009
1010
  }),
1010
1011
  createColumn: (e, o) => {
1011
- e.getIndex = S((t) => [G(o, t)], (t) => t.findIndex((n) => n.id === e.id), C(o.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (t) => {
1012
+ e.getIndex = S((t) => [j(o, t)], (t) => t.findIndex((n) => n.id === e.id), C(o.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (t) => {
1012
1013
  var n;
1013
- return ((n = G(o, t)[0]) == null ? void 0 : n.id) === e.id;
1014
+ return ((n = j(o, t)[0]) == null ? void 0 : n.id) === e.id;
1014
1015
  }, e.getIsLastColumn = (t) => {
1015
1016
  var n;
1016
- const r = G(o, t);
1017
+ const r = j(o, t);
1017
1018
  return ((n = r[r.length - 1]) == null ? void 0 : n.id) === e.id;
1018
1019
  };
1019
1020
  },
@@ -1033,15 +1034,15 @@ const kt = {
1033
1034
  }
1034
1035
  i = [...i, ...u];
1035
1036
  }
1036
- return Bt(i, t, n);
1037
+ return Xt(i, t, n);
1037
1038
  }, C(e.options, "debugTable", "_getOrderColumnsFn"));
1038
1039
  }
1039
- }, X = () => ({
1040
+ }, Y = () => ({
1040
1041
  left: [],
1041
1042
  right: []
1042
- }), qt = {
1043
+ }), Yt = {
1043
1044
  getInitialState: (e) => ({
1044
- columnPinning: X(),
1045
+ columnPinning: Y(),
1045
1046
  ...e
1046
1047
  }),
1047
1048
  getDefaultOptions: (e) => ({
@@ -1101,7 +1102,7 @@ const kt = {
1101
1102
  createTable: (e) => {
1102
1103
  e.setColumnPinning = (o) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(o), e.resetColumnPinning = (o) => {
1103
1104
  var t, n;
1104
- return e.setColumnPinning(o ? X() : (t = (n = e.initialState) == null ? void 0 : n.columnPinning) != null ? t : X());
1105
+ return e.setColumnPinning(o ? Y() : (t = (n = e.initialState) == null ? void 0 : n.columnPinning) != null ? t : Y());
1105
1106
  }, e.getIsSomeColumnsPinned = (o) => {
1106
1107
  var t;
1107
1108
  const n = e.getState().columnPinning;
@@ -1115,22 +1116,22 @@ const kt = {
1115
1116
  return o.filter((i) => !r.includes(i.id));
1116
1117
  }, C(e.options, "debugColumns", "getCenterLeafColumns"));
1117
1118
  }
1118
- }, N = {
1119
+ }, T = {
1119
1120
  size: 150,
1120
1121
  minSize: 20,
1121
1122
  maxSize: Number.MAX_SAFE_INTEGER
1122
- }, W = () => ({
1123
+ }, Z = () => ({
1123
1124
  startOffset: null,
1124
1125
  startSize: null,
1125
1126
  deltaOffset: null,
1126
1127
  deltaPercentage: null,
1127
1128
  isResizingColumn: !1,
1128
1129
  columnSizingStart: []
1129
- }), Ut = {
1130
- getDefaultColumnDef: () => N,
1130
+ }), Zt = {
1131
+ getDefaultColumnDef: () => T,
1131
1132
  getInitialState: (e) => ({
1132
1133
  columnSizing: {},
1133
- columnSizingInfo: W(),
1134
+ columnSizingInfo: Z(),
1134
1135
  ...e
1135
1136
  }),
1136
1137
  getDefaultOptions: (e) => ({
@@ -1143,8 +1144,8 @@ const kt = {
1143
1144
  e.getSize = () => {
1144
1145
  var t, n, r;
1145
1146
  const i = o.getState().columnSizing[e.id];
1146
- return Math.min(Math.max((t = e.columnDef.minSize) != null ? t : N.minSize, (n = i ?? e.columnDef.size) != null ? n : N.size), (r = e.columnDef.maxSize) != null ? r : N.maxSize);
1147
- }, e.getStart = S((t) => [t, G(o, t), o.getState().columnSizing], (t, n) => n.slice(0, e.getIndex(t)).reduce((r, i) => r + i.getSize(), 0), C(o.options, "debugColumns", "getStart")), e.getAfter = S((t) => [t, G(o, t), o.getState().columnSizing], (t, n) => n.slice(e.getIndex(t) + 1).reduce((r, i) => r + i.getSize(), 0), C(o.options, "debugColumns", "getAfter")), e.resetSize = () => {
1147
+ return Math.min(Math.max((t = e.columnDef.minSize) != null ? t : T.minSize, (n = i ?? e.columnDef.size) != null ? n : T.size), (r = e.columnDef.maxSize) != null ? r : T.maxSize);
1148
+ }, e.getStart = S((t) => [t, j(o, t), o.getState().columnSizing], (t, n) => n.slice(0, e.getIndex(t)).reduce((r, i) => r + i.getSize(), 0), C(o.options, "debugColumns", "getStart")), e.getAfter = S((t) => [t, j(o, t), o.getState().columnSizing], (t, n) => n.slice(e.getIndex(t) + 1).reduce((r, i) => r + i.getSize(), 0), C(o.options, "debugColumns", "getAfter")), e.resetSize = () => {
1148
1149
  o.setColumnSizing((t) => {
1149
1150
  let {
1150
1151
  [e.id]: n,
@@ -1178,19 +1179,19 @@ const kt = {
1178
1179
  }, e.getResizeHandler = (t) => {
1179
1180
  const n = o.getColumn(e.column.id), r = n == null ? void 0 : n.getCanResize();
1180
1181
  return (i) => {
1181
- if (!n || !r || (i.persist == null || i.persist(), Y(i) && i.touches && i.touches.length > 1))
1182
+ if (!n || !r || (i.persist == null || i.persist(), J(i) && i.touches && i.touches.length > 1))
1182
1183
  return;
1183
- const l = e.getSize(), u = e ? e.getLeafHeaders().map((v) => [v.column.id, v.column.getSize()]) : [[n.id, n.getSize()]], s = Y(i) ? Math.round(i.touches[0].clientX) : i.clientX, g = {}, d = (v, x) => {
1184
+ const l = e.getSize(), u = e ? e.getLeafHeaders().map((v) => [v.column.id, v.column.getSize()]) : [[n.id, n.getSize()]], s = J(i) ? Math.round(i.touches[0].clientX) : i.clientX, g = {}, d = (v, x) => {
1184
1185
  typeof x == "number" && (o.setColumnSizingInfo((_) => {
1185
- var M, y;
1186
- const A = o.options.columnResizeDirection === "rtl" ? -1 : 1, ce = (x - ((M = _ == null ? void 0 : _.startOffset) != null ? M : 0)) * A, fe = Math.max(ce / ((y = _ == null ? void 0 : _.startSize) != null ? y : 0), -0.999999);
1187
- return _.columnSizingStart.forEach((Ke) => {
1188
- let [Xe, pe] = Ke;
1189
- g[Xe] = Math.round(Math.max(pe + pe * fe, 0) * 100) / 100;
1186
+ var I, y;
1187
+ const A = o.options.columnResizeDirection === "rtl" ? -1 : 1, me = (x - ((I = _ == null ? void 0 : _.startOffset) != null ? I : 0)) * A, he = Math.max(me / ((y = _ == null ? void 0 : _.startSize) != null ? y : 0), -0.999999);
1188
+ return _.columnSizingStart.forEach((Ze) => {
1189
+ let [Je, Se] = Ze;
1190
+ g[Je] = Math.round(Math.max(Se + Se * he, 0) * 100) / 100;
1190
1191
  }), {
1191
1192
  ..._,
1192
- deltaOffset: ce,
1193
- deltaPercentage: fe
1193
+ deltaOffset: me,
1194
+ deltaPercentage: he
1194
1195
  };
1195
1196
  }), (o.options.columnResizeMode === "onChange" || v === "end") && o.setColumnSizing((_) => ({
1196
1197
  ..._,
@@ -1206,10 +1207,10 @@ const kt = {
1206
1207
  deltaPercentage: null,
1207
1208
  columnSizingStart: []
1208
1209
  }));
1209
- }, a = t || typeof document < "u" ? document : null, p = {
1210
+ }, a = t || typeof document < "u" ? document : null, m = {
1210
1211
  moveHandler: (v) => f(v.clientX),
1211
1212
  upHandler: (v) => {
1212
- a == null || a.removeEventListener("mousemove", p.moveHandler), a == null || a.removeEventListener("mouseup", p.upHandler), c(v.clientX);
1213
+ a == null || a.removeEventListener("mousemove", m.moveHandler), a == null || a.removeEventListener("mouseup", m.upHandler), c(v.clientX);
1213
1214
  }
1214
1215
  }, h = {
1215
1216
  moveHandler: (v) => (v.cancelable && (v.preventDefault(), v.stopPropagation()), f(v.touches[0].clientX), !1),
@@ -1217,10 +1218,10 @@ const kt = {
1217
1218
  var x;
1218
1219
  a == null || a.removeEventListener("touchmove", h.moveHandler), a == null || a.removeEventListener("touchend", h.upHandler), v.cancelable && (v.preventDefault(), v.stopPropagation()), c((x = v.touches[0]) == null ? void 0 : x.clientX);
1219
1220
  }
1220
- }, R = Kt() ? {
1221
+ }, R = Jt() ? {
1221
1222
  passive: !1
1222
1223
  } : !1;
1223
- Y(i) ? (a == null || a.addEventListener("touchmove", h.moveHandler, R), a == null || a.addEventListener("touchend", h.upHandler, R)) : (a == null || a.addEventListener("mousemove", p.moveHandler, R), a == null || a.addEventListener("mouseup", p.upHandler, R)), o.setColumnSizingInfo((v) => ({
1224
+ J(i) ? (a == null || a.addEventListener("touchmove", h.moveHandler, R), a == null || a.addEventListener("touchend", h.upHandler, R)) : (a == null || a.addEventListener("mousemove", m.moveHandler, R), a == null || a.addEventListener("mouseup", m.upHandler, R)), o.setColumnSizingInfo((v) => ({
1224
1225
  ...v,
1225
1226
  startOffset: s,
1226
1227
  startSize: l,
@@ -1238,7 +1239,7 @@ const kt = {
1238
1239
  e.setColumnSizing(o ? {} : (t = e.initialState.columnSizing) != null ? t : {});
1239
1240
  }, e.resetHeaderSizeInfo = (o) => {
1240
1241
  var t;
1241
- e.setColumnSizingInfo(o ? W() : (t = e.initialState.columnSizingInfo) != null ? t : W());
1242
+ e.setColumnSizingInfo(o ? Z() : (t = e.initialState.columnSizingInfo) != null ? t : Z());
1242
1243
  }, e.getTotalSize = () => {
1243
1244
  var o, t;
1244
1245
  return (o = (t = e.getHeaderGroups()[0]) == null ? void 0 : t.headers.reduce((n, r) => n + r.getSize(), 0)) != null ? o : 0;
@@ -1254,9 +1255,9 @@ const kt = {
1254
1255
  };
1255
1256
  }
1256
1257
  };
1257
- let T = null;
1258
- function Kt() {
1259
- if (typeof T == "boolean") return T;
1258
+ let O = null;
1259
+ function Jt() {
1260
+ if (typeof O == "boolean") return O;
1260
1261
  let e = !1;
1261
1262
  try {
1262
1263
  const o = {
@@ -1269,12 +1270,12 @@ function Kt() {
1269
1270
  } catch {
1270
1271
  e = !1;
1271
1272
  }
1272
- return T = e, T;
1273
+ return O = e, O;
1273
1274
  }
1274
- function Y(e) {
1275
+ function J(e) {
1275
1276
  return e.type === "touchstart";
1276
1277
  }
1277
- const Xt = {
1278
+ const Qt = {
1278
1279
  getInitialState: (e) => ({
1279
1280
  columnVisibility: {},
1280
1281
  ...e
@@ -1319,17 +1320,17 @@ const Xt = {
1319
1320
  };
1320
1321
  }
1321
1322
  };
1322
- function G(e, o) {
1323
+ function j(e, o) {
1323
1324
  return o ? o === "center" ? e.getCenterVisibleLeafColumns() : o === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
1324
1325
  }
1325
- const Wt = {
1326
+ const en = {
1326
1327
  createTable: (e) => {
1327
1328
  e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
1328
1329
  if (e._getGlobalFacetedMinMaxValues)
1329
1330
  return e._getGlobalFacetedMinMaxValues();
1330
1331
  };
1331
1332
  }
1332
- }, Yt = {
1333
+ }, tn = {
1333
1334
  getInitialState: (e) => ({
1334
1335
  globalFilter: void 0,
1335
1336
  ...e
@@ -1350,19 +1351,19 @@ const Wt = {
1350
1351
  };
1351
1352
  },
1352
1353
  createTable: (e) => {
1353
- e.getGlobalAutoFilterFn = () => I.includesString, e.getGlobalFilterFn = () => {
1354
+ e.getGlobalAutoFilterFn = () => P.includesString, e.getGlobalFilterFn = () => {
1354
1355
  var o, t;
1355
1356
  const {
1356
1357
  globalFilterFn: n
1357
1358
  } = e.options;
1358
- return q(n) ? n : n === "auto" ? e.getGlobalAutoFilterFn() : (o = (t = e.options.filterFns) == null ? void 0 : t[n]) != null ? o : I[n];
1359
+ return K(n) ? n : n === "auto" ? e.getGlobalAutoFilterFn() : (o = (t = e.options.filterFns) == null ? void 0 : t[n]) != null ? o : P[n];
1359
1360
  }, e.setGlobalFilter = (o) => {
1360
1361
  e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(o);
1361
1362
  }, e.resetGlobalFilter = (o) => {
1362
1363
  e.setGlobalFilter(o ? void 0 : e.initialState.globalFilter);
1363
1364
  };
1364
1365
  }
1365
- }, Jt = {
1366
+ }, nn = {
1366
1367
  getInitialState: (e) => ({
1367
1368
  expanded: {},
1368
1369
  ...e
@@ -1449,14 +1450,14 @@ const Wt = {
1449
1450
  };
1450
1451
  };
1451
1452
  }
1452
- }, te = 0, ne = 10, J = () => ({
1453
- pageIndex: te,
1454
- pageSize: ne
1455
- }), Qt = {
1453
+ }, oe = 0, re = 10, Q = () => ({
1454
+ pageIndex: oe,
1455
+ pageSize: re
1456
+ }), on = {
1456
1457
  getInitialState: (e) => ({
1457
1458
  ...e,
1458
1459
  pagination: {
1459
- ...J(),
1460
+ ...Q(),
1460
1461
  ...e == null ? void 0 : e.pagination
1461
1462
  }
1462
1463
  }),
@@ -1484,7 +1485,7 @@ const Wt = {
1484
1485
  return e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange(r);
1485
1486
  }, e.resetPagination = (n) => {
1486
1487
  var r;
1487
- e.setPagination(n ? J() : (r = e.initialState.pagination) != null ? r : J());
1488
+ e.setPagination(n ? Q() : (r = e.initialState.pagination) != null ? r : Q());
1488
1489
  }, e.setPageIndex = (n) => {
1489
1490
  e.setPagination((r) => {
1490
1491
  let i = L(n, r.pageIndex);
@@ -1496,10 +1497,10 @@ const Wt = {
1496
1497
  });
1497
1498
  }, e.resetPageIndex = (n) => {
1498
1499
  var r, i;
1499
- e.setPageIndex(n ? te : (r = (i = e.initialState) == null || (i = i.pagination) == null ? void 0 : i.pageIndex) != null ? r : te);
1500
+ e.setPageIndex(n ? oe : (r = (i = e.initialState) == null || (i = i.pagination) == null ? void 0 : i.pageIndex) != null ? r : oe);
1500
1501
  }, e.resetPageSize = (n) => {
1501
1502
  var r, i;
1502
- e.setPageSize(n ? ne : (r = (i = e.initialState) == null || (i = i.pagination) == null ? void 0 : i.pageSize) != null ? r : ne);
1503
+ e.setPageSize(n ? re : (r = (i = e.initialState) == null || (i = i.pagination) == null ? void 0 : i.pageSize) != null ? r : re);
1503
1504
  }, e.setPageSize = (n) => {
1504
1505
  e.setPagination((r) => {
1505
1506
  const i = Math.max(1, L(n, r.pageSize)), l = r.pageSize * r.pageIndex, u = Math.floor(l / i);
@@ -1532,12 +1533,12 @@ const Wt = {
1532
1533
  return (n = e.options.rowCount) != null ? n : e.getPrePaginationRowModel().rows.length;
1533
1534
  };
1534
1535
  }
1535
- }, Q = () => ({
1536
+ }, ee = () => ({
1536
1537
  top: [],
1537
1538
  bottom: []
1538
- }), Zt = {
1539
+ }), rn = {
1539
1540
  getInitialState: (e) => ({
1540
- rowPinning: Q(),
1541
+ rowPinning: ee(),
1541
1542
  ...e
1542
1543
  }),
1543
1544
  getDefaultOptions: (e) => ({
@@ -1566,10 +1567,10 @@ const Wt = {
1566
1567
  };
1567
1568
  }
1568
1569
  if (t === "top") {
1569
- var a, p;
1570
+ var a, m;
1570
1571
  return {
1571
1572
  top: [...((a = s == null ? void 0 : s.top) != null ? a : []).filter((h) => !(u != null && u.has(h))), ...Array.from(u)],
1572
- bottom: ((p = s == null ? void 0 : s.bottom) != null ? p : []).filter((h) => !(u != null && u.has(h)))
1573
+ bottom: ((m = s == null ? void 0 : s.bottom) != null ? m : []).filter((h) => !(u != null && u.has(h)))
1573
1574
  };
1574
1575
  }
1575
1576
  return {
@@ -1606,7 +1607,7 @@ const Wt = {
1606
1607
  createTable: (e) => {
1607
1608
  e.setRowPinning = (o) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(o), e.resetRowPinning = (o) => {
1608
1609
  var t, n;
1609
- return e.setRowPinning(o ? Q() : (t = (n = e.initialState) == null ? void 0 : n.rowPinning) != null ? t : Q());
1610
+ return e.setRowPinning(o ? ee() : (t = (n = e.initialState) == null ? void 0 : n.rowPinning) != null ? t : ee());
1610
1611
  }, e.getIsSomeRowsPinned = (o) => {
1611
1612
  var t;
1612
1613
  const n = e.getState().rowPinning;
@@ -1636,7 +1637,7 @@ const Wt = {
1636
1637
  return o.filter((i) => !r.has(i.id));
1637
1638
  }, C(e.options, "debugRows", "getCenterRows"));
1638
1639
  }
1639
- }, en = {
1640
+ }, ln = {
1640
1641
  getInitialState: (e) => ({
1641
1642
  rowSelection: {},
1642
1643
  ...e
@@ -1671,17 +1672,17 @@ const Wt = {
1671
1672
  ...t
1672
1673
  };
1673
1674
  return e.getRowModel().rows.forEach((i) => {
1674
- oe(r, i.id, n, !0, e);
1675
+ ie(r, i.id, n, !0, e);
1675
1676
  }), r;
1676
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = S(() => [e.getState().rowSelection, e.getCoreRowModel()], (o, t) => Object.keys(o).length ? Z(e, t) : {
1677
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = S(() => [e.getState().rowSelection, e.getCoreRowModel()], (o, t) => Object.keys(o).length ? te(e, t) : {
1677
1678
  rows: [],
1678
1679
  flatRows: [],
1679
1680
  rowsById: {}
1680
- }, C(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = S(() => [e.getState().rowSelection, e.getFilteredRowModel()], (o, t) => Object.keys(o).length ? Z(e, t) : {
1681
+ }, C(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = S(() => [e.getState().rowSelection, e.getFilteredRowModel()], (o, t) => Object.keys(o).length ? te(e, t) : {
1681
1682
  rows: [],
1682
1683
  flatRows: [],
1683
1684
  rowsById: {}
1684
- }, C(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = S(() => [e.getState().rowSelection, e.getSortedRowModel()], (o, t) => Object.keys(o).length ? Z(e, t) : {
1685
+ }, C(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = S(() => [e.getState().rowSelection, e.getSortedRowModel()], (o, t) => Object.keys(o).length ? te(e, t) : {
1685
1686
  rows: [],
1686
1687
  flatRows: [],
1687
1688
  rowsById: {}
@@ -1720,23 +1721,23 @@ const Wt = {
1720
1721
  const u = {
1721
1722
  ...i
1722
1723
  };
1723
- return oe(u, e.id, t, (l = n == null ? void 0 : n.selectChildren) != null ? l : !0, o), u;
1724
+ return ie(u, e.id, t, (l = n == null ? void 0 : n.selectChildren) != null ? l : !0, o), u;
1724
1725
  });
1725
1726
  }, e.getIsSelected = () => {
1726
1727
  const {
1727
1728
  rowSelection: t
1728
1729
  } = o.getState();
1729
- return ge(e, t);
1730
+ return fe(e, t);
1730
1731
  }, e.getIsSomeSelected = () => {
1731
1732
  const {
1732
1733
  rowSelection: t
1733
1734
  } = o.getState();
1734
- return re(e, t) === "some";
1735
+ return le(e, t) === "some";
1735
1736
  }, e.getIsAllSubRowsSelected = () => {
1736
1737
  const {
1737
1738
  rowSelection: t
1738
1739
  } = o.getState();
1739
- return re(e, t) === "all";
1740
+ return le(e, t) === "all";
1740
1741
  }, e.getCanSelect = () => {
1741
1742
  var t;
1742
1743
  return typeof o.options.enableRowSelection == "function" ? o.options.enableRowSelection(e) : (t = o.options.enableRowSelection) != null ? t : !0;
@@ -1754,16 +1755,16 @@ const Wt = {
1754
1755
  };
1755
1756
  };
1756
1757
  }
1757
- }, oe = (e, o, t, n, r) => {
1758
+ }, ie = (e, o, t, n, r) => {
1758
1759
  var i;
1759
1760
  const l = r.getRow(o, !0);
1760
- t ? (l.getCanMultiSelect() || Object.keys(e).forEach((u) => delete e[u]), l.getCanSelect() && (e[o] = !0)) : delete e[o], n && (i = l.subRows) != null && i.length && l.getCanSelectSubRows() && l.subRows.forEach((u) => oe(e, u.id, t, n, r));
1761
+ t ? (l.getCanMultiSelect() || Object.keys(e).forEach((u) => delete e[u]), l.getCanSelect() && (e[o] = !0)) : delete e[o], n && (i = l.subRows) != null && i.length && l.getCanSelectSubRows() && l.subRows.forEach((u) => ie(e, u.id, t, n, r));
1761
1762
  };
1762
- function Z(e, o) {
1763
+ function te(e, o) {
1763
1764
  const t = e.getState().rowSelection, n = [], r = {}, i = function(l, u) {
1764
1765
  return l.map((s) => {
1765
1766
  var g;
1766
- const d = ge(s, t);
1767
+ const d = fe(s, t);
1767
1768
  if (d && (n.push(s), r[s.id] = s), (g = s.subRows) != null && g.length && (s = {
1768
1769
  ...s,
1769
1770
  subRows: i(s.subRows)
@@ -1777,33 +1778,33 @@ function Z(e, o) {
1777
1778
  rowsById: r
1778
1779
  };
1779
1780
  }
1780
- function ge(e, o) {
1781
+ function fe(e, o) {
1781
1782
  var t;
1782
1783
  return (t = o[e.id]) != null ? t : !1;
1783
1784
  }
1784
- function re(e, o, t) {
1785
+ function le(e, o, t) {
1785
1786
  var n;
1786
1787
  if (!((n = e.subRows) != null && n.length)) return !1;
1787
1788
  let r = !0, i = !1;
1788
1789
  return e.subRows.forEach((l) => {
1789
- if (!(i && !r) && (l.getCanSelect() && (ge(l, o) ? i = !0 : r = !1), l.subRows && l.subRows.length)) {
1790
- const u = re(l, o);
1790
+ if (!(i && !r) && (l.getCanSelect() && (fe(l, o) ? i = !0 : r = !1), l.subRows && l.subRows.length)) {
1791
+ const u = le(l, o);
1791
1792
  u === "all" ? i = !0 : (u === "some" && (i = !0), r = !1);
1792
1793
  }
1793
1794
  }), r ? "all" : i ? "some" : !1;
1794
1795
  }
1795
- const ie = /([0-9]+)/gm, tn = (e, o, t) => qe(H(e.getValue(t)).toLowerCase(), H(o.getValue(t)).toLowerCase()), nn = (e, o, t) => qe(H(e.getValue(t)), H(o.getValue(t))), on = (e, o, t) => de(H(e.getValue(t)).toLowerCase(), H(o.getValue(t)).toLowerCase()), rn = (e, o, t) => de(H(e.getValue(t)), H(o.getValue(t))), ln = (e, o, t) => {
1796
+ const ue = /([0-9]+)/gm, un = (e, o, t) => We(b(e.getValue(t)).toLowerCase(), b(o.getValue(t)).toLowerCase()), sn = (e, o, t) => We(b(e.getValue(t)), b(o.getValue(t))), an = (e, o, t) => pe(b(e.getValue(t)).toLowerCase(), b(o.getValue(t)).toLowerCase()), gn = (e, o, t) => pe(b(e.getValue(t)), b(o.getValue(t))), dn = (e, o, t) => {
1796
1797
  const n = e.getValue(t), r = o.getValue(t);
1797
1798
  return n > r ? 1 : n < r ? -1 : 0;
1798
- }, un = (e, o, t) => de(e.getValue(t), o.getValue(t));
1799
- function de(e, o) {
1799
+ }, cn = (e, o, t) => pe(e.getValue(t), o.getValue(t));
1800
+ function pe(e, o) {
1800
1801
  return e === o ? 0 : e > o ? 1 : -1;
1801
1802
  }
1802
- function H(e) {
1803
+ function b(e) {
1803
1804
  return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
1804
1805
  }
1805
- function qe(e, o) {
1806
- const t = e.split(ie).filter(Boolean), n = o.split(ie).filter(Boolean);
1806
+ function We(e, o) {
1807
+ const t = e.split(ue).filter(Boolean), n = o.split(ue).filter(Boolean);
1807
1808
  for (; t.length && n.length; ) {
1808
1809
  const r = t.shift(), i = n.shift(), l = parseInt(r, 10), u = parseInt(i, 10), s = [l, u].sort();
1809
1810
  if (isNaN(s[0])) {
@@ -1822,14 +1823,14 @@ function qe(e, o) {
1822
1823
  }
1823
1824
  return t.length - n.length;
1824
1825
  }
1825
- const b = {
1826
- alphanumeric: tn,
1827
- alphanumericCaseSensitive: nn,
1828
- text: on,
1829
- textCaseSensitive: rn,
1830
- datetime: ln,
1831
- basic: un
1832
- }, sn = {
1826
+ const H = {
1827
+ alphanumeric: un,
1828
+ alphanumericCaseSensitive: sn,
1829
+ text: an,
1830
+ textCaseSensitive: gn,
1831
+ datetime: dn,
1832
+ basic: cn
1833
+ }, fn = {
1833
1834
  getInitialState: (e) => ({
1834
1835
  sorting: [],
1835
1836
  ...e
@@ -1849,11 +1850,11 @@ const b = {
1849
1850
  for (const r of t) {
1850
1851
  const i = r == null ? void 0 : r.getValue(e.id);
1851
1852
  if (Object.prototype.toString.call(i) === "[object Date]")
1852
- return b.datetime;
1853
- if (typeof i == "string" && (n = !0, i.split(ie).length > 1))
1854
- return b.alphanumeric;
1853
+ return H.datetime;
1854
+ if (typeof i == "string" && (n = !0, i.split(ue).length > 1))
1855
+ return H.alphanumeric;
1855
1856
  }
1856
- return n ? b.text : b.basic;
1857
+ return n ? H.text : H.basic;
1857
1858
  }, e.getAutoSortDir = () => {
1858
1859
  const t = o.getFilteredRowModel().flatRows[0];
1859
1860
  return typeof (t == null ? void 0 : t.getValue(e.id)) == "string" ? "asc" : "desc";
@@ -1861,7 +1862,7 @@ const b = {
1861
1862
  var t, n;
1862
1863
  if (!e)
1863
1864
  throw new Error();
1864
- return q(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : (t = (n = o.options.sortingFns) == null ? void 0 : n[e.columnDef.sortingFn]) != null ? t : b[e.columnDef.sortingFn];
1865
+ return K(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : (t = (n = o.options.sortingFns) == null ? void 0 : n[e.columnDef.sortingFn]) != null ? t : H[e.columnDef.sortingFn];
1865
1866
  }, e.toggleSorting = (t, n) => {
1866
1867
  const r = e.getNextSortingOrder(), i = typeof t < "u" && t !== null;
1867
1868
  o.setSorting((l) => {
@@ -1918,30 +1919,30 @@ const b = {
1918
1919
  e.setSorting(o ? [] : (t = (n = e.initialState) == null ? void 0 : n.sorting) != null ? t : []);
1919
1920
  }, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
1920
1921
  }
1921
- }, an = [
1922
- Pt,
1923
- Xt,
1924
- kt,
1925
- qt,
1926
- Et,
1927
- Dt,
1922
+ }, pn = [
1923
+ At,
1924
+ Qt,
1928
1925
  Wt,
1929
- //depends on ColumnFaceting
1930
1926
  Yt,
1927
+ Ht,
1928
+ Gt,
1929
+ en,
1930
+ //depends on ColumnFaceting
1931
+ tn,
1931
1932
  //depends on ColumnFiltering
1932
- sn,
1933
- Ot,
1933
+ fn,
1934
+ Kt,
1934
1935
  //depends on RowSorting
1935
- Jt,
1936
- Qt,
1937
- Zt,
1938
- en,
1939
- Ut
1936
+ nn,
1937
+ on,
1938
+ rn,
1939
+ ln,
1940
+ Zt
1940
1941
  ];
1941
- function gn(e) {
1942
+ function mn(e) {
1942
1943
  var o, t;
1943
1944
  process.env.NODE_ENV !== "production" && (e.debugAll || e.debugTable) && console.info("Creating Table Instance...");
1944
- const n = [...an, ...(o = e._features) != null ? o : []];
1945
+ const n = [...pn, ...(o = e._features) != null ? o : []];
1945
1946
  let r = {
1946
1947
  _features: n
1947
1948
  };
@@ -1986,9 +1987,9 @@ function gn(e) {
1986
1987
  setState: (c) => {
1987
1988
  r.options.onStateChange == null || r.options.onStateChange(c);
1988
1989
  },
1989
- _getRowId: (c, a, p) => {
1990
+ _getRowId: (c, a, m) => {
1990
1991
  var h;
1991
- return (h = r.options.getRowId == null ? void 0 : r.options.getRowId(c, a, p)) != null ? h : `${p ? [p.id, a].join(".") : a}`;
1992
+ return (h = r.options.getRowId == null ? void 0 : r.options.getRowId(c, a, m)) != null ? h : `${m ? [m.id, a].join(".") : a}`;
1992
1993
  },
1993
1994
  getCoreRowModel: () => (r._getCoreRowModel || (r._getCoreRowModel = r.options.getCoreRowModel(r)), r._getCoreRowModel()),
1994
1995
  // The final calls start at the bottom of the model,
@@ -1996,42 +1997,42 @@ function gn(e) {
1996
1997
  getRowModel: () => r.getPaginationRowModel(),
1997
1998
  //in next version, we should just pass in the row model as the optional 2nd arg
1998
1999
  getRow: (c, a) => {
1999
- let p = (a ? r.getPrePaginationRowModel() : r.getRowModel()).rowsById[c];
2000
- if (!p && (p = r.getCoreRowModel().rowsById[c], !p))
2000
+ let m = (a ? r.getPrePaginationRowModel() : r.getRowModel()).rowsById[c];
2001
+ if (!m && (m = r.getCoreRowModel().rowsById[c], !m))
2001
2002
  throw process.env.NODE_ENV !== "production" ? new Error(`getRow could not find row with ID: ${c}`) : new Error();
2002
- return p;
2003
+ return m;
2003
2004
  },
2004
2005
  _getDefaultColumnDef: S(() => [r.options.defaultColumn], (c) => {
2005
2006
  var a;
2006
2007
  return c = (a = c) != null ? a : {}, {
2007
- header: (p) => {
2008
- const h = p.header.column.columnDef;
2008
+ header: (m) => {
2009
+ const h = m.header.column.columnDef;
2009
2010
  return h.accessorKey ? h.accessorKey : h.accessorFn ? h.id : null;
2010
2011
  },
2011
2012
  // footer: props => props.header.column.id,
2012
- cell: (p) => {
2013
+ cell: (m) => {
2013
2014
  var h, R;
2014
- return (h = (R = p.renderValue()) == null || R.toString == null ? void 0 : R.toString()) != null ? h : null;
2015
+ return (h = (R = m.renderValue()) == null || R.toString == null ? void 0 : R.toString()) != null ? h : null;
2015
2016
  },
2016
- ...r._features.reduce((p, h) => Object.assign(p, h.getDefaultColumnDef == null ? void 0 : h.getDefaultColumnDef()), {}),
2017
+ ...r._features.reduce((m, h) => Object.assign(m, h.getDefaultColumnDef == null ? void 0 : h.getDefaultColumnDef()), {}),
2017
2018
  ...c
2018
2019
  };
2019
2020
  }, C(e, "debugColumns", "_getDefaultColumnDef")),
2020
2021
  _getColumnDefs: () => r.options.columns,
2021
2022
  getAllColumns: S(() => [r._getColumnDefs()], (c) => {
2022
- const a = function(p, h, R) {
2023
- return R === void 0 && (R = 0), p.map((v) => {
2024
- const x = It(r, v, R, h), _ = v;
2023
+ const a = function(m, h, R) {
2024
+ return R === void 0 && (R = 0), m.map((v) => {
2025
+ const x = bt(r, v, R, h), _ = v;
2025
2026
  return x.columns = _.columns ? a(_.columns, x, R + 1) : [], x;
2026
2027
  });
2027
2028
  };
2028
2029
  return a(c);
2029
2030
  }, C(e, "debugColumns", "getAllColumns")),
2030
2031
  getAllFlatColumns: S(() => [r.getAllColumns()], (c) => c.flatMap((a) => a.getFlatColumns()), C(e, "debugColumns", "getAllFlatColumns")),
2031
- _getAllFlatColumnsById: S(() => [r.getAllFlatColumns()], (c) => c.reduce((a, p) => (a[p.id] = p, a), {}), C(e, "debugColumns", "getAllFlatColumnsById")),
2032
+ _getAllFlatColumnsById: S(() => [r.getAllFlatColumns()], (c) => c.reduce((a, m) => (a[m.id] = m, a), {}), C(e, "debugColumns", "getAllFlatColumnsById")),
2032
2033
  getAllLeafColumns: S(() => [r.getAllColumns(), r._getOrderColumnsFn()], (c, a) => {
2033
- let p = c.flatMap((h) => h.getLeafColumns());
2034
- return a(p);
2034
+ let m = c.flatMap((h) => h.getLeafColumns());
2035
+ return a(m);
2035
2036
  }, C(e, "debugColumns", "getAllLeafColumns")),
2036
2037
  getColumn: (c) => {
2037
2038
  const a = r._getAllFlatColumnsById()[c];
@@ -2045,7 +2046,7 @@ function gn(e) {
2045
2046
  }
2046
2047
  return r;
2047
2048
  }
2048
- function dn() {
2049
+ function hn() {
2049
2050
  return (e) => S(() => [e.options.data], (o) => {
2050
2051
  const t = {
2051
2052
  rows: [],
@@ -2055,7 +2056,7 @@ function dn() {
2055
2056
  i === void 0 && (i = 0);
2056
2057
  const u = [];
2057
2058
  for (let g = 0; g < r.length; g++) {
2058
- const d = se(e, e._getRowId(r[g], g, l), r[g], g, i, void 0, l == null ? void 0 : l.id);
2059
+ const d = de(e, e._getRowId(r[g], g, l), r[g], g, i, void 0, l == null ? void 0 : l.id);
2059
2060
  if (t.flatRows.push(d), t.rowsById[d.id] = d, u.push(d), e.options.getSubRows) {
2060
2061
  var s;
2061
2062
  d.originalSubRows = e.options.getSubRows(r[g], g), (s = d.originalSubRows) != null && s.length && (d.subRows = n(d.originalSubRows, i + 1, d));
@@ -2066,7 +2067,7 @@ function dn() {
2066
2067
  return t.rows = n(o), t;
2067
2068
  }, C(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
2068
2069
  }
2069
- function cn(e) {
2070
+ function Sn(e) {
2070
2071
  const o = [], t = (n) => {
2071
2072
  var r;
2072
2073
  o.push(n), (r = n.subRows) != null && r.length && n.getIsExpanded() && n.subRows.forEach(t);
@@ -2077,10 +2078,10 @@ function cn(e) {
2077
2078
  rowsById: e.rowsById
2078
2079
  };
2079
2080
  }
2080
- function Ue(e, o, t) {
2081
- return t.options.filterFromLeafRows ? fn(e, o, t) : pn(e, o, t);
2081
+ function Ye(e, o, t) {
2082
+ return t.options.filterFromLeafRows ? Cn(e, o, t) : wn(e, o, t);
2082
2083
  }
2083
- function fn(e, o, t) {
2084
+ function Cn(e, o, t) {
2084
2085
  var n;
2085
2086
  const r = [], i = {}, l = (n = t.options.maxLeafRowFilterDepth) != null ? n : 100, u = function(s, g) {
2086
2087
  g === void 0 && (g = 0);
@@ -2088,18 +2089,18 @@ function fn(e, o, t) {
2088
2089
  for (let c = 0; c < s.length; c++) {
2089
2090
  var f;
2090
2091
  let a = s[c];
2091
- const p = se(t, a.id, a.original, a.index, a.depth, void 0, a.parentId);
2092
- if (p.columnFilters = a.columnFilters, (f = a.subRows) != null && f.length && g < l) {
2093
- if (p.subRows = u(a.subRows, g + 1), a = p, o(a) && !p.subRows.length) {
2092
+ const m = de(t, a.id, a.original, a.index, a.depth, void 0, a.parentId);
2093
+ if (m.columnFilters = a.columnFilters, (f = a.subRows) != null && f.length && g < l) {
2094
+ if (m.subRows = u(a.subRows, g + 1), a = m, o(a) && !m.subRows.length) {
2094
2095
  d.push(a), i[a.id] = a, r.push(a);
2095
2096
  continue;
2096
2097
  }
2097
- if (o(a) || p.subRows.length) {
2098
+ if (o(a) || m.subRows.length) {
2098
2099
  d.push(a), i[a.id] = a, r.push(a);
2099
2100
  continue;
2100
2101
  }
2101
2102
  } else
2102
- a = p, o(a) && (d.push(a), i[a.id] = a, r.push(a));
2103
+ a = m, o(a) && (d.push(a), i[a.id] = a, r.push(a));
2103
2104
  }
2104
2105
  return d;
2105
2106
  };
@@ -2109,7 +2110,7 @@ function fn(e, o, t) {
2109
2110
  rowsById: i
2110
2111
  };
2111
2112
  }
2112
- function pn(e, o, t) {
2113
+ function wn(e, o, t) {
2113
2114
  var n;
2114
2115
  const r = [], i = {}, l = (n = t.options.maxLeafRowFilterDepth) != null ? n : 100, u = function(s, g) {
2115
2116
  g === void 0 && (g = 0);
@@ -2119,7 +2120,7 @@ function pn(e, o, t) {
2119
2120
  if (o(a)) {
2120
2121
  var f;
2121
2122
  if ((f = a.subRows) != null && f.length && g < l) {
2122
- const h = se(t, a.id, a.original, a.index, a.depth, void 0, a.parentId);
2123
+ const h = de(t, a.id, a.original, a.index, a.depth, void 0, a.parentId);
2123
2124
  h.subRows = u(a.subRows, g + 1), a = h;
2124
2125
  }
2125
2126
  d.push(a), r.push(a), i[a.id] = a;
@@ -2133,7 +2134,7 @@ function pn(e, o, t) {
2133
2134
  rowsById: i
2134
2135
  };
2135
2136
  }
2136
- function mn() {
2137
+ function Rn() {
2137
2138
  return (e, o) => S(() => [e.getPreFilteredRowModel(), e.getState().columnFilters, e.getState().globalFilter, e.getFilteredRowModel()], (t, n, r) => {
2138
2139
  if (!t.rows.length || !(n != null && n.length) && !r)
2139
2140
  return t;
@@ -2143,10 +2144,10 @@ function mn() {
2143
2144
  return !1;
2144
2145
  return !0;
2145
2146
  };
2146
- return Ue(t.rows, l, e);
2147
+ return Ye(t.rows, l, e);
2147
2148
  }, C(e.options, "debugTable", "getFacetedRowModel"));
2148
2149
  }
2149
- function hn() {
2150
+ function vn() {
2150
2151
  return (e, o) => S(() => {
2151
2152
  var t;
2152
2153
  return [(t = e.getColumn(o)) == null ? void 0 : t.getFacetedRowModel()];
@@ -2167,7 +2168,7 @@ function hn() {
2167
2168
  return n;
2168
2169
  }, C(e.options, "debugTable", `getFacetedUniqueValues_${o}`));
2169
2170
  }
2170
- function Sn() {
2171
+ function xn() {
2171
2172
  return (e) => S(() => [e.getPreFilteredRowModel(), e.getState().columnFilters, e.getState().globalFilter], (o, t, n) => {
2172
2173
  if (!o.rows.length || !(t != null && t.length) && !n) {
2173
2174
  for (let c = 0; c < o.flatRows.length; c++)
@@ -2177,12 +2178,12 @@ function Sn() {
2177
2178
  const r = [], i = [];
2178
2179
  (t ?? []).forEach((c) => {
2179
2180
  var a;
2180
- const p = e.getColumn(c.id);
2181
- if (!p)
2181
+ const m = e.getColumn(c.id);
2182
+ if (!m)
2182
2183
  return;
2183
- const h = p.getFilterFn();
2184
+ const h = m.getFilterFn();
2184
2185
  if (!h) {
2185
- process.env.NODE_ENV !== "production" && console.warn(`Could not find a valid 'column.filterFn' for column with the ID: ${p.id}.`);
2186
+ process.env.NODE_ENV !== "production" && console.warn(`Could not find a valid 'column.filterFn' for column with the ID: ${m.id}.`);
2186
2187
  return;
2187
2188
  }
2188
2189
  r.push({
@@ -2204,16 +2205,16 @@ function Sn() {
2204
2205
  for (let c = 0; c < o.flatRows.length; c++) {
2205
2206
  const a = o.flatRows[c];
2206
2207
  if (a.columnFilters = {}, r.length)
2207
- for (let p = 0; p < r.length; p++) {
2208
- g = r[p];
2208
+ for (let m = 0; m < r.length; m++) {
2209
+ g = r[m];
2209
2210
  const h = g.id;
2210
2211
  a.columnFilters[h] = g.filterFn(a, h, g.resolvedValue, (R) => {
2211
2212
  a.columnFiltersMeta[h] = R;
2212
2213
  });
2213
2214
  }
2214
2215
  if (i.length) {
2215
- for (let p = 0; p < i.length; p++) {
2216
- d = i[p];
2216
+ for (let m = 0; m < i.length; m++) {
2217
+ d = i[m];
2217
2218
  const h = d.id;
2218
2219
  if (d.filterFn(a, h, d.resolvedValue, (R) => {
2219
2220
  a.columnFiltersMeta[h] = R;
@@ -2231,10 +2232,10 @@ function Sn() {
2231
2232
  return !1;
2232
2233
  return !0;
2233
2234
  };
2234
- return Ue(o.rows, f, e);
2235
+ return Ye(o.rows, f, e);
2235
2236
  }, C(e.options, "debugTable", "getFilteredRowModel", () => e._autoResetPageIndex()));
2236
2237
  }
2237
- function Cn(e) {
2238
+ function _n(e) {
2238
2239
  return (o) => S(() => [o.getState().pagination, o.getPrePaginationRowModel(), o.options.paginateExpandedRows ? void 0 : o.getState().expanded], (t, n) => {
2239
2240
  if (!n.rows.length)
2240
2241
  return n;
@@ -2254,7 +2255,7 @@ function Cn(e) {
2254
2255
  rows: l,
2255
2256
  flatRows: u,
2256
2257
  rowsById: s
2257
- } : f = cn({
2258
+ } : f = Sn({
2258
2259
  rows: l,
2259
2260
  flatRows: u,
2260
2261
  rowsById: s
@@ -2265,7 +2266,7 @@ function Cn(e) {
2265
2266
  return f.rows.forEach(c), f;
2266
2267
  }, C(o.options, "debugTable", "getPaginationRowModel"));
2267
2268
  }
2268
- function wn() {
2269
+ function Fn() {
2269
2270
  return (e) => S(() => [e.getState().sorting, e.getPreSortedRowModel()], (o, t) => {
2270
2271
  if (!t.rows.length || !(o != null && o.length))
2271
2272
  return t;
@@ -2288,17 +2289,17 @@ function wn() {
2288
2289
  return g.sort((d, f) => {
2289
2290
  for (let a = 0; a < i.length; a += 1) {
2290
2291
  var c;
2291
- const p = i[a], h = l[p.id], R = h.sortUndefined, v = (c = p == null ? void 0 : p.desc) != null ? c : !1;
2292
+ const m = i[a], h = l[m.id], R = h.sortUndefined, v = (c = m == null ? void 0 : m.desc) != null ? c : !1;
2292
2293
  let x = 0;
2293
2294
  if (R) {
2294
- const _ = d.getValue(p.id), M = f.getValue(p.id), y = _ === void 0, A = M === void 0;
2295
+ const _ = d.getValue(m.id), I = f.getValue(m.id), y = _ === void 0, A = I === void 0;
2295
2296
  if (y || A) {
2296
2297
  if (R === "first") return y ? -1 : 1;
2297
2298
  if (R === "last") return y ? 1 : -1;
2298
2299
  x = y && A ? 0 : y ? R : -R;
2299
2300
  }
2300
2301
  }
2301
- if (x === 0 && (x = h.sortingFn(d, f, p.id)), x !== 0)
2302
+ if (x === 0 && (x = h.sortingFn(d, f, m.id)), x !== 0)
2302
2303
  return v && (x *= -1), h.invertSorting && (x *= -1), x;
2303
2304
  }
2304
2305
  return d.index - f.index;
@@ -2324,22 +2325,22 @@ function wn() {
2324
2325
  *
2325
2326
  * @license MIT
2326
2327
  */
2327
- function B(e, o) {
2328
- return e ? Rn(e) ? /* @__PURE__ */ P.createElement(e, o) : e : null;
2328
+ function q(e, o) {
2329
+ return e ? yn(e) ? /* @__PURE__ */ E.createElement(e, o) : e : null;
2329
2330
  }
2330
- function Rn(e) {
2331
- return vn(e) || typeof e == "function" || xn(e);
2331
+ function yn(e) {
2332
+ return $n(e) || typeof e == "function" || Vn(e);
2332
2333
  }
2333
- function vn(e) {
2334
+ function $n(e) {
2334
2335
  return typeof e == "function" && (() => {
2335
2336
  const o = Object.getPrototypeOf(e);
2336
2337
  return o.prototype && o.prototype.isReactComponent;
2337
2338
  })();
2338
2339
  }
2339
- function xn(e) {
2340
+ function Vn(e) {
2340
2341
  return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
2341
2342
  }
2342
- function _n(e) {
2343
+ function Mn(e) {
2343
2344
  const o = {
2344
2345
  state: {},
2345
2346
  // Dummy state
@@ -2348,9 +2349,9 @@ function _n(e) {
2348
2349
  // noop
2349
2350
  renderFallbackValue: null,
2350
2351
  ...e
2351
- }, [t] = P.useState(() => ({
2352
- current: gn(o)
2353
- })), [n, r] = P.useState(() => t.current.initialState);
2352
+ }, [t] = E.useState(() => ({
2353
+ current: mn(o)
2354
+ })), [n, r] = E.useState(() => t.current.initialState);
2354
2355
  return t.current.setOptions((i) => ({
2355
2356
  ...i,
2356
2357
  ...e,
@@ -2365,7 +2366,7 @@ function _n(e) {
2365
2366
  }
2366
2367
  })), t.current;
2367
2368
  }
2368
- const Fn = ({
2369
+ const In = ({
2369
2370
  page: e = 1,
2370
2371
  between: o = 3,
2371
2372
  totalPages: t,
@@ -2380,8 +2381,8 @@ const Fn = ({
2380
2381
  return t < s ? g = u : e - 1 <= o ? g = u.slice(0, s - (i > 0 ? i + 1 : 0)) : e + o >= t ? g = u.slice(t - s + (i > 0 ? i + 1 : 0), t) : g = u.slice(
2381
2382
  e - 1 - (o - (i > 0 ? i + 1 : 0)),
2382
2383
  e + (o - (i > 0 ? i + 1 : 0))
2383
- ), /* @__PURE__ */ m.jsxs("div", { className: w("flex", l == null ? void 0 : l.root), children: [
2384
- r && /* @__PURE__ */ m.jsx(
2384
+ ), /* @__PURE__ */ p.jsxs("div", { className: w("flex", l == null ? void 0 : l.root), children: [
2385
+ r && /* @__PURE__ */ p.jsx(
2385
2386
  D,
2386
2387
  {
2387
2388
  size: "sm",
@@ -2389,10 +2390,10 @@ const Fn = ({
2389
2390
  className: w("mob-body-regular-l w-[40px] p-0 text-color-dark disabled:text-icon-disabled", l == null ? void 0 : l.button),
2390
2391
  disabled: e <= 1,
2391
2392
  onClick: () => e > 1 && n(e - 2),
2392
- children: /* @__PURE__ */ m.jsx(j, { name: "arrows/arrowRight", className: "rotate-180" })
2393
+ children: /* @__PURE__ */ p.jsx(z, { name: "arrows/arrowRight", className: "rotate-180" })
2393
2394
  }
2394
2395
  ),
2395
- t > s && i > 0 && u.slice(0, e - 1 <= o ? 0 : i).map((d) => /* @__PURE__ */ m.jsx(
2396
+ t > s && i > 0 && u.slice(0, e - 1 <= o ? 0 : i).map((d) => /* @__PURE__ */ p.jsx(
2396
2397
  D,
2397
2398
  {
2398
2399
  size: "sm",
@@ -2403,7 +2404,7 @@ const Fn = ({
2403
2404
  },
2404
2405
  d
2405
2406
  )),
2406
- t > s && i > 0 && e - 1 > o && /* @__PURE__ */ m.jsx(
2407
+ t > s && i > 0 && e - 1 > o && /* @__PURE__ */ p.jsx(
2407
2408
  D,
2408
2409
  {
2409
2410
  size: "sm",
@@ -2414,7 +2415,7 @@ const Fn = ({
2414
2415
  ),
2415
2416
  g.map((d) => {
2416
2417
  const f = d === e - 1;
2417
- return /* @__PURE__ */ m.jsx(
2418
+ return /* @__PURE__ */ p.jsx(
2418
2419
  D,
2419
2420
  {
2420
2421
  size: "sm",
@@ -2432,7 +2433,7 @@ const Fn = ({
2432
2433
  d
2433
2434
  );
2434
2435
  }),
2435
- t > s && i > 0 && e < t - o && /* @__PURE__ */ m.jsx(
2436
+ t > s && i > 0 && e < t - o && /* @__PURE__ */ p.jsx(
2436
2437
  D,
2437
2438
  {
2438
2439
  size: "sm",
@@ -2441,7 +2442,7 @@ const Fn = ({
2441
2442
  children: "..."
2442
2443
  }
2443
2444
  ),
2444
- t > s && i > 0 && u.slice(e >= t - o ? t : t - i, t).map((d) => /* @__PURE__ */ m.jsx(
2445
+ t > s && i > 0 && u.slice(e >= t - o ? t : t - i, t).map((d) => /* @__PURE__ */ p.jsx(
2445
2446
  D,
2446
2447
  {
2447
2448
  size: "sm",
@@ -2452,7 +2453,7 @@ const Fn = ({
2452
2453
  },
2453
2454
  d
2454
2455
  )),
2455
- r && /* @__PURE__ */ m.jsx(
2456
+ r && /* @__PURE__ */ p.jsx(
2456
2457
  D,
2457
2458
  {
2458
2459
  size: "sm",
@@ -2460,21 +2461,21 @@ const Fn = ({
2460
2461
  className: w("mob-body-regular-l w-[40px] p-0 text-color-dark disabled:text-icon-disabled", l == null ? void 0 : l.button),
2461
2462
  disabled: e >= t,
2462
2463
  onClick: () => e < t && n(e),
2463
- children: /* @__PURE__ */ m.jsx(j, { name: "arrows/arrowRight" })
2464
+ children: /* @__PURE__ */ p.jsx(z, { name: "arrows/arrowRight" })
2464
2465
  }
2465
2466
  )
2466
2467
  ] });
2467
- }, yn = ({ page: e, pageCount: o, pageSize: t, onPageIndexChange: n, rowsCount: r, classes: i }) => {
2468
+ }, Pn = ({ page: e, pageCount: o, pageSize: t, onPageIndexChange: n, rowsCount: r, classes: i }) => {
2468
2469
  const l = t * e, u = l > r ? r : l;
2469
- return /* @__PURE__ */ m.jsxs("div", { className: w("flex w-full items-center justify-between", i == null ? void 0 : i.root), children: [
2470
- /* @__PURE__ */ m.jsxs("span", { className: w("desk-body-regular-m text-color-tetriary", i == null ? void 0 : i.displayShown), children: [
2470
+ return /* @__PURE__ */ p.jsxs("div", { className: w("flex w-full items-center justify-between", i == null ? void 0 : i.root), children: [
2471
+ /* @__PURE__ */ p.jsxs("span", { className: w("desk-body-regular-m text-color-tetriary", i == null ? void 0 : i.displayShown), children: [
2471
2472
  "Показано ",
2472
2473
  u,
2473
2474
  " из ",
2474
2475
  r
2475
2476
  ] }),
2476
- /* @__PURE__ */ m.jsx(
2477
- Fn,
2477
+ /* @__PURE__ */ p.jsx(
2478
+ In,
2478
2479
  {
2479
2480
  totalPages: o,
2480
2481
  changePage: (s) => n(s),
@@ -2484,7 +2485,7 @@ const Fn = ({
2484
2485
  }
2485
2486
  )
2486
2487
  ] });
2487
- }, $n = ({ mode: e, enableHeaders: o, table: t, classes: n, pagination: r }) => {
2488
+ }, En = ({ mode: e, enableHeaders: o, table: t, classes: n, pagination: r }) => {
2488
2489
  const i = r !== !1 && t.getPageCount() > 1, l = {
2489
2490
  pageCount: t.getPageCount(),
2490
2491
  rowsCount: t.getCoreRowModel().rows.length,
@@ -2493,10 +2494,10 @@ const Fn = ({
2493
2494
  onPageIndexChange: t.setPageIndex,
2494
2495
  classes: n == null ? void 0 : n.pagination
2495
2496
  };
2496
- return /* @__PURE__ */ m.jsxs("div", { className: w("flex w-full flex-col gap-y-4", n == null ? void 0 : n.root), children: [
2497
- /* @__PURE__ */ m.jsxs(Le, { className: w("w-full", n == null ? void 0 : n.table), children: [
2498
- o && /* @__PURE__ */ m.jsx(He, { className: "px-2", children: t.getHeaderGroups().map((u) => /* @__PURE__ */ m.jsx(
2499
- O,
2497
+ return /* @__PURE__ */ p.jsxs("div", { className: w("flex w-full flex-col gap-y-4", n == null ? void 0 : n.root), children: [
2498
+ /* @__PURE__ */ p.jsxs(Ge, { className: w("w-full", n == null ? void 0 : n.table), children: [
2499
+ o && /* @__PURE__ */ p.jsx(je, { className: "px-2", children: t.getHeaderGroups().map((u) => /* @__PURE__ */ p.jsx(
2500
+ B,
2500
2501
  {
2501
2502
  className: w(
2502
2503
  "w-full",
@@ -2505,8 +2506,8 @@ const Fn = ({
2505
2506
  },
2506
2507
  n == null ? void 0 : n.tableHeader
2507
2508
  ),
2508
- children: u.headers.map((s) => /* @__PURE__ */ m.jsx(
2509
- be,
2509
+ children: u.headers.map((s) => /* @__PURE__ */ p.jsx(
2510
+ Ne,
2510
2511
  {
2511
2512
  className: w(
2512
2513
  "py-3",
@@ -2515,15 +2516,15 @@ const Fn = ({
2515
2516
  },
2516
2517
  n == null ? void 0 : n.tableHead
2517
2518
  ),
2518
- children: s.isPlaceholder ? null : B(s.column.columnDef.header, s.getContext())
2519
+ children: s.isPlaceholder ? null : q(s.column.columnDef.header, s.getContext())
2519
2520
  },
2520
2521
  s.id
2521
2522
  ))
2522
2523
  },
2523
2524
  u.id
2524
2525
  )) }),
2525
- /* @__PURE__ */ m.jsx(Ae, { children: t.getRowModel().rows.length ? t.getRowModel().rows.map((u) => /* @__PURE__ */ m.jsx(
2526
- O,
2526
+ /* @__PURE__ */ p.jsx(ze, { children: t.getRowModel().rows.length ? t.getRowModel().rows.map((u) => /* @__PURE__ */ p.jsx(
2527
+ B,
2527
2528
  {
2528
2529
  className: w(
2529
2530
  "w-full",
@@ -2533,8 +2534,8 @@ const Fn = ({
2533
2534
  },
2534
2535
  n == null ? void 0 : n.tableRow
2535
2536
  ),
2536
- children: u.getVisibleCells().map((s, g) => /* @__PURE__ */ m.jsx(
2537
- ee,
2537
+ children: u.getVisibleCells().map((s, g) => /* @__PURE__ */ p.jsx(
2538
+ ne,
2538
2539
  {
2539
2540
  className: w(
2540
2541
  "py-3",
@@ -2544,22 +2545,22 @@ const Fn = ({
2544
2545
  },
2545
2546
  n == null ? void 0 : n.tableCell
2546
2547
  ),
2547
- children: B(s.column.columnDef.cell, s.getContext())
2548
+ children: q(s.column.columnDef.cell, s.getContext())
2548
2549
  },
2549
2550
  s.id
2550
2551
  ))
2551
2552
  },
2552
2553
  u.id
2553
- )) : /* @__PURE__ */ m.jsx(O, { children: /* @__PURE__ */ m.jsx(ee, { colSpan: t.getRowCount(), children: "Not found" }) }) })
2554
+ )) : /* @__PURE__ */ p.jsx(B, { children: /* @__PURE__ */ p.jsx(ne, { colSpan: t.getRowCount(), children: "Not found" }) }) })
2554
2555
  ] }),
2555
- i ? typeof r == "function" ? r(l) : /* @__PURE__ */ m.jsx(yn, { ...l }) : null
2556
+ i ? typeof r == "function" ? r(l) : /* @__PURE__ */ p.jsx(Pn, { ...l }) : null
2556
2557
  ] });
2557
- }, Vn = ({
2558
+ }, Dn = ({
2558
2559
  mode: e,
2559
2560
  enableHeaders: o,
2560
2561
  table: t,
2561
2562
  classes: n
2562
- }) => /* @__PURE__ */ m.jsx("div", { className: w("w-full", n == null ? void 0 : n.table), children: t.getRowModel().rows.length ? t.getRowModel().rows.map((r) => /* @__PURE__ */ m.jsx(
2563
+ }) => /* @__PURE__ */ p.jsx("div", { className: w("w-full", n == null ? void 0 : n.table), children: t.getRowModel().rows.length ? t.getRowModel().rows.map((r) => /* @__PURE__ */ p.jsx(
2563
2564
  "div",
2564
2565
  {
2565
2566
  className: w(
@@ -2571,7 +2572,7 @@ const Fn = ({
2571
2572
  ),
2572
2573
  children: r.getVisibleCells().map((i, l) => {
2573
2574
  const u = t.getHeaderGroups()[0].headers[l];
2574
- return /* @__PURE__ */ m.jsxs(
2575
+ return /* @__PURE__ */ p.jsxs(
2575
2576
  "div",
2576
2577
  {
2577
2578
  className: w(
@@ -2583,8 +2584,8 @@ const Fn = ({
2583
2584
  n == null ? void 0 : n.tableCell
2584
2585
  ),
2585
2586
  children: [
2586
- o && /* @__PURE__ */ m.jsx("p", { className: "font-bold", children: B(u.column.columnDef.header, u.getContext()) }),
2587
- /* @__PURE__ */ m.jsx("p", { children: B(i.column.columnDef.cell, i.getContext()) })
2587
+ o && /* @__PURE__ */ p.jsx("p", { className: "font-bold", children: q(u.column.columnDef.header, u.getContext()) }),
2588
+ /* @__PURE__ */ p.jsx("p", { children: q(i.column.columnDef.cell, i.getContext()) })
2588
2589
  ]
2589
2590
  },
2590
2591
  i.id
@@ -2592,7 +2593,7 @@ const Fn = ({
2592
2593
  })
2593
2594
  },
2594
2595
  r.id
2595
- )) : /* @__PURE__ */ m.jsx("div", { children: "Not found" }) }), Nn = ({
2596
+ )) : /* @__PURE__ */ p.jsx("div", { children: "Not found" }) }), Zn = ({
2596
2597
  columns: e,
2597
2598
  data: o,
2598
2599
  enableHeaders: t = !0,
@@ -2600,25 +2601,25 @@ const Fn = ({
2600
2601
  classes: r,
2601
2602
  pagination: i = !0
2602
2603
  }) => {
2603
- const [l, u] = he([]), [s, g] = he([]), d = _n({
2604
+ const [l, u] = we([]), [s, g] = we([]), d = Mn({
2604
2605
  data: o,
2605
2606
  columns: e,
2606
2607
  state: { columnFilters: l, sorting: s },
2607
2608
  enableRowSelection: !0,
2608
2609
  onSortingChange: g,
2609
2610
  onColumnFiltersChange: u,
2610
- getCoreRowModel: dn(),
2611
- getFilteredRowModel: Sn(),
2612
- getSortedRowModel: wn(),
2613
- getFacetedRowModel: mn(),
2614
- getFacetedUniqueValues: hn(),
2615
- getPaginationRowModel: Cn()
2616
- }), { isMobile: f } = xe();
2617
- return f ? /* @__PURE__ */ m.jsx(Vn, { table: d, enableHeaders: t, mode: n, classes: r }) : /* @__PURE__ */ m.jsx($n, { table: d, enableHeaders: t, mode: n, pagination: i, classes: r });
2611
+ getCoreRowModel: hn(),
2612
+ getFilteredRowModel: xn(),
2613
+ getSortedRowModel: Fn(),
2614
+ getFacetedRowModel: Rn(),
2615
+ getFacetedUniqueValues: vn(),
2616
+ getPaginationRowModel: _n()
2617
+ }), { isMobile: f } = $e();
2618
+ return f ? /* @__PURE__ */ p.jsx(Dn, { table: d, enableHeaders: t, mode: n, classes: r }) : /* @__PURE__ */ p.jsx(En, { table: d, enableHeaders: t, mode: n, pagination: i, classes: r });
2618
2619
  };
2619
- class Tn {
2620
+ class Jn {
2620
2621
  static getColumnHelper() {
2621
- return yt();
2622
+ return Pt();
2622
2623
  }
2623
2624
  static getColumns(o, t) {
2624
2625
  const {
@@ -2631,8 +2632,8 @@ class Tn {
2631
2632
  return Object.keys(o).map((g) => n.accessor(g, {
2632
2633
  header: (d) => {
2633
2634
  const { column: f } = d, c = u ? u[g] : null;
2634
- return /* @__PURE__ */ m.jsx(
2635
- Ft,
2635
+ return /* @__PURE__ */ p.jsx(
2636
+ It,
2636
2637
  {
2637
2638
  isSorted: f.getIsSorted() === "desc",
2638
2639
  nextSortingOrder: f.getNextSortingOrder(),
@@ -2646,17 +2647,17 @@ class Tn {
2646
2647
  const f = l ? l[g] : null;
2647
2648
  return f ? f(d) : d.getValue();
2648
2649
  },
2649
- enableColumnFilter: Se.isBoolean(r) ? r : r.includes(g),
2650
- enableSorting: Se.isBoolean(i) ? i : i.includes(g)
2650
+ enableColumnFilter: Re.isBoolean(r) ? r : r.includes(g),
2651
+ enableSorting: Re.isBoolean(i) ? i : i.includes(g)
2651
2652
  }));
2652
2653
  }
2653
2654
  }
2654
- const On = ({ maxToastViewLimit: e = 2, toastDuration: o = 5e3 }) => {
2655
- const { toasts: t } = ut();
2656
- return gt(() => {
2657
- t.filter((n) => n.visible).filter((n, r) => r >= e).forEach((n) => st.dismiss(n.id));
2658
- }, [e, t]), /* @__PURE__ */ m.jsx(
2659
- at,
2655
+ const Qn = ({ maxToastViewLimit: e = 2, toastDuration: o = 5e3 }) => {
2656
+ const { toasts: t } = dt();
2657
+ return pt(() => {
2658
+ t.filter((n) => n.visible).filter((n, r) => r >= e).forEach((n) => ct.dismiss(n.id));
2659
+ }, [e, t]), /* @__PURE__ */ p.jsx(
2660
+ ft,
2660
2661
  {
2661
2662
  position: "top-center",
2662
2663
  toastOptions: {
@@ -2664,7 +2665,7 @@ const On = ({ maxToastViewLimit: e = 2, toastDuration: o = 5e3 }) => {
2664
2665
  }
2665
2666
  }
2666
2667
  );
2667
- }, Bn = ({ linksList: e }) => /* @__PURE__ */ m.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: e.map((o) => /* @__PURE__ */ m.jsx(m.Fragment, { children: "path" in o ? /* @__PURE__ */ m.jsxs(
2668
+ }, eo = ({ linksList: e }) => /* @__PURE__ */ p.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: e.map((o) => /* @__PURE__ */ p.jsx(p.Fragment, { children: "path" in o ? /* @__PURE__ */ p.jsxs(
2668
2669
  "div",
2669
2670
  {
2670
2671
  className: w(
@@ -2672,7 +2673,7 @@ const On = ({ maxToastViewLimit: e = 2, toastDuration: o = 5e3 }) => {
2672
2673
  { "pointer-events-none !border-transparent": o == null ? void 0 : o.isDisabled }
2673
2674
  ),
2674
2675
  children: [
2675
- /* @__PURE__ */ m.jsx(
2676
+ /* @__PURE__ */ p.jsx(
2676
2677
  "a",
2677
2678
  {
2678
2679
  href: o.path,
@@ -2685,8 +2686,8 @@ const On = ({ maxToastViewLimit: e = 2, toastDuration: o = 5e3 }) => {
2685
2686
  children: o.label
2686
2687
  }
2687
2688
  ),
2688
- /* @__PURE__ */ m.jsx(
2689
- j,
2689
+ /* @__PURE__ */ p.jsx(
2690
+ z,
2690
2691
  {
2691
2692
  name: "arrows/arrowRight",
2692
2693
  className: w("size-4 text-icon-primary-default", { "!text-icon-disabled": o == null ? void 0 : o.isDisabled })
@@ -2694,52 +2695,86 @@ const On = ({ maxToastViewLimit: e = 2, toastDuration: o = 5e3 }) => {
2694
2695
  )
2695
2696
  ]
2696
2697
  }
2697
- ) : /* @__PURE__ */ m.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: o.label }) })) });
2698
+ ) : /* @__PURE__ */ p.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: o.label }) })) }), Ln = ({ children: e }) => /* @__PURE__ */ p.jsx(p.Fragment, { children: e }), se = M(({ children: e, ...o }, t) => {
2699
+ if (k(e)) {
2700
+ const n = An(e);
2701
+ return ye(e, {
2702
+ ...Hn(o, e.props),
2703
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2704
+ // @ts-expect-error
2705
+ ref: t ? ht(t, n) : n
2706
+ });
2707
+ }
2708
+ return G.count(e) > 1 ? G.only(null) : null;
2709
+ });
2710
+ se.displayName = "SlotClone";
2711
+ const bn = (e) => k(e) && e.type === Ln, An = (e) => {
2712
+ var n, r;
2713
+ let o = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, t = o && "isReactWarning" in o && o.isReactWarning;
2714
+ return t ? e.ref : (o = (r = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : r.get, t = o && "isReactWarning" in o && o.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
2715
+ }, Hn = (e, o) => {
2716
+ const t = { ...o };
2717
+ for (const n in o) {
2718
+ const r = e[n], i = o[n];
2719
+ /^on[A-Z]/.test(n) ? r && i && (t[n] = (...l) => {
2720
+ r(...l), i(...l);
2721
+ }) : r ? t[n] = r : n === "style" ? t[n] = { ...r, ...i } : n === "className" && (t[n] = [r, i].filter(Boolean).join(" "));
2722
+ }
2723
+ return { ...e, ...t };
2724
+ }, Gn = M(({ children: e, ...o }, t) => {
2725
+ const n = G.toArray(e), r = n.find(bn);
2726
+ if (r) {
2727
+ const i = r.props.children, l = n.map((u) => u === r ? G.count(i) > 1 ? G.only(null) : k(i) ? i.props.children : null : u);
2728
+ return /* @__PURE__ */ p.jsx(se, { ...o, ref: t, children: k(i) ? ye(i, void 0, l) : null });
2729
+ }
2730
+ return /* @__PURE__ */ p.jsx(se, { ...o, ref: t, children: e });
2731
+ });
2732
+ Gn.displayName = "Slot";
2698
2733
  export {
2699
- rt as Accordion,
2700
- Un as Badge,
2701
- Bn as Breadcrumbs,
2734
+ st as Accordion,
2735
+ oo as Badge,
2736
+ eo as Breadcrumbs,
2702
2737
  D as Button,
2703
- Ln as ButtonIcon,
2704
- Kn as Calendar,
2705
- Xn as Controlled,
2706
- Wn as CustomLink,
2707
- so as DATE_VISIBLE_PATTERN,
2708
- Nn as DataTable,
2709
- Ft as DataTableColumnHeader,
2710
- An as FloatButton,
2711
- it as Heading,
2712
- Yn as Hint,
2713
- j as Icon,
2714
- Jn as KeyboardShortcuts,
2715
- Qn as Loader,
2716
- zn as Modal,
2717
- Zn as Notification,
2718
- On as NotificationProvider,
2719
- Fn as Pagination,
2720
- eo as PhoneView,
2721
- to as Popover,
2722
- no as ProgressBar,
2723
- Ye as ResponsiveContainer,
2724
- Hn as Skeleton,
2725
- oo as Slot,
2726
- Le as Table,
2727
- Ae as TableBody,
2728
- _t as TableCaption,
2729
- ee as TableCell,
2730
- xt as TableFooter,
2731
- be as TableHead,
2732
- He as TableHeader,
2733
- O as TableRow,
2734
- Tn as TableUtils,
2735
- jn as TabsSwitcher,
2736
- ro as Uncontrolled,
2737
- bn as allowedIcons,
2738
- io as brandLogos,
2739
- ao as defaultClassNames,
2740
- go as formatDateToLocaleString,
2741
- co as formatDateToMonthString,
2742
- fo as formatDateToYearString,
2743
- lo as isSingleOption
2738
+ kn as ButtonIcon,
2739
+ ro as Calendar,
2740
+ io as Controlled,
2741
+ lo as CustomLink,
2742
+ wo as DATE_VISIBLE_PATTERN,
2743
+ Zn as DataTable,
2744
+ It as DataTableColumnHeader,
2745
+ Un as FloatButton,
2746
+ at as Heading,
2747
+ uo as Hint,
2748
+ z as Icon,
2749
+ so as KeyboardShortcuts,
2750
+ ao as Loader,
2751
+ Yn as Modal,
2752
+ go as Notification,
2753
+ Qn as NotificationProvider,
2754
+ In as Pagination,
2755
+ co as PhoneView,
2756
+ fo as Popover,
2757
+ po as ProgressBar,
2758
+ et as ResponsiveContainer,
2759
+ qn as Skeleton,
2760
+ Gn as Slot,
2761
+ Ge as Table,
2762
+ ze as TableBody,
2763
+ Mt as TableCaption,
2764
+ ne as TableCell,
2765
+ Vt as TableFooter,
2766
+ Ne as TableHead,
2767
+ je as TableHeader,
2768
+ B as TableRow,
2769
+ Jn as TableUtils,
2770
+ Wn as TabsSwitcher,
2771
+ mo as Uncontrolled,
2772
+ Kn as allowedIcons,
2773
+ ho as brandLogos,
2774
+ Ro as defaultClassNames,
2775
+ vo as formatDateToLocaleString,
2776
+ xo as formatDateToMonthString,
2777
+ _o as formatDateToYearString,
2778
+ So as isSingleOption
2744
2779
  };
2745
2780
  //# sourceMappingURL=ui.js.map