@pantheon-systems/pds-toolkit-react 1.0.0-dev.236 → 1.0.0-dev.237

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/_dist/index.js CHANGED
@@ -1,22 +1,22 @@
1
- import './index.css';var O1 = Object.defineProperty, R1 = Object.defineProperties;
2
- var F1 = Object.getOwnPropertyDescriptors;
1
+ import './index.css';var R1 = Object.defineProperty, F1 = Object.defineProperties;
2
+ var P1 = Object.getOwnPropertyDescriptors;
3
3
  var Et = Object.getOwnPropertySymbols;
4
- var s1 = Object.prototype.hasOwnProperty, a1 = Object.prototype.propertyIsEnumerable;
5
- var n1 = (t, n, s) => n in t ? O1(t, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[n] = s, M = (t, n) => {
4
+ var a1 = Object.prototype.hasOwnProperty, l1 = Object.prototype.propertyIsEnumerable;
5
+ var s1 = (t, n, s) => n in t ? R1(t, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[n] = s, M = (t, n) => {
6
6
  for (var s in n || (n = {}))
7
- s1.call(n, s) && n1(t, s, n[s]);
7
+ a1.call(n, s) && s1(t, s, n[s]);
8
8
  if (Et)
9
9
  for (var s of Et(n))
10
- a1.call(n, s) && n1(t, s, n[s]);
10
+ l1.call(n, s) && s1(t, s, n[s]);
11
11
  return t;
12
- }, me = (t, n) => R1(t, F1(n));
12
+ }, me = (t, n) => F1(t, P1(n));
13
13
  var A = (t, n) => {
14
14
  var s = {};
15
15
  for (var l in t)
16
- s1.call(t, l) && n.indexOf(l) < 0 && (s[l] = t[l]);
16
+ a1.call(t, l) && n.indexOf(l) < 0 && (s[l] = t[l]);
17
17
  if (t != null && Et)
18
18
  for (var l of Et(t))
19
- n.indexOf(l) < 0 && a1.call(t, l) && (s[l] = t[l]);
19
+ n.indexOf(l) < 0 && l1.call(t, l) && (s[l] = t[l]);
20
20
  return s;
21
21
  };
22
22
  var Vt = (t, n, s) => new Promise((l, r) => {
@@ -35,9 +35,9 @@ var Vt = (t, n, s) => new Promise((l, r) => {
35
35
  }, c = (o) => o.done ? l(o.value) : Promise.resolve(o.value).then(d, a);
36
36
  c((s = s.apply(t, n)).next());
37
37
  });
38
- import e, { Children as h1, isValidElement as ye, useState as U, cloneElement as Ie, createElement as P1, forwardRef as Ze, useEffect as oe, useRef as de, createContext as f1, useContext as ve, useLayoutEffect as B1, useCallback as W1, useMemo as g1, createRef as G1, Fragment as U1 } from "react";
39
- import _1 from "hash-sum";
40
- import { useFloating as Ve, offset as kt, flip as Ht, shift as zt, autoUpdate as Re, useHover as Ct, useFocus as E1, useDismiss as Se, useRole as Te, useInteractions as Ae, FloatingPortal as v1, useId as Z1, useClick as Ye, useListNavigation as it, useTransitionStyles as Qe, FloatingOverlay as q1, FloatingFocusManager as b1, safePolygon as C1, arrow as j1, FloatingArrow as K1 } from "@floating-ui/react";
38
+ import e, { Children as f1, isValidElement as we, useState as U, cloneElement as Ie, createElement as B1, forwardRef as Ze, useEffect as oe, useRef as de, createContext as g1, useContext as ve, useLayoutEffect as W1, useCallback as Zt, useMemo as _1, createRef as G1, Fragment as U1 } from "react";
39
+ import E1 from "hash-sum";
40
+ import { useFloating as Ve, offset as kt, flip as Ht, shift as zt, autoUpdate as Re, useHover as Ct, useFocus as v1, useDismiss as Se, useRole as Te, useInteractions as Ae, FloatingPortal as b1, useId as Z1, useClick as Ye, useListNavigation as it, useTransitionStyles as Qe, FloatingOverlay as q1, FloatingFocusManager as C1, safePolygon as $1, arrow as j1, FloatingArrow as K1 } from "@floating-ui/react";
41
41
  import { useHotkeys as X1 } from "react-hotkeys-hook";
42
42
  import { useFloating as Y1, flip as Q1 } from "@floating-ui/react-dom";
43
43
  import { CodeBlock as mt } from "react-code-block";
@@ -45,18 +45,18 @@ import { useMultipleSelection as ut, useCombobox as st } from "downshift";
45
45
  import { isSafari as vt } from "react-device-detect";
46
46
  import { useMeasure as Nt } from "@reactuses/core";
47
47
  import J1 from "focus-trap-react";
48
- import { ToastContainer as e2, Slide as t2, cssTransition as n2, toast as l1 } from "react-toastify";
49
- const lt = () => Math.random().toString(32).substring(2, 13), $1 = (t, n) => {
48
+ import { ToastContainer as e2, Slide as t2, cssTransition as n2, toast as c1 } from "react-toastify";
49
+ const lt = () => Math.random().toString(32).substring(2, 13), w1 = (t, n) => {
50
50
  if (!(t != null && t.childNodes))
51
51
  return;
52
52
  let s;
53
53
  for (n = n || [], s = 0; s < t.childNodes.length; s++)
54
- n.push(t.childNodes[s]), $1(t.childNodes[s], n);
54
+ n.push(t.childNodes[s]), w1(t.childNodes[s], n);
55
55
  return n;
56
56
  }, Fe = (t) => {
57
57
  const n = {};
58
- return h1.forEach(t, (s) => {
59
- if (ye(s)) {
58
+ return f1.forEach(t, (s) => {
59
+ if (we(s)) {
60
60
  const l = s.props.slot;
61
61
  l && (n[l] ? n[l].push(s) : n[l] = [s]);
62
62
  }
@@ -71,7 +71,7 @@ const lt = () => Math.random().toString(32).substring(2, 13), $1 = (t, n) => {
71
71
  "iconSize",
72
72
  "className"
73
73
  ]);
74
- const a = `pds-icon pds-icon--${n} pds-icon--${t}`, c = `0 0 ${Zt[t].width} 512`, o = {
74
+ const a = `pds-icon pds-icon--${n} pds-icon--${t}`, c = `0 0 ${qt[t].width} 512`, o = {
75
75
  sm: "0.8rem",
76
76
  md: "1rem",
77
77
  lg: "1.2rem",
@@ -93,9 +93,9 @@ const lt = () => Math.random().toString(32).substring(2, 13), $1 = (t, n) => {
93
93
  focusable: "false",
94
94
  className: [a, s != null ? s : ""].join(" ").trim().replace(/\s+/g, " ")
95
95
  }, l),
96
- /* @__PURE__ */ e.createElement("path", { d: Zt[t].path, fill: "currentColor" })
96
+ /* @__PURE__ */ e.createElement("path", { d: qt[t].path, fill: "currentColor" })
97
97
  );
98
- }, Zt = {
98
+ }, qt = {
99
99
  angleDown: {
100
100
  path: "M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z",
101
101
  width: "440"
@@ -756,7 +756,7 @@ const lt = () => Math.random().toString(32).substring(2, 13), $1 = (t, n) => {
756
756
  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",
757
757
  width: "576"
758
758
  }
759
- }, mn = Object.keys(Zt), c1 = [
759
+ }, mn = Object.keys(qt), r1 = [
760
760
  "dawn",
761
761
  "dragonfruit",
762
762
  "dusk",
@@ -774,9 +774,9 @@ const lt = () => Math.random().toString(32).substring(2, 13), $1 = (t, n) => {
774
774
  "twilight",
775
775
  "winter"
776
776
  ], a2 = (t) => {
777
- const n = parseInt(_1(t), 16);
778
- return c1[n % c1.length];
779
- }, qt = (o) => {
777
+ const n = parseInt(E1(t), 16);
778
+ return r1[n % r1.length];
779
+ }, jt = (o) => {
780
780
  var m = o, {
781
781
  ariaLabel: t,
782
782
  hasUserFallback: n = !1,
@@ -811,7 +811,7 @@ const lt = () => Math.random().toString(32).substring(2, 13), $1 = (t, n) => {
811
811
  onLoad: () => E(!1),
812
812
  onError: () => E(!0)
813
813
  }
814
- ) : /* @__PURE__ */ e.createElement("span", { style: b }, n && /* @__PURE__ */ e.createElement(P, { iconName: "user", className: `${f}__user-icon` })), g = /* @__PURE__ */ e.createElement("span", { className: `${f}__content` }, C), i = ye(l) ? Ie(
814
+ ) : /* @__PURE__ */ e.createElement("span", { style: b }, n && /* @__PURE__ */ e.createElement(P, { iconName: "user", className: `${f}__user-icon` })), g = /* @__PURE__ */ e.createElement("span", { className: `${f}__content` }, C), i = we(l) ? Ie(
815
815
  l,
816
816
  me(M({}, l.props), {
817
817
  className: `${f}__content ${f}__content--link`,
@@ -846,7 +846,7 @@ const lt = () => Math.random().toString(32).substring(2, 13), $1 = (t, n) => {
846
846
  }, r),
847
847
  /* @__PURE__ */ e.createElement("span", { className: `${c}__label` }, t)
848
848
  );
849
- }, Kt = (c) => {
849
+ }, Xt = (c) => {
850
850
  var o = c, {
851
851
  color: t = "transparent",
852
852
  hasStatusIndicator: n = !1,
@@ -939,18 +939,18 @@ const St = 300, l2 = 400, xe = (p) => {
939
939
  restMs: 300,
940
940
  delay: { open: 500, close: 0 },
941
941
  move: !1
942
- }), k = E1(_), z = Se(_), y = Te(_, { role: "tooltip" }), { getReferenceProps: w, getFloatingProps: H } = Ae([
942
+ }), k = v1(_), z = Se(_), w = Te(_, { role: "tooltip" }), { getReferenceProps: y, getFloatingProps: H } = Ae([
943
943
  $,
944
944
  k,
945
945
  z,
946
- y
946
+ w
947
947
  ]);
948
948
  return /* @__PURE__ */ e.createElement("div", M({ className: x([b, m != null ? m : ""]) }, f), n ? /* @__PURE__ */ e.createElement(
949
949
  "span",
950
950
  M({
951
951
  className: C,
952
952
  ref: i.setReference
953
- }, w()),
953
+ }, y()),
954
954
  n
955
955
  ) : /* @__PURE__ */ e.createElement(
956
956
  "button",
@@ -959,7 +959,7 @@ const St = 300, l2 = 400, xe = (p) => {
959
959
  "aria-label": r,
960
960
  className: g,
961
961
  ref: i.setReference
962
- }, w()),
962
+ }, y()),
963
963
  /* @__PURE__ */ e.createElement(
964
964
  P,
965
965
  {
@@ -968,7 +968,7 @@ const St = 300, l2 = 400, xe = (p) => {
968
968
  iconSize: c
969
969
  }
970
970
  )
971
- ), v && /* @__PURE__ */ e.createElement(v1, null, /* @__PURE__ */ e.createElement(
971
+ ), v && /* @__PURE__ */ e.createElement(b1, null, /* @__PURE__ */ e.createElement(
972
972
  "div",
973
973
  M({
974
974
  className: `${b}__container`,
@@ -1050,12 +1050,12 @@ const St = 300, l2 = 400, xe = (p) => {
1050
1050
  "className"
1051
1051
  ]);
1052
1052
  const o = t ? `${t}__heading` : null;
1053
- return P1(
1053
+ return B1(
1054
1054
  l,
1055
1055
  M({ className: x([o, r]), id: s }, d),
1056
1056
  n
1057
1057
  );
1058
- }, Xt = (t) => typeof t == "string" || typeof t == "number" ? String(t) : e.isValidElement(t) ? e.Children.toArray(t.props.children).map(Xt).join("") : "", ee = {
1058
+ }, Yt = (t) => typeof t == "string" || typeof t == "number" ? String(t) : e.isValidElement(t) ? e.Children.toArray(t.props.children).map(Yt).join("") : "", ee = {
1059
1059
  base: "pds-input",
1060
1060
  disabled: "pds-is-disabled",
1061
1061
  required: "pds-is-required",
@@ -1120,13 +1120,13 @@ const St = 300, l2 = 400, xe = (p) => {
1120
1120
  className: `${n}__icon`
1121
1121
  }
1122
1122
  ));
1123
- }, w1 = ({
1123
+ }, L1 = ({
1124
1124
  inputId: t,
1125
1125
  shortcutLabel: n
1126
1126
  }) => (X1("/", (l) => {
1127
1127
  const r = document.getElementById(t);
1128
1128
  r && r.focus(), l.preventDefault();
1129
- }), /* @__PURE__ */ e.createElement("div", { className: "pds-input-search-shortcut" }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n), /* @__PURE__ */ e.createElement(P, { iconName: "slashForward", iconSize: "md" }))), Yt = ({
1129
+ }), /* @__PURE__ */ e.createElement("div", { className: "pds-input-search-shortcut" }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n), /* @__PURE__ */ e.createElement(P, { iconName: "slashForward", iconSize: "md" }))), Qt = ({
1130
1130
  id: t,
1131
1131
  clearLabel: n,
1132
1132
  handleClearInput: s
@@ -1140,7 +1140,7 @@ const St = 300, l2 = 400, xe = (p) => {
1140
1140
  onClick: s
1141
1141
  },
1142
1142
  /* @__PURE__ */ e.createElement(P, { iconName: "xmark", iconSize: "md" })
1143
- ), L1 = ({
1143
+ ), M1 = ({
1144
1144
  id: t,
1145
1145
  currentLength: n,
1146
1146
  maxLength: s,
@@ -1158,10 +1158,10 @@ const St = 300, l2 = 400, xe = (p) => {
1158
1158
  s,
1159
1159
  /* @__PURE__ */ e.createElement("span", { className: "visually-hidden", "aria-live": "polite" }, r && `${l} ${d}`)
1160
1160
  );
1161
- }, Qt = (s) => {
1161
+ }, Jt = (s) => {
1162
1162
  var l = s, { label: t } = l, n = A(l, ["label"]);
1163
1163
  return /* @__PURE__ */ e.createElement("span", M({ className: "visually-hidden" }, n), t);
1164
- }, r1 = (t) => "options" in t, yt = Ze(
1164
+ }, o1 = (t) => "options" in t, wt = Ze(
1165
1165
  (d, r) => {
1166
1166
  var a = d, { children: t, isActive: n, className: s } = a, l = A(a, ["children", "isActive", "className"]);
1167
1167
  const c = Z1(), o = "pds-input__select-option", m = n ? `${o}--active` : null;
@@ -1202,7 +1202,7 @@ const St = 300, l2 = 400, xe = (p) => {
1202
1202
  "aria-hidden": "true"
1203
1203
  }, a),
1204
1204
  /* @__PURE__ */ e.createElement("span", { className: `${m}__icon` }),
1205
- l && !n ? /* @__PURE__ */ e.createElement("span", { className: `${m}__label` }, s) : /* @__PURE__ */ e.createElement(Qt, { label: s })
1205
+ l && !n ? /* @__PURE__ */ e.createElement("span", { className: `${m}__label` }, s) : /* @__PURE__ */ e.createElement(Jt, { label: s })
1206
1206
  );
1207
1207
  }, gt = Ze(
1208
1208
  (L, E) => {
@@ -1257,7 +1257,7 @@ const St = 300, l2 = 400, xe = (p) => {
1257
1257
  }
1258
1258
  );
1259
1259
  let $ = [o];
1260
- return l == "icon-start" && r && $.unshift(_), l == "icon-end" && r && $.push(_), c && ($ = [_], t = Xt(o)), /* @__PURE__ */ e.createElement(
1260
+ return l == "icon-start" && r && $.unshift(_), l == "icon-end" && r && $.push(_), c && ($ = [_], t = Yt(o)), /* @__PURE__ */ e.createElement(
1261
1261
  "button",
1262
1262
  M({
1263
1263
  type: n,
@@ -1277,7 +1277,7 @@ const St = 300, l2 = 400, xe = (p) => {
1277
1277
  $
1278
1278
  );
1279
1279
  }
1280
- ), wt = (o) => {
1280
+ ), yt = (o) => {
1281
1281
  var m = o, {
1282
1282
  disabled: t = !1,
1283
1283
  displayType: n = "label-only",
@@ -1299,7 +1299,7 @@ const St = 300, l2 = 400, xe = (p) => {
1299
1299
  p,
1300
1300
  u,
1301
1301
  v
1302
- ]), L = ye(l) ? l.props.children : null, b = /* @__PURE__ */ e.createElement(
1302
+ ]), L = we(l) ? l.props.children : null, b = /* @__PURE__ */ e.createElement(
1303
1303
  P,
1304
1304
  {
1305
1305
  iconName: s,
@@ -1310,7 +1310,7 @@ const St = 300, l2 = 400, xe = (p) => {
1310
1310
  );
1311
1311
  let C = [L];
1312
1312
  n === "icon-start" && s ? C = [b, L] : n === "icon-end" && s && (C = [L, b]);
1313
- const g = ye(l) ? Ie(l, {
1313
+ const g = we(l) ? Ie(l, {
1314
1314
  className: E,
1315
1315
  children: C
1316
1316
  }) : null;
@@ -1388,9 +1388,9 @@ const St = 300, l2 = 400, xe = (p) => {
1388
1388
  C.hide
1389
1389
  ), _.current.classList.add(C.scaleIn), $.current.classList.remove(C.scaleIn), $.current.classList.add(C.hide);
1390
1390
  }, 2e3);
1391
- }, z = (w) => {
1392
- h && k(), a && a(w);
1393
- }, y = h ? /* @__PURE__ */ e.createElement("div", { className: `${E}__content` }, /* @__PURE__ */ e.createElement("div", { ref: _, className: `${E}__icon-wrapper` }, /* @__PURE__ */ e.createElement(
1391
+ }, z = (y) => {
1392
+ h && k(), a && a(y);
1393
+ }, w = h ? /* @__PURE__ */ e.createElement("div", { className: `${E}__content` }, /* @__PURE__ */ e.createElement("div", { ref: _, className: `${E}__icon-wrapper` }, /* @__PURE__ */ e.createElement(
1394
1394
  P,
1395
1395
  {
1396
1396
  iconName: r,
@@ -1441,9 +1441,9 @@ const St = 300, l2 = 400, xe = (p) => {
1441
1441
  content: t,
1442
1442
  className: `${E}__tooltip`,
1443
1443
  offsetValue: g,
1444
- customTrigger: y
1444
+ customTrigger: w
1445
1445
  }
1446
- ) : y
1446
+ ) : w
1447
1447
  );
1448
1448
  }
1449
1449
  ), o2 = (a) => {
@@ -1475,7 +1475,7 @@ const St = 300, l2 = 400, xe = (p) => {
1475
1475
  variant: l
1476
1476
  }, d)
1477
1477
  );
1478
- }, M1 = (d) => {
1478
+ }, k1 = (d) => {
1479
1479
  var a = d, {
1480
1480
  ariaLabel: t = "Close",
1481
1481
  iconSize: n = "xl",
@@ -1497,7 +1497,7 @@ const St = 300, l2 = 400, xe = (p) => {
1497
1497
  }, r),
1498
1498
  /* @__PURE__ */ e.createElement(P, { iconName: "xmark", iconSize: n })
1499
1499
  );
1500
- }, k1 = () => {
1500
+ }, H1 = () => {
1501
1501
  const t = typeof window != "undefined", [n, s] = U(
1502
1502
  t && window.innerWidth !== void 0 ? window.innerWidth : 1024
1503
1503
  );
@@ -1511,18 +1511,18 @@ const St = 300, l2 = 400, xe = (p) => {
1511
1511
  window.removeEventListener("resize", l);
1512
1512
  };
1513
1513
  }, []), n;
1514
- }, we = f1(null), i2 = ({
1514
+ }, ye = g1(null), i2 = ({
1515
1515
  children: t,
1516
1516
  mobileMenuMaxWidth: n = 640
1517
1517
  }) => {
1518
- const s = k1(), l = s <= n, r = {
1518
+ const s = H1(), l = s <= n, r = {
1519
1519
  isMobile: l,
1520
1520
  mobileMenuMaxWidth: n,
1521
1521
  windowWidth: s
1522
1522
  };
1523
1523
  return oe(() => {
1524
1524
  l ? document.body.classList.add("pds-no-scroll-x") : document.body.classList.remove("pds-no-scroll-x");
1525
- }, [l]), /* @__PURE__ */ e.createElement(we.Provider, { value: r }, t);
1525
+ }, [l]), /* @__PURE__ */ e.createElement(ye.Provider, { value: r }, t);
1526
1526
  }, Tt = (t) => t.isSeparator, At = (t) => t.isHeading, Dt = (t) => t.isLink, d2 = (t) => t.isNode, m2 = (b) => {
1527
1527
  var C = b, {
1528
1528
  disabled: t,
@@ -1565,16 +1565,16 @@ const St = 300, l2 = 400, xe = (p) => {
1565
1565
  strategy: $,
1566
1566
  update: k,
1567
1567
  placement: z,
1568
- refs: y
1568
+ refs: w
1569
1569
  } = Y1({
1570
1570
  placement: "bottom-start",
1571
1571
  middleware: [Q1()]
1572
1572
  });
1573
- let w = !1;
1574
- const H = ve(we);
1575
- H && (w = H.isMobile);
1576
- const N = u === "navbar" && w, V = "pds-menu-button", I = N ? `${V}--isMobile` : null, D = v ? `${V}--navbar` : null, S = l, [T] = U(`menu-button-${l}`), W = y.floating, Z = de(null), [K, ne] = U(!1), [Y, j] = U(!1), [q, O] = U(""), [Q, X] = U(0), F = de([]), B = de([]), J = de([]);
1577
- B1(() => {
1573
+ let y = !1;
1574
+ const H = ve(ye);
1575
+ H && (y = H.isMobile);
1576
+ const N = u === "navbar" && y, V = "pds-menu-button", I = N ? `${V}--isMobile` : null, D = v ? `${V}--navbar` : null, S = l, [T] = U(`menu-button-${l}`), W = w.floating, Z = de(null), [K, ne] = U(!1), [Y, j] = U(!1), [q, O] = U(""), [Q, X] = U(0), F = de([]), B = de([]), J = de([]);
1577
+ W1(() => {
1578
1578
  window.addEventListener("mousedown", ze, !0), k();
1579
1579
  const R = W.current;
1580
1580
  return R && (R.dataset.fuiPlacement = z), Y && (setTimeout(() => {
@@ -1786,18 +1786,18 @@ const St = 300, l2 = 400, xe = (p) => {
1786
1786
  },
1787
1787
  ue.map((ke, je) => {
1788
1788
  pe = F.current[je];
1789
- const We = ke[0].isHeading, Ge = We ? `${S}-group-${pe}-heading` : "", S1 = `${S}-group-${pe}`, T1 = We ? null : `${p} ${je + 1}`;
1789
+ const We = ke[0].isHeading, Ge = We ? `${S}-group-${pe}-heading` : "", T1 = `${S}-group-${pe}`, A1 = We ? null : `${p} ${je + 1}`;
1790
1790
  return /* @__PURE__ */ e.createElement(
1791
1791
  "ul",
1792
1792
  {
1793
1793
  role: "group",
1794
1794
  "aria-labelledby": Ge,
1795
- "aria-label": T1,
1796
- key: S1
1795
+ "aria-label": A1,
1796
+ key: T1
1797
1797
  },
1798
- ke.map((A1, D1) => Ne(
1799
- A1,
1798
+ ke.map((D1, O1) => Ne(
1800
1799
  D1,
1800
+ O1,
1801
1801
  pe,
1802
1802
  Ge
1803
1803
  ))
@@ -1851,7 +1851,7 @@ const St = 300, l2 = 400, xe = (p) => {
1851
1851
  ref: h
1852
1852
  }
1853
1853
  )), n === "icon-only") {
1854
- const R = Xt(d);
1854
+ const R = Yt(d);
1855
1855
  Be = /* @__PURE__ */ e.createElement(
1856
1856
  Lt,
1857
1857
  {
@@ -2018,7 +2018,7 @@ const St = 300, l2 = 400, xe = (p) => {
2018
2018
  const m = "pds-split-button", f = `${m}--${r}`, p = t[0], u = t.slice(1);
2019
2019
  let v = null;
2020
2020
  return "isLink" in p && p.isLink === !0 ? v = /* @__PURE__ */ e.createElement(
2021
- wt,
2021
+ yt,
2022
2022
  {
2023
2023
  className: `${m}__primary-action`,
2024
2024
  size: l,
@@ -2150,7 +2150,7 @@ const St = 300, l2 = 400, xe = (p) => {
2150
2150
  }
2151
2151
  )), /* @__PURE__ */ e.createElement("div", { className: `${o}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, f), n && /* @__PURE__ */ e.createElement("div", { className: `${o}__title` }, n), t && /* @__PURE__ */ e.createElement("div", { className: `${o}__main-content` }, t)))
2152
2152
  );
2153
- }, Jt = (d) => {
2153
+ }, e1 = (d) => {
2154
2154
  var a = d, {
2155
2155
  background: t = "default",
2156
2156
  children: n,
@@ -2176,7 +2176,7 @@ const St = 300, l2 = 400, xe = (p) => {
2176
2176
  p && /* @__PURE__ */ e.createElement("div", { className: `${c}__image` }, p[0]),
2177
2177
  u && /* @__PURE__ */ e.createElement("div", { className: `${c}__main` }, u)
2178
2178
  );
2179
- }, H1 = (a) => {
2179
+ }, z1 = (a) => {
2180
2180
  var c = a, {
2181
2181
  fontSize: t = "XL",
2182
2182
  fontWeight: n = "bold",
@@ -2285,8 +2285,8 @@ const St = 300, l2 = 400, xe = (p) => {
2285
2285
  "headingText",
2286
2286
  "className"
2287
2287
  ]);
2288
- const c = "pds-links-card", o = /* @__PURE__ */ e.createElement(Jt, null, /* @__PURE__ */ e.createElement("div", { slot: "main" }, s && /* @__PURE__ */ e.createElement(
2289
- H1,
2288
+ const c = "pds-links-card", o = /* @__PURE__ */ e.createElement(e1, null, /* @__PURE__ */ e.createElement("div", { slot: "main" }, s && /* @__PURE__ */ e.createElement(
2289
+ z1,
2290
2290
  {
2291
2291
  className: `${c}__heading`,
2292
2292
  fontSize: "XL",
@@ -2576,7 +2576,7 @@ const St = 300, l2 = 400, xe = (p) => {
2576
2576
  }
2577
2577
  )
2578
2578
  )
2579
- }, o1 = {
2579
+ }, i1 = {
2580
2580
  "early-access": { label: "Early Access", color: "success" }
2581
2581
  }, En = (f) => {
2582
2582
  var p = f, {
@@ -2600,7 +2600,7 @@ const St = 300, l2 = 400, xe = (p) => {
2600
2600
  "supplementalLinks",
2601
2601
  "className"
2602
2602
  ]);
2603
- const u = "pds-new-site-card", v = a.type, E = /* @__PURE__ */ e.createElement(Jt, { padding: "narrow" }, /* @__PURE__ */ e.createElement("div", { slot: "main", className: `${u}__main` }, /* @__PURE__ */ e.createElement(
2603
+ const u = "pds-new-site-card", v = a.type, E = /* @__PURE__ */ e.createElement(e1, { padding: "narrow" }, /* @__PURE__ */ e.createElement("div", { slot: "main", className: `${u}__main` }, /* @__PURE__ */ e.createElement(
2604
2604
  v,
2605
2605
  M({
2606
2606
  "aria-label": a.props.children,
@@ -2610,9 +2610,9 @@ const St = 300, l2 = 400, xe = (p) => {
2610
2610
  t && /* @__PURE__ */ e.createElement(
2611
2611
  ft,
2612
2612
  {
2613
- label: o1[t].label,
2613
+ label: i1[t].label,
2614
2614
  size: "sm",
2615
- color: o1[t].color,
2615
+ color: i1[t].color,
2616
2616
  className: `${u}__badge`
2617
2617
  }
2618
2618
  ),
@@ -2641,7 +2641,7 @@ const St = 300, l2 = 400, xe = (p) => {
2641
2641
  included: "circleCheck",
2642
2642
  notIncluded: "xmark",
2643
2643
  addon: "circlePlusOutline"
2644
- }, i1 = (c) => {
2644
+ }, d1 = (c) => {
2645
2645
  var o = c, {
2646
2646
  listItems: t,
2647
2647
  listLabel: n,
@@ -2729,10 +2729,10 @@ const St = 300, l2 = 400, xe = (p) => {
2729
2729
  "className"
2730
2730
  ]);
2731
2731
  var ct, rt;
2732
- const _ = Je(l), $ = "pds-select", k = n ? ee.disabled : null, z = p && !n ? ee.required : null, y = L === "error" ? ee.error : null, w = L === "success" ? ee.success : null;
2732
+ const _ = Je(l), $ = "pds-select", k = n ? ee.disabled : null, z = p && !n ? ee.required : null, w = L === "error" ? ee.error : null, y = L === "success" ? ee.success : null;
2733
2733
  let H = null;
2734
2734
  L === "error" && (H = "error"), L === "success" && (H = "success");
2735
- const N = E || a, V = typeof b != "undefined", I = typeof t != "undefined", S = ((Ce) => Ce.reduce((Le, _e) => r1(_e) ? [...Le, ..._e.options] : [...Le, _e], []))(f), T = (Ce) => S.findIndex((Le) => Le.value === Ce), W = V && T(b) >= 0 ? T(b) : null, Z = I ? T(t) : null, K = W || Z, [ne, Y] = U(!1), [j, q] = U(null), [O, Q] = U(
2735
+ const N = E || a, V = typeof b != "undefined", I = typeof t != "undefined", S = ((Ce) => Ce.reduce((Le, _e) => o1(_e) ? [...Le, ..._e.options] : [...Le, _e], []))(f), T = (Ce) => S.findIndex((Le) => Le.value === Ce), W = V && T(b) >= 0 ? T(b) : null, Z = I ? T(t) : null, K = W || Z, [ne, Y] = U(!1), [j, q] = U(null), [O, Q] = U(
2736
2736
  K != null ? K : null
2737
2737
  ), X = O !== null ? (ct = S[O]) == null ? void 0 : ct.label : void 0, F = O !== null ? (rt = S[O]) == null ? void 0 : rt.value : void 0, B = de([]), { context: J, refs: te } = Ve({
2738
2738
  open: ne,
@@ -2782,11 +2782,11 @@ const St = 300, l2 = 400, xe = (p) => {
2782
2782
  }, Be = (Ce) => {
2783
2783
  let Le = 0;
2784
2784
  return Ce.map((_e) => {
2785
- if (r1(_e)) {
2785
+ if (o1(_e)) {
2786
2786
  const Me = _e.options.map((R) => {
2787
2787
  const se = Le++;
2788
2788
  return /* @__PURE__ */ e.createElement(
2789
- yt,
2789
+ wt,
2790
2790
  M({
2791
2791
  key: se,
2792
2792
  ref: (G) => {
@@ -2817,7 +2817,7 @@ const St = 300, l2 = 400, xe = (p) => {
2817
2817
  }
2818
2818
  const He = Le++;
2819
2819
  return /* @__PURE__ */ e.createElement(
2820
- yt,
2820
+ wt,
2821
2821
  M({
2822
2822
  key: He,
2823
2823
  ref: (Me) => {
@@ -2847,8 +2847,8 @@ const St = 300, l2 = 400, xe = (p) => {
2847
2847
  $,
2848
2848
  k,
2849
2849
  z,
2850
- y,
2851
2850
  w,
2851
+ y,
2852
2852
  C != null ? C : ""
2853
2853
  ]),
2854
2854
  style: l ? _ : null
@@ -2891,7 +2891,7 @@ const St = 300, l2 = 400, xe = (p) => {
2891
2891
  zIndex: "var(--pds-z-index-dropdown)"
2892
2892
  }
2893
2893
  })),
2894
- /* @__PURE__ */ e.createElement("div", { style: M({}, qe) }, /* @__PURE__ */ e.createElement("ul", { className: `${$}__options` }, Be(f)))
2894
+ /* @__PURE__ */ e.createElement("div", { style: M({}, qe) }, /* @__PURE__ */ e.createElement("ul", { role: "group", className: `${$}__options` }, Be(f)))
2895
2895
  ),
2896
2896
  N && /* @__PURE__ */ e.createElement(
2897
2897
  De,
@@ -2938,7 +2938,7 @@ const St = 300, l2 = 400, xe = (p) => {
2938
2938
  ), [$, k] = U(
2939
2939
  t.label
2940
2940
  );
2941
- let z = null, y = null;
2941
+ let z = null, w = null;
2942
2942
  i || (z = /* @__PURE__ */ e.createElement("div", { className: `${E}__pricing-data` }, a[0].pricePrefix && /* @__PURE__ */ e.createElement("span", { className: `${E}__price-prefix` }, a[0].pricePrefix), /* @__PURE__ */ e.createElement("div", { className: `${E}__price-line` }, /* @__PURE__ */ e.createElement("span", { className: `${E}__price` }, a[0].price), a[0].priceDetails && /* @__PURE__ */ e.createElement("span", { className: `${E}__details` }, a[0].priceDetails)), /* @__PURE__ */ e.createElement("div", { className: `${E}__savings-line` }, a[0].savingsBadgeLabel && /* @__PURE__ */ e.createElement(
2943
2943
  ft,
2944
2944
  {
@@ -2947,8 +2947,8 @@ const St = 300, l2 = 400, xe = (p) => {
2947
2947
  size: "sm",
2948
2948
  label: a[0].savingsBadgeLabel
2949
2949
  }
2950
- ), a[0].savingsDetails && /* @__PURE__ */ e.createElement("span", { className: `${E}__savings-details` }, a[0].savingsDetails))), y = /* @__PURE__ */ e.createElement(
2951
- i1,
2950
+ ), a[0].savingsDetails && /* @__PURE__ */ e.createElement("span", { className: `${E}__savings-details` }, a[0].savingsDetails))), w = /* @__PURE__ */ e.createElement(
2951
+ d1,
2952
2952
  {
2953
2953
  className: `${E}__list`,
2954
2954
  listLabel: a[0].listLabel,
@@ -2979,10 +2979,10 @@ const St = 300, l2 = 400, xe = (p) => {
2979
2979
  }
2980
2980
  ), I.savingsDetails && /* @__PURE__ */ e.createElement("span", { className: `${E}__savings-details` }, I.savingsDetails))
2981
2981
  );
2982
- }), y = a.map((I) => {
2982
+ }), w = a.map((I) => {
2983
2983
  const S = h === g(I.label) ? null : `${E}__list--hide`;
2984
2984
  return /* @__PURE__ */ e.createElement(
2985
- i1,
2985
+ d1,
2986
2986
  {
2987
2987
  className: x([`${E}__list`, S]),
2988
2988
  listLabel: I.listLabel,
@@ -2992,7 +2992,7 @@ const St = 300, l2 = 400, xe = (p) => {
2992
2992
  }
2993
2993
  );
2994
2994
  }));
2995
- const w = (I) => {
2995
+ const y = (I) => {
2996
2996
  const D = a.find(
2997
2997
  (S) => g(S.label) === I
2998
2998
  );
@@ -3012,7 +3012,7 @@ const St = 300, l2 = 400, xe = (p) => {
3012
3012
  })),
3013
3013
  defaultValue: g(a[0].label),
3014
3014
  onOptionSelect: (I) => {
3015
- _(I.value), k(w(I.value)), l && l(I.value);
3015
+ _(I.value), k(y(I.value)), l && l(I.value);
3016
3016
  }
3017
3017
  }
3018
3018
  ));
@@ -3026,7 +3026,7 @@ const St = 300, l2 = 400, xe = (p) => {
3026
3026
  disabled: t.disabled
3027
3027
  }
3028
3028
  )), t.type === "link" && (N = /* @__PURE__ */ e.createElement(
3029
- wt,
3029
+ yt,
3030
3030
  {
3031
3031
  variant: t.variant,
3032
3032
  linkContent: /* @__PURE__ */ e.createElement("a", { href: t.linkUrl, target: t.linkTarget }, t.label)
@@ -3041,7 +3041,7 @@ const St = 300, l2 = 400, xe = (p) => {
3041
3041
  onClick: n.buttonAction
3042
3042
  }
3043
3043
  )), n.type === "link" && (V = /* @__PURE__ */ e.createElement(
3044
- wt,
3044
+ yt,
3045
3045
  {
3046
3046
  variant: "secondary",
3047
3047
  linkContent: /* @__PURE__ */ e.createElement(
@@ -3059,14 +3059,14 @@ const St = 300, l2 = 400, xe = (p) => {
3059
3059
  className: x([L, b, f])
3060
3060
  }, p),
3061
3061
  /* @__PURE__ */ e.createElement("div", { className: x([E, C]) }, m && /* @__PURE__ */ e.createElement(
3062
- Kt,
3062
+ Xt,
3063
3063
  {
3064
3064
  className: `${E}__status-badge`,
3065
3065
  label: c[m],
3066
3066
  color: m === "mostPopular" ? "reverse" : "neutral"
3067
3067
  }
3068
3068
  ), /* @__PURE__ */ e.createElement("div", { className: `${E}__main-content` }, d && /* @__PURE__ */ e.createElement("div", { className: `${E}__plan pds-overline-text` }, d), z, r && /* @__PURE__ */ e.createElement("div", { className: `${E}__description` }, r), H), /* @__PURE__ */ e.createElement("div", { className: `${E}__actions` }, t && N, t && n && V)),
3069
- s && y
3069
+ s && w
3070
3070
  );
3071
3071
  }, bn = (m) => {
3072
3072
  var f = m, {
@@ -3092,32 +3092,32 @@ const St = 300, l2 = 400, xe = (p) => {
3092
3092
  let u, v;
3093
3093
  a === "active" && (u = "Active", v = "success"), a === "frozen" && (u = "Frozen", v = "frozen");
3094
3094
  const E = /* @__PURE__ */ e.createElement(
3095
- Kt,
3095
+ Xt,
3096
3096
  {
3097
3097
  label: u,
3098
3098
  statusType: v,
3099
3099
  hasStatusIndicator: !0
3100
3100
  }
3101
- ), L = /* @__PURE__ */ e.createElement(Jt, 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(
3102
- H1,
3101
+ ), L = /* @__PURE__ */ e.createElement(e1, 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(
3102
+ z1,
3103
3103
  {
3104
3104
  fontSize: "L",
3105
3105
  fontWeight: "semibold",
3106
3106
  level: n,
3107
3107
  text: r
3108
3108
  }
3109
- ), E), /* @__PURE__ */ e.createElement("div", { className: `${p}__plan` }, d))), b = ye(l) ? Ie(l, me(M({}, l.props), {
3109
+ ), E), /* @__PURE__ */ e.createElement("div", { className: `${p}__plan` }, d))), b = we(l) ? Ie(l, me(M({}, l.props), {
3110
3110
  className: `${p}__link`,
3111
3111
  children: L,
3112
3112
  "aria-label": `${t} ${r} dashboard`
3113
3113
  })) : null;
3114
3114
  return /* @__PURE__ */ e.createElement("div", M({ className: x([p, c != null ? c : ""]) }, o), b);
3115
3115
  };
3116
- var d1 = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
3116
+ var m1 = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
3117
3117
  function _2(t) {
3118
3118
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3119
3119
  }
3120
- var z1 = { exports: {} };
3120
+ var N1 = { exports: {} };
3121
3121
  (function(t) {
3122
3122
  var n = typeof window != "undefined" ? window : typeof WorkerGlobalScope != "undefined" && self instanceof WorkerGlobalScope ? self : {};
3123
3123
  /**
@@ -3243,8 +3243,8 @@ var z1 = { exports: {} };
3243
3243
  case "Array":
3244
3244
  return $ = c.util.objId(i), h[$] ? h[$] : (_ = [], h[$] = _, /** @type {Array} */
3245
3245
  /** @type {any} */
3246
- i.forEach(function(z, y) {
3247
- _[y] = g(z, h);
3246
+ i.forEach(function(z, w) {
3247
+ _[w] = g(z, h);
3248
3248
  }), /** @type {any} */
3249
3249
  _);
3250
3250
  default:
@@ -3468,13 +3468,13 @@ var z1 = { exports: {} };
3468
3468
  for (var z in $)
3469
3469
  if ($.hasOwnProperty(z)) {
3470
3470
  if (z == i)
3471
- for (var y in h)
3472
- h.hasOwnProperty(y) && (k[y] = h[y]);
3471
+ for (var w in h)
3472
+ h.hasOwnProperty(w) && (k[w] = h[w]);
3473
3473
  h.hasOwnProperty(z) || (k[z] = $[z]);
3474
3474
  }
3475
- var w = _[g];
3475
+ var y = _[g];
3476
3476
  return _[g] = k, c.languages.DFS(c.languages, function(H, N) {
3477
- N === w && H != g && (this[H] = k);
3477
+ N === y && H != g && (this[H] = k);
3478
3478
  }), k;
3479
3479
  },
3480
3480
  // Traverse a language definition with Depth First Search
@@ -3484,8 +3484,8 @@ var z1 = { exports: {} };
3484
3484
  for (var z in i)
3485
3485
  if (i.hasOwnProperty(z)) {
3486
3486
  h.call(i, z, i[z], _ || z);
3487
- var y = i[z], w = c.util.type(y);
3488
- w === "Object" && !$[k(y)] ? ($[k(y)] = !0, g(y, h, null, $)) : w === "Array" && !$[k(y)] && ($[k(y)] = !0, g(y, h, z, $));
3487
+ var w = i[z], y = c.util.type(w);
3488
+ y === "Object" && !$[k(w)] ? ($[k(w)] = !0, g(w, h, null, $)) : y === "Array" && !$[k(w)] && ($[k(w)] = !0, g(w, h, z, $));
3489
3489
  }
3490
3490
  }
3491
3491
  },
@@ -3563,34 +3563,34 @@ var z1 = { exports: {} };
3563
3563
  c.util.setLanguage(g, _);
3564
3564
  var k = g.parentElement;
3565
3565
  k && k.nodeName.toLowerCase() === "pre" && c.util.setLanguage(k, _);
3566
- var z = g.textContent, y = {
3566
+ var z = g.textContent, w = {
3567
3567
  element: g,
3568
3568
  language: _,
3569
3569
  grammar: $,
3570
3570
  code: z
3571
3571
  };
3572
- function w(N) {
3573
- y.highlightedCode = N, c.hooks.run("before-insert", y), y.element.innerHTML = y.highlightedCode, c.hooks.run("after-highlight", y), c.hooks.run("complete", y), h && h.call(y.element);
3572
+ function y(N) {
3573
+ w.highlightedCode = N, c.hooks.run("before-insert", w), w.element.innerHTML = w.highlightedCode, c.hooks.run("after-highlight", w), c.hooks.run("complete", w), h && h.call(w.element);
3574
3574
  }
3575
- if (c.hooks.run("before-sanity-check", y), k = y.element.parentElement, k && k.nodeName.toLowerCase() === "pre" && !k.hasAttribute("tabindex") && k.setAttribute("tabindex", "0"), !y.code) {
3576
- c.hooks.run("complete", y), h && h.call(y.element);
3575
+ if (c.hooks.run("before-sanity-check", w), k = w.element.parentElement, k && k.nodeName.toLowerCase() === "pre" && !k.hasAttribute("tabindex") && k.setAttribute("tabindex", "0"), !w.code) {
3576
+ c.hooks.run("complete", w), h && h.call(w.element);
3577
3577
  return;
3578
3578
  }
3579
- if (c.hooks.run("before-highlight", y), !y.grammar) {
3580
- w(c.util.encode(y.code));
3579
+ if (c.hooks.run("before-highlight", w), !w.grammar) {
3580
+ y(c.util.encode(w.code));
3581
3581
  return;
3582
3582
  }
3583
3583
  if (i && l.Worker) {
3584
3584
  var H = new Worker(c.filename);
3585
3585
  H.onmessage = function(N) {
3586
- w(N.data);
3586
+ y(N.data);
3587
3587
  }, H.postMessage(JSON.stringify({
3588
- language: y.language,
3589
- code: y.code,
3588
+ language: w.language,
3589
+ code: w.code,
3590
3590
  immediateClose: !0
3591
3591
  }));
3592
3592
  } else
3593
- w(c.highlight(y.code, y.grammar, y.language));
3593
+ y(c.highlight(w.code, w.grammar, w.language));
3594
3594
  },
3595
3595
  /**
3596
3596
  * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
@@ -3706,8 +3706,8 @@ var z1 = { exports: {} };
3706
3706
  return i;
3707
3707
  if (Array.isArray(i)) {
3708
3708
  var _ = "";
3709
- return i.forEach(function(w) {
3710
- _ += g(w, h);
3709
+ return i.forEach(function(y) {
3710
+ _ += g(y, h);
3711
3711
  }), _;
3712
3712
  }
3713
3713
  var $ = {
@@ -3720,8 +3720,8 @@ var z1 = { exports: {} };
3720
3720
  }, k = i.alias;
3721
3721
  k && (Array.isArray(k) ? Array.prototype.push.apply($.classes, k) : $.classes.push(k)), c.hooks.run("wrap", $);
3722
3722
  var z = "";
3723
- for (var y in $.attributes)
3724
- z += " " + y + '="' + ($.attributes[y] || "").replace(/"/g, "&quot;") + '"';
3723
+ for (var w in $.attributes)
3724
+ z += " " + w + '="' + ($.attributes[w] || "").replace(/"/g, "&quot;") + '"';
3725
3725
  return "<" + $.tag + ' class="' + $.classes.join(" ") + '"' + z + ">" + $.content + "</" + $.tag + ">";
3726
3726
  };
3727
3727
  function m(g, i, h, _) {
@@ -3736,12 +3736,12 @@ var z1 = { exports: {} };
3736
3736
  function f(g, i, h, _, $, k) {
3737
3737
  for (var z in h)
3738
3738
  if (!(!h.hasOwnProperty(z) || !h[z])) {
3739
- var y = h[z];
3740
- y = Array.isArray(y) ? y : [y];
3741
- for (var w = 0; w < y.length; ++w) {
3742
- if (k && k.cause == z + "," + w)
3739
+ var w = h[z];
3740
+ w = Array.isArray(w) ? w : [w];
3741
+ for (var y = 0; y < w.length; ++y) {
3742
+ if (k && k.cause == z + "," + y)
3743
3743
  return;
3744
- var H = y[w], N = H.inside, V = !!H.lookbehind, I = !!H.greedy, D = H.alias;
3744
+ var H = w[y], N = H.inside, V = !!H.lookbehind, I = !!H.greedy, D = H.alias;
3745
3745
  if (I && !H.pattern.global) {
3746
3746
  var S = H.pattern.toString().match(/[imsuy]*$/)[0];
3747
3747
  H.pattern = RegExp(H.pattern.source, S + "g");
@@ -3772,7 +3772,7 @@ var z1 = { exports: {} };
3772
3772
  var fe = new o(z, N ? c.tokenize(X, N) : X, D, X);
3773
3773
  if (W = u(i, te, fe), B && u(i, W, B), ne > 1) {
3774
3774
  var ie = {
3775
- cause: z + "," + w,
3775
+ cause: z + "," + y,
3776
3776
  reach: J
3777
3777
  };
3778
3778
  f(g, i, h, W.prev, Z, ie), k && ie.reach > k.reach && (k.reach = ie.reach);
@@ -3816,9 +3816,9 @@ var z1 = { exports: {} };
3816
3816
  }
3817
3817
  return c;
3818
3818
  }(n);
3819
- t.exports && (t.exports = s), typeof d1 != "undefined" && (d1.Prism = s);
3820
- })(z1);
3821
- var E2 = z1.exports;
3819
+ t.exports && (t.exports = s), typeof m1 != "undefined" && (m1.Prism = s);
3820
+ })(N1);
3821
+ var E2 = N1.exports;
3822
3822
  const v2 = /* @__PURE__ */ _2(E2), b2 = {
3823
3823
  plain: {
3824
3824
  color: "var(--pds-color-code-block-dark-foreground)",
@@ -4365,7 +4365,7 @@ const Cn = (u) => {
4365
4365
  a
4366
4366
  ))
4367
4367
  );
4368
- }, yn = (d) => {
4368
+ }, wn = (d) => {
4369
4369
  var a = d, {
4370
4370
  title: t,
4371
4371
  status: n,
@@ -4392,7 +4392,7 @@ const Cn = (u) => {
4392
4392
  className: `${c}__stat-status ${c}__stat-status--${n}`
4393
4393
  }
4394
4394
  ), s && /* @__PURE__ */ e.createElement("div", { className: `${c}__stat-value` }, s)));
4395
- }, wn = (a) => {
4395
+ }, yn = (a) => {
4396
4396
  var c = a, {
4397
4397
  additions: t = 4,
4398
4398
  deletions: n = 2,
@@ -4483,7 +4483,7 @@ const Cn = (u) => {
4483
4483
  }, l),
4484
4484
  o
4485
4485
  );
4486
- }, y2 = (r) => {
4486
+ }, w2 = (r) => {
4487
4487
  var d = r, {
4488
4488
  headingLevel: t = "h3",
4489
4489
  headingText: n,
@@ -4515,7 +4515,7 @@ const Cn = (u) => {
4515
4515
  ]);
4516
4516
  const c = "pds-footer-links";
4517
4517
  return /* @__PURE__ */ e.createElement("div", M({ className: x([c, l]) }, r), n && /* @__PURE__ */ e.createElement(
4518
- y2,
4518
+ w2,
4519
4519
  {
4520
4520
  headingLevel: t,
4521
4521
  className: `${c}__heading`,
@@ -4543,7 +4543,7 @@ const Cn = (u) => {
4543
4543
  ]);
4544
4544
  const c = "pds-site-footer", o = t && t !== "standard" ? `pds-container pds-container--${t}` : "pds-container", m = (/* @__PURE__ */ new Date()).getFullYear(), f = s.includes("privacy"), p = s.includes("dataSubjectRequest"), u = s.includes("cookiePolicy"), v = s.includes("termsOfUse"), E = s.includes("acceptableUse"), L = s.includes("accessibilityStatement");
4545
4545
  return /* @__PURE__ */ e.createElement("footer", M({ className: x([c, l != null ? l : ""]) }, r), /* @__PURE__ */ e.createElement("div", { className: o }, n && /* @__PURE__ */ e.createElement("div", { className: `${c}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${c}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${c}__copyright` }, "© ", m, " Pantheon Systems, Inc."), f && /* @__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"), u && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/pantheon-cookies?_gl=1*12uc311*_gcl_au*NjU2MzA3MDUzLjE2ODk3ODU1NTI." }, "Cookie Policy"), v && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/terms-of-service" }, "Terms of Use"), E && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/acceptable-use-policy" }, "Acceptable Use Policy"), L && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement"))));
4546
- }, w2 = Ze(
4546
+ }, y2 = Ze(
4547
4547
  (k, $) => {
4548
4548
  var z = k, {
4549
4549
  checked: t,
@@ -4590,18 +4590,18 @@ const Cn = (u) => {
4590
4590
  "value",
4591
4591
  "className"
4592
4592
  ]);
4593
- const y = a ? { width: `${a / 16}rem` } : null, w = "pds-checkbox", H = s ? ee.disabled : null, N = g === "error" ? ee.error : null, V = f > 0 ? `${w}--indent-${f}` : null, I = E && !s ? ee.required : null, D = b === "S" ? `${w}--sm` : null, S = g === "success" ? ee.success : null, T = C || o, W = typeof t != "undefined", Z = typeof n != "undefined", [K, ne] = U(
4593
+ const w = a ? { width: `${a / 16}rem` } : null, y = "pds-checkbox", H = s ? ee.disabled : null, N = g === "error" ? ee.error : null, V = f > 0 ? `${y}--indent-${f}` : null, I = E && !s ? ee.required : null, D = b === "S" ? `${y}--sm` : null, S = g === "success" ? ee.success : null, T = C || o, W = typeof t != "undefined", Z = typeof n != "undefined", [K, ne] = U(
4594
4594
  Z ? n : !1
4595
4595
  ), Y = t || K, j = (F) => {
4596
4596
  W || ne(F.target.checked), u && u(F);
4597
- }, q = `${w}__box`, O = r ? null : Y ? `${q}--checked` : null, Q = r ? `${q}--indeterminate` : null, X = W1(() => {
4597
+ }, q = `${y}__box`, O = r ? null : Y ? `${q}--checked` : null, Q = r ? `${q}--indeterminate` : null, X = Zt(() => {
4598
4598
  if (r)
4599
4599
  return /* @__PURE__ */ e.createElement(
4600
4600
  P,
4601
4601
  {
4602
4602
  iconName: "minus",
4603
4603
  iconSize: "sm",
4604
- className: `${w}__icon ${w}__icon--indeterminate`
4604
+ className: `${y}__icon ${y}__icon--indeterminate`
4605
4605
  }
4606
4606
  );
4607
4607
  if (Y)
@@ -4610,7 +4610,7 @@ const Cn = (u) => {
4610
4610
  {
4611
4611
  iconName: "check",
4612
4612
  iconSize: "sm",
4613
- className: `${w}__icon ${w}__icon--checked`
4613
+ className: `${y}__icon ${y}__icon--checked`
4614
4614
  }
4615
4615
  );
4616
4616
  }, [r, Y]);
@@ -4618,7 +4618,7 @@ const Cn = (u) => {
4618
4618
  "div",
4619
4619
  M({
4620
4620
  className: [
4621
- w,
4621
+ y,
4622
4622
  H,
4623
4623
  I,
4624
4624
  N,
@@ -4627,9 +4627,9 @@ const Cn = (u) => {
4627
4627
  V,
4628
4628
  h != null ? h : ""
4629
4629
  ].join(" ").trim().replace(/\s+/g, " "),
4630
- style: a ? y : null
4630
+ style: a ? w : null
4631
4631
  }, _),
4632
- /* @__PURE__ */ e.createElement("div", { className: `${w}__input-wrapper` }, /* @__PURE__ */ e.createElement(
4632
+ /* @__PURE__ */ e.createElement("div", { className: `${y}__input-wrapper` }, /* @__PURE__ */ e.createElement(
4633
4633
  "input",
4634
4634
  M(me(M({
4635
4635
  ref: $,
@@ -4647,7 +4647,7 @@ const Cn = (u) => {
4647
4647
  "aria-invalid": g === "error" ? !0 : null,
4648
4648
  "aria-describedby": T ? `${l}__message` : null
4649
4649
  }), d)
4650
- ), /* @__PURE__ */ e.createElement("label", { htmlFor: l, className: `${w}__label` }, /* @__PURE__ */ e.createElement(
4650
+ ), /* @__PURE__ */ e.createElement("label", { htmlFor: l, className: `${y}__label` }, /* @__PURE__ */ e.createElement(
4651
4651
  "div",
4652
4652
  {
4653
4653
  className: x([
@@ -4661,7 +4661,7 @@ const Cn = (u) => {
4661
4661
  "div",
4662
4662
  {
4663
4663
  className: x([
4664
- `${w}__label-text`,
4664
+ `${y}__label-text`,
4665
4665
  L ? "" : "visually-hidden"
4666
4666
  ])
4667
4667
  },
@@ -4786,20 +4786,20 @@ const Cn = (u) => {
4786
4786
  o.map((I) => {
4787
4787
  I.id || (I.id = I.value);
4788
4788
  });
4789
- const y = [];
4789
+ const w = [];
4790
4790
  o.map((I) => {
4791
- I.checked === !0 && y.push(I.value);
4791
+ I.checked === !0 && w.push(I.value);
4792
4792
  });
4793
- const [w, H] = U(y), N = (I) => {
4794
- const { value: D } = I.target, S = w.includes(D) ? w.filter((T) => T !== D) : [...w, D];
4793
+ const [y, H] = U(w), N = (I) => {
4794
+ const { value: D } = I.target, S = y.includes(D) ? y.filter((T) => T !== D) : [...y, D];
4795
4795
  H(S), c && c(S);
4796
4796
  };
4797
4797
  o.map((I) => {
4798
- w.includes(I.value) ? I.checked = !0 : I.checked = !1;
4798
+ y.includes(I.value) ? I.checked = !0 : I.checked = !1;
4799
4799
  });
4800
4800
  const V = () => {
4801
4801
  a && setTimeout(() => {
4802
- o.some((I) => I.id === document.activeElement.id) || a(w);
4802
+ o.some((I) => I.id === document.activeElement.id) || a(y);
4803
4803
  }, 1500);
4804
4804
  };
4805
4805
  return /* @__PURE__ */ e.createElement(
@@ -4827,7 +4827,7 @@ const Cn = (u) => {
4827
4827
  tooltipText: p
4828
4828
  }
4829
4829
  ), /* @__PURE__ */ e.createElement("div", { className: `${i}__options` }, o.map((I) => /* @__PURE__ */ e.createElement(
4830
- w2,
4830
+ y2,
4831
4831
  {
4832
4832
  key: I.id,
4833
4833
  checked: I.checked,
@@ -4885,8 +4885,8 @@ const Cn = (u) => {
4885
4885
  showLabel: $ = !0,
4886
4886
  tooltipText: k = null,
4887
4887
  value: z,
4888
- validationMessage: y,
4889
- validationStatus: w,
4888
+ validationMessage: w,
4889
+ validationStatus: y,
4890
4890
  className: H
4891
4891
  } = D, N = A(D, [
4892
4892
  "defaultValue",
@@ -4918,10 +4918,10 @@ const Cn = (u) => {
4918
4918
  "validationStatus",
4919
4919
  "className"
4920
4920
  ]);
4921
- const S = Je(c), T = "pds-combobox", W = n ? ee.disabled : null, Z = _ && !n ? ee.required : null, K = w === "error" ? ee.error : null, ne = w === "success" ? ee.success : null;
4921
+ const S = Je(c), T = "pds-combobox", W = n ? ee.disabled : null, Z = _ && !n ? ee.required : null, K = y === "error" ? ee.error : null, ne = y === "success" ? ee.success : null;
4922
4922
  let Y = null;
4923
- r && (Y = "search"), w === "error" && (Y = "error"), w === "success" && (Y = "success");
4924
- const j = y || u, q = typeof z != "undefined", O = typeof t != "undefined", Q = (G) => {
4923
+ r && (Y = "search"), y === "error" && (Y = "error"), y === "success" && (Y = "success");
4924
+ const j = w || u, q = typeof z != "undefined", O = typeof t != "undefined", Q = (G) => {
4925
4925
  const ae = i.find((re) => re.value === G);
4926
4926
  return ae ? ae.label : "";
4927
4927
  }, [X, F] = U(!1), [B, J] = U(null), [te, fe] = U(
@@ -4990,7 +4990,7 @@ const Cn = (u) => {
4990
4990
  const se = ie.map((G, ae) => {
4991
4991
  const { label: re, value: ue, optionDisplay: pe } = G;
4992
4992
  return /* @__PURE__ */ e.createElement(
4993
- yt,
4993
+ wt,
4994
4994
  me(M({
4995
4995
  key: G
4996
4996
  }, tt({
@@ -5042,7 +5042,7 @@ const Cn = (u) => {
5042
5042
  id: a,
5043
5043
  "aria-disabled": n ? !0 : null,
5044
5044
  "aria-required": _ ? !0 : null,
5045
- "aria-invalid": w === "error" ? !0 : null,
5045
+ "aria-invalid": y === "error" ? !0 : null,
5046
5046
  "aria-describedby": j ? `${a}__message` : null
5047
5047
  },
5048
5048
  Y && /* @__PURE__ */ e.createElement(dt, { variant: Y }),
@@ -5068,7 +5068,7 @@ const Cn = (u) => {
5068
5068
  }))
5069
5069
  ),
5070
5070
  $e && s && /* @__PURE__ */ e.createElement(
5071
- Yt,
5071
+ Qt,
5072
5072
  {
5073
5073
  id: `input-${a}`,
5074
5074
  clearLabel: f.clearButton,
@@ -5076,7 +5076,7 @@ const Cn = (u) => {
5076
5076
  }
5077
5077
  ),
5078
5078
  d && !$e && /* @__PURE__ */ e.createElement(
5079
- w1,
5079
+ L1,
5080
5080
  {
5081
5081
  inputId: `input-${a}`,
5082
5082
  shortcutLabel: f.searchShortcut
@@ -5114,16 +5114,16 @@ const Cn = (u) => {
5114
5114
  zIndex: "var(--pds-z-index-dropdown)"
5115
5115
  }
5116
5116
  })),
5117
- /* @__PURE__ */ e.createElement("div", { style: M({}, ct) }, o ? /* @__PURE__ */ e.createElement("div", { className: `${T}__loading` }, p) : ie.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${T}__options` }, se) : /* @__PURE__ */ e.createElement("div", { className: `${T}__no-results` }, v))
5117
+ /* @__PURE__ */ e.createElement("div", { style: M({}, ct) }, o ? /* @__PURE__ */ e.createElement("div", { className: `${T}__loading` }, p) : ie.length > 0 ? /* @__PURE__ */ e.createElement("ul", { role: "group", className: `${T}__options` }, se) : /* @__PURE__ */ e.createElement("div", { className: `${T}__no-results` }, v))
5118
5118
  ),
5119
5119
  j && /* @__PURE__ */ e.createElement(
5120
5120
  De,
5121
5121
  {
5122
5122
  id: a,
5123
5123
  message: j,
5124
- hasValidationMessage: !!y,
5124
+ hasValidationMessage: !!w,
5125
5125
  validationMessageHasDecorators: !1,
5126
- validationStatus: w
5126
+ validationStatus: y
5127
5127
  }
5128
5128
  )
5129
5129
  );
@@ -5174,13 +5174,13 @@ const Cn = (u) => {
5174
5174
  "showLabel",
5175
5175
  "className"
5176
5176
  ]);
5177
- const g = Je(l), i = "pds-combobox-multi", h = t ? ee.disabled : null, _ = u && !t ? ee.required : null, [$, k] = U(""), [z, y] = U(s), [w, H] = U(
5177
+ const g = Je(l), i = "pds-combobox-multi", h = t ? ee.disabled : null, _ = u && !t ? ee.required : null, [$, k] = U(""), [z, w] = U(s), [y, H] = U(
5178
5178
  null
5179
- ), N = g1(
5179
+ ), N = _1(
5180
5180
  () => M2(f, z, $),
5181
5181
  [f, z, $]
5182
5182
  ), V = (F) => {
5183
- y(F), m == null || m(F);
5183
+ w(F), m == null || m(F);
5184
5184
  }, { getSelectedItemProps: I, getDropdownProps: D, removeSelectedItem: S } = ut({
5185
5185
  selectedItems: z,
5186
5186
  onStateChange: ({ selectedItems: F, type: B }) => {
@@ -5240,15 +5240,15 @@ const Cn = (u) => {
5240
5240
  }
5241
5241
  }
5242
5242
  }), q = () => {
5243
- if (w === null)
5243
+ if (y === null)
5244
5244
  H(z.length - 1);
5245
5245
  else {
5246
5246
  const F = [...z];
5247
- F.splice(w, 1), V(F), H(null);
5247
+ F.splice(y, 1), V(F), H(null);
5248
5248
  }
5249
5249
  }, O = (F) => {
5250
5250
  var B, J;
5251
- if (!t && ((F.key === "Backspace" || F.key === "Delete") && !$ && z.length > 0 && (F.preventDefault(), q()), F.key === "Enter" && w !== null && (F.preventDefault(), q()), F.key === "ArrowDown" && !T)) {
5251
+ if (!t && ((F.key === "Backspace" || F.key === "Delete") && !$ && z.length > 0 && (F.preventDefault(), q()), F.key === "Enter" && y !== null && (F.preventDefault(), q()), F.key === "ArrowDown" && !T)) {
5252
5252
  F.preventDefault();
5253
5253
  const te = F.nativeEvent;
5254
5254
  (J = (B = K()).onClick) == null || J.call(B, te);
@@ -5296,7 +5296,7 @@ const Cn = (u) => {
5296
5296
  M({
5297
5297
  className: `
5298
5298
  ${i}__selected-item
5299
- ${B === w ? `${i}__selected-item--marked-for-deletion` : ""}
5299
+ ${B === y ? `${i}__selected-item--marked-for-deletion` : ""}
5300
5300
  `,
5301
5301
  key: `selected-item-${B}`
5302
5302
  }, I({
@@ -5345,7 +5345,7 @@ const Cn = (u) => {
5345
5345
  })
5346
5346
  )),
5347
5347
  r ? /* @__PURE__ */ e.createElement("div", { className: `${i}__loading` }, c) : N.length > 0 ? /* @__PURE__ */ e.createElement("ul", M({ className: `${i}__dropdown-list` }, ne()), N.map((F, B) => /* @__PURE__ */ e.createElement(
5348
- yt,
5348
+ wt,
5349
5349
  M({
5350
5350
  className: `${i}__dropdown-item
5351
5351
  ${W === B ? `${i}__dropdown-item--highlighted` : ""}
@@ -5409,9 +5409,9 @@ const Cn = (u) => {
5409
5409
  "validationStatus",
5410
5410
  "className"
5411
5411
  ]);
5412
- const [k, z] = U(!1), [y, w] = U(
5412
+ const [k, z] = U(!1), [w, y] = U(
5413
5413
  !!(vt && n)
5414
- ), H = Je(a), N = "pds-file-upload", V = s ? ee.disabled : null, I = u && !s ? ee.required : null, D = C === "error" ? ee.error : null, S = C === "success" ? ee.success : null, T = y ? `${N}--safari-default` : null;
5414
+ ), H = Je(a), N = "pds-file-upload", V = s ? ee.disabled : null, I = u && !s ? ee.required : null, D = C === "error" ? ee.error : null, S = C === "success" ? ee.success : null, T = w ? `${N}--safari-default` : null;
5415
5415
  let W = null;
5416
5416
  C === "error" && (W = "error"), C === "success" && (W = "success");
5417
5417
  const Z = b || o, K = n ? [n] : null, ne = n ? n.split("/").pop() : null, Y = v ? n : ne, j = n ? new File(K, Y) : null;
@@ -5436,12 +5436,12 @@ const Cn = (u) => {
5436
5436
  n ? q() : z(!1);
5437
5437
  return;
5438
5438
  }
5439
- vt && n && (n === X.target.value ? w(!0) : w(!1)), p && p(X.target.files), z(!0);
5439
+ vt && n && (n === X.target.value ? y(!0) : y(!1)), p && p(X.target.files), z(!0);
5440
5440
  }, Q = () => {
5441
5441
  const X = document.getElementById(
5442
5442
  `${r}--input`
5443
5443
  );
5444
- X.value = "", vt && w(!1), f && f(), z(!1), X.focus();
5444
+ X.value = "", vt && y(!1), f && f(), z(!1), X.focus();
5445
5445
  };
5446
5446
  return /* @__PURE__ */ e.createElement(
5447
5447
  "div",
@@ -5494,7 +5494,7 @@ const Cn = (u) => {
5494
5494
  "aria-describedby": Z ? `${r}__message` : null
5495
5495
  }, d)
5496
5496
  ), k && /* @__PURE__ */ e.createElement(
5497
- Yt,
5497
+ Qt,
5498
5498
  {
5499
5499
  id: r,
5500
5500
  clearLabel: c.clearButton,
@@ -5580,10 +5580,10 @@ const Cn = (u) => {
5580
5580
  "value",
5581
5581
  "className"
5582
5582
  ]);
5583
- const _ = "pds-radio-group", $ = n ? ee.disabled : null, k = p && !n ? ee.required : null, z = L === "error" ? ee.error : null, y = L === "success" ? ee.success : null, w = typeof b != "undefined", H = typeof t != "undefined", [N, V] = U(
5583
+ const _ = "pds-radio-group", $ = n ? ee.disabled : null, k = p && !n ? ee.required : null, z = L === "error" ? ee.error : null, w = L === "success" ? ee.success : null, y = typeof b != "undefined", H = typeof t != "undefined", [N, V] = U(
5584
5584
  H ? t : ""
5585
5585
  ), I = E || a, D = (T) => {
5586
- w || V(T.target.value), o && o(T), m && m(T.target.value);
5586
+ y || V(T.target.value), o && o(T), m && m(T.target.value);
5587
5587
  }, S = (T) => {
5588
5588
  c && c(T);
5589
5589
  };
@@ -5595,7 +5595,7 @@ const Cn = (u) => {
5595
5595
  $,
5596
5596
  k,
5597
5597
  z,
5598
- y,
5598
+ w,
5599
5599
  C != null ? C : ""
5600
5600
  ]),
5601
5601
  style: Je(r)
@@ -5628,7 +5628,7 @@ const Cn = (u) => {
5628
5628
  disabled: n || T.disabled,
5629
5629
  onBlur: S,
5630
5630
  onChange: D,
5631
- checked: w ? b === T.value : N === T.value
5631
+ checked: y ? b === T.value : N === T.value
5632
5632
  }
5633
5633
  ),
5634
5634
  /* @__PURE__ */ e.createElement("label", { htmlFor: T.id ? T.id : `${l}-option-${W}` }, T.label)
@@ -5644,7 +5644,7 @@ const Cn = (u) => {
5644
5644
  }
5645
5645
  )
5646
5646
  );
5647
- }, k2 = ({ toggleStatusLabel: t, id: n }) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Qt, { label: t }), /* @__PURE__ */ e.createElement(
5647
+ }, k2 = ({ toggleStatusLabel: t, id: n }) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Jt, { label: t }), /* @__PURE__ */ e.createElement(
5648
5648
  "label",
5649
5649
  {
5650
5650
  htmlFor: n,
@@ -5652,7 +5652,7 @@ const Cn = (u) => {
5652
5652
  "aria-hidden": "true"
5653
5653
  },
5654
5654
  t
5655
- )), H2 = ({ toggleStatusLabel: t }) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Qt, { label: t }), /* @__PURE__ */ e.createElement(
5655
+ )), H2 = ({ toggleStatusLabel: t }) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Jt, { label: t }), /* @__PURE__ */ e.createElement(
5656
5656
  "span",
5657
5657
  {
5658
5658
  className: "pds-switch__input-decor",
@@ -5705,7 +5705,7 @@ const Cn = (u) => {
5705
5705
  "showStatusLabel",
5706
5706
  "className"
5707
5707
  ]);
5708
- const h = Je(d), _ = "pds-switch", $ = s ? ee.disabled : null, k = u && !s ? ee.required : null, z = typeof t != "undefined", y = c == "below", w = c == "right", H = !z && n ? n : !1, [N, V] = U(H), I = t || N ? p : m, D = (ne) => {
5708
+ const h = Je(d), _ = "pds-switch", $ = s ? ee.disabled : null, k = u && !s ? ee.required : null, z = typeof t != "undefined", w = c == "below", y = c == "right", H = !z && n ? n : !1, [N, V] = U(H), I = t || N ? p : m, D = (ne) => {
5709
5709
  z || V(ne.target.checked), f && f(ne);
5710
5710
  }, S = /* @__PURE__ */ e.createElement("div", { className: "pds-switch__content" }, /* @__PURE__ */ e.createElement("label", { className: "pds-switch__input" }, /* @__PURE__ */ e.createElement(
5711
5711
  "input",
@@ -5746,7 +5746,7 @@ const Cn = (u) => {
5746
5746
  }
5747
5747
  );
5748
5748
  let Z, K;
5749
- return y ? Z = /* @__PURE__ */ e.createElement(e.Fragment, null, T, W, S) : w && (K = "pds-switch--placement-right", Z = o ? /* @__PURE__ */ e.createElement(e.Fragment, null, T, /* @__PURE__ */ e.createElement("div", { className: "pds-switch__toggle-message-container" }, W, /* @__PURE__ */ e.createElement("div", null, S))) : /* @__PURE__ */ e.createElement(
5749
+ return w ? Z = /* @__PURE__ */ e.createElement(e.Fragment, null, T, W, S) : y && (K = "pds-switch--placement-right", Z = o ? /* @__PURE__ */ e.createElement(e.Fragment, null, T, /* @__PURE__ */ e.createElement("div", { className: "pds-switch__toggle-message-container" }, W, /* @__PURE__ */ e.createElement("div", null, S))) : /* @__PURE__ */ e.createElement(
5750
5750
  "div",
5751
5751
  {
5752
5752
  className: x([
@@ -5773,8 +5773,8 @@ const Cn = (u) => {
5773
5773
  );
5774
5774
  }
5775
5775
  ), Tn = Ze(
5776
- (y, z) => {
5777
- var w = y, {
5776
+ (w, z) => {
5777
+ var y = w, {
5778
5778
  counterMaxLength: t,
5779
5779
  defaultValue: n,
5780
5780
  disabled: s = !1,
@@ -5805,7 +5805,7 @@ const Cn = (u) => {
5805
5805
  validationStatus: h,
5806
5806
  value: _,
5807
5807
  className: $
5808
- } = w, k = A(w, [
5808
+ } = y, k = A(y, [
5809
5809
  "counterMaxLength",
5810
5810
  "defaultValue",
5811
5811
  "disabled",
@@ -5864,7 +5864,7 @@ const Cn = (u) => {
5864
5864
  className: `${N}__inputlabel`
5865
5865
  }
5866
5866
  ), t && /* @__PURE__ */ e.createElement(
5867
- L1,
5867
+ M1,
5868
5868
  {
5869
5869
  id: l,
5870
5870
  currentLength: q.length,
@@ -5904,7 +5904,7 @@ const Cn = (u) => {
5904
5904
  )
5905
5905
  );
5906
5906
  }
5907
- ), N1 = Ze(
5907
+ ), x1 = Ze(
5908
5908
  (I, V) => {
5909
5909
  var D = I, {
5910
5910
  autoComplete: t,
@@ -5939,8 +5939,8 @@ const Cn = (u) => {
5939
5939
  },
5940
5940
  type: k = "text",
5941
5941
  validationMessage: z,
5942
- validationStatus: y,
5943
- value: w,
5942
+ validationStatus: w,
5943
+ value: y,
5944
5944
  className: H
5945
5945
  } = D, N = A(D, [
5946
5946
  "autoComplete",
@@ -5972,12 +5972,12 @@ const Cn = (u) => {
5972
5972
  "value",
5973
5973
  "className"
5974
5974
  ]);
5975
- const S = Je(o), T = "pds-text-input", W = l ? ee.disabled : null, Z = C && !l ? ee.required : null, K = y === "error" ? ee.error : null, ne = y === "success" ? ee.success : null, Y = b ? ee.readonly : null;
5975
+ const S = Je(o), T = "pds-text-input", W = l ? ee.disabled : null, Z = C && !l ? ee.required : null, K = w === "error" ? ee.error : null, ne = w === "success" ? ee.success : null, Y = b ? ee.readonly : null;
5976
5976
  let j = null;
5977
- k === "search" && (j = "search"), k === "search" && g === "filter" && (j = "filter"), y === "error" && (j = "error"), y === "success" && (j = "success");
5978
- const q = z || f, O = typeof w != "undefined", Q = typeof s != "undefined", [X, F] = U(
5977
+ k === "search" && (j = "search"), k === "search" && g === "filter" && (j = "filter"), w === "error" && (j = "error"), w === "success" && (j = "success");
5978
+ const q = z || f, O = typeof y != "undefined", Q = typeof s != "undefined", [X, F] = U(
5979
5979
  Q ? s : ""
5980
- ), B = w || X, J = (le) => {
5980
+ ), B = y || X, J = (le) => {
5981
5981
  h && ie && be(!1), p && p(le);
5982
5982
  }, te = (le) => {
5983
5983
  O || F(le.target.value), u && u(le);
@@ -6026,7 +6026,7 @@ const Cn = (u) => {
6026
6026
  id: a,
6027
6027
  name: a,
6028
6028
  type: ce,
6029
- value: O ? w : X,
6029
+ value: O ? y : X,
6030
6030
  placeholder: L,
6031
6031
  readOnly: b,
6032
6032
  disabled: l,
@@ -6035,11 +6035,11 @@ const Cn = (u) => {
6035
6035
  onBlur: J,
6036
6036
  onChange: te,
6037
6037
  onFocus: E,
6038
- "aria-invalid": y === "error" ? !0 : null,
6038
+ "aria-invalid": w === "error" ? !0 : null,
6039
6039
  "aria-describedby": q ? `${a}__message` : null
6040
6040
  }, c)
6041
6041
  ), r && B && /* @__PURE__ */ e.createElement(
6042
- Yt,
6042
+ Qt,
6043
6043
  {
6044
6044
  id: a,
6045
6045
  clearLabel: $.clearButton,
@@ -6057,13 +6057,13 @@ const Cn = (u) => {
6057
6057
  },
6058
6058
  /* @__PURE__ */ e.createElement(P, { iconName: ie ? "eyeSlash" : "eye", iconSize: "md" })
6059
6059
  ), d && k === "search" && !B && /* @__PURE__ */ e.createElement(
6060
- w1,
6060
+ L1,
6061
6061
  {
6062
6062
  inputId: a,
6063
6063
  shortcutLabel: $.searchShortcut
6064
6064
  }
6065
6065
  ), n && k !== "password" && /* @__PURE__ */ e.createElement(
6066
- L1,
6066
+ M1,
6067
6067
  {
6068
6068
  id: a,
6069
6069
  currentLength: B.length,
@@ -6078,7 +6078,7 @@ const Cn = (u) => {
6078
6078
  message: q,
6079
6079
  hasValidationMessage: !!z,
6080
6080
  validationMessageHasDecorators: !1,
6081
- validationStatus: y
6081
+ validationStatus: w
6082
6082
  }
6083
6083
  )
6084
6084
  );
@@ -6173,7 +6173,7 @@ const Cn = (u) => {
6173
6173
  position: "fixed"
6174
6174
  })
6175
6175
  },
6176
- /* @__PURE__ */ e.createElement(b1, { context: C }, /* @__PURE__ */ e.createElement(
6176
+ /* @__PURE__ */ e.createElement(C1, { context: C }, /* @__PURE__ */ e.createElement(
6177
6177
  "div",
6178
6178
  M(me(M({
6179
6179
  ref: b.setFloating,
@@ -6186,7 +6186,7 @@ const Cn = (u) => {
6186
6186
  })
6187
6187
  }), m),
6188
6188
  l && /* @__PURE__ */ e.createElement("div", { className: `${u}__close-wrapper` }, /* @__PURE__ */ e.createElement(
6189
- M1,
6189
+ k1,
6190
6190
  {
6191
6191
  ariaLabel: s,
6192
6192
  onClick: () => L(!1),
@@ -6211,7 +6211,7 @@ const Cn = (u) => {
6211
6211
  if (f < c - 1)
6212
6212
  return /* @__PURE__ */ e.createElement("li", { key: f, className: `${a}__crumb` }, m);
6213
6213
  {
6214
- const p = ye(m) ? Ie(m, {
6214
+ const p = we(m) ? Ie(m, {
6215
6215
  "aria-current": "page"
6216
6216
  }) : null;
6217
6217
  return /* @__PURE__ */ e.createElement(
@@ -6232,8 +6232,8 @@ const Cn = (u) => {
6232
6232
  }, l),
6233
6233
  /* @__PURE__ */ e.createElement("ol", { className: `${a}__crumbs` }, o)
6234
6234
  );
6235
- }, x1 = (t) => typeof t.linkContent != "string" ? !!(t.isActive || t.linkContent.props.className && t.linkContent.props.className.includes("pds-isActive")) : !1, Ee = (t) => {
6236
- if (x1(t))
6235
+ }, I1 = (t) => typeof t.linkContent != "string" ? !!(t.isActive || t.linkContent.props.className && t.linkContent.props.className.includes("pds-isActive")) : !1, Ee = (t) => {
6236
+ if (I1(t))
6237
6237
  return !0;
6238
6238
  if (t.links) {
6239
6239
  for (let n = 0; n < t.links.length; n++)
@@ -6241,14 +6241,14 @@ const Cn = (u) => {
6241
6241
  return !0;
6242
6242
  }
6243
6243
  return !1;
6244
- }, e1 = (t) => {
6244
+ }, t1 = (t) => {
6245
6245
  if (!t)
6246
6246
  return null;
6247
6247
  for (let n = 0; n < t.length; n++) {
6248
- if (x1(t[n]))
6248
+ if (I1(t[n]))
6249
6249
  return typeof t[n].linkContent == "string" ? null : t[n].linkContent;
6250
6250
  if (t[n].links) {
6251
- const s = e1(t[n].links);
6251
+ const s = t1(t[n].links);
6252
6252
  if (s)
6253
6253
  return s;
6254
6254
  }
@@ -6276,7 +6276,7 @@ const Cn = (u) => {
6276
6276
  "className"
6277
6277
  ]);
6278
6278
  let a = !1;
6279
- const c = ve(we);
6279
+ const c = ve(ye);
6280
6280
  c && (a = c.isMobile);
6281
6281
  const o = "pds-button-nav", m = a ? `${o}--isMobile` : null, f = ({ isActive: E, linkContent: L }) => {
6282
6282
  const b = `${o}__item`;
@@ -6316,7 +6316,7 @@ const Cn = (u) => {
6316
6316
  }, l),
6317
6317
  a ? v : p
6318
6318
  );
6319
- }, jt = (t, n, s, l) => {
6319
+ }, Kt = (t, n, s, l) => {
6320
6320
  let r = null;
6321
6321
  if (typeof n == "string") {
6322
6322
  const d = l ? [
@@ -6326,7 +6326,7 @@ const Cn = (u) => {
6326
6326
  ];
6327
6327
  if (s) {
6328
6328
  const a = s[0].linkContent;
6329
- ye(a) && (r = Ie(a, M({}, typeof n == "string" ? { children: d } : {})));
6329
+ we(a) && (r = Ie(a, M({}, typeof n == "string" ? { children: d } : {})));
6330
6330
  } else
6331
6331
  r = null;
6332
6332
  }
@@ -6353,7 +6353,7 @@ const Cn = (u) => {
6353
6353
  }, l),
6354
6354
  n
6355
6355
  );
6356
- }, It = f1(null), Fn = (u) => {
6356
+ }, It = g1(null), Fn = (u) => {
6357
6357
  var v = u, {
6358
6358
  children: t,
6359
6359
  hasSidebarToggle: n = !0,
@@ -6380,7 +6380,7 @@ const Cn = (u) => {
6380
6380
  "setIsSidebarExpanded",
6381
6381
  "className"
6382
6382
  ]);
6383
- const { isMobile: E, windowWidth: L } = ve(we), [b, C] = U(L > 1440 || o), g = de(), [i] = Nt(g), h = i.width;
6383
+ const { isMobile: E, windowWidth: L } = ve(ye), [b, C] = U(L > 1440 || o), g = de(), [i] = Nt(g), h = i.width;
6384
6384
  oe(() => {
6385
6385
  o !== void 0 && C(o);
6386
6386
  }, [o]), oe(() => {
@@ -6391,11 +6391,11 @@ const Cn = (u) => {
6391
6391
  logoLinkContent: l,
6392
6392
  navbarWidth: h,
6393
6393
  isAdmin: s
6394
- }, $ = "pds-dashboard-global", k = s ? `${$}--isAdmin` : null, z = E ? `${$}--isMobile` : `${$}--notMobile`, y = E ? null : b ? `${$}--sidebarExpanded` : `${$}--sidebarCollapsed`, w = b ? `${d}rem` : `${r}rem`, H = {
6395
- width: w,
6394
+ }, $ = "pds-dashboard-global", k = s ? `${$}--isAdmin` : null, z = E ? `${$}--isMobile` : `${$}--notMobile`, w = E ? null : b ? `${$}--sidebarExpanded` : `${$}--sidebarCollapsed`, y = b ? `${d}rem` : `${r}rem`, H = {
6395
+ width: y,
6396
6396
  transition: "width 200ms ease-in-out"
6397
6397
  }, N = E ? {} : {
6398
- width: `calc(100% - ${w})`,
6398
+ width: `calc(100% - ${y})`,
6399
6399
  transition: "width 200ms ease-in-out"
6400
6400
  }, V = () => {
6401
6401
  C(!b);
@@ -6416,7 +6416,7 @@ const Cn = (u) => {
6416
6416
  $,
6417
6417
  k,
6418
6418
  z,
6419
- y,
6419
+ w,
6420
6420
  "pds-typography--product",
6421
6421
  f != null ? f : ""
6422
6422
  ])
@@ -6442,22 +6442,22 @@ const Cn = (u) => {
6442
6442
  linkContent: r,
6443
6443
  links: d
6444
6444
  }) => {
6445
- const a = "pds-dashboard-nav", c = `${a}__item`, o = `${a}__menu`, m = /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, jt(a, r, d, t)), f = (y, w) => /* @__PURE__ */ e.createElement(
6445
+ const a = "pds-dashboard-nav", c = `${a}__item`, o = `${a}__menu`, m = /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, Kt(a, r, d, t)), f = (w, y) => /* @__PURE__ */ e.createElement(
6446
6446
  "ul",
6447
6447
  {
6448
6448
  className: x([
6449
6449
  o,
6450
- `${o}--${w}`,
6450
+ `${o}--${y}`,
6451
6451
  n ? `${o}--expanded` : null
6452
6452
  ])
6453
6453
  },
6454
- y.map((H, N) => /* @__PURE__ */ e.createElement(
6454
+ w.map((H, N) => /* @__PURE__ */ e.createElement(
6455
6455
  "li",
6456
6456
  {
6457
6457
  key: N,
6458
6458
  className: x([
6459
6459
  c,
6460
- `${c}--${w}`,
6460
+ `${c}--${y}`,
6461
6461
  Ee(H) ? `${c}--active` : null
6462
6462
  ])
6463
6463
  },
@@ -6471,26 +6471,26 @@ const Cn = (u) => {
6471
6471
  whileElementsMounted: Re
6472
6472
  }), b = Ct(L, {
6473
6473
  move: !1,
6474
- handleClose: C1()
6475
- }), C = E1(L), g = Se(L), i = Te(L, { role: "menu" }), { getReferenceProps: h, getFloatingProps: _ } = Ae([
6474
+ handleClose: $1()
6475
+ }), C = v1(L), g = Se(L), i = Te(L, { role: "menu" }), { getReferenceProps: h, getFloatingProps: _ } = Ae([
6476
6476
  b,
6477
6477
  C,
6478
6478
  g,
6479
6479
  i
6480
- ]), $ = (y) => {
6480
+ ]), $ = (w) => {
6481
6481
  var V;
6482
- const w = y.currentTarget, H = (V = w.parentElement) == null ? void 0 : V.nextElementSibling;
6482
+ const y = w.currentTarget, H = (V = y.parentElement) == null ? void 0 : V.nextElementSibling;
6483
6483
  if (!H) return;
6484
- const N = w.getAttribute("aria-expanded") === "false";
6485
- w.classList.toggle(`${a}__toggle--expanded`, N), w.setAttribute("aria-expanded", N ? "true" : "false"), N ? k(H) : z(H);
6486
- }, k = (y) => {
6487
- y.style.display = "flex", y.style.height = "auto";
6488
- const w = `${y.scrollHeight}px`;
6489
- y.style.marginBlockStart = "0", y.animate(
6484
+ const N = y.getAttribute("aria-expanded") === "false";
6485
+ y.classList.toggle(`${a}__toggle--expanded`, N), y.setAttribute("aria-expanded", N ? "true" : "false"), N ? k(H) : z(H);
6486
+ }, k = (w) => {
6487
+ w.style.display = "flex", w.style.height = "auto";
6488
+ const y = `${w.scrollHeight}px`;
6489
+ w.style.marginBlockStart = "0", w.animate(
6490
6490
  [
6491
6491
  { height: "0px", opacity: "0", marginBlockStart: "0" },
6492
6492
  {
6493
- height: w,
6493
+ height: y,
6494
6494
  opacity: "1",
6495
6495
  marginBlockStart: `${ot}rem`
6496
6496
  }
@@ -6500,18 +6500,18 @@ const Cn = (u) => {
6500
6500
  easing: Xe
6501
6501
  }
6502
6502
  ).onfinish = () => {
6503
- Object.assign(y.style, {
6503
+ Object.assign(w.style, {
6504
6504
  height: "auto",
6505
6505
  opacity: "1",
6506
6506
  display: "flex",
6507
6507
  marginBlockStart: `${ot}rem`
6508
- }), y.classList.add(`${o}--expanded`);
6508
+ }), w.classList.add(`${o}--expanded`);
6509
6509
  };
6510
- }, z = (y) => {
6511
- const w = `${y.scrollHeight}px`, H = y.animate(
6510
+ }, z = (w) => {
6511
+ const y = `${w.scrollHeight}px`, H = w.animate(
6512
6512
  [
6513
6513
  {
6514
- height: w,
6514
+ height: y,
6515
6515
  opacity: "1",
6516
6516
  marginBlockStart: `${ot}rem`
6517
6517
  },
@@ -6523,7 +6523,7 @@ const Cn = (u) => {
6523
6523
  }
6524
6524
  );
6525
6525
  H.onfinish = () => {
6526
- y.classList.remove(`${o}--expanded`), Object.assign(y.style, {
6526
+ w.classList.remove(`${o}--expanded`), Object.assign(w.style, {
6527
6527
  opacity: "0",
6528
6528
  height: "",
6529
6529
  // Clean height from inline style
@@ -6545,7 +6545,7 @@ const Cn = (u) => {
6545
6545
  ]),
6546
6546
  ref: s ? null : v.setReference
6547
6547
  }, h()),
6548
- d ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, jt(
6548
+ d ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, Kt(
6549
6549
  a,
6550
6550
  r,
6551
6551
  d,
@@ -6585,7 +6585,7 @@ const Cn = (u) => {
6585
6585
  }
6586
6586
  ))
6587
6587
  );
6588
- }, t1 = (d) => {
6588
+ }, n1 = (d) => {
6589
6589
  var a = d, {
6590
6590
  headingText: t,
6591
6591
  menuItems: n,
@@ -6597,7 +6597,7 @@ const Cn = (u) => {
6597
6597
  "selectTextFallback",
6598
6598
  "className"
6599
6599
  ]);
6600
- const c = "pds-dropdown-menu", [o, m] = U(!1), [f, p] = U(null), u = e1(n), v = u ? u.props.children : s, E = /* @__PURE__ */ e.createElement(
6600
+ const c = "pds-dropdown-menu", [o, m] = U(!1), [f, p] = U(null), u = t1(n), v = u ? u.props.children : s, E = /* @__PURE__ */ e.createElement(
6601
6601
  P,
6602
6602
  {
6603
6603
  iconName: "check",
@@ -6658,8 +6658,8 @@ const Cn = (u) => {
6658
6658
  loop: !0,
6659
6659
  openOnArrowKeyDown: !0,
6660
6660
  focusItemOnHover: !0
6661
- }), k = Ye(h, { event: "mousedown" }), z = Se(h), y = Te(h, { role: "menu" }), { getReferenceProps: w, getFloatingProps: H, getItemProps: N } = Ae(
6662
- [z, y, k, $]
6661
+ }), k = Ye(h, { event: "mousedown" }), z = Se(h), w = Te(h, { role: "menu" }), { getReferenceProps: y, getFloatingProps: H, getItemProps: N } = Ae(
6662
+ [z, w, k, $]
6663
6663
  ), { isMounted: V, styles: I } = Qe(h, {
6664
6664
  duration: {
6665
6665
  open: 300,
@@ -6681,7 +6681,7 @@ const Cn = (u) => {
6681
6681
  className: `${c}__trigger`,
6682
6682
  ref: i.setReference,
6683
6683
  type: "button"
6684
- }, w()),
6684
+ }, y()),
6685
6685
  /* @__PURE__ */ e.createElement("span", { className: `${c}__active-label` }, v),
6686
6686
  /* @__PURE__ */ e.createElement(
6687
6687
  P,
@@ -7003,7 +7003,7 @@ const Cn = (u) => {
7003
7003
  fill: "var(--pds-color-foreground-default)"
7004
7004
  }
7005
7005
  )
7006
- ), I1 = (a) => {
7006
+ ), V1 = (a) => {
7007
7007
  var c = a, {
7008
7008
  colorType: t = "default",
7009
7009
  displayType: n = "full",
@@ -7070,7 +7070,7 @@ const Cn = (u) => {
7070
7070
  "className"
7071
7071
  ]);
7072
7072
  let o = !1;
7073
- const m = ve(we);
7073
+ const m = ve(ye);
7074
7074
  m && (o = m.isMobile);
7075
7075
  const f = ve(It);
7076
7076
  let p = !0, u = null;
@@ -7087,14 +7087,14 @@ const Cn = (u) => {
7087
7087
  links: g.links
7088
7088
  }
7089
7089
  )))), b = s.map((g) => me(M({}, g), {
7090
- linkContent: jt(
7090
+ linkContent: Kt(
7091
7091
  v,
7092
7092
  g.linkContent,
7093
7093
  g.links,
7094
7094
  g.icon
7095
7095
  )
7096
7096
  })), C = /* @__PURE__ */ e.createElement(
7097
- t1,
7097
+ n1,
7098
7098
  {
7099
7099
  menuItems: b,
7100
7100
  selectTextFallback: l
@@ -7107,7 +7107,7 @@ const Cn = (u) => {
7107
7107
  className: x([v, E, r])
7108
7108
  }, d),
7109
7109
  !o && /* @__PURE__ */ e.createElement(
7110
- I1,
7110
+ V1,
7111
7111
  {
7112
7112
  className: `${v}__logo`,
7113
7113
  displayType: p ? "full" : "icon",
@@ -7128,7 +7128,7 @@ const Cn = (u) => {
7128
7128
  wordpress: "WordPress",
7129
7129
  gatsby: "Gatsby",
7130
7130
  nextjs: "Next.js"
7131
- }, V1 = {
7131
+ }, S1 = {
7132
7132
  drupal: "drupal",
7133
7133
  wordpress: "wordpress",
7134
7134
  gatsby: "bolt",
@@ -7141,7 +7141,7 @@ const Cn = (u) => {
7141
7141
  "option",
7142
7142
  "className"
7143
7143
  ]);
7144
- const d = "pds-dashboard-search", a = t.type ? V1[t.type] : "bolt", c = de(), [o] = Nt(c), m = o.width / 16 - 7.5;
7144
+ const d = "pds-dashboard-search", a = t.type ? S1[t.type] : "bolt", c = de(), [o] = Nt(c), m = o.width / 16 - 7.5;
7145
7145
  return /* @__PURE__ */ e.createElement(
7146
7146
  "div",
7147
7147
  M({
@@ -7175,7 +7175,7 @@ const Cn = (u) => {
7175
7175
  style: { pointerEvents: "none" }
7176
7176
  },
7177
7177
  /* @__PURE__ */ e.createElement(
7178
- Kt,
7178
+ Xt,
7179
7179
  {
7180
7180
  color: "neutral",
7181
7181
  hasStatusIndicator: !0,
@@ -7221,13 +7221,13 @@ const Cn = (u) => {
7221
7221
  ]);
7222
7222
  const [b, C] = U(!1), [g, i] = U(null), h = de(null);
7223
7223
  let _ = !1;
7224
- const $ = ve(we);
7224
+ const $ = ve(ye);
7225
7225
  $ && (_ = $.isMobile);
7226
7226
  let k = null, z = !1;
7227
- const y = ve(It);
7228
- y && (k = y.navbarWidth, z = y.isAdmin);
7229
- const w = 2.25, H = 22, N = z ? 14.5 : 9.625, V = k > 900 ? H : k / 16 - (N + p) - w * 0.675;
7230
- let I = w;
7227
+ const w = ve(It);
7228
+ w && (k = w.navbarWidth, z = w.isAdmin);
7229
+ const y = 2.25, H = 22, N = z ? 14.5 : 9.625, V = k > 900 ? H : k / 16 - (N + p) - y * 0.675;
7230
+ let I = y;
7231
7231
  b && !k && (I = H), b && k && (I = V);
7232
7232
  const D = {
7233
7233
  right: `${N + p}rem`,
@@ -7373,7 +7373,7 @@ const Cn = (u) => {
7373
7373
  ]);
7374
7374
  const [E, L] = U(!1);
7375
7375
  let b = !1;
7376
- const C = ve(we);
7376
+ const C = ve(ye);
7377
7377
  C && (b = C.isMobile);
7378
7378
  const g = ve(It);
7379
7379
  g && (a = g.logoLinkContent);
@@ -7391,10 +7391,10 @@ const Cn = (u) => {
7391
7391
  oe(() => (window.addEventListener("keyup", k), () => {
7392
7392
  window.removeEventListener("keyup", k);
7393
7393
  }), []);
7394
- const z = () => L(!E), y = G1();
7394
+ const z = () => L(!E), w = G1();
7395
7395
  oe(() => {
7396
7396
  if (b && t) {
7397
- const j = $1(
7397
+ const j = w1(
7398
7398
  document.querySelector(".pds-navbar__mobile")
7399
7399
  ), q = ["a", "button", "input", "select", "textarea"];
7400
7400
  j && (E ? j.forEach((O) => {
@@ -7404,14 +7404,14 @@ const Cn = (u) => {
7404
7404
  }));
7405
7405
  }
7406
7406
  }, [E]);
7407
- const w = (j) => {
7407
+ const y = (j) => {
7408
7408
  j.target.nodeName === "A" && L(!1);
7409
7409
  };
7410
7410
  oe(() => {
7411
7411
  if (E) {
7412
7412
  const j = document.querySelector(".pds-navbar__bar-mobile"), q = document.querySelector(".pds-navbar__mobile");
7413
- return j.addEventListener("click", w), q.addEventListener("click", w), () => {
7414
- j.removeEventListener("click", w), q.removeEventListener("click", w);
7413
+ return j.addEventListener("click", y), q.addEventListener("click", y), () => {
7414
+ j.removeEventListener("click", y), q.removeEventListener("click", y);
7415
7415
  };
7416
7416
  }
7417
7417
  }, [E]), oe(() => {
@@ -7420,11 +7420,11 @@ const Cn = (u) => {
7420
7420
  const H = Fe(t), N = H["items-left"], V = H["items-right"];
7421
7421
  let I = "default";
7422
7422
  (n === "reverse" || n === "reverse-transparent") && (I = "reverse");
7423
- const D = ye(a) ? a.props.children : null, S = ye(a) && D ? Ie(a, {
7423
+ const D = we(a) ? a.props.children : null, S = we(a) && D ? Ie(a, {
7424
7424
  children: /* @__PURE__ */ e.createElement("img", { className: `${i}__custom-logo`, src: c }),
7425
7425
  "aria-label": D || null
7426
7426
  }) : /* @__PURE__ */ e.createElement("img", { className: `${i}__custom-logo`, src: c, alt: "" }), T = () => c ? S : /* @__PURE__ */ e.createElement(
7427
- I1,
7427
+ V1,
7428
7428
  {
7429
7429
  colorType: I,
7430
7430
  displayType: d,
@@ -7441,13 +7441,13 @@ const Cn = (u) => {
7441
7441
  },
7442
7442
  /* @__PURE__ */ e.createElement(P, { iconName: E ? "xmark" : "bars", iconSize: "lg" })
7443
7443
  ), Z = e.Children.toArray(t).sort((j, q) => {
7444
- const O = ye(j) && parseInt(j.props["data-mobile-order"], 10) || 1 / 0, Q = ye(q) && parseInt(q.props["data-mobile-order"], 10) || 1 / 0;
7444
+ const O = we(j) && parseInt(j.props["data-mobile-order"], 10) || 1 / 0, Q = we(q) && parseInt(q.props["data-mobile-order"], 10) || 1 / 0;
7445
7445
  return O - Q;
7446
7446
  }), K = /* @__PURE__ */ e.createElement(
7447
7447
  "div",
7448
7448
  {
7449
7449
  className: E ? `${i}__mobile ${i}__mobile--open` : `${i}__mobile ${i}__mobile--closed`,
7450
- ref: y
7450
+ ref: w
7451
7451
  },
7452
7452
  /* @__PURE__ */ e.createElement(pt, null, Z)
7453
7453
  ), ne = /* @__PURE__ */ e.createElement(
@@ -7494,7 +7494,7 @@ const Cn = (u) => {
7494
7494
  o ? L = Ct(p, {
7495
7495
  enabled: !1
7496
7496
  }) : L = Ct(p, {
7497
- handleClose: C1({
7497
+ handleClose: $1({
7498
7498
  requireIntent: !1,
7499
7499
  buffer: 10,
7500
7500
  blockPointerEvents: !0
@@ -7589,26 +7589,26 @@ const Cn = (u) => {
7589
7589
  }
7590
7590
  }[H.code];
7591
7591
  W && W();
7592
- }, y = (H) => {
7592
+ }, w = (H) => {
7593
7593
  if (H.isActive || H.linkContent && H.linkContent.props.className && H.linkContent.props.className.includes("pds-isActive"))
7594
7594
  return !0;
7595
7595
  if (H.links) {
7596
7596
  for (let N = 0; N < H.links.length; N++)
7597
- if (y(H.links[N]))
7597
+ if (w(H.links[N]))
7598
7598
  return !0;
7599
7599
  }
7600
7600
  return !1;
7601
- }, w = [];
7601
+ }, y = [];
7602
7602
  return s.map((H, N) => {
7603
7603
  const V = `item-${lt()}`, I = H.id ? H.id : V;
7604
- H.links ? w.push(
7604
+ H.links ? y.push(
7605
7605
  /* @__PURE__ */ e.createElement(
7606
7606
  "li",
7607
7607
  {
7608
7608
  key: `${N}-dropdown`,
7609
7609
  id: I,
7610
7610
  ref: (D) => k.current[N] = D,
7611
- className: `${h}__item ${h}__item--top-level ${h}__item--has-children ${y(H) === !0 ? `${h}__item--active` : ""}`
7611
+ className: `${h}__item ${h}__item--top-level ${h}__item--has-children ${w(H) === !0 ? `${h}__item--active` : ""}`
7612
7612
  },
7613
7613
  /* @__PURE__ */ e.createElement(
7614
7614
  O2,
@@ -7619,14 +7619,14 @@ const Cn = (u) => {
7619
7619
  }
7620
7620
  )
7621
7621
  )
7622
- ) : w.push(
7622
+ ) : y.push(
7623
7623
  /* @__PURE__ */ e.createElement(
7624
7624
  "li",
7625
7625
  {
7626
7626
  key: N,
7627
7627
  id: I,
7628
7628
  ref: (D) => k.current[N] = D,
7629
- className: `${h}__item ${h}__item--top-level ${h}__item--has-link ${y(H) === !0 ? `${h}__item--active` : ""}`
7629
+ className: `${h}__item ${h}__item--top-level ${h}__item--has-link ${w(H) === !0 ? `${h}__item--active` : ""}`
7630
7630
  },
7631
7631
  H.linkContent
7632
7632
  )
@@ -7640,7 +7640,7 @@ const Cn = (u) => {
7640
7640
  z(H);
7641
7641
  }
7642
7642
  }, d),
7643
- /* @__PURE__ */ e.createElement("ul", { className: `${h}__menu` }, w)
7643
+ /* @__PURE__ */ e.createElement("ul", { className: `${h}__menu` }, y)
7644
7644
  );
7645
7645
  }, Zn = (m) => {
7646
7646
  var f = m, {
@@ -7671,20 +7671,20 @@ const Cn = (u) => {
7671
7671
  }), []);
7672
7672
  const b = () => {
7673
7673
  L(window.innerWidth);
7674
- }, C = E <= d, g = (y) => {
7674
+ }, C = E <= d, g = (w) => {
7675
7675
  var V;
7676
- const w = y.currentTarget, H = (V = w.parentElement) == null ? void 0 : V.nextElementSibling;
7676
+ const y = w.currentTarget, H = (V = y.parentElement) == null ? void 0 : V.nextElementSibling;
7677
7677
  if (!H) return;
7678
- const N = w.getAttribute("aria-expanded") === "false";
7679
- w.classList.toggle(`${p}__toggle--expanded`, N), w.setAttribute("aria-expanded", N ? "true" : "false"), N ? i(H) : h(H);
7680
- }, i = (y) => {
7681
- y.style.display = "flex", y.style.height = "auto";
7682
- const w = `${y.scrollHeight}px`;
7683
- y.style.marginBlockStart = "0", y.animate(
7678
+ const N = y.getAttribute("aria-expanded") === "false";
7679
+ y.classList.toggle(`${p}__toggle--expanded`, N), y.setAttribute("aria-expanded", N ? "true" : "false"), N ? i(H) : h(H);
7680
+ }, i = (w) => {
7681
+ w.style.display = "flex", w.style.height = "auto";
7682
+ const y = `${w.scrollHeight}px`;
7683
+ w.style.marginBlockStart = "0", w.animate(
7684
7684
  [
7685
7685
  { height: "0px", opacity: "0", marginBlockStart: "0" },
7686
7686
  {
7687
- height: w,
7687
+ height: y,
7688
7688
  opacity: "1",
7689
7689
  marginBlockStart: `${ot}rem`
7690
7690
  }
@@ -7694,18 +7694,18 @@ const Cn = (u) => {
7694
7694
  easing: Xe
7695
7695
  }
7696
7696
  ).onfinish = () => {
7697
- Object.assign(y.style, {
7697
+ Object.assign(w.style, {
7698
7698
  height: "auto",
7699
7699
  opacity: "1",
7700
7700
  display: "flex",
7701
7701
  marginBlockStart: `${ot}rem`
7702
- }), y.classList.add(`${v}--expanded`);
7702
+ }), w.classList.add(`${v}--expanded`);
7703
7703
  };
7704
- }, h = (y) => {
7705
- const w = `${y.scrollHeight}px`, H = y.animate(
7704
+ }, h = (w) => {
7705
+ const y = `${w.scrollHeight}px`, H = w.animate(
7706
7706
  [
7707
7707
  {
7708
- height: w,
7708
+ height: y,
7709
7709
  opacity: "1",
7710
7710
  marginBlockStart: `${ot}rem`
7711
7711
  },
@@ -7717,7 +7717,7 @@ const Cn = (u) => {
7717
7717
  }
7718
7718
  );
7719
7719
  H.onfinish = () => {
7720
- y.classList.remove(`${v}--expanded`), Object.assign(y.style, {
7720
+ w.classList.remove(`${v}--expanded`), Object.assign(w.style, {
7721
7721
  opacity: "0",
7722
7722
  height: "",
7723
7723
  // Clean height from inline style
@@ -7726,17 +7726,17 @@ const Cn = (u) => {
7726
7726
  marginBlockStart: "0"
7727
7727
  });
7728
7728
  };
7729
- }, _ = (y) => h1.toArray(y).some((w) => ye(w) ? w.type && w.type.displayName === "Tally" ? !0 : _(w.props.children) : !1), $ = (y, w) => {
7730
- const { linkContent: H, links: N } = y, V = _(H);
7729
+ }, _ = (w) => f1.toArray(w).some((y) => we(y) ? y.type && y.type.displayName === "Tally" ? !0 : _(y.props.children) : !1), $ = (w, y) => {
7730
+ const { linkContent: H, links: N } = w, V = _(H);
7731
7731
  return /* @__PURE__ */ e.createElement(
7732
7732
  "li",
7733
7733
  {
7734
- key: w,
7734
+ key: y,
7735
7735
  className: x([
7736
7736
  u,
7737
7737
  `${u}--top-level`,
7738
7738
  N ? `${u}--has-children` : null,
7739
- Ee(y) ? `${u}--active` : null,
7739
+ Ee(w) ? `${u}--active` : null,
7740
7740
  V ? "with-tally" : null
7741
7741
  // Add class if item contains a Tally component
7742
7742
  ])
@@ -7744,10 +7744,10 @@ const Cn = (u) => {
7744
7744
  N ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${u}-wrapper` }, Mt(H, N), /* @__PURE__ */ e.createElement(
7745
7745
  "button",
7746
7746
  {
7747
- "aria-expanded": Ee(y),
7747
+ "aria-expanded": Ee(w),
7748
7748
  className: x([
7749
7749
  `${p}__toggle`,
7750
- Ee(y) ? `${p}__toggle--expanded` : null
7750
+ Ee(w) ? `${p}__toggle--expanded` : null
7751
7751
  ]),
7752
7752
  onClick: g,
7753
7753
  type: "button"
@@ -7760,7 +7760,7 @@ const Cn = (u) => {
7760
7760
  className: x([
7761
7761
  v,
7762
7762
  `${v}--second-level`,
7763
- Ee(y) ? `${v}--expanded` : null
7763
+ Ee(w) ? `${v}--expanded` : null
7764
7764
  ])
7765
7765
  },
7766
7766
  N.map((I, D) => {
@@ -7790,8 +7790,8 @@ const Cn = (u) => {
7790
7790
  H
7791
7791
  )
7792
7792
  );
7793
- }, k = /* @__PURE__ */ e.createElement(e.Fragment, null, s && /* @__PURE__ */ e.createElement("h2", { className: `${p}__heading` }, s), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${p}__menu ${p}__menu--top-level` }, r.map((y, w) => $(y, w)))), z = /* @__PURE__ */ e.createElement(
7794
- t1,
7793
+ }, k = /* @__PURE__ */ e.createElement(e.Fragment, null, s && /* @__PURE__ */ e.createElement("h2", { className: `${p}__heading` }, s), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${p}__menu ${p}__menu--top-level` }, r.map((w, y) => $(w, y)))), z = /* @__PURE__ */ e.createElement(
7794
+ n1,
7795
7795
  {
7796
7796
  headingText: s,
7797
7797
  menuItems: r,
@@ -7835,16 +7835,16 @@ const Cn = (u) => {
7835
7835
  }), []);
7836
7836
  const b = () => {
7837
7837
  L(window.innerWidth);
7838
- }, C = E <= d, g = (w) => {
7838
+ }, C = E <= d, g = (y) => {
7839
7839
  var I;
7840
- const H = w.currentTarget, N = (I = H.parentElement) == null ? void 0 : I.nextElementSibling;
7840
+ const H = y.currentTarget, N = (I = H.parentElement) == null ? void 0 : I.nextElementSibling;
7841
7841
  if (!N) return;
7842
7842
  const V = H.getAttribute("aria-expanded") === "false";
7843
7843
  H.classList.toggle(`${p}__toggle--expanded`, V), H.setAttribute("aria-expanded", V ? "true" : "false"), V ? i(N) : h(N);
7844
- }, i = (w) => {
7845
- w.style.display = "flex", w.style.height = "auto";
7846
- const H = `${w.scrollHeight}px`;
7847
- w.style.marginBlockStart = "0", w.animate(
7844
+ }, i = (y) => {
7845
+ y.style.display = "flex", y.style.height = "auto";
7846
+ const H = `${y.scrollHeight}px`;
7847
+ y.style.marginBlockStart = "0", y.animate(
7848
7848
  [
7849
7849
  { height: "0px", opacity: "0", marginBlockStart: "0" },
7850
7850
  { height: H, opacity: "1", marginBlockStart: `${Ft}rem` }
@@ -7854,15 +7854,15 @@ const Cn = (u) => {
7854
7854
  easing: Xe
7855
7855
  }
7856
7856
  ).onfinish = () => {
7857
- Object.assign(w.style, {
7857
+ Object.assign(y.style, {
7858
7858
  height: "auto",
7859
7859
  opacity: "1",
7860
7860
  display: "flex",
7861
7861
  marginBlockStart: `${Ft}rem`
7862
- }), w.classList.add(`${v}--expanded`);
7862
+ }), y.classList.add(`${v}--expanded`);
7863
7863
  };
7864
- }, h = (w) => {
7865
- const H = `${w.scrollHeight}px`, N = w.animate(
7864
+ }, h = (y) => {
7865
+ const H = `${y.scrollHeight}px`, N = y.animate(
7866
7866
  [
7867
7867
  { height: H, opacity: "1", marginBlockStart: `${Ft}rem` },
7868
7868
  { height: "0px", opacity: "0", marginBlockStart: "0" }
@@ -7873,7 +7873,7 @@ const Cn = (u) => {
7873
7873
  }
7874
7874
  );
7875
7875
  N.onfinish = () => {
7876
- w.classList.remove(`${v}--expanded`), Object.assign(w.style, {
7876
+ y.classList.remove(`${v}--expanded`), Object.assign(y.style, {
7877
7877
  opacity: "0",
7878
7878
  height: "",
7879
7879
  // Clean height from inline style
@@ -7882,8 +7882,8 @@ const Cn = (u) => {
7882
7882
  marginBlockStart: "0"
7883
7883
  });
7884
7884
  };
7885
- }, _ = { 2: "second", 3: "third", 4: "fourth" }, $ = (w, H, N) => {
7886
- const V = _[w], I = `${v}--${V}-level`, D = `${u}--${V}-level`, S = w + 1;
7885
+ }, _ = { 2: "second", 3: "third", 4: "fourth" }, $ = (y, H, N) => {
7886
+ const V = _[y], I = `${v}--${V}-level`, D = `${u}--${V}-level`, S = y + 1;
7887
7887
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${u}-wrapper` }, /* @__PURE__ */ e.createElement(
7888
7888
  "button",
7889
7889
  {
@@ -7923,8 +7923,8 @@ const Cn = (u) => {
7923
7923
  ) : T.linkContent
7924
7924
  ))
7925
7925
  ));
7926
- }, k = (w, H) => {
7927
- const { linkContent: N, links: V } = w;
7926
+ }, k = (y, H) => {
7927
+ const { linkContent: N, links: V } = y;
7928
7928
  return /* @__PURE__ */ e.createElement(
7929
7929
  "li",
7930
7930
  {
@@ -7932,13 +7932,13 @@ const Cn = (u) => {
7932
7932
  className: x([
7933
7933
  u,
7934
7934
  `${u}--top-level`,
7935
- Ee(w) ? `${u}--active` : null
7935
+ Ee(y) ? `${u}--active` : null
7936
7936
  ])
7937
7937
  },
7938
- V ? $(2, w) : N
7938
+ V ? $(2, y) : N
7939
7939
  );
7940
- }, z = /* @__PURE__ */ e.createElement(e.Fragment, null, s && /* @__PURE__ */ e.createElement("h2", { className: `${p}__heading` }, s), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${p}__menu ${p}__menu--top-level` }, r.map((w, H) => k(w, H)))), y = /* @__PURE__ */ e.createElement(
7941
- t1,
7940
+ }, z = /* @__PURE__ */ e.createElement(e.Fragment, null, s && /* @__PURE__ */ e.createElement("h2", { className: `${p}__heading` }, s), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${p}__menu ${p}__menu--top-level` }, r.map((y, H) => k(y, H)))), w = /* @__PURE__ */ e.createElement(
7941
+ n1,
7942
7942
  {
7943
7943
  headingText: s,
7944
7944
  menuItems: r,
@@ -7951,7 +7951,7 @@ const Cn = (u) => {
7951
7951
  "aria-label": t,
7952
7952
  className: x([p, c != null ? c : ""])
7953
7953
  }, o),
7954
- C && n ? y : z
7954
+ C && n ? w : z
7955
7955
  );
7956
7956
  }, R2 = ({
7957
7957
  buttonLabel: t = "Toggle dropdown",
@@ -7967,15 +7967,15 @@ const Cn = (u) => {
7967
7967
  whileElementsMounted: Re
7968
7968
  }), $ = Ye(h, {
7969
7969
  event: "mousedown"
7970
- }), k = Se(h), z = Te(h, { role: "listbox" }), y = it(h, {
7970
+ }), k = Se(h), z = Te(h, { role: "listbox" }), w = it(h, {
7971
7971
  listRef: i,
7972
7972
  activeIndex: o,
7973
7973
  onNavigate: m,
7974
7974
  loop: !0,
7975
7975
  focusItemOnHover: !0,
7976
7976
  focusItemOnOpen: !1
7977
- }), { getReferenceProps: w, getFloatingProps: H, getItemProps: N } = Ae(
7978
- [z, k, y, $]
7977
+ }), { getReferenceProps: y, getFloatingProps: H, getItemProps: N } = Ae(
7978
+ [z, k, w, $]
7979
7979
  ), { isMounted: V, styles: I } = Qe(h, {
7980
7980
  duration: {
7981
7981
  open: 300,
@@ -8013,7 +8013,7 @@ const Cn = (u) => {
8013
8013
  Z.linkContent
8014
8014
  ).length + 2}ch`
8015
8015
  }, Y = /* @__PURE__ */ e.createElement(P, { iconName: "check", className: `${L}__active-icon` }), j = E && /* @__PURE__ */ e.createElement("div", { className: `${L}__filter` }, /* @__PURE__ */ e.createElement(
8016
- N1,
8016
+ x1,
8017
8017
  {
8018
8018
  hasClearButton: !0,
8019
8019
  onClear: W,
@@ -8047,7 +8047,7 @@ const Cn = (u) => {
8047
8047
  me(M({
8048
8048
  className: `${L}__dropdown-trigger`,
8049
8049
  ref: _.setReference
8050
- }, w({
8050
+ }, y({
8051
8051
  "aria-expanded": a,
8052
8052
  "aria-label": t
8053
8053
  })), {
@@ -8083,7 +8083,7 @@ const Cn = (u) => {
8083
8083
  "className"
8084
8084
  ]);
8085
8085
  let a = !1;
8086
- const c = ve(we);
8086
+ const c = ve(ye);
8087
8087
  c && (a = c.isMobile);
8088
8088
  const o = "pds-tab-menu", m = a ? `${o}--isMobile` : null, f = ({
8089
8089
  dropdownSettings: u,
@@ -8093,7 +8093,7 @@ const Cn = (u) => {
8093
8093
  links: b,
8094
8094
  promoteActiveChildLink: C = !1
8095
8095
  }) => {
8096
- const g = `${o}__item`, i = e1(b), h = (_, $) => {
8096
+ const g = `${o}__item`, i = t1(b), h = (_, $) => {
8097
8097
  let k = null;
8098
8098
  return typeof _ == "object" && ($ ? k = Ie(_, me(M({}, _.props), {
8099
8099
  children: [
@@ -8169,7 +8169,7 @@ const Cn = (u) => {
8169
8169
  ]);
8170
8170
  const [f, p] = U(null), [u, v] = U(!1), E = de([]), L = de([]);
8171
8171
  let b = !1;
8172
- const C = ve(we);
8172
+ const C = ve(ye);
8173
8173
  C && (b = C.isMobile);
8174
8174
  const g = d && b, i = "pds-user-menu", h = g ? `${i}--isMobile` : null, _ = `${i}__menu`, { refs: $, floatingStyles: k, context: z } = Ve({
8175
8175
  placement: "bottom-end",
@@ -8177,7 +8177,7 @@ const Cn = (u) => {
8177
8177
  onOpenChange: v,
8178
8178
  middleware: [kt(12), Ht(), zt()],
8179
8179
  whileElementsMounted: Re
8180
- }), y = Ye(z, { event: "mousedown" }), w = Se(z), H = Te(z, { role: "menu" }), N = de([]), V = it(z, {
8180
+ }), w = Ye(z, { event: "mousedown" }), y = Se(z), H = Te(z, { role: "menu" }), N = de([]), V = it(z, {
8181
8181
  listRef: N,
8182
8182
  activeIndex: f,
8183
8183
  onNavigate: p,
@@ -8186,7 +8186,7 @@ const Cn = (u) => {
8186
8186
  focusItemOnOpen: !1,
8187
8187
  focusItemOnHover: !0
8188
8188
  }), { getReferenceProps: I, getFloatingProps: D, getItemProps: S } = Ae(
8189
- [w, H, y, V]
8189
+ [y, H, w, V]
8190
8190
  ), { isMounted: T, styles: W } = Qe(z, {
8191
8191
  duration: {
8192
8192
  open: 300,
@@ -8202,7 +8202,7 @@ const Cn = (u) => {
8202
8202
  opacity: 0
8203
8203
  }
8204
8204
  }), Z = /* @__PURE__ */ e.createElement(
8205
- qt,
8205
+ jt,
8206
8206
  {
8207
8207
  hasUserFallback: !0,
8208
8208
  imageSrc: l,
@@ -8330,9 +8330,9 @@ const Cn = (u) => {
8330
8330
  ]);
8331
8331
  const [v, E] = U(!1), [L, b] = U(null), [C, g] = U(o), i = de([]), h = de(null), _ = o.length >= d;
8332
8332
  let $ = !1;
8333
- const k = ve(we);
8333
+ const k = ve(ye);
8334
8334
  k && ($ = k.isMobile);
8335
- const z = c && $, y = "pds-workspace-selector", w = z ? `${y}--isMobile` : null, H = `${y}__menu`, N = _ ? `${H}--scroll` : null, { refs: V, floatingStyles: I, context: D } = Ve({
8335
+ const z = c && $, w = "pds-workspace-selector", y = z ? `${w}--isMobile` : null, H = `${w}__menu`, N = _ ? `${H}--scroll` : null, { refs: V, floatingStyles: I, context: D } = Ve({
8336
8336
  open: v,
8337
8337
  onOpenChange: E,
8338
8338
  whileElementsMounted: Re
@@ -8375,15 +8375,15 @@ const Cn = (u) => {
8375
8375
  }, [o]);
8376
8376
  const X = (ce) => {
8377
8377
  ce.preventDefault(), ce.key === "Enter" && i.current[L].querySelector("a").click(), ce.key === "Tab" && (ce.shiftKey ? _ ? document.getElementById("workspace-filter").focus() : E(!1) : n ? h.current.querySelector("a").focus() : E(!1));
8378
- }, F = /* @__PURE__ */ e.createElement("div", { className: `${y}__button-content` }, /* @__PURE__ */ e.createElement(
8379
- qt,
8378
+ }, F = /* @__PURE__ */ e.createElement("div", { className: `${w}__button-content` }, /* @__PURE__ */ e.createElement(
8379
+ jt,
8380
8380
  {
8381
8381
  size: "sm",
8382
8382
  uniqueId: O.workspaceId,
8383
8383
  imageSrc: O.imageSrc,
8384
- className: `${y}__avatar`
8384
+ className: `${w}__avatar`
8385
8385
  }
8386
- ), /* @__PURE__ */ e.createElement("span", { className: `${y}__name` }, O.displayName), O.planTier && /* @__PURE__ */ e.createElement(
8386
+ ), /* @__PURE__ */ e.createElement("span", { className: `${w}__name` }, O.displayName), O.planTier && /* @__PURE__ */ e.createElement(
8387
8387
  ft,
8388
8388
  {
8389
8389
  size: "sm",
@@ -8395,10 +8395,10 @@ const Cn = (u) => {
8395
8395
  {
8396
8396
  iconName: "angleDown",
8397
8397
  iconSize: "md",
8398
- className: `${y}__trigger-icon`
8398
+ className: `${w}__trigger-icon`
8399
8399
  }
8400
- ), J = _ && /* @__PURE__ */ e.createElement("div", { className: `${y}__filter` }, /* @__PURE__ */ e.createElement(
8401
- N1,
8400
+ ), J = _ && /* @__PURE__ */ e.createElement("div", { className: `${w}__filter` }, /* @__PURE__ */ e.createElement(
8401
+ x1,
8402
8402
  {
8403
8403
  hasClearButton: !0,
8404
8404
  onClear: () => g(o),
@@ -8411,7 +8411,7 @@ const Cn = (u) => {
8411
8411
  }
8412
8412
  )), te = C.map(
8413
8413
  (ce, le) => {
8414
- const ge = `${y}__item`, Oe = ce.isActive ? `${ge}--active` : null, qe = ce.isUnprivileged ? `${ge}--unprivileged` : null, ze = /* @__PURE__ */ e.createElement(P, { iconName: "check", className: `${y}__active-icon` }), Ne = ce.workspaceId, et = ce.workspaceLink.type, tt = ce.isUnprivileged ? null : (Be) => {
8414
+ const ge = `${w}__item`, Oe = ce.isActive ? `${ge}--active` : null, qe = ce.isUnprivileged ? `${ge}--unprivileged` : null, ze = /* @__PURE__ */ e.createElement(P, { iconName: "check", className: `${w}__active-icon` }), Ne = ce.workspaceId, et = ce.workspaceLink.type, tt = ce.isUnprivileged ? null : (Be) => {
8415
8415
  i.current[le] = Be;
8416
8416
  };
8417
8417
  return /* @__PURE__ */ e.createElement(
@@ -8434,21 +8434,21 @@ const Cn = (u) => {
8434
8434
  me(M({}, ce.workspaceLink.props), {
8435
8435
  onClick: () => E(!1)
8436
8436
  }),
8437
- /* @__PURE__ */ e.createElement("div", { className: `${y}__item-content` }, /* @__PURE__ */ e.createElement(
8438
- qt,
8437
+ /* @__PURE__ */ e.createElement("div", { className: `${w}__item-content` }, /* @__PURE__ */ e.createElement(
8438
+ jt,
8439
8439
  {
8440
8440
  size: "sm",
8441
8441
  uniqueId: ce.workspaceId,
8442
8442
  imageSrc: ce.imageSrc,
8443
- className: `${y}__list-avatar`
8443
+ className: `${w}__list-avatar`
8444
8444
  }
8445
8445
  ), ce.displayName),
8446
8446
  ce.isActive && ze
8447
8447
  )
8448
8448
  );
8449
8449
  }
8450
- ), fe = n && /* @__PURE__ */ e.createElement("div", { className: `${y}__create-link`, ref: h }, /* @__PURE__ */ e.createElement(
8451
- wt,
8450
+ ), fe = n && /* @__PURE__ */ e.createElement("div", { className: `${w}__create-link`, ref: h }, /* @__PURE__ */ e.createElement(
8451
+ yt,
8452
8452
  {
8453
8453
  displayType: "icon-end",
8454
8454
  iconName: "plus",
@@ -8460,7 +8460,7 @@ const Cn = (u) => {
8460
8460
  )), ie = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
8461
8461
  "button",
8462
8462
  M({
8463
- className: `${y}__trigger`,
8463
+ className: `${w}__trigger`,
8464
8464
  "aria-label": t,
8465
8465
  ref: V.setReference,
8466
8466
  type: "button"
@@ -8470,23 +8470,23 @@ const Cn = (u) => {
8470
8470
  ), j && /* @__PURE__ */ e.createElement(
8471
8471
  "div",
8472
8472
  M({
8473
- className: `${y}__dropdown`,
8473
+ className: `${w}__dropdown`,
8474
8474
  ref: V.setFloating,
8475
8475
  style: {
8476
8476
  zIndex: "var(--pds-z-index-dropdown)"
8477
8477
  }
8478
8478
  }, ne()),
8479
- /* @__PURE__ */ e.createElement("div", { style: M({}, q) }, J, /* @__PURE__ */ e.createElement("ul", { className: x([H, N]), role: "menu" }, /* @__PURE__ */ e.createElement("li", { className: `${y}__item-heading`, role: "presentation" }, r), te.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${y}__no-results` }, a) : te), fe)
8479
+ /* @__PURE__ */ e.createElement("div", { style: M({}, q) }, J, /* @__PURE__ */ e.createElement("ul", { className: x([H, N]), role: "menu" }, /* @__PURE__ */ e.createElement("li", { className: `${w}__item-heading`, role: "presentation" }, r), te.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${w}__no-results` }, a) : te), fe)
8480
8480
  )), be = (ce) => {
8481
8481
  const le = ce.target;
8482
- le.classList.toggle(`${y}__toggle--expanded`), le.setAttribute(
8482
+ le.classList.toggle(`${w}__toggle--expanded`), le.setAttribute(
8483
8483
  "aria-expanded",
8484
8484
  le.getAttribute("aria-expanded") === "true" ? "false" : "true"
8485
- ), le.nextElementSibling.classList.toggle(`${y}__mobile-menu--expanded`);
8485
+ ), le.nextElementSibling.classList.toggle(`${w}__mobile-menu--expanded`);
8486
8486
  }, $e = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
8487
8487
  "button",
8488
8488
  {
8489
- className: `${y}__toggle`,
8489
+ className: `${w}__toggle`,
8490
8490
  "aria-expanded": !1,
8491
8491
  "aria-label": t,
8492
8492
  onClick: be,
@@ -8494,19 +8494,19 @@ const Cn = (u) => {
8494
8494
  },
8495
8495
  F,
8496
8496
  B
8497
- ), /* @__PURE__ */ e.createElement("div", { className: `${y}__mobile-menu` }, J, /* @__PURE__ */ e.createElement(
8497
+ ), /* @__PURE__ */ e.createElement("div", { className: `${w}__mobile-menu` }, J, /* @__PURE__ */ e.createElement(
8498
8498
  "ul",
8499
8499
  {
8500
8500
  className: [H, `${H}--isMobile`].join(" ").trim(),
8501
8501
  role: "menu"
8502
8502
  },
8503
- /* @__PURE__ */ e.createElement("li", { className: `${y}__item-heading`, role: "presentation" }, r),
8504
- te.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${y}__no-results` }, a) : te
8503
+ /* @__PURE__ */ e.createElement("li", { className: `${w}__item-heading`, role: "presentation" }, r),
8504
+ te.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${w}__no-results` }, a) : te
8505
8505
  ), fe));
8506
8506
  return /* @__PURE__ */ e.createElement(
8507
8507
  "span",
8508
8508
  M({
8509
- className: x([y, w, m])
8509
+ className: x([w, y, m])
8510
8510
  }, f),
8511
8511
  z ? $e : ie
8512
8512
  );
@@ -8570,22 +8570,22 @@ const Cn = (u) => {
8570
8570
  ]), document.getElementById(m[0].id).classList.remove(`${u}--fading`);
8571
8571
  }, 200);
8572
8572
  }, $ = (k, z) => {
8573
- const { id: y, isDismissible: w, message: H, onDismiss: N, type: V } = k, D = ["critical", "warning"].includes(V) ? "alert" : "status", S = `${r[V]}: `, T = (W) => {
8574
- W.preventDefault(), document.getElementById(y).classList.add(`${u}--dismissing`), setTimeout(() => {
8573
+ const { id: w, isDismissible: y, message: H, onDismiss: N, type: V } = k, D = ["critical", "warning"].includes(V) ? "alert" : "status", S = `${r[V]}: `, T = (W) => {
8574
+ W.preventDefault(), document.getElementById(w).classList.add(`${u}--dismissing`), setTimeout(() => {
8575
8575
  if (p === 1) {
8576
8576
  f([]);
8577
8577
  return;
8578
8578
  }
8579
8579
  f(
8580
- (Z) => Z.filter((K) => K.id !== y)
8580
+ (Z) => Z.filter((K) => K.id !== w)
8581
8581
  ), N && k.onDismiss();
8582
8582
  }, 200);
8583
8583
  };
8584
8584
  return /* @__PURE__ */ e.createElement(
8585
8585
  "div",
8586
8586
  {
8587
- key: y,
8588
- id: y,
8587
+ key: w,
8588
+ id: w,
8589
8589
  className: x([u, E[V]]),
8590
8590
  role: D,
8591
8591
  style: {
@@ -8600,7 +8600,7 @@ const Cn = (u) => {
8600
8600
  className: `${u}__icon ${u}__icon--${k.type}`
8601
8601
  }
8602
8602
  ), /* @__PURE__ */ e.createElement("div", { className: `${u}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, S, " "), H)),
8603
- w && /* @__PURE__ */ e.createElement(
8603
+ y && /* @__PURE__ */ e.createElement(
8604
8604
  "button",
8605
8605
  {
8606
8606
  className: `${u}__dismiss-button`,
@@ -8847,13 +8847,13 @@ const ts = () => {
8847
8847
  autoClose: !1,
8848
8848
  closeButton: !1,
8849
8849
  closeOnClick: !1
8850
- })), l1(d, a);
8850
+ })), c1(d, a);
8851
8851
  }, n = n2({
8852
8852
  collapse: !1,
8853
8853
  enter: "pds-toast--bounceInPlace",
8854
8854
  exit: "pds-toast--slideOut"
8855
8855
  });
8856
- return [t, l1, n];
8856
+ return [t, c1, n];
8857
8857
  }, ht = "...", bt = (t, n) => {
8858
8858
  const s = n - t + 1;
8859
8859
  return Array.from({ length: s }, (l, r) => r + t);
@@ -8862,7 +8862,7 @@ const ts = () => {
8862
8862
  currentPage: n,
8863
8863
  itemsPerPage: s,
8864
8864
  totalItemCount: l
8865
- }) => g1(() => {
8865
+ }) => _1(() => {
8866
8866
  const d = Math.ceil(l / s), a = t + 5, c = 1, o = d;
8867
8867
  if (a >= d)
8868
8868
  return bt(1, d);
@@ -9026,32 +9026,32 @@ const ts = () => {
9026
9026
  const L = u.current, b = v.current, C = E.current;
9027
9027
  if (!L || !b || !C) return;
9028
9028
  let g = null, i = !1, h = !1;
9029
- const _ = (w) => {
9030
- w.preventDefault(), L.style.overflow = "hidden", i || !L.open ? k() : (h || L.open) && $();
9029
+ const _ = (y) => {
9030
+ y.preventDefault(), L.style.overflow = "hidden", i || !L.open ? k() : (h || L.open) && $();
9031
9031
  }, $ = () => {
9032
9032
  i = !0, m(!1);
9033
- const w = `${L.offsetHeight}px`, H = `${b.offsetHeight}px`;
9033
+ const y = `${L.offsetHeight}px`, H = `${b.offsetHeight}px`;
9034
9034
  g && g.cancel(), g = L.animate(
9035
- { height: [w, H] },
9035
+ { height: [y, H] },
9036
9036
  {
9037
9037
  duration: Ke,
9038
9038
  easing: Xe
9039
9039
  }
9040
- ), g.onfinish = () => y(!1), g.oncancel = () => i = !1;
9040
+ ), g.onfinish = () => w(!1), g.oncancel = () => i = !1;
9041
9041
  }, k = () => {
9042
9042
  L.style.height = `${L.offsetHeight}px`, L.open = !0, m(!0), requestAnimationFrame(() => z());
9043
9043
  }, z = () => {
9044
9044
  h = !0;
9045
- const w = `${L.offsetHeight}px`, H = `${b.offsetHeight + C.offsetHeight}px`;
9045
+ const y = `${L.offsetHeight}px`, H = `${b.offsetHeight + C.offsetHeight}px`;
9046
9046
  g && g.cancel(), g = L.animate(
9047
- { height: [w, H] },
9047
+ { height: [y, H] },
9048
9048
  {
9049
9049
  duration: Ke,
9050
9050
  easing: Xe
9051
9051
  }
9052
- ), g.onfinish = () => y(!0), g.oncancel = () => h = !1;
9053
- }, y = (w) => {
9054
- L.open = w, g = null, i = !1, h = !1, L.style.height = L.style.overflow = "";
9052
+ ), g.onfinish = () => w(!0), g.oncancel = () => h = !1;
9053
+ }, w = (y) => {
9054
+ L.open = y, g = null, i = !1, h = !1, L.style.height = L.style.overflow = "";
9055
9055
  };
9056
9056
  return b.addEventListener("click", _), () => b.removeEventListener("click", _);
9057
9057
  }, []), /* @__PURE__ */ e.createElement("div", M({ className: x([p, r]) }, d), /* @__PURE__ */ e.createElement(
@@ -9143,7 +9143,7 @@ const ts = () => {
9143
9143
  var r = l, { children: t, className: n } = r, s = A(r, ["children", "className"]);
9144
9144
  const d = "pds-panel-row", a = Fe(t), c = a["items-left"], o = a["items-right"];
9145
9145
  return /* @__PURE__ */ e.createElement("li", M({ className: x([d, n != null ? n : ""]) }, s), c && /* @__PURE__ */ e.createElement("div", { className: `${d}__items ${d}__items--left` }, c), o && /* @__PURE__ */ e.createElement("div", { className: `${d}__items ${d}__items--right` }, o));
9146
- }, at = 8, m1 = 14, Z2 = 6, os = (L) => {
9146
+ }, at = 8, u1 = 14, Z2 = 6, os = (L) => {
9147
9147
  var b = L, {
9148
9148
  content: t,
9149
9149
  closeButtonLabel: n = "Close",
@@ -9187,7 +9187,7 @@ const ts = () => {
9187
9187
  const i = typeof s, h = "pds-popover", _ = x([
9188
9188
  `${h}__trigger-custom`,
9189
9189
  i === "string" ? `${h}__trigger-text` : ""
9190
- ]), $ = s ? r : 0, k = de(null), { refs: z, floatingStyles: y, context: w, middlewareData: H } = Ve({
9190
+ ]), $ = s ? r : 0, k = de(null), { refs: z, floatingStyles: w, context: y, middlewareData: H } = Ve({
9191
9191
  placement: a,
9192
9192
  open: C,
9193
9193
  onOpenChange(X) {
@@ -9202,11 +9202,11 @@ const ts = () => {
9202
9202
  whileElementsMounted: Re
9203
9203
  }), N = () => {
9204
9204
  g(!1), d && d();
9205
- }, V = Ye(w), I = Se(w), D = Te(w), { getReferenceProps: S, getFloatingProps: T } = Ae([
9205
+ }, V = Ye(y), I = Se(y), D = Te(y), { getReferenceProps: S, getFloatingProps: T } = Ae([
9206
9206
  V,
9207
9207
  I,
9208
9208
  D
9209
- ]), W = (q = (j = H.arrow) == null ? void 0 : j.x) != null ? q : 0, Z = (Q = (O = H.arrow) == null ? void 0 : O.y) != null ? Q : 0, K = W + m1 / 2, ne = Z + at, { isMounted: Y } = Qe(w, {
9209
+ ]), W = (q = (j = H.arrow) == null ? void 0 : j.x) != null ? q : 0, Z = (Q = (O = H.arrow) == null ? void 0 : O.y) != null ? Q : 0, K = W + u1 / 2, ne = Z + at, { isMounted: Y } = Qe(y, {
9210
9210
  initial: {
9211
9211
  transform: "scale(0)"
9212
9212
  },
@@ -9235,10 +9235,10 @@ const ts = () => {
9235
9235
  iconSize: "md"
9236
9236
  }
9237
9237
  ))
9238
- ), Y && /* @__PURE__ */ e.createElement(v1, null, /* @__PURE__ */ e.createElement(
9239
- b1,
9238
+ ), Y && /* @__PURE__ */ e.createElement(b1, null, /* @__PURE__ */ e.createElement(
9239
+ C1,
9240
9240
  {
9241
- context: w,
9241
+ context: y,
9242
9242
  modal: l,
9243
9243
  initialFocus: -1
9244
9244
  },
@@ -9247,15 +9247,15 @@ const ts = () => {
9247
9247
  M({
9248
9248
  className: x([`${h}__container`, v]),
9249
9249
  ref: z.setFloating,
9250
- style: y
9250
+ style: w
9251
9251
  }, T()),
9252
9252
  /* @__PURE__ */ e.createElement(
9253
9253
  K1,
9254
9254
  {
9255
9255
  ref: k,
9256
- context: w,
9256
+ context: y,
9257
9257
  height: at,
9258
- width: m1,
9258
+ width: u1,
9259
9259
  tipRadius: 0,
9260
9260
  fill: "var(--pds-color-background-default)",
9261
9261
  stroke: "var(--pds-color-border-default)",
@@ -9264,7 +9264,7 @@ const ts = () => {
9264
9264
  }
9265
9265
  ),
9266
9266
  /* @__PURE__ */ e.createElement("div", { className: `${h}__container-inner` }, c && /* @__PURE__ */ e.createElement("div", { className: `${h}__title` }, c), t && /* @__PURE__ */ e.createElement("div", { className: `${h}__content` }, t), l && /* @__PURE__ */ e.createElement("div", { className: `${h}__close-wrapper` }, /* @__PURE__ */ e.createElement(
9267
- M1,
9267
+ k1,
9268
9268
  {
9269
9269
  ariaLabel: n,
9270
9270
  onClick: N,
@@ -9273,7 +9273,7 @@ const ts = () => {
9273
9273
  )))
9274
9274
  )
9275
9275
  )));
9276
- }, u1 = {
9276
+ }, p1 = {
9277
9277
  neutral: "--pds-color-semantic-neutral-utility",
9278
9278
  info: "--pds-color-status-info-foreground",
9279
9279
  success: "--pds-color-status-success-foreground",
@@ -9324,7 +9324,7 @@ const ts = () => {
9324
9324
  {
9325
9325
  className: `${E}__percentage`,
9326
9326
  style: {
9327
- color: `hsl(from var(${u1[g]}) h s calc(l - 7))`
9327
+ color: `hsl(from var(${p1[g]}) h s calc(l - 7))`
9328
9328
  }
9329
9329
  },
9330
9330
  d,
@@ -9344,7 +9344,7 @@ const ts = () => {
9344
9344
  className: `${E}__bar`,
9345
9345
  style: {
9346
9346
  width: `${C}%`,
9347
- backgroundColor: `var(${u1[g]})`
9347
+ backgroundColor: `var(${p1[g]})`
9348
9348
  }
9349
9349
  }
9350
9350
  )
@@ -9505,16 +9505,16 @@ const ms = (o) => {
9505
9505
  return u.checking;
9506
9506
  case "checked":
9507
9507
  if (r) {
9508
- const _ = r instanceof Date ? r : new Date(r), $ = Date.now() - _.getTime(), k = Math.floor($ / 1e3), z = Math.floor(k / 60), y = Math.floor(z / 60), w = Math.floor(y / 24), H = {
9508
+ const _ = r instanceof Date ? r : new Date(r), $ = Date.now() - _.getTime(), k = Math.floor($ / 1e3), z = Math.floor(k / 60), w = Math.floor(z / 60), y = Math.floor(w / 24), H = {
9509
9509
  year: "numeric",
9510
9510
  month: "short",
9511
9511
  day: "numeric"
9512
9512
  };
9513
9513
  let N = "";
9514
- return w > 7 ? N = _.toLocaleDateString(
9514
+ return y > 7 ? N = _.toLocaleDateString(
9515
9515
  void 0,
9516
9516
  H
9517
- ) : w > 0 && w <= 7 ? N = `${w} day${w !== 1 ? "s" : ""} ago` : y > 0 ? N = `${y} hour${y !== 1 ? "s" : ""} ago` : z > 0 ? N = `${z} minute${z !== 1 ? "s" : ""} ago` : N = `${k} second${k !== 1 ? "s" : ""} ago`, `${u.checked} ${N}`;
9517
+ ) : y > 0 && y <= 7 ? N = `${y} day${y !== 1 ? "s" : ""} ago` : w > 0 ? N = `${w} hour${w !== 1 ? "s" : ""} ago` : z > 0 ? N = `${z} minute${z !== 1 ? "s" : ""} ago` : N = `${k} second${k !== 1 ? "s" : ""} ago`, `${u.checked} ${N}`;
9518
9518
  }
9519
9519
  return u.checked;
9520
9520
  }
@@ -9587,7 +9587,7 @@ const ms = (o) => {
9587
9587
  "siteType",
9588
9588
  "className"
9589
9589
  ]);
9590
- const c = "pds-site-dashboard-heading", o = A2[n], m = s ? V1[s] : "bolt";
9590
+ const c = "pds-site-dashboard-heading", o = A2[n], m = s ? S1[s] : "bolt";
9591
9591
  return /* @__PURE__ */ e.createElement(
9592
9592
  "div",
9593
9593
  M({
@@ -9708,7 +9708,7 @@ const ms = (o) => {
9708
9708
  const a = "pds-stepper", c = "pds-stepper-mobile", o = de(), [m] = Nt(o), f = m.width, p = Number(
9709
9709
  getComputedStyle(document.body).getPropertyValue("--pds-stepper-step-content-width").replace("rem", "")
9710
9710
  ) * 16, u = -40, v = 2, E = 5, L = t.length, b = t.map((i) => i.isCurrent).lastIndexOf(!0), C = t.map((i, h) => {
9711
- const _ = h + 1, $ = h === b, k = h < b, z = i.hasError && $, w = (f - L * p) / (L + (L - 2)), H = p + w * 2, N = p + w, V = w + u * -1, I = h === 0, D = h === L - 1;
9711
+ const _ = h + 1, $ = h === b, k = h < b, z = i.hasError && $, y = (f - L * p) / (L + (L - 2)), H = p + y * 2, N = p + y, V = y + u * -1, I = h === 0, D = h === L - 1;
9712
9712
  let S = H;
9713
9713
  (I || D) && (S = N);
9714
9714
  const T = `${a}__step`, W = [T];
@@ -9771,9 +9771,9 @@ const ms = (o) => {
9771
9771
  )
9772
9772
  );
9773
9773
  }), g = t.map((i, h) => {
9774
- const _ = h + 1, $ = h === b, k = h === L - 1, z = i.hasError && $, y = t[b + 1] ? t[b + 1].label : null;
9774
+ const _ = h + 1, $ = h === b, k = h === L - 1, z = i.hasError && $, w = t[b + 1] ? t[b + 1].label : null;
9775
9775
  if ($) {
9776
- const w = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n.step, " "), _, " of ", L), H = _ / L * 100, N = z ? {
9776
+ const y = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n.step, " "), _, " of ", L), H = _ / L * 100, N = z ? {
9777
9777
  "--pds-color-status-info-foreground": "var(--pds-color-status-critical-foreground)"
9778
9778
  } : {
9779
9779
  "--pds-color-status-info-foreground": "var(--pds-color-brand-primary-default)"
@@ -9791,7 +9791,7 @@ const ms = (o) => {
9791
9791
  label: "Step progress",
9792
9792
  size: "sm",
9793
9793
  percentage: H,
9794
- innerLabel: w,
9794
+ innerLabel: y,
9795
9795
  style: N
9796
9796
  }
9797
9797
  )),
@@ -9802,7 +9802,7 @@ const ms = (o) => {
9802
9802
  iconSize: "md",
9803
9803
  className: `${c}__error-icon`
9804
9804
  }
9805
- )), i.label), !k && /* @__PURE__ */ e.createElement("div", { className: `${c}__next-step` }, `${n.next}: ${y}`))
9805
+ )), i.label), !k && /* @__PURE__ */ e.createElement("div", { className: `${c}__next-step` }, `${n.next}: ${w}`))
9806
9806
  );
9807
9807
  }
9808
9808
  });
@@ -9908,40 +9908,40 @@ const ms = (o) => {
9908
9908
  "|",
9909
9909
  "~"
9910
9910
  ], v = `#${a} h2:not(.${r}), h3:not(.${r})`, E = () => {
9911
- const [z, y] = U([]);
9911
+ const [z, w] = U([]);
9912
9912
  return oe(() => {
9913
- const w = Array.from(
9913
+ const y = Array.from(
9914
9914
  document.querySelectorAll(v)
9915
9915
  );
9916
- w.map((N) => {
9916
+ y.map((N) => {
9917
9917
  u.forEach((V) => {
9918
9918
  N.id.includes(V) && (N.id = N.id.replaceAll(V, "-"));
9919
9919
  });
9920
- }), w.map((N) => {
9920
+ }), y.map((N) => {
9921
9921
  const V = `item-${lt()}`;
9922
9922
  N.id || (N.id = V);
9923
9923
  });
9924
- const H = L(w);
9925
- y(H);
9924
+ const H = L(y);
9925
+ w(H);
9926
9926
  }, []), { nestedHeadings: z };
9927
9927
  }, L = (z) => {
9928
- const y = [];
9929
- return z.forEach((w) => {
9930
- const { innerText: H, id: N } = w;
9931
- w.nodeName === "H2" ? y.push({ id: N, title: H, items: [] }) : w.nodeName === "H3" && y.length > 0 && y[y.length - 1].items.push({
9928
+ const w = [];
9929
+ return z.forEach((y) => {
9930
+ const { innerText: H, id: N } = y;
9931
+ y.nodeName === "H2" ? w.push({ id: N, title: H, items: [] }) : y.nodeName === "H3" && w.length > 0 && w[w.length - 1].items.push({
9932
9932
  id: N,
9933
9933
  title: H
9934
9934
  });
9935
- }), y;
9935
+ }), w;
9936
9936
  }, { nestedHeadings: b } = E(), [C, g] = U();
9937
9937
  ((z) => {
9938
- const y = de({});
9938
+ const w = de({});
9939
9939
  oe(() => {
9940
- const w = (V) => {
9941
- y.current = V.reduce((S, T) => (S[T.target.id] = T, S), y.current);
9940
+ const y = (V) => {
9941
+ w.current = V.reduce((S, T) => (S[T.target.id] = T, S), w.current);
9942
9942
  const I = [];
9943
- Object.keys(y.current).forEach((S) => {
9944
- const T = y.current[S];
9943
+ Object.keys(w.current).forEach((S) => {
9944
+ const T = w.current[S];
9945
9945
  T.isIntersecting && I.push(T);
9946
9946
  });
9947
9947
  const D = (S) => N.findIndex((T) => T.id === S);
@@ -9953,7 +9953,7 @@ const ms = (o) => {
9953
9953
  );
9954
9954
  z(S[0].target.id);
9955
9955
  }
9956
- }, H = new IntersectionObserver(w, {
9956
+ }, H = new IntersectionObserver(y, {
9957
9957
  rootMargin: "0px 0px -20% 0px"
9958
9958
  }), N = Array.from(
9959
9959
  document.querySelectorAll(v)
@@ -9968,33 +9968,33 @@ const ms = (o) => {
9968
9968
  behavior: "smooth",
9969
9969
  block: "start"
9970
9970
  });
9971
- }, $ = (z, y) => {
9972
- z.preventDefault(), t && h(y), _(y);
9973
- }, k = ({ headings: z }) => /* @__PURE__ */ e.createElement("ul", { className: `${p}__list ${p}__list--top-level` }, z.map((y) => /* @__PURE__ */ e.createElement("li", { key: y.id, className: `${p}__list-item` }, /* @__PURE__ */ e.createElement(
9971
+ }, $ = (z, w) => {
9972
+ z.preventDefault(), t && h(w), _(w);
9973
+ }, k = ({ headings: z }) => /* @__PURE__ */ e.createElement("ul", { className: `${p}__list ${p}__list--top-level` }, z.map((w) => /* @__PURE__ */ e.createElement("li", { key: w.id, className: `${p}__list-item` }, /* @__PURE__ */ e.createElement(
9974
9974
  "a",
9975
9975
  {
9976
- className: y.id === C ? `${p}__link ${p}__link--active` : `${p}__link`,
9977
- href: `#${y.id}`,
9978
- onClick: (w) => {
9979
- $(w, y.id);
9976
+ className: w.id === C ? `${p}__link ${p}__link--active` : `${p}__link`,
9977
+ href: `#${w.id}`,
9978
+ onClick: (y) => {
9979
+ $(y, w.id);
9980
9980
  }
9981
9981
  },
9982
- y.title
9983
- ), y.items.length > 0 && /* @__PURE__ */ e.createElement(
9982
+ w.title
9983
+ ), w.items.length > 0 && /* @__PURE__ */ e.createElement(
9984
9984
  "ul",
9985
9985
  {
9986
9986
  className: `${p}__list ${p}__list--second-level`
9987
9987
  },
9988
- y.items.map((w) => /* @__PURE__ */ e.createElement("li", { key: w.id, className: `${p}__list-item` }, /* @__PURE__ */ e.createElement(
9988
+ w.items.map((y) => /* @__PURE__ */ e.createElement("li", { key: y.id, className: `${p}__list-item` }, /* @__PURE__ */ e.createElement(
9989
9989
  "a",
9990
9990
  {
9991
- className: w.id === C ? `${p}__link ${p}__link--active` : `${p}__link`,
9992
- href: `#${w.id}`,
9991
+ className: y.id === C ? `${p}__link ${p}__link--active` : `${p}__link`,
9992
+ href: `#${y.id}`,
9993
9993
  onClick: (H) => {
9994
- $(H, w.id);
9994
+ $(H, y.id);
9995
9995
  }
9996
9996
  },
9997
- w.title
9997
+ y.title
9998
9998
  )))
9999
9999
  ))));
10000
10000
  return /* @__PURE__ */ e.createElement(
@@ -10159,7 +10159,7 @@ const ms = (o) => {
10159
10159
  )
10160
10160
  ))));
10161
10161
  };
10162
- let p1 = [
10162
+ let h1 = [
10163
10163
  "color-1",
10164
10164
  "color-2",
10165
10165
  "color-3",
@@ -10182,8 +10182,8 @@ let p1 = [
10182
10182
  "color-20"
10183
10183
  ];
10184
10184
  const K2 = (t) => {
10185
- const n = parseInt(_1(t), 16);
10186
- return p1[n % p1.length];
10185
+ const n = parseInt(E1(t), 16);
10186
+ return h1[n % h1.length];
10187
10187
  }, X2 = (t, n) => t.length > n ? t.slice(0, n) + " ..." : t, vs = (o) => {
10188
10188
  var m = o, {
10189
10189
  linkContent: t,
@@ -10206,7 +10206,7 @@ const K2 = (t) => {
10206
10206
  p((i) => !i);
10207
10207
  };
10208
10208
  let b, C, g;
10209
- return t && !n && ye(t) ? (b = t.type, C = t.props.href ? "href" : "to", g = C === "href" ? t.props.href : t.props.to) : (b = "span", C = null, g = null), /* @__PURE__ */ e.createElement(
10209
+ return t && !n && we(t) ? (b = t.type, C = t.props.href ? "href" : "to", g = C === "href" ? t.props.href : t.props.to) : (b = "span", C = null, g = null), /* @__PURE__ */ e.createElement(
10210
10210
  b,
10211
10211
  M({
10212
10212
  href: C === "href" ? g : null,
@@ -10248,7 +10248,7 @@ const K2 = (t) => {
10248
10248
  name: u,
10249
10249
  title: v,
10250
10250
  org: E
10251
- }) => /* @__PURE__ */ e.createElement(e.Fragment, null, f && /* @__PURE__ */ e.createElement("div", { className: `${a}__image ${a}__image--avatar` }, /* @__PURE__ */ e.createElement("img", { src: f, alt: p })), u && /* @__PURE__ */ e.createElement("div", { className: `${a}__name` }, u), v && /* @__PURE__ */ e.createElement("div", { className: `${a}__title` }, v), E && /* @__PURE__ */ e.createElement("div", { className: `${a}__org` }, E)), o = (f) => ye(f.linkContent) ? Ie(f.linkContent, {
10251
+ }) => /* @__PURE__ */ e.createElement(e.Fragment, null, f && /* @__PURE__ */ e.createElement("div", { className: `${a}__image ${a}__image--avatar` }, /* @__PURE__ */ e.createElement("img", { src: f, alt: p })), u && /* @__PURE__ */ e.createElement("div", { className: `${a}__name` }, u), v && /* @__PURE__ */ e.createElement("div", { className: `${a}__title` }, v), E && /* @__PURE__ */ e.createElement("div", { className: `${a}__org` }, E)), o = (f) => we(f.linkContent) ? Ie(f.linkContent, {
10252
10252
  children: /* @__PURE__ */ e.createElement(c, M({}, f)),
10253
10253
  className: `${a}__item`
10254
10254
  }) : /* @__PURE__ */ e.createElement("span", { className: `${a}__item` }, /* @__PURE__ */ e.createElement(c, M({}, f))), m = () => t.map((f, p) => /* @__PURE__ */ e.createElement(U1, { key: `tile-${p}` }, o(f), /* @__PURE__ */ e.createElement("div", { className: "pds-tile__separator" })));
@@ -10348,7 +10348,7 @@ const K2 = (t) => {
10348
10348
  "children",
10349
10349
  "className"
10350
10350
  ]);
10351
- const { isMobile: d } = ve(we), a = "pds-dashboard-inner", c = d ? `${a}--isMobile` : `${a}--notMobile`, o = Fe(t), m = o["header-left"], f = o["header-right"], p = o.content;
10351
+ const { isMobile: d } = ve(ye), a = "pds-dashboard-inner", c = d ? `${a}--isMobile` : `${a}--notMobile`, o = Fe(t), m = o["header-left"], f = o["header-right"], p = o.content;
10352
10352
  return /* @__PURE__ */ e.createElement(
10353
10353
  "div",
10354
10354
  M({
@@ -10357,7 +10357,7 @@ const K2 = (t) => {
10357
10357
  (m || f) && /* @__PURE__ */ e.createElement("div", { className: `${a}__header` }, (m || f) && /* @__PURE__ */ e.createElement("div", { className: `${a}__header-top` }, m && /* @__PURE__ */ e.createElement("div", { className: `${a}__header-left` }, m), f && /* @__PURE__ */ e.createElement("div", { className: `${a}__header-right` }, f))),
10358
10358
  p && p
10359
10359
  );
10360
- }, ys = (l) => {
10360
+ }, ws = (l) => {
10361
10361
  var r = l, {
10362
10362
  children: t,
10363
10363
  className: n
@@ -10366,7 +10366,7 @@ const K2 = (t) => {
10366
10366
  "className"
10367
10367
  ]);
10368
10368
  let d = !1;
10369
- const a = ve(we);
10369
+ const a = ve(ye);
10370
10370
  a && (d = a.isMobile);
10371
10371
  const c = "pds-docs-layout", o = d ? `${c}--isMobile` : null, m = Fe(t), f = m.navigation ? /* @__PURE__ */ e.createElement("div", { key: "navigation", className: `${c}__nav` }, m.navigation) : null, p = /* @__PURE__ */ e.createElement("div", { key: "content", className: `${c}__content` }, m.content);
10372
10372
  return /* @__PURE__ */ e.createElement(
@@ -10376,7 +10376,7 @@ const K2 = (t) => {
10376
10376
  }, s),
10377
10377
  [f, p]
10378
10378
  );
10379
- }, ws = (L) => {
10379
+ }, ys = (L) => {
10380
10380
  var b = L, {
10381
10381
  alignContent: t = "flex-start",
10382
10382
  alignItems: n = "stretch",
@@ -10408,18 +10408,18 @@ const K2 = (t) => {
10408
10408
  "children",
10409
10409
  "className"
10410
10410
  ]);
10411
- let g = k1() <= 640;
10412
- const i = ve(we);
10411
+ let g = H1() <= 640;
10412
+ const i = ve(ye);
10413
10413
  i && (g = i.isMobile);
10414
10414
  const h = "pds-flex", _ = `${h}-container`, $ = g ? `${_}--mobile` : null;
10415
10415
  let k = null;
10416
10416
  g ? k = `${h}-direction--${o}` : s !== "row" && (k = `${h}-direction--${s}`);
10417
10417
  let z = null;
10418
10418
  g ? m ? m !== "nowrap" && (z = `${h}-wrap--${m}`) : l !== "nowrap" && (z = `${h}-wrap--${l}`) : l !== "nowrap" && (z = `${h}-wrap--${l}`);
10419
- let y = null;
10420
- g ? p ? p !== "flex-start" && (y = `${h}-justify--${p}`) : d !== "flex-start" && (y = `${h}-justify--${d}`) : d !== "flex-start" && (y = `${h}-justify--${d}`);
10421
10419
  let w = null;
10422
- g ? a ? a !== "stretch" && (w = `${h}-align-items--${a}`) : n !== "stretch" && (w = `${h}-align-items--${n}`) : n !== "stretch" && (w = `${h}-align-items--${n}`);
10420
+ g ? p ? p !== "flex-start" && (w = `${h}-justify--${p}`) : d !== "flex-start" && (w = `${h}-justify--${d}`) : d !== "flex-start" && (w = `${h}-justify--${d}`);
10421
+ let y = null;
10422
+ g ? a ? a !== "stretch" && (y = `${h}-align-items--${a}`) : n !== "stretch" && (y = `${h}-align-items--${n}`) : n !== "stretch" && (y = `${h}-align-items--${n}`);
10423
10423
  let H = null;
10424
10424
  g ? c ? c !== "flex-start" && (H = `${h}-align-content--${c}`) : t !== "flex-start" && (H = `${h}-align-content--${t}`) : t !== "flex-start" && (H = `${h}-align-content--${t}`);
10425
10425
  let N = null;
@@ -10431,8 +10431,8 @@ const K2 = (t) => {
10431
10431
  $,
10432
10432
  k,
10433
10433
  z,
10434
- y,
10435
10434
  w,
10435
+ y,
10436
10436
  H,
10437
10437
  N,
10438
10438
  v != null ? v : ""
@@ -10461,7 +10461,7 @@ const K2 = (t) => {
10461
10461
  ]);
10462
10462
  const m = "pds-sidebar-layout", f = `pds-grid pds-grid--${n}`, p = `${m}--${r}`;
10463
10463
  let u = !1;
10464
- const v = ve(we);
10464
+ const v = ve(ye);
10465
10465
  v && (u = v.isMobile);
10466
10466
  const E = Fe(t);
10467
10467
  let L = "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";
@@ -10591,47 +10591,62 @@ const K2 = (t) => {
10591
10591
  /* @__PURE__ */ e.createElement("div", { className: L.join(" ").trim() }, g),
10592
10592
  /* @__PURE__ */ e.createElement("div", { className: b.join(" ").trim() }, i)
10593
10593
  );
10594
+ }, Ns = (t, n) => {
10595
+ const [s, l] = U(!1), r = Zt(
10596
+ (a) => {
10597
+ a.key === t && (l(!0), n && n(a));
10598
+ },
10599
+ [t, n]
10600
+ ), d = Zt(
10601
+ (a) => {
10602
+ a.key === t && l(!1);
10603
+ },
10604
+ [t]
10605
+ );
10606
+ return oe(() => (window.addEventListener("keydown", r), window.addEventListener("keyup", d), () => {
10607
+ window.removeEventListener("keydown", r), window.removeEventListener("keyup", d);
10608
+ }), [r, d]), s;
10594
10609
  };
10595
10610
  export {
10596
- qt as Avatar,
10611
+ jt as Avatar,
10597
10612
  bs as AvatarTileList,
10598
10613
  Yn as Banner,
10599
10614
  un as BranchDiff,
10600
10615
  On as Breadcrumb,
10601
10616
  gt as Button,
10602
- wt as ButtonLink,
10617
+ yt as ButtonLink,
10603
10618
  Rn as ButtonNav,
10604
10619
  $2 as CTALink,
10605
10620
  $n as CTASlice,
10606
10621
  fn as Callout,
10607
- Jt as Card,
10608
- H1 as CardHeading,
10622
+ e1 as Card,
10623
+ z1 as CardHeading,
10609
10624
  gn as CardSelectGroup,
10610
- w2 as Checkbox,
10625
+ y2 as Checkbox,
10611
10626
  Hn as CheckboxFieldset,
10612
10627
  zn as CheckboxGroup,
10613
10628
  o2 as ClipboardButton,
10614
- M1 as CloseButton,
10629
+ k1 as CloseButton,
10615
10630
  Cn as CodeBlock,
10616
10631
  L2 as Combobox,
10617
10632
  Nn as ComboboxMultiselect,
10618
- i1 as ComparisonList,
10633
+ d1 as ComparisonList,
10619
10634
  pt as Container,
10620
10635
  It as DashboardContext,
10621
10636
  Fn as DashboardGlobal,
10622
10637
  $s as DashboardInner,
10623
10638
  Pn as DashboardNav,
10624
10639
  Wn as DashboardSearch,
10625
- yn as DashboardStat,
10626
- ys as DocsLayout,
10627
- t1 as DropdownMenu,
10640
+ wn as DashboardStat,
10641
+ ws as DocsLayout,
10642
+ n1 as DropdownMenu,
10628
10643
  ss as ExpansionPanel,
10629
10644
  as as ExpansionPanelGroup,
10630
- wn as FileDiff,
10645
+ yn as FileDiff,
10631
10646
  xn as FileUpload,
10632
- ws as FlexContainer,
10647
+ ys as FlexContainer,
10633
10648
  Ln as FlowSteps,
10634
- y2 as FooterHeading,
10649
+ w2 as FooterHeading,
10635
10650
  Mn as FooterLinks,
10636
10651
  Ls as GlobalWrapper,
10637
10652
  P as Icon,
@@ -10650,7 +10665,7 @@ export {
10650
10665
  ls as Panel,
10651
10666
  cs as PanelList,
10652
10667
  rs as PanelRow,
10653
- I1 as PantheonLogo,
10668
+ V1 as PantheonLogo,
10654
10669
  p2 as PlatformIcon,
10655
10670
  os as Popover,
10656
10671
  vn as PricingCard,
@@ -10660,7 +10675,7 @@ export {
10660
10675
  Vn as RadioGroup,
10661
10676
  ms as RefreshChecker,
10662
10677
  j2 as RefreshCheckerState,
10663
- we as ResponsiveContext,
10678
+ ye as ResponsiveContext,
10664
10679
  Jn as SectionMessage,
10665
10680
  pn as SegmentedButton,
10666
10681
  g2 as Select,
@@ -10672,13 +10687,13 @@ export {
10672
10687
  us as SiteDashboardHeading,
10673
10688
  kn as SiteFooter,
10674
10689
  A2 as SitePlanLevelLabel,
10675
- V1 as SiteTypeIcon,
10690
+ S1 as SiteTypeIcon,
10676
10691
  Bn as SiteTypeLabel,
10677
10692
  z2 as Skiplink,
10678
10693
  ps as SocialLinks,
10679
10694
  xt as Spinner,
10680
10695
  u2 as SplitButton,
10681
- Kt as StatusBadge,
10696
+ Xt as StatusBadge,
10682
10697
  hs as StatusIndicator,
10683
10698
  fs as Stepper,
10684
10699
  ks as StepperLayout,
@@ -10689,7 +10704,7 @@ export {
10689
10704
  Es as Tabs,
10690
10705
  vs as Tag,
10691
10706
  $t as Tally,
10692
- N1 as TextInput,
10707
+ x1 as TextInput,
10693
10708
  Tn as Textarea,
10694
10709
  Hs as ThreeItemLayout,
10695
10710
  Y2 as Tile,
@@ -10702,12 +10717,13 @@ export {
10702
10717
  Kn as UserMenu,
10703
10718
  hn as UtilityButton,
10704
10719
  Xn as WorkspaceSelector,
10705
- o1 as badgeTypes,
10720
+ i1 as badgeTypes,
10706
10721
  M2 as getFilteredOptions,
10707
10722
  mn as iconList,
10708
- p1 as tagColors,
10723
+ h1 as tagColors,
10709
10724
  r2 as useClipboard,
10725
+ Ns as useKeyPress,
10710
10726
  ts as useToast,
10711
- k1 as useWindowWidth
10727
+ H1 as useWindowWidth
10712
10728
  };
10713
10729
  //# sourceMappingURL=index.js.map