@livechat/design-system-react-components 2.31.1 → 2.32.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 (75) hide show
  1. package/dist/components/Accordion/stories-helpers.d.ts +0 -1
  2. package/dist/components/ActionBar/constants.d.ts +0 -1
  3. package/dist/components/ActionCard/ActionCard.d.ts +0 -1
  4. package/dist/components/ActionMenu/stories-constants.d.ts +0 -1
  5. package/dist/components/AnimatedTextContainer/AnimatedTextContainer.d.ts +0 -1
  6. package/dist/components/AutoComplete/helpers.d.ts +0 -1
  7. package/dist/components/AutoComplete/index.d.ts +0 -1
  8. package/dist/components/DatePicker/RangeDatePicker.d.ts +0 -1
  9. package/dist/components/DatePicker/helpers.d.ts +0 -1
  10. package/dist/components/DatePicker/hooks.d.ts +0 -1
  11. package/dist/components/DatePicker/types.d.ts +0 -1
  12. package/dist/components/EmptyState/EmptyState.d.ts +0 -1
  13. package/dist/components/EmptyState/types.d.ts +0 -1
  14. package/dist/components/FloatingPortal/FloatingPortal.d.ts +0 -1
  15. package/dist/components/FloatingPortal/index.d.ts +0 -1
  16. package/dist/components/Icon/IconsShowcase/constans.d.ts +0 -1
  17. package/dist/components/Icon/IconsShowcase/helpers.d.ts +0 -1
  18. package/dist/components/Icon/types.d.ts +0 -1
  19. package/dist/components/InviteAgents/InviteAgents.d.ts +0 -1
  20. package/dist/components/InviteAgents/helpers.d.ts +0 -1
  21. package/dist/components/InviteAgents/types.d.ts +0 -1
  22. package/dist/components/ListItem/ListItem.d.ts +0 -1
  23. package/dist/components/ListItem/types.d.ts +0 -1
  24. package/dist/components/Modal/components/ModalPortal.d.ts +0 -1
  25. package/dist/components/OverflowTooltipText/OverflowTooltipText.d.ts +0 -1
  26. package/dist/components/Picker/constants.d.ts +0 -1
  27. package/dist/components/Picker/helpers.d.ts +0 -1
  28. package/dist/components/Picker/types.d.ts +0 -1
  29. package/dist/components/ProductSwitcher/ProductSwitcher.d.ts +0 -1
  30. package/dist/components/ProductSwitcher/components/ProductRow/ProductRow.d.ts +0 -1
  31. package/dist/components/ProductSwitcher/components/ProductTile/ProductTile.d.ts +0 -1
  32. package/dist/components/ProductSwitcher/constants.d.ts +0 -1
  33. package/dist/components/ProductSwitcher/helpers.d.ts +0 -1
  34. package/dist/components/ProductSwitcher/hooks/useProductSwitcher.d.ts +0 -1
  35. package/dist/components/ProductSwitcher/types.d.ts +0 -1
  36. package/dist/components/Progress/Progress.helpers.d.ts +0 -1
  37. package/dist/components/RangeDatePickerV2/RangeDatePickerV2.d.ts +0 -1
  38. package/dist/components/RangeDatePickerV2/components/RangeDatePickerV2Label.d.ts +0 -1
  39. package/dist/components/RangeDatePickerV2/helpers.d.ts +0 -1
  40. package/dist/components/RangeDatePickerV2/types.d.ts +0 -1
  41. package/dist/components/SelectableCard/SelectableCard.d.ts +0 -1
  42. package/dist/components/SelectableCard/components/GallerySelectableCard/GallerySelectableCard.d.ts +0 -1
  43. package/dist/components/SelectableCard/components/InteractiveSelectableCard/InteractiveGrid/InteractiveGrid.d.ts +0 -1
  44. package/dist/components/SelectableCard/components/InteractiveSelectableCard/InteractiveSelectableCard.d.ts +0 -1
  45. package/dist/components/SelectableCard/components/InteractiveSelectableCard/types.d.ts +0 -1
  46. package/dist/components/SelectableCard/components/ThumbnailSelectableCard/ThumbnailSelectableCard.d.ts +0 -1
  47. package/dist/components/SystemMessage/components/SystemMessageTimestamp.d.ts +0 -1
  48. package/dist/components/Table/Table.d.ts +0 -1
  49. package/dist/components/Table/TableBody.d.ts +0 -1
  50. package/dist/components/Table/TableRow.d.ts +0 -1
  51. package/dist/components/Table/stories-constants.d.ts +0 -1
  52. package/dist/components/Table/stories-helpers.d.ts +0 -1
  53. package/dist/components/Tooltip/Tooltip.helpers.d.ts +0 -1
  54. package/dist/components/UserGuide/UserGuide.d.ts +0 -1
  55. package/dist/components/UserGuide/components/UserGuideBubbleStep/UserGuideBubbleStep.d.ts +0 -1
  56. package/dist/components/UserGuide/components/UserGuideBubbleStep/types.d.ts +0 -1
  57. package/dist/components/UserGuide/components/UserGuideStep/UserGuideStep.d.ts +0 -1
  58. package/dist/components/UserGuide/components/UserGuideStep/types.d.ts +0 -1
  59. package/dist/components/UserGuide/stories-helpers.d.ts +0 -1
  60. package/dist/components/UserGuide/types.d.ts +4 -1
  61. package/dist/hooks/helpers.d.ts +0 -1
  62. package/dist/hooks/useHeightResizer.d.ts +0 -1
  63. package/dist/hooks/useInteractive.d.ts +0 -1
  64. package/dist/hooks/useIsOverflow.d.ts +0 -1
  65. package/dist/hooks/useMobileViewDetector.d.ts +0 -1
  66. package/dist/hooks/useOnHover.d.ts +0 -1
  67. package/dist/hooks/useSharedResizeObserver.d.ts +0 -1
  68. package/dist/index.cjs +1 -1
  69. package/dist/index.d.ts +0 -1
  70. package/dist/index.js +1080 -1079
  71. package/dist/providers/ReadOnlyFormFieldProvider.d.ts +0 -1
  72. package/dist/providers/ThemeProvider.d.ts +0 -1
  73. package/dist/providers/helpers.d.ts +0 -1
  74. package/dist/utils/story-parameters.d.ts +0 -1
  75. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -32,28 +32,28 @@ const Xl = (e, a) => {
32
32
  elementRef: a,
33
33
  includeSleepWakeScenario: r = !1
34
34
  }) => {
35
- const [o, _] = b.useState(e), [l, i] = b.useState(e), [n, d] = b.useState(e), u = b.useRef(null), s = () => {
35
+ const [o, _] = b.useState(e), [l, i] = b.useState(e), [n, s] = b.useState(e), u = b.useRef(null), d = () => {
36
36
  _(!1), u.current && clearTimeout(u.current);
37
37
  };
38
38
  return b.useEffect(() => {
39
- const h = a.current;
40
- if (!n && h)
41
- return h.addEventListener("transitionend", s), i(!1), u.current = window.setTimeout(s, 300), () => {
42
- clearTimeout(u.current), h.removeEventListener(
39
+ const m = a.current;
40
+ if (!n && m)
41
+ return m.addEventListener("transitionend", d), i(!1), u.current = window.setTimeout(d, 300), () => {
42
+ clearTimeout(u.current), m.removeEventListener(
43
43
  "transitionend",
44
- s
44
+ d
45
45
  );
46
46
  };
47
47
  n && (_(!0), requestAnimationFrame(() => i(!0)));
48
48
  }, [n]), b.useEffect(() => {
49
- d(e);
49
+ s(e);
50
50
  }, [e]), Xl(
51
- () => d(e),
51
+ () => s(e),
52
52
  r
53
53
  ), {
54
54
  isOpen: l,
55
55
  isMounted: o,
56
- setShouldBeVisible: d
56
+ setShouldBeVisible: s
57
57
  };
58
58
  }, Fo = /* @__PURE__ */ (() => {
59
59
  let e = null;
@@ -62,7 +62,7 @@ const Xl = (e, a) => {
62
62
  observe: (_, l) => {
63
63
  e || (e = new ResizeObserver((i) => {
64
64
  i.forEach((n) => {
65
- const d = n.target, u = a.get(d);
65
+ const s = n.target, u = a.get(s);
66
66
  u && u(n.contentRect);
67
67
  });
68
68
  })), _ && (a.set(_, l), e.observe(_));
@@ -697,16 +697,16 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
697
697
  const [o, _] = _e(a), [l, i] = _e(r);
698
698
  q(() => {
699
699
  document.body.classList.remove(Kt.Light, Kt.Dark), document.body.classList.add(`lc-${o}-theme`);
700
- for (const [d, u] of Object.entries(l))
701
- document.body.style.setProperty(d, u);
700
+ for (const [s, u] of Object.entries(l))
701
+ document.body.style.setProperty(s, u);
702
702
  }, [o, l]);
703
703
  const n = pa(
704
704
  () => ({
705
705
  theme: o,
706
- toggleTheme: () => _((d) => d === "light" ? "dark" : "light"),
706
+ toggleTheme: () => _((s) => s === "light" ? "dark" : "light"),
707
707
  setTheme: _,
708
- setCustomVariables: (d) => {
709
- i(d);
708
+ setCustomVariables: (s) => {
709
+ i(s);
710
710
  }
711
711
  }),
712
712
  [o, _, i]
@@ -729,7 +729,7 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
729
729
  isSideNavigationVisible: o,
730
730
  toggleSideNavigationVisibility: () => _(!o),
731
731
  isMobileViewEnabled: l,
732
- setIsMobileViewEnabled: (d) => i(d)
732
+ setIsMobileViewEnabled: (s) => i(s)
733
733
  }),
734
734
  [
735
735
  o,
@@ -812,7 +812,7 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
812
812
  className: l,
813
813
  customColor: i,
814
814
  ...n
815
- } = e, d = b.createElement(a, {
815
+ } = e, s = b.createElement(a, {
816
816
  ...ri[r],
817
817
  ...i ? { color: i } : {}
818
818
  }), u = c(
@@ -820,7 +820,7 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
820
820
  Go[Uo],
821
821
  o && Go[`${Uo}--${_ ? "disabled--" : ""}${o}`]
822
822
  );
823
- return /* @__PURE__ */ t("span", { ...n, className: u, children: d });
823
+ return /* @__PURE__ */ t("span", { ...n, className: u, children: s });
824
824
  }, tt = {
825
825
  "heading-xl": "lc-Typography-module__heading-xl___jTpRq",
826
826
  "heading-lg": "lc-Typography-module__heading-lg___VGjgP",
@@ -864,7 +864,7 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
864
864
  bold: l,
865
865
  customColor: i,
866
866
  textAlign: n,
867
- ...d
867
+ ...s
868
868
  }) => b.createElement(
869
869
  e || oi[a],
870
870
  {
@@ -880,7 +880,7 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
880
880
  ...i && { color: i },
881
881
  ...n && { textAlign: n }
882
882
  },
883
- ...d
883
+ ...s
884
884
  },
885
885
  r
886
886
  ), B = ({
@@ -892,36 +892,36 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
892
892
  semiBold: l = !1,
893
893
  underline: i = !1,
894
894
  strike: n = !1,
895
- children: d,
895
+ children: s,
896
896
  className: u,
897
- customColor: s,
898
- textAlign: h,
899
- noMargin: p,
897
+ customColor: d,
898
+ textAlign: m,
899
+ noMargin: h,
900
900
  ...y
901
901
  }) => {
902
- const m = "paragraph";
902
+ const p = "paragraph";
903
903
  return b.createElement(
904
904
  e,
905
905
  {
906
906
  className: c(
907
907
  {
908
- [tt[`${m}-${a}`]]: !0,
909
- [tt[`${m}--semi-bold`]]: l && !_,
910
- [tt[`${m}--bold`]]: _ && !l,
911
- [tt[`${m}--strike`]]: n,
912
- [tt[`${m}--underline`]]: i,
913
- [tt[`${m}--uppercase`]]: o || r,
914
- [tt[`${m}--no-margin`]]: p
908
+ [tt[`${p}-${a}`]]: !0,
909
+ [tt[`${p}--semi-bold`]]: l && !_,
910
+ [tt[`${p}--bold`]]: _ && !l,
911
+ [tt[`${p}--strike`]]: n,
912
+ [tt[`${p}--underline`]]: i,
913
+ [tt[`${p}--uppercase`]]: o || r,
914
+ [tt[`${p}--no-margin`]]: h
915
915
  },
916
916
  u
917
917
  ),
918
918
  style: {
919
- ...s && { color: s },
920
- ...h && { textAlign: h }
919
+ ...d && { color: d },
920
+ ...m && { textAlign: m }
921
921
  },
922
922
  ...y
923
923
  },
924
- d
924
+ s
925
925
  );
926
926
  }, Lo = ({
927
927
  as: e = "div",
@@ -968,28 +968,28 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
968
968
  closed: a,
969
969
  isOpen: r
970
970
  }) => {
971
- const o = b.useRef(null), _ = b.useRef(null), [l, i] = b.useState(void 0), { isOpen: n, isMounted: d } = oa({
971
+ const o = b.useRef(null), _ = b.useRef(null), [l, i] = b.useState(void 0), { isOpen: n, isMounted: s } = oa({
972
972
  isVisible: r,
973
973
  elementRef: o
974
- }), { isOpen: u, isMounted: s } = oa(
974
+ }), { isOpen: u, isMounted: d } = oa(
975
975
  {
976
976
  isVisible: !r,
977
977
  elementRef: _
978
978
  }
979
979
  );
980
980
  return b.useEffect(() => {
981
- const h = r ? o.current : _.current;
982
- if (h) {
983
- const p = h.getBoundingClientRect().height;
984
- i(p);
981
+ const m = r ? o.current : _.current;
982
+ if (m) {
983
+ const h = m.getBoundingClientRect().height;
984
+ i(h);
985
985
  }
986
- }, [r, d, s]), /* @__PURE__ */ g(
986
+ }, [r, s, d]), /* @__PURE__ */ g(
987
987
  "div",
988
988
  {
989
989
  className: ya[ka],
990
990
  style: { height: l ? `${l}px` : "auto" },
991
991
  children: [
992
- d && /* @__PURE__ */ t(
992
+ s && /* @__PURE__ */ t(
993
993
  "div",
994
994
  {
995
995
  ref: o,
@@ -999,7 +999,7 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
999
999
  children: e
1000
1000
  }
1001
1001
  ),
1002
- s && /* @__PURE__ */ t(
1002
+ d && /* @__PURE__ */ t(
1003
1003
  "div",
1004
1004
  {
1005
1005
  ref: _,
@@ -1085,51 +1085,51 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1085
1085
  openOnInit: l = !1,
1086
1086
  fullWidthContent: i,
1087
1087
  hideChevron: n,
1088
- isOpen: d,
1088
+ isOpen: s,
1089
1089
  isPromo: u,
1090
- footer: s,
1091
- onClose: h,
1092
- onOpen: p,
1090
+ footer: d,
1091
+ onClose: m,
1092
+ onOpen: h,
1093
1093
  ...y
1094
1094
  }) => {
1095
- const m = d !== void 0, k = m ? d : l, x = b.useRef(null), {
1095
+ const p = s !== void 0, k = p ? s : l, x = b.useRef(null), {
1096
1096
  isOpen: w,
1097
- isMounted: N,
1097
+ isMounted: S,
1098
1098
  setShouldBeVisible: $
1099
1099
  } = oa({
1100
1100
  isVisible: k,
1101
1101
  elementRef: x
1102
- }), { size: C, handleResizeRef: S } = w_(), { handleExpandChange: f, handleKeyDown: v } = ci({
1103
- isControlled: m,
1102
+ }), { size: C, handleResizeRef: N } = w_(), { handleExpandChange: f, handleKeyDown: v } = ci({
1103
+ isControlled: p,
1104
1104
  isExpanded: w,
1105
1105
  setShouldBeVisible: $,
1106
- onOpen: p,
1107
- onClose: h
1108
- }), T = c(
1106
+ onOpen: h,
1107
+ onClose: m
1108
+ }), E = c(
1109
1109
  a,
1110
1110
  {
1111
1111
  [me[`${pe}--open`]]: w
1112
1112
  },
1113
1113
  e
1114
- ), I = (O) => {
1115
- const A = O ? ce : B, E = {
1114
+ ), O = (I) => {
1115
+ const A = I ? ce : B, T = {
1116
1116
  "aria-expanded": w,
1117
1117
  as: "div",
1118
1118
  className: c(me[`${pe}__label`], {
1119
- [me[`${pe}__label--promo`]]: O
1119
+ [me[`${pe}__label--promo`]]: I
1120
1120
  }),
1121
1121
  onClick: () => f(w),
1122
- bold: O ? void 0 : !0,
1123
- ...O ? { size: "xs" } : {}
1122
+ bold: I ? void 0 : !0,
1123
+ ...I ? { size: "xs" } : {}
1124
1124
  };
1125
- return /* @__PURE__ */ t(A, { ...E, children: ni(o, w) });
1125
+ return /* @__PURE__ */ t(A, { ...T, children: ni(o, w) });
1126
1126
  };
1127
1127
  return /* @__PURE__ */ g(
1128
1128
  "div",
1129
1129
  {
1130
1130
  tabIndex: 0,
1131
1131
  "aria-expanded": w,
1132
- className: T,
1132
+ className: E,
1133
1133
  onKeyDown: v,
1134
1134
  ...y,
1135
1135
  children: [
@@ -1143,7 +1143,7 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1143
1143
  })
1144
1144
  }
1145
1145
  ),
1146
- I(u),
1146
+ O(u),
1147
1147
  _ && /* @__PURE__ */ t(li, { isExpanded: w, children: _ }),
1148
1148
  /* @__PURE__ */ t(
1149
1149
  "div",
@@ -1151,7 +1151,7 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1151
1151
  className: me[`${pe}__content`],
1152
1152
  style: { maxHeight: w ? C : 0 },
1153
1153
  ref: x,
1154
- children: /* @__PURE__ */ t("div", { ref: S, children: N && /* @__PURE__ */ g(K, { children: [
1154
+ children: /* @__PURE__ */ t("div", { ref: N, children: S && /* @__PURE__ */ g(K, { children: [
1155
1155
  /* @__PURE__ */ t(
1156
1156
  B,
1157
1157
  {
@@ -1164,7 +1164,7 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1164
1164
  children: r
1165
1165
  }
1166
1166
  ),
1167
- s && /* @__PURE__ */ t(
1167
+ d && /* @__PURE__ */ t(
1168
1168
  B,
1169
1169
  {
1170
1170
  as: "div",
@@ -1173,7 +1173,7 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1173
1173
  className: c(me[`${pe}__footer`], {
1174
1174
  [me[`${pe}__footer--promo`]]: u
1175
1175
  }),
1176
- children: s
1176
+ children: d
1177
1177
  }
1178
1178
  )
1179
1179
  ] }) })
@@ -1220,17 +1220,17 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1220
1220
  openedOnInit: l = !1,
1221
1221
  keepOpenOnClick: i,
1222
1222
  flipOptions: n,
1223
- visible: d,
1223
+ visible: s,
1224
1224
  onClose: u,
1225
- onOpen: s,
1226
- floatingStrategy: h,
1227
- selectedOptions: p,
1225
+ onOpen: d,
1226
+ floatingStrategy: m,
1227
+ selectedOptions: h,
1228
1228
  footer: y,
1229
- ...m
1229
+ ...p
1230
1230
  }) => {
1231
- const k = d !== void 0, [x, w] = b.useState(l), [N, $] = b.useState(null), C = b.useRef(-1), S = Dr(), f = Ja(), v = b.useRef(null), T = k ? d : x, I = () => {
1232
- T ? (u?.(), !k && w(!1)) : (s?.(), !k && w(!0));
1233
- }, { x: O, y: A, strategy: E, refs: M, context: D } = Qa({
1231
+ const k = s !== void 0, [x, w] = b.useState(l), [S, $] = b.useState(null), C = b.useRef(-1), N = Dr(), f = Ja(), v = b.useRef(null), E = k ? s : x, O = () => {
1232
+ E ? (u?.(), !k && w(!1)) : (d?.(), !k && w(!0));
1233
+ }, { x: I, y: A, strategy: T, refs: M, context: D } = Qa({
1234
1234
  nodeId: f,
1235
1235
  middleware: [
1236
1236
  er(4),
@@ -1242,12 +1242,12 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1242
1242
  })
1243
1243
  ],
1244
1244
  placement: _,
1245
- open: T,
1246
- strategy: h,
1247
- onOpenChange: I,
1245
+ open: E,
1246
+ strategy: m,
1247
+ onOpenChange: O,
1248
1248
  whileElementsMounted: tr
1249
1249
  }), R = ar(D), F = rr(D, {
1250
- enabled: T
1250
+ enabled: E
1251
1251
  }), U = or(D), { getReferenceProps: se, getFloatingProps: ie } = _r([
1252
1252
  R,
1253
1253
  F,
@@ -1282,10 +1282,10 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1282
1282
  G.key === le.arrowUp && C.current > 0 && (G.preventDefault(), z(-1)), G.key === le.arrowDown && C.current + 1 < r.length && (G.preventDefault(), z(1));
1283
1283
  };
1284
1284
  b.useEffect(() => {
1285
- if (T)
1285
+ if (E)
1286
1286
  return document.addEventListener("keydown", he), () => document.removeEventListener("keydown", he);
1287
1287
  C.current = -1;
1288
- }, [T, he]);
1288
+ }, [E, he]);
1289
1289
  const Et = (G, fe) => {
1290
1290
  C.current = G, fe?.(), !k && !i && (w(!1), u?.());
1291
1291
  }, pt = (G, fe) => G.groupHeader ? /* @__PURE__ */ t(
@@ -1307,11 +1307,11 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1307
1307
  className: c(ht[`${ft}__list__item`], {
1308
1308
  [ht[`${ft}__list__item--disabled`]]: G.disabled,
1309
1309
  [ht[`${ft}__list__item--with-divider`]]: G.withDivider,
1310
- [ht[`${ft}__list__item--selected`]]: p?.includes(G.key)
1310
+ [ht[`${ft}__list__item--selected`]]: h?.includes(G.key)
1311
1311
  }),
1312
1312
  children: [
1313
1313
  G.element,
1314
- p?.includes(G.key) && /* @__PURE__ */ t(
1314
+ h?.includes(G.key) && /* @__PURE__ */ t(
1315
1315
  "div",
1316
1316
  {
1317
1317
  "data-testid": `${G.key}-selected-icon`,
@@ -1334,16 +1334,16 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1334
1334
  children: o
1335
1335
  }
1336
1336
  ),
1337
- /* @__PURE__ */ t(ba, { id: f, children: T && /* @__PURE__ */ g(
1337
+ /* @__PURE__ */ t(ba, { id: f, children: E && /* @__PURE__ */ g(
1338
1338
  "div",
1339
1339
  {
1340
1340
  ref: M.setFloating,
1341
1341
  className: ht[ft],
1342
1342
  style: {
1343
- position: E,
1343
+ position: T,
1344
1344
  top: A ?? "",
1345
- left: O ?? "",
1346
- ...!!N && { maxHeight: N },
1345
+ left: I ?? "",
1346
+ ...!!S && { maxHeight: S },
1347
1347
  ...de
1348
1348
  },
1349
1349
  ...ie(),
@@ -1351,7 +1351,7 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1351
1351
  r.length > 0 && /* @__PURE__ */ t(
1352
1352
  "ul",
1353
1353
  {
1354
- ...m,
1354
+ ...p,
1355
1355
  className: c(
1356
1356
  ht[`${ft}__list`],
1357
1357
  {
@@ -1377,7 +1377,7 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1377
1377
  }
1378
1378
  ) })
1379
1379
  ] });
1380
- return S === null ? /* @__PURE__ */ t(Mr, { children: Tt }) : Tt;
1380
+ return N === null ? /* @__PURE__ */ t(Mr, { children: Tt }) : Tt;
1381
1381
  }, fi = "lc-Loader-module__loader___Ukoov", bi = "lc-Loader-module__loader__spinner___cp5N7", vi = "lc-Loader-module__rotate___p-j1x", yi = "lc-Loader-module__loader__label___CF5-C", Ca = {
1382
1382
  loader: fi,
1383
1383
  loader__spinner: bi,
@@ -1478,58 +1478,58 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1478
1478
  size: l = "medium",
1479
1479
  icon: i = null,
1480
1480
  iconPosition: n = "left",
1481
- loaderLabel: d,
1481
+ loaderLabel: s,
1482
1482
  className: u,
1483
- children: s,
1484
- href: h,
1485
- onClick: p,
1483
+ children: d,
1484
+ href: m,
1485
+ onClick: h,
1486
1486
  animatedLabel: y,
1487
- ...m
1487
+ ...p
1488
1488
  }, k) => {
1489
- const [x, w] = b.useState(0), [N, $] = b.useState(!1), C = e || a, S = !s && i, f = y && s && i, v = ["text", "link", "link-light"].includes(_), T = h ? "a" : "button", I = c(
1489
+ const [x, w] = b.useState(0), [S, $] = b.useState(!1), C = e || a, N = !d && i, f = y && d && i, v = ["text", "link", "link-light"].includes(_), E = m ? "a" : "button", O = c(
1490
1490
  ve[ye],
1491
1491
  ve[`${ye}--${_}`],
1492
1492
  ve[`${ye}--${l}`],
1493
1493
  {
1494
1494
  [ve[`${ye}--loading`]]: e,
1495
1495
  [ve[`${ye}--full-width`]]: o,
1496
- [ve[`${ye}--with-${n}-icon`]]: i && !S && !v,
1497
- [ve[`${ye}--icon-only`]]: S,
1498
- [ve[`${ye}--icon-only--bg`]]: S && v,
1496
+ [ve[`${ye}--with-${n}-icon`]]: i && !N && !v,
1497
+ [ve[`${ye}--icon-only`]]: N,
1498
+ [ve[`${ye}--icon-only--bg`]]: N && v,
1499
1499
  [ve[`${ye}--disabled`]]: C,
1500
1500
  [ve[`${ye}--animated-label`]]: f,
1501
- [ve[`${ye}--animated-label--expanded`]]: f && N
1501
+ [ve[`${ye}--animated-label--expanded`]]: f && S
1502
1502
  },
1503
1503
  u
1504
1504
  );
1505
1505
  return /* @__PURE__ */ g(
1506
- T,
1506
+ E,
1507
1507
  {
1508
1508
  ref: k,
1509
- className: I,
1509
+ className: O,
1510
1510
  "aria-disabled": C,
1511
1511
  type: r,
1512
1512
  disabled: C,
1513
- ...!C && { href: h, onClick: p },
1514
- ...m,
1513
+ ...!C && { href: m, onClick: h },
1514
+ ...p,
1515
1515
  ...f && {
1516
- onMouseEnter: (O) => Vo(
1517
- O,
1516
+ onMouseEnter: (I) => Vo(
1517
+ I,
1518
1518
  () => $(!0),
1519
- m?.onMouseEnter
1519
+ p?.onMouseEnter
1520
1520
  ),
1521
- onMouseLeave: (O) => Vo(
1522
- O,
1521
+ onMouseLeave: (I) => Vo(
1522
+ I,
1523
1523
  () => $(!1),
1524
- m?.onMouseLeave
1524
+ p?.onMouseLeave
1525
1525
  ),
1526
- onBlur: (O) => Ci(
1527
- O,
1526
+ onBlur: (I) => Ci(
1527
+ I,
1528
1528
  () => $(!1),
1529
- m?.onBlur
1529
+ p?.onBlur
1530
1530
  ),
1531
- onKeyUp: (O) => {
1532
- (O.key === "Enter" || O.key === " ") && $(!0), O.key === "Escape" && $(!1), m?.onKeyUp?.(O);
1531
+ onKeyUp: (I) => {
1532
+ (I.key === "Enter" || I.key === " ") && $(!0), I.key === "Escape" && $(!1), p?.onKeyUp?.(I);
1533
1533
  }
1534
1534
  },
1535
1535
  children: [
@@ -1538,7 +1538,7 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1538
1538
  {
1539
1539
  "data-testid": "button-loader",
1540
1540
  size: "small",
1541
- label: d,
1541
+ label: s,
1542
1542
  className: ve[`${ye}__loader`],
1543
1543
  ...ki(_)
1544
1544
  }
@@ -1560,8 +1560,8 @@ const Vd = (e) => e === "dark" ? Kt.Dark : Kt.Light, $_ = d_(void 0), Wd = () =>
1560
1560
  "div",
1561
1561
  {
1562
1562
  className: ve[`${ye}__content`],
1563
- style: f ? { maxWidth: N ? x : 0 } : void 0,
1564
- children: f ? /* @__PURE__ */ t("span", { ref: (O) => wi(O, w), children: s }) : s
1563
+ style: f ? { maxWidth: S ? x : 0 } : void 0,
1564
+ children: f ? /* @__PURE__ */ t("span", { ref: (I) => wi(I, w), children: d }) : d
1565
1565
  }
1566
1566
  )
1567
1567
  ]
@@ -1670,27 +1670,27 @@ const Ti = (e) => {
1670
1670
  kind: l,
1671
1671
  placement: i = "bottom",
1672
1672
  isVisible: n,
1673
- fullSpaceContent: d,
1673
+ fullSpaceContent: s,
1674
1674
  onClose: u,
1675
- onOpen: s,
1676
- withFadeAnimation: h = !0,
1677
- transitionDuration: p = 200,
1675
+ onOpen: d,
1676
+ withFadeAnimation: m = !0,
1677
+ transitionDuration: h = 200,
1678
1678
  hoverOnDuration: y,
1679
- hoverOffDuration: m,
1679
+ hoverOffDuration: p,
1680
1680
  transitionDelay: k = 0,
1681
1681
  hoverOnDelay: x,
1682
1682
  hoverOffDelay: w,
1683
- triggerOnClick: N = !1,
1683
+ triggerOnClick: S = !1,
1684
1684
  triggerOnHover: $ = !0,
1685
1685
  offsetMainAxis: C = 8,
1686
- offsetCrossAxis: S = 0,
1686
+ offsetCrossAxis: N = 0,
1687
1687
  referenceElement: f,
1688
1688
  activationThreshold: v = 0,
1689
- useDismissHookProps: T,
1690
- useClickHookProps: I,
1691
- hoverOutDelayTimeout: O = 100,
1689
+ useDismissHookProps: E,
1690
+ useClickHookProps: O,
1691
+ hoverOutDelayTimeout: I = 100,
1692
1692
  arrowOffsetY: A,
1693
- arrowOffsetX: E,
1693
+ arrowOffsetX: T,
1694
1694
  closeOnTriggerBlur: M = !1,
1695
1695
  floatingStrategy: D,
1696
1696
  portal: R,
@@ -1701,10 +1701,10 @@ const Ti = (e) => {
1701
1701
  W[cr],
1702
1702
  a,
1703
1703
  he && W[`${cr}--${he}`],
1704
- d && W[`${cr}--full-space`]
1704
+ s && W[`${cr}--full-space`]
1705
1705
  ), G = typeof o == "function", fe = (Zt) => {
1706
- Zt !== z && (Zt ? s?.() : u?.(), !se && de(Zt));
1707
- }, be = (Zt) => h ? Zt ?? p : 0, _a = (Zt) => Zt ?? k, {
1706
+ Zt !== z && (Zt ? d?.() : u?.(), !se && de(Zt));
1707
+ }, be = (Zt) => m ? Zt ?? h : 0, _a = (Zt) => Zt ?? k, {
1708
1708
  floatingStyles: la,
1709
1709
  refs: Bt,
1710
1710
  context: V,
@@ -1712,7 +1712,7 @@ const Ti = (e) => {
1712
1712
  } = Qa({
1713
1713
  nodeId: pt,
1714
1714
  middleware: [
1715
- er({ mainAxis: C, crossAxis: S }),
1715
+ er({ mainAxis: C, crossAxis: N }),
1716
1716
  So(),
1717
1717
  Or(),
1718
1718
  El({ element: Q, padding: 8 }),
@@ -1728,17 +1728,17 @@ const Ti = (e) => {
1728
1728
  restMs: v,
1729
1729
  delay: {
1730
1730
  open: _a(x),
1731
- close: _a(w || O)
1731
+ close: _a(w || I)
1732
1732
  },
1733
1733
  enabled: $,
1734
1734
  handleClose: M ? null : Il()
1735
- }), qr = Al(V), Hr = rr(V, T), zr = or(V, { role: "tooltip" }), Vr = ar(V, {
1736
- enabled: N,
1737
- ...I
1735
+ }), qr = Al(V), Hr = rr(V, E), zr = or(V, { role: "tooltip" }), Vr = ar(V, {
1736
+ enabled: S,
1737
+ ...O
1738
1738
  }), { isMounted: Wr, styles: Kr } = Pr(V, {
1739
1739
  duration: {
1740
1740
  open: be(y),
1741
- close: be(m)
1741
+ close: be(p)
1742
1742
  }
1743
1743
  }), { status: Yr } = Dl(V), { getReferenceProps: Xr, getFloatingProps: Zr } = _r([
1744
1744
  Lr,
@@ -1775,7 +1775,7 @@ const Ti = (e) => {
1775
1775
  style: {
1776
1776
  ...Ei(
1777
1777
  A,
1778
- E,
1778
+ T,
1779
1779
  Gr,
1780
1780
  Ht
1781
1781
  )
@@ -1848,20 +1848,20 @@ const Ti = (e) => {
1848
1848
  theme: l,
1849
1849
  handleCloseAction: i,
1850
1850
  primaryButton: n,
1851
- secondaryButton: d
1851
+ secondaryButton: s
1852
1852
  }) => {
1853
- const u = (p) => p === "invert" ? "secondary" : p === "important" ? "plain-lock-black" : "high-contrast", s = (p) => p === "invert" ? "link-inverted" : p === "important" ? "text-lock-black" : "text", h = (p, y = !0) => {
1854
- if (!p) return null;
1855
- if (b.isValidElement(p))
1856
- return p;
1857
- const m = p, k = y ? m.kind || u(l) : m.kind || s(l);
1853
+ const u = (h) => h === "invert" ? "secondary" : h === "important" ? "plain-lock-black" : "high-contrast", d = (h) => h === "invert" ? "link-inverted" : h === "important" ? "text-lock-black" : "text", m = (h, y = !0) => {
1854
+ if (!h) return null;
1855
+ if (b.isValidElement(h))
1856
+ return h;
1857
+ const p = h, k = y ? p.kind || u(l) : p.kind || d(l);
1858
1858
  return /* @__PURE__ */ t(
1859
1859
  L,
1860
1860
  {
1861
- ...m,
1861
+ ...p,
1862
1862
  kind: k,
1863
- onClick: m.handleClick,
1864
- children: m.label
1863
+ onClick: p.handleClick,
1864
+ children: p.label
1865
1865
  }
1866
1866
  );
1867
1867
  };
@@ -1906,8 +1906,8 @@ const Ti = (e) => {
1906
1906
  W[`${bt}-footer--interactive`]
1907
1907
  ),
1908
1908
  children: [
1909
- h(n, !0),
1910
- h(d, !1)
1909
+ m(n, !0),
1910
+ m(s, !1)
1911
1911
  ]
1912
1912
  }
1913
1913
  )
@@ -2012,29 +2012,29 @@ const Ti = (e) => {
2012
2012
  vertical: l,
2013
2013
  menuFooter: i
2014
2014
  }) => {
2015
- const [n, d] = b.useState(
2015
+ const [n, s] = b.useState(
2016
2016
  o.length
2017
- ), [u, s] = b.useState([]), [h, p] = b.useState(!1), y = r === "scroll", m = c(
2017
+ ), [u, d] = b.useState([]), [m, h] = b.useState(!1), y = r === "scroll", p = c(
2018
2018
  ae[sr],
2019
2019
  e,
2020
2020
  l && ae[`${sr}--vertical`]
2021
2021
  ), k = !y && u.length !== 0;
2022
2022
  b.useEffect(() => {
2023
- y || (o.length > n ? s(o.slice(n, o.length)) : s([]));
2023
+ y || (o.length > n ? d(o.slice(n, o.length)) : d([]));
2024
2024
  }, [o, n]), b.useEffect(() => {
2025
- const N = !!window.ResizeObserver;
2026
- if (!y && N) {
2025
+ const S = !!window.ResizeObserver;
2026
+ if (!y && S) {
2027
2027
  const $ = new ResizeObserver((C) => {
2028
- const { width: S, height: f } = C[0].contentRect, v = l ? f : S, T = u.length > 0 ? 60 : 0, I = Math.floor(
2029
- (v - T) / Mi
2028
+ const { width: N, height: f } = C[0].contentRect, v = l ? f : N, E = u.length > 0 ? 60 : 0, O = Math.floor(
2029
+ (v - E) / Mi
2030
2030
  );
2031
- I >= 0 && I !== n && d(I);
2031
+ O >= 0 && O !== n && s(O);
2032
2032
  });
2033
2033
  return $.observe(document.querySelector(`#${a}`)), () => $.disconnect();
2034
2034
  }
2035
2035
  }, [u, y, n]);
2036
2036
  const x = b.useCallback(() => u.reduce(
2037
- (N, $) => {
2037
+ (S, $) => {
2038
2038
  if (!$.hideInMenu) {
2039
2039
  const C = {
2040
2040
  key: $.key,
@@ -2042,24 +2042,24 @@ const Ti = (e) => {
2042
2042
  withDivider: $.withDivider,
2043
2043
  onClick: $.onClick
2044
2044
  };
2045
- N.push(C);
2045
+ S.push(C);
2046
2046
  }
2047
- return N;
2047
+ return S;
2048
2048
  },
2049
2049
  []
2050
- ), [u]), w = u.find((N) => N.key === _);
2051
- return /* @__PURE__ */ g("div", { id: a, className: m, children: [
2050
+ ), [u]), w = u.find((S) => S.key === _);
2051
+ return /* @__PURE__ */ g("div", { id: a, className: p, children: [
2052
2052
  /* @__PURE__ */ t(
2053
2053
  "div",
2054
2054
  {
2055
2055
  className: c(ae[`${sr}__items`], {
2056
2056
  [ae[`${sr}__items--scroll`]]: y
2057
2057
  }),
2058
- children: o.slice(0, n).map((N) => /* @__PURE__ */ t(
2058
+ children: o.slice(0, n).map((S) => /* @__PURE__ */ t(
2059
2059
  Pi,
2060
2060
  {
2061
- option: N,
2062
- isActive: N.key === _,
2061
+ option: S,
2062
+ isActive: S.key === _,
2063
2063
  vertical: l
2064
2064
  }
2065
2065
  ))
@@ -2077,8 +2077,8 @@ const Ti = (e) => {
2077
2077
  Eo,
2078
2078
  {
2079
2079
  selectedOptions: _ ? [_] : [],
2080
- onOpen: () => p(!0),
2081
- onClose: () => p(!1),
2080
+ onOpen: () => h(!0),
2081
+ onClose: () => h(!1),
2082
2082
  floatingStrategy: "fixed",
2083
2083
  placement: l ? "left-start" : "bottom-end",
2084
2084
  options: x(),
@@ -2101,7 +2101,7 @@ const Ti = (e) => {
2101
2101
  kind: "primary",
2102
2102
  className: c(
2103
2103
  ae[`${It}__button__icon`],
2104
- h && ae[`${It}__button__icon--open`]
2104
+ m && ae[`${It}__button__icon--open`]
2105
2105
  )
2106
2106
  }
2107
2107
  ),
@@ -2143,13 +2143,13 @@ const Ti = (e) => {
2143
2143
  isLoading: i = !1,
2144
2144
  isLoadingAnimated: n = !1
2145
2145
  }) => {
2146
- const d = c(At[Dt], e), u = c(At["main-wrapper"], {
2146
+ const s = c(At[Dt], e), u = c(At["main-wrapper"], {
2147
2147
  [At[`${Dt}--loading`]]: i,
2148
2148
  [At[`${Dt}--loading--animated`]]: n
2149
- }), s = (p) => {
2150
- i || p.currentTarget === document.activeElement && l?.();
2151
- }, h = (p) => {
2152
- i || p.currentTarget === document.activeElement && (p.key === "Enter" || p.key === " " || p.key === "Spacebar" || p.key === "Space") && (p.preventDefault(), l?.());
2149
+ }), d = (h) => {
2150
+ i || h.currentTarget === document.activeElement && l?.();
2151
+ }, m = (h) => {
2152
+ i || h.currentTarget === document.activeElement && (h.key === "Enter" || h.key === " " || h.key === "Spacebar" || h.key === "Space") && (h.preventDefault(), l?.());
2153
2153
  };
2154
2154
  return /* @__PURE__ */ g("div", { className: u, children: [
2155
2155
  /* @__PURE__ */ t("div", { "aria-live": "polite", className: At["visually-hidden"], children: i ? "Loading content" : null }),
@@ -2160,9 +2160,9 @@ const Ti = (e) => {
2160
2160
  "aria-label": "Action Card",
2161
2161
  "aria-busy": i,
2162
2162
  tabIndex: i ? -1 : 0,
2163
- className: d,
2164
- onClick: s,
2165
- onKeyDown: h,
2163
+ className: s,
2164
+ onClick: d,
2165
+ onKeyDown: m,
2166
2166
  children: !i && /* @__PURE__ */ g(K, { children: [
2167
2167
  /* @__PURE__ */ t(
2168
2168
  "div",
@@ -2205,9 +2205,9 @@ const Ti = (e) => {
2205
2205
  if (!a && _)
2206
2206
  return _();
2207
2207
  const u = setTimeout(() => {
2208
- const s = setInterval(() => {
2209
- const h = n.current;
2210
- h < e.length ? (i((p) => p + e[h]), n.current = h + 1) : (clearInterval(s), _?.());
2208
+ const d = setInterval(() => {
2209
+ const m = n.current;
2210
+ m < e.length ? (i((h) => h + e[m]), n.current = m + 1) : (clearInterval(d), _?.());
2211
2211
  }, o);
2212
2212
  }, r);
2213
2213
  return () => {
@@ -2256,20 +2256,20 @@ const Ti = (e) => {
2256
2256
  onClose: l,
2257
2257
  ...i
2258
2258
  }) => {
2259
- const n = b.useRef(null), [d, u] = b.useState(null), s = c(
2259
+ const n = b.useRef(null), [s, u] = b.useState(null), d = c(
2260
2260
  Ve[We],
2261
2261
  Ve[`${We}--${_}`],
2262
- d === "large" && Ve[`${We}--large`],
2263
- d === "medium" && Ve[`${We}--medium`],
2264
- d === "small" && Ve[`${We}--small`],
2262
+ s === "large" && Ve[`${We}--large`],
2263
+ s === "medium" && Ve[`${We}--medium`],
2264
+ s === "small" && Ve[`${We}--small`],
2265
2265
  a
2266
2266
  );
2267
2267
  return b.useEffect(() => {
2268
- const h = () => n.current && n.current.offsetWidth <= 400 ? u("small") : n.current && n.current.offsetWidth > 400 && n.current.offsetWidth <= 800 ? u("medium") : u("large"), p = m_(() => {
2269
- h();
2268
+ const m = () => n.current && n.current.offsetWidth <= 400 ? u("small") : n.current && n.current.offsetWidth > 400 && n.current.offsetWidth <= 800 ? u("medium") : u("large"), h = m_(() => {
2269
+ m();
2270
2270
  }, 500);
2271
- return window.addEventListener("resize", p), h(), () => window.removeEventListener("resize", p);
2272
- }), /* @__PURE__ */ g("div", { ref: n, className: s, ...i, children: [
2271
+ return window.addEventListener("resize", h), m(), () => window.removeEventListener("resize", h);
2272
+ }), /* @__PURE__ */ g("div", { ref: n, className: d, ...i, children: [
2273
2273
  /* @__PURE__ */ g("div", { className: Ve[`${We}__content`], children: [
2274
2274
  /* @__PURE__ */ g("div", { className: Ve[`${We}__content__wrapper`], children: [
2275
2275
  /* @__PURE__ */ t(
@@ -2348,21 +2348,21 @@ const Ti = (e) => {
2348
2348
  sideNavigation: l,
2349
2349
  topBar: i,
2350
2350
  topBarClassName: n,
2351
- sideNavigationContainerClassName: d,
2351
+ sideNavigationContainerClassName: s,
2352
2352
  contentClassName: u
2353
- } = e, s = c(Ke[B_], r), {
2354
- isSideNavigationVisible: h,
2355
- setIsMobileViewEnabled: p,
2353
+ } = e, d = c(Ke[B_], r), {
2354
+ isSideNavigationVisible: m,
2355
+ setIsMobileViewEnabled: h,
2356
2356
  isMobileViewEnabled: y
2357
- } = xo(), m = b.useRef(null), { isOpen: k, isMounted: x } = oa({
2358
- isVisible: h,
2359
- elementRef: m
2360
- }), { isMobile: w, handleResizeRef: N } = Zl({
2357
+ } = xo(), p = b.useRef(null), { isOpen: k, isMounted: x } = oa({
2358
+ isVisible: m,
2359
+ elementRef: p
2360
+ }), { isMobile: w, handleResizeRef: S } = Zl({
2361
2361
  mobileBreakpoint: Yi
2362
2362
  });
2363
2363
  return b.useEffect(() => {
2364
- p(w);
2365
- }, [w]), /* @__PURE__ */ g("div", { className: s, ref: N, children: [
2364
+ h(w);
2365
+ }, [w]), /* @__PURE__ */ g("div", { className: d, ref: S, children: [
2366
2366
  !y && o,
2367
2367
  /* @__PURE__ */ g(
2368
2368
  "div",
@@ -2394,11 +2394,11 @@ const Ti = (e) => {
2394
2394
  !y && l && /* @__PURE__ */ t(
2395
2395
  "div",
2396
2396
  {
2397
- ref: m,
2397
+ ref: p,
2398
2398
  className: c(
2399
2399
  Ke[`${_t}__content-wrapper__nav-bar-wrapper`],
2400
2400
  "lc-dark-theme",
2401
- d,
2401
+ s,
2402
2402
  {
2403
2403
  [Ke[`${_t}__content-wrapper__nav-bar-wrapper--open`]]: k
2404
2404
  }
@@ -2502,14 +2502,14 @@ const ji = "side-navigation-item-test-id", Ji = "side-navigation-active-item-tes
2502
2502
  rightNode: l,
2503
2503
  onClick: i,
2504
2504
  isActive: n,
2505
- isMainEntry: d,
2505
+ isMainEntry: s,
2506
2506
  onItemHover: u,
2507
- isIconHidden: s,
2508
- ...h
2507
+ isIconHidden: d,
2508
+ ...m
2509
2509
  }) => {
2510
- const p = typeof o == "string", y = (k) => {
2510
+ const h = typeof o == "string", y = (k) => {
2511
2511
  k.preventDefault(), i?.();
2512
- }, m = (k) => {
2512
+ }, p = (k) => {
2513
2513
  k.key === "Enter" && (k.preventDefault(), i?.());
2514
2514
  };
2515
2515
  return /* @__PURE__ */ t(
@@ -2518,19 +2518,19 @@ const ji = "side-navigation-item-test-id", Ji = "side-navigation-active-item-tes
2518
2518
  className: c([Ye[Xe], _]),
2519
2519
  "data-testid": n ? Ji : ji,
2520
2520
  "data-active": n,
2521
- ...h,
2521
+ ...m,
2522
2522
  children: /* @__PURE__ */ g(
2523
2523
  "a",
2524
2524
  {
2525
2525
  tabIndex: 0,
2526
2526
  className: c(Ye[`${Xe}__anchor`], {
2527
2527
  [Ye[`${Xe}__anchor--active`]]: n,
2528
- [Ye[`${Xe}__anchor--main-entry`]]: d,
2529
- [Ye[`${Xe}__anchor--icon-hidden`]]: s
2528
+ [Ye[`${Xe}__anchor--main-entry`]]: s,
2529
+ [Ye[`${Xe}__anchor--icon-hidden`]]: d
2530
2530
  }),
2531
2531
  href: r,
2532
2532
  onClick: y,
2533
- onKeyDown: m,
2533
+ onKeyDown: p,
2534
2534
  onMouseEnter: u || Za,
2535
2535
  onFocus: u || Za,
2536
2536
  children: [
@@ -2538,18 +2538,18 @@ const ji = "side-navigation-item-test-id", Ji = "side-navigation-active-item-tes
2538
2538
  "span",
2539
2539
  {
2540
2540
  className: c(Ye[`${Xe}__left-node`], {
2541
- [Ye[`${Xe}__left-node--active`]]: n || d
2541
+ [Ye[`${Xe}__left-node--active`]]: n || s
2542
2542
  }),
2543
2543
  "data-testid": Qi,
2544
2544
  children: e
2545
2545
  }
2546
2546
  ),
2547
- p ? /* @__PURE__ */ t(
2547
+ h ? /* @__PURE__ */ t(
2548
2548
  B,
2549
2549
  {
2550
- bold: n || d,
2550
+ bold: n || s,
2551
2551
  className: c(Ye[`${Xe}__label`], {
2552
- [Ye[`${Xe}__label--active`]]: n || d
2552
+ [Ye[`${Xe}__label--active`]]: n || s
2553
2553
  }),
2554
2554
  children: o
2555
2555
  }
@@ -2557,7 +2557,7 @@ const ji = "side-navigation-item-test-id", Ji = "side-navigation-active-item-tes
2557
2557
  "span",
2558
2558
  {
2559
2559
  className: c(Ye[`${Xe}__custom-label`], {
2560
- [Ye[`${Xe}__custom-label--active`]]: n || d
2560
+ [Ye[`${Xe}__custom-label--active`]]: n || s
2561
2561
  }),
2562
2562
  children: o
2563
2563
  }
@@ -2588,22 +2588,22 @@ const ji = "side-navigation-item-test-id", Ji = "side-navigation-active-item-tes
2588
2588
  listWrapperClassName: l,
2589
2589
  children: i,
2590
2590
  isCollapsible: n,
2591
- isLinkLabel: d,
2591
+ isLinkLabel: s,
2592
2592
  isActive: u,
2593
- isOpen: s,
2594
- isMounted: h,
2595
- setShouldBeVisible: p,
2593
+ isOpen: d,
2594
+ isMounted: m,
2595
+ setShouldBeVisible: h,
2596
2596
  onItemHover: y,
2597
- onClick: m,
2597
+ onClick: p,
2598
2598
  listWrapperRef: k,
2599
2599
  shouldOpenOnInit: x = !1
2600
2600
  }) => {
2601
- const [w, N] = b.useState(!1), [$, C] = b.useState(0), S = b.useRef(!1), f = b.useRef(null), v = k ?? f, { isOpen: T, isMounted: I, setShouldBeVisible: O } = oa({
2601
+ const [w, S] = b.useState(!1), [$, C] = b.useState(0), N = b.useRef(!1), f = b.useRef(null), v = k ?? f, { isOpen: E, isMounted: O, setShouldBeVisible: I } = oa({
2602
2602
  isVisible: !n || x,
2603
2603
  elementRef: v
2604
- }), A = s ?? T, E = h ?? I, M = p ?? O, D = typeof a == "function" ? a(A) : a, R = typeof e == "function" ? e(A) : e, F = () => M(!0), U = () => {
2604
+ }), A = d ?? E, T = m ?? O, M = h ?? I, D = typeof a == "function" ? a(A) : a, R = typeof e == "function" ? e(A) : e, F = () => M(!0), U = () => {
2605
2605
  n && M((ie) => !ie);
2606
- }, se = () => m ? m({ toggle: U }) : U();
2606
+ }, se = () => p ? p({ toggle: U }) : U();
2607
2607
  return b.useEffect(() => {
2608
2608
  if (!i || !n)
2609
2609
  return;
@@ -2612,13 +2612,13 @@ const ji = "side-navigation-item-test-id", Ji = "side-navigation-active-item-tes
2612
2612
  ), de = !!ie?.some(
2613
2613
  (z) => z.props?.isActive
2614
2614
  );
2615
- N(de);
2615
+ S(de);
2616
2616
  const Q = (ie?.length || 0) * an;
2617
2617
  C(Q);
2618
2618
  }, [i]), b.useEffect(() => {
2619
- !S.current && w && F(), S.current = w;
2620
- }, [w, S.current, x]), /* @__PURE__ */ g("div", { "data-testid": "side-navigation-group", className: vt[yt], children: [
2621
- n || d ? /* @__PURE__ */ t(
2619
+ !N.current && w && F(), N.current = w;
2620
+ }, [w, N.current, x]), /* @__PURE__ */ g("div", { "data-testid": "side-navigation-group", className: vt[yt], children: [
2621
+ n || s ? /* @__PURE__ */ t(
2622
2622
  en,
2623
2623
  {
2624
2624
  leftNode: /* @__PURE__ */ t(
@@ -2644,7 +2644,7 @@ const ji = "side-navigation-item-test-id", Ji = "side-navigation-active-item-tes
2644
2644
  onItemHover: y,
2645
2645
  rightNode: D,
2646
2646
  className: _,
2647
- "data-testid": d ? tn : void 0
2647
+ "data-testid": s ? tn : void 0
2648
2648
  }
2649
2649
  ) : /* @__PURE__ */ g(
2650
2650
  "span",
@@ -2679,7 +2679,7 @@ const ji = "side-navigation-item-test-id", Ji = "side-navigation-active-item-tes
2679
2679
  l
2680
2680
  ]),
2681
2681
  style: n ? { maxHeight: A ? $ : 0 } : void 0,
2682
- children: E && /* @__PURE__ */ t("ul", { className: c(vt[`${yt}__list`], r), children: i })
2682
+ children: T && /* @__PURE__ */ t("ul", { className: c(vt[`${yt}__list`], r), children: i })
2683
2683
  }
2684
2684
  )
2685
2685
  ] });
@@ -2731,12 +2731,12 @@ const on = "lc-Badge-module__badge___ZbEBU", _n = "lc-Badge-module__badge__dot__
2731
2731
  dr[ur],
2732
2732
  dr[`${ur}--${o}`],
2733
2733
  dr[`${ur}--${_}`]
2734
- ), d = {
2734
+ ), s = {
2735
2735
  counter: rn(a, r),
2736
2736
  alert: "!",
2737
2737
  dot: /* @__PURE__ */ t("span", { "data-testid": "badge-dot", className: dr[`${ur}__dot`] })
2738
2738
  }[l];
2739
- return /* @__PURE__ */ t("span", { className: n, ...i, children: d });
2739
+ return /* @__PURE__ */ t("span", { className: n, ...i, children: s });
2740
2740
  }, Gt = {
2741
2741
  "navigation-item": "lc-NavigationItem-module__navigation-item___KVL3Y",
2742
2742
  "navigation-item--disabled": "lc-NavigationItem-module__navigation-item--disabled___VY8pA",
@@ -2771,11 +2771,11 @@ const on = "lc-Badge-module__badge___ZbEBU", _n = "lc-Badge-module__badge__dot__
2771
2771
  disabled: l = !1,
2772
2772
  badge: i,
2773
2773
  isActive: n,
2774
- onClick: d,
2774
+ onClick: s,
2775
2775
  className: u,
2776
- ...s
2776
+ ...d
2777
2777
  }) => {
2778
- const { isMobileViewEnabled: h } = xo();
2778
+ const { isMobileViewEnabled: m } = xo();
2779
2779
  return /* @__PURE__ */ t(
2780
2780
  "li",
2781
2781
  {
@@ -2793,7 +2793,7 @@ const on = "lc-Badge-module__badge___ZbEBU", _n = "lc-Badge-module__badge__dot__
2793
2793
  floatingStrategy: "fixed",
2794
2794
  placement: "right",
2795
2795
  kind: "invert",
2796
- isVisible: h || !a || l ? !1 : void 0,
2796
+ isVisible: m || !a || l ? !1 : void 0,
2797
2797
  offsetMainAxis: 12,
2798
2798
  hoverOnDelay: 400,
2799
2799
  useClickHookProps: { ignoreMouse: !0 },
@@ -2813,16 +2813,16 @@ const on = "lc-Badge-module__badge___ZbEBU", _n = "lc-Badge-module__badge__dot__
2813
2813
  [Gt[`${Ut}__button--active`]]: n,
2814
2814
  [Gt[`${Ut}__button--opacity`]]: _,
2815
2815
  [Gt[`${Ut}__button--disabled`]]: l,
2816
- [Gt[`${Ut}__button--mobile`]]: h
2816
+ [Gt[`${Ut}__button--mobile`]]: m
2817
2817
  },
2818
2818
  "lc-dark-theme"
2819
2819
  ),
2820
- onClick: (p) => !l && d(p, e),
2820
+ onClick: (h) => !l && s(h, e),
2821
2821
  href: o,
2822
- ...s,
2822
+ ...d,
2823
2823
  children: [
2824
2824
  r,
2825
- h && a
2825
+ m && a
2826
2826
  ]
2827
2827
  }
2828
2828
  ),
@@ -2887,23 +2887,23 @@ const on = "lc-Badge-module__badge___ZbEBU", _n = "lc-Badge-module__badge__dot__
2887
2887
  isVisible: i = !0,
2888
2888
  id: n
2889
2889
  }) => {
2890
- const [d, u] = b.useState(!1), s = b.useRef(null), { isMounted: h, isOpen: p } = oa({
2890
+ const [s, u] = b.useState(!1), d = b.useRef(null), { isMounted: m, isOpen: h } = oa({
2891
2891
  isVisible: i,
2892
- elementRef: s,
2892
+ elementRef: d,
2893
2893
  includeSleepWakeScenario: !0
2894
2894
  }), y = b.useCallback(
2895
2895
  (C) => Ya(
2896
2896
  C,
2897
- (S) => u(S.width < Xi)
2897
+ (N) => u(N.width < Xi)
2898
2898
  ),
2899
2899
  []
2900
- ), m = a === "warning" ? "link-inverted" : "text", k = a === "warning" ? "secondary" : "high-contrast", x = _?.kind, w = l?.kind, N = _ || l ? /* @__PURE__ */ g("div", { className: ut[`${zt}__cta-wrapper`], children: [
2900
+ ), p = a === "warning" ? "link-inverted" : "text", k = a === "warning" ? "secondary" : "high-contrast", x = _?.kind, w = l?.kind, S = _ || l ? /* @__PURE__ */ g("div", { className: ut[`${zt}__cta-wrapper`], children: [
2901
2901
  _ && /* @__PURE__ */ t(
2902
2902
  L,
2903
2903
  {
2904
2904
  size: "compact",
2905
2905
  ..._,
2906
- kind: d ? m : x || k,
2906
+ kind: s ? p : x || k,
2907
2907
  children: _.label
2908
2908
  }
2909
2909
  ),
@@ -2912,14 +2912,14 @@ const on = "lc-Badge-module__badge___ZbEBU", _n = "lc-Badge-module__badge__dot__
2912
2912
  {
2913
2913
  size: "compact",
2914
2914
  ...l,
2915
- kind: d ? m : w || k,
2915
+ kind: s ? p : w || k,
2916
2916
  children: l.label
2917
2917
  }
2918
2918
  )
2919
2919
  ] }) : null, $ = /* @__PURE__ */ g(K, { children: [
2920
2920
  /* @__PURE__ */ g("div", { className: ut[`${zt}__children-wrapper`], children: [
2921
2921
  o,
2922
- N
2922
+ S
2923
2923
  ] }),
2924
2924
  r && /* @__PURE__ */ t(
2925
2925
  "button",
@@ -2930,18 +2930,18 @@ const on = "lc-Badge-module__badge___ZbEBU", _n = "lc-Badge-module__badge__dot__
2930
2930
  }
2931
2931
  )
2932
2932
  ] });
2933
- return /* @__PURE__ */ t(K, { children: h && /* @__PURE__ */ t("div", { ref: y, children: /* @__PURE__ */ t(
2933
+ return /* @__PURE__ */ t(K, { children: m && /* @__PURE__ */ t("div", { ref: y, children: /* @__PURE__ */ t(
2934
2934
  "div",
2935
2935
  {
2936
2936
  className: c(
2937
2937
  ut[`${zt}__wrapper`],
2938
2938
  {
2939
- [ut[`${zt}__wrapper--open`]]: p
2939
+ [ut[`${zt}__wrapper--open`]]: h
2940
2940
  },
2941
2941
  "lc-dark-theme"
2942
2942
  // Alerts are forced into dark mode to maintain consistency of the colors
2943
2943
  ),
2944
- ref: s,
2944
+ ref: d,
2945
2945
  role: "status",
2946
2946
  children: /* @__PURE__ */ t(
2947
2947
  "div",
@@ -2952,7 +2952,7 @@ const on = "lc-Badge-module__badge___ZbEBU", _n = "lc-Badge-module__badge__dot__
2952
2952
  ut[zt],
2953
2953
  ut[`${zt}--${a}`],
2954
2954
  {
2955
- [ut[`${zt}--open`]]: p
2955
+ [ut[`${zt}--open`]]: h
2956
2956
  },
2957
2957
  e
2958
2958
  ),
@@ -3069,11 +3069,11 @@ const mr = {
3069
3069
  isPromo: l = !1,
3070
3070
  cropOnBlur: i = !0,
3071
3071
  noDataFallbackText: n = "No data",
3072
- ...d
3072
+ ...s
3073
3073
  }, u) => {
3074
- const s = b.useRef(null), { readOnly: h } = xt(), p = h || d.readOnly;
3075
- b.useImperativeHandle(u, () => s.current, []);
3076
- const [y, m] = b.useState(!1), [k, x] = b.useState(!1), { type: w, onFocus: N, onBlur: $ } = d, C = c(
3074
+ const d = b.useRef(null), { readOnly: m } = xt(), h = m || s.readOnly;
3075
+ b.useImperativeHandle(u, () => d.current, []);
3076
+ const [y, p] = b.useState(!1), [k, x] = b.useState(!1), { type: w, onFocus: S, onBlur: $ } = s, C = c(
3077
3077
  _,
3078
3078
  {
3079
3079
  [at[`${rt}--disabled`]]: a,
@@ -3082,13 +3082,13 @@ const mr = {
3082
3082
  [at[`${rt}--crop`]]: i
3083
3083
  },
3084
3084
  o
3085
- ), S = a ? "var(--content-basic-disabled)" : "var(--content-basic-primary)", f = k ? el : tl, v = r && r.place === "left", T = r && w !== "password" && r.place === "right", I = () => {
3086
- s.current?.focus();
3085
+ ), N = a ? "var(--content-basic-disabled)" : "var(--content-basic-primary)", f = k ? el : tl, v = r && r.place === "left", E = r && w !== "password" && r.place === "right", O = () => {
3086
+ d.current?.focus();
3087
3087
  };
3088
- return p ? /* @__PURE__ */ t(
3088
+ return h ? /* @__PURE__ */ t(
3089
3089
  va,
3090
3090
  {
3091
- value: d.value?.toString(),
3091
+ value: s.value?.toString(),
3092
3092
  noDataFallbackText: n
3093
3093
  }
3094
3094
  ) : /* @__PURE__ */ g(
@@ -3099,33 +3099,33 @@ const mr = {
3099
3099
  className: C,
3100
3100
  "aria-disabled": a,
3101
3101
  "tab-index": "0",
3102
- onClick: I,
3102
+ onClick: O,
3103
3103
  children: [
3104
3104
  v && Yo(r, a),
3105
3105
  /* @__PURE__ */ t(
3106
3106
  "input",
3107
3107
  {
3108
- ...d,
3109
- ref: s,
3110
- onFocus: (O) => {
3111
- m(!0), N?.(O);
3108
+ ...s,
3109
+ ref: d,
3110
+ onFocus: (I) => {
3111
+ p(!0), S?.(I);
3112
3112
  },
3113
- onBlur: (O) => {
3114
- m(!1), $?.(O);
3113
+ onBlur: (I) => {
3114
+ p(!1), $?.(I);
3115
3115
  },
3116
3116
  disabled: a,
3117
3117
  type: w && !k ? w : "text"
3118
3118
  }
3119
3119
  ),
3120
- T && Yo(r, a),
3120
+ E && Yo(r, a),
3121
3121
  w === "password" && /* @__PURE__ */ t(
3122
3122
  L,
3123
3123
  {
3124
3124
  disabled: a,
3125
3125
  kind: "text",
3126
3126
  size: "compact",
3127
- icon: /* @__PURE__ */ t(P, { customColor: S, source: f }),
3128
- onClick: () => x((O) => !O),
3127
+ icon: /* @__PURE__ */ t(P, { customColor: N, source: f }),
3128
+ onClick: () => x((I) => !I),
3129
3129
  className: at[`${rt}__visibility-button`]
3130
3130
  }
3131
3131
  )
@@ -3254,50 +3254,50 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3254
3254
  src: l,
3255
3255
  status: i,
3256
3256
  text: n,
3257
- type: d,
3257
+ type: s,
3258
3258
  withRim: u = !1,
3259
- style: s,
3260
- ...h
3259
+ style: d,
3260
+ ...m
3261
3261
  }) => {
3262
- const p = d === "image" && !l, [y, m] = b.useState(p), k = d === "image" && !!l && !y, x = d === "text", w = ["xxxsmall", "xxsmall", "xsmall"].includes(_) ? 1 : 2, N = wn(n, w), $ = ["xxxsmall", "xxsmall", "xsmall", "small"].includes(_), C = r || Cn(n), S = C ? $n(C) : void 0, f = x ? { backgroundColor: C } : {}, v = c({
3262
+ const h = s === "image" && !l, [y, p] = b.useState(h), k = s === "image" && !!l && !y, x = s === "text", w = ["xxxsmall", "xxsmall", "xsmall"].includes(_) ? 1 : 2, S = wn(n, w), $ = ["xxxsmall", "xxsmall", "xsmall", "small"].includes(_), C = r || Cn(n), N = C ? $n(C) : void 0, f = x ? { backgroundColor: C } : {}, v = c({
3263
3263
  [Fe[ke]]: !0,
3264
3264
  [Fe[`${ke}--${o}`]]: !0,
3265
3265
  [Fe[`${ke}--${_}`]]: !0,
3266
3266
  [Fe[`${ke}--with-rim`]]: u,
3267
3267
  ...a ? { [`${a}`]: a } : {}
3268
- }), T = c(
3268
+ }), E = c(
3269
3269
  Fe[`${ke}__status`],
3270
3270
  Fe[`${ke}__status--${o}`],
3271
3271
  Fe[`${ke}__status--${_}`],
3272
3272
  ...i ? [Fe[`${ke}__status--${i}`]] : []
3273
- ), I = c(
3273
+ ), O = c(
3274
3274
  Fe[`${ke}__icon`],
3275
3275
  Fe[`${ke}__icon--${_}`]
3276
- ), O = c(
3276
+ ), I = c(
3277
3277
  Fe[`${ke}__rim`],
3278
3278
  Fe[`${ke}__rim--${_}`]
3279
- ), A = (M) => $ ? "2xs" : ["medium"].includes(M) ? "xs" : ["large", "xlarge"].includes(M) ? "sm" : ["xxlarge"].includes(M) ? "lg" : "xl", E = b.useCallback(() => m(!0), []);
3279
+ ), A = (M) => $ ? "2xs" : ["medium"].includes(M) ? "xs" : ["large", "xlarge"].includes(M) ? "sm" : ["xxlarge"].includes(M) ? "lg" : "xl", T = b.useCallback(() => p(!0), []);
3280
3280
  return b.useEffect(() => {
3281
- m(p);
3282
- }, [p]), /* @__PURE__ */ g(
3281
+ p(h);
3282
+ }, [h]), /* @__PURE__ */ g(
3283
3283
  "div",
3284
3284
  {
3285
3285
  className: v,
3286
- style: { ...f, ...s },
3287
- ...h,
3286
+ style: { ...f, ...d },
3287
+ ...m,
3288
3288
  children: [
3289
3289
  u && /* @__PURE__ */ t(
3290
3290
  "div",
3291
3291
  {
3292
3292
  "data-testid": `${ke}__rim`,
3293
- className: O
3293
+ className: I
3294
3294
  }
3295
3295
  ),
3296
3296
  i && /* @__PURE__ */ t(
3297
3297
  "div",
3298
3298
  {
3299
3299
  "data-testid": `${ke}__status`,
3300
- className: T
3300
+ className: E
3301
3301
  }
3302
3302
  ),
3303
3303
  k && /* @__PURE__ */ t(
@@ -3306,7 +3306,7 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3306
3306
  className: Fe[`${ke}__image`],
3307
3307
  src: l,
3308
3308
  alt: e,
3309
- onError: E
3309
+ onError: T
3310
3310
  }
3311
3311
  ),
3312
3312
  x && /* @__PURE__ */ t(
@@ -3314,17 +3314,17 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3314
3314
  {
3315
3315
  as: "span",
3316
3316
  size: A(_),
3317
- style: { color: S },
3317
+ style: { color: N },
3318
3318
  bold: $,
3319
3319
  uppercase: $,
3320
- children: N
3320
+ children: S
3321
3321
  }
3322
3322
  ),
3323
3323
  y && /* @__PURE__ */ t(
3324
3324
  P,
3325
3325
  {
3326
3326
  "data-testid": `${ke}__icon`,
3327
- className: I,
3327
+ className: O,
3328
3328
  source: al
3329
3329
  }
3330
3330
  )
@@ -3357,7 +3357,7 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3357
3357
  className: l,
3358
3358
  ...i
3359
3359
  }, n) => {
3360
- const { readOnly: d } = xt(), u = d || i.readOnly;
3360
+ const { readOnly: s } = xt(), u = s || i.readOnly;
3361
3361
  return /* @__PURE__ */ g(
3362
3362
  "div",
3363
3363
  {
@@ -3373,8 +3373,8 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3373
3373
  "input",
3374
3374
  {
3375
3375
  ...i,
3376
- ref: (s) => {
3377
- s && (s.indeterminate = a, typeof n == "function" ? n(s) : n && (n.current = s));
3376
+ ref: (d) => {
3377
+ d && (d.indeterminate = a, typeof n == "function" ? n(d) : n && (n.current = d));
3378
3378
  },
3379
3379
  checked: e,
3380
3380
  disabled: r,
@@ -3414,34 +3414,34 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3414
3414
  item: i,
3415
3415
  numberOfItems: n
3416
3416
  }) => {
3417
- const d = (s) => {
3418
- if (s?.customElement?.listItemBody)
3419
- return /* @__PURE__ */ t("div", { className: Ee[`${lt}__custom`], children: s.customElement.listItemBody });
3420
- const h = (p) => p.avatar?.type || (p.avatarSrc ? "image" : "text");
3417
+ const s = (d) => {
3418
+ if (d?.customElement?.listItemBody)
3419
+ return /* @__PURE__ */ t("div", { className: Ee[`${lt}__custom`], children: d.customElement.listItemBody });
3420
+ const m = (h) => h.avatar?.type || (h.avatarSrc ? "image" : "text");
3421
3421
  return /* @__PURE__ */ g(K, { children: [
3422
- s.showCheckbox && /* @__PURE__ */ t(
3422
+ d.showCheckbox && /* @__PURE__ */ t(
3423
3423
  Fr,
3424
3424
  {
3425
3425
  className: Ee[`${lt}__checkbox`],
3426
3426
  checked: r
3427
3427
  }
3428
3428
  ),
3429
- s.icon && /* @__PURE__ */ t(
3429
+ d.icon && /* @__PURE__ */ t(
3430
3430
  P,
3431
3431
  {
3432
3432
  className: Ee[`${lt}__icon`],
3433
3433
  kind: "link",
3434
- source: s.icon
3434
+ source: d.icon
3435
3435
  }
3436
3436
  ),
3437
- (s.avatar || s.avatarSrc) && /* @__PURE__ */ t(
3437
+ (d.avatar || d.avatarSrc) && /* @__PURE__ */ t(
3438
3438
  Bo,
3439
3439
  {
3440
3440
  className: Ee[`${lt}__avatar`],
3441
- src: s.avatar?.src || s.avatarSrc,
3442
- type: h(s),
3443
- text: s.name,
3444
- alt: s.name,
3441
+ src: d.avatar?.src || d.avatarSrc,
3442
+ type: m(d),
3443
+ text: d.name,
3444
+ alt: d.name,
3445
3445
  size: "xxsmall"
3446
3446
  }
3447
3447
  ),
@@ -3451,13 +3451,13 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3451
3451
  {
3452
3452
  as: "span",
3453
3453
  className: c([Ee[`${lt}__label`]], {
3454
- [Ee[`${lt}__main-label`]]: s.secondaryText
3454
+ [Ee[`${lt}__main-label`]]: d.secondaryText
3455
3455
  }),
3456
- "aria-disabled": s.disabled,
3457
- children: s.name
3456
+ "aria-disabled": d.disabled,
3457
+ children: d.name
3458
3458
  }
3459
3459
  ),
3460
- s.secondaryText && /* @__PURE__ */ t("span", { className: Ee[`${lt}__secondary-label`], children: s.secondaryText })
3460
+ d.secondaryText && /* @__PURE__ */ t("span", { className: Ee[`${lt}__secondary-label`], children: d.secondaryText })
3461
3461
  ] })
3462
3462
  ] });
3463
3463
  };
@@ -3473,16 +3473,16 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3473
3473
  },
3474
3474
  i.key
3475
3475
  );
3476
- const u = (s) => {
3477
- !i.disabled && _(s);
3476
+ const u = (d) => {
3477
+ !i.disabled && _(d);
3478
3478
  };
3479
3479
  return /* @__PURE__ */ t(
3480
3480
  "div",
3481
3481
  {
3482
3482
  id: i.key,
3483
3483
  tabIndex: a ? 0 : -1,
3484
- ref: (s) => {
3485
- s && (o.current[e] = s);
3484
+ ref: (d) => {
3485
+ d && (o.current[e] = d);
3486
3486
  },
3487
3487
  role: "option",
3488
3488
  "aria-setsize": n,
@@ -3504,7 +3504,7 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3504
3504
  [Ee[`${lt}--select-all`]]: i.key === ga
3505
3505
  }),
3506
3506
  children: [
3507
- d(i),
3507
+ s(i),
3508
3508
  r && !i.showCheckbox && /* @__PURE__ */ t(
3509
3509
  P,
3510
3510
  {
@@ -3533,28 +3533,28 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3533
3533
  activeIndex: l,
3534
3534
  selectedKeys: i,
3535
3535
  listElementsRef: n,
3536
- isPositioned: d,
3536
+ isPositioned: s,
3537
3537
  searchDisabled: u,
3538
- onItemRemove: s,
3539
- setPointer: h,
3540
- onSelect: p,
3538
+ onItemRemove: d,
3539
+ setPointer: m,
3540
+ onSelect: h,
3541
3541
  getFloatingProps: y,
3542
- getItemProps: m,
3542
+ getItemProps: p,
3543
3543
  emptyStateText: k = "No results found",
3544
3544
  hideWhenEmpty: x = !1,
3545
3545
  pickerType: w = "single",
3546
- listClassName: N,
3546
+ listClassName: S,
3547
3547
  virtuosoProps: $
3548
3548
  }) => {
3549
- const [C, S] = b.useState(0), f = qt(null), v = _.length, T = b.useCallback(
3549
+ const [C, N] = b.useState(0), f = qt(null), v = _.length, E = b.useCallback(
3550
3550
  (A) => {
3551
- A !== C && (A < o ? S(A + (v - 1) * vn) : S(o));
3551
+ A !== C && (A < o ? N(A + (v - 1) * vn) : N(o));
3552
3552
  },
3553
3553
  [v]
3554
3554
  );
3555
3555
  if (q(() => {
3556
- u && d && l !== null && f.current?.focus();
3557
- }, [u, d, l]), q(() => {
3556
+ u && s && l !== null && f.current?.focus();
3557
+ }, [u, s, l]), q(() => {
3558
3558
  n.current = new Array(_.length);
3559
3559
  }, [_.length]), _.length === 0)
3560
3560
  return x ? null : /* @__PURE__ */ t(bo, { context: e, modal: !1, initialFocus: -1, children: /* @__PURE__ */ t(
@@ -3567,8 +3567,8 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3567
3567
  children: /* @__PURE__ */ t("div", { className: xa["no-results-text"], children: k })
3568
3568
  }
3569
3569
  ) });
3570
- const I = (A) => i.includes(A) || A === ga && i.length === Co(_).length, O = () => {
3571
- w === "multi" && s(i[i.length - 1]);
3570
+ const O = (A) => i.includes(A) || A === ga && i.length === Co(_).length, I = () => {
3571
+ w === "multi" && d(i[i.length - 1]);
3572
3572
  };
3573
3573
  return /* @__PURE__ */ t(bo, { context: e, modal: !1, initialFocus: -1, children: /* @__PURE__ */ t(
3574
3574
  "div",
@@ -3576,7 +3576,7 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3576
3576
  "data-testid": "picker-list",
3577
3577
  ref: a,
3578
3578
  tabIndex: -1,
3579
- className: c(xa.listbox, N),
3579
+ className: c(xa.listbox, S),
3580
3580
  style: {
3581
3581
  ...r,
3582
3582
  maxHeight: o
@@ -3590,34 +3590,34 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3590
3590
  className: xa["listbox-wrapper"],
3591
3591
  ...y({
3592
3592
  onKeyDown(A) {
3593
- h(!1), A.key === "Enter" && l !== null && p(_[l].key), (A.key === "Backspace" || A.key === "Delete") && O(), A.key === " " && A.preventDefault();
3593
+ m(!1), A.key === "Enter" && l !== null && h(_[l].key), (A.key === "Backspace" || A.key === "Delete") && I(), A.key === " " && A.preventDefault();
3594
3594
  },
3595
3595
  onKeyUp(A) {
3596
- A.key === " " && l !== null && p(_[l].key);
3596
+ A.key === " " && l !== null && h(_[l].key);
3597
3597
  },
3598
3598
  onPointerMove() {
3599
- h(!0);
3599
+ m(!0);
3600
3600
  }
3601
3601
  }),
3602
3602
  children: /* @__PURE__ */ t(
3603
3603
  Ul,
3604
3604
  {
3605
- totalListHeightChanged: T,
3605
+ totalListHeightChanged: E,
3606
3606
  style: { height: `${C}px`, maxHeight: o },
3607
3607
  totalCount: _.length,
3608
3608
  data: _,
3609
3609
  increaseViewportBy: 200,
3610
3610
  ...$,
3611
- itemContent: (A, E) => /* @__PURE__ */ t(
3611
+ itemContent: (A, T) => /* @__PURE__ */ t(
3612
3612
  Fn,
3613
3613
  {
3614
3614
  index: A,
3615
- getItemProps: m,
3615
+ getItemProps: p,
3616
3616
  listElementsRef: n,
3617
3617
  isActive: l === A,
3618
- isSelected: I(E.key),
3619
- onSelect: p,
3620
- item: E,
3618
+ isSelected: O(T.key),
3619
+ onSelect: h,
3620
+ item: T,
3621
3621
  numberOfItems: v
3622
3622
  }
3623
3623
  )
@@ -3654,13 +3654,13 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3654
3654
  isItemSelected: l,
3655
3655
  hideClearButton: i,
3656
3656
  isDisabled: n,
3657
- isRequired: d,
3657
+ isRequired: s,
3658
3658
  isOpen: u,
3659
- isError: s,
3660
- onClear: h,
3661
- children: p,
3659
+ isError: d,
3660
+ onClear: m,
3661
+ children: h,
3662
3662
  setTriggerFocus: y,
3663
- onToggle: m
3663
+ onToggle: p
3664
3664
  }) => {
3665
3665
  const k = c(
3666
3666
  Te[Ce],
@@ -3669,11 +3669,11 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3669
3669
  _ && l && Te[`${Ce}--multi-select--with-items`],
3670
3670
  n && Te[`${Ce}--disabled`],
3671
3671
  u && Te[`${Ce}--focused`],
3672
- s && Te[`${Ce}--error`]
3673
- ), x = !i && l && !n && !d, w = ($) => {
3674
- $.stopPropagation(), h();
3675
- }, N = ($) => {
3676
- !n && !(u && $.target.tagName === "BUTTON") && m();
3672
+ d && Te[`${Ce}--error`]
3673
+ ), x = !i && l && !n && !s, w = ($) => {
3674
+ $.stopPropagation(), m();
3675
+ }, S = ($) => {
3676
+ !n && !(u && $.target.tagName === "BUTTON") && p();
3677
3677
  };
3678
3678
  return b.useEffect(() => {
3679
3679
  u || y(!1);
@@ -3690,7 +3690,7 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3690
3690
  ...a(),
3691
3691
  onFocus: () => y(!0),
3692
3692
  onBlur: () => y(!1),
3693
- onClick: N,
3693
+ onClick: S,
3694
3694
  children: [
3695
3695
  /* @__PURE__ */ t(
3696
3696
  B,
@@ -3701,7 +3701,7 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3701
3701
  Te[`${Ce}__content--${o}`],
3702
3702
  _ && l && Te[`${Ce}__content--with-items`]
3703
3703
  ),
3704
- children: p
3704
+ children: h
3705
3705
  }
3706
3706
  ),
3707
3707
  /* @__PURE__ */ g(
@@ -3780,55 +3780,55 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3780
3780
  kind: l = "default",
3781
3781
  onRemove: i,
3782
3782
  outline: n = !1,
3783
- leftNode: d,
3783
+ leftNode: s,
3784
3784
  rightNode: u,
3785
- customColor: s,
3786
- iconOnly: h = !1,
3787
- value: p,
3785
+ customColor: d,
3786
+ iconOnly: m = !1,
3787
+ value: h,
3788
3788
  ...y
3789
3789
  }) => {
3790
- const m = r || i && h, k = c(
3790
+ const p = r || i && m, k = c(
3791
3791
  Ge[Ue],
3792
3792
  e,
3793
3793
  Ge[`${Ue}--${_}`],
3794
3794
  Ge[`${Ue}--${l}`],
3795
3795
  {
3796
3796
  [Ge[`${Ue}--outline`]]: n,
3797
- [Ge[`${Ue}--${Vn(s)}`]]: !!s,
3798
- [Ge[`${Ue}--icon-only`]]: h,
3799
- [Ge[`${Ue}--dismissible-on-hover`]]: m
3797
+ [Ge[`${Ue}--${Vn(d)}`]]: !!d,
3798
+ [Ge[`${Ue}--icon-only`]]: m,
3799
+ [Ge[`${Ue}--dismissible-on-hover`]]: p
3800
3800
  }
3801
- ), x = _ === "small" ? "small" : "medium", w = _ === "small" ? "sm" : "md", N = () => s ? n ? {
3801
+ ), x = _ === "small" ? "small" : "medium", w = _ === "small" ? "sm" : "md", S = () => d ? n ? {
3802
3802
  style: {
3803
3803
  backgroundColor: "transparent",
3804
- color: s,
3805
- borderColor: s
3804
+ color: d,
3805
+ borderColor: d
3806
3806
  }
3807
- } : { style: { backgroundColor: s } } : {}, $ = () => {
3808
- if (s)
3809
- return n ? s : No(s, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
3807
+ } : { style: { backgroundColor: d } } : {}, $ = () => {
3808
+ if (d)
3809
+ return n ? d : No(d, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
3810
3810
  };
3811
3811
  return /* @__PURE__ */ g(
3812
3812
  B,
3813
3813
  {
3814
3814
  className: k,
3815
3815
  ...y,
3816
- ...N(),
3816
+ ...S(),
3817
3817
  as: "div",
3818
3818
  size: w,
3819
3819
  children: [
3820
3820
  /* @__PURE__ */ g("div", { className: Ge[`${Ue}__content-wrapper`], children: [
3821
- d && !h && /* @__PURE__ */ t(
3821
+ s && !m && /* @__PURE__ */ t(
3822
3822
  "div",
3823
3823
  {
3824
3824
  "data-testid": "lc-tag-left-node",
3825
3825
  className: Ge[`${Ue}__node`],
3826
3826
  style: { color: $() },
3827
- children: d
3827
+ children: s
3828
3828
  }
3829
3829
  ),
3830
- /* @__PURE__ */ t("div", { className: Ge[`${Ue}__content`], children: p || a }),
3831
- u && !h && /* @__PURE__ */ t(
3830
+ /* @__PURE__ */ t("div", { className: Ge[`${Ue}__content`], children: h || a }),
3831
+ u && !m && /* @__PURE__ */ t(
3832
3832
  "div",
3833
3833
  {
3834
3834
  "data-testid": "lc-tag-right-node",
@@ -3847,7 +3847,7 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3847
3847
  role: "button",
3848
3848
  "aria-label": "Remove tag",
3849
3849
  className: c(Ge[`${Ue}__remove`], {
3850
- [Ge[`${Ue}__remove--hover`]]: m
3850
+ [Ge[`${Ue}__remove--hover`]]: p
3851
3851
  }),
3852
3852
  children: /* @__PURE__ */ t(
3853
3853
  P,
@@ -3890,13 +3890,13 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3890
3890
  type: l,
3891
3891
  clearSearchAfterSelection: i,
3892
3892
  size: n = "medium",
3893
- onItemRemove: d,
3893
+ onItemRemove: s,
3894
3894
  onSelect: u,
3895
- onFilter: s,
3896
- onClear: h,
3897
- searchPhrase: p,
3895
+ onFilter: d,
3896
+ onClear: m,
3897
+ searchPhrase: h,
3898
3898
  virtualItemRef: y,
3899
- isTriggerFocused: m,
3899
+ isTriggerFocused: p,
3900
3900
  inputRef: k,
3901
3901
  inputProps: x
3902
3902
  }) => {
@@ -3904,10 +3904,10 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3904
3904
  b.useEffect(() => {
3905
3905
  i && k?.current && k.current.focus();
3906
3906
  }, [_, i]);
3907
- const N = (v) => {
3908
- v.key === "Backspace" && _ && _.length > 0 && (v.preventDefault(), l === "multi" ? d(_[_.length - 1].key) : h()), v.key === "Delete" && (v.preventDefault(), h());
3907
+ const S = (v) => {
3908
+ v.key === "Backspace" && _ && _.length > 0 && (v.preventDefault(), l === "multi" ? s(_[_.length - 1].key) : m()), v.key === "Delete" && (v.preventDefault(), m());
3909
3909
  };
3910
- b.useEffect(() => (!e && m ? document.addEventListener("keydown", N) : document.removeEventListener("keydown", N), () => document.removeEventListener("keydown", N)), [e, _, m]);
3910
+ b.useEffect(() => (!e && p ? document.addEventListener("keydown", S) : document.removeEventListener("keydown", S), () => document.removeEventListener("keydown", S)), [e, _, p]);
3911
3911
  const $ = (v) => l === "single" && e && !a ? null : v?.customElement?.selectedItemBody ? /* @__PURE__ */ t("div", { className: Be[`${Ie}__item`], children: v.customElement.selectedItemBody }) : /* @__PURE__ */ g("div", { className: Be[`${Ie}__item`], children: [
3912
3912
  v.icon && /* @__PURE__ */ t(
3913
3913
  P,
@@ -3925,8 +3925,8 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3925
3925
  }
3926
3926
  ),
3927
3927
  /* @__PURE__ */ t("div", { className: Be[`${Ie}__item__content`], children: v.name })
3928
- ] }), C = (v) => s(v.target.value), S = (v) => {
3929
- y.current?.id && v.key === "Enter" && u(y.current?.id), l === "multi" && (v.key === "Backspace" || v.key === "Delete") && !p && _ && _?.length > 0 && d(_[_.length - 1].key);
3928
+ ] }), C = (v) => d(v.target.value), N = (v) => {
3929
+ y.current?.id && v.key === "Enter" && u(y.current?.id), l === "multi" && (v.key === "Backspace" || v.key === "Delete") && !h && _ && _?.length > 0 && s(_[_.length - 1].key);
3930
3930
  }, f = () => /* @__PURE__ */ t(
3931
3931
  "input",
3932
3932
  {
@@ -3938,9 +3938,9 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3938
3938
  ),
3939
3939
  placeholder: o,
3940
3940
  onChange: C,
3941
- onKeyDown: S,
3941
+ onKeyDown: N,
3942
3942
  autoFocus: !0,
3943
- value: p
3943
+ value: h
3944
3944
  }
3945
3945
  );
3946
3946
  return !_ || _.length === 0 ? w ? f() : /* @__PURE__ */ t(
@@ -3967,8 +3967,8 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3967
3967
  Be[`${Ie}__tag--${n}`]
3968
3968
  ),
3969
3969
  disabled: r,
3970
- onRemove: (T) => {
3971
- T.stopPropagation(), d(v.key);
3970
+ onRemove: (E) => {
3971
+ E.stopPropagation(), s(v.key);
3972
3972
  },
3973
3973
  ...v.selectedTagOptions,
3974
3974
  children: $(v)
@@ -3988,17 +3988,17 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
3988
3988
  floatingStrategy: l,
3989
3989
  useDismissHookProps: i,
3990
3990
  useClickHookProps: n,
3991
- isOpen: d,
3991
+ isOpen: s,
3992
3992
  onVisibilityChange: u,
3993
- searchPhrase: s
3993
+ searchPhrase: d
3994
3994
  }) => {
3995
- const h = Ja(), [p, y] = b.useState(!1), [m, k] = b.useState(null), [x, w] = b.useState(_), N = b.useRef([]), $ = b.useRef(null);
3995
+ const m = Ja(), [h, y] = b.useState(!1), [p, k] = b.useState(null), [x, w] = b.useState(_), S = b.useRef([]), $ = b.useRef(null);
3996
3996
  b.useEffect(() => {
3997
3997
  $.current = null, k(null);
3998
- }, [s]);
3999
- const { refs: C, floatingStyles: S, context: f, isPositioned: v } = Qa({
4000
- nodeId: h,
4001
- open: d,
3998
+ }, [d]);
3999
+ const { refs: C, floatingStyles: N, context: f, isPositioned: v } = Qa({
4000
+ nodeId: m,
4001
+ open: s,
4002
4002
  strategy: l,
4003
4003
  onOpenChange: u,
4004
4004
  whileElementsMounted: tr,
@@ -4023,15 +4023,15 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4023
4023
  padding: Kn
4024
4024
  })
4025
4025
  ]
4026
- }), T = ar(f, {
4026
+ }), E = ar(f, {
4027
4027
  enabled: !e,
4028
4028
  keyboardHandlers: !1,
4029
4029
  toggle: !1,
4030
4030
  ...n
4031
- }), I = or(f, { role: "listbox" }), O = rr(f, i), A = Pl(f, {
4031
+ }), O = or(f, { role: "listbox" }), I = rr(f, i), A = Pl(f, {
4032
4032
  enabled: a.length > 0 && !e,
4033
- listRef: N,
4034
- activeIndex: m,
4033
+ listRef: S,
4034
+ activeIndex: p,
4035
4035
  onNavigate: k,
4036
4036
  virtual: !0,
4037
4037
  virtualItemRef: $,
@@ -4039,24 +4039,24 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4039
4039
  a,
4040
4040
  (R) => !!R.disabled || !!R.groupHeader
4041
4041
  )
4042
- }), { getReferenceProps: E, getFloatingProps: M, getItemProps: D } = _r(
4043
- [T, O, I, A]
4042
+ }), { getReferenceProps: T, getFloatingProps: M, getItemProps: D } = _r(
4043
+ [E, I, O, A]
4044
4044
  );
4045
- return !d && p && y(!1), {
4046
- getReferenceProps: E,
4045
+ return !s && h && y(!1), {
4046
+ getReferenceProps: T,
4047
4047
  getFloatingProps: M,
4048
4048
  getItemProps: D,
4049
4049
  setReference: C.setReference,
4050
- floatingStyles: S,
4050
+ floatingStyles: N,
4051
4051
  isPositioned: v,
4052
4052
  context: f,
4053
- nodeId: h,
4053
+ nodeId: m,
4054
4054
  setFloating: C.setFloating,
4055
- activeIndex: m,
4056
- listElementsRef: N,
4055
+ activeIndex: p,
4056
+ listElementsRef: S,
4057
4057
  virtualItemRef: $,
4058
4058
  maxHeight: x,
4059
- pointer: p,
4059
+ pointer: h,
4060
4060
  setPointer: y
4061
4061
  };
4062
4062
  }, G_ = ({
@@ -4069,49 +4069,49 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4069
4069
  clearSearchAfterSelection: i,
4070
4070
  inputRef: n
4071
4071
  }) => {
4072
- const [d, u] = b.useState(
4072
+ const [s, u] = b.useState(
4073
4073
  () => e?.map(Xo) || []
4074
- ), s = e !== void 0, h = s ? e?.map(Xo) || [] : d, [p, y] = b.useState(""), m = (C) => y(C), k = (C) => {
4075
- r === "single" ? $(C) : (u(h.filter((S) => S !== C)), _(e?.filter(({ key: S }) => S !== C) || null));
4074
+ ), d = e !== void 0, m = d ? e?.map(Xo) || [] : s, [h, y] = b.useState(""), p = (C) => y(C), k = (C) => {
4075
+ r === "single" ? $(C) : (u(m.filter((N) => N !== C)), _(e?.filter(({ key: N }) => N !== C) || null));
4076
4076
  }, x = () => {
4077
- !s && u([]), _(null), y(""), l(!1);
4077
+ !d && u([]), _(null), y(""), l(!1);
4078
4078
  }, w = () => {
4079
- m(""), n.current && (n.current.value = "");
4080
- }, N = b.useMemo(() => {
4079
+ p(""), n.current && (n.current.value = "");
4080
+ }, S = b.useMemo(() => {
4081
4081
  const C = r === "multi" && o;
4082
- let S = a;
4083
- return p && (S = S.filter((f) => {
4082
+ let N = a;
4083
+ return h && (N = N.filter((f) => {
4084
4084
  if (f.groupHeader)
4085
4085
  return !0;
4086
- const v = p.toLowerCase(), T = f.name.toLowerCase(), I = f.secondaryText?.toLowerCase();
4087
- return T.includes(v) || I?.includes(v);
4086
+ const v = h.toLowerCase(), E = f.name.toLowerCase(), O = f.secondaryText?.toLowerCase();
4087
+ return E.includes(v) || O?.includes(v);
4088
4088
  }).filter(
4089
- (f, v, T) => !(f.groupHeader && (T[v + 1]?.groupHeader || v === T.length - 1))
4090
- )), C && S.length > 1 && (S = [
4089
+ (f, v, E) => !(f.groupHeader && (E[v + 1]?.groupHeader || v === E.length - 1))
4090
+ )), C && N.length > 1 && (N = [
4091
4091
  {
4092
4092
  key: ga,
4093
4093
  name: o
4094
4094
  },
4095
- ...S
4096
- ]), S;
4097
- }, [p, a, r, o]), $ = (C) => {
4098
- const S = a.find((f) => f.key === C);
4099
- (!S || S.disabled) && C !== ga || (r === "single" ? (u(() => (S && _([S]), [C])), l(!1), i && w()) : C === ga ? h.length === Co(a).length ? u(() => (_(null), [])) : u(() => {
4095
+ ...N
4096
+ ]), N;
4097
+ }, [h, a, r, o]), $ = (C) => {
4098
+ const N = a.find((f) => f.key === C);
4099
+ (!N || N.disabled) && C !== ga || (r === "single" ? (u(() => (N && _([N]), [C])), l(!1), i && w()) : C === ga ? m.length === Co(a).length ? u(() => (_(null), [])) : u(() => {
4100
4100
  const f = Co(a);
4101
4101
  return _(f), f.map(({ key: v }) => v);
4102
- }) : (s ? h.includes(C) ? (_(
4102
+ }) : (d ? m.includes(C) ? (_(
4103
4103
  e?.filter(({ key: f }) => f !== C) || null
4104
- ), u((f) => f.filter((v) => v !== C))) : (_([...e || [], S]), u((f) => [...f, C])) : u((f) => {
4104
+ ), u((f) => f.filter((v) => v !== C))) : (_([...e || [], N]), u((f) => [...f, C])) : u((f) => {
4105
4105
  const v = kn(f, C);
4106
- return _(a.filter(({ key: T }) => v.includes(T))), v;
4106
+ return _(a.filter(({ key: E }) => v.includes(E))), v;
4107
4107
  }), i && w()));
4108
4108
  };
4109
4109
  return {
4110
- selectedKeys: h,
4111
- items: N,
4112
- searchPhrase: p,
4110
+ selectedKeys: m,
4111
+ items: S,
4112
+ searchPhrase: h,
4113
4113
  handleSelect: $,
4114
- handleOnFilter: m,
4114
+ handleOnFilter: p,
4115
4115
  handleItemRemove: k,
4116
4116
  handleClear: x
4117
4117
  };
@@ -4126,33 +4126,33 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4126
4126
  disabled: l,
4127
4127
  error: i,
4128
4128
  options: n,
4129
- selected: d,
4129
+ selected: s,
4130
4130
  size: u = "medium",
4131
- placeholder: s = "Select option",
4132
- isRequired: h,
4133
- noSearchResultText: p = "No results found",
4131
+ placeholder: d = "Select option",
4132
+ isRequired: m,
4133
+ noSearchResultText: h = "No results found",
4134
4134
  selectAllOptionText: y,
4135
- type: m = "single",
4135
+ type: p = "single",
4136
4136
  searchDisabled: k = !1,
4137
4137
  hideClearButton: x,
4138
4138
  isVisible: w,
4139
- onOpen: N,
4139
+ onOpen: S,
4140
4140
  onClose: $,
4141
4141
  openedOnInit: C = !1,
4142
- clearSearchAfterSelection: S = !0,
4142
+ clearSearchAfterSelection: N = !0,
4143
4143
  onSelect: f,
4144
4144
  placement: v,
4145
- floatingStrategy: T,
4146
- root: I,
4147
- useDismissHookProps: O,
4145
+ floatingStrategy: E,
4146
+ root: O,
4147
+ useDismissHookProps: I,
4148
4148
  useClickHookProps: A,
4149
- virtuosoProps: E,
4149
+ virtuosoProps: T,
4150
4150
  inputProps: M,
4151
4151
  noDataFallbackText: D = "No data",
4152
4152
  ...R
4153
4153
  }) => {
4154
4154
  const [F, U] = b.useState(C), [se, ie] = b.useState(!1), de = w !== void 0, Q = de ? w : F, z = b.useRef(null), { readOnly: he } = xt(), Et = he || M?.readOnly, pt = (gt, lr) => {
4155
- gt ? !Q && N?.(lr) : Q && $?.(lr), !de && U(gt);
4155
+ gt ? !Q && S?.(lr) : Q && $?.(lr), !de && U(gt);
4156
4156
  }, {
4157
4157
  selectedKeys: Tt,
4158
4158
  items: G,
@@ -4162,13 +4162,13 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4162
4162
  handleItemRemove: la,
4163
4163
  handleClear: Bt
4164
4164
  } = G_({
4165
- selected: d,
4165
+ selected: s,
4166
4166
  options: n,
4167
- type: m,
4167
+ type: p,
4168
4168
  selectAllOptionText: y,
4169
4169
  onSelect: f,
4170
4170
  setOpen: pt,
4171
- clearSearchAfterSelection: S,
4171
+ clearSearchAfterSelection: N,
4172
4172
  inputRef: z
4173
4173
  }), {
4174
4174
  context: V,
@@ -4192,9 +4192,9 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4192
4192
  placement: v,
4193
4193
  minListHeight: o,
4194
4194
  maxListHeight: _,
4195
- floatingStrategy: T,
4195
+ floatingStrategy: E,
4196
4196
  useClickHookProps: A,
4197
- useDismissHookProps: O,
4197
+ useDismissHookProps: I,
4198
4198
  isOpen: Q,
4199
4199
  onVisibilityChange: pt,
4200
4200
  searchPhrase: fe
@@ -4202,7 +4202,7 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4202
4202
  return Et ? /* @__PURE__ */ t(
4203
4203
  va,
4204
4204
  {
4205
- value: d?.map((gt) => gt.groupHeader ? null : gt.name).filter(Boolean).join(", "),
4205
+ value: s?.map((gt) => gt.groupHeader ? null : gt.name).filter(Boolean).join(", "),
4206
4206
  noDataFallbackText: D
4207
4207
  }
4208
4208
  ) : /* @__PURE__ */ g("div", { id: e, className: c(Yn["picker-wrapper"], a), children: [
@@ -4218,8 +4218,8 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4218
4218
  hideClearButton: x,
4219
4219
  isDisabled: l,
4220
4220
  isError: i,
4221
- isRequired: h,
4222
- isMultiSelect: m === "multi",
4221
+ isRequired: m,
4222
+ isMultiSelect: p === "multi",
4223
4223
  size: u,
4224
4224
  setTriggerFocus: ie,
4225
4225
  onToggle: () => pt(!Q),
@@ -4229,11 +4229,11 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4229
4229
  isOpen: Q,
4230
4230
  isSearchDisabled: k,
4231
4231
  isDisabled: l,
4232
- placeholder: s,
4233
- selectedItems: d,
4234
- type: m,
4232
+ placeholder: d,
4233
+ selectedItems: s,
4234
+ type: p,
4235
4235
  size: u,
4236
- clearSearchAfterSelection: S,
4236
+ clearSearchAfterSelection: N,
4237
4237
  inputRef: z,
4238
4238
  onItemRemove: la,
4239
4239
  onSelect: be,
@@ -4247,10 +4247,10 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4247
4247
  )
4248
4248
  }
4249
4249
  ),
4250
- /* @__PURE__ */ t(ba, { id: Ht, children: Q && /* @__PURE__ */ t(ha, { root: I, children: /* @__PURE__ */ t(
4250
+ /* @__PURE__ */ t(ba, { id: Ht, children: Q && /* @__PURE__ */ t(ha, { root: O, children: /* @__PURE__ */ t(
4251
4251
  M_,
4252
4252
  {
4253
- pickerType: m,
4253
+ pickerType: p,
4254
4254
  options: G,
4255
4255
  listClassName: r,
4256
4256
  context: V,
@@ -4267,8 +4267,8 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4267
4267
  onSelect: be,
4268
4268
  getFloatingProps: Lr,
4269
4269
  getItemProps: qr,
4270
- emptyStateText: p,
4271
- virtuosoProps: E
4270
+ emptyStateText: h,
4271
+ virtuosoProps: T
4272
4272
  }
4273
4273
  ) }) })
4274
4274
  ] });
@@ -4295,46 +4295,46 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4295
4295
  options: l,
4296
4296
  readOnly: i,
4297
4297
  floatingStrategy: n,
4298
- single: d,
4298
+ single: s,
4299
4299
  alwaysShowAllOptions: u,
4300
- hideIfExactMatch: s = !0,
4301
- noDataFallbackText: h = "No data",
4302
- ...p
4300
+ hideIfExactMatch: d = !0,
4301
+ noDataFallbackText: m = "No data",
4302
+ ...h
4303
4303
  }, y) => {
4304
- const m = b.useRef(null), { readOnly: k } = xt(), x = k || i;
4305
- b.useImperativeHandle(y, () => m.current, []);
4306
- const [w, N] = b.useState(""), C = p.value !== void 0 ? p.value : w, [S, f] = b.useState(
4304
+ const p = b.useRef(null), { readOnly: k } = xt(), x = k || i;
4305
+ b.useImperativeHandle(y, () => p.current, []);
4306
+ const [w, S] = b.useState(""), C = h.value !== void 0 ? h.value : w, [N, f] = b.useState(
4307
4307
  o
4308
4308
  ), v = (V) => {
4309
4309
  f(V);
4310
- }, T = (V) => {
4310
+ }, E = (V) => {
4311
4311
  R(V);
4312
- }, I = (V) => {
4313
- p.onChange?.(V), N(V.target.value), u || T(V.target.value), m.current?.focus();
4314
4312
  }, O = (V) => {
4313
+ h.onChange?.(V), S(V.target.value), u || E(V.target.value), p.current?.focus();
4314
+ }, I = (V) => {
4315
4315
  const Ht = V.key === "Enter";
4316
- be.current?.id && Ht && (A([{ key: be.current?.id }]), V.preventDefault()), Ht || v(!0), p.onKeyDown?.(V);
4316
+ be.current?.id && Ht && (A([{ key: be.current?.id }]), V.preventDefault()), Ht || v(!0), h.onKeyDown?.(V);
4317
4317
  }, A = (V) => {
4318
4318
  if (V) {
4319
4319
  const Ht = V[0].key;
4320
- I({
4320
+ O({
4321
4321
  target: { value: Ht }
4322
4322
  }), setTimeout(() => {
4323
4323
  v(!1);
4324
4324
  }, 0);
4325
4325
  }
4326
- }, E = b.useMemo(() => l ? Xn(l) ? Zn(l) : jn(l) : [], [l]), { items: M, searchPhrase: D, handleOnFilter: R, handleSelect: F, selectedKeys: U } = G_({
4326
+ }, T = b.useMemo(() => l ? Xn(l) ? Zn(l) : jn(l) : [], [l]), { items: M, searchPhrase: D, handleOnFilter: R, handleSelect: F, selectedKeys: U } = G_({
4327
4327
  selected: [],
4328
- options: E,
4328
+ options: T,
4329
4329
  type: "single",
4330
4330
  onSelect: A,
4331
4331
  setOpen: f,
4332
4332
  clearSearchAfterSelection: !0,
4333
- inputRef: m
4333
+ inputRef: p
4334
4334
  }), se = Jn(
4335
4335
  M,
4336
- d || !1,
4337
4336
  s || !1,
4337
+ d || !1,
4338
4338
  C?.toString() || ""
4339
4339
  ), {
4340
4340
  nodeId: ie,
@@ -4356,7 +4356,7 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4356
4356
  disabled: e || i,
4357
4357
  items: M,
4358
4358
  searchPhrase: u ? "" : D,
4359
- isOpen: S,
4359
+ isOpen: N,
4360
4360
  onVisibilityChange: v,
4361
4361
  minListHeight: a,
4362
4362
  maxListHeight: r,
@@ -4367,23 +4367,23 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4367
4367
  va,
4368
4368
  {
4369
4369
  value: C?.toString(),
4370
- noDataFallbackText: h
4370
+ noDataFallbackText: m
4371
4371
  }
4372
4372
  ) : /* @__PURE__ */ g("div", { ref: fe, ...z(), children: [
4373
4373
  /* @__PURE__ */ t(
4374
4374
  fn,
4375
4375
  {
4376
- ...p,
4377
- ref: m,
4378
- onChange: I,
4379
- onKeyDown: O,
4376
+ ...h,
4377
+ ref: p,
4378
+ onChange: O,
4379
+ onKeyDown: I,
4380
4380
  value: C,
4381
4381
  disabled: e,
4382
4382
  readOnly: i,
4383
4383
  type: "text"
4384
4384
  }
4385
4385
  ),
4386
- /* @__PURE__ */ t(ba, { id: ie, children: S && /* @__PURE__ */ t(ha, { children: /* @__PURE__ */ t(
4386
+ /* @__PURE__ */ t(ba, { id: ie, children: N && /* @__PURE__ */ t(ha, { children: /* @__PURE__ */ t(
4387
4387
  M_,
4388
4388
  {
4389
4389
  context: de,
@@ -4422,33 +4422,33 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4422
4422
  fullWidth: l = !1,
4423
4423
  onButtonClick: i = Za
4424
4424
  }) => {
4425
- const n = c(gr[ec], r), [d, u] = b.useState(() => o), s = typeof _ == "string";
4425
+ const n = c(gr[ec], r), [s, u] = b.useState(() => o), d = typeof _ == "string";
4426
4426
  b.useEffect(() => {
4427
- s && u(_);
4427
+ d && u(_);
4428
4428
  }, [_]);
4429
- const h = (y, m) => {
4430
- s || u(y), i(y, m);
4431
- }, p = a.map(({ id: y, label: m, loading: k, disabled: x, icon: w }) => {
4432
- const N = y === d, $ = N ? gr["btn--active"] : "";
4429
+ const m = (y, p) => {
4430
+ d || u(y), i(y, p);
4431
+ }, h = a.map(({ id: y, label: p, loading: k, disabled: x, icon: w }) => {
4432
+ const S = y === s, $ = S ? gr["btn--active"] : "";
4433
4433
  return /* @__PURE__ */ t(
4434
4434
  L,
4435
4435
  {
4436
4436
  fullWidth: l,
4437
- loading: N ? !1 : k,
4437
+ loading: S ? !1 : k,
4438
4438
  disabled: x,
4439
- "aria-pressed": N,
4439
+ "aria-pressed": S,
4440
4440
  kind: "secondary",
4441
4441
  icon: w,
4442
4442
  className: c(gr.btn, gr[`btn--${e}`], $),
4443
- onClick: (S) => {
4444
- h(y, S);
4443
+ onClick: (N) => {
4444
+ m(y, N);
4445
4445
  },
4446
- children: m
4446
+ children: p
4447
4447
  },
4448
4448
  y
4449
4449
  );
4450
4450
  });
4451
- return /* @__PURE__ */ t("div", { role: "group", className: n, children: p });
4451
+ return /* @__PURE__ */ t("div", { role: "group", className: n, children: h });
4452
4452
  }, tc = "lc-Card-module__card___LzN-3", ac = "lc-Card-module__card__header___SRONR", rc = "lc-Card-module__card__header__image___93pD4", oc = "lc-Card-module__card__header__heading___jK55U", _c = "lc-Card-module__card__header__heading__title___5090w", lc = "lc-Card-module__card__header__heading__description___iVYoq", ic = "lc-Card-module__card__content___9G1YM", nc = "lc-Card-module__card__actions___gp-xf", cc = "lc-Card-module__card__actions__line___C6TI0", sc = "lc-Card-module__card__actions__buttons___XJlFJ", Le = {
4453
4453
  card: tc,
4454
4454
  card__header: ac,
@@ -4472,11 +4472,11 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4472
4472
  expandableContent: l,
4473
4473
  src: i,
4474
4474
  title: n,
4475
- ...d
4475
+ ...s
4476
4476
  }) => {
4477
- const [u, s] = b.useState(!1), h = u ? ja : Xt, p = u ? "Hide" : "Show more", y = a?.length > 0, m = !!l, k = y || m, x = n, w = i, N = w ? "" : Le[dc];
4478
- return /* @__PURE__ */ g("div", { className: c(Le[Ka], o), ...d, children: [
4479
- x && /* @__PURE__ */ g("div", { className: c(Le[Ir], N), children: [
4477
+ const [u, d] = b.useState(!1), m = u ? ja : Xt, h = u ? "Hide" : "Show more", y = a?.length > 0, p = !!l, k = y || p, x = n, w = i, S = w ? "" : Le[dc];
4478
+ return /* @__PURE__ */ g("div", { className: c(Le[Ka], o), ...s, children: [
4479
+ x && /* @__PURE__ */ g("div", { className: c(Le[Ir], S), children: [
4480
4480
  w && /* @__PURE__ */ t(
4481
4481
  "img",
4482
4482
  {
@@ -4511,26 +4511,26 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4511
4511
  /* @__PURE__ */ t("div", { className: Le[`${hr}__line`] }),
4512
4512
  /* @__PURE__ */ g("div", { className: Le[`${hr}__buttons`], children: [
4513
4513
  y && a.map(
4514
- ({ kind: $, onClick: C, children: S }, f) => /* @__PURE__ */ t(
4514
+ ({ kind: $, onClick: C, children: N }, f) => /* @__PURE__ */ t(
4515
4515
  L,
4516
4516
  {
4517
4517
  size: "compact",
4518
4518
  kind: $,
4519
4519
  onClick: C,
4520
- children: S
4520
+ children: N
4521
4521
  },
4522
4522
  f
4523
4523
  )
4524
4524
  ),
4525
- m && /* @__PURE__ */ t(
4525
+ p && /* @__PURE__ */ t(
4526
4526
  L,
4527
4527
  {
4528
4528
  className: Le[`${hr}__buttons-expander`],
4529
4529
  kind: "link",
4530
4530
  iconPosition: "right",
4531
- icon: /* @__PURE__ */ t(P, { source: h }),
4532
- onClick: () => s(!u),
4533
- children: p
4531
+ icon: /* @__PURE__ */ t(P, { source: m }),
4532
+ onClick: () => d(!u),
4533
+ children: h
4534
4534
  }
4535
4535
  )
4536
4536
  ] })
@@ -4540,31 +4540,31 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4540
4540
  "date-picker-custom-navigation": "lc-DatePickerCustomNavigation-module__date-picker-custom-navigation___B7uEJ"
4541
4541
  }, Qr = "date-picker-custom-navigation", uc = ({ currentMonth: e, setMonth: a, startMonth: r, endMonth: o, numberOfMonths: _ }) => {
4542
4542
  const l = r && Wa(e, r), i = o && Wa(e, o), n = () => {
4543
- const h = new Date(e);
4544
- h.setMonth(e.getMonth() - 1), a(h);
4545
- }, d = () => {
4546
- const h = new Date(e);
4547
- h.setMonth(e.getMonth() + 1), a(h);
4543
+ const m = new Date(e);
4544
+ m.setMonth(e.getMonth() - 1), a(m);
4545
+ }, s = () => {
4546
+ const m = new Date(e);
4547
+ m.setMonth(e.getMonth() + 1), a(m);
4548
4548
  }, u = () => {
4549
4549
  if (!r) {
4550
4550
  const y = ta(e, 12);
4551
4551
  return a(y);
4552
4552
  }
4553
- const h = Math.abs(Oo(e, r)), p = ta(
4553
+ const m = Math.abs(Oo(e, r)), h = ta(
4554
4554
  e,
4555
- !Number.isNaN(h) && h > 12 ? 12 : h
4555
+ !Number.isNaN(m) && m > 12 ? 12 : m
4556
4556
  );
4557
- return a(p);
4558
- }, s = () => {
4557
+ return a(h);
4558
+ }, d = () => {
4559
4559
  if (!o) {
4560
4560
  const y = Po(e, 12);
4561
4561
  return a(y);
4562
4562
  }
4563
- const h = Math.abs(Oo(o, e)), p = Po(
4563
+ const m = Math.abs(Oo(o, e)), h = Po(
4564
4564
  e,
4565
- !Number.isNaN(h) && h > 12 ? 12 : h
4565
+ !Number.isNaN(m) && m > 12 ? 12 : m
4566
4566
  );
4567
- return _ === 2 && Wa(p, o) ? a(ta(p, 1)) : a(p);
4567
+ return _ === 2 && Wa(h, o) ? a(ta(h, 1)) : a(h);
4568
4568
  };
4569
4569
  return /* @__PURE__ */ g("div", { className: Jr[Qr], children: [
4570
4570
  /* @__PURE__ */ g("div", { className: Jr[`${Qr}__nav-wrapper`], children: [
@@ -4599,7 +4599,7 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4599
4599
  kind: "plain",
4600
4600
  size: "xcompact",
4601
4601
  icon: /* @__PURE__ */ t(P, { source: Ar }),
4602
- onClick: d,
4602
+ onClick: s,
4603
4603
  disabled: i
4604
4604
  }
4605
4605
  ),
@@ -4610,7 +4610,7 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4610
4610
  kind: "plain",
4611
4611
  size: "xcompact",
4612
4612
  icon: /* @__PURE__ */ t(P, { source: _l }),
4613
- onClick: s,
4613
+ onClick: d,
4614
4614
  disabled: i
4615
4615
  }
4616
4616
  )
@@ -4654,19 +4654,19 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4654
4654
  onMonthChange: i,
4655
4655
  ...n
4656
4656
  }) => {
4657
- const [d, u] = b.useState(e || /* @__PURE__ */ new Date());
4657
+ const [s, u] = b.useState(e || /* @__PURE__ */ new Date());
4658
4658
  b.useEffect(() => {
4659
- e && e !== d && u(e);
4660
- }, [e, d]), b.useEffect(() => {
4661
- _ && e !== d && (U_(d, { from: r, to: _ }) || u(_));
4662
- }, [e, d, _, r]);
4663
- const s = b.useCallback(
4664
- (h) => {
4659
+ e && e !== s && u(e);
4660
+ }, [e, s]), b.useEffect(() => {
4661
+ _ && e !== s && (U_(s, { from: r, to: _ }) || u(_));
4662
+ }, [e, s, _, r]);
4663
+ const d = b.useCallback(
4664
+ (m) => {
4665
4665
  if (i) {
4666
- i(h);
4666
+ i(m);
4667
4667
  return;
4668
4668
  }
4669
- u(h);
4669
+ u(m);
4670
4670
  },
4671
4671
  [e, i]
4672
4672
  );
@@ -4688,15 +4688,15 @@ const Sn = "lc-Avatar-module__avatar___5-kP8", Nn = "lc-Avatar-module__avatar__s
4688
4688
  range_end: c(Pe[`${qe}__range-end`]),
4689
4689
  disabled: c(Pe[`${qe}__disabled`])
4690
4690
  },
4691
- onMonthChange: s,
4692
- month: d,
4691
+ onMonthChange: d,
4692
+ month: s,
4693
4693
  components: {
4694
- CaptionLabel: ({ children: h }) => /* @__PURE__ */ t(B, { as: "span", bold: !0, children: h }),
4694
+ CaptionLabel: ({ children: m }) => /* @__PURE__ */ t(B, { as: "span", bold: !0, children: m }),
4695
4695
  Nav: () => /* @__PURE__ */ t(
4696
4696
  uc,
4697
4697
  {
4698
- currentMonth: d,
4699
- setMonth: s,
4698
+ currentMonth: s,
4699
+ setMonth: d,
4700
4700
  startMonth: o || r,
4701
4701
  endMonth: l || _
4702
4702
  }
@@ -4805,15 +4805,15 @@ const gc = (e) => {
4805
4805
  customTempToDate: l,
4806
4806
  toMonth: i,
4807
4807
  today: n,
4808
- onChange: d,
4808
+ onChange: s,
4809
4809
  onRangeSelect: u,
4810
- onSelect: s,
4811
- onCustomTempDateRangeChange: h,
4812
- children: p
4810
+ onSelect: d,
4811
+ onCustomTempDateRangeChange: m,
4812
+ children: h
4813
4813
  }) => {
4814
4814
  const y = qt(
4815
4815
  a || null
4816
- ), [m, k] = gc({
4816
+ ), [p, k] = gc({
4817
4817
  initialFromDate: r,
4818
4818
  initialToDate: o,
4819
4819
  toMonth: i,
@@ -4821,8 +4821,8 @@ const gc = (e) => {
4821
4821
  initialSelectedItemKey: a,
4822
4822
  customTempFromDate: _,
4823
4823
  customTempToDate: l,
4824
- children: p,
4825
- onChange: d,
4824
+ children: h,
4825
+ onChange: s,
4826
4826
  onRangeSelect: u
4827
4827
  });
4828
4828
  q(() => {
@@ -4854,54 +4854,54 @@ const gc = (e) => {
4854
4854
  payload: { date: f }
4855
4855
  });
4856
4856
  }, [i, r, o]), q(() => {
4857
- const { from: f, selectedItem: v, to: T } = m;
4858
- if (!(f && T))
4857
+ const { from: f, selectedItem: v, to: E } = p;
4858
+ if (!(f && E))
4859
4859
  return;
4860
- const I = za(v, e);
4861
- I && d?.({
4862
- ...I,
4860
+ const O = za(v, e);
4861
+ O && s?.({
4862
+ ...O,
4863
4863
  value: {
4864
4864
  from: f,
4865
- to: T
4865
+ to: E
4866
4866
  }
4867
4867
  });
4868
- }, [m.from, m.to, m.selectedItem, e, d]), q(() => {
4869
- const { from: f, to: v } = m;
4868
+ }, [p.from, p.to, p.selectedItem, e, s]), q(() => {
4869
+ const { from: f, to: v } = p;
4870
4870
  !(f && v) || !u || u?.({
4871
4871
  from: f,
4872
4872
  to: v
4873
4873
  });
4874
- }, [m.from, m.to, u]), q(() => {
4875
- const { selectedItem: f } = m;
4874
+ }, [p.from, p.to, u]), q(() => {
4875
+ const { selectedItem: f } = p;
4876
4876
  if (f === y.current || !e)
4877
4877
  return;
4878
4878
  if (!f) {
4879
- d?.(null);
4879
+ s?.(null);
4880
4880
  return;
4881
4881
  }
4882
4882
  if (!za(f, e))
4883
4883
  return;
4884
- const T = e.reduce(
4885
- (I, O) => ({ ...I, [O.id]: O }),
4884
+ const E = e.reduce(
4885
+ (O, I) => ({ ...O, [I.id]: I }),
4886
4886
  {}
4887
4887
  );
4888
- d?.(T[f]);
4889
- }, [d, m.selectedItem, e]), q(() => {
4890
- h?.({
4891
- from: m.temporaryFrom,
4892
- to: m.temporaryTo
4888
+ s?.(E[f]);
4889
+ }, [s, p.selectedItem, e]), q(() => {
4890
+ m?.({
4891
+ from: p.temporaryFrom,
4892
+ to: p.temporaryTo
4893
4893
  });
4894
- }, [m.temporaryFrom, m.temporaryTo]);
4894
+ }, [p.temporaryFrom, p.temporaryTo]);
4895
4895
  const x = mt(() => {
4896
- const { from: f, to: v } = m;
4897
- f && v && s && s({
4896
+ const { from: f, to: v } = p;
4897
+ f && v && d && d({
4898
4898
  from: f,
4899
4899
  to: v
4900
4900
  });
4901
- }, [s]), w = mt(
4901
+ }, [d]), w = mt(
4902
4902
  (f) => {
4903
- const { from: v, to: T } = m, I = i ? v_(i, f) >= 0 : !0;
4904
- v && !jo(v, T) && I && (ql(f, v) ? (k({
4903
+ const { from: v, to: E } = p, O = i ? v_(i, f) >= 0 : !0;
4904
+ v && !jo(v, E) && O && (ql(f, v) ? (k({
4905
4905
  type: H.NEW_TEMPORARY_FROM_VALUE,
4906
4906
  payload: { date: f }
4907
4907
  }), k({
@@ -4915,11 +4915,11 @@ const gc = (e) => {
4915
4915
  payload: { date: v }
4916
4916
  })));
4917
4917
  },
4918
- [i, m.from, m.to]
4919
- ), N = mt(
4918
+ [i, p.from, p.to]
4919
+ ), S = mt(
4920
4920
  (f) => {
4921
- const { from: v, to: T } = m;
4922
- U_(f, { to: i }) && (jo(v, T) ? (k({
4921
+ const { from: v, to: E } = p;
4922
+ U_(f, { to: i }) && (jo(v, E) ? (k({
4923
4923
  type: H.SELECT_FIRST_DAY,
4924
4924
  payload: { date: f }
4925
4925
  }), k({
@@ -4936,7 +4936,7 @@ const gc = (e) => {
4936
4936
  payload: { date: f }
4937
4937
  }));
4938
4938
  },
4939
- [i, m.from, m.to]
4939
+ [i, p.from, p.to]
4940
4940
  ), $ = mt(
4941
4941
  (f) => {
4942
4942
  if (f === null) {
@@ -4958,24 +4958,24 @@ const gc = (e) => {
4958
4958
  payload: { date: f }
4959
4959
  });
4960
4960
  }, []);
4961
- return p((() => {
4961
+ return h((() => {
4962
4962
  const {
4963
4963
  currentMonth: f,
4964
4964
  from: v,
4965
- selectedItem: T,
4966
- temporaryFrom: I,
4967
- temporaryTo: O,
4965
+ selectedItem: E,
4966
+ temporaryFrom: O,
4967
+ temporaryTo: I,
4968
4968
  to: A,
4969
- customTempFrom: E,
4969
+ customTempFrom: T,
4970
4970
  customTempTo: M
4971
- } = m, D = pa(() => za(T, e), [e, T]), R = pa(() => ({ from: I || v, to: O }), [v, I, O]), F = pa(() => {
4972
- if (!(!E || !M))
4973
- return { from: E, to: M };
4974
- }, [E, M]), U = pa(() => i ? { after: i } : void 0, [i]);
4971
+ } = p, D = pa(() => za(E, e), [e, E]), R = pa(() => ({ from: O || v, to: I }), [v, O, I]), F = pa(() => {
4972
+ if (!(!T || !M))
4973
+ return { from: T, to: M };
4974
+ }, [T, M]), U = pa(() => i ? { after: i } : void 0, [i]);
4975
4975
  return {
4976
4976
  select: {
4977
4977
  onItemSelect: $,
4978
- selected: T || ""
4978
+ selected: E || ""
4979
4979
  },
4980
4980
  inputs: {
4981
4981
  fromDate: v,
@@ -4985,7 +4985,7 @@ const gc = (e) => {
4985
4985
  mode: "range",
4986
4986
  month: f,
4987
4987
  numberOfMonths: 2,
4988
- onDayClick: N,
4988
+ onDayClick: S,
4989
4989
  selected: F || R,
4990
4990
  endMonth: i,
4991
4991
  disabled: U,
@@ -5047,38 +5047,38 @@ const bu = (e) => {
5047
5047
  withDivider: l,
5048
5048
  fullSpaceContent: i,
5049
5049
  openOnInit: n = !1,
5050
- hideLabelOnOpen: d,
5050
+ hideLabelOnOpen: s,
5051
5051
  onClick: u
5052
5052
  }) => {
5053
- const [s, h] = b.useState(n), [p, y] = b.useState(0), m = b.useRef(null), k = c(
5053
+ const [d, m] = b.useState(n), [h, y] = b.useState(0), p = b.useRef(null), k = c(
5054
5054
  Y[X],
5055
5055
  l && Y[`${X}--with-divider`],
5056
5056
  a
5057
- ), x = d && s, w = typeof _ == "string", N = (C) => {
5058
- h((S) => !S), C.currentTarget.blur(), u?.(C);
5057
+ ), x = s && d, w = typeof _ == "string", S = (C) => {
5058
+ m((N) => !N), C.currentTarget.blur(), u?.(C);
5059
5059
  }, $ = (C) => {
5060
5060
  const f = C.target.tagName.toLowerCase();
5061
- hc.includes(f) || (h((v) => !v), u?.(C));
5061
+ hc.includes(f) || (m((v) => !v), u?.(C));
5062
5062
  };
5063
5063
  return b.useEffect(() => {
5064
5064
  const C = !!window.IntersectionObserver;
5065
- if (m.current && C) {
5066
- const S = new ResizeObserver(() => {
5067
- m.current && p !== m.current.offsetHeight && y(m.current.offsetHeight);
5065
+ if (p.current && C) {
5066
+ const N = new ResizeObserver(() => {
5067
+ p.current && h !== p.current.offsetHeight && y(p.current.offsetHeight);
5068
5068
  });
5069
- return S.observe(m.current), () => S.disconnect();
5069
+ return N.observe(p.current), () => N.disconnect();
5070
5070
  }
5071
- }, [m]), /* @__PURE__ */ g("div", { className: k, children: [
5071
+ }, [p]), /* @__PURE__ */ g("div", { className: k, children: [
5072
5072
  /* @__PURE__ */ t(
5073
5073
  "div",
5074
5074
  {
5075
5075
  className: c(
5076
5076
  Y[`${X}__label-wrapper`],
5077
- d && Y[`${X}__label-wrapper--fading`],
5077
+ s && Y[`${X}__label-wrapper--fading`],
5078
5078
  x && Y[`${X}__label-wrapper--hide`],
5079
- s && Y[`${X}__label-wrapper--open`]
5079
+ d && Y[`${X}__label-wrapper--open`]
5080
5080
  ),
5081
- "aria-expanded": s,
5081
+ "aria-expanded": d,
5082
5082
  "aria-hidden": x,
5083
5083
  "data-testid": "details-card-label",
5084
5084
  onClick: $,
@@ -5087,7 +5087,7 @@ const bu = (e) => {
5087
5087
  {
5088
5088
  className: c(
5089
5089
  Y[`${X}__label`],
5090
- d && Y[`${X}__label--with-margin`]
5090
+ s && Y[`${X}__label--with-margin`]
5091
5091
  ),
5092
5092
  children: [
5093
5093
  r && /* @__PURE__ */ t("div", { className: Y[`${X}__label__left-node`], children: r }),
@@ -5108,25 +5108,25 @@ const bu = (e) => {
5108
5108
  /* @__PURE__ */ t(
5109
5109
  L,
5110
5110
  {
5111
- kind: s && d ? "float" : "text",
5111
+ kind: d && s ? "float" : "text",
5112
5112
  icon: /* @__PURE__ */ t(
5113
5113
  P,
5114
5114
  {
5115
5115
  source: Ar,
5116
5116
  className: c(
5117
5117
  Y[`${X}__button__icon`],
5118
- s && Y[`${X}__button__icon--open`]
5118
+ d && Y[`${X}__button__icon--open`]
5119
5119
  )
5120
5120
  }
5121
5121
  ),
5122
5122
  className: c(
5123
5123
  Y[`${X}__button`],
5124
- !s && Y[`${X}__button--closed`],
5125
- s && Y[`${X}__button--open`],
5126
- d && Y[`${X}__button--fading`]
5124
+ !d && Y[`${X}__button--closed`],
5125
+ d && Y[`${X}__button--open`],
5126
+ s && Y[`${X}__button--fading`]
5127
5127
  ),
5128
- onClick: N,
5129
- "aria-expanded": s
5128
+ onClick: S,
5129
+ "aria-expanded": d
5130
5130
  }
5131
5131
  ),
5132
5132
  /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
@@ -5134,19 +5134,19 @@ const bu = (e) => {
5134
5134
  {
5135
5135
  className: c(
5136
5136
  Y[`${X}__content-wrapper`],
5137
- s && Y[`${X}__content-wrapper--open`]
5137
+ d && Y[`${X}__content-wrapper--open`]
5138
5138
  ),
5139
5139
  style: {
5140
- maxHeight: s ? p : 0
5140
+ maxHeight: d ? h : 0
5141
5141
  },
5142
5142
  children: /* @__PURE__ */ t(
5143
5143
  "div",
5144
5144
  {
5145
- ref: m,
5145
+ ref: p,
5146
5146
  className: c(
5147
5147
  Y[`${X}__content`],
5148
5148
  i && Y[`${X}__content--full-space`],
5149
- d && Y[`${X}__content--spacing`]
5149
+ s && Y[`${X}__content--spacing`]
5150
5150
  ),
5151
5151
  children: e
5152
5152
  }
@@ -5314,11 +5314,11 @@ const bu = (e) => {
5314
5314
  className: l,
5315
5315
  labelFor: i,
5316
5316
  children: n,
5317
- labelRightNode: d,
5317
+ labelRightNode: s,
5318
5318
  boldLabel: u = !1,
5319
- readOnly: s = !1
5319
+ readOnly: d = !1
5320
5320
  }) => {
5321
- const h = b.useRef(null), [p, y] = b.useState("auto"), { isEmpty: m } = xt(), k = c(
5321
+ const m = b.useRef(null), [h, y] = b.useState("auto"), { isEmpty: p } = xt(), k = c(
5322
5322
  re[oe],
5323
5323
  {
5324
5324
  [re[`${oe}--inline`]]: e
@@ -5326,10 +5326,10 @@ const bu = (e) => {
5326
5326
  l
5327
5327
  );
5328
5328
  return b.useEffect(() => {
5329
- const x = h;
5329
+ const x = m;
5330
5330
  return e && x.current ? y(`${x.current.clientHeight}px`) : y("auto");
5331
5331
  }), /* @__PURE__ */ g("div", { className: k, children: [
5332
- d && e && /* @__PURE__ */ g(b.Fragment, { children: [
5332
+ s && e && /* @__PURE__ */ g(b.Fragment, { children: [
5333
5333
  /* @__PURE__ */ t(
5334
5334
  B,
5335
5335
  {
@@ -5339,7 +5339,7 @@ const bu = (e) => {
5339
5339
  re[`${oe}__label-right-node`],
5340
5340
  re[`${oe}__label-right-node--inline`]
5341
5341
  ),
5342
- children: d
5342
+ children: s
5343
5343
  }
5344
5344
  ),
5345
5345
  /* @__PURE__ */ t("div", { className: re[`${oe}__row-break`] })
@@ -5352,7 +5352,7 @@ const bu = (e) => {
5352
5352
  e && re[`${oe}__wrapper--inline`]
5353
5353
  ),
5354
5354
  children: [
5355
- (o || d) && /* @__PURE__ */ g(
5355
+ (o || s) && /* @__PURE__ */ g(
5356
5356
  "div",
5357
5357
  {
5358
5358
  className: c(
@@ -5369,7 +5369,7 @@ const bu = (e) => {
5369
5369
  e && re[`${oe}__label-wrapper--inline`]
5370
5370
  ),
5371
5371
  style: {
5372
- height: p
5372
+ height: h
5373
5373
  },
5374
5374
  children: [
5375
5375
  /* @__PURE__ */ t(
@@ -5377,7 +5377,7 @@ const bu = (e) => {
5377
5377
  {
5378
5378
  className: c(
5379
5379
  re[`${oe}__label-left-node`],
5380
- s && re[`${oe}__label-left-node--read-only`]
5380
+ d && re[`${oe}__label-left-node--read-only`]
5381
5381
  ),
5382
5382
  htmlFor: i,
5383
5383
  children: /* @__PURE__ */ t(
@@ -5385,8 +5385,8 @@ const bu = (e) => {
5385
5385
  {
5386
5386
  as: "span",
5387
5387
  size: "sm",
5388
- bold: !s && u,
5389
- customColor: m ? "var(--content-basic-secondary)" : void 0,
5388
+ bold: !d && u,
5389
+ customColor: p ? "var(--content-basic-secondary)" : void 0,
5390
5390
  children: o
5391
5391
  }
5392
5392
  )
@@ -5407,20 +5407,20 @@ const bu = (e) => {
5407
5407
  ]
5408
5408
  }
5409
5409
  ),
5410
- d && !e && /* @__PURE__ */ t(
5410
+ s && !e && /* @__PURE__ */ t(
5411
5411
  B,
5412
5412
  {
5413
5413
  as: "div",
5414
5414
  size: "sm",
5415
5415
  className: c(re[`${oe}__label-right-node`]),
5416
- children: d
5416
+ children: s
5417
5417
  }
5418
5418
  )
5419
5419
  ]
5420
5420
  }
5421
5421
  ),
5422
5422
  /* @__PURE__ */ g("div", { className: c(re[`${oe}__content`]), children: [
5423
- /* @__PURE__ */ t("div", { ref: h, children: n }),
5423
+ /* @__PURE__ */ t("div", { ref: m, children: n }),
5424
5424
  a && /* @__PURE__ */ t(Io, { children: a }),
5425
5425
  !a && r && /* @__PURE__ */ t(
5426
5426
  Rr,
@@ -5486,9 +5486,9 @@ const bu = (e) => {
5486
5486
  className: o,
5487
5487
  isExpanded: _
5488
5488
  }) => {
5489
- const [l, i] = _e(!1), n = _ !== void 0, d = n ? _ : l, u = () => {
5489
+ const [l, i] = _e(!1), n = _ !== void 0, s = n ? _ : l, u = () => {
5490
5490
  i(!0);
5491
- }, s = () => {
5491
+ }, d = () => {
5492
5492
  i(!1);
5493
5493
  };
5494
5494
  return q(() => {
@@ -5499,12 +5499,12 @@ const bu = (e) => {
5499
5499
  type: "button",
5500
5500
  className: c(
5501
5501
  vr["animated-button"],
5502
- { [vr.expanded]: d },
5502
+ { [vr.expanded]: s },
5503
5503
  o
5504
5504
  ),
5505
5505
  onClick: r,
5506
5506
  onMouseEnter: u,
5507
- onMouseLeave: s,
5507
+ onMouseLeave: d,
5508
5508
  children: [
5509
5509
  /* @__PURE__ */ t("span", { className: vr.icon, children: e }),
5510
5510
  /* @__PURE__ */ t("span", { className: vr.text, children: a })
@@ -5537,37 +5537,37 @@ const bu = (e) => {
5537
5537
  tooltipArrowOffset: l = 13,
5538
5538
  onAvailableAgentsClick: i,
5539
5539
  showBotsInTooltip: n = !0,
5540
- ...d
5540
+ ...s
5541
5541
  }) => {
5542
- const [u, s] = _e(!1), [h, p] = _e(!1), {
5542
+ const [u, d] = _e(!1), [m, h] = _e(!1), {
5543
5543
  availableAgentsNumber: y,
5544
- visibleAgents: m,
5544
+ visibleAgents: p,
5545
5545
  hasOnlyUnavailableAgents: k,
5546
5546
  onlyAgentsNumber: x,
5547
5547
  onlyBotsNumber: w
5548
5548
  } = pa(() => {
5549
5549
  const f = e.filter(
5550
5550
  (M) => M.status === "available"
5551
- ), v = xc(f), T = f.length, I = v.length > 4 ? v.slice(0, 3) : v, O = e.length > 0 && T === 0, A = f.filter(
5551
+ ), v = xc(f), E = f.length, O = v.length > 4 ? v.slice(0, 3) : v, I = e.length > 0 && E === 0, A = f.filter(
5552
5552
  (M) => !M.isBot
5553
- ).length, E = T - A;
5553
+ ).length, T = E - A;
5554
5554
  return {
5555
- availableAgentsNumber: T,
5556
- visibleAgents: I,
5557
- hasOnlyUnavailableAgents: O,
5555
+ availableAgentsNumber: E,
5556
+ visibleAgents: O,
5557
+ hasOnlyUnavailableAgents: I,
5558
5558
  onlyAgentsNumber: A,
5559
- onlyBotsNumber: E
5559
+ onlyBotsNumber: T
5560
5560
  };
5561
- }, [e]), N = () => {
5562
- a(), s(!1), p(!1);
5561
+ }, [e]), S = () => {
5562
+ a(), d(!1), h(!1);
5563
5563
  }, $ = () => {
5564
- r(), s(!1), p(!1);
5564
+ r(), d(!1), h(!1);
5565
5565
  }, C = () => {
5566
- i(), s(!1), p(!1);
5567
- }, S = [
5566
+ i(), d(!1), h(!1);
5567
+ }, N = [
5568
5568
  {
5569
5569
  key: "chatbot",
5570
- onClick: N,
5570
+ onClick: S,
5571
5571
  element: /* @__PURE__ */ t(Xa, { leftNode: /* @__PURE__ */ t(P, { source: cl }), children: "Set up ChatBot" })
5572
5572
  },
5573
5573
  {
@@ -5579,7 +5579,7 @@ const bu = (e) => {
5579
5579
  return /* @__PURE__ */ g(
5580
5580
  "div",
5581
5581
  {
5582
- ...d,
5582
+ ...s,
5583
5583
  className: c(
5584
5584
  Kt.Dark,
5585
5585
  He[ze],
@@ -5593,12 +5593,12 @@ const bu = (e) => {
5593
5593
  e.length > 0 && /* @__PURE__ */ t(
5594
5594
  Yt,
5595
5595
  {
5596
- isVisible: h && !u,
5596
+ isVisible: m && !u,
5597
5597
  offsetMainAxis: l,
5598
5598
  floatingStrategy: "fixed",
5599
5599
  hoverOnDelay: Ec,
5600
- onOpen: () => p(!0),
5601
- onClose: () => p(!1),
5600
+ onOpen: () => h(!0),
5601
+ onClose: () => h(!1),
5602
5602
  className: c(Kt.Dark, He[`${ze}__tooltip`]),
5603
5603
  triggerRenderer: k ? /* @__PURE__ */ g(
5604
5604
  "div",
@@ -5623,7 +5623,7 @@ const bu = (e) => {
5623
5623
  className: He[`${ze}__tooltip-trigger`],
5624
5624
  onClick: C,
5625
5625
  children: [
5626
- /* @__PURE__ */ t("div", { className: He[`${ze}__avatar-container`], children: m.map((f, v) => /* @__PURE__ */ t(
5626
+ /* @__PURE__ */ t("div", { className: He[`${ze}__avatar-container`], children: p.map((f, v) => /* @__PURE__ */ t(
5627
5627
  Bo,
5628
5628
  {
5629
5629
  text: f.name,
@@ -5652,7 +5652,7 @@ const bu = (e) => {
5652
5652
  header: "No one's available to assist customers",
5653
5653
  text: "Offer 24/7 support with ChatBot.",
5654
5654
  primaryButton: {
5655
- handleClick: N,
5655
+ handleClick: S,
5656
5656
  label: "Set up ChatBot"
5657
5657
  }
5658
5658
  }
@@ -5701,15 +5701,15 @@ const bu = (e) => {
5701
5701
  {
5702
5702
  floatingStrategy: "fixed",
5703
5703
  visible: u,
5704
- onOpen: () => s(!0),
5705
- onClose: () => s(!1),
5706
- options: S,
5704
+ onOpen: () => d(!0),
5705
+ onClose: () => d(!1),
5706
+ options: N,
5707
5707
  triggerRenderer: /* @__PURE__ */ t(
5708
5708
  Nc,
5709
5709
  {
5710
5710
  icon: /* @__PURE__ */ t(P, { source: nl }),
5711
5711
  text: "Invite",
5712
- onClick: () => s((f) => !f),
5712
+ onClick: () => d((f) => !f),
5713
5713
  isExpanded: _ ? u || void 0 : !0
5714
5714
  }
5715
5715
  )
@@ -5761,7 +5761,7 @@ const bu = (e) => {
5761
5761
  isLabelled: i,
5762
5762
  ...n
5763
5763
  }) => {
5764
- const d = c(
5764
+ const s = c(
5765
5765
  xe[Ba],
5766
5766
  a,
5767
5767
  l && xe[`${Ba}--full-space`]
@@ -5769,16 +5769,16 @@ const bu = (e) => {
5769
5769
  return b.useEffect(() => {
5770
5770
  if (!o)
5771
5771
  return;
5772
- const s = (h) => {
5773
- h.key === le.esc && r();
5772
+ const d = (m) => {
5773
+ m.key === le.esc && r();
5774
5774
  };
5775
- return document.addEventListener("keyup", s, !0), () => document.removeEventListener("keyup", s, !0);
5775
+ return document.addEventListener("keyup", d, !0), () => document.removeEventListener("keyup", d, !0);
5776
5776
  }, [o]), /* @__PURE__ */ t(
5777
5777
  Ml,
5778
5778
  {
5779
5779
  "data-testid": "lc-modal-overlay",
5780
- onMouseDown: (s) => {
5781
- _ && s.target === s.currentTarget && r();
5780
+ onMouseDown: (d) => {
5781
+ _ && d.target === d.currentTarget && r();
5782
5782
  },
5783
5783
  className: c(
5784
5784
  xe[`${Ba}__overlay`],
@@ -5790,7 +5790,7 @@ const bu = (e) => {
5790
5790
  {
5791
5791
  role: "dialog",
5792
5792
  "aria-modal": !0,
5793
- className: d,
5793
+ className: s,
5794
5794
  ...n,
5795
5795
  children: e
5796
5796
  }
@@ -5824,10 +5824,10 @@ const bu = (e) => {
5824
5824
  footer: l,
5825
5825
  onClose: i,
5826
5826
  contentClassName: n,
5827
- ...d
5827
+ ...s
5828
5828
  }) => {
5829
- const u = c(xe[Vt], a), s = typeof e == "string", h = (p) => {
5830
- p.preventDefault(), p.stopPropagation(), i();
5829
+ const u = c(xe[Vt], a), d = typeof e == "string", m = (h) => {
5830
+ h.preventDefault(), h.stopPropagation(), i();
5831
5831
  };
5832
5832
  return /* @__PURE__ */ g(
5833
5833
  Pc,
@@ -5836,7 +5836,7 @@ const bu = (e) => {
5836
5836
  fullSpaceContent: _,
5837
5837
  onClose: i,
5838
5838
  isLabelled: !!o,
5839
- ...d,
5839
+ ...s,
5840
5840
  children: [
5841
5841
  o && /* @__PURE__ */ g("div", { className: xe[`${Vt}__label-header`], children: [
5842
5842
  /* @__PURE__ */ t(
@@ -5853,7 +5853,7 @@ const bu = (e) => {
5853
5853
  {
5854
5854
  labelType: !!o,
5855
5855
  customColor: "var(--color-white)",
5856
- onClick: h
5856
+ onClick: m
5857
5857
  }
5858
5858
  )
5859
5859
  ] }),
@@ -5873,7 +5873,7 @@ const bu = (e) => {
5873
5873
  children: r
5874
5874
  }
5875
5875
  ),
5876
- /* @__PURE__ */ t(r_, { onClick: h })
5876
+ /* @__PURE__ */ t(r_, { onClick: m })
5877
5877
  ]
5878
5878
  }
5879
5879
  ),
@@ -5882,7 +5882,7 @@ const bu = (e) => {
5882
5882
  {
5883
5883
  "data-testid": "modal-body",
5884
5884
  className: c(xe[`${Vt}__body`], n),
5885
- children: s ? /* @__PURE__ */ t(B, { as: "div", children: e }) : e
5885
+ children: d ? /* @__PURE__ */ t(B, { as: "div", children: e }) : e
5886
5886
  }
5887
5887
  ),
5888
5888
  l && /* @__PURE__ */ t("div", { className: xe[`${Vt}__footer`], children: l })
@@ -5990,11 +5990,11 @@ const bu = (e) => {
5990
5990
  disabled: l,
5991
5991
  noControls: i,
5992
5992
  style: n,
5993
- onChange: d,
5993
+ onChange: s,
5994
5994
  noDataFallbackText: u = "No data",
5995
- ...s
5995
+ ...d
5996
5996
  }) => {
5997
- const h = b.useRef(null), { readOnly: p } = xt(), y = p || s.readOnly, m = c(
5997
+ const m = b.useRef(null), { readOnly: h } = xt(), y = h || d.readOnly, p = c(
5998
5998
  sa[da],
5999
5999
  {
6000
6000
  [sa[`${da}--error`]]: a,
@@ -6002,39 +6002,39 @@ const bu = (e) => {
6002
6002
  [sa[`${da}--disabled`]]: l
6003
6003
  },
6004
6004
  e
6005
- ), k = (v) => d(String(v)), x = (v) => o !== void 0 && v > o ? o : _ !== void 0 && v < _ ? _ : v, w = (v) => {
6006
- const T = parseInt(r, 10) + v;
6007
- return k(x(T));
6008
- }, N = (v) => {
6005
+ ), k = (v) => s(String(v)), x = (v) => o !== void 0 && v > o ? o : _ !== void 0 && v < _ ? _ : v, w = (v) => {
6006
+ const E = parseInt(r, 10) + v;
6007
+ return k(x(E));
6008
+ }, S = (v) => {
6009
6009
  v.key === le.arrowDown && (v.preventDefault(), w(-1)), v.key === le.arrowUp && (v.preventDefault(), w(1));
6010
- }, $ = (v, T) => T !== void 0 && parseInt(v, 10) === T, C = (v) => {
6010
+ }, $ = (v, E) => E !== void 0 && parseInt(v, 10) === E, C = (v) => {
6011
6011
  v.preventDefault(), v.stopPropagation();
6012
- const T = v.currentTarget.value.replace(
6012
+ const E = v.currentTarget.value.replace(
6013
6013
  /((?!([-]|([-]?\d+))).)/,
6014
6014
  ""
6015
6015
  );
6016
- if (T === "" || T === "-")
6017
- return k(T);
6018
- const I = parseInt(T, 10);
6019
- return k(x(I));
6020
- }, S = () => (h.current?.focus(), w(1)), f = () => (h.current?.focus(), w(-1));
6016
+ if (E === "" || E === "-")
6017
+ return k(E);
6018
+ const O = parseInt(E, 10);
6019
+ return k(x(O));
6020
+ }, N = () => (m.current?.focus(), w(1)), f = () => (m.current?.focus(), w(-1));
6021
6021
  return y ? /* @__PURE__ */ t(
6022
6022
  va,
6023
6023
  {
6024
6024
  value: r?.toString(),
6025
6025
  noDataFallbackText: u
6026
6026
  }
6027
- ) : /* @__PURE__ */ g("div", { className: m, style: n, children: [
6027
+ ) : /* @__PURE__ */ g("div", { className: p, style: n, children: [
6028
6028
  /* @__PURE__ */ t(
6029
6029
  "input",
6030
6030
  {
6031
6031
  type: "text",
6032
- ref: h,
6033
- ...s,
6032
+ ref: m,
6033
+ ...d,
6034
6034
  value: r,
6035
6035
  disabled: l,
6036
6036
  onChange: C,
6037
- onKeyDown: N,
6037
+ onKeyDown: S,
6038
6038
  min: _,
6039
6039
  max: o
6040
6040
  }
@@ -6045,7 +6045,7 @@ const bu = (e) => {
6045
6045
  {
6046
6046
  tabIndex: -1,
6047
6047
  disabled: l || $(r, o),
6048
- onClick: S,
6048
+ onClick: N,
6049
6049
  "aria-label": "Increment value",
6050
6050
  className: sa[`${da}__increment`],
6051
6051
  type: "button",
@@ -6105,23 +6105,23 @@ const bu = (e) => {
6105
6105
  description: l,
6106
6106
  customContent: i,
6107
6107
  onClick: n,
6108
- cta: d
6108
+ cta: s
6109
6109
  }) => {
6110
- const u = b.useRef(null), s = b.useRef(null), [h, p] = b.useState(0), y = b.useRef(h);
6110
+ const u = b.useRef(null), d = b.useRef(null), [m, h] = b.useState(0), y = b.useRef(m);
6111
6111
  return b.useEffect(() => {
6112
6112
  a && u.current && u.current.focus();
6113
6113
  }, [a]), b.useEffect(() => {
6114
- const m = !!window.ResizeObserver;
6115
- if (s.current && m) {
6114
+ const p = !!window.ResizeObserver;
6115
+ if (d.current && p) {
6116
6116
  const k = new ResizeObserver((x) => {
6117
6117
  const w = x[0];
6118
6118
  if (!w) return;
6119
- const N = w.contentRect.height + Mc;
6120
- y.current !== N && (p(N), y.current = N);
6119
+ const S = w.contentRect.height + Mc;
6120
+ y.current !== S && (h(S), y.current = S);
6121
6121
  });
6122
- return k.observe(s.current), () => k.disconnect();
6122
+ return k.observe(d.current), () => k.disconnect();
6123
6123
  }
6124
- }, [s]), /* @__PURE__ */ g(
6124
+ }, [d]), /* @__PURE__ */ g(
6125
6125
  "div",
6126
6126
  {
6127
6127
  className: c(we[$e], {
@@ -6183,8 +6183,8 @@ const bu = (e) => {
6183
6183
  className: c(we[`${$e}__content__inner`], {
6184
6184
  [we[`${$e}__content__inner--open`]]: a
6185
6185
  }),
6186
- style: { maxHeight: a ? h : 0 },
6187
- children: /* @__PURE__ */ g("div", { ref: s, children: [
6186
+ style: { maxHeight: a ? m : 0 },
6187
+ children: /* @__PURE__ */ g("div", { ref: d, children: [
6188
6188
  l && /* @__PURE__ */ t(
6189
6189
  B,
6190
6190
  {
@@ -6200,7 +6200,7 @@ const bu = (e) => {
6200
6200
  children: i
6201
6201
  }
6202
6202
  ),
6203
- /* @__PURE__ */ t("div", { className: we[`${$e}__content__inner__cta`], children: d })
6203
+ /* @__PURE__ */ t("div", { className: we[`${$e}__content__inner__cta`], children: s })
6204
6204
  ] })
6205
6205
  }
6206
6206
  )
@@ -6241,49 +6241,49 @@ const bu = (e) => {
6241
6241
  onActiveChange: l,
6242
6242
  placeholderClassName: i,
6243
6243
  isCompleted: n = !1,
6244
- completionMessageData: d,
6244
+ completionMessageData: s,
6245
6245
  isInitiallyOpen: u,
6246
- onOpenChange: s,
6247
- className: h
6246
+ onOpenChange: d,
6247
+ className: m
6248
6248
  }) => {
6249
- const [p, y] = b.useState(n), [m, k] = b.useState(
6249
+ const [h, y] = b.useState(n), [p, k] = b.useState(
6250
6250
  n ? u ?? !1 : !0
6251
- ), [x, w] = b.useState(void 0), N = b.useRef(null), $ = d.height || 108, C = 108, S = () => {
6252
- k(!m), s?.(!m);
6251
+ ), [x, w] = b.useState(void 0), S = b.useRef(null), $ = s.height || 108, C = 108, N = () => {
6252
+ k(!p), d?.(!p);
6253
6253
  };
6254
6254
  return b.useEffect(() => {
6255
- const f = d.delay || 1500, v = N.current;
6256
- if (n && v && !p) {
6257
- const T = v.offsetHeight;
6258
- w(T);
6259
- const I = setTimeout(() => {
6260
- y(!0), k(!1), s?.(!1);
6255
+ const f = s.delay || 1500, v = S.current;
6256
+ if (n && v && !h) {
6257
+ const E = v.offsetHeight;
6258
+ w(E);
6259
+ const O = setTimeout(() => {
6260
+ y(!0), k(!1), d?.(!1);
6261
6261
  }, f);
6262
6262
  return () => {
6263
- clearTimeout(I);
6263
+ clearTimeout(O);
6264
6264
  };
6265
6265
  }
6266
- }, [n, p]), b.useEffect(() => {
6267
- if (N.current) {
6268
- const f = m ? N.current.scrollHeight + C : $;
6266
+ }, [n, h]), b.useEffect(() => {
6267
+ if (S.current) {
6268
+ const f = p ? S.current.scrollHeight + C : $;
6269
6269
  w(f);
6270
6270
  }
6271
- }, [m, p]), /* @__PURE__ */ g(
6271
+ }, [p, h]), /* @__PURE__ */ g(
6272
6272
  "div",
6273
6273
  {
6274
- ref: N,
6274
+ ref: S,
6275
6275
  className: c(
6276
6276
  Z[j],
6277
6277
  {
6278
- [Z[`${j}--complete`]]: p && !m
6278
+ [Z[`${j}--complete`]]: h && !p
6279
6279
  },
6280
- h
6280
+ m
6281
6281
  ),
6282
6282
  style: {
6283
6283
  height: x
6284
6284
  },
6285
6285
  children: [
6286
- m && /* @__PURE__ */ g(K, { children: [
6286
+ p && /* @__PURE__ */ g(K, { children: [
6287
6287
  /* @__PURE__ */ g("div", { className: Z[`${j}__column`], children: [
6288
6288
  /* @__PURE__ */ g("div", { className: Z[`${j}__header`], children: [
6289
6289
  o && /* @__PURE__ */ t(
@@ -6333,12 +6333,12 @@ const bu = (e) => {
6333
6333
  ),
6334
6334
  children: [
6335
6335
  !n && /* @__PURE__ */ t("div", { className: Z[`${j}__placeholder`], children: _.find((f) => f.id === e)?.placeholder }),
6336
- n && /* @__PURE__ */ t("div", { className: Z[`${j}__placeholder`], children: d.placeholder })
6336
+ n && /* @__PURE__ */ t("div", { className: Z[`${j}__placeholder`], children: s.placeholder })
6337
6337
  ]
6338
6338
  }
6339
6339
  )
6340
6340
  ] }),
6341
- !m && /* @__PURE__ */ t(K, { children: /* @__PURE__ */ g("div", { className: Z[`${j}__complete`], children: [
6341
+ !p && /* @__PURE__ */ t(K, { children: /* @__PURE__ */ g("div", { className: Z[`${j}__complete`], children: [
6342
6342
  /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
6343
6343
  P,
6344
6344
  {
@@ -6351,15 +6351,15 @@ const bu = (e) => {
6351
6351
  "div",
6352
6352
  {
6353
6353
  className: c({
6354
- [Z[`${j}__complete__content--no-greeting`]]: !d?.greetingText
6354
+ [Z[`${j}__complete__content--no-greeting`]]: !s?.greetingText
6355
6355
  }),
6356
6356
  children: [
6357
- d?.greetingText && /* @__PURE__ */ t(
6357
+ s?.greetingText && /* @__PURE__ */ t(
6358
6358
  B,
6359
6359
  {
6360
6360
  size: "lg",
6361
6361
  className: Z[`${j}__complete__label`],
6362
- children: d.greetingText
6362
+ children: s.greetingText
6363
6363
  }
6364
6364
  ),
6365
6365
  /* @__PURE__ */ t(
@@ -6367,33 +6367,33 @@ const bu = (e) => {
6367
6367
  {
6368
6368
  size: "sm",
6369
6369
  className: Z[`${j}__complete__title`],
6370
- children: d.title
6370
+ children: s.title
6371
6371
  }
6372
6372
  )
6373
6373
  ]
6374
6374
  }
6375
6375
  )
6376
6376
  ] }) }),
6377
- p && /* @__PURE__ */ t(
6377
+ h && /* @__PURE__ */ t(
6378
6378
  L,
6379
6379
  {
6380
- kind: m ? "float" : "text",
6380
+ kind: p ? "float" : "text",
6381
6381
  icon: /* @__PURE__ */ t(
6382
6382
  P,
6383
6383
  {
6384
6384
  source: Xt,
6385
6385
  className: c(
6386
6386
  Z[`${j}__button__icon`],
6387
- m && Z[`${j}__button__icon--open`]
6387
+ p && Z[`${j}__button__icon--open`]
6388
6388
  )
6389
6389
  }
6390
6390
  ),
6391
6391
  className: c(Z[`${j}__button`], {
6392
- [Z[`${j}__button--open`]]: m,
6393
- [Z[`${j}__button--closed`]]: !m
6392
+ [Z[`${j}__button--open`]]: p,
6393
+ [Z[`${j}__button--closed`]]: !p
6394
6394
  }),
6395
- onClick: S,
6396
- "aria-expanded": m
6395
+ onClick: N,
6396
+ "aria-expanded": p
6397
6397
  }
6398
6398
  )
6399
6399
  ]
@@ -6433,30 +6433,30 @@ const bu = (e) => {
6433
6433
  triggerClassName: l,
6434
6434
  placement: i,
6435
6435
  flipOptions: n,
6436
- offsetSize: d = 4,
6436
+ offsetSize: s = 4,
6437
6437
  isVisible: u,
6438
- openedOnInit: s,
6439
- closeOnEsc: h = !0,
6440
- useDismissHookProps: p,
6438
+ openedOnInit: d,
6439
+ closeOnEsc: m = !0,
6440
+ useDismissHookProps: h,
6441
6441
  useClickHookProps: y,
6442
- floatingStrategy: m,
6442
+ floatingStrategy: p,
6443
6443
  transitionOptions: k
6444
6444
  }) => {
6445
- const [x, w] = b.useState(s), N = Dr(), $ = Ja(), C = u !== void 0, S = C ? u : x, f = typeof o == "string", v = typeof e == "function", T = (z, he) => {
6445
+ const [x, w] = b.useState(d), S = Dr(), $ = Ja(), C = u !== void 0, N = C ? u : x, f = typeof o == "string", v = typeof e == "function", E = (z, he) => {
6446
6446
  z ? r?.(he) : a?.(he), !C && w(z);
6447
- }, { refs: I, context: O, floatingStyles: A } = Qa({
6447
+ }, { refs: O, context: I, floatingStyles: A } = Qa({
6448
6448
  nodeId: $,
6449
- open: S,
6450
- onOpenChange: T,
6451
- middleware: [er(d), Or(n), So()],
6449
+ open: N,
6450
+ onOpenChange: E,
6451
+ middleware: [er(s), Or(n), So()],
6452
6452
  placement: i,
6453
- strategy: m,
6453
+ strategy: p,
6454
6454
  whileElementsMounted: tr
6455
- }), E = ar(O, y), M = rr(O, {
6456
- escapeKey: h,
6457
- ...p
6458
- }), D = or(O), { getReferenceProps: R, getFloatingProps: F } = _r([
6459
- E,
6455
+ }), T = ar(I, y), M = rr(I, {
6456
+ escapeKey: m,
6457
+ ...h
6458
+ }), D = or(I), { getReferenceProps: R, getFloatingProps: F } = _r([
6459
+ T,
6460
6460
  M,
6461
6461
  D
6462
6462
  ]), U = {
@@ -6473,24 +6473,24 @@ const bu = (e) => {
6473
6473
  }
6474
6474
  })
6475
6475
  }, { isMounted: se, styles: ie } = Pr(
6476
- O,
6476
+ I,
6477
6477
  k || U
6478
6478
  ), de = c(Lc.popover, _), Q = /* @__PURE__ */ g(K, { children: [
6479
6479
  /* @__PURE__ */ t(
6480
6480
  "div",
6481
6481
  {
6482
6482
  "data-testid": "popover-trigger-button",
6483
- ref: I.setReference,
6483
+ ref: O.setReference,
6484
6484
  ...R(),
6485
6485
  className: l,
6486
6486
  children: v ? e() : e
6487
6487
  }
6488
6488
  ),
6489
- /* @__PURE__ */ t(ba, { id: $, children: se && /* @__PURE__ */ t(bo, { context: O, modal: !1, children: /* @__PURE__ */ t(
6489
+ /* @__PURE__ */ t(ba, { id: $, children: se && /* @__PURE__ */ t(bo, { context: I, modal: !1, children: /* @__PURE__ */ t(
6490
6490
  "div",
6491
6491
  {
6492
6492
  className: de,
6493
- ref: I.setFloating,
6493
+ ref: O.setFloating,
6494
6494
  style: {
6495
6495
  ...A,
6496
6496
  ...ie
@@ -6500,7 +6500,7 @@ const bu = (e) => {
6500
6500
  }
6501
6501
  ) }) })
6502
6502
  ] });
6503
- return N === null ? /* @__PURE__ */ t(Mr, { children: Q }) : Q;
6503
+ return S === null ? /* @__PURE__ */ t(Mr, { children: Q }) : Q;
6504
6504
  }, Ze = {
6505
6505
  "outer-border": "lc-ProductTile-module__outer-border___tsyqh",
6506
6506
  "product-tile-wrapper": "lc-ProductTile-module__product-tile-wrapper___iKDxM",
@@ -6604,17 +6604,17 @@ const bu = (e) => {
6604
6604
  notificationCount: l,
6605
6605
  name: i,
6606
6606
  url: n,
6607
- withDivider: d,
6607
+ withDivider: s,
6608
6608
  shortcutKey: u,
6609
- expired: s,
6610
- trialDaysLeft: h,
6611
- nameAdornment: p
6609
+ expired: d,
6610
+ trialDaysLeft: m,
6611
+ nameAdornment: h
6612
6612
  },
6613
6613
  onClick: y,
6614
- isActive: m = !1,
6614
+ isActive: p = !1,
6615
6615
  isDarkMode: k
6616
6616
  }) => /* @__PURE__ */ g(K, { children: [
6617
- d && /* @__PURE__ */ t("div", { className: it[`${nt}__divider`] }),
6617
+ s && /* @__PURE__ */ t("div", { className: it[`${nt}__divider`] }),
6618
6618
  /* @__PURE__ */ g(
6619
6619
  "a",
6620
6620
  {
@@ -6623,7 +6623,7 @@ const bu = (e) => {
6623
6623
  "aria-label": `Go to ${i} product`,
6624
6624
  onClick: (x) => y(x, e),
6625
6625
  className: c(it[nt], {
6626
- [it[`${nt}--expired`]]: s
6626
+ [it[`${nt}--expired`]]: d
6627
6627
  }),
6628
6628
  children: [
6629
6629
  /* @__PURE__ */ g("div", { className: it[`${nt}__heading`], children: [
@@ -6632,16 +6632,16 @@ const bu = (e) => {
6632
6632
  {
6633
6633
  icon: a,
6634
6634
  iconColor: r,
6635
- expired: s,
6635
+ expired: d,
6636
6636
  backgroundColors: o,
6637
6637
  borderColor: _,
6638
6638
  notificationCount: l,
6639
- withBorder: m
6639
+ withBorder: p
6640
6640
  }
6641
6641
  ),
6642
6642
  /* @__PURE__ */ g(B, { as: "div", bold: !0, className: it[`${nt}__name`], children: [
6643
6643
  i,
6644
- s && /* @__PURE__ */ t(
6644
+ d && /* @__PURE__ */ t(
6645
6645
  Yt,
6646
6646
  {
6647
6647
  className: c({
@@ -6658,7 +6658,7 @@ const bu = (e) => {
6658
6658
  children: "Your licence is expired."
6659
6659
  }
6660
6660
  ),
6661
- typeof h < "u" && /* @__PURE__ */ g(
6661
+ typeof m < "u" && /* @__PURE__ */ g(
6662
6662
  Yt,
6663
6663
  {
6664
6664
  className: c(it[`${nt}__trial-tooltip`], {
@@ -6673,14 +6673,14 @@ const bu = (e) => {
6673
6673
  ),
6674
6674
  placement: "right",
6675
6675
  children: [
6676
- h,
6676
+ m,
6677
6677
  " ",
6678
- Br(h, "day", "days"),
6678
+ Br(m, "day", "days"),
6679
6679
  " left in your trial. Time to upgrade."
6680
6680
  ]
6681
6681
  }
6682
6682
  ),
6683
- p
6683
+ h
6684
6684
  ] })
6685
6685
  ] }),
6686
6686
  u && /* @__PURE__ */ g(B, { size: "sm", className: it[`${nt}__shortcut`], children: [
@@ -6705,23 +6705,23 @@ const bu = (e) => {
6705
6705
  onOpen: l,
6706
6706
  onClose: i,
6707
6707
  onSelect: n,
6708
- textURL: d = "https://www.text.com"
6708
+ textURL: s = "https://www.text.com"
6709
6709
  }) => {
6710
- const [u, s] = b.useState(r), [h, p] = _e(
6710
+ const [u, d] = b.useState(r), [m, h] = _e(
6711
6711
  !1
6712
- ), y = Dr(), m = Ja(), k = o !== void 0, x = k ? o : u, w = (F, U) => {
6713
- F ? l?.(U) : i?.(U), !k && s(F);
6714
- }, { refs: N, context: $, floatingStyles: C } = Qa({
6715
- nodeId: m,
6712
+ ), y = Dr(), p = Ja(), k = o !== void 0, x = k ? o : u, w = (F, U) => {
6713
+ F ? l?.(U) : i?.(U), !k && d(F);
6714
+ }, { refs: S, context: $, floatingStyles: C } = Qa({
6715
+ nodeId: p,
6716
6716
  strategy: "fixed",
6717
6717
  placement: "right-start",
6718
6718
  open: x,
6719
6719
  onOpenChange: (F, U) => {
6720
- p(!1), w(F, U);
6720
+ h(!1), w(F, U);
6721
6721
  },
6722
6722
  middleware: [er({ mainAxis: 5 })],
6723
6723
  whileElementsMounted: tr
6724
- }), S = ar($), f = or($), v = rr($), { isMounted: T, styles: I } = Pr($, {
6724
+ }), N = ar($), f = or($), v = rr($), { isMounted: E, styles: O } = Pr($, {
6725
6725
  duration: 200,
6726
6726
  common: {
6727
6727
  transformOrigin: "left top"
@@ -6730,27 +6730,27 @@ const bu = (e) => {
6730
6730
  opacity: 0,
6731
6731
  transform: "scale(0.84) translateX(-22px)"
6732
6732
  }
6733
- }), { getReferenceProps: O, getFloatingProps: A } = _r([
6734
- S,
6733
+ }), { getReferenceProps: I, getFloatingProps: A } = _r([
6734
+ N,
6735
6735
  v,
6736
6736
  f
6737
- ]), E = e.find(
6737
+ ]), T = e.find(
6738
6738
  (F) => F.id === a
6739
6739
  );
6740
- if (!E)
6740
+ if (!T)
6741
6741
  return null;
6742
6742
  const M = (F, U) => {
6743
- U === a && F.preventDefault(), s(!1), n?.(U);
6743
+ U === a && F.preventDefault(), d(!1), n?.(U);
6744
6744
  }, D = e.reduce(
6745
6745
  (F, U) => F + (U.notificationCount || 0),
6746
6746
  0
6747
6747
  ), R = /* @__PURE__ */ g(K, { children: [
6748
- /* @__PURE__ */ t("div", { ref: N.setReference, ...O(), children: /* @__PURE__ */ t(
6748
+ /* @__PURE__ */ t("div", { ref: S.setReference, ...I(), children: /* @__PURE__ */ t(
6749
6749
  Yt,
6750
6750
  {
6751
- isVisible: h,
6752
- onOpen: () => p(!0),
6753
- onClose: () => p(!1),
6751
+ isVisible: m,
6752
+ onOpen: () => h(!0),
6753
+ onClose: () => h(!1),
6754
6754
  offsetCrossAxis: 2,
6755
6755
  arrowOffsetY: 2,
6756
6756
  offsetMainAxis: 10,
@@ -6763,9 +6763,9 @@ const bu = (e) => {
6763
6763
  H_,
6764
6764
  {
6765
6765
  isMainProduct: !0,
6766
- icon: E.icon,
6767
- iconColor: E.iconColor,
6768
- backgroundColors: E.backgroundColors,
6766
+ icon: T.icon,
6767
+ iconColor: T.iconColor,
6768
+ backgroundColors: T.backgroundColors,
6769
6769
  notificationCount: D
6770
6770
  }
6771
6771
  ),
@@ -6773,20 +6773,20 @@ const bu = (e) => {
6773
6773
  children: "Switch product"
6774
6774
  }
6775
6775
  ) }),
6776
- /* @__PURE__ */ t(ba, { id: m, children: /* @__PURE__ */ t(
6776
+ /* @__PURE__ */ t(ba, { id: p, children: /* @__PURE__ */ t(
6777
6777
  "div",
6778
6778
  {
6779
- ref: N.setFloating,
6779
+ ref: S.setFloating,
6780
6780
  style: C,
6781
6781
  ...A(),
6782
- children: T && /* @__PURE__ */ g(
6782
+ children: E && /* @__PURE__ */ g(
6783
6783
  "div",
6784
6784
  {
6785
6785
  className: c(
6786
6786
  _ ? "lc-dark-theme" : "lc-light-theme",
6787
6787
  Pa[Ma]
6788
6788
  ),
6789
- style: I,
6789
+ style: O,
6790
6790
  children: [
6791
6791
  /* @__PURE__ */ t("div", { className: Pa[`${Ma}__content`], children: e.map((F) => /* @__PURE__ */ t(
6792
6792
  Hc,
@@ -6801,7 +6801,7 @@ const bu = (e) => {
6801
6801
  /* @__PURE__ */ t("div", { className: Pa[`${Ma}__footer`], children: /* @__PURE__ */ g(
6802
6802
  "a",
6803
6803
  {
6804
- href: d,
6804
+ href: s,
6805
6805
  target: "_blank",
6806
6806
  className: Pa[`${Ma}__footer-link`],
6807
6807
  onClick: () => w(!1),
@@ -7128,17 +7128,17 @@ const Ra = {
7128
7128
  size: o = "medium",
7129
7129
  ..._
7130
7130
  }, l) => {
7131
- const i = W_(e, a), n = ts[o], d = as[o], u = c(
7131
+ const i = W_(e, a), n = ts[o], s = as[o], u = c(
7132
7132
  Ra[Fa],
7133
7133
  {
7134
7134
  [Ra[`${Fa}--${o}`]]: o,
7135
7135
  [Ra[`${Fa}--${e}`]]: e
7136
7136
  },
7137
7137
  r
7138
- ), s = 2 * Math.PI * ((d - n) / 2), h = {
7139
- strokeDasharray: s.toFixed(3),
7140
- strokeDashoffset: `${((100 - i) / 100 * s).toFixed(3)}px`
7141
- }, p = `${d / 2} ${d / 2} ${d} ${d}`;
7138
+ ), d = 2 * Math.PI * ((s - n) / 2), m = {
7139
+ strokeDasharray: d.toFixed(3),
7140
+ strokeDashoffset: `${((100 - i) / 100 * d).toFixed(3)}px`
7141
+ }, h = `${s / 2} ${s / 2} ${s} ${s}`;
7142
7142
  return /* @__PURE__ */ t(
7143
7143
  "div",
7144
7144
  {
@@ -7146,14 +7146,14 @@ const Ra = {
7146
7146
  ref: l,
7147
7147
  role: "progressbar",
7148
7148
  ..._,
7149
- children: /* @__PURE__ */ g("svg", { viewBox: p, children: [
7149
+ children: /* @__PURE__ */ g("svg", { viewBox: h, children: [
7150
7150
  /* @__PURE__ */ t(
7151
7151
  "circle",
7152
7152
  {
7153
7153
  className: Ra[`${Fa}__bg-line--${e}`],
7154
- cx: d,
7155
- cy: d,
7156
- r: (d - n) / 2,
7154
+ cx: s,
7155
+ cy: s,
7156
+ r: (s - n) / 2,
7157
7157
  fill: "none",
7158
7158
  strokeWidth: n
7159
7159
  }
@@ -7162,10 +7162,10 @@ const Ra = {
7162
7162
  "circle",
7163
7163
  {
7164
7164
  className: Ra[`${Fa}__indicator--${e}`],
7165
- style: h,
7166
- cx: d,
7167
- cy: d,
7168
- r: (d - n) / 2,
7165
+ style: m,
7166
+ cx: s,
7167
+ cy: s,
7168
+ r: (s - n) / 2,
7169
7169
  fill: "none",
7170
7170
  strokeWidth: n
7171
7171
  }
@@ -7238,16 +7238,16 @@ const Ra = {
7238
7238
  vertical: l,
7239
7239
  contentClassName: i,
7240
7240
  additionalContentClassName: n,
7241
- onClose: d,
7241
+ onClose: s,
7242
7242
  kind: u = "default"
7243
7243
  }) => {
7244
- const s = c(
7244
+ const d = c(
7245
7245
  wt["main-wrapper"],
7246
7246
  wt[`${Rt}--${u}`],
7247
7247
  u === "dark" && Kt.Dark,
7248
7248
  a
7249
7249
  );
7250
- return /* @__PURE__ */ t("div", { role: "banner", className: s, children: /* @__PURE__ */ g(
7250
+ return /* @__PURE__ */ t("div", { role: "banner", className: d, children: /* @__PURE__ */ g(
7251
7251
  "div",
7252
7252
  {
7253
7253
  className: c(
@@ -7300,11 +7300,11 @@ const Ra = {
7300
7300
  children: r
7301
7301
  }
7302
7302
  ),
7303
- d && /* @__PURE__ */ t("div", { className: wt[`${Rt}__close`], children: /* @__PURE__ */ t(
7303
+ s && /* @__PURE__ */ t("div", { className: wt[`${Rt}__close`], children: /* @__PURE__ */ t(
7304
7304
  L,
7305
7305
  {
7306
7306
  className: wt[`${Rt}__close__btn`],
7307
- onClick: d,
7307
+ onClick: s,
7308
7308
  icon: /* @__PURE__ */ t(P, { source: ot, kind: "primary" }),
7309
7309
  kind: "plain",
7310
7310
  size: "compact",
@@ -7327,10 +7327,10 @@ const Ra = {
7327
7327
  "radio-button--disabled": "lc-RadioButton-module__radio-button--disabled___StpOi"
7328
7328
  }, St = "radio-button", _s = b.forwardRef(
7329
7329
  ({ children: e, className: a = "", description: r, checked: o, disabled: _, ...l }, i) => {
7330
- const { readOnly: n } = xt(), d = n || l.readOnly, u = c($t[St], a, {
7330
+ const { readOnly: n } = xt(), s = n || l.readOnly, u = c($t[St], a, {
7331
7331
  [$t[`${St}--selected`]]: o,
7332
7332
  [$t[`${St}--disabled`]]: _,
7333
- [$t[`${St}--read-only`]]: d
7333
+ [$t[`${St}--read-only`]]: s
7334
7334
  });
7335
7335
  return /* @__PURE__ */ g("div", { className: u, children: [
7336
7336
  /* @__PURE__ */ g("label", { className: $t[`${St}__label`], children: [
@@ -7433,29 +7433,29 @@ const Ra = {
7433
7433
  rangeDatePickerClassName: _,
7434
7434
  ...l
7435
7435
  }) => {
7436
- const { initialFromDate: i, initialToDate: n } = l, d = i || n ? {
7436
+ const { initialFromDate: i, initialToDate: n } = l, s = i || n ? {
7437
7437
  from: i,
7438
7438
  to: n
7439
- } : void 0, [u, s] = _e(d), [h, p] = _e(!1), [y, m] = _e(), [k, x] = _e(e), [w, N] = _e(), $ = qt(-1), C = qt(null);
7440
- window.onresize = () => window.innerWidth <= cs ? p(!0) : p(!1);
7441
- const S = (E) => $.current + E, f = (E) => {
7442
- $.current = S(E);
7439
+ } : void 0, [u, d] = _e(s), [m, h] = _e(!1), [y, p] = _e(), [k, x] = _e(e), [w, S] = _e(), $ = qt(-1), C = qt(null);
7440
+ window.onresize = () => window.innerWidth <= cs ? h(!0) : h(!1);
7441
+ const N = (T) => $.current + T, f = (T) => {
7442
+ $.current = N(T);
7443
7443
  const M = C.current?.children;
7444
7444
  return (M && M[$.current]?.children[0])?.focus();
7445
- }, v = (E) => {
7446
- E.key === le.arrowUp && $.current > 0 && (E.preventDefault(), f(-1)), E.key === le.arrowDown && $.current + 1 < Cr.length && (E.preventDefault(), f(1));
7447
- }, T = (E, M) => {
7448
- s(E || void 0), r(E, M), m(void 0), N(void 0);
7449
- }, I = () => {
7450
- m(void 0), x(!1);
7451
- }, O = mt(
7452
- ({ from: E, to: M }, D) => {
7453
- T({ from: E, to: M }, D), I(), N(D);
7445
+ }, v = (T) => {
7446
+ T.key === le.arrowUp && $.current > 0 && (T.preventDefault(), f(-1)), T.key === le.arrowDown && $.current + 1 < Cr.length && (T.preventDefault(), f(1));
7447
+ }, E = (T, M) => {
7448
+ d(T || void 0), r(T, M), p(void 0), S(void 0);
7449
+ }, O = () => {
7450
+ p(void 0), x(!1);
7451
+ }, I = mt(
7452
+ ({ from: T, to: M }, D) => {
7453
+ E({ from: T, to: M }, D), O(), S(D);
7454
7454
  },
7455
- [T, I]
7455
+ [E, O]
7456
7456
  ), A = mt(
7457
- (E) => {
7458
- !E || is(E, u) || (T(E), I());
7457
+ (T) => {
7458
+ !T || is(T, u) || (E(T), O());
7459
7459
  },
7460
7460
  [u]
7461
7461
  );
@@ -7465,15 +7465,15 @@ const Ra = {
7465
7465
  $.current = -1;
7466
7466
  }, [k, v]), q(() => {
7467
7467
  if (a && !u) {
7468
- const E = Cr.find(({ id: M }) => M === a);
7469
- E && O(E.value, E.id);
7468
+ const T = Cr.find(({ id: M }) => M === a);
7469
+ T && I(T.value, T.id);
7470
7470
  }
7471
- }, [a, u, O]), /* @__PURE__ */ t("div", { className: Ae[De], children: /* @__PURE__ */ t(
7471
+ }, [a, u, I]), /* @__PURE__ */ t("div", { className: Ae[De], children: /* @__PURE__ */ t(
7472
7472
  qc,
7473
7473
  {
7474
7474
  isVisible: k,
7475
7475
  onOpen: () => x(!0),
7476
- onClose: I,
7476
+ onClose: O,
7477
7477
  className: Ae[`${De}__popover`],
7478
7478
  placement: "bottom-start",
7479
7479
  triggerRenderer: () => /* @__PURE__ */ g(
@@ -7490,8 +7490,8 @@ const Ra = {
7490
7490
  },
7491
7491
  o
7492
7492
  ),
7493
- onKeyDown: (E) => {
7494
- (E.key === le.enter || E.key === le.spacebar) && f(1);
7493
+ onKeyDown: (T) => {
7494
+ (T.key === le.enter || T.key === le.spacebar) && f(1);
7495
7495
  },
7496
7496
  children: [
7497
7497
  /* @__PURE__ */ t(
@@ -7499,7 +7499,7 @@ const Ra = {
7499
7499
  {
7500
7500
  tempDate: y,
7501
7501
  date: u,
7502
- selectedOptionName: Cr.find(({ id: E }) => E === w)?.label
7502
+ selectedOptionName: Cr.find(({ id: T }) => T === w)?.label
7503
7503
  }
7504
7504
  ),
7505
7505
  /* @__PURE__ */ g(
@@ -7524,7 +7524,7 @@ const Ra = {
7524
7524
  kind: "plain",
7525
7525
  icon: /* @__PURE__ */ t(P, { size: "xsmall", source: ot }),
7526
7526
  className: Ae[`${De}__trigger__right-node__button`],
7527
- onClick: () => T(null)
7527
+ onClick: () => E(null)
7528
7528
  }
7529
7529
  )
7530
7530
  ]
@@ -7549,23 +7549,23 @@ const Ra = {
7549
7549
  role: "menu",
7550
7550
  ref: C,
7551
7551
  className: Ae[`${De}__date-picker__list`],
7552
- children: Cr.map((E) => /* @__PURE__ */ t("li", { role: "none", children: /* @__PURE__ */ g(
7552
+ children: Cr.map((T) => /* @__PURE__ */ t("li", { role: "none", children: /* @__PURE__ */ g(
7553
7553
  "button",
7554
7554
  {
7555
- "aria-selected": w === E.id,
7555
+ "aria-selected": w === T.id,
7556
7556
  role: "menuitem",
7557
7557
  className: c(
7558
7558
  Ae[`${De}__date-picker__list__item`],
7559
7559
  {
7560
- [Ae[`${De}__date-picker__list__item--selected`]]: w === E.id
7560
+ [Ae[`${De}__date-picker__list__item--selected`]]: w === T.id
7561
7561
  }
7562
7562
  ),
7563
- onClick: () => O(E.value, E.id),
7564
- onMouseEnter: () => m(E.value),
7565
- onMouseLeave: () => m(void 0),
7563
+ onClick: () => I(T.value, T.id),
7564
+ onMouseEnter: () => p(T.value),
7565
+ onMouseLeave: () => p(void 0),
7566
7566
  children: [
7567
- /* @__PURE__ */ t(B, { as: "span", children: E.label }),
7568
- w === E.id && /* @__PURE__ */ t(
7567
+ /* @__PURE__ */ t(B, { as: "span", children: T.label }),
7568
+ w === T.id && /* @__PURE__ */ t(
7569
7569
  "div",
7570
7570
  {
7571
7571
  className: Ae[`${De}__date-picker__list__item__icon`],
@@ -7574,7 +7574,7 @@ const Ra = {
7574
7574
  )
7575
7575
  ]
7576
7576
  }
7577
- ) }, E.id))
7577
+ ) }, T.id))
7578
7578
  }
7579
7579
  ),
7580
7580
  /* @__PURE__ */ t("div", { className: Ae[`${De}__date-picker__callendar`], children: /* @__PURE__ */ t(
@@ -7583,10 +7583,10 @@ const Ra = {
7583
7583
  onRangeSelect: A,
7584
7584
  customTempFromDate: y?.from || u?.from,
7585
7585
  customTempToDate: y?.to || u?.to,
7586
- onCustomTempDateRangeChange: m,
7586
+ onCustomTempDateRangeChange: p,
7587
7587
  initialToDate: u?.to || ns,
7588
7588
  ...l,
7589
- children: ({ datepicker: E }) => /* @__PURE__ */ t(pc, { ...E, numberOfMonths: h ? 1 : 2 })
7589
+ children: ({ datepicker: T }) => /* @__PURE__ */ t(pc, { ...T, numberOfMonths: m ? 1 : 2 })
7590
7590
  }
7591
7591
  ) })
7592
7592
  ]
@@ -7627,45 +7627,45 @@ const Ra = {
7627
7627
  value: l,
7628
7628
  className: i,
7629
7629
  cropOnBlur: n = !0,
7630
- onChange: d,
7630
+ onChange: s,
7631
7631
  ...u
7632
- }, s) => {
7633
- const h = b.useRef(null);
7634
- b.useImperativeHandle(s, () => h.current, [s]);
7635
- const [p, y] = b.useState(!0), [m, k] = b.useState(!1), x = !!l && !a && !r, w = e && !p && "true", N = c(
7632
+ }, d) => {
7633
+ const m = b.useRef(null);
7634
+ b.useImperativeHandle(d, () => m.current, [d]);
7635
+ const [h, y] = b.useState(!0), [p, k] = b.useState(!1), x = !!l && !a && !r, w = e && !h && "true", S = c(
7636
7636
  i,
7637
7637
  Oe[et],
7638
7638
  Oe[`${et}--${_}`],
7639
- m && Oe[`${et}--focused`],
7639
+ p && Oe[`${et}--focused`],
7640
7640
  a && Oe[`${et}--disabled`],
7641
7641
  e && Oe[`${et}--collapsable`],
7642
7642
  e && Oe[`${et}--collapsable--${_}`],
7643
- !p && Oe[`${et}--collapsable--open`]
7643
+ !h && Oe[`${et}--collapsable--open`]
7644
7644
  );
7645
7645
  b.useEffect(() => {
7646
7646
  e && l && y(!1);
7647
7647
  }, [e, l]);
7648
- const $ = (I) => {
7649
- const O = I.currentTarget.value;
7650
- d(O);
7648
+ const $ = (O) => {
7649
+ const I = O.currentTarget.value;
7650
+ s(I);
7651
7651
  }, C = () => {
7652
- d("");
7653
- }, S = () => {
7654
- h.current && h.current.focus();
7652
+ s("");
7653
+ }, N = () => {
7654
+ m.current && m.current.focus();
7655
7655
  }, f = () => {
7656
7656
  e && y(!1), k(!0);
7657
7657
  }, v = () => {
7658
7658
  e && !l && y(!0), k(!1);
7659
- }, T = (I) => {
7660
- I.key === le.enter && (I.preventDefault(), d(l));
7659
+ }, E = (O) => {
7660
+ O.key === le.enter && (O.preventDefault(), s(l));
7661
7661
  };
7662
7662
  return /* @__PURE__ */ g(
7663
7663
  "div",
7664
7664
  {
7665
7665
  "aria-expanded": w,
7666
7666
  role: "search",
7667
- className: N,
7668
- onClick: S,
7667
+ className: S,
7668
+ onClick: N,
7669
7669
  children: [
7670
7670
  /* @__PURE__ */ t(
7671
7671
  P,
@@ -7692,14 +7692,14 @@ const Ra = {
7692
7692
  "input",
7693
7693
  {
7694
7694
  role: "searchbox",
7695
- ref: h,
7695
+ ref: m,
7696
7696
  type: "text",
7697
7697
  value: l,
7698
7698
  placeholder: o,
7699
7699
  onChange: $,
7700
7700
  onBlur: v,
7701
7701
  onFocus: f,
7702
- onKeyDown: T,
7702
+ onKeyDown: E,
7703
7703
  disabled: a,
7704
7704
  ...u
7705
7705
  }
@@ -7743,7 +7743,7 @@ const Ga = {
7743
7743
  style: i,
7744
7744
  ...n
7745
7745
  }) => {
7746
- const d = c(
7746
+ const s = c(
7747
7747
  Ga[Ua],
7748
7748
  Ga[`${Ua}--${r}`],
7749
7749
  {
@@ -7758,10 +7758,10 @@ const Ga = {
7758
7758
  "aria-label": typeof e == "string" ? e : void 0,
7759
7759
  role: "button",
7760
7760
  tabIndex: 0,
7761
- className: d,
7761
+ className: s,
7762
7762
  onClick: u,
7763
- onKeyDown: (h) => {
7764
- h.currentTarget === document.activeElement && (h.key === "Enter" || h.key === " " || h.key === "Spacebar" || h.key === "Space") && (h.preventDefault(), l?.());
7763
+ onKeyDown: (m) => {
7764
+ m.currentTarget === document.activeElement && (m.key === "Enter" || m.key === " " || m.key === "Spacebar" || m.key === "Space") && (m.preventDefault(), l?.());
7765
7765
  },
7766
7766
  style: i,
7767
7767
  ...n,
@@ -7989,21 +7989,21 @@ const Ga = {
7989
7989
  onChange: l,
7990
7990
  size: i = "large",
7991
7991
  state: n = "regular",
7992
- innerRef: d,
7992
+ innerRef: s,
7993
7993
  ariaLabel: u,
7994
- ...s
7994
+ ...d
7995
7995
  }) => {
7996
- const h = _ !== void 0, [p, y] = b.useState(
7997
- () => h ? _ : a
7998
- ), [m, k] = b.useState(!1), x = h ? _ : p, w = n === "loading", N = n === "locked", $ = i === "large" ? "small" : "xsmall", C = x ? "on" : "off", S = r || w || N, f = S ? "disabled" : "enabled", v = c(
7996
+ const m = _ !== void 0, [h, y] = b.useState(
7997
+ () => m ? _ : a
7998
+ ), [p, k] = b.useState(!1), x = m ? _ : h, w = n === "loading", S = n === "locked", $ = i === "large" ? "small" : "xsmall", C = x ? "on" : "off", N = r || w || S, f = N ? "disabled" : "enabled", v = c(
7999
7999
  ue[ne],
8000
8000
  ue[`${ne}--${i}`],
8001
8001
  {
8002
- [ue[`${ne}--focused`]]: m
8002
+ [ue[`${ne}--focused`]]: p
8003
8003
  },
8004
8004
  e
8005
- ), T = (I) => {
8006
- l?.(I, !x), h || (I.stopPropagation(), y((O) => !O));
8005
+ ), E = (O) => {
8006
+ l?.(O, !x), m || (O.stopPropagation(), y((I) => !I));
8007
8007
  };
8008
8008
  return /* @__PURE__ */ g("span", { className: v, children: [
8009
8009
  /* @__PURE__ */ t(
@@ -8014,13 +8014,13 @@ const Ga = {
8014
8014
  ue[`${ne}__input`],
8015
8015
  ue[`${ne}__input--${f}`]
8016
8016
  ),
8017
- onChange: T,
8017
+ onChange: E,
8018
8018
  checked: x,
8019
8019
  name: o,
8020
- ref: d,
8021
- disabled: S,
8020
+ ref: s,
8021
+ disabled: N,
8022
8022
  "aria-label": u,
8023
- ...s,
8023
+ ...d,
8024
8024
  onFocus: () => k(!0),
8025
8025
  onBlur: () => k(!1)
8026
8026
  }
@@ -8029,7 +8029,7 @@ const Ga = {
8029
8029
  "span",
8030
8030
  {
8031
8031
  className: c(ue[`${ne}__container`], {
8032
- [ue[`${ne}__container--focused`]]: m
8032
+ [ue[`${ne}__container--focused`]]: p
8033
8033
  }),
8034
8034
  children: [
8035
8035
  /* @__PURE__ */ t(
@@ -8062,7 +8062,7 @@ const Ga = {
8062
8062
  )
8063
8063
  }
8064
8064
  ),
8065
- N && /* @__PURE__ */ t(
8065
+ S && /* @__PURE__ */ t(
8066
8066
  P,
8067
8067
  {
8068
8068
  className: ue[`${ne}__icon`],
@@ -8099,7 +8099,7 @@ const Ga = {
8099
8099
  icon: i,
8100
8100
  ...n
8101
8101
  }) => {
8102
- const { disabled: d } = n, u = r !== void 0 && !_, s = r !== void 0 && _;
8102
+ const { disabled: s } = n, u = r !== void 0 && !_, d = r !== void 0 && _;
8103
8103
  return /* @__PURE__ */ g(
8104
8104
  B,
8105
8105
  {
@@ -8113,7 +8113,7 @@ const Ga = {
8113
8113
  jt[Jt],
8114
8114
  jt[`${Jt}--${l}`],
8115
8115
  o && jt[`${Jt}--selected`],
8116
- d && jt[`${Jt}--disabled`]
8116
+ s && jt[`${Jt}--disabled`]
8117
8117
  ),
8118
8118
  children: [
8119
8119
  i && /* @__PURE__ */ t("div", { "data-testId": "icon", className: jt[`${Jt}__icon`], children: i }),
@@ -8123,7 +8123,7 @@ const Ga = {
8123
8123
  r,
8124
8124
  ")"
8125
8125
  ] }),
8126
- s && /* @__PURE__ */ t(
8126
+ d && /* @__PURE__ */ t(
8127
8127
  Er,
8128
8128
  {
8129
8129
  "data-testid": "tab-badge",
@@ -8149,8 +8149,8 @@ const Ga = {
8149
8149
  [r]
8150
8150
  ), l = mt(
8151
8151
  (n) => {
8152
- const d = new Set(r || []);
8153
- d.has(n) ? d.delete(n) : d.add(n), o?.(d);
8152
+ const s = new Set(r || []);
8153
+ s.has(n) ? s.delete(n) : s.add(n), o?.(s);
8154
8154
  },
8155
8155
  [r, o]
8156
8156
  ), i = mt(() => {
@@ -8199,11 +8199,11 @@ const Ga = {
8199
8199
  )
8200
8200
  }
8201
8201
  ),
8202
- a.map((n, d) => /* @__PURE__ */ t(
8202
+ a.map((n, s) => /* @__PURE__ */ t(
8203
8203
  "td",
8204
8204
  {
8205
8205
  style: {
8206
- width: r[d] ? `${r[d]}px` : "auto"
8206
+ width: r[s] ? `${r[s]}px` : "auto"
8207
8207
  },
8208
8208
  role: "cell",
8209
8209
  "data-column": String(n.key),
@@ -8222,7 +8222,7 @@ const Ga = {
8222
8222
  isSelected: l,
8223
8223
  toggleRowSelection: i
8224
8224
  }) => /* @__PURE__ */ t("tbody", { role: "rowgroup", children: e.map((n) => {
8225
- const d = r(n);
8225
+ const s = r(n);
8226
8226
  return /* @__PURE__ */ t(
8227
8227
  Is,
8228
8228
  {
@@ -8234,7 +8234,7 @@ const Ga = {
8234
8234
  toggleRowSelection: i,
8235
8235
  rowId: r(n)
8236
8236
  },
8237
- d
8237
+ s
8238
8238
  );
8239
8239
  }) });
8240
8240
  var Re = /* @__PURE__ */ ((e) => (e.Ascending = "asc", e.Descending = "desc", e.None = "none", e))(Re || {});
@@ -8266,10 +8266,10 @@ const Hs = ({
8266
8266
  columnRefs: l,
8267
8267
  selectable: i,
8268
8268
  hoveredColumnIndex: n,
8269
- setHoveredColumnIndex: d,
8269
+ setHoveredColumnIndex: s,
8270
8270
  selectedCount: u,
8271
- dataLength: s,
8272
- toggleSelectAll: h
8271
+ dataLength: d,
8272
+ toggleSelectAll: m
8273
8273
  }) => /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ g(
8274
8274
  "tr",
8275
8275
  {
@@ -8281,48 +8281,48 @@ const Hs = ({
8281
8281
  "th",
8282
8282
  {
8283
8283
  className: Qt[`${ra}__select-cell`],
8284
- onClick: h,
8284
+ onClick: m,
8285
8285
  children: /* @__PURE__ */ t(
8286
8286
  Fr,
8287
8287
  {
8288
- checked: u === s,
8289
- indeterminate: u !== void 0 && u > 0 && u < (s || 0)
8288
+ checked: u === d,
8289
+ indeterminate: u !== void 0 && u > 0 && u < (d || 0)
8290
8290
  }
8291
8291
  )
8292
8292
  }
8293
8293
  ),
8294
- e.map((p, y) => /* @__PURE__ */ t(
8294
+ e.map((h, y) => /* @__PURE__ */ t(
8295
8295
  "th",
8296
8296
  {
8297
- ref: (m) => {
8298
- l.current && (l.current[y] = m);
8297
+ ref: (p) => {
8298
+ l.current && (l.current[y] = p);
8299
8299
  },
8300
8300
  className: c({
8301
- [Qt[`${Fs}--hoverDisabled`]]: !p.sortable
8301
+ [Qt[`${Fs}--hoverDisabled`]]: !h.sortable
8302
8302
  }),
8303
- onMouseEnter: () => d(y),
8304
- onMouseLeave: () => d(null),
8303
+ onMouseEnter: () => s(y),
8304
+ onMouseLeave: () => s(null),
8305
8305
  role: "columnheader",
8306
8306
  children: /* @__PURE__ */ g(
8307
8307
  "span",
8308
8308
  {
8309
8309
  onClick: () => {
8310
- p.sortable && r(p.key);
8310
+ h.sortable && r(h.key);
8311
8311
  },
8312
8312
  className: Qt[Us],
8313
8313
  children: [
8314
- /* @__PURE__ */ t(B, { size: "sm", bold: !0, noMargin: !0, children: p.header }),
8314
+ /* @__PURE__ */ t(B, { size: "sm", bold: !0, noMargin: !0, children: h.header }),
8315
8315
  qs(
8316
8316
  a,
8317
- p.key,
8318
- p.sortable ?? !1,
8317
+ h.key,
8318
+ h.sortable ?? !1,
8319
8319
  n === y
8320
8320
  ),
8321
8321
  o && /* @__PURE__ */ t(
8322
8322
  "span",
8323
8323
  {
8324
8324
  className: Qt[Gs],
8325
- onMouseDown: (m) => _(y, m),
8325
+ onMouseDown: (p) => _(y, p),
8326
8326
  role: "button",
8327
8327
  "aria-label": "resize"
8328
8328
  }
@@ -8331,7 +8331,7 @@ const Hs = ({
8331
8331
  }
8332
8332
  )
8333
8333
  },
8334
- String(p.key)
8334
+ String(h.key)
8335
8335
  ))
8336
8336
  ]
8337
8337
  }
@@ -8362,23 +8362,23 @@ const Hs = ({
8362
8362
  selectable: l,
8363
8363
  getRowId: i,
8364
8364
  resizable: n,
8365
- selectedRows: d,
8365
+ selectedRows: s,
8366
8366
  onSelectionChange: u,
8367
- rowSelectionMessage: s,
8368
- rowActions: h,
8369
- testId: p
8367
+ rowSelectionMessage: d,
8368
+ rowActions: m,
8369
+ testId: h
8370
8370
  }) => {
8371
- const y = b.useRef([]), [m, k] = b.useState(null), { isSelected: x, toggleRowSelection: w, toggleSelectAll: N, selectedCount: $ } = xs({
8371
+ const y = b.useRef([]), [p, k] = b.useState(null), { isSelected: x, toggleRowSelection: w, toggleSelectAll: S, selectedCount: $ } = xs({
8372
8372
  data: e,
8373
8373
  getRowId: i,
8374
- selectedRows: d,
8374
+ selectedRows: s,
8375
8375
  onSelectionChange: u
8376
- }), [C, S] = b.useState({
8376
+ }), [C, N] = b.useState({
8377
8377
  key: null,
8378
8378
  direction: Re.None
8379
- }), [f, v] = b.useState(Array(a.length).fill(void 0)), T = (A, E) => {
8380
- E.preventDefault();
8381
- const M = E.clientX, D = f[A] || E.currentTarget.offsetWidth, R = f[A + 1] || 0, F = 1.05, U = (ie) => {
8379
+ }), [f, v] = b.useState(Array(a.length).fill(void 0)), E = (A, T) => {
8380
+ T.preventDefault();
8381
+ const M = T.clientX, D = f[A] || T.currentTarget.offsetWidth, R = f[A + 1] || 0, F = 1.05, U = (ie) => {
8382
8382
  const de = (ie.clientX - M) * F;
8383
8383
  v((Q) => {
8384
8384
  const z = [...Q], he = Math.max(50, D + de), Et = Math.max(50, R - de);
@@ -8388,9 +8388,9 @@ const Hs = ({
8388
8388
  document.removeEventListener("mousemove", U), document.removeEventListener("mouseup", se);
8389
8389
  };
8390
8390
  document.addEventListener("mousemove", U), document.addEventListener("mouseup", se);
8391
- }, I = (A) => {
8392
- const E = a.find((M) => M.key === A);
8393
- !E || E.sortable === !1 || S((M) => {
8391
+ }, O = (A) => {
8392
+ const T = a.find((M) => M.key === A);
8393
+ !T || T.sortable === !1 || N((M) => {
8394
8394
  if (M.key === A) {
8395
8395
  let D;
8396
8396
  switch (M.direction) {
@@ -8410,18 +8410,18 @@ const Hs = ({
8410
8410
  } else
8411
8411
  return { key: A, direction: Re.Ascending };
8412
8412
  });
8413
- }, O = b.useMemo(() => {
8413
+ }, I = b.useMemo(() => {
8414
8414
  if (!C.key || C.direction === Re.None)
8415
8415
  return e;
8416
- const A = a.find((E) => E.key === C.key);
8417
- return A ? [...e].sort((E, M) => {
8418
- const D = A.sortable ? A.sortValue(E) : E[C.key], R = A.sortable ? A.sortValue(M) : M[C.key];
8416
+ const A = a.find((T) => T.key === C.key);
8417
+ return A ? [...e].sort((T, M) => {
8418
+ const D = A.sortable ? A.sortValue(T) : T[C.key], R = A.sortable ? A.sortValue(M) : M[C.key];
8419
8419
  return D < R ? C.direction === Re.Ascending ? -1 : 1 : D > R ? C.direction === Re.Ascending ? 1 : -1 : 0;
8420
8420
  }) : e;
8421
8421
  }, [e, C, a]);
8422
8422
  return b.useEffect(() => {
8423
8423
  const A = y.current.map(
8424
- (E) => E?.offsetWidth || 0
8424
+ (T) => T?.offsetWidth || 0
8425
8425
  );
8426
8426
  v(A);
8427
8427
  }, []), /* @__PURE__ */ g(K, { children: [
@@ -8433,11 +8433,11 @@ const Hs = ({
8433
8433
  [Nt[`${wr}--hidden`]]: !l
8434
8434
  }),
8435
8435
  children: [
8436
- /* @__PURE__ */ t("div", { className: Nt[`${wr}__content`], children: s || /* @__PURE__ */ g(B, { noMargin: !0, bold: !0, size: "sm", children: [
8436
+ /* @__PURE__ */ t("div", { className: Nt[`${wr}__content`], children: d || /* @__PURE__ */ g(B, { noMargin: !0, bold: !0, size: "sm", children: [
8437
8437
  $,
8438
8438
  " selected"
8439
8439
  ] }) }),
8440
- /* @__PURE__ */ t("div", { children: h })
8440
+ /* @__PURE__ */ t("div", { children: m })
8441
8441
  ]
8442
8442
  }
8443
8443
  ),
@@ -8452,29 +8452,29 @@ const Hs = ({
8452
8452
  l && !!$ && Nt[`${ea}--has-selected`],
8453
8453
  Nt[`${ea}--stripped_${r}`]
8454
8454
  ),
8455
- "data-testid": p,
8455
+ "data-testid": h,
8456
8456
  children: [
8457
8457
  /* @__PURE__ */ t(
8458
8458
  Hs,
8459
8459
  {
8460
8460
  columns: a,
8461
8461
  sortConfig: C,
8462
- handleSort: I,
8462
+ handleSort: O,
8463
8463
  resizable: n,
8464
- handleMouseDown: T,
8464
+ handleMouseDown: E,
8465
8465
  columnRefs: y,
8466
8466
  selectable: l,
8467
- hoveredColumnIndex: m,
8467
+ hoveredColumnIndex: p,
8468
8468
  setHoveredColumnIndex: k,
8469
8469
  selectedCount: $,
8470
8470
  dataLength: e.length,
8471
- toggleSelectAll: N
8471
+ toggleSelectAll: S
8472
8472
  }
8473
8473
  ),
8474
8474
  /* @__PURE__ */ t(
8475
8475
  As,
8476
8476
  {
8477
- data: O,
8477
+ data: I,
8478
8478
  columns: a,
8479
8479
  getRowId: i,
8480
8480
  columnWidths: f,
@@ -8502,10 +8502,10 @@ const Hs = ({
8502
8502
  remove: _,
8503
8503
  value: l
8504
8504
  }) => {
8505
- const [i, n] = b.useState(!1), d = () => a.current, u = () => {
8506
- const m = d();
8507
- return m ? m.innerText : "";
8508
- }, s = () => {
8505
+ const [i, n] = b.useState(!1), s = () => a.current, u = () => {
8506
+ const p = s();
8507
+ return p ? p.innerText : "";
8508
+ }, d = () => {
8509
8509
  r && r.current && r.current.focus();
8510
8510
  };
8511
8511
  return /* @__PURE__ */ t(
@@ -8514,27 +8514,27 @@ const Hs = ({
8514
8514
  ref: a,
8515
8515
  className: e,
8516
8516
  contentEditable: !0,
8517
- onPaste: (m) => {
8518
- m.preventDefault();
8519
- const k = m.clipboardData.getData("text/plain");
8517
+ onPaste: (p) => {
8518
+ p.preventDefault();
8519
+ const k = p.clipboardData.getData("text/plain");
8520
8520
  document.execCommand("insertHTML", !1, Ro(k));
8521
8521
  },
8522
8522
  onBlur: () => {
8523
- const m = d();
8524
- if (!(i || !m)) {
8525
- if (m.innerText === "") {
8523
+ const p = s();
8524
+ if (!(i || !p)) {
8525
+ if (p.innerText === "") {
8526
8526
  _();
8527
8527
  return;
8528
8528
  }
8529
- o(m.innerText);
8529
+ o(p.innerText);
8530
8530
  }
8531
8531
  },
8532
- onKeyDown: (m) => {
8533
- if (m.key === le.enter) {
8534
- m.preventDefault(), s();
8532
+ onKeyDown: (p) => {
8533
+ if (p.key === le.enter) {
8534
+ p.preventDefault(), d();
8535
8535
  return;
8536
8536
  }
8537
- m.key === le.backspace && u() === "" && (n(!0), _(), s());
8537
+ p.key === le.backspace && u() === "" && (n(!0), _(), d());
8538
8538
  },
8539
8539
  dangerouslySetInnerHTML: { __html: Ro(l) }
8540
8540
  }
@@ -8549,16 +8549,16 @@ const Hs = ({
8549
8549
  size: i,
8550
8550
  tagProps: n
8551
8551
  }) => {
8552
- const d = b.useMemo(() => o !== void 0 ? o(e) : !0, [e, o]), u = b.useRef(null), s = () => r(a);
8553
- return /* @__PURE__ */ t(R_, { size: i, ...n, kind: d ? n ? n.kind : "default" : "error", onRemove: s, children: /* @__PURE__ */ t(
8552
+ const s = b.useMemo(() => o !== void 0 ? o(e) : !0, [e, o]), u = b.useRef(null), d = () => r(a);
8553
+ return /* @__PURE__ */ t(R_, { size: i, ...n, kind: s ? n ? n.kind : "default" : "error", onRemove: d, children: /* @__PURE__ */ t(
8554
8554
  Zs,
8555
8555
  {
8556
8556
  value: e,
8557
8557
  inputRef: _,
8558
8558
  innerEditableRef: u,
8559
8559
  className: Va[`${js}__content`],
8560
- change: (p) => l(a, p),
8561
- remove: s,
8560
+ change: (h) => l(a, h),
8561
+ remove: d,
8562
8562
  validator: o
8563
8563
  }
8564
8564
  ) });
@@ -8577,41 +8577,41 @@ const Hs = ({
8577
8577
  placeholder: l,
8578
8578
  size: i = "medium",
8579
8579
  className: n,
8580
- inputClassName: d,
8580
+ inputClassName: s,
8581
8581
  onBlur: u,
8582
- addOnBlur: s = !0,
8583
- readOnly: h,
8584
- noDataFallbackText: p = "No data",
8582
+ addOnBlur: d = !0,
8583
+ readOnly: m,
8584
+ noDataFallbackText: h = "No data",
8585
8585
  ...y
8586
8586
  }) => {
8587
- const m = c(
8587
+ const p = c(
8588
8588
  Va[$r],
8589
8589
  {
8590
8590
  [Va[`${$r}--error`]]: _
8591
8591
  },
8592
8592
  n
8593
8593
  ), k = c(
8594
- d,
8594
+ s,
8595
8595
  Va[`${$r}__input`],
8596
8596
  Va[`${$r}__input--${i}`]
8597
- ), [x, w] = b.useState(""), N = b.useRef(null), { readOnly: $ } = xt(), C = $ || h, S = (D) => {
8597
+ ), [x, w] = b.useState(""), S = b.useRef(null), { readOnly: $ } = xt(), C = $ || m, N = (D) => {
8598
8598
  D.trim() !== "" && (r([...a || [], D]), w(""));
8599
8599
  }, f = (D) => {
8600
8600
  const R = [...a || []];
8601
8601
  R.splice(D, 1), r(R);
8602
- }, v = (D) => w(D.target.value), T = (D) => {
8602
+ }, v = (D) => w(D.target.value), E = (D) => {
8603
8603
  if (Js.includes(D.key)) {
8604
8604
  if (D.preventDefault(), x === "")
8605
8605
  return;
8606
- S(x);
8606
+ N(x);
8607
8607
  } else if (Qs.includes(D.key)) {
8608
8608
  if (x !== "" || !a?.length)
8609
8609
  return;
8610
8610
  f(a.length - 1);
8611
8611
  }
8612
- }, I = (D) => {
8613
- s && S(x), u?.(D);
8614
- }, O = (D, R) => {
8612
+ }, O = (D) => {
8613
+ d && N(x), u?.(D);
8614
+ }, I = (D, R) => {
8615
8615
  const F = [...a || []];
8616
8616
  F.reduce(
8617
8617
  (se, ie, de) => se + (ie === R && de !== D ? 1 : 0),
@@ -8621,22 +8621,22 @@ const Hs = ({
8621
8621
  D.preventDefault();
8622
8622
  const F = D.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
8623
8623
  r([...a || [], ...F]);
8624
- }, E = (D) => typeof D == "string" ? D : D.value || (typeof D.children == "string" ? D.children : "");
8624
+ }, T = (D) => typeof D == "string" ? D : D.value || (typeof D.children == "string" ? D.children : "");
8625
8625
  if (C)
8626
8626
  return /* @__PURE__ */ t(
8627
8627
  va,
8628
8628
  {
8629
- value: a?.filter(Boolean).map(E).join(", "),
8630
- noDataFallbackText: p
8629
+ value: a?.filter(Boolean).map(T).join(", "),
8630
+ noDataFallbackText: h
8631
8631
  }
8632
8632
  );
8633
8633
  const M = (D, R) => typeof D == "string" ? /* @__PURE__ */ t(
8634
8634
  c_,
8635
8635
  {
8636
8636
  index: R,
8637
- update: O,
8637
+ update: I,
8638
8638
  remove: f,
8639
- inputRef: N,
8639
+ inputRef: S,
8640
8640
  validator: o,
8641
8641
  size: i,
8642
8642
  children: D
@@ -8646,9 +8646,9 @@ const Hs = ({
8646
8646
  c_,
8647
8647
  {
8648
8648
  index: R,
8649
- update: O,
8649
+ update: I,
8650
8650
  remove: f,
8651
- inputRef: N,
8651
+ inputRef: S,
8652
8652
  validator: o,
8653
8653
  size: i,
8654
8654
  tagProps: D,
@@ -8657,21 +8657,21 @@ const Hs = ({
8657
8657
  `${R}${D.children}`
8658
8658
  );
8659
8659
  return /* @__PURE__ */ g(K, { children: [
8660
- /* @__PURE__ */ g(B, { as: "div", className: m, children: [
8660
+ /* @__PURE__ */ g(B, { as: "div", className: p, children: [
8661
8661
  a?.map(M),
8662
8662
  /* @__PURE__ */ t(
8663
8663
  "input",
8664
8664
  {
8665
8665
  ...y,
8666
8666
  id: e,
8667
- ref: N,
8667
+ ref: S,
8668
8668
  className: k,
8669
8669
  placeholder: l,
8670
8670
  value: x,
8671
8671
  onChange: v,
8672
- onKeyDown: T,
8672
+ onKeyDown: E,
8673
8673
  onPaste: A,
8674
- onBlur: I
8674
+ onBlur: O
8675
8675
  }
8676
8676
  )
8677
8677
  ] }),
@@ -8736,10 +8736,10 @@ const Hs = ({
8736
8736
  ge[Wt],
8737
8737
  ge[`${Wt}--${_}`],
8738
8738
  a
8739
- ), d = typeof r == "string", u = (s) => s && s.closesOnClick && l ? (s.onClick(), l()) : s.onClick();
8739
+ ), s = typeof r == "string", u = (d) => d && d.closesOnClick && l ? (d.onClick(), l()) : d.onClick();
8740
8740
  return /* @__PURE__ */ g("div", { className: n, ...i, children: [
8741
8741
  /* @__PURE__ */ t("div", { className: ge[`${Wt}__icon`], children: /* @__PURE__ */ t(P, { ...nd[_], size: "medium" }) }),
8742
- /* @__PURE__ */ t("div", { className: ge[`${Wt}__content`], children: d ? /* @__PURE__ */ t(B, { as: "div", children: r }) : r }),
8742
+ /* @__PURE__ */ t("div", { className: ge[`${Wt}__content`], children: s ? /* @__PURE__ */ t(B, { as: "div", children: r }) : r }),
8743
8743
  (e || o) && /* @__PURE__ */ g("div", { className: ge[`${Wt}__actions`], children: [
8744
8744
  e && /* @__PURE__ */ t(
8745
8745
  L,
@@ -8784,7 +8784,7 @@ const Hs = ({
8784
8784
  },
8785
8785
  e
8786
8786
  );
8787
- return /* @__PURE__ */ t("div", { className: n, children: /* @__PURE__ */ t(k_, { component: null, children: a.map(({ id: d, kind: u, content: s, removable: h, action: p, onClose: y }) => /* @__PURE__ */ t(
8787
+ return /* @__PURE__ */ t("div", { className: n, children: /* @__PURE__ */ t(k_, { component: null, children: a.map(({ id: s, kind: u, content: d, removable: m, action: h, onClose: y }) => /* @__PURE__ */ t(
8788
8788
  C_,
8789
8789
  {
8790
8790
  classNames: {
@@ -8799,13 +8799,13 @@ const Hs = ({
8799
8799
  {
8800
8800
  kind: u,
8801
8801
  onClose: y,
8802
- removable: h,
8803
- action: p,
8804
- children: s
8802
+ removable: m,
8803
+ action: h,
8804
+ children: d
8805
8805
  }
8806
8806
  )
8807
8807
  },
8808
- d
8808
+ s
8809
8809
  )) }) });
8810
8810
  }, dd = "lc-Textarea-module__textarea___yE6jp", Sr = {
8811
8811
  textarea: dd,
@@ -8814,14 +8814,14 @@ const Hs = ({
8814
8814
  "textarea--error": "lc-Textarea-module__textarea--error___n-fD5"
8815
8815
  }, Nr = "textarea", am = b.forwardRef(
8816
8816
  ({ className: e, noDataFallbackText: a = "No data", error: r, ...o }, _) => {
8817
- const { disabled: l, onBlur: i, onFocus: n } = o, { readOnly: d } = xt(), u = d || o.readOnly, [s, h] = b.useState(!1), p = c(e, Sr[Nr], {
8817
+ const { disabled: l, onBlur: i, onFocus: n } = o, { readOnly: s } = xt(), u = s || o.readOnly, [d, m] = b.useState(!1), h = c(e, Sr[Nr], {
8818
8818
  [Sr[`${Nr}--disabled`]]: l,
8819
- [Sr[`${Nr}--focused`]]: s,
8819
+ [Sr[`${Nr}--focused`]]: d,
8820
8820
  [Sr[`${Nr}--error`]]: r
8821
8821
  }), y = (k) => {
8822
- h(!1), i?.(k);
8823
- }, m = (k) => {
8824
- h(!0), n?.(k);
8822
+ m(!1), i?.(k);
8823
+ }, p = (k) => {
8824
+ m(!0), n?.(k);
8825
8825
  };
8826
8826
  return u ? /* @__PURE__ */ t(
8827
8827
  va,
@@ -8829,12 +8829,12 @@ const Hs = ({
8829
8829
  value: o?.value?.toString(),
8830
8830
  noDataFallbackText: a
8831
8831
  }
8832
- ) : /* @__PURE__ */ t(B, { as: "div", className: p, children: /* @__PURE__ */ t(
8832
+ ) : /* @__PURE__ */ t(B, { as: "div", className: h, children: /* @__PURE__ */ t(
8833
8833
  "textarea",
8834
8834
  {
8835
8835
  ...o,
8836
8836
  ref: _,
8837
- onFocus: m,
8837
+ onFocus: p,
8838
8838
  onBlur: y
8839
8839
  }
8840
8840
  ) });
@@ -8849,7 +8849,7 @@ class gd {
8849
8849
  this.element = a, this.padding = r;
8850
8850
  }
8851
8851
  addPadding(a) {
8852
- const r = Math.ceil(a.left) - this.padding, o = Math.ceil(a.top) - this.padding, _ = Math.ceil(a.width) + 2 * this.padding, l = Math.ceil(a.height) + 2 * this.padding, i = o, n = r, d = i + l, u = n + _;
8852
+ const r = Math.ceil(a.left) - this.padding, o = Math.ceil(a.top) - this.padding, _ = Math.ceil(a.width) + 2 * this.padding, l = Math.ceil(a.height) + 2 * this.padding, i = o, n = r, s = i + l, u = n + _;
8853
8853
  return {
8854
8854
  x: r,
8855
8855
  y: o,
@@ -8857,7 +8857,7 @@ class gd {
8857
8857
  height: l,
8858
8858
  top: i,
8859
8859
  left: n,
8860
- bottom: d,
8860
+ bottom: s,
8861
8861
  right: u
8862
8862
  };
8863
8863
  }
@@ -8946,57 +8946,58 @@ const ct = {
8946
8946
  cursorTiming: o = "fast2",
8947
8947
  parentElementName: _,
8948
8948
  isVisible: l = !1,
8949
- elementClassName: i,
8950
- zIndex: n,
8951
- isFirstStep: d,
8952
- isLastStep: u
8949
+ hideOverlay: i = !1,
8950
+ elementClassName: n,
8951
+ zIndex: s,
8952
+ isFirstStep: u,
8953
+ isLastStep: d
8953
8954
  }) => {
8954
- const [s, h] = _e(null), [p, y] = _e(null), m = qt(null), k = qt(null), x = d || u ? "bottom-start" : r, { refs: w, x: N, y: $, strategy: C, placement: S, update: f } = Vl({
8955
+ const [m, h] = _e(null), [y, p] = _e(null), k = qt(null), x = qt(null), w = u || d ? "bottom-start" : r, { refs: S, x: $, y: C, strategy: N, placement: f, update: v } = Vl({
8955
8956
  middleware: [Wl(), Kl()],
8956
- placement: x,
8957
+ placement: w,
8957
8958
  open: !0,
8958
8959
  whileElementsMounted: Yl
8959
- }), v = () => {
8960
- s && y(
8961
- s_(s).getBoundingClientRect()
8960
+ }), E = () => {
8961
+ m && p(
8962
+ s_(m).getBoundingClientRect()
8962
8963
  );
8963
8964
  };
8964
8965
  q(() => {
8965
- if (s !== null)
8966
- return window.addEventListener("resize", v), window.addEventListener("scroll", v), () => {
8967
- window.removeEventListener("resize", v), window.removeEventListener("scroll", v);
8966
+ if (m !== null)
8967
+ return window.addEventListener("resize", E), window.addEventListener("scroll", E), () => {
8968
+ window.removeEventListener("resize", E), window.removeEventListener("scroll", E);
8968
8969
  };
8969
- }, [s]), q(() => (window.addEventListener("resize", f), () => window.removeEventListener("resize", f)), [f]), q(() => {
8970
+ }, [m]), q(() => (window.addEventListener("resize", v), () => window.removeEventListener("resize", v)), [v]), q(() => {
8970
8971
  if (_) {
8971
8972
  const I = document.querySelector(_);
8972
- h(I), w.setReference(I);
8973
+ h(I), S.setReference(I);
8973
8974
  }
8974
8975
  }, [_]), q(() => {
8975
- s && y(
8976
- s_(s).getBoundingClientRect()
8976
+ m && p(
8977
+ s_(m).getBoundingClientRect()
8977
8978
  );
8978
- }, [s]), q(() => {
8979
- if (s && m.current) {
8980
- m.current.innerHTML = "";
8981
- const I = s.cloneNode(!0);
8982
- i && (I.className += ` ${i}`), m.current.appendChild(I);
8979
+ }, [m]), q(() => {
8980
+ if (m && k.current) {
8981
+ k.current.innerHTML = "";
8982
+ const I = m.cloneNode(!0);
8983
+ n && (I.className += ` ${n}`), k.current.appendChild(I);
8983
8984
  }
8984
8985
  return () => {
8985
- m.current && (m.current.innerHTML = "");
8986
+ k.current && (k.current.innerHTML = "");
8986
8987
  };
8987
- }, [s, m.current, i]), q(() => (l ? document.body.classList.add("user-guide-visible") : document.body.classList.remove("user-guide-visible"), () => {
8988
+ }, [m, k.current, n]), q(() => (l ? document.body.classList.add("user-guide-visible") : document.body.classList.remove("user-guide-visible"), () => {
8988
8989
  document.body.classList.remove("user-guide-visible");
8989
8990
  }), [l]);
8990
- const T = () => p ? /* @__PURE__ */ t(
8991
+ const O = () => y ? /* @__PURE__ */ t(
8991
8992
  "div",
8992
8993
  {
8993
- ref: m,
8994
+ ref: k,
8994
8995
  style: {
8995
8996
  position: "absolute",
8996
- top: p.top,
8997
- left: p.left,
8998
- width: p.width,
8999
- height: p.height,
8997
+ top: y.top,
8998
+ left: y.left,
8999
+ width: y.width,
9000
+ height: y.height,
9000
9001
  pointerEvents: "none"
9001
9002
  }
9002
9003
  }
@@ -9007,20 +9008,20 @@ const ct = {
9007
9008
  {
9008
9009
  className: c(ct[`${st}__overlay`]),
9009
9010
  style: {
9010
- display: l ? "flex" : "none",
9011
- zIndex: n
9011
+ display: l && !i ? "flex" : "none",
9012
+ zIndex: s
9012
9013
  },
9013
- children: s && T()
9014
+ children: m && O()
9014
9015
  }
9015
9016
  ),
9016
9017
  l && /* @__PURE__ */ t(ha, { children: /* @__PURE__ */ t(
9017
9018
  "div",
9018
9019
  {
9019
- ref: w.setFloating,
9020
+ ref: S.setFloating,
9020
9021
  style: {
9021
- position: C,
9022
- top: d || u ? "40%" : $,
9023
- left: d || u ? "calc(50% - 211px)" : N
9022
+ position: N,
9023
+ top: u || d ? "40%" : C,
9024
+ left: u || d ? "calc(50% - 211px)" : $
9024
9025
  },
9025
9026
  className: c(
9026
9027
  ct[`${st}__floating`],
@@ -9030,10 +9031,10 @@ const ct = {
9030
9031
  children: /* @__PURE__ */ g(
9031
9032
  "div",
9032
9033
  {
9033
- ref: k,
9034
+ ref: x,
9034
9035
  className: c(
9035
9036
  ct[`${st}__guide`],
9036
- ct[`${st}__guide--${S}`]
9037
+ ct[`${st}__guide--${f}`]
9037
9038
  ),
9038
9039
  children: [
9039
9040
  /* @__PURE__ */ t(
@@ -9041,7 +9042,7 @@ const ct = {
9041
9042
  {
9042
9043
  className: c(
9043
9044
  ct[`${st}__guide__arrow`],
9044
- ct[`${st}__guide__arrow--${S}`],
9045
+ ct[`${st}__guide__arrow--${f}`],
9045
9046
  ct[`${st}__guide__arrow--${o}`]
9046
9047
  ),
9047
9048
  children: /* @__PURE__ */ t("img", { src: pd, alt: "cursor" })
@@ -9052,7 +9053,7 @@ const ct = {
9052
9053
  {
9053
9054
  className: c(
9054
9055
  ct[`${st}__guide__content`],
9055
- ct[`${st}__guide__content--${S}`],
9056
+ ct[`${st}__guide__content--${f}`],
9056
9057
  ct[`${st}__guide__content--${o}`]
9057
9058
  ),
9058
9059
  children: a
@@ -9085,13 +9086,13 @@ const ct = {
9085
9086
  disableTypingAnimations: l,
9086
9087
  typingDelay: i,
9087
9088
  typingSpeed: n,
9088
- className: d
9089
+ className: s
9089
9090
  }) => {
9090
- const [u, s] = _e(["header"]), h = u.includes("header"), p = u.includes("message"), y = r && u.includes("cta");
9091
+ const [u, d] = _e(["header"]), m = u.includes("header"), h = u.includes("message"), y = r && u.includes("cta");
9091
9092
  return q(() => {
9092
9093
  u.length === 3 && _ && _();
9093
- }, [u]), /* @__PURE__ */ g("div", { className: c("lc-light-theme", Se[`${Ne}`], d), children: [
9094
- h && /* @__PURE__ */ t(
9094
+ }, [u]), /* @__PURE__ */ g("div", { className: c("lc-light-theme", Se[`${Ne}`], s), children: [
9095
+ m && /* @__PURE__ */ t(
9095
9096
  "div",
9096
9097
  {
9097
9098
  className: c(Se[`${Ne}__bubble-wrapper`], {
@@ -9104,7 +9105,7 @@ const ct = {
9104
9105
  Se[`${Ne}__bubble`],
9105
9106
  Se[`${Ne}__bubble--header`],
9106
9107
  {
9107
- [Se[`${Ne}__bubble--next-msg`]]: p
9108
+ [Se[`${Ne}__bubble--next-msg`]]: h
9108
9109
  }
9109
9110
  ),
9110
9111
  children: [
@@ -9116,7 +9117,7 @@ const ct = {
9116
9117
  typingAnimation: !l,
9117
9118
  typingDelay: i,
9118
9119
  typingSpeed: n,
9119
- onTypingEnd: () => s([...u, "message"])
9120
+ onTypingEnd: () => d([...u, "message"])
9120
9121
  }
9121
9122
  ) })
9122
9123
  ]
@@ -9124,7 +9125,7 @@ const ct = {
9124
9125
  )
9125
9126
  }
9126
9127
  ),
9127
- p && /* @__PURE__ */ t(
9128
+ h && /* @__PURE__ */ t(
9128
9129
  "div",
9129
9130
  {
9130
9131
  className: c(Se[`${Ne}__bubble-wrapper`], {
@@ -9147,7 +9148,7 @@ const ct = {
9147
9148
  typingAnimation: !l,
9148
9149
  typingSpeed: n,
9149
9150
  typingDelay: 0,
9150
- onTypingEnd: () => s([...u, "cta"])
9151
+ onTypingEnd: () => d([...u, "cta"])
9151
9152
  }
9152
9153
  ) })
9153
9154
  }
@@ -9194,18 +9195,18 @@ const ct = {
9194
9195
  stepMax: l,
9195
9196
  typingAnimation: i = !1,
9196
9197
  typingDelay: n,
9197
- typingSpeed: d,
9198
+ typingSpeed: s,
9198
9199
  handleCloseAction: u,
9199
- handleClickPrimary: s,
9200
- className: h
9200
+ handleClickPrimary: d,
9201
+ className: m
9201
9202
  }) => {
9202
- const [p, y] = _e(!1);
9203
+ const [h, y] = _e(!1);
9203
9204
  return q(() => {
9204
9205
  if (u)
9205
9206
  return document.addEventListener("keydown", u), () => {
9206
9207
  document.removeEventListener("keydown", u);
9207
9208
  };
9208
- }, [u]), /* @__PURE__ */ g("div", { className: c("lc-light-theme", Je[`${Qe}`], h), children: [
9209
+ }, [u]), /* @__PURE__ */ g("div", { className: c("lc-light-theme", Je[`${Qe}`], m), children: [
9209
9210
  /* @__PURE__ */ g("span", { className: Je[`${Qe}__heading`], children: [
9210
9211
  /* @__PURE__ */ t(P, { size: "large", source: f_ }),
9211
9212
  /* @__PURE__ */ t(B, { size: "lg", bold: !0, as: "span", children: e })
@@ -9243,19 +9244,19 @@ const ct = {
9243
9244
  text: a,
9244
9245
  typingAnimation: i,
9245
9246
  typingDelay: n,
9246
- typingSpeed: d,
9247
+ typingSpeed: s,
9247
9248
  onTypingEnd: () => y(!0)
9248
9249
  }
9249
9250
  )
9250
9251
  }
9251
9252
  ),
9252
- p && /* @__PURE__ */ g("div", { className: Je[`${Qe}__footer`], children: [
9253
+ h && /* @__PURE__ */ g("div", { className: Je[`${Qe}__footer`], children: [
9253
9254
  /* @__PURE__ */ t(
9254
9255
  L,
9255
9256
  {
9256
9257
  kind: "high-contrast",
9257
9258
  size: "large",
9258
- onClick: s,
9259
+ onClick: d,
9259
9260
  className: Je[`${Qe}__footer__button-primary`],
9260
9261
  children: _ === l ? "Finish" : "Next"
9261
9262
  }
@@ -9340,7 +9341,7 @@ const ct = {
9340
9341
  size: l,
9341
9342
  status: i = "normal",
9342
9343
  onCloseButtonClick: n,
9343
- onRetryButtonClick: d
9344
+ onRetryButtonClick: s
9344
9345
  }, u) => /* @__PURE__ */ g("div", { className: dt[Ft], ref: u, children: [
9345
9346
  r && i !== "success" && /* @__PURE__ */ t("div", { className: dt[`${Ft}__icon`], children: r }),
9346
9347
  i === "success" && /* @__PURE__ */ t(
@@ -9382,7 +9383,7 @@ const ct = {
9382
9383
  {
9383
9384
  status: i,
9384
9385
  onCloseButtonClick: n,
9385
- onRetryButtonClick: d
9386
+ onRetryButtonClick: s
9386
9387
  }
9387
9388
  )
9388
9389
  }
@@ -9452,32 +9453,32 @@ const ct = {
9452
9453
  errorMessage: l,
9453
9454
  status: i = "normal",
9454
9455
  icon: n,
9455
- size: d,
9456
+ size: s,
9456
9457
  mode: u = "multiple",
9457
- onCloseButtonClick: s,
9458
- onRetryButtonClick: h
9458
+ onCloseButtonClick: d,
9459
+ onRetryButtonClick: m
9459
9460
  }) => {
9460
- const [p, y] = b.useState(_ || !1), m = i === "error", k = i === "success", x = c(J[Me], a, {
9461
- [J[`${Me}--error`]]: m,
9461
+ const [h, y] = b.useState(_ || !1), p = i === "error", k = i === "success", x = c(J[Me], a, {
9462
+ [J[`${Me}--error`]]: p,
9462
9463
  [J[`${Me}--success`]]: k
9463
- }), w = !(m && (h || s)), N = () => y(!p);
9464
+ }), w = !(p && (m || d)), S = () => y(!h);
9464
9465
  return u === "single" ? /* @__PURE__ */ t("div", { className: x, children: /* @__PURE__ */ g("div", { className: J[`${Me}__wrapper`], children: [
9465
9466
  /* @__PURE__ */ t("div", { className: J[`${Lt}`], children: /* @__PURE__ */ t(
9466
9467
  hd,
9467
9468
  {
9468
- title: m && l || o,
9469
+ title: p && l || o,
9469
9470
  progressValue: r,
9470
9471
  status: i,
9471
9472
  icon: n,
9472
- size: d
9473
+ size: s
9473
9474
  }
9474
9475
  ) }),
9475
9476
  i === "error" && /* @__PURE__ */ t(
9476
9477
  wo,
9477
9478
  {
9478
9479
  status: i,
9479
- onCloseButtonClick: s,
9480
- onRetryButtonClick: h
9480
+ onCloseButtonClick: d,
9481
+ onRetryButtonClick: m
9481
9482
  }
9482
9483
  )
9483
9484
  ] }) }) : /* @__PURE__ */ g("div", { className: x, children: [
@@ -9485,32 +9486,32 @@ const ct = {
9485
9486
  "div",
9486
9487
  {
9487
9488
  className: J[`${Me}__wrapper`],
9488
- onClick: N,
9489
+ onClick: S,
9489
9490
  children: /* @__PURE__ */ g("div", { className: J[`${Lt}`], children: [
9490
9491
  /* @__PURE__ */ t("div", { className: J[`${Lt}__icon`], children: bd(i, r) }),
9491
- /* @__PURE__ */ t("div", { className: J[`${Lt}__title`], children: /* @__PURE__ */ t(B, { size: "sm", as: "div", children: m ? l : o }) }),
9492
+ /* @__PURE__ */ t("div", { className: J[`${Lt}__title`], children: /* @__PURE__ */ t(B, { size: "sm", as: "div", children: p ? l : o }) }),
9492
9493
  w && /* @__PURE__ */ t(
9493
9494
  "button",
9494
9495
  {
9495
9496
  className: J[`${Lt}__collapse-button`],
9496
9497
  type: "button",
9497
9498
  "aria-label": "Collapse button",
9498
- onClick: N,
9499
- children: p ? /* @__PURE__ */ t(P, { source: ja }) : /* @__PURE__ */ t(P, { source: Xt })
9499
+ onClick: S,
9500
+ children: h ? /* @__PURE__ */ t(P, { source: ja }) : /* @__PURE__ */ t(P, { source: Xt })
9500
9501
  }
9501
9502
  ),
9502
9503
  i === "error" && /* @__PURE__ */ t("div", { className: J[`${Lt}__actions-container`], children: /* @__PURE__ */ t(
9503
9504
  wo,
9504
9505
  {
9505
9506
  status: i,
9506
- onCloseButtonClick: s,
9507
- onRetryButtonClick: h
9507
+ onCloseButtonClick: d,
9508
+ onRetryButtonClick: m
9508
9509
  }
9509
9510
  ) })
9510
9511
  ] })
9511
9512
  }
9512
9513
  ),
9513
- /* @__PURE__ */ t(k_, { component: null, children: p && /* @__PURE__ */ t(
9514
+ /* @__PURE__ */ t(k_, { component: null, children: h && /* @__PURE__ */ t(
9514
9515
  C_,
9515
9516
  {
9516
9517
  timeout: fd,
@@ -9564,18 +9565,18 @@ const ct = {
9564
9565
  {
9565
9566
  className: ua[`${ma}__steps__container`],
9566
9567
  "data-testid": `${o}-container`,
9567
- children: Array.from({ length: l }, (d, u) => {
9568
- const s = u + 1, h = s <= i, p = s > i;
9568
+ children: Array.from({ length: l }, (s, u) => {
9569
+ const d = u + 1, m = d <= i, h = d > i;
9569
9570
  return /* @__PURE__ */ t(
9570
9571
  "div",
9571
9572
  {
9572
- "aria-completed": h,
9573
+ "aria-completed": m,
9573
9574
  className: c(ua[`${ma}__step`], {
9574
- [ua[`${ma}__step--completed`]]: h,
9575
- [ua[`${ma}__step--active`]]: p
9575
+ [ua[`${ma}__step--completed`]]: m,
9576
+ [ua[`${ma}__step--active`]]: h
9576
9577
  })
9577
9578
  },
9578
- s
9579
+ d
9579
9580
  );
9580
9581
  })
9581
9582
  }
@@ -9659,10 +9660,10 @@ const ct = {
9659
9660
  titleBold: l = !1,
9660
9661
  details: i,
9661
9662
  timestamp: n,
9662
- timestampWithSeconds: d,
9663
+ timestampWithSeconds: s,
9663
9664
  actions: u
9664
9665
  }) => {
9665
- const [s, h] = b.useState(!1), p = c(
9666
+ const [d, m] = b.useState(!1), h = c(
9666
9667
  ee[`${te}__header-wrapper-title`],
9667
9668
  ee[`${te}__header-wrapper-title--kind-${o}`],
9668
9669
  {
@@ -9671,7 +9672,7 @@ const ct = {
9671
9672
  ), y = c(
9672
9673
  ee[`${te}__header-wrapper`],
9673
9674
  ee[`${te}__header-wrapper--alignment-${r}`]
9674
- ), m = c(
9675
+ ), p = c(
9675
9676
  ee[`${te}__details-wrapper`],
9676
9677
  ee[`${te}__details-wrapper--alignment-${r}`],
9677
9678
  {
@@ -9687,7 +9688,7 @@ const ct = {
9687
9688
  {
9688
9689
  [ee[`${te}__actions-wrapper--alignment-left-margin`]]: r === "left" && _
9689
9690
  }
9690
- ), w = (S, f) => {
9691
+ ), w = (N, f) => {
9691
9692
  let v = "primary";
9692
9693
  switch (f) {
9693
9694
  case "info":
@@ -9714,11 +9715,11 @@ const ct = {
9714
9715
  {
9715
9716
  size: "small",
9716
9717
  "data-testid": "system-message-header-icon",
9717
- source: S,
9718
+ source: N,
9718
9719
  kind: v
9719
9720
  }
9720
9721
  );
9721
- }, N = (S) => S.slice(2).map((f) => ({
9722
+ }, S = (N) => N.slice(2).map((f) => ({
9722
9723
  key: f.label,
9723
9724
  element: /* @__PURE__ */ t(
9724
9725
  Xa,
@@ -9728,8 +9729,8 @@ const ct = {
9728
9729
  }
9729
9730
  ),
9730
9731
  onClick: f.callback
9731
- })), $ = (S) => /* @__PURE__ */ g("div", { className: x, children: [
9732
- S.slice(0, 2).map((f) => /* @__PURE__ */ t(
9732
+ })), $ = (N) => /* @__PURE__ */ g("div", { className: x, children: [
9733
+ N.slice(0, 2).map((f) => /* @__PURE__ */ t(
9733
9734
  B,
9734
9735
  {
9735
9736
  className: ee[`${te}__action-item`],
@@ -9740,11 +9741,11 @@ const ct = {
9740
9741
  },
9741
9742
  f.label
9742
9743
  )),
9743
- S.length > 2 && /* @__PURE__ */ t(
9744
+ N.length > 2 && /* @__PURE__ */ t(
9744
9745
  Eo,
9745
9746
  {
9746
9747
  placement: "bottom-end",
9747
- options: N(S),
9748
+ options: S(N),
9748
9749
  triggerRenderer: /* @__PURE__ */ t(
9749
9750
  L,
9750
9751
  {
@@ -9757,39 +9758,39 @@ const ct = {
9757
9758
  )
9758
9759
  }
9759
9760
  )
9760
- ] }), C = (S) => /* @__PURE__ */ g(
9761
+ ] }), C = (N) => /* @__PURE__ */ g(
9761
9762
  "div",
9762
9763
  {
9763
9764
  "data-testid": "system-message-details",
9764
- className: m,
9765
+ className: p,
9765
9766
  children: [
9766
9767
  /* @__PURE__ */ g("div", { className: k, children: [
9767
- S.slice(0, 1).map((f, v) => /* @__PURE__ */ t(B, { as: "div", size: "xs", children: f }, `detail-first-${v}`)),
9768
- S.length > 1 && /* @__PURE__ */ t(
9768
+ N.slice(0, 1).map((f, v) => /* @__PURE__ */ t(B, { as: "div", size: "xs", children: f }, `detail-first-${v}`)),
9769
+ N.length > 1 && /* @__PURE__ */ t(
9769
9770
  L,
9770
9771
  {
9771
9772
  kind: "plain",
9772
9773
  size: "xcompact",
9773
9774
  "data-testid": "system-message-details-toggle",
9774
9775
  className: ee[`${te}__details-toggle`],
9775
- onClick: () => h(!s),
9776
+ onClick: () => m(!d),
9776
9777
  icon: /* @__PURE__ */ t(
9777
9778
  P,
9778
9779
  {
9779
- source: s ? ja : Xt,
9780
+ source: d ? ja : Xt,
9780
9781
  kind: "primary"
9781
9782
  }
9782
9783
  )
9783
9784
  }
9784
9785
  )
9785
9786
  ] }),
9786
- s && S.slice(1).map((f) => /* @__PURE__ */ t(
9787
+ d && N.slice(1).map((f) => /* @__PURE__ */ t(
9787
9788
  "div",
9788
9789
  {
9789
9790
  className: ee[`${te}__details-line`],
9790
9791
  children: /* @__PURE__ */ t(B, { as: "div", size: "xs", children: f })
9791
9792
  },
9792
- `detail-${S.indexOf(f)}`
9793
+ `detail-${N.indexOf(f)}`
9793
9794
  ))
9794
9795
  ]
9795
9796
  }
@@ -9813,7 +9814,7 @@ const ct = {
9813
9814
  as: "div",
9814
9815
  size: "xs",
9815
9816
  "data-testid": "system-message-title",
9816
- className: p,
9817
+ className: h,
9817
9818
  children: e
9818
9819
  }
9819
9820
  ),
@@ -9830,11 +9831,11 @@ const ct = {
9830
9831
  ]
9831
9832
  }
9832
9833
  ),
9833
- n && d && /* @__PURE__ */ t(
9834
+ n && s && /* @__PURE__ */ t(
9834
9835
  Cd,
9835
9836
  {
9836
9837
  timestamp: n,
9837
- timestampWithSeconds: d
9838
+ timestampWithSeconds: s
9838
9839
  }
9839
9840
  )
9840
9841
  ]