@scbt-ecom/ui 0.71.3 → 0.73.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,12 @@
1
- import { j as w, c as On, R as An, B as de, u as Nn, a as Tn, b as jn, d as Hn, P as Be, e as Wt, f as Gn, I as zn, g as Ze, h as Bn, A as kn, i as be, H as qn, D as Un, V as Kn, O as Xn } from "./index-cFFEEZ33.js";
2
- import { o as xi, C as yi, v as Fi, t as _i, p as Ii, K as Mi, L as Vi, M as bi, N as Pi, n as $i, q as Ei, r as Di, U as Li, s as Oi, k as Ai, m as Ni, l as Ti, w as ji } from "./index-cFFEEZ33.js";
3
- import * as ae from "react";
4
- import { forwardRef as Q, useState as Se, useCallback as he, useEffect as ve, useRef as At, isValidElement as je, cloneElement as Qt, Children as Ie } from "react";
1
+ import { j as w, c as On, R as An, B as ge, u as Nn, a as Tn, b as jn, d as Hn, P as ke, e as Wt, f as Gn, I as zn, g as et, h as Bn, A as kn, i as be, H as qn, D as Un, V as Kn, O as Xn } from "./index-HbdkFbuN.js";
2
+ import { o as Fi, C as _i, v as Ii, t as Mi, p as Vi, K as bi, L as Pi, M as $i, N as Ei, n as Di, q as Li, r as Oi, U as Ai, s as Ni, k as Ti, m as ji, l as Hi, w as Gi } from "./index-HbdkFbuN.js";
3
+ import * as ce from "react";
4
+ import { forwardRef as Q, useState as oe, useRef as je, useCallback as Se, useEffect as ve, isValidElement as He, cloneElement as Qt, Children as Ie } from "react";
5
5
  import { c as F, T as Nt } from "./typeGuards-CSiImkUY.js";
6
- import { D as Gi, d as zi, f as Bi, b as ki, a as qi } from "./utils-k3uzuyeN.js";
7
- import { u as ke } from "./useDebounce-B__kmLt7.js";
8
- import { m as Wn } from "./mergeRefs-qDToYXtM.js";
9
- const Qn = On(
6
+ import { D as Bi, d as ki, f as qi, b as Ui, a as Ki } from "./utils-k3uzuyeN.js";
7
+ import { u as qe, a as Wn } from "./useDebounce-B__kmLt7.js";
8
+ import { m as Qn } from "./mergeRefs-qDToYXtM.js";
9
+ const Jn = On(
10
10
  "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
11
  {
12
12
  variants: {
@@ -26,9 +26,9 @@ const Qn = On(
26
26
  size: "lg"
27
27
  }
28
28
  }
29
- ), ai = Q(
30
- ({ size: e, intent: o, children: t, classes: n, type: r = "button", ...i }, s) => /* @__PURE__ */ w.jsx("button", { ref: s, type: r, className: F(Qn({ intent: o, size: e }), n == null ? void 0 : n.button), ...i, children: /* @__PURE__ */ w.jsx("span", { className: F(n == null ? void 0 : n.icon), children: t }) })
31
- ), ci = ({ className: e }) => /* @__PURE__ */ w.jsx("div", { className: F("skeleton-apply h-full w-full", e) }), di = ({ isVisible: e, classes: o, children: t, buttonProps: n }) => /* @__PURE__ */ w.jsxs(
29
+ ), ci = Q(
30
+ ({ size: e, intent: o, children: t, classes: n, type: r = "button", ...i }, s) => /* @__PURE__ */ w.jsx("button", { ref: s, type: r, className: F(Jn({ intent: o, size: e }), n == null ? void 0 : n.button), ...i, children: /* @__PURE__ */ w.jsx("span", { className: F(n == null ? void 0 : n.icon), children: t }) })
31
+ ), di = ({ className: e }) => /* @__PURE__ */ w.jsx("div", { className: F("skeleton-apply h-full w-full", e) }), gi = ({ isVisible: e, classes: o, children: t, buttonProps: n }) => /* @__PURE__ */ w.jsxs(
32
32
  An,
33
33
  {
34
34
  className: F(
@@ -38,10 +38,10 @@ const Qn = On(
38
38
  ),
39
39
  children: [
40
40
  t,
41
- /* @__PURE__ */ w.jsx(de, { size: "lg", className: F("m-auto w-full", o == null ? void 0 : o.button), ...n, children: "Оформить заявку" })
41
+ /* @__PURE__ */ w.jsx(ge, { size: "lg", className: F("m-auto w-full", o == null ? void 0 : o.button), ...n, children: "Оформить заявку" })
42
42
  ]
43
43
  }
44
- ), gi = {
44
+ ), fi = {
45
45
  group: {
46
46
  arrows: [
47
47
  "arrows/arrowCircle",
@@ -93,6 +93,7 @@ const Qn = On(
93
93
  "general/menu",
94
94
  "general/plus",
95
95
  "general/reorder",
96
+ "general/search",
96
97
  "general/shield",
97
98
  "general/showEye"
98
99
  ],
@@ -157,6 +158,7 @@ const Qn = On(
157
158
  "general/menu",
158
159
  "general/plus",
159
160
  "general/reorder",
161
+ "general/search",
160
162
  "general/shield",
161
163
  "general/showEye",
162
164
  "info/helpCircle",
@@ -173,9 +175,9 @@ const Qn = On(
173
175
  "status/iconUser"
174
176
  ]
175
177
  };
176
- var qe = "Tabs", [Jn, fi] = jn(qe, [
178
+ var Ue = "Tabs", [Yn, pi] = jn(Ue, [
177
179
  Wt
178
- ]), Jt = Wt(), [Yn, ht] = Jn(qe), Yt = ae.forwardRef(
180
+ ]), Jt = Wt(), [Zn, St] = Yn(Ue), Yt = ce.forwardRef(
179
181
  (e, o) => {
180
182
  const {
181
183
  __scopeTabs: t,
@@ -190,10 +192,10 @@ var qe = "Tabs", [Jn, fi] = jn(qe, [
190
192
  prop: n,
191
193
  onChange: r,
192
194
  defaultProp: i ?? "",
193
- caller: qe
195
+ caller: Ue
194
196
  });
195
197
  return /* @__PURE__ */ w.jsx(
196
- Yn,
198
+ Zn,
197
199
  {
198
200
  scope: t,
199
201
  baseId: Hn(),
@@ -203,7 +205,7 @@ var qe = "Tabs", [Jn, fi] = jn(qe, [
203
205
  dir: d,
204
206
  activationMode: l,
205
207
  children: /* @__PURE__ */ w.jsx(
206
- Be.div,
208
+ ke.div,
207
209
  {
208
210
  dir: d,
209
211
  "data-orientation": s,
@@ -215,10 +217,10 @@ var qe = "Tabs", [Jn, fi] = jn(qe, [
215
217
  );
216
218
  }
217
219
  );
218
- Yt.displayName = qe;
219
- var Zt = "TabsList", en = ae.forwardRef(
220
+ Yt.displayName = Ue;
221
+ var Zt = "TabsList", en = ce.forwardRef(
220
222
  (e, o) => {
221
- const { __scopeTabs: t, loop: n = !0, ...r } = e, i = ht(Zt, t), s = Jt(t);
223
+ const { __scopeTabs: t, loop: n = !0, ...r } = e, i = St(Zt, t), s = Jt(t);
222
224
  return /* @__PURE__ */ w.jsx(
223
225
  Gn,
224
226
  {
@@ -228,7 +230,7 @@ var Zt = "TabsList", en = ae.forwardRef(
228
230
  dir: i.dir,
229
231
  loop: n,
230
232
  children: /* @__PURE__ */ w.jsx(
231
- Be.div,
233
+ ke.div,
232
234
  {
233
235
  role: "tablist",
234
236
  "aria-orientation": i.orientation,
@@ -241,9 +243,9 @@ var Zt = "TabsList", en = ae.forwardRef(
241
243
  }
242
244
  );
243
245
  en.displayName = Zt;
244
- var tn = "TabsTrigger", nn = ae.forwardRef(
246
+ var tn = "TabsTrigger", nn = ce.forwardRef(
245
247
  (e, o) => {
246
- const { __scopeTabs: t, value: n, disabled: r = !1, ...i } = e, s = ht(tn, t), u = Jt(t), l = sn(s.baseId, n), a = ln(s.baseId, n), d = n === s.value;
248
+ const { __scopeTabs: t, value: n, disabled: r = !1, ...i } = e, s = St(tn, t), u = Jt(t), l = sn(s.baseId, n), a = ln(s.baseId, n), d = n === s.value;
247
249
  return /* @__PURE__ */ w.jsx(
248
250
  zn,
249
251
  {
@@ -252,7 +254,7 @@ var tn = "TabsTrigger", nn = ae.forwardRef(
252
254
  focusable: !r,
253
255
  active: d,
254
256
  children: /* @__PURE__ */ w.jsx(
255
- Be.button,
257
+ ke.button,
256
258
  {
257
259
  type: "button",
258
260
  role: "tab",
@@ -264,13 +266,13 @@ var tn = "TabsTrigger", nn = ae.forwardRef(
264
266
  id: l,
265
267
  ...i,
266
268
  ref: o,
267
- onMouseDown: Ze(e.onMouseDown, (f) => {
269
+ onMouseDown: et(e.onMouseDown, (f) => {
268
270
  !r && f.button === 0 && f.ctrlKey === !1 ? s.onValueChange(n) : f.preventDefault();
269
271
  }),
270
- onKeyDown: Ze(e.onKeyDown, (f) => {
272
+ onKeyDown: et(e.onKeyDown, (f) => {
271
273
  [" ", "Enter"].includes(f.key) && s.onValueChange(n);
272
274
  }),
273
- onFocus: Ze(e.onFocus, () => {
275
+ onFocus: et(e.onFocus, () => {
274
276
  const f = s.activationMode !== "manual";
275
277
  !d && !r && f && s.onValueChange(n);
276
278
  })
@@ -281,14 +283,14 @@ var tn = "TabsTrigger", nn = ae.forwardRef(
281
283
  }
282
284
  );
283
285
  nn.displayName = tn;
284
- var on = "TabsContent", rn = ae.forwardRef(
286
+ var on = "TabsContent", rn = ce.forwardRef(
285
287
  (e, o) => {
286
- const { __scopeTabs: t, value: n, forceMount: r, children: i, ...s } = e, u = ht(on, t), l = sn(u.baseId, n), a = ln(u.baseId, n), d = n === u.value, f = ae.useRef(d);
287
- return ae.useEffect(() => {
288
+ const { __scopeTabs: t, value: n, forceMount: r, children: i, ...s } = e, u = St(on, t), l = sn(u.baseId, n), a = ln(u.baseId, n), d = n === u.value, f = ce.useRef(d);
289
+ return ce.useEffect(() => {
288
290
  const g = requestAnimationFrame(() => f.current = !1);
289
291
  return () => cancelAnimationFrame(g);
290
292
  }, []), /* @__PURE__ */ w.jsx(Bn, { present: r || d, children: ({ present: g }) => /* @__PURE__ */ w.jsx(
291
- Be.div,
293
+ ke.div,
292
294
  {
293
295
  "data-state": d ? "active" : "inactive",
294
296
  "data-orientation": u.orientation,
@@ -315,19 +317,19 @@ function sn(e, o) {
315
317
  function ln(e, o) {
316
318
  return `${e}-content-${o}`;
317
319
  }
318
- var Zn = Yt, eo = en, to = nn, Tt = rn;
319
- const no = ({ classes: e, contents: o }) => /* @__PURE__ */ w.jsx("div", { className: F("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__ */ w.jsx(Tt, { value: t, className: F("py-8", e == null ? void 0 : e.content), children: /* @__PURE__ */ w.jsx(kn, { label: r == null ? void 0 : r.title, children: n }) }, t) : /* @__PURE__ */ w.jsx(Tt, { value: t, className: F("py-8", e == null ? void 0 : e.content), children: n }, t)) }), pi = ({ renderContent: e, defaultActiveTabId: o = "1", value: t, onChangeTab: n, classes: r }) => {
320
+ var eo = Yt, to = en, no = nn, Tt = rn;
321
+ const oo = ({ classes: e, contents: o }) => /* @__PURE__ */ w.jsx("div", { className: F("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__ */ w.jsx(Tt, { value: t, className: F("py-8", e == null ? void 0 : e.content), children: /* @__PURE__ */ w.jsx(kn, { label: r == null ? void 0 : r.title, children: n }) }, t) : /* @__PURE__ */ w.jsx(Tt, { value: t, className: F("py-8", e == null ? void 0 : e.content), children: n }, t)) }), mi = ({ renderContent: e, defaultActiveTabId: o = "1", value: t, onChangeTab: n, classes: r }) => {
320
322
  var i;
321
323
  return /* @__PURE__ */ w.jsxs(
322
- Zn,
324
+ eo,
323
325
  {
324
326
  value: t,
325
327
  onValueChange: n,
326
328
  defaultValue: o,
327
329
  className: F("flex flex-col", r == null ? void 0 : r.root),
328
330
  children: [
329
- /* @__PURE__ */ w.jsx(eo, { className: F("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: s, label: u }) => /* @__PURE__ */ w.jsx(
330
- to,
331
+ /* @__PURE__ */ w.jsx(to, { className: F("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: s, label: u }) => /* @__PURE__ */ w.jsx(
332
+ no,
331
333
  {
332
334
  value: s,
333
335
  className: F(
@@ -338,7 +340,7 @@ const no = ({ classes: e, contents: o }) => /* @__PURE__ */ w.jsx("div", { class
338
340
  },
339
341
  s
340
342
  )) }),
341
- /* @__PURE__ */ w.jsx(no, { contents: e == null ? void 0 : e.contents, classes: r == null ? void 0 : r.tabContent })
343
+ /* @__PURE__ */ w.jsx(oo, { contents: e == null ? void 0 : e.contents, classes: r == null ? void 0 : r.tabContent })
342
344
  ]
343
345
  }
344
346
  );
@@ -348,17 +350,17 @@ const an = Q((e, o) => /* @__PURE__ */ w.jsx("thead", { ref: o, ...e }));
348
350
  an.displayName = "TableHeader";
349
351
  const cn = Q((e, o) => /* @__PURE__ */ w.jsx("tbody", { ref: o, ...e }));
350
352
  cn.displayName = "TableBody";
351
- const oo = Q((e, o) => /* @__PURE__ */ w.jsx("tfoot", { ref: o, ...e }));
352
- oo.displayName = "TableFooter";
353
+ const ro = Q((e, o) => /* @__PURE__ */ w.jsx("tfoot", { ref: o, ...e }));
354
+ ro.displayName = "TableFooter";
353
355
  const Te = Q((e, o) => /* @__PURE__ */ w.jsx("tr", { ref: o, ...e }));
354
356
  Te.displayName = "TableRow";
355
357
  const dn = Q((e, o) => /* @__PURE__ */ w.jsx("th", { ref: o, ...e }));
356
358
  dn.displayName = "TableHead";
357
- const lt = Q((e, o) => /* @__PURE__ */ w.jsx("td", { ref: o, ...e }));
358
- lt.displayName = "TableCell";
359
- const ro = Q((e, o) => /* @__PURE__ */ w.jsx("caption", { ref: o, ...e }));
360
- ro.displayName = "TableCaption";
361
- const io = ({
359
+ const ut = Q((e, o) => /* @__PURE__ */ w.jsx("td", { ref: o, ...e }));
360
+ ut.displayName = "TableCell";
361
+ const io = Q((e, o) => /* @__PURE__ */ w.jsx("caption", { ref: o, ...e }));
362
+ io.displayName = "TableCaption";
363
+ const so = ({
362
364
  children: e,
363
365
  canSort: o,
364
366
  toggleSorting: t,
@@ -366,7 +368,7 @@ const io = ({
366
368
  isSorted: r,
367
369
  classes: i
368
370
  }) => {
369
- const { root: s, content: u, icon: l } = i || {}, { isDesktop: a } = ke(), d = o && a;
371
+ const { root: s, content: u, icon: l } = i || {}, { isDesktop: a } = qe(), d = o && a;
370
372
  return /* @__PURE__ */ w.jsxs(
371
373
  "button",
372
374
  {
@@ -392,6 +394,35 @@ const io = ({
392
394
  ]
393
395
  }
394
396
  );
397
+ }, hi = ({
398
+ row: e,
399
+ getValue: o,
400
+ update: t,
401
+ target: n,
402
+ rowIndex: r = -1
403
+ }) => {
404
+ const [i, s] = oe(!1), [u, l] = oe(o()), a = je(!1), d = je(null), { original: f } = e, g = (p) => {
405
+ l(p.target.value), a.current = !0;
406
+ }, c = () => {
407
+ if (a.current) {
408
+ const p = { ...f, [n]: u };
409
+ t(r, p), a.current = !1;
410
+ }
411
+ s(!1);
412
+ };
413
+ return Wn(d, c), i ? /* @__PURE__ */ w.jsx(
414
+ "input",
415
+ {
416
+ ref: d,
417
+ className: "mr-2 w-full outline-none",
418
+ type: "text",
419
+ value: u,
420
+ onChange: g,
421
+ onKeyDown: (p) => {
422
+ p.key === "Enter" && (p.preventDefault(), c());
423
+ }
424
+ }
425
+ ) : /* @__PURE__ */ w.jsx("p", { className: "w-full", onClick: () => s(!0), children: o() });
395
426
  };
396
427
  /**
397
428
  * table-core
@@ -403,7 +434,7 @@ const io = ({
403
434
  *
404
435
  * @license MIT
405
436
  */
406
- function so() {
437
+ function lo() {
407
438
  return {
408
439
  accessor: (e, o) => typeof e == "function" ? {
409
440
  ...o,
@@ -416,24 +447,24 @@ function so() {
416
447
  group: (e) => e
417
448
  };
418
449
  }
419
- function ge(e, o) {
450
+ function fe(e, o) {
420
451
  return typeof e == "function" ? e(o) : e;
421
452
  }
422
453
  function q(e, o) {
423
454
  return (t) => {
424
455
  o.setState((n) => ({
425
456
  ...n,
426
- [e]: ge(t, n[e])
457
+ [e]: fe(t, n[e])
427
458
  }));
428
459
  };
429
460
  }
430
- function Ue(e) {
461
+ function Ke(e) {
431
462
  return e instanceof Function;
432
463
  }
433
- function lo(e) {
464
+ function uo(e) {
434
465
  return Array.isArray(e) && e.every((o) => typeof o == "number");
435
466
  }
436
- function uo(e, o) {
467
+ function ao(e, o) {
437
468
  const t = [], n = (r) => {
438
469
  r.forEach((i) => {
439
470
  t.push(i);
@@ -477,7 +508,7 @@ function y(e, o, t, n) {
477
508
  onChange: n
478
509
  };
479
510
  }
480
- function ao(e, o, t, n) {
511
+ function co(e, o, t, n) {
481
512
  const r = () => {
482
513
  var s;
483
514
  return (s = i.getValue()) != null ? s : e.options.renderFallbackValue;
@@ -500,7 +531,7 @@ function ao(e, o, t, n) {
500
531
  s.createCell == null || s.createCell(i, t, o, e);
501
532
  }, {}), i;
502
533
  }
503
- function co(e, o, t, n) {
534
+ function go(e, o, t, n) {
504
535
  var r, i;
505
536
  const u = {
506
537
  ...e._getDefaultColumnDef(),
@@ -570,7 +601,7 @@ function jt(e, o, t) {
570
601
  s.createHeader == null || s.createHeader(i, e);
571
602
  }), i;
572
603
  }
573
- const go = {
604
+ const fo = {
574
605
  createTable: (e) => {
575
606
  e.getHeaderGroups = x(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (o, t, n, r) => {
576
607
  var i, s;
@@ -655,7 +686,7 @@ function Oe(e, o, t, n) {
655
686
  });
656
687
  return f((r = (i = l[0]) == null ? void 0 : i.headers) != null ? r : []), l;
657
688
  }
658
- const St = (e, o, t, n, r, i, s) => {
689
+ const wt = (e, o, t, n, r, i, s) => {
659
690
  let u = {
660
691
  id: o,
661
692
  index: n,
@@ -683,7 +714,7 @@ const St = (e, o, t, n, r, i, s) => {
683
714
  return (a = u.getValue(l)) != null ? a : e.options.renderFallbackValue;
684
715
  },
685
716
  subRows: [],
686
- getLeafRows: () => uo(u.subRows, (l) => l.subRows),
717
+ getLeafRows: () => ao(u.subRows, (l) => l.subRows),
687
718
  getParentRow: () => u.parentId ? e.getRow(u.parentId, !0) : void 0,
688
719
  getParentRows: () => {
689
720
  let l = [], a = u;
@@ -694,7 +725,7 @@ const St = (e, o, t, n, r, i, s) => {
694
725
  }
695
726
  return l.reverse();
696
727
  },
697
- getAllCells: x(() => [e.getAllLeafColumns()], (l) => l.map((a) => ao(e, u, a, a.id)), y(e.options, "debugRows", "getAllCells")),
728
+ getAllCells: x(() => [e.getAllLeafColumns()], (l) => l.map((a) => co(e, u, a, a.id)), y(e.options, "debugRows", "getAllCells")),
698
729
  _getAllCellsByColumnId: x(() => [u.getAllCells()], (l) => l.reduce((a, d) => (a[d.column.id] = d, a), {}), y(e.options, "debugRows", "getAllCellsByColumnId"))
699
730
  };
700
731
  for (let l = 0; l < e._features.length; l++) {
@@ -702,7 +733,7 @@ const St = (e, o, t, n, r, i, s) => {
702
733
  a == null || a.createRow == null || a.createRow(u, e);
703
734
  }
704
735
  return u;
705
- }, fo = {
736
+ }, po = {
706
737
  createColumn: (e, o) => {
707
738
  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 = () => {
708
739
  if (e._getFacetedMinMaxValues)
@@ -744,12 +775,12 @@ const wn = (e, o, t) => e.getValue(o) === t;
744
775
  wn.autoRemove = (e) => Z(e);
745
776
  const Cn = (e, o, t) => e.getValue(o) == t;
746
777
  Cn.autoRemove = (e) => Z(e);
747
- const wt = (e, o, t) => {
778
+ const Ct = (e, o, t) => {
748
779
  let [n, r] = t;
749
780
  const i = e.getValue(o);
750
781
  return i >= n && i <= r;
751
782
  };
752
- wt.resolveFilterValue = (e) => {
783
+ Ct.resolveFilterValue = (e) => {
753
784
  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, s = t === null || Number.isNaN(r) ? 1 / 0 : r;
754
785
  if (i > s) {
755
786
  const u = i;
@@ -757,8 +788,8 @@ wt.resolveFilterValue = (e) => {
757
788
  }
758
789
  return [i, s];
759
790
  };
760
- wt.autoRemove = (e) => Z(e) || Z(e[0]) && Z(e[1]);
761
- const ue = {
791
+ Ct.autoRemove = (e) => Z(e) || Z(e[0]) && Z(e[1]);
792
+ const ae = {
762
793
  includesString: gn,
763
794
  includesStringSensitive: fn,
764
795
  equalsString: pn,
@@ -767,12 +798,12 @@ const ue = {
767
798
  arrIncludesSome: Sn,
768
799
  equals: wn,
769
800
  weakEquals: Cn,
770
- inNumberRange: wt
801
+ inNumberRange: Ct
771
802
  };
772
803
  function Z(e) {
773
804
  return e == null || e === "";
774
805
  }
775
- const po = {
806
+ const mo = {
776
807
  getDefaultColumnDef: () => ({
777
808
  filterFn: "auto"
778
809
  }),
@@ -788,12 +819,12 @@ const po = {
788
819
  createColumn: (e, o) => {
789
820
  e.getAutoFilterFn = () => {
790
821
  const t = o.getCoreRowModel().flatRows[0], n = t == null ? void 0 : t.getValue(e.id);
791
- return typeof n == "string" ? ue.includesString : typeof n == "number" ? ue.inNumberRange : typeof n == "boolean" || n !== null && typeof n == "object" ? ue.equals : Array.isArray(n) ? ue.arrIncludes : ue.weakEquals;
822
+ return typeof n == "string" ? ae.includesString : typeof n == "number" ? ae.inNumberRange : typeof n == "boolean" || n !== null && typeof n == "object" ? ae.equals : Array.isArray(n) ? ae.arrIncludes : ae.weakEquals;
792
823
  }, e.getFilterFn = () => {
793
824
  var t, n;
794
- return Ue(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
825
+ return Ke(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
795
826
  // @ts-ignore
796
- (t = (n = o.options.filterFns) == null ? void 0 : n[e.columnDef.filterFn]) != null ? t : ue[e.columnDef.filterFn]
827
+ (t = (n = o.options.filterFns) == null ? void 0 : n[e.columnDef.filterFn]) != null ? t : ae[e.columnDef.filterFn]
797
828
  );
798
829
  }, e.getCanFilter = () => {
799
830
  var t, n, r;
@@ -806,7 +837,7 @@ const po = {
806
837
  return (t = (n = o.getState().columnFilters) == null ? void 0 : n.findIndex((r) => r.id === e.id)) != null ? t : -1;
807
838
  }, e.setFilterValue = (t) => {
808
839
  o.setColumnFilters((n) => {
809
- const r = e.getFilterFn(), i = n == null ? void 0 : n.find((d) => d.id === e.id), s = ge(t, i ? i.value : void 0);
840
+ const r = e.getFilterFn(), i = n == null ? void 0 : n.find((d) => d.id === e.id), s = fe(t, i ? i.value : void 0);
810
841
  if (Ht(r, s, e)) {
811
842
  var u;
812
843
  return (u = n == null ? void 0 : n.filter((d) => d.id !== e.id)) != null ? u : [];
@@ -830,7 +861,7 @@ const po = {
830
861
  e.setColumnFilters = (o) => {
831
862
  const t = e.getAllLeafColumns(), n = (r) => {
832
863
  var i;
833
- return (i = ge(o, r)) == null ? void 0 : i.filter((s) => {
864
+ return (i = fe(o, r)) == null ? void 0 : i.filter((s) => {
834
865
  const u = t.find((l) => l.id === s.id);
835
866
  if (u) {
836
867
  const l = u.getFilterFn();
@@ -850,54 +881,54 @@ const po = {
850
881
  function Ht(e, o, t) {
851
882
  return (e && e.autoRemove ? e.autoRemove(o, t) : !1) || typeof o > "u" || typeof o == "string" && !o;
852
883
  }
853
- const mo = (e, o, t) => t.reduce((n, r) => {
884
+ const ho = (e, o, t) => t.reduce((n, r) => {
854
885
  const i = r.getValue(e);
855
886
  return n + (typeof i == "number" ? i : 0);
856
- }, 0), ho = (e, o, t) => {
887
+ }, 0), So = (e, o, t) => {
857
888
  let n;
858
889
  return t.forEach((r) => {
859
890
  const i = r.getValue(e);
860
891
  i != null && (n > i || n === void 0 && i >= i) && (n = i);
861
892
  }), n;
862
- }, So = (e, o, t) => {
893
+ }, wo = (e, o, t) => {
863
894
  let n;
864
895
  return t.forEach((r) => {
865
896
  const i = r.getValue(e);
866
897
  i != null && (n < i || n === void 0 && i >= i) && (n = i);
867
898
  }), n;
868
- }, wo = (e, o, t) => {
899
+ }, Co = (e, o, t) => {
869
900
  let n, r;
870
901
  return t.forEach((i) => {
871
902
  const s = i.getValue(e);
872
903
  s != null && (n === void 0 ? s >= s && (n = r = s) : (n > s && (n = s), r < s && (r = s)));
873
904
  }), [n, r];
874
- }, Co = (e, o) => {
905
+ }, vo = (e, o) => {
875
906
  let t = 0, n = 0;
876
907
  if (o.forEach((r) => {
877
908
  let i = r.getValue(e);
878
909
  i != null && (i = +i) >= i && (++t, n += i);
879
910
  }), t) return n / t;
880
- }, vo = (e, o) => {
911
+ }, Ro = (e, o) => {
881
912
  if (!o.length)
882
913
  return;
883
914
  const t = o.map((i) => i.getValue(e));
884
- if (!lo(t))
915
+ if (!uo(t))
885
916
  return;
886
917
  if (t.length === 1)
887
918
  return t[0];
888
919
  const n = Math.floor(t.length / 2), r = t.sort((i, s) => i - s);
889
920
  return t.length % 2 !== 0 ? r[n] : (r[n - 1] + r[n]) / 2;
890
- }, Ro = (e, o) => Array.from(new Set(o.map((t) => t.getValue(e))).values()), xo = (e, o) => new Set(o.map((t) => t.getValue(e))).size, yo = (e, o) => o.length, et = {
891
- sum: mo,
892
- min: ho,
893
- max: So,
894
- extent: wo,
895
- mean: Co,
896
- median: vo,
897
- unique: Ro,
898
- uniqueCount: xo,
899
- count: yo
900
- }, Fo = {
921
+ }, xo = (e, o) => Array.from(new Set(o.map((t) => t.getValue(e))).values()), yo = (e, o) => new Set(o.map((t) => t.getValue(e))).size, Fo = (e, o) => o.length, tt = {
922
+ sum: ho,
923
+ min: So,
924
+ max: wo,
925
+ extent: Co,
926
+ mean: vo,
927
+ median: Ro,
928
+ unique: xo,
929
+ uniqueCount: yo,
930
+ count: Fo
931
+ }, _o = {
901
932
  getDefaultColumnDef: () => ({
902
933
  aggregatedCell: (e) => {
903
934
  var o, t;
@@ -933,14 +964,14 @@ const mo = (e, o, t) => t.reduce((n, r) => {
933
964
  }, e.getAutoAggregationFn = () => {
934
965
  const t = o.getCoreRowModel().flatRows[0], n = t == null ? void 0 : t.getValue(e.id);
935
966
  if (typeof n == "number")
936
- return et.sum;
967
+ return tt.sum;
937
968
  if (Object.prototype.toString.call(n) === "[object Date]")
938
- return et.extent;
969
+ return tt.extent;
939
970
  }, e.getAggregationFn = () => {
940
971
  var t, n;
941
972
  if (!e)
942
973
  throw new Error();
943
- return Ue(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 : et[e.columnDef.aggregationFn];
974
+ return Ke(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 : tt[e.columnDef.aggregationFn];
944
975
  };
945
976
  },
946
977
  createTable: (e) => {
@@ -964,13 +995,13 @@ const mo = (e, o, t) => t.reduce((n, r) => {
964
995
  };
965
996
  }
966
997
  };
967
- function _o(e, o, t) {
998
+ function Io(e, o, t) {
968
999
  if (!(o != null && o.length) || !t)
969
1000
  return e;
970
1001
  const n = e.filter((i) => !o.includes(i.id));
971
1002
  return t === "remove" ? n : [...o.map((i) => e.find((s) => s.id === i)).filter(Boolean), ...n];
972
1003
  }
973
- const Io = {
1004
+ const Mo = {
974
1005
  getInitialState: (e) => ({
975
1006
  columnOrder: [],
976
1007
  ...e
@@ -1004,15 +1035,15 @@ const Io = {
1004
1035
  }
1005
1036
  i = [...i, ...u];
1006
1037
  }
1007
- return _o(i, t, n);
1038
+ return Io(i, t, n);
1008
1039
  }, y(e.options, "debugTable", "_getOrderColumnsFn"));
1009
1040
  }
1010
- }, tt = () => ({
1041
+ }, nt = () => ({
1011
1042
  left: [],
1012
1043
  right: []
1013
- }), Mo = {
1044
+ }), Vo = {
1014
1045
  getInitialState: (e) => ({
1015
- columnPinning: tt(),
1046
+ columnPinning: nt(),
1016
1047
  ...e
1017
1048
  }),
1018
1049
  getDefaultOptions: (e) => ({
@@ -1072,7 +1103,7 @@ const Io = {
1072
1103
  createTable: (e) => {
1073
1104
  e.setColumnPinning = (o) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(o), e.resetColumnPinning = (o) => {
1074
1105
  var t, n;
1075
- return e.setColumnPinning(o ? tt() : (t = (n = e.initialState) == null ? void 0 : n.columnPinning) != null ? t : tt());
1106
+ return e.setColumnPinning(o ? nt() : (t = (n = e.initialState) == null ? void 0 : n.columnPinning) != null ? t : nt());
1076
1107
  }, e.getIsSomeColumnsPinned = (o) => {
1077
1108
  var t;
1078
1109
  const n = e.getState().columnPinning;
@@ -1087,25 +1118,25 @@ const Io = {
1087
1118
  }, y(e.options, "debugColumns", "getCenterLeafColumns"));
1088
1119
  }
1089
1120
  };
1090
- function Vo(e) {
1121
+ function bo(e) {
1091
1122
  return e || (typeof document < "u" ? document : null);
1092
1123
  }
1093
1124
  const Ae = {
1094
1125
  size: 150,
1095
1126
  minSize: 20,
1096
1127
  maxSize: Number.MAX_SAFE_INTEGER
1097
- }, nt = () => ({
1128
+ }, ot = () => ({
1098
1129
  startOffset: null,
1099
1130
  startSize: null,
1100
1131
  deltaOffset: null,
1101
1132
  deltaPercentage: null,
1102
1133
  isResizingColumn: !1,
1103
1134
  columnSizingStart: []
1104
- }), bo = {
1135
+ }), Po = {
1105
1136
  getDefaultColumnDef: () => Ae,
1106
1137
  getInitialState: (e) => ({
1107
1138
  columnSizing: {},
1108
- columnSizingInfo: nt(),
1139
+ columnSizingInfo: ot(),
1109
1140
  ...e
1110
1141
  }),
1111
1142
  getDefaultOptions: (e) => ({
@@ -1153,9 +1184,9 @@ const Ae = {
1153
1184
  }, e.getResizeHandler = (t) => {
1154
1185
  const n = o.getColumn(e.column.id), r = n == null ? void 0 : n.getCanResize();
1155
1186
  return (i) => {
1156
- if (!n || !r || (i.persist == null || i.persist(), ot(i) && i.touches && i.touches.length > 1))
1187
+ if (!n || !r || (i.persist == null || i.persist(), rt(i) && i.touches && i.touches.length > 1))
1157
1188
  return;
1158
- const s = e.getSize(), u = e ? e.getLeafHeaders().map((h) => [h.column.id, h.column.getSize()]) : [[n.id, n.getSize()]], l = ot(i) ? Math.round(i.touches[0].clientX) : i.clientX, a = {}, d = (h, C) => {
1189
+ const s = e.getSize(), u = e ? e.getLeafHeaders().map((h) => [h.column.id, h.column.getSize()]) : [[n.id, n.getSize()]], l = rt(i) ? Math.round(i.touches[0].clientX) : i.clientX, a = {}, d = (h, C) => {
1159
1190
  typeof C == "number" && (o.setColumnSizingInfo((v) => {
1160
1191
  var _, I;
1161
1192
  const V = o.options.columnResizeDirection === "rtl" ? -1 : 1, M = (C - ((_ = v == null ? void 0 : v.startOffset) != null ? _ : 0)) * V, b = Math.max(M / ((I = v == null ? void 0 : v.startSize) != null ? I : 0), -0.999999);
@@ -1181,7 +1212,7 @@ const Ae = {
1181
1212
  deltaPercentage: null,
1182
1213
  columnSizingStart: []
1183
1214
  }));
1184
- }, c = Vo(t), p = {
1215
+ }, c = bo(t), p = {
1185
1216
  moveHandler: (h) => f(h.clientX),
1186
1217
  upHandler: (h) => {
1187
1218
  c == null || c.removeEventListener("mousemove", p.moveHandler), c == null || c.removeEventListener("mouseup", p.upHandler), g(h.clientX);
@@ -1192,10 +1223,10 @@ const Ae = {
1192
1223
  var C;
1193
1224
  c == null || c.removeEventListener("touchmove", m.moveHandler), c == null || c.removeEventListener("touchend", m.upHandler), h.cancelable && (h.preventDefault(), h.stopPropagation()), g((C = h.touches[0]) == null ? void 0 : C.clientX);
1194
1225
  }
1195
- }, S = Po() ? {
1226
+ }, S = $o() ? {
1196
1227
  passive: !1
1197
1228
  } : !1;
1198
- ot(i) ? (c == null || c.addEventListener("touchmove", m.moveHandler, S), c == null || c.addEventListener("touchend", m.upHandler, S)) : (c == null || c.addEventListener("mousemove", p.moveHandler, S), c == null || c.addEventListener("mouseup", p.upHandler, S)), o.setColumnSizingInfo((h) => ({
1229
+ rt(i) ? (c == null || c.addEventListener("touchmove", m.moveHandler, S), c == null || c.addEventListener("touchend", m.upHandler, S)) : (c == null || c.addEventListener("mousemove", p.moveHandler, S), c == null || c.addEventListener("mouseup", p.upHandler, S)), o.setColumnSizingInfo((h) => ({
1199
1230
  ...h,
1200
1231
  startOffset: l,
1201
1232
  startSize: s,
@@ -1213,7 +1244,7 @@ const Ae = {
1213
1244
  e.setColumnSizing(o ? {} : (t = e.initialState.columnSizing) != null ? t : {});
1214
1245
  }, e.resetHeaderSizeInfo = (o) => {
1215
1246
  var t;
1216
- e.setColumnSizingInfo(o ? nt() : (t = e.initialState.columnSizingInfo) != null ? t : nt());
1247
+ e.setColumnSizingInfo(o ? ot() : (t = e.initialState.columnSizingInfo) != null ? t : ot());
1217
1248
  }, e.getTotalSize = () => {
1218
1249
  var o, t;
1219
1250
  return (o = (t = e.getHeaderGroups()[0]) == null ? void 0 : t.headers.reduce((n, r) => n + r.getSize(), 0)) != null ? o : 0;
@@ -1230,7 +1261,7 @@ const Ae = {
1230
1261
  }
1231
1262
  };
1232
1263
  let Ne = null;
1233
- function Po() {
1264
+ function $o() {
1234
1265
  if (typeof Ne == "boolean") return Ne;
1235
1266
  let e = !1;
1236
1267
  try {
@@ -1246,10 +1277,10 @@ function Po() {
1246
1277
  }
1247
1278
  return Ne = e, Ne;
1248
1279
  }
1249
- function ot(e) {
1280
+ function rt(e) {
1250
1281
  return e.type === "touchstart";
1251
1282
  }
1252
- const $o = {
1283
+ const Eo = {
1253
1284
  getInitialState: (e) => ({
1254
1285
  columnVisibility: {},
1255
1286
  ...e
@@ -1297,14 +1328,14 @@ const $o = {
1297
1328
  function Me(e, o) {
1298
1329
  return o ? o === "center" ? e.getCenterVisibleLeafColumns() : o === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
1299
1330
  }
1300
- const Eo = {
1331
+ const Do = {
1301
1332
  createTable: (e) => {
1302
1333
  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 = () => {
1303
1334
  if (e._getGlobalFacetedMinMaxValues)
1304
1335
  return e._getGlobalFacetedMinMaxValues();
1305
1336
  };
1306
1337
  }
1307
- }, Do = {
1338
+ }, Lo = {
1308
1339
  getInitialState: (e) => ({
1309
1340
  globalFilter: void 0,
1310
1341
  ...e
@@ -1325,19 +1356,19 @@ const Eo = {
1325
1356
  };
1326
1357
  },
1327
1358
  createTable: (e) => {
1328
- e.getGlobalAutoFilterFn = () => ue.includesString, e.getGlobalFilterFn = () => {
1359
+ e.getGlobalAutoFilterFn = () => ae.includesString, e.getGlobalFilterFn = () => {
1329
1360
  var o, t;
1330
1361
  const {
1331
1362
  globalFilterFn: n
1332
1363
  } = e.options;
1333
- return Ue(n) ? n : n === "auto" ? e.getGlobalAutoFilterFn() : (o = (t = e.options.filterFns) == null ? void 0 : t[n]) != null ? o : ue[n];
1364
+ return Ke(n) ? n : n === "auto" ? e.getGlobalAutoFilterFn() : (o = (t = e.options.filterFns) == null ? void 0 : t[n]) != null ? o : ae[n];
1334
1365
  }, e.setGlobalFilter = (o) => {
1335
1366
  e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(o);
1336
1367
  }, e.resetGlobalFilter = (o) => {
1337
1368
  e.setGlobalFilter(o ? void 0 : e.initialState.globalFilter);
1338
1369
  };
1339
1370
  }
1340
- }, Lo = {
1371
+ }, Oo = {
1341
1372
  getInitialState: (e) => ({
1342
1373
  expanded: {},
1343
1374
  ...e
@@ -1424,14 +1455,14 @@ const Eo = {
1424
1455
  };
1425
1456
  };
1426
1457
  }
1427
- }, ut = 0, at = 10, rt = () => ({
1428
- pageIndex: ut,
1429
- pageSize: at
1430
- }), Oo = {
1458
+ }, at = 0, ct = 10, it = () => ({
1459
+ pageIndex: at,
1460
+ pageSize: ct
1461
+ }), Ao = {
1431
1462
  getInitialState: (e) => ({
1432
1463
  ...e,
1433
1464
  pagination: {
1434
- ...rt(),
1465
+ ...it(),
1435
1466
  ...e == null ? void 0 : e.pagination
1436
1467
  }
1437
1468
  }),
@@ -1455,14 +1486,14 @@ const Eo = {
1455
1486
  });
1456
1487
  }
1457
1488
  }, e.setPagination = (n) => {
1458
- const r = (i) => ge(n, i);
1489
+ const r = (i) => fe(n, i);
1459
1490
  return e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange(r);
1460
1491
  }, e.resetPagination = (n) => {
1461
1492
  var r;
1462
- e.setPagination(n ? rt() : (r = e.initialState.pagination) != null ? r : rt());
1493
+ e.setPagination(n ? it() : (r = e.initialState.pagination) != null ? r : it());
1463
1494
  }, e.setPageIndex = (n) => {
1464
1495
  e.setPagination((r) => {
1465
- let i = ge(n, r.pageIndex);
1496
+ let i = fe(n, r.pageIndex);
1466
1497
  const s = typeof e.options.pageCount > "u" || e.options.pageCount === -1 ? Number.MAX_SAFE_INTEGER : e.options.pageCount - 1;
1467
1498
  return i = Math.max(0, Math.min(i, s)), {
1468
1499
  ...r,
@@ -1471,13 +1502,13 @@ const Eo = {
1471
1502
  });
1472
1503
  }, e.resetPageIndex = (n) => {
1473
1504
  var r, i;
1474
- e.setPageIndex(n ? ut : (r = (i = e.initialState) == null || (i = i.pagination) == null ? void 0 : i.pageIndex) != null ? r : ut);
1505
+ e.setPageIndex(n ? at : (r = (i = e.initialState) == null || (i = i.pagination) == null ? void 0 : i.pageIndex) != null ? r : at);
1475
1506
  }, e.resetPageSize = (n) => {
1476
1507
  var r, i;
1477
- e.setPageSize(n ? at : (r = (i = e.initialState) == null || (i = i.pagination) == null ? void 0 : i.pageSize) != null ? r : at);
1508
+ e.setPageSize(n ? ct : (r = (i = e.initialState) == null || (i = i.pagination) == null ? void 0 : i.pageSize) != null ? r : ct);
1478
1509
  }, e.setPageSize = (n) => {
1479
1510
  e.setPagination((r) => {
1480
- const i = Math.max(1, ge(n, r.pageSize)), s = r.pageSize * r.pageIndex, u = Math.floor(s / i);
1511
+ const i = Math.max(1, fe(n, r.pageSize)), s = r.pageSize * r.pageIndex, u = Math.floor(s / i);
1481
1512
  return {
1482
1513
  ...r,
1483
1514
  pageIndex: u,
@@ -1486,7 +1517,7 @@ const Eo = {
1486
1517
  });
1487
1518
  }, e.setPageCount = (n) => e.setPagination((r) => {
1488
1519
  var i;
1489
- let s = ge(n, (i = e.options.pageCount) != null ? i : -1);
1520
+ let s = fe(n, (i = e.options.pageCount) != null ? i : -1);
1490
1521
  return typeof s == "number" && (s = Math.max(-1, s)), {
1491
1522
  ...r,
1492
1523
  pageCount: s
@@ -1507,12 +1538,12 @@ const Eo = {
1507
1538
  return (n = e.options.rowCount) != null ? n : e.getPrePaginationRowModel().rows.length;
1508
1539
  };
1509
1540
  }
1510
- }, it = () => ({
1541
+ }, st = () => ({
1511
1542
  top: [],
1512
1543
  bottom: []
1513
- }), Ao = {
1544
+ }), No = {
1514
1545
  getInitialState: (e) => ({
1515
- rowPinning: it(),
1546
+ rowPinning: st(),
1516
1547
  ...e
1517
1548
  }),
1518
1549
  getDefaultOptions: (e) => ({
@@ -1581,7 +1612,7 @@ const Eo = {
1581
1612
  createTable: (e) => {
1582
1613
  e.setRowPinning = (o) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(o), e.resetRowPinning = (o) => {
1583
1614
  var t, n;
1584
- return e.setRowPinning(o ? it() : (t = (n = e.initialState) == null ? void 0 : n.rowPinning) != null ? t : it());
1615
+ return e.setRowPinning(o ? st() : (t = (n = e.initialState) == null ? void 0 : n.rowPinning) != null ? t : st());
1585
1616
  }, e.getIsSomeRowsPinned = (o) => {
1586
1617
  var t;
1587
1618
  const n = e.getState().rowPinning;
@@ -1611,7 +1642,7 @@ const Eo = {
1611
1642
  return o.filter((i) => !r.has(i.id));
1612
1643
  }, y(e.options, "debugRows", "getCenterRows"));
1613
1644
  }
1614
- }, No = {
1645
+ }, To = {
1615
1646
  getInitialState: (e) => ({
1616
1647
  rowSelection: {},
1617
1648
  ...e
@@ -1646,17 +1677,17 @@ const Eo = {
1646
1677
  ...t
1647
1678
  };
1648
1679
  return e.getRowModel().rows.forEach((i) => {
1649
- ct(r, i.id, n, !0, e);
1680
+ dt(r, i.id, n, !0, e);
1650
1681
  }), r;
1651
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = x(() => [e.getState().rowSelection, e.getCoreRowModel()], (o, t) => Object.keys(o).length ? st(e, t) : {
1682
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = x(() => [e.getState().rowSelection, e.getCoreRowModel()], (o, t) => Object.keys(o).length ? lt(e, t) : {
1652
1683
  rows: [],
1653
1684
  flatRows: [],
1654
1685
  rowsById: {}
1655
- }, y(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = x(() => [e.getState().rowSelection, e.getFilteredRowModel()], (o, t) => Object.keys(o).length ? st(e, t) : {
1686
+ }, y(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = x(() => [e.getState().rowSelection, e.getFilteredRowModel()], (o, t) => Object.keys(o).length ? lt(e, t) : {
1656
1687
  rows: [],
1657
1688
  flatRows: [],
1658
1689
  rowsById: {}
1659
- }, y(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = x(() => [e.getState().rowSelection, e.getSortedRowModel()], (o, t) => Object.keys(o).length ? st(e, t) : {
1690
+ }, y(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = x(() => [e.getState().rowSelection, e.getSortedRowModel()], (o, t) => Object.keys(o).length ? lt(e, t) : {
1660
1691
  rows: [],
1661
1692
  flatRows: [],
1662
1693
  rowsById: {}
@@ -1695,23 +1726,23 @@ const Eo = {
1695
1726
  const u = {
1696
1727
  ...i
1697
1728
  };
1698
- return ct(u, e.id, t, (s = n == null ? void 0 : n.selectChildren) != null ? s : !0, o), u;
1729
+ return dt(u, e.id, t, (s = n == null ? void 0 : n.selectChildren) != null ? s : !0, o), u;
1699
1730
  });
1700
1731
  }, e.getIsSelected = () => {
1701
1732
  const {
1702
1733
  rowSelection: t
1703
1734
  } = o.getState();
1704
- return Ct(e, t);
1735
+ return vt(e, t);
1705
1736
  }, e.getIsSomeSelected = () => {
1706
1737
  const {
1707
1738
  rowSelection: t
1708
1739
  } = o.getState();
1709
- return dt(e, t) === "some";
1740
+ return gt(e, t) === "some";
1710
1741
  }, e.getIsAllSubRowsSelected = () => {
1711
1742
  const {
1712
1743
  rowSelection: t
1713
1744
  } = o.getState();
1714
- return dt(e, t) === "all";
1745
+ return gt(e, t) === "all";
1715
1746
  }, e.getCanSelect = () => {
1716
1747
  var t;
1717
1748
  return typeof o.options.enableRowSelection == "function" ? o.options.enableRowSelection(e) : (t = o.options.enableRowSelection) != null ? t : !0;
@@ -1729,16 +1760,16 @@ const Eo = {
1729
1760
  };
1730
1761
  };
1731
1762
  }
1732
- }, ct = (e, o, t, n, r) => {
1763
+ }, dt = (e, o, t, n, r) => {
1733
1764
  var i;
1734
1765
  const s = r.getRow(o, !0);
1735
- t ? (s.getCanMultiSelect() || Object.keys(e).forEach((u) => delete e[u]), s.getCanSelect() && (e[o] = !0)) : delete e[o], n && (i = s.subRows) != null && i.length && s.getCanSelectSubRows() && s.subRows.forEach((u) => ct(e, u.id, t, n, r));
1766
+ t ? (s.getCanMultiSelect() || Object.keys(e).forEach((u) => delete e[u]), s.getCanSelect() && (e[o] = !0)) : delete e[o], n && (i = s.subRows) != null && i.length && s.getCanSelectSubRows() && s.subRows.forEach((u) => dt(e, u.id, t, n, r));
1736
1767
  };
1737
- function st(e, o) {
1768
+ function lt(e, o) {
1738
1769
  const t = e.getState().rowSelection, n = [], r = {}, i = function(s, u) {
1739
1770
  return s.map((l) => {
1740
1771
  var a;
1741
- const d = Ct(l, t);
1772
+ const d = vt(l, t);
1742
1773
  if (d && (n.push(l), r[l.id] = l), (a = l.subRows) != null && a.length && (l = {
1743
1774
  ...l,
1744
1775
  subRows: i(l.subRows)
@@ -1752,33 +1783,33 @@ function st(e, o) {
1752
1783
  rowsById: r
1753
1784
  };
1754
1785
  }
1755
- function Ct(e, o) {
1786
+ function vt(e, o) {
1756
1787
  var t;
1757
1788
  return (t = o[e.id]) != null ? t : !1;
1758
1789
  }
1759
- function dt(e, o, t) {
1790
+ function gt(e, o, t) {
1760
1791
  var n;
1761
1792
  if (!((n = e.subRows) != null && n.length)) return !1;
1762
1793
  let r = !0, i = !1;
1763
1794
  return e.subRows.forEach((s) => {
1764
- if (!(i && !r) && (s.getCanSelect() && (Ct(s, o) ? i = !0 : r = !1), s.subRows && s.subRows.length)) {
1765
- const u = dt(s, o);
1795
+ if (!(i && !r) && (s.getCanSelect() && (vt(s, o) ? i = !0 : r = !1), s.subRows && s.subRows.length)) {
1796
+ const u = gt(s, o);
1766
1797
  u === "all" ? i = !0 : (u === "some" && (i = !0), r = !1);
1767
1798
  }
1768
1799
  }), r ? "all" : i ? "some" : !1;
1769
1800
  }
1770
- const gt = /([0-9]+)/gm, To = (e, o, t) => vn(fe(e.getValue(t)).toLowerCase(), fe(o.getValue(t)).toLowerCase()), jo = (e, o, t) => vn(fe(e.getValue(t)), fe(o.getValue(t))), Ho = (e, o, t) => vt(fe(e.getValue(t)).toLowerCase(), fe(o.getValue(t)).toLowerCase()), Go = (e, o, t) => vt(fe(e.getValue(t)), fe(o.getValue(t))), zo = (e, o, t) => {
1801
+ const ft = /([0-9]+)/gm, jo = (e, o, t) => vn(pe(e.getValue(t)).toLowerCase(), pe(o.getValue(t)).toLowerCase()), Ho = (e, o, t) => vn(pe(e.getValue(t)), pe(o.getValue(t))), Go = (e, o, t) => Rt(pe(e.getValue(t)).toLowerCase(), pe(o.getValue(t)).toLowerCase()), zo = (e, o, t) => Rt(pe(e.getValue(t)), pe(o.getValue(t))), Bo = (e, o, t) => {
1771
1802
  const n = e.getValue(t), r = o.getValue(t);
1772
1803
  return n > r ? 1 : n < r ? -1 : 0;
1773
- }, Bo = (e, o, t) => vt(e.getValue(t), o.getValue(t));
1774
- function vt(e, o) {
1804
+ }, ko = (e, o, t) => Rt(e.getValue(t), o.getValue(t));
1805
+ function Rt(e, o) {
1775
1806
  return e === o ? 0 : e > o ? 1 : -1;
1776
1807
  }
1777
- function fe(e) {
1808
+ function pe(e) {
1778
1809
  return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
1779
1810
  }
1780
1811
  function vn(e, o) {
1781
- const t = e.split(gt).filter(Boolean), n = o.split(gt).filter(Boolean);
1812
+ const t = e.split(ft).filter(Boolean), n = o.split(ft).filter(Boolean);
1782
1813
  for (; t.length && n.length; ) {
1783
1814
  const r = t.shift(), i = n.shift(), s = parseInt(r, 10), u = parseInt(i, 10), l = [s, u].sort();
1784
1815
  if (isNaN(l[0])) {
@@ -1798,13 +1829,13 @@ function vn(e, o) {
1798
1829
  return t.length - n.length;
1799
1830
  }
1800
1831
  const Fe = {
1801
- alphanumeric: To,
1802
- alphanumericCaseSensitive: jo,
1803
- text: Ho,
1804
- textCaseSensitive: Go,
1805
- datetime: zo,
1806
- basic: Bo
1807
- }, ko = {
1832
+ alphanumeric: jo,
1833
+ alphanumericCaseSensitive: Ho,
1834
+ text: Go,
1835
+ textCaseSensitive: zo,
1836
+ datetime: Bo,
1837
+ basic: ko
1838
+ }, qo = {
1808
1839
  getInitialState: (e) => ({
1809
1840
  sorting: [],
1810
1841
  ...e
@@ -1825,7 +1856,7 @@ const Fe = {
1825
1856
  const i = r == null ? void 0 : r.getValue(e.id);
1826
1857
  if (Object.prototype.toString.call(i) === "[object Date]")
1827
1858
  return Fe.datetime;
1828
- if (typeof i == "string" && (n = !0, i.split(gt).length > 1))
1859
+ if (typeof i == "string" && (n = !0, i.split(ft).length > 1))
1829
1860
  return Fe.alphanumeric;
1830
1861
  }
1831
1862
  return n ? Fe.text : Fe.basic;
@@ -1836,7 +1867,7 @@ const Fe = {
1836
1867
  var t, n;
1837
1868
  if (!e)
1838
1869
  throw new Error();
1839
- return Ue(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 : Fe[e.columnDef.sortingFn];
1870
+ return Ke(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 : Fe[e.columnDef.sortingFn];
1840
1871
  }, e.toggleSorting = (t, n) => {
1841
1872
  const r = e.getNextSortingOrder(), i = typeof t < "u" && t !== null;
1842
1873
  o.setSorting((s) => {
@@ -1893,30 +1924,30 @@ const Fe = {
1893
1924
  e.setSorting(o ? [] : (t = (n = e.initialState) == null ? void 0 : n.sorting) != null ? t : []);
1894
1925
  }, 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());
1895
1926
  }
1896
- }, qo = [
1897
- go,
1898
- $o,
1899
- Io,
1900
- Mo,
1927
+ }, Uo = [
1901
1928
  fo,
1902
- po,
1903
1929
  Eo,
1904
- //depends on ColumnFaceting
1930
+ Mo,
1931
+ Vo,
1932
+ po,
1933
+ mo,
1905
1934
  Do,
1935
+ //depends on ColumnFaceting
1936
+ Lo,
1906
1937
  //depends on ColumnFiltering
1907
- ko,
1908
- Fo,
1938
+ qo,
1939
+ _o,
1909
1940
  //depends on RowSorting
1910
- Lo,
1911
1941
  Oo,
1912
1942
  Ao,
1913
1943
  No,
1914
- bo
1944
+ To,
1945
+ Po
1915
1946
  ];
1916
- function Uo(e) {
1947
+ function Ko(e) {
1917
1948
  var o, t;
1918
1949
  process.env.NODE_ENV !== "production" && (e.debugAll || e.debugTable) && console.info("Creating Table Instance...");
1919
- const n = [...qo, ...(o = e._features) != null ? o : []];
1950
+ const n = [...Uo, ...(o = e._features) != null ? o : []];
1920
1951
  let r = {
1921
1952
  _features: n
1922
1953
  };
@@ -1954,7 +1985,7 @@ function Uo(e) {
1954
1985
  r.setState(r.initialState);
1955
1986
  },
1956
1987
  setOptions: (g) => {
1957
- const c = ge(g, r.options);
1988
+ const c = fe(g, r.options);
1958
1989
  r.options = s(c);
1959
1990
  },
1960
1991
  getState: () => r.options.state,
@@ -1996,7 +2027,7 @@ function Uo(e) {
1996
2027
  getAllColumns: x(() => [r._getColumnDefs()], (g) => {
1997
2028
  const c = function(p, m, S) {
1998
2029
  return S === void 0 && (S = 0), p.map((h) => {
1999
- const C = co(r, h, S, m), v = h;
2030
+ const C = go(r, h, S, m), v = h;
2000
2031
  return C.columns = v.columns ? c(v.columns, C, S + 1) : [], C;
2001
2032
  });
2002
2033
  };
@@ -2020,7 +2051,7 @@ function Uo(e) {
2020
2051
  }
2021
2052
  return r;
2022
2053
  }
2023
- function Ko() {
2054
+ function Xo() {
2024
2055
  return (e) => x(() => [e.options.data], (o) => {
2025
2056
  const t = {
2026
2057
  rows: [],
@@ -2030,7 +2061,7 @@ function Ko() {
2030
2061
  i === void 0 && (i = 0);
2031
2062
  const u = [];
2032
2063
  for (let a = 0; a < r.length; a++) {
2033
- const d = St(e, e._getRowId(r[a], a, s), r[a], a, i, void 0, s == null ? void 0 : s.id);
2064
+ const d = wt(e, e._getRowId(r[a], a, s), r[a], a, i, void 0, s == null ? void 0 : s.id);
2034
2065
  if (t.flatRows.push(d), t.rowsById[d.id] = d, u.push(d), e.options.getSubRows) {
2035
2066
  var l;
2036
2067
  d.originalSubRows = e.options.getSubRows(r[a], a), (l = d.originalSubRows) != null && l.length && (d.subRows = n(d.originalSubRows, i + 1, d));
@@ -2041,7 +2072,7 @@ function Ko() {
2041
2072
  return t.rows = n(o), t;
2042
2073
  }, y(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
2043
2074
  }
2044
- function Xo(e) {
2075
+ function Wo(e) {
2045
2076
  const o = [], t = (n) => {
2046
2077
  var r;
2047
2078
  o.push(n), (r = n.subRows) != null && r.length && n.getIsExpanded() && n.subRows.forEach(t);
@@ -2053,9 +2084,9 @@ function Xo(e) {
2053
2084
  };
2054
2085
  }
2055
2086
  function Rn(e, o, t) {
2056
- return t.options.filterFromLeafRows ? Wo(e, o, t) : Qo(e, o, t);
2087
+ return t.options.filterFromLeafRows ? Qo(e, o, t) : Jo(e, o, t);
2057
2088
  }
2058
- function Wo(e, o, t) {
2089
+ function Qo(e, o, t) {
2059
2090
  var n;
2060
2091
  const r = [], i = {}, s = (n = t.options.maxLeafRowFilterDepth) != null ? n : 100, u = function(l, a) {
2061
2092
  a === void 0 && (a = 0);
@@ -2063,7 +2094,7 @@ function Wo(e, o, t) {
2063
2094
  for (let g = 0; g < l.length; g++) {
2064
2095
  var f;
2065
2096
  let c = l[g];
2066
- const p = St(t, c.id, c.original, c.index, c.depth, void 0, c.parentId);
2097
+ const p = wt(t, c.id, c.original, c.index, c.depth, void 0, c.parentId);
2067
2098
  if (p.columnFilters = c.columnFilters, (f = c.subRows) != null && f.length && a < s) {
2068
2099
  if (p.subRows = u(c.subRows, a + 1), c = p, o(c) && !p.subRows.length) {
2069
2100
  d.push(c), i[c.id] = c, r.push(c);
@@ -2084,7 +2115,7 @@ function Wo(e, o, t) {
2084
2115
  rowsById: i
2085
2116
  };
2086
2117
  }
2087
- function Qo(e, o, t) {
2118
+ function Jo(e, o, t) {
2088
2119
  var n;
2089
2120
  const r = [], i = {}, s = (n = t.options.maxLeafRowFilterDepth) != null ? n : 100, u = function(l, a) {
2090
2121
  a === void 0 && (a = 0);
@@ -2094,7 +2125,7 @@ function Qo(e, o, t) {
2094
2125
  if (o(c)) {
2095
2126
  var f;
2096
2127
  if ((f = c.subRows) != null && f.length && a < s) {
2097
- const m = St(t, c.id, c.original, c.index, c.depth, void 0, c.parentId);
2128
+ const m = wt(t, c.id, c.original, c.index, c.depth, void 0, c.parentId);
2098
2129
  m.subRows = u(c.subRows, a + 1), c = m;
2099
2130
  }
2100
2131
  d.push(c), r.push(c), i[c.id] = c;
@@ -2108,7 +2139,7 @@ function Qo(e, o, t) {
2108
2139
  rowsById: i
2109
2140
  };
2110
2141
  }
2111
- function Jo() {
2142
+ function Yo() {
2112
2143
  return (e, o) => x(() => [e.getPreFilteredRowModel(), e.getState().columnFilters, e.getState().globalFilter, e.getFilteredRowModel()], (t, n, r) => {
2113
2144
  if (!t.rows.length || !(n != null && n.length) && !r)
2114
2145
  return t;
@@ -2121,7 +2152,7 @@ function Jo() {
2121
2152
  return Rn(t.rows, s, e);
2122
2153
  }, y(e.options, "debugTable", "getFacetedRowModel"));
2123
2154
  }
2124
- function Yo() {
2155
+ function Zo() {
2125
2156
  return (e, o) => x(() => {
2126
2157
  var t;
2127
2158
  return [(t = e.getColumn(o)) == null ? void 0 : t.getFacetedRowModel()];
@@ -2142,7 +2173,7 @@ function Yo() {
2142
2173
  return n;
2143
2174
  }, y(e.options, "debugTable", `getFacetedUniqueValues_${o}`));
2144
2175
  }
2145
- function Zo() {
2176
+ function er() {
2146
2177
  return (e) => x(() => [e.getPreFilteredRowModel(), e.getState().columnFilters, e.getState().globalFilter], (o, t, n) => {
2147
2178
  if (!o.rows.length || !(t != null && t.length) && !n) {
2148
2179
  for (let g = 0; g < o.flatRows.length; g++)
@@ -2209,7 +2240,7 @@ function Zo() {
2209
2240
  return Rn(o.rows, f, e);
2210
2241
  }, y(e.options, "debugTable", "getFilteredRowModel", () => e._autoResetPageIndex()));
2211
2242
  }
2212
- function er(e) {
2243
+ function tr(e) {
2213
2244
  return (o) => x(() => [o.getState().pagination, o.getPrePaginationRowModel(), o.options.paginateExpandedRows ? void 0 : o.getState().expanded], (t, n) => {
2214
2245
  if (!n.rows.length)
2215
2246
  return n;
@@ -2229,7 +2260,7 @@ function er(e) {
2229
2260
  rows: s,
2230
2261
  flatRows: u,
2231
2262
  rowsById: l
2232
- } : f = Xo({
2263
+ } : f = Wo({
2233
2264
  rows: s,
2234
2265
  flatRows: u,
2235
2266
  rowsById: l
@@ -2240,7 +2271,7 @@ function er(e) {
2240
2271
  return f.rows.forEach(g), f;
2241
2272
  }, y(o.options, "debugTable", "getPaginationRowModel"));
2242
2273
  }
2243
- function tr() {
2274
+ function nr() {
2244
2275
  return (e) => x(() => [e.getState().sorting, e.getPreSortedRowModel()], (o, t) => {
2245
2276
  if (!t.rows.length || !(o != null && o.length))
2246
2277
  return t;
@@ -2299,22 +2330,22 @@ function tr() {
2299
2330
  *
2300
2331
  * @license MIT
2301
2332
  */
2302
- function He(e, o) {
2303
- return e ? nr(e) ? /* @__PURE__ */ ae.createElement(e, o) : e : null;
2304
- }
2305
- function nr(e) {
2306
- return or(e) || typeof e == "function" || rr(e);
2333
+ function Ge(e, o) {
2334
+ return e ? or(e) ? /* @__PURE__ */ ce.createElement(e, o) : e : null;
2307
2335
  }
2308
2336
  function or(e) {
2337
+ return rr(e) || typeof e == "function" || ir(e);
2338
+ }
2339
+ function rr(e) {
2309
2340
  return typeof e == "function" && (() => {
2310
2341
  const o = Object.getPrototypeOf(e);
2311
2342
  return o.prototype && o.prototype.isReactComponent;
2312
2343
  })();
2313
2344
  }
2314
- function rr(e) {
2345
+ function ir(e) {
2315
2346
  return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
2316
2347
  }
2317
- function ir(e) {
2348
+ function sr(e) {
2318
2349
  const o = {
2319
2350
  state: {},
2320
2351
  // Dummy state
@@ -2323,9 +2354,9 @@ function ir(e) {
2323
2354
  // noop
2324
2355
  renderFallbackValue: null,
2325
2356
  ...e
2326
- }, [t] = ae.useState(() => ({
2327
- current: Uo(o)
2328
- })), [n, r] = ae.useState(() => t.current.initialState);
2357
+ }, [t] = ce.useState(() => ({
2358
+ current: Ko(o)
2359
+ })), [n, r] = ce.useState(() => t.current.initialState);
2329
2360
  return t.current.setOptions((i) => ({
2330
2361
  ...i,
2331
2362
  ...e,
@@ -2340,7 +2371,7 @@ function ir(e) {
2340
2371
  }
2341
2372
  })), t.current;
2342
2373
  }
2343
- const sr = ({
2374
+ const lr = ({
2344
2375
  page: e = 1,
2345
2376
  between: o = 3,
2346
2377
  totalPages: t,
@@ -2357,7 +2388,7 @@ const sr = ({
2357
2388
  e + (o - (i > 0 ? i + 1 : 0))
2358
2389
  ), /* @__PURE__ */ w.jsxs("div", { className: F("flex", s == null ? void 0 : s.root), children: [
2359
2390
  r && /* @__PURE__ */ w.jsx(
2360
- de,
2391
+ ge,
2361
2392
  {
2362
2393
  size: "sm",
2363
2394
  intent: "ghost",
@@ -2368,7 +2399,7 @@ const sr = ({
2368
2399
  }
2369
2400
  ),
2370
2401
  t > l && i > 0 && u.slice(0, e - 1 <= o ? 0 : i).map((d) => /* @__PURE__ */ w.jsx(
2371
- de,
2402
+ ge,
2372
2403
  {
2373
2404
  size: "sm",
2374
2405
  intent: "ghost",
@@ -2379,7 +2410,7 @@ const sr = ({
2379
2410
  d
2380
2411
  )),
2381
2412
  t > l && i > 0 && e - 1 > o && /* @__PURE__ */ w.jsx(
2382
- de,
2413
+ ge,
2383
2414
  {
2384
2415
  size: "sm",
2385
2416
  intent: "ghost",
@@ -2390,7 +2421,7 @@ const sr = ({
2390
2421
  a.map((d) => {
2391
2422
  const f = d === e - 1;
2392
2423
  return /* @__PURE__ */ w.jsx(
2393
- de,
2424
+ ge,
2394
2425
  {
2395
2426
  size: "sm",
2396
2427
  className: F(
@@ -2408,7 +2439,7 @@ const sr = ({
2408
2439
  );
2409
2440
  }),
2410
2441
  t > l && i > 0 && e < t - o && /* @__PURE__ */ w.jsx(
2411
- de,
2442
+ ge,
2412
2443
  {
2413
2444
  size: "sm",
2414
2445
  intent: "ghost",
@@ -2417,7 +2448,7 @@ const sr = ({
2417
2448
  }
2418
2449
  ),
2419
2450
  t > l && i > 0 && u.slice(e >= t - o ? t : t - i, t).map((d) => /* @__PURE__ */ w.jsx(
2420
- de,
2451
+ ge,
2421
2452
  {
2422
2453
  size: "sm",
2423
2454
  className: F("mob-body-regular-l w-[40px] p-0 text-color-dark", s == null ? void 0 : s.button),
@@ -2428,7 +2459,7 @@ const sr = ({
2428
2459
  d
2429
2460
  )),
2430
2461
  r && /* @__PURE__ */ w.jsx(
2431
- de,
2462
+ ge,
2432
2463
  {
2433
2464
  size: "sm",
2434
2465
  intent: "ghost",
@@ -2439,7 +2470,7 @@ const sr = ({
2439
2470
  }
2440
2471
  )
2441
2472
  ] });
2442
- }, lr = ({ page: e, pageCount: o, pageSize: t, onPageIndexChange: n, rowsCount: r, classes: i }) => {
2473
+ }, ur = ({ page: e, pageCount: o, pageSize: t, onPageIndexChange: n, rowsCount: r, classes: i }) => {
2443
2474
  const s = t * e, u = s > r ? r : s;
2444
2475
  return /* @__PURE__ */ w.jsxs("div", { className: F("flex w-full items-center justify-between", i == null ? void 0 : i.root), children: [
2445
2476
  /* @__PURE__ */ w.jsxs("span", { className: F("desk-body-regular-m text-color-tetriary", i == null ? void 0 : i.displayShown), children: [
@@ -2449,7 +2480,7 @@ const sr = ({
2449
2480
  r
2450
2481
  ] }),
2451
2482
  /* @__PURE__ */ w.jsx(
2452
- sr,
2483
+ lr,
2453
2484
  {
2454
2485
  totalPages: o,
2455
2486
  changePage: (l) => n(l),
@@ -2459,8 +2490,15 @@ const sr = ({
2459
2490
  }
2460
2491
  )
2461
2492
  ] });
2462
- }, ur = ({ mode: e, enableHeaders: o, table: t, classes: n, pagination: r }) => {
2463
- const i = r !== !1 && t.getPageCount() > 1, s = {
2493
+ }, ar = ({
2494
+ mode: e,
2495
+ enableHeaders: o,
2496
+ table: t,
2497
+ classes: n,
2498
+ pagination: r,
2499
+ empty: i = "Not found"
2500
+ }) => {
2501
+ const s = r !== !1 && t.getPageCount() > 1, u = {
2464
2502
  pageCount: t.getPageCount(),
2465
2503
  rowsCount: t.getCoreRowModel().rows.length,
2466
2504
  pageSize: t.getState().pagination.pageSize,
@@ -2470,7 +2508,7 @@ const sr = ({
2470
2508
  };
2471
2509
  return /* @__PURE__ */ w.jsxs("div", { className: F("flex w-full flex-col gap-y-4", n == null ? void 0 : n.root), children: [
2472
2510
  /* @__PURE__ */ w.jsxs(un, { className: F("w-full", n == null ? void 0 : n.table), children: [
2473
- o && /* @__PURE__ */ w.jsx(an, { className: "px-2", children: t.getHeaderGroups().map((u) => /* @__PURE__ */ w.jsx(
2511
+ o && /* @__PURE__ */ w.jsx(an, { className: "px-2", children: t.getHeaderGroups().map((l) => /* @__PURE__ */ w.jsx(
2474
2512
  Te,
2475
2513
  {
2476
2514
  className: F(
@@ -2480,7 +2518,7 @@ const sr = ({
2480
2518
  },
2481
2519
  n == null ? void 0 : n.tableHeader
2482
2520
  ),
2483
- children: u.headers.map((l) => /* @__PURE__ */ w.jsx(
2521
+ children: l.headers.map((a) => /* @__PURE__ */ w.jsx(
2484
2522
  dn,
2485
2523
  {
2486
2524
  className: F(
@@ -2490,14 +2528,14 @@ const sr = ({
2490
2528
  },
2491
2529
  n == null ? void 0 : n.tableHead
2492
2530
  ),
2493
- children: l.isPlaceholder ? null : He(l.column.columnDef.header, l.getContext())
2531
+ children: a.isPlaceholder ? null : Ge(a.column.columnDef.header, a.getContext())
2494
2532
  },
2495
- l.id
2533
+ a.id
2496
2534
  ))
2497
2535
  },
2498
- u.id
2536
+ l.id
2499
2537
  )) }),
2500
- /* @__PURE__ */ w.jsx(cn, { children: t.getRowModel().rows.length ? t.getRowModel().rows.map((u) => /* @__PURE__ */ w.jsx(
2538
+ /* @__PURE__ */ w.jsx(cn, { children: t.getRowModel().rows.length ? t.getRowModel().rows.map((l, a) => /* @__PURE__ */ w.jsx(
2501
2539
  Te,
2502
2540
  {
2503
2541
  className: F(
@@ -2508,33 +2546,34 @@ const sr = ({
2508
2546
  },
2509
2547
  n == null ? void 0 : n.tableRow
2510
2548
  ),
2511
- children: u.getVisibleCells().map((l, a) => /* @__PURE__ */ w.jsx(
2512
- lt,
2549
+ children: l.getVisibleCells().map((d, f) => /* @__PURE__ */ w.jsx(
2550
+ ut,
2513
2551
  {
2514
2552
  className: F(
2515
2553
  "py-3",
2516
2554
  {
2517
2555
  "px-2": e === "odd",
2518
- "font-medium": a !== 0
2556
+ "font-medium": f !== 0
2519
2557
  },
2520
2558
  n == null ? void 0 : n.tableCell
2521
2559
  ),
2522
- children: He(l.column.columnDef.cell, l.getContext())
2560
+ children: Ge(d.column.columnDef.cell, { ...d.getContext(), rowIndex: a })
2523
2561
  },
2524
- l.id
2562
+ d.id
2525
2563
  ))
2526
2564
  },
2527
- u.id
2528
- )) : /* @__PURE__ */ w.jsx(Te, { children: /* @__PURE__ */ w.jsx(lt, { colSpan: t.getRowCount(), children: "Not found" }) }) })
2565
+ l.id
2566
+ )) : /* @__PURE__ */ w.jsx(Te, { children: /* @__PURE__ */ w.jsx(ut, { className: "py-4 text-center", colSpan: t.getAllColumns().length, children: i }) }) })
2529
2567
  ] }),
2530
- i ? typeof r == "function" ? r(s) : /* @__PURE__ */ w.jsx(lr, { ...s }) : null
2568
+ s ? typeof r == "function" ? r(u) : /* @__PURE__ */ w.jsx(ur, { ...u }) : null
2531
2569
  ] });
2532
- }, ar = ({
2570
+ }, cr = ({
2533
2571
  mode: e,
2534
2572
  enableHeaders: o,
2535
2573
  table: t,
2536
- classes: n
2537
- }) => /* @__PURE__ */ w.jsx("div", { className: F("w-full", n == null ? void 0 : n.table), children: t.getRowModel().rows.length ? t.getRowModel().rows.map((r) => /* @__PURE__ */ w.jsx(
2574
+ classes: n,
2575
+ empty: r = "Not found"
2576
+ }) => /* @__PURE__ */ w.jsx("div", { className: F("w-full", n == null ? void 0 : n.table), children: t.getRowModel().rows.length ? t.getRowModel().rows.map((i) => /* @__PURE__ */ w.jsx(
2538
2577
  "div",
2539
2578
  {
2540
2579
  className: F(
@@ -2544,8 +2583,8 @@ const sr = ({
2544
2583
  },
2545
2584
  n == null ? void 0 : n.tableRow
2546
2585
  ),
2547
- children: r.getVisibleCells().map((i, s) => {
2548
- const u = t.getHeaderGroups()[0].headers[s];
2586
+ children: i.getVisibleCells().map((s, u) => {
2587
+ const l = t.getHeaderGroups()[0].headers[u];
2549
2588
  return /* @__PURE__ */ w.jsxs(
2550
2589
  "div",
2551
2590
  {
@@ -2553,47 +2592,53 @@ const sr = ({
2553
2592
  "grid grid-cols-2 p-2",
2554
2593
  {
2555
2594
  "px-2": e === "odd",
2556
- "font-medium": s !== 0
2595
+ "font-medium": u !== 0
2557
2596
  },
2558
2597
  n == null ? void 0 : n.tableCell
2559
2598
  ),
2560
2599
  children: [
2561
- o && /* @__PURE__ */ w.jsx("p", { className: "font-bold", children: He(u.column.columnDef.header, u.getContext()) }),
2562
- /* @__PURE__ */ w.jsx("p", { children: He(i.column.columnDef.cell, i.getContext()) })
2600
+ o && /* @__PURE__ */ w.jsx("p", { className: "font-bold", children: Ge(l.column.columnDef.header, l.getContext()) }),
2601
+ /* @__PURE__ */ w.jsx("p", { children: Ge(s.column.columnDef.cell, s.getContext()) })
2563
2602
  ]
2564
2603
  },
2565
- i.id
2604
+ s.id
2566
2605
  );
2567
2606
  })
2568
2607
  },
2569
- r.id
2570
- )) : /* @__PURE__ */ w.jsx("div", { children: "Not found" }) }), mi = ({
2608
+ i.id
2609
+ )) : /* @__PURE__ */ w.jsx("div", { children: r }) }), Si = ({
2571
2610
  columns: e,
2572
2611
  data: o,
2573
2612
  enableHeaders: t = !0,
2574
2613
  mode: n = "solid",
2575
2614
  classes: r,
2576
- pagination: i = !0
2615
+ pagination: i = !0,
2616
+ empty: s,
2617
+ pageSize: u = 10
2577
2618
  }) => {
2578
- const [s, u] = Se([]), [l, a] = Se([]), d = ir({
2619
+ const [l, a] = oe([]), [d, f] = oe([]), [g, c] = oe({
2620
+ pageIndex: 0,
2621
+ pageSize: u
2622
+ }), p = sr({
2579
2623
  data: o,
2580
2624
  columns: e,
2581
- state: { columnFilters: s, sorting: l },
2625
+ state: { columnFilters: l, sorting: d, pagination: g },
2582
2626
  enableRowSelection: !0,
2583
- onSortingChange: a,
2584
- onColumnFiltersChange: u,
2585
- getCoreRowModel: Ko(),
2586
- getFilteredRowModel: Zo(),
2587
- getSortedRowModel: tr(),
2588
- getFacetedRowModel: Jo(),
2589
- getFacetedUniqueValues: Yo(),
2590
- getPaginationRowModel: er()
2591
- }), { isMobile: f } = ke();
2592
- return f ? /* @__PURE__ */ w.jsx(ar, { table: d, enableHeaders: t, mode: n, classes: r }) : /* @__PURE__ */ w.jsx(ur, { table: d, enableHeaders: t, mode: n, pagination: i, classes: r });
2627
+ onSortingChange: f,
2628
+ onColumnFiltersChange: a,
2629
+ onPaginationChange: c,
2630
+ getCoreRowModel: Xo(),
2631
+ getFilteredRowModel: er(),
2632
+ getSortedRowModel: nr(),
2633
+ getFacetedRowModel: Yo(),
2634
+ getFacetedUniqueValues: Zo(),
2635
+ getPaginationRowModel: tr()
2636
+ }), { isMobile: m } = qe();
2637
+ return m ? /* @__PURE__ */ w.jsx(cr, { table: p, enableHeaders: t, empty: s, mode: n, classes: r }) : /* @__PURE__ */ w.jsx(ar, { table: p, enableHeaders: t, empty: s, mode: n, pagination: i, classes: r });
2593
2638
  };
2594
- class hi {
2639
+ class wi {
2595
2640
  static getColumnHelper() {
2596
- return so();
2641
+ return lo();
2597
2642
  }
2598
2643
  static getColumns(o, t) {
2599
2644
  const {
@@ -2607,7 +2652,7 @@ class hi {
2607
2652
  header: (d) => {
2608
2653
  const { column: f } = d, g = u ? u[a] : null;
2609
2654
  return /* @__PURE__ */ w.jsx(
2610
- io,
2655
+ so,
2611
2656
  {
2612
2657
  isSorted: f.getIsSorted() === "desc",
2613
2658
  nextSortingOrder: f.getNextSortingOrder(),
@@ -2626,8 +2671,8 @@ class hi {
2626
2671
  }));
2627
2672
  }
2628
2673
  }
2629
- const cr = ({ emblaApi: e, navigationHandler: o }) => {
2630
- const [t, n] = Se(!0), [r, i] = Se(!0), s = he(
2674
+ const dr = ({ emblaApi: e, navigationHandler: o }) => {
2675
+ const [t, n] = oe(!0), [r, i] = oe(!0), s = Se(
2631
2676
  (l) => {
2632
2677
  if (e) {
2633
2678
  switch (l) {
@@ -2642,7 +2687,7 @@ const cr = ({ emblaApi: e, navigationHandler: o }) => {
2642
2687
  }
2643
2688
  },
2644
2689
  [e, o]
2645
- ), u = he((l) => {
2690
+ ), u = Se((l) => {
2646
2691
  n(!l.canScrollPrev()), i(!l.canScrollNext());
2647
2692
  }, []);
2648
2693
  return ve(() => {
@@ -2652,15 +2697,15 @@ const cr = ({ emblaApi: e, navigationHandler: o }) => {
2652
2697
  nextBtnDisabled: r,
2653
2698
  onClickNavigationButton: s
2654
2699
  };
2655
- }, dr = ({ emblaApi: e, navigationHandler: o, setVisibleIndex: t }) => {
2656
- const [n, r] = Se([]), i = he(
2700
+ }, gr = ({ emblaApi: e, navigationHandler: o, setVisibleIndex: t }) => {
2701
+ const [n, r] = oe([]), i = Se(
2657
2702
  (l) => {
2658
2703
  e && (e.scrollTo(l), o && o(e));
2659
2704
  },
2660
2705
  [e, o]
2661
- ), s = he((l) => {
2706
+ ), s = Se((l) => {
2662
2707
  r(l.scrollSnapList());
2663
- }, []), u = he((l) => {
2708
+ }, []), u = Se((l) => {
2664
2709
  t(l.selectedScrollSnap());
2665
2710
  }, []);
2666
2711
  return ve(() => {
@@ -2669,7 +2714,7 @@ const cr = ({ emblaApi: e, navigationHandler: o }) => {
2669
2714
  scrollSnaps: n,
2670
2715
  onClickDot: i
2671
2716
  };
2672
- }, gr = {
2717
+ }, fr = {
2673
2718
  active: !0,
2674
2719
  breakpoints: {},
2675
2720
  delay: 4e3,
@@ -2681,29 +2726,29 @@ const cr = ({ emblaApi: e, navigationHandler: o }) => {
2681
2726
  stopOnLastSnap: !1,
2682
2727
  rootNode: null
2683
2728
  };
2684
- function fr(e, o) {
2729
+ function pr(e, o) {
2685
2730
  const t = e.scrollSnapList();
2686
2731
  return typeof o == "number" ? t.map(() => o) : o(t, e);
2687
2732
  }
2688
- function pr(e, o) {
2733
+ function mr(e, o) {
2689
2734
  const t = e.rootNode();
2690
2735
  return o && o(t) || t;
2691
2736
  }
2692
- function Rt(e = {}) {
2737
+ function xt(e = {}) {
2693
2738
  let o, t, n, r, i = null, s = 0, u = !1, l = !1, a = !1, d = !1;
2694
2739
  function f(E, j) {
2695
2740
  t = E;
2696
2741
  const {
2697
2742
  mergeOptions: U,
2698
2743
  optionsAtMedia: K
2699
- } = j, J = U(gr, Rt.globalOptions), Y = U(J, e);
2744
+ } = j, J = U(fr, xt.globalOptions), Y = U(J, e);
2700
2745
  if (o = K(Y), t.scrollSnapList().length <= 1) return;
2701
- d = o.jump, n = !1, r = fr(t, o.delay);
2746
+ d = o.jump, n = !1, r = pr(t, o.delay);
2702
2747
  const {
2703
2748
  eventStore: te,
2704
2749
  ownerDocument: X
2705
- } = t.internalEngine(), oe = !!t.internalEngine().options.watchDrag, re = pr(t, o.rootNode);
2706
- te.add(X, "visibilitychange", h), oe && t.on("pointerDown", v), oe && !o.stopOnInteraction && t.on("pointerUp", _), o.stopOnMouseEnter && te.add(re, "mouseenter", I), o.stopOnMouseEnter && !o.stopOnInteraction && te.add(re, "mouseleave", V), o.stopOnFocusIn && t.on("slideFocusStart", S), o.stopOnFocusIn && !o.stopOnInteraction && te.add(t.containerNode(), "focusout", m), o.playOnInit && m();
2750
+ } = t.internalEngine(), re = !!t.internalEngine().options.watchDrag, ie = mr(t, o.rootNode);
2751
+ te.add(X, "visibilitychange", h), re && t.on("pointerDown", v), re && !o.stopOnInteraction && t.on("pointerUp", _), o.stopOnMouseEnter && te.add(ie, "mouseenter", I), o.stopOnMouseEnter && !o.stopOnInteraction && te.add(ie, "mouseleave", V), o.stopOnFocusIn && t.on("slideFocusStart", S), o.stopOnFocusIn && !o.stopOnInteraction && te.add(t.containerNode(), "focusout", m), o.playOnInit && m();
2707
2752
  }
2708
2753
  function g() {
2709
2754
  t.off("pointerDown", v).off("pointerUp", _).off("slideFocusStart", S), S(), n = !0, u = !1;
@@ -2791,43 +2836,43 @@ function Rt(e = {}) {
2791
2836
  timeUntilNext: N
2792
2837
  };
2793
2838
  }
2794
- Rt.globalOptions = void 0;
2795
- function mr(e) {
2839
+ xt.globalOptions = void 0;
2840
+ function hr(e) {
2796
2841
  return Object.prototype.toString.call(e) === "[object Object]";
2797
2842
  }
2798
2843
  function Gt(e) {
2799
- return mr(e) || Array.isArray(e);
2844
+ return hr(e) || Array.isArray(e);
2800
2845
  }
2801
- function hr() {
2846
+ function Sr() {
2802
2847
  return !!(typeof window < "u" && window.document && window.document.createElement);
2803
2848
  }
2804
- function xt(e, o) {
2849
+ function yt(e, o) {
2805
2850
  const t = Object.keys(e), n = Object.keys(o);
2806
2851
  if (t.length !== n.length) return !1;
2807
2852
  const r = JSON.stringify(Object.keys(e.breakpoints || {})), i = JSON.stringify(Object.keys(o.breakpoints || {}));
2808
2853
  return r !== i ? !1 : t.every((s) => {
2809
2854
  const u = e[s], l = o[s];
2810
- return typeof u == "function" ? `${u}` == `${l}` : !Gt(u) || !Gt(l) ? u === l : xt(u, l);
2855
+ return typeof u == "function" ? `${u}` == `${l}` : !Gt(u) || !Gt(l) ? u === l : yt(u, l);
2811
2856
  });
2812
2857
  }
2813
2858
  function zt(e) {
2814
2859
  return e.concat().sort((o, t) => o.name > t.name ? 1 : -1).map((o) => o.options);
2815
2860
  }
2816
- function Sr(e, o) {
2861
+ function wr(e, o) {
2817
2862
  if (e.length !== o.length) return !1;
2818
2863
  const t = zt(e), n = zt(o);
2819
2864
  return t.every((r, i) => {
2820
2865
  const s = n[i];
2821
- return xt(r, s);
2866
+ return yt(r, s);
2822
2867
  });
2823
2868
  }
2824
- function yt(e) {
2869
+ function Ft(e) {
2825
2870
  return typeof e == "number";
2826
2871
  }
2827
- function ft(e) {
2872
+ function pt(e) {
2828
2873
  return typeof e == "string";
2829
2874
  }
2830
- function Ke(e) {
2875
+ function Xe(e) {
2831
2876
  return typeof e == "boolean";
2832
2877
  }
2833
2878
  function Bt(e) {
@@ -2836,18 +2881,18 @@ function Bt(e) {
2836
2881
  function A(e) {
2837
2882
  return Math.abs(e);
2838
2883
  }
2839
- function Ft(e) {
2884
+ function _t(e) {
2840
2885
  return Math.sign(e);
2841
2886
  }
2842
2887
  function Ve(e, o) {
2843
2888
  return A(e - o);
2844
2889
  }
2845
- function wr(e, o) {
2890
+ function Cr(e, o) {
2846
2891
  if (e === 0 || o === 0 || A(e) <= A(o)) return 0;
2847
2892
  const t = Ve(A(e), A(o));
2848
2893
  return A(t / e);
2849
2894
  }
2850
- function Cr(e) {
2895
+ function vr(e) {
2851
2896
  return Math.round(e * 100) / 100;
2852
2897
  }
2853
2898
  function Pe(e) {
@@ -2859,7 +2904,7 @@ function ee(e) {
2859
2904
  function De(e) {
2860
2905
  return Math.max(0, e.length - 1);
2861
2906
  }
2862
- function _t(e, o) {
2907
+ function It(e, o) {
2863
2908
  return o === De(e);
2864
2909
  }
2865
2910
  function kt(e, o = 0) {
@@ -2874,10 +2919,10 @@ function xn(e, o) {
2874
2919
  t[r] = u ? xn(i, s) : s;
2875
2920
  }), t), {});
2876
2921
  }
2877
- function pt(e, o) {
2922
+ function mt(e, o) {
2878
2923
  return typeof o.MouseEvent < "u" && e instanceof o.MouseEvent;
2879
2924
  }
2880
- function vr(e, o) {
2925
+ function Rr(e, o) {
2881
2926
  const t = {
2882
2927
  start: n,
2883
2928
  center: r,
@@ -2893,7 +2938,7 @@ function vr(e, o) {
2893
2938
  return o - l;
2894
2939
  }
2895
2940
  function s(l, a) {
2896
- return ft(e) ? t[e](l) : e(o, l, a);
2941
+ return pt(e) ? t[e](l) : e(o, l, a);
2897
2942
  }
2898
2943
  return {
2899
2944
  measure: s
@@ -2922,7 +2967,7 @@ function Ee() {
2922
2967
  };
2923
2968
  return n;
2924
2969
  }
2925
- function Rr(e, o, t, n) {
2970
+ function xr(e, o, t, n) {
2926
2971
  const r = Ee(), i = 1e3 / 60;
2927
2972
  let s = null, u = 0, l = 0;
2928
2973
  function a() {
@@ -2960,7 +3005,7 @@ function Rr(e, o, t, n) {
2960
3005
  render: n
2961
3006
  };
2962
3007
  }
2963
- function xr(e, o) {
3008
+ function yr(e, o) {
2964
3009
  const t = o === "rtl", n = e === "y", r = n ? "y" : "x", i = n ? "x" : "y", s = !n && t ? -1 : 1, u = d(), l = f();
2965
3010
  function a(p) {
2966
3011
  const {
@@ -3043,7 +3088,7 @@ function yn(e, o, t) {
3043
3088
  };
3044
3089
  return f;
3045
3090
  }
3046
- function yr(e, o, t, n, r, i, s, u, l, a, d, f, g, c, p, m, S, h, C) {
3091
+ function Fr(e, o, t, n, r, i, s, u, l, a, d, f, g, c, p, m, S, h, C) {
3047
3092
  const {
3048
3093
  cross: v,
3049
3094
  direction: _
@@ -3060,48 +3105,48 @@ function yr(e, o, t, n, r, i, s, u, l, a, d, f, g, c, p, m, S, h, C) {
3060
3105
  function te(R) {
3061
3106
  if (!C) return;
3062
3107
  function D(z) {
3063
- (Ke(C) || C(R, z)) && xe(z);
3108
+ (Xe(C) || C(R, z)) && xe(z);
3064
3109
  }
3065
3110
  const T = o;
3066
3111
  M.add(T, "dragstart", (z) => z.preventDefault(), V).add(T, "touchmove", () => {
3067
3112
  }, V).add(T, "touchend", () => {
3068
- }).add(T, "touchstart", D).add(T, "mousedown", D).add(T, "touchcancel", G).add(T, "contextmenu", G).add(T, "click", se, !0);
3113
+ }).add(T, "touchstart", D).add(T, "mousedown", D).add(T, "touchcancel", G).add(T, "contextmenu", G).add(T, "click", le, !0);
3069
3114
  }
3070
3115
  function X() {
3071
3116
  M.clear(), b.clear();
3072
3117
  }
3073
- function oe() {
3118
+ function re() {
3074
3119
  const R = Y ? t : o;
3075
3120
  b.add(R, "touchmove", k, V).add(R, "touchend", G).add(R, "mousemove", k, V).add(R, "mouseup", G);
3076
3121
  }
3077
- function re(R) {
3122
+ function ie(R) {
3078
3123
  const D = R.nodeName || "";
3079
3124
  return I.includes(D);
3080
3125
  }
3081
- function ie() {
3126
+ function se() {
3082
3127
  return (p ? $ : L)[Y ? "mouse" : "touch"];
3083
3128
  }
3084
3129
  function Re(R, D) {
3085
- const T = f.add(Ft(R) * -1), z = d.byDistance(R, !p).distance;
3130
+ const T = f.add(_t(R) * -1), z = d.byDistance(R, !p).distance;
3086
3131
  return p || A(R) < P ? z : S && D ? z * 0.5 : d.byIndex(T.get(), 0).distance;
3087
3132
  }
3088
3133
  function xe(R) {
3089
- const D = pt(R, n);
3090
- Y = D, J = p && D && !R.buttons && B, B = Ve(r.get(), s.get()) >= 2, !(D && R.button !== 0) && (re(R.target) || (U = !0, i.pointerDown(R), a.useFriction(0).useDuration(0), r.set(s), oe(), E = i.readPoint(R), j = i.readPoint(R, v), g.emit("pointerDown")));
3134
+ const D = mt(R, n);
3135
+ Y = D, J = p && D && !R.buttons && B, B = Ve(r.get(), s.get()) >= 2, !(D && R.button !== 0) && (ie(R.target) || (U = !0, i.pointerDown(R), a.useFriction(0).useDuration(0), r.set(s), re(), E = i.readPoint(R), j = i.readPoint(R, v), g.emit("pointerDown")));
3091
3136
  }
3092
3137
  function k(R) {
3093
- if (!pt(R, n) && R.touches.length >= 2) return G(R);
3094
- const T = i.readPoint(R), z = i.readPoint(R, v), ne = Ve(T, E), le = Ve(z, j);
3095
- if (!K && !Y && (!R.cancelable || (K = ne > le, !K)))
3138
+ if (!mt(R, n) && R.touches.length >= 2) return G(R);
3139
+ const T = i.readPoint(R), z = i.readPoint(R, v), ne = Ve(T, E), ue = Ve(z, j);
3140
+ if (!K && !Y && (!R.cancelable || (K = ne > ue, !K)))
3096
3141
  return G(R);
3097
- const pe = i.pointerMove(R);
3098
- ne > m && (J = !0), a.useFriction(0.3).useDuration(0.75), u.start(), r.add(_(pe)), R.preventDefault();
3142
+ const me = i.pointerMove(R);
3143
+ ne > m && (J = !0), a.useFriction(0.3).useDuration(0.75), u.start(), r.add(_(me)), R.preventDefault();
3099
3144
  }
3100
3145
  function G(R) {
3101
- const T = d.byDistance(0, !1).index !== f.get(), z = i.pointerUp(R) * ie(), ne = Re(_(z), T), le = wr(z, ne), pe = N - 10 * le, ce = h + le / 50;
3102
- K = !1, U = !1, b.clear(), a.useDuration(pe).useFriction(ce), l.distance(ne, !p), Y = !1, g.emit("pointerUp");
3146
+ const T = d.byDistance(0, !1).index !== f.get(), z = i.pointerUp(R) * se(), ne = Re(_(z), T), ue = Cr(z, ne), me = N - 10 * ue, de = h + ue / 50;
3147
+ K = !1, U = !1, b.clear(), a.useDuration(me).useFriction(de), l.distance(ne, !p), Y = !1, g.emit("pointerUp");
3103
3148
  }
3104
- function se(R) {
3149
+ function le(R) {
3105
3150
  J && (R.stopPropagation(), R.preventDefault(), J = !1);
3106
3151
  }
3107
3152
  function W() {
@@ -3113,14 +3158,14 @@ function yr(e, o, t, n, r, i, s, u, l, a, d, f, g, c, p, m, S, h, C) {
3113
3158
  pointerDown: W
3114
3159
  };
3115
3160
  }
3116
- function Fr(e, o) {
3161
+ function _r(e, o) {
3117
3162
  let n, r;
3118
3163
  function i(f) {
3119
3164
  return f.timeStamp;
3120
3165
  }
3121
3166
  function s(f, g) {
3122
3167
  const p = `client${(g || e.scroll) === "x" ? "X" : "Y"}`;
3123
- return (pt(f, o) ? f : f.touches[0])[p];
3168
+ return (mt(f, o) ? f : f.touches[0])[p];
3124
3169
  }
3125
3170
  function u(f) {
3126
3171
  return n = f, r = f, s(f);
@@ -3141,7 +3186,7 @@ function Fr(e, o) {
3141
3186
  readPoint: s
3142
3187
  };
3143
3188
  }
3144
- function _r() {
3189
+ function Ir() {
3145
3190
  function e(t) {
3146
3191
  const {
3147
3192
  offsetTop: n,
@@ -3162,7 +3207,7 @@ function _r() {
3162
3207
  measure: e
3163
3208
  };
3164
3209
  }
3165
- function Ir(e) {
3210
+ function Mr(e) {
3166
3211
  function o(n) {
3167
3212
  return e * (n / 100);
3168
3213
  }
@@ -3170,7 +3215,7 @@ function Ir(e) {
3170
3215
  measure: o
3171
3216
  };
3172
3217
  }
3173
- function Mr(e, o, t, n, r, i, s) {
3218
+ function Vr(e, o, t, n, r, i, s) {
3174
3219
  const u = [e].concat(n);
3175
3220
  let l, a, d = [], f = !1;
3176
3221
  function g(S) {
@@ -3190,7 +3235,7 @@ function Mr(e, o, t, n, r, i, s) {
3190
3235
  }
3191
3236
  }
3192
3237
  l = new ResizeObserver((C) => {
3193
- (Ke(i) || i(S, C)) && h(C);
3238
+ (Xe(i) || i(S, C)) && h(C);
3194
3239
  }), t.requestAnimationFrame(() => {
3195
3240
  u.forEach((C) => l.observe(C));
3196
3241
  });
@@ -3203,12 +3248,12 @@ function Mr(e, o, t, n, r, i, s) {
3203
3248
  destroy: p
3204
3249
  };
3205
3250
  }
3206
- function Vr(e, o, t, n, r, i) {
3251
+ function br(e, o, t, n, r, i) {
3207
3252
  let s = 0, u = 0, l = r, a = i, d = e.get(), f = 0;
3208
3253
  function g() {
3209
3254
  const V = n.get() - e.get(), M = !l;
3210
3255
  let b = 0;
3211
- return M ? (s = 0, t.set(n), e.set(n), b = V) : (t.set(e), s += V / l, s *= a, d += s, e.add(s), b = d - f), u = Ft(b), f = d, I;
3256
+ return M ? (s = 0, t.set(n), e.set(n), b = V) : (t.set(e), s += V / l, s *= a, d += s, e.add(s), b = d - f), u = _t(b), f = d, I;
3212
3257
  }
3213
3258
  function c() {
3214
3259
  const V = n.get() - o.get();
@@ -3248,7 +3293,7 @@ function Vr(e, o, t, n, r, i) {
3248
3293
  };
3249
3294
  return I;
3250
3295
  }
3251
- function br(e, o, t, n, r) {
3296
+ function Pr(e, o, t, n, r) {
3252
3297
  const i = r.measure(10), s = r.measure(50), u = we(0.1, 0.99);
3253
3298
  let l = !1;
3254
3299
  function a() {
@@ -3268,7 +3313,7 @@ function br(e, o, t, n, r) {
3268
3313
  toggleActive: f
3269
3314
  };
3270
3315
  }
3271
- function Pr(e, o, t, n, r) {
3316
+ function $r(e, o, t, n, r) {
3272
3317
  const i = we(-o + e, 0), s = f(), u = d(), l = g();
3273
3318
  function a(p, m) {
3274
3319
  return Ve(p, m) <= 1;
@@ -3282,7 +3327,7 @@ function Pr(e, o, t, n, r) {
3282
3327
  const {
3283
3328
  min: S,
3284
3329
  max: h
3285
- } = i, C = i.constrain(p), v = !m, _ = _t(t, m);
3330
+ } = i, C = i.constrain(p), v = !m, _ = It(t, m);
3286
3331
  return v ? h : _ || a(S, C) ? S : a(h, C) ? h : C;
3287
3332
  }).map((p) => parseFloat(p.toFixed(3)));
3288
3333
  }
@@ -3300,13 +3345,13 @@ function Pr(e, o, t, n, r) {
3300
3345
  scrollContainLimit: u
3301
3346
  };
3302
3347
  }
3303
- function $r(e, o, t) {
3348
+ function Er(e, o, t) {
3304
3349
  const n = o[0], r = t ? n - e : ee(o);
3305
3350
  return {
3306
3351
  limit: we(r, n)
3307
3352
  };
3308
3353
  }
3309
- function Er(e, o, t, n) {
3354
+ function Dr(e, o, t, n) {
3310
3355
  const i = o.min + 0.1, s = o.max + 0.1, {
3311
3356
  reachedMin: u,
3312
3357
  reachedMax: l
@@ -3323,7 +3368,7 @@ function Er(e, o, t, n) {
3323
3368
  loop: d
3324
3369
  };
3325
3370
  }
3326
- function Dr(e) {
3371
+ function Lr(e) {
3327
3372
  const {
3328
3373
  max: o,
3329
3374
  length: t
@@ -3336,7 +3381,7 @@ function Dr(e) {
3336
3381
  get: n
3337
3382
  };
3338
3383
  }
3339
- function Lr(e, o, t, n, r) {
3384
+ function Or(e, o, t, n, r) {
3340
3385
  const {
3341
3386
  startEdge: i,
3342
3387
  endEdge: s
@@ -3357,7 +3402,7 @@ function Lr(e, o, t, n, r) {
3357
3402
  snapsAligned: d
3358
3403
  };
3359
3404
  }
3360
- function Or(e, o, t, n, r, i) {
3405
+ function Ar(e, o, t, n, r, i) {
3361
3406
  const {
3362
3407
  groupSlides: s
3363
3408
  } = r, {
@@ -3367,7 +3412,7 @@ function Or(e, o, t, n, r, i) {
3367
3412
  function d() {
3368
3413
  const g = s(i), c = !e || o === "keepSnaps";
3369
3414
  return t.length === 1 ? [i] : c ? g : g.slice(u, l).map((p, m, S) => {
3370
- const h = !m, C = _t(S, m);
3415
+ const h = !m, C = It(S, m);
3371
3416
  if (h) {
3372
3417
  const v = ee(S[0]) + 1;
3373
3418
  return kt(v);
@@ -3383,7 +3428,7 @@ function Or(e, o, t, n, r, i) {
3383
3428
  slideRegistry: a
3384
3429
  };
3385
3430
  }
3386
- function Ar(e, o, t, n, r) {
3431
+ function Nr(e, o, t, n, r) {
3387
3432
  const {
3388
3433
  reachedAny: i,
3389
3434
  removeOffset: s,
@@ -3408,7 +3453,7 @@ function Ar(e, o, t, n, r) {
3408
3453
  const S = [p, p + t, p - t];
3409
3454
  if (!e) return p;
3410
3455
  if (!m) return l(S);
3411
- const h = S.filter((C) => Ft(C) === m);
3456
+ const h = S.filter((C) => _t(C) === m);
3412
3457
  return h.length ? l(h) : ee(S) - t;
3413
3458
  }
3414
3459
  function f(p, m) {
@@ -3439,7 +3484,7 @@ function Ar(e, o, t, n, r) {
3439
3484
  shortcut: d
3440
3485
  };
3441
3486
  }
3442
- function Nr(e, o, t, n, r, i, s) {
3487
+ function Tr(e, o, t, n, r, i, s) {
3443
3488
  function u(f) {
3444
3489
  const g = f.distance, c = f.index !== o.get();
3445
3490
  i.add(g), g && (n.duration() ? e.start() : (e.update(), e.render(1), e.update())), c && (t.set(o.get()), o.set(f.index), s.emit("select"));
@@ -3457,7 +3502,7 @@ function Nr(e, o, t, n, r, i, s) {
3457
3502
  index: a
3458
3503
  };
3459
3504
  }
3460
- function Tr(e, o, t, n, r, i, s, u) {
3505
+ function jr(e, o, t, n, r, i, s, u) {
3461
3506
  const l = {
3462
3507
  passive: !0,
3463
3508
  capture: !0
@@ -3469,11 +3514,11 @@ function Tr(e, o, t, n, r, i, s, u) {
3469
3514
  if ((/* @__PURE__ */ new Date()).getTime() - a > 10) return;
3470
3515
  s.emit("slideFocusStart"), e.scrollLeft = 0;
3471
3516
  const C = t.findIndex((v) => v.includes(m));
3472
- yt(C) && (r.useDuration(0), n.index(C, 0), s.emit("slideFocus"));
3517
+ Ft(C) && (r.useDuration(0), n.index(C, 0), s.emit("slideFocus"));
3473
3518
  }
3474
3519
  i.add(document, "keydown", f, !1), o.forEach((m, S) => {
3475
3520
  i.add(m, "focus", (h) => {
3476
- (Ke(u) || u(c, h)) && p(S);
3521
+ (Xe(u) || u(c, h)) && p(S);
3477
3522
  }, l);
3478
3523
  });
3479
3524
  }
@@ -3499,7 +3544,7 @@ function _e(e) {
3499
3544
  o -= s(l);
3500
3545
  }
3501
3546
  function s(l) {
3502
- return yt(l) ? l : l.get();
3547
+ return Ft(l) ? l : l.get();
3503
3548
  }
3504
3549
  return {
3505
3550
  get: t,
@@ -3519,7 +3564,7 @@ function Fn(e, o) {
3519
3564
  }
3520
3565
  function l(g) {
3521
3566
  if (i) return;
3522
- const c = Cr(e.direction(g));
3567
+ const c = vr(e.direction(g));
3523
3568
  c !== r && (n.transform = t(c), r = c);
3524
3569
  }
3525
3570
  function a(g) {
@@ -3534,7 +3579,7 @@ function Fn(e, o) {
3534
3579
  toggleActive: a
3535
3580
  };
3536
3581
  }
3537
- function jr(e, o, t, n, r, i, s, u, l) {
3582
+ function Hr(e, o, t, n, r, i, s, u, l) {
3538
3583
  const d = Pe(r), f = Pe(r).reverse(), g = h().concat(C());
3539
3584
  function c(M, b) {
3540
3585
  return M.reduce((P, L) => P - r[L], b);
@@ -3597,7 +3642,7 @@ function jr(e, o, t, n, r, i, s, u, l) {
3597
3642
  loopPoints: g
3598
3643
  };
3599
3644
  }
3600
- function Hr(e, o, t) {
3645
+ function Gr(e, o, t) {
3601
3646
  let n, r = !1;
3602
3647
  function i(l) {
3603
3648
  if (!t) return;
@@ -3609,7 +3654,7 @@ function Hr(e, o, t) {
3609
3654
  }
3610
3655
  }
3611
3656
  n = new MutationObserver((d) => {
3612
- r || (Ke(t) || t(l, d)) && a(d);
3657
+ r || (Xe(t) || t(l, d)) && a(d);
3613
3658
  }), n.observe(e, {
3614
3659
  childList: !0
3615
3660
  });
@@ -3622,7 +3667,7 @@ function Hr(e, o, t) {
3622
3667
  destroy: s
3623
3668
  };
3624
3669
  }
3625
- function Gr(e, o, t, n) {
3670
+ function zr(e, o, t, n) {
3626
3671
  const r = {};
3627
3672
  let i = null, s = null, u, l = !1;
3628
3673
  function a() {
@@ -3659,7 +3704,7 @@ function Gr(e, o, t, n) {
3659
3704
  get: g
3660
3705
  };
3661
3706
  }
3662
- function zr(e, o, t, n, r, i) {
3707
+ function Br(e, o, t, n, r, i) {
3663
3708
  const {
3664
3709
  measureSize: s,
3665
3710
  startEdge: u,
@@ -3677,7 +3722,7 @@ function zr(e, o, t, n, r, i) {
3677
3722
  }
3678
3723
  function S() {
3679
3724
  return t.map((C, v, _) => {
3680
- const I = !v, V = _t(_, v);
3725
+ const I = !v, V = It(_, v);
3681
3726
  return I ? g[v] + d : V ? g[v] + f : _[v + 1][u] - C[u];
3682
3727
  }).map(A);
3683
3728
  }
@@ -3688,12 +3733,12 @@ function zr(e, o, t, n, r, i) {
3688
3733
  endGap: f
3689
3734
  };
3690
3735
  }
3691
- function Br(e, o, t, n, r, i, s, u, l) {
3736
+ function kr(e, o, t, n, r, i, s, u, l) {
3692
3737
  const {
3693
3738
  startEdge: a,
3694
3739
  endEdge: d,
3695
3740
  direction: f
3696
- } = e, g = yt(t);
3741
+ } = e, g = Ft(t);
3697
3742
  function c(h, C) {
3698
3743
  return Pe(h).filter((v) => v % C === 0).map((v) => h.slice(v, v + C));
3699
3744
  }
@@ -3713,7 +3758,7 @@ function Br(e, o, t, n, r, i, s, u, l) {
3713
3758
  groupSlides: m
3714
3759
  };
3715
3760
  }
3716
- function kr(e, o, t, n, r, i, s) {
3761
+ function qr(e, o, t, n, r, i, s) {
3717
3762
  const {
3718
3763
  align: u,
3719
3764
  axis: l,
@@ -3731,51 +3776,51 @@ function kr(e, o, t, n, r, i, s) {
3731
3776
  watchSlides: _,
3732
3777
  watchDrag: I,
3733
3778
  watchFocus: V
3734
- } = i, M = 2, b = _r(), P = b.measure(o), L = t.map(b.measure), $ = xr(l, a), N = $.measureSize(P), B = Ir(N), E = vr(u, N), j = !f && !!C, U = f || !!C, {
3779
+ } = i, M = 2, b = Ir(), P = b.measure(o), L = t.map(b.measure), $ = yr(l, a), N = $.measureSize(P), B = Mr(N), E = Rr(u, N), j = !f && !!C, U = f || !!C, {
3735
3780
  slideSizes: K,
3736
3781
  slideSizesWithGaps: J,
3737
3782
  startGap: Y,
3738
3783
  endGap: te
3739
- } = zr($, P, L, t, U, r), X = Br($, N, S, f, P, L, Y, te, M), {
3740
- snaps: oe,
3741
- snapsAligned: re
3742
- } = Lr($, E, P, L, X), ie = -ee(oe) + ee(J), {
3784
+ } = Br($, P, L, t, U, r), X = kr($, N, S, f, P, L, Y, te, M), {
3785
+ snaps: re,
3786
+ snapsAligned: ie
3787
+ } = Or($, E, P, L, X), se = -ee(re) + ee(J), {
3743
3788
  snapsContained: Re,
3744
3789
  scrollContainLimit: xe
3745
- } = Pr(N, ie, re, C, M), k = j ? Re : re, {
3790
+ } = $r(N, se, ie, C, M), k = j ? Re : ie, {
3746
3791
  limit: G
3747
- } = $r(ie, k, f), se = yn(De(k), d, f), W = se.clone(), O = Pe(t), R = ({
3792
+ } = Er(se, k, f), le = yn(De(k), d, f), W = le.clone(), O = Pe(t), R = ({
3748
3793
  dragHandler: Ce,
3749
- scrollBody: Je,
3750
- scrollBounds: Ye,
3794
+ scrollBody: Ye,
3795
+ scrollBounds: Ze,
3751
3796
  options: {
3752
3797
  loop: Le
3753
3798
  }
3754
3799
  }) => {
3755
- Le || Ye.constrain(Ce.pointerDown()), Je.seek();
3800
+ Le || Ze.constrain(Ce.pointerDown()), Ye.seek();
3756
3801
  }, D = ({
3757
3802
  scrollBody: Ce,
3758
- translate: Je,
3759
- location: Ye,
3803
+ translate: Ye,
3804
+ location: Ze,
3760
3805
  offsetLocation: Le,
3761
3806
  previousLocation: Mn,
3762
3807
  scrollLooper: Vn,
3763
3808
  slideLooper: bn,
3764
3809
  dragHandler: Pn,
3765
3810
  animation: $n,
3766
- eventHandler: Pt,
3811
+ eventHandler: $t,
3767
3812
  scrollBounds: En,
3768
3813
  options: {
3769
- loop: $t
3814
+ loop: Et
3770
3815
  }
3771
- }, Et) => {
3772
- const Dt = Ce.settled(), Dn = !En.shouldConstrain(), Lt = $t ? Dt : Dt && Dn, Ot = Lt && !Pn.pointerDown();
3773
- Ot && $n.stop();
3774
- const Ln = Ye.get() * Et + Mn.get() * (1 - Et);
3775
- Le.set(Ln), $t && (Vn.loop(Ce.direction()), bn.loop()), Je.to(Le.get()), Ot && Pt.emit("settle"), Lt || Pt.emit("scroll");
3776
- }, T = Rr(n, r, () => R(Qe), (Ce) => D(Qe, Ce)), z = 0.68, ne = k[se.get()], le = _e(ne), pe = _e(ne), ce = _e(ne), me = _e(ne), ye = Vr(le, ce, pe, me, g, z), Xe = Ar(f, k, ie, G, me), We = Nr(T, se, W, ye, Xe, me, s), Mt = Dr(G), Vt = Ee(), _n = Gr(o, t, s, m), {
3777
- slideRegistry: bt
3778
- } = Or(j, C, k, xe, X, O), In = Tr(e, t, bt, We, ye, Vt, s, V), Qe = {
3816
+ }, Dt) => {
3817
+ const Lt = Ce.settled(), Dn = !En.shouldConstrain(), Ot = Et ? Lt : Lt && Dn, At = Ot && !Pn.pointerDown();
3818
+ At && $n.stop();
3819
+ const Ln = Ze.get() * Dt + Mn.get() * (1 - Dt);
3820
+ Le.set(Ln), Et && (Vn.loop(Ce.direction()), bn.loop()), Ye.to(Le.get()), At && $t.emit("settle"), Ot || $t.emit("scroll");
3821
+ }, T = xr(n, r, () => R(Je), (Ce) => D(Je, Ce)), z = 0.68, ne = k[le.get()], ue = _e(ne), me = _e(ne), de = _e(ne), he = _e(ne), ye = br(ue, de, me, he, g, z), We = Nr(f, k, se, G, he), Qe = Tr(T, le, W, ye, We, he, s), Vt = Lr(G), bt = Ee(), _n = zr(o, t, s, m), {
3822
+ slideRegistry: Pt
3823
+ } = Ar(j, C, k, xe, X, O), In = jr(e, t, Pt, Qe, ye, bt, s, V), Je = {
3779
3824
  ownerDocument: n,
3780
3825
  ownerWindow: r,
3781
3826
  eventHandler: s,
@@ -3783,38 +3828,38 @@ function kr(e, o, t, n, r, i, s) {
3783
3828
  slideRects: L,
3784
3829
  animation: T,
3785
3830
  axis: $,
3786
- dragHandler: yr($, e, n, r, me, Fr($, r), le, T, We, ye, Xe, se, s, B, c, p, h, z, I),
3787
- eventStore: Vt,
3831
+ dragHandler: Fr($, e, n, r, he, _r($, r), ue, T, Qe, ye, We, le, s, B, c, p, h, z, I),
3832
+ eventStore: bt,
3788
3833
  percentOfView: B,
3789
- index: se,
3834
+ index: le,
3790
3835
  indexPrevious: W,
3791
3836
  limit: G,
3792
- location: le,
3793
- offsetLocation: ce,
3794
- previousLocation: pe,
3837
+ location: ue,
3838
+ offsetLocation: de,
3839
+ previousLocation: me,
3795
3840
  options: i,
3796
- resizeHandler: Mr(o, s, r, t, $, v, b),
3841
+ resizeHandler: Vr(o, s, r, t, $, v, b),
3797
3842
  scrollBody: ye,
3798
- scrollBounds: br(G, ce, me, ye, B),
3799
- scrollLooper: Er(ie, G, ce, [le, ce, pe, me]),
3800
- scrollProgress: Mt,
3801
- scrollSnapList: k.map(Mt.get),
3843
+ scrollBounds: Pr(G, de, he, ye, B),
3844
+ scrollLooper: Dr(se, G, de, [ue, de, me, he]),
3845
+ scrollProgress: Vt,
3846
+ scrollSnapList: k.map(Vt.get),
3802
3847
  scrollSnaps: k,
3803
- scrollTarget: Xe,
3804
- scrollTo: We,
3805
- slideLooper: jr($, N, ie, K, J, oe, k, ce, t),
3848
+ scrollTarget: We,
3849
+ scrollTo: Qe,
3850
+ slideLooper: Hr($, N, se, K, J, re, k, de, t),
3806
3851
  slideFocus: In,
3807
- slidesHandler: Hr(o, s, _),
3852
+ slidesHandler: Gr(o, s, _),
3808
3853
  slidesInView: _n,
3809
3854
  slideIndexes: O,
3810
- slideRegistry: bt,
3855
+ slideRegistry: Pt,
3811
3856
  slidesToScroll: X,
3812
- target: me,
3857
+ target: he,
3813
3858
  translate: Fn($, o)
3814
3859
  };
3815
- return Qe;
3860
+ return Je;
3816
3861
  }
3817
- function qr() {
3862
+ function Ur() {
3818
3863
  let e = {}, o;
3819
3864
  function t(a) {
3820
3865
  o = a;
@@ -3843,7 +3888,7 @@ function qr() {
3843
3888
  };
3844
3889
  return l;
3845
3890
  }
3846
- const Ur = {
3891
+ const Kr = {
3847
3892
  align: "center",
3848
3893
  axis: "x",
3849
3894
  container: null,
@@ -3865,7 +3910,7 @@ const Ur = {
3865
3910
  watchSlides: !0,
3866
3911
  watchFocus: !0
3867
3912
  };
3868
- function Kr(e) {
3913
+ function Xr(e) {
3869
3914
  function o(i, s) {
3870
3915
  return xn(i, s || {});
3871
3916
  }
@@ -3882,7 +3927,7 @@ function Kr(e) {
3882
3927
  optionsMediaQueries: n
3883
3928
  };
3884
3929
  }
3885
- function Xr(e) {
3930
+ function Wr(e) {
3886
3931
  let o = [];
3887
3932
  function t(i, s) {
3888
3933
  return o = s.filter(({
@@ -3899,8 +3944,8 @@ function Xr(e) {
3899
3944
  destroy: n
3900
3945
  };
3901
3946
  }
3902
- function Ge(e, o, t) {
3903
- const n = e.ownerDocument, r = n.defaultView, i = Kr(r), s = Xr(i), u = Ee(), l = qr(), {
3947
+ function ze(e, o, t) {
3948
+ const n = e.ownerDocument, r = n.defaultView, i = Xr(r), s = Wr(i), u = Ee(), l = Ur(), {
3904
3949
  mergeOptions: a,
3905
3950
  optionsAtMedia: d,
3906
3951
  optionsMediaQueries: f
@@ -3909,18 +3954,18 @@ function Ge(e, o, t) {
3909
3954
  off: c,
3910
3955
  emit: p
3911
3956
  } = l, m = $;
3912
- let S = !1, h, C = a(Ur, Ge.globalOptions), v = a(C), _ = [], I, V, M;
3957
+ let S = !1, h, C = a(Kr, ze.globalOptions), v = a(C), _ = [], I, V, M;
3913
3958
  function b() {
3914
3959
  const {
3915
3960
  container: O,
3916
3961
  slides: R
3917
3962
  } = v;
3918
- V = (ft(O) ? e.querySelector(O) : O) || e.children[0];
3919
- const T = ft(R) ? V.querySelectorAll(R) : R;
3963
+ V = (pt(O) ? e.querySelector(O) : O) || e.children[0];
3964
+ const T = pt(R) ? V.querySelectorAll(R) : R;
3920
3965
  M = [].slice.call(T || V.children);
3921
3966
  }
3922
3967
  function P(O) {
3923
- const R = kr(e, V, M, n, r, O, l);
3968
+ const R = qr(e, V, M, n, r, O, l);
3924
3969
  if (O.loop && !R.slideLooper.canLoop()) {
3925
3970
  const D = Object.assign({}, O, {
3926
3971
  loop: !1
@@ -3972,13 +4017,13 @@ function Ge(e, o, t) {
3972
4017
  function X() {
3973
4018
  return h.index.get();
3974
4019
  }
3975
- function oe() {
4020
+ function re() {
3976
4021
  return h.indexPrevious.get();
3977
4022
  }
3978
- function re() {
4023
+ function ie() {
3979
4024
  return h.slidesInView.get();
3980
4025
  }
3981
- function ie() {
4026
+ function se() {
3982
4027
  return h.slidesInView.get(!1);
3983
4028
  }
3984
4029
  function Re() {
@@ -3993,7 +4038,7 @@ function Ge(e, o, t) {
3993
4038
  function G() {
3994
4039
  return V;
3995
4040
  }
3996
- function se() {
4041
+ function le() {
3997
4042
  return M;
3998
4043
  }
3999
4044
  const W = {
@@ -4006,7 +4051,7 @@ function Ge(e, o, t) {
4006
4051
  on: g,
4007
4052
  emit: p,
4008
4053
  plugins: Re,
4009
- previousScrollSnap: oe,
4054
+ previousScrollSnap: re,
4010
4055
  reInit: m,
4011
4056
  rootNode: k,
4012
4057
  scrollNext: j,
@@ -4015,40 +4060,40 @@ function Ge(e, o, t) {
4015
4060
  scrollSnapList: Y,
4016
4061
  scrollTo: E,
4017
4062
  selectedScrollSnap: X,
4018
- slideNodes: se,
4019
- slidesInView: re,
4020
- slidesNotInView: ie
4063
+ slideNodes: le,
4064
+ slidesInView: ie,
4065
+ slidesNotInView: se
4021
4066
  };
4022
4067
  return L(o, t), setTimeout(() => l.emit("init"), 0), W;
4023
4068
  }
4024
- Ge.globalOptions = void 0;
4025
- function It(e = {}, o = []) {
4026
- const t = At(e), n = At(o), [r, i] = Se(), [s, u] = Se(), l = he(() => {
4069
+ ze.globalOptions = void 0;
4070
+ function Mt(e = {}, o = []) {
4071
+ const t = je(e), n = je(o), [r, i] = oe(), [s, u] = oe(), l = Se(() => {
4027
4072
  r && r.reInit(t.current, n.current);
4028
4073
  }, [r]);
4029
4074
  return ve(() => {
4030
- xt(t.current, e) || (t.current = e, l());
4075
+ yt(t.current, e) || (t.current = e, l());
4031
4076
  }, [e, l]), ve(() => {
4032
- Sr(n.current, o) || (n.current = o, l());
4077
+ wr(n.current, o) || (n.current = o, l());
4033
4078
  }, [o, l]), ve(() => {
4034
- if (hr() && s) {
4035
- Ge.globalOptions = It.globalOptions;
4036
- const a = Ge(s, t.current, n.current);
4079
+ if (Sr() && s) {
4080
+ ze.globalOptions = Mt.globalOptions;
4081
+ const a = ze(s, t.current, n.current);
4037
4082
  return i(a), () => a.destroy();
4038
4083
  } else
4039
4084
  i(void 0);
4040
4085
  }, [s, i]), [u, r];
4041
4086
  }
4042
- It.globalOptions = void 0;
4043
- const Wr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4044
- const [t, n] = It(e, [Rt(o)]), r = he((i) => {
4087
+ Mt.globalOptions = void 0;
4088
+ const Qr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4089
+ const [t, n] = Mt(e, [xt(o)]), r = Se((i) => {
4045
4090
  var l;
4046
4091
  const s = (l = i == null ? void 0 : i.plugins()) == null ? void 0 : l.autoplay;
4047
4092
  if (!s) return;
4048
4093
  (s.options.stopOnInteraction === !1 ? s.reset : s.stop)();
4049
4094
  }, []);
4050
4095
  return { emblaRef: t, emblaApi: n, navigationHandler: r };
4051
- }, ze = ({ mode: e, onClick: o, children: t, classes: n, ...r }) => /* @__PURE__ */ w.jsxs(
4096
+ }, Be = ({ mode: e, onClick: o, children: t, classes: n, ...r }) => /* @__PURE__ */ w.jsxs(
4052
4097
  "button",
4053
4098
  {
4054
4099
  className: F("group flex size-8 cursor-pointer items-center justify-center p-1", n == null ? void 0 : n.button),
@@ -4070,7 +4115,7 @@ const Wr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4070
4115
  t
4071
4116
  ]
4072
4117
  }
4073
- ), Qr = ({ scrollSnaps: e, visibleIndex: o, onClickDot: t, position: n, classes: r, ...i }) => /* @__PURE__ */ w.jsx(
4118
+ ), Jr = ({ scrollSnaps: e, visibleIndex: o, onClickDot: t, position: n, classes: r, ...i }) => /* @__PURE__ */ w.jsx(
4074
4119
  "div",
4075
4120
  {
4076
4121
  className: F(
@@ -4099,13 +4144,13 @@ const Wr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4099
4144
  }
4100
4145
  ), qt = Q(
4101
4146
  ({ visibleIndex: e, classes: o, children: t, dotsProps: n, dotsOptions: r }, i) => {
4102
- const { isMobile: s, isDesktop: u } = ke(), { mobVisible: l, deskVisible: a, ...d } = r ?? {}, f = l && s, g = a && u, c = {
4147
+ const { isMobile: s, isDesktop: u } = qe(), { mobVisible: l, deskVisible: a, ...d } = r ?? {}, f = l && s, g = a && u, c = {
4103
4148
  visibleIndex: e,
4104
4149
  ...n
4105
4150
  };
4106
4151
  return /* @__PURE__ */ w.jsxs("div", { className: F("mx-auto overflow-hidden", o == null ? void 0 : o.slidesOverlay), ref: i, children: [
4107
4152
  /* @__PURE__ */ w.jsx("div", { className: F("flex touch-pan-y gap-6", o == null ? void 0 : o.slidesWrapper), children: t }),
4108
- (g || f) && /* @__PURE__ */ w.jsx(Qr, { ...c, ...d })
4153
+ (g || f) && /* @__PURE__ */ w.jsx(Jr, { ...c, ...d })
4109
4154
  ] });
4110
4155
  }
4111
4156
  ), Ut = {
@@ -4121,9 +4166,9 @@ const Wr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4121
4166
  position: "top-right",
4122
4167
  deskVisible: !0,
4123
4168
  mobVisible: !1
4124
- }, Jr = {
4169
+ }, Yr = {
4125
4170
  active: !0
4126
- }, Yr = ({
4171
+ }, Zr = ({
4127
4172
  children: e,
4128
4173
  prevBtnDisabled: o,
4129
4174
  nextBtnDisabled: t,
@@ -4133,7 +4178,7 @@ const Wr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4133
4178
  var i, s, u, l;
4134
4179
  return /* @__PURE__ */ w.jsxs("div", { className: F("relative flex items-center gap-1", r == null ? void 0 : r.wrapper), children: [
4135
4180
  /* @__PURE__ */ w.jsx(
4136
- ze,
4181
+ Be,
4137
4182
  {
4138
4183
  mode: "prev",
4139
4184
  onClick: n,
@@ -4146,7 +4191,7 @@ const Wr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4146
4191
  ),
4147
4192
  e,
4148
4193
  /* @__PURE__ */ w.jsx(
4149
- ze,
4194
+ Be,
4150
4195
  {
4151
4196
  mode: "next",
4152
4197
  onClick: n,
@@ -4158,7 +4203,7 @@ const Wr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4158
4203
  }
4159
4204
  )
4160
4205
  ] });
4161
- }, Si = ({
4206
+ }, Ci = ({
4162
4207
  dotsOptions: e = Kt,
4163
4208
  navArrowOptions: o = Xt,
4164
4209
  carouselOptions: t = Ut,
@@ -4170,19 +4215,19 @@ const Wr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4170
4215
  classes: l,
4171
4216
  ...a
4172
4217
  }) => {
4173
- const d = { ...Ut, ...t }, f = { ...Jr, ...r }, g = { ...Xt, ...o }, c = { ...Kt, ...e }, { emblaApi: p, navigationHandler: m, emblaRef: S } = Wr({
4218
+ const d = { ...Ut, ...t }, f = { ...Yr, ...r }, g = { ...Xt, ...o }, c = { ...Kt, ...e }, { emblaApi: p, navigationHandler: m, emblaRef: S } = Qr({
4174
4219
  carouselOptions: d,
4175
4220
  autoPlayOptions: f
4176
- }), h = dr({ emblaApi: p, navigationHandler: m, setVisibleIndex: i }), { prevBtnDisabled: C, nextBtnDisabled: v, onClickNavigationButton: _ } = cr({
4221
+ }), h = gr({ emblaApi: p, navigationHandler: m, setVisibleIndex: i }), { prevBtnDisabled: C, nextBtnDisabled: v, onClickNavigationButton: _ } = dr({
4177
4222
  emblaApi: p,
4178
4223
  navigationHandler: m
4179
- }), { isMobile: I, isDesktop: V } = ke(), { deskVisible: M, mobVisible: b, position: P } = g ?? {}, N = M && V || b && I, B = !!n || N && P === "top-right";
4224
+ }), { isMobile: I, isDesktop: V } = qe(), { deskVisible: M, mobVisible: b, position: P } = g ?? {}, N = M && V || b && I, B = !!n || N && P === "top-right";
4180
4225
  return /* @__PURE__ */ w.jsxs("div", { className: F("flex flex-col", l == null ? void 0 : l.root), ...a, children: [
4181
4226
  B && /* @__PURE__ */ w.jsxs("div", { className: F("flex items-center justify-between gap-6", { "mb-6": B }, l == null ? void 0 : l.header), children: [
4182
4227
  !!n && /* @__PURE__ */ w.jsx(qn, { as: "h2", className: F(l == null ? void 0 : l.heading), children: "Другие предложения" }),
4183
4228
  N && P === "top-right" && /* @__PURE__ */ w.jsxs("div", { className: F("ml-auto flex items-center gap-2", l == null ? void 0 : l.arrowsNavWrapper), children: [
4184
4229
  /* @__PURE__ */ w.jsx(
4185
- ze,
4230
+ Be,
4186
4231
  {
4187
4232
  mode: "prev",
4188
4233
  onClick: _,
@@ -4191,7 +4236,7 @@ const Wr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4191
4236
  }
4192
4237
  ),
4193
4238
  /* @__PURE__ */ w.jsx(
4194
- ze,
4239
+ Be,
4195
4240
  {
4196
4241
  mode: "next",
4197
4242
  onClick: _,
@@ -4202,7 +4247,7 @@ const Wr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4202
4247
  ] })
4203
4248
  ] }),
4204
4249
  N && P === "center" ? /* @__PURE__ */ w.jsx(
4205
- Yr,
4250
+ Zr,
4206
4251
  {
4207
4252
  onClickNavigationButton: _,
4208
4253
  prevBtnDisabled: C,
@@ -4232,7 +4277,7 @@ const Wr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4232
4277
  }
4233
4278
  )
4234
4279
  ] });
4235
- }, wi = ({ maxToastViewLimit: e = 2, toastDuration: o = 5e3 }) => {
4280
+ }, vi = ({ maxToastViewLimit: e = 2, toastDuration: o = 5e3 }) => {
4236
4281
  const { toasts: t } = Un();
4237
4282
  return ve(() => {
4238
4283
  t.filter((n) => n.visible).filter((n, r) => r >= e).forEach((n) => Kn.dismiss(n.id));
@@ -4245,7 +4290,7 @@ const Wr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4245
4290
  }
4246
4291
  }
4247
4292
  );
4248
- }, Ci = ({ linksList: e }) => /* @__PURE__ */ w.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: e.map((o) => /* @__PURE__ */ w.jsx(w.Fragment, { children: "path" in o ? /* @__PURE__ */ w.jsxs(
4293
+ }, Ri = ({ linksList: e }) => /* @__PURE__ */ w.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: e.map((o) => /* @__PURE__ */ w.jsx(w.Fragment, { children: "path" in o ? /* @__PURE__ */ w.jsxs(
4249
4294
  "div",
4250
4295
  {
4251
4296
  className: F(
@@ -4275,24 +4320,24 @@ const Wr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4275
4320
  )
4276
4321
  ]
4277
4322
  }
4278
- ) : /* @__PURE__ */ w.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: o.label }) })) }), Zr = ({ children: e }) => /* @__PURE__ */ w.jsx(w.Fragment, { children: e }), mt = Q(({ children: e, ...o }, t) => {
4279
- if (je(e)) {
4280
- const n = ti(e);
4323
+ ) : /* @__PURE__ */ w.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: o.label }) })) }), ei = ({ children: e }) => /* @__PURE__ */ w.jsx(w.Fragment, { children: e }), ht = Q(({ children: e, ...o }, t) => {
4324
+ if (He(e)) {
4325
+ const n = ni(e);
4281
4326
  return Qt(e, {
4282
- ...ni(o, e.props),
4327
+ ...oi(o, e.props),
4283
4328
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
4284
4329
  // @ts-expect-error
4285
- ref: t ? Wn(t, n) : n
4330
+ ref: t ? Qn(t, n) : n
4286
4331
  });
4287
4332
  }
4288
4333
  return Ie.count(e) > 1 ? Ie.only(null) : null;
4289
4334
  });
4290
- mt.displayName = "SlotClone";
4291
- const ei = (e) => je(e) && e.type === Zr, ti = (e) => {
4335
+ ht.displayName = "SlotClone";
4336
+ const ti = (e) => He(e) && e.type === ei, ni = (e) => {
4292
4337
  var n, r;
4293
4338
  let o = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, t = o && "isReactWarning" in o && o.isReactWarning;
4294
4339
  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);
4295
- }, ni = (e, o) => {
4340
+ }, oi = (e, o) => {
4296
4341
  const t = { ...o };
4297
4342
  for (const n in o) {
4298
4343
  const r = e[n], i = o[n];
@@ -4301,64 +4346,65 @@ const ei = (e) => je(e) && e.type === Zr, ti = (e) => {
4301
4346
  }) : r ? t[n] = r : n === "style" ? t[n] = { ...r, ...i } : n === "className" && (t[n] = [r, i].filter(Boolean).join(" "));
4302
4347
  }
4303
4348
  return { ...e, ...t };
4304
- }, oi = Q(({ children: e, ...o }, t) => {
4305
- const n = Ie.toArray(e), r = n.find(ei);
4349
+ }, ri = Q(({ children: e, ...o }, t) => {
4350
+ const n = Ie.toArray(e), r = n.find(ti);
4306
4351
  if (r) {
4307
- const i = r.props.children, s = n.map((u) => u === r ? Ie.count(i) > 1 ? Ie.only(null) : je(i) ? i.props.children : null : u);
4308
- return /* @__PURE__ */ w.jsx(mt, { ...o, ref: t, children: je(i) ? Qt(i, void 0, s) : null });
4352
+ const i = r.props.children, s = n.map((u) => u === r ? Ie.count(i) > 1 ? Ie.only(null) : He(i) ? i.props.children : null : u);
4353
+ return /* @__PURE__ */ w.jsx(ht, { ...o, ref: t, children: He(i) ? Qt(i, void 0, s) : null });
4309
4354
  }
4310
- return /* @__PURE__ */ w.jsx(mt, { ...o, ref: t, children: e });
4355
+ return /* @__PURE__ */ w.jsx(ht, { ...o, ref: t, children: e });
4311
4356
  });
4312
- oi.displayName = "Slot";
4357
+ ri.displayName = "Slot";
4313
4358
  export {
4314
4359
  kn as Accordion,
4315
- xi as Badge,
4316
- Ci as Breadcrumbs,
4317
- de as Button,
4318
- ai as ButtonIcon,
4319
- yi as Calendar,
4320
- Si as CarouselBase,
4321
- Fi as Controlled,
4322
- _i as CustomLink,
4323
- Gi as DATE_VISIBLE_PATTERN,
4324
- mi as DataTable,
4325
- io as DataTableColumnHeader,
4326
- di as FloatButton,
4360
+ Fi as Badge,
4361
+ Ri as Breadcrumbs,
4362
+ ge as Button,
4363
+ ci as ButtonIcon,
4364
+ _i as Calendar,
4365
+ Ci as CarouselBase,
4366
+ Ii as Controlled,
4367
+ Mi as CustomLink,
4368
+ Bi as DATE_VISIBLE_PATTERN,
4369
+ Si as DataTable,
4370
+ so as DataTableColumnHeader,
4371
+ hi as EditableCell,
4372
+ gi as FloatButton,
4327
4373
  qn as Heading,
4328
- Ii as Hint,
4374
+ Vi as Hint,
4329
4375
  be as Icon,
4330
- Mi as KeyboardShortcuts,
4331
- Vi as Loader,
4332
- bi as Modal,
4333
- Pi as Notification,
4334
- wi as NotificationProvider,
4335
- sr as Pagination,
4336
- $i as PhoneView,
4337
- Ei as Popover,
4338
- Di as ProgressBar,
4376
+ bi as KeyboardShortcuts,
4377
+ Pi as Loader,
4378
+ $i as Modal,
4379
+ Ei as Notification,
4380
+ vi as NotificationProvider,
4381
+ lr as Pagination,
4382
+ Di as PhoneView,
4383
+ Li as Popover,
4384
+ Oi as ProgressBar,
4339
4385
  An as ResponsiveContainer,
4340
- ci as Skeleton,
4341
- oi as Slot,
4386
+ di as Skeleton,
4387
+ ri as Slot,
4342
4388
  un as Table,
4343
4389
  cn as TableBody,
4344
- ro as TableCaption,
4345
- lt as TableCell,
4346
- oo as TableFooter,
4390
+ io as TableCaption,
4391
+ ut as TableCell,
4392
+ ro as TableFooter,
4347
4393
  dn as TableHead,
4348
4394
  an as TableHeader,
4349
4395
  Te as TableRow,
4350
- hi as TableUtils,
4351
- pi as TabsSwitcher,
4352
- Li as Uncontrolled,
4353
- gi as allowedIcons,
4354
- Oi as brandLogos,
4355
- Ai as buttonPrimitiveIntent,
4356
- Ni as buttonPrimitiveSize,
4357
- Ti as buttonPrimitiveTextFormat,
4358
- zi as defaultClassNames,
4359
- Bi as formatDateToLocaleString,
4360
- ki as formatDateToMonthString,
4361
- qi as formatDateToYearString,
4362
- ji as isSingleOption
4396
+ wi as TableUtils,
4397
+ mi as TabsSwitcher,
4398
+ Ai as Uncontrolled,
4399
+ fi as allowedIcons,
4400
+ Ni as brandLogos,
4401
+ Ti as buttonPrimitiveIntent,
4402
+ ji as buttonPrimitiveSize,
4403
+ Hi as buttonPrimitiveTextFormat,
4404
+ ki as defaultClassNames,
4405
+ qi as formatDateToLocaleString,
4406
+ Ui as formatDateToMonthString,
4407
+ Ki as formatDateToYearString,
4408
+ Gi as isSingleOption
4363
4409
  };
4364
4410
  //# sourceMappingURL=ui.js.map