@wistia/ui 0.6.33 → 0.6.34

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.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.6.33
3
+ * @license @wistia/ui v0.6.34
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -7552,23 +7552,54 @@ var Card = ({
7552
7552
  );
7553
7553
  Card.displayName = "Card";
7554
7554
 
7555
+ // src/components/Center/Center.tsx
7556
+ import { forwardRef as forwardRef6 } from "react";
7557
+ import styled15 from "styled-components";
7558
+ import { jsx as jsx203 } from "react/jsx-runtime";
7559
+ var StyledCenter = styled15.div`
7560
+ box-sizing: border-box;
7561
+ margin-left: auto;
7562
+ margin-right: auto;
7563
+ max-width: ${({ $maxWidth }) => $maxWidth};
7564
+ ${({ $gutterWidth }) => $gutterWidth && `padding: 0 var(--wui-${$gutterWidth.toString()});`}
7565
+ ${({ $intrinsic }) => $intrinsic && `
7566
+ display: flex;
7567
+ flex-direction: column;
7568
+ align-items: center;
7569
+ `}
7570
+ `;
7571
+ var Center = forwardRef6(
7572
+ ({ maxWidth = "100%", gutterWidth = "space-00", intrinsic = false, children, ...props }, ref) => /* @__PURE__ */ jsx203(
7573
+ StyledCenter,
7574
+ {
7575
+ ref,
7576
+ $gutterWidth: gutterWidth,
7577
+ $intrinsic: intrinsic,
7578
+ $maxWidth: maxWidth,
7579
+ ...props,
7580
+ children
7581
+ }
7582
+ )
7583
+ );
7584
+ Center.displayName = "Center";
7585
+
7555
7586
  // src/components/Checkbox/Checkbox.tsx
7556
- import { forwardRef as forwardRef6, useId } from "react";
7557
- import styled18, { css as css19 } from "styled-components";
7587
+ import { forwardRef as forwardRef7, useId } from "react";
7588
+ import styled19, { css as css19 } from "styled-components";
7558
7589
  import { isNonEmptyString as isNonEmptyString2 } from "@wistia/type-guards";
7559
7590
 
7560
7591
  // src/private/components/FormControlLabel/FormControlLabel.tsx
7561
- import styled17, { css as css18 } from "styled-components";
7592
+ import styled18, { css as css18 } from "styled-components";
7562
7593
  import { isNil as isNil12, isNotNil as isNotNil9 } from "@wistia/type-guards";
7563
7594
 
7564
7595
  // src/private/components/FormControlLabel/FormControlLabelDescription.tsx
7565
- import styled15, { css as css17 } from "styled-components";
7596
+ import styled16, { css as css17 } from "styled-components";
7566
7597
  import { isNil as isNil11 } from "@wistia/type-guards";
7567
- import { jsx as jsx203 } from "react/jsx-runtime";
7598
+ import { jsx as jsx204 } from "react/jsx-runtime";
7568
7599
  var disabledStyle = css17`
7569
7600
  color: var(--wui-color-text-disabled);
7570
7601
  `;
7571
- var StyledFormControlLabelDescription = styled15.div`
7602
+ var StyledFormControlLabelDescription = styled16.div`
7572
7603
  color: var(--wui-color-text-secondary);
7573
7604
  display: block;
7574
7605
  font-size: var(--wui-typography-body-4-size);
@@ -7586,7 +7617,7 @@ var FormControlLabelDescription = ({
7586
7617
  if (isNil11(children)) {
7587
7618
  return null;
7588
7619
  }
7589
- return /* @__PURE__ */ jsx203(
7620
+ return /* @__PURE__ */ jsx204(
7590
7621
  StyledFormControlLabelDescription,
7591
7622
  {
7592
7623
  ...props,
@@ -7598,11 +7629,11 @@ var FormControlLabelDescription = ({
7598
7629
  FormControlLabelDescription.displayName = "FormControlLabelDescription";
7599
7630
 
7600
7631
  // src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
7601
- import styled16 from "styled-components";
7632
+ import styled17 from "styled-components";
7602
7633
  import { isNotNil as isNotNil8 } from "@wistia/type-guards";
7603
- import { jsx as jsx204 } from "react/jsx-runtime";
7604
- var VisuallyHidden = styled16.div({ ...visuallyHiddenStyle });
7605
- var VisuallyHiddenButFocusable = styled16.div({
7634
+ import { jsx as jsx205 } from "react/jsx-runtime";
7635
+ var VisuallyHidden = styled17.div({ ...visuallyHiddenStyle });
7636
+ var VisuallyHiddenButFocusable = styled17.div({
7606
7637
  "&:not(:focus-within)": visuallyHiddenStyle
7607
7638
  });
7608
7639
  var ScreenReaderOnly = ({
@@ -7613,23 +7644,23 @@ var ScreenReaderOnly = ({
7613
7644
  }) => {
7614
7645
  const accessibleText = isNotNil8(text) ? text : children;
7615
7646
  if (focusable) {
7616
- return /* @__PURE__ */ jsx204(VisuallyHiddenButFocusable, { ...otherProps, children: accessibleText });
7647
+ return /* @__PURE__ */ jsx205(VisuallyHiddenButFocusable, { ...otherProps, children: accessibleText });
7617
7648
  }
7618
- return /* @__PURE__ */ jsx204(VisuallyHidden, { ...otherProps, children: accessibleText });
7649
+ return /* @__PURE__ */ jsx205(VisuallyHidden, { ...otherProps, children: accessibleText });
7619
7650
  };
7620
7651
  ScreenReaderOnly.displayName = "ScreenReaderOnly";
7621
7652
 
7622
7653
  // src/private/components/FormControlLabel/FormControlLabel.tsx
7623
- import { jsx as jsx205, jsxs as jsxs13 } from "react/jsx-runtime";
7654
+ import { jsx as jsx206, jsxs as jsxs13 } from "react/jsx-runtime";
7624
7655
  var disabledStyle2 = css18`
7625
7656
  cursor: not-allowed;
7626
7657
  color: var(--wui-color-text-disabled);
7627
7658
  `;
7628
- var StyledLabelWrapper = styled17.div`
7659
+ var StyledLabelWrapper = styled18.div`
7629
7660
  display: flex;
7630
7661
  flex-direction: column;
7631
7662
  `;
7632
- var StyledFormControlLabel = styled17.label`
7663
+ var StyledFormControlLabel = styled18.label`
7633
7664
  cursor: pointer;
7634
7665
  display: flex;
7635
7666
  align-items: center;
@@ -7654,9 +7685,9 @@ var FormControlLabel = ({
7654
7685
  if (isNil12(label)) {
7655
7686
  return null;
7656
7687
  }
7657
- const labelContent = hideLabel ? /* @__PURE__ */ jsx205(ScreenReaderOnly, { children: label }) : /* @__PURE__ */ jsxs13(StyledLabelWrapper, { children: [
7688
+ const labelContent = hideLabel ? /* @__PURE__ */ jsx206(ScreenReaderOnly, { children: label }) : /* @__PURE__ */ jsxs13(StyledLabelWrapper, { children: [
7658
7689
  label,
7659
- /* @__PURE__ */ jsx205(FormControlLabelDescription, { children: description })
7690
+ /* @__PURE__ */ jsx206(FormControlLabelDescription, { children: description })
7660
7691
  ] });
7661
7692
  return /* @__PURE__ */ jsxs13(
7662
7693
  StyledFormControlLabel,
@@ -7674,8 +7705,8 @@ var FormControlLabel = ({
7674
7705
  FormControlLabel.displayName = "FormControlLabel";
7675
7706
 
7676
7707
  // src/components/Checkbox/Checkbox.tsx
7677
- import { jsx as jsx206, jsxs as jsxs14 } from "react/jsx-runtime";
7678
- var CheckIcon = () => /* @__PURE__ */ jsx206(
7708
+ import { jsx as jsx207, jsxs as jsxs14 } from "react/jsx-runtime";
7709
+ var CheckIcon = () => /* @__PURE__ */ jsx207(
7679
7710
  "svg",
7680
7711
  {
7681
7712
  fill: "inherit",
@@ -7683,7 +7714,7 @@ var CheckIcon = () => /* @__PURE__ */ jsx206(
7683
7714
  viewBox: "0 0 10 8",
7684
7715
  width: "10",
7685
7716
  xmlns: "http://www.w3.org/2000/svg",
7686
- children: /* @__PURE__ */ jsx206(
7717
+ children: /* @__PURE__ */ jsx207(
7687
7718
  "path",
7688
7719
  {
7689
7720
  d: "M3.47281 7.19303L0.377565 4.07999C0.191609 3.89297 0.191609 3.58973 0.377565 3.40268L1.05098 2.72537C1.23694 2.53833 1.53847 2.53833 1.72442 2.72537L3.80953 4.82245L8.27558 0.330729C8.46154 0.143704 8.76306 0.143704 8.94902 0.330729L9.62244 1.00804C9.8084 1.19506 9.8084 1.49831 9.62244 1.68535L4.14624 7.19305C3.96027 7.38008 3.65876 7.38008 3.47281 7.19303Z",
@@ -7730,14 +7761,14 @@ var getSizeCss = (size) => {
7730
7761
  if (size === "lg") return sizeLarge;
7731
7762
  return sizeMedium;
7732
7763
  };
7733
- var StyledCheckboxWrapper = styled18.div`
7764
+ var StyledCheckboxWrapper = styled19.div`
7734
7765
  display: flex;
7735
7766
  margin: 0;
7736
7767
 
7737
7768
  /* TODO this solves a problem but potentially causes and a11y issue */
7738
7769
  user-select: none;
7739
7770
  `;
7740
- var StyledCheckboxInput = styled18.div`
7771
+ var StyledCheckboxInput = styled19.div`
7741
7772
  ${({ $size }) => getSizeCss($size)}
7742
7773
  line-height: 0;
7743
7774
  margin: 0;
@@ -7759,7 +7790,7 @@ var StyledCheckboxInput = styled18.div`
7759
7790
  }
7760
7791
  }
7761
7792
  `;
7762
- var StyledHiddenCheckboxInput = styled18.input`
7793
+ var StyledHiddenCheckboxInput = styled19.input`
7763
7794
  ${visuallyHiddenStyle}
7764
7795
 
7765
7796
  /* toggles display of faux-input background-color */
@@ -7773,7 +7804,7 @@ var StyledHiddenCheckboxInput = styled18.input`
7773
7804
  display: block;
7774
7805
  }
7775
7806
  `;
7776
- var Checkbox = forwardRef6(
7807
+ var Checkbox = forwardRef7(
7777
7808
  ({
7778
7809
  checked,
7779
7810
  disabled = false,
@@ -7791,7 +7822,7 @@ var Checkbox = forwardRef6(
7791
7822
  const generatedId = useId();
7792
7823
  const computedId = isNonEmptyString2(id) ? id : `wistia-ui-checkbox-${generatedId}`;
7793
7824
  return /* @__PURE__ */ jsxs14(StyledCheckboxWrapper, { disabled, children: [
7794
- /* @__PURE__ */ jsx206(
7825
+ /* @__PURE__ */ jsx207(
7795
7826
  StyledHiddenCheckboxInput,
7796
7827
  {
7797
7828
  ...props,
@@ -7806,16 +7837,16 @@ var Checkbox = forwardRef6(
7806
7837
  value
7807
7838
  }
7808
7839
  ),
7809
- /* @__PURE__ */ jsx206(
7840
+ /* @__PURE__ */ jsx207(
7810
7841
  FormControlLabel,
7811
7842
  {
7812
- controlSlot: /* @__PURE__ */ jsx206(
7843
+ controlSlot: /* @__PURE__ */ jsx207(
7813
7844
  StyledCheckboxInput,
7814
7845
  {
7815
7846
  $disabled: disabled,
7816
7847
  $size: size,
7817
7848
  "data-wui-faux-input": "true",
7818
- children: /* @__PURE__ */ jsx206(CheckIcon, {})
7849
+ children: /* @__PURE__ */ jsx207(CheckIcon, {})
7819
7850
  }
7820
7851
  ),
7821
7852
  description,
@@ -7868,9 +7899,9 @@ ClickRegion.displayName = "ClickRegion";
7868
7899
  // src/components/Collapsible/Collapsible.tsx
7869
7900
  import { Root } from "@radix-ui/react-collapsible";
7870
7901
  import { isNotNil as isNotNil10 } from "@wistia/type-guards";
7871
- import styled19 from "styled-components";
7872
- import { jsx as jsx207 } from "react/jsx-runtime";
7873
- var StyledRoot = styled19(Root)`
7902
+ import styled20 from "styled-components";
7903
+ import { jsx as jsx208 } from "react/jsx-runtime";
7904
+ var StyledRoot = styled20(Root)`
7874
7905
  &[data-state='closed'] [data-wui-collapsible-content] {
7875
7906
  display: -webkit-box;
7876
7907
  -webkit-box-orient: vertical;
@@ -7886,45 +7917,45 @@ var Collapsible = ({
7886
7917
  const controlProps = {
7887
7918
  ...isNotNil10(onOpenChange) && isNotNil10(isOpen) ? { open: isOpen, onOpenChange } : {}
7888
7919
  };
7889
- return /* @__PURE__ */ jsx207(StyledRoot, { ...controlProps, children });
7920
+ return /* @__PURE__ */ jsx208(StyledRoot, { ...controlProps, children });
7890
7921
  };
7891
7922
  Collapsible.displayName = "Collapsible";
7892
7923
 
7893
7924
  // src/components/Collapsible/CollapsibleTrigger.tsx
7894
7925
  import { Children as Children4 } from "react";
7895
7926
  import { Trigger } from "@radix-ui/react-collapsible";
7896
- import { jsx as jsx208 } from "react/jsx-runtime";
7927
+ import { jsx as jsx209 } from "react/jsx-runtime";
7897
7928
  var CollapsibleTrigger = ({ children }) => {
7898
7929
  Children4.only(children);
7899
- return /* @__PURE__ */ jsx208(Trigger, { asChild: true, children });
7930
+ return /* @__PURE__ */ jsx209(Trigger, { asChild: true, children });
7900
7931
  };
7901
7932
 
7902
7933
  // src/components/Collapsible/CollapsibleContent.tsx
7903
- import styled20 from "styled-components";
7934
+ import styled21 from "styled-components";
7904
7935
  import { Content } from "@radix-ui/react-collapsible";
7905
7936
  import { isNotUndefined as isNotUndefined5 } from "@wistia/type-guards";
7906
- import { Fragment as Fragment4, jsx as jsx209, jsxs as jsxs15 } from "react/jsx-runtime";
7907
- var ClampedContent = styled20.div.attrs({ "data-wui-collapsible-content": true })`
7937
+ import { Fragment as Fragment4, jsx as jsx210, jsxs as jsxs15 } from "react/jsx-runtime";
7938
+ var ClampedContent = styled21.div.attrs({ "data-wui-collapsible-content": true })`
7908
7939
  --wui-collapsible-content-clamp-lines: ${({ $clamp }) => $clamp};
7909
7940
  `;
7910
7941
  var CollapsibleContent = ({ clamp, children }) => {
7911
7942
  if (isNotUndefined5(clamp)) {
7912
- return /* @__PURE__ */ jsx209(ClampedContent, { $clamp: clamp, children });
7943
+ return /* @__PURE__ */ jsx210(ClampedContent, { $clamp: clamp, children });
7913
7944
  }
7914
- return /* @__PURE__ */ jsx209(Content, { children: /* @__PURE__ */ jsxs15(Fragment4, { children: [
7945
+ return /* @__PURE__ */ jsx210(Content, { children: /* @__PURE__ */ jsxs15(Fragment4, { children: [
7915
7946
  children,
7916
7947
  " "
7917
7948
  ] }) });
7918
7949
  };
7919
7950
 
7920
7951
  // src/components/DataCards/DataCard.tsx
7921
- import styled22, { keyframes } from "styled-components";
7952
+ import styled23, { keyframes } from "styled-components";
7922
7953
  import { isNotNull } from "@wistia/type-guards";
7923
7954
 
7924
7955
  // src/components/Heading/Heading.tsx
7925
- import { forwardRef as forwardRef7 } from "react";
7926
- import styled21, { css as css20 } from "styled-components";
7927
- import { jsx as jsx210 } from "react/jsx-runtime";
7956
+ import { forwardRef as forwardRef8 } from "react";
7957
+ import styled22, { css as css20 } from "styled-components";
7958
+ import { jsx as jsx211 } from "react/jsx-runtime";
7928
7959
  var heroStyle = css20`
7929
7960
  --font-family: var(--wui-typography-heading-hero-family);
7930
7961
  --font-size: var(--wui-typography-heading-hero-size);
@@ -7977,7 +8008,7 @@ var variantStyleMap = {
7977
8008
  heading6: heading6TextStyle
7978
8009
  };
7979
8010
  var DEFAULT_ELEMENT2 = "h1";
7980
- var StyledHeading = styled21.div`
8011
+ var StyledHeading = styled22.div`
7981
8012
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
7982
8013
  font-family: var(--font-family);
7983
8014
  font-size: var(--font-size);
@@ -8009,7 +8040,7 @@ var variantElementMap = {
8009
8040
  heading5: "h5",
8010
8041
  heading6: "h6"
8011
8042
  };
8012
- var HeadingComponent = forwardRef7(
8043
+ var HeadingComponent = forwardRef8(
8013
8044
  ({
8014
8045
  align = "left",
8015
8046
  colorScheme = "inherit",
@@ -8020,7 +8051,7 @@ var HeadingComponent = forwardRef7(
8020
8051
  variant = "heading1",
8021
8052
  renderAs,
8022
8053
  ...otherProps
8023
- }, ref) => /* @__PURE__ */ jsx210(
8054
+ }, ref) => /* @__PURE__ */ jsx211(
8024
8055
  StyledHeading,
8025
8056
  {
8026
8057
  ref,
@@ -8040,8 +8071,8 @@ HeadingComponent.displayName = "Heading";
8040
8071
  var Heading = makePolymorphic(HeadingComponent);
8041
8072
 
8042
8073
  // src/components/DataCards/DataCard.tsx
8043
- import { jsx as jsx211, jsxs as jsxs16 } from "react/jsx-runtime";
8044
- var StyledDataCard = styled22.div`
8074
+ import { jsx as jsx212, jsxs as jsxs16 } from "react/jsx-runtime";
8075
+ var StyledDataCard = styled23.div`
8045
8076
  ${({ $colorScheme }) => getColorScheme($colorScheme)}
8046
8077
  display: grid;
8047
8078
  grid-template-areas: 'label slot' 'value value';
@@ -8062,7 +8093,7 @@ var shimmer = keyframes`
8062
8093
  background-position: -200% 0;
8063
8094
  }
8064
8095
  `;
8065
- var LoadingBackground = styled22.div`
8096
+ var LoadingBackground = styled23.div`
8066
8097
  background: linear-gradient(
8067
8098
  90deg,
8068
8099
  var(--wui-color-bg-surface-tertiary) 25%,
@@ -8073,27 +8104,27 @@ var LoadingBackground = styled22.div`
8073
8104
  animation: ${shimmer} 1.5s infinite;
8074
8105
  border-radius: var(--wui-border-radius-01);
8075
8106
  `;
8076
- var StyledLoadingLabel = styled22(LoadingBackground)`
8107
+ var StyledLoadingLabel = styled23(LoadingBackground)`
8077
8108
  width: 80px;
8078
8109
  height: var(--wui-typography-heading-6-line-height);
8079
8110
  `;
8080
- var StyledLoadingValue = styled22(LoadingBackground)`
8111
+ var StyledLoadingValue = styled23(LoadingBackground)`
8081
8112
  width: 90%;
8082
8113
  height: var(--wui-typography-heading-3-line-height);
8083
8114
  `;
8084
- var StyledLabel2 = styled22(Heading)`
8115
+ var StyledLabel2 = styled23(Heading)`
8085
8116
  grid-area: label;
8086
8117
  `;
8087
- var StyledValue = styled22(Heading)`
8118
+ var StyledValue = styled23(Heading)`
8088
8119
  grid-area: value;
8089
8120
  `;
8090
- var StyledSlot = styled22.div`
8121
+ var StyledSlot = styled23.div`
8091
8122
  display: flex;
8092
8123
  justify-content: flex-end;
8093
8124
  grid-area: slot;
8094
8125
  align-self: center;
8095
8126
  `;
8096
- var StyledDataCardTrendContainer = styled22.div`
8127
+ var StyledDataCardTrendContainer = styled23.div`
8097
8128
  position: absolute;
8098
8129
  bottom: var(--wui-space-01);
8099
8130
  right: var(--wui-space-01);
@@ -8112,33 +8143,33 @@ var DataCard = ({
8112
8143
  $colorScheme: colorScheme,
8113
8144
  ...props,
8114
8145
  children: [
8115
- /* @__PURE__ */ jsx211(
8146
+ /* @__PURE__ */ jsx212(
8116
8147
  StyledLabel2,
8117
8148
  {
8118
8149
  renderAs: "dt",
8119
8150
  variant: "heading6",
8120
- children: isLoading ? /* @__PURE__ */ jsx211(StyledLoadingLabel, {}) : label
8151
+ children: isLoading ? /* @__PURE__ */ jsx212(StyledLoadingLabel, {}) : label
8121
8152
  }
8122
8153
  ),
8123
- /* @__PURE__ */ jsx211(
8154
+ /* @__PURE__ */ jsx212(
8124
8155
  StyledValue,
8125
8156
  {
8126
8157
  renderAs: "dd",
8127
8158
  variant: "heading3",
8128
- children: isLoading ? /* @__PURE__ */ jsx211(StyledLoadingValue, {}) : value
8159
+ children: isLoading ? /* @__PURE__ */ jsx212(StyledLoadingValue, {}) : value
8129
8160
  }
8130
8161
  ),
8131
- isNotNull(upperRightSlot) && !isLoading && /* @__PURE__ */ jsx211(StyledSlot, { children: upperRightSlot }),
8132
- isNotNull(trend) && !isLoading && /* @__PURE__ */ jsx211(StyledDataCardTrendContainer, { children: trend })
8162
+ isNotNull(upperRightSlot) && !isLoading && /* @__PURE__ */ jsx212(StyledSlot, { children: upperRightSlot }),
8163
+ isNotNull(trend) && !isLoading && /* @__PURE__ */ jsx212(StyledDataCardTrendContainer, { children: trend })
8133
8164
  ]
8134
8165
  }
8135
8166
  );
8136
8167
  DataCard.displayName = "DataCard";
8137
8168
 
8138
8169
  // src/components/DataCards/DataCards.tsx
8139
- import styled23 from "styled-components";
8140
- import { jsx as jsx212 } from "react/jsx-runtime";
8141
- var StyledDataCards = styled23(Box)`
8170
+ import styled24 from "styled-components";
8171
+ import { jsx as jsx213 } from "react/jsx-runtime";
8172
+ var StyledDataCards = styled24(Box)`
8142
8173
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8143
8174
  margin-top: 0; /* Remove default <dl> style */
8144
8175
  > * {
@@ -8152,7 +8183,7 @@ var DataCards = ({
8152
8183
  colorScheme = "inherit",
8153
8184
  ...props
8154
8185
  }) => {
8155
- return /* @__PURE__ */ jsx212(
8186
+ return /* @__PURE__ */ jsx213(
8156
8187
  StyledDataCards,
8157
8188
  {
8158
8189
  ...props,
@@ -8170,12 +8201,12 @@ var DataCards = ({
8170
8201
  DataCards.displayName = "DataCards";
8171
8202
 
8172
8203
  // src/components/DataCards/DataCardTrend.tsx
8173
- import styled25 from "styled-components";
8204
+ import styled26 from "styled-components";
8174
8205
 
8175
8206
  // src/components/Text/Text.tsx
8176
- import { forwardRef as forwardRef8 } from "react";
8177
- import styled24, { css as css21 } from "styled-components";
8178
- import { jsx as jsx213 } from "react/jsx-runtime";
8207
+ import { forwardRef as forwardRef9 } from "react";
8208
+ import styled25, { css as css21 } from "styled-components";
8209
+ import { jsx as jsx214 } from "react/jsx-runtime";
8179
8210
  var bodyBoldStyles = css21`
8180
8211
  > strong,
8181
8212
  b {
@@ -8295,7 +8326,7 @@ var variantElementMap2 = {
8295
8326
  label3: labelElement,
8296
8327
  label4: labelElement
8297
8328
  };
8298
- var StyledText = styled24.div`
8329
+ var StyledText = styled25.div`
8299
8330
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8300
8331
  --text-color: ${({ $prominence, $disabled }) => {
8301
8332
  if ($disabled) {
@@ -8339,7 +8370,7 @@ var StyledText = styled24.div`
8339
8370
  }
8340
8371
  `}
8341
8372
  `;
8342
- var TextComponent = forwardRef8(
8373
+ var TextComponent = forwardRef9(
8343
8374
  ({
8344
8375
  align = "left",
8345
8376
  colorScheme = "inherit",
@@ -8352,7 +8383,7 @@ var TextComponent = forwardRef8(
8352
8383
  renderAs,
8353
8384
  ...otherProps
8354
8385
  }, ref) => {
8355
- return /* @__PURE__ */ jsx213(
8386
+ return /* @__PURE__ */ jsx214(
8356
8387
  StyledText,
8357
8388
  {
8358
8389
  ref,
@@ -8374,8 +8405,8 @@ TextComponent.displayName = "Text";
8374
8405
  var Text = makePolymorphic(TextComponent);
8375
8406
 
8376
8407
  // src/components/DataCards/DataCardTrend.tsx
8377
- import { jsx as jsx214, jsxs as jsxs17 } from "react/jsx-runtime";
8378
- var StyledDataCardTrend = styled25.div`
8408
+ import { jsx as jsx215, jsxs as jsxs17 } from "react/jsx-runtime";
8409
+ var StyledDataCardTrend = styled26.div`
8379
8410
  ${({ $outlook }) => getColorScheme($outlook === "positive" ? "success" : "error")};
8380
8411
  background: var(--wui-color-bg-app);
8381
8412
  border-radius: var(--wui-border-radius-rounded);
@@ -8391,7 +8422,7 @@ var DataCardTrend = ({
8391
8422
  ...props
8392
8423
  }) => {
8393
8424
  return /* @__PURE__ */ jsxs17(StyledDataCardTrend, { $outlook: outlook, children: [
8394
- /* @__PURE__ */ jsx214(
8425
+ /* @__PURE__ */ jsx215(
8395
8426
  Icon,
8396
8427
  {
8397
8428
  size: "md",
@@ -8399,7 +8430,7 @@ var DataCardTrend = ({
8399
8430
  ...props
8400
8431
  }
8401
8432
  ),
8402
- /* @__PURE__ */ jsx214(
8433
+ /* @__PURE__ */ jsx215(
8403
8434
  Text,
8404
8435
  {
8405
8436
  prominence: "secondary",
@@ -8411,8 +8442,8 @@ var DataCardTrend = ({
8411
8442
  };
8412
8443
 
8413
8444
  // src/components/Divider/Divider.tsx
8414
- import styled26, { css as css22 } from "styled-components";
8415
- import { jsx as jsx215 } from "react/jsx-runtime";
8445
+ import styled27, { css as css22 } from "styled-components";
8446
+ import { jsx as jsx216 } from "react/jsx-runtime";
8416
8447
  var horizontalBorderCss = css22`
8417
8448
  border-top-color: var(--wui-color-border);
8418
8449
  border-top-style: solid;
@@ -8426,7 +8457,7 @@ var verticalBorderCss = css22`
8426
8457
  min-height: 100%;
8427
8458
  width: 1px;
8428
8459
  `;
8429
- var DividerComponent = styled26.div`
8460
+ var DividerComponent = styled27.div`
8430
8461
  ${({ $orientation }) => {
8431
8462
  switch ($orientation) {
8432
8463
  case "vertical":
@@ -8441,7 +8472,7 @@ var Divider = ({
8441
8472
  orientation = "horizontal",
8442
8473
  ...otherProps
8443
8474
  }) => {
8444
- return /* @__PURE__ */ jsx215(
8475
+ return /* @__PURE__ */ jsx216(
8445
8476
  DividerComponent,
8446
8477
  {
8447
8478
  $orientation: orientation,
@@ -8454,7 +8485,7 @@ var Divider = ({
8454
8485
  Divider.displayName = "Divider";
8455
8486
 
8456
8487
  // src/components/EditableHeading/EditableHeading.tsx
8457
- import styled29, { css as css25 } from "styled-components";
8488
+ import styled30, { css as css25 } from "styled-components";
8458
8489
  import { useState as useState6, useRef as useRef4 } from "react";
8459
8490
 
8460
8491
  // src/components/Tooltip/Tooltip.tsx
@@ -8465,8 +8496,8 @@ import {
8465
8496
  Portal as TooltipPortal,
8466
8497
  Arrow as TooltipArrow
8467
8498
  } from "@radix-ui/react-tooltip";
8468
- import styled27, { css as css23 } from "styled-components";
8469
- import { jsx as jsx216, jsxs as jsxs18 } from "react/jsx-runtime";
8499
+ import styled28, { css as css23 } from "styled-components";
8500
+ import { jsx as jsx217, jsxs as jsxs18 } from "react/jsx-runtime";
8470
8501
  var CompactTooltipStyles = css23`
8471
8502
  --tooltip-font-size: var(--wui-typography-label-4-size);
8472
8503
  --tooltip-line-height: var(--wui-typography-label-4-line-height);
@@ -8474,7 +8505,7 @@ var CompactTooltipStyles = css23`
8474
8505
  --tooltip-horizontal-padding: var(--wui-space-02);
8475
8506
  --tooltip-vertical-padding: var(--wui-space-03);
8476
8507
  `;
8477
- var StyledContent = styled27(TooltipContent)`
8508
+ var StyledContent = styled28(TooltipContent)`
8478
8509
  --tooltip-font-family: var(--wui-typography-family-default);
8479
8510
  --tooltip-border-radius: var(--wui-border-radius-05);
8480
8511
  --tooltip-bg: var(--wui-color-bg-tooltip);
@@ -8539,8 +8570,8 @@ var Tooltip = ({
8539
8570
  delayDuration: delay,
8540
8571
  ...rootProps,
8541
8572
  children: [
8542
- /* @__PURE__ */ jsx216(TooltipTrigger, { asChild: true, children }),
8543
- /* @__PURE__ */ jsx216(TooltipPortal, { children: /* @__PURE__ */ jsxs18(
8573
+ /* @__PURE__ */ jsx217(TooltipTrigger, { asChild: true, children }),
8574
+ /* @__PURE__ */ jsx217(TooltipPortal, { children: /* @__PURE__ */ jsxs18(
8544
8575
  StyledContent,
8545
8576
  {
8546
8577
  $compact: compact,
@@ -8548,7 +8579,7 @@ var Tooltip = ({
8548
8579
  sideOffset: hideArrow ? VISUAL_OFFSET : VISUAL_OFFSET - 2,
8549
8580
  children: [
8550
8581
  content,
8551
- !hideArrow ? /* @__PURE__ */ jsx216(TooltipArrow, { asChild: true, children: /* @__PURE__ */ jsx216(
8582
+ !hideArrow ? /* @__PURE__ */ jsx217(TooltipArrow, { asChild: true, children: /* @__PURE__ */ jsx217(
8552
8583
  "svg",
8553
8584
  {
8554
8585
  fill: "var(--tooltip-bg)",
@@ -8557,7 +8588,7 @@ var Tooltip = ({
8557
8588
  viewBox: "0 0 12 8",
8558
8589
  width: "12",
8559
8590
  xmlns: "http://www.w3.org/2000/svg",
8560
- children: /* @__PURE__ */ jsx216("path", { d: "M6.8 6.93333C6.4 7.46667 5.6 7.46667 5.2 6.93333L-2.54292e-07 -1.04907e-06L12 0L6.8 6.93333Z" })
8591
+ children: /* @__PURE__ */ jsx217("path", { d: "M6.8 6.93333C6.4 7.46667 5.6 7.46667 5.2 6.93333L-2.54292e-07 -1.04907e-06L12 0L6.8 6.93333Z" })
8561
8592
  }
8562
8593
  ) }) : null
8563
8594
  ]
@@ -8570,10 +8601,10 @@ var Tooltip = ({
8570
8601
  Tooltip.displayName = "Tooltip";
8571
8602
 
8572
8603
  // src/components/Input/Input.tsx
8573
- import { forwardRef as forwardRef9, cloneElement as cloneElement4, useRef as useRef3 } from "react";
8574
- import styled28, { css as css24 } from "styled-components";
8604
+ import { forwardRef as forwardRef10, cloneElement as cloneElement4, useRef as useRef3 } from "react";
8605
+ import styled29, { css as css24 } from "styled-components";
8575
8606
  import { isNil as isNil13, isNotNil as isNotNil11, isRecord as isRecord4 } from "@wistia/type-guards";
8576
- import { jsx as jsx217, jsxs as jsxs19 } from "react/jsx-runtime";
8607
+ import { jsx as jsx218, jsxs as jsxs19 } from "react/jsx-runtime";
8577
8608
  var inputStyles = css24`
8578
8609
  --wui-input-color-bg: var(--wui-color-bg-surface);
8579
8610
  --wui-input-color-bg-disabled: var(--wui-color-bg-surface-disabled);
@@ -8615,7 +8646,7 @@ var inputStyles = css24`
8615
8646
  }
8616
8647
  }
8617
8648
  `;
8618
- var StyledInputContainer = styled28.div`
8649
+ var StyledInputContainer = styled29.div`
8619
8650
  display: inline-flex;
8620
8651
  position: relative;
8621
8652
  ${inputStyles};
@@ -8659,7 +8690,7 @@ var StyledInputContainer = styled28.div`
8659
8690
  padding-right: 32px;
8660
8691
  }
8661
8692
  `;
8662
- var Input = forwardRef9(
8693
+ var Input = forwardRef10(
8663
8694
  ({
8664
8695
  fullWidth = true,
8665
8696
  monospace = false,
@@ -8676,7 +8707,7 @@ var Input = forwardRef9(
8676
8707
  );
8677
8708
  let leftIconToDisplay = leftIcon;
8678
8709
  if (isNil13(leftIcon) && type === "search") {
8679
- leftIconToDisplay = /* @__PURE__ */ jsx217(Icon, { type: "search" });
8710
+ leftIconToDisplay = /* @__PURE__ */ jsx218(Icon, { type: "search" });
8680
8711
  }
8681
8712
  if (isNotNil11(leftIconToDisplay)) {
8682
8713
  leftIconToDisplay = cloneElement4(leftIconToDisplay, {
@@ -8708,14 +8739,14 @@ var Input = forwardRef9(
8708
8739
  $monospace: monospace,
8709
8740
  children: [
8710
8741
  leftIconToDisplay ?? null,
8711
- type === "multiline" ? /* @__PURE__ */ jsx217(
8742
+ type === "multiline" ? /* @__PURE__ */ jsx218(
8712
8743
  "textarea",
8713
8744
  {
8714
8745
  ...props,
8715
8746
  ref,
8716
8747
  onFocus: handleFocus
8717
8748
  }
8718
- ) : /* @__PURE__ */ jsx217(
8749
+ ) : /* @__PURE__ */ jsx218(
8719
8750
  "input",
8720
8751
  {
8721
8752
  ...props,
@@ -8733,8 +8764,8 @@ var Input = forwardRef9(
8733
8764
  Input.displayName = "Input";
8734
8765
 
8735
8766
  // src/components/EditableHeading/EditableHeading.tsx
8736
- import { Fragment as Fragment5, jsx as jsx218, jsxs as jsxs20 } from "react/jsx-runtime";
8737
- var StyledInput = styled29(Input)`
8767
+ import { Fragment as Fragment5, jsx as jsx219, jsxs as jsxs20 } from "react/jsx-runtime";
8768
+ var StyledInput = styled30(Input)`
8738
8769
  :not([rows]) {
8739
8770
  min-height: unset;
8740
8771
  }
@@ -8764,7 +8795,7 @@ var editableStyles = css25`
8764
8795
  cursor: pointer;
8765
8796
  }
8766
8797
  `;
8767
- var StyledHeading2 = styled29(Heading)`
8798
+ var StyledHeading2 = styled30(Heading)`
8768
8799
  width: 100%;
8769
8800
  border-radius: var(--wui-border-radius-02);
8770
8801
  padding: var(--wui-space-02);
@@ -8818,7 +8849,7 @@ var EditableHeading = ({
8818
8849
  handleSetEditing(false);
8819
8850
  }
8820
8851
  };
8821
- const HeadingComponent2 = /* @__PURE__ */ jsx218(
8852
+ const HeadingComponent2 = /* @__PURE__ */ jsx219(
8822
8853
  StyledHeading2,
8823
8854
  {
8824
8855
  ref: headingRef,
@@ -8832,7 +8863,7 @@ var EditableHeading = ({
8832
8863
  return HeadingComponent2;
8833
8864
  }
8834
8865
  if (isEditing || forceEditing) {
8835
- return /* @__PURE__ */ jsx218(
8866
+ return /* @__PURE__ */ jsx219(
8836
8867
  StyledInput,
8837
8868
  {
8838
8869
  $height: headingHeight,
@@ -8851,7 +8882,7 @@ var EditableHeading = ({
8851
8882
  );
8852
8883
  }
8853
8884
  return /* @__PURE__ */ jsxs20(Fragment5, { children: [
8854
- /* @__PURE__ */ jsx218(
8885
+ /* @__PURE__ */ jsx219(
8855
8886
  Tooltip,
8856
8887
  {
8857
8888
  compact: true,
@@ -8859,7 +8890,7 @@ var EditableHeading = ({
8859
8890
  children: HeadingComponent2
8860
8891
  }
8861
8892
  ),
8862
- /* @__PURE__ */ jsx218(ScreenReaderOnly, { children: /* @__PURE__ */ jsx218(
8893
+ /* @__PURE__ */ jsx219(ScreenReaderOnly, { children: /* @__PURE__ */ jsx219(
8863
8894
  "button",
8864
8895
  {
8865
8896
  "aria-label": ariaLabel,
@@ -8871,27 +8902,27 @@ var EditableHeading = ({
8871
8902
  };
8872
8903
 
8873
8904
  // src/components/Form/Form.tsx
8874
- import { forwardRef as forwardRef11, useRef as useRef5, useMemo as useMemo4, createContext as createContext2, useState as useState7, useId as useId2 } from "react";
8875
- import styled31 from "styled-components";
8905
+ import { forwardRef as forwardRef12, useRef as useRef5, useMemo as useMemo4, createContext as createContext2, useState as useState7, useId as useId2 } from "react";
8906
+ import styled32 from "styled-components";
8876
8907
  import { isNotUndefined as isNotUndefined6, isUndefined as isUndefined3 } from "@wistia/type-guards";
8877
8908
 
8878
8909
  // src/components/Stack/Stack.tsx
8879
- import { forwardRef as forwardRef10 } from "react";
8880
- import styled30 from "styled-components";
8881
- import { jsx as jsx219 } from "react/jsx-runtime";
8910
+ import { forwardRef as forwardRef11 } from "react";
8911
+ import styled31 from "styled-components";
8912
+ import { jsx as jsx220 } from "react/jsx-runtime";
8882
8913
  var DEFAULT_ELEMENT4 = "div";
8883
- var StyledStack = styled30.div`
8914
+ var StyledStack = styled31.div`
8884
8915
  display: flex;
8885
8916
  flex-direction: ${({ $direction }) => $direction === "horizontal" ? "row" : "column"};
8886
8917
  gap: ${({ $gap }) => `var(--wui-${$gap})`};
8887
8918
  align-items: ${({ $alignItems }) => $alignItems};
8888
8919
  `;
8889
- var StackComponent = forwardRef10(
8920
+ var StackComponent = forwardRef11(
8890
8921
  ({ renderAs, direction = "vertical", gap = "space-02", alignItems = "stretch", ...props }, ref) => {
8891
8922
  const responsiveGap = useResponsiveProp(gap);
8892
8923
  const responsiveDirection = useResponsiveProp(direction);
8893
8924
  const responsiveAlignItems = useResponsiveProp(alignItems);
8894
- return /* @__PURE__ */ jsx219(
8925
+ return /* @__PURE__ */ jsx220(
8895
8926
  StyledStack,
8896
8927
  {
8897
8928
  ref,
@@ -8908,8 +8939,8 @@ StackComponent.displayName = "Stack";
8908
8939
  var Stack = makePolymorphic(StackComponent);
8909
8940
 
8910
8941
  // src/components/Form/Form.tsx
8911
- import { jsx as jsx220 } from "react/jsx-runtime";
8912
- var StyledForm = styled31.form`
8942
+ import { jsx as jsx221 } from "react/jsx-runtime";
8943
+ var StyledForm = styled32.form`
8913
8944
  --form-default-width: 690px;
8914
8945
 
8915
8946
  max-width: ${({ $fullWidth }) => $fullWidth ? "auto" : "var(--form-default-width)"};
@@ -8988,7 +9019,7 @@ var FormComponent = ({
8988
9019
  }, [labelPosition, values, errors, id, hasSubmitted]);
8989
9020
  return (
8990
9021
  // @ts-expect-error - generic context providers are a giant pain
8991
- /* @__PURE__ */ jsx220(FormContext.Provider, { value: context, children: /* @__PURE__ */ jsx220(
9022
+ /* @__PURE__ */ jsx221(FormContext.Provider, { value: context, children: /* @__PURE__ */ jsx221(
8992
9023
  Stack,
8993
9024
  {
8994
9025
  ...props,
@@ -9006,7 +9037,7 @@ var FormComponent = ({
9006
9037
  );
9007
9038
  };
9008
9039
  FormComponent.displayName = "Form";
9009
- var Form = forwardRef11(FormComponent);
9040
+ var Form = forwardRef12(FormComponent);
9010
9041
 
9011
9042
  // src/components/Form/useFormState.tsx
9012
9043
  import { useCallback as useCallback6, useState as useState8 } from "react";
@@ -9047,9 +9078,9 @@ var useFormState = (action, initialData = {}) => {
9047
9078
  // src/components/Form/FormErrorSummary.tsx
9048
9079
  import { useContext as useContext2, useRef as useRef6 } from "react";
9049
9080
  import { isArray, isNotUndefined as isNotUndefined7 } from "@wistia/type-guards";
9050
- import { jsx as jsx221, jsxs as jsxs21 } from "react/jsx-runtime";
9081
+ import { jsx as jsx222, jsxs as jsxs21 } from "react/jsx-runtime";
9051
9082
  var ErrorItem = ({ name, error, formId }) => {
9052
- return /* @__PURE__ */ jsx221("li", { children: /* @__PURE__ */ jsx221(Link, { href: `#${formId}-${name}`, children: error }) }, name);
9083
+ return /* @__PURE__ */ jsx222("li", { children: /* @__PURE__ */ jsx222(Link, { href: `#${formId}-${name}`, children: error }) }, name);
9053
9084
  };
9054
9085
  var FormErrorSummary = ({ description }) => {
9055
9086
  const ref = useRef6(null);
@@ -9059,9 +9090,9 @@ var FormErrorSummary = ({ description }) => {
9059
9090
  return null;
9060
9091
  }
9061
9092
  return /* @__PURE__ */ jsxs21("div", { ref, children: [
9062
- /* @__PURE__ */ jsx221("p", { children: description }),
9063
- /* @__PURE__ */ jsx221("ul", { children: Object.entries(errors).filter(([, error]) => isNotUndefined7(error)).map(
9064
- ([name, error]) => isArray(error) ? error.map((err) => /* @__PURE__ */ jsx221(
9093
+ /* @__PURE__ */ jsx222("p", { children: description }),
9094
+ /* @__PURE__ */ jsx222("ul", { children: Object.entries(errors).filter(([, error]) => isNotUndefined7(error)).map(
9095
+ ([name, error]) => isArray(error) ? error.map((err) => /* @__PURE__ */ jsx222(
9065
9096
  ErrorItem,
9066
9097
  {
9067
9098
  error: err,
@@ -9069,7 +9100,7 @@ var FormErrorSummary = ({ description }) => {
9069
9100
  name
9070
9101
  },
9071
9102
  err
9072
- )) : /* @__PURE__ */ jsx221(
9103
+ )) : /* @__PURE__ */ jsx222(
9073
9104
  ErrorItem,
9074
9105
  {
9075
9106
  error: error ?? "",
@@ -9084,12 +9115,12 @@ var FormErrorSummary = ({ description }) => {
9084
9115
 
9085
9116
  // src/components/FormField/FormField.tsx
9086
9117
  import { Children as Children5, cloneElement as cloneElement5, useContext as useContext3 } from "react";
9087
- import styled34 from "styled-components";
9118
+ import styled35 from "styled-components";
9088
9119
  import { isArray as isArray2, isNotNil as isNotNil12, isNotUndefined as isNotUndefined8, isUndefined as isUndefined4 } from "@wistia/type-guards";
9089
9120
 
9090
9121
  // src/components/Label/Label.tsx
9091
- import styled32, { css as css26 } from "styled-components";
9092
- import { jsx as jsx222 } from "react/jsx-runtime";
9122
+ import styled33, { css as css26 } from "styled-components";
9123
+ import { jsx as jsx223 } from "react/jsx-runtime";
9093
9124
  var requiredStyle = css26`
9094
9125
  &::after {
9095
9126
  color: var(--wui-color-text-error);
@@ -9101,7 +9132,7 @@ var requiredStyle = css26`
9101
9132
  var disabledStyle3 = css26`
9102
9133
  color: var(--wui-color-text-disabled);
9103
9134
  `;
9104
- var StyledLabel3 = styled32.label`
9135
+ var StyledLabel3 = styled33.label`
9105
9136
  display: block;
9106
9137
  width: 100%;
9107
9138
  color: var(--wui-color-text);
@@ -9133,7 +9164,7 @@ var Label = ({
9133
9164
  screenReaderOnly = false,
9134
9165
  ...otherProps
9135
9166
  }) => {
9136
- return /* @__PURE__ */ jsx222(
9167
+ return /* @__PURE__ */ jsx223(
9137
9168
  StyledLabel3,
9138
9169
  {
9139
9170
  ...otherProps,
@@ -9151,13 +9182,13 @@ Label.displayName = "Label";
9151
9182
  import { createContext as createContext3, useMemo as useMemo5 } from "react";
9152
9183
 
9153
9184
  // src/components/FormGroup/FormGroup.tsx
9154
- import styled33 from "styled-components";
9185
+ import styled34 from "styled-components";
9155
9186
  import { useRef as useRef7 } from "react";
9156
- import { jsx as jsx223, jsxs as jsxs22 } from "react/jsx-runtime";
9157
- var StyledFieldset = styled33.fieldset`
9187
+ import { jsx as jsx224, jsxs as jsxs22 } from "react/jsx-runtime";
9188
+ var StyledFieldset = styled34.fieldset`
9158
9189
  border: 0;
9159
9190
  `;
9160
- var StyledLegend = styled33.legend`
9191
+ var StyledLegend = styled34.legend`
9161
9192
  margin-bottom: var(--space-01);
9162
9193
  `;
9163
9194
  var FormGroup = ({ children, label, ...props }) => {
@@ -9169,7 +9200,7 @@ var FormGroup = ({ children, label, ...props }) => {
9169
9200
  ref,
9170
9201
  renderAs: StyledFieldset,
9171
9202
  children: [
9172
- /* @__PURE__ */ jsx223(
9203
+ /* @__PURE__ */ jsx224(
9173
9204
  Heading,
9174
9205
  {
9175
9206
  renderAs: StyledLegend,
@@ -9185,7 +9216,7 @@ var FormGroup = ({ children, label, ...props }) => {
9185
9216
  FormGroup.displayName = "FormGroup";
9186
9217
 
9187
9218
  // src/components/FormGroup/CheckboxGroup.tsx
9188
- import { jsx as jsx224 } from "react/jsx-runtime";
9219
+ import { jsx as jsx225 } from "react/jsx-runtime";
9189
9220
  var CheckboxGroupContext = createContext3(null);
9190
9221
  var CheckboxGroup = ({
9191
9222
  children,
@@ -9200,13 +9231,13 @@ var CheckboxGroup = ({
9200
9231
  onChange
9201
9232
  };
9202
9233
  }, [name, onChange]);
9203
- return /* @__PURE__ */ jsx224(CheckboxGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx224(FormGroup, { ...props, children }) });
9234
+ return /* @__PURE__ */ jsx225(CheckboxGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx225(FormGroup, { ...props, children }) });
9204
9235
  };
9205
9236
  CheckboxGroup.displayName = "CheckboxGroup";
9206
9237
 
9207
9238
  // src/components/FormField/FormField.tsx
9208
- import { Fragment as Fragment6, jsx as jsx225, jsxs as jsxs23 } from "react/jsx-runtime";
9209
- var StyledFormField = styled34.div`
9239
+ import { Fragment as Fragment6, jsx as jsx226, jsxs as jsxs23 } from "react/jsx-runtime";
9240
+ var StyledFormField = styled35.div`
9210
9241
  --form-field-spacing: var(--wui-space-01);
9211
9242
  --form-field-spacing-inline: var(--wui-space-02);
9212
9243
  --form-field-error-color: var(--wui-color-text-secondary-error);
@@ -9236,7 +9267,7 @@ var StyledFormField = styled34.div`
9236
9267
  grid-template-rows: 1fr;
9237
9268
  }
9238
9269
  `;
9239
- var StyledErrorList = styled34.ul`
9270
+ var StyledErrorList = styled35.ul`
9240
9271
  margin: 0;
9241
9272
  padding: 0;
9242
9273
  padding-left: var(--wui-space-04);
@@ -9246,7 +9277,7 @@ var StyledErrorList = styled34.ul`
9246
9277
  `;
9247
9278
  var ErrorMessages = ({ errors, id }) => {
9248
9279
  const isMultipleErrors = isArray2(errors);
9249
- return isMultipleErrors ? /* @__PURE__ */ jsx225(StyledErrorList, { children: errors.map((error, index) => /* @__PURE__ */ jsx225(
9280
+ return isMultipleErrors ? /* @__PURE__ */ jsx226(StyledErrorList, { children: errors.map((error, index) => /* @__PURE__ */ jsx226(
9250
9281
  Text,
9251
9282
  {
9252
9283
  colorScheme: "error",
@@ -9256,7 +9287,7 @@ var ErrorMessages = ({ errors, id }) => {
9256
9287
  children: error
9257
9288
  },
9258
9289
  `${id}-${index}`
9259
- )) }) : /* @__PURE__ */ jsx225(
9290
+ )) }) : /* @__PURE__ */ jsx226(
9260
9291
  Text,
9261
9292
  {
9262
9293
  colorScheme: "error",
@@ -9325,12 +9356,12 @@ var FormField = ({
9325
9356
  ...props,
9326
9357
  "data-label-position": labelPosition ?? formState.labelPosition,
9327
9358
  children: [
9328
- !isIntegratedLabel && /* @__PURE__ */ jsx225(Label, { htmlFor: computedId, children: label }),
9329
- isNotNil12(description) ? /* @__PURE__ */ jsx225(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
9359
+ !isIntegratedLabel && /* @__PURE__ */ jsx226(Label, { htmlFor: computedId, children: label }),
9360
+ isNotNil12(description) ? /* @__PURE__ */ jsx226(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
9330
9361
  cloneElement5(children, childProps),
9331
9362
  isNotNil12(computedError) ? /* @__PURE__ */ jsxs23(Fragment6, { children: [
9332
- /* @__PURE__ */ jsx225("div", {}),
9333
- /* @__PURE__ */ jsx225(
9363
+ /* @__PURE__ */ jsx226("div", {}),
9364
+ /* @__PURE__ */ jsx226(
9334
9365
  ErrorMessages,
9335
9366
  {
9336
9367
  errors: computedError,
@@ -9346,7 +9377,7 @@ FormField.displayName = "FormField";
9346
9377
 
9347
9378
  // src/components/FormGroup/RadioGroup.tsx
9348
9379
  import { createContext as createContext4, useMemo as useMemo6 } from "react";
9349
- import { jsx as jsx226 } from "react/jsx-runtime";
9380
+ import { jsx as jsx227 } from "react/jsx-runtime";
9350
9381
  var RadioGroupContext = createContext4(null);
9351
9382
  var RadioGroup = ({
9352
9383
  children,
@@ -9361,15 +9392,15 @@ var RadioGroup = ({
9361
9392
  onChange
9362
9393
  };
9363
9394
  }, [name, onChange]);
9364
- return /* @__PURE__ */ jsx226(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx226(FormGroup, { ...props, children }) });
9395
+ return /* @__PURE__ */ jsx227(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx227(FormGroup, { ...props, children }) });
9365
9396
  };
9366
9397
  RadioGroup.displayName = "RadioGroup";
9367
9398
 
9368
9399
  // src/components/IconButton/IconButton.tsx
9369
- import { Children as Children6, cloneElement as cloneElement6, forwardRef as forwardRef12 } from "react";
9370
- import styled35 from "styled-components";
9371
- import { jsx as jsx227 } from "react/jsx-runtime";
9372
- var StyledButton2 = styled35(Button)`
9400
+ import { Children as Children6, cloneElement as cloneElement6, forwardRef as forwardRef13 } from "react";
9401
+ import styled36 from "styled-components";
9402
+ import { jsx as jsx228 } from "react/jsx-runtime";
9403
+ var StyledButton2 = styled36(Button)`
9373
9404
  --icon-button-size-sm: 24px;
9374
9405
  --icon-button-size-md: 32px;
9375
9406
  --icon-button-size-lg: 40px;
@@ -9383,10 +9414,10 @@ var StyledButton2 = styled35(Button)`
9383
9414
  align-items: center;
9384
9415
  line-height: 1;
9385
9416
  `;
9386
- var IconButton = forwardRef12(
9417
+ var IconButton = forwardRef13(
9387
9418
  ({ children, label, size = "md", ...props }, ref) => {
9388
9419
  const responsiveSize = useResponsiveProp(size);
9389
- return /* @__PURE__ */ jsx227(
9420
+ return /* @__PURE__ */ jsx228(
9390
9421
  StyledButton2,
9391
9422
  {
9392
9423
  ...props,
@@ -9404,9 +9435,9 @@ var IconButton = forwardRef12(
9404
9435
  IconButton.displayName = "IconButton";
9405
9436
 
9406
9437
  // src/components/Image/Image.tsx
9407
- import styled36 from "styled-components";
9438
+ import styled37 from "styled-components";
9408
9439
  import { isNotNil as isNotNil13 } from "@wistia/type-guards";
9409
- import { jsx as jsx228 } from "react/jsx-runtime";
9440
+ import { jsx as jsx229 } from "react/jsx-runtime";
9410
9441
  var getFillStyle2 = (fillContainer) => {
9411
9442
  if (fillContainer === "horizontal") {
9412
9443
  return "width: 100%;";
@@ -9422,7 +9453,7 @@ var getFillStyle2 = (fillContainer) => {
9422
9453
  }
9423
9454
  return void 0;
9424
9455
  };
9425
- var StyledImage = styled36.img`
9456
+ var StyledImage = styled37.img`
9426
9457
  border-radius: ${({ $borderRadius }) => isNotNil13($borderRadius) ? `var(--wui-${$borderRadius})` : void 0};
9427
9458
  ${({ $fillContainer }) => getFillStyle2($fillContainer)};
9428
9459
  object-fit: ${({ $objFit }) => $objFit};
@@ -9437,7 +9468,7 @@ var Image = ({
9437
9468
  loading = "lazy",
9438
9469
  position: objPosition,
9439
9470
  ...otherProps
9440
- }) => /* @__PURE__ */ jsx228(
9471
+ }) => /* @__PURE__ */ jsx229(
9441
9472
  StyledImage,
9442
9473
  {
9443
9474
  $borderRadius: borderRadius,
@@ -9453,7 +9484,7 @@ var Image = ({
9453
9484
  Image.displayName = "Image";
9454
9485
 
9455
9486
  // src/components/Menu/Menu.tsx
9456
- import styled37, { css as css27, keyframes as keyframes2 } from "styled-components";
9487
+ import styled38, { css as css27, keyframes as keyframes2 } from "styled-components";
9457
9488
  import {
9458
9489
  DropdownMenu,
9459
9490
  DropdownMenuTrigger,
@@ -9469,7 +9500,7 @@ var MenuContext = createContext5({ compact: false });
9469
9500
  var useMenuContext = () => useContext4(MenuContext);
9470
9501
 
9471
9502
  // src/components/Menu/Menu.tsx
9472
- import { jsx as jsx229, jsxs as jsxs24 } from "react/jsx-runtime";
9503
+ import { jsx as jsx230, jsxs as jsxs24 } from "react/jsx-runtime";
9473
9504
  var open = keyframes2`
9474
9505
  from {
9475
9506
  opacity: 0;
@@ -9554,7 +9585,7 @@ var menuContentCss = css27`
9554
9585
  margin: var(--menu-divider-margin) 0;
9555
9586
  }
9556
9587
  `;
9557
- var MenuContent = styled37(DropdownMenuContent)`
9588
+ var MenuContent = styled38(DropdownMenuContent)`
9558
9589
  ${menuContentCss}
9559
9590
  `;
9560
9591
  var Menu = ({
@@ -9580,24 +9611,24 @@ var Menu = ({
9580
9611
  onOpenChange: () => null
9581
9612
  };
9582
9613
  }
9583
- return /* @__PURE__ */ jsx229(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs24(
9614
+ return /* @__PURE__ */ jsx230(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs24(
9584
9615
  DropdownMenu,
9585
9616
  {
9586
9617
  modal: false,
9587
9618
  ...controlProps,
9588
9619
  children: [
9589
- /* @__PURE__ */ jsx229(DropdownMenuTrigger, { asChild: true, children: isNotUndefined9(trigger) ? trigger : /* @__PURE__ */ jsx229(
9620
+ /* @__PURE__ */ jsx230(DropdownMenuTrigger, { asChild: true, children: isNotUndefined9(trigger) ? trigger : /* @__PURE__ */ jsx230(
9590
9621
  Button,
9591
9622
  {
9592
9623
  "aria-expanded": isOpen,
9593
9624
  disabled,
9594
9625
  forceState: isOpen ? "active" : void 0,
9595
- rightIcon: /* @__PURE__ */ jsx229(Icon, { type: "caret-down" }),
9626
+ rightIcon: /* @__PURE__ */ jsx230(Icon, { type: "caret-down" }),
9596
9627
  ...triggerProps,
9597
9628
  children: label
9598
9629
  }
9599
9630
  ) }),
9600
- /* @__PURE__ */ jsx229(DropdownMenuPortal, { children: /* @__PURE__ */ jsx229(
9631
+ /* @__PURE__ */ jsx230(DropdownMenuPortal, { children: /* @__PURE__ */ jsx230(
9601
9632
  MenuContent,
9602
9633
  {
9603
9634
  ...props,
@@ -9617,19 +9648,19 @@ var Menu = ({
9617
9648
  Menu.displayName = "Menu";
9618
9649
 
9619
9650
  // src/components/Menu/MenuLabel.tsx
9620
- import styled38 from "styled-components";
9651
+ import styled39 from "styled-components";
9621
9652
  import { DropdownMenuLabel } from "@radix-ui/react-dropdown-menu";
9622
- import { jsx as jsx230 } from "react/jsx-runtime";
9623
- var StyledMenuLabel = styled38(DropdownMenuLabel)`
9653
+ import { jsx as jsx231 } from "react/jsx-runtime";
9654
+ var StyledMenuLabel = styled39(DropdownMenuLabel)`
9624
9655
  padding: var(--wui-space-02);
9625
9656
  `;
9626
9657
  var MenuLabel = ({ children, ...props }) => {
9627
- return /* @__PURE__ */ jsx230(
9658
+ return /* @__PURE__ */ jsx231(
9628
9659
  StyledMenuLabel,
9629
9660
  {
9630
9661
  asChild: true,
9631
9662
  ...props,
9632
- children: /* @__PURE__ */ jsx230(
9663
+ children: /* @__PURE__ */ jsx231(
9633
9664
  Heading,
9634
9665
  {
9635
9666
  renderAs: "span",
@@ -9645,7 +9676,7 @@ MenuLabel.displayName = "MenuLabel";
9645
9676
 
9646
9677
  // src/components/Menu/SubMenu.tsx
9647
9678
  import { useState as useState9 } from "react";
9648
- import styled41 from "styled-components";
9679
+ import styled42 from "styled-components";
9649
9680
  import {
9650
9681
  DropdownMenuPortal as DropdownMenuPortal2,
9651
9682
  DropdownMenuSub,
@@ -9657,11 +9688,11 @@ import {
9657
9688
  import { isNotNil as isNotNil16 } from "@wistia/type-guards";
9658
9689
 
9659
9690
  // src/components/Menu/MenuItemButton.tsx
9660
- import { forwardRef as forwardRef13 } from "react";
9661
- import styled39 from "styled-components";
9691
+ import { forwardRef as forwardRef14 } from "react";
9692
+ import styled40 from "styled-components";
9662
9693
  import { isNotNil as isNotNil15, isNotUndefined as isNotUndefined10 } from "@wistia/type-guards";
9663
- import { jsx as jsx231, jsxs as jsxs25 } from "react/jsx-runtime";
9664
- var StyledButton3 = styled39(Button)`
9694
+ import { jsx as jsx232, jsxs as jsxs25 } from "react/jsx-runtime";
9695
+ var StyledButton3 = styled40(Button)`
9665
9696
  ${({ colorScheme }) => getColorScheme(colorScheme)};
9666
9697
 
9667
9698
  display: flex;
@@ -9700,7 +9731,7 @@ var StyledButton3 = styled39(Button)`
9700
9731
  padding-left: var(--wui-space-04);
9701
9732
  }
9702
9733
  `;
9703
- var StyledLeftIconContainer = styled39.div`
9734
+ var StyledLeftIconContainer = styled40.div`
9704
9735
  height: var(--menu-item-left-icon-size);
9705
9736
  width: var(--menu-item-left-icon-size);
9706
9737
 
@@ -9711,7 +9742,7 @@ var StyledLeftIconContainer = styled39.div`
9711
9742
  }
9712
9743
  }
9713
9744
  `;
9714
- var StyledRightIconContainer = styled39.div`
9745
+ var StyledRightIconContainer = styled40.div`
9715
9746
  height: var(--menu-item-right-icon-size);
9716
9747
  width: var(--menu-item-right-icon-size);
9717
9748
 
@@ -9722,19 +9753,19 @@ var StyledRightIconContainer = styled39.div`
9722
9753
  }
9723
9754
  }
9724
9755
  `;
9725
- var StyledLabelAndDescriptionContainer = styled39.div`
9756
+ var StyledLabelAndDescriptionContainer = styled40.div`
9726
9757
  display: flex;
9727
9758
  flex-direction: column;
9728
9759
  gap: var(--menu-label-description-gap);
9729
9760
  flex-basis: 100%;
9730
9761
  `;
9731
- var StyledBadgeContainer = styled39.div`
9762
+ var StyledBadgeContainer = styled40.div`
9732
9763
  align-self: start;
9733
9764
  justify-self: end;
9734
9765
  font-size: var(--wui-typography-label-4-size);
9735
9766
  color: var(--wui-color-text-secondary);
9736
9767
  `;
9737
- var MenuItemButton = forwardRef13(({ children, appearance, command, icon, ...props }, ref) => {
9768
+ var MenuItemButton = forwardRef14(({ children, appearance, command, icon, ...props }, ref) => {
9738
9769
  let { colorScheme, badge } = props;
9739
9770
  if (appearance === "dangerous") {
9740
9771
  if (isNotUndefined10(colorScheme)) {
@@ -9743,7 +9774,7 @@ var MenuItemButton = forwardRef13(({ children, appearance, command, icon, ...pro
9743
9774
  colorScheme = "error";
9744
9775
  }
9745
9776
  if (appearance === "gated") {
9746
- badge = /* @__PURE__ */ jsx231(
9777
+ badge = /* @__PURE__ */ jsx232(
9747
9778
  Icon,
9748
9779
  {
9749
9780
  colorScheme: "purple",
@@ -9765,10 +9796,10 @@ var MenuItemButton = forwardRef13(({ children, appearance, command, icon, ...pro
9765
9796
  fullWidth: true,
9766
9797
  unstyled: true,
9767
9798
  children: [
9768
- props.leftIcon ? /* @__PURE__ */ jsx231(StyledLeftIconContainer, { children: props.leftIcon }) : null,
9769
- /* @__PURE__ */ jsx231(StyledLabelAndDescriptionContainer, { children }),
9770
- isNotNil15(badge) || isNotNil15(command) ? /* @__PURE__ */ jsx231(StyledBadgeContainer, { children: badge ?? command }) : null,
9771
- props.rightIcon ? /* @__PURE__ */ jsx231(StyledRightIconContainer, { children: props.rightIcon }) : null
9799
+ props.leftIcon ? /* @__PURE__ */ jsx232(StyledLeftIconContainer, { children: props.leftIcon }) : null,
9800
+ /* @__PURE__ */ jsx232(StyledLabelAndDescriptionContainer, { children }),
9801
+ isNotNil15(badge) || isNotNil15(command) ? /* @__PURE__ */ jsx232(StyledBadgeContainer, { children: badge ?? command }) : null,
9802
+ props.rightIcon ? /* @__PURE__ */ jsx232(StyledRightIconContainer, { children: props.rightIcon }) : null
9772
9803
  ]
9773
9804
  }
9774
9805
  );
@@ -9776,33 +9807,33 @@ var MenuItemButton = forwardRef13(({ children, appearance, command, icon, ...pro
9776
9807
  MenuItemButton.displayName = "MenuItemButton";
9777
9808
 
9778
9809
  // src/components/Menu/MenuItemLabelDescription.tsx
9779
- import styled40 from "styled-components";
9780
- import { jsx as jsx232 } from "react/jsx-runtime";
9781
- var StyledMenuItemLabel = styled40.span``;
9782
- var StyledMenuItemDescription = styled40(Text).attrs({
9810
+ import styled41 from "styled-components";
9811
+ import { jsx as jsx233 } from "react/jsx-runtime";
9812
+ var StyledMenuItemLabel = styled41.span``;
9813
+ var StyledMenuItemDescription = styled41(Text).attrs({
9783
9814
  variant: "body4",
9784
9815
  prominence: "secondary"
9785
9816
  })``;
9786
9817
  var MenuItemLabel = ({ children }) => {
9787
- return /* @__PURE__ */ jsx232(StyledMenuItemLabel, { children });
9818
+ return /* @__PURE__ */ jsx233(StyledMenuItemLabel, { children });
9788
9819
  };
9789
9820
  var MenuItemDescription = ({ children }) => {
9790
- return /* @__PURE__ */ jsx232(StyledMenuItemDescription, { children });
9821
+ return /* @__PURE__ */ jsx233(StyledMenuItemDescription, { children });
9791
9822
  };
9792
9823
 
9793
9824
  // src/components/Menu/SubMenu.tsx
9794
- import { jsx as jsx233, jsxs as jsxs26 } from "react/jsx-runtime";
9795
- var SubMenuContent = styled41(DropdownMenuSubContent)`
9825
+ import { jsx as jsx234, jsxs as jsxs26 } from "react/jsx-runtime";
9826
+ var SubMenuContent = styled42(DropdownMenuSubContent)`
9796
9827
  ${menuContentCss}
9797
9828
 
9798
9829
  ${mq.smAndDown} {
9799
9830
  transform: translateX(-100%) !important;
9800
9831
  }
9801
9832
  `;
9802
- var StyledMobileSubMenuItems = styled41.div`
9833
+ var StyledMobileSubMenuItems = styled42.div`
9803
9834
  margin-left: var(--wui-space-04);
9804
9835
  `;
9805
- var StyledSubTrigger = styled41(DropdownMenuSubTrigger)`
9836
+ var StyledSubTrigger = styled42(DropdownMenuSubTrigger)`
9806
9837
  outline: none;
9807
9838
 
9808
9839
  &[data-state='open'],
@@ -9813,12 +9844,12 @@ var StyledSubTrigger = styled41(DropdownMenuSubTrigger)`
9813
9844
  var SubMenuTrigger = ({ icon, ...props }) => {
9814
9845
  const { isSmAndUp } = useMq();
9815
9846
  const Trigger4 = isSmAndUp ? StyledSubTrigger : DropdownMenuItem;
9816
- return /* @__PURE__ */ jsx233(Trigger4, { asChild: true, children: /* @__PURE__ */ jsx233(
9847
+ return /* @__PURE__ */ jsx234(Trigger4, { asChild: true, children: /* @__PURE__ */ jsx234(
9817
9848
  MenuItemButton,
9818
9849
  {
9819
9850
  ...props,
9820
9851
  leftIcon: icon,
9821
- rightIcon: /* @__PURE__ */ jsx233(Icon, { type: "caret-right" })
9852
+ rightIcon: /* @__PURE__ */ jsx234(Icon, { type: "caret-right" })
9822
9853
  }
9823
9854
  ) });
9824
9855
  };
@@ -9834,10 +9865,10 @@ var SubMenu = ({
9834
9865
  const { compact } = useMenuContext();
9835
9866
  return isSmAndUp ? /* @__PURE__ */ jsxs26(DropdownMenuSub, { onOpenChange, children: [
9836
9867
  /* @__PURE__ */ jsxs26(SubMenuTrigger, { ...props, children: [
9837
- /* @__PURE__ */ jsx233(MenuItemLabel, { children: label }),
9838
- isNotNil16(description) ? /* @__PURE__ */ jsx233(MenuItemDescription, { children: description }) : null
9868
+ /* @__PURE__ */ jsx234(MenuItemLabel, { children: label }),
9869
+ isNotNil16(description) ? /* @__PURE__ */ jsx234(MenuItemDescription, { children: description }) : null
9839
9870
  ] }),
9840
- /* @__PURE__ */ jsx233(DropdownMenuPortal2, { children: /* @__PURE__ */ jsx233(SubMenuContent, { $compact: compact, children }) })
9871
+ /* @__PURE__ */ jsx234(DropdownMenuPortal2, { children: /* @__PURE__ */ jsx234(SubMenuContent, { $compact: compact, children }) })
9841
9872
  ] }) : /* @__PURE__ */ jsxs26(DropdownMenuGroup, { children: [
9842
9873
  /* @__PURE__ */ jsxs26(
9843
9874
  SubMenuTrigger,
@@ -9848,28 +9879,28 @@ var SubMenu = ({
9848
9879
  setIsExpanded((prev) => !prev);
9849
9880
  },
9850
9881
  children: [
9851
- /* @__PURE__ */ jsx233(MenuItemLabel, { children: label }),
9852
- /* @__PURE__ */ jsx233(MenuItemDescription, { children: description })
9882
+ /* @__PURE__ */ jsx234(MenuItemLabel, { children: label }),
9883
+ /* @__PURE__ */ jsx234(MenuItemDescription, { children: description })
9853
9884
  ]
9854
9885
  }
9855
9886
  ),
9856
- /* @__PURE__ */ jsx233(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
9887
+ /* @__PURE__ */ jsx234(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
9857
9888
  ] });
9858
9889
  };
9859
9890
  SubMenu.displayName = "SubMenu";
9860
9891
 
9861
9892
  // src/components/Menu/MenuItem.tsx
9862
- import { forwardRef as forwardRef14 } from "react";
9893
+ import { forwardRef as forwardRef15 } from "react";
9863
9894
  import { DropdownMenuItem as DropdownMenuItem2 } from "@radix-ui/react-dropdown-menu";
9864
- import { jsx as jsx234 } from "react/jsx-runtime";
9865
- var MenuItem = forwardRef14(
9895
+ import { jsx as jsx235 } from "react/jsx-runtime";
9896
+ var MenuItem = forwardRef15(
9866
9897
  ({ onSelect = () => null, ...props }, ref) => {
9867
- return /* @__PURE__ */ jsx234(
9898
+ return /* @__PURE__ */ jsx235(
9868
9899
  DropdownMenuItem2,
9869
9900
  {
9870
9901
  asChild: true,
9871
9902
  onSelect,
9872
- children: /* @__PURE__ */ jsx234(
9903
+ children: /* @__PURE__ */ jsx235(
9873
9904
  MenuItemButton,
9874
9905
  {
9875
9906
  ...props,
@@ -9887,10 +9918,10 @@ MenuItem.displayName = "MenuItem";
9887
9918
  import {
9888
9919
  DropdownMenuRadioGroup
9889
9920
  } from "@radix-ui/react-dropdown-menu";
9890
- import { jsx as jsx235, jsxs as jsxs27 } from "react/jsx-runtime";
9921
+ import { jsx as jsx236, jsxs as jsxs27 } from "react/jsx-runtime";
9891
9922
  var MenuRadioGroup = ({ children, label, ...props }) => {
9892
9923
  return /* @__PURE__ */ jsxs27(DropdownMenuRadioGroup, { ...props, children: [
9893
- /* @__PURE__ */ jsx235(MenuLabel, { children: label }),
9924
+ /* @__PURE__ */ jsx236(MenuLabel, { children: label }),
9894
9925
  children
9895
9926
  ] });
9896
9927
  };
@@ -9901,11 +9932,11 @@ import {
9901
9932
  DropdownMenuItemIndicator,
9902
9933
  DropdownMenuRadioItem
9903
9934
  } from "@radix-ui/react-dropdown-menu";
9904
- import { jsx as jsx236 } from "react/jsx-runtime";
9935
+ import { jsx as jsx237 } from "react/jsx-runtime";
9905
9936
  var RadioMenuItem = ({
9906
9937
  onSelect,
9907
9938
  value,
9908
- indicator = /* @__PURE__ */ jsx236(
9939
+ indicator = /* @__PURE__ */ jsx237(
9909
9940
  Icon,
9910
9941
  {
9911
9942
  size: "sm",
@@ -9915,17 +9946,17 @@ var RadioMenuItem = ({
9915
9946
  ...props
9916
9947
  }) => {
9917
9948
  const extraProps = onSelect ? { onSelect } : {};
9918
- return /* @__PURE__ */ jsx236(
9949
+ return /* @__PURE__ */ jsx237(
9919
9950
  DropdownMenuRadioItem,
9920
9951
  {
9921
9952
  ...extraProps,
9922
9953
  asChild: true,
9923
9954
  value,
9924
- children: /* @__PURE__ */ jsx236(
9955
+ children: /* @__PURE__ */ jsx237(
9925
9956
  MenuItemButton,
9926
9957
  {
9927
9958
  ...props,
9928
- rightIcon: /* @__PURE__ */ jsx236(DropdownMenuItemIndicator, { children: indicator })
9959
+ rightIcon: /* @__PURE__ */ jsx237(DropdownMenuItemIndicator, { children: indicator })
9929
9960
  }
9930
9961
  )
9931
9962
  }
@@ -9937,7 +9968,7 @@ RadioMenuItem.displayName = "RadioMenuItem";
9937
9968
  import {
9938
9969
  DropdownMenuCheckboxItem
9939
9970
  } from "@radix-ui/react-dropdown-menu";
9940
- import { jsx as jsx237, jsxs as jsxs28 } from "react/jsx-runtime";
9971
+ import { jsx as jsx238, jsxs as jsxs28 } from "react/jsx-runtime";
9941
9972
  var CheckboxIndicator = ({ checked, ...props }) => {
9942
9973
  return checked ? /* @__PURE__ */ jsxs28(
9943
9974
  "svg",
@@ -9949,14 +9980,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
9949
9980
  width: "24",
9950
9981
  xmlns: "http://www.w3.org/2000/svg",
9951
9982
  children: [
9952
- /* @__PURE__ */ jsx237(
9983
+ /* @__PURE__ */ jsx238(
9953
9984
  "path",
9954
9985
  {
9955
9986
  d: "m4 8c0-2.20914 1.79086-4 4-4h8c2.2091 0 4 1.79086 4 4v8c0 2.2091-1.7909 4-4 4h-8c-2.20914 0-4-1.7909-4-4z",
9956
9987
  fill: "#2949e5"
9957
9988
  }
9958
9989
  ),
9959
- /* @__PURE__ */ jsx237(
9990
+ /* @__PURE__ */ jsx238(
9960
9991
  "path",
9961
9992
  {
9962
9993
  d: "m10.4728 15.1931-3.09523-3.1131c-.18596-.187-.18596-.4902 0-.6773l.67341-.6773c.18596-.187.48749-.187.67344 0l2.08508 2.0971 4.4661-4.49174c.1859-.18703.4875-.18703.6734 0l.6734.67731c.186.18703.186.49027 0 .67731l-5.4762 5.50772c-.1859.187-.4874.187-.6734 0z",
@@ -9975,14 +10006,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
9975
10006
  width: "24",
9976
10007
  xmlns: "http://www.w3.org/2000/svg",
9977
10008
  children: [
9978
- /* @__PURE__ */ jsx237(
10009
+ /* @__PURE__ */ jsx238(
9979
10010
  "path",
9980
10011
  {
9981
10012
  d: "m8 4.5h8c1.933 0 3.5 1.567 3.5 3.5v8c0 1.933-1.567 3.5-3.5 3.5h-8c-1.933 0-3.5-1.567-3.5-3.5v-8c0-1.933 1.567-3.5 3.5-3.5z",
9982
10013
  fill: "#fcfcfd"
9983
10014
  }
9984
10015
  ),
9985
- /* @__PURE__ */ jsx237(
10016
+ /* @__PURE__ */ jsx238(
9986
10017
  "path",
9987
10018
  {
9988
10019
  d: "m8 4.5h8c1.933 0 3.5 1.567 3.5 3.5v8c0 1.933-1.567 3.5-3.5 3.5h-8c-1.933 0-3.5-1.567-3.5-3.5v-8c0-1.933 1.567-3.5 3.5-3.5z",
@@ -9999,18 +10030,18 @@ var CheckboxMenuItem = ({
9999
10030
  onCheckedChange,
10000
10031
  ...props
10001
10032
  }) => {
10002
- return /* @__PURE__ */ jsx237(
10033
+ return /* @__PURE__ */ jsx238(
10003
10034
  DropdownMenuCheckboxItem,
10004
10035
  {
10005
10036
  asChild: true,
10006
10037
  checked,
10007
10038
  onCheckedChange,
10008
10039
  onSelect,
10009
- children: /* @__PURE__ */ jsx237(
10040
+ children: /* @__PURE__ */ jsx238(
10010
10041
  MenuItemButton,
10011
10042
  {
10012
10043
  ...props,
10013
- leftIcon: /* @__PURE__ */ jsx237(CheckboxIndicator, { checked })
10044
+ leftIcon: /* @__PURE__ */ jsx238(CheckboxIndicator, { checked })
10014
10045
  }
10015
10046
  )
10016
10047
  }
@@ -10019,37 +10050,37 @@ var CheckboxMenuItem = ({
10019
10050
  CheckboxMenuItem.displayName = "CheckboxMenuItem";
10020
10051
 
10021
10052
  // src/components/Modal/Modal.tsx
10022
- import { forwardRef as forwardRef17 } from "react";
10023
- import styled46 from "styled-components";
10053
+ import { forwardRef as forwardRef18 } from "react";
10054
+ import styled47 from "styled-components";
10024
10055
  import { Root as DialogRoot, Portal as DialogPortal } from "@radix-ui/react-dialog";
10025
10056
  import { isNotNil as isNotNil18 } from "@wistia/type-guards";
10026
10057
 
10027
10058
  // src/components/Modal/ModalHeader.tsx
10028
- import styled43 from "styled-components";
10059
+ import styled44 from "styled-components";
10029
10060
  import { Title as DialogTitle } from "@radix-ui/react-dialog";
10030
10061
 
10031
10062
  // src/components/Modal/ModalCloseButton.tsx
10032
- import styled42 from "styled-components";
10063
+ import styled43 from "styled-components";
10033
10064
  import { Close as DialogClose } from "@radix-ui/react-dialog";
10034
- import { jsx as jsx238 } from "react/jsx-runtime";
10035
- var CloseButton = styled42(DialogClose)`
10065
+ import { jsx as jsx239 } from "react/jsx-runtime";
10066
+ var CloseButton = styled43(DialogClose)`
10036
10067
  align-self: start;
10037
10068
  `;
10038
10069
  var ModalCloseButton = () => {
10039
- return /* @__PURE__ */ jsx238(CloseButton, { asChild: true, children: /* @__PURE__ */ jsx238(
10070
+ return /* @__PURE__ */ jsx239(CloseButton, { asChild: true, children: /* @__PURE__ */ jsx239(
10040
10071
  IconButton,
10041
10072
  {
10042
10073
  label: "Dismiss modal",
10043
10074
  size: "sm",
10044
10075
  variant: "ghost",
10045
- children: /* @__PURE__ */ jsx238(Icon, { type: "close" })
10076
+ children: /* @__PURE__ */ jsx239(Icon, { type: "close" })
10046
10077
  }
10047
10078
  ) });
10048
10079
  };
10049
10080
 
10050
10081
  // src/components/Modal/ModalHeader.tsx
10051
- import { jsx as jsx239, jsxs as jsxs29 } from "react/jsx-runtime";
10052
- var Header = styled43.header`
10082
+ import { jsx as jsx240, jsxs as jsxs29 } from "react/jsx-runtime";
10083
+ var Header = styled44.header`
10053
10084
  display: flex;
10054
10085
  order: 1;
10055
10086
  gap: var(--wui-space-01);
@@ -10060,7 +10091,7 @@ var Header = styled43.header`
10060
10091
  margin: 0 0 var(--wui-space-03);
10061
10092
  }
10062
10093
  `;
10063
- var Title = styled43(DialogTitle)`
10094
+ var Title = styled44(DialogTitle)`
10064
10095
  font-family: var(--wui-typography-heading-2-family);
10065
10096
  line-height: var(--wui-typography-heading-2-line-height);
10066
10097
  font-size: var(--wui-typography-heading-2-size);
@@ -10071,16 +10102,16 @@ var ModalHeader = ({
10071
10102
  hideTitle,
10072
10103
  hideCloseButton
10073
10104
  }) => {
10074
- const TitleComponent = hideTitle ? /* @__PURE__ */ jsx239(ScreenReaderOnly, { children: /* @__PURE__ */ jsx239(Title, { children: title }) }) : /* @__PURE__ */ jsx239(Title, { children: title });
10105
+ const TitleComponent = hideTitle ? /* @__PURE__ */ jsx240(ScreenReaderOnly, { children: /* @__PURE__ */ jsx240(Title, { children: title }) }) : /* @__PURE__ */ jsx240(Title, { children: title });
10075
10106
  return /* @__PURE__ */ jsxs29(Header, { $hideTitle: hideTitle, children: [
10076
10107
  TitleComponent,
10077
- hideCloseButton ? null : /* @__PURE__ */ jsx239(ModalCloseButton, {})
10108
+ hideCloseButton ? null : /* @__PURE__ */ jsx240(ModalCloseButton, {})
10078
10109
  ] });
10079
10110
  };
10080
10111
 
10081
10112
  // src/components/Modal/ModalContent.tsx
10082
- import { forwardRef as forwardRef15 } from "react";
10083
- import styled44 from "styled-components";
10113
+ import { forwardRef as forwardRef16 } from "react";
10114
+ import styled45 from "styled-components";
10084
10115
  import { Content as DialogContent } from "@radix-ui/react-dialog";
10085
10116
 
10086
10117
  // src/private/hooks/useFocusRestore/useFocusRestore.ts
@@ -10103,8 +10134,8 @@ var useFocusRestore = () => {
10103
10134
  };
10104
10135
 
10105
10136
  // src/components/Modal/ModalContent.tsx
10106
- import { jsx as jsx240 } from "react/jsx-runtime";
10107
- var StyledModalContent = styled44(DialogContent)`
10137
+ import { jsx as jsx241 } from "react/jsx-runtime";
10138
+ var StyledModalContent = styled45(DialogContent)`
10108
10139
  background-color: var(--wui-color-bg-app);
10109
10140
  box-sizing: border-box;
10110
10141
  display: flex;
@@ -10145,10 +10176,10 @@ var StyledModalContent = styled44(DialogContent)`
10145
10176
  }
10146
10177
  }
10147
10178
  `;
10148
- var ModalContent = forwardRef15(
10179
+ var ModalContent = forwardRef16(
10149
10180
  ({ fullHeight, width, children, ...otherProps }, ref) => {
10150
10181
  useFocusRestore();
10151
- return /* @__PURE__ */ jsx240(
10182
+ return /* @__PURE__ */ jsx241(
10152
10183
  StyledModalContent,
10153
10184
  {
10154
10185
  ref,
@@ -10163,9 +10194,9 @@ var ModalContent = forwardRef15(
10163
10194
  );
10164
10195
 
10165
10196
  // src/private/components/Backdrop/Backdrop.tsx
10166
- import { forwardRef as forwardRef16 } from "react";
10167
- import styled45 from "styled-components";
10168
- import { jsx as jsx241 } from "react/jsx-runtime";
10197
+ import { forwardRef as forwardRef17 } from "react";
10198
+ import styled46 from "styled-components";
10199
+ import { jsx as jsx242 } from "react/jsx-runtime";
10169
10200
  var backdropAnimationDuration = 150;
10170
10201
  var alignVerticalMap = {
10171
10202
  stretch: "normal",
@@ -10178,7 +10209,7 @@ var alignHorizontalMap = {
10178
10209
  center: "center",
10179
10210
  right: "end"
10180
10211
  };
10181
- var BackdropComponent = styled45.div`
10212
+ var BackdropComponent = styled46.div`
10182
10213
  align-items: ${({ $alignVertical }) => alignVerticalMap[$alignVertical]};
10183
10214
  animation-name: backdropShow;
10184
10215
  animation-duration: ${() => `${backdropAnimationDuration}ms`};
@@ -10201,8 +10232,8 @@ var BackdropComponent = styled45.div`
10201
10232
  }
10202
10233
  }
10203
10234
  `;
10204
- var Backdrop = forwardRef16(
10205
- ({ alignHorizontal = "center", alignVertical = "center", children, ...otherProps }, ref) => /* @__PURE__ */ jsx241(
10235
+ var Backdrop = forwardRef17(
10236
+ ({ alignHorizontal = "center", alignVertical = "center", children, ...otherProps }, ref) => /* @__PURE__ */ jsx242(
10206
10237
  BackdropComponent,
10207
10238
  {
10208
10239
  ref,
@@ -10216,14 +10247,14 @@ var Backdrop = forwardRef16(
10216
10247
  Backdrop.displayName = "Backdrop";
10217
10248
 
10218
10249
  // src/components/Modal/Modal.tsx
10219
- import { jsx as jsx242, jsxs as jsxs30 } from "react/jsx-runtime";
10250
+ import { jsx as jsx243, jsxs as jsxs30 } from "react/jsx-runtime";
10220
10251
  var DEFAULT_MODAL_WIDTH = "532px";
10221
- var ModalBody = styled46.div`
10252
+ var ModalBody = styled47.div`
10222
10253
  flex-direction: column;
10223
10254
  display: flex;
10224
10255
  order: 2;
10225
10256
  `;
10226
- var Modal = forwardRef17(
10257
+ var Modal = forwardRef18(
10227
10258
  ({
10228
10259
  children,
10229
10260
  fullHeight = false,
@@ -10236,7 +10267,7 @@ var Modal = forwardRef17(
10236
10267
  width = DEFAULT_MODAL_WIDTH,
10237
10268
  ...props
10238
10269
  }, ref) => {
10239
- return /* @__PURE__ */ jsx242(
10270
+ return /* @__PURE__ */ jsx243(
10240
10271
  DialogRoot,
10241
10272
  {
10242
10273
  onOpenChange: (open2) => {
@@ -10246,7 +10277,7 @@ var Modal = forwardRef17(
10246
10277
  },
10247
10278
  open: isOpen,
10248
10279
  children: /* @__PURE__ */ jsxs30(DialogPortal, { children: [
10249
- /* @__PURE__ */ jsx242(Backdrop, {}),
10280
+ /* @__PURE__ */ jsx243(Backdrop, {}),
10250
10281
  /* @__PURE__ */ jsxs30(
10251
10282
  ModalContent,
10252
10283
  {
@@ -10263,8 +10294,8 @@ var Modal = forwardRef17(
10263
10294
  width,
10264
10295
  ...props,
10265
10296
  children: [
10266
- /* @__PURE__ */ jsx242(ModalBody, { children }),
10267
- /* @__PURE__ */ jsx242(
10297
+ /* @__PURE__ */ jsx243(ModalBody, { children }),
10298
+ /* @__PURE__ */ jsx243(
10268
10299
  ModalHeader,
10269
10300
  {
10270
10301
  hideCloseButton,
@@ -10284,7 +10315,7 @@ Modal.displayName = "Modal";
10284
10315
 
10285
10316
  // src/components/Popover/Popover.tsx
10286
10317
  import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
10287
- import styled47, { css as css28 } from "styled-components";
10318
+ import styled48, { css as css28 } from "styled-components";
10288
10319
 
10289
10320
  // src/private/helpers/getControls/getControlProps.tsx
10290
10321
  import { isNotNil as isNotNil19 } from "@wistia/type-guards";
@@ -10293,8 +10324,8 @@ var getControlProps = (isOpen, onOpenChange) => {
10293
10324
  };
10294
10325
 
10295
10326
  // src/components/Popover/Popover.tsx
10296
- import { jsx as jsx243, jsxs as jsxs31 } from "react/jsx-runtime";
10297
- var StyledContent2 = styled47(Content2)`
10327
+ import { jsx as jsx244, jsxs as jsxs31 } from "react/jsx-runtime";
10328
+ var StyledContent2 = styled48(Content2)`
10298
10329
  ${({ $unstyled }) => !$unstyled && css28`
10299
10330
  border-radius: var(--wui-border-radius-02);
10300
10331
  padding: var(--wui-space-04);
@@ -10320,24 +10351,24 @@ var Popover = ({
10320
10351
  ...props
10321
10352
  }) => {
10322
10353
  return /* @__PURE__ */ jsxs31(Root2, { ...getControlProps(isOpen, onOpenChange), children: [
10323
- /* @__PURE__ */ jsx243(Trigger2, { asChild: true, children: trigger }),
10324
- /* @__PURE__ */ jsx243(Portal, { children: /* @__PURE__ */ jsxs31(
10354
+ /* @__PURE__ */ jsx244(Trigger2, { asChild: true, children: trigger }),
10355
+ /* @__PURE__ */ jsx244(Portal, { children: /* @__PURE__ */ jsxs31(
10325
10356
  StyledContent2,
10326
10357
  {
10327
10358
  sideOffset: 8,
10328
10359
  ...props,
10329
10360
  $unstyled: unstyled,
10330
10361
  children: [
10331
- !hideCloseButton && /* @__PURE__ */ jsx243(Close, { asChild: true, children: /* @__PURE__ */ jsx243(
10362
+ !hideCloseButton && /* @__PURE__ */ jsx244(Close, { asChild: true, children: /* @__PURE__ */ jsx244(
10332
10363
  IconButton,
10333
10364
  {
10334
10365
  "data-wui-popover-close": true,
10335
10366
  label: "Close",
10336
10367
  variant: "ghost",
10337
- children: /* @__PURE__ */ jsx243(Icon, { type: "close" })
10368
+ children: /* @__PURE__ */ jsx244(Icon, { type: "close" })
10338
10369
  }
10339
10370
  ) }),
10340
- /* @__PURE__ */ jsx243("div", { children })
10371
+ /* @__PURE__ */ jsx244("div", { children })
10341
10372
  ]
10342
10373
  }
10343
10374
  ) })
@@ -10346,11 +10377,11 @@ var Popover = ({
10346
10377
  Popover.displayName = "Popover";
10347
10378
 
10348
10379
  // src/components/ProgressBar/ProgressBar.tsx
10349
- import styled48 from "styled-components";
10380
+ import styled49 from "styled-components";
10350
10381
  import { Root as ProgressRoot, Indicator as ProgressIndicator } from "@radix-ui/react-progress";
10351
10382
  import { isNotNil as isNotNil20 } from "@wistia/type-guards";
10352
- import { jsx as jsx244, jsxs as jsxs32 } from "react/jsx-runtime";
10353
- var ProgressBarWrapper = styled48.div`
10383
+ import { jsx as jsx245, jsxs as jsxs32 } from "react/jsx-runtime";
10384
+ var ProgressBarWrapper = styled49.div`
10354
10385
  --progress-bar-height: 8px;
10355
10386
  --progress-bar-indicator-color: var(--wui-color-bg-fill);
10356
10387
  --progress-bar-background-color: var(--wui-color-bg-surface-secondary);
@@ -10366,7 +10397,7 @@ var getTranslateValue = (progress, max) => {
10366
10397
  const progressPercentage = progress / max * 100;
10367
10398
  return `translateX(-${100 - progressPercentage}%)`;
10368
10399
  };
10369
- var ProgressBarLabel = styled48.div`
10400
+ var ProgressBarLabel = styled49.div`
10370
10401
  display: flex;
10371
10402
  line-height: var(--wui-typography-label-3-line-height);
10372
10403
  font-size: var(--wui-typography-label-3-size);
@@ -10374,7 +10405,7 @@ var ProgressBarLabel = styled48.div`
10374
10405
  color: var(--wui-color-text-secondary);
10375
10406
  flex-shrink: 0;
10376
10407
  `;
10377
- var StyledProgressIndicator = styled48(ProgressIndicator)`
10408
+ var StyledProgressIndicator = styled49(ProgressIndicator)`
10378
10409
  background-color: var(--progress-bar-indicator-color);
10379
10410
  width: 100%;
10380
10411
  height: 100%;
@@ -10383,7 +10414,7 @@ var StyledProgressIndicator = styled48(ProgressIndicator)`
10383
10414
  transition: transform 660ms cubic-bezier(0.65, 0, 0.35, 1);
10384
10415
  transform: ${({ $progress, $max }) => getTranslateValue($progress, $max)};
10385
10416
  `;
10386
- var StyledProgressBar = styled48(ProgressRoot)`
10417
+ var StyledProgressBar = styled49(ProgressRoot)`
10387
10418
  position: relative;
10388
10419
  overflow: hidden;
10389
10420
  background: var(--progress-bar-background-color);
@@ -10403,14 +10434,14 @@ var ProgressBar = ({
10403
10434
  ...props
10404
10435
  }) => {
10405
10436
  return /* @__PURE__ */ jsxs32(ProgressBarWrapper, { children: [
10406
- isNotNil20(labelLeft) ? /* @__PURE__ */ jsx244(ProgressBarLabel, { children: labelLeft }) : null,
10407
- /* @__PURE__ */ jsx244(
10437
+ isNotNil20(labelLeft) ? /* @__PURE__ */ jsx245(ProgressBarLabel, { children: labelLeft }) : null,
10438
+ /* @__PURE__ */ jsx245(
10408
10439
  StyledProgressBar,
10409
10440
  {
10410
10441
  max,
10411
10442
  value: progress,
10412
10443
  ...props,
10413
- children: /* @__PURE__ */ jsx244(
10444
+ children: /* @__PURE__ */ jsx245(
10414
10445
  StyledProgressIndicator,
10415
10446
  {
10416
10447
  $max: max,
@@ -10419,17 +10450,17 @@ var ProgressBar = ({
10419
10450
  )
10420
10451
  }
10421
10452
  ),
10422
- isNotNil20(labelRight) ? /* @__PURE__ */ jsx244(ProgressBarLabel, { children: labelRight }) : null
10453
+ isNotNil20(labelRight) ? /* @__PURE__ */ jsx245(ProgressBarLabel, { children: labelRight }) : null
10423
10454
  ] });
10424
10455
  };
10425
10456
  ProgressBar.displayName = "ProgressBar";
10426
10457
 
10427
10458
  // src/components/Radio/Radio.tsx
10428
- import { forwardRef as forwardRef18, useId as useId3 } from "react";
10429
- import styled49, { css as css29 } from "styled-components";
10459
+ import { forwardRef as forwardRef19, useId as useId3 } from "react";
10460
+ import styled50, { css as css29 } from "styled-components";
10430
10461
  import { isNonEmptyString as isNonEmptyString3 } from "@wistia/type-guards";
10431
- import { jsx as jsx245, jsxs as jsxs33 } from "react/jsx-runtime";
10432
- var RadioIcon = () => /* @__PURE__ */ jsx245(
10462
+ import { jsx as jsx246, jsxs as jsxs33 } from "react/jsx-runtime";
10463
+ var RadioIcon = () => /* @__PURE__ */ jsx246(
10433
10464
  "svg",
10434
10465
  {
10435
10466
  fill: "inherit",
@@ -10437,7 +10468,7 @@ var RadioIcon = () => /* @__PURE__ */ jsx245(
10437
10468
  viewBox: "0 0 1 1",
10438
10469
  width: "1",
10439
10470
  xmlns: "http://www.w3.org/2000/svg",
10440
- children: /* @__PURE__ */ jsx245(
10471
+ children: /* @__PURE__ */ jsx246(
10441
10472
  "circle",
10442
10473
  {
10443
10474
  cx: "0.5",
@@ -10486,14 +10517,14 @@ var getSizeCss2 = (size) => {
10486
10517
  if (size === "lg") return sizeLarge2;
10487
10518
  return sizeMedium2;
10488
10519
  };
10489
- var StyledRadioWrapper = styled49.div`
10520
+ var StyledRadioWrapper = styled50.div`
10490
10521
  display: flex;
10491
10522
  margin: 0;
10492
10523
 
10493
10524
  /* TODO this solves a problem but potentially causes and a11y issue */
10494
10525
  user-select: none;
10495
10526
  `;
10496
- var StyledRadioInput = styled49.div`
10527
+ var StyledRadioInput = styled50.div`
10497
10528
  ${({ $size }) => getSizeCss2($size)}
10498
10529
  line-height: 0;
10499
10530
  margin: 0;
@@ -10515,7 +10546,7 @@ var StyledRadioInput = styled49.div`
10515
10546
  }
10516
10547
  }
10517
10548
  `;
10518
- var StyledHiddenRadioInput = styled49.input`
10549
+ var StyledHiddenRadioInput = styled50.input`
10519
10550
  ${visuallyHiddenStyle}
10520
10551
 
10521
10552
  /* toggles display of faux-input border-color */
@@ -10528,7 +10559,7 @@ var StyledHiddenRadioInput = styled49.input`
10528
10559
  display: block;
10529
10560
  }
10530
10561
  `;
10531
- var Radio = forwardRef18(
10562
+ var Radio = forwardRef19(
10532
10563
  ({
10533
10564
  checked,
10534
10565
  disabled = false,
@@ -10551,7 +10582,7 @@ var Radio = forwardRef18(
10551
10582
  $disabled: disabled,
10552
10583
  "aria-invalid": props["aria-invalid"],
10553
10584
  children: [
10554
- /* @__PURE__ */ jsx245(
10585
+ /* @__PURE__ */ jsx246(
10555
10586
  StyledHiddenRadioInput,
10556
10587
  {
10557
10588
  ...props,
@@ -10566,16 +10597,16 @@ var Radio = forwardRef18(
10566
10597
  value
10567
10598
  }
10568
10599
  ),
10569
- /* @__PURE__ */ jsx245(
10600
+ /* @__PURE__ */ jsx246(
10570
10601
  FormControlLabel,
10571
10602
  {
10572
- controlSlot: /* @__PURE__ */ jsx245(
10603
+ controlSlot: /* @__PURE__ */ jsx246(
10573
10604
  StyledRadioInput,
10574
10605
  {
10575
10606
  $disabled: disabled,
10576
10607
  $size: size,
10577
10608
  "data-wui-faux-input": "true",
10578
- children: /* @__PURE__ */ jsx245(RadioIcon, {})
10609
+ children: /* @__PURE__ */ jsx246(RadioIcon, {})
10579
10610
  }
10580
10611
  ),
10581
10612
  description,
@@ -10593,14 +10624,14 @@ var Radio = forwardRef18(
10593
10624
  Radio.displayName = "Radio";
10594
10625
 
10595
10626
  // src/components/SegmentedControl/SegmentedControl.tsx
10596
- import { forwardRef as forwardRef19 } from "react";
10597
- import styled51, { css as css30 } from "styled-components";
10627
+ import { forwardRef as forwardRef20 } from "react";
10628
+ import styled52, { css as css30 } from "styled-components";
10598
10629
  import { Root as ToggleGroupRoot } from "@radix-ui/react-toggle-group";
10599
10630
  import { isNil as isNil14 } from "@wistia/type-guards";
10600
10631
 
10601
10632
  // src/components/SegmentedControl/useSelectedItemMeasurements.tsx
10602
10633
  import { createContext as createContext6, useContext as useContext5, useMemo as useMemo8, useState as useState10 } from "react";
10603
- import { jsx as jsx246 } from "react/jsx-runtime";
10634
+ import { jsx as jsx247 } from "react/jsx-runtime";
10604
10635
  var SelectedItemMeasurementsContext = createContext6(
10605
10636
  null
10606
10637
  );
@@ -10615,7 +10646,7 @@ var SelectedItemMeasurementsProvider = ({
10615
10646
  }),
10616
10647
  [selectedItemMeasurements]
10617
10648
  );
10618
- return /* @__PURE__ */ jsx246(SelectedItemMeasurementsContext.Provider, { value: contextValue, children });
10649
+ return /* @__PURE__ */ jsx247(SelectedItemMeasurementsContext.Provider, { value: contextValue, children });
10619
10650
  };
10620
10651
  var useSelectedItemMeasurements = () => {
10621
10652
  const context = useContext5(SelectedItemMeasurementsContext);
@@ -10629,7 +10660,7 @@ var useSelectedItemMeasurements = () => {
10629
10660
 
10630
10661
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
10631
10662
  import { useMemo as useMemo9 } from "react";
10632
- import styled50 from "styled-components";
10663
+ import styled51 from "styled-components";
10633
10664
 
10634
10665
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
10635
10666
  import { createContext as createContext7, useContext as useContext6 } from "react";
@@ -10644,8 +10675,8 @@ var useSegmentedControlValue = () => {
10644
10675
  };
10645
10676
 
10646
10677
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
10647
- import { jsx as jsx247 } from "react/jsx-runtime";
10648
- var SelectedItemIndicatorDiv = styled50.div`
10678
+ import { jsx as jsx248 } from "react/jsx-runtime";
10679
+ var SelectedItemIndicatorDiv = styled51.div`
10649
10680
  background-color: var(--wui-color-bg-fill-white);
10650
10681
  border-radius: var(--wui-border-radius-rounded);
10651
10682
  left: 0;
@@ -10671,7 +10702,7 @@ var SelectedItemIndicator = () => {
10671
10702
  if (!selectedValue) {
10672
10703
  return null;
10673
10704
  }
10674
- return /* @__PURE__ */ jsx247(
10705
+ return /* @__PURE__ */ jsx248(
10675
10706
  SelectedItemIndicatorDiv,
10676
10707
  {
10677
10708
  style: {
@@ -10684,7 +10715,7 @@ var SelectedItemIndicator = () => {
10684
10715
  };
10685
10716
 
10686
10717
  // src/components/SegmentedControl/SegmentedControl.tsx
10687
- import { jsx as jsx248, jsxs as jsxs34 } from "react/jsx-runtime";
10718
+ import { jsx as jsx249, jsxs as jsxs34 } from "react/jsx-runtime";
10688
10719
  var segmentedControlStyles = css30`
10689
10720
  display: inline-flex;
10690
10721
  background-color: var(--wui-color-bg-surface-secondary);
@@ -10695,10 +10726,10 @@ var segmentedControlStyles = css30`
10695
10726
  position: relative;
10696
10727
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
10697
10728
  `;
10698
- var StyledSegmentedControl = styled51(ToggleGroupRoot)`
10729
+ var StyledSegmentedControl = styled52(ToggleGroupRoot)`
10699
10730
  ${segmentedControlStyles}
10700
10731
  `;
10701
- var SegmentedControl = forwardRef19(
10732
+ var SegmentedControl = forwardRef20(
10702
10733
  ({
10703
10734
  children,
10704
10735
  disabled = false,
@@ -10710,7 +10741,7 @@ var SegmentedControl = forwardRef19(
10710
10741
  if (isNil14(children)) {
10711
10742
  return null;
10712
10743
  }
10713
- return /* @__PURE__ */ jsx248(
10744
+ return /* @__PURE__ */ jsx249(
10714
10745
  StyledSegmentedControl,
10715
10746
  {
10716
10747
  ref,
@@ -10722,8 +10753,8 @@ var SegmentedControl = forwardRef19(
10722
10753
  type: "single",
10723
10754
  value: selectedValue,
10724
10755
  ...props,
10725
- children: /* @__PURE__ */ jsx248(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ jsxs34(SelectedItemMeasurementsProvider, { children: [
10726
- /* @__PURE__ */ jsx248(SelectedItemIndicator, {}),
10756
+ children: /* @__PURE__ */ jsx249(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ jsxs34(SelectedItemMeasurementsProvider, { children: [
10757
+ /* @__PURE__ */ jsx249(SelectedItemIndicator, {}),
10727
10758
  children
10728
10759
  ] }) })
10729
10760
  }
@@ -10733,8 +10764,8 @@ var SegmentedControl = forwardRef19(
10733
10764
  SegmentedControl.displayName = "SegmentedControl";
10734
10765
 
10735
10766
  // src/components/SegmentedControl/SegmentedControlItem.tsx
10736
- import { forwardRef as forwardRef20, useEffect as useEffect6, useRef as useRef9 } from "react";
10737
- import styled52, { css as css31 } from "styled-components";
10767
+ import { forwardRef as forwardRef21, useEffect as useEffect6, useRef as useRef9 } from "react";
10768
+ import styled53, { css as css31 } from "styled-components";
10738
10769
  import { Item as ToggleGroupItem } from "@radix-ui/react-toggle-group";
10739
10770
  import { isNotNil as isNotNil22 } from "@wistia/type-guards";
10740
10771
 
@@ -10813,10 +10844,10 @@ var segmentedControlItemStyles = css31`
10813
10844
  }
10814
10845
  }
10815
10846
  `;
10816
- var StyledSegmentedControlItem = styled52(ToggleGroupItem)`
10847
+ var StyledSegmentedControlItem = styled53(ToggleGroupItem)`
10817
10848
  ${segmentedControlItemStyles}
10818
10849
  `;
10819
- var SegmentedControlItem = forwardRef20(
10850
+ var SegmentedControlItem = forwardRef21(
10820
10851
  ({ disabled, icon, label, "aria-label": ariaLabel, value }, forwardedRef) => {
10821
10852
  const selectedValue = useSegmentedControlValue();
10822
10853
  const { setSelectedItemMeasurements } = useSelectedItemMeasurements();
@@ -10884,10 +10915,10 @@ import {
10884
10915
  Value,
10885
10916
  ScrollDownButton
10886
10917
  } from "@radix-ui/react-select";
10887
- import { forwardRef as forwardRef21 } from "react";
10888
- import styled53 from "styled-components";
10889
- import { jsx as jsx249, jsxs as jsxs36 } from "react/jsx-runtime";
10890
- var StyledTrigger = styled53(Trigger3)`
10918
+ import { forwardRef as forwardRef22 } from "react";
10919
+ import styled54 from "styled-components";
10920
+ import { jsx as jsx250, jsxs as jsxs36 } from "react/jsx-runtime";
10921
+ var StyledTrigger = styled54(Trigger3)`
10891
10922
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
10892
10923
  --wui-select-color-bg: var(--wui-color-bg-surface);
10893
10924
  --wui-select-color-bg-disabled: var(--wui-color-bg-surface-disabled);
@@ -10935,7 +10966,7 @@ var StyledTrigger = styled53(Trigger3)`
10935
10966
  background-color: var(--wui-color-bg-surface-disabled);
10936
10967
  }
10937
10968
  `;
10938
- var StyledContent3 = styled53(Content3)`
10969
+ var StyledContent3 = styled54(Content3)`
10939
10970
  --wui-select-content-border: var(--wui-color-border);
10940
10971
  --wui-select-content-bg: var(--wui-color-bg-surface);
10941
10972
  --wui-select-content-border-radius: var(--wui-border-radius-02);
@@ -10953,7 +10984,7 @@ var StyledContent3 = styled53(Content3)`
10953
10984
  max-height: var(--radix-select-content-available-height);
10954
10985
  z-index: var(--wui-zindex-select);
10955
10986
  `;
10956
- var Select = forwardRef21(
10987
+ var Select = forwardRef22(
10957
10988
  ({
10958
10989
  colorScheme = "inherit",
10959
10990
  children,
@@ -10977,8 +11008,8 @@ var Select = forwardRef21(
10977
11008
  $fullWidth: responsiveFullWidth,
10978
11009
  ...props,
10979
11010
  children: [
10980
- /* @__PURE__ */ jsx249(Value, { placeholder }),
10981
- /* @__PURE__ */ jsx249(
11011
+ /* @__PURE__ */ jsx250(Value, { placeholder }),
11012
+ /* @__PURE__ */ jsx250(
10982
11013
  Icon,
10983
11014
  {
10984
11015
  size: "md",
@@ -10988,10 +11019,10 @@ var Select = forwardRef21(
10988
11019
  ]
10989
11020
  }
10990
11021
  ),
10991
- /* @__PURE__ */ jsx249(Portal2, { children: /* @__PURE__ */ jsxs36(StyledContent3, { position: "popper", children: [
10992
- /* @__PURE__ */ jsx249(ScrollUpButton, { children: /* @__PURE__ */ jsx249(Icon, { type: "caret-up" }) }),
10993
- /* @__PURE__ */ jsx249(Viewport, { children }),
10994
- /* @__PURE__ */ jsx249(ScrollDownButton, { children: /* @__PURE__ */ jsx249(Icon, { type: "caret-down" }) })
11022
+ /* @__PURE__ */ jsx250(Portal2, { children: /* @__PURE__ */ jsxs36(StyledContent3, { position: "popper", children: [
11023
+ /* @__PURE__ */ jsx250(ScrollUpButton, { children: /* @__PURE__ */ jsx250(Icon, { type: "caret-up" }) }),
11024
+ /* @__PURE__ */ jsx250(Viewport, { children }),
11025
+ /* @__PURE__ */ jsx250(ScrollDownButton, { children: /* @__PURE__ */ jsx250(Icon, { type: "caret-down" }) })
10995
11026
  ] }) })
10996
11027
  ]
10997
11028
  }
@@ -11002,10 +11033,10 @@ Select.displayName = "Select";
11002
11033
 
11003
11034
  // src/components/Select/SelectOption.tsx
11004
11035
  import { Item, ItemText, ItemIndicator } from "@radix-ui/react-select";
11005
- import { forwardRef as forwardRef22 } from "react";
11006
- import styled54 from "styled-components";
11007
- import { jsx as jsx250, jsxs as jsxs37 } from "react/jsx-runtime";
11008
- var StyledItem = styled54(Item)`
11036
+ import { forwardRef as forwardRef23 } from "react";
11037
+ import styled55 from "styled-components";
11038
+ import { jsx as jsx251, jsxs as jsxs37 } from "react/jsx-runtime";
11039
+ var StyledItem = styled55(Item)`
11009
11040
  ${variantStyleMap2.body3};
11010
11041
  display: flex;
11011
11042
  padding: var(--wui-select-option-padding);
@@ -11028,10 +11059,10 @@ var StyledItem = styled54(Item)`
11028
11059
  background-color: transparent;
11029
11060
  }
11030
11061
  `;
11031
- var StyledIconContainer = styled54.span`
11062
+ var StyledIconContainer = styled55.span`
11032
11063
  width: 12px;
11033
11064
  `;
11034
- var SelectOption = forwardRef22(
11065
+ var SelectOption = forwardRef23(
11035
11066
  ({ children, ...props }, forwardedRef) => {
11036
11067
  return /* @__PURE__ */ jsxs37(
11037
11068
  StyledItem,
@@ -11039,14 +11070,14 @@ var SelectOption = forwardRef22(
11039
11070
  ...props,
11040
11071
  ref: forwardedRef,
11041
11072
  children: [
11042
- /* @__PURE__ */ jsx250(StyledIconContainer, { children: /* @__PURE__ */ jsx250(ItemIndicator, { children: /* @__PURE__ */ jsx250(
11073
+ /* @__PURE__ */ jsx251(StyledIconContainer, { children: /* @__PURE__ */ jsx251(ItemIndicator, { children: /* @__PURE__ */ jsx251(
11043
11074
  Icon,
11044
11075
  {
11045
11076
  size: "sm",
11046
11077
  type: "checkmark"
11047
11078
  }
11048
11079
  ) }) }),
11049
- /* @__PURE__ */ jsx250(ItemText, { children })
11080
+ /* @__PURE__ */ jsx251(ItemText, { children })
11050
11081
  ]
11051
11082
  }
11052
11083
  );
@@ -11056,14 +11087,14 @@ SelectOption.displayName = "Option";
11056
11087
 
11057
11088
  // src/components/Select/SelectOptionGroup.tsx
11058
11089
  import { Group, Label as Label2 } from "@radix-ui/react-select";
11059
- import styled55 from "styled-components";
11060
- import { jsx as jsx251, jsxs as jsxs38 } from "react/jsx-runtime";
11061
- var StyledLabel4 = styled55(Label2)`
11090
+ import styled56 from "styled-components";
11091
+ import { jsx as jsx252, jsxs as jsxs38 } from "react/jsx-runtime";
11092
+ var StyledLabel4 = styled56(Label2)`
11062
11093
  padding: var(--wui-select-option-padding);
11063
11094
  `;
11064
11095
  var SelectOptionGroup = ({ children, label, ...props }) => {
11065
11096
  return /* @__PURE__ */ jsxs38(Group, { ...props, children: [
11066
- /* @__PURE__ */ jsx251(StyledLabel4, { children: /* @__PURE__ */ jsx251(
11097
+ /* @__PURE__ */ jsx252(StyledLabel4, { children: /* @__PURE__ */ jsx252(
11067
11098
  Text,
11068
11099
  {
11069
11100
  prominence: "secondary",
@@ -11076,10 +11107,10 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
11076
11107
  };
11077
11108
 
11078
11109
  // src/components/Switch/Switch.tsx
11079
- import { forwardRef as forwardRef23, useId as useId4 } from "react";
11080
- import styled56, { css as css32 } from "styled-components";
11110
+ import { forwardRef as forwardRef24, useId as useId4 } from "react";
11111
+ import styled57, { css as css32 } from "styled-components";
11081
11112
  import { isNonEmptyString as isNonEmptyString4 } from "@wistia/type-guards";
11082
- import { jsx as jsx252, jsxs as jsxs39 } from "react/jsx-runtime";
11113
+ import { jsx as jsx253, jsxs as jsxs39 } from "react/jsx-runtime";
11083
11114
  var sizeSmall3 = css32`
11084
11115
  --wui-size-small-width: 24px;
11085
11116
  --wui-size-small-height: 14px;
@@ -11130,14 +11161,14 @@ var getSizeCss3 = (size) => {
11130
11161
  if (size === "lg") return sizeLarge3;
11131
11162
  return sizeMedium3;
11132
11163
  };
11133
- var StyledSwitchWrapper = styled56.div`
11164
+ var StyledSwitchWrapper = styled57.div`
11134
11165
  display: flex;
11135
11166
  margin: 0;
11136
11167
 
11137
11168
  /* TODO this solves a problem but potentially causes and a11y issue */
11138
11169
  user-select: none;
11139
11170
  `;
11140
- var StyledSwitchInput = styled56.div`
11171
+ var StyledSwitchInput = styled57.div`
11141
11172
  ${({ $size }) => getSizeCss3($size)}
11142
11173
  line-height: 0;
11143
11174
  margin: 0;
@@ -11165,7 +11196,7 @@ var StyledSwitchInput = styled56.div`
11165
11196
  transition: all 0.2s ease-in-out;
11166
11197
  }
11167
11198
  `;
11168
- var StyledHiddenSwitchInput = styled56.input`
11199
+ var StyledHiddenSwitchInput = styled57.input`
11169
11200
  ${visuallyHiddenStyle}
11170
11201
 
11171
11202
  /* toggles display of faux-input background-color and toggle position */
@@ -11181,7 +11212,7 @@ var StyledHiddenSwitchInput = styled56.input`
11181
11212
  }
11182
11213
  }
11183
11214
  `;
11184
- var Switch = forwardRef23(
11215
+ var Switch = forwardRef24(
11185
11216
  ({
11186
11217
  checked,
11187
11218
  disabled = false,
@@ -11199,7 +11230,7 @@ var Switch = forwardRef23(
11199
11230
  const generatedId = useId4();
11200
11231
  const computedId = isNonEmptyString4(id) ? id : `wistia-ui-switch-${generatedId}`;
11201
11232
  return /* @__PURE__ */ jsxs39(StyledSwitchWrapper, { $disabled: disabled, children: [
11202
- /* @__PURE__ */ jsx252(
11233
+ /* @__PURE__ */ jsx253(
11203
11234
  StyledHiddenSwitchInput,
11204
11235
  {
11205
11236
  ...props,
@@ -11214,10 +11245,10 @@ var Switch = forwardRef23(
11214
11245
  value
11215
11246
  }
11216
11247
  ),
11217
- /* @__PURE__ */ jsx252(
11248
+ /* @__PURE__ */ jsx253(
11218
11249
  FormControlLabel,
11219
11250
  {
11220
- controlSlot: /* @__PURE__ */ jsx252(
11251
+ controlSlot: /* @__PURE__ */ jsx253(
11221
11252
  StyledSwitchInput,
11222
11253
  {
11223
11254
  $disabled: disabled,
@@ -11239,9 +11270,9 @@ var Switch = forwardRef23(
11239
11270
  Switch.displayName = "Switch";
11240
11271
 
11241
11272
  // src/components/Table/Table.tsx
11242
- import styled57, { css as css33 } from "styled-components";
11243
- import { jsx as jsx253 } from "react/jsx-runtime";
11244
- var StyledTable = styled57.table`
11273
+ import styled58, { css as css33 } from "styled-components";
11274
+ import { jsx as jsx254 } from "react/jsx-runtime";
11275
+ var StyledTable = styled58.table`
11245
11276
  width: 100%;
11246
11277
  border-collapse: collapse;
11247
11278
 
@@ -11263,7 +11294,7 @@ var Table = ({
11263
11294
  divided = false,
11264
11295
  ...props
11265
11296
  }) => {
11266
- return /* @__PURE__ */ jsx253(
11297
+ return /* @__PURE__ */ jsx254(
11267
11298
  StyledTable,
11268
11299
  {
11269
11300
  $divided: divided,
@@ -11275,35 +11306,35 @@ var Table = ({
11275
11306
  };
11276
11307
 
11277
11308
  // src/components/Table/TableBody.tsx
11278
- import styled58 from "styled-components";
11309
+ import styled59 from "styled-components";
11279
11310
 
11280
11311
  // src/components/Table/TableSectionContext.ts
11281
11312
  import { createContext as createContext8 } from "react";
11282
11313
  var TableSectionContext = createContext8(null);
11283
11314
 
11284
11315
  // src/components/Table/TableBody.tsx
11285
- import { jsx as jsx254 } from "react/jsx-runtime";
11286
- var StyledTbody = styled58.tbody``;
11316
+ import { jsx as jsx255 } from "react/jsx-runtime";
11317
+ var StyledTbody = styled59.tbody``;
11287
11318
  var TableBody = ({ children, ...props }) => {
11288
- return /* @__PURE__ */ jsx254(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ jsx254(StyledTbody, { ...props, children }) });
11319
+ return /* @__PURE__ */ jsx255(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ jsx255(StyledTbody, { ...props, children }) });
11289
11320
  };
11290
11321
 
11291
11322
  // src/components/Table/TableCell.tsx
11292
11323
  import { useContext as useContext7 } from "react";
11293
- import styled59, { css as css34 } from "styled-components";
11294
- import { jsx as jsx255 } from "react/jsx-runtime";
11324
+ import styled60, { css as css34 } from "styled-components";
11325
+ import { jsx as jsx256 } from "react/jsx-runtime";
11295
11326
  var sharedStyles = css34`
11296
11327
  color: var(--wui-color-text);
11297
11328
  padding: var(--wui-space-02);
11298
11329
  text-align: left;
11299
11330
  `;
11300
- var StyledTh = styled59.th`
11331
+ var StyledTh = styled60.th`
11301
11332
  ${sharedStyles}
11302
11333
  font-size: var(--wui-typography-body-4-size);
11303
11334
  font-weight: var(--wui-typography-weight-label-bold);
11304
11335
  line-height: var(--wui-typography-body-4-line-height);
11305
11336
  `;
11306
- var StyledTd = styled59.td`
11337
+ var StyledTd = styled60.td`
11307
11338
  ${sharedStyles}
11308
11339
  font-size: var(--wui-typography-body-2-size);
11309
11340
  font-weight: var(--wui-typography-body-2-weight);
@@ -11312,51 +11343,51 @@ var StyledTd = styled59.td`
11312
11343
  var TableCell = ({ children, ...props }) => {
11313
11344
  const section = useContext7(TableSectionContext);
11314
11345
  if (section === "head") {
11315
- return /* @__PURE__ */ jsx255(StyledTh, { ...props, children });
11346
+ return /* @__PURE__ */ jsx256(StyledTh, { ...props, children });
11316
11347
  }
11317
- return /* @__PURE__ */ jsx255(StyledTd, { ...props, children });
11348
+ return /* @__PURE__ */ jsx256(StyledTd, { ...props, children });
11318
11349
  };
11319
11350
 
11320
11351
  // src/components/Table/TableFooter.tsx
11321
- import styled60 from "styled-components";
11322
- import { jsx as jsx256 } from "react/jsx-runtime";
11323
- var StyledTfoot = styled60.tfoot``;
11352
+ import styled61 from "styled-components";
11353
+ import { jsx as jsx257 } from "react/jsx-runtime";
11354
+ var StyledTfoot = styled61.tfoot``;
11324
11355
  var TableFooter = ({ children, ...props }) => {
11325
- return /* @__PURE__ */ jsx256(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ jsx256(StyledTfoot, { ...props, children }) });
11356
+ return /* @__PURE__ */ jsx257(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ jsx257(StyledTfoot, { ...props, children }) });
11326
11357
  };
11327
11358
 
11328
11359
  // src/components/Table/TableHead.tsx
11329
- import styled61 from "styled-components";
11330
- import { jsx as jsx257 } from "react/jsx-runtime";
11331
- var StyledThead = styled61.thead``;
11360
+ import styled62 from "styled-components";
11361
+ import { jsx as jsx258 } from "react/jsx-runtime";
11362
+ var StyledThead = styled62.thead``;
11332
11363
  var TableHead = ({ children, ...props }) => {
11333
- return /* @__PURE__ */ jsx257(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ jsx257(StyledThead, { ...props, children }) });
11364
+ return /* @__PURE__ */ jsx258(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ jsx258(StyledThead, { ...props, children }) });
11334
11365
  };
11335
11366
 
11336
11367
  // src/components/Table/TableRow.tsx
11337
- import styled62 from "styled-components";
11338
- import { jsx as jsx258 } from "react/jsx-runtime";
11339
- var StyledTr = styled62.tr``;
11368
+ import styled63 from "styled-components";
11369
+ import { jsx as jsx259 } from "react/jsx-runtime";
11370
+ var StyledTr = styled63.tr``;
11340
11371
  var TableRow = ({ children, ...props }) => {
11341
- return /* @__PURE__ */ jsx258(StyledTr, { ...props, children });
11372
+ return /* @__PURE__ */ jsx259(StyledTr, { ...props, children });
11342
11373
  };
11343
11374
 
11344
11375
  // src/components/Tabs/Tabs.tsx
11345
- import { forwardRef as forwardRef25, useState as useState11 } from "react";
11376
+ import { forwardRef as forwardRef26, useState as useState11 } from "react";
11346
11377
  import { Root as TabsRoot } from "@radix-ui/react-tabs";
11347
11378
  import { isNotNil as isNotNil24, isNil as isNil15 } from "@wistia/type-guards";
11348
- import styled67 from "styled-components";
11379
+ import styled68 from "styled-components";
11349
11380
 
11350
11381
  // src/components/Tabs/TabPanel.tsx
11351
- import styled63 from "styled-components";
11382
+ import styled64 from "styled-components";
11352
11383
  import { Content as TabsContent } from "@radix-ui/react-tabs";
11353
- import { jsx as jsx259 } from "react/jsx-runtime";
11354
- var StyledTabPanel = styled63(TabsContent)`
11384
+ import { jsx as jsx260 } from "react/jsx-runtime";
11385
+ var StyledTabPanel = styled64(TabsContent)`
11355
11386
  display: flex;
11356
11387
  flex-direction: column;
11357
11388
  `;
11358
11389
  var TabPanel = ({ children, value, ...props }) => {
11359
- return /* @__PURE__ */ jsx259(
11390
+ return /* @__PURE__ */ jsx260(
11360
11391
  StyledTabPanel,
11361
11392
  {
11362
11393
  value,
@@ -11368,10 +11399,10 @@ var TabPanel = ({ children, value, ...props }) => {
11368
11399
  TabPanel.displayName = "TabPanel";
11369
11400
 
11370
11401
  // src/components/Tabs/TabList.tsx
11371
- import styled64 from "styled-components";
11402
+ import styled65 from "styled-components";
11372
11403
  import { List as RadixTabList } from "@radix-ui/react-tabs";
11373
- import { jsx as jsx260 } from "react/jsx-runtime";
11374
- var StyledTabList = styled64(RadixTabList)`
11404
+ import { jsx as jsx261 } from "react/jsx-runtime";
11405
+ var StyledTabList = styled65(RadixTabList)`
11375
11406
  ${segmentedControlStyles}
11376
11407
 
11377
11408
  margin-bottom: var(--wui-space-04);
@@ -11384,7 +11415,7 @@ var TabList = ({
11384
11415
  ariaLabel,
11385
11416
  ...props
11386
11417
  }) => {
11387
- return /* @__PURE__ */ jsx260(
11418
+ return /* @__PURE__ */ jsx261(
11388
11419
  StyledTabList,
11389
11420
  {
11390
11421
  $fullWidth: fullWidth,
@@ -11397,8 +11428,8 @@ var TabList = ({
11397
11428
  TabList.displayName = "TabList";
11398
11429
 
11399
11430
  // src/components/Tabs/TabItem.tsx
11400
- import { forwardRef as forwardRef24, useEffect as useEffect7, useRef as useRef10 } from "react";
11401
- import styled65 from "styled-components";
11431
+ import { forwardRef as forwardRef25, useEffect as useEffect7, useRef as useRef10 } from "react";
11432
+ import styled66 from "styled-components";
11402
11433
  import { Trigger as RadixTab } from "@radix-ui/react-tabs";
11403
11434
  import { isNotNil as isNotNil23 } from "@wistia/type-guards";
11404
11435
 
@@ -11416,14 +11447,14 @@ var useTabsValue = () => {
11416
11447
 
11417
11448
  // src/components/Tabs/TabItem.tsx
11418
11449
  import { jsxs as jsxs40 } from "react/jsx-runtime";
11419
- var StyledTabItem = styled65(RadixTab)`
11450
+ var StyledTabItem = styled66(RadixTab)`
11420
11451
  ${segmentedControlItemStyles}
11421
11452
 
11422
11453
  &:focus-visible {
11423
11454
  outline: none;
11424
11455
  }
11425
11456
  `;
11426
- var TabItem = forwardRef24(
11457
+ var TabItem = forwardRef25(
11427
11458
  ({ disabled = false, icon, label, "aria-label": ariaLabel, value }, forwardedRef) => {
11428
11459
  const selectedValue = useTabsValue();
11429
11460
  const { setSelectedItemMeasurements } = useSelectedItemMeasurements();
@@ -11496,9 +11527,9 @@ var extractTabItems = (children) => {
11496
11527
 
11497
11528
  // src/components/Tabs/SelectedItemIndicator.tsx
11498
11529
  import { useMemo as useMemo10 } from "react";
11499
- import styled66 from "styled-components";
11500
- import { jsx as jsx261 } from "react/jsx-runtime";
11501
- var TabsSelectedItemIndicatorDiv = styled66(SelectedItemIndicatorDiv)`
11530
+ import styled67 from "styled-components";
11531
+ import { jsx as jsx262 } from "react/jsx-runtime";
11532
+ var TabsSelectedItemIndicatorDiv = styled67(SelectedItemIndicatorDiv)`
11502
11533
  &:has(~ ${StyledTabItem}:focus-visible) {
11503
11534
  outline: 2px solid var(--wui-color-focus-ring);
11504
11535
  }
@@ -11517,7 +11548,7 @@ var SelectedItemIndicator2 = () => {
11517
11548
  if (selectedValue == null) {
11518
11549
  return null;
11519
11550
  }
11520
- return /* @__PURE__ */ jsx261(
11551
+ return /* @__PURE__ */ jsx262(
11521
11552
  TabsSelectedItemIndicatorDiv,
11522
11553
  {
11523
11554
  style: {
@@ -11530,24 +11561,24 @@ var SelectedItemIndicator2 = () => {
11530
11561
  };
11531
11562
 
11532
11563
  // src/components/Tabs/Tabs.tsx
11533
- import { jsx as jsx262, jsxs as jsxs41 } from "react/jsx-runtime";
11534
- var TabsContainer = styled67.div`
11564
+ import { jsx as jsx263, jsxs as jsxs41 } from "react/jsx-runtime";
11565
+ var TabsContainer = styled68.div`
11535
11566
  display: flex;
11536
11567
  flex-direction: column;
11537
11568
  height: ${({ $stickyHeaders }) => $stickyHeaders ? "100%" : "auto"};
11538
11569
  overflow: ${({ $stickyHeaders }) => $stickyHeaders ? "hidden" : "visible"};
11539
11570
  `;
11540
- var StickyTabContent = styled67.div`
11571
+ var StickyTabContent = styled68.div`
11541
11572
  flex: ${({ $stickyHeaders }) => $stickyHeaders ? "1" : "initial"};
11542
11573
  overflow-y: ${({ $stickyHeaders }) => $stickyHeaders ? "auto" : "visible"};
11543
11574
  overflow-x: ${({ $stickyHeaders }) => $stickyHeaders ? "hidden" : "visible"};
11544
11575
  `;
11545
- var StyledTabsRoot = styled67(TabsRoot)`
11576
+ var StyledTabsRoot = styled68(TabsRoot)`
11546
11577
  display: flex;
11547
11578
  flex-direction: column;
11548
11579
  height: ${({ $stickyHeaders }) => $stickyHeaders ? "100%" : "auto"};
11549
11580
  `;
11550
- var Tabs = forwardRef25(
11581
+ var Tabs = forwardRef26(
11551
11582
  ({
11552
11583
  children,
11553
11584
  fullWidth = true,
@@ -11565,7 +11596,7 @@ var Tabs = forwardRef25(
11565
11596
  onValueChange: setInternalSelectedValue
11566
11597
  } : { value: selectedValue, onValueChange: onSelectedValueChange };
11567
11598
  const currentValue = defaultSelectedValue !== void 0 ? internalSelectedValue : selectedValue;
11568
- return /* @__PURE__ */ jsx262(TabsContainer, { $stickyHeaders: stickyHeaders, children: /* @__PURE__ */ jsx262(
11599
+ return /* @__PURE__ */ jsx263(TabsContainer, { $stickyHeaders: stickyHeaders, children: /* @__PURE__ */ jsx263(
11569
11600
  StyledTabsRoot,
11570
11601
  {
11571
11602
  ref,
@@ -11573,14 +11604,14 @@ var Tabs = forwardRef25(
11573
11604
  activationMode: "automatic",
11574
11605
  ...otherProps,
11575
11606
  ...modeProps,
11576
- children: /* @__PURE__ */ jsx262(TabsValueProvider, { value: currentValue, children: /* @__PURE__ */ jsxs41(SelectedItemMeasurementsProvider, { children: [
11607
+ children: /* @__PURE__ */ jsx263(TabsValueProvider, { value: currentValue, children: /* @__PURE__ */ jsxs41(SelectedItemMeasurementsProvider, { children: [
11577
11608
  /* @__PURE__ */ jsxs41(
11578
11609
  TabList,
11579
11610
  {
11580
11611
  ariaLabel,
11581
11612
  fullWidth,
11582
11613
  children: [
11583
- /* @__PURE__ */ jsx262(SelectedItemIndicator2, {}),
11614
+ /* @__PURE__ */ jsx263(SelectedItemIndicator2, {}),
11584
11615
  tabItems.map((tab) => {
11585
11616
  const {
11586
11617
  value,
@@ -11590,7 +11621,7 @@ var Tabs = forwardRef25(
11590
11621
  "aria-label": ariaLabelForTab
11591
11622
  } = tab.props;
11592
11623
  if (isNil15(icon)) {
11593
- return /* @__PURE__ */ jsx262(
11624
+ return /* @__PURE__ */ jsx263(
11594
11625
  TabItem,
11595
11626
  {
11596
11627
  disabled,
@@ -11601,7 +11632,7 @@ var Tabs = forwardRef25(
11601
11632
  );
11602
11633
  }
11603
11634
  if (isNotNil24(label)) {
11604
- return /* @__PURE__ */ jsx262(
11635
+ return /* @__PURE__ */ jsx263(
11605
11636
  TabItem,
11606
11637
  {
11607
11638
  disabled,
@@ -11613,7 +11644,7 @@ var Tabs = forwardRef25(
11613
11644
  );
11614
11645
  }
11615
11646
  if (isNotNil24(ariaLabelForTab)) {
11616
- return /* @__PURE__ */ jsx262(
11647
+ return /* @__PURE__ */ jsx263(
11617
11648
  TabItem,
11618
11649
  {
11619
11650
  "aria-label": ariaLabelForTab,
@@ -11629,7 +11660,7 @@ var Tabs = forwardRef25(
11629
11660
  ]
11630
11661
  }
11631
11662
  ),
11632
- /* @__PURE__ */ jsx262(StickyTabContent, { $stickyHeaders: stickyHeaders, children: tabItems.map((tab) => /* @__PURE__ */ jsx262(
11663
+ /* @__PURE__ */ jsx263(StickyTabContent, { $stickyHeaders: stickyHeaders, children: tabItems.map((tab) => /* @__PURE__ */ jsx263(
11633
11664
  TabPanel,
11634
11665
  {
11635
11666
  value: tab.props.value,
@@ -11645,19 +11676,19 @@ var Tabs = forwardRef25(
11645
11676
  Tabs.displayName = "Tabs";
11646
11677
 
11647
11678
  // src/components/Tabs/Tab.tsx
11648
- import { forwardRef as forwardRef26 } from "react";
11649
- import { jsx as jsx263 } from "react/jsx-runtime";
11650
- var Tab = forwardRef26(({ children }, ref) => {
11651
- return /* @__PURE__ */ jsx263("div", { ref, children });
11679
+ import { forwardRef as forwardRef27 } from "react";
11680
+ import { jsx as jsx264 } from "react/jsx-runtime";
11681
+ var Tab = forwardRef27(({ children }, ref) => {
11682
+ return /* @__PURE__ */ jsx264("div", { ref, children });
11652
11683
  });
11653
11684
  Tab.displayName = "Tab";
11654
11685
 
11655
11686
  // src/components/Tag/Tag.tsx
11656
- import { forwardRef as forwardRef27 } from "react";
11657
- import styled68 from "styled-components";
11687
+ import { forwardRef as forwardRef28 } from "react";
11688
+ import styled69 from "styled-components";
11658
11689
  import { isNil as isNil16, isNotNil as isNotNil25, isNonEmptyString as isNonEmptyString5 } from "@wistia/type-guards";
11659
- import { Fragment as Fragment8, jsx as jsx264, jsxs as jsxs42 } from "react/jsx-runtime";
11660
- var TagLabel = styled68.a`
11690
+ import { Fragment as Fragment8, jsx as jsx265, jsxs as jsxs42 } from "react/jsx-runtime";
11691
+ var TagLabel = styled69.a`
11661
11692
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11662
11693
  font-size: var(--wui-typography-label-4-size);
11663
11694
  font-weight: var(--wui-typography-label-4-weight);
@@ -11692,14 +11723,14 @@ var TagLabel = styled68.a`
11692
11723
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
11693
11724
  }
11694
11725
  `;
11695
- var TagDivider = styled68.div`
11726
+ var TagDivider = styled69.div`
11696
11727
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11697
11728
  border-left: 1px solid var(--wui-color-border);
11698
11729
  display: flex;
11699
11730
  height: 14px;
11700
11731
  width: 1px;
11701
11732
  `;
11702
- var StyledRemoveButton = styled68.button`
11733
+ var StyledRemoveButton = styled69.button`
11703
11734
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11704
11735
  all: unset;
11705
11736
  cursor: pointer;
@@ -11727,7 +11758,7 @@ var StyledRemoveButton = styled68.button`
11727
11758
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
11728
11759
  }
11729
11760
  `;
11730
- var StyledTag = styled68.div`
11761
+ var StyledTag = styled69.div`
11731
11762
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11732
11763
  align-items: center;
11733
11764
  background-color: var(--wui-color-bg-surface-secondary);
@@ -11749,7 +11780,7 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
11749
11780
  );
11750
11781
  }
11751
11782
  return /* @__PURE__ */ jsxs42(Fragment8, { children: [
11752
- /* @__PURE__ */ jsx264(TagDivider, { $colorScheme: colorScheme }),
11783
+ /* @__PURE__ */ jsx265(TagDivider, { $colorScheme: colorScheme }),
11753
11784
  /* @__PURE__ */ jsxs42(
11754
11785
  StyledRemoveButton,
11755
11786
  {
@@ -11757,20 +11788,20 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
11757
11788
  onClick: onClickRemove,
11758
11789
  type: "button",
11759
11790
  children: [
11760
- /* @__PURE__ */ jsx264(
11791
+ /* @__PURE__ */ jsx265(
11761
11792
  Icon,
11762
11793
  {
11763
11794
  size: "sm",
11764
11795
  type: "close"
11765
11796
  }
11766
11797
  ),
11767
- /* @__PURE__ */ jsx264(ScreenReaderOnly, { children: onClickRemoveLabel })
11798
+ /* @__PURE__ */ jsx265(ScreenReaderOnly, { children: onClickRemoveLabel })
11768
11799
  ]
11769
11800
  }
11770
11801
  )
11771
11802
  ] });
11772
11803
  };
11773
- var Tag = forwardRef27(
11804
+ var Tag = forwardRef28(
11774
11805
  ({
11775
11806
  onClickRemove,
11776
11807
  colorScheme = "inherit",
@@ -11800,7 +11831,7 @@ var Tag = forwardRef27(
11800
11831
  ]
11801
11832
  }
11802
11833
  ),
11803
- /* @__PURE__ */ jsx264(
11834
+ /* @__PURE__ */ jsx265(
11804
11835
  RemoveButton,
11805
11836
  {
11806
11837
  colorScheme,
@@ -11816,26 +11847,26 @@ var Tag = forwardRef27(
11816
11847
  Tag.displayName = "Tag";
11817
11848
 
11818
11849
  // src/components/WistiaLogo/WistiaLogo.tsx
11819
- import styled69, { css as css35 } from "styled-components";
11850
+ import styled70, { css as css35 } from "styled-components";
11820
11851
  import { isNotNil as isNotNil26 } from "@wistia/type-guards";
11821
- import { jsx as jsx265, jsxs as jsxs43 } from "react/jsx-runtime";
11852
+ import { jsx as jsx266, jsxs as jsxs43 } from "react/jsx-runtime";
11822
11853
  var renderBrandmark = (brandmarkColor, iconOnly) => {
11823
11854
  if (iconOnly) {
11824
- return /* @__PURE__ */ jsx265(
11855
+ return /* @__PURE__ */ jsx266(
11825
11856
  "g",
11826
11857
  {
11827
11858
  "data-testid": "ui-wistia-logo-brandmark",
11828
11859
  fill: brandmarkColor,
11829
- children: /* @__PURE__ */ jsx265("path", { d: "M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
11860
+ children: /* @__PURE__ */ jsx266("path", { d: "M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
11830
11861
  }
11831
11862
  );
11832
11863
  }
11833
- return /* @__PURE__ */ jsx265(
11864
+ return /* @__PURE__ */ jsx266(
11834
11865
  "g",
11835
11866
  {
11836
11867
  "data-testid": "ui-wistia-logo-brandmark",
11837
11868
  fill: brandmarkColor,
11838
- children: /* @__PURE__ */ jsx265("path", { d: "M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
11869
+ children: /* @__PURE__ */ jsx266("path", { d: "M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
11839
11870
  }
11840
11871
  );
11841
11872
  };
@@ -11843,12 +11874,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
11843
11874
  if (iconOnly) {
11844
11875
  return null;
11845
11876
  }
11846
- return /* @__PURE__ */ jsx265(
11877
+ return /* @__PURE__ */ jsx266(
11847
11878
  "g",
11848
11879
  {
11849
11880
  "data-testid": "ui-wistia-logo-logotype",
11850
11881
  fill: logotypeColor,
11851
- children: /* @__PURE__ */ jsx265("path", { d: "M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z" })
11882
+ children: /* @__PURE__ */ jsx266("path", { d: "M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z" })
11852
11883
  }
11853
11884
  );
11854
11885
  };
@@ -11858,7 +11889,7 @@ var computedViewBox = (iconOnly) => {
11858
11889
  }
11859
11890
  return "0 0 144 31.47";
11860
11891
  };
11861
- var WistiaLogoComponent = styled69.svg`
11892
+ var WistiaLogoComponent = styled70.svg`
11862
11893
  height: ${({ height }) => `${height}px`};
11863
11894
 
11864
11895
  /* ensure it will always fit on mobile */
@@ -11929,14 +11960,14 @@ var WistiaLogo = ({
11929
11960
  xmlns: "http://www.w3.org/2000/svg",
11930
11961
  ...otherProps,
11931
11962
  children: [
11932
- /* @__PURE__ */ jsx265("title", { children: title }),
11933
- isNotNil26(description) ? /* @__PURE__ */ jsx265("desc", { children: description }) : null,
11963
+ /* @__PURE__ */ jsx266("title", { children: title }),
11964
+ isNotNil26(description) ? /* @__PURE__ */ jsx266("desc", { children: description }) : null,
11934
11965
  renderBrandmark(brandmarkColor, iconOnly),
11935
11966
  renderLogotype(logotypeColor, iconOnly)
11936
11967
  ]
11937
11968
  }
11938
11969
  );
11939
- return href !== void 0 ? /* @__PURE__ */ jsx265("a", { href, children: Logo }) : Logo;
11970
+ return href !== void 0 ? /* @__PURE__ */ jsx266("a", { href, children: Logo }) : Logo;
11940
11971
  };
11941
11972
  WistiaLogo.displayName = "WistiaLogo";
11942
11973
  export {
@@ -11949,6 +11980,7 @@ export {
11949
11980
  Button,
11950
11981
  ButtonGroup,
11951
11982
  Card,
11983
+ Center,
11952
11984
  Checkbox,
11953
11985
  CheckboxGroup,
11954
11986
  CheckboxMenuItem,