@abyss-project/commons-front-core 11.1.2 → 12.0.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.
Files changed (78) hide show
  1. package/README.md +2 -2
  2. package/catalog/pages/LineChart.tsx +19 -2
  3. package/catalog/pages/StatTile.tsx +16 -0
  4. package/dist/{AbyssCookieConsentProvider-PchfQjs2.js → AbyssCookieConsentProvider-DrciI_3p.js} +1400 -1798
  5. package/dist/{CookieConsentSettings.component-D8G0H6Wl.js → CookieConsentSettings.component-BZ2JenJh.js} +1 -1
  6. package/dist/{Tabs-CZQ1JYlW.js → Tabs-CwVEV4SO.js} +162 -142
  7. package/dist/auth/client/abyss-login.d.ts +2 -2
  8. package/dist/auth/components/AuthHeroLayout/AuthHeroLayout.component.d.ts +2 -2
  9. package/dist/components/data/LineChart/LineChart.d.ts +10 -2
  10. package/dist/components/data/StatTile/StatTile.d.ts +5 -3
  11. package/dist/components/inputs/DateField/DateField.d.ts +7 -1
  12. package/dist/cookie-consent.js +2 -2
  13. package/dist/{design-theme-DPp0aQVa.js → design-theme-DonQoVoX.js} +5251 -5230
  14. package/dist/{sortable.esm-BYVnqZQ-.js → editors-DkiY6BfJ.js} +31061 -26291
  15. package/dist/editors.js +4 -5272
  16. package/dist/hooks/use-rich-intl.hook.d.ts +36 -414
  17. package/dist/{index-z9-0V3EC.js → index-2l12Iu8k.js} +2 -2
  18. package/dist/{index-B2ZxOr31.js → index-B52OKB4p.js} +3 -3
  19. package/dist/{index-C7XhFFZA.js → index-BacMl_If.js} +2 -2
  20. package/dist/{index-CBIn4IuA.js → index-Bh7buNbj.js} +2 -2
  21. package/dist/{index-Bv63SeVQ.js → index-BoCgQirm.js} +2 -2
  22. package/dist/{index-DNhK2v38.js → index-CXGI5k75.js} +4 -4
  23. package/dist/{index-DzXd6CTA.js → index-Cg6Mv7QT.js} +2 -2
  24. package/dist/{index-DWi7OlB1.js → index-CgIjHnfl.js} +2 -2
  25. package/dist/{index-ZXDv7i0D.js → index-Cl1BSx17.js} +2 -2
  26. package/dist/{index-Bo9YtyKq.js → index-CtMx42h6.js} +2 -2
  27. package/dist/{index-yAKnJ5ME.js → index-CvRSR1eE.js} +2 -2
  28. package/dist/{index-RIO2UT1x.js → index-CwdirjZn.js} +2 -2
  29. package/dist/{index-C2CPAKkL.js → index-D1YeCKtd.js} +4 -4
  30. package/dist/{index-ByTOd2ak.js → index-DMiPquK5.js} +2 -2
  31. package/dist/{index-CS0JFqYy.js → index-DSjH42Mo.js} +3 -3
  32. package/dist/{index-CaWs53z9.js → index-DVsMyd7m.js} +2 -2
  33. package/dist/{index-CE5F7UaD.js → index-DW0z3W_H.js} +1 -1
  34. package/dist/{index-DVg7Zewe.js → index-DmCRAN1O.js} +2 -2
  35. package/dist/{index-CjAqdRJ0.js → index-KH3KmoUw.js} +4 -4
  36. package/dist/{index-CVp3TsdG.js → index-PHSTFO70.js} +3 -3
  37. package/dist/{index-DY51R82n.js → index-orVFXDIv.js} +3 -3
  38. package/dist/index.js +4322 -4303
  39. package/dist/isSymbol-CubIld3H.js +446 -0
  40. package/dist/legacy/components/Inputs/index.d.ts +0 -1
  41. package/dist/legacy/components/Spotlight/ProjectLinkSelector/index.d.ts +1 -1
  42. package/dist/legacy/components/Support/AbyssServiceSelect.component.d.ts +10 -8
  43. package/dist/legacy/components/Support/support-service.logic.d.ts +6 -0
  44. package/dist/legacy/components/Support/types.d.ts +7 -7
  45. package/dist/legacy/components/index.d.ts +0 -1
  46. package/dist/legacy.js +6158 -12073
  47. package/dist/translations/en.d.ts +7 -206
  48. package/dist/translations/fr.d.ts +7 -206
  49. package/dist/utils/project-link-wording.utils.d.ts +2 -2
  50. package/package.json +4 -4
  51. package/dist/legacy/components/Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.d.ts +0 -14
  52. package/dist/legacy/components/Inputs/AbyssMarkdownEditor/crepe-theme.d.ts +0 -7
  53. package/dist/legacy/components/Inputs/AbyssMarkdownEditor/index.d.ts +0 -1
  54. package/dist/legacy/components/PdfEditor/PdfEditor.d.ts +0 -3
  55. package/dist/legacy/components/PdfEditor/index.d.ts +0 -3
  56. package/dist/legacy/components/PdfEditor/signature/SignatureDrawCanvas.d.ts +0 -10
  57. package/dist/legacy/components/PdfEditor/signature/SignaturePicker.d.ts +0 -19
  58. package/dist/legacy/components/PdfEditor/signature/SignatureSaveButton.d.ts +0 -12
  59. package/dist/legacy/components/PdfEditor/signature/SignatureSavedList.d.ts +0 -13
  60. package/dist/legacy/components/PdfEditor/signature/SignatureUploadDropzone.d.ts +0 -10
  61. package/dist/legacy/components/PdfEditor/signature/resolve-asset.d.ts +0 -20
  62. package/dist/legacy/components/PdfEditor/tools/DrawTool.d.ts +0 -9
  63. package/dist/legacy/components/PdfEditor/tools/FillFieldsTool.d.ts +0 -9
  64. package/dist/legacy/components/PdfEditor/tools/RedactTool.d.ts +0 -8
  65. package/dist/legacy/components/PdfEditor/tools/ShapeTool.d.ts +0 -17
  66. package/dist/legacy/components/PdfEditor/tools/SignatureTool.d.ts +0 -15
  67. package/dist/legacy/components/PdfEditor/tools/TextTool.d.ts +0 -12
  68. package/dist/legacy/components/PdfEditor/tools/Toolbar.d.ts +0 -44
  69. package/dist/legacy/components/PdfEditor/tools/tool-options-ui.d.ts +0 -5
  70. package/dist/legacy/components/PdfEditor/viewer/InsertPagesButton.d.ts +0 -9
  71. package/dist/legacy/components/PdfEditor/viewer/InsertPagesDialog.d.ts +0 -10
  72. package/dist/legacy/components/PdfEditor/viewer/PageOverlay.d.ts +0 -38
  73. package/dist/legacy/components/PdfEditor/viewer/PageSidebar.d.ts +0 -15
  74. package/dist/legacy/components/PdfEditor/viewer/PageThumbnail.d.ts +0 -17
  75. package/dist/legacy/components/PdfEditor/viewer/PdfCanvas.d.ts +0 -26
  76. package/dist/legacy/components/PdfEditor/viewer/ViewerControls.d.ts +0 -21
  77. /package/dist/legacy/components/{Inputs/AbyssMarkdownEditor/AbyssMarkdownEditor.component.spec.d.ts → Support/support-service.logic.spec.d.ts} +0 -0
  78. /package/dist/legacy/{components/PdfEditor/signature/resolve-asset.spec.d.ts → legacy-editors-removed.spec.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { jsx as i, jsxs as v, Fragment as ne } from "react/jsx-runtime";
2
- import { useId as E, useRef as j, useState as I, cloneElement as Ct, useMemo as ye, useCallback as X, useEffect as G, forwardRef as St, createContext as Be, useContext as Ne, useLayoutEffect as _e } from "react";
2
+ import { useId as E, useRef as j, useState as I, cloneElement as Ct, useMemo as ye, useCallback as Q, useEffect as G, forwardRef as St, createContext as Be, useContext as Ne, useLayoutEffect as _e } from "react";
3
3
  import { alpha as It, styled as a, useTheme as Ve, getContrastRatio as $e } from "@mui/material/styles";
4
4
  import ce from "@mui/material/FormControl";
5
5
  import de from "@mui/material/FormHelperText";
@@ -33,8 +33,8 @@ import Ut from "@mui/icons-material/ErrorOutline";
33
33
  import qt from "@mui/icons-material/InfoOutlined";
34
34
  import Kt from "@mui/icons-material/WarningAmber";
35
35
  import Yt from "@mui/material/Checkbox";
36
- import Qt from "@mui/icons-material/DescriptionOutlined";
37
- import Xt from "@mui/icons-material/FolderOutlined";
36
+ import Xt from "@mui/icons-material/DescriptionOutlined";
37
+ import Qt from "@mui/icons-material/FolderOutlined";
38
38
  import Zt from "@mui/icons-material/ChevronRightRounded";
39
39
  import Jt from "@mui/material/Popover";
40
40
  import en from "@mui/material/Alert";
@@ -44,11 +44,11 @@ import Ee from "@mui/material/useMediaQuery";
44
44
  import on from "@mui/material/Modal";
45
45
  import rn from "@mui/material/Slide";
46
46
  import { Link as sn } from "react-router-dom";
47
- var F = /* @__PURE__ */ ((e) => (e.Mobile = "mobile", e.Tablet = "tablet", e.Desktop = "desktop", e))(F || {});
47
+ var $ = /* @__PURE__ */ ((e) => (e.Mobile = "mobile", e.Tablet = "tablet", e.Desktop = "desktop", e))($ || {});
48
48
  const qe = {
49
49
  tablet: Me.md,
50
50
  desktop: Me.lg
51
- }, an = 0.05, fe = (e) => `(min-width:${qe[e]}px)`, me = (e) => `(max-width:${qe[e] - an}px)`, N = {
51
+ }, an = 0.05, fe = (e) => `(min-width:${qe[e]}px)`, me = (e) => `(max-width:${qe[e] - an}px)`, B = {
52
52
  /** From the start of `tier` up. */
53
53
  up: (e) => `@media ${fe(e)}`,
54
54
  /** Below the start of `tier`. */
@@ -76,27 +76,27 @@ const qe = {
76
76
  )}`;
77
77
  }
78
78
  }
79
- }, o = (e) => `${e}px`, O = (e) => `1px solid ${e}`, ge = (e) => It(e, Ft), te = (e) => ({
79
+ }, o = (e) => `${e}px`, R = (e) => `1px solid ${e}`, ge = (e) => It(e, Ft), te = (e) => ({
80
80
  outline: `2px solid ${e.design.tokens["focus.ring"]}`,
81
81
  outlineOffset: "2px"
82
- }), Xr = (e, t) => t === "small" ? e.design.densityValues.compact.control : e.design.densityValues[e.design.density].control, Zr = (e) => e.design.densityValues[e.design.density].row, Ke = (e) => ({
83
- [N.down(F.Tablet)]: {
82
+ }), Qr = (e, t) => t === "small" ? e.design.densityValues.compact.control : e.design.densityValues[e.design.density].control, Zr = (e) => e.design.densityValues[e.design.density].row, Ke = (e) => ({
83
+ [B.down($.Tablet)]: {
84
84
  minHeight: o(e.design.densityValues.touchTarget)
85
85
  }
86
86
  }), ln = (e) => ({
87
- [N.down(F.Tablet)]: {
87
+ [B.down($.Tablet)]: {
88
88
  minWidth: o(e.design.densityValues.touchTarget),
89
89
  minHeight: o(e.design.densityValues.touchTarget)
90
90
  }
91
91
  }), oe = (e, t, n = "fast") => t.map(
92
92
  (r) => `${r} ${e.design.durations[n]}ms ${e.design.easings.standard}`
93
93
  ).join(", "), Ye = () => {
94
- const e = Ee(N.up(F.Desktop), {
94
+ const e = Ee(B.up($.Desktop), {
95
95
  noSsr: !0
96
- }), t = Ee(N.down(F.Tablet), {
96
+ }), t = Ee(B.down($.Tablet), {
97
97
  noSsr: !0
98
98
  });
99
- return e ? F.Desktop : t ? F.Mobile : F.Tablet;
99
+ return e ? $.Desktop : t ? $.Mobile : $.Tablet;
100
100
  };
101
101
  var J = /* @__PURE__ */ ((e) => (e.Top = "top", e.Bottom = "bottom", e.Left = "left", e.Right = "right", e))(J || {});
102
102
  const se = (e, t) => `calc(${o(t)} + env(safe-area-inset-${e}))`, dn = 0.3, cn = a("div")({
@@ -123,7 +123,7 @@ const se = (e, t) => `calc(${o(t)} + env(safe-area-inset-${e}))`, dn = 0.3, cn =
123
123
  backgroundColor: t["bg.surface"],
124
124
  color: t["text.primary"],
125
125
  fontFamily: c.sans,
126
- borderTop: O(t["border.strong"]),
126
+ borderTop: R(t["border.strong"]),
127
127
  borderTopLeftRadius: o(n.lg),
128
128
  borderTopRightRadius: o(n.lg),
129
129
  boxShadow: s.modal,
@@ -174,7 +174,7 @@ const se = (e, t) => `calc(${o(t)} + env(safe-area-inset-${e}))`, dn = 0.3, cn =
174
174
  overflowY: "auto",
175
175
  overscrollBehavior: "contain"
176
176
  });
177
- function Qe({
177
+ function Xe({
178
178
  open: e,
179
179
  onClose: t,
180
180
  title: n,
@@ -189,8 +189,8 @@ function Qe({
189
189
  var D;
190
190
  if (m.current === null)
191
191
  return;
192
- const P = Math.max(0, C.clientY - m.current), $ = ((D = g.current) == null ? void 0 : D.getBoundingClientRect().height) ?? 0;
193
- m.current = null, b(!1), h(0), $ > 0 && P >= $ * dn && t();
192
+ const P = Math.max(0, C.clientY - m.current), F = ((D = g.current) == null ? void 0 : D.getBoundingClientRect().height) ?? 0;
193
+ m.current = null, b(!1), h(0), F > 0 && P >= F * dn && t();
194
194
  }, k = () => {
195
195
  m.current = null, b(!1), h(0);
196
196
  };
@@ -262,7 +262,7 @@ const bn = a(nn)(({ theme: e }) => {
262
262
  alignItems: "flex-start",
263
263
  gap: o(n[4]),
264
264
  padding: `${o(n[4])} ${o(n[5])}`,
265
- borderBottom: O(t["border.subtle"])
265
+ borderBottom: R(t["border.subtle"])
266
266
  };
267
267
  }), vn = a("div")({ minWidth: 0 }), xn = a("h2")(({ theme: e }) => ({
268
268
  margin: 0,
@@ -293,7 +293,7 @@ const bn = a(nn)(({ theme: e }) => {
293
293
  alignItems: "center",
294
294
  gap: o(n[3]),
295
295
  padding: `${o(n[3])} ${o(n[5])}`,
296
- borderTop: O(t["border.subtle"])
296
+ borderTop: R(t["border.subtle"])
297
297
  };
298
298
  }), Sn = a("p")(({ theme: e }) => ({
299
299
  margin: `0 0 ${o(e.design.space[3])}`,
@@ -307,7 +307,7 @@ const bn = a(nn)(({ theme: e }) => {
307
307
  marginTop: o(e.design.space[4]),
308
308
  "& > *": { flex: "1 1 0" }
309
309
  }));
310
- function Xe({
310
+ function Qe({
311
311
  open: e,
312
312
  onClose: t,
313
313
  title: n,
@@ -316,9 +316,9 @@ function Xe({
316
316
  actions: c,
317
317
  children: l
318
318
  }) {
319
- const d = z(), g = Ye() === F.Mobile, m = E(), p = E();
319
+ const d = z(), g = Ye() === $.Mobile, m = E(), p = E();
320
320
  return g ? /* @__PURE__ */ v(
321
- Qe,
321
+ Xe,
322
322
  {
323
323
  open: e,
324
324
  onClose: t,
@@ -423,7 +423,7 @@ const et = {
423
423
  boxSizing: "border-box",
424
424
  padding: `${o(r[3])} ${o(r[3])} ${o(r[3])} ${o(r[4])}`,
425
425
  backgroundColor: n[g],
426
- border: O(n[d]),
426
+ border: R(n[d]),
427
427
  borderRadius: o(s.md),
428
428
  color: n["text.primary"],
429
429
  fontFamily: c.sans,
@@ -452,7 +452,7 @@ const et = {
452
452
  columnGap: o(e.design.space[4]),
453
453
  rowGap: o(e.design.space[2]),
454
454
  minWidth: 0,
455
- [N.down(F.Tablet)]: {
455
+ [B.down($.Tablet)]: {
456
456
  flexDirection: "column",
457
457
  alignItems: "flex-start"
458
458
  }
@@ -511,7 +511,7 @@ function En({
511
511
  }
512
512
  );
513
513
  }
514
- const Q = (e) => e.id ?? e.name, tt = (e, t, n) => (t === void 0 || e.sizeOctet <= t) && Mt(e, n), nt = (e, t, n) => [
514
+ const X = (e) => e.id ?? e.name, tt = (e, t, n) => (t === void 0 || e.sizeOctet <= t) && Mt(e, n), nt = (e, t, n) => [
515
515
  ...(e.childFile ?? []).filter(
516
516
  (r) => tt(r, t, n)
517
517
  ),
@@ -590,7 +590,7 @@ const Q = (e) => e.id ?? e.name, tt = (e, t, n) => (t === void 0 || e.sizeOctet
590
590
  transform: t ? "rotate(90deg)" : "none",
591
591
  transition: oe(e, ["transform"])
592
592
  })), at = a(Yt)(({ theme: e }) => ({
593
- [N.down(F.Tablet)]: {
593
+ [B.down($.Tablet)]: {
594
594
  padding: o(
595
595
  (e.design.densityValues.touchTarget - e.design.space[5]) / 2
596
596
  )
@@ -599,7 +599,7 @@ const Q = (e) => e.id ?? e.name, tt = (e, t, n) => (t === void 0 || e.sizeOctet
599
599
  margin: 0,
600
600
  padding: 0,
601
601
  listStyle: "none",
602
- borderLeft: O(e.design.tokens["border.subtle"]),
602
+ borderLeft: R(e.design.tokens["border.subtle"]),
603
603
  marginLeft: o(e.design.space[3])
604
604
  })), ze = a("li")({ listStyle: "none" });
605
605
  function lt({
@@ -609,7 +609,7 @@ function lt({
609
609
  }) {
610
610
  return /* @__PURE__ */ v(ne, { children: [
611
611
  e.map((r) => /* @__PURE__ */ i(ze, { children: /* @__PURE__ */ i(Bn, { folder: r, context: n }) }, r.id ?? r.name)),
612
- t.filter((r) => tt(r, n.maxSize, n.accept)).map((r) => /* @__PURE__ */ i(ze, { children: /* @__PURE__ */ i(Hn, { file: r, context: n }) }, Q(r)))
612
+ t.filter((r) => tt(r, n.maxSize, n.accept)).map((r) => /* @__PURE__ */ i(ze, { children: /* @__PURE__ */ i(Hn, { file: r, context: n }) }, X(r)))
613
613
  ] });
614
614
  }
615
615
  function Pn({
@@ -625,13 +625,13 @@ function Pn({
625
625
  draggable: !1,
626
626
  onError: () => r(!0)
627
627
  }
628
- ) : /* @__PURE__ */ i(Qt, {}) });
628
+ ) : /* @__PURE__ */ i(Xt, {}) });
629
629
  }
630
630
  function Hn({
631
631
  file: e,
632
632
  context: t
633
633
  }) {
634
- const n = E(), r = t.selectedIds.has(Q(e)), s = () => r ? t.unselect([e]) : t.select([e]), c = /* @__PURE__ */ v(ne, { children: [
634
+ const n = E(), r = t.selectedIds.has(X(e)), s = () => r ? t.unselect([e]) : t.select([e]), c = /* @__PURE__ */ v(ne, { children: [
635
635
  /* @__PURE__ */ i(
636
636
  Pn,
637
637
  {
@@ -659,7 +659,7 @@ function Bn({
659
659
  context: t
660
660
  }) {
661
661
  const n = z(), r = E(), [s, c] = I(!1), l = nt(e, t.maxSize, t.accept), d = l.filter(
662
- (m) => t.selectedIds.has(Q(m))
662
+ (m) => t.selectedIds.has(X(m))
663
663
  ).length, g = l.length > 0 && d === l.length;
664
664
  return /* @__PURE__ */ v(ne, { children: [
665
665
  /* @__PURE__ */ v(he, { selected: g, children: [
@@ -688,7 +688,7 @@ function Bn({
688
688
  onClick: () => c(!s),
689
689
  children: [
690
690
  /* @__PURE__ */ i(Dn, { open: s, "aria-hidden": !0 }),
691
- /* @__PURE__ */ i(st, { "aria-hidden": !0, children: s ? /* @__PURE__ */ i(Ue, {}) : /* @__PURE__ */ i(Xt, {}) }),
691
+ /* @__PURE__ */ i(st, { "aria-hidden": !0, children: s ? /* @__PURE__ */ i(Ue, {}) : /* @__PURE__ */ i(Qt, {}) }),
692
692
  /* @__PURE__ */ i(it, { strong: g, title: e.name, children: e.name })
693
693
  ]
694
694
  }
@@ -733,7 +733,7 @@ const De = "shared", Le = {
733
733
  padding: o(n[1]),
734
734
  listStyle: "none",
735
735
  minHeight: o(n[10] * 3),
736
- border: O(t["border.subtle"]),
736
+ border: R(t["border.subtle"]),
737
737
  borderRadius: o(r.md)
738
738
  };
739
739
  }), ie = a("div")(({ theme: e }) => {
@@ -781,12 +781,12 @@ const De = "shared", Le = {
781
781
  })), Yn = a("span")(({ theme: e }) => ({
782
782
  fontSize: o(e.design.typeScale.body),
783
783
  color: e.design.tokens["text.secondary"]
784
- })), Qn = a("li")(({ theme: e }) => ({
784
+ })), Xn = a("li")(({ theme: e }) => ({
785
785
  display: "flex",
786
786
  alignItems: "center",
787
787
  gap: o(e.design.space[2]),
788
788
  ...Ke(e)
789
- })), Xn = a("span")({
789
+ })), Qn = a("span")({
790
790
  display: "flex",
791
791
  flexDirection: "column",
792
792
  minWidth: 0
@@ -843,35 +843,35 @@ function ro({
843
843
  refresh: y,
844
844
  onCreateCloud: b,
845
845
  fetchCloudRepository: f
846
- } = e, u = z(), [x, k] = I(null), [C, P] = I(null), [$, D] = I(
846
+ } = e, u = z(), [x, k] = I(null), [C, P] = I(null), [F, D] = I(
847
847
  "loading"
848
848
  /* Loading */
849
- ), [U, A] = I([]), [R, re] = I(!1), [ae, _] = I(!1), q = ye(() => {
849
+ ), [U, A] = I([]), [W, re] = I(!1), [ae, _] = I(!1), q = ye(() => {
850
850
  const w = [], T = /* @__PURE__ */ new Map(), S = u.formatMessage({
851
851
  id: "ds.business.cloud-import.section-organization"
852
852
  });
853
- for (const W of g ?? []) {
854
- if (!W.organizationId) {
855
- w.push(W);
853
+ for (const O of g ?? []) {
854
+ if (!O.organizationId) {
855
+ w.push(O);
856
856
  continue;
857
857
  }
858
- const H = d == null ? void 0 : d(W), V = T.get(W.organizationId) ?? {
858
+ const H = d == null ? void 0 : d(O), V = T.get(O.organizationId) ?? {
859
859
  name: (H == null ? void 0 : H.organizationName) ?? S,
860
860
  items: []
861
861
  };
862
- V.items.push(W), T.set(W.organizationId, V);
862
+ V.items.push(O), T.set(O.organizationId, V);
863
863
  }
864
864
  if (d)
865
- for (const W of T.values())
866
- W.items.sort((H, V) => {
865
+ for (const O of T.values())
866
+ O.items.sort((H, V) => {
867
867
  const L = Le[d(H).scope ?? "personal"], Te = Le[d(V).scope ?? "personal"];
868
868
  return L !== Te ? L - Te : d(H).label.localeCompare(d(V).label);
869
869
  });
870
- const B = (W, H) => (V) => {
870
+ const N = (O, H) => (V) => {
871
871
  const L = d == null ? void 0 : d(V);
872
872
  return {
873
873
  space: V,
874
- sectionKey: W,
874
+ sectionKey: O,
875
875
  sectionLabel: H,
876
876
  label: (L == null ? void 0 : L.label) ?? Wt(V, u),
877
877
  subtitle: L == null ? void 0 : L.subtitle,
@@ -880,7 +880,7 @@ function ro({
880
880
  };
881
881
  return [
882
882
  ...w.map(
883
- B(
883
+ N(
884
884
  "personal",
885
885
  u.formatMessage({
886
886
  id: "ds.business.cloud-import.section-personal"
@@ -888,10 +888,10 @@ function ro({
888
888
  )
889
889
  ),
890
890
  ...[...T].flatMap(
891
- ([W, H]) => H.items.map(B(`org:${W}`, H.name))
891
+ ([O, H]) => H.items.map(N(`org:${O}`, H.name))
892
892
  ),
893
893
  ...(m ?? []).map(
894
- B(
894
+ N(
895
895
  De,
896
896
  u.formatMessage({ id: "ds.business.cloud-import.section-shared" })
897
897
  )
@@ -899,7 +899,7 @@ function ro({
899
899
  ];
900
900
  }, [g, m, d, u]), K = q.find((w) => w.space.id === (x == null ? void 0 : x.id)) ?? null, pe = j(0), we = j(f);
901
901
  we.current = f;
902
- const le = X(async (w) => {
902
+ const le = Q(async (w) => {
903
903
  const T = ++pe.current;
904
904
  D(
905
905
  "loading"
@@ -949,21 +949,21 @@ function ro({
949
949
  multiple: n,
950
950
  maxSize: r,
951
951
  accept: s,
952
- selectedIds: new Set(U.map(Q)),
952
+ selectedIds: new Set(U.map(X)),
953
953
  getFileThumbnailUrl: l,
954
954
  select: (w) => A((T) => {
955
955
  if (!n)
956
956
  return w.slice(0, 1);
957
- const S = new Set(T.map(Q));
957
+ const S = new Set(T.map(X));
958
958
  return [
959
959
  ...T,
960
- ...w.filter((B) => !S.has(Q(B)))
960
+ ...w.filter((N) => !S.has(X(N)))
961
961
  ];
962
962
  }),
963
963
  unselect: (w) => {
964
- const T = new Set(w.map(Q));
964
+ const T = new Set(w.map(X));
965
965
  A(
966
- (S) => S.filter((B) => !T.has(Q(B)))
966
+ (S) => S.filter((N) => !T.has(X(N)))
967
967
  );
968
968
  }
969
969
  }, wt = g !== null && m !== null, ke = /* @__PURE__ */ i(ie, { children: /* @__PURE__ */ i(
@@ -991,7 +991,7 @@ function ro({
991
991
  {
992
992
  variant: "contained",
993
993
  startIcon: /* @__PURE__ */ i(Ae, { "aria-hidden": !0 }),
994
- loading: R || p,
994
+ loading: W || p,
995
995
  onClick: () => void vt(),
996
996
  children: u.formatMessage({
997
997
  id: "ds.business.cloud-import.create-error.create-button"
@@ -1034,8 +1034,8 @@ function ro({
1034
1034
  filterOptions: (w, { inputValue: T }) => {
1035
1035
  const S = T.trim().toLowerCase();
1036
1036
  return S === "" || S === K.label.toLowerCase() ? w : w.filter(
1037
- (B) => [B.label, B.subtitle ?? ""].some(
1038
- (W) => W.toLowerCase().includes(S)
1037
+ (N) => [N.label, N.subtitle ?? ""].some(
1038
+ (O) => O.toLowerCase().includes(S)
1039
1039
  )
1040
1040
  );
1041
1041
  },
@@ -1043,9 +1043,9 @@ function ro({
1043
1043
  /* @__PURE__ */ i(no, { children: w.group }),
1044
1044
  /* @__PURE__ */ i(oo, { children: w.children })
1045
1045
  ] }, w.key),
1046
- renderOption: ({ key: w, ...T }, S) => /* @__PURE__ */ v(Qn, { ...T, children: [
1046
+ renderOption: ({ key: w, ...T }, S) => /* @__PURE__ */ v(Xn, { ...T, children: [
1047
1047
  /* @__PURE__ */ i(dt, { "aria-hidden": !0, children: Ie(S) }),
1048
- /* @__PURE__ */ v(Xn, { children: [
1048
+ /* @__PURE__ */ v(Qn, { children: [
1049
1049
  /* @__PURE__ */ i(Zn, { children: S.label }),
1050
1050
  S.subtitle !== void 0 && /* @__PURE__ */ i(Jn, { children: S.subtitle })
1051
1051
  ] })
@@ -1074,7 +1074,7 @@ function ro({
1074
1074
  ee,
1075
1075
  {
1076
1076
  "aria-label": Ce,
1077
- disabled: $ === "loading" || p,
1077
+ disabled: F === "loading" || p,
1078
1078
  onClick: () => void yt(),
1079
1079
  children: /* @__PURE__ */ i(_t, { "aria-hidden": !0 })
1080
1080
  }
@@ -1092,7 +1092,7 @@ function ro({
1092
1092
  ) })
1093
1093
  ] }),
1094
1094
  /* @__PURE__ */ i(Vn, { children: u.formatMessage({ id: "ds.business.cloud-import.filtered-hint" }) }),
1095
- $ === "loading" && /* @__PURE__ */ i(ie, { children: /* @__PURE__ */ i(
1095
+ F === "loading" && /* @__PURE__ */ i(ie, { children: /* @__PURE__ */ i(
1096
1096
  We,
1097
1097
  {
1098
1098
  size: 24,
@@ -1101,7 +1101,7 @@ function ro({
1101
1101
  })
1102
1102
  }
1103
1103
  ) }),
1104
- $ === "failed" && /* @__PURE__ */ v(ie, { role: "alert", children: [
1104
+ F === "failed" && /* @__PURE__ */ v(ie, { role: "alert", children: [
1105
1105
  u.formatMessage({ id: "ds.business.cloud-import.tree-error" }),
1106
1106
  /* @__PURE__ */ i(
1107
1107
  Z,
@@ -1112,7 +1112,7 @@ function ro({
1112
1112
  }
1113
1113
  )
1114
1114
  ] }),
1115
- $ === "ready" && C !== null && (C.folders.length === 0 && C.files.length === 0 ? /* @__PURE__ */ v(ie, { children: [
1115
+ F === "ready" && C !== null && (C.folders.length === 0 && C.files.length === 0 ? /* @__PURE__ */ v(ie, { children: [
1116
1116
  /* @__PURE__ */ i(Ue, { "aria-hidden": !0 }),
1117
1117
  u.formatMessage({ id: "ds.business.cloud-import.empty-space" })
1118
1118
  ] }) : /* @__PURE__ */ i(
@@ -1160,7 +1160,7 @@ function io({
1160
1160
  }) {
1161
1161
  const d = z();
1162
1162
  return /* @__PURE__ */ i(
1163
- Xe,
1163
+ Qe,
1164
1164
  {
1165
1165
  open: e,
1166
1166
  onClose: t,
@@ -1191,7 +1191,7 @@ const so = /* @__PURE__ */ new Set(["a", "button"]), ao = a("div", {
1191
1191
  minWidth: 0,
1192
1192
  boxSizing: "border-box",
1193
1193
  backgroundColor: n["bg.surface"],
1194
- border: O(n["border.subtle"]),
1194
+ border: R(n["border.subtle"]),
1195
1195
  borderRadius: o(r.md),
1196
1196
  padding: o(s[t.padding]),
1197
1197
  color: n["text.primary"],
@@ -1215,7 +1215,7 @@ const so = /* @__PURE__ */ new Set(["a", "button"]), ao = a("div", {
1215
1215
  tabIndex: d,
1216
1216
  ...g
1217
1217
  }, m) {
1218
- const p = t && typeof r == "string" && !so.has(r), h = X(
1218
+ const p = t && typeof r == "string" && !so.has(r), h = Q(
1219
1219
  (b) => {
1220
1220
  typeof m == "function" ? m(b) : m !== null && (m.current = b);
1221
1221
  },
@@ -1317,8 +1317,8 @@ function ei({
1317
1317
  renderValue: (k) => {
1318
1318
  const C = Array.isArray(k) ? k : [k];
1319
1319
  return p && C.length === 0 ? /* @__PURE__ */ i(ho, { "aria-hidden": !0, children: e }) : /* @__PURE__ */ i(be, { children: C.map((P) => {
1320
- var $;
1321
- return (($ = u.get(P)) == null ? void 0 : $.label) ?? P;
1320
+ var F;
1321
+ return ((F = u.get(P)) == null ? void 0 : F.label) ?? P;
1322
1322
  }).join(", ") });
1323
1323
  },
1324
1324
  "aria-describedby": l ? f : void 0,
@@ -1377,7 +1377,7 @@ const ti = { l: 0.72, c: 0.12 }, ni = [
1377
1377
  width: o(e.design.densityValues[e.design.density].control),
1378
1378
  height: o(e.design.densityValues[e.design.density].control),
1379
1379
  borderRadius: o(e.design.radii.md),
1380
- border: O(e.design.tokens["border.control"])
1380
+ border: R(e.design.tokens["border.control"])
1381
1381
  })), xo = a("div")(({ theme: e }) => ({
1382
1382
  display: "flex",
1383
1383
  flexWrap: "wrap",
@@ -1389,11 +1389,11 @@ const ti = { l: 0.72, c: 0.12 }, ni = [
1389
1389
  width: o(s),
1390
1390
  height: o(s),
1391
1391
  borderRadius: o(e.design.radii.sm),
1392
- border: O(e.design.tokens["border.control"]),
1392
+ border: R(e.design.tokens["border.control"]),
1393
1393
  // The chosen swatch carries the ring of the design system (`focus.ring` is the accent).
1394
1394
  '&[aria-pressed="true"]': te(e),
1395
1395
  "&.Mui-focusVisible": te(e),
1396
- [N.down(F.Tablet)]: {
1396
+ [B.down($.Tablet)]: {
1397
1397
  width: o(e.design.densityValues.touchTarget),
1398
1398
  height: o(e.design.densityValues.touchTarget)
1399
1399
  }
@@ -1471,14 +1471,27 @@ const ko = 6, Co = a("div", {
1471
1471
  display: "inline-flex",
1472
1472
  maxWidth: "100%",
1473
1473
  minWidth: 0,
1474
- border: O(n["border.subtle"]),
1474
+ border: R(n["border.subtle"]),
1475
1475
  borderRadius: o(r.md),
1476
1476
  overflowX: "auto",
1477
1477
  overflowY: "hidden",
1478
- backgroundColor: n["bg.surface"]
1478
+ backgroundColor: n["bg.surface"],
1479
+ // Below 768 px each segment keeps a 44 px target: the band wraps onto more rows rather than
1480
+ // hiding segments behind a sideways scroll. A rule between neighbours would then start the
1481
+ // second row with a stray line and leave the rows unsplit: the band loses its border and each
1482
+ // segment draws its own, apart by a gap in both directions.
1483
+ [B.down($.Tablet)]: {
1484
+ flexWrap: "wrap",
1485
+ rowGap: o(s[1]),
1486
+ columnGap: o(s[1]),
1487
+ overflowX: "visible",
1488
+ maskImage: "none",
1489
+ border: "none",
1490
+ backgroundColor: "transparent"
1491
+ }
1479
1492
  };
1480
1493
  }), So = a(Ge)(({ theme: e }) => {
1481
- const { tokens: t, space: n, typeScale: r, fonts: s, densityValues: c } = e.design;
1494
+ const { tokens: t, space: n, typeScale: r, fonts: s, densityValues: c, radii: l } = e.design;
1482
1495
  return {
1483
1496
  flex: "none",
1484
1497
  gap: o(n[2]),
@@ -1490,7 +1503,7 @@ const ko = 6, Co = a("div", {
1490
1503
  whiteSpace: "nowrap",
1491
1504
  color: t["text.secondary"],
1492
1505
  transition: oe(e, ["background-color", "color"]),
1493
- "& + &": { borderLeft: O(t["border.subtle"]) },
1506
+ "& + &": { borderLeft: R(t["border.subtle"]) },
1494
1507
  '&[aria-checked="true"]': {
1495
1508
  backgroundColor: t["bg.raised"],
1496
1509
  color: t["text.primary"],
@@ -1498,8 +1511,15 @@ const ko = 6, Co = a("div", {
1498
1511
  },
1499
1512
  "&:hover": { backgroundColor: t["bg.hover"] },
1500
1513
  "&.Mui-focusVisible": { ...te(e), outlineOffset: "-2px" },
1501
- [N.down(F.Tablet)]: {
1502
- minHeight: o(c.touchTarget)
1514
+ // A short label (« 1 h », « 7 j ») would leave a segment narrower than a finger. Each segment
1515
+ // is its own bordered tile once the band wraps.
1516
+ [B.down($.Tablet)]: {
1517
+ minWidth: o(c.touchTarget),
1518
+ minHeight: o(c.touchTarget),
1519
+ border: R(t["border.subtle"]),
1520
+ borderRadius: o(l.md),
1521
+ backgroundColor: t["bg.surface"],
1522
+ '&[aria-checked="true"]': { backgroundColor: t["bg.raised"] }
1503
1523
  }
1504
1524
  };
1505
1525
  }), Io = a("span")(({ theme: e }) => ({
@@ -1513,7 +1533,7 @@ function li({
1513
1533
  onChange: n,
1514
1534
  ariaLabel: r
1515
1535
  }) {
1516
- const s = j(null), [c, l] = I({ start: !1, end: !1 }), d = X(() => {
1536
+ const s = j(null), [c, l] = I({ start: !1, end: !1 }), d = Q(() => {
1517
1537
  const p = s.current;
1518
1538
  if (!p)
1519
1539
  return;
@@ -1610,7 +1630,7 @@ function di({
1610
1630
  const d = z(), g = ye(
1611
1631
  () => $o(d.locale),
1612
1632
  [d.locale]
1613
- ), m = X(
1633
+ ), m = Q(
1614
1634
  (u) => u === null ? "" : d.formatNumber(u, {
1615
1635
  minimumFractionDigits: r,
1616
1636
  maximumFractionDigits: r
@@ -1688,7 +1708,7 @@ const Fo = a("div")(({ theme: e }) => ({
1688
1708
  };
1689
1709
  }), Oo = a("span")(({ theme: e }) => ({
1690
1710
  fontSize: o(e.design.typeScale.body),
1691
- [N.down(F.Tablet)]: { display: "none" }
1711
+ [B.down($.Tablet)]: { display: "none" }
1692
1712
  })), Ao = a("div")(({ theme: e }) => ({
1693
1713
  display: "flex",
1694
1714
  flexWrap: "wrap",
@@ -1722,21 +1742,21 @@ function ci({
1722
1742
  const g = z(), m = E(), p = E(), [h, y] = I(null), [b, f] = I(!1), u = r === void 0 ? null : Lo(r), x = s ?? (u === null ? null : g.formatMessage(
1723
1743
  { id: "ds.inputs.drop-zone.max-size" },
1724
1744
  { size: u, multiple: String(t) }
1725
- )), k = (A, R) => {
1745
+ )), k = (A, W) => {
1726
1746
  const re = r === void 0 ? [] : A.filter((_) => _.size > r), ae = A.filter((_) => !re.includes(_));
1727
- R.some(
1747
+ W.some(
1728
1748
  (_) => _.errors.some((q) => q.code === Et.TooManyFiles)
1729
1749
  ) ? y(
1730
1750
  "too-many"
1731
1751
  /* TooMany */
1732
- ) : R.length > 0 ? y(
1752
+ ) : W.length > 0 ? y(
1733
1753
  "rejected-type"
1734
1754
  /* Rejected */
1735
1755
  ) : re.length > 0 ? y(
1736
1756
  A.length === 1 ? "too-big" : "some-too-big"
1737
1757
  /* SomeTooBig */
1738
1758
  ) : y(null), ae.length > 0 && e(ae);
1739
- }, { getRootProps: C, getInputProps: P, isDragActive: $, open: D } = Ot({
1759
+ }, { getRootProps: C, getInputProps: P, isDragActive: F, open: D } = Ot({
1740
1760
  onDrop: k,
1741
1761
  multiple: t,
1742
1762
  accept: n,
@@ -1755,13 +1775,13 @@ function ci({
1755
1775
  "aria-describedby": x !== null ? p : void 0,
1756
1776
  children: [
1757
1777
  c !== void 0 && /* @__PURE__ */ i(Mo, { id: m, children: c }),
1758
- /* @__PURE__ */ v(Ro, { ...C({ onClick: D }), active: $, children: [
1778
+ /* @__PURE__ */ v(Ro, { ...C({ onClick: D }), active: F, children: [
1759
1779
  /* @__PURE__ */ i("input", { ...P({ "aria-hidden": !0 }) }),
1760
1780
  d ?? /* @__PURE__ */ v(ne, { children: [
1761
1781
  /* @__PURE__ */ i(Wo, { "aria-hidden": !0, children: /* @__PURE__ */ i(Lt, {}) }),
1762
1782
  /* @__PURE__ */ i(Oo, { children: g.formatMessage(
1763
1783
  {
1764
- id: $ ? "ds.inputs.drop-zone.release" : "ds.inputs.drop-zone.prompt"
1784
+ id: F ? "ds.inputs.drop-zone.release" : "ds.inputs.drop-zone.prompt"
1765
1785
  },
1766
1786
  { multiple: String(t) }
1767
1787
  ) })
@@ -1802,9 +1822,9 @@ function ci({
1802
1822
  cloudPicker: l,
1803
1823
  multiple: t,
1804
1824
  maxSize: r,
1805
- accept: n === void 0 ? void 0 : Object.entries(n).flatMap(([A, R]) => [
1825
+ accept: n === void 0 ? void 0 : Object.entries(n).flatMap(([A, W]) => [
1806
1826
  A,
1807
- ...R
1827
+ ...W
1808
1828
  ])
1809
1829
  }
1810
1830
  )
@@ -1839,30 +1859,30 @@ function _o({
1839
1859
  }) {
1840
1860
  const g = z(), m = Ve(), p = E(), [h, y] = I(""), [b, f] = I(!1), [u, x] = I(!1), [k, C] = I(e);
1841
1861
  e !== k && (C(e), e && (y(""), x(!1)));
1842
- const P = !b && (c === void 0 || h === c), $ = s !== "default", D = () => {
1862
+ const P = !b && (c === void 0 || h === c), F = s !== "default", D = () => {
1843
1863
  b || d();
1844
1864
  }, U = () => {
1845
1865
  if (!P)
1846
1866
  return;
1847
1867
  x(!1);
1848
- let R;
1868
+ let W;
1849
1869
  try {
1850
- R = l();
1870
+ W = l();
1851
1871
  } catch {
1852
1872
  x(!0);
1853
1873
  return;
1854
1874
  }
1855
- R instanceof Promise && (f(!0), R.then(
1875
+ W instanceof Promise && (f(!0), W.then(
1856
1876
  () => f(!1),
1857
1877
  () => {
1858
1878
  f(!1), x(!0);
1859
1879
  }
1860
1880
  ));
1861
- }, A = (R) => {
1862
- R.preventDefault(), U();
1881
+ }, A = (W) => {
1882
+ W.preventDefault(), U();
1863
1883
  };
1864
1884
  return /* @__PURE__ */ i(
1865
- Xe,
1885
+ Qe,
1866
1886
  {
1867
1887
  open: e,
1868
1888
  onClose: D,
@@ -1874,7 +1894,7 @@ function _o({
1874
1894
  {
1875
1895
  variant: "outlined",
1876
1896
  disabled: b,
1877
- autoFocus: c === void 0 && $,
1897
+ autoFocus: c === void 0 && F,
1878
1898
  onClick: D,
1879
1899
  children: g.formatMessage({ id: "ds.layers.confirm-dialog.cancel" })
1880
1900
  }
@@ -1888,7 +1908,7 @@ function _o({
1888
1908
  color: No[s],
1889
1909
  disabled: !P,
1890
1910
  loading: b,
1891
- autoFocus: c === void 0 && !$,
1911
+ autoFocus: c === void 0 && !F,
1892
1912
  sx: s === "warning" ? {
1893
1913
  "&:not(.Mui-disabled)": {
1894
1914
  color: Bo(
@@ -1911,7 +1931,7 @@ function _o({
1911
1931
  { text: c }
1912
1932
  ),
1913
1933
  value: h,
1914
- onChange: (R) => y(R.target.value),
1934
+ onChange: (W) => y(W.target.value),
1915
1935
  disabled: b,
1916
1936
  autoFocus: !0,
1917
1937
  autoComplete: "off",
@@ -1933,7 +1953,7 @@ const jo = 320, Go = a("div")(({ theme: e }) => {
1933
1953
  justifyContent: "space-between",
1934
1954
  gap: o(n[3]),
1935
1955
  padding: `${o(n[2])} ${o(n[2])} ${o(n[2])} ${o(n[4])}`,
1936
- borderBottom: O(t["border.subtle"])
1956
+ borderBottom: R(t["border.subtle"])
1937
1957
  };
1938
1958
  }), Uo = a("h2")(({ theme: e }) => ({
1939
1959
  margin: 0,
@@ -1959,12 +1979,12 @@ function ui({
1959
1979
  width: c = jo,
1960
1980
  children: l
1961
1981
  }) {
1962
- const d = z(), g = E(), m = Ye() === F.Mobile, p = d.formatMessage({
1982
+ const d = z(), g = E(), m = Ye() === $.Mobile, p = d.formatMessage({
1963
1983
  id: "ds.layers.anchored-panel.close"
1964
1984
  }), h = t && e !== null;
1965
1985
  if (m)
1966
1986
  return /* @__PURE__ */ i(
1967
- Qe,
1987
+ Xe,
1968
1988
  {
1969
1989
  open: h,
1970
1990
  onClose: n,
@@ -2017,7 +2037,7 @@ function gi({ children: e }) {
2017
2037
  },
2018
2038
  []
2019
2039
  );
2020
- const g = X(
2040
+ const g = Q(
2021
2041
  (h) => new Promise((y) => {
2022
2042
  c.current += 1;
2023
2043
  const b = { id: c.current, options: h, resolve: y };
@@ -2050,8 +2070,8 @@ function pi() {
2050
2070
  );
2051
2071
  return e;
2052
2072
  }
2053
- const Ko = 1, Yo = (e, t) => t === "vertical" ? e.scrollHeight - e.clientHeight - e.scrollTop : e.scrollWidth - e.clientWidth - e.scrollLeft, Qo = (e, t, n) => {
2054
- const [r, s] = I(!1), c = X(() => {
2073
+ const Ko = 1, Yo = (e, t) => t === "vertical" ? e.scrollHeight - e.clientHeight - e.scrollTop : e.scrollWidth - e.clientWidth - e.scrollLeft, Xo = (e, t, n) => {
2074
+ const [r, s] = I(!1), c = Q(() => {
2055
2075
  const l = e.current;
2056
2076
  l !== null && s(Yo(l, t) > Ko);
2057
2077
  }, [e, t]);
@@ -2066,13 +2086,13 @@ const Ko = 1, Yo = (e, t) => t === "vertical" ? e.scrollHeight - e.clientHeight
2066
2086
  };
2067
2087
  }, [e, c, n]), r;
2068
2088
  };
2069
- var Xo = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Secondary = "secondary", e))(Xo || {});
2089
+ var Qo = /* @__PURE__ */ ((e) => (e.Primary = "primary", e.Secondary = "secondary", e))(Qo || {});
2070
2090
  const Zo = 2, Jo = /* @__PURE__ */ new Set(["Enter", " "]), er = a("div", {
2071
2091
  shouldForwardProp: (e) => e !== "variant"
2072
2092
  })(({ theme: e, variant: t }) => ({
2073
2093
  minWidth: 0,
2074
2094
  ...t === "primary" && {
2075
- borderBottom: O(e.design.tokens["border.subtle"])
2095
+ borderBottom: R(e.design.tokens["border.subtle"])
2076
2096
  }
2077
2097
  })), ft = 32, tr = a("div", {
2078
2098
  shouldForwardProp: (e) => e !== "variant" && e !== "fade"
@@ -2115,7 +2135,7 @@ const Zo = 2, Jo = /* @__PURE__ */ new Set(["Enter", " "]), er = a("div", {
2115
2135
  // Inside the scrolling row, an outer ring would be clipped: it is drawn inside the tab.
2116
2136
  "&:focus-visible": { ...te(e), outlineOffset: "-2px" }
2117
2137
  }, p = {
2118
- [N.down(F.Tablet)]: {
2138
+ [B.down($.Tablet)]: {
2119
2139
  minHeight: o(d.touchTarget)
2120
2140
  }
2121
2141
  };
@@ -2158,7 +2178,7 @@ const Zo = 2, Jo = /* @__PURE__ */ new Set(["Enter", " "]), er = a("div", {
2158
2178
  alignItems: "center",
2159
2179
  padding: `0 ${o(n[1])}`,
2160
2180
  borderRadius: o(r.sm),
2161
- border: O(t["border.subtle"]),
2181
+ border: R(t["border.subtle"]),
2162
2182
  fontFamily: s.mono,
2163
2183
  fontSize: o(c.caption),
2164
2184
  fontWeight: M.regular,
@@ -2176,7 +2196,7 @@ function fi({
2176
2196
  variant: r,
2177
2197
  "aria-label": s
2178
2198
  }) {
2179
- const c = z(), l = j(null), d = e.filter((f) => f.hidden !== !0), g = Qo(l, "horizontal", d.length), m = X(
2199
+ const c = z(), l = j(null), d = e.filter((f) => f.hidden !== !0), g = Xo(l, "horizontal", d.length), m = Q(
2180
2200
  () => {
2181
2201
  var f;
2182
2202
  return Array.from(
@@ -2184,7 +2204,7 @@ function fi({
2184
2204
  );
2185
2205
  },
2186
2206
  []
2187
- ), p = X(() => {
2207
+ ), p = Q(() => {
2188
2208
  const f = l.current, u = f == null ? void 0 : f.querySelector('[aria-selected="true"]');
2189
2209
  f && u && He(f, u);
2190
2210
  }, []);
@@ -2264,52 +2284,52 @@ function fi({
2264
2284
  ) });
2265
2285
  }
2266
2286
  export {
2267
- ui as A,
2268
- Qe as B,
2287
+ Vo as A,
2288
+ Xe as B,
2269
2289
  En as C,
2270
- F as D,
2271
- ro as E,
2290
+ $ as D,
2291
+ ui as E,
2272
2292
  Ze as F,
2273
- Y as G,
2274
- _o as H,
2293
+ gi as G,
2294
+ pi as H,
2275
2295
  io as I,
2276
- Vo as J,
2296
+ fi as J,
2277
2297
  ti as K,
2278
2298
  ni as L,
2279
- Xe as M,
2299
+ Qe as M,
2280
2300
  di as N,
2281
2301
  ut as O,
2282
2302
  oi as P,
2283
2303
  ri as Q,
2284
- ei as R,
2285
- li as S,
2286
- fi as T,
2304
+ lo as R,
2305
+ J as S,
2306
+ Qo as T,
2287
2307
  ii as U,
2288
2308
  si as V,
2289
2309
  xe as a,
2290
- Je as b,
2291
- ai as c,
2292
- N as d,
2293
- Jr as e,
2294
- ci as f,
2295
- Xo as g,
2296
- O as h,
2297
- te as i,
2298
- oe as j,
2299
- Xr as k,
2300
- ln as l,
2301
- Po as m,
2302
- gi as n,
2303
- Ye as o,
2310
+ dn as b,
2311
+ oe as c,
2312
+ B as d,
2313
+ Je as e,
2314
+ te as f,
2315
+ Jr as g,
2316
+ R as h,
2317
+ Qr as i,
2318
+ ln as j,
2319
+ Xo as k,
2320
+ ct as l,
2321
+ ro as m,
2322
+ ei as n,
2323
+ Y as o,
2304
2324
  o as p,
2305
- J as q,
2306
- dn as r,
2325
+ ai as q,
2326
+ Zr as r,
2307
2327
  ge as s,
2308
2328
  Ke as t,
2309
- pi as u,
2310
- Zr as v,
2329
+ Ye as u,
2330
+ li as v,
2311
2331
  se as w,
2312
- Qo as x,
2313
- lo as y,
2314
- ct as z
2332
+ ci as x,
2333
+ Po as y,
2334
+ _o as z
2315
2335
  };