@fluidattacks/design 3.16.3 → 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-_JbpXhe6.js → components-CAuhgM55.js} +187 -186
- package/dist/{components-3G2ZcBCV.mjs → components-DRqO8HHB.mjs} +806 -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,
|
|
@@ -6772,6 +6772,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6772
6772
|
) : /* @__PURE__ */ n("div", {});
|
|
6773
6773
|
}, Rr = b(Ae)`
|
|
6774
6774
|
padding: 8px;
|
|
6775
|
+
min-height: 36px;
|
|
6775
6776
|
min-width: unset;
|
|
6776
6777
|
`, Ar = b.div.attrs({
|
|
6777
6778
|
className: "comp-modal absolute top-[55px] overflow-auto"
|
|
@@ -6808,7 +6809,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
|
|
|
6808
6809
|
value: p.value,
|
|
6809
6810
|
width: "content",
|
|
6810
6811
|
children: /* @__PURE__ */ n(
|
|
6811
|
-
|
|
6812
|
+
Xe,
|
|
6812
6813
|
{
|
|
6813
6814
|
...i("checkbox"),
|
|
6814
6815
|
label: p.label,
|
|
@@ -7453,7 +7454,7 @@ const be = ({
|
|
|
7453
7454
|
onFiltersChange: r,
|
|
7454
7455
|
variant: o = "ungrouped"
|
|
7455
7456
|
}) => {
|
|
7456
|
-
const l =
|
|
7457
|
+
const l = qe("filters-modal"), [s, c] = F([]), [d, p] = F(
|
|
7457
7458
|
xt(s)
|
|
7458
7459
|
), g = i.map(($) => ({
|
|
7459
7460
|
...$,
|
|
@@ -7542,7 +7543,7 @@ const be = ({
|
|
|
7542
7543
|
id: f,
|
|
7543
7544
|
children: [
|
|
7544
7545
|
!R.isEmpty(g) && !R.isNil(g) && /* @__PURE__ */ n(
|
|
7545
|
-
|
|
7546
|
+
yr,
|
|
7546
7547
|
{
|
|
7547
7548
|
description: l,
|
|
7548
7549
|
modalRef: s,
|
|
@@ -7561,13 +7562,13 @@ const be = ({
|
|
|
7561
7562
|
children: /* @__PURE__ */ n(_t, { items: p })
|
|
7562
7563
|
}
|
|
7563
7564
|
),
|
|
7564
|
-
(R.isObject(o) || a) && /* @__PURE__ */ h(
|
|
7565
|
+
(R.isObject(o) || a) && /* @__PURE__ */ h(dr, { children: [
|
|
7565
7566
|
a,
|
|
7566
|
-
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 }) }),
|
|
7567
7568
|
R.isObject(o) && R.isString(o.imageText) && /* @__PURE__ */ n(I, { size: "sm", children: o.imageText })
|
|
7568
7569
|
] }),
|
|
7569
7570
|
/* @__PURE__ */ n(
|
|
7570
|
-
|
|
7571
|
+
hr,
|
|
7571
7572
|
{
|
|
7572
7573
|
alert: t,
|
|
7573
7574
|
cancelButton: i,
|
|
@@ -7585,7 +7586,7 @@ const be = ({
|
|
|
7585
7586
|
document.getElementById("portals") ?? document.body
|
|
7586
7587
|
) : s.isOpen ? $ : null;
|
|
7587
7588
|
}, Pl = () => {
|
|
7588
|
-
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(
|
|
7589
7590
|
async (p) => (a(p), t(!0), new Promise((g) => {
|
|
7590
7591
|
r.current = g;
|
|
7591
7592
|
})),
|
|
@@ -8310,7 +8311,7 @@ const be = ({
|
|
|
8310
8311
|
const l = D(), { userName: s, email: c, phone: d, userRole: p } = r;
|
|
8311
8312
|
return Re(a, () => {
|
|
8312
8313
|
o(!1);
|
|
8313
|
-
}), /* @__PURE__ */ h(
|
|
8314
|
+
}), /* @__PURE__ */ h(zr, { children: [
|
|
8314
8315
|
/* @__PURE__ */ n("li", { className: "user-info", children: /* @__PURE__ */ h(x, { display: "inline-flex", gap: 0.25, width: "100%", children: [
|
|
8315
8316
|
/* @__PURE__ */ h(
|
|
8316
8317
|
x,
|
|
@@ -8759,366 +8760,26 @@ const be = ({
|
|
|
8759
8760
|
]
|
|
8760
8761
|
}
|
|
8761
8762
|
);
|
|
8762
|
-
}, ko =
|
|
8763
|
-
|
|
8764
|
-
|
|
8765
|
-
|
|
8766
|
-
bgColor: T.palette.primary[25],
|
|
8767
|
-
borderRadius: "8px",
|
|
8768
|
-
gap: 0.5,
|
|
8769
|
-
justify: "center",
|
|
8770
|
-
padding: [0.125, 0.25, 0.125, 0.25],
|
|
8771
|
-
width: "max-content",
|
|
8772
|
-
children: /* @__PURE__ */ n(
|
|
8773
|
-
I,
|
|
8774
|
-
{
|
|
8775
|
-
bgGradient: T.palette.gradients["01"],
|
|
8776
|
-
fontWeight: "semibold",
|
|
8777
|
-
size: "xs",
|
|
8778
|
-
textFill: "transparent",
|
|
8779
|
-
children: "Recommended"
|
|
8780
|
-
}
|
|
8781
|
-
)
|
|
8782
|
-
}
|
|
8783
|
-
), Co = b.div`
|
|
8784
|
-
${({ className: e, theme: t }) => `
|
|
8785
|
-
align-items: flex-start;
|
|
8786
|
-
border-radius: ${t.spacing[1]};
|
|
8787
|
-
background: ${t.palette.white};
|
|
8788
|
-
display: flex;
|
|
8789
|
-
flex-direction: column;
|
|
8790
|
-
gap: ${t.spacing[1]};
|
|
8791
|
-
padding: ${t.spacing[1.5]};
|
|
8763
|
+
}, ko = b.div`
|
|
8764
|
+
${({ theme: e }) => `
|
|
8765
|
+
height: ${e.spacing[1]};
|
|
8766
|
+
width: ${e.spacing[1]};
|
|
8792
8767
|
position: relative;
|
|
8793
|
-
|
|
8768
|
+
flex-shrink: 0;
|
|
8794
8769
|
|
|
8795
|
-
|
|
8796
|
-
|
|
8797
|
-
|
|
8770
|
+
& .ellipse-1,
|
|
8771
|
+
& .ellipse-2,
|
|
8772
|
+
& .icon {
|
|
8773
|
+
top: 50%;
|
|
8774
|
+
left: 50%;
|
|
8775
|
+
transform: translate(-50%, -50%);
|
|
8776
|
+
position: absolute;
|
|
8798
8777
|
}
|
|
8799
8778
|
|
|
8800
|
-
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
&::before {
|
|
8805
|
-
background: ${t.palette.gradients["01"]} border-box;
|
|
8806
|
-
border-radius: ${t.spacing[1]};
|
|
8807
|
-
content: "";
|
|
8808
|
-
position: absolute;
|
|
8809
|
-
inset: 0;
|
|
8810
|
-
border: 2px solid transparent;
|
|
8811
|
-
mask:
|
|
8812
|
-
linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
|
8813
|
-
mask-composite: exclude;
|
|
8814
|
-
}
|
|
8815
|
-
`}
|
|
8816
|
-
`}
|
|
8817
|
-
`;
|
|
8818
|
-
b.div`
|
|
8819
|
-
${({ className: e, theme: t }) => `
|
|
8820
|
-
align-items: flex-start;
|
|
8821
|
-
border-radius: ${t.spacing[1]};
|
|
8822
|
-
display: flex;
|
|
8823
|
-
flex-direction: column;
|
|
8824
|
-
justify-content: center;
|
|
8825
|
-
gap: ${t.spacing[1.5]};
|
|
8826
|
-
padding: ${t.spacing[1.5]};
|
|
8827
|
-
width: 466px;
|
|
8828
|
-
|
|
8829
|
-
button {
|
|
8830
|
-
text-align: center;
|
|
8831
|
-
width: 100%;
|
|
8832
|
-
}
|
|
8833
|
-
|
|
8834
|
-
${e === "essential" ? `
|
|
8835
|
-
background: linear-gradient(
|
|
8836
|
-
180deg,
|
|
8837
|
-
${t.palette.primary[400]} 0%,
|
|
8838
|
-
${t.palette.black} 100%
|
|
8839
|
-
);` : `
|
|
8840
|
-
background: ${t.palette.white};
|
|
8841
|
-
box-shadow: 0px 9px 18px 0px rgba(243, 38, 55, 0.06),
|
|
8842
|
-
0px 18px 27px 0px rgba(243, 38, 55, 0.10);
|
|
8843
|
-
`}
|
|
8844
|
-
|
|
8845
|
-
@media screen and (max-width: ${t.breakpoints.mobile}) {
|
|
8846
|
-
width: 320px;
|
|
8847
|
-
}
|
|
8848
|
-
`}
|
|
8849
|
-
`;
|
|
8850
|
-
const So = {
|
|
8851
|
-
advanced: {
|
|
8852
|
-
title: "Advanced plan",
|
|
8853
|
-
benefits: "Leverage vulnerability scanning + AI + expert intelligence",
|
|
8854
|
-
buttonText: "Contact sales",
|
|
8855
|
-
description: "For teams that want to discover risk exposure with speed and accuracy.",
|
|
8856
|
-
priceGroup: "$1,579"
|
|
8857
|
-
},
|
|
8858
|
-
essential: {
|
|
8859
|
-
title: "Essential plan",
|
|
8860
|
-
benefits: "Leverage vulnerability scanning",
|
|
8861
|
-
buttonText: "Start a 21-day free trial",
|
|
8862
|
-
description: `For teams that want to discover risk exposure quickly
|
|
8863
|
-
through our scanning tool.`,
|
|
8864
|
-
priceAuthor: "$499",
|
|
8865
|
-
priceGroup: "$1,579"
|
|
8866
|
-
}
|
|
8867
|
-
}, es = ({
|
|
8868
|
-
description: e,
|
|
8869
|
-
onClick: t,
|
|
8870
|
-
plan: i
|
|
8871
|
-
}) => {
|
|
8872
|
-
const {
|
|
8873
|
-
title: a,
|
|
8874
|
-
description: r,
|
|
8875
|
-
benefits: o,
|
|
8876
|
-
buttonText: l
|
|
8877
|
-
} = So[i], s = e ?? r;
|
|
8878
|
-
return /* @__PURE__ */ h(Co, { className: i, children: [
|
|
8879
|
-
/* @__PURE__ */ h(
|
|
8880
|
-
x,
|
|
8881
|
-
{
|
|
8882
|
-
display: "flex",
|
|
8883
|
-
flexDirection: "column",
|
|
8884
|
-
gap: 0.25,
|
|
8885
|
-
pt: i === "essential" ? 1.75 : 0,
|
|
8886
|
-
children: [
|
|
8887
|
-
i === "advanced" && ko,
|
|
8888
|
-
/* @__PURE__ */ n(
|
|
8889
|
-
Q,
|
|
8890
|
-
{
|
|
8891
|
-
color: T.palette.gray[900],
|
|
8892
|
-
fontWeight: "semibold",
|
|
8893
|
-
size: "sm",
|
|
8894
|
-
sizeSm: "xs",
|
|
8895
|
-
children: a
|
|
8896
|
-
}
|
|
8897
|
-
),
|
|
8898
|
-
/* @__PURE__ */ n(
|
|
8899
|
-
I,
|
|
8900
|
-
{
|
|
8901
|
-
color: T.palette.gray[400],
|
|
8902
|
-
fontWeight: "semibold",
|
|
8903
|
-
pb: i === "essential" ? 1.25 : 0,
|
|
8904
|
-
size: "sm",
|
|
8905
|
-
sizeSm: "xs",
|
|
8906
|
-
children: o
|
|
8907
|
-
}
|
|
8908
|
-
)
|
|
8909
|
-
]
|
|
8910
|
-
}
|
|
8911
|
-
),
|
|
8912
|
-
/* @__PURE__ */ n(
|
|
8913
|
-
I,
|
|
8914
|
-
{
|
|
8915
|
-
lineSpacing: 1.5,
|
|
8916
|
-
lineSpacingSm: 1.25,
|
|
8917
|
-
pb: i === "advanced" ? 1.5 : 0,
|
|
8918
|
-
size: "md",
|
|
8919
|
-
sizeSm: "sm",
|
|
8920
|
-
children: s
|
|
8921
|
-
}
|
|
8922
|
-
),
|
|
8923
|
-
/* @__PURE__ */ n(B, { onClick: t, variant: "primary", children: l })
|
|
8924
|
-
] });
|
|
8925
|
-
}, zo = ({
|
|
8926
|
-
description: e = "",
|
|
8927
|
-
highlightDescription: t = ""
|
|
8928
|
-
}) => {
|
|
8929
|
-
const i = D(), a = typeof t == "string", r = a ? "" : new RegExp(`(${t.join("|")})`, "u");
|
|
8930
|
-
return t.length > 0 ? /* @__PURE__ */ n(
|
|
8931
|
-
I,
|
|
8932
|
-
{
|
|
8933
|
-
display: "inline",
|
|
8934
|
-
lineSpacing: 1.5,
|
|
8935
|
-
size: "lg",
|
|
8936
|
-
textAlign: "center",
|
|
8937
|
-
children: a ? /* @__PURE__ */ h(Oe, { children: [
|
|
8938
|
-
/* @__PURE__ */ n(
|
|
8939
|
-
xe,
|
|
8940
|
-
{
|
|
8941
|
-
color: i.palette.gray[600],
|
|
8942
|
-
display: "inline",
|
|
8943
|
-
fontWeight: "bold",
|
|
8944
|
-
lineSpacing: 1.5,
|
|
8945
|
-
size: "lg",
|
|
8946
|
-
children: t
|
|
8947
|
-
}
|
|
8948
|
-
),
|
|
8949
|
-
e
|
|
8950
|
-
] }) : e.split(r).map(
|
|
8951
|
-
(o, l) => t.includes(o) ? /* @__PURE__ */ n(
|
|
8952
|
-
xe,
|
|
8953
|
-
{
|
|
8954
|
-
color: i.palette.gray[600],
|
|
8955
|
-
display: "inline",
|
|
8956
|
-
fontWeight: "bold",
|
|
8957
|
-
lineSpacing: 1.5,
|
|
8958
|
-
size: "lg",
|
|
8959
|
-
children: o
|
|
8960
|
-
},
|
|
8961
|
-
`${l + 1}-bold`
|
|
8962
|
-
) : o
|
|
8963
|
-
)
|
|
8964
|
-
}
|
|
8965
|
-
) : /* @__PURE__ */ n(I, { lineSpacing: 1.5, size: "lg", textAlign: "center", children: e });
|
|
8966
|
-
}, ts = ({
|
|
8967
|
-
_portal: e = !1,
|
|
8968
|
-
cancelButton: t,
|
|
8969
|
-
darkBackground: i = !1,
|
|
8970
|
-
children: a,
|
|
8971
|
-
confirmButton: r,
|
|
8972
|
-
container: o,
|
|
8973
|
-
description: l,
|
|
8974
|
-
highlightDescription: s = "",
|
|
8975
|
-
image: c,
|
|
8976
|
-
maxWidth: d,
|
|
8977
|
-
title: p,
|
|
8978
|
-
titleColor: g
|
|
8979
|
-
}) => {
|
|
8980
|
-
const u = D(), { alt: f, src: y, width: $ = "77px", height: m = "77px" } = c, w = k(() => {
|
|
8981
|
-
t == null || t.onClick();
|
|
8982
|
-
}, [t]), v = k(() => {
|
|
8983
|
-
r == null || r.onClick();
|
|
8984
|
-
}, [r]), C = /* @__PURE__ */ n(
|
|
8985
|
-
x,
|
|
8986
|
-
{
|
|
8987
|
-
alignItems: "center",
|
|
8988
|
-
"aria-label": p,
|
|
8989
|
-
"aria-modal": "true",
|
|
8990
|
-
bgColor: i ? "rgba(52, 64, 84, 70%)" : "",
|
|
8991
|
-
display: "flex",
|
|
8992
|
-
height: "100vh",
|
|
8993
|
-
justify: "center",
|
|
8994
|
-
left: "0",
|
|
8995
|
-
position: e ? "fixed" : "absolute",
|
|
8996
|
-
top: "0px",
|
|
8997
|
-
width: "100%",
|
|
8998
|
-
zIndex: 99999,
|
|
8999
|
-
children: /* @__PURE__ */ h(
|
|
9000
|
-
x,
|
|
9001
|
-
{
|
|
9002
|
-
bgColor: u.palette.white,
|
|
9003
|
-
border: `1px solid ${u.palette.gray[200]}`,
|
|
9004
|
-
borderRadius: "8px",
|
|
9005
|
-
display: "inline-flex",
|
|
9006
|
-
flexDirection: "column",
|
|
9007
|
-
maxWidth: d,
|
|
9008
|
-
pb: 2.5,
|
|
9009
|
-
pl: 2.5,
|
|
9010
|
-
pr: 2.5,
|
|
9011
|
-
pt: 2.5,
|
|
9012
|
-
shadow: "lg",
|
|
9013
|
-
width: "100%",
|
|
9014
|
-
zIndex: 11,
|
|
9015
|
-
children: [
|
|
9016
|
-
/* @__PURE__ */ h(
|
|
9017
|
-
x,
|
|
9018
|
-
{
|
|
9019
|
-
alignItems: "center",
|
|
9020
|
-
display: "flex",
|
|
9021
|
-
flexDirection: "column",
|
|
9022
|
-
width: "100%",
|
|
9023
|
-
children: [
|
|
9024
|
-
/* @__PURE__ */ n(x, { children: /* @__PURE__ */ n(
|
|
9025
|
-
pe,
|
|
9026
|
-
{
|
|
9027
|
-
alt: f,
|
|
9028
|
-
height: m,
|
|
9029
|
-
publicId: y,
|
|
9030
|
-
width: $
|
|
9031
|
-
}
|
|
9032
|
-
) }),
|
|
9033
|
-
/* @__PURE__ */ h(
|
|
9034
|
-
x,
|
|
9035
|
-
{
|
|
9036
|
-
display: "flex",
|
|
9037
|
-
flexDirection: "column",
|
|
9038
|
-
gap: 0.5,
|
|
9039
|
-
mb: 1.5,
|
|
9040
|
-
mt: 1.5,
|
|
9041
|
-
children: [
|
|
9042
|
-
/* @__PURE__ */ n(
|
|
9043
|
-
Q,
|
|
9044
|
-
{
|
|
9045
|
-
color: g,
|
|
9046
|
-
fontWeight: "bold",
|
|
9047
|
-
lineSpacing: 2.5,
|
|
9048
|
-
size: "lg",
|
|
9049
|
-
textAlign: "center",
|
|
9050
|
-
children: p
|
|
9051
|
-
}
|
|
9052
|
-
),
|
|
9053
|
-
/* @__PURE__ */ n(
|
|
9054
|
-
zo,
|
|
9055
|
-
{
|
|
9056
|
-
description: l,
|
|
9057
|
-
highlightDescription: s
|
|
9058
|
-
}
|
|
9059
|
-
)
|
|
9060
|
-
]
|
|
9061
|
-
}
|
|
9062
|
-
)
|
|
9063
|
-
]
|
|
9064
|
-
}
|
|
9065
|
-
),
|
|
9066
|
-
a && /* @__PURE__ */ n(x, { mb: 1, scroll: "y", children: /* @__PURE__ */ n(x, { height: "100%", children: a }) }),
|
|
9067
|
-
/* @__PURE__ */ h(
|
|
9068
|
-
x,
|
|
9069
|
-
{
|
|
9070
|
-
alignItems: "flex-start",
|
|
9071
|
-
display: "flex",
|
|
9072
|
-
gap: 1,
|
|
9073
|
-
justify: "center",
|
|
9074
|
-
children: [
|
|
9075
|
-
P.isObject(r) ? /* @__PURE__ */ n(
|
|
9076
|
-
B,
|
|
9077
|
-
{
|
|
9078
|
-
onClick: v,
|
|
9079
|
-
variant: (r == null ? void 0 : r.variant) ?? "primary",
|
|
9080
|
-
children: r == null ? void 0 : r.text
|
|
9081
|
-
},
|
|
9082
|
-
r == null ? void 0 : r.key
|
|
9083
|
-
) : void 0,
|
|
9084
|
-
P.isObject(t) ? /* @__PURE__ */ n(
|
|
9085
|
-
B,
|
|
9086
|
-
{
|
|
9087
|
-
onClick: w,
|
|
9088
|
-
variant: (t == null ? void 0 : t.variant) ?? "tertiary",
|
|
9089
|
-
children: t == null ? void 0 : t.text
|
|
9090
|
-
},
|
|
9091
|
-
t == null ? void 0 : t.key
|
|
9092
|
-
) : void 0
|
|
9093
|
-
]
|
|
9094
|
-
}
|
|
9095
|
-
)
|
|
9096
|
-
]
|
|
9097
|
-
}
|
|
9098
|
-
)
|
|
9099
|
-
}
|
|
9100
|
-
);
|
|
9101
|
-
return e ? de(C, o ?? document.body) : C;
|
|
9102
|
-
}, Io = b.div`
|
|
9103
|
-
${({ theme: e }) => `
|
|
9104
|
-
height: ${e.spacing[1]};
|
|
9105
|
-
width: ${e.spacing[1]};
|
|
9106
|
-
position: relative;
|
|
9107
|
-
flex-shrink: 0;
|
|
9108
|
-
|
|
9109
|
-
& .ellipse-1,
|
|
9110
|
-
& .ellipse-2,
|
|
9111
|
-
& .icon {
|
|
9112
|
-
top: 50%;
|
|
9113
|
-
left: 50%;
|
|
9114
|
-
transform: translate(-50%, -50%);
|
|
9115
|
-
position: absolute;
|
|
9116
|
-
}
|
|
9117
|
-
|
|
9118
|
-
& .ellipse-1 {
|
|
9119
|
-
color: ${e.palette.warning[200]};
|
|
9120
|
-
position: absolute;
|
|
9121
|
-
}
|
|
8779
|
+
& .ellipse-1 {
|
|
8780
|
+
color: ${e.palette.warning[200]};
|
|
8781
|
+
position: absolute;
|
|
8782
|
+
}
|
|
9122
8783
|
|
|
9123
8784
|
& .ellipse-2 {
|
|
9124
8785
|
transform: scale(0.75) translate(-67%, -66%);
|
|
@@ -9130,12 +8791,12 @@ const So = {
|
|
|
9130
8791
|
font-size: ${e.spacing[0.5]};
|
|
9131
8792
|
}
|
|
9132
8793
|
`}
|
|
9133
|
-
`,
|
|
8794
|
+
`, Co = ({
|
|
9134
8795
|
margin: e,
|
|
9135
8796
|
onClick: t,
|
|
9136
8797
|
text: i
|
|
9137
8798
|
}) => {
|
|
9138
|
-
const a = D(), r = /* @__PURE__ */ h(
|
|
8799
|
+
const a = D(), r = /* @__PURE__ */ h(ko, { children: [
|
|
9139
8800
|
/* @__PURE__ */ n(N, { icon: "circle", iconClass: "ellipse-1", iconSize: "xs" }),
|
|
9140
8801
|
/* @__PURE__ */ n(N, { icon: "circle", iconClass: "ellipse-2", iconSize: "xs" }),
|
|
9141
8802
|
/* @__PURE__ */ n(N, { icon: "crown", iconClass: "icon", iconSize: "xs" })
|
|
@@ -9173,7 +8834,7 @@ const So = {
|
|
|
9173
8834
|
)
|
|
9174
8835
|
}
|
|
9175
8836
|
) : /* @__PURE__ */ n(x, { display: "inline-block", mr: e, onClick: t, children: r });
|
|
9176
|
-
},
|
|
8837
|
+
}, es = ({
|
|
9177
8838
|
score: e
|
|
9178
8839
|
}) => {
|
|
9179
8840
|
const t = D(), i = e <= 33 ? "priority-bars-low" : "priority-bars-medium", a = e > 66 || e === 0 ? "priority-bars-high" : i;
|
|
@@ -9191,7 +8852,7 @@ const So = {
|
|
|
9191
8852
|
),
|
|
9192
8853
|
/* @__PURE__ */ n(I, { color: t.palette.gray[800], size: "sm", textAlign: "right", children: e + "%" })
|
|
9193
8854
|
] });
|
|
9194
|
-
}, { getVariant:
|
|
8855
|
+
}, { getVariant: So } = re(
|
|
9195
8856
|
(e) => ({
|
|
9196
8857
|
compliance: `
|
|
9197
8858
|
display: inline-flex;
|
|
@@ -9257,17 +8918,17 @@ const So = {
|
|
|
9257
8918
|
}
|
|
9258
8919
|
`
|
|
9259
8920
|
})
|
|
9260
|
-
),
|
|
8921
|
+
), zo = (e, t) => t < 50 ? e.palette.error[500] : t < 80 ? e.palette.warning[500] : e.palette.success[500], Io = b.div`
|
|
9261
8922
|
${({ theme: e, $minWidth: t, $orientation: i, $rounded: a, $variant: r }) => `
|
|
9262
8923
|
background-color: ${e.palette.gray[100]};
|
|
9263
8924
|
border-radius: ${a ? "100px" : "unset"};
|
|
9264
8925
|
${i === "horizontal" ? "min-width" : "min-height"}: ${t}px;
|
|
9265
8926
|
${i === "horizontal" ? "" : "height: 100%;"}
|
|
9266
8927
|
|
|
9267
|
-
${
|
|
8928
|
+
${So(e, r)}
|
|
9268
8929
|
|
|
9269
8930
|
`}
|
|
9270
|
-
`,
|
|
8931
|
+
`, To = b.div`
|
|
9271
8932
|
${({ theme: e, $percentage: t, $rounded: i, $variant: a }) => `
|
|
9272
8933
|
display: inline-flex;
|
|
9273
8934
|
width: ${t}%;
|
|
@@ -9277,9 +8938,9 @@ const So = {
|
|
|
9277
8938
|
border-radius: ${i ? "100px" : "unset"};
|
|
9278
8939
|
border-end-end-radius: ${i && t < 100 ? "0" : "inherit"};
|
|
9279
8940
|
border-start-end-radius: ${i && t < 100 ? "0" : "inherit"};
|
|
9280
|
-
background-color: ${a === "compliance" ?
|
|
8941
|
+
background-color: ${a === "compliance" ? zo(e, t) : "inherit"};
|
|
9281
8942
|
`}
|
|
9282
|
-
`,
|
|
8943
|
+
`, ts = ({
|
|
9283
8944
|
minWidth: e = 100,
|
|
9284
8945
|
percentage: t,
|
|
9285
8946
|
percentageLocation: i = "right",
|
|
@@ -9298,7 +8959,7 @@ const So = {
|
|
|
9298
8959
|
children: /* @__PURE__ */ n(I, { ml: 0.5, mr: s ? 0.5 : 0, size: "sm", children: `${t}%` })
|
|
9299
8960
|
}
|
|
9300
8961
|
) : null, d = /* @__PURE__ */ n(
|
|
9301
|
-
|
|
8962
|
+
Io,
|
|
9302
8963
|
{
|
|
9303
8964
|
$minWidth: e,
|
|
9304
8965
|
$orientation: r,
|
|
@@ -9306,7 +8967,7 @@ const So = {
|
|
|
9306
8967
|
$variant: l,
|
|
9307
8968
|
className: r,
|
|
9308
8969
|
children: /* @__PURE__ */ n(
|
|
9309
|
-
|
|
8970
|
+
To,
|
|
9310
8971
|
{
|
|
9311
8972
|
$percentage: t,
|
|
9312
8973
|
$rounded: o,
|
|
@@ -9316,30 +8977,207 @@ const So = {
|
|
|
9316
8977
|
)
|
|
9317
8978
|
}
|
|
9318
8979
|
);
|
|
9319
|
-
return /* @__PURE__ */ h(
|
|
9320
|
-
x,
|
|
9321
|
-
{
|
|
9322
|
-
alignItems: "center",
|
|
9323
|
-
display: "inline-flex",
|
|
9324
|
-
flexDirection: s ? "row-reverse" : "row",
|
|
9325
|
-
height: r === "horizontal" ? "auto" : "100%",
|
|
9326
|
-
maxWidth: s ? `${e + 43}px` : void 0,
|
|
9327
|
-
minWidth: s ? `${e + 43}px` : void 0,
|
|
9328
|
-
textAlign: "end",
|
|
9329
|
-
children: [
|
|
9330
|
-
d,
|
|
9331
|
-
c
|
|
9332
|
-
]
|
|
9333
|
-
}
|
|
9334
|
-
);
|
|
9335
|
-
},
|
|
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({
|
|
9336
9174
|
className: "comp-scroll-up"
|
|
9337
9175
|
})`
|
|
9338
9176
|
bottom: 15px;
|
|
9339
9177
|
position: fixed;
|
|
9340
9178
|
right: 140px;
|
|
9341
9179
|
z-index: 100;
|
|
9342
|
-
`,
|
|
9180
|
+
`, ns = ({
|
|
9343
9181
|
scrollerId: e = "dashboard",
|
|
9344
9182
|
visibleAt: t = 500
|
|
9345
9183
|
}) => {
|
|
@@ -9355,7 +9193,7 @@ const So = {
|
|
|
9355
9193
|
top: 0
|
|
9356
9194
|
});
|
|
9357
9195
|
}, [r]);
|
|
9358
|
-
return i ? /* @__PURE__ */ n(
|
|
9196
|
+
return i ? /* @__PURE__ */ n(Fo, { children: /* @__PURE__ */ n(
|
|
9359
9197
|
Y,
|
|
9360
9198
|
{
|
|
9361
9199
|
height: "40px",
|
|
@@ -9366,7 +9204,7 @@ const So = {
|
|
|
9366
9204
|
width: "40px"
|
|
9367
9205
|
}
|
|
9368
9206
|
) }) : null;
|
|
9369
|
-
},
|
|
9207
|
+
}, Do = {
|
|
9370
9208
|
critical: {
|
|
9371
9209
|
bgColor: T.palette.primary[700],
|
|
9372
9210
|
colorL: T.palette.gray[800],
|
|
@@ -9392,12 +9230,12 @@ const So = {
|
|
|
9392
9230
|
colorL: T.palette.gray[800],
|
|
9393
9231
|
colorR: T.palette.gray[800]
|
|
9394
9232
|
}
|
|
9395
|
-
},
|
|
9233
|
+
}, as = ({
|
|
9396
9234
|
textL: e,
|
|
9397
9235
|
textR: t,
|
|
9398
9236
|
variant: i
|
|
9399
9237
|
}) => {
|
|
9400
|
-
const a = D(), { bgColor: r, colorL: o, colorR: l } =
|
|
9238
|
+
const a = D(), { bgColor: r, colorL: o, colorR: l } = Do[i];
|
|
9401
9239
|
return /* @__PURE__ */ h(x, { alignItems: "flex-start", display: "inline-flex", children: [
|
|
9402
9240
|
e ? /* @__PURE__ */ n(
|
|
9403
9241
|
x,
|
|
@@ -9429,7 +9267,7 @@ const So = {
|
|
|
9429
9267
|
}
|
|
9430
9268
|
)
|
|
9431
9269
|
] });
|
|
9432
|
-
},
|
|
9270
|
+
}, jo = (e, t) => {
|
|
9433
9271
|
const i = {
|
|
9434
9272
|
critical: T.palette.primary[700],
|
|
9435
9273
|
high: T.palette.error[500],
|
|
@@ -9456,7 +9294,7 @@ const So = {
|
|
|
9456
9294
|
variant: e,
|
|
9457
9295
|
value: t
|
|
9458
9296
|
}) => {
|
|
9459
|
-
const { iconColor: i, iconText: a, iconTextColor: r, textColor: o } =
|
|
9297
|
+
const { iconColor: i, iconText: a, iconTextColor: r, textColor: o } = jo(
|
|
9460
9298
|
e,
|
|
9461
9299
|
t
|
|
9462
9300
|
), l = P.capitalize(e.charAt(0)) + e.slice(1);
|
|
@@ -9486,7 +9324,7 @@ const So = {
|
|
|
9486
9324
|
]
|
|
9487
9325
|
}
|
|
9488
9326
|
);
|
|
9489
|
-
},
|
|
9327
|
+
}, rs = ({
|
|
9490
9328
|
critical: e,
|
|
9491
9329
|
high: t,
|
|
9492
9330
|
medium: i,
|
|
@@ -9496,7 +9334,7 @@ const So = {
|
|
|
9496
9334
|
/* @__PURE__ */ n($e, { value: t, variant: "high" }),
|
|
9497
9335
|
/* @__PURE__ */ n($e, { value: i, variant: "medium" }),
|
|
9498
9336
|
/* @__PURE__ */ n($e, { value: a, variant: "low" })
|
|
9499
|
-
] }),
|
|
9337
|
+
] }), Lo = b.div`
|
|
9500
9338
|
${({ theme: e }) => `
|
|
9501
9339
|
border-radius: ${e.spacing[0.25]};
|
|
9502
9340
|
cursor: pointer;
|
|
@@ -9514,13 +9352,13 @@ const So = {
|
|
|
9514
9352
|
display: block;
|
|
9515
9353
|
}
|
|
9516
9354
|
`}
|
|
9517
|
-
`,
|
|
9355
|
+
`, os = ({
|
|
9518
9356
|
visibleElement: e,
|
|
9519
9357
|
hiddenElement: t
|
|
9520
|
-
}) => /* @__PURE__ */ h(
|
|
9358
|
+
}) => /* @__PURE__ */ h(Lo, { children: [
|
|
9521
9359
|
e,
|
|
9522
9360
|
/* @__PURE__ */ n(x, { display: "none", position: "absolute", top: "100%", zIndex: 10, children: t })
|
|
9523
|
-
] }),
|
|
9361
|
+
] }), Eo = ({
|
|
9524
9362
|
customBadge: e = void 0,
|
|
9525
9363
|
description: t,
|
|
9526
9364
|
icon: i,
|
|
@@ -9567,7 +9405,7 @@ const So = {
|
|
|
9567
9405
|
/* @__PURE__ */ h(x, { children: [
|
|
9568
9406
|
/* @__PURE__ */ h(x, { alignItems: "center", display: "inline-flex", gap: 0.5, children: [
|
|
9569
9407
|
/* @__PURE__ */ n(I, { color: l.palette.gray[800], size: "sm", children: o }),
|
|
9570
|
-
r ? /* @__PURE__ */ n(
|
|
9408
|
+
r ? /* @__PURE__ */ n(Co, { text: "Upgrade" }) : void 0,
|
|
9571
9409
|
e
|
|
9572
9410
|
] }),
|
|
9573
9411
|
/* @__PURE__ */ n(I, { color: l.palette.gray[400], size: "xs", children: t })
|
|
@@ -9575,7 +9413,7 @@ const So = {
|
|
|
9575
9413
|
]
|
|
9576
9414
|
}
|
|
9577
9415
|
);
|
|
9578
|
-
},
|
|
9416
|
+
}, Ro = b(an.div)`
|
|
9579
9417
|
${({ theme: e }) => `
|
|
9580
9418
|
background-color: ${e.palette.white};
|
|
9581
9419
|
box-shadow: ${e.shadows.lg};
|
|
@@ -9598,7 +9436,7 @@ const So = {
|
|
|
9598
9436
|
height: auto;
|
|
9599
9437
|
}
|
|
9600
9438
|
`}
|
|
9601
|
-
`,
|
|
9439
|
+
`, ls = ({
|
|
9602
9440
|
children: e,
|
|
9603
9441
|
closeIconId: t = "close-menu",
|
|
9604
9442
|
isOpen: i,
|
|
@@ -9630,7 +9468,7 @@ const So = {
|
|
|
9630
9468
|
});
|
|
9631
9469
|
};
|
|
9632
9470
|
}, [i, r]), /* @__PURE__ */ n(rn, { features: on, children: /* @__PURE__ */ n(
|
|
9633
|
-
|
|
9471
|
+
Ro,
|
|
9634
9472
|
{
|
|
9635
9473
|
animate: i ? {
|
|
9636
9474
|
display: "block",
|
|
@@ -9713,7 +9551,7 @@ const So = {
|
|
|
9713
9551
|
requiresUpgrade: w,
|
|
9714
9552
|
title: v
|
|
9715
9553
|
}) => /* @__PURE__ */ n(
|
|
9716
|
-
|
|
9554
|
+
Eo,
|
|
9717
9555
|
{
|
|
9718
9556
|
customBadge: f,
|
|
9719
9557
|
description: y,
|
|
@@ -9764,7 +9602,7 @@ const So = {
|
|
|
9764
9602
|
] })
|
|
9765
9603
|
}
|
|
9766
9604
|
) });
|
|
9767
|
-
},
|
|
9605
|
+
}, Ao = (e, t) => t >= 50 ? `
|
|
9768
9606
|
${e.palette.gray[200]} 50%,
|
|
9769
9607
|
${e.palette.primary[500]} 50.05%,
|
|
9770
9608
|
${e.palette.primary[500]} ${t}%,
|
|
@@ -9775,7 +9613,7 @@ const So = {
|
|
|
9775
9613
|
${e.palette.primary[500]} 50%,
|
|
9776
9614
|
${e.palette.gray[200]} 50.05%,
|
|
9777
9615
|
${e.palette.gray[200]} 100%
|
|
9778
|
-
`,
|
|
9616
|
+
`, Po = b.div`
|
|
9779
9617
|
${({ theme: e, $min: t, $value: i }) => `
|
|
9780
9618
|
align-items: center;
|
|
9781
9619
|
align-self: stretch;
|
|
@@ -9791,7 +9629,7 @@ const So = {
|
|
|
9791
9629
|
${t >= 0 ? `
|
|
9792
9630
|
${e.palette.primary[500]} ${i}%,
|
|
9793
9631
|
${e.palette.gray[200]} ${i}%
|
|
9794
|
-
` :
|
|
9632
|
+
` : Ao(e, i)}
|
|
9795
9633
|
);
|
|
9796
9634
|
border-radius: ${e.spacing[0.125]};
|
|
9797
9635
|
height: ${e.spacing[0.25]};
|
|
@@ -9815,7 +9653,7 @@ const So = {
|
|
|
9815
9653
|
border: 1px solid ${e.palette.primary[500]};
|
|
9816
9654
|
}
|
|
9817
9655
|
`}
|
|
9818
|
-
`,
|
|
9656
|
+
`, Wo = b.div`
|
|
9819
9657
|
${({ theme: e }) => `
|
|
9820
9658
|
align-items: center;
|
|
9821
9659
|
display: flex;
|
|
@@ -9829,7 +9667,7 @@ const So = {
|
|
|
9829
9667
|
font-size: ${e.spacing[0.5]};
|
|
9830
9668
|
}
|
|
9831
9669
|
`}
|
|
9832
|
-
`,
|
|
9670
|
+
`, Vo = b.output`
|
|
9833
9671
|
${({ theme: e }) => `
|
|
9834
9672
|
align-items: flex-end;
|
|
9835
9673
|
border-radius: ${e.spacing[0.5]};
|
|
@@ -9840,7 +9678,7 @@ const So = {
|
|
|
9840
9678
|
padding: ${e.spacing[0.625]} ${e.spacing[0.75]};
|
|
9841
9679
|
width: 59px;
|
|
9842
9680
|
`}
|
|
9843
|
-
`,
|
|
9681
|
+
`, Ho = ({
|
|
9844
9682
|
state: e,
|
|
9845
9683
|
trackRef: t,
|
|
9846
9684
|
index: i,
|
|
@@ -9851,7 +9689,7 @@ const So = {
|
|
|
9851
9689
|
e
|
|
9852
9690
|
);
|
|
9853
9691
|
return /* @__PURE__ */ n("div", { ...o, className: `thumb ${s ? "dragging" : ""}`, children: /* @__PURE__ */ n(sn, { children: /* @__PURE__ */ n("input", { ...l, "aria-label": a, ref: r }) }) });
|
|
9854
|
-
},
|
|
9692
|
+
}, Oo = (e, t, i) => Math.round((i - e) / (t - e) * 100), ss = (e) => {
|
|
9855
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({
|
|
9856
9694
|
...e,
|
|
9857
9695
|
numberFormatter: d,
|
|
@@ -9859,7 +9697,7 @@ const So = {
|
|
|
9859
9697
|
s == null || s(l, y);
|
|
9860
9698
|
},
|
|
9861
9699
|
value: c == null ? void 0 : c(l)
|
|
9862
|
-
}), g =
|
|
9700
|
+
}), g = Oo(r, o, p.getThumbValue(0)), { groupProps: u, trackProps: f } = pn(
|
|
9863
9701
|
{ ...e, "aria-label": l, id: l },
|
|
9864
9702
|
p,
|
|
9865
9703
|
i
|
|
@@ -9874,7 +9712,7 @@ const So = {
|
|
|
9874
9712
|
width: "100%",
|
|
9875
9713
|
children: [
|
|
9876
9714
|
/* @__PURE__ */ h(
|
|
9877
|
-
|
|
9715
|
+
Po,
|
|
9878
9716
|
{
|
|
9879
9717
|
...u,
|
|
9880
9718
|
$min: r ?? 0,
|
|
@@ -9887,10 +9725,10 @@ const So = {
|
|
|
9887
9725
|
...f,
|
|
9888
9726
|
className: `track ${p.isDisabled ? "disabled" : ""}`,
|
|
9889
9727
|
ref: i,
|
|
9890
|
-
children: /* @__PURE__ */ n(
|
|
9728
|
+
children: /* @__PURE__ */ n(Ho, { index: 0, name: l, state: p, trackRef: i })
|
|
9891
9729
|
}
|
|
9892
9730
|
),
|
|
9893
|
-
/* @__PURE__ */ h(
|
|
9731
|
+
/* @__PURE__ */ h(Wo, { children: [
|
|
9894
9732
|
/* @__PURE__ */ n("p", { children: `${d.format(r)} (Low)` }),
|
|
9895
9733
|
r < 0 && /* @__PURE__ */ n("p", { children: "0" }),
|
|
9896
9734
|
/* @__PURE__ */ n("p", { children: `${d.format(o)} (High)` })
|
|
@@ -9898,11 +9736,11 @@ const So = {
|
|
|
9898
9736
|
]
|
|
9899
9737
|
}
|
|
9900
9738
|
),
|
|
9901
|
-
/* @__PURE__ */ n(
|
|
9739
|
+
/* @__PURE__ */ n(Vo, { children: /* @__PURE__ */ n(I, { color: t.palette.gray[800], size: "sm", textAlign: "right", children: p.getThumbValueLabel(0) }) })
|
|
9902
9740
|
]
|
|
9903
9741
|
}
|
|
9904
9742
|
) });
|
|
9905
|
-
}, { getVariant:
|
|
9743
|
+
}, { getVariant: Bo } = re(
|
|
9906
9744
|
(e) => ({
|
|
9907
9745
|
completed: `
|
|
9908
9746
|
background-color: ${e.palette.primary[500]};
|
|
@@ -9931,7 +9769,7 @@ const So = {
|
|
|
9931
9769
|
}
|
|
9932
9770
|
`
|
|
9933
9771
|
})
|
|
9934
|
-
),
|
|
9772
|
+
), Mo = b.div`
|
|
9935
9773
|
${({ theme: e }) => `
|
|
9936
9774
|
align-items: stretch;
|
|
9937
9775
|
background-color: ${e.palette.white};
|
|
@@ -9941,7 +9779,7 @@ const So = {
|
|
|
9941
9779
|
padding: ${`${e.spacing[1]} ${e.spacing[1]}`};
|
|
9942
9780
|
scroll-behavior: unset;
|
|
9943
9781
|
`}
|
|
9944
|
-
`,
|
|
9782
|
+
`, Go = b.div`
|
|
9945
9783
|
display: flex;
|
|
9946
9784
|
flex-direction: row;
|
|
9947
9785
|
margin-bottom: ${({ theme: e }) => e.spacing[2]};
|
|
@@ -9949,7 +9787,7 @@ const So = {
|
|
|
9949
9787
|
&:last-child > div:first-child > span::after {
|
|
9950
9788
|
display: none;
|
|
9951
9789
|
}
|
|
9952
|
-
`,
|
|
9790
|
+
`, Uo = b.div`
|
|
9953
9791
|
${({ theme: e }) => `
|
|
9954
9792
|
display: inline-flex;
|
|
9955
9793
|
font-family: ${e.typography.type.primary};
|
|
@@ -9961,7 +9799,7 @@ const So = {
|
|
|
9961
9799
|
margin-right: ${e.spacing[0.5]};
|
|
9962
9800
|
}
|
|
9963
9801
|
`}
|
|
9964
|
-
`,
|
|
9802
|
+
`, _o = b.span`
|
|
9965
9803
|
${({ theme: e, $variant: t }) => `
|
|
9966
9804
|
border-radius: 6px;
|
|
9967
9805
|
display: inline-block;
|
|
@@ -9984,9 +9822,9 @@ const So = {
|
|
|
9984
9822
|
height: calc(100% - ${e.spacing[1]});
|
|
9985
9823
|
}
|
|
9986
9824
|
|
|
9987
|
-
${
|
|
9825
|
+
${Bo(e, t)}
|
|
9988
9826
|
`}
|
|
9989
|
-
`,
|
|
9827
|
+
`, cs = ({
|
|
9990
9828
|
button: { disabled: e = !1, text: t, type: i = "button", onClick: a },
|
|
9991
9829
|
steps: r
|
|
9992
9830
|
}) => {
|
|
@@ -9999,10 +9837,10 @@ const So = {
|
|
|
9999
9837
|
),
|
|
10000
9838
|
[]
|
|
10001
9839
|
);
|
|
10002
|
-
return /* @__PURE__ */ n(
|
|
9840
|
+
return /* @__PURE__ */ n(Mo, { children: r.map((c, d) => {
|
|
10003
9841
|
const { content: p, title: g, nextAction: u, previousAction: f } = c, y = d + 1, $ = y === o ? "current" : "disabled", m = y < o ? "completed" : $;
|
|
10004
|
-
return /* @__PURE__ */ h(
|
|
10005
|
-
/* @__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 }) }),
|
|
10006
9844
|
/* @__PURE__ */ h(x, { ml: 1.5, width: "100%", children: [
|
|
10007
9845
|
/* @__PURE__ */ n(
|
|
10008
9846
|
Q,
|
|
@@ -10016,7 +9854,7 @@ const So = {
|
|
|
10016
9854
|
),
|
|
10017
9855
|
m === "current" && /* @__PURE__ */ h(x, { children: [
|
|
10018
9856
|
p,
|
|
10019
|
-
/* @__PURE__ */ h(
|
|
9857
|
+
/* @__PURE__ */ h(Uo, { children: [
|
|
10020
9858
|
o > 1 && /* @__PURE__ */ n(
|
|
10021
9859
|
B,
|
|
10022
9860
|
{
|
|
@@ -10049,7 +9887,7 @@ const So = {
|
|
|
10049
9887
|
] })
|
|
10050
9888
|
] }, c.title);
|
|
10051
9889
|
}) });
|
|
10052
|
-
},
|
|
9890
|
+
}, Yo = b.button`
|
|
10053
9891
|
${({ theme: e }) => `
|
|
10054
9892
|
align-items: center;
|
|
10055
9893
|
background-color: ${e.palette.white};
|
|
@@ -10091,14 +9929,14 @@ const So = {
|
|
|
10091
9929
|
background-color: ${e.palette.gray[100]};
|
|
10092
9930
|
}
|
|
10093
9931
|
`}
|
|
10094
|
-
`,
|
|
9932
|
+
`, Ko = {
|
|
10095
9933
|
add: { icon: "plus" },
|
|
10096
9934
|
approve: { icon: "check" },
|
|
10097
9935
|
disabled: { icon: "ban" },
|
|
10098
9936
|
reject: { icon: "xmark" },
|
|
10099
9937
|
submit: { icon: "arrow-right" },
|
|
10100
9938
|
success: { icon: "check" }
|
|
10101
|
-
},
|
|
9939
|
+
}, ds = ({
|
|
10102
9940
|
disabled: e = !1,
|
|
10103
9941
|
icon: t,
|
|
10104
9942
|
id: i,
|
|
@@ -10109,7 +9947,7 @@ const So = {
|
|
|
10109
9947
|
variant: s
|
|
10110
9948
|
}) => {
|
|
10111
9949
|
const c = D(), d = /* @__PURE__ */ h(
|
|
10112
|
-
|
|
9950
|
+
Yo,
|
|
10113
9951
|
{
|
|
10114
9952
|
"aria-label": r ?? void 0,
|
|
10115
9953
|
className: s,
|
|
@@ -10122,7 +9960,7 @@ const So = {
|
|
|
10122
9960
|
N,
|
|
10123
9961
|
{
|
|
10124
9962
|
clickable: !1,
|
|
10125
|
-
icon: t ??
|
|
9963
|
+
icon: t ?? Ko[s].icon,
|
|
10126
9964
|
iconSize: r === void 0 ? "xxs" : "xs",
|
|
10127
9965
|
iconType: "fa-light"
|
|
10128
9966
|
}
|
|
@@ -10135,27 +9973,7 @@ const So = {
|
|
|
10135
9973
|
d,
|
|
10136
9974
|
a && /* @__PURE__ */ n(I, { color: c.palette.gray[800], ml: 0.5, size: "sm", children: a })
|
|
10137
9975
|
] });
|
|
10138
|
-
},
|
|
10139
|
-
({ isActive: t, label: i, onClick: a }, r) => /* @__PURE__ */ n(
|
|
10140
|
-
$r,
|
|
10141
|
-
{
|
|
10142
|
-
className: t ? "active" : "",
|
|
10143
|
-
onClick: a,
|
|
10144
|
-
type: "button",
|
|
10145
|
-
children: /* @__PURE__ */ n(
|
|
10146
|
-
Q,
|
|
10147
|
-
{
|
|
10148
|
-
color: "inherit",
|
|
10149
|
-
fontWeight: "semibold",
|
|
10150
|
-
size: "sm",
|
|
10151
|
-
sizeSm: "xs",
|
|
10152
|
-
children: i
|
|
10153
|
-
}
|
|
10154
|
-
)
|
|
10155
|
-
},
|
|
10156
|
-
`${i}-${r}`
|
|
10157
|
-
)
|
|
10158
|
-
) }), Zo = b.div`
|
|
9976
|
+
}, qo = b.div`
|
|
10159
9977
|
${({ theme: e, $size: t }) => `
|
|
10160
9978
|
align-items: center;
|
|
10161
9979
|
background-color: ${e.palette.white};
|
|
@@ -10178,7 +9996,7 @@ const So = {
|
|
|
10178
9996
|
border: 1px solid ${e.palette.gray[600]};
|
|
10179
9997
|
}
|
|
10180
9998
|
`}
|
|
10181
|
-
`,
|
|
9999
|
+
`, Xo = b.div`
|
|
10182
10000
|
${({ theme: e, $size: t }) => `
|
|
10183
10001
|
display: ${t === "long" ? "flex" : "block"};
|
|
10184
10002
|
flex-direction: column;
|
|
@@ -10228,14 +10046,14 @@ const So = {
|
|
|
10228
10046
|
transform: translateX(-50%);
|
|
10229
10047
|
}
|
|
10230
10048
|
`}
|
|
10231
|
-
`,
|
|
10049
|
+
`, Jo = ({
|
|
10232
10050
|
date: e,
|
|
10233
10051
|
description: t,
|
|
10234
10052
|
title: i,
|
|
10235
10053
|
size: a = "long"
|
|
10236
10054
|
}) => {
|
|
10237
10055
|
const r = D();
|
|
10238
|
-
return /* @__PURE__ */ h(
|
|
10056
|
+
return /* @__PURE__ */ h(qo, { $size: a, className: "timeline-card", children: [
|
|
10239
10057
|
/* @__PURE__ */ n(
|
|
10240
10058
|
I,
|
|
10241
10059
|
{
|
|
@@ -10272,12 +10090,12 @@ const So = {
|
|
|
10272
10090
|
);
|
|
10273
10091
|
}) })
|
|
10274
10092
|
] });
|
|
10275
|
-
},
|
|
10093
|
+
}, ps = ({ items: e }) => {
|
|
10276
10094
|
const t = O(null), [i, a] = F("long");
|
|
10277
10095
|
return U(() => {
|
|
10278
10096
|
t.current && a(t.current.offsetWidth <= 1100 ? "small" : "long");
|
|
10279
|
-
}, []), /* @__PURE__ */ n(x, { ref: t, width: "100%", children: /* @__PURE__ */ n(
|
|
10280
|
-
|
|
10097
|
+
}, []), /* @__PURE__ */ n(x, { ref: t, width: "100%", children: /* @__PURE__ */ n(Xo, { $size: i, children: e.map((r, o) => /* @__PURE__ */ n(
|
|
10098
|
+
Jo,
|
|
10281
10099
|
{
|
|
10282
10100
|
date: r.date,
|
|
10283
10101
|
description: r.description,
|
|
@@ -10286,7 +10104,7 @@ const So = {
|
|
|
10286
10104
|
},
|
|
10287
10105
|
`${r.title}-${o}`
|
|
10288
10106
|
)) }) });
|
|
10289
|
-
},
|
|
10107
|
+
}, Zo = b.div`
|
|
10290
10108
|
${({ theme: e }) => `
|
|
10291
10109
|
align-items: center;
|
|
10292
10110
|
display: flex;
|
|
@@ -10316,7 +10134,7 @@ const So = {
|
|
|
10316
10134
|
width: 320px;
|
|
10317
10135
|
}
|
|
10318
10136
|
`}
|
|
10319
|
-
`,
|
|
10137
|
+
`, Qo = b.button`
|
|
10320
10138
|
${({ theme: e }) => `
|
|
10321
10139
|
align-items: center;
|
|
10322
10140
|
background: linear-gradient(
|
|
@@ -10345,7 +10163,7 @@ const So = {
|
|
|
10345
10163
|
color: ${e.palette.white};
|
|
10346
10164
|
}
|
|
10347
10165
|
`}
|
|
10348
|
-
`,
|
|
10166
|
+
`, gs = ({
|
|
10349
10167
|
defaultSelection: e,
|
|
10350
10168
|
options: t,
|
|
10351
10169
|
handleClick: i
|
|
@@ -10361,9 +10179,9 @@ const So = {
|
|
|
10361
10179
|
),
|
|
10362
10180
|
[i]
|
|
10363
10181
|
);
|
|
10364
|
-
return /* @__PURE__ */ n(
|
|
10182
|
+
return /* @__PURE__ */ n(Zo, { children: t.map(
|
|
10365
10183
|
(l, s) => /* @__PURE__ */ n(
|
|
10366
|
-
|
|
10184
|
+
Qo,
|
|
10367
10185
|
{
|
|
10368
10186
|
className: `${l.includes(a) && "selected"}`,
|
|
10369
10187
|
onClick: o(l),
|
|
@@ -10382,7 +10200,7 @@ const So = {
|
|
|
10382
10200
|
`${l}-${s}`
|
|
10383
10201
|
)
|
|
10384
10202
|
) });
|
|
10385
|
-
},
|
|
10203
|
+
}, us = {
|
|
10386
10204
|
content: "",
|
|
10387
10205
|
disableBeacon: !0,
|
|
10388
10206
|
hideCloseButton: !1,
|
|
@@ -10414,7 +10232,7 @@ const So = {
|
|
|
10414
10232
|
}
|
|
10415
10233
|
},
|
|
10416
10234
|
target: ""
|
|
10417
|
-
},
|
|
10235
|
+
}, fs = ({ run: e, steps: t, onFinish: i }) => {
|
|
10418
10236
|
const [a, r] = F(e), [o, l] = F(0), s = k(
|
|
10419
10237
|
(c) => {
|
|
10420
10238
|
const { action: d, index: p, status: g, type: u } = c;
|
|
@@ -10443,6 +10261,189 @@ const So = {
|
|
|
10443
10261
|
}
|
|
10444
10262
|
}
|
|
10445
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
|
+
] });
|
|
10446
10447
|
};
|
|
10447
10448
|
export {
|
|
10448
10449
|
Va as $,
|
|
@@ -10474,7 +10475,7 @@ export {
|
|
|
10474
10475
|
hl as Z,
|
|
10475
10476
|
vl as _,
|
|
10476
10477
|
Lt as a,
|
|
10477
|
-
|
|
10478
|
+
qe as a$,
|
|
10478
10479
|
kl as a0,
|
|
10479
10480
|
Ha as a1,
|
|
10480
10481
|
Sl as a2,
|
|
@@ -10486,35 +10487,35 @@ export {
|
|
|
10486
10487
|
ml as a8,
|
|
10487
10488
|
Ea as a9,
|
|
10488
10489
|
Mt as aA,
|
|
10489
|
-
|
|
10490
|
+
ns as aB,
|
|
10490
10491
|
ve as aC,
|
|
10491
|
-
|
|
10492
|
-
|
|
10493
|
-
|
|
10494
|
-
|
|
10495
|
-
|
|
10496
|
-
|
|
10497
|
-
|
|
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,
|
|
10498
10499
|
_t as aK,
|
|
10499
10500
|
oe as aL,
|
|
10500
|
-
|
|
10501
|
-
|
|
10502
|
-
|
|
10503
|
-
|
|
10501
|
+
Jo as aM,
|
|
10502
|
+
ps as aN,
|
|
10503
|
+
er as aO,
|
|
10504
|
+
gs as aP,
|
|
10504
10505
|
ie as aQ,
|
|
10505
|
-
|
|
10506
|
-
|
|
10506
|
+
us as aR,
|
|
10507
|
+
fs as aS,
|
|
10507
10508
|
Q as aT,
|
|
10508
10509
|
I as aU,
|
|
10509
10510
|
xe as aV,
|
|
10510
|
-
|
|
10511
|
-
|
|
10511
|
+
_a as aW,
|
|
10512
|
+
Ya as aX,
|
|
10512
10513
|
Re as aY,
|
|
10513
10514
|
Il as aZ,
|
|
10514
|
-
|
|
10515
|
+
Ka as a_,
|
|
10515
10516
|
ce as aa,
|
|
10516
10517
|
Ae as ab,
|
|
10517
|
-
|
|
10518
|
+
zr as ac,
|
|
10518
10519
|
Ul as ad,
|
|
10519
10520
|
_l as ae,
|
|
10520
10521
|
Yl as af,
|
|
@@ -10523,21 +10524,21 @@ export {
|
|
|
10523
10524
|
Xl as ai,
|
|
10524
10525
|
Jr as aj,
|
|
10525
10526
|
Ll as ak,
|
|
10526
|
-
|
|
10527
|
+
hr as al,
|
|
10527
10528
|
El as am,
|
|
10528
10529
|
Mr as an,
|
|
10529
10530
|
Rl as ao,
|
|
10530
10531
|
Al as ap,
|
|
10531
10532
|
Ur as aq,
|
|
10532
10533
|
Jl as ar,
|
|
10533
|
-
|
|
10534
|
+
kr as as,
|
|
10534
10535
|
Zl as at,
|
|
10535
10536
|
Ql as au,
|
|
10536
10537
|
vt as av,
|
|
10537
|
-
|
|
10538
|
-
|
|
10539
|
-
|
|
10540
|
-
|
|
10538
|
+
Co as aw,
|
|
10539
|
+
es as ax,
|
|
10540
|
+
ts as ay,
|
|
10541
|
+
is as az,
|
|
10541
10542
|
Et as b,
|
|
10542
10543
|
Tl as b0,
|
|
10543
10544
|
Rn as b1,
|
|
@@ -10549,13 +10550,13 @@ export {
|
|
|
10549
10550
|
Ue as b7,
|
|
10550
10551
|
We as b8,
|
|
10551
10552
|
_e as b9,
|
|
10552
|
-
|
|
10553
|
-
|
|
10554
|
-
|
|
10555
|
-
|
|
10556
|
-
|
|
10557
|
-
|
|
10558
|
-
|
|
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,
|
|
10559
10560
|
xa as ba,
|
|
10560
10561
|
ma as bb,
|
|
10561
10562
|
wa as bc,
|
|
@@ -10567,11 +10568,11 @@ export {
|
|
|
10567
10568
|
ht as bi,
|
|
10568
10569
|
yt as bj,
|
|
10569
10570
|
Ve as bk,
|
|
10570
|
-
|
|
10571
|
-
|
|
10572
|
-
|
|
10573
|
-
|
|
10574
|
-
|
|
10571
|
+
sr as bl,
|
|
10572
|
+
yr as bm,
|
|
10573
|
+
Cr as bn,
|
|
10574
|
+
Tr as bo,
|
|
10575
|
+
Fr as bp,
|
|
10575
10576
|
Er as bq,
|
|
10576
10577
|
Pr as br,
|
|
10577
10578
|
Wr as bs,
|
|
@@ -10600,7 +10601,7 @@ export {
|
|
|
10600
10601
|
Fl as r,
|
|
10601
10602
|
Se as s,
|
|
10602
10603
|
Dl as t,
|
|
10603
|
-
|
|
10604
|
+
Xe as u,
|
|
10604
10605
|
re as v,
|
|
10605
10606
|
jl as w,
|
|
10606
10607
|
dl as x,
|