@livechat/design-system-react-components 2.28.0 → 2.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ var t_ = (e, a, r) => a in e ? ll(e, a, { enumerable: !0, configurable: !0, writ
9
9
  for (var r of pr(a))
10
10
  L_.call(a, r) && t_(e, r, a[r]);
11
11
  return e;
12
- }, B = (e, a) => il(e, nl(a));
12
+ }, I = (e, a) => il(e, nl(a));
13
13
  var U = (e, a) => {
14
14
  var r = {};
15
15
  for (var _ in e)
@@ -24,15 +24,15 @@ import * as v from "react";
24
24
  import { useState as de, useCallback as kt, useLayoutEffect as cl, useEffect as V, createContext as yo, useContext as ko, useMemo as wa, useRef as Xt, useReducer as sl, memo as dl } from "react";
25
25
  import wo from "lodash.debounce";
26
26
  import { jsx as t, jsxs as h, Fragment as Z } from "react/jsx-runtime";
27
- import { ChevronDown as ta, Check as Na, Close as dt, Info as Mr, Warning as Co, CheckCircle as T_, Block as $o, ChevronRight as Ur, VisibilityOn as ul, VisibilityOff as ml, Person as pl, ChevronUp as or, DoubleArrowLeft as gl, ChevronLeft as hl, DoubleArrowRight as fl, Error as No, People as bl, Bot as vl, Add as yl, ChatBotColored as kl, PersonAdd as wl, TextLogoFull as Cl, LiveChatMono as $l, ChatBotMono as Nl, HelpDeskMono as Sl, KnowledgeBaseMono as xl, OpenWidgetMono as El, HelloMono as Tl, TextLogo as Bl, Calendar as Il, Search as Al, LockBlack as Dl, ArrowDownward as Ol, ArrowUpward as Ml, ArrowsSort as Pl, Call as Fl, OneColored as So, Refresh as Rl, MoreHoriz as Gl } from "@livechat/design-system-icons";
27
+ import { ChevronDown as ta, Check as Na, Close as dt, Info as Pr, Warning as Co, CheckCircle as T_, Block as $o, ChevronRight as Ur, VisibilityOn as ul, VisibilityOff as ml, Person as pl, ChevronUp as or, DoubleArrowLeft as gl, ChevronLeft as hl, DoubleArrowRight as fl, Error as No, People as bl, Bot as vl, Add as yl, ChatBotColored as kl, PersonAdd as wl, TextLogoFull as Cl, LiveChatMono as $l, ChatBotMono as Nl, HelpDeskMono as Sl, KnowledgeBaseMono as xl, OpenWidgetMono as El, HelloMono as Tl, TextLogo as Bl, Calendar as Il, Search as Al, LockBlack as Dl, ArrowDownward as Ol, ArrowUpward as Pl, ArrowsSort as Ml, Call as Fl, OneColored as So, Refresh as Rl, MoreHoriz as Gl } from "@livechat/design-system-icons";
28
28
  import u from "clsx";
29
- import { useFloatingParentNodeId as Lr, useFloatingNodeId as lr, useFloating as ir, offset as nr, flip as qr, size as xo, autoUpdate as cr, useClick as sr, useDismiss as dr, useRole as ur, useInteractions as mr, useTransitionStyles as zr, FloatingNode as Sa, FloatingTree as Hr, shift as B_, arrow as Ul, hide as Ll, useHover as ql, safePolygon as zl, useFocus as Hl, useTransitionStatus as Vl, FloatingArrow as Wl, FloatingPortal as $a, FloatingFocusManager as C_, useListNavigation as Kl, FloatingOverlay as Yl } from "@floating-ui/react";
29
+ import { useFloatingParentNodeId as Lr, useFloatingNodeId as lr, useFloating as ir, offset as nr, flip as qr, size as xo, autoUpdate as cr, useClick as sr, useDismiss as dr, useRole as ur, useInteractions as mr, useTransitionStyles as Hr, FloatingNode as Sa, FloatingTree as zr, shift as B_, arrow as Ul, hide as Ll, useHover as ql, safePolygon as Hl, useFocus as zl, useTransitionStatus as Vl, FloatingArrow as Wl, FloatingPortal as $a, FloatingFocusManager as C_, useListNavigation as Kl, FloatingOverlay as Yl } from "@floating-ui/react";
30
30
  import * as Xl from "react-dom";
31
31
  import { flushSync as Zl, createPortal as jl } from "react-dom";
32
32
  import { Virtuoso as Jl } from "react-virtuoso";
33
33
  import { getContrast as I_ } from "polished";
34
34
  import { DayPicker as Ql } from "react-day-picker";
35
- import { isSameMonth as er, subMonths as ia, differenceInCalendarMonths as q_, addMonths as z_, isSameDay as $_, isAfter as N_, differenceInCalendarDays as Eo, isBefore as ei, isPast as ti, format as gr, startOfToday as To, subDays as hr, startOfMonth as H_, endOfMonth as ai } from "date-fns";
35
+ import { isSameMonth as er, subMonths as ia, differenceInCalendarMonths as q_, addMonths as H_, isSameDay as $_, isAfter as N_, differenceInCalendarDays as Eo, isBefore as ei, isPast as ti, format as gr, startOfToday as To, subDays as hr, startOfMonth as z_, endOfMonth as ai } from "date-fns";
36
36
  import "react-day-picker/style.css";
37
37
  import V_ from "lodash.escape";
38
38
  import { TransitionGroup as Bo, CSSTransition as Io } from "react-transition-group";
@@ -845,7 +845,7 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
845
845
  K_[Y_],
846
846
  _ && K_[`${Y_}--${o ? "disabled--" : ""}${_}`]
847
847
  );
848
- return /* @__PURE__ */ t("span", B(y({}, n), { className: s, children: d }));
848
+ return /* @__PURE__ */ t("span", I(y({}, n), { className: s, children: d }));
849
849
  }, nt = {
850
850
  "heading-xl": "lc-Typography-module__heading-xl___jTpRq",
851
851
  "heading-lg": "lc-Typography-module__heading-lg___VGjgP",
@@ -1124,7 +1124,7 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1124
1124
  "accordion__content__inner--full-width": "lc-Accordion-module__accordion__content__inner--full-width___HpIN0",
1125
1125
  accordion__footer: xi,
1126
1126
  "accordion__footer--promo": "lc-Accordion-module__accordion__footer--promo___N1Ebg"
1127
- }, Mo = (g) => {
1127
+ }, Po = (g) => {
1128
1128
  var w = g, {
1129
1129
  className: e,
1130
1130
  mainClassName: a,
@@ -1154,42 +1154,42 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1154
1154
  "onClose",
1155
1155
  "onOpen"
1156
1156
  ]);
1157
- const x = d !== void 0, S = x ? d : l, E = v.useRef(null), {
1158
- isOpen: N,
1159
- isMounted: C,
1160
- setShouldBeVisible: $
1157
+ const x = d !== void 0, N = x ? d : l, E = v.useRef(null), {
1158
+ isOpen: $,
1159
+ isMounted: S,
1160
+ setShouldBeVisible: C
1161
1161
  } = sa({
1162
- isVisible: S,
1162
+ isVisible: N,
1163
1163
  elementRef: E
1164
- }), { size: b, handleResizeRef: k } = Ao(), { handleExpandChange: I, handleKeyDown: T } = ki({
1164
+ }), { size: b, handleResizeRef: k } = Ao(), { handleExpandChange: B, handleKeyDown: T } = ki({
1165
1165
  isControlled: x,
1166
- isExpanded: N,
1167
- setShouldBeVisible: $,
1166
+ isExpanded: $,
1167
+ setShouldBeVisible: C,
1168
1168
  onOpen: m,
1169
1169
  onClose: p
1170
1170
  }), F = u(
1171
1171
  a,
1172
1172
  {
1173
- [ye[`${ke}--open`]]: N
1173
+ [ye[`${ke}--open`]]: $
1174
1174
  },
1175
1175
  e
1176
1176
  ), A = (O) => {
1177
- const G = O ? he : D, P = y({
1178
- "aria-expanded": N,
1177
+ const G = O ? he : D, M = y({
1178
+ "aria-expanded": $,
1179
1179
  as: "div",
1180
1180
  className: u(ye[`${ke}__label`], {
1181
1181
  [ye[`${ke}__label--promo`]]: O
1182
1182
  }),
1183
- onClick: () => I(N),
1183
+ onClick: () => B($),
1184
1184
  bold: O ? void 0 : !0
1185
1185
  }, O ? { size: "xs" } : {});
1186
- return /* @__PURE__ */ t(G, B(y({}, P), { children: yi(_, N) }));
1186
+ return /* @__PURE__ */ t(G, I(y({}, M), { children: yi(_, $) }));
1187
1187
  };
1188
1188
  return /* @__PURE__ */ h(
1189
1189
  "div",
1190
- B(y({
1190
+ I(y({
1191
1191
  tabIndex: 0,
1192
- "aria-expanded": N,
1192
+ "aria-expanded": $,
1193
1193
  className: F,
1194
1194
  onKeyDown: T
1195
1195
  }, f), {
@@ -1199,26 +1199,26 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1199
1199
  {
1200
1200
  source: ta,
1201
1201
  className: u(ye[`${ke}__chevron`], {
1202
- [ye[`${ke}__chevron--open`]]: N,
1202
+ [ye[`${ke}__chevron--open`]]: $,
1203
1203
  [ye[`${ke}__chevron--promo`]]: s
1204
1204
  })
1205
1205
  }
1206
1206
  ),
1207
1207
  A(s),
1208
- o && /* @__PURE__ */ t(bi, { isExpanded: N, children: o }),
1208
+ o && /* @__PURE__ */ t(bi, { isExpanded: $, children: o }),
1209
1209
  /* @__PURE__ */ t(
1210
1210
  "div",
1211
1211
  {
1212
1212
  className: ye[`${ke}__content`],
1213
- style: { maxHeight: N ? b : 0 },
1213
+ style: { maxHeight: $ ? b : 0 },
1214
1214
  ref: E,
1215
- children: /* @__PURE__ */ t("div", { ref: k, children: C && /* @__PURE__ */ h(Z, { children: [
1215
+ children: /* @__PURE__ */ t("div", { ref: k, children: S && /* @__PURE__ */ h(Z, { children: [
1216
1216
  /* @__PURE__ */ t(
1217
1217
  D,
1218
1218
  {
1219
1219
  as: "div",
1220
1220
  className: u(ye[`${ke}__content__inner`], {
1221
- [ye[`${ke}__content__inner--open`]]: N,
1221
+ [ye[`${ke}__content__inner--open`]]: $,
1222
1222
  [ye[`${ke}__content__inner--promo`]]: s,
1223
1223
  [ye[`${ke}__content__inner--full-width`]]: i
1224
1224
  }),
@@ -1246,10 +1246,10 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1246
1246
  }, ke = "accordion", cu = (r) => {
1247
1247
  var _ = r, { kind: e } = _, a = U(_, ["kind"]);
1248
1248
  const o = u(ye[ke], ye[`${ke}--${e}`]);
1249
- return /* @__PURE__ */ t(Mo, y({ mainClassName: o }, a));
1249
+ return /* @__PURE__ */ t(Po, y({ mainClassName: o }, a));
1250
1250
  }, Ei = `${ke}--promo`, su = (e) => {
1251
1251
  const a = u(ye[ke], ye[Ei]);
1252
- return /* @__PURE__ */ t(Mo, y({ mainClassName: a, isPromo: !0 }, e));
1252
+ return /* @__PURE__ */ t(Po, y({ mainClassName: a, isPromo: !0 }, e));
1253
1253
  }, ue = {
1254
1254
  esc: "Escape",
1255
1255
  enter: "Enter",
@@ -1305,16 +1305,16 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1305
1305
  "selectedOptions",
1306
1306
  "footer"
1307
1307
  ]);
1308
- const S = d !== void 0, [E, N] = v.useState(l), [C, $] = v.useState(null), b = v.useRef(-1), k = Lr(), I = lr(), T = v.useRef(null), F = S ? d : E, A = () => {
1309
- F ? (s == null || s(), !S && N(!1)) : (c == null || c(), !S && N(!0));
1310
- }, { x: O, y: G, strategy: P, refs: L, context: M } = ir({
1311
- nodeId: I,
1308
+ const N = d !== void 0, [E, $] = v.useState(l), [S, C] = v.useState(null), b = v.useRef(-1), k = Lr(), B = lr(), T = v.useRef(null), F = N ? d : E, A = () => {
1309
+ F ? (s == null || s(), !N && $(!1)) : (c == null || c(), !N && $(!0));
1310
+ }, { x: O, y: G, strategy: M, refs: L, context: P } = ir({
1311
+ nodeId: B,
1312
1312
  middleware: [
1313
1313
  nr(4),
1314
1314
  qr(n),
1315
1315
  xo({
1316
- apply({ availableHeight: z }) {
1317
- Zl(() => $(z));
1316
+ apply({ availableHeight: H }) {
1317
+ Zl(() => C(H));
1318
1318
  }
1319
1319
  })
1320
1320
  ],
@@ -1323,87 +1323,87 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1323
1323
  strategy: p,
1324
1324
  onOpenChange: A,
1325
1325
  whileElementsMounted: cr
1326
- }), q = sr(M), Y = dr(M, {
1326
+ }), q = sr(P), Y = dr(P, {
1327
1327
  enabled: F
1328
- }), te = ur(M), { getReferenceProps: Ce, getFloatingProps: fe } = mr([
1328
+ }), re = ur(P), { getReferenceProps: Ce, getFloatingProps: fe } = mr([
1329
1329
  q,
1330
1330
  Y,
1331
- te
1332
- ]), { styles: K } = zr(M, {
1333
- initial: ({ side: z }) => y({
1331
+ re
1332
+ ]), { styles: K } = Hr(P, {
1333
+ initial: ({ side: H }) => y({
1334
1334
  opacity: 0
1335
- }, z === "bottom" && {
1335
+ }, H === "bottom" && {
1336
1336
  marginTop: -10
1337
- } || z === "top" && {
1337
+ } || H === "top" && {
1338
1338
  marginTop: 10
1339
- } || z === "left" && {
1339
+ } || H === "left" && {
1340
1340
  marginLeft: 10
1341
- } || z === "right" && {
1341
+ } || H === "right" && {
1342
1342
  marginLeft: -10
1343
1343
  })
1344
- }), j = (z) => {
1345
- var De, le;
1346
- const oe = b.current;
1347
- let me = oe + z;
1348
- for (; (De = r[me]) != null && De.disabled || (le = r[me]) != null && le.groupHeader; )
1349
- if (me += z, me === -1) {
1350
- me = oe;
1344
+ }), j = (H) => {
1345
+ var De, ne;
1346
+ const ie = b.current;
1347
+ let me = ie + H;
1348
+ for (; (De = r[me]) != null && De.disabled || (ne = r[me]) != null && ne.groupHeader; )
1349
+ if (me += H, me === -1) {
1350
+ me = ie;
1351
1351
  break;
1352
1352
  }
1353
1353
  return me;
1354
- }, ut = (z) => {
1355
- var De, le;
1356
- b.current = j(z);
1357
- const oe = (De = T.current) == null ? void 0 : De.children, me = oe && ((le = oe[b.current]) == null ? void 0 : le.children[0]);
1354
+ }, ut = (H) => {
1355
+ var De, ne;
1356
+ b.current = j(H);
1357
+ const ie = (De = T.current) == null ? void 0 : De.children, me = ie && ((ne = ie[b.current]) == null ? void 0 : ne.children[0]);
1358
1358
  return me == null ? void 0 : me.focus();
1359
- }, wt = (z) => {
1360
- z.key === ue.arrowUp && b.current > 0 && (z.preventDefault(), ut(-1)), z.key === ue.arrowDown && b.current + 1 < r.length && (z.preventDefault(), ut(1));
1359
+ }, wt = (H) => {
1360
+ H.key === ue.arrowUp && b.current > 0 && (H.preventDefault(), ut(-1)), H.key === ue.arrowDown && b.current + 1 < r.length && (H.preventDefault(), ut(1));
1361
1361
  };
1362
1362
  v.useEffect(() => {
1363
1363
  if (F)
1364
1364
  return document.addEventListener("keydown", wt), () => document.removeEventListener("keydown", wt);
1365
1365
  b.current = -1;
1366
1366
  }, [F, wt]);
1367
- const aa = (z, oe) => {
1368
- b.current = z, oe == null || oe(), !S && !i && (N(!1), s == null || s());
1369
- }, Mt = (z, oe) => z.groupHeader ? /* @__PURE__ */ t(
1367
+ const aa = (H, ie) => {
1368
+ b.current = H, ie == null || ie(), !N && !i && ($(!1), s == null || s());
1369
+ }, Pt = (H, ie) => H.groupHeader ? /* @__PURE__ */ t(
1370
1370
  "li",
1371
1371
  {
1372
1372
  role: "none",
1373
1373
  className: Ct[`${$t}__list__group-header`],
1374
- children: z.element
1374
+ children: H.element
1375
1375
  },
1376
- z.key
1376
+ H.key
1377
1377
  ) : /* @__PURE__ */ t("li", { role: "none", children: /* @__PURE__ */ h(
1378
1378
  "button",
1379
1379
  {
1380
- "data-testid": z.key,
1380
+ "data-testid": H.key,
1381
1381
  tabIndex: -1,
1382
- disabled: z.disabled,
1383
- onClick: () => aa(oe, z.onClick),
1382
+ disabled: H.disabled,
1383
+ onClick: () => aa(ie, H.onClick),
1384
1384
  role: "menuitem",
1385
1385
  className: u(Ct[`${$t}__list__item`], {
1386
- [Ct[`${$t}__list__item--disabled`]]: z.disabled,
1387
- [Ct[`${$t}__list__item--with-divider`]]: z.withDivider,
1388
- [Ct[`${$t}__list__item--selected`]]: m == null ? void 0 : m.includes(z.key)
1386
+ [Ct[`${$t}__list__item--disabled`]]: H.disabled,
1387
+ [Ct[`${$t}__list__item--with-divider`]]: H.withDivider,
1388
+ [Ct[`${$t}__list__item--selected`]]: m == null ? void 0 : m.includes(H.key)
1389
1389
  }),
1390
1390
  children: [
1391
- z.element,
1392
- (m == null ? void 0 : m.includes(z.key)) && /* @__PURE__ */ t(
1391
+ H.element,
1392
+ (m == null ? void 0 : m.includes(H.key)) && /* @__PURE__ */ t(
1393
1393
  "div",
1394
1394
  {
1395
- "data-testid": `${z.key}-selected-icon`,
1395
+ "data-testid": `${H.key}-selected-icon`,
1396
1396
  className: Ct[`${$t}__list__item__icon`],
1397
1397
  children: /* @__PURE__ */ t(R, { source: Na, kind: "action-primary" })
1398
1398
  }
1399
1399
  )
1400
1400
  ]
1401
1401
  },
1402
- z.key
1403
- ) }, z.key), Pt = /* @__PURE__ */ h(Z, { children: [
1402
+ H.key
1403
+ ) }, H.key), Mt = /* @__PURE__ */ h(Z, { children: [
1404
1404
  /* @__PURE__ */ t(
1405
1405
  "div",
1406
- B(y({
1406
+ I(y({
1407
1407
  "aria-label": "Toggle menu",
1408
1408
  "data-testid": "action-menu-trigger-button",
1409
1409
  ref: L.setReference
@@ -1412,21 +1412,21 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1412
1412
  children: _
1413
1413
  })
1414
1414
  ),
1415
- /* @__PURE__ */ t(Sa, { id: I, children: F && /* @__PURE__ */ h(
1415
+ /* @__PURE__ */ t(Sa, { id: B, children: F && /* @__PURE__ */ h(
1416
1416
  "div",
1417
- B(y({
1417
+ I(y({
1418
1418
  ref: L.setFloating,
1419
1419
  className: Ct[$t],
1420
1420
  style: y(y({
1421
- position: P,
1421
+ position: M,
1422
1422
  top: G != null ? G : "",
1423
1423
  left: O != null ? O : ""
1424
- }, !!C && { maxHeight: C }), K)
1424
+ }, !!S && { maxHeight: S }), K)
1425
1425
  }, fe()), {
1426
1426
  children: [
1427
1427
  r.length > 0 && /* @__PURE__ */ t(
1428
1428
  "ul",
1429
- B(y({}, g), {
1429
+ I(y({}, g), {
1430
1430
  className: u(
1431
1431
  Ct[`${$t}__list`],
1432
1432
  {
@@ -1436,7 +1436,7 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1436
1436
  ),
1437
1437
  role: "menu",
1438
1438
  ref: T,
1439
- children: r.map(Mt)
1439
+ children: r.map(Pt)
1440
1440
  })
1441
1441
  ),
1442
1442
  f && /* @__PURE__ */ t(
@@ -1452,7 +1452,7 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1452
1452
  })
1453
1453
  ) })
1454
1454
  ] });
1455
- return k === null ? /* @__PURE__ */ t(Hr, { children: Pt }) : Pt;
1455
+ return k === null ? /* @__PURE__ */ t(zr, { children: Mt }) : Mt;
1456
1456
  }, Ti = "lc-Loader-module__loader___Ukoov", Bi = "lc-Loader-module__loader__spinner___cp5N7", Ii = "lc-Loader-module__rotate___p-j1x", Ai = "lc-Loader-module__loader__label___CF5-C", Ba = {
1457
1457
  loader: Ti,
1458
1458
  loader__spinner: Bi,
@@ -1462,7 +1462,7 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1462
1462
  "loader__spinner-circle": "lc-Loader-module__loader__spinner-circle___LyuTm",
1463
1463
  rotate: Ii,
1464
1464
  loader__label: Ai
1465
- }, Po = "loader", J_ = `${Po}__spinner`, O_ = (i) => {
1465
+ }, Mo = "loader", J_ = `${Mo}__spinner`, O_ = (i) => {
1466
1466
  var n = i, {
1467
1467
  primaryColor: e,
1468
1468
  secondaryColor: a,
@@ -1476,7 +1476,7 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1476
1476
  "className",
1477
1477
  "size"
1478
1478
  ]);
1479
- return /* @__PURE__ */ h("div", B(y({ className: u(Ba[Po], _) }, l), { children: [
1479
+ return /* @__PURE__ */ h("div", I(y({ className: u(Ba[Mo], _) }, l), { children: [
1480
1480
  /* @__PURE__ */ t(
1481
1481
  "div",
1482
1482
  {
@@ -1512,11 +1512,11 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1512
1512
  a(), r == null || r(e);
1513
1513
  }, Oi = (e, a, r) => {
1514
1514
  a(), r == null || r(e);
1515
- }, Mi = (e, a) => {
1515
+ }, Pi = (e, a) => {
1516
1516
  const r = e == null ? void 0 : e.offsetWidth;
1517
1517
  r && a(r);
1518
- }, Pi = "lc-Button-module__btn___daEdK", Fi = "lc-Button-module__btn__loader___L9GCi", Ri = "lc-Button-module__btn__icon___-CG5y", Gi = "lc-Button-module__btn__content___rMx0W", $e = {
1519
- btn: Pi,
1518
+ }, Mi = "lc-Button-module__btn___daEdK", Fi = "lc-Button-module__btn__loader___L9GCi", Ri = "lc-Button-module__btn__icon___-CG5y", Gi = "lc-Button-module__btn__content___rMx0W", $e = {
1519
+ btn: Mi,
1520
1520
  "btn--disabled": "lc-Button-module__btn--disabled___ATZwt",
1521
1521
  "btn--full-width": "lc-Button-module__btn--full-width___ViUNm",
1522
1522
  "btn--xcompact": "lc-Button-module__btn--xcompact___0AZjf",
@@ -1551,9 +1551,9 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1551
1551
  "btn--animated-label": "lc-Button-module__btn--animated-label___8uZTa",
1552
1552
  btn__content: Gi,
1553
1553
  "btn--animated-label--expanded": "lc-Button-module__btn--animated-label--expanded___dTfmD"
1554
- }, Ne = "btn", H = v.forwardRef(
1554
+ }, Ne = "btn", z = v.forwardRef(
1555
1555
  (x, w) => {
1556
- var S = x, {
1556
+ var N = x, {
1557
1557
  loading: e = !1,
1558
1558
  disabled: a = !1,
1559
1559
  type: r = "button",
@@ -1568,7 +1568,7 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1568
1568
  href: p,
1569
1569
  onClick: m,
1570
1570
  animatedLabel: f
1571
- } = S, g = U(S, [
1571
+ } = N, g = U(N, [
1572
1572
  "loading",
1573
1573
  "disabled",
1574
1574
  "type",
@@ -1584,7 +1584,7 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1584
1584
  "onClick",
1585
1585
  "animatedLabel"
1586
1586
  ]);
1587
- const [E, N] = v.useState(0), [C, $] = v.useState(!1), b = e || a, k = !c && i, I = f && c && i, T = ["text", "link", "link-light"].includes(o), F = p ? "a" : "button", A = u(
1587
+ const [E, $] = v.useState(0), [S, C] = v.useState(!1), b = e || a, k = !c && i, B = f && c && i, T = ["text", "link", "link-light"].includes(o), F = p ? "a" : "button", A = u(
1588
1588
  $e[Ne],
1589
1589
  $e[`${Ne}--${o}`],
1590
1590
  $e[`${Ne}--${l}`],
@@ -1595,38 +1595,38 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1595
1595
  [$e[`${Ne}--icon-only`]]: k,
1596
1596
  [$e[`${Ne}--icon-only--bg`]]: k && T,
1597
1597
  [$e[`${Ne}--disabled`]]: b,
1598
- [$e[`${Ne}--animated-label`]]: I,
1599
- [$e[`${Ne}--animated-label--expanded`]]: I && C
1598
+ [$e[`${Ne}--animated-label`]]: B,
1599
+ [$e[`${Ne}--animated-label--expanded`]]: B && S
1600
1600
  },
1601
1601
  s
1602
1602
  );
1603
1603
  return /* @__PURE__ */ h(
1604
1604
  F,
1605
- B(y(y(y({
1605
+ I(y(y(y({
1606
1606
  ref: w,
1607
1607
  className: A,
1608
1608
  "aria-disabled": b,
1609
1609
  type: r,
1610
1610
  disabled: b
1611
- }, !b && { href: p, onClick: m }), g), I && {
1611
+ }, !b && { href: p, onClick: m }), g), B && {
1612
1612
  onMouseEnter: (O) => Q_(
1613
1613
  O,
1614
- () => $(!0),
1614
+ () => C(!0),
1615
1615
  g == null ? void 0 : g.onMouseEnter
1616
1616
  ),
1617
1617
  onMouseLeave: (O) => Q_(
1618
1618
  O,
1619
- () => $(!1),
1619
+ () => C(!1),
1620
1620
  g == null ? void 0 : g.onMouseLeave
1621
1621
  ),
1622
1622
  onBlur: (O) => Oi(
1623
1623
  O,
1624
- () => $(!1),
1624
+ () => C(!1),
1625
1625
  g == null ? void 0 : g.onBlur
1626
1626
  ),
1627
1627
  onKeyUp: (O) => {
1628
1628
  var G;
1629
- (O.key === "Enter" || O.key === " ") && $(!0), O.key === "Escape" && $(!1), (G = g == null ? void 0 : g.onKeyUp) == null || G.call(g, O);
1629
+ (O.key === "Enter" || O.key === " ") && C(!0), O.key === "Escape" && C(!1), (G = g == null ? void 0 : g.onKeyUp) == null || G.call(g, O);
1630
1630
  }
1631
1631
  }), {
1632
1632
  children: [
@@ -1656,8 +1656,8 @@ const _u = (e) => e === "dark" ? Qt.Dark : Qt.Light, Do = yo(void 0), ou = () =>
1656
1656
  "div",
1657
1657
  {
1658
1658
  className: $e[`${Ne}__content`],
1659
- style: I ? { maxWidth: C ? E : 0 } : void 0,
1660
- children: I ? /* @__PURE__ */ t("span", { ref: (O) => Mi(O, N), children: c }) : c
1659
+ style: B ? { maxWidth: S ? E : 0 } : void 0,
1660
+ children: B ? /* @__PURE__ */ t("span", { ref: (O) => Pi(O, $), children: c }) : c
1661
1661
  }
1662
1662
  )
1663
1663
  ]
@@ -1728,11 +1728,11 @@ const Li = (e) => {
1728
1728
  fill: "var(--tooltip-background-basic)"
1729
1729
  };
1730
1730
  }
1731
- }, qi = "lc-Tooltip-module__tooltip___LjRUX", zi = "lc-Tooltip-module__tooltip__content___cxaIe", Hi = "lc-Tooltip-module__tooltip__arrow___vLFFP", Vi = "lc-Tooltip-module__tooltip__interactive___WTll9", X = {
1731
+ }, qi = "lc-Tooltip-module__tooltip___LjRUX", Hi = "lc-Tooltip-module__tooltip__content___cxaIe", zi = "lc-Tooltip-module__tooltip__arrow___vLFFP", Vi = "lc-Tooltip-module__tooltip__interactive___WTll9", X = {
1732
1732
  tooltip: qi,
1733
- tooltip__content: zi,
1733
+ tooltip__content: Hi,
1734
1734
  "tooltip--invert": "lc-Tooltip-module__tooltip--invert___J4i3t",
1735
- tooltip__arrow: Hi,
1735
+ tooltip__arrow: zi,
1736
1736
  "tooltip--important": "lc-Tooltip-module__tooltip--important___7KDXC",
1737
1737
  tooltip__interactive: Vi,
1738
1738
  "tooltip__user-guide-step": "lc-Tooltip-module__tooltip__user-guide-step___zwAvq",
@@ -1775,40 +1775,40 @@ const Li = (e) => {
1775
1775
  hoverOffDuration: g,
1776
1776
  transitionDelay: w = 0,
1777
1777
  hoverOnDelay: x,
1778
- hoverOffDelay: S,
1778
+ hoverOffDelay: N,
1779
1779
  triggerOnClick: E = !1,
1780
- triggerOnHover: N = !0,
1781
- offsetMainAxis: C = 8,
1782
- offsetCrossAxis: $ = 0,
1780
+ triggerOnHover: $ = !0,
1781
+ offsetMainAxis: S = 8,
1782
+ offsetCrossAxis: C = 0,
1783
1783
  referenceElement: b,
1784
1784
  activationThreshold: k = 0,
1785
- useDismissHookProps: I,
1785
+ useDismissHookProps: B,
1786
1786
  useClickHookProps: T,
1787
1787
  hoverOutDelayTimeout: F = 100,
1788
1788
  arrowOffsetY: A,
1789
1789
  arrowOffsetX: O,
1790
1790
  closeOnTriggerBlur: G = !1,
1791
- floatingStrategy: P,
1791
+ floatingStrategy: M,
1792
1792
  portal: L,
1793
- portalProps: M,
1793
+ portalProps: P,
1794
1794
  hideWhenReferenceHidden: q = !1
1795
1795
  }) => {
1796
- const Y = n !== void 0, [te, Ce] = v.useState(!1), fe = v.useRef(null), K = Y ? n : te, j = l || o, ut = Lr(), wt = lr(), aa = u(
1796
+ const Y = n !== void 0, [re, Ce] = v.useState(!1), fe = v.useRef(null), K = Y ? n : re, j = l || o, ut = Lr(), wt = lr(), aa = u(
1797
1797
  X[fr],
1798
1798
  a,
1799
1799
  j && X[`${fr}--${j}`],
1800
1800
  d && X[`${fr}--full-space`]
1801
- ), Mt = typeof _ == "function", Pt = (be) => {
1801
+ ), Pt = typeof _ == "function", Mt = (be) => {
1802
1802
  be !== K && (be ? c == null || c() : s == null || s(), !Y && Ce(be));
1803
- }, z = (be) => p ? be != null ? be : m : 0, oe = (be) => be != null ? be : w, {
1803
+ }, H = (be) => p ? be != null ? be : m : 0, ie = (be) => be != null ? be : w, {
1804
1804
  floatingStyles: me,
1805
1805
  refs: De,
1806
- context: le,
1807
- middlewareData: { arrow: { x: da, y: pe } = {}, hide: He }
1806
+ context: ne,
1807
+ middlewareData: { arrow: { x: da, y: pe } = {}, hide: ze }
1808
1808
  } = ir({
1809
1809
  nodeId: wt,
1810
1810
  middleware: [
1811
- nr({ mainAxis: C, crossAxis: $ }),
1811
+ nr({ mainAxis: S, crossAxis: C }),
1812
1812
  B_(),
1813
1813
  qr(),
1814
1814
  Ul({ element: fe, padding: 8 }),
@@ -1816,26 +1816,26 @@ const Li = (e) => {
1816
1816
  ],
1817
1817
  placement: i,
1818
1818
  open: K,
1819
- strategy: P,
1820
- onOpenChange: Pt,
1819
+ strategy: M,
1820
+ onOpenChange: Mt,
1821
1821
  whileElementsMounted: cr
1822
- }), Ft = ql(le, {
1822
+ }), Ft = ql(ne, {
1823
1823
  move: !1,
1824
1824
  restMs: k,
1825
1825
  delay: {
1826
- open: oe(x),
1827
- close: oe(S || F)
1826
+ open: ie(x),
1827
+ close: ie(N || F)
1828
1828
  },
1829
- enabled: N,
1830
- handleClose: G ? null : zl()
1831
- }), ua = Hl(le), ma = dr(le, I), Kr = ur(le, { role: "tooltip" }), Yr = sr(le, y({
1829
+ enabled: $,
1830
+ handleClose: G ? null : Hl()
1831
+ }), ua = zl(ne), ma = dr(ne, B), Kr = ur(ne, { role: "tooltip" }), Yr = sr(ne, y({
1832
1832
  enabled: E
1833
- }, T)), { isMounted: Xr, styles: Zr } = zr(le, {
1833
+ }, T)), { isMounted: Xr, styles: Zr } = Hr(ne, {
1834
1834
  duration: {
1835
- open: z(f),
1836
- close: z(g)
1835
+ open: H(f),
1836
+ close: H(g)
1837
1837
  }
1838
- }), { status: jr } = Vl(le), { getReferenceProps: Jr, getFloatingProps: Qr } = mr([
1838
+ }), { status: jr } = Vl(ne), { getReferenceProps: Jr, getFloatingProps: Qr } = mr([
1839
1839
  Ft,
1840
1840
  ua,
1841
1841
  ma,
@@ -1847,10 +1847,10 @@ const Li = (e) => {
1847
1847
  }, [De.setReference, b]);
1848
1848
  const pa = /* @__PURE__ */ t(Sa, { id: wt, children: Xr && /* @__PURE__ */ h(
1849
1849
  "div",
1850
- B(y({
1850
+ I(y({
1851
1851
  ref: De.setFloating,
1852
- style: B(y(y({}, me), Zr), {
1853
- visibility: He != null && He.referenceHidden ? "hidden" : "visible"
1852
+ style: I(y(y({}, me), Zr), {
1853
+ visibility: ze != null && ze.referenceHidden ? "hidden" : "visible"
1854
1854
  }),
1855
1855
  className: aa
1856
1856
  }, Qr()), {
@@ -1861,7 +1861,7 @@ const Li = (e) => {
1861
1861
  Wl,
1862
1862
  y({
1863
1863
  ref: fe,
1864
- context: le,
1864
+ context: ne,
1865
1865
  strokeWidth: 1,
1866
1866
  width: 10,
1867
1867
  height: 5,
@@ -1875,16 +1875,16 @@ const Li = (e) => {
1875
1875
  )
1876
1876
  ]
1877
1877
  })
1878
- ) }), e_ = () => ut === null ? /* @__PURE__ */ t(Hr, { children: L ? /* @__PURE__ */ t($a, B(y({}, M), { children: pa })) : pa }) : L ? /* @__PURE__ */ t($a, B(y({}, M), { children: pa })) : pa;
1878
+ ) }), e_ = () => ut === null ? /* @__PURE__ */ t(zr, { children: L ? /* @__PURE__ */ t($a, I(y({}, P), { children: pa })) : pa }) : L ? /* @__PURE__ */ t($a, I(y({}, P), { children: pa })) : pa;
1879
1879
  return /* @__PURE__ */ h(Z, { children: [
1880
1880
  /* @__PURE__ */ t(
1881
1881
  "div",
1882
- B(y({
1882
+ I(y({
1883
1883
  "data-testid": "tooltip-trigger",
1884
1884
  ref: De.setReference
1885
1885
  }, Jr()), {
1886
1886
  className: r,
1887
- children: Mt ? _() : _
1887
+ children: Pt ? _() : _
1888
1888
  })
1889
1889
  ),
1890
1890
  e_()
@@ -1946,8 +1946,8 @@ const Li = (e) => {
1946
1946
  return m;
1947
1947
  const g = m, w = f ? g.kind || s(l) : g.kind || c(l);
1948
1948
  return /* @__PURE__ */ t(
1949
- H,
1950
- B(y({}, g), {
1949
+ z,
1950
+ I(y({}, g), {
1951
1951
  kind: w,
1952
1952
  onClick: g.handleClick,
1953
1953
  children: g.label
@@ -2019,7 +2019,7 @@ const Li = (e) => {
2019
2019
  )
2020
2020
  ] }),
2021
2021
  /* @__PURE__ */ t("div", { className: X[`${Oa}__content`], children: /* @__PURE__ */ t(D, { as: "div", children: r }) })
2022
- ] }), _e = {
2022
+ ] }), le = {
2023
2023
  "action-bar": "lc-ActionBar-module__action-bar___yfLdO",
2024
2024
  "action-bar__items": "lc-ActionBar-module__action-bar__items___E8fX6",
2025
2025
  "action-bar__items--scroll": "lc-ActionBar-module__action-bar__items--scroll___izP27",
@@ -2050,20 +2050,20 @@ const Li = (e) => {
2050
2050
  isActive: a,
2051
2051
  vertical: r
2052
2052
  }) => {
2053
- const _ = u(_e[ga], {
2054
- [_e[`${ga}--active`]]: a,
2055
- [_e[`${ga}--vertical`]]: r
2053
+ const _ = u(le[ga], {
2054
+ [le[`${ga}--active`]]: a,
2055
+ [le[`${ga}--vertical`]]: r
2056
2056
  }), o = /* @__PURE__ */ t(
2057
- H,
2057
+ z,
2058
2058
  {
2059
2059
  id: e.key,
2060
2060
  title: e != null && e.showTooltip ? void 0 : e.label,
2061
2061
  kind: "plain",
2062
2062
  onClick: e.onClick,
2063
2063
  icon: e.element,
2064
- className: u(_e[`${ga}__button`], {
2065
- [_e[`${ga}__button--with-vertical-divider`]]: r && e.withDivider,
2066
- [_e[`${ga}__button--with-divider`]]: !r && e.withDivider
2064
+ className: u(le[`${ga}__button`], {
2065
+ [le[`${ga}__button--with-vertical-divider`]]: r && e.withDivider,
2066
+ [le[`${ga}__button--with-divider`]]: !r && e.withDivider
2067
2067
  })
2068
2068
  },
2069
2069
  e.key
@@ -2078,7 +2078,7 @@ const Li = (e) => {
2078
2078
  {
2079
2079
  kind: "invert",
2080
2080
  placement: r ? "left" : "bottom",
2081
- triggerClassName: _e[`${Ro}__tooltip`],
2081
+ triggerClassName: le[`${Ro}__tooltip`],
2082
2082
  triggerRenderer: () => o,
2083
2083
  floatingStrategy: "fixed",
2084
2084
  useClickHookProps: {
@@ -2104,45 +2104,45 @@ const Li = (e) => {
2104
2104
  const [n, d] = v.useState(
2105
2105
  _.length
2106
2106
  ), [s, c] = v.useState([]), [p, m] = v.useState(!1), f = r === "scroll", g = u(
2107
- _e[br],
2107
+ le[br],
2108
2108
  e,
2109
- l && _e[`${br}--vertical`]
2109
+ l && le[`${br}--vertical`]
2110
2110
  ), w = !f && s.length !== 0;
2111
2111
  v.useEffect(() => {
2112
2112
  f || (_.length > n ? c(_.slice(n, _.length)) : c([]));
2113
2113
  }, [_, n]), v.useEffect(() => {
2114
2114
  const E = !!window.ResizeObserver;
2115
2115
  if (!f && E) {
2116
- const N = new ResizeObserver((C) => {
2117
- const { width: $, height: b } = C[0].contentRect, k = l ? b : $, I = s.length > 0 ? 60 : 0, T = Math.floor(
2118
- (k - I) / Yi
2116
+ const $ = new ResizeObserver((S) => {
2117
+ const { width: C, height: b } = S[0].contentRect, k = l ? b : C, B = s.length > 0 ? 60 : 0, T = Math.floor(
2118
+ (k - B) / Yi
2119
2119
  );
2120
2120
  T >= 0 && T !== n && d(T);
2121
2121
  });
2122
- return N.observe(document.querySelector(`#${a}`)), () => N.disconnect();
2122
+ return $.observe(document.querySelector(`#${a}`)), () => $.disconnect();
2123
2123
  }
2124
2124
  }, [s, f, n]);
2125
2125
  const x = v.useCallback(() => s.reduce(
2126
- (E, N) => {
2127
- if (!N.hideInMenu) {
2128
- const C = {
2129
- key: N.key,
2130
- element: /* @__PURE__ */ t(rr, { leftNode: N.element, children: N.label }),
2131
- withDivider: N.withDivider,
2132
- onClick: N.onClick
2126
+ (E, $) => {
2127
+ if (!$.hideInMenu) {
2128
+ const S = {
2129
+ key: $.key,
2130
+ element: /* @__PURE__ */ t(rr, { leftNode: $.element, children: $.label }),
2131
+ withDivider: $.withDivider,
2132
+ onClick: $.onClick
2133
2133
  };
2134
- E.push(C);
2134
+ E.push(S);
2135
2135
  }
2136
2136
  return E;
2137
2137
  },
2138
2138
  []
2139
- ), [s]), S = s.find((E) => E.key === o);
2139
+ ), [s]), N = s.find((E) => E.key === o);
2140
2140
  return /* @__PURE__ */ h("div", { id: a, className: g, children: [
2141
2141
  /* @__PURE__ */ t(
2142
2142
  "div",
2143
2143
  {
2144
- className: u(_e[`${br}__items`], {
2145
- [_e[`${br}__items--scroll`]]: f
2144
+ className: u(le[`${br}__items`], {
2145
+ [le[`${br}__items--scroll`]]: f
2146
2146
  }),
2147
2147
  children: _.slice(0, n).map((E) => /* @__PURE__ */ t(
2148
2148
  Ki,
@@ -2158,9 +2158,9 @@ const Li = (e) => {
2158
2158
  "div",
2159
2159
  {
2160
2160
  className: u(
2161
- _e[Rt],
2162
- S && _e[`${Rt}--active`],
2163
- l && _e[`${Rt}--vertical`]
2161
+ le[Rt],
2162
+ N && le[`${Rt}--active`],
2163
+ l && le[`${Rt}--vertical`]
2164
2164
  ),
2165
2165
  children: /* @__PURE__ */ t(
2166
2166
  D_,
@@ -2172,15 +2172,15 @@ const Li = (e) => {
2172
2172
  placement: l ? "left-start" : "bottom-end",
2173
2173
  options: x(),
2174
2174
  triggerClassName: u(
2175
- l && _e[`${Rt}__trigger-vertical`]
2175
+ l && le[`${Rt}__trigger-vertical`]
2176
2176
  ),
2177
2177
  triggerRenderer: /* @__PURE__ */ t(
2178
- H,
2178
+ z,
2179
2179
  {
2180
2180
  id: `${a}-menu-button`,
2181
2181
  className: u(
2182
- _e[`${Rt}__button`],
2183
- S && _e[`${Rt}__button--active`]
2182
+ le[`${Rt}__button`],
2183
+ N && le[`${Rt}__button--active`]
2184
2184
  ),
2185
2185
  kind: "plain",
2186
2186
  icon: /* @__PURE__ */ t(
@@ -2189,19 +2189,19 @@ const Li = (e) => {
2189
2189
  source: ta,
2190
2190
  kind: "primary",
2191
2191
  className: u(
2192
- _e[`${Rt}__button__icon`],
2193
- p && _e[`${Rt}__button__icon--open`]
2192
+ le[`${Rt}__button__icon`],
2193
+ p && le[`${Rt}__button__icon--open`]
2194
2194
  )
2195
2195
  }
2196
2196
  ),
2197
2197
  iconPosition: "right",
2198
- children: S && /* @__PURE__ */ t(
2198
+ children: N && /* @__PURE__ */ t(
2199
2199
  "div",
2200
2200
  {
2201
2201
  className: u(
2202
- _e[`${Rt}__button__with-item`]
2202
+ le[`${Rt}__button__with-item`]
2203
2203
  ),
2204
- children: S.element
2204
+ children: N.element
2205
2205
  }
2206
2206
  )
2207
2207
  }
@@ -2321,7 +2321,7 @@ const Li = (e) => {
2321
2321
  "alert--error": "lc-Alert-module__alert--error___EK-vJ"
2322
2322
  }, on = {
2323
2323
  info: {
2324
- source: Mr,
2324
+ source: Pr,
2325
2325
  kind: "link"
2326
2326
  },
2327
2327
  warning: {
@@ -2365,12 +2365,12 @@ const Li = (e) => {
2365
2365
  f();
2366
2366
  }, 500);
2367
2367
  return window.addEventListener("resize", g), f(), () => window.removeEventListener("resize", g);
2368
- }), /* @__PURE__ */ h("div", B(y({ ref: s, className: m }, i), { children: [
2368
+ }), /* @__PURE__ */ h("div", I(y({ ref: s, className: m }, i), { children: [
2369
2369
  /* @__PURE__ */ h("div", { className: Je[`${Qe}__content`], children: [
2370
2370
  /* @__PURE__ */ h("div", { className: Je[`${Qe}__content__wrapper`], children: [
2371
2371
  /* @__PURE__ */ t(
2372
2372
  R,
2373
- B(y({}, on[o]), {
2373
+ I(y({}, on[o]), {
2374
2374
  size: "large",
2375
2375
  className: Je[`${Qe}__icon`]
2376
2376
  })
@@ -2386,8 +2386,8 @@ const Li = (e) => {
2386
2386
  ] }),
2387
2387
  (r || _) && /* @__PURE__ */ h("div", { className: Je[`${Qe}__content__wrapper__cta`], children: [
2388
2388
  r && /* @__PURE__ */ t(
2389
- H,
2390
- B(y({
2389
+ z,
2390
+ I(y({
2391
2391
  kind: "high-contrast",
2392
2392
  onClick: r.handleClick
2393
2393
  }, r), {
@@ -2395,8 +2395,8 @@ const Li = (e) => {
2395
2395
  })
2396
2396
  ),
2397
2397
  _ && /* @__PURE__ */ t(
2398
- H,
2399
- B(y({
2398
+ z,
2399
+ I(y({
2400
2400
  className: u(
2401
2401
  Je[`${Qe}__content__wrapper__cta__link`],
2402
2402
  _.className
@@ -2410,7 +2410,7 @@ const Li = (e) => {
2410
2410
  ] })
2411
2411
  ] }),
2412
2412
  l && /* @__PURE__ */ t(
2413
- H,
2413
+ z,
2414
2414
  {
2415
2415
  "aria-label": "Close alert",
2416
2416
  className: Je[`${Qe}__close-icon`],
@@ -2452,12 +2452,12 @@ const Li = (e) => {
2452
2452
  } = A_(), g = v.useRef(null), { isOpen: w, isMounted: x } = sa({
2453
2453
  isVisible: p,
2454
2454
  elementRef: g
2455
- }), { isMobile: S, handleResizeRef: E } = ni({
2455
+ }), { isMobile: N, handleResizeRef: E } = ni({
2456
2456
  mobileBreakpoint: ln
2457
2457
  });
2458
2458
  return v.useEffect(() => {
2459
- m(S);
2460
- }, [S]), /* @__PURE__ */ h("div", { className: c, ref: E, children: [
2459
+ m(N);
2460
+ }, [N]), /* @__PURE__ */ h("div", { className: c, ref: E, children: [
2461
2461
  !f && _,
2462
2462
  /* @__PURE__ */ h(
2463
2463
  "div",
@@ -2614,14 +2614,14 @@ const sn = "side-navigation-item-test-id", dn = "side-navigation-active-item-tes
2614
2614
  "onItemHover",
2615
2615
  "isIconHidden"
2616
2616
  ]);
2617
- const g = typeof _ == "string", w = (S) => {
2618
- S.preventDefault(), i == null || i();
2619
- }, x = (S) => {
2620
- S.key === "Enter" && (S.preventDefault(), i == null || i());
2617
+ const g = typeof _ == "string", w = (N) => {
2618
+ N.preventDefault(), i == null || i();
2619
+ }, x = (N) => {
2620
+ N.key === "Enter" && (N.preventDefault(), i == null || i());
2621
2621
  };
2622
2622
  return /* @__PURE__ */ t(
2623
2623
  "li",
2624
- B(y({
2624
+ I(y({
2625
2625
  className: u([tt[at], o]),
2626
2626
  "data-testid": n ? dn : sn,
2627
2627
  "data-active": n
@@ -2705,29 +2705,29 @@ const sn = "side-navigation-item-test-id", dn = "side-navigation-active-item-tes
2705
2705
  listWrapperRef: w,
2706
2706
  shouldOpenOnInit: x = !1
2707
2707
  }) => {
2708
- const [S, E] = v.useState(!1), [N, C] = v.useState(0), $ = v.useRef(!1), b = v.useRef(null), k = w != null ? w : b, { isOpen: I, isMounted: T, setShouldBeVisible: F } = sa({
2708
+ const [N, E] = v.useState(!1), [$, S] = v.useState(0), C = v.useRef(!1), b = v.useRef(null), k = w != null ? w : b, { isOpen: B, isMounted: T, setShouldBeVisible: F } = sa({
2709
2709
  isVisible: !n || x,
2710
2710
  elementRef: k
2711
- }), A = c != null ? c : I, O = p != null ? p : T, G = m != null ? m : F, P = typeof a == "function" ? a(A) : a, L = typeof e == "function" ? e(A) : e, M = () => G(!0), q = () => {
2712
- n && G((te) => !te);
2711
+ }), A = c != null ? c : B, O = p != null ? p : T, G = m != null ? m : F, M = typeof a == "function" ? a(A) : a, L = typeof e == "function" ? e(A) : e, P = () => G(!0), q = () => {
2712
+ n && G((re) => !re);
2713
2713
  }, Y = () => g ? g({ toggle: q }) : q();
2714
2714
  return v.useEffect(() => {
2715
2715
  if (!i || !n)
2716
2716
  return;
2717
- const te = v.Children.toArray(
2717
+ const re = v.Children.toArray(
2718
2718
  i
2719
- ), Ce = !!(te != null && te.some(
2719
+ ), Ce = !!(re != null && re.some(
2720
2720
  (K) => {
2721
2721
  var j;
2722
2722
  return (j = K.props) == null ? void 0 : j.isActive;
2723
2723
  }
2724
2724
  ));
2725
2725
  E(Ce);
2726
- const fe = ((te == null ? void 0 : te.length) || 0) * gn;
2727
- C(fe);
2726
+ const fe = ((re == null ? void 0 : re.length) || 0) * gn;
2727
+ S(fe);
2728
2728
  }, [i]), v.useEffect(() => {
2729
- !$.current && S && M(), $.current = S;
2730
- }, [S, $.current, x]), /* @__PURE__ */ h("div", { "data-testid": "side-navigation-group", className: St[xt], children: [
2729
+ !C.current && N && P(), C.current = N;
2730
+ }, [N, C.current, x]), /* @__PURE__ */ h("div", { "data-testid": "side-navigation-group", className: St[xt], children: [
2731
2731
  n || d ? /* @__PURE__ */ t(
2732
2732
  mn,
2733
2733
  {
@@ -2752,7 +2752,7 @@ const sn = "side-navigation-item-test-id", dn = "side-navigation-active-item-tes
2752
2752
  isMainEntry: !0,
2753
2753
  onClick: Y,
2754
2754
  onItemHover: f,
2755
- rightNode: P,
2755
+ rightNode: M,
2756
2756
  className: o,
2757
2757
  "data-testid": d ? pn : void 0
2758
2758
  }
@@ -2773,7 +2773,7 @@ const sn = "side-navigation-item-test-id", dn = "side-navigation-active-item-tes
2773
2773
  children: L
2774
2774
  }
2775
2775
  ),
2776
- P && /* @__PURE__ */ t("span", { className: St[`${xt}__right-node`], children: P })
2776
+ M && /* @__PURE__ */ t("span", { className: St[`${xt}__right-node`], children: M })
2777
2777
  ]
2778
2778
  }
2779
2779
  ),
@@ -2788,7 +2788,7 @@ const sn = "side-navigation-item-test-id", dn = "side-navigation-active-item-tes
2788
2788
  },
2789
2789
  l
2790
2790
  ]),
2791
- style: n ? { maxHeight: A ? N : 0 } : void 0,
2791
+ style: n ? { maxHeight: A ? $ : 0 } : void 0,
2792
2792
  children: O && /* @__PURE__ */ t("ul", { className: u(St[`${xt}__list`], r), children: i })
2793
2793
  }
2794
2794
  )
@@ -2808,7 +2808,7 @@ const sn = "side-navigation-item-test-id", dn = "side-navigation-active-item-tes
2808
2808
  ]);
2809
2809
  return /* @__PURE__ */ t(
2810
2810
  "ul",
2811
- B(y({
2811
+ I(y({
2812
2812
  className: u(
2813
2813
  eo[to],
2814
2814
  {
@@ -2833,7 +2833,7 @@ const fn = "lc-Badge-module__badge___ZbEBU", bn = "lc-Badge-module__badge__dot__
2833
2833
  "badge--primary": "lc-Badge-module__badge--primary___wOrp-",
2834
2834
  "badge--secondary": "lc-Badge-module__badge--secondary___mAh3w",
2835
2835
  "badge--tertiary": "lc-Badge-module__badge--tertiary___rFqKw"
2836
- }, yr = "badge", Pr = (n) => {
2836
+ }, yr = "badge", Mr = (n) => {
2837
2837
  var d = n, {
2838
2838
  className: e,
2839
2839
  count: a = 0,
@@ -2859,7 +2859,7 @@ const fn = "lc-Badge-module__badge___ZbEBU", bn = "lc-Badge-module__badge__dot__
2859
2859
  alert: "!",
2860
2860
  dot: /* @__PURE__ */ t("span", { "data-testid": "badge-dot", className: vr[`${yr}__dot`] })
2861
2861
  }[l];
2862
- return /* @__PURE__ */ t("span", B(y({ className: s }, i), { children: c }));
2862
+ return /* @__PURE__ */ t("span", I(y({ className: s }, i), { children: c }));
2863
2863
  }, Wt = {
2864
2864
  "navigation-item": "lc-NavigationItem-module__navigation-item___KVL3Y",
2865
2865
  "navigation-item--disabled": "lc-NavigationItem-module__navigation-item--disabled___VY8pA",
@@ -2870,7 +2870,7 @@ const fn = "lc-Badge-module__badge___ZbEBU", bn = "lc-Badge-module__badge__dot__
2870
2870
  "navigation-item__button--opacity": "lc-NavigationItem-module__navigation-item__button--opacity___buZjS",
2871
2871
  "navigation-item__button--mobile": "lc-NavigationItem-module__navigation-item__button--mobile___GqQwP"
2872
2872
  }, Kt = "navigation-item", vn = (e, a) => typeof e == "number" ? /* @__PURE__ */ t(
2873
- Pr,
2873
+ Mr,
2874
2874
  {
2875
2875
  "data-testid": `${a}-badge-count`,
2876
2876
  className: Wt[`${Kt}__badge`],
@@ -2878,7 +2878,7 @@ const fn = "lc-Badge-module__badge___ZbEBU", bn = "lc-Badge-module__badge__dot__
2878
2878
  count: e
2879
2879
  }
2880
2880
  ) : /* @__PURE__ */ t(
2881
- Pr,
2881
+ Mr,
2882
2882
  {
2883
2883
  "data-testid": `${a}-badge`,
2884
2884
  className: Wt[`${Kt}__badge`],
@@ -2938,7 +2938,7 @@ const fn = "lc-Badge-module__badge___ZbEBU", bn = "lc-Badge-module__badge__dot__
2938
2938
  triggerRenderer: /* @__PURE__ */ h(Z, { children: [
2939
2939
  /* @__PURE__ */ h(
2940
2940
  "a",
2941
- B(y({
2941
+ I(y({
2942
2942
  tabIndex: l ? -1 : 0,
2943
2943
  "aria-label": a,
2944
2944
  className: u(
@@ -2978,7 +2978,7 @@ const fn = "lc-Badge-module__badge___ZbEBU", bn = "lc-Badge-module__badge__dot__
2978
2978
  "children",
2979
2979
  "className"
2980
2980
  ]);
2981
- return /* @__PURE__ */ t("nav", B(y({ className: u(kn[wn], a) }, r), { children: e }));
2981
+ return /* @__PURE__ */ t("nav", I(y({ className: u(kn[wn], a) }, r), { children: e }));
2982
2982
  }, yt = {
2983
2983
  "navigation-top-bar": "lc-NavigationTopBar-module__navigation-top-bar___WJzyv",
2984
2984
  "navigation-top-bar__title": "lc-NavigationTopBar-module__navigation-top-bar__title___ROYDp",
@@ -3031,15 +3031,15 @@ const fn = "lc-Badge-module__badge___ZbEBU", bn = "lc-Badge-module__badge__dot__
3031
3031
  elementRef: c,
3032
3032
  includeSleepWakeScenario: !0
3033
3033
  }), f = v.useCallback(
3034
- (C) => ar(
3035
- C,
3036
- ($) => s($.width < nn)
3034
+ (S) => ar(
3035
+ S,
3036
+ (C) => s(C.width < nn)
3037
3037
  ),
3038
3038
  []
3039
- ), g = a === "warning" ? "link-inverted" : "text", w = a === "warning" ? "secondary" : "high-contrast", x = o == null ? void 0 : o.kind, S = l == null ? void 0 : l.kind, E = o || l ? /* @__PURE__ */ h("div", { className: yt[`${Zt}__cta-wrapper`], children: [
3039
+ ), g = a === "warning" ? "link-inverted" : "text", w = a === "warning" ? "secondary" : "high-contrast", x = o == null ? void 0 : o.kind, N = l == null ? void 0 : l.kind, E = o || l ? /* @__PURE__ */ h("div", { className: yt[`${Zt}__cta-wrapper`], children: [
3040
3040
  o && /* @__PURE__ */ t(
3041
- H,
3042
- B(y({
3041
+ z,
3042
+ I(y({
3043
3043
  size: "compact"
3044
3044
  }, o), {
3045
3045
  kind: d ? g : x || w,
@@ -3047,22 +3047,22 @@ const fn = "lc-Badge-module__badge___ZbEBU", bn = "lc-Badge-module__badge__dot__
3047
3047
  })
3048
3048
  ),
3049
3049
  l && /* @__PURE__ */ t(
3050
- H,
3051
- B(y({
3050
+ z,
3051
+ I(y({
3052
3052
  size: "compact"
3053
3053
  }, l), {
3054
- kind: d ? g : S || w,
3054
+ kind: d ? g : N || w,
3055
3055
  children: l.label
3056
3056
  })
3057
3057
  )
3058
- ] }) : null, N = /* @__PURE__ */ h(Z, { children: [
3058
+ ] }) : null, $ = /* @__PURE__ */ h(Z, { children: [
3059
3059
  /* @__PURE__ */ h("div", { className: yt[`${Zt}__children-wrapper`], children: [
3060
3060
  _,
3061
3061
  E
3062
3062
  ] }),
3063
3063
  r && /* @__PURE__ */ t(
3064
3064
  "button",
3065
- B(y({
3065
+ I(y({
3066
3066
  className: yt[`${Zt}__close-button`]
3067
3067
  }, r), {
3068
3068
  children: /* @__PURE__ */ t(R, { source: dt })
@@ -3095,7 +3095,7 @@ const fn = "lc-Badge-module__badge___ZbEBU", bn = "lc-Badge-module__badge__dot__
3095
3095
  },
3096
3096
  e
3097
3097
  ),
3098
- children: N
3098
+ children: $
3099
3099
  }
3100
3100
  )
3101
3101
  }
@@ -3127,7 +3127,7 @@ const kr = {
3127
3127
  ]);
3128
3128
  return /* @__PURE__ */ t("li", { className: u(kr[wr], o), children: /* @__PURE__ */ h(
3129
3129
  "a",
3130
- B(y({
3130
+ I(y({
3131
3131
  id: e,
3132
3132
  tabIndex: 0,
3133
3133
  href: r,
@@ -3150,7 +3150,7 @@ const kr = {
3150
3150
  "children",
3151
3151
  "className"
3152
3152
  ]);
3153
- return /* @__PURE__ */ t("nav", B(y({ className: u(Nn[Sn], a) }, r), { children: e }));
3153
+ return /* @__PURE__ */ t("nav", I(y({ className: u(Nn[Sn], a) }, r), { children: e }));
3154
3154
  }, Lo = yo({
3155
3155
  readOnly: !1,
3156
3156
  isEmpty: !1,
@@ -3235,7 +3235,7 @@ const kr = {
3235
3235
  var O;
3236
3236
  const m = v.useRef(null), { readOnly: f } = Ot(), g = f || d.readOnly;
3237
3237
  v.useImperativeHandle(s, () => m.current, []);
3238
- const [w, x] = v.useState(!1), [S, E] = v.useState(!1), { type: N, onFocus: C, onBlur: $ } = d, b = u(
3238
+ const [w, x] = v.useState(!1), [N, E] = v.useState(!1), { type: $, onFocus: S, onBlur: C } = d, b = u(
3239
3239
  o,
3240
3240
  {
3241
3241
  [ct[`${st}--disabled`]]: a,
@@ -3244,7 +3244,7 @@ const kr = {
3244
3244
  [ct[`${st}--crop`]]: i
3245
3245
  },
3246
3246
  _
3247
- ), k = a ? "var(--content-basic-disabled)" : "var(--content-basic-primary)", I = S ? ul : ml, T = r && r.place === "left", F = r && N !== "password" && r.place === "right", A = () => {
3247
+ ), k = a ? "var(--content-basic-disabled)" : "var(--content-basic-primary)", B = N ? ul : ml, T = r && r.place === "left", F = r && $ !== "password" && r.place === "right", A = () => {
3248
3248
  var G;
3249
3249
  (G = m.current) == null || G.focus();
3250
3250
  };
@@ -3267,26 +3267,26 @@ const kr = {
3267
3267
  T && ao(r, a),
3268
3268
  /* @__PURE__ */ t(
3269
3269
  "input",
3270
- B(y({}, d), {
3270
+ I(y({}, d), {
3271
3271
  ref: m,
3272
3272
  onFocus: (G) => {
3273
- x(!0), C == null || C(G);
3273
+ x(!0), S == null || S(G);
3274
3274
  },
3275
3275
  onBlur: (G) => {
3276
- x(!1), $ == null || $(G);
3276
+ x(!1), C == null || C(G);
3277
3277
  },
3278
3278
  disabled: a,
3279
- type: N && !S ? N : "text"
3279
+ type: $ && !N ? $ : "text"
3280
3280
  })
3281
3281
  ),
3282
3282
  F && ao(r, a),
3283
- N === "password" && /* @__PURE__ */ t(
3284
- H,
3283
+ $ === "password" && /* @__PURE__ */ t(
3284
+ z,
3285
3285
  {
3286
3286
  disabled: a,
3287
3287
  kind: "text",
3288
3288
  size: "compact",
3289
- icon: /* @__PURE__ */ t(R, { customColor: k, source: I }),
3289
+ icon: /* @__PURE__ */ t(R, { customColor: k, source: B }),
3290
3290
  onClick: () => E((G) => !G),
3291
3291
  className: ct[`${st}__visibility-button`]
3292
3292
  }
@@ -3302,14 +3302,14 @@ const kr = {
3302
3302
  ct[st],
3303
3303
  ct[`${st}--${e}`]
3304
3304
  );
3305
- return /* @__PURE__ */ t(qo, B(y({ mainClassName: l }, a), { ref: r }));
3305
+ return /* @__PURE__ */ t(qo, I(y({ mainClassName: l }, a), { ref: r }));
3306
3306
  }
3307
3307
  ), Bn = `${st}--promo`, Su = v.forwardRef(
3308
3308
  (e, a) => {
3309
3309
  const r = u(ct[st], ct[Bn]);
3310
3310
  return /* @__PURE__ */ t(
3311
3311
  qo,
3312
- B(y({
3312
+ I(y({
3313
3313
  mainClassName: r,
3314
3314
  isPromo: !0
3315
3315
  }, e), {
@@ -3317,7 +3317,7 @@ const kr = {
3317
3317
  })
3318
3318
  );
3319
3319
  }
3320
- ), In = 2, zo = 200, Ho = 400;
3320
+ ), In = 2, Ho = 200, zo = 400;
3321
3321
  [
3322
3322
  ...[...Array(100)].map((e, a) => ({
3323
3323
  key: `option${a + 8}`,
@@ -3342,7 +3342,7 @@ function On(e) {
3342
3342
  const a = e.split("").reduce((r, _) => r + _.charCodeAt(0), 0);
3343
3343
  return `var(${_o[a % _o.length]})`;
3344
3344
  }
3345
- function Mn(e = "", a = 2) {
3345
+ function Pn(e = "", a = 2) {
3346
3346
  const r = e.trim().split(/\s+/), _ = r.map((l) => [...l][0]);
3347
3347
  if (a < 1) return "";
3348
3348
  if (r.length <= a)
@@ -3352,7 +3352,7 @@ function Mn(e = "", a = 2) {
3352
3352
  o.push(_[l]);
3353
3353
  return o.join("").toUpperCase();
3354
3354
  }
3355
- function Pn(e) {
3355
+ function Mn(e) {
3356
3356
  let a = e;
3357
3357
  if (e.startsWith("var(--") && e.endsWith(")")) {
3358
3358
  const r = e.slice(4, -1);
@@ -3408,7 +3408,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3408
3408
  "avatar--xlarge": "lc-Avatar-module__avatar--xlarge___hjIy5",
3409
3409
  "avatar--xxlarge": "lc-Avatar-module__avatar--xxlarge___AjkHw",
3410
3410
  "avatar--xxxlarge": "lc-Avatar-module__avatar--xxxlarge___4Hhp9"
3411
- }, Se = "avatar", M_ = (m) => {
3411
+ }, Se = "avatar", P_ = (m) => {
3412
3412
  var f = m, {
3413
3413
  alt: e,
3414
3414
  className: a,
@@ -3434,7 +3434,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3434
3434
  "withRim",
3435
3435
  "style"
3436
3436
  ]);
3437
- const g = d === "image" && !l, [w, x] = v.useState(g), S = d === "image" && !!l && !w, E = d === "text", N = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, C = Mn(n, N), $ = ["xxxsmall", "xxsmall", "xsmall", "small"].includes(o), b = r || On(n), k = b ? Pn(b) : void 0, I = E ? { backgroundColor: b } : {}, T = u(y({
3437
+ const g = d === "image" && !l, [w, x] = v.useState(g), N = d === "image" && !!l && !w, E = d === "text", $ = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, S = Pn(n, $), C = ["xxxsmall", "xxsmall", "xsmall", "small"].includes(o), b = r || On(n), k = b ? Mn(b) : void 0, B = E ? { backgroundColor: b } : {}, T = u(y({
3438
3438
  [Ve[Se]]: !0,
3439
3439
  [Ve[`${Se}--${_}`]]: !0,
3440
3440
  [Ve[`${Se}--${o}`]]: !0,
@@ -3450,14 +3450,14 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3450
3450
  ), O = u(
3451
3451
  Ve[`${Se}__rim`],
3452
3452
  Ve[`${Se}__rim--${o}`]
3453
- ), G = (L) => $ ? "2xs" : ["medium"].includes(L) ? "xs" : ["large", "xlarge"].includes(L) ? "sm" : ["xxlarge"].includes(L) ? "lg" : "xl", P = v.useCallback(() => x(!0), []);
3453
+ ), G = (L) => C ? "2xs" : ["medium"].includes(L) ? "xs" : ["large", "xlarge"].includes(L) ? "sm" : ["xxlarge"].includes(L) ? "lg" : "xl", M = v.useCallback(() => x(!0), []);
3454
3454
  return v.useEffect(() => {
3455
3455
  x(g);
3456
3456
  }, [g]), /* @__PURE__ */ h(
3457
3457
  "div",
3458
- B(y({
3458
+ I(y({
3459
3459
  className: T,
3460
- style: y(y({}, I), c)
3460
+ style: y(y({}, B), c)
3461
3461
  }, p), {
3462
3462
  children: [
3463
3463
  s && /* @__PURE__ */ t(
@@ -3474,13 +3474,13 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3474
3474
  className: F
3475
3475
  }
3476
3476
  ),
3477
- S && /* @__PURE__ */ t(
3477
+ N && /* @__PURE__ */ t(
3478
3478
  "img",
3479
3479
  {
3480
3480
  className: Ve[`${Se}__image`],
3481
3481
  src: l,
3482
3482
  alt: e,
3483
- onError: P
3483
+ onError: M
3484
3484
  }
3485
3485
  ),
3486
3486
  E && /* @__PURE__ */ t(
@@ -3489,9 +3489,9 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3489
3489
  as: "span",
3490
3490
  size: G(o),
3491
3491
  style: { color: k },
3492
- bold: $,
3493
- uppercase: $,
3494
- children: C
3492
+ bold: C,
3493
+ uppercase: C,
3494
+ children: S
3495
3495
  }
3496
3496
  ),
3497
3497
  w && /* @__PURE__ */ t(
@@ -3510,10 +3510,10 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3510
3510
  }, qn = "field-description", Vr = (_) => {
3511
3511
  var o = _, { children: e, className: a = "" } = o, r = U(o, ["children", "className"]);
3512
3512
  const l = u(Ln[qn], a);
3513
- return /* @__PURE__ */ t(D, B(y({ as: "span", size: "sm" }, r), { className: l, children: e }));
3514
- }, zn = "lc-Checkbox-module__checkbox___D0D4S", Hn = "lc-Checkbox-module__checkbox__label___I472A", Vn = "lc-Checkbox-module__checkbox__text___Ex7K1", Wn = "lc-Checkbox-module__checkbox__input___3krUF", Kn = "lc-Checkbox-module__checkbox__checkmark___eZIG1", Yn = "lc-Checkbox-module__checkbox__helper___hwxAV", Xn = "lc-Checkbox-module__checkbox__square___yjtrH", Lt = {
3515
- checkbox: zn,
3516
- checkbox__label: Hn,
3513
+ return /* @__PURE__ */ t(D, I(y({ as: "span", size: "sm" }, r), { className: l, children: e }));
3514
+ }, Hn = "lc-Checkbox-module__checkbox___D0D4S", zn = "lc-Checkbox-module__checkbox__label___I472A", Vn = "lc-Checkbox-module__checkbox__text___Ex7K1", Wn = "lc-Checkbox-module__checkbox__input___3krUF", Kn = "lc-Checkbox-module__checkbox__checkmark___eZIG1", Yn = "lc-Checkbox-module__checkbox__helper___hwxAV", Xn = "lc-Checkbox-module__checkbox__square___yjtrH", Lt = {
3515
+ checkbox: Hn,
3516
+ checkbox__label: zn,
3517
3517
  checkbox__text: Vn,
3518
3518
  checkbox__input: Wn,
3519
3519
  checkbox__checkmark: Kn,
@@ -3553,7 +3553,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3553
3553
  /* @__PURE__ */ h("label", { className: Lt[`${qt}__label`], children: [
3554
3554
  /* @__PURE__ */ t(
3555
3555
  "input",
3556
- B(y({}, i), {
3556
+ I(y({}, i), {
3557
3557
  ref: (m) => {
3558
3558
  m && (m.indeterminate = a, typeof n == "function" ? n(m) : n && (n.current = m));
3559
3559
  },
@@ -3620,7 +3620,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3620
3620
  }
3621
3621
  ),
3622
3622
  (c.avatar || c.avatarSrc) && /* @__PURE__ */ t(
3623
- M_,
3623
+ P_,
3624
3624
  {
3625
3625
  className: Oe[`${pt}__avatar`],
3626
3626
  src: ((f = c.avatar) == null ? void 0 : f.src) || c.avatarSrc,
@@ -3649,7 +3649,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3649
3649
  if (i.groupHeader)
3650
3650
  return /* @__PURE__ */ t(
3651
3651
  "div",
3652
- B(y({
3652
+ I(y({
3653
3653
  id: `item-${e}`,
3654
3654
  role: "group",
3655
3655
  className: Oe[`${pt}__header`]
@@ -3663,7 +3663,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3663
3663
  };
3664
3664
  return /* @__PURE__ */ t(
3665
3665
  "div",
3666
- B(y({
3666
+ I(y({
3667
3667
  id: i.key,
3668
3668
  tabIndex: a ? 0 : -1,
3669
3669
  ref: (c) => {
@@ -3704,7 +3704,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3704
3704
  }),
3705
3705
  i.key
3706
3706
  );
3707
- }, jn = "lc-PickerList-module__listbox___GgFk0", Ma = {
3707
+ }, jn = "lc-PickerList-module__listbox___GgFk0", Pa = {
3708
3708
  listbox: jn,
3709
3709
  "no-results": "lc-PickerList-module__no-results___JSeou",
3710
3710
  "listbox-wrapper": "lc-PickerList-module__listbox-wrapper___1mIgW",
@@ -3727,13 +3727,13 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3727
3727
  getItemProps: g,
3728
3728
  emptyStateText: w = "No results found",
3729
3729
  hideWhenEmpty: x = !1,
3730
- pickerType: S = "single",
3730
+ pickerType: N = "single",
3731
3731
  listClassName: E,
3732
- virtuosoProps: N
3732
+ virtuosoProps: $
3733
3733
  }) => {
3734
- const [C, $] = v.useState(0), b = Xt(null), k = o.length, I = v.useCallback(
3734
+ const [S, C] = v.useState(0), b = Xt(null), k = o.length, B = v.useCallback(
3735
3735
  (A) => {
3736
- A !== C && (A < _ ? $(A + (k - 1) * In) : $(_));
3736
+ A !== S && (A < _ ? C(A + (k - 1) * In) : C(_));
3737
3737
  },
3738
3738
  [k]
3739
3739
  );
@@ -3746,15 +3746,15 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3746
3746
  return x ? null : /* @__PURE__ */ t(C_, { context: e, modal: !1, initialFocus: -1, children: /* @__PURE__ */ t(
3747
3747
  "div",
3748
3748
  {
3749
- className: u(Ma.listbox, Ma["no-results"]),
3749
+ className: u(Pa.listbox, Pa["no-results"]),
3750
3750
  ref: a,
3751
3751
  tabIndex: -1,
3752
3752
  style: r,
3753
- children: /* @__PURE__ */ t("div", { className: Ma["no-results-text"], children: w })
3753
+ children: /* @__PURE__ */ t("div", { className: Pa["no-results-text"], children: w })
3754
3754
  }
3755
3755
  ) });
3756
3756
  const T = (A) => i.includes(A) || A === Ca && i.length === x_(o).length, F = () => {
3757
- S === "multi" && c(i[i.length - 1]);
3757
+ N === "multi" && c(i[i.length - 1]);
3758
3758
  };
3759
3759
  return /* @__PURE__ */ t(C_, { context: e, modal: !1, initialFocus: -1, children: /* @__PURE__ */ t(
3760
3760
  "div",
@@ -3762,17 +3762,17 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3762
3762
  "data-testid": "picker-list",
3763
3763
  ref: a,
3764
3764
  tabIndex: -1,
3765
- className: u(Ma.listbox, E),
3766
- style: B(y({}, r), {
3765
+ className: u(Pa.listbox, E),
3766
+ style: I(y({}, r), {
3767
3767
  maxHeight: _
3768
3768
  }),
3769
3769
  children: /* @__PURE__ */ t(
3770
3770
  "div",
3771
- B(y({
3771
+ I(y({
3772
3772
  ref: b,
3773
3773
  tabIndex: 0,
3774
- "aria-multiselectable": S === "multi",
3775
- className: Ma["listbox-wrapper"]
3774
+ "aria-multiselectable": N === "multi",
3775
+ className: Pa["listbox-wrapper"]
3776
3776
  }, f({
3777
3777
  onKeyDown(A) {
3778
3778
  p(!1), A.key === "Enter" && l !== null && m(o[l].key), (A.key === "Backspace" || A.key === "Delete") && F(), A.key === " " && A.preventDefault();
@@ -3786,13 +3786,13 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3786
3786
  })), {
3787
3787
  children: /* @__PURE__ */ t(
3788
3788
  Jl,
3789
- B(y({
3790
- totalListHeightChanged: I,
3791
- style: { height: `${C}px`, maxHeight: _ },
3789
+ I(y({
3790
+ totalListHeightChanged: B,
3791
+ style: { height: `${S}px`, maxHeight: _ },
3792
3792
  totalCount: o.length,
3793
3793
  data: o,
3794
3794
  increaseViewportBy: 200
3795
- }, N), {
3795
+ }, $), {
3796
3796
  itemContent: (A, O) => /* @__PURE__ */ t(
3797
3797
  Zn,
3798
3798
  {
@@ -3812,7 +3812,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3812
3812
  )
3813
3813
  }
3814
3814
  ) });
3815
- }, Me = {
3815
+ }, Pe = {
3816
3816
  "picker-trigger": "lc-PickerTrigger-module__picker-trigger___nSDgb",
3817
3817
  "picker-trigger--multi-select": "lc-PickerTrigger-module__picker-trigger--multi-select___XCt1K",
3818
3818
  "picker-trigger--multi-select--with-items": "lc-PickerTrigger-module__picker-trigger--multi-select--with-items___0VU14",
@@ -3848,23 +3848,23 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3848
3848
  onToggle: g
3849
3849
  }) => {
3850
3850
  const w = u(
3851
- Me[xe],
3852
- Me[`${xe}--${_}`],
3853
- o && Me[`${xe}--multi-select`],
3854
- o && l && Me[`${xe}--multi-select--with-items`],
3855
- n && Me[`${xe}--disabled`],
3856
- s && Me[`${xe}--focused`],
3857
- c && Me[`${xe}--error`]
3858
- ), x = !i && l && !n && !d, S = (N) => {
3859
- N.stopPropagation(), p();
3860
- }, E = (N) => {
3861
- !n && !(s && N.target.tagName === "BUTTON") && g();
3851
+ Pe[xe],
3852
+ Pe[`${xe}--${_}`],
3853
+ o && Pe[`${xe}--multi-select`],
3854
+ o && l && Pe[`${xe}--multi-select--with-items`],
3855
+ n && Pe[`${xe}--disabled`],
3856
+ s && Pe[`${xe}--focused`],
3857
+ c && Pe[`${xe}--error`]
3858
+ ), x = !i && l && !n && !d, N = ($) => {
3859
+ $.stopPropagation(), p();
3860
+ }, E = ($) => {
3861
+ !n && !(s && $.target.tagName === "BUTTON") && g();
3862
3862
  };
3863
3863
  return v.useEffect(() => {
3864
3864
  s || f(!1);
3865
3865
  }, [s]), /* @__PURE__ */ h(
3866
3866
  "button",
3867
- B(y({
3867
+ I(y({
3868
3868
  tabIndex: n ? -1 : 0,
3869
3869
  "aria-disabled": n,
3870
3870
  disabled: n,
@@ -3882,9 +3882,9 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3882
3882
  {
3883
3883
  as: "div",
3884
3884
  className: u(
3885
- Me[`${xe}__content`],
3886
- Me[`${xe}__content--${_}`],
3887
- o && l && Me[`${xe}__content--with-items`]
3885
+ Pe[`${xe}__content`],
3886
+ Pe[`${xe}__content--${_}`],
3887
+ o && l && Pe[`${xe}__content--with-items`]
3888
3888
  ),
3889
3889
  children: m
3890
3890
  }
@@ -3893,16 +3893,16 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3893
3893
  "div",
3894
3894
  {
3895
3895
  className: u(
3896
- Me[`${xe}__controls`],
3897
- Me[`${xe}__controls--${_}`]
3896
+ Pe[`${xe}__controls`],
3897
+ Pe[`${xe}__controls--${_}`]
3898
3898
  ),
3899
3899
  children: [
3900
3900
  x && /* @__PURE__ */ t(
3901
3901
  "div",
3902
3902
  {
3903
3903
  "data-testid": `${xe}__clear-icon`,
3904
- className: Me[`${xe}__clear-icon`],
3905
- onClick: S,
3904
+ className: Pe[`${xe}__clear-icon`],
3905
+ onClick: N,
3906
3906
  children: /* @__PURE__ */ t(R, { kind: "primary", size: "small", source: dt })
3907
3907
  }
3908
3908
  ),
@@ -3910,7 +3910,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3910
3910
  R,
3911
3911
  {
3912
3912
  "data-testid": `${xe}__chevron-icon`,
3913
- className: Me[`${xe}__chevron-icon`],
3913
+ className: Pe[`${xe}__chevron-icon`],
3914
3914
  source: s ? or : ta,
3915
3915
  size: "medium",
3916
3916
  disabled: n
@@ -3986,7 +3986,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3986
3986
  "iconOnly",
3987
3987
  "value"
3988
3988
  ]);
3989
- const x = r || i && p, S = u(
3989
+ const x = r || i && p, N = u(
3990
3990
  We[Ke],
3991
3991
  e,
3992
3992
  We[`${Ke}--${o}`],
@@ -3997,23 +3997,23 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
3997
3997
  [We[`${Ke}--icon-only`]]: p,
3998
3998
  [We[`${Ke}--dismissible-on-hover`]]: x
3999
3999
  }
4000
- ), E = o === "small" ? "small" : "medium", N = o === "small" ? "sm" : "md", C = () => c ? n ? {
4000
+ ), E = o === "small" ? "small" : "medium", $ = o === "small" ? "sm" : "md", S = () => c ? n ? {
4001
4001
  style: {
4002
4002
  backgroundColor: "transparent",
4003
4003
  color: c,
4004
4004
  borderColor: c
4005
4005
  }
4006
- } : { style: { backgroundColor: c } } : {}, $ = () => {
4006
+ } : { style: { backgroundColor: c } } : {}, C = () => {
4007
4007
  if (c)
4008
4008
  return n ? c : I_(c, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
4009
4009
  };
4010
4010
  return /* @__PURE__ */ h(
4011
4011
  D,
4012
- B(y(y({
4013
- className: S
4014
- }, f), C()), {
4012
+ I(y(y({
4013
+ className: N
4014
+ }, f), S()), {
4015
4015
  as: "div",
4016
- size: N,
4016
+ size: $,
4017
4017
  children: [
4018
4018
  /* @__PURE__ */ h("div", { className: We[`${Ke}__content-wrapper`], children: [
4019
4019
  d && !p && /* @__PURE__ */ t(
@@ -4021,7 +4021,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4021
4021
  {
4022
4022
  "data-testid": "lc-tag-left-node",
4023
4023
  className: We[`${Ke}__node`],
4024
- style: { color: $() },
4024
+ style: { color: C() },
4025
4025
  children: d
4026
4026
  }
4027
4027
  ),
@@ -4031,7 +4031,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4031
4031
  {
4032
4032
  "data-testid": "lc-tag-right-node",
4033
4033
  className: We[`${Ke}__node`],
4034
- style: { color: $() },
4034
+ style: { color: C() },
4035
4035
  children: s
4036
4036
  }
4037
4037
  )
@@ -4053,7 +4053,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4053
4053
  "data-dismiss-icon": !0,
4054
4054
  source: dt,
4055
4055
  size: E,
4056
- customColor: $()
4056
+ customColor: C()
4057
4057
  }
4058
4058
  )
4059
4059
  }
@@ -4061,7 +4061,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4061
4061
  ]
4062
4062
  })
4063
4063
  );
4064
- }, Pe = {
4064
+ }, Me = {
4065
4065
  "picker-trigger-body": "lc-PickerTriggerBody-module__picker-trigger-body___598fZ",
4066
4066
  "picker-trigger-body--single": "lc-PickerTriggerBody-module__picker-trigger-body--single___irxmq",
4067
4067
  "picker-trigger-body__item-container": "lc-PickerTriggerBody-module__picker-trigger-body__item-container___AnGk3",
@@ -4098,7 +4098,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4098
4098
  inputRef: w,
4099
4099
  inputProps: x
4100
4100
  }) => {
4101
- const S = e && !a;
4101
+ const N = e && !a;
4102
4102
  v.useEffect(() => {
4103
4103
  i && w != null && w.current && w.current.focus();
4104
4104
  }, [o, i]);
@@ -4106,14 +4106,14 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4106
4106
  k.key === "Backspace" && o && o.length > 0 && (k.preventDefault(), l === "multi" ? d(o[o.length - 1].key) : p()), k.key === "Delete" && (k.preventDefault(), p());
4107
4107
  };
4108
4108
  v.useEffect(() => (!e && g ? document.addEventListener("keydown", E) : document.removeEventListener("keydown", E), () => document.removeEventListener("keydown", E)), [e, o, g]);
4109
- const N = (k) => {
4110
- var I;
4111
- return l === "single" && e && !a ? null : (I = k == null ? void 0 : k.customElement) != null && I.selectedItemBody ? /* @__PURE__ */ t("div", { className: Pe[`${Fe}__item`], children: k.customElement.selectedItemBody }) : /* @__PURE__ */ h("div", { className: Pe[`${Fe}__item`], children: [
4109
+ const $ = (k) => {
4110
+ var B;
4111
+ return l === "single" && e && !a ? null : (B = k == null ? void 0 : k.customElement) != null && B.selectedItemBody ? /* @__PURE__ */ t("div", { className: Me[`${Fe}__item`], children: k.customElement.selectedItemBody }) : /* @__PURE__ */ h("div", { className: Me[`${Fe}__item`], children: [
4112
4112
  k.icon && /* @__PURE__ */ t(
4113
4113
  R,
4114
4114
  {
4115
4115
  source: k.icon,
4116
- className: Pe[`${Fe}__item__icon`]
4116
+ className: Me[`${Fe}__item__icon`]
4117
4117
  }
4118
4118
  ),
4119
4119
  k.avatarSrc && /* @__PURE__ */ t(
@@ -4121,62 +4121,62 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4121
4121
  {
4122
4122
  src: k.avatarSrc,
4123
4123
  alt: "",
4124
- className: Pe[`${Fe}__item__avatar`]
4124
+ className: Me[`${Fe}__item__avatar`]
4125
4125
  }
4126
4126
  ),
4127
- /* @__PURE__ */ t("div", { className: Pe[`${Fe}__item__content`], children: k.name })
4127
+ /* @__PURE__ */ t("div", { className: Me[`${Fe}__item__content`], children: k.name })
4128
4128
  ] });
4129
- }, C = (k) => c(k.target.value), $ = (k) => {
4130
- var I, T;
4131
- (I = f.current) != null && I.id && k.key === "Enter" && s((T = f.current) == null ? void 0 : T.id), l === "multi" && (k.key === "Backspace" || k.key === "Delete") && !m && o && (o == null ? void 0 : o.length) > 0 && d(o[o.length - 1].key);
4129
+ }, S = (k) => c(k.target.value), C = (k) => {
4130
+ var B, T;
4131
+ (B = f.current) != null && B.id && k.key === "Enter" && s((T = f.current) == null ? void 0 : T.id), l === "multi" && (k.key === "Backspace" || k.key === "Delete") && !m && o && (o == null ? void 0 : o.length) > 0 && d(o[o.length - 1].key);
4132
4132
  }, b = () => /* @__PURE__ */ t(
4133
4133
  "input",
4134
- B(y({}, x), {
4134
+ I(y({}, x), {
4135
4135
  ref: w,
4136
4136
  className: u(
4137
- Pe[`${Fe}__input`],
4138
- Pe[`${Fe}__input--${n}`]
4137
+ Me[`${Fe}__input`],
4138
+ Me[`${Fe}__input--${n}`]
4139
4139
  ),
4140
4140
  placeholder: _,
4141
- onChange: C,
4142
- onKeyDown: $,
4141
+ onChange: S,
4142
+ onKeyDown: C,
4143
4143
  autoFocus: !0,
4144
4144
  value: m
4145
4145
  })
4146
4146
  );
4147
- return !o || o.length === 0 ? S ? b() : /* @__PURE__ */ t(
4147
+ return !o || o.length === 0 ? N ? b() : /* @__PURE__ */ t(
4148
4148
  "div",
4149
4149
  {
4150
4150
  className: u({
4151
- [Pe[`${Fe}__placeholder`]]: !0,
4152
- [Pe[`${Fe}__placeholder--disabled`]]: r
4151
+ [Me[`${Fe}__placeholder`]]: !0,
4152
+ [Me[`${Fe}__placeholder--disabled`]]: r
4153
4153
  }),
4154
4154
  children: _
4155
4155
  }
4156
4156
  ) : /* @__PURE__ */ h(
4157
4157
  "div",
4158
4158
  {
4159
- className: u(Pe[Fe], {
4160
- [Pe[`${Fe}--single`]]: l === "single"
4159
+ className: u(Me[Fe], {
4160
+ [Me[`${Fe}--single`]]: l === "single"
4161
4161
  }),
4162
4162
  children: [
4163
- /* @__PURE__ */ t("div", { className: Pe[`${Fe}__item-container`], children: l === "single" ? N(o[0]) : o.map((k) => /* @__PURE__ */ t(
4163
+ /* @__PURE__ */ t("div", { className: Me[`${Fe}__item-container`], children: l === "single" ? $(o[0]) : o.map((k) => /* @__PURE__ */ t(
4164
4164
  Wo,
4165
- B(y({
4165
+ I(y({
4166
4166
  className: u(
4167
- Pe[`${Fe}__tag`],
4168
- Pe[`${Fe}__tag--${n}`]
4167
+ Me[`${Fe}__tag`],
4168
+ Me[`${Fe}__tag--${n}`]
4169
4169
  ),
4170
4170
  disabled: r,
4171
- onRemove: (I) => {
4172
- I.stopPropagation(), d(k.key);
4171
+ onRemove: (B) => {
4172
+ B.stopPropagation(), d(k.key);
4173
4173
  }
4174
4174
  }, k.selectedTagOptions), {
4175
- children: N(k)
4175
+ children: $(k)
4176
4176
  }),
4177
4177
  k.key
4178
4178
  )) }),
4179
- S && b()
4179
+ N && b()
4180
4180
  ]
4181
4181
  }
4182
4182
  );
@@ -4193,11 +4193,11 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4193
4193
  onVisibilityChange: s,
4194
4194
  searchPhrase: c
4195
4195
  }) => {
4196
- const p = lr(), [m, f] = v.useState(!1), [g, w] = v.useState(null), [x, S] = v.useState(o), E = v.useRef([]), N = v.useRef(null);
4196
+ const p = lr(), [m, f] = v.useState(!1), [g, w] = v.useState(null), [x, N] = v.useState(o), E = v.useRef([]), $ = v.useRef(null);
4197
4197
  v.useEffect(() => {
4198
- N.current = null, w(null);
4198
+ $.current = null, w(null);
4199
4199
  }, [c]);
4200
- const { refs: C, floatingStyles: $, context: b, isPositioned: k } = ir({
4200
+ const { refs: S, floatingStyles: C, context: b, isPositioned: k } = ir({
4201
4201
  nodeId: p,
4202
4202
  open: d,
4203
4203
  strategy: l,
@@ -4209,22 +4209,22 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4209
4209
  qr({ padding: 10 }),
4210
4210
  B_(),
4211
4211
  xo({
4212
- apply({ availableHeight: L, rects: M, elements: q }) {
4212
+ apply({ availableHeight: L, rects: P, elements: q }) {
4213
4213
  Xl.flushSync(() => {
4214
- S(
4214
+ N(
4215
4215
  Math.max(
4216
4216
  Math.min(o, Number(L)),
4217
4217
  _
4218
4218
  )
4219
4219
  );
4220
4220
  }), Object.assign(q.floating.style, {
4221
- width: `${M.reference.width}px`
4221
+ width: `${P.reference.width}px`
4222
4222
  });
4223
4223
  },
4224
4224
  padding: oc
4225
4225
  })
4226
4226
  ]
4227
- }), I = sr(b, y({
4227
+ }), B = sr(b, y({
4228
4228
  enabled: !e,
4229
4229
  keyboardHandlers: !1,
4230
4230
  toggle: !1
@@ -4234,27 +4234,27 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4234
4234
  activeIndex: g,
4235
4235
  onNavigate: w,
4236
4236
  virtual: !0,
4237
- virtualItemRef: N,
4237
+ virtualItemRef: $,
4238
4238
  disabledIndices: An(
4239
4239
  a,
4240
4240
  (L) => !!L.disabled || !!L.groupHeader
4241
4241
  )
4242
- }), { getReferenceProps: O, getFloatingProps: G, getItemProps: P } = mr(
4243
- [I, F, T, A]
4242
+ }), { getReferenceProps: O, getFloatingProps: G, getItemProps: M } = mr(
4243
+ [B, F, T, A]
4244
4244
  );
4245
4245
  return !d && m && f(!1), {
4246
4246
  getReferenceProps: O,
4247
4247
  getFloatingProps: G,
4248
- getItemProps: P,
4249
- setReference: C.setReference,
4250
- floatingStyles: $,
4248
+ getItemProps: M,
4249
+ setReference: S.setReference,
4250
+ floatingStyles: C,
4251
4251
  isPositioned: k,
4252
4252
  context: b,
4253
4253
  nodeId: p,
4254
- setFloating: C.setFloating,
4254
+ setFloating: S.setFloating,
4255
4255
  activeIndex: g,
4256
4256
  listElementsRef: E,
4257
- virtualItemRef: N,
4257
+ virtualItemRef: $,
4258
4258
  maxHeight: x,
4259
4259
  pointer: m,
4260
4260
  setPointer: f
@@ -4271,63 +4271,63 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4271
4271
  }) => {
4272
4272
  const [d, s] = v.useState(
4273
4273
  () => (e == null ? void 0 : e.map(ro)) || []
4274
- ), c = e !== void 0, p = c ? (e == null ? void 0 : e.map(ro)) || [] : d, [m, f] = v.useState(""), g = (C) => f(C), w = (C) => {
4275
- r === "single" ? N(C) : (s(p.filter(($) => $ !== C)), o((e == null ? void 0 : e.filter(({ key: $ }) => $ !== C)) || null));
4274
+ ), c = e !== void 0, p = c ? (e == null ? void 0 : e.map(ro)) || [] : d, [m, f] = v.useState(""), g = (S) => f(S), w = (S) => {
4275
+ r === "single" ? $(S) : (s(p.filter((C) => C !== S)), o((e == null ? void 0 : e.filter(({ key: C }) => C !== S)) || null));
4276
4276
  }, x = () => {
4277
4277
  !c && s([]), o(null), f(""), l(!1);
4278
- }, S = () => {
4278
+ }, N = () => {
4279
4279
  g(""), n.current && (n.current.value = "");
4280
4280
  }, E = v.useMemo(() => {
4281
- const C = r === "multi" && _;
4282
- let $ = a;
4283
- return m && ($ = $.filter((b) => {
4281
+ const S = r === "multi" && _;
4282
+ let C = a;
4283
+ return m && (C = C.filter((b) => {
4284
4284
  var F;
4285
4285
  if (b.groupHeader)
4286
4286
  return !0;
4287
- const k = m.toLowerCase(), I = b.name.toLowerCase(), T = (F = b.secondaryText) == null ? void 0 : F.toLowerCase();
4288
- return I.includes(k) || (T == null ? void 0 : T.includes(k));
4287
+ const k = m.toLowerCase(), B = b.name.toLowerCase(), T = (F = b.secondaryText) == null ? void 0 : F.toLowerCase();
4288
+ return B.includes(k) || (T == null ? void 0 : T.includes(k));
4289
4289
  }).filter(
4290
- (b, k, I) => {
4290
+ (b, k, B) => {
4291
4291
  var T;
4292
- return !(b.groupHeader && ((T = I[k + 1]) != null && T.groupHeader || k === I.length - 1));
4292
+ return !(b.groupHeader && ((T = B[k + 1]) != null && T.groupHeader || k === B.length - 1));
4293
4293
  }
4294
- )), C && $.length > 1 && ($ = [
4294
+ )), S && C.length > 1 && (C = [
4295
4295
  {
4296
4296
  key: Ca,
4297
4297
  name: _
4298
4298
  },
4299
- ...$
4300
- ]), $;
4301
- }, [m, a, r, _]), N = (C) => {
4302
- const $ = a.find((b) => b.key === C);
4303
- (!$ || $.disabled) && C !== Ca || (r === "single" ? (s(() => ($ && o([$]), [C])), l(!1), i && S()) : C === Ca ? p.length === x_(a).length ? s(() => (o(null), [])) : s(() => {
4299
+ ...C
4300
+ ]), C;
4301
+ }, [m, a, r, _]), $ = (S) => {
4302
+ const C = a.find((b) => b.key === S);
4303
+ (!C || C.disabled) && S !== Ca || (r === "single" ? (s(() => (C && o([C]), [S])), l(!1), i && N()) : S === Ca ? p.length === x_(a).length ? s(() => (o(null), [])) : s(() => {
4304
4304
  const b = x_(a);
4305
4305
  return o(b), b.map(({ key: k }) => k);
4306
- }) : (c ? p.includes(C) ? (o(
4307
- (e == null ? void 0 : e.filter(({ key: b }) => b !== C)) || null
4308
- ), s((b) => b.filter((k) => k !== C))) : (o([...e || [], $]), s((b) => [...b, C])) : s((b) => {
4309
- const k = Dn(b, C);
4310
- return o(a.filter(({ key: I }) => k.includes(I))), k;
4311
- }), i && S()));
4306
+ }) : (c ? p.includes(S) ? (o(
4307
+ (e == null ? void 0 : e.filter(({ key: b }) => b !== S)) || null
4308
+ ), s((b) => b.filter((k) => k !== S))) : (o([...e || [], C]), s((b) => [...b, S])) : s((b) => {
4309
+ const k = Dn(b, S);
4310
+ return o(a.filter(({ key: B }) => k.includes(B))), k;
4311
+ }), i && N()));
4312
4312
  };
4313
4313
  return {
4314
4314
  selectedKeys: p,
4315
4315
  items: E,
4316
4316
  searchPhrase: m,
4317
- handleSelect: N,
4317
+ handleSelect: $,
4318
4318
  handleOnFilter: g,
4319
4319
  handleItemRemove: w,
4320
4320
  handleClear: x
4321
4321
  };
4322
4322
  }, lc = {
4323
4323
  "picker-wrapper": "lc-Picker-module__picker-wrapper___uaLHq"
4324
- }, xu = (M) => {
4325
- var q = M, {
4324
+ }, xu = (P) => {
4325
+ var q = P, {
4326
4326
  id: e,
4327
4327
  className: a,
4328
4328
  listClassName: r,
4329
- minListHeight: _ = zo,
4330
- maxListHeight: o = Ho,
4329
+ minListHeight: _ = Ho,
4330
+ maxListHeight: o = zo,
4331
4331
  disabled: l,
4332
4332
  error: i,
4333
4333
  options: n,
@@ -4340,20 +4340,20 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4340
4340
  type: g = "single",
4341
4341
  searchDisabled: w = !1,
4342
4342
  hideClearButton: x,
4343
- isVisible: S,
4343
+ isVisible: N,
4344
4344
  onOpen: E,
4345
- onClose: N,
4346
- openedOnInit: C = !1,
4347
- clearSearchAfterSelection: $ = !0,
4345
+ onClose: $,
4346
+ openedOnInit: S = !1,
4347
+ clearSearchAfterSelection: C = !0,
4348
4348
  onSelect: b,
4349
4349
  placement: k,
4350
- floatingStrategy: I,
4350
+ floatingStrategy: B,
4351
4351
  root: T,
4352
4352
  useDismissHookProps: F,
4353
4353
  useClickHookProps: A,
4354
4354
  virtuosoProps: O,
4355
4355
  inputProps: G,
4356
- noDataFallbackText: P = "No data"
4356
+ noDataFallbackText: M = "No data"
4357
4357
  } = q, L = U(q, [
4358
4358
  "id",
4359
4359
  "className",
@@ -4387,15 +4387,15 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4387
4387
  "inputProps",
4388
4388
  "noDataFallbackText"
4389
4389
  ]);
4390
- const [Y, te] = v.useState(C), [Ce, fe] = v.useState(!1), K = S !== void 0, j = K ? S : Y, ut = v.useRef(null), { readOnly: wt } = Ot(), aa = wt || (G == null ? void 0 : G.readOnly), Mt = (be, G_) => {
4391
- be ? !j && (E == null || E(G_)) : j && (N == null || N(G_)), !K && te(be);
4390
+ const [Y, re] = v.useState(S), [Ce, fe] = v.useState(!1), K = N !== void 0, j = K ? N : Y, ut = v.useRef(null), { readOnly: wt } = Ot(), aa = wt || (G == null ? void 0 : G.readOnly), Pt = (be, G_) => {
4391
+ be ? !j && (E == null || E(G_)) : j && ($ == null || $(G_)), !K && re(be);
4392
4392
  }, {
4393
- selectedKeys: Pt,
4394
- items: z,
4395
- searchPhrase: oe,
4393
+ selectedKeys: Mt,
4394
+ items: H,
4395
+ searchPhrase: ie,
4396
4396
  handleSelect: me,
4397
4397
  handleOnFilter: De,
4398
- handleItemRemove: le,
4398
+ handleItemRemove: ne,
4399
4399
  handleClear: da
4400
4400
  } = Yo({
4401
4401
  selected: d,
@@ -4403,12 +4403,12 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4403
4403
  type: g,
4404
4404
  selectAllOptionText: f,
4405
4405
  onSelect: b,
4406
- setOpen: Mt,
4407
- clearSearchAfterSelection: $,
4406
+ setOpen: Pt,
4407
+ clearSearchAfterSelection: C,
4408
4408
  inputRef: ut
4409
4409
  }), {
4410
4410
  context: pe,
4411
- nodeId: He,
4411
+ nodeId: ze,
4412
4412
  getReferenceProps: Ft,
4413
4413
  setReference: ua,
4414
4414
  getFloatingProps: ma,
@@ -4422,24 +4422,24 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4422
4422
  setPointer: pa,
4423
4423
  isPositioned: e_
4424
4424
  } = Ko({
4425
- openedOnInit: C,
4425
+ openedOnInit: S,
4426
4426
  disabled: l,
4427
- items: z,
4427
+ items: H,
4428
4428
  placement: k,
4429
4429
  minListHeight: _,
4430
4430
  maxListHeight: o,
4431
- floatingStrategy: I,
4431
+ floatingStrategy: B,
4432
4432
  useClickHookProps: A,
4433
4433
  useDismissHookProps: F,
4434
4434
  isOpen: j,
4435
- onVisibilityChange: Mt,
4436
- searchPhrase: oe
4435
+ onVisibilityChange: Pt,
4436
+ searchPhrase: ie
4437
4437
  });
4438
4438
  return aa ? /* @__PURE__ */ t(
4439
4439
  xa,
4440
4440
  {
4441
4441
  value: d == null ? void 0 : d.map((be) => be.groupHeader ? null : be.name).filter(Boolean).join(", "),
4442
- noDataFallbackText: P
4442
+ noDataFallbackText: M
4443
4443
  }
4444
4444
  ) : /* @__PURE__ */ h("div", { id: e, className: u(lc["picker-wrapper"], a), children: [
4445
4445
  /* @__PURE__ */ t(
@@ -4448,7 +4448,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4448
4448
  getReferenceProps: Ft,
4449
4449
  setReference: ua,
4450
4450
  testId: L["data-testid"],
4451
- isItemSelected: Pt.length > 0,
4451
+ isItemSelected: Mt.length > 0,
4452
4452
  isOpen: j,
4453
4453
  onClear: da,
4454
4454
  hideClearButton: x,
@@ -4458,7 +4458,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4458
4458
  isMultiSelect: g === "multi",
4459
4459
  size: s,
4460
4460
  setTriggerFocus: fe,
4461
- onToggle: () => Mt(!j),
4461
+ onToggle: () => Pt(!j),
4462
4462
  children: /* @__PURE__ */ t(
4463
4463
  _c,
4464
4464
  {
@@ -4469,13 +4469,13 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4469
4469
  selectedItems: d,
4470
4470
  type: g,
4471
4471
  size: s,
4472
- clearSearchAfterSelection: $,
4472
+ clearSearchAfterSelection: C,
4473
4473
  inputRef: ut,
4474
- onItemRemove: le,
4474
+ onItemRemove: ne,
4475
4475
  onSelect: me,
4476
4476
  onFilter: De,
4477
4477
  onClear: da,
4478
- searchPhrase: oe,
4478
+ searchPhrase: ie,
4479
4479
  virtualItemRef: jr,
4480
4480
  isTriggerFocused: Ce,
4481
4481
  inputProps: G
@@ -4483,22 +4483,22 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4483
4483
  )
4484
4484
  }
4485
4485
  ),
4486
- /* @__PURE__ */ t(Sa, { id: He, children: j && /* @__PURE__ */ t($a, { root: T, children: /* @__PURE__ */ t(
4486
+ /* @__PURE__ */ t(Sa, { id: ze, children: j && /* @__PURE__ */ t($a, { root: T, children: /* @__PURE__ */ t(
4487
4487
  Vo,
4488
4488
  {
4489
4489
  pickerType: g,
4490
- options: z,
4490
+ options: H,
4491
4491
  listClassName: r,
4492
4492
  context: pe,
4493
4493
  setFloating: Yr,
4494
4494
  floatingStyles: Xr,
4495
4495
  maxHeight: Qr,
4496
4496
  activeIndex: Jr,
4497
- selectedKeys: Pt,
4497
+ selectedKeys: Mt,
4498
4498
  listElementsRef: Zr,
4499
4499
  searchDisabled: w,
4500
4500
  isPositioned: e_,
4501
- onItemRemove: le,
4501
+ onItemRemove: ne,
4502
4502
  setPointer: pa,
4503
4503
  onSelect: me,
4504
4504
  getFloatingProps: ma,
@@ -4526,8 +4526,8 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4526
4526
  (g, f) => {
4527
4527
  var w = g, {
4528
4528
  disabled: e,
4529
- minListHeight: a = zo,
4530
- maxListHeight: r = Ho,
4529
+ minListHeight: a = Ho,
4530
+ maxListHeight: r = zo,
4531
4531
  autocompleteOpenOnInit: _ = !1,
4532
4532
  placement: o,
4533
4533
  options: l,
@@ -4551,36 +4551,36 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4551
4551
  "hideIfExactMatch",
4552
4552
  "noDataFallbackText"
4553
4553
  ]);
4554
- const x = v.useRef(null), { readOnly: S } = Ot(), E = S || i;
4554
+ const x = v.useRef(null), { readOnly: N } = Ot(), E = N || i;
4555
4555
  v.useImperativeHandle(f, () => x.current, []);
4556
- const [N, C] = v.useState(""), b = m.value !== void 0 ? m.value : N, [k, I] = v.useState(
4556
+ const [$, S] = v.useState(""), b = m.value !== void 0 ? m.value : $, [k, B] = v.useState(
4557
4557
  _
4558
4558
  ), T = (pe) => {
4559
- I(pe);
4559
+ B(pe);
4560
4560
  }, F = (pe) => {
4561
4561
  q(pe);
4562
4562
  }, A = (pe) => {
4563
- var He, Ft;
4564
- (He = m.onChange) == null || He.call(m, pe), C(pe.target.value), s || F(pe.target.value), (Ft = x.current) == null || Ft.focus();
4563
+ var ze, Ft;
4564
+ (ze = m.onChange) == null || ze.call(m, pe), S(pe.target.value), s || F(pe.target.value), (Ft = x.current) == null || Ft.focus();
4565
4565
  }, O = (pe) => {
4566
4566
  var Ft, ua, ma;
4567
- const He = pe.key === "Enter";
4568
- (Ft = me.current) != null && Ft.id && He && (G([{ key: (ua = me.current) == null ? void 0 : ua.id }]), pe.preventDefault()), He || T(!0), (ma = m.onKeyDown) == null || ma.call(m, pe);
4567
+ const ze = pe.key === "Enter";
4568
+ (Ft = me.current) != null && Ft.id && ze && (G([{ key: (ua = me.current) == null ? void 0 : ua.id }]), pe.preventDefault()), ze || T(!0), (ma = m.onKeyDown) == null || ma.call(m, pe);
4569
4569
  }, G = (pe) => {
4570
4570
  if (pe) {
4571
- const He = pe[0].key;
4571
+ const ze = pe[0].key;
4572
4572
  A({
4573
- target: { value: He }
4573
+ target: { value: ze }
4574
4574
  }), setTimeout(() => {
4575
4575
  T(!1);
4576
4576
  }, 0);
4577
4577
  }
4578
- }, P = v.useMemo(() => l ? ic(l) ? nc(l) : cc(l) : [], [l]), { items: L, searchPhrase: M, handleOnFilter: q, handleSelect: Y, selectedKeys: te } = Yo({
4578
+ }, M = v.useMemo(() => l ? ic(l) ? nc(l) : cc(l) : [], [l]), { items: L, searchPhrase: P, handleOnFilter: q, handleSelect: Y, selectedKeys: re } = Yo({
4579
4579
  selected: [],
4580
- options: P,
4580
+ options: M,
4581
4581
  type: "single",
4582
4582
  onSelect: G,
4583
- setOpen: I,
4583
+ setOpen: B,
4584
4584
  clearSearchAfterSelection: !0,
4585
4585
  inputRef: x
4586
4586
  }), Ce = sc(
@@ -4595,19 +4595,19 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4595
4595
  getReferenceProps: ut,
4596
4596
  getItemProps: wt,
4597
4597
  getFloatingProps: aa,
4598
- floatingStyles: Mt,
4599
- maxHeight: Pt,
4600
- setPointer: z,
4601
- setReference: oe,
4598
+ floatingStyles: Pt,
4599
+ maxHeight: Mt,
4600
+ setPointer: H,
4601
+ setReference: ie,
4602
4602
  virtualItemRef: me,
4603
4603
  listElementsRef: De,
4604
- activeIndex: le,
4604
+ activeIndex: ne,
4605
4605
  isPositioned: da
4606
4606
  } = Ko({
4607
4607
  openedOnInit: _,
4608
4608
  disabled: e || i,
4609
4609
  items: L,
4610
- searchPhrase: s ? "" : M,
4610
+ searchPhrase: s ? "" : P,
4611
4611
  isOpen: k,
4612
4612
  onVisibilityChange: T,
4613
4613
  minListHeight: a,
@@ -4621,10 +4621,10 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4621
4621
  value: b == null ? void 0 : b.toString(),
4622
4622
  noDataFallbackText: p
4623
4623
  }
4624
- ) : /* @__PURE__ */ h("div", B(y({ ref: oe }, ut()), { children: [
4624
+ ) : /* @__PURE__ */ h("div", I(y({ ref: ie }, ut()), { children: [
4625
4625
  /* @__PURE__ */ t(
4626
4626
  Tn,
4627
- B(y({}, m), {
4627
+ I(y({}, m), {
4628
4628
  ref: x,
4629
4629
  onChange: A,
4630
4630
  onKeyDown: O,
@@ -4641,12 +4641,12 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4641
4641
  options: Ce,
4642
4642
  setFloating: j,
4643
4643
  getFloatingProps: aa,
4644
- floatingStyles: Mt,
4645
- maxHeight: Pt,
4644
+ floatingStyles: Pt,
4645
+ maxHeight: Mt,
4646
4646
  listElementsRef: De,
4647
- activeIndex: le,
4648
- selectedKeys: te,
4649
- setPointer: z,
4647
+ activeIndex: ne,
4648
+ selectedKeys: re,
4649
+ setPointer: H,
4650
4650
  hideWhenEmpty: !0,
4651
4651
  getItemProps: wt,
4652
4652
  onSelect: Y,
@@ -4679,20 +4679,20 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4679
4679
  }, [o]);
4680
4680
  const p = (f, g) => {
4681
4681
  c || s(f), i(f, g);
4682
- }, m = a.map(({ id: f, label: g, loading: w, disabled: x, icon: S }) => {
4683
- const E = f === d, N = E ? Cr["btn--active"] : "";
4682
+ }, m = a.map(({ id: f, label: g, loading: w, disabled: x, icon: N }) => {
4683
+ const E = f === d, $ = E ? Cr["btn--active"] : "";
4684
4684
  return /* @__PURE__ */ t(
4685
- H,
4685
+ z,
4686
4686
  {
4687
4687
  fullWidth: l,
4688
4688
  loading: E ? !1 : w,
4689
4689
  disabled: x,
4690
4690
  "aria-pressed": E,
4691
4691
  kind: "secondary",
4692
- icon: S,
4693
- className: u(Cr.btn, Cr[`btn--${e}`], N),
4694
- onClick: ($) => {
4695
- p(f, $);
4692
+ icon: N,
4693
+ className: u(Cr.btn, Cr[`btn--${e}`], $),
4694
+ onClick: (C) => {
4695
+ p(f, C);
4696
4696
  },
4697
4697
  children: g
4698
4698
  },
@@ -4734,10 +4734,10 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4734
4734
  "src",
4735
4735
  "title"
4736
4736
  ]);
4737
- const [p, m] = v.useState(!1), f = p ? or : ta, g = p ? "Hide" : "Show more", w = (a == null ? void 0 : a.length) > 0, x = !!l, S = w || x, E = n, N = i, C = N ? "" : Ye[Cc];
4738
- return /* @__PURE__ */ h("div", B(y({ className: u(Ye[tr], _) }, d), { children: [
4739
- E && /* @__PURE__ */ h("div", { className: u(Ye[Gr], C), children: [
4740
- N && /* @__PURE__ */ t(
4737
+ const [p, m] = v.useState(!1), f = p ? or : ta, g = p ? "Hide" : "Show more", w = (a == null ? void 0 : a.length) > 0, x = !!l, N = w || x, E = n, $ = i, S = $ ? "" : Ye[Cc];
4738
+ return /* @__PURE__ */ h("div", I(y({ className: u(Ye[tr], _) }, d), { children: [
4739
+ E && /* @__PURE__ */ h("div", { className: u(Ye[Gr], S), children: [
4740
+ $ && /* @__PURE__ */ t(
4741
4741
  "img",
4742
4742
  {
4743
4743
  alt: e,
@@ -4767,23 +4767,23 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4767
4767
  children: l
4768
4768
  }
4769
4769
  ),
4770
- S && /* @__PURE__ */ h("div", { className: Ye[$r], children: [
4770
+ N && /* @__PURE__ */ h("div", { className: Ye[$r], children: [
4771
4771
  /* @__PURE__ */ t("div", { className: Ye[`${$r}__line`] }),
4772
4772
  /* @__PURE__ */ h("div", { className: Ye[`${$r}__buttons`], children: [
4773
4773
  w && a.map(
4774
- ({ kind: $, onClick: b, children: k }, I) => /* @__PURE__ */ t(
4775
- H,
4774
+ ({ kind: C, onClick: b, children: k }, B) => /* @__PURE__ */ t(
4775
+ z,
4776
4776
  {
4777
4777
  size: "compact",
4778
- kind: $,
4778
+ kind: C,
4779
4779
  onClick: b,
4780
4780
  children: k
4781
4781
  },
4782
- I
4782
+ B
4783
4783
  )
4784
4784
  ),
4785
4785
  x && /* @__PURE__ */ t(
4786
- H,
4786
+ z,
4787
4787
  {
4788
4788
  className: Ye[`${$r}__buttons-expander`],
4789
4789
  kind: "link",
@@ -4817,10 +4817,10 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4817
4817
  return a(m);
4818
4818
  }, c = () => {
4819
4819
  if (!_) {
4820
- const f = z_(e, 12);
4820
+ const f = H_(e, 12);
4821
4821
  return a(f);
4822
4822
  }
4823
- const p = Math.abs(q_(_, e)), m = z_(
4823
+ const p = Math.abs(q_(_, e)), m = H_(
4824
4824
  e,
4825
4825
  !Number.isNaN(p) && p > 12 ? 12 : p
4826
4826
  );
@@ -4829,7 +4829,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4829
4829
  return /* @__PURE__ */ h("div", { className: __[o_], children: [
4830
4830
  /* @__PURE__ */ h("div", { className: __[`${o_}__nav-wrapper`], children: [
4831
4831
  /* @__PURE__ */ t(
4832
- H,
4832
+ z,
4833
4833
  {
4834
4834
  "data-testid": "date-picker-prev-year-button",
4835
4835
  kind: "plain",
@@ -4840,7 +4840,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4840
4840
  }
4841
4841
  ),
4842
4842
  /* @__PURE__ */ t(
4843
- H,
4843
+ z,
4844
4844
  {
4845
4845
  "data-testid": "date-picker-prev-month-button",
4846
4846
  kind: "plain",
@@ -4853,7 +4853,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4853
4853
  ] }),
4854
4854
  /* @__PURE__ */ h("div", { className: __[`${o_}__nav-wrapper`], children: [
4855
4855
  /* @__PURE__ */ t(
4856
- H,
4856
+ z,
4857
4857
  {
4858
4858
  "data-testid": "date-picker-next-month-button",
4859
4859
  kind: "plain",
@@ -4864,7 +4864,7 @@ const Fn = "lc-Avatar-module__avatar___5-kP8", Rn = "lc-Avatar-module__avatar__s
4864
4864
  }
4865
4865
  ),
4866
4866
  /* @__PURE__ */ t(
4867
- H,
4867
+ z,
4868
4868
  {
4869
4869
  "data-testid": "date-picker-next-year-button",
4870
4870
  kind: "plain",
@@ -5002,15 +5002,15 @@ const xc = (e) => {
5002
5002
  currentMonth: a
5003
5003
  };
5004
5004
  case W.NEW_TEMPORARY_FROM_VALUE:
5005
- return B(y({}, l), {
5005
+ return I(y({}, l), {
5006
5006
  temporaryFrom: i.payload.date
5007
5007
  });
5008
5008
  case W.NEW_TEMPORARY_TO_VALUE:
5009
- return B(y({}, l), {
5009
+ return I(y({}, l), {
5010
5010
  temporaryTo: i.payload.date
5011
5011
  });
5012
5012
  case W.SELECT_FIRST_DAY:
5013
- return B(y({}, l), {
5013
+ return I(y({}, l), {
5014
5014
  from: i.payload.date,
5015
5015
  to: void 0,
5016
5016
  temporaryFrom: void 0,
@@ -5019,30 +5019,30 @@ const xc = (e) => {
5019
5019
  customTempTo: void 0
5020
5020
  });
5021
5021
  case W.SELECT_SECOND_DAY_AS_FROM:
5022
- return B(y({}, l), {
5022
+ return I(y({}, l), {
5023
5023
  from: i.payload.date,
5024
5024
  to: l.from,
5025
5025
  temporaryTo: l.from
5026
5026
  });
5027
5027
  case W.SELECT_SECOND_DAY_AS_TO:
5028
- return B(y({}, l), {
5028
+ return I(y({}, l), {
5029
5029
  to: i.payload.date,
5030
5030
  temporaryTo: i.payload.date
5031
5031
  });
5032
5032
  case W.CURRENT_MONTH_CHANGE:
5033
- return B(y({}, l), {
5033
+ return I(y({}, l), {
5034
5034
  currentMonth: i.payload.date
5035
5035
  });
5036
5036
  case W.SET_FROM:
5037
- return B(y({}, l), {
5037
+ return I(y({}, l), {
5038
5038
  from: i.payload.date
5039
5039
  });
5040
5040
  case W.SET_TO:
5041
- return B(y({}, l), {
5041
+ return I(y({}, l), {
5042
5042
  to: i.payload.date
5043
5043
  });
5044
5044
  case W.SET_CUSTOM_TEMP_RANGE:
5045
- return B(y({}, l), {
5045
+ return I(y({}, l), {
5046
5046
  customTempFrom: i.payload.customTempFrom,
5047
5047
  customTempTo: i.payload.customTempTo
5048
5048
  });
@@ -5109,14 +5109,14 @@ const xc = (e) => {
5109
5109
  payload: { date: b }
5110
5110
  });
5111
5111
  }, [i, r, _]), V(() => {
5112
- const { from: b, selectedItem: k, to: I } = g;
5113
- if (!(b && I))
5112
+ const { from: b, selectedItem: k, to: B } = g;
5113
+ if (!(b && B))
5114
5114
  return;
5115
5115
  const T = Ja(k, e);
5116
- T && (d == null || d(B(y({}, T), {
5116
+ T && (d == null || d(I(y({}, T), {
5117
5117
  value: {
5118
5118
  from: b,
5119
- to: I
5119
+ to: B
5120
5120
  }
5121
5121
  })));
5122
5122
  }, [g.from, g.to, g.selectedItem, e, d]), V(() => {
@@ -5135,11 +5135,11 @@ const xc = (e) => {
5135
5135
  }
5136
5136
  if (!Ja(b, e))
5137
5137
  return;
5138
- const I = e.reduce(
5139
- (T, F) => B(y({}, T), { [F.id]: F }),
5138
+ const B = e.reduce(
5139
+ (T, F) => I(y({}, T), { [F.id]: F }),
5140
5140
  {}
5141
5141
  );
5142
- d == null || d(I[b]);
5142
+ d == null || d(B[b]);
5143
5143
  }, [d, g.selectedItem, e]), V(() => {
5144
5144
  p == null || p({
5145
5145
  from: g.temporaryFrom,
@@ -5152,10 +5152,10 @@ const xc = (e) => {
5152
5152
  from: b,
5153
5153
  to: k
5154
5154
  });
5155
- }, [c]), S = kt(
5155
+ }, [c]), N = kt(
5156
5156
  (b) => {
5157
- const { from: k, to: I } = g, T = i ? Eo(i, b) >= 0 : !0;
5158
- k && !oo(k, I) && T && (ei(b, k) ? (w({
5157
+ const { from: k, to: B } = g, T = i ? Eo(i, b) >= 0 : !0;
5158
+ k && !oo(k, B) && T && (ei(b, k) ? (w({
5159
5159
  type: W.NEW_TEMPORARY_FROM_VALUE,
5160
5160
  payload: { date: b }
5161
5161
  }), w({
@@ -5172,8 +5172,8 @@ const xc = (e) => {
5172
5172
  [i, g.from, g.to]
5173
5173
  ), E = kt(
5174
5174
  (b) => {
5175
- const { from: k, to: I } = g;
5176
- Xo(b, { to: i }) && (oo(k, I) ? (w({
5175
+ const { from: k, to: B } = g;
5176
+ Xo(b, { to: i }) && (oo(k, B) ? (w({
5177
5177
  type: W.SELECT_FIRST_DAY,
5178
5178
  payload: { date: b }
5179
5179
  }), w({
@@ -5191,7 +5191,7 @@ const xc = (e) => {
5191
5191
  }));
5192
5192
  },
5193
5193
  [i, g.from, g.to]
5194
- ), N = kt(
5194
+ ), $ = kt(
5195
5195
  (b) => {
5196
5196
  if (b === null) {
5197
5197
  w({
@@ -5206,7 +5206,7 @@ const xc = (e) => {
5206
5206
  });
5207
5207
  },
5208
5208
  [e]
5209
- ), C = kt((b) => {
5209
+ ), S = kt((b) => {
5210
5210
  w({
5211
5211
  type: W.CURRENT_MONTH_CHANGE,
5212
5212
  payload: { date: b }
@@ -5216,20 +5216,20 @@ const xc = (e) => {
5216
5216
  const {
5217
5217
  currentMonth: b,
5218
5218
  from: k,
5219
- selectedItem: I,
5219
+ selectedItem: B,
5220
5220
  temporaryFrom: T,
5221
5221
  temporaryTo: F,
5222
5222
  to: A,
5223
5223
  customTempFrom: O,
5224
5224
  customTempTo: G
5225
- } = g, P = wa(() => Ja(I, e), [e, I]), L = wa(() => ({ from: T || k, to: F }), [k, T, F]), M = wa(() => {
5225
+ } = g, M = wa(() => Ja(B, e), [e, B]), L = wa(() => ({ from: T || k, to: F }), [k, T, F]), P = wa(() => {
5226
5226
  if (!(!O || !G))
5227
5227
  return { from: O, to: G };
5228
5228
  }, [O, G]), q = wa(() => i ? { after: i } : void 0, [i]);
5229
5229
  return {
5230
5230
  select: {
5231
- onItemSelect: N,
5232
- selected: I || ""
5231
+ onItemSelect: $,
5232
+ selected: B || ""
5233
5233
  },
5234
5234
  inputs: {
5235
5235
  fromDate: k,
@@ -5240,15 +5240,15 @@ const xc = (e) => {
5240
5240
  month: b,
5241
5241
  numberOfMonths: 2,
5242
5242
  onDayClick: E,
5243
- selected: M || L,
5243
+ selected: P || L,
5244
5244
  endMonth: i,
5245
5245
  disabled: q,
5246
5246
  today: n,
5247
- onDayMouseEnter: S,
5248
- onMonthChange: C,
5247
+ onDayMouseEnter: N,
5248
+ onMonthChange: S,
5249
5249
  onSelect: x
5250
5250
  },
5251
- selectedOption: P
5251
+ selectedOption: M
5252
5252
  };
5253
5253
  })());
5254
5254
  };
@@ -5270,7 +5270,7 @@ const Iu = (e) => {
5270
5270
  a,
5271
5271
  Le["date-picker--range__calendars-wrapper"]
5272
5272
  );
5273
- return /* @__PURE__ */ t("div", B(y({}, _), { className: o, children: r }));
5273
+ return /* @__PURE__ */ t("div", I(y({}, _), { className: o, children: r }));
5274
5274
  }, J = {
5275
5275
  "details-card": "lc-DetailsCard-module__details-card___v-Avc",
5276
5276
  "details-card__button--fading": "lc-DetailsCard-module__details-card__button--fading___LlMMo",
@@ -5308,19 +5308,19 @@ const Iu = (e) => {
5308
5308
  J[Q],
5309
5309
  l && J[`${Q}--with-divider`],
5310
5310
  a
5311
- ), x = d && c, S = typeof o == "string", E = (C) => {
5312
- p(($) => !$), C.currentTarget.blur(), s == null || s(C);
5313
- }, N = (C) => {
5314
- const b = C.target.tagName.toLowerCase();
5315
- Ec.includes(b) || (p((k) => !k), s == null || s(C));
5311
+ ), x = d && c, N = typeof o == "string", E = (S) => {
5312
+ p((C) => !C), S.currentTarget.blur(), s == null || s(S);
5313
+ }, $ = (S) => {
5314
+ const b = S.target.tagName.toLowerCase();
5315
+ Ec.includes(b) || (p((k) => !k), s == null || s(S));
5316
5316
  };
5317
5317
  return v.useEffect(() => {
5318
- const C = !!window.IntersectionObserver;
5319
- if (g.current && C) {
5320
- const $ = new ResizeObserver(() => {
5318
+ const S = !!window.IntersectionObserver;
5319
+ if (g.current && S) {
5320
+ const C = new ResizeObserver(() => {
5321
5321
  g.current && m !== g.current.offsetHeight && f(g.current.offsetHeight);
5322
5322
  });
5323
- return $.observe(g.current), () => $.disconnect();
5323
+ return C.observe(g.current), () => C.disconnect();
5324
5324
  }
5325
5325
  }, [g]), /* @__PURE__ */ h("div", { className: w, children: [
5326
5326
  /* @__PURE__ */ t(
@@ -5335,7 +5335,7 @@ const Iu = (e) => {
5335
5335
  "aria-expanded": c,
5336
5336
  "aria-hidden": x,
5337
5337
  "data-testid": "details-card-label",
5338
- onClick: N,
5338
+ onClick: $,
5339
5339
  children: /* @__PURE__ */ h(
5340
5340
  "div",
5341
5341
  {
@@ -5345,7 +5345,7 @@ const Iu = (e) => {
5345
5345
  ),
5346
5346
  children: [
5347
5347
  r && /* @__PURE__ */ t("div", { className: J[`${Q}__label__left-node`], children: r }),
5348
- S ? /* @__PURE__ */ t(
5348
+ N ? /* @__PURE__ */ t(
5349
5349
  he,
5350
5350
  {
5351
5351
  size: "xs",
@@ -5360,7 +5360,7 @@ const Iu = (e) => {
5360
5360
  }
5361
5361
  ),
5362
5362
  /* @__PURE__ */ t(
5363
- H,
5363
+ z,
5364
5364
  {
5365
5365
  kind: c && d ? "float" : "text",
5366
5366
  icon: /* @__PURE__ */ t(
@@ -5482,7 +5482,7 @@ const Iu = (e) => {
5482
5482
  ), lo = {
5483
5483
  "field-error": "lc-FieldError-module__field-error___-rtI3",
5484
5484
  "field-error__icon": "lc-FieldError-module__field-error__icon___4KpOc"
5485
- }, io = "field-error", P_ = (_) => {
5485
+ }, io = "field-error", M_ = (_) => {
5486
5486
  var o = _, {
5487
5487
  children: e,
5488
5488
  className: a = ""
@@ -5491,7 +5491,7 @@ const Iu = (e) => {
5491
5491
  "className"
5492
5492
  ]);
5493
5493
  const l = u(lo[io], a);
5494
- return /* @__PURE__ */ h(D, B(y({ as: "span", size: "sm" }, r), { className: l, children: [
5494
+ return /* @__PURE__ */ h(D, I(y({ as: "span", size: "sm" }, r), { className: l, children: [
5495
5495
  /* @__PURE__ */ t(
5496
5496
  R,
5497
5497
  {
@@ -5506,7 +5506,7 @@ const Iu = (e) => {
5506
5506
  "field-group": "lc-FieldGroup-module__field-group___--i2x",
5507
5507
  "field-group--inline": "lc-FieldGroup-module__field-group--inline___iSg4S",
5508
5508
  "field-group--stretched": "lc-FieldGroup-module__field-group--stretched___4Evlw"
5509
- }, c_ = "field-group", Mu = (n) => {
5509
+ }, c_ = "field-group", Pu = (n) => {
5510
5510
  var d = n, {
5511
5511
  className: e = "",
5512
5512
  children: a,
@@ -5526,18 +5526,18 @@ const Iu = (e) => {
5526
5526
  [n_[`${c_}--inline`]]: o,
5527
5527
  [n_[`${c_}--stretched`]]: l
5528
5528
  });
5529
- return /* @__PURE__ */ h("div", B(y({}, i), { className: s, children: [
5529
+ return /* @__PURE__ */ h("div", I(y({}, i), { className: s, children: [
5530
5530
  a,
5531
- _ && /* @__PURE__ */ t(P_, { children: _ }),
5531
+ _ && /* @__PURE__ */ t(M_, { children: _ }),
5532
5532
  r && /* @__PURE__ */ t(Vr, { children: r })
5533
5533
  ] }));
5534
- }, Tc = "lc-Form-module__form___ddwfw", Bc = "lc-Form-module__form__header___mr4AX", Ic = "lc-Form-module__form__footer___NJUBH", Ac = "lc-Form-module__form__label___2hAXA", Dc = "lc-Form-module__form__helper___r1lJG", Pa = {
5534
+ }, Tc = "lc-Form-module__form___ddwfw", Bc = "lc-Form-module__form__header___mr4AX", Ic = "lc-Form-module__form__footer___NJUBH", Ac = "lc-Form-module__form__label___2hAXA", Dc = "lc-Form-module__form__helper___r1lJG", Ma = {
5535
5535
  form: Tc,
5536
5536
  form__header: Bc,
5537
5537
  form__footer: Ic,
5538
5538
  form__label: Ac,
5539
5539
  form__helper: Dc
5540
- }, Fa = "form", Pu = (i) => {
5540
+ }, Fa = "form", Mu = (i) => {
5541
5541
  var n = i, {
5542
5542
  className: e,
5543
5543
  children: a,
@@ -5551,15 +5551,15 @@ const Iu = (e) => {
5551
5551
  "helperText",
5552
5552
  "formFooter"
5553
5553
  ]);
5554
- return /* @__PURE__ */ h("form", B(y({ className: u(Pa[Fa], e) }, l), { children: [
5555
- (r || _) && /* @__PURE__ */ h("div", { className: Pa[`${Fa}__header`], children: [
5556
- r && /* @__PURE__ */ t(he, { size: "sm", className: Pa[`${Fa}__label`], children: r }),
5557
- _ && /* @__PURE__ */ t(D, { as: "p", size: "sm", className: Pa[`${Fa}__helper`], children: _ })
5554
+ return /* @__PURE__ */ h("form", I(y({ className: u(Ma[Fa], e) }, l), { children: [
5555
+ (r || _) && /* @__PURE__ */ h("div", { className: Ma[`${Fa}__header`], children: [
5556
+ r && /* @__PURE__ */ t(he, { size: "sm", className: Ma[`${Fa}__label`], children: r }),
5557
+ _ && /* @__PURE__ */ t(D, { as: "p", size: "sm", className: Ma[`${Fa}__helper`], children: _ })
5558
5558
  ] }),
5559
5559
  a,
5560
- o && /* @__PURE__ */ t("div", { className: Pa[`${Fa}__footer`], children: o })
5560
+ o && /* @__PURE__ */ t("div", { className: Ma[`${Fa}__footer`], children: o })
5561
5561
  ] }));
5562
- }, ie = {
5562
+ }, ce = {
5563
5563
  "form-field": "lc-FormField-module__form-field___kx7Vx",
5564
5564
  "form-field--inline": "lc-FormField-module__form-field--inline___1xuhX",
5565
5565
  "form-field__wrapper--inline": "lc-FormField-module__form-field__wrapper--inline___MPvG-",
@@ -5577,7 +5577,7 @@ const Iu = (e) => {
5577
5577
  "form-field__row-break": "lc-FormField-module__form-field__row-break___ibOb7",
5578
5578
  "form-field__content": "lc-FormField-module__form-field__content___7Cnwe",
5579
5579
  "form-field__content__description": "lc-FormField-module__form-field__content__description___qdMlU"
5580
- }, ne = "form-field", Oc = ({
5580
+ }, se = "form-field", Oc = ({
5581
5581
  inline: e,
5582
5582
  error: a,
5583
5583
  description: r,
@@ -5591,9 +5591,9 @@ const Iu = (e) => {
5591
5591
  readOnly: c = !1
5592
5592
  }) => {
5593
5593
  const p = v.useRef(null), [m, f] = v.useState("auto"), { isEmpty: g } = Ot(), w = u(
5594
- ie[ne],
5594
+ ce[se],
5595
5595
  {
5596
- [ie[`${ne}--inline`]]: e
5596
+ [ce[`${se}--inline`]]: e
5597
5597
  },
5598
5598
  l
5599
5599
  );
@@ -5608,37 +5608,37 @@ const Iu = (e) => {
5608
5608
  as: "div",
5609
5609
  size: "sm",
5610
5610
  className: u(
5611
- ie[`${ne}__label-right-node`],
5612
- ie[`${ne}__label-right-node--inline`]
5611
+ ce[`${se}__label-right-node`],
5612
+ ce[`${se}__label-right-node--inline`]
5613
5613
  ),
5614
5614
  children: d
5615
5615
  }
5616
5616
  ),
5617
- /* @__PURE__ */ t("div", { className: ie[`${ne}__row-break`] })
5617
+ /* @__PURE__ */ t("div", { className: ce[`${se}__row-break`] })
5618
5618
  ] }),
5619
5619
  /* @__PURE__ */ h(
5620
5620
  "div",
5621
5621
  {
5622
5622
  className: u(
5623
- ie[`${ne}__wrapper`],
5624
- e && ie[`${ne}__wrapper--inline`]
5623
+ ce[`${se}__wrapper`],
5624
+ e && ce[`${se}__wrapper--inline`]
5625
5625
  ),
5626
5626
  children: [
5627
5627
  (_ || d) && /* @__PURE__ */ h(
5628
5628
  "div",
5629
5629
  {
5630
5630
  className: u(
5631
- ie[`${ne}__label`],
5632
- e && ie[`${ne}__label--inline`],
5633
- !_ && ie[`${ne}__label--no-text`]
5631
+ ce[`${se}__label`],
5632
+ e && ce[`${se}__label--inline`],
5633
+ !_ && ce[`${se}__label--no-text`]
5634
5634
  ),
5635
5635
  children: [
5636
5636
  _ && /* @__PURE__ */ h(
5637
5637
  "div",
5638
5638
  {
5639
5639
  className: u(
5640
- ie[`${ne}__label-wrapper`],
5641
- e && ie[`${ne}__label-wrapper--inline`]
5640
+ ce[`${se}__label-wrapper`],
5641
+ e && ce[`${se}__label-wrapper--inline`]
5642
5642
  ),
5643
5643
  style: {
5644
5644
  height: m
@@ -5648,8 +5648,8 @@ const Iu = (e) => {
5648
5648
  "label",
5649
5649
  {
5650
5650
  className: u(
5651
- ie[`${ne}__label-left-node`],
5652
- c && ie[`${ne}__label-left-node--read-only`]
5651
+ ce[`${se}__label-left-node`],
5652
+ c && ce[`${se}__label-left-node--read-only`]
5653
5653
  ),
5654
5654
  htmlFor: i,
5655
5655
  children: /* @__PURE__ */ t(
@@ -5670,8 +5670,8 @@ const Iu = (e) => {
5670
5670
  as: "div",
5671
5671
  size: "sm",
5672
5672
  className: u(
5673
- ie[`${ne}__label-adornment`],
5674
- e && ie[`${ne}__label-adornment--inline`]
5673
+ ce[`${se}__label-adornment`],
5674
+ e && ce[`${se}__label-adornment--inline`]
5675
5675
  ),
5676
5676
  children: o
5677
5677
  }
@@ -5684,20 +5684,20 @@ const Iu = (e) => {
5684
5684
  {
5685
5685
  as: "div",
5686
5686
  size: "sm",
5687
- className: u(ie[`${ne}__label-right-node`]),
5687
+ className: u(ce[`${se}__label-right-node`]),
5688
5688
  children: d
5689
5689
  }
5690
5690
  )
5691
5691
  ]
5692
5692
  }
5693
5693
  ),
5694
- /* @__PURE__ */ h("div", { className: u(ie[`${ne}__content`]), children: [
5694
+ /* @__PURE__ */ h("div", { className: u(ce[`${se}__content`]), children: [
5695
5695
  /* @__PURE__ */ t("div", { ref: p, children: n }),
5696
- a && /* @__PURE__ */ t(P_, { children: a }),
5696
+ a && /* @__PURE__ */ t(M_, { children: a }),
5697
5697
  !a && r && /* @__PURE__ */ t(
5698
5698
  Vr,
5699
5699
  {
5700
- className: u(ie[`${ne}__content__description`]),
5700
+ className: u(ce[`${se}__content__description`]),
5701
5701
  children: r
5702
5702
  }
5703
5703
  )
@@ -5733,7 +5733,7 @@ const Iu = (e) => {
5733
5733
  const n = u(Nr[Sr], e);
5734
5734
  return /* @__PURE__ */ h(
5735
5735
  "div",
5736
- B(y(B(y({}, o), {
5736
+ I(y(I(y({}, o), {
5737
5737
  role: "group"
5738
5738
  }), r && { "aria-label": r }), {
5739
5739
  className: n,
@@ -5754,10 +5754,10 @@ const Iu = (e) => {
5754
5754
  ]
5755
5755
  })
5756
5756
  );
5757
- }, Mc = "lc-AnimatedButton-module__icon___x-2D0", Pc = "lc-AnimatedButton-module__text___JEZ-a", Fc = "lc-AnimatedButton-module__expanded___oXA4t", xr = {
5757
+ }, Pc = "lc-AnimatedButton-module__icon___x-2D0", Mc = "lc-AnimatedButton-module__text___JEZ-a", Fc = "lc-AnimatedButton-module__expanded___oXA4t", xr = {
5758
5758
  "animated-button": "lc-AnimatedButton-module__animated-button___d1ume",
5759
- icon: Mc,
5760
- text: Pc,
5759
+ icon: Pc,
5760
+ text: Mc,
5761
5761
  expanded: Fc
5762
5762
  }, Rc = ({
5763
5763
  icon: e,
@@ -5831,49 +5831,49 @@ const Iu = (e) => {
5831
5831
  const [p, m] = de(!1), [f, g] = de(!1), {
5832
5832
  availableAgentsNumber: w,
5833
5833
  visibleAgents: x,
5834
- hasOnlyUnavailableAgents: S,
5834
+ hasOnlyUnavailableAgents: N,
5835
5835
  onlyAgentsNumber: E,
5836
- onlyBotsNumber: N
5836
+ onlyBotsNumber: $
5837
5837
  } = wa(() => {
5838
- const I = e.filter(
5838
+ const B = e.filter(
5839
5839
  (L) => L.status === "available"
5840
- ), T = Gc(I), F = I.length, A = T.length > 4 ? T.slice(0, 3) : T, O = e.length > 0 && F === 0, G = I.filter(
5840
+ ), T = Gc(B), F = B.length, A = T.length > 4 ? T.slice(0, 3) : T, O = e.length > 0 && F === 0, G = B.filter(
5841
5841
  (L) => !L.isBot
5842
- ).length, P = F - G;
5842
+ ).length, M = F - G;
5843
5843
  return {
5844
5844
  availableAgentsNumber: F,
5845
5845
  visibleAgents: A,
5846
5846
  hasOnlyUnavailableAgents: O,
5847
5847
  onlyAgentsNumber: G,
5848
- onlyBotsNumber: P
5848
+ onlyBotsNumber: M
5849
5849
  };
5850
- }, [e]), C = () => {
5850
+ }, [e]), S = () => {
5851
5851
  a(), m(!1), g(!1);
5852
- }, $ = () => {
5852
+ }, C = () => {
5853
5853
  r(), m(!1), g(!1);
5854
5854
  }, b = () => {
5855
5855
  i(), m(!1), g(!1);
5856
5856
  }, k = [
5857
5857
  {
5858
5858
  key: "chatbot",
5859
- onClick: C,
5859
+ onClick: S,
5860
5860
  element: /* @__PURE__ */ t(rr, { leftNode: /* @__PURE__ */ t(R, { source: kl }), children: "Set up ChatBot" })
5861
5861
  },
5862
5862
  {
5863
5863
  key: "teammate",
5864
5864
  element: /* @__PURE__ */ t(rr, { leftNode: /* @__PURE__ */ t(R, { source: wl }), children: "Invite teammate" }),
5865
- onClick: $
5865
+ onClick: C
5866
5866
  }
5867
5867
  ];
5868
5868
  return /* @__PURE__ */ h(
5869
5869
  "div",
5870
- B(y({}, d), {
5870
+ I(y({}, d), {
5871
5871
  className: u(
5872
5872
  Qt.Dark,
5873
5873
  Ze[je],
5874
5874
  {
5875
5875
  [Ze[`${je}--empty`]]: e.length === 0,
5876
- [Ze[`${je}--only-unavailable`]]: S
5876
+ [Ze[`${je}--only-unavailable`]]: N
5877
5877
  },
5878
5878
  _
5879
5879
  ),
@@ -5888,7 +5888,7 @@ const Iu = (e) => {
5888
5888
  onOpen: () => g(!0),
5889
5889
  onClose: () => g(!1),
5890
5890
  className: u(Qt.Dark, Ze[`${je}__tooltip`]),
5891
- triggerRenderer: S ? /* @__PURE__ */ h(
5891
+ triggerRenderer: N ? /* @__PURE__ */ h(
5892
5892
  "div",
5893
5893
  {
5894
5894
  className: Ze[`${je}__not-accepting`],
@@ -5911,18 +5911,18 @@ const Iu = (e) => {
5911
5911
  className: Ze[`${je}__tooltip-trigger`],
5912
5912
  onClick: b,
5913
5913
  children: [
5914
- /* @__PURE__ */ t("div", { className: Ze[`${je}__avatar-container`], children: x.map((I, T) => /* @__PURE__ */ t(
5915
- M_,
5914
+ /* @__PURE__ */ t("div", { className: Ze[`${je}__avatar-container`], children: x.map((B, T) => /* @__PURE__ */ t(
5915
+ P_,
5916
5916
  {
5917
- text: I.name,
5917
+ text: B.name,
5918
5918
  className: Ze[`${je}__avatar`],
5919
- type: I.avatar ? "image" : "text",
5919
+ type: B.avatar ? "image" : "text",
5920
5920
  size: "xsmall",
5921
- status: I.status,
5922
- src: I.avatar,
5921
+ status: B.status,
5922
+ src: B.avatar,
5923
5923
  style: { zIndex: e.length - T }
5924
5924
  },
5925
- I.email
5925
+ B.email
5926
5926
  )) }),
5927
5927
  w > 0 && /* @__PURE__ */ t(
5928
5928
  D,
@@ -5934,13 +5934,13 @@ const Iu = (e) => {
5934
5934
  ]
5935
5935
  }
5936
5936
  ),
5937
- children: S ? /* @__PURE__ */ t(
5937
+ children: N ? /* @__PURE__ */ t(
5938
5938
  Wi,
5939
5939
  {
5940
5940
  header: "No one's available to assist customers",
5941
5941
  text: "Offer 24/7 support with ChatBot.",
5942
5942
  primaryButton: {
5943
- handleClick: C,
5943
+ handleClick: S,
5944
5944
  label: "Set up ChatBot"
5945
5945
  }
5946
5946
  }
@@ -5975,7 +5975,7 @@ const Iu = (e) => {
5975
5975
  className: Ze[`${je}__accepting-agents-row`],
5976
5976
  children: [
5977
5977
  /* @__PURE__ */ t(R, { source: vl }),
5978
- Rr(N, "1 bot", `${N} bots`)
5978
+ Rr($, "1 bot", `${$} bots`)
5979
5979
  ]
5980
5980
  }
5981
5981
  )
@@ -5997,7 +5997,7 @@ const Iu = (e) => {
5997
5997
  {
5998
5998
  icon: /* @__PURE__ */ t(R, { source: yl }),
5999
5999
  text: "Invite",
6000
- onClick: () => m((I) => !I),
6000
+ onClick: () => m((B) => !B),
6001
6001
  isExpanded: o ? p || void 0 : !0
6002
6002
  }
6003
6003
  )
@@ -6027,7 +6027,7 @@ const Iu = (e) => {
6027
6027
  )
6028
6028
  }, r)
6029
6029
  );
6030
- }, zc = "lc-Modal-module__modal__body___K3X3J", Hc = "lc-Modal-module__modal__header___22qVU", Vc = "lc-Modal-module__modal__heading___TQl-G", Wc = "lc-Modal-module__modal__footer___-z-ze", Ae = {
6030
+ }, Hc = "lc-Modal-module__modal__body___K3X3J", zc = "lc-Modal-module__modal__header___22qVU", Vc = "lc-Modal-module__modal__heading___TQl-G", Wc = "lc-Modal-module__modal__footer___-z-ze", Ae = {
6031
6031
  "modal-base": "lc-Modal-module__modal-base___W3hsn",
6032
6032
  "fade-in": "lc-Modal-module__fade-in___uf1sy",
6033
6033
  "modal-base--full-space": "lc-Modal-module__modal-base--full-space___I5mqs",
@@ -6036,8 +6036,8 @@ const Iu = (e) => {
6036
6036
  "modal-base__overlay--labelled": "lc-Modal-module__modal-base__overlay--labelled___XJo16",
6037
6037
  "modal-base__close": "lc-Modal-module__modal-base__close___a2xPW",
6038
6038
  "modal-base__close--label-type": "lc-Modal-module__modal-base__close--label-type___IWIlG",
6039
- modal__body: zc,
6040
- modal__header: Hc,
6039
+ modal__body: Hc,
6040
+ modal__header: zc,
6041
6041
  "modal__header--without-heading": "lc-Modal-module__modal__header--without-heading___-zvH5",
6042
6042
  "modal__label-header": "lc-Modal-module__modal__label-header___LL-pz",
6043
6043
  modal__heading: Vc,
@@ -6087,7 +6087,7 @@ const Iu = (e) => {
6087
6087
  ),
6088
6088
  children: /* @__PURE__ */ t(
6089
6089
  "div",
6090
- B(y({
6090
+ I(y({
6091
6091
  role: "dialog",
6092
6092
  "aria-modal": !0,
6093
6093
  className: c
@@ -6102,7 +6102,7 @@ const Iu = (e) => {
6102
6102
  customColor: a,
6103
6103
  onClick: r
6104
6104
  }) => /* @__PURE__ */ t(
6105
- H,
6105
+ z,
6106
6106
  {
6107
6107
  type: "button",
6108
6108
  kind: "plain",
@@ -6140,7 +6140,7 @@ const Iu = (e) => {
6140
6140
  };
6141
6141
  return /* @__PURE__ */ h(
6142
6142
  Kc,
6143
- B(y({
6143
+ I(y({
6144
6144
  className: p,
6145
6145
  fullSpaceContent: o,
6146
6146
  onClose: i,
@@ -6219,7 +6219,7 @@ const Iu = (e) => {
6219
6219
  "modal-header__heading-left-node": "lc-ModalHeader-module__modal-header__heading-left-node___SZBRX",
6220
6220
  "modal-header__heading-body": "lc-ModalHeader-module__modal-header__heading-body___aBgMz",
6221
6221
  "modal-header__heading-description": "lc-ModalHeader-module__modal-header__heading-description___dpbWK"
6222
- }, Ua = "modal-header", zu = ({ title: e, iconProps: a, avatarProps: r, children: _, className: o = "" }) => {
6222
+ }, Ua = "modal-header", Hu = ({ title: e, iconProps: a, avatarProps: r, children: _, className: o = "" }) => {
6223
6223
  const l = u(Ga[Ua], o);
6224
6224
  return /* @__PURE__ */ h("div", { className: l, children: [
6225
6225
  a && /* @__PURE__ */ t(
@@ -6229,7 +6229,7 @@ const Iu = (e) => {
6229
6229
  }, a)
6230
6230
  ),
6231
6231
  r && /* @__PURE__ */ t(
6232
- M_,
6232
+ P_,
6233
6233
  y({
6234
6234
  className: Ga[`${Ua}__heading-left-node`]
6235
6235
  }, r)
@@ -6252,7 +6252,7 @@ const Iu = (e) => {
6252
6252
  "action-modal-content__heading": "lc-ActionModalContent-module__action-modal-content__heading___gGgOD",
6253
6253
  "action-modal-content__content": "lc-ActionModalContent-module__action-modal-content__content___K4e5r",
6254
6254
  "action-modal-content__actions": "lc-ActionModalContent-module__action-modal-content__actions___bgnDV"
6255
- }, qa = "action-modal-content", Hu = ({
6255
+ }, qa = "action-modal-content", zu = ({
6256
6256
  children: e,
6257
6257
  className: a,
6258
6258
  icon: r,
@@ -6320,27 +6320,27 @@ const Iu = (e) => {
6320
6320
  [ba[`${va}--disabled`]]: l
6321
6321
  },
6322
6322
  e
6323
- ), S = (T) => d(String(T)), E = (T) => _ !== void 0 && T > _ ? _ : o !== void 0 && T < o ? o : T, N = (T) => {
6323
+ ), N = (T) => d(String(T)), E = (T) => _ !== void 0 && T > _ ? _ : o !== void 0 && T < o ? o : T, $ = (T) => {
6324
6324
  const F = parseInt(r, 10) + T;
6325
- return S(E(F));
6326
- }, C = (T) => {
6327
- T.key === ue.arrowDown && (T.preventDefault(), N(-1)), T.key === ue.arrowUp && (T.preventDefault(), N(1));
6328
- }, $ = (T, F) => F !== void 0 && parseInt(T, 10) === F, b = (T) => {
6325
+ return N(E(F));
6326
+ }, S = (T) => {
6327
+ T.key === ue.arrowDown && (T.preventDefault(), $(-1)), T.key === ue.arrowUp && (T.preventDefault(), $(1));
6328
+ }, C = (T, F) => F !== void 0 && parseInt(T, 10) === F, b = (T) => {
6329
6329
  T.preventDefault(), T.stopPropagation();
6330
6330
  const F = T.currentTarget.value.replace(
6331
6331
  /((?!([-]|([-]?\d+))).)/,
6332
6332
  ""
6333
6333
  );
6334
6334
  if (F === "" || F === "-")
6335
- return S(F);
6335
+ return N(F);
6336
6336
  const A = parseInt(F, 10);
6337
- return S(E(A));
6337
+ return N(E(A));
6338
6338
  }, k = () => {
6339
6339
  var T;
6340
- return (T = f.current) == null || T.focus(), N(1);
6341
- }, I = () => {
6340
+ return (T = f.current) == null || T.focus(), $(1);
6341
+ }, B = () => {
6342
6342
  var T;
6343
- return (T = f.current) == null || T.focus(), N(-1);
6343
+ return (T = f.current) == null || T.focus(), $(-1);
6344
6344
  };
6345
6345
  return w ? /* @__PURE__ */ t(
6346
6346
  xa,
@@ -6351,14 +6351,14 @@ const Iu = (e) => {
6351
6351
  ) : /* @__PURE__ */ h("div", { className: x, style: n, children: [
6352
6352
  /* @__PURE__ */ t(
6353
6353
  "input",
6354
- B(y({
6354
+ I(y({
6355
6355
  type: "text",
6356
6356
  ref: f
6357
6357
  }, c), {
6358
6358
  value: r,
6359
6359
  disabled: l,
6360
6360
  onChange: b,
6361
- onKeyDown: C,
6361
+ onKeyDown: S,
6362
6362
  min: o,
6363
6363
  max: _
6364
6364
  })
@@ -6368,7 +6368,7 @@ const Iu = (e) => {
6368
6368
  "button",
6369
6369
  {
6370
6370
  tabIndex: -1,
6371
- disabled: l || $(r, _),
6371
+ disabled: l || C(r, _),
6372
6372
  onClick: k,
6373
6373
  "aria-label": "Increment value",
6374
6374
  className: ba[`${va}__increment`],
@@ -6377,7 +6377,7 @@ const Iu = (e) => {
6377
6377
  R,
6378
6378
  {
6379
6379
  source: or,
6380
- disabled: l || $(r, _),
6380
+ disabled: l || C(r, _),
6381
6381
  kind: "primary"
6382
6382
  }
6383
6383
  )
@@ -6387,17 +6387,17 @@ const Iu = (e) => {
6387
6387
  "button",
6388
6388
  {
6389
6389
  tabIndex: -1,
6390
- disabled: l || $(r, o),
6390
+ disabled: l || C(r, o),
6391
6391
  "aria-label": "Decrement value",
6392
6392
  className: ba[`${va}__decrement`],
6393
- onClick: I,
6393
+ onClick: B,
6394
6394
  type: "button",
6395
6395
  children: /* @__PURE__ */ t(
6396
6396
  R,
6397
6397
  {
6398
6398
  source: ta,
6399
6399
  kind: "primary",
6400
- disabled: l || $(r, o)
6400
+ disabled: l || C(r, o)
6401
6401
  }
6402
6402
  )
6403
6403
  }
@@ -6438,9 +6438,9 @@ const Iu = (e) => {
6438
6438
  const g = !!window.ResizeObserver;
6439
6439
  if (c.current && g) {
6440
6440
  const w = new ResizeObserver((x) => {
6441
- const S = x[0];
6442
- if (!S) return;
6443
- const E = S.contentRect.height + Yc;
6441
+ const N = x[0];
6442
+ if (!N) return;
6443
+ const E = N.contentRect.height + Yc;
6444
6444
  f.current !== E && (m(E), f.current = E);
6445
6445
  });
6446
6446
  return w.observe(c.current), () => w.disconnect();
@@ -6536,13 +6536,13 @@ const Iu = (e) => {
6536
6536
  ]
6537
6537
  }
6538
6538
  );
6539
- }, ce = {
6539
+ }, ee = {
6540
6540
  "onboarding-checklist": "lc-OnboardingChecklist-module__onboarding-checklist___98RSw",
6541
- "onboarding-checklist--complete": "lc-OnboardingChecklist-module__onboarding-checklist--complete___Cmld9",
6542
6541
  "onboarding-checklist__complete": "lc-OnboardingChecklist-module__onboarding-checklist__complete___ihqN7",
6543
6542
  "onboarding-checklist__complete__icon": "lc-OnboardingChecklist-module__onboarding-checklist__complete__icon___LDJ-I",
6544
6543
  "onboarding-checklist__complete__label": "lc-OnboardingChecklist-module__onboarding-checklist__complete__label___-wqtx",
6545
6544
  "onboarding-checklist__complete__title": "lc-OnboardingChecklist-module__onboarding-checklist__complete__title___MvGM7",
6545
+ "onboarding-checklist__complete__content--no-greeting": "lc-OnboardingChecklist-module__onboarding-checklist__complete__content--no-greeting___Q1glA",
6546
6546
  "onboarding-checklist__column": "lc-OnboardingChecklist-module__onboarding-checklist__column___juqpr",
6547
6547
  "onboarding-checklist__column--right": "lc-OnboardingChecklist-module__onboarding-checklist__column--right___9lOFL",
6548
6548
  "onboarding-checklist__column--right--completed": "lc-OnboardingChecklist-module__onboarding-checklist__column--right--completed___nHt44",
@@ -6552,9 +6552,11 @@ const Iu = (e) => {
6552
6552
  "onboarding-checklist__checklist": "lc-OnboardingChecklist-module__onboarding-checklist__checklist___0vKse",
6553
6553
  "onboarding-checklist__placeholder": "lc-OnboardingChecklist-module__onboarding-checklist__placeholder___JYc-z",
6554
6554
  "onboarding-checklist__button": "lc-OnboardingChecklist-module__onboarding-checklist__button___ZmZ2j",
6555
+ "onboarding-checklist__button--open": "lc-OnboardingChecklist-module__onboarding-checklist__button--open___QR74p",
6556
+ "onboarding-checklist__button--closed": "lc-OnboardingChecklist-module__onboarding-checklist__button--closed___0bDKk",
6555
6557
  "onboarding-checklist__button__icon": "lc-OnboardingChecklist-module__onboarding-checklist__button__icon___ta8M6",
6556
6558
  "onboarding-checklist__button__icon--open": "lc-OnboardingChecklist-module__onboarding-checklist__button__icon--open___Jnrn8"
6557
- }, se = "onboarding-checklist", Wu = ({
6559
+ }, te = "onboarding-checklist", Wu = ({
6558
6560
  activeItemId: e,
6559
6561
  completedItemsIds: a,
6560
6562
  title: r,
@@ -6564,48 +6566,56 @@ const Iu = (e) => {
6564
6566
  placeholderClassName: i,
6565
6567
  isCompleted: n = !1,
6566
6568
  completionMessageData: d,
6567
- className: s
6569
+ isInitiallyOpen: s,
6570
+ className: c
6568
6571
  }) => {
6569
- var N;
6570
- const [c, p] = v.useState(n), [m, f] = v.useState(!n), [g, w] = v.useState(void 0), x = v.useRef(null), S = d.height || 96, E = () => {
6571
- f((C) => !C);
6572
+ var C;
6573
+ const [p, m] = v.useState(n), [f, g] = v.useState(
6574
+ n ? s != null ? s : !1 : !0
6575
+ ), [w, x] = v.useState(void 0), N = v.useRef(null), E = d.height || 108, $ = 108, S = () => {
6576
+ g((b) => !b);
6572
6577
  };
6573
6578
  return v.useEffect(() => {
6574
- const C = d.delay || 1500, $ = x.current;
6575
- if (n && $) {
6576
- const b = $.offsetHeight;
6577
- w(b);
6578
- const k = setTimeout(() => {
6579
- p(!0), f(!1);
6580
- }, C);
6579
+ const b = d.delay || 1500, k = N.current;
6580
+ if (n && k && !p) {
6581
+ const B = k.offsetHeight;
6582
+ x(B);
6583
+ const T = setTimeout(() => {
6584
+ m(!0), g(!1);
6585
+ }, b);
6581
6586
  return () => {
6582
- clearTimeout(k);
6587
+ clearTimeout(T);
6583
6588
  };
6584
6589
  }
6585
- }, [n]), /* @__PURE__ */ h(
6590
+ }, [n, p]), v.useEffect(() => {
6591
+ if (N.current) {
6592
+ const b = f ? N.current.scrollHeight + $ : E;
6593
+ x(b);
6594
+ }
6595
+ }, [f, p]), /* @__PURE__ */ h(
6586
6596
  "div",
6587
6597
  {
6588
- ref: x,
6598
+ ref: N,
6589
6599
  className: u(
6590
- ce[se],
6600
+ ee[te],
6591
6601
  {
6592
- [ce[`${se}--complete`]]: c && !m
6602
+ [ee[`${te}--complete`]]: p && !f
6593
6603
  },
6594
- s
6604
+ c
6595
6605
  ),
6596
6606
  style: {
6597
- height: !c || m ? g : S
6607
+ height: w
6598
6608
  },
6599
6609
  children: [
6600
- m && /* @__PURE__ */ h(Z, { children: [
6601
- /* @__PURE__ */ h("div", { className: ce[`${se}__column`], children: [
6602
- /* @__PURE__ */ h("div", { className: ce[`${se}__header`], children: [
6610
+ f && /* @__PURE__ */ h(Z, { children: [
6611
+ /* @__PURE__ */ h("div", { className: ee[`${te}__column`], children: [
6612
+ /* @__PURE__ */ h("div", { className: ee[`${te}__header`], children: [
6603
6613
  _ && /* @__PURE__ */ t(
6604
6614
  D,
6605
6615
  {
6606
6616
  size: "lg",
6607
6617
  semiBold: !0,
6608
- className: ce[`${se}__header__label`],
6618
+ className: ee[`${te}__header__label`],
6609
6619
  children: _
6610
6620
  }
6611
6621
  ),
@@ -6613,90 +6623,101 @@ const Iu = (e) => {
6613
6623
  he,
6614
6624
  {
6615
6625
  size: "lg",
6616
- className: ce[`${se}__header__title`],
6626
+ className: ee[`${te}__header__title`],
6617
6627
  children: r
6618
6628
  }
6619
6629
  )
6620
6630
  ] }),
6621
- /* @__PURE__ */ t("div", { className: ce[`${se}__checklist`], children: o.map((C, $) => /* @__PURE__ */ t(
6631
+ /* @__PURE__ */ t("div", { className: ee[`${te}__checklist`], children: o.map((b, k) => /* @__PURE__ */ t(
6622
6632
  Xc,
6623
6633
  {
6624
- id: C.id,
6625
- description: C.description,
6626
- customContent: C.customContent,
6627
- title: C.title,
6628
- titleHint: C.titleHint,
6629
- isActive: C.id === e,
6630
- isChecked: a.includes(C.id),
6634
+ id: b.id,
6635
+ description: b.description,
6636
+ customContent: b.customContent,
6637
+ title: b.title,
6638
+ titleHint: b.titleHint,
6639
+ isActive: b.id === e,
6640
+ isChecked: a.includes(b.id),
6631
6641
  onClick: l,
6632
- cta: C.cta
6642
+ cta: b.cta
6633
6643
  },
6634
- $
6644
+ k
6635
6645
  )) })
6636
6646
  ] }),
6637
6647
  /* @__PURE__ */ h(
6638
6648
  "div",
6639
6649
  {
6640
6650
  className: u(
6641
- ce[`${se}__column`],
6642
- ce[`${se}__column--right`],
6651
+ ee[`${te}__column`],
6652
+ ee[`${te}__column--right`],
6643
6653
  {
6644
- [ce[`${se}__column--right--completed`]]: n
6654
+ [ee[`${te}__column--right--completed`]]: n
6645
6655
  },
6646
6656
  i
6647
6657
  ),
6648
6658
  children: [
6649
- !n && /* @__PURE__ */ t("div", { className: ce[`${se}__placeholder`], children: (N = o.find((C) => C.id === e)) == null ? void 0 : N.placeholder }),
6650
- n && /* @__PURE__ */ t("div", { className: ce[`${se}__placeholder`], children: d.placeholder })
6659
+ !n && /* @__PURE__ */ t("div", { className: ee[`${te}__placeholder`], children: (C = o.find((b) => b.id === e)) == null ? void 0 : C.placeholder }),
6660
+ n && /* @__PURE__ */ t("div", { className: ee[`${te}__placeholder`], children: d.placeholder })
6651
6661
  ]
6652
6662
  }
6653
6663
  )
6654
6664
  ] }),
6655
- !m && /* @__PURE__ */ t(Z, { children: /* @__PURE__ */ h("div", { className: ce[`${se}__complete`], children: [
6665
+ !f && /* @__PURE__ */ t(Z, { children: /* @__PURE__ */ h("div", { className: ee[`${te}__complete`], children: [
6656
6666
  /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
6657
6667
  R,
6658
6668
  {
6659
6669
  size: "large",
6660
- className: ce[`${se}__complete__icon`],
6670
+ className: ee[`${te}__complete__icon`],
6661
6671
  source: T_
6662
6672
  }
6663
6673
  ) }),
6664
- /* @__PURE__ */ h("div", { children: [
6665
- (d == null ? void 0 : d.greetingText) && /* @__PURE__ */ t(
6666
- D,
6667
- {
6668
- size: "lg",
6669
- className: ce[`${se}__complete__label`],
6670
- children: d.greetingText
6671
- }
6672
- ),
6673
- /* @__PURE__ */ t(
6674
- he,
6675
- {
6676
- size: "sm",
6677
- className: ce[`${se}__complete__title`],
6678
- children: d.title
6679
- }
6680
- )
6681
- ] })
6674
+ /* @__PURE__ */ h(
6675
+ "div",
6676
+ {
6677
+ className: u({
6678
+ [ee[`${te}__complete__content--no-greeting`]]: !(d != null && d.greetingText)
6679
+ }),
6680
+ children: [
6681
+ (d == null ? void 0 : d.greetingText) && /* @__PURE__ */ t(
6682
+ D,
6683
+ {
6684
+ size: "lg",
6685
+ className: ee[`${te}__complete__label`],
6686
+ children: d.greetingText
6687
+ }
6688
+ ),
6689
+ /* @__PURE__ */ t(
6690
+ he,
6691
+ {
6692
+ size: "sm",
6693
+ className: ee[`${te}__complete__title`],
6694
+ children: d.title
6695
+ }
6696
+ )
6697
+ ]
6698
+ }
6699
+ )
6682
6700
  ] }) }),
6683
- c && /* @__PURE__ */ t(
6684
- H,
6701
+ p && /* @__PURE__ */ t(
6702
+ z,
6685
6703
  {
6686
- kind: m ? "float" : "text",
6704
+ kind: f ? "float" : "text",
6687
6705
  icon: /* @__PURE__ */ t(
6688
6706
  R,
6689
6707
  {
6690
6708
  source: ta,
6691
6709
  className: u(
6692
- ce[`${se}__button__icon`],
6693
- m && ce[`${se}__button__icon--open`]
6710
+ ee[`${te}__button__icon`],
6711
+ f && ee[`${te}__button__icon--open`]
6694
6712
  )
6695
6713
  }
6696
6714
  ),
6697
- className: ce[`${se}__button`],
6698
- onClick: E,
6699
- "aria-expanded": m
6715
+ className: u(ee[`${te}__button`], {
6716
+ [ee[`${te}__button--open`]]: f,
6717
+ [ee[`${te}__button--closed`]]: !f
6718
+ }),
6719
+ onClick: S,
6720
+ "aria-expanded": f
6700
6721
  }
6701
6722
  )
6702
6723
  ]
@@ -6745,22 +6766,22 @@ const Iu = (e) => {
6745
6766
  floatingStrategy: g,
6746
6767
  transitionOptions: w
6747
6768
  }) => {
6748
- const [x, S] = v.useState(c), E = Lr(), N = lr(), C = s !== void 0, $ = C ? s : x, b = typeof _ == "string", k = typeof e == "function", I = (K, j) => {
6749
- K ? r == null || r(j) : a == null || a(j), !C && S(K);
6769
+ const [x, N] = v.useState(c), E = Lr(), $ = lr(), S = s !== void 0, C = S ? s : x, b = typeof _ == "string", k = typeof e == "function", B = (K, j) => {
6770
+ K ? r == null || r(j) : a == null || a(j), !S && N(K);
6750
6771
  }, { refs: T, context: F, floatingStyles: A } = ir({
6751
- nodeId: N,
6752
- open: $,
6753
- onOpenChange: I,
6772
+ nodeId: $,
6773
+ open: C,
6774
+ onOpenChange: B,
6754
6775
  middleware: [nr(d), qr(n), B_()],
6755
6776
  placement: i,
6756
6777
  strategy: g,
6757
6778
  whileElementsMounted: cr
6758
6779
  }), O = sr(F, f), G = dr(F, y({
6759
6780
  escapeKey: p
6760
- }, m)), P = ur(F), { getReferenceProps: L, getFloatingProps: M } = mr([
6781
+ }, m)), M = ur(F), { getReferenceProps: L, getFloatingProps: P } = mr([
6761
6782
  O,
6762
6783
  G,
6763
- P
6784
+ M
6764
6785
  ]), q = {
6765
6786
  initial: ({ side: K }) => y({
6766
6787
  opacity: 0
@@ -6773,13 +6794,13 @@ const Iu = (e) => {
6773
6794
  } || K === "right" && {
6774
6795
  marginLeft: -10
6775
6796
  })
6776
- }, { isMounted: Y, styles: te } = zr(
6797
+ }, { isMounted: Y, styles: re } = Hr(
6777
6798
  F,
6778
6799
  w || q
6779
6800
  ), Ce = u(Qc.popover, o), fe = /* @__PURE__ */ h(Z, { children: [
6780
6801
  /* @__PURE__ */ t(
6781
6802
  "div",
6782
- B(y({
6803
+ I(y({
6783
6804
  "data-testid": "popover-trigger-button",
6784
6805
  ref: T.setReference
6785
6806
  }, L()), {
@@ -6787,18 +6808,18 @@ const Iu = (e) => {
6787
6808
  children: k ? e() : e
6788
6809
  })
6789
6810
  ),
6790
- /* @__PURE__ */ t(Sa, { id: N, children: Y && /* @__PURE__ */ t(C_, { context: F, modal: !1, children: /* @__PURE__ */ t(
6811
+ /* @__PURE__ */ t(Sa, { id: $, children: Y && /* @__PURE__ */ t(C_, { context: F, modal: !1, children: /* @__PURE__ */ t(
6791
6812
  "div",
6792
- B(y({
6813
+ I(y({
6793
6814
  className: Ce,
6794
6815
  ref: T.setFloating,
6795
- style: y(y({}, A), te)
6796
- }, M()), {
6816
+ style: y(y({}, A), re)
6817
+ }, P()), {
6797
6818
  children: b ? /* @__PURE__ */ t(D, { as: "div", children: _ }) : _
6798
6819
  })
6799
6820
  ) }) })
6800
6821
  ] });
6801
- return E === null ? /* @__PURE__ */ t(Hr, { children: fe }) : fe;
6822
+ return E === null ? /* @__PURE__ */ t(zr, { children: fe }) : fe;
6802
6823
  }, rt = {
6803
6824
  "outer-border": "lc-ProductTile-module__outer-border___tsyqh",
6804
6825
  "product-tile-wrapper": "lc-ProductTile-module__product-tile-wrapper___iKDxM",
@@ -6812,7 +6833,7 @@ const Iu = (e) => {
6812
6833
  "product-tile__icon": "lc-ProductTile-module__product-tile__icon___IQqzd",
6813
6834
  "product-tile__icon--large": "lc-ProductTile-module__product-tile__icon--large___Ta9v0",
6814
6835
  "product-tile__icon--expired": "lc-ProductTile-module__product-tile__icon--expired___5PbNr"
6815
- }, zt = "product-tile", Jo = ({
6836
+ }, Ht = "product-tile", Jo = ({
6816
6837
  icon: e,
6817
6838
  iconColor: a,
6818
6839
  expired: r,
@@ -6833,14 +6854,14 @@ const Iu = (e) => {
6833
6854
  /* @__PURE__ */ t(
6834
6855
  "div",
6835
6856
  {
6836
- className: rt[`${zt}__third-layer`],
6857
+ className: rt[`${Ht}__third-layer`],
6837
6858
  style: { background: _.third }
6838
6859
  }
6839
6860
  ),
6840
6861
  /* @__PURE__ */ t(
6841
6862
  "div",
6842
6863
  {
6843
- className: rt[`${zt}__second-layer`],
6864
+ className: rt[`${Ht}__second-layer`],
6844
6865
  style: { background: _.second }
6845
6866
  }
6846
6867
  )
@@ -6848,8 +6869,8 @@ const Iu = (e) => {
6848
6869
  /* @__PURE__ */ h(
6849
6870
  "div",
6850
6871
  {
6851
- className: u(rt[zt], {
6852
- [rt[`${zt}__main-product`]]: n
6872
+ className: u(rt[Ht], {
6873
+ [rt[`${Ht}__main-product`]]: n
6853
6874
  }),
6854
6875
  style: {
6855
6876
  background: r ? "var(--surface-moderate-default)" : _.main,
@@ -6857,12 +6878,12 @@ const Iu = (e) => {
6857
6878
  },
6858
6879
  children: [
6859
6880
  l && !r ? /* @__PURE__ */ t(
6860
- Pr,
6881
+ Mr,
6861
6882
  {
6862
6883
  size: "compact",
6863
6884
  count: l,
6864
- className: u(rt[`${zt}__badge`], {
6865
- [rt[`${zt}__badge--bordered`]]: n
6885
+ className: u(rt[`${Ht}__badge`], {
6886
+ [rt[`${Ht}__badge--bordered`]]: n
6866
6887
  })
6867
6888
  }
6868
6889
  ) : null,
@@ -6870,9 +6891,9 @@ const Iu = (e) => {
6870
6891
  R,
6871
6892
  {
6872
6893
  source: e,
6873
- className: u(rt[`${zt}__icon`], {
6874
- [rt[`${zt}__icon--large`]]: n,
6875
- [rt[`${zt}__icon--expired`]]: r
6894
+ className: u(rt[`${Ht}__icon`], {
6895
+ [rt[`${Ht}__icon--large`]]: n,
6896
+ [rt[`${Ht}__icon--expired`]]: r
6876
6897
  }),
6877
6898
  customColor: a
6878
6899
  }
@@ -6948,7 +6969,7 @@ const Iu = (e) => {
6948
6969
  triggerRenderer: /* @__PURE__ */ t(
6949
6970
  R,
6950
6971
  {
6951
- source: Mr,
6972
+ source: Pr,
6952
6973
  className: gt[`${ht}__tooltip-icon`]
6953
6974
  }
6954
6975
  ),
@@ -6965,7 +6986,7 @@ const Iu = (e) => {
6965
6986
  triggerRenderer: /* @__PURE__ */ t(
6966
6987
  R,
6967
6988
  {
6968
- source: Mr,
6989
+ source: Pr,
6969
6990
  className: gt[`${ht}__tooltip-icon`]
6970
6991
  }
6971
6992
  ),
@@ -6988,13 +7009,13 @@ const Iu = (e) => {
6988
7009
  ]
6989
7010
  }
6990
7011
  )
6991
- ] }), za = {
7012
+ ] }), Ha = {
6992
7013
  "product-switcher": "lc-ProductSwitcher-module__product-switcher___Dqwcp",
6993
7014
  "product-switcher__content": "lc-ProductSwitcher-module__product-switcher__content___-P5yw",
6994
7015
  "product-switcher__footer": "lc-ProductSwitcher-module__product-switcher__footer___YRPN9",
6995
7016
  "product-switcher__footer-link": "lc-ProductSwitcher-module__product-switcher__footer-link___X0VOn",
6996
7017
  "product-switcher__tooltip": "lc-ProductSwitcher-module__product-switcher__tooltip___kcVyp"
6997
- }, Ha = "product-switcher", Yu = ({
7018
+ }, za = "product-switcher", Yu = ({
6998
7019
  productOptions: e,
6999
7020
  mainProductId: a,
7000
7021
  openedOnInit: r = !1,
@@ -7007,19 +7028,19 @@ const Iu = (e) => {
7007
7028
  }) => {
7008
7029
  const [s, c] = v.useState(r), [p, m] = de(
7009
7030
  !1
7010
- ), f = Lr(), g = lr(), w = _ !== void 0, x = w ? _ : s, S = (M, q) => {
7011
- M ? l == null || l(q) : i == null || i(q), !w && c(M);
7012
- }, { refs: E, context: N, floatingStyles: C } = ir({
7031
+ ), f = Lr(), g = lr(), w = _ !== void 0, x = w ? _ : s, N = (P, q) => {
7032
+ P ? l == null || l(q) : i == null || i(q), !w && c(P);
7033
+ }, { refs: E, context: $, floatingStyles: S } = ir({
7013
7034
  nodeId: g,
7014
7035
  strategy: "fixed",
7015
7036
  placement: "right-start",
7016
7037
  open: x,
7017
- onOpenChange: (M, q) => {
7018
- m(!1), S(M, q);
7038
+ onOpenChange: (P, q) => {
7039
+ m(!1), N(P, q);
7019
7040
  },
7020
7041
  middleware: [nr({ mainAxis: 5 })],
7021
7042
  whileElementsMounted: cr
7022
- }), $ = sr(N), b = ur(N), k = dr(N), { isMounted: I, styles: T } = zr(N, {
7043
+ }), C = sr($), b = ur($), k = dr($), { isMounted: B, styles: T } = Hr($, {
7023
7044
  duration: 200,
7024
7045
  common: {
7025
7046
  transformOrigin: "left top"
@@ -7029,21 +7050,21 @@ const Iu = (e) => {
7029
7050
  transform: "scale(0.84) translateX(-22px)"
7030
7051
  }
7031
7052
  }), { getReferenceProps: F, getFloatingProps: A } = mr([
7032
- $,
7053
+ C,
7033
7054
  k,
7034
7055
  b
7035
7056
  ]), O = e.find(
7036
- (M) => M.id === a
7057
+ (P) => P.id === a
7037
7058
  );
7038
7059
  if (!O)
7039
7060
  return null;
7040
- const G = (M, q) => {
7041
- q === a && M.preventDefault(), c(!1), n == null || n(q);
7042
- }, P = e.reduce(
7043
- (M, q) => M + (q.notificationCount || 0),
7061
+ const G = (P, q) => {
7062
+ q === a && P.preventDefault(), c(!1), n == null || n(q);
7063
+ }, M = e.reduce(
7064
+ (P, q) => P + (q.notificationCount || 0),
7044
7065
  0
7045
7066
  ), L = /* @__PURE__ */ h(Z, { children: [
7046
- /* @__PURE__ */ t("div", B(y({ ref: E.setReference }, F()), { children: /* @__PURE__ */ t(
7067
+ /* @__PURE__ */ t("div", I(y({ ref: E.setReference }, F()), { children: /* @__PURE__ */ t(
7047
7068
  ea,
7048
7069
  {
7049
7070
  isVisible: p,
@@ -7053,7 +7074,7 @@ const Iu = (e) => {
7053
7074
  arrowOffsetY: 2,
7054
7075
  offsetMainAxis: 10,
7055
7076
  hoverOnDelay: 400,
7056
- className: u(za[`${Ha}__tooltip`]),
7077
+ className: u(Ha[`${za}__tooltip`]),
7057
7078
  placement: "right",
7058
7079
  floatingStrategy: "fixed",
7059
7080
  kind: "invert",
@@ -7064,7 +7085,7 @@ const Iu = (e) => {
7064
7085
  icon: O.icon,
7065
7086
  iconColor: O.iconColor,
7066
7087
  backgroundColors: O.backgroundColors,
7067
- notificationCount: P
7088
+ notificationCount: M
7068
7089
  }
7069
7090
  ),
7070
7091
  closeOnTriggerBlur: !0,
@@ -7073,36 +7094,36 @@ const Iu = (e) => {
7073
7094
  ) })),
7074
7095
  /* @__PURE__ */ t(Sa, { id: g, children: /* @__PURE__ */ t(
7075
7096
  "div",
7076
- B(y({
7097
+ I(y({
7077
7098
  ref: E.setFloating,
7078
- style: C
7099
+ style: S
7079
7100
  }, A()), {
7080
- children: I && /* @__PURE__ */ h(
7101
+ children: B && /* @__PURE__ */ h(
7081
7102
  "div",
7082
7103
  {
7083
7104
  className: u(
7084
7105
  o ? "lc-dark-theme" : "lc-light-theme",
7085
- za[Ha]
7106
+ Ha[za]
7086
7107
  ),
7087
7108
  style: T,
7088
7109
  children: [
7089
- /* @__PURE__ */ t("div", { className: za[`${Ha}__content`], children: e.map((M) => /* @__PURE__ */ t(
7110
+ /* @__PURE__ */ t("div", { className: Ha[`${za}__content`], children: e.map((P) => /* @__PURE__ */ t(
7090
7111
  ts,
7091
7112
  {
7092
7113
  isDarkMode: o,
7093
- isActive: M.id === a,
7094
- product: M,
7114
+ isActive: P.id === a,
7115
+ product: P,
7095
7116
  onClick: G
7096
7117
  },
7097
- M.id
7118
+ P.id
7098
7119
  )) }),
7099
- /* @__PURE__ */ t("div", { className: za[`${Ha}__footer`], children: /* @__PURE__ */ h(
7120
+ /* @__PURE__ */ t("div", { className: Ha[`${za}__footer`], children: /* @__PURE__ */ h(
7100
7121
  "a",
7101
7122
  {
7102
7123
  href: d,
7103
7124
  target: "_blank",
7104
- className: za[`${Ha}__footer-link`],
7105
- onClick: () => S(!1),
7125
+ className: Ha[`${za}__footer-link`],
7126
+ onClick: () => N(!1),
7106
7127
  children: [
7107
7128
  /* @__PURE__ */ t(D, { noMargin: !0, children: "powered by" }),
7108
7129
  /* @__PURE__ */ t(
@@ -7122,7 +7143,7 @@ const Iu = (e) => {
7122
7143
  })
7123
7144
  ) })
7124
7145
  ] });
7125
- return f === null ? /* @__PURE__ */ t(Hr, { children: L }) : L;
7146
+ return f === null ? /* @__PURE__ */ t(zr, { children: L }) : L;
7126
7147
  }, as = 'data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cg clip-path="url(%23clip0_24854_8994)"%3E%3Crect width="40" height="40" fill="%230066FF"/%3E%3Cg filter="url(%23filter0_f_24854_8994)"%3E%3Cpath d="M32.6382 31.0816C41.9891 31.0816 49.5694 23.5012 49.5694 14.1504C49.5694 4.79953 41.9891 -2.78082 32.6382 -2.78082C23.2874 -2.78082 15.707 4.79953 15.707 14.1504C15.707 23.5012 23.2874 31.0816 32.6382 31.0816Z" fill="%23FF4205"/%3E%3C/g%3E%3Cg filter="url(%23filter1_f_24854_8994)"%3E%3Cpath d="M10.417 50.1292C19.7679 50.1292 27.3482 42.5488 27.3482 33.198C27.3482 23.8471 19.7679 16.2668 10.417 16.2668C1.0662 16.2668 -6.51416 23.8471 -6.51416 33.198C-6.51416 42.5488 1.0662 50.1292 10.417 50.1292Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter2_f_24854_8994)"%3E%3Cpath d="M9.35788 16.2667C15.2022 16.2667 19.9399 11.529 19.9399 5.68472C19.9399 -0.159555 15.2022 -4.89728 9.35788 -4.89728C3.5136 -4.89728 -1.22412 -0.159555 -1.22412 5.68472C-1.22412 11.529 3.5136 16.2667 9.35788 16.2667Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter3_f_24854_8994)"%3E%3Cpath d="M7.24274 18.3831C13.6714 18.3831 18.8829 13.1716 18.8829 6.74292C18.8829 0.314217 13.6714 -4.89728 7.24274 -4.89728C0.814034 -4.89728 -4.39746 0.314217 -4.39746 6.74292C-4.39746 13.1716 0.814034 18.3831 7.24274 18.3831Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter4_f_24854_8994)"%3E%3Cpath d="M8.29938 21.5577C14.7281 21.5577 19.9396 16.3462 19.9396 9.91748C19.9396 3.48878 14.7281 -1.72272 8.29938 -1.72272C1.87068 -1.72272 -3.34082 3.48878 -3.34082 9.91748C-3.34082 16.3462 1.87068 21.5577 8.29938 21.5577Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter5_f_24854_8994)"%3E%3Cpath d="M33.6973 45.8964C40.126 45.8964 45.3375 40.6849 45.3375 34.2562C45.3375 27.8275 40.126 22.616 33.6973 22.616C27.2686 22.616 22.0571 27.8275 22.0571 34.2562C22.0571 40.6849 27.2686 45.8964 33.6973 45.8964Z" fill="%23FFD001"/%3E%3C/g%3E%3Cg filter="url(%23filter6_f_24854_8994)"%3E%3Cpath d="M29.4639 48.0128C35.8926 48.0128 41.1041 42.8013 41.1041 36.3726C41.1041 29.9439 35.8926 24.7324 29.4639 24.7324C23.0352 24.7324 17.8237 29.9439 17.8237 36.3726C17.8237 42.8013 23.0352 48.0128 29.4639 48.0128Z" fill="%23FFD001"/%3E%3C/g%3E%3Cg filter="url(%23filter7_f_24854_8994)"%3E%3Cpath d="M29.4639 48.0128C35.8926 48.0128 41.1041 42.8013 41.1041 36.3726C41.1041 29.9439 35.8926 24.7324 29.4639 24.7324C23.0352 24.7324 17.8237 29.9439 17.8237 36.3726C17.8237 42.8013 23.0352 48.0128 29.4639 48.0128Z" fill="%23FFD001"/%3E%3C/g%3E%3Cg filter="url(%23filter8_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter9_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter10_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter11_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter12_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter13_f_24854_8994)"%3E%3Cpath d="M9.35898 38.489C12.8655 38.489 15.7082 35.6463 15.7082 32.1398C15.7082 28.6332 12.8655 25.7906 9.35898 25.7906C5.8524 25.7906 3.00977 28.6332 3.00977 32.1398C3.00977 35.6463 5.8524 38.489 9.35898 38.489Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter14_f_24854_8994)"%3E%3Cpath d="M38.9871 31.0816C46.5846 31.0816 52.7437 24.9225 52.7437 17.325C52.7437 9.7274 46.5846 3.56836 38.9871 3.56836C31.3895 3.56836 25.2305 9.7274 25.2305 17.325C25.2305 24.9225 31.3895 31.0816 38.9871 31.0816Z" fill="%23FF4205"/%3E%3C/g%3E%3Cg filter="url(%23filter15_f_24854_8994)"%3E%3Cpath d="M38.9879 25.7905C45.4166 25.7905 50.6281 20.579 50.6281 14.1503C50.6281 7.72157 45.4166 2.51007 38.9879 2.51007C32.5592 2.51007 27.3477 7.72157 27.3477 14.1503C27.3477 20.579 32.5592 25.7905 38.9879 25.7905Z" fill="%23FF4205"/%3E%3C/g%3E%3Cg filter="url(%23filter16_f_24854_8994)"%3E%3Cpath d="M9.35868 21.5578C14.0341 21.5578 17.8243 17.7676 17.8243 13.0922C17.8243 8.41674 14.0341 4.62656 9.35868 4.62656C4.68325 4.62656 0.893066 8.41674 0.893066 13.0922C0.893066 17.7676 4.68325 21.5578 9.35868 21.5578Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter17_f_24854_8994)"%3E%3Cpath d="M31.5797 18.3831C35.0862 18.3831 37.9289 15.5404 37.9289 12.0339C37.9289 8.5273 35.0862 5.68466 31.5797 5.68466C28.0731 5.68466 25.2305 8.5273 25.2305 12.0339C25.2305 15.5404 28.0731 18.3831 31.5797 18.3831Z" fill="%23FF2E00"/%3E%3C/g%3E%3Cg filter="url(%23filter18_f_24854_8994)"%3E%3Cpath d="M12.5312 14.1503C18.3755 14.1503 23.1132 9.41257 23.1132 3.5683C23.1132 -2.27598 18.3755 -7.0137 12.5312 -7.0137C6.68694 -7.0137 1.94922 -2.27598 1.94922 3.5683C1.94922 9.41257 6.68694 14.1503 12.5312 14.1503Z" fill="%233851FF"/%3E%3C/g%3E%3Cg filter="url(%23filter19_f_24854_8994)"%3E%3Cpath d="M28.4057 13.0921C34.25 13.0921 38.9877 8.35441 38.9877 2.51013C38.9877 -3.33415 34.25 -8.07187 28.4057 -8.07187C22.5615 -8.07187 17.8237 -3.33415 17.8237 2.51013C17.8237 8.35441 22.5615 13.0921 28.4057 13.0921Z" fill="%23F3354D"/%3E%3C/g%3E%3Cg filter="url(%23filter20_f_24854_8994)"%3E%3Cpath d="M33.6958 48.0128C39.54 48.0128 44.2778 43.275 44.2778 37.4308C44.2778 31.5865 39.54 26.8488 33.6958 26.8488C27.8515 26.8488 23.1138 31.5865 23.1138 37.4308C23.1138 43.275 27.8515 48.0128 33.6958 48.0128Z" fill="%23FFD101"/%3E%3C/g%3E%3Cg filter="url(%23filter21_f_24854_8994)"%3E%3Cpath d="M8.30173 43.78C14.146 43.78 18.8837 39.0422 18.8837 33.198C18.8837 27.3537 14.146 22.616 8.30173 22.616C2.45745 22.616 -2.28027 27.3537 -2.28027 33.198C-2.28027 39.0422 2.45745 43.78 8.30173 43.78Z" fill="%237FCF35"/%3E%3C/g%3E%3Cg filter="url(%23filter22_f_24854_8994)"%3E%3Cpath d="M6.18454 34.2562C12.0288 34.2562 16.7665 29.5184 16.7665 23.6742C16.7665 17.8299 12.0288 13.0922 6.18454 13.0922C0.340261 13.0922 -4.39746 17.8299 -4.39746 23.6742C-4.39746 29.5184 0.340261 34.2562 6.18454 34.2562Z" fill="%231D7DD0"/%3E%3C/g%3E%3C/g%3E%3Cdefs%3E%3Cfilter id="filter0_f_24854_8994" x="-8.29297" y="-26.7808" width="81.8623" height="81.8624" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter1_f_24854_8994" x="-30.5142" y="-7.73322" width="81.8623" height="81.8624" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter2_f_24854_8994" x="-25.2241" y="-28.8973" width="69.1641" height="69.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter3_f_24854_8994" x="-28.3975" y="-28.8973" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter4_f_24854_8994" x="-27.3408" y="-25.7227" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter5_f_24854_8994" x="-1.94287" y="-1.38403" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter6_f_24854_8994" x="-6.17627" y="0.732361" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter7_f_24854_8994" x="-6.17627" y="0.732361" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter8_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter9_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter10_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter11_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter12_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter13_f_24854_8994" x="-20.9902" y="1.79056" width="60.6982" height="60.6984" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter14_f_24854_8994" x="1.23047" y="-20.4316" width="75.5132" height="75.5132" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter15_f_24854_8994" x="3.34766" y="-21.4899" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter16_f_24854_8994" x="-23.1069" y="-19.3734" width="64.9312" height="64.9312" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter17_f_24854_8994" x="1.23047" y="-18.3153" width="60.6982" height="60.6984" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter18_f_24854_8994" x="-9.05078" y="-18.0137" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter19_f_24854_8994" x="6.82373" y="-19.0719" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter20_f_24854_8994" x="12.1138" y="15.8488" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter21_f_24854_8994" x="-13.2803" y="11.616" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter22_f_24854_8994" x="-15.3975" y="2.09216" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3CclipPath id="clip0_24854_8994"%3E%3Crect width="40" height="40" fill="white"/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A', rs = [
7127
7148
  {
7128
7149
  id: "livechat",
@@ -7346,7 +7367,7 @@ const Iu = (e) => {
7346
7367
  );
7347
7368
  if (!i)
7348
7369
  throw new Error(`Product data for ${e.id} not found`);
7349
- return B(y({}, e), {
7370
+ return I(y({}, e), {
7350
7371
  trialDaysLeft: r[e.id] && ((n = r[e.id]) == null ? void 0 : n.status) === "trial" && ((d = r[e.id]) != null && d.next_charge_at) ? ns((c = (s = r[e.id]) == null ? void 0 : s.next_charge_at) != null ? c : "") : void 0,
7351
7372
  expired: ((p = r[e.id]) == null ? void 0 : p.status) === "expired",
7352
7373
  url: is(
@@ -7447,7 +7468,7 @@ const Va = {
7447
7468
  }, g = `${c / 2} ${c / 2} ${c} ${c}`;
7448
7469
  return /* @__PURE__ */ t(
7449
7470
  "div",
7450
- B(y({
7471
+ I(y({
7451
7472
  className: p,
7452
7473
  ref: l,
7453
7474
  role: "progressbar"
@@ -7513,7 +7534,7 @@ const Va = {
7513
7534
  );
7514
7535
  return /* @__PURE__ */ t(
7515
7536
  "div",
7516
- B(y({}, o), {
7537
+ I(y({}, o), {
7517
7538
  className: s,
7518
7539
  ref: l,
7519
7540
  role: "progressbar",
@@ -7539,7 +7560,7 @@ const Va = {
7539
7560
  "promo-banner-v2__close__btn": "lc-PromoBannerV2-module__promo-banner-v2__close__btn___23Qui",
7540
7561
  "promo-banner-v2--dark": "lc-PromoBannerV2-module__promo-banner-v2--dark___pmXpS",
7541
7562
  "promo-banner-v2--vertical": "lc-PromoBannerV2-module__promo-banner-v2--vertical___hXlPD"
7542
- }, Ht = "promo-banner-v2", Zu = ({
7563
+ }, zt = "promo-banner-v2", Zu = ({
7543
7564
  children: e,
7544
7565
  className: a,
7545
7566
  additionalContent: r,
@@ -7553,7 +7574,7 @@ const Va = {
7553
7574
  }) => {
7554
7575
  const c = u(
7555
7576
  Bt["main-wrapper"],
7556
- Bt[`${Ht}--${s}`],
7577
+ Bt[`${zt}--${s}`],
7557
7578
  s === "dark" && Qt.Dark,
7558
7579
  a
7559
7580
  );
@@ -7561,33 +7582,33 @@ const Va = {
7561
7582
  "div",
7562
7583
  {
7563
7584
  className: u(
7564
- Bt[Ht],
7565
- l && Bt[`${Ht}--vertical`]
7585
+ Bt[zt],
7586
+ l && Bt[`${zt}--vertical`]
7566
7587
  ),
7567
7588
  children: [
7568
7589
  /* @__PURE__ */ h(
7569
7590
  "div",
7570
7591
  {
7571
7592
  "data-testId": "content",
7572
- className: u(Bt[`${Ht}__content`], i),
7593
+ className: u(Bt[`${zt}__content`], i),
7573
7594
  children: [
7574
7595
  e,
7575
- (_ || o) && /* @__PURE__ */ h("div", { className: Bt[`${Ht}__content__cta`], children: [
7596
+ (_ || o) && /* @__PURE__ */ h("div", { className: Bt[`${zt}__content__cta`], children: [
7576
7597
  _ && /* @__PURE__ */ t(
7577
- H,
7578
- B(y({}, _), {
7598
+ z,
7599
+ I(y({}, _), {
7579
7600
  kind: (_ == null ? void 0 : _.kind) || "high-contrast",
7580
7601
  onClick: _.handleClick,
7581
7602
  children: _.label
7582
7603
  })
7583
7604
  ),
7584
7605
  o && /* @__PURE__ */ t(
7585
- H,
7586
- B(y({}, o), {
7606
+ z,
7607
+ I(y({}, o), {
7587
7608
  kind: (o == null ? void 0 : o.kind) || "text",
7588
7609
  onClick: o.handleClick,
7589
7610
  className: u(
7590
- Bt[`${Ht}__content__cta__secondary`],
7611
+ Bt[`${zt}__content__cta__secondary`],
7591
7612
  o.className
7592
7613
  ),
7593
7614
  children: o.label
@@ -7602,16 +7623,16 @@ const Va = {
7602
7623
  {
7603
7624
  "data-testId": "additional-content",
7604
7625
  className: u(
7605
- Bt[`${Ht}__additional-content`],
7626
+ Bt[`${zt}__additional-content`],
7606
7627
  n
7607
7628
  ),
7608
7629
  children: r
7609
7630
  }
7610
7631
  ),
7611
- d && /* @__PURE__ */ t("div", { className: Bt[`${Ht}__close`], children: /* @__PURE__ */ t(
7612
- H,
7632
+ d && /* @__PURE__ */ t("div", { className: Bt[`${zt}__close`], children: /* @__PURE__ */ t(
7633
+ z,
7613
7634
  {
7614
- className: Bt[`${Ht}__close__btn`],
7635
+ className: Bt[`${zt}__close__btn`],
7615
7636
  onClick: d,
7616
7637
  icon: /* @__PURE__ */ t(R, { source: dt, kind: "primary" }),
7617
7638
  kind: "plain",
@@ -7647,7 +7668,7 @@ const Va = {
7647
7668
  /* @__PURE__ */ t("span", { className: It[`${At}__inner-circle`] }),
7648
7669
  /* @__PURE__ */ t(
7649
7670
  "input",
7650
- B(y({}, l), {
7671
+ I(y({}, l), {
7651
7672
  className: It[`${At}__input`],
7652
7673
  ref: i,
7653
7674
  type: "radio",
@@ -7710,14 +7731,14 @@ const Va = {
7710
7731
  id: "lastMonth",
7711
7732
  label: "Last month",
7712
7733
  value: {
7713
- from: H_(ia(_t, 1)),
7734
+ from: z_(ia(_t, 1)),
7714
7735
  to: ai(ia(_t, 1))
7715
7736
  }
7716
7737
  },
7717
7738
  {
7718
7739
  id: "currentMonth",
7719
7740
  label: "Current month",
7720
- value: { from: H_(_t), to: _t }
7741
+ value: { from: z_(_t), to: _t }
7721
7742
  }
7722
7743
  ], vs = (e, a) => a != null && a.from && (a != null && a.to) && (e != null && e.from) && (e != null && e.to) ? a.from.getTime() === e.from.getTime() && a.to.getTime() === e.to.getTime() : !1, Re = {
7723
7744
  "range-date-picker__popover": "lc-RangeDatePickerV2-module__range-date-picker__popover___0Q1sv",
@@ -7750,49 +7771,49 @@ const Va = {
7750
7771
  const { initialFromDate: d, initialToDate: s } = l, c = d || s ? {
7751
7772
  from: d,
7752
7773
  to: s
7753
- } : void 0, [p, m] = de(c), [f, g] = de(!1), [w, x] = de(), [S, E] = de(e), [N, C] = de(), $ = Xt(-1), b = Xt(null);
7774
+ } : void 0, [p, m] = de(c), [f, g] = de(!1), [w, x] = de(), [N, E] = de(e), [$, S] = de(), C = Xt(-1), b = Xt(null);
7754
7775
  window.onresize = () => window.innerWidth <= ks ? g(!0) : g(!1);
7755
- const k = (P) => $.current + P, I = (P) => {
7776
+ const k = (M) => C.current + M, B = (M) => {
7756
7777
  var q, Y;
7757
- $.current = k(P);
7758
- const L = (q = b.current) == null ? void 0 : q.children, M = L && ((Y = L[$.current]) == null ? void 0 : Y.children[0]);
7759
- return M == null ? void 0 : M.focus();
7760
- }, T = (P) => {
7761
- P.key === ue.arrowUp && $.current > 0 && (P.preventDefault(), I(-1)), P.key === ue.arrowDown && $.current + 1 < Br.length && (P.preventDefault(), I(1));
7762
- }, F = (P, L) => {
7763
- m(P || void 0), r(P, L), x(void 0), C(void 0);
7778
+ C.current = k(M);
7779
+ const L = (q = b.current) == null ? void 0 : q.children, P = L && ((Y = L[C.current]) == null ? void 0 : Y.children[0]);
7780
+ return P == null ? void 0 : P.focus();
7781
+ }, T = (M) => {
7782
+ M.key === ue.arrowUp && C.current > 0 && (M.preventDefault(), B(-1)), M.key === ue.arrowDown && C.current + 1 < Br.length && (M.preventDefault(), B(1));
7783
+ }, F = (M, L) => {
7784
+ m(M || void 0), r(M, L), x(void 0), S(void 0);
7764
7785
  }, A = () => {
7765
7786
  x(void 0), E(!1);
7766
7787
  }, O = kt(
7767
- ({ from: P, to: L }, M) => {
7768
- F({ from: P, to: L }, M), A(), C(M);
7788
+ ({ from: M, to: L }, P) => {
7789
+ F({ from: M, to: L }, P), A(), S(P);
7769
7790
  },
7770
7791
  [F, A]
7771
7792
  ), G = kt(
7772
- (P) => {
7773
- !P || vs(P, p) || (F(P), A());
7793
+ (M) => {
7794
+ !M || vs(M, p) || (F(M), A());
7774
7795
  },
7775
7796
  [p]
7776
7797
  );
7777
7798
  return V(() => {
7778
- if (S)
7799
+ if (N)
7779
7800
  return document.addEventListener("keydown", T), () => document.removeEventListener("keydown", T);
7780
- $.current = -1;
7781
- }, [S, T]), V(() => {
7801
+ C.current = -1;
7802
+ }, [N, T]), V(() => {
7782
7803
  if (a && !p) {
7783
- const P = Br.find(({ id: L }) => L === a);
7784
- P && O(P.value, P.id);
7804
+ const M = Br.find(({ id: L }) => L === a);
7805
+ M && O(M.value, M.id);
7785
7806
  }
7786
7807
  }, [a, p, O]), /* @__PURE__ */ t("div", { className: Re[Ge], children: /* @__PURE__ */ t(
7787
7808
  es,
7788
7809
  {
7789
- isVisible: S,
7810
+ isVisible: N,
7790
7811
  onOpen: () => E(!0),
7791
7812
  onClose: A,
7792
7813
  className: Re[`${Ge}__popover`],
7793
7814
  placement: "bottom-start",
7794
7815
  triggerRenderer: () => {
7795
- var P;
7816
+ var M;
7796
7817
  return /* @__PURE__ */ h(
7797
7818
  "div",
7798
7819
  {
@@ -7803,12 +7824,12 @@ const Va = {
7803
7824
  className: u(
7804
7825
  Re[`${Ge}__trigger`],
7805
7826
  {
7806
- [Re[`${Ge}__trigger--active`]]: S
7827
+ [Re[`${Ge}__trigger--active`]]: N
7807
7828
  },
7808
7829
  _
7809
7830
  ),
7810
7831
  onKeyDown: (L) => {
7811
- (L.key === ue.enter || L.key === ue.spacebar) && I(1);
7832
+ (L.key === ue.enter || L.key === ue.spacebar) && B(1);
7812
7833
  },
7813
7834
  children: [
7814
7835
  /* @__PURE__ */ t(
@@ -7816,7 +7837,7 @@ const Va = {
7816
7837
  {
7817
7838
  tempDate: w,
7818
7839
  date: p,
7819
- selectedOptionName: (P = Br.find(({ id: L }) => L === N)) == null ? void 0 : P.label
7840
+ selectedOptionName: (M = Br.find(({ id: L }) => L === $)) == null ? void 0 : M.label
7820
7841
  }
7821
7842
  ),
7822
7843
  /* @__PURE__ */ h(
@@ -7835,7 +7856,7 @@ const Va = {
7835
7856
  }
7836
7857
  ),
7837
7858
  p && /* @__PURE__ */ t(
7838
- H,
7859
+ z,
7839
7860
  {
7840
7861
  size: "xcompact",
7841
7862
  kind: "plain",
@@ -7867,23 +7888,23 @@ const Va = {
7867
7888
  role: "menu",
7868
7889
  ref: b,
7869
7890
  className: Re[`${Ge}__date-picker__list`],
7870
- children: Br.map((P) => /* @__PURE__ */ t("li", { role: "none", children: /* @__PURE__ */ h(
7891
+ children: Br.map((M) => /* @__PURE__ */ t("li", { role: "none", children: /* @__PURE__ */ h(
7871
7892
  "button",
7872
7893
  {
7873
- "aria-selected": N === P.id,
7894
+ "aria-selected": $ === M.id,
7874
7895
  role: "menuitem",
7875
7896
  className: u(
7876
7897
  Re[`${Ge}__date-picker__list__item`],
7877
7898
  {
7878
- [Re[`${Ge}__date-picker__list__item--selected`]]: N === P.id
7899
+ [Re[`${Ge}__date-picker__list__item--selected`]]: $ === M.id
7879
7900
  }
7880
7901
  ),
7881
- onClick: () => O(P.value, P.id),
7882
- onMouseEnter: () => x(P.value),
7902
+ onClick: () => O(M.value, M.id),
7903
+ onMouseEnter: () => x(M.value),
7883
7904
  onMouseLeave: () => x(void 0),
7884
7905
  children: [
7885
- /* @__PURE__ */ t(D, { as: "span", children: P.label }),
7886
- N === P.id && /* @__PURE__ */ t(
7906
+ /* @__PURE__ */ t(D, { as: "span", children: M.label }),
7907
+ $ === M.id && /* @__PURE__ */ t(
7887
7908
  "div",
7888
7909
  {
7889
7910
  className: Re[`${Ge}__date-picker__list__item__icon`],
@@ -7892,19 +7913,19 @@ const Va = {
7892
7913
  )
7893
7914
  ]
7894
7915
  }
7895
- ) }, P.id))
7916
+ ) }, M.id))
7896
7917
  }
7897
7918
  ),
7898
7919
  /* @__PURE__ */ t("div", { className: Re[`${Ge}__date-picker__callendar`], children: /* @__PURE__ */ t(
7899
7920
  jo,
7900
- B(y({
7921
+ I(y({
7901
7922
  onRangeSelect: G,
7902
7923
  customTempFromDate: (w == null ? void 0 : w.from) || (p == null ? void 0 : p.from),
7903
7924
  customTempToDate: (w == null ? void 0 : w.to) || (p == null ? void 0 : p.to),
7904
7925
  onCustomTempDateRangeChange: x,
7905
7926
  initialToDate: (p == null ? void 0 : p.to) || ys
7906
7927
  }, l), {
7907
- children: ({ datepicker: P }) => /* @__PURE__ */ t(Sc, B(y({}, P), { numberOfMonths: f ? 1 : 2 }))
7928
+ children: ({ datepicker: M }) => /* @__PURE__ */ t(Sc, I(y({}, M), { numberOfMonths: f ? 1 : 2 }))
7908
7929
  })
7909
7930
  ) })
7910
7931
  ]
@@ -7960,7 +7981,7 @@ const Va = {
7960
7981
  ]);
7961
7982
  const f = v.useRef(null);
7962
7983
  v.useImperativeHandle(c, () => f.current, [c]);
7963
- const [g, w] = v.useState(!0), [x, S] = v.useState(!1), E = !!l && !a && !r, N = e && !g && "true", C = u(
7984
+ const [g, w] = v.useState(!0), [x, N] = v.useState(!1), E = !!l && !a && !r, $ = e && !g && "true", S = u(
7964
7985
  i,
7965
7986
  Ue[it],
7966
7987
  Ue[`${it}--${o}`],
@@ -7973,26 +7994,26 @@ const Va = {
7973
7994
  v.useEffect(() => {
7974
7995
  e && l && w(!1);
7975
7996
  }, [e, l]);
7976
- const $ = (A) => {
7997
+ const C = (A) => {
7977
7998
  const O = A.currentTarget.value;
7978
7999
  d(O);
7979
8000
  }, b = () => {
7980
8001
  d("");
7981
8002
  }, k = () => {
7982
8003
  f.current && f.current.focus();
7983
- }, I = () => {
7984
- e && w(!1), S(!0);
8004
+ }, B = () => {
8005
+ e && w(!1), N(!0);
7985
8006
  }, T = () => {
7986
- e && !l && w(!0), S(!1);
8007
+ e && !l && w(!0), N(!1);
7987
8008
  }, F = (A) => {
7988
8009
  A.key === ue.enter && (A.preventDefault(), d(l));
7989
8010
  };
7990
8011
  return /* @__PURE__ */ h(
7991
8012
  "div",
7992
8013
  {
7993
- "aria-expanded": N,
8014
+ "aria-expanded": $,
7994
8015
  role: "search",
7995
- className: C,
8016
+ className: S,
7996
8017
  onClick: k,
7997
8018
  children: [
7998
8019
  /* @__PURE__ */ t(
@@ -8024,9 +8045,9 @@ const Va = {
8024
8045
  type: "text",
8025
8046
  value: l,
8026
8047
  placeholder: _,
8027
- onChange: $,
8048
+ onChange: C,
8028
8049
  onBlur: T,
8029
- onFocus: I,
8050
+ onFocus: B,
8030
8051
  onKeyDown: F,
8031
8052
  disabled: a
8032
8053
  }, s)
@@ -8034,7 +8055,7 @@ const Va = {
8034
8055
  }
8035
8056
  ),
8036
8057
  E && /* @__PURE__ */ t(
8037
- H,
8058
+ z,
8038
8059
  {
8039
8060
  "aria-label": "Clear search",
8040
8061
  title: "Clear search",
@@ -8088,7 +8109,7 @@ const Ka = {
8088
8109
  ), { handleInteractiveClick: p } = si({ onClick: l });
8089
8110
  return /* @__PURE__ */ h(
8090
8111
  "div",
8091
- B(y({
8112
+ I(y({
8092
8113
  "aria-selected": o,
8093
8114
  "aria-label": typeof e == "string" ? e : void 0,
8094
8115
  role: "button",
@@ -8133,7 +8154,7 @@ const Ka = {
8133
8154
  "customElement",
8134
8155
  "contentClassName"
8135
8156
  ]);
8136
- return /* @__PURE__ */ t(R_, B(y({}, l), { kind: "thumbnail", children: /* @__PURE__ */ h(
8157
+ return /* @__PURE__ */ t(R_, I(y({}, l), { kind: "thumbnail", children: /* @__PURE__ */ h(
8137
8158
  "div",
8138
8159
  {
8139
8160
  role: "presentation",
@@ -8178,7 +8199,7 @@ const Ka = {
8178
8199
  ]);
8179
8200
  return /* @__PURE__ */ t(
8180
8201
  R_,
8181
- B(y({}, l), {
8202
+ I(y({}, l), {
8182
8203
  className: u(o, {
8183
8204
  [d_[`${u_}--with-label`]]: e
8184
8205
  }),
@@ -8208,7 +8229,7 @@ const Ka = {
8208
8229
  "children",
8209
8230
  "contentClassName"
8210
8231
  ]);
8211
- return /* @__PURE__ */ t(R_, B(y({}, r), { kind: "interactive", children: /* @__PURE__ */ t(
8232
+ return /* @__PURE__ */ t(R_, I(y({}, r), { kind: "interactive", children: /* @__PURE__ */ t(
8212
8233
  "div",
8213
8234
  {
8214
8235
  role: "presentation",
@@ -8223,7 +8244,7 @@ const Ka = {
8223
8244
  }, Ns = "grid-wrapper", tm = ({
8224
8245
  children: e,
8225
8246
  className: a
8226
- }) => /* @__PURE__ */ t("div", { className: `${al[Ns]} ${a || ""}`, children: e }), rl = ({ children: e, className: a, baseClass: r, role: _ = "presentation" }) => /* @__PURE__ */ t("div", { role: _, className: `${al[r]} ${a || ""}`, children: e }), am = (e) => /* @__PURE__ */ t(rl, B(y({}, e), { baseClass: "grid-row" })), rm = (e) => /* @__PURE__ */ t(rl, B(y({}, e), { baseClass: "grid-col" })), Ss = "lc-Skeleton-module__loading___fc1WK", na = {
8247
+ }) => /* @__PURE__ */ t("div", { className: `${al[Ns]} ${a || ""}`, children: e }), rl = ({ children: e, className: a, baseClass: r, role: _ = "presentation" }) => /* @__PURE__ */ t("div", { role: _, className: `${al[r]} ${a || ""}`, children: e }), am = (e) => /* @__PURE__ */ t(rl, I(y({}, e), { baseClass: "grid-row" })), rm = (e) => /* @__PURE__ */ t(rl, I(y({}, e), { baseClass: "grid-col" })), Ss = "lc-Skeleton-module__loading___fc1WK", na = {
8227
8248
  "skeleton-wrapper": "lc-Skeleton-module__skeleton-wrapper___5N-1n",
8228
8249
  "skeleton-wrapper--vertical": "lc-Skeleton-module__skeleton-wrapper--vertical___0sU7e",
8229
8250
  "skeleton-avatar": "lc-Skeleton-module__skeleton-avatar___7-CDQ",
@@ -8239,7 +8260,7 @@ const Ka = {
8239
8260
  }) : n);
8240
8261
  return /* @__PURE__ */ t(
8241
8262
  "div",
8242
- B(y({
8263
+ I(y({
8243
8264
  className: u(na[`${ho}`], {
8244
8265
  [na[`${ho}--vertical`]]: a
8245
8266
  })
@@ -8366,7 +8387,7 @@ const Ka = {
8366
8387
  ]);
8367
8388
  const f = o !== void 0, [g, w] = v.useState(
8368
8389
  () => f ? o : a
8369
- ), [x, S] = v.useState(!1), E = f ? o : g, N = n === "loading", C = n === "locked", $ = i === "large" ? "small" : "xsmall", b = E ? "on" : "off", k = r || N || C, I = k ? "disabled" : "enabled", T = u(
8390
+ ), [x, N] = v.useState(!1), E = f ? o : g, $ = n === "loading", S = n === "locked", C = i === "large" ? "small" : "xsmall", b = E ? "on" : "off", k = r || $ || S, B = k ? "disabled" : "enabled", T = u(
8370
8391
  ve[ge],
8371
8392
  ve[`${ge}--${i}`],
8372
8393
  {
@@ -8379,11 +8400,11 @@ const Ka = {
8379
8400
  return /* @__PURE__ */ h("span", { className: T, children: [
8380
8401
  /* @__PURE__ */ t(
8381
8402
  "input",
8382
- B(y({
8403
+ I(y({
8383
8404
  type: "checkbox",
8384
8405
  className: u(
8385
8406
  ve[`${ge}__input`],
8386
- ve[`${ge}__input--${I}`]
8407
+ ve[`${ge}__input--${B}`]
8387
8408
  ),
8388
8409
  onChange: F,
8389
8410
  checked: E,
@@ -8392,8 +8413,8 @@ const Ka = {
8392
8413
  disabled: k,
8393
8414
  "aria-label": s
8394
8415
  }, c), {
8395
- onFocus: () => S(!0),
8396
- onBlur: () => S(!1)
8416
+ onFocus: () => N(!0),
8417
+ onBlur: () => N(!1)
8397
8418
  })
8398
8419
  ),
8399
8420
  /* @__PURE__ */ h(
@@ -8409,7 +8430,7 @@ const Ka = {
8409
8430
  className: u(
8410
8431
  ve[`${ge}__track`],
8411
8432
  ve[`${ge}__track--${b}`],
8412
- ve[`${ge}__track--${I}`]
8433
+ ve[`${ge}__track--${B}`]
8413
8434
  )
8414
8435
  }
8415
8436
  ),
@@ -8418,12 +8439,12 @@ const Ka = {
8418
8439
  {
8419
8440
  className: u(
8420
8441
  ve[`${ge}__slider`],
8421
- ve[`${ge}__slider--${I}`],
8442
+ ve[`${ge}__slider--${B}`],
8422
8443
  ve[`${ge}__slider--${i}`],
8423
8444
  ve[`${ge}__slider--${i}--${b}`]
8424
8445
  ),
8425
8446
  children: [
8426
- N && /* @__PURE__ */ t(
8447
+ $ && /* @__PURE__ */ t(
8427
8448
  O_,
8428
8449
  {
8429
8450
  "data-testid": "switch-loader",
@@ -8433,12 +8454,12 @@ const Ka = {
8433
8454
  )
8434
8455
  }
8435
8456
  ),
8436
- C && /* @__PURE__ */ t(
8457
+ S && /* @__PURE__ */ t(
8437
8458
  R,
8438
8459
  {
8439
8460
  className: ve[`${ge}__icon`],
8440
8461
  "data-testid": "lock-icon",
8441
- size: $,
8462
+ size: C,
8442
8463
  source: Dl,
8443
8464
  kind: "primary"
8444
8465
  }
@@ -8450,14 +8471,14 @@ const Ka = {
8450
8471
  }
8451
8472
  )
8452
8473
  ] });
8453
- }, Ds = "lc-Tab-module__tab___ShyYn", Os = "lc-Tab-module__tab__count___7QKoz", Ms = "lc-Tab-module__tab__icon___eCD-d", Ps = "lc-Tab-module__tab__badge___nwfVJ", ra = {
8474
+ }, Ds = "lc-Tab-module__tab___ShyYn", Os = "lc-Tab-module__tab__count___7QKoz", Ps = "lc-Tab-module__tab__icon___eCD-d", Ms = "lc-Tab-module__tab__badge___nwfVJ", ra = {
8454
8475
  tab: Ds,
8455
8476
  tab__count: Os,
8456
8477
  "tab--compact": "lc-Tab-module__tab--compact___yetP5",
8457
8478
  "tab--medium": "lc-Tab-module__tab--medium___KhPsI",
8458
8479
  "tab--large": "lc-Tab-module__tab--large___3GE8k",
8459
- tab__icon: Ms,
8460
- tab__badge: Ps,
8480
+ tab__icon: Ps,
8481
+ tab__badge: Ms,
8461
8482
  "tab--selected": "lc-Tab-module__tab--selected___vsPhT",
8462
8483
  "tab--disabled": "lc-Tab-module__tab--disabled___JPMHC"
8463
8484
  }, _a = "tab", cm = (d) => {
@@ -8481,7 +8502,7 @@ const Ka = {
8481
8502
  const { disabled: c } = n, p = r !== void 0 && !o, m = r !== void 0 && o;
8482
8503
  return /* @__PURE__ */ h(
8483
8504
  D,
8484
- B(y({}, n), {
8505
+ I(y({}, n), {
8485
8506
  as: n.href ? "a" : "button",
8486
8507
  "aria-selected": _,
8487
8508
  size: "md",
@@ -8502,7 +8523,7 @@ const Ka = {
8502
8523
  ")"
8503
8524
  ] }),
8504
8525
  m && /* @__PURE__ */ t(
8505
- Pr,
8526
+ Mr,
8506
8527
  {
8507
8528
  "data-testid": "tab-badge",
8508
8529
  count: r,
@@ -8546,7 +8567,7 @@ const Ka = {
8546
8567
  table__header: Ls,
8547
8568
  "row__select-cell": "lc-TableRow-module__row__select-cell___SecNT",
8548
8569
  row__selected: qs
8549
- }, f_ = "row", zs = ({
8570
+ }, f_ = "row", Hs = ({
8550
8571
  row: e,
8551
8572
  columns: a,
8552
8573
  columnWidths: r,
@@ -8591,7 +8612,7 @@ const Ka = {
8591
8612
  ))
8592
8613
  ]
8593
8614
  }
8594
- ), Hs = ({
8615
+ ), zs = ({
8595
8616
  data: e,
8596
8617
  columns: a,
8597
8618
  getRowId: r,
@@ -8602,7 +8623,7 @@ const Ka = {
8602
8623
  }) => /* @__PURE__ */ t("tbody", { role: "rowgroup", children: e.map((n) => {
8603
8624
  const d = r(n);
8604
8625
  return /* @__PURE__ */ t(
8605
- zs,
8626
+ Hs,
8606
8627
  {
8607
8628
  row: n,
8608
8629
  columns: a,
@@ -8615,7 +8636,7 @@ const Ka = {
8615
8636
  d
8616
8637
  );
8617
8638
  }) });
8618
- var ze = /* @__PURE__ */ ((e) => (e.Ascending = "asc", e.Descending = "desc", e.None = "none", e))(ze || {});
8639
+ var He = /* @__PURE__ */ ((e) => (e.Ascending = "asc", e.Descending = "desc", e.None = "none", e))(He || {});
8619
8640
  const Vs = "lc-TableHeader-module__header___JDLIB", Ws = "lc-TableHeader-module__header__cell___aYvzx", Ks = "lc-TableHeader-module__header__hiddenIcon___NNtMw", Ys = "lc-TableHeader-module__header__resizer___h-Al0", Xs = "lc-TableHeader-module__header__content___LRMNn", oa = {
8620
8641
  header: Vs,
8621
8642
  header__cell: Ws,
@@ -8627,13 +8648,13 @@ const Vs = "lc-TableHeader-module__header___JDLIB", Ws = "lc-TableHeader-module_
8627
8648
  "header--selectable": "lc-TableHeader-module__header--selectable___yPgDs"
8628
8649
  }, ca = "header", Zs = `${ca}__cell`, js = `${ca}__resizer`, Js = `${ca}__content`, Qs = `${ca}__hiddenIcon`;
8629
8650
  function ed(e, a, r, _) {
8630
- return e.key === a && e.direction !== ze.None && r ? /* @__PURE__ */ t(
8651
+ return e.key === a && e.direction !== He.None && r ? /* @__PURE__ */ t(
8631
8652
  R,
8632
8653
  {
8633
- source: e.direction === ze.Ascending ? Ol : Ml,
8654
+ source: e.direction === He.Ascending ? Ol : Pl,
8634
8655
  kind: "primary"
8635
8656
  }
8636
- ) : _ && r ? /* @__PURE__ */ t(R, { source: Pl, kind: "subtle" }) : /* @__PURE__ */ t(R, { source: Fl, className: oa[Qs] });
8657
+ ) : _ && r ? /* @__PURE__ */ t(R, { source: Ml, kind: "subtle" }) : /* @__PURE__ */ t(R, { source: Fl, className: oa[Qs] });
8637
8658
  }
8638
8659
  const td = ({
8639
8660
  columns: e,
@@ -8749,20 +8770,20 @@ const td = ({
8749
8770
  rowActions: p,
8750
8771
  testId: m
8751
8772
  }) => {
8752
- const f = v.useRef([]), [g, w] = v.useState(null), { isSelected: x, toggleRowSelection: S, toggleSelectAll: E, selectedCount: N } = Gs({
8773
+ const f = v.useRef([]), [g, w] = v.useState(null), { isSelected: x, toggleRowSelection: N, toggleSelectAll: E, selectedCount: $ } = Gs({
8753
8774
  data: e,
8754
8775
  getRowId: i,
8755
8776
  selectedRows: d,
8756
8777
  onSelectionChange: s
8757
- }), [C, $] = v.useState({
8778
+ }), [S, C] = v.useState({
8758
8779
  key: null,
8759
- direction: ze.None
8760
- }), [b, k] = v.useState(Array(a.length).fill(void 0)), I = (A, O) => {
8780
+ direction: He.None
8781
+ }), [b, k] = v.useState(Array(a.length).fill(void 0)), B = (A, O) => {
8761
8782
  O.preventDefault();
8762
- const G = O.clientX, P = b[A] || O.currentTarget.offsetWidth, L = b[A + 1] || 0, M = 1.05, q = (te) => {
8763
- const Ce = (te.clientX - G) * M;
8783
+ const G = O.clientX, M = b[A] || O.currentTarget.offsetWidth, L = b[A + 1] || 0, P = 1.05, q = (re) => {
8784
+ const Ce = (re.clientX - G) * P;
8764
8785
  k((fe) => {
8765
- const K = [...fe], j = Math.max(50, P + Ce), ut = Math.max(50, L - Ce);
8786
+ const K = [...fe], j = Math.max(50, M + Ce), ut = Math.max(50, L - Ce);
8766
8787
  return K[A] = j, A + 1 < K.length && (K[A + 1] = ut), K;
8767
8788
  });
8768
8789
  }, Y = () => {
@@ -8771,35 +8792,35 @@ const td = ({
8771
8792
  document.addEventListener("mousemove", q), document.addEventListener("mouseup", Y);
8772
8793
  }, T = (A) => {
8773
8794
  const O = a.find((G) => G.key === A);
8774
- !O || O.sortable === !1 || $((G) => {
8795
+ !O || O.sortable === !1 || C((G) => {
8775
8796
  if (G.key === A) {
8776
- let P;
8797
+ let M;
8777
8798
  switch (G.direction) {
8778
- case ze.None:
8779
- P = ze.Ascending;
8799
+ case He.None:
8800
+ M = He.Ascending;
8780
8801
  break;
8781
- case ze.Ascending:
8782
- P = ze.Descending;
8802
+ case He.Ascending:
8803
+ M = He.Descending;
8783
8804
  break;
8784
8805
  default:
8785
- P = ze.None;
8806
+ M = He.None;
8786
8807
  }
8787
8808
  return {
8788
- key: P === ze.None ? null : A,
8789
- direction: P
8809
+ key: M === He.None ? null : A,
8810
+ direction: M
8790
8811
  };
8791
8812
  } else
8792
- return { key: A, direction: ze.Ascending };
8813
+ return { key: A, direction: He.Ascending };
8793
8814
  });
8794
8815
  }, F = v.useMemo(() => {
8795
- if (!C.key || C.direction === ze.None)
8816
+ if (!S.key || S.direction === He.None)
8796
8817
  return e;
8797
- const A = a.find((O) => O.key === C.key);
8818
+ const A = a.find((O) => O.key === S.key);
8798
8819
  return A ? [...e].sort((O, G) => {
8799
- const P = A.sortable ? A.sortValue(O) : O[C.key], L = A.sortable ? A.sortValue(G) : G[C.key];
8800
- return P < L ? C.direction === ze.Ascending ? -1 : 1 : P > L ? C.direction === ze.Ascending ? 1 : -1 : 0;
8820
+ const M = A.sortable ? A.sortValue(O) : O[S.key], L = A.sortable ? A.sortValue(G) : G[S.key];
8821
+ return M < L ? S.direction === He.Ascending ? -1 : 1 : M > L ? S.direction === He.Ascending ? 1 : -1 : 0;
8801
8822
  }) : e;
8802
- }, [e, C, a]);
8823
+ }, [e, S, a]);
8803
8824
  return v.useEffect(() => {
8804
8825
  const A = f.current.map(
8805
8826
  (O) => (O == null ? void 0 : O.offsetWidth) || 0
@@ -8810,12 +8831,12 @@ const td = ({
8810
8831
  "div",
8811
8832
  {
8812
8833
  className: u(Dt[`${Ir}`], {
8813
- [Dt[`${Ir}--visible`]]: l && !!N,
8834
+ [Dt[`${Ir}--visible`]]: l && !!$,
8814
8835
  [Dt[`${Ir}--hidden`]]: !l
8815
8836
  }),
8816
8837
  children: [
8817
8838
  /* @__PURE__ */ t("div", { className: Dt[`${Ir}__content`], children: c || /* @__PURE__ */ h(D, { noMargin: !0, bold: !0, size: "sm", children: [
8818
- N,
8839
+ $,
8819
8840
  " selected"
8820
8841
  ] }) }),
8821
8842
  /* @__PURE__ */ t("div", { children: p })
@@ -8830,7 +8851,7 @@ const td = ({
8830
8851
  Dt[`${la}--${_}`],
8831
8852
  Dt[`${la}--pinned_${o}`],
8832
8853
  l && Dt[`${la}--pinned_header--selectable`],
8833
- l && !!N && Dt[`${la}--has-selected`],
8854
+ l && !!$ && Dt[`${la}--has-selected`],
8834
8855
  Dt[`${la}--stripped_${r}`]
8835
8856
  ),
8836
8857
  "data-testid": m,
@@ -8839,21 +8860,21 @@ const td = ({
8839
8860
  td,
8840
8861
  {
8841
8862
  columns: a,
8842
- sortConfig: C,
8863
+ sortConfig: S,
8843
8864
  handleSort: T,
8844
8865
  resizable: n,
8845
- handleMouseDown: I,
8866
+ handleMouseDown: B,
8846
8867
  columnRefs: f,
8847
8868
  selectable: l,
8848
8869
  hoveredColumnIndex: g,
8849
8870
  setHoveredColumnIndex: w,
8850
- selectedCount: N,
8871
+ selectedCount: $,
8851
8872
  dataLength: e.length,
8852
8873
  toggleSelectAll: E
8853
8874
  }
8854
8875
  ),
8855
8876
  /* @__PURE__ */ t(
8856
- Hs,
8877
+ zs,
8857
8878
  {
8858
8879
  data: F,
8859
8880
  columns: a,
@@ -8861,7 +8882,7 @@ const td = ({
8861
8882
  columnWidths: b,
8862
8883
  selectable: l,
8863
8884
  isSelected: x,
8864
- toggleRowSelection: S
8885
+ toggleRowSelection: N
8865
8886
  }
8866
8887
  )
8867
8888
  ]
@@ -8931,7 +8952,7 @@ const td = ({
8931
8952
  tagProps: n
8932
8953
  }) => {
8933
8954
  const d = v.useMemo(() => _ !== void 0 ? _(e) : !0, [e, _]), s = v.useRef(null), c = () => r(a), p = () => d ? n ? n.kind : "default" : "error";
8934
- return /* @__PURE__ */ t(Wo, B(y({ size: i }, n), { kind: p(), onRemove: c, children: /* @__PURE__ */ t(
8955
+ return /* @__PURE__ */ t(Wo, I(y({ size: i }, n), { kind: p(), onRemove: c, children: /* @__PURE__ */ t(
8935
8956
  nd,
8936
8957
  {
8937
8958
  value: e,
@@ -8985,81 +9006,81 @@ const td = ({
8985
9006
  [Qa[`${Ar}--error`]]: o
8986
9007
  },
8987
9008
  n
8988
- ), S = u(
9009
+ ), N = u(
8989
9010
  d,
8990
9011
  Qa[`${Ar}__input`],
8991
9012
  Qa[`${Ar}__input--${i}`]
8992
- ), [E, N] = v.useState(""), C = v.useRef(null), { readOnly: $ } = Ot(), b = $ || p, k = (M) => {
8993
- M.trim() !== "" && (r([...a || [], M]), N(""));
8994
- }, I = (M) => {
9013
+ ), [E, $] = v.useState(""), S = v.useRef(null), { readOnly: C } = Ot(), b = C || p, k = (P) => {
9014
+ P.trim() !== "" && (r([...a || [], P]), $(""));
9015
+ }, B = (P) => {
8995
9016
  const q = [...a || []];
8996
- q.splice(M, 1), r(q);
8997
- }, T = (M) => N(M.target.value), F = (M) => {
8998
- if (sd.includes(M.key)) {
8999
- if (M.preventDefault(), E === "")
9017
+ q.splice(P, 1), r(q);
9018
+ }, T = (P) => $(P.target.value), F = (P) => {
9019
+ if (sd.includes(P.key)) {
9020
+ if (P.preventDefault(), E === "")
9000
9021
  return;
9001
9022
  k(E);
9002
- } else if (dd.includes(M.key)) {
9023
+ } else if (dd.includes(P.key)) {
9003
9024
  if (E !== "" || !(a != null && a.length))
9004
9025
  return;
9005
- I(a.length - 1);
9026
+ B(a.length - 1);
9006
9027
  }
9007
- }, A = (M) => {
9008
- c && k(E), s == null || s(M);
9009
- }, O = (M, q) => {
9028
+ }, A = (P) => {
9029
+ c && k(E), s == null || s(P);
9030
+ }, O = (P, q) => {
9010
9031
  const Y = [...a || []];
9011
9032
  Y.reduce(
9012
- (Ce, fe, K) => Ce + (fe === q && K !== M ? 1 : 0),
9033
+ (Ce, fe, K) => Ce + (fe === q && K !== P ? 1 : 0),
9013
9034
  0
9014
- ) > 0 ? Y.splice(M, 1) : Y[M] = q, r(Y);
9015
- }, G = (M) => {
9016
- M.preventDefault();
9017
- const Y = M.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
9035
+ ) > 0 ? Y.splice(P, 1) : Y[P] = q, r(Y);
9036
+ }, G = (P) => {
9037
+ P.preventDefault();
9038
+ const Y = P.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
9018
9039
  r([...a || [], ...Y]);
9019
- }, P = (M) => typeof M == "string" ? M : M.value || (typeof M.children == "string" ? M.children : "");
9040
+ }, M = (P) => typeof P == "string" ? P : P.value || (typeof P.children == "string" ? P.children : "");
9020
9041
  if (b)
9021
9042
  return /* @__PURE__ */ t(
9022
9043
  xa,
9023
9044
  {
9024
- value: a == null ? void 0 : a.filter(Boolean).map(P).join(", "),
9045
+ value: a == null ? void 0 : a.filter(Boolean).map(M).join(", "),
9025
9046
  noDataFallbackText: m
9026
9047
  }
9027
9048
  );
9028
- const L = (M, q) => typeof M == "string" ? /* @__PURE__ */ t(
9049
+ const L = (P, q) => typeof P == "string" ? /* @__PURE__ */ t(
9029
9050
  bo,
9030
9051
  {
9031
9052
  index: q,
9032
9053
  update: O,
9033
- remove: I,
9034
- inputRef: C,
9054
+ remove: B,
9055
+ inputRef: S,
9035
9056
  validator: _,
9036
9057
  size: i,
9037
- children: M
9058
+ children: P
9038
9059
  },
9039
- `${q}${M}`
9060
+ `${q}${P}`
9040
9061
  ) : /* @__PURE__ */ t(
9041
9062
  bo,
9042
9063
  {
9043
9064
  index: q,
9044
9065
  update: O,
9045
- remove: I,
9046
- inputRef: C,
9066
+ remove: B,
9067
+ inputRef: S,
9047
9068
  validator: _,
9048
9069
  size: i,
9049
- tagProps: M,
9050
- children: M.value || M.children
9070
+ tagProps: P,
9071
+ children: P.value || P.children
9051
9072
  },
9052
- `${q}${M.children}`
9073
+ `${q}${P.children}`
9053
9074
  );
9054
9075
  return /* @__PURE__ */ h(Z, { children: [
9055
9076
  /* @__PURE__ */ h(D, { as: "div", className: x, children: [
9056
9077
  a == null ? void 0 : a.map(L),
9057
9078
  /* @__PURE__ */ t(
9058
9079
  "input",
9059
- B(y({}, f), {
9080
+ I(y({}, f), {
9060
9081
  id: e,
9061
- ref: C,
9062
- className: S,
9082
+ ref: S,
9083
+ className: N,
9063
9084
  placeholder: l,
9064
9085
  value: E,
9065
9086
  onChange: T,
@@ -9069,7 +9090,7 @@ const td = ({
9069
9090
  })
9070
9091
  )
9071
9092
  ] }),
9072
- o && /* @__PURE__ */ t(P_, { children: o })
9093
+ o && /* @__PURE__ */ t(M_, { children: o })
9073
9094
  ] });
9074
9095
  }, md = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/i, pd = "name@company.com", gd = (e) => md.test(e), mm = (r) => {
9075
9096
  var _ = r, {
@@ -9077,7 +9098,7 @@ const td = ({
9077
9098
  } = _, a = U(_, [
9078
9099
  "placeholder"
9079
9100
  ]);
9080
- return /* @__PURE__ */ t(ud, B(y({}, a), { placeholder: e, validator: gd }));
9101
+ return /* @__PURE__ */ t(ud, I(y({}, a), { placeholder: e, validator: gd }));
9081
9102
  }, hd = "lc-Toast-module__toast___ngbBR", fd = "lc-Toast-module__toast__content___XGt2m", bd = "lc-Toast-module__toast__actions___iFshW", vd = "lc-Toast-module__toast__actions__button___sQIbQ", we = {
9082
9103
  toast: hd,
9083
9104
  toast__content: fd,
@@ -9119,7 +9140,7 @@ const td = ({
9119
9140
  source: $o
9120
9141
  },
9121
9142
  info: {
9122
- source: Mr
9143
+ source: Pr
9123
9144
  }
9124
9145
  }, Jt = "toast", kd = (n) => {
9125
9146
  var d = n, {
@@ -9142,12 +9163,12 @@ const td = ({
9142
9163
  we[`${Jt}--${o}`],
9143
9164
  a
9144
9165
  ), c = typeof r == "string", p = (m) => m && m.closesOnClick && l ? (m.onClick(), l()) : m.onClick();
9145
- return /* @__PURE__ */ h("div", B(y({ className: s }, i), { children: [
9146
- /* @__PURE__ */ t("div", { className: we[`${Jt}__icon`], children: /* @__PURE__ */ t(R, B(y({}, yd[o]), { size: "medium" })) }),
9166
+ return /* @__PURE__ */ h("div", I(y({ className: s }, i), { children: [
9167
+ /* @__PURE__ */ t("div", { className: we[`${Jt}__icon`], children: /* @__PURE__ */ t(R, I(y({}, yd[o]), { size: "medium" })) }),
9147
9168
  /* @__PURE__ */ t("div", { className: we[`${Jt}__content`], children: c ? /* @__PURE__ */ t(D, { as: "div", children: r }) : r }),
9148
9169
  (e || _) && /* @__PURE__ */ h("div", { className: we[`${Jt}__actions`], children: [
9149
9170
  e && /* @__PURE__ */ t(
9150
- H,
9171
+ z,
9151
9172
  {
9152
9173
  className: we[`${Jt}__actions--custom`],
9153
9174
  kind: "text",
@@ -9220,7 +9241,7 @@ const td = ({
9220
9241
  }, Or = "textarea", gm = v.forwardRef(
9221
9242
  (l, o) => {
9222
9243
  var i = l, { className: e, noDataFallbackText: a = "No data", error: r } = i, _ = U(i, ["className", "noDataFallbackText", "error"]);
9223
- var S;
9244
+ var N;
9224
9245
  const { disabled: n, onBlur: d, onFocus: s } = _, { readOnly: c } = Ot(), p = c || _.readOnly, [m, f] = v.useState(!1), g = u(e, Dr[Or], {
9225
9246
  [Dr[`${Or}--disabled`]]: n,
9226
9247
  [Dr[`${Or}--focused`]]: m,
@@ -9233,12 +9254,12 @@ const td = ({
9233
9254
  return p ? /* @__PURE__ */ t(
9234
9255
  xa,
9235
9256
  {
9236
- value: (S = _ == null ? void 0 : _.value) == null ? void 0 : S.toString(),
9257
+ value: (N = _ == null ? void 0 : _.value) == null ? void 0 : N.toString(),
9237
9258
  noDataFallbackText: a
9238
9259
  }
9239
9260
  ) : /* @__PURE__ */ t(D, { as: "div", className: g, children: /* @__PURE__ */ t(
9240
9261
  "textarea",
9241
- B(y({}, _), {
9262
+ I(y({}, _), {
9242
9263
  ref: o,
9243
9264
  onFocus: x,
9244
9265
  onBlur: w
@@ -9357,7 +9378,7 @@ const ft = {
9357
9378
  isFirstStep: d,
9358
9379
  isLastStep: s
9359
9380
  }) => {
9360
- const [c, p] = de(null), [m, f] = de(null), g = Xt(null), w = Xt(null), x = d || s ? "bottom-start" : r, { refs: S, x: E, y: N, strategy: C, placement: $, update: b } = ri({
9381
+ const [c, p] = de(null), [m, f] = de(null), g = Xt(null), w = Xt(null), x = d || s ? "bottom-start" : r, { refs: N, x: E, y: $, strategy: S, placement: C, update: b } = ri({
9361
9382
  middleware: [_i(), oi()],
9362
9383
  placement: x,
9363
9384
  open: !0,
@@ -9375,7 +9396,7 @@ const ft = {
9375
9396
  }, [c]), V(() => (window.addEventListener("resize", b), () => window.removeEventListener("resize", b)), [b]), V(() => {
9376
9397
  if (o) {
9377
9398
  const T = document.querySelector(o);
9378
- p(T), S.setReference(T);
9399
+ p(T), N.setReference(T);
9379
9400
  }
9380
9401
  }, [o]), V(() => {
9381
9402
  c && f(
@@ -9393,7 +9414,7 @@ const ft = {
9393
9414
  }, [c, g.current, i]), V(() => (l ? document.body.classList.add("user-guide-visible") : document.body.classList.remove("user-guide-visible"), () => {
9394
9415
  document.body.classList.remove("user-guide-visible");
9395
9416
  }), [l]);
9396
- const I = () => m ? /* @__PURE__ */ t(
9417
+ const B = () => m ? /* @__PURE__ */ t(
9397
9418
  "div",
9398
9419
  {
9399
9420
  ref: g,
@@ -9416,16 +9437,16 @@ const ft = {
9416
9437
  display: l ? "flex" : "none",
9417
9438
  zIndex: n
9418
9439
  },
9419
- children: c && I()
9440
+ children: c && B()
9420
9441
  }
9421
9442
  ),
9422
9443
  l && /* @__PURE__ */ t($a, { children: /* @__PURE__ */ t(
9423
9444
  "div",
9424
9445
  {
9425
- ref: S.setFloating,
9446
+ ref: N.setFloating,
9426
9447
  style: {
9427
- position: C,
9428
- top: d || s ? "40%" : N,
9448
+ position: S,
9449
+ top: d || s ? "40%" : $,
9429
9450
  left: d || s ? "calc(50% - 211px)" : E
9430
9451
  },
9431
9452
  className: u(
@@ -9439,7 +9460,7 @@ const ft = {
9439
9460
  ref: w,
9440
9461
  className: u(
9441
9462
  ft[`${bt}__guide`],
9442
- ft[`${bt}__guide--${$}`]
9463
+ ft[`${bt}__guide--${C}`]
9443
9464
  ),
9444
9465
  children: [
9445
9466
  /* @__PURE__ */ t(
@@ -9447,7 +9468,7 @@ const ft = {
9447
9468
  {
9448
9469
  className: u(
9449
9470
  ft[`${bt}__guide__arrow`],
9450
- ft[`${bt}__guide__arrow--${$}`],
9471
+ ft[`${bt}__guide__arrow--${C}`],
9451
9472
  ft[`${bt}__guide__arrow--${_}`]
9452
9473
  ),
9453
9474
  children: /* @__PURE__ */ t("img", { src: Sd, alt: "cursor" })
@@ -9458,7 +9479,7 @@ const ft = {
9458
9479
  {
9459
9480
  className: u(
9460
9481
  ft[`${bt}__guide__content`],
9461
- ft[`${bt}__guide__content--${$}`],
9482
+ ft[`${bt}__guide__content--${C}`],
9462
9483
  ft[`${bt}__guide__content--${_}`]
9463
9484
  ),
9464
9485
  children: a
@@ -9657,7 +9678,7 @@ const ft = {
9657
9678
  ),
9658
9679
  m && /* @__PURE__ */ h("div", { className: ot[`${lt}__footer`], children: [
9659
9680
  /* @__PURE__ */ t(
9660
- H,
9681
+ z,
9661
9682
  {
9662
9683
  kind: "high-contrast",
9663
9684
  size: "large",
@@ -9668,7 +9689,7 @@ const ft = {
9668
9689
  ),
9669
9690
  /* @__PURE__ */ h("span", { children: [
9670
9691
  s && /* @__PURE__ */ t(
9671
- H,
9692
+ z,
9672
9693
  {
9673
9694
  kind: "plain",
9674
9695
  size: "large",
@@ -9807,7 +9828,7 @@ const ft = {
9807
9828
  }
9808
9829
  )
9809
9830
  ] })
9810
- ), ee = {
9831
+ ), ae = {
9811
9832
  "upload-bar": "lc-UploadBar-module__upload-bar___0ZOP3",
9812
9833
  "upload-bar__loader-test": "lc-UploadBar-module__upload-bar__loader-test___4QKID",
9813
9834
  "upload-bar--error": "lc-UploadBar-module__upload-bar--error___83It3",
@@ -9832,20 +9853,20 @@ const ft = {
9832
9853
  "div",
9833
9854
  {
9834
9855
  "data-testid": "success-icon",
9835
- className: ee[`${Yt}__success-icon`],
9856
+ className: ae[`${Yt}__success-icon`],
9836
9857
  children: /* @__PURE__ */ t(R, { source: Na })
9837
9858
  }
9838
9859
  ) : e === "error" ? /* @__PURE__ */ t(
9839
9860
  "div",
9840
9861
  {
9841
9862
  "data-testid": "error-icon",
9842
- className: ee[`${Yt}__error-icon`],
9863
+ className: ae[`${Yt}__error-icon`],
9843
9864
  children: /* @__PURE__ */ t(R, { source: No })
9844
9865
  }
9845
9866
  ) : /* @__PURE__ */ t(
9846
9867
  gs,
9847
9868
  {
9848
- className: ee[`${Yt}__loader`],
9869
+ className: ae[`${Yt}__loader`],
9849
9870
  status: e,
9850
9871
  progressValue: a
9851
9872
  }
@@ -9863,12 +9884,12 @@ const ft = {
9863
9884
  onCloseButtonClick: c,
9864
9885
  onRetryButtonClick: p
9865
9886
  }) => {
9866
- const [m, f] = v.useState(o || !1), g = i === "error", w = i === "success", x = u(ee[qe], a, {
9867
- [ee[`${qe}--error`]]: g,
9868
- [ee[`${qe}--success`]]: w
9869
- }), S = !(g && (p || c)), E = () => f(!m);
9870
- return s === "single" ? /* @__PURE__ */ t("div", { className: x, children: /* @__PURE__ */ h("div", { className: ee[`${qe}__wrapper`], children: [
9871
- /* @__PURE__ */ t("div", { className: ee[`${Yt}`], children: /* @__PURE__ */ t(
9887
+ const [m, f] = v.useState(o || !1), g = i === "error", w = i === "success", x = u(ae[qe], a, {
9888
+ [ae[`${qe}--error`]]: g,
9889
+ [ae[`${qe}--success`]]: w
9890
+ }), N = !(g && (p || c)), E = () => f(!m);
9891
+ return s === "single" ? /* @__PURE__ */ t("div", { className: x, children: /* @__PURE__ */ h("div", { className: ae[`${qe}__wrapper`], children: [
9892
+ /* @__PURE__ */ t("div", { className: ae[`${Yt}`], children: /* @__PURE__ */ t(
9872
9893
  Ed,
9873
9894
  {
9874
9895
  title: g && l || _,
@@ -9890,22 +9911,22 @@ const ft = {
9890
9911
  /* @__PURE__ */ t(
9891
9912
  "div",
9892
9913
  {
9893
- className: ee[`${qe}__wrapper`],
9914
+ className: ae[`${qe}__wrapper`],
9894
9915
  onClick: E,
9895
- children: /* @__PURE__ */ h("div", { className: ee[`${Yt}`], children: [
9896
- /* @__PURE__ */ t("div", { className: ee[`${Yt}__icon`], children: Bd(i, r) }),
9897
- /* @__PURE__ */ t("div", { className: ee[`${Yt}__title`], children: /* @__PURE__ */ t(D, { size: "sm", as: "div", children: g ? l : _ }) }),
9898
- S && /* @__PURE__ */ t(
9916
+ children: /* @__PURE__ */ h("div", { className: ae[`${Yt}`], children: [
9917
+ /* @__PURE__ */ t("div", { className: ae[`${Yt}__icon`], children: Bd(i, r) }),
9918
+ /* @__PURE__ */ t("div", { className: ae[`${Yt}__title`], children: /* @__PURE__ */ t(D, { size: "sm", as: "div", children: g ? l : _ }) }),
9919
+ N && /* @__PURE__ */ t(
9899
9920
  "button",
9900
9921
  {
9901
- className: ee[`${Yt}__collapse-button`],
9922
+ className: ae[`${Yt}__collapse-button`],
9902
9923
  type: "button",
9903
9924
  "aria-label": "Collapse button",
9904
9925
  onClick: E,
9905
9926
  children: m ? /* @__PURE__ */ t(R, { source: or }) : /* @__PURE__ */ t(R, { source: ta })
9906
9927
  }
9907
9928
  ),
9908
- i === "error" && /* @__PURE__ */ t("div", { className: ee[`${Yt}__actions-container`], children: /* @__PURE__ */ t(
9929
+ i === "error" && /* @__PURE__ */ t("div", { className: ae[`${Yt}__actions-container`], children: /* @__PURE__ */ t(
9909
9930
  E_,
9910
9931
  {
9911
9932
  status: i,
@@ -9921,13 +9942,13 @@ const ft = {
9921
9942
  {
9922
9943
  timeout: Td,
9923
9944
  classNames: {
9924
- enter: ee[`${qe}__files--enter`],
9925
- enterActive: ee[`${qe}__files--enter-active`],
9926
- exit: ee[`${qe}__files--exit`],
9927
- exitActive: ee[`${qe}__files--exit-active`],
9928
- exitDone: ee[`${qe}__files--exit-done`]
9945
+ enter: ae[`${qe}__files--enter`],
9946
+ enterActive: ae[`${qe}__files--enter-active`],
9947
+ exit: ae[`${qe}__files--exit`],
9948
+ exitActive: ae[`${qe}__files--exit-active`],
9949
+ exitDone: ae[`${qe}__files--exit-done`]
9929
9950
  },
9930
- children: /* @__PURE__ */ t("div", { className: ee[`${qe}__files`], children: /* @__PURE__ */ t("div", { className: ee[`${qe}__files-wrapper`], children: /* @__PURE__ */ t("div", { className: ee[`${qe}__files__list`], children: e }) }) })
9951
+ children: /* @__PURE__ */ t("div", { className: ae[`${qe}__files`], children: /* @__PURE__ */ t("div", { className: ae[`${qe}__files-wrapper`], children: /* @__PURE__ */ t("div", { className: ae[`${qe}__files__list`], children: e }) }) })
9931
9952
  }
9932
9953
  ) })
9933
9954
  ] });
@@ -9959,7 +9980,7 @@ const ft = {
9959
9980
  ), s = u(ya[ka], r);
9960
9981
  return /* @__PURE__ */ h(
9961
9982
  "div",
9962
- B(y({
9983
+ I(y({
9963
9984
  className: s,
9964
9985
  "data-testid": _,
9965
9986
  "aria-label": "Stepper"
@@ -10033,7 +10054,7 @@ const ft = {
10033
10054
  }
10034
10055
  )
10035
10056
  }
10036
- ), ae = {
10057
+ ), _e = {
10037
10058
  "system-message__wrapper": "lc-SystemMessage-module__system-message__wrapper___ZvByq",
10038
10059
  "system-message__header-wrapper": "lc-SystemMessage-module__system-message__header-wrapper___L2mJw",
10039
10060
  "system-message__header-wrapper--alignment-left": "lc-SystemMessage-module__system-message__header-wrapper--alignment-left___nbtk7",
@@ -10061,7 +10082,7 @@ const ft = {
10061
10082
  "system-message__actions-wrapper--alignment-right": "lc-SystemMessage-module__system-message__actions-wrapper--alignment-right___F-y9M",
10062
10083
  "system-message__actions-wrapper-menu-trigger": "lc-SystemMessage-module__system-message__actions-wrapper-menu-trigger___y41Gz",
10063
10084
  "system-message__action-item": "lc-SystemMessage-module__system-message__action-item___uVowH"
10064
- }, re = "system-message", Cm = ({
10085
+ }, oe = "system-message", Cm = ({
10065
10086
  children: e,
10066
10087
  source: a,
10067
10088
  alignment: r = "right",
@@ -10074,31 +10095,31 @@ const ft = {
10074
10095
  actions: s
10075
10096
  }) => {
10076
10097
  const [c, p] = v.useState(!1), m = u(
10077
- ae[`${re}__header-wrapper-title`],
10078
- ae[`${re}__header-wrapper-title--kind-${_}`],
10098
+ _e[`${oe}__header-wrapper-title`],
10099
+ _e[`${oe}__header-wrapper-title--kind-${_}`],
10079
10100
  {
10080
- [ae[`${re}__header-wrapper-title--bold`]]: l
10101
+ [_e[`${oe}__header-wrapper-title--bold`]]: l
10081
10102
  }
10082
10103
  ), f = u(
10083
- ae[`${re}__header-wrapper`],
10084
- ae[`${re}__header-wrapper--alignment-${r}`]
10104
+ _e[`${oe}__header-wrapper`],
10105
+ _e[`${oe}__header-wrapper--alignment-${r}`]
10085
10106
  ), g = u(
10086
- ae[`${re}__details-wrapper`],
10087
- ae[`${re}__details-wrapper--alignment-${r}`],
10107
+ _e[`${oe}__details-wrapper`],
10108
+ _e[`${oe}__details-wrapper--alignment-${r}`],
10088
10109
  {
10089
- [ae[`${re}__details-wrapper--alignment-left-margin`]]: r === "left" && o
10110
+ [_e[`${oe}__details-wrapper--alignment-left-margin`]]: r === "left" && o
10090
10111
  }
10091
10112
  ), w = u(
10092
- ae[`${re}__details-line`],
10093
- ae[`${re}__details-first-line`],
10094
- ae[`${re}__details-first-line--alignment-${r}`]
10113
+ _e[`${oe}__details-line`],
10114
+ _e[`${oe}__details-first-line`],
10115
+ _e[`${oe}__details-first-line--alignment-${r}`]
10095
10116
  ), x = u(
10096
- ae[`${re}__actions-wrapper`],
10097
- ae[`${re}__actions-wrapper--alignment-${r}`],
10117
+ _e[`${oe}__actions-wrapper`],
10118
+ _e[`${oe}__actions-wrapper--alignment-${r}`],
10098
10119
  {
10099
- [ae[`${re}__actions-wrapper--alignment-left-margin`]]: r === "left" && o
10120
+ [_e[`${oe}__actions-wrapper--alignment-left-margin`]]: r === "left" && o
10100
10121
  }
10101
- ), S = ($, b) => {
10122
+ ), N = (C, b) => {
10102
10123
  let k = "primary";
10103
10124
  switch (b) {
10104
10125
  case "info":
@@ -10125,11 +10146,11 @@ const ft = {
10125
10146
  {
10126
10147
  size: "small",
10127
10148
  "data-testid": "system-message-header-icon",
10128
- source: $,
10149
+ source: C,
10129
10150
  kind: k
10130
10151
  }
10131
10152
  );
10132
- }, E = ($) => $.slice(2).map((b) => ({
10153
+ }, E = (C) => C.slice(2).map((b) => ({
10133
10154
  key: b.label,
10134
10155
  element: /* @__PURE__ */ t(
10135
10156
  rr,
@@ -10139,11 +10160,11 @@ const ft = {
10139
10160
  }
10140
10161
  ),
10141
10162
  onClick: b.callback
10142
- })), N = ($) => /* @__PURE__ */ h("div", { className: x, children: [
10143
- $.slice(0, 2).map((b) => /* @__PURE__ */ t(
10163
+ })), $ = (C) => /* @__PURE__ */ h("div", { className: x, children: [
10164
+ C.slice(0, 2).map((b) => /* @__PURE__ */ t(
10144
10165
  D,
10145
10166
  {
10146
- className: ae[`${re}__action-item`],
10167
+ className: _e[`${oe}__action-item`],
10147
10168
  underline: !0,
10148
10169
  size: "xs",
10149
10170
  onClick: b.callback,
@@ -10151,38 +10172,38 @@ const ft = {
10151
10172
  },
10152
10173
  b.label
10153
10174
  )),
10154
- $.length > 2 && /* @__PURE__ */ t(
10175
+ C.length > 2 && /* @__PURE__ */ t(
10155
10176
  D_,
10156
10177
  {
10157
10178
  placement: "bottom-end",
10158
- options: E($),
10179
+ options: E(C),
10159
10180
  triggerRenderer: /* @__PURE__ */ t(
10160
- H,
10181
+ z,
10161
10182
  {
10162
10183
  kind: "plain",
10163
10184
  size: "xcompact",
10164
10185
  "data-testid": "system-message-actions-menu-trigger",
10165
- className: ae[`${re}__actions-wrapper-menu-trigger`],
10186
+ className: _e[`${oe}__actions-wrapper-menu-trigger`],
10166
10187
  icon: /* @__PURE__ */ t(R, { source: Gl, kind: "primary" })
10167
10188
  }
10168
10189
  )
10169
10190
  }
10170
10191
  )
10171
- ] }), C = ($) => /* @__PURE__ */ h(
10192
+ ] }), S = (C) => /* @__PURE__ */ h(
10172
10193
  "div",
10173
10194
  {
10174
10195
  "data-testid": "system-message-details",
10175
10196
  className: g,
10176
10197
  children: [
10177
10198
  /* @__PURE__ */ h("div", { className: w, children: [
10178
- $.slice(0, 1).map((b, k) => /* @__PURE__ */ t(D, { as: "div", size: "xs", children: b }, `detail-first-${k}`)),
10179
- $.length > 1 && /* @__PURE__ */ t(
10180
- H,
10199
+ C.slice(0, 1).map((b, k) => /* @__PURE__ */ t(D, { as: "div", size: "xs", children: b }, `detail-first-${k}`)),
10200
+ C.length > 1 && /* @__PURE__ */ t(
10201
+ z,
10181
10202
  {
10182
10203
  kind: "plain",
10183
10204
  size: "xcompact",
10184
10205
  "data-testid": "system-message-details-toggle",
10185
- className: ae[`${re}__details-toggle`],
10206
+ className: _e[`${oe}__details-toggle`],
10186
10207
  onClick: () => p(!c),
10187
10208
  icon: /* @__PURE__ */ t(
10188
10209
  R,
@@ -10194,13 +10215,13 @@ const ft = {
10194
10215
  }
10195
10216
  )
10196
10217
  ] }),
10197
- c && $.slice(1).map((b) => /* @__PURE__ */ t(
10218
+ c && C.slice(1).map((b) => /* @__PURE__ */ t(
10198
10219
  "div",
10199
10220
  {
10200
- className: ae[`${re}__details-line`],
10221
+ className: _e[`${oe}__details-line`],
10201
10222
  children: /* @__PURE__ */ t(D, { as: "div", size: "xs", children: b })
10202
10223
  },
10203
- `detail-${$.indexOf(b)}`
10224
+ `detail-${C.indexOf(b)}`
10204
10225
  ))
10205
10226
  ]
10206
10227
  }
@@ -10209,7 +10230,7 @@ const ft = {
10209
10230
  "div",
10210
10231
  {
10211
10232
  "data-testid": "system-message",
10212
- className: u(ae[`${re}__wrapper`]),
10233
+ className: u(_e[`${oe}__wrapper`]),
10213
10234
  children: [
10214
10235
  /* @__PURE__ */ h(
10215
10236
  "div",
@@ -10217,7 +10238,7 @@ const ft = {
10217
10238
  "data-testid": "system-message-header",
10218
10239
  className: f,
10219
10240
  children: [
10220
- o && /* @__PURE__ */ t("div", { className: ae[`${re}__header-wrapper-icon`], children: S(o, _) }),
10241
+ o && /* @__PURE__ */ t("div", { className: _e[`${oe}__header-wrapper-icon`], children: N(o, _) }),
10221
10242
  /* @__PURE__ */ t(
10222
10243
  D,
10223
10244
  {
@@ -10234,7 +10255,7 @@ const ft = {
10234
10255
  as: "div",
10235
10256
  size: "xs",
10236
10257
  "data-testid": "system-message-source",
10237
- className: ae[`${re}__header-wrapper-source`],
10258
+ className: _e[`${oe}__header-wrapper-source`],
10238
10259
  children: [
10239
10260
  "• ",
10240
10261
  a
@@ -10252,8 +10273,8 @@ const ft = {
10252
10273
  }
10253
10274
  ),
10254
10275
  /* @__PURE__ */ h(Z, { children: [
10255
- i && C(i),
10256
- s && N(s)
10276
+ i && S(i),
10277
+ s && $(s)
10257
10278
  ] })
10258
10279
  ]
10259
10280
  }
@@ -10269,15 +10290,15 @@ export {
10269
10290
  hu as ActionCard,
10270
10291
  D_ as ActionMenu,
10271
10292
  du as ActionMenuItem,
10272
- Hu as ActionModalContent,
10293
+ zu as ActionModalContent,
10273
10294
  fu as Alert,
10274
10295
  S_ as AnimatedTextContainer,
10275
10296
  bu as AppFrame,
10276
10297
  mi as AppFrameProvider,
10277
10298
  Eu as AutoComplete,
10278
- M_ as Avatar,
10279
- Pr as Badge,
10280
- H as Button,
10299
+ P_ as Avatar,
10300
+ Mr as Badge,
10301
+ z as Button,
10281
10302
  Bu as Card,
10282
10303
  Wr as Checkbox,
10283
10304
  Sc as DatePicker,
@@ -10290,12 +10311,12 @@ export {
10290
10311
  Ou as EmptyState,
10291
10312
  $u as ExpirationCounter,
10292
10313
  Vr as FieldDescription,
10293
- P_ as FieldError,
10294
- Mu as FieldGroup,
10314
+ M_ as FieldError,
10315
+ Pu as FieldGroup,
10295
10316
  Ed as FileUploadProgress,
10296
10317
  E_ as FileUploadProgressActions,
10297
10318
  km as FloatingPortal,
10298
- Pu as Form,
10319
+ Mu as Form,
10299
10320
  Fu as FormField,
10300
10321
  Ru as FormGroup,
10301
10322
  Qu as GallerySelectableCard,
@@ -10319,7 +10340,7 @@ export {
10319
10340
  Lu as Modal,
10320
10341
  Kc as ModalBase,
10321
10342
  uo as ModalCloseButton,
10322
- zu as ModalHeader,
10343
+ Hu as ModalHeader,
10323
10344
  qu as ModalPortal,
10324
10345
  Cu as Navigation,
10325
10346
  ku as NavigationGroup,