@dgshahr/ui-kit 0.0.95 → 0.0.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/Table/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGzD,OAAO,kBAAkB,CAAC;AAE1B,iBAAS,KAAK,CAAC,CAAC,SAAS,aAAa,EAAE,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,2CAiCrE;AAED,eAAe,KAAK,CAAC;AACrB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/Table/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGzD,OAAO,kBAAkB,CAAC;AAE1B,iBAAS,KAAK,CAAC,CAAC,SAAS,aAAa,EAAE,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,2CAmDrE;AAED,eAAe,KAAK,CAAC;AACrB,cAAc,SAAS,CAAC"}
@@ -1,53 +1,53 @@
1
1
  "use client";
2
2
  import { jsx as e, jsxs as o } from "react/jsx-runtime";
3
3
  import { c as u } from "../clsx-OuTLNxxd.js";
4
- import { useState as I, useEffect as A, createContext as K, useContext as j, useRef as H } from "react";
5
- import z from "../Badge/index.mjs";
6
- import D from "../Form/Checkbox/index.mjs";
7
- import B from "../Tooltip/index.mjs";
8
- import { I as P } from "../IconArrowDown2-7ddwV5IE.js";
9
- import { I as q } from "../IconInfoCircleOutline-aO1F3qnG.js";
4
+ import I, { useState as K, useEffect as A, createContext as j, useContext as H, useRef as z } from "react";
5
+ import D from "../Badge/index.mjs";
6
+ import P from "../Form/Checkbox/index.mjs";
7
+ import E from "../Tooltip/index.mjs";
8
+ import { I as q } from "../IconArrowDown2-7ddwV5IE.js";
9
+ import { I as M } from "../IconInfoCircleOutline-aO1F3qnG.js";
10
10
  import b from "../Divider/index.mjs";
11
- import M from "../Pagination/index.mjs";
11
+ import $ from "../Pagination/index.mjs";
12
12
  import '../assets/styles.css';/* empty css */
13
- const E = K({
13
+ const R = j({
14
14
  observer: null,
15
15
  columns: [],
16
16
  data: [],
17
17
  rowKey: ""
18
- }), R = "after:!dgs-ui-kit-shadow-[rgba(0,0,0,0.06)]";
18
+ }), B = "after:!dgs-ui-kit-shadow-[rgba(0,0,0,0.06)]";
19
19
  function v(t) {
20
- t.classList.add(R);
21
- }
22
- function $(t) {
23
- t.classList.remove(R);
20
+ t.classList.add(B);
24
21
  }
25
22
  function F(t) {
26
- const { children: i, ...n } = t, { columns: l, rowSelection: s } = n, [a, c] = I(null);
23
+ t.classList.remove(B);
24
+ }
25
+ function U(t) {
26
+ const { children: i, ...n } = t, { columns: l, rowSelection: s } = n, [a, c] = K(null);
27
27
  return A(() => {
28
- let r = l.some((k) => !!k.sticky);
28
+ let r = l.some((g) => !!g.sticky);
29
29
  return r || (r = !!s?.sticky), r && c(
30
30
  new IntersectionObserver(
31
- (k) => {
31
+ (g) => {
32
32
  let d = !1;
33
- for (const g of k)
34
- if (g.boundingClientRect.right > g.intersectionRect.right) {
33
+ for (const f of g)
34
+ if (f.boundingClientRect.right > f.intersectionRect.right) {
35
35
  document.querySelectorAll("#sticky-cell-right").forEach(v), d = !0;
36
36
  break;
37
- } else if (g.boundingClientRect.left < g.intersectionRect.left) {
37
+ } else if (f.boundingClientRect.left < f.intersectionRect.left) {
38
38
  document.querySelectorAll("#sticky-cell-left").forEach(v), d = !0;
39
39
  break;
40
40
  }
41
- d || document.querySelectorAll('[id^="sticky-cell-"]').forEach($);
41
+ d || document.querySelectorAll('[id^="sticky-cell-"]').forEach(F);
42
42
  },
43
43
  { threshold: 1, rootMargin: "0% 100% 0% 100%" }
44
44
  )
45
45
  ), () => {
46
46
  a && a.disconnect();
47
47
  };
48
- }, []), /* @__PURE__ */ e(E.Provider, { value: { observer: a, ...n }, children: i });
48
+ }, []), /* @__PURE__ */ e(R.Provider, { value: { observer: a, ...n }, children: i });
49
49
  }
50
- const m = () => j(E), U = (t) => {
50
+ const m = () => H(R), W = (t) => {
51
51
  const { title: i, extraElement: n, showTotal: l, total: s, className: a } = t;
52
52
  return /* @__PURE__ */ o(
53
53
  "div",
@@ -61,7 +61,7 @@ const m = () => j(E), U = (t) => {
61
61
  l && /* @__PURE__ */ o("div", { className: "dgs-ui-kit-flex dgs-ui-kit-items-center dgs-ui-kit-shrink-0", children: [
62
62
  /* @__PURE__ */ e("span", { className: "dgs-ui-kit-font-p2-regular dgs-ui-kit-text-gray-700 dgs-ui-kit-ml-1", children: "تعداد نتایج:" }),
63
63
  /* @__PURE__ */ e(
64
- z,
64
+ D,
65
65
  {
66
66
  value: s ?? 0,
67
67
  valueType: "number",
@@ -102,11 +102,11 @@ function L(t, i) {
102
102
  "dgs-ui-kit-w-full dgs-ui-kit-flex dgs-ui-kit-items-centerd",
103
103
  y(t ?? "center")
104
104
  ),
105
- children: /* @__PURE__ */ e(D, { ...i })
105
+ children: /* @__PURE__ */ e(P, { ...i })
106
106
  }
107
107
  );
108
108
  }
109
- function W(t, i) {
109
+ function Y(t, i) {
110
110
  if (t)
111
111
  return u(
112
112
  "dgs-ui-kit-sticky dgs-ui-kit-z-10",
@@ -120,17 +120,17 @@ function W(t, i) {
120
120
  );
121
121
  }
122
122
  const h = (t) => {
123
- const { children: i, className: n, type: l, sticky: s, addBorderToSticky: a, stuckToTop: c } = t, r = H(null), k = l, { observer: d } = m();
123
+ const { children: i, className: n, type: l, sticky: s, addBorderToSticky: a, stuckToTop: c } = t, r = z(null), g = l, { observer: d } = m();
124
124
  return A(() => {
125
125
  if (!(!r.current || !d))
126
126
  return s && d.observe(r.current), () => {
127
127
  !r.current || !d || s && d.unobserve(r.current);
128
128
  };
129
129
  }, [r, d]), /* @__PURE__ */ e(
130
- k,
130
+ g,
131
131
  {
132
132
  ref: r,
133
- className: u(n, W(s, a), {
133
+ className: u(n, Y(s, a), {
134
134
  'dgs-ui-kit-border-b-0 before:dgs-ui-kit-content[""] before:dgs-ui-kit-absolute before:dgs-ui-kit-bottom-0 before:dgs-ui-kit-left-0 before:dgs-ui-kit-w-full before:dgs-ui-kit-border-b before:dgs-ui-kit-border-solid before:dgs-ui-kit-border-gray-200': c,
135
135
  "dgs-ui-kit-top-0 dgs-ui-kit-z-20": c && s,
136
136
  "dgs-ui-kit-sticky dgs-ui-kit-top-0 dgs-ui-kit-z-10": c && !s
@@ -139,10 +139,10 @@ const h = (t) => {
139
139
  children: i
140
140
  }
141
141
  );
142
- }, Y = () => {
142
+ }, Z = () => {
143
143
  const { columns: t, emptyContent: i } = m();
144
144
  return /* @__PURE__ */ e("tbody", { children: /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: t.length, children: i }) }) });
145
- }, Z = (t) => {
145
+ }, G = (t) => {
146
146
  const { className: i, ...n } = t;
147
147
  return /* @__PURE__ */ o(
148
148
  "svg",
@@ -441,7 +441,7 @@ const h = (t) => {
441
441
  ]
442
442
  }
443
443
  );
444
- }, G = () => {
444
+ }, J = () => {
445
445
  const { columns: t, loading: i } = m();
446
446
  return /* @__PURE__ */ e("tbody", { children: /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e(
447
447
  "td",
@@ -449,7 +449,7 @@ const h = (t) => {
449
449
  className: "dgs-ui-kit-p-10",
450
450
  colSpan: t.length,
451
451
  children: /* @__PURE__ */ e(
452
- Z,
452
+ G,
453
453
  {
454
454
  width: typeof i != "boolean" ? i.size : 100,
455
455
  height: typeof i != "boolean" ? i.size : 100
@@ -458,16 +458,16 @@ const h = (t) => {
458
458
  }
459
459
  ) }) });
460
460
  }, x = "dgs-ui-kit-p-4 dgs-ui-kit-pl-0 dgs-ui-kit-bg-white dgs-ui-kit-border-b dgs-ui-kit-border-solid dgs-ui-kit-border-gray-200";
461
- function J(t, i) {
461
+ function Q(t, i) {
462
462
  return t ? Array.isArray(t) ? t.reduce((n, l) => n?.[l] ?? null, i) : i[t] : null;
463
463
  }
464
- function Q(t, i, n) {
464
+ function X(t, i, n) {
465
465
  if (typeof t.render == "function") return t.render(i, n);
466
- const l = J(t.dataIndex, i);
466
+ const l = Q(t.dataIndex, i);
467
467
  if (t.ellipsis) {
468
468
  const s = /* @__PURE__ */ e("div", { className: "!dgs-ui-kit-truncate", children: l });
469
469
  return typeof t.ellipsis != "boolean" && t.ellipsis.hideTooltip ? s : /* @__PURE__ */ e(
470
- B,
470
+ E,
471
471
  {
472
472
  wrapperClassName: "dgs-ui-kit-w-full",
473
473
  content: l,
@@ -477,9 +477,9 @@ function Q(t, i, n) {
477
477
  }
478
478
  return l;
479
479
  }
480
- const X = (t) => {
481
- const { havePagination: i } = t, { columns: n, data: l, rowKey: s, rowSelection: a, stickyTableHeader: c, loading: r, emptyContent: k } = m();
482
- return r ? /* @__PURE__ */ e(G, {}) : l.length < 1 && k ? /* @__PURE__ */ e(Y, {}) : /* @__PURE__ */ e("tbody", { children: l.map((d, g) => /* @__PURE__ */ o("tr", { children: [
480
+ const V = (t) => {
481
+ const { havePagination: i } = t, { columns: n, data: l, rowKey: s, rowSelection: a, stickyTableHeader: c, loading: r, emptyContent: g } = m();
482
+ return r ? /* @__PURE__ */ e(J, {}) : l.length < 1 && g ? /* @__PURE__ */ e(Z, {}) : /* @__PURE__ */ e("tbody", { children: l.map((d, f) => /* @__PURE__ */ o("tr", { children: [
483
483
  _(a) && /* @__PURE__ */ e(
484
484
  h,
485
485
  {
@@ -488,46 +488,46 @@ const X = (t) => {
488
488
  x,
489
489
  a?.className,
490
490
  {
491
- "dgs-ui-kit-border-b-0 dgs-ui-kit-rounded-br-2xl": !i && g === l.length - 1
491
+ "dgs-ui-kit-border-b-0 dgs-ui-kit-rounded-br-2xl": !i && f === l.length - 1
492
492
  },
493
493
  a?.className
494
494
  ),
495
495
  sticky: a?.sticky,
496
- addBorderToSticky: c ? g !== 0 : !0,
496
+ addBorderToSticky: c ? f !== 0 : !0,
497
497
  children: L(a?.align, {
498
- onChange: (f) => a?.onSelectRow(f, d[s]),
499
- checked: !!a?.selectedRowKeys.find((f) => f === d[s])
498
+ onChange: (k) => a?.onSelectRow(k, d[s]),
499
+ checked: !!a?.selectedRowKeys.find((k) => k === d[s])
500
500
  })
501
501
  }
502
502
  ),
503
- n.map((f) => /* @__PURE__ */ e(
503
+ n.map((k) => /* @__PURE__ */ e(
504
504
  h,
505
505
  {
506
506
  type: "td",
507
507
  className: u(
508
508
  x,
509
509
  {
510
- "dgs-ui-kit-border-b-0 first:dgs-ui-kit-rounded-br-2xl last:dgs-ui-kit-rounded-bl-2xl": !i && g === l.length - 1
510
+ "dgs-ui-kit-border-b-0 first:dgs-ui-kit-rounded-br-2xl last:dgs-ui-kit-rounded-bl-2xl": !i && f === l.length - 1
511
511
  },
512
- f.className
512
+ k.className
513
513
  ),
514
- sticky: f.sticky,
515
- addBorderToSticky: c ? g !== 0 : !0,
514
+ sticky: k.sticky,
515
+ addBorderToSticky: c ? f !== 0 : !0,
516
516
  children: /* @__PURE__ */ e(
517
517
  "div",
518
518
  {
519
519
  className: u(
520
520
  "dgs-ui-kit-flex dgs-ui-kit-items-center dgs-ui-kit-ml-2",
521
- y(f.align)
521
+ y(k.align)
522
522
  ),
523
- children: Q(f, d, g)
523
+ children: X(k, d, f)
524
524
  }
525
525
  )
526
526
  },
527
- `${d[s]}-${O(f.key, f.dataIndex)}`
527
+ `${d[s]}-${O(k.key, k.dataIndex)}`
528
528
  ))
529
529
  ] }, d[s])) });
530
- }, V = (t) => /* @__PURE__ */ e(
530
+ }, ee = (t) => /* @__PURE__ */ e(
531
531
  "svg",
532
532
  {
533
533
  xmlns: "http://www.w3.org/2000/svg",
@@ -545,16 +545,16 @@ const X = (t) => {
545
545
  )
546
546
  }
547
547
  );
548
- function ee(t, i) {
548
+ function te(t, i) {
549
549
  if (t.length !== i.length) return !1;
550
550
  t.sort(), i.sort();
551
551
  for (let n = 0; n < t.length; n++) if (t[n] !== i[n]) return !1;
552
552
  return !0;
553
553
  }
554
554
  const p = 16, C = "dgs-ui-kit-p-4 dgs-ui-kit-pl-0 dgs-ui-kit-text-gray-500 dgs-ui-kit-bg-gray-50 dgs-ui-kit-border-b dgs-ui-kit-border-solid dgs-ui-kit-border-gray-200", N = "!dgs-ui-kit-h-8 dgs-ui-kit-shrink-0";
555
- function T(t, i) {
555
+ function w(t, i) {
556
556
  return /* @__PURE__ */ e("button", { onClick: () => i.onSort(t), children: /* @__PURE__ */ e(
557
- t === "ascend" ? V : P,
557
+ t === "ascend" ? ee : q,
558
558
  {
559
559
  width: p,
560
560
  height: p,
@@ -562,11 +562,11 @@ function T(t, i) {
562
562
  }
563
563
  ) });
564
564
  }
565
- function w(t, i) {
565
+ function T(t, i) {
566
566
  return /* @__PURE__ */ o("div", { className: "dgs-ui-kit-font-p1-medium dgs-ui-kit-flex dgs-ui-kit-items-center dgs-ui-kit-space-x-1 dgs-ui-kit-space-x-reverse", children: [
567
567
  /* @__PURE__ */ e("span", { children: t }),
568
568
  i && (i.anchorIcon ?? /* @__PURE__ */ e(
569
- q,
569
+ M,
570
570
  {
571
571
  width: p,
572
572
  height: p
@@ -577,7 +577,7 @@ function w(t, i) {
577
577
  function S(t, i) {
578
578
  return t.map((n) => n[i]);
579
579
  }
580
- const te = (t) => {
580
+ const ie = (t) => {
581
581
  const { haveHeader: i } = t, { columns: n, rowKey: l, rowSelection: s, data: a, stickyTableHeader: c } = m();
582
582
  return /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ o("tr", { children: [
583
583
  _(s) && /* @__PURE__ */ e(
@@ -594,7 +594,7 @@ const te = (t) => {
594
594
  children: /* @__PURE__ */ o("div", { className: "dgs-ui-kit-flex dgs-ui-kit-items-center dgs-ui-kit-justify-between", children: [
595
595
  L(s?.align, {
596
596
  checked: s.selectedRowKeys.length > 0,
597
- isIndeterminate: !ee(
597
+ isIndeterminate: !te(
598
598
  S(a, l),
599
599
  s.selectedRowKeys
600
600
  ),
@@ -610,7 +610,7 @@ const te = (t) => {
610
610
  ] })
611
611
  }
612
612
  ),
613
- n.map((r, k) => /* @__PURE__ */ e(
613
+ n.map((r, g) => /* @__PURE__ */ e(
614
614
  h,
615
615
  {
616
616
  type: "th",
@@ -632,15 +632,15 @@ const te = (t) => {
632
632
  y(r.align)
633
633
  ),
634
634
  children: [
635
- r.tooltip?.content ? /* @__PURE__ */ e(B, { ...r.tooltip, children: w(r.title, r.tooltip) }) : w(r.title),
635
+ r.tooltip?.content ? /* @__PURE__ */ e(E, { ...r.tooltip, children: T(r.title, r.tooltip) }) : T(r.title),
636
636
  typeof r.sort?.onSort == "function" && /* @__PURE__ */ o("div", { className: "dgs-ui-kit-flex dgs-ui-kit-flex-col", children: [
637
- T("ascend", r.sort),
638
- T("descend", r.sort)
637
+ w("ascend", r.sort),
638
+ w("descend", r.sort)
639
639
  ] })
640
640
  ]
641
641
  }
642
642
  ),
643
- k !== n.length - 1 && /* @__PURE__ */ e(
643
+ g !== n.length - 1 && /* @__PURE__ */ e(
644
644
  b,
645
645
  {
646
646
  type: "vertical",
@@ -653,29 +653,50 @@ const te = (t) => {
653
653
  ))
654
654
  ] }) });
655
655
  };
656
- function fe(t) {
657
- const { header: i, wrapperClassName: n, className: l, data: s, pagination: a } = t, c = (i && Object.values(i).length > 0) ?? !1, r = !!(a?.totalCount && a?.pageSize);
656
+ function ke(t) {
657
+ const {
658
+ header: i,
659
+ wrapperClassName: n,
660
+ className: l,
661
+ data: s,
662
+ pagination: a,
663
+ layout: c = "auto",
664
+ containerClassName: r
665
+ } = t, g = (i && Object.values(i).length > 0) ?? !1, d = !!(a?.totalCount && a?.pageSize), f = c !== "fixed" ? "div" : I.Fragment;
658
666
  return /* @__PURE__ */ o(
659
667
  "div",
660
668
  {
661
669
  className: u(
662
- "dgs-ui-kit-relative dgs-ui-kit-bg-white dgs-ui-kit-border dgs-ui-kit-border-gray-200 dgs-ui-kit-border-solid dgs-ui-kit-rounded-2xl ",
670
+ "dgs-ui-kit-relative dgs-ui-kit-bg-white dgs-ui-kit-border dgs-ui-kit-border-gray-200 dgs-ui-kit-border-solid dgs-ui-kit-rounded-2xl",
663
671
  n
664
672
  ),
665
673
  children: [
666
- c && /* @__PURE__ */ e(
667
- U,
674
+ g && /* @__PURE__ */ e(
675
+ W,
668
676
  {
669
677
  ...i,
670
678
  total: a?.totalCount ?? s.length
671
679
  }
672
680
  ),
673
- /* @__PURE__ */ e("table", { className: l, children: /* @__PURE__ */ o(F, { ...t, children: [
674
- /* @__PURE__ */ e(te, { haveHeader: c }),
675
- /* @__PURE__ */ e(X, { havePagination: r })
676
- ] }) }),
677
- r && /* @__PURE__ */ e(
678
- M,
681
+ /* @__PURE__ */ e(
682
+ f,
683
+ {
684
+ ...c !== "fixed" ? { className: u("dgs-ui-kit-overflow-x-auto dgs-ui-kit-h-full", r) } : {},
685
+ children: /* @__PURE__ */ e(U, { ...t, children: /* @__PURE__ */ o(
686
+ "table",
687
+ {
688
+ className: l,
689
+ style: { tableLayout: c },
690
+ children: [
691
+ /* @__PURE__ */ e(ie, { haveHeader: g }),
692
+ /* @__PURE__ */ e(V, { havePagination: d })
693
+ ]
694
+ }
695
+ ) })
696
+ }
697
+ ),
698
+ d && /* @__PURE__ */ e(
699
+ $,
679
700
  {
680
701
  className: u("dgs-ui-kit-py-4 !dgs-ui-kit-px-0", a?.className),
681
702
  ...a
@@ -686,5 +707,5 @@ function fe(t) {
686
707
  );
687
708
  }
688
709
  export {
689
- fe as default
710
+ ke as default
690
711
  };
@@ -52,11 +52,13 @@ export interface TableProps<T extends UnknownRecord = UnknownRecord> {
52
52
  rowSelection?: RowSelectionProps<T>;
53
53
  pagination?: PaginationProps;
54
54
  wrapperClassName?: string;
55
+ containerClassName?: string;
55
56
  className?: string;
56
57
  loading?: boolean | {
57
58
  size: number;
58
59
  };
59
60
  emptyContent?: ReactNode;
61
+ layout?: 'fixed' | 'auto';
60
62
  }
61
63
  export {};
62
64
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/components/Table/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,KAAK,oBAAoB,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAC9C,KAAK,iBAAiB,CAAC,CAAC,IAAI,MAAM,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC;AACtD,KAAK,aAAa,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,oBAAoB,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAEhG,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEpD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AAC9C,UAAU,eAAe,CAAC,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC,GAAG;QACzC,UAAU,CAAC,EAAE,SAAS,CAAC;KACxB,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1B,QAAQ,CAAC,EACL,OAAO,GACP;QACE,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,CAAC;IACN,MAAM,CAAC,EAAE,CAAC,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