@livechat/design-system-react-components 1.34.1 → 1.35.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.es.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var B_ = Object.defineProperty, I_ = Object.defineProperties;
|
|
2
|
+
var T_ = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var va = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var Tr = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var tr = (t, a, r) => a in t ? B_(t, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[a] = r, k = (t, a) => {
|
|
6
6
|
for (var r in a || (a = {}))
|
|
7
|
-
|
|
7
|
+
Tr.call(a, r) && tr(t, r, a[r]);
|
|
8
8
|
if (va)
|
|
9
9
|
for (var r of va(a))
|
|
10
|
-
|
|
10
|
+
Dr.call(a, r) && tr(t, r, a[r]);
|
|
11
11
|
return t;
|
|
12
|
-
}, T = (t, a) =>
|
|
12
|
+
}, T = (t, a) => I_(t, T_(a));
|
|
13
13
|
var D = (t, a) => {
|
|
14
14
|
var r = {};
|
|
15
15
|
for (var _ in t)
|
|
16
|
-
|
|
16
|
+
Tr.call(t, _) && a.indexOf(_) < 0 && (r[_] = t[_]);
|
|
17
17
|
if (t != null && va)
|
|
18
18
|
for (var _ of va(t))
|
|
19
|
-
a.indexOf(_) < 0 &&
|
|
19
|
+
a.indexOf(_) < 0 && Dr.call(t, _) && (r[_] = t[_]);
|
|
20
20
|
return r;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var ar = (t, a, r) => (tr(t, typeof a != "symbol" ? a + "" : a, r), r);
|
|
23
23
|
import * as e from "react";
|
|
24
|
-
import { useReducer as
|
|
25
|
-
import { Check as ia, Close as Ie, ChevronDown as Ot, Info as ca, Warning as
|
|
24
|
+
import { useReducer as D_, useRef as A_, useEffect as Ft, useCallback as ka, useMemo as Ea, useState as P_ } from "react";
|
|
25
|
+
import { Check as ia, Close as Ie, ChevronDown as Ot, Info as ca, Warning as o_, CheckCircle as Er, Block as l_, ChevronRight as Ga, Person as F_, ChevronUp as Ua, DoubleArrowLeft as R_, ChevronLeft as M_, DoubleArrowRight as L_, VisibilityOn as O_, VisibilityOff as G_, TextLogoFull as U_, LiveChatMono as H_, ChatBotMono as z_, HelpDeskMono as W_, KnowledgeBaseMono as V_, OpenWidgetMono as K_, HelloMono as Y_, TextAccounts as q_, Search as Z_, LockBlack as X_, Refresh as J_, Error as Q_ } from "@livechat/design-system-icons";
|
|
26
26
|
import u from "clsx";
|
|
27
|
-
import { useFloatingParentNodeId as
|
|
28
|
-
import * as
|
|
29
|
-
import { flushSync as
|
|
30
|
-
import
|
|
31
|
-
import { getContrast as
|
|
32
|
-
import
|
|
33
|
-
import { subMonths as Rt, differenceInCalendarMonths as
|
|
34
|
-
import { Virtuoso as
|
|
35
|
-
import
|
|
36
|
-
import { TransitionGroup as
|
|
37
|
-
const
|
|
27
|
+
import { useFloatingParentNodeId as Ha, useFloatingNodeId as sa, useFloating as da, offset as ua, flip as za, size as n_, autoUpdate as ma, useClick as pa, useDismiss as ga, useRole as fa, useInteractions as ba, useTransitionStyles as yr, FloatingNode as ha, FloatingTree as Wa, shift as Cr, arrow as j_, useHover as eo, safePolygon as to, useFocus as ao, useTransitionStatus as ro, FloatingArrow as _o, FloatingPortal as c_, FloatingOverlay as oo, FloatingFocusManager as gr, useListNavigation as lo } from "@floating-ui/react";
|
|
28
|
+
import * as i_ from "react-dom";
|
|
29
|
+
import { flushSync as no } from "react-dom";
|
|
30
|
+
import s_ from "lodash.debounce";
|
|
31
|
+
import { getContrast as wr } from "polished";
|
|
32
|
+
import co from "react-day-picker";
|
|
33
|
+
import { subMonths as Rt, differenceInCalendarMonths as Ar, addMonths as Pr, isSameMonth as fr, isSameDay as br, isAfter as hr, differenceInCalendarDays as $r, isPast as io } from "date-fns";
|
|
34
|
+
import { Virtuoso as so } from "react-virtuoso";
|
|
35
|
+
import Fr from "lodash.escape";
|
|
36
|
+
import { TransitionGroup as d_, CSSTransition as u_ } from "react-transition-group";
|
|
37
|
+
const Gc = {
|
|
38
38
|
/** @deprecated */
|
|
39
39
|
Background: "--background",
|
|
40
40
|
Background01: "--background-01",
|
|
@@ -406,7 +406,7 @@ const Lc = {
|
|
|
406
406
|
SurfaceCheckListItemOpenBackground: "--surface-check-list-item-open-background",
|
|
407
407
|
SurfaceCheckListBackground: "--surface-check-list-background",
|
|
408
408
|
ContentBasicPlaceholder: "--content-basic-placeholder"
|
|
409
|
-
},
|
|
409
|
+
}, Uc = {
|
|
410
410
|
Spacing0: "--spacing-0",
|
|
411
411
|
Spacing05: "--spacing-05",
|
|
412
412
|
Spacing1: "--spacing-1",
|
|
@@ -426,7 +426,7 @@ const Lc = {
|
|
|
426
426
|
Spacing18: "--spacing-18",
|
|
427
427
|
Spacing20: "--spacing-20",
|
|
428
428
|
Spacing24: "--spacing-24"
|
|
429
|
-
},
|
|
429
|
+
}, Hc = {
|
|
430
430
|
Float: "--shadow-float",
|
|
431
431
|
PopOver: "--shadow-pop-over",
|
|
432
432
|
Modal: "--shadow-modal",
|
|
@@ -448,7 +448,7 @@ const Lc = {
|
|
|
448
448
|
FixedLeft: "--shadow-fixed-left",
|
|
449
449
|
FixedTop: "--shadow-fixed-top",
|
|
450
450
|
FixedBottom: "--shadow-fixed-bottom"
|
|
451
|
-
},
|
|
451
|
+
}, zc = {
|
|
452
452
|
Radius0: "--radius-0",
|
|
453
453
|
Radius1: "--radius-1",
|
|
454
454
|
Radius2: "--radius-2",
|
|
@@ -464,25 +464,25 @@ const Lc = {
|
|
|
464
464
|
// deprecated
|
|
465
465
|
4: "--radius-4"
|
|
466
466
|
// deprecated
|
|
467
|
-
},
|
|
467
|
+
}, Wc = {
|
|
468
468
|
Fast1: "--transition-duration-fast-1",
|
|
469
469
|
Fast2: "--transition-duration-fast-2",
|
|
470
470
|
Moderate1: "--transition-duration-moderate-1"
|
|
471
|
-
},
|
|
471
|
+
}, Vc = {
|
|
472
472
|
EaseIn: "--transition-timing-ease-in",
|
|
473
473
|
EaseOut: "--transition-timing-ease-out"
|
|
474
|
-
},
|
|
474
|
+
}, Kc = {
|
|
475
475
|
Instant: "--delay-instant",
|
|
476
476
|
Moderate: "--delay-moderate",
|
|
477
477
|
Slow: "--delay-slow"
|
|
478
|
-
},
|
|
478
|
+
}, m_ = e.createContext(
|
|
479
479
|
void 0
|
|
480
|
-
),
|
|
481
|
-
const t = e.useContext(
|
|
480
|
+
), uo = () => {
|
|
481
|
+
const t = e.useContext(m_);
|
|
482
482
|
if (!t)
|
|
483
483
|
throw new Error("useAppFrame must be used within a AppFrameProvider");
|
|
484
484
|
return t;
|
|
485
|
-
},
|
|
485
|
+
}, mo = ({
|
|
486
486
|
children: t,
|
|
487
487
|
isSideNavigationVisible: a = !0
|
|
488
488
|
}) => {
|
|
@@ -493,8 +493,8 @@ const Lc = {
|
|
|
493
493
|
}),
|
|
494
494
|
[r, _]
|
|
495
495
|
);
|
|
496
|
-
return /* @__PURE__ */ e.createElement(
|
|
497
|
-
},
|
|
496
|
+
return /* @__PURE__ */ e.createElement(m_.Provider, { value: o }, t);
|
|
497
|
+
}, Yc = (t, a) => `color-mix(in srgb, var(${t}) ${a}, transparent)`, de = {
|
|
498
498
|
esc: "Escape",
|
|
499
499
|
enter: "Enter",
|
|
500
500
|
backspace: "Backspace",
|
|
@@ -505,8 +505,8 @@ const Lc = {
|
|
|
505
505
|
comma: ",",
|
|
506
506
|
arrowUp: "ArrowUp",
|
|
507
507
|
arrowDown: "ArrowDown"
|
|
508
|
-
},
|
|
509
|
-
icon:
|
|
508
|
+
}, po = "lc-Icon-module__icon___tw31R", Rr = {
|
|
509
|
+
icon: po,
|
|
510
510
|
"icon--primary": "lc-Icon-module__icon--primary___JJnBV",
|
|
511
511
|
"icon--subtle": "lc-Icon-module__icon--subtle___sZIzL",
|
|
512
512
|
"icon--inverted": "lc-Icon-module__icon--inverted___zA9QC",
|
|
@@ -540,7 +540,7 @@ const Lc = {
|
|
|
540
540
|
"icon--disabled--action-warning": "lc-Icon-module__icon--disabled--action-warning___5VvCf",
|
|
541
541
|
"icon--disabled--action-neutral": "lc-Icon-module__icon--disabled--action-neutral___SxlyC",
|
|
542
542
|
"icon--disabled--lock-black": "lc-Icon-module__icon--disabled--lock-black___WJNua"
|
|
543
|
-
},
|
|
543
|
+
}, go = {
|
|
544
544
|
xsmall: {
|
|
545
545
|
width: 12,
|
|
546
546
|
height: 12
|
|
@@ -569,7 +569,7 @@ const Lc = {
|
|
|
569
569
|
width: 64,
|
|
570
570
|
height: 64
|
|
571
571
|
}
|
|
572
|
-
},
|
|
572
|
+
}, Mr = "icon", x = (t) => {
|
|
573
573
|
const s = t, {
|
|
574
574
|
source: a,
|
|
575
575
|
size: r = "medium",
|
|
@@ -584,10 +584,10 @@ const Lc = {
|
|
|
584
584
|
"disabled",
|
|
585
585
|
"className",
|
|
586
586
|
"customColor"
|
|
587
|
-
]), d = e.createElement(a, k(k({},
|
|
587
|
+
]), d = e.createElement(a, k(k({}, go[r]), n ? { color: n } : {})), i = u(
|
|
588
588
|
l,
|
|
589
|
-
|
|
590
|
-
_ &&
|
|
589
|
+
Rr[Mr],
|
|
590
|
+
_ && Rr[`${Mr}--${o ? "disabled--" : ""}${_}`]
|
|
591
591
|
);
|
|
592
592
|
return /* @__PURE__ */ e.createElement("span", T(k({}, c), { className: i }), d);
|
|
593
593
|
}, Ge = {
|
|
@@ -613,7 +613,7 @@ const Lc = {
|
|
|
613
613
|
"display-lg": "lc-Typography-module__display-lg___WKhIT",
|
|
614
614
|
"display-max": "lc-Typography-module__display-max___vR8yn",
|
|
615
615
|
"display--bold": "lc-Typography-module__display--bold___a1pLv"
|
|
616
|
-
},
|
|
616
|
+
}, fo = {
|
|
617
617
|
xl: "h1",
|
|
618
618
|
lg: "h2",
|
|
619
619
|
md: "h3",
|
|
@@ -641,7 +641,7 @@ const Lc = {
|
|
|
641
641
|
"textAlign"
|
|
642
642
|
]);
|
|
643
643
|
return e.createElement(
|
|
644
|
-
t ||
|
|
644
|
+
t || fo[a],
|
|
645
645
|
k({
|
|
646
646
|
className: u(
|
|
647
647
|
{
|
|
@@ -702,7 +702,7 @@ const Lc = {
|
|
|
702
702
|
}, m),
|
|
703
703
|
c
|
|
704
704
|
);
|
|
705
|
-
},
|
|
705
|
+
}, qc = (d) => {
|
|
706
706
|
var i = d, {
|
|
707
707
|
as: t = "div",
|
|
708
708
|
size: a = "md",
|
|
@@ -746,7 +746,7 @@ const Lc = {
|
|
|
746
746
|
"action-menu__list__item__icon": "lc-ActionMenu-module__action-menu__list__item__icon___o3ePo",
|
|
747
747
|
"action-menu__list--with-footer": "lc-ActionMenu-module__action-menu__list--with-footer___ghTxL",
|
|
748
748
|
"action-menu__footer": "lc-ActionMenu-module__action-menu__footer___HxoOe"
|
|
749
|
-
}, ze = "action-menu",
|
|
749
|
+
}, ze = "action-menu", bo = (v) => {
|
|
750
750
|
var h = v, {
|
|
751
751
|
className: t,
|
|
752
752
|
triggerClassName: a,
|
|
@@ -778,16 +778,16 @@ const Lc = {
|
|
|
778
778
|
"selectedOptions",
|
|
779
779
|
"footer"
|
|
780
780
|
]);
|
|
781
|
-
const y = d !== void 0, [E, $] = e.useState(l), [
|
|
781
|
+
const y = d !== void 0, [E, $] = e.useState(l), [C, w] = e.useState(null), g = e.useRef(-1), N = Ha(), S = sa(), M = e.useRef(null), G = y ? d : E, I = () => {
|
|
782
782
|
G ? (i == null || i(), !y && $(!1)) : (s == null || s(), !y && $(!0));
|
|
783
|
-
}, { x: O, y: Y, strategy:
|
|
783
|
+
}, { x: O, y: Y, strategy: Q, refs: L, context: U } = da({
|
|
784
784
|
nodeId: S,
|
|
785
785
|
middleware: [
|
|
786
786
|
ua(4),
|
|
787
|
-
|
|
788
|
-
|
|
787
|
+
za(c),
|
|
788
|
+
n_({
|
|
789
789
|
apply({ availableHeight: A }) {
|
|
790
|
-
|
|
790
|
+
no(() => w(A));
|
|
791
791
|
}
|
|
792
792
|
})
|
|
793
793
|
],
|
|
@@ -802,7 +802,7 @@ const Lc = {
|
|
|
802
802
|
$e,
|
|
803
803
|
Ke,
|
|
804
804
|
Ue
|
|
805
|
-
]), { styles: ft } =
|
|
805
|
+
]), { styles: ft } = yr(U, {
|
|
806
806
|
initial: ({ side: A }) => k({
|
|
807
807
|
opacity: 0
|
|
808
808
|
}, A === "bottom" && {
|
|
@@ -887,10 +887,10 @@ const Lc = {
|
|
|
887
887
|
ref: L.setFloating,
|
|
888
888
|
className: He[ze],
|
|
889
889
|
style: k(k({
|
|
890
|
-
position:
|
|
890
|
+
position: Q,
|
|
891
891
|
top: Y != null ? Y : "",
|
|
892
892
|
left: O != null ? O : ""
|
|
893
|
-
}, !!
|
|
893
|
+
}, !!C && { maxHeight: C }), ft)
|
|
894
894
|
}, $t()),
|
|
895
895
|
r.length > 0 && /* @__PURE__ */ e.createElement(
|
|
896
896
|
"ul",
|
|
@@ -917,14 +917,14 @@ const Lc = {
|
|
|
917
917
|
f
|
|
918
918
|
)
|
|
919
919
|
)));
|
|
920
|
-
return N === null ? /* @__PURE__ */ e.createElement(
|
|
920
|
+
return N === null ? /* @__PURE__ */ e.createElement(Wa, null, xt) : xt;
|
|
921
921
|
}, Ut = {
|
|
922
922
|
"action-menu-item": "lc-ActionMenuItem-module__action-menu-item___cT70J",
|
|
923
923
|
"action-menu-item__left-node": "lc-ActionMenuItem-module__action-menu-item__left-node___3R-o1",
|
|
924
924
|
"action-menu-item__right-node": "lc-ActionMenuItem-module__action-menu-item__right-node___uq0Ym",
|
|
925
925
|
"action-menu-item__label": "lc-ActionMenuItem-module__action-menu-item__label___OgJ80",
|
|
926
926
|
"action-menu-item--warning": "lc-ActionMenuItem-module__action-menu-item--warning___DgeYg"
|
|
927
|
-
}, Ht = "action-menu-item",
|
|
927
|
+
}, Ht = "action-menu-item", ho = ({ leftNode: t, rightNode: a, children: r, kind: _ }) => /* @__PURE__ */ e.createElement(
|
|
928
928
|
"div",
|
|
929
929
|
{
|
|
930
930
|
className: u(Ut[Ht], {
|
|
@@ -934,16 +934,16 @@ const Lc = {
|
|
|
934
934
|
t && /* @__PURE__ */ e.createElement("div", { className: Ut[`${Ht}__left-node`] }, t),
|
|
935
935
|
/* @__PURE__ */ e.createElement(B, { as: "div", className: Ut[`${Ht}__label`] }, r),
|
|
936
936
|
a && /* @__PURE__ */ e.createElement("div", { className: Ut[`${Ht}__right-node`] }, a)
|
|
937
|
-
),
|
|
938
|
-
loader:
|
|
939
|
-
loader__spinner:
|
|
937
|
+
), vo = "lc-Loader-module__loader___LRflD", ko = "lc-Loader-module__loader__spinner___l3C1g", Eo = "lc-Loader-module__rotate___Tlni-", yo = "lc-Loader-module__loader__label___R74f6", zt = {
|
|
938
|
+
loader: vo,
|
|
939
|
+
loader__spinner: ko,
|
|
940
940
|
"loader__spinner--small": "lc-Loader-module__loader__spinner--small___dGFFt",
|
|
941
941
|
"loader__spinner--medium": "lc-Loader-module__loader__spinner--medium___J-ki0",
|
|
942
942
|
"loader__spinner--large": "lc-Loader-module__loader__spinner--large___Poqq7",
|
|
943
943
|
"loader__spinner-circle": "lc-Loader-module__loader__spinner-circle___ApBUO",
|
|
944
|
-
rotate:
|
|
945
|
-
loader__label:
|
|
946
|
-
},
|
|
944
|
+
rotate: Eo,
|
|
945
|
+
loader__label: yo
|
|
946
|
+
}, p_ = "loader", Lr = `${p_}__spinner`, Nr = (n) => {
|
|
947
947
|
var c = n, {
|
|
948
948
|
primaryColor: t,
|
|
949
949
|
secondaryColor: a,
|
|
@@ -957,10 +957,10 @@ const Lc = {
|
|
|
957
957
|
"className",
|
|
958
958
|
"size"
|
|
959
959
|
]);
|
|
960
|
-
return /* @__PURE__ */ e.createElement("div", k({ className: u(zt[
|
|
960
|
+
return /* @__PURE__ */ e.createElement("div", k({ className: u(zt[p_], _) }, l), /* @__PURE__ */ e.createElement(
|
|
961
961
|
"div",
|
|
962
962
|
{
|
|
963
|
-
className: u(zt[
|
|
963
|
+
className: u(zt[Lr], zt[`${Lr}--${o}`])
|
|
964
964
|
},
|
|
965
965
|
/* @__PURE__ */ e.createElement(
|
|
966
966
|
"div",
|
|
@@ -975,7 +975,7 @@ const Lc = {
|
|
|
975
975
|
}
|
|
976
976
|
)
|
|
977
977
|
), r && /* @__PURE__ */ e.createElement(B, { as: "div", size: "md", className: zt.loader__label }, r));
|
|
978
|
-
},
|
|
978
|
+
}, Co = (t) => {
|
|
979
979
|
if (t === "primary" || t === "destructive")
|
|
980
980
|
return {
|
|
981
981
|
primaryColor: "var(--action-primary-default)",
|
|
@@ -986,8 +986,8 @@ const Lc = {
|
|
|
986
986
|
primaryColor: "var(--content-invert-primary)",
|
|
987
987
|
secondaryColor: "var(--surface-invert-secondary)"
|
|
988
988
|
};
|
|
989
|
-
},
|
|
990
|
-
btn:
|
|
989
|
+
}, wo = "lc-Button-module__btn___aijZJ", $o = "lc-Button-module__btn__loader___c8zZz", No = "lc-Button-module__btn__icon___GVExB", pe = {
|
|
990
|
+
btn: wo,
|
|
991
991
|
"btn--disabled": "lc-Button-module__btn--disabled___lXBav",
|
|
992
992
|
"btn--full-width": "lc-Button-module__btn--full-width___kdbAr",
|
|
993
993
|
"btn--xcompact": "lc-Button-module__btn--xcompact___s-zG-",
|
|
@@ -1010,8 +1010,8 @@ const Lc = {
|
|
|
1010
1010
|
"btn--dotted": "lc-Button-module__btn--dotted___y1EEP",
|
|
1011
1011
|
"btn--high-contrast": "lc-Button-module__btn--high-contrast___zHSVM",
|
|
1012
1012
|
"btn--loading": "lc-Button-module__btn--loading___ZAgjv",
|
|
1013
|
-
btn__loader:
|
|
1014
|
-
btn__icon:
|
|
1013
|
+
btn__loader: $o,
|
|
1014
|
+
btn__icon: No,
|
|
1015
1015
|
"btn__icon--left": "lc-Button-module__btn__icon--left___H68zu",
|
|
1016
1016
|
"btn__icon--right": "lc-Button-module__btn__icon--right___fHr3D",
|
|
1017
1017
|
"btn__icon--small": "lc-Button-module__btn__icon--small___WLk8c",
|
|
@@ -1050,7 +1050,7 @@ const Lc = {
|
|
|
1050
1050
|
"href",
|
|
1051
1051
|
"onClick"
|
|
1052
1052
|
]);
|
|
1053
|
-
const y = t || a, E = !s && n, $ = ["text", "link", "link-light"].includes(o),
|
|
1053
|
+
const y = t || a, E = !s && n, $ = ["text", "link", "link-light"].includes(o), C = p ? "a" : "button", w = u(
|
|
1054
1054
|
i,
|
|
1055
1055
|
pe[ge],
|
|
1056
1056
|
pe[`${ge}--${o}`],
|
|
@@ -1065,22 +1065,22 @@ const Lc = {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
);
|
|
1067
1067
|
return /* @__PURE__ */ e.createElement(
|
|
1068
|
-
|
|
1068
|
+
C,
|
|
1069
1069
|
k(k({
|
|
1070
1070
|
ref: b,
|
|
1071
|
-
className:
|
|
1071
|
+
className: w,
|
|
1072
1072
|
"aria-disabled": y,
|
|
1073
1073
|
type: r,
|
|
1074
1074
|
disabled: y
|
|
1075
1075
|
}, !y && { href: p, onClick: m }), f),
|
|
1076
1076
|
t && /* @__PURE__ */ e.createElement(
|
|
1077
|
-
|
|
1077
|
+
Nr,
|
|
1078
1078
|
k({
|
|
1079
1079
|
"data-testid": "button-loader",
|
|
1080
1080
|
size: "small",
|
|
1081
1081
|
label: d,
|
|
1082
1082
|
className: pe[`${ge}__loader`]
|
|
1083
|
-
},
|
|
1083
|
+
}, Co(o))
|
|
1084
1084
|
),
|
|
1085
1085
|
n && e.cloneElement(n, {
|
|
1086
1086
|
className: u(
|
|
@@ -1098,7 +1098,7 @@ const Lc = {
|
|
|
1098
1098
|
);
|
|
1099
1099
|
}
|
|
1100
1100
|
);
|
|
1101
|
-
function
|
|
1101
|
+
function g_(t) {
|
|
1102
1102
|
switch (t) {
|
|
1103
1103
|
case "invert":
|
|
1104
1104
|
return "inverted";
|
|
@@ -1108,7 +1108,7 @@ function m_(t) {
|
|
|
1108
1108
|
return "primary";
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function So(t, a, r, _) {
|
|
1112
1112
|
if (r)
|
|
1113
1113
|
return {
|
|
1114
1114
|
top: t ? r + t : r
|
|
@@ -1118,7 +1118,7 @@ function Co(t, a, r, _) {
|
|
|
1118
1118
|
left: a ? _ + a : _
|
|
1119
1119
|
};
|
|
1120
1120
|
}
|
|
1121
|
-
const
|
|
1121
|
+
const xo = (t) => {
|
|
1122
1122
|
switch (t) {
|
|
1123
1123
|
case "invert":
|
|
1124
1124
|
return {
|
|
@@ -1136,13 +1136,13 @@ const $o = (t) => {
|
|
|
1136
1136
|
fill: "var(--tooltip-background-basic)"
|
|
1137
1137
|
};
|
|
1138
1138
|
}
|
|
1139
|
-
},
|
|
1140
|
-
tooltip:
|
|
1141
|
-
tooltip__content:
|
|
1139
|
+
}, Bo = "lc-Tooltip-module__tooltip___QOOAr", Io = "lc-Tooltip-module__tooltip__content___RuamE", To = "lc-Tooltip-module__tooltip__arrow___Ov1YW", Do = "lc-Tooltip-module__tooltip__interactive___0JawB", P = {
|
|
1140
|
+
tooltip: Bo,
|
|
1141
|
+
tooltip__content: Io,
|
|
1142
1142
|
"tooltip--invert": "lc-Tooltip-module__tooltip--invert___PVjhE",
|
|
1143
|
-
tooltip__arrow:
|
|
1143
|
+
tooltip__arrow: To,
|
|
1144
1144
|
"tooltip--important": "lc-Tooltip-module__tooltip--important___X-IMK",
|
|
1145
|
-
tooltip__interactive:
|
|
1145
|
+
tooltip__interactive: Do,
|
|
1146
1146
|
"tooltip__user-guide-step": "lc-Tooltip-module__tooltip__user-guide-step___evexI",
|
|
1147
1147
|
"tooltip--full-space": "lc-Tooltip-module__tooltip--full-space___wmbaw",
|
|
1148
1148
|
"tooltip-header": "lc-Tooltip-module__tooltip-header___QV0Vd",
|
|
@@ -1187,8 +1187,8 @@ const $o = (t) => {
|
|
|
1187
1187
|
hoverOffDelay: y,
|
|
1188
1188
|
triggerOnClick: E = !1,
|
|
1189
1189
|
triggerOnHover: $ = !0,
|
|
1190
|
-
offsetMainAxis:
|
|
1191
|
-
offsetCrossAxis:
|
|
1190
|
+
offsetMainAxis: C = 8,
|
|
1191
|
+
offsetCrossAxis: w = 0,
|
|
1192
1192
|
referenceElement: g,
|
|
1193
1193
|
activationThreshold: N = 0,
|
|
1194
1194
|
useDismissHookProps: S,
|
|
@@ -1197,9 +1197,9 @@ const $o = (t) => {
|
|
|
1197
1197
|
arrowOffsetY: I,
|
|
1198
1198
|
arrowOffsetX: O,
|
|
1199
1199
|
closeOnTriggerBlur: Y = !1,
|
|
1200
|
-
floatingStrategy:
|
|
1200
|
+
floatingStrategy: Q
|
|
1201
1201
|
}) => {
|
|
1202
|
-
const L = c !== void 0, [U, $e] = e.useState(!1), Ke = e.useRef(null), Ue = L ? c : U, Ne = l || o, $t =
|
|
1202
|
+
const L = c !== void 0, [U, $e] = e.useState(!1), Ke = e.useRef(null), Ue = L ? c : U, Ne = l || o, $t = Ha(), ft = sa(), Nt = u(
|
|
1203
1203
|
P[ya],
|
|
1204
1204
|
a,
|
|
1205
1205
|
Ne && P[`${ya}--${Ne}`],
|
|
@@ -1214,17 +1214,17 @@ const $o = (t) => {
|
|
|
1214
1214
|
} = da({
|
|
1215
1215
|
nodeId: ft,
|
|
1216
1216
|
middleware: [
|
|
1217
|
-
ua({ mainAxis:
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1217
|
+
ua({ mainAxis: C, crossAxis: w }),
|
|
1218
|
+
Cr(),
|
|
1219
|
+
za(),
|
|
1220
|
+
j_({ element: Ke })
|
|
1221
1221
|
],
|
|
1222
1222
|
placement: n,
|
|
1223
1223
|
open: Ue,
|
|
1224
|
-
strategy:
|
|
1224
|
+
strategy: Q,
|
|
1225
1225
|
onOpenChange: lt,
|
|
1226
1226
|
whileElementsMounted: ma
|
|
1227
|
-
}), qe =
|
|
1227
|
+
}), qe = eo(V, {
|
|
1228
1228
|
move: !1,
|
|
1229
1229
|
restMs: N,
|
|
1230
1230
|
delay: {
|
|
@@ -1232,20 +1232,20 @@ const $o = (t) => {
|
|
|
1232
1232
|
close: St(y || G)
|
|
1233
1233
|
},
|
|
1234
1234
|
enabled: $,
|
|
1235
|
-
handleClose: Y ? null :
|
|
1236
|
-
}),
|
|
1235
|
+
handleClose: Y ? null : to()
|
|
1236
|
+
}), Ka = ao(V), Ya = ga(V, S), qa = fa(V, { role: "tooltip" }), Za = pa(V, k({
|
|
1237
1237
|
enabled: E
|
|
1238
|
-
}, M)), { isMounted:
|
|
1238
|
+
}, M)), { isMounted: Xa, styles: Ja } = yr(V, {
|
|
1239
1239
|
duration: {
|
|
1240
1240
|
open: ht(f),
|
|
1241
1241
|
close: ht(b)
|
|
1242
1242
|
}
|
|
1243
|
-
}), { status:
|
|
1243
|
+
}), { status: Qa } = ro(V), { getReferenceProps: ja, getFloatingProps: er } = ba([
|
|
1244
1244
|
qe,
|
|
1245
|
-
Wa,
|
|
1246
|
-
Va,
|
|
1247
1245
|
Ka,
|
|
1248
|
-
Ya
|
|
1246
|
+
Ya,
|
|
1247
|
+
qa,
|
|
1248
|
+
Za
|
|
1249
1249
|
]);
|
|
1250
1250
|
e.useEffect(() => {
|
|
1251
1251
|
g && A.setReference(g);
|
|
@@ -1255,39 +1255,39 @@ const $o = (t) => {
|
|
|
1255
1255
|
T(k({
|
|
1256
1256
|
"data-testid": "tooltip-trigger",
|
|
1257
1257
|
ref: A.setReference
|
|
1258
|
-
},
|
|
1258
|
+
}, ja()), {
|
|
1259
1259
|
className: r
|
|
1260
1260
|
}),
|
|
1261
1261
|
bt ? _() : _
|
|
1262
|
-
), /* @__PURE__ */ e.createElement(ha, { id: ft },
|
|
1262
|
+
), /* @__PURE__ */ e.createElement(ha, { id: ft }, Xa && /* @__PURE__ */ e.createElement(
|
|
1263
1263
|
"div",
|
|
1264
1264
|
T(k({
|
|
1265
1265
|
ref: A.setFloating,
|
|
1266
|
-
style: k(k({}, xt),
|
|
1266
|
+
style: k(k({}, xt), Ja),
|
|
1267
1267
|
className: Nt
|
|
1268
|
-
},
|
|
1269
|
-
"data-status":
|
|
1268
|
+
}, er()), {
|
|
1269
|
+
"data-status": Qa
|
|
1270
1270
|
}),
|
|
1271
1271
|
/* @__PURE__ */ e.createElement(B, { as: "div", className: P[`${ya}__content`] }, t),
|
|
1272
1272
|
/* @__PURE__ */ e.createElement(
|
|
1273
|
-
|
|
1273
|
+
_o,
|
|
1274
1274
|
k({
|
|
1275
1275
|
ref: Ke,
|
|
1276
1276
|
context: V,
|
|
1277
1277
|
strokeWidth: 1,
|
|
1278
1278
|
width: 10,
|
|
1279
1279
|
height: 5,
|
|
1280
|
-
style: k({},
|
|
1280
|
+
style: k({}, So(
|
|
1281
1281
|
I,
|
|
1282
1282
|
O,
|
|
1283
1283
|
Ye,
|
|
1284
1284
|
ue
|
|
1285
1285
|
))
|
|
1286
|
-
},
|
|
1286
|
+
}, xo(Ne))
|
|
1287
1287
|
)
|
|
1288
1288
|
)));
|
|
1289
|
-
return $t === null ? /* @__PURE__ */ e.createElement(
|
|
1290
|
-
},
|
|
1289
|
+
return $t === null ? /* @__PURE__ */ e.createElement(Wa, null, Gt) : Gt;
|
|
1290
|
+
}, Zc = ({ text: t }) => /* @__PURE__ */ e.createElement("div", null, t), Wt = "tooltip", Xc = ({
|
|
1291
1291
|
className: t,
|
|
1292
1292
|
header: a,
|
|
1293
1293
|
text: r,
|
|
@@ -1302,7 +1302,7 @@ const $o = (t) => {
|
|
|
1302
1302
|
className: P[`${Wt}-close`],
|
|
1303
1303
|
onClick: l
|
|
1304
1304
|
},
|
|
1305
|
-
/* @__PURE__ */ e.createElement(x, { source: Ie, kind: o ?
|
|
1305
|
+
/* @__PURE__ */ e.createElement(x, { source: Ie, kind: o ? g_(o) : "primary" })
|
|
1306
1306
|
), a && /* @__PURE__ */ e.createElement(
|
|
1307
1307
|
ne,
|
|
1308
1308
|
{
|
|
@@ -1323,7 +1323,7 @@ const $o = (t) => {
|
|
|
1323
1323
|
})
|
|
1324
1324
|
},
|
|
1325
1325
|
r
|
|
1326
|
-
)), Ze = "tooltip",
|
|
1326
|
+
)), Ze = "tooltip", Jc = ({
|
|
1327
1327
|
header: t,
|
|
1328
1328
|
text: a,
|
|
1329
1329
|
image: r,
|
|
@@ -1342,7 +1342,7 @@ const $o = (t) => {
|
|
|
1342
1342
|
className: P[`${Ze}-close`],
|
|
1343
1343
|
onClick: l
|
|
1344
1344
|
},
|
|
1345
|
-
/* @__PURE__ */ e.createElement(x, { source: Ie, kind: o ?
|
|
1345
|
+
/* @__PURE__ */ e.createElement(x, { source: Ie, kind: o ? g_(o) : "primary" })
|
|
1346
1346
|
), r && /* @__PURE__ */ e.createElement("div", { className: P[`${Ze}-image-container`] }, /* @__PURE__ */ e.createElement(
|
|
1347
1347
|
"img",
|
|
1348
1348
|
{
|
|
@@ -1379,7 +1379,7 @@ const $o = (t) => {
|
|
|
1379
1379
|
c.label
|
|
1380
1380
|
)
|
|
1381
1381
|
));
|
|
1382
|
-
}, ce = "guide-tooltip",
|
|
1382
|
+
}, ce = "guide-tooltip", Ao = ({
|
|
1383
1383
|
gap: t,
|
|
1384
1384
|
isVisible: a,
|
|
1385
1385
|
slide: r,
|
|
@@ -1466,10 +1466,10 @@ const $o = (t) => {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
));
|
|
1468
1468
|
};
|
|
1469
|
-
class
|
|
1469
|
+
class Po {
|
|
1470
1470
|
constructor(a, r) {
|
|
1471
|
-
|
|
1472
|
-
|
|
1471
|
+
ar(this, "element");
|
|
1472
|
+
ar(this, "padding");
|
|
1473
1473
|
this.element = a, this.padding = r;
|
|
1474
1474
|
}
|
|
1475
1475
|
addPadding(a) {
|
|
@@ -1495,7 +1495,7 @@ class To {
|
|
|
1495
1495
|
return this.getBoundingClientRect().height;
|
|
1496
1496
|
}
|
|
1497
1497
|
}
|
|
1498
|
-
const
|
|
1498
|
+
const Or = 8, Gr = "guide-tooltip", Ur = (t, a) => new Po(t, a), Qc = (t) => {
|
|
1499
1499
|
const {
|
|
1500
1500
|
className: a,
|
|
1501
1501
|
parentElementName: r,
|
|
@@ -1505,9 +1505,9 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1505
1505
|
null
|
|
1506
1506
|
), [c, d] = e.useState(null), [i, s] = e.useState(o), p = () => {
|
|
1507
1507
|
l && (d(
|
|
1508
|
-
|
|
1508
|
+
Ur(
|
|
1509
1509
|
l,
|
|
1510
|
-
|
|
1510
|
+
Or
|
|
1511
1511
|
).getBoundingClientRect()
|
|
1512
1512
|
), s(!1));
|
|
1513
1513
|
};
|
|
@@ -1523,13 +1523,13 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1523
1523
|
}
|
|
1524
1524
|
}, [r]), e.useEffect(() => {
|
|
1525
1525
|
l && d(
|
|
1526
|
-
|
|
1526
|
+
Ur(
|
|
1527
1527
|
l,
|
|
1528
|
-
|
|
1528
|
+
Or
|
|
1529
1529
|
).getBoundingClientRect()
|
|
1530
1530
|
), s(!0);
|
|
1531
|
-
}, [l]), l && _ && c ? /* @__PURE__ */ e.createElement(
|
|
1532
|
-
|
|
1531
|
+
}, [l]), l && _ && c ? /* @__PURE__ */ e.createElement(c_, null, /* @__PURE__ */ e.createElement(
|
|
1532
|
+
Ao,
|
|
1533
1533
|
{
|
|
1534
1534
|
gap: c,
|
|
1535
1535
|
isVisible: _,
|
|
@@ -1545,14 +1545,14 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1545
1545
|
contextElement: l
|
|
1546
1546
|
},
|
|
1547
1547
|
className: u({
|
|
1548
|
-
[P[
|
|
1549
|
-
[P[`${
|
|
1548
|
+
[P[Gr]]: !0,
|
|
1549
|
+
[P[`${Gr}--slide`]]: i,
|
|
1550
1550
|
className: a
|
|
1551
1551
|
})
|
|
1552
1552
|
}),
|
|
1553
1553
|
t.children
|
|
1554
1554
|
)) : null;
|
|
1555
|
-
}, Vt = "reports-tooltip",
|
|
1555
|
+
}, Vt = "reports-tooltip", jc = ({
|
|
1556
1556
|
title: t,
|
|
1557
1557
|
description: a,
|
|
1558
1558
|
children: r
|
|
@@ -1590,7 +1590,7 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1590
1590
|
"action-bar__items--with-menu": "lc-ActionBar-module__action-bar__items--with-menu___F6phI",
|
|
1591
1591
|
"action-bar__items__button": "lc-ActionBar-module__action-bar__items__button___Vdjl7",
|
|
1592
1592
|
"action-bar__items__button--active": "lc-ActionBar-module__action-bar__items__button--active___PFLdm"
|
|
1593
|
-
},
|
|
1593
|
+
}, f_ = "action-bar__items", Bt = `${f_}__button-wrapper`, Fo = ({
|
|
1594
1594
|
option: t,
|
|
1595
1595
|
isActive: a,
|
|
1596
1596
|
vertical: r
|
|
@@ -1625,7 +1625,7 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1625
1625
|
{
|
|
1626
1626
|
kind: "invert",
|
|
1627
1627
|
placement: r ? "left" : "bottom",
|
|
1628
|
-
triggerClassName: q[`${
|
|
1628
|
+
triggerClassName: q[`${f_}__tooltip`],
|
|
1629
1629
|
triggerRenderer: () => o,
|
|
1630
1630
|
floatingStrategy: "fixed",
|
|
1631
1631
|
useClickHookProps: {
|
|
@@ -1637,7 +1637,7 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1637
1637
|
/* @__PURE__ */ e.createElement("div", null, t.label)
|
|
1638
1638
|
)
|
|
1639
1639
|
) : /* @__PURE__ */ e.createElement("div", { "data-testid": t.key, className: _ }, o);
|
|
1640
|
-
},
|
|
1640
|
+
}, Ca = "action-bar", Xe = "action-bar__menu-wrapper", Ro = 44, ei = ({
|
|
1641
1641
|
className: t,
|
|
1642
1642
|
id: a = "action-bar-area",
|
|
1643
1643
|
type: r = "menu",
|
|
@@ -1649,18 +1649,18 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1649
1649
|
const [c, d] = e.useState(
|
|
1650
1650
|
_.length
|
|
1651
1651
|
), [i, s] = e.useState([]), [p, m] = e.useState(!1), f = r === "scroll", b = u(
|
|
1652
|
-
q[
|
|
1652
|
+
q[Ca],
|
|
1653
1653
|
t,
|
|
1654
|
-
l && q[`${
|
|
1654
|
+
l && q[`${Ca}--vertical`]
|
|
1655
1655
|
), v = !f && i.length !== 0;
|
|
1656
1656
|
e.useEffect(() => {
|
|
1657
1657
|
f || (_.length > c ? s(_.slice(c, _.length)) : s([]));
|
|
1658
1658
|
}, [_, c]), e.useEffect(() => {
|
|
1659
1659
|
const E = !!window.ResizeObserver;
|
|
1660
1660
|
if (!f && E) {
|
|
1661
|
-
const $ = new ResizeObserver((
|
|
1662
|
-
const { width:
|
|
1663
|
-
(N - S) /
|
|
1661
|
+
const $ = new ResizeObserver((C) => {
|
|
1662
|
+
const { width: w, height: g } = C[0].contentRect, N = l ? g : w, S = i.length > 0 ? 60 : 0, M = Math.floor(
|
|
1663
|
+
(N - S) / Ro
|
|
1664
1664
|
);
|
|
1665
1665
|
M >= 0 && M !== c && d(M);
|
|
1666
1666
|
});
|
|
@@ -1670,13 +1670,13 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1670
1670
|
const h = e.useCallback(() => i.reduce(
|
|
1671
1671
|
(E, $) => {
|
|
1672
1672
|
if (!$.hideInMenu) {
|
|
1673
|
-
const
|
|
1673
|
+
const C = {
|
|
1674
1674
|
key: $.key,
|
|
1675
|
-
element: /* @__PURE__ */ e.createElement(
|
|
1675
|
+
element: /* @__PURE__ */ e.createElement(ho, { leftNode: $.element }, $.label),
|
|
1676
1676
|
withDivider: $.withDivider,
|
|
1677
1677
|
onClick: $.onClick
|
|
1678
1678
|
};
|
|
1679
|
-
E.push(
|
|
1679
|
+
E.push(C);
|
|
1680
1680
|
}
|
|
1681
1681
|
return E;
|
|
1682
1682
|
},
|
|
@@ -1685,12 +1685,12 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1685
1685
|
return /* @__PURE__ */ e.createElement("div", { id: a, className: b }, /* @__PURE__ */ e.createElement(
|
|
1686
1686
|
"div",
|
|
1687
1687
|
{
|
|
1688
|
-
className: u(q[`${
|
|
1689
|
-
[q[`${
|
|
1688
|
+
className: u(q[`${Ca}__items`], {
|
|
1689
|
+
[q[`${Ca}__items--scroll`]]: f
|
|
1690
1690
|
})
|
|
1691
1691
|
},
|
|
1692
1692
|
_.slice(0, c).map((E) => /* @__PURE__ */ e.createElement(
|
|
1693
|
-
|
|
1693
|
+
Fo,
|
|
1694
1694
|
{
|
|
1695
1695
|
option: E,
|
|
1696
1696
|
isActive: E.key === o,
|
|
@@ -1707,7 +1707,7 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1707
1707
|
)
|
|
1708
1708
|
},
|
|
1709
1709
|
/* @__PURE__ */ e.createElement(
|
|
1710
|
-
|
|
1710
|
+
bo,
|
|
1711
1711
|
{
|
|
1712
1712
|
selectedOptions: o ? [o] : [],
|
|
1713
1713
|
onOpen: () => m(!0),
|
|
@@ -1759,7 +1759,7 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1759
1759
|
"action-card__column": "lc-ActionCard-module__action-card__column___K7tyh",
|
|
1760
1760
|
"action-card__column--first": "lc-ActionCard-module__action-card__column--first___9XE58",
|
|
1761
1761
|
"action-card__column--second": "lc-ActionCard-module__action-card__column--second___X1UC-"
|
|
1762
|
-
}, vt = "action-card",
|
|
1762
|
+
}, vt = "action-card", ti = ({
|
|
1763
1763
|
className: t,
|
|
1764
1764
|
children: a,
|
|
1765
1765
|
secondColumn: r,
|
|
@@ -1807,14 +1807,14 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1807
1807
|
r
|
|
1808
1808
|
)
|
|
1809
1809
|
));
|
|
1810
|
-
},
|
|
1811
|
-
alert:
|
|
1812
|
-
alert__icon:
|
|
1813
|
-
alert__content:
|
|
1814
|
-
alert__content__wrapper:
|
|
1815
|
-
alert__content__wrapper__text:
|
|
1816
|
-
alert__content__wrapper__cta:
|
|
1817
|
-
alert__content__wrapper__cta__link:
|
|
1810
|
+
}, Mo = "lc-Alert-module__alert___HBTns", Lo = "lc-Alert-module__alert__icon___8TaAH", Oo = "lc-Alert-module__alert__content___9nZdf", Go = "lc-Alert-module__alert__content__wrapper___aLBkP", Uo = "lc-Alert-module__alert__content__wrapper__text___HDMbR", Ho = "lc-Alert-module__alert__content__wrapper__cta___9L-oE", zo = "lc-Alert-module__alert__content__wrapper__cta__link___D9Igz", Se = {
|
|
1811
|
+
alert: Mo,
|
|
1812
|
+
alert__icon: Lo,
|
|
1813
|
+
alert__content: Oo,
|
|
1814
|
+
alert__content__wrapper: Go,
|
|
1815
|
+
alert__content__wrapper__text: Uo,
|
|
1816
|
+
alert__content__wrapper__cta: Ho,
|
|
1817
|
+
alert__content__wrapper__cta__link: zo,
|
|
1818
1818
|
"alert__close-icon": "lc-Alert-module__alert__close-icon___rYxVy",
|
|
1819
1819
|
"alert--small": "lc-Alert-module__alert--small___Fyk-v",
|
|
1820
1820
|
"alert--medium": "lc-Alert-module__alert--medium___ItZWT",
|
|
@@ -1823,24 +1823,24 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1823
1823
|
"alert--warning": "lc-Alert-module__alert--warning___MubhD",
|
|
1824
1824
|
"alert--success": "lc-Alert-module__alert--success___fPtlZ",
|
|
1825
1825
|
"alert--error": "lc-Alert-module__alert--error___DKPo0"
|
|
1826
|
-
},
|
|
1826
|
+
}, Wo = {
|
|
1827
1827
|
info: {
|
|
1828
1828
|
source: ca,
|
|
1829
1829
|
kind: "link"
|
|
1830
1830
|
},
|
|
1831
1831
|
warning: {
|
|
1832
|
-
source:
|
|
1832
|
+
source: o_,
|
|
1833
1833
|
kind: "warning"
|
|
1834
1834
|
},
|
|
1835
1835
|
success: {
|
|
1836
|
-
source:
|
|
1836
|
+
source: Er,
|
|
1837
1837
|
kind: "success"
|
|
1838
1838
|
},
|
|
1839
1839
|
error: {
|
|
1840
|
-
source:
|
|
1840
|
+
source: l_,
|
|
1841
1841
|
kind: "error"
|
|
1842
1842
|
}
|
|
1843
|
-
}, xe = "alert",
|
|
1843
|
+
}, xe = "alert", ai = (c) => {
|
|
1844
1844
|
var d = c, {
|
|
1845
1845
|
children: t,
|
|
1846
1846
|
className: a,
|
|
@@ -1865,13 +1865,13 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1865
1865
|
a
|
|
1866
1866
|
);
|
|
1867
1867
|
return e.useEffect(() => {
|
|
1868
|
-
const f = () => i.current && i.current.offsetWidth <= 400 ? p("small") : i.current && i.current.offsetWidth > 400 && i.current.offsetWidth <= 800 ? p("medium") : p("large"), b =
|
|
1868
|
+
const f = () => i.current && i.current.offsetWidth <= 400 ? p("small") : i.current && i.current.offsetWidth > 400 && i.current.offsetWidth <= 800 ? p("medium") : p("large"), b = s_(() => {
|
|
1869
1869
|
f();
|
|
1870
1870
|
}, 500);
|
|
1871
1871
|
return window.addEventListener("resize", b), f(), () => window.removeEventListener("resize", b);
|
|
1872
1872
|
}), /* @__PURE__ */ e.createElement("div", k({ ref: i, className: m }, n), /* @__PURE__ */ e.createElement("div", { className: Se[`${xe}__content`] }, /* @__PURE__ */ e.createElement("div", { className: Se[`${xe}__content__wrapper`] }, /* @__PURE__ */ e.createElement(
|
|
1873
1873
|
x,
|
|
1874
|
-
T(k({},
|
|
1874
|
+
T(k({}, Wo[o]), {
|
|
1875
1875
|
size: "large",
|
|
1876
1876
|
className: Se[`${xe}__icon`]
|
|
1877
1877
|
})
|
|
@@ -1901,7 +1901,7 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1901
1901
|
onClick: l
|
|
1902
1902
|
}
|
|
1903
1903
|
));
|
|
1904
|
-
},
|
|
1904
|
+
}, Sr = ({
|
|
1905
1905
|
isVisible: t,
|
|
1906
1906
|
elementRef: a
|
|
1907
1907
|
}) => {
|
|
@@ -1942,7 +1942,7 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1942
1942
|
"app-frame__page-content-container__content-wrapper__nav-bar-wrapper": "lc-AppFrame-module__app-frame__page-content-container__content-wrapper__nav-bar-wrapper___pRQpx",
|
|
1943
1943
|
"app-frame__page-content-container__content-wrapper__nav-bar-wrapper--open": "lc-AppFrame-module__app-frame__page-content-container__content-wrapper__nav-bar-wrapper--open___VvUQT",
|
|
1944
1944
|
"app-frame__page-content-container__content-wrapper__content": "lc-AppFrame-module__app-frame__page-content-container__content-wrapper__content___e7Eeh"
|
|
1945
|
-
},
|
|
1945
|
+
}, b_ = "app-frame", nt = `${b_}__page-content-container`, Vo = (t) => {
|
|
1946
1946
|
const {
|
|
1947
1947
|
children: a,
|
|
1948
1948
|
className: r,
|
|
@@ -1952,7 +1952,7 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
1952
1952
|
topBarClassName: n,
|
|
1953
1953
|
sideNavigationContainerClassName: c,
|
|
1954
1954
|
contentClassName: d
|
|
1955
|
-
} = t, i = u(Je[
|
|
1955
|
+
} = t, i = u(Je[b_], r), { isSideNavigationVisible: s } = uo(), p = e.useRef(null), { isOpen: m, isMounted: f } = Sr({
|
|
1956
1956
|
isVisible: s,
|
|
1957
1957
|
elementRef: p
|
|
1958
1958
|
});
|
|
@@ -2002,14 +2002,14 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
2002
2002
|
a
|
|
2003
2003
|
)
|
|
2004
2004
|
)));
|
|
2005
|
-
},
|
|
2005
|
+
}, ri = (t) => /* @__PURE__ */ e.createElement(mo, null, /* @__PURE__ */ e.createElement(Vo, k({}, t))), Tt = {
|
|
2006
2006
|
"side-navigation": "lc-SideNavigation-module__side-navigation___97Smn",
|
|
2007
2007
|
"side-navigation__header": "lc-SideNavigation-module__side-navigation__header___jKhiq",
|
|
2008
2008
|
"side-navigation__header__title": "lc-SideNavigation-module__side-navigation__header__title___ZpMAv",
|
|
2009
2009
|
"side-navigation__footer": "lc-SideNavigation-module__side-navigation__footer___-fWZ1",
|
|
2010
2010
|
"side-navigation__nav-wrapper": "lc-SideNavigation-module__side-navigation__nav-wrapper___3yenW",
|
|
2011
2011
|
"side-navigation__nav-wrapper--no-gaps": "lc-SideNavigation-module__side-navigation__nav-wrapper--no-gaps___MFRCx"
|
|
2012
|
-
}, Dt = "side-navigation",
|
|
2012
|
+
}, Dt = "side-navigation", _i = ({
|
|
2013
2013
|
children: t,
|
|
2014
2014
|
className: a,
|
|
2015
2015
|
title: r,
|
|
@@ -2038,9 +2038,9 @@ const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
|
2038
2038
|
o && /* @__PURE__ */ e.createElement("div", { className: Tt[`${Dt}__footer`] }, o)
|
|
2039
2039
|
);
|
|
2040
2040
|
};
|
|
2041
|
-
function
|
|
2041
|
+
function Ma() {
|
|
2042
2042
|
}
|
|
2043
|
-
const
|
|
2043
|
+
const Ko = "side-navigation-item-test-id", Yo = "side-navigation-active-item-test-id", qo = "side-navigation-parent-icon", Te = {
|
|
2044
2044
|
"side-navigation-item": "lc-SideNavigationItem-module__side-navigation-item___MsJTw",
|
|
2045
2045
|
"side-navigation-item__anchor": "lc-SideNavigationItem-module__side-navigation-item__anchor___zeXS-",
|
|
2046
2046
|
"side-navigation-item__custom-label": "lc-SideNavigationItem-module__side-navigation-item__custom-label___vOtD-",
|
|
@@ -2052,7 +2052,7 @@ const zo = "side-navigation-item-test-id", Wo = "side-navigation-active-item-tes
|
|
|
2052
2052
|
"side-navigation-item__label": "lc-SideNavigationItem-module__side-navigation-item__label___8xcMR",
|
|
2053
2053
|
"side-navigation-item__label--active": "lc-SideNavigationItem-module__side-navigation-item__label--active___lHzUo",
|
|
2054
2054
|
"side-navigation-item__custom-label--active": "lc-SideNavigationItem-module__side-navigation-item__custom-label--active___js4w6"
|
|
2055
|
-
}, De = "side-navigation-item",
|
|
2055
|
+
}, De = "side-navigation-item", Zo = (m) => {
|
|
2056
2056
|
var f = m, {
|
|
2057
2057
|
leftNode: t,
|
|
2058
2058
|
shouldKeepIconSpace: a = !0,
|
|
@@ -2087,7 +2087,7 @@ const zo = "side-navigation-item-test-id", Wo = "side-navigation-active-item-tes
|
|
|
2087
2087
|
"li",
|
|
2088
2088
|
k({
|
|
2089
2089
|
className: u([Te[De], o]),
|
|
2090
|
-
"data-testid": c ?
|
|
2090
|
+
"data-testid": c ? Yo : Ko,
|
|
2091
2091
|
"data-active": c
|
|
2092
2092
|
}, p),
|
|
2093
2093
|
/* @__PURE__ */ e.createElement(
|
|
@@ -2102,8 +2102,8 @@ const zo = "side-navigation-item-test-id", Wo = "side-navigation-active-item-tes
|
|
|
2102
2102
|
href: r,
|
|
2103
2103
|
onClick: v,
|
|
2104
2104
|
onKeyDown: h,
|
|
2105
|
-
onMouseEnter: i ||
|
|
2106
|
-
onFocus: i ||
|
|
2105
|
+
onMouseEnter: i || Ma,
|
|
2106
|
+
onFocus: i || Ma
|
|
2107
2107
|
},
|
|
2108
2108
|
a && /* @__PURE__ */ e.createElement(
|
|
2109
2109
|
"span",
|
|
@@ -2111,7 +2111,7 @@ const zo = "side-navigation-item-test-id", Wo = "side-navigation-active-item-tes
|
|
|
2111
2111
|
className: u(Te[`${De}__left-node`], {
|
|
2112
2112
|
[Te[`${De}__left-node--active`]]: c || d
|
|
2113
2113
|
}),
|
|
2114
|
-
"data-testid":
|
|
2114
|
+
"data-testid": qo
|
|
2115
2115
|
},
|
|
2116
2116
|
t
|
|
2117
2117
|
),
|
|
@@ -2145,7 +2145,7 @@ const zo = "side-navigation-item-test-id", Wo = "side-navigation-active-item-tes
|
|
|
2145
2145
|
"side-navigation-group__list-wrapper": "lc-SideNavigationGroup-module__side-navigation-group__list-wrapper___pMP-G",
|
|
2146
2146
|
"side-navigation-group__list-wrapper--expanded": "lc-SideNavigationGroup-module__side-navigation-group__list-wrapper--expanded___jm-18",
|
|
2147
2147
|
"side-navigation-group__list": "lc-SideNavigationGroup-module__side-navigation-group__list___XlUf-"
|
|
2148
|
-
}, it = "side-navigation-group",
|
|
2148
|
+
}, it = "side-navigation-group", Xo = 34, oi = ({
|
|
2149
2149
|
label: t,
|
|
2150
2150
|
rightNode: a,
|
|
2151
2151
|
className: r,
|
|
@@ -2155,23 +2155,23 @@ const zo = "side-navigation-item-test-id", Wo = "side-navigation-active-item-tes
|
|
|
2155
2155
|
shouldOpenOnInit: n = !1,
|
|
2156
2156
|
shouldOpenOnActive: c = !1
|
|
2157
2157
|
}) => {
|
|
2158
|
-
const [d, i] = e.useState(!1), [s, p] = e.useState(0), m = e.useRef(!1), f = e.useRef(null), { isOpen: b, isMounted: v, setIsOpen: h } =
|
|
2158
|
+
const [d, i] = e.useState(!1), [s, p] = e.useState(0), m = e.useRef(!1), f = e.useRef(null), { isOpen: b, isMounted: v, setIsOpen: h } = Sr({
|
|
2159
2159
|
isVisible: !o || n,
|
|
2160
2160
|
elementRef: f
|
|
2161
|
-
}), y = typeof a == "function" ? a(b) : a, E = typeof t == "function" ? t(b) : t, $ = () => h(!0),
|
|
2161
|
+
}), y = typeof a == "function" ? a(b) : a, E = typeof t == "function" ? t(b) : t, $ = () => h(!0), C = () => {
|
|
2162
2162
|
o && h((g) => !g);
|
|
2163
|
-
},
|
|
2163
|
+
}, w = (g) => {
|
|
2164
2164
|
const N = g == null ? void 0 : g.getElementsByTagName("li"), S = N != null && N.length ? [...N].some(
|
|
2165
2165
|
(G) => G.getAttribute("data-active") === "true"
|
|
2166
2166
|
) : !1;
|
|
2167
2167
|
i(S);
|
|
2168
|
-
const M = ((N == null ? void 0 : N.length) || 0) *
|
|
2168
|
+
const M = ((N == null ? void 0 : N.length) || 0) * Xo;
|
|
2169
2169
|
p(M);
|
|
2170
2170
|
};
|
|
2171
2171
|
return e.useEffect(() => {
|
|
2172
2172
|
c && (!m.current && d && $(), m.current = d);
|
|
2173
2173
|
}, [d, c]), /* @__PURE__ */ e.createElement("div", { "data-testid": "side-navigation-group", className: ct[it] }, o ? /* @__PURE__ */ e.createElement(
|
|
2174
|
-
|
|
2174
|
+
Zo,
|
|
2175
2175
|
{
|
|
2176
2176
|
leftNode: /* @__PURE__ */ e.createElement(
|
|
2177
2177
|
"div",
|
|
@@ -2180,11 +2180,11 @@ const zo = "side-navigation-item-test-id", Wo = "side-navigation-active-item-tes
|
|
|
2180
2180
|
[ct[`${it}__chevron--active`]]: b
|
|
2181
2181
|
})
|
|
2182
2182
|
},
|
|
2183
|
-
/* @__PURE__ */ e.createElement(x, { source:
|
|
2183
|
+
/* @__PURE__ */ e.createElement(x, { source: Ga, size: "small" })
|
|
2184
2184
|
),
|
|
2185
2185
|
label: /* @__PURE__ */ e.createElement(B, { className: ct[`${it}__label`], bold: !0 }, E),
|
|
2186
2186
|
isMainEntry: !0,
|
|
2187
|
-
onClick:
|
|
2187
|
+
onClick: C,
|
|
2188
2188
|
onItemHover: l,
|
|
2189
2189
|
rightNode: y
|
|
2190
2190
|
}
|
|
@@ -2193,7 +2193,7 @@ const zo = "side-navigation-item-test-id", Wo = "side-navigation-active-item-tes
|
|
|
2193
2193
|
{
|
|
2194
2194
|
bold: !0,
|
|
2195
2195
|
className: ct[`${it}__simple-label`],
|
|
2196
|
-
onMouseEnter: l ||
|
|
2196
|
+
onMouseEnter: l || Ma
|
|
2197
2197
|
},
|
|
2198
2198
|
E
|
|
2199
2199
|
), /* @__PURE__ */ e.createElement(
|
|
@@ -2212,15 +2212,15 @@ const zo = "side-navigation-item-test-id", Wo = "side-navigation-active-item-tes
|
|
|
2212
2212
|
"ul",
|
|
2213
2213
|
{
|
|
2214
2214
|
className: u(ct[`${it}__list`], r),
|
|
2215
|
-
ref:
|
|
2215
|
+
ref: w
|
|
2216
2216
|
},
|
|
2217
2217
|
_
|
|
2218
2218
|
)
|
|
2219
2219
|
));
|
|
2220
|
-
},
|
|
2220
|
+
}, Hr = {
|
|
2221
2221
|
"navigation-group": "lc-NavigationGroup-module__navigation-group___CxK9Y",
|
|
2222
2222
|
"navigation-group--scrollable": "lc-NavigationGroup-module__navigation-group--scrollable___lVA6K"
|
|
2223
|
-
},
|
|
2223
|
+
}, zr = "navigation-group", li = (o) => {
|
|
2224
2224
|
var l = o, {
|
|
2225
2225
|
children: t,
|
|
2226
2226
|
className: a,
|
|
@@ -2234,9 +2234,9 @@ const zo = "side-navigation-item-test-id", Wo = "side-navigation-active-item-tes
|
|
|
2234
2234
|
"ul",
|
|
2235
2235
|
k({
|
|
2236
2236
|
className: u(
|
|
2237
|
-
|
|
2237
|
+
Hr[zr],
|
|
2238
2238
|
{
|
|
2239
|
-
[
|
|
2239
|
+
[Hr[`${zr}--scrollable`]]: r
|
|
2240
2240
|
},
|
|
2241
2241
|
a
|
|
2242
2242
|
)
|
|
@@ -2244,19 +2244,19 @@ const zo = "side-navigation-item-test-id", Wo = "side-navigation-active-item-tes
|
|
|
2244
2244
|
t
|
|
2245
2245
|
);
|
|
2246
2246
|
};
|
|
2247
|
-
function
|
|
2247
|
+
function Jo(t, a) {
|
|
2248
2248
|
return t > a ? `${a}+` : `${t}`;
|
|
2249
2249
|
}
|
|
2250
|
-
const
|
|
2251
|
-
badge:
|
|
2252
|
-
badge__dot:
|
|
2250
|
+
const Qo = "lc-Badge-module__badge___GhLnu", jo = "lc-Badge-module__badge__dot___z6RO6", wa = {
|
|
2251
|
+
badge: Qo,
|
|
2252
|
+
badge__dot: jo,
|
|
2253
2253
|
"badge--large": "lc-Badge-module__badge--large___B131q",
|
|
2254
2254
|
"badge--medium": "lc-Badge-module__badge--medium___TDU8a",
|
|
2255
2255
|
"badge--compact": "lc-Badge-module__badge--compact___9xJ4y",
|
|
2256
2256
|
"badge--primary": "lc-Badge-module__badge--primary___8LRpp",
|
|
2257
2257
|
"badge--secondary": "lc-Badge-module__badge--secondary___JjNIJ",
|
|
2258
2258
|
"badge--tertiary": "lc-Badge-module__badge--tertiary___e83wV"
|
|
2259
|
-
}, $a = "badge",
|
|
2259
|
+
}, $a = "badge", La = (c) => {
|
|
2260
2260
|
var d = c, {
|
|
2261
2261
|
className: t,
|
|
2262
2262
|
count: a = 0,
|
|
@@ -2274,13 +2274,13 @@ const Zo = "lc-Badge-module__badge___GhLnu", Xo = "lc-Badge-module__badge__dot__
|
|
|
2274
2274
|
]);
|
|
2275
2275
|
const i = u(
|
|
2276
2276
|
t,
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2277
|
+
wa[$a],
|
|
2278
|
+
wa[`${$a}--${_}`],
|
|
2279
|
+
wa[`${$a}--${o}`]
|
|
2280
2280
|
), s = {
|
|
2281
|
-
counter:
|
|
2281
|
+
counter: Jo(a, r),
|
|
2282
2282
|
alert: "!",
|
|
2283
|
-
dot: /* @__PURE__ */ e.createElement("span", { "data-testid": "badge-dot", className:
|
|
2283
|
+
dot: /* @__PURE__ */ e.createElement("span", { "data-testid": "badge-dot", className: wa[`${$a}__dot`] })
|
|
2284
2284
|
}[l];
|
|
2285
2285
|
return /* @__PURE__ */ e.createElement("span", k({ className: i }, n), s);
|
|
2286
2286
|
}, pt = {
|
|
@@ -2291,8 +2291,8 @@ const Zo = "lc-Badge-module__badge___GhLnu", Xo = "lc-Badge-module__badge__dot__
|
|
|
2291
2291
|
"navigation-item__button--disabled": "lc-NavigationItem-module__navigation-item__button--disabled___BRd-i",
|
|
2292
2292
|
"navigation-item__button--active": "lc-NavigationItem-module__navigation-item__button--active___NiA3H",
|
|
2293
2293
|
"navigation-item__button--opacity": "lc-NavigationItem-module__navigation-item__button--opacity___sgLDT"
|
|
2294
|
-
}, gt = "navigation-item",
|
|
2295
|
-
|
|
2294
|
+
}, gt = "navigation-item", el = (t, a) => typeof t == "number" ? /* @__PURE__ */ e.createElement(
|
|
2295
|
+
La,
|
|
2296
2296
|
{
|
|
2297
2297
|
"data-testid": `${a}-badge-count`,
|
|
2298
2298
|
className: pt[`${gt}__badge`],
|
|
@@ -2300,14 +2300,14 @@ const Zo = "lc-Badge-module__badge___GhLnu", Xo = "lc-Badge-module__badge__dot__
|
|
|
2300
2300
|
count: t
|
|
2301
2301
|
}
|
|
2302
2302
|
) : /* @__PURE__ */ e.createElement(
|
|
2303
|
-
|
|
2303
|
+
La,
|
|
2304
2304
|
{
|
|
2305
2305
|
"data-testid": `${a}-badge`,
|
|
2306
2306
|
className: pt[`${gt}__badge`],
|
|
2307
2307
|
size: "compact",
|
|
2308
2308
|
type: t
|
|
2309
2309
|
}
|
|
2310
|
-
),
|
|
2310
|
+
), ni = (p) => {
|
|
2311
2311
|
var m = p, {
|
|
2312
2312
|
id: t,
|
|
2313
2313
|
label: a,
|
|
@@ -2375,14 +2375,14 @@ const Zo = "lc-Badge-module__badge___GhLnu", Xo = "lc-Badge-module__badge__dot__
|
|
|
2375
2375
|
href: _
|
|
2376
2376
|
}, s),
|
|
2377
2377
|
r
|
|
2378
|
-
), n &&
|
|
2378
|
+
), n && el(n, t))
|
|
2379
2379
|
},
|
|
2380
2380
|
a
|
|
2381
2381
|
)
|
|
2382
2382
|
);
|
|
2383
|
-
},
|
|
2384
|
-
navigation:
|
|
2385
|
-
},
|
|
2383
|
+
}, tl = "lc-Navigation-module__navigation___x9vC9", al = {
|
|
2384
|
+
navigation: tl
|
|
2385
|
+
}, rl = "navigation", ci = (_) => {
|
|
2386
2386
|
var o = _, {
|
|
2387
2387
|
children: t,
|
|
2388
2388
|
className: a
|
|
@@ -2390,7 +2390,7 @@ const Zo = "lc-Badge-module__badge___GhLnu", Xo = "lc-Badge-module__badge__dot__
|
|
|
2390
2390
|
"children",
|
|
2391
2391
|
"className"
|
|
2392
2392
|
]);
|
|
2393
|
-
return /* @__PURE__ */ e.createElement("nav", k({ className: u(
|
|
2393
|
+
return /* @__PURE__ */ e.createElement("nav", k({ className: u(al[rl], a) }, r), t);
|
|
2394
2394
|
}, Ve = {
|
|
2395
2395
|
"navigation-top-bar": "lc-NavigationTopBar-module__navigation-top-bar___y5sPE",
|
|
2396
2396
|
"navigation-top-bar__title": "lc-NavigationTopBar-module__navigation-top-bar__title___GQaye",
|
|
@@ -2405,22 +2405,22 @@ const Zo = "lc-Badge-module__badge___GhLnu", Xo = "lc-Badge-module__badge__dot__
|
|
|
2405
2405
|
"navigation-top-bar__alert__children-wrapper": "lc-NavigationTopBar-module__navigation-top-bar__alert__children-wrapper___KJ7Y-",
|
|
2406
2406
|
"navigation-top-bar__alert__close-button": "lc-NavigationTopBar-module__navigation-top-bar__alert__close-button___y7ep7",
|
|
2407
2407
|
"navigation-top-bar__alert__cta-wrapper": "lc-NavigationTopBar-module__navigation-top-bar__alert__cta-wrapper___nA7ir"
|
|
2408
|
-
},
|
|
2408
|
+
}, xr = "navigation-top-bar", st = `${xr}__alert`, h_ = ({
|
|
2409
2409
|
children: t,
|
|
2410
2410
|
className: a,
|
|
2411
2411
|
additionalNodes: r
|
|
2412
|
-
}) => /* @__PURE__ */ e.createElement("div", { className: u(Ve[
|
|
2412
|
+
}) => /* @__PURE__ */ e.createElement("div", { className: u(Ve[xr], a) }, t, r), _l = ({
|
|
2413
2413
|
children: t,
|
|
2414
2414
|
className: a,
|
|
2415
2415
|
"data-testid": r
|
|
2416
2416
|
}) => /* @__PURE__ */ e.createElement(
|
|
2417
2417
|
"div",
|
|
2418
2418
|
{
|
|
2419
|
-
className: u(Ve[`${
|
|
2419
|
+
className: u(Ve[`${xr}__title`], a),
|
|
2420
2420
|
"data-testid": r
|
|
2421
2421
|
},
|
|
2422
2422
|
t
|
|
2423
|
-
),
|
|
2423
|
+
), ol = ({
|
|
2424
2424
|
className: t,
|
|
2425
2425
|
kind: a = "info",
|
|
2426
2426
|
closeButton: r,
|
|
@@ -2429,10 +2429,10 @@ const Zo = "lc-Badge-module__badge___GhLnu", Xo = "lc-Badge-module__badge__dot__
|
|
|
2429
2429
|
secondaryCta: l,
|
|
2430
2430
|
isVisible: n = !0
|
|
2431
2431
|
}) => {
|
|
2432
|
-
const c = e.useRef(null), { isMounted: d, isOpen: i } =
|
|
2432
|
+
const c = e.useRef(null), { isMounted: d, isOpen: i } = Sr({
|
|
2433
2433
|
isVisible: n,
|
|
2434
2434
|
elementRef: c
|
|
2435
|
-
}), s = window.matchMedia("(max-width: 768px)").matches, p = a === "warning" ? "link-inverted" : "text", m = a === "warning" ? "
|
|
2435
|
+
}), s = window.matchMedia("(max-width: 768px)").matches, p = a === "warning" ? "link-inverted" : "text", m = a === "warning" ? "plain-lock-black" : "high-contrast", f = o || l ? /* @__PURE__ */ e.createElement("div", { className: Ve[`${st}__cta-wrapper`] }, o && /* @__PURE__ */ e.createElement(
|
|
2436
2436
|
W,
|
|
2437
2437
|
k({
|
|
2438
2438
|
size: "compact",
|
|
@@ -2477,19 +2477,52 @@ const Zo = "lc-Badge-module__badge___GhLnu", Xo = "lc-Badge-module__badge__dot__
|
|
|
2477
2477
|
)
|
|
2478
2478
|
));
|
|
2479
2479
|
};
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2480
|
+
h_.Alert = ol;
|
|
2481
|
+
h_.Title = _l;
|
|
2482
|
+
function v_(t, a, r, _) {
|
|
2483
|
+
return _ && t === 0 ? _ : t === 1 ? a : r;
|
|
2484
|
+
}
|
|
2485
|
+
const Na = {
|
|
2486
|
+
"expiration-counter": "lc-ExpirationCounter-module__expiration-counter___z-R4D",
|
|
2487
|
+
"expiration-counter__button": "lc-ExpirationCounter-module__expiration-counter__button___Vcd9e",
|
|
2488
|
+
"expiration-counter__button__number": "lc-ExpirationCounter-module__expiration-counter__button__number___GEwQh",
|
|
2489
|
+
"expiration-counter__button__label": "lc-ExpirationCounter-module__expiration-counter__button__label___pC-rc"
|
|
2490
|
+
}, Sa = "expiration-counter", ii = (n) => {
|
|
2491
|
+
var c = n, {
|
|
2492
|
+
id: t,
|
|
2493
|
+
daysLeft: a,
|
|
2494
|
+
url: r,
|
|
2495
|
+
onClick: _,
|
|
2496
|
+
className: o
|
|
2497
|
+
} = c, l = D(c, [
|
|
2498
|
+
"id",
|
|
2499
|
+
"daysLeft",
|
|
2500
|
+
"url",
|
|
2501
|
+
"onClick",
|
|
2502
|
+
"className"
|
|
2503
|
+
]);
|
|
2504
|
+
return /* @__PURE__ */ e.createElement("li", { key: t, className: u(Na[Sa], o) }, /* @__PURE__ */ e.createElement(
|
|
2505
|
+
"a",
|
|
2506
|
+
k({
|
|
2507
|
+
tabIndex: 0,
|
|
2508
|
+
href: r,
|
|
2509
|
+
onClick: (d) => _(d, t),
|
|
2510
|
+
className: Na[`${Sa}__button`]
|
|
2511
|
+
}, l),
|
|
2512
|
+
/* @__PURE__ */ e.createElement("span", { className: Na[`${Sa}__button__number`] }, a),
|
|
2513
|
+
/* @__PURE__ */ e.createElement("span", { className: Na[`${Sa}__button__label`] }, v_(a, "day", "days"))
|
|
2514
|
+
));
|
|
2515
|
+
}, Wr = Array.from(
|
|
2483
2516
|
{ length: 10 },
|
|
2484
2517
|
(t, a) => `--surface-avatar-${a + 1}`
|
|
2485
2518
|
);
|
|
2486
|
-
function
|
|
2519
|
+
function ll(t) {
|
|
2487
2520
|
if (!t)
|
|
2488
2521
|
return;
|
|
2489
2522
|
const a = t.split("").reduce((r, _) => r + _.charCodeAt(0), 0);
|
|
2490
|
-
return `var(${
|
|
2523
|
+
return `var(${Wr[a % Wr.length]})`;
|
|
2491
2524
|
}
|
|
2492
|
-
function
|
|
2525
|
+
function nl(t = "", a = 2) {
|
|
2493
2526
|
const r = t.trim().split(/\s+/), _ = r.map((l) => [...l][0]);
|
|
2494
2527
|
if (a < 1)
|
|
2495
2528
|
return "";
|
|
@@ -2500,17 +2533,17 @@ function _l(t = "", a = 2) {
|
|
|
2500
2533
|
o.push(_[l]);
|
|
2501
2534
|
return o.join("").toUpperCase();
|
|
2502
2535
|
}
|
|
2503
|
-
function
|
|
2536
|
+
function cl(t) {
|
|
2504
2537
|
let a = t;
|
|
2505
2538
|
if (t.startsWith("var(--") && t.endsWith(")")) {
|
|
2506
2539
|
const r = t.slice(4, -1);
|
|
2507
2540
|
a = window.getComputedStyle(document.documentElement).getPropertyValue(r).trim();
|
|
2508
2541
|
}
|
|
2509
|
-
return a &&
|
|
2542
|
+
return a && wr(a, "#FFFFFF") > 3 ? "var(--color-white)" : "var(--color-black)";
|
|
2510
2543
|
}
|
|
2511
|
-
const
|
|
2512
|
-
avatar:
|
|
2513
|
-
avatar__status:
|
|
2544
|
+
const il = "lc-Avatar-module__avatar___1zTCE", sl = "lc-Avatar-module__avatar__status___nX2Ls", dl = "lc-Avatar-module__avatar__rim___RCQ8Q", ul = "lc-Avatar-module__avatar__image___YqfqE", Ee = {
|
|
2545
|
+
avatar: il,
|
|
2546
|
+
avatar__status: sl,
|
|
2514
2547
|
"avatar__status--available": "lc-Avatar-module__avatar__status--available___tcpFg",
|
|
2515
2548
|
"avatar__status--unavailable": "lc-Avatar-module__avatar__status--unavailable___ciauF",
|
|
2516
2549
|
"avatar__status--unknown": "lc-Avatar-module__avatar__status--unknown___MBaGB",
|
|
@@ -2525,7 +2558,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2525
2558
|
"avatar__status--xxlarge": "lc-Avatar-module__avatar__status--xxlarge___crG9D",
|
|
2526
2559
|
"avatar__status--xxxlarge": "lc-Avatar-module__avatar__status--xxxlarge___Iv61X",
|
|
2527
2560
|
"avatar__status--rounded-square": "lc-Avatar-module__avatar__status--rounded-square___-My1P",
|
|
2528
|
-
avatar__rim:
|
|
2561
|
+
avatar__rim: dl,
|
|
2529
2562
|
"avatar__rim--xxxsmall": "lc-Avatar-module__avatar__rim--xxxsmall___0CH9D",
|
|
2530
2563
|
"avatar__rim--xxsmall": "lc-Avatar-module__avatar__rim--xxsmall___Mde0K",
|
|
2531
2564
|
"avatar__rim--xsmall": "lc-Avatar-module__avatar__rim--xsmall___LAN-b",
|
|
@@ -2535,7 +2568,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2535
2568
|
"avatar__rim--xlarge": "lc-Avatar-module__avatar__rim--xlarge___CY0kN",
|
|
2536
2569
|
"avatar__rim--xxlarge": "lc-Avatar-module__avatar__rim--xxlarge___tE053",
|
|
2537
2570
|
"avatar__rim--xxxlarge": "lc-Avatar-module__avatar__rim--xxxlarge___amlGP",
|
|
2538
|
-
avatar__image:
|
|
2571
|
+
avatar__image: ul,
|
|
2539
2572
|
"avatar__icon--xxxsmall": "lc-Avatar-module__avatar__icon--xxxsmall___KaoMa",
|
|
2540
2573
|
"avatar__icon--xxsmall": "lc-Avatar-module__avatar__icon--xxsmall___NJJNV",
|
|
2541
2574
|
"avatar__icon--xsmall": "lc-Avatar-module__avatar__icon--xsmall___yHEZK",
|
|
@@ -2556,7 +2589,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2556
2589
|
"avatar--xlarge": "lc-Avatar-module__avatar--xlarge___zwgeW",
|
|
2557
2590
|
"avatar--xxlarge": "lc-Avatar-module__avatar--xxlarge___Ur0ul",
|
|
2558
2591
|
"avatar--xxxlarge": "lc-Avatar-module__avatar--xxxlarge___Z-54U"
|
|
2559
|
-
}, _e = "avatar",
|
|
2592
|
+
}, _e = "avatar", ml = (p) => {
|
|
2560
2593
|
var m = p, {
|
|
2561
2594
|
alt: t,
|
|
2562
2595
|
className: a,
|
|
@@ -2580,7 +2613,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2580
2613
|
"type",
|
|
2581
2614
|
"withRim"
|
|
2582
2615
|
]);
|
|
2583
|
-
const f = d === "image" && !l, [b, v] = e.useState(f), h = d === "image" && !!l && !b, y = d === "text", E = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, $ =
|
|
2616
|
+
const f = d === "image" && !l, [b, v] = e.useState(f), h = d === "image" && !!l && !b, y = d === "text", E = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, $ = nl(c, E), C = ["xxxsmall", "xxsmall", "xsmall", "small"].includes(o), w = r || ll(c), g = w ? cl(w) : void 0, N = y ? { backgroundColor: w } : {}, S = u(k({
|
|
2584
2617
|
[Ee[_e]]: !0,
|
|
2585
2618
|
[Ee[`${_e}--${_}`]]: !0,
|
|
2586
2619
|
[Ee[`${_e}--${o}`]]: !0,
|
|
@@ -2596,7 +2629,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2596
2629
|
), I = u(
|
|
2597
2630
|
Ee[`${_e}__rim`],
|
|
2598
2631
|
Ee[`${_e}__rim--${o}`]
|
|
2599
|
-
), O = (
|
|
2632
|
+
), O = (Q) => C ? "2xs" : ["medium"].includes(Q) ? "xs" : ["large", "xlarge"].includes(Q) ? "sm" : ["xxlarge"].includes(Q) ? "lg" : "xl", Y = e.useCallback(() => v(!0), []);
|
|
2600
2633
|
return e.useEffect(() => {
|
|
2601
2634
|
v(f);
|
|
2602
2635
|
}, [f]), /* @__PURE__ */ e.createElement("div", k({ className: S, style: N }, s), i && /* @__PURE__ */ e.createElement(
|
|
@@ -2625,8 +2658,8 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2625
2658
|
as: "span",
|
|
2626
2659
|
size: O(o),
|
|
2627
2660
|
style: { color: g },
|
|
2628
|
-
bold:
|
|
2629
|
-
uppercase:
|
|
2661
|
+
bold: C,
|
|
2662
|
+
uppercase: C
|
|
2630
2663
|
},
|
|
2631
2664
|
$
|
|
2632
2665
|
), b && /* @__PURE__ */ e.createElement(
|
|
@@ -2634,67 +2667,67 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2634
2667
|
{
|
|
2635
2668
|
"data-testid": `${_e}__icon`,
|
|
2636
2669
|
className: G,
|
|
2637
|
-
source:
|
|
2670
|
+
source: F_
|
|
2638
2671
|
}
|
|
2639
2672
|
));
|
|
2640
|
-
},
|
|
2673
|
+
}, pl = "lc-SegmentedControl-module__btn___tfsvL", xa = {
|
|
2641
2674
|
"segmented-control": "lc-SegmentedControl-module__segmented-control___LHWSk",
|
|
2642
|
-
btn:
|
|
2675
|
+
btn: pl,
|
|
2643
2676
|
"btn--active": "lc-SegmentedControl-module__btn--active___Za-th",
|
|
2644
2677
|
"btn--compact": "lc-SegmentedControl-module__btn--compact___gcSwq",
|
|
2645
2678
|
"btn--medium": "lc-SegmentedControl-module__btn--medium___w3UzC",
|
|
2646
2679
|
"btn--large": "lc-SegmentedControl-module__btn--large___yHPw4"
|
|
2647
|
-
},
|
|
2680
|
+
}, gl = "segmented-control", si = ({
|
|
2648
2681
|
size: t = "medium",
|
|
2649
2682
|
buttons: a,
|
|
2650
2683
|
className: r,
|
|
2651
2684
|
initialId: _,
|
|
2652
2685
|
currentId: o,
|
|
2653
2686
|
fullWidth: l = !1,
|
|
2654
|
-
onButtonClick: n =
|
|
2687
|
+
onButtonClick: n = Ma
|
|
2655
2688
|
}) => {
|
|
2656
|
-
const c = u(
|
|
2689
|
+
const c = u(xa[gl], r), [d, i] = e.useState(() => _), s = typeof o == "string";
|
|
2657
2690
|
e.useEffect(() => {
|
|
2658
2691
|
s && i(o);
|
|
2659
2692
|
}, [o]);
|
|
2660
2693
|
const p = (f, b) => {
|
|
2661
2694
|
s || i(f), n(f, b);
|
|
2662
2695
|
}, m = a.map(({ id: f, label: b, loading: v, disabled: h, icon: y }) => {
|
|
2663
|
-
const E = f === d, $ = E ?
|
|
2696
|
+
const E = f === d, $ = E ? xa["btn--active"] : "", C = E ? !1 : v;
|
|
2664
2697
|
return /* @__PURE__ */ e.createElement(
|
|
2665
2698
|
W,
|
|
2666
2699
|
{
|
|
2667
2700
|
key: f,
|
|
2668
2701
|
fullWidth: l,
|
|
2669
|
-
loading:
|
|
2702
|
+
loading: C,
|
|
2670
2703
|
disabled: h,
|
|
2671
2704
|
"aria-pressed": E,
|
|
2672
2705
|
kind: "secondary",
|
|
2673
2706
|
icon: y,
|
|
2674
|
-
className: u(
|
|
2675
|
-
onClick: (
|
|
2676
|
-
p(f,
|
|
2707
|
+
className: u(xa.btn, xa[`btn--${t}`], $),
|
|
2708
|
+
onClick: (w) => {
|
|
2709
|
+
p(f, w);
|
|
2677
2710
|
}
|
|
2678
2711
|
},
|
|
2679
2712
|
b
|
|
2680
2713
|
);
|
|
2681
2714
|
});
|
|
2682
2715
|
return /* @__PURE__ */ e.createElement("div", { role: "group", className: c }, m);
|
|
2683
|
-
},
|
|
2684
|
-
card:
|
|
2685
|
-
card__header:
|
|
2686
|
-
card__header__image:
|
|
2687
|
-
card__header__heading:
|
|
2688
|
-
card__header__heading__title:
|
|
2689
|
-
card__header__heading__description:
|
|
2716
|
+
}, fl = "lc-Card-module__card___GqMm2", bl = "lc-Card-module__card__header___0ptfD", hl = "lc-Card-module__card__header__image___QMwSu", vl = "lc-Card-module__card__header__heading___Wkikx", kl = "lc-Card-module__card__header__heading__title___Uxi8s", El = "lc-Card-module__card__header__heading__description___6LnOK", yl = "lc-Card-module__card__content___KuDcc", Cl = "lc-Card-module__card__actions___q9sAo", wl = "lc-Card-module__card__actions__line___TF1bt", $l = "lc-Card-module__card__actions__buttons___PDMMR", ye = {
|
|
2717
|
+
card: fl,
|
|
2718
|
+
card__header: bl,
|
|
2719
|
+
card__header__image: hl,
|
|
2720
|
+
card__header__heading: vl,
|
|
2721
|
+
card__header__heading__title: kl,
|
|
2722
|
+
card__header__heading__description: El,
|
|
2690
2723
|
"card__header__no-image": "lc-Card-module__card__header__no-image___UcnNY",
|
|
2691
|
-
card__content:
|
|
2724
|
+
card__content: yl,
|
|
2692
2725
|
"card__expanded-content": "lc-Card-module__card__expanded-content___yB-QL",
|
|
2693
|
-
card__actions:
|
|
2694
|
-
card__actions__line:
|
|
2695
|
-
card__actions__buttons:
|
|
2726
|
+
card__actions: Cl,
|
|
2727
|
+
card__actions__line: wl,
|
|
2728
|
+
card__actions__buttons: $l,
|
|
2696
2729
|
"card__actions__buttons-expander": "lc-Card-module__card__actions__buttons-expander___lz4h-"
|
|
2697
|
-
}, na = "card",
|
|
2730
|
+
}, na = "card", Oa = `${na}__header`, rr = `${Oa}__heading`, Ba = `${na}__actions`, Nl = `${Oa}__no-image`, di = (i) => {
|
|
2698
2731
|
var s = i, {
|
|
2699
2732
|
alt: t,
|
|
2700
2733
|
buttonsOptions: a = [],
|
|
@@ -2714,19 +2747,19 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2714
2747
|
"src",
|
|
2715
2748
|
"title"
|
|
2716
2749
|
]);
|
|
2717
|
-
const [p, m] = e.useState(!1), f = p ?
|
|
2718
|
-
return /* @__PURE__ */ e.createElement("div", k({ className: u(ye[na], _) }, d), E && /* @__PURE__ */ e.createElement("div", { className: u(ye[
|
|
2750
|
+
const [p, m] = e.useState(!1), f = p ? Ua : Ot, b = p ? "Hide" : "Show more", v = (a == null ? void 0 : a.length) > 0, h = !!l, y = v || h, E = c, $ = n, C = $ ? "" : ye[Nl];
|
|
2751
|
+
return /* @__PURE__ */ e.createElement("div", k({ className: u(ye[na], _) }, d), E && /* @__PURE__ */ e.createElement("div", { className: u(ye[Oa], C) }, $ && /* @__PURE__ */ e.createElement(
|
|
2719
2752
|
"img",
|
|
2720
2753
|
{
|
|
2721
2754
|
alt: t,
|
|
2722
|
-
className: ye[`${
|
|
2755
|
+
className: ye[`${Oa}__image`],
|
|
2723
2756
|
src: n
|
|
2724
2757
|
}
|
|
2725
|
-
), /* @__PURE__ */ e.createElement("div", { className: ye[
|
|
2758
|
+
), /* @__PURE__ */ e.createElement("div", { className: ye[rr] }, /* @__PURE__ */ e.createElement(ne, { size: "xs", className: ye[`${rr}__title`] }, c), o && /* @__PURE__ */ e.createElement(
|
|
2726
2759
|
B,
|
|
2727
2760
|
{
|
|
2728
2761
|
size: "sm",
|
|
2729
|
-
className: ye[`${
|
|
2762
|
+
className: ye[`${rr}__description`]
|
|
2730
2763
|
},
|
|
2731
2764
|
o
|
|
2732
2765
|
))), /* @__PURE__ */ e.createElement(B, { as: "div", size: "md", className: ye[`${na}__content`] }, r), p && /* @__PURE__ */ e.createElement(
|
|
@@ -2737,13 +2770,13 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2737
2770
|
className: ye[`${na}__expanded-content`]
|
|
2738
2771
|
},
|
|
2739
2772
|
l
|
|
2740
|
-
), y && /* @__PURE__ */ e.createElement("div", { className: ye[
|
|
2741
|
-
({ kind:
|
|
2773
|
+
), y && /* @__PURE__ */ e.createElement("div", { className: ye[Ba] }, /* @__PURE__ */ e.createElement("div", { className: ye[`${Ba}__line`] }), /* @__PURE__ */ e.createElement("div", { className: ye[`${Ba}__buttons`] }, v && a.map(
|
|
2774
|
+
({ kind: w, onClick: g, children: N }, S) => /* @__PURE__ */ e.createElement(
|
|
2742
2775
|
W,
|
|
2743
2776
|
{
|
|
2744
2777
|
key: S,
|
|
2745
2778
|
size: "compact",
|
|
2746
|
-
kind:
|
|
2779
|
+
kind: w,
|
|
2747
2780
|
onClick: g
|
|
2748
2781
|
},
|
|
2749
2782
|
N
|
|
@@ -2751,7 +2784,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2751
2784
|
), h && /* @__PURE__ */ e.createElement(
|
|
2752
2785
|
W,
|
|
2753
2786
|
{
|
|
2754
|
-
className: ye[`${
|
|
2787
|
+
className: ye[`${Ba}__buttons-expander`],
|
|
2755
2788
|
kind: "link",
|
|
2756
2789
|
iconPosition: "right",
|
|
2757
2790
|
icon: /* @__PURE__ */ e.createElement(x, { source: f }),
|
|
@@ -2759,9 +2792,9 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2759
2792
|
},
|
|
2760
2793
|
b
|
|
2761
2794
|
))));
|
|
2762
|
-
},
|
|
2795
|
+
}, Sl = {
|
|
2763
2796
|
"field-description": "lc-FieldDescription-module__field-description___IcRDH"
|
|
2764
|
-
},
|
|
2797
|
+
}, xl = "field-description", Va = (_) => {
|
|
2765
2798
|
var o = _, {
|
|
2766
2799
|
children: t,
|
|
2767
2800
|
className: a = ""
|
|
@@ -2769,19 +2802,19 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2769
2802
|
"children",
|
|
2770
2803
|
"className"
|
|
2771
2804
|
]);
|
|
2772
|
-
const l = u(
|
|
2805
|
+
const l = u(Sl[xl], a);
|
|
2773
2806
|
return /* @__PURE__ */ e.createElement(B, T(k({ as: "span", size: "sm" }, r), { className: l }), t);
|
|
2774
|
-
},
|
|
2775
|
-
checkbox:
|
|
2776
|
-
checkbox__label:
|
|
2777
|
-
checkbox__text:
|
|
2778
|
-
checkbox__input:
|
|
2779
|
-
checkbox__checkmark:
|
|
2807
|
+
}, Bl = "lc-Checkbox-module__checkbox___G7nTf", Il = "lc-Checkbox-module__checkbox__label___-o01x", Tl = "lc-Checkbox-module__checkbox__text___P2SIq", Dl = "lc-Checkbox-module__checkbox__input___YLbVF", Al = "lc-Checkbox-module__checkbox__checkmark___16pfY", Pl = "lc-Checkbox-module__checkbox__square___MHUyd", Fl = "lc-Checkbox-module__checkbox__helper___YSJ-n", kt = {
|
|
2808
|
+
checkbox: Bl,
|
|
2809
|
+
checkbox__label: Il,
|
|
2810
|
+
checkbox__text: Tl,
|
|
2811
|
+
checkbox__input: Dl,
|
|
2812
|
+
checkbox__checkmark: Al,
|
|
2780
2813
|
"checkbox--selected": "lc-Checkbox-module__checkbox--selected___S2vqY",
|
|
2781
|
-
checkbox__square:
|
|
2814
|
+
checkbox__square: Pl,
|
|
2782
2815
|
"checkbox--disabled": "lc-Checkbox-module__checkbox--disabled___-lAqW",
|
|
2783
|
-
checkbox__helper:
|
|
2784
|
-
}, Et = "checkbox",
|
|
2816
|
+
checkbox__helper: Fl
|
|
2817
|
+
}, Et = "checkbox", Rl = e.forwardRef(
|
|
2785
2818
|
(c, n) => {
|
|
2786
2819
|
var d = c, { checked: t, disabled: a, children: r, description: _, className: o } = d, l = D(d, ["checked", "disabled", "children", "description", "className"]);
|
|
2787
2820
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -2802,7 +2835,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2802
2835
|
type: "checkbox"
|
|
2803
2836
|
})
|
|
2804
2837
|
), r && /* @__PURE__ */ e.createElement(B, { as: "div", size: "md", className: kt[`${Et}__text`] }, r)),
|
|
2805
|
-
_ && /* @__PURE__ */ e.createElement(
|
|
2838
|
+
_ && /* @__PURE__ */ e.createElement(Va, { className: kt[`${Et}__helper`] }, _)
|
|
2806
2839
|
);
|
|
2807
2840
|
}
|
|
2808
2841
|
), F = {
|
|
@@ -2840,7 +2873,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2840
2873
|
"date-picker--range__select-input": "lc-DatePicker-module__date-picker--range__select-input___6pyj3",
|
|
2841
2874
|
"date-picker--range__calendars-wrapper": "lc-DatePicker-module__date-picker--range__calendars-wrapper___8nWaW",
|
|
2842
2875
|
"date-picker__navbar-buttons-wrapper": "lc-DatePicker-module__date-picker__navbar-buttons-wrapper___Hnksb"
|
|
2843
|
-
},
|
|
2876
|
+
}, Vr = "date-picker", Ml = (t) => {
|
|
2844
2877
|
const {
|
|
2845
2878
|
onPreviousClick: a,
|
|
2846
2879
|
onMonthChange: r,
|
|
@@ -2862,23 +2895,23 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2862
2895
|
const E = Rt(i, 12);
|
|
2863
2896
|
return r(E);
|
|
2864
2897
|
}
|
|
2865
|
-
const h = Math.abs(
|
|
2898
|
+
const h = Math.abs(Ar(i, s)), y = Rt(
|
|
2866
2899
|
i,
|
|
2867
2900
|
!Number.isNaN(h) && h > 12 ? 12 : h
|
|
2868
2901
|
);
|
|
2869
2902
|
return r(y);
|
|
2870
2903
|
}, v = () => {
|
|
2871
2904
|
if (!p) {
|
|
2872
|
-
const E =
|
|
2905
|
+
const E = Pr(i, 12);
|
|
2873
2906
|
return r(E);
|
|
2874
2907
|
}
|
|
2875
|
-
const h = Math.abs(
|
|
2908
|
+
const h = Math.abs(Ar(p, i)), y = Pr(
|
|
2876
2909
|
i,
|
|
2877
2910
|
!Number.isNaN(h) && h > 12 ? 12 : h
|
|
2878
2911
|
);
|
|
2879
|
-
return d === 2 &&
|
|
2912
|
+
return d === 2 && fr(y, p) ? r(Rt(y, 1)) : r(y);
|
|
2880
2913
|
};
|
|
2881
|
-
return /* @__PURE__ */ e.createElement("div", { className: n }, /* @__PURE__ */ e.createElement("div", { className: F[`${
|
|
2914
|
+
return /* @__PURE__ */ e.createElement("div", { className: n }, /* @__PURE__ */ e.createElement("div", { className: F[`${Vr}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
|
|
2882
2915
|
"button",
|
|
2883
2916
|
{
|
|
2884
2917
|
"data-testid": "date-picker-prev-year-button",
|
|
@@ -2888,7 +2921,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2888
2921
|
}),
|
|
2889
2922
|
onClick: b
|
|
2890
2923
|
},
|
|
2891
|
-
/* @__PURE__ */ e.createElement(x, { source:
|
|
2924
|
+
/* @__PURE__ */ e.createElement(x, { source: R_, kind: "subtle" })
|
|
2892
2925
|
), /* @__PURE__ */ e.createElement(
|
|
2893
2926
|
"button",
|
|
2894
2927
|
{
|
|
@@ -2899,8 +2932,8 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2899
2932
|
}),
|
|
2900
2933
|
onClick: m
|
|
2901
2934
|
},
|
|
2902
|
-
/* @__PURE__ */ e.createElement(x, { source:
|
|
2903
|
-
)), /* @__PURE__ */ e.createElement("div", { className: F[`${
|
|
2935
|
+
/* @__PURE__ */ e.createElement(x, { source: M_, kind: "subtle" })
|
|
2936
|
+
)), /* @__PURE__ */ e.createElement("div", { className: F[`${Vr}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
|
|
2904
2937
|
"button",
|
|
2905
2938
|
{
|
|
2906
2939
|
"data-testid": "date-picker-next-month-button",
|
|
@@ -2910,7 +2943,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2910
2943
|
}),
|
|
2911
2944
|
onClick: f
|
|
2912
2945
|
},
|
|
2913
|
-
/* @__PURE__ */ e.createElement(x, { source:
|
|
2946
|
+
/* @__PURE__ */ e.createElement(x, { source: Ga, kind: "subtle" })
|
|
2914
2947
|
), /* @__PURE__ */ e.createElement(
|
|
2915
2948
|
"button",
|
|
2916
2949
|
{
|
|
@@ -2921,12 +2954,12 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2921
2954
|
}),
|
|
2922
2955
|
onClick: v
|
|
2923
2956
|
},
|
|
2924
|
-
/* @__PURE__ */ e.createElement(x, { source:
|
|
2957
|
+
/* @__PURE__ */ e.createElement(x, { source: L_, kind: "subtle" })
|
|
2925
2958
|
)));
|
|
2926
|
-
}, R = "date-picker",
|
|
2959
|
+
}, R = "date-picker", k_ = (t, a) => {
|
|
2927
2960
|
const { from: r, to: _ } = a;
|
|
2928
|
-
return !(_ && !
|
|
2929
|
-
},
|
|
2961
|
+
return !(_ && !br(t, _) && hr(t, _) || r && !br(t, r) && !hr(t, r));
|
|
2962
|
+
}, E_ = (t, a, r) => a ? t && !fr(t, a) || r && fr(a, r) ? Rt(a, 1) : a : Rt(r || /* @__PURE__ */ new Date(), 1), Ll = (t, a) => {
|
|
2930
2963
|
const r = {
|
|
2931
2964
|
[F[`${R}__day--monday`]]: { daysOfWeek: [1] },
|
|
2932
2965
|
[F[`${R}__day--sunday`]]: { daysOfWeek: [0] },
|
|
@@ -2935,7 +2968,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2935
2968
|
};
|
|
2936
2969
|
if (!a || !t)
|
|
2937
2970
|
return r;
|
|
2938
|
-
const _ =
|
|
2971
|
+
const _ = $r(a, t);
|
|
2939
2972
|
return _ > 0 ? T(k({}, r), {
|
|
2940
2973
|
[F[`${R}__day--end`]]: a
|
|
2941
2974
|
}) : _ < 0 ? T(k({}, r), {
|
|
@@ -2944,7 +2977,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2944
2977
|
}, oa = (t, a) => {
|
|
2945
2978
|
const r = a.find((_) => _.id === t);
|
|
2946
2979
|
return r || void 0;
|
|
2947
|
-
},
|
|
2980
|
+
}, Kr = (t, a) => !!(!t || t && a), Ol = (t) => {
|
|
2948
2981
|
const a = {};
|
|
2949
2982
|
if (!t.initialSelectedItemKey)
|
|
2950
2983
|
return a;
|
|
@@ -2953,7 +2986,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2953
2986
|
t.options
|
|
2954
2987
|
);
|
|
2955
2988
|
return r ? (a.selectedItem = t.initialSelectedItemKey, r.isManual && (t.initialFromDate && (a.from = t.initialFromDate), t.initialToDate && (a.to = t.initialToDate, a.temporaryTo = t.initialToDate)), a) : {};
|
|
2956
|
-
},
|
|
2989
|
+
}, Gl = (t, a) => k({
|
|
2957
2990
|
container: u({
|
|
2958
2991
|
[F[`${R}`]]: !0,
|
|
2959
2992
|
[F[`${R}--range`]]: t
|
|
@@ -2988,10 +3021,10 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
2988
3021
|
outside: F[`${R}__day--outside`],
|
|
2989
3022
|
start: F[`${R}__day--start`],
|
|
2990
3023
|
end: F[`${R}__day--end`]
|
|
2991
|
-
}, a),
|
|
3024
|
+
}, a), Yr = "date-picker", Ul = (t) => {
|
|
2992
3025
|
const a = t.getDate();
|
|
2993
|
-
return /* @__PURE__ */ e.createElement("div", { className: F[`${
|
|
2994
|
-
},
|
|
3026
|
+
return /* @__PURE__ */ e.createElement("div", { className: F[`${Yr}__day-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: F[`${Yr}__day-content`] }, a));
|
|
3027
|
+
}, Hl = (t) => {
|
|
2995
3028
|
const y = t, {
|
|
2996
3029
|
classNames: a,
|
|
2997
3030
|
range: r,
|
|
@@ -3018,7 +3051,7 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
3018
3051
|
e.useEffect(() => {
|
|
3019
3052
|
o && o !== m && f(o);
|
|
3020
3053
|
}, [o, m]), e.useEffect(() => {
|
|
3021
|
-
_ && o !== m && (
|
|
3054
|
+
_ && o !== m && (k_(m, { from: l, to: _ }) || f(_));
|
|
3022
3055
|
}, [o, m, _, l]);
|
|
3023
3056
|
const b = e.useCallback(
|
|
3024
3057
|
(E) => {
|
|
@@ -3033,14 +3066,14 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
3033
3066
|
let v = 1;
|
|
3034
3067
|
(n === 0 || n && n < 7) && (v = n);
|
|
3035
3068
|
const h = e.useMemo(
|
|
3036
|
-
() =>
|
|
3069
|
+
() => Gl(r, a),
|
|
3037
3070
|
[r, a]
|
|
3038
3071
|
);
|
|
3039
3072
|
return /* @__PURE__ */ e.createElement(
|
|
3040
|
-
|
|
3073
|
+
co,
|
|
3041
3074
|
k({
|
|
3042
3075
|
navbarElement: d || /* @__PURE__ */ e.createElement(
|
|
3043
|
-
|
|
3076
|
+
Ml,
|
|
3044
3077
|
{
|
|
3045
3078
|
month: m,
|
|
3046
3079
|
classNames: h,
|
|
@@ -3057,16 +3090,16 @@ const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__s
|
|
|
3057
3090
|
fromMonth: l,
|
|
3058
3091
|
firstDayOfWeek: v,
|
|
3059
3092
|
month: m,
|
|
3060
|
-
renderDay: i ||
|
|
3093
|
+
renderDay: i || Ul
|
|
3061
3094
|
}, p)
|
|
3062
3095
|
);
|
|
3063
|
-
},
|
|
3064
|
-
(t, a) => /* @__PURE__ */ e.createElement(
|
|
3096
|
+
}, zl = e.forwardRef(
|
|
3097
|
+
(t, a) => /* @__PURE__ */ e.createElement(Hl, k({ innerRef: a }, t))
|
|
3065
3098
|
);
|
|
3066
|
-
|
|
3099
|
+
zl.displayName = "DatePicker";
|
|
3067
3100
|
var J = /* @__PURE__ */ ((t) => (t.NEW_SELECTED_ITEM = "NEW_SELECTED_ITEM", t.NEW_TEMPORARY_TO_VALUE = "NEW_TEMPORARY_TO_VALUE", t.CLEAR = "CLEAR", t.SET_FROM = "SET_FROM", t.SET_TO = "SET_TO", t.SELECT_FIRST_DAY = "SELECT_FIRST_DAY", t.SELECT_SECOND_DAY_AS_FROM = "SELECT_SECOND_DAY_AS_FROM", t.SELECT_SECOND_DAY_AS_TO = "SELECT_SECOND_DAY_AS_TO", t.CURRENT_MONTH_CHANGE = "CURRENT_MONTH_CHANGE", t))(J || {});
|
|
3068
|
-
const
|
|
3069
|
-
const a =
|
|
3101
|
+
const Wl = (t) => {
|
|
3102
|
+
const a = E_(
|
|
3070
3103
|
t.initialFromDate,
|
|
3071
3104
|
t.initialToDate,
|
|
3072
3105
|
t.toMonth
|
|
@@ -3076,7 +3109,7 @@ const Ul = (t) => {
|
|
|
3076
3109
|
to: void 0,
|
|
3077
3110
|
temporaryTo: void 0,
|
|
3078
3111
|
currentMonth: a
|
|
3079
|
-
}),
|
|
3112
|
+
}), Ol(t));
|
|
3080
3113
|
function o(l, n) {
|
|
3081
3114
|
switch (n.type) {
|
|
3082
3115
|
case J.NEW_SELECTED_ITEM:
|
|
@@ -3124,8 +3157,8 @@ const Ul = (t) => {
|
|
|
3124
3157
|
return l;
|
|
3125
3158
|
}
|
|
3126
3159
|
}
|
|
3127
|
-
return
|
|
3128
|
-
},
|
|
3160
|
+
return D_(o, _);
|
|
3161
|
+
}, Vl = ({
|
|
3129
3162
|
options: t,
|
|
3130
3163
|
initialSelectedItemKey: a,
|
|
3131
3164
|
initialFromDate: r,
|
|
@@ -3134,9 +3167,9 @@ const Ul = (t) => {
|
|
|
3134
3167
|
onChange: l,
|
|
3135
3168
|
children: n
|
|
3136
3169
|
}) => {
|
|
3137
|
-
const c =
|
|
3170
|
+
const c = A_(
|
|
3138
3171
|
a || null
|
|
3139
|
-
), [d, i] =
|
|
3172
|
+
), [d, i] = Wl({
|
|
3140
3173
|
options: t,
|
|
3141
3174
|
initialSelectedItemKey: a,
|
|
3142
3175
|
initialFromDate: r,
|
|
@@ -3156,7 +3189,7 @@ const Ul = (t) => {
|
|
|
3156
3189
|
payload: { date: _ }
|
|
3157
3190
|
});
|
|
3158
3191
|
}, [_]), Ft(() => {
|
|
3159
|
-
const v =
|
|
3192
|
+
const v = E_(
|
|
3160
3193
|
r,
|
|
3161
3194
|
_,
|
|
3162
3195
|
o
|
|
@@ -3194,8 +3227,8 @@ const Ul = (t) => {
|
|
|
3194
3227
|
}, [l, d.selectedItem, t]);
|
|
3195
3228
|
const s = ka(
|
|
3196
3229
|
(v) => {
|
|
3197
|
-
const h = o ?
|
|
3198
|
-
!
|
|
3230
|
+
const h = o ? $r(o, v) >= 0 : !0;
|
|
3231
|
+
!Kr(d.from, d.to) && h && i({
|
|
3199
3232
|
type: J.NEW_TEMPORARY_TO_VALUE,
|
|
3200
3233
|
payload: { date: v }
|
|
3201
3234
|
});
|
|
@@ -3204,10 +3237,10 @@ const Ul = (t) => {
|
|
|
3204
3237
|
), p = ka(
|
|
3205
3238
|
(v) => {
|
|
3206
3239
|
const { from: h, to: y } = d;
|
|
3207
|
-
|
|
3240
|
+
k_(v, { to: o }) && (Kr(h, y) ? i({
|
|
3208
3241
|
type: J.SELECT_FIRST_DAY,
|
|
3209
3242
|
payload: { date: v }
|
|
3210
|
-
}) : h &&
|
|
3243
|
+
}) : h && br(v, h) || h && hr(v, h) ? i({
|
|
3211
3244
|
type: J.SELECT_SECOND_DAY_AS_TO,
|
|
3212
3245
|
payload: { date: v }
|
|
3213
3246
|
}) : i({
|
|
@@ -3238,10 +3271,10 @@ const Ul = (t) => {
|
|
|
3238
3271
|
});
|
|
3239
3272
|
}, []);
|
|
3240
3273
|
return n((() => {
|
|
3241
|
-
const { currentMonth: v, from: h, selectedItem: y, temporaryTo: E, to: $ } = d,
|
|
3242
|
-
() =>
|
|
3274
|
+
const { currentMonth: v, from: h, selectedItem: y, temporaryTo: E, to: $ } = d, C = Ea(
|
|
3275
|
+
() => Ll(h, E),
|
|
3243
3276
|
[h, E]
|
|
3244
|
-
),
|
|
3277
|
+
), w = Ea(() => oa(y, t), [t, y]), g = Ea(() => [h, { from: h, to: E }], [h, E]), N = Ea(() => o ? { after: o } : void 0, [o]);
|
|
3245
3278
|
return {
|
|
3246
3279
|
select: {
|
|
3247
3280
|
onItemSelect: m,
|
|
@@ -3257,18 +3290,18 @@ const Ul = (t) => {
|
|
|
3257
3290
|
numberOfMonths: 2,
|
|
3258
3291
|
onDayClick: p,
|
|
3259
3292
|
selectedDays: g,
|
|
3260
|
-
modifiers:
|
|
3293
|
+
modifiers: C,
|
|
3261
3294
|
initialMonth: o && Rt(o, 1),
|
|
3262
3295
|
toMonth: o,
|
|
3263
3296
|
disabledDays: N,
|
|
3264
3297
|
onDayMouseEnter: s,
|
|
3265
3298
|
onMonthChange: f
|
|
3266
3299
|
},
|
|
3267
|
-
selectedOption:
|
|
3300
|
+
selectedOption: w
|
|
3268
3301
|
};
|
|
3269
3302
|
})());
|
|
3270
3303
|
};
|
|
3271
|
-
|
|
3304
|
+
Vl.defaultProps = {
|
|
3272
3305
|
options: [
|
|
3273
3306
|
{
|
|
3274
3307
|
id: "default",
|
|
@@ -3281,7 +3314,7 @@ Hl.defaultProps = {
|
|
|
3281
3314
|
}
|
|
3282
3315
|
]
|
|
3283
3316
|
};
|
|
3284
|
-
const
|
|
3317
|
+
const ui = (t) => {
|
|
3285
3318
|
const l = t, { className: a, children: r } = l, _ = D(l, ["className", "children"]), o = u(
|
|
3286
3319
|
a,
|
|
3287
3320
|
F["date-picker--range__calendars-wrapper"]
|
|
@@ -3308,7 +3341,7 @@ const ii = (t) => {
|
|
|
3308
3341
|
"details-card__content": "lc-DetailsCard-module__details-card__content___RNVd2",
|
|
3309
3342
|
"details-card__content--spacing": "lc-DetailsCard-module__details-card__content--spacing___QecUa",
|
|
3310
3343
|
"details-card__content--full-space": "lc-DetailsCard-module__details-card__content--full-space___2ms8I"
|
|
3311
|
-
}, z = "details-card",
|
|
3344
|
+
}, z = "details-card", Kl = ["input", "button", "select", "textarea", "a"], mi = ({
|
|
3312
3345
|
children: t,
|
|
3313
3346
|
className: a,
|
|
3314
3347
|
leftNode: r,
|
|
@@ -3324,19 +3357,19 @@ const ii = (t) => {
|
|
|
3324
3357
|
H[z],
|
|
3325
3358
|
l && H[`${z}--with-divider`],
|
|
3326
3359
|
a
|
|
3327
|
-
), h = d && s, y = typeof o == "string", E = (
|
|
3328
|
-
p((
|
|
3329
|
-
}, $ = (
|
|
3330
|
-
const g =
|
|
3331
|
-
|
|
3360
|
+
), h = d && s, y = typeof o == "string", E = (C) => {
|
|
3361
|
+
p((w) => !w), C.currentTarget.blur(), i == null || i(C);
|
|
3362
|
+
}, $ = (C) => {
|
|
3363
|
+
const g = C.target.tagName.toLowerCase();
|
|
3364
|
+
Kl.includes(g) || (p((N) => !N), i == null || i(C));
|
|
3332
3365
|
};
|
|
3333
3366
|
return e.useEffect(() => {
|
|
3334
|
-
const
|
|
3335
|
-
if (b.current &&
|
|
3336
|
-
const
|
|
3367
|
+
const C = !!window.IntersectionObserver;
|
|
3368
|
+
if (b.current && C) {
|
|
3369
|
+
const w = new ResizeObserver(() => {
|
|
3337
3370
|
b.current && m !== b.current.offsetHeight && f(b.current.offsetHeight);
|
|
3338
3371
|
});
|
|
3339
|
-
return
|
|
3372
|
+
return w.observe(b.current), () => w.disconnect();
|
|
3340
3373
|
}
|
|
3341
3374
|
}, [b]), /* @__PURE__ */ e.createElement("div", { className: v }, /* @__PURE__ */ e.createElement(
|
|
3342
3375
|
"div",
|
|
@@ -3378,7 +3411,7 @@ const ii = (t) => {
|
|
|
3378
3411
|
icon: /* @__PURE__ */ e.createElement(
|
|
3379
3412
|
x,
|
|
3380
3413
|
{
|
|
3381
|
-
source:
|
|
3414
|
+
source: Ga,
|
|
3382
3415
|
className: u(
|
|
3383
3416
|
H[`${z}__button__icon`],
|
|
3384
3417
|
s && H[`${z}__button__icon--open`]
|
|
@@ -3418,17 +3451,17 @@ const ii = (t) => {
|
|
|
3418
3451
|
t
|
|
3419
3452
|
)
|
|
3420
3453
|
)));
|
|
3421
|
-
},
|
|
3454
|
+
}, _r = {
|
|
3422
3455
|
"details-card-info": "lc-DetailsCardInfo-module__details-card-info___D4VRk",
|
|
3423
3456
|
"details-card-info__label": "lc-DetailsCardInfo-module__details-card-info__label___U-KsO",
|
|
3424
3457
|
"details-card-info__content": "lc-DetailsCardInfo-module__details-card-info__content___TFEXS"
|
|
3425
|
-
},
|
|
3458
|
+
}, or = "details-card-info", pi = ({
|
|
3426
3459
|
children: t,
|
|
3427
3460
|
label: a
|
|
3428
|
-
}) => /* @__PURE__ */ e.createElement("div", { className:
|
|
3461
|
+
}) => /* @__PURE__ */ e.createElement("div", { className: _r[or] }, /* @__PURE__ */ e.createElement("div", { className: _r[`${or}__label`] }, a), /* @__PURE__ */ e.createElement("div", { className: _r[`${or}__content`] }, t)), qr = {
|
|
3429
3462
|
"field-error": "lc-FieldError-module__field-error___IDkPT",
|
|
3430
3463
|
"field-error__icon": "lc-FieldError-module__field-error__icon___D4UNC"
|
|
3431
|
-
},
|
|
3464
|
+
}, Zr = "field-error", Br = (_) => {
|
|
3432
3465
|
var o = _, {
|
|
3433
3466
|
children: t,
|
|
3434
3467
|
className: a = ""
|
|
@@ -3436,20 +3469,20 @@ const ii = (t) => {
|
|
|
3436
3469
|
"children",
|
|
3437
3470
|
"className"
|
|
3438
3471
|
]);
|
|
3439
|
-
const l = u(
|
|
3472
|
+
const l = u(qr[Zr], a);
|
|
3440
3473
|
return /* @__PURE__ */ e.createElement(B, T(k({ as: "span", size: "sm" }, r), { className: l }), /* @__PURE__ */ e.createElement(
|
|
3441
3474
|
x,
|
|
3442
3475
|
{
|
|
3443
3476
|
source: ca,
|
|
3444
|
-
className:
|
|
3477
|
+
className: qr[`${Zr}__icon`],
|
|
3445
3478
|
size: "small"
|
|
3446
3479
|
}
|
|
3447
3480
|
), t);
|
|
3448
|
-
},
|
|
3481
|
+
}, lr = {
|
|
3449
3482
|
"field-group": "lc-FieldGroup-module__field-group___gy8lp",
|
|
3450
3483
|
"field-group--inline": "lc-FieldGroup-module__field-group--inline___or4qf",
|
|
3451
3484
|
"field-group--stretched": "lc-FieldGroup-module__field-group--stretched___6rkuO"
|
|
3452
|
-
},
|
|
3485
|
+
}, nr = "field-group", gi = (c) => {
|
|
3453
3486
|
var d = c, {
|
|
3454
3487
|
className: t = "",
|
|
3455
3488
|
children: a,
|
|
@@ -3465,18 +3498,18 @@ const ii = (t) => {
|
|
|
3465
3498
|
"inline",
|
|
3466
3499
|
"stretch"
|
|
3467
3500
|
]);
|
|
3468
|
-
const i = u(
|
|
3469
|
-
[
|
|
3470
|
-
[
|
|
3501
|
+
const i = u(lr[nr], t, {
|
|
3502
|
+
[lr[`${nr}--inline`]]: o,
|
|
3503
|
+
[lr[`${nr}--stretched`]]: l
|
|
3471
3504
|
});
|
|
3472
|
-
return /* @__PURE__ */ e.createElement("div", T(k({}, n), { className: i }), a, _ && /* @__PURE__ */ e.createElement(
|
|
3473
|
-
},
|
|
3474
|
-
form:
|
|
3475
|
-
form__header:
|
|
3476
|
-
form__footer:
|
|
3477
|
-
form__label:
|
|
3478
|
-
form__helper:
|
|
3479
|
-
}, Yt = "form",
|
|
3505
|
+
return /* @__PURE__ */ e.createElement("div", T(k({}, n), { className: i }), a, _ && /* @__PURE__ */ e.createElement(Br, null, _), r && /* @__PURE__ */ e.createElement(Va, null, r));
|
|
3506
|
+
}, Yl = "lc-Form-module__form___1nOYF", ql = "lc-Form-module__form__header___U4B7t", Zl = "lc-Form-module__form__footer___1-sUX", Xl = "lc-Form-module__form__label___spg-J", Jl = "lc-Form-module__form__helper___bhfwS", Kt = {
|
|
3507
|
+
form: Yl,
|
|
3508
|
+
form__header: ql,
|
|
3509
|
+
form__footer: Zl,
|
|
3510
|
+
form__label: Xl,
|
|
3511
|
+
form__helper: Jl
|
|
3512
|
+
}, Yt = "form", fi = (n) => {
|
|
3480
3513
|
var c = n, {
|
|
3481
3514
|
className: t,
|
|
3482
3515
|
children: a,
|
|
@@ -3491,7 +3524,7 @@ const ii = (t) => {
|
|
|
3491
3524
|
"formFooter"
|
|
3492
3525
|
]);
|
|
3493
3526
|
return /* @__PURE__ */ e.createElement("form", k({ className: u(Kt[Yt], t) }, l), (r || _) && /* @__PURE__ */ e.createElement("div", { className: Kt[`${Yt}__header`] }, r && /* @__PURE__ */ e.createElement(ne, { size: "sm", className: Kt[`${Yt}__label`] }, r), _ && /* @__PURE__ */ e.createElement(B, { as: "p", size: "sm", className: Kt[`${Yt}__helper`] }, _)), a, o && /* @__PURE__ */ e.createElement("div", { className: Kt[`${Yt}__footer`] }, o));
|
|
3494
|
-
},
|
|
3527
|
+
}, j = {
|
|
3495
3528
|
"form-field": "lc-FormField-module__form-field___JqnX6",
|
|
3496
3529
|
"form-field--inline": "lc-FormField-module__form-field--inline___4DgIq",
|
|
3497
3530
|
"form-field__wrapper--inline": "lc-FormField-module__form-field__wrapper--inline___Ubvrn",
|
|
@@ -3508,7 +3541,7 @@ const ii = (t) => {
|
|
|
3508
3541
|
"form-field__row-break": "lc-FormField-module__form-field__row-break___DCBjC",
|
|
3509
3542
|
"form-field__content": "lc-FormField-module__form-field__content___XaOx3",
|
|
3510
3543
|
"form-field__content__description": "lc-FormField-module__form-field__content__description___NpVw4"
|
|
3511
|
-
}, ee = "form-field",
|
|
3544
|
+
}, ee = "form-field", bi = ({
|
|
3512
3545
|
inline: t,
|
|
3513
3546
|
error: a,
|
|
3514
3547
|
description: r,
|
|
@@ -3520,9 +3553,9 @@ const ii = (t) => {
|
|
|
3520
3553
|
labelRightNode: d
|
|
3521
3554
|
}) => {
|
|
3522
3555
|
const i = e.useRef(null), [s, p] = e.useState("auto"), m = u(
|
|
3523
|
-
|
|
3556
|
+
j[ee],
|
|
3524
3557
|
{
|
|
3525
|
-
[
|
|
3558
|
+
[j[`${ee}--inline`]]: t
|
|
3526
3559
|
},
|
|
3527
3560
|
l
|
|
3528
3561
|
);
|
|
@@ -3535,34 +3568,34 @@ const ii = (t) => {
|
|
|
3535
3568
|
as: "div",
|
|
3536
3569
|
size: "sm",
|
|
3537
3570
|
className: u(
|
|
3538
|
-
|
|
3539
|
-
|
|
3571
|
+
j[`${ee}__label-right-node`],
|
|
3572
|
+
j[`${ee}__label-right-node--inline`]
|
|
3540
3573
|
)
|
|
3541
3574
|
},
|
|
3542
3575
|
d
|
|
3543
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
3576
|
+
), /* @__PURE__ */ e.createElement("div", { className: j[`${ee}__row-break`] })), /* @__PURE__ */ e.createElement(
|
|
3544
3577
|
"div",
|
|
3545
3578
|
{
|
|
3546
3579
|
className: u(
|
|
3547
|
-
|
|
3548
|
-
t &&
|
|
3580
|
+
j[`${ee}__wrapper`],
|
|
3581
|
+
t && j[`${ee}__wrapper--inline`]
|
|
3549
3582
|
)
|
|
3550
3583
|
},
|
|
3551
3584
|
(_ || d) && /* @__PURE__ */ e.createElement(
|
|
3552
3585
|
"div",
|
|
3553
3586
|
{
|
|
3554
3587
|
className: u(
|
|
3555
|
-
|
|
3556
|
-
t &&
|
|
3557
|
-
!_ &&
|
|
3588
|
+
j[`${ee}__label`],
|
|
3589
|
+
t && j[`${ee}__label--inline`],
|
|
3590
|
+
!_ && j[`${ee}__label--no-text`]
|
|
3558
3591
|
)
|
|
3559
3592
|
},
|
|
3560
3593
|
_ && /* @__PURE__ */ e.createElement(
|
|
3561
3594
|
"div",
|
|
3562
3595
|
{
|
|
3563
3596
|
className: u(
|
|
3564
|
-
|
|
3565
|
-
t &&
|
|
3597
|
+
j[`${ee}__label-wrapper`],
|
|
3598
|
+
t && j[`${ee}__label-wrapper--inline`]
|
|
3566
3599
|
),
|
|
3567
3600
|
style: {
|
|
3568
3601
|
height: s
|
|
@@ -3571,7 +3604,7 @@ const ii = (t) => {
|
|
|
3571
3604
|
/* @__PURE__ */ e.createElement(
|
|
3572
3605
|
"label",
|
|
3573
3606
|
{
|
|
3574
|
-
className:
|
|
3607
|
+
className: j[`${ee}__label-left-node`],
|
|
3575
3608
|
htmlFor: n
|
|
3576
3609
|
},
|
|
3577
3610
|
/* @__PURE__ */ e.createElement(B, { as: "span", size: "sm" }, _)
|
|
@@ -3582,8 +3615,8 @@ const ii = (t) => {
|
|
|
3582
3615
|
as: "div",
|
|
3583
3616
|
size: "sm",
|
|
3584
3617
|
className: u(
|
|
3585
|
-
|
|
3586
|
-
t &&
|
|
3618
|
+
j[`${ee}__label-adornment`],
|
|
3619
|
+
t && j[`${ee}__label-adornment--inline`]
|
|
3587
3620
|
)
|
|
3588
3621
|
},
|
|
3589
3622
|
o
|
|
@@ -3594,25 +3627,25 @@ const ii = (t) => {
|
|
|
3594
3627
|
{
|
|
3595
3628
|
as: "div",
|
|
3596
3629
|
size: "sm",
|
|
3597
|
-
className: u(
|
|
3630
|
+
className: u(j[`${ee}__label-right-node`])
|
|
3598
3631
|
},
|
|
3599
3632
|
d
|
|
3600
3633
|
)
|
|
3601
3634
|
),
|
|
3602
|
-
/* @__PURE__ */ e.createElement("div", { className: u(
|
|
3603
|
-
|
|
3635
|
+
/* @__PURE__ */ e.createElement("div", { className: u(j[`${ee}__content`]) }, /* @__PURE__ */ e.createElement("div", { ref: i }, c), a && /* @__PURE__ */ e.createElement(Br, null, a), !a && r && /* @__PURE__ */ e.createElement(
|
|
3636
|
+
Va,
|
|
3604
3637
|
{
|
|
3605
|
-
className: u(
|
|
3638
|
+
className: u(j[`${ee}__content__description`])
|
|
3606
3639
|
},
|
|
3607
3640
|
r
|
|
3608
3641
|
))
|
|
3609
3642
|
));
|
|
3610
|
-
},
|
|
3643
|
+
}, Ia = {
|
|
3611
3644
|
"form-group": "lc-FormGroup-module__form-group___e2JHa",
|
|
3612
3645
|
"form-group__header": "lc-FormGroup-module__form-group__header___DgGmR",
|
|
3613
3646
|
"form-group__label": "lc-FormGroup-module__form-group__label___NC-JW",
|
|
3614
3647
|
"form-group__helper": "lc-FormGroup-module__form-group__helper___SRuxe"
|
|
3615
|
-
},
|
|
3648
|
+
}, Ta = "form-group", hi = (l) => {
|
|
3616
3649
|
var n = l, {
|
|
3617
3650
|
className: t = "",
|
|
3618
3651
|
children: a,
|
|
@@ -3624,7 +3657,7 @@ const ii = (t) => {
|
|
|
3624
3657
|
"labelText",
|
|
3625
3658
|
"helperText"
|
|
3626
3659
|
]);
|
|
3627
|
-
const c = u(
|
|
3660
|
+
const c = u(Ia[Ta], t);
|
|
3628
3661
|
return /* @__PURE__ */ e.createElement(
|
|
3629
3662
|
"div",
|
|
3630
3663
|
T(k(T(k({}, o), {
|
|
@@ -3632,19 +3665,19 @@ const ii = (t) => {
|
|
|
3632
3665
|
}), r && { "aria-label": r }), {
|
|
3633
3666
|
className: c
|
|
3634
3667
|
}),
|
|
3635
|
-
(r || _) && /* @__PURE__ */ e.createElement("div", { className:
|
|
3668
|
+
(r || _) && /* @__PURE__ */ e.createElement("div", { className: Ia[`${Ta}__header`] }, r && /* @__PURE__ */ e.createElement(
|
|
3636
3669
|
ne,
|
|
3637
3670
|
{
|
|
3638
3671
|
as: "div",
|
|
3639
3672
|
size: "sm",
|
|
3640
|
-
className:
|
|
3673
|
+
className: Ia[`${Ta}__label`]
|
|
3641
3674
|
},
|
|
3642
3675
|
r
|
|
3643
|
-
), _ && /* @__PURE__ */ e.createElement(B, { as: "div", size: "sm", className:
|
|
3676
|
+
), _ && /* @__PURE__ */ e.createElement(B, { as: "div", size: "sm", className: Ia[`${Ta}__helper`] }, _)),
|
|
3644
3677
|
a
|
|
3645
3678
|
);
|
|
3646
|
-
},
|
|
3647
|
-
input:
|
|
3679
|
+
}, Ql = "lc-Input-module__input___qeMAQ", Le = {
|
|
3680
|
+
input: Ql,
|
|
3648
3681
|
"input--focused": "lc-Input-module__input--focused___wQH5-",
|
|
3649
3682
|
"input--disabled": "lc-Input-module__input--disabled___HidXX",
|
|
3650
3683
|
"input--crop": "lc-Input-module__input--crop___uzJS8",
|
|
@@ -3658,7 +3691,7 @@ const ii = (t) => {
|
|
|
3658
3691
|
"input__icon--left": "lc-Input-module__input__icon--left___BcySs",
|
|
3659
3692
|
"input__icon--right": "lc-Input-module__input__icon--right___VefSK",
|
|
3660
3693
|
"input__visibility-button": "lc-Input-module__input__visibility-button___eWrVe"
|
|
3661
|
-
}, Oe = "input",
|
|
3694
|
+
}, Oe = "input", Xr = (t, a) => e.cloneElement(t.source, {
|
|
3662
3695
|
"data-testid": `input-icon-${t.place}`,
|
|
3663
3696
|
className: u(
|
|
3664
3697
|
Le[`${Oe}__icon`],
|
|
@@ -3667,7 +3700,7 @@ const ii = (t) => {
|
|
|
3667
3700
|
[Le[`${Oe}__icon--disabled`]]: a
|
|
3668
3701
|
}
|
|
3669
3702
|
)
|
|
3670
|
-
}),
|
|
3703
|
+
}), vi = e.forwardRef(
|
|
3671
3704
|
(d, c) => {
|
|
3672
3705
|
var i = d, {
|
|
3673
3706
|
inputSize: t = "medium",
|
|
@@ -3697,7 +3730,7 @@ const ii = (t) => {
|
|
|
3697
3730
|
[Le[`${Oe}--crop`]]: l,
|
|
3698
3731
|
[Le[`${Oe}--read-only`]]: n.readOnly
|
|
3699
3732
|
}
|
|
3700
|
-
), $ = r ? "var(--content-disabled)" : "var(--content-default)",
|
|
3733
|
+
), $ = r ? "var(--content-disabled)" : "var(--content-default)", C = f ? O_ : G_, w = _ && _.place === "left", g = _ && v !== "password" && _.place === "right", N = () => {
|
|
3701
3734
|
var S;
|
|
3702
3735
|
(S = s.current) == null || S.focus();
|
|
3703
3736
|
};
|
|
@@ -3710,7 +3743,7 @@ const ii = (t) => {
|
|
|
3710
3743
|
"tab-index": "0",
|
|
3711
3744
|
onClick: N
|
|
3712
3745
|
},
|
|
3713
|
-
|
|
3746
|
+
w && Xr(_, r),
|
|
3714
3747
|
/* @__PURE__ */ e.createElement(
|
|
3715
3748
|
"input",
|
|
3716
3749
|
T(k({}, n), {
|
|
@@ -3725,24 +3758,24 @@ const ii = (t) => {
|
|
|
3725
3758
|
type: v && !f ? v : "text"
|
|
3726
3759
|
})
|
|
3727
3760
|
),
|
|
3728
|
-
g &&
|
|
3761
|
+
g && Xr(_, r),
|
|
3729
3762
|
v === "password" && /* @__PURE__ */ e.createElement(
|
|
3730
3763
|
W,
|
|
3731
3764
|
{
|
|
3732
3765
|
disabled: r,
|
|
3733
3766
|
kind: "text",
|
|
3734
3767
|
size: "compact",
|
|
3735
|
-
icon: /* @__PURE__ */ e.createElement(x, { customColor: $, source:
|
|
3768
|
+
icon: /* @__PURE__ */ e.createElement(x, { customColor: $, source: C }),
|
|
3736
3769
|
onClick: () => b((S) => !S),
|
|
3737
3770
|
className: Le[`${Oe}__visibility-button`]
|
|
3738
3771
|
}
|
|
3739
3772
|
)
|
|
3740
3773
|
);
|
|
3741
3774
|
}
|
|
3742
|
-
),
|
|
3743
|
-
link:
|
|
3775
|
+
), jl = "lc-Link-module__link___kqx52", Jr = {
|
|
3776
|
+
link: jl,
|
|
3744
3777
|
"link--bold": "lc-Link-module__link--bold___1rGdO"
|
|
3745
|
-
},
|
|
3778
|
+
}, Qr = "link", ki = (_) => {
|
|
3746
3779
|
var o = _, {
|
|
3747
3780
|
bold: t = !1,
|
|
3748
3781
|
className: a = ""
|
|
@@ -3754,13 +3787,13 @@ const ii = (t) => {
|
|
|
3754
3787
|
"a",
|
|
3755
3788
|
k({
|
|
3756
3789
|
className: u(
|
|
3757
|
-
|
|
3758
|
-
t &&
|
|
3790
|
+
Jr[Qr],
|
|
3791
|
+
t && Jr[`${Qr}--bold`],
|
|
3759
3792
|
a
|
|
3760
3793
|
)
|
|
3761
3794
|
}, r)
|
|
3762
3795
|
);
|
|
3763
|
-
},
|
|
3796
|
+
}, en = "lc-Modal-module__modal__body___M-jmN", tn = "lc-Modal-module__modal__header___Fp5VE", an = "lc-Modal-module__modal__heading___G9KVK", rn = "lc-Modal-module__modal__footer___2LYdc", se = {
|
|
3764
3797
|
"modal-base": "lc-Modal-module__modal-base___hbL1U",
|
|
3765
3798
|
"fade-in": "lc-Modal-module__fade-in___gWlGs",
|
|
3766
3799
|
"modal-base--full-space": "lc-Modal-module__modal-base--full-space___KcGFL",
|
|
@@ -3769,14 +3802,14 @@ const ii = (t) => {
|
|
|
3769
3802
|
"modal-base__overlay--labelled": "lc-Modal-module__modal-base__overlay--labelled___THAo-",
|
|
3770
3803
|
"modal-base__close": "lc-Modal-module__modal-base__close___gJlgr",
|
|
3771
3804
|
"modal-base__close--label-type": "lc-Modal-module__modal-base__close--label-type___Om0Vb",
|
|
3772
|
-
modal__body:
|
|
3773
|
-
modal__header:
|
|
3805
|
+
modal__body: en,
|
|
3806
|
+
modal__header: tn,
|
|
3774
3807
|
"modal__header--without-heading": "lc-Modal-module__modal__header--without-heading___N2Bra",
|
|
3775
3808
|
"modal__label-header": "lc-Modal-module__modal__label-header___ZPtEy",
|
|
3776
|
-
modal__heading:
|
|
3809
|
+
modal__heading: an,
|
|
3777
3810
|
"modal__label-heading": "lc-Modal-module__modal__label-heading___WnYcF",
|
|
3778
|
-
modal__footer:
|
|
3779
|
-
}, qt = "modal-base",
|
|
3811
|
+
modal__footer: rn
|
|
3812
|
+
}, qt = "modal-base", _n = (d) => {
|
|
3780
3813
|
var i = d, {
|
|
3781
3814
|
children: t,
|
|
3782
3815
|
className: a = "",
|
|
@@ -3811,7 +3844,7 @@ const ii = (t) => {
|
|
|
3811
3844
|
o && m.target === m.currentTarget && r();
|
|
3812
3845
|
};
|
|
3813
3846
|
return /* @__PURE__ */ e.createElement(
|
|
3814
|
-
|
|
3847
|
+
oo,
|
|
3815
3848
|
{
|
|
3816
3849
|
"data-testid": "lc-modal-overlay",
|
|
3817
3850
|
onMouseDown: p,
|
|
@@ -3831,7 +3864,7 @@ const ii = (t) => {
|
|
|
3831
3864
|
t
|
|
3832
3865
|
)
|
|
3833
3866
|
);
|
|
3834
|
-
},
|
|
3867
|
+
}, jr = ({
|
|
3835
3868
|
labelType: t,
|
|
3836
3869
|
customColor: a,
|
|
3837
3870
|
onClick: r
|
|
@@ -3849,7 +3882,7 @@ const ii = (t) => {
|
|
|
3849
3882
|
onClick: r,
|
|
3850
3883
|
icon: /* @__PURE__ */ e.createElement(x, { source: Ie, size: "medium", customColor: a })
|
|
3851
3884
|
}
|
|
3852
|
-
), dt = "modal",
|
|
3885
|
+
), dt = "modal", Ei = (i) => {
|
|
3853
3886
|
var s = i, {
|
|
3854
3887
|
children: t,
|
|
3855
3888
|
className: a = "",
|
|
@@ -3873,7 +3906,7 @@ const ii = (t) => {
|
|
|
3873
3906
|
b.preventDefault(), b.stopPropagation(), n();
|
|
3874
3907
|
};
|
|
3875
3908
|
return /* @__PURE__ */ e.createElement(
|
|
3876
|
-
|
|
3909
|
+
_n,
|
|
3877
3910
|
k({
|
|
3878
3911
|
className: p,
|
|
3879
3912
|
fullSpaceContent: o,
|
|
@@ -3889,7 +3922,7 @@ const ii = (t) => {
|
|
|
3889
3922
|
},
|
|
3890
3923
|
_
|
|
3891
3924
|
), /* @__PURE__ */ e.createElement(
|
|
3892
|
-
|
|
3925
|
+
jr,
|
|
3893
3926
|
{
|
|
3894
3927
|
labelType: !!_,
|
|
3895
3928
|
customColor: "var(--color-white)",
|
|
@@ -3912,7 +3945,7 @@ const ii = (t) => {
|
|
|
3912
3945
|
},
|
|
3913
3946
|
r
|
|
3914
3947
|
),
|
|
3915
|
-
/* @__PURE__ */ e.createElement(
|
|
3948
|
+
/* @__PURE__ */ e.createElement(jr, { onClick: f })
|
|
3916
3949
|
),
|
|
3917
3950
|
/* @__PURE__ */ e.createElement(
|
|
3918
3951
|
"div",
|
|
@@ -3924,7 +3957,7 @@ const ii = (t) => {
|
|
|
3924
3957
|
),
|
|
3925
3958
|
l && /* @__PURE__ */ e.createElement("div", { className: se[`${dt}__footer`] }, l)
|
|
3926
3959
|
);
|
|
3927
|
-
},
|
|
3960
|
+
}, yi = ({
|
|
3928
3961
|
children: t,
|
|
3929
3962
|
className: a = "",
|
|
3930
3963
|
parentElementName: r = "body",
|
|
@@ -3937,13 +3970,13 @@ const ii = (t) => {
|
|
|
3937
3970
|
var n;
|
|
3938
3971
|
(n = document.querySelector(r)) == null || n.removeChild(o);
|
|
3939
3972
|
};
|
|
3940
|
-
}, [r]), /* @__PURE__ */ e.createElement(e.Fragment, null,
|
|
3973
|
+
}, [r]), /* @__PURE__ */ e.createElement(e.Fragment, null, i_.createPortal(t, o));
|
|
3941
3974
|
}, Zt = {
|
|
3942
3975
|
"modal-header": "lc-ModalHeader-module__modal-header___xk3bd",
|
|
3943
3976
|
"modal-header__heading-left-node": "lc-ModalHeader-module__modal-header__heading-left-node___1--G5",
|
|
3944
3977
|
"modal-header__heading-body": "lc-ModalHeader-module__modal-header__heading-body___HHEF-",
|
|
3945
3978
|
"modal-header__heading-description": "lc-ModalHeader-module__modal-header__heading-description___54Xvf"
|
|
3946
|
-
}, Xt = "modal-header",
|
|
3979
|
+
}, Xt = "modal-header", Ci = ({
|
|
3947
3980
|
title: t,
|
|
3948
3981
|
iconProps: a,
|
|
3949
3982
|
avatarProps: r,
|
|
@@ -3957,7 +3990,7 @@ const ii = (t) => {
|
|
|
3957
3990
|
className: Zt[`${Xt}__heading-left-node`]
|
|
3958
3991
|
}, a)
|
|
3959
3992
|
), r && /* @__PURE__ */ e.createElement(
|
|
3960
|
-
|
|
3993
|
+
ml,
|
|
3961
3994
|
k({
|
|
3962
3995
|
className: Zt[`${Xt}__heading-left-node`]
|
|
3963
3996
|
}, r)
|
|
@@ -3975,7 +4008,7 @@ const ii = (t) => {
|
|
|
3975
4008
|
"action-modal-content__heading": "lc-ActionModalContent-module__action-modal-content__heading___bwGBE",
|
|
3976
4009
|
"action-modal-content__content": "lc-ActionModalContent-module__action-modal-content__content___RpSuk",
|
|
3977
4010
|
"action-modal-content__actions": "lc-ActionModalContent-module__action-modal-content__actions___bJ6Rg"
|
|
3978
|
-
},
|
|
4011
|
+
}, Qt = "action-modal-content", wi = ({
|
|
3979
4012
|
children: t,
|
|
3980
4013
|
className: a,
|
|
3981
4014
|
icon: r,
|
|
@@ -3984,21 +4017,21 @@ const ii = (t) => {
|
|
|
3984
4017
|
headerClassName: l,
|
|
3985
4018
|
contentClassName: n
|
|
3986
4019
|
}) => {
|
|
3987
|
-
const c = u(Jt[
|
|
3988
|
-
return /* @__PURE__ */ e.createElement("div", { className: c }, r && /* @__PURE__ */ e.createElement("div", { className: Jt[`${
|
|
4020
|
+
const c = u(Jt[Qt], a);
|
|
4021
|
+
return /* @__PURE__ */ e.createElement("div", { className: c }, r && /* @__PURE__ */ e.createElement("div", { className: Jt[`${Qt}__icon`] }, r), _ && /* @__PURE__ */ e.createElement(
|
|
3989
4022
|
ne,
|
|
3990
4023
|
{
|
|
3991
|
-
className: u(Jt[`${
|
|
4024
|
+
className: u(Jt[`${Qt}__heading`], l)
|
|
3992
4025
|
},
|
|
3993
4026
|
_
|
|
3994
4027
|
), /* @__PURE__ */ e.createElement(
|
|
3995
4028
|
B,
|
|
3996
4029
|
{
|
|
3997
4030
|
as: "div",
|
|
3998
|
-
className: u(Jt[`${
|
|
4031
|
+
className: u(Jt[`${Qt}__content`], n)
|
|
3999
4032
|
},
|
|
4000
4033
|
t
|
|
4001
|
-
), o && /* @__PURE__ */ e.createElement("div", { className: Jt[`${
|
|
4034
|
+
), o && /* @__PURE__ */ e.createElement("div", { className: Jt[`${Qt}__actions`] }, o));
|
|
4002
4035
|
}, At = {
|
|
4003
4036
|
"numeric-input": "lc-NumericInput-module__numeric-input___j1esc",
|
|
4004
4037
|
"numeric-input__increment": "lc-NumericInput-module__numeric-input__increment___i3Tys",
|
|
@@ -4006,7 +4039,7 @@ const ii = (t) => {
|
|
|
4006
4039
|
"numeric-input--disabled": "lc-NumericInput-module__numeric-input--disabled___yaRvQ",
|
|
4007
4040
|
"numeric-input--no-controls": "lc-NumericInput-module__numeric-input--no-controls___D90rG",
|
|
4008
4041
|
"numeric-input--error": "lc-NumericInput-module__numeric-input--error___TMxRx"
|
|
4009
|
-
}, Pt = "numeric-input",
|
|
4042
|
+
}, Pt = "numeric-input", $i = (s) => {
|
|
4010
4043
|
var p = s, {
|
|
4011
4044
|
className: t,
|
|
4012
4045
|
error: a,
|
|
@@ -4051,10 +4084,10 @@ const ii = (t) => {
|
|
|
4051
4084
|
return b(N);
|
|
4052
4085
|
const S = parseInt(N, 10);
|
|
4053
4086
|
return b(v(S));
|
|
4054
|
-
},
|
|
4087
|
+
}, C = () => {
|
|
4055
4088
|
var g;
|
|
4056
4089
|
return (g = m.current) == null || g.focus(), h(1);
|
|
4057
|
-
},
|
|
4090
|
+
}, w = () => {
|
|
4058
4091
|
var g;
|
|
4059
4092
|
return (g = m.current) == null || g.focus(), h(-1);
|
|
4060
4093
|
};
|
|
@@ -4076,7 +4109,7 @@ const ii = (t) => {
|
|
|
4076
4109
|
{
|
|
4077
4110
|
tabIndex: -1,
|
|
4078
4111
|
disabled: l || E(r, _),
|
|
4079
|
-
onClick:
|
|
4112
|
+
onClick: C,
|
|
4080
4113
|
"aria-label": "Increment value",
|
|
4081
4114
|
className: At[`${Pt}__increment`],
|
|
4082
4115
|
type: "button"
|
|
@@ -4084,7 +4117,7 @@ const ii = (t) => {
|
|
|
4084
4117
|
/* @__PURE__ */ e.createElement(
|
|
4085
4118
|
x,
|
|
4086
4119
|
{
|
|
4087
|
-
source:
|
|
4120
|
+
source: Ua,
|
|
4088
4121
|
disabled: l || E(r, _),
|
|
4089
4122
|
kind: "primary"
|
|
4090
4123
|
}
|
|
@@ -4096,7 +4129,7 @@ const ii = (t) => {
|
|
|
4096
4129
|
disabled: l || E(r, o),
|
|
4097
4130
|
"aria-label": "Decrement value",
|
|
4098
4131
|
className: At[`${Pt}__decrement`],
|
|
4099
|
-
onClick:
|
|
4132
|
+
onClick: w,
|
|
4100
4133
|
type: "button"
|
|
4101
4134
|
},
|
|
4102
4135
|
/* @__PURE__ */ e.createElement(
|
|
@@ -4125,7 +4158,7 @@ const ii = (t) => {
|
|
|
4125
4158
|
"checklist-item__content__inner__description": "lc-CheckListItem-module__checklist-item__content__inner__description___FBp5h",
|
|
4126
4159
|
"checklist-item__content__inner__cta": "lc-CheckListItem-module__checklist-item__content__inner__cta___4s0rt",
|
|
4127
4160
|
"checklist-item__chevron": "lc-CheckListItem-module__checklist-item__chevron___1Fmqp"
|
|
4128
|
-
}, le = "checklist-item",
|
|
4161
|
+
}, le = "checklist-item", on = 3, ln = ({
|
|
4129
4162
|
id: t,
|
|
4130
4163
|
isActive: a,
|
|
4131
4164
|
isChecked: r,
|
|
@@ -4146,7 +4179,7 @@ const ii = (t) => {
|
|
|
4146
4179
|
const y = h[0];
|
|
4147
4180
|
if (!y)
|
|
4148
4181
|
return;
|
|
4149
|
-
const E = y.contentRect.height +
|
|
4182
|
+
const E = y.contentRect.height + on;
|
|
4150
4183
|
f.current !== E && (m(E), f.current = E);
|
|
4151
4184
|
});
|
|
4152
4185
|
return v.observe(s.current), () => v.disconnect();
|
|
@@ -4219,7 +4252,7 @@ const ii = (t) => {
|
|
|
4219
4252
|
n
|
|
4220
4253
|
), /* @__PURE__ */ e.createElement("div", { className: oe[`${le}__content__inner__cta`] }, d))
|
|
4221
4254
|
)),
|
|
4222
|
-
!a && /* @__PURE__ */ e.createElement("div", { className: oe[`${le}__chevron`] }, /* @__PURE__ */ e.createElement(x, { source:
|
|
4255
|
+
!a && /* @__PURE__ */ e.createElement("div", { className: oe[`${le}__chevron`] }, /* @__PURE__ */ e.createElement(x, { source: Ga }))
|
|
4223
4256
|
)
|
|
4224
4257
|
);
|
|
4225
4258
|
}, Z = {
|
|
@@ -4240,7 +4273,7 @@ const ii = (t) => {
|
|
|
4240
4273
|
"onboarding-checklist__button": "lc-OnboardingChecklist-module__onboarding-checklist__button___Gnl9l",
|
|
4241
4274
|
"onboarding-checklist__button__icon": "lc-OnboardingChecklist-module__onboarding-checklist__button__icon___oW59S",
|
|
4242
4275
|
"onboarding-checklist__button__icon--open": "lc-OnboardingChecklist-module__onboarding-checklist__button__icon--open___HrIjs"
|
|
4243
|
-
}, X = "onboarding-checklist",
|
|
4276
|
+
}, X = "onboarding-checklist", Ni = ({
|
|
4244
4277
|
activeItemId: t,
|
|
4245
4278
|
completedItemsIds: a,
|
|
4246
4279
|
title: r,
|
|
@@ -4254,16 +4287,16 @@ const ii = (t) => {
|
|
|
4254
4287
|
}) => {
|
|
4255
4288
|
var $;
|
|
4256
4289
|
const [s, p] = e.useState(c), [m, f] = e.useState(!c), [b, v] = e.useState(void 0), h = e.useRef(null), y = d.height || 96, E = () => {
|
|
4257
|
-
f((
|
|
4290
|
+
f((C) => !C);
|
|
4258
4291
|
};
|
|
4259
4292
|
return e.useEffect(() => {
|
|
4260
|
-
const
|
|
4261
|
-
if (c &&
|
|
4262
|
-
const g =
|
|
4293
|
+
const C = d.delay || 1500, w = h.current;
|
|
4294
|
+
if (c && w) {
|
|
4295
|
+
const g = w.offsetHeight;
|
|
4263
4296
|
v(g);
|
|
4264
4297
|
const N = setTimeout(() => {
|
|
4265
4298
|
p(!0), f(!1);
|
|
4266
|
-
},
|
|
4299
|
+
}, C);
|
|
4267
4300
|
return () => {
|
|
4268
4301
|
clearTimeout(N);
|
|
4269
4302
|
};
|
|
@@ -4297,19 +4330,19 @@ const ii = (t) => {
|
|
|
4297
4330
|
className: Z[`${X}__header__title`]
|
|
4298
4331
|
},
|
|
4299
4332
|
r
|
|
4300
|
-
)), /* @__PURE__ */ e.createElement("div", { className: Z[`${X}__checklist`] }, o.map((
|
|
4301
|
-
|
|
4333
|
+
)), /* @__PURE__ */ e.createElement("div", { className: Z[`${X}__checklist`] }, o.map((C, w) => /* @__PURE__ */ e.createElement(
|
|
4334
|
+
ln,
|
|
4302
4335
|
{
|
|
4303
|
-
key:
|
|
4304
|
-
id:
|
|
4305
|
-
description:
|
|
4306
|
-
title:
|
|
4307
|
-
titleHint:
|
|
4308
|
-
isActive:
|
|
4309
|
-
isChecked: a.includes(
|
|
4310
|
-
isLastElement:
|
|
4336
|
+
key: w,
|
|
4337
|
+
id: C.id,
|
|
4338
|
+
description: C.description,
|
|
4339
|
+
title: C.title,
|
|
4340
|
+
titleHint: C.titleHint,
|
|
4341
|
+
isActive: C.id === t,
|
|
4342
|
+
isChecked: a.includes(C.id),
|
|
4343
|
+
isLastElement: w === o.length - 1,
|
|
4311
4344
|
onClick: l,
|
|
4312
|
-
cta:
|
|
4345
|
+
cta: C.cta
|
|
4313
4346
|
}
|
|
4314
4347
|
)))), /* @__PURE__ */ e.createElement(
|
|
4315
4348
|
"div",
|
|
@@ -4323,7 +4356,7 @@ const ii = (t) => {
|
|
|
4323
4356
|
n
|
|
4324
4357
|
)
|
|
4325
4358
|
},
|
|
4326
|
-
!c && /* @__PURE__ */ e.createElement("div", { className: Z[`${X}__placeholder`] }, ($ = o.find((
|
|
4359
|
+
!c && /* @__PURE__ */ e.createElement("div", { className: Z[`${X}__placeholder`] }, ($ = o.find((C) => C.id === t)) == null ? void 0 : $.placeholder),
|
|
4327
4360
|
c && /* @__PURE__ */ e.createElement("div", { className: Z[`${X}__placeholder`] }, d.placeholder)
|
|
4328
4361
|
)),
|
|
4329
4362
|
!m && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: Z[`${X}__complete`] }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
|
|
@@ -4331,7 +4364,7 @@ const ii = (t) => {
|
|
|
4331
4364
|
{
|
|
4332
4365
|
size: "large",
|
|
4333
4366
|
className: Z[`${X}__complete__icon`],
|
|
4334
|
-
source:
|
|
4367
|
+
source: Er
|
|
4335
4368
|
}
|
|
4336
4369
|
)), /* @__PURE__ */ e.createElement("div", null, (d == null ? void 0 : d.greetingText) && /* @__PURE__ */ e.createElement(
|
|
4337
4370
|
B,
|
|
@@ -4368,7 +4401,7 @@ const ii = (t) => {
|
|
|
4368
4401
|
}
|
|
4369
4402
|
)
|
|
4370
4403
|
);
|
|
4371
|
-
},
|
|
4404
|
+
}, nn = 2, cn = 200, sn = 400;
|
|
4372
4405
|
[
|
|
4373
4406
|
...[...Array(100)].map((t, a) => ({
|
|
4374
4407
|
key: `option${a + 8}`,
|
|
@@ -4376,14 +4409,14 @@ const ii = (t) => {
|
|
|
4376
4409
|
disabled: a % 4 === 0
|
|
4377
4410
|
}))
|
|
4378
4411
|
];
|
|
4379
|
-
const Mt = "select-all",
|
|
4412
|
+
const Mt = "select-all", dn = (t, a) => {
|
|
4380
4413
|
const r = [];
|
|
4381
4414
|
return t.forEach((_, o) => {
|
|
4382
4415
|
a(_) && r.push(o);
|
|
4383
4416
|
}), r;
|
|
4384
|
-
},
|
|
4417
|
+
}, vr = (t) => t.filter(
|
|
4385
4418
|
({ key: a, disabled: r, groupHeader: _ }) => !(a === Mt || r || _)
|
|
4386
|
-
),
|
|
4419
|
+
), cr = ({ key: t }) => t, e_ = (t, a) => t.includes(a) ? t.filter((r) => r !== a) : [...t, a], fe = {
|
|
4387
4420
|
"item-wrapper": "lc-PickerListItem-module__item-wrapper___ETYMU",
|
|
4388
4421
|
"item-wrapper__first": "lc-PickerListItem-module__item-wrapper__first___uit1z",
|
|
4389
4422
|
"item-wrapper__last": "lc-PickerListItem-module__item-wrapper__last___cWmGF",
|
|
@@ -4398,7 +4431,7 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4398
4431
|
"picker-list__item__label": "lc-PickerListItem-module__picker-list__item__label___e0uwB",
|
|
4399
4432
|
"picker-list__item__main-label": "lc-PickerListItem-module__picker-list__item__main-label___YfUhr",
|
|
4400
4433
|
"picker-list__item__secondary-label": "lc-PickerListItem-module__picker-list__item__secondary-label___6xcMD"
|
|
4401
|
-
}, Ae = "picker-list__item",
|
|
4434
|
+
}, Ae = "picker-list__item", un = ({
|
|
4402
4435
|
index: t,
|
|
4403
4436
|
isActive: a,
|
|
4404
4437
|
isSelected: r,
|
|
@@ -4409,7 +4442,7 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4409
4442
|
numberOfItems: c
|
|
4410
4443
|
}) => {
|
|
4411
4444
|
const d = (s) => s != null && s.customElement ? /* @__PURE__ */ e.createElement("div", { className: fe[`${Ae}__custom`] }, s.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, s.showCheckbox && /* @__PURE__ */ e.createElement(
|
|
4412
|
-
|
|
4445
|
+
Rl,
|
|
4413
4446
|
{
|
|
4414
4447
|
className: fe[`${Ae}__checkbox`],
|
|
4415
4448
|
checked: r
|
|
@@ -4494,12 +4527,12 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4494
4527
|
)
|
|
4495
4528
|
)
|
|
4496
4529
|
);
|
|
4497
|
-
},
|
|
4498
|
-
listbox:
|
|
4530
|
+
}, mn = "lc-PickerList-module__listbox___-LqE-", jt = {
|
|
4531
|
+
listbox: mn,
|
|
4499
4532
|
"no-results": "lc-PickerList-module__no-results___QRce-",
|
|
4500
4533
|
"listbox-wrapper": "lc-PickerList-module__listbox-wrapper___FbDrf",
|
|
4501
4534
|
"no-results-text": "lc-PickerList-module__no-results-text___Bp1yO"
|
|
4502
|
-
},
|
|
4535
|
+
}, pn = ({
|
|
4503
4536
|
context: t,
|
|
4504
4537
|
setFloating: a,
|
|
4505
4538
|
floatingStyles: r,
|
|
@@ -4518,32 +4551,32 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4518
4551
|
virtuosoProps: v
|
|
4519
4552
|
}) => {
|
|
4520
4553
|
const [h, y] = e.useState(0), E = o.length, $ = e.useCallback(
|
|
4521
|
-
(
|
|
4522
|
-
|
|
4554
|
+
(w) => {
|
|
4555
|
+
w !== h && (w < _ ? y(w + (E - 1) * nn) : y(_));
|
|
4523
4556
|
},
|
|
4524
4557
|
[E]
|
|
4525
4558
|
);
|
|
4526
4559
|
if (Ft(() => {
|
|
4527
4560
|
c.current = new Array(o.length);
|
|
4528
4561
|
}, [o.length]), o.length === 0)
|
|
4529
|
-
return /* @__PURE__ */ e.createElement(
|
|
4562
|
+
return /* @__PURE__ */ e.createElement(gr, { context: t, modal: !1, initialFocus: -1 }, /* @__PURE__ */ e.createElement(
|
|
4530
4563
|
"div",
|
|
4531
4564
|
{
|
|
4532
|
-
className: u(
|
|
4565
|
+
className: u(jt.listbox, jt["no-results"]),
|
|
4533
4566
|
ref: a,
|
|
4534
4567
|
tabIndex: -1,
|
|
4535
4568
|
style: r
|
|
4536
4569
|
},
|
|
4537
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
4570
|
+
/* @__PURE__ */ e.createElement("div", { className: jt["no-results-text"] }, m)
|
|
4538
4571
|
));
|
|
4539
|
-
const
|
|
4540
|
-
return /* @__PURE__ */ e.createElement(
|
|
4572
|
+
const C = (w) => n.includes(w) || w === Mt && n.length === vr(o).length;
|
|
4573
|
+
return /* @__PURE__ */ e.createElement(gr, { context: t, modal: !1, initialFocus: -1 }, /* @__PURE__ */ e.createElement(
|
|
4541
4574
|
"div",
|
|
4542
4575
|
{
|
|
4543
4576
|
"data-testid": "picker-list",
|
|
4544
4577
|
ref: a,
|
|
4545
4578
|
tabIndex: -1,
|
|
4546
|
-
className: u(
|
|
4579
|
+
className: u(jt.listbox, b),
|
|
4547
4580
|
style: T(k({}, r), {
|
|
4548
4581
|
maxHeight: _
|
|
4549
4582
|
})
|
|
@@ -4553,20 +4586,20 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4553
4586
|
k({
|
|
4554
4587
|
tabIndex: 0,
|
|
4555
4588
|
"aria-multiselectable": f === "multi",
|
|
4556
|
-
className:
|
|
4589
|
+
className: jt["listbox-wrapper"]
|
|
4557
4590
|
}, s({
|
|
4558
|
-
onKeyDown(
|
|
4559
|
-
d(!1),
|
|
4591
|
+
onKeyDown(w) {
|
|
4592
|
+
d(!1), w.key === "Enter" && l !== null && i(o[l].key), w.key === " " && w.preventDefault();
|
|
4560
4593
|
},
|
|
4561
|
-
onKeyUp(
|
|
4562
|
-
|
|
4594
|
+
onKeyUp(w) {
|
|
4595
|
+
w.key === " " && l !== null && i(o[l].key);
|
|
4563
4596
|
},
|
|
4564
4597
|
onPointerMove() {
|
|
4565
4598
|
d(!0);
|
|
4566
4599
|
}
|
|
4567
4600
|
})),
|
|
4568
4601
|
/* @__PURE__ */ e.createElement(
|
|
4569
|
-
|
|
4602
|
+
so,
|
|
4570
4603
|
T(k({
|
|
4571
4604
|
totalListHeightChanged: $,
|
|
4572
4605
|
style: { height: `${h}px`, maxHeight: _ },
|
|
@@ -4574,14 +4607,14 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4574
4607
|
data: o,
|
|
4575
4608
|
increaseViewportBy: 200
|
|
4576
4609
|
}, v), {
|
|
4577
|
-
itemContent: (
|
|
4578
|
-
|
|
4610
|
+
itemContent: (w, g) => /* @__PURE__ */ e.createElement(
|
|
4611
|
+
un,
|
|
4579
4612
|
{
|
|
4580
|
-
index:
|
|
4613
|
+
index: w,
|
|
4581
4614
|
getItemProps: p,
|
|
4582
4615
|
listElementsRef: c,
|
|
4583
|
-
isActive: l ===
|
|
4584
|
-
isSelected:
|
|
4616
|
+
isActive: l === w,
|
|
4617
|
+
isSelected: C(g.key),
|
|
4585
4618
|
onSelect: i,
|
|
4586
4619
|
item: g,
|
|
4587
4620
|
numberOfItems: E
|
|
@@ -4609,7 +4642,7 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4609
4642
|
"picker-trigger--disabled": "lc-PickerTrigger-module__picker-trigger--disabled___4MGb4",
|
|
4610
4643
|
"picker-trigger--focused": "lc-PickerTrigger-module__picker-trigger--focused___vBA4d",
|
|
4611
4644
|
"picker-trigger--error": "lc-PickerTrigger-module__picker-trigger--error___yu6Dt"
|
|
4612
|
-
}, ie = "picker-trigger",
|
|
4645
|
+
}, ie = "picker-trigger", gn = ({
|
|
4613
4646
|
setReference: t,
|
|
4614
4647
|
getReferenceProps: a,
|
|
4615
4648
|
testId: r,
|
|
@@ -4685,18 +4718,18 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4685
4718
|
x,
|
|
4686
4719
|
{
|
|
4687
4720
|
className: be[`${ie}__chevron-icon`],
|
|
4688
|
-
source: i ?
|
|
4721
|
+
source: i ? Ua : Ot,
|
|
4689
4722
|
size: "medium",
|
|
4690
4723
|
disabled: c
|
|
4691
4724
|
}
|
|
4692
4725
|
)
|
|
4693
4726
|
)
|
|
4694
4727
|
);
|
|
4695
|
-
},
|
|
4696
|
-
tag:
|
|
4728
|
+
}, fn = "lc-Tag-module__tag___1QRVY", bn = "lc-Tag-module__tag__remove___UmtrW", hn = "lc-Tag-module__tag__node___rZTzB", vn = "lc-Tag-module__tag__content___q6vKK", Ce = {
|
|
4729
|
+
tag: fn,
|
|
4697
4730
|
"tag__content-wrapper": "lc-Tag-module__tag__content-wrapper___oyXA4",
|
|
4698
4731
|
"tag--success": "lc-Tag-module__tag--success___P2hXQ",
|
|
4699
|
-
tag__remove:
|
|
4732
|
+
tag__remove: bn,
|
|
4700
4733
|
"tag--error": "lc-Tag-module__tag--error___1cjsm",
|
|
4701
4734
|
"tag--warning": "lc-Tag-module__tag--warning___PstMG",
|
|
4702
4735
|
"tag--info": "lc-Tag-module__tag--info___RTH0C",
|
|
@@ -4724,9 +4757,9 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4724
4757
|
"tag--text-black": "lc-Tag-module__tag--text-black___dUvmD",
|
|
4725
4758
|
"tag--dismissible-on-hover": "lc-Tag-module__tag--dismissible-on-hover___t68Az",
|
|
4726
4759
|
"tag__remove--hover": "lc-Tag-module__tag__remove--hover___2ROEU",
|
|
4727
|
-
tag__node:
|
|
4728
|
-
tag__content:
|
|
4729
|
-
},
|
|
4760
|
+
tag__node: hn,
|
|
4761
|
+
tag__content: vn
|
|
4762
|
+
}, we = "tag", kn = (t) => t ? wr(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", y_ = (v) => {
|
|
4730
4763
|
var h = v, {
|
|
4731
4764
|
className: t = "",
|
|
4732
4765
|
children: a,
|
|
@@ -4759,17 +4792,17 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4759
4792
|
"value"
|
|
4760
4793
|
]);
|
|
4761
4794
|
const y = _ || c && m, E = u(
|
|
4762
|
-
we
|
|
4795
|
+
Ce[we],
|
|
4763
4796
|
t,
|
|
4764
|
-
|
|
4765
|
-
|
|
4797
|
+
Ce[`${we}--${l}`],
|
|
4798
|
+
Ce[`${we}--${n}`],
|
|
4766
4799
|
{
|
|
4767
|
-
[
|
|
4768
|
-
[
|
|
4769
|
-
[
|
|
4770
|
-
[
|
|
4800
|
+
[Ce[`${we}--outline`]]: d,
|
|
4801
|
+
[Ce[`${we}--${kn(p)}`]]: !!p,
|
|
4802
|
+
[Ce[`${we}--icon-only`]]: m,
|
|
4803
|
+
[Ce[`${we}--dismissible-on-hover`]]: y
|
|
4771
4804
|
}
|
|
4772
|
-
), $ = l === "small" ? "small" : "medium",
|
|
4805
|
+
), $ = l === "small" ? "small" : "medium", C = l === "small" ? "sm" : "md", w = () => p ? d ? {
|
|
4773
4806
|
style: {
|
|
4774
4807
|
backgroundColor: "transparent",
|
|
4775
4808
|
color: p,
|
|
@@ -4777,29 +4810,29 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4777
4810
|
}
|
|
4778
4811
|
} : { style: { backgroundColor: p } } : {}, g = () => {
|
|
4779
4812
|
if (p)
|
|
4780
|
-
return d ? p :
|
|
4813
|
+
return d ? p : wr(p, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
|
|
4781
4814
|
};
|
|
4782
4815
|
return /* @__PURE__ */ e.createElement(
|
|
4783
4816
|
B,
|
|
4784
4817
|
T(k(k({
|
|
4785
4818
|
className: E
|
|
4786
|
-
}, b),
|
|
4819
|
+
}, b), w()), {
|
|
4787
4820
|
as: "div",
|
|
4788
|
-
size:
|
|
4821
|
+
size: C
|
|
4789
4822
|
}),
|
|
4790
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
4823
|
+
/* @__PURE__ */ e.createElement("div", { className: Ce[`${we}__content-wrapper`] }, i && !m && /* @__PURE__ */ e.createElement(
|
|
4791
4824
|
"div",
|
|
4792
4825
|
{
|
|
4793
4826
|
"data-testid": "lc-tag-left-node",
|
|
4794
|
-
className:
|
|
4827
|
+
className: Ce[`${we}__node`],
|
|
4795
4828
|
style: { color: g() }
|
|
4796
4829
|
},
|
|
4797
4830
|
i
|
|
4798
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
4831
|
+
), /* @__PURE__ */ e.createElement("div", { className: Ce[`${we}__content`] }, f || a), s && !m && /* @__PURE__ */ e.createElement(
|
|
4799
4832
|
"div",
|
|
4800
4833
|
{
|
|
4801
4834
|
"data-testid": "lc-tag-right-node",
|
|
4802
|
-
className:
|
|
4835
|
+
className: Ce[`${we}__node`],
|
|
4803
4836
|
style: { color: g() }
|
|
4804
4837
|
},
|
|
4805
4838
|
s
|
|
@@ -4812,8 +4845,8 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4812
4845
|
onClick: c,
|
|
4813
4846
|
role: "button",
|
|
4814
4847
|
"aria-label": "Remove tag",
|
|
4815
|
-
className: u(
|
|
4816
|
-
[
|
|
4848
|
+
className: u(Ce[`${we}__remove`], {
|
|
4849
|
+
[Ce[`${we}__remove--hover`]]: y
|
|
4817
4850
|
})
|
|
4818
4851
|
},
|
|
4819
4852
|
/* @__PURE__ */ e.createElement(
|
|
@@ -4845,7 +4878,7 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4845
4878
|
"picker-trigger-body__tag--compact": "lc-PickerTriggerBody-module__picker-trigger-body__tag--compact___vajtL",
|
|
4846
4879
|
"picker-trigger-body__tag--medium": "lc-PickerTriggerBody-module__picker-trigger-body__tag--medium___yhMyC",
|
|
4847
4880
|
"picker-trigger-body__tag--large": "lc-PickerTriggerBody-module__picker-trigger-body__tag--large___FbETT"
|
|
4848
|
-
}, ve = "picker-trigger-body",
|
|
4881
|
+
}, ve = "picker-trigger-body", En = ({
|
|
4849
4882
|
isOpen: t,
|
|
4850
4883
|
isSearchDisabled: a,
|
|
4851
4884
|
isDisabled: r,
|
|
@@ -4884,10 +4917,10 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4884
4917
|
alt: "",
|
|
4885
4918
|
className: he[`${ve}__item__avatar`]
|
|
4886
4919
|
}
|
|
4887
|
-
), /* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item__content`] }, g.name)), $ = (g) => s(g.target.value),
|
|
4920
|
+
), /* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item__content`] }, g.name)), $ = (g) => s(g.target.value), C = (g) => {
|
|
4888
4921
|
var N, S;
|
|
4889
4922
|
(N = f.current) != null && N.id && g.key === "Enter" && i((S = f.current) == null ? void 0 : S.id), l === "multi" && (g.key === "Backspace" || g.key === "Delete") && !m && o && (o == null ? void 0 : o.length) > 0 && d(o[o.length - 1].key);
|
|
4890
|
-
},
|
|
4923
|
+
}, w = () => /* @__PURE__ */ e.createElement(
|
|
4891
4924
|
"input",
|
|
4892
4925
|
{
|
|
4893
4926
|
ref: v,
|
|
@@ -4897,12 +4930,12 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4897
4930
|
),
|
|
4898
4931
|
placeholder: _,
|
|
4899
4932
|
onChange: $,
|
|
4900
|
-
onKeyDown:
|
|
4933
|
+
onKeyDown: C,
|
|
4901
4934
|
autoFocus: !0,
|
|
4902
4935
|
value: m
|
|
4903
4936
|
}
|
|
4904
4937
|
);
|
|
4905
|
-
return !o || o.length === 0 ? h ?
|
|
4938
|
+
return !o || o.length === 0 ? h ? w() : /* @__PURE__ */ e.createElement(
|
|
4906
4939
|
"div",
|
|
4907
4940
|
{
|
|
4908
4941
|
className: u({
|
|
@@ -4919,7 +4952,7 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4919
4952
|
})
|
|
4920
4953
|
},
|
|
4921
4954
|
/* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item-container`] }, l === "single" ? E(o[0]) : o.map((g) => /* @__PURE__ */ e.createElement(
|
|
4922
|
-
|
|
4955
|
+
y_,
|
|
4923
4956
|
{
|
|
4924
4957
|
key: g.key,
|
|
4925
4958
|
className: u(
|
|
@@ -4933,9 +4966,9 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4933
4966
|
},
|
|
4934
4967
|
E(g)
|
|
4935
4968
|
))),
|
|
4936
|
-
h &&
|
|
4969
|
+
h && w()
|
|
4937
4970
|
);
|
|
4938
|
-
},
|
|
4971
|
+
}, yn = 10, Cn = ({
|
|
4939
4972
|
disabled: t,
|
|
4940
4973
|
items: a,
|
|
4941
4974
|
placement: r,
|
|
@@ -4952,7 +4985,7 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4952
4985
|
e.useEffect(() => {
|
|
4953
4986
|
$.current = null, v(null);
|
|
4954
4987
|
}, [s]);
|
|
4955
|
-
const { refs:
|
|
4988
|
+
const { refs: C, floatingStyles: w, context: g, isPositioned: N } = da({
|
|
4956
4989
|
nodeId: p,
|
|
4957
4990
|
open: d,
|
|
4958
4991
|
strategy: l,
|
|
@@ -4961,11 +4994,11 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4961
4994
|
placement: r,
|
|
4962
4995
|
middleware: [
|
|
4963
4996
|
ua(4),
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4997
|
+
za({ padding: 10 }),
|
|
4998
|
+
Cr(),
|
|
4999
|
+
n_({
|
|
4967
5000
|
apply({ availableHeight: L, rects: U, elements: $e }) {
|
|
4968
|
-
|
|
5001
|
+
i_.flushSync(() => {
|
|
4969
5002
|
y(
|
|
4970
5003
|
Math.max(
|
|
4971
5004
|
Math.min(o, L),
|
|
@@ -4976,37 +5009,37 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
4976
5009
|
width: `${U.reference.width}px`
|
|
4977
5010
|
});
|
|
4978
5011
|
},
|
|
4979
|
-
padding:
|
|
5012
|
+
padding: yn
|
|
4980
5013
|
})
|
|
4981
5014
|
]
|
|
4982
5015
|
}), S = pa(g, k({
|
|
4983
5016
|
enabled: !t,
|
|
4984
5017
|
keyboardHandlers: !1,
|
|
4985
5018
|
toggle: !1
|
|
4986
|
-
}, c)), M = fa(g, { role: "listbox" }), G = ga(g, n), I =
|
|
5019
|
+
}, c)), M = fa(g, { role: "listbox" }), G = ga(g, n), I = lo(g, {
|
|
4987
5020
|
enabled: a.length > 0 && !t,
|
|
4988
5021
|
listRef: E,
|
|
4989
5022
|
activeIndex: b,
|
|
4990
5023
|
onNavigate: v,
|
|
4991
5024
|
virtual: !0,
|
|
4992
5025
|
virtualItemRef: $,
|
|
4993
|
-
disabledIndices:
|
|
5026
|
+
disabledIndices: dn(
|
|
4994
5027
|
a,
|
|
4995
5028
|
(L) => !!L.disabled || !!L.groupHeader
|
|
4996
5029
|
)
|
|
4997
|
-
}), { getReferenceProps: O, getFloatingProps: Y, getItemProps:
|
|
5030
|
+
}), { getReferenceProps: O, getFloatingProps: Y, getItemProps: Q } = ba(
|
|
4998
5031
|
[S, G, M, I]
|
|
4999
5032
|
);
|
|
5000
5033
|
return !d && m && f(!1), {
|
|
5001
5034
|
getReferenceProps: O,
|
|
5002
5035
|
getFloatingProps: Y,
|
|
5003
|
-
getItemProps:
|
|
5004
|
-
setReference:
|
|
5005
|
-
floatingStyles:
|
|
5036
|
+
getItemProps: Q,
|
|
5037
|
+
setReference: C.setReference,
|
|
5038
|
+
floatingStyles: w,
|
|
5006
5039
|
isPositioned: N,
|
|
5007
5040
|
context: g,
|
|
5008
5041
|
nodeId: p,
|
|
5009
|
-
setFloating:
|
|
5042
|
+
setFloating: C.setFloating,
|
|
5010
5043
|
activeIndex: b,
|
|
5011
5044
|
listElementsRef: E,
|
|
5012
5045
|
virtualItemRef: $,
|
|
@@ -5014,7 +5047,7 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
5014
5047
|
pointer: m,
|
|
5015
5048
|
setPointer: f
|
|
5016
5049
|
};
|
|
5017
|
-
},
|
|
5050
|
+
}, wn = ({
|
|
5018
5051
|
selected: t,
|
|
5019
5052
|
options: a,
|
|
5020
5053
|
type: r,
|
|
@@ -5025,44 +5058,44 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
5025
5058
|
inputRef: c
|
|
5026
5059
|
}) => {
|
|
5027
5060
|
const [d, i] = e.useState(
|
|
5028
|
-
() => (t == null ? void 0 : t.map(
|
|
5029
|
-
), s = t !== void 0, p = s ? (t == null ? void 0 : t.map(
|
|
5061
|
+
() => (t == null ? void 0 : t.map(cr)) || []
|
|
5062
|
+
), s = t !== void 0, p = s ? (t == null ? void 0 : t.map(cr)) || [] : d, [m, f] = e.useState(""), b = (C) => f(C), v = (C) => $(C), h = () => {
|
|
5030
5063
|
!s && i([]), o(null), f(""), l(!1);
|
|
5031
5064
|
}, y = () => {
|
|
5032
5065
|
b(""), c.current && (c.current.value = "");
|
|
5033
5066
|
}, E = e.useMemo(() => {
|
|
5034
|
-
const
|
|
5035
|
-
let
|
|
5036
|
-
return m && (
|
|
5067
|
+
const C = r === "multi" && _;
|
|
5068
|
+
let w = a;
|
|
5069
|
+
return m && (w = w.filter((g) => {
|
|
5037
5070
|
var G;
|
|
5038
5071
|
if (g.groupHeader)
|
|
5039
5072
|
return !1;
|
|
5040
5073
|
const N = m.toLowerCase(), S = g.name.toLowerCase(), M = (G = g.secondaryText) == null ? void 0 : G.toLowerCase();
|
|
5041
5074
|
return S.includes(N) || (M == null ? void 0 : M.includes(N));
|
|
5042
|
-
})),
|
|
5075
|
+
})), C && w.length > 1 && (w = [
|
|
5043
5076
|
{
|
|
5044
5077
|
key: Mt,
|
|
5045
5078
|
name: _
|
|
5046
5079
|
},
|
|
5047
|
-
...
|
|
5048
|
-
]),
|
|
5049
|
-
}, [m, a, r, _]), $ = (
|
|
5050
|
-
const
|
|
5051
|
-
if (!((!
|
|
5080
|
+
...w
|
|
5081
|
+
]), w;
|
|
5082
|
+
}, [m, a, r, _]), $ = (C) => {
|
|
5083
|
+
const w = a.find((g) => g.key === C);
|
|
5084
|
+
if (!((!w || w.disabled) && C !== Mt))
|
|
5052
5085
|
if (r === "single")
|
|
5053
|
-
i(() => (
|
|
5054
|
-
else if (
|
|
5055
|
-
p.length ===
|
|
5056
|
-
const g =
|
|
5086
|
+
i(() => (w && o([w]), [C])), l(!1);
|
|
5087
|
+
else if (C === Mt)
|
|
5088
|
+
p.length === vr(a).length ? i(() => (o(null), [])) : i(() => {
|
|
5089
|
+
const g = vr(a);
|
|
5057
5090
|
return o(g), g.map(({ key: N }) => N);
|
|
5058
5091
|
});
|
|
5059
5092
|
else {
|
|
5060
5093
|
if (s) {
|
|
5061
|
-
const g = (t == null ? void 0 : t.map(
|
|
5094
|
+
const g = (t == null ? void 0 : t.map(cr)) || [], N = e_(g, C);
|
|
5062
5095
|
o(a.filter(({ key: S }) => N.includes(S)));
|
|
5063
5096
|
} else
|
|
5064
5097
|
i((g) => {
|
|
5065
|
-
const N =
|
|
5098
|
+
const N = e_(g, C);
|
|
5066
5099
|
return o(a.filter(({ key: S }) => N.includes(S))), N;
|
|
5067
5100
|
});
|
|
5068
5101
|
n && y();
|
|
@@ -5077,15 +5110,15 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
5077
5110
|
handleItemRemove: v,
|
|
5078
5111
|
handleClear: h
|
|
5079
5112
|
};
|
|
5080
|
-
},
|
|
5113
|
+
}, $n = {
|
|
5081
5114
|
"picker-wrapper": "lc-Picker-module__picker-wrapper___2EDne"
|
|
5082
|
-
},
|
|
5083
|
-
var
|
|
5115
|
+
}, Si = (Y) => {
|
|
5116
|
+
var Q = Y, {
|
|
5084
5117
|
id: t,
|
|
5085
5118
|
className: a,
|
|
5086
5119
|
listClassName: r,
|
|
5087
|
-
minListHeight: _ =
|
|
5088
|
-
maxListHeight: o =
|
|
5120
|
+
minListHeight: _ = cn,
|
|
5121
|
+
maxListHeight: o = sn,
|
|
5089
5122
|
disabled: l,
|
|
5090
5123
|
error: n,
|
|
5091
5124
|
options: c,
|
|
@@ -5101,15 +5134,15 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
5101
5134
|
isVisible: y,
|
|
5102
5135
|
onOpen: E,
|
|
5103
5136
|
onClose: $,
|
|
5104
|
-
openedOnInit:
|
|
5105
|
-
clearSearchAfterSelection:
|
|
5137
|
+
openedOnInit: C = !1,
|
|
5138
|
+
clearSearchAfterSelection: w = !0,
|
|
5106
5139
|
onSelect: g,
|
|
5107
5140
|
placement: N,
|
|
5108
5141
|
floatingStrategy: S,
|
|
5109
5142
|
useDismissHookProps: M,
|
|
5110
5143
|
useClickHookProps: G,
|
|
5111
5144
|
virtuosoProps: I
|
|
5112
|
-
} =
|
|
5145
|
+
} = Q, O = D(Q, [
|
|
5113
5146
|
"id",
|
|
5114
5147
|
"className",
|
|
5115
5148
|
"listClassName",
|
|
@@ -5139,7 +5172,7 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
5139
5172
|
"useClickHookProps",
|
|
5140
5173
|
"virtuosoProps"
|
|
5141
5174
|
]);
|
|
5142
|
-
const [L, U] = e.useState(
|
|
5175
|
+
const [L, U] = e.useState(C), [$e, Ke] = e.useState(!1), Ue = y !== void 0, Ne = Ue ? y : L, $t = e.useRef(null), ft = (Gt, me) => {
|
|
5143
5176
|
Gt ? !Ne && (E == null || E(me)) : Ne && ($ == null || $(me)), !Ue && U(Gt);
|
|
5144
5177
|
}, {
|
|
5145
5178
|
selectedKeys: Nt,
|
|
@@ -5149,31 +5182,31 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
5149
5182
|
handleOnFilter: St,
|
|
5150
5183
|
handleItemRemove: xt,
|
|
5151
5184
|
handleClear: A
|
|
5152
|
-
} =
|
|
5185
|
+
} = wn({
|
|
5153
5186
|
selected: d,
|
|
5154
5187
|
options: c,
|
|
5155
5188
|
type: b,
|
|
5156
5189
|
selectAllOptionText: f,
|
|
5157
5190
|
onSelect: g,
|
|
5158
5191
|
setOpen: ft,
|
|
5159
|
-
clearSearchAfterSelection:
|
|
5192
|
+
clearSearchAfterSelection: w,
|
|
5160
5193
|
inputRef: $t
|
|
5161
5194
|
}), {
|
|
5162
5195
|
context: V,
|
|
5163
5196
|
nodeId: ue,
|
|
5164
5197
|
getReferenceProps: Ye,
|
|
5165
5198
|
setReference: qe,
|
|
5166
|
-
getFloatingProps:
|
|
5167
|
-
getItemProps:
|
|
5168
|
-
setFloating:
|
|
5169
|
-
floatingStyles:
|
|
5170
|
-
listElementsRef:
|
|
5171
|
-
virtualItemRef:
|
|
5172
|
-
activeIndex:
|
|
5173
|
-
maxHeight:
|
|
5174
|
-
setPointer:
|
|
5175
|
-
} =
|
|
5176
|
-
openedOnInit:
|
|
5199
|
+
getFloatingProps: Ka,
|
|
5200
|
+
getItemProps: Ya,
|
|
5201
|
+
setFloating: qa,
|
|
5202
|
+
floatingStyles: Za,
|
|
5203
|
+
listElementsRef: Xa,
|
|
5204
|
+
virtualItemRef: Ja,
|
|
5205
|
+
activeIndex: Qa,
|
|
5206
|
+
maxHeight: ja,
|
|
5207
|
+
setPointer: er
|
|
5208
|
+
} = Cn({
|
|
5209
|
+
openedOnInit: C,
|
|
5177
5210
|
disabled: l,
|
|
5178
5211
|
items: bt,
|
|
5179
5212
|
placement: N,
|
|
@@ -5186,8 +5219,8 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
5186
5219
|
onVisibilityChange: ft,
|
|
5187
5220
|
searchPhrase: lt
|
|
5188
5221
|
});
|
|
5189
|
-
return /* @__PURE__ */ e.createElement("div", { id: t, className: u(
|
|
5190
|
-
|
|
5222
|
+
return /* @__PURE__ */ e.createElement("div", { id: t, className: u($n["picker-wrapper"], a) }, /* @__PURE__ */ e.createElement(
|
|
5223
|
+
gn,
|
|
5191
5224
|
{
|
|
5192
5225
|
getReferenceProps: Ye,
|
|
5193
5226
|
setReference: qe,
|
|
@@ -5204,7 +5237,7 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
5204
5237
|
setTriggerFocus: Ke
|
|
5205
5238
|
},
|
|
5206
5239
|
/* @__PURE__ */ e.createElement(
|
|
5207
|
-
|
|
5240
|
+
En,
|
|
5208
5241
|
{
|
|
5209
5242
|
isOpen: Ne,
|
|
5210
5243
|
isSearchDisabled: v,
|
|
@@ -5213,41 +5246,41 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
5213
5246
|
selectedItems: d,
|
|
5214
5247
|
type: b,
|
|
5215
5248
|
size: i,
|
|
5216
|
-
clearSearchAfterSelection:
|
|
5249
|
+
clearSearchAfterSelection: w,
|
|
5217
5250
|
inputRef: $t,
|
|
5218
5251
|
onItemRemove: xt,
|
|
5219
5252
|
onSelect: ht,
|
|
5220
5253
|
onFilter: St,
|
|
5221
5254
|
onClear: A,
|
|
5222
5255
|
searchPhrase: lt,
|
|
5223
|
-
virtualItemRef:
|
|
5256
|
+
virtualItemRef: Ja,
|
|
5224
5257
|
isTriggerFocused: $e
|
|
5225
5258
|
}
|
|
5226
5259
|
)
|
|
5227
|
-
), /* @__PURE__ */ e.createElement(ha, { id: ue }, Ne && /* @__PURE__ */ e.createElement(
|
|
5228
|
-
|
|
5260
|
+
), /* @__PURE__ */ e.createElement(ha, { id: ue }, Ne && /* @__PURE__ */ e.createElement(c_, null, /* @__PURE__ */ e.createElement(
|
|
5261
|
+
pn,
|
|
5229
5262
|
{
|
|
5230
5263
|
pickerType: b,
|
|
5231
5264
|
options: bt,
|
|
5232
5265
|
listClassName: r,
|
|
5233
5266
|
context: V,
|
|
5234
|
-
setFloating:
|
|
5235
|
-
floatingStyles:
|
|
5236
|
-
maxHeight:
|
|
5237
|
-
activeIndex:
|
|
5267
|
+
setFloating: qa,
|
|
5268
|
+
floatingStyles: Za,
|
|
5269
|
+
maxHeight: ja,
|
|
5270
|
+
activeIndex: Qa,
|
|
5238
5271
|
selectedKeys: Nt,
|
|
5239
|
-
listElementsRef:
|
|
5240
|
-
setPointer:
|
|
5272
|
+
listElementsRef: Xa,
|
|
5273
|
+
setPointer: er,
|
|
5241
5274
|
onSelect: ht,
|
|
5242
|
-
getFloatingProps:
|
|
5243
|
-
getItemProps:
|
|
5275
|
+
getFloatingProps: Ka,
|
|
5276
|
+
getItemProps: Ya,
|
|
5244
5277
|
emptyStateText: m,
|
|
5245
5278
|
virtuosoProps: I
|
|
5246
5279
|
}
|
|
5247
5280
|
))));
|
|
5248
|
-
},
|
|
5249
|
-
popover:
|
|
5250
|
-
},
|
|
5281
|
+
}, Nn = "lc-Popover-module__popover___8X1b2", Sn = {
|
|
5282
|
+
popover: Nn
|
|
5283
|
+
}, xi = ({
|
|
5251
5284
|
triggerRenderer: t,
|
|
5252
5285
|
onClose: a,
|
|
5253
5286
|
onOpen: r,
|
|
@@ -5264,46 +5297,42 @@ const Mt = "select-all", nn = (t, a) => {
|
|
|
5264
5297
|
useClickHookProps: f,
|
|
5265
5298
|
floatingStrategy: b
|
|
5266
5299
|
}) => {
|
|
5267
|
-
const [v, h] = e.useState(s), y =
|
|
5300
|
+
const [v, h] = e.useState(s), y = Ha(), E = sa(), $ = i !== void 0, C = $ ? i : v, w = typeof _ == "string", g = typeof t == "function", N = (Ke, Ue) => {
|
|
5268
5301
|
Ke ? r == null || r(Ue) : a == null || a(Ue), !$ && h(Ke);
|
|
5269
5302
|
}, { refs: S, context: M, floatingStyles: G } = da({
|
|
5270
5303
|
nodeId: E,
|
|
5271
|
-
open:
|
|
5304
|
+
open: C,
|
|
5272
5305
|
onOpenChange: N,
|
|
5273
|
-
middleware: [ua(d),
|
|
5306
|
+
middleware: [ua(d), za(c), Cr()],
|
|
5274
5307
|
placement: n,
|
|
5275
5308
|
strategy: b,
|
|
5276
5309
|
whileElementsMounted: ma
|
|
5277
5310
|
}), I = pa(M, f), O = ga(M, k({
|
|
5278
5311
|
escapeKey: p
|
|
5279
|
-
}, m)), Y = fa(M), { getReferenceProps:
|
|
5312
|
+
}, m)), Y = fa(M), { getReferenceProps: Q, getFloatingProps: L } = ba([
|
|
5280
5313
|
I,
|
|
5281
5314
|
O,
|
|
5282
5315
|
Y
|
|
5283
|
-
]), U = u(
|
|
5316
|
+
]), U = u(Sn.popover, o), $e = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
5284
5317
|
"div",
|
|
5285
5318
|
T(k({
|
|
5286
5319
|
"data-testid": "popover-trigger-button",
|
|
5287
5320
|
ref: S.setReference
|
|
5288
|
-
},
|
|
5321
|
+
}, Q()), {
|
|
5289
5322
|
className: l
|
|
5290
5323
|
}),
|
|
5291
5324
|
g ? t() : t
|
|
5292
|
-
), /* @__PURE__ */ e.createElement(ha, { id: E },
|
|
5325
|
+
), /* @__PURE__ */ e.createElement(ha, { id: E }, C && /* @__PURE__ */ e.createElement(gr, { context: M, modal: !1 }, /* @__PURE__ */ e.createElement(
|
|
5293
5326
|
"div",
|
|
5294
5327
|
k({
|
|
5295
5328
|
className: U,
|
|
5296
5329
|
ref: S.setFloating,
|
|
5297
5330
|
style: G
|
|
5298
5331
|
}, L()),
|
|
5299
|
-
|
|
5332
|
+
w ? /* @__PURE__ */ e.createElement(B, { as: "div" }, _) : _
|
|
5300
5333
|
))));
|
|
5301
|
-
return y === null ? /* @__PURE__ */ e.createElement(
|
|
5302
|
-
}
|
|
5303
|
-
function $n(t, a, r, _) {
|
|
5304
|
-
return _ && t === 0 ? _ : t === 1 ? a : r;
|
|
5305
|
-
}
|
|
5306
|
-
const Be = {
|
|
5334
|
+
return y === null ? /* @__PURE__ */ e.createElement(Wa, null, $e) : $e;
|
|
5335
|
+
}, Be = {
|
|
5307
5336
|
"outer-border": "lc-ProductTile-module__outer-border___NLJhh",
|
|
5308
5337
|
"product-tile-wrapper": "lc-ProductTile-module__product-tile-wrapper___CtMW1",
|
|
5309
5338
|
"product-tile-wrapper__animated": "lc-ProductTile-module__product-tile-wrapper__animated___X6E-i",
|
|
@@ -5316,7 +5345,7 @@ const Be = {
|
|
|
5316
5345
|
"product-tile__icon": "lc-ProductTile-module__product-tile__icon___ftUbr",
|
|
5317
5346
|
"product-tile__icon--large": "lc-ProductTile-module__product-tile__icon--large___ilwGY",
|
|
5318
5347
|
"product-tile__icon--expired": "lc-ProductTile-module__product-tile__icon--expired___Ne4jK"
|
|
5319
|
-
},
|
|
5348
|
+
}, Qe = "product-tile", C_ = ({
|
|
5320
5349
|
icon: t,
|
|
5321
5350
|
iconColor: a,
|
|
5322
5351
|
expired: r,
|
|
@@ -5340,33 +5369,33 @@ const Be = {
|
|
|
5340
5369
|
n && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
5341
5370
|
"div",
|
|
5342
5371
|
{
|
|
5343
|
-
className: Be[`${
|
|
5372
|
+
className: Be[`${Qe}__third-layer`],
|
|
5344
5373
|
style: { background: _.third }
|
|
5345
5374
|
}
|
|
5346
5375
|
), /* @__PURE__ */ e.createElement(
|
|
5347
5376
|
"div",
|
|
5348
5377
|
{
|
|
5349
|
-
className: Be[`${
|
|
5378
|
+
className: Be[`${Qe}__second-layer`],
|
|
5350
5379
|
style: { background: _.second }
|
|
5351
5380
|
}
|
|
5352
5381
|
)),
|
|
5353
5382
|
/* @__PURE__ */ e.createElement(
|
|
5354
5383
|
"div",
|
|
5355
5384
|
{
|
|
5356
|
-
className: u(Be[
|
|
5357
|
-
[Be[`${
|
|
5385
|
+
className: u(Be[Qe], {
|
|
5386
|
+
[Be[`${Qe}__main-product`]]: n
|
|
5358
5387
|
}),
|
|
5359
5388
|
style: {
|
|
5360
5389
|
background: r ? "var(--surface-moderate-default)" : _.main
|
|
5361
5390
|
}
|
|
5362
5391
|
},
|
|
5363
5392
|
o && !r ? /* @__PURE__ */ e.createElement(
|
|
5364
|
-
|
|
5393
|
+
La,
|
|
5365
5394
|
{
|
|
5366
5395
|
size: "compact",
|
|
5367
5396
|
count: o,
|
|
5368
|
-
className: u(Be[`${
|
|
5369
|
-
[Be[`${
|
|
5397
|
+
className: u(Be[`${Qe}__badge`], {
|
|
5398
|
+
[Be[`${Qe}__badge--bordered`]]: n
|
|
5370
5399
|
})
|
|
5371
5400
|
}
|
|
5372
5401
|
) : null,
|
|
@@ -5374,16 +5403,16 @@ const Be = {
|
|
|
5374
5403
|
x,
|
|
5375
5404
|
{
|
|
5376
5405
|
source: t,
|
|
5377
|
-
className: u(Be[`${
|
|
5378
|
-
[Be[`${
|
|
5379
|
-
[Be[`${
|
|
5406
|
+
className: u(Be[`${Qe}__icon`], {
|
|
5407
|
+
[Be[`${Qe}__icon--large`]]: n,
|
|
5408
|
+
[Be[`${Qe}__icon--expired`]]: r
|
|
5380
5409
|
}),
|
|
5381
5410
|
customColor: a
|
|
5382
5411
|
}
|
|
5383
5412
|
)
|
|
5384
5413
|
)
|
|
5385
5414
|
)
|
|
5386
|
-
),
|
|
5415
|
+
), je = {
|
|
5387
5416
|
"product-row": "lc-ProductRow-module__product-row___NgyzG",
|
|
5388
5417
|
"product-row--expired": "lc-ProductRow-module__product-row--expired___I9IPB",
|
|
5389
5418
|
"product-row__divider": "lc-ProductRow-module__product-row__divider___Blym6",
|
|
@@ -5392,7 +5421,7 @@ const Be = {
|
|
|
5392
5421
|
"product-row__name": "lc-ProductRow-module__product-row__name___zxxMl",
|
|
5393
5422
|
"product-row__tooltip-icon": "lc-ProductRow-module__product-row__tooltip-icon___o5AMn",
|
|
5394
5423
|
"product-row__trial-tooltip": "lc-ProductRow-module__product-row__trial-tooltip___h6mp9"
|
|
5395
|
-
}, et = "product-row",
|
|
5424
|
+
}, et = "product-row", xn = ({
|
|
5396
5425
|
product: {
|
|
5397
5426
|
id: t,
|
|
5398
5427
|
icon: a,
|
|
@@ -5409,19 +5438,19 @@ const Be = {
|
|
|
5409
5438
|
},
|
|
5410
5439
|
onClick: m,
|
|
5411
5440
|
isActive: f = !1
|
|
5412
|
-
}) => /* @__PURE__ */ e.createElement(e.Fragment, null, c && /* @__PURE__ */ e.createElement("div", { className:
|
|
5441
|
+
}) => /* @__PURE__ */ e.createElement(e.Fragment, null, c && /* @__PURE__ */ e.createElement("div", { className: je[`${et}__divider`] }), /* @__PURE__ */ e.createElement(
|
|
5413
5442
|
"a",
|
|
5414
5443
|
{
|
|
5415
5444
|
href: n,
|
|
5416
5445
|
target: "_blank",
|
|
5417
5446
|
"aria-label": `Go to ${l} product`,
|
|
5418
5447
|
onClick: (b) => m(b, t),
|
|
5419
|
-
className: u(
|
|
5420
|
-
[
|
|
5448
|
+
className: u(je[et], {
|
|
5449
|
+
[je[`${et}--expired`]]: i
|
|
5421
5450
|
})
|
|
5422
5451
|
},
|
|
5423
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
5424
|
-
|
|
5452
|
+
/* @__PURE__ */ e.createElement("div", { className: je[`${et}__heading`] }, /* @__PURE__ */ e.createElement(
|
|
5453
|
+
C_,
|
|
5425
5454
|
{
|
|
5426
5455
|
icon: a,
|
|
5427
5456
|
iconColor: r,
|
|
@@ -5430,46 +5459,45 @@ const Be = {
|
|
|
5430
5459
|
notificationCount: o,
|
|
5431
5460
|
withBorder: f
|
|
5432
5461
|
}
|
|
5433
|
-
), /* @__PURE__ */ e.createElement(B, { as: "div", bold: !0, className:
|
|
5462
|
+
), /* @__PURE__ */ e.createElement(B, { as: "div", bold: !0, className: je[`${et}__name`] }, l, i && /* @__PURE__ */ e.createElement(
|
|
5434
5463
|
Lt,
|
|
5435
5464
|
{
|
|
5436
5465
|
triggerRenderer: /* @__PURE__ */ e.createElement(
|
|
5437
5466
|
x,
|
|
5438
5467
|
{
|
|
5439
5468
|
source: ca,
|
|
5440
|
-
className:
|
|
5469
|
+
className: je[`${et}__tooltip-icon`]
|
|
5441
5470
|
}
|
|
5442
5471
|
),
|
|
5443
5472
|
placement: "right"
|
|
5444
5473
|
},
|
|
5445
|
-
"Your licence is expired"
|
|
5474
|
+
"Your licence is expired."
|
|
5446
5475
|
), typeof s != "undefined" && /* @__PURE__ */ e.createElement(
|
|
5447
5476
|
Lt,
|
|
5448
5477
|
{
|
|
5449
|
-
className:
|
|
5478
|
+
className: je[`${et}__trial-tooltip`],
|
|
5450
5479
|
triggerRenderer: /* @__PURE__ */ e.createElement(
|
|
5451
5480
|
x,
|
|
5452
5481
|
{
|
|
5453
5482
|
source: ca,
|
|
5454
|
-
className:
|
|
5483
|
+
className: je[`${et}__tooltip-icon`]
|
|
5455
5484
|
}
|
|
5456
5485
|
),
|
|
5457
5486
|
placement: "right"
|
|
5458
5487
|
},
|
|
5459
5488
|
s,
|
|
5460
|
-
" trial ",
|
|
5461
|
-
$n(s, "day", "days"),
|
|
5462
5489
|
" ",
|
|
5463
|
-
"
|
|
5490
|
+
v_(s, "day", "days"),
|
|
5491
|
+
" left in your trial. Time to upgrade."
|
|
5464
5492
|
), p)),
|
|
5465
|
-
d && /* @__PURE__ */ e.createElement(B, { size: "sm", className:
|
|
5493
|
+
d && /* @__PURE__ */ e.createElement(B, { size: "sm", className: je[`${et}__shortcut`] }, "⌘", d)
|
|
5466
5494
|
)), ea = {
|
|
5467
5495
|
"product-switcher": "lc-ProductSwitcher-module__product-switcher___mI-WG",
|
|
5468
5496
|
"product-switcher__content": "lc-ProductSwitcher-module__product-switcher__content___6jGuY",
|
|
5469
5497
|
"product-switcher__footer": "lc-ProductSwitcher-module__product-switcher__footer___V-2O1",
|
|
5470
5498
|
"product-switcher__footer-link": "lc-ProductSwitcher-module__product-switcher__footer-link___NmChu",
|
|
5471
5499
|
"product-switcher__tooltip": "lc-ProductSwitcher-module__product-switcher__tooltip___nKPYG"
|
|
5472
|
-
}, ta = "product-switcher",
|
|
5500
|
+
}, ta = "product-switcher", Bi = ({
|
|
5473
5501
|
productOptions: t,
|
|
5474
5502
|
mainProductId: a,
|
|
5475
5503
|
openedOnInit: r = !1,
|
|
@@ -5479,9 +5507,9 @@ const Be = {
|
|
|
5479
5507
|
onSelect: n,
|
|
5480
5508
|
textURL: c = "https://www.text.com"
|
|
5481
5509
|
}) => {
|
|
5482
|
-
const [d, i] = e.useState(r), [s, p] =
|
|
5510
|
+
const [d, i] = e.useState(r), [s, p] = P_(
|
|
5483
5511
|
!1
|
|
5484
|
-
), m =
|
|
5512
|
+
), m = Ha(), f = sa(), b = _ !== void 0, v = b ? _ : d, h = (L, U) => {
|
|
5485
5513
|
L ? o == null || o(U) : l == null || l(U), !b && i(L);
|
|
5486
5514
|
}, { refs: y, context: E, floatingStyles: $ } = da({
|
|
5487
5515
|
nodeId: f,
|
|
@@ -5493,7 +5521,7 @@ const Be = {
|
|
|
5493
5521
|
},
|
|
5494
5522
|
middleware: [ua({ mainAxis: 5 })],
|
|
5495
5523
|
whileElementsMounted: ma
|
|
5496
|
-
}),
|
|
5524
|
+
}), C = pa(E), w = fa(E), g = ga(E), { isMounted: N, styles: S } = yr(E, {
|
|
5497
5525
|
duration: 200,
|
|
5498
5526
|
common: {
|
|
5499
5527
|
transformOrigin: "left top"
|
|
@@ -5503,9 +5531,9 @@ const Be = {
|
|
|
5503
5531
|
transform: "scale(0.84) translateX(-22px)"
|
|
5504
5532
|
}
|
|
5505
5533
|
}), { getReferenceProps: M, getFloatingProps: G } = ba([
|
|
5506
|
-
|
|
5534
|
+
C,
|
|
5507
5535
|
g,
|
|
5508
|
-
|
|
5536
|
+
w
|
|
5509
5537
|
]), I = t.find(
|
|
5510
5538
|
(L) => L.id === a
|
|
5511
5539
|
);
|
|
@@ -5516,7 +5544,7 @@ const Be = {
|
|
|
5516
5544
|
}, Y = t.reduce(
|
|
5517
5545
|
(L, U) => L + (U.notificationCount || 0),
|
|
5518
5546
|
0
|
|
5519
|
-
),
|
|
5547
|
+
), Q = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", k({ ref: y.setReference }, M()), /* @__PURE__ */ e.createElement(
|
|
5520
5548
|
Lt,
|
|
5521
5549
|
{
|
|
5522
5550
|
isVisible: s,
|
|
@@ -5530,7 +5558,7 @@ const Be = {
|
|
|
5530
5558
|
floatingStrategy: "fixed",
|
|
5531
5559
|
kind: "invert",
|
|
5532
5560
|
triggerRenderer: /* @__PURE__ */ e.createElement(
|
|
5533
|
-
|
|
5561
|
+
C_,
|
|
5534
5562
|
{
|
|
5535
5563
|
isMainProduct: !0,
|
|
5536
5564
|
icon: I.icon,
|
|
@@ -5554,7 +5582,7 @@ const Be = {
|
|
|
5554
5582
|
style: S
|
|
5555
5583
|
},
|
|
5556
5584
|
/* @__PURE__ */ e.createElement("div", { className: ea[`${ta}__content`] }, t.map((L) => /* @__PURE__ */ e.createElement(
|
|
5557
|
-
|
|
5585
|
+
xn,
|
|
5558
5586
|
{
|
|
5559
5587
|
key: L.id,
|
|
5560
5588
|
isActive: L.id === a,
|
|
@@ -5575,19 +5603,19 @@ const Be = {
|
|
|
5575
5603
|
x,
|
|
5576
5604
|
{
|
|
5577
5605
|
size: "xlarge",
|
|
5578
|
-
source:
|
|
5606
|
+
source: U_,
|
|
5579
5607
|
customColor: "var(--content-locked-white)"
|
|
5580
5608
|
}
|
|
5581
5609
|
)
|
|
5582
5610
|
))
|
|
5583
5611
|
)
|
|
5584
5612
|
)));
|
|
5585
|
-
return m === null ? /* @__PURE__ */ e.createElement(
|
|
5586
|
-
}, Sn = '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', xn = [
|
|
5613
|
+
return m === null ? /* @__PURE__ */ e.createElement(Wa, null, Q) : Q;
|
|
5614
|
+
}, Bn = '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', In = [
|
|
5587
5615
|
{
|
|
5588
5616
|
id: "livechat",
|
|
5589
5617
|
name: "LiveChat",
|
|
5590
|
-
icon:
|
|
5618
|
+
icon: H_,
|
|
5591
5619
|
backgroundColors: {
|
|
5592
5620
|
main: "var(--products-livechat)",
|
|
5593
5621
|
second: "var(--products-helpdesk)",
|
|
@@ -5598,7 +5626,7 @@ const Be = {
|
|
|
5598
5626
|
{
|
|
5599
5627
|
id: "chatbot",
|
|
5600
5628
|
name: "ChatBot",
|
|
5601
|
-
icon:
|
|
5629
|
+
icon: z_,
|
|
5602
5630
|
backgroundColors: {
|
|
5603
5631
|
main: "var(--products-chatbot)",
|
|
5604
5632
|
second: "var(--products-livechat)",
|
|
@@ -5609,7 +5637,7 @@ const Be = {
|
|
|
5609
5637
|
{
|
|
5610
5638
|
id: "helpdesk",
|
|
5611
5639
|
name: "HelpDesk",
|
|
5612
|
-
icon:
|
|
5640
|
+
icon: W_,
|
|
5613
5641
|
backgroundColors: {
|
|
5614
5642
|
main: "var(--products-helpdesk)",
|
|
5615
5643
|
second: "var(--products-livechat)",
|
|
@@ -5621,7 +5649,7 @@ const Be = {
|
|
|
5621
5649
|
{
|
|
5622
5650
|
id: "knowledgebase",
|
|
5623
5651
|
name: "KnowledgeBase",
|
|
5624
|
-
icon:
|
|
5652
|
+
icon: V_,
|
|
5625
5653
|
backgroundColors: {
|
|
5626
5654
|
main: "var(--products-knowledgebase)",
|
|
5627
5655
|
second: "var(--products-helpdesk)",
|
|
@@ -5633,9 +5661,9 @@ const Be = {
|
|
|
5633
5661
|
{
|
|
5634
5662
|
id: "openwidget",
|
|
5635
5663
|
name: "OpenWidget",
|
|
5636
|
-
icon:
|
|
5664
|
+
icon: K_,
|
|
5637
5665
|
backgroundColors: {
|
|
5638
|
-
main: `url('${
|
|
5666
|
+
main: `url('${Bn}')`,
|
|
5639
5667
|
second: "var(--products-livechat)",
|
|
5640
5668
|
third: "var(--products-chatbot)"
|
|
5641
5669
|
},
|
|
@@ -5644,7 +5672,7 @@ const Be = {
|
|
|
5644
5672
|
{
|
|
5645
5673
|
id: "hello",
|
|
5646
5674
|
name: "Hello",
|
|
5647
|
-
icon:
|
|
5675
|
+
icon: Y_,
|
|
5648
5676
|
backgroundColors: {
|
|
5649
5677
|
main: "var(--products-hello)",
|
|
5650
5678
|
second: "var(--products-livechat)",
|
|
@@ -5655,7 +5683,7 @@ const Be = {
|
|
|
5655
5683
|
{
|
|
5656
5684
|
id: "accounts",
|
|
5657
5685
|
name: "Accounts",
|
|
5658
|
-
icon:
|
|
5686
|
+
icon: q_,
|
|
5659
5687
|
backgroundColors: {
|
|
5660
5688
|
main: "var(--surface-locked-white)",
|
|
5661
5689
|
second: "var(--products-livechat)",
|
|
@@ -5665,7 +5693,7 @@ const Be = {
|
|
|
5665
5693
|
withDivider: !0,
|
|
5666
5694
|
url: ""
|
|
5667
5695
|
}
|
|
5668
|
-
],
|
|
5696
|
+
], Tn = [
|
|
5669
5697
|
{
|
|
5670
5698
|
clientId: "58737b5829e65621a45d598aa6f2ed8e",
|
|
5671
5699
|
redirectUri: "https://my.labs.livechatinc.com",
|
|
@@ -5698,7 +5726,7 @@ const Be = {
|
|
|
5698
5726
|
redirectUri: "https://accounts.labs.livechat.com/panel",
|
|
5699
5727
|
product: "Accounts"
|
|
5700
5728
|
}
|
|
5701
|
-
],
|
|
5729
|
+
], Dn = [
|
|
5702
5730
|
{
|
|
5703
5731
|
clientId: "bb9e5b2f1ab480e4a715977b7b1b4279",
|
|
5704
5732
|
redirectUri: "https://my.staging.livechatinc.com",
|
|
@@ -5731,7 +5759,7 @@ const Be = {
|
|
|
5731
5759
|
redirectUri: "https://accounts.staging.livechat.com/panel",
|
|
5732
5760
|
product: "Accounts"
|
|
5733
5761
|
}
|
|
5734
|
-
],
|
|
5762
|
+
], w_ = [
|
|
5735
5763
|
{
|
|
5736
5764
|
clientId: "bb9e5b2f1ab480e4a715977b7b1b4279",
|
|
5737
5765
|
redirectUri: "https://my.livechatinc.com",
|
|
@@ -5764,12 +5792,12 @@ const Be = {
|
|
|
5764
5792
|
redirectUri: "https://accounts.livechat.com/panel",
|
|
5765
5793
|
product: "Accounts"
|
|
5766
5794
|
}
|
|
5767
|
-
],
|
|
5795
|
+
], An = [
|
|
5768
5796
|
"livechat",
|
|
5769
5797
|
"chatbot",
|
|
5770
5798
|
"helpdesk",
|
|
5771
5799
|
"accounts"
|
|
5772
|
-
],
|
|
5800
|
+
], Ir = {
|
|
5773
5801
|
livechat: "LiveChat",
|
|
5774
5802
|
helpdesk: "HelpDesk",
|
|
5775
5803
|
accounts: "Accounts",
|
|
@@ -5777,29 +5805,29 @@ const Be = {
|
|
|
5777
5805
|
chatbot: "ChatBot",
|
|
5778
5806
|
openwidget: "OpenWidget",
|
|
5779
5807
|
hello: "Hello"
|
|
5780
|
-
},
|
|
5808
|
+
}, Pn = (t, a, r, _, o) => {
|
|
5781
5809
|
let l = "";
|
|
5782
5810
|
o && o !== "prod" ? l += `https://accounts.${o}.livechat.com` : l += "https://accounts.livechat.com";
|
|
5783
|
-
const n =
|
|
5811
|
+
const n = Ln(o, _), c = `${l}?client_id=${t}&redirect_uri=${encodeURIComponent(
|
|
5784
5812
|
a
|
|
5785
5813
|
)}&response_type=token&organization_id=${r}`;
|
|
5786
5814
|
return n ? `${c}&utm_source=${n}&utm_medium=referral&utm_campaign=productswitcher` : c;
|
|
5787
|
-
},
|
|
5815
|
+
}, Fn = (t) => {
|
|
5788
5816
|
const a = new Date(t), r = /* @__PURE__ */ new Date();
|
|
5789
|
-
return
|
|
5790
|
-
},
|
|
5791
|
-
(r) => r.product ===
|
|
5792
|
-
),
|
|
5817
|
+
return io(a) ? 0 : $r(a, r);
|
|
5818
|
+
}, Rn = (t, a) => An.includes(t) || a.some(
|
|
5819
|
+
(r) => r.product === Ir[t]
|
|
5820
|
+
), Mn = (t, a, r, _, o, l) => {
|
|
5793
5821
|
var c, d, i, s, p;
|
|
5794
5822
|
const n = a.find(
|
|
5795
|
-
(m) => m.product ===
|
|
5823
|
+
(m) => m.product === Ir[t.id]
|
|
5796
5824
|
);
|
|
5797
5825
|
if (!n)
|
|
5798
5826
|
throw new Error(`Product data for ${t.id} not found`);
|
|
5799
5827
|
return T(k({}, t), {
|
|
5800
|
-
trialDaysLeft: r[t.id] && ((c = r[t.id]) == null ? void 0 : c.status) === "trial" && ((d = r[t.id]) != null && d.next_charge_at) ?
|
|
5828
|
+
trialDaysLeft: r[t.id] && ((c = r[t.id]) == null ? void 0 : c.status) === "trial" && ((d = r[t.id]) != null && d.next_charge_at) ? Fn((s = (i = r[t.id]) == null ? void 0 : i.next_charge_at) != null ? s : "") : void 0,
|
|
5801
5829
|
expired: ((p = r[t.id]) == null ? void 0 : p.status) === "expired",
|
|
5802
|
-
url:
|
|
5830
|
+
url: Pn(
|
|
5803
5831
|
n.clientId,
|
|
5804
5832
|
n.redirectUri,
|
|
5805
5833
|
_,
|
|
@@ -5807,23 +5835,23 @@ const Be = {
|
|
|
5807
5835
|
l
|
|
5808
5836
|
)
|
|
5809
5837
|
});
|
|
5810
|
-
},
|
|
5838
|
+
}, $_ = (t) => {
|
|
5811
5839
|
switch (t) {
|
|
5812
5840
|
case "prod":
|
|
5813
|
-
return
|
|
5841
|
+
return w_;
|
|
5814
5842
|
case "staging":
|
|
5815
|
-
return
|
|
5843
|
+
return Dn;
|
|
5816
5844
|
case "labs":
|
|
5817
|
-
return
|
|
5845
|
+
return Tn;
|
|
5818
5846
|
default:
|
|
5819
5847
|
return [];
|
|
5820
5848
|
}
|
|
5821
|
-
},
|
|
5822
|
-
const _ =
|
|
5823
|
-
(o) => o.product ===
|
|
5849
|
+
}, Ln = (t, a) => {
|
|
5850
|
+
const _ = $_(t).find(
|
|
5851
|
+
(o) => o.product === Ir[a]
|
|
5824
5852
|
);
|
|
5825
5853
|
return _ == null ? void 0 : _.redirectUri.replace("https://", "");
|
|
5826
|
-
},
|
|
5854
|
+
}, Ii = ({
|
|
5827
5855
|
env: t = "prod",
|
|
5828
5856
|
installedProducts: a,
|
|
5829
5857
|
subscriptions: r,
|
|
@@ -5832,11 +5860,11 @@ const Be = {
|
|
|
5832
5860
|
}) => {
|
|
5833
5861
|
if (!a || !r || !_)
|
|
5834
5862
|
throw new Error("Missing required parameters");
|
|
5835
|
-
const l = t ?
|
|
5863
|
+
const l = t ? $_(t) : w_;
|
|
5836
5864
|
return {
|
|
5837
|
-
products:
|
|
5838
|
-
(n, c) => (
|
|
5839
|
-
|
|
5865
|
+
products: In.reduce(
|
|
5866
|
+
(n, c) => (Rn(c.id, a) && n.push(
|
|
5867
|
+
Mn(
|
|
5840
5868
|
c,
|
|
5841
5869
|
l,
|
|
5842
5870
|
r,
|
|
@@ -5848,9 +5876,9 @@ const Be = {
|
|
|
5848
5876
|
[]
|
|
5849
5877
|
)
|
|
5850
5878
|
};
|
|
5851
|
-
},
|
|
5852
|
-
function
|
|
5853
|
-
return t === "error" ? 0 :
|
|
5879
|
+
}, On = (t) => Math.min(Math.max(t, 0), 100);
|
|
5880
|
+
function N_(t, a = 0) {
|
|
5881
|
+
return t === "error" ? 0 : On(parseInt(a.toString(), 10));
|
|
5854
5882
|
}
|
|
5855
5883
|
const aa = {
|
|
5856
5884
|
"progress-circle": "lc-ProgressCircle-module__progress-circle___NRHCi",
|
|
@@ -5863,15 +5891,15 @@ const aa = {
|
|
|
5863
5891
|
"progress-circle__indicator--normal": "lc-ProgressCircle-module__progress-circle__indicator--normal___0SdkX",
|
|
5864
5892
|
"progress-circle__indicator--success": "lc-ProgressCircle-module__progress-circle__indicator--success___fLwRR",
|
|
5865
5893
|
"progress-circle__indicator--error": "lc-ProgressCircle-module__progress-circle__indicator--error___nwJS9"
|
|
5866
|
-
},
|
|
5894
|
+
}, Gn = {
|
|
5867
5895
|
small: 2,
|
|
5868
5896
|
medium: 3,
|
|
5869
5897
|
large: 4
|
|
5870
|
-
},
|
|
5898
|
+
}, Un = {
|
|
5871
5899
|
small: 15,
|
|
5872
5900
|
medium: 36,
|
|
5873
5901
|
large: 56
|
|
5874
|
-
}, ra = "progress-circle",
|
|
5902
|
+
}, ra = "progress-circle", Hn = e.forwardRef(
|
|
5875
5903
|
(n, l) => {
|
|
5876
5904
|
var c = n, {
|
|
5877
5905
|
status: t = "normal",
|
|
@@ -5884,7 +5912,7 @@ const aa = {
|
|
|
5884
5912
|
"className",
|
|
5885
5913
|
"size"
|
|
5886
5914
|
]);
|
|
5887
|
-
const d =
|
|
5915
|
+
const d = N_(t, a), i = Gn[_], s = Un[_], p = u(
|
|
5888
5916
|
aa[ra],
|
|
5889
5917
|
{
|
|
5890
5918
|
[aa[`${ra}--${_}`]]: _,
|
|
@@ -5926,7 +5954,7 @@ const aa = {
|
|
|
5926
5954
|
))
|
|
5927
5955
|
);
|
|
5928
5956
|
}
|
|
5929
|
-
),
|
|
5957
|
+
), Da = {
|
|
5930
5958
|
"progress-bar": "lc-ProgressBar-module__progress-bar___3pa3d",
|
|
5931
5959
|
"progress-bar--small": "lc-ProgressBar-module__progress-bar--small___7nQKx",
|
|
5932
5960
|
"progress-bar--medium": "lc-ProgressBar-module__progress-bar--medium___cM44p",
|
|
@@ -5936,7 +5964,7 @@ const aa = {
|
|
|
5936
5964
|
"progress-bar--normal": "lc-ProgressBar-module__progress-bar--normal___ZwCb-",
|
|
5937
5965
|
"progress-bar__indicator--success": "lc-ProgressBar-module__progress-bar__indicator--success___wRjR3",
|
|
5938
5966
|
"progress-bar__indicator--normal": "lc-ProgressBar-module__progress-bar__indicator--normal___0Uhle"
|
|
5939
|
-
},
|
|
5967
|
+
}, Aa = "progress-bar", zn = e.forwardRef(
|
|
5940
5968
|
(n, l) => {
|
|
5941
5969
|
var c = n, {
|
|
5942
5970
|
status: t = "normal",
|
|
@@ -5949,11 +5977,11 @@ const aa = {
|
|
|
5949
5977
|
"size",
|
|
5950
5978
|
"className"
|
|
5951
5979
|
]);
|
|
5952
|
-
const d =
|
|
5953
|
-
|
|
5980
|
+
const d = N_(t, a), i = u(
|
|
5981
|
+
Da[Aa],
|
|
5954
5982
|
{
|
|
5955
|
-
[
|
|
5956
|
-
[
|
|
5983
|
+
[Da[`${Aa}--${r}`]]: r,
|
|
5984
|
+
[Da[`${Aa}--${t}`]]: t
|
|
5957
5985
|
},
|
|
5958
5986
|
_
|
|
5959
5987
|
);
|
|
@@ -5968,7 +5996,7 @@ const aa = {
|
|
|
5968
5996
|
"div",
|
|
5969
5997
|
{
|
|
5970
5998
|
"data-testid": "progress-bar-indicator",
|
|
5971
|
-
className:
|
|
5999
|
+
className: Da[`${Aa}__indicator--${t}`],
|
|
5972
6000
|
style: { width: `${d}%` }
|
|
5973
6001
|
}
|
|
5974
6002
|
)
|
|
@@ -5986,7 +6014,7 @@ const aa = {
|
|
|
5986
6014
|
"promo-banner--small": "lc-PromoBanner-module__promo-banner--small___7sWLV",
|
|
5987
6015
|
"promo-banner--large": "lc-PromoBanner-module__promo-banner--large___pMiCU",
|
|
5988
6016
|
"promo-banner__close-icon": "lc-PromoBanner-module__promo-banner__close-icon___GowBL"
|
|
5989
|
-
},
|
|
6017
|
+
}, Wn = 400, Vn = 800, Kn = 500, Fe = "promo-banner", Ti = ({
|
|
5990
6018
|
className: t,
|
|
5991
6019
|
buttonText: a,
|
|
5992
6020
|
children: r,
|
|
@@ -6008,9 +6036,9 @@ const aa = {
|
|
|
6008
6036
|
t
|
|
6009
6037
|
);
|
|
6010
6038
|
e.useEffect(() => {
|
|
6011
|
-
const v = () => s.current && s.current.offsetWidth <=
|
|
6039
|
+
const v = () => s.current && s.current.offsetWidth <= Wn ? m("small") : s.current && s.current.offsetWidth >= Vn ? m("large") : m("medium"), h = s_(
|
|
6012
6040
|
v,
|
|
6013
|
-
|
|
6041
|
+
Kn
|
|
6014
6042
|
);
|
|
6015
6043
|
return window.addEventListener("resize", h), v(), () => {
|
|
6016
6044
|
h.cancel(), window.removeEventListener("resize", h);
|
|
@@ -6045,7 +6073,7 @@ const aa = {
|
|
|
6045
6073
|
"promo-banner-v2__close": "lc-PromoBannerV2-module__promo-banner-v2__close___rOh-U",
|
|
6046
6074
|
"promo-banner-v2__close__btn": "lc-PromoBannerV2-module__promo-banner-v2__close__btn___5AZQC",
|
|
6047
6075
|
"promo-banner-v2--vertical": "lc-PromoBannerV2-module__promo-banner-v2--vertical___p0mSU"
|
|
6048
|
-
}, ut = "promo-banner-v2",
|
|
6076
|
+
}, ut = "promo-banner-v2", Di = ({
|
|
6049
6077
|
children: t,
|
|
6050
6078
|
className: a,
|
|
6051
6079
|
additionalContent: r,
|
|
@@ -6121,7 +6149,7 @@ const aa = {
|
|
|
6121
6149
|
"radio-button__helper": "lc-RadioButton-module__radio-button__helper___r8gJJ",
|
|
6122
6150
|
"radio-button--selected": "lc-RadioButton-module__radio-button--selected___s9lqj",
|
|
6123
6151
|
"radio-button--disabled": "lc-RadioButton-module__radio-button--disabled___wHSA7"
|
|
6124
|
-
}, rt = "radio-button",
|
|
6152
|
+
}, rt = "radio-button", Ai = e.forwardRef(
|
|
6125
6153
|
(c, n) => {
|
|
6126
6154
|
var d = c, { children: t, className: a = "", description: r, checked: _, disabled: o } = d, l = D(d, ["children", "className", "description", "checked", "disabled"]);
|
|
6127
6155
|
const i = u(at[rt], a, {
|
|
@@ -6137,7 +6165,7 @@ const aa = {
|
|
|
6137
6165
|
checked: _,
|
|
6138
6166
|
disabled: o
|
|
6139
6167
|
})
|
|
6140
|
-
)), t && /* @__PURE__ */ e.createElement(B, { as: "div", size: "md", className: at[`${rt}__text`] }, t)), r && /* @__PURE__ */ e.createElement(
|
|
6168
|
+
)), t && /* @__PURE__ */ e.createElement(B, { as: "div", size: "md", className: at[`${rt}__text`] }, t)), r && /* @__PURE__ */ e.createElement(Va, { className: at[`${rt}__helper`] }, r));
|
|
6141
6169
|
}
|
|
6142
6170
|
), Re = {
|
|
6143
6171
|
"search-input": "lc-Search-module__search-input___FsbCk",
|
|
@@ -6153,7 +6181,7 @@ const aa = {
|
|
|
6153
6181
|
"search-input__loader": "lc-Search-module__search-input__loader___pkpIG",
|
|
6154
6182
|
"search-input__input-wrapper": "lc-Search-module__search-input__input-wrapper___k8bvn",
|
|
6155
6183
|
"search-input__input-wrapper--crop": "lc-Search-module__search-input__input-wrapper--crop___nBPKY"
|
|
6156
|
-
}, We = "search-input",
|
|
6184
|
+
}, We = "search-input", t_ = `${We}__input-wrapper`, Pi = ({
|
|
6157
6185
|
isCollapsable: t,
|
|
6158
6186
|
isDisabled: a,
|
|
6159
6187
|
isLoading: r,
|
|
@@ -6184,9 +6212,9 @@ const aa = {
|
|
|
6184
6212
|
}, $ = () => {
|
|
6185
6213
|
var N;
|
|
6186
6214
|
(N = f.current) == null || N.focus();
|
|
6187
|
-
}, w = () => {
|
|
6188
|
-
t && s(!1), m(!0);
|
|
6189
6215
|
}, C = () => {
|
|
6216
|
+
t && s(!1), m(!0);
|
|
6217
|
+
}, w = () => {
|
|
6190
6218
|
t && !l && s(!0), m(!1);
|
|
6191
6219
|
}, g = (N) => {
|
|
6192
6220
|
N.key === de.enter && (N.preventDefault(), d(l));
|
|
@@ -6203,7 +6231,7 @@ const aa = {
|
|
|
6203
6231
|
x,
|
|
6204
6232
|
{
|
|
6205
6233
|
className: Re[`${We}__search-icon`],
|
|
6206
|
-
source:
|
|
6234
|
+
source: Z_,
|
|
6207
6235
|
disabled: a,
|
|
6208
6236
|
kind: "primary"
|
|
6209
6237
|
}
|
|
@@ -6213,8 +6241,8 @@ const aa = {
|
|
|
6213
6241
|
{
|
|
6214
6242
|
as: "div",
|
|
6215
6243
|
className: u(
|
|
6216
|
-
Re[
|
|
6217
|
-
c && Re[`${
|
|
6244
|
+
Re[t_],
|
|
6245
|
+
c && Re[`${t_}--crop`]
|
|
6218
6246
|
)
|
|
6219
6247
|
},
|
|
6220
6248
|
/* @__PURE__ */ e.createElement(
|
|
@@ -6226,8 +6254,8 @@ const aa = {
|
|
|
6226
6254
|
value: l,
|
|
6227
6255
|
placeholder: _,
|
|
6228
6256
|
onChange: y,
|
|
6229
|
-
onBlur:
|
|
6230
|
-
onFocus:
|
|
6257
|
+
onBlur: w,
|
|
6258
|
+
onFocus: C,
|
|
6231
6259
|
onKeyDown: g,
|
|
6232
6260
|
disabled: a
|
|
6233
6261
|
}
|
|
@@ -6245,18 +6273,18 @@ const aa = {
|
|
|
6245
6273
|
size: "compact"
|
|
6246
6274
|
}
|
|
6247
6275
|
),
|
|
6248
|
-
r && /* @__PURE__ */ e.createElement("div", { className: Re[`${We}__loader`] }, /* @__PURE__ */ e.createElement(
|
|
6276
|
+
r && /* @__PURE__ */ e.createElement("div", { className: Re[`${We}__loader`] }, /* @__PURE__ */ e.createElement(Nr, { size: "small" }))
|
|
6249
6277
|
);
|
|
6250
|
-
},
|
|
6278
|
+
}, Yn = "lc-Skeleton-module__loading___MHvGo", wt = {
|
|
6251
6279
|
"skeleton-wrapper": "lc-Skeleton-module__skeleton-wrapper___MXuR8",
|
|
6252
6280
|
"skeleton-wrapper--vertical": "lc-Skeleton-module__skeleton-wrapper--vertical___H3weP",
|
|
6253
6281
|
"skeleton-avatar": "lc-Skeleton-module__skeleton-avatar___qWzIc",
|
|
6254
6282
|
"skeleton-avatar--square": "lc-Skeleton-module__skeleton-avatar--square___GNIE4",
|
|
6255
6283
|
"skeleton-avatar--animated": "lc-Skeleton-module__skeleton-avatar--animated___rqj9A",
|
|
6256
|
-
loading:
|
|
6284
|
+
loading: Yn,
|
|
6257
6285
|
"skeleton-text": "lc-Skeleton-module__skeleton-text___rgElk",
|
|
6258
6286
|
"skeleton-text--animated": "lc-Skeleton-module__skeleton-text--animated___xOUsy"
|
|
6259
|
-
},
|
|
6287
|
+
}, a_ = "skeleton-wrapper", Fi = (o) => {
|
|
6260
6288
|
var l = o, {
|
|
6261
6289
|
children: t,
|
|
6262
6290
|
vertical: a,
|
|
@@ -6272,44 +6300,44 @@ const aa = {
|
|
|
6272
6300
|
return /* @__PURE__ */ e.createElement(
|
|
6273
6301
|
"div",
|
|
6274
6302
|
k({
|
|
6275
|
-
className: u(
|
|
6276
|
-
[
|
|
6303
|
+
className: u(wt[`${a_}`], {
|
|
6304
|
+
[wt[`${a_}--vertical`]]: a
|
|
6277
6305
|
})
|
|
6278
6306
|
}, _),
|
|
6279
6307
|
n
|
|
6280
6308
|
);
|
|
6281
|
-
},
|
|
6309
|
+
}, ir = "skeleton-avatar", Ri = ({
|
|
6282
6310
|
square: t = !1,
|
|
6283
6311
|
size: a = 16,
|
|
6284
6312
|
animated: r
|
|
6285
6313
|
}) => /* @__PURE__ */ e.createElement(
|
|
6286
6314
|
"div",
|
|
6287
6315
|
{
|
|
6288
|
-
className: u(
|
|
6289
|
-
[
|
|
6290
|
-
[
|
|
6316
|
+
className: u(wt[`${ir}`], {
|
|
6317
|
+
[wt[`${ir}--square`]]: t,
|
|
6318
|
+
[wt[`${ir}--animated`]]: r
|
|
6291
6319
|
}),
|
|
6292
6320
|
style: {
|
|
6293
6321
|
width: a,
|
|
6294
6322
|
height: a
|
|
6295
6323
|
}
|
|
6296
6324
|
}
|
|
6297
|
-
),
|
|
6325
|
+
), r_ = "skeleton-text", Mi = ({
|
|
6298
6326
|
height: t = 13,
|
|
6299
6327
|
width: a,
|
|
6300
6328
|
animated: r
|
|
6301
6329
|
}) => /* @__PURE__ */ e.createElement(
|
|
6302
6330
|
"div",
|
|
6303
6331
|
{
|
|
6304
|
-
className: u(
|
|
6305
|
-
[
|
|
6332
|
+
className: u(wt[`${r_}`], {
|
|
6333
|
+
[wt[`${r_}--animated`]]: r
|
|
6306
6334
|
}),
|
|
6307
6335
|
style: {
|
|
6308
6336
|
height: t,
|
|
6309
6337
|
width: a
|
|
6310
6338
|
}
|
|
6311
6339
|
}
|
|
6312
|
-
),
|
|
6340
|
+
), sr = {
|
|
6313
6341
|
"status-badge": "lc-StatusBadge-module__status-badge___JGcIn",
|
|
6314
6342
|
"status-badge--3XS": "lc-StatusBadge-module__status-badge--3XS___Ol8hI",
|
|
6315
6343
|
"status-badge--2XS": "lc-StatusBadge-module__status-badge--2XS___nzijH",
|
|
@@ -6323,7 +6351,7 @@ const aa = {
|
|
|
6323
6351
|
"status-badge--offline": "lc-StatusBadge-module__status-badge--offline___0BHxn",
|
|
6324
6352
|
"status-badge--accept": "lc-StatusBadge-module__status-badge--accept___6g3cx",
|
|
6325
6353
|
"status-badge--not-accept": "lc-StatusBadge-module__status-badge--not-accept___tUgKD"
|
|
6326
|
-
},
|
|
6354
|
+
}, dr = "status-badge", Li = (o) => {
|
|
6327
6355
|
var l = o, {
|
|
6328
6356
|
className: t,
|
|
6329
6357
|
kind: a = "offline",
|
|
@@ -6334,13 +6362,13 @@ const aa = {
|
|
|
6334
6362
|
"size"
|
|
6335
6363
|
]);
|
|
6336
6364
|
const n = u(
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6365
|
+
sr[dr],
|
|
6366
|
+
sr[`${dr}--${a}`],
|
|
6367
|
+
sr[`${dr}--${r}`],
|
|
6340
6368
|
t
|
|
6341
6369
|
);
|
|
6342
6370
|
return /* @__PURE__ */ e.createElement("span", k({ className: n }, _));
|
|
6343
|
-
},
|
|
6371
|
+
}, qn = "lc-Switch-module__switch__input___NiiOR", Zn = "lc-Switch-module__switch__container___79F7W", Xn = "lc-Switch-module__switch__track___2wr2M", Jn = "lc-Switch-module__switch__slider___WHd--", Qn = "lc-Switch-module__switch__loader___FE-fA", jn = "lc-Switch-module__switch__icon___-O1qY", ae = {
|
|
6344
6372
|
switch: "lc-Switch-module__switch___AaA2k",
|
|
6345
6373
|
"switch__track--enabled": "lc-Switch-module__switch__track--enabled___sy4Xl",
|
|
6346
6374
|
"switch__track--on": "lc-Switch-module__switch__track--on___aOMWe",
|
|
@@ -6349,13 +6377,13 @@ const aa = {
|
|
|
6349
6377
|
"switch--compact": "lc-Switch-module__switch--compact___OGFIX",
|
|
6350
6378
|
"switch--medium": "lc-Switch-module__switch--medium___EcZwT",
|
|
6351
6379
|
"switch--focused": "lc-Switch-module__switch--focused___P9d9S",
|
|
6352
|
-
switch__input:
|
|
6380
|
+
switch__input: qn,
|
|
6353
6381
|
"switch__input--disabled": "lc-Switch-module__switch__input--disabled___Po8gh",
|
|
6354
|
-
switch__container:
|
|
6355
|
-
switch__track:
|
|
6382
|
+
switch__container: Zn,
|
|
6383
|
+
switch__track: Xn,
|
|
6356
6384
|
"switch__container--focused": "lc-Switch-module__switch__container--focused___bKy79",
|
|
6357
6385
|
"switch__track--disabled": "lc-Switch-module__switch__track--disabled___HkDhl",
|
|
6358
|
-
switch__slider:
|
|
6386
|
+
switch__slider: Jn,
|
|
6359
6387
|
"switch__slider--large": "lc-Switch-module__switch__slider--large___WoEgi",
|
|
6360
6388
|
"switch__slider--large--on": "lc-Switch-module__switch__slider--large--on___7Qp3G",
|
|
6361
6389
|
"switch__slider--large--off": "lc-Switch-module__switch__slider--large--off___iRMmD",
|
|
@@ -6366,12 +6394,12 @@ const aa = {
|
|
|
6366
6394
|
"switch__slider--medium--on": "lc-Switch-module__switch__slider--medium--on___SfeAV",
|
|
6367
6395
|
"switch__slider--medium--off": "lc-Switch-module__switch__slider--medium--off___eXJJz",
|
|
6368
6396
|
"switch__slider--disabled": "lc-Switch-module__switch__slider--disabled___A6hPg",
|
|
6369
|
-
switch__loader:
|
|
6397
|
+
switch__loader: Qn,
|
|
6370
6398
|
"switch__loader--compact": "lc-Switch-module__switch__loader--compact___3imUh",
|
|
6371
6399
|
"switch__loader--medium": "lc-Switch-module__switch__loader--medium___2zi05",
|
|
6372
6400
|
"switch__loader--large": "lc-Switch-module__switch__loader--large___vLRFa",
|
|
6373
|
-
switch__icon:
|
|
6374
|
-
}, te = "switch",
|
|
6401
|
+
switch__icon: jn
|
|
6402
|
+
}, te = "switch", Oi = (p) => {
|
|
6375
6403
|
var m = p, {
|
|
6376
6404
|
className: t = "",
|
|
6377
6405
|
defaultOn: a = !1,
|
|
@@ -6397,7 +6425,7 @@ const aa = {
|
|
|
6397
6425
|
]);
|
|
6398
6426
|
const f = o !== void 0, [b, v] = e.useState(
|
|
6399
6427
|
() => f ? o : a
|
|
6400
|
-
), [h, y] = e.useState(!1), E = f ? o : b, $ = c === "loading",
|
|
6428
|
+
), [h, y] = e.useState(!1), E = f ? o : b, $ = c === "loading", C = c === "locked", w = n === "large" ? "small" : "xsmall", g = E ? "on" : "off", N = r || $ || C, S = N ? "disabled" : "enabled", M = u(
|
|
6401
6429
|
ae[te],
|
|
6402
6430
|
ae[`${te}--${n}`],
|
|
6403
6431
|
{
|
|
@@ -6453,7 +6481,7 @@ const aa = {
|
|
|
6453
6481
|
)
|
|
6454
6482
|
},
|
|
6455
6483
|
$ && /* @__PURE__ */ e.createElement(
|
|
6456
|
-
|
|
6484
|
+
Nr,
|
|
6457
6485
|
{
|
|
6458
6486
|
"data-testid": "switch-loader",
|
|
6459
6487
|
className: u(
|
|
@@ -6462,29 +6490,29 @@ const aa = {
|
|
|
6462
6490
|
)
|
|
6463
6491
|
}
|
|
6464
6492
|
),
|
|
6465
|
-
|
|
6493
|
+
C && /* @__PURE__ */ e.createElement(
|
|
6466
6494
|
x,
|
|
6467
6495
|
{
|
|
6468
6496
|
className: ae[`${te}__icon`],
|
|
6469
6497
|
"data-testid": "lock-icon",
|
|
6470
|
-
size:
|
|
6471
|
-
source:
|
|
6498
|
+
size: w,
|
|
6499
|
+
source: X_,
|
|
6472
6500
|
kind: "primary"
|
|
6473
6501
|
}
|
|
6474
6502
|
)
|
|
6475
6503
|
)
|
|
6476
6504
|
));
|
|
6477
|
-
},
|
|
6478
|
-
tab:
|
|
6479
|
-
tab__count:
|
|
6505
|
+
}, ec = "lc-Tab-module__tab___fME7u", tc = "lc-Tab-module__tab__count___gc8tA", ac = "lc-Tab-module__tab__icon___wvUqO", rc = "lc-Tab-module__tab__badge___W9c-T", yt = {
|
|
6506
|
+
tab: ec,
|
|
6507
|
+
tab__count: tc,
|
|
6480
6508
|
"tab--compact": "lc-Tab-module__tab--compact___4qead",
|
|
6481
6509
|
"tab--medium": "lc-Tab-module__tab--medium___bHnGV",
|
|
6482
6510
|
"tab--large": "lc-Tab-module__tab--large___JL30g",
|
|
6483
|
-
tab__icon:
|
|
6484
|
-
tab__badge:
|
|
6511
|
+
tab__icon: ac,
|
|
6512
|
+
tab__badge: rc,
|
|
6485
6513
|
"tab--selected": "lc-Tab-module__tab--selected___c0EkL",
|
|
6486
6514
|
"tab--disabled": "lc-Tab-module__tab--disabled___URdTh"
|
|
6487
|
-
},
|
|
6515
|
+
}, Ct = "tab", Gi = (d) => {
|
|
6488
6516
|
var i = d, {
|
|
6489
6517
|
children: t,
|
|
6490
6518
|
className: a,
|
|
@@ -6512,42 +6540,42 @@ const aa = {
|
|
|
6512
6540
|
bold: _,
|
|
6513
6541
|
className: u(
|
|
6514
6542
|
a,
|
|
6515
|
-
yt[
|
|
6516
|
-
yt[`${
|
|
6517
|
-
_ && yt[`${
|
|
6518
|
-
s && yt[`${
|
|
6543
|
+
yt[Ct],
|
|
6544
|
+
yt[`${Ct}--${l}`],
|
|
6545
|
+
_ && yt[`${Ct}--selected`],
|
|
6546
|
+
s && yt[`${Ct}--disabled`]
|
|
6519
6547
|
)
|
|
6520
6548
|
}),
|
|
6521
|
-
n && /* @__PURE__ */ e.createElement("div", { "data-testId": "icon", className: yt[`${
|
|
6549
|
+
n && /* @__PURE__ */ e.createElement("div", { "data-testId": "icon", className: yt[`${Ct}__icon`] }, n),
|
|
6522
6550
|
t,
|
|
6523
|
-
p && /* @__PURE__ */ e.createElement(B, { as: "span", size: "md", className: yt[`${
|
|
6551
|
+
p && /* @__PURE__ */ e.createElement(B, { as: "span", size: "md", className: yt[`${Ct}__count`] }, "(", r, ")"),
|
|
6524
6552
|
m && /* @__PURE__ */ e.createElement(
|
|
6525
|
-
|
|
6553
|
+
La,
|
|
6526
6554
|
{
|
|
6527
6555
|
"data-testid": "tab-badge",
|
|
6528
6556
|
count: r,
|
|
6529
6557
|
size: "compact",
|
|
6530
|
-
className: yt[`${
|
|
6558
|
+
className: yt[`${Ct}__badge`]
|
|
6531
6559
|
}
|
|
6532
6560
|
)
|
|
6533
6561
|
);
|
|
6534
|
-
},
|
|
6535
|
-
tabs:
|
|
6536
|
-
tabs__list:
|
|
6537
|
-
},
|
|
6562
|
+
}, _c = "lc-TabsWrapper-module__tabs___Y2xyD", oc = "lc-TabsWrapper-module__tabs__list___i6tVO", S_ = {
|
|
6563
|
+
tabs: _c,
|
|
6564
|
+
tabs__list: oc
|
|
6565
|
+
}, x_ = "tabs", Ui = ({
|
|
6538
6566
|
className: t,
|
|
6539
6567
|
children: a
|
|
6540
|
-
}) => /* @__PURE__ */ e.createElement("div", { className: u(
|
|
6568
|
+
}) => /* @__PURE__ */ e.createElement("div", { className: u(S_[x_], t) }, a), Hi = ({
|
|
6541
6569
|
className: t,
|
|
6542
6570
|
children: a
|
|
6543
|
-
}) => /* @__PURE__ */ e.createElement("div", { role: "tablist", className: u(
|
|
6571
|
+
}) => /* @__PURE__ */ e.createElement("div", { role: "tablist", className: u(S_[`${x_}__list`], t) }, a), la = {
|
|
6544
6572
|
"tag-input": "lc-TagInput-module__tag-input___CLVY-",
|
|
6545
6573
|
"tag-input--error": "lc-TagInput-module__tag-input--error___RP0SB",
|
|
6546
6574
|
"tag-input__input": "lc-TagInput-module__tag-input__input___dgEYB",
|
|
6547
6575
|
"tag-input__input--medium": "lc-TagInput-module__tag-input__input--medium___DYF7X",
|
|
6548
6576
|
"tag-input__input--large": "lc-TagInput-module__tag-input__input--large___G6iEO",
|
|
6549
6577
|
"tag-input__tag__content": "lc-TagInput-module__tag-input__tag__content___x95-M"
|
|
6550
|
-
},
|
|
6578
|
+
}, lc = ({
|
|
6551
6579
|
className: t = "",
|
|
6552
6580
|
innerEditableRef: a,
|
|
6553
6581
|
inputRef: r,
|
|
@@ -6578,7 +6606,7 @@ const aa = {
|
|
|
6578
6606
|
}, f = (b) => {
|
|
6579
6607
|
b.preventDefault();
|
|
6580
6608
|
const v = b.clipboardData.getData("text/plain");
|
|
6581
|
-
document.execCommand("insertHTML", !1,
|
|
6609
|
+
document.execCommand("insertHTML", !1, Fr(v));
|
|
6582
6610
|
};
|
|
6583
6611
|
return /* @__PURE__ */ e.createElement(
|
|
6584
6612
|
"div",
|
|
@@ -6589,10 +6617,10 @@ const aa = {
|
|
|
6589
6617
|
onPaste: f,
|
|
6590
6618
|
onBlur: m,
|
|
6591
6619
|
onKeyDown: p,
|
|
6592
|
-
dangerouslySetInnerHTML: { __html:
|
|
6620
|
+
dangerouslySetInnerHTML: { __html: Fr(l) }
|
|
6593
6621
|
}
|
|
6594
6622
|
);
|
|
6595
|
-
},
|
|
6623
|
+
}, nc = "tag-input__tag", __ = ({
|
|
6596
6624
|
children: t,
|
|
6597
6625
|
index: a,
|
|
6598
6626
|
remove: r,
|
|
@@ -6603,25 +6631,25 @@ const aa = {
|
|
|
6603
6631
|
tagProps: c
|
|
6604
6632
|
}) => {
|
|
6605
6633
|
const d = e.useMemo(() => _ !== void 0 ? _(t) : !0, [t, _]), i = e.useRef(null), s = () => r(a), p = () => d ? c ? c.kind : "default" : "error";
|
|
6606
|
-
return /* @__PURE__ */ e.createElement(
|
|
6607
|
-
|
|
6634
|
+
return /* @__PURE__ */ e.createElement(y_, T(k({ size: n }, c), { kind: p(), onRemove: s }), /* @__PURE__ */ e.createElement(
|
|
6635
|
+
lc,
|
|
6608
6636
|
{
|
|
6609
6637
|
value: t,
|
|
6610
6638
|
inputRef: o,
|
|
6611
6639
|
innerEditableRef: i,
|
|
6612
|
-
className: la[`${
|
|
6640
|
+
className: la[`${nc}__content`],
|
|
6613
6641
|
change: (m) => l(a, m),
|
|
6614
6642
|
remove: s,
|
|
6615
6643
|
validator: _
|
|
6616
6644
|
}
|
|
6617
6645
|
));
|
|
6618
|
-
},
|
|
6646
|
+
}, Pa = "tag-input", cc = [
|
|
6619
6647
|
de.enter,
|
|
6620
6648
|
de.spacebar,
|
|
6621
6649
|
de.tab,
|
|
6622
6650
|
de.semicolon,
|
|
6623
6651
|
de.comma
|
|
6624
|
-
],
|
|
6652
|
+
], ic = [de.backspace, de.delete], sc = (m) => {
|
|
6625
6653
|
var f = m, {
|
|
6626
6654
|
id: t,
|
|
6627
6655
|
tags: a,
|
|
@@ -6648,29 +6676,29 @@ const aa = {
|
|
|
6648
6676
|
"addOnBlur"
|
|
6649
6677
|
]);
|
|
6650
6678
|
const b = u(
|
|
6651
|
-
la[
|
|
6679
|
+
la[Pa],
|
|
6652
6680
|
{
|
|
6653
|
-
[la[`${
|
|
6681
|
+
[la[`${Pa}--error`]]: o
|
|
6654
6682
|
},
|
|
6655
6683
|
c
|
|
6656
6684
|
), v = u(
|
|
6657
6685
|
d,
|
|
6658
|
-
la[`${
|
|
6659
|
-
la[`${
|
|
6686
|
+
la[`${Pa}__input`],
|
|
6687
|
+
la[`${Pa}__input--${n}`]
|
|
6660
6688
|
), [h, y] = e.useState(""), E = e.useRef(null), $ = (I) => {
|
|
6661
6689
|
I.trim() !== "" && (r([...a || [], I]), y(""));
|
|
6662
|
-
},
|
|
6690
|
+
}, C = (I) => {
|
|
6663
6691
|
const O = [...a || []];
|
|
6664
6692
|
O.splice(I, 1), r(O);
|
|
6665
|
-
},
|
|
6666
|
-
if (
|
|
6693
|
+
}, w = (I) => y(I.target.value), g = (I) => {
|
|
6694
|
+
if (cc.includes(I.key)) {
|
|
6667
6695
|
if (I.preventDefault(), h === "")
|
|
6668
6696
|
return;
|
|
6669
6697
|
$(h);
|
|
6670
|
-
} else if (
|
|
6698
|
+
} else if (ic.includes(I.key)) {
|
|
6671
6699
|
if (h !== "" || !(a != null && a.length))
|
|
6672
6700
|
return;
|
|
6673
|
-
|
|
6701
|
+
C(a.length - 1);
|
|
6674
6702
|
}
|
|
6675
6703
|
}, N = (I) => {
|
|
6676
6704
|
s && $(h), i == null || i(I);
|
|
@@ -6685,24 +6713,24 @@ const aa = {
|
|
|
6685
6713
|
const Y = I.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
|
|
6686
6714
|
r([...a || [], ...Y]);
|
|
6687
6715
|
}, G = (I, O) => typeof I == "string" ? /* @__PURE__ */ e.createElement(
|
|
6688
|
-
|
|
6716
|
+
__,
|
|
6689
6717
|
{
|
|
6690
6718
|
index: O,
|
|
6691
6719
|
key: `${O}${I}`,
|
|
6692
6720
|
update: S,
|
|
6693
|
-
remove:
|
|
6721
|
+
remove: C,
|
|
6694
6722
|
inputRef: E,
|
|
6695
6723
|
validator: _,
|
|
6696
6724
|
size: n
|
|
6697
6725
|
},
|
|
6698
6726
|
I
|
|
6699
6727
|
) : /* @__PURE__ */ e.createElement(
|
|
6700
|
-
|
|
6728
|
+
__,
|
|
6701
6729
|
{
|
|
6702
6730
|
index: O,
|
|
6703
6731
|
key: `${O}${I.children}`,
|
|
6704
6732
|
update: S,
|
|
6705
|
-
remove:
|
|
6733
|
+
remove: C,
|
|
6706
6734
|
inputRef: E,
|
|
6707
6735
|
validator: _,
|
|
6708
6736
|
size: n,
|
|
@@ -6718,24 +6746,24 @@ const aa = {
|
|
|
6718
6746
|
className: v,
|
|
6719
6747
|
placeholder: l,
|
|
6720
6748
|
value: h,
|
|
6721
|
-
onChange:
|
|
6749
|
+
onChange: w,
|
|
6722
6750
|
onKeyDown: g,
|
|
6723
6751
|
onPaste: M,
|
|
6724
6752
|
onBlur: N
|
|
6725
6753
|
})
|
|
6726
|
-
)), o && /* @__PURE__ */ e.createElement(
|
|
6727
|
-
},
|
|
6754
|
+
)), o && /* @__PURE__ */ e.createElement(Br, null, o));
|
|
6755
|
+
}, dc = /^(?:[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, uc = "name@company.com", mc = (t) => dc.test(t), zi = (r) => {
|
|
6728
6756
|
var _ = r, {
|
|
6729
|
-
placeholder: t =
|
|
6757
|
+
placeholder: t = uc
|
|
6730
6758
|
} = _, a = D(_, [
|
|
6731
6759
|
"placeholder"
|
|
6732
6760
|
]);
|
|
6733
|
-
return /* @__PURE__ */ e.createElement(
|
|
6734
|
-
},
|
|
6735
|
-
toast:
|
|
6736
|
-
toast__content:
|
|
6737
|
-
toast__actions:
|
|
6738
|
-
toast__actions__button:
|
|
6761
|
+
return /* @__PURE__ */ e.createElement(sc, T(k({}, a), { placeholder: t, validator: mc }));
|
|
6762
|
+
}, pc = "lc-Toast-module__toast___j5Amn", gc = "lc-Toast-module__toast__content___HjaNw", fc = "lc-Toast-module__toast__actions___JWu-1", bc = "lc-Toast-module__toast__actions__button___Iblrl", re = {
|
|
6763
|
+
toast: pc,
|
|
6764
|
+
toast__content: gc,
|
|
6765
|
+
toast__actions: fc,
|
|
6766
|
+
toast__actions__button: bc,
|
|
6739
6767
|
"toast__actions__button--success": "lc-Toast-module__toast__actions__button--success___5JmFw",
|
|
6740
6768
|
"toast__actions__button--warning": "lc-Toast-module__toast__actions__button--warning___zGQ-Q",
|
|
6741
6769
|
"toast__actions__button--error": "lc-Toast-module__toast__actions__button--error___PuTv3",
|
|
@@ -6761,20 +6789,20 @@ const aa = {
|
|
|
6761
6789
|
"toast-appear-active--fade": "lc-Toast-module__toast-appear-active--fade___D3--J",
|
|
6762
6790
|
"toast-exit--fade": "lc-Toast-module__toast-exit--fade___iDA1p",
|
|
6763
6791
|
"toast-exit-active--fade": "lc-Toast-module__toast-exit-active--fade___tL7sb"
|
|
6764
|
-
},
|
|
6792
|
+
}, hc = {
|
|
6765
6793
|
success: {
|
|
6766
|
-
source:
|
|
6794
|
+
source: Er
|
|
6767
6795
|
},
|
|
6768
6796
|
warning: {
|
|
6769
|
-
source:
|
|
6797
|
+
source: o_
|
|
6770
6798
|
},
|
|
6771
6799
|
error: {
|
|
6772
|
-
source:
|
|
6800
|
+
source: l_
|
|
6773
6801
|
},
|
|
6774
6802
|
info: {
|
|
6775
6803
|
source: ca
|
|
6776
6804
|
}
|
|
6777
|
-
}, mt = "toast",
|
|
6805
|
+
}, mt = "toast", vc = (c) => {
|
|
6778
6806
|
var d = c, {
|
|
6779
6807
|
action: t,
|
|
6780
6808
|
className: a,
|
|
@@ -6795,7 +6823,7 @@ const aa = {
|
|
|
6795
6823
|
re[`${mt}--${o}`],
|
|
6796
6824
|
a
|
|
6797
6825
|
), s = typeof r == "string", p = (m) => m && m.closesOnClick && l ? (m.onClick(), l()) : m.onClick();
|
|
6798
|
-
return /* @__PURE__ */ e.createElement("div", k({ className: i }, n), /* @__PURE__ */ e.createElement("div", { className: re[`${mt}__icon`] }, /* @__PURE__ */ e.createElement(x, T(k({},
|
|
6826
|
+
return /* @__PURE__ */ e.createElement("div", k({ className: i }, n), /* @__PURE__ */ e.createElement("div", { className: re[`${mt}__icon`] }, /* @__PURE__ */ e.createElement(x, T(k({}, hc[o]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: re[`${mt}__content`] }, s ? /* @__PURE__ */ e.createElement(B, { as: "div" }, r) : r), (t || _) && /* @__PURE__ */ e.createElement("div", { className: re[`${mt}__actions`] }, t && /* @__PURE__ */ e.createElement(
|
|
6799
6827
|
W,
|
|
6800
6828
|
{
|
|
6801
6829
|
className: re[`${mt}__actions--custom`],
|
|
@@ -6816,7 +6844,7 @@ const aa = {
|
|
|
6816
6844
|
},
|
|
6817
6845
|
/* @__PURE__ */ e.createElement(x, { source: Ie, size: "medium" })
|
|
6818
6846
|
)));
|
|
6819
|
-
},
|
|
6847
|
+
}, kc = 200, _a = "toast-wrapper", Wi = ({
|
|
6820
6848
|
className: t,
|
|
6821
6849
|
toasts: a = [],
|
|
6822
6850
|
fixed: r = !0,
|
|
@@ -6835,8 +6863,8 @@ const aa = {
|
|
|
6835
6863
|
},
|
|
6836
6864
|
t
|
|
6837
6865
|
);
|
|
6838
|
-
return /* @__PURE__ */ e.createElement("div", { className: c }, /* @__PURE__ */ e.createElement(
|
|
6839
|
-
|
|
6866
|
+
return /* @__PURE__ */ e.createElement("div", { className: c }, /* @__PURE__ */ e.createElement(d_, { component: null }, a.map(({ id: d, kind: i, content: s, removable: p, action: m, onClose: f }) => /* @__PURE__ */ e.createElement(
|
|
6867
|
+
u_,
|
|
6840
6868
|
{
|
|
6841
6869
|
key: d,
|
|
6842
6870
|
classNames: {
|
|
@@ -6845,10 +6873,10 @@ const aa = {
|
|
|
6845
6873
|
exit: re[`toast-exit--${o}`],
|
|
6846
6874
|
exitActive: re[`toast-exit-active--${o}`]
|
|
6847
6875
|
},
|
|
6848
|
-
timeout:
|
|
6876
|
+
timeout: kc
|
|
6849
6877
|
},
|
|
6850
6878
|
/* @__PURE__ */ e.createElement(
|
|
6851
|
-
|
|
6879
|
+
vc,
|
|
6852
6880
|
{
|
|
6853
6881
|
kind: i,
|
|
6854
6882
|
onClose: f,
|
|
@@ -6858,18 +6886,18 @@ const aa = {
|
|
|
6858
6886
|
s
|
|
6859
6887
|
)
|
|
6860
6888
|
))));
|
|
6861
|
-
},
|
|
6862
|
-
textarea:
|
|
6889
|
+
}, Ec = "lc-Textarea-module__textarea___g6U8F", Fa = {
|
|
6890
|
+
textarea: Ec,
|
|
6863
6891
|
"textarea--focused": "lc-Textarea-module__textarea--focused___1vtEx",
|
|
6864
6892
|
"textarea--disabled": "lc-Textarea-module__textarea--disabled___xXaGv",
|
|
6865
6893
|
"textarea--error": "lc-Textarea-module__textarea--error___0EGuq"
|
|
6866
|
-
},
|
|
6894
|
+
}, Ra = "textarea", Vi = e.forwardRef(
|
|
6867
6895
|
(o, _) => {
|
|
6868
6896
|
var l = o, { className: t, error: a } = l, r = D(l, ["className", "error"]);
|
|
6869
|
-
const { disabled: n, onBlur: c, onFocus: d } = r, [i, s] = e.useState(!1), p = u(t,
|
|
6870
|
-
[
|
|
6871
|
-
[
|
|
6872
|
-
[
|
|
6897
|
+
const { disabled: n, onBlur: c, onFocus: d } = r, [i, s] = e.useState(!1), p = u(t, Fa[Ra], {
|
|
6898
|
+
[Fa[`${Ra}--disabled`]]: n,
|
|
6899
|
+
[Fa[`${Ra}--focused`]]: i,
|
|
6900
|
+
[Fa[`${Ra}--error`]]: a
|
|
6873
6901
|
}), m = (b) => {
|
|
6874
6902
|
s(!1), c == null || c(b);
|
|
6875
6903
|
}, f = (b) => {
|
|
@@ -6884,26 +6912,26 @@ const aa = {
|
|
|
6884
6912
|
})
|
|
6885
6913
|
));
|
|
6886
6914
|
}
|
|
6887
|
-
),
|
|
6915
|
+
), yc = {
|
|
6888
6916
|
"update-badge": "lc-UpdateBadge-module__update-badge___Y-CXQ"
|
|
6889
|
-
},
|
|
6917
|
+
}, Cc = "update-badge", Ki = () => /* @__PURE__ */ e.createElement("span", { className: yc[Cc] }), ur = {
|
|
6890
6918
|
"file-upload-progress-actions": "lc-FileUploadProgressActions-module__file-upload-progress-actions___qOBr2",
|
|
6891
6919
|
"file-upload-progress-actions__close-button": "lc-FileUploadProgressActions-module__file-upload-progress-actions__close-button___Eh4um",
|
|
6892
6920
|
"file-upload-progress-actions__retry-button": "lc-FileUploadProgressActions-module__file-upload-progress-actions__retry-button___DqFEo"
|
|
6893
|
-
},
|
|
6921
|
+
}, mr = "file-upload-progress-actions", kr = ({ status: t, onCloseButtonClick: a, onRetryButtonClick: r }) => /* @__PURE__ */ e.createElement("div", { className: ur[`${mr}`] }, r && t === "error" && /* @__PURE__ */ e.createElement(
|
|
6894
6922
|
"button",
|
|
6895
6923
|
{
|
|
6896
6924
|
type: "button",
|
|
6897
|
-
className:
|
|
6925
|
+
className: ur[`${mr}__retry-button`],
|
|
6898
6926
|
"aria-label": "Retry",
|
|
6899
6927
|
onClick: r
|
|
6900
6928
|
},
|
|
6901
|
-
/* @__PURE__ */ e.createElement(x, { size: "small", source:
|
|
6929
|
+
/* @__PURE__ */ e.createElement(x, { size: "small", source: J_ })
|
|
6902
6930
|
), a && t !== "success" && /* @__PURE__ */ e.createElement(
|
|
6903
6931
|
"button",
|
|
6904
6932
|
{
|
|
6905
6933
|
type: "button",
|
|
6906
|
-
className:
|
|
6934
|
+
className: ur[`${mr}__close-button`],
|
|
6907
6935
|
"aria-label": "Close",
|
|
6908
6936
|
onClick: a
|
|
6909
6937
|
},
|
|
@@ -6919,7 +6947,7 @@ const aa = {
|
|
|
6919
6947
|
"file-upload-progress__wrapper__header__title": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title___2IVuv",
|
|
6920
6948
|
"file-upload-progress__wrapper__header__title--success": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--success___E6DQl",
|
|
6921
6949
|
"file-upload-progress__wrapper__header__title--error": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--error___5BPpI"
|
|
6922
|
-
}, _t = "file-upload-progress",
|
|
6950
|
+
}, _t = "file-upload-progress", pr = `${_t}__wrapper__header__title`, wc = e.forwardRef(
|
|
6923
6951
|
({
|
|
6924
6952
|
actionsVisibility: t = "hidden",
|
|
6925
6953
|
className: a,
|
|
@@ -6949,9 +6977,9 @@ const aa = {
|
|
|
6949
6977
|
/* @__PURE__ */ e.createElement("div", { className: Me[`${_t}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
|
|
6950
6978
|
"div",
|
|
6951
6979
|
{
|
|
6952
|
-
className: u(Me[
|
|
6953
|
-
[Me[`${
|
|
6954
|
-
[Me[`${
|
|
6980
|
+
className: u(Me[pr], {
|
|
6981
|
+
[Me[`${pr}--success`]]: n === "success",
|
|
6982
|
+
[Me[`${pr}--error`]]: n === "error"
|
|
6955
6983
|
})
|
|
6956
6984
|
},
|
|
6957
6985
|
/* @__PURE__ */ e.createElement(B, { size: "sm", as: "div" }, _)
|
|
@@ -6963,7 +6991,7 @@ const aa = {
|
|
|
6963
6991
|
})
|
|
6964
6992
|
},
|
|
6965
6993
|
/* @__PURE__ */ e.createElement(
|
|
6966
|
-
|
|
6994
|
+
kr,
|
|
6967
6995
|
{
|
|
6968
6996
|
status: n,
|
|
6969
6997
|
onCloseButtonClick: c,
|
|
@@ -6972,7 +7000,7 @@ const aa = {
|
|
|
6972
7000
|
)
|
|
6973
7001
|
)),
|
|
6974
7002
|
n !== "success" && /* @__PURE__ */ e.createElement(
|
|
6975
|
-
|
|
7003
|
+
zn,
|
|
6976
7004
|
{
|
|
6977
7005
|
className: a,
|
|
6978
7006
|
percent: o,
|
|
@@ -7002,7 +7030,7 @@ const aa = {
|
|
|
7002
7030
|
"upload-bar__files--exit-done": "lc-UploadBar-module__upload-bar__files--exit-done___2I72G",
|
|
7003
7031
|
"upload-bar__files-wrapper": "lc-UploadBar-module__upload-bar__files-wrapper___93bs8",
|
|
7004
7032
|
"upload-bar__files__list": "lc-UploadBar-module__upload-bar__files__list___QJFEq"
|
|
7005
|
-
}, ke = "upload-bar", ot = `${ke}__wrapper__header`,
|
|
7033
|
+
}, ke = "upload-bar", ot = `${ke}__wrapper__header`, $c = 300, Nc = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement(
|
|
7006
7034
|
"div",
|
|
7007
7035
|
{
|
|
7008
7036
|
"data-testid": "success-icon",
|
|
@@ -7015,15 +7043,15 @@ const aa = {
|
|
|
7015
7043
|
"data-testid": "error-icon",
|
|
7016
7044
|
className: K[`${ot}__error-icon`]
|
|
7017
7045
|
},
|
|
7018
|
-
/* @__PURE__ */ e.createElement(x, { source:
|
|
7046
|
+
/* @__PURE__ */ e.createElement(x, { source: Q_ })
|
|
7019
7047
|
) : /* @__PURE__ */ e.createElement(
|
|
7020
|
-
|
|
7048
|
+
Hn,
|
|
7021
7049
|
{
|
|
7022
7050
|
className: K[`${ot}__loader`],
|
|
7023
7051
|
status: t,
|
|
7024
7052
|
progressValue: a
|
|
7025
7053
|
}
|
|
7026
|
-
),
|
|
7054
|
+
), Yi = ({
|
|
7027
7055
|
children: t,
|
|
7028
7056
|
className: a,
|
|
7029
7057
|
progressValue: r,
|
|
@@ -7042,7 +7070,7 @@ const aa = {
|
|
|
7042
7070
|
[K[`${ke}--success`]]: v
|
|
7043
7071
|
}), y = !(b && (p || s)), E = () => f(!m);
|
|
7044
7072
|
return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: h }, /* @__PURE__ */ e.createElement("div", { className: K[`${ke}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement(
|
|
7045
|
-
|
|
7073
|
+
wc,
|
|
7046
7074
|
{
|
|
7047
7075
|
title: b && l || _,
|
|
7048
7076
|
progressValue: r,
|
|
@@ -7051,7 +7079,7 @@ const aa = {
|
|
|
7051
7079
|
size: d
|
|
7052
7080
|
}
|
|
7053
7081
|
)), n === "error" && /* @__PURE__ */ e.createElement(
|
|
7054
|
-
|
|
7082
|
+
kr,
|
|
7055
7083
|
{
|
|
7056
7084
|
status: n,
|
|
7057
7085
|
onCloseButtonClick: s,
|
|
@@ -7063,7 +7091,7 @@ const aa = {
|
|
|
7063
7091
|
className: K[`${ke}__wrapper`],
|
|
7064
7092
|
onClick: E
|
|
7065
7093
|
},
|
|
7066
|
-
/* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}__icon`] },
|
|
7094
|
+
/* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}__icon`] }, Nc(n, r)), /* @__PURE__ */ e.createElement("div", { className: K[`${ot}__title`] }, /* @__PURE__ */ e.createElement(B, { size: "sm", as: "div" }, b ? l : _)), y && /* @__PURE__ */ e.createElement(
|
|
7067
7095
|
"button",
|
|
7068
7096
|
{
|
|
7069
7097
|
className: K[`${ot}__collapse-button`],
|
|
@@ -7071,19 +7099,19 @@ const aa = {
|
|
|
7071
7099
|
"aria-label": "Collapse button",
|
|
7072
7100
|
onClick: E
|
|
7073
7101
|
},
|
|
7074
|
-
m ? /* @__PURE__ */ e.createElement(x, { source:
|
|
7102
|
+
m ? /* @__PURE__ */ e.createElement(x, { source: Ua }) : /* @__PURE__ */ e.createElement(x, { source: Ot })
|
|
7075
7103
|
), n === "error" && /* @__PURE__ */ e.createElement("div", { className: K[`${ot}__actions-container`] }, /* @__PURE__ */ e.createElement(
|
|
7076
|
-
|
|
7104
|
+
kr,
|
|
7077
7105
|
{
|
|
7078
7106
|
status: n,
|
|
7079
7107
|
onCloseButtonClick: s,
|
|
7080
7108
|
onRetryButtonClick: p
|
|
7081
7109
|
}
|
|
7082
7110
|
)))
|
|
7083
|
-
), /* @__PURE__ */ e.createElement(
|
|
7084
|
-
|
|
7111
|
+
), /* @__PURE__ */ e.createElement(d_, { component: null }, m && /* @__PURE__ */ e.createElement(
|
|
7112
|
+
u_,
|
|
7085
7113
|
{
|
|
7086
|
-
timeout:
|
|
7114
|
+
timeout: $c,
|
|
7087
7115
|
classNames: {
|
|
7088
7116
|
enter: K[`${ke}__files--enter`],
|
|
7089
7117
|
enterActive: K[`${ke}__files--enter-active`],
|
|
@@ -7096,102 +7124,103 @@ const aa = {
|
|
|
7096
7124
|
)));
|
|
7097
7125
|
};
|
|
7098
7126
|
export {
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7127
|
+
kc as ANIMATION_TIME,
|
|
7128
|
+
ei as ActionBar,
|
|
7129
|
+
ti as ActionCard,
|
|
7130
|
+
bo as ActionMenu,
|
|
7131
|
+
ho as ActionMenuItem,
|
|
7132
|
+
wi as ActionModalContent,
|
|
7133
|
+
ai as Alert,
|
|
7134
|
+
ri as AppFrame,
|
|
7135
|
+
mo as AppFrameProvider,
|
|
7136
|
+
ml as Avatar,
|
|
7137
|
+
La as Badge,
|
|
7110
7138
|
W as Button,
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7139
|
+
di as Card,
|
|
7140
|
+
Rl as Checkbox,
|
|
7141
|
+
zl as DatePicker,
|
|
7142
|
+
ui as DatePickerRangeCalendarsWrapper,
|
|
7143
|
+
Gc as DesignToken,
|
|
7144
|
+
mi as DetailsCard,
|
|
7145
|
+
pi as DetailsCardInfo,
|
|
7146
|
+
qc as Display,
|
|
7147
|
+
zi as EmailTagInput,
|
|
7148
|
+
ii as ExpirationCounter,
|
|
7149
|
+
Va as FieldDescription,
|
|
7150
|
+
Br as FieldError,
|
|
7151
|
+
gi as FieldGroup,
|
|
7152
|
+
wc as FileUploadProgress,
|
|
7153
|
+
kr as FileUploadProgressActions,
|
|
7154
|
+
fi as Form,
|
|
7155
|
+
bi as FormField,
|
|
7156
|
+
hi as FormGroup,
|
|
7128
7157
|
ne as Heading,
|
|
7129
7158
|
x as Icon,
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7159
|
+
Xc as Info,
|
|
7160
|
+
vi as Input,
|
|
7161
|
+
Jc as Interactive,
|
|
7162
|
+
ki as Link,
|
|
7163
|
+
Nr as Loader,
|
|
7164
|
+
Ei as Modal,
|
|
7165
|
+
_n as ModalBase,
|
|
7166
|
+
jr as ModalCloseButton,
|
|
7167
|
+
Ci as ModalHeader,
|
|
7168
|
+
yi as ModalPortal,
|
|
7169
|
+
ci as Navigation,
|
|
7170
|
+
li as NavigationGroup,
|
|
7171
|
+
ni as NavigationItem,
|
|
7172
|
+
h_ as NavigationTopBar,
|
|
7173
|
+
ol as NavigationTopBarAlert,
|
|
7174
|
+
_l as NavigationTopBarTitle,
|
|
7175
|
+
$i as NumericInput,
|
|
7176
|
+
Ni as OnboardingChecklist,
|
|
7177
|
+
Si as Picker,
|
|
7178
|
+
pn as PickerList,
|
|
7179
|
+
xi as Popover,
|
|
7180
|
+
Bi as ProductSwitcher,
|
|
7181
|
+
In as ProductSwitcherProducts,
|
|
7182
|
+
zn as ProgressBar,
|
|
7183
|
+
Hn as ProgressCircle,
|
|
7184
|
+
Ti as PromoBanner,
|
|
7185
|
+
Di as PromoBannerV2,
|
|
7186
|
+
Ai as RadioButton,
|
|
7187
|
+
zc as RadiusToken,
|
|
7188
|
+
Vl as RangeDatePicker,
|
|
7189
|
+
jc as Reports,
|
|
7190
|
+
Yo as SIDE_NAVIGATION_ACTIVE_ITEM_TEST_ID,
|
|
7191
|
+
Ko as SIDE_NAVIGATION_ITEM_TEST_ID,
|
|
7192
|
+
qo as SIDE_NAVIGATION_PARENT_ICON_TEST_ID,
|
|
7193
|
+
Pi as SearchInput,
|
|
7194
|
+
si as SegmentedControl,
|
|
7195
|
+
Hc as ShadowToken,
|
|
7196
|
+
_i as SideNavigation,
|
|
7197
|
+
oi as SideNavigationGroup,
|
|
7198
|
+
Zo as SideNavigationItem,
|
|
7199
|
+
Zc as Simple,
|
|
7200
|
+
Ri as SkeletonAvatar,
|
|
7201
|
+
Mi as SkeletonText,
|
|
7202
|
+
Fi as SkeletonWrapper,
|
|
7203
|
+
Uc as SpacingToken,
|
|
7204
|
+
Li as StatusBadge,
|
|
7205
|
+
Oi as Switch,
|
|
7206
|
+
Gi as Tab,
|
|
7207
|
+
Hi as TabsList,
|
|
7208
|
+
Ui as TabsWrapper,
|
|
7209
|
+
y_ as Tag,
|
|
7210
|
+
sc as TagInput,
|
|
7182
7211
|
B as Text,
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7212
|
+
Vi as Textarea,
|
|
7213
|
+
vc as Toast,
|
|
7214
|
+
Wi as ToastWrapper,
|
|
7186
7215
|
Lt as Tooltip,
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7216
|
+
Kc as TransitionDelayToken,
|
|
7217
|
+
Wc as TransitionDurationToken,
|
|
7218
|
+
Vc as TransitionTimingToken,
|
|
7219
|
+
Ki as UpdateBadge,
|
|
7220
|
+
Yi as UploadBar,
|
|
7221
|
+
Qc as UserGuide,
|
|
7222
|
+
ll as generateAvatarColor,
|
|
7223
|
+
Yc as getDesignTokenWithOpacity,
|
|
7224
|
+
uo as useAppFrame,
|
|
7225
|
+
Ii as useProductSwitcher
|
|
7197
7226
|
};
|