@pantheon-systems/pds-toolkit-react 1.0.0-dev.245 → 1.0.0-dev.246
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/css/pds-core.css +2 -2
- package/_dist/index.js +640 -646
- package/_dist/index.js.map +1 -1
- package/package.json +1 -1
package/_dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import './index.css';var q1 = Object.defineProperty, W1 = Object.defineProperties;
|
|
2
2
|
var U1 = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var E2 = Object.getOwnPropertySymbols;
|
|
4
4
|
var a1 = Object.prototype.hasOwnProperty, c1 = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var l1 = (t, n, s) => n in t ? q1(t, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[n] = s, H = (t, n) => {
|
|
6
6
|
for (var s in n || (n = {}))
|
|
7
7
|
a1.call(n, s) && l1(t, s, n[s]);
|
|
8
|
-
if (
|
|
9
|
-
for (var s of
|
|
8
|
+
if (E2)
|
|
9
|
+
for (var s of E2(n))
|
|
10
10
|
c1.call(n, s) && l1(t, s, n[s]);
|
|
11
11
|
return t;
|
|
12
12
|
}, pe = (t, n) => W1(t, U1(n));
|
|
@@ -14,8 +14,8 @@ var O = (t, n) => {
|
|
|
14
14
|
var s = {};
|
|
15
15
|
for (var c in t)
|
|
16
16
|
a1.call(t, c) && n.indexOf(c) < 0 && (s[c] = t[c]);
|
|
17
|
-
if (t != null &&
|
|
18
|
-
for (var c of
|
|
17
|
+
if (t != null && E2)
|
|
18
|
+
for (var c of E2(t))
|
|
19
19
|
n.indexOf(c) < 0 && c1.call(t, c) && (s[c] = t[c]);
|
|
20
20
|
return s;
|
|
21
21
|
};
|
|
@@ -35,14 +35,14 @@ var A2 = (t, n, s) => new Promise((c, r) => {
|
|
|
35
35
|
}, a = (o) => o.done ? c(o.value) : Promise.resolve(o.value).then(u, l);
|
|
36
36
|
a((s = s.apply(t, n)).next());
|
|
37
37
|
});
|
|
38
|
-
import e, { Children as
|
|
38
|
+
import e, { Children as _1, isValidElement as $e, useState as X, cloneElement as Ie, createElement as G1, forwardRef as Ge, useEffect as ae, useRef as ce, createContext as v1, useContext as ve, useLayoutEffect as j1, useCallback as j2, useMemo as b1, createRef as K1, Fragment as X1 } from "react";
|
|
39
39
|
import $1 from "hash-sum";
|
|
40
40
|
import { useFloating as Se, offset as k2, flip as z2, shift as N2, autoUpdate as Fe, useHover as $2, useFocus as w1, useDismiss as Ae, useRole as Te, useInteractions as De, FloatingPortal as y1, useId as Y1, useClick as Xe, useListNavigation as o2, useTransitionStyles as Ye, FloatingOverlay as Q1, FloatingFocusManager as L1, safePolygon as H1, arrow as J1, FloatingArrow as et } from "@floating-ui/react";
|
|
41
41
|
import { useHotkeys as tt } from "react-hotkeys-hook";
|
|
42
42
|
import { useFloating as nt, flip as st } from "@floating-ui/react-dom";
|
|
43
43
|
import { CodeBlock as m2 } from "react-code-block";
|
|
44
44
|
import { useMultipleSelection as u2, useCombobox as n2 } from "downshift";
|
|
45
|
-
import { isSafari as
|
|
45
|
+
import { isSafari as _2 } from "react-device-detect";
|
|
46
46
|
import { useMeasure as x2 } from "@reactuses/core";
|
|
47
47
|
import lt from "focus-trap-react";
|
|
48
48
|
import { ToastContainer as at, Slide as ct, cssTransition as rt, toast as r1 } from "react-toastify";
|
|
@@ -55,7 +55,7 @@ const l2 = () => Math.random().toString(32).substring(2, 13), M1 = (t, n) => {
|
|
|
55
55
|
return n;
|
|
56
56
|
}, Pe = (t) => {
|
|
57
57
|
const n = {};
|
|
58
|
-
return
|
|
58
|
+
return _1.forEach(t, (s) => {
|
|
59
59
|
if ($e(s)) {
|
|
60
60
|
const c = s.props.slot;
|
|
61
61
|
c && (n[c] ? n[c].push(s) : n[c] = [s]);
|
|
@@ -785,7 +785,7 @@ const l2 = () => Math.random().toString(32).substring(2, 13), M1 = (t, n) => {
|
|
|
785
785
|
path: "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z",
|
|
786
786
|
width: "576"
|
|
787
787
|
}
|
|
788
|
-
},
|
|
788
|
+
}, Cn = Object.keys(K2), o1 = [
|
|
789
789
|
"dawn",
|
|
790
790
|
"dragonfruit",
|
|
791
791
|
"dusk",
|
|
@@ -823,7 +823,7 @@ const l2 = () => Math.random().toString(32).substring(2, 13), M1 = (t, n) => {
|
|
|
823
823
|
"uniqueId",
|
|
824
824
|
"className"
|
|
825
825
|
]);
|
|
826
|
-
const g = "pds-avatar", p = `${g}--${r}`, d = s ? `${g}--image` : null, [
|
|
826
|
+
const g = "pds-avatar", p = `${g}--${r}`, d = s ? `${g}--image` : null, [E, v] = X(void 0), b = {
|
|
827
827
|
backgroundImage: u ? `var(--pds-color-gradient-avatar-${it(u)})` : null,
|
|
828
828
|
borderRadius: "100%",
|
|
829
829
|
height: "100%",
|
|
@@ -831,7 +831,7 @@ const l2 = () => Math.random().toString(32).substring(2, 13), M1 = (t, n) => {
|
|
|
831
831
|
display: "flex",
|
|
832
832
|
alignItems: "center",
|
|
833
833
|
justifyContent: "center"
|
|
834
|
-
}, C = ot(s) && !
|
|
834
|
+
}, C = ot(s) && !E ? /* @__PURE__ */ e.createElement(
|
|
835
835
|
"img",
|
|
836
836
|
{
|
|
837
837
|
src: `${s}`,
|
|
@@ -952,23 +952,23 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
952
952
|
"zIndex",
|
|
953
953
|
"className"
|
|
954
954
|
]);
|
|
955
|
-
const [
|
|
955
|
+
const [E, v] = X(!1), w = typeof n, b = "pds-tooltip", C = x([
|
|
956
956
|
`${b}__trigger-custom`,
|
|
957
957
|
w === "string" ? `${b}__trigger-text` : null
|
|
958
958
|
]), f = x([
|
|
959
959
|
`${b}__trigger`,
|
|
960
960
|
`${b}__trigger--${l}`
|
|
961
|
-
]), { refs: i, floatingStyles: h, context:
|
|
961
|
+
]), { refs: i, floatingStyles: h, context: _ } = Se({
|
|
962
962
|
placement: c,
|
|
963
|
-
open:
|
|
963
|
+
open: E,
|
|
964
964
|
onOpenChange: v,
|
|
965
965
|
middleware: [k2(s), z2(), N2()],
|
|
966
966
|
whileElementsMounted: Fe
|
|
967
|
-
}), $ = $2(
|
|
967
|
+
}), $ = $2(_, {
|
|
968
968
|
restMs: 300,
|
|
969
969
|
delay: { open: 500, close: 0 },
|
|
970
970
|
move: !1
|
|
971
|
-
}), L = w1(
|
|
971
|
+
}), L = w1(_), k = Ae(_), y = Te(_, { role: "tooltip" }), { getReferenceProps: M, getFloatingProps: z } = De([
|
|
972
972
|
$,
|
|
973
973
|
L,
|
|
974
974
|
k,
|
|
@@ -997,7 +997,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
997
997
|
iconSize: a
|
|
998
998
|
}
|
|
999
999
|
)
|
|
1000
|
-
),
|
|
1000
|
+
), E && /* @__PURE__ */ e.createElement(y1, null, /* @__PURE__ */ e.createElement(
|
|
1001
1001
|
"div",
|
|
1002
1002
|
H({
|
|
1003
1003
|
className: `${b}__container`,
|
|
@@ -1006,7 +1006,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1006
1006
|
}, z()),
|
|
1007
1007
|
t
|
|
1008
1008
|
)));
|
|
1009
|
-
},
|
|
1009
|
+
}, En = (a) => {
|
|
1010
1010
|
var o = a, {
|
|
1011
1011
|
numberAhead: t,
|
|
1012
1012
|
numberAheadDescription: n = "commits ahead of main",
|
|
@@ -1023,9 +1023,9 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1023
1023
|
"className"
|
|
1024
1024
|
]);
|
|
1025
1025
|
const m = "pds-branch-diff", g = Math.max(0, t), p = Math.max(0, s), d = Math.max(g, p);
|
|
1026
|
-
let
|
|
1026
|
+
let E = d > 0 ? p / d * 100 : 0, v = d > 0 ? g / d * 100 : 0;
|
|
1027
1027
|
const w = 10;
|
|
1028
|
-
|
|
1028
|
+
E < w ? (E = w, v = 100 - w) : v < w && (v = w, E = 100 - w);
|
|
1029
1029
|
const b = r !== null && r > 0 ? `${r}rem` : "100%";
|
|
1030
1030
|
return /* @__PURE__ */ e.createElement(
|
|
1031
1031
|
"div",
|
|
@@ -1043,7 +1043,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1043
1043
|
"div",
|
|
1044
1044
|
{
|
|
1045
1045
|
className: `${m}__behind-line`,
|
|
1046
|
-
style: { width: `${
|
|
1046
|
+
style: { width: `${E}%` }
|
|
1047
1047
|
}
|
|
1048
1048
|
))
|
|
1049
1049
|
}
|
|
@@ -1250,7 +1250,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1250
1250
|
size: g = "md",
|
|
1251
1251
|
tooltipText: p,
|
|
1252
1252
|
variant: d = "primary",
|
|
1253
|
-
className:
|
|
1253
|
+
className: E = ""
|
|
1254
1254
|
} = C, v = O(C, [
|
|
1255
1255
|
"ariaLabel",
|
|
1256
1256
|
"buttonType",
|
|
@@ -1267,7 +1267,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1267
1267
|
"variant",
|
|
1268
1268
|
"className"
|
|
1269
1269
|
]);
|
|
1270
|
-
const f = "pds-button", i = g !== "md" ? `${f}--${g}` : null, h = d !== "primary" ? `${f}--${d}` : null,
|
|
1270
|
+
const f = "pds-button", i = g !== "md" ? `${f}--${g}` : null, h = d !== "primary" ? `${f}--${d}` : null, _ = u ? `${f}--full-width` : null;
|
|
1271
1271
|
let $;
|
|
1272
1272
|
switch (g) {
|
|
1273
1273
|
case "sm":
|
|
@@ -1298,8 +1298,8 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1298
1298
|
f,
|
|
1299
1299
|
i,
|
|
1300
1300
|
h,
|
|
1301
|
-
|
|
1302
|
-
|
|
1301
|
+
_,
|
|
1302
|
+
E
|
|
1303
1303
|
]),
|
|
1304
1304
|
disabled: s || l,
|
|
1305
1305
|
"aria-label": t,
|
|
@@ -1331,9 +1331,9 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1331
1331
|
"variant",
|
|
1332
1332
|
"className"
|
|
1333
1333
|
]);
|
|
1334
|
-
const p = "pds-button-link", d = "pds-button",
|
|
1334
|
+
const p = "pds-button-link", d = "pds-button", E = r !== "md" ? `${d}--${r}` : null, v = l !== "primary" ? `${d}--${l}` : null, w = x([
|
|
1335
1335
|
d,
|
|
1336
|
-
|
|
1336
|
+
E,
|
|
1337
1337
|
v
|
|
1338
1338
|
]), b = $e(c) ? c.props.children : null, C = /* @__PURE__ */ e.createElement(
|
|
1339
1339
|
j,
|
|
@@ -1379,7 +1379,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1379
1379
|
})];
|
|
1380
1380
|
}, H2 = Ge(
|
|
1381
1381
|
(d, p) => {
|
|
1382
|
-
var
|
|
1382
|
+
var E = d, {
|
|
1383
1383
|
ariaLabel: t,
|
|
1384
1384
|
buttonType: n = "button",
|
|
1385
1385
|
disabled: s = !1,
|
|
@@ -1390,7 +1390,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1390
1390
|
size: a = "md",
|
|
1391
1391
|
variant: o = "standard",
|
|
1392
1392
|
className: m
|
|
1393
|
-
} =
|
|
1393
|
+
} = E, g = O(E, [
|
|
1394
1394
|
"ariaLabel",
|
|
1395
1395
|
"buttonType",
|
|
1396
1396
|
"disabled",
|
|
@@ -1418,16 +1418,16 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1418
1418
|
case "lg":
|
|
1419
1419
|
i = "xl", f = 12;
|
|
1420
1420
|
}
|
|
1421
|
-
const h = u !== null,
|
|
1422
|
-
|
|
1423
|
-
|
|
1421
|
+
const h = u !== null, _ = ce(null), $ = ce(null), L = () => {
|
|
1422
|
+
_.current.classList.add(C.fadeOut), _.current.classList.add(C.hide), $.current.classList.remove(C.hide), $.current.classList.add(C.scaleIn), setTimeout(() => {
|
|
1423
|
+
_.current.classList.remove(
|
|
1424
1424
|
C.fadeOut,
|
|
1425
1425
|
C.hide
|
|
1426
|
-
),
|
|
1426
|
+
), _.current.classList.add(C.scaleIn), $.current.classList.remove(C.scaleIn), $.current.classList.add(C.hide);
|
|
1427
1427
|
}, 2e3);
|
|
1428
1428
|
}, k = (M) => {
|
|
1429
1429
|
h && L(), l && l(M);
|
|
1430
|
-
}, y = h ? /* @__PURE__ */ e.createElement("div", { className: `${v}__content` }, /* @__PURE__ */ e.createElement("div", { ref:
|
|
1430
|
+
}, y = h ? /* @__PURE__ */ e.createElement("div", { className: `${v}__content` }, /* @__PURE__ */ e.createElement("div", { ref: _, className: `${v}__icon-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
1431
1431
|
j,
|
|
1432
1432
|
{
|
|
1433
1433
|
iconName: r,
|
|
@@ -1575,7 +1575,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1575
1575
|
testId: g,
|
|
1576
1576
|
undefinedLabel: p = "Unlabeled group",
|
|
1577
1577
|
variant: d = "primary",
|
|
1578
|
-
withinNavbar:
|
|
1578
|
+
withinNavbar: E,
|
|
1579
1579
|
className: v
|
|
1580
1580
|
} = C, w = O(C, [
|
|
1581
1581
|
"disabled",
|
|
@@ -1598,7 +1598,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1598
1598
|
x: f,
|
|
1599
1599
|
y: i,
|
|
1600
1600
|
reference: h,
|
|
1601
|
-
floating:
|
|
1601
|
+
floating: _,
|
|
1602
1602
|
strategy: $,
|
|
1603
1603
|
update: L,
|
|
1604
1604
|
placement: k,
|
|
@@ -1610,7 +1610,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1610
1610
|
let M = !1;
|
|
1611
1611
|
const z = ve(we);
|
|
1612
1612
|
z && (M = z.isMobile);
|
|
1613
|
-
const S = d === "navbar" && M, Z = "pds-menu-button", D = S ? `${Z}--isMobile` : null, W =
|
|
1613
|
+
const S = d === "navbar" && M, Z = "pds-menu-button", D = S ? `${Z}--isMobile` : null, W = E ? `${Z}--navbar` : null, F = c, [P] = X(`menu-button-${c}`), U = y.floating, Q = ce(null), [J, te] = X(!1), [B, R] = X(!1), [q, T] = X(""), [I, V] = X(0), N = ce([]), A = ce([]), K = ce([]);
|
|
1614
1614
|
j1(() => {
|
|
1615
1615
|
window.addEventListener("mousedown", xe, !0), L();
|
|
1616
1616
|
const G = U.current;
|
|
@@ -1641,7 +1641,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1641
1641
|
break;
|
|
1642
1642
|
}
|
|
1643
1643
|
}
|
|
1644
|
-
},
|
|
1644
|
+
}, Ee = (G) => {
|
|
1645
1645
|
const se = A.current.indexOf(G), Y = K.current[se];
|
|
1646
1646
|
if (Y.callback && !Y.disabled && Y.callback(Y), Y.linkContent && !Y.disabled) {
|
|
1647
1647
|
const le = Q.current.querySelector(`#${G} a`);
|
|
@@ -1649,11 +1649,11 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1649
1649
|
}
|
|
1650
1650
|
}, oe = () => {
|
|
1651
1651
|
const G = A.current[I];
|
|
1652
|
-
|
|
1652
|
+
Ee(G);
|
|
1653
1653
|
}, re = (G) => {
|
|
1654
1654
|
J ? ie() : me(), o && o(), R((se) => !se), G.stopPropagation(), G.preventDefault();
|
|
1655
1655
|
}, ue = (G) => {
|
|
1656
|
-
|
|
1656
|
+
Ee(G.currentTarget.id), S || ie();
|
|
1657
1657
|
}, ze = (G) => {
|
|
1658
1658
|
const se = G.key;
|
|
1659
1659
|
let Y = !1;
|
|
@@ -1792,7 +1792,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1792
1792
|
R2 || D2
|
|
1793
1793
|
), le = Y.length > 0;
|
|
1794
1794
|
let de = [`${Z}__listbox`];
|
|
1795
|
-
if (
|
|
1795
|
+
if (E && de.push(`${Z}__listbox--navbar`), a === "end" && de.push(`${Z}__listbox--end`), n === "icon-only" && de.push(`${Z}__listbox--icon-only`), de = x(de), le) {
|
|
1796
1796
|
const fe = Je(G, Y);
|
|
1797
1797
|
fe.forEach(() => {
|
|
1798
1798
|
N.current.push(l2());
|
|
@@ -1819,7 +1819,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1819
1819
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
1820
1820
|
},
|
|
1821
1821
|
onKeyDown: je,
|
|
1822
|
-
ref:
|
|
1822
|
+
ref: _
|
|
1823
1823
|
},
|
|
1824
1824
|
fe.map((He, Ke) => {
|
|
1825
1825
|
ge = N.current[Ke];
|
|
@@ -1860,7 +1860,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1860
1860
|
transform: `translate(${Math.round(f)}px,${Math.round(i)}px)`
|
|
1861
1861
|
},
|
|
1862
1862
|
onKeyDown: je,
|
|
1863
|
-
ref:
|
|
1863
|
+
ref: _
|
|
1864
1864
|
},
|
|
1865
1865
|
se.map((ge, Ce) => Ve(ge, Ce))
|
|
1866
1866
|
));
|
|
@@ -1918,7 +1918,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1918
1918
|
), se.nextElementSibling.classList.toggle(`${Z}__mobile-menu--expanded`);
|
|
1919
1919
|
}, c2 = () => /* @__PURE__ */ e.createElement("ul", { className: `${Z}__mobile-menu`, role: "menu" }, l.map((G, se) => Ve(G, se)));
|
|
1920
1920
|
let be;
|
|
1921
|
-
const ye = n === "icon-end" ? "pds-button pds-button--navbar" : null,
|
|
1921
|
+
const ye = n === "icon-end" ? "pds-button pds-button--navbar" : null, _e = x([
|
|
1922
1922
|
`${Z}__toggle`,
|
|
1923
1923
|
ye
|
|
1924
1924
|
]);
|
|
@@ -1928,7 +1928,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1928
1928
|
id: F,
|
|
1929
1929
|
type: "button",
|
|
1930
1930
|
disabled: t,
|
|
1931
|
-
className:
|
|
1931
|
+
className: _e,
|
|
1932
1932
|
"aria-expanded": !1,
|
|
1933
1933
|
onClick: a2
|
|
1934
1934
|
},
|
|
@@ -1958,7 +1958,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1958
1958
|
}, w),
|
|
1959
1959
|
S ? /* @__PURE__ */ e.createElement(e.Fragment, null, Ne, /* @__PURE__ */ e.createElement(c2, null)) : /* @__PURE__ */ e.createElement(e.Fragment, null, Ze, e2(l))
|
|
1960
1960
|
);
|
|
1961
|
-
},
|
|
1961
|
+
}, _n = (g) => {
|
|
1962
1962
|
var p = g, {
|
|
1963
1963
|
disabled: t = !1,
|
|
1964
1964
|
id: n,
|
|
@@ -1980,7 +1980,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1980
1980
|
"value",
|
|
1981
1981
|
"className"
|
|
1982
1982
|
]);
|
|
1983
|
-
const d = "pds-segmented-button",
|
|
1983
|
+
const d = "pds-segmented-button", E = t ? "pds-is-disabled" : null, v = l !== "md" ? `${d}--${l}` : null, w = typeof a != "undefined", b = typeof s != "undefined", [C, f] = X(
|
|
1984
1984
|
b ? s : ""
|
|
1985
1985
|
), i = (h) => {
|
|
1986
1986
|
f(h.target.value), r && r(h.target.value);
|
|
@@ -1992,25 +1992,25 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
1992
1992
|
className: x([
|
|
1993
1993
|
d,
|
|
1994
1994
|
v,
|
|
1995
|
-
|
|
1995
|
+
E,
|
|
1996
1996
|
o != null ? o : ""
|
|
1997
1997
|
])
|
|
1998
1998
|
}, m),
|
|
1999
1999
|
/* @__PURE__ */ e.createElement("legend", { className: "visually-hidden" }, c),
|
|
2000
|
-
/* @__PURE__ */ e.createElement("div", { className: `${d}__options` }, u.map((h,
|
|
2000
|
+
/* @__PURE__ */ e.createElement("div", { className: `${d}__options` }, u.map((h, _) => {
|
|
2001
2001
|
const $ = w ? a === h.value : C === h.value, L = `${d}__option`, k = $ ? `${L}--checked` : null;
|
|
2002
2002
|
return /* @__PURE__ */ e.createElement(
|
|
2003
2003
|
"div",
|
|
2004
2004
|
{
|
|
2005
2005
|
className: x([L, k]),
|
|
2006
|
-
key: `${n}-option-${
|
|
2006
|
+
key: `${n}-option-${_}`
|
|
2007
2007
|
},
|
|
2008
2008
|
/* @__PURE__ */ e.createElement(
|
|
2009
2009
|
"input",
|
|
2010
2010
|
{
|
|
2011
2011
|
className: "visually-hidden",
|
|
2012
2012
|
type: "radio",
|
|
2013
|
-
id: h.id ? h.id : `${n}-option-${
|
|
2013
|
+
id: h.id ? h.id : `${n}-option-${_}`,
|
|
2014
2014
|
name: n,
|
|
2015
2015
|
value: h.value,
|
|
2016
2016
|
disabled: t || h.disabled,
|
|
@@ -2018,7 +2018,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2018
2018
|
checked: $
|
|
2019
2019
|
}
|
|
2020
2020
|
),
|
|
2021
|
-
/* @__PURE__ */ e.createElement("label", { htmlFor: h.id ? h.id : `${n}-option-${
|
|
2021
|
+
/* @__PURE__ */ e.createElement("label", { htmlFor: h.id ? h.id : `${n}-option-${_}` }, h.tally ? /* @__PURE__ */ e.createElement(
|
|
2022
2022
|
w2,
|
|
2023
2023
|
{
|
|
2024
2024
|
label: h.tally.label,
|
|
@@ -2053,8 +2053,8 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2053
2053
|
"className"
|
|
2054
2054
|
]);
|
|
2055
2055
|
const m = "pds-split-button", g = `${m}--${r}`, p = t[0], d = t.slice(1);
|
|
2056
|
-
let
|
|
2057
|
-
return "isLink" in p && p.isLink === !0 ?
|
|
2056
|
+
let E = null;
|
|
2057
|
+
return "isLink" in p && p.isLink === !0 ? E = /* @__PURE__ */ e.createElement(
|
|
2058
2058
|
L2,
|
|
2059
2059
|
{
|
|
2060
2060
|
className: `${m}__primary-action`,
|
|
@@ -2064,7 +2064,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2064
2064
|
disabled: n,
|
|
2065
2065
|
linkContent: p.linkContent
|
|
2066
2066
|
}
|
|
2067
|
-
) : "label" in p && (
|
|
2067
|
+
) : "label" in p && (E = /* @__PURE__ */ e.createElement(
|
|
2068
2068
|
C2,
|
|
2069
2069
|
{
|
|
2070
2070
|
className: `${m}__primary-action`,
|
|
@@ -2079,7 +2079,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2079
2079
|
H({
|
|
2080
2080
|
className: x([m, g, u])
|
|
2081
2081
|
}, l),
|
|
2082
|
-
|
|
2082
|
+
E,
|
|
2083
2083
|
/* @__PURE__ */ e.createElement(
|
|
2084
2084
|
I1,
|
|
2085
2085
|
{
|
|
@@ -2097,7 +2097,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2097
2097
|
}
|
|
2098
2098
|
)
|
|
2099
2099
|
);
|
|
2100
|
-
},
|
|
2100
|
+
}, vn = (g) => {
|
|
2101
2101
|
var p = g, {
|
|
2102
2102
|
buttonProps: t,
|
|
2103
2103
|
disabled: n = !1,
|
|
@@ -2119,7 +2119,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2119
2119
|
"tooltipText",
|
|
2120
2120
|
"className"
|
|
2121
2121
|
]);
|
|
2122
|
-
const d = "pds-utility-button",
|
|
2122
|
+
const d = "pds-utility-button", E = c ? `${d}--critical` : null, v = n ? `${d}--disabled` : null, w = r ? `${d}--monospace` : null, b = /* @__PURE__ */ e.createElement(
|
|
2123
2123
|
"button",
|
|
2124
2124
|
H({
|
|
2125
2125
|
className: `${d}__button`,
|
|
@@ -2135,7 +2135,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2135
2135
|
H({
|
|
2136
2136
|
className: x([
|
|
2137
2137
|
d,
|
|
2138
|
-
|
|
2138
|
+
E,
|
|
2139
2139
|
v,
|
|
2140
2140
|
w,
|
|
2141
2141
|
o != null ? o : ""
|
|
@@ -2151,7 +2151,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2151
2151
|
discovery: "squareQuestion",
|
|
2152
2152
|
code: "squareTerminal",
|
|
2153
2153
|
earlyAccess: "leaf"
|
|
2154
|
-
},
|
|
2154
|
+
}, bn = (l) => {
|
|
2155
2155
|
var a = l, {
|
|
2156
2156
|
children: t,
|
|
2157
2157
|
title: n,
|
|
@@ -2241,7 +2241,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2241
2241
|
}, u),
|
|
2242
2242
|
c
|
|
2243
2243
|
);
|
|
2244
|
-
},
|
|
2244
|
+
}, $n = (m) => {
|
|
2245
2245
|
var g = m, {
|
|
2246
2246
|
id: t,
|
|
2247
2247
|
defaultValue: n,
|
|
@@ -2264,8 +2264,8 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2264
2264
|
const p = "pds-card-select-group";
|
|
2265
2265
|
let d = `${p}__legend`;
|
|
2266
2266
|
c === "center" && (d = `${p}__legend ${p}__legend--center`), c === "hidden" && (d = `${p}__legend visually-hidden`);
|
|
2267
|
-
const [
|
|
2268
|
-
v(
|
|
2267
|
+
const [E, v] = X(n), w = (_) => {
|
|
2268
|
+
v(_.currentTarget.value), u && u(_.currentTarget.value);
|
|
2269
2269
|
}, b = l.length, C = "pds-grid-item", f = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-6", i = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-4";
|
|
2270
2270
|
let h = "";
|
|
2271
2271
|
return r === "twoAcross" ? h = f : r === "threeAcross" ? h = i : r === "auto" && (b === 1 ? h = C : b % 3 === 0 ? h = i : b % 2 === 0 ? h = f : h = i), /* @__PURE__ */ e.createElement(
|
|
@@ -2275,7 +2275,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2275
2275
|
id: t
|
|
2276
2276
|
}, o),
|
|
2277
2277
|
/* @__PURE__ */ e.createElement("legend", { className: d }, s),
|
|
2278
|
-
/* @__PURE__ */ e.createElement("div", { className: `${p}__options pds-grid pds-grid--narrow` }, l.map((
|
|
2278
|
+
/* @__PURE__ */ e.createElement("div", { className: `${p}__options pds-grid pds-grid--narrow` }, l.map((_, $) => /* @__PURE__ */ e.createElement(
|
|
2279
2279
|
"div",
|
|
2280
2280
|
{
|
|
2281
2281
|
className: [`${p}__option`, h].join(" ").trim().replace(/\s+/g, " "),
|
|
@@ -2285,32 +2285,32 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2285
2285
|
"input",
|
|
2286
2286
|
{
|
|
2287
2287
|
type: "radio",
|
|
2288
|
-
id:
|
|
2288
|
+
id: _.id ? _.id : `${t}-option-${$}`,
|
|
2289
2289
|
name: t,
|
|
2290
|
-
value:
|
|
2290
|
+
value: _.value,
|
|
2291
2291
|
onClick: w,
|
|
2292
|
-
defaultChecked:
|
|
2292
|
+
defaultChecked: E === _.value
|
|
2293
2293
|
}
|
|
2294
2294
|
),
|
|
2295
2295
|
/* @__PURE__ */ e.createElement(
|
|
2296
2296
|
"label",
|
|
2297
2297
|
{
|
|
2298
|
-
htmlFor:
|
|
2299
|
-
className:
|
|
2298
|
+
htmlFor: _.id ? _.id : `${t}-option-${$}`,
|
|
2299
|
+
className: E === _.value ? `${p}__option-label ${p}__option-label--selected` : `${p}__option-label`
|
|
2300
2300
|
},
|
|
2301
2301
|
/* @__PURE__ */ e.createElement("div", { className: `${p}__option-label-indicator` }, /* @__PURE__ */ e.createElement(
|
|
2302
2302
|
j,
|
|
2303
2303
|
{
|
|
2304
|
-
iconName:
|
|
2304
|
+
iconName: E === _.value ? "circleCheck" : "circle",
|
|
2305
2305
|
iconSize: "xl",
|
|
2306
|
-
className:
|
|
2306
|
+
className: E === _.value ? `${p}__option-icon ${p}__option-icon--selected` : `${p}__option-icon`
|
|
2307
2307
|
}
|
|
2308
2308
|
)),
|
|
2309
|
-
/* @__PURE__ */ e.createElement("div", { className: `${p}__option-label-text` },
|
|
2309
|
+
/* @__PURE__ */ e.createElement("div", { className: `${p}__option-label-text` }, _.label, _.description && /* @__PURE__ */ e.createElement("div", { className: `${p}__option-description` }, _.description))
|
|
2310
2310
|
)
|
|
2311
2311
|
)))
|
|
2312
2312
|
);
|
|
2313
|
-
},
|
|
2313
|
+
}, wn = (u) => {
|
|
2314
2314
|
var l = u, {
|
|
2315
2315
|
linkItems: t,
|
|
2316
2316
|
headingLevel: n = "h3",
|
|
@@ -2431,57 +2431,51 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2431
2431
|
fill: "none",
|
|
2432
2432
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2433
2433
|
},
|
|
2434
|
-
/* @__PURE__ */ e.createElement(
|
|
2435
|
-
"rect",
|
|
2436
|
-
{
|
|
2437
|
-
width: "32",
|
|
2438
|
-
height: "32",
|
|
2439
|
-
rx: "16",
|
|
2440
|
-
fill: "var(--pds-color-partner-wordpress)"
|
|
2441
|
-
}
|
|
2442
|
-
),
|
|
2434
|
+
/* @__PURE__ */ e.createElement("circle", { cx: "16", cy: "16", r: "16", fill: "white" }),
|
|
2443
2435
|
/* @__PURE__ */ e.createElement(
|
|
2444
2436
|
"path",
|
|
2445
2437
|
{
|
|
2446
|
-
d: "M16 4.
|
|
2447
|
-
fill: "var(--pds-color-
|
|
2438
|
+
d: "M16 0.96001C18.0309 0.96001 20.0004 1.35745 21.8541 2.14178C22.745 2.51859 23.6047 2.98515 24.4087 3.52852C25.2055 4.0666 25.9543 4.68485 26.6355 5.36549C27.3161 6.04614 27.9344 6.79543 28.4724 7.59224C29.0158 8.39624 29.4819 9.25545 29.8592 10.1468C30.643 12.0006 31.041 13.9701 31.041 16.001C31.041 18.0319 30.6435 20.0013 29.8592 21.8551C29.4824 22.746 29.0158 23.6057 28.4724 24.4097C27.9344 25.2065 27.3161 25.9553 26.6355 26.6364C25.9548 27.3171 25.2055 27.9353 24.4087 28.4734C23.6047 29.0168 22.7455 29.4829 21.8541 29.8601C20.0004 30.644 18.0309 31.0419 16 31.0419C13.9691 31.0419 11.9996 30.6445 10.1459 29.8601C9.25497 29.4833 8.39528 29.0168 7.59128 28.4734C6.79447 27.9353 6.04566 27.3171 5.36453 26.6364C4.68389 25.9558 4.06564 25.2065 3.52756 24.4097C2.98419 23.6057 2.51811 22.7465 2.14082 21.8551C1.35697 20.0013 0.95905 18.0319 0.95905 16.001C0.95905 13.9701 1.35649 12.0006 2.14082 10.1468C2.51763 9.25593 2.98419 8.39624 3.52756 7.59224C4.06564 6.79543 4.68389 6.04662 5.36453 5.36549C6.04518 4.68485 6.79447 4.0666 7.59128 3.52852C8.39528 2.98515 9.25449 2.51907 10.1459 2.14178C11.9996 1.35793 13.9691 0.96001 16 0.96001ZM16 0C7.16359 0 0 7.16359 0 16C0 24.8364 7.16359 32 16 32C24.8364 32 32 24.8364 32 16C32 7.16359 24.8369 0 16 0Z",
|
|
2439
|
+
fill: "var(--pds-color-partner-wordpress)"
|
|
2448
2440
|
}
|
|
2449
2441
|
),
|
|
2450
2442
|
/* @__PURE__ */ e.createElement(
|
|
2451
2443
|
"path",
|
|
2452
2444
|
{
|
|
2453
|
-
d: "
|
|
2454
|
-
fill: "var(--pds-color-
|
|
2445
|
+
d: "M2.6669 15.9996C2.6669 21.2772 5.73365 25.8382 10.1819 27.9992L3.82131 10.5736C3.08162 12.2316 2.6669 14.0666 2.6669 15.9996ZM25.0015 15.3271C25.0015 13.6788 24.4097 12.5378 23.9023 11.6498C23.2265 10.5511 22.5924 9.62129 22.5924 8.52255C22.5924 7.2971 23.5217 6.15613 24.8316 6.15613C24.8906 6.15613 24.9468 6.16333 25.0044 6.16669C22.6322 3.99323 19.4714 2.66602 16.0005 2.66602C11.342 2.66602 7.24423 5.05644 4.86004 8.67568C5.17301 8.68576 5.46821 8.692 5.71829 8.692C7.11271 8.692 9.27177 8.52255 9.27177 8.52255C9.99033 8.48031 10.0753 9.53632 9.35721 9.62129C9.35721 9.62129 8.6348 9.70577 7.83127 9.74801L12.6865 24.1904L15.605 15.4394L13.528 9.74801C12.8094 9.70577 12.1297 9.62129 12.1297 9.62129C11.4111 9.57904 11.4952 8.48031 12.2142 8.52255C12.2142 8.52255 14.4155 8.692 15.7259 8.692C17.1203 8.692 19.2799 8.52255 19.2799 8.52255C19.9984 8.48031 20.0834 9.53632 19.3648 9.62129C19.3648 9.62129 18.6415 9.70577 17.8389 9.74801L22.6577 24.0805L24.0334 19.722C24.6444 17.8174 25.0025 16.4676 25.0025 15.3266L25.0015 15.3271ZM16.2342 17.166L12.2329 28.7903C13.4276 29.1416 14.691 29.3336 16 29.3336C17.5528 29.3336 19.0423 29.0658 20.428 28.5776C20.3925 28.5205 20.3594 28.46 20.3325 28.3938L16.2342 17.166ZM27.7006 9.60353C27.7577 10.0283 27.7904 10.4839 27.7904 10.9744C27.7904 12.3271 27.5369 13.8477 26.7761 15.75L22.7037 27.5245C26.6676 25.2133 29.3336 20.9192 29.3336 16.0001C29.3336 13.6821 28.7412 11.5024 27.7006 9.60353Z",
|
|
2446
|
+
fill: "var(--pds-color-partner-wordpress)"
|
|
2455
2447
|
}
|
|
2456
2448
|
)
|
|
2457
2449
|
),
|
|
2458
2450
|
gatsby: /* @__PURE__ */ e.createElement(
|
|
2459
2451
|
"svg",
|
|
2460
2452
|
{
|
|
2461
|
-
width: "
|
|
2462
|
-
height: "
|
|
2453
|
+
width: "32",
|
|
2454
|
+
height: "32",
|
|
2463
2455
|
viewBox: "0 0 32 32",
|
|
2464
2456
|
fill: "none",
|
|
2465
2457
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2466
2458
|
},
|
|
2467
|
-
/* @__PURE__ */ e.createElement(
|
|
2468
|
-
"
|
|
2459
|
+
/* @__PURE__ */ e.createElement("g", { "clip-path": "url(#clip0_14628_82557)" }, /* @__PURE__ */ e.createElement(
|
|
2460
|
+
"path",
|
|
2469
2461
|
{
|
|
2470
|
-
|
|
2471
|
-
height: "32",
|
|
2472
|
-
rx: "16",
|
|
2462
|
+
d: "M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32Z",
|
|
2473
2463
|
fill: "var(--pds-color-partner-gatsby)"
|
|
2474
2464
|
}
|
|
2475
|
-
),
|
|
2476
|
-
/* @__PURE__ */ e.createElement(
|
|
2465
|
+
), /* @__PURE__ */ e.createElement(
|
|
2477
2466
|
"path",
|
|
2478
2467
|
{
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
d: "M27.7785 15.7952L27.8109 16.0481C28.0701 18.0131 27.3442 20.5682 25.9055 22.7082C24.1946 25.2763 21.6478 27.0468 18.7315 27.7083L18.5759 27.7407L4.25366 13.5124L4.2796 13.3632C4.62308 11.2945 5.74423 9.23224 7.42272 7.55908C9.09474 5.89241 11.2139 4.71859 13.3914 4.25814C18.0769 3.26592 23.0929 5.1985 25.5815 8.94689L25.7176 9.15439L25.5362 9.32301C25.5005 9.35868 25.4633 9.39274 25.426 9.42679C25.3887 9.46083 25.3514 9.49488 25.3158 9.53055C25.1473 9.69268 24.9724 9.8548 24.7909 10.0169C24.6378 10.1588 24.4847 10.2907 24.3229 10.43C24.2998 10.45 24.2765 10.47 24.253 10.4903C24.1752 10.5617 24.0909 10.633 24.0067 10.7044L23.7734 10.9054L23.5855 10.6654C20.9284 7.31264 17.5909 6.08048 13.6636 7.00785C10.689 7.70824 8.53737 9.61485 7.26716 12.6693L19.4119 24.6797C22.1144 23.5643 23.8966 21.5928 24.8557 18.6616H19.1592V15.7952H27.7785ZM18.7703 27.1052C21.4793 26.4567 23.8382 24.7835 25.4324 22.3905C26.7221 20.4514 27.409 18.1752 27.247 16.3723H19.7295V18.0714H25.6334L25.5232 18.4476C24.5381 21.7874 22.4903 24.0896 19.4444 25.2893L19.2694 25.3607L6.58024 12.8055L6.6515 12.6239C7.993 9.27761 10.3066 7.18941 13.534 6.43065C17.6038 5.47086 21.0775 6.69008 23.8577 10.0558L23.8771 10.0364C24.065 9.87425 24.2335 9.72511 24.4085 9.56946C24.5706 9.4253 24.7327 9.27556 24.8896 9.13058L24.927 9.09603C24.9399 9.08958 24.9528 9.07669 24.9657 9.06377L24.9658 9.06361C22.555 5.64596 17.8954 3.90797 13.521 4.82885C9.30857 5.71731 5.62754 9.34895 4.88875 13.3113L18.7703 27.1052ZM7.55861 24.6407C5.18671 22.3191 3.8906 19.2451 4.00725 16.2036L4.03313 15.5357L16.5278 27.9416L15.8797 27.9806C15.6853 27.9935 15.4973 28 15.3094 28C12.5551 28 9.76202 26.7938 7.55861 24.6407Z",
|
|
2482
|
-
fill: "var(--pds-color-foreground-reverse)"
|
|
2468
|
+
d: "M7.0857 24.9142C4.6857 22.5142 3.42856 19.3142 3.42856 16.2285L15.8857 28.5714C12.6857 28.4571 9.4857 27.3142 7.0857 24.9142Z",
|
|
2469
|
+
fill: "white"
|
|
2483
2470
|
}
|
|
2484
|
-
)
|
|
2471
|
+
), /* @__PURE__ */ e.createElement(
|
|
2472
|
+
"path",
|
|
2473
|
+
{
|
|
2474
|
+
d: "M18.7429 28.2285L3.77142 13.257C5.02857 7.65704 10.0571 3.42847 16 3.42847C20.2286 3.42847 23.8857 5.48561 26.1714 8.57132L24.4571 10.057C22.5143 7.42847 19.4286 5.71418 16 5.71418C11.5429 5.71418 7.77142 8.57132 6.28571 12.5713L19.4286 25.7142C22.7429 24.5713 25.2571 21.7142 26.0571 18.2856H20.5714V15.9999H28.5714C28.5714 21.9428 24.3429 26.9713 18.7429 28.2285Z",
|
|
2475
|
+
fill: "white"
|
|
2476
|
+
}
|
|
2477
|
+
)),
|
|
2478
|
+
/* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_14628_82557" }, /* @__PURE__ */ e.createElement("rect", { width: "32", height: "32", fill: "white" })))
|
|
2485
2479
|
),
|
|
2486
2480
|
next: /* @__PURE__ */ e.createElement(
|
|
2487
2481
|
"svg",
|
|
@@ -2609,13 +2603,13 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2609
2603
|
"path",
|
|
2610
2604
|
{
|
|
2611
2605
|
d: "M17 10.5V15H21.5C22.0312 15 22.5 15.4688 22.5 16C22.5 16.5625 22.0312 17 21.5 17H17V21.5C17 22.0625 16.5312 22.5 16 22.5C15.4375 22.5 15 22.0625 15 21.5V17H10.5C9.9375 17 9.5 16.5625 9.5 16C9.5 15.4688 9.9375 15 10.5 15H15V10.5C15 9.96875 15.4375 9.5 16 9.5C16.5312 9.5 17 9.96875 17 10.5Z",
|
|
2612
|
-
fill: "
|
|
2606
|
+
fill: "var(--pds-color-foreground-reverse)"
|
|
2613
2607
|
}
|
|
2614
2608
|
)
|
|
2615
2609
|
)
|
|
2616
2610
|
}, d1 = {
|
|
2617
2611
|
"early-access": { label: "Early Access", color: "success" }
|
|
2618
|
-
},
|
|
2612
|
+
}, yn = (g) => {
|
|
2619
2613
|
var p = g, {
|
|
2620
2614
|
badge: t,
|
|
2621
2615
|
icon: n,
|
|
@@ -2637,8 +2631,8 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2637
2631
|
"supplementalLinks",
|
|
2638
2632
|
"className"
|
|
2639
2633
|
]);
|
|
2640
|
-
const d = "pds-new-site-card",
|
|
2641
|
-
|
|
2634
|
+
const d = "pds-new-site-card", E = l.type, v = /* @__PURE__ */ e.createElement(I2, { padding: "narrow" }, /* @__PURE__ */ e.createElement("div", { slot: "main", className: `${d}__main` }, /* @__PURE__ */ e.createElement(
|
|
2635
|
+
E,
|
|
2642
2636
|
H({
|
|
2643
2637
|
"aria-label": l.props.children,
|
|
2644
2638
|
className: `${d}__selection-link`
|
|
@@ -2674,7 +2668,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
2674
2668
|
);
|
|
2675
2669
|
}))));
|
|
2676
2670
|
return /* @__PURE__ */ e.createElement("div", H({ className: x([d, o != null ? o : ""]) }, m), v);
|
|
2677
|
-
},
|
|
2671
|
+
}, Et = {
|
|
2678
2672
|
amex: /* @__PURE__ */ e.createElement(
|
|
2679
2673
|
"svg",
|
|
2680
2674
|
{
|
|
@@ -3001,7 +2995,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3001
2995
|
/* @__PURE__ */ e.createElement("stop", { offset: "1", stopColor: "#254AA5" })
|
|
3002
2996
|
), /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_10146_23942" }, /* @__PURE__ */ e.createElement("rect", { width: "70", height: "42", fill: "white" })))
|
|
3003
2997
|
)
|
|
3004
|
-
},
|
|
2998
|
+
}, _t = (c) => {
|
|
3005
2999
|
var r = c, {
|
|
3006
3000
|
paymentType: t,
|
|
3007
3001
|
className: n
|
|
@@ -3009,8 +3003,8 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3009
3003
|
"paymentType",
|
|
3010
3004
|
"className"
|
|
3011
3005
|
]);
|
|
3012
|
-
return /* @__PURE__ */ e.createElement("div", H({ className: x(["pds-payment-icon", n != null ? n : ""]) }, s),
|
|
3013
|
-
},
|
|
3006
|
+
return /* @__PURE__ */ e.createElement("div", H({ className: x(["pds-payment-icon", n != null ? n : ""]) }, s), Et[t]);
|
|
3007
|
+
}, Ln = (g) => {
|
|
3014
3008
|
var p = g, {
|
|
3015
3009
|
cardType: t,
|
|
3016
3010
|
cardNumber: n,
|
|
@@ -3039,16 +3033,16 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3039
3033
|
className: `${d}__main`,
|
|
3040
3034
|
tabIndex: 0,
|
|
3041
3035
|
onClick: a,
|
|
3042
|
-
onKeyDown: (
|
|
3043
|
-
|
|
3036
|
+
onKeyDown: (E) => {
|
|
3037
|
+
E.key === "Enter" && (E.preventDefault(), a && a());
|
|
3044
3038
|
}
|
|
3045
3039
|
},
|
|
3046
|
-
/* @__PURE__ */ e.createElement(I2, { padding: "narrow" }, /* @__PURE__ */ e.createElement("div", { slot: "main" }, /* @__PURE__ */ e.createElement("div", { className: `${d}__top` }, /* @__PURE__ */ e.createElement("div", { className: `${d}__icon` }, /* @__PURE__ */ e.createElement(
|
|
3040
|
+
/* @__PURE__ */ e.createElement(I2, { padding: "narrow" }, /* @__PURE__ */ e.createElement("div", { slot: "main" }, /* @__PURE__ */ e.createElement("div", { className: `${d}__top` }, /* @__PURE__ */ e.createElement("div", { className: `${d}__icon` }, /* @__PURE__ */ e.createElement(_t, { paymentType: t })), /* @__PURE__ */ e.createElement("div", { className: `${d}__details` }, /* @__PURE__ */ e.createElement("div", { className: `${d}__details-header` }, t, " — ", n), /* @__PURE__ */ e.createElement("div", { className: `${d}__details-name` }, s), /* @__PURE__ */ e.createElement("div", { className: `${d}__details-exp` }, c))), /* @__PURE__ */ e.createElement("div", { className: `${d}__bottom` }, /* @__PURE__ */ e.createElement("div", null, r), /* @__PURE__ */ e.createElement(
|
|
3047
3041
|
"button",
|
|
3048
3042
|
{
|
|
3049
3043
|
type: "button",
|
|
3050
|
-
onClick: (
|
|
3051
|
-
|
|
3044
|
+
onClick: (E) => {
|
|
3045
|
+
E.stopPropagation(), l && l();
|
|
3052
3046
|
},
|
|
3053
3047
|
"aria-label": u
|
|
3054
3048
|
},
|
|
@@ -3122,7 +3116,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3122
3116
|
options: g,
|
|
3123
3117
|
required: p = !1,
|
|
3124
3118
|
showLabel: d = !0,
|
|
3125
|
-
tooltipText:
|
|
3119
|
+
tooltipText: E = null,
|
|
3126
3120
|
validationMessage: v,
|
|
3127
3121
|
validationStatus: w,
|
|
3128
3122
|
value: b,
|
|
@@ -3148,10 +3142,10 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3148
3142
|
"className"
|
|
3149
3143
|
]);
|
|
3150
3144
|
var a2, c2;
|
|
3151
|
-
const
|
|
3145
|
+
const _ = Qe(c), $ = "pds-select", L = n ? ne.disabled : null, k = p && !n ? ne.required : null, y = w === "error" ? ne.error : null, M = w === "success" ? ne.success : null;
|
|
3152
3146
|
let z = null;
|
|
3153
3147
|
w === "error" && (z = "error"), w === "success" && (z = "success");
|
|
3154
|
-
const S = v || l, Z = typeof b != "undefined", D = typeof t != "undefined", F = ((be) => be.reduce((ye,
|
|
3148
|
+
const S = v || l, Z = typeof b != "undefined", D = typeof t != "undefined", F = ((be) => be.reduce((ye, _e) => i1(_e) ? [...ye, ..._e.options] : [...ye, _e], []))(g), P = (be) => F.findIndex((ye) => ye.value === be), U = Z && P(b) >= 0 ? P(b) : null, Q = D ? P(t) : null, J = U || Q, [te, B] = X(!1), [R, q] = X(null), [T, I] = X(
|
|
3155
3149
|
J != null ? J : null
|
|
3156
3150
|
), V = T !== null ? (a2 = F[T]) == null ? void 0 : a2.label : void 0, N = T !== null ? (c2 = F[T]) == null ? void 0 : c2.value : void 0, A = ce([]), { context: K, refs: ee } = Se({
|
|
3157
3151
|
open: te,
|
|
@@ -3160,14 +3154,14 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3160
3154
|
}), me = Xe(K, {
|
|
3161
3155
|
enabled: !n,
|
|
3162
3156
|
event: "mousedown"
|
|
3163
|
-
}), ie = Ae(K), he = Te(K, { role: "listbox" }),
|
|
3157
|
+
}), ie = Ae(K), he = Te(K, { role: "listbox" }), Ee = o2(K, {
|
|
3164
3158
|
listRef: A,
|
|
3165
3159
|
activeIndex: R,
|
|
3166
3160
|
selectedIndex: T,
|
|
3167
3161
|
onNavigate: q,
|
|
3168
3162
|
loop: !0
|
|
3169
3163
|
}), { getReferenceProps: oe, getFloatingProps: re, getItemProps: ue } = De(
|
|
3170
|
-
[he, ie,
|
|
3164
|
+
[he, ie, Ee, me]
|
|
3171
3165
|
), { isMounted: ze, styles: je } = Ye(K, {
|
|
3172
3166
|
duration: {
|
|
3173
3167
|
open: 300,
|
|
@@ -3200,9 +3194,9 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3200
3194
|
ee.reference.current.focus();
|
|
3201
3195
|
}, Ze = (be) => {
|
|
3202
3196
|
let ye = 0;
|
|
3203
|
-
return be.map((
|
|
3204
|
-
if (i1(
|
|
3205
|
-
const Le =
|
|
3197
|
+
return be.map((_e) => {
|
|
3198
|
+
if (i1(_e)) {
|
|
3199
|
+
const Le = _e.options.map((G) => {
|
|
3206
3200
|
const se = ye++;
|
|
3207
3201
|
return /* @__PURE__ */ e.createElement(
|
|
3208
3202
|
y2,
|
|
@@ -3232,7 +3226,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3232
3226
|
)
|
|
3233
3227
|
);
|
|
3234
3228
|
});
|
|
3235
|
-
return /* @__PURE__ */ e.createElement(bt, { key:
|
|
3229
|
+
return /* @__PURE__ */ e.createElement(bt, { key: _e.groupLabel, label: _e.groupLabel }, Le);
|
|
3236
3230
|
}
|
|
3237
3231
|
const Ne = ye++;
|
|
3238
3232
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -3244,8 +3238,8 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3244
3238
|
},
|
|
3245
3239
|
tabIndex: Ne === R ? 0 : -1,
|
|
3246
3240
|
"aria-selected": Ne === T && Ne === R,
|
|
3247
|
-
"aria-disabled":
|
|
3248
|
-
}, !(
|
|
3241
|
+
"aria-disabled": _e == null ? void 0 : _e.disabled
|
|
3242
|
+
}, !(_e != null && _e.disabled) && ue({
|
|
3249
3243
|
onClick() {
|
|
3250
3244
|
xe(Ne);
|
|
3251
3245
|
},
|
|
@@ -3253,7 +3247,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3253
3247
|
Le.key === "Enter" && (Le.preventDefault(), xe(Ne), ee.reference.current.focus()), Le.key === "Escape" && (Le.preventDefault(), ee.reference.current.focus());
|
|
3254
3248
|
}
|
|
3255
3249
|
})),
|
|
3256
|
-
|
|
3250
|
+
_e.label,
|
|
3257
3251
|
T === Ne && /* @__PURE__ */ e.createElement(j, { iconName: "check", className: `${$}__checked-icon` })
|
|
3258
3252
|
);
|
|
3259
3253
|
});
|
|
@@ -3270,7 +3264,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3270
3264
|
M,
|
|
3271
3265
|
C != null ? C : ""
|
|
3272
3266
|
]),
|
|
3273
|
-
style: c ?
|
|
3267
|
+
style: c ? _ : null
|
|
3274
3268
|
}, f),
|
|
3275
3269
|
/* @__PURE__ */ e.createElement(
|
|
3276
3270
|
Be,
|
|
@@ -3278,7 +3272,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3278
3272
|
id: s,
|
|
3279
3273
|
label: r,
|
|
3280
3274
|
showLabel: d,
|
|
3281
|
-
tooltipText:
|
|
3275
|
+
tooltipText: E,
|
|
3282
3276
|
required: p,
|
|
3283
3277
|
disabled: n
|
|
3284
3278
|
}
|
|
@@ -3323,8 +3317,8 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3323
3317
|
}
|
|
3324
3318
|
)
|
|
3325
3319
|
);
|
|
3326
|
-
},
|
|
3327
|
-
var
|
|
3320
|
+
}, Hn = (d) => {
|
|
3321
|
+
var E = d, {
|
|
3328
3322
|
actionPrimary: t,
|
|
3329
3323
|
actionSecondary: n,
|
|
3330
3324
|
hasComparisonList: s = !0,
|
|
@@ -3339,7 +3333,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3339
3333
|
selectLabel: o = "Select a plan size",
|
|
3340
3334
|
statusBadgeType: m,
|
|
3341
3335
|
className: g
|
|
3342
|
-
} =
|
|
3336
|
+
} = E, p = O(E, [
|
|
3343
3337
|
"actionPrimary",
|
|
3344
3338
|
"actionSecondary",
|
|
3345
3339
|
"hasComparisonList",
|
|
@@ -3352,7 +3346,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3352
3346
|
"statusBadgeType",
|
|
3353
3347
|
"className"
|
|
3354
3348
|
]);
|
|
3355
|
-
const v = "pds-pricing-card", w = `${v}-container`, b = s ? `${w}--with-list` : null, C = m ? `${v}--${m}` : null, f = (D) => D.toLowerCase().replace(/\s/g, "-"), i = l && l.length > 1, [h,
|
|
3349
|
+
const v = "pds-pricing-card", w = `${v}-container`, b = s ? `${w}--with-list` : null, C = m ? `${v}--${m}` : null, f = (D) => D.toLowerCase().replace(/\s/g, "-"), i = l && l.length > 1, [h, _] = X(
|
|
3356
3350
|
f(l[0].label)
|
|
3357
3351
|
), [$, L] = X(
|
|
3358
3352
|
t.label
|
|
@@ -3431,7 +3425,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3431
3425
|
})),
|
|
3432
3426
|
defaultValue: f(l[0].label),
|
|
3433
3427
|
onOptionSelect: (D) => {
|
|
3434
|
-
|
|
3428
|
+
_(D.value), L(M(D.value)), c && c(D.value);
|
|
3435
3429
|
}
|
|
3436
3430
|
}
|
|
3437
3431
|
));
|
|
@@ -3487,7 +3481,7 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3487
3481
|
), /* @__PURE__ */ e.createElement("div", { className: `${v}__main-content` }, u && /* @__PURE__ */ e.createElement("div", { className: `${v}__plan pds-overline-text` }, u), k, r && /* @__PURE__ */ e.createElement("div", { className: `${v}__description` }, r), z), /* @__PURE__ */ e.createElement("div", { className: `${v}__actions` }, t && S, t && n && Z)),
|
|
3488
3482
|
s && y
|
|
3489
3483
|
);
|
|
3490
|
-
},
|
|
3484
|
+
}, Mn = (m) => {
|
|
3491
3485
|
var g = m, {
|
|
3492
3486
|
gotoText: t = "Go to",
|
|
3493
3487
|
headingLevel: n = "h3",
|
|
@@ -3508,13 +3502,13 @@ const T2 = 300, dt = 400, ke = (p) => {
|
|
|
3508
3502
|
"className"
|
|
3509
3503
|
]);
|
|
3510
3504
|
const p = "pds-site-card";
|
|
3511
|
-
let d,
|
|
3512
|
-
l === "active" && (d = "Active",
|
|
3505
|
+
let d, E;
|
|
3506
|
+
l === "active" && (d = "Active", E = "success"), l === "frozen" && (d = "Frozen", E = "frozen");
|
|
3513
3507
|
const v = /* @__PURE__ */ e.createElement(
|
|
3514
3508
|
Q2,
|
|
3515
3509
|
{
|
|
3516
3510
|
label: d,
|
|
3517
|
-
statusType:
|
|
3511
|
+
statusType: E,
|
|
3518
3512
|
hasStatusIndicator: !0
|
|
3519
3513
|
}
|
|
3520
3514
|
), w = /* @__PURE__ */ e.createElement(I2, null, /* @__PURE__ */ e.createElement("img", { slot: "image", src: s, alt: "" }), /* @__PURE__ */ e.createElement("div", { slot: "main", className: `${p}__main` }, /* @__PURE__ */ e.createElement("div", { className: `${p}__header` }, /* @__PURE__ */ e.createElement(
|
|
@@ -3646,26 +3640,26 @@ var A1 = { exports: {} };
|
|
|
3646
3640
|
*/
|
|
3647
3641
|
clone: function f(i, h) {
|
|
3648
3642
|
h = h || {};
|
|
3649
|
-
var
|
|
3643
|
+
var _, $;
|
|
3650
3644
|
switch (a.util.type(i)) {
|
|
3651
3645
|
case "Object":
|
|
3652
3646
|
if ($ = a.util.objId(i), h[$])
|
|
3653
3647
|
return h[$];
|
|
3654
|
-
|
|
3655
|
-
{}, h[$] =
|
|
3648
|
+
_ = /** @type {Record<string, any>} */
|
|
3649
|
+
{}, h[$] = _;
|
|
3656
3650
|
for (var L in i)
|
|
3657
|
-
i.hasOwnProperty(L) && (
|
|
3651
|
+
i.hasOwnProperty(L) && (_[L] = f(i[L], h));
|
|
3658
3652
|
return (
|
|
3659
3653
|
/** @type {any} */
|
|
3660
|
-
|
|
3654
|
+
_
|
|
3661
3655
|
);
|
|
3662
3656
|
case "Array":
|
|
3663
|
-
return $ = a.util.objId(i), h[$] ? h[$] : (
|
|
3657
|
+
return $ = a.util.objId(i), h[$] ? h[$] : (_ = [], h[$] = _, /** @type {Array} */
|
|
3664
3658
|
/** @type {any} */
|
|
3665
3659
|
i.forEach(function(k, y) {
|
|
3666
|
-
|
|
3660
|
+
_[y] = f(k, h);
|
|
3667
3661
|
}), /** @type {any} */
|
|
3668
|
-
|
|
3662
|
+
_);
|
|
3669
3663
|
default:
|
|
3670
3664
|
return i;
|
|
3671
3665
|
}
|
|
@@ -3714,8 +3708,8 @@ var A1 = { exports: {} };
|
|
|
3714
3708
|
);
|
|
3715
3709
|
try {
|
|
3716
3710
|
throw new Error();
|
|
3717
|
-
} catch (
|
|
3718
|
-
var f = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(
|
|
3711
|
+
} catch (_) {
|
|
3712
|
+
var f = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(_.stack) || [])[1];
|
|
3719
3713
|
if (f) {
|
|
3720
3714
|
var i = document.getElementsByTagName("script");
|
|
3721
3715
|
for (var h in i)
|
|
@@ -3745,11 +3739,11 @@ var A1 = { exports: {} };
|
|
|
3745
3739
|
* @returns {boolean}
|
|
3746
3740
|
*/
|
|
3747
3741
|
isActive: function(f, i, h) {
|
|
3748
|
-
for (var
|
|
3742
|
+
for (var _ = "no-" + i; f; ) {
|
|
3749
3743
|
var $ = f.classList;
|
|
3750
3744
|
if ($.contains(i))
|
|
3751
3745
|
return !0;
|
|
3752
|
-
if ($.contains(
|
|
3746
|
+
if ($.contains(_))
|
|
3753
3747
|
return !1;
|
|
3754
3748
|
f = f.parentElement;
|
|
3755
3749
|
}
|
|
@@ -3801,8 +3795,8 @@ var A1 = { exports: {} };
|
|
|
3801
3795
|
*/
|
|
3802
3796
|
extend: function(f, i) {
|
|
3803
3797
|
var h = a.util.clone(a.languages[f]);
|
|
3804
|
-
for (var
|
|
3805
|
-
h[
|
|
3798
|
+
for (var _ in i)
|
|
3799
|
+
h[_] = i[_];
|
|
3806
3800
|
return h;
|
|
3807
3801
|
},
|
|
3808
3802
|
/**
|
|
@@ -3880,10 +3874,10 @@ var A1 = { exports: {} };
|
|
|
3880
3874
|
* @returns {Grammar} The new grammar object.
|
|
3881
3875
|
* @public
|
|
3882
3876
|
*/
|
|
3883
|
-
insertBefore: function(f, i, h,
|
|
3884
|
-
|
|
3877
|
+
insertBefore: function(f, i, h, _) {
|
|
3878
|
+
_ = _ || /** @type {any} */
|
|
3885
3879
|
a.languages;
|
|
3886
|
-
var $ =
|
|
3880
|
+
var $ = _[f], L = {};
|
|
3887
3881
|
for (var k in $)
|
|
3888
3882
|
if ($.hasOwnProperty(k)) {
|
|
3889
3883
|
if (k == i)
|
|
@@ -3891,18 +3885,18 @@ var A1 = { exports: {} };
|
|
|
3891
3885
|
h.hasOwnProperty(y) && (L[y] = h[y]);
|
|
3892
3886
|
h.hasOwnProperty(k) || (L[k] = $[k]);
|
|
3893
3887
|
}
|
|
3894
|
-
var M =
|
|
3895
|
-
return
|
|
3888
|
+
var M = _[f];
|
|
3889
|
+
return _[f] = L, a.languages.DFS(a.languages, function(z, S) {
|
|
3896
3890
|
S === M && z != f && (this[z] = L);
|
|
3897
3891
|
}), L;
|
|
3898
3892
|
},
|
|
3899
3893
|
// Traverse a language definition with Depth First Search
|
|
3900
|
-
DFS: function f(i, h,
|
|
3894
|
+
DFS: function f(i, h, _, $) {
|
|
3901
3895
|
$ = $ || {};
|
|
3902
3896
|
var L = a.util.objId;
|
|
3903
3897
|
for (var k in i)
|
|
3904
3898
|
if (i.hasOwnProperty(k)) {
|
|
3905
|
-
h.call(i, k, i[k],
|
|
3899
|
+
h.call(i, k, i[k], _ || k);
|
|
3906
3900
|
var y = i[k], M = a.util.type(y);
|
|
3907
3901
|
M === "Object" && !$[L(y)] ? ($[L(y)] = !0, f(y, h, null, $)) : M === "Array" && !$[L(y)] && ($[L(y)] = !0, f(y, h, k, $));
|
|
3908
3902
|
}
|
|
@@ -3940,14 +3934,14 @@ var A1 = { exports: {} };
|
|
|
3940
3934
|
* @public
|
|
3941
3935
|
*/
|
|
3942
3936
|
highlightAllUnder: function(f, i, h) {
|
|
3943
|
-
var
|
|
3937
|
+
var _ = {
|
|
3944
3938
|
callback: h,
|
|
3945
3939
|
container: f,
|
|
3946
3940
|
selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
|
|
3947
3941
|
};
|
|
3948
|
-
a.hooks.run("before-highlightall",
|
|
3949
|
-
for (var $ = 0, L; L =
|
|
3950
|
-
a.highlightElement(L, i === !0,
|
|
3942
|
+
a.hooks.run("before-highlightall", _), _.elements = Array.prototype.slice.apply(_.container.querySelectorAll(_.selector)), a.hooks.run("before-all-elements-highlight", _);
|
|
3943
|
+
for (var $ = 0, L; L = _.elements[$++]; )
|
|
3944
|
+
a.highlightElement(L, i === !0, _.callback);
|
|
3951
3945
|
},
|
|
3952
3946
|
/**
|
|
3953
3947
|
* Highlights the code inside a single element.
|
|
@@ -3978,13 +3972,13 @@ var A1 = { exports: {} };
|
|
|
3978
3972
|
* @public
|
|
3979
3973
|
*/
|
|
3980
3974
|
highlightElement: function(f, i, h) {
|
|
3981
|
-
var
|
|
3982
|
-
a.util.setLanguage(f,
|
|
3975
|
+
var _ = a.util.getLanguage(f), $ = a.languages[_];
|
|
3976
|
+
a.util.setLanguage(f, _);
|
|
3983
3977
|
var L = f.parentElement;
|
|
3984
|
-
L && L.nodeName.toLowerCase() === "pre" && a.util.setLanguage(L,
|
|
3978
|
+
L && L.nodeName.toLowerCase() === "pre" && a.util.setLanguage(L, _);
|
|
3985
3979
|
var k = f.textContent, y = {
|
|
3986
3980
|
element: f,
|
|
3987
|
-
language:
|
|
3981
|
+
language: _,
|
|
3988
3982
|
grammar: $,
|
|
3989
3983
|
code: k
|
|
3990
3984
|
};
|
|
@@ -4032,14 +4026,14 @@ var A1 = { exports: {} };
|
|
|
4032
4026
|
* Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
|
|
4033
4027
|
*/
|
|
4034
4028
|
highlight: function(f, i, h) {
|
|
4035
|
-
var
|
|
4029
|
+
var _ = {
|
|
4036
4030
|
code: f,
|
|
4037
4031
|
grammar: i,
|
|
4038
4032
|
language: h
|
|
4039
4033
|
};
|
|
4040
|
-
if (a.hooks.run("before-tokenize",
|
|
4041
|
-
throw new Error('The language "' +
|
|
4042
|
-
return
|
|
4034
|
+
if (a.hooks.run("before-tokenize", _), !_.grammar)
|
|
4035
|
+
throw new Error('The language "' + _.language + '" has no grammar.');
|
|
4036
|
+
return _.tokens = a.tokenize(_.code, _.grammar), a.hooks.run("after-tokenize", _), o.stringify(a.util.encode(_.tokens), _.language);
|
|
4043
4037
|
},
|
|
4044
4038
|
/**
|
|
4045
4039
|
* This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
|
|
@@ -4068,8 +4062,8 @@ var A1 = { exports: {} };
|
|
|
4068
4062
|
tokenize: function(f, i) {
|
|
4069
4063
|
var h = i.rest;
|
|
4070
4064
|
if (h) {
|
|
4071
|
-
for (var
|
|
4072
|
-
i[
|
|
4065
|
+
for (var _ in h)
|
|
4066
|
+
i[_] = h[_];
|
|
4073
4067
|
delete i.rest;
|
|
4074
4068
|
}
|
|
4075
4069
|
var $ = new p();
|
|
@@ -4110,24 +4104,24 @@ var A1 = { exports: {} };
|
|
|
4110
4104
|
run: function(f, i) {
|
|
4111
4105
|
var h = a.hooks.all[f];
|
|
4112
4106
|
if (!(!h || !h.length))
|
|
4113
|
-
for (var
|
|
4107
|
+
for (var _ = 0, $; $ = h[_++]; )
|
|
4114
4108
|
$(i);
|
|
4115
4109
|
}
|
|
4116
4110
|
},
|
|
4117
4111
|
Token: o
|
|
4118
4112
|
};
|
|
4119
4113
|
c.Prism = a;
|
|
4120
|
-
function o(f, i, h,
|
|
4121
|
-
this.type = f, this.content = i, this.alias = h, this.length = (
|
|
4114
|
+
function o(f, i, h, _) {
|
|
4115
|
+
this.type = f, this.content = i, this.alias = h, this.length = (_ || "").length | 0;
|
|
4122
4116
|
}
|
|
4123
4117
|
o.stringify = function f(i, h) {
|
|
4124
4118
|
if (typeof i == "string")
|
|
4125
4119
|
return i;
|
|
4126
4120
|
if (Array.isArray(i)) {
|
|
4127
|
-
var
|
|
4121
|
+
var _ = "";
|
|
4128
4122
|
return i.forEach(function(M) {
|
|
4129
|
-
|
|
4130
|
-
}),
|
|
4123
|
+
_ += f(M, h);
|
|
4124
|
+
}), _;
|
|
4131
4125
|
}
|
|
4132
4126
|
var $ = {
|
|
4133
4127
|
type: i.type,
|
|
@@ -4143,16 +4137,16 @@ var A1 = { exports: {} };
|
|
|
4143
4137
|
k += " " + y + '="' + ($.attributes[y] || "").replace(/"/g, """) + '"';
|
|
4144
4138
|
return "<" + $.tag + ' class="' + $.classes.join(" ") + '"' + k + ">" + $.content + "</" + $.tag + ">";
|
|
4145
4139
|
};
|
|
4146
|
-
function m(f, i, h,
|
|
4140
|
+
function m(f, i, h, _) {
|
|
4147
4141
|
f.lastIndex = i;
|
|
4148
4142
|
var $ = f.exec(h);
|
|
4149
|
-
if ($ &&
|
|
4143
|
+
if ($ && _ && $[1]) {
|
|
4150
4144
|
var L = $[1].length;
|
|
4151
4145
|
$.index += L, $[0] = $[0].slice(L);
|
|
4152
4146
|
}
|
|
4153
4147
|
return $;
|
|
4154
4148
|
}
|
|
4155
|
-
function g(f, i, h,
|
|
4149
|
+
function g(f, i, h, _, $, L) {
|
|
4156
4150
|
for (var k in h)
|
|
4157
4151
|
if (!(!h.hasOwnProperty(k) || !h[k])) {
|
|
4158
4152
|
var y = h[k];
|
|
@@ -4165,7 +4159,7 @@ var A1 = { exports: {} };
|
|
|
4165
4159
|
var F = z.pattern.toString().match(/[imsuy]*$/)[0];
|
|
4166
4160
|
z.pattern = RegExp(z.pattern.source, F + "g");
|
|
4167
4161
|
}
|
|
4168
|
-
for (var P = z.pattern || z, U =
|
|
4162
|
+
for (var P = z.pattern || z, U = _.next, Q = $; U !== i.tail && !(L && Q >= L.reach); Q += U.value.length, U = U.next) {
|
|
4169
4163
|
var J = U.value;
|
|
4170
4164
|
if (i.length > f.length)
|
|
4171
4165
|
return;
|
|
@@ -4187,7 +4181,7 @@ var A1 = { exports: {} };
|
|
|
4187
4181
|
var I = B.index, V = B[0], N = J.slice(0, I), A = J.slice(I + V.length), K = Q + J.length;
|
|
4188
4182
|
L && K > L.reach && (L.reach = K);
|
|
4189
4183
|
var ee = U.prev;
|
|
4190
|
-
N && (ee = d(i, ee, N), Q += N.length),
|
|
4184
|
+
N && (ee = d(i, ee, N), Q += N.length), E(i, ee, te);
|
|
4191
4185
|
var me = new o(k, S ? a.tokenize(V, S) : V, W, V);
|
|
4192
4186
|
if (U = d(i, ee, me), A && d(i, U, A), te > 1) {
|
|
4193
4187
|
var ie = {
|
|
@@ -4206,13 +4200,13 @@ var A1 = { exports: {} };
|
|
|
4206
4200
|
f.next = i, this.head = f, this.tail = i, this.length = 0;
|
|
4207
4201
|
}
|
|
4208
4202
|
function d(f, i, h) {
|
|
4209
|
-
var
|
|
4210
|
-
return i.next = $,
|
|
4203
|
+
var _ = i.next, $ = { value: h, prev: i, next: _ };
|
|
4204
|
+
return i.next = $, _.prev = $, f.length++, $;
|
|
4211
4205
|
}
|
|
4212
|
-
function
|
|
4213
|
-
for (var
|
|
4214
|
-
|
|
4215
|
-
i.next =
|
|
4206
|
+
function E(f, i, h) {
|
|
4207
|
+
for (var _ = i.next, $ = 0; $ < h && _ !== f.tail; $++)
|
|
4208
|
+
_ = _.next;
|
|
4209
|
+
i.next = _, _.prev = i, f.length -= $;
|
|
4216
4210
|
}
|
|
4217
4211
|
function v(f) {
|
|
4218
4212
|
for (var i = [], h = f.head.next; h !== f.tail; )
|
|
@@ -4221,8 +4215,8 @@ var A1 = { exports: {} };
|
|
|
4221
4215
|
}
|
|
4222
4216
|
if (!c.document)
|
|
4223
4217
|
return c.addEventListener && (a.disableWorkerMessageHandler || c.addEventListener("message", function(f) {
|
|
4224
|
-
var i = JSON.parse(f.data), h = i.language,
|
|
4225
|
-
c.postMessage(a.highlight(
|
|
4218
|
+
var i = JSON.parse(f.data), h = i.language, _ = i.code, $ = i.immediateClose;
|
|
4219
|
+
c.postMessage(a.highlight(_, a.languages[h], h)), $ && c.close();
|
|
4226
4220
|
}, !1)), a;
|
|
4227
4221
|
var w = a.util.currentScript();
|
|
4228
4222
|
w && (a.filename = w.src, w.hasAttribute("data-manual") && (a.manual = !0));
|
|
@@ -4665,8 +4659,8 @@ const Lt = /* @__PURE__ */ wt(yt), Ht = {
|
|
|
4665
4659
|
value: n
|
|
4666
4660
|
});
|
|
4667
4661
|
})(Prism);
|
|
4668
|
-
const
|
|
4669
|
-
var
|
|
4662
|
+
const kn = (d) => {
|
|
4663
|
+
var E = d, {
|
|
4670
4664
|
code: t,
|
|
4671
4665
|
colorType: n = "dark",
|
|
4672
4666
|
copyButtonLabel: s = "Copy to clipboard",
|
|
@@ -4678,7 +4672,7 @@ const M4 = (d) => {
|
|
|
4678
4672
|
promptSymbol: o = "$",
|
|
4679
4673
|
shouldWrap: m = !1,
|
|
4680
4674
|
className: g
|
|
4681
|
-
} =
|
|
4675
|
+
} = E, p = O(E, [
|
|
4682
4676
|
"code",
|
|
4683
4677
|
"colorType",
|
|
4684
4678
|
"copyButtonLabel",
|
|
@@ -4691,7 +4685,7 @@ const M4 = (d) => {
|
|
|
4691
4685
|
"shouldWrap",
|
|
4692
4686
|
"className"
|
|
4693
4687
|
]);
|
|
4694
|
-
const v = "pds-code-block", w = `${v}--${n}`, b = m ? `${v}__line-wrapped` : "", C = a ? { maxHeight: `${a}rem` } : {}, f = n === "dark" ? "reverse" : "standard", i = n === "dark" ? Ht : Mt, h = ["bash", "diff", "twig"],
|
|
4688
|
+
const v = "pds-code-block", w = `${v}--${n}`, b = m ? `${v}__line-wrapped` : "", C = a ? { maxHeight: `${a}rem` } : {}, f = n === "dark" ? "reverse" : "standard", i = n === "dark" ? Ht : Mt, h = ["bash", "diff", "twig"], _ = /* @__PURE__ */ e.createElement(m2.LineContent, null, /* @__PURE__ */ e.createElement(m2.Token, null)), $ = /* @__PURE__ */ e.createElement("div", { className: `${v}__line ${b}` }, /* @__PURE__ */ e.createElement(m2.LineNumber, { className: `${v}__number` }), _), L = /* @__PURE__ */ e.createElement("div", { className: `${v}__line` }, /* @__PURE__ */ e.createElement("span", { className: `${v}__prompt` }, o), _);
|
|
4695
4689
|
return /* @__PURE__ */ e.createElement(
|
|
4696
4690
|
"div",
|
|
4697
4691
|
H({
|
|
@@ -4706,7 +4700,7 @@ const M4 = (d) => {
|
|
|
4706
4700
|
theme: i,
|
|
4707
4701
|
prism: h.includes(l) ? Lt : void 0
|
|
4708
4702
|
},
|
|
4709
|
-
/* @__PURE__ */ e.createElement(m2.Code, { className: `${v}__code`, tabIndex: 0 }, r || u ? r ? $ : L :
|
|
4703
|
+
/* @__PURE__ */ e.createElement(m2.Code, { className: `${v}__code`, tabIndex: 0 }, r || u ? r ? $ : L : _)
|
|
4710
4704
|
),
|
|
4711
4705
|
c && /* @__PURE__ */ e.createElement("div", { className: `${v}__copy` }, /* @__PURE__ */ e.createElement(
|
|
4712
4706
|
pt,
|
|
@@ -4717,7 +4711,7 @@ const M4 = (d) => {
|
|
|
4717
4711
|
}
|
|
4718
4712
|
))
|
|
4719
4713
|
);
|
|
4720
|
-
},
|
|
4714
|
+
}, zn = (a) => {
|
|
4721
4715
|
var o = a, {
|
|
4722
4716
|
iconName: t,
|
|
4723
4717
|
linkContent: n,
|
|
@@ -4776,7 +4770,7 @@ const M4 = (d) => {
|
|
|
4776
4770
|
}
|
|
4777
4771
|
)
|
|
4778
4772
|
);
|
|
4779
|
-
},
|
|
4773
|
+
}, Nn = (m) => {
|
|
4780
4774
|
var g = m, {
|
|
4781
4775
|
backgroundColor: t = "default",
|
|
4782
4776
|
containerWidth: n = "standard",
|
|
@@ -4796,13 +4790,13 @@ const M4 = (d) => {
|
|
|
4796
4790
|
"secondaryLinkContent",
|
|
4797
4791
|
"className"
|
|
4798
4792
|
]);
|
|
4799
|
-
const p = "pds-cta-slice", d = t && t !== "default" ? `${p}--${t}` : null,
|
|
4793
|
+
const p = "pds-cta-slice", d = t && t !== "default" ? `${p}--${t}` : null, E = n && n !== "standard" ? `pds-container pds-container--${n}` : "pds-container";
|
|
4800
4794
|
return /* @__PURE__ */ e.createElement(
|
|
4801
4795
|
"div",
|
|
4802
4796
|
H({
|
|
4803
4797
|
className: x([p, d, a])
|
|
4804
4798
|
}, o),
|
|
4805
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
4799
|
+
/* @__PURE__ */ e.createElement("div", { className: E }, c && /* @__PURE__ */ e.createElement(i2, { baseClass: p, className: "pds-ts-4xl", level: s }, c), r && /* @__PURE__ */ e.createElement(
|
|
4806
4800
|
"div",
|
|
4807
4801
|
{
|
|
4808
4802
|
className: `${p}__lead-text pds-lead-text pds-lead-text--sm`
|
|
@@ -4817,7 +4811,7 @@ const M4 = (d) => {
|
|
|
4817
4811
|
l
|
|
4818
4812
|
))
|
|
4819
4813
|
);
|
|
4820
|
-
},
|
|
4814
|
+
}, xn = (u) => {
|
|
4821
4815
|
var l = u, {
|
|
4822
4816
|
title: t,
|
|
4823
4817
|
status: n,
|
|
@@ -4844,7 +4838,7 @@ const M4 = (d) => {
|
|
|
4844
4838
|
className: `${a}__stat-status ${a}__stat-status--${n}`
|
|
4845
4839
|
}
|
|
4846
4840
|
), s && /* @__PURE__ */ e.createElement("div", { className: `${a}__stat-value` }, s)));
|
|
4847
|
-
},
|
|
4841
|
+
}, Vn = (l) => {
|
|
4848
4842
|
var a = l, {
|
|
4849
4843
|
additions: t = 4,
|
|
4850
4844
|
deletions: n = 2,
|
|
@@ -4910,7 +4904,7 @@ const M4 = (d) => {
|
|
|
4910
4904
|
)
|
|
4911
4905
|
))
|
|
4912
4906
|
);
|
|
4913
|
-
},
|
|
4907
|
+
}, In = (r) => {
|
|
4914
4908
|
var u = r, {
|
|
4915
4909
|
contentAlignment: t = "indented",
|
|
4916
4910
|
steps: n,
|
|
@@ -4921,8 +4915,8 @@ const M4 = (d) => {
|
|
|
4921
4915
|
"className"
|
|
4922
4916
|
]);
|
|
4923
4917
|
const l = "pds-flow-steps", a = `${l}--${t}`, o = n.map(({ header: m, content: g }, p) => {
|
|
4924
|
-
const d = /* @__PURE__ */ e.createElement("div", { className: `${l}__number` }, /* @__PURE__ */ e.createElement("span", null, p + 1)),
|
|
4925
|
-
return /* @__PURE__ */ e.createElement("li", { key: p, className: `${l}__step` }, t === "indented" && /* @__PURE__ */ e.createElement(e.Fragment, null, d, /* @__PURE__ */ e.createElement("div", { className: `${l}__content-group` },
|
|
4918
|
+
const d = /* @__PURE__ */ e.createElement("div", { className: `${l}__number` }, /* @__PURE__ */ e.createElement("span", null, p + 1)), E = /* @__PURE__ */ e.createElement("div", { className: `${l}__header` }, m), v = g ? /* @__PURE__ */ e.createElement("div", { className: `${l}__content` }, g) : null;
|
|
4919
|
+
return /* @__PURE__ */ e.createElement("li", { key: p, className: `${l}__step` }, t === "indented" && /* @__PURE__ */ e.createElement(e.Fragment, null, d, /* @__PURE__ */ e.createElement("div", { className: `${l}__content-group` }, E, v)), t === "left" && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${l}__header-group` }, d, E), v));
|
|
4926
4920
|
});
|
|
4927
4921
|
return /* @__PURE__ */ e.createElement(
|
|
4928
4922
|
"ol",
|
|
@@ -4953,7 +4947,7 @@ const M4 = (d) => {
|
|
|
4953
4947
|
}, c),
|
|
4954
4948
|
n
|
|
4955
4949
|
);
|
|
4956
|
-
},
|
|
4950
|
+
}, Sn = (u) => {
|
|
4957
4951
|
var l = u, {
|
|
4958
4952
|
headingLevel: t,
|
|
4959
4953
|
headingText: n,
|
|
@@ -4974,7 +4968,7 @@ const M4 = (d) => {
|
|
|
4974
4968
|
headingText: n
|
|
4975
4969
|
}
|
|
4976
4970
|
), /* @__PURE__ */ e.createElement("ul", { className: `${a}__list`, role: "list" }, s.map((o, m) => /* @__PURE__ */ e.createElement("li", { key: m, className: `${a}__item` }, o))));
|
|
4977
|
-
},
|
|
4971
|
+
}, An = (u) => {
|
|
4978
4972
|
var l = u, {
|
|
4979
4973
|
containerWidth: t = "standard",
|
|
4980
4974
|
children: n,
|
|
@@ -4993,8 +4987,8 @@ const M4 = (d) => {
|
|
|
4993
4987
|
"legalLinks",
|
|
4994
4988
|
"className"
|
|
4995
4989
|
]);
|
|
4996
|
-
const a = "pds-site-footer", o = t && t !== "standard" ? `pds-container pds-container--${t}` : "pds-container", m = (/* @__PURE__ */ new Date()).getFullYear(), g = s.includes("privacy"), p = s.includes("dataSubjectRequest"), d = s.includes("cookiePolicy"),
|
|
4997
|
-
return /* @__PURE__ */ e.createElement("footer", H({ className: x([a, c != null ? c : ""]) }, r), /* @__PURE__ */ e.createElement("div", { className: o }, n && /* @__PURE__ */ e.createElement("div", { className: `${a}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${a}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${a}__copyright` }, "© ", m, " Pantheon Systems, Inc."), g && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/privacy" }, "Privacy Policy"), p && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), d && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/pantheon-cookies?_gl=1*12uc311*_gcl_au*NjU2MzA3MDUzLjE2ODk3ODU1NTI." }, "Cookie Policy"),
|
|
4990
|
+
const a = "pds-site-footer", o = t && t !== "standard" ? `pds-container pds-container--${t}` : "pds-container", m = (/* @__PURE__ */ new Date()).getFullYear(), g = s.includes("privacy"), p = s.includes("dataSubjectRequest"), d = s.includes("cookiePolicy"), E = s.includes("termsOfUse"), v = s.includes("acceptableUse"), w = s.includes("accessibilityStatement");
|
|
4991
|
+
return /* @__PURE__ */ e.createElement("footer", H({ className: x([a, c != null ? c : ""]) }, r), /* @__PURE__ */ e.createElement("div", { className: o }, n && /* @__PURE__ */ e.createElement("div", { className: `${a}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${a}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${a}__copyright` }, "© ", m, " Pantheon Systems, Inc."), g && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/privacy" }, "Privacy Policy"), p && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), d && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/pantheon-cookies?_gl=1*12uc311*_gcl_au*NjU2MzA3MDUzLjE2ODk3ODU1NTI." }, "Cookie Policy"), E && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/terms-of-service" }, "Terms of Use"), v && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/acceptable-use-policy" }, "Acceptable Use Policy"), w && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement"))));
|
|
4998
4992
|
}, Nt = Ge(
|
|
4999
4993
|
(L, $) => {
|
|
5000
4994
|
var k = L, {
|
|
@@ -5011,7 +5005,7 @@ const M4 = (d) => {
|
|
|
5011
5005
|
nestingLevel: g = 0,
|
|
5012
5006
|
onBlur: p,
|
|
5013
5007
|
onChange: d,
|
|
5014
|
-
onFocus:
|
|
5008
|
+
onFocus: E,
|
|
5015
5009
|
required: v,
|
|
5016
5010
|
showLabel: w = !0,
|
|
5017
5011
|
size: b = "M",
|
|
@@ -5019,7 +5013,7 @@ const M4 = (d) => {
|
|
|
5019
5013
|
validationStatus: f,
|
|
5020
5014
|
value: i,
|
|
5021
5015
|
className: h
|
|
5022
|
-
} = k,
|
|
5016
|
+
} = k, _ = O(k, [
|
|
5023
5017
|
"checked",
|
|
5024
5018
|
"defaultChecked",
|
|
5025
5019
|
"disabled",
|
|
@@ -5080,7 +5074,7 @@ const M4 = (d) => {
|
|
|
5080
5074
|
h != null ? h : ""
|
|
5081
5075
|
].join(" ").trim().replace(/\s+/g, " "),
|
|
5082
5076
|
style: l ? y : null
|
|
5083
|
-
},
|
|
5077
|
+
}, _),
|
|
5084
5078
|
/* @__PURE__ */ e.createElement("div", { className: `${M}__input-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
5085
5079
|
"input",
|
|
5086
5080
|
H(pe(H({
|
|
@@ -5095,7 +5089,7 @@ const M4 = (d) => {
|
|
|
5095
5089
|
required: v,
|
|
5096
5090
|
onBlur: p,
|
|
5097
5091
|
onChange: R,
|
|
5098
|
-
onFocus:
|
|
5092
|
+
onFocus: E,
|
|
5099
5093
|
"aria-invalid": f === "error" ? !0 : null,
|
|
5100
5094
|
"aria-describedby": P ? `${c}__message` : null
|
|
5101
5095
|
}), u)
|
|
@@ -5133,7 +5127,7 @@ const M4 = (d) => {
|
|
|
5133
5127
|
)
|
|
5134
5128
|
);
|
|
5135
5129
|
}
|
|
5136
|
-
),
|
|
5130
|
+
), Tn = (v) => {
|
|
5137
5131
|
var w = v, {
|
|
5138
5132
|
children: t,
|
|
5139
5133
|
disabled: n = !1,
|
|
@@ -5148,7 +5142,7 @@ const M4 = (d) => {
|
|
|
5148
5142
|
validationMessage: g,
|
|
5149
5143
|
validationStatus: p,
|
|
5150
5144
|
className: d
|
|
5151
|
-
} = w,
|
|
5145
|
+
} = w, E = O(w, [
|
|
5152
5146
|
"children",
|
|
5153
5147
|
"disabled",
|
|
5154
5148
|
"fieldsetProps",
|
|
@@ -5163,7 +5157,7 @@ const M4 = (d) => {
|
|
|
5163
5157
|
"validationStatus",
|
|
5164
5158
|
"className"
|
|
5165
5159
|
]);
|
|
5166
|
-
const b = r ? { width: `${r / 16}rem` } : null, C = "pds-checkbox-group", f = n ? ne.disabled : null, i = a && !n ? ne.required : null, h = p === "error" ? ne.error : null,
|
|
5160
|
+
const b = r ? { width: `${r / 16}rem` } : null, C = "pds-checkbox-group", f = n ? ne.disabled : null, i = a && !n ? ne.required : null, h = p === "error" ? ne.error : null, _ = p === "success" ? ne.success : null, $ = g || l;
|
|
5167
5161
|
return /* @__PURE__ */ e.createElement(
|
|
5168
5162
|
"div",
|
|
5169
5163
|
H({
|
|
@@ -5172,11 +5166,11 @@ const M4 = (d) => {
|
|
|
5172
5166
|
f,
|
|
5173
5167
|
i,
|
|
5174
5168
|
h,
|
|
5175
|
-
|
|
5169
|
+
_,
|
|
5176
5170
|
d != null ? d : ""
|
|
5177
5171
|
].join(" ").trim().replace(/\s+/g, " "),
|
|
5178
5172
|
style: r ? b : null
|
|
5179
|
-
},
|
|
5173
|
+
}, E),
|
|
5180
5174
|
/* @__PURE__ */ e.createElement("fieldset", H({ className: `${C}__fieldset`, id: c }, s), /* @__PURE__ */ e.createElement(
|
|
5181
5175
|
Be,
|
|
5182
5176
|
{
|
|
@@ -5200,7 +5194,7 @@ const M4 = (d) => {
|
|
|
5200
5194
|
}
|
|
5201
5195
|
)
|
|
5202
5196
|
);
|
|
5203
|
-
},
|
|
5197
|
+
}, Dn = (b) => {
|
|
5204
5198
|
var C = b, {
|
|
5205
5199
|
disabled: t = !1,
|
|
5206
5200
|
fieldsetProps: n,
|
|
@@ -5215,7 +5209,7 @@ const M4 = (d) => {
|
|
|
5215
5209
|
showLabel: g = !0,
|
|
5216
5210
|
tooltipText: p = null,
|
|
5217
5211
|
validationMessage: d,
|
|
5218
|
-
validationStatus:
|
|
5212
|
+
validationStatus: E,
|
|
5219
5213
|
className: v
|
|
5220
5214
|
} = C, w = O(C, [
|
|
5221
5215
|
"disabled",
|
|
@@ -5234,7 +5228,7 @@ const M4 = (d) => {
|
|
|
5234
5228
|
"validationStatus",
|
|
5235
5229
|
"className"
|
|
5236
5230
|
]);
|
|
5237
|
-
const f = c ? { width: `${c / 16}rem` } : null, i = "pds-checkbox-group", h = t ? ne.disabled : null,
|
|
5231
|
+
const f = c ? { width: `${c / 16}rem` } : null, i = "pds-checkbox-group", h = t ? ne.disabled : null, _ = m && !t ? ne.required : null, $ = E === "error" ? ne.error : null, L = E === "success" ? ne.success : null, k = d || u;
|
|
5238
5232
|
o.map((D) => {
|
|
5239
5233
|
D.id || (D.id = D.value);
|
|
5240
5234
|
});
|
|
@@ -5260,7 +5254,7 @@ const M4 = (d) => {
|
|
|
5260
5254
|
className: [
|
|
5261
5255
|
i,
|
|
5262
5256
|
h,
|
|
5263
|
-
|
|
5257
|
+
_,
|
|
5264
5258
|
$,
|
|
5265
5259
|
L,
|
|
5266
5260
|
v != null ? v : ""
|
|
@@ -5300,7 +5294,7 @@ const M4 = (d) => {
|
|
|
5300
5294
|
message: k,
|
|
5301
5295
|
hasValidationMessage: !!d,
|
|
5302
5296
|
validationMessageHasDecorators: !0,
|
|
5303
|
-
validationStatus:
|
|
5297
|
+
validationStatus: E
|
|
5304
5298
|
}
|
|
5305
5299
|
)
|
|
5306
5300
|
);
|
|
@@ -5325,7 +5319,7 @@ const M4 = (d) => {
|
|
|
5325
5319
|
},
|
|
5326
5320
|
loadingText: p = "Loading results...",
|
|
5327
5321
|
message: d,
|
|
5328
|
-
noResultsText:
|
|
5322
|
+
noResultsText: E = "No results found",
|
|
5329
5323
|
onChange: v,
|
|
5330
5324
|
onBlur: w,
|
|
5331
5325
|
onClear: b,
|
|
@@ -5333,7 +5327,7 @@ const M4 = (d) => {
|
|
|
5333
5327
|
onOptionSelect: f,
|
|
5334
5328
|
options: i,
|
|
5335
5329
|
placeholder: h,
|
|
5336
|
-
required:
|
|
5330
|
+
required: _ = !1,
|
|
5337
5331
|
showLabel: $ = !0,
|
|
5338
5332
|
tooltipText: L = null,
|
|
5339
5333
|
value: k,
|
|
@@ -5370,7 +5364,7 @@ const M4 = (d) => {
|
|
|
5370
5364
|
"validationStatus",
|
|
5371
5365
|
"className"
|
|
5372
5366
|
]);
|
|
5373
|
-
const F = Qe(a), P = "pds-combobox", U = n ? ne.disabled : null, Q =
|
|
5367
|
+
const F = Qe(a), P = "pds-combobox", U = n ? ne.disabled : null, Q = _ && !n ? ne.required : null, J = M === "error" ? ne.error : null, te = M === "success" ? ne.success : null;
|
|
5374
5368
|
let B = null;
|
|
5375
5369
|
r && (B = "search"), M === "error" && (B = "error"), M === "success" && (B = "success");
|
|
5376
5370
|
const R = y || d, q = typeof k != "undefined", T = typeof t != "undefined", I = (Y) => {
|
|
@@ -5378,7 +5372,7 @@ const M4 = (d) => {
|
|
|
5378
5372
|
return le ? le.label : "";
|
|
5379
5373
|
}, [V, N] = X(!1), [A, K] = X(null), [ee, me] = X(
|
|
5380
5374
|
T ? I(t) : ""
|
|
5381
|
-
), [ie, he] = X([]),
|
|
5375
|
+
), [ie, he] = X([]), Ee = q ? k : ee, oe = ce([]), { context: re, refs: ue } = Se({
|
|
5382
5376
|
open: V,
|
|
5383
5377
|
onOpenChange: N,
|
|
5384
5378
|
whileElementsMounted: Fe
|
|
@@ -5411,7 +5405,7 @@ const M4 = (d) => {
|
|
|
5411
5405
|
}, ye = (Y) => {
|
|
5412
5406
|
let le = Y.target.value;
|
|
5413
5407
|
v && v(Y), q || (le.length > 0 && (le = le.trimStart()), me(le)), le ? (K(null), N(!0)) : N(!1);
|
|
5414
|
-
},
|
|
5408
|
+
}, _e = (Y) => {
|
|
5415
5409
|
w && w(Y);
|
|
5416
5410
|
}, Ne = (Y) => {
|
|
5417
5411
|
C && C(Y);
|
|
@@ -5433,12 +5427,12 @@ const M4 = (d) => {
|
|
|
5433
5427
|
var ge;
|
|
5434
5428
|
const de = (ge = le.searchIndex) == null ? void 0 : ge.map(
|
|
5435
5429
|
(Ce) => Ce.toLowerCase()
|
|
5436
|
-
), fe =
|
|
5430
|
+
), fe = Ee.toLowerCase();
|
|
5437
5431
|
return de.some((Ce) => Ce.includes(fe));
|
|
5438
5432
|
}
|
|
5439
5433
|
);
|
|
5440
5434
|
he(Y);
|
|
5441
|
-
}, [
|
|
5435
|
+
}, [Ee, o, i]);
|
|
5442
5436
|
const se = ie.map((Y, le) => {
|
|
5443
5437
|
const { label: de, value: fe, optionDisplay: ge } = Y;
|
|
5444
5438
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -5482,7 +5476,7 @@ const M4 = (d) => {
|
|
|
5482
5476
|
label: m,
|
|
5483
5477
|
showLabel: $,
|
|
5484
5478
|
tooltipText: L,
|
|
5485
|
-
required:
|
|
5479
|
+
required: _,
|
|
5486
5480
|
disabled: n
|
|
5487
5481
|
}
|
|
5488
5482
|
),
|
|
@@ -5493,7 +5487,7 @@ const M4 = (d) => {
|
|
|
5493
5487
|
ref: Z,
|
|
5494
5488
|
id: l,
|
|
5495
5489
|
"aria-disabled": n ? !0 : null,
|
|
5496
|
-
"aria-required":
|
|
5490
|
+
"aria-required": _ ? !0 : null,
|
|
5497
5491
|
"aria-invalid": M === "error" ? !0 : null,
|
|
5498
5492
|
"aria-describedby": R ? `${l}__message` : null
|
|
5499
5493
|
},
|
|
@@ -5510,8 +5504,8 @@ const M4 = (d) => {
|
|
|
5510
5504
|
"aria-label": g.inputInstructions,
|
|
5511
5505
|
disabled: n,
|
|
5512
5506
|
placeholder: h,
|
|
5513
|
-
value:
|
|
5514
|
-
onBlur:
|
|
5507
|
+
value: Ee,
|
|
5508
|
+
onBlur: _e,
|
|
5515
5509
|
onChange: ye,
|
|
5516
5510
|
onFocus: Ne,
|
|
5517
5511
|
onKeyDown(Y) {
|
|
@@ -5519,7 +5513,7 @@ const M4 = (d) => {
|
|
|
5519
5513
|
}
|
|
5520
5514
|
}))
|
|
5521
5515
|
),
|
|
5522
|
-
|
|
5516
|
+
Ee && s && /* @__PURE__ */ e.createElement(
|
|
5523
5517
|
e1,
|
|
5524
5518
|
{
|
|
5525
5519
|
id: `input-${l}`,
|
|
@@ -5527,7 +5521,7 @@ const M4 = (d) => {
|
|
|
5527
5521
|
handleClearInput: be
|
|
5528
5522
|
}
|
|
5529
5523
|
),
|
|
5530
|
-
u && !
|
|
5524
|
+
u && !Ee && /* @__PURE__ */ e.createElement(
|
|
5531
5525
|
z1,
|
|
5532
5526
|
{
|
|
5533
5527
|
inputId: `input-${l}`,
|
|
@@ -5566,7 +5560,7 @@ const M4 = (d) => {
|
|
|
5566
5560
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
5567
5561
|
}
|
|
5568
5562
|
})),
|
|
5569
|
-
/* @__PURE__ */ e.createElement("div", { style: H({}, a2) }, o ? /* @__PURE__ */ e.createElement("div", { className: `${P}__loading` }, p) : ie.length > 0 ? /* @__PURE__ */ e.createElement("ul", { role: "group", className: `${P}__options` }, se) : /* @__PURE__ */ e.createElement("div", { className: `${P}__no-results` },
|
|
5563
|
+
/* @__PURE__ */ e.createElement("div", { style: H({}, a2) }, o ? /* @__PURE__ */ e.createElement("div", { className: `${P}__loading` }, p) : ie.length > 0 ? /* @__PURE__ */ e.createElement("ul", { role: "group", className: `${P}__options` }, se) : /* @__PURE__ */ e.createElement("div", { className: `${P}__no-results` }, E))
|
|
5570
5564
|
),
|
|
5571
5565
|
R && /* @__PURE__ */ e.createElement(
|
|
5572
5566
|
Re,
|
|
@@ -5589,7 +5583,7 @@ const M4 = (d) => {
|
|
|
5589
5583
|
(u) => u.id === r.id
|
|
5590
5584
|
)
|
|
5591
5585
|
}));
|
|
5592
|
-
},
|
|
5586
|
+
}, Rn = (b) => {
|
|
5593
5587
|
var C = b, {
|
|
5594
5588
|
disabled: t = !1,
|
|
5595
5589
|
id: n,
|
|
@@ -5607,7 +5601,7 @@ const M4 = (d) => {
|
|
|
5607
5601
|
options: g,
|
|
5608
5602
|
placeholder: p = "Filter",
|
|
5609
5603
|
required: d = !1,
|
|
5610
|
-
showLabel:
|
|
5604
|
+
showLabel: E = !0,
|
|
5611
5605
|
className: v
|
|
5612
5606
|
} = C, w = O(C, [
|
|
5613
5607
|
"disabled",
|
|
@@ -5626,7 +5620,7 @@ const M4 = (d) => {
|
|
|
5626
5620
|
"showLabel",
|
|
5627
5621
|
"className"
|
|
5628
5622
|
]);
|
|
5629
|
-
const f = Qe(c), i = "pds-combobox-multi", h = t ? ne.disabled : null,
|
|
5623
|
+
const f = Qe(c), i = "pds-combobox-multi", h = t ? ne.disabled : null, _ = d && !t ? ne.required : null, [$, L] = X(""), [k, y] = X(s), [M, z] = X(
|
|
5630
5624
|
null
|
|
5631
5625
|
), S = b1(
|
|
5632
5626
|
() => Vt(g, k, $),
|
|
@@ -5718,7 +5712,7 @@ const M4 = (d) => {
|
|
|
5718
5712
|
ne.base,
|
|
5719
5713
|
i,
|
|
5720
5714
|
h,
|
|
5721
|
-
|
|
5715
|
+
_,
|
|
5722
5716
|
v != null ? v : ""
|
|
5723
5717
|
]),
|
|
5724
5718
|
style: c ? f : null
|
|
@@ -5728,7 +5722,7 @@ const M4 = (d) => {
|
|
|
5728
5722
|
{
|
|
5729
5723
|
id: n,
|
|
5730
5724
|
label: u,
|
|
5731
|
-
showLabel:
|
|
5725
|
+
showLabel: E,
|
|
5732
5726
|
required: d,
|
|
5733
5727
|
disabled: t
|
|
5734
5728
|
}
|
|
@@ -5815,9 +5809,9 @@ const M4 = (d) => {
|
|
|
5815
5809
|
))) : /* @__PURE__ */ e.createElement("div", { className: `${i}__no-results` }, o)
|
|
5816
5810
|
)
|
|
5817
5811
|
);
|
|
5818
|
-
},
|
|
5819
|
-
(
|
|
5820
|
-
var $ =
|
|
5812
|
+
}, On = Ge(
|
|
5813
|
+
(_, h) => {
|
|
5814
|
+
var $ = _, {
|
|
5821
5815
|
accept: t,
|
|
5822
5816
|
defaultValue: n,
|
|
5823
5817
|
disabled: s = !1,
|
|
@@ -5834,7 +5828,7 @@ const M4 = (d) => {
|
|
|
5834
5828
|
onClear: g,
|
|
5835
5829
|
onFileChange: p,
|
|
5836
5830
|
required: d = !1,
|
|
5837
|
-
showFullPath:
|
|
5831
|
+
showFullPath: E,
|
|
5838
5832
|
showLabel: v = !0,
|
|
5839
5833
|
tooltipText: w = null,
|
|
5840
5834
|
validationMessage: b,
|
|
@@ -5862,20 +5856,20 @@ const M4 = (d) => {
|
|
|
5862
5856
|
"className"
|
|
5863
5857
|
]);
|
|
5864
5858
|
const [L, k] = X(!1), [y, M] = X(
|
|
5865
|
-
!!(
|
|
5859
|
+
!!(_2 && n)
|
|
5866
5860
|
), z = Qe(l), S = "pds-file-upload", Z = s ? ne.disabled : null, D = d && !s ? ne.required : null, W = C === "error" ? ne.error : null, F = C === "success" ? ne.success : null, P = y ? `${S}--safari-default` : null;
|
|
5867
5861
|
let U = null;
|
|
5868
5862
|
C === "error" && (U = "error"), C === "success" && (U = "success");
|
|
5869
|
-
const Q = b || o, J = n ? [n] : null, te = n ? n.split("/").pop() : null, B =
|
|
5863
|
+
const Q = b || o, J = n ? [n] : null, te = n ? n.split("/").pop() : null, B = E ? n : te, R = n ? new File(J, B) : null;
|
|
5870
5864
|
ae(() => {
|
|
5871
5865
|
const V = new DataTransfer();
|
|
5872
5866
|
if (R && V.items.add(R), V.files.length > 0) {
|
|
5873
5867
|
const N = document.getElementById(
|
|
5874
5868
|
`${r}--input`
|
|
5875
5869
|
);
|
|
5876
|
-
N.files = V.files,
|
|
5870
|
+
N.files = V.files, _2 && (N.dataset.file = `${B}`), k(!0);
|
|
5877
5871
|
}
|
|
5878
|
-
}, [n,
|
|
5872
|
+
}, [n, E]);
|
|
5879
5873
|
const q = () => {
|
|
5880
5874
|
const V = document.getElementById(
|
|
5881
5875
|
`${r}--input`
|
|
@@ -5888,12 +5882,12 @@ const M4 = (d) => {
|
|
|
5888
5882
|
n ? q() : k(!1);
|
|
5889
5883
|
return;
|
|
5890
5884
|
}
|
|
5891
|
-
|
|
5885
|
+
_2 && n && (n === V.target.value ? M(!0) : M(!1)), p && p(V.target.files), k(!0);
|
|
5892
5886
|
}, I = () => {
|
|
5893
5887
|
const V = document.getElementById(
|
|
5894
5888
|
`${r}--input`
|
|
5895
5889
|
);
|
|
5896
|
-
V.value = "",
|
|
5890
|
+
V.value = "", _2 && M(!1), g && g(), k(!1), V.focus();
|
|
5897
5891
|
};
|
|
5898
5892
|
return /* @__PURE__ */ e.createElement(
|
|
5899
5893
|
"div",
|
|
@@ -5965,7 +5959,7 @@ const M4 = (d) => {
|
|
|
5965
5959
|
)
|
|
5966
5960
|
);
|
|
5967
5961
|
}
|
|
5968
|
-
),
|
|
5962
|
+
), Fn = (c) => {
|
|
5969
5963
|
var r = c, {
|
|
5970
5964
|
children: t,
|
|
5971
5965
|
className: n
|
|
@@ -5973,8 +5967,8 @@ const M4 = (d) => {
|
|
|
5973
5967
|
"children",
|
|
5974
5968
|
"className"
|
|
5975
5969
|
]);
|
|
5976
|
-
var
|
|
5977
|
-
const u = "pds-input-group", l = [t[0], t[1]], a = (
|
|
5970
|
+
var E, v, w, b;
|
|
5971
|
+
const u = "pds-input-group", l = [t[0], t[1]], a = (E = t[0].props.id) != null ? E : null, o = (v = t[0].props.message) != null ? v : null, m = (w = t[0].props.validationMessage) != null ? w : null, g = (b = t[0].props.validationStatus) != null ? b : null, p = m || o, d = p ? `${u}--has-message` : null;
|
|
5978
5972
|
return /* @__PURE__ */ e.createElement(
|
|
5979
5973
|
"div",
|
|
5980
5974
|
H({
|
|
@@ -5993,7 +5987,7 @@ const M4 = (d) => {
|
|
|
5993
5987
|
}
|
|
5994
5988
|
)
|
|
5995
5989
|
);
|
|
5996
|
-
},
|
|
5990
|
+
}, Pn = (i) => {
|
|
5997
5991
|
var h = i, {
|
|
5998
5992
|
defaultValue: t,
|
|
5999
5993
|
disabled: n = !1,
|
|
@@ -6008,7 +6002,7 @@ const M4 = (d) => {
|
|
|
6008
6002
|
options: g,
|
|
6009
6003
|
required: p = !1,
|
|
6010
6004
|
showLabel: d = !0,
|
|
6011
|
-
tooltipText:
|
|
6005
|
+
tooltipText: E = null,
|
|
6012
6006
|
validationMessage: v,
|
|
6013
6007
|
validationStatus: w,
|
|
6014
6008
|
value: b,
|
|
@@ -6033,7 +6027,7 @@ const M4 = (d) => {
|
|
|
6033
6027
|
"value",
|
|
6034
6028
|
"className"
|
|
6035
6029
|
]);
|
|
6036
|
-
const
|
|
6030
|
+
const _ = "pds-radio-group", $ = n ? ne.disabled : null, L = p && !n ? ne.required : null, k = w === "error" ? ne.error : null, y = w === "success" ? ne.success : null, M = typeof b != "undefined", z = typeof t != "undefined", [S, Z] = X(
|
|
6037
6031
|
z ? t : ""
|
|
6038
6032
|
), D = v || l, W = (P) => {
|
|
6039
6033
|
M || Z(P.target.value), o && o(P), m && m(P.target.value);
|
|
@@ -6044,7 +6038,7 @@ const M4 = (d) => {
|
|
|
6044
6038
|
"div",
|
|
6045
6039
|
H({
|
|
6046
6040
|
className: x([
|
|
6047
|
-
|
|
6041
|
+
_,
|
|
6048
6042
|
$,
|
|
6049
6043
|
L,
|
|
6050
6044
|
k,
|
|
@@ -6053,7 +6047,7 @@ const M4 = (d) => {
|
|
|
6053
6047
|
]),
|
|
6054
6048
|
style: Qe(r)
|
|
6055
6049
|
}, f),
|
|
6056
|
-
/* @__PURE__ */ e.createElement("fieldset", H({ className: `${
|
|
6050
|
+
/* @__PURE__ */ e.createElement("fieldset", H({ className: `${_}__fieldset`, id: c }, s), /* @__PURE__ */ e.createElement(
|
|
6057
6051
|
Be,
|
|
6058
6052
|
{
|
|
6059
6053
|
disabled: n,
|
|
@@ -6062,12 +6056,12 @@ const M4 = (d) => {
|
|
|
6062
6056
|
isLegend: !0,
|
|
6063
6057
|
required: p,
|
|
6064
6058
|
showLabel: d,
|
|
6065
|
-
tooltipText:
|
|
6059
|
+
tooltipText: E
|
|
6066
6060
|
}
|
|
6067
|
-
), /* @__PURE__ */ e.createElement("div", { className: `${
|
|
6061
|
+
), /* @__PURE__ */ e.createElement("div", { className: `${_}__options` }, g.map((P, U) => /* @__PURE__ */ e.createElement(
|
|
6068
6062
|
"div",
|
|
6069
6063
|
{
|
|
6070
|
-
className: `${
|
|
6064
|
+
className: `${_}__option`,
|
|
6071
6065
|
key: `${c}-option-${U}`
|
|
6072
6066
|
},
|
|
6073
6067
|
/* @__PURE__ */ e.createElement(
|
|
@@ -6121,7 +6115,7 @@ const M4 = (d) => {
|
|
|
6121
6115
|
"aria-hidden": "true"
|
|
6122
6116
|
},
|
|
6123
6117
|
/* @__PURE__ */ e.createElement(j, { iconName: "xmark", iconSize: "sm" })
|
|
6124
|
-
)),
|
|
6118
|
+
)), Bn = Ge(
|
|
6125
6119
|
(f, C) => {
|
|
6126
6120
|
var i = f, {
|
|
6127
6121
|
checked: t,
|
|
@@ -6137,7 +6131,7 @@ const M4 = (d) => {
|
|
|
6137
6131
|
onChange: g,
|
|
6138
6132
|
onLabel: p = "On",
|
|
6139
6133
|
required: d = !1,
|
|
6140
|
-
showLabel:
|
|
6134
|
+
showLabel: E = !0,
|
|
6141
6135
|
showStatusLabel: v = !0,
|
|
6142
6136
|
className: w
|
|
6143
6137
|
} = i, b = O(i, [
|
|
@@ -6158,7 +6152,7 @@ const M4 = (d) => {
|
|
|
6158
6152
|
"showStatusLabel",
|
|
6159
6153
|
"className"
|
|
6160
6154
|
]);
|
|
6161
|
-
const h = Qe(u),
|
|
6155
|
+
const h = Qe(u), _ = "pds-switch", $ = s ? ne.disabled : null, L = d && !s ? ne.required : null, k = typeof t != "undefined", y = a == "below", M = a == "right", z = !k && n ? n : !1, [S, Z] = X(z), D = t || S ? p : m, W = (te) => {
|
|
6162
6156
|
k || Z(te.target.checked), g && g(te);
|
|
6163
6157
|
}, F = /* @__PURE__ */ e.createElement("div", { className: "pds-switch__content" }, /* @__PURE__ */ e.createElement("label", { className: "pds-switch__input" }, /* @__PURE__ */ e.createElement(
|
|
6164
6158
|
"input",
|
|
@@ -6180,7 +6174,7 @@ const M4 = (d) => {
|
|
|
6180
6174
|
{
|
|
6181
6175
|
id: c,
|
|
6182
6176
|
label: l,
|
|
6183
|
-
showLabel:
|
|
6177
|
+
showLabel: E,
|
|
6184
6178
|
required: d,
|
|
6185
6179
|
disabled: s,
|
|
6186
6180
|
className: x([
|
|
@@ -6214,7 +6208,7 @@ const M4 = (d) => {
|
|
|
6214
6208
|
H({
|
|
6215
6209
|
className: x([
|
|
6216
6210
|
ne.base,
|
|
6217
|
-
|
|
6211
|
+
_,
|
|
6218
6212
|
$,
|
|
6219
6213
|
L,
|
|
6220
6214
|
J,
|
|
@@ -6225,7 +6219,7 @@ const M4 = (d) => {
|
|
|
6225
6219
|
Q
|
|
6226
6220
|
);
|
|
6227
6221
|
}
|
|
6228
|
-
),
|
|
6222
|
+
), Zn = Ge(
|
|
6229
6223
|
(y, k) => {
|
|
6230
6224
|
var M = y, {
|
|
6231
6225
|
counterMaxLength: t,
|
|
@@ -6241,7 +6235,7 @@ const M4 = (d) => {
|
|
|
6241
6235
|
onFocus: g,
|
|
6242
6236
|
placeholder: p,
|
|
6243
6237
|
readonly: d = !1,
|
|
6244
|
-
required:
|
|
6238
|
+
required: E = !1,
|
|
6245
6239
|
rows: v = 5,
|
|
6246
6240
|
showLabel: w,
|
|
6247
6241
|
textareaProps: b,
|
|
@@ -6256,7 +6250,7 @@ const M4 = (d) => {
|
|
|
6256
6250
|
},
|
|
6257
6251
|
validationMessage: i,
|
|
6258
6252
|
validationStatus: h,
|
|
6259
|
-
value:
|
|
6253
|
+
value: _,
|
|
6260
6254
|
className: $
|
|
6261
6255
|
} = M, L = O(M, [
|
|
6262
6256
|
"counterMaxLength",
|
|
@@ -6283,9 +6277,9 @@ const M4 = (d) => {
|
|
|
6283
6277
|
"value",
|
|
6284
6278
|
"className"
|
|
6285
6279
|
]);
|
|
6286
|
-
const z = Qe(r), S = "pds-textarea", Z = u ? "pds-is-resizable" : null, D = s ? ne.disabled : null, W =
|
|
6280
|
+
const z = Qe(r), S = "pds-textarea", Z = u ? "pds-is-resizable" : null, D = s ? ne.disabled : null, W = E && !s ? ne.required : null, F = h === "error" ? ne.error : null, P = h === "success" ? ne.success : null, U = d ? ne.readonly : null, Q = i || a, J = _ != null && m !== void 0, te = typeof n != "undefined", [B, R] = X(
|
|
6287
6281
|
te ? n : ""
|
|
6288
|
-
), q =
|
|
6282
|
+
), q = _ || B, T = (V) => {
|
|
6289
6283
|
J || R(V.target.value), m && m(V);
|
|
6290
6284
|
}, I = (V) => {
|
|
6291
6285
|
o && o(V);
|
|
@@ -6312,7 +6306,7 @@ const M4 = (d) => {
|
|
|
6312
6306
|
label: l,
|
|
6313
6307
|
showLabel: w,
|
|
6314
6308
|
tooltipText: C,
|
|
6315
|
-
required:
|
|
6309
|
+
required: E,
|
|
6316
6310
|
disabled: s,
|
|
6317
6311
|
className: `${S}__inputlabel`
|
|
6318
6312
|
}
|
|
@@ -6333,10 +6327,10 @@ const M4 = (d) => {
|
|
|
6333
6327
|
id: c,
|
|
6334
6328
|
name: c,
|
|
6335
6329
|
placeholder: p,
|
|
6336
|
-
required:
|
|
6330
|
+
required: E,
|
|
6337
6331
|
readOnly: d,
|
|
6338
6332
|
disabled: s,
|
|
6339
|
-
value: J ?
|
|
6333
|
+
value: J ? _ : B,
|
|
6340
6334
|
rows: v,
|
|
6341
6335
|
onChange: T,
|
|
6342
6336
|
onBlur: I,
|
|
@@ -6373,7 +6367,7 @@ const M4 = (d) => {
|
|
|
6373
6367
|
message: g,
|
|
6374
6368
|
onBlur: p,
|
|
6375
6369
|
onChange: d,
|
|
6376
|
-
onClear:
|
|
6370
|
+
onClear: E,
|
|
6377
6371
|
onFocus: v,
|
|
6378
6372
|
placeholder: w,
|
|
6379
6373
|
readonly: b = !1,
|
|
@@ -6381,7 +6375,7 @@ const M4 = (d) => {
|
|
|
6381
6375
|
searchIcon: f = "search",
|
|
6382
6376
|
showLabel: i = !0,
|
|
6383
6377
|
showVisibilityToggle: h = !1,
|
|
6384
|
-
tooltipText:
|
|
6378
|
+
tooltipText: _ = null,
|
|
6385
6379
|
translationStrings: $ = {
|
|
6386
6380
|
clearButton: "Clear input text",
|
|
6387
6381
|
counterOverLimit: "Character limit exceeded by",
|
|
@@ -6435,10 +6429,10 @@ const M4 = (d) => {
|
|
|
6435
6429
|
}, ee = (re) => {
|
|
6436
6430
|
T || N(re.target.value), d && d(re);
|
|
6437
6431
|
}, me = () => {
|
|
6438
|
-
T || N(""),
|
|
6432
|
+
T || N(""), E && E();
|
|
6439
6433
|
const re = document.getElementById(l);
|
|
6440
6434
|
re && re.focus();
|
|
6441
|
-
}, [ie, he] = X(!1),
|
|
6435
|
+
}, [ie, he] = X(!1), Ee = () => {
|
|
6442
6436
|
he((ue) => !ue);
|
|
6443
6437
|
const re = document.getElementById(l);
|
|
6444
6438
|
re && re.focus();
|
|
@@ -6467,7 +6461,7 @@ const M4 = (d) => {
|
|
|
6467
6461
|
showLabel: i,
|
|
6468
6462
|
required: C,
|
|
6469
6463
|
disabled: c,
|
|
6470
|
-
tooltipText:
|
|
6464
|
+
tooltipText: _
|
|
6471
6465
|
}
|
|
6472
6466
|
),
|
|
6473
6467
|
h && L === "password" && /* @__PURE__ */ e.createElement("div", { className: "visually-hidden", "aria-live": "polite" }, `${$.visibilityStatus} ${ie ? "visible" : "hidden"}.`),
|
|
@@ -6505,7 +6499,7 @@ const M4 = (d) => {
|
|
|
6505
6499
|
className: `${P}__visibility-toggle`,
|
|
6506
6500
|
title: ie ? $.visibilityToggleHide : $.visibilityToggleShow,
|
|
6507
6501
|
"aria-controls": l,
|
|
6508
|
-
onClick:
|
|
6502
|
+
onClick: Ee,
|
|
6509
6503
|
onMouseDown: (re) => re.preventDefault()
|
|
6510
6504
|
},
|
|
6511
6505
|
/* @__PURE__ */ e.createElement(j, { iconName: ie ? "eyeSlash" : "eye", iconSize: "md" })
|
|
@@ -6536,7 +6530,7 @@ const M4 = (d) => {
|
|
|
6536
6530
|
)
|
|
6537
6531
|
);
|
|
6538
6532
|
}
|
|
6539
|
-
),
|
|
6533
|
+
), qn = (l) => {
|
|
6540
6534
|
var a = l, {
|
|
6541
6535
|
children: t,
|
|
6542
6536
|
fontSize: n,
|
|
@@ -6563,7 +6557,7 @@ const M4 = (d) => {
|
|
|
6563
6557
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `(${s})`),
|
|
6564
6558
|
/* @__PURE__ */ e.createElement(j, { iconName: "externalLink", className: `${o}__icon` })
|
|
6565
6559
|
);
|
|
6566
|
-
},
|
|
6560
|
+
}, Wn = (g) => {
|
|
6567
6561
|
var p = g, {
|
|
6568
6562
|
ariaLabel: t,
|
|
6569
6563
|
children: n,
|
|
@@ -6586,7 +6580,7 @@ const M4 = (d) => {
|
|
|
6586
6580
|
"title",
|
|
6587
6581
|
"className"
|
|
6588
6582
|
]);
|
|
6589
|
-
const d = "pds-modal",
|
|
6583
|
+
const d = "pds-modal", E = l !== "md" ? `${d}--${l}` : null, [v, w] = X(r);
|
|
6590
6584
|
ae(() => {
|
|
6591
6585
|
w(r);
|
|
6592
6586
|
}, [r]), ae(() => {
|
|
@@ -6597,7 +6591,7 @@ const M4 = (d) => {
|
|
|
6597
6591
|
onOpenChange: w
|
|
6598
6592
|
}), i = Xe(C), h = Ae(C, {
|
|
6599
6593
|
outsidePressEvent: "mousedown"
|
|
6600
|
-
}),
|
|
6594
|
+
}), _ = Te(C), { getFloatingProps: $ } = De([i, h, _]), { isMounted: L, styles: k } = Ye(C, {
|
|
6601
6595
|
duration: {
|
|
6602
6596
|
open: 300,
|
|
6603
6597
|
close: 300
|
|
@@ -6632,7 +6626,7 @@ const M4 = (d) => {
|
|
|
6632
6626
|
ref: b.setFloating,
|
|
6633
6627
|
"aria-label": t || a
|
|
6634
6628
|
}, $()), {
|
|
6635
|
-
className: [d,
|
|
6629
|
+
className: [d, E, o].join(" ").trim().replace(/\s+/g, " "),
|
|
6636
6630
|
style: pe(H(H({}, f), k), {
|
|
6637
6631
|
position: "relative",
|
|
6638
6632
|
top: "5%"
|
|
@@ -6650,7 +6644,7 @@ const M4 = (d) => {
|
|
|
6650
6644
|
/* @__PURE__ */ e.createElement("div", { className: `${d}__content` }, n)
|
|
6651
6645
|
))
|
|
6652
6646
|
));
|
|
6653
|
-
},
|
|
6647
|
+
}, Un = (r) => {
|
|
6654
6648
|
var u = r, {
|
|
6655
6649
|
ariaLabel: t = "Breadcrumb",
|
|
6656
6650
|
crumbs: n,
|
|
@@ -6718,7 +6712,7 @@ const M4 = (d) => {
|
|
|
6718
6712
|
} else
|
|
6719
6713
|
s = t;
|
|
6720
6714
|
return s;
|
|
6721
|
-
},
|
|
6715
|
+
}, Gn = (u) => {
|
|
6722
6716
|
var l = u, {
|
|
6723
6717
|
ariaLabel: t,
|
|
6724
6718
|
menuItems: n,
|
|
@@ -6743,7 +6737,7 @@ const M4 = (d) => {
|
|
|
6743
6737
|
i.querySelectorAll('a, button, [tabindex]:not([tabindex="-1"])')
|
|
6744
6738
|
);
|
|
6745
6739
|
if (h.length === 0) return;
|
|
6746
|
-
const
|
|
6740
|
+
const _ = document.activeElement, $ = h.indexOf(_);
|
|
6747
6741
|
if ($ !== -1) {
|
|
6748
6742
|
if (f.key === "ArrowRight") {
|
|
6749
6743
|
f.preventDefault();
|
|
@@ -6760,7 +6754,7 @@ const M4 = (d) => {
|
|
|
6760
6754
|
document.removeEventListener("keydown", C);
|
|
6761
6755
|
};
|
|
6762
6756
|
}, [a]);
|
|
6763
|
-
const
|
|
6757
|
+
const E = ({ isActive: C, linkContent: f }) => {
|
|
6764
6758
|
const i = `${g}__item`;
|
|
6765
6759
|
return /* @__PURE__ */ e.createElement(
|
|
6766
6760
|
"li",
|
|
@@ -6773,7 +6767,7 @@ const M4 = (d) => {
|
|
|
6773
6767
|
f
|
|
6774
6768
|
);
|
|
6775
6769
|
}, v = n.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${g}__menu` }, n.map((C, f) => /* @__PURE__ */ e.createElement(
|
|
6776
|
-
|
|
6770
|
+
E,
|
|
6777
6771
|
{
|
|
6778
6772
|
key: f,
|
|
6779
6773
|
linkContent: C.linkContent,
|
|
@@ -6848,8 +6842,8 @@ const M4 = (d) => {
|
|
|
6848
6842
|
}, c),
|
|
6849
6843
|
n
|
|
6850
6844
|
);
|
|
6851
|
-
}, S2 = v1(null),
|
|
6852
|
-
var
|
|
6845
|
+
}, S2 = v1(null), jn = (d) => {
|
|
6846
|
+
var E = d, {
|
|
6853
6847
|
children: t,
|
|
6854
6848
|
hasSidebarToggle: n = !0,
|
|
6855
6849
|
isAdmin: s,
|
|
@@ -6862,7 +6856,7 @@ const M4 = (d) => {
|
|
|
6862
6856
|
setIsSidebarExpanded: m = () => {
|
|
6863
6857
|
},
|
|
6864
6858
|
className: g
|
|
6865
|
-
} =
|
|
6859
|
+
} = E, p = O(E, [
|
|
6866
6860
|
"children",
|
|
6867
6861
|
"hasSidebarToggle",
|
|
6868
6862
|
"isAdmin",
|
|
@@ -6881,7 +6875,7 @@ const M4 = (d) => {
|
|
|
6881
6875
|
}, [o]), ae(() => {
|
|
6882
6876
|
m(b);
|
|
6883
6877
|
}, [b, m]);
|
|
6884
|
-
const
|
|
6878
|
+
const _ = {
|
|
6885
6879
|
isSidebarExpanded: v ? !0 : b,
|
|
6886
6880
|
logoLinkContent: c,
|
|
6887
6881
|
navbarWidth: h,
|
|
@@ -6913,7 +6907,7 @@ const M4 = (d) => {
|
|
|
6913
6907
|
/* @__PURE__ */ e.createElement("div", { className: `${$}__header` }, W),
|
|
6914
6908
|
/* @__PURE__ */ e.createElement("div", { className: `${$}__inner` }, /* @__PURE__ */ e.createElement("main", { id: "main", className: `${$}__main` }, P), U && /* @__PURE__ */ e.createElement("footer", { className: `${$}__footer` }, U))
|
|
6915
6909
|
));
|
|
6916
|
-
return /* @__PURE__ */ e.createElement(S2.Provider, { value:
|
|
6910
|
+
return /* @__PURE__ */ e.createElement(S2.Provider, { value: _ }, /* @__PURE__ */ e.createElement(At, { text: a, destination: "main" }), /* @__PURE__ */ e.createElement(
|
|
6917
6911
|
"div",
|
|
6918
6912
|
H({
|
|
6919
6913
|
className: x([
|
|
@@ -6956,7 +6950,7 @@ const M4 = (d) => {
|
|
|
6956
6950
|
},
|
|
6957
6951
|
z.linkContent
|
|
6958
6952
|
))
|
|
6959
|
-
), [p, d] = X(!1), { refs:
|
|
6953
|
+
), [p, d] = X(!1), { refs: E, floatingStyles: v, context: w } = Se({
|
|
6960
6954
|
placement: "right-start",
|
|
6961
6955
|
open: p,
|
|
6962
6956
|
onOpenChange: d,
|
|
@@ -6965,7 +6959,7 @@ const M4 = (d) => {
|
|
|
6965
6959
|
}), b = $2(w, {
|
|
6966
6960
|
move: !1,
|
|
6967
6961
|
handleClose: H1()
|
|
6968
|
-
}), C = w1(w), f = Ae(w), i = Te(w, { role: "menu" }), { getReferenceProps: h, getFloatingProps:
|
|
6962
|
+
}), C = w1(w), f = Ae(w), i = Te(w, { role: "menu" }), { getReferenceProps: h, getFloatingProps: _ } = De([
|
|
6969
6963
|
b,
|
|
6970
6964
|
C,
|
|
6971
6965
|
f,
|
|
@@ -7036,7 +7030,7 @@ const M4 = (d) => {
|
|
|
7036
7030
|
s ? null : `${a}--collapsed`,
|
|
7037
7031
|
n ? `${a}--active` : null
|
|
7038
7032
|
]),
|
|
7039
|
-
ref: s ? null :
|
|
7033
|
+
ref: s ? null : E.setReference
|
|
7040
7034
|
}, h()),
|
|
7041
7035
|
u ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${a}-wrapper` }, Y2(
|
|
7042
7036
|
l,
|
|
@@ -7060,9 +7054,9 @@ const M4 = (d) => {
|
|
|
7060
7054
|
"div",
|
|
7061
7055
|
H({
|
|
7062
7056
|
className: `${l}__flyout`,
|
|
7063
|
-
ref:
|
|
7057
|
+
ref: E.setFloating,
|
|
7064
7058
|
style: v
|
|
7065
|
-
},
|
|
7059
|
+
}, _()),
|
|
7066
7060
|
/* @__PURE__ */ e.createElement("div", { className: `${l}__flyout-heading` }, Ue(r)),
|
|
7067
7061
|
g(u, "second-level-flyout")
|
|
7068
7062
|
)) : /* @__PURE__ */ e.createElement(e.Fragment, null, s ? m : /* @__PURE__ */ e.createElement(
|
|
@@ -7090,7 +7084,7 @@ const M4 = (d) => {
|
|
|
7090
7084
|
"selectTextFallback",
|
|
7091
7085
|
"className"
|
|
7092
7086
|
]);
|
|
7093
|
-
const a = "pds-dropdown-menu", [o, m] = X(!1), [g, p] = X(null), d = n1(n),
|
|
7087
|
+
const a = "pds-dropdown-menu", [o, m] = X(!1), [g, p] = X(null), d = n1(n), E = d ? d.props.children : s, v = /* @__PURE__ */ e.createElement(
|
|
7094
7088
|
j,
|
|
7095
7089
|
{
|
|
7096
7090
|
iconName: "check",
|
|
@@ -7099,7 +7093,7 @@ const M4 = (d) => {
|
|
|
7099
7093
|
}
|
|
7100
7094
|
), w = (W) => {
|
|
7101
7095
|
var F;
|
|
7102
|
-
W.key === "Enter" && ((F =
|
|
7096
|
+
W.key === "Enter" && ((F = _.current[g].querySelector("a")) == null || F.click());
|
|
7103
7097
|
}, b = (W) => {
|
|
7104
7098
|
W.target.nodeName === "A" && m(!1);
|
|
7105
7099
|
};
|
|
@@ -7144,8 +7138,8 @@ const M4 = (d) => {
|
|
|
7144
7138
|
open: o,
|
|
7145
7139
|
onOpenChange: m,
|
|
7146
7140
|
whileElementsMounted: Fe
|
|
7147
|
-
}),
|
|
7148
|
-
listRef:
|
|
7141
|
+
}), _ = ce([]), $ = o2(h, {
|
|
7142
|
+
listRef: _,
|
|
7149
7143
|
activeIndex: g,
|
|
7150
7144
|
onNavigate: p,
|
|
7151
7145
|
loop: !0,
|
|
@@ -7175,7 +7169,7 @@ const M4 = (d) => {
|
|
|
7175
7169
|
ref: i.setReference,
|
|
7176
7170
|
type: "button"
|
|
7177
7171
|
}, M()),
|
|
7178
|
-
/* @__PURE__ */ e.createElement("span", { className: `${a}__active-label` },
|
|
7172
|
+
/* @__PURE__ */ e.createElement("span", { className: `${a}__active-label` }, E),
|
|
7179
7173
|
/* @__PURE__ */ e.createElement(
|
|
7180
7174
|
j,
|
|
7181
7175
|
{
|
|
@@ -7201,7 +7195,7 @@ const M4 = (d) => {
|
|
|
7201
7195
|
className: `${a}__item ${a}__item--${W.level} ${W.isActive === !0 ? `${a}__item--active` : ""}`,
|
|
7202
7196
|
tabIndex: g === F ? 0 : -1,
|
|
7203
7197
|
ref: (P) => {
|
|
7204
|
-
|
|
7198
|
+
_.current[F] = P;
|
|
7205
7199
|
}
|
|
7206
7200
|
}, S()),
|
|
7207
7201
|
W.linkContent,
|
|
@@ -7528,7 +7522,7 @@ const M4 = (d) => {
|
|
|
7528
7522
|
case "sub-brand-small":
|
|
7529
7523
|
p = Z2;
|
|
7530
7524
|
}
|
|
7531
|
-
const d = e.isValidElement(s) && typeof s.props.children == "string" ? s.props.children : "",
|
|
7525
|
+
const d = e.isValidElement(s) && typeof s.props.children == "string" ? s.props.children : "", E = e.isValidElement(s) ? Ie(s, {
|
|
7532
7526
|
children: p,
|
|
7533
7527
|
"aria-label": d || null
|
|
7534
7528
|
}) : s;
|
|
@@ -7542,10 +7536,10 @@ const M4 = (d) => {
|
|
|
7542
7536
|
r != null ? r : ""
|
|
7543
7537
|
])
|
|
7544
7538
|
}, u),
|
|
7545
|
-
s ?
|
|
7539
|
+
s ? E : p,
|
|
7546
7540
|
c && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: "pds-pantheon-logo__separator" }), /* @__PURE__ */ e.createElement("div", { className: "pds-pantheon-logo__sub-brand-wordmark" }, c))
|
|
7547
7541
|
);
|
|
7548
|
-
},
|
|
7542
|
+
}, Kn = (l) => {
|
|
7549
7543
|
var a = l, {
|
|
7550
7544
|
ariaLabel: t,
|
|
7551
7545
|
labels: n = {
|
|
@@ -7568,7 +7562,7 @@ const M4 = (d) => {
|
|
|
7568
7562
|
const g = ve(S2);
|
|
7569
7563
|
let p = !0, d = null;
|
|
7570
7564
|
g && (p = g.isSidebarExpanded, d = g.logoLinkContent);
|
|
7571
|
-
const
|
|
7565
|
+
const E = "pds-dashboard-nav", v = p ? `${E}--expanded` : `${E}--collapsed`, w = /* @__PURE__ */ e.createElement(e.Fragment, null, s.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${E}__menu ${E}__menu--top-level` }, s.map((f, i) => /* @__PURE__ */ e.createElement(
|
|
7572
7566
|
Ot,
|
|
7573
7567
|
{
|
|
7574
7568
|
key: i,
|
|
@@ -7581,7 +7575,7 @@ const M4 = (d) => {
|
|
|
7581
7575
|
}
|
|
7582
7576
|
)))), b = s.map((f) => pe(H({}, f), {
|
|
7583
7577
|
linkContent: Y2(
|
|
7584
|
-
|
|
7578
|
+
E,
|
|
7585
7579
|
f.linkContent,
|
|
7586
7580
|
f.links,
|
|
7587
7581
|
f.icon
|
|
@@ -7597,12 +7591,12 @@ const M4 = (d) => {
|
|
|
7597
7591
|
"nav",
|
|
7598
7592
|
H({
|
|
7599
7593
|
"aria-label": t,
|
|
7600
|
-
className: x([
|
|
7594
|
+
className: x([E, v, r])
|
|
7601
7595
|
}, u),
|
|
7602
7596
|
!o && /* @__PURE__ */ e.createElement(
|
|
7603
7597
|
R1,
|
|
7604
7598
|
{
|
|
7605
|
-
className: `${
|
|
7599
|
+
className: `${E}__logo`,
|
|
7606
7600
|
displayType: p ? "full" : "icon",
|
|
7607
7601
|
linkContent: d
|
|
7608
7602
|
}
|
|
@@ -7616,7 +7610,7 @@ const M4 = (d) => {
|
|
|
7616
7610
|
"performance-large": "Performance Large",
|
|
7617
7611
|
"performance-xl": "Performance Extra Large",
|
|
7618
7612
|
elite: "Elite"
|
|
7619
|
-
},
|
|
7613
|
+
}, Xn = {
|
|
7620
7614
|
drupal: "Drupal",
|
|
7621
7615
|
wordpress: "WordPress",
|
|
7622
7616
|
gatsby: "Gatsby",
|
|
@@ -7678,7 +7672,7 @@ const M4 = (d) => {
|
|
|
7678
7672
|
)
|
|
7679
7673
|
)
|
|
7680
7674
|
);
|
|
7681
|
-
},
|
|
7675
|
+
}, Yn = (v) => {
|
|
7682
7676
|
var w = v, {
|
|
7683
7677
|
disabled: t = !1,
|
|
7684
7678
|
id: n,
|
|
@@ -7697,7 +7691,7 @@ const M4 = (d) => {
|
|
|
7697
7691
|
siteList: g,
|
|
7698
7692
|
horizontalOffset: p = 0,
|
|
7699
7693
|
className: d
|
|
7700
|
-
} = w,
|
|
7694
|
+
} = w, E = O(w, [
|
|
7701
7695
|
"disabled",
|
|
7702
7696
|
"id",
|
|
7703
7697
|
"isLoading",
|
|
@@ -7713,9 +7707,9 @@ const M4 = (d) => {
|
|
|
7713
7707
|
"className"
|
|
7714
7708
|
]);
|
|
7715
7709
|
const [b, C] = X(!1), [f, i] = X(null), h = ce(null);
|
|
7716
|
-
let
|
|
7710
|
+
let _ = !1;
|
|
7717
7711
|
const $ = ve(we);
|
|
7718
|
-
$ && (
|
|
7712
|
+
$ && (_ = $.isMobile);
|
|
7719
7713
|
let L = null, k = !1;
|
|
7720
7714
|
const y = ve(S2);
|
|
7721
7715
|
y && (L = y.navbarWidth, k = y.isAdmin);
|
|
@@ -7725,7 +7719,7 @@ const M4 = (d) => {
|
|
|
7725
7719
|
const W = {
|
|
7726
7720
|
right: `${S + p}rem`,
|
|
7727
7721
|
width: `${D}rem`
|
|
7728
|
-
}, F = "pds-dashboard-search", P =
|
|
7722
|
+
}, F = "pds-dashboard-search", P = _ ? `${F}--isMobile` : null, U = () => {
|
|
7729
7723
|
C(!0), setTimeout(() => {
|
|
7730
7724
|
h.current.querySelector("input").focus();
|
|
7731
7725
|
}, 500);
|
|
@@ -7810,12 +7804,12 @@ const M4 = (d) => {
|
|
|
7810
7804
|
H({
|
|
7811
7805
|
className: x([F, P, d != null ? d : ""]),
|
|
7812
7806
|
id: n,
|
|
7813
|
-
style:
|
|
7814
|
-
onKeyDown:
|
|
7807
|
+
style: _ ? null : W,
|
|
7808
|
+
onKeyDown: _ ? null : (T) => {
|
|
7815
7809
|
T.key === "Escape" && Q();
|
|
7816
7810
|
}
|
|
7817
|
-
},
|
|
7818
|
-
|
|
7811
|
+
}, E),
|
|
7812
|
+
_ ? q : R
|
|
7819
7813
|
);
|
|
7820
7814
|
}, h2 = (r) => {
|
|
7821
7815
|
var u = r, {
|
|
@@ -7835,8 +7829,8 @@ const M4 = (d) => {
|
|
|
7835
7829
|
}, c),
|
|
7836
7830
|
t
|
|
7837
7831
|
);
|
|
7838
|
-
},
|
|
7839
|
-
var
|
|
7832
|
+
}, Qn = (d) => {
|
|
7833
|
+
var E = d, {
|
|
7840
7834
|
children: t,
|
|
7841
7835
|
colorType: n = "default",
|
|
7842
7836
|
containerWidth: s = "x-wide",
|
|
@@ -7851,7 +7845,7 @@ const M4 = (d) => {
|
|
|
7851
7845
|
openMobileNav: "Open navigation area"
|
|
7852
7846
|
},
|
|
7853
7847
|
className: g
|
|
7854
|
-
} =
|
|
7848
|
+
} = E, p = O(E, [
|
|
7855
7849
|
"children",
|
|
7856
7850
|
"colorType",
|
|
7857
7851
|
"containerWidth",
|
|
@@ -7870,7 +7864,7 @@ const M4 = (d) => {
|
|
|
7870
7864
|
C && (b = C.isMobile);
|
|
7871
7865
|
const f = ve(S2);
|
|
7872
7866
|
f && (l = f.logoLinkContent);
|
|
7873
|
-
const i = "pds-navbar", h = c ? `${i}--noBorder` : "",
|
|
7867
|
+
const i = "pds-navbar", h = c ? `${i}--noBorder` : "", _ = n !== "default" ? `${i}--${n}` : "", $ = b ? `${i}--isMobile` : `${i}--notMobile`, L = (R) => {
|
|
7874
7868
|
const q = R.key;
|
|
7875
7869
|
let T = !1;
|
|
7876
7870
|
switch (q) {
|
|
@@ -7958,7 +7952,7 @@ const M4 = (d) => {
|
|
|
7958
7952
|
H({
|
|
7959
7953
|
className: x([
|
|
7960
7954
|
i,
|
|
7961
|
-
|
|
7955
|
+
_,
|
|
7962
7956
|
h,
|
|
7963
7957
|
$,
|
|
7964
7958
|
g != null ? g : ""
|
|
@@ -7982,7 +7976,7 @@ const M4 = (d) => {
|
|
|
7982
7976
|
open: c,
|
|
7983
7977
|
onOpenChange: r,
|
|
7984
7978
|
whileElementsMounted: Fe
|
|
7985
|
-
}), d = Xe(p, { event: "mousedown" }),
|
|
7979
|
+
}), d = Xe(p, { event: "mousedown" }), E = Ae(p), v = Te(p, { role: "menu" });
|
|
7986
7980
|
let w;
|
|
7987
7981
|
o ? w = $2(p, {
|
|
7988
7982
|
enabled: !1
|
|
@@ -7995,7 +7989,7 @@ const M4 = (d) => {
|
|
|
7995
7989
|
enabled: !0
|
|
7996
7990
|
});
|
|
7997
7991
|
const { getReferenceProps: b, getFloatingProps: C } = De([
|
|
7998
|
-
|
|
7992
|
+
E,
|
|
7999
7993
|
v,
|
|
8000
7994
|
d,
|
|
8001
7995
|
w
|
|
@@ -8025,7 +8019,7 @@ const M4 = (d) => {
|
|
|
8025
8019
|
!i.isSeparator && i.linkContent
|
|
8026
8020
|
))
|
|
8027
8021
|
));
|
|
8028
|
-
},
|
|
8022
|
+
}, Jn = (l) => {
|
|
8029
8023
|
var a = l, {
|
|
8030
8024
|
ariaLabel: t = "Main Navigation",
|
|
8031
8025
|
colorType: n = "default",
|
|
@@ -8039,7 +8033,7 @@ const M4 = (d) => {
|
|
|
8039
8033
|
"mobileMenuMaxWidth",
|
|
8040
8034
|
"className"
|
|
8041
8035
|
]);
|
|
8042
|
-
const [o, m] = X(1025), [g, p] = X(null), [d,
|
|
8036
|
+
const [o, m] = X(1025), [g, p] = X(null), [d, E] = X(-1), [v, w] = X(null), [b, C] = X({
|
|
8043
8037
|
container: null,
|
|
8044
8038
|
containerChildren: []
|
|
8045
8039
|
});
|
|
@@ -8060,13 +8054,13 @@ const M4 = (d) => {
|
|
|
8060
8054
|
focusVisible: !0
|
|
8061
8055
|
}));
|
|
8062
8056
|
}, [d]);
|
|
8063
|
-
const h = "pds-nav-menu",
|
|
8057
|
+
const h = "pds-nav-menu", _ = n !== "default" ? `${h}--${n}` : "", $ = i ? `${h}--isMobile` : `${h}--notMobile`, L = ce([]), k = (z) => {
|
|
8064
8058
|
const S = L.current.length - 1, U = {
|
|
8065
8059
|
ArrowRight: () => {
|
|
8066
|
-
p(-1),
|
|
8060
|
+
p(-1), E(d === -1 ? 1 : d === S ? 0 : d + 1);
|
|
8067
8061
|
},
|
|
8068
8062
|
ArrowLeft: () => {
|
|
8069
|
-
p(-1),
|
|
8063
|
+
p(-1), E(d === 0 ? S : d - 1);
|
|
8070
8064
|
},
|
|
8071
8065
|
ArrowDown: () => {
|
|
8072
8066
|
var te, B, R, q;
|
|
@@ -8127,7 +8121,7 @@ const M4 = (d) => {
|
|
|
8127
8121
|
}), /* @__PURE__ */ e.createElement(
|
|
8128
8122
|
"nav",
|
|
8129
8123
|
H({
|
|
8130
|
-
className: x([h,
|
|
8124
|
+
className: x([h, _, $, r]),
|
|
8131
8125
|
"aria-label": t,
|
|
8132
8126
|
onKeyDown: (z) => {
|
|
8133
8127
|
k(z);
|
|
@@ -8135,7 +8129,7 @@ const M4 = (d) => {
|
|
|
8135
8129
|
}, u),
|
|
8136
8130
|
/* @__PURE__ */ e.createElement("ul", { className: `${h}__menu` }, M)
|
|
8137
8131
|
);
|
|
8138
|
-
}, p2 = 0,
|
|
8132
|
+
}, p2 = 0, e4 = (m) => {
|
|
8139
8133
|
var g = m, {
|
|
8140
8134
|
ariaLabel: t,
|
|
8141
8135
|
hasMobileMenu: n = !0,
|
|
@@ -8158,7 +8152,7 @@ const M4 = (d) => {
|
|
|
8158
8152
|
"mobileMenuSelectTextFallback",
|
|
8159
8153
|
"className"
|
|
8160
8154
|
]);
|
|
8161
|
-
const p = "pds-side-nav", d = `${p}__item`,
|
|
8155
|
+
const p = "pds-side-nav", d = `${p}__item`, E = `${p}__menu`, [v, w] = X(1025), [b, C] = X(!1), [f, i] = X([]), h = ce(null), _ = ce(null), $ = ce([]), L = ce(-1);
|
|
8162
8156
|
ae(() => (w(window.innerWidth), window.addEventListener("resize", k), () => {
|
|
8163
8157
|
window.removeEventListener("resize", k);
|
|
8164
8158
|
}), []), ae(() => {
|
|
@@ -8168,7 +8162,7 @@ const M4 = (d) => {
|
|
|
8168
8162
|
const B = h.current.querySelector(
|
|
8169
8163
|
".pds-side-nav__heading a"
|
|
8170
8164
|
);
|
|
8171
|
-
B && (
|
|
8165
|
+
B && (_.current = B);
|
|
8172
8166
|
}
|
|
8173
8167
|
}, [s]);
|
|
8174
8168
|
const k = () => {
|
|
@@ -8182,8 +8176,8 @@ const M4 = (d) => {
|
|
|
8182
8176
|
);
|
|
8183
8177
|
$.current = B.filter((R) => {
|
|
8184
8178
|
if (window.getComputedStyle(R).display === "none") return !1;
|
|
8185
|
-
const T = R.closest(`.${
|
|
8186
|
-
return T ? T.classList.contains(`${
|
|
8179
|
+
const T = R.closest(`.${E}--second-level`);
|
|
8180
|
+
return T ? T.classList.contains(`${E}--expanded`) : !0;
|
|
8187
8181
|
});
|
|
8188
8182
|
}, z = (B) => {
|
|
8189
8183
|
if (b)
|
|
@@ -8278,7 +8272,7 @@ const M4 = (d) => {
|
|
|
8278
8272
|
}
|
|
8279
8273
|
}, D = (B) => {
|
|
8280
8274
|
var R;
|
|
8281
|
-
!b && B.target !==
|
|
8275
|
+
!b && B.target !== _.current && (B.target.closest(`.${p}__heading`) || (C(!0), M(), $.current.length > 0 && (L.current = 0, (R = $.current[0]) == null || R.focus())));
|
|
8282
8276
|
}, W = (B) => {
|
|
8283
8277
|
var V, N;
|
|
8284
8278
|
const R = B.currentTarget, q = (V = R.parentElement) == null ? void 0 : V.nextElementSibling;
|
|
@@ -8315,7 +8309,7 @@ const M4 = (d) => {
|
|
|
8315
8309
|
opacity: "1",
|
|
8316
8310
|
display: "flex",
|
|
8317
8311
|
marginBlockStart: `${r2}rem`
|
|
8318
|
-
}), B.classList.add(`${
|
|
8312
|
+
}), B.classList.add(`${E}--expanded`), M();
|
|
8319
8313
|
};
|
|
8320
8314
|
}, P = (B) => {
|
|
8321
8315
|
const R = `${B.scrollHeight}px`, q = B.animate(
|
|
@@ -8333,7 +8327,7 @@ const M4 = (d) => {
|
|
|
8333
8327
|
}
|
|
8334
8328
|
);
|
|
8335
8329
|
q.onfinish = () => {
|
|
8336
|
-
B.classList.remove(`${
|
|
8330
|
+
B.classList.remove(`${E}--expanded`), Object.assign(B.style, {
|
|
8337
8331
|
opacity: "0",
|
|
8338
8332
|
height: "",
|
|
8339
8333
|
// Clean height from inline style
|
|
@@ -8342,7 +8336,7 @@ const M4 = (d) => {
|
|
|
8342
8336
|
marginBlockStart: "0"
|
|
8343
8337
|
}), M();
|
|
8344
8338
|
};
|
|
8345
|
-
}, U = (B) =>
|
|
8339
|
+
}, U = (B) => _1.toArray(B).some((R) => $e(R) ? R.type && R.type.displayName === "Tally" ? !0 : U(R.props.children) : !1), Q = (B, R) => {
|
|
8346
8340
|
const { linkContent: q, links: T } = B, I = U(q), V = Me(B), N = V || f.includes(R);
|
|
8347
8341
|
return /* @__PURE__ */ e.createElement(
|
|
8348
8342
|
"li",
|
|
@@ -8375,9 +8369,9 @@ const M4 = (d) => {
|
|
|
8375
8369
|
"ul",
|
|
8376
8370
|
{
|
|
8377
8371
|
className: x([
|
|
8378
|
-
|
|
8379
|
-
`${
|
|
8380
|
-
N ? `${
|
|
8372
|
+
E,
|
|
8373
|
+
`${E}--second-level`,
|
|
8374
|
+
N ? `${E}--expanded` : null
|
|
8381
8375
|
])
|
|
8382
8376
|
},
|
|
8383
8377
|
T.map((A, K) => {
|
|
@@ -8430,7 +8424,7 @@ const M4 = (d) => {
|
|
|
8430
8424
|
}, o),
|
|
8431
8425
|
y && n ? te : J
|
|
8432
8426
|
);
|
|
8433
|
-
}, v2 = 0,
|
|
8427
|
+
}, v2 = 0, t4 = (m) => {
|
|
8434
8428
|
var g = m, {
|
|
8435
8429
|
ariaLabel: t,
|
|
8436
8430
|
hasMobileMenu: n = !0,
|
|
@@ -8453,7 +8447,7 @@ const M4 = (d) => {
|
|
|
8453
8447
|
"mobileMenuSelectTextFallback",
|
|
8454
8448
|
"className"
|
|
8455
8449
|
]);
|
|
8456
|
-
const p = "pds-side-nav-compact", d = `${p}__item`,
|
|
8450
|
+
const p = "pds-side-nav-compact", d = `${p}__item`, E = `${p}__menu`, [v, w] = X(1025), [b, C] = X(!1), [f, i] = X([]), h = ce(null), _ = ce(null), $ = ce([]), L = ce(-1);
|
|
8457
8451
|
ae(() => (w(window.innerWidth), window.addEventListener("resize", k), () => {
|
|
8458
8452
|
window.removeEventListener("resize", k);
|
|
8459
8453
|
}), []), ae(() => {
|
|
@@ -8463,7 +8457,7 @@ const M4 = (d) => {
|
|
|
8463
8457
|
const I = h.current.querySelector(
|
|
8464
8458
|
".pds-side-nav-compact__heading a"
|
|
8465
8459
|
);
|
|
8466
|
-
I && (
|
|
8460
|
+
I && (_.current = I);
|
|
8467
8461
|
}
|
|
8468
8462
|
}, [s]), ae(() => {
|
|
8469
8463
|
if (h.current && r.length > 0) {
|
|
@@ -8490,8 +8484,8 @@ const M4 = (d) => {
|
|
|
8490
8484
|
);
|
|
8491
8485
|
$.current = I.filter((V) => {
|
|
8492
8486
|
if (window.getComputedStyle(V).display === "none") return !1;
|
|
8493
|
-
const A = V.closest(`.${
|
|
8494
|
-
return !(A && !A.classList.contains(`${
|
|
8487
|
+
const A = V.closest(`.${E}`);
|
|
8488
|
+
return !(A && !A.classList.contains(`${E}--expanded`) && !A.classList.contains(`${E}--top-level`));
|
|
8495
8489
|
});
|
|
8496
8490
|
}, z = (I) => {
|
|
8497
8491
|
const V = I.closest(`.${d}-wrapper`);
|
|
@@ -8509,7 +8503,7 @@ const M4 = (d) => {
|
|
|
8509
8503
|
return (N == null ? void 0 : N.nextElementSibling) || null;
|
|
8510
8504
|
}
|
|
8511
8505
|
const V = I.closest(`.${d}`);
|
|
8512
|
-
return V ? V.querySelector(`.${
|
|
8506
|
+
return V ? V.querySelector(`.${E}`) : null;
|
|
8513
8507
|
}, Z = (I) => {
|
|
8514
8508
|
if (I.classList.contains(`${p}__toggle`))
|
|
8515
8509
|
return !0;
|
|
@@ -8550,8 +8544,8 @@ const M4 = (d) => {
|
|
|
8550
8544
|
}
|
|
8551
8545
|
case "ArrowLeft": {
|
|
8552
8546
|
I.preventDefault();
|
|
8553
|
-
const N = V.closest(`.${
|
|
8554
|
-
if (N && !N.classList.contains(`${
|
|
8547
|
+
const N = V.closest(`.${E}`);
|
|
8548
|
+
if (N && !N.classList.contains(`${E}--top-level`)) {
|
|
8555
8549
|
const A = N.parentElement;
|
|
8556
8550
|
if (A && A.classList.contains(d)) {
|
|
8557
8551
|
const K = A.querySelector(
|
|
@@ -8614,7 +8608,7 @@ const M4 = (d) => {
|
|
|
8614
8608
|
const ie = Array.from(
|
|
8615
8609
|
((me = h.current) == null ? void 0 : me.querySelectorAll(`.${d}--top-level`)) || []
|
|
8616
8610
|
).indexOf(K);
|
|
8617
|
-
i((he) => A && !he.includes(ie) && ie !== -1 ? [...he, ie] : A ? he : he.filter((
|
|
8611
|
+
i((he) => A && !he.includes(ie) && ie !== -1 ? [...he, ie] : A ? he : he.filter((Ee) => Ee !== ie));
|
|
8618
8612
|
}
|
|
8619
8613
|
A ? Q(N) : J(N);
|
|
8620
8614
|
}, Q = (I) => {
|
|
@@ -8639,7 +8633,7 @@ const M4 = (d) => {
|
|
|
8639
8633
|
opacity: "1",
|
|
8640
8634
|
display: "flex",
|
|
8641
8635
|
marginBlockStart: `${B2}rem`
|
|
8642
|
-
}), I.classList.add(`${
|
|
8636
|
+
}), I.classList.add(`${E}--expanded`), M();
|
|
8643
8637
|
};
|
|
8644
8638
|
}, J = (I) => {
|
|
8645
8639
|
const V = `${I.scrollHeight}px`, N = I.animate(
|
|
@@ -8657,7 +8651,7 @@ const M4 = (d) => {
|
|
|
8657
8651
|
}
|
|
8658
8652
|
);
|
|
8659
8653
|
N.onfinish = () => {
|
|
8660
|
-
I.classList.remove(`${
|
|
8654
|
+
I.classList.remove(`${E}--expanded`), Object.assign(I.style, {
|
|
8661
8655
|
opacity: "0",
|
|
8662
8656
|
height: "",
|
|
8663
8657
|
// Clean height from inline style
|
|
@@ -8668,15 +8662,15 @@ const M4 = (d) => {
|
|
|
8668
8662
|
};
|
|
8669
8663
|
}, te = { 2: "second", 3: "third", 4: "fourth" }, B = (I, V, N) => {
|
|
8670
8664
|
var oe, re;
|
|
8671
|
-
const A = te[I], K = `${
|
|
8665
|
+
const A = te[I], K = `${E}--${A}-level`, ee = `${d}--${A}-level`, me = I + 1, ie = Me(V);
|
|
8672
8666
|
let he = !1;
|
|
8673
|
-
const
|
|
8667
|
+
const Ee = (oe = h.current) == null ? void 0 : oe.querySelector(
|
|
8674
8668
|
`.${d}--top-level[data-item-path="${V.path}"]`
|
|
8675
8669
|
);
|
|
8676
|
-
if (
|
|
8670
|
+
if (Ee) {
|
|
8677
8671
|
const ue = Array.from(
|
|
8678
8672
|
((re = h.current) == null ? void 0 : re.querySelectorAll(`.${d}--top-level`)) || []
|
|
8679
|
-
).indexOf(
|
|
8673
|
+
).indexOf(Ee);
|
|
8680
8674
|
he = f.includes(ue);
|
|
8681
8675
|
} else
|
|
8682
8676
|
he = ie;
|
|
@@ -8697,9 +8691,9 @@ const M4 = (d) => {
|
|
|
8697
8691
|
"ul",
|
|
8698
8692
|
{
|
|
8699
8693
|
className: x([
|
|
8700
|
-
|
|
8694
|
+
E,
|
|
8701
8695
|
K,
|
|
8702
|
-
he ? `${
|
|
8696
|
+
he ? `${E}--expanded` : null
|
|
8703
8697
|
])
|
|
8704
8698
|
},
|
|
8705
8699
|
V.links.map((ue, ze) => /* @__PURE__ */ e.createElement(
|
|
@@ -8766,7 +8760,7 @@ const M4 = (d) => {
|
|
|
8766
8760
|
minFilterItems: r = 5,
|
|
8767
8761
|
noResultsText: u = "No results found"
|
|
8768
8762
|
}) => {
|
|
8769
|
-
const [l, a] = X(!1), [o, m] = X(null), [g, p] = X(c), [d,
|
|
8763
|
+
const [l, a] = X(!1), [o, m] = X(null), [g, p] = X(c), [d, E] = X(""), v = c.length >= r, w = "pds-tab-menu", b = `${w}__dropdown-menu`, C = v ? `${b}--scroll` : null, f = `${w}__dropdown-item`, i = ce([]), { context: h, refs: _ } = Se({
|
|
8770
8764
|
open: l,
|
|
8771
8765
|
onOpenChange: a,
|
|
8772
8766
|
whileElementsMounted: Fe
|
|
@@ -8800,7 +8794,7 @@ const M4 = (d) => {
|
|
|
8800
8794
|
T.preventDefault(), T.key === "Enter" && ((I = i.current[o].querySelector("a")) == null || I.click()), T.key === "Tab" && T.shiftKey && (v ? document.getElementById("links-filter").focus() : a(!1));
|
|
8801
8795
|
}, F = (T, I) => Ue(T.linkContent).toLowerCase().includes(I.toLowerCase()), P = (T) => {
|
|
8802
8796
|
const I = T.target.value;
|
|
8803
|
-
|
|
8797
|
+
E(I);
|
|
8804
8798
|
const V = c.filter((N) => F(N, I));
|
|
8805
8799
|
p(V);
|
|
8806
8800
|
};
|
|
@@ -8809,7 +8803,7 @@ const M4 = (d) => {
|
|
|
8809
8803
|
p(T);
|
|
8810
8804
|
}, [c]);
|
|
8811
8805
|
const U = () => {
|
|
8812
|
-
|
|
8806
|
+
E(""), p(c);
|
|
8813
8807
|
}, Q = c.reduce(
|
|
8814
8808
|
(T, I) => Ue(T.linkContent).length > Ue(I.linkContent).length ? T : I
|
|
8815
8809
|
), te = {
|
|
@@ -8851,7 +8845,7 @@ const M4 = (d) => {
|
|
|
8851
8845
|
"button",
|
|
8852
8846
|
pe(H({
|
|
8853
8847
|
className: `${w}__dropdown-trigger`,
|
|
8854
|
-
ref:
|
|
8848
|
+
ref: _.setReference
|
|
8855
8849
|
}, M({
|
|
8856
8850
|
"aria-expanded": l,
|
|
8857
8851
|
"aria-label": t
|
|
@@ -8868,7 +8862,7 @@ const M4 = (d) => {
|
|
|
8868
8862
|
), Z && /* @__PURE__ */ e.createElement(
|
|
8869
8863
|
"div",
|
|
8870
8864
|
H({
|
|
8871
|
-
ref:
|
|
8865
|
+
ref: _.setFloating,
|
|
8872
8866
|
className: `${w}__dropdown`
|
|
8873
8867
|
}, z({
|
|
8874
8868
|
style: H({
|
|
@@ -8877,7 +8871,7 @@ const M4 = (d) => {
|
|
|
8877
8871
|
})),
|
|
8878
8872
|
/* @__PURE__ */ e.createElement("div", { style: H({}, D) }, R, /* @__PURE__ */ e.createElement("ul", { className: x([b, C]) }, q.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${w}__no-results` }, u) : q))
|
|
8879
8873
|
));
|
|
8880
|
-
},
|
|
8874
|
+
}, n4 = (r) => {
|
|
8881
8875
|
var u = r, {
|
|
8882
8876
|
ariaLabel: t,
|
|
8883
8877
|
menuItems: n,
|
|
@@ -8892,15 +8886,15 @@ const M4 = (d) => {
|
|
|
8892
8886
|
a && (l = a.isMobile);
|
|
8893
8887
|
const o = "pds-tab-menu", m = l ? `${o}--isMobile` : null, g = ({
|
|
8894
8888
|
dropdownSettings: d,
|
|
8895
|
-
icon:
|
|
8889
|
+
icon: E,
|
|
8896
8890
|
isActive: v,
|
|
8897
8891
|
linkContent: w,
|
|
8898
8892
|
links: b,
|
|
8899
8893
|
promoteActiveChildLink: C = !1
|
|
8900
8894
|
}) => {
|
|
8901
|
-
const f = `${o}__item`, i = n1(b), h = (
|
|
8895
|
+
const f = `${o}__item`, i = n1(b), h = (_, $) => {
|
|
8902
8896
|
let L = null;
|
|
8903
|
-
return typeof
|
|
8897
|
+
return typeof _ == "object" && ($ ? L = Ie(_, pe(H({}, _.props), {
|
|
8904
8898
|
children: [
|
|
8905
8899
|
/* @__PURE__ */ e.createElement("span", { key: $, className: `${o}__item-inner` }, /* @__PURE__ */ e.createElement(
|
|
8906
8900
|
j,
|
|
@@ -8909,9 +8903,9 @@ const M4 = (d) => {
|
|
|
8909
8903
|
iconSize: l ? "sm" : "md",
|
|
8910
8904
|
className: `${o}__item-icon`
|
|
8911
8905
|
}
|
|
8912
|
-
),
|
|
8906
|
+
), _.props.children)
|
|
8913
8907
|
]
|
|
8914
|
-
})) : L =
|
|
8908
|
+
})) : L = _), L;
|
|
8915
8909
|
};
|
|
8916
8910
|
return /* @__PURE__ */ e.createElement(
|
|
8917
8911
|
"li",
|
|
@@ -8921,7 +8915,7 @@ const M4 = (d) => {
|
|
|
8921
8915
|
v ? `${f}--active` : null
|
|
8922
8916
|
])
|
|
8923
8917
|
},
|
|
8924
|
-
h(C ? i : w,
|
|
8918
|
+
h(C ? i : w, E),
|
|
8925
8919
|
b && /* @__PURE__ */ e.createElement(
|
|
8926
8920
|
Wt,
|
|
8927
8921
|
{
|
|
@@ -8934,10 +8928,10 @@ const M4 = (d) => {
|
|
|
8934
8928
|
}
|
|
8935
8929
|
)
|
|
8936
8930
|
);
|
|
8937
|
-
}, p = n.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${o}__menu` }, n.map((d,
|
|
8931
|
+
}, p = n.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${o}__menu` }, n.map((d, E) => /* @__PURE__ */ e.createElement(
|
|
8938
8932
|
g,
|
|
8939
8933
|
{
|
|
8940
|
-
key:
|
|
8934
|
+
key: E,
|
|
8941
8935
|
dropdownSettings: d.dropdownSettings,
|
|
8942
8936
|
icon: d.icon,
|
|
8943
8937
|
isActive: Me(d),
|
|
@@ -8954,7 +8948,7 @@ const M4 = (d) => {
|
|
|
8954
8948
|
}, c),
|
|
8955
8949
|
l ? /* @__PURE__ */ e.createElement("div", { className: `${o}__mobile-menu-wrapper` }, p) : p
|
|
8956
8950
|
);
|
|
8957
|
-
},
|
|
8951
|
+
}, s4 = (o) => {
|
|
8958
8952
|
var m = o, {
|
|
8959
8953
|
ariaLabel: t = "User menu",
|
|
8960
8954
|
menuItems: n,
|
|
@@ -8972,14 +8966,14 @@ const M4 = (d) => {
|
|
|
8972
8966
|
"withinNavbar",
|
|
8973
8967
|
"className"
|
|
8974
8968
|
]);
|
|
8975
|
-
const [g, p] = X(null), [d,
|
|
8969
|
+
const [g, p] = X(null), [d, E] = X(!1), v = ce([]), w = ce([]);
|
|
8976
8970
|
let b = !1;
|
|
8977
8971
|
const C = ve(we);
|
|
8978
8972
|
C && (b = C.isMobile);
|
|
8979
|
-
const f = u && b, i = "pds-user-menu", h = f ? `${i}--isMobile` : null,
|
|
8973
|
+
const f = u && b, i = "pds-user-menu", h = f ? `${i}--isMobile` : null, _ = `${i}__menu`, { refs: $, floatingStyles: L, context: k } = Se({
|
|
8980
8974
|
placement: "bottom-end",
|
|
8981
8975
|
open: d,
|
|
8982
|
-
onOpenChange:
|
|
8976
|
+
onOpenChange: E,
|
|
8983
8977
|
middleware: [k2(12), z2(), N2()],
|
|
8984
8978
|
whileElementsMounted: Fe
|
|
8985
8979
|
}), y = Xe(k, { event: "mousedown" }), M = Ae(k), z = Te(k, { role: "menu" }), S = ce([]), Z = o2(k, {
|
|
@@ -9022,7 +9016,7 @@ const M4 = (d) => {
|
|
|
9022
9016
|
});
|
|
9023
9017
|
const B = (A) => {
|
|
9024
9018
|
const K = v.current.indexOf(A), ee = w.current[K];
|
|
9025
|
-
ee.linkContent && !ee.disabled && (S.current[K].querySelector("a").click(),
|
|
9019
|
+
ee.linkContent && !ee.disabled && (S.current[K].querySelector("a").click(), E(!1)), ee.callback && !ee.disabled && (ee.callback(ee), E(!1));
|
|
9026
9020
|
}, R = (A) => {
|
|
9027
9021
|
A.preventDefault(), A.key === "Enter" && B(A.currentTarget.id);
|
|
9028
9022
|
}, q = (A) => {
|
|
@@ -9070,7 +9064,7 @@ const M4 = (d) => {
|
|
|
9070
9064
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
9071
9065
|
})
|
|
9072
9066
|
}, W()),
|
|
9073
|
-
/* @__PURE__ */ e.createElement("div", { style: H({}, U) }, /* @__PURE__ */ e.createElement("ul", { className:
|
|
9067
|
+
/* @__PURE__ */ e.createElement("div", { style: H({}, U) }, /* @__PURE__ */ e.createElement("ul", { className: _, role: "menu" }, te, /* @__PURE__ */ e.createElement("li", { role: "separator" }), T))
|
|
9074
9068
|
)), V = (A) => {
|
|
9075
9069
|
const K = A.currentTarget;
|
|
9076
9070
|
K.classList.toggle(`${i}__toggle--expanded`), K.setAttribute(
|
|
@@ -9090,7 +9084,7 @@ const M4 = (d) => {
|
|
|
9090
9084
|
), /* @__PURE__ */ e.createElement("div", { className: `${i}__mobile-menu` }, /* @__PURE__ */ e.createElement(
|
|
9091
9085
|
"ul",
|
|
9092
9086
|
{
|
|
9093
|
-
className: [
|
|
9087
|
+
className: [_, `${_}--isMobile`].join(" ").trim(),
|
|
9094
9088
|
role: "menu"
|
|
9095
9089
|
},
|
|
9096
9090
|
te,
|
|
@@ -9109,7 +9103,7 @@ const M4 = (d) => {
|
|
|
9109
9103
|
gold: "Gold",
|
|
9110
9104
|
platinum: "Platinum",
|
|
9111
9105
|
diamond: "Diamond"
|
|
9112
|
-
},
|
|
9106
|
+
}, l4 = (p) => {
|
|
9113
9107
|
var d = p, {
|
|
9114
9108
|
ariaLabel: t = "Workspace selector menu",
|
|
9115
9109
|
createWorkspaceLink: n,
|
|
@@ -9133,12 +9127,12 @@ const M4 = (d) => {
|
|
|
9133
9127
|
"workspaceList",
|
|
9134
9128
|
"className"
|
|
9135
9129
|
]);
|
|
9136
|
-
const [
|
|
9130
|
+
const [E, v] = X(!1), [w, b] = X(null), [C, f] = X(o), i = ce([]), h = ce(null), _ = o.length >= u;
|
|
9137
9131
|
let $ = !1;
|
|
9138
9132
|
const L = ve(we);
|
|
9139
9133
|
L && ($ = L.isMobile);
|
|
9140
|
-
const k = a && $, y = "pds-workspace-selector", M = k ? `${y}--isMobile` : null, z = `${y}__menu`, S =
|
|
9141
|
-
open:
|
|
9134
|
+
const k = a && $, y = "pds-workspace-selector", M = k ? `${y}--isMobile` : null, z = `${y}__menu`, S = _ ? `${z}--scroll` : null, { refs: Z, floatingStyles: D, context: W } = Se({
|
|
9135
|
+
open: E,
|
|
9142
9136
|
onOpenChange: v,
|
|
9143
9137
|
whileElementsMounted: Fe
|
|
9144
9138
|
}), F = Xe(W, { event: "mousedown" }), P = Ae(W), U = Te(W, { role: "menu" }), Q = o2(W, {
|
|
@@ -9179,7 +9173,7 @@ const M4 = (d) => {
|
|
|
9179
9173
|
f(oe);
|
|
9180
9174
|
}, [o]);
|
|
9181
9175
|
const V = (oe) => {
|
|
9182
|
-
oe.preventDefault(), oe.key === "Enter" && i.current[w].querySelector("a").click(), oe.key === "Tab" && (oe.shiftKey ?
|
|
9176
|
+
oe.preventDefault(), oe.key === "Enter" && i.current[w].querySelector("a").click(), oe.key === "Tab" && (oe.shiftKey ? _ ? document.getElementById("workspace-filter").focus() : v(!1) : n ? h.current.querySelector("a").focus() : v(!1));
|
|
9183
9177
|
}, N = /* @__PURE__ */ e.createElement("div", { className: `${y}__button-content` }, /* @__PURE__ */ e.createElement(
|
|
9184
9178
|
X2,
|
|
9185
9179
|
{
|
|
@@ -9202,7 +9196,7 @@ const M4 = (d) => {
|
|
|
9202
9196
|
iconSize: "md",
|
|
9203
9197
|
className: `${y}__trigger-icon`
|
|
9204
9198
|
}
|
|
9205
|
-
), K =
|
|
9199
|
+
), K = _ && /* @__PURE__ */ e.createElement("div", { className: `${y}__filter` }, /* @__PURE__ */ e.createElement(
|
|
9206
9200
|
T1,
|
|
9207
9201
|
{
|
|
9208
9202
|
hasClearButton: !0,
|
|
@@ -9288,7 +9282,7 @@ const M4 = (d) => {
|
|
|
9288
9282
|
"aria-expanded",
|
|
9289
9283
|
re.getAttribute("aria-expanded") === "true" ? "false" : "true"
|
|
9290
9284
|
), re.nextElementSibling.classList.toggle(`${y}__mobile-menu--expanded`);
|
|
9291
|
-
},
|
|
9285
|
+
}, Ee = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
9292
9286
|
"button",
|
|
9293
9287
|
{
|
|
9294
9288
|
className: `${y}__toggle`,
|
|
@@ -9313,13 +9307,13 @@ const M4 = (d) => {
|
|
|
9313
9307
|
H({
|
|
9314
9308
|
className: x([y, M, m])
|
|
9315
9309
|
}, g),
|
|
9316
|
-
k ?
|
|
9310
|
+
k ? Ee : ie
|
|
9317
9311
|
);
|
|
9318
9312
|
}, Gt = {
|
|
9319
9313
|
info: "circleInfo",
|
|
9320
9314
|
warning: "triangleExclamation",
|
|
9321
9315
|
critical: "diamondExclamation"
|
|
9322
|
-
},
|
|
9316
|
+
}, a4 = (a) => {
|
|
9323
9317
|
var o = a, {
|
|
9324
9318
|
banners: t,
|
|
9325
9319
|
dismissLabel: n = "Dismiss",
|
|
@@ -9346,7 +9340,7 @@ const M4 = (d) => {
|
|
|
9346
9340
|
const p = m.length;
|
|
9347
9341
|
if (p === 0)
|
|
9348
9342
|
return null;
|
|
9349
|
-
const d = "pds-banner",
|
|
9343
|
+
const d = "pds-banner", E = p > 1 ? `${d}-group--multiple` : null, v = {
|
|
9350
9344
|
info: `${d}--info`,
|
|
9351
9345
|
warning: `${d}--warning`,
|
|
9352
9346
|
critical: `${d}--critical`
|
|
@@ -9365,7 +9359,7 @@ const M4 = (d) => {
|
|
|
9365
9359
|
L[0]
|
|
9366
9360
|
]);
|
|
9367
9361
|
}, 200);
|
|
9368
|
-
},
|
|
9362
|
+
}, _ = () => {
|
|
9369
9363
|
i(), document.getElementById(m[0].id).style.zIndex = (T2 + 2).toString(), document.getElementById(m[p - 1].id).style.zIndex = (T2 + 1).toString(), setTimeout(() => {
|
|
9370
9364
|
document.getElementById(m[0].id).classList.add(`${d}--fading`);
|
|
9371
9365
|
}, 50), setTimeout(() => {
|
|
@@ -9423,7 +9417,7 @@ const M4 = (d) => {
|
|
|
9423
9417
|
className: x([
|
|
9424
9418
|
`${d}-group`,
|
|
9425
9419
|
b,
|
|
9426
|
-
|
|
9420
|
+
E,
|
|
9427
9421
|
u != null ? u : ""
|
|
9428
9422
|
])
|
|
9429
9423
|
}, l),
|
|
@@ -9434,7 +9428,7 @@ const M4 = (d) => {
|
|
|
9434
9428
|
size: "lg",
|
|
9435
9429
|
className: `${d}__nav-button ${d}__nav-button--prev`,
|
|
9436
9430
|
ariaLabel: c,
|
|
9437
|
-
onClick:
|
|
9431
|
+
onClick: _
|
|
9438
9432
|
}
|
|
9439
9433
|
), /* @__PURE__ */ e.createElement(
|
|
9440
9434
|
H2,
|
|
@@ -9452,7 +9446,7 @@ const M4 = (d) => {
|
|
|
9452
9446
|
warning: "triangleExclamation",
|
|
9453
9447
|
success: "circleCheck",
|
|
9454
9448
|
critical: "diamondExclamation"
|
|
9455
|
-
},
|
|
9449
|
+
}, c4 = (l) => {
|
|
9456
9450
|
var a = l, {
|
|
9457
9451
|
title: t,
|
|
9458
9452
|
secondaryText: n,
|
|
@@ -9479,7 +9473,7 @@ const M4 = (d) => {
|
|
|
9479
9473
|
info: `${o}--info`,
|
|
9480
9474
|
critical: `${o}--critical`,
|
|
9481
9475
|
working: `${o}--working`
|
|
9482
|
-
}, g = t ? `${o}--hasTitle` : null, d = ["critical", "warning"].includes(s) ? "alert" : "status",
|
|
9476
|
+
}, g = t ? `${o}--hasTitle` : null, d = ["critical", "warning"].includes(s) ? "alert" : "status", E = `${c[s]}: `;
|
|
9483
9477
|
return /* @__PURE__ */ e.createElement(
|
|
9484
9478
|
"div",
|
|
9485
9479
|
H({
|
|
@@ -9492,7 +9486,7 @@ const M4 = (d) => {
|
|
|
9492
9486
|
iconName: `${s}` in q2 ? q2[s] : q2.info,
|
|
9493
9487
|
iconSize: "md"
|
|
9494
9488
|
}
|
|
9495
|
-
)), /* @__PURE__ */ e.createElement("div", { className: `${o}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" },
|
|
9489
|
+
)), /* @__PURE__ */ e.createElement("div", { className: `${o}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, E), t && /* @__PURE__ */ e.createElement("div", { className: `${o}__title` }, t), /* @__PURE__ */ e.createElement("div", { className: `${o}__secondaryText` }, n)))
|
|
9496
9490
|
);
|
|
9497
9491
|
}, W2 = {
|
|
9498
9492
|
info: "circleInfo",
|
|
@@ -9500,7 +9494,7 @@ const M4 = (d) => {
|
|
|
9500
9494
|
success: "circleCheck",
|
|
9501
9495
|
critical: "diamondExclamation",
|
|
9502
9496
|
discovery: "squareQuestion"
|
|
9503
|
-
},
|
|
9497
|
+
}, r4 = (g) => {
|
|
9504
9498
|
var p = g, {
|
|
9505
9499
|
dismissLabel: t = "Dismiss",
|
|
9506
9500
|
id: n,
|
|
@@ -9528,22 +9522,22 @@ const M4 = (d) => {
|
|
|
9528
9522
|
"typeLabels",
|
|
9529
9523
|
"className"
|
|
9530
9524
|
]);
|
|
9531
|
-
const d = ce(null),
|
|
9532
|
-
error: `${
|
|
9533
|
-
success: `${
|
|
9534
|
-
warning: `${
|
|
9535
|
-
info: `${
|
|
9536
|
-
critical: `${
|
|
9537
|
-
discovery: `${
|
|
9538
|
-
dismissing: `${
|
|
9539
|
-
dismissed: `${
|
|
9540
|
-
}, w = u ? `${
|
|
9525
|
+
const d = ce(null), E = "pds-section-message", v = {
|
|
9526
|
+
error: `${E}--error`,
|
|
9527
|
+
success: `${E}--success`,
|
|
9528
|
+
warning: `${E}--warning`,
|
|
9529
|
+
info: `${E}--info`,
|
|
9530
|
+
critical: `${E}--critical`,
|
|
9531
|
+
discovery: `${E}--discovery`,
|
|
9532
|
+
dismissing: `${E}--dismissing`,
|
|
9533
|
+
dismissed: `${E}--dismissed`
|
|
9534
|
+
}, w = u ? `${E}--hasTitle` : null, C = ["critical", "warning"].includes(l) ? "alert" : "status", f = `${a[l]}: `, i = () => {
|
|
9541
9535
|
d.current.addEventListener("animationend", h, {
|
|
9542
9536
|
once: !0
|
|
9543
9537
|
});
|
|
9544
9538
|
}, h = ($) => {
|
|
9545
9539
|
c($, n);
|
|
9546
|
-
},
|
|
9540
|
+
}, _ = () => {
|
|
9547
9541
|
i(), d.current.classList.toggle(v.dismissing), setTimeout(() => {
|
|
9548
9542
|
d.current.classList.toggle(v.dismissing), d.current.classList.toggle(v.dismissed);
|
|
9549
9543
|
}, 400);
|
|
@@ -9551,23 +9545,23 @@ const M4 = (d) => {
|
|
|
9551
9545
|
return /* @__PURE__ */ e.createElement(
|
|
9552
9546
|
"div",
|
|
9553
9547
|
H({
|
|
9554
|
-
className: [
|
|
9548
|
+
className: [E, v[l], w, o != null ? o : ""].join(" ").trim().replace(/\s+/g, " "),
|
|
9555
9549
|
id: n,
|
|
9556
9550
|
ref: d,
|
|
9557
9551
|
role: C
|
|
9558
9552
|
}, m),
|
|
9559
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
9553
|
+
/* @__PURE__ */ e.createElement("div", { className: `${E}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${E}__icon ${E}__icon-${l}` }, /* @__PURE__ */ e.createElement(
|
|
9560
9554
|
j,
|
|
9561
9555
|
{
|
|
9562
9556
|
iconName: `${l}` in W2 ? W2[l] : W2.info,
|
|
9563
9557
|
iconSize: "md"
|
|
9564
9558
|
}
|
|
9565
|
-
)), /* @__PURE__ */ e.createElement("div", { className: `${
|
|
9559
|
+
)), /* @__PURE__ */ e.createElement("div", { className: `${E}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, f), u && /* @__PURE__ */ e.createElement("div", { className: `${E}__title` }, u), /* @__PURE__ */ e.createElement("div", { className: `${E}__message` }, r))),
|
|
9566
9560
|
s && /* @__PURE__ */ e.createElement(
|
|
9567
9561
|
"button",
|
|
9568
9562
|
{
|
|
9569
|
-
className: `${
|
|
9570
|
-
onClick:
|
|
9563
|
+
className: `${E}__dismiss`,
|
|
9564
|
+
onClick: _,
|
|
9571
9565
|
"aria-label": t,
|
|
9572
9566
|
role: "button",
|
|
9573
9567
|
type: "button"
|
|
@@ -9618,7 +9612,7 @@ const M4 = (d) => {
|
|
|
9618
9612
|
)),
|
|
9619
9613
|
/* @__PURE__ */ e.createElement("div", { className: `${u}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, a), t)
|
|
9620
9614
|
);
|
|
9621
|
-
},
|
|
9615
|
+
}, o4 = ({
|
|
9622
9616
|
autoCloseDuration: t = 5e3,
|
|
9623
9617
|
limit: n = 5,
|
|
9624
9618
|
position: s = "bottom-right",
|
|
@@ -9641,7 +9635,7 @@ const M4 = (d) => {
|
|
|
9641
9635
|
));
|
|
9642
9636
|
};
|
|
9643
9637
|
var Xt = /* @__PURE__ */ ((t) => (t.Critical = "critical", t.Warning = "warning", t.Working = "working", t.Success = "success", t.Info = "info", t))(Xt || {});
|
|
9644
|
-
const
|
|
9638
|
+
const i4 = () => {
|
|
9645
9639
|
const t = (s, c, r = {}) => {
|
|
9646
9640
|
const u = /* @__PURE__ */ e.createElement(Kt, { type: s }, c);
|
|
9647
9641
|
let l = H({}, r);
|
|
@@ -9676,27 +9670,27 @@ const on = () => {
|
|
|
9676
9670
|
u
|
|
9677
9671
|
), p = m > 2, d = g < u - 2;
|
|
9678
9672
|
if (!p && d) {
|
|
9679
|
-
const
|
|
9680
|
-
return [...b2(1,
|
|
9673
|
+
const E = 3 + 2 * t;
|
|
9674
|
+
return [...b2(1, E), f2, u];
|
|
9681
9675
|
}
|
|
9682
9676
|
if (p && !d) {
|
|
9683
|
-
const
|
|
9684
|
-
u -
|
|
9677
|
+
const E = 3 + 2 * t, v = b2(
|
|
9678
|
+
u - E + 1,
|
|
9685
9679
|
u
|
|
9686
9680
|
);
|
|
9687
9681
|
return [a, f2, ...v];
|
|
9688
9682
|
}
|
|
9689
9683
|
if (p && d) {
|
|
9690
|
-
const
|
|
9684
|
+
const E = b2(m, g);
|
|
9691
9685
|
return [
|
|
9692
9686
|
a,
|
|
9693
9687
|
f2,
|
|
9694
|
-
...
|
|
9688
|
+
...E,
|
|
9695
9689
|
f2,
|
|
9696
9690
|
o
|
|
9697
9691
|
];
|
|
9698
9692
|
}
|
|
9699
|
-
}, [c, s, t, n]),
|
|
9693
|
+
}, [c, s, t, n]), d4 = (g) => {
|
|
9700
9694
|
var p = g, {
|
|
9701
9695
|
bufferCount: t = 1,
|
|
9702
9696
|
currentPage: n,
|
|
@@ -9726,7 +9720,7 @@ const on = () => {
|
|
|
9726
9720
|
totalItemCount: a,
|
|
9727
9721
|
bufferCount: t,
|
|
9728
9722
|
itemsPerPage: r
|
|
9729
|
-
}),
|
|
9723
|
+
}), E = d[d.length - 1], v = () => {
|
|
9730
9724
|
l(n + 1);
|
|
9731
9725
|
}, w = () => {
|
|
9732
9726
|
l(n - 1);
|
|
@@ -9766,17 +9760,17 @@ const on = () => {
|
|
|
9766
9760
|
},
|
|
9767
9761
|
/* @__PURE__ */ e.createElement(j, { iconName: "arrowLeft" })
|
|
9768
9762
|
)
|
|
9769
|
-
), d.map((h,
|
|
9763
|
+
), d.map((h, _) => h === f2 ? /* @__PURE__ */ e.createElement(
|
|
9770
9764
|
"li",
|
|
9771
9765
|
{
|
|
9772
|
-
key:
|
|
9766
|
+
key: _,
|
|
9773
9767
|
className: x([C, `${C}--truncated`])
|
|
9774
9768
|
},
|
|
9775
9769
|
/* @__PURE__ */ e.createElement("span", null, "…")
|
|
9776
9770
|
) : /* @__PURE__ */ e.createElement(
|
|
9777
9771
|
"li",
|
|
9778
9772
|
{
|
|
9779
|
-
key:
|
|
9773
|
+
key: _,
|
|
9780
9774
|
className: x([
|
|
9781
9775
|
C,
|
|
9782
9776
|
n === h ? f : void 0
|
|
@@ -9797,22 +9791,22 @@ const on = () => {
|
|
|
9797
9791
|
className: x([
|
|
9798
9792
|
C,
|
|
9799
9793
|
`${C}--next`,
|
|
9800
|
-
n ===
|
|
9794
|
+
n === E ? i : void 0
|
|
9801
9795
|
])
|
|
9802
9796
|
},
|
|
9803
9797
|
/* @__PURE__ */ e.createElement(
|
|
9804
9798
|
"button",
|
|
9805
9799
|
{
|
|
9806
|
-
"aria-disabled": n ===
|
|
9800
|
+
"aria-disabled": n === E ? !0 : void 0,
|
|
9807
9801
|
"aria-label": u.next,
|
|
9808
|
-
onClick: n ===
|
|
9802
|
+
onClick: n === E ? void 0 : v,
|
|
9809
9803
|
type: "button"
|
|
9810
9804
|
},
|
|
9811
9805
|
/* @__PURE__ */ e.createElement(j, { iconName: "arrowRight" })
|
|
9812
9806
|
)
|
|
9813
9807
|
))
|
|
9814
9808
|
);
|
|
9815
|
-
}, h1 = 0,
|
|
9809
|
+
}, h1 = 0, m4 = (l) => {
|
|
9816
9810
|
var a = l, {
|
|
9817
9811
|
children: t,
|
|
9818
9812
|
id: n,
|
|
@@ -9828,13 +9822,13 @@ const on = () => {
|
|
|
9828
9822
|
]);
|
|
9829
9823
|
const [o, m] = X(s), p = ce(
|
|
9830
9824
|
n || `expansion-panel-${l2()}`
|
|
9831
|
-
).current, d = "pds-expansion-panel",
|
|
9825
|
+
).current, d = "pds-expansion-panel", E = ce(null), v = ce(null), w = ce(null);
|
|
9832
9826
|
return ae(() => {
|
|
9833
|
-
const b =
|
|
9827
|
+
const b = E.current, C = v.current, f = w.current;
|
|
9834
9828
|
if (!b || !C || !f) return;
|
|
9835
|
-
let i = null, h = !1,
|
|
9829
|
+
let i = null, h = !1, _ = !1;
|
|
9836
9830
|
const $ = (z) => {
|
|
9837
|
-
z.preventDefault(), b.style.overflow = "hidden", h || !b.open ? k() : (
|
|
9831
|
+
z.preventDefault(), b.style.overflow = "hidden", h || !b.open ? k() : (_ || b.open) && L();
|
|
9838
9832
|
}, L = () => {
|
|
9839
9833
|
h = !0, m(!1);
|
|
9840
9834
|
const z = `${b.offsetHeight}px`, S = `${C.offsetHeight}px`;
|
|
@@ -9848,7 +9842,7 @@ const on = () => {
|
|
|
9848
9842
|
}, k = () => {
|
|
9849
9843
|
b.style.height = `${b.offsetHeight}px`, b.open = !0, m(!0), requestAnimationFrame(() => y());
|
|
9850
9844
|
}, y = () => {
|
|
9851
|
-
|
|
9845
|
+
_ = !0;
|
|
9852
9846
|
const z = `${b.offsetHeight}px`, S = `${C.offsetHeight + f.offsetHeight}px`;
|
|
9853
9847
|
i && i.cancel(), i = b.animate(
|
|
9854
9848
|
{ height: [z, S] },
|
|
@@ -9856,9 +9850,9 @@ const on = () => {
|
|
|
9856
9850
|
duration: h1,
|
|
9857
9851
|
easing: Oe
|
|
9858
9852
|
}
|
|
9859
|
-
), i.onfinish = () => M(!0), i.oncancel = () =>
|
|
9853
|
+
), i.onfinish = () => M(!0), i.oncancel = () => _ = !1;
|
|
9860
9854
|
}, M = (z) => {
|
|
9861
|
-
b.open = z, i = null, h = !1,
|
|
9855
|
+
b.open = z, i = null, h = !1, _ = !1, b.style.height = b.style.overflow = "";
|
|
9862
9856
|
};
|
|
9863
9857
|
return C.addEventListener("click", $), () => C.removeEventListener("click", $);
|
|
9864
9858
|
}, []), /* @__PURE__ */ e.createElement("div", H({ className: x([d, r]) }, u), /* @__PURE__ */ e.createElement(
|
|
@@ -9867,7 +9861,7 @@ const on = () => {
|
|
|
9867
9861
|
key: p,
|
|
9868
9862
|
id: p,
|
|
9869
9863
|
open: s,
|
|
9870
|
-
ref:
|
|
9864
|
+
ref: E
|
|
9871
9865
|
},
|
|
9872
9866
|
/* @__PURE__ */ e.createElement("summary", { ref: v }, /* @__PURE__ */ e.createElement("span", null, c), /* @__PURE__ */ e.createElement(
|
|
9873
9867
|
j,
|
|
@@ -9878,7 +9872,7 @@ const on = () => {
|
|
|
9878
9872
|
)),
|
|
9879
9873
|
/* @__PURE__ */ e.createElement("div", { className: `${d}__content`, ref: w }, t)
|
|
9880
9874
|
));
|
|
9881
|
-
},
|
|
9875
|
+
}, u4 = (r) => {
|
|
9882
9876
|
var u = r, {
|
|
9883
9877
|
children: t,
|
|
9884
9878
|
displayType: n = "standard",
|
|
@@ -9896,7 +9890,7 @@ const on = () => {
|
|
|
9896
9890
|
}, c),
|
|
9897
9891
|
t
|
|
9898
9892
|
);
|
|
9899
|
-
},
|
|
9893
|
+
}, p4 = (a) => {
|
|
9900
9894
|
var o = a, {
|
|
9901
9895
|
children: t,
|
|
9902
9896
|
hasStatusIndicator: n = !1,
|
|
@@ -9912,16 +9906,16 @@ const on = () => {
|
|
|
9912
9906
|
"variant",
|
|
9913
9907
|
"className"
|
|
9914
9908
|
]);
|
|
9915
|
-
const m = "pds-panel", g = n ? `${m}__status ${m}__status-${c}` : null, p = `${m}--${r}`, d = `${m}__content`,
|
|
9909
|
+
const m = "pds-panel", g = n ? `${m}__status ${m}__status-${c}` : null, p = `${m}--${r}`, d = `${m}__content`, E = s !== "standard" ? `${d}--pad-${s}` : null;
|
|
9916
9910
|
return /* @__PURE__ */ e.createElement(
|
|
9917
9911
|
"div",
|
|
9918
9912
|
H({
|
|
9919
9913
|
className: [m, p, u != null ? u : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
9920
9914
|
}, l),
|
|
9921
9915
|
n && c && /* @__PURE__ */ e.createElement("span", { className: g }),
|
|
9922
|
-
/* @__PURE__ */ e.createElement("div", { className: x([d,
|
|
9916
|
+
/* @__PURE__ */ e.createElement("div", { className: x([d, E]) }, t)
|
|
9923
9917
|
);
|
|
9924
|
-
},
|
|
9918
|
+
}, h4 = (u) => {
|
|
9925
9919
|
var l = u, {
|
|
9926
9920
|
background: t = "default",
|
|
9927
9921
|
children: n,
|
|
@@ -9946,7 +9940,7 @@ const on = () => {
|
|
|
9946
9940
|
}, r),
|
|
9947
9941
|
n
|
|
9948
9942
|
);
|
|
9949
|
-
}, f1 = 0,
|
|
9943
|
+
}, f1 = 0, f4 = (u) => {
|
|
9950
9944
|
var l = u, {
|
|
9951
9945
|
children: t,
|
|
9952
9946
|
className: n,
|
|
@@ -9958,7 +9952,7 @@ const on = () => {
|
|
|
9958
9952
|
"isExpandable",
|
|
9959
9953
|
"expandButtonAriaLabel"
|
|
9960
9954
|
]);
|
|
9961
|
-
const a = "pds-panel-row", [o, m] = X(!1), g = ce(null), p = ce(null), d = Pe(t),
|
|
9955
|
+
const a = "pds-panel-row", [o, m] = X(!1), g = ce(null), p = ce(null), d = Pe(t), E = d["items-left"], v = d["items-right"], w = d["items-below"], b = () => {
|
|
9962
9956
|
const C = p.current, f = g.current;
|
|
9963
9957
|
if (!C || !f) return;
|
|
9964
9958
|
const i = !o;
|
|
@@ -10015,7 +10009,7 @@ const on = () => {
|
|
|
10015
10009
|
s ? "is-expandable" : ""
|
|
10016
10010
|
])
|
|
10017
10011
|
},
|
|
10018
|
-
|
|
10012
|
+
E && /* @__PURE__ */ e.createElement("div", { className: `${a}__items ${a}__items--left` }, E),
|
|
10019
10013
|
v && /* @__PURE__ */ e.createElement("div", { className: `${a}__items ${a}__items--right` }, v),
|
|
10020
10014
|
s && /* @__PURE__ */ e.createElement(
|
|
10021
10015
|
"button",
|
|
@@ -10044,7 +10038,7 @@ const on = () => {
|
|
|
10044
10038
|
/* @__PURE__ */ e.createElement("div", { className: `${a}__items-inside` }, w)
|
|
10045
10039
|
)
|
|
10046
10040
|
);
|
|
10047
|
-
}, s2 = 8, g1 = 14, Qt = 6,
|
|
10041
|
+
}, s2 = 8, g1 = 14, Qt = 6, g4 = (w) => {
|
|
10048
10042
|
var b = w, {
|
|
10049
10043
|
content: t,
|
|
10050
10044
|
closeButtonLabel: n = "Close",
|
|
@@ -10061,7 +10055,7 @@ const on = () => {
|
|
|
10061
10055
|
setPopoverIsOpen: p = () => {
|
|
10062
10056
|
},
|
|
10063
10057
|
className: d,
|
|
10064
|
-
classNameContainer:
|
|
10058
|
+
classNameContainer: E
|
|
10065
10059
|
} = b, v = O(b, [
|
|
10066
10060
|
"content",
|
|
10067
10061
|
"closeButtonLabel",
|
|
@@ -10085,7 +10079,7 @@ const on = () => {
|
|
|
10085
10079
|
}, [g]), ae(() => {
|
|
10086
10080
|
p(C);
|
|
10087
10081
|
}, [C]);
|
|
10088
|
-
const i = typeof s, h = "pds-popover",
|
|
10082
|
+
const i = typeof s, h = "pds-popover", _ = x([
|
|
10089
10083
|
`${h}__trigger-custom`,
|
|
10090
10084
|
i === "string" ? `${h}__trigger-text` : ""
|
|
10091
10085
|
]), $ = s ? r : 0, L = ce(null), { refs: k, floatingStyles: y, context: M, middlewareData: z } = Se({
|
|
@@ -10128,7 +10122,7 @@ const on = () => {
|
|
|
10128
10122
|
role: "button",
|
|
10129
10123
|
tabIndex: 0
|
|
10130
10124
|
}, F()),
|
|
10131
|
-
s ? /* @__PURE__ */ e.createElement("span", { className:
|
|
10125
|
+
s ? /* @__PURE__ */ e.createElement("span", { className: _ }, s) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, m), /* @__PURE__ */ e.createElement(
|
|
10132
10126
|
j,
|
|
10133
10127
|
{
|
|
10134
10128
|
iconName: o,
|
|
@@ -10146,7 +10140,7 @@ const on = () => {
|
|
|
10146
10140
|
/* @__PURE__ */ e.createElement(
|
|
10147
10141
|
"div",
|
|
10148
10142
|
H({
|
|
10149
|
-
className: x([`${h}__container`,
|
|
10143
|
+
className: x([`${h}__container`, E]),
|
|
10150
10144
|
ref: k.setFloating,
|
|
10151
10145
|
style: y
|
|
10152
10146
|
}, P()),
|
|
@@ -10180,7 +10174,7 @@ const on = () => {
|
|
|
10180
10174
|
success: "--pds-color-status-success-foreground",
|
|
10181
10175
|
warning: "--pds-color-status-warning-foreground",
|
|
10182
10176
|
critical: "--pds-color-status-critical-foreground"
|
|
10183
|
-
},
|
|
10177
|
+
}, C4 = (p) => {
|
|
10184
10178
|
var d = p, {
|
|
10185
10179
|
colorBreakpoints: t = [
|
|
10186
10180
|
{ colorType: "info", percentage: 0 },
|
|
@@ -10207,19 +10201,19 @@ const on = () => {
|
|
|
10207
10201
|
"size",
|
|
10208
10202
|
"className"
|
|
10209
10203
|
]);
|
|
10210
|
-
const
|
|
10204
|
+
const E = n || l2(), v = "pds-progress-bar", w = l ? `${v}__label` : "visually-hidden", b = `${v}__track ${v}__track--${o}`, C = u > 100 ? 100 : u;
|
|
10211
10205
|
let f = "neutral";
|
|
10212
10206
|
t.forEach(($) => {
|
|
10213
10207
|
u >= $.percentage && (f = $.colorType);
|
|
10214
10208
|
});
|
|
10215
|
-
const i = /* @__PURE__ */ e.createElement("div", { className: `${v}__message` }, c), h = c && r === "above",
|
|
10209
|
+
const i = /* @__PURE__ */ e.createElement("div", { className: `${v}__message` }, c), h = c && r === "above", _ = c && r === "below";
|
|
10216
10210
|
return /* @__PURE__ */ e.createElement(
|
|
10217
10211
|
"div",
|
|
10218
10212
|
H({
|
|
10219
10213
|
className: [v, m].join(" ").trim().replace(/\s+/g, " "),
|
|
10220
10214
|
style: { "--bar-percentage": `${C}%` }
|
|
10221
10215
|
}, g),
|
|
10222
|
-
/* @__PURE__ */ e.createElement("div", { id:
|
|
10216
|
+
/* @__PURE__ */ e.createElement("div", { id: E, className: w }, s),
|
|
10223
10217
|
(h || a) && /* @__PURE__ */ e.createElement("div", { className: `${v}__details` }, h && i, a && /* @__PURE__ */ e.createElement(
|
|
10224
10218
|
"div",
|
|
10225
10219
|
{
|
|
@@ -10235,7 +10229,7 @@ const on = () => {
|
|
|
10235
10229
|
"div",
|
|
10236
10230
|
{
|
|
10237
10231
|
role: "progressbar",
|
|
10238
|
-
"aria-labelledby":
|
|
10232
|
+
"aria-labelledby": E,
|
|
10239
10233
|
"aria-valuenow": C,
|
|
10240
10234
|
className: b
|
|
10241
10235
|
},
|
|
@@ -10250,7 +10244,7 @@ const on = () => {
|
|
|
10250
10244
|
}
|
|
10251
10245
|
)
|
|
10252
10246
|
)),
|
|
10253
|
-
|
|
10247
|
+
_ && i
|
|
10254
10248
|
);
|
|
10255
10249
|
}, Jt = (m) => {
|
|
10256
10250
|
var g = m, {
|
|
@@ -10272,12 +10266,12 @@ const on = () => {
|
|
|
10272
10266
|
"size",
|
|
10273
10267
|
"className"
|
|
10274
10268
|
]);
|
|
10275
|
-
const p = t || l2(), d = "pds-progress-ring",
|
|
10269
|
+
const p = t || l2(), d = "pds-progress-ring", E = r ? `${d}__label` : "visually-hidden", v = `${d}__loading-text ${d}__loading-text--${l}`, w = ($) => $ * 16;
|
|
10276
10270
|
let b = w(Dt), C = 7;
|
|
10277
10271
|
l === "sm" && (b = w(Tt), C = C / 1.25), l === "lg" && (b = w(Rt), C = C * 1.25);
|
|
10278
10272
|
const f = b / 2 - C / 2, i = 2 * Math.PI * f, h = i - i * c / 100;
|
|
10279
|
-
let
|
|
10280
|
-
return n ?
|
|
10273
|
+
let _;
|
|
10274
|
+
return n ? _ = n : u ? _ = `${c}%` : _ = "", /* @__PURE__ */ e.createElement(
|
|
10281
10275
|
"div",
|
|
10282
10276
|
H({
|
|
10283
10277
|
className: [d, a].join(" ").trim().replace(/\s+/g, " "),
|
|
@@ -10286,7 +10280,7 @@ const on = () => {
|
|
|
10286
10280
|
"--ring-stroke-dasharray": i
|
|
10287
10281
|
}
|
|
10288
10282
|
}, o),
|
|
10289
|
-
/* @__PURE__ */ e.createElement("div", { id: p, className:
|
|
10283
|
+
/* @__PURE__ */ e.createElement("div", { id: p, className: E }, s),
|
|
10290
10284
|
/* @__PURE__ */ e.createElement(
|
|
10291
10285
|
"div",
|
|
10292
10286
|
{
|
|
@@ -10338,12 +10332,12 @@ const on = () => {
|
|
|
10338
10332
|
dominantBaseline: "middle",
|
|
10339
10333
|
alignmentBaseline: "middle"
|
|
10340
10334
|
},
|
|
10341
|
-
|
|
10335
|
+
_
|
|
10342
10336
|
)
|
|
10343
10337
|
)
|
|
10344
10338
|
)
|
|
10345
10339
|
);
|
|
10346
|
-
},
|
|
10340
|
+
}, E4 = (l) => {
|
|
10347
10341
|
var a = l, {
|
|
10348
10342
|
attribution: t,
|
|
10349
10343
|
image: n,
|
|
@@ -10373,8 +10367,8 @@ const on = () => {
|
|
|
10373
10367
|
), /* @__PURE__ */ e.createElement("div", { className: `${o}__attribution` }, /* @__PURE__ */ e.createElement("span", { className: `${o}__name` }, t.name), t.title && /* @__PURE__ */ e.createElement("span", { className: `${o}__title` }, ", ", t.title), t.org && /* @__PURE__ */ e.createElement("span", { className: `${o}__org` }, ", ", t.org))), /* @__PURE__ */ e.createElement("div", { className: `${o}__icon ${o}__icon--after` }, /* @__PURE__ */ e.createElement(j, { iconName: "quotesRight", iconSize: "4xl" })))
|
|
10374
10368
|
);
|
|
10375
10369
|
};
|
|
10376
|
-
var
|
|
10377
|
-
const
|
|
10370
|
+
var en = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.WORKING = "working", t.CHECKED = "checked", t))(en || {});
|
|
10371
|
+
const _4 = (o) => {
|
|
10378
10372
|
var m = o, {
|
|
10379
10373
|
alignment: t = "left",
|
|
10380
10374
|
componentWidth: n,
|
|
@@ -10400,7 +10394,7 @@ const En = (o) => {
|
|
|
10400
10394
|
checking: "Checking...",
|
|
10401
10395
|
checked: "Last checked",
|
|
10402
10396
|
ariaLabel: "Check for updates"
|
|
10403
|
-
}, c),
|
|
10397
|
+
}, c), E = () => {
|
|
10404
10398
|
switch (g) {
|
|
10405
10399
|
case "default":
|
|
10406
10400
|
return d.checkForUpdates;
|
|
@@ -10408,13 +10402,13 @@ const En = (o) => {
|
|
|
10408
10402
|
return d.checking;
|
|
10409
10403
|
case "checked":
|
|
10410
10404
|
if (r) {
|
|
10411
|
-
const
|
|
10405
|
+
const _ = r instanceof Date ? r : new Date(r), $ = Date.now() - _.getTime(), L = Math.floor($ / 1e3), k = Math.floor(L / 60), y = Math.floor(k / 60), M = Math.floor(y / 24), z = {
|
|
10412
10406
|
year: "numeric",
|
|
10413
10407
|
month: "short",
|
|
10414
10408
|
day: "numeric"
|
|
10415
10409
|
};
|
|
10416
10410
|
let S = "";
|
|
10417
|
-
return M > 7 ? S =
|
|
10411
|
+
return M > 7 ? S = _.toLocaleDateString(
|
|
10418
10412
|
void 0,
|
|
10419
10413
|
z
|
|
10420
10414
|
) : M > 0 && M <= 7 ? S = `${M} day${M !== 1 ? "s" : ""} ago` : y > 0 ? S = `${y} hour${y !== 1 ? "s" : ""} ago` : k > 0 ? S = `${k} minute${k !== 1 ? "s" : ""} ago` : S = `${L} second${L !== 1 ? "s" : ""} ago`, `${d.checked} ${S}`;
|
|
@@ -10432,7 +10426,7 @@ const En = (o) => {
|
|
|
10432
10426
|
"checked"
|
|
10433
10427
|
/* CHECKED */
|
|
10434
10428
|
);
|
|
10435
|
-
} catch (
|
|
10429
|
+
} catch (_) {
|
|
10436
10430
|
p(
|
|
10437
10431
|
"default"
|
|
10438
10432
|
/* DEFAULT */
|
|
@@ -10449,7 +10443,7 @@ const En = (o) => {
|
|
|
10449
10443
|
iconSize: "md",
|
|
10450
10444
|
className: `${w}__icon ${g === "working" ? `${w}__icon--spinning` : ""}`
|
|
10451
10445
|
}
|
|
10452
|
-
)), h = /* @__PURE__ */ e.createElement("span", { className: `${w}__label` },
|
|
10446
|
+
)), h = /* @__PURE__ */ e.createElement("span", { className: `${w}__label` }, E());
|
|
10453
10447
|
return /* @__PURE__ */ e.createElement(
|
|
10454
10448
|
"div",
|
|
10455
10449
|
H({
|
|
@@ -10478,7 +10472,7 @@ const En = (o) => {
|
|
|
10478
10472
|
t === "left" && h
|
|
10479
10473
|
)
|
|
10480
10474
|
);
|
|
10481
|
-
},
|
|
10475
|
+
}, v4 = (u) => {
|
|
10482
10476
|
var l = u, {
|
|
10483
10477
|
siteName: t,
|
|
10484
10478
|
sitePlanLevel: n,
|
|
@@ -10528,7 +10522,7 @@ const En = (o) => {
|
|
|
10528
10522
|
url: "https://www.youtube.com/user/GetPantheon",
|
|
10529
10523
|
label: "Pantheon on YouTube"
|
|
10530
10524
|
}
|
|
10531
|
-
},
|
|
10525
|
+
}, b4 = (c) => {
|
|
10532
10526
|
var r = c, {
|
|
10533
10527
|
linkItems: t = ["facebook", "x", "bluesky", "linkedin", "youtube", "instagram"],
|
|
10534
10528
|
className: n
|
|
@@ -10553,7 +10547,7 @@ const En = (o) => {
|
|
|
10553
10547
|
/* @__PURE__ */ e.createElement(j, { iconName: G2[l].icon, iconSize: "xl" })
|
|
10554
10548
|
)))
|
|
10555
10549
|
);
|
|
10556
|
-
}, $
|
|
10550
|
+
}, $4 = (u) => {
|
|
10557
10551
|
var l = u, {
|
|
10558
10552
|
label: t = null,
|
|
10559
10553
|
size: n = "md",
|
|
@@ -10581,7 +10575,7 @@ const En = (o) => {
|
|
|
10581
10575
|
) : /* @__PURE__ */ e.createElement("span", { className: `${a}__icon`, role: "img", "aria-hidden": "true" }),
|
|
10582
10576
|
t && /* @__PURE__ */ e.createElement("span", { className: "pds-status-indicator__label" }, t)
|
|
10583
10577
|
);
|
|
10584
|
-
},
|
|
10578
|
+
}, w4 = (r) => {
|
|
10585
10579
|
var u = r, {
|
|
10586
10580
|
steps: t,
|
|
10587
10581
|
translatableLabels: n = {
|
|
@@ -10598,14 +10592,14 @@ const En = (o) => {
|
|
|
10598
10592
|
]);
|
|
10599
10593
|
const l = "pds-stepper", a = "pds-stepper-mobile", o = ce(), [m] = x2(o), g = m.width, p = Number(
|
|
10600
10594
|
getComputedStyle(document.body).getPropertyValue("--pds-stepper-step-content-width").replace("rem", "")
|
|
10601
|
-
) * 16, d = -40,
|
|
10602
|
-
const
|
|
10595
|
+
) * 16, d = -40, E = 2, v = 5, w = t.length, b = t.map((i) => i.isCurrent).lastIndexOf(!0), C = t.map((i, h) => {
|
|
10596
|
+
const _ = h + 1, $ = h === b, L = h < b, k = i.hasError && $, M = (g - w * p) / (w + (w - 2)), z = p + M * 2, S = p + M, Z = M + d * -1, D = h === 0, W = h === w - 1;
|
|
10603
10597
|
let F = z;
|
|
10604
10598
|
(D || W) && (F = S);
|
|
10605
10599
|
const P = `${l}__step`, U = [P];
|
|
10606
10600
|
$ && U.push(`${P}--current`), L && U.push(`${P}--complete`), k && U.push(`${P}--error`);
|
|
10607
|
-
let Q = `${n.step} ${
|
|
10608
|
-
L && (Q = `${n.step} ${
|
|
10601
|
+
let Q = `${n.step} ${_}`;
|
|
10602
|
+
L && (Q = `${n.step} ${_}, ${n.completed}`), k && (Q = `${n.step} ${_}, ${n.hasError}`);
|
|
10609
10603
|
const J = L ? /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${l}__step-indicator` }, /* @__PURE__ */ e.createElement(
|
|
10610
10604
|
j,
|
|
10611
10605
|
{
|
|
@@ -10636,7 +10630,7 @@ const En = (o) => {
|
|
|
10636
10630
|
key: i.id,
|
|
10637
10631
|
id: i.id,
|
|
10638
10632
|
"aria-label": Q,
|
|
10639
|
-
"aria-posinset":
|
|
10633
|
+
"aria-posinset": _,
|
|
10640
10634
|
"aria-setsize": w,
|
|
10641
10635
|
"aria-current": $ ? "step" : null,
|
|
10642
10636
|
className: U.join(" ").trim().replace(/\s+/g, " "),
|
|
@@ -10662,13 +10656,13 @@ const En = (o) => {
|
|
|
10662
10656
|
)
|
|
10663
10657
|
);
|
|
10664
10658
|
}), f = t.map((i, h) => {
|
|
10665
|
-
const
|
|
10659
|
+
const _ = h + 1, $ = h === b, L = h === w - 1, k = i.hasError && $, y = t[b + 1] ? t[b + 1].label : null;
|
|
10666
10660
|
if ($) {
|
|
10667
|
-
const M = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n.step, " "),
|
|
10661
|
+
const M = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n.step, " "), _, " of ", w), z = _ / w * 100, S = k ? {
|
|
10668
10662
|
"--pds-color-status-info-foreground": "var(--pds-color-status-critical-foreground)"
|
|
10669
10663
|
} : {
|
|
10670
10664
|
"--pds-color-status-info-foreground": "var(--pds-color-brand-primary-default)"
|
|
10671
|
-
}, Z = /* @__PURE__ */ e.createElement("div", { className: "visually-hidden" }, n.step, " ",
|
|
10665
|
+
}, Z = /* @__PURE__ */ e.createElement("div", { className: "visually-hidden" }, n.step, " ", _, ", ", n.hasError);
|
|
10672
10666
|
return /* @__PURE__ */ e.createElement(
|
|
10673
10667
|
"div",
|
|
10674
10668
|
{
|
|
@@ -10697,7 +10691,7 @@ const En = (o) => {
|
|
|
10697
10691
|
);
|
|
10698
10692
|
}
|
|
10699
10693
|
});
|
|
10700
|
-
if (w >=
|
|
10694
|
+
if (w >= E && w <= v)
|
|
10701
10695
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
10702
10696
|
"div",
|
|
10703
10697
|
H({
|
|
@@ -10713,7 +10707,7 @@ const En = (o) => {
|
|
|
10713
10707
|
}, c),
|
|
10714
10708
|
/* @__PURE__ */ e.createElement("div", { className: `${a}__steps` }, f)
|
|
10715
10709
|
));
|
|
10716
|
-
},
|
|
10710
|
+
}, y4 = (r) => {
|
|
10717
10711
|
var u = r, {
|
|
10718
10712
|
headers: t,
|
|
10719
10713
|
rowData: n,
|
|
@@ -10727,14 +10721,14 @@ const En = (o) => {
|
|
|
10727
10721
|
o(a.sort((C, f) => C[b].localeCompare(f[b]))), g({ order: "desc", key: b });
|
|
10728
10722
|
}, d = (b) => {
|
|
10729
10723
|
o(a.sort((C, f) => f[b].localeCompare(C[b]))), g({ order: "asc", key: b });
|
|
10730
|
-
},
|
|
10724
|
+
}, E = (b, C) => {
|
|
10731
10725
|
g(pe(H({}, m), { key: C })), m.order === "asc" ? p(C) : d(C);
|
|
10732
10726
|
}, v = (b, C) => /* @__PURE__ */ e.createElement("tr", { id: C, key: `table-row-${C}` }, b.map((f, i) => /* @__PURE__ */ e.createElement("td", { key: `${C}-cell-${i}` }, /* @__PURE__ */ e.createElement("span", null, f)))), w = "pds-table";
|
|
10733
10727
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("table", H({ className: x([w, s]) }, c), /* @__PURE__ */ e.createElement("thead", null, /* @__PURE__ */ e.createElement("tr", null, l.map((b, C) => /* @__PURE__ */ e.createElement("th", { key: `header-${C}` }, b.sortable ? /* @__PURE__ */ e.createElement("div", { className: `${w}__sort-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
10734
10728
|
"span",
|
|
10735
10729
|
{
|
|
10736
10730
|
className: `${w}__sort-header`,
|
|
10737
|
-
onClick: (f) =>
|
|
10731
|
+
onClick: (f) => E(f, C)
|
|
10738
10732
|
},
|
|
10739
10733
|
b.title
|
|
10740
10734
|
), /* @__PURE__ */ e.createElement(
|
|
@@ -10742,7 +10736,7 @@ const En = (o) => {
|
|
|
10742
10736
|
{
|
|
10743
10737
|
className: `${w}__sort-button`,
|
|
10744
10738
|
title: `Sort by ${b.title}`,
|
|
10745
|
-
onClick: (f) =>
|
|
10739
|
+
onClick: (f) => E(f, C),
|
|
10746
10740
|
type: "button"
|
|
10747
10741
|
},
|
|
10748
10742
|
/* @__PURE__ */ e.createElement(
|
|
@@ -10760,7 +10754,7 @@ const En = (o) => {
|
|
|
10760
10754
|
/* @__PURE__ */ e.createElement(j, { iconName: "caretDown", iconSize: "sm" })
|
|
10761
10755
|
)
|
|
10762
10756
|
)) : /* @__PURE__ */ e.createElement("span", null, b.title))))), /* @__PURE__ */ e.createElement("tbody", null, a.map((b, C) => v(b, C)))));
|
|
10763
|
-
},
|
|
10757
|
+
}, L4 = (m) => {
|
|
10764
10758
|
var g = m, {
|
|
10765
10759
|
appendIds: t = !1,
|
|
10766
10760
|
ariaLabel: n = "Table of contents",
|
|
@@ -10798,11 +10792,11 @@ const En = (o) => {
|
|
|
10798
10792
|
"=",
|
|
10799
10793
|
"|",
|
|
10800
10794
|
"~"
|
|
10801
|
-
],
|
|
10795
|
+
], E = `#${l} h2:not(.${r}), h3:not(.${r})`, v = () => {
|
|
10802
10796
|
const [k, y] = X([]);
|
|
10803
10797
|
return ae(() => {
|
|
10804
10798
|
const M = Array.from(
|
|
10805
|
-
document.querySelectorAll(
|
|
10799
|
+
document.querySelectorAll(E)
|
|
10806
10800
|
);
|
|
10807
10801
|
M.map((S) => {
|
|
10808
10802
|
d.forEach((Z) => {
|
|
@@ -10847,20 +10841,20 @@ const En = (o) => {
|
|
|
10847
10841
|
}, z = new IntersectionObserver(M, {
|
|
10848
10842
|
rootMargin: "0px 0px -20% 0px"
|
|
10849
10843
|
}), S = Array.from(
|
|
10850
|
-
document.querySelectorAll(
|
|
10844
|
+
document.querySelectorAll(E)
|
|
10851
10845
|
);
|
|
10852
10846
|
return S.forEach((Z) => z.observe(Z)), () => z.disconnect();
|
|
10853
10847
|
}, [k]);
|
|
10854
10848
|
})(f);
|
|
10855
10849
|
const h = (k) => {
|
|
10856
10850
|
typeof window != "undefined" && window.location.hash !== `#${k}` && window.history.pushState({}, "", `#${k}`);
|
|
10857
|
-
},
|
|
10851
|
+
}, _ = (k) => {
|
|
10858
10852
|
document.querySelector(`#${k}`).scrollIntoView({
|
|
10859
10853
|
behavior: "smooth",
|
|
10860
10854
|
block: "start"
|
|
10861
10855
|
});
|
|
10862
10856
|
}, $ = (k, y) => {
|
|
10863
|
-
k.preventDefault(), t && h(y),
|
|
10857
|
+
k.preventDefault(), t && h(y), _(y);
|
|
10864
10858
|
}, L = ({ headings: k }) => /* @__PURE__ */ e.createElement("ul", { className: `${p}__list ${p}__list--top-level` }, k.map((y) => /* @__PURE__ */ e.createElement("li", { key: y.id, className: `${p}__list-item` }, /* @__PURE__ */ e.createElement(
|
|
10865
10859
|
"a",
|
|
10866
10860
|
{
|
|
@@ -10905,7 +10899,7 @@ const En = (o) => {
|
|
|
10905
10899
|
),
|
|
10906
10900
|
/* @__PURE__ */ e.createElement(L, { headings: b, activeID: C })
|
|
10907
10901
|
);
|
|
10908
|
-
},
|
|
10902
|
+
}, H4 = (a) => {
|
|
10909
10903
|
var o = a, {
|
|
10910
10904
|
ariaLabel: t,
|
|
10911
10905
|
defaultSelected: n = 0,
|
|
@@ -10932,11 +10926,11 @@ const En = (o) => {
|
|
|
10932
10926
|
const f = parseInt(C, 10);
|
|
10933
10927
|
p(f);
|
|
10934
10928
|
}
|
|
10935
|
-
},
|
|
10929
|
+
}, E = ce([]);
|
|
10936
10930
|
ae(() => {
|
|
10937
10931
|
s(g);
|
|
10938
10932
|
}, [g, s]), ae(() => {
|
|
10939
|
-
const b =
|
|
10933
|
+
const b = E.current.length - 1;
|
|
10940
10934
|
if (g > b) {
|
|
10941
10935
|
p(0);
|
|
10942
10936
|
return;
|
|
@@ -10947,24 +10941,24 @@ const En = (o) => {
|
|
|
10947
10941
|
}, [g]);
|
|
10948
10942
|
const v = (b, C) => {
|
|
10949
10943
|
const f = g;
|
|
10950
|
-
let i =
|
|
10951
|
-
i || (i = C == "next" ?
|
|
10944
|
+
let i = E.current[C === "next" ? f + 1 < E.current.length ? f + 1 : 0 : f - 1 >= 0 ? f - 1 : E.current.length - 1];
|
|
10945
|
+
i || (i = C == "next" ? E.current[b + 1] == null ? E.current[0] : E.current[b + 1] : E.current[b - 1]), i.focus();
|
|
10952
10946
|
}, w = (b) => {
|
|
10953
|
-
const C =
|
|
10947
|
+
const C = E.current.length, f = () => {
|
|
10954
10948
|
v((g + 1) % C, "next"), p(g + 1);
|
|
10955
10949
|
}, i = () => {
|
|
10956
10950
|
v((g - 1 + C) % C, "prev"), p(g - 1);
|
|
10957
10951
|
}, h = () => {
|
|
10958
10952
|
v(0), p(0);
|
|
10959
|
-
},
|
|
10953
|
+
}, _ = () => {
|
|
10960
10954
|
v(C - 1), p(C - 1);
|
|
10961
10955
|
}, $ = () => {
|
|
10962
|
-
|
|
10956
|
+
E.current[g].focus();
|
|
10963
10957
|
}, k = {
|
|
10964
10958
|
ArrowRight: f,
|
|
10965
10959
|
ArrowLeft: i,
|
|
10966
10960
|
Home: h,
|
|
10967
|
-
End:
|
|
10961
|
+
End: _,
|
|
10968
10962
|
Space: $,
|
|
10969
10963
|
Enter: $
|
|
10970
10964
|
}[b.code];
|
|
@@ -10978,53 +10972,53 @@ const En = (o) => {
|
|
|
10978
10972
|
"aria-label": t,
|
|
10979
10973
|
"aria-orientation": "horizontal"
|
|
10980
10974
|
},
|
|
10981
|
-
r.map(({ disabled: b, icon: C, tabId: f, tabLabel: i, tally: h },
|
|
10975
|
+
r.map(({ disabled: b, icon: C, tabId: f, tabLabel: i, tally: h }, _) => /* @__PURE__ */ e.createElement(
|
|
10982
10976
|
"button",
|
|
10983
10977
|
{
|
|
10984
10978
|
className: `${m}__tab`,
|
|
10985
|
-
"aria-selected":
|
|
10986
|
-
"data-tabnumber":
|
|
10979
|
+
"aria-selected": _ == g,
|
|
10980
|
+
"data-tabnumber": _,
|
|
10987
10981
|
role: "tab",
|
|
10988
10982
|
id: f,
|
|
10989
10983
|
onKeyDown: ($) => {
|
|
10990
10984
|
$.preventDefault(), w($);
|
|
10991
10985
|
},
|
|
10992
|
-
key:
|
|
10993
|
-
ref: ($) => b ? null :
|
|
10994
|
-
"aria-controls": `${m}__tab--${
|
|
10995
|
-
tabIndex: g ===
|
|
10986
|
+
key: _,
|
|
10987
|
+
ref: ($) => b ? null : E.current[_] = $,
|
|
10988
|
+
"aria-controls": `${m}__tab--${_}`,
|
|
10989
|
+
tabIndex: g === _ ? 0 : -1,
|
|
10996
10990
|
"aria-disabled": !!b,
|
|
10997
10991
|
onClick: b ? null : d,
|
|
10998
10992
|
type: "button"
|
|
10999
10993
|
},
|
|
11000
|
-
/* @__PURE__ */ e.createElement("div", { key: C, className: `${m}__tab-label` }, C ? /* @__PURE__ */ e.createElement(j, { iconName: C, iconSize: "md" }) : null, " ", i, r[
|
|
10994
|
+
/* @__PURE__ */ e.createElement("div", { key: C, className: `${m}__tab-label` }, C ? /* @__PURE__ */ e.createElement(j, { iconName: C, iconSize: "md" }) : null, " ", i, r[_].tally ? /* @__PURE__ */ e.createElement(w2, { label: h.label, type: h.type }) : null)
|
|
11001
10995
|
))
|
|
11002
|
-
), r.map(({ disabled: b, icon: C, panelContent: f, tabLabel: i, tally: h },
|
|
10996
|
+
), r.map(({ disabled: b, icon: C, panelContent: f, tabLabel: i, tally: h }, _) => /* @__PURE__ */ e.createElement(
|
|
11003
10997
|
"div",
|
|
11004
10998
|
{
|
|
11005
10999
|
className: `${m}__panel`,
|
|
11006
11000
|
role: "tabpanel",
|
|
11007
|
-
key:
|
|
11008
|
-
id: `${m}__tab--${
|
|
11009
|
-
"aria-labelledby": `${m}__tab--${
|
|
11001
|
+
key: _,
|
|
11002
|
+
id: `${m}__tab--${_}`,
|
|
11003
|
+
"aria-labelledby": `${m}__tab--${_}`
|
|
11010
11004
|
},
|
|
11011
11005
|
/* @__PURE__ */ e.createElement(
|
|
11012
11006
|
"button",
|
|
11013
11007
|
{
|
|
11014
11008
|
className: `${m}__trigger`,
|
|
11015
|
-
"aria-selected":
|
|
11009
|
+
"aria-selected": _ == g,
|
|
11016
11010
|
role: "tab",
|
|
11017
|
-
"data-tabnumber":
|
|
11018
|
-
key:
|
|
11011
|
+
"data-tabnumber": _,
|
|
11012
|
+
key: _,
|
|
11019
11013
|
onKeyDown: w,
|
|
11020
11014
|
"aria-disabled": !!b,
|
|
11021
|
-
"aria-controls": `tabpanel_${
|
|
11022
|
-
tabIndex: g ===
|
|
11015
|
+
"aria-controls": `tabpanel_${_}`,
|
|
11016
|
+
tabIndex: g === _ ? 1 : -1,
|
|
11023
11017
|
onClick: b ? null : d,
|
|
11024
11018
|
type: "button"
|
|
11025
11019
|
},
|
|
11026
|
-
/* @__PURE__ */ e.createElement("div", { key: C, className: `${m}__tab-label` }, C ? /* @__PURE__ */ e.createElement(j, { iconSize: "md", iconName: C }) : null, " ", i, r[
|
|
11027
|
-
|
|
11020
|
+
/* @__PURE__ */ e.createElement("div", { key: C, className: `${m}__tab-label` }, C ? /* @__PURE__ */ e.createElement(j, { iconSize: "md", iconName: C }) : null, " ", i, r[_].tally ? /* @__PURE__ */ e.createElement(w2, { label: h.label, type: h.type }) : null),
|
|
11021
|
+
_ == g ? /* @__PURE__ */ e.createElement(
|
|
11028
11022
|
j,
|
|
11029
11023
|
{
|
|
11030
11024
|
iconName: "angleUp",
|
|
@@ -11044,12 +11038,12 @@ const En = (o) => {
|
|
|
11044
11038
|
"section",
|
|
11045
11039
|
{
|
|
11046
11040
|
className: `${m}__panel-content`,
|
|
11047
|
-
hidden:
|
|
11041
|
+
hidden: _ != g
|
|
11048
11042
|
},
|
|
11049
11043
|
f
|
|
11050
11044
|
)
|
|
11051
11045
|
))));
|
|
11052
|
-
},
|
|
11046
|
+
}, E1 = [
|
|
11053
11047
|
"color-1",
|
|
11054
11048
|
"color-2",
|
|
11055
11049
|
"color-3",
|
|
@@ -11070,10 +11064,10 @@ const En = (o) => {
|
|
|
11070
11064
|
"color-18",
|
|
11071
11065
|
"color-19",
|
|
11072
11066
|
"color-20"
|
|
11073
|
-
],
|
|
11067
|
+
], tn = (t) => {
|
|
11074
11068
|
const n = parseInt($1(t), 16);
|
|
11075
|
-
return
|
|
11076
|
-
},
|
|
11069
|
+
return E1[n % E1.length];
|
|
11070
|
+
}, nn = (t, n) => t.length > n ? t.slice(0, n) + " ..." : t, M4 = (o) => {
|
|
11077
11071
|
var m = o, {
|
|
11078
11072
|
linkContent: t,
|
|
11079
11073
|
isRemovable: n,
|
|
@@ -11091,7 +11085,7 @@ const En = (o) => {
|
|
|
11091
11085
|
"tagLabel",
|
|
11092
11086
|
"className"
|
|
11093
11087
|
]);
|
|
11094
|
-
const [g, p] = X(!0), d = "pds-tag",
|
|
11088
|
+
const [g, p] = X(!0), d = "pds-tag", E = r ? `${d}--${r}` : `${d}--${tn(u)}`, v = g ? null : "pds-tag--hide", w = () => {
|
|
11095
11089
|
p((i) => !i);
|
|
11096
11090
|
};
|
|
11097
11091
|
let b, C, f;
|
|
@@ -11100,9 +11094,9 @@ const En = (o) => {
|
|
|
11100
11094
|
H({
|
|
11101
11095
|
href: C === "href" ? f : null,
|
|
11102
11096
|
to: C === "to" ? f : null,
|
|
11103
|
-
className: [d,
|
|
11097
|
+
className: [d, E, v, l].join(" ").trim().replace(/\s+/g, " ")
|
|
11104
11098
|
}, a),
|
|
11105
|
-
/* @__PURE__ */ e.createElement("span", { className: `${d}__label`, title: u },
|
|
11099
|
+
/* @__PURE__ */ e.createElement("span", { className: `${d}__label`, title: u }, nn(u, 20)),
|
|
11106
11100
|
n ? /* @__PURE__ */ e.createElement(
|
|
11107
11101
|
"button",
|
|
11108
11102
|
{
|
|
@@ -11123,7 +11117,7 @@ const En = (o) => {
|
|
|
11123
11117
|
)
|
|
11124
11118
|
) : null
|
|
11125
11119
|
);
|
|
11126
|
-
},
|
|
11120
|
+
}, k4 = (u) => {
|
|
11127
11121
|
var l = u, {
|
|
11128
11122
|
theme: t = "light",
|
|
11129
11123
|
onChange: n,
|
|
@@ -11135,7 +11129,7 @@ const En = (o) => {
|
|
|
11135
11129
|
"translations",
|
|
11136
11130
|
"className"
|
|
11137
11131
|
]);
|
|
11138
|
-
var d,
|
|
11132
|
+
var d, E;
|
|
11139
11133
|
const a = "pds-theme-switcher", [o, m] = X(t != null ? t : "light");
|
|
11140
11134
|
ae(() => {
|
|
11141
11135
|
m(t != null ? t : "system");
|
|
@@ -11182,7 +11176,7 @@ const En = (o) => {
|
|
|
11182
11176
|
I1,
|
|
11183
11177
|
{
|
|
11184
11178
|
id: "theme-switcher-menu",
|
|
11185
|
-
"aria-label": (
|
|
11179
|
+
"aria-label": (E = s.tooltip) != null ? E : "change theme",
|
|
11186
11180
|
label: "",
|
|
11187
11181
|
iconName: p,
|
|
11188
11182
|
menuItems: g,
|
|
@@ -11191,7 +11185,7 @@ const En = (o) => {
|
|
|
11191
11185
|
)
|
|
11192
11186
|
}
|
|
11193
11187
|
));
|
|
11194
|
-
},
|
|
11188
|
+
}, z4 = (c) => {
|
|
11195
11189
|
var r = c, {
|
|
11196
11190
|
listItems: t,
|
|
11197
11191
|
className: n
|
|
@@ -11203,9 +11197,9 @@ const En = (o) => {
|
|
|
11203
11197
|
image: g,
|
|
11204
11198
|
alt: p,
|
|
11205
11199
|
name: d,
|
|
11206
|
-
title:
|
|
11200
|
+
title: E,
|
|
11207
11201
|
org: v
|
|
11208
|
-
}) => /* @__PURE__ */ e.createElement(e.Fragment, null, g && /* @__PURE__ */ e.createElement("div", { className: `${l}__image ${l}__image--avatar` }, /* @__PURE__ */ e.createElement("img", { src: g, alt: p })), d && /* @__PURE__ */ e.createElement("div", { className: `${l}__name` }, d),
|
|
11202
|
+
}) => /* @__PURE__ */ e.createElement(e.Fragment, null, g && /* @__PURE__ */ e.createElement("div", { className: `${l}__image ${l}__image--avatar` }, /* @__PURE__ */ e.createElement("img", { src: g, alt: p })), d && /* @__PURE__ */ e.createElement("div", { className: `${l}__name` }, d), E && /* @__PURE__ */ e.createElement("div", { className: `${l}__title` }, E), v && /* @__PURE__ */ e.createElement("div", { className: `${l}__org` }, v)), o = (g) => $e(g.linkContent) ? Ie(g.linkContent, {
|
|
11209
11203
|
children: /* @__PURE__ */ e.createElement(a, H({}, g)),
|
|
11210
11204
|
className: `${l}__item`
|
|
11211
11205
|
}) : /* @__PURE__ */ e.createElement("span", { className: `${l}__item` }, /* @__PURE__ */ e.createElement(a, H({}, g))), m = () => t.map((g, p) => /* @__PURE__ */ e.createElement(X1, { key: `tile-${p}` }, o(g), /* @__PURE__ */ e.createElement("div", { className: "pds-tile__separator" })));
|
|
@@ -11221,7 +11215,7 @@ const En = (o) => {
|
|
|
11221
11215
|
}, s),
|
|
11222
11216
|
m()
|
|
11223
11217
|
);
|
|
11224
|
-
},
|
|
11218
|
+
}, sn = (o) => {
|
|
11225
11219
|
var m = o, {
|
|
11226
11220
|
displayType: t = "border",
|
|
11227
11221
|
headingLevel: n = "span",
|
|
@@ -11265,7 +11259,7 @@ const En = (o) => {
|
|
|
11265
11259
|
}
|
|
11266
11260
|
)
|
|
11267
11261
|
), /* @__PURE__ */ e.createElement("span", { className: `${g}__separator` }));
|
|
11268
|
-
},
|
|
11262
|
+
}, N4 = (u) => {
|
|
11269
11263
|
var l = u, {
|
|
11270
11264
|
displayType: t = "border",
|
|
11271
11265
|
headingLevel: n = "h2",
|
|
@@ -11284,7 +11278,7 @@ const En = (o) => {
|
|
|
11284
11278
|
className: x([a, o, c != null ? c : ""])
|
|
11285
11279
|
}, r),
|
|
11286
11280
|
s.map((m, g) => /* @__PURE__ */ e.createElement(
|
|
11287
|
-
|
|
11281
|
+
sn,
|
|
11288
11282
|
{
|
|
11289
11283
|
key: g,
|
|
11290
11284
|
displayType: t,
|
|
@@ -11297,7 +11291,7 @@ const En = (o) => {
|
|
|
11297
11291
|
}
|
|
11298
11292
|
))
|
|
11299
11293
|
);
|
|
11300
|
-
},
|
|
11294
|
+
}, x4 = (c) => {
|
|
11301
11295
|
var r = c, {
|
|
11302
11296
|
children: t,
|
|
11303
11297
|
className: n
|
|
@@ -11314,7 +11308,7 @@ const En = (o) => {
|
|
|
11314
11308
|
(m || g) && /* @__PURE__ */ e.createElement("div", { className: `${l}__header` }, m && /* @__PURE__ */ e.createElement("div", { className: `${l}__header-left` }, m), g && /* @__PURE__ */ e.createElement("div", { className: `${l}__header-right` }, g)),
|
|
11315
11309
|
p && p
|
|
11316
11310
|
);
|
|
11317
|
-
},
|
|
11311
|
+
}, V4 = (c) => {
|
|
11318
11312
|
var r = c, {
|
|
11319
11313
|
children: t,
|
|
11320
11314
|
className: n
|
|
@@ -11333,7 +11327,7 @@ const En = (o) => {
|
|
|
11333
11327
|
}, s),
|
|
11334
11328
|
[g, p]
|
|
11335
11329
|
);
|
|
11336
|
-
},
|
|
11330
|
+
}, I4 = (w) => {
|
|
11337
11331
|
var b = w, {
|
|
11338
11332
|
alignContent: t = "flex-start",
|
|
11339
11333
|
alignItems: n = "stretch",
|
|
@@ -11348,7 +11342,7 @@ const En = (o) => {
|
|
|
11348
11342
|
mobileGap: g,
|
|
11349
11343
|
mobileJustifyContent: p,
|
|
11350
11344
|
children: d,
|
|
11351
|
-
className:
|
|
11345
|
+
className: E
|
|
11352
11346
|
} = b, v = O(b, [
|
|
11353
11347
|
"alignContent",
|
|
11354
11348
|
"alignItems",
|
|
@@ -11368,7 +11362,7 @@ const En = (o) => {
|
|
|
11368
11362
|
let f = V1() <= 640;
|
|
11369
11363
|
const i = ve(we);
|
|
11370
11364
|
i && (f = i.isMobile);
|
|
11371
|
-
const h = "pds-flex",
|
|
11365
|
+
const h = "pds-flex", _ = `${h}-container`, $ = f ? `${_}--mobile` : null;
|
|
11372
11366
|
let L = null;
|
|
11373
11367
|
f ? L = `${h}-direction--${o}` : s !== "row" && (L = `${h}-direction--${s}`);
|
|
11374
11368
|
let k = null;
|
|
@@ -11384,7 +11378,7 @@ const En = (o) => {
|
|
|
11384
11378
|
"div",
|
|
11385
11379
|
H({
|
|
11386
11380
|
className: x([
|
|
11387
|
-
|
|
11381
|
+
_,
|
|
11388
11382
|
$,
|
|
11389
11383
|
L,
|
|
11390
11384
|
k,
|
|
@@ -11392,15 +11386,15 @@ const En = (o) => {
|
|
|
11392
11386
|
M,
|
|
11393
11387
|
z,
|
|
11394
11388
|
S,
|
|
11395
|
-
|
|
11389
|
+
E != null ? E : ""
|
|
11396
11390
|
])
|
|
11397
11391
|
}, v),
|
|
11398
11392
|
d
|
|
11399
11393
|
);
|
|
11400
|
-
},
|
|
11394
|
+
}, S4 = ({
|
|
11401
11395
|
children: t,
|
|
11402
11396
|
mobileMenuMaxWidth: n = 640
|
|
11403
|
-
}) => /* @__PURE__ */ e.createElement(ht, { mobileMenuMaxWidth: n }, t),
|
|
11397
|
+
}) => /* @__PURE__ */ e.createElement(ht, { mobileMenuMaxWidth: n }, t), A4 = (a) => {
|
|
11404
11398
|
var o = a, {
|
|
11405
11399
|
children: t,
|
|
11406
11400
|
gridGap: n = "standard",
|
|
@@ -11418,8 +11412,8 @@ const En = (o) => {
|
|
|
11418
11412
|
]);
|
|
11419
11413
|
const m = "pds-sidebar-layout", g = `pds-grid pds-grid--${n}`, p = `${m}--${r}`;
|
|
11420
11414
|
let d = !1;
|
|
11421
|
-
const
|
|
11422
|
-
|
|
11415
|
+
const E = ve(we);
|
|
11416
|
+
E && (d = E.isMobile);
|
|
11423
11417
|
const v = Pe(t);
|
|
11424
11418
|
let w = "pds-grid-item pds-grid-item--md-8 pds-grid-item--lg-9 pds-grid-item--xl-10", b = "pds-grid-item pds-grid-item--md-4 pds-grid-item--lg-3 pds-grid-item--xl-2";
|
|
11425
11419
|
r === "narrow" && (w = "pds-grid-item pds-grid-item--md-9 pds-grid-item--lg-10", b = "pds-grid-item pds-grid-item--md-3 pds-grid-item--lg-2"), r === "wide" && (w = "pds-grid-item pds-grid-item--md-7 pds-grid-item--lg-8", b = "pds-grid-item pds-grid-item--md-5 pds-grid-item--lg-4");
|
|
@@ -11450,7 +11444,7 @@ const En = (o) => {
|
|
|
11450
11444
|
}, l),
|
|
11451
11445
|
d ? c === "before" ? /* @__PURE__ */ e.createElement(e.Fragment, null, f, C) : /* @__PURE__ */ e.createElement(e.Fragment, null, C, f) : s === "left" ? /* @__PURE__ */ e.createElement(e.Fragment, null, f, C) : /* @__PURE__ */ e.createElement(e.Fragment, null, C, f)
|
|
11452
11446
|
);
|
|
11453
|
-
},
|
|
11447
|
+
}, T4 = (c) => {
|
|
11454
11448
|
var r = c, {
|
|
11455
11449
|
children: t,
|
|
11456
11450
|
className: n
|
|
@@ -11472,7 +11466,7 @@ const En = (o) => {
|
|
|
11472
11466
|
},
|
|
11473
11467
|
l
|
|
11474
11468
|
), a && /* @__PURE__ */ e.createElement("div", { className: `${p}__form-container` }, a));
|
|
11475
|
-
},
|
|
11469
|
+
}, D4 = (u) => {
|
|
11476
11470
|
var l = u, {
|
|
11477
11471
|
children: t,
|
|
11478
11472
|
gridGap: n = "standard",
|
|
@@ -11499,16 +11493,16 @@ const En = (o) => {
|
|
|
11499
11493
|
c
|
|
11500
11494
|
])
|
|
11501
11495
|
}, r),
|
|
11502
|
-
p.map((d,
|
|
11496
|
+
p.map((d, E) => /* @__PURE__ */ e.createElement(
|
|
11503
11497
|
"div",
|
|
11504
11498
|
{
|
|
11505
|
-
key:
|
|
11499
|
+
key: E,
|
|
11506
11500
|
className: "pds-grid-item pds-grid-item--sm-12 pds-grid-item--md-4 pds-grid-item--lg-4"
|
|
11507
11501
|
},
|
|
11508
11502
|
d
|
|
11509
11503
|
))
|
|
11510
11504
|
);
|
|
11511
|
-
},
|
|
11505
|
+
}, R4 = (l) => {
|
|
11512
11506
|
var a = l, {
|
|
11513
11507
|
children: t,
|
|
11514
11508
|
gridGap: n = "standard",
|
|
@@ -11522,17 +11516,17 @@ const En = (o) => {
|
|
|
11522
11516
|
"verticalAlign",
|
|
11523
11517
|
"className"
|
|
11524
11518
|
]);
|
|
11525
|
-
const o = "pds-two-item-layout", m = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, g = `${o}--${c}`, p = ["pds-grid-item--md-6"], d = ["pds-grid-item--md-4", "pds-grid-item--lg-3"],
|
|
11519
|
+
const o = "pds-two-item-layout", m = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, g = `${o}--${c}`, p = ["pds-grid-item--md-6"], d = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], E = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], v = ["pds-grid-item", "pds-grid-item--sm-4"];
|
|
11526
11520
|
let w, b;
|
|
11527
11521
|
switch (s) {
|
|
11528
11522
|
case "equal":
|
|
11529
11523
|
w = v.concat(p), b = v.concat(p);
|
|
11530
11524
|
break;
|
|
11531
11525
|
case "one-third-start":
|
|
11532
|
-
w = v.concat(d), b = v.concat(
|
|
11526
|
+
w = v.concat(d), b = v.concat(E);
|
|
11533
11527
|
break;
|
|
11534
11528
|
case "one-third-end":
|
|
11535
|
-
w = v.concat(
|
|
11529
|
+
w = v.concat(E), b = v.concat(d);
|
|
11536
11530
|
}
|
|
11537
11531
|
const C = Pe(t), f = C["first-item"], i = C["second-item"];
|
|
11538
11532
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -11548,7 +11542,7 @@ const En = (o) => {
|
|
|
11548
11542
|
/* @__PURE__ */ e.createElement("div", { className: w.join(" ").trim() }, f),
|
|
11549
11543
|
/* @__PURE__ */ e.createElement("div", { className: b.join(" ").trim() }, i)
|
|
11550
11544
|
);
|
|
11551
|
-
},
|
|
11545
|
+
}, O4 = (t, n) => {
|
|
11552
11546
|
const [s, c] = X(!1), r = j2(
|
|
11553
11547
|
(l) => {
|
|
11554
11548
|
l.key === t && (c(!0), n && n(l));
|
|
@@ -11566,125 +11560,125 @@ const En = (o) => {
|
|
|
11566
11560
|
};
|
|
11567
11561
|
export {
|
|
11568
11562
|
X2 as Avatar,
|
|
11569
|
-
|
|
11570
|
-
|
|
11571
|
-
|
|
11572
|
-
|
|
11563
|
+
z4 as AvatarTileList,
|
|
11564
|
+
a4 as Banner,
|
|
11565
|
+
En as BranchDiff,
|
|
11566
|
+
Un as Breadcrumb,
|
|
11573
11567
|
C2 as Button,
|
|
11574
11568
|
L2 as ButtonLink,
|
|
11575
|
-
|
|
11569
|
+
Gn as ButtonNav,
|
|
11576
11570
|
kt as CTALink,
|
|
11577
|
-
|
|
11578
|
-
|
|
11571
|
+
Nn as CTASlice,
|
|
11572
|
+
bn as Callout,
|
|
11579
11573
|
I2 as Card,
|
|
11580
11574
|
S1 as CardHeading,
|
|
11581
|
-
|
|
11575
|
+
$n as CardSelectGroup,
|
|
11582
11576
|
Nt as Checkbox,
|
|
11583
|
-
|
|
11584
|
-
|
|
11577
|
+
Tn as CheckboxFieldset,
|
|
11578
|
+
Dn as CheckboxGroup,
|
|
11585
11579
|
pt as ClipboardButton,
|
|
11586
11580
|
x1 as CloseButton,
|
|
11587
|
-
|
|
11581
|
+
kn as CodeBlock,
|
|
11588
11582
|
xt as Combobox,
|
|
11589
|
-
|
|
11590
|
-
|
|
11583
|
+
Rn as ComboboxMultiselect,
|
|
11584
|
+
zn as CompactEmptyState,
|
|
11591
11585
|
m1 as ComparisonList,
|
|
11592
11586
|
h2 as Container,
|
|
11593
11587
|
S2 as DashboardContext,
|
|
11594
|
-
|
|
11595
|
-
|
|
11596
|
-
|
|
11597
|
-
|
|
11598
|
-
|
|
11599
|
-
|
|
11588
|
+
jn as DashboardGlobal,
|
|
11589
|
+
x4 as DashboardInner,
|
|
11590
|
+
Kn as DashboardNav,
|
|
11591
|
+
Yn as DashboardSearch,
|
|
11592
|
+
xn as DashboardStat,
|
|
11593
|
+
V4 as DocsLayout,
|
|
11600
11594
|
s1 as DropdownMenu,
|
|
11601
|
-
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
11606
|
-
|
|
11595
|
+
m4 as ExpansionPanel,
|
|
11596
|
+
u4 as ExpansionPanelGroup,
|
|
11597
|
+
Vn as FileDiff,
|
|
11598
|
+
On as FileUpload,
|
|
11599
|
+
I4 as FlexContainer,
|
|
11600
|
+
In as FlowSteps,
|
|
11607
11601
|
zt as FooterHeading,
|
|
11608
|
-
|
|
11609
|
-
|
|
11602
|
+
Sn as FooterLinks,
|
|
11603
|
+
S4 as GlobalWrapper,
|
|
11610
11604
|
j as Icon,
|
|
11611
11605
|
H2 as IconButton,
|
|
11612
11606
|
g2 as IndicatorBadge,
|
|
11613
|
-
|
|
11614
|
-
|
|
11615
|
-
|
|
11616
|
-
|
|
11607
|
+
c4 as InlineMessage,
|
|
11608
|
+
Fn as InputGroup,
|
|
11609
|
+
qn as LinkNewWindow,
|
|
11610
|
+
wn as LinksCard,
|
|
11617
11611
|
I1 as MenuButton,
|
|
11618
|
-
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
11625
|
-
|
|
11612
|
+
Wn as Modal,
|
|
11613
|
+
Jn as NavMenu,
|
|
11614
|
+
Qn as Navbar,
|
|
11615
|
+
yn as NewSiteCard,
|
|
11616
|
+
d4 as Pagination,
|
|
11617
|
+
p4 as Panel,
|
|
11618
|
+
h4 as PanelList,
|
|
11619
|
+
f4 as PanelRow,
|
|
11626
11620
|
R1 as PantheonLogo,
|
|
11627
|
-
|
|
11628
|
-
|
|
11621
|
+
Ln as PaymentCard,
|
|
11622
|
+
_t as PaymentIcon,
|
|
11629
11623
|
Ct as PlatformIcon,
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11624
|
+
g4 as Popover,
|
|
11625
|
+
Hn as PricingCard,
|
|
11626
|
+
C4 as ProgressBar,
|
|
11633
11627
|
Jt as ProgressRing,
|
|
11634
|
-
|
|
11635
|
-
|
|
11636
|
-
|
|
11637
|
-
|
|
11628
|
+
E4 as PullQuote,
|
|
11629
|
+
Pn as RadioGroup,
|
|
11630
|
+
_4 as RefreshChecker,
|
|
11631
|
+
en as RefreshCheckerState,
|
|
11638
11632
|
we as ResponsiveContext,
|
|
11639
|
-
|
|
11640
|
-
|
|
11633
|
+
r4 as SectionMessage,
|
|
11634
|
+
_n as SegmentedButton,
|
|
11641
11635
|
$t as Select,
|
|
11642
11636
|
bt as SelectOptionGroup,
|
|
11643
|
-
|
|
11644
|
-
|
|
11645
|
-
|
|
11646
|
-
|
|
11647
|
-
|
|
11648
|
-
|
|
11637
|
+
e4 as SideNav,
|
|
11638
|
+
t4 as SideNavCompact,
|
|
11639
|
+
A4 as SidebarLayout,
|
|
11640
|
+
Mn as SiteCard,
|
|
11641
|
+
v4 as SiteDashboardHeading,
|
|
11642
|
+
An as SiteFooter,
|
|
11649
11643
|
Bt as SitePlanLevelLabel,
|
|
11650
11644
|
O1 as SiteTypeIcon,
|
|
11651
|
-
|
|
11645
|
+
Xn as SiteTypeLabel,
|
|
11652
11646
|
At as Skiplink,
|
|
11653
|
-
|
|
11647
|
+
b4 as SocialLinks,
|
|
11654
11648
|
V2 as Spinner,
|
|
11655
11649
|
gt as SplitButton,
|
|
11656
11650
|
Q2 as StatusBadge,
|
|
11657
|
-
$
|
|
11658
|
-
|
|
11659
|
-
|
|
11660
|
-
|
|
11661
|
-
|
|
11662
|
-
|
|
11663
|
-
|
|
11664
|
-
|
|
11665
|
-
|
|
11651
|
+
$4 as StatusIndicator,
|
|
11652
|
+
w4 as Stepper,
|
|
11653
|
+
T4 as StepperLayout,
|
|
11654
|
+
Bn as Switch,
|
|
11655
|
+
n4 as TabMenu,
|
|
11656
|
+
y4 as Table,
|
|
11657
|
+
L4 as TableOfContents,
|
|
11658
|
+
H4 as Tabs,
|
|
11659
|
+
M4 as Tag,
|
|
11666
11660
|
w2 as Tally,
|
|
11667
11661
|
T1 as TextInput,
|
|
11668
|
-
|
|
11669
|
-
|
|
11670
|
-
|
|
11671
|
-
|
|
11672
|
-
|
|
11662
|
+
Zn as Textarea,
|
|
11663
|
+
k4 as ThemeSwitcher,
|
|
11664
|
+
D4 as ThreeItemLayout,
|
|
11665
|
+
sn as Tile,
|
|
11666
|
+
N4 as TileGrid,
|
|
11673
11667
|
Kt as Toast,
|
|
11674
11668
|
Xt as ToastType,
|
|
11675
|
-
|
|
11669
|
+
o4 as Toaster,
|
|
11676
11670
|
ke as Tooltip,
|
|
11677
|
-
|
|
11678
|
-
|
|
11679
|
-
|
|
11680
|
-
|
|
11671
|
+
R4 as TwoItemLayout,
|
|
11672
|
+
s4 as UserMenu,
|
|
11673
|
+
vn as UtilityButton,
|
|
11674
|
+
l4 as WorkspaceSelector,
|
|
11681
11675
|
d1 as badgeTypes,
|
|
11682
11676
|
Vt as getFilteredOptions,
|
|
11683
|
-
|
|
11684
|
-
|
|
11677
|
+
Cn as iconList,
|
|
11678
|
+
E1 as tagColors,
|
|
11685
11679
|
ut as useClipboard,
|
|
11686
|
-
|
|
11687
|
-
|
|
11680
|
+
O4 as useKeyPress,
|
|
11681
|
+
i4 as useToast,
|
|
11688
11682
|
V1 as useWindowWidth
|
|
11689
11683
|
};
|
|
11690
11684
|
//# sourceMappingURL=index.js.map
|