@fluidattacks/design 3.16.4-pr → 3.16.4
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/assets/index.css +1 -1
- package/dist/components/@core/index.js +1 -1
- package/dist/components/accordion/accordion-content/index.js +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/card/card-header/index.js +1 -1
- package/dist/components/card/card-with-image/index.js +1 -1
- package/dist/components/card/card-with-input/index.js +1 -1
- package/dist/components/card/card-with-options/index.js +1 -1
- package/dist/components/card/card-with-selector/index.js +1 -1
- package/dist/components/card/card-with-switch/index.js +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/cloud-image/index.js +1 -1
- package/dist/components/code-snippet/index.js +1 -1
- package/dist/components/code-snippet/location-code/index.js +1 -1
- package/dist/components/colors/index.js +1 -1
- package/dist/components/confirm-dialog/index.js +1 -1
- package/dist/components/container/index.js +1 -1
- package/dist/components/divider/index.js +1 -1
- package/dist/components/empty-state/empty-button/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/file-preview/index.js +1 -1
- package/dist/components/form/index.js +1 -1
- package/dist/components/form/inner-form/index.js +1 -1
- package/dist/components/grid-container/index.js +1 -1
- package/dist/components/group-selector/index.js +1 -1
- package/dist/components/group-selector/option-container/index.js +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/indicator-card/index.js +1 -1
- package/dist/components/info-sidebar/index.js +1 -1
- package/dist/components/inputs/fields/combobox/field/index.js +1 -1
- package/dist/components/inputs/fields/combobox/index.js +1 -1
- package/dist/components/inputs/fields/combobox/option/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/cell/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/grid/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/header/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date/index.js +1 -1
- package/dist/components/inputs/fields/date-range/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date-range/index.js +1 -1
- package/dist/components/inputs/fields/date-time/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date-time/index.js +1 -1
- package/dist/components/inputs/fields/editable/index.js +1 -1
- package/dist/components/inputs/fields/input/index.js +1 -1
- package/dist/components/inputs/fields/input-array/field/index.js +1 -1
- package/dist/components/inputs/fields/input-array/index.js +1 -1
- package/dist/components/inputs/fields/input-file/index.js +1 -1
- package/dist/components/inputs/fields/input-tags/field/index.js +1 -1
- package/dist/components/inputs/fields/input-tags/index.js +1 -1
- package/dist/components/inputs/fields/number/index.js +1 -1
- package/dist/components/inputs/fields/number-range/index.js +1 -1
- package/dist/components/inputs/fields/phone/index.js +1 -1
- package/dist/components/inputs/fields/text-area/index.js +1 -1
- package/dist/components/inputs/index.js +1 -1
- package/dist/components/inputs/label/index.js +1 -1
- package/dist/components/inputs/outline-container/index.js +1 -1
- package/dist/components/inputs/utils/action-button/index.js +1 -1
- package/dist/components/inputs/utils/calendar-button/index.js +1 -1
- package/dist/components/inputs/utils/date-selector/index.js +1 -1
- package/dist/components/inputs/utils/date-time-field/index.js +1 -1
- package/dist/components/inputs/utils/dialog/index.js +1 -1
- package/dist/components/inputs/utils/number-field/index.js +1 -1
- package/dist/components/inputs/utils/popover/index.js +1 -1
- package/dist/components/layout/categories/buttons/index.js +1 -1
- package/dist/components/layout/categories/column/index.js +1 -1
- package/dist/components/layout/categories/gap/index.js +1 -1
- package/dist/components/layout/categories/row/index.js +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/list-item/index.js +1 -1
- package/dist/components/little-flag/index.js +1 -1
- package/dist/components/loading/index.js +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/lottie/index.js +1 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/components/message-banner/index.js +1 -1
- package/dist/components/modal/columns-modal/index.js +1 -1
- package/dist/components/modal/columns-modal/preview-panel/index.js +1 -1
- package/dist/components/modal/columns-modal/search-panel/index.js +1 -1
- package/dist/components/modal/filters-modal/applied-filter/index.js +1 -1
- package/dist/components/modal/filters-modal/applied-filters/index.js +1 -1
- package/dist/components/modal/filters-modal/column-filters/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-control/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-form/form-content/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-form/hooks/index.js +1 -1
- package/dist/components/modal/filters-modal/filter-form/index.js +1 -1
- package/dist/components/modal/filters-modal/filters-list/index.js +1 -1
- package/dist/components/modal/filters-modal/index.js +1 -1
- package/dist/components/modal/footer/index.js +1 -1
- package/dist/components/modal/header/index.js +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/modal-confirm/index.js +1 -1
- package/dist/components/notification/index.js +1 -1
- package/dist/components/notification-sign/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/oauth-selector/index.js +1 -1
- package/dist/components/oauth-selector/option-container/index.js +1 -1
- package/dist/components/plan-card/index.js +1 -1
- package/dist/components/plan-card/recommended-tag/index.js +1 -1
- package/dist/components/pop-up/description/index.js +1 -1
- package/dist/components/pop-up/index.js +1 -1
- package/dist/components/premium-feature/index.js +1 -1
- package/dist/components/priority-score/index.js +1 -1
- package/dist/components/progress-bar/index.js +1 -1
- package/dist/components/radio-button/index.js +1 -1
- package/dist/components/scroll-button/index.js +1 -1
- package/dist/components/search/index.js +1 -1
- package/dist/components/severity-badge/index.js +1 -1
- package/dist/components/severity-overview/badge/index.js +1 -1
- package/dist/components/severity-overview/index.js +1 -1
- package/dist/components/show-on-hover/index.js +1 -1
- package/dist/components/slide-out-menu/index.js +1 -1
- package/dist/components/slide-out-menu/menu-item/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/thumb/index.js +1 -1
- package/dist/components/step-lapse/index.js +1 -1
- package/dist/components/table-button/index.js +1 -1
- package/dist/components/tabs/fixed-tabs/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/tab/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/timeline/card/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/toggle-buttons/index.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tour/index.js +1 -1
- package/dist/components/typography/heading/index.js +1 -1
- package/dist/components/typography/index.js +1 -1
- package/dist/components/typography/span/index.js +1 -1
- package/dist/components/typography/text/index.js +1 -1
- package/dist/{components-DlOYpSPy.js → components-CAuhgM55.js} +186 -186
- package/dist/{components-CpYtVyZF.mjs → components-DRqO8HHB.mjs} +805 -805
- package/dist/hooks/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{vendor-BQBri7G-.mjs → vendor-4R9pmxhU.mjs} +20032 -20764
- package/dist/vendor-DuayZeS3.js +204 -0
- package/package.json +6 -6
- package/dist/vendor-C1dWvaay.js +0 -223
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, jsxs as h, Fragment as He } from "react/jsx-runtime";
|
|
2
2
|
import kt, { forwardRef as _, useState as F, useCallback as k, StrictMode as ni, useEffect as U, useRef as O, useMemo as te, Fragment as Oe, Children as ai, isValidElement as ri, cloneElement as oi } from "react";
|
|
3
|
-
import { o as li, d as b, n as D, u as si, a as ci, b as di, c as pi, e as gi, l as P, f as Ct, g as ui, h as fi, s as hi, i as fe, _ as R, $ as yi, j as bi, k as $i, m as xi, p as mi, q as wi, r as vi, t as ki, v as St, C as Be, w as Ci, x as Si, y as zi, z as et, A as ke, B as Ii, D as Ti, E as zt, F as It, G as Ce, H as Ni, I as Fi, J as Di, K as ji, L as Li, M as se, N as Ei, O as Tt, P as Ri, Q as Nt, R as Ai, S as Pi, T as Wi, U as Vi, V as Hi, W as Oi, X as Ft, Y as Bi, Z as tt, a0 as it, a1 as nt, a2 as Mi, a3 as Gi, a4 as Ui, a5 as _i, a6 as Yi, a7 as Ki, a8 as qi, a9 as Xi, aa as Dt, ab as Ji, ac as Zi, ad as Qi, ae as en, af as tn, ai as jt, aj as nn, ak as an, al as rn, am as on, an as ln, ao as sn, ap as cn, aq as dn, ar as pn, as as at, at as gn, au as rt, av as un } from "./vendor-
|
|
3
|
+
import { o as li, d as b, n as D, u as si, a as ci, b as di, c as pi, e as gi, l as P, f as Ct, g as ui, h as fi, s as hi, i as fe, _ as R, $ as yi, j as bi, k as $i, m as xi, p as mi, q as wi, r as vi, t as ki, v as St, C as Be, w as Ci, x as Si, y as zi, z as et, A as ke, B as Ii, D as Ti, E as zt, F as It, G as Ce, H as Ni, I as Fi, J as Di, K as ji, L as Li, M as se, N as Ei, O as Tt, P as Ri, Q as Nt, R as Ai, S as Pi, T as Wi, U as Vi, V as Hi, W as Oi, X as Ft, Y as Bi, Z as tt, a0 as it, a1 as nt, a2 as Mi, a3 as Gi, a4 as Ui, a5 as _i, a6 as Yi, a7 as Ki, a8 as qi, a9 as Xi, aa as Dt, ab as Ji, ac as Zi, ad as Qi, ae as en, af as tn, ai as jt, aj as nn, ak as an, al as rn, am as on, an as ln, ao as sn, ap as cn, aq as dn, ar as pn, as as at, at as gn, au as rt, av as un } from "./vendor-4R9pmxhU.mjs";
|
|
4
4
|
import { createPortal as de } from "react-dom";
|
|
5
5
|
import { Link as fn, useLocation as hn, NavLink as yn } from "react-router-dom";
|
|
6
6
|
const re = (e) => ({
|
|
@@ -4825,200 +4825,7 @@ const N = _(function({
|
|
|
4825
4825
|
]
|
|
4826
4826
|
}
|
|
4827
4827
|
);
|
|
4828
|
-
}, _a =
|
|
4829
|
-
${({ theme: e }) => `
|
|
4830
|
-
align-items: center;
|
|
4831
|
-
color: ${e.palette.gray[600]};
|
|
4832
|
-
display: flex;
|
|
4833
|
-
cursor: pointer;
|
|
4834
|
-
font-family: ${e.typography.type.primary};
|
|
4835
|
-
font-size: ${e.typography.text.sm};
|
|
4836
|
-
font-weight: ${e.typography.weight.regular};
|
|
4837
|
-
line-height: ${e.spacing[1]};
|
|
4838
|
-
letter-spacing: 0;
|
|
4839
|
-
position: relative;
|
|
4840
|
-
text-align: left;
|
|
4841
|
-
|
|
4842
|
-
&[aria-disabled="true"] {
|
|
4843
|
-
color: ${e.palette.gray[300]};
|
|
4844
|
-
cursor: not-allowed;
|
|
4845
|
-
}
|
|
4846
|
-
|
|
4847
|
-
input {
|
|
4848
|
-
position: absolute;
|
|
4849
|
-
opacity: 0;
|
|
4850
|
-
cursor: pointer;
|
|
4851
|
-
}
|
|
4852
|
-
|
|
4853
|
-
svg {
|
|
4854
|
-
background-color: ${e.palette.white};
|
|
4855
|
-
border-radius: ${e.spacing[0.25]};
|
|
4856
|
-
border: 1px solid ${e.palette.gray[600]};
|
|
4857
|
-
top: 0;
|
|
4858
|
-
left: 0;
|
|
4859
|
-
height: ${e.spacing[0.5]};
|
|
4860
|
-
margin-right: ${e.spacing[0.5]};
|
|
4861
|
-
width: ${e.spacing[0.5]};
|
|
4862
|
-
padding: ${e.spacing[0.25]};
|
|
4863
|
-
}
|
|
4864
|
-
|
|
4865
|
-
svg > path {
|
|
4866
|
-
fill: ${e.palette.white};
|
|
4867
|
-
}
|
|
4868
|
-
|
|
4869
|
-
input:checked ~ span > svg {
|
|
4870
|
-
background-color: ${e.palette.primary[500]};
|
|
4871
|
-
border: 1px solid ${e.palette.primary[500]};
|
|
4872
|
-
}
|
|
4873
|
-
|
|
4874
|
-
input:disabled ~ span > svg {
|
|
4875
|
-
border: 1px solid ${e.palette.gray[300]};
|
|
4876
|
-
cursor: not-allowed;
|
|
4877
|
-
}
|
|
4878
|
-
|
|
4879
|
-
input:not(:disabled):hover ~ span > svg {
|
|
4880
|
-
box-shadow: 0 0 0 4px ${e.palette.gray[100]};
|
|
4881
|
-
}
|
|
4882
|
-
|
|
4883
|
-
input:checked:disabled ~ span > svg {
|
|
4884
|
-
background-color: ${e.palette.gray[300]};
|
|
4885
|
-
border: 1px solid ${e.palette.gray[300]};
|
|
4886
|
-
}
|
|
4887
|
-
|
|
4888
|
-
input:not(:disabled):hover:checked ~ span > svg {
|
|
4889
|
-
box-shadow: 0 0 0 4px ${e.palette.primary[50]};
|
|
4890
|
-
}
|
|
4891
|
-
|
|
4892
|
-
input:checked ~ span > svg > path {
|
|
4893
|
-
fill: ${e.palette.white};
|
|
4894
|
-
}
|
|
4895
|
-
|
|
4896
|
-
input:checked:disabled ~ span > svg > path {
|
|
4897
|
-
fill: ${e.palette.white};
|
|
4898
|
-
}
|
|
4899
|
-
`}
|
|
4900
|
-
`, qe = _(function({
|
|
4901
|
-
checked: t,
|
|
4902
|
-
disabled: i = !1,
|
|
4903
|
-
label: a,
|
|
4904
|
-
name: r,
|
|
4905
|
-
onChange: o,
|
|
4906
|
-
onClick: l,
|
|
4907
|
-
onFocus: s,
|
|
4908
|
-
onKeyDown: c,
|
|
4909
|
-
tooltip: d,
|
|
4910
|
-
value: p,
|
|
4911
|
-
...g
|
|
4912
|
-
}, u) {
|
|
4913
|
-
return /* @__PURE__ */ h("div", { className: "gap-1 inline-flex items-start", children: [
|
|
4914
|
-
/* @__PURE__ */ h(_a, { "aria-disabled": i, children: [
|
|
4915
|
-
/* @__PURE__ */ n(
|
|
4916
|
-
"input",
|
|
4917
|
-
{
|
|
4918
|
-
"aria-checked": t,
|
|
4919
|
-
"aria-disabled": i,
|
|
4920
|
-
"aria-hidden": !1,
|
|
4921
|
-
"aria-label": r,
|
|
4922
|
-
checked: t,
|
|
4923
|
-
disabled: i,
|
|
4924
|
-
id: r,
|
|
4925
|
-
name: r,
|
|
4926
|
-
onChange: o,
|
|
4927
|
-
onClick: l,
|
|
4928
|
-
onFocus: s,
|
|
4929
|
-
onKeyDown: c,
|
|
4930
|
-
ref: u,
|
|
4931
|
-
type: "checkbox",
|
|
4932
|
-
value: p,
|
|
4933
|
-
...g
|
|
4934
|
-
}
|
|
4935
|
-
),
|
|
4936
|
-
/* @__PURE__ */ n(N, { disabled: i, icon: "check", iconSize: "sm" }),
|
|
4937
|
-
a ?? p
|
|
4938
|
-
] }),
|
|
4939
|
-
d === void 0 ? void 0 : /* @__PURE__ */ n(
|
|
4940
|
-
ie,
|
|
4941
|
-
{
|
|
4942
|
-
icon: "circle-info",
|
|
4943
|
-
id: d,
|
|
4944
|
-
place: "right",
|
|
4945
|
-
tip: d
|
|
4946
|
-
}
|
|
4947
|
-
)
|
|
4948
|
-
] });
|
|
4949
|
-
}), Ya = ({
|
|
4950
|
-
options: e,
|
|
4951
|
-
title: t,
|
|
4952
|
-
checkboxesName: i,
|
|
4953
|
-
defaultCollapsed: a,
|
|
4954
|
-
onChange: r
|
|
4955
|
-
}) => {
|
|
4956
|
-
const o = D(), [l, s] = F(a ?? !1), c = k(() => {
|
|
4957
|
-
s((d) => !d);
|
|
4958
|
-
}, []);
|
|
4959
|
-
return /* @__PURE__ */ h(
|
|
4960
|
-
x,
|
|
4961
|
-
{
|
|
4962
|
-
"aria-label": t,
|
|
4963
|
-
bgColor: l ? o.palette.gray[50] : o.palette.white,
|
|
4964
|
-
border: "1px solid" + o.palette.gray[300],
|
|
4965
|
-
borderRadius: "8px",
|
|
4966
|
-
display: "inline-flex",
|
|
4967
|
-
flexDirection: "column",
|
|
4968
|
-
gap: 0.625,
|
|
4969
|
-
px: 0.75,
|
|
4970
|
-
py: 0.625,
|
|
4971
|
-
role: "region",
|
|
4972
|
-
width: "100%",
|
|
4973
|
-
children: [
|
|
4974
|
-
/* @__PURE__ */ h(
|
|
4975
|
-
x,
|
|
4976
|
-
{
|
|
4977
|
-
alignItems: "center",
|
|
4978
|
-
cursor: "pointer",
|
|
4979
|
-
display: "flex",
|
|
4980
|
-
onClick: c,
|
|
4981
|
-
children: [
|
|
4982
|
-
/* @__PURE__ */ n(I, { color: o.palette.gray[800], fontWeight: "bold", size: "sm", children: t }),
|
|
4983
|
-
/* @__PURE__ */ n(
|
|
4984
|
-
N,
|
|
4985
|
-
{
|
|
4986
|
-
icon: l ? "chevron-up" : "chevron-down",
|
|
4987
|
-
iconColor: o.palette.gray[400],
|
|
4988
|
-
iconSize: "xs"
|
|
4989
|
-
}
|
|
4990
|
-
)
|
|
4991
|
-
]
|
|
4992
|
-
}
|
|
4993
|
-
),
|
|
4994
|
-
l ? /* @__PURE__ */ n(x, { display: "flex", gap: 0.75, wrap: "wrap", children: e.map(
|
|
4995
|
-
(d) => /* @__PURE__ */ n(
|
|
4996
|
-
x,
|
|
4997
|
-
{
|
|
4998
|
-
border: "1px solid",
|
|
4999
|
-
borderColor: o.palette.gray[300],
|
|
5000
|
-
borderRadius: "4px",
|
|
5001
|
-
px: 0.5,
|
|
5002
|
-
py: 0.5,
|
|
5003
|
-
children: /* @__PURE__ */ n(
|
|
5004
|
-
qe,
|
|
5005
|
-
{
|
|
5006
|
-
checked: d.visible,
|
|
5007
|
-
disabled: d.locked,
|
|
5008
|
-
label: d.name,
|
|
5009
|
-
name: `${i}-${d.name}`,
|
|
5010
|
-
onChange: r,
|
|
5011
|
-
value: d.name
|
|
5012
|
-
}
|
|
5013
|
-
)
|
|
5014
|
-
},
|
|
5015
|
-
d.name
|
|
5016
|
-
)
|
|
5017
|
-
) }) : void 0
|
|
5018
|
-
]
|
|
5019
|
-
}
|
|
5020
|
-
);
|
|
5021
|
-
}, Ka = (e, t) => {
|
|
4828
|
+
}, _a = (e, t) => {
|
|
5022
4829
|
const [a, r] = F(0), [o, l] = F(0);
|
|
5023
4830
|
return U(() => {
|
|
5024
4831
|
o === 100 && (() => {
|
|
@@ -5036,7 +4843,7 @@ const N = _(function({
|
|
|
5036
4843
|
clearInterval(s);
|
|
5037
4844
|
};
|
|
5038
4845
|
}, [e]), { cycle: a, progress: o, setCycle: r, setProgress: l };
|
|
5039
|
-
},
|
|
4846
|
+
}, Ya = ({
|
|
5040
4847
|
publicId: e,
|
|
5041
4848
|
format: t = "webp"
|
|
5042
4849
|
}) => {
|
|
@@ -5046,7 +4853,7 @@ const N = _(function({
|
|
|
5046
4853
|
}
|
|
5047
4854
|
}), []);
|
|
5048
4855
|
return te(() => i.image(e).format(t), [i, e, t]);
|
|
5049
|
-
},
|
|
4856
|
+
}, qe = (e) => {
|
|
5050
4857
|
const [t, i] = F(!1), a = k(() => {
|
|
5051
4858
|
i(!0);
|
|
5052
4859
|
}, []), r = k(() => {
|
|
@@ -5099,25 +4906,25 @@ const N = _(function({
|
|
|
5099
4906
|
setColumns: s,
|
|
5100
4907
|
resetToDefault: c,
|
|
5101
4908
|
columns: o,
|
|
5102
|
-
...
|
|
4909
|
+
...qe(e),
|
|
5103
4910
|
hasChanged: d
|
|
5104
4911
|
};
|
|
5105
|
-
},
|
|
4912
|
+
}, Ka = (e, t) => te(
|
|
5106
4913
|
() => R.debounce(e, t),
|
|
5107
4914
|
[e, t]
|
|
5108
4915
|
), Tl = (e) => {
|
|
5109
|
-
const [t, i] = F(), a =
|
|
4916
|
+
const [t, i] = F(), a = Ka((r) => {
|
|
5110
4917
|
i(r);
|
|
5111
4918
|
}, (e == null ? void 0 : e.debounceWait) ?? 300);
|
|
5112
4919
|
return [t, a];
|
|
5113
|
-
},
|
|
4920
|
+
}, qa = ({
|
|
5114
4921
|
alt: e = "img",
|
|
5115
4922
|
height: t = "",
|
|
5116
4923
|
width: i = "",
|
|
5117
4924
|
plugins: a = [_i(), Yi()],
|
|
5118
4925
|
publicId: r
|
|
5119
4926
|
}) => {
|
|
5120
|
-
const o =
|
|
4927
|
+
const o = Ya({ publicId: r });
|
|
5121
4928
|
return /* @__PURE__ */ n(
|
|
5122
4929
|
Ui,
|
|
5123
4930
|
{
|
|
@@ -5128,7 +4935,7 @@ const N = _(function({
|
|
|
5128
4935
|
width: i
|
|
5129
4936
|
}
|
|
5130
4937
|
);
|
|
5131
|
-
}, pe = kt.memo(
|
|
4938
|
+
}, pe = kt.memo(qa), Xa = b.label`
|
|
5132
4939
|
${({ theme: e }) => `
|
|
5133
4940
|
align-items: center;
|
|
5134
4941
|
display: flex;
|
|
@@ -5207,7 +5014,7 @@ const N = _(function({
|
|
|
5207
5014
|
}
|
|
5208
5015
|
|
|
5209
5016
|
`}
|
|
5210
|
-
`,
|
|
5017
|
+
`, Ja = b.span.attrs({ className: "checkmark" })``, Mt = _(function({
|
|
5211
5018
|
defaultChecked: t = !1,
|
|
5212
5019
|
disabled: i = !1,
|
|
5213
5020
|
label: a,
|
|
@@ -5218,7 +5025,7 @@ const N = _(function({
|
|
|
5218
5025
|
...c
|
|
5219
5026
|
}, d) {
|
|
5220
5027
|
return /* @__PURE__ */ h(
|
|
5221
|
-
|
|
5028
|
+
Xa,
|
|
5222
5029
|
{
|
|
5223
5030
|
"aria-disabled": i,
|
|
5224
5031
|
"aria-label": a ?? r,
|
|
@@ -5241,7 +5048,7 @@ const N = _(function({
|
|
|
5241
5048
|
...c
|
|
5242
5049
|
}
|
|
5243
5050
|
),
|
|
5244
|
-
/* @__PURE__ */ n(
|
|
5051
|
+
/* @__PURE__ */ n(Ja, {}),
|
|
5245
5052
|
a ?? null
|
|
5246
5053
|
]
|
|
5247
5054
|
}
|
|
@@ -5318,7 +5125,7 @@ const N = _(function({
|
|
|
5318
5125
|
transition: 0.2s;
|
|
5319
5126
|
width: 36px;
|
|
5320
5127
|
`}
|
|
5321
|
-
`,
|
|
5128
|
+
`, Za = b.div`
|
|
5322
5129
|
${({ theme: e }) => `
|
|
5323
5130
|
background-color: ${e.palette.white};
|
|
5324
5131
|
border-radius: 50%;
|
|
@@ -5329,7 +5136,7 @@ const N = _(function({
|
|
|
5329
5136
|
width: ${e.spacing[1]};
|
|
5330
5137
|
z-index: 1;
|
|
5331
5138
|
`}
|
|
5332
|
-
`,
|
|
5139
|
+
`, Qa = b.label`
|
|
5333
5140
|
display: inline-block;
|
|
5334
5141
|
|
|
5335
5142
|
input {
|
|
@@ -5356,7 +5163,7 @@ const N = _(function({
|
|
|
5356
5163
|
background-color: ${({ theme: e }) => e.palette.gray[200]};
|
|
5357
5164
|
border: 1px solid ${({ theme: e }) => e.palette.gray[200]};
|
|
5358
5165
|
}
|
|
5359
|
-
`,
|
|
5166
|
+
`, er = _(function({
|
|
5360
5167
|
defaultChecked: t,
|
|
5361
5168
|
disabled: i = !1,
|
|
5362
5169
|
justify: a,
|
|
@@ -5382,7 +5189,7 @@ const N = _(function({
|
|
|
5382
5189
|
justify: a,
|
|
5383
5190
|
children: [
|
|
5384
5191
|
/* @__PURE__ */ n(x, { minWidth: l, children: g }),
|
|
5385
|
-
/* @__PURE__ */ h(
|
|
5192
|
+
/* @__PURE__ */ h(Qa, { onClick: u, role: "switch", children: [
|
|
5386
5193
|
/* @__PURE__ */ n(
|
|
5387
5194
|
"input",
|
|
5388
5195
|
{
|
|
@@ -5396,7 +5203,7 @@ const N = _(function({
|
|
|
5396
5203
|
type: "checkbox"
|
|
5397
5204
|
}
|
|
5398
5205
|
),
|
|
5399
|
-
/* @__PURE__ */ n(ge, { "aria-label": "Toggle Switch", id: `${r}Toggle`, children: /* @__PURE__ */ n(
|
|
5206
|
+
/* @__PURE__ */ n(ge, { "aria-label": "Toggle Switch", id: `${r}Toggle`, children: /* @__PURE__ */ n(Za, {}) })
|
|
5400
5207
|
] }),
|
|
5401
5208
|
s
|
|
5402
5209
|
]
|
|
@@ -5436,29 +5243,29 @@ const N = _(function({
|
|
|
5436
5243
|
minHeight: "40px",
|
|
5437
5244
|
width: "100%",
|
|
5438
5245
|
children: i.map(
|
|
5439
|
-
(l) => /* @__PURE__ */ n(
|
|
5246
|
+
(l) => /* @__PURE__ */ n(er, { ...l }, `$card-toggle-${l.name}`)
|
|
5440
5247
|
)
|
|
5441
5248
|
}
|
|
5442
5249
|
)
|
|
5443
5250
|
]
|
|
5444
5251
|
}
|
|
5445
5252
|
);
|
|
5446
|
-
},
|
|
5253
|
+
}, tr = b.div`
|
|
5447
5254
|
position: relative;
|
|
5448
5255
|
margin: auto;
|
|
5449
5256
|
overflow: hidden;
|
|
5450
|
-
`,
|
|
5257
|
+
`, ir = b.div`
|
|
5451
5258
|
display: flex;
|
|
5452
5259
|
transition: transform 0.5s ease-in-out;
|
|
5453
5260
|
transform: translateX(
|
|
5454
5261
|
${({ $currentIndex: e }) => -e * 100}%
|
|
5455
5262
|
);
|
|
5456
|
-
`,
|
|
5263
|
+
`, nr = b.div`
|
|
5457
5264
|
align-items: center;
|
|
5458
5265
|
display: flex;
|
|
5459
5266
|
justify-content: center;
|
|
5460
5267
|
min-width: 100%;
|
|
5461
|
-
`,
|
|
5268
|
+
`, ar = b.button`
|
|
5462
5269
|
${({ theme: e, $isActive: t }) => `
|
|
5463
5270
|
background-color: ${t ? e.palette.primary[400] : e.palette.white};
|
|
5464
5271
|
border: none;
|
|
@@ -5467,7 +5274,7 @@ const N = _(function({
|
|
|
5467
5274
|
height: ${e.spacing[0.75]};
|
|
5468
5275
|
width: ${e.spacing[0.75]};
|
|
5469
5276
|
`}
|
|
5470
|
-
`,
|
|
5277
|
+
`, rr = b.div`
|
|
5471
5278
|
align-items: center;
|
|
5472
5279
|
display: flex;
|
|
5473
5280
|
gap: ${({ theme: e }) => e.spacing[0.5]};
|
|
@@ -5477,7 +5284,7 @@ const N = _(function({
|
|
|
5477
5284
|
slides: e,
|
|
5478
5285
|
interval: t = 300
|
|
5479
5286
|
}) => {
|
|
5480
|
-
const { cycle: i, setCycle: a, setProgress: r } =
|
|
5287
|
+
const { cycle: i, setCycle: a, setProgress: r } = _a(t, e.length), o = k(
|
|
5481
5288
|
(l) => (
|
|
5482
5289
|
// eslint-disable-next-line functional/functional-parameters
|
|
5483
5290
|
() => {
|
|
@@ -5486,11 +5293,11 @@ const N = _(function({
|
|
|
5486
5293
|
),
|
|
5487
5294
|
[a, r]
|
|
5488
5295
|
);
|
|
5489
|
-
return /* @__PURE__ */ h(
|
|
5490
|
-
/* @__PURE__ */ n(
|
|
5296
|
+
return /* @__PURE__ */ h(tr, { "aria-roledescription": "carousel", children: [
|
|
5297
|
+
/* @__PURE__ */ n(ir, { $currentIndex: i, children: e.map((l, s) => {
|
|
5491
5298
|
const c = `slide-${s}`;
|
|
5492
5299
|
return /* @__PURE__ */ n(
|
|
5493
|
-
|
|
5300
|
+
nr,
|
|
5494
5301
|
{
|
|
5495
5302
|
"aria-label": c,
|
|
5496
5303
|
"aria-roledescription": "slide",
|
|
@@ -5499,10 +5306,10 @@ const N = _(function({
|
|
|
5499
5306
|
c
|
|
5500
5307
|
);
|
|
5501
5308
|
}) }),
|
|
5502
|
-
/* @__PURE__ */ n(
|
|
5309
|
+
/* @__PURE__ */ n(rr, { children: e.map((l, s) => {
|
|
5503
5310
|
const c = `nav-button-${s}`;
|
|
5504
5311
|
return /* @__PURE__ */ n(
|
|
5505
|
-
|
|
5312
|
+
ar,
|
|
5506
5313
|
{
|
|
5507
5314
|
$isActive: s === i,
|
|
5508
5315
|
"aria-label": `Go to slide ${s + 1}`,
|
|
@@ -5513,49 +5320,170 @@ const N = _(function({
|
|
|
5513
5320
|
);
|
|
5514
5321
|
}) })
|
|
5515
5322
|
] });
|
|
5516
|
-
},
|
|
5323
|
+
}, or = b.label`
|
|
5517
5324
|
${({ theme: e }) => `
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
display:
|
|
5521
|
-
|
|
5325
|
+
align-items: center;
|
|
5326
|
+
color: ${e.palette.gray[600]};
|
|
5327
|
+
display: flex;
|
|
5328
|
+
cursor: pointer;
|
|
5329
|
+
font-family: ${e.typography.type.primary};
|
|
5330
|
+
font-size: ${e.typography.text.sm};
|
|
5331
|
+
font-weight: ${e.typography.weight.regular};
|
|
5332
|
+
line-height: ${e.spacing[1]};
|
|
5333
|
+
letter-spacing: 0;
|
|
5522
5334
|
position: relative;
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
.line-highlight.language-none {
|
|
5526
|
-
background: ${e.palette.gray[100]};
|
|
5527
|
-
}
|
|
5335
|
+
text-align: left;
|
|
5528
5336
|
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
font-size: ${e.typography.text.xs};
|
|
5533
|
-
line-height: ${e.spacing[1]};
|
|
5337
|
+
&[aria-disabled="true"] {
|
|
5338
|
+
color: ${e.palette.gray[300]};
|
|
5339
|
+
cursor: not-allowed;
|
|
5534
5340
|
}
|
|
5535
5341
|
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
color: ${e.palette.white};
|
|
5342
|
+
input {
|
|
5343
|
+
position: absolute;
|
|
5344
|
+
opacity: 0;
|
|
5345
|
+
cursor: pointer;
|
|
5541
5346
|
}
|
|
5542
5347
|
|
|
5543
|
-
|
|
5544
|
-
color:
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5348
|
+
svg {
|
|
5349
|
+
background-color: ${e.palette.white};
|
|
5350
|
+
border-radius: ${e.spacing[0.25]};
|
|
5351
|
+
border: 1px solid ${e.palette.gray[600]};
|
|
5352
|
+
top: 0;
|
|
5353
|
+
left: 0;
|
|
5354
|
+
height: ${e.spacing[0.5]};
|
|
5355
|
+
margin-right: ${e.spacing[0.5]};
|
|
5356
|
+
width: ${e.spacing[0.5]};
|
|
5357
|
+
padding: ${e.spacing[0.25]};
|
|
5548
5358
|
}
|
|
5549
5359
|
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
margin-bottom: unset;
|
|
5553
|
-
padding: unset;
|
|
5554
|
-
width: 100%;
|
|
5360
|
+
svg > path {
|
|
5361
|
+
fill: ${e.palette.white};
|
|
5555
5362
|
}
|
|
5556
5363
|
|
|
5557
|
-
|
|
5558
|
-
background-color: ${e.palette.
|
|
5364
|
+
input:checked ~ span > svg {
|
|
5365
|
+
background-color: ${e.palette.primary[500]};
|
|
5366
|
+
border: 1px solid ${e.palette.primary[500]};
|
|
5367
|
+
}
|
|
5368
|
+
|
|
5369
|
+
input:disabled ~ span > svg {
|
|
5370
|
+
border: 1px solid ${e.palette.gray[300]};
|
|
5371
|
+
cursor: not-allowed;
|
|
5372
|
+
}
|
|
5373
|
+
|
|
5374
|
+
input:not(:disabled):hover ~ span > svg {
|
|
5375
|
+
box-shadow: 0 0 0 4px ${e.palette.gray[100]};
|
|
5376
|
+
}
|
|
5377
|
+
|
|
5378
|
+
input:checked:disabled ~ span > svg {
|
|
5379
|
+
background-color: ${e.palette.gray[300]};
|
|
5380
|
+
border: 1px solid ${e.palette.gray[300]};
|
|
5381
|
+
}
|
|
5382
|
+
|
|
5383
|
+
input:not(:disabled):hover:checked ~ span > svg {
|
|
5384
|
+
box-shadow: 0 0 0 4px ${e.palette.primary[50]};
|
|
5385
|
+
}
|
|
5386
|
+
|
|
5387
|
+
input:checked ~ span > svg > path {
|
|
5388
|
+
fill: ${e.palette.white};
|
|
5389
|
+
}
|
|
5390
|
+
|
|
5391
|
+
input:checked:disabled ~ span > svg > path {
|
|
5392
|
+
fill: ${e.palette.white};
|
|
5393
|
+
}
|
|
5394
|
+
`}
|
|
5395
|
+
`, Xe = _(function({
|
|
5396
|
+
checked: t,
|
|
5397
|
+
disabled: i = !1,
|
|
5398
|
+
label: a,
|
|
5399
|
+
name: r,
|
|
5400
|
+
onChange: o,
|
|
5401
|
+
onClick: l,
|
|
5402
|
+
onFocus: s,
|
|
5403
|
+
onKeyDown: c,
|
|
5404
|
+
tooltip: d,
|
|
5405
|
+
value: p,
|
|
5406
|
+
...g
|
|
5407
|
+
}, u) {
|
|
5408
|
+
return /* @__PURE__ */ h("div", { className: "gap-1 inline-flex items-start", children: [
|
|
5409
|
+
/* @__PURE__ */ h(or, { "aria-disabled": i, children: [
|
|
5410
|
+
/* @__PURE__ */ n(
|
|
5411
|
+
"input",
|
|
5412
|
+
{
|
|
5413
|
+
"aria-checked": t,
|
|
5414
|
+
"aria-disabled": i,
|
|
5415
|
+
"aria-hidden": !1,
|
|
5416
|
+
"aria-label": r,
|
|
5417
|
+
checked: t,
|
|
5418
|
+
disabled: i,
|
|
5419
|
+
id: r,
|
|
5420
|
+
name: r,
|
|
5421
|
+
onChange: o,
|
|
5422
|
+
onClick: l,
|
|
5423
|
+
onFocus: s,
|
|
5424
|
+
onKeyDown: c,
|
|
5425
|
+
ref: u,
|
|
5426
|
+
type: "checkbox",
|
|
5427
|
+
value: p,
|
|
5428
|
+
...g
|
|
5429
|
+
}
|
|
5430
|
+
),
|
|
5431
|
+
/* @__PURE__ */ n(N, { disabled: i, icon: "check", iconSize: "sm" }),
|
|
5432
|
+
a ?? p
|
|
5433
|
+
] }),
|
|
5434
|
+
d === void 0 ? void 0 : /* @__PURE__ */ n(
|
|
5435
|
+
ie,
|
|
5436
|
+
{
|
|
5437
|
+
icon: "circle-info",
|
|
5438
|
+
id: d,
|
|
5439
|
+
place: "right",
|
|
5440
|
+
tip: d
|
|
5441
|
+
}
|
|
5442
|
+
)
|
|
5443
|
+
] });
|
|
5444
|
+
}), Gt = b.div`
|
|
5445
|
+
${({ theme: e }) => `
|
|
5446
|
+
background-color: ${e.palette.gray[100]};
|
|
5447
|
+
border-radius: ${e.spacing[0.25]};
|
|
5448
|
+
display: inline-flex;
|
|
5449
|
+
padding: ${e.spacing[1]};
|
|
5450
|
+
position: relative;
|
|
5451
|
+
width: fit-content;
|
|
5452
|
+
|
|
5453
|
+
.line-highlight.language-none {
|
|
5454
|
+
background: ${e.palette.gray[100]};
|
|
5455
|
+
}
|
|
5456
|
+
|
|
5457
|
+
.line-highlight {
|
|
5458
|
+
background: hsl(354deg 88% 93% / 50%);
|
|
5459
|
+
font-family: ${e.typography.type.mono};
|
|
5460
|
+
font-size: ${e.typography.text.xs};
|
|
5461
|
+
line-height: ${e.spacing[1]};
|
|
5462
|
+
}
|
|
5463
|
+
|
|
5464
|
+
.line-highlight::before,
|
|
5465
|
+
.line-highlight[data-end]::after {
|
|
5466
|
+
background: ${e.palette.primary[300]};
|
|
5467
|
+
background-color: hsl(355deg 89% 36%);
|
|
5468
|
+
color: ${e.palette.white};
|
|
5469
|
+
}
|
|
5470
|
+
|
|
5471
|
+
pre code {
|
|
5472
|
+
color: #161616;
|
|
5473
|
+
font-family: ${e.typography.type.mono};
|
|
5474
|
+
font-size: ${e.typography.text.xs};
|
|
5475
|
+
line-height: ${e.spacing[1]};
|
|
5476
|
+
}
|
|
5477
|
+
|
|
5478
|
+
pre:not(.line-highlight) {
|
|
5479
|
+
margin-top: unset;
|
|
5480
|
+
margin-bottom: unset;
|
|
5481
|
+
padding: unset;
|
|
5482
|
+
width: 100%;
|
|
5483
|
+
}
|
|
5484
|
+
|
|
5485
|
+
span:hover {
|
|
5486
|
+
background-color: ${e.palette.gray[200]};
|
|
5559
5487
|
}
|
|
5560
5488
|
|
|
5561
5489
|
.no-data,
|
|
@@ -5565,7 +5493,7 @@ const N = _(function({
|
|
|
5565
5493
|
padding-bottom: unset;
|
|
5566
5494
|
}
|
|
5567
5495
|
`}
|
|
5568
|
-
`,
|
|
5496
|
+
`, lr = b.div`
|
|
5569
5497
|
${({ theme: e }) => `
|
|
5570
5498
|
align-items: end;
|
|
5571
5499
|
background-color: ${e.palette.gray[100]};
|
|
@@ -5583,7 +5511,7 @@ const N = _(function({
|
|
|
5583
5511
|
background-color: ${e.palette.gray[200]};
|
|
5584
5512
|
}
|
|
5585
5513
|
`}
|
|
5586
|
-
`,
|
|
5514
|
+
`, sr = ({
|
|
5587
5515
|
noCodeMessage: e = "Code snippet not available",
|
|
5588
5516
|
snippet: t,
|
|
5589
5517
|
specific: i
|
|
@@ -5617,7 +5545,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5617
5545
|
await navigator.clipboard.writeText(g);
|
|
5618
5546
|
}, [g]);
|
|
5619
5547
|
return a === "location" ? /* @__PURE__ */ n(
|
|
5620
|
-
|
|
5548
|
+
sr,
|
|
5621
5549
|
{
|
|
5622
5550
|
noCodeMessage: e,
|
|
5623
5551
|
snippet: t,
|
|
@@ -5633,7 +5561,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5633
5561
|
position: "relative",
|
|
5634
5562
|
children: [
|
|
5635
5563
|
/* @__PURE__ */ n(Gt, { "data-private": !0, children: /* @__PURE__ */ n("pre", { children: /* @__PURE__ */ n("code", { className: "language-none", children: g }) }) }),
|
|
5636
|
-
/* @__PURE__ */ h(
|
|
5564
|
+
/* @__PURE__ */ h(lr, { children: [
|
|
5637
5565
|
/* @__PURE__ */ n(
|
|
5638
5566
|
Y,
|
|
5639
5567
|
{
|
|
@@ -5665,7 +5593,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5665
5593
|
]
|
|
5666
5594
|
}
|
|
5667
5595
|
);
|
|
5668
|
-
}, { getVariant:
|
|
5596
|
+
}, { getVariant: cr } = re(
|
|
5669
5597
|
(e) => ({
|
|
5670
5598
|
fixed: `
|
|
5671
5599
|
height: auto;
|
|
@@ -5718,9 +5646,9 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5718
5646
|
margin: auto;
|
|
5719
5647
|
white-space: pre-line;
|
|
5720
5648
|
|
|
5721
|
-
${
|
|
5649
|
+
${cr(e, t)}
|
|
5722
5650
|
`}
|
|
5723
|
-
`,
|
|
5651
|
+
`, dr = b.div`
|
|
5724
5652
|
${({ theme: e }) => `
|
|
5725
5653
|
background-color: ${e.palette.white};
|
|
5726
5654
|
border-bottom: 1px solid ${e.palette.gray[200]};
|
|
@@ -5738,7 +5666,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5738
5666
|
padding: 0;
|
|
5739
5667
|
}
|
|
5740
5668
|
`}
|
|
5741
|
-
`,
|
|
5669
|
+
`, pr = b.div`
|
|
5742
5670
|
border-radius: ${({ theme: e }) => `${e.spacing[0.25]} ${e.spacing[0.25]} 0 0`};
|
|
5743
5671
|
display: block;
|
|
5744
5672
|
overflow: unset;
|
|
@@ -5748,9 +5676,9 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5748
5676
|
padding: ${({ theme: e }) => `${e.spacing[1.25]}`};
|
|
5749
5677
|
padding-bottom: ${({ theme: e }) => `${e.spacing[1.5]}`};
|
|
5750
5678
|
position: sticky;
|
|
5751
|
-
`,
|
|
5679
|
+
`, gr = b.div.attrs({
|
|
5752
5680
|
className: "flex items-center justify-between"
|
|
5753
|
-
})``,
|
|
5681
|
+
})``, ur = b.div`
|
|
5754
5682
|
${({ theme: e }) => `
|
|
5755
5683
|
border-radius: 0 0 ${e.spacing[0.25]} ${e.spacing[0.25]};
|
|
5756
5684
|
display: flex;
|
|
@@ -5781,7 +5709,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5781
5709
|
margin-right: 0;
|
|
5782
5710
|
}
|
|
5783
5711
|
`}
|
|
5784
|
-
`,
|
|
5712
|
+
`, fr = b.div`
|
|
5785
5713
|
img {
|
|
5786
5714
|
margin: 0 calc(-${({ theme: e }) => e.spacing[1.25]} - 1px)
|
|
5787
5715
|
${({ theme: e }) => e.spacing[1.25]};
|
|
@@ -5797,7 +5725,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5797
5725
|
margin-right: 0;
|
|
5798
5726
|
` : ""}
|
|
5799
5727
|
}
|
|
5800
|
-
`,
|
|
5728
|
+
`, hr = ({
|
|
5801
5729
|
alert: e,
|
|
5802
5730
|
modalRef: t,
|
|
5803
5731
|
confirmButton: i = void 0,
|
|
@@ -5821,7 +5749,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5821
5749
|
py: 1.25,
|
|
5822
5750
|
children: [
|
|
5823
5751
|
e,
|
|
5824
|
-
/* @__PURE__ */ n(
|
|
5752
|
+
/* @__PURE__ */ n(ur, { children: /* @__PURE__ */ h("div", { children: [
|
|
5825
5753
|
a && /* @__PURE__ */ n(
|
|
5826
5754
|
B,
|
|
5827
5755
|
{
|
|
@@ -5846,7 +5774,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5846
5774
|
]
|
|
5847
5775
|
}
|
|
5848
5776
|
) : null;
|
|
5849
|
-
},
|
|
5777
|
+
}, yr = ({
|
|
5850
5778
|
title: e,
|
|
5851
5779
|
description: t,
|
|
5852
5780
|
modalRef: i,
|
|
@@ -5863,8 +5791,8 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5863
5791
|
return window.addEventListener("keydown", s), () => {
|
|
5864
5792
|
window.removeEventListener("keydown", s);
|
|
5865
5793
|
};
|
|
5866
|
-
}, [l]), /* @__PURE__ */ h(
|
|
5867
|
-
/* @__PURE__ */ h(
|
|
5794
|
+
}, [l]), /* @__PURE__ */ h(pr, { children: [
|
|
5795
|
+
/* @__PURE__ */ h(gr, { children: [
|
|
5868
5796
|
typeof e == "string" ? /* @__PURE__ */ n(
|
|
5869
5797
|
Q,
|
|
5870
5798
|
{
|
|
@@ -5942,7 +5870,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5942
5870
|
]
|
|
5943
5871
|
}
|
|
5944
5872
|
);
|
|
5945
|
-
},
|
|
5873
|
+
}, br = b.button`
|
|
5946
5874
|
${({ theme: e }) => `
|
|
5947
5875
|
align-items: center;
|
|
5948
5876
|
color: ${e.palette.gray[500]};
|
|
@@ -5962,7 +5890,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5962
5890
|
color: ${e.palette.gray[800]};
|
|
5963
5891
|
}
|
|
5964
5892
|
`}
|
|
5965
|
-
`,
|
|
5893
|
+
`, $r = b.div`
|
|
5966
5894
|
${({ theme: e }) => `
|
|
5967
5895
|
align-items: center;
|
|
5968
5896
|
border-bottom: 2px solid ${e.palette.gray[200]};
|
|
@@ -5971,11 +5899,11 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
5971
5899
|
height: ${e.spacing[3]};
|
|
5972
5900
|
width: max-content;
|
|
5973
5901
|
`}
|
|
5974
|
-
`,
|
|
5902
|
+
`, xr = (e, t, i) => i ? t === "secondary" ? `3px solid ${e.palette.primary[100]}` : `3px solid ${e.palette.primary[500]}` : "unset", mr = b.div`
|
|
5975
5903
|
display: flex;
|
|
5976
5904
|
flex-direction: row;
|
|
5977
5905
|
gap: ${({ theme: e }) => e.spacing[0.25]};
|
|
5978
|
-
border-bottom: ${({ theme: e, $borderButton: t, $variant: i }) =>
|
|
5906
|
+
border-bottom: ${({ theme: e, $borderButton: t, $variant: i }) => xr(e, i, t)};
|
|
5979
5907
|
align-items: center;
|
|
5980
5908
|
padding: ${({ theme: e }) => e.spacing[0.625]}
|
|
5981
5909
|
${({ theme: e }) => e.spacing[0.5]};
|
|
@@ -6014,7 +5942,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6014
5942
|
}
|
|
6015
5943
|
}
|
|
6016
5944
|
}
|
|
6017
|
-
`,
|
|
5945
|
+
`, wr = b(
|
|
6018
5946
|
Le
|
|
6019
5947
|
)`
|
|
6020
5948
|
${({ theme: e, $variant: t }) => `
|
|
@@ -6029,31 +5957,31 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6029
5957
|
width: ${e.spacing[0.5]};
|
|
6030
5958
|
height: ${e.spacing[0.5]};
|
|
6031
5959
|
`}
|
|
6032
|
-
`,
|
|
5960
|
+
`, vr = b.div`
|
|
6033
5961
|
align-items: center;
|
|
6034
5962
|
color: ${({ theme: e }) => e.palette.white};
|
|
6035
5963
|
display: flex;
|
|
6036
5964
|
font-size: 6px;
|
|
6037
5965
|
font-weight: ${({ theme: e }) => e.typography.weight.bold};
|
|
6038
5966
|
justify-content: center;
|
|
6039
|
-
`,
|
|
5967
|
+
`, kr = _(function({
|
|
6040
5968
|
numberIndicator: t,
|
|
6041
5969
|
show: i,
|
|
6042
5970
|
variant: a = "error",
|
|
6043
5971
|
...r
|
|
6044
5972
|
}, o) {
|
|
6045
5973
|
return /* @__PURE__ */ n(
|
|
6046
|
-
|
|
5974
|
+
wr,
|
|
6047
5975
|
{
|
|
6048
5976
|
$variant: a,
|
|
6049
5977
|
className: i ? "flex" : "hidden",
|
|
6050
5978
|
"data-testid": "notification-sign",
|
|
6051
5979
|
ref: o,
|
|
6052
5980
|
...r,
|
|
6053
|
-
children: t && /* @__PURE__ */ n(
|
|
5981
|
+
children: t && /* @__PURE__ */ n(vr, { children: t <= 9 ? t : 9 })
|
|
6054
5982
|
}
|
|
6055
5983
|
);
|
|
6056
|
-
}),
|
|
5984
|
+
}), Cr = ({
|
|
6057
5985
|
end: e = !1,
|
|
6058
5986
|
label: t,
|
|
6059
5987
|
id: i,
|
|
@@ -6066,11 +5994,11 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6066
5994
|
tag: d
|
|
6067
5995
|
}) => {
|
|
6068
5996
|
const { pathname: p } = hn(), g = a || (c === "primary" ? p.includes(r) : p.endsWith(r));
|
|
6069
|
-
return /* @__PURE__ */ n(ie, { display: "flex", id: `${i}-tooltip`, tip: s, children: /* @__PURE__ */ h(
|
|
5997
|
+
return /* @__PURE__ */ n(ie, { display: "flex", id: `${i}-tooltip`, tip: s, children: /* @__PURE__ */ h(mr, { $borderButton: g, $variant: c, children: [
|
|
6070
5998
|
/* @__PURE__ */ h(yn, { end: e, id: i, onClick: l, to: r, children: [
|
|
6071
5999
|
t,
|
|
6072
6000
|
/* @__PURE__ */ n(
|
|
6073
|
-
|
|
6001
|
+
kr,
|
|
6074
6002
|
{
|
|
6075
6003
|
left: o == null ? void 0 : o.left,
|
|
6076
6004
|
numberIndicator: o == null ? void 0 : o.numberIndicator,
|
|
@@ -6118,7 +6046,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6118
6046
|
tag: u,
|
|
6119
6047
|
tooltip: f
|
|
6120
6048
|
}) => /* @__PURE__ */ n(
|
|
6121
|
-
|
|
6049
|
+
Cr,
|
|
6122
6050
|
{
|
|
6123
6051
|
end: o,
|
|
6124
6052
|
id: l,
|
|
@@ -6155,7 +6083,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6155
6083
|
...o
|
|
6156
6084
|
}
|
|
6157
6085
|
);
|
|
6158
|
-
}),
|
|
6086
|
+
}), Sr = b.li`
|
|
6159
6087
|
${({ theme: e }) => `
|
|
6160
6088
|
align-items: center;
|
|
6161
6089
|
background-color: ${e.palette.white};
|
|
@@ -6202,7 +6130,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6202
6130
|
background-color: ${e.palette.gray[100]};
|
|
6203
6131
|
}
|
|
6204
6132
|
`}
|
|
6205
|
-
`,
|
|
6133
|
+
`, zr = b.ul`
|
|
6206
6134
|
${({ theme: e }) => `
|
|
6207
6135
|
background-color: ${e.palette.white};
|
|
6208
6136
|
border: 1px solid ${e.palette.gray[200]};
|
|
@@ -6232,7 +6160,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6232
6160
|
...$.props
|
|
6233
6161
|
}) : $) : e;
|
|
6234
6162
|
return /* @__PURE__ */ h(
|
|
6235
|
-
|
|
6163
|
+
Sr,
|
|
6236
6164
|
{
|
|
6237
6165
|
"aria-disabled": t,
|
|
6238
6166
|
"aria-label": p,
|
|
@@ -6271,7 +6199,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6271
6199
|
]
|
|
6272
6200
|
}
|
|
6273
6201
|
);
|
|
6274
|
-
},
|
|
6202
|
+
}, Ir = b(Ae)`
|
|
6275
6203
|
margin-top: 10px;
|
|
6276
6204
|
border: 1px solid ${({ theme: e }) => e.palette.gray[300]};
|
|
6277
6205
|
border-radius: 4px;
|
|
@@ -6289,7 +6217,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6289
6217
|
&[aria-selected="true"]:not([aria-disabled="true"]) {
|
|
6290
6218
|
background-color: unset;
|
|
6291
6219
|
}
|
|
6292
|
-
`,
|
|
6220
|
+
`, Tr = ({
|
|
6293
6221
|
items: e,
|
|
6294
6222
|
onReorder: t,
|
|
6295
6223
|
title: i,
|
|
@@ -6339,7 +6267,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6339
6267
|
item: l.name,
|
|
6340
6268
|
value: l,
|
|
6341
6269
|
children: /* @__PURE__ */ n(
|
|
6342
|
-
|
|
6270
|
+
Ir,
|
|
6343
6271
|
{
|
|
6344
6272
|
disabled: l.locked,
|
|
6345
6273
|
icon: "grid-2",
|
|
@@ -6358,7 +6286,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6358
6286
|
]
|
|
6359
6287
|
}
|
|
6360
6288
|
);
|
|
6361
|
-
},
|
|
6289
|
+
}, Nr = b(Ae)`
|
|
6362
6290
|
padding: 7px 8px;
|
|
6363
6291
|
|
|
6364
6292
|
&[aria-selected="true"] {
|
|
@@ -6374,7 +6302,79 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6374
6302
|
display: none;
|
|
6375
6303
|
}
|
|
6376
6304
|
}
|
|
6377
|
-
`,
|
|
6305
|
+
`, Fr = ({
|
|
6306
|
+
options: e,
|
|
6307
|
+
title: t,
|
|
6308
|
+
checkboxesName: i,
|
|
6309
|
+
defaultCollapsed: a,
|
|
6310
|
+
onChange: r
|
|
6311
|
+
}) => {
|
|
6312
|
+
const o = D(), [l, s] = F(a ?? !1), c = k(() => {
|
|
6313
|
+
s((d) => !d);
|
|
6314
|
+
}, []);
|
|
6315
|
+
return /* @__PURE__ */ h(
|
|
6316
|
+
x,
|
|
6317
|
+
{
|
|
6318
|
+
"aria-label": t,
|
|
6319
|
+
bgColor: l ? o.palette.gray[50] : o.palette.white,
|
|
6320
|
+
border: "1px solid" + o.palette.gray[300],
|
|
6321
|
+
borderRadius: "8px",
|
|
6322
|
+
display: "inline-flex",
|
|
6323
|
+
flexDirection: "column",
|
|
6324
|
+
gap: 0.625,
|
|
6325
|
+
px: 0.75,
|
|
6326
|
+
py: 0.625,
|
|
6327
|
+
role: "region",
|
|
6328
|
+
width: "100%",
|
|
6329
|
+
children: [
|
|
6330
|
+
/* @__PURE__ */ h(
|
|
6331
|
+
x,
|
|
6332
|
+
{
|
|
6333
|
+
alignItems: "center",
|
|
6334
|
+
cursor: "pointer",
|
|
6335
|
+
display: "flex",
|
|
6336
|
+
onClick: c,
|
|
6337
|
+
children: [
|
|
6338
|
+
/* @__PURE__ */ n(I, { color: o.palette.gray[800], fontWeight: "bold", size: "sm", children: t }),
|
|
6339
|
+
/* @__PURE__ */ n(
|
|
6340
|
+
N,
|
|
6341
|
+
{
|
|
6342
|
+
icon: l ? "chevron-up" : "chevron-down",
|
|
6343
|
+
iconColor: o.palette.gray[400],
|
|
6344
|
+
iconSize: "xs"
|
|
6345
|
+
}
|
|
6346
|
+
)
|
|
6347
|
+
]
|
|
6348
|
+
}
|
|
6349
|
+
),
|
|
6350
|
+
l ? /* @__PURE__ */ n(x, { display: "flex", gap: 0.75, wrap: "wrap", children: e.map(
|
|
6351
|
+
(d) => /* @__PURE__ */ n(
|
|
6352
|
+
x,
|
|
6353
|
+
{
|
|
6354
|
+
border: "1px solid",
|
|
6355
|
+
borderColor: o.palette.gray[300],
|
|
6356
|
+
borderRadius: "4px",
|
|
6357
|
+
px: 0.5,
|
|
6358
|
+
py: 0.5,
|
|
6359
|
+
children: /* @__PURE__ */ n(
|
|
6360
|
+
Xe,
|
|
6361
|
+
{
|
|
6362
|
+
checked: d.visible,
|
|
6363
|
+
disabled: d.locked,
|
|
6364
|
+
label: d.name,
|
|
6365
|
+
name: `${i}-${d.name}`,
|
|
6366
|
+
onChange: r,
|
|
6367
|
+
value: d.name
|
|
6368
|
+
}
|
|
6369
|
+
)
|
|
6370
|
+
},
|
|
6371
|
+
d.name
|
|
6372
|
+
)
|
|
6373
|
+
) }) : void 0
|
|
6374
|
+
]
|
|
6375
|
+
}
|
|
6376
|
+
);
|
|
6377
|
+
}, Yt = (e) => e.reduce(
|
|
6378
6378
|
(i, a) => a.group ? i[a.group] ? {
|
|
6379
6379
|
...i,
|
|
6380
6380
|
[a.group]: [...i[a.group], a]
|
|
@@ -6572,7 +6572,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6572
6572
|
([g, u], f) => {
|
|
6573
6573
|
const y = `li-checkbox${g}`;
|
|
6574
6574
|
return /* @__PURE__ */ n(
|
|
6575
|
-
|
|
6575
|
+
Fr,
|
|
6576
6576
|
{
|
|
6577
6577
|
checkboxesName: g,
|
|
6578
6578
|
defaultCollapsed: f === 0,
|
|
@@ -6610,13 +6610,13 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6610
6610
|
children: o.map((g) => {
|
|
6611
6611
|
const u = `li-checkbox-${g.name}`;
|
|
6612
6612
|
return /* @__PURE__ */ n(
|
|
6613
|
-
|
|
6613
|
+
Nr,
|
|
6614
6614
|
{
|
|
6615
6615
|
selected: g.visible,
|
|
6616
6616
|
value: u,
|
|
6617
6617
|
width: "content",
|
|
6618
6618
|
children: /* @__PURE__ */ n(
|
|
6619
|
-
|
|
6619
|
+
Xe,
|
|
6620
6620
|
{
|
|
6621
6621
|
checked: g.visible,
|
|
6622
6622
|
disabled: g.locked,
|
|
@@ -6720,7 +6720,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6720
6720
|
}
|
|
6721
6721
|
),
|
|
6722
6722
|
/* @__PURE__ */ n(
|
|
6723
|
-
|
|
6723
|
+
Tr,
|
|
6724
6724
|
{
|
|
6725
6725
|
description: "Click and drag to reorder the columns",
|
|
6726
6726
|
items: i.columns,
|
|
@@ -6809,7 +6809,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6809
6809
|
value: p.value,
|
|
6810
6810
|
width: "content",
|
|
6811
6811
|
children: /* @__PURE__ */ n(
|
|
6812
|
-
|
|
6812
|
+
Xe,
|
|
6813
6813
|
{
|
|
6814
6814
|
...i("checkbox"),
|
|
6815
6815
|
label: p.label,
|
|
@@ -7454,7 +7454,7 @@ const be = ({
|
|
|
7454
7454
|
onFiltersChange: r,
|
|
7455
7455
|
variant: o = "ungrouped"
|
|
7456
7456
|
}) => {
|
|
7457
|
-
const l =
|
|
7457
|
+
const l = qe("filters-modal"), [s, c] = F([]), [d, p] = F(
|
|
7458
7458
|
xt(s)
|
|
7459
7459
|
), g = i.map(($) => ({
|
|
7460
7460
|
...$,
|
|
@@ -7543,7 +7543,7 @@ const be = ({
|
|
|
7543
7543
|
id: f,
|
|
7544
7544
|
children: [
|
|
7545
7545
|
!R.isEmpty(g) && !R.isNil(g) && /* @__PURE__ */ n(
|
|
7546
|
-
|
|
7546
|
+
yr,
|
|
7547
7547
|
{
|
|
7548
7548
|
description: l,
|
|
7549
7549
|
modalRef: s,
|
|
@@ -7562,13 +7562,13 @@ const be = ({
|
|
|
7562
7562
|
children: /* @__PURE__ */ n(_t, { items: p })
|
|
7563
7563
|
}
|
|
7564
7564
|
),
|
|
7565
|
-
(R.isObject(o) || a) && /* @__PURE__ */ h(
|
|
7565
|
+
(R.isObject(o) || a) && /* @__PURE__ */ h(dr, { children: [
|
|
7566
7566
|
a,
|
|
7567
|
-
R.isObject(o) && R.isString(o.imageSrc) && /* @__PURE__ */ n(
|
|
7567
|
+
R.isObject(o) && R.isString(o.imageSrc) && /* @__PURE__ */ n(fr, { $framed: o.imageFramed, children: /* @__PURE__ */ n(pe, { alt: "modal-img", publicId: o.imageSrc }) }),
|
|
7568
7568
|
R.isObject(o) && R.isString(o.imageText) && /* @__PURE__ */ n(I, { size: "sm", children: o.imageText })
|
|
7569
7569
|
] }),
|
|
7570
7570
|
/* @__PURE__ */ n(
|
|
7571
|
-
|
|
7571
|
+
hr,
|
|
7572
7572
|
{
|
|
7573
7573
|
alert: t,
|
|
7574
7574
|
cancelButton: i,
|
|
@@ -7586,7 +7586,7 @@ const be = ({
|
|
|
7586
7586
|
document.getElementById("portals") ?? document.body
|
|
7587
7587
|
) : s.isOpen ? $ : null;
|
|
7588
7588
|
}, Pl = () => {
|
|
7589
|
-
const [e, t] = F(!1), [i, a] = F(), r = O(null), o =
|
|
7589
|
+
const [e, t] = F(!1), [i, a] = F(), r = O(null), o = qe("confirm-dialog-modal"), l = k(
|
|
7590
7590
|
async (p) => (a(p), t(!0), new Promise((g) => {
|
|
7591
7591
|
r.current = g;
|
|
7592
7592
|
})),
|
|
@@ -8311,7 +8311,7 @@ const be = ({
|
|
|
8311
8311
|
const l = D(), { userName: s, email: c, phone: d, userRole: p } = r;
|
|
8312
8312
|
return Re(a, () => {
|
|
8313
8313
|
o(!1);
|
|
8314
|
-
}), /* @__PURE__ */ h(
|
|
8314
|
+
}), /* @__PURE__ */ h(zr, { children: [
|
|
8315
8315
|
/* @__PURE__ */ n("li", { className: "user-info", children: /* @__PURE__ */ h(x, { display: "inline-flex", gap: 0.25, width: "100%", children: [
|
|
8316
8316
|
/* @__PURE__ */ h(
|
|
8317
8317
|
x,
|
|
@@ -8760,366 +8760,26 @@ const be = ({
|
|
|
8760
8760
|
]
|
|
8761
8761
|
}
|
|
8762
8762
|
);
|
|
8763
|
-
}, ko =
|
|
8764
|
-
|
|
8765
|
-
|
|
8766
|
-
|
|
8767
|
-
bgColor: T.palette.primary[25],
|
|
8768
|
-
borderRadius: "8px",
|
|
8769
|
-
gap: 0.5,
|
|
8770
|
-
justify: "center",
|
|
8771
|
-
padding: [0.125, 0.25, 0.125, 0.25],
|
|
8772
|
-
width: "max-content",
|
|
8773
|
-
children: /* @__PURE__ */ n(
|
|
8774
|
-
I,
|
|
8775
|
-
{
|
|
8776
|
-
bgGradient: T.palette.gradients["01"],
|
|
8777
|
-
fontWeight: "semibold",
|
|
8778
|
-
size: "xs",
|
|
8779
|
-
textFill: "transparent",
|
|
8780
|
-
children: "Recommended"
|
|
8781
|
-
}
|
|
8782
|
-
)
|
|
8783
|
-
}
|
|
8784
|
-
), Co = b.div`
|
|
8785
|
-
${({ className: e, theme: t }) => `
|
|
8786
|
-
align-items: flex-start;
|
|
8787
|
-
border-radius: ${t.spacing[1]};
|
|
8788
|
-
background: ${t.palette.white};
|
|
8789
|
-
display: flex;
|
|
8790
|
-
flex-direction: column;
|
|
8791
|
-
gap: ${t.spacing[1]};
|
|
8792
|
-
padding: ${t.spacing[1.5]};
|
|
8763
|
+
}, ko = b.div`
|
|
8764
|
+
${({ theme: e }) => `
|
|
8765
|
+
height: ${e.spacing[1]};
|
|
8766
|
+
width: ${e.spacing[1]};
|
|
8793
8767
|
position: relative;
|
|
8794
|
-
|
|
8768
|
+
flex-shrink: 0;
|
|
8795
8769
|
|
|
8796
|
-
|
|
8797
|
-
|
|
8798
|
-
|
|
8770
|
+
& .ellipse-1,
|
|
8771
|
+
& .ellipse-2,
|
|
8772
|
+
& .icon {
|
|
8773
|
+
top: 50%;
|
|
8774
|
+
left: 50%;
|
|
8775
|
+
transform: translate(-50%, -50%);
|
|
8776
|
+
position: absolute;
|
|
8799
8777
|
}
|
|
8800
8778
|
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
&::before {
|
|
8806
|
-
background: ${t.palette.gradients["01"]} border-box;
|
|
8807
|
-
border-radius: ${t.spacing[1]};
|
|
8808
|
-
content: "";
|
|
8809
|
-
position: absolute;
|
|
8810
|
-
inset: 0;
|
|
8811
|
-
border: 2px solid transparent;
|
|
8812
|
-
mask:
|
|
8813
|
-
linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
|
8814
|
-
mask-composite: exclude;
|
|
8815
|
-
}
|
|
8816
|
-
`}
|
|
8817
|
-
`}
|
|
8818
|
-
`;
|
|
8819
|
-
b.div`
|
|
8820
|
-
${({ className: e, theme: t }) => `
|
|
8821
|
-
align-items: flex-start;
|
|
8822
|
-
border-radius: ${t.spacing[1]};
|
|
8823
|
-
display: flex;
|
|
8824
|
-
flex-direction: column;
|
|
8825
|
-
justify-content: center;
|
|
8826
|
-
gap: ${t.spacing[1.5]};
|
|
8827
|
-
padding: ${t.spacing[1.5]};
|
|
8828
|
-
width: 466px;
|
|
8829
|
-
|
|
8830
|
-
button {
|
|
8831
|
-
text-align: center;
|
|
8832
|
-
width: 100%;
|
|
8833
|
-
}
|
|
8834
|
-
|
|
8835
|
-
${e === "essential" ? `
|
|
8836
|
-
background: linear-gradient(
|
|
8837
|
-
180deg,
|
|
8838
|
-
${t.palette.primary[400]} 0%,
|
|
8839
|
-
${t.palette.black} 100%
|
|
8840
|
-
);` : `
|
|
8841
|
-
background: ${t.palette.white};
|
|
8842
|
-
box-shadow: 0px 9px 18px 0px rgba(243, 38, 55, 0.06),
|
|
8843
|
-
0px 18px 27px 0px rgba(243, 38, 55, 0.10);
|
|
8844
|
-
`}
|
|
8845
|
-
|
|
8846
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
8847
|
-
width: 320px;
|
|
8848
|
-
}
|
|
8849
|
-
`}
|
|
8850
|
-
`;
|
|
8851
|
-
const So = {
|
|
8852
|
-
advanced: {
|
|
8853
|
-
title: "Advanced plan",
|
|
8854
|
-
benefits: "Leverage vulnerability scanning + AI + expert intelligence",
|
|
8855
|
-
buttonText: "Contact sales",
|
|
8856
|
-
description: "For teams that want to discover risk exposure with speed and accuracy.",
|
|
8857
|
-
priceGroup: "$1,579"
|
|
8858
|
-
},
|
|
8859
|
-
essential: {
|
|
8860
|
-
title: "Essential plan",
|
|
8861
|
-
benefits: "Leverage vulnerability scanning",
|
|
8862
|
-
buttonText: "Start a 21-day free trial",
|
|
8863
|
-
description: `For teams that want to discover risk exposure quickly
|
|
8864
|
-
through our scanning tool.`,
|
|
8865
|
-
priceAuthor: "$499",
|
|
8866
|
-
priceGroup: "$1,579"
|
|
8867
|
-
}
|
|
8868
|
-
}, es = ({
|
|
8869
|
-
description: e,
|
|
8870
|
-
onClick: t,
|
|
8871
|
-
plan: i
|
|
8872
|
-
}) => {
|
|
8873
|
-
const {
|
|
8874
|
-
title: a,
|
|
8875
|
-
description: r,
|
|
8876
|
-
benefits: o,
|
|
8877
|
-
buttonText: l
|
|
8878
|
-
} = So[i], s = e ?? r;
|
|
8879
|
-
return /* @__PURE__ */ h(Co, { className: i, children: [
|
|
8880
|
-
/* @__PURE__ */ h(
|
|
8881
|
-
x,
|
|
8882
|
-
{
|
|
8883
|
-
display: "flex",
|
|
8884
|
-
flexDirection: "column",
|
|
8885
|
-
gap: 0.25,
|
|
8886
|
-
pt: i === "essential" ? 1.75 : 0,
|
|
8887
|
-
children: [
|
|
8888
|
-
i === "advanced" && ko,
|
|
8889
|
-
/* @__PURE__ */ n(
|
|
8890
|
-
Q,
|
|
8891
|
-
{
|
|
8892
|
-
color: T.palette.gray[900],
|
|
8893
|
-
fontWeight: "semibold",
|
|
8894
|
-
size: "sm",
|
|
8895
|
-
sizeSm: "xs",
|
|
8896
|
-
children: a
|
|
8897
|
-
}
|
|
8898
|
-
),
|
|
8899
|
-
/* @__PURE__ */ n(
|
|
8900
|
-
I,
|
|
8901
|
-
{
|
|
8902
|
-
color: T.palette.gray[400],
|
|
8903
|
-
fontWeight: "semibold",
|
|
8904
|
-
pb: i === "essential" ? 1.25 : 0,
|
|
8905
|
-
size: "sm",
|
|
8906
|
-
sizeSm: "xs",
|
|
8907
|
-
children: o
|
|
8908
|
-
}
|
|
8909
|
-
)
|
|
8910
|
-
]
|
|
8911
|
-
}
|
|
8912
|
-
),
|
|
8913
|
-
/* @__PURE__ */ n(
|
|
8914
|
-
I,
|
|
8915
|
-
{
|
|
8916
|
-
lineSpacing: 1.5,
|
|
8917
|
-
lineSpacingSm: 1.25,
|
|
8918
|
-
pb: i === "advanced" ? 1.5 : 0,
|
|
8919
|
-
size: "md",
|
|
8920
|
-
sizeSm: "sm",
|
|
8921
|
-
children: s
|
|
8922
|
-
}
|
|
8923
|
-
),
|
|
8924
|
-
/* @__PURE__ */ n(B, { onClick: t, variant: "primary", children: l })
|
|
8925
|
-
] });
|
|
8926
|
-
}, zo = ({
|
|
8927
|
-
description: e = "",
|
|
8928
|
-
highlightDescription: t = ""
|
|
8929
|
-
}) => {
|
|
8930
|
-
const i = D(), a = typeof t == "string", r = a ? "" : new RegExp(`(${t.join("|")})`, "u");
|
|
8931
|
-
return t.length > 0 ? /* @__PURE__ */ n(
|
|
8932
|
-
I,
|
|
8933
|
-
{
|
|
8934
|
-
display: "inline",
|
|
8935
|
-
lineSpacing: 1.5,
|
|
8936
|
-
size: "lg",
|
|
8937
|
-
textAlign: "center",
|
|
8938
|
-
children: a ? /* @__PURE__ */ h(Oe, { children: [
|
|
8939
|
-
/* @__PURE__ */ n(
|
|
8940
|
-
xe,
|
|
8941
|
-
{
|
|
8942
|
-
color: i.palette.gray[600],
|
|
8943
|
-
display: "inline",
|
|
8944
|
-
fontWeight: "bold",
|
|
8945
|
-
lineSpacing: 1.5,
|
|
8946
|
-
size: "lg",
|
|
8947
|
-
children: t
|
|
8948
|
-
}
|
|
8949
|
-
),
|
|
8950
|
-
e
|
|
8951
|
-
] }) : e.split(r).map(
|
|
8952
|
-
(o, l) => t.includes(o) ? /* @__PURE__ */ n(
|
|
8953
|
-
xe,
|
|
8954
|
-
{
|
|
8955
|
-
color: i.palette.gray[600],
|
|
8956
|
-
display: "inline",
|
|
8957
|
-
fontWeight: "bold",
|
|
8958
|
-
lineSpacing: 1.5,
|
|
8959
|
-
size: "lg",
|
|
8960
|
-
children: o
|
|
8961
|
-
},
|
|
8962
|
-
`${l + 1}-bold`
|
|
8963
|
-
) : o
|
|
8964
|
-
)
|
|
8965
|
-
}
|
|
8966
|
-
) : /* @__PURE__ */ n(I, { lineSpacing: 1.5, size: "lg", textAlign: "center", children: e });
|
|
8967
|
-
}, ts = ({
|
|
8968
|
-
_portal: e = !1,
|
|
8969
|
-
cancelButton: t,
|
|
8970
|
-
darkBackground: i = !1,
|
|
8971
|
-
children: a,
|
|
8972
|
-
confirmButton: r,
|
|
8973
|
-
container: o,
|
|
8974
|
-
description: l,
|
|
8975
|
-
highlightDescription: s = "",
|
|
8976
|
-
image: c,
|
|
8977
|
-
maxWidth: d,
|
|
8978
|
-
title: p,
|
|
8979
|
-
titleColor: g
|
|
8980
|
-
}) => {
|
|
8981
|
-
const u = D(), { alt: f, src: y, width: $ = "77px", height: m = "77px" } = c, w = k(() => {
|
|
8982
|
-
t == null || t.onClick();
|
|
8983
|
-
}, [t]), v = k(() => {
|
|
8984
|
-
r == null || r.onClick();
|
|
8985
|
-
}, [r]), C = /* @__PURE__ */ n(
|
|
8986
|
-
x,
|
|
8987
|
-
{
|
|
8988
|
-
alignItems: "center",
|
|
8989
|
-
"aria-label": p,
|
|
8990
|
-
"aria-modal": "true",
|
|
8991
|
-
bgColor: i ? "rgba(52, 64, 84, 70%)" : "",
|
|
8992
|
-
display: "flex",
|
|
8993
|
-
height: "100vh",
|
|
8994
|
-
justify: "center",
|
|
8995
|
-
left: "0",
|
|
8996
|
-
position: e ? "fixed" : "absolute",
|
|
8997
|
-
top: "0px",
|
|
8998
|
-
width: "100%",
|
|
8999
|
-
zIndex: 99999,
|
|
9000
|
-
children: /* @__PURE__ */ h(
|
|
9001
|
-
x,
|
|
9002
|
-
{
|
|
9003
|
-
bgColor: u.palette.white,
|
|
9004
|
-
border: `1px solid ${u.palette.gray[200]}`,
|
|
9005
|
-
borderRadius: "8px",
|
|
9006
|
-
display: "inline-flex",
|
|
9007
|
-
flexDirection: "column",
|
|
9008
|
-
maxWidth: d,
|
|
9009
|
-
pb: 2.5,
|
|
9010
|
-
pl: 2.5,
|
|
9011
|
-
pr: 2.5,
|
|
9012
|
-
pt: 2.5,
|
|
9013
|
-
shadow: "lg",
|
|
9014
|
-
width: "100%",
|
|
9015
|
-
zIndex: 11,
|
|
9016
|
-
children: [
|
|
9017
|
-
/* @__PURE__ */ h(
|
|
9018
|
-
x,
|
|
9019
|
-
{
|
|
9020
|
-
alignItems: "center",
|
|
9021
|
-
display: "flex",
|
|
9022
|
-
flexDirection: "column",
|
|
9023
|
-
width: "100%",
|
|
9024
|
-
children: [
|
|
9025
|
-
/* @__PURE__ */ n(x, { children: /* @__PURE__ */ n(
|
|
9026
|
-
pe,
|
|
9027
|
-
{
|
|
9028
|
-
alt: f,
|
|
9029
|
-
height: m,
|
|
9030
|
-
publicId: y,
|
|
9031
|
-
width: $
|
|
9032
|
-
}
|
|
9033
|
-
) }),
|
|
9034
|
-
/* @__PURE__ */ h(
|
|
9035
|
-
x,
|
|
9036
|
-
{
|
|
9037
|
-
display: "flex",
|
|
9038
|
-
flexDirection: "column",
|
|
9039
|
-
gap: 0.5,
|
|
9040
|
-
mb: 1.5,
|
|
9041
|
-
mt: 1.5,
|
|
9042
|
-
children: [
|
|
9043
|
-
/* @__PURE__ */ n(
|
|
9044
|
-
Q,
|
|
9045
|
-
{
|
|
9046
|
-
color: g,
|
|
9047
|
-
fontWeight: "bold",
|
|
9048
|
-
lineSpacing: 2.5,
|
|
9049
|
-
size: "lg",
|
|
9050
|
-
textAlign: "center",
|
|
9051
|
-
children: p
|
|
9052
|
-
}
|
|
9053
|
-
),
|
|
9054
|
-
/* @__PURE__ */ n(
|
|
9055
|
-
zo,
|
|
9056
|
-
{
|
|
9057
|
-
description: l,
|
|
9058
|
-
highlightDescription: s
|
|
9059
|
-
}
|
|
9060
|
-
)
|
|
9061
|
-
]
|
|
9062
|
-
}
|
|
9063
|
-
)
|
|
9064
|
-
]
|
|
9065
|
-
}
|
|
9066
|
-
),
|
|
9067
|
-
a && /* @__PURE__ */ n(x, { mb: 1, scroll: "y", children: /* @__PURE__ */ n(x, { height: "100%", children: a }) }),
|
|
9068
|
-
/* @__PURE__ */ h(
|
|
9069
|
-
x,
|
|
9070
|
-
{
|
|
9071
|
-
alignItems: "flex-start",
|
|
9072
|
-
display: "flex",
|
|
9073
|
-
gap: 1,
|
|
9074
|
-
justify: "center",
|
|
9075
|
-
children: [
|
|
9076
|
-
P.isObject(r) ? /* @__PURE__ */ n(
|
|
9077
|
-
B,
|
|
9078
|
-
{
|
|
9079
|
-
onClick: v,
|
|
9080
|
-
variant: (r == null ? void 0 : r.variant) ?? "primary",
|
|
9081
|
-
children: r == null ? void 0 : r.text
|
|
9082
|
-
},
|
|
9083
|
-
r == null ? void 0 : r.key
|
|
9084
|
-
) : void 0,
|
|
9085
|
-
P.isObject(t) ? /* @__PURE__ */ n(
|
|
9086
|
-
B,
|
|
9087
|
-
{
|
|
9088
|
-
onClick: w,
|
|
9089
|
-
variant: (t == null ? void 0 : t.variant) ?? "tertiary",
|
|
9090
|
-
children: t == null ? void 0 : t.text
|
|
9091
|
-
},
|
|
9092
|
-
t == null ? void 0 : t.key
|
|
9093
|
-
) : void 0
|
|
9094
|
-
]
|
|
9095
|
-
}
|
|
9096
|
-
)
|
|
9097
|
-
]
|
|
9098
|
-
}
|
|
9099
|
-
)
|
|
9100
|
-
}
|
|
9101
|
-
);
|
|
9102
|
-
return e ? de(C, o ?? document.body) : C;
|
|
9103
|
-
}, Io = b.div`
|
|
9104
|
-
${({ theme: e }) => `
|
|
9105
|
-
height: ${e.spacing[1]};
|
|
9106
|
-
width: ${e.spacing[1]};
|
|
9107
|
-
position: relative;
|
|
9108
|
-
flex-shrink: 0;
|
|
9109
|
-
|
|
9110
|
-
& .ellipse-1,
|
|
9111
|
-
& .ellipse-2,
|
|
9112
|
-
& .icon {
|
|
9113
|
-
top: 50%;
|
|
9114
|
-
left: 50%;
|
|
9115
|
-
transform: translate(-50%, -50%);
|
|
9116
|
-
position: absolute;
|
|
9117
|
-
}
|
|
9118
|
-
|
|
9119
|
-
& .ellipse-1 {
|
|
9120
|
-
color: ${e.palette.warning[200]};
|
|
9121
|
-
position: absolute;
|
|
9122
|
-
}
|
|
8779
|
+
& .ellipse-1 {
|
|
8780
|
+
color: ${e.palette.warning[200]};
|
|
8781
|
+
position: absolute;
|
|
8782
|
+
}
|
|
9123
8783
|
|
|
9124
8784
|
& .ellipse-2 {
|
|
9125
8785
|
transform: scale(0.75) translate(-67%, -66%);
|
|
@@ -9131,12 +8791,12 @@ const So = {
|
|
|
9131
8791
|
font-size: ${e.spacing[0.5]};
|
|
9132
8792
|
}
|
|
9133
8793
|
`}
|
|
9134
|
-
`,
|
|
8794
|
+
`, Co = ({
|
|
9135
8795
|
margin: e,
|
|
9136
8796
|
onClick: t,
|
|
9137
8797
|
text: i
|
|
9138
8798
|
}) => {
|
|
9139
|
-
const a = D(), r = /* @__PURE__ */ h(
|
|
8799
|
+
const a = D(), r = /* @__PURE__ */ h(ko, { children: [
|
|
9140
8800
|
/* @__PURE__ */ n(N, { icon: "circle", iconClass: "ellipse-1", iconSize: "xs" }),
|
|
9141
8801
|
/* @__PURE__ */ n(N, { icon: "circle", iconClass: "ellipse-2", iconSize: "xs" }),
|
|
9142
8802
|
/* @__PURE__ */ n(N, { icon: "crown", iconClass: "icon", iconSize: "xs" })
|
|
@@ -9174,7 +8834,7 @@ const So = {
|
|
|
9174
8834
|
)
|
|
9175
8835
|
}
|
|
9176
8836
|
) : /* @__PURE__ */ n(x, { display: "inline-block", mr: e, onClick: t, children: r });
|
|
9177
|
-
},
|
|
8837
|
+
}, es = ({
|
|
9178
8838
|
score: e
|
|
9179
8839
|
}) => {
|
|
9180
8840
|
const t = D(), i = e <= 33 ? "priority-bars-low" : "priority-bars-medium", a = e > 66 || e === 0 ? "priority-bars-high" : i;
|
|
@@ -9192,7 +8852,7 @@ const So = {
|
|
|
9192
8852
|
),
|
|
9193
8853
|
/* @__PURE__ */ n(I, { color: t.palette.gray[800], size: "sm", textAlign: "right", children: e + "%" })
|
|
9194
8854
|
] });
|
|
9195
|
-
}, { getVariant:
|
|
8855
|
+
}, { getVariant: So } = re(
|
|
9196
8856
|
(e) => ({
|
|
9197
8857
|
compliance: `
|
|
9198
8858
|
display: inline-flex;
|
|
@@ -9258,17 +8918,17 @@ const So = {
|
|
|
9258
8918
|
}
|
|
9259
8919
|
`
|
|
9260
8920
|
})
|
|
9261
|
-
),
|
|
8921
|
+
), zo = (e, t) => t < 50 ? e.palette.error[500] : t < 80 ? e.palette.warning[500] : e.palette.success[500], Io = b.div`
|
|
9262
8922
|
${({ theme: e, $minWidth: t, $orientation: i, $rounded: a, $variant: r }) => `
|
|
9263
8923
|
background-color: ${e.palette.gray[100]};
|
|
9264
8924
|
border-radius: ${a ? "100px" : "unset"};
|
|
9265
8925
|
${i === "horizontal" ? "min-width" : "min-height"}: ${t}px;
|
|
9266
8926
|
${i === "horizontal" ? "" : "height: 100%;"}
|
|
9267
8927
|
|
|
9268
|
-
${
|
|
8928
|
+
${So(e, r)}
|
|
9269
8929
|
|
|
9270
8930
|
`}
|
|
9271
|
-
`,
|
|
8931
|
+
`, To = b.div`
|
|
9272
8932
|
${({ theme: e, $percentage: t, $rounded: i, $variant: a }) => `
|
|
9273
8933
|
display: inline-flex;
|
|
9274
8934
|
width: ${t}%;
|
|
@@ -9278,9 +8938,9 @@ const So = {
|
|
|
9278
8938
|
border-radius: ${i ? "100px" : "unset"};
|
|
9279
8939
|
border-end-end-radius: ${i && t < 100 ? "0" : "inherit"};
|
|
9280
8940
|
border-start-end-radius: ${i && t < 100 ? "0" : "inherit"};
|
|
9281
|
-
background-color: ${a === "compliance" ?
|
|
8941
|
+
background-color: ${a === "compliance" ? zo(e, t) : "inherit"};
|
|
9282
8942
|
`}
|
|
9283
|
-
`,
|
|
8943
|
+
`, ts = ({
|
|
9284
8944
|
minWidth: e = 100,
|
|
9285
8945
|
percentage: t,
|
|
9286
8946
|
percentageLocation: i = "right",
|
|
@@ -9299,7 +8959,7 @@ const So = {
|
|
|
9299
8959
|
children: /* @__PURE__ */ n(I, { ml: 0.5, mr: s ? 0.5 : 0, size: "sm", children: `${t}%` })
|
|
9300
8960
|
}
|
|
9301
8961
|
) : null, d = /* @__PURE__ */ n(
|
|
9302
|
-
|
|
8962
|
+
Io,
|
|
9303
8963
|
{
|
|
9304
8964
|
$minWidth: e,
|
|
9305
8965
|
$orientation: r,
|
|
@@ -9307,7 +8967,7 @@ const So = {
|
|
|
9307
8967
|
$variant: l,
|
|
9308
8968
|
className: r,
|
|
9309
8969
|
children: /* @__PURE__ */ n(
|
|
9310
|
-
|
|
8970
|
+
To,
|
|
9311
8971
|
{
|
|
9312
8972
|
$percentage: t,
|
|
9313
8973
|
$rounded: o,
|
|
@@ -9317,30 +8977,207 @@ const So = {
|
|
|
9317
8977
|
)
|
|
9318
8978
|
}
|
|
9319
8979
|
);
|
|
9320
|
-
return /* @__PURE__ */ h(
|
|
9321
|
-
x,
|
|
9322
|
-
{
|
|
9323
|
-
alignItems: "center",
|
|
9324
|
-
display: "inline-flex",
|
|
9325
|
-
flexDirection: s ? "row-reverse" : "row",
|
|
9326
|
-
height: r === "horizontal" ? "auto" : "100%",
|
|
9327
|
-
maxWidth: s ? `${e + 43}px` : void 0,
|
|
9328
|
-
minWidth: s ? `${e + 43}px` : void 0,
|
|
9329
|
-
textAlign: "end",
|
|
9330
|
-
children: [
|
|
9331
|
-
d,
|
|
9332
|
-
c
|
|
9333
|
-
]
|
|
9334
|
-
}
|
|
9335
|
-
);
|
|
9336
|
-
},
|
|
8980
|
+
return /* @__PURE__ */ h(
|
|
8981
|
+
x,
|
|
8982
|
+
{
|
|
8983
|
+
alignItems: "center",
|
|
8984
|
+
display: "inline-flex",
|
|
8985
|
+
flexDirection: s ? "row-reverse" : "row",
|
|
8986
|
+
height: r === "horizontal" ? "auto" : "100%",
|
|
8987
|
+
maxWidth: s ? `${e + 43}px` : void 0,
|
|
8988
|
+
minWidth: s ? `${e + 43}px` : void 0,
|
|
8989
|
+
textAlign: "end",
|
|
8990
|
+
children: [
|
|
8991
|
+
d,
|
|
8992
|
+
c
|
|
8993
|
+
]
|
|
8994
|
+
}
|
|
8995
|
+
);
|
|
8996
|
+
}, No = ({
|
|
8997
|
+
description: e = "",
|
|
8998
|
+
highlightDescription: t = ""
|
|
8999
|
+
}) => {
|
|
9000
|
+
const i = D(), a = typeof t == "string", r = a ? "" : new RegExp(`(${t.join("|")})`, "u");
|
|
9001
|
+
return t.length > 0 ? /* @__PURE__ */ n(
|
|
9002
|
+
I,
|
|
9003
|
+
{
|
|
9004
|
+
display: "inline",
|
|
9005
|
+
lineSpacing: 1.5,
|
|
9006
|
+
size: "lg",
|
|
9007
|
+
textAlign: "center",
|
|
9008
|
+
children: a ? /* @__PURE__ */ h(Oe, { children: [
|
|
9009
|
+
/* @__PURE__ */ n(
|
|
9010
|
+
xe,
|
|
9011
|
+
{
|
|
9012
|
+
color: i.palette.gray[600],
|
|
9013
|
+
display: "inline",
|
|
9014
|
+
fontWeight: "bold",
|
|
9015
|
+
lineSpacing: 1.5,
|
|
9016
|
+
size: "lg",
|
|
9017
|
+
children: t
|
|
9018
|
+
}
|
|
9019
|
+
),
|
|
9020
|
+
e
|
|
9021
|
+
] }) : e.split(r).map(
|
|
9022
|
+
(o, l) => t.includes(o) ? /* @__PURE__ */ n(
|
|
9023
|
+
xe,
|
|
9024
|
+
{
|
|
9025
|
+
color: i.palette.gray[600],
|
|
9026
|
+
display: "inline",
|
|
9027
|
+
fontWeight: "bold",
|
|
9028
|
+
lineSpacing: 1.5,
|
|
9029
|
+
size: "lg",
|
|
9030
|
+
children: o
|
|
9031
|
+
},
|
|
9032
|
+
`${l + 1}-bold`
|
|
9033
|
+
) : o
|
|
9034
|
+
)
|
|
9035
|
+
}
|
|
9036
|
+
) : /* @__PURE__ */ n(I, { lineSpacing: 1.5, size: "lg", textAlign: "center", children: e });
|
|
9037
|
+
}, is = ({
|
|
9038
|
+
_portal: e = !1,
|
|
9039
|
+
cancelButton: t,
|
|
9040
|
+
darkBackground: i = !1,
|
|
9041
|
+
children: a,
|
|
9042
|
+
confirmButton: r,
|
|
9043
|
+
container: o,
|
|
9044
|
+
description: l,
|
|
9045
|
+
highlightDescription: s = "",
|
|
9046
|
+
image: c,
|
|
9047
|
+
maxWidth: d,
|
|
9048
|
+
title: p,
|
|
9049
|
+
titleColor: g
|
|
9050
|
+
}) => {
|
|
9051
|
+
const u = D(), { alt: f, src: y, width: $ = "77px", height: m = "77px" } = c, w = k(() => {
|
|
9052
|
+
t == null || t.onClick();
|
|
9053
|
+
}, [t]), v = k(() => {
|
|
9054
|
+
r == null || r.onClick();
|
|
9055
|
+
}, [r]), C = /* @__PURE__ */ n(
|
|
9056
|
+
x,
|
|
9057
|
+
{
|
|
9058
|
+
alignItems: "center",
|
|
9059
|
+
"aria-label": p,
|
|
9060
|
+
"aria-modal": "true",
|
|
9061
|
+
bgColor: i ? "rgba(52, 64, 84, 70%)" : "",
|
|
9062
|
+
display: "flex",
|
|
9063
|
+
height: "100vh",
|
|
9064
|
+
justify: "center",
|
|
9065
|
+
left: "0",
|
|
9066
|
+
position: e ? "fixed" : "absolute",
|
|
9067
|
+
top: "0px",
|
|
9068
|
+
width: "100%",
|
|
9069
|
+
zIndex: 99999,
|
|
9070
|
+
children: /* @__PURE__ */ h(
|
|
9071
|
+
x,
|
|
9072
|
+
{
|
|
9073
|
+
bgColor: u.palette.white,
|
|
9074
|
+
border: `1px solid ${u.palette.gray[200]}`,
|
|
9075
|
+
borderRadius: "8px",
|
|
9076
|
+
display: "inline-flex",
|
|
9077
|
+
flexDirection: "column",
|
|
9078
|
+
maxWidth: d,
|
|
9079
|
+
pb: 2.5,
|
|
9080
|
+
pl: 2.5,
|
|
9081
|
+
pr: 2.5,
|
|
9082
|
+
pt: 2.5,
|
|
9083
|
+
shadow: "lg",
|
|
9084
|
+
width: "100%",
|
|
9085
|
+
zIndex: 11,
|
|
9086
|
+
children: [
|
|
9087
|
+
/* @__PURE__ */ h(
|
|
9088
|
+
x,
|
|
9089
|
+
{
|
|
9090
|
+
alignItems: "center",
|
|
9091
|
+
display: "flex",
|
|
9092
|
+
flexDirection: "column",
|
|
9093
|
+
width: "100%",
|
|
9094
|
+
children: [
|
|
9095
|
+
/* @__PURE__ */ n(x, { children: /* @__PURE__ */ n(
|
|
9096
|
+
pe,
|
|
9097
|
+
{
|
|
9098
|
+
alt: f,
|
|
9099
|
+
height: m,
|
|
9100
|
+
publicId: y,
|
|
9101
|
+
width: $
|
|
9102
|
+
}
|
|
9103
|
+
) }),
|
|
9104
|
+
/* @__PURE__ */ h(
|
|
9105
|
+
x,
|
|
9106
|
+
{
|
|
9107
|
+
display: "flex",
|
|
9108
|
+
flexDirection: "column",
|
|
9109
|
+
gap: 0.5,
|
|
9110
|
+
mb: 1.5,
|
|
9111
|
+
mt: 1.5,
|
|
9112
|
+
children: [
|
|
9113
|
+
/* @__PURE__ */ n(
|
|
9114
|
+
Q,
|
|
9115
|
+
{
|
|
9116
|
+
color: g,
|
|
9117
|
+
fontWeight: "bold",
|
|
9118
|
+
lineSpacing: 2.5,
|
|
9119
|
+
size: "lg",
|
|
9120
|
+
textAlign: "center",
|
|
9121
|
+
children: p
|
|
9122
|
+
}
|
|
9123
|
+
),
|
|
9124
|
+
/* @__PURE__ */ n(
|
|
9125
|
+
No,
|
|
9126
|
+
{
|
|
9127
|
+
description: l,
|
|
9128
|
+
highlightDescription: s
|
|
9129
|
+
}
|
|
9130
|
+
)
|
|
9131
|
+
]
|
|
9132
|
+
}
|
|
9133
|
+
)
|
|
9134
|
+
]
|
|
9135
|
+
}
|
|
9136
|
+
),
|
|
9137
|
+
a && /* @__PURE__ */ n(x, { mb: 1, scroll: "y", children: /* @__PURE__ */ n(x, { height: "100%", children: a }) }),
|
|
9138
|
+
/* @__PURE__ */ h(
|
|
9139
|
+
x,
|
|
9140
|
+
{
|
|
9141
|
+
alignItems: "flex-start",
|
|
9142
|
+
display: "flex",
|
|
9143
|
+
gap: 1,
|
|
9144
|
+
justify: "center",
|
|
9145
|
+
children: [
|
|
9146
|
+
P.isObject(r) ? /* @__PURE__ */ n(
|
|
9147
|
+
B,
|
|
9148
|
+
{
|
|
9149
|
+
onClick: v,
|
|
9150
|
+
variant: (r == null ? void 0 : r.variant) ?? "primary",
|
|
9151
|
+
children: r == null ? void 0 : r.text
|
|
9152
|
+
},
|
|
9153
|
+
r == null ? void 0 : r.key
|
|
9154
|
+
) : void 0,
|
|
9155
|
+
P.isObject(t) ? /* @__PURE__ */ n(
|
|
9156
|
+
B,
|
|
9157
|
+
{
|
|
9158
|
+
onClick: w,
|
|
9159
|
+
variant: (t == null ? void 0 : t.variant) ?? "tertiary",
|
|
9160
|
+
children: t == null ? void 0 : t.text
|
|
9161
|
+
},
|
|
9162
|
+
t == null ? void 0 : t.key
|
|
9163
|
+
) : void 0
|
|
9164
|
+
]
|
|
9165
|
+
}
|
|
9166
|
+
)
|
|
9167
|
+
]
|
|
9168
|
+
}
|
|
9169
|
+
)
|
|
9170
|
+
}
|
|
9171
|
+
);
|
|
9172
|
+
return e ? de(C, o ?? document.body) : C;
|
|
9173
|
+
}, Fo = b.div.attrs({
|
|
9337
9174
|
className: "comp-scroll-up"
|
|
9338
9175
|
})`
|
|
9339
9176
|
bottom: 15px;
|
|
9340
9177
|
position: fixed;
|
|
9341
9178
|
right: 140px;
|
|
9342
9179
|
z-index: 100;
|
|
9343
|
-
`,
|
|
9180
|
+
`, ns = ({
|
|
9344
9181
|
scrollerId: e = "dashboard",
|
|
9345
9182
|
visibleAt: t = 500
|
|
9346
9183
|
}) => {
|
|
@@ -9356,7 +9193,7 @@ const So = {
|
|
|
9356
9193
|
top: 0
|
|
9357
9194
|
});
|
|
9358
9195
|
}, [r]);
|
|
9359
|
-
return i ? /* @__PURE__ */ n(
|
|
9196
|
+
return i ? /* @__PURE__ */ n(Fo, { children: /* @__PURE__ */ n(
|
|
9360
9197
|
Y,
|
|
9361
9198
|
{
|
|
9362
9199
|
height: "40px",
|
|
@@ -9367,7 +9204,7 @@ const So = {
|
|
|
9367
9204
|
width: "40px"
|
|
9368
9205
|
}
|
|
9369
9206
|
) }) : null;
|
|
9370
|
-
},
|
|
9207
|
+
}, Do = {
|
|
9371
9208
|
critical: {
|
|
9372
9209
|
bgColor: T.palette.primary[700],
|
|
9373
9210
|
colorL: T.palette.gray[800],
|
|
@@ -9393,12 +9230,12 @@ const So = {
|
|
|
9393
9230
|
colorL: T.palette.gray[800],
|
|
9394
9231
|
colorR: T.palette.gray[800]
|
|
9395
9232
|
}
|
|
9396
|
-
},
|
|
9233
|
+
}, as = ({
|
|
9397
9234
|
textL: e,
|
|
9398
9235
|
textR: t,
|
|
9399
9236
|
variant: i
|
|
9400
9237
|
}) => {
|
|
9401
|
-
const a = D(), { bgColor: r, colorL: o, colorR: l } =
|
|
9238
|
+
const a = D(), { bgColor: r, colorL: o, colorR: l } = Do[i];
|
|
9402
9239
|
return /* @__PURE__ */ h(x, { alignItems: "flex-start", display: "inline-flex", children: [
|
|
9403
9240
|
e ? /* @__PURE__ */ n(
|
|
9404
9241
|
x,
|
|
@@ -9430,7 +9267,7 @@ const So = {
|
|
|
9430
9267
|
}
|
|
9431
9268
|
)
|
|
9432
9269
|
] });
|
|
9433
|
-
},
|
|
9270
|
+
}, jo = (e, t) => {
|
|
9434
9271
|
const i = {
|
|
9435
9272
|
critical: T.palette.primary[700],
|
|
9436
9273
|
high: T.palette.error[500],
|
|
@@ -9457,7 +9294,7 @@ const So = {
|
|
|
9457
9294
|
variant: e,
|
|
9458
9295
|
value: t
|
|
9459
9296
|
}) => {
|
|
9460
|
-
const { iconColor: i, iconText: a, iconTextColor: r, textColor: o } =
|
|
9297
|
+
const { iconColor: i, iconText: a, iconTextColor: r, textColor: o } = jo(
|
|
9461
9298
|
e,
|
|
9462
9299
|
t
|
|
9463
9300
|
), l = P.capitalize(e.charAt(0)) + e.slice(1);
|
|
@@ -9487,7 +9324,7 @@ const So = {
|
|
|
9487
9324
|
]
|
|
9488
9325
|
}
|
|
9489
9326
|
);
|
|
9490
|
-
},
|
|
9327
|
+
}, rs = ({
|
|
9491
9328
|
critical: e,
|
|
9492
9329
|
high: t,
|
|
9493
9330
|
medium: i,
|
|
@@ -9497,7 +9334,7 @@ const So = {
|
|
|
9497
9334
|
/* @__PURE__ */ n($e, { value: t, variant: "high" }),
|
|
9498
9335
|
/* @__PURE__ */ n($e, { value: i, variant: "medium" }),
|
|
9499
9336
|
/* @__PURE__ */ n($e, { value: a, variant: "low" })
|
|
9500
|
-
] }),
|
|
9337
|
+
] }), Lo = b.div`
|
|
9501
9338
|
${({ theme: e }) => `
|
|
9502
9339
|
border-radius: ${e.spacing[0.25]};
|
|
9503
9340
|
cursor: pointer;
|
|
@@ -9515,13 +9352,13 @@ const So = {
|
|
|
9515
9352
|
display: block;
|
|
9516
9353
|
}
|
|
9517
9354
|
`}
|
|
9518
|
-
`,
|
|
9355
|
+
`, os = ({
|
|
9519
9356
|
visibleElement: e,
|
|
9520
9357
|
hiddenElement: t
|
|
9521
|
-
}) => /* @__PURE__ */ h(
|
|
9358
|
+
}) => /* @__PURE__ */ h(Lo, { children: [
|
|
9522
9359
|
e,
|
|
9523
9360
|
/* @__PURE__ */ n(x, { display: "none", position: "absolute", top: "100%", zIndex: 10, children: t })
|
|
9524
|
-
] }),
|
|
9361
|
+
] }), Eo = ({
|
|
9525
9362
|
customBadge: e = void 0,
|
|
9526
9363
|
description: t,
|
|
9527
9364
|
icon: i,
|
|
@@ -9568,7 +9405,7 @@ const So = {
|
|
|
9568
9405
|
/* @__PURE__ */ h(x, { children: [
|
|
9569
9406
|
/* @__PURE__ */ h(x, { alignItems: "center", display: "inline-flex", gap: 0.5, children: [
|
|
9570
9407
|
/* @__PURE__ */ n(I, { color: l.palette.gray[800], size: "sm", children: o }),
|
|
9571
|
-
r ? /* @__PURE__ */ n(
|
|
9408
|
+
r ? /* @__PURE__ */ n(Co, { text: "Upgrade" }) : void 0,
|
|
9572
9409
|
e
|
|
9573
9410
|
] }),
|
|
9574
9411
|
/* @__PURE__ */ n(I, { color: l.palette.gray[400], size: "xs", children: t })
|
|
@@ -9576,7 +9413,7 @@ const So = {
|
|
|
9576
9413
|
]
|
|
9577
9414
|
}
|
|
9578
9415
|
);
|
|
9579
|
-
},
|
|
9416
|
+
}, Ro = b(an.div)`
|
|
9580
9417
|
${({ theme: e }) => `
|
|
9581
9418
|
background-color: ${e.palette.white};
|
|
9582
9419
|
box-shadow: ${e.shadows.lg};
|
|
@@ -9599,7 +9436,7 @@ const So = {
|
|
|
9599
9436
|
height: auto;
|
|
9600
9437
|
}
|
|
9601
9438
|
`}
|
|
9602
|
-
`,
|
|
9439
|
+
`, ls = ({
|
|
9603
9440
|
children: e,
|
|
9604
9441
|
closeIconId: t = "close-menu",
|
|
9605
9442
|
isOpen: i,
|
|
@@ -9631,7 +9468,7 @@ const So = {
|
|
|
9631
9468
|
});
|
|
9632
9469
|
};
|
|
9633
9470
|
}, [i, r]), /* @__PURE__ */ n(rn, { features: on, children: /* @__PURE__ */ n(
|
|
9634
|
-
|
|
9471
|
+
Ro,
|
|
9635
9472
|
{
|
|
9636
9473
|
animate: i ? {
|
|
9637
9474
|
display: "block",
|
|
@@ -9714,7 +9551,7 @@ const So = {
|
|
|
9714
9551
|
requiresUpgrade: w,
|
|
9715
9552
|
title: v
|
|
9716
9553
|
}) => /* @__PURE__ */ n(
|
|
9717
|
-
|
|
9554
|
+
Eo,
|
|
9718
9555
|
{
|
|
9719
9556
|
customBadge: f,
|
|
9720
9557
|
description: y,
|
|
@@ -9765,7 +9602,7 @@ const So = {
|
|
|
9765
9602
|
] })
|
|
9766
9603
|
}
|
|
9767
9604
|
) });
|
|
9768
|
-
},
|
|
9605
|
+
}, Ao = (e, t) => t >= 50 ? `
|
|
9769
9606
|
${e.palette.gray[200]} 50%,
|
|
9770
9607
|
${e.palette.primary[500]} 50.05%,
|
|
9771
9608
|
${e.palette.primary[500]} ${t}%,
|
|
@@ -9776,7 +9613,7 @@ const So = {
|
|
|
9776
9613
|
${e.palette.primary[500]} 50%,
|
|
9777
9614
|
${e.palette.gray[200]} 50.05%,
|
|
9778
9615
|
${e.palette.gray[200]} 100%
|
|
9779
|
-
`,
|
|
9616
|
+
`, Po = b.div`
|
|
9780
9617
|
${({ theme: e, $min: t, $value: i }) => `
|
|
9781
9618
|
align-items: center;
|
|
9782
9619
|
align-self: stretch;
|
|
@@ -9792,7 +9629,7 @@ const So = {
|
|
|
9792
9629
|
${t >= 0 ? `
|
|
9793
9630
|
${e.palette.primary[500]} ${i}%,
|
|
9794
9631
|
${e.palette.gray[200]} ${i}%
|
|
9795
|
-
` :
|
|
9632
|
+
` : Ao(e, i)}
|
|
9796
9633
|
);
|
|
9797
9634
|
border-radius: ${e.spacing[0.125]};
|
|
9798
9635
|
height: ${e.spacing[0.25]};
|
|
@@ -9816,7 +9653,7 @@ const So = {
|
|
|
9816
9653
|
border: 1px solid ${e.palette.primary[500]};
|
|
9817
9654
|
}
|
|
9818
9655
|
`}
|
|
9819
|
-
`,
|
|
9656
|
+
`, Wo = b.div`
|
|
9820
9657
|
${({ theme: e }) => `
|
|
9821
9658
|
align-items: center;
|
|
9822
9659
|
display: flex;
|
|
@@ -9830,7 +9667,7 @@ const So = {
|
|
|
9830
9667
|
font-size: ${e.spacing[0.5]};
|
|
9831
9668
|
}
|
|
9832
9669
|
`}
|
|
9833
|
-
`,
|
|
9670
|
+
`, Vo = b.output`
|
|
9834
9671
|
${({ theme: e }) => `
|
|
9835
9672
|
align-items: flex-end;
|
|
9836
9673
|
border-radius: ${e.spacing[0.5]};
|
|
@@ -9841,7 +9678,7 @@ const So = {
|
|
|
9841
9678
|
padding: ${e.spacing[0.625]} ${e.spacing[0.75]};
|
|
9842
9679
|
width: 59px;
|
|
9843
9680
|
`}
|
|
9844
|
-
`,
|
|
9681
|
+
`, Ho = ({
|
|
9845
9682
|
state: e,
|
|
9846
9683
|
trackRef: t,
|
|
9847
9684
|
index: i,
|
|
@@ -9852,7 +9689,7 @@ const So = {
|
|
|
9852
9689
|
e
|
|
9853
9690
|
);
|
|
9854
9691
|
return /* @__PURE__ */ n("div", { ...o, className: `thumb ${s ? "dragging" : ""}`, children: /* @__PURE__ */ n(sn, { children: /* @__PURE__ */ n("input", { ...l, "aria-label": a, ref: r }) }) });
|
|
9855
|
-
},
|
|
9692
|
+
}, Oo = (e, t, i) => Math.round((i - e) / (t - e) * 100), ss = (e) => {
|
|
9856
9693
|
const t = D(), i = O(null), { label: a, minValue: r = 0, maxValue: o = 100, name: l, setValue: s, watch: c } = e, d = cn(), p = dn({
|
|
9857
9694
|
...e,
|
|
9858
9695
|
numberFormatter: d,
|
|
@@ -9860,7 +9697,7 @@ const So = {
|
|
|
9860
9697
|
s == null || s(l, y);
|
|
9861
9698
|
},
|
|
9862
9699
|
value: c == null ? void 0 : c(l)
|
|
9863
|
-
}), g =
|
|
9700
|
+
}), g = Oo(r, o, p.getThumbValue(0)), { groupProps: u, trackProps: f } = pn(
|
|
9864
9701
|
{ ...e, "aria-label": l, id: l },
|
|
9865
9702
|
p,
|
|
9866
9703
|
i
|
|
@@ -9875,7 +9712,7 @@ const So = {
|
|
|
9875
9712
|
width: "100%",
|
|
9876
9713
|
children: [
|
|
9877
9714
|
/* @__PURE__ */ h(
|
|
9878
|
-
|
|
9715
|
+
Po,
|
|
9879
9716
|
{
|
|
9880
9717
|
...u,
|
|
9881
9718
|
$min: r ?? 0,
|
|
@@ -9888,10 +9725,10 @@ const So = {
|
|
|
9888
9725
|
...f,
|
|
9889
9726
|
className: `track ${p.isDisabled ? "disabled" : ""}`,
|
|
9890
9727
|
ref: i,
|
|
9891
|
-
children: /* @__PURE__ */ n(
|
|
9728
|
+
children: /* @__PURE__ */ n(Ho, { index: 0, name: l, state: p, trackRef: i })
|
|
9892
9729
|
}
|
|
9893
9730
|
),
|
|
9894
|
-
/* @__PURE__ */ h(
|
|
9731
|
+
/* @__PURE__ */ h(Wo, { children: [
|
|
9895
9732
|
/* @__PURE__ */ n("p", { children: `${d.format(r)} (Low)` }),
|
|
9896
9733
|
r < 0 && /* @__PURE__ */ n("p", { children: "0" }),
|
|
9897
9734
|
/* @__PURE__ */ n("p", { children: `${d.format(o)} (High)` })
|
|
@@ -9899,11 +9736,11 @@ const So = {
|
|
|
9899
9736
|
]
|
|
9900
9737
|
}
|
|
9901
9738
|
),
|
|
9902
|
-
/* @__PURE__ */ n(
|
|
9739
|
+
/* @__PURE__ */ n(Vo, { children: /* @__PURE__ */ n(I, { color: t.palette.gray[800], size: "sm", textAlign: "right", children: p.getThumbValueLabel(0) }) })
|
|
9903
9740
|
]
|
|
9904
9741
|
}
|
|
9905
9742
|
) });
|
|
9906
|
-
}, { getVariant:
|
|
9743
|
+
}, { getVariant: Bo } = re(
|
|
9907
9744
|
(e) => ({
|
|
9908
9745
|
completed: `
|
|
9909
9746
|
background-color: ${e.palette.primary[500]};
|
|
@@ -9932,7 +9769,7 @@ const So = {
|
|
|
9932
9769
|
}
|
|
9933
9770
|
`
|
|
9934
9771
|
})
|
|
9935
|
-
),
|
|
9772
|
+
), Mo = b.div`
|
|
9936
9773
|
${({ theme: e }) => `
|
|
9937
9774
|
align-items: stretch;
|
|
9938
9775
|
background-color: ${e.palette.white};
|
|
@@ -9942,7 +9779,7 @@ const So = {
|
|
|
9942
9779
|
padding: ${`${e.spacing[1]} ${e.spacing[1]}`};
|
|
9943
9780
|
scroll-behavior: unset;
|
|
9944
9781
|
`}
|
|
9945
|
-
`,
|
|
9782
|
+
`, Go = b.div`
|
|
9946
9783
|
display: flex;
|
|
9947
9784
|
flex-direction: row;
|
|
9948
9785
|
margin-bottom: ${({ theme: e }) => e.spacing[2]};
|
|
@@ -9950,7 +9787,7 @@ const So = {
|
|
|
9950
9787
|
&:last-child > div:first-child > span::after {
|
|
9951
9788
|
display: none;
|
|
9952
9789
|
}
|
|
9953
|
-
`,
|
|
9790
|
+
`, Uo = b.div`
|
|
9954
9791
|
${({ theme: e }) => `
|
|
9955
9792
|
display: inline-flex;
|
|
9956
9793
|
font-family: ${e.typography.type.primary};
|
|
@@ -9962,7 +9799,7 @@ const So = {
|
|
|
9962
9799
|
margin-right: ${e.spacing[0.5]};
|
|
9963
9800
|
}
|
|
9964
9801
|
`}
|
|
9965
|
-
`,
|
|
9802
|
+
`, _o = b.span`
|
|
9966
9803
|
${({ theme: e, $variant: t }) => `
|
|
9967
9804
|
border-radius: 6px;
|
|
9968
9805
|
display: inline-block;
|
|
@@ -9985,9 +9822,9 @@ const So = {
|
|
|
9985
9822
|
height: calc(100% - ${e.spacing[1]});
|
|
9986
9823
|
}
|
|
9987
9824
|
|
|
9988
|
-
${
|
|
9825
|
+
${Bo(e, t)}
|
|
9989
9826
|
`}
|
|
9990
|
-
`,
|
|
9827
|
+
`, cs = ({
|
|
9991
9828
|
button: { disabled: e = !1, text: t, type: i = "button", onClick: a },
|
|
9992
9829
|
steps: r
|
|
9993
9830
|
}) => {
|
|
@@ -10000,10 +9837,10 @@ const So = {
|
|
|
10000
9837
|
),
|
|
10001
9838
|
[]
|
|
10002
9839
|
);
|
|
10003
|
-
return /* @__PURE__ */ n(
|
|
9840
|
+
return /* @__PURE__ */ n(Mo, { children: r.map((c, d) => {
|
|
10004
9841
|
const { content: p, title: g, nextAction: u, previousAction: f } = c, y = d + 1, $ = y === o ? "current" : "disabled", m = y < o ? "completed" : $;
|
|
10005
|
-
return /* @__PURE__ */ h(
|
|
10006
|
-
/* @__PURE__ */ n(x, { maxWidth: "40px", position: "relative", children: /* @__PURE__ */ n(
|
|
9842
|
+
return /* @__PURE__ */ h(Go, { children: [
|
|
9843
|
+
/* @__PURE__ */ n(x, { maxWidth: "40px", position: "relative", children: /* @__PURE__ */ n(_o, { $variant: m, children: m === "completed" ? /* @__PURE__ */ n(N, { icon: "check", iconSize: "xs", iconType: "fa-solid" }) : y }) }),
|
|
10007
9844
|
/* @__PURE__ */ h(x, { ml: 1.5, width: "100%", children: [
|
|
10008
9845
|
/* @__PURE__ */ n(
|
|
10009
9846
|
Q,
|
|
@@ -10017,7 +9854,7 @@ const So = {
|
|
|
10017
9854
|
),
|
|
10018
9855
|
m === "current" && /* @__PURE__ */ h(x, { children: [
|
|
10019
9856
|
p,
|
|
10020
|
-
/* @__PURE__ */ h(
|
|
9857
|
+
/* @__PURE__ */ h(Uo, { children: [
|
|
10021
9858
|
o > 1 && /* @__PURE__ */ n(
|
|
10022
9859
|
B,
|
|
10023
9860
|
{
|
|
@@ -10050,7 +9887,7 @@ const So = {
|
|
|
10050
9887
|
] })
|
|
10051
9888
|
] }, c.title);
|
|
10052
9889
|
}) });
|
|
10053
|
-
},
|
|
9890
|
+
}, Yo = b.button`
|
|
10054
9891
|
${({ theme: e }) => `
|
|
10055
9892
|
align-items: center;
|
|
10056
9893
|
background-color: ${e.palette.white};
|
|
@@ -10092,14 +9929,14 @@ const So = {
|
|
|
10092
9929
|
background-color: ${e.palette.gray[100]};
|
|
10093
9930
|
}
|
|
10094
9931
|
`}
|
|
10095
|
-
`,
|
|
9932
|
+
`, Ko = {
|
|
10096
9933
|
add: { icon: "plus" },
|
|
10097
9934
|
approve: { icon: "check" },
|
|
10098
9935
|
disabled: { icon: "ban" },
|
|
10099
9936
|
reject: { icon: "xmark" },
|
|
10100
9937
|
submit: { icon: "arrow-right" },
|
|
10101
9938
|
success: { icon: "check" }
|
|
10102
|
-
},
|
|
9939
|
+
}, ds = ({
|
|
10103
9940
|
disabled: e = !1,
|
|
10104
9941
|
icon: t,
|
|
10105
9942
|
id: i,
|
|
@@ -10110,7 +9947,7 @@ const So = {
|
|
|
10110
9947
|
variant: s
|
|
10111
9948
|
}) => {
|
|
10112
9949
|
const c = D(), d = /* @__PURE__ */ h(
|
|
10113
|
-
|
|
9950
|
+
Yo,
|
|
10114
9951
|
{
|
|
10115
9952
|
"aria-label": r ?? void 0,
|
|
10116
9953
|
className: s,
|
|
@@ -10123,7 +9960,7 @@ const So = {
|
|
|
10123
9960
|
N,
|
|
10124
9961
|
{
|
|
10125
9962
|
clickable: !1,
|
|
10126
|
-
icon: t ??
|
|
9963
|
+
icon: t ?? Ko[s].icon,
|
|
10127
9964
|
iconSize: r === void 0 ? "xxs" : "xs",
|
|
10128
9965
|
iconType: "fa-light"
|
|
10129
9966
|
}
|
|
@@ -10136,27 +9973,7 @@ const So = {
|
|
|
10136
9973
|
d,
|
|
10137
9974
|
a && /* @__PURE__ */ n(I, { color: c.palette.gray[800], ml: 0.5, size: "sm", children: a })
|
|
10138
9975
|
] });
|
|
10139
|
-
},
|
|
10140
|
-
({ isActive: t, label: i, onClick: a }, r) => /* @__PURE__ */ n(
|
|
10141
|
-
$r,
|
|
10142
|
-
{
|
|
10143
|
-
className: t ? "active" : "",
|
|
10144
|
-
onClick: a,
|
|
10145
|
-
type: "button",
|
|
10146
|
-
children: /* @__PURE__ */ n(
|
|
10147
|
-
Q,
|
|
10148
|
-
{
|
|
10149
|
-
color: "inherit",
|
|
10150
|
-
fontWeight: "semibold",
|
|
10151
|
-
size: "sm",
|
|
10152
|
-
sizeSm: "xs",
|
|
10153
|
-
children: i
|
|
10154
|
-
}
|
|
10155
|
-
)
|
|
10156
|
-
},
|
|
10157
|
-
`${i}-${r}`
|
|
10158
|
-
)
|
|
10159
|
-
) }), Zo = b.div`
|
|
9976
|
+
}, qo = b.div`
|
|
10160
9977
|
${({ theme: e, $size: t }) => `
|
|
10161
9978
|
align-items: center;
|
|
10162
9979
|
background-color: ${e.palette.white};
|
|
@@ -10179,7 +9996,7 @@ const So = {
|
|
|
10179
9996
|
border: 1px solid ${e.palette.gray[600]};
|
|
10180
9997
|
}
|
|
10181
9998
|
`}
|
|
10182
|
-
`,
|
|
9999
|
+
`, Xo = b.div`
|
|
10183
10000
|
${({ theme: e, $size: t }) => `
|
|
10184
10001
|
display: ${t === "long" ? "flex" : "block"};
|
|
10185
10002
|
flex-direction: column;
|
|
@@ -10229,14 +10046,14 @@ const So = {
|
|
|
10229
10046
|
transform: translateX(-50%);
|
|
10230
10047
|
}
|
|
10231
10048
|
`}
|
|
10232
|
-
`,
|
|
10049
|
+
`, Jo = ({
|
|
10233
10050
|
date: e,
|
|
10234
10051
|
description: t,
|
|
10235
10052
|
title: i,
|
|
10236
10053
|
size: a = "long"
|
|
10237
10054
|
}) => {
|
|
10238
10055
|
const r = D();
|
|
10239
|
-
return /* @__PURE__ */ h(
|
|
10056
|
+
return /* @__PURE__ */ h(qo, { $size: a, className: "timeline-card", children: [
|
|
10240
10057
|
/* @__PURE__ */ n(
|
|
10241
10058
|
I,
|
|
10242
10059
|
{
|
|
@@ -10273,12 +10090,12 @@ const So = {
|
|
|
10273
10090
|
);
|
|
10274
10091
|
}) })
|
|
10275
10092
|
] });
|
|
10276
|
-
},
|
|
10093
|
+
}, ps = ({ items: e }) => {
|
|
10277
10094
|
const t = O(null), [i, a] = F("long");
|
|
10278
10095
|
return U(() => {
|
|
10279
10096
|
t.current && a(t.current.offsetWidth <= 1100 ? "small" : "long");
|
|
10280
|
-
}, []), /* @__PURE__ */ n(x, { ref: t, width: "100%", children: /* @__PURE__ */ n(
|
|
10281
|
-
|
|
10097
|
+
}, []), /* @__PURE__ */ n(x, { ref: t, width: "100%", children: /* @__PURE__ */ n(Xo, { $size: i, children: e.map((r, o) => /* @__PURE__ */ n(
|
|
10098
|
+
Jo,
|
|
10282
10099
|
{
|
|
10283
10100
|
date: r.date,
|
|
10284
10101
|
description: r.description,
|
|
@@ -10287,7 +10104,7 @@ const So = {
|
|
|
10287
10104
|
},
|
|
10288
10105
|
`${r.title}-${o}`
|
|
10289
10106
|
)) }) });
|
|
10290
|
-
},
|
|
10107
|
+
}, Zo = b.div`
|
|
10291
10108
|
${({ theme: e }) => `
|
|
10292
10109
|
align-items: center;
|
|
10293
10110
|
display: flex;
|
|
@@ -10317,7 +10134,7 @@ const So = {
|
|
|
10317
10134
|
width: 320px;
|
|
10318
10135
|
}
|
|
10319
10136
|
`}
|
|
10320
|
-
`,
|
|
10137
|
+
`, Qo = b.button`
|
|
10321
10138
|
${({ theme: e }) => `
|
|
10322
10139
|
align-items: center;
|
|
10323
10140
|
background: linear-gradient(
|
|
@@ -10346,7 +10163,7 @@ const So = {
|
|
|
10346
10163
|
color: ${e.palette.white};
|
|
10347
10164
|
}
|
|
10348
10165
|
`}
|
|
10349
|
-
`,
|
|
10166
|
+
`, gs = ({
|
|
10350
10167
|
defaultSelection: e,
|
|
10351
10168
|
options: t,
|
|
10352
10169
|
handleClick: i
|
|
@@ -10362,9 +10179,9 @@ const So = {
|
|
|
10362
10179
|
),
|
|
10363
10180
|
[i]
|
|
10364
10181
|
);
|
|
10365
|
-
return /* @__PURE__ */ n(
|
|
10182
|
+
return /* @__PURE__ */ n(Zo, { children: t.map(
|
|
10366
10183
|
(l, s) => /* @__PURE__ */ n(
|
|
10367
|
-
|
|
10184
|
+
Qo,
|
|
10368
10185
|
{
|
|
10369
10186
|
className: `${l.includes(a) && "selected"}`,
|
|
10370
10187
|
onClick: o(l),
|
|
@@ -10383,7 +10200,7 @@ const So = {
|
|
|
10383
10200
|
`${l}-${s}`
|
|
10384
10201
|
)
|
|
10385
10202
|
) });
|
|
10386
|
-
},
|
|
10203
|
+
}, us = {
|
|
10387
10204
|
content: "",
|
|
10388
10205
|
disableBeacon: !0,
|
|
10389
10206
|
hideCloseButton: !1,
|
|
@@ -10415,7 +10232,7 @@ const So = {
|
|
|
10415
10232
|
}
|
|
10416
10233
|
},
|
|
10417
10234
|
target: ""
|
|
10418
|
-
},
|
|
10235
|
+
}, fs = ({ run: e, steps: t, onFinish: i }) => {
|
|
10419
10236
|
const [a, r] = F(e), [o, l] = F(0), s = k(
|
|
10420
10237
|
(c) => {
|
|
10421
10238
|
const { action: d, index: p, status: g, type: u } = c;
|
|
@@ -10444,6 +10261,189 @@ const So = {
|
|
|
10444
10261
|
}
|
|
10445
10262
|
}
|
|
10446
10263
|
);
|
|
10264
|
+
}, hs = ({ items: e }) => /* @__PURE__ */ n($r, { children: e.map(
|
|
10265
|
+
({ isActive: t, label: i, onClick: a }, r) => /* @__PURE__ */ n(
|
|
10266
|
+
br,
|
|
10267
|
+
{
|
|
10268
|
+
className: t ? "active" : "",
|
|
10269
|
+
onClick: a,
|
|
10270
|
+
type: "button",
|
|
10271
|
+
children: /* @__PURE__ */ n(
|
|
10272
|
+
Q,
|
|
10273
|
+
{
|
|
10274
|
+
color: "inherit",
|
|
10275
|
+
fontWeight: "semibold",
|
|
10276
|
+
size: "sm",
|
|
10277
|
+
sizeSm: "xs",
|
|
10278
|
+
children: i
|
|
10279
|
+
}
|
|
10280
|
+
)
|
|
10281
|
+
},
|
|
10282
|
+
`${i}-${r}`
|
|
10283
|
+
)
|
|
10284
|
+
) }), el = /* @__PURE__ */ n(
|
|
10285
|
+
x,
|
|
10286
|
+
{
|
|
10287
|
+
alignItems: "center",
|
|
10288
|
+
bgColor: T.palette.primary[25],
|
|
10289
|
+
borderRadius: "8px",
|
|
10290
|
+
gap: 0.5,
|
|
10291
|
+
justify: "center",
|
|
10292
|
+
padding: [0.125, 0.25, 0.125, 0.25],
|
|
10293
|
+
width: "max-content",
|
|
10294
|
+
children: /* @__PURE__ */ n(
|
|
10295
|
+
I,
|
|
10296
|
+
{
|
|
10297
|
+
bgGradient: T.palette.gradients["01"],
|
|
10298
|
+
fontWeight: "semibold",
|
|
10299
|
+
size: "xs",
|
|
10300
|
+
textFill: "transparent",
|
|
10301
|
+
children: "Recommended"
|
|
10302
|
+
}
|
|
10303
|
+
)
|
|
10304
|
+
}
|
|
10305
|
+
), tl = b.div`
|
|
10306
|
+
${({ className: e, theme: t }) => `
|
|
10307
|
+
align-items: flex-start;
|
|
10308
|
+
border-radius: ${t.spacing[1]};
|
|
10309
|
+
background: ${t.palette.white};
|
|
10310
|
+
display: flex;
|
|
10311
|
+
flex-direction: column;
|
|
10312
|
+
gap: ${t.spacing[1]};
|
|
10313
|
+
padding: ${t.spacing[1.5]};
|
|
10314
|
+
position: relative;
|
|
10315
|
+
width: 320px;
|
|
10316
|
+
|
|
10317
|
+
button {
|
|
10318
|
+
text-align: center;
|
|
10319
|
+
width: 100%;
|
|
10320
|
+
}
|
|
10321
|
+
|
|
10322
|
+
${e === "essential" ? `border: 2px solid ${t.palette.gray[300]};` : `
|
|
10323
|
+
box-shadow: 0px 9px 18px 0px rgba(243, 38, 55, 0.06),
|
|
10324
|
+
0px 18px 27px 0px rgba(243, 38, 55, 0.10);
|
|
10325
|
+
|
|
10326
|
+
&::before {
|
|
10327
|
+
background: ${t.palette.gradients["01"]} border-box;
|
|
10328
|
+
border-radius: ${t.spacing[1]};
|
|
10329
|
+
content: "";
|
|
10330
|
+
position: absolute;
|
|
10331
|
+
inset: 0;
|
|
10332
|
+
border: 2px solid transparent;
|
|
10333
|
+
mask:
|
|
10334
|
+
linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
|
10335
|
+
mask-composite: exclude;
|
|
10336
|
+
}
|
|
10337
|
+
`}
|
|
10338
|
+
`}
|
|
10339
|
+
`;
|
|
10340
|
+
b.div`
|
|
10341
|
+
${({ className: e, theme: t }) => `
|
|
10342
|
+
align-items: flex-start;
|
|
10343
|
+
border-radius: ${t.spacing[1]};
|
|
10344
|
+
display: flex;
|
|
10345
|
+
flex-direction: column;
|
|
10346
|
+
justify-content: center;
|
|
10347
|
+
gap: ${t.spacing[1.5]};
|
|
10348
|
+
padding: ${t.spacing[1.5]};
|
|
10349
|
+
width: 466px;
|
|
10350
|
+
|
|
10351
|
+
button {
|
|
10352
|
+
text-align: center;
|
|
10353
|
+
width: 100%;
|
|
10354
|
+
}
|
|
10355
|
+
|
|
10356
|
+
${e === "essential" ? `
|
|
10357
|
+
background: linear-gradient(
|
|
10358
|
+
180deg,
|
|
10359
|
+
${t.palette.primary[400]} 0%,
|
|
10360
|
+
${t.palette.black} 100%
|
|
10361
|
+
);` : `
|
|
10362
|
+
background: ${t.palette.white};
|
|
10363
|
+
box-shadow: 0px 9px 18px 0px rgba(243, 38, 55, 0.06),
|
|
10364
|
+
0px 18px 27px 0px rgba(243, 38, 55, 0.10);
|
|
10365
|
+
`}
|
|
10366
|
+
|
|
10367
|
+
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
10368
|
+
width: 320px;
|
|
10369
|
+
}
|
|
10370
|
+
`}
|
|
10371
|
+
`;
|
|
10372
|
+
const il = {
|
|
10373
|
+
advanced: {
|
|
10374
|
+
title: "Advanced plan",
|
|
10375
|
+
benefits: "Leverage vulnerability scanning + AI + expert intelligence",
|
|
10376
|
+
buttonText: "Contact sales",
|
|
10377
|
+
description: "For teams that want to discover risk exposure with speed and accuracy.",
|
|
10378
|
+
priceGroup: "$1,579"
|
|
10379
|
+
},
|
|
10380
|
+
essential: {
|
|
10381
|
+
title: "Essential plan",
|
|
10382
|
+
benefits: "Leverage vulnerability scanning",
|
|
10383
|
+
buttonText: "Start a 21-day free trial",
|
|
10384
|
+
description: `For teams that want to discover risk exposure quickly
|
|
10385
|
+
through our scanning tool.`,
|
|
10386
|
+
priceAuthor: "$499",
|
|
10387
|
+
priceGroup: "$1,579"
|
|
10388
|
+
}
|
|
10389
|
+
}, ys = ({
|
|
10390
|
+
description: e,
|
|
10391
|
+
onClick: t,
|
|
10392
|
+
plan: i
|
|
10393
|
+
}) => {
|
|
10394
|
+
const {
|
|
10395
|
+
title: a,
|
|
10396
|
+
description: r,
|
|
10397
|
+
benefits: o,
|
|
10398
|
+
buttonText: l
|
|
10399
|
+
} = il[i], s = e ?? r;
|
|
10400
|
+
return /* @__PURE__ */ h(tl, { className: i, children: [
|
|
10401
|
+
/* @__PURE__ */ h(
|
|
10402
|
+
x,
|
|
10403
|
+
{
|
|
10404
|
+
display: "flex",
|
|
10405
|
+
flexDirection: "column",
|
|
10406
|
+
gap: 0.25,
|
|
10407
|
+
pt: i === "essential" ? 1.75 : 0,
|
|
10408
|
+
children: [
|
|
10409
|
+
i === "advanced" && el,
|
|
10410
|
+
/* @__PURE__ */ n(
|
|
10411
|
+
Q,
|
|
10412
|
+
{
|
|
10413
|
+
color: T.palette.gray[900],
|
|
10414
|
+
fontWeight: "semibold",
|
|
10415
|
+
size: "sm",
|
|
10416
|
+
sizeSm: "xs",
|
|
10417
|
+
children: a
|
|
10418
|
+
}
|
|
10419
|
+
),
|
|
10420
|
+
/* @__PURE__ */ n(
|
|
10421
|
+
I,
|
|
10422
|
+
{
|
|
10423
|
+
color: T.palette.gray[400],
|
|
10424
|
+
fontWeight: "semibold",
|
|
10425
|
+
pb: i === "essential" ? 1.25 : 0,
|
|
10426
|
+
size: "sm",
|
|
10427
|
+
sizeSm: "xs",
|
|
10428
|
+
children: o
|
|
10429
|
+
}
|
|
10430
|
+
)
|
|
10431
|
+
]
|
|
10432
|
+
}
|
|
10433
|
+
),
|
|
10434
|
+
/* @__PURE__ */ n(
|
|
10435
|
+
I,
|
|
10436
|
+
{
|
|
10437
|
+
lineSpacing: 1.5,
|
|
10438
|
+
lineSpacingSm: 1.25,
|
|
10439
|
+
pb: i === "advanced" ? 1.5 : 0,
|
|
10440
|
+
size: "md",
|
|
10441
|
+
sizeSm: "sm",
|
|
10442
|
+
children: s
|
|
10443
|
+
}
|
|
10444
|
+
),
|
|
10445
|
+
/* @__PURE__ */ n(B, { onClick: t, variant: "primary", children: l })
|
|
10446
|
+
] });
|
|
10447
10447
|
};
|
|
10448
10448
|
export {
|
|
10449
10449
|
Va as $,
|
|
@@ -10475,7 +10475,7 @@ export {
|
|
|
10475
10475
|
hl as Z,
|
|
10476
10476
|
vl as _,
|
|
10477
10477
|
Lt as a,
|
|
10478
|
-
|
|
10478
|
+
qe as a$,
|
|
10479
10479
|
kl as a0,
|
|
10480
10480
|
Ha as a1,
|
|
10481
10481
|
Sl as a2,
|
|
@@ -10487,35 +10487,35 @@ export {
|
|
|
10487
10487
|
ml as a8,
|
|
10488
10488
|
Ea as a9,
|
|
10489
10489
|
Mt as aA,
|
|
10490
|
-
|
|
10490
|
+
ns as aB,
|
|
10491
10491
|
ve as aC,
|
|
10492
|
-
|
|
10493
|
-
|
|
10494
|
-
|
|
10495
|
-
|
|
10496
|
-
|
|
10497
|
-
|
|
10498
|
-
|
|
10492
|
+
as as aD,
|
|
10493
|
+
rs as aE,
|
|
10494
|
+
os as aF,
|
|
10495
|
+
ls as aG,
|
|
10496
|
+
ss as aH,
|
|
10497
|
+
cs as aI,
|
|
10498
|
+
ds as aJ,
|
|
10499
10499
|
_t as aK,
|
|
10500
10500
|
oe as aL,
|
|
10501
|
-
|
|
10502
|
-
|
|
10503
|
-
|
|
10504
|
-
|
|
10501
|
+
Jo as aM,
|
|
10502
|
+
ps as aN,
|
|
10503
|
+
er as aO,
|
|
10504
|
+
gs as aP,
|
|
10505
10505
|
ie as aQ,
|
|
10506
|
-
|
|
10507
|
-
|
|
10506
|
+
us as aR,
|
|
10507
|
+
fs as aS,
|
|
10508
10508
|
Q as aT,
|
|
10509
10509
|
I as aU,
|
|
10510
10510
|
xe as aV,
|
|
10511
|
-
|
|
10512
|
-
|
|
10511
|
+
_a as aW,
|
|
10512
|
+
Ya as aX,
|
|
10513
10513
|
Re as aY,
|
|
10514
10514
|
Il as aZ,
|
|
10515
|
-
|
|
10515
|
+
Ka as a_,
|
|
10516
10516
|
ce as aa,
|
|
10517
10517
|
Ae as ab,
|
|
10518
|
-
|
|
10518
|
+
zr as ac,
|
|
10519
10519
|
Ul as ad,
|
|
10520
10520
|
_l as ae,
|
|
10521
10521
|
Yl as af,
|
|
@@ -10524,21 +10524,21 @@ export {
|
|
|
10524
10524
|
Xl as ai,
|
|
10525
10525
|
Jr as aj,
|
|
10526
10526
|
Ll as ak,
|
|
10527
|
-
|
|
10527
|
+
hr as al,
|
|
10528
10528
|
El as am,
|
|
10529
10529
|
Mr as an,
|
|
10530
10530
|
Rl as ao,
|
|
10531
10531
|
Al as ap,
|
|
10532
10532
|
Ur as aq,
|
|
10533
10533
|
Jl as ar,
|
|
10534
|
-
|
|
10534
|
+
kr as as,
|
|
10535
10535
|
Zl as at,
|
|
10536
10536
|
Ql as au,
|
|
10537
10537
|
vt as av,
|
|
10538
|
-
|
|
10539
|
-
|
|
10540
|
-
|
|
10541
|
-
|
|
10538
|
+
Co as aw,
|
|
10539
|
+
es as ax,
|
|
10540
|
+
ts as ay,
|
|
10541
|
+
is as az,
|
|
10542
10542
|
Et as b,
|
|
10543
10543
|
Tl as b0,
|
|
10544
10544
|
Rn as b1,
|
|
@@ -10550,13 +10550,13 @@ export {
|
|
|
10550
10550
|
Ue as b7,
|
|
10551
10551
|
We as b8,
|
|
10552
10552
|
_e as b9,
|
|
10553
|
-
|
|
10554
|
-
|
|
10555
|
-
|
|
10556
|
-
|
|
10557
|
-
|
|
10558
|
-
|
|
10559
|
-
|
|
10553
|
+
No as bA,
|
|
10554
|
+
$e as bB,
|
|
10555
|
+
Eo as bC,
|
|
10556
|
+
Ho as bD,
|
|
10557
|
+
hs as bE,
|
|
10558
|
+
el as bF,
|
|
10559
|
+
ys as bG,
|
|
10560
10560
|
xa as ba,
|
|
10561
10561
|
ma as bb,
|
|
10562
10562
|
wa as bc,
|
|
@@ -10568,11 +10568,11 @@ export {
|
|
|
10568
10568
|
ht as bi,
|
|
10569
10569
|
yt as bj,
|
|
10570
10570
|
Ve as bk,
|
|
10571
|
-
|
|
10572
|
-
|
|
10573
|
-
|
|
10574
|
-
|
|
10575
|
-
|
|
10571
|
+
sr as bl,
|
|
10572
|
+
yr as bm,
|
|
10573
|
+
Cr as bn,
|
|
10574
|
+
Tr as bo,
|
|
10575
|
+
Fr as bp,
|
|
10576
10576
|
Er as bq,
|
|
10577
10577
|
Pr as br,
|
|
10578
10578
|
Wr as bs,
|
|
@@ -10601,7 +10601,7 @@ export {
|
|
|
10601
10601
|
Fl as r,
|
|
10602
10602
|
Se as s,
|
|
10603
10603
|
Dl as t,
|
|
10604
|
-
|
|
10604
|
+
Xe as u,
|
|
10605
10605
|
re as v,
|
|
10606
10606
|
jl as w,
|
|
10607
10607
|
dl as x,
|