@pantheon-systems/pds-toolkit-react 2.0.0-alpha.22 → 2.0.0-alpha.24

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,4 +1,4 @@
1
- import e, { Children as E1, isValidElement as $e, useState as j, cloneElement as Ne, createElement as $1, useContext as K2, useCallback as ye, useEffect as ae, createContext as Y2, forwardRef as Te, useRef as de, useMemo as Me, useId as O2 } from "react";
1
+ import e, { Children as E1, isValidElement as we, useState as q, cloneElement as Ne, createElement as $1, useContext as K2, useCallback as ye, useEffect as ae, createContext as Y2, forwardRef as Te, useRef as de, useMemo as Me, useId as O2 } from "react";
2
2
  import w1 from "hash-sum";
3
3
  import { useFloating as ke, autoUpdate as Ie, offset as xe, flip as Re, shift as s2, useHover as U2, useFocus as r4, useDismiss as Oe, useRole as l2, useInteractions as Ze, FloatingPortal as L1, useId as o4, useClick as u2, safePolygon as y1, useListNavigation as z1, useTypeahead as i4, useTransitionStyles as Ke, size as v2, FloatingOverlay as d4, FloatingFocusManager as N1, arrow as m4, FloatingArrow as u4 } from "@floating-ui/react";
4
4
  import { ResponsiveContainer as M1, BarChart as p4, CartesianGrid as k1, XAxis as x1, YAxis as D1, Tooltip as P1, Bar as h4, LineChart as g4, Line as f4, ReferenceLine as n1 } from "recharts";
@@ -11,7 +11,7 @@ import { ToastContainer as v4, Slide as _4, toast as Z2, cssTransition as b4 } f
11
11
  import './index.css';const Ye = () => Math.random().toString(32).substring(2, 13), Fe = (a) => {
12
12
  const l = {}, t = [];
13
13
  return E1.forEach(a, (c) => {
14
- if ($e(c)) {
14
+ if (we(c)) {
15
15
  const n = c.props.slot;
16
16
  n ? l[n] ? l[n].push(c) : l[n] = [c] : t.push(c);
17
17
  } else
@@ -1759,12 +1759,12 @@ import './index.css';const Ye = () => Math.random().toString(32).substring(2, 13
1759
1759
  ...o
1760
1760
  }) => {
1761
1761
  const r = "pds-icon", d = `${r} ${r}--${c} ${r}--${t}`, i = $4[t], m = `0 0 ${i.width} ${i.height}`, h = t in r1 ? r1[t] : null;
1762
- let f;
1762
+ let C;
1763
1763
  if (h?.type === "complex")
1764
- f = h.render();
1764
+ C = h.render();
1765
1765
  else {
1766
1766
  const u = h?.type === "path" ? h.svgPathData : i.svgPathData;
1767
- f = Array.isArray(u) ? u.map((p, C) => /* @__PURE__ */ e.createElement("path", { key: C, d: p, fill: "currentColor" })) : /* @__PURE__ */ e.createElement("path", { d: u, fill: "currentColor" });
1767
+ C = Array.isArray(u) ? u.map((p, f) => /* @__PURE__ */ e.createElement("path", { key: f, d: p, fill: "currentColor" })) : /* @__PURE__ */ e.createElement("path", { d: u, fill: "currentColor" });
1768
1768
  }
1769
1769
  return /* @__PURE__ */ e.createElement(
1770
1770
  "svg",
@@ -1784,7 +1784,7 @@ import './index.css';const Ye = () => Math.random().toString(32).substring(2, 13
1784
1784
  xmlns: "http://www.w3.org/2000/svg",
1785
1785
  ...o
1786
1786
  },
1787
- f
1787
+ C
1788
1788
  );
1789
1789
  }, o1 = [
1790
1790
  "dawn",
@@ -1817,7 +1817,7 @@ import './index.css';const Ye = () => Math.random().toString(32).substring(2, 13
1817
1817
  uniqueId: r,
1818
1818
  ...d
1819
1819
  }) => {
1820
- const i = "pds-avatar", m = `${i}--${o}`, h = s !== "circle" ? `${i}--${s}` : null, f = c ? `${i}--image` : null, [u, p] = j(void 0), b = {
1820
+ const i = "pds-avatar", m = `${i}--${o}`, h = s !== "circle" ? `${i}--${s}` : null, C = c ? `${i}--image` : null, [u, p] = q(void 0), b = {
1821
1821
  backgroundImage: r ? `var(--pds-gradient-avatar-${w4(r)})` : null,
1822
1822
  borderRadius: s === "square" ? "var(--pds-border-radius-default)" : "100%",
1823
1823
  height: "100%",
@@ -1834,7 +1834,7 @@ import './index.css';const Ye = () => Math.random().toString(32).substring(2, 13
1834
1834
  onLoad: () => p(!1),
1835
1835
  src: `${c}`
1836
1836
  }
1837
- ) : /* @__PURE__ */ e.createElement("span", { style: b }, t && /* @__PURE__ */ e.createElement(F, { className: `${i}__user-icon`, iconName: "user" })), E = /* @__PURE__ */ e.createElement("span", { className: `${i}__content` }, v), g = n && $e(n) ? Ne(
1837
+ ) : /* @__PURE__ */ e.createElement("span", { style: b }, t && /* @__PURE__ */ e.createElement(F, { className: `${i}__user-icon`, iconName: "user" })), E = /* @__PURE__ */ e.createElement("span", { className: `${i}__content` }, v), g = n && we(n) ? Ne(
1838
1838
  n,
1839
1839
  Object.assign({}, n.props, {
1840
1840
  className: `${i}__content ${i}__content--link`,
@@ -1849,7 +1849,7 @@ import './index.css';const Ye = () => Math.random().toString(32).substring(2, 13
1849
1849
  i,
1850
1850
  m,
1851
1851
  h,
1852
- f,
1852
+ C,
1853
1853
  l
1854
1854
  ]),
1855
1855
  ...d
@@ -1944,7 +1944,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
1944
1944
  SPACING_7XL: S1,
1945
1945
  SPACING_8XL: D4,
1946
1946
  SPACING_9XL: x4
1947
- }, we = ({
1947
+ }, Le = ({
1948
1948
  className: a,
1949
1949
  content: l,
1950
1950
  customTrigger: t = null,
@@ -1958,15 +1958,15 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
1958
1958
  zIndex: m = V4,
1959
1959
  ...h
1960
1960
  }) => {
1961
- const [f, u] = j(!1), p = typeof t, C = "pds-tooltip", b = $([
1962
- `${C}__trigger-custom`,
1963
- p === "string" ? `${C}__trigger-text` : null
1961
+ const [C, u] = q(!1), p = typeof t, f = "pds-tooltip", b = $([
1962
+ `${f}__trigger-custom`,
1963
+ p === "string" ? `${f}__trigger-text` : null
1964
1964
  ]), v = $([
1965
- `${C}__trigger`,
1966
- `${C}__trigger--${d}`
1965
+ `${f}__trigger`,
1966
+ `${f}__trigger--${d}`
1967
1967
  ]), { context: E, floatingStyles: g, refs: _ } = ke({
1968
1968
  placement: s,
1969
- open: f,
1969
+ open: C,
1970
1970
  onOpenChange: u,
1971
1971
  middleware: [xe(n), Re(), s2()],
1972
1972
  whileElementsMounted: Ie
@@ -1980,7 +1980,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
1980
1980
  w,
1981
1981
  k
1982
1982
  ]);
1983
- return /* @__PURE__ */ e.createElement("div", { className: $([C, a ?? ""]), ...h }, t ? /* @__PURE__ */ e.createElement(
1983
+ return /* @__PURE__ */ e.createElement("div", { className: $([f, a ?? ""]), ...h }, t ? /* @__PURE__ */ e.createElement(
1984
1984
  "span",
1985
1985
  {
1986
1986
  ref: _.setReference,
@@ -2000,7 +2000,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2000
2000
  /* @__PURE__ */ e.createElement(
2001
2001
  F,
2002
2002
  {
2003
- className: `${C}__icon`,
2003
+ className: `${f}__icon`,
2004
2004
  iconName: r,
2005
2005
  size: i
2006
2006
  }
@@ -2009,13 +2009,13 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2009
2009
  "div",
2010
2010
  {
2011
2011
  ref: _.setFloating,
2012
- "aria-hidden": !f,
2013
- className: `${C}__container`,
2012
+ "aria-hidden": !C,
2013
+ className: `${f}__container`,
2014
2014
  style: {
2015
2015
  ...g,
2016
2016
  zIndex: m,
2017
- opacity: f ? 1 : 0,
2018
- pointerEvents: f ? "auto" : "none",
2017
+ opacity: C ? 1 : 0,
2018
+ pointerEvents: C ? "auto" : "none",
2019
2019
  transition: "var(--pds-animation-transition-reveal)"
2020
2020
  },
2021
2021
  ...P()
@@ -2033,11 +2033,11 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2033
2033
  numberBehindDescription: r = "commits behind main",
2034
2034
  ...d
2035
2035
  }) => {
2036
- const i = "pds-branch-diff", m = t ? `${i}--loading` : null, h = t ? "pds-pulse" : null, f = l !== null && l > 0 ? `${l}rem` : "100%";
2036
+ const i = "pds-branch-diff", m = t ? `${i}--loading` : null, h = t ? "pds-pulse" : null, C = l !== null && l > 0 ? `${l}rem` : "100%";
2037
2037
  let u = Math.max(0, n), p = Math.max(0, o);
2038
2038
  t && (u = 1, p = 1);
2039
- const C = Math.max(u, p);
2040
- let b = C > 0 ? p / C * 100 : 0, v = C > 0 ? u / C * 100 : 0;
2039
+ const f = Math.max(u, p);
2040
+ let b = f > 0 ? p / f * 100 : 0, v = f > 0 ? u / f * 100 : 0;
2041
2041
  const E = 10;
2042
2042
  b < E ? (b = E, v = 100 - E) : v < E && (v = E, b = 100 - E);
2043
2043
  const g = t ? c : `${p} ${r} & ${u} ${s}`;
@@ -2045,11 +2045,11 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2045
2045
  "div",
2046
2046
  {
2047
2047
  className: $([i, m, a ?? ""]),
2048
- style: { width: f },
2048
+ style: { width: C },
2049
2049
  ...d
2050
2050
  },
2051
2051
  /* @__PURE__ */ e.createElement(
2052
- we,
2052
+ Le,
2053
2053
  {
2054
2054
  content: g,
2055
2055
  customTrigger: /* @__PURE__ */ e.createElement("div", { className: `${i}__content` }, /* @__PURE__ */ e.createElement(
@@ -2106,7 +2106,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2106
2106
  }, N2 = (a) => {
2107
2107
  if (typeof a == "string" || typeof a == "number")
2108
2108
  return String(a);
2109
- if ($e(a)) {
2109
+ if (we(a)) {
2110
2110
  const l = a.props;
2111
2111
  return E1.toArray(l.children).map(N2).join("");
2112
2112
  }
@@ -2128,7 +2128,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2128
2128
  }, A1 = Y2(null), Y4 = ({
2129
2129
  children: a
2130
2130
  }) => {
2131
- const [l, t] = j(0), c = ye(() => {
2131
+ const [l, t] = q(0), c = ye(() => {
2132
2132
  t((r) => r + 1);
2133
2133
  }, []), n = ye(() => {
2134
2134
  t((r) => Math.max(0, r - 1));
@@ -2163,7 +2163,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2163
2163
  enabled: s = !0,
2164
2164
  metaKey: o = !1,
2165
2165
  shiftKey: r = !1
2166
- } = t ?? {}, [d, i] = j(!1), m = ye(
2166
+ } = t ?? {}, [d, i] = q(!1), m = ye(
2167
2167
  (u) => u.altKey === c && u.ctrlKey === n && u.metaKey === o && u.shiftKey === r,
2168
2168
  [c, n, o, r]
2169
2169
  ), h = ye(
@@ -2171,7 +2171,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2171
2171
  u.key === a && m(u) && (i(!0), l && l(u));
2172
2172
  },
2173
2173
  [a, l, m]
2174
- ), f = ye(
2174
+ ), C = ye(
2175
2175
  (u) => {
2176
2176
  u.key === a && m(u) && i(!1);
2177
2177
  },
@@ -2179,10 +2179,10 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2179
2179
  );
2180
2180
  return ae(() => {
2181
2181
  if (s)
2182
- return window.addEventListener("keydown", h), window.addEventListener("keyup", f), () => {
2183
- window.removeEventListener("keydown", h), window.removeEventListener("keyup", f);
2182
+ return window.addEventListener("keydown", h), window.addEventListener("keyup", C), () => {
2183
+ window.removeEventListener("keydown", h), window.removeEventListener("keyup", C);
2184
2184
  };
2185
- }, [h, f, s]), d;
2185
+ }, [h, C, s]), d;
2186
2186
  }, te = {
2187
2187
  base: "pds-input",
2188
2188
  disabled: "pds-is-disabled",
@@ -2212,7 +2212,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2212
2212
  "pds-input-label",
2213
2213
  r ? null : "visually-hidden",
2214
2214
  a ?? ""
2215
- ]), m = /* @__PURE__ */ e.createElement(e.Fragment, null, s, o && !l && /* @__PURE__ */ e.createElement(O1, null), d && /* @__PURE__ */ e.createElement(we, { content: d }, /* @__PURE__ */ e.createElement("span", null, /* @__PURE__ */ e.createElement(F, { iconName: "circleInfo", size: "s" }))));
2215
+ ]), m = /* @__PURE__ */ e.createElement(e.Fragment, null, s, o && !l && /* @__PURE__ */ e.createElement(O1, null), d && /* @__PURE__ */ e.createElement(Le, { content: d }, /* @__PURE__ */ e.createElement("span", null, /* @__PURE__ */ e.createElement(F, { iconName: "circleInfo", size: "s" }))));
2216
2216
  return c ? /* @__PURE__ */ e.createElement("legend", { className: i, id: `${t}-legend` }, m) : n ? /* @__PURE__ */ e.createElement("span", { className: i, id: `${t}-field-label` }, m) : /* @__PURE__ */ e.createElement("label", { className: i, htmlFor: t, id: `${t}-label` }, m);
2217
2217
  }, De = ({
2218
2218
  className: a,
@@ -2351,12 +2351,12 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2351
2351
  size: s = "3xl",
2352
2352
  ...o
2353
2353
  }) => {
2354
- const r = "pds-spinner", d = l !== "full-color" ? `${r}--${l}` : null, i = t ? `${r}--inline` : null, m = Q4[s], h = J4[s], f = et[s], u = Math.ceil(parseFloat(m) * 16 * 0.13), p = {
2354
+ const r = "pds-spinner", d = l !== "full-color" ? `${r}--${l}` : null, i = t ? `${r}--inline` : null, m = Q4[s], h = J4[s], C = et[s], u = Math.ceil(parseFloat(m) * 16 * 0.13), p = {
2355
2355
  "--spinner-size": m,
2356
2356
  "--spinner-line": `${u}px`
2357
- }, C = {
2357
+ }, f = {
2358
2358
  fontSize: h,
2359
- marginBlockStart: f
2359
+ marginBlockStart: C
2360
2360
  };
2361
2361
  return /* @__PURE__ */ e.createElement(
2362
2362
  "span",
@@ -2368,7 +2368,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2368
2368
  ...o
2369
2369
  },
2370
2370
  /* @__PURE__ */ e.createElement("span", { className: `${r}__icon` }),
2371
- n && !t ? /* @__PURE__ */ e.createElement("span", { className: `${r}__label`, style: C }, c) : /* @__PURE__ */ e.createElement(X4, { label: c })
2371
+ n && !t ? /* @__PURE__ */ e.createElement("span", { className: `${r}__label`, style: f }, c) : /* @__PURE__ */ e.createElement(X4, { label: c })
2372
2372
  );
2373
2373
  }, Ae = Te(
2374
2374
  ({
@@ -2384,14 +2384,14 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2384
2384
  isWorking: i = !1,
2385
2385
  label: m,
2386
2386
  onClick: h,
2387
- size: f = "s",
2387
+ size: C = "s",
2388
2388
  tooltipText: u,
2389
2389
  variant: p = "primary",
2390
- ...C
2390
+ ...f
2391
2391
  }, b) => {
2392
- const v = "pds-button", E = `${v}--${f}`, g = `${v}--${p}`, _ = o ? `${v}--full-width` : null, N = r ? `${v}--loading` : null, z = r ? "pds-pulse" : null;
2392
+ const v = "pds-button", E = `${v}--${C}`, g = `${v}--${p}`, _ = o ? `${v}--full-width` : null, N = r ? `${v}--loading` : null, z = r ? "pds-pulse" : null;
2393
2393
  let w, k;
2394
- switch (f) {
2394
+ switch (C) {
2395
2395
  case "xs":
2396
2396
  w = "s", k = "s";
2397
2397
  break;
@@ -2438,7 +2438,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2438
2438
  disabled: c || r || i,
2439
2439
  onClick: h,
2440
2440
  type: l,
2441
- ...C
2441
+ ...f
2442
2442
  },
2443
2443
  i && !r && /* @__PURE__ */ e.createElement(
2444
2444
  p2,
@@ -2450,7 +2450,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2450
2450
  ),
2451
2451
  D
2452
2452
  );
2453
- return (c || r || i) && u ? /* @__PURE__ */ e.createElement(we, { content: u, customTrigger: H }) : /* @__PURE__ */ e.createElement(e.Fragment, null, H);
2453
+ return (c || r || i) && u ? /* @__PURE__ */ e.createElement(Le, { content: u, customTrigger: H }) : /* @__PURE__ */ e.createElement(e.Fragment, null, H);
2454
2454
  }
2455
2455
  ), tt = ({
2456
2456
  className: a,
@@ -2463,30 +2463,30 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2463
2463
  variant: r = "primary",
2464
2464
  ...d
2465
2465
  }) => {
2466
- const i = "pds-button-link", m = "pds-button", h = `${m}--${s}`, f = `${m}--${r}`, u = $([
2466
+ const i = "pds-button-link", m = "pds-button", h = `${m}--${s}`, C = `${m}--${r}`, u = $([
2467
2467
  m,
2468
2468
  h,
2469
- f
2470
- ]), p = $e(n) ? n.props.children : null;
2471
- let C;
2469
+ C
2470
+ ]), p = we(n) ? n.props.children : null;
2471
+ let f;
2472
2472
  switch (s) {
2473
2473
  case "xs":
2474
- C = "s";
2474
+ f = "s";
2475
2475
  break;
2476
2476
  case "s":
2477
- C = "m";
2477
+ f = "m";
2478
2478
  break;
2479
2479
  case "m":
2480
- C = "m";
2480
+ f = "m";
2481
2481
  break;
2482
2482
  case "l":
2483
- C = "m";
2483
+ f = "m";
2484
2484
  break;
2485
2485
  case "xl":
2486
- C = "l";
2486
+ f = "l";
2487
2487
  break;
2488
2488
  default:
2489
- C = "m";
2489
+ f = "m";
2490
2490
  break;
2491
2491
  }
2492
2492
  const b = /* @__PURE__ */ e.createElement(
@@ -2495,12 +2495,12 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2495
2495
  key: c,
2496
2496
  className: `${i}__icon`,
2497
2497
  iconName: c,
2498
- size: C
2498
+ size: f
2499
2499
  }
2500
2500
  );
2501
2501
  let v = [p];
2502
2502
  t === "icon-start" && c ? v = [b, p] : t === "icon-end" && c && (v = [p, b]);
2503
- const E = $e(n) ? Ne(
2503
+ const E = we(n) ? Ne(
2504
2504
  n,
2505
2505
  Object.assign({}, n.props, {
2506
2506
  className: u,
@@ -2519,7 +2519,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2519
2519
  }
2520
2520
  ) : /* @__PURE__ */ e.createElement("span", { className: $([i, a ?? ""]), ...d }, E);
2521
2521
  }, at = (a, l) => {
2522
- const [t, c] = j(!1), n = l?.duration;
2522
+ const [t, c] = q(!1), n = l?.duration;
2523
2523
  return ae(() => {
2524
2524
  let o;
2525
2525
  return t && n && (o = setTimeout(() => {
@@ -2548,8 +2548,8 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2548
2548
  size: i = "s",
2549
2549
  variant: m = "standard",
2550
2550
  ...h
2551
- }, f) => {
2552
- const u = "pds-icon-button", p = i !== "s" ? `${u}--${i}` : null, C = m !== "standard" ? `${u}--${m}` : null, b = n ? `${u}--has-border` : null, v = {
2551
+ }, C) => {
2552
+ const u = "pds-icon-button", p = i !== "s" ? `${u}--${i}` : null, f = m !== "standard" ? `${u}--${m}` : null, b = n ? `${u}--has-border` : null, v = {
2553
2553
  fadeOut: `${u}--fadeOut`,
2554
2554
  hide: `${u}--hide`,
2555
2555
  scaleIn: `${u}--scaleIn`
@@ -2607,12 +2607,12 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2607
2607
  return /* @__PURE__ */ e.createElement(
2608
2608
  "button",
2609
2609
  {
2610
- ref: f,
2610
+ ref: C,
2611
2611
  "aria-label": a,
2612
2612
  className: $([
2613
2613
  u,
2614
2614
  p,
2615
- C,
2615
+ f,
2616
2616
  b,
2617
2617
  t
2618
2618
  ]),
@@ -2623,7 +2623,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2623
2623
  ...h
2624
2624
  },
2625
2625
  s && !c ? /* @__PURE__ */ e.createElement(
2626
- we,
2626
+ Le,
2627
2627
  {
2628
2628
  className: `${u}__tooltip`,
2629
2629
  content: a,
@@ -2676,7 +2676,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2676
2676
  /* @__PURE__ */ e.createElement(F, { className: `${s}__icon`, iconName: "xmarkLarge" })
2677
2677
  );
2678
2678
  return /* @__PURE__ */ e.createElement(
2679
- we,
2679
+ Le,
2680
2680
  {
2681
2681
  disableFocusTrigger: !0,
2682
2682
  content: a,
@@ -2691,7 +2691,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2691
2691
  disabled: t,
2692
2692
  label: c
2693
2693
  }) => {
2694
- const [n, s] = j(!1), o = "pds-nav-accordion";
2694
+ const [n, s] = q(!1), o = "pds-nav-accordion";
2695
2695
  return /* @__PURE__ */ e.createElement("div", { className: $([o, l ?? ""]) }, /* @__PURE__ */ e.createElement(
2696
2696
  "button",
2697
2697
  {
@@ -2767,9 +2767,9 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2767
2767
  role: i = "menu",
2768
2768
  selectedIndex: m = null,
2769
2769
  variant: h = "default",
2770
- virtual: f = !1
2770
+ virtual: C = !1
2771
2771
  } = {}) => {
2772
- const [u, p] = j(!1), [C, b] = j(null), v = de([]), E = h === "input", g = () => {
2772
+ const [u, p] = q(!1), [f, b] = q(null), v = de([]), E = h === "input", g = () => {
2773
2773
  const Z = [];
2774
2774
  return E ? Z.push(
2775
2775
  xe(({ placement: B }) => B.startsWith("top") ? 16 : 0)
@@ -2807,16 +2807,16 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2807
2807
  }), L = z1(_, {
2808
2808
  enabled: t,
2809
2809
  listRef: v,
2810
- activeIndex: C,
2810
+ activeIndex: f,
2811
2811
  onNavigate: b,
2812
- virtual: f,
2812
+ virtual: C,
2813
2813
  loop: !0,
2814
2814
  allowEscape: a,
2815
- focusItemOnHover: !f
2815
+ focusItemOnHover: !C
2816
2816
  }), D = i4(_, {
2817
2817
  enabled: s,
2818
2818
  listRef: v,
2819
- activeIndex: C,
2819
+ activeIndex: f,
2820
2820
  selectedIndex: m,
2821
2821
  onMatch: (Z) => {
2822
2822
  u || p(!0), b(Z);
@@ -2824,7 +2824,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2824
2824
  findMatch: lt
2825
2825
  }), { getFloatingProps: H, getItemProps: O, getReferenceProps: S } = Ze(
2826
2826
  [w, k, P, M, L, D]
2827
- ), { isMounted: Y, styles: q } = Ke(
2827
+ ), { isMounted: Y, styles: j } = Ke(
2828
2828
  _,
2829
2829
  n ? {
2830
2830
  duration: { open: 300, close: 150 },
@@ -2836,7 +2836,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2836
2836
  }
2837
2837
  );
2838
2838
  return {
2839
- activeIndex: C,
2839
+ activeIndex: f,
2840
2840
  floatingStyles: N,
2841
2841
  getFloatingProps: H,
2842
2842
  getItemProps: O,
@@ -2847,7 +2847,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2847
2847
  refs: z,
2848
2848
  setActiveIndex: b,
2849
2849
  setIsOpen: p,
2850
- transitionStyles: q
2850
+ transitionStyles: j
2851
2851
  };
2852
2852
  }, j1 = ({
2853
2853
  className: a,
@@ -2862,12 +2862,12 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2862
2862
  onClick: i,
2863
2863
  size: m = "s",
2864
2864
  testId: h,
2865
- undefinedLabel: f = "Unlabeled group",
2865
+ undefinedLabel: C = "Unlabeled group",
2866
2866
  variant: u = "primary",
2867
2867
  ...p
2868
2868
  }) => {
2869
2869
  const {
2870
- activeIndex: C,
2870
+ activeIndex: f,
2871
2871
  floatingStyles: b,
2872
2872
  getFloatingProps: v,
2873
2873
  getItemProps: E,
@@ -2884,7 +2884,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2884
2884
  enableTypeahead: !0,
2885
2885
  placement: d === "end" ? "bottom-end" : "bottom-start",
2886
2886
  role: "menu"
2887
- }), M = "pds-menu-button", L = n, [D] = j(`menu-button-${n}`), H = [], O = [];
2887
+ }), M = "pds-menu-button", L = n, [D] = q(`menu-button-${n}`), H = [], O = [];
2888
2888
  ((y) => {
2889
2889
  y.forEach((X) => {
2890
2890
  !Qe(X) && !Je(X) && !o2(X) && O.push(X);
@@ -2892,7 +2892,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2892
2892
  })(r);
2893
2893
  const Y = (y) => {
2894
2894
  "disabled" in y && y.disabled || ("callback" in y && y.callback && y.callback(y), k(!1));
2895
- }, q = () => {
2895
+ }, j = () => {
2896
2896
  i && i();
2897
2897
  }, Z = (y, X, K = "", ne = "") => {
2898
2898
  const U = K ? `-group-${K}` : "", A = L + U + "-item-" + (X + 1), ee = "id" in y && y.id ? y.id : A;
@@ -2912,12 +2912,12 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2912
2912
  if (o2(y))
2913
2913
  return /* @__PURE__ */ e.createElement("li", { key: ee, role: "presentation" }, y.nodeContent);
2914
2914
  if (Ve(y) || "label" in y && y.label) {
2915
- const oe = O.indexOf(y), Q = C === oe, me = "isCritical" in y && y.isCritical, pe = "criticalLabel" in y ? y.criticalLabel : void 0, fe = [];
2916
- if ("label" in y && y.label && fe.push(y.label), Ve(y) && y.linkContent) {
2915
+ const oe = O.indexOf(y), Q = f === oe, me = "isCritical" in y && y.isCritical, pe = "criticalLabel" in y ? y.criticalLabel : void 0, Ce = [];
2916
+ if ("label" in y && y.label && Ce.push(y.label), Ve(y) && y.linkContent) {
2917
2917
  const ie = y.linkContent;
2918
- fe.push(ie.props.children);
2918
+ Ce.push(ie.props.children);
2919
2919
  }
2920
- y.iconName && fe.unshift(
2920
+ y.iconName && Ce.unshift(
2921
2921
  /* @__PURE__ */ e.createElement(
2922
2922
  F,
2923
2923
  {
@@ -2926,10 +2926,10 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2926
2926
  size: y.iconSize ?? "s"
2927
2927
  }
2928
2928
  )
2929
- ), me && pe && fe.unshift(
2929
+ ), me && pe && Ce.unshift(
2930
2930
  /* @__PURE__ */ e.createElement("span", { key: `critical-${L}`, className: "visually-hidden" }, pe)
2931
2931
  );
2932
- const Ce = y.description ? /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-description" }, y.description) : null;
2932
+ const ve = y.description ? /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-description" }, y.description) : null;
2933
2933
  let ge;
2934
2934
  if (Ve(y) && y.linkContent) {
2935
2935
  const ie = y.linkContent, he = ie.type;
@@ -2940,10 +2940,10 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
2940
2940
  ...ie.props,
2941
2941
  onClick: () => k(!1)
2942
2942
  },
2943
- /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${M}__item-label` }, fe), Ce)
2943
+ /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${M}__item-label` }, Ce), ve)
2944
2944
  );
2945
2945
  } else
2946
- ge = /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${M}__item-label` }, fe), Ce);
2946
+ ge = /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${M}__item-label` }, Ce), ve);
2947
2947
  const se = $([
2948
2948
  "pds-dropdown__item",
2949
2949
  Q ? "pds-dropdown__item--focused" : null,
@@ -3072,12 +3072,12 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3072
3072
  ...v()
3073
3073
  },
3074
3074
  A.map((ee, oe) => {
3075
- const Q = H[oe], me = "isHeading" in ee[0] && ee[0].isHeading, pe = me ? `${L}-group-${Q}-heading` : "", fe = `${L}-group-${Q}`, Ce = me ? null : `${f} ${oe + 1}`;
3075
+ const Q = H[oe], me = "isHeading" in ee[0] && ee[0].isHeading, pe = me ? `${L}-group-${Q}-heading` : "", Ce = `${L}-group-${Q}`, ve = me ? null : `${C} ${oe + 1}`;
3076
3076
  return /* @__PURE__ */ e.createElement(
3077
3077
  "ul",
3078
3078
  {
3079
- key: fe,
3080
- "aria-label": Ce,
3079
+ key: Ce,
3080
+ "aria-label": ve,
3081
3081
  "aria-labelledby": pe || void 0,
3082
3082
  role: "group"
3083
3083
  },
@@ -3140,7 +3140,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3140
3140
  type: "button",
3141
3141
  variant: u,
3142
3142
  ...g({
3143
- onClick: q
3143
+ onClick: j
3144
3144
  })
3145
3145
  }
3146
3146
  )), t === "icon-only") {
@@ -3162,7 +3162,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3162
3162
  type: "button",
3163
3163
  variant: "standard",
3164
3164
  ...g({
3165
- onClick: q
3165
+ onClick: j
3166
3166
  })
3167
3167
  }
3168
3168
  );
@@ -3191,8 +3191,8 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3191
3191
  value: d,
3192
3192
  ...i
3193
3193
  }) => {
3194
- const m = "pds-segmented-button", h = t ? "pds-is-disabled" : null, f = `${m}--${r}`, u = r === "s" ? "s" : "m", p = typeof d < "u", C = typeof l < "u", [b, v] = j(
3195
- C ? l : ""
3194
+ const m = "pds-segmented-button", h = t ? "pds-is-disabled" : null, C = `${m}--${r}`, u = r === "s" ? "s" : "m", p = typeof d < "u", f = typeof l < "u", [b, v] = q(
3195
+ f ? l : ""
3196
3196
  ), E = (g) => {
3197
3197
  v(g.target.value), s && s(g.target.value);
3198
3198
  };
@@ -3202,7 +3202,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3202
3202
  {
3203
3203
  className: $([
3204
3204
  m,
3205
- f,
3205
+ C,
3206
3206
  h,
3207
3207
  a ?? ""
3208
3208
  ]),
@@ -3268,8 +3268,8 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3268
3268
  ...r
3269
3269
  }) => {
3270
3270
  const d = "pds-split-button", i = `${d}--${o}`, m = a[0], h = a.slice(1);
3271
- let f = null;
3272
- return "isLink" in m && m.isLink === !0 ? f = /* @__PURE__ */ e.createElement(
3271
+ let C = null;
3272
+ return "isLink" in m && m.isLink === !0 ? C = /* @__PURE__ */ e.createElement(
3273
3273
  tt,
3274
3274
  {
3275
3275
  className: `${d}__primary-action`,
@@ -3279,7 +3279,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3279
3279
  size: s,
3280
3280
  variant: o
3281
3281
  }
3282
- ) : "label" in m && (f = /* @__PURE__ */ e.createElement(
3282
+ ) : "label" in m && (C = /* @__PURE__ */ e.createElement(
3283
3283
  Ae,
3284
3284
  {
3285
3285
  className: `${d}__primary-action`,
@@ -3296,7 +3296,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3296
3296
  id: c,
3297
3297
  ...r
3298
3298
  },
3299
- f,
3299
+ C,
3300
3300
  /* @__PURE__ */ e.createElement(
3301
3301
  j1,
3302
3302
  {
@@ -3709,39 +3709,39 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3709
3709
  isWorking: i,
3710
3710
  label: m,
3711
3711
  linkContent: h,
3712
- onClick: f,
3712
+ onClick: C,
3713
3713
  tooltipText: u,
3714
3714
  ...p
3715
3715
  }) => {
3716
- const C = "pds-utility-button", b = r ? "pds-pulse" : null, v = (k) => n && !i ? /* @__PURE__ */ e.createElement(F, { key: k, className: `${C}__icon`, iconName: n }) : null, E = () => i ? /* @__PURE__ */ e.createElement(
3716
+ const f = "pds-utility-button", b = r ? "pds-pulse" : null, v = (k) => n && !i ? /* @__PURE__ */ e.createElement(F, { key: k, className: `${f}__icon`, iconName: n }) : null, E = () => i ? /* @__PURE__ */ e.createElement(
3717
3717
  p2,
3718
3718
  {
3719
3719
  key: "spinner",
3720
- className: `${C}__spinner`,
3720
+ className: `${f}__spinner`,
3721
3721
  colorType: "monochromatic",
3722
3722
  size: "s"
3723
3723
  }
3724
3724
  ) : null, g = (k) => {
3725
3725
  const P = [];
3726
3726
  return s === "before" && P.push(v("icon-before")), P.push(E()), P.push(
3727
- /* @__PURE__ */ e.createElement("span", { key: "label", className: `${C}__label` }, k)
3727
+ /* @__PURE__ */ e.createElement("span", { key: "label", className: `${f}__label` }, k)
3728
3728
  ), s === "after" && P.push(v("icon-after")), P.filter(Boolean);
3729
- }, _ = h && $e(h) ? h.props.children : m, N = $([
3730
- C,
3731
- c ? `${C}--border` : null,
3732
- o ? `${C}--critical` : null,
3733
- t ? `${C}--disabled` : null,
3734
- r ? `${C}--loading` : null,
3735
- i ? `${C}--working` : null,
3736
- d ? `${C}--monospace` : null,
3729
+ }, _ = h && we(h) ? h.props.children : m, N = $([
3730
+ f,
3731
+ c ? `${f}--border` : null,
3732
+ o ? `${f}--critical` : null,
3733
+ t ? `${f}--disabled` : null,
3734
+ r ? `${f}--loading` : null,
3735
+ i ? `${f}--working` : null,
3736
+ d ? `${f}--monospace` : null,
3737
3737
  l ?? ""
3738
- ]), z = (k) => u ? /* @__PURE__ */ e.createElement(we, { content: u, customTrigger: k }) : k;
3738
+ ]), z = (k) => u ? /* @__PURE__ */ e.createElement(Le, { content: u, customTrigger: k }) : k;
3739
3739
  if (h && !t) {
3740
- const k = $e(h) ? Ne(
3740
+ const k = we(h) ? Ne(
3741
3741
  h,
3742
3742
  Object.assign({}, h.props, {
3743
3743
  className: $([
3744
- `${C}__button`,
3744
+ `${f}__button`,
3745
3745
  b,
3746
3746
  h.props.className ?? ""
3747
3747
  ]),
@@ -3754,8 +3754,8 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3754
3754
  "button",
3755
3755
  {
3756
3756
  "aria-disabled": t || r || i,
3757
- className: $([`${C}__button`, b]),
3758
- onClick: t ? void 0 : f,
3757
+ className: $([`${f}__button`, b]),
3758
+ onClick: t ? void 0 : C,
3759
3759
  type: "button",
3760
3760
  ...a
3761
3761
  },
@@ -3833,11 +3833,11 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3833
3833
  const i = "pds-card-select-group";
3834
3834
  let m = `${i}__legend`;
3835
3835
  n === "center" && (m = `${i}__legend ${i}__legend--center`), n === "hidden" && (m = `${i}__legend visually-hidden`);
3836
- const [h, f] = j(l), u = (g) => {
3837
- f(g.currentTarget.value), o && o(g.currentTarget.value);
3838
- }, p = r.length, C = "pds-grid-item", b = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-6", v = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-4";
3836
+ const [h, C] = q(l), u = (g) => {
3837
+ C(g.currentTarget.value), o && o(g.currentTarget.value);
3838
+ }, p = r.length, f = "pds-grid-item", b = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-6", v = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-4";
3839
3839
  let E = "";
3840
- return s === "twoAcross" ? E = b : s === "threeAcross" ? E = v : s === "auto" && (p === 1 ? E = C : p % 3 === 0 ? E = v : p % 2 === 0 ? E = b : E = v), /* @__PURE__ */ e.createElement(
3840
+ return s === "twoAcross" ? E = b : s === "threeAcross" ? E = v : s === "auto" && (p === 1 ? E = f : p % 3 === 0 ? E = v : p % 2 === 0 ? E = b : E = v), /* @__PURE__ */ e.createElement(
3841
3841
  "fieldset",
3842
3842
  {
3843
3843
  className: $([i, a]),
@@ -3930,10 +3930,10 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3930
3930
  message: i,
3931
3931
  onBlur: m,
3932
3932
  onFocus: h,
3933
- onOptionSelect: f,
3933
+ onOptionSelect: C,
3934
3934
  options: u,
3935
3935
  required: p = !1,
3936
- showLabel: C = !0,
3936
+ showLabel: f = !0,
3937
3937
  size: b = "s",
3938
3938
  tooltipText: v = null,
3939
3939
  validationMessage: E,
@@ -3944,7 +3944,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3944
3944
  const z = Be(o), w = "pds-select", k = a ? `${w}--auto-width` : null, P = b !== "s" ? `${w}--${b}` : null, M = c ? te.disabled : null, L = p && !c ? te.required : null, D = g === "error" ? te.error : null, H = g === "success" ? te.success : null;
3945
3945
  let O = null;
3946
3946
  g === "error" && (O = "error"), g === "success" && (O = "success");
3947
- const S = E || i, Y = typeof _ < "u", q = typeof t < "u", B = ((ue) => ue.reduce((_e, R) => m1(R) ? [..._e, ...R.options] : [..._e, R], []))(u), I = (ue) => B.findIndex((_e) => _e.value === ue), V = Y && I(_) >= 0 ? I(_) : null, x = q ? I(t) : null, G = V || x, [W, y] = j(
3947
+ const S = E || i, Y = typeof _ < "u", j = typeof t < "u", B = ((ue) => ue.reduce((_e, T) => m1(T) ? [..._e, ...T.options] : [..._e, T], []))(u), I = (ue) => B.findIndex((_e) => _e.value === ue), V = Y && I(_) >= 0 ? I(_) : null, x = j ? I(t) : null, G = V || x, [W, y] = q(
3948
3948
  G ?? null
3949
3949
  ), {
3950
3950
  activeIndex: X,
@@ -3963,9 +3963,9 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3963
3963
  role: "listbox",
3964
3964
  selectedIndex: W,
3965
3965
  variant: "input"
3966
- }), fe = W !== null ? B[W]?.label : void 0, Ce = W !== null ? B[W]?.icon : void 0, ge = W !== null ? B[W]?.value : void 0, se = (ue) => {
3966
+ }), Ce = W !== null ? B[W]?.label : void 0, ve = W !== null ? B[W]?.icon : void 0, ge = W !== null ? B[W]?.value : void 0, se = (ue) => {
3967
3967
  const _e = B[ue];
3968
- Y || (y(ue), me(!1)), f && f(_e);
3968
+ Y || (y(ue), me(!1)), C && C(_e);
3969
3969
  };
3970
3970
  ae(() => {
3971
3971
  if (Y) {
@@ -3979,9 +3979,9 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3979
3979
  h && h(ge);
3980
3980
  }, Se = () => {
3981
3981
  Q.reference.current.focus();
3982
- }, le = (ue, _e) => {
3983
- const R = ue === "google" || ue === "microsoft", J = b === "l" ? "l" : "m";
3984
- return R ? /* @__PURE__ */ e.createElement(
3982
+ }, ce = (ue, _e) => {
3983
+ const T = ue === "google" || ue === "microsoft", J = b === "l" ? "l" : "m";
3984
+ return T ? /* @__PURE__ */ e.createElement(
3985
3985
  q1,
3986
3986
  {
3987
3987
  className: _e,
@@ -3998,56 +3998,56 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
3998
3998
  );
3999
3999
  }, be = (ue) => {
4000
4000
  let _e = 0;
4001
- return ue.map((R) => {
4002
- if (m1(R)) {
4003
- const ve = R.options.map((T) => {
4004
- const ce = _e++;
4001
+ return ue.map((T) => {
4002
+ if (m1(T)) {
4003
+ const fe = T.options.map((R) => {
4004
+ const le = _e++;
4005
4005
  return /* @__PURE__ */ e.createElement(
4006
4006
  $2,
4007
4007
  {
4008
- key: ce,
4009
- ref: (Le) => {
4010
- oe.current[ce] = Le;
4008
+ key: le,
4009
+ ref: (Ee) => {
4010
+ oe.current[le] = Ee;
4011
4011
  },
4012
- "aria-disabled": T?.disabled,
4013
- "aria-selected": ce === W && ce === X,
4014
- tabIndex: ce === X ? 0 : -1,
4015
- ...!T?.disabled && U({
4012
+ "aria-disabled": R?.disabled,
4013
+ "aria-selected": le === W && le === X,
4014
+ tabIndex: le === X ? 0 : -1,
4015
+ ...!R?.disabled && U({
4016
4016
  onClick() {
4017
- se(ce);
4017
+ se(le);
4018
4018
  },
4019
- onKeyDown(Le) {
4020
- Le.key === "Enter" && (Le.preventDefault(), se(ce), Q.reference.current.focus()), Le.key === "Escape" && (Le.preventDefault(), Q.reference.current.focus());
4019
+ onKeyDown(Ee) {
4020
+ Ee.key === "Enter" && (Ee.preventDefault(), se(le), Q.reference.current.focus()), Ee.key === "Escape" && (Ee.preventDefault(), Q.reference.current.focus());
4021
4021
  }
4022
4022
  })
4023
4023
  },
4024
- /* @__PURE__ */ e.createElement("span", { className: `${w}__option-label` }, T.icon && le(T.icon, `${w}__option-icon`), T.label),
4025
- W === ce && /* @__PURE__ */ e.createElement(m2, null)
4024
+ /* @__PURE__ */ e.createElement("span", { className: `${w}__option-label` }, R.icon && ce(R.icon, `${w}__option-icon`), R.label),
4025
+ W === le && /* @__PURE__ */ e.createElement(m2, null)
4026
4026
  );
4027
4027
  });
4028
- return /* @__PURE__ */ e.createElement(rt, { key: R.groupLabel, label: R.groupLabel }, ve);
4028
+ return /* @__PURE__ */ e.createElement(rt, { key: T.groupLabel, label: T.groupLabel }, fe);
4029
4029
  }
4030
4030
  const J = _e++;
4031
4031
  return /* @__PURE__ */ e.createElement(
4032
4032
  $2,
4033
4033
  {
4034
4034
  key: J,
4035
- ref: (ve) => {
4036
- oe.current[J] = ve;
4035
+ ref: (fe) => {
4036
+ oe.current[J] = fe;
4037
4037
  },
4038
- "aria-disabled": R?.disabled,
4038
+ "aria-disabled": T?.disabled,
4039
4039
  "aria-selected": J === W && J === X,
4040
4040
  tabIndex: J === X ? 0 : -1,
4041
- ...!R?.disabled && U({
4041
+ ...!T?.disabled && U({
4042
4042
  onClick() {
4043
4043
  se(J);
4044
4044
  },
4045
- onKeyDown(ve) {
4046
- ve.key === "Enter" && (ve.preventDefault(), se(J), Q.reference.current.focus()), ve.key === "Escape" && (ve.preventDefault(), Q.reference.current.focus());
4045
+ onKeyDown(fe) {
4046
+ fe.key === "Enter" && (fe.preventDefault(), se(J), Q.reference.current.focus()), fe.key === "Escape" && (fe.preventDefault(), Q.reference.current.focus());
4047
4047
  }
4048
4048
  })
4049
4049
  },
4050
- /* @__PURE__ */ e.createElement("span", { className: `${w}__option-label` }, R.icon && le(R.icon, `${w}__option-icon`), R.label),
4050
+ /* @__PURE__ */ e.createElement("span", { className: `${w}__option-label` }, T.icon && ce(T.icon, `${w}__option-icon`), T.label),
4051
4051
  W === J && /* @__PURE__ */ e.createElement(m2, null)
4052
4052
  );
4053
4053
  });
@@ -4069,7 +4069,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4069
4069
  style: o ? z : null,
4070
4070
  ...N
4071
4071
  },
4072
- a && !o && /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${w}__sizer` }, B.map((ue) => /* @__PURE__ */ e.createElement("span", { key: ue.value, className: `${w}__input-wrapper` }, g !== void 0 && /* @__PURE__ */ e.createElement(We, { variant: "error" }), /* @__PURE__ */ e.createElement("span", { className: `${w}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${w}__option-text` }, ue.icon && le(ue.icon, `${w}__icon`), ue.label), /* @__PURE__ */ e.createElement(
4072
+ a && !o && /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${w}__sizer` }, B.map((ue) => /* @__PURE__ */ e.createElement("span", { key: ue.value, className: `${w}__input-wrapper` }, g !== void 0 && /* @__PURE__ */ e.createElement(We, { variant: "error" }), /* @__PURE__ */ e.createElement("span", { className: `${w}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${w}__option-text` }, ue.icon && ce(ue.icon, `${w}__icon`), ue.label), /* @__PURE__ */ e.createElement(
4073
4073
  F,
4074
4074
  {
4075
4075
  className: `${w}__trigger-icon`,
@@ -4083,7 +4083,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4083
4083
  id: s,
4084
4084
  label: r,
4085
4085
  required: p,
4086
- showLabel: C,
4086
+ showLabel: f,
4087
4087
  tooltipText: v
4088
4088
  }
4089
4089
  ),
@@ -4103,7 +4103,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4103
4103
  })
4104
4104
  },
4105
4105
  O && /* @__PURE__ */ e.createElement(We, { variant: O }),
4106
- /* @__PURE__ */ e.createElement("span", { className: `${w}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${w}__option-text` }, (Ce || !fe && n) && le(Ce || n, `${w}__icon`), /* @__PURE__ */ e.createElement("span", { className: `${w}__option-label-text` }, fe ?? d.selectOptionText)), /* @__PURE__ */ e.createElement(F, { className: `${w}__trigger-icon`, iconName: "angleDown" }))
4106
+ /* @__PURE__ */ e.createElement("span", { className: `${w}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${w}__option-text` }, (ve || !Ce && n) && ce(ve || n, `${w}__icon`), /* @__PURE__ */ e.createElement("span", { className: `${w}__option-label-text` }, Ce ?? d.selectOptionText)), /* @__PURE__ */ e.createElement(F, { className: `${w}__trigger-icon`, iconName: "angleDown" }))
4107
4107
  ),
4108
4108
  ee && /* @__PURE__ */ e.createElement(
4109
4109
  "div",
@@ -4264,7 +4264,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4264
4264
  const c = getComputedStyle(a);
4265
4265
  return ot[l].map((s, o) => c.getPropertyValue(s).trim() || t[o]);
4266
4266
  }, Y1 = (a, l = "categorical") => {
4267
- const [t, c] = j(K1[l]);
4267
+ const [t, c] = q(K1[l]);
4268
4268
  return ae(() => {
4269
4269
  if (!a.current) return;
4270
4270
  c(u1(a.current, l));
@@ -4305,8 +4305,8 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4305
4305
  if (s === "table") {
4306
4306
  const d = l.map(
4307
4307
  (i) => a.reduce((m, h) => {
4308
- const f = h[i.dataKey];
4309
- return m + (typeof f == "number" ? f : 0);
4308
+ const C = h[i.dataKey];
4309
+ return m + (typeof C == "number" ? C : 0);
4310
4310
  }, 0)
4311
4311
  );
4312
4312
  return /* @__PURE__ */ e.createElement("div", { className: `${o} ${o}--table` }, /* @__PURE__ */ e.createElement("div", { className: `${o}__table-header` }, /* @__PURE__ */ e.createElement("span", { className: `${o}__table-header-label` }, "Top sources"), /* @__PURE__ */ e.createElement("span", { className: `${o}__table-header-value` }, c)), l.map((i, m) => /* @__PURE__ */ e.createElement("div", { key: i.dataKey, className: `${o}__table-row` }, /* @__PURE__ */ e.createElement("span", { className: `${o}__table-row-label` }, /* @__PURE__ */ e.createElement(
@@ -4339,14 +4339,14 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4339
4339
  textSize: r = "m",
4340
4340
  ...d
4341
4341
  }) => {
4342
- const i = "pds-skeleton", m = `${i}--${c}`, h = t ? `pds-pulse pds-pulse--${l}` : `${i}--${l}`, f = ["text-block", "code-block", "code-block-prefix"], u = n?.height ? p1(n.height) : "1rem", p = n?.width ? p1(n.width) : "100%";
4343
- let C = {
4342
+ const i = "pds-skeleton", m = `${i}--${c}`, h = t ? `pds-pulse pds-pulse--${l}` : `${i}--${l}`, C = ["text-block", "code-block", "code-block-prefix"], u = n?.height ? p1(n.height) : "1rem", p = n?.width ? p1(n.width) : "100%";
4343
+ let f = {
4344
4344
  height: u,
4345
4345
  width: p
4346
4346
  };
4347
- c === "circular" && (C = {
4348
- ...C,
4349
- width: C.height
4347
+ c === "circular" && (f = {
4348
+ ...f,
4349
+ width: f.height
4350
4350
  });
4351
4351
  const b = /* @__PURE__ */ e.createElement(
4352
4352
  "div",
@@ -4357,7 +4357,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4357
4357
  m,
4358
4358
  a ?? ""
4359
4359
  ]),
4360
- style: C,
4360
+ style: f,
4361
4361
  ...d
4362
4362
  }
4363
4363
  ), g = Math.max(1, Math.min(o, c === "code-block" || c === "code-block-prefix" ? 15 : 5));
@@ -4378,7 +4378,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4378
4378
  const D = Math.ceil(g / 2), H = Math.max(0, D - 1);
4379
4379
  if (M < H)
4380
4380
  return 1;
4381
- const O = g - H, S = M - H, Y = 1 - 0.1, q = S / O, Z = 1 - Y * q;
4381
+ const O = g - H, S = M - H, Y = 1 - 0.1, j = S / O, Z = 1 - Y * j;
4382
4382
  return Math.max(0.1, Z);
4383
4383
  }, P = /* @__PURE__ */ e.createElement(
4384
4384
  "div",
@@ -4433,7 +4433,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4433
4433
  )
4434
4434
  ))
4435
4435
  );
4436
- return f.includes(c) ? P : b;
4436
+ return C.includes(c) ? P : b;
4437
4437
  }, it = () => /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton-legend pds-chart__skeleton-legend--inline" }, /* @__PURE__ */ e.createElement(Ge, { shape: "rounded", size: { height: 0.75, width: 5 } }), /* @__PURE__ */ e.createElement(Ge, { shape: "rounded", size: { height: 0.75, width: 5 } }), /* @__PURE__ */ e.createElement(Ge, { shape: "rounded", size: { height: 0.75, width: 5 } })), dt = () => /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton-legend pds-chart__skeleton-legend--table" }, /* @__PURE__ */ e.createElement(Ge, { shape: "rounded", size: { height: 4, width: "100%" } })), J1 = ({
4438
4438
  height: a,
4439
4439
  legendVariant: l = "inline",
@@ -4454,10 +4454,10 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4454
4454
  layout: i = "horizontal",
4455
4455
  legendVariant: m = "inline",
4456
4456
  onTimePeriodChange: h,
4457
- selectedTimePeriod: f,
4457
+ selectedTimePeriod: C,
4458
4458
  series: u = [],
4459
4459
  showAccessibleTable: p,
4460
- showAxisLines: C,
4460
+ showAxisLines: f,
4461
4461
  showGrid: b,
4462
4462
  showLegend: v,
4463
4463
  showTooltip: E,
@@ -4477,11 +4477,11 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4477
4477
  emptyStateHeading: O = "No data available",
4478
4478
  emptyStateMessage: S,
4479
4479
  legendTableHeader: Y,
4480
- loadingLabel: q = "Loading chart data"
4480
+ loadingLabel: j = "Loading chart data"
4481
4481
  } = d, Z = de(null), B = W1(
4482
4482
  n,
4483
4483
  Y1(Z, n)
4484
- ), I = l ?? (r ? 60 : 360), V = t ?? (r ? 60 : void 0), x = b ?? !r, G = C ?? !r, W = v ?? !r, y = E ?? !r, X = p ?? !0, [K, ne] = j(null), U = de(K);
4484
+ ), I = l ?? (r ? 60 : 360), V = t ?? (r ? 60 : void 0), x = b ?? !r, G = f ?? !r, W = v ?? !r, y = E ?? !r, X = p ?? !0, [K, ne] = q(null), U = de(K);
4485
4485
  K && (U.current = K);
4486
4486
  const A = de({
4487
4487
  getBoundingClientRect: () => ({
@@ -4499,24 +4499,24 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4499
4499
  open: !!K,
4500
4500
  placement: "top",
4501
4501
  whileElementsMounted: Ie
4502
- }), { isMounted: pe, styles: fe } = Ke(ee, {
4502
+ }), { isMounted: pe, styles: Ce } = Ke(ee, {
4503
4503
  duration: { close: 150, open: 150 },
4504
4504
  initial: { opacity: 0 }
4505
4505
  });
4506
4506
  ae(() => {
4507
4507
  Q.setReference(A.current);
4508
4508
  }, [Q]);
4509
- const Ce = "pds-bar-chart", ge = N === "stacked" ? "stack" : void 0, se = ye(
4510
- (le) => {
4509
+ const ve = "pds-bar-chart", ge = N === "stacked" ? "stack" : void 0, se = ye(
4510
+ (ce) => {
4511
4511
  A.current.getBoundingClientRect = () => ({
4512
- bottom: le.clientY,
4512
+ bottom: ce.clientY,
4513
4513
  height: 0,
4514
- left: le.clientX,
4515
- right: le.clientX,
4516
- top: le.clientY,
4514
+ left: ce.clientX,
4515
+ right: ce.clientX,
4516
+ top: ce.clientY,
4517
4517
  width: 0,
4518
- x: le.clientX,
4519
- y: le.clientY
4518
+ x: ce.clientX,
4519
+ y: ce.clientY
4520
4520
  }), me();
4521
4521
  },
4522
4522
  [me]
@@ -4529,10 +4529,10 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4529
4529
  {
4530
4530
  ref: Z,
4531
4531
  "aria-busy": "true",
4532
- "aria-label": q,
4532
+ "aria-label": j,
4533
4533
  className: $([
4534
- Ce,
4535
- `${Ce}--loading`,
4534
+ ve,
4535
+ `${ve}--loading`,
4536
4536
  c ?? ""
4537
4537
  ]),
4538
4538
  style: { maxWidth: V },
@@ -4553,8 +4553,8 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4553
4553
  {
4554
4554
  ref: Z,
4555
4555
  className: $([
4556
- Ce,
4557
- `${Ce}--empty`,
4556
+ ve,
4557
+ `${ve}--empty`,
4558
4558
  c ?? ""
4559
4559
  ]),
4560
4560
  style: { height: I, maxWidth: V },
@@ -4568,28 +4568,28 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4568
4568
  }
4569
4569
  )
4570
4570
  );
4571
- const he = i === "vertical", Se = (le) => N === "grouped" || N === "stacked" && le === u.length - 1 ? he ? [0, a, a, 0] : [a, a, 0, 0] : 0;
4571
+ const he = i === "vertical", Se = (ce) => N === "grouped" || N === "stacked" && ce === u.length - 1 ? he ? [0, a, a, 0] : [a, a, 0, 0] : 0;
4572
4572
  return /* @__PURE__ */ e.createElement(
4573
4573
  "div",
4574
4574
  {
4575
4575
  ref: Z,
4576
- className: $([Ce, c ?? ""]),
4576
+ className: $([ve, c ?? ""]),
4577
4577
  style: V ? { maxWidth: V } : void 0,
4578
4578
  ...D
4579
4579
  },
4580
- !r && g && g.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${Ce}__header` }, /* @__PURE__ */ e.createElement(
4580
+ !r && g && g.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${ve}__header` }, /* @__PURE__ */ e.createElement(
4581
4581
  x2,
4582
4582
  {
4583
4583
  autoWidth: !0,
4584
- id: `${Ce}-time-period`,
4584
+ id: `${ve}-time-period`,
4585
4585
  label: "Time period",
4586
- onOptionSelect: (le) => h?.(le.value),
4587
- options: g.map((le) => ({
4588
- label: le.label,
4589
- value: le.value
4586
+ onOptionSelect: (ce) => h?.(ce.value),
4587
+ options: g.map((ce) => ({
4588
+ label: ce.label,
4589
+ value: ce.value
4590
4590
  })),
4591
4591
  showLabel: !1,
4592
- value: f
4592
+ value: C
4593
4593
  }
4594
4594
  )),
4595
4595
  /* @__PURE__ */ e.createElement(
@@ -4666,42 +4666,42 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4666
4666
  y && _ && /* @__PURE__ */ e.createElement(
4667
4667
  P1,
4668
4668
  {
4669
- content: (le) => !le.active || !le.payload?.length ? null : _({
4670
- entries: le.payload.map((be) => ({
4669
+ content: (ce) => !ce.active || !ce.payload?.length ? null : _({
4670
+ entries: ce.payload.map((be) => ({
4671
4671
  color: String(be.color ?? ""),
4672
4672
  dataKey: String(be.dataKey ?? ""),
4673
4673
  name: String(be.name ?? ""),
4674
4674
  value: Number(be.value ?? 0)
4675
4675
  })),
4676
- label: String(le.label ?? "")
4676
+ label: String(ce.label ?? "")
4677
4677
  }),
4678
4678
  cursor: !1
4679
4679
  }
4680
4680
  ),
4681
- u.map((le, be) => /* @__PURE__ */ e.createElement(
4681
+ u.map((ce, be) => /* @__PURE__ */ e.createElement(
4682
4682
  h4,
4683
4683
  {
4684
- key: le.dataKey,
4685
- dataKey: le.dataKey,
4684
+ key: ce.dataKey,
4685
+ dataKey: ce.dataKey,
4686
4686
  fill: L2(
4687
4687
  be,
4688
4688
  B,
4689
- le.color,
4690
- w2(n, le.paletteIndex)
4689
+ ce.color,
4690
+ w2(n, ce.paletteIndex)
4691
4691
  ),
4692
- name: le.label,
4692
+ name: ce.label,
4693
4693
  onMouseEnter: _ ? void 0 : (ue) => {
4694
4694
  const _e = ue;
4695
4695
  y && _e && ne({
4696
4696
  color: L2(
4697
4697
  be,
4698
4698
  B,
4699
- le.color,
4700
- w2(n, le.paletteIndex)
4699
+ ce.color,
4700
+ w2(n, ce.paletteIndex)
4701
4701
  ),
4702
4702
  label: String(_e.label ?? ""),
4703
- name: le.label,
4704
- value: Number(_e[le.dataKey] ?? 0)
4703
+ name: ce.label,
4704
+ value: Number(_e[ce.dataKey] ?? 0)
4705
4705
  });
4706
4706
  },
4707
4707
  onMouseLeave: _ ? void 0 : () => ne(null),
@@ -4719,7 +4719,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4719
4719
  role: "tooltip",
4720
4720
  style: {
4721
4721
  ...oe,
4722
- ...fe,
4722
+ ...Ce,
4723
4723
  pointerEvents: "none",
4724
4724
  zIndex: "var(--pds-z-index-notifications)"
4725
4725
  }
@@ -4772,10 +4772,10 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4772
4772
  legendVariant: i = "inline",
4773
4773
  lineStyle: m = "smooth",
4774
4774
  onTimePeriodChange: h,
4775
- referenceLines: f,
4775
+ referenceLines: C,
4776
4776
  selectedTimePeriod: u,
4777
4777
  series: p = [],
4778
- showAccessibleTable: C,
4778
+ showAccessibleTable: f,
4779
4779
  showAxisLines: b,
4780
4780
  showDataPoints: v,
4781
4781
  showGrid: E,
@@ -4795,12 +4795,12 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4795
4795
  accessibleTableDescription: O = "Line chart data",
4796
4796
  emptyStateHeading: S = "No data available",
4797
4797
  emptyStateMessage: Y,
4798
- legendTableHeader: q,
4798
+ legendTableHeader: j,
4799
4799
  loadingLabel: Z = "Loading chart data"
4800
4800
  } = d, B = de(null), I = W1(
4801
4801
  n,
4802
4802
  Y1(B, n)
4803
- ), V = l ?? (r ? 60 : 360), x = t ?? (r ? 60 : void 0), G = E ?? !r, W = b ?? !r, y = g ?? !r, X = _ ?? !r, K = v ?? !r, ne = C ?? !0, U = "pds-line-chart";
4803
+ ), V = l ?? (r ? 60 : 360), x = t ?? (r ? 60 : void 0), G = E ?? !r, W = b ?? !r, y = g ?? !r, X = _ ?? !r, K = v ?? !r, ne = f ?? !0, U = "pds-line-chart";
4804
4804
  return o ? /* @__PURE__ */ e.createElement(
4805
4805
  "div",
4806
4806
  {
@@ -4977,7 +4977,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
4977
4977
  type: m === "straight" ? "linear" : "monotone"
4978
4978
  }
4979
4979
  )),
4980
- !r && f?.map((A, ee) => {
4980
+ !r && C?.map((A, ee) => {
4981
4981
  const oe = A.color ?? "var(--pds-color-fg-default-secondary)";
4982
4982
  return /* @__PURE__ */ e.createElement(
4983
4983
  n1,
@@ -5044,7 +5044,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
5044
5044
  data: s,
5045
5045
  series: p,
5046
5046
  seriesColors: I,
5047
- tableHeader: q,
5047
+ tableHeader: j,
5048
5048
  valueFormatter: M,
5049
5049
  variant: i
5050
5050
  }
@@ -5091,22 +5091,22 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
5091
5091
  ...d
5092
5092
  },
5093
5093
  t && /* @__PURE__ */ e.createElement("div", { className: `${i}__intro` }, t),
5094
- l && /* @__PURE__ */ e.createElement("ul", { className: `${i}__list` }, l.map((f, u) => /* @__PURE__ */ e.createElement(
5094
+ l && /* @__PURE__ */ e.createElement("ul", { className: `${i}__list` }, l.map((C, u) => /* @__PURE__ */ e.createElement(
5095
5095
  "li",
5096
5096
  {
5097
5097
  key: u,
5098
- className: `${i}__list-item ${i}__list-item--${f.type}`
5098
+ className: `${i}__list-item ${i}__list-item--${C.type}`
5099
5099
  },
5100
5100
  /* @__PURE__ */ e.createElement("div", { className: `${i}__item-icon-wrapper` }, /* @__PURE__ */ e.createElement(
5101
5101
  F,
5102
5102
  {
5103
5103
  className: `${i}__item-icon`,
5104
- iconName: mt[f.type],
5104
+ iconName: mt[C.type],
5105
5105
  size: o
5106
5106
  }
5107
5107
  )),
5108
- n && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, r[f.type], ":", " "),
5109
- f.text
5108
+ n && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, r[C.type], ":", " "),
5109
+ C.text
5110
5110
  ))),
5111
5111
  c && /* @__PURE__ */ e.createElement("div", { className: `${i}__more-link` }, c)
5112
5112
  );
@@ -5124,9 +5124,9 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
5124
5124
  size: i = "m",
5125
5125
  title: m,
5126
5126
  width: h,
5127
- ...f
5127
+ ...C
5128
5128
  }) => {
5129
- const u = "pds-drawer", p = h ? null : `${u}--${i}`, C = `${u}--${r}`, b = h ? { width: h } : void 0, [v, E] = j(o), [g, _] = j(!1), N = de(null), { closeOverlay: z, openOverlay: w } = M2();
5129
+ const u = "pds-drawer", p = h ? null : `${u}--${i}`, f = `${u}--${r}`, b = h ? { width: h } : void 0, [v, E] = q(o), [g, _] = q(!1), N = de(null), { closeOverlay: z, openOverlay: w } = M2();
5130
5130
  ae(() => {
5131
5131
  o ? E(!0) : _(!1);
5132
5132
  }, [o]), ae(() => {
@@ -5187,14 +5187,14 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
5187
5187
  className: $([
5188
5188
  u,
5189
5189
  p,
5190
- C,
5190
+ f,
5191
5191
  g ? `${u}--open` : null,
5192
5192
  t
5193
5193
  ]),
5194
5194
  onTransitionEnd: P,
5195
5195
  role: "dialog",
5196
5196
  style: b,
5197
- ...f
5197
+ ...C
5198
5198
  },
5199
5199
  /* @__PURE__ */ e.createElement("div", { className: `${u}__header` }, m && /* @__PURE__ */ e.createElement("div", { className: `${u}__title` }, m), s && /* @__PURE__ */ e.createElement(
5200
5200
  h2,
@@ -5289,7 +5289,7 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
5289
5289
  trailingIcon: i,
5290
5290
  ...m
5291
5291
  }) => {
5292
- const { activeIndex: h, getItemProps: f, listRef: u } = s1(), p = "pds-dropdown", C = h === s, b = C ? `${p}__item--focused` : null, v = o ? `${p}__item--active` : null, E = r ? `${p}__item--critical` : null, g = c ? `${p}__item--disabled` : null;
5292
+ const { activeIndex: h, getItemProps: C, listRef: u } = s1(), p = "pds-dropdown", f = h === s, b = f ? `${p}__item--focused` : null, v = o ? `${p}__item--active` : null, E = r ? `${p}__item--critical` : null, g = c ? `${p}__item--disabled` : null;
5293
5293
  return /* @__PURE__ */ e.createElement(
5294
5294
  "li",
5295
5295
  {
@@ -5306,8 +5306,8 @@ const z4 = 768, N4 = 1280, M4 = 1440, k4 = "7rem", x4 = "10rem", D4 = "8rem", S1
5306
5306
  l ?? ""
5307
5307
  ]),
5308
5308
  role: "menuitem",
5309
- tabIndex: C ? 0 : -1,
5310
- ...f({
5309
+ tabIndex: f ? 0 : -1,
5310
+ ...C({
5311
5311
  onClick: c ? void 0 : d
5312
5312
  }),
5313
5313
  ...m
@@ -5438,9 +5438,9 @@ const bt = ({
5438
5438
  maxWidth: i = "1200px",
5439
5439
  message: m,
5440
5440
  video: h,
5441
- ...f
5441
+ ...C
5442
5442
  }) => {
5443
- const u = "pds-horizontal-empty-state", p = `${u}--${a}`, C = d ? `${u}--panel` : null, b = h ? `${u}--video` : null, v = {
5443
+ const u = "pds-horizontal-empty-state", p = `${u}--${a}`, f = d ? `${u}--panel` : null, b = h ? `${u}--video` : null, v = {
5444
5444
  marginInlineStart: o,
5445
5445
  width: r
5446
5446
  };
@@ -5450,12 +5450,12 @@ const bt = ({
5450
5450
  className: $([
5451
5451
  u,
5452
5452
  p,
5453
- C,
5453
+ f,
5454
5454
  b,
5455
5455
  l ?? ""
5456
5456
  ]),
5457
5457
  style: { maxWidth: i },
5458
- ...f
5458
+ ...C
5459
5459
  },
5460
5460
  /* @__PURE__ */ e.createElement("div", { className: `${u}__content` }, /* @__PURE__ */ e.createElement(
5461
5461
  c2,
@@ -5519,7 +5519,7 @@ const bt = ({
5519
5519
  ...s
5520
5520
  },
5521
5521
  /* @__PURE__ */ e.createElement("div", { className: `${o}__total-changes` }, /* @__PURE__ */ e.createElement(
5522
- we,
5522
+ Le,
5523
5523
  {
5524
5524
  className: `${o}__tooltip`,
5525
5525
  content: `${r} ${n.linesChanged}`,
@@ -5534,7 +5534,7 @@ const bt = ({
5534
5534
  style: { width: `${d}%` }
5535
5535
  },
5536
5536
  /* @__PURE__ */ e.createElement(
5537
- we,
5537
+ Le,
5538
5538
  {
5539
5539
  className: `${o}__tooltip`,
5540
5540
  content: `${c} ${n.deletions}`,
@@ -5549,7 +5549,7 @@ const bt = ({
5549
5549
  style: { width: `${i}%` }
5550
5550
  },
5551
5551
  /* @__PURE__ */ e.createElement(
5552
- we,
5552
+ Le,
5553
5553
  {
5554
5554
  className: `${o}__tooltip`,
5555
5555
  content: `${a} ${n.additions}`,
@@ -5913,9 +5913,9 @@ const bt = ({
5913
5913
  const r = "pds-identity-block", d = t ? `${r}--collapsed` : null, i = c ? `${r}--single-line` : null, m = a ? {
5914
5914
  ...a,
5915
5915
  size: c ? "s" : "m"
5916
- } : void 0, h = s && !c, f = de(null), u = de(null), [p, C] = j(!1), [b, v] = j(!1), E = ye(() => {
5917
- f.current && C(
5918
- f.current.scrollWidth > f.current.clientWidth
5916
+ } : void 0, h = s && !c, C = de(null), u = de(null), [p, f] = q(!1), [b, v] = q(!1), E = ye(() => {
5917
+ C.current && f(
5918
+ C.current.scrollWidth > C.current.clientWidth
5919
5919
  ), u.current && v(
5920
5920
  u.current.scrollWidth > u.current.clientWidth
5921
5921
  );
@@ -5942,7 +5942,7 @@ const bt = ({
5942
5942
  ...o
5943
5943
  },
5944
5944
  _ && (t && g ? /* @__PURE__ */ e.createElement(
5945
- we,
5945
+ Le,
5946
5946
  {
5947
5947
  content: g,
5948
5948
  customTrigger: _,
@@ -5952,7 +5952,7 @@ const bt = ({
5952
5952
  (n || h) && /* @__PURE__ */ e.createElement("div", { className: `${r}__text` }, /* @__PURE__ */ e.createElement(
5953
5953
  "span",
5954
5954
  {
5955
- ref: f,
5955
+ ref: C,
5956
5956
  className: `${r}__primary-text`,
5957
5957
  title: p ? n : void 0
5958
5958
  },
@@ -5981,10 +5981,10 @@ const bt = ({
5981
5981
  message: i,
5982
5982
  name: m,
5983
5983
  nestingLevel: h = 0,
5984
- onBlur: f,
5984
+ onBlur: C,
5985
5985
  onChange: u,
5986
5986
  onFocus: p,
5987
- required: C,
5987
+ required: f,
5988
5988
  showLabel: b = !0,
5989
5989
  size: v = "s",
5990
5990
  validationMessage: E,
@@ -5992,8 +5992,8 @@ const bt = ({
5992
5992
  value: _,
5993
5993
  ...N
5994
5994
  }, z) => {
5995
- const w = r ? { width: `${r / 16}rem` } : null, k = "pds-checkbox", P = c ? te.disabled : null, M = g === "error" ? te.error : null, L = h > 0 ? `${k}--indent-${h}` : null, D = C && !c ? te.required : null, H = v !== "s" ? `${k}--${v}` : null, O = g === "success" ? te.success : null, S = E || i, Y = typeof a < "u", q = typeof t < "u", [Z, B] = j(
5996
- q ? t : !1
5995
+ const w = r ? { width: `${r / 16}rem` } : null, k = "pds-checkbox", P = c ? te.disabled : null, M = g === "error" ? te.error : null, L = h > 0 ? `${k}--indent-${h}` : null, D = f && !c ? te.required : null, H = v !== "s" ? `${k}--${v}` : null, O = g === "success" ? te.success : null, S = E || i, Y = typeof a < "u", j = typeof t < "u", [Z, B] = q(
5996
+ j ? t : !1
5997
5997
  ), I = a || Z, V = (X) => {
5998
5998
  Y || B(X.target.checked), u && u(X);
5999
5999
  }, x = `${k}__box`, G = s ? null : I ? `${x}--checked` : null, W = s ? `${x}--indeterminate` : null, y = ye(() => {
@@ -6055,10 +6055,10 @@ const bt = ({
6055
6055
  "aria-describedby": S ? `${n}__message` : null,
6056
6056
  "aria-invalid": g === "error" ? !0 : null,
6057
6057
  disabled: c,
6058
- onBlur: f,
6058
+ onBlur: C,
6059
6059
  onChange: V,
6060
6060
  onFocus: p,
6061
- required: C,
6061
+ required: f,
6062
6062
  ...o
6063
6063
  }
6064
6064
  ), /* @__PURE__ */ e.createElement("label", { className: `${k}__label`, htmlFor: n }, /* @__PURE__ */ e.createElement(
@@ -6081,7 +6081,7 @@ const bt = ({
6081
6081
  },
6082
6082
  d,
6083
6083
  " ",
6084
- C && !c && /* @__PURE__ */ e.createElement(O1, null)
6084
+ f && !c && /* @__PURE__ */ e.createElement(O1, null)
6085
6085
  ))),
6086
6086
  S && /* @__PURE__ */ e.createElement(
6087
6087
  De,
@@ -6108,15 +6108,15 @@ const bt = ({
6108
6108
  showLabel: i = !0,
6109
6109
  tooltipText: m = null,
6110
6110
  validationMessage: h,
6111
- validationStatus: f,
6111
+ validationStatus: C,
6112
6112
  ...u
6113
6113
  }) => {
6114
- const p = s ? { width: `${s / 16}rem` } : null, C = "pds-checkbox-group", b = t ? te.disabled : null, v = d && !t ? te.required : null, E = f === "error" ? te.error : null, g = f === "success" ? te.success : null, _ = h || r;
6114
+ const p = s ? { width: `${s / 16}rem` } : null, f = "pds-checkbox-group", b = t ? te.disabled : null, v = d && !t ? te.required : null, E = C === "error" ? te.error : null, g = C === "success" ? te.success : null, _ = h || r;
6115
6115
  return /* @__PURE__ */ e.createElement(
6116
6116
  "div",
6117
6117
  {
6118
6118
  className: $([
6119
- C,
6119
+ f,
6120
6120
  b,
6121
6121
  v,
6122
6122
  E,
@@ -6126,7 +6126,7 @@ const bt = ({
6126
6126
  style: s ? p : null,
6127
6127
  ...u
6128
6128
  },
6129
- /* @__PURE__ */ e.createElement("fieldset", { className: `${C}__fieldset`, id: n, ...c }, /* @__PURE__ */ e.createElement(
6129
+ /* @__PURE__ */ e.createElement("fieldset", { className: `${f}__fieldset`, id: n, ...c }, /* @__PURE__ */ e.createElement(
6130
6130
  He,
6131
6131
  {
6132
6132
  isLegend: !0,
@@ -6137,7 +6137,7 @@ const bt = ({
6137
6137
  showLabel: i,
6138
6138
  tooltipText: m
6139
6139
  }
6140
- ), /* @__PURE__ */ e.createElement("div", { className: `${C}__options` }, a)),
6140
+ ), /* @__PURE__ */ e.createElement("div", { className: `${f}__options` }, a)),
6141
6141
  _ && /* @__PURE__ */ e.createElement(
6142
6142
  De,
6143
6143
  {
@@ -6145,7 +6145,7 @@ const bt = ({
6145
6145
  hasValidationMessage: !!h,
6146
6146
  id: n,
6147
6147
  message: _,
6148
- validationStatus: f
6148
+ validationStatus: C
6149
6149
  }
6150
6150
  )
6151
6151
  );
@@ -6162,10 +6162,10 @@ const bt = ({
6162
6162
  options: i,
6163
6163
  required: m = !1,
6164
6164
  showLabel: h = !0,
6165
- tooltipText: f = null,
6165
+ tooltipText: C = null,
6166
6166
  validationMessage: u,
6167
6167
  validationStatus: p,
6168
- ...C
6168
+ ...f
6169
6169
  }) => {
6170
6170
  const b = n ? { width: `${n / 16}rem` } : null, v = "pds-checkbox-group", E = l ? te.disabled : null, g = m && !l ? te.required : null, _ = p === "error" ? te.error : null, N = p === "success" ? te.success : null, z = u || o;
6171
6171
  i.map((D) => {
@@ -6175,7 +6175,7 @@ const bt = ({
6175
6175
  i.map((D) => {
6176
6176
  D.checked === !0 && w.push(D.value);
6177
6177
  });
6178
- const [k, P] = j(w), M = (D) => {
6178
+ const [k, P] = q(w), M = (D) => {
6179
6179
  const { value: H } = D.target, O = k.includes(H) ? k.filter((S) => S !== H) : [...k, H];
6180
6180
  P(O), d && d(O);
6181
6181
  };
@@ -6199,7 +6199,7 @@ const bt = ({
6199
6199
  a ?? ""
6200
6200
  ]),
6201
6201
  style: n ? b : null,
6202
- ...C
6202
+ ...f
6203
6203
  },
6204
6204
  /* @__PURE__ */ e.createElement("fieldset", { className: `${v}__fieldset`, id: c, ...t }, /* @__PURE__ */ e.createElement(
6205
6205
  He,
@@ -6210,7 +6210,7 @@ const bt = ({
6210
6210
  label: s,
6211
6211
  required: m,
6212
6212
  showLabel: h,
6213
- tooltipText: f
6213
+ tooltipText: C
6214
6214
  }
6215
6215
  ), /* @__PURE__ */ e.createElement("div", { className: `${v}__options` }, i.map((D) => /* @__PURE__ */ e.createElement(
6216
6216
  G2,
@@ -6257,10 +6257,10 @@ const bt = ({
6257
6257
  searchShortcut: "Press / to focus the search field",
6258
6258
  triggerButton: "Toggle dropdown menu"
6259
6259
  },
6260
- loadingText: f = "Loading results...",
6260
+ loadingText: C = "Loading results...",
6261
6261
  message: u,
6262
6262
  noResultsText: p = "No results found",
6263
- onBlur: C,
6263
+ onBlur: f,
6264
6264
  onChange: b,
6265
6265
  onClear: v,
6266
6266
  onFocus: E,
@@ -6277,23 +6277,23 @@ const bt = ({
6277
6277
  value: H,
6278
6278
  ...O
6279
6279
  }, S) => {
6280
- const Y = Be(d), q = "pds-combobox", Z = P !== "s" ? `${q}--${P}` : null, B = t ? te.disabled : null, I = z && !t ? te.required : null, V = D === "error" ? te.error : null, x = D === "success" ? te.success : null;
6280
+ const Y = Be(d), j = "pds-combobox", Z = P !== "s" ? `${j}--${P}` : null, B = t ? te.disabled : null, I = z && !t ? te.required : null, V = D === "error" ? te.error : null, x = D === "success" ? te.success : null;
6281
6281
  let G = null;
6282
6282
  s && (G = "search"), D === "error" && (G = "error"), D === "success" && (G = "success");
6283
6283
  const W = L || u, y = typeof H < "u", X = typeof l < "u", K = (re) => {
6284
- const Ee = _.find((Pe) => Pe.value === re);
6285
- return Ee ? Ee.label : "";
6286
- }, [ne, U] = j(X ? l : void 0), [A, ee] = j(
6284
+ const $e = _.find((Pe) => Pe.value === re);
6285
+ return $e ? $e.label : "";
6286
+ }, [ne, U] = q(X ? l : void 0), [A, ee] = q(
6287
6287
  y ? H ?? "" : X ? K(l) : ""
6288
6288
  );
6289
6289
  ae(() => {
6290
6290
  y && ee(H ?? "");
6291
6291
  }, [y, H]);
6292
6292
  const oe = de(null), Q = (re) => re.map(
6293
- ({ label: Ee, optionDisplay: Pe, searchIndex: D2, value: Xe, ...c4 }) => {
6294
- const n4 = Xe || Ee, c1 = [Ee, Xe];
6293
+ ({ label: $e, optionDisplay: Pe, searchIndex: D2, value: Xe, ...c4 }) => {
6294
+ const n4 = Xe || $e, c1 = [$e, Xe];
6295
6295
  return D2 && c1.push(...D2), {
6296
- label: Ee,
6296
+ label: $e,
6297
6297
  value: n4,
6298
6298
  searchIndex: c1,
6299
6299
  optionDisplay: Pe,
@@ -6303,12 +6303,12 @@ const bt = ({
6303
6303
  ), me = Me(() => {
6304
6304
  const re = Q(_);
6305
6305
  if (!A && !k) return [];
6306
- const Ee = (A ?? "").toLowerCase();
6307
- return re.filter((Pe) => (Pe.searchIndex?.map((Xe) => Xe.toLowerCase()) ?? []).some((Xe) => Xe.includes(Ee)));
6306
+ const $e = (A ?? "").toLowerCase();
6307
+ return re.filter((Pe) => (Pe.searchIndex?.map((Xe) => Xe.toLowerCase()) ?? []).some((Xe) => Xe.includes($e)));
6308
6308
  }, [_, A, k, i]), {
6309
6309
  getInputProps: pe,
6310
- getItemProps: fe,
6311
- getMenuProps: Ce,
6310
+ getItemProps: Ce,
6311
+ getMenuProps: ve,
6312
6312
  highlightedIndex: ge,
6313
6313
  isOpen: se,
6314
6314
  openMenu: ie,
@@ -6323,8 +6323,8 @@ const bt = ({
6323
6323
  onSelectedItemChange: ({ selectedItem: re }) => {
6324
6324
  re && (y || ee(re.label), U(re.value), g?.(re));
6325
6325
  },
6326
- stateReducer: (re, { changes: Ee, type: Pe }) => Pe === ze.stateChangeTypes.InputBlur ? { ...Ee, inputValue: re.inputValue } : Ee.isOpen && !re.inputValue && !k && Pe === ze.stateChangeTypes.InputClick ? { ...Ee, isOpen: !1 } : Ee
6327
- }), { context: Se, floatingStyles: le, refs: be } = ke({
6326
+ stateReducer: (re, { changes: $e, type: Pe }) => Pe === ze.stateChangeTypes.InputBlur ? { ...$e, inputValue: re.inputValue } : $e.isOpen && !re.inputValue && !k && Pe === ze.stateChangeTypes.InputClick ? { ...$e, isOpen: !1 } : $e
6327
+ }), { context: Se, floatingStyles: ce, refs: be } = ke({
6328
6328
  open: se,
6329
6329
  whileElementsMounted: Ie,
6330
6330
  placement: "bottom-start",
@@ -6332,8 +6332,8 @@ const bt = ({
6332
6332
  middleware: [
6333
6333
  xe(({ placement: re }) => re.startsWith("top") ? 16 : 0),
6334
6334
  v2({
6335
- apply({ availableHeight: re, elements: Ee, rects: Pe }) {
6336
- Object.assign(Ee.floating.style, {
6335
+ apply({ availableHeight: re, elements: $e, rects: Pe }) {
6336
+ Object.assign($e.floating.style, {
6337
6337
  minHeight: "var(--pds-spacing-3xl)",
6338
6338
  maxHeight: `${re}px`,
6339
6339
  width: `${Pe.reference.width}px`
@@ -6351,34 +6351,34 @@ const bt = ({
6351
6351
  open: { opacity: 1 },
6352
6352
  close: { opacity: 0 }
6353
6353
  }
6354
- ), R = ye(
6354
+ ), T = ye(
6355
6355
  (re) => {
6356
6356
  be.setReference(re), typeof S == "function" ? S(re) : S && "current" in S && (S.current = re);
6357
6357
  },
6358
6358
  [S, be]
6359
6359
  ), J = () => {
6360
6360
  se ? he() : ie();
6361
- }, ve = () => {
6361
+ }, fe = () => {
6362
6362
  y || ee(""), U(void 0), he(), oe.current?.focus(), k && ie(), v?.();
6363
- }, T = (re) => {
6364
- C?.(ne);
6365
- }, ce = (re) => {
6363
+ }, R = (re) => {
6364
+ f?.(ne);
6365
+ }, le = (re) => {
6366
6366
  k && ie(), E?.(ne);
6367
- }, Le = () => me.map((re, Ee) => /* @__PURE__ */ e.createElement(
6367
+ }, Ee = () => me.map((re, $e) => /* @__PURE__ */ e.createElement(
6368
6368
  $2,
6369
6369
  {
6370
6370
  key: re.value,
6371
- className: ge === Ee ? "pds-dropdown__item--focused" : "",
6372
- ...fe({ item: re, index: Ee })
6371
+ className: ge === $e ? "pds-dropdown__item--focused" : "",
6372
+ ...Ce({ item: re, index: $e })
6373
6373
  },
6374
- /* @__PURE__ */ e.createElement("span", { className: `${q}__option-label` }, re.optionDisplay || re.label)
6374
+ /* @__PURE__ */ e.createElement("span", { className: `${j}__option-label` }, re.optionDisplay || re.label)
6375
6375
  ));
6376
6376
  return /* @__PURE__ */ e.createElement(
6377
6377
  "div",
6378
6378
  {
6379
6379
  className: $([
6380
6380
  te.base,
6381
- q,
6381
+ j,
6382
6382
  Z,
6383
6383
  B,
6384
6384
  I,
@@ -6403,12 +6403,12 @@ const bt = ({
6403
6403
  /* @__PURE__ */ e.createElement(
6404
6404
  "span",
6405
6405
  {
6406
- ref: R,
6406
+ ref: T,
6407
6407
  "aria-describedby": W ? `${r}__message` : null,
6408
6408
  "aria-disabled": t ? !0 : null,
6409
6409
  "aria-invalid": D === "error" ? !0 : null,
6410
6410
  "aria-required": z ? !0 : null,
6411
- className: `${q}__input-wrapper`,
6411
+ className: `${j}__input-wrapper`,
6412
6412
  id: r
6413
6413
  },
6414
6414
  G && /* @__PURE__ */ e.createElement(We, { variant: G }),
@@ -6417,17 +6417,17 @@ const bt = ({
6417
6417
  {
6418
6418
  ref: oe,
6419
6419
  autoComplete: "off",
6420
- className: `${q}__input`,
6420
+ className: `${j}__input`,
6421
6421
  id: `input-${r}`,
6422
6422
  ...pe({
6423
6423
  "aria-label": h.inputInstructions,
6424
6424
  disabled: t,
6425
6425
  placeholder: N,
6426
- onBlur: T,
6426
+ onBlur: R,
6427
6427
  onChange: (re) => {
6428
6428
  b?.(re);
6429
6429
  },
6430
- onFocus: ce
6430
+ onFocus: le
6431
6431
  })
6432
6432
  }
6433
6433
  ),
@@ -6435,7 +6435,7 @@ const bt = ({
6435
6435
  t1,
6436
6436
  {
6437
6437
  clearLabel: h.clearButton,
6438
- handleClearInput: ve,
6438
+ handleClearInput: fe,
6439
6439
  id: `input-${r}`
6440
6440
  }
6441
6441
  ),
@@ -6451,7 +6451,7 @@ const bt = ({
6451
6451
  {
6452
6452
  "aria-expanded": se,
6453
6453
  "aria-label": h.triggerButton,
6454
- className: `${q}__trigger`,
6454
+ className: `${j}__trigger`,
6455
6455
  disabled: t,
6456
6456
  onClick: J,
6457
6457
  type: "button"
@@ -6459,7 +6459,7 @@ const bt = ({
6459
6459
  /* @__PURE__ */ e.createElement(
6460
6460
  F,
6461
6461
  {
6462
- className: `${q}__trigger-icon`,
6462
+ className: `${j}__trigger-icon`,
6463
6463
  iconName: "angleDown",
6464
6464
  size: "m"
6465
6465
  }
@@ -6470,14 +6470,14 @@ const bt = ({
6470
6470
  "div",
6471
6471
  {
6472
6472
  ref: be.setFloating,
6473
- className: `pds-dropdown__panel ${q}__dropdown`,
6473
+ className: `pds-dropdown__panel ${j}__dropdown`,
6474
6474
  style: {
6475
- ...le,
6475
+ ...ce,
6476
6476
  ..._e,
6477
6477
  zIndex: "var(--pds-z-index-dropdown)"
6478
6478
  }
6479
6479
  },
6480
- i ? /* @__PURE__ */ e.createElement("div", { className: `${q}__loading` }, f) : me.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${q}__options`, ...Ce() }, Le()) : /* @__PURE__ */ e.createElement("div", { className: "pds-dropdown__no-results" }, p)
6480
+ i ? /* @__PURE__ */ e.createElement("div", { className: `${j}__loading` }, C) : me.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${j}__options`, ...ve() }, Ee()) : /* @__PURE__ */ e.createElement("div", { className: "pds-dropdown__no-results" }, p)
6481
6481
  ),
6482
6482
  W && /* @__PURE__ */ e.createElement(
6483
6483
  De,
@@ -6521,39 +6521,39 @@ const bt = ({
6521
6521
  loadingText: i = "Loading results...",
6522
6522
  noResultsText: m = "No results found",
6523
6523
  onChange: h,
6524
- options: f,
6524
+ options: C,
6525
6525
  placeholder: u = "Filter",
6526
6526
  required: p = !1,
6527
- showAllTags: C = !1,
6527
+ showAllTags: f = !1,
6528
6528
  showLabel: b = !0,
6529
6529
  size: v = "s",
6530
6530
  ...E
6531
6531
  }) => {
6532
- const g = Be(s), _ = "pds-combobox-multi", N = v !== "s" ? `${_}--${v}` : null, z = t ? te.disabled : null, w = p && !t ? te.required : null, k = C ? `${_}--show-all-tags` : null, [P, M] = j(""), [L, D] = j(n), [H, O] = j(
6532
+ const g = Be(s), _ = "pds-combobox-multi", N = v !== "s" ? `${_}--${v}` : null, z = t ? te.disabled : null, w = p && !t ? te.required : null, k = f ? `${_}--show-all-tags` : null, [P, M] = q(""), [L, D] = q(n), [H, O] = q(
6533
6533
  null
6534
- ), [S, Y] = j(!1), q = Me(
6535
- () => wt(f, L, P),
6536
- [f, L, P]
6534
+ ), [S, Y] = q(!1), j = Me(
6535
+ () => wt(C, L, P),
6536
+ [C, L, P]
6537
6537
  ), Z = Me(
6538
- () => a?.items?.map((T) => ({
6539
- ...T,
6538
+ () => a?.items?.map((R) => ({
6539
+ ...R,
6540
6540
  isAlreadySelected: L.some(
6541
- (ce) => ce.id === T.id
6541
+ (le) => le.id === R.id
6542
6542
  )
6543
6543
  })) || [],
6544
6544
  [a?.items, L]
6545
- ), B = (T) => {
6546
- D(T), h?.(T);
6545
+ ), B = (R) => {
6546
+ D(R), h?.(R);
6547
6547
  }, { getDropdownProps: I, getSelectedItemProps: V, removeSelectedItem: x } = r2({
6548
6548
  selectedItems: L,
6549
- onStateChange: ({ selectedItems: T, type: ce }) => {
6549
+ onStateChange: ({ selectedItems: R, type: le }) => {
6550
6550
  if (!t)
6551
- switch (ce) {
6551
+ switch (le) {
6552
6552
  case r2.stateChangeTypes.SelectedItemKeyDownBackspace:
6553
6553
  case r2.stateChangeTypes.SelectedItemKeyDownDelete:
6554
6554
  case r2.stateChangeTypes.DropdownKeyDownBackspace:
6555
6555
  case r2.stateChangeTypes.FunctionRemoveSelectedItem:
6556
- B(T || []);
6556
+ B(R || []);
6557
6557
  break;
6558
6558
  }
6559
6559
  }
@@ -6568,29 +6568,29 @@ const bt = ({
6568
6568
  openMenu: A,
6569
6569
  selectedItem: ee
6570
6570
  } = ze({
6571
- items: q,
6572
- itemToString: (T) => T ? T.label : "",
6571
+ items: j,
6572
+ itemToString: (R) => R ? R.label : "",
6573
6573
  selectedItem: null,
6574
6574
  inputValue: P,
6575
6575
  isOpen: t ? !1 : void 0,
6576
- stateReducer: (T, { changes: ce, type: Le }) => {
6577
- if (t) return T;
6578
- switch (Le) {
6576
+ stateReducer: (R, { changes: le, type: Ee }) => {
6577
+ if (t) return R;
6578
+ switch (Ee) {
6579
6579
  case ze.stateChangeTypes.InputKeyDownEnter:
6580
6580
  case ze.stateChangeTypes.ItemClick:
6581
6581
  return {
6582
- ...ce,
6582
+ ...le,
6583
6583
  isOpen: !0,
6584
- highlightedIndex: T.highlightedIndex
6584
+ highlightedIndex: R.highlightedIndex
6585
6585
  };
6586
6586
  default:
6587
- return ce;
6587
+ return le;
6588
6588
  }
6589
6589
  },
6590
6590
  onStateChange: ({
6591
- inputValue: T,
6592
- isOpen: ce,
6593
- selectedItem: Le,
6591
+ inputValue: R,
6592
+ isOpen: le,
6593
+ selectedItem: Ee,
6594
6594
  type: re
6595
6595
  }) => {
6596
6596
  if (!t)
@@ -6598,16 +6598,16 @@ const bt = ({
6598
6598
  case ze.stateChangeTypes.InputKeyDownEnter:
6599
6599
  case ze.stateChangeTypes.ItemClick:
6600
6600
  case ze.stateChangeTypes.InputBlur:
6601
- Le && (Le.isAlreadySelected ? B(
6602
- L.filter((Ee) => Ee.id !== Le.id)
6603
- ) : B([...L, Le]), M(""), O(null));
6601
+ Ee && (Ee.isAlreadySelected ? B(
6602
+ L.filter(($e) => $e.id !== Ee.id)
6603
+ ) : B([...L, Ee]), M(""), O(null));
6604
6604
  break;
6605
6605
  case ze.stateChangeTypes.InputChange:
6606
- M(T || ""), O(null);
6606
+ M(R || ""), O(null);
6607
6607
  break;
6608
6608
  case ze.stateChangeTypes.ToggleButtonClick:
6609
6609
  case ze.stateChangeTypes.FunctionOpenMenu:
6610
- ce && Y(!1);
6610
+ le && Y(!1);
6611
6611
  break;
6612
6612
  }
6613
6613
  }
@@ -6617,11 +6617,11 @@ const bt = ({
6617
6617
  placement: "bottom-start",
6618
6618
  strategy: "absolute",
6619
6619
  middleware: [
6620
- xe(({ placement: T }) => T.startsWith("top") ? 16 : 0),
6620
+ xe(({ placement: R }) => R.startsWith("top") ? 16 : 0),
6621
6621
  v2({
6622
- apply({ availableHeight: T, elements: ce }) {
6623
- Object.assign(ce.floating.style, {
6624
- maxHeight: `${T}px`
6622
+ apply({ availableHeight: R, elements: le }) {
6623
+ Object.assign(le.floating.style, {
6624
+ maxHeight: `${R}px`
6625
6625
  });
6626
6626
  },
6627
6627
  padding: {
@@ -6638,7 +6638,7 @@ const bt = ({
6638
6638
  }), {
6639
6639
  context: me,
6640
6640
  floatingStyles: pe,
6641
- refs: fe
6641
+ refs: Ce
6642
6642
  } = ke({
6643
6643
  open: S,
6644
6644
  onOpenChange: Y,
@@ -6646,11 +6646,11 @@ const bt = ({
6646
6646
  placement: "bottom-start",
6647
6647
  strategy: "absolute",
6648
6648
  middleware: [
6649
- xe(({ placement: T }) => T.startsWith("top") ? 16 : 4),
6649
+ xe(({ placement: R }) => R.startsWith("top") ? 16 : 4),
6650
6650
  v2({
6651
- apply({ elements: T, rects: ce }) {
6652
- Object.assign(T.floating.style, {
6653
- width: `${ce.reference.width}px`
6651
+ apply({ elements: R, rects: le }) {
6652
+ Object.assign(R.floating.style, {
6653
+ width: `${le.reference.width}px`
6654
6654
  });
6655
6655
  }
6656
6656
  }),
@@ -6658,40 +6658,40 @@ const bt = ({
6658
6658
  padding: 24
6659
6659
  })
6660
6660
  ]
6661
- }), Ce = Oe(me), { getFloatingProps: ge } = Ze([
6662
- Ce
6663
- ]), se = (T) => {
6664
- if (T.stopPropagation(), t) return;
6665
- const ce = !S;
6666
- Y(ce), ce && U && G();
6667
- }, ie = (T) => {
6668
- t || (T.isAlreadySelected ? B(
6669
- L.filter((ce) => ce.id !== T.id)
6670
- ) : B([...L, T]));
6661
+ }), ve = Oe(me), { getFloatingProps: ge } = Ze([
6662
+ ve
6663
+ ]), se = (R) => {
6664
+ if (R.stopPropagation(), t) return;
6665
+ const le = !S;
6666
+ Y(le), le && U && G();
6667
+ }, ie = (R) => {
6668
+ t || (R.isAlreadySelected ? B(
6669
+ L.filter((le) => le.id !== R.id)
6670
+ ) : B([...L, R]));
6671
6671
  }, he = () => {
6672
6672
  Y(!1), a?.onClose?.();
6673
6673
  }, Se = () => {
6674
6674
  a?.onRefresh?.();
6675
- }, le = () => {
6675
+ }, ce = () => {
6676
6676
  if (H === null)
6677
6677
  O(L.length - 1);
6678
6678
  else {
6679
- const T = [...L];
6680
- T.splice(H, 1), B(T), O(null);
6679
+ const R = [...L];
6680
+ R.splice(H, 1), B(R), O(null);
6681
6681
  }
6682
6682
  }, be = de(!1), ue = () => {
6683
6683
  t || (be.current ? G() : A());
6684
- }, _e = (T) => {
6685
- be.current = U, !t && T.currentTarget.setAttribute("data-focus-method", "mouse");
6686
- }, R = (T) => {
6687
- T.currentTarget.setAttribute("data-focus-method", "keyboard"), !t && ((T.key === "Backspace" || T.key === "Delete") && !P && L.length > 0 && (T.preventDefault(), le()), T.key === "Enter" && H !== null && (T.preventDefault(), le()), !U && (T.key === "Enter" || T.key === "ArrowDown") && (T.preventDefault(), A()));
6684
+ }, _e = (R) => {
6685
+ be.current = U, !t && R.currentTarget.setAttribute("data-focus-method", "mouse");
6686
+ }, T = (R) => {
6687
+ R.currentTarget.setAttribute("data-focus-method", "keyboard"), !t && ((R.key === "Backspace" || R.key === "Delete") && !P && L.length > 0 && (R.preventDefault(), ce()), R.key === "Enter" && H !== null && (R.preventDefault(), ce()), !U && (R.key === "Enter" || R.key === "ArrowDown") && (R.preventDefault(), A()));
6688
6688
  }, J = W({
6689
6689
  ...I({
6690
6690
  preventKeyAction: U
6691
6691
  }),
6692
6692
  disabled: t,
6693
- onKeyDown: R
6694
- }), ve = L.length === 2 ? /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-item` }, L.length - 1) : L.length === 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-item` }, L.length - 1)) : L.length > 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-item` }, L.length - 1)) : "";
6693
+ onKeyDown: T
6694
+ }), fe = L.length === 2 ? /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-item` }, L.length - 1) : L.length === 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-item` }, L.length - 1)) : L.length > 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-item` }, L.length - 1)) : "";
6695
6695
  return /* @__PURE__ */ e.createElement(
6696
6696
  "div",
6697
6697
  {
@@ -6720,38 +6720,38 @@ const bt = ({
6720
6720
  /* @__PURE__ */ e.createElement(
6721
6721
  "div",
6722
6722
  {
6723
- ref: (T) => {
6724
- Q.setReference(T), fe.setReference(T);
6723
+ ref: (R) => {
6724
+ Q.setReference(R), Ce.setReference(R);
6725
6725
  },
6726
6726
  "aria-disabled": t ? !0 : null,
6727
6727
  "aria-required": p ? !0 : null,
6728
6728
  className: `${_}__input-wrapper`,
6729
6729
  onClick: ue,
6730
- onKeyDown: R,
6730
+ onKeyDown: T,
6731
6731
  onMouseDown: _e,
6732
6732
  tabIndex: 0
6733
6733
  },
6734
- L.length > 1 && !C && /* @__PURE__ */ e.createElement("div", { className: `${_}__counter` }, /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-wrapper` }, ve)),
6735
- L.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${_}__items-wrapper` }, L.map((T, ce) => /* @__PURE__ */ e.createElement(
6734
+ L.length > 1 && !f && /* @__PURE__ */ e.createElement("div", { className: `${_}__counter` }, /* @__PURE__ */ e.createElement("span", { className: `${_}__counter-wrapper` }, fe)),
6735
+ L.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${_}__items-wrapper` }, L.map((R, le) => /* @__PURE__ */ e.createElement(
6736
6736
  "span",
6737
6737
  {
6738
- key: `selected-item-${ce}`,
6738
+ key: `selected-item-${le}`,
6739
6739
  className: `
6740
6740
  ${_}__selected-item
6741
- ${ce === H ? `${_}__selected-item--marked-for-deletion` : ""}
6741
+ ${le === H ? `${_}__selected-item--marked-for-deletion` : ""}
6742
6742
  `,
6743
6743
  ...V({
6744
- selectedItem: T,
6745
- index: ce
6744
+ selectedItem: R,
6745
+ index: le
6746
6746
  })
6747
6747
  },
6748
- /* @__PURE__ */ e.createElement("span", { className: `${_}__selected-item-text` }, T.label),
6748
+ /* @__PURE__ */ e.createElement("span", { className: `${_}__selected-item-text` }, R.label),
6749
6749
  /* @__PURE__ */ e.createElement(
6750
6750
  "span",
6751
6751
  {
6752
6752
  className: `${_}__selected-item-remove`,
6753
- onClick: (Le) => {
6754
- Le.stopPropagation(), x(T);
6753
+ onClick: (Ee) => {
6754
+ Ee.stopPropagation(), x(R);
6755
6755
  }
6756
6756
  },
6757
6757
  /* @__PURE__ */ e.createElement(F, { iconName: "xmark", size: "xs" })
@@ -6785,7 +6785,7 @@ const bt = ({
6785
6785
  disabled: t,
6786
6786
  type: "button",
6787
6787
  ...K({
6788
- onClick: (T) => T.stopPropagation()
6788
+ onClick: (R) => R.stopPropagation()
6789
6789
  })
6790
6790
  },
6791
6791
  /* @__PURE__ */ e.createElement(
@@ -6816,28 +6816,28 @@ const bt = ({
6816
6816
  className: `${_}__dropdown-input`,
6817
6817
  placeholder: u,
6818
6818
  ...J,
6819
- onClick: (T) => {
6820
- T.stopPropagation();
6819
+ onClick: (R) => {
6820
+ R.stopPropagation();
6821
6821
  }
6822
6822
  }
6823
6823
  )),
6824
- o ? /* @__PURE__ */ e.createElement("div", { className: `${_}__loading` }, i) : q.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${_}__dropdown-list`, ...X() }, q.map((T, ce) => /* @__PURE__ */ e.createElement(
6824
+ o ? /* @__PURE__ */ e.createElement("div", { className: `${_}__loading` }, i) : j.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${_}__dropdown-list`, ...X() }, j.map((R, le) => /* @__PURE__ */ e.createElement(
6825
6825
  $2,
6826
6826
  {
6827
- key: `${T.id}-${ce}`,
6827
+ key: `${R.id}-${le}`,
6828
6828
  className: `${_}__dropdown-item
6829
- ${ne === ce ? "pds-dropdown__item--focused" : ""}
6830
- ${ee === T ? `${_}__dropdown-item--selected` : ""}
6831
- ${T.isAlreadySelected ? "pds-dropdown__item--active" : ""}`,
6832
- ...y({ item: T, index: ce })
6829
+ ${ne === le ? "pds-dropdown__item--focused" : ""}
6830
+ ${ee === R ? `${_}__dropdown-item--selected` : ""}
6831
+ ${R.isAlreadySelected ? "pds-dropdown__item--active" : ""}`,
6832
+ ...y({ item: R, index: le })
6833
6833
  },
6834
- /* @__PURE__ */ e.createElement("span", { className: `${_}__dropdown-item-label` }, /* @__PURE__ */ e.createElement("span", { className: `${_}__dropdown-item-text` }, T.label, T.badge === "ai" && /* @__PURE__ */ e.createElement("span", { className: `${_}__dropdown-item-badge` }, /* @__PURE__ */ e.createElement(F, { iconName: "sparkles", size: "s" }), /* @__PURE__ */ e.createElement("span", null, d.aiBadgeLabel))), T.isAlreadySelected && /* @__PURE__ */ e.createElement(m2, null))
6834
+ /* @__PURE__ */ e.createElement("span", { className: `${_}__dropdown-item-label` }, /* @__PURE__ */ e.createElement("span", { className: `${_}__dropdown-item-text` }, R.label, R.badge === "ai" && /* @__PURE__ */ e.createElement("span", { className: `${_}__dropdown-item-badge` }, /* @__PURE__ */ e.createElement(F, { iconName: "sparkles", size: "s" }), /* @__PURE__ */ e.createElement("span", null, d.aiBadgeLabel))), R.isAlreadySelected && /* @__PURE__ */ e.createElement(m2, null))
6835
6835
  ))) : /* @__PURE__ */ e.createElement("div", { className: "pds-dropdown__no-results" }, m)
6836
6836
  ),
6837
6837
  S && a && /* @__PURE__ */ e.createElement(
6838
6838
  "div",
6839
6839
  {
6840
- ref: fe.setFloating,
6840
+ ref: Ce.setFloating,
6841
6841
  className: `${_}__aux-panel`,
6842
6842
  style: {
6843
6843
  ...pe,
@@ -6852,18 +6852,18 @@ const bt = ({
6852
6852
  iconName: "sparkles",
6853
6853
  size: "m"
6854
6854
  }
6855
- ), /* @__PURE__ */ e.createElement("div", { className: `${_}__aux-panel-items` }, Z.map((T) => /* @__PURE__ */ e.createElement(
6855
+ ), /* @__PURE__ */ e.createElement("div", { className: `${_}__aux-panel-items` }, Z.map((R) => /* @__PURE__ */ e.createElement(
6856
6856
  "button",
6857
6857
  {
6858
- key: T.id,
6858
+ key: R.id,
6859
6859
  className: $([
6860
6860
  `${_}__aux-panel-item`,
6861
- T.isAlreadySelected ? `${_}__aux-panel-item--selected` : ""
6861
+ R.isAlreadySelected ? `${_}__aux-panel-item--selected` : ""
6862
6862
  ]),
6863
- onClick: () => ie(T),
6863
+ onClick: () => ie(R),
6864
6864
  type: "button"
6865
6865
  },
6866
- T.label
6866
+ R.label
6867
6867
  )))),
6868
6868
  /* @__PURE__ */ e.createElement("div", { className: `${_}__aux-panel-header` }, /* @__PURE__ */ e.createElement(
6869
6869
  "button",
@@ -6914,19 +6914,19 @@ const bt = ({
6914
6914
  message: i,
6915
6915
  multiple: m = !1,
6916
6916
  onClear: h,
6917
- onFileChange: f,
6917
+ onFileChange: C,
6918
6918
  required: u = !1,
6919
6919
  showFullPath: p,
6920
- showLabel: C = !0,
6920
+ showLabel: f = !0,
6921
6921
  size: b = "s",
6922
6922
  tooltipText: v = null,
6923
6923
  validationMessage: E,
6924
6924
  validationStatus: g,
6925
6925
  ..._
6926
6926
  }, N) => {
6927
- const [z, w] = j(!1), [k, P] = j(
6927
+ const [z, w] = q(!1), [k, P] = q(
6928
6928
  !!(f2 && t)
6929
- ), M = Be(r), L = "pds-file-upload", D = b !== "s" ? `${L}--${b}` : null, H = c ? te.disabled : null, O = u && !c ? te.required : null, S = g === "error" ? te.error : null, Y = g === "success" ? te.success : null, q = k ? `${L}--safari-default` : null;
6929
+ ), M = Be(r), L = "pds-file-upload", D = b !== "s" ? `${L}--${b}` : null, H = c ? te.disabled : null, O = u && !c ? te.required : null, S = g === "error" ? te.error : null, Y = g === "success" ? te.success : null, j = k ? `${L}--safari-default` : null;
6930
6930
  let Z = null;
6931
6931
  g === "error" && (Z = "error"), g === "success" && (Z = "success");
6932
6932
  const B = E || i, I = t ? [t] : null, V = t ? t.split("/").pop() : null, x = p ? t : V, G = t ? new File(I, x) : null;
@@ -6951,7 +6951,7 @@ const bt = ({
6951
6951
  t ? W() : w(!1);
6952
6952
  return;
6953
6953
  }
6954
- f2 && t && (t === K.target.value ? P(!0) : P(!1)), f && f(K.target.files), w(!0);
6954
+ f2 && t && (t === K.target.value ? P(!0) : P(!1)), C && C(K.target.files), w(!0);
6955
6955
  }, X = () => {
6956
6956
  const K = document.getElementById(
6957
6957
  `${s}--input`
@@ -6965,7 +6965,7 @@ const bt = ({
6965
6965
  te.base,
6966
6966
  L,
6967
6967
  D,
6968
- q,
6968
+ j,
6969
6969
  H,
6970
6970
  O,
6971
6971
  S,
@@ -6983,7 +6983,7 @@ const bt = ({
6983
6983
  id: s,
6984
6984
  label: n,
6985
6985
  required: u,
6986
- showLabel: C,
6986
+ showLabel: f,
6987
6987
  tooltipText: v
6988
6988
  }
6989
6989
  ),
@@ -7069,17 +7069,17 @@ const bt = ({
7069
7069
  onChange: i,
7070
7070
  onValueChange: m,
7071
7071
  options: h,
7072
- required: f = !1,
7072
+ required: C = !1,
7073
7073
  showLabel: u = !0,
7074
7074
  tooltipText: p = null,
7075
- validationMessage: C,
7075
+ validationMessage: f,
7076
7076
  validationStatus: b,
7077
7077
  value: v,
7078
7078
  ...E
7079
7079
  }) => {
7080
- const g = "pds-radio-group", _ = t ? te.disabled : null, N = f && !t ? te.required : null, z = b === "error" ? te.error : null, w = b === "success" ? te.success : null, k = typeof v < "u", P = typeof l < "u", [M, L] = j(
7080
+ const g = "pds-radio-group", _ = t ? te.disabled : null, N = C && !t ? te.required : null, z = b === "error" ? te.error : null, w = b === "success" ? te.success : null, k = typeof v < "u", P = typeof l < "u", [M, L] = q(
7081
7081
  P ? l : ""
7082
- ), D = C || r, H = (S) => {
7082
+ ), D = f || r, H = (S) => {
7083
7083
  k || L(S.target.value), i && i(S), m && m(S.target.value);
7084
7084
  }, O = (S) => {
7085
7085
  d?.(S);
@@ -7105,7 +7105,7 @@ const bt = ({
7105
7105
  disabled: t,
7106
7106
  id: n,
7107
7107
  label: o,
7108
- required: f,
7108
+ required: C,
7109
7109
  showLabel: u,
7110
7110
  tooltipText: p
7111
7111
  }
@@ -7124,7 +7124,7 @@ const bt = ({
7124
7124
  name: n,
7125
7125
  onBlur: O,
7126
7126
  onChange: H,
7127
- required: f,
7127
+ required: C,
7128
7128
  type: "radio",
7129
7129
  value: S.value
7130
7130
  }
@@ -7135,7 +7135,7 @@ const bt = ({
7135
7135
  De,
7136
7136
  {
7137
7137
  validationMessageHasDecorators: !0,
7138
- hasValidationMessage: !!C,
7138
+ hasValidationMessage: !!f,
7139
7139
  id: n,
7140
7140
  message: D,
7141
7141
  validationStatus: b
@@ -7156,10 +7156,10 @@ const bt = ({
7156
7156
  onChange: i,
7157
7157
  required: m = !1,
7158
7158
  showLabel: h = !0,
7159
- switchPlacement: f = "right",
7159
+ switchPlacement: C = "right",
7160
7160
  ...u
7161
7161
  }, p) => {
7162
- const C = Be(o), b = "pds-switch", v = `${b}--${f}`, E = d ? `${b}--message` : null, g = c ? te.disabled : null, _ = m && !c ? te.required : null, N = typeof a < "u", z = !N && t ? t : !1, [w, k] = j(z), P = (H) => {
7162
+ const f = Be(o), b = "pds-switch", v = `${b}--${C}`, E = d ? `${b}--message` : null, g = c ? te.disabled : null, _ = m && !c ? te.required : null, N = typeof a < "u", z = !N && t ? t : !1, [w, k] = q(z), P = (H) => {
7163
7163
  N || k(H.target.checked), i && i(H);
7164
7164
  }, M = () => {
7165
7165
  c || document.getElementById(n)?.click();
@@ -7209,7 +7209,7 @@ const bt = ({
7209
7209
  _,
7210
7210
  l
7211
7211
  ]),
7212
- style: o ? C : null,
7212
+ style: o ? f : null,
7213
7213
  ...u
7214
7214
  },
7215
7215
  /* @__PURE__ */ e.createElement(
@@ -7240,10 +7240,10 @@ const bt = ({
7240
7240
  onBlur: i,
7241
7241
  onChange: m,
7242
7242
  onFocus: h,
7243
- placeholder: f,
7243
+ placeholder: C,
7244
7244
  readonly: u = !1,
7245
7245
  required: p = !1,
7246
- rows: C = 5,
7246
+ rows: f = 5,
7247
7247
  showLabel: b,
7248
7248
  size: v = "s",
7249
7249
  textareaProps: E,
@@ -7261,7 +7261,7 @@ const bt = ({
7261
7261
  value: w,
7262
7262
  ...k
7263
7263
  }, P) => {
7264
- const M = Be(s), L = "pds-textarea", D = o ? "pds-is-resizable" : null, H = c ? te.disabled : null, O = p && !c ? te.required : null, S = z === "error" ? te.error : null, Y = z === "success" ? te.success : null, q = v !== "s" ? `${L}--${v}` : null, Z = u ? te.readonly : null, B = N || d, I = w != null && m !== void 0, V = typeof t < "u", [x, G] = j(
7264
+ const M = Be(s), L = "pds-textarea", D = o ? "pds-is-resizable" : null, H = c ? te.disabled : null, O = p && !c ? te.required : null, S = z === "error" ? te.error : null, Y = z === "success" ? te.success : null, j = v !== "s" ? `${L}--${v}` : null, Z = u ? te.readonly : null, B = N || d, I = w != null && m !== void 0, V = typeof t < "u", [x, G] = q(
7265
7265
  V ? t : ""
7266
7266
  ), W = w || x, y = (K) => {
7267
7267
  I || G(K.target.value), m && m(K);
@@ -7274,7 +7274,7 @@ const bt = ({
7274
7274
  className: $([
7275
7275
  te.base,
7276
7276
  L,
7277
- q,
7277
+ j,
7278
7278
  H,
7279
7279
  O,
7280
7280
  S,
@@ -7318,10 +7318,10 @@ const bt = ({
7318
7318
  onBlur: X,
7319
7319
  onChange: y,
7320
7320
  onFocus: h,
7321
- placeholder: f,
7321
+ placeholder: C,
7322
7322
  readOnly: u,
7323
7323
  required: p,
7324
- rows: C,
7324
+ rows: f,
7325
7325
  value: I ? w : x,
7326
7326
  ...E
7327
7327
  }
@@ -7352,10 +7352,10 @@ const bt = ({
7352
7352
  inputProps: i,
7353
7353
  inputWidth: m,
7354
7354
  label: h,
7355
- message: f,
7355
+ message: C,
7356
7356
  onBlur: u,
7357
7357
  onChange: p,
7358
- onClear: C,
7358
+ onClear: f,
7359
7359
  onFocus: b,
7360
7360
  placeholder: v,
7361
7361
  readonly: E = !1,
@@ -7379,13 +7379,13 @@ const bt = ({
7379
7379
  value: H,
7380
7380
  ...O
7381
7381
  }, S) => {
7382
- const Y = Be(m), q = "pds-text-input", Z = n ? te.disabled : null, B = g && !n ? te.required : null, I = D === "error" ? te.error : null, V = D === "success" ? te.success : null, x = E ? te.readonly : null, G = w !== "s" ? `${q}--${w}` : null, W = r && M === "url" ? `${q}--has-url-prefix` : null;
7382
+ const Y = Be(m), j = "pds-text-input", Z = n ? te.disabled : null, B = g && !n ? te.required : null, I = D === "error" ? te.error : null, V = D === "success" ? te.success : null, x = E ? te.readonly : null, G = w !== "s" ? `${j}--${w}` : null, W = r && M === "url" ? `${j}--has-url-prefix` : null;
7383
7383
  let y = null;
7384
7384
  M === "search" && (y = "search"), M === "search" && _ === "filter" && (y = "filter"), D === "error" && (y = "error"), D === "success" && (y = "success");
7385
- const X = L || f, K = typeof H < "u", ne = typeof c < "u", [U, A] = j(
7385
+ const X = L || C, K = typeof H < "u", ne = typeof c < "u", [U, A] = q(
7386
7386
  ne ? c : ""
7387
7387
  ), ee = H || U, oe = (se) => {
7388
- if (z && pe && fe(!1), r && M === "url") {
7388
+ if (z && pe && Ce(!1), r && M === "url") {
7389
7389
  const ie = d1(se.target.value), he = {
7390
7390
  ...se,
7391
7391
  target: {
@@ -7408,11 +7408,11 @@ const bt = ({
7408
7408
  } else
7409
7409
  K || A(se.target.value), p && p(se);
7410
7410
  }, me = () => {
7411
- K || A(""), C && C();
7411
+ K || A(""), f && f();
7412
7412
  const se = document.getElementById(d);
7413
7413
  se && se.focus();
7414
- }, [pe, fe] = j(!1), Ce = () => {
7415
- fe((ie) => !ie);
7414
+ }, [pe, Ce] = q(!1), ve = () => {
7415
+ Ce((ie) => !ie);
7416
7416
  const se = document.getElementById(d);
7417
7417
  se && se.focus();
7418
7418
  };
@@ -7422,7 +7422,7 @@ const bt = ({
7422
7422
  {
7423
7423
  className: $([
7424
7424
  te.base,
7425
- q,
7425
+ j,
7426
7426
  G,
7427
7427
  Z,
7428
7428
  B,
@@ -7450,7 +7450,7 @@ const bt = ({
7450
7450
  /* @__PURE__ */ e.createElement(
7451
7451
  "div",
7452
7452
  {
7453
- className: `${q}__input-wrapper ${r && M === "url" ? `${q}__input-wrapper--has-prefix` : ""}`
7453
+ className: `${j}__input-wrapper ${r && M === "url" ? `${j}__input-wrapper--has-prefix` : ""}`
7454
7454
  },
7455
7455
  y && /* @__PURE__ */ e.createElement(We, { variant: y }),
7456
7456
  r && M === "url" && /* @__PURE__ */ e.createElement(Lt, null),
@@ -7461,7 +7461,7 @@ const bt = ({
7461
7461
  "aria-describedby": X ? `${d}__message` : null,
7462
7462
  "aria-invalid": D === "error" ? !0 : null,
7463
7463
  autoComplete: M === "password" ? "off" : a,
7464
- className: `${q}__input ${r && M === "url" ? `${q}__input--has-prefix` : ""}`,
7464
+ className: `${j}__input ${r && M === "url" ? `${j}__input--has-prefix` : ""}`,
7465
7465
  disabled: n,
7466
7466
  id: d,
7467
7467
  name: d,
@@ -7488,8 +7488,8 @@ const bt = ({
7488
7488
  "button",
7489
7489
  {
7490
7490
  "aria-controls": d,
7491
- className: `${q}__visibility-toggle`,
7492
- onClick: Ce,
7491
+ className: `${j}__visibility-toggle`,
7492
+ onClick: ve,
7493
7493
  onMouseDown: (se) => se.preventDefault(),
7494
7494
  title: pe ? P.visibilityToggleHide : P.visibilityToggleShow,
7495
7495
  type: "button"
@@ -7585,6 +7585,19 @@ const bt = ({
7585
7585
  /* @__PURE__ */ e.createElement(F, { className: `${r}__icon`, iconName: "externalLink" })
7586
7586
  );
7587
7587
  }, V0 = ({
7588
+ className: a,
7589
+ destination: l = "main",
7590
+ text: t = "Skip to main content",
7591
+ ...c
7592
+ }) => /* @__PURE__ */ e.createElement(
7593
+ "a",
7594
+ {
7595
+ className: $(["pds-skiplink", a]),
7596
+ href: `#${l}`,
7597
+ ...c
7598
+ },
7599
+ t
7600
+ ), R0 = ({
7588
7601
  alt: a = "",
7589
7602
  className: l,
7590
7603
  height: t,
@@ -7605,7 +7618,7 @@ const bt = ({
7605
7618
  ...o
7606
7619
  }
7607
7620
  ));
7608
- }, R0 = ({
7621
+ }, T0 = ({
7609
7622
  ariaLabel: a,
7610
7623
  children: l,
7611
7624
  className: t,
@@ -7620,12 +7633,12 @@ const bt = ({
7620
7633
  title: m,
7621
7634
  ...h
7622
7635
  }) => {
7623
- const f = Fe(l), u = f.__unslotted, p = f.footer, C = "pds-modal", b = i !== "m" ? `${C}--${i}` : null, v = n ? {
7636
+ const C = Fe(l), u = C.__unslotted, p = C.footer, f = "pds-modal", b = i !== "m" ? `${f}--${i}` : null, v = n ? {
7624
7637
  maxHeight: n,
7625
7638
  paddingInlineEnd: "1rem",
7626
7639
  marginInlineEnd: "-1rem",
7627
7640
  overflowY: "auto"
7628
- } : null, [E, g] = j(r), { closeOverlay: _, openOverlay: N } = M2();
7641
+ } : null, [E, g] = q(r), { closeOverlay: _, openOverlay: N } = M2();
7629
7642
  ae(() => {
7630
7643
  g(r);
7631
7644
  }, [r]), ae(() => {
@@ -7675,7 +7688,7 @@ const bt = ({
7675
7688
  ref: k.setFloating,
7676
7689
  "aria-label": a || m,
7677
7690
  ...D(),
7678
- className: $([C, b, t]),
7691
+ className: $([f, b, t]),
7679
7692
  style: {
7680
7693
  ...w,
7681
7694
  ...O,
@@ -7684,7 +7697,7 @@ const bt = ({
7684
7697
  },
7685
7698
  ...h
7686
7699
  },
7687
- o && /* @__PURE__ */ e.createElement("div", { className: `${C}__close-wrapper` }, /* @__PURE__ */ e.createElement(
7700
+ o && /* @__PURE__ */ e.createElement("div", { className: `${f}__close-wrapper` }, /* @__PURE__ */ e.createElement(
7688
7701
  h2,
7689
7702
  {
7690
7703
  ariaLabel: c,
@@ -7692,12 +7705,12 @@ const bt = ({
7692
7705
  size: "xl"
7693
7706
  }
7694
7707
  )),
7695
- /* @__PURE__ */ e.createElement("div", { className: `${C}__title` }, m),
7696
- /* @__PURE__ */ e.createElement("div", { className: `${C}__content`, style: v }, u),
7697
- p && /* @__PURE__ */ e.createElement("div", { className: `${C}__footer` }, p)
7708
+ /* @__PURE__ */ e.createElement("div", { className: `${f}__title` }, m),
7709
+ /* @__PURE__ */ e.createElement("div", { className: `${f}__content`, style: v }, u),
7710
+ p && /* @__PURE__ */ e.createElement("div", { className: `${f}__footer` }, p)
7698
7711
  ))
7699
7712
  ));
7700
- }, T0 = ({
7713
+ }, F0 = ({
7701
7714
  ariaLabel: a = "Breadcrumb",
7702
7715
  className: l,
7703
7716
  crumbs: t,
@@ -7707,7 +7720,7 @@ const bt = ({
7707
7720
  if (d < s - 1)
7708
7721
  return /* @__PURE__ */ e.createElement("li", { key: d, className: `${n}__crumb` }, r);
7709
7722
  {
7710
- const i = $e(r) ? Ne(r, {
7723
+ const i = we(r) ? Ne(r, {
7711
7724
  "aria-current": "page"
7712
7725
  }) : null;
7713
7726
  return /* @__PURE__ */ e.createElement(
@@ -7757,7 +7770,7 @@ const bt = ({
7757
7770
  let t = null;
7758
7771
  if (typeof a == "string" && l) {
7759
7772
  const c = l ? l[0].linkContent : null;
7760
- $e(c) && (t = Ne(c, {
7773
+ we(c) && (t = Ne(c, {
7761
7774
  ...typeof a == "string" ? { children: a } : {}
7762
7775
  }));
7763
7776
  } else
@@ -7773,13 +7786,13 @@ const bt = ({
7773
7786
  ];
7774
7787
  if (t) {
7775
7788
  const o = t[0].linkContent;
7776
- $e(o) && (n = Ne(o, {
7789
+ we(o) && (n = Ne(o, {
7777
7790
  ...typeof l == "string" ? { children: s } : {}
7778
7791
  }));
7779
7792
  } else
7780
7793
  n = null;
7781
7794
  }
7782
- return $e(l) && (c ? n = Ne(
7795
+ return we(l) && (c ? n = Ne(
7783
7796
  l,
7784
7797
  Object.assign({}, l.props, {
7785
7798
  children: [
@@ -7787,7 +7800,7 @@ const bt = ({
7787
7800
  ]
7788
7801
  })
7789
7802
  ) : n = l), n;
7790
- }, F0 = ({
7803
+ }, A0 = ({
7791
7804
  ariaLabel: a,
7792
7805
  className: l,
7793
7806
  menuItems: t,
@@ -7796,54 +7809,54 @@ const bt = ({
7796
7809
  }) => {
7797
7810
  const s = de(null), o = "pds-button-nav", r = `${o}--${c}`;
7798
7811
  ae(() => {
7799
- const f = (u) => {
7812
+ const C = (u) => {
7800
7813
  if (document.documentElement.hasAttribute("data-pds-mobile")) return;
7801
7814
  const p = s.current;
7802
7815
  if (!p) return;
7803
- const C = Array.from(
7816
+ const f = Array.from(
7804
7817
  p.querySelectorAll('a, button, [tabindex]:not([tabindex="-1"])')
7805
7818
  );
7806
- if (C.length === 0) return;
7807
- const b = document.activeElement, v = C.indexOf(b);
7819
+ if (f.length === 0) return;
7820
+ const b = document.activeElement, v = f.indexOf(b);
7808
7821
  if (v !== -1) {
7809
7822
  if (u.key === "ArrowRight") {
7810
7823
  u.preventDefault();
7811
- const E = (v + 1) % C.length;
7812
- C[E].focus();
7824
+ const E = (v + 1) % f.length;
7825
+ f[E].focus();
7813
7826
  } else if (u.key === "ArrowLeft") {
7814
7827
  u.preventDefault();
7815
- const E = (v - 1 + C.length) % C.length;
7816
- C[E].focus();
7828
+ const E = (v - 1 + f.length) % f.length;
7829
+ f[E].focus();
7817
7830
  }
7818
7831
  }
7819
7832
  };
7820
- return document.addEventListener("keydown", f), () => document.removeEventListener("keydown", f);
7833
+ return document.addEventListener("keydown", C), () => document.removeEventListener("keydown", C);
7821
7834
  }, []);
7822
- const d = ({ isActive: f, linkContent: u }) => {
7835
+ const d = ({ isActive: C, linkContent: u }) => {
7823
7836
  const p = `${o}__item`;
7824
7837
  return /* @__PURE__ */ e.createElement(
7825
7838
  "li",
7826
7839
  {
7827
7840
  className: $([
7828
7841
  p,
7829
- f ? `${p}--active` : null
7842
+ C ? `${p}--active` : null
7830
7843
  ])
7831
7844
  },
7832
7845
  u
7833
7846
  );
7834
- }, i = t.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${o}__menu` }, t.map((f, u) => /* @__PURE__ */ e.createElement(
7847
+ }, i = t.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${o}__menu` }, t.map((C, u) => /* @__PURE__ */ e.createElement(
7835
7848
  d,
7836
7849
  {
7837
7850
  key: u,
7838
- isActive: a2(f),
7839
- linkContent: f.linkContent
7851
+ isActive: a2(C),
7852
+ linkContent: C.linkContent
7840
7853
  }
7841
7854
  ))) : null, m = [];
7842
- t.map((f) => {
7843
- f.linkContent && (a2(f) ? m.unshift({
7844
- linkContent: f.linkContent,
7855
+ t.map((C) => {
7856
+ C.linkContent && (a2(C) ? m.unshift({
7857
+ linkContent: C.linkContent,
7845
7858
  isLink: !0
7846
- }) : m.push({ linkContent: f.linkContent, isLink: !0 }));
7859
+ }) : m.push({ linkContent: C.linkContent, isLink: !0 }));
7847
7860
  });
7848
7861
  const h = m.length > 0 ? /* @__PURE__ */ e.createElement("div", { className: `${o}__mobile` }, /* @__PURE__ */ e.createElement(
7849
7862
  ct,
@@ -7899,7 +7912,7 @@ const bt = ({
7899
7912
  )),
7900
7913
  /* @__PURE__ */ e.createElement("div", { className: `${c}__status`, style: { pointerEvents: "none" } }, m)
7901
7914
  );
7902
- }, A0 = ({
7915
+ }, O0 = ({
7903
7916
  className: a,
7904
7917
  disabled: l = !1,
7905
7918
  horizontalOffset: t = 0,
@@ -7915,12 +7928,12 @@ const bt = ({
7915
7928
  onFocus: i,
7916
7929
  onOptionSelect: m,
7917
7930
  placeholder: h = "Search sites",
7918
- siteList: f,
7931
+ siteList: C,
7919
7932
  ...u
7920
7933
  }) => {
7921
- const [p, C] = j(null), b = "pds-dashboard-search", v = (g) => {
7922
- C(g.value), m && m(g.siteData);
7923
- }, E = f.map((g) => {
7934
+ const [p, f] = q(null), b = "pds-dashboard-search", v = (g) => {
7935
+ f(g.value), m && m(g.siteData);
7936
+ }, E = C.map((g) => {
7924
7937
  const { id: _, machineName: N, name: z } = g;
7925
7938
  return {
7926
7939
  id: _,
@@ -7959,7 +7972,7 @@ const bt = ({
7959
7972
  }
7960
7973
  ))
7961
7974
  );
7962
- }, O0 = ({
7975
+ }, Z0 = ({
7963
7976
  className: a,
7964
7977
  headingText: l,
7965
7978
  menuItems: t,
@@ -7975,10 +7988,10 @@ const bt = ({
7975
7988
  activeIndex: i,
7976
7989
  floatingStyles: m,
7977
7990
  getFloatingProps: h,
7978
- getItemProps: f,
7991
+ getItemProps: C,
7979
7992
  getReferenceProps: u,
7980
7993
  isMounted: p,
7981
- listRef: C,
7994
+ listRef: f,
7982
7995
  refs: b,
7983
7996
  setIsOpen: v,
7984
7997
  transitionStyles: E
@@ -7989,7 +8002,7 @@ const bt = ({
7989
8002
  }), g = (w) => {
7990
8003
  w.target.nodeName === "A" && v(!1);
7991
8004
  }, _ = (w) => {
7992
- w.key === "Enter" && C.current[i]?.querySelector("a")?.click();
8005
+ w.key === "Enter" && f.current[i]?.querySelector("a")?.click();
7993
8006
  }, N = ({
7994
8007
  item: w,
7995
8008
  level: k
@@ -8061,7 +8074,7 @@ const bt = ({
8061
8074
  {
8062
8075
  key: k,
8063
8076
  ref: (P) => {
8064
- C.current[k] = P;
8077
+ f.current[k] = P;
8065
8078
  },
8066
8079
  className: $([
8067
8080
  "pds-dropdown__item",
@@ -8071,7 +8084,7 @@ const bt = ({
8071
8084
  w.isActive === !0 ? "pds-dropdown__item--active" : null
8072
8085
  ]),
8073
8086
  tabIndex: i === k ? 0 : -1,
8074
- ...f({ onKeyDown: _ })
8087
+ ...C({ onKeyDown: _ })
8075
8088
  },
8076
8089
  w.linkContent,
8077
8090
  w.isActive === !0 && d
@@ -8394,7 +8407,7 @@ const bt = ({
8394
8407
  case "sub-brand-small":
8395
8408
  i = R2;
8396
8409
  }
8397
- const m = $e(c) && typeof c.props.children == "string" ? c.props.children : "", h = $e(c) ? c.type : null, f = $e(c) && h ? /* @__PURE__ */ e.createElement(
8410
+ const m = we(c) && typeof c.props.children == "string" ? c.props.children : "", h = we(c) ? c.type : null, C = we(c) && h ? /* @__PURE__ */ e.createElement(
8398
8411
  h,
8399
8412
  {
8400
8413
  ...Object.assign({}, c.props, {
@@ -8414,10 +8427,10 @@ const bt = ({
8414
8427
  ]),
8415
8428
  ...s
8416
8429
  },
8417
- c ? f : i,
8430
+ c ? C : i,
8418
8431
  n && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: "pds-pantheon-logo__separator" }), /* @__PURE__ */ e.createElement("div", { className: "pds-pantheon-logo__sub-brand-wordmark" }, n))
8419
8432
  );
8420
- }, Z0 = ({
8433
+ }, B0 = ({
8421
8434
  children: a,
8422
8435
  className: l,
8423
8436
  colorType: t = "default",
@@ -8434,7 +8447,7 @@ const bt = ({
8434
8447
  },
8435
8448
  ...h
8436
8449
  }) => {
8437
- const [f, u] = j(!1), { closeOverlay: p, openOverlay: C } = M2(), b = "pds-navbar", v = n ? `${b}--noBorder` : "", E = t !== "default" ? `${b}--${t}` : "", g = (O) => {
8450
+ const [C, u] = q(!1), { closeOverlay: p, openOverlay: f } = M2(), b = "pds-navbar", v = n ? `${b}--noBorder` : "", E = t !== "default" ? `${b}--${t}` : "", g = (O) => {
8438
8451
  const S = O.key;
8439
8452
  let Y = !1;
8440
8453
  switch (S) {
@@ -8448,26 +8461,26 @@ const bt = ({
8448
8461
  ae(() => (window.addEventListener("keyup", g), () => {
8449
8462
  window.removeEventListener("keyup", g);
8450
8463
  }), []);
8451
- const _ = () => u(!f), N = (O) => {
8464
+ const _ = () => u(!C), N = (O) => {
8452
8465
  O.target.nodeName === "A" && u(!1);
8453
8466
  };
8454
8467
  ae(() => {
8455
- if (f) {
8468
+ if (C) {
8456
8469
  const O = document.querySelector(".pds-navbar__bar-mobile"), S = document.querySelector(".pds-navbar__mobile");
8457
8470
  return O.addEventListener("click", N), S.addEventListener("click", N), () => {
8458
8471
  O.removeEventListener("click", N), S.removeEventListener("click", N);
8459
8472
  };
8460
8473
  }
8461
- }, [f]), ae(() => {
8462
- f ? document.body.classList.add("pds-no-scroll") : document.body.classList.remove("pds-no-scroll");
8463
- }, [f]), ae(() => {
8464
- if (!(!C || !p) && f)
8465
- return C(), () => p();
8466
- }, [f, C, p]);
8474
+ }, [C]), ae(() => {
8475
+ C ? document.body.classList.add("pds-no-scroll") : document.body.classList.remove("pds-no-scroll");
8476
+ }, [C]), ae(() => {
8477
+ if (!(!f || !p) && C)
8478
+ return f(), () => p();
8479
+ }, [C, f, p]);
8467
8480
  const z = Fe(a), w = z["items-left"], k = z["items-right"];
8468
8481
  let P = "default";
8469
8482
  (t === "reverse" || t === "reverse-transparent") && (P = "reverse");
8470
- const M = $e(r) ? r.props.children : null, L = $e(r) && M ? Ne(
8483
+ const M = we(r) ? r.props.children : null, L = we(r) && M ? Ne(
8471
8484
  r,
8472
8485
  Object.assign({}, r.props, {
8473
8486
  children: /* @__PURE__ */ e.createElement("img", { className: `${b}__custom-logo`, src: d }),
@@ -8484,12 +8497,12 @@ const bt = ({
8484
8497
  ), H = /* @__PURE__ */ e.createElement(
8485
8498
  "button",
8486
8499
  {
8487
- "aria-label": f ? m.closeMobileNav : m.openMobileNav,
8500
+ "aria-label": C ? m.closeMobileNav : m.openMobileNav,
8488
8501
  className: `${b}__menu-toggle`,
8489
8502
  onClick: _,
8490
8503
  type: "button"
8491
8504
  },
8492
- /* @__PURE__ */ e.createElement(F, { iconName: f ? "xmark" : "bars", size: "l" })
8505
+ /* @__PURE__ */ e.createElement(F, { iconName: C ? "xmark" : "bars", size: "l" })
8493
8506
  );
8494
8507
  return /* @__PURE__ */ e.createElement(
8495
8508
  "header",
@@ -8506,7 +8519,7 @@ const bt = ({
8506
8519
  /* @__PURE__ */ e.createElement(
8507
8520
  I1,
8508
8521
  {
8509
- active: f,
8522
+ active: C,
8510
8523
  focusTrapOptions: {
8511
8524
  clickOutsideDeactivates: !0,
8512
8525
  initialFocus: !1,
@@ -8518,9 +8531,9 @@ const bt = ({
8518
8531
  {
8519
8532
  className: $([
8520
8533
  `${b}__mobile`,
8521
- f ? `${b}__mobile--open` : null
8534
+ C ? `${b}__mobile--open` : null
8522
8535
  ]),
8523
- inert: f ? void 0 : !0
8536
+ inert: C ? void 0 : !0
8524
8537
  },
8525
8538
  /* @__PURE__ */ e.createElement(V2, null, a)
8526
8539
  )
@@ -8557,25 +8570,25 @@ const bt = ({
8557
8570
  },
8558
8571
  D.linkContent
8559
8572
  ))
8560
- ), [f, u] = j(!1), p = de(f), { context: C, floatingStyles: b, refs: v } = ke({
8573
+ ), [C, u] = q(!1), p = de(C), { context: f, floatingStyles: b, refs: v } = ke({
8561
8574
  placement: "right-start",
8562
- open: f,
8575
+ open: C,
8563
8576
  onOpenChange: u,
8564
8577
  middleware: [xe(8), Re(), s2()],
8565
8578
  whileElementsMounted: Ie
8566
8579
  });
8567
8580
  ae(() => {
8568
- if (p.current && !f && t && v.reference.current) {
8581
+ if (p.current && !C && t && v.reference.current) {
8569
8582
  const M = v.reference.current;
8570
8583
  M instanceof HTMLElement && M.querySelector("a")?.focus();
8571
8584
  }
8572
- p.current = f;
8573
- }, [f, t, v.reference]);
8574
- const E = U2(C, {
8585
+ p.current = C;
8586
+ }, [C, t, v.reference]);
8587
+ const E = U2(f, {
8575
8588
  move: !1,
8576
8589
  delay: { open: 100, close: 0 },
8577
8590
  handleClose: y1()
8578
- }), g = Oe(C), _ = l2(C, { role: "menu" }), { getFloatingProps: N, getReferenceProps: z } = Ze([
8591
+ }), g = Oe(f), _ = l2(f, { role: "menu" }), { getFloatingProps: N, getReferenceProps: z } = Ze([
8579
8592
  E,
8580
8593
  g,
8581
8594
  _
@@ -8622,7 +8635,7 @@ const bt = ({
8622
8635
  },
8623
8636
  /* @__PURE__ */ e.createElement(F, { iconName: "angleDown", size: "m" }),
8624
8637
  /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${c.toggle} ${qe(n)} ${c.submenu}`)
8625
- )), !t && h(s, "second-level"), t && f && /* @__PURE__ */ e.createElement(
8638
+ )), !t && h(s, "second-level"), t && C && /* @__PURE__ */ e.createElement(
8626
8639
  "div",
8627
8640
  {
8628
8641
  ref: v.setFloating,
@@ -8633,7 +8646,7 @@ const bt = ({
8633
8646
  /* @__PURE__ */ e.createElement("div", { className: `${r}__flyout-heading` }, qe(n)),
8634
8647
  h(s, "second-level-flyout")
8635
8648
  )) : /* @__PURE__ */ e.createElement(e.Fragment, null, t ? /* @__PURE__ */ e.createElement(
8636
- we,
8649
+ Le,
8637
8650
  {
8638
8651
  content: qe(n),
8639
8652
  customTrigger: m,
@@ -8645,7 +8658,7 @@ const bt = ({
8645
8658
  }
8646
8659
  ) : m)
8647
8660
  );
8648
- }, B0 = ({
8661
+ }, j0 = ({
8649
8662
  ariaLabel: a,
8650
8663
  className: l,
8651
8664
  isSidebarCollapsed: t,
@@ -8680,37 +8693,37 @@ const bt = ({
8680
8693
  i
8681
8694
  );
8682
8695
  }, Dt = ({ items: a, label: l }) => {
8683
- const t = de(null), c = "pds-nav-menu", n = a && a.length > 0, [s, o] = j(
8696
+ const t = de(null), c = "pds-nav-menu", n = a && a.length > 0, [s, o] = q(
8684
8697
  () => typeof document < "u" && document.documentElement.hasAttribute("data-pds-mobile")
8685
8698
  );
8686
8699
  ae(() => {
8687
- const C = new MutationObserver(() => {
8700
+ const f = new MutationObserver(() => {
8688
8701
  o(document.documentElement.hasAttribute("data-pds-mobile"));
8689
8702
  });
8690
- return C.observe(document.documentElement, {
8703
+ return f.observe(document.documentElement, {
8691
8704
  attributes: !0,
8692
8705
  attributeFilter: ["data-pds-mobile"]
8693
- }), () => C.disconnect();
8706
+ }), () => f.disconnect();
8694
8707
  }, []);
8695
8708
  const { floatingStyles: r, getFloatingProps: d, getReferenceProps: i, isOpen: m, refs: h } = Ue({
8696
8709
  offsetValue: 8,
8697
8710
  openOnHover: !s
8698
- }), f = (C) => {
8699
- (C.key === "Enter" || C.key === " " || C.key === "ArrowDown") && !m && requestAnimationFrame(() => {
8711
+ }), C = (f) => {
8712
+ (f.key === "Enter" || f.key === " " || f.key === "ArrowDown") && !m && requestAnimationFrame(() => {
8700
8713
  t.current?.querySelector("a, button")?.focus();
8701
8714
  });
8702
- }, u = (C) => !!(C.isActive || C.linkContent?.props?.className?.includes(
8715
+ }, u = (f) => !!(f.isActive || f.linkContent?.props?.className?.includes(
8703
8716
  "pds-isActive"
8704
8717
  ));
8705
8718
  if (!n)
8706
8719
  return null;
8707
- const p = /* @__PURE__ */ e.createElement("ul", { className: `${c}__accordion-menu` }, a.map((C, b) => /* @__PURE__ */ e.createElement(
8720
+ const p = /* @__PURE__ */ e.createElement("ul", { className: `${c}__accordion-menu` }, a.map((f, b) => /* @__PURE__ */ e.createElement(
8708
8721
  "li",
8709
8722
  {
8710
8723
  key: b,
8711
- className: `${c}__item ${C.isSeparator ? "pds-dropdown__separator" : `pds-dropdown__item${u(C) ? " pds-dropdown__item--active" : ""}`}`
8724
+ className: `${c}__item ${f.isSeparator ? "pds-dropdown__separator" : `pds-dropdown__item${u(f) ? " pds-dropdown__item--active" : ""}`}`
8712
8725
  },
8713
- !C.isSeparator && C.linkContent
8726
+ !f.isSeparator && f.linkContent
8714
8727
  )));
8715
8728
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(g2, { label: l }, p), /* @__PURE__ */ e.createElement(
8716
8729
  "button",
@@ -8719,7 +8732,7 @@ const bt = ({
8719
8732
  className: `${c}__trigger`,
8720
8733
  type: "button",
8721
8734
  ...i({
8722
- onKeyDown: f
8735
+ onKeyDown: C
8723
8736
  })
8724
8737
  },
8725
8738
  l,
@@ -8734,8 +8747,8 @@ const bt = ({
8734
8747
  ), m && /* @__PURE__ */ e.createElement(
8735
8748
  "ul",
8736
8749
  {
8737
- ref: (C) => {
8738
- h.setFloating(C), t.current = C;
8750
+ ref: (f) => {
8751
+ h.setFloating(f), t.current = f;
8739
8752
  },
8740
8753
  className: `pds-dropdown__panel ${c}__dropdown`,
8741
8754
  style: {
@@ -8744,23 +8757,23 @@ const bt = ({
8744
8757
  },
8745
8758
  ...d()
8746
8759
  },
8747
- a.map((C, b) => /* @__PURE__ */ e.createElement(
8760
+ a.map((f, b) => /* @__PURE__ */ e.createElement(
8748
8761
  "li",
8749
8762
  {
8750
8763
  key: b,
8751
- className: `${c}__item ${C.isSeparator ? "pds-dropdown__separator" : `pds-dropdown__item${u(C) ? " pds-dropdown__item--active" : ""}`}`
8764
+ className: `${c}__item ${f.isSeparator ? "pds-dropdown__separator" : `pds-dropdown__item${u(f) ? " pds-dropdown__item--active" : ""}`}`
8752
8765
  },
8753
- !C.isSeparator && C.linkContent
8766
+ !f.isSeparator && f.linkContent
8754
8767
  ))
8755
8768
  ));
8756
- }, j0 = ({
8769
+ }, q0 = ({
8757
8770
  ariaLabel: a = "Main Navigation",
8758
8771
  className: l,
8759
8772
  colorType: t = "default",
8760
8773
  menuItems: c,
8761
8774
  ...n
8762
8775
  }) => {
8763
- const [s, o] = j(null), [r, d] = j(-1), [i, m] = j(null), [h, f] = j({
8776
+ const [s, o] = q(null), [r, d] = q(-1), [i, m] = q(null), [h, C] = q({
8764
8777
  container: null,
8765
8778
  containerChildren: []
8766
8779
  });
@@ -8771,12 +8784,12 @@ const bt = ({
8771
8784
  "pds-dropdown__separator"
8772
8785
  ) && i == "up" ? o(s - 1) : h.containerChildren[s].children[0].focus());
8773
8786
  }, [s]), ae(() => {
8774
- r != -1 && (C.current[r].children[0].blur(), C.current[r].children[0].focus({
8787
+ r != -1 && (f.current[r].children[0].blur(), f.current[r].children[0].focus({
8775
8788
  focusVisible: !0
8776
8789
  }));
8777
8790
  }, [r]);
8778
- const u = "pds-nav-menu", p = t !== "default" ? `${u}--${t}` : "", C = de([]), b = (g) => {
8779
- const _ = C.current.length - 1, M = {
8791
+ const u = "pds-nav-menu", p = t !== "default" ? `${u}--${t}` : "", f = de([]), b = (g) => {
8792
+ const _ = f.current.length - 1, M = {
8780
8793
  ArrowRight: () => {
8781
8794
  o(-1), d(r === -1 ? 1 : r === _ ? 0 : r + 1);
8782
8795
  },
@@ -8786,7 +8799,7 @@ const bt = ({
8786
8799
  ArrowDown: () => {
8787
8800
  m("down");
8788
8801
  const L = g.target.parentNode.children[1], D = g.target?.parentNode.children[1]?.children || g.target?.parentNode.parentNode.children[1]?.children;
8789
- h.container != L && L != null && f({
8802
+ h.container != L && L != null && C({
8790
8803
  container: L,
8791
8804
  containerChildren: [...D]
8792
8805
  }), s === null || s == h.containerChildren.length - 1 ? o(0) : o(parseInt(s) + 1);
@@ -8814,7 +8827,7 @@ const bt = ({
8814
8827
  {
8815
8828
  key: `${_}-dropdown`,
8816
8829
  ref: (w) => {
8817
- C.current[_] = w;
8830
+ f.current[_] = w;
8818
8831
  },
8819
8832
  className: `${u}__item ${u}__item--top-level ${u}__item--has-children ${v(g) === !0 ? `${u}__item--active` : ""}`,
8820
8833
  id: z
@@ -8827,7 +8840,7 @@ const bt = ({
8827
8840
  {
8828
8841
  key: _,
8829
8842
  ref: (w) => {
8830
- C.current[_] = w;
8843
+ f.current[_] = w;
8831
8844
  },
8832
8845
  className: `${u}__item ${u}__item--top-level ${u}__item--has-link ${v(g) === !0 ? `${u}__item--active` : ""}`,
8833
8846
  id: z
@@ -8855,8 +8868,8 @@ const bt = ({
8855
8868
  minFilterItems: n = 5,
8856
8869
  noResultsText: s = "No results found"
8857
8870
  }) => {
8858
- const [o, r] = j(c), [d, i] = j(""), m = c.length >= n, h = "pds-tab-menu", f = `${h}__dropdown-menu`, u = m ? `${f}--scroll` : null, p = `${h}__dropdown-item`, {
8859
- activeIndex: C,
8871
+ const [o, r] = q(c), [d, i] = q(""), m = c.length >= n, h = "pds-tab-menu", C = `${h}__dropdown-menu`, u = m ? `${C}--scroll` : null, p = `${h}__dropdown-item`, {
8872
+ activeIndex: f,
8860
8873
  floatingStyles: b,
8861
8874
  getFloatingProps: v,
8862
8875
  getItemProps: E,
@@ -8872,7 +8885,7 @@ const bt = ({
8872
8885
  placement: "bottom-start",
8873
8886
  role: "listbox"
8874
8887
  }), M = (I) => {
8875
- I.preventDefault(), I.key === "Enter" && z.current[C].querySelector("a")?.click(), I.key === "Tab" && I.shiftKey && m && document.getElementById("links-filter").focus();
8888
+ I.preventDefault(), I.key === "Enter" && z.current[f].querySelector("a")?.click(), I.key === "Tab" && I.shiftKey && m && document.getElementById("links-filter").focus();
8876
8889
  }, L = (I, V) => qe(I.linkContent).toLowerCase().includes(V.toLowerCase()), D = (I) => {
8877
8890
  const V = I.target.value;
8878
8891
  i(V), r(c.filter((x) => L(x, V)));
@@ -8889,7 +8902,7 @@ const bt = ({
8889
8902
  width: `${qe(
8890
8903
  O.linkContent
8891
8904
  ).length + 2}ch`
8892
- }, q = /* @__PURE__ */ e.createElement(F, { className: `${h}__active-icon`, iconName: "check" }), Z = m && /* @__PURE__ */ e.createElement("div", { className: `${h}__filter` }, /* @__PURE__ */ e.createElement(
8905
+ }, j = /* @__PURE__ */ e.createElement(F, { className: `${h}__active-icon`, iconName: "check" }), Z = m && /* @__PURE__ */ e.createElement("div", { className: `${h}__filter` }, /* @__PURE__ */ e.createElement(
8893
8906
  W2,
8894
8907
  {
8895
8908
  hasClearButton: !0,
@@ -8913,11 +8926,11 @@ const bt = ({
8913
8926
  },
8914
8927
  className: $([p, x]),
8915
8928
  onKeyDown: M,
8916
- tabIndex: V === C ? 0 : -1,
8929
+ tabIndex: V === f ? 0 : -1,
8917
8930
  ...E()
8918
8931
  },
8919
8932
  I.linkContent,
8920
- I.isActive && q
8933
+ I.isActive && j
8921
8934
  );
8922
8935
  });
8923
8936
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
@@ -8951,9 +8964,9 @@ const bt = ({
8951
8964
  }
8952
8965
  })
8953
8966
  },
8954
- /* @__PURE__ */ e.createElement("div", { style: { ...P } }, Z, /* @__PURE__ */ e.createElement("ul", { className: $([f, u]) }, B.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${h}__no-results` }, s) : B))
8967
+ /* @__PURE__ */ e.createElement("div", { style: { ...P } }, Z, /* @__PURE__ */ e.createElement("ul", { className: $([C, u]) }, B.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${h}__no-results` }, s) : B))
8955
8968
  ));
8956
- }, q0 = ({
8969
+ }, G0 = ({
8957
8970
  ariaLabel: a,
8958
8971
  className: l,
8959
8972
  menuItems: t,
@@ -8964,13 +8977,13 @@ const bt = ({
8964
8977
  dropdownSettings: i,
8965
8978
  icon: m,
8966
8979
  isActive: h,
8967
- linkContent: f,
8980
+ linkContent: C,
8968
8981
  links: u,
8969
8982
  promoteActiveChildLink: p = !1
8970
8983
  }) => {
8971
- const C = `${s}__item`, b = l1(u), v = (E, g) => {
8984
+ const f = `${s}__item`, b = l1(u), v = (E, g) => {
8972
8985
  let _ = null;
8973
- return $e(E) && (g ? _ = Ne(
8986
+ return we(E) && (g ? _ = Ne(
8974
8987
  E,
8975
8988
  Object.assign({}, E.props, {
8976
8989
  children: [
@@ -8990,11 +9003,11 @@ const bt = ({
8990
9003
  "li",
8991
9004
  {
8992
9005
  className: $([
8993
- C,
8994
- h ? `${C}--active` : null
9006
+ f,
9007
+ h ? `${f}--active` : null
8995
9008
  ])
8996
9009
  },
8997
- v(p ? b : f, m),
9010
+ v(p ? b : C, m),
8998
9011
  u && /* @__PURE__ */ e.createElement(
8999
9012
  Pt,
9000
9013
  {
@@ -9032,7 +9045,7 @@ const bt = ({
9032
9045
  },
9033
9046
  /* @__PURE__ */ e.createElement("div", { className: `${s}__mobile-menu-wrapper` }, d)
9034
9047
  );
9035
- }, G0 = ({
9048
+ }, W0 = ({
9036
9049
  ariaLabel: a = "User menu",
9037
9050
  className: l,
9038
9051
  menuItems: t = [],
@@ -9041,13 +9054,13 @@ const bt = ({
9041
9054
  userName: s,
9042
9055
  ...o
9043
9056
  }) => {
9044
- const [r, d] = j(null), [i, m] = j(!1), h = de([]), f = de([]), u = "pds-user-menu", p = `${u}__menu`, { context: C, floatingStyles: b, refs: v } = ke({
9057
+ const [r, d] = q(null), [i, m] = q(!1), h = de([]), C = de([]), u = "pds-user-menu", p = `${u}__menu`, { context: f, floatingStyles: b, refs: v } = ke({
9045
9058
  placement: "bottom-end",
9046
9059
  open: i,
9047
9060
  onOpenChange: m,
9048
9061
  middleware: [xe(12), Re(), s2()],
9049
9062
  whileElementsMounted: Ie
9050
- }), E = u2(C, { event: "mousedown" }), g = Oe(C), _ = l2(C, { role: "menu" }), N = de([]), z = z1(C, {
9063
+ }), E = u2(f, { event: "mousedown" }), g = Oe(f), _ = l2(f, { role: "menu" }), N = de([]), z = z1(f, {
9051
9064
  listRef: N,
9052
9065
  activeIndex: r,
9053
9066
  onNavigate: d,
@@ -9057,7 +9070,7 @@ const bt = ({
9057
9070
  focusItemOnHover: !0
9058
9071
  }), { getFloatingProps: w, getItemProps: k, getReferenceProps: P } = Ze(
9059
9072
  [g, _, E, z]
9060
- ), { isMounted: M, styles: L } = Ke(C, {
9073
+ ), { isMounted: M, styles: L } = Ke(f, {
9061
9074
  duration: { open: 300, close: 150 },
9062
9075
  initial: { opacity: 0 },
9063
9076
  open: { opacity: 1 },
@@ -9074,16 +9087,16 @@ const bt = ({
9074
9087
  ), H = /* @__PURE__ */ e.createElement("li", { className: `${u}__user-details`, role: "presentation" }, /* @__PURE__ */ e.createElement("div", { className: `${u}__user-name` }, s), /* @__PURE__ */ e.createElement("div", { className: `${u}__user-email` }, c));
9075
9088
  t.forEach((I) => {
9076
9089
  const V = I.id ? I.id : Ye();
9077
- h.current.push(V), f.current.push(I);
9090
+ h.current.push(V), C.current.push(I);
9078
9091
  });
9079
9092
  const O = (I) => {
9080
- const V = h.current.indexOf(I), x = f.current[V];
9093
+ const V = h.current.indexOf(I), x = C.current[V];
9081
9094
  x.linkContent && !x.disabled && (N.current[V].querySelector("a").click(), m(!1)), x.callback && !x.disabled && (x.callback(), m(!1));
9082
9095
  }, S = (I) => {
9083
9096
  I.preventDefault(), I.key === "Enter" && O(I.currentTarget.id);
9084
9097
  }, Y = (I) => {
9085
9098
  O(I.currentTarget.id);
9086
- }, q = t.map((I, V) => {
9099
+ }, j = t.map((I, V) => {
9087
9100
  const x = h.current[V], G = `${u}__item`, W = I.disabled ? `${G}--disabled` : null;
9088
9101
  return /* @__PURE__ */ e.createElement(
9089
9102
  "li",
@@ -9163,7 +9176,7 @@ const bt = ({
9163
9176
  },
9164
9177
  ...w()
9165
9178
  },
9166
- /* @__PURE__ */ e.createElement("div", { style: { ...L } }, /* @__PURE__ */ e.createElement("ul", { className: p, role: "menu" }, H, /* @__PURE__ */ e.createElement("li", { role: "separator" }), q))
9179
+ /* @__PURE__ */ e.createElement("div", { style: { ...L } }, /* @__PURE__ */ e.createElement("ul", { className: p, role: "menu" }, H, /* @__PURE__ */ e.createElement("li", { role: "separator" }), j))
9167
9180
  ));
9168
9181
  }, g1 = {
9169
9182
  silver: { label: "Silver", color: "silver" },
@@ -9174,7 +9187,7 @@ const bt = ({
9174
9187
  standard: { label: "Standard", color: "gaia" },
9175
9188
  premium: { label: "Premium", color: "gaia" },
9176
9189
  priority: { label: "Priority", color: "gaia" }
9177
- }, W0 = ({
9190
+ }, K0 = ({
9178
9191
  ariaLabel: a = "Workspace selector menu",
9179
9192
  className: l,
9180
9193
  createWorkspaceLink: t,
@@ -9186,7 +9199,7 @@ const bt = ({
9186
9199
  workspaceList: d = [],
9187
9200
  ...i
9188
9201
  }) => {
9189
- const [m, h] = j(""), [f, u] = j(""), p = de(null), C = d.length >= o, b = "pds-workspace-selector", v = `${b}__menu`, E = C ? `${v}--scroll` : null, {
9202
+ const [m, h] = q(""), [C, u] = q(""), p = de(null), f = d.length >= o, b = "pds-workspace-selector", v = `${b}__menu`, E = f ? `${v}--scroll` : null, {
9190
9203
  activeIndex: g,
9191
9204
  floatingStyles: _,
9192
9205
  getFloatingProps: N,
@@ -9198,7 +9211,7 @@ const bt = ({
9198
9211
  setIsOpen: L,
9199
9212
  transitionStyles: D
9200
9213
  } = Ue({
9201
- enableTypeahead: !C,
9214
+ enableTypeahead: !f,
9202
9215
  role: "menu"
9203
9216
  });
9204
9217
  let H = d.find((x) => x.isActive);
@@ -9210,14 +9223,14 @@ const bt = ({
9210
9223
  (G) => G.displayName?.toLowerCase().includes(x)
9211
9224
  );
9212
9225
  }, [d, m]), S = Me(() => {
9213
- if (!f) return d;
9214
- const x = f.toLowerCase();
9226
+ if (!C) return d;
9227
+ const x = C.toLowerCase();
9215
9228
  return d.filter(
9216
9229
  (G) => G.displayName?.toLowerCase().includes(x)
9217
9230
  );
9218
- }, [d, f]), Y = (x) => {
9219
- x.preventDefault(), x.key === "Enter" && (P.current[g]?.querySelector("a") || P.current[g]?.querySelector("button"))?.click(), x.key === "Tab" && (x.shiftKey ? C ? document.getElementById("workspace-filter")?.focus() : L(!1) : t ? p.current?.querySelector("a")?.focus() : L(!1));
9220
- }, q = (x) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${b}__item-content` }, /* @__PURE__ */ e.createElement(
9231
+ }, [d, C]), Y = (x) => {
9232
+ x.preventDefault(), x.key === "Enter" && (P.current[g]?.querySelector("a") || P.current[g]?.querySelector("button"))?.click(), x.key === "Tab" && (x.shiftKey ? f ? document.getElementById("workspace-filter")?.focus() : L(!1) : t ? p.current?.querySelector("a")?.focus() : L(!1));
9233
+ }, j = (x) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${b}__item-content` }, /* @__PURE__ */ e.createElement(
9221
9234
  _2,
9222
9235
  {
9223
9236
  className: `${b}__list-avatar`,
@@ -9257,7 +9270,7 @@ const bt = ({
9257
9270
  },
9258
9271
  type: "button"
9259
9272
  },
9260
- q(x)
9273
+ j(x)
9261
9274
  ) : K ? /* @__PURE__ */ e.createElement(
9262
9275
  K,
9263
9276
  {
@@ -9265,7 +9278,7 @@ const bt = ({
9265
9278
  onClick: () => L(!1)
9266
9279
  })
9267
9280
  },
9268
- q(x)
9281
+ j(x)
9269
9282
  ) : null
9270
9283
  );
9271
9284
  }
@@ -9293,8 +9306,8 @@ const bt = ({
9293
9306
  onClick: () => x.onRestrictedSelection(),
9294
9307
  type: "button"
9295
9308
  },
9296
- q(x)
9297
- ) : X ? /* @__PURE__ */ e.createElement(X, { ...Object.assign({}, x.workspaceLink?.props) }, q(x)) : null
9309
+ j(x)
9310
+ ) : X ? /* @__PURE__ */ e.createElement(X, { ...Object.assign({}, x.workspaceLink?.props) }, j(x)) : null
9298
9311
  );
9299
9312
  }
9300
9313
  ), I = t && /* @__PURE__ */ e.createElement("div", { ref: p, className: `${b}__create-link` }, /* @__PURE__ */ e.createElement(
@@ -9322,7 +9335,7 @@ const bt = ({
9322
9335
  size: "xs"
9323
9336
  }
9324
9337
  )) : null;
9325
- return /* @__PURE__ */ e.createElement("span", { className: $([b, l]), ...i }, /* @__PURE__ */ e.createElement(g2, { label: V }, C && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(
9338
+ return /* @__PURE__ */ e.createElement("span", { className: $([b, l]), ...i }, /* @__PURE__ */ e.createElement(g2, { label: V }, f && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(
9326
9339
  W2,
9327
9340
  {
9328
9341
  hasClearButton: !0,
@@ -9379,7 +9392,7 @@ const bt = ({
9379
9392
  },
9380
9393
  ...N()
9381
9394
  },
9382
- C && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(
9395
+ f && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(
9383
9396
  W2,
9384
9397
  {
9385
9398
  hasClearButton: !0,
@@ -9407,7 +9420,7 @@ const bt = ({
9407
9420
  warning: "triangleExclamation",
9408
9421
  critical: "diamondExclamation",
9409
9422
  discovery: "bullhorn"
9410
- }, T2 = 200, Ht = 50, K0 = ({
9423
+ }, T2 = 200, Ht = 50, Y0 = ({
9411
9424
  banners: a,
9412
9425
  className: l,
9413
9426
  dataContext: t = "product",
@@ -9417,7 +9430,7 @@ const bt = ({
9417
9430
  typeLabels: o = { ...k2, neutral: "Notice" },
9418
9431
  ...r
9419
9432
  }) => {
9420
- const d = t === "marketing", [i, m] = j(a), [h, f] = j(null), [u, p] = j(null), [C, b] = j({});
9433
+ const d = t === "marketing", [i, m] = q(a), [h, C] = q(null), [u, p] = q(null), [f, b] = q({});
9421
9434
  ae(() => {
9422
9435
  m(a);
9423
9436
  }, [a]);
@@ -9431,32 +9444,32 @@ const bt = ({
9431
9444
  neutral: `${E}--neutral`,
9432
9445
  warning: `${E}--warning`
9433
9446
  }, N = i[0].type, z = N ? `${E}-group--${N}` : null, w = (D) => P2 - D, k = (D) => D === 0 ? 0 : -1, P = () => {
9434
- f(i[0].id), setTimeout(() => {
9447
+ C(i[0].id), setTimeout(() => {
9435
9448
  m((D) => [
9436
9449
  ...D.slice(1),
9437
9450
  D[0]
9438
- ]), f(null);
9451
+ ]), C(null);
9439
9452
  }, T2);
9440
9453
  }, M = () => {
9441
9454
  b({
9442
9455
  [i[0].id]: P2 + 2,
9443
9456
  [i[v - 1].id]: P2 + 1
9444
9457
  }), setTimeout(() => {
9445
- f(i[0].id);
9458
+ C(i[0].id);
9446
9459
  }, Ht), setTimeout(() => {
9447
9460
  m((D) => [
9448
9461
  D[D.length - 1],
9449
9462
  ...D.slice(0, D.length - 1)
9450
- ]), f(null), b({});
9463
+ ]), C(null), b({});
9451
9464
  }, T2);
9452
9465
  }, L = (D, H) => {
9453
- const { iconName: O, id: S, isDismissible: Y, message: q, onDismiss: Z, type: B } = D, I = B === "critical" ? "alert" : "status", V = `${o[B]}: `, x = (W) => {
9466
+ const { iconName: O, id: S, isDismissible: Y, message: j, onDismiss: Z, type: B } = D, I = B === "critical" ? "alert" : "status", V = `${o[B]}: `, x = (W) => {
9454
9467
  W.preventDefault(), p(S), setTimeout(() => {
9455
9468
  Z?.(), p(null), m((y) => y.filter(
9456
9469
  (K) => K.id !== S
9457
9470
  ));
9458
9471
  }, T2);
9459
- }, G = C[S] ?? w(H);
9472
+ }, G = f[S] ?? w(H);
9460
9473
  return /* @__PURE__ */ e.createElement(
9461
9474
  "div",
9462
9475
  {
@@ -9478,7 +9491,7 @@ const bt = ({
9478
9491
  iconName: B === "neutral" ? O : It[B],
9479
9492
  size: d ? "l" : "m"
9480
9493
  }
9481
- ), /* @__PURE__ */ e.createElement("div", { className: `${E}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, V, " "), q)),
9494
+ ), /* @__PURE__ */ e.createElement("div", { className: `${E}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, V, " "), j)),
9482
9495
  Y && /* @__PURE__ */ e.createElement(
9483
9496
  "button",
9484
9497
  {
@@ -9528,7 +9541,7 @@ const bt = ({
9528
9541
  warning: "triangleExclamation",
9529
9542
  success: "circleCheck",
9530
9543
  critical: "diamondExclamation"
9531
- }, Y0 = ({
9544
+ }, U0 = ({
9532
9545
  className: a,
9533
9546
  message: l,
9534
9547
  title: t,
@@ -9589,7 +9602,7 @@ const bt = ({
9589
9602
  },
9590
9603
  /* @__PURE__ */ e.createElement(F, { "aria-hidden": "true", iconName: d, size: i })
9591
9604
  );
9592
- }, U0 = ({
9605
+ }, X0 = ({
9593
9606
  ariaLabel: a = "Notifications",
9594
9607
  autoCloseOnClick: l = !0,
9595
9608
  className: t,
@@ -9602,14 +9615,14 @@ const bt = ({
9602
9615
  onViewAllClick: i,
9603
9616
  showLoading: m = !1,
9604
9617
  unreadCount: h,
9605
- unreadLabel: f = "unread",
9618
+ unreadLabel: C = "unread",
9606
9619
  viewAllText: u = "View all notifications",
9607
9620
  ...p
9608
9621
  }) => {
9609
- const [C, b] = j(!1), v = r.filter((V) => !V.read).length, g = (h !== void 0 && h > v ? h : v) > 0, _ = "pds-notifications-popover", N = r.slice(0, s), { context: z, floatingStyles: w, refs: k } = ke({
9622
+ const [f, b] = q(!1), v = r.filter((V) => !V.read).length, g = (h !== void 0 && h > v ? h : v) > 0, _ = "pds-notifications-popover", N = r.slice(0, s), { context: z, floatingStyles: w, refs: k } = ke({
9610
9623
  middleware: [xe(8)],
9611
9624
  onOpenChange: b,
9612
- open: C,
9625
+ open: f,
9613
9626
  placement: "bottom-end",
9614
9627
  whileElementsMounted: Ie
9615
9628
  }), P = u2(z, { event: "mousedown" }), M = Oe(z), { getFloatingProps: L, getReferenceProps: D } = Ze([
@@ -9624,8 +9637,8 @@ const bt = ({
9624
9637
  d && d(V), l && b(!1);
9625
9638
  }, Y = () => {
9626
9639
  i && i(), b(!1);
9627
- }, q = g ? `${a}, ${f}` : a, Z = N.map((V) => {
9628
- const x = `${_}__item`, G = `${V.type} notification: ${V.title}${V.siteName ? `, ${V.siteName}` : ""}, ${V.timestamp}${V.read ? "" : `, ${f}`}`;
9640
+ }, j = g ? `${a}, ${C}` : a, Z = N.map((V) => {
9641
+ const x = `${_}__item`, G = `${V.type} notification: ${V.title}${V.siteName ? `, ${V.siteName}` : ""}, ${V.timestamp}${V.read ? "" : `, ${C}`}`;
9629
9642
  return /* @__PURE__ */ e.createElement("li", { key: V.id, className: x }, /* @__PURE__ */ e.createElement(
9630
9643
  "button",
9631
9644
  {
@@ -9674,9 +9687,9 @@ const bt = ({
9674
9687
  {
9675
9688
  ref: k.setReference,
9676
9689
  "aria-controls": "notification-panel",
9677
- "aria-expanded": C,
9690
+ "aria-expanded": f,
9678
9691
  "aria-haspopup": "dialog",
9679
- "aria-label": q,
9692
+ "aria-label": j,
9680
9693
  className: `${_}__trigger`,
9681
9694
  type: "button",
9682
9695
  ...D()
@@ -9705,7 +9718,7 @@ const bt = ({
9705
9718
  success: "circleCheck",
9706
9719
  critical: "diamondExclamation",
9707
9720
  discovery: "squareQuestion"
9708
- }, X0 = ({
9721
+ }, Q0 = ({
9709
9722
  className: a,
9710
9723
  ctaButton: l,
9711
9724
  dataContext: t = "product",
@@ -9719,7 +9732,7 @@ const bt = ({
9719
9732
  typeLabels: m = k2,
9720
9733
  ...h
9721
9734
  }) => {
9722
- const f = t === "marketing", u = de(null), p = "pds-section-message", C = {
9735
+ const C = t === "marketing", u = de(null), p = "pds-section-message", f = {
9723
9736
  error: `${p}--error`,
9724
9737
  success: `${p}--success`,
9725
9738
  warning: `${p}--warning`,
@@ -9735,8 +9748,8 @@ const bt = ({
9735
9748
  }, z = (k) => {
9736
9749
  r(k, n);
9737
9750
  }, w = () => {
9738
- N(), u.current.classList.toggle(C.dismissing), setTimeout(() => {
9739
- u.current.classList.toggle(C.dismissing), u.current.classList.toggle(C.dismissed);
9751
+ N(), u.current.classList.toggle(f.dismissing), setTimeout(() => {
9752
+ u.current.classList.toggle(f.dismissing), u.current.classList.toggle(f.dismissed);
9740
9753
  }, 400);
9741
9754
  };
9742
9755
  return /* @__PURE__ */ e.createElement(
@@ -9745,7 +9758,7 @@ const bt = ({
9745
9758
  ref: u,
9746
9759
  className: $([
9747
9760
  p,
9748
- C[i],
9761
+ f[i],
9749
9762
  b,
9750
9763
  v,
9751
9764
  a ?? ""
@@ -9759,7 +9772,7 @@ const bt = ({
9759
9772
  F,
9760
9773
  {
9761
9774
  iconName: `${i}` in A2 ? A2[i] : A2.info,
9762
- size: f ? "l" : "m"
9775
+ size: C ? "l" : "m"
9763
9776
  }
9764
9777
  )), /* @__PURE__ */ e.createElement("div", { className: `${p}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, g), d && /* @__PURE__ */ e.createElement("div", { className: `${p}__title` }, d), /* @__PURE__ */ e.createElement("div", { className: `${p}__message` }, _))),
9765
9778
  (l || s) && /* @__PURE__ */ e.createElement("div", { className: `${p}__actions` }, l && /* @__PURE__ */ e.createElement(
@@ -9767,7 +9780,7 @@ const bt = ({
9767
9780
  {
9768
9781
  ...l,
9769
9782
  className: `${p}__cta`,
9770
- size: f ? "m" : "s",
9783
+ size: C ? "m" : "s",
9771
9784
  variant: "secondary"
9772
9785
  }
9773
9786
  ), s && /* @__PURE__ */ e.createElement(
@@ -9776,7 +9789,7 @@ const bt = ({
9776
9789
  ariaLabel: c,
9777
9790
  className: `${p}__dismiss`,
9778
9791
  onClick: w,
9779
- size: f ? "xl" : "l"
9792
+ size: C ? "xl" : "l"
9780
9793
  }
9781
9794
  ))
9782
9795
  );
@@ -9796,7 +9809,7 @@ const bt = ({
9796
9809
  size: "l",
9797
9810
  tabIndex: 0
9798
9811
  }
9799
- ), Q0 = ({
9812
+ ), J0 = ({
9800
9813
  className: a,
9801
9814
  labelStrings: l = s4,
9802
9815
  limit: t = 5,
@@ -9845,10 +9858,10 @@ const bt = ({
9845
9858
  success: `${r}--success`,
9846
9859
  warning: `${r}--warning`,
9847
9860
  working: `${r}--working`
9848
- }, i = `${o[s]} `, { labelStrings: m } = K2(l4), [h, f] = j(!1), u = n !== void 0 && s !== "critical" && s !== "working" && typeof a == "number", p = () => {
9849
- f(!0), f1.pause({ id: n });
9850
- }, C = () => {
9851
- f(!1), f1.play({ id: n });
9861
+ }, i = `${o[s]} `, { labelStrings: m } = K2(l4), [h, C] = q(!1), u = n !== void 0 && s !== "critical" && s !== "working" && typeof a == "number", p = () => {
9862
+ C(!0), f1.pause({ id: n });
9863
+ }, f = () => {
9864
+ C(!1), f1.play({ id: n });
9852
9865
  };
9853
9866
  return /* @__PURE__ */ e.createElement(
9854
9867
  "div",
@@ -9870,7 +9883,7 @@ const bt = ({
9870
9883
  {
9871
9884
  "aria-label": h ? m.resume : m.pause,
9872
9885
  className: `${r}__pause-button`,
9873
- onClick: h ? C : p,
9886
+ onClick: h ? f : p,
9874
9887
  type: "button"
9875
9888
  },
9876
9889
  /* @__PURE__ */ e.createElement(F, { iconName: h ? "play" : "pause" })
@@ -9878,7 +9891,7 @@ const bt = ({
9878
9891
  );
9879
9892
  };
9880
9893
  var Zt = /* @__PURE__ */ ((a) => (a.Critical = "critical", a.Info = "info", a.Success = "success", a.Warning = "warning", a.Working = "working", a))(Zt || {});
9881
- const J0 = () => {
9894
+ const ea = () => {
9882
9895
  const a = (t, c, n = {}) => {
9883
9896
  const s = n.toastId ?? Ye(), o = typeof n.autoClose == "number" ? Math.max(Rt, n.autoClose) : !1, r = /* @__PURE__ */ e.createElement(
9884
9897
  Ot,
@@ -9924,19 +9937,19 @@ const J0 = () => {
9924
9937
  const i = Math.max(l - a, 1), m = Math.min(
9925
9938
  l + a,
9926
9939
  s
9927
- ), h = i > 2, f = m < s - 2;
9928
- if (!h && f) {
9940
+ ), h = i > 2, C = m < s - 2;
9941
+ if (!h && C) {
9929
9942
  const u = 3 + 2 * a;
9930
9943
  return [...C2(1, u), i2, s];
9931
9944
  }
9932
- if (h && !f) {
9945
+ if (h && !C) {
9933
9946
  const u = 3 + 2 * a, p = C2(
9934
9947
  s - u + 1,
9935
9948
  s
9936
9949
  );
9937
9950
  return [r, i2, ...p];
9938
9951
  }
9939
- if (h && f) {
9952
+ if (h && C) {
9940
9953
  const u = C2(i, m);
9941
9954
  return [
9942
9955
  r,
@@ -9946,7 +9959,7 @@ const J0 = () => {
9946
9959
  d
9947
9960
  ];
9948
9961
  }
9949
- }, [c, t, a, l]), ea = ({
9962
+ }, [c, t, a, l]), ta = ({
9950
9963
  bufferCount: a = 1,
9951
9964
  className: l,
9952
9965
  currentPage: t,
@@ -9967,18 +9980,18 @@ const J0 = () => {
9967
9980
  totalItemCount: i,
9968
9981
  bufferCount: a,
9969
9982
  itemsPerPage: s
9970
- }), f = h[h.length - 1], u = () => {
9983
+ }), C = h[h.length - 1], u = () => {
9971
9984
  r(t + 1);
9972
9985
  }, p = () => {
9973
9986
  r(t - 1);
9974
- }, C = "pds-pagination", b = `${C}__item`, v = `${b}--current`;
9987
+ }, f = "pds-pagination", b = `${f}__item`, v = `${b}--current`;
9975
9988
  return t === 0 || h.length < 2 ? null : /* @__PURE__ */ e.createElement(
9976
9989
  "nav",
9977
9990
  {
9978
9991
  "aria-labelledby": "pagination",
9979
9992
  className: $([
9980
- C,
9981
- d === "m" ? `${C}--m` : null,
9993
+ f,
9994
+ d === "m" ? `${f}--m` : null,
9982
9995
  l ?? ""
9983
9996
  ]),
9984
9997
  ...m
@@ -9986,15 +9999,15 @@ const J0 = () => {
9986
9999
  /* @__PURE__ */ e.createElement(
9987
10000
  c2,
9988
10001
  {
9989
- baseClass: C,
10002
+ baseClass: f,
9990
10003
  className: "visually-hidden",
9991
10004
  id: "pagination",
9992
10005
  level: c
9993
10006
  },
9994
10007
  n
9995
10008
  ),
9996
- /* @__PURE__ */ e.createElement("ul", { className: `${C}__list` }, t !== 1 && /* @__PURE__ */ e.createElement("li", { className: $([b, `${b}--prev`]) }, /* @__PURE__ */ e.createElement(
9997
- we,
10009
+ /* @__PURE__ */ e.createElement("ul", { className: `${f}__list` }, t !== 1 && /* @__PURE__ */ e.createElement("li", { className: $([b, `${b}--prev`]) }, /* @__PURE__ */ e.createElement(
10010
+ Le,
9998
10011
  {
9999
10012
  content: o.previous,
10000
10013
  customTrigger: /* @__PURE__ */ e.createElement(
@@ -10032,8 +10045,8 @@ const J0 = () => {
10032
10045
  },
10033
10046
  E
10034
10047
  )
10035
- )), t !== f && /* @__PURE__ */ e.createElement("li", { className: $([b, `${b}--next`]) }, /* @__PURE__ */ e.createElement(
10036
- we,
10048
+ )), t !== C && /* @__PURE__ */ e.createElement("li", { className: $([b, `${b}--next`]) }, /* @__PURE__ */ e.createElement(
10049
+ Le,
10037
10050
  {
10038
10051
  content: o.next,
10039
10052
  customTrigger: /* @__PURE__ */ e.createElement(
@@ -10068,12 +10081,12 @@ const J0 = () => {
10068
10081
  () => Math.ceil(r / n),
10069
10082
  [r, n]
10070
10083
  ), h = Me(
10071
- () => Array.from({ length: m }, (C, b) => ({
10084
+ () => Array.from({ length: m }, (f, b) => ({
10072
10085
  label: String(b + 1),
10073
10086
  value: String(b + 1)
10074
10087
  })),
10075
10088
  [m]
10076
- ), f = l <= 1, u = l >= m, p = "pds-pagination-compact";
10089
+ ), C = l <= 1, u = l >= m, p = "pds-pagination-compact";
10077
10090
  return /* @__PURE__ */ e.createElement(
10078
10091
  "nav",
10079
10092
  {
@@ -10097,7 +10110,7 @@ const J0 = () => {
10097
10110
  autoWidth: !0,
10098
10111
  id: i,
10099
10112
  label: s.pageSelect,
10100
- onOptionSelect: (C) => o(Number(C.value)),
10113
+ onOptionSelect: (f) => o(Number(f.value)),
10101
10114
  options: h,
10102
10115
  showLabel: !1,
10103
10116
  size: "s",
@@ -10106,26 +10119,26 @@ const J0 = () => {
10106
10119
  ),
10107
10120
  /* @__PURE__ */ e.createElement("span", { className: `${p}__count` }, s.of, " ", m),
10108
10121
  /* @__PURE__ */ e.createElement("div", { className: `${p}__nav` }, /* @__PURE__ */ e.createElement(
10109
- we,
10122
+ Le,
10110
10123
  {
10111
10124
  content: s.previous,
10112
10125
  customTrigger: /* @__PURE__ */ e.createElement(
10113
10126
  "button",
10114
10127
  {
10115
- "aria-disabled": f ? !0 : void 0,
10128
+ "aria-disabled": C ? !0 : void 0,
10116
10129
  "aria-label": s.previous,
10117
10130
  className: $([
10118
10131
  `${p}__btn`,
10119
- f ? `${p}__btn--disabled` : null
10132
+ C ? `${p}__btn--disabled` : null
10120
10133
  ]),
10121
- onClick: f ? void 0 : () => o(l - 1),
10134
+ onClick: C ? void 0 : () => o(l - 1),
10122
10135
  type: "button"
10123
10136
  },
10124
10137
  /* @__PURE__ */ e.createElement(F, { iconName: "angleLeft", size: "m" })
10125
10138
  )
10126
10139
  }
10127
10140
  ), /* @__PURE__ */ e.createElement(
10128
- we,
10141
+ Le,
10129
10142
  {
10130
10143
  content: s.next,
10131
10144
  customTrigger: /* @__PURE__ */ e.createElement(
@@ -10145,7 +10158,7 @@ const J0 = () => {
10145
10158
  }
10146
10159
  ))
10147
10160
  );
10148
- }, ta = ({
10161
+ }, aa = ({
10149
10162
  className: a,
10150
10163
  currentPage: l,
10151
10164
  headingLevel: t = "h2",
@@ -10164,7 +10177,7 @@ const J0 = () => {
10164
10177
  const h = Me(
10165
10178
  () => Math.ceil(i / n),
10166
10179
  [i, n]
10167
- ), f = l <= 1, u = l >= h, p = "pds-pagination-mini";
10180
+ ), C = l <= 1, u = l >= h, p = "pds-pagination-mini";
10168
10181
  return /* @__PURE__ */ e.createElement(
10169
10182
  "nav",
10170
10183
  {
@@ -10182,7 +10195,7 @@ const J0 = () => {
10182
10195
  },
10183
10196
  c
10184
10197
  ),
10185
- !f && /* @__PURE__ */ e.createElement(
10198
+ !C && /* @__PURE__ */ e.createElement(
10186
10199
  "button",
10187
10200
  {
10188
10201
  className: $([
@@ -10209,7 +10222,7 @@ const J0 = () => {
10209
10222
  /* @__PURE__ */ e.createElement("span", { className: `${p}__nav` }, /* @__PURE__ */ e.createElement("span", null, o), /* @__PURE__ */ e.createElement(F, { iconName: "angleRight", size: "m" }))
10210
10223
  )
10211
10224
  );
10212
- }, aa = ({
10225
+ }, sa = ({
10213
10226
  children: a,
10214
10227
  className: l,
10215
10228
  id: t,
@@ -10218,20 +10231,20 @@ const J0 = () => {
10218
10231
  summary: s,
10219
10232
  ...o
10220
10233
  }) => {
10221
- const [r, d] = j(c), m = de(
10234
+ const [r, d] = q(c), m = de(
10222
10235
  t || `expansion-panel-${Ye()}`
10223
- ).current, h = "pds-expansion-panel", f = n ? null : `${h}--no-border`, u = de(null);
10236
+ ).current, h = "pds-expansion-panel", C = n ? null : `${h}--no-border`, u = de(null);
10224
10237
  return ae(() => {
10225
10238
  const p = u.current;
10226
10239
  if (!p) return;
10227
- const C = (b) => {
10240
+ const f = (b) => {
10228
10241
  b.preventDefault(), d((v) => !v);
10229
10242
  };
10230
- return p.addEventListener("click", C), () => p.removeEventListener("click", C);
10243
+ return p.addEventListener("click", f), () => p.removeEventListener("click", f);
10231
10244
  }, []), /* @__PURE__ */ e.createElement(
10232
10245
  "div",
10233
10246
  {
10234
- className: $([h, f, l]),
10247
+ className: $([h, C, l]),
10235
10248
  ...o
10236
10249
  },
10237
10250
  /* @__PURE__ */ e.createElement("details", { key: m, id: m, open: r }, /* @__PURE__ */ e.createElement("summary", { ref: u }, /* @__PURE__ */ e.createElement("span", null, s), /* @__PURE__ */ e.createElement(
@@ -10242,7 +10255,7 @@ const J0 = () => {
10242
10255
  }
10243
10256
  )), /* @__PURE__ */ e.createElement("div", { className: `${h}__content` }, a))
10244
10257
  );
10245
- }, sa = ({
10258
+ }, la = ({
10246
10259
  children: a,
10247
10260
  className: l,
10248
10261
  displayType: t = "standard",
@@ -10257,7 +10270,7 @@ const J0 = () => {
10257
10270
  },
10258
10271
  a
10259
10272
  );
10260
- }, la = ({
10273
+ }, ca = ({
10261
10274
  children: a,
10262
10275
  className: l,
10263
10276
  padding: t = "standard",
@@ -10273,7 +10286,7 @@ const J0 = () => {
10273
10286
  },
10274
10287
  /* @__PURE__ */ e.createElement("div", { className: $([r, d]) }, a)
10275
10288
  );
10276
- }, ca = ({
10289
+ }, na = ({
10277
10290
  background: a = "default",
10278
10291
  children: l,
10279
10292
  className: t,
@@ -10296,22 +10309,22 @@ const J0 = () => {
10296
10309
  },
10297
10310
  l
10298
10311
  );
10299
- }, na = ({
10312
+ }, ra = ({
10300
10313
  children: a,
10301
10314
  className: l,
10302
10315
  expandButtonAriaLabel: t,
10303
10316
  isExpandable: c = !1,
10304
10317
  ...n
10305
10318
  }) => {
10306
- const s = "pds-panel-row", [o, r] = j(!1), d = de(null), i = de(null), m = Fe(a), h = m["items-left"], f = m["items-right"], u = m["items-below"], p = () => {
10307
- const C = i.current, b = d.current;
10308
- if (!C || !b) return;
10319
+ const s = "pds-panel-row", [o, r] = q(!1), d = de(null), i = de(null), m = Fe(a), h = m["items-left"], C = m["items-right"], u = m["items-below"], p = () => {
10320
+ const f = i.current, b = d.current;
10321
+ if (!f || !b) return;
10309
10322
  const v = !o;
10310
- r(v), v ? (Object.assign(C.style, {
10323
+ r(v), v ? (Object.assign(f.style, {
10311
10324
  display: "block",
10312
10325
  height: "auto",
10313
10326
  opacity: "1"
10314
- }), b.classList.add("is-expanded")) : (Object.assign(C.style, {
10327
+ }), b.classList.add("is-expanded")) : (Object.assign(f.style, {
10315
10328
  height: "0",
10316
10329
  opacity: "0",
10317
10330
  display: "none"
@@ -10333,7 +10346,7 @@ const J0 = () => {
10333
10346
  ])
10334
10347
  },
10335
10348
  h && /* @__PURE__ */ e.createElement("div", { className: `${s}__items ${s}__items--left` }, h),
10336
- f && /* @__PURE__ */ e.createElement("div", { className: `${s}__items ${s}__items--right` }, f),
10349
+ C && /* @__PURE__ */ e.createElement("div", { className: `${s}__items ${s}__items--right` }, C),
10337
10350
  c && /* @__PURE__ */ e.createElement(
10338
10351
  "button",
10339
10352
  {
@@ -10361,7 +10374,7 @@ const J0 = () => {
10361
10374
  /* @__PURE__ */ e.createElement("div", { className: `${s}__items-inside` }, u)
10362
10375
  )
10363
10376
  );
10364
- }, je = 8, C1 = 14, qt = 6, ra = ({
10377
+ }, je = 8, C1 = 14, qt = 6, oa = ({
10365
10378
  className: a,
10366
10379
  classNameContainer: l,
10367
10380
  closeButtonLabel: t = "Close",
@@ -10376,12 +10389,12 @@ const J0 = () => {
10376
10389
  setPopoverIsOpen: m = () => {
10377
10390
  },
10378
10391
  title: h,
10379
- triggerAccessibleText: f = "Show more information",
10392
+ triggerAccessibleText: C = "Show more information",
10380
10393
  triggerIcon: u = "circleInfo",
10381
10394
  triggerIconSize: p = "m",
10382
- ...C
10395
+ ...f
10383
10396
  }) => {
10384
- const [b, v] = j(i);
10397
+ const [b, v] = q(i);
10385
10398
  ae(() => {
10386
10399
  v(i);
10387
10400
  }, [i]), ae(() => {
@@ -10409,7 +10422,7 @@ const J0 = () => {
10409
10422
  D,
10410
10423
  H,
10411
10424
  O
10412
- ]), q = P.arrow?.x ?? 0, Z = P.arrow?.y ?? 0, B = q + C1 / 2, I = Z + je, { isMounted: V } = Ke(w, {
10425
+ ]), j = P.arrow?.x ?? 0, Z = P.arrow?.y ?? 0, B = j + C1 / 2, I = Z + je, { isMounted: V } = Ke(w, {
10413
10426
  initial: {
10414
10427
  transform: "scale(0)"
10415
10428
  },
@@ -10422,7 +10435,7 @@ const J0 = () => {
10422
10435
  }[x]
10423
10436
  })
10424
10437
  });
10425
- return /* @__PURE__ */ e.createElement("div", { className: $([g, a]), ...C }, /* @__PURE__ */ e.createElement(
10438
+ return /* @__PURE__ */ e.createElement("div", { className: $([g, a]), ...f }, /* @__PURE__ */ e.createElement(
10426
10439
  "span",
10427
10440
  {
10428
10441
  ref: M.setReference,
@@ -10430,9 +10443,9 @@ const J0 = () => {
10430
10443
  role: "button",
10431
10444
  tabIndex: 0,
10432
10445
  ...Y(),
10433
- ...C
10446
+ ...f
10434
10447
  },
10435
- n ? /* @__PURE__ */ e.createElement("span", { className: _ }, n) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, f), /* @__PURE__ */ e.createElement(
10448
+ n ? /* @__PURE__ */ e.createElement("span", { className: _ }, n) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, C), /* @__PURE__ */ e.createElement(
10436
10449
  F,
10437
10450
  {
10438
10451
  className: `${g}__icon`,
@@ -10488,7 +10501,7 @@ const J0 = () => {
10488
10501
  success: "--pds-color-status-success-foreground",
10489
10502
  warning: "--pds-color-status-warning-foreground",
10490
10503
  critical: "--pds-color-status-critical-foreground"
10491
- }, oa = ({
10504
+ }, ia = ({
10492
10505
  className: a,
10493
10506
  colorBreakpoints: l = [
10494
10507
  { colorType: "info", percentage: 0 },
@@ -10504,27 +10517,27 @@ const J0 = () => {
10504
10517
  size: i = "m",
10505
10518
  ...m
10506
10519
  }) => {
10507
- const h = t || Ye(), f = "pds-progress-bar", u = r ? `${f}__label` : "visually-hidden", p = $([
10508
- `${f}__track`,
10509
- i !== "m" ? `${f}__track--${i}` : null
10510
- ]), C = o > 100 ? 100 : o;
10520
+ const h = t || Ye(), C = "pds-progress-bar", u = r ? `${C}__label` : "visually-hidden", p = $([
10521
+ `${C}__track`,
10522
+ i !== "m" ? `${C}__track--${i}` : null
10523
+ ]), f = o > 100 ? 100 : o;
10511
10524
  let b = "neutral";
10512
10525
  l.forEach((_) => {
10513
10526
  o >= _.percentage && (b = _.colorType);
10514
10527
  });
10515
- const v = /* @__PURE__ */ e.createElement("div", { className: `${f}__message` }, n), E = n && s === "above", g = n && s === "below";
10528
+ const v = /* @__PURE__ */ e.createElement("div", { className: `${C}__message` }, n), E = n && s === "above", g = n && s === "below";
10516
10529
  return /* @__PURE__ */ e.createElement(
10517
10530
  "div",
10518
10531
  {
10519
- className: $([f, a]),
10520
- style: { "--bar-percentage": `${C}%` },
10532
+ className: $([C, a]),
10533
+ style: { "--bar-percentage": `${f}%` },
10521
10534
  ...m
10522
10535
  },
10523
10536
  /* @__PURE__ */ e.createElement("div", { className: u, id: h }, c),
10524
- (E || d) && /* @__PURE__ */ e.createElement("div", { className: `${f}__details` }, E && v, d && /* @__PURE__ */ e.createElement(
10537
+ (E || d) && /* @__PURE__ */ e.createElement("div", { className: `${C}__details` }, E && v, d && /* @__PURE__ */ e.createElement(
10525
10538
  "div",
10526
10539
  {
10527
- className: `${f}__percentage`,
10540
+ className: `${C}__percentage`,
10528
10541
  style: {
10529
10542
  color: `hsl(from var(${v1[b]}) h s calc(l - 7))`
10530
10543
  }
@@ -10532,20 +10545,20 @@ const J0 = () => {
10532
10545
  o,
10533
10546
  "%"
10534
10547
  )),
10535
- /* @__PURE__ */ e.createElement("div", { className: `${f}__wrapper` }, /* @__PURE__ */ e.createElement(
10548
+ /* @__PURE__ */ e.createElement("div", { className: `${C}__wrapper` }, /* @__PURE__ */ e.createElement(
10536
10549
  "div",
10537
10550
  {
10538
10551
  "aria-labelledby": h,
10539
- "aria-valuenow": C,
10552
+ "aria-valuenow": f,
10540
10553
  className: p,
10541
10554
  role: "progressbar"
10542
10555
  },
10543
- C > 0 && /* @__PURE__ */ e.createElement(
10556
+ f > 0 && /* @__PURE__ */ e.createElement(
10544
10557
  "div",
10545
10558
  {
10546
- className: `${f}__bar`,
10559
+ className: `${C}__bar`,
10547
10560
  style: {
10548
- width: `${C}%`,
10561
+ width: `${f}%`,
10549
10562
  backgroundColor: `var(${v1[b]})`
10550
10563
  }
10551
10564
  }
@@ -10564,13 +10577,13 @@ const J0 = () => {
10564
10577
  size: r = "m",
10565
10578
  ...d
10566
10579
  }) => {
10567
- const i = l || Ye(), m = "pds-progress-ring", h = s ? `${m}__label` : "visually-hidden", f = $([
10580
+ const i = l || Ye(), m = "pds-progress-ring", h = s ? `${m}__label` : "visually-hidden", C = $([
10568
10581
  `${m}__loading-text`,
10569
10582
  r !== "m" ? `${m}__loading-text--${r}` : null
10570
10583
  ]), u = (_) => _ * 16;
10571
- let p = u(parseFloat(X2)), C = 7;
10572
- r === "s" && (p = u(parseFloat(Q2)), C = C / 1.25), r === "l" && (p = u(parseFloat(S1)), C = C * 1.25);
10573
- const b = p / 2 - C / 2, v = 2 * Math.PI * b, E = v - v * n / 100;
10584
+ let p = u(parseFloat(X2)), f = 7;
10585
+ r === "s" && (p = u(parseFloat(Q2)), f = f / 1.25), r === "l" && (p = u(parseFloat(S1)), f = f * 1.25);
10586
+ const b = p / 2 - f / 2, v = 2 * Math.PI * b, E = v - v * n / 100;
10574
10587
  let g;
10575
10588
  return t ? g = t : o ? g = `${n}%` : g = "", /* @__PURE__ */ e.createElement(
10576
10589
  "div",
@@ -10607,7 +10620,7 @@ const J0 = () => {
10607
10620
  cx: p / 2,
10608
10621
  cy: p / 2,
10609
10622
  r: b,
10610
- strokeWidth: C
10623
+ strokeWidth: f
10611
10624
  }
10612
10625
  ),
10613
10626
  /* @__PURE__ */ e.createElement(
@@ -10619,7 +10632,7 @@ const J0 = () => {
10619
10632
  r: b,
10620
10633
  strokeDasharray: v,
10621
10634
  strokeDashoffset: E,
10622
- strokeWidth: C,
10635
+ strokeWidth: f,
10623
10636
  transform: `rotate(-90 ${p / 2} ${p / 2})`
10624
10637
  }
10625
10638
  ),
@@ -10627,7 +10640,7 @@ const J0 = () => {
10627
10640
  "text",
10628
10641
  {
10629
10642
  alignmentBaseline: "middle",
10630
- className: f,
10643
+ className: C,
10631
10644
  dominantBaseline: "middle",
10632
10645
  textAnchor: "middle",
10633
10646
  x: "50%",
@@ -10638,20 +10651,7 @@ const J0 = () => {
10638
10651
  )
10639
10652
  )
10640
10653
  );
10641
- }, ia = ({
10642
- className: a,
10643
- destination: l = "main",
10644
- text: t = "Skip to main content",
10645
- ...c
10646
- }) => /* @__PURE__ */ e.createElement(
10647
- "a",
10648
- {
10649
- className: $(["pds-skiplink", a]),
10650
- href: `#${l}`,
10651
- ...c
10652
- },
10653
- t
10654
- ), da = ({
10654
+ }, da = ({
10655
10655
  alignment: a = "left",
10656
10656
  className: l,
10657
10657
  componentWidth: t,
@@ -10688,7 +10688,7 @@ const J0 = () => {
10688
10688
  }
10689
10689
  return d.checked;
10690
10690
  }
10691
- }, m = "pds-status-checker", h = `${m}--${a}`, f = $([
10691
+ }, m = "pds-status-checker", h = `${m}--${a}`, C = $([
10692
10692
  `${m}__button`,
10693
10693
  o === "working" ? `${m}__button--spinning` : ""
10694
10694
  ]), u = t !== null && t > 0 ? `${t}rem` : "100%", p = /* @__PURE__ */ e.createElement("span", { className: `${m}__tooltip-icon` }, /* @__PURE__ */ e.createElement(
@@ -10698,7 +10698,7 @@ const J0 = () => {
10698
10698
  iconName: "rotate",
10699
10699
  size: "m"
10700
10700
  }
10701
- )), C = /* @__PURE__ */ e.createElement("span", { className: `${m}__label` }, i());
10701
+ )), f = /* @__PURE__ */ e.createElement("span", { className: `${m}__label` }, i());
10702
10702
  return /* @__PURE__ */ e.createElement(
10703
10703
  "div",
10704
10704
  {
@@ -10711,13 +10711,13 @@ const J0 = () => {
10711
10711
  {
10712
10712
  "aria-label": d.ariaLabel,
10713
10713
  "aria-live": "polite",
10714
- className: f,
10714
+ className: C,
10715
10715
  onClick: s,
10716
10716
  type: "button"
10717
10717
  },
10718
- a === "right" && C,
10718
+ a === "right" && f,
10719
10719
  /* @__PURE__ */ e.createElement(
10720
- we,
10720
+ Le,
10721
10721
  {
10722
10722
  content: d.tooltipContent || d.ariaLabel,
10723
10723
  customTrigger: p,
@@ -10725,7 +10725,7 @@ const J0 = () => {
10725
10725
  triggerIconSize: "s"
10726
10726
  }
10727
10727
  ),
10728
- a === "left" && C
10728
+ a === "left" && f
10729
10729
  )
10730
10730
  );
10731
10731
  }, ma = ({
@@ -10768,14 +10768,14 @@ const J0 = () => {
10768
10768
  },
10769
10769
  ...c
10770
10770
  }) => {
10771
- const n = "pds-stepper", s = "pds-stepper-mobile", o = de(null), [r] = H1(o), d = r.width, i = parseFloat(k4) * 16, m = -36, h = 2, f = 5, u = l.length, p = l.map((v) => v.isCurrent).lastIndexOf(!0), C = l.map((v, E) => {
10771
+ const n = "pds-stepper", s = "pds-stepper-mobile", o = de(null), [r] = H1(o), d = r.width, i = parseFloat(k4) * 16, m = -36, h = 2, C = 5, u = l.length, p = l.map((v) => v.isCurrent).lastIndexOf(!0), f = l.map((v, E) => {
10772
10772
  const g = E + 1, _ = E === p, N = v.isComplete || E < p, z = v.hasError && _, k = (d - u * i) / (u + (u - 2)), P = i + k * 2, M = i + k, L = k + m * -1, D = E === 0, H = E === u - 1;
10773
10773
  let O = P;
10774
10774
  (D || H) && (O = M);
10775
10775
  const S = `${n}__step`, Y = [S];
10776
10776
  _ && Y.push(`${S}--current`), N && Y.push(`${S}--complete`), z && Y.push(`${S}--error`);
10777
- let q = `${t.step} ${g}`;
10778
- N && (q = `${t.step} ${g}, ${t.completed}`), z && (q = `${t.step} ${g}, ${t.hasError}`);
10777
+ let j = `${t.step} ${g}`;
10778
+ N && (j = `${t.step} ${g}, ${t.completed}`), z && (j = `${t.step} ${g}, ${t.hasError}`);
10779
10779
  const Z = N ? /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${n}__step-indicator` }, /* @__PURE__ */ e.createElement(
10780
10780
  "svg",
10781
10781
  {
@@ -10810,7 +10810,7 @@ const J0 = () => {
10810
10810
  {
10811
10811
  key: v.id,
10812
10812
  "aria-current": _ ? "step" : null,
10813
- "aria-label": q,
10813
+ "aria-label": j,
10814
10814
  "aria-posinset": g,
10815
10815
  "aria-setsize": u,
10816
10816
  className: $(Y),
@@ -10872,7 +10872,7 @@ const J0 = () => {
10872
10872
  );
10873
10873
  }
10874
10874
  });
10875
- if (u >= h && u <= f)
10875
+ if (u >= h && u <= C)
10876
10876
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
10877
10877
  "div",
10878
10878
  {
@@ -10880,7 +10880,7 @@ const J0 = () => {
10880
10880
  "data-steps": u,
10881
10881
  ...c
10882
10882
  },
10883
- /* @__PURE__ */ e.createElement("ol", { ref: o, className: `${n}__steps` }, C)
10883
+ /* @__PURE__ */ e.createElement("ol", { ref: o, className: `${n}__steps` }, f)
10884
10884
  ), /* @__PURE__ */ e.createElement(
10885
10885
  "div",
10886
10886
  {
@@ -10902,8 +10902,8 @@ const J0 = () => {
10902
10902
  stepContent: d,
10903
10903
  ...i
10904
10904
  }) => {
10905
- const m = "pds-vert-stepper", h = `${m}__step`, f = [h];
10906
- return o && f.push(`${h}--current`), s && f.push(`${h}--complete`), c && f.push(`${h}--error`), /* @__PURE__ */ e.createElement("li", { className: $([...f]), id: n, ...i }, /* @__PURE__ */ e.createElement("div", { className: `${m}__step-header` }, /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${m}__step-indicator` }, s && /* @__PURE__ */ e.createElement(
10905
+ const m = "pds-vert-stepper", h = `${m}__step`, C = [h];
10906
+ return o && C.push(`${h}--current`), s && C.push(`${h}--complete`), c && C.push(`${h}--error`), /* @__PURE__ */ e.createElement("li", { className: $([...C]), id: n, ...i }, /* @__PURE__ */ e.createElement("div", { className: `${m}__step-header` }, /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${m}__step-indicator` }, s && /* @__PURE__ */ e.createElement(
10907
10907
  "svg",
10908
10908
  {
10909
10909
  "aria-hidden": "true",
@@ -10927,22 +10927,22 @@ const J0 = () => {
10927
10927
  ...c
10928
10928
  }) => {
10929
10929
  const n = "pds-vert-stepper", r = t.length, d = t.findIndex((h) => h.isCurrent), i = t.map((m, h) => {
10930
- const f = h + 1, u = h === d, p = h === 0, C = m.isComplete || !1, b = m.hasError && u;
10931
- let v = `${l.step} ${f}`;
10932
- return C && (v = `${l.step} ${f}, ${l.completed}`), b && (v = `${l.step} ${f}, ${l.hasError}`), /* @__PURE__ */ e.createElement(
10930
+ const C = h + 1, u = h === d, p = h === 0, f = m.isComplete || !1, b = m.hasError && u;
10931
+ let v = `${l.step} ${C}`;
10932
+ return f && (v = `${l.step} ${C}, ${l.completed}`), b && (v = `${l.step} ${C}, ${l.hasError}`), /* @__PURE__ */ e.createElement(
10933
10933
  Wt,
10934
10934
  {
10935
- key: `s${f}`,
10935
+ key: `s${C}`,
10936
10936
  _isFirstStep: p,
10937
10937
  "aria-current": u ? "step" : null,
10938
10938
  "aria-label": v,
10939
- "aria-posinset": f,
10939
+ "aria-posinset": C,
10940
10940
  "aria-setsize": r,
10941
10941
  backButton: m.backButton,
10942
10942
  forwardButton: m.forwardButton,
10943
10943
  hasError: b,
10944
10944
  id: m.id,
10945
- isComplete: C,
10945
+ isComplete: f,
10946
10946
  isCurrent: u,
10947
10947
  label: m.label,
10948
10948
  stepContent: m.stepContent
@@ -10964,10 +10964,10 @@ const J0 = () => {
10964
10964
  getRowId: i,
10965
10965
  getSelectRowLabel: m = (L, D) => `Select row ${D}`,
10966
10966
  getSortLabel: h = (L) => `Sort by ${L}`,
10967
- isLoading: f = !1,
10967
+ isLoading: C = !1,
10968
10968
  itemsPerPage: u,
10969
10969
  loadingRowCount: p = 5,
10970
- onPageChange: C,
10970
+ onPageChange: f,
10971
10971
  onPageSizeChange: b,
10972
10972
  onRowSelectionChange: v,
10973
10973
  onSort: E,
@@ -10980,52 +10980,65 @@ const J0 = () => {
10980
10980
  totalItemCount: P,
10981
10981
  ...M
10982
10982
  }) => {
10983
- const L = "pds-table", D = O2(), H = O2(), O = E !== void 0, S = C !== void 0, Y = b !== void 0, q = S || u !== void 0 || g !== void 0, [Z, B] = j({
10983
+ const L = "pds-table", D = O2(), H = O2(), O = E !== void 0, S = f !== void 0, Y = b !== void 0, j = S || u !== void 0 || g !== void 0, [Z, B] = q({
10984
10984
  key: c ?? "",
10985
10985
  order: c !== void 0 ? n : "asc"
10986
- }), [I, V] = j(1), [x, G] = j(
10986
+ }), [I, V] = q(1), [x, G] = q(
10987
10987
  u ?? g?.[0] ?? 10
10988
- ), W = S ? u ?? 10 : x, y = (R) => {
10989
- Y ? b(R) : G(R), S || V(1);
10990
- }, X = v !== void 0, K = z !== void 0, [ne, U] = j(
10988
+ ), W = S ? u ?? 10 : x, y = (T) => {
10989
+ Y ? b(T) : G(T), S || V(1);
10990
+ };
10991
+ ae(() => {
10992
+ S || V(1);
10993
+ }, [_.length, S]), ae(() => {
10994
+ process.env.NODE_ENV !== "production" && t !== void 0 && !f && console.warn(
10995
+ "[Table] `currentPage` was provided without `onPageChange`. Controlled pagination requires both props. The table is running in uncontrolled mode."
10996
+ );
10997
+ }, []);
10998
+ const X = v !== void 0, K = z !== void 0, [ne, U] = q(
10991
10999
  /* @__PURE__ */ new Set()
10992
11000
  ), A = K ? new Set(z) : ne, ee = Me(
10993
- () => new Map(_.map((R, J) => [R, J])),
11001
+ () => new Map(_.map((T, J) => [T, J])),
10994
11002
  [_]
10995
- ), oe = (R, J) => i ? i(R) : String(ee.get(R) ?? J), Q = O ? w ?? "" : Z.key, me = O ? k ?? "asc" : Z.order, pe = Me(() => {
10996
- if (f) return [];
10997
- let R = _;
10998
- if (!O && Z.key !== "" && (R = [...R].sort((J, ve) => {
10999
- const T = String(J[Z.key]).localeCompare(String(ve[Z.key]));
11000
- return Z.order === "asc" ? T : -T;
11001
- })), !S && W) {
11003
+ ), oe = (T, J) => i ? i(T) : String(ee.get(T) ?? J), Q = O ? w ?? "" : Z.key, me = O ? k ?? "asc" : Z.order, pe = Me(() => {
11004
+ if (C) return [];
11005
+ let T = _;
11006
+ if (!O && Z.key !== "") {
11007
+ const fe = l.find((R) => R.id === Z.key)?.sortKey ?? Z.key;
11008
+ T = [...T].sort((R, le) => {
11009
+ const Ee = String(R[fe]).localeCompare(String(le[fe]));
11010
+ return Z.order === "asc" ? Ee : -Ee;
11011
+ });
11012
+ }
11013
+ if (!S && j && W) {
11002
11014
  const J = (I - 1) * W;
11003
- R = R.slice(J, J + W);
11015
+ T = T.slice(J, J + W);
11004
11016
  }
11005
- return R;
11017
+ return T;
11006
11018
  }, [
11007
11019
  _,
11008
11020
  Z,
11009
11021
  O,
11010
11022
  S,
11023
+ j,
11011
11024
  I,
11012
11025
  W,
11013
- f
11014
- ]), fe = (R) => {
11015
- O ? E(R, w === R && k === "asc" ? "desc" : "asc") : B((J) => ({
11016
- key: R,
11017
- order: J.key === R && J.order === "asc" ? "desc" : "asc"
11026
+ C
11027
+ ]), Ce = (T) => {
11028
+ O ? E(T, w === T && k === "asc" ? "desc" : "asc") : B((J) => ({
11029
+ key: T,
11030
+ order: J.key === T && J.order === "asc" ? "desc" : "asc"
11018
11031
  }));
11019
- }, Ce = (R) => Q !== R ? "none" : me === "asc" ? "ascending" : "descending", ge = (R, J) => {
11020
- const ve = Q === R, T = Q !== "" && !ve, ce = `${L}__sort-button-${J}`;
11021
- return J === "top" && T ? `${ce}--inactive` : ve && me === "desc" ? `${ce}--desc` : "";
11022
- }, se = pe.map((R, J) => oe(R, J)), ie = se.length > 0 && se.every((R) => A.has(R)), he = !ie && se.some((R) => A.has(R)), Se = (R) => {
11032
+ }, ve = (T) => Q !== T ? "none" : me === "asc" ? "ascending" : "descending", ge = (T, J) => {
11033
+ const fe = Q === T, R = Q !== "" && !fe, le = `${L}__sort-button-${J}`;
11034
+ return J === "top" && R ? `${le}--inactive` : fe && me === "desc" ? `${le}--desc` : "";
11035
+ }, se = pe.map((T, J) => oe(T, J)), ie = se.length > 0 && se.every((T) => A.has(T)), he = !ie && se.some((T) => A.has(T)), Se = (T) => {
11023
11036
  const J = new Set(A);
11024
- J.has(R) ? J.delete(R) : J.add(R), K || U(J), v?.(Array.from(J));
11025
- }, le = () => {
11026
- const R = new Set(A);
11027
- ie || he ? se.forEach((J) => R.delete(J)) : se.forEach((J) => R.add(J)), K || U(R), v?.(Array.from(R));
11028
- }, be = (R) => /* @__PURE__ */ e.createElement("tr", { key: `skeleton-${R}` }, X && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(Ge, { shape: "rounded", size: { height: 1, width: 1 } })), l.map((J) => /* @__PURE__ */ e.createElement("td", { key: `skeleton-${R}-${J.id}` }, /* @__PURE__ */ e.createElement(Ge, { shape: "rounded", size: { height: 1 } })))), ue = () => /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement(
11037
+ J.has(T) ? J.delete(T) : J.add(T), K || U(J), v?.(Array.from(J));
11038
+ }, ce = () => {
11039
+ const T = new Set(A);
11040
+ ie || he ? se.forEach((J) => T.delete(J)) : se.forEach((J) => T.add(J)), K || U(T), v?.(Array.from(T));
11041
+ }, be = (T) => /* @__PURE__ */ e.createElement("tr", { key: `skeleton-${T}` }, X && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(Ge, { shape: "rounded", size: { height: 1, width: 1 } })), l.map((J) => /* @__PURE__ */ e.createElement("td", { key: `skeleton-${T}-${J.id}` }, /* @__PURE__ */ e.createElement(Ge, { shape: "rounded", size: { height: 1 } })))), ue = () => /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement(
11029
11042
  "td",
11030
11043
  {
11031
11044
  className: "pds-table__empty-cell",
@@ -11039,23 +11052,23 @@ const J0 = () => {
11039
11052
  message: r
11040
11053
  }
11041
11054
  )
11042
- )), _e = (R, J) => {
11043
- const ve = oe(R, J);
11044
- return /* @__PURE__ */ e.createElement("tr", { key: `row-${ve}` }, X && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(
11055
+ )), _e = (T, J) => {
11056
+ const fe = oe(T, J);
11057
+ return /* @__PURE__ */ e.createElement("tr", { key: `row-${fe}` }, X && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(
11045
11058
  G2,
11046
11059
  {
11047
- checked: A.has(ve),
11048
- id: `${H}-row-${ve}`,
11049
- label: m(R, J + 1),
11050
- onChange: () => Se(ve),
11060
+ checked: A.has(fe),
11061
+ id: `${H}-row-${fe}`,
11062
+ label: m(T, J + 1),
11063
+ onChange: () => Se(fe),
11051
11064
  showLabel: !1
11052
11065
  }
11053
- )), l.map((T) => /* @__PURE__ */ e.createElement("td", { key: `${ve}-${T.id}` }, R[T.id])));
11066
+ )), l.map((R) => /* @__PURE__ */ e.createElement("td", { key: `${fe}-${R.id}` }, T[R.id])));
11054
11067
  };
11055
11068
  return /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper" }, /* @__PURE__ */ e.createElement(
11056
11069
  "table",
11057
11070
  {
11058
- "aria-busy": f,
11071
+ "aria-busy": C,
11059
11072
  className: $([L, a]),
11060
11073
  ...M
11061
11074
  },
@@ -11066,24 +11079,24 @@ const J0 = () => {
11066
11079
  id: H,
11067
11080
  indeterminate: he,
11068
11081
  label: N,
11069
- onChange: le,
11082
+ onChange: ce,
11070
11083
  showLabel: !1
11071
11084
  }
11072
- )), l.map((R) => /* @__PURE__ */ e.createElement(
11085
+ )), l.map((T) => /* @__PURE__ */ e.createElement(
11073
11086
  "th",
11074
11087
  {
11075
- key: R.id,
11076
- "aria-sort": R.sortable ? Ce(R.id) : void 0
11088
+ key: T.id,
11089
+ "aria-sort": T.sortable ? ve(T.id) : void 0
11077
11090
  },
11078
- R.sortable ? /* @__PURE__ */ e.createElement(
11091
+ T.sortable ? /* @__PURE__ */ e.createElement(
11079
11092
  "button",
11080
11093
  {
11081
- "aria-label": h(N2(R.header)),
11094
+ "aria-label": h(N2(T.header)),
11082
11095
  className: `${L}__sort-button`,
11083
- onClick: () => fe(R.id),
11096
+ onClick: () => Ce(T.id),
11084
11097
  type: "button"
11085
11098
  },
11086
- R.header,
11099
+ T.header,
11087
11100
  /* @__PURE__ */ e.createElement(
11088
11101
  "span",
11089
11102
  {
@@ -11095,7 +11108,7 @@ const J0 = () => {
11095
11108
  {
11096
11109
  className: $([
11097
11110
  `${L}__sort-button-top`,
11098
- ge(R.id, "top")
11111
+ ge(T.id, "top")
11099
11112
  ])
11100
11113
  },
11101
11114
  /* @__PURE__ */ e.createElement(F, { iconName: "caretUp", size: "m" })
@@ -11105,28 +11118,28 @@ const J0 = () => {
11105
11118
  {
11106
11119
  className: $([
11107
11120
  `${L}__sort-button-bottom`,
11108
- ge(R.id, "bottom")
11121
+ ge(T.id, "bottom")
11109
11122
  ])
11110
11123
  },
11111
11124
  /* @__PURE__ */ e.createElement(F, { iconName: "caretDown", size: "m" })
11112
11125
  )
11113
11126
  )
11114
- ) : /* @__PURE__ */ e.createElement("span", null, R.header)
11127
+ ) : /* @__PURE__ */ e.createElement("span", null, T.header)
11115
11128
  )))),
11116
- /* @__PURE__ */ e.createElement("tbody", null, f ? Array.from(
11129
+ /* @__PURE__ */ e.createElement("tbody", null, C ? Array.from(
11117
11130
  { length: p },
11118
- (R, J) => be(J)
11119
- ) : pe.length === 0 ? ue() : pe.map((R, J) => _e(R, J)))
11120
- ), q && !f && (S || _.length > 0) && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination" }, g && g.length > 0 && /* @__PURE__ */ e.createElement(
11131
+ (T, J) => be(J)
11132
+ ) : pe.length === 0 ? ue() : pe.map((T, J) => _e(T, J)))
11133
+ ), j && !C && (S || _.length > 0) && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination" }, g && g.length > 0 && /* @__PURE__ */ e.createElement(
11121
11134
  x2,
11122
11135
  {
11123
11136
  autoWidth: !0,
11124
11137
  id: D,
11125
11138
  label: "Rows per page",
11126
- onOptionSelect: (R) => y(Number(R.value)),
11127
- options: g.map((R) => ({
11128
- label: d(R),
11129
- value: String(R)
11139
+ onOptionSelect: (T) => y(Number(T.value)),
11140
+ options: g.map((T) => ({
11141
+ label: d(T),
11142
+ value: String(T)
11130
11143
  })),
11131
11144
  showLabel: !1,
11132
11145
  size: "s",
@@ -11137,7 +11150,7 @@ const J0 = () => {
11137
11150
  {
11138
11151
  currentPage: S ? t ?? 1 : I,
11139
11152
  itemsPerPage: W,
11140
- onPageChange: S ? C : V,
11153
+ onPageChange: S ? f : V,
11141
11154
  totalItemCount: S ? P ?? 0 : _.length
11142
11155
  }
11143
11156
  ))));
@@ -11152,15 +11165,15 @@ const J0 = () => {
11152
11165
  tabs: o,
11153
11166
  ...r
11154
11167
  }) => {
11155
- const d = "pds-tabs", i = s === "m" ? "m" : "s", m = s === "m" ? "s" : "xs", [h, f] = j(n ?? t);
11168
+ const d = "pds-tabs", i = s === "m" ? "m" : "s", m = s === "m" ? "s" : "xs", [h, C] = q(n ?? t);
11156
11169
  ae(() => {
11157
- n !== void 0 && f(n);
11170
+ n !== void 0 && C(n);
11158
11171
  }, [n]);
11159
11172
  const u = (v) => {
11160
11173
  const E = v.currentTarget.getAttribute("data-tabnumber");
11161
11174
  if (E) {
11162
11175
  const g = parseInt(E, 10);
11163
- f(g);
11176
+ C(g);
11164
11177
  }
11165
11178
  }, p = de([]);
11166
11179
  ae(() => {
@@ -11168,26 +11181,26 @@ const J0 = () => {
11168
11181
  }, [h, c]), ae(() => {
11169
11182
  const v = p.current.length - 1;
11170
11183
  if (h > v) {
11171
- f(0);
11184
+ C(0);
11172
11185
  return;
11173
11186
  } else if (h < 0) {
11174
- f(v);
11187
+ C(v);
11175
11188
  return;
11176
11189
  }
11177
11190
  }, [h]);
11178
- const C = (v, E) => {
11191
+ const f = (v, E) => {
11179
11192
  const g = h;
11180
11193
  let _ = p.current[E === "next" ? g + 1 < p.current.length ? g + 1 : 0 : g - 1 >= 0 ? g - 1 : p.current.length - 1];
11181
11194
  _ || (_ = E == "next" ? p.current[v + 1] == null ? p.current[0] : p.current[v + 1] : p.current[v - 1]), _.focus();
11182
11195
  }, b = (v) => {
11183
11196
  const E = p.current.length, g = () => {
11184
- C((h + 1) % E, "next"), f(h + 1);
11197
+ f((h + 1) % E, "next"), C(h + 1);
11185
11198
  }, _ = () => {
11186
- C((h - 1 + E) % E, "prev"), f(h - 1);
11199
+ f((h - 1 + E) % E, "prev"), C(h - 1);
11187
11200
  }, N = () => {
11188
- C(0), f(0);
11201
+ f(0), C(0);
11189
11202
  }, z = () => {
11190
- C(E - 1), f(E - 1);
11203
+ f(E - 1), C(E - 1);
11191
11204
  }, w = () => {
11192
11205
  p.current[h].focus();
11193
11206
  }, P = {
@@ -11344,11 +11357,11 @@ const J0 = () => {
11344
11357
  tagLabel: r,
11345
11358
  ...d
11346
11359
  }) => {
11347
- const [i, m] = j(!0), h = "pds-tag", f = o ? `${h}--${o}` : `${h}--${Kt(r)}`, u = s !== "m" ? `${h}--${s}` : null, p = i ? null : "pds-tag--hide", C = () => {
11360
+ const [i, m] = q(!0), h = "pds-tag", C = o ? `${h}--${o}` : `${h}--${Kt(r)}`, u = s !== "m" ? `${h}--${s}` : null, p = i ? null : "pds-tag--hide", f = () => {
11348
11361
  m((g) => !g);
11349
11362
  };
11350
11363
  let b, v, E;
11351
- if (t && !l && $e(t)) {
11364
+ if (t && !l && we(t)) {
11352
11365
  b = t.type;
11353
11366
  const g = t.props;
11354
11367
  v = g.href ? "href" : "to", E = v === "href" ? g.href : g.to;
@@ -11359,7 +11372,7 @@ const J0 = () => {
11359
11372
  {
11360
11373
  className: $([
11361
11374
  h,
11362
- f,
11375
+ C,
11363
11376
  u,
11364
11377
  p,
11365
11378
  a
@@ -11375,7 +11388,7 @@ const J0 = () => {
11375
11388
  "aria-label": `${n}: ${r}`,
11376
11389
  className: `${h}__remove`,
11377
11390
  onClick: () => {
11378
- C(), c();
11391
+ f(), c();
11379
11392
  },
11380
11393
  type: "button"
11381
11394
  },
@@ -11408,7 +11421,7 @@ const J0 = () => {
11408
11421
  label: t[i]
11409
11422
  }));
11410
11423
  return /* @__PURE__ */ e.createElement("div", { className: $([o, a]), ...s }, /* @__PURE__ */ e.createElement(
11411
- we,
11424
+ Le,
11412
11425
  {
11413
11426
  content: r,
11414
11427
  customTrigger: /* @__PURE__ */ e.createElement(
@@ -11428,7 +11441,7 @@ const J0 = () => {
11428
11441
  }
11429
11442
  ));
11430
11443
  }, Ut = () => {
11431
- const a = typeof window < "u", l = (n) => n >= M4 ? "xl" : n >= N4 ? "lg" : n >= z4 ? "md" : "sm", [t, c] = j(
11444
+ const a = typeof window < "u", l = (n) => n >= M4 ? "xl" : n >= N4 ? "lg" : n >= z4 ? "md" : "sm", [t, c] = q(
11432
11445
  a ? l(window.innerWidth) : "lg"
11433
11446
  );
11434
11447
  return ae(() => {
@@ -11457,10 +11470,10 @@ const J0 = () => {
11457
11470
  },
11458
11471
  mainBackground: m,
11459
11472
  mainContentElement: h = "main",
11460
- mainContentProps: f,
11473
+ mainContentProps: C,
11461
11474
  onDrawerToggle: u,
11462
11475
  onSidebarToggle: p,
11463
- scrollableContent: C,
11476
+ scrollableContent: f,
11464
11477
  sidebarBackground: b,
11465
11478
  sidebarCollapsedWidth: v = 4.5,
11466
11479
  sidebarExpandedWidth: E = "17%",
@@ -11469,13 +11482,13 @@ const J0 = () => {
11469
11482
  sidebarProps: N,
11470
11483
  ...z
11471
11484
  }) => {
11472
- const [w, k] = j(
11485
+ const [w, k] = q(
11473
11486
  r || !1
11474
11487
  );
11475
11488
  ae(() => {
11476
11489
  k(r || !1);
11477
11490
  }, [r]);
11478
- const P = "pds-app-layout", M = C ? `${P}--scrollable` : null, L = w ? `${v}rem` : `${E}`, D = {
11491
+ const P = "pds-app-layout", M = f ? `${P}--scrollable` : null, L = w ? `${v}rem` : `${E}`, D = {
11479
11492
  backgroundColor: b || void 0,
11480
11493
  maxWidth: w ? void 0 : `${g}rem`,
11481
11494
  minWidth: w ? `${v}rem` : `${_}rem`,
@@ -11502,19 +11515,19 @@ const J0 = () => {
11502
11515
  );
11503
11516
  }
11504
11517
  return U.isContentEditable;
11505
- }, []), q = d && s;
11518
+ }, []), j = d && s;
11506
11519
  q2(
11507
11520
  "[",
11508
11521
  (U) => {
11509
11522
  Y() || (U.preventDefault(), w || O());
11510
11523
  },
11511
- { enabled: q }
11524
+ { enabled: j }
11512
11525
  ), q2(
11513
11526
  "]",
11514
11527
  (U) => {
11515
11528
  Y() || (U.preventDefault(), w && O());
11516
11529
  },
11517
- { enabled: q }
11530
+ { enabled: j }
11518
11531
  );
11519
11532
  const Z = Fe(a), B = Z.__unslotted, I = Z.sidebar, V = Z.identity, x = Z["content-top"], G = Z.navigation, W = Z["content-bottom"], y = V || x || G || W, X = y ? /* @__PURE__ */ e.createElement(e.Fragment, null, (V || n) && /* @__PURE__ */ e.createElement("div", { className: `${P}__sidebar-identity` }, V, n && !w && /* @__PURE__ */ e.createElement(
11520
11533
  d2,
@@ -11529,13 +11542,13 @@ const J0 = () => {
11529
11542
  )), x && /* @__PURE__ */ e.createElement("div", { className: `${P}__sidebar-content-top` }, x), G && /* @__PURE__ */ e.createElement("div", { className: `${P}__sidebar-navigation` }, G), W && /* @__PURE__ */ e.createElement("div", { className: `${P}__sidebar-content-bottom` }, W)) : I, K = $1(
11530
11543
  h,
11531
11544
  {
11532
- ...f,
11545
+ ...C,
11533
11546
  className: $([
11534
11547
  `${P}__main`,
11535
- f?.className
11548
+ C?.className
11536
11549
  ]),
11537
11550
  style: {
11538
- ...f?.style,
11551
+ ...C?.style,
11539
11552
  backgroundColor: m || void 0
11540
11553
  }
11541
11554
  },
@@ -11552,7 +11565,7 @@ const J0 = () => {
11552
11565
  style: D
11553
11566
  },
11554
11567
  s && /* @__PURE__ */ e.createElement(
11555
- we,
11568
+ Le,
11556
11569
  {
11557
11570
  className: `${P}__sidebar-toggle-tooltip`,
11558
11571
  content: w ? i.expandSidebar : i.collapseSidebar,
@@ -11688,19 +11701,19 @@ const J0 = () => {
11688
11701
  verticalAlign: n = "start",
11689
11702
  ...s
11690
11703
  }) => {
11691
- const o = "pds-two-item-layout", r = t === "standard" ? "pds-grid" : `pds-grid pds-grid--${t}`, d = `${o}--${n}`, i = ["pds-grid-item--md-6"], m = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], h = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], f = ["pds-grid-item", "pds-grid-item--sm-4"];
11704
+ const o = "pds-two-item-layout", r = t === "standard" ? "pds-grid" : `pds-grid pds-grid--${t}`, d = `${o}--${n}`, i = ["pds-grid-item--md-6"], m = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], h = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], C = ["pds-grid-item", "pds-grid-item--sm-4"];
11692
11705
  let u, p;
11693
11706
  switch (c) {
11694
11707
  case "equal":
11695
- u = f.concat(i), p = f.concat(i);
11708
+ u = C.concat(i), p = C.concat(i);
11696
11709
  break;
11697
11710
  case "one-third-start":
11698
- u = f.concat(m), p = f.concat(h);
11711
+ u = C.concat(m), p = C.concat(h);
11699
11712
  break;
11700
11713
  case "one-third-end":
11701
- u = f.concat(h), p = f.concat(m);
11714
+ u = C.concat(h), p = C.concat(m);
11702
11715
  }
11703
- const C = Fe(a), b = C["first-item"], v = C["second-item"];
11716
+ const f = Fe(a), b = f["first-item"], v = f["second-item"];
11704
11717
  return /* @__PURE__ */ e.createElement(
11705
11718
  "div",
11706
11719
  {
@@ -11728,10 +11741,10 @@ const J0 = () => {
11728
11741
  mobileAlignItems: i,
11729
11742
  mobileFlexDirection: m = "column",
11730
11743
  mobileFlexWrap: h,
11731
- mobileGap: f,
11744
+ mobileGap: C,
11732
11745
  mobileJustifyContent: u,
11733
11746
  style: p,
11734
- ...C
11747
+ ...f
11735
11748
  }) => {
11736
11749
  const b = "pds-flex", v = `${b}-container`, E = {
11737
11750
  "--pds-flex-align-content": a,
@@ -11744,7 +11757,7 @@ const J0 = () => {
11744
11757
  "--pds-flex-direction-mobile": m,
11745
11758
  "--pds-flex-justify-content-mobile": u ?? r,
11746
11759
  "--pds-flex-wrap-mobile": h ?? s
11747
- }, g = f ?? o, _ = o !== "none" ? `${b}-gap--${o}` : null, N = g !== o ? `${b}-gap-mobile--${g}` : null;
11760
+ }, g = C ?? o, _ = o !== "none" ? `${b}-gap--${o}` : null, N = g !== o ? `${b}-gap-mobile--${g}` : null;
11748
11761
  return /* @__PURE__ */ e.createElement(
11749
11762
  "div",
11750
11763
  {
@@ -11755,7 +11768,7 @@ const J0 = () => {
11755
11768
  c ?? ""
11756
11769
  ]),
11757
11770
  style: { ...E, ...p },
11758
- ...C
11771
+ ...f
11759
11772
  },
11760
11773
  t
11761
11774
  );
@@ -11768,7 +11781,7 @@ const J0 = () => {
11768
11781
  };
11769
11782
  return c(), window.addEventListener("resize", c), () => window.removeEventListener("resize", c);
11770
11783
  }, [l]), /* @__PURE__ */ e.createElement(Y4, null, a)), ya = (a) => {
11771
- const l = typeof window < "u", t = (s) => l ? window.matchMedia(s).matches : !1, [c, n] = j(t(a));
11784
+ const l = typeof window < "u", t = (s) => l ? window.matchMedia(s).matches : !1, [c, n] = q(t(a));
11772
11785
  return ae(() => {
11773
11786
  if (!l) return;
11774
11787
  const s = window.matchMedia(a), o = () => {
@@ -11777,7 +11790,7 @@ const J0 = () => {
11777
11790
  return n(s.matches), s.addEventListener ? (s.addEventListener("change", o), () => s.removeEventListener("change", o)) : (s.addListener(o), () => s.removeListener(o));
11778
11791
  }, [a]), c;
11779
11792
  }, za = () => {
11780
- const a = typeof window < "u", [l, t] = j(
11793
+ const a = typeof window < "u", [l, t] = q(
11781
11794
  a && window.innerWidth !== void 0 ? window.innerWidth : 1024
11782
11795
  );
11783
11796
  return ae(() => {
@@ -11795,13 +11808,13 @@ export {
11795
11808
  va as AppLayout,
11796
11809
  _2 as Avatar,
11797
11810
  L4 as Badge,
11798
- K0 as Banner,
11811
+ Y0 as Banner,
11799
11812
  v0 as BarChart,
11800
11813
  o0 as BranchDiff,
11801
- T0 as Breadcrumb,
11814
+ F0 as Breadcrumb,
11802
11815
  Ae as Button,
11803
11816
  tt as ButtonLink,
11804
- F0 as ButtonNav,
11817
+ A0 as ButtonNav,
11805
11818
  H0 as CTALink,
11806
11819
  g0 as Callout,
11807
11820
  f0 as Card,
@@ -11816,13 +11829,13 @@ export {
11816
11829
  a1 as CompactEmptyState,
11817
11830
  b0 as ComparisonList,
11818
11831
  V2 as Container,
11819
- A0 as DashboardSearch,
11832
+ O0 as DashboardSearch,
11820
11833
  _a as DocsLayout,
11821
11834
  ut as Drawer,
11822
11835
  n2 as Dropdown,
11823
- O0 as DropdownMenu,
11824
- aa as ExpansionPanel,
11825
- sa as ExpansionPanelGroup,
11836
+ Z0 as DropdownMenu,
11837
+ sa as ExpansionPanel,
11838
+ la as ExpansionPanelGroup,
11826
11839
  w0 as FileDiff,
11827
11840
  k0 as FileUpload,
11828
11841
  wa as FlexContainer,
@@ -11831,45 +11844,45 @@ export {
11831
11844
  F as Icon,
11832
11845
  d2 as IconButton,
11833
11846
  y0 as IdentityBlock,
11834
- Y0 as InlineMessage,
11847
+ U0 as InlineMessage,
11835
11848
  x0 as InputGroup,
11836
11849
  _0 as LineChart,
11837
11850
  S0 as LinkNewWindow,
11838
11851
  Rt as MIN_AUTO_CLOSE_DURATION,
11839
11852
  j1 as MenuButton,
11840
- R0 as Modal,
11841
- Z0 as Navbar,
11853
+ T0 as Modal,
11854
+ B0 as Navbar,
11842
11855
  Vt as NotificationHubIcon,
11843
- U0 as NotificationsPopover,
11844
- ea as Pagination,
11856
+ X0 as NotificationsPopover,
11857
+ ta as Pagination,
11845
11858
  jt as PaginationCompact,
11846
- ta as PaginationMini,
11847
- la as Panel,
11848
- ca as PanelList,
11849
- na as PanelRow,
11859
+ aa as PaginationMini,
11860
+ ca as Panel,
11861
+ na as PanelList,
11862
+ ra as PanelRow,
11850
11863
  kt as PantheonLogo,
11851
11864
  L0 as PaymentIcon,
11852
- V0 as Picture,
11865
+ R0 as Picture,
11853
11866
  q1 as PlatformIcon,
11854
- ra as Popover,
11855
- oa as ProgressBar,
11867
+ oa as Popover,
11868
+ ia as ProgressBar,
11856
11869
  Gt as ProgressRing,
11857
11870
  D0 as RadioGroup,
11858
11871
  p0 as SSOButton,
11859
- X0 as SectionMessage,
11872
+ Q0 as SectionMessage,
11860
11873
  u0 as SegmentedButton,
11861
11874
  x2 as Select,
11862
11875
  rt as SelectOptionGroup,
11863
- B0 as SideNavGlobal,
11876
+ j0 as SideNavGlobal,
11864
11877
  xt as SideNavGlobalItem,
11865
11878
  ba as SidebarLayout,
11866
- j0 as SiteMenu,
11879
+ q0 as SiteMenu,
11867
11880
  zt as SiteOptionDisplay,
11868
11881
  d0 as SitePlanLevelLabel,
11869
11882
  st as SiteTypeIcon,
11870
11883
  m0 as SiteTypeLabel,
11871
11884
  Ge as Skeleton,
11872
- ia as Skiplink,
11885
+ V0 as Skiplink,
11873
11886
  p2 as Spinner,
11874
11887
  ct as SplitButton,
11875
11888
  y4 as StatusBadge,
@@ -11878,7 +11891,7 @@ export {
11878
11891
  k2 as StatusTypeLabels,
11879
11892
  ua as Stepper,
11880
11893
  P0 as Switch,
11881
- q0 as TabMenu,
11894
+ G0 as TabMenu,
11882
11895
  ha as Table,
11883
11896
  ga as Tabs,
11884
11897
  fa as Tag,
@@ -11889,16 +11902,16 @@ export {
11889
11902
  Ea as ThreeItemLayout,
11890
11903
  Ot as Toast,
11891
11904
  Zt as ToastType,
11892
- Q0 as Toaster,
11905
+ J0 as Toaster,
11893
11906
  l4 as ToasterContext,
11894
- we as Tooltip,
11907
+ Le as Tooltip,
11895
11908
  $a as TwoItemLayout,
11896
- G0 as UserMenu,
11909
+ W0 as UserMenu,
11897
11910
  h0 as UtilityButton,
11898
11911
  $0 as VerticalEmptyState,
11899
11912
  pa as VerticalStepper,
11900
11913
  bt as VideoEmbed,
11901
- W0 as WorkspaceSelector,
11914
+ K0 as WorkspaceSelector,
11902
11915
  r0 as iconList,
11903
11916
  Je as isHeadingItemType,
11904
11917
  Ve as isLinkItemType,
@@ -11910,7 +11923,7 @@ export {
11910
11923
  Ue as useDropdown,
11911
11924
  q2 as useKeyPress,
11912
11925
  ya as useMediaQuery,
11913
- J0 as useToast,
11926
+ ea as useToast,
11914
11927
  za as useWindowWidth
11915
11928
  };
11916
11929
  //# sourceMappingURL=index.js.map