@pantheon-systems/pds-toolkit-react 2.0.0-alpha.40 → 2.0.0-alpha.42

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
@@ -2414,7 +2414,11 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2414
2414
  TYPOGRAPHY_SIZE_6XL: "3rem",
2415
2415
  TYPOGRAPHY_SIZE_7XL: "3.75rem",
2416
2416
  TYPOGRAPHY_SIZE_8XL: "4.5rem"
2417
- }, gt = r(null), _t = ({ children: t }) => {
2417
+ }, gt = r(null), _t = {
2418
+ closeOverlay: () => {},
2419
+ hasOpenOverlay: !1,
2420
+ openOverlay: () => {}
2421
+ }, vt = ({ children: t }) => {
2418
2422
  let [n, r] = h(0), i = s(() => {
2419
2423
  r((e) => e + 1);
2420
2424
  }, []), a = s(() => {
@@ -2439,11 +2443,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2439
2443
  openOverlay: i
2440
2444
  };
2441
2445
  return /* @__PURE__ */ e.createElement(gt.Provider, { value: c }, t);
2442
- }, vt = () => {
2443
- let e = c(gt);
2444
- if (!e) throw Error("useOverlayContext must be used within OverlayContextProvider");
2445
- return e;
2446
- }, yt = (e, t, n) => {
2446
+ }, yt = () => c(gt) ?? _t, bt = (e, t, n) => {
2447
2447
  let { altKey: r = !1, ctrlKey: i = !1, enabled: a = !0, metaKey: o = !1, shiftKey: c = !1 } = n ?? {}, [u, d] = h(!1), f = s((e) => e.altKey === r && e.ctrlKey === i && e.metaKey === o && e.shiftKey === c, [
2448
2448
  r,
2449
2449
  i,
@@ -2467,7 +2467,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2467
2467
  m,
2468
2468
  a
2469
2469
  ]), u;
2470
- }, bt = ({ className: t, content: n, customTrigger: r = null, disableFocusTrigger: i = !1, offsetValue: a = 6, preferredPlacement: o = "top", triggerAccessibleText: s = "Show more information", triggerIcon: c = "circleInfo", triggerIconColor: l = "default", triggerIconSize: u = "m", zIndex: d = lt, ...f }) => {
2470
+ }, xt = ({ className: t, content: n, customTrigger: r = null, disableFocusTrigger: i = !1, offsetValue: a = 6, preferredPlacement: o = "top", triggerAccessibleText: s = "Show more information", triggerIcon: c = "circleInfo", triggerIconColor: l = "default", triggerIconSize: u = "m", zIndex: d = lt, ...f }) => {
2471
2471
  let [p, m] = h(!1), g = typeof r, _ = "pds-tooltip", v = Z([`${_}__trigger-custom`, g === "string" ? `${_}__trigger-text` : null]), y = Z([`${_}__trigger`, `${_}__trigger--${l}`]), { context: x, floatingStyles: T, refs: D } = A({
2472
2472
  placement: o,
2473
2473
  open: p,
@@ -2528,16 +2528,16 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2528
2528
  error: "pds-has-error",
2529
2529
  success: "pds-has-success",
2530
2530
  readonly: "pds-is-readonly"
2531
- }, xt = (e) => e ? { width: `${e / 16}rem` } : null, St = (e) => e.replace(/^(https?:\/\/)/, ""), Ct = () => /* @__PURE__ */ e.createElement("span", { className: "pds-input-label__required" }, /* @__PURE__ */ e.createElement(Q, {
2531
+ }, St = (e) => e ? { width: `${e / 16}rem` } : null, Ct = (e) => e.replace(/^(https?:\/\/)/, ""), wt = () => /* @__PURE__ */ e.createElement("span", { className: "pds-input-label__required" }, /* @__PURE__ */ e.createElement(Q, {
2532
2532
  className: "pds-input-label__required-icon",
2533
2533
  iconName: "asterisk",
2534
2534
  size: "s"
2535
- })), wt = ({ className: t, disabled: n, id: r, isLegend: i, isPseudoLabel: a, label: o, required: s, showLabel: c = !0, tooltipText: l = null }) => {
2535
+ })), Tt = ({ className: t, disabled: n, id: r, isLegend: i, isPseudoLabel: a, label: o, required: s, showLabel: c = !0, tooltipText: l = null }) => {
2536
2536
  let u = Z([
2537
2537
  "pds-input-label",
2538
2538
  c ? null : "visually-hidden",
2539
2539
  t ?? ""
2540
- ]), d = /* @__PURE__ */ e.createElement(e.Fragment, null, o, s && !n && /* @__PURE__ */ e.createElement(Ct, null), l && /* @__PURE__ */ e.createElement(bt, {
2540
+ ]), d = /* @__PURE__ */ e.createElement(e.Fragment, null, o, s && !n && /* @__PURE__ */ e.createElement(wt, null), l && /* @__PURE__ */ e.createElement(xt, {
2541
2541
  content: l,
2542
2542
  triggerIcon: "circleInfoSolid",
2543
2543
  triggerIconSize: "s"
@@ -2553,7 +2553,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2553
2553
  htmlFor: r,
2554
2554
  id: `${r}-label`
2555
2555
  }, d);
2556
- }, Tt = ({ className: t, forInputGroup: n = !1, hasValidationMessage: r, id: i, message: a, validationMessageHasDecorators: o, validationStatus: s }) => {
2556
+ }, Et = ({ className: t, forInputGroup: n = !1, hasValidationMessage: r, id: i, message: a, validationMessageHasDecorators: o, validationStatus: s }) => {
2557
2557
  let c = "pds-input-message", l = s && r ? `${c}--${s}` : null;
2558
2558
  return /* @__PURE__ */ e.createElement("div", {
2559
2559
  className: Z([
@@ -2563,29 +2563,29 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2563
2563
  ]),
2564
2564
  id: n ? `${i}__message-hidden` : `${i}__message`,
2565
2565
  role: s === "error" ? "alert" : null
2566
- }, o && s && /* @__PURE__ */ e.createElement(Dt, { variant: s }), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, a));
2567
- }, Et = {
2566
+ }, o && s && /* @__PURE__ */ e.createElement(Ot, { variant: s }), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, a));
2567
+ }, Dt = {
2568
2568
  search: "magnifyingGlass",
2569
2569
  error: "triangleExclamation",
2570
2570
  success: "check",
2571
2571
  filter: "barsFilter"
2572
- }, Dt = ({ variant: t }) => {
2572
+ }, Ot = ({ variant: t }) => {
2573
2573
  let n = "pds-input-prefix";
2574
2574
  return /* @__PURE__ */ e.createElement("div", { className: Z([n, `${n}--${t}`]) }, /* @__PURE__ */ e.createElement(Q, {
2575
2575
  className: `${n}__icon`,
2576
- iconName: Et[t],
2576
+ iconName: Dt[t],
2577
2577
  size: "m"
2578
2578
  }));
2579
- }, Ot = ({ inputId: t, shortcutLabel: n }) => {
2580
- let { hasOpenOverlay: r } = vt();
2581
- return yt("/", (e) => {
2579
+ }, kt = ({ inputId: t, shortcutLabel: n }) => {
2580
+ let { hasOpenOverlay: r } = yt();
2581
+ return bt("/", (e) => {
2582
2582
  let n = document.getElementById(t);
2583
2583
  n && n.focus(), e.preventDefault();
2584
2584
  }, { enabled: !r }), /* @__PURE__ */ e.createElement("div", { className: "pds-input-search-shortcut" }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n), /* @__PURE__ */ e.createElement(Q, {
2585
2585
  iconName: "slashForward",
2586
2586
  size: "s"
2587
2587
  }));
2588
- }, kt = ({ clearLabel: t, handleClearInput: n, id: r }) => /* @__PURE__ */ e.createElement("button", {
2588
+ }, At = ({ clearLabel: t, handleClearInput: n, id: r }) => /* @__PURE__ */ e.createElement("button", {
2589
2589
  "aria-controls": r,
2590
2590
  className: "pds-input-clear-button",
2591
2591
  onClick: n,
@@ -2594,7 +2594,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2594
2594
  }, /* @__PURE__ */ e.createElement(Q, {
2595
2595
  iconName: "xmark",
2596
2596
  size: "m"
2597
- })), At = ({ currentLength: t, id: n, maxLength: r, overLimitMessage: i = "Character limit exceeded by" }) => {
2597
+ })), jt = ({ currentLength: t, id: n, maxLength: r, overLimitMessage: i = "Character limit exceeded by" }) => {
2598
2598
  let a = t > r, o = t - r, s = "pds-input-character-counter", c = a ? `${s}--overLimit` : null;
2599
2599
  return /* @__PURE__ */ e.createElement("div", {
2600
2600
  className: Z([s, c]),
@@ -2603,10 +2603,10 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2603
2603
  "aria-live": "polite",
2604
2604
  className: "visually-hidden"
2605
2605
  }, a && `${i} ${o}`));
2606
- }, jt = ({ label: t, ...n }) => /* @__PURE__ */ e.createElement("span", {
2606
+ }, Mt = ({ label: t, ...n }) => /* @__PURE__ */ e.createElement("span", {
2607
2607
  className: "visually-hidden",
2608
2608
  ...n
2609
- }, t), Mt = (e) => "options" in e, Nt = a(({ children: t, className: n, isActive: r, ...i }, a) => {
2609
+ }, t), Nt = (e) => "options" in e, Pt = a(({ children: t, className: n, isActive: r, ...i }, a) => {
2610
2610
  let o = N(), s = r ? "pds-dropdown__item--active" : null;
2611
2611
  return /* @__PURE__ */ e.createElement("li", {
2612
2612
  ref: a,
@@ -2620,7 +2620,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2620
2620
  role: "option",
2621
2621
  ...i
2622
2622
  }, t);
2623
- }), Pt = {
2623
+ }), Ft = {
2624
2624
  s: rt,
2625
2625
  m: nt,
2626
2626
  l: tt,
@@ -2630,7 +2630,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2630
2630
  "4xl": Ze,
2631
2631
  "5xl": Xe,
2632
2632
  "6xl": Ye
2633
- }, Ft = {
2633
+ }, It = {
2634
2634
  s: ft,
2635
2635
  m: ft,
2636
2636
  l: ft,
@@ -2640,7 +2640,7 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2640
2640
  "4xl": pt,
2641
2641
  "5xl": mt,
2642
2642
  "6xl": mt
2643
- }, It = {
2643
+ }, Lt = {
2644
2644
  s: it,
2645
2645
  m: it,
2646
2646
  l: it,
@@ -2650,8 +2650,8 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2650
2650
  "4xl": rt,
2651
2651
  "5xl": nt,
2652
2652
  "6xl": tt
2653
- }, Lt = ({ className: t = "", color: n, isInline: r = !1, label: i = "Loading", showLabel: a = !1, size: o = "3xl", ...s }) => {
2654
- let c = "pds-spinner", l = r ? `${c}--inline` : null, u = Pt[o], d = Ft[o], f = It[o], p = {
2653
+ }, Rt = ({ className: t = "", color: n, isInline: r = !1, label: i = "Loading", showLabel: a = !1, size: o = "3xl", ...s }) => {
2654
+ let c = "pds-spinner", l = r ? `${c}--inline` : null, u = Ft[o], d = It[o], f = Lt[o], p = {
2655
2655
  "--spinner-size": u,
2656
2656
  ...n ? { "--spinner-color": n } : {}
2657
2657
  }, m = {
@@ -2686,8 +2686,8 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2686
2686
  }))), a && !r ? /* @__PURE__ */ e.createElement("span", {
2687
2687
  className: `${c}__label`,
2688
2688
  style: m
2689
- }, i) : /* @__PURE__ */ e.createElement(jt, { label: i }));
2690
- }, Rt = ({ className: t, color: n = "transparent", hasStatusIndicator: r = !1, label: i, statusIndicatorText: a = "Status indicator: ", statusType: o, ...s }) => {
2689
+ }, i) : /* @__PURE__ */ e.createElement(Mt, { label: i }));
2690
+ }, zt = ({ className: t, color: n = "transparent", hasStatusIndicator: r = !1, label: i, statusIndicatorText: a = "Status indicator: ", statusType: o, ...s }) => {
2691
2691
  let c = "pds-status-badge", l = `${c}--${n}`, u = `${c}__status`, d = o ? `${u}--${o}` : null;
2692
2692
  return /* @__PURE__ */ e.createElement("div", {
2693
2693
  className: Z([
@@ -2696,13 +2696,13 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2696
2696
  t ?? ""
2697
2697
  ]),
2698
2698
  ...s
2699
- }, r === !0 && (o === "working" ? /* @__PURE__ */ e.createElement(Lt, {
2699
+ }, r === !0 && (o === "working" ? /* @__PURE__ */ e.createElement(Rt, {
2700
2700
  isInline: !0,
2701
2701
  className: `${c}__spinner`,
2702
2702
  color: "currentColor",
2703
2703
  size: "s"
2704
2704
  }) : /* @__PURE__ */ e.createElement("span", { className: Z([u, d]) }, o && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, a, " ", o))), /* @__PURE__ */ e.createElement("span", { className: `${c}__label` }, i));
2705
- }, zt = ({ className: t, label: n, size: r = "s", type: i = "neutral", typeLabels: a = {
2705
+ }, Bt = ({ className: t, label: n, size: r = "s", type: i = "neutral", typeLabels: a = {
2706
2706
  info: "Information",
2707
2707
  success: "Success",
2708
2708
  warning: "Warning",
@@ -2720,10 +2720,10 @@ var De = Object.create, Oe = Object.defineProperty, ke = Object.getOwnPropertyDe
2720
2720
  ...o
2721
2721
  }, /* @__PURE__ */ e.createElement("div", { className: `${s}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, u), n));
2722
2722
  };
2723
- zt.displayName = "Tally";
2723
+ Bt.displayName = "Tally";
2724
2724
  //#endregion
2725
2725
  //#region src/components/BranchDiff/BranchDiff.tsx
2726
- var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loading...", numberAhead: a, numberAheadDescription: o = "commits ahead of main", numberBehind: s, numberBehindDescription: c = "commits behind main", ...l }) => {
2726
+ var Vt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loading...", numberAhead: a, numberAheadDescription: o = "commits ahead of main", numberBehind: s, numberBehindDescription: c = "commits behind main", ...l }) => {
2727
2727
  let u = "pds-branch-diff", d = r ? `${u}--loading` : null, f = r ? "pds-pulse" : null, p = n !== null && n > 0 ? `${n}rem` : "100%", m = Math.max(0, a), h = Math.max(0, s);
2728
2728
  r && (m = 1, h = 1);
2729
2729
  let g = Math.max(m, h), _ = g > 0 ? h / g * 100 : 0, v = g > 0 ? m / g * 100 : 0;
@@ -2737,7 +2737,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2737
2737
  ]),
2738
2738
  style: { width: p },
2739
2739
  ...l
2740
- }, /* @__PURE__ */ e.createElement(bt, {
2740
+ }, /* @__PURE__ */ e.createElement(xt, {
2741
2741
  content: y,
2742
2742
  customTrigger: /* @__PURE__ */ e.createElement("div", { className: `${u}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${u}__segment ${u}__segment--behind` }, /* @__PURE__ */ e.createElement("div", { className: `${u}__number` }, !r && h), h > 0 && /* @__PURE__ */ e.createElement("div", {
2743
2743
  className: Z([`${u}__line ${u}__line--behind`, f]),
@@ -2748,7 +2748,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2748
2748
  }))),
2749
2749
  preferredPlacement: "top"
2750
2750
  }));
2751
- }, Vt = ({ className: t, status: n, ...r }) => {
2751
+ }, Ht = ({ className: t, status: n, ...r }) => {
2752
2752
  let i = "pds-status-dot";
2753
2753
  return /* @__PURE__ */ e.createElement("span", {
2754
2754
  className: Z([
@@ -2758,18 +2758,18 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2758
2758
  ]),
2759
2759
  ...r
2760
2760
  });
2761
- }, Ht = ({ baseClass: e, children: t, className: n, id: r, level: a, ...o }) => i(a, {
2761
+ }, Ut = ({ baseClass: e, children: t, className: n, id: r, level: a, ...o }) => i(a, {
2762
2762
  className: Z([e ? `${e}__heading` : null, n]),
2763
2763
  id: r,
2764
2764
  ...o
2765
- }, t), Ut = (e) => {
2765
+ }, t), Wt = (e) => {
2766
2766
  if (typeof e == "string" || typeof e == "number") return String(e);
2767
2767
  if (o(e)) {
2768
2768
  let n = e.props;
2769
- return t.toArray(n.children).map(Ut).join("");
2769
+ return t.toArray(n.children).map(Wt).join("");
2770
2770
  }
2771
2771
  return "";
2772
- }, Wt = a(({ ariaLabel: t, buttonType: n = "button", className: r = "", disabled: i = !1, displayType: a = "label-only", iconName: o, isFullWidth: s = !1, isLoading: c = !1, isSplitButton: l = !1, isWorking: u = !1, label: d, onClick: f, size: p = "s", statusDot: m, tally: h, tooltipText: g, variant: _ = "primary", ...v }, y) => {
2772
+ }, Gt = a(({ ariaLabel: t, buttonType: n = "button", className: r = "", disabled: i = !1, displayType: a = "label-only", iconName: o, isFullWidth: s = !1, isLoading: c = !1, isSplitButton: l = !1, isWorking: u = !1, label: d, onClick: f, size: p = "s", statusDot: m, tally: h, tooltipText: g, variant: _ = "primary", ...v }, y) => {
2773
2773
  let b = "pds-button", x = `${b}--${p}`, S = `${b}--${_}`, C = s ? `${b}--full-width` : null, w = c ? `${b}--loading` : null, T = c ? "pds-pulse" : null, E, D, O;
2774
2774
  switch (p) {
2775
2775
  case "xs":
@@ -2804,17 +2804,17 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2804
2804
  iconName: o,
2805
2805
  size: E
2806
2806
  }), P = [];
2807
- m && M ? P.push(/* @__PURE__ */ e.createElement(Vt, {
2807
+ m && M ? P.push(/* @__PURE__ */ e.createElement(Ht, {
2808
2808
  key: "status-dot",
2809
2809
  className: `${b}__icon`,
2810
2810
  status: m
2811
- })) : a === "icon-start" && o && P.push(N), P.push(d), h && A ? P.push(/* @__PURE__ */ e.createElement(zt, {
2811
+ })) : a === "icon-start" && o && P.push(N), P.push(d), h && A ? P.push(/* @__PURE__ */ e.createElement(Bt, {
2812
2812
  key: "tally",
2813
2813
  className: `${b}__tally`,
2814
2814
  label: h.label,
2815
2815
  size: O,
2816
2816
  type: h.type
2817
- })) : a === "icon-end" && o && P.push(N), l && (P = [N], t = Ut(d));
2817
+ })) : a === "icon-end" && o && P.push(N), l && (P = [N], t = Wt(d));
2818
2818
  let F = /* @__PURE__ */ e.createElement("button", {
2819
2819
  ref: y,
2820
2820
  "aria-label": t,
@@ -2831,16 +2831,16 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2831
2831
  onClick: f,
2832
2832
  type: n,
2833
2833
  ...v
2834
- }, u && !c && /* @__PURE__ */ e.createElement(Lt, {
2834
+ }, u && !c && /* @__PURE__ */ e.createElement(Rt, {
2835
2835
  className: `${b}__working-indicator`,
2836
2836
  color: "currentColor",
2837
2837
  size: D
2838
2838
  }), P);
2839
- return (i || c || u) && g ? /* @__PURE__ */ e.createElement(bt, {
2839
+ return (i || c || u) && g ? /* @__PURE__ */ e.createElement(xt, {
2840
2840
  content: g,
2841
2841
  customTrigger: F
2842
2842
  }) : /* @__PURE__ */ e.createElement(e.Fragment, null, F);
2843
- }), Gt = ({ className: t, disabled: r = !1, displayType: i = "label-only", iconName: a, linkContent: s, size: c = "s", tooltipText: l, variant: u = "primary", ...d }) => {
2843
+ }), Kt = ({ className: t, disabled: r = !1, displayType: i = "label-only", iconName: a, linkContent: s, size: c = "s", tooltipText: l, variant: u = "primary", ...d }) => {
2844
2844
  let f = "pds-button-link", p = "pds-button", m = Z([
2845
2845
  p,
2846
2846
  `${p}--${c}`,
@@ -2874,7 +2874,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2874
2874
  className: m,
2875
2875
  children: v
2876
2876
  })) : null;
2877
- return r ? /* @__PURE__ */ e.createElement(Wt, {
2877
+ return r ? /* @__PURE__ */ e.createElement(Gt, {
2878
2878
  disabled: !0,
2879
2879
  className: Z([f, t ?? ""]),
2880
2880
  label: v,
@@ -2885,7 +2885,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2885
2885
  className: Z([f, t ?? ""]),
2886
2886
  ...d
2887
2887
  }, y);
2888
- }, Kt = (e, t) => {
2888
+ }, qt = (e, t) => {
2889
2889
  let [n, r] = h(!1), i = t?.duration;
2890
2890
  return l(() => {
2891
2891
  let e;
@@ -2899,7 +2899,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2899
2899
  await navigator.clipboard.writeText(e), r(!0);
2900
2900
  } catch {}
2901
2901
  }];
2902
- }, qt = a(({ ariaLabel: t, buttonType: n = "button", className: r, disabled: i = !1, hasBorder: a = !1, hasTooltip: o = !0, icon2Name: s = null, iconName: c, isPressed: l, onClick: u, pressedIconName: d, size: f = "s", variant: p = "standard", ...h }, g) => {
2902
+ }, Jt = a(({ ariaLabel: t, buttonType: n = "button", className: r, disabled: i = !1, hasBorder: a = !1, hasTooltip: o = !0, icon2Name: s = null, iconName: c, isPressed: l, onClick: u, pressedIconName: d, size: f = "s", variant: p = "standard", ...h }, g) => {
2903
2903
  let _ = "pds-icon-button", v = f === "s" ? null : `${_}--${f}`, y = p === "standard" ? null : `${_}--${p}`, b = a ? `${_}--has-border` : null, x = l ? `${_}--pressed` : null, S = {
2904
2904
  fadeOut: `${_}--fadeOut`,
2905
2905
  hide: `${_}--hide`,
@@ -2958,15 +2958,15 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2958
2958
  title: o && !i ? null : t,
2959
2959
  type: n,
2960
2960
  ...h
2961
- }, o && !i ? /* @__PURE__ */ e.createElement(bt, {
2961
+ }, o && !i ? /* @__PURE__ */ e.createElement(xt, {
2962
2962
  className: `${_}__tooltip`,
2963
2963
  content: t,
2964
2964
  customTrigger: j,
2965
2965
  offsetValue: C
2966
2966
  }) : j);
2967
- }), Jt = ({ ariaLabel: t = "Copy to clipboard", className: n, clipboardText: r = "", disabled: i, hasBorder: a = !1, variant: o = "standard", ...s }) => {
2968
- let [c, l] = Kt(r);
2969
- return /* @__PURE__ */ e.createElement(qt, {
2967
+ }), Yt = ({ ariaLabel: t = "Copy to clipboard", className: n, clipboardText: r = "", disabled: i, hasBorder: a = !1, variant: o = "standard", ...s }) => {
2968
+ let [c, l] = qt(r);
2969
+ return /* @__PURE__ */ e.createElement(Jt, {
2970
2970
  ariaLabel: t,
2971
2971
  buttonType: "button",
2972
2972
  className: Z(["pds-clipboard-button", n ?? ""]),
@@ -2979,7 +2979,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2979
2979
  variant: o,
2980
2980
  ...s
2981
2981
  });
2982
- }, Yt = ({ ariaLabel: t = "Close", className: n, onClick: r, size: i = "m", ...a }) => {
2982
+ }, Xt = ({ ariaLabel: t = "Close", className: n, onClick: r, size: i = "m", ...a }) => {
2983
2983
  let o = "pds-close-button", s = `${o}--${i}`, c = /* @__PURE__ */ e.createElement("button", {
2984
2984
  "aria-label": t,
2985
2985
  className: Z([
@@ -2994,17 +2994,17 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2994
2994
  className: `${o}__icon`,
2995
2995
  iconName: "xmarkLarge"
2996
2996
  }));
2997
- return /* @__PURE__ */ e.createElement(bt, {
2997
+ return /* @__PURE__ */ e.createElement(xt, {
2998
2998
  disableFocusTrigger: !0,
2999
2999
  content: t,
3000
3000
  customTrigger: c,
3001
3001
  preferredPlacement: "bottom",
3002
3002
  zIndex: lt
3003
3003
  });
3004
- }, Xt = (e, t) => {
3004
+ }, Zt = (e, t) => {
3005
3005
  let n = t.toLowerCase();
3006
3006
  return e.find((e) => (e?.textContent?.trim().toLowerCase() ?? "").startsWith(n));
3007
- }, Zt = ({ allowEscape: e = !1, enableClick: t = !0, enableListNavigation: n = !0, enableShift: r = !0, enableTransition: i = !0, enableTypeahead: a = !1, offsetValue: o = 0, openOnHover: s = !1, placement: c = "bottom-start", role: l = "menu", selectedIndex: u = null, variant: d = "default", virtual: f = !1 } = {}) => {
3007
+ }, Qt = ({ allowEscape: e = !1, enableClick: t = !0, enableListNavigation: n = !0, enableShift: r = !0, enableTransition: i = !0, enableTypeahead: a = !1, offsetValue: o = 0, openOnHover: s = !1, placement: c = "bottom-start", role: l = "menu", selectedIndex: u = null, variant: d = "default", virtual: f = !1 } = {}) => {
3008
3008
  let [p, g] = h(!1), [_, v] = h(null), y = m([]), b = d === "input", { context: x, floatingStyles: j, refs: N } = A({
3009
3009
  open: p,
3010
3010
  onOpenChange: g,
@@ -3068,7 +3068,7 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3068
3068
  onMatch: (e) => {
3069
3069
  p || g(!0), v(e);
3070
3070
  },
3071
- findMatch: Xt
3071
+ findMatch: Zt
3072
3072
  })
3073
3073
  ]), { isMounted: H, styles: U } = L(x, i ? {
3074
3074
  duration: {
@@ -3093,19 +3093,19 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3093
3093
  setIsOpen: g,
3094
3094
  transitionStyles: U
3095
3095
  };
3096
- }, Qt = r(null), $t = () => {
3097
- let e = c(Qt);
3096
+ }, $t = r(null), en = () => {
3097
+ let e = c($t);
3098
3098
  if (!e) throw Error("Dropdown sub-components must be used within a <Dropdown> provider.");
3099
3099
  return e;
3100
- }, en = ({ children: t, className: n, inline: r, ...i }) => {
3101
- let a = Zt(i), o = "pds-dropdown", s = r ? `${o}--inline` : null;
3102
- return /* @__PURE__ */ e.createElement(Qt.Provider, { value: a }, /* @__PURE__ */ e.createElement("div", { className: Z([
3100
+ }, tn = ({ children: t, className: n, inline: r, ...i }) => {
3101
+ let a = Qt(i), o = "pds-dropdown", s = r ? `${o}--inline` : null;
3102
+ return /* @__PURE__ */ e.createElement($t.Provider, { value: a }, /* @__PURE__ */ e.createElement("div", { className: Z([
3103
3103
  o,
3104
3104
  s,
3105
3105
  n ?? ""
3106
3106
  ]) }, t));
3107
- }, tn = ({ children: t, className: n, showTriggerIcon: r = !1, ...i }) => {
3108
- let { getReferenceProps: a, refs: o } = $t(), s = "pds-dropdown";
3107
+ }, nn = ({ children: t, className: n, showTriggerIcon: r = !1, ...i }) => {
3108
+ let { getReferenceProps: a, refs: o } = en(), s = "pds-dropdown";
3109
3109
  return /* @__PURE__ */ e.createElement("button", {
3110
3110
  ref: o.setReference,
3111
3111
  className: Z([`${s}__trigger`, n ?? ""]),
@@ -3117,8 +3117,8 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3117
3117
  iconName: "angleDown",
3118
3118
  size: "s"
3119
3119
  }));
3120
- }, nn = ({ children: t, className: n, ...r }) => {
3121
- let { floatingStyles: i, getFloatingProps: a, isMounted: o, refs: s, transitionStyles: c } = $t();
3120
+ }, rn = ({ children: t, className: n, ...r }) => {
3121
+ let { floatingStyles: i, getFloatingProps: a, isMounted: o, refs: s, transitionStyles: c } = en();
3122
3122
  return o ? /* @__PURE__ */ e.createElement("ul", {
3123
3123
  ref: s.setFloating,
3124
3124
  className: Z(["pds-dropdown__panel", n ?? ""]),
@@ -3129,8 +3129,8 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3129
3129
  ...a(),
3130
3130
  ...r
3131
3131
  }, t) : null;
3132
- }, rn = ({ children: t, className: n, description: r, disabled: i, icon: a, index: o, isActive: s, isCritical: c, onClick: l, trailingIcon: u, ...d }) => {
3133
- let { activeIndex: f, getItemProps: p, listRef: m } = $t(), h = "pds-dropdown", g = f === o, _ = g ? `${h}__item--focused` : null, v = s ? `${h}__item--active` : null, y = c ? `${h}__item--critical` : null, b = i ? `${h}__item--disabled` : null;
3132
+ }, an = ({ children: t, className: n, description: r, disabled: i, icon: a, index: o, isActive: s, isCritical: c, onClick: l, trailingIcon: u, ...d }) => {
3133
+ let { activeIndex: f, getItemProps: p, listRef: m } = en(), h = "pds-dropdown", g = f === o, _ = g ? `${h}__item--focused` : null, v = s ? `${h}__item--active` : null, y = c ? `${h}__item--critical` : null, b = i ? `${h}__item--disabled` : null;
3134
3134
  return /* @__PURE__ */ e.createElement("li", {
3135
3135
  ref: (e) => {
3136
3136
  m.current[o] = e;
@@ -3149,8 +3149,8 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3149
3149
  ...p({ onClick: i ? void 0 : l }),
3150
3150
  ...d
3151
3151
  }, /* @__PURE__ */ e.createElement("span", { className: `${h}__item-content` }, a && /* @__PURE__ */ e.createElement("span", { className: `${h}__item-icon` }, a), /* @__PURE__ */ e.createElement("span", { className: `${h}__item-label` }, t, r && /* @__PURE__ */ e.createElement("span", { className: `${h}__item-description` }, r))), u && /* @__PURE__ */ e.createElement("span", { className: `${h}__item-trailing` }, u));
3152
- }, an = ({ checked: t = !1, children: n, className: r, description: i, disabled: a, indeterminate: o = !1, index: s, onCheckedChange: c, onClick: l, onKeyDown: u, ...d }) => {
3153
- let { activeIndex: f, getItemProps: p, listRef: m } = $t(), h = "pds-dropdown", g = f === s, _ = g ? `${h}__item--focused` : null, v = a ? `${h}__item--disabled` : null, y = Z([
3152
+ }, on = ({ checked: t = !1, children: n, className: r, description: i, disabled: a, indeterminate: o = !1, index: s, onCheckedChange: c, onClick: l, onKeyDown: u, ...d }) => {
3153
+ let { activeIndex: f, getItemProps: p, listRef: m } = en(), h = "pds-dropdown", g = f === s, _ = g ? `${h}__item--focused` : null, v = a ? `${h}__item--disabled` : null, y = Z([
3154
3154
  `${h}__checkbox-box`,
3155
3155
  t && !o ? `${h}__checkbox-box--checked` : null,
3156
3156
  o ? `${h}__checkbox-box--indeterminate` : null
@@ -3203,19 +3203,19 @@ var Bt = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3203
3203
  width: "12",
3204
3204
  xmlns: "http://www.w3.org/2000/svg"
3205
3205
  }, /* @__PURE__ */ e.createElement("path", { d: "M9.85474 3.64666C10.1032 3.32078 10.0258 2.86817 9.67727 2.63583C9.32878 2.4035 8.84476 2.47591 8.5963 2.80179L4.8694 7.65977L3.32056 6.21143C3.01724 5.9278 2.52677 5.9278 2.22669 6.21143C1.9266 6.49506 1.92337 6.9537 2.22346 7.23734L4.41765 9.28916C4.57899 9.44003 4.80164 9.51546 5.02751 9.49736C5.25338 9.47925 5.4599 9.37063 5.59219 9.19864L9.85151 3.64666H9.85474Z" }))), /* @__PURE__ */ e.createElement("span", { className: `${h}__item-label` }, n, i && /* @__PURE__ */ e.createElement("span", { className: `${h}__item-description` }, i))));
3206
- }, on = ({ children: t, className: n, ...r }) => /* @__PURE__ */ e.createElement("li", {
3206
+ }, sn = ({ children: t, className: n, ...r }) => /* @__PURE__ */ e.createElement("li", {
3207
3207
  className: Z(["pds-dropdown__heading", n ?? ""]),
3208
3208
  role: "presentation",
3209
3209
  ...r
3210
- }, t), sn = ({ className: t, ...n }) => /* @__PURE__ */ e.createElement("li", {
3210
+ }, t), cn = ({ className: t, ...n }) => /* @__PURE__ */ e.createElement("li", {
3211
3211
  className: Z(["pds-dropdown__separator", t ?? ""]),
3212
3212
  role: "separator",
3213
3213
  ...n
3214
- }), cn = {
3214
+ }), ln = {
3215
3215
  filter: "barsFilter",
3216
3216
  search: "magnifyingGlass"
3217
3217
  };
3218
- en.Trigger = tn, en.Panel = nn, en.Item = rn, en.CheckboxItem = an, en.Heading = on, en.Separator = sn, en.Filter = ({ className: t, filterIcon: n = "search", label: r = "Filter items", noResultsText: i = "No results found", onFilterChange: a, placeholder: o = "Filter items...", showNoResults: s = !1, ...c }) => {
3218
+ tn.Trigger = nn, tn.Panel = rn, tn.Item = an, tn.CheckboxItem = on, tn.Heading = sn, tn.Separator = cn, tn.Filter = ({ className: t, filterIcon: n = "search", label: r = "Filter items", noResultsText: i = "No results found", onFilterChange: a, placeholder: o = "Filter items...", showNoResults: s = !1, ...c }) => {
3219
3219
  let l = "pds-dropdown", u = n !== "none";
3220
3220
  return /* @__PURE__ */ e.createElement("li", {
3221
3221
  className: Z([`${l}__filter`, t ?? ""]),
@@ -3223,7 +3223,7 @@ en.Trigger = tn, en.Panel = nn, en.Item = rn, en.CheckboxItem = an, en.Heading =
3223
3223
  ...c
3224
3224
  }, /* @__PURE__ */ e.createElement("div", { className: `${l}__filter-wrapper` }, u && /* @__PURE__ */ e.createElement(Q, {
3225
3225
  className: `${l}__filter-icon`,
3226
- iconName: cn[n],
3226
+ iconName: ln[n],
3227
3227
  size: "s"
3228
3228
  }), /* @__PURE__ */ e.createElement("input", {
3229
3229
  "aria-label": r,
@@ -3232,20 +3232,20 @@ en.Trigger = tn, en.Panel = nn, en.Item = rn, en.CheckboxItem = an, en.Heading =
3232
3232
  placeholder: o,
3233
3233
  type: "search"
3234
3234
  })), s && /* @__PURE__ */ e.createElement("p", { className: `${l}__no-results` }, i));
3235
- }, en.Footer = ({ children: t, className: n, ...r }) => /* @__PURE__ */ e.createElement("li", {
3235
+ }, tn.Footer = ({ children: t, className: n, ...r }) => /* @__PURE__ */ e.createElement("li", {
3236
3236
  className: Z(["pds-dropdown__footer", n ?? ""]),
3237
3237
  role: "presentation",
3238
3238
  ...r
3239
3239
  }, t);
3240
3240
  //#endregion
3241
3241
  //#region src/components/buttons/FilterButton/FilterButton.tsx
3242
- var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey: i, id: a, minFilterItems: o = 8, noResultsText: s = "No results found", onSelectionChange: c, options: l, searchLabel: u = "Filter options", searchPlaceholder: d = "Search...", selectedValues: f }) => {
3242
+ var un = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey: i, id: a, minFilterItems: o = 8, noResultsText: s = "No results found", onSelectionChange: c, options: l, searchLabel: u = "Filter options", searchPlaceholder: d = "Search...", selectedValues: f }) => {
3243
3243
  let p = "pds-filter-button", [m, g] = h(""), _ = f.length, v = _ > 0, y = _ === 1, b = _ > 1, x = l.length >= o, S = y ? l.find((e) => e.value === f[0])?.label ?? f[0] : null, C = x && m ? l.filter((e) => e.label.toLowerCase().includes(m.toLowerCase())) : l, w = (e) => {
3244
3244
  c(f.includes(e) ? f.filter((t) => t !== e) : [...f, e]);
3245
3245
  }, T = () => {
3246
3246
  c([]);
3247
3247
  }, E = b ? `${p}--multiple` : y ? `${p}--single` : null, D = x ? `${p}--has-search` : null;
3248
- return /* @__PURE__ */ e.createElement(en, {
3248
+ return /* @__PURE__ */ e.createElement(tn, {
3249
3249
  inline: !0,
3250
3250
  className: Z([
3251
3251
  p,
@@ -3256,7 +3256,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3256
3256
  enableShift: !1,
3257
3257
  offsetValue: 8,
3258
3258
  placement: "bottom-start"
3259
- }, /* @__PURE__ */ e.createElement(en.Trigger, {
3259
+ }, /* @__PURE__ */ e.createElement(tn.Trigger, {
3260
3260
  showTriggerIcon: !0,
3261
3261
  className: `${p}__trigger`,
3262
3262
  disabled: r,
@@ -3264,7 +3264,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3264
3264
  }, !v && /* @__PURE__ */ e.createElement("span", { className: `${p}__label` }, `Filter by ${i}`), y && /* @__PURE__ */ e.createElement("span", { className: `${p}__label` }, /* @__PURE__ */ e.createElement("span", { className: `${p}__key` }, i), /* @__PURE__ */ e.createElement("span", {
3265
3265
  "aria-hidden": "true",
3266
3266
  className: `${p}__divider`
3267
- }), /* @__PURE__ */ e.createElement("span", { className: `${p}__value` }, S)), b && /* @__PURE__ */ e.createElement("span", { className: `${p}__label` }, /* @__PURE__ */ e.createElement("span", { className: `${p}__key` }, i), /* @__PURE__ */ e.createElement(zt, {
3267
+ }), /* @__PURE__ */ e.createElement("span", { className: `${p}__value` }, S)), b && /* @__PURE__ */ e.createElement("span", { className: `${p}__label` }, /* @__PURE__ */ e.createElement("span", { className: `${p}__key` }, i), /* @__PURE__ */ e.createElement(Bt, {
3268
3268
  className: `${p}__tally`,
3269
3269
  label: _,
3270
3270
  size: "s",
@@ -3278,24 +3278,24 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3278
3278
  }, /* @__PURE__ */ e.createElement(Q, {
3279
3279
  iconName: "xmark",
3280
3280
  size: "s"
3281
- })), /* @__PURE__ */ e.createElement(en.Panel, { className: `${p}__panel` }, x && /* @__PURE__ */ e.createElement(en.Filter, {
3281
+ })), /* @__PURE__ */ e.createElement(tn.Panel, { className: `${p}__panel` }, x && /* @__PURE__ */ e.createElement(tn.Filter, {
3282
3282
  label: u,
3283
3283
  noResultsText: s,
3284
3284
  onFilterChange: g,
3285
3285
  placeholder: d,
3286
3286
  showNoResults: C.length === 0
3287
- }), C.map((t, n) => /* @__PURE__ */ e.createElement(en.CheckboxItem, {
3287
+ }), C.map((t, n) => /* @__PURE__ */ e.createElement(tn.CheckboxItem, {
3288
3288
  key: t.value,
3289
3289
  checked: f.includes(t.value),
3290
3290
  disabled: t.disabled,
3291
3291
  index: n,
3292
3292
  onCheckedChange: () => w(t.value)
3293
- }, t.label)), v && /* @__PURE__ */ e.createElement(en.Footer, null, /* @__PURE__ */ e.createElement("button", {
3293
+ }, t.label)), v && /* @__PURE__ */ e.createElement(tn.Footer, null, /* @__PURE__ */ e.createElement("button", {
3294
3294
  "aria-label": `Clear ${i} filter`,
3295
3295
  onClick: T,
3296
3296
  type: "button"
3297
3297
  }, n))));
3298
- }, un = ({ children: t, className: n, disabled: r, label: i }) => {
3298
+ }, dn = ({ children: t, className: n, disabled: r, label: i }) => {
3299
3299
  let [a, o] = h(!1), s = "pds-nav-accordion";
3300
3300
  return /* @__PURE__ */ e.createElement("div", { className: Z([s, n ?? ""]) }, /* @__PURE__ */ e.createElement("button", {
3301
3301
  "aria-expanded": a,
@@ -3308,24 +3308,24 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3308
3308
  iconName: "angleDown",
3309
3309
  size: "m"
3310
3310
  })), /* @__PURE__ */ e.createElement("div", { className: Z([`${s}__content`, a ? `${s}__content--expanded` : null]) }, t));
3311
- }, dn = {
3311
+ }, fn = {
3312
3312
  info: "Information",
3313
3313
  success: "Success",
3314
3314
  warning: "Warning",
3315
3315
  critical: "Critical",
3316
3316
  discovery: "Discovery"
3317
- }, fn = (e) => "isSeparator" in e && e.isSeparator, pn = (e) => "isHeading" in e && e.isHeading, mn = (e) => "isLink" in e && e.isLink, hn = (e) => "isNode" in e && e.isNode, gn = {
3317
+ }, pn = (e) => "isSeparator" in e && e.isSeparator, mn = (e) => "isHeading" in e && e.isHeading, hn = (e) => "isLink" in e && e.isLink, gn = (e) => "isNode" in e && e.isNode, _n = {
3318
3318
  drupal: "Drupal",
3319
3319
  wordpress: "WordPress",
3320
3320
  gatsby: "Gatsby",
3321
3321
  nextjs: "Next.js"
3322
- }, _n = {
3322
+ }, vn = {
3323
3323
  drupal: "drupal",
3324
3324
  wordpress: "wordpress",
3325
3325
  gatsby: "boltSolid",
3326
3326
  nextjs: "boltSolid"
3327
- }, vn = ({ className: t, disabled: n, iconName: r = "ellipsisVertical", iconOnly: i = !1, id: a, isSplitButton: o = !1, label: s, menuItems: c, menuPosition: l = "start", onClick: u, size: d = "s", statusDot: f, tally: p, testId: m, undefinedLabel: g = "Unlabeled group", variant: _ = "primary", ...v }) => {
3328
- let { activeIndex: y, floatingStyles: b, getFloatingProps: x, getItemProps: S, getReferenceProps: C, isMounted: w, isOpen: T, listRef: E, refs: D, setIsOpen: O, transitionStyles: k } = Zt({
3327
+ }, yn = ({ className: t, disabled: n, iconName: r = "ellipsisVertical", iconOnly: i = !1, id: a, isSplitButton: o = !1, label: s, menuItems: c, menuPosition: l = "start", onClick: u, size: d = "s", statusDot: f, tally: p, testId: m, undefinedLabel: g = "Unlabeled group", variant: _ = "primary", ...v }) => {
3328
+ let { activeIndex: y, floatingStyles: b, getFloatingProps: x, getItemProps: S, getReferenceProps: C, isMounted: w, isOpen: T, listRef: E, refs: D, setIsOpen: O, transitionStyles: k } = Qt({
3329
3329
  enableClick: !n,
3330
3330
  enableShift: !1,
3331
3331
  enableTypeahead: !0,
@@ -3334,7 +3334,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3334
3334
  }), A = "pds-menu-button", j = a, [M] = h(`menu-button-${a}`), N = [], P = [];
3335
3335
  ((e) => {
3336
3336
  e.forEach((e) => {
3337
- !fn(e) && !pn(e) && !hn(e) && P.push(e);
3337
+ !pn(e) && !mn(e) && !gn(e) && P.push(e);
3338
3338
  });
3339
3339
  })(c);
3340
3340
  let F = (e) => {
@@ -3343,24 +3343,24 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3343
3343
  u && u();
3344
3344
  }, L = (t, n, r = "", i = "") => {
3345
3345
  let a = j + (r ? `-group-${r}` : "") + "-item-" + (n + 1), o = "id" in t && t.id ? t.id : a;
3346
- if (fn(t)) return /* @__PURE__ */ e.createElement("li", {
3346
+ if (pn(t)) return /* @__PURE__ */ e.createElement("li", {
3347
3347
  key: o,
3348
3348
  className: "pds-dropdown__separator",
3349
3349
  role: "separator"
3350
3350
  });
3351
- if (pn(t)) return /* @__PURE__ */ e.createElement("li", {
3351
+ if (mn(t)) return /* @__PURE__ */ e.createElement("li", {
3352
3352
  key: i || o,
3353
3353
  className: `pds-dropdown__heading ${A}__listbox-heading`,
3354
3354
  id: i || void 0,
3355
3355
  role: "presentation"
3356
3356
  }, t.label);
3357
- if (hn(t)) return /* @__PURE__ */ e.createElement("li", {
3357
+ if (gn(t)) return /* @__PURE__ */ e.createElement("li", {
3358
3358
  key: o,
3359
3359
  role: "presentation"
3360
3360
  }, t.nodeContent);
3361
- if (mn(t) || "label" in t && t.label) {
3361
+ if (hn(t) || "label" in t && t.label) {
3362
3362
  let n = P.indexOf(t), r = y === n, i = "isCritical" in t && t.isCritical, a = "criticalLabel" in t ? t.criticalLabel : void 0, s = [];
3363
- if ("label" in t && t.label && s.push(t.label), mn(t) && t.linkContent) {
3363
+ if ("label" in t && t.label && s.push(t.label), hn(t) && t.linkContent) {
3364
3364
  let e = t.linkContent;
3365
3365
  s.push(e.props.children);
3366
3366
  }
@@ -3373,7 +3373,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3373
3373
  className: "visually-hidden"
3374
3374
  }, a));
3375
3375
  let c = t.description ? /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-description" }, t.description) : null, l;
3376
- if (mn(t) && t.linkContent) {
3376
+ if (hn(t) && t.linkContent) {
3377
3377
  let n = t.linkContent, r = n.type;
3378
3378
  l = /* @__PURE__ */ e.createElement(r, {
3379
3379
  tabIndex: -1,
@@ -3399,33 +3399,33 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3399
3399
  tabIndex: r ? 0 : -1,
3400
3400
  ...S({
3401
3401
  onClick: () => {
3402
- mn(t) || F(t), O(!1);
3402
+ hn(t) || F(t), O(!1);
3403
3403
  },
3404
3404
  onKeyDown: (e) => {
3405
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), mn(t) && t.linkContent ? e.currentTarget.querySelector("a")?.click() : F(t));
3405
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), hn(t) && t.linkContent ? e.currentTarget.querySelector("a")?.click() : F(t));
3406
3406
  }
3407
3407
  })
3408
3408
  }, l);
3409
3409
  }
3410
3410
  }, R = (t, n) => {
3411
3411
  let r = "id" in t && t.id ? t.id : `${j}-accordion-item-${n + 1}`;
3412
- if (fn(t)) return /* @__PURE__ */ e.createElement("li", {
3412
+ if (pn(t)) return /* @__PURE__ */ e.createElement("li", {
3413
3413
  key: r,
3414
3414
  className: "pds-dropdown__separator",
3415
3415
  role: "separator"
3416
3416
  });
3417
- if (pn(t)) return /* @__PURE__ */ e.createElement("li", {
3417
+ if (mn(t)) return /* @__PURE__ */ e.createElement("li", {
3418
3418
  key: r,
3419
3419
  className: `pds-dropdown__heading ${A}__listbox-heading`,
3420
3420
  role: "presentation"
3421
3421
  }, t.label);
3422
- if (hn(t)) return /* @__PURE__ */ e.createElement("li", {
3422
+ if (gn(t)) return /* @__PURE__ */ e.createElement("li", {
3423
3423
  key: r,
3424
3424
  role: "presentation"
3425
3425
  }, t.nodeContent);
3426
- if (mn(t) || "label" in t && t.label) {
3426
+ if (hn(t) || "label" in t && t.label) {
3427
3427
  let i = "isCritical" in t && t.isCritical, a = "criticalLabel" in t ? t.criticalLabel : void 0, o = [];
3428
- if ("label" in t && t.label && o.push(t.label), mn(t) && t.linkContent) {
3428
+ if ("label" in t && t.label && o.push(t.label), hn(t) && t.linkContent) {
3429
3429
  let e = t.linkContent;
3430
3430
  o.push(e.props.children);
3431
3431
  }
@@ -3438,7 +3438,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3438
3438
  className: "visually-hidden"
3439
3439
  }, a));
3440
3440
  let s = t.description ? /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-description" }, t.description) : null, c;
3441
- if (mn(t) && t.linkContent) {
3441
+ if (hn(t) && t.linkContent) {
3442
3442
  let n = t.linkContent, r = n.type;
3443
3443
  c = /* @__PURE__ */ e.createElement(r, {
3444
3444
  tabIndex: -1,
@@ -3451,13 +3451,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3451
3451
  className: Z(["pds-dropdown__item", i ? "pds-dropdown__item--critical" : null]),
3452
3452
  id: r,
3453
3453
  onClick: () => {
3454
- mn(t) || F(t);
3454
+ hn(t) || F(t);
3455
3455
  },
3456
3456
  role: "menuitem"
3457
3457
  }, c);
3458
3458
  }
3459
3459
  }, z = (t) => {
3460
- let n = t.filter(pn || fn), r = n.length > 0, a = Z([
3460
+ let n = t.filter(mn || pn), r = n.length > 0, a = Z([
3461
3461
  "pds-dropdown__panel",
3462
3462
  `${A}__listbox`,
3463
3463
  l === "end" ? `${A}__listbox--end` : null,
@@ -3488,7 +3488,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3488
3488
  role: "group"
3489
3489
  }, t.map((e) => {
3490
3490
  let t = L(e, o, r, a);
3491
- return !fn(e) && !pn(e) && !hn(e) && o++, t;
3491
+ return !pn(e) && !mn(e) && !gn(e) && o++, t;
3492
3492
  }));
3493
3493
  }));
3494
3494
  } else return /* @__PURE__ */ e.createElement("ul", {
@@ -3505,25 +3505,25 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3505
3505
  ...x()
3506
3506
  }, t.map((e) => {
3507
3507
  let t = L(e, o);
3508
- return !fn(e) && !pn(e) && !hn(e) && o++, t;
3508
+ return !pn(e) && !mn(e) && !gn(e) && o++, t;
3509
3509
  }));
3510
3510
  }, B = (e, t) => {
3511
3511
  let n = [], r = [...t], i = r.shift(), a = [];
3512
3512
  return e.forEach((t, o) => {
3513
3513
  t === i ? (n.push(a), a = [], a.push(t), i = r.shift()) : (a.push(t), o + 1 === e.length && n.push(a));
3514
3514
  }), n.filter((e) => e.length > 0);
3515
- }, V, H = d === "m" ? "s" : "xs", U = p ? /* @__PURE__ */ e.createElement(e.Fragment, null, s, /* @__PURE__ */ e.createElement(zt, {
3515
+ }, V, H = d === "m" ? "s" : "xs", U = p ? /* @__PURE__ */ e.createElement(e.Fragment, null, s, /* @__PURE__ */ e.createElement(Bt, {
3516
3516
  className: "pds-button__tally",
3517
3517
  label: p.label,
3518
3518
  size: H,
3519
3519
  type: p.type
3520
- })) : s, W = p ? /* @__PURE__ */ e.createElement("span", { className: `${A}__accordion-label` }, s, /* @__PURE__ */ e.createElement(zt, {
3520
+ })) : s, W = p ? /* @__PURE__ */ e.createElement("span", { className: `${A}__accordion-label` }, s, /* @__PURE__ */ e.createElement(Bt, {
3521
3521
  className: `${A}__tally`,
3522
3522
  label: p.label,
3523
3523
  size: "s",
3524
3524
  type: p.type
3525
3525
  })) : s;
3526
- if (i || (V = /* @__PURE__ */ e.createElement(Wt, {
3526
+ if (i || (V = /* @__PURE__ */ e.createElement(Gt, {
3527
3527
  ref: D.setReference,
3528
3528
  "aria-controls": M,
3529
3529
  "aria-expanded": T,
@@ -3541,8 +3541,8 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3541
3541
  variant: _,
3542
3542
  ...C({ onClick: I })
3543
3543
  })), i) {
3544
- let t = Ut(s);
3545
- V = /* @__PURE__ */ e.createElement(qt, {
3544
+ let t = Wt(s);
3545
+ V = /* @__PURE__ */ e.createElement(Jt, {
3546
3546
  ref: D.setReference,
3547
3547
  "aria-controls": M,
3548
3548
  "aria-expanded": T,
@@ -3568,71 +3568,79 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3568
3568
  ]),
3569
3569
  "data-testid": m,
3570
3570
  ...v
3571
- }, /* @__PURE__ */ e.createElement(un, {
3571
+ }, /* @__PURE__ */ e.createElement(dn, {
3572
3572
  disabled: n,
3573
3573
  label: G
3574
3574
  }, /* @__PURE__ */ e.createElement("ul", {
3575
3575
  className: `${A}__mobile-menu`,
3576
3576
  role: "menu"
3577
3577
  }, c.map((e, t) => R(e, t)))), V, w && z(c));
3578
- }, yn = ({ className: t, defaultValue: n, disabled: r = !1, id: i, label: a, onChange: o, options: s, size: c = "s", value: l, ...u }) => {
3579
- let d = "pds-segmented-button", f = c === "s" ? null : `${d}--${c}`, p = l !== void 0, [m, g] = h(n === void 0 ? "" : n), _ = (e) => {
3580
- g(e.target.value), o?.(e.target.value);
3578
+ }, bn = ({ border: t = !1, className: n, defaultValue: r, disabled: i = !1, iconOnly: a = !1, id: o, label: s, onChange: c, options: l, size: u = "m", value: d, ...f }) => {
3579
+ let p = "pds-segmented-button", m = u === "m" ? null : `${p}--${u}`, g = t ? `${p}--bordered` : null, _ = a ? `${p}--icon-only` : null;
3580
+ a && process.env.NODE_ENV !== "production" && l.some((e) => !e.iconName) && console.warn("[SegmentedButton] `iconOnly` mode requires every option to have an `iconName`. Options without one will render an empty segment.");
3581
+ let v = d !== void 0, [y, b] = h(r === void 0 ? "" : r), x = (e) => {
3582
+ b(e.target.value), c?.(e.target.value);
3581
3583
  };
3582
- return s.length < 2 || s.length > 6 ? null : /* @__PURE__ */ e.createElement("fieldset", {
3584
+ return l.length < 2 || l.length > 6 ? null : /* @__PURE__ */ e.createElement("fieldset", {
3583
3585
  className: Z([
3584
- d,
3585
- f,
3586
- t ?? ""
3586
+ p,
3587
+ m,
3588
+ g,
3589
+ _,
3590
+ n ?? ""
3587
3591
  ]),
3588
- ...u
3589
- }, /* @__PURE__ */ e.createElement("legend", { className: "visually-hidden" }, a), /* @__PURE__ */ e.createElement("div", { className: `${d}__track` }, s.map((t, n) => {
3590
- let a = p ? l === t.value : m === t.value, o = r || !!t.disabled, s = t.id ?? `${i}-option-${n}`;
3592
+ ...f
3593
+ }, /* @__PURE__ */ e.createElement("legend", { className: "visually-hidden" }, s), /* @__PURE__ */ e.createElement("div", { className: `${p}__track` }, l.map((t, n) => {
3594
+ let r = v ? d === t.value : y === t.value, s = i || !!t.disabled, c = t.id ?? `${o}-option-${n}`, l = a && !s, u = /* @__PURE__ */ e.createElement(e.Fragment, null, t.isLoading && /* @__PURE__ */ e.createElement(Rt, {
3595
+ isInline: !0,
3596
+ className: `${p}__spinner`,
3597
+ color: "currentColor",
3598
+ size: "m"
3599
+ }), t.iconName && !t.isLoading && /* @__PURE__ */ e.createElement(Q, {
3600
+ className: `${p}__icon`,
3601
+ iconName: t.iconName
3602
+ }), /* @__PURE__ */ e.createElement("span", { className: Z([`${p}__label-text`, a ? "visually-hidden" : null]) }, t.label), t.tally && /* @__PURE__ */ e.createElement(Bt, {
3603
+ className: `${p}__tally`,
3604
+ label: t.tally.label,
3605
+ size: "s",
3606
+ type: t.tally.type
3607
+ }));
3591
3608
  return /* @__PURE__ */ e.createElement("div", {
3592
- key: s,
3609
+ key: c,
3593
3610
  className: Z([
3594
- `${d}__option`,
3595
- a ? `${d}__option--checked` : null,
3596
- o ? `${d}__option--disabled` : null
3611
+ `${p}__option`,
3612
+ r ? `${p}__option--checked` : null,
3613
+ s ? `${p}__option--disabled` : null
3597
3614
  ])
3598
3615
  }, /* @__PURE__ */ e.createElement("input", {
3599
- checked: a,
3616
+ checked: r,
3600
3617
  className: "visually-hidden",
3601
- disabled: o,
3602
- id: s,
3603
- name: i,
3604
- onChange: _,
3618
+ disabled: s,
3619
+ id: c,
3620
+ name: o,
3621
+ onChange: x,
3605
3622
  type: "radio",
3606
3623
  value: t.value
3607
3624
  }), /* @__PURE__ */ e.createElement("label", {
3608
- htmlFor: s,
3609
- title: t.label
3610
- }, t.isLoading && /* @__PURE__ */ e.createElement(Lt, {
3611
- isInline: !0,
3612
- className: `${d}__spinner`,
3613
- color: "currentColor",
3614
- size: "m"
3615
- }), t.iconName && !t.isLoading && /* @__PURE__ */ e.createElement(Q, {
3616
- className: `${d}__icon`,
3617
- iconName: t.iconName,
3618
- size: "s"
3619
- }), /* @__PURE__ */ e.createElement("span", { className: `${d}__label-text` }, t.label), t.tally && /* @__PURE__ */ e.createElement(zt, {
3620
- className: `${d}__tally`,
3621
- label: t.tally.label,
3622
- size: "s",
3623
- type: t.tally.type
3624
- })));
3625
+ htmlFor: c,
3626
+ title: l ? void 0 : t.label
3627
+ }, l ? /* @__PURE__ */ e.createElement(xt, {
3628
+ className: `${p}__tooltip`,
3629
+ content: t.label,
3630
+ customTrigger: u,
3631
+ offsetValue: 8
3632
+ }) : u));
3625
3633
  })));
3626
- }, bn = ({ actionItems: t, className: n, disabled: r, id: i, moreActionsLabel: a = "More actions", size: o = "s", variant: s = "primary", ...c }) => {
3634
+ }, xn = ({ actionItems: t, className: n, disabled: r, id: i, moreActionsLabel: a = "More actions", size: o = "s", variant: s = "primary", ...c }) => {
3627
3635
  let l = "pds-split-button", u = `${l}--${s}`, d = t[0], f = t.slice(1), p = null;
3628
- return "isLink" in d && d.isLink === !0 ? p = /* @__PURE__ */ e.createElement(Gt, {
3636
+ return "isLink" in d && d.isLink === !0 ? p = /* @__PURE__ */ e.createElement(Kt, {
3629
3637
  className: `${l}__primary-action`,
3630
3638
  disabled: r,
3631
3639
  displayType: "label-only",
3632
3640
  linkContent: d.linkContent,
3633
3641
  size: o,
3634
3642
  variant: s
3635
- }) : "label" in d && (p = /* @__PURE__ */ e.createElement(Wt, {
3643
+ }) : "label" in d && (p = /* @__PURE__ */ e.createElement(Gt, {
3636
3644
  className: `${l}__primary-action`,
3637
3645
  disabled: r,
3638
3646
  label: d.label,
@@ -3647,7 +3655,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3647
3655
  ]),
3648
3656
  id: i,
3649
3657
  ...c
3650
- }, p, /* @__PURE__ */ e.createElement(vn, {
3658
+ }, p, /* @__PURE__ */ e.createElement(yn, {
3651
3659
  isSplitButton: !0,
3652
3660
  className: `${l}__menu-button`,
3653
3661
  disabled: r,
@@ -3658,7 +3666,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3658
3666
  testId: null,
3659
3667
  variant: s
3660
3668
  }));
3661
- }, xn = {
3669
+ }, Sn = {
3662
3670
  drupal: "Drupal",
3663
3671
  drupal7: "Drupal 7",
3664
3672
  "front-end-sites": "Next.js and Gatsby",
@@ -3673,7 +3681,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3673
3681
  splunk: "Splunk",
3674
3682
  "sumo-logic": "Sumo Logic",
3675
3683
  wordpress: "WordPress"
3676
- }, Sn = ({ className: t, platformType: r, size: i = "2xl", ...a }) => {
3684
+ }, Cn = ({ className: t, platformType: r, size: i = "2xl", ...a }) => {
3677
3685
  let o = "pds-platform-icon", s = `pds-platform-icon--${r}`, c = `pds-platform-icon--${i}`, l;
3678
3686
  if ([
3679
3687
  "front-end-sites",
@@ -3697,11 +3705,11 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3697
3705
  break;
3698
3706
  }
3699
3707
  l = /* @__PURE__ */ e.createElement("span", {
3700
- "aria-label": xn[r],
3708
+ "aria-label": Sn[r],
3701
3709
  className: `${o}__group`,
3702
3710
  role: "img"
3703
- }, n(Cn[t[0]], { "aria-hidden": "true" }), n(Cn[t[1]], { "aria-hidden": "true" }));
3704
- } else l = Cn[r];
3711
+ }, n(wn[t[0]], { "aria-hidden": "true" }), n(wn[t[1]], { "aria-hidden": "true" }));
3712
+ } else l = wn[r];
3705
3713
  return /* @__PURE__ */ e.createElement("div", {
3706
3714
  className: Z([
3707
3715
  o,
@@ -3711,7 +3719,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3711
3719
  ]),
3712
3720
  ...a
3713
3721
  }, l);
3714
- }, Cn = {
3722
+ }, wn = {
3715
3723
  drupal: /* @__PURE__ */ e.createElement("svg", {
3716
3724
  "aria-label": "Drupal",
3717
3725
  fill: "none",
@@ -3938,8 +3946,8 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3938
3946
  d: "M17 10.5V15H21.5C22.0312 15 22.5 15.4688 22.5 16C22.5 16.5625 22.0312 17 21.5 17H17V21.5C17 22.0625 16.5312 22.5 16 22.5C15.4375 22.5 15 22.0625 15 21.5V17H10.5C9.9375 17 9.5 16.5625 9.5 16C9.5 15.4688 9.9375 15 10.5 15H15V10.5C15 9.96875 15.4375 9.5 16 9.5C16.5312 9.5 17 9.96875 17 10.5Z",
3939
3947
  fill: "var(--pds-color-foreground-reverse)"
3940
3948
  }))
3941
- }, wn = ({ buttonType: t = "button", className: n = "", disabled: r = !1, label: i, onClick: a, platform: o, size: s = "m", ...c }) => {
3942
- let l = "pds-sso-button", u = `${l}--${s}`, d = s === "m" ? "l" : "2xl", f = /* @__PURE__ */ e.createElement(Sn, {
3949
+ }, Tn = ({ buttonType: t = "button", className: n = "", disabled: r = !1, label: i, onClick: a, platform: o, size: s = "m", ...c }) => {
3950
+ let l = "pds-sso-button", u = `${l}--${s}`, d = s === "m" ? "l" : "2xl", f = /* @__PURE__ */ e.createElement(Cn, {
3943
3951
  className: `${l}__icon`,
3944
3952
  platformType: o,
3945
3953
  size: d
@@ -3955,12 +3963,12 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3955
3963
  type: t,
3956
3964
  ...c
3957
3965
  }, f, i);
3958
- }, Tn = ({ buttonProps: t, className: r, disabled: i = !1, hasBorder: a = !1, iconName: s, iconPosition: c = "before", isCritical: l = !1, isLoading: u, isMonospace: d = !1, isWorking: f, label: p, linkContent: m, onClick: h, tooltipText: g, ..._ }) => {
3966
+ }, En = ({ buttonProps: t, className: r, disabled: i = !1, hasBorder: a = !1, iconName: s, iconPosition: c = "before", isCritical: l = !1, isLoading: u, isMonospace: d = !1, isWorking: f, label: p, linkContent: m, onClick: h, tooltipText: g, ..._ }) => {
3959
3967
  let v = "pds-utility-button", y = u ? "pds-pulse" : null, b = (t) => s && !f ? /* @__PURE__ */ e.createElement(Q, {
3960
3968
  key: t,
3961
3969
  className: `${v}__icon`,
3962
3970
  iconName: s
3963
- }) : null, x = () => f ? /* @__PURE__ */ e.createElement(Lt, {
3971
+ }) : null, x = () => f ? /* @__PURE__ */ e.createElement(Rt, {
3964
3972
  key: "spinner",
3965
3973
  className: `${v}__spinner`,
3966
3974
  size: "m"
@@ -3979,7 +3987,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
3979
3987
  f ? `${v}--working` : null,
3980
3988
  d ? `${v}--monospace` : null,
3981
3989
  r ?? ""
3982
- ]), T = (t) => g ? /* @__PURE__ */ e.createElement(bt, {
3990
+ ]), T = (t) => g ? /* @__PURE__ */ e.createElement(xt, {
3983
3991
  content: g,
3984
3992
  customTrigger: t
3985
3993
  }) : t;
@@ -4008,7 +4016,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4008
4016
  className: w,
4009
4017
  ..._
4010
4018
  }, T(E));
4011
- }, En = {
4019
+ }, Dn = {
4012
4020
  info: "circleInfo",
4013
4021
  warning: "triangleExclamation",
4014
4022
  success: "circleCheck",
@@ -4016,8 +4024,8 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4016
4024
  discovery: "squareQuestion",
4017
4025
  code: "squareTerminal",
4018
4026
  earlyAccess: "leaf"
4019
- }, Dn = ({ children: t, className: n, headingLevel: r = "span", title: i, type: a = "info", typeLabels: o = {
4020
- ...dn,
4027
+ }, On = ({ children: t, className: n, headingLevel: r = "span", title: i, type: a = "info", typeLabels: o = {
4028
+ ...fn,
4021
4029
  code: "Code",
4022
4030
  earlyAccess: "Early Access"
4023
4031
  }, ...s }) => {
@@ -4030,13 +4038,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4030
4038
  ]),
4031
4039
  ...s
4032
4040
  }, /* @__PURE__ */ e.createElement("div", { className: `${c}__inner` }, /* @__PURE__ */ e.createElement("div", { className: `${c}__icon ${c}__icon--${a}` }, /* @__PURE__ */ e.createElement(Q, {
4033
- iconName: `${a}` in En ? En[a] : En.info,
4041
+ iconName: `${a}` in Dn ? Dn[a] : Dn.info,
4034
4042
  size: "xl"
4035
- })), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, u), i && /* @__PURE__ */ e.createElement(Ht, {
4043
+ })), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, u), i && /* @__PURE__ */ e.createElement(Ut, {
4036
4044
  baseClass: c,
4037
4045
  level: r
4038
4046
  }, i), t && /* @__PURE__ */ e.createElement("div", { className: `${c}__main-content` }, t))));
4039
- }, On = ({ background: t = "default", children: r, className: i, imageVariant: a = "bleed", padding: s = "standard", primaryAction: c, ...l }) => {
4047
+ }, kn = ({ background: t = "default", children: r, className: i, imageVariant: a = "bleed", padding: s = "standard", primaryAction: c, ...l }) => {
4040
4048
  let u = "pds-action-card", d = t === "default" ? null : `${u}--${t}`, f = a === "bleed" ? null : `${u}--image-${a}`, p = s === "standard" ? null : `${u}--pad-${s}`, m = Ie(r), h = m.image, g = m.__unslotted || m.main, _ = m.footer, v = `${u}__primary`, y = c.linkContent && o(c.linkContent) ? n(c.linkContent, {
4041
4049
  "aria-label": c.label,
4042
4050
  className: v
@@ -4056,7 +4064,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4056
4064
  ]),
4057
4065
  ...l
4058
4066
  }, y, /* @__PURE__ */ e.createElement("div", { className: `${u}__inner` }, h && /* @__PURE__ */ e.createElement("div", { className: `${u}__image` }, h[0]), g && /* @__PURE__ */ e.createElement("div", { className: `${u}__main` }, g), _ && /* @__PURE__ */ e.createElement("div", { className: `${u}__footer` }, _)));
4059
- }, kn = ({ background: t = "default", children: n, className: r, imageVariant: i = "bleed", padding: a = "standard", ...o }) => {
4067
+ }, An = ({ background: t = "default", children: n, className: r, imageVariant: i = "bleed", padding: a = "standard", ...o }) => {
4060
4068
  let s = "pds-card", c = t === "default" ? null : `${s}--${t}`, l = i === "bleed" ? null : `${s}--image-${i}`, u = a === "standard" ? null : `${s}--pad-${a}`, d = Ie(n), f = d.image, p = d.__unslotted || d.main, m = d.footer;
4061
4069
  return /* @__PURE__ */ e.createElement("div", {
4062
4070
  className: Z([
@@ -4068,7 +4076,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4068
4076
  ]),
4069
4077
  ...o
4070
4078
  }, f && /* @__PURE__ */ e.createElement("div", { className: `${s}__image` }, f[0]), p && /* @__PURE__ */ e.createElement("div", { className: `${s}__main` }, p), m && /* @__PURE__ */ e.createElement("div", { className: `${s}__footer` }, m));
4071
- }, An = ({ className: t, defaultValue: n, id: r, label: i, labelDisplay: a = "left", layout: o = "auto", onChange: s, options: c, size: l = "m", ...u }) => {
4079
+ }, jn = ({ className: t, defaultValue: n, id: r, label: i, labelDisplay: a = "left", layout: o = "auto", onChange: s, options: c, size: l = "m", ...u }) => {
4072
4080
  let d = "pds-card-select", f = l === "m" ? null : `${d}--${l}`, p = `${d}__legend`;
4073
4081
  a === "center" && (p = `${d}__legend ${d}__legend--center`), a === "hidden" && (p = `${d}__legend visually-hidden`);
4074
4082
  let [m, g] = h(n), _ = (e) => {
@@ -4100,7 +4108,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4100
4108
  iconName: m === t.value ? "circleCheck" : "circle",
4101
4109
  size: "l"
4102
4110
  })), /* @__PURE__ */ e.createElement("span", { className: `${d}__option-label-text` }, t.label), t.children && /* @__PURE__ */ e.createElement("div", { className: `${d}__option-children` }, t.children))))));
4103
- }, jn = ({ className: t, heading: n, headingLevel: r = "span", iconName: i, linkContent: a, message: o, ...s }) => {
4111
+ }, Mn = ({ className: t, heading: n, headingLevel: r = "span", iconName: i, linkContent: a, message: o, ...s }) => {
4104
4112
  let c = "pds-compact-empty-state";
4105
4113
  return /* @__PURE__ */ e.createElement("div", {
4106
4114
  className: Z([c, t ?? ""]),
@@ -4109,11 +4117,11 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4109
4117
  className: `${c}__icon`,
4110
4118
  iconName: i,
4111
4119
  size: "xl"
4112
- }), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, /* @__PURE__ */ e.createElement(Ht, {
4120
+ }), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, /* @__PURE__ */ e.createElement(Ut, {
4113
4121
  baseClass: c,
4114
4122
  level: r
4115
4123
  }, n), o && /* @__PURE__ */ e.createElement("p", { className: `${c}__message` }, o)), a && /* @__PURE__ */ e.createElement("div", { className: `${c}__link` }, a));
4116
- }, Mn = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e.createElement("svg", {
4124
+ }, Nn = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e.createElement("svg", {
4117
4125
  "aria-hidden": "true",
4118
4126
  className: t,
4119
4127
  fill: "currentColor",
@@ -4121,7 +4129,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4121
4129
  viewBox: "0 0 24 22",
4122
4130
  width: "0.875em",
4123
4131
  xmlns: "http://www.w3.org/2000/svg"
4124
- }, /* @__PURE__ */ e.createElement("path", { d: "M23.5642 3.60378C24.3096 2.57959 24.0773 1.15711 23.0318 0.426908C21.9863 -0.303298 20.5343 -0.0757017 19.7889 0.948483L8.6082 16.2164L3.96167 11.6645C3.05173 10.7731 1.58032 10.7731 0.680059 11.6645C-0.220207 12.5559 -0.229887 13.9974 0.670378 14.8888L7.25296 21.3373C7.73698 21.8115 8.40492 22.0486 9.08253 21.9917C9.76015 21.9348 10.3797 21.5934 10.7766 21.0529L23.5545 3.60378H23.5642Z" })), Nn = ({ children: t, label: n }) => {
4132
+ }, /* @__PURE__ */ e.createElement("path", { d: "M23.5642 3.60378C24.3096 2.57959 24.0773 1.15711 23.0318 0.426908C21.9863 -0.303298 20.5343 -0.0757017 19.7889 0.948483L8.6082 16.2164L3.96167 11.6645C3.05173 10.7731 1.58032 10.7731 0.680059 11.6645C-0.220207 12.5559 -0.229887 13.9974 0.670378 14.8888L7.25296 21.3373C7.73698 21.8115 8.40492 22.0486 9.08253 21.9917C9.76015 21.9348 10.3797 21.5934 10.7766 21.0529L23.5545 3.60378H23.5642Z" })), Pn = ({ children: t, label: n }) => {
4125
4133
  let r = "pds-select";
4126
4134
  return /* @__PURE__ */ e.createElement("li", {
4127
4135
  className: `${r}__group`,
@@ -4130,13 +4138,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4130
4138
  className: `${r}__group-options`,
4131
4139
  role: "group"
4132
4140
  }, t));
4133
- }, Pn = ({ autoWidth: t = !1, className: n, defaultValue: r, disabled: i, icon: a, id: o, inputWidth: s, label: c, labelStrings: u = {
4141
+ }, Fn = ({ autoWidth: t = !1, className: n, defaultValue: r, disabled: i, icon: a, id: o, inputWidth: s, label: c, labelStrings: u = {
4134
4142
  selectOptionText: "Select an option...",
4135
4143
  triggerButton: "Toggle dropdown menu"
4136
4144
  }, message: d, onBlur: f, onFocus: p, onOptionSelect: m, options: g, required: _ = !1, showLabel: v = !0, size: y = "s", tooltipText: b = null, validationMessage: x, validationStatus: S, value: C, ...w }) => {
4137
- let T = xt(s), E = "pds-select", D = t ? `${E}--auto-width` : null, O = y === "s" ? null : `${E}--${y}`, k = i ? $.disabled : null, A = _ && !i ? $.required : null, j = S === "error" ? $.error : null, M = S === "success" ? $.success : null, N = null;
4145
+ let T = St(s), E = "pds-select", D = t ? `${E}--auto-width` : null, O = y === "s" ? null : `${E}--${y}`, k = i ? $.disabled : null, A = _ && !i ? $.required : null, j = S === "error" ? $.error : null, M = S === "success" ? $.success : null, N = null;
4138
4146
  S === "error" && (N = "error"), S === "success" && (N = "success");
4139
- let P = x || d, F = C !== void 0, I = r !== void 0, L = ((e) => e.reduce((e, t) => Mt(t) ? [...e, ...t.options] : [...e, t], []))(g), R = (e) => L.findIndex((t) => t.value === e), z = F && R(C) >= 0 ? R(C) : null, B = I ? R(r) : null, [V, H] = h((z || B) ?? null), { activeIndex: U, floatingStyles: W, getFloatingProps: G, getItemProps: K, getReferenceProps: q, isMounted: J, listRef: ee, refs: te, setIsOpen: ne, transitionStyles: re } = Zt({
4147
+ let P = x || d, F = C !== void 0, I = r !== void 0, L = ((e) => e.reduce((e, t) => Nt(t) ? [...e, ...t.options] : [...e, t], []))(g), R = (e) => L.findIndex((t) => t.value === e), z = F && R(C) >= 0 ? R(C) : null, B = I ? R(r) : null, [V, H] = h((z || B) ?? null), { activeIndex: U, floatingStyles: W, getFloatingProps: G, getItemProps: K, getReferenceProps: q, isMounted: J, listRef: ee, refs: te, setIsOpen: ne, transitionStyles: re } = Qt({
4140
4148
  enableClick: !i,
4141
4149
  enableTypeahead: !0,
4142
4150
  role: "listbox",
@@ -4155,7 +4163,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4155
4163
  p && p(Y);
4156
4164
  }, ce = () => {
4157
4165
  te.reference.current.focus();
4158
- }, le = (t, n) => t === "google" || t === "microsoft" ? /* @__PURE__ */ e.createElement(Sn, {
4166
+ }, le = (t, n) => t === "google" || t === "microsoft" ? /* @__PURE__ */ e.createElement(Cn, {
4159
4167
  className: n,
4160
4168
  platformType: t,
4161
4169
  size: "m"
@@ -4166,10 +4174,10 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4166
4174
  }), ue = (t) => {
4167
4175
  let n = 0;
4168
4176
  return t.map((t) => {
4169
- if (Mt(t)) {
4177
+ if (Nt(t)) {
4170
4178
  let r = t.options.map((t) => {
4171
4179
  let r = n++;
4172
- return /* @__PURE__ */ e.createElement(Nt, {
4180
+ return /* @__PURE__ */ e.createElement(Pt, {
4173
4181
  key: r,
4174
4182
  ref: (e) => {
4175
4183
  ee.current[r] = e;
@@ -4185,15 +4193,15 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4185
4193
  e.key === "Enter" && (e.preventDefault(), oe(r), te.reference.current.focus()), e.key === "Escape" && (e.preventDefault(), te.reference.current.focus());
4186
4194
  }
4187
4195
  })
4188
- }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-label` }, t.icon && le(t.icon, `${E}__option-icon`), t.label), V === r && /* @__PURE__ */ e.createElement(Mn, null));
4196
+ }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-label` }, t.icon && le(t.icon, `${E}__option-icon`), t.label), V === r && /* @__PURE__ */ e.createElement(Nn, null));
4189
4197
  });
4190
- return /* @__PURE__ */ e.createElement(Nn, {
4198
+ return /* @__PURE__ */ e.createElement(Pn, {
4191
4199
  key: t.groupLabel,
4192
4200
  label: t.groupLabel
4193
4201
  }, r);
4194
4202
  }
4195
4203
  let r = n++;
4196
- return /* @__PURE__ */ e.createElement(Nt, {
4204
+ return /* @__PURE__ */ e.createElement(Pt, {
4197
4205
  key: r,
4198
4206
  ref: (e) => {
4199
4207
  ee.current[r] = e;
@@ -4209,7 +4217,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4209
4217
  e.key === "Enter" && (e.preventDefault(), oe(r), te.reference.current.focus()), e.key === "Escape" && (e.preventDefault(), te.reference.current.focus());
4210
4218
  }
4211
4219
  })
4212
- }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-label` }, t.icon && le(t.icon, `${E}__option-icon`), t.label), V === r && /* @__PURE__ */ e.createElement(Mn, null));
4220
+ }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-label` }, t.icon && le(t.icon, `${E}__option-icon`), t.label), V === r && /* @__PURE__ */ e.createElement(Nn, null));
4213
4221
  });
4214
4222
  };
4215
4223
  return /* @__PURE__ */ e.createElement("div", {
@@ -4232,10 +4240,10 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4232
4240
  }, L.map((t) => /* @__PURE__ */ e.createElement("span", {
4233
4241
  key: t.value,
4234
4242
  className: `${E}__input-wrapper`
4235
- }, S !== void 0 && /* @__PURE__ */ e.createElement(Dt, { variant: "error" }), /* @__PURE__ */ e.createElement("span", { className: `${E}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-text` }, t.icon && le(t.icon, `${E}__icon`), t.label), /* @__PURE__ */ e.createElement(Q, {
4243
+ }, S !== void 0 && /* @__PURE__ */ e.createElement(Ot, { variant: "error" }), /* @__PURE__ */ e.createElement("span", { className: `${E}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-text` }, t.icon && le(t.icon, `${E}__icon`), t.label), /* @__PURE__ */ e.createElement(Q, {
4236
4244
  className: `${E}__trigger-icon`,
4237
4245
  iconName: "angleDown"
4238
- }))))), /* @__PURE__ */ e.createElement(wt, {
4246
+ }))))), /* @__PURE__ */ e.createElement(Tt, {
4239
4247
  disabled: i,
4240
4248
  id: o,
4241
4249
  label: c,
@@ -4254,7 +4262,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4254
4262
  onBlur: X,
4255
4263
  onFocus: se
4256
4264
  })
4257
- }, N && /* @__PURE__ */ e.createElement(Dt, { variant: N }), /* @__PURE__ */ e.createElement("span", { className: `${E}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-text` }, (ae || !ie && a) && le(ae || a, `${E}__icon`), /* @__PURE__ */ e.createElement("span", { className: `${E}__option-label-text` }, ie ?? u.selectOptionText)), /* @__PURE__ */ e.createElement(Q, {
4265
+ }, N && /* @__PURE__ */ e.createElement(Ot, { variant: N }), /* @__PURE__ */ e.createElement("span", { className: `${E}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${E}__option-text` }, (ae || !ie && a) && le(ae || a, `${E}__icon`), /* @__PURE__ */ e.createElement("span", { className: `${E}__option-label-text` }, ie ?? u.selectOptionText)), /* @__PURE__ */ e.createElement(Q, {
4258
4266
  className: `${E}__trigger-icon`,
4259
4267
  iconName: "angleDown"
4260
4268
  }))), J && /* @__PURE__ */ e.createElement("div", {
@@ -4268,24 +4276,24 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4268
4276
  }, /* @__PURE__ */ e.createElement("div", { style: { ...re } }, /* @__PURE__ */ e.createElement("ul", {
4269
4277
  className: `${E}__options`,
4270
4278
  role: "group"
4271
- }, ue(g)))), P && /* @__PURE__ */ e.createElement(Tt, {
4279
+ }, ue(g)))), P && /* @__PURE__ */ e.createElement(Et, {
4272
4280
  hasValidationMessage: !!x,
4273
4281
  id: o,
4274
4282
  message: P,
4275
4283
  validationMessageHasDecorators: !1,
4276
4284
  validationStatus: S
4277
4285
  }));
4278
- }, Fn = {
4286
+ }, In = {
4279
4287
  "sequential-iris": 2,
4280
4288
  "sequential-multi": 2
4281
- }, In = (e, t) => {
4282
- let n = Fn[e];
4283
- return n ? t.slice(n) : t;
4284
4289
  }, Ln = (e, t) => {
4290
+ let n = In[e];
4291
+ return n ? t.slice(n) : t;
4292
+ }, Rn = (e, t) => {
4285
4293
  if (t === void 0) return;
4286
- let n = Fn[e];
4294
+ let n = In[e];
4287
4295
  return n ? Math.max(t, n + 1) - n : t;
4288
- }, Rn = {
4296
+ }, zn = {
4289
4297
  categorical: [
4290
4298
  "--pds-color-datavis-categorical-1",
4291
4299
  "--pds-color-datavis-categorical-2",
@@ -4349,7 +4357,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4349
4357
  "--pds-color-datavis-status-discovery",
4350
4358
  "--pds-color-datavis-status-neutral"
4351
4359
  ]
4352
- }, zn = {
4360
+ }, Bn = {
4353
4361
  categorical: [
4354
4362
  "#00b29e",
4355
4363
  "#3778d7",
@@ -4413,34 +4421,34 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4413
4421
  "#6f20a5",
4414
4422
  "#6a6e7a"
4415
4423
  ]
4416
- }, Bn = (e, t, n, r) => n || (r === void 0 ? t[e % t.length] : t[(r - 1) % t.length]), Vn = (e, t) => {
4417
- let n = zn[t];
4424
+ }, Vn = (e, t, n, r) => n || (r === void 0 ? t[e % t.length] : t[(r - 1) % t.length]), Hn = (e, t) => {
4425
+ let n = Bn[t];
4418
4426
  if (!e) return n;
4419
4427
  let r = getComputedStyle(e);
4420
- return Rn[t].map((e, t) => r.getPropertyValue(e).trim() || n[t]);
4421
- }, Hn = (e, t = "categorical") => {
4422
- let [n, r] = h(zn[t]);
4428
+ return zn[t].map((e, t) => r.getPropertyValue(e).trim() || n[t]);
4429
+ }, Un = (e, t = "categorical") => {
4430
+ let [n, r] = h(Bn[t]);
4423
4431
  return l(() => {
4424
4432
  if (!e.current) return;
4425
- r(Vn(e.current, t));
4433
+ r(Hn(e.current, t));
4426
4434
  let n = new MutationObserver(() => {
4427
- e.current && r(Vn(e.current, t));
4435
+ e.current && r(Hn(e.current, t));
4428
4436
  });
4429
4437
  return n.observe(document.documentElement, {
4430
4438
  attributeFilter: ["data-theme"],
4431
4439
  attributes: !0
4432
4440
  }), () => n.disconnect();
4433
4441
  }, [e, t]), n;
4434
- }, Un = {
4442
+ }, Wn = {
4435
4443
  fill: "var(--pds-color-foreground-default-secondary)",
4436
4444
  fontFamily: "var(--pds-typography-ff-default)",
4437
4445
  fontSize: "var(--pds-typography-size-xs)"
4438
- }, Wn = {
4446
+ }, Gn = {
4439
4447
  fill: "var(--pds-color-foreground-default-secondary)",
4440
4448
  fontFamily: "var(--pds-typography-ff-default)",
4441
4449
  fontSize: "var(--pds-typography-size-xs)",
4442
4450
  fontWeight: "var(--pds-typography-fw-semibold)"
4443
- }, Gn = ({ data: t, description: n, series: r, valueFormatter: i }) => {
4451
+ }, Kn = ({ data: t, description: n, series: r, valueFormatter: i }) => {
4444
4452
  let a = (e) => typeof e == "number" && i ? i(e) : typeof e == "number" ? e.toLocaleString() : String(e);
4445
4453
  return /* @__PURE__ */ e.createElement("table", {
4446
4454
  "aria-label": n,
@@ -4450,7 +4458,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4450
4458
  key: t.dataKey,
4451
4459
  scope: "col"
4452
4460
  }, t.label)))), /* @__PURE__ */ e.createElement("tbody", null, t.map((t, n) => /* @__PURE__ */ e.createElement("tr", { key: `${t.label}-${n}` }, /* @__PURE__ */ e.createElement("td", null, t.label), r.map((n) => /* @__PURE__ */ e.createElement("td", { key: n.dataKey }, a(t[n.dataKey])))))));
4453
- }, Kn = ({ data: t = [], series: n, seriesColors: r, tableHeader: i = "Total", valueFormatter: a = (e) => e.toLocaleString(), variant: o = "inline" }) => {
4461
+ }, qn = ({ data: t = [], series: n, seriesColors: r, tableHeader: i = "Total", valueFormatter: a = (e) => e.toLocaleString(), variant: o = "inline" }) => {
4454
4462
  let s = "pds-chart-legend", c = (e, t, n) => t || (n === void 0 ? r[e % r.length] : r[(n - 1) % r.length]);
4455
4463
  if (o === "table") {
4456
4464
  let r = n.map((e) => t.reduce((t, n) => {
@@ -4472,12 +4480,12 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4472
4480
  className: `${s}__swatch`,
4473
4481
  style: { backgroundColor: c(n, t.color, t.paletteIndex) }
4474
4482
  }), t.label)));
4475
- }, qn = (e) => typeof e == "number" ? `${e}rem` : typeof e == "string" && e.endsWith("%") ? e : `${ut[`SPACING_${e.toUpperCase()}`]}rem`, Jn = ({ className: t, colorType: n = "regular", isAnimated: r = !0, shape: i = "rounded", size: a, textIsJustified: o, textLineCount: s = 1, textSize: c = "m", ...l }) => {
4483
+ }, Jn = (e) => typeof e == "number" ? `${e}rem` : typeof e == "string" && e.endsWith("%") ? e : `${ut[`SPACING_${e.toUpperCase()}`]}rem`, Yn = ({ className: t, colorType: n = "regular", isAnimated: r = !0, shape: i = "rounded", size: a, textIsJustified: o, textLineCount: s = 1, textSize: c = "m", ...l }) => {
4476
4484
  let u = "pds-skeleton", d = `${u}--${i}`, f = r ? `pds-pulse pds-pulse--${n}` : `${u}--${n}`, p = [
4477
4485
  "text-block",
4478
4486
  "code-block",
4479
4487
  "code-block-prefix"
4480
- ], m = a?.height ? qn(a.height) : "1rem", h = a?.width ? qn(a.width) : "100%", g = {
4488
+ ], m = a?.height ? Jn(a.height) : "1rem", h = a?.width ? Jn(a.width) : "100%", g = {
4481
4489
  height: m,
4482
4490
  width: h
4483
4491
  };
@@ -4549,13 +4557,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4549
4557
  }
4550
4558
  }))));
4551
4559
  return p.includes(i) ? w : _;
4552
- }, Yn = () => /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton-legend pds-chart__skeleton-legend--table" }, /* @__PURE__ */ e.createElement(Jn, {
4560
+ }, Xn = () => /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton-legend pds-chart__skeleton-legend--table" }, /* @__PURE__ */ e.createElement(Yn, {
4553
4561
  shape: "rounded",
4554
4562
  size: {
4555
4563
  height: 4,
4556
4564
  width: "100%"
4557
4565
  }
4558
- })), Xn = ({ borderRadius: t, height: n, legendAlignment: r = "center", legendVariant: i = "inline", showLegend: a = !0 }) => /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton" }, /* @__PURE__ */ e.createElement("div", {
4566
+ })), Zn = ({ borderRadius: t, height: n, legendAlignment: r = "center", legendVariant: i = "inline", showLegend: a = !0 }) => /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton" }, /* @__PURE__ */ e.createElement("div", {
4559
4567
  className: "pds-chart__skeleton-area",
4560
4568
  style: { height: n }
4561
4569
  }, t ? /* @__PURE__ */ e.createElement("div", { style: {
@@ -4563,41 +4571,41 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4563
4571
  height: "100%",
4564
4572
  overflow: "hidden",
4565
4573
  width: "100%"
4566
- } }, /* @__PURE__ */ e.createElement(Jn, {
4574
+ } }, /* @__PURE__ */ e.createElement(Yn, {
4567
4575
  shape: "rectangular",
4568
4576
  size: {
4569
4577
  height: "100%",
4570
4578
  width: "100%"
4571
4579
  }
4572
- })) : /* @__PURE__ */ e.createElement(Jn, {
4580
+ })) : /* @__PURE__ */ e.createElement(Yn, {
4573
4581
  shape: "rounded",
4574
4582
  size: {
4575
4583
  height: "100%",
4576
4584
  width: "100%"
4577
4585
  }
4578
- })), a && (i === "table" ? /* @__PURE__ */ e.createElement(Yn, null) : /* @__PURE__ */ e.createElement("div", { className: `pds-chart__skeleton-legend pds-chart__skeleton-legend--inline${r === "left" ? "-left" : ""}` }, /* @__PURE__ */ e.createElement(Jn, {
4586
+ })), a && (i === "table" ? /* @__PURE__ */ e.createElement(Xn, null) : /* @__PURE__ */ e.createElement("div", { className: `pds-chart__skeleton-legend pds-chart__skeleton-legend--inline${r === "left" ? "-left" : ""}` }, /* @__PURE__ */ e.createElement(Yn, {
4579
4587
  shape: "rounded",
4580
4588
  size: {
4581
4589
  height: .75,
4582
4590
  width: 5
4583
4591
  }
4584
- }), /* @__PURE__ */ e.createElement(Jn, {
4592
+ }), /* @__PURE__ */ e.createElement(Yn, {
4585
4593
  shape: "rounded",
4586
4594
  size: {
4587
4595
  height: .75,
4588
4596
  width: 5
4589
4597
  }
4590
- }), /* @__PURE__ */ e.createElement(Jn, {
4598
+ }), /* @__PURE__ */ e.createElement(Yn, {
4591
4599
  shape: "rounded",
4592
4600
  size: {
4593
4601
  height: .75,
4594
4602
  width: 5
4595
4603
  }
4596
- })))), Zn = (e) => {
4604
+ })))), Qn = (e) => {
4597
4605
  let t = Math.abs(e);
4598
4606
  return t >= 1e9 ? `${(e / 1e9).toFixed(1).replace(/\.0$/, "")}B` : t >= 1e6 ? `${(e / 1e6).toFixed(1).replace(/\.0$/, "")}M` : t >= 1e3 ? `${(e / 1e3).toFixed(1).replace(/\.0$/, "")}K` : String(e);
4599
- }, Qn = ({ barRadius: t = 2, chartHeight: n, chartWidth: r, className: i, colorPalette: a = "categorical", data: o = [], isLoading: c = !1, isThumbnail: u = !1, labelStrings: d = {}, layout: f = "horizontal", legendVariant: p = "inline", onTimePeriodChange: g, selectedTimePeriod: _, series: v = [], showAccessibleTable: y, showAxisLines: b, showGrid: x, showLegend: T, showTooltip: D, timePeriodOptions: O, tooltipContent: k, variant: j = "stacked", xAxisLabel: M, xAxisTickInterval: N, yAxisDomain: P, yAxisFormatter: F = Zn, yAxisLabel: I, yAxisTickInterval: R, ...H }) => {
4600
- let { accessibleTableDescription: U = "Bar chart data", emptyStateHeading: W = "No data available", emptyStateMessage: G, legendTableHeader: K, loadingLabel: q = "Loading chart data" } = d, re = m(null), ie = In(a, Hn(re, a)), ae = n ?? (u ? 60 : 360), Y = r ?? (u ? 60 : void 0), oe = x ?? !u, X = b ?? !u, se = T ?? !u, ce = D ?? !u, le = y ?? !0, [ue, de] = h(null), fe = m(ue);
4607
+ }, $n = ({ barRadius: t = 2, chartHeight: n, chartWidth: r, className: i, colorPalette: a = "categorical", data: o = [], isLoading: c = !1, isThumbnail: u = !1, labelStrings: d = {}, layout: f = "horizontal", legendVariant: p = "inline", onTimePeriodChange: g, selectedTimePeriod: _, series: v = [], showAccessibleTable: y, showAxisLines: b, showGrid: x, showLegend: T, showTooltip: D, timePeriodOptions: O, tooltipContent: k, variant: j = "stacked", xAxisLabel: M, xAxisTickInterval: N, yAxisDomain: P, yAxisFormatter: F = Qn, yAxisLabel: I, yAxisTickInterval: R, ...H }) => {
4608
+ let { accessibleTableDescription: U = "Bar chart data", emptyStateHeading: W = "No data available", emptyStateMessage: G, legendTableHeader: K, loadingLabel: q = "Loading chart data" } = d, re = m(null), ie = Ln(a, Un(re, a)), ae = n ?? (u ? 60 : 360), Y = r ?? (u ? 60 : void 0), oe = x ?? !u, X = b ?? !u, se = T ?? !u, ce = D ?? !u, le = y ?? !0, [ue, de] = h(null), fe = m(ue);
4601
4609
  ue && (fe.current = ue);
4602
4610
  let pe = m({ getBoundingClientRect: () => ({
4603
4611
  bottom: 0,
@@ -4655,7 +4663,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4655
4663
  ]),
4656
4664
  style: { maxWidth: Y },
4657
4665
  ...H
4658
- }, /* @__PURE__ */ e.createElement(Xn, {
4666
+ }, /* @__PURE__ */ e.createElement(Zn, {
4659
4667
  height: ae,
4660
4668
  legendVariant: p,
4661
4669
  showLegend: se
@@ -4672,7 +4680,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4672
4680
  maxWidth: Y
4673
4681
  },
4674
4682
  ...H
4675
- }, /* @__PURE__ */ e.createElement(jn, {
4683
+ }, /* @__PURE__ */ e.createElement(Mn, {
4676
4684
  heading: W,
4677
4685
  message: G
4678
4686
  }));
@@ -4692,7 +4700,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4692
4700
  className: Z([be, i ?? ""]),
4693
4701
  style: Y ? { maxWidth: Y } : void 0,
4694
4702
  ...H
4695
- }, !u && O && O.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${be}__header` }, /* @__PURE__ */ e.createElement(Pn, {
4703
+ }, !u && O && O.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${be}__header` }, /* @__PURE__ */ e.createElement(Fn, {
4696
4704
  autoWidth: !0,
4697
4705
  id: `${be}-time-period`,
4698
4706
  label: "Time period",
@@ -4736,12 +4744,12 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4736
4744
  hide: !X,
4737
4745
  interval: N,
4738
4746
  label: M && X ? {
4739
- ...Wn,
4747
+ ...Gn,
4740
4748
  offset: -15,
4741
4749
  position: "insideBottom",
4742
4750
  value: M
4743
4751
  } : void 0,
4744
- tick: X ? Un : !1,
4752
+ tick: X ? Wn : !1,
4745
4753
  tickFormatter: we ? F : void 0,
4746
4754
  tickLine: !1,
4747
4755
  tickMargin: 10,
@@ -4753,13 +4761,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4753
4761
  hide: !X,
4754
4762
  interval: R,
4755
4763
  label: I && X ? {
4756
- ...Wn,
4764
+ ...Gn,
4757
4765
  angle: -90,
4758
4766
  dx: -44,
4759
4767
  position: "center",
4760
4768
  value: I
4761
4769
  } : void 0,
4762
- tick: X ? Un : !1,
4770
+ tick: X ? Wn : !1,
4763
4771
  tickFormatter: we ? void 0 : F,
4764
4772
  tickLine: !1,
4765
4773
  tickMargin: 6,
@@ -4778,12 +4786,12 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4778
4786
  }), v.map((t, n) => /* @__PURE__ */ e.createElement(z, {
4779
4787
  key: t.dataKey,
4780
4788
  dataKey: t.dataKey,
4781
- fill: Bn(n, ie, t.color, Ln(a, t.paletteIndex)),
4789
+ fill: Vn(n, ie, t.color, Rn(a, t.paletteIndex)),
4782
4790
  name: t.label,
4783
4791
  onMouseEnter: k ? void 0 : (e) => {
4784
4792
  let r = e;
4785
4793
  ce && r && de({
4786
- color: Bn(n, ie, t.color, Ln(a, t.paletteIndex)),
4794
+ color: Vn(n, ie, t.color, Rn(a, t.paletteIndex)),
4787
4795
  label: String(r.label ?? ""),
4788
4796
  name: t.label,
4789
4797
  value: Number(r[t.dataKey] ?? 0)
@@ -4805,26 +4813,26 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4805
4813
  }, /* @__PURE__ */ e.createElement("p", { className: "recharts-tooltip-label" }, fe.current.label), /* @__PURE__ */ e.createElement("p", { className: "recharts-tooltip-item" }, /* @__PURE__ */ e.createElement("span", {
4806
4814
  className: "recharts-tooltip-item__color",
4807
4815
  style: { backgroundColor: fe.current.color }
4808
- }), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-name" }, fe.current.name), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-separator" }, ": "), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-value" }, F(fe.current.value)))), se && /* @__PURE__ */ e.createElement(Kn, {
4816
+ }), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-name" }, fe.current.name), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-separator" }, ": "), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-value" }, F(fe.current.value)))), se && /* @__PURE__ */ e.createElement(qn, {
4809
4817
  data: o,
4810
4818
  series: v,
4811
4819
  seriesColors: ie,
4812
4820
  tableHeader: K,
4813
4821
  valueFormatter: F,
4814
4822
  variant: p
4815
- }), le && /* @__PURE__ */ e.createElement(Gn, {
4823
+ }), le && /* @__PURE__ */ e.createElement(Kn, {
4816
4824
  data: o,
4817
4825
  description: U,
4818
4826
  series: v,
4819
4827
  valueFormatter: F
4820
4828
  }));
4821
- }, $n = (e) => {
4829
+ }, er = (e) => {
4822
4830
  switch (e) {
4823
4831
  case "dashed": return "8 4";
4824
4832
  default: return;
4825
4833
  }
4826
- }, er = ({ annotations: t, chartHeight: n, chartWidth: r, className: i, colorPalette: a = "categorical", data: o = [], isLoading: s = !1, isThumbnail: c = !1, labelStrings: l = {}, legendVariant: u = "inline", lineStyle: d = "smooth", onTimePeriodChange: f, referenceLines: p, selectedTimePeriod: h, series: g = [], showAccessibleTable: _, showAxisLines: v, showDataPoints: y, showGrid: b, showLegend: x, showTooltip: S, timePeriodOptions: C, tooltipContent: w, xAxisLabel: T, xAxisTickInterval: E, yAxisDomain: D, yAxisFormatter: O = Zn, yAxisLabel: k, yAxisTickInterval: A, ...j }) => {
4827
- let { accessibleTableDescription: M = "Line chart data", emptyStateHeading: N = "No data available", emptyStateMessage: P, legendTableHeader: F, loadingLabel: I = "Loading chart data" } = l, L = m(null), R = In(a, Hn(L, a)), z = n ?? (c ? 60 : 360), B = r ?? (c ? 60 : void 0), H = b ?? !c, G = v ?? !c, K = x ?? !c, re = S ?? !c, ie = y ?? !c, ae = _ ?? !0, Y = "pds-line-chart";
4834
+ }, tr = ({ annotations: t, chartHeight: n, chartWidth: r, className: i, colorPalette: a = "categorical", data: o = [], isLoading: s = !1, isThumbnail: c = !1, labelStrings: l = {}, legendVariant: u = "inline", lineStyle: d = "smooth", onTimePeriodChange: f, referenceLines: p, selectedTimePeriod: h, series: g = [], showAccessibleTable: _, showAxisLines: v, showDataPoints: y, showGrid: b, showLegend: x, showTooltip: S, timePeriodOptions: C, tooltipContent: w, xAxisLabel: T, xAxisTickInterval: E, yAxisDomain: D, yAxisFormatter: O = Qn, yAxisLabel: k, yAxisTickInterval: A, ...j }) => {
4835
+ let { accessibleTableDescription: M = "Line chart data", emptyStateHeading: N = "No data available", emptyStateMessage: P, legendTableHeader: F, loadingLabel: I = "Loading chart data" } = l, L = m(null), R = Ln(a, Un(L, a)), z = n ?? (c ? 60 : 360), B = r ?? (c ? 60 : void 0), H = b ?? !c, G = v ?? !c, K = x ?? !c, re = S ?? !c, ie = y ?? !c, ae = _ ?? !0, Y = "pds-line-chart";
4828
4836
  return s ? /* @__PURE__ */ e.createElement("div", {
4829
4837
  ref: L,
4830
4838
  "aria-busy": "true",
@@ -4836,7 +4844,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4836
4844
  ]),
4837
4845
  style: { maxWidth: B },
4838
4846
  ...j
4839
- }, /* @__PURE__ */ e.createElement(Xn, {
4847
+ }, /* @__PURE__ */ e.createElement(Zn, {
4840
4848
  height: z,
4841
4849
  legendVariant: u,
4842
4850
  showLegend: K
@@ -4852,7 +4860,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4852
4860
  maxWidth: B
4853
4861
  },
4854
4862
  ...j
4855
- }, /* @__PURE__ */ e.createElement(jn, {
4863
+ }, /* @__PURE__ */ e.createElement(Mn, {
4856
4864
  heading: N,
4857
4865
  message: P
4858
4866
  })) : /* @__PURE__ */ e.createElement("div", {
@@ -4860,7 +4868,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4860
4868
  className: Z([Y, i ?? ""]),
4861
4869
  style: B ? { maxWidth: B } : void 0,
4862
4870
  ...j
4863
- }, !c && C && C.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${Y}__header` }, /* @__PURE__ */ e.createElement(Pn, {
4871
+ }, !c && C && C.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${Y}__header` }, /* @__PURE__ */ e.createElement(Fn, {
4864
4872
  autoWidth: !0,
4865
4873
  id: `${Y}-time-period`,
4866
4874
  label: "Time period",
@@ -4896,12 +4904,12 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4896
4904
  hide: !G,
4897
4905
  interval: E,
4898
4906
  label: T && G ? {
4899
- ...Wn,
4907
+ ...Gn,
4900
4908
  offset: -15,
4901
4909
  position: "insideBottom",
4902
4910
  value: T
4903
4911
  } : void 0,
4904
- tick: G ? Un : !1,
4912
+ tick: G ? Wn : !1,
4905
4913
  tickLine: !1,
4906
4914
  tickMargin: 10
4907
4915
  }), /* @__PURE__ */ e.createElement(ne, {
@@ -4910,13 +4918,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4910
4918
  hide: !G,
4911
4919
  interval: A,
4912
4920
  label: k && G ? {
4913
- ...Wn,
4921
+ ...Gn,
4914
4922
  angle: -90,
4915
4923
  dx: -44,
4916
4924
  position: "center",
4917
4925
  value: k
4918
4926
  } : void 0,
4919
- tick: G ? Un : !1,
4927
+ tick: G ? Wn : !1,
4920
4928
  tickFormatter: O,
4921
4929
  tickLine: !1,
4922
4930
  tickMargin: 6
@@ -4943,13 +4951,13 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4943
4951
  activeDot: ie ? { r: 6 } : !1,
4944
4952
  dataKey: t.dataKey,
4945
4953
  dot: ie ? {
4946
- fill: Bn(n, R, t.color, Ln(a, t.paletteIndex)),
4954
+ fill: Vn(n, R, t.color, Rn(a, t.paletteIndex)),
4947
4955
  r: 4,
4948
4956
  strokeWidth: 0
4949
4957
  } : !1,
4950
4958
  name: t.label,
4951
- stroke: Bn(n, R, t.color, Ln(a, t.paletteIndex)),
4952
- strokeDasharray: $n(t.strokeStyle),
4959
+ stroke: Vn(n, R, t.color, Rn(a, t.paletteIndex)),
4960
+ strokeDasharray: er(t.strokeStyle),
4953
4961
  strokeWidth: 2,
4954
4962
  type: d === "straight" ? "linear" : "monotone"
4955
4963
  })), !c && p?.map((t, n) => {
@@ -4969,7 +4977,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4969
4977
  }, t.label.toUpperCase());
4970
4978
  },
4971
4979
  stroke: r,
4972
- strokeDasharray: $n(t.strokeStyle ?? "dashed"),
4980
+ strokeDasharray: er(t.strokeStyle ?? "dashed"),
4973
4981
  y: t.value
4974
4982
  });
4975
4983
  }), !c && t?.map((t, n) => {
@@ -4989,24 +4997,24 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
4989
4997
  }, t.text.toUpperCase());
4990
4998
  },
4991
4999
  stroke: r,
4992
- strokeDasharray: $n(t.strokeStyle ?? "dashed"),
5000
+ strokeDasharray: er(t.strokeStyle ?? "dashed"),
4993
5001
  x: t.atLabel
4994
5002
  });
4995
- })))), K && /* @__PURE__ */ e.createElement(Kn, {
5003
+ })))), K && /* @__PURE__ */ e.createElement(qn, {
4996
5004
  data: o,
4997
5005
  series: g,
4998
5006
  seriesColors: R,
4999
5007
  tableHeader: F,
5000
5008
  valueFormatter: O,
5001
5009
  variant: u
5002
- }), ae && /* @__PURE__ */ e.createElement(Gn, {
5010
+ }), ae && /* @__PURE__ */ e.createElement(Kn, {
5003
5011
  data: o,
5004
5012
  description: M,
5005
5013
  series: g,
5006
5014
  valueFormatter: O
5007
5015
  }));
5008
- }, tr = (e, t) => `(${t > 0 ? Math.round(e / t * 100) : 0}%)`, nr = ({ chartHeight: t, chartWidth: n, className: r, colorPalette: i = "categorical", data: a = [], isLoading: o = !1, isThumbnail: s = !1, labelStrings: c = {}, legendVariant: l = "inline", showAccessibleTable: u = !0, showLegend: d, showTooltip: f, valueFormatter: p = tr, variant: h = "pie", ...g }) => {
5009
- let { accessibleTableDescription: _ = "Pie chart data", emptyStateHeading: v = "No data available", emptyStateMessage: y, loadingLabel: b = "Loading chart data" } = c, x = m(null), S = In(i, Hn(x, i)), C = "pds-pie-chart", w = t ?? (s ? 80 : 300), T = n ?? (s ? 80 : void 0), E = d ?? !s, D = f ?? !s, O = a.reduce((e, t) => e + t.value, 0), k = (e, t) => Bn(e, S, t.color, Ln(i, t.paletteIndex));
5016
+ }, nr = (e, t) => `(${t > 0 ? Math.round(e / t * 100) : 0}%)`, rr = ({ chartHeight: t, chartWidth: n, className: r, colorPalette: i = "categorical", data: a = [], isLoading: o = !1, isThumbnail: s = !1, labelStrings: c = {}, legendVariant: l = "inline", showAccessibleTable: u = !0, showLegend: d, showTooltip: f, valueFormatter: p = nr, variant: h = "pie", ...g }) => {
5017
+ let { accessibleTableDescription: _ = "Pie chart data", emptyStateHeading: v = "No data available", emptyStateMessage: y, loadingLabel: b = "Loading chart data" } = c, x = m(null), S = Ln(i, Un(x, i)), C = "pds-pie-chart", w = t ?? (s ? 80 : 300), T = n ?? (s ? 80 : void 0), E = d ?? !s, D = f ?? !s, O = a.reduce((e, t) => e + t.value, 0), k = (e, t) => Vn(e, S, t.color, Rn(i, t.paletteIndex));
5010
5018
  if (o) {
5011
5019
  let t = `${Math.round(w * .8)}px`;
5012
5020
  return /* @__PURE__ */ e.createElement("div", {
@@ -5023,25 +5031,25 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
5023
5031
  }, /* @__PURE__ */ e.createElement("div", { className: `${C}__skeleton` }, /* @__PURE__ */ e.createElement("div", {
5024
5032
  className: `${C}__skeleton-chart`,
5025
5033
  style: { height: w }
5026
- }, /* @__PURE__ */ e.createElement(Jn, {
5034
+ }, /* @__PURE__ */ e.createElement(Yn, {
5027
5035
  shape: "circular",
5028
5036
  style: {
5029
5037
  height: t,
5030
5038
  width: t
5031
5039
  }
5032
- })), E && /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton-legend pds-chart__skeleton-legend--inline" }, /* @__PURE__ */ e.createElement(Jn, {
5040
+ })), E && /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton-legend pds-chart__skeleton-legend--inline" }, /* @__PURE__ */ e.createElement(Yn, {
5033
5041
  shape: "rounded",
5034
5042
  size: {
5035
5043
  height: .75,
5036
5044
  width: 5
5037
5045
  }
5038
- }), /* @__PURE__ */ e.createElement(Jn, {
5046
+ }), /* @__PURE__ */ e.createElement(Yn, {
5039
5047
  shape: "rounded",
5040
5048
  size: {
5041
5049
  height: .75,
5042
5050
  width: 5
5043
5051
  }
5044
- }), /* @__PURE__ */ e.createElement(Jn, {
5052
+ }), /* @__PURE__ */ e.createElement(Yn, {
5045
5053
  shape: "rounded",
5046
5054
  size: {
5047
5055
  height: .75,
@@ -5061,7 +5069,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
5061
5069
  maxWidth: T
5062
5070
  },
5063
5071
  ...g
5064
- }, /* @__PURE__ */ e.createElement(jn, {
5072
+ }, /* @__PURE__ */ e.createElement(Mn, {
5065
5073
  heading: v,
5066
5074
  message: y
5067
5075
  }));
@@ -5128,8 +5136,8 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
5128
5136
  let n = O > 0 ? Math.round(t.value / O * 100) : 0;
5129
5137
  return /* @__PURE__ */ e.createElement("tr", { key: t.label }, /* @__PURE__ */ e.createElement("td", null, t.label), /* @__PURE__ */ e.createElement("td", null, t.value.toLocaleString()), /* @__PURE__ */ e.createElement("td", null, n, "%"));
5130
5138
  }))));
5131
- }, rr = (e, t) => `(${t > 0 ? Math.round(e / t * 100) : 0}%)`, ir = ({ barHeight: t = 16, chartWidth: n, className: r, colorPalette: i = "categorical", data: a = [], isLoading: o = !1, isThumbnail: c = !1, labelStrings: u = {}, legendAlignment: d = "left", showAccessibleTable: f = !0, showLegend: p, showTooltip: g, valueFormatter: _ = rr, ...v }) => {
5132
- let { accessibleTableDescription: y = "Proportion bar data", emptyStateHeading: b = "No data available", emptyStateMessage: x, loadingLabel: T = "Loading chart data" } = u, D = m(null), O = In(i, Hn(D, i)), k = "pds-proportion-bar", j = n ?? (c ? 200 : void 0), M = p ?? !c, N = g ?? !c, P = a.reduce((e, t) => e + t.value, 0), F = (e, t) => Bn(e, O, t.color, Ln(i, t.paletteIndex)), [I, R] = h(null), z = m(I);
5139
+ }, ir = (e, t) => `(${t > 0 ? Math.round(e / t * 100) : 0}%)`, ar = ({ barHeight: t = 16, chartWidth: n, className: r, colorPalette: i = "categorical", data: a = [], isLoading: o = !1, isThumbnail: c = !1, labelStrings: u = {}, legendAlignment: d = "left", showAccessibleTable: f = !0, showLegend: p, showTooltip: g, valueFormatter: _ = ir, ...v }) => {
5140
+ let { accessibleTableDescription: y = "Proportion bar data", emptyStateHeading: b = "No data available", emptyStateMessage: x, loadingLabel: T = "Loading chart data" } = u, D = m(null), O = Ln(i, Un(D, i)), k = "pds-proportion-bar", j = n ?? (c ? 200 : void 0), M = p ?? !c, N = g ?? !c, P = a.reduce((e, t) => e + t.value, 0), F = (e, t) => Vn(e, O, t.color, Rn(i, t.paletteIndex)), [I, R] = h(null), z = m(I);
5133
5141
  I && (z.current = I);
5134
5142
  let B = m({ getBoundingClientRect: () => ({
5135
5143
  bottom: 0,
@@ -5184,7 +5192,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
5184
5192
  ]),
5185
5193
  style: j ? { maxWidth: j } : void 0,
5186
5194
  ...v
5187
- }, /* @__PURE__ */ e.createElement(Xn, {
5195
+ }, /* @__PURE__ */ e.createElement(Zn, {
5188
5196
  borderRadius: "var(--pds-border-radius-bar)",
5189
5197
  height: t,
5190
5198
  legendAlignment: d,
@@ -5197,7 +5205,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
5197
5205
  r ?? ""
5198
5206
  ]),
5199
5207
  ...v
5200
- }, /* @__PURE__ */ e.createElement(jn, {
5208
+ }, /* @__PURE__ */ e.createElement(Mn, {
5201
5209
  heading: b,
5202
5210
  message: x
5203
5211
  })) : /* @__PURE__ */ e.createElement("div", {
@@ -5257,7 +5265,7 @@ var ln = ({ className: t, clearLabel: n = "Clear", disabled: r = !1, filterKey:
5257
5265
  let n = P > 0 ? Math.round(t.value / P * 100) : 0;
5258
5266
  return /* @__PURE__ */ e.createElement("tr", { key: t.label }, /* @__PURE__ */ e.createElement("td", null, t.label), /* @__PURE__ */ e.createElement("td", null, t.value.toLocaleString()), /* @__PURE__ */ e.createElement("td", null, n, "%"));
5259
5267
  }))));
5260
- }, ar = /* @__PURE__ */ Fe((/* @__PURE__ */ Ne(((e, t) => {
5268
+ }, or = /* @__PURE__ */ Fe((/* @__PURE__ */ Ne(((e, t) => {
5261
5269
  var n = function(e) {
5262
5270
  var t = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, n = 0, r = {}, i = {
5263
5271
  manual: e.Prism && e.Prism.manual,
@@ -6219,7 +6227,7 @@ Prism.languages.markup = {
6219
6227
  })(Prism);
6220
6228
  //#endregion
6221
6229
  //#region src/components/CodeBlock/themes/pds.ts
6222
- var or = {
6230
+ var sr = {
6223
6231
  plain: {
6224
6232
  color: "var(--pds-color-code-block-foreground)",
6225
6233
  backgroundColor: "var(--pds-color-code-block-background)"
@@ -6295,10 +6303,10 @@ var or = {
6295
6303
  style: { color: "var(--pds-color-code-block-syntax-inserted)" }
6296
6304
  }
6297
6305
  ]
6298
- }, sr = ({ className: t, code: n, copyButtonLabel: r = "Copy to clipboard", hasCopyButton: i, hasLineNumbers: a, hasPrompt: o, height: s, isLoading: c, language: l, loadingLineCount: u = 1, maxHeight: d, promptSymbol: f = "$", renderAsLegacy: p = !1, shouldWrap: m = !1, ...h }) => {
6306
+ }, cr = ({ className: t, code: n, copyButtonLabel: r = "Copy to clipboard", hasCopyButton: i, hasLineNumbers: a, hasPrompt: o, height: s, isLoading: c, language: l, loadingLineCount: u = 1, maxHeight: d, promptSymbol: f = "$", renderAsLegacy: p = !1, shouldWrap: m = !1, ...h }) => {
6299
6307
  let g = "pds-code-block", _ = m ? `${g}__line-wrapped` : "", v = {};
6300
6308
  s && (v.height = `${s}rem`), d && (v.maxHeight = `${d}rem`);
6301
- let y = /* @__PURE__ */ e.createElement("div", { className: `${g}__code` }, /* @__PURE__ */ e.createElement(Jn, {
6309
+ let y = /* @__PURE__ */ e.createElement("div", { className: `${g}__code` }, /* @__PURE__ */ e.createElement(Yn, {
6302
6310
  className: `${g}__skeleton`,
6303
6311
  colorType: "bold",
6304
6312
  shape: a || o ? "code-block-prefix" : "code-block",
@@ -6333,7 +6341,7 @@ var or = {
6333
6341
  }, a || o ? a ? /* @__PURE__ */ e.createElement(e.Fragment, null, x(n)) : /* @__PURE__ */ e.createElement(e.Fragment, null, S(n)) : /* @__PURE__ */ e.createElement("div", {
6334
6342
  className: `${g}__content`,
6335
6343
  dangerouslySetInnerHTML: { __html: n }
6336
- })), i && /* @__PURE__ */ e.createElement("div", { className: `${g}__copy` }, /* @__PURE__ */ e.createElement(Jt, {
6344
+ })), i && /* @__PURE__ */ e.createElement("div", { className: `${g}__copy` }, /* @__PURE__ */ e.createElement(Yt, {
6337
6345
  ariaLabel: r,
6338
6346
  clipboardText: s,
6339
6347
  variant: "reverse"
@@ -6347,21 +6355,21 @@ var or = {
6347
6355
  }, c ? y : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(re, {
6348
6356
  code: n,
6349
6357
  language: l || "",
6350
- prism: ar.default,
6351
- theme: or
6358
+ prism: or.default,
6359
+ theme: sr
6352
6360
  }, /* @__PURE__ */ e.createElement(re.Code, {
6353
6361
  className: `${g}__code`,
6354
6362
  tabIndex: 0
6355
- }, a || o ? a ? w : T : C)), i && /* @__PURE__ */ e.createElement("div", { className: `${g}__copy` }, /* @__PURE__ */ e.createElement(Jt, {
6363
+ }, a || o ? a ? w : T : C)), i && /* @__PURE__ */ e.createElement("div", { className: `${g}__copy` }, /* @__PURE__ */ e.createElement(Yt, {
6356
6364
  ariaLabel: r,
6357
6365
  clipboardText: n,
6358
6366
  variant: "reverse"
6359
6367
  }))));
6360
- }, cr = {
6368
+ }, lr = {
6361
6369
  addon: "circlePlus",
6362
6370
  included: "circleCheck",
6363
6371
  notIncluded: "xmark"
6364
- }, lr = ({ className: t, listItems: n, listLabel: r, moreLink: i, renderTypeLabels: a = !0, showBorder: o = !1, size: s = "s", typeLabels: c = {
6372
+ }, ur = ({ className: t, listItems: n, listLabel: r, moreLink: i, renderTypeLabels: a = !0, showBorder: o = !1, size: s = "s", typeLabels: c = {
6365
6373
  addon: "Add-on",
6366
6374
  included: "Included",
6367
6375
  notIncluded: "Not included"
@@ -6380,10 +6388,10 @@ var or = {
6380
6388
  className: `${u}__list-item ${u}__list-item--${t.type}`
6381
6389
  }, /* @__PURE__ */ e.createElement("div", { className: `${u}__item-icon-wrapper` }, /* @__PURE__ */ e.createElement(Q, {
6382
6390
  className: `${u}__item-icon`,
6383
- iconName: cr[t.type],
6391
+ iconName: lr[t.type],
6384
6392
  size: s
6385
6393
  })), a && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, c[t.type], ":", " "), t.text))), i && /* @__PURE__ */ e.createElement("div", { className: `${u}__more-link` }, i));
6386
- }, ur = ({ className: t, platform: n, videoId: r, videoTitle: i, ...a }) => {
6394
+ }, dr = ({ className: t, platform: n, videoId: r, videoTitle: i, ...a }) => {
6387
6395
  let o = /* @__PURE__ */ e.createElement("iframe", {
6388
6396
  allow: "autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media",
6389
6397
  src: `https://fast.wistia.net/embed/iframe/${r}`,
@@ -6414,7 +6422,7 @@ var or = {
6414
6422
  className: Z(["pds-video-embed", t ?? ""]),
6415
6423
  ...a
6416
6424
  }, l);
6417
- }, dr = ({ alignment: t = "center", className: n, ctaRegion: r, heading: i, headingLevel: a = "h1", image: o, imageMarginLeft: s = "0", imageWidth: c = "40%", isWithinPanel: l, maxWidth: u = "1200px", message: d, video: f, ...p }) => {
6425
+ }, fr = ({ alignment: t = "center", className: n, ctaRegion: r, heading: i, headingLevel: a = "h1", image: o, imageMarginLeft: s = "0", imageWidth: c = "40%", isWithinPanel: l, maxWidth: u = "1200px", message: d, video: f, ...p }) => {
6418
6426
  let m = "pds-horizontal-empty-state", h = `${m}--${t}`, g = l ? `${m}--panel` : null, _ = f ? `${m}--video` : null, v = {
6419
6427
  marginInlineStart: s,
6420
6428
  width: c
@@ -6429,7 +6437,7 @@ var or = {
6429
6437
  ]),
6430
6438
  style: { maxWidth: u },
6431
6439
  ...p
6432
- }, /* @__PURE__ */ e.createElement("div", { className: `${m}__content` }, /* @__PURE__ */ e.createElement(Ht, {
6440
+ }, /* @__PURE__ */ e.createElement("div", { className: `${m}__content` }, /* @__PURE__ */ e.createElement(Ut, {
6433
6441
  baseClass: m,
6434
6442
  className: `${l ? "pds-ts-2xl" : "pds-ts-4xl"} pds-fw-bold`,
6435
6443
  level: a
@@ -6440,11 +6448,11 @@ var or = {
6440
6448
  alt: "",
6441
6449
  className: `${m}__image`,
6442
6450
  src: o
6443
- }) : o), f && /* @__PURE__ */ e.createElement("div", { className: `${m}__media ${m}__media--video` }, /* @__PURE__ */ e.createElement(ur, {
6451
+ }) : o), f && /* @__PURE__ */ e.createElement("div", { className: `${m}__media ${m}__media--video` }, /* @__PURE__ */ e.createElement(dr, {
6444
6452
  platform: f.platform,
6445
6453
  videoId: f.videoId
6446
6454
  })));
6447
- }, fr = ({ className: t, ctaRegion: n, heading: r, headingLevel: i = "h2", image: a, imageHeight: o = "120", imageWidth: s = "auto", message: c, ...l }) => {
6455
+ }, pr = ({ className: t, ctaRegion: n, heading: r, headingLevel: i = "h2", image: a, imageHeight: o = "120", imageWidth: s = "auto", message: c, ...l }) => {
6448
6456
  let u = "pds-vertical-empty-state";
6449
6457
  return c = typeof c == "string" ? /* @__PURE__ */ e.createElement("p", { className: `${u}__message` }, c) : /* @__PURE__ */ e.createElement("div", { className: `${u}__message` }, c), /* @__PURE__ */ e.createElement("div", {
6450
6458
  className: Z([u, t ?? ""]),
@@ -6455,11 +6463,11 @@ var or = {
6455
6463
  height: o,
6456
6464
  src: a,
6457
6465
  width: s
6458
- }), /* @__PURE__ */ e.createElement("div", { className: `${u}__text` }, /* @__PURE__ */ e.createElement(Ht, {
6466
+ }), /* @__PURE__ */ e.createElement("div", { className: `${u}__text` }, /* @__PURE__ */ e.createElement(Ut, {
6459
6467
  baseClass: u,
6460
6468
  level: i
6461
6469
  }, r), c && c), n && /* @__PURE__ */ e.createElement("div", { className: `${u}__cta` }, n));
6462
- }, pr = ({ additions: t = 4, className: n, componentWidth: r, deletions: i = 2, translationStrings: a = {
6470
+ }, mr = ({ additions: t = 4, className: n, componentWidth: r, deletions: i = 2, translationStrings: a = {
6463
6471
  linesChanged: "lines changed",
6464
6472
  additions: "additions",
6465
6473
  deletions: "deletions"
@@ -6469,7 +6477,7 @@ var or = {
6469
6477
  className: Z([s, n ?? ""]),
6470
6478
  style: { width: d },
6471
6479
  ...o
6472
- }, /* @__PURE__ */ e.createElement("div", { className: `${s}__total-changes` }, /* @__PURE__ */ e.createElement(bt, {
6480
+ }, /* @__PURE__ */ e.createElement("div", { className: `${s}__total-changes` }, /* @__PURE__ */ e.createElement(xt, {
6473
6481
  className: `${s}__tooltip`,
6474
6482
  content: `${c} ${a.linesChanged}`,
6475
6483
  customTrigger: /* @__PURE__ */ e.createElement("div", { className: `${s}__total-changes-number` }, c, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, ` ${a.linesChanged}`)),
@@ -6477,7 +6485,7 @@ var or = {
6477
6485
  })), /* @__PURE__ */ e.createElement("div", { className: `${s}__bars` }, /* @__PURE__ */ e.createElement("div", {
6478
6486
  className: `${s}__behind`,
6479
6487
  style: { width: `${l}%` }
6480
- }, /* @__PURE__ */ e.createElement(bt, {
6488
+ }, /* @__PURE__ */ e.createElement(xt, {
6481
6489
  className: `${s}__tooltip`,
6482
6490
  content: `${i} ${a.deletions}`,
6483
6491
  customTrigger: /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement("div", { className: `${s}__behind-bar` })),
@@ -6485,13 +6493,13 @@ var or = {
6485
6493
  })), /* @__PURE__ */ e.createElement("div", {
6486
6494
  className: `${s}__ahead`,
6487
6495
  style: { width: `${u}%` }
6488
- }, /* @__PURE__ */ e.createElement(bt, {
6496
+ }, /* @__PURE__ */ e.createElement(xt, {
6489
6497
  className: `${s}__tooltip`,
6490
6498
  content: `${t} ${a.additions}`,
6491
6499
  customTrigger: /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement("div", { className: `${s}__ahead-bar` })),
6492
6500
  preferredPlacement: "top"
6493
6501
  }))));
6494
- }, mr = {
6502
+ }, hr = {
6495
6503
  amex: /* @__PURE__ */ e.createElement("svg", {
6496
6504
  fill: "none",
6497
6505
  height: "42",
@@ -6709,7 +6717,7 @@ var or = {
6709
6717
  height: "42",
6710
6718
  width: "70"
6711
6719
  }))))
6712
- }, hr = ({ className: t, paymentType: n, size: r = "2xl", ...i }) => {
6720
+ }, gr = ({ className: t, paymentType: n, size: r = "2xl", ...i }) => {
6713
6721
  let a = "pds-payment-icon", o = `${a}--${r}`;
6714
6722
  return /* @__PURE__ */ e.createElement("div", {
6715
6723
  className: Z([
@@ -6718,8 +6726,8 @@ var or = {
6718
6726
  t ?? ""
6719
6727
  ]),
6720
6728
  ...i
6721
- }, mr[n]);
6722
- }, gr = ({ avatarProps: t, className: n, isSidebarCollapsed: r, isSingleLine: i, primaryText: a, secondaryText: o, ...c }) => {
6729
+ }, hr[n]);
6730
+ }, _r = ({ avatarProps: t, className: n, isSidebarCollapsed: r, isSingleLine: i, primaryText: a, secondaryText: o, ...c }) => {
6723
6731
  let u = "pds-identity-block", d = r ? `${u}--collapsed` : null, f = i ? `${u}--single-line` : null, p = t ? {
6724
6732
  ...t,
6725
6733
  size: i ? "s" : "m"
@@ -6745,7 +6753,7 @@ var or = {
6745
6753
  n ?? ""
6746
6754
  ]),
6747
6755
  ...c
6748
- }, T && (r && w ? /* @__PURE__ */ e.createElement(bt, {
6756
+ }, T && (r && w ? /* @__PURE__ */ e.createElement(xt, {
6749
6757
  content: w,
6750
6758
  customTrigger: T,
6751
6759
  preferredPlacement: "right"
@@ -6758,7 +6766,7 @@ var or = {
6758
6766
  className: `${u}__secondary-text`,
6759
6767
  title: x ? o : void 0
6760
6768
  }, o)));
6761
- }, _r = a(({ checked: t, className: n, defaultChecked: r, disabled: i, id: a, indeterminate: o, inputProps: c, inputWidth: l, label: u, message: d, name: f, nestingLevel: p = 0, onBlur: m, onChange: g, onFocus: _, required: v, showLabel: y = !0, size: b = "s", validationMessage: x, validationStatus: S, value: C, ...w }, T) => {
6769
+ }, vr = a(({ checked: t, className: n, defaultChecked: r, disabled: i, id: a, indeterminate: o, inputProps: c, inputWidth: l, label: u, message: d, name: f, nestingLevel: p = 0, onBlur: m, onChange: g, onFocus: _, required: v, showLabel: y = !0, size: b = "s", validationMessage: x, validationStatus: S, value: C, ...w }, T) => {
6762
6770
  let E = l ? { width: `${l / 16}rem` } : null, D = "pds-checkbox", O = i ? $.disabled : null, k = S === "error" ? $.error : null, A = p > 0 ? `${D}--indent-${p}` : null, j = v && !i ? $.required : null, M = b === "s" ? null : `${D}--${b}`, N = S === "success" ? $.success : null, P = x || d, F = t !== void 0, [I, L] = h(r === void 0 ? !1 : r), R = t || I, z = (e) => {
6763
6771
  F || L(e.target.checked), g && g(e);
6764
6772
  }, B = `${D}__box`, V = o ? null : R ? `${B}--checked` : null, H = o ? `${B}--indeterminate` : null, U = s(() => {
@@ -6823,14 +6831,14 @@ var or = {
6823
6831
  B,
6824
6832
  V,
6825
6833
  H
6826
- ]) }, /* @__PURE__ */ e.createElement(U, null)), /* @__PURE__ */ e.createElement("div", { className: Z([`${D}__label-text`, y ? "" : "visually-hidden"]) }, u, " ", v && !i && /* @__PURE__ */ e.createElement(Ct, null)))), P && /* @__PURE__ */ e.createElement(Tt, {
6834
+ ]) }, /* @__PURE__ */ e.createElement(U, null)), /* @__PURE__ */ e.createElement("div", { className: Z([`${D}__label-text`, y ? "" : "visually-hidden"]) }, u, " ", v && !i && /* @__PURE__ */ e.createElement(wt, null)))), P && /* @__PURE__ */ e.createElement(Et, {
6827
6835
  validationMessageHasDecorators: !0,
6828
6836
  hasValidationMessage: !!x,
6829
6837
  id: a,
6830
6838
  message: P,
6831
6839
  validationStatus: S
6832
6840
  }));
6833
- }), vr = ({ children: t, className: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, label: s, message: c, required: l = !1, showLabel: u = !0, tooltipText: d = null, validationMessage: f, validationStatus: p, ...m }) => {
6841
+ }), yr = ({ children: t, className: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, label: s, message: c, required: l = !1, showLabel: u = !0, tooltipText: d = null, validationMessage: f, validationStatus: p, ...m }) => {
6834
6842
  let h = o ? { width: `${o / 16}rem` } : null, g = "pds-checkbox-group", _ = r ? $.disabled : null, v = l && !r ? $.required : null, y = p === "error" ? $.error : null, b = p === "success" ? $.success : null, x = f || c;
6835
6843
  return /* @__PURE__ */ e.createElement("div", {
6836
6844
  className: Z([
@@ -6847,7 +6855,7 @@ var or = {
6847
6855
  className: `${g}__fieldset`,
6848
6856
  id: a,
6849
6857
  ...i
6850
- }, /* @__PURE__ */ e.createElement(wt, {
6858
+ }, /* @__PURE__ */ e.createElement(Tt, {
6851
6859
  isLegend: !0,
6852
6860
  disabled: r,
6853
6861
  id: a,
@@ -6855,14 +6863,14 @@ var or = {
6855
6863
  required: l,
6856
6864
  showLabel: u,
6857
6865
  tooltipText: d
6858
- }), /* @__PURE__ */ e.createElement("div", { className: `${g}__options` }, t)), x && /* @__PURE__ */ e.createElement(Tt, {
6866
+ }), /* @__PURE__ */ e.createElement("div", { className: `${g}__options` }, t)), x && /* @__PURE__ */ e.createElement(Et, {
6859
6867
  validationMessageHasDecorators: !0,
6860
6868
  hasValidationMessage: !!f,
6861
6869
  id: a,
6862
6870
  message: x,
6863
6871
  validationStatus: p
6864
6872
  }));
6865
- }, yr = ({ className: t, disabled: n = !1, fieldsetProps: r, id: i, inputWidth: a, label: o, message: s, onGroupBlur: c, onValueChange: l, options: u, required: d = !1, showLabel: f = !0, tooltipText: p = null, validationMessage: m, validationStatus: g, ..._ }) => {
6873
+ }, br = ({ className: t, disabled: n = !1, fieldsetProps: r, id: i, inputWidth: a, label: o, message: s, onGroupBlur: c, onValueChange: l, options: u, required: d = !1, showLabel: f = !0, tooltipText: p = null, validationMessage: m, validationStatus: g, ..._ }) => {
6866
6874
  let v = a ? { width: `${a / 16}rem` } : null, y = "pds-checkbox-group", b = n ? $.disabled : null, x = d && !n ? $.required : null, S = g === "error" ? $.error : null, C = g === "success" ? $.success : null, w = m || s;
6867
6875
  u.map((e) => {
6868
6876
  e.id || (e.id = e.value);
@@ -6898,7 +6906,7 @@ var or = {
6898
6906
  className: `${y}__fieldset`,
6899
6907
  id: i,
6900
6908
  ...r
6901
- }, /* @__PURE__ */ e.createElement(wt, {
6909
+ }, /* @__PURE__ */ e.createElement(Tt, {
6902
6910
  isLegend: !0,
6903
6911
  disabled: n,
6904
6912
  id: i,
@@ -6906,7 +6914,7 @@ var or = {
6906
6914
  required: d,
6907
6915
  showLabel: f,
6908
6916
  tooltipText: p
6909
- }), /* @__PURE__ */ e.createElement("div", { className: `${y}__options` }, u.map((t) => /* @__PURE__ */ e.createElement(_r, {
6917
+ }), /* @__PURE__ */ e.createElement("div", { className: `${y}__options` }, u.map((t) => /* @__PURE__ */ e.createElement(vr, {
6910
6918
  key: t.id,
6911
6919
  checked: t.checked,
6912
6920
  className: `${y}__checkbox`,
@@ -6917,20 +6925,20 @@ var or = {
6917
6925
  onBlur: k,
6918
6926
  onChange: O,
6919
6927
  value: t.value
6920
- })))), w && /* @__PURE__ */ e.createElement(Tt, {
6928
+ })))), w && /* @__PURE__ */ e.createElement(Et, {
6921
6929
  validationMessageHasDecorators: !0,
6922
6930
  hasValidationMessage: !!m,
6923
6931
  id: i,
6924
6932
  message: w,
6925
6933
  validationStatus: g
6926
6934
  }));
6927
- }, br = a(({ className: t, defaultValue: n, disabled: r = !1, hasClearButton: i = !0, hasDropdownTrigger: a = !1, hasSearchIcon: o = !0, hasSearchShortcut: c = !1, id: u, inputWidth: d, isLoading: f = !1, label: g, labelStrings: _ = {
6935
+ }, xr = a(({ className: t, defaultValue: n, disabled: r = !1, hasClearButton: i = !0, hasDropdownTrigger: a = !1, hasSearchIcon: o = !0, hasSearchShortcut: c = !1, id: u, inputWidth: d, isLoading: f = !1, label: g, labelStrings: _ = {
6928
6936
  clearButton: "Clear input text",
6929
6937
  inputInstructions: "Type to search options",
6930
6938
  searchShortcut: "Press / to focus the search field",
6931
6939
  triggerButton: "Toggle dropdown menu"
6932
6940
  }, loadingText: v = "Loading results...", message: y, noResultsText: b = "No results found", onBlur: x, onChange: T, onClear: E, onFocus: O, onOptionSelect: k, options: j, placeholder: M, required: N = !1, showLabel: P = !0, showUnfilteredOptions: F = !1, size: I = "s", tooltipText: R = null, validationMessage: z, validationStatus: B, value: V, ...H }, U) => {
6933
- let W = xt(d), G = "pds-combobox", K = I === "s" ? null : `${G}--${I}`, q = r ? $.disabled : null, J = N && !r ? $.required : null, ee = B === "error" ? $.error : null, te = B === "success" ? $.success : null, ne = null;
6941
+ let W = St(d), G = "pds-combobox", K = I === "s" ? null : `${G}--${I}`, q = r ? $.disabled : null, J = N && !r ? $.required : null, ee = B === "error" ? $.error : null, te = B === "success" ? $.success : null, ne = null;
6934
6942
  o && (ne = "search"), B === "error" && (ne = "error"), B === "success" && (ne = "success");
6935
6943
  let re = z || y, ae = V !== void 0, Y = n !== void 0, oe = (e) => {
6936
6944
  let t = j.find((t) => t.value === e);
@@ -7029,7 +7037,7 @@ var or = {
7029
7037
  x?.(X);
7030
7038
  }, ke = (e) => {
7031
7039
  F && ve(), O?.(X);
7032
- }, Ae = () => fe.map((t, n) => /* @__PURE__ */ e.createElement(Nt, {
7040
+ }, Ae = () => fe.map((t, n) => /* @__PURE__ */ e.createElement(Pt, {
7033
7041
  key: t.value,
7034
7042
  className: ge === n ? "pds-dropdown__item--focused" : "",
7035
7043
  ...me({
@@ -7050,7 +7058,7 @@ var or = {
7050
7058
  ]),
7051
7059
  style: d ? W : null,
7052
7060
  ...H
7053
- }, /* @__PURE__ */ e.createElement(wt, {
7061
+ }, /* @__PURE__ */ e.createElement(Tt, {
7054
7062
  disabled: r,
7055
7063
  id: `input-${u}`,
7056
7064
  label: g,
@@ -7065,7 +7073,7 @@ var or = {
7065
7073
  "aria-required": N ? !0 : null,
7066
7074
  className: `${G}__input-wrapper`,
7067
7075
  id: u
7068
- }, ne && /* @__PURE__ */ e.createElement(Dt, { variant: ne }), /* @__PURE__ */ e.createElement("input", {
7076
+ }, ne && /* @__PURE__ */ e.createElement(Ot, { variant: ne }), /* @__PURE__ */ e.createElement("input", {
7069
7077
  ref: ue,
7070
7078
  autoComplete: "off",
7071
7079
  className: `${G}__input`,
@@ -7080,11 +7088,11 @@ var or = {
7080
7088
  },
7081
7089
  onFocus: ke
7082
7090
  })
7083
- }), ce && i && /* @__PURE__ */ e.createElement(kt, {
7091
+ }), ce && i && /* @__PURE__ */ e.createElement(At, {
7084
7092
  clearLabel: _.clearButton,
7085
7093
  handleClearInput: De,
7086
7094
  id: `input-${u}`
7087
- }), c && !ce && /* @__PURE__ */ e.createElement(Ot, {
7095
+ }), c && !ce && /* @__PURE__ */ e.createElement(kt, {
7088
7096
  inputId: `input-${u}`,
7089
7097
  shortcutLabel: _.searchShortcut
7090
7098
  }), a && /* @__PURE__ */ e.createElement("button", {
@@ -7110,20 +7118,20 @@ var or = {
7110
7118
  className: `${G}__options`,
7111
7119
  ...he(),
7112
7120
  style: Ce && !f && fe.length > 0 ? void 0 : { display: "none" }
7113
- }, Ce && !f && Ae())), re && /* @__PURE__ */ e.createElement(Tt, {
7121
+ }, Ce && !f && Ae())), re && /* @__PURE__ */ e.createElement(Et, {
7114
7122
  hasValidationMessage: !!z,
7115
7123
  id: u,
7116
7124
  message: re,
7117
7125
  validationMessageHasDecorators: !1,
7118
7126
  validationStatus: B
7119
7127
  }));
7120
- }), xr = (e, t, n) => {
7128
+ }), Sr = (e, t, n) => {
7121
7129
  let r = n.toLowerCase();
7122
7130
  return e.filter((e) => e.label.toLowerCase().includes(r)).map((e) => ({
7123
7131
  ...e,
7124
7132
  isAlreadySelected: t.some((t) => t.id === e.id)
7125
7133
  })).sort((e, t) => e.badge && !t.badge ? -1 : !e.badge && t.badge ? 1 : 0);
7126
- }, Sr = ({ aiSuggestions: t, className: n, disabled: r = !1, id: i, initialSelectedItems: a = [], inputWidth: o, isLoading: s = !1, label: c = "Lorem ipsum dolor sit:", labelStrings: l = {
7134
+ }, Cr = ({ aiSuggestions: t, className: n, disabled: r = !1, id: i, initialSelectedItems: a = [], inputWidth: o, isLoading: s = !1, label: c = "Lorem ipsum dolor sit:", labelStrings: l = {
7127
7135
  aiBadgeLabel: "Suggested",
7128
7136
  aiPanelButton: "Show AI suggestions",
7129
7137
  aiPanelClose: "Close suggestions panel",
@@ -7131,7 +7139,7 @@ var or = {
7131
7139
  inputInstructions: "Type to search options",
7132
7140
  triggerButton: "Toggle dropdown menu"
7133
7141
  }, loadingText: u = "Loading results...", noResultsText: d = "No results found", onChange: f, options: g, placeholder: _ = "Filter", required: v = !1, showAllTags: y = !1, showLabel: b = !0, size: x = "s", ...T }) => {
7134
- let E = xt(o), O = "pds-combobox-multi", j = x === "s" ? null : `${O}--${x}`, M = r ? $.disabled : null, N = v && !r ? $.required : null, F = y ? `${O}--show-all-tags` : null, [I, L] = h(""), [R, z] = h(a), [B, V] = h(null), [H, U] = h(!1), W = p(() => xr(g, R, I), [
7142
+ let E = St(o), O = "pds-combobox-multi", j = x === "s" ? null : `${O}--${x}`, M = r ? $.disabled : null, N = v && !r ? $.required : null, F = y ? `${O}--show-all-tags` : null, [I, L] = h(""), [R, z] = h(a), [B, V] = h(null), [H, U] = h(!1), W = p(() => Sr(g, R, I), [
7135
7143
  g,
7136
7144
  R,
7137
7145
  I
@@ -7260,7 +7268,7 @@ var or = {
7260
7268
  ]),
7261
7269
  style: o ? E : null,
7262
7270
  ...T
7263
- }, /* @__PURE__ */ e.createElement(wt, {
7271
+ }, /* @__PURE__ */ e.createElement(Tt, {
7264
7272
  disabled: r,
7265
7273
  id: i,
7266
7274
  label: c,
@@ -7329,7 +7337,7 @@ var or = {
7329
7337
  ...ue,
7330
7338
  zIndex: "var(--pds-z-index-dropdown)"
7331
7339
  } : { display: "none" }
7332
- }, /* @__PURE__ */ e.createElement("div", { className: `${O}__dropdown-input-wrapper` }, /* @__PURE__ */ e.createElement(Dt, { variant: "search" }), /* @__PURE__ */ e.createElement("input", {
7340
+ }, /* @__PURE__ */ e.createElement("div", { className: `${O}__dropdown-input-wrapper` }, /* @__PURE__ */ e.createElement(Ot, { variant: "search" }), /* @__PURE__ */ e.createElement("input", {
7333
7341
  "aria-label": l.inputInstructions,
7334
7342
  className: `${O}__dropdown-input`,
7335
7343
  placeholder: _,
@@ -7341,7 +7349,7 @@ var or = {
7341
7349
  className: `${O}__dropdown-list`,
7342
7350
  ...Y(),
7343
7351
  style: se && !s && W.length > 0 ? void 0 : { display: "none" }
7344
- }, se && !s && W.map((t, n) => /* @__PURE__ */ e.createElement(Nt, {
7352
+ }, se && !s && W.map((t, n) => /* @__PURE__ */ e.createElement(Pt, {
7345
7353
  key: `${t.id}-${n}`,
7346
7354
  className: `${O}__dropdown-item
7347
7355
  ${X === n ? "pds-dropdown__item--focused" : ""}
@@ -7354,7 +7362,7 @@ var or = {
7354
7362
  }, /* @__PURE__ */ e.createElement("span", { className: `${O}__dropdown-item-label` }, /* @__PURE__ */ e.createElement("span", { className: `${O}__dropdown-item-text` }, t.label, t.badge === "ai" && /* @__PURE__ */ e.createElement("span", { className: `${O}__dropdown-item-badge` }, /* @__PURE__ */ e.createElement(Q, {
7355
7363
  iconName: "sparkles",
7356
7364
  size: "s"
7357
- }), /* @__PURE__ */ e.createElement("span", null, l.aiBadgeLabel))), t.isAlreadySelected && /* @__PURE__ */ e.createElement(Mn, null)))))), H && t && /* @__PURE__ */ e.createElement("div", {
7365
+ }), /* @__PURE__ */ e.createElement("span", null, l.aiBadgeLabel))), t.isAlreadySelected && /* @__PURE__ */ e.createElement(Nn, null)))))), H && t && /* @__PURE__ */ e.createElement("div", {
7358
7366
  ref: me.setFloating,
7359
7367
  className: `${O}__aux-panel`,
7360
7368
  style: {
@@ -7390,7 +7398,7 @@ var or = {
7390
7398
  iconName: "xmark",
7391
7399
  size: "m"
7392
7400
  })))));
7393
- }, Cr = (e, t) => e ? Y(e, "PP", { locale: t }) : "", wr = (e) => {
7401
+ }, wr = (e, t) => e ? Y(e, "PP", { locale: t }) : "", Tr = (e) => {
7394
7402
  if (e.custom) return e.custom();
7395
7403
  let t = /* @__PURE__ */ new Date();
7396
7404
  if (t.setHours(0, 0, 0, 0), e.days !== void 0) {
@@ -7443,7 +7451,7 @@ var or = {
7443
7451
  to: t
7444
7452
  };
7445
7453
  }
7446
- }, Tr = {
7454
+ }, Er = {
7447
7455
  clearButton: "Clear",
7448
7456
  doneButton: "Done",
7449
7457
  noDateSelected: "No date selected",
@@ -7454,11 +7462,11 @@ var or = {
7454
7462
  selectedDateRange: "Selected date range: ",
7455
7463
  to: " to ",
7456
7464
  todayButton: "Today"
7457
- }, Er = ({ className: t, disabled: n = !1, hasDateRange: r, id: i, inputWidth: a, label: o, locale: s, maxDate: c, message: u, minDate: d, onChange: f, placeholder: p, required: m = !1, showLabel: g = !0, tooltipText: _, translationStrings: v, validationMessage: y, validationStatus: b, value: x, ...T }) => {
7465
+ }, Dr = ({ className: t, disabled: n = !1, hasDateRange: r, id: i, inputWidth: a, label: o, locale: s, maxDate: c, message: u, minDate: d, onChange: f, placeholder: p, required: m = !1, showLabel: g = !0, tooltipText: _, translationStrings: v, validationMessage: y, validationStatus: b, value: x, ...T }) => {
7458
7466
  let D = {
7459
- ...Tr,
7467
+ ...Er,
7460
7468
  ...v
7461
- }, [O, k] = h(x), [j, M] = h(!1), [N, P] = h(null), [F, I] = h(r ? x?.from : x), L = xt(a), R = "pds-datepicker", z = n ? $.disabled : null, B = m && !n ? $.required : null, V = b === "error" ? $.error : null, H = b === "success" ? $.success : null, U = y || u, { floatingStyles: W, refs: G } = A({
7469
+ }, [O, k] = h(x), [j, M] = h(!1), [N, P] = h(null), [F, I] = h(r ? x?.from : x), L = St(a), R = "pds-datepicker", z = n ? $.disabled : null, B = m && !n ? $.required : null, V = b === "error" ? $.error : null, H = b === "success" ? $.success : null, U = y || u, { floatingStyles: W, refs: G } = A({
7462
7470
  open: j,
7463
7471
  onOpenChange: M,
7464
7472
  placement: "bottom-start",
@@ -7497,18 +7505,18 @@ var or = {
7497
7505
  }, se = () => {
7498
7506
  if (r) {
7499
7507
  let t = O;
7500
- return t?.from ? t.to ? /* @__PURE__ */ e.createElement(e.Fragment, null, Cr(t.from, s), /* @__PURE__ */ e.createElement("span", { className: `${R}__separator` }, " – "), Cr(t.to, s)) : Cr(t.from, s) : p || "";
7508
+ return t?.from ? t.to ? /* @__PURE__ */ e.createElement(e.Fragment, null, wr(t.from, s), /* @__PURE__ */ e.createElement("span", { className: `${R}__separator` }, " – "), wr(t.to, s)) : wr(t.from, s) : p || "";
7501
7509
  } else {
7502
7510
  let e = O;
7503
- return e ? Cr(e, s) : p || "";
7511
+ return e ? wr(e, s) : p || "";
7504
7512
  }
7505
7513
  }, ce = () => r ? !O?.from : !O, le = () => {
7506
7514
  if (r) {
7507
7515
  let e = O;
7508
- return e?.from ? e.to ? `${D.selectedDateRange}${Cr(e.from, s)}${D.to}${Cr(e.to, s)}` : `${D.selectedStartDate}${Cr(e.from, s)}${D.pleaseSelectEndDate}` : D.noDateRangeSelected || "";
7516
+ return e?.from ? e.to ? `${D.selectedDateRange}${wr(e.from, s)}${D.to}${wr(e.to, s)}` : `${D.selectedStartDate}${wr(e.from, s)}${D.pleaseSelectEndDate}` : D.noDateRangeSelected || "";
7509
7517
  } else {
7510
7518
  let e = O;
7511
- return e ? `${D.selectedDate}${Cr(e, s)}` : D.noDateSelected || "";
7519
+ return e ? `${D.selectedDate}${wr(e, s)}` : D.noDateSelected || "";
7512
7520
  }
7513
7521
  }, ue = (e) => {
7514
7522
  G.floating.current && !G.floating.current.contains(e.target) && N && !N.contains(e.target) && M(!1);
@@ -7529,7 +7537,7 @@ var or = {
7529
7537
  ]),
7530
7538
  style: a ? L : null,
7531
7539
  ...T
7532
- }, /* @__PURE__ */ e.createElement(wt, {
7540
+ }, /* @__PURE__ */ e.createElement(Tt, {
7533
7541
  disabled: n,
7534
7542
  id: i,
7535
7543
  label: o,
@@ -7553,7 +7561,7 @@ var or = {
7553
7561
  }, /* @__PURE__ */ e.createElement(Q, {
7554
7562
  className: `${R}__trigger-icon`,
7555
7563
  iconName: "calendarDays"
7556
- }), /* @__PURE__ */ e.createElement("span", { className: Z([`${R}__trigger-text`, ce() ? `${R}__trigger-text--placeholder` : null]) }, se()))), U && /* @__PURE__ */ e.createElement(Tt, {
7564
+ }), /* @__PURE__ */ e.createElement("span", { className: Z([`${R}__trigger-text`, ce() ? `${R}__trigger-text--placeholder` : null]) }, se()))), U && /* @__PURE__ */ e.createElement(Et, {
7557
7565
  hasValidationMessage: !!y,
7558
7566
  id: i,
7559
7567
  message: U,
@@ -7588,21 +7596,21 @@ var or = {
7588
7596
  onMonthChange: I,
7589
7597
  onSelect: J,
7590
7598
  selected: O
7591
- })), /* @__PURE__ */ e.createElement("div", { className: `${R}__actions` }, /* @__PURE__ */ e.createElement(Wt, {
7599
+ })), /* @__PURE__ */ e.createElement("div", { className: `${R}__actions` }, /* @__PURE__ */ e.createElement(Gt, {
7592
7600
  className: `${R}__action-button ${R}__action-button--today`,
7593
7601
  label: D.todayButton,
7594
7602
  onClick: ne,
7595
7603
  size: "s",
7596
7604
  type: "button",
7597
7605
  variant: "secondary"
7598
- }), /* @__PURE__ */ e.createElement("div", { className: `${R}__actions-group` }, /* @__PURE__ */ e.createElement(Wt, {
7606
+ }), /* @__PURE__ */ e.createElement("div", { className: `${R}__actions-group` }, /* @__PURE__ */ e.createElement(Gt, {
7599
7607
  className: `${R}__action-button ${R}__action-button--clear`,
7600
7608
  label: D.clearButton,
7601
7609
  onClick: ee,
7602
7610
  size: "s",
7603
7611
  type: "button",
7604
7612
  variant: "secondary"
7605
- }), r && /* @__PURE__ */ e.createElement(Wt, {
7613
+ }), r && /* @__PURE__ */ e.createElement(Gt, {
7606
7614
  className: `${R}__action-button ${R}__action-button--done`,
7607
7615
  label: D.doneButton,
7608
7616
  onClick: te,
@@ -7610,11 +7618,11 @@ var or = {
7610
7618
  type: "button",
7611
7619
  variant: "highlight"
7612
7620
  })))));
7613
- }, Dr = a(({ accept: t, className: n, defaultValue: r, disabled: i = !1, fieldLabel: a, id: o, inputProps: s, inputWidth: c, labelStrings: u = {
7621
+ }, Or = a(({ accept: t, className: n, defaultValue: r, disabled: i = !1, fieldLabel: a, id: o, inputProps: s, inputWidth: c, labelStrings: u = {
7614
7622
  chooseFile: "Choose file",
7615
7623
  clearButton: "Clear selected file"
7616
7624
  }, message: d, multiple: f = !1, onClear: p, onFileChange: m, required: g = !1, showFullPath: _, showLabel: v = !0, size: y = "s", tooltipText: b = null, validationMessage: x, validationStatus: S, ...C }, w) => {
7617
- let [T, E] = h(!1), [D, O] = h(!!(X && r)), k = xt(c), A = "pds-file-upload", j = y === "s" ? null : `${A}--${y}`, M = i ? $.disabled : null, N = g && !i ? $.required : null, P = S === "error" ? $.error : null, F = S === "success" ? $.success : null, I = D ? `${A}--safari-default` : null, L = null;
7625
+ let [T, E] = h(!1), [D, O] = h(!!(X && r)), k = St(c), A = "pds-file-upload", j = y === "s" ? null : `${A}--${y}`, M = i ? $.disabled : null, N = g && !i ? $.required : null, P = S === "error" ? $.error : null, F = S === "success" ? $.success : null, I = D ? `${A}--safari-default` : null, L = null;
7618
7626
  S === "error" && (L = "error"), S === "success" && (L = "success");
7619
7627
  let R = x || d, z = r ? [r] : null, B = r ? r.split("/").pop() : null, V = _ ? r : B, H = r ? new File(z, V) : null;
7620
7628
  l(() => {
@@ -7653,7 +7661,7 @@ var or = {
7653
7661
  ]),
7654
7662
  style: c ? k : null,
7655
7663
  ...C
7656
- }, /* @__PURE__ */ e.createElement(wt, {
7664
+ }, /* @__PURE__ */ e.createElement(Tt, {
7657
7665
  isPseudoLabel: !0,
7658
7666
  disabled: i,
7659
7667
  id: o,
@@ -7664,7 +7672,7 @@ var or = {
7664
7672
  }), /* @__PURE__ */ e.createElement("span", {
7665
7673
  className: `${A}__input-wrapper`,
7666
7674
  id: o
7667
- }, L && /* @__PURE__ */ e.createElement(Dt, { variant: L }), /* @__PURE__ */ e.createElement("label", {
7675
+ }, L && /* @__PURE__ */ e.createElement(Ot, { variant: L }), /* @__PURE__ */ e.createElement("label", {
7668
7676
  className: T ? "visually-hidden" : `${A}__input-label`,
7669
7677
  htmlFor: `${o}--input`
7670
7678
  }, /* @__PURE__ */ e.createElement(Q, {
@@ -7683,18 +7691,18 @@ var or = {
7683
7691
  required: g,
7684
7692
  type: "file",
7685
7693
  ...s
7686
- }), T && /* @__PURE__ */ e.createElement(kt, {
7694
+ }), T && /* @__PURE__ */ e.createElement(At, {
7687
7695
  clearLabel: u.clearButton,
7688
7696
  handleClearInput: G,
7689
7697
  id: o
7690
- })), R && /* @__PURE__ */ e.createElement(Tt, {
7698
+ })), R && /* @__PURE__ */ e.createElement(Et, {
7691
7699
  hasValidationMessage: !!x,
7692
7700
  id: o,
7693
7701
  message: R,
7694
7702
  validationMessageHasDecorators: !1,
7695
7703
  validationStatus: S
7696
7704
  }));
7697
- }), Or = ({ children: t, className: n, ...r }) => {
7705
+ }), kr = ({ children: t, className: n, ...r }) => {
7698
7706
  let i = "pds-input-group", a = [t[0], t[1]], o = t[0].props.id ?? null, s = t[0].props.message ?? null, c = t[0].props.validationMessage ?? null, l = t[0].props.validationStatus ?? null, u = c || s, d = u ? `${i}--has-message` : null;
7699
7707
  return /* @__PURE__ */ e.createElement("div", {
7700
7708
  className: Z([
@@ -7703,7 +7711,7 @@ var or = {
7703
7711
  n ?? ""
7704
7712
  ]),
7705
7713
  ...r
7706
- }, /* @__PURE__ */ e.createElement("div", { className: `${i}__inner` }, a), u && /* @__PURE__ */ e.createElement(Tt, {
7714
+ }, /* @__PURE__ */ e.createElement("div", { className: `${i}__inner` }, a), u && /* @__PURE__ */ e.createElement(Et, {
7707
7715
  forInputGroup: !0,
7708
7716
  hasValidationMessage: !!c,
7709
7717
  id: o,
@@ -7711,7 +7719,7 @@ var or = {
7711
7719
  validationMessageHasDecorators: !1,
7712
7720
  validationStatus: l
7713
7721
  }));
7714
- }, kr = ({ className: t, defaultValue: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, label: s, message: c, onBlur: l, onChange: u, onValueChange: d, options: f, required: p = !1, showLabel: m = !0, tooltipText: g = null, validationMessage: _, validationStatus: v, value: y, ...b }) => {
7722
+ }, Ar = ({ className: t, defaultValue: n, disabled: r = !1, fieldsetProps: i, id: a, inputWidth: o, label: s, message: c, onBlur: l, onChange: u, onValueChange: d, options: f, required: p = !1, showLabel: m = !0, tooltipText: g = null, validationMessage: _, validationStatus: v, value: y, ...b }) => {
7715
7723
  let x = "pds-radio-group", S = r ? $.disabled : null, C = p && !r ? $.required : null, w = v === "error" ? $.error : null, T = v === "success" ? $.success : null, E = y !== void 0, [D, O] = h(n === void 0 ? "" : n), k = _ || c, A = (e) => {
7716
7724
  E || O(e.target.value), u && u(e), d && d(e.target.value);
7717
7725
  }, j = (e) => {
@@ -7726,13 +7734,13 @@ var or = {
7726
7734
  T,
7727
7735
  t ?? ""
7728
7736
  ]),
7729
- style: xt(o),
7737
+ style: St(o),
7730
7738
  ...b
7731
7739
  }, /* @__PURE__ */ e.createElement("fieldset", {
7732
7740
  className: `${x}__fieldset`,
7733
7741
  id: a,
7734
7742
  ...i
7735
- }, /* @__PURE__ */ e.createElement(wt, {
7743
+ }, /* @__PURE__ */ e.createElement(Tt, {
7736
7744
  isLegend: !0,
7737
7745
  disabled: r,
7738
7746
  id: a,
@@ -7753,15 +7761,15 @@ var or = {
7753
7761
  required: p,
7754
7762
  type: "radio",
7755
7763
  value: t.value
7756
- }), /* @__PURE__ */ e.createElement("label", { htmlFor: t.id ? t.id : `${a}-option-${n}` }, t.label))))), k && /* @__PURE__ */ e.createElement(Tt, {
7764
+ }), /* @__PURE__ */ e.createElement("label", { htmlFor: t.id ? t.id : `${a}-option-${n}` }, t.label))))), k && /* @__PURE__ */ e.createElement(Et, {
7757
7765
  validationMessageHasDecorators: !0,
7758
7766
  hasValidationMessage: !!_,
7759
7767
  id: a,
7760
7768
  message: k,
7761
7769
  validationStatus: v
7762
7770
  }));
7763
- }, Ar = a(({ checked: t, className: n, defaultChecked: r, disabled: i = !1, id: a, inputProps: o, inputWidth: s, label: c, message: l, onChange: u, required: d = !1, showLabel: f = !0, switchPlacement: p = "right", ...m }, g) => {
7764
- let _ = xt(s), v = "pds-switch", y = `${v}--${p}`, b = l ? `${v}--message` : null, x = i ? $.disabled : null, S = d && !i ? $.required : null, C = t !== void 0, [w, T] = h(!C && r ? r : !1), E = (e) => {
7771
+ }, jr = a(({ checked: t, className: n, defaultChecked: r, disabled: i = !1, id: a, inputProps: o, inputWidth: s, label: c, message: l, onChange: u, required: d = !1, showLabel: f = !0, switchPlacement: p = "right", ...m }, g) => {
7772
+ let _ = St(s), v = "pds-switch", y = `${v}--${p}`, b = l ? `${v}--message` : null, x = i ? $.disabled : null, S = d && !i ? $.required : null, C = t !== void 0, [w, T] = h(!C && r ? r : !1), E = (e) => {
7765
7773
  C || T(e.target.checked), u && u(e);
7766
7774
  }, D = () => {
7767
7775
  i || document.getElementById(a)?.click();
@@ -7782,7 +7790,7 @@ var or = {
7782
7790
  "aria-hidden": "true",
7783
7791
  className: `${v}__track`,
7784
7792
  onClick: D
7785
- }, /* @__PURE__ */ e.createElement("span", { className: `${v}__thumb` })))), k = l ? /* @__PURE__ */ e.createElement(Tt, {
7793
+ }, /* @__PURE__ */ e.createElement("span", { className: `${v}__thumb` })))), k = l ? /* @__PURE__ */ e.createElement(Et, {
7786
7794
  className: "pds-input-message--switch",
7787
7795
  hasValidationMessage: !1,
7788
7796
  id: a,
@@ -7801,7 +7809,7 @@ var or = {
7801
7809
  ]),
7802
7810
  style: s ? _ : null,
7803
7811
  ...m
7804
- }, /* @__PURE__ */ e.createElement(wt, {
7812
+ }, /* @__PURE__ */ e.createElement(Tt, {
7805
7813
  className: `${v}__label`,
7806
7814
  disabled: i,
7807
7815
  id: a,
@@ -7809,7 +7817,7 @@ var or = {
7809
7817
  required: d,
7810
7818
  showLabel: f
7811
7819
  }), /* @__PURE__ */ e.createElement("div", { className: `${v}__content` }, k, O));
7812
- }), jr = ({ disabled: t, dropTargetDirection: n, focusedIndex: r, index: i, isDragging: a, isSortable: o, onDragEnd: s, onDragOver: c, onDragStart: u, onFocusInput: d, onKeyboardMove: f, onRemove: p, setFocusedIndex: h, tag: g, totalTags: _, translationStrings: v }) => {
7820
+ }), Mr = ({ disabled: t, dropTargetDirection: n, focusedIndex: r, index: i, isDragging: a, isSortable: o, onDragEnd: s, onDragOver: c, onDragStart: u, onFocusInput: d, onKeyboardMove: f, onRemove: p, setFocusedIndex: h, tag: g, totalTags: _, translationStrings: v }) => {
7813
7821
  let y = m(null), b = "pds-tags-input__tag";
7814
7822
  l(() => {
7815
7823
  r === i && y.current && y.current.focus();
@@ -7875,14 +7883,14 @@ var or = {
7875
7883
  iconName: "xmark",
7876
7884
  size: "s"
7877
7885
  })));
7878
- }, Mr = a(({ addMorePlaceholder: t = "Add another", className: n, disabled: r = !1, id: i, inputMinHeight: a, inputWidth: o, isSortable: s = !1, label: c, message: l, onChange: u, placeholder: d, required: f = !1, showLabel: p = !0, size: g = "s", tags: _, tooltipText: v = null, translationStrings: y = {
7886
+ }, Nr = a(({ addMorePlaceholder: t = "Add another", className: n, disabled: r = !1, id: i, inputMinHeight: a, inputWidth: o, isSortable: s = !1, label: c, message: l, onChange: u, placeholder: d, required: f = !1, showLabel: p = !0, size: g = "s", tags: _, tooltipText: v = null, translationStrings: y = {
7879
7887
  inputInstructions: "Type a tag name and press Enter to add. Press Backspace on empty input to remove last tag. Press left arrow on empty input to navigate to tags.",
7880
7888
  tagAriaLabel: "tag {index} of {total}. Press Shift plus arrow keys to reorder, Delete to remove.",
7881
7889
  tagAriaLabelSimple: "tag {index} of {total}. Press Delete to remove.",
7882
7890
  tagRemove: "Remove {value}",
7883
7891
  tagsListLabel: "Current tags"
7884
7892
  }, validationMessage: b, validationStatus: x, ...S }, C) => {
7885
- let w = xt(o), T = "pds-tags-input", E = g === "s" ? null : `${T}--${g}`, D = r ? $.disabled : null, O = f && !r ? $.required : null, k = x === "error" ? $.error : null, A = x === "success" ? $.success : null, j = b || l, [M, N] = h(""), [P, F] = h(null), [I, L] = h(null), [R, z] = h(null), [B, V] = h(null), [H, U] = h(""), W = m(null), G = _.length > 0 ? t : d, K = (e) => {
7893
+ let w = St(o), T = "pds-tags-input", E = g === "s" ? null : `${T}--${g}`, D = r ? $.disabled : null, O = f && !r ? $.required : null, k = x === "error" ? $.error : null, A = x === "success" ? $.success : null, j = b || l, [M, N] = h(""), [P, F] = h(null), [I, L] = h(null), [R, z] = h(null), [B, V] = h(null), [H, U] = h(""), W = m(null), G = _.length > 0 ? t : d, K = (e) => {
7886
7894
  U(e), setTimeout(() => U(""), 1e3);
7887
7895
  }, q = (e) => {
7888
7896
  u(e);
@@ -7934,7 +7942,7 @@ var or = {
7934
7942
  ]),
7935
7943
  style: o ? w : null,
7936
7944
  ...S
7937
- }, /* @__PURE__ */ e.createElement(wt, {
7945
+ }, /* @__PURE__ */ e.createElement(Tt, {
7938
7946
  disabled: r,
7939
7947
  id: i,
7940
7948
  label: c,
@@ -7961,7 +7969,7 @@ var or = {
7961
7969
  return P && P !== t.id && (I === t.id && R === "before" ? i = "before" : I === t.id && R === "after" && n === _.length - 1 ? i = "after" : n > 0 && I === _[n - 1].id && R === "after" && (i = "before")), /* @__PURE__ */ e.createElement("div", {
7962
7970
  key: t.id,
7963
7971
  role: "listitem"
7964
- }, /* @__PURE__ */ e.createElement(jr, {
7972
+ }, /* @__PURE__ */ e.createElement(Mr, {
7965
7973
  disabled: r,
7966
7974
  dropTargetDirection: i,
7967
7975
  focusedIndex: B,
@@ -7998,14 +8006,14 @@ var or = {
7998
8006
  }), /* @__PURE__ */ e.createElement("div", {
7999
8007
  className: "visually-hidden",
8000
8008
  id: `${i}__instructions`
8001
- }, y.inputInstructions)), j && /* @__PURE__ */ e.createElement(Tt, {
8009
+ }, y.inputInstructions)), j && /* @__PURE__ */ e.createElement(Et, {
8002
8010
  hasValidationMessage: !!b,
8003
8011
  id: i,
8004
8012
  message: j,
8005
8013
  validationMessageHasDecorators: !1,
8006
8014
  validationStatus: x
8007
8015
  }));
8008
- }), Nr = a(({ className: t, counterMaxLength: n, defaultValue: r, disabled: i = !1, id: a, inputWidth: o, isResizable: s = !0, label: c, message: l, onBlur: u, onChange: d, onFocus: f, placeholder: p, readonly: m = !1, required: g = !1, rows: _ = 5, showLabel: v, size: y = "s", textareaProps: b, tooltipText: x = null, translationStrings: S = {
8016
+ }), Pr = a(({ className: t, counterMaxLength: n, defaultValue: r, disabled: i = !1, id: a, inputWidth: o, isResizable: s = !0, label: c, message: l, onBlur: u, onChange: d, onFocus: f, placeholder: p, readonly: m = !1, required: g = !1, rows: _ = 5, showLabel: v, size: y = "s", textareaProps: b, tooltipText: x = null, translationStrings: S = {
8009
8017
  clearButton: "Clear input text",
8010
8018
  counterOverLimit: "Character limit exceeded by",
8011
8019
  searchShortcut: "Press / to focus the search field",
@@ -8013,7 +8021,7 @@ var or = {
8013
8021
  visibilityToggleHide: "Hide input value",
8014
8022
  visibilityToggleShow: "Show input value"
8015
8023
  }, validationMessage: C, validationStatus: w, value: T, ...E }, D) => {
8016
- let O = xt(o), k = "pds-textarea", A = s ? "pds-is-resizable" : null, j = i ? $.disabled : null, M = g && !i ? $.required : null, N = w === "error" ? $.error : null, P = w === "success" ? $.success : null, F = y === "s" ? null : `${k}--${y}`, I = m ? $.readonly : null, L = C || l, R = T != null && d !== void 0, [z, B] = h(r === void 0 ? "" : r), V = T || z, H = (e) => {
8024
+ let O = St(o), k = "pds-textarea", A = s ? "pds-is-resizable" : null, j = i ? $.disabled : null, M = g && !i ? $.required : null, N = w === "error" ? $.error : null, P = w === "success" ? $.success : null, F = y === "s" ? null : `${k}--${y}`, I = m ? $.readonly : null, L = C || l, R = T != null && d !== void 0, [z, B] = h(r === void 0 ? "" : r), V = T || z, H = (e) => {
8017
8025
  R || B(e.target.value), d && d(e);
8018
8026
  }, U = (e) => {
8019
8027
  u && u(e);
@@ -8032,7 +8040,7 @@ var or = {
8032
8040
  ]),
8033
8041
  style: o ? O : null,
8034
8042
  ...E
8035
- }, /* @__PURE__ */ e.createElement("div", { className: `${k}__inputlabel-wrapper` }, /* @__PURE__ */ e.createElement(wt, {
8043
+ }, /* @__PURE__ */ e.createElement("div", { className: `${k}__inputlabel-wrapper` }, /* @__PURE__ */ e.createElement(Tt, {
8036
8044
  className: `${k}__inputlabel`,
8037
8045
  disabled: i,
8038
8046
  id: a,
@@ -8040,7 +8048,7 @@ var or = {
8040
8048
  required: g,
8041
8049
  showLabel: v,
8042
8050
  tooltipText: x
8043
- }), n && /* @__PURE__ */ e.createElement(At, {
8051
+ }), n && /* @__PURE__ */ e.createElement(jt, {
8044
8052
  currentLength: V.length,
8045
8053
  id: a,
8046
8054
  maxLength: n,
@@ -8062,14 +8070,14 @@ var or = {
8062
8070
  rows: _,
8063
8071
  value: R ? T : z,
8064
8072
  ...b
8065
- })), L && /* @__PURE__ */ e.createElement(Tt, {
8073
+ })), L && /* @__PURE__ */ e.createElement(Et, {
8066
8074
  validationMessageHasDecorators: !0,
8067
8075
  hasValidationMessage: !!C,
8068
8076
  id: a,
8069
8077
  message: L,
8070
8078
  validationStatus: w
8071
8079
  }));
8072
- }), Pr = () => /* @__PURE__ */ e.createElement("div", { className: "pds-text-input__url-prefix" }, "https://"), Fr = a(({ autoComplete: t, className: n, counterMaxLength: r, defaultValue: i, disabled: a = !1, hasClearButton: o = !1, hasSearchShortcut: s = !1, hasUrlPrefix: c = !1, id: l, inputProps: u, inputWidth: d, label: f, message: p, onBlur: m, onChange: g, onClear: _, onFocus: v, placeholder: y, readonly: b = !1, required: x = !1, searchIcon: S = "search", showLabel: C = !0, showVisibilityToggle: w = !1, size: T = "s", tooltipText: E = null, translationStrings: D = {
8080
+ }), Fr = () => /* @__PURE__ */ e.createElement("div", { className: "pds-text-input__url-prefix" }, "https://"), Ir = a(({ autoComplete: t, className: n, counterMaxLength: r, defaultValue: i, disabled: a = !1, hasClearButton: o = !1, hasSearchShortcut: s = !1, hasUrlPrefix: c = !1, id: l, inputProps: u, inputWidth: d, label: f, message: p, onBlur: m, onChange: g, onClear: _, onFocus: v, placeholder: y, readonly: b = !1, required: x = !1, searchIcon: S = "search", showLabel: C = !0, showVisibilityToggle: w = !1, size: T = "s", tooltipText: E = null, translationStrings: D = {
8073
8081
  clearButton: "Clear input text",
8074
8082
  counterOverLimit: "Character limit exceeded by",
8075
8083
  searchShortcut: "Press / to focus the search field",
@@ -8077,11 +8085,11 @@ var or = {
8077
8085
  visibilityToggleHide: "Hide input value",
8078
8086
  visibilityToggleShow: "Show input value"
8079
8087
  }, type: O = "text", validationMessage: k, validationStatus: A, value: j, ...M }, N) => {
8080
- let P = xt(d), F = "pds-text-input", I = a ? $.disabled : null, L = x && !a ? $.required : null, R = A === "error" ? $.error : null, z = A === "success" ? $.success : null, B = b ? $.readonly : null, V = T === "s" ? null : `${F}--${T}`, H = c && O === "url" ? `${F}--has-url-prefix` : null, U = null;
8088
+ let P = St(d), F = "pds-text-input", I = a ? $.disabled : null, L = x && !a ? $.required : null, R = A === "error" ? $.error : null, z = A === "success" ? $.success : null, B = b ? $.readonly : null, V = T === "s" ? null : `${F}--${T}`, H = c && O === "url" ? `${F}--has-url-prefix` : null, U = null;
8081
8089
  O === "search" && (U = "search"), O === "search" && S === "filter" && (U = "filter"), A === "error" && (U = "error"), A === "success" && (U = "success");
8082
8090
  let W = k || p, G = j !== void 0, [K, q] = h(i === void 0 ? "" : i), J = j || K, ee = (e) => {
8083
8091
  if (w && re && ie(!1), c && O === "url") {
8084
- let t = St(e.target.value), n = {
8092
+ let t = Ct(e.target.value), n = {
8085
8093
  ...e,
8086
8094
  target: {
8087
8095
  ...e.target,
@@ -8092,7 +8100,7 @@ var or = {
8092
8100
  } else m && m(e);
8093
8101
  }, te = (e) => {
8094
8102
  if (c && O === "url") {
8095
- let t = St(e.target.value), n = {
8103
+ let t = Ct(e.target.value), n = {
8096
8104
  ...e,
8097
8105
  target: {
8098
8106
  ...e.target,
@@ -8125,7 +8133,7 @@ var or = {
8125
8133
  ]),
8126
8134
  style: d ? P : null,
8127
8135
  ...M
8128
- }, /* @__PURE__ */ e.createElement(wt, {
8136
+ }, /* @__PURE__ */ e.createElement(Tt, {
8129
8137
  disabled: a,
8130
8138
  id: l,
8131
8139
  label: f,
@@ -8135,7 +8143,7 @@ var or = {
8135
8143
  }), w && O === "password" && /* @__PURE__ */ e.createElement("div", {
8136
8144
  "aria-live": "polite",
8137
8145
  className: "visually-hidden"
8138
- }, `${D.visibilityStatus} ${re ? "visible" : "hidden"}.`), /* @__PURE__ */ e.createElement("div", { className: `${F}__input-wrapper ${c && O === "url" ? `${F}__input-wrapper--has-prefix` : ""}` }, U && /* @__PURE__ */ e.createElement(Dt, { variant: U }), c && O === "url" && /* @__PURE__ */ e.createElement(Pr, null), /* @__PURE__ */ e.createElement("input", {
8146
+ }, `${D.visibilityStatus} ${re ? "visible" : "hidden"}.`), /* @__PURE__ */ e.createElement("div", { className: `${F}__input-wrapper ${c && O === "url" ? `${F}__input-wrapper--has-prefix` : ""}` }, U && /* @__PURE__ */ e.createElement(Ot, { variant: U }), c && O === "url" && /* @__PURE__ */ e.createElement(Fr, null), /* @__PURE__ */ e.createElement("input", {
8139
8147
  ref: N,
8140
8148
  "aria-describedby": W ? `${l}__message` : null,
8141
8149
  "aria-invalid": A === "error" ? !0 : null,
@@ -8153,7 +8161,7 @@ var or = {
8153
8161
  type: Y,
8154
8162
  value: G ? j : K,
8155
8163
  ...u
8156
- }), o && J && /* @__PURE__ */ e.createElement(kt, {
8164
+ }), o && J && /* @__PURE__ */ e.createElement(At, {
8157
8165
  clearLabel: D.clearButton,
8158
8166
  handleClearInput: ne,
8159
8167
  id: l
@@ -8167,22 +8175,22 @@ var or = {
8167
8175
  }, /* @__PURE__ */ e.createElement(Q, {
8168
8176
  iconName: re ? "eyeSlash" : "eye",
8169
8177
  size: "m"
8170
- })), s && O === "search" && !J && /* @__PURE__ */ e.createElement(Ot, {
8178
+ })), s && O === "search" && !J && /* @__PURE__ */ e.createElement(kt, {
8171
8179
  inputId: l,
8172
8180
  shortcutLabel: D.searchShortcut
8173
- }), r && O !== "password" && /* @__PURE__ */ e.createElement(At, {
8181
+ }), r && O !== "password" && /* @__PURE__ */ e.createElement(jt, {
8174
8182
  currentLength: J.length,
8175
8183
  id: l,
8176
8184
  maxLength: r,
8177
8185
  overLimitMessage: D.counterOverLimit
8178
- })), W && /* @__PURE__ */ e.createElement(Tt, {
8186
+ })), W && /* @__PURE__ */ e.createElement(Et, {
8179
8187
  hasValidationMessage: !!k,
8180
8188
  id: l,
8181
8189
  message: W,
8182
8190
  validationMessageHasDecorators: !1,
8183
8191
  validationStatus: A
8184
8192
  }));
8185
- }), Ir = ({ className: t, linkContent: n, size: r = "s", ...i }) => {
8193
+ }), Lr = ({ className: t, linkContent: n, size: r = "s", ...i }) => {
8186
8194
  let a = "pds-cta-link", o = r === "s" ? null : `${a}--${r}`;
8187
8195
  return /* @__PURE__ */ e.createElement("div", {
8188
8196
  className: Z([
@@ -8196,7 +8204,7 @@ var or = {
8196
8204
  iconName: "arrowRight",
8197
8205
  size: r === "xs" ? "s" : r === "s" ? "m" : "l"
8198
8206
  }));
8199
- }, Lr = ({ children: t, className: n, fontSize: r, isLoading: i, newWindowText: a = "opens in a new window", url: o, ...s }) => {
8207
+ }, Rr = ({ children: t, className: n, fontSize: r, isLoading: i, newWindowText: a = "opens in a new window", url: o, ...s }) => {
8200
8208
  let c = "pds-link-new-window", l = r ? `${c}--${r}` : null;
8201
8209
  return i ? /* @__PURE__ */ e.createElement("span", {
8202
8210
  "aria-hidden": "true",
@@ -8223,11 +8231,11 @@ var or = {
8223
8231
  className: `${c}__icon`,
8224
8232
  iconName: "externalLink"
8225
8233
  }));
8226
- }, Rr = ({ className: t, destination: n = "main", text: r = "Skip to main content", ...i }) => /* @__PURE__ */ e.createElement("a", {
8234
+ }, zr = ({ className: t, destination: n = "main", text: r = "Skip to main content", ...i }) => /* @__PURE__ */ e.createElement("a", {
8227
8235
  className: Z(["pds-skiplink", t]),
8228
8236
  href: `#${n}`,
8229
8237
  ...i
8230
- }, r), zr = ({ alt: t = "", className: n, height: r, srcFallback: i, srcWebp: a, width: o, ...s }) => {
8238
+ }, r), Br = ({ alt: t = "", className: n, height: r, srcFallback: i, srcWebp: a, width: o, ...s }) => {
8231
8239
  let c = "pds-picture";
8232
8240
  return /* @__PURE__ */ e.createElement("picture", { className: Z([c, n ?? ""]) }, /* @__PURE__ */ e.createElement("source", {
8233
8241
  srcSet: a,
@@ -8240,7 +8248,7 @@ var or = {
8240
8248
  width: o,
8241
8249
  ...s
8242
8250
  }));
8243
- }, Br = ({ ariaLabel: t = "Breadcrumb", className: r, crumbs: i, ...a }) => {
8251
+ }, Vr = ({ ariaLabel: t = "Breadcrumb", className: r, crumbs: i, ...a }) => {
8244
8252
  let s = "pds-breadcrumb", c = i.length, l = i.map((t, r) => {
8245
8253
  if (r < c - 1) return /* @__PURE__ */ e.createElement("li", {
8246
8254
  key: r,
@@ -8259,36 +8267,36 @@ var or = {
8259
8267
  className: Z([s, r]),
8260
8268
  ...a
8261
8269
  }, /* @__PURE__ */ e.createElement("ol", { className: `${s}__crumbs` }, l));
8262
- }, Vr = (e) => {
8270
+ }, Hr = (e) => {
8263
8271
  if (!e) return null;
8264
8272
  for (let t = 0; t < e.length; t++) {
8265
- if (Ur(e[t])) return typeof e[t].linkContent == "string" ? null : e[t].linkContent;
8273
+ if (Wr(e[t])) return typeof e[t].linkContent == "string" ? null : e[t].linkContent;
8266
8274
  if (e[t].links) {
8267
- let n = Vr(e[t].links);
8275
+ let n = Hr(e[t].links);
8268
8276
  if (n) return n;
8269
8277
  }
8270
8278
  }
8271
8279
  return null;
8272
- }, Hr = (e) => typeof e == "string" ? e : e.props.children, Ur = (e) => typeof e.linkContent == "string" ? !1 : !!(e.isActive || e.linkContent.props.className && e.linkContent.props.className.includes("pds-isActive")), Wr = (e) => {
8273
- if (Ur(e)) return !0;
8280
+ }, Ur = (e) => typeof e == "string" ? e : e.props.children, Wr = (e) => typeof e.linkContent == "string" ? !1 : !!(e.isActive || e.linkContent.props.className && e.linkContent.props.className.includes("pds-isActive")), Gr = (e) => {
8281
+ if (Wr(e)) return !0;
8274
8282
  if (e.links) {
8275
- for (let t = 0; t < e.links.length; t++) if (Wr(e.links[t])) return !0;
8283
+ for (let t = 0; t < e.links.length; t++) if (Gr(e.links[t])) return !0;
8276
8284
  }
8277
8285
  return !1;
8278
- }, Gr = (e) => e.map((e) => `${Ur(e)}${e.links ? `[${Gr(e.links)}]` : ""}`).join("|"), Kr = (e) => {
8286
+ }, Kr = (e) => e.map((e) => `${Wr(e)}${e.links ? `[${Kr(e.links)}]` : ""}`).join("|"), qr = (e) => {
8279
8287
  if (o(e)) {
8280
8288
  let t = e.type;
8281
8289
  return t === "a" || typeof t == "string" && t.toLowerCase() === "a" || (typeof t == "function" || typeof t == "object") && t?.displayName === "Link";
8282
8290
  }
8283
8291
  return !1;
8284
- }, qr = (e, t) => {
8292
+ }, Jr = (e, t) => {
8285
8293
  let r = null;
8286
8294
  if (typeof e == "string" && t) {
8287
8295
  let i = t ? t[0].linkContent : null;
8288
8296
  o(i) && (r = n(i, { ...typeof e == "string" ? { children: e } : {} }));
8289
8297
  } else r = e;
8290
8298
  return r;
8291
- }, Jr = (t, r, i, a) => {
8299
+ }, Yr = (t, r, i, a) => {
8292
8300
  let s = null;
8293
8301
  if (typeof r == "string") {
8294
8302
  let c = a ? [/* @__PURE__ */ e.createElement("span", {
@@ -8313,12 +8321,12 @@ var or = {
8313
8321
  iconName: a,
8314
8322
  size: "m"
8315
8323
  })), /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, r.props.children))] })) : r), s;
8316
- }, Yr = ({ ariaLabel: t, className: n, menuItems: r, ...i }) => {
8317
- let a = m(null), o = "pds-button-nav";
8324
+ }, Xr = ({ ariaLabel: t, border: n = !1, className: r, menuItems: i, ...a }) => {
8325
+ let o = m(null), s = "pds-button-nav", c = n ? `${s}--bordered` : null;
8318
8326
  l(() => {
8319
8327
  let e = (e) => {
8320
8328
  if (document.documentElement.hasAttribute("data-pds-mobile")) return;
8321
- let t = a.current;
8329
+ let t = o.current;
8322
8330
  if (!t) return;
8323
8331
  let n = Array.from(t.querySelectorAll("a, button, [tabindex]:not([tabindex=\"-1\"])"));
8324
8332
  if (n.length === 0) return;
@@ -8327,37 +8335,41 @@ var or = {
8327
8335
  };
8328
8336
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
8329
8337
  }, []);
8330
- let s = ({ isActive: t, linkContent: n }) => {
8331
- let r = `${o}__item`;
8338
+ let u = ({ isActive: t, linkContent: n }) => {
8339
+ let r = `${s}__item`;
8332
8340
  return /* @__PURE__ */ e.createElement("li", { className: Z([r, t ? `${r}--active` : null]) }, n);
8333
- }, c = r.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${o}__menu` }, r.map((t, n) => /* @__PURE__ */ e.createElement(s, {
8341
+ }, d = i.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${s}__menu` }, i.map((t, n) => /* @__PURE__ */ e.createElement(u, {
8334
8342
  key: n,
8335
- isActive: Wr(t),
8343
+ isActive: Gr(t),
8336
8344
  linkContent: t.linkContent
8337
- }))) : null, u = [];
8338
- r.map((e) => {
8339
- e.linkContent && (Wr(e) ? u.unshift({
8345
+ }))) : null, f = [];
8346
+ i.map((e) => {
8347
+ e.linkContent && (Gr(e) ? f.unshift({
8340
8348
  linkContent: e.linkContent,
8341
8349
  isLink: !0
8342
- }) : u.push({
8350
+ }) : f.push({
8343
8351
  linkContent: e.linkContent,
8344
8352
  isLink: !0
8345
8353
  }));
8346
8354
  });
8347
- let d = u.length > 0 ? /* @__PURE__ */ e.createElement("div", { className: `${o}__mobile` }, /* @__PURE__ */ e.createElement(bn, {
8348
- actionItems: u,
8355
+ let p = f.length > 0 ? /* @__PURE__ */ e.createElement("div", { className: `${s}__mobile` }, /* @__PURE__ */ e.createElement(xn, {
8356
+ actionItems: f,
8349
8357
  id: "mobile-nav-split-button",
8350
8358
  size: "s",
8351
8359
  variant: "secondary"
8352
8360
  })) : null;
8353
8361
  return /* @__PURE__ */ e.createElement("nav", {
8354
- ref: a,
8362
+ ref: o,
8355
8363
  "aria-label": t,
8356
- className: Z([o, n ?? ""]),
8357
- ...i
8358
- }, c, d);
8359
- }, Xr = ({ className: t, headingText: r, menuItems: i, selectTextFallback: a = "Navigate to...", ...o }) => {
8360
- let s = "pds-dropdown-menu", c = Vr(i), l = c ? c.props.children : a, u = /* @__PURE__ */ e.createElement(Mn, { className: `pds-dropdown__selected-icon ${s}__active-icon` }), { activeIndex: d, floatingStyles: f, getFloatingProps: p, getItemProps: m, getReferenceProps: h, isMounted: g, listRef: _, refs: v, setIsOpen: y, transitionStyles: b } = Zt({
8364
+ className: Z([
8365
+ s,
8366
+ c,
8367
+ r ?? ""
8368
+ ]),
8369
+ ...a
8370
+ }, d, p);
8371
+ }, Zr = ({ className: t, headingText: r, menuItems: i, selectTextFallback: a = "Navigate to...", ...o }) => {
8372
+ let s = "pds-dropdown-menu", c = Hr(i), l = c ? c.props.children : a, u = /* @__PURE__ */ e.createElement(Nn, { className: `pds-dropdown__selected-icon ${s}__active-icon` }), { activeIndex: d, floatingStyles: f, getFloatingProps: p, getItemProps: m, getReferenceProps: h, isMounted: g, listRef: _, refs: v, setIsOpen: y, transitionStyles: b } = Qt({
8361
8373
  enableShift: !1,
8362
8374
  enableTypeahead: !0,
8363
8375
  role: "menu"
@@ -8366,7 +8378,7 @@ var or = {
8366
8378
  }, S = (e) => {
8367
8379
  e.key === "Enter" && _.current[d]?.querySelector("a")?.click();
8368
8380
  }, C = ({ item: e, level: t }) => {
8369
- let r = qr(e.linkContent, e.links);
8381
+ let r = Jr(e.linkContent, e.links);
8370
8382
  return {
8371
8383
  ...e,
8372
8384
  level: t,
@@ -8457,7 +8469,7 @@ var or = {
8457
8469
  tabIndex: d === n ? 0 : -1,
8458
8470
  ...m({ onKeyDown: S })
8459
8471
  }, t.linkContent, t.isActive === !0 && u))));
8460
- }, Zr = ({ children: t, className: n, width: r = "standard", ...i }) => {
8472
+ }, Qr = ({ children: t, className: n, width: r = "standard", ...i }) => {
8461
8473
  let a = "pds-container", o = r === "standard" ? null : `${a}--${r}`;
8462
8474
  return /* @__PURE__ */ e.createElement("div", {
8463
8475
  className: Z([
@@ -8467,11 +8479,11 @@ var or = {
8467
8479
  ]),
8468
8480
  ...i
8469
8481
  }, t);
8470
- }, Qr = ({ children: t, className: n, colorType: r = "default", containerWidth: i = "x-wide", hideBorder: a, inlinePadding: o, translationStrings: s = {
8482
+ }, $r = ({ children: t, className: n, colorType: r = "default", containerWidth: i = "x-wide", hideBorder: a, inlinePadding: o, translationStrings: s = {
8471
8483
  closeMobileNav: "Close navigation area",
8472
8484
  openMobileNav: "Open navigation area"
8473
8485
  }, ...c }) => {
8474
- let [u, d] = h(!1), { closeOverlay: f, openOverlay: p } = vt(), m = "pds-navbar", g = a ? `${m}--noBorder` : "", _ = r === "default" ? "" : `${m}--${r}`, v = (e) => {
8486
+ let [u, d] = h(!1), { closeOverlay: f, openOverlay: p } = yt(), m = "pds-navbar", g = a ? `${m}--noBorder` : "", _ = r === "default" ? "" : `${m}--${r}`, v = (e) => {
8475
8487
  let t = e.key, n = !1;
8476
8488
  switch (t) {
8477
8489
  case "Esc":
@@ -8521,7 +8533,7 @@ var or = {
8521
8533
  n ?? ""
8522
8534
  ]),
8523
8535
  ...c
8524
- }, /* @__PURE__ */ e.createElement("div", { className: `${m}__bar-mobile` }, /* @__PURE__ */ e.createElement(Zr, null, /* @__PURE__ */ e.createElement("div", { className: `${m}__inner-mobile` }, S, O && k))), /* @__PURE__ */ e.createElement(se, {
8536
+ }, /* @__PURE__ */ e.createElement("div", { className: `${m}__bar-mobile` }, /* @__PURE__ */ e.createElement(Qr, null, /* @__PURE__ */ e.createElement("div", { className: `${m}__inner-mobile` }, S, O && k))), /* @__PURE__ */ e.createElement(se, {
8525
8537
  active: u,
8526
8538
  focusTrapOptions: {
8527
8539
  clickOutsideDeactivates: !0,
@@ -8531,11 +8543,11 @@ var or = {
8531
8543
  }, /* @__PURE__ */ e.createElement("div", {
8532
8544
  className: Z([`${m}__mobile`, u ? `${m}__mobile--open` : null]),
8533
8545
  inert: u ? void 0 : !0
8534
- }, /* @__PURE__ */ e.createElement(Zr, null, /* @__PURE__ */ e.createElement("button", {
8546
+ }, /* @__PURE__ */ e.createElement(Qr, null, /* @__PURE__ */ e.createElement("button", {
8535
8547
  className: "visually-hidden",
8536
8548
  onClick: y,
8537
8549
  type: "button"
8538
- }, s.closeMobileNav), C, w, T))), /* @__PURE__ */ e.createElement(Zr, {
8550
+ }, s.closeMobileNav), C, w, T))), /* @__PURE__ */ e.createElement(Qr, {
8539
8551
  className: `${m}__inner`,
8540
8552
  style: o ? { paddingInline: o } : void 0,
8541
8553
  width: i
@@ -8543,14 +8555,14 @@ var or = {
8543
8555
  "aria-hidden": "true",
8544
8556
  className: `${m}__separator`
8545
8557
  }), C && /* @__PURE__ */ e.createElement("div", { className: `${m}__items-left` }, C)), w && /* @__PURE__ */ e.createElement("div", { className: `${m}__items-center` }, w), T && /* @__PURE__ */ e.createElement("div", { className: `${m}__items-right` }, T)));
8546
- }, $r = ({ ariaLabel: t, className: r, hasMobileDropdown: i = !1, headingText: a, labels: s = {
8558
+ }, ei = ({ ariaLabel: t, className: r, hasMobileDropdown: i = !1, headingText: a, labels: s = {
8547
8559
  submenu: "submenu",
8548
8560
  toggle: "Toggle"
8549
8561
  }, menuItems: c, mobileMenuSelectTextFallback: u = "Navigate to...", ...d }) => {
8550
8562
  let f = "pds-side-nav", p = i ? `${f}--has-mobile-dropdown` : null, m = `${f}__item`, g = `${f}__menu`, [_, v] = h({});
8551
8563
  l(() => {
8552
8564
  v((e) => Object.keys(e).length ? {} : e);
8553
- }, [Gr(c)]);
8565
+ }, [Kr(c)]);
8554
8566
  let y = (e, t) => t in _ ? _[t] : e, b = (e, t) => {
8555
8567
  v((n) => {
8556
8568
  let r = t in n ? n[t] : e;
@@ -8560,7 +8572,7 @@ var or = {
8560
8572
  };
8561
8573
  });
8562
8574
  }, x = (t, r) => {
8563
- let { linkContent: i, links: a } = t, c = Wr(t), l = Kr(i), u = y(c, r);
8575
+ let { linkContent: i, links: a } = t, c = Gr(t), l = qr(i), u = y(c, r);
8564
8576
  return /* @__PURE__ */ e.createElement("li", {
8565
8577
  key: r,
8566
8578
  className: Z([
@@ -8573,7 +8585,7 @@ var or = {
8573
8585
  `${f}__row`,
8574
8586
  `${f}__row--expandable`,
8575
8587
  `${m}-wrapper`
8576
- ]) }, qr(i, a), /* @__PURE__ */ e.createElement("button", {
8588
+ ]) }, Jr(i, a), /* @__PURE__ */ e.createElement("button", {
8577
8589
  "aria-expanded": u,
8578
8590
  className: Z([`${f}__toggle`, u ? `${f}__toggle--expanded` : null]),
8579
8591
  onClick: () => b(c, r),
@@ -8581,7 +8593,7 @@ var or = {
8581
8593
  }, /* @__PURE__ */ e.createElement(Q, {
8582
8594
  iconName: "angleDown",
8583
8595
  size: "m"
8584
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${s.toggle} ${Hr(i)} ${s.submenu}`))), /* @__PURE__ */ e.createElement("ul", { className: Z([
8596
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${s.toggle} ${Ur(i)} ${s.submenu}`))), /* @__PURE__ */ e.createElement("ul", { className: Z([
8585
8597
  g,
8586
8598
  `${g}--second-level`,
8587
8599
  u ? `${g}--expanded` : null
@@ -8590,9 +8602,9 @@ var or = {
8590
8602
  className: Z([
8591
8603
  m,
8592
8604
  `${m}--second-level`,
8593
- Wr(t) ? `${m}--active` : null
8605
+ Gr(t) ? `${m}--active` : null
8594
8606
  ])
8595
- }, qr(t.linkContent, t.links))))) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
8607
+ }, Jr(t.linkContent, t.links))))) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
8596
8608
  "aria-expanded": u,
8597
8609
  className: Z([
8598
8610
  `${f}__row`,
@@ -8606,7 +8618,7 @@ var or = {
8606
8618
  }, o(i) && i.type === "span" ? n(i, { className: Z([i.props.className, `${f}__toggle-content`]) }) : /* @__PURE__ */ e.createElement("span", { className: `${f}__toggle-content` }, i), /* @__PURE__ */ e.createElement(Q, {
8607
8619
  iconName: "angleDown",
8608
8620
  size: "m"
8609
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${s.toggle} ${Hr(i)} ${s.submenu}`)), /* @__PURE__ */ e.createElement("ul", { className: Z([
8621
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${s.toggle} ${Ur(i)} ${s.submenu}`)), /* @__PURE__ */ e.createElement("ul", { className: Z([
8610
8622
  g,
8611
8623
  `${g}--second-level`,
8612
8624
  u ? `${g}--expanded` : null
@@ -8615,10 +8627,10 @@ var or = {
8615
8627
  className: Z([
8616
8628
  m,
8617
8629
  `${m}--second-level`,
8618
- Wr(t) ? `${m}--active` : null
8630
+ Gr(t) ? `${m}--active` : null
8619
8631
  ])
8620
- }, qr(t.linkContent, t.links))))) : i);
8621
- }, S = /* @__PURE__ */ e.createElement(e.Fragment, null, a && /* @__PURE__ */ e.createElement("h2", { className: `${f}__heading` }, a), c.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${f}__menu ${f}__menu--top-level` }, c.map((e, t) => x(e, t)))), C = /* @__PURE__ */ e.createElement(Xr, {
8632
+ }, Jr(t.linkContent, t.links))))) : i);
8633
+ }, S = /* @__PURE__ */ e.createElement(e.Fragment, null, a && /* @__PURE__ */ e.createElement("h2", { className: `${f}__heading` }, a), c.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${f}__menu ${f}__menu--top-level` }, c.map((e, t) => x(e, t)))), C = /* @__PURE__ */ e.createElement(Zr, {
8622
8634
  className: `${f}__mobile`,
8623
8635
  headingText: a,
8624
8636
  menuItems: c,
@@ -8633,8 +8645,8 @@ var or = {
8633
8645
  ]),
8634
8646
  ...d
8635
8647
  }, S, i && C);
8636
- }, ei = ({ icon: t, isActive: n, isExpanded: r, isSidebarCollapsed: i, labels: a, linkContent: o, links: s, onExpandSidebar: c, onToggleExpand: u }) => {
8637
- let d = "pds-side-nav-global", f = `${d}__item`, p = `${d}__menu`, g = /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, Jr(d, o, s, t)), _ = (t, n) => /* @__PURE__ */ e.createElement("ul", { className: Z([
8648
+ }, ti = ({ icon: t, isActive: n, isExpanded: r, isSidebarCollapsed: i, labels: a, linkContent: o, links: s, onExpandSidebar: c, onToggleExpand: u }) => {
8649
+ let d = "pds-side-nav-global", f = `${d}__item`, p = `${d}__menu`, g = /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, Yr(d, o, s, t)), _ = (t, n) => /* @__PURE__ */ e.createElement("ul", { className: Z([
8638
8650
  p,
8639
8651
  `${p}--${n}`,
8640
8652
  r ? `${p}--expanded` : null
@@ -8643,7 +8655,7 @@ var or = {
8643
8655
  className: Z([
8644
8656
  f,
8645
8657
  `${f}--${n}`,
8646
- Wr(t) ? `${f}--active` : null
8658
+ Gr(t) ? `${f}--active` : null
8647
8659
  ])
8648
8660
  }, t.linkContent))), [v, y] = h(!1), b = m(v), x = m(!1), { context: D, floatingStyles: O, refs: j } = A({
8649
8661
  placement: "right-start",
@@ -8697,7 +8709,7 @@ var or = {
8697
8709
  ...F(),
8698
8710
  onClick: R,
8699
8711
  onKeyDown: L
8700
- }, s ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, Jr(d, o, s, t), !i && /* @__PURE__ */ e.createElement("button", {
8712
+ }, s ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, Yr(d, o, s, t), !i && /* @__PURE__ */ e.createElement("button", {
8701
8713
  "aria-expanded": r,
8702
8714
  className: Z([`${d}__toggle`, r ? `${d}__toggle--expanded` : null]),
8703
8715
  onClick: u,
@@ -8705,13 +8717,13 @@ var or = {
8705
8717
  }, /* @__PURE__ */ e.createElement(Q, {
8706
8718
  iconName: "angleDown",
8707
8719
  size: "m"
8708
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${Hr(o)} ${a.submenu}`))), !i && _(s, "second-level"), i && v && /* @__PURE__ */ e.createElement("div", {
8720
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${Ur(o)} ${a.submenu}`))), !i && _(s, "second-level"), i && v && /* @__PURE__ */ e.createElement("div", {
8709
8721
  ref: j.setFloating,
8710
8722
  className: `${d}__flyout`,
8711
8723
  style: O,
8712
8724
  ...N()
8713
- }, /* @__PURE__ */ e.createElement("div", { className: `${d}__flyout-heading` }, Hr(o)), _(s, "second-level-flyout"))) : /* @__PURE__ */ e.createElement(e.Fragment, null, i ? /* @__PURE__ */ e.createElement(bt, {
8714
- content: Hr(o),
8725
+ }, /* @__PURE__ */ e.createElement("div", { className: `${d}__flyout-heading` }, Ur(o)), _(s, "second-level-flyout"))) : /* @__PURE__ */ e.createElement(e.Fragment, null, i ? /* @__PURE__ */ e.createElement(xt, {
8726
+ content: Ur(o),
8715
8727
  customTrigger: g,
8716
8728
  offsetValue: {
8717
8729
  mainAxis: 8,
@@ -8719,14 +8731,14 @@ var or = {
8719
8731
  },
8720
8732
  preferredPlacement: "right"
8721
8733
  }) : g));
8722
- }, ti = ({ ariaLabel: t, className: n, isSidebarCollapsed: r, labels: i = {
8734
+ }, ni = ({ ariaLabel: t, className: n, isSidebarCollapsed: r, labels: i = {
8723
8735
  submenu: "submenu",
8724
8736
  toggle: "Toggle"
8725
8737
  }, menuItems: a, onExpandSidebar: o, ...s }) => {
8726
8738
  let c = "pds-side-nav-global", u = r ? `${c}--collapsed` : `${c}--expanded`, [d, f] = h({});
8727
8739
  l(() => {
8728
8740
  f((e) => Object.keys(e).length ? {} : e);
8729
- }, [Gr(a)]);
8741
+ }, [Kr(a)]);
8730
8742
  let p = (e, t) => t in d ? d[t] : e, m = (e, t) => {
8731
8743
  f((n) => {
8732
8744
  let r = t in n ? n[t] : e;
@@ -8736,8 +8748,8 @@ var or = {
8736
8748
  };
8737
8749
  });
8738
8750
  }, g = /* @__PURE__ */ e.createElement(e.Fragment, null, a.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${c}__menu ${c}__menu--top-level` }, a.map((t, n) => {
8739
- let a = Wr(t);
8740
- return /* @__PURE__ */ e.createElement(ei, {
8751
+ let a = Gr(t);
8752
+ return /* @__PURE__ */ e.createElement(ti, {
8741
8753
  key: n,
8742
8754
  icon: t.icon,
8743
8755
  isActive: a,
@@ -8759,7 +8771,7 @@ var or = {
8759
8771
  ]),
8760
8772
  ...s
8761
8773
  }, g);
8762
- }, ni = ({ items: t, label: n }) => {
8774
+ }, ri = ({ items: t, label: n }) => {
8763
8775
  let r = m(null), i = "pds-nav-menu", a = t && t.length > 0, [o, s] = h(() => typeof document < "u" && document.documentElement.hasAttribute("data-pds-mobile"));
8764
8776
  l(() => {
8765
8777
  let e = new MutationObserver(() => {
@@ -8770,7 +8782,7 @@ var or = {
8770
8782
  attributeFilter: ["data-pds-mobile"]
8771
8783
  }), () => e.disconnect();
8772
8784
  }, []);
8773
- let { floatingStyles: c, getFloatingProps: u, getReferenceProps: d, isOpen: f, refs: p } = Zt({
8785
+ let { floatingStyles: c, getFloatingProps: u, getReferenceProps: d, isOpen: f, refs: p } = Qt({
8774
8786
  offsetValue: 8,
8775
8787
  openOnHover: !o
8776
8788
  }), g = (e) => {
@@ -8783,7 +8795,7 @@ var or = {
8783
8795
  key: n,
8784
8796
  className: `${i}__item ${t.isSeparator ? "pds-dropdown__separator" : `pds-dropdown__item${_(t) ? " pds-dropdown__item--active" : ""}`}`
8785
8797
  }, !t.isSeparator && t.linkContent)));
8786
- return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(un, { label: n }, v), /* @__PURE__ */ e.createElement("button", {
8798
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(dn, { label: n }, v), /* @__PURE__ */ e.createElement("button", {
8787
8799
  ref: p.setReference,
8788
8800
  className: `${i}__trigger`,
8789
8801
  type: "button",
@@ -8806,84 +8818,80 @@ var or = {
8806
8818
  key: n,
8807
8819
  className: `${i}__item ${t.isSeparator ? "pds-dropdown__separator" : `pds-dropdown__item${_(t) ? " pds-dropdown__item--active" : ""}`}`
8808
8820
  }, !t.isSeparator && t.linkContent))));
8809
- }, ri = ({ ariaLabel: t = "Main Navigation", className: n, colorType: r = "default", menuItems: i, ...a }) => {
8810
- let [o, s] = h(null), [c, d] = h(-1), [f, p] = h(null), [g, _] = h({
8821
+ }, ii = ({ ariaLabel: t = "Main Navigation", className: n, menuItems: r, ...i }) => {
8822
+ let [a, o] = h(null), [s, c] = h(-1), [d, f] = h(null), [p, g] = h({
8811
8823
  container: null,
8812
8824
  containerChildren: []
8813
8825
  });
8814
8826
  l(() => {
8815
- g.containerChildren[o] && (g.containerChildren[o].classList.contains("pds-dropdown__separator") && f == "down" ? s(o + 1) : g.containerChildren[o].classList.contains("pds-dropdown__separator") && f == "up" ? s(o - 1) : g.containerChildren[o].children[0].focus());
8816
- }, [o]), l(() => {
8817
- c != -1 && (x.current[c].children[0].blur(), x.current[c].children[0].focus({ focusVisible: !0 }));
8818
- }, [c]);
8819
- let v = u(), y = "pds-nav-menu", b = r === "default" ? "" : `${y}--${r}`, x = m([]), S = (e) => {
8820
- let t = x.current.length - 1, n = {
8827
+ p.containerChildren[a] && (p.containerChildren[a].classList.contains("pds-dropdown__separator") && d == "down" ? o(a + 1) : p.containerChildren[a].classList.contains("pds-dropdown__separator") && d == "up" ? o(a - 1) : p.containerChildren[a].children[0].focus());
8828
+ }, [a]), l(() => {
8829
+ s != -1 && (y.current[s].children[0].blur(), y.current[s].children[0].focus({ focusVisible: !0 }));
8830
+ }, [s]);
8831
+ let _ = u(), v = "pds-nav-menu", y = m([]), b = (e) => {
8832
+ let t = y.current.length - 1, n = {
8821
8833
  ArrowRight: () => {
8822
- s(-1), d(c === -1 ? 1 : c === t ? 0 : c + 1);
8834
+ o(-1), c(s === -1 ? 1 : s === t ? 0 : s + 1);
8823
8835
  },
8824
8836
  ArrowLeft: () => {
8825
- s(-1), d(c === 0 ? t : c - 1);
8837
+ o(-1), c(s === 0 ? t : s - 1);
8826
8838
  },
8827
8839
  ArrowDown: () => {
8828
- p("down");
8840
+ f("down");
8829
8841
  let t = e.target.parentNode.children[1], n = e.target?.parentNode.children[1]?.children || e.target?.parentNode.parentNode.children[1]?.children;
8830
- g.container != t && t != null && _({
8842
+ p.container != t && t != null && g({
8831
8843
  container: t,
8832
8844
  containerChildren: [...n]
8833
- }), o === null || o == g.containerChildren.length - 1 ? s(0) : s(parseInt(o) + 1);
8845
+ }), a === null || a == p.containerChildren.length - 1 ? o(0) : o(parseInt(a) + 1);
8834
8846
  },
8835
8847
  ArrowUp: () => {
8836
- p("up"), s(o === 0 ? g.containerChildren.length - 1 : parseInt(o) - 1);
8848
+ f("up"), o(a === 0 ? p.containerChildren.length - 1 : parseInt(a) - 1);
8837
8849
  }
8838
8850
  }[e.code];
8839
8851
  n && n();
8840
- }, C = (e) => {
8852
+ }, x = (e) => {
8841
8853
  if (e.isActive || e.linkContent && e.linkContent.props.className && e.linkContent.props.className.includes("pds-isActive")) return !0;
8842
8854
  if (e.links) {
8843
- for (let t = 0; t < e.links.length; t++) if (C(e.links[t])) return !0;
8855
+ for (let t = 0; t < e.links.length; t++) if (x(e.links[t])) return !0;
8844
8856
  }
8845
8857
  return !1;
8846
- }, w = [];
8847
- return i.map((t, n) => {
8848
- let r = `${v}-item-${n}`, i = t.id ? t.id : r;
8849
- t.links ? w.push(/* @__PURE__ */ e.createElement("li", {
8858
+ }, S = [];
8859
+ return r.map((t, n) => {
8860
+ let r = `${_}-item-${n}`, i = t.id ? t.id : r;
8861
+ t.links ? S.push(/* @__PURE__ */ e.createElement("li", {
8850
8862
  key: `${n}-dropdown`,
8851
8863
  ref: (e) => {
8852
- x.current[n] = e;
8864
+ y.current[n] = e;
8853
8865
  },
8854
- className: `${y}__item ${y}__item--top-level ${y}__item--has-children ${C(t) === !0 ? `${y}__item--active` : ""}`,
8866
+ className: `${v}__item ${v}__item--top-level ${v}__item--has-children ${x(t) === !0 ? `${v}__item--active` : ""}`,
8855
8867
  id: i
8856
- }, /* @__PURE__ */ e.createElement(ni, {
8868
+ }, /* @__PURE__ */ e.createElement(ri, {
8857
8869
  items: t.links,
8858
8870
  label: t.label
8859
- }))) : w.push(/* @__PURE__ */ e.createElement("li", {
8871
+ }))) : S.push(/* @__PURE__ */ e.createElement("li", {
8860
8872
  key: n,
8861
8873
  ref: (e) => {
8862
- x.current[n] = e;
8874
+ y.current[n] = e;
8863
8875
  },
8864
- className: `${y}__item ${y}__item--top-level ${y}__item--has-link ${C(t) === !0 ? `${y}__item--active` : ""}`,
8876
+ className: `${v}__item ${v}__item--top-level ${v}__item--has-link ${x(t) === !0 ? `${v}__item--active` : ""}`,
8865
8877
  id: i
8866
8878
  }, t.linkContent));
8867
8879
  }), /* @__PURE__ */ e.createElement("nav", {
8868
8880
  "aria-label": t,
8869
- className: Z([
8870
- y,
8871
- b,
8872
- n
8873
- ]),
8881
+ className: Z([v, n]),
8874
8882
  onKeyDown: (e) => {
8875
- S(e);
8883
+ b(e);
8876
8884
  },
8877
- ...a
8878
- }, /* @__PURE__ */ e.createElement("ul", { className: `${y}__menu` }, w));
8879
- }, ii = ({ buttonLabel: t = "Toggle dropdown", filterLabel: n = "Filter items", filterPlaceholder: r = "Filter items...", links: i, minFilterItems: a = 5, noResultsText: o = "No results found" }) => {
8880
- let [s, c] = h(i), [u, d] = h(""), f = i.length >= a, p = "pds-tab-menu", m = `${p}__dropdown-menu`, g = f ? `${m}--scroll` : null, _ = `${p}__dropdown-item`, { activeIndex: v, floatingStyles: y, getFloatingProps: b, getItemProps: x, getReferenceProps: S, isMounted: C, isOpen: w, listRef: T, refs: E, setActiveIndex: D, transitionStyles: O } = Zt({
8885
+ ...i
8886
+ }, /* @__PURE__ */ e.createElement("ul", { className: `${v}__menu` }, S));
8887
+ }, ai = ({ buttonLabel: t = "Toggle dropdown", filterLabel: n = "Filter items", filterPlaceholder: r = "Filter items...", links: i, minFilterItems: a = 5, noResultsText: o = "No results found" }) => {
8888
+ let [s, c] = h(i), [u, d] = h(""), f = i.length >= a, p = "pds-tab-menu", m = `${p}__dropdown-menu`, g = f ? `${m}--scroll` : null, _ = `${p}__dropdown-item`, { activeIndex: v, floatingStyles: y, getFloatingProps: b, getItemProps: x, getReferenceProps: S, isMounted: C, isOpen: w, listRef: T, refs: E, setActiveIndex: D, transitionStyles: O } = Qt({
8881
8889
  offsetValue: 8,
8882
8890
  placement: "bottom-start",
8883
8891
  role: "listbox"
8884
8892
  }), k = (e) => {
8885
8893
  e.preventDefault(), e.key === "Enter" && T.current[v].querySelector("a")?.click(), e.key === "Tab" && e.shiftKey && f && document.getElementById("links-filter").focus();
8886
- }, A = (e, t) => Hr(e.linkContent).toLowerCase().includes(t.toLowerCase()), j = (e) => {
8894
+ }, A = (e, t) => Ur(e.linkContent).toLowerCase().includes(t.toLowerCase()), j = (e) => {
8887
8895
  let t = e.target.value;
8888
8896
  d(t), c(i.filter((e) => A(e, t)));
8889
8897
  };
@@ -8894,11 +8902,11 @@ var or = {
8894
8902
  d(""), c(i);
8895
8903
  }, N = {
8896
8904
  minWidth: "13rem",
8897
- width: `${Hr(i.reduce((e, t) => Hr(e.linkContent).length > Hr(t.linkContent).length ? e : t).linkContent).length + 2}ch`
8905
+ width: `${Ur(i.reduce((e, t) => Ur(e.linkContent).length > Ur(t.linkContent).length ? e : t).linkContent).length + 2}ch`
8898
8906
  }, P = /* @__PURE__ */ e.createElement(Q, {
8899
8907
  className: `${p}__active-icon`,
8900
8908
  iconName: "check"
8901
- }), F = f && /* @__PURE__ */ e.createElement("div", { className: `${p}__filter` }, /* @__PURE__ */ e.createElement(Fr, {
8909
+ }), F = f && /* @__PURE__ */ e.createElement("div", { className: `${p}__filter` }, /* @__PURE__ */ e.createElement(Ir, {
8902
8910
  hasClearButton: !0,
8903
8911
  autoComplete: "off",
8904
8912
  id: "links-filter",
@@ -8941,9 +8949,9 @@ var or = {
8941
8949
  zIndex: "var(--pds-z-index-dropdown)"
8942
8950
  } })
8943
8951
  }, /* @__PURE__ */ e.createElement("div", { style: { ...O } }, F, /* @__PURE__ */ e.createElement("ul", { className: Z([m, g]) }, I.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${p}__no-results` }, o) : I))));
8944
- }, ai = ({ ariaLabel: t, className: r, menuItems: i, ...a }) => {
8952
+ }, oi = ({ ariaLabel: t, className: r, menuItems: i, ...a }) => {
8945
8953
  let s = "pds-tab-menu", c = ({ dropdownSettings: t, icon: r, isActive: i, linkContent: a, links: c, promoteActiveChildLink: l = !1 }) => {
8946
- let u = `${s}__item`, d = Vr(c);
8954
+ let u = `${s}__item`, d = Hr(c);
8947
8955
  return /* @__PURE__ */ e.createElement("li", { className: Z([u, i ? `${u}--active` : null]) }, ((t, r) => {
8948
8956
  let i = null;
8949
8957
  return o(t) && (i = r ? n(t, Object.assign({}, t.props, { children: [/* @__PURE__ */ e.createElement("span", {
@@ -8954,7 +8962,7 @@ var or = {
8954
8962
  iconName: r,
8955
8963
  size: "m"
8956
8964
  }), t.props.children)] })) : t), i;
8957
- })(l ? d : a, r), c && /* @__PURE__ */ e.createElement(ii, {
8965
+ })(l ? d : a, r), c && /* @__PURE__ */ e.createElement(ai, {
8958
8966
  buttonLabel: t?.buttonLabel,
8959
8967
  filterLabel: t?.filterLabel,
8960
8968
  filterPlaceholder: t?.filterPlaceholder,
@@ -8966,7 +8974,7 @@ var or = {
8966
8974
  key: n,
8967
8975
  dropdownSettings: t.dropdownSettings,
8968
8976
  icon: t.icon,
8969
- isActive: Wr(t),
8977
+ isActive: Gr(t),
8970
8978
  linkContent: t.linkContent,
8971
8979
  links: t.links,
8972
8980
  promoteActiveChildLink: t.promoteActiveChildLink
@@ -8976,11 +8984,11 @@ var or = {
8976
8984
  className: Z([s, r ?? ""]),
8977
8985
  ...a
8978
8986
  }, /* @__PURE__ */ e.createElement("div", { className: `${s}__mobile-menu-wrapper` }, l));
8979
- }, oi = {
8987
+ }, si = {
8980
8988
  2: "second",
8981
8989
  3: "third",
8982
8990
  4: "fourth"
8983
- }, si = ({ ariaLabel: t, className: n, headingText: r, labels: i = {
8991
+ }, ci = ({ ariaLabel: t, className: n, headingText: r, labels: i = {
8984
8992
  submenu: "submenu",
8985
8993
  toggle: "Toggle"
8986
8994
  }, menuItems: a, ...o }) => {
@@ -9100,7 +9108,7 @@ var or = {
9100
9108
  display: "none"
9101
9109
  }), b();
9102
9110
  }, j = (t, n, r) => {
9103
- let a = oi[t], o = `${u}--${a}-level`, l = `${c}--${a}-level`, d = t + 1, f = Wr(n);
9111
+ let a = si[t], o = `${u}--${a}-level`, l = `${c}--${a}-level`, d = t + 1, f = Gr(n);
9104
9112
  if (_.current && n.path) {
9105
9113
  let e = _.current.querySelector(`.${c}[data-item-path="${n.path}"]`);
9106
9114
  if (e) {
@@ -9117,7 +9125,7 @@ var or = {
9117
9125
  iconName: "angleDown",
9118
9126
  size: "s",
9119
9127
  verticalAlign: "-0.0625rem"
9120
- }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${i.toggle} ${Hr(n.linkContent)} ${i.submenu}`)), qr(n.linkContent, n.links)), /* @__PURE__ */ e.createElement("ul", {
9128
+ }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${i.toggle} ${Ur(n.linkContent)} ${i.submenu}`)), Jr(n.linkContent, n.links)), /* @__PURE__ */ e.createElement("ul", {
9121
9129
  className: Z([
9122
9130
  u,
9123
9131
  o,
@@ -9125,7 +9133,7 @@ var or = {
9125
9133
  ]),
9126
9134
  role: "group"
9127
9135
  }, n.links.map((t, n) => {
9128
- let r = Wr(t);
9136
+ let r = Gr(t);
9129
9137
  return /* @__PURE__ */ e.createElement("li", {
9130
9138
  key: `${n}-${a}`,
9131
9139
  "aria-expanded": t.links ? r : void 0,
@@ -9137,10 +9145,10 @@ var or = {
9137
9145
  ]),
9138
9146
  "data-item-path": t.path || "",
9139
9147
  role: "treeitem"
9140
- }, t.links && d in oi ? j(d, t, t.links) : t.linkContent);
9148
+ }, t.links && d in si ? j(d, t, t.links) : t.linkContent);
9141
9149
  })));
9142
9150
  }, M = (t, n) => {
9143
- let { linkContent: r, links: i } = t, a = Wr(t);
9151
+ let { linkContent: r, links: i } = t, a = Gr(t);
9144
9152
  return /* @__PURE__ */ e.createElement("li", {
9145
9153
  key: n,
9146
9154
  "aria-expanded": i ? a : void 0,
@@ -9169,31 +9177,87 @@ var or = {
9169
9177
  className: `${s}__menu ${s}__menu--top-level`,
9170
9178
  role: "tree"
9171
9179
  }, a.map((e, t) => M(e, t))));
9172
- }, ci = ({ ariaLabel: t = "User menu", className: n, menuItems: r = [], userEmail: i, userImageSrc: a, userName: o, ...s }) => {
9173
- let [c, l] = h(null), [d, f] = h(!1), p = m([]), g = m([]), _ = u(), v = "pds-user-menu", y = `${v}__menu`, { context: b, floatingStyles: x, refs: T } = A({
9180
+ }, li = {
9181
+ light: "sunBright",
9182
+ dark: "moon",
9183
+ system: "circleHalfStroke"
9184
+ }, ui = ({ className: t, id: n = "theme-switcher-menu", labelStrings: r = {
9185
+ light: "Light",
9186
+ dark: "Dark",
9187
+ system: "System"
9188
+ }, onChange: i, size: a = "m", theme: o = "light", variant: s = "toggle", ...c }) => {
9189
+ let l = "pds-theme-switcher", u = r.tooltip ?? "Change theme", d = [
9190
+ "light",
9191
+ "dark",
9192
+ "system"
9193
+ ];
9194
+ if (s === "toggle") {
9195
+ let s = d.map((e) => ({
9196
+ iconName: li[e],
9197
+ label: r[e],
9198
+ value: e
9199
+ }));
9200
+ return /* @__PURE__ */ e.createElement("div", {
9201
+ className: Z([l, t]),
9202
+ ...c
9203
+ }, /* @__PURE__ */ e.createElement(bn, {
9204
+ iconOnly: !0,
9205
+ id: n,
9206
+ label: u,
9207
+ onChange: (e) => i?.(e),
9208
+ options: s,
9209
+ size: a,
9210
+ value: o
9211
+ }));
9212
+ }
9213
+ let f = d.map((e) => ({
9214
+ callback: () => i?.(e),
9215
+ iconName: li[e],
9216
+ iconSize: "m",
9217
+ label: r[e]
9218
+ }));
9219
+ return /* @__PURE__ */ e.createElement("div", {
9220
+ className: Z([l, t]),
9221
+ ...c
9222
+ }, /* @__PURE__ */ e.createElement(xt, {
9223
+ content: u,
9224
+ customTrigger: /* @__PURE__ */ e.createElement(yn, {
9225
+ iconOnly: !0,
9226
+ "aria-label": u,
9227
+ iconName: li[o],
9228
+ id: n,
9229
+ label: "",
9230
+ menuItems: f,
9231
+ size: "m"
9232
+ }),
9233
+ offsetValue: 0,
9234
+ preferredPlacement: "top"
9235
+ }));
9236
+ }, di = ({ ariaLabel: t = "User menu", className: n, menuItems: r = [], onThemeChange: i, theme: a, themeLabel: o = "Theme", themeLabelStrings: s, userEmail: c, userImageSrc: l, userName: d, ...f }) => {
9237
+ let [p, g] = h(null), [_, v] = h(!1), y = m([]), b = m([]), x = u(), T = "pds-user-menu", D = `${T}__menu`, { context: j, floatingStyles: M, refs: N } = A({
9174
9238
  placement: "bottom-end",
9175
- open: d,
9176
- onOpenChange: f,
9239
+ open: _,
9240
+ onOpenChange: v,
9177
9241
  middleware: [
9178
9242
  w(12),
9179
9243
  C(),
9180
9244
  E()
9181
9245
  ],
9182
9246
  whileElementsMounted: S
9183
- }), D = O(b, { event: "mousedown" }), j = k(b), M = I(b, { role: "menu" }), N = m([]), { getFloatingProps: R, getItemProps: z, getReferenceProps: B } = P([
9184
- j,
9185
- M,
9186
- D,
9187
- F(b, {
9188
- listRef: N,
9189
- activeIndex: c,
9190
- onNavigate: l,
9247
+ }), R = O(j, { event: "mousedown" }), z = k(j), B = I(j, { role: "menu" }), V = m([]), { getFloatingProps: H, getItemProps: U, getReferenceProps: W } = P([
9248
+ z,
9249
+ B,
9250
+ R,
9251
+ F(j, {
9252
+ listRef: V,
9253
+ activeIndex: p,
9254
+ onNavigate: g,
9191
9255
  loop: !0,
9192
9256
  openOnArrowKeyDown: !0,
9193
9257
  focusItemOnOpen: !1,
9194
9258
  focusItemOnHover: !0
9195
9259
  })
9196
- ]), { isMounted: V, styles: H } = L(b, {
9260
+ ]), { isMounted: G, styles: K } = L(j, {
9197
9261
  duration: {
9198
9262
  open: 300,
9199
9263
  close: 150
@@ -9201,47 +9265,57 @@ var or = {
9201
9265
  initial: { opacity: 0 },
9202
9266
  open: { opacity: 1 },
9203
9267
  close: { opacity: 0 }
9204
- }), U = /* @__PURE__ */ e.createElement(Ue, {
9268
+ }), q = /* @__PURE__ */ e.createElement(Ue, {
9205
9269
  hasUserFallback: !0,
9206
- className: `${v}__avatar`,
9207
- imageSrc: a,
9270
+ className: `${T}__avatar`,
9271
+ imageSrc: l,
9208
9272
  size: "s",
9209
- uniqueId: i
9210
- }), W = /* @__PURE__ */ e.createElement("li", {
9211
- className: `${v}__user-details`,
9273
+ uniqueId: c
9274
+ }), J = /* @__PURE__ */ e.createElement("li", {
9275
+ className: `${T}__user-details`,
9276
+ role: "presentation"
9277
+ }, /* @__PURE__ */ e.createElement("div", { className: `${T}__user-name` }, d), /* @__PURE__ */ e.createElement("div", { className: `${T}__user-email` }, c)), ee = a !== void 0 && typeof i == "function" ? /* @__PURE__ */ e.createElement("li", {
9278
+ className: `${T}__theme-row`,
9212
9279
  role: "presentation"
9213
- }, /* @__PURE__ */ e.createElement("div", { className: `${v}__user-name` }, o), /* @__PURE__ */ e.createElement("div", { className: `${v}__user-email` }, i));
9280
+ }, /* @__PURE__ */ e.createElement("span", { className: `${T}__theme-label` }, o), /* @__PURE__ */ e.createElement(ui, {
9281
+ id: `${x}-theme`,
9282
+ labelStrings: s,
9283
+ onChange: i,
9284
+ size: "s",
9285
+ theme: a,
9286
+ variant: "toggle"
9287
+ })) : null;
9214
9288
  r.forEach((e, t) => {
9215
- let n = e.id ? e.id : `${_}-item-${t}`;
9216
- p.current.push(n), g.current.push(e);
9289
+ let n = e.id ? e.id : `${x}-item-${t}`;
9290
+ y.current.push(n), b.current.push(e);
9217
9291
  });
9218
- let G = (e) => {
9219
- let t = p.current.indexOf(e), n = g.current[t];
9220
- n.linkContent && !n.disabled && (N.current[t].querySelector("a").click(), f(!1)), n.callback && !n.disabled && (n.callback(), f(!1));
9221
- }, K = (e) => {
9222
- e.preventDefault(), e.key === "Enter" && G(e.currentTarget.id);
9223
- }, q = (e) => {
9224
- G(e.currentTarget.id);
9225
- }, J = r.map((t, n) => {
9226
- let r = p.current[n], i = `${v}__item`, a = t.disabled ? `${i}--disabled` : null;
9292
+ let te = (e) => {
9293
+ let t = y.current.indexOf(e), n = b.current[t];
9294
+ n.linkContent && !n.disabled && (V.current[t].querySelector("a").click(), v(!1)), n.callback && !n.disabled && (n.callback(), v(!1));
9295
+ }, ne = (e) => {
9296
+ e.preventDefault(), e.key === "Enter" && te(e.currentTarget.id);
9297
+ }, re = (e) => {
9298
+ te(e.currentTarget.id);
9299
+ }, ie = r.map((t, n) => {
9300
+ let r = y.current[n], i = `${T}__item`, a = t.disabled ? `${i}--disabled` : null;
9227
9301
  return /* @__PURE__ */ e.createElement("li", {
9228
9302
  key: r,
9229
9303
  ref: (e) => {
9230
- N.current[n] = e;
9304
+ V.current[n] = e;
9231
9305
  },
9232
9306
  className: Z([i, a]),
9233
9307
  id: r,
9234
- onKeyDown: K,
9308
+ onKeyDown: ne,
9235
9309
  role: "menuitem",
9236
- tabIndex: c === n ? 0 : -1,
9237
- ...z({ onClick: (e) => q(e) })
9238
- }, t.iconName && /* @__PURE__ */ e.createElement(Q, {
9239
- className: `${v}__icon`,
9310
+ tabIndex: p === n ? 0 : -1,
9311
+ ...U({ onClick: (e) => re(e) })
9312
+ }, t.linkContent ? t.linkContent : t.label, t.iconName && /* @__PURE__ */ e.createElement(Q, {
9313
+ className: `${T}__icon`,
9240
9314
  iconName: t.iconName,
9241
- size: "s"
9242
- }), t.linkContent ? t.linkContent : t.label);
9243
- }), ee = r.map((t, n) => {
9244
- let r = p.current[n], i = `${v}__item`, a = t.disabled ? `${i}--disabled` : null;
9315
+ size: "m"
9316
+ }));
9317
+ }), ae = r.map((t, n) => {
9318
+ let r = y.current[n], i = `${T}__item`, a = t.disabled ? `${i}--disabled` : null;
9245
9319
  return /* @__PURE__ */ e.createElement("li", {
9246
9320
  key: r,
9247
9321
  className: Z([i, a]),
@@ -9250,38 +9324,38 @@ var or = {
9250
9324
  t.linkContent && !t.disabled ? document.getElementById(`${r}-accordion`)?.querySelector("a")?.click() : t.callback && !t.disabled && t.callback();
9251
9325
  },
9252
9326
  role: "menuitem"
9253
- }, t.iconName && /* @__PURE__ */ e.createElement(Q, {
9254
- className: `${v}__icon`,
9327
+ }, t.linkContent ? t.linkContent : t.label, t.iconName && /* @__PURE__ */ e.createElement(Q, {
9328
+ className: `${T}__icon`,
9255
9329
  iconName: t.iconName,
9256
- size: "s"
9257
- }), t.linkContent ? t.linkContent : t.label);
9258
- }), te = /* @__PURE__ */ e.createElement("span", { className: `${v}__toggle-left` }, U, o ?? i);
9330
+ size: "m"
9331
+ }));
9332
+ }), Y = /* @__PURE__ */ e.createElement("span", { className: `${T}__toggle-left` }, q, d ?? c);
9259
9333
  return /* @__PURE__ */ e.createElement("span", {
9260
- className: Z([v, n ?? ""]),
9261
- ...s
9262
- }, /* @__PURE__ */ e.createElement(un, { label: te }, /* @__PURE__ */ e.createElement("ul", {
9263
- className: Z([y, `${y}--mobile`]),
9334
+ className: Z([T, n ?? ""]),
9335
+ ...f
9336
+ }, /* @__PURE__ */ e.createElement(dn, { label: Y }, /* @__PURE__ */ e.createElement("ul", {
9337
+ className: Z([D, `${D}--mobile`]),
9264
9338
  role: "menu"
9265
- }, W, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ee)), /* @__PURE__ */ e.createElement("button", {
9266
- ref: T.setReference,
9339
+ }, J, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ee, ae)), /* @__PURE__ */ e.createElement("button", {
9340
+ ref: N.setReference,
9267
9341
  "aria-label": t,
9268
- className: `${v}__trigger`,
9342
+ className: `${T}__trigger`,
9269
9343
  type: "button",
9270
- ...B()
9271
- }, U), V && /* @__PURE__ */ e.createElement("div", {
9272
- ref: T.setFloating,
9273
- className: `${v}__dropdown`,
9344
+ ...W()
9345
+ }, q), G && /* @__PURE__ */ e.createElement("div", {
9346
+ ref: N.setFloating,
9347
+ className: `${T}__dropdown`,
9274
9348
  style: {
9275
- ...x,
9349
+ ...M,
9276
9350
  zIndex: "var(--pds-z-index-dropdown)"
9277
9351
  },
9278
- ...R()
9279
- }, /* @__PURE__ */ e.createElement("div", { style: { ...H } }, /* @__PURE__ */ e.createElement("ul", {
9280
- className: y,
9352
+ ...H()
9353
+ }, /* @__PURE__ */ e.createElement("div", { style: { ...K } }, /* @__PURE__ */ e.createElement("ul", {
9354
+ className: D,
9281
9355
  role: "menu"
9282
- }, W, /* @__PURE__ */ e.createElement("li", { role: "separator" }), J))));
9283
- }, li = ({ ariaLabel: t = "Workspace selector menu", className: n, createWorkspaceLink: r, filterLabel: i = "Filter workspaces", filterPlaceholder: a = "Find workspace...", menuHeading: o = "Workspaces", minFilterItems: s = 8, noResultsText: c = "No results found", workspaceList: l = [], ...u }) => {
9284
- let [d, f] = h(""), [g, _] = h(""), v = m(null), y = l.length >= s, b = "pds-workspace-selector", x = `${b}__menu`, S = y ? `${x}--scroll` : null, { activeIndex: C, floatingStyles: w, getFloatingProps: T, getItemProps: E, getReferenceProps: D, isMounted: O, listRef: k, refs: A, setIsOpen: j, transitionStyles: M } = Zt({
9356
+ }, J, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ee, ie))));
9357
+ }, fi = ({ ariaLabel: t = "Workspace selector menu", className: n, createWorkspaceLink: r, filterLabel: i = "Filter workspaces", filterPlaceholder: a = "Find workspace...", menuHeading: o = "Workspaces", minFilterItems: s = 8, noResultsText: c = "No results found", workspaceList: l = [], ...u }) => {
9358
+ let [d, f] = h(""), [g, _] = h(""), v = m(null), y = l.length >= s, b = "pds-workspace-selector", x = `${b}__menu`, S = y ? `${x}--scroll` : null, { activeIndex: C, floatingStyles: w, getFloatingProps: T, getItemProps: E, getReferenceProps: D, isMounted: O, listRef: k, refs: A, setIsOpen: j, transitionStyles: M } = Qt({
9285
9359
  enableTypeahead: !y,
9286
9360
  role: "menu"
9287
9361
  }), N = l.find((e) => e.isActive);
@@ -9304,7 +9378,7 @@ var or = {
9304
9378
  }), t.displayName, t.isRestricted && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, t.restrictedLabel ?? "Restricted")), (t.isRestricted || t.isActive) && /* @__PURE__ */ e.createElement("div", { className: `${b}__icons` }, t.isRestricted && /* @__PURE__ */ e.createElement(Q, {
9305
9379
  className: `${b}__lock-icon`,
9306
9380
  iconName: "lock"
9307
- }), t.isActive && /* @__PURE__ */ e.createElement(Mn, null))), R = P.map((t, n) => {
9381
+ }), t.isActive && /* @__PURE__ */ e.createElement(Nn, null))), R = P.map((t, n) => {
9308
9382
  let r = `${b}__item`, i = t.workspaceId, a = t.isRestricted && t.onRestrictedSelection, o = t.workspaceLink?.type, s = t.isUnprivileged ? null : (e) => {
9309
9383
  k.current[n] = e;
9310
9384
  };
@@ -9367,7 +9441,7 @@ var or = {
9367
9441
  return /* @__PURE__ */ e.createElement("span", {
9368
9442
  className: Z([b, n]),
9369
9443
  ...u
9370
- }, /* @__PURE__ */ e.createElement(un, { label: V }, y && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(Fr, {
9444
+ }, /* @__PURE__ */ e.createElement(dn, { label: V }, y && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(Ir, {
9371
9445
  hasClearButton: !0,
9372
9446
  id: "workspace-filter-mobile",
9373
9447
  label: i,
@@ -9404,7 +9478,7 @@ var or = {
9404
9478
  zIndex: "var(--pds-z-index-dropdown)"
9405
9479
  },
9406
9480
  ...T()
9407
- }, y && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(Fr, {
9481
+ }, y && /* @__PURE__ */ e.createElement("div", { className: `${b}__filter` }, /* @__PURE__ */ e.createElement(Ir, {
9408
9482
  hasClearButton: !0,
9409
9483
  id: "workspace-filter",
9410
9484
  label: i,
@@ -9420,13 +9494,13 @@ var or = {
9420
9494
  className: `pds-dropdown__heading ${b}__item-heading`,
9421
9495
  role: "presentation"
9422
9496
  }, o), R.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, c) : R), B));
9423
- }, ui = {
9497
+ }, pi = {
9424
9498
  info: "circleInfo",
9425
9499
  warning: "triangleExclamation",
9426
9500
  critical: "diamondExclamation",
9427
9501
  discovery: "bullhorn"
9428
- }, di = 200, fi = 50, pi = ({ banners: t, className: n, dataContext: r = "product", dismissLabel: i = "Dismiss", labelNext: a = "Go to next message", labelPrevious: o = "Go to previous message", typeLabels: s = {
9429
- ...dn,
9502
+ }, mi = 200, hi = 50, gi = ({ banners: t, className: n, dataContext: r = "product", dismissLabel: i = "Dismiss", labelNext: a = "Go to next message", labelPrevious: o = "Go to previous message", typeLabels: s = {
9503
+ ...fn,
9430
9504
  neutral: "Notice"
9431
9505
  }, ...c }) => {
9432
9506
  let u = r === "marketing", [d, f] = h(t), [p, m] = h(null), [g, _] = h(null), [v, y] = h({});
@@ -9444,21 +9518,21 @@ var or = {
9444
9518
  }, w = d[0].type, T = w ? `${x}-group--${w}` : null, E = (e) => 500 - e, D = (e) => e === 0 ? 0 : -1, O = () => {
9445
9519
  m(d[0].id), setTimeout(() => {
9446
9520
  f((e) => [...e.slice(1), e[0]]), m(null);
9447
- }, di);
9521
+ }, mi);
9448
9522
  }, k = () => {
9449
9523
  y({
9450
9524
  [d[0].id]: 502,
9451
9525
  [d[b - 1].id]: 501
9452
9526
  }), setTimeout(() => {
9453
9527
  m(d[0].id);
9454
- }, fi), setTimeout(() => {
9528
+ }, hi), setTimeout(() => {
9455
9529
  f((e) => [e[e.length - 1], ...e.slice(0, e.length - 1)]), m(null), y({});
9456
- }, di);
9530
+ }, mi);
9457
9531
  }, A = (t, n) => {
9458
9532
  let { iconName: r, id: a, isDismissible: o, message: c, onDismiss: l, type: d } = t, m = d === "critical" ? "alert" : "status", h = `${s[d]}: `, y = (e) => {
9459
9533
  e.preventDefault(), _(a), setTimeout(() => {
9460
9534
  l?.(), _(null), f((e) => e.filter((e) => e.id !== a));
9461
- }, di);
9535
+ }, mi);
9462
9536
  }, b = v[a] ?? E(n);
9463
9537
  return /* @__PURE__ */ e.createElement("div", {
9464
9538
  key: a,
@@ -9473,7 +9547,7 @@ var or = {
9473
9547
  style: { zIndex: b }
9474
9548
  }, /* @__PURE__ */ e.createElement("div", { className: `${x}__content` }, /* @__PURE__ */ e.createElement(Q, {
9475
9549
  className: `${x}__icon ${x}__icon--${t.type}`,
9476
- iconName: d === "neutral" ? r : ui[d],
9550
+ iconName: d === "neutral" ? r : pi[d],
9477
9551
  size: u ? "l" : "m"
9478
9552
  }), /* @__PURE__ */ e.createElement("div", { className: `${x}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, h, " "), c)), o && /* @__PURE__ */ e.createElement("button", {
9479
9553
  className: `${x}__dismiss-button`,
@@ -9491,26 +9565,26 @@ var or = {
9491
9565
  ]),
9492
9566
  "data-context": r,
9493
9567
  ...c
9494
- }, b > 1 ? /* @__PURE__ */ e.createElement("div", { className: `${x}__navigation` }, /* @__PURE__ */ e.createElement(qt, {
9568
+ }, b > 1 ? /* @__PURE__ */ e.createElement("div", { className: `${x}__navigation` }, /* @__PURE__ */ e.createElement(Jt, {
9495
9569
  ariaLabel: o,
9496
9570
  className: `${x}__nav-button ${x}__nav-button--prev`,
9497
9571
  iconName: "angleLeft",
9498
9572
  onClick: k,
9499
9573
  size: "m"
9500
- }), /* @__PURE__ */ e.createElement(qt, {
9574
+ }), /* @__PURE__ */ e.createElement(Jt, {
9501
9575
  ariaLabel: a,
9502
9576
  className: `${x}__nav-button ${x}__nav-button--next`,
9503
9577
  iconName: "angleRight",
9504
9578
  onClick: O,
9505
9579
  size: "m"
9506
9580
  }), d.map((e, t) => A(e, t))) : A(d[0], 0));
9507
- }, mi = {
9581
+ }, _i = {
9508
9582
  info: "circleInfo",
9509
9583
  warning: "triangleExclamation",
9510
9584
  success: "circleCheck",
9511
9585
  critical: "diamondExclamation"
9512
- }, hi = ({ className: t, message: n, title: r, type: i, typeLabels: a = {
9513
- ...dn,
9586
+ }, vi = ({ className: t, message: n, title: r, type: i, typeLabels: a = {
9587
+ ...fn,
9514
9588
  working: "Working"
9515
9589
  }, ...o }) => {
9516
9590
  let s = "pds-inline-message", c = {
@@ -9529,17 +9603,17 @@ var or = {
9529
9603
  ]),
9530
9604
  role: l,
9531
9605
  ...o
9532
- }, /* @__PURE__ */ e.createElement("div", { className: `${s}__icon ${s}__icon-${i}` }, i === "working" ? /* @__PURE__ */ e.createElement(Lt, { size: "m" }) : /* @__PURE__ */ e.createElement(Q, {
9533
- iconName: `${i}` in mi ? mi[i] : mi.info,
9606
+ }, /* @__PURE__ */ e.createElement("div", { className: `${s}__icon ${s}__icon-${i}` }, i === "working" ? /* @__PURE__ */ e.createElement(Rt, { size: "m" }) : /* @__PURE__ */ e.createElement(Q, {
9607
+ iconName: `${i}` in _i ? _i[i] : _i.info,
9534
9608
  size: "m"
9535
9609
  })), /* @__PURE__ */ e.createElement("div", { className: `${s}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, u), /* @__PURE__ */ e.createElement("div", { className: `${s}__title` }, r), /* @__PURE__ */ e.createElement("div", { className: `${s}__message` }, d)));
9536
- }, gi = {
9610
+ }, yi = {
9537
9611
  info: "circleInfo",
9538
9612
  warning: "triangleExclamation",
9539
9613
  success: "circleCheck",
9540
9614
  critical: "diamondExclamation",
9541
9615
  discovery: "squareQuestion"
9542
- }, _i = ({ className: t, ctaButton: n, dataContext: r = "product", dismissLabel: i = "Dismiss", id: a, isDismissible: o, message: s, onDismiss: c, title: l, type: u = "info", typeLabels: d = dn, ...f }) => {
9616
+ }, bi = ({ className: t, ctaButton: n, dataContext: r = "product", dismissLabel: i = "Dismiss", id: a, isDismissible: o, message: s, onDismiss: c, title: l, type: u = "info", typeLabels: d = fn, ...f }) => {
9543
9617
  let p = r === "marketing", h = m(null), g = "pds-section-message", _ = {
9544
9618
  error: `${g}--error`,
9545
9619
  success: `${g}--success`,
@@ -9572,23 +9646,23 @@ var or = {
9572
9646
  role: b,
9573
9647
  ...f
9574
9648
  }, /* @__PURE__ */ e.createElement("div", { className: `${g}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${g}__icon ${g}__icon-${u}` }, /* @__PURE__ */ e.createElement(Q, {
9575
- iconName: `${u}` in gi ? gi[u] : gi.info,
9649
+ iconName: `${u}` in yi ? yi[u] : yi.info,
9576
9650
  size: p ? "xl" : "l"
9577
- })), /* @__PURE__ */ e.createElement("div", { className: `${g}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, x), l && /* @__PURE__ */ e.createElement("div", { className: `${g}__title` }, l), /* @__PURE__ */ e.createElement("div", { className: `${g}__message` }, S))), (n || o) && /* @__PURE__ */ e.createElement("div", { className: `${g}__actions` }, n && /* @__PURE__ */ e.createElement(Wt, {
9651
+ })), /* @__PURE__ */ e.createElement("div", { className: `${g}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, x), l && /* @__PURE__ */ e.createElement("div", { className: `${g}__title` }, l), /* @__PURE__ */ e.createElement("div", { className: `${g}__message` }, S))), (n || o) && /* @__PURE__ */ e.createElement("div", { className: `${g}__actions` }, n && /* @__PURE__ */ e.createElement(Gt, {
9578
9652
  ...n,
9579
9653
  className: `${g}__cta`,
9580
9654
  size: p ? "m" : "s",
9581
9655
  variant: "secondary"
9582
- }), o && /* @__PURE__ */ e.createElement(Yt, {
9656
+ }), o && /* @__PURE__ */ e.createElement(Xt, {
9583
9657
  ariaLabel: i,
9584
9658
  className: `${g}__dismiss`,
9585
9659
  onClick: T,
9586
9660
  size: p ? "l" : "m"
9587
9661
  })));
9588
- }, vi = 3e4, yi = {
9662
+ }, xi = 3e4, Si = {
9589
9663
  pause: "Pause notification",
9590
9664
  resume: "Resume notification"
9591
- }, bi = r({ labelStrings: yi }), xi = ({ ariaLabel: t, closeToast: n }) => /* @__PURE__ */ e.createElement(Yt, {
9665
+ }, Ci = r({ labelStrings: Si }), wi = ({ ariaLabel: t, closeToast: n }) => /* @__PURE__ */ e.createElement(Xt, {
9592
9666
  ariaLabel: t || "Close",
9593
9667
  className: "pds-toast__close-button",
9594
9668
  onClick: (e) => {
@@ -9596,13 +9670,13 @@ var or = {
9596
9670
  },
9597
9671
  size: "s",
9598
9672
  tabIndex: 0
9599
- }), Si = ({ className: t, labelStrings: n = yi, limit: r = 5, position: i = "bottom-right" }) => {
9673
+ }), Ti = ({ className: t, labelStrings: n = Si, limit: r = 5, position: i = "bottom-right" }) => {
9600
9674
  let a = Z(["pds-toaster", t]);
9601
- return /* @__PURE__ */ e.createElement(bi.Provider, { value: { labelStrings: n } }, /* @__PURE__ */ e.createElement(le, {
9675
+ return /* @__PURE__ */ e.createElement(Ci.Provider, { value: { labelStrings: n } }, /* @__PURE__ */ e.createElement(le, {
9602
9676
  newestOnTop: !0,
9603
9677
  autoClose: !1,
9604
9678
  className: a,
9605
- closeButton: xi,
9679
+ closeButton: wi,
9606
9680
  draggable: !1,
9607
9681
  icon: !1,
9608
9682
  limit: r,
@@ -9612,25 +9686,25 @@ var or = {
9612
9686
  role: "status",
9613
9687
  transition: ce
9614
9688
  }));
9615
- }, Ci = {
9689
+ }, Ei = {
9616
9690
  info: "circleInfo",
9617
9691
  success: "circleCheck",
9618
9692
  warning: "triangleExclamation",
9619
9693
  critical: "diamondExclamation"
9620
- }, wi = {
9694
+ }, Di = {
9621
9695
  info: "Information",
9622
9696
  success: "Success",
9623
9697
  warning: "Warning",
9624
9698
  critical: "Critical",
9625
9699
  working: "Working..."
9626
- }, Ti = ({ autoCloseDuration: t, children: n, className: r, id: i, toastId: a, type: o = "info", typeLabels: s = wi }) => {
9700
+ }, Oi = ({ autoCloseDuration: t, children: n, className: r, id: i, toastId: a, type: o = "info", typeLabels: s = Di }) => {
9627
9701
  let l = "pds-toast", u = {
9628
9702
  critical: `${l}--critical`,
9629
9703
  info: `${l}--info`,
9630
9704
  success: `${l}--success`,
9631
9705
  warning: `${l}--warning`,
9632
9706
  working: `${l}--working`
9633
- }, d = `${s[o]} `, { labelStrings: f } = c(bi), [p, m] = h(!1), g = a !== void 0 && o !== "critical" && o !== "working" && typeof t == "number";
9707
+ }, d = `${s[o]} `, { labelStrings: f } = c(Ci), [p, m] = h(!1), g = a !== void 0 && o !== "critical" && o !== "working" && typeof t == "number";
9634
9708
  return /* @__PURE__ */ e.createElement("div", {
9635
9709
  className: Z([
9636
9710
  l,
@@ -9638,9 +9712,9 @@ var or = {
9638
9712
  r
9639
9713
  ]),
9640
9714
  id: i
9641
- }, /* @__PURE__ */ e.createElement("div", { className: `${l}__icon-container` }, o === "working" ? /* @__PURE__ */ e.createElement(Lt, { size: "xl" }) : /* @__PURE__ */ e.createElement(Q, {
9715
+ }, /* @__PURE__ */ e.createElement("div", { className: `${l}__icon-container` }, o === "working" ? /* @__PURE__ */ e.createElement(Rt, { size: "xl" }) : /* @__PURE__ */ e.createElement(Q, {
9642
9716
  className: `${l}__icon ${l}__icon--${o}`,
9643
- iconName: Ci[o],
9717
+ iconName: Ei[o],
9644
9718
  size: "l"
9645
9719
  })), /* @__PURE__ */ e.createElement("div", { className: `${l}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, d), n), g && /* @__PURE__ */ e.createElement("button", {
9646
9720
  "aria-label": p ? f.resume : f.pause,
@@ -9655,11 +9729,11 @@ var or = {
9655
9729
  iconName: p ? "play" : "pause",
9656
9730
  size: "m"
9657
9731
  })));
9658
- }, Ei = /* @__PURE__ */ function(e) {
9732
+ }, ki = /* @__PURE__ */ function(e) {
9659
9733
  return e.Critical = "critical", e.Info = "info", e.Success = "success", e.Warning = "warning", e.Working = "working", e;
9660
- }({}), Di = () => [
9734
+ }({}), Ai = () => [
9661
9735
  (t, n, r = {}) => {
9662
- let i = r.toastId ?? crypto.randomUUID(), a = typeof r.autoClose == "number" ? Math.max(vi, r.autoClose) : !1, o = /* @__PURE__ */ e.createElement(Ti, {
9736
+ let i = r.toastId ?? crypto.randomUUID(), a = typeof r.autoClose == "number" ? Math.max(xi, r.autoClose) : !1, o = /* @__PURE__ */ e.createElement(Oi, {
9663
9737
  autoCloseDuration: a || void 0,
9664
9738
  toastId: i,
9665
9739
  type: t
@@ -9684,8 +9758,8 @@ var or = {
9684
9758
  enter: "pds-toast--bounceInPlace",
9685
9759
  exit: "pds-toast--slideOut"
9686
9760
  })
9687
- ], Oi = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close drawer", disableOutsideClick: a, hasCloseButton: o = !0, isOpen: c = !1, placement: u = "right", setIsOpen: d = () => {}, size: f = "m", title: p, width: g, ..._ }) => {
9688
- let v = Ie(n), y = v.__unslotted, b = v.footer, x = "pds-drawer", S = g ? null : `${x}--${f}`, C = `${x}--${u}`, w = g ? { width: g } : void 0, [T, E] = h(c), [D, O] = h(!1), k = m(null), { closeOverlay: A, openOverlay: j } = vt();
9761
+ ], ji = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close drawer", disableOutsideClick: a, hasCloseButton: o = !0, isOpen: c = !1, placement: u = "right", setIsOpen: d = () => {}, size: f = "m", title: p, width: g, ..._ }) => {
9762
+ let v = Ie(n), y = v.__unslotted, b = v.footer, x = "pds-drawer", S = g ? null : `${x}--${f}`, C = `${x}--${u}`, w = g ? { width: g } : void 0, [T, E] = h(c), [D, O] = h(!1), k = m(null), { closeOverlay: A, openOverlay: j } = yt();
9689
9763
  l(() => {
9690
9764
  c ? E(!0) : O(!1);
9691
9765
  }, [c]), l(() => {
@@ -9744,13 +9818,13 @@ var or = {
9744
9818
  role: "dialog",
9745
9819
  style: w,
9746
9820
  ..._
9747
- }, /* @__PURE__ */ e.createElement("div", { className: `${x}__header` }, p && /* @__PURE__ */ e.createElement("div", { className: `${x}__title` }, p), o && /* @__PURE__ */ e.createElement(Yt, {
9821
+ }, /* @__PURE__ */ e.createElement("div", { className: `${x}__header` }, p && /* @__PURE__ */ e.createElement("div", { className: `${x}__title` }, p), o && /* @__PURE__ */ e.createElement(Xt, {
9748
9822
  ariaLabel: i,
9749
9823
  onClick: M,
9750
9824
  size: "m"
9751
9825
  })), /* @__PURE__ */ e.createElement("div", { className: `${x}__content` }, y), b && /* @__PURE__ */ e.createElement("div", { className: `${x}__footer` }, b)))), document.body) : null;
9752
- }, ki = ({ ariaLabel: t, background: n = "default", children: r, className: i, closeButtonLabel: a = "Close", closeIconName: o = "compress", hasCloseButton: s = !0, isOpen: c, onClose: u, ...d }) => {
9753
- let f = "pds-full-screen-overlay", p = n === "default" ? null : `${f}--bg-${n}`, { closeOverlay: m, openOverlay: h } = vt();
9826
+ }, Mi = ({ ariaLabel: t, background: n = "default", children: r, className: i, closeButtonLabel: a = "Close", closeIconName: o = "compress", hasCloseButton: s = !0, isOpen: c, onClose: u, ...d }) => {
9827
+ let f = "pds-full-screen-overlay", p = n === "default" ? null : `${f}--bg-${n}`, { closeOverlay: m, openOverlay: h } = yt();
9754
9828
  l(() => {
9755
9829
  if (!(!h || !m) && c) return h(), () => m();
9756
9830
  }, [
@@ -9801,10 +9875,10 @@ var or = {
9801
9875
  style: S,
9802
9876
  ...b(),
9803
9877
  ...d
9804
- }, s && /* @__PURE__ */ e.createElement(bt, {
9878
+ }, s && /* @__PURE__ */ e.createElement(xt, {
9805
9879
  className: `${f}__close-button`,
9806
9880
  content: a,
9807
- customTrigger: /* @__PURE__ */ e.createElement(qt, {
9881
+ customTrigger: /* @__PURE__ */ e.createElement(Jt, {
9808
9882
  hasBorder: !0,
9809
9883
  ariaLabel: a,
9810
9884
  hasTooltip: !1,
@@ -9814,13 +9888,13 @@ var or = {
9814
9888
  }),
9815
9889
  zIndex: 9999
9816
9890
  }), /* @__PURE__ */ e.createElement("div", { className: `${f}__content` }, r)))), document.body) : null;
9817
- }, Ai = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close modal", contentMaxHeight: a, disableOutsideClick: o, hasCloseButton: s = !0, modalIsOpen: c = !1, setModalIsOpen: u = () => {}, size: d = "m", title: f, ...p }) => {
9891
+ }, Ni = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close modal", contentMaxHeight: a, disableOutsideClick: o, hasCloseButton: s = !0, modalIsOpen: c = !1, setModalIsOpen: u = () => {}, size: d = "m", title: f, ...p }) => {
9818
9892
  let m = Ie(n), g = m.__unslotted, _ = m.footer, b = "pds-modal", x = d === "m" ? null : `${b}--${d}`, S = a ? {
9819
9893
  maxHeight: a,
9820
9894
  paddingInlineEnd: "1rem",
9821
9895
  marginInlineEnd: "-1rem",
9822
9896
  overflowY: "auto"
9823
- } : null, [C, w] = h(c), { closeOverlay: T, openOverlay: E } = vt();
9897
+ } : null, [C, w] = h(c), { closeOverlay: T, openOverlay: E } = yt();
9824
9898
  l(() => {
9825
9899
  w(c);
9826
9900
  }, [c]), l(() => {
@@ -9882,7 +9956,7 @@ var or = {
9882
9956
  top: "5%"
9883
9957
  },
9884
9958
  ...p
9885
- }, s && /* @__PURE__ */ e.createElement("div", { className: `${b}__close-wrapper` }, /* @__PURE__ */ e.createElement(Yt, {
9959
+ }, s && /* @__PURE__ */ e.createElement("div", { className: `${b}__close-wrapper` }, /* @__PURE__ */ e.createElement(Xt, {
9886
9960
  ariaLabel: i,
9887
9961
  onClick: () => w(!1),
9888
9962
  size: "l"
@@ -9890,27 +9964,27 @@ var or = {
9890
9964
  className: `${b}__content`,
9891
9965
  style: S
9892
9966
  }, g), _ && /* @__PURE__ */ e.createElement("div", { className: `${b}__footer` }, _)))));
9893
- }, ji = (e, t) => {
9967
+ }, Pi = (e, t) => {
9894
9968
  let n = t - e + 1;
9895
9969
  return Array.from({ length: n }, (t, n) => n + e);
9896
- }, Mi = ({ bufferCount: e = 1, currentPage: t, itemsPerPage: n, totalItemCount: r }) => p(() => {
9970
+ }, Fi = ({ bufferCount: e = 1, currentPage: t, itemsPerPage: n, totalItemCount: r }) => p(() => {
9897
9971
  let i = Math.ceil(r / n), a = e + 5, o = i;
9898
- if (a >= i) return ji(1, i);
9972
+ if (a >= i) return Pi(1, i);
9899
9973
  let s = Math.max(t - e, 1), c = Math.min(t + e, i), l = s > 2, u = c < i - 2;
9900
9974
  if (!l && u) return [
9901
- ...ji(1, 3 + 2 * e),
9975
+ ...Pi(1, 3 + 2 * e),
9902
9976
  "...",
9903
9977
  i
9904
9978
  ];
9905
9979
  if (l && !u) return [
9906
9980
  1,
9907
9981
  "...",
9908
- ...ji(i - (3 + 2 * e) + 1, i)
9982
+ ...Pi(i - (3 + 2 * e) + 1, i)
9909
9983
  ];
9910
9984
  if (l && u) return [
9911
9985
  1,
9912
9986
  "...",
9913
- ...ji(s, c),
9987
+ ...Pi(s, c),
9914
9988
  "...",
9915
9989
  o
9916
9990
  ];
@@ -9919,11 +9993,11 @@ var or = {
9919
9993
  n,
9920
9994
  e,
9921
9995
  t
9922
- ]), Ni = ({ bufferCount: t = 1, className: n, currentPage: r, headingLevel: i = "h2", headingText: a = "Pagination", itemsPerPage: o = 10, labelStrings: s = {
9996
+ ]), Ii = ({ bufferCount: t = 1, className: n, currentPage: r, headingLevel: i = "h2", headingText: a = "Pagination", itemsPerPage: o = 10, labelStrings: s = {
9923
9997
  previous: "Go to previous page",
9924
9998
  next: "Go to next page"
9925
9999
  }, onPageChange: c, size: l = "m", totalItemCount: u, ...d }) => {
9926
- let f = Mi({
10000
+ let f = Fi({
9927
10001
  currentPage: r,
9928
10002
  totalItemCount: u,
9929
10003
  bufferCount: t,
@@ -9941,12 +10015,12 @@ var or = {
9941
10015
  n ?? ""
9942
10016
  ]),
9943
10017
  ...d
9944
- }, /* @__PURE__ */ e.createElement(Ht, {
10018
+ }, /* @__PURE__ */ e.createElement(Ut, {
9945
10019
  baseClass: g,
9946
10020
  className: "visually-hidden",
9947
10021
  id: "pagination",
9948
10022
  level: i
9949
- }, a), /* @__PURE__ */ e.createElement("ul", { className: `${g}__list` }, r !== 1 && /* @__PURE__ */ e.createElement("li", { className: Z([_, `${_}--prev`]) }, /* @__PURE__ */ e.createElement(bt, {
10023
+ }, a), /* @__PURE__ */ e.createElement("ul", { className: `${g}__list` }, r !== 1 && /* @__PURE__ */ e.createElement("li", { className: Z([_, `${_}--prev`]) }, /* @__PURE__ */ e.createElement(xt, {
9950
10024
  content: s.previous,
9951
10025
  customTrigger: /* @__PURE__ */ e.createElement("button", {
9952
10026
  "aria-label": s.previous,
@@ -9966,7 +10040,7 @@ var or = {
9966
10040
  "aria-current": r === t ? "page" : void 0,
9967
10041
  onClick: () => c(Number(t)),
9968
10042
  type: "button"
9969
- }, t))), r !== p && /* @__PURE__ */ e.createElement("li", { className: Z([_, `${_}--next`]) }, /* @__PURE__ */ e.createElement(bt, {
10043
+ }, t))), r !== p && /* @__PURE__ */ e.createElement("li", { className: Z([_, `${_}--next`]) }, /* @__PURE__ */ e.createElement(xt, {
9970
10044
  content: s.next,
9971
10045
  customTrigger: /* @__PURE__ */ e.createElement("button", {
9972
10046
  "aria-label": s.next,
@@ -9977,7 +10051,7 @@ var or = {
9977
10051
  size: "m"
9978
10052
  }))
9979
10053
  }))));
9980
- }, Pi = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
10054
+ }, Li = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
9981
10055
  next: "Go to next page",
9982
10056
  of: "of",
9983
10057
  pageSelect: "Go to page",
@@ -9991,12 +10065,12 @@ var or = {
9991
10065
  "aria-labelledby": "pagination-compact",
9992
10066
  className: Z([_, t ?? ""]),
9993
10067
  ...l
9994
- }, /* @__PURE__ */ e.createElement(Ht, {
10068
+ }, /* @__PURE__ */ e.createElement(Ut, {
9995
10069
  baseClass: _,
9996
10070
  className: "visually-hidden",
9997
10071
  id: "pagination-compact",
9998
10072
  level: r
9999
- }, i), /* @__PURE__ */ e.createElement(Pn, {
10073
+ }, i), /* @__PURE__ */ e.createElement(Fn, {
10000
10074
  autoWidth: !0,
10001
10075
  id: d,
10002
10076
  label: o.pageSelect,
@@ -10005,7 +10079,7 @@ var or = {
10005
10079
  showLabel: !1,
10006
10080
  size: "s",
10007
10081
  value: String(n)
10008
- }), /* @__PURE__ */ e.createElement("span", { className: `${_}__count` }, o.of, " ", f), /* @__PURE__ */ e.createElement("div", { className: `${_}__nav` }, /* @__PURE__ */ e.createElement(bt, {
10082
+ }), /* @__PURE__ */ e.createElement("span", { className: `${_}__count` }, o.of, " ", f), /* @__PURE__ */ e.createElement("div", { className: `${_}__nav` }, /* @__PURE__ */ e.createElement(xt, {
10009
10083
  content: o.previous,
10010
10084
  customTrigger: /* @__PURE__ */ e.createElement("button", {
10011
10085
  "aria-disabled": h ? !0 : void 0,
@@ -10017,7 +10091,7 @@ var or = {
10017
10091
  iconName: "angleLeft",
10018
10092
  size: "m"
10019
10093
  }))
10020
- }), /* @__PURE__ */ e.createElement(bt, {
10094
+ }), /* @__PURE__ */ e.createElement(xt, {
10021
10095
  content: o.next,
10022
10096
  customTrigger: /* @__PURE__ */ e.createElement("button", {
10023
10097
  "aria-disabled": g ? !0 : void 0,
@@ -10030,7 +10104,7 @@ var or = {
10030
10104
  size: "m"
10031
10105
  }))
10032
10106
  })));
10033
- }, Fi = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
10107
+ }, Ri = ({ className: t, currentPage: n, headingLevel: r = "h2", headingText: i = "Pagination", itemsPerPage: a = 10, labelStrings: o = {
10034
10108
  next: "Next",
10035
10109
  previous: "Previous"
10036
10110
  }, nextPage: s, onPageChange: c, previousPage: l, totalItemCount: u, ...d }) => {
@@ -10039,7 +10113,7 @@ var or = {
10039
10113
  "aria-labelledby": "pagination-mini",
10040
10114
  className: Z([g, t ?? ""]),
10041
10115
  ...d
10042
- }, /* @__PURE__ */ e.createElement(Ht, {
10116
+ }, /* @__PURE__ */ e.createElement(Ut, {
10043
10117
  baseClass: g,
10044
10118
  className: "visually-hidden",
10045
10119
  id: "pagination-mini",
@@ -10059,7 +10133,7 @@ var or = {
10059
10133
  iconName: "angleRight",
10060
10134
  size: "m"
10061
10135
  }))));
10062
- }, Ii = ({ children: t, className: n, id: r, isOpen: i = !1, showBorder: a = !0, summary: o, ...s }) => {
10136
+ }, zi = ({ children: t, className: n, id: r, isOpen: i = !1, showBorder: a = !0, summary: o, ...s }) => {
10063
10137
  let [c, d] = h(i), f = u(), p = r ?? `expansion-panel-${f}`, g = "pds-expansion-panel", _ = a ? null : `${g}--no-border`, v = m(null);
10064
10138
  return l(() => {
10065
10139
  let e = v.current;
@@ -10083,7 +10157,7 @@ var or = {
10083
10157
  className: `${g}__icon ${c ? "rotated" : ""}`,
10084
10158
  iconName: "angleDown"
10085
10159
  })), /* @__PURE__ */ e.createElement("div", { className: `${g}__content` }, t)));
10086
- }, Li = ({ children: t, className: n, displayType: r = "standard", ...i }) => {
10160
+ }, Bi = ({ children: t, className: n, displayType: r = "standard", ...i }) => {
10087
10161
  let a = "pds-expansion-panel-group", o = r === "standard" ? null : `${a}--${r}`;
10088
10162
  return /* @__PURE__ */ e.createElement("div", {
10089
10163
  className: Z([
@@ -10093,7 +10167,7 @@ var or = {
10093
10167
  ]),
10094
10168
  ...i
10095
10169
  }, t);
10096
- }, Ri = ({ children: t, className: n, padding: r = "standard", variant: i = "default", ...a }) => {
10170
+ }, Vi = ({ children: t, className: n, padding: r = "standard", variant: i = "default", ...a }) => {
10097
10171
  let o = "pds-panel", s = i === "default" ? null : `${o}--${i}`, c = `${o}__content`, l = r === "standard" ? null : `${c}--pad-${r}`;
10098
10172
  return /* @__PURE__ */ e.createElement("div", {
10099
10173
  className: Z([
@@ -10103,7 +10177,7 @@ var or = {
10103
10177
  ]),
10104
10178
  ...a
10105
10179
  }, /* @__PURE__ */ e.createElement("div", { className: Z([c, l]) }, t));
10106
- }, zi = ({ background: t = "default", children: n, className: r, hasBorder: i = !0, paddingSize: a = "m", ...o }) => {
10180
+ }, Hi = ({ background: t = "default", children: n, className: r, hasBorder: i = !0, paddingSize: a = "m", ...o }) => {
10107
10181
  let s = "pds-panel-list", c = `pds-panel-list--${a}`, l = t === "default" ? null : `${s}--${t}`, u = i ? null : `${s}--borderless`;
10108
10182
  return /* @__PURE__ */ e.createElement("ul", {
10109
10183
  className: Z([
@@ -10115,7 +10189,7 @@ var or = {
10115
10189
  ]),
10116
10190
  ...o
10117
10191
  }, n);
10118
- }, Bi = ({ children: t, className: n, expandButtonAriaLabel: r, isExpandable: i = !1, ...a }) => {
10192
+ }, Ui = ({ children: t, className: n, expandButtonAriaLabel: r, isExpandable: i = !1, ...a }) => {
10119
10193
  let o = "pds-panel-row", [s, c] = h(!1), l = Ie(t), u = l["items-left"], d = l["items-right"], f = l["items-below"], p = () => {
10120
10194
  c((e) => !e);
10121
10195
  };
@@ -10146,7 +10220,7 @@ var or = {
10146
10220
  opacity: "0"
10147
10221
  }
10148
10222
  }, /* @__PURE__ */ e.createElement("div", { className: `${o}__items-inside` }, f)));
10149
- }, Vi = /* @__PURE__ */ e.createElement("svg", {
10223
+ }, Wi = /* @__PURE__ */ e.createElement("svg", {
10150
10224
  "aria-label": "Pantheon",
10151
10225
  fill: "none",
10152
10226
  focusable: "false",
@@ -10209,7 +10283,7 @@ var or = {
10209
10283
  }), /* @__PURE__ */ e.createElement("path", {
10210
10284
  d: "M161.5 16.65H161V16.35H162.5V16.65H162V18.25H161.6V16.65H161.5ZM163.6 18.25L163.1 16.75V18.25H162.7V16.35H163.3L163.8 17.85L164.3 16.35H164.9V18.25H164.5V16.75L164 18.25H163.6Z",
10211
10285
  fill: "var(--pds-color-foreground-default)"
10212
- })), Hi = /* @__PURE__ */ e.createElement("svg", {
10286
+ })), Gi = /* @__PURE__ */ e.createElement("svg", {
10213
10287
  "aria-label": "Pantheon",
10214
10288
  fill: "none",
10215
10289
  focusable: "false",
@@ -10245,7 +10319,7 @@ var or = {
10245
10319
  }), /* @__PURE__ */ e.createElement("path", {
10246
10320
  d: "M5.4 24.2L3.7 19.9H7.6L9.4 24.2H13.1L9.8 16.3H1.7C1.1 16.3 0.7 16.3 0.4 17.2C0.0999996 18.3 0 20.4 0 24.5C0 28.6 -3.8743e-07 30.7 0.4 31.8C0.7 32.7 1 32.7 1.7 32.7H8.8L5.4 24.2Z",
10247
10321
  fill: "var(--pds-color-foreground-default)"
10248
- })), Ui = /* @__PURE__ */ e.createElement("svg", {
10322
+ })), Ki = /* @__PURE__ */ e.createElement("svg", {
10249
10323
  "aria-label": "Pantheon",
10250
10324
  fill: "none",
10251
10325
  focusable: "false",
@@ -10281,17 +10355,17 @@ var or = {
10281
10355
  }), /* @__PURE__ */ e.createElement("path", {
10282
10356
  d: "M135.7 0.299999H135.2V0H136.7V0.299999H136.2V1.9H135.8V0.299999H135.7ZM137.8 1.9L137.3 0.4V1.9H136.9V0H137.5L138 1.5L138.5 0H139.1V1.9H138.7V0.4L138.2 1.9H137.8Z",
10283
10357
  fill: "var(--pds-color-foreground-default)"
10284
- })), Wi = ({ className: t, colorType: n = "default", displayType: r = "full", linkContent: i, size: a = "m", ...s }) => {
10358
+ })), qi = ({ className: t, colorType: n = "default", displayType: r = "full", linkContent: i, size: a = "m", ...s }) => {
10285
10359
  let c = "pds-pantheon-logo", l = r && r !== "full" ? `${c}--${r}` : null, u = n && n !== "default" ? `${c}--${n}` : null, d = a === "m" ? null : `${c}--${a}`, f;
10286
10360
  switch (r) {
10287
10361
  case "full":
10288
- f = Vi;
10362
+ f = Wi;
10289
10363
  break;
10290
10364
  case "icon":
10291
- f = Hi;
10365
+ f = Gi;
10292
10366
  break;
10293
10367
  case "wordmark":
10294
- f = Ui;
10368
+ f = Ki;
10295
10369
  break;
10296
10370
  }
10297
10371
  let p = o(i) && typeof i.props.children == "string" ? i.props.children : "", m = o(i) ? i.type : null, h = o(i) && m ? /* @__PURE__ */ e.createElement(m, Object.assign({}, i.props, {
@@ -10308,7 +10382,7 @@ var or = {
10308
10382
  ]),
10309
10383
  ...s
10310
10384
  }, i ? h : f);
10311
- }, Gi = 8, Ki = 14, qi = ({ className: t, classNameContainer: n, closeButtonLabel: r = "Close", content: i, customTrigger: a = !1, hasCloseButton: o = !1, offsetValue: s = 0, onClose: c = () => {}, placement: u = "top", popoverIsOpen: d = !1, setPopoverIsOpen: f = () => {}, title: p, triggerAccessibleText: g = "Show more information", triggerIcon: y = "circleInfo", triggerIconSize: T = "m", ...D }) => {
10385
+ }, Ji = 8, Yi = 14, Xi = ({ className: t, classNameContainer: n, closeButtonLabel: r = "Close", content: i, customTrigger: a = !1, hasCloseButton: o = !1, offsetValue: s = 0, onClose: c = () => {}, placement: u = "top", popoverIsOpen: d = !1, setPopoverIsOpen: f = () => {}, title: p, triggerAccessibleText: g = "Show more information", triggerIcon: y = "circleInfo", triggerIconSize: T = "m", ...D }) => {
10312
10386
  let [j, M] = h(d);
10313
10387
  l(() => {
10314
10388
  M(d);
@@ -10334,12 +10408,12 @@ var or = {
10334
10408
  O(V),
10335
10409
  k(V),
10336
10410
  I(V)
10337
- ]), J = U.arrow?.x ?? 0, ee = U.arrow?.y ?? 0, te = J + Ki / 2, ne = ee + Gi, { isMounted: re } = L(V, {
10411
+ ]), J = U.arrow?.x ?? 0, ee = U.arrow?.y ?? 0, te = J + Yi / 2, ne = ee + Ji, { isMounted: re } = L(V, {
10338
10412
  initial: { transform: "scale(0)" },
10339
10413
  common: ({ side: e }) => ({ transformOrigin: {
10340
- top: `${te}px calc(100% + ${Gi}px)`,
10414
+ top: `${te}px calc(100% + ${Ji}px)`,
10341
10415
  bottom: `${te}px -8px`,
10342
- left: `calc(100% + ${Gi}px) ${ne}px`,
10416
+ left: `calc(100% + ${Ji}px) ${ne}px`,
10343
10417
  right: `-8px ${ne}px`
10344
10418
  }[e] })
10345
10419
  });
@@ -10371,23 +10445,23 @@ var or = {
10371
10445
  className: `${F}__arrow`,
10372
10446
  context: V,
10373
10447
  fill: "var(--pds-color-surface-default)",
10374
- height: Gi,
10448
+ height: Ji,
10375
10449
  stroke: "var(--pds-color-popover-border)",
10376
10450
  strokeWidth: 1,
10377
10451
  tipRadius: 0,
10378
- width: Ki
10379
- }), /* @__PURE__ */ e.createElement("div", { className: `${F}__container-inner` }, p && /* @__PURE__ */ e.createElement("div", { className: `${F}__title` }, p), i && /* @__PURE__ */ e.createElement("div", { className: `${F}__content` }, i), o && /* @__PURE__ */ e.createElement("div", { className: `${F}__close-wrapper` }, /* @__PURE__ */ e.createElement(Yt, {
10452
+ width: Yi
10453
+ }), /* @__PURE__ */ e.createElement("div", { className: `${F}__container-inner` }, p && /* @__PURE__ */ e.createElement("div", { className: `${F}__title` }, p), i && /* @__PURE__ */ e.createElement("div", { className: `${F}__content` }, i), o && /* @__PURE__ */ e.createElement("div", { className: `${F}__close-wrapper` }, /* @__PURE__ */ e.createElement(Xt, {
10380
10454
  ariaLabel: r,
10381
10455
  onClick: G,
10382
10456
  size: "s"
10383
10457
  })))))));
10384
- }, Ji = {
10458
+ }, Zi = {
10385
10459
  neutral: "--pds-color-status-neutral-indicator",
10386
10460
  info: "--pds-color-status-info-fill",
10387
10461
  success: "--pds-color-status-success-fill",
10388
10462
  warning: "--pds-color-status-warning-fill",
10389
10463
  critical: "--pds-color-status-critical-fill"
10390
- }, Yi = ({ className: t, colorBreakpoints: n = [{
10464
+ }, Qi = ({ className: t, colorBreakpoints: n = [{
10391
10465
  colorType: "info",
10392
10466
  percentage: 0
10393
10467
  }, {
@@ -10408,7 +10482,7 @@ var or = {
10408
10482
  id: m
10409
10483
  }, i), (x || l) && /* @__PURE__ */ e.createElement("div", { className: `${h}__details` }, x && b, l && /* @__PURE__ */ e.createElement("div", {
10410
10484
  className: `${h}__percentage`,
10411
- style: { color: `hsl(from var(${Ji[y]}) h s calc(l - 7))` }
10485
+ style: { color: `hsl(from var(${Zi[y]}) h s calc(l - 7))` }
10412
10486
  }, s, "%")), /* @__PURE__ */ e.createElement("div", { className: `${h}__wrapper` }, /* @__PURE__ */ e.createElement("div", {
10413
10487
  "aria-labelledby": m,
10414
10488
  "aria-valuenow": v,
@@ -10418,16 +10492,16 @@ var or = {
10418
10492
  className: `${h}__bar`,
10419
10493
  style: {
10420
10494
  width: `${v}%`,
10421
- backgroundColor: `var(${Ji[y]})`
10495
+ backgroundColor: `var(${Zi[y]})`
10422
10496
  }
10423
10497
  }))), S && b);
10424
- }, Xi = {
10498
+ }, $i = {
10425
10499
  neutral: "--pds-color-status-neutral-indicator",
10426
10500
  info: "--pds-color-status-info-fill",
10427
10501
  success: "--pds-color-status-success-fill",
10428
10502
  warning: "--pds-color-status-warning-fill",
10429
10503
  critical: "--pds-color-status-critical-fill"
10430
- }, Zi = ({ className: t, colorBreakpoints: n = [{
10504
+ }, ea = ({ className: t, colorBreakpoints: n = [{
10431
10505
  colorType: "info",
10432
10506
  percentage: 0
10433
10507
  }, {
@@ -10476,7 +10550,7 @@ var or = {
10476
10550
  strokeDasharray: x,
10477
10551
  strokeDashoffset: S,
10478
10552
  strokeWidth: y,
10479
- style: { stroke: `var(${Xi[C]})` },
10553
+ style: { stroke: `var(${$i[C]})` },
10480
10554
  transform: `rotate(-90 ${v / 2} ${v / 2})`
10481
10555
  }), /* @__PURE__ */ e.createElement("text", {
10482
10556
  alignmentBaseline: "middle",
@@ -10486,7 +10560,7 @@ var or = {
10486
10560
  x: "50%",
10487
10561
  y: "51%"
10488
10562
  }, w))));
10489
- }, Qi = ({ as: t = "div", children: n, className: r, containerWidth: i = "full", hasTopBorder: a, legalLinks: o = [
10563
+ }, ta = ({ as: t = "div", children: n, className: r, containerWidth: i = "full", hasTopBorder: a, legalLinks: o = [
10490
10564
  "privacy",
10491
10565
  "dataSubjectRequest",
10492
10566
  "cookiePolicy",
@@ -10504,10 +10578,10 @@ var or = {
10504
10578
  ]),
10505
10579
  ...c
10506
10580
  }, /* @__PURE__ */ e.createElement("div", { className: f }, n && /* @__PURE__ */ e.createElement("div", { className: `${l}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${l}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${l}__copyright` }, "© ", p, " Pantheon Systems, Inc."), m && /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Privacy Policy"), h && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), g && /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Cookie Policy"), _ && /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Terms of Use"), v && /* @__PURE__ */ e.createElement("a", { href: "https://legal.pantheon.io" }, "Acceptable Use Policy"), y && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement"))));
10507
- }, $i = ({ className: t, option: n, ...r }) => {
10508
- let i = "pds-site-option-display", a = n.type ? _n[n.type] : "boltSolid", o = m(null), [s] = pe(o), c = s.width / 16 - 7.5, l, u;
10581
+ }, na = ({ className: t, option: n, ...r }) => {
10582
+ let i = "pds-site-option-display", a = n.type ? vn[n.type] : "boltSolid", o = m(null), [s] = pe(o), c = s.width / 16 - 7.5, l, u;
10509
10583
  n.status === "active" && (l = "Active", u = "success"), n.status === "frozen" && (l = "Frozen", u = "frozen"), n.status === "restricted" && (l = "Restricted", u = "critical");
10510
- let d = /* @__PURE__ */ e.createElement(Rt, {
10584
+ let d = /* @__PURE__ */ e.createElement(zt, {
10511
10585
  hasStatusIndicator: !0,
10512
10586
  label: l,
10513
10587
  statusType: u
@@ -10527,7 +10601,7 @@ var or = {
10527
10601
  className: `${i}__status`,
10528
10602
  style: { pointerEvents: "none" }
10529
10603
  }, d));
10530
- }, ea = ({ className: t, disabled: n = !1, id: r, isLoading: i = !1, label: a = "Search sites", labelStrings: o = {
10604
+ }, ra = ({ className: t, disabled: n = !1, id: r, isLoading: i = !1, label: a = "Search sites", labelStrings: o = {
10531
10605
  clearButton: "Clear input text",
10532
10606
  inputInstructions: "Type to search options"
10533
10607
  }, loadingText: s = "Loading results...", noResultsText: c = "No results found", onFocus: l, onOptionSelect: u, placeholder: d = "Search sites", siteList: f, ...p }) => {
@@ -10539,7 +10613,7 @@ var or = {
10539
10613
  id: n,
10540
10614
  label: i,
10541
10615
  value: r ?? i,
10542
- optionDisplay: /* @__PURE__ */ e.createElement($i, { option: t }),
10616
+ optionDisplay: /* @__PURE__ */ e.createElement(na, { option: t }),
10543
10617
  siteData: t
10544
10618
  };
10545
10619
  });
@@ -10547,7 +10621,7 @@ var or = {
10547
10621
  className: Z([_, t ?? ""]),
10548
10622
  id: r,
10549
10623
  ...p
10550
- }, /* @__PURE__ */ e.createElement("div", { className: `${_}__inner` }, /* @__PURE__ */ e.createElement(br, {
10624
+ }, /* @__PURE__ */ e.createElement("div", { className: `${_}__inner` }, /* @__PURE__ */ e.createElement(xr, {
10551
10625
  hasClearButton: !0,
10552
10626
  hasSearchShortcut: !0,
10553
10627
  className: `${_}__combobox`,
@@ -10568,7 +10642,7 @@ var or = {
10568
10642
  };
10569
10643
  //#endregion
10570
10644
  //#region src/components/SortableList/sortable-utils.ts
10571
- function ta(e, t, n = null, r = 0, i = []) {
10645
+ function ia(e, t, n = null, r = 0, i = []) {
10572
10646
  return e.reduce((e, a, o) => {
10573
10647
  let s = !!a.children?.length, c = t.has(a.id);
10574
10648
  return e.push({
@@ -10580,10 +10654,10 @@ function ta(e, t, n = null, r = 0, i = []) {
10580
10654
  index: o,
10581
10655
  isExpanded: c,
10582
10656
  parentId: n
10583
- }), s && c && a.children && e.push(...ta(a.children, t, a.id, r + 1, [...i, a.id])), e;
10657
+ }), s && c && a.children && e.push(...ia(a.children, t, a.id, r + 1, [...i, a.id])), e;
10584
10658
  }, []);
10585
10659
  }
10586
- function na(e) {
10660
+ function aa(e) {
10587
10661
  let t = /* @__PURE__ */ new Map(), n = new Set(e.map((e) => e.id)), r = [];
10588
10662
  for (let i of e) {
10589
10663
  let e = i.data.children ?? [], a = e.length > 0 && !e.some((e) => n.has(e.id)), o = {
@@ -10596,28 +10670,28 @@ function na(e) {
10596
10670
  e && (e.children || (e.children = []), e.children.push(o));
10597
10671
  }
10598
10672
  }
10599
- return ra(r);
10673
+ return oa(r);
10600
10674
  }
10601
- function ra(e) {
10675
+ function oa(e) {
10602
10676
  return e.map((e) => {
10603
10677
  if (e.children?.length) return {
10604
10678
  ...e,
10605
- children: ra(e.children)
10679
+ children: oa(e.children)
10606
10680
  };
10607
10681
  let { children: t, ...n } = e;
10608
10682
  return n;
10609
10683
  });
10610
10684
  }
10611
- function ia(e, t) {
10685
+ function sa(e, t) {
10612
10686
  for (let n of e) {
10613
10687
  if (n.id === t) return n;
10614
10688
  if (n.children) {
10615
- let e = ia(n.children, t);
10689
+ let e = sa(n.children, t);
10616
10690
  if (e) return e;
10617
10691
  }
10618
10692
  }
10619
10693
  }
10620
- function aa(e, t, n, r, i, a, o) {
10694
+ function ca(e, t, n, r, i, a, o) {
10621
10695
  let s = e.findIndex((e) => e.id === n);
10622
10696
  if (s === -1) return 0;
10623
10697
  let c = e[s], l = Math.round(r / i), u = e.find((e) => e.id === t), d = (o ?? u?.depth ?? c.depth) + l, f = e[s - 1], p = f ? f.depth + 1 : 0, m = e.slice(s + 1).find((e) => e.id !== t && !e.ancestorIds.includes(t) && !e.ancestorIds.includes(n)), h = m ? m.depth : 0;
@@ -10625,7 +10699,7 @@ function aa(e, t, n, r, i, a, o) {
10625
10699
  }
10626
10700
  //#endregion
10627
10701
  //#region src/components/SortableList/SortableListHeader.tsx
10628
- var oa = ({ children: t, className: n, columns: r, ...i }) => {
10702
+ var la = ({ children: t, className: n, columns: r, ...i }) => {
10629
10703
  if (!r && !t) return null;
10630
10704
  let a = r ? {
10631
10705
  display: "grid",
@@ -10646,13 +10720,13 @@ var oa = ({ children: t, className: n, columns: r, ...i }) => {
10646
10720
  };
10647
10721
  //#endregion
10648
10722
  //#region src/components/SortableList/useSortableTree.ts
10649
- function sa({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r }) {
10723
+ function ua({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r }) {
10650
10724
  let i = n !== void 0, [a, o] = h(() => n ?? e ?? []), [c, l] = h(/* @__PURE__ */ new Set()), u = m(null), d = m(t);
10651
10725
  t && !d.current && (u.current = {
10652
10726
  items: i ? n : a,
10653
10727
  expandedIds: c
10654
- }), t || (u.current = null), d.current = t, process.env.NODE_ENV !== "production" && n !== void 0 && e !== void 0 && la("SortableList received both `items` and `defaultItems`. `items` will be used and `defaultItems` will be ignored.");
10655
- let f = i ? n : a, g = p(() => ta(f, c), [f, c]), _ = p(() => g.map((e) => e.id), [g]), v = s((e) => {
10728
+ }), t || (u.current = null), d.current = t, process.env.NODE_ENV !== "production" && n !== void 0 && e !== void 0 && fa("SortableList received both `items` and `defaultItems`. `items` will be used and `defaultItems` will be ignored.");
10729
+ let f = i ? n : a, g = p(() => ia(f, c), [f, c]), _ = p(() => g.map((e) => e.id), [g]), v = s((e) => {
10656
10730
  l((t) => {
10657
10731
  let n = new Set(t);
10658
10732
  return n.has(e) ? n.delete(e) : n.add(e), n;
@@ -10670,7 +10744,7 @@ function sa({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r })
10670
10744
  }, []),
10671
10745
  flatNodes: g,
10672
10746
  handleReorder: s((e) => {
10673
- let t = na(e);
10747
+ let t = aa(e);
10674
10748
  i || o(t), r?.(t);
10675
10749
  }, [i, r]),
10676
10750
  resetToSnapshot: s(() => {
@@ -10682,24 +10756,24 @@ function sa({ defaultItems: e, isDragEnabled: t = !1, items: n, onReorder: r })
10682
10756
  toggleExpand: v
10683
10757
  };
10684
10758
  }
10685
- var ca = /* @__PURE__ */ new Set();
10686
- function la(e) {
10687
- ca.has(e) || (ca.add(e), console.warn(e));
10759
+ var da = /* @__PURE__ */ new Set();
10760
+ function fa(e) {
10761
+ da.has(e) || (da.add(e), console.warn(e));
10688
10762
  }
10689
10763
  //#endregion
10690
10764
  //#region src/components/SortableList/SortableList.tsx
10691
- var ua = 24, da = { droppable: { strategy: _e.Always } }, fa = a(function({ children: n, className: r, columns: i, defaultItems: a, getItemLabel: c = (e) => String(e.id), isDragEnabled: l, isItemLocked: u = () => !1, isNestingLocked: f = () => !1, items: g, maxDepth: _ = 0, onReorder: v, renderRow: y, reorderMode: b = "always", screenReaderInstructions: x, ...S }, C) {
10765
+ var pa = 24, ma = { droppable: { strategy: _e.Always } }, ha = a(function({ children: n, className: r, columns: i, defaultItems: a, getItemLabel: c = (e) => String(e.id), isDragEnabled: l, isItemLocked: u = () => !1, isNestingLocked: f = () => !1, items: g, maxDepth: _ = 0, onReorder: v, renderRow: y, reorderMode: b = "always", screenReaderInstructions: x, ...S }, C) {
10692
10766
  let w = "pds-sortable-list", [T, E] = h(null), D = m(null), [O, k] = h(!1), A = m(!1), [j, M] = h(null), N = m(0), P = m(0), F = m("pointer"), I = m(0), L = m(null), [R, z] = h(0), B = m(0), [V, H] = h(0), U = m(0), W = s((e, t) => {
10693
10767
  if (_ > 0 && (e.key === "ArrowLeft" || e.key === "ArrowRight")) {
10694
10768
  e.preventDefault();
10695
10769
  let n = e.key === "ArrowRight" ? 1 : -1, r = B.current, i = Math.max(-_, Math.min(_, r + n)), a = i - r;
10696
10770
  return B.current = i, z(i), {
10697
- x: t.currentCoordinates.x + a * ua,
10771
+ x: t.currentCoordinates.x + a * pa,
10698
10772
  y: t.currentCoordinates.y
10699
10773
  };
10700
10774
  }
10701
10775
  return Ce(e, t);
10702
- }, [_]), G = b === "always" || b === "toggle" && (l ?? !1), { currentItems: K, expandItem: q, flatNodes: J, handleReorder: ee, resetToSnapshot: te, sortableIds: ne, toggleExpand: re } = sa({
10776
+ }, [_]), G = b === "always" || b === "toggle" && (l ?? !1), { currentItems: K, expandItem: q, flatNodes: J, handleReorder: ee, resetToSnapshot: te, sortableIds: ne, toggleExpand: re } = ua({
10703
10777
  defaultItems: a,
10704
10778
  isDragEnabled: G,
10705
10779
  items: g,
@@ -10726,9 +10800,9 @@ var ua = 24, da = { droppable: { strategy: _e.Always } }, fa = a(function({ chil
10726
10800
  X,
10727
10801
  Y,
10728
10802
  j
10729
- ]).size > 0, le = p(() => T ? J.find((e) => e.id === T) ?? null : null, [T, J]), ue = p(() => T ? ia(K, String(T)) ?? null : null, [T, K]), de = p(() => {
10803
+ ]).size > 0, le = p(() => T ? J.find((e) => e.id === T) ?? null : null, [T, J]), ue = p(() => T ? sa(K, String(T)) ?? null : null, [T, K]), de = p(() => {
10730
10804
  let e = le?.depth ?? 0;
10731
- return !T || !j || O || _ === 0 ? e : aa(J, String(T), String(j), V * ua, ua, _);
10805
+ return !T || !j || O || _ === 0 ? e : ca(J, String(T), String(j), V * pa, pa, _);
10732
10806
  }, [
10733
10807
  T,
10734
10808
  le,
@@ -10740,7 +10814,7 @@ var ua = 24, da = { droppable: { strategy: _e.Always } }, fa = a(function({ chil
10740
10814
  ]), fe = p(() => {
10741
10815
  if (!T || O || de === 0 || j && X(j)) return null;
10742
10816
  let e = J.findIndex((e) => e.id === T);
10743
- return e === -1 ? null : pa(J, e, de);
10817
+ return e === -1 ? null : ga(J, e, de);
10744
10818
  }, [
10745
10819
  T,
10746
10820
  J,
@@ -10786,19 +10860,19 @@ var ua = 24, da = { droppable: { strategy: _e.Always } }, fa = a(function({ chil
10786
10860
  }, [J, Y]), Ee = s((e) => {
10787
10861
  let t = e.delta.x;
10788
10862
  if (P.current = t, A.current || _ === 0) return;
10789
- let n = Math.floor(t / ua), r = U.current;
10790
- (n > r || n < r && t < r * ua - ua * .4) && (U.current = n, H(n));
10863
+ let n = Math.floor(t / pa), r = U.current;
10864
+ (n > r || n < r && t < r * pa - pa * .4) && (U.current = n, H(n));
10791
10865
  }, [_]), De = s((e) => {
10792
10866
  let { active: t, over: n } = e, r = A.current, i = B.current, a = U.current;
10793
10867
  E(null), D.current = null, k(!1), A.current = !1, M(null), U.current = 0, H(0), L.current && (q(L.current), L.current = null);
10794
- let o = J.findIndex((e) => e.id === t.id), s = r ? i * ua : a * ua, c = !n || t.id === n.id, l = n?.id ?? null;
10868
+ let o = J.findIndex((e) => e.id === t.id), s = r ? i * pa : a * pa, c = !n || t.id === n.id, l = n?.id ?? null;
10795
10869
  if (r && i > 0 && c && o > 0 && (l = J[o - 1].id), !l || t.id === l) {
10796
10870
  if (o === -1) return;
10797
10871
  let e = J[o];
10798
10872
  if (!e) return;
10799
- let n = aa(J, String(t.id), String(t.id), s, ua, _);
10873
+ let n = ca(J, String(t.id), String(t.id), s, pa, _);
10800
10874
  if (n === e.depth) return;
10801
- let r = [...J], [i] = r.splice(o, 1), a = pa(r, o, n);
10875
+ let r = [...J], [i] = r.splice(o, 1), a = ga(r, o, n);
10802
10876
  if (a && oe.has(a)) return;
10803
10877
  let c = {
10804
10878
  ...i,
@@ -10820,9 +10894,9 @@ var ua = 24, da = { droppable: { strategy: _e.Always } }, fa = a(function({ chil
10820
10894
  let e = J[u];
10821
10895
  g = Math.min(e.depth + 1, _), v = String(l);
10822
10896
  } else {
10823
- g = aa(d, String(t.id), String(l), s, ua, _, p.depth);
10897
+ g = ca(d, String(t.id), String(l), s, pa, _, p.depth);
10824
10898
  let e = d[h];
10825
- v = e && e.depth === g - 1 ? String(l) : pa(d, h, g);
10899
+ v = e && e.depth === g - 1 ? String(l) : ga(d, h, g);
10826
10900
  }
10827
10901
  if (v && oe.has(v)) return;
10828
10902
  let y = {
@@ -10845,24 +10919,24 @@ var ua = 24, da = { droppable: { strategy: _e.Always } }, fa = a(function({ chil
10845
10919
  E(null), D.current = null, k(!1), A.current = !1, M(null), P.current = 0, U.current = 0, H(0), B.current = 0, z(0), L.current && (q(L.current), L.current = null);
10846
10920
  }, [q]), ke = p(() => ({
10847
10921
  onDragStart({ active: e }) {
10848
- let t = J.find((t) => t.id === e.id), n = ia(K, String(e.id));
10922
+ let t = J.find((t) => t.id === e.id), n = sa(K, String(e.id));
10849
10923
  return `Picked up ${n ? c(n) : String(e.id)}. Current position: ${t ? J.indexOf(t) + 1 : "?"} of ${J.length} at depth ${t?.depth ?? 0}.`;
10850
10924
  },
10851
10925
  onDragOver({ active: e, over: t }) {
10852
10926
  if (!t) return;
10853
10927
  let n = J.findIndex((e) => e.id === t.id);
10854
10928
  if (n === -1) return;
10855
- let r = ia(K, String(e.id)), i = r ? c(r) : String(e.id), a = aa(J, String(e.id), String(t.id), P.current, ua, _);
10929
+ let r = sa(K, String(e.id)), i = r ? c(r) : String(e.id), a = ca(J, String(e.id), String(t.id), P.current, pa, _);
10856
10930
  return `Moving ${i}. Target position: ${n + 1} of ${J.length} at depth ${a}.`;
10857
10931
  },
10858
10932
  onDragEnd({ active: e, over: t }) {
10859
- let n = ia(K, String(e.id)), r = n ? c(n) : String(e.id);
10933
+ let n = sa(K, String(e.id)), r = n ? c(n) : String(e.id);
10860
10934
  if (!t || e.id === t.id) return `${r} dropped. No change in position.`;
10861
- let i = J.findIndex((e) => e.id === t.id), a = aa(J, String(e.id), String(t.id), P.current, ua, _);
10935
+ let i = J.findIndex((e) => e.id === t.id), a = ca(J, String(e.id), String(t.id), P.current, pa, _);
10862
10936
  return `${r} dropped at position ${i + 1} of ${J.length} at depth ${a}.`;
10863
10937
  },
10864
10938
  onDragCancel({ active: e }) {
10865
- let t = J.find((t) => t.id === e.id), n = ia(K, String(e.id));
10939
+ let t = J.find((t) => t.id === e.id), n = sa(K, String(e.id));
10866
10940
  return `Sorting cancelled. ${n ? c(n) : String(e.id)} returned to position ${t ? J.indexOf(t) + 1 : "?"} of ${J.length}.`;
10867
10941
  }
10868
10942
  }), [
@@ -10870,14 +10944,14 @@ var ua = 24, da = { droppable: { strategy: _e.Always } }, fa = a(function({ chil
10870
10944
  J,
10871
10945
  c,
10872
10946
  _
10873
- ]), Ae = { columns: i }, je = t.map(n, (t) => o(t) && t.type === oa ? e.cloneElement(t, Ae) : t);
10947
+ ]), Ae = { columns: i }, je = t.map(n, (t) => o(t) && t.type === la ? e.cloneElement(t, Ae) : t);
10874
10948
  return /* @__PURE__ */ e.createElement(me, {
10875
10949
  accessibility: {
10876
10950
  announcements: ke,
10877
10951
  ...x ? { screenReaderInstructions: { draggable: x } } : {}
10878
10952
  },
10879
10953
  collisionDetection: _e,
10880
- measuring: da,
10954
+ measuring: ma,
10881
10955
  onDragCancel: Oe,
10882
10956
  onDragEnd: De,
10883
10957
  onDragMove: Ee,
@@ -10952,14 +11026,14 @@ var ua = 24, da = { droppable: { strategy: _e.Always } }, fa = a(function({ chil
10952
11026
  return o(a) ? e.cloneElement(a, s) : a;
10953
11027
  })()) : null));
10954
11028
  });
10955
- function pa(e, t, n) {
11029
+ function ga(e, t, n) {
10956
11030
  if (n === 0) return null;
10957
11031
  for (let r = t - 1; r >= 0; r--) if (e[r].depth === n - 1) return e[r].id;
10958
11032
  return null;
10959
11033
  }
10960
11034
  //#endregion
10961
11035
  //#region src/components/SortableList/SortableRow.tsx
10962
- var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a = !1, id: o, isDragActive: s = !1, isDragging: c = !1, isDropTarget: l = !1, isExpanded: u = !1, isLocked: d = !1, isProjectedParent: f = !1, onToggleExpand: p, projectedDepthDelta: m, ...h }) => {
11036
+ var _a = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a = !1, id: o, isDragActive: s = !1, isDragging: c = !1, isDropTarget: l = !1, isExpanded: u = !1, isLocked: d = !1, isProjectedParent: f = !1, onToggleExpand: p, projectedDepthDelta: m, ...h }) => {
10963
11037
  let { attributes: g, isDragging: _, listeners: v, setNodeRef: y, transform: b, transition: x } = we({
10964
11038
  attributes: {
10965
11039
  role: "listitem",
@@ -11014,7 +11088,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11014
11088
  key: t.id,
11015
11089
  className: `${w}__cell`
11016
11090
  }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, t.label, ": "), j[t.id] ?? null)) : t));
11017
- }, ha = ({ alignment: t = "left", className: n, componentWidth: r, labelStrings: i = {}, lastChecked: a, onCheck: o, state: s = "default", ...c }) => {
11091
+ }, va = ({ alignment: t = "left", className: n, componentWidth: r, labelStrings: i = {}, lastChecked: a, onCheck: o, state: s = "default", ...c }) => {
11018
11092
  let l = {
11019
11093
  checkForUpdates: "Check for updates",
11020
11094
  checking: "Checking...",
@@ -11055,31 +11129,30 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11055
11129
  className: p,
11056
11130
  onClick: o,
11057
11131
  type: "button"
11058
- }, t === "right" && g, /* @__PURE__ */ e.createElement(bt, {
11132
+ }, t === "right" && g, /* @__PURE__ */ e.createElement(xt, {
11059
11133
  content: l.tooltipContent || l.ariaLabel,
11060
11134
  customTrigger: h,
11061
11135
  triggerIconColor: "default",
11062
11136
  triggerIconSize: "s"
11063
11137
  }), t === "left" && g));
11064
- }, ga = ({ className: t, label: n = null, size: r = "s", type: i = "neutral", ...a }) => {
11065
- let o = "pds-status-indicator", s = `${o}--${i}`, c = r === "s" ? null : `${o}--${r}`;
11138
+ }, ya = ({ className: t, label: n = null, linkContent: r, type: i = "neutral", ...a }) => {
11139
+ let s = "pds-status-indicator", c = `${s}--${i}`, l = /* @__PURE__ */ e.createElement(e.Fragment, null, i === "working" ? /* @__PURE__ */ e.createElement(Rt, {
11140
+ className: `${s}__spinner`,
11141
+ size: "m"
11142
+ }) : /* @__PURE__ */ e.createElement("span", {
11143
+ "aria-hidden": "true",
11144
+ className: `${s}__icon`,
11145
+ role: "img"
11146
+ }), n && /* @__PURE__ */ e.createElement("span", { className: `${s}__label` }, n)), u = o(r) ? r.type : null, d = o(r) && u ? /* @__PURE__ */ e.createElement(u, Object.assign({}, r.props, { children: l })) : r;
11066
11147
  return /* @__PURE__ */ e.createElement("div", {
11067
11148
  className: Z([
11068
- o,
11069
11149
  s,
11070
11150
  c,
11071
11151
  t ?? ""
11072
11152
  ]),
11073
11153
  ...a
11074
- }, i === "working" ? /* @__PURE__ */ e.createElement(Lt, {
11075
- className: `${o}__spinner`,
11076
- size: "m"
11077
- }) : /* @__PURE__ */ e.createElement("span", {
11078
- "aria-hidden": "true",
11079
- className: `${o}__icon`,
11080
- role: "img"
11081
- }), n && /* @__PURE__ */ e.createElement("span", { className: "pds-status-indicator__label" }, n));
11082
- }, _a = ({ className: t, contentAlignment: n = "indented", layoutDirection: r = "vertical", steps: i, ...a }) => {
11154
+ }, r ? d : l);
11155
+ }, ba = ({ className: t, contentAlignment: n = "indented", layoutDirection: r = "vertical", steps: i, ...a }) => {
11083
11156
  let o = "pds-step-list", s = `${o}--${n}`, c = r === "horizontal" ? `${o}--horizontal` : "", l = i.map(({ content: t, header: r }, i) => {
11084
11157
  let a = /* @__PURE__ */ e.createElement("div", { className: `${o}__number` }, /* @__PURE__ */ e.createElement("span", null, i + 1)), s = /* @__PURE__ */ e.createElement("div", { className: `${o}__header` }, r), c = t ? /* @__PURE__ */ e.createElement("div", { className: `${o}__content` }, t) : null, l = `${o}__step`;
11085
11158
  return /* @__PURE__ */ e.createElement("li", {
@@ -11097,7 +11170,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11097
11170
  style: r === "horizontal" ? { "--step-list-columns": i.length } : void 0,
11098
11171
  ...a
11099
11172
  }, l);
11100
- }, va = ({ className: t, steps: n, translatableLabels: r = {
11173
+ }, xa = ({ className: t, steps: n, translatableLabels: r = {
11101
11174
  step: "Step",
11102
11175
  completed: "completed",
11103
11176
  hasError: "has an error",
@@ -11161,7 +11234,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11161
11234
  key: t.id,
11162
11235
  className: `${o}__step`,
11163
11236
  id: `${t.id}--mobile`
11164
- }, /* @__PURE__ */ e.createElement("div", { className: `${o}__progress-indicator` }, /* @__PURE__ */ e.createElement(Zi, {
11237
+ }, /* @__PURE__ */ e.createElement("div", { className: `${o}__progress-indicator` }, /* @__PURE__ */ e.createElement(ea, {
11165
11238
  innerLabel: n,
11166
11239
  label: "Step progress",
11167
11240
  percentage: i,
@@ -11186,7 +11259,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11186
11259
  "data-steps": d,
11187
11260
  ...i
11188
11261
  }, /* @__PURE__ */ e.createElement("div", { className: `${o}__steps` }, h)));
11189
- }, ya = ({ _isFirstStep: t, backButton: n, forwardButton: r, hasError: i, id: a, isComplete: o, isCurrent: s, label: c, stepContent: l, ...u }) => {
11262
+ }, Sa = ({ _isFirstStep: t, backButton: n, forwardButton: r, hasError: i, id: a, isComplete: o, isCurrent: s, label: c, stepContent: l, ...u }) => {
11190
11263
  let d = "pds-vert-stepper", f = `${d}__step`, p = [f];
11191
11264
  return s && p.push(`${f}--current`), o && p.push(`${f}--complete`), i && p.push(`${f}--error`), /* @__PURE__ */ e.createElement("li", {
11192
11265
  className: Z([...p]),
@@ -11203,23 +11276,23 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11203
11276
  viewBox: "0 0 12 12",
11204
11277
  width: "14",
11205
11278
  xmlns: "http://www.w3.org/2000/svg"
11206
- }, /* @__PURE__ */ e.createElement("path", { d: "M9.85474 3.64666C10.1032 3.32078 10.0258 2.86817 9.67727 2.63583C9.32878 2.4035 8.84476 2.47591 8.5963 2.80179L4.8694 7.65977L3.32056 6.21143C3.01724 5.9278 2.52677 5.9278 2.22669 6.21143C1.9266 6.49506 1.92337 6.9537 2.22346 7.23734L4.41765 9.28916C4.57899 9.44003 4.80164 9.51546 5.02751 9.49736C5.25338 9.47925 5.4599 9.37063 5.59219 9.19864L9.85151 3.64666H9.85474Z" }))), /* @__PURE__ */ e.createElement("div", { className: `${d}__step-label` }, c)), /* @__PURE__ */ e.createElement("div", { className: `${d}__step-content` }, /* @__PURE__ */ e.createElement("div", { className: `${d}__step-content-inner` }, l, (n || r) && /* @__PURE__ */ e.createElement("div", { className: `${d}__step-buttons` }, n && !t && /* @__PURE__ */ e.createElement(Wt, {
11279
+ }, /* @__PURE__ */ e.createElement("path", { d: "M9.85474 3.64666C10.1032 3.32078 10.0258 2.86817 9.67727 2.63583C9.32878 2.4035 8.84476 2.47591 8.5963 2.80179L4.8694 7.65977L3.32056 6.21143C3.01724 5.9278 2.52677 5.9278 2.22669 6.21143C1.9266 6.49506 1.92337 6.9537 2.22346 7.23734L4.41765 9.28916C4.57899 9.44003 4.80164 9.51546 5.02751 9.49736C5.25338 9.47925 5.4599 9.37063 5.59219 9.19864L9.85151 3.64666H9.85474Z" }))), /* @__PURE__ */ e.createElement("div", { className: `${d}__step-label` }, c)), /* @__PURE__ */ e.createElement("div", { className: `${d}__step-content` }, /* @__PURE__ */ e.createElement("div", { className: `${d}__step-content-inner` }, l, (n || r) && /* @__PURE__ */ e.createElement("div", { className: `${d}__step-buttons` }, n && !t && /* @__PURE__ */ e.createElement(Gt, {
11207
11280
  ...n,
11208
11281
  size: "s",
11209
11282
  variant: "secondary"
11210
- }), r && /* @__PURE__ */ e.createElement(Wt, {
11283
+ }), r && /* @__PURE__ */ e.createElement(Gt, {
11211
11284
  ...r,
11212
11285
  size: "s",
11213
11286
  variant: "highlight"
11214
11287
  })))));
11215
- }, ba = ({ className: t, labelStrings: n = {
11288
+ }, Ca = ({ className: t, labelStrings: n = {
11216
11289
  step: "Step",
11217
11290
  completed: "completed",
11218
11291
  hasError: "has an error"
11219
11292
  }, steps: r, ...i }) => {
11220
11293
  let a = "pds-vert-stepper", o = r.length, s = r.findIndex((e) => e.isCurrent), c = r.map((t, r) => {
11221
11294
  let i = r + 1, a = r === s, c = r === 0, l = t.isComplete || !1, u = t.hasError && a, d = `${n.step} ${i}`;
11222
- return l && (d = `${n.step} ${i}, ${n.completed}`), u && (d = `${n.step} ${i}, ${n.hasError}`), /* @__PURE__ */ e.createElement(ya, {
11295
+ return l && (d = `${n.step} ${i}, ${n.completed}`), u && (d = `${n.step} ${i}, ${n.hasError}`), /* @__PURE__ */ e.createElement(Sa, {
11223
11296
  key: `s${i}`,
11224
11297
  _isFirstStep: c,
11225
11298
  "aria-current": a ? "step" : null,
@@ -11240,7 +11313,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11240
11313
  className: Z([a, t ?? ""]),
11241
11314
  ...i
11242
11315
  }, /* @__PURE__ */ e.createElement("ol", { className: `${a}__steps` }, r && c));
11243
- }, xa = ({ className: t, closeDetailPanelLabel: n = "Close detail panel", columns: r, currentPage: i, defaultSortKey: a, defaultSortOrder: o = "asc", detailPanelNav: s = !0, detailPanelTitle: c, detailPanelWidth: d, emptyState: f, emptyStateHeading: m = "No results found.", emptyStateMessage: g, footer: _, getPageSizeLabel: v = (e) => `Show ${e} rows per page`, getRowClassName: y, getRowId: b, getSelectRowLabel: x = (e, t) => `Select row ${t}`, getSortLabel: S = (e) => `Sort by ${e}`, inspectedRowId: C, isLoading: w = !1, itemsPerPage: T, loadingRowCount: E = 5, nextDetailPanelRowLabel: D = "Next row", onDetailPanelNext: O, onDetailPanelPrev: k, onPageChange: A, onPageSizeChange: j, onRowInspect: M, onRowSelectionChange: N, onSort: P, pageSizeOptions: F, panel: I, prevDetailPanelRowLabel: L = "Previous row", renderDetailPanel: R, renderDetailPanelFooter: z, rowData: B, selectAllLabel: V = "Select all rows", selectedRows: H, sortKey: U, sortOrder: W, totalItemCount: G, ...K }) => {
11316
+ }, wa = ({ className: t, closeDetailPanelLabel: n = "Close detail panel", columns: r, currentPage: i, defaultSortKey: a, defaultSortOrder: o = "asc", detailPanelNav: s = !0, detailPanelTitle: c, detailPanelWidth: d, emptyState: f, emptyStateHeading: m = "No results found.", emptyStateMessage: g, footer: _, getPageSizeLabel: v = (e) => `Show ${e} rows per page`, getRowClassName: y, getRowId: b, getSelectRowLabel: x = (e, t) => `Select row ${t}`, getSortLabel: S = (e) => `Sort by ${e}`, inspectedRowId: C, isLoading: w = !1, itemsPerPage: T, loadingRowCount: E = 5, nextDetailPanelRowLabel: D = "Next row", onDetailPanelNext: O, onDetailPanelPrev: k, onPageChange: A, onPageSizeChange: j, onRowInspect: M, onRowSelectionChange: N, onSort: P, pageSizeOptions: F, panel: I, prevDetailPanelRowLabel: L = "Previous row", renderDetailPanel: R, renderDetailPanelFooter: z, rowData: B, selectAllLabel: V = "Select all rows", selectedRows: H, sortKey: U, sortOrder: W, totalItemCount: G, ...K }) => {
11244
11317
  let q = "pds-table", J = u(), ee = u(), te = P !== void 0, ne = A !== void 0, re = j !== void 0, ie = ne || T !== void 0 || F !== void 0, [ae, Y] = h({
11245
11318
  key: a ?? "",
11246
11319
  order: a === void 0 ? "asc" : o
@@ -11309,19 +11382,19 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11309
11382
  }, Re = () => {
11310
11383
  let e = new Set(ye);
11311
11384
  Fe || Ie ? Pe.forEach((t) => e.delete(t)) : Pe.forEach((t) => e.add(t)), ge || ve(e), N?.(Array.from(e));
11312
- }, ze = (t) => /* @__PURE__ */ e.createElement("tr", { key: `skeleton-${t}` }, he && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(Jn, {
11385
+ }, ze = (t) => /* @__PURE__ */ e.createElement("tr", { key: `skeleton-${t}` }, he && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(Yn, {
11313
11386
  shape: "rounded",
11314
11387
  size: {
11315
11388
  height: 1,
11316
11389
  width: 1
11317
11390
  }
11318
- })), r.map((n) => /* @__PURE__ */ e.createElement("td", { key: `skeleton-${t}-${n.id}` }, /* @__PURE__ */ e.createElement(Jn, {
11391
+ })), r.map((n) => /* @__PURE__ */ e.createElement("td", { key: `skeleton-${t}-${n.id}` }, /* @__PURE__ */ e.createElement(Yn, {
11319
11392
  shape: "rounded",
11320
11393
  size: { height: 1 }
11321
11394
  })))), Be = () => /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement("td", {
11322
11395
  className: "pds-table__empty-cell",
11323
11396
  colSpan: r.length + +!!he
11324
- }, f ?? /* @__PURE__ */ e.createElement(jn, {
11397
+ }, f ?? /* @__PURE__ */ e.createElement(Mn, {
11325
11398
  heading: m,
11326
11399
  iconName: "emptySet",
11327
11400
  message: g
@@ -11340,7 +11413,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11340
11413
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), we(t, i));
11341
11414
  } : void 0,
11342
11415
  tabIndex: a ? 0 : void 0
11343
- }, he && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(_r, {
11416
+ }, he && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(vr, {
11344
11417
  checked: ye.has(i),
11345
11418
  id: `${ee}-row-${i}`,
11346
11419
  label: x(t, n + 1),
@@ -11354,7 +11427,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11354
11427
  "aria-busy": w,
11355
11428
  className: Z([q, t]),
11356
11429
  ...K
11357
- }, /* @__PURE__ */ e.createElement("thead", null, /* @__PURE__ */ e.createElement("tr", null, he && /* @__PURE__ */ e.createElement("th", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(_r, {
11430
+ }, /* @__PURE__ */ e.createElement("thead", null, /* @__PURE__ */ e.createElement("tr", null, he && /* @__PURE__ */ e.createElement("th", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(vr, {
11358
11431
  checked: Fe,
11359
11432
  id: ee,
11360
11433
  indeterminate: Ie,
@@ -11365,7 +11438,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11365
11438
  key: t.id,
11366
11439
  "aria-sort": t.sortable ? Me(t.id) : void 0
11367
11440
  }, t.sortable ? /* @__PURE__ */ e.createElement("button", {
11368
- "aria-label": S(Ut(t.header)),
11441
+ "aria-label": S(Wt(t.header)),
11369
11442
  className: `${q}__sort-button`,
11370
11443
  onClick: () => je(t.id),
11371
11444
  type: "button"
@@ -11378,7 +11451,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11378
11451
  })), /* @__PURE__ */ e.createElement("span", { className: Z([`${q}__sort-button-bottom`, Ne(t.id, "bottom")]) }, /* @__PURE__ */ e.createElement(Q, {
11379
11452
  iconName: "caretDown",
11380
11453
  size: "m"
11381
- })))) : /* @__PURE__ */ e.createElement("span", null, t.header))))), /* @__PURE__ */ e.createElement("tbody", null, w ? Array.from({ length: E }, (e, t) => ze(t)) : Ae.length === 0 ? Be() : Ae.map((e, t) => Ve(e, t))))), ie && !w && (ne || B.length > 0) && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination" }, F && F.length > 0 && /* @__PURE__ */ e.createElement(Pn, {
11454
+ })))) : /* @__PURE__ */ e.createElement("span", null, t.header))))), /* @__PURE__ */ e.createElement("tbody", null, w ? Array.from({ length: E }, (e, t) => ze(t)) : Ae.length === 0 ? Be() : Ae.map((e, t) => Ve(e, t))))), ie && !w && (ne || B.length > 0) && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination" }, F && F.length > 0 && /* @__PURE__ */ e.createElement(Fn, {
11382
11455
  autoWidth: !0,
11383
11456
  id: J,
11384
11457
  label: "Rows per page",
@@ -11390,12 +11463,12 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11390
11463
  showLabel: !1,
11391
11464
  size: "s",
11392
11465
  value: String(pe)
11393
- }), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination-controls" }, /* @__PURE__ */ e.createElement(Pi, {
11466
+ }), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination-controls" }, /* @__PURE__ */ e.createElement(Li, {
11394
11467
  currentPage: ne ? i ?? 1 : oe,
11395
11468
  itemsPerPage: pe,
11396
11469
  onPageChange: ne ? A : X,
11397
11470
  totalItemCount: ne ? G ?? 0 : B.length
11398
- }))), _ && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__footer" }, _)), R && /* @__PURE__ */ e.createElement("div", { className: Z(["pds-table-wrapper__detail-panel", fe ? "pds-table-wrapper__detail-panel--open" : null]) }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-upper" }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-header" }, c && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-title" }, c), /* @__PURE__ */ e.createElement(Yt, {
11471
+ }))), _ && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__footer" }, _)), R && /* @__PURE__ */ e.createElement("div", { className: Z(["pds-table-wrapper__detail-panel", fe ? "pds-table-wrapper__detail-panel--open" : null]) }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-upper" }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-header" }, c && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-title" }, c), /* @__PURE__ */ e.createElement(Xt, {
11399
11472
  ariaLabel: n,
11400
11473
  onClick: Te,
11401
11474
  size: "s"
@@ -11413,7 +11486,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11413
11486
  onNext: De,
11414
11487
  onPrev: Ee,
11415
11488
  rowId: de
11416
- }) : /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-nav" }, /* @__PURE__ */ e.createElement(qt, {
11489
+ }) : /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-nav" }, /* @__PURE__ */ e.createElement(Jt, {
11417
11490
  hasBorder: !0,
11418
11491
  ariaLabel: L,
11419
11492
  disabled: Se <= 0,
@@ -11421,7 +11494,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11421
11494
  onClick: Ee,
11422
11495
  size: "s",
11423
11496
  variant: "standard"
11424
- }), /* @__PURE__ */ e.createElement(qt, {
11497
+ }), /* @__PURE__ */ e.createElement(Jt, {
11425
11498
  hasBorder: !0,
11426
11499
  ariaLabel: D,
11427
11500
  disabled: Se >= B.length - 1,
@@ -11430,8 +11503,8 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11430
11503
  size: "s",
11431
11504
  variant: "standard"
11432
11505
  }))))));
11433
- return I ? /* @__PURE__ */ e.createElement(Ri, { padding: "none" }, Ue) : Ue;
11434
- }, Sa = [
11506
+ return I ? /* @__PURE__ */ e.createElement(Vi, { padding: "none" }, Ue) : Ue;
11507
+ }, Ta = [
11435
11508
  " ",
11436
11509
  "/",
11437
11510
  ".",
@@ -11449,7 +11522,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11449
11522
  "=",
11450
11523
  "|",
11451
11524
  "~"
11452
- ], Ca = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), wa = (e) => {
11525
+ ], Ea = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), Da = (e) => {
11453
11526
  let t = [];
11454
11527
  return e.forEach((e) => {
11455
11528
  let { id: n, innerText: r } = e;
@@ -11462,18 +11535,18 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11462
11535
  title: r
11463
11536
  });
11464
11537
  }), t;
11465
- }, Ta = (e, t, n) => {
11538
+ }, Oa = (e, t, n) => {
11466
11539
  let [r, i] = h([]);
11467
11540
  return l(() => {
11468
11541
  let r = `#${e} h2:not(.${t}), #${e} h3:not(.${t})`, a = () => {
11469
11542
  let e = Array.from(document.querySelectorAll(r));
11470
11543
  e.forEach((e) => {
11471
- Sa.forEach((t) => {
11472
- e.id.includes(t) && (e.id = e.id.replace(new RegExp(Ca(t), "g"), "-"));
11544
+ Ta.forEach((t) => {
11545
+ e.id.includes(t) && (e.id = e.id.replace(new RegExp(Ea(t), "g"), "-"));
11473
11546
  });
11474
11547
  }), e.forEach((e, t) => {
11475
11548
  e.id || (e.id = `${n}-item-${t}`);
11476
- }), i(wa(e));
11549
+ }), i(Da(e));
11477
11550
  };
11478
11551
  a();
11479
11552
  let o = document.getElementById(e);
@@ -11489,7 +11562,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11489
11562
  t,
11490
11563
  n
11491
11564
  ]), { nestedHeadings: r };
11492
- }, Ea = (e, t) => {
11565
+ }, ka = (e, t) => {
11493
11566
  let [n, r] = h(void 0), i = m({});
11494
11567
  return l(() => {
11495
11568
  let n = `#${e} h2:not(.${t}), #${e} h3:not(.${t})`, a = Array.from(document.querySelectorAll(n));
@@ -11508,7 +11581,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11508
11581
  o.disconnect(), r(void 0);
11509
11582
  };
11510
11583
  }, [e, t]), n;
11511
- }, Da = ({ activeID: t, baseClass: n, headings: r, onLinkClick: i }) => /* @__PURE__ */ e.createElement("ul", { className: `${n}__list ${n}__list--top-level` }, r.map((r) => /* @__PURE__ */ e.createElement("li", {
11584
+ }, Aa = ({ activeID: t, baseClass: n, headings: r, onLinkClick: i }) => /* @__PURE__ */ e.createElement("ul", { className: `${n}__list ${n}__list--top-level` }, r.map((r) => /* @__PURE__ */ e.createElement("li", {
11512
11585
  key: r.id,
11513
11586
  className: `${n}__list-item`
11514
11587
  }, /* @__PURE__ */ e.createElement("a", {
@@ -11524,8 +11597,8 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11524
11597
  className: Z([`${n}__link`, r.id === t ? `${n}__link--active` : null]),
11525
11598
  href: `#${r.id}`,
11526
11599
  onClick: (e) => i(e, r.id)
11527
- }, r.title))))))), Oa = ({ appendIds: t = !1, ariaLabel: n = "Table of contents", className: r, headingLevel: i = "h2", headingText: a = "Table of contents", ignoreClass: o = "pds-toc-ignore", showHeading: s = !1, sourceID: c = "pds-toc-source", ...l }) => {
11528
- let d = "pds-toc", { nestedHeadings: f } = Ta(c, o, u()), p = Ea(c, o), m = (e) => {
11600
+ }, r.title))))))), ja = ({ appendIds: t = !1, ariaLabel: n = "Table of contents", className: r, headingLevel: i = "h2", headingText: a = "Table of contents", ignoreClass: o = "pds-toc-ignore", showHeading: s = !1, sourceID: c = "pds-toc-source", ...l }) => {
11601
+ let d = "pds-toc", { nestedHeadings: f } = Oa(c, o, u()), p = ka(c, o), m = (e) => {
11529
11602
  typeof window < "u" && window.location.hash !== `#${e}` && window.history.pushState({}, "", `#${e}`);
11530
11603
  }, h = (e) => {
11531
11604
  document.querySelector(`#${e}`)?.scrollIntoView({
@@ -11539,17 +11612,17 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11539
11612
  "aria-label": n,
11540
11613
  className: Z([d, r]),
11541
11614
  ...l
11542
- }, a && /* @__PURE__ */ e.createElement(Ht, {
11615
+ }, a && /* @__PURE__ */ e.createElement(Ut, {
11543
11616
  baseClass: d,
11544
11617
  className: `${s ? "" : "visually-hidden"}`,
11545
11618
  level: i
11546
- }, a), /* @__PURE__ */ e.createElement(Da, {
11619
+ }, a), /* @__PURE__ */ e.createElement(Aa, {
11547
11620
  activeID: p,
11548
11621
  baseClass: d,
11549
11622
  headings: f,
11550
11623
  onLinkClick: g
11551
11624
  }));
11552
- }, ka = ({ ariaLabel: t, className: n, defaultSelected: r = 0, onActiveTabChange: i = () => {}, selectedTab: a, tabs: o, ...s }) => {
11625
+ }, Ma = ({ ariaLabel: t, className: n, defaultSelected: r = 0, onActiveTabChange: i = () => {}, selectedTab: a, tabs: o, ...s }) => {
11553
11626
  let c = "pds-tabs", [u, d] = h(a ?? r);
11554
11627
  l(() => {
11555
11628
  a !== void 0 && d(a);
@@ -11623,7 +11696,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11623
11696
  }, /* @__PURE__ */ e.createElement("div", { className: `${c}__tab-label` }, n && /* @__PURE__ */ e.createElement(Q, {
11624
11697
  iconName: n,
11625
11698
  size: "m"
11626
- }), i, a && /* @__PURE__ */ e.createElement(zt, {
11699
+ }), i, a && /* @__PURE__ */ e.createElement(Bt, {
11627
11700
  label: a.label,
11628
11701
  size: "s",
11629
11702
  type: a.type
@@ -11648,7 +11721,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11648
11721
  }, /* @__PURE__ */ e.createElement("div", { className: `${c}__tab-label` }, n && /* @__PURE__ */ e.createElement(Q, {
11649
11722
  iconName: n,
11650
11723
  size: "m"
11651
- }), i, a && /* @__PURE__ */ e.createElement(zt, {
11724
+ }), i, a && /* @__PURE__ */ e.createElement(Bt, {
11652
11725
  label: a.label,
11653
11726
  size: "s",
11654
11727
  type: a.type
@@ -11660,7 +11733,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11660
11733
  className: `${c}__panel-content`,
11661
11734
  hidden: o !== u
11662
11735
  }, r)))));
11663
- }, Aa = [
11736
+ }, Na = [
11664
11737
  "orange",
11665
11738
  "stone",
11666
11739
  "gold",
@@ -11675,7 +11748,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11675
11748
  "rose",
11676
11749
  "red",
11677
11750
  "silver"
11678
- ], ja = [
11751
+ ], Pa = [
11679
11752
  "orange-solid",
11680
11753
  "teal-solid",
11681
11754
  "indigo-solid",
@@ -11686,8 +11759,8 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11686
11759
  "critical-solid",
11687
11760
  "info-solid",
11688
11761
  "discovery-solid"
11689
- ], Ma = (e) => Aa[parseInt(g(e), 16) % Aa.length], Na = (e, t) => e.length > t ? e.slice(0, t) + " ..." : e, Pa = ({ className: t, isRemovable: n, linkContent: r, onRemove: i, removeLabel: a = "Remove tag", size: s = "s", tagColor: c, tagLabel: l, truncationLength: u = 20, ...d }) => {
11690
- let [f, p] = h(!0), m = "pds-tag", g = c ? `${m}--${c}` : `${m}--${Ma(l)}`, _ = s === "m" ? null : `${m}--${s}`, v = f ? null : "pds-tag--hide", y = () => {
11762
+ ], Fa = (e) => Na[parseInt(g(e), 16) % Na.length], Ia = (e, t) => e.length > t ? e.slice(0, t) + " ..." : e, La = ({ className: t, isRemovable: n, linkContent: r, onRemove: i, removeLabel: a = "Remove tag", size: s = "s", tagColor: c, tagLabel: l, truncationLength: u = 20, ...d }) => {
11763
+ let [f, p] = h(!0), m = "pds-tag", g = c ? `${m}--${c}` : `${m}--${Fa(l)}`, _ = s === "m" ? null : `${m}--${s}`, v = f ? null : "pds-tag--hide", y = () => {
11691
11764
  p((e) => !e);
11692
11765
  }, b, x, S;
11693
11766
  if (r && !n && o(r)) {
@@ -11709,7 +11782,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11709
11782
  }, /* @__PURE__ */ e.createElement("span", {
11710
11783
  className: `${m}__label`,
11711
11784
  title: l
11712
- }, u > 0 ? Na(l, u) : l), n ? /* @__PURE__ */ e.createElement("button", {
11785
+ }, u > 0 ? Ia(l, u) : l), n ? /* @__PURE__ */ e.createElement("button", {
11713
11786
  "aria-label": `${a}: ${l}`,
11714
11787
  className: `${m}__remove`,
11715
11788
  onClick: () => {
@@ -11721,43 +11794,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11721
11794
  iconName: "xmark",
11722
11795
  size: "m"
11723
11796
  })) : null);
11724
- }, Fa = {
11725
- light: "sunBright",
11726
- dark: "moon",
11727
- system: "desktop"
11728
- }, Ia = ({ className: t, id: n = "theme-switcher-menu", labelStrings: r = {
11729
- light: "Light",
11730
- dark: "Dark",
11731
- system: "System"
11732
- }, onChange: i, theme: a = "light", ...o }) => {
11733
- let s = r.tooltip ?? "Change theme", c = [
11734
- "light",
11735
- "dark",
11736
- "system"
11737
- ].map((e) => ({
11738
- callback: () => i?.(e),
11739
- iconName: Fa[e],
11740
- iconSize: "m",
11741
- label: r[e]
11742
- }));
11743
- return /* @__PURE__ */ e.createElement("div", {
11744
- className: Z(["pds-theme-switcher", t]),
11745
- ...o
11746
- }, /* @__PURE__ */ e.createElement(bt, {
11747
- content: s,
11748
- customTrigger: /* @__PURE__ */ e.createElement(vn, {
11749
- iconOnly: !0,
11750
- "aria-label": s,
11751
- iconName: Fa[a],
11752
- id: n,
11753
- label: "",
11754
- menuItems: c,
11755
- size: "m"
11756
- }),
11757
- offsetValue: 0,
11758
- preferredPlacement: "top"
11759
- }));
11760
- }, La = ({ backgroundColor: t = "transparent", children: n, className: r, padding: i = "none", ...a }) => {
11797
+ }, Ra = ({ backgroundColor: t = "transparent", children: n, className: r, padding: i = "none", ...a }) => {
11761
11798
  let o = "pds-utility-bar", s = t === "transparent" ? null : `${o}--bg-${t}`, c = i === "none" ? null : `${o}--pad-${i}`, l = Ie(n), u = l["items-left"], d = l["items-right"] ?? l.__unslotted;
11762
11799
  return /* @__PURE__ */ e.createElement("div", {
11763
11800
  className: Z([
@@ -11768,7 +11805,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11768
11805
  ]),
11769
11806
  ...a
11770
11807
  }, /* @__PURE__ */ e.createElement("div", { className: `${o}__layout` }, /* @__PURE__ */ e.createElement("div", { className: `${o}__items-left` }, u), /* @__PURE__ */ e.createElement("div", { className: `${o}__items-right` }, d)));
11771
- }, Ra = () => {
11808
+ }, za = () => {
11772
11809
  let e = typeof window < "u", t = (e) => e >= 1440 ? "xl" : e >= 1280 ? "lg" : e >= 768 ? "md" : "sm", [n, r] = h(e ? t(window.innerWidth) : "lg");
11773
11810
  return l(() => {
11774
11811
  if (!e) return;
@@ -11779,7 +11816,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11779
11816
  window.removeEventListener("resize", n);
11780
11817
  };
11781
11818
  }, []), n;
11782
- }, za = ({ children: t, className: n, drawerContent: r, drawerProps: a, hasDrawerToggle: o, hasSidebarToggle: c, isDrawerOpen: u = !1, isSidebarCollapsed: d, keyboardShortcuts: p = !0, labels: g = {
11819
+ }, Ba = ({ children: t, className: n, drawerContent: r, drawerProps: a, hasDrawerToggle: o, hasSidebarToggle: c, isDrawerOpen: u = !1, isSidebarCollapsed: d, keyboardShortcuts: p = !0, labels: g = {
11783
11820
  collapseSidebar: "Press [ to collapse sidebar",
11784
11821
  drawerToggle: "Open account menu",
11785
11822
  expandSidebar: "Press ] to expand sidebar"
@@ -11799,7 +11836,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11799
11836
  return;
11800
11837
  }
11801
11838
  M(!j);
11802
- }, B = Ra();
11839
+ }, B = za();
11803
11840
  l(() => {
11804
11841
  B === "sm" && !j ? (R.current = !0, S ? S() : M(!0)) : B !== "sm" && R.current && (R.current = !1, S ? S() : M(!1));
11805
11842
  }, [B]);
@@ -11821,9 +11858,9 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11821
11858
  }
11822
11859
  return e.isContentEditable;
11823
11860
  }, []), H = p && c;
11824
- yt("[", (e) => {
11861
+ bt("[", (e) => {
11825
11862
  V() || (e.preventDefault(), j || z());
11826
- }, { enabled: H }), yt("]", (e) => {
11863
+ }, { enabled: H }), bt("]", (e) => {
11827
11864
  V() || (e.preventDefault(), j && z());
11828
11865
  }, { enabled: H });
11829
11866
  let U = m(null);
@@ -11837,7 +11874,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11837
11874
  let t = new ResizeObserver(e);
11838
11875
  return t.observe(document.documentElement), () => t.disconnect();
11839
11876
  }, []);
11840
- let W = Ie(t), G = W.__unslotted, K = W.header, q = W.footer, J = W.sidebar, ee = W.identity, te = W["content-top"], ne = W.navigation, re = W["content-bottom"], ie = ee || te || ne || re, ae = ie ? /* @__PURE__ */ e.createElement(e.Fragment, null, (ee || o) && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-identity` }, ee, o && !j && /* @__PURE__ */ e.createElement(qt, {
11877
+ let W = Ie(t), G = W.__unslotted, K = W.header, q = W.footer, J = W.sidebar, ee = W.identity, te = W["content-top"], ne = W.navigation, re = W["content-bottom"], ie = ee || te || ne || re, ae = ie ? /* @__PURE__ */ e.createElement(e.Fragment, null, (ee || o) && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-identity` }, ee, o && !j && /* @__PURE__ */ e.createElement(Jt, {
11841
11878
  hasBorder: !0,
11842
11879
  ariaLabel: g.drawerToggle,
11843
11880
  className: `${N}__drawer-toggle`,
@@ -11868,7 +11905,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11868
11905
  k?.className
11869
11906
  ]),
11870
11907
  style: L
11871
- }, c && /* @__PURE__ */ e.createElement(bt, {
11908
+ }, c && /* @__PURE__ */ e.createElement(xt, {
11872
11909
  className: `${N}__sidebar-toggle-tooltip`,
11873
11910
  content: j ? g.expandSidebar : g.collapseSidebar,
11874
11911
  customTrigger: /* @__PURE__ */ e.createElement("button", {
@@ -11897,7 +11934,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11897
11934
  n ?? ""
11898
11935
  ]),
11899
11936
  ...A
11900
- }, K ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${N}__header` }, K), /* @__PURE__ */ e.createElement("div", { className: `${N}__body` }, X)) : X), o && /* @__PURE__ */ e.createElement(Oi, {
11937
+ }, K ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${N}__header` }, K), /* @__PURE__ */ e.createElement("div", { className: `${N}__body` }, X)) : X), o && /* @__PURE__ */ e.createElement(ji, {
11901
11938
  ...a,
11902
11939
  isOpen: u,
11903
11940
  placement: "left",
@@ -11905,7 +11942,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11905
11942
  !e && u && x && x();
11906
11943
  }
11907
11944
  }, r));
11908
- }, Ba = ({ children: t, className: n, sidebarWidth: r = "18%", sidebarWidthMax: i = 20, sidebarWidthMin: a = 15, style: o, ...s }) => {
11945
+ }, Va = ({ children: t, className: n, sidebarWidth: r = "18%", sidebarWidthMax: i = 20, sidebarWidthMin: a = 15, style: o, ...s }) => {
11909
11946
  let c = "pds-docs-layout", l = {
11910
11947
  "--docs-sidebar-max-width": `${i}rem`,
11911
11948
  "--docs-sidebar-min-width": `${a}rem`,
@@ -11923,7 +11960,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11923
11960
  },
11924
11961
  ...s
11925
11962
  }, f && /* @__PURE__ */ e.createElement("aside", { className: `${c}__sidebar` }, /* @__PURE__ */ e.createElement("div", { className: `${c}__sidebar-inner` }, f)), /* @__PURE__ */ e.createElement("div", { className: `${c}__content` }, d));
11926
- }, Va = ({ children: t, className: n, gridGap: r = "xl", sidebarLocation: i = "right", sidebarMobileLocation: a = "after", sidebarWidth: o = "33%", sidebarWidthMax: s = 25, sidebarWidthMin: c = 15, ...l }) => {
11963
+ }, Ha = ({ children: t, className: n, gridGap: r = "xl", sidebarLocation: i = "right", sidebarMobileLocation: a = "after", sidebarWidth: o = "33%", sidebarWidthMax: s = 25, sidebarWidthMin: c = 15, ...l }) => {
11927
11964
  let u = "pds-sidebar-layout", d = r === "none" ? "0" : `var(--pds-spacing-${r})`, f = Ie(t);
11928
11965
  return /* @__PURE__ */ e.createElement("div", {
11929
11966
  className: Z([u, n ?? ""]),
@@ -11937,18 +11974,18 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11937
11974
  },
11938
11975
  ...l
11939
11976
  }, /* @__PURE__ */ e.createElement("div", { className: `${u}__main` }, f.__unslotted || f.content), /* @__PURE__ */ e.createElement("div", { className: `${u}__side` }, f.sidebar));
11940
- }, Ha = ({ children: t, className: n, ...r }) => {
11977
+ }, Ua = ({ children: t, className: n, ...r }) => {
11941
11978
  let i = Ie(t), a = i.stepper, o = i.form, s = m(null), [c] = pe(s), l = c.width;
11942
11979
  document.documentElement.style.setProperty("--stepper-layout-max-width", l + "px");
11943
11980
  let u = "pds-stepper-layout";
11944
- return /* @__PURE__ */ e.createElement(Zr, {
11981
+ return /* @__PURE__ */ e.createElement(Qr, {
11945
11982
  className: Z([u, n]),
11946
11983
  ...r
11947
11984
  }, a && /* @__PURE__ */ e.createElement("div", {
11948
11985
  ref: s,
11949
11986
  className: `${u}__stepper-container`
11950
11987
  }, a), o && /* @__PURE__ */ e.createElement("div", { className: `${u}__form-container` }, o));
11951
- }, Ua = ({ children: t, className: n, gridGap: r = "xl", verticalAlign: i = "start", ...a }) => {
11988
+ }, Wa = ({ children: t, className: n, gridGap: r = "xl", verticalAlign: i = "start", ...a }) => {
11952
11989
  let o = "pds-three-item-layout", s = r === "xl" ? "pds-grid" : `pds-grid pds-grid--gap-${r}`, c = `${o}--${i}`, l = Ie(t), u = [
11953
11990
  l["first-item"],
11954
11991
  l["second-item"],
@@ -11966,7 +12003,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11966
12003
  key: n,
11967
12004
  className: "pds-grid-item pds-grid-item--sm-12 pds-grid-item--md-4 pds-grid-item--lg-4"
11968
12005
  }, t)));
11969
- }, Wa = ({ children: t, className: n, gridGap: r = "xl", layoutVariant: i = "equal", verticalAlign: a = "start", ...o }) => {
12006
+ }, Ga = ({ children: t, className: n, gridGap: r = "xl", layoutVariant: i = "equal", verticalAlign: a = "start", ...o }) => {
11970
12007
  let s = "pds-two-item-layout", c = r === "xl" ? "pds-grid" : `pds-grid pds-grid--gap-${r}`, l = `${s}--${a}`, u = ["pds-grid-item--md-6"], d = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], f = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], p = ["pds-grid-item", "pds-grid-item--sm-4"], m, h;
11971
12008
  switch (i) {
11972
12009
  case "equal":
@@ -11987,7 +12024,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
11987
12024
  ]),
11988
12025
  ...o
11989
12026
  }, /* @__PURE__ */ e.createElement("div", { className: m.join(" ").trim() }, _), /* @__PURE__ */ e.createElement("div", { className: h.join(" ").trim() }, v));
11990
- }, Ga = ({ alignContent: t = "flex-start", alignItems: n = "stretch", children: r, className: i, flexDirection: a = "row", flexWrap: o = "nowrap", gap: s = "xl", justifyContent: c = "flex-start", mobileAlignContent: l, mobileAlignItems: u, mobileFlexDirection: d = "column", mobileFlexWrap: f, mobileGap: p, mobileJustifyContent: m, style: h, ...g }) => {
12027
+ }, Ka = ({ alignContent: t = "flex-start", alignItems: n = "stretch", children: r, className: i, flexDirection: a = "row", flexWrap: o = "nowrap", gap: s = "xl", justifyContent: c = "flex-start", mobileAlignContent: l, mobileAlignItems: u, mobileFlexDirection: d = "column", mobileFlexWrap: f, mobileGap: p, mobileJustifyContent: m, style: h, ...g }) => {
11991
12028
  let _ = "pds-flex", v = `${_}-container`, y = {
11992
12029
  "--pds-flex-align-content": t,
11993
12030
  "--pds-flex-align-items": n,
@@ -12013,12 +12050,12 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12013
12050
  },
12014
12051
  ...g
12015
12052
  }, r);
12016
- }, Ka = ({ children: t, mobileMaxWidth: n = 767 }) => (l(() => {
12053
+ }, qa = ({ children: t, mobileMaxWidth: n = 767 }) => (l(() => {
12017
12054
  let e = document.documentElement, t = () => {
12018
12055
  window.innerWidth <= n ? e.setAttribute("data-pds-mobile", "") : e.removeAttribute("data-pds-mobile");
12019
12056
  };
12020
12057
  return t(), window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
12021
- }, [n]), /* @__PURE__ */ e.createElement(_t, null, t)), qa = ({ asContainer: t = !1, children: n, className: r, dense: i = !1, gap: a = "xl", mobileGap: o, stackBelow: s, ...c }) => {
12058
+ }, [n]), /* @__PURE__ */ e.createElement(vt, null, t)), Ja = ({ asContainer: t = !1, children: n, className: r, dense: i = !1, gap: a = "xl", mobileGap: o, stackBelow: s, ...c }) => {
12022
12059
  let l = "pds-grid", u = a === "xl" ? null : `${l}--gap-${a}`, d = i ? `${l}--dense` : null, f = t || s ? `${l}--container` : null, p = s ? `${l}--stack-${s}` : null, m = o ?? a, h = m === a ? null : `${l}-gap-mobile--${m}`;
12023
12060
  return /* @__PURE__ */ e.createElement("div", {
12024
12061
  className: Z([
@@ -12032,7 +12069,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12032
12069
  ]),
12033
12070
  ...c
12034
12071
  }, n);
12035
- }, Ja = ({ children: t, className: n, rowSpanLg: r, rowSpanMd: i, rowSpanSm: a, rowSpanXl: o, spanLg: s, spanMd: c, spanSm: l, spanXl: u, ...d }) => {
12072
+ }, Ya = ({ children: t, className: n, rowSpanLg: r, rowSpanMd: i, rowSpanSm: a, rowSpanXl: o, spanLg: s, spanMd: c, spanSm: l, spanXl: u, ...d }) => {
12036
12073
  let f = "pds-grid-item", p = [
12037
12074
  l ? `${f}--sm-${l}` : null,
12038
12075
  c ? `${f}--md-${c}` : null,
@@ -12051,7 +12088,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12051
12088
  ]),
12052
12089
  ...d
12053
12090
  }, t);
12054
- }, Ya = (e) => {
12091
+ }, Xa = (e) => {
12055
12092
  let t = typeof window < "u", [n, r] = h(((e) => t ? window.matchMedia(e).matches : !1)(e));
12056
12093
  return l(() => {
12057
12094
  if (!t) return;
@@ -12060,7 +12097,7 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12060
12097
  };
12061
12098
  return r(n.matches), n.addEventListener ? (n.addEventListener("change", i), () => n.removeEventListener("change", i)) : (n.addListener(i), () => n.removeListener(i));
12062
12099
  }, [e]), n;
12063
- }, Xa = () => {
12100
+ }, Za = () => {
12064
12101
  let e = typeof window < "u", [t, n] = h(e && window.innerWidth !== void 0 ? window.innerWidth : 1024);
12065
12102
  return l(() => {
12066
12103
  if (!e) return;
@@ -12074,6 +12111,6 @@ var ma = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12074
12111
  }, []), t;
12075
12112
  };
12076
12113
  //#endregion
12077
- export { On as ActionCard, za as AppLayout, Ue as Avatar, We as Badge, pi as Banner, Qn as BarChart, Bt as BranchDiff, Br as Breadcrumb, Wt as Button, Gt as ButtonLink, Yr as ButtonNav, Ir as CTALink, Dn as Callout, kn as Card, An as CardSelect, _r as Checkbox, vr as CheckboxFieldset, yr as CheckboxGroup, Jt as ClipboardButton, Yt as CloseButton, sr as CodeBlock, br as Combobox, Sr as ComboboxMultiselect, jn as CompactEmptyState, lr as ComparisonList, Zr as Container, Er as Datepicker, Ba as DocsLayout, Oi as Drawer, en as Dropdown, Xr as DropdownMenu, Ii as ExpansionPanel, Li as ExpansionPanelGroup, pr as FileDiff, Dr as FileUpload, ln as FilterButton, Ga as FlexContainer, ki as FullScreenOverlay, Ka as GlobalWrapper, qa as Grid, Ja as GridItem, dr as HorizontalEmptyState, Q as Icon, qt as IconButton, gr as IdentityBlock, hi as InlineMessage, Or as InputGroup, er as LineChart, Lr as LinkNewWindow, vi as MIN_AUTO_CLOSE_DURATION, vn as MenuButton, Ai as Modal, Qr as Navbar, Ni as Pagination, Pi as PaginationCompact, Fi as PaginationMini, Ri as Panel, zi as PanelList, Bi as PanelRow, Wi as PantheonLogo, hr as PaymentIcon, zr as Picture, nr as PieChart, Sn as PlatformIcon, qi as Popover, Yi as ProgressBar, Zi as ProgressRing, ir as ProportionBar, kr as RadioGroup, wn as SSOButton, _i as SectionMessage, yn as SegmentedButton, Pn as Select, Nn as SelectOptionGroup, $r as SideNav, ti as SideNavGlobal, ei as SideNavGlobalItem, Va as SidebarLayout, Qi as SiteFooter, ri as SiteMenu, $i as SiteOptionDisplay, ea as SiteSearch, _n as SiteTypeIcon, gn as SiteTypeLabel, Jn as Skeleton, Rr as Skiplink, fa as SortableList, oa as SortableListHeader, ma as SortableRow, Lt as Spinner, bn as SplitButton, Rt as StatusBadge, ha as StatusChecker, ga as StatusIndicator, dn as StatusTypeLabels, _a as StepList, va as Stepper, Ha as StepperLayout, Ar as Switch, ai as TabMenu, xa as Table, Oa as TableOfContents, ka as Tabs, Pa as Tag, Mr as TagsInput, zt as Tally, Fr as TextInput, Nr as Textarea, Ia as ThemeSwitcher, Ua as ThreeItemLayout, Ti as Toast, Ei as ToastType, Si as Toaster, bi as ToasterContext, bt as Tooltip, si as TreeNav, Wa as TwoItemLayout, ci as UserMenu, La as UtilityBar, Tn as UtilityButton, fr as VerticalEmptyState, ba as VerticalStepper, ur as VideoEmbed, li as WorkspaceSelector, wr as getPresetDateRange, Be as iconList, pn as isHeadingItemType, mn as isLinkItemType, hn as isNodeItemType, fn as isSeparatorItemType, Aa as tagColors, ja as tagSolidColors, Ra as useBreakpoint, Kt as useClipboard, Zt as useDropdown, yt as useKeyPress, Ya as useMediaQuery, Di as useToast, Xa as useWindowWidth };
12114
+ export { kn as ActionCard, Ba as AppLayout, Ue as Avatar, We as Badge, gi as Banner, $n as BarChart, Vt as BranchDiff, Vr as Breadcrumb, Gt as Button, Kt as ButtonLink, Xr as ButtonNav, Lr as CTALink, On as Callout, An as Card, jn as CardSelect, vr as Checkbox, yr as CheckboxFieldset, br as CheckboxGroup, Yt as ClipboardButton, Xt as CloseButton, cr as CodeBlock, xr as Combobox, Cr as ComboboxMultiselect, Mn as CompactEmptyState, ur as ComparisonList, Qr as Container, Dr as Datepicker, Va as DocsLayout, ji as Drawer, tn as Dropdown, Zr as DropdownMenu, zi as ExpansionPanel, Bi as ExpansionPanelGroup, mr as FileDiff, Or as FileUpload, un as FilterButton, Ka as FlexContainer, Mi as FullScreenOverlay, qa as GlobalWrapper, Ja as Grid, Ya as GridItem, fr as HorizontalEmptyState, Q as Icon, Jt as IconButton, _r as IdentityBlock, vi as InlineMessage, kr as InputGroup, tr as LineChart, Rr as LinkNewWindow, xi as MIN_AUTO_CLOSE_DURATION, yn as MenuButton, Ni as Modal, $r as Navbar, Ii as Pagination, Li as PaginationCompact, Ri as PaginationMini, Vi as Panel, Hi as PanelList, Ui as PanelRow, qi as PantheonLogo, gr as PaymentIcon, Br as Picture, rr as PieChart, Cn as PlatformIcon, Xi as Popover, Qi as ProgressBar, ea as ProgressRing, ar as ProportionBar, Ar as RadioGroup, Tn as SSOButton, bi as SectionMessage, bn as SegmentedButton, Fn as Select, Pn as SelectOptionGroup, ei as SideNav, ni as SideNavGlobal, ti as SideNavGlobalItem, Ha as SidebarLayout, ta as SiteFooter, ii as SiteMenu, na as SiteOptionDisplay, ra as SiteSearch, vn as SiteTypeIcon, _n as SiteTypeLabel, Yn as Skeleton, zr as Skiplink, ha as SortableList, la as SortableListHeader, _a as SortableRow, Rt as Spinner, xn as SplitButton, zt as StatusBadge, va as StatusChecker, ya as StatusIndicator, fn as StatusTypeLabels, ba as StepList, xa as Stepper, Ua as StepperLayout, jr as Switch, oi as TabMenu, wa as Table, ja as TableOfContents, Ma as Tabs, La as Tag, Nr as TagsInput, Bt as Tally, Ir as TextInput, Pr as Textarea, ui as ThemeSwitcher, Wa as ThreeItemLayout, Oi as Toast, ki as ToastType, Ti as Toaster, Ci as ToasterContext, xt as Tooltip, ci as TreeNav, Ga as TwoItemLayout, di as UserMenu, Ra as UtilityBar, En as UtilityButton, pr as VerticalEmptyState, Ca as VerticalStepper, dr as VideoEmbed, fi as WorkspaceSelector, Tr as getPresetDateRange, Be as iconList, mn as isHeadingItemType, hn as isLinkItemType, gn as isNodeItemType, pn as isSeparatorItemType, Na as tagColors, Pa as tagSolidColors, za as useBreakpoint, qt as useClipboard, Qt as useDropdown, bt as useKeyPress, Xa as useMediaQuery, Ai as useToast, Za as useWindowWidth };
12078
12115
 
12079
12116
  //# sourceMappingURL=index.js.map