@livechat/design-system-react-components 2.4.1 → 2.4.2

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 hr = (e, a, r) => a in e ? n_(e, a, { enumerable: !0, configurable: !0, writ
9
9
  for (var r of Ra(a))
10
10
  qr.call(a, r) && hr(e, r, a[r]);
11
11
  return e;
12
- }, T = (e, a) => i_(e, l_(a));
12
+ }, I = (e, a) => i_(e, l_(a));
13
13
  var R = (e, a) => {
14
14
  var r = {};
15
15
  for (var o in e)
@@ -692,7 +692,7 @@ const ts = (e) => e === "dark" ? xt.Dark : xt.Light, Fo = c_(void 0), as = () =>
692
692
  to[ao],
693
693
  o && to[`${ao}--${_ ? "disabled--" : ""}${o}`]
694
694
  );
695
- return /* @__PURE__ */ t("span", T(k({}, l), { className: c, children: d }));
695
+ return /* @__PURE__ */ t("span", I(k({}, l), { className: c, children: d }));
696
696
  }, Qe = {
697
697
  "heading-xl": "lc-Typography-module__heading-xl___jTpRq",
698
698
  "heading-lg": "lc-Typography-module__heading-lg___VGjgP",
@@ -971,7 +971,7 @@ const ts = (e) => e === "dark" ? xt.Dark : xt.Light, Fo = c_(void 0), as = () =>
971
971
  };
972
972
  return /* @__PURE__ */ b(
973
973
  "div",
974
- T(k({
974
+ I(k({
975
975
  tabIndex: 0,
976
976
  "aria-expanded": f,
977
977
  className: $,
@@ -1078,7 +1078,7 @@ const ts = (e) => e === "dark" ? xt.Dark : xt.Light, Fo = c_(void 0), as = () =>
1078
1078
  "selectedOptions",
1079
1079
  "footer"
1080
1080
  ]);
1081
- const w = d !== void 0, [$, B] = p.useState(n), [N, S] = p.useState(null), C = p.useRef(-1), x = nr(), E = Sa(), P = p.useRef(null), O = w ? d : $, I = () => {
1081
+ const w = d !== void 0, [$, B] = p.useState(n), [N, S] = p.useState(null), C = p.useRef(-1), x = nr(), E = Sa(), P = p.useRef(null), O = w ? d : $, T = () => {
1082
1082
  O ? (c == null || c(), !w && B(!1)) : (s == null || s(), !w && B(!0));
1083
1083
  }, { x: A, y: z, strategy: ne, refs: V, context: H } = Ba({
1084
1084
  nodeId: E,
@@ -1094,7 +1094,7 @@ const ts = (e) => e === "dark" ? xt.Dark : xt.Light, Fo = c_(void 0), as = () =>
1094
1094
  placement: _,
1095
1095
  open: O,
1096
1096
  strategy: h,
1097
- onOpenChange: I,
1097
+ onOpenChange: T,
1098
1098
  whileElementsMounted: Ia
1099
1099
  }), K = Ta(H), Le = Aa(H, {
1100
1100
  enabled: O
@@ -1176,7 +1176,7 @@ const ts = (e) => e === "dark" ? xt.Dark : xt.Light, Fo = c_(void 0), as = () =>
1176
1176
  ) }, M.key), st = /* @__PURE__ */ b(ae, { children: [
1177
1177
  /* @__PURE__ */ t(
1178
1178
  "div",
1179
- T(k({
1179
+ I(k({
1180
1180
  "aria-label": "Toggle menu",
1181
1181
  "data-testid": "action-menu-trigger-button",
1182
1182
  ref: V.setReference
@@ -1187,7 +1187,7 @@ const ts = (e) => e === "dark" ? xt.Dark : xt.Light, Fo = c_(void 0), as = () =>
1187
1187
  ),
1188
1188
  /* @__PURE__ */ t(ea, { id: E, children: O && /* @__PURE__ */ b(
1189
1189
  "div",
1190
- T(k({
1190
+ I(k({
1191
1191
  ref: V.setFloating,
1192
1192
  className: at[rt],
1193
1193
  style: k(k({
@@ -1199,7 +1199,7 @@ const ts = (e) => e === "dark" ? xt.Dark : xt.Light, Fo = c_(void 0), as = () =>
1199
1199
  children: [
1200
1200
  r.length > 0 && /* @__PURE__ */ t(
1201
1201
  "ul",
1202
- T(k({}, g), {
1202
+ I(k({}, g), {
1203
1203
  className: u(
1204
1204
  at[`${rt}__list`],
1205
1205
  {
@@ -1267,7 +1267,7 @@ const ts = (e) => e === "dark" ? xt.Dark : xt.Light, Fo = c_(void 0), as = () =>
1267
1267
  "className",
1268
1268
  "size"
1269
1269
  ]);
1270
- return /* @__PURE__ */ b("div", T(k({ className: u(_a[Go], o) }, n), { children: [
1270
+ return /* @__PURE__ */ b("div", I(k({ className: u(_a[Go], o) }, n), { children: [
1271
1271
  /* @__PURE__ */ t(
1272
1272
  "div",
1273
1273
  {
@@ -1375,7 +1375,7 @@ const ts = (e) => e === "dark" ? xt.Dark : xt.Light, Fo = c_(void 0), as = () =>
1375
1375
  "onClick",
1376
1376
  "animatedLabel"
1377
1377
  ]);
1378
- const [$, B] = p.useState(0), [N, S] = p.useState(!1), C = e || a, x = !s && i, E = v && s && i, P = ["text", "link", "link-light"].includes(_), O = h ? "a" : "button", I = u(
1378
+ const [$, B] = p.useState(0), [N, S] = p.useState(!1), C = e || a, x = !s && i, E = v && s && i, P = ["text", "link", "link-light"].includes(_), O = h ? "a" : "button", T = u(
1379
1379
  de[ue],
1380
1380
  de[`${ue}--${_}`],
1381
1381
  de[`${ue}--${n}`],
@@ -1393,9 +1393,9 @@ const ts = (e) => e === "dark" ? xt.Dark : xt.Light, Fo = c_(void 0), as = () =>
1393
1393
  );
1394
1394
  return /* @__PURE__ */ b(
1395
1395
  O,
1396
- T(k(k(k({
1396
+ I(k(k(k({
1397
1397
  ref: f,
1398
- className: I,
1398
+ className: T,
1399
1399
  "aria-disabled": C,
1400
1400
  type: r,
1401
1401
  disabled: C
@@ -1552,7 +1552,7 @@ const wn = (e) => {
1552
1552
  useDismissHookProps: E,
1553
1553
  useClickHookProps: P,
1554
1554
  hoverOutDelayTimeout: O = 100,
1555
- arrowOffsetY: I,
1555
+ arrowOffsetY: T,
1556
1556
  arrowOffsetX: A,
1557
1557
  closeOnTriggerBlur: z = !1,
1558
1558
  floatingStrategy: ne
@@ -1611,7 +1611,7 @@ const wn = (e) => {
1611
1611
  const Fa = /* @__PURE__ */ b(ae, { children: [
1612
1612
  /* @__PURE__ */ t(
1613
1613
  "div",
1614
- T(k({
1614
+ I(k({
1615
1615
  "data-testid": "tooltip-trigger",
1616
1616
  ref: M.setReference
1617
1617
  }, pr()), {
@@ -1621,7 +1621,7 @@ const wn = (e) => {
1621
1621
  ),
1622
1622
  /* @__PURE__ */ t(ea, { id: nt, children: dr && /* @__PURE__ */ b(
1623
1623
  "div",
1624
- T(k({
1624
+ I(k({
1625
1625
  ref: M.setFloating,
1626
1626
  style: k(k({}, st), ur),
1627
1627
  className: St
@@ -1638,7 +1638,7 @@ const wn = (e) => {
1638
1638
  width: 10,
1639
1639
  height: 5,
1640
1640
  style: k({}, Cn(
1641
- I,
1641
+ T,
1642
1642
  A,
1643
1643
  Y,
1644
1644
  se
@@ -1732,7 +1732,7 @@ const wn = (e) => {
1732
1732
  children: [
1733
1733
  /* @__PURE__ */ t(
1734
1734
  q,
1735
- T(k({}, i), {
1735
+ I(k({}, i), {
1736
1736
  kind: i.kind || d(_),
1737
1737
  onClick: i.handleClick,
1738
1738
  children: i.label
@@ -1740,7 +1740,7 @@ const wn = (e) => {
1740
1740
  ),
1741
1741
  l && /* @__PURE__ */ t(
1742
1742
  q,
1743
- T(k({}, l), {
1743
+ I(k({}, l), {
1744
1744
  className: u(
1745
1745
  L[`${pt}-footer-secondary`],
1746
1746
  l.className
@@ -1920,7 +1920,7 @@ const io = 8, lo = "guide-tooltip", co = (e, a) => new In(e, a), cs = (e) => {
1920
1920
  ),
1921
1921
  /* @__PURE__ */ t(
1922
1922
  Gt,
1923
- T(k({}, e), {
1923
+ I(k({}, e), {
1924
1924
  triggerRenderer: /* @__PURE__ */ t(ae, {}),
1925
1925
  referenceElement: {
1926
1926
  getBoundingClientRect: () => l,
@@ -2263,12 +2263,12 @@ const io = 8, lo = "guide-tooltip", co = (e, a) => new In(e, a), cs = (e) => {
2263
2263
  v();
2264
2264
  }, 500);
2265
2265
  return window.addEventListener("resize", g), v(), () => window.removeEventListener("resize", g);
2266
- }), /* @__PURE__ */ b("div", T(k({ ref: c, className: m }, i), { children: [
2266
+ }), /* @__PURE__ */ b("div", I(k({ ref: c, className: m }, i), { children: [
2267
2267
  /* @__PURE__ */ b("div", { className: Pe[`${Fe}__content`], children: [
2268
2268
  /* @__PURE__ */ b("div", { className: Pe[`${Fe}__content__wrapper`], children: [
2269
2269
  /* @__PURE__ */ t(
2270
2270
  F,
2271
- T(k({}, Gn[_]), {
2271
+ I(k({}, Gn[_]), {
2272
2272
  size: "large",
2273
2273
  className: Pe[`${Fe}__icon`]
2274
2274
  })
@@ -2509,7 +2509,7 @@ const Vn = "side-navigation-item-test-id", Wn = "side-navigation-active-item-tes
2509
2509
  };
2510
2510
  return /* @__PURE__ */ t(
2511
2511
  "li",
2512
- T(k({
2512
+ I(k({
2513
2513
  className: u([He[ze], _]),
2514
2514
  "data-testid": l ? Wn : Vn,
2515
2515
  "data-active": l
@@ -2591,8 +2591,8 @@ const Vn = "side-navigation-item-test-id", Wn = "side-navigation-active-item-tes
2591
2591
  (A) => A.getAttribute("data-active") === "true"
2592
2592
  ) : !1;
2593
2593
  s(O);
2594
- const I = ((P == null ? void 0 : P.length) || 0) * Xn;
2595
- m(I), d(!1);
2594
+ const T = ((P == null ? void 0 : P.length) || 0) * Xn;
2595
+ m(T), d(!1);
2596
2596
  };
2597
2597
  return p.useEffect(() => {
2598
2598
  !v.current && c && S(), v.current = c;
@@ -2661,7 +2661,7 @@ const Vn = "side-navigation-item-test-id", Wn = "side-navigation-active-item-tes
2661
2661
  ]);
2662
2662
  return /* @__PURE__ */ t(
2663
2663
  "ul",
2664
- T(k({
2664
+ I(k({
2665
2665
  className: u(
2666
2666
  so[uo],
2667
2667
  {
@@ -2712,7 +2712,7 @@ const qn = "lc-Badge-module__badge___ZbEBU", jn = "lc-Badge-module__badge__dot__
2712
2712
  alert: "!",
2713
2713
  dot: /* @__PURE__ */ t("span", { "data-testid": "badge-dot", className: Ga[`${Ua}__dot`] })
2714
2714
  }[n];
2715
- return /* @__PURE__ */ t("span", T(k({ className: c }, i), { children: s }));
2715
+ return /* @__PURE__ */ t("span", I(k({ className: c }, i), { children: s }));
2716
2716
  }, wt = {
2717
2717
  "navigation-item": "lc-NavigationItem-module__navigation-item___KVL3Y",
2718
2718
  "navigation-item--disabled": "lc-NavigationItem-module__navigation-item--disabled___VY8pA",
@@ -2790,7 +2790,7 @@ const qn = "lc-Badge-module__badge___ZbEBU", jn = "lc-Badge-module__badge__dot__
2790
2790
  triggerRenderer: /* @__PURE__ */ b(ae, { children: [
2791
2791
  /* @__PURE__ */ b(
2792
2792
  "a",
2793
- T(k({
2793
+ I(k({
2794
2794
  tabIndex: n ? -1 : 0,
2795
2795
  "aria-label": a,
2796
2796
  className: u(
@@ -2830,7 +2830,7 @@ const qn = "lc-Badge-module__badge___ZbEBU", jn = "lc-Badge-module__badge__dot__
2830
2830
  "children",
2831
2831
  "className"
2832
2832
  ]);
2833
- return /* @__PURE__ */ t("nav", T(k({ className: u(ei[ti], a) }, r), { children: e }));
2833
+ return /* @__PURE__ */ t("nav", I(k({ className: u(ei[ti], a) }, r), { children: e }));
2834
2834
  }, Ze = {
2835
2835
  "navigation-top-bar": "lc-NavigationTopBar-module__navigation-top-bar___WJzyv",
2836
2836
  "navigation-top-bar__title": "lc-NavigationTopBar-module__navigation-top-bar__title___ROYDp",
@@ -2885,7 +2885,7 @@ const qn = "lc-Badge-module__badge___ZbEBU", jn = "lc-Badge-module__badge__dot__
2885
2885
  ), v = a === "warning" ? "link-inverted" : "text", g = a === "warning" ? "plain-lock-black" : "high-contrast", f = _ == null ? void 0 : _.kind, y = n == null ? void 0 : n.kind, w = _ || n ? /* @__PURE__ */ b("div", { className: Ze[`${It}__cta-wrapper`], children: [
2886
2886
  _ && /* @__PURE__ */ t(
2887
2887
  q,
2888
- T(k({
2888
+ I(k({
2889
2889
  size: "compact"
2890
2890
  }, _), {
2891
2891
  kind: l ? v : f || g,
@@ -2894,7 +2894,7 @@ const qn = "lc-Badge-module__badge___ZbEBU", jn = "lc-Badge-module__badge__dot__
2894
2894
  ),
2895
2895
  n && /* @__PURE__ */ t(
2896
2896
  q,
2897
- T(k({
2897
+ I(k({
2898
2898
  size: "compact"
2899
2899
  }, n), {
2900
2900
  kind: l ? v : y || g,
@@ -2908,7 +2908,7 @@ const qn = "lc-Badge-module__badge___ZbEBU", jn = "lc-Badge-module__badge__dot__
2908
2908
  ] }),
2909
2909
  r && /* @__PURE__ */ t(
2910
2910
  "button",
2911
- T(k({
2911
+ I(k({
2912
2912
  className: Ze[`${It}__close-button`]
2913
2913
  }, r), {
2914
2914
  children: /* @__PURE__ */ t(F, { source: Oe })
@@ -2972,7 +2972,7 @@ const Ha = {
2972
2972
  ]);
2973
2973
  return /* @__PURE__ */ t("li", { className: u(Ha[za], _), children: /* @__PURE__ */ b(
2974
2974
  "a",
2975
- T(k({
2975
+ I(k({
2976
2976
  tabIndex: 0,
2977
2977
  href: r,
2978
2978
  onClick: (d) => o(d, e),
@@ -2994,7 +2994,7 @@ const Ha = {
2994
2994
  "children",
2995
2995
  "className"
2996
2996
  ]);
2997
- return /* @__PURE__ */ t("nav", T(k({ className: u(oi[_i], a) }, r), { children: e }));
2997
+ return /* @__PURE__ */ t("nav", I(k({ className: u(oi[_i], a) }, r), { children: e }));
2998
2998
  }, ni = "lc-Input-module__input___505b7", qe = {
2999
2999
  input: ni,
3000
3000
  "input--focused": "lc-Input-module__input--focused___rmg2U",
@@ -3065,7 +3065,7 @@ const Ha = {
3065
3065
  S && mo(o, r),
3066
3066
  /* @__PURE__ */ t(
3067
3067
  "input",
3068
- T(k({}, i), {
3068
+ I(k({}, i), {
3069
3069
  ref: s,
3070
3070
  onFocus: (E) => {
3071
3071
  m(!0), y == null || y(E);
@@ -3113,7 +3113,7 @@ const Qt = "select-all", ci = (e, a) => {
3113
3113
  }, ui = "field-description", cr = (o) => {
3114
3114
  var _ = o, { children: e, className: a = "" } = _, r = R(_, ["children", "className"]);
3115
3115
  const n = u(di[ui], a);
3116
- return /* @__PURE__ */ t(D, T(k({ as: "span", size: "sm" }, r), { className: n, children: e }));
3116
+ return /* @__PURE__ */ t(D, I(k({ as: "span", size: "sm" }, r), { className: n, children: e }));
3117
3117
  }, mi = "lc-Checkbox-module__checkbox___D0D4S", pi = "lc-Checkbox-module__checkbox__label___I472A", gi = "lc-Checkbox-module__checkbox__text___Ex7K1", hi = "lc-Checkbox-module__checkbox__input___3krUF", fi = "lc-Checkbox-module__checkbox__checkmark___eZIG1", bi = "lc-Checkbox-module__checkbox__square___yjtrH", vi = "lc-Checkbox-module__checkbox__helper___hwxAV", Pt = {
3118
3118
  checkbox: mi,
3119
3119
  checkbox__label: pi,
@@ -3138,7 +3138,7 @@ const Qt = "select-all", ci = (e, a) => {
3138
3138
  /* @__PURE__ */ b("label", { className: Pt[`${Ft}__label`], children: [
3139
3139
  /* @__PURE__ */ t(
3140
3140
  "input",
3141
- T(k({}, n), {
3141
+ I(k({}, n), {
3142
3142
  ref: i,
3143
3143
  checked: e,
3144
3144
  disabled: a,
@@ -3223,7 +3223,7 @@ const Qt = "select-all", ci = (e, a) => {
3223
3223
  if (i.groupHeader)
3224
3224
  return /* @__PURE__ */ t(
3225
3225
  "div",
3226
- T(k({
3226
+ I(k({
3227
3227
  id: `item-${e}`,
3228
3228
  role: "group",
3229
3229
  className: ye[`${Ve}__header`]
@@ -3237,7 +3237,7 @@ const Qt = "select-all", ci = (e, a) => {
3237
3237
  };
3238
3238
  return /* @__PURE__ */ t(
3239
3239
  "div",
3240
- T(k({
3240
+ I(k({
3241
3241
  id: i.key,
3242
3242
  tabIndex: a ? 0 : -1,
3243
3243
  ref: (s) => {
@@ -3306,14 +3306,14 @@ const Qt = "select-all", ci = (e, a) => {
3306
3306
  virtuosoProps: B
3307
3307
  }) => {
3308
3308
  const [N, S] = p.useState(0), C = Rr(null), x = _.length, E = p.useCallback(
3309
- (I) => {
3310
- I !== N && (I < o ? S(I + (x - 1) * li) : S(o));
3309
+ (T) => {
3310
+ T !== N && (T < o ? S(T + (x - 1) * li) : S(o));
3311
3311
  },
3312
3312
  [x]
3313
3313
  );
3314
3314
  if (Je(() => {
3315
- var I;
3316
- c && d && n !== null && ((I = C.current) == null || I.focus());
3315
+ var T;
3316
+ c && d && n !== null && ((T = C.current) == null || T.focus());
3317
3317
  }, [c, d, n]), Je(() => {
3318
3318
  l.current = new Array(_.length);
3319
3319
  }, [_.length]), _.length === 0)
@@ -3327,7 +3327,7 @@ const Qt = "select-all", ci = (e, a) => {
3327
3327
  children: /* @__PURE__ */ t("div", { className: la["no-results-text"], children: f })
3328
3328
  }
3329
3329
  ) });
3330
- const P = (I) => i.includes(I) || I === Qt && i.length === Pr(_).length, O = () => {
3330
+ const P = (T) => i.includes(T) || T === Qt && i.length === Pr(_).length, O = () => {
3331
3331
  w === "multi" && s(i[i.length - 1]);
3332
3332
  };
3333
3333
  return /* @__PURE__ */ t(Er, { context: e, modal: !1, initialFocus: -1, children: /* @__PURE__ */ t(
@@ -3337,22 +3337,22 @@ const Qt = "select-all", ci = (e, a) => {
3337
3337
  ref: a,
3338
3338
  tabIndex: -1,
3339
3339
  className: u(la.listbox, $),
3340
- style: T(k({}, r), {
3340
+ style: I(k({}, r), {
3341
3341
  maxHeight: o
3342
3342
  }),
3343
3343
  children: /* @__PURE__ */ t(
3344
3344
  "div",
3345
- T(k({
3345
+ I(k({
3346
3346
  ref: C,
3347
3347
  tabIndex: 0,
3348
3348
  "aria-multiselectable": w === "multi",
3349
3349
  className: la["listbox-wrapper"]
3350
3350
  }, v({
3351
- onKeyDown(I) {
3352
- h(!1), I.key === "Enter" && n !== null && m(_[n].key), (I.key === "Backspace" || I.key === "Delete") && O(), I.key === " " && I.preventDefault();
3351
+ onKeyDown(T) {
3352
+ h(!1), T.key === "Enter" && n !== null && m(_[n].key), (T.key === "Backspace" || T.key === "Delete") && O(), T.key === " " && T.preventDefault();
3353
3353
  },
3354
- onKeyUp(I) {
3355
- I.key === " " && n !== null && m(_[n].key);
3354
+ onKeyUp(T) {
3355
+ T.key === " " && n !== null && m(_[n].key);
3356
3356
  },
3357
3357
  onPointerMove() {
3358
3358
  h(!0);
@@ -3360,20 +3360,20 @@ const Qt = "select-all", ci = (e, a) => {
3360
3360
  })), {
3361
3361
  children: /* @__PURE__ */ t(
3362
3362
  Y_,
3363
- T(k({
3363
+ I(k({
3364
3364
  totalListHeightChanged: E,
3365
3365
  style: { height: `${N}px`, maxHeight: o },
3366
3366
  totalCount: _.length,
3367
3367
  data: _,
3368
3368
  increaseViewportBy: 200
3369
3369
  }, B), {
3370
- itemContent: (I, A) => /* @__PURE__ */ t(
3370
+ itemContent: (T, A) => /* @__PURE__ */ t(
3371
3371
  yi,
3372
3372
  {
3373
- index: I,
3373
+ index: T,
3374
3374
  getItemProps: g,
3375
3375
  listElementsRef: l,
3376
- isActive: n === I,
3376
+ isActive: n === T,
3377
3377
  isSelected: P(A.key),
3378
3378
  onSelect: m,
3379
3379
  item: A,
@@ -3435,7 +3435,7 @@ const Qt = "select-all", ci = (e, a) => {
3435
3435
  c || v(!1);
3436
3436
  }, [c]), /* @__PURE__ */ b(
3437
3437
  "button",
3438
- T(k({
3438
+ I(k({
3439
3439
  tabIndex: l ? -1 : 0,
3440
3440
  "aria-disabled": l,
3441
3441
  disabled: l,
@@ -3578,7 +3578,7 @@ const Qt = "select-all", ci = (e, a) => {
3578
3578
  };
3579
3579
  return /* @__PURE__ */ b(
3580
3580
  D,
3581
- T(k(k({
3581
+ I(k(k({
3582
3582
  className: w
3583
3583
  }, v), N()), {
3584
3584
  as: "div",
@@ -3700,7 +3700,7 @@ const Qt = "select-all", ci = (e, a) => {
3700
3700
  (E = v.current) != null && E.id && x.key === "Enter" && c((P = v.current) == null ? void 0 : P.id), n === "multi" && (x.key === "Backspace" || x.key === "Delete") && !m && _ && (_ == null ? void 0 : _.length) > 0 && d(_[_.length - 1].key);
3701
3701
  }, C = () => /* @__PURE__ */ t(
3702
3702
  "input",
3703
- T(k({}, y), {
3703
+ I(k({}, y), {
3704
3704
  ref: f,
3705
3705
  className: u(
3706
3706
  we[`${$e}__input`],
@@ -3731,7 +3731,7 @@ const Qt = "select-all", ci = (e, a) => {
3731
3731
  children: [
3732
3732
  /* @__PURE__ */ t("div", { className: we[`${$e}__item-container`], children: n === "single" ? B(_[0]) : _.map((x) => /* @__PURE__ */ t(
3733
3733
  Xo,
3734
- {
3734
+ I(k({
3735
3735
  className: u(
3736
3736
  we[`${$e}__tag`],
3737
3737
  we[`${$e}__tag--${l}`]
@@ -3739,9 +3739,10 @@ const Qt = "select-all", ci = (e, a) => {
3739
3739
  disabled: r,
3740
3740
  onRemove: (E) => {
3741
3741
  E.stopPropagation(), d(x.key);
3742
- },
3742
+ }
3743
+ }, x.selectedTagOptions), {
3743
3744
  children: B(x)
3744
- },
3745
+ }),
3745
3746
  x.key
3746
3747
  )) }),
3747
3748
  w && C()
@@ -3796,7 +3797,7 @@ const Qt = "select-all", ci = (e, a) => {
3796
3797
  enabled: !e,
3797
3798
  keyboardHandlers: !1,
3798
3799
  toggle: !1
3799
- }, l)), P = Da(C, { role: "listbox" }), O = Aa(C, i), I = H_(C, {
3800
+ }, l)), P = Da(C, { role: "listbox" }), O = Aa(C, i), T = H_(C, {
3800
3801
  enabled: a.length > 0 && !e,
3801
3802
  listRef: $,
3802
3803
  activeIndex: g,
@@ -3808,7 +3809,7 @@ const Qt = "select-all", ci = (e, a) => {
3808
3809
  (V) => !!V.disabled || !!V.groupHeader
3809
3810
  )
3810
3811
  }), { getReferenceProps: A, getFloatingProps: z, getItemProps: ne } = Pa(
3811
- [E, O, P, I]
3812
+ [E, O, P, T]
3812
3813
  );
3813
3814
  return !d && m && v(!1), {
3814
3815
  getReferenceProps: A,
@@ -3913,7 +3914,7 @@ const Qt = "select-all", ci = (e, a) => {
3913
3914
  floatingStrategy: E,
3914
3915
  useDismissHookProps: P,
3915
3916
  useClickHookProps: O,
3916
- virtuosoProps: I,
3917
+ virtuosoProps: T,
3917
3918
  inputProps: A
3918
3919
  } = V, z = R(V, [
3919
3920
  "id",
@@ -4056,7 +4057,7 @@ const Qt = "select-all", ci = (e, a) => {
4056
4057
  getFloatingProps: Ht,
4057
4058
  getItemProps: zt,
4058
4059
  emptyStateText: m,
4059
- virtuosoProps: I
4060
+ virtuosoProps: T
4060
4061
  }
4061
4062
  ) }) })
4062
4063
  ] });
@@ -4125,9 +4126,9 @@ const Qt = "select-all", ci = (e, a) => {
4125
4126
  C(!1);
4126
4127
  }, 0);
4127
4128
  }
4128
- }, I = p.useMemo(() => n ? Ai(n) ? Di(n) : Pi(n) : [], [n]), { items: A, searchPhrase: z, handleOnFilter: ne, handleSelect: V, selectedKeys: H } = qo({
4129
+ }, T = p.useMemo(() => n ? Ai(n) ? Di(n) : Pi(n) : [], [n]), { items: A, searchPhrase: z, handleOnFilter: ne, handleSelect: V, selectedKeys: H } = qo({
4129
4130
  selected: [],
4130
- options: I,
4131
+ options: T,
4131
4132
  type: "single",
4132
4133
  onSelect: O,
4133
4134
  setOpen: S,
@@ -4165,10 +4166,10 @@ const Qt = "select-all", ci = (e, a) => {
4165
4166
  placement: _,
4166
4167
  floatingStrategy: l
4167
4168
  });
4168
- return /* @__PURE__ */ b("div", T(k({ ref: ct }, De()), { children: [
4169
+ return /* @__PURE__ */ b("div", I(k({ ref: ct }, De()), { children: [
4169
4170
  /* @__PURE__ */ t(
4170
4171
  ii,
4171
- T(k({}, h), {
4172
+ I(k({}, h), {
4172
4173
  ref: f,
4173
4174
  onChange: E,
4174
4175
  onKeyDown: P,
@@ -4313,7 +4314,7 @@ const Li = "lc-Avatar-module__avatar___5-kP8", Gi = "lc-Avatar-module__avatar__s
4313
4314
  Ee[`${me}__status--${o}`],
4314
4315
  Ee[`${me}__status--${_}`],
4315
4316
  ...i ? [Ee[`${me}__status--${i}`]] : []
4316
- ), I = u(
4317
+ ), T = u(
4317
4318
  Ee[`${me}__icon`],
4318
4319
  Ee[`${me}__icon--${_}`]
4319
4320
  ), A = u(
@@ -4324,7 +4325,7 @@ const Li = "lc-Avatar-module__avatar___5-kP8", Gi = "lc-Avatar-module__avatar__s
4324
4325
  y(g);
4325
4326
  }, [g]), /* @__PURE__ */ b(
4326
4327
  "div",
4327
- T(k({
4328
+ I(k({
4328
4329
  className: P,
4329
4330
  style: k(k({}, E), s)
4330
4331
  }, h), {
@@ -4367,7 +4368,7 @@ const Li = "lc-Avatar-module__avatar___5-kP8", Gi = "lc-Avatar-module__avatar__s
4367
4368
  F,
4368
4369
  {
4369
4370
  "data-testid": `${me}__icon`,
4370
- className: I,
4371
+ className: T,
4371
4372
  source: g_
4372
4373
  }
4373
4374
  )
@@ -4452,7 +4453,7 @@ const Li = "lc-Avatar-module__avatar___5-kP8", Gi = "lc-Avatar-module__avatar__s
4452
4453
  "title"
4453
4454
  ]);
4454
4455
  const [h, m] = p.useState(!1), v = h ? _r : Ut, g = h ? "Hide" : "Show more", f = (a == null ? void 0 : a.length) > 0, y = !!n, w = f || y, $ = l, B = i, N = B ? "" : Ie[tl];
4455
- return /* @__PURE__ */ b("div", T(k({ className: u(Ie[wa], o) }, d), { children: [
4456
+ return /* @__PURE__ */ b("div", I(k({ className: u(Ie[wa], o) }, d), { children: [
4456
4457
  $ && /* @__PURE__ */ b("div", { className: u(Ie[rr], N), children: [
4457
4458
  B && /* @__PURE__ */ t(
4458
4459
  "img",
@@ -4652,9 +4653,9 @@ const Li = "lc-Avatar-module__avatar___5-kP8", Gi = "lc-Avatar-module__avatar__s
4652
4653
  };
4653
4654
  if (!a || !e) return r;
4654
4655
  const o = Hr(a, e);
4655
- return o > 0 ? T(k({}, r), {
4656
+ return o > 0 ? I(k({}, r), {
4656
4657
  [G[`${U}__day--end`]]: a
4657
- }) : o < 0 ? T(k({}, r), {
4658
+ }) : o < 0 ? I(k({}, r), {
4658
4659
  [G[`${U}__day--start`]]: a
4659
4660
  }) : r;
4660
4661
  }, ya = (e, a) => {
@@ -4804,36 +4805,36 @@ const cl = (e) => {
4804
4805
  currentMonth: a
4805
4806
  };
4806
4807
  case te.NEW_TEMPORARY_TO_VALUE:
4807
- return T(k({}, n), {
4808
+ return I(k({}, n), {
4808
4809
  temporaryTo: i.payload.date
4809
4810
  });
4810
4811
  case te.SELECT_FIRST_DAY:
4811
- return T(k({}, n), {
4812
+ return I(k({}, n), {
4812
4813
  from: i.payload.date,
4813
4814
  to: void 0,
4814
4815
  temporaryTo: void 0
4815
4816
  });
4816
4817
  case te.SELECT_SECOND_DAY_AS_FROM:
4817
- return T(k({}, n), {
4818
+ return I(k({}, n), {
4818
4819
  from: i.payload.date,
4819
4820
  to: n.from,
4820
4821
  temporaryTo: n.from
4821
4822
  });
4822
4823
  case te.SELECT_SECOND_DAY_AS_TO:
4823
- return T(k({}, n), {
4824
+ return I(k({}, n), {
4824
4825
  to: i.payload.date,
4825
4826
  temporaryTo: i.payload.date
4826
4827
  });
4827
4828
  case te.CURRENT_MONTH_CHANGE:
4828
- return T(k({}, n), {
4829
+ return I(k({}, n), {
4829
4830
  currentMonth: i.payload.date
4830
4831
  });
4831
4832
  case te.SET_FROM:
4832
- return T(k({}, n), {
4833
+ return I(k({}, n), {
4833
4834
  from: i.payload.date
4834
4835
  });
4835
4836
  case te.SET_TO:
4836
- return T(k({}, n), {
4837
+ return I(k({}, n), {
4837
4838
  to: i.payload.date
4838
4839
  });
4839
4840
  default:
@@ -4886,7 +4887,7 @@ const cl = (e) => {
4886
4887
  if (!(f && w))
4887
4888
  return;
4888
4889
  const $ = ya(y, e);
4889
- $ && (n == null || n(T(k({}, $), {
4890
+ $ && (n == null || n(I(k({}, $), {
4890
4891
  value: {
4891
4892
  from: f,
4892
4893
  to: w
@@ -4903,7 +4904,7 @@ const cl = (e) => {
4903
4904
  if (!ya(f, e))
4904
4905
  return;
4905
4906
  const w = e.reduce(
4906
- ($, B) => T(k({}, $), { [B.id]: B }),
4907
+ ($, B) => I(k({}, $), { [B.id]: B }),
4907
4908
  {}
4908
4909
  );
4909
4910
  n(w[f]);
@@ -5002,7 +5003,7 @@ const xs = (e) => {
5002
5003
  a,
5003
5004
  G["date-picker--range__calendars-wrapper"]
5004
5005
  );
5005
- return /* @__PURE__ */ t("div", T(k({}, o), { className: _, children: r }));
5006
+ return /* @__PURE__ */ t("div", I(k({}, o), { className: _, children: r }));
5006
5007
  }, X = {
5007
5008
  "details-card": "lc-DetailsCard-module__details-card___v-Avc",
5008
5009
  "details-card__button--fading": "lc-DetailsCard-module__details-card__button--fading___LlMMo",
@@ -5159,7 +5160,7 @@ const xs = (e) => {
5159
5160
  "className"
5160
5161
  ]);
5161
5162
  const n = u(vo[ko], a);
5162
- return /* @__PURE__ */ b(D, T(k({ as: "span", size: "sm" }, r), { className: n, children: [
5163
+ return /* @__PURE__ */ b(D, I(k({ as: "span", size: "sm" }, r), { className: n, children: [
5163
5164
  /* @__PURE__ */ t(
5164
5165
  F,
5165
5166
  {
@@ -5194,7 +5195,7 @@ const xs = (e) => {
5194
5195
  [yr[`${Cr}--inline`]]: _,
5195
5196
  [yr[`${Cr}--stretched`]]: n
5196
5197
  });
5197
- return /* @__PURE__ */ b("div", T(k({}, i), { className: c, children: [
5198
+ return /* @__PURE__ */ b("div", I(k({}, i), { className: c, children: [
5198
5199
  a,
5199
5200
  o && /* @__PURE__ */ t(Wr, { children: o }),
5200
5201
  r && /* @__PURE__ */ t(cr, { children: r })
@@ -5219,7 +5220,7 @@ const xs = (e) => {
5219
5220
  "helperText",
5220
5221
  "formFooter"
5221
5222
  ]);
5222
- return /* @__PURE__ */ b("form", T(k({ className: u(ca[sa], e) }, n), { children: [
5223
+ return /* @__PURE__ */ b("form", I(k({ className: u(ca[sa], e) }, n), { children: [
5223
5224
  (r || o) && /* @__PURE__ */ b("div", { className: ca[`${sa}__header`], children: [
5224
5225
  r && /* @__PURE__ */ t(he, { size: "sm", className: ca[`${sa}__label`], children: r }),
5225
5226
  o && /* @__PURE__ */ t(D, { as: "p", size: "sm", className: ca[`${sa}__helper`], children: o })
@@ -5379,7 +5380,7 @@ const xs = (e) => {
5379
5380
  const l = u(Ka[Ya], e);
5380
5381
  return /* @__PURE__ */ b(
5381
5382
  "div",
5382
- T(k(T(k({}, _), {
5383
+ I(k(I(k({}, _), {
5383
5384
  role: "group"
5384
5385
  }), r && { "aria-label": r }), {
5385
5386
  className: l,
@@ -5483,12 +5484,12 @@ const xs = (e) => {
5483
5484
  } = qt(() => {
5484
5485
  const E = e.filter(
5485
5486
  (V) => V.status === "available"
5486
- ), P = yl(E), O = E.length, I = P.length > 4 ? P.slice(0, 3) : P, A = e.length > 0 && O === 0, z = E.filter(
5487
+ ), P = yl(E), O = E.length, T = P.length > 4 ? P.slice(0, 3) : P, A = e.length > 0 && O === 0, z = E.filter(
5487
5488
  (V) => !V.isBot
5488
5489
  ).length, ne = O - z;
5489
5490
  return {
5490
5491
  availableAgentsNumber: O,
5491
- visibleAgents: I,
5492
+ visibleAgents: T,
5492
5493
  hasOnlyUnavailableAgents: A,
5493
5494
  onlyAgentsNumber: z,
5494
5495
  onlyBotsNumber: ne
@@ -5513,7 +5514,7 @@ const xs = (e) => {
5513
5514
  ];
5514
5515
  return /* @__PURE__ */ b(
5515
5516
  "div",
5516
- T(k({}, d), {
5517
+ I(k({}, d), {
5517
5518
  className: u(
5518
5519
  xt.Dark,
5519
5520
  Te[Ae],
@@ -5733,7 +5734,7 @@ const xs = (e) => {
5733
5734
  ),
5734
5735
  children: /* @__PURE__ */ t(
5735
5736
  "div",
5736
- T(k({
5737
+ I(k({
5737
5738
  role: "dialog",
5738
5739
  "aria-modal": !0,
5739
5740
  className: s
@@ -5786,7 +5787,7 @@ const xs = (e) => {
5786
5787
  };
5787
5788
  return /* @__PURE__ */ b(
5788
5789
  El,
5789
- T(k({
5790
+ I(k({
5790
5791
  className: h,
5791
5792
  fullSpaceContent: _,
5792
5793
  onClose: i,
@@ -5989,7 +5990,7 @@ const xs = (e) => {
5989
5990
  return /* @__PURE__ */ b("div", { className: v, style: l, children: [
5990
5991
  /* @__PURE__ */ t(
5991
5992
  "input",
5992
- T(k({
5993
+ I(k({
5993
5994
  type: "text",
5994
5995
  ref: m
5995
5996
  }, c), {
@@ -6365,16 +6366,16 @@ const xs = (e) => {
6365
6366
  placement: i,
6366
6367
  strategy: g,
6367
6368
  whileElementsMounted: Ia
6368
- }), I = Ta(P, v), A = Aa(P, k({
6369
+ }), T = Ta(P, v), A = Aa(P, k({
6369
6370
  escapeKey: h
6370
6371
  }, m)), z = Da(P), { getReferenceProps: ne, getFloatingProps: V } = Pa([
6371
- I,
6372
+ T,
6372
6373
  A,
6373
6374
  z
6374
6375
  ]), H = u(Dl.popover, _), K = /* @__PURE__ */ b(ae, { children: [
6375
6376
  /* @__PURE__ */ t(
6376
6377
  "div",
6377
- T(k({
6378
+ I(k({
6378
6379
  "data-testid": "popover-trigger-button",
6379
6380
  ref: E.setReference
6380
6381
  }, ne()), {
@@ -6384,7 +6385,7 @@ const xs = (e) => {
6384
6385
  ),
6385
6386
  /* @__PURE__ */ t(ea, { id: $, children: N && /* @__PURE__ */ t(Er, { context: P, modal: !1, children: /* @__PURE__ */ t(
6386
6387
  "div",
6387
- T(k({
6388
+ I(k({
6388
6389
  className: H,
6389
6390
  ref: E.setFloating,
6390
6391
  style: O
@@ -6616,7 +6617,7 @@ const xs = (e) => {
6616
6617
  opacity: 0,
6617
6618
  transform: "scale(0.84) translateX(-22px)"
6618
6619
  }
6619
- }), { getReferenceProps: O, getFloatingProps: I } = Pa([
6620
+ }), { getReferenceProps: O, getFloatingProps: T } = Pa([
6620
6621
  S,
6621
6622
  x,
6622
6623
  C
@@ -6631,7 +6632,7 @@ const xs = (e) => {
6631
6632
  (H, K) => H + (K.notificationCount || 0),
6632
6633
  0
6633
6634
  ), V = /* @__PURE__ */ b(ae, { children: [
6634
- /* @__PURE__ */ t("div", T(k({ ref: $.setReference }, O()), { children: /* @__PURE__ */ t(
6635
+ /* @__PURE__ */ t("div", I(k({ ref: $.setReference }, O()), { children: /* @__PURE__ */ t(
6635
6636
  Gt,
6636
6637
  {
6637
6638
  isVisible: h,
@@ -6660,10 +6661,10 @@ const xs = (e) => {
6660
6661
  ) })),
6661
6662
  /* @__PURE__ */ t(ea, { id: g, children: /* @__PURE__ */ t(
6662
6663
  "div",
6663
- T(k({
6664
+ I(k({
6664
6665
  ref: $.setFloating,
6665
6666
  style: N
6666
- }, I()), {
6667
+ }, T()), {
6667
6668
  children: E && /* @__PURE__ */ b(
6668
6669
  "div",
6669
6670
  {
@@ -6932,7 +6933,7 @@ const xs = (e) => {
6932
6933
  );
6933
6934
  if (!i)
6934
6935
  throw new Error(`Product data for ${e.id} not found`);
6935
- return T(k({}, e), {
6936
+ return I(k({}, e), {
6936
6937
  trialDaysLeft: r[e.id] && ((l = r[e.id]) == null ? void 0 : l.status) === "trial" && ((d = r[e.id]) != null && d.next_charge_at) ? Ul((s = (c = r[e.id]) == null ? void 0 : c.next_charge_at) != null ? s : "") : void 0,
6937
6938
  expired: ((h = r[e.id]) == null ? void 0 : h.status) === "expired",
6938
6939
  url: Gl(
@@ -7033,7 +7034,7 @@ const ba = {
7033
7034
  }, g = `${s / 2} ${s / 2} ${s} ${s}`;
7034
7035
  return /* @__PURE__ */ t(
7035
7036
  "div",
7036
- T(k({
7037
+ I(k({
7037
7038
  className: h,
7038
7039
  ref: n,
7039
7040
  role: "progressbar"
@@ -7099,7 +7100,7 @@ const ba = {
7099
7100
  );
7100
7101
  return /* @__PURE__ */ t(
7101
7102
  "div",
7102
- T(k({}, _), {
7103
+ I(k({}, _), {
7103
7104
  className: c,
7104
7105
  ref: n,
7105
7106
  role: "progressbar",
@@ -7302,7 +7303,7 @@ const ba = {
7302
7303
  /* @__PURE__ */ t("span", { className: kt[`${yt}__inner-circle`] }),
7303
7304
  /* @__PURE__ */ t(
7304
7305
  "input",
7305
- T(k({}, n), {
7306
+ I(k({}, n), {
7306
7307
  className: kt[`${yt}__input`],
7307
7308
  ref: i,
7308
7309
  type: "radio",
@@ -7367,8 +7368,8 @@ const ba = {
7367
7368
  p.useEffect(() => {
7368
7369
  e && n && f(!1);
7369
7370
  }, [e, n]);
7370
- const S = (I) => {
7371
- const A = I.currentTarget.value;
7371
+ const S = (T) => {
7372
+ const A = T.currentTarget.value;
7372
7373
  d(A);
7373
7374
  }, C = () => {
7374
7375
  d("");
@@ -7378,8 +7379,8 @@ const ba = {
7378
7379
  e && f(!1), w(!0);
7379
7380
  }, P = () => {
7380
7381
  e && !n && f(!0), w(!1);
7381
- }, O = (I) => {
7382
- I.key === ke.enter && (I.preventDefault(), d(n));
7382
+ }, O = (T) => {
7383
+ T.key === ke.enter && (T.preventDefault(), d(n));
7383
7384
  };
7384
7385
  return /* @__PURE__ */ b(
7385
7386
  "div",
@@ -7458,7 +7459,7 @@ const ec = "lc-Skeleton-module__loading___fc1WK", Ot = {
7458
7459
  }) : l);
7459
7460
  return /* @__PURE__ */ t(
7460
7461
  "div",
7461
- T(k({
7462
+ I(k({
7462
7463
  className: u(Ot[`${xo}`], {
7463
7464
  [Ot[`${xo}--vertical`]]: a
7464
7465
  })
@@ -7592,13 +7593,13 @@ const ec = "lc-Skeleton-module__loading___fc1WK", Ot = {
7592
7593
  [le[`${_e}--focused`]]: y
7593
7594
  },
7594
7595
  e
7595
- ), O = (I) => {
7596
- n == null || n(I, !$), v || (I.stopPropagation(), f((A) => !A));
7596
+ ), O = (T) => {
7597
+ n == null || n(T, !$), v || (T.stopPropagation(), f((A) => !A));
7597
7598
  };
7598
7599
  return /* @__PURE__ */ b("span", { className: P, children: [
7599
7600
  /* @__PURE__ */ t(
7600
7601
  "input",
7601
- T(k({
7602
+ I(k({
7602
7603
  type: "checkbox",
7603
7604
  className: u(
7604
7605
  le[`${_e}__input`],
@@ -7700,7 +7701,7 @@ const ec = "lc-Skeleton-module__loading___fc1WK", Ot = {
7700
7701
  const { disabled: s } = l, h = r !== void 0 && !_, m = r !== void 0 && _;
7701
7702
  return /* @__PURE__ */ b(
7702
7703
  D,
7703
- T(k({}, l), {
7704
+ I(k({}, l), {
7704
7705
  as: l.href ? "a" : "button",
7705
7706
  "aria-selected": o,
7706
7707
  size: "md",
@@ -7798,7 +7799,7 @@ const ec = "lc-Skeleton-module__loading___fc1WK", Ot = {
7798
7799
  tagProps: l
7799
7800
  }) => {
7800
7801
  const d = p.useMemo(() => o !== void 0 ? o(e) : !0, [e, o]), c = p.useRef(null), s = () => r(a), h = () => d ? l ? l.kind : "default" : "error";
7801
- return /* @__PURE__ */ t(Xo, T(k({ size: i }, l), { kind: h(), onRemove: s, children: /* @__PURE__ */ t(
7802
+ return /* @__PURE__ */ t(Xo, I(k({ size: i }, l), { kind: h(), onRemove: s, children: /* @__PURE__ */ t(
7802
7803
  mc,
7803
7804
  {
7804
7805
  value: e,
@@ -7852,34 +7853,34 @@ const ec = "lc-Skeleton-module__loading___fc1WK", Ot = {
7852
7853
  d,
7853
7854
  Ca[`${ja}__input`],
7854
7855
  Ca[`${ja}__input--${i}`]
7855
- ), [y, w] = p.useState(""), $ = p.useRef(null), B = (I) => {
7856
- I.trim() !== "" && (r([...a || [], I]), w(""));
7857
- }, N = (I) => {
7856
+ ), [y, w] = p.useState(""), $ = p.useRef(null), B = (T) => {
7857
+ T.trim() !== "" && (r([...a || [], T]), w(""));
7858
+ }, N = (T) => {
7858
7859
  const A = [...a || []];
7859
- A.splice(I, 1), r(A);
7860
- }, S = (I) => w(I.target.value), C = (I) => {
7861
- if (gc.includes(I.key)) {
7862
- if (I.preventDefault(), y === "")
7860
+ A.splice(T, 1), r(A);
7861
+ }, S = (T) => w(T.target.value), C = (T) => {
7862
+ if (gc.includes(T.key)) {
7863
+ if (T.preventDefault(), y === "")
7863
7864
  return;
7864
7865
  B(y);
7865
- } else if (hc.includes(I.key)) {
7866
+ } else if (hc.includes(T.key)) {
7866
7867
  if (y !== "" || !(a != null && a.length))
7867
7868
  return;
7868
7869
  N(a.length - 1);
7869
7870
  }
7870
- }, x = (I) => {
7871
- s && B(y), c == null || c(I);
7872
- }, E = (I, A) => {
7871
+ }, x = (T) => {
7872
+ s && B(y), c == null || c(T);
7873
+ }, E = (T, A) => {
7873
7874
  const z = [...a || []];
7874
7875
  z.reduce(
7875
- (V, H, K) => V + (H === A && K !== I ? 1 : 0),
7876
+ (V, H, K) => V + (H === A && K !== T ? 1 : 0),
7876
7877
  0
7877
- ) > 0 ? z.splice(I, 1) : z[I] = A, r(z);
7878
- }, P = (I) => {
7879
- I.preventDefault();
7880
- const z = I.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
7878
+ ) > 0 ? z.splice(T, 1) : z[T] = A, r(z);
7879
+ }, P = (T) => {
7880
+ T.preventDefault();
7881
+ const z = T.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
7881
7882
  r([...a || [], ...z]);
7882
- }, O = (I, A) => typeof I == "string" ? /* @__PURE__ */ t(
7883
+ }, O = (T, A) => typeof T == "string" ? /* @__PURE__ */ t(
7883
7884
  Bo,
7884
7885
  {
7885
7886
  index: A,
@@ -7888,9 +7889,9 @@ const ec = "lc-Skeleton-module__loading___fc1WK", Ot = {
7888
7889
  inputRef: $,
7889
7890
  validator: o,
7890
7891
  size: i,
7891
- children: I
7892
+ children: T
7892
7893
  },
7893
- `${A}${I}`
7894
+ `${A}${T}`
7894
7895
  ) : /* @__PURE__ */ t(
7895
7896
  Bo,
7896
7897
  {
@@ -7900,17 +7901,17 @@ const ec = "lc-Skeleton-module__loading___fc1WK", Ot = {
7900
7901
  inputRef: $,
7901
7902
  validator: o,
7902
7903
  size: i,
7903
- tagProps: I,
7904
- children: I.value || I.children
7904
+ tagProps: T,
7905
+ children: T.value || T.children
7905
7906
  },
7906
- `${A}${I.children}`
7907
+ `${A}${T.children}`
7907
7908
  );
7908
7909
  return /* @__PURE__ */ b(ae, { children: [
7909
7910
  /* @__PURE__ */ b(D, { as: "div", className: g, children: [
7910
7911
  a == null ? void 0 : a.map(O),
7911
7912
  /* @__PURE__ */ t(
7912
7913
  "input",
7913
- T(k({}, h), {
7914
+ I(k({}, h), {
7914
7915
  id: e,
7915
7916
  ref: $,
7916
7917
  className: f,
@@ -7931,7 +7932,7 @@ const ec = "lc-Skeleton-module__loading___fc1WK", Ot = {
7931
7932
  } = o, a = R(o, [
7932
7933
  "placeholder"
7933
7934
  ]);
7934
- return /* @__PURE__ */ t(fc, T(k({}, a), { placeholder: e, validator: kc }));
7935
+ return /* @__PURE__ */ t(fc, I(k({}, a), { placeholder: e, validator: kc }));
7935
7936
  }, yc = "lc-Toast-module__toast___ngbBR", Cc = "lc-Toast-module__toast__content___XGt2m", wc = "lc-Toast-module__toast__actions___iFshW", $c = "lc-Toast-module__toast__actions__button___sQIbQ", ce = {
7936
7937
  toast: yc,
7937
7938
  toast__content: Cc,
@@ -7996,8 +7997,8 @@ const ec = "lc-Skeleton-module__loading___fc1WK", Ot = {
7996
7997
  ce[`${At}--${_}`],
7997
7998
  a
7998
7999
  ), s = typeof r == "string", h = (m) => m && m.closesOnClick && n ? (m.onClick(), n()) : m.onClick();
7999
- return /* @__PURE__ */ b("div", T(k({ className: c }, i), { children: [
8000
- /* @__PURE__ */ t("div", { className: ce[`${At}__icon`], children: /* @__PURE__ */ t(F, T(k({}, Nc[_]), { size: "medium" })) }),
8000
+ return /* @__PURE__ */ b("div", I(k({ className: c }, i), { children: [
8001
+ /* @__PURE__ */ t("div", { className: ce[`${At}__icon`], children: /* @__PURE__ */ t(F, I(k({}, Nc[_]), { size: "medium" })) }),
8001
8002
  /* @__PURE__ */ t("div", { className: ce[`${At}__content`], children: s ? /* @__PURE__ */ t(D, { as: "div", children: r }) : r }),
8002
8003
  (e || o) && /* @__PURE__ */ b("div", { className: ce[`${At}__actions`], children: [
8003
8004
  e && /* @__PURE__ */ t(
@@ -8085,7 +8086,7 @@ const ec = "lc-Skeleton-module__loading___fc1WK", Ot = {
8085
8086
  };
8086
8087
  return /* @__PURE__ */ t(D, { as: "div", className: h, children: /* @__PURE__ */ t(
8087
8088
  "textarea",
8088
- T(k({}, r), {
8089
+ I(k({}, r), {
8089
8090
  ref: o,
8090
8091
  onFocus: v,
8091
8092
  onBlur: m