@wistia/ui 0.10.6 → 0.10.7-beta.ef55efcf.5dc6420

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.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.10.6
3
+ * @license @wistia/ui v0.10.7-beta.ef55efcf.5dc6420
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -56,6 +56,7 @@ __export(index_exports, {
56
56
  Collapsible: () => Collapsible,
57
57
  CollapsibleContent: () => CollapsibleContent,
58
58
  CollapsibleTrigger: () => CollapsibleTrigger,
59
+ CollapsibleTriggerIcon: () => CollapsibleTriggerIcon,
59
60
  ColorSchemeWrapper: () => ColorSchemeWrapper,
60
61
  Combobox: () => Combobox2,
61
62
  ComboboxOption: () => ComboboxOption,
@@ -135,11 +136,11 @@ __export(index_exports, {
135
136
  useBoolean: () => useBoolean,
136
137
  useClipboard: () => useClipboard,
137
138
  useElementObserver: () => useElementObserver,
138
- useFilePicker: () => import_use_file_picker.useFilePicker,
139
+ useFilePicker: () => useFilePicker,
139
140
  useFocusTrap: () => useFocusTrap,
140
141
  useForceUpdate: () => useForceUpdate,
141
142
  useFormState: () => useFormState,
142
- useImperativeFilePicker: () => import_use_file_picker.useImperativeFilePicker,
143
+ useImperativeFilePicker: () => useImperativeFilePicker,
143
144
  useIsHovered: () => useIsHovered,
144
145
  useKey: () => useKey,
145
146
  useLocalStorage: () => useLocalStorage,
@@ -2188,6 +2189,20 @@ var useElementObserver = () => {
2188
2189
  // src/hooks/useFilePicker/useFilePicker.tsx
2189
2190
  var import_use_file_picker = require("use-file-picker");
2190
2191
  var import_validators = require("use-file-picker/validators");
2192
+ var useFilePicker = (config = {}) => {
2193
+ const finalConfig = {
2194
+ readFilesContent: false,
2195
+ ...config
2196
+ };
2197
+ return (0, import_use_file_picker.useFilePicker)(finalConfig);
2198
+ };
2199
+ var useImperativeFilePicker = (config = {}) => {
2200
+ const finalConfig = {
2201
+ readFilesContent: false,
2202
+ ...config
2203
+ };
2204
+ return (0, import_use_file_picker.useImperativeFilePicker)(finalConfig);
2205
+ };
2191
2206
 
2192
2207
  // src/hooks/useFocusTrap/useFocusTrap.ts
2193
2208
  var import_react9 = require("react");
@@ -8882,23 +8897,67 @@ Collapsible.displayName = "Collapsible";
8882
8897
  // src/components/Collapsible/CollapsibleTrigger.tsx
8883
8898
  var import_react36 = require("react");
8884
8899
  var import_react_collapsible2 = require("@radix-ui/react-collapsible");
8900
+ var import_styled_components41 = __toESM(require("styled-components"));
8885
8901
  var import_jsx_runtime216 = require("react/jsx-runtime");
8902
+ var StyledTrigger = (0, import_styled_components41.default)(import_react_collapsible2.Trigger)`
8903
+ [data-wui-collapsible-icon] {
8904
+ transition: transform var(--wui-motion-duration-03) ease-in-out;
8905
+ }
8906
+
8907
+ &[aria-expanded='true'] {
8908
+ [data-wui-collapsible-icon] {
8909
+ &[data-wui-collapsible-icon-rotate='90'] {
8910
+ transform: rotate(90deg);
8911
+ }
8912
+
8913
+ &[data-wui-collapsible-icon-rotate='-90'] {
8914
+ transform: rotate(-90deg);
8915
+ }
8916
+
8917
+ &[data-wui-collapsible-icon-rotate='45'] {
8918
+ transform: rotate(45deg);
8919
+ }
8920
+ }
8921
+ }
8922
+ `;
8886
8923
  var CollapsibleTrigger = ({ children }) => {
8887
8924
  import_react36.Children.only(children);
8888
- return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(import_react_collapsible2.Trigger, { asChild: true, children });
8925
+ return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(StyledTrigger, { asChild: true, children });
8926
+ };
8927
+
8928
+ // src/components/Collapsible/CollapsibleTriggerIcon.tsx
8929
+ var import_jsx_runtime217 = require("react/jsx-runtime");
8930
+ var iconRotationMap = {
8931
+ "caret-left-strong": "-90",
8932
+ "caret-left": "-90",
8933
+ "caret-right-strong": "90",
8934
+ "caret-right": "90",
8935
+ plus: "45"
8936
+ };
8937
+ var CollapsibleTriggerIcon = ({ type, ...props }) => {
8938
+ return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
8939
+ Icon,
8940
+ {
8941
+ ...props,
8942
+ "data-wui-collapsible-icon": "true",
8943
+ "data-wui-collapsible-icon-rotate": iconRotationMap[type],
8944
+ type
8945
+ }
8946
+ );
8889
8947
  };
8948
+ CollapsibleTriggerIcon.displayName = "CollapsibleTriggerIcon";
8890
8949
 
8891
8950
  // src/components/Collapsible/CollapsibleContent.tsx
8892
- var import_styled_components41 = __toESM(require("styled-components"));
8951
+ var import_styled_components42 = __toESM(require("styled-components"));
8893
8952
  var import_react_collapsible3 = require("@radix-ui/react-collapsible");
8894
8953
  var import_type_guards28 = require("@wistia/type-guards");
8895
- var import_jsx_runtime217 = require("react/jsx-runtime");
8896
- var ClampedContent = import_styled_components41.default.div`
8954
+ var import_jsx_runtime218 = require("react/jsx-runtime");
8955
+ var ClampedContent = import_styled_components42.default.div`
8897
8956
  --wui-collapsible-content-clamp-lines: ${({ $clamp }) => $clamp};
8898
8957
  `;
8899
8958
  var CollapsibleContent = ({ clamp, children }) => {
8900
8959
  if ((0, import_type_guards28.isNotUndefined)(clamp)) {
8901
- return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
8960
+ return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
8902
8961
  ClampedContent,
8903
8962
  {
8904
8963
  $clamp: clamp,
@@ -8907,7 +8966,7 @@ var CollapsibleContent = ({ clamp, children }) => {
8907
8966
  }
8908
8967
  );
8909
8968
  }
8910
- return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(import_react_collapsible3.Content, { children: /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)(import_jsx_runtime217.Fragment, { children: [
8969
+ return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(import_react_collapsible3.Content, { children: /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(import_jsx_runtime218.Fragment, { children: [
8911
8970
  children,
8912
8971
  " "
8913
8972
  ] }) });
@@ -8917,14 +8976,14 @@ var CollapsibleContent = ({ clamp, children }) => {
8917
8976
  var Ariakit = __toESM(require("@ariakit/react"));
8918
8977
  var import_react39 = require("react");
8919
8978
  var import_match_sorter = require("match-sorter");
8920
- var import_styled_components45 = __toESM(require("styled-components"));
8979
+ var import_styled_components46 = __toESM(require("styled-components"));
8921
8980
 
8922
8981
  // src/components/Tag/Tag.tsx
8923
8982
  var import_react37 = require("react");
8924
- var import_styled_components42 = __toESM(require("styled-components"));
8983
+ var import_styled_components43 = __toESM(require("styled-components"));
8925
8984
  var import_type_guards29 = require("@wistia/type-guards");
8926
- var import_jsx_runtime218 = require("react/jsx-runtime");
8927
- var TagLabel = import_styled_components42.default.a`
8985
+ var import_jsx_runtime219 = require("react/jsx-runtime");
8986
+ var TagLabel = import_styled_components43.default.a`
8928
8987
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8929
8988
  font-size: var(--wui-typography-label-4-size);
8930
8989
  font-weight: var(--wui-typography-label-4-weight);
@@ -8959,14 +9018,14 @@ var TagLabel = import_styled_components42.default.a`
8959
9018
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
8960
9019
  }
8961
9020
  `;
8962
- var TagDivider = import_styled_components42.default.div`
9021
+ var TagDivider = import_styled_components43.default.div`
8963
9022
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8964
9023
  border-left: 1px solid var(--wui-color-border);
8965
9024
  display: flex;
8966
9025
  height: 14px;
8967
9026
  width: 1px;
8968
9027
  `;
8969
- var StyledRemoveButton = import_styled_components42.default.button`
9028
+ var StyledRemoveButton = import_styled_components43.default.button`
8970
9029
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8971
9030
  all: unset;
8972
9031
  cursor: pointer;
@@ -8994,7 +9053,7 @@ var StyledRemoveButton = import_styled_components42.default.button`
8994
9053
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
8995
9054
  }
8996
9055
  `;
8997
- var StyledTag = import_styled_components42.default.div`
9056
+ var StyledTag = import_styled_components43.default.div`
8998
9057
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8999
9058
  align-items: center;
9000
9059
  background-color: var(--wui-color-bg-surface-secondary);
@@ -9015,23 +9074,23 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
9015
9074
  "for accessibility, onClickRemoveLabel must be provided if onClickRemove is provided"
9016
9075
  );
9017
9076
  }
9018
- return /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(import_jsx_runtime218.Fragment, { children: [
9019
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(TagDivider, { $colorScheme: colorScheme }),
9020
- /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(
9077
+ return /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(import_jsx_runtime219.Fragment, { children: [
9078
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(TagDivider, { $colorScheme: colorScheme }),
9079
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(
9021
9080
  StyledRemoveButton,
9022
9081
  {
9023
9082
  $colorScheme: colorScheme,
9024
9083
  onClick: onClickRemove,
9025
9084
  type: "button",
9026
9085
  children: [
9027
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
9086
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
9028
9087
  Icon,
9029
9088
  {
9030
9089
  size: "sm",
9031
9090
  type: "close"
9032
9091
  }
9033
9092
  ),
9034
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
9093
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
9035
9094
  ]
9036
9095
  }
9037
9096
  )
@@ -9041,14 +9100,14 @@ var Tag = (0, import_react37.forwardRef)(
9041
9100
  ({ onClickRemove, colorScheme = "inherit", href, icon, label, onClickRemoveLabel, ...props }, ref) => {
9042
9101
  const hasIcon = (0, import_type_guards29.isNotNil)(icon);
9043
9102
  const labelProps = (0, import_type_guards29.isNotNil)(href) && (0, import_type_guards29.isNonEmptyString)(href) ? { href, as: "a" } : { as: "span" };
9044
- return /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(
9103
+ return /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(
9045
9104
  StyledTag,
9046
9105
  {
9047
9106
  ref,
9048
9107
  $colorScheme: colorScheme,
9049
9108
  ...props,
9050
9109
  children: [
9051
- /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(
9110
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(
9052
9111
  TagLabel,
9053
9112
  {
9054
9113
  ...labelProps,
@@ -9059,7 +9118,7 @@ var Tag = (0, import_react37.forwardRef)(
9059
9118
  ]
9060
9119
  }
9061
9120
  ),
9062
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
9121
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
9063
9122
  RemoveButton,
9064
9123
  {
9065
9124
  colorScheme,
@@ -9076,22 +9135,22 @@ Tag.displayName = "Tag";
9076
9135
 
9077
9136
  // src/components/Text/Text.tsx
9078
9137
  var import_react38 = require("react");
9079
- var import_styled_components43 = __toESM(require("styled-components"));
9138
+ var import_styled_components44 = __toESM(require("styled-components"));
9080
9139
  var import_type_guards30 = require("@wistia/type-guards");
9081
- var import_jsx_runtime219 = require("react/jsx-runtime");
9082
- var bodyBoldStyles = import_styled_components43.css`
9140
+ var import_jsx_runtime220 = require("react/jsx-runtime");
9141
+ var bodyBoldStyles = import_styled_components44.css`
9083
9142
  > strong,
9084
9143
  b {
9085
9144
  font-weight: var(--wui-typography-weight-body-bold);
9086
9145
  }
9087
9146
  `;
9088
- var labelBoldStyles = import_styled_components43.css`
9147
+ var labelBoldStyles = import_styled_components44.css`
9089
9148
  > strong,
9090
9149
  b {
9091
9150
  font-weight: var(--wui-typography-weight-label-bold);
9092
9151
  }
9093
9152
  `;
9094
- var body1TextStyle = import_styled_components43.css`
9153
+ var body1TextStyle = import_styled_components44.css`
9095
9154
  --font-family: var(--wui-typography-body-1-family);
9096
9155
  --font-size: var(--wui-typography-body-1-size);
9097
9156
  --font-weight: var(--wui-typography-body-1-weight);
@@ -9099,7 +9158,7 @@ var body1TextStyle = import_styled_components43.css`
9099
9158
  --paragraph-spacing: var(--wui-typography-body-1-paragraph-spacing);
9100
9159
  ${bodyBoldStyles}
9101
9160
  `;
9102
- var body2TextStyle = import_styled_components43.css`
9161
+ var body2TextStyle = import_styled_components44.css`
9103
9162
  --font-family: var(--wui-typography-body-2-family);
9104
9163
  --font-size: var(--wui-typography-body-2-size);
9105
9164
  --font-weight: var(--wui-typography-body-2-weight);
@@ -9107,7 +9166,7 @@ var body2TextStyle = import_styled_components43.css`
9107
9166
  --paragraph-spacing: var(--wui-typography-body-2-paragraph-spacing);
9108
9167
  ${bodyBoldStyles}
9109
9168
  `;
9110
- var body3TextStyle = import_styled_components43.css`
9169
+ var body3TextStyle = import_styled_components44.css`
9111
9170
  --font-family: var(--wui-typography-body-3-family);
9112
9171
  --font-size: var(--wui-typography-body-3-size);
9113
9172
  --font-weight: var(--wui-typography-body-3-weight);
@@ -9115,7 +9174,7 @@ var body3TextStyle = import_styled_components43.css`
9115
9174
  --paragraph-spacing: var(--wui-typography-body-3-paragraph-spacing);
9116
9175
  ${bodyBoldStyles}
9117
9176
  `;
9118
- var body4TextStyle = import_styled_components43.css`
9177
+ var body4TextStyle = import_styled_components44.css`
9119
9178
  --font-family: var(--wui-typography-body-4-family);
9120
9179
  --font-size: var(--wui-typography-body-4-size);
9121
9180
  --font-weight: var(--wui-typography-body-4-weight);
@@ -9123,47 +9182,47 @@ var body4TextStyle = import_styled_components43.css`
9123
9182
  --paragraph-spacing: var(--wui-typography-body-4-paragraph-spacing);
9124
9183
  ${bodyBoldStyles}
9125
9184
  `;
9126
- var label1TextStyle = import_styled_components43.css`
9185
+ var label1TextStyle = import_styled_components44.css`
9127
9186
  --font-family: var(--wui-typography-label-1-family);
9128
9187
  --font-size: var(--wui-typography-label-1-size);
9129
9188
  --font-weight: var(--wui-typography-label-1-weight);
9130
9189
  --line-height: var(--wui-typography-label-1-line-height);
9131
9190
  ${labelBoldStyles}
9132
9191
  `;
9133
- var label2TextStyle = import_styled_components43.css`
9192
+ var label2TextStyle = import_styled_components44.css`
9134
9193
  --font-family: var(--wui-typography-label-2-family);
9135
9194
  --font-size: var(--wui-typography-label-2-size);
9136
9195
  --font-weight: var(--wui-typography-label-2-weight);
9137
9196
  --line-height: var(--wui-typography-label-2-line-height);
9138
9197
  ${labelBoldStyles}
9139
9198
  `;
9140
- var label3TextStyle = import_styled_components43.css`
9199
+ var label3TextStyle = import_styled_components44.css`
9141
9200
  --font-family: var(--wui-typography-label-3-family);
9142
9201
  --font-size: var(--wui-typography-label-3-size);
9143
9202
  --font-weight: var(--wui-typography-label-3-weight);
9144
9203
  --line-height: var(--wui-typography-label-3-line-height);
9145
9204
  ${labelBoldStyles}
9146
9205
  `;
9147
- var label4TextStyle = import_styled_components43.css`
9206
+ var label4TextStyle = import_styled_components44.css`
9148
9207
  --font-family: var(--wui-typography-label-4-family);
9149
9208
  --font-size: var(--wui-typography-label-4-size);
9150
9209
  --font-weight: var(--wui-typography-label-4-weight);
9151
9210
  --line-height: var(--wui-typography-label-4-line-height);
9152
9211
  ${labelBoldStyles}
9153
9212
  `;
9154
- var body1MonoTextStyle = import_styled_components43.css`
9213
+ var body1MonoTextStyle = import_styled_components44.css`
9155
9214
  ${body1TextStyle};
9156
9215
  --font-family: var(--wui-typography-family-mono);
9157
9216
  `;
9158
- var body2MonoTextStyle = import_styled_components43.css`
9217
+ var body2MonoTextStyle = import_styled_components44.css`
9159
9218
  ${body2TextStyle};
9160
9219
  --font-family: var(--wui-typography-family-mono);
9161
9220
  `;
9162
- var body3MonoTextStyle = import_styled_components43.css`
9221
+ var body3MonoTextStyle = import_styled_components44.css`
9163
9222
  ${body3TextStyle};
9164
9223
  --font-family: var(--wui-typography-family-mono);
9165
9224
  `;
9166
- var body4MonoTextStyle = import_styled_components43.css`
9225
+ var body4MonoTextStyle = import_styled_components44.css`
9167
9226
  ${body4TextStyle};
9168
9227
  --font-family: var(--wui-typography-family-mono);
9169
9228
  `;
@@ -9198,7 +9257,7 @@ var variantElementMap2 = {
9198
9257
  label3: labelElement,
9199
9258
  label4: labelElement
9200
9259
  };
9201
- var StyledText = import_styled_components43.default.div`
9260
+ var StyledText = import_styled_components44.default.div`
9202
9261
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
9203
9262
  --text-color: ${({ $prominence, $disabled }) => {
9204
9263
  if ($disabled) {
@@ -9223,26 +9282,26 @@ var StyledText = import_styled_components43.default.div`
9223
9282
  ${({ $variant }) => variantStyleMap2[$variant]}
9224
9283
  ${({ $truncate }) => {
9225
9284
  if ((0, import_type_guards30.isNotNil)($truncate)) {
9226
- return import_styled_components43.css`
9285
+ return import_styled_components44.css`
9227
9286
  ${ellipsisStyle};
9228
9287
  ${lineClampCss($truncate)};
9229
9288
  `;
9230
9289
  }
9231
9290
  return void 0;
9232
9291
  }}
9233
- ${({ $inline }) => $inline && import_styled_components43.css`
9292
+ ${({ $inline }) => $inline && import_styled_components44.css`
9234
9293
  display: inline-block;
9235
9294
  `}
9236
- ${({ $disabled }) => $disabled && import_styled_components43.css`
9295
+ ${({ $disabled }) => $disabled && import_styled_components44.css`
9237
9296
  --text-color: var(--wui-color-text-disabled);
9238
9297
  `}
9239
- ${({ $preventUserSelect }) => $preventUserSelect && import_styled_components43.css`
9298
+ ${({ $preventUserSelect }) => $preventUserSelect && import_styled_components44.css`
9240
9299
  user-select: none;
9241
9300
  `}
9242
- ${({ $align }) => import_styled_components43.css`
9301
+ ${({ $align }) => import_styled_components44.css`
9243
9302
  text-align: ${$align};
9244
9303
  `}
9245
- ${({ as }) => as === "p" && import_styled_components43.css`
9304
+ ${({ as }) => as === "p" && import_styled_components44.css`
9246
9305
  display: block;
9247
9306
 
9248
9307
  + p {
@@ -9263,7 +9322,7 @@ var TextComponent = (0, import_react38.forwardRef)(
9263
9322
  renderAs,
9264
9323
  ...props
9265
9324
  }, ref) => {
9266
- return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
9325
+ return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
9267
9326
  StyledText,
9268
9327
  {
9269
9328
  ref,
@@ -9285,8 +9344,8 @@ TextComponent.displayName = "Text";
9285
9344
  var Text = makePolymorphic(TextComponent);
9286
9345
 
9287
9346
  // src/css/inputCss.ts
9288
- var import_styled_components44 = require("styled-components");
9289
- var inputCss = import_styled_components44.css`
9347
+ var import_styled_components45 = require("styled-components");
9348
+ var inputCss = import_styled_components45.css`
9290
9349
  /* Colors */
9291
9350
  --wui-input-color-bg: var(--wui-color-bg-surface);
9292
9351
  --wui-input-color-bg-disabled: var(--wui-color-bg-surface-disabled);
@@ -9312,8 +9371,8 @@ var inputCss = import_styled_components44.css`
9312
9371
  `;
9313
9372
 
9314
9373
  // src/components/Combobox/Combobox.tsx
9315
- var import_jsx_runtime220 = require("react/jsx-runtime");
9316
- var ComboboxWapper = import_styled_components45.default.div`
9374
+ var import_jsx_runtime221 = require("react/jsx-runtime");
9375
+ var ComboboxWapper = import_styled_components46.default.div`
9317
9376
  ${inputCss};
9318
9377
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
9319
9378
  padding: var(--wui-input-vertical-padding) var(--wui-input-horizontal-padding);
@@ -9362,7 +9421,7 @@ var ComboboxWapper = import_styled_components45.default.div`
9362
9421
  }
9363
9422
  }
9364
9423
  `;
9365
- var ComboboxInput = (0, import_styled_components45.default)(Ariakit.Combobox)`
9424
+ var ComboboxInput = (0, import_styled_components46.default)(Ariakit.Combobox)`
9366
9425
  appearance: none;
9367
9426
  padding: 0;
9368
9427
  width: 100%;
@@ -9377,7 +9436,7 @@ var ComboboxInput = (0, import_styled_components45.default)(Ariakit.Combobox)`
9377
9436
  outline-width: 2px;
9378
9437
  }
9379
9438
  `;
9380
- var ComboboxPopover = (0, import_styled_components45.default)(Ariakit.Popover)`
9439
+ var ComboboxPopover = (0, import_styled_components46.default)(Ariakit.Popover)`
9381
9440
  --wui-combobox-content-border: var(--wui-color-border);
9382
9441
  --wui-combobox-content-bg: var(--wui-color-bg-surface);
9383
9442
  --wui-combobox-content-border-radius: var(--wui-border-radius-02);
@@ -9402,7 +9461,7 @@ var ComboboxPopover = (0, import_styled_components45.default)(Ariakit.Popover)`
9402
9461
  --item-opacity: 0.5;
9403
9462
  }
9404
9463
  `;
9405
- var ComboboxItem2 = (0, import_styled_components45.default)(Ariakit.ComboboxItem)`
9464
+ var ComboboxItem2 = (0, import_styled_components46.default)(Ariakit.ComboboxItem)`
9406
9465
  ${variantStyleMap2.body3};
9407
9466
  display: flex;
9408
9467
  padding: var(--wui-combobox-option-padding);
@@ -9427,12 +9486,12 @@ var ComboboxItem2 = (0, import_styled_components45.default)(Ariakit.ComboboxItem
9427
9486
  background-color: transparent;
9428
9487
  }
9429
9488
  `;
9430
- var NoResults = import_styled_components45.default.div`
9489
+ var NoResults = import_styled_components46.default.div`
9431
9490
  gap: var(--wui-space-02);
9432
9491
  `;
9433
9492
  var POPOVER_WIDTH_OFFSET = 20;
9434
9493
  var ComboboxOption = ({ value, children }) => {
9435
- return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
9494
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
9436
9495
  ComboboxItem2,
9437
9496
  {
9438
9497
  className: "combobox-item",
@@ -9485,7 +9544,7 @@ var Combobox2 = ({
9485
9544
  const matches = (0, import_react39.useMemo)(() => {
9486
9545
  return (0, import_match_sorter.matchSorter)(Object.keys(options), searchValue);
9487
9546
  }, [options, searchValue]);
9488
- return /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(
9547
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(
9489
9548
  Ariakit.ComboboxProvider,
9490
9549
  {
9491
9550
  selectedValue: value,
@@ -9496,13 +9555,13 @@ var Combobox2 = ({
9496
9555
  });
9497
9556
  },
9498
9557
  children: [
9499
- /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(
9558
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(
9500
9559
  ComboboxWapper,
9501
9560
  {
9502
9561
  ref: comboboxWrapperRef,
9503
9562
  $fullWidth: fullWidth,
9504
9563
  children: [
9505
- value.map((selectedValue) => /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
9564
+ value.map((selectedValue) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
9506
9565
  Tag,
9507
9566
  {
9508
9567
  href: "https://example.com",
@@ -9512,11 +9571,11 @@ var Combobox2 = ({
9512
9571
  },
9513
9572
  selectedValue
9514
9573
  )),
9515
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(ComboboxInput, { placeholder })
9574
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(ComboboxInput, { placeholder })
9516
9575
  ]
9517
9576
  }
9518
9577
  ),
9519
- /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(
9578
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(
9520
9579
  ComboboxPopover,
9521
9580
  {
9522
9581
  "aria-busy": isPending,
@@ -9526,14 +9585,14 @@ var Combobox2 = ({
9526
9585
  width: wrapperWidth
9527
9586
  },
9528
9587
  children: [
9529
- matches.map((match) => /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(
9588
+ matches.map((match) => /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(
9530
9589
  ComboboxItem2,
9531
9590
  {
9532
9591
  className: "combobox-item",
9533
9592
  focusOnHover: true,
9534
9593
  value: match,
9535
9594
  children: [
9536
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
9595
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
9537
9596
  Icon,
9538
9597
  {
9539
9598
  size: "sm",
@@ -9548,7 +9607,7 @@ var Combobox2 = ({
9548
9607
  },
9549
9608
  match
9550
9609
  )),
9551
- !matches.length && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(NoResults, { children: "No results found" })
9610
+ !matches.length && /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(NoResults, { children: "No results found" })
9552
9611
  ]
9553
9612
  }
9554
9613
  )
@@ -9559,10 +9618,10 @@ var Combobox2 = ({
9559
9618
 
9560
9619
  // src/components/DataCards/DataCard.tsx
9561
9620
  var import_react40 = require("react");
9562
- var import_styled_components46 = __toESM(require("styled-components"));
9621
+ var import_styled_components47 = __toESM(require("styled-components"));
9563
9622
  var import_type_guards31 = require("@wistia/type-guards");
9564
- var import_jsx_runtime221 = require("react/jsx-runtime");
9565
- var StyledDataCard = import_styled_components46.default.div`
9623
+ var import_jsx_runtime222 = require("react/jsx-runtime");
9624
+ var StyledDataCard = import_styled_components47.default.div`
9566
9625
  display: grid;
9567
9626
  grid-template-areas: 'label slot' 'value value';
9568
9627
  grid-template-rows: auto auto;
@@ -9617,7 +9676,7 @@ var StyledDataCard = import_styled_components46.default.div`
9617
9676
  ${({ $colorScheme }) => getColorScheme($colorScheme)}
9618
9677
  }
9619
9678
  `;
9620
- var shimmer = import_styled_components46.keyframes`
9679
+ var shimmer = import_styled_components47.keyframes`
9621
9680
  0% {
9622
9681
  background-position: 200% 0;
9623
9682
  }
@@ -9625,7 +9684,7 @@ var shimmer = import_styled_components46.keyframes`
9625
9684
  background-position: -200% 0;
9626
9685
  }
9627
9686
  `;
9628
- var LoadingBackground = import_styled_components46.default.div`
9687
+ var LoadingBackground = import_styled_components47.default.div`
9629
9688
  background: linear-gradient(
9630
9689
  90deg,
9631
9690
  var(--wui-color-bg-surface-tertiary) 25%,
@@ -9636,27 +9695,27 @@ var LoadingBackground = import_styled_components46.default.div`
9636
9695
  animation: ${shimmer} 1.5s infinite;
9637
9696
  border-radius: var(--wui-border-radius-01);
9638
9697
  `;
9639
- var StyledLoadingLabel = (0, import_styled_components46.default)(LoadingBackground)`
9698
+ var StyledLoadingLabel = (0, import_styled_components47.default)(LoadingBackground)`
9640
9699
  width: 80px;
9641
9700
  height: var(--wui-typography-heading-6-line-height);
9642
9701
  `;
9643
- var StyledLoadingValue = (0, import_styled_components46.default)(LoadingBackground)`
9702
+ var StyledLoadingValue = (0, import_styled_components47.default)(LoadingBackground)`
9644
9703
  width: 90%;
9645
9704
  height: var(--wui-typography-heading-3-line-height);
9646
9705
  `;
9647
- var StyledLabel2 = (0, import_styled_components46.default)(Heading)`
9706
+ var StyledLabel2 = (0, import_styled_components47.default)(Heading)`
9648
9707
  grid-area: label;
9649
9708
  `;
9650
- var StyledValue = (0, import_styled_components46.default)(Heading)`
9709
+ var StyledValue = (0, import_styled_components47.default)(Heading)`
9651
9710
  grid-area: value;
9652
9711
  `;
9653
- var StyledSlot = import_styled_components46.default.div`
9712
+ var StyledSlot = import_styled_components47.default.div`
9654
9713
  display: flex;
9655
9714
  justify-content: flex-end;
9656
9715
  grid-area: slot;
9657
9716
  align-self: center;
9658
9717
  `;
9659
- var StyledDataCardTrendContainer = import_styled_components46.default.div`
9718
+ var StyledDataCardTrendContainer = import_styled_components47.default.div`
9660
9719
  position: absolute;
9661
9720
  bottom: var(--wui-space-01);
9662
9721
  right: var(--wui-space-01);
@@ -9669,34 +9728,34 @@ var DataCardInner = ({
9669
9728
  isLoading = false,
9670
9729
  trend,
9671
9730
  ...props
9672
- }) => /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(
9731
+ }) => /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(
9673
9732
  StyledDataCard,
9674
9733
  {
9675
9734
  $colorScheme: colorScheme,
9676
9735
  ...props,
9677
9736
  children: [
9678
- /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
9737
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
9679
9738
  StyledLabel2,
9680
9739
  {
9681
9740
  renderAs: "dt",
9682
9741
  variant: "heading6",
9683
- children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(StyledLoadingLabel, {}) : label
9742
+ children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(StyledLoadingLabel, {}) : label
9684
9743
  }
9685
9744
  ),
9686
- /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
9745
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
9687
9746
  StyledValue,
9688
9747
  {
9689
9748
  renderAs: "dd",
9690
9749
  variant: "heading3",
9691
- children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(StyledLoadingValue, {}) : value
9750
+ children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(StyledLoadingValue, {}) : value
9692
9751
  }
9693
9752
  ),
9694
- (0, import_type_guards31.isNotNull)(upperRightSlot) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(StyledSlot, { children: upperRightSlot }),
9695
- (0, import_type_guards31.isNotNull)(trend) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(StyledDataCardTrendContainer, { children: trend })
9753
+ (0, import_type_guards31.isNotNull)(upperRightSlot) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(StyledSlot, { children: upperRightSlot }),
9754
+ (0, import_type_guards31.isNotNull)(trend) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(StyledDataCardTrendContainer, { children: trend })
9696
9755
  ]
9697
9756
  }
9698
9757
  );
9699
- var DataCardArrowIcon = /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
9758
+ var DataCardArrowIcon = /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
9700
9759
  Icon,
9701
9760
  {
9702
9761
  "data-wui-data-card-hover-icon": true,
@@ -9706,12 +9765,12 @@ var DataCardArrowIcon = /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
9706
9765
  var DataCard = (props) => {
9707
9766
  const ref = (0, import_react40.useRef)(null);
9708
9767
  if ((0, import_type_guards31.isNotNil)(props.href) || (0, import_type_guards31.isNotNil)(props.onClick)) {
9709
- return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(ClickRegion, { targetRef: ref, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
9768
+ return /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(ClickRegion, { targetRef: ref, children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
9710
9769
  DataCardInner,
9711
9770
  {
9712
9771
  upperRightSlot: props.upperRightSlot ?? DataCardArrowIcon,
9713
9772
  ...props,
9714
- label: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
9773
+ label: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
9715
9774
  Button,
9716
9775
  {
9717
9776
  ref,
@@ -9726,14 +9785,14 @@ var DataCard = (props) => {
9726
9785
  }
9727
9786
  ) });
9728
9787
  }
9729
- return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(DataCardInner, { ...props });
9788
+ return /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(DataCardInner, { ...props });
9730
9789
  };
9731
9790
  DataCard.displayName = "DataCard";
9732
9791
 
9733
9792
  // src/components/DataCards/DataCards.tsx
9734
- var import_styled_components47 = __toESM(require("styled-components"));
9735
- var import_jsx_runtime222 = require("react/jsx-runtime");
9736
- var StyledDataCards = (0, import_styled_components47.default)(Box)`
9793
+ var import_styled_components48 = __toESM(require("styled-components"));
9794
+ var import_jsx_runtime223 = require("react/jsx-runtime");
9795
+ var StyledDataCards = (0, import_styled_components48.default)(Box)`
9737
9796
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
9738
9797
  margin-top: 0; /* Remove default <dl> style */
9739
9798
  > * {
@@ -9747,7 +9806,7 @@ var DataCards = ({
9747
9806
  colorScheme = "inherit",
9748
9807
  ...props
9749
9808
  }) => {
9750
- return /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
9809
+ return /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
9751
9810
  StyledDataCards,
9752
9811
  {
9753
9812
  ...props,
@@ -9765,9 +9824,9 @@ var DataCards = ({
9765
9824
  DataCards.displayName = "DataCards";
9766
9825
 
9767
9826
  // src/components/DataCards/DataCardTrend.tsx
9768
- var import_styled_components48 = __toESM(require("styled-components"));
9769
- var import_jsx_runtime223 = require("react/jsx-runtime");
9770
- var StyledDataCardTrend = import_styled_components48.default.div`
9827
+ var import_styled_components49 = __toESM(require("styled-components"));
9828
+ var import_jsx_runtime224 = require("react/jsx-runtime");
9829
+ var StyledDataCardTrend = import_styled_components49.default.div`
9771
9830
  ${({ $outlook }) => getColorScheme($outlook === "positive" ? "success" : "error")};
9772
9831
  background: var(--wui-color-bg-app);
9773
9832
  border-radius: var(--wui-border-radius-rounded);
@@ -9782,8 +9841,8 @@ var DataCardTrend = ({
9782
9841
  children,
9783
9842
  ...props
9784
9843
  }) => {
9785
- return /* @__PURE__ */ (0, import_jsx_runtime223.jsxs)(StyledDataCardTrend, { $outlook: outlook, children: [
9786
- /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
9844
+ return /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(StyledDataCardTrend, { $outlook: outlook, children: [
9845
+ /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
9787
9846
  Icon,
9788
9847
  {
9789
9848
  size: "md",
@@ -9791,7 +9850,7 @@ var DataCardTrend = ({
9791
9850
  ...props
9792
9851
  }
9793
9852
  ),
9794
- /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
9853
+ /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
9795
9854
  Text,
9796
9855
  {
9797
9856
  prominence: "secondary",
@@ -9803,22 +9862,22 @@ var DataCardTrend = ({
9803
9862
  };
9804
9863
 
9805
9864
  // src/components/Divider/Divider.tsx
9806
- var import_styled_components49 = __toESM(require("styled-components"));
9807
- var import_jsx_runtime224 = require("react/jsx-runtime");
9808
- var horizontalBorderCss = import_styled_components49.css`
9865
+ var import_styled_components50 = __toESM(require("styled-components"));
9866
+ var import_jsx_runtime225 = require("react/jsx-runtime");
9867
+ var horizontalBorderCss = import_styled_components50.css`
9809
9868
  border-top-color: var(--wui-color-border);
9810
9869
  border-top-style: solid;
9811
9870
  border-top-width: 1px;
9812
9871
  clear: both; /* for horizontal dividers, ensure it clears any floats */
9813
9872
  height: 0;
9814
9873
  `;
9815
- var verticalBorderCss = import_styled_components49.css`
9874
+ var verticalBorderCss = import_styled_components50.css`
9816
9875
  background-color: var(--wui-color-border);
9817
9876
  max-width: 1px;
9818
9877
  min-height: 100%;
9819
9878
  width: 1px;
9820
9879
  `;
9821
- var DividerComponent = import_styled_components49.default.div`
9880
+ var DividerComponent = import_styled_components50.default.div`
9822
9881
  ${({ $orientation }) => {
9823
9882
  switch ($orientation) {
9824
9883
  case "vertical":
@@ -9830,7 +9889,7 @@ var DividerComponent = import_styled_components49.default.div`
9830
9889
  }}
9831
9890
  `;
9832
9891
  var Divider = ({ orientation = "horizontal", ...props }) => {
9833
- return /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
9892
+ return /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
9834
9893
  DividerComponent,
9835
9894
  {
9836
9895
  $orientation: orientation,
@@ -9843,14 +9902,14 @@ var Divider = ({ orientation = "horizontal", ...props }) => {
9843
9902
  Divider.displayName = "Divider";
9844
9903
 
9845
9904
  // src/components/EditableHeading/EditableHeading.tsx
9846
- var import_styled_components52 = __toESM(require("styled-components"));
9905
+ var import_styled_components53 = __toESM(require("styled-components"));
9847
9906
  var import_react42 = require("react");
9848
9907
 
9849
9908
  // src/components/Tooltip/Tooltip.tsx
9850
9909
  var import_react_tooltip2 = require("@radix-ui/react-tooltip");
9851
- var import_styled_components50 = __toESM(require("styled-components"));
9852
- var import_jsx_runtime225 = require("react/jsx-runtime");
9853
- var hide = import_styled_components50.keyframes`
9910
+ var import_styled_components51 = __toESM(require("styled-components"));
9911
+ var import_jsx_runtime226 = require("react/jsx-runtime");
9912
+ var hide = import_styled_components51.keyframes`
9854
9913
  from {
9855
9914
  opacity: 1;
9856
9915
  }
@@ -9858,7 +9917,7 @@ var hide = import_styled_components50.keyframes`
9858
9917
  opacity: 0;
9859
9918
  }
9860
9919
  `;
9861
- var slideDownAndFade = import_styled_components50.keyframes`
9920
+ var slideDownAndFade = import_styled_components51.keyframes`
9862
9921
  from {
9863
9922
  opacity: 0;
9864
9923
  transform: translateY(-6px);
@@ -9868,7 +9927,7 @@ var slideDownAndFade = import_styled_components50.keyframes`
9868
9927
  transform: translateY(0);
9869
9928
  }
9870
9929
  `;
9871
- var slideLeftAndFade = import_styled_components50.keyframes`
9930
+ var slideLeftAndFade = import_styled_components51.keyframes`
9872
9931
  from {
9873
9932
  opacity: 0;
9874
9933
  transform: translateX(6px);
@@ -9878,7 +9937,7 @@ var slideLeftAndFade = import_styled_components50.keyframes`
9878
9937
  transform: translateX(0);
9879
9938
  }
9880
9939
  `;
9881
- var slideUpAndFade = import_styled_components50.keyframes`
9940
+ var slideUpAndFade = import_styled_components51.keyframes`
9882
9941
  from {
9883
9942
  opacity: 0;
9884
9943
  transform: translateY(6px);
@@ -9888,7 +9947,7 @@ var slideUpAndFade = import_styled_components50.keyframes`
9888
9947
  transform: translateY(0);
9889
9948
  }
9890
9949
  `;
9891
- var slideRightAndFade = import_styled_components50.keyframes`
9950
+ var slideRightAndFade = import_styled_components51.keyframes`
9892
9951
  from {
9893
9952
  opacity: 0;
9894
9953
  transform: translateX(-6px);
@@ -9898,7 +9957,7 @@ var slideRightAndFade = import_styled_components50.keyframes`
9898
9957
  transform: translateX(0);
9899
9958
  }
9900
9959
  `;
9901
- var StyledContent = (0, import_styled_components50.default)(import_react_tooltip2.Content)`
9960
+ var StyledContent = (0, import_styled_components51.default)(import_react_tooltip2.Content)`
9902
9961
  --tooltip-font-family: var(--wui-typography-family-default);
9903
9962
  --tooltip-border-radius: var(--wui-border-radius-05);
9904
9963
  --tooltip-bg: var(--wui-color-bg-tooltip);
@@ -9960,21 +10019,21 @@ var Tooltip = ({
9960
10019
  if (forceOpen === true) {
9961
10020
  rootProps.open = true;
9962
10021
  }
9963
- return /* @__PURE__ */ (0, import_jsx_runtime225.jsxs)(
10022
+ return /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)(
9964
10023
  import_react_tooltip2.Root,
9965
10024
  {
9966
10025
  delayDuration: delay,
9967
10026
  ...rootProps,
9968
10027
  children: [
9969
- /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(import_react_tooltip2.Trigger, { asChild: true, children }),
9970
- /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(import_react_tooltip2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime225.jsxs)(
10028
+ /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(import_react_tooltip2.Trigger, { asChild: true, children }),
10029
+ /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(import_react_tooltip2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)(
9971
10030
  StyledContent,
9972
10031
  {
9973
10032
  side: direction,
9974
10033
  sideOffset: hideArrow ? VISUAL_OFFSET : VISUAL_OFFSET - 2,
9975
10034
  children: [
9976
10035
  content,
9977
- !hideArrow ? /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(import_react_tooltip2.Arrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
10036
+ !hideArrow ? /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(import_react_tooltip2.Arrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
9978
10037
  "svg",
9979
10038
  {
9980
10039
  fill: "var(--tooltip-bg)",
@@ -9983,7 +10042,7 @@ var Tooltip = ({
9983
10042
  viewBox: "0 0 12 8",
9984
10043
  width: "12",
9985
10044
  xmlns: "http://www.w3.org/2000/svg",
9986
- children: /* @__PURE__ */ (0, import_jsx_runtime225.jsx)("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" })
10045
+ children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)("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" })
9987
10046
  }
9988
10047
  ) }) : null
9989
10048
  ]
@@ -9997,10 +10056,10 @@ Tooltip.displayName = "Tooltip";
9997
10056
 
9998
10057
  // src/components/Input/Input.tsx
9999
10058
  var import_react41 = require("react");
10000
- var import_styled_components51 = __toESM(require("styled-components"));
10059
+ var import_styled_components52 = __toESM(require("styled-components"));
10001
10060
  var import_type_guards32 = require("@wistia/type-guards");
10002
- var import_jsx_runtime226 = require("react/jsx-runtime");
10003
- var inputStyles = import_styled_components51.css`
10061
+ var import_jsx_runtime227 = require("react/jsx-runtime");
10062
+ var inputStyles = import_styled_components52.css`
10004
10063
  ${inputCss}
10005
10064
  input,
10006
10065
  textarea {
@@ -10035,7 +10094,7 @@ var inputStyles = import_styled_components51.css`
10035
10094
  }
10036
10095
  }
10037
10096
  `;
10038
- var StyledInputContainer = import_styled_components51.default.div`
10097
+ var StyledInputContainer = import_styled_components52.default.div`
10039
10098
  display: inline-flex;
10040
10099
  position: relative;
10041
10100
  ${inputStyles};
@@ -10119,7 +10178,7 @@ var Input = (0, import_react41.forwardRef)(
10119
10178
  );
10120
10179
  let leftIconToDisplay = leftIcon;
10121
10180
  if ((0, import_type_guards32.isNil)(leftIcon) && type === "search") {
10122
- leftIconToDisplay = /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(Icon, { type: "search" });
10181
+ leftIconToDisplay = /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(Icon, { type: "search" });
10123
10182
  }
10124
10183
  if ((0, import_type_guards32.isNotNil)(leftIconToDisplay)) {
10125
10184
  leftIconToDisplay = (0, import_react41.cloneElement)(leftIconToDisplay, {
@@ -10144,21 +10203,21 @@ var Input = (0, import_react41.forwardRef)(
10144
10203
  });
10145
10204
  }
10146
10205
  };
10147
- return /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)(
10206
+ return /* @__PURE__ */ (0, import_jsx_runtime227.jsxs)(
10148
10207
  StyledInputContainer,
10149
10208
  {
10150
10209
  $fullWidth: fullWidth,
10151
10210
  $monospace: monospace,
10152
10211
  children: [
10153
10212
  leftIconToDisplay ?? null,
10154
- type === "multiline" ? /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
10213
+ type === "multiline" ? /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(
10155
10214
  "textarea",
10156
10215
  {
10157
10216
  ...props,
10158
10217
  ref,
10159
10218
  onFocus: handleFocus2
10160
10219
  }
10161
- ) : /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
10220
+ ) : /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(
10162
10221
  "input",
10163
10222
  {
10164
10223
  ...props,
@@ -10176,8 +10235,8 @@ var Input = (0, import_react41.forwardRef)(
10176
10235
  Input.displayName = "Input";
10177
10236
 
10178
10237
  // src/components/EditableHeading/EditableHeading.tsx
10179
- var import_jsx_runtime227 = require("react/jsx-runtime");
10180
- var StyledInput = (0, import_styled_components52.default)(Input)`
10238
+ var import_jsx_runtime228 = require("react/jsx-runtime");
10239
+ var StyledInput = (0, import_styled_components53.default)(Input)`
10181
10240
  :not([rows]) {
10182
10241
  min-height: unset;
10183
10242
  }
@@ -10194,7 +10253,7 @@ var StyledInput = (0, import_styled_components52.default)(Input)`
10194
10253
  height: ${({ $height }) => `${$height}px`};
10195
10254
  }
10196
10255
  `;
10197
- var editableStyles = import_styled_components52.css`
10256
+ var editableStyles = import_styled_components53.css`
10198
10257
  &:has(+ :focus-within) {
10199
10258
  background: var(--wui-color-bg-surface-hover);
10200
10259
  }
@@ -10204,7 +10263,7 @@ var editableStyles = import_styled_components52.css`
10204
10263
  cursor: pointer;
10205
10264
  }
10206
10265
  `;
10207
- var StyledHeading2 = (0, import_styled_components52.default)(Heading)`
10266
+ var StyledHeading2 = (0, import_styled_components53.default)(Heading)`
10208
10267
  width: 100%;
10209
10268
  border-radius: var(--wui-border-radius-02);
10210
10269
  padding: var(--wui-space-02);
@@ -10258,7 +10317,7 @@ var EditableHeading = ({
10258
10317
  handleSetEditing(false);
10259
10318
  }
10260
10319
  };
10261
- const HeadingComponent2 = /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(
10320
+ const HeadingComponent2 = /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
10262
10321
  StyledHeading2,
10263
10322
  {
10264
10323
  ref: headingRef,
@@ -10272,7 +10331,7 @@ var EditableHeading = ({
10272
10331
  return HeadingComponent2;
10273
10332
  }
10274
10333
  if (isEditing || __forceEditing) {
10275
- return /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(
10334
+ return /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
10276
10335
  StyledInput,
10277
10336
  {
10278
10337
  $height: headingHeight,
@@ -10290,9 +10349,9 @@ var EditableHeading = ({
10290
10349
  }
10291
10350
  );
10292
10351
  }
10293
- return /* @__PURE__ */ (0, import_jsx_runtime227.jsxs)(import_jsx_runtime227.Fragment, { children: [
10294
- /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(Tooltip, { content: tooltipText, children: HeadingComponent2 }),
10295
- /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(ScreenReaderOnly, { children: /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(
10352
+ return /* @__PURE__ */ (0, import_jsx_runtime228.jsxs)(import_jsx_runtime228.Fragment, { children: [
10353
+ /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Tooltip, { content: tooltipText, children: HeadingComponent2 }),
10354
+ /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(ScreenReaderOnly, { children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
10296
10355
  "button",
10297
10356
  {
10298
10357
  "aria-label": ariaLabel,
@@ -10305,10 +10364,10 @@ var EditableHeading = ({
10305
10364
 
10306
10365
  // src/components/Form/Form.tsx
10307
10366
  var import_react43 = require("react");
10308
- var import_styled_components53 = __toESM(require("styled-components"));
10367
+ var import_styled_components54 = __toESM(require("styled-components"));
10309
10368
  var import_type_guards33 = require("@wistia/type-guards");
10310
- var import_jsx_runtime228 = require("react/jsx-runtime");
10311
- var StyledForm = import_styled_components53.default.form`
10369
+ var import_jsx_runtime229 = require("react/jsx-runtime");
10370
+ var StyledForm = import_styled_components54.default.form`
10312
10371
  --form-default-width: 690px;
10313
10372
 
10314
10373
  max-width: ${({ $fullWidth }) => $fullWidth ? "auto" : "var(--form-default-width)"};
@@ -10387,7 +10446,7 @@ var FormComponent = ({
10387
10446
  }, [labelPosition, values, errors, id, hasSubmitted]);
10388
10447
  return (
10389
10448
  // @ts-expect-error - generic context providers are a giant pain
10390
- /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(FormContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
10449
+ /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(FormContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
10391
10450
  Stack,
10392
10451
  {
10393
10452
  ...props,
@@ -10446,9 +10505,9 @@ var useFormState = (action, initialData = {}) => {
10446
10505
  // src/components/Form/FormErrorSummary.tsx
10447
10506
  var import_react45 = require("react");
10448
10507
  var import_type_guards34 = require("@wistia/type-guards");
10449
- var import_jsx_runtime229 = require("react/jsx-runtime");
10508
+ var import_jsx_runtime230 = require("react/jsx-runtime");
10450
10509
  var ErrorItem = ({ name, error, formId }) => {
10451
- return /* @__PURE__ */ (0, import_jsx_runtime229.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Link, { href: `#${formId}-${name}`, children: error }) }, name);
10510
+ return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(Link, { href: `#${formId}-${name}`, children: error }) }, name);
10452
10511
  };
10453
10512
  var FormErrorSummary = ({ description }) => {
10454
10513
  const ref = (0, import_react45.useRef)(null);
@@ -10457,10 +10516,10 @@ var FormErrorSummary = ({ description }) => {
10457
10516
  if (isValid || !hasSubmitted) {
10458
10517
  return null;
10459
10518
  }
10460
- return /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)("div", { ref, children: [
10461
- /* @__PURE__ */ (0, import_jsx_runtime229.jsx)("p", { children: description }),
10462
- /* @__PURE__ */ (0, import_jsx_runtime229.jsx)("ul", { children: Object.entries(errors).filter(([, error]) => (0, import_type_guards34.isNotUndefined)(error)).map(
10463
- ([name, error]) => (0, import_type_guards34.isArray)(error) ? error.map((err) => /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
10519
+ return /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)("div", { ref, children: [
10520
+ /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("p", { children: description }),
10521
+ /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("ul", { children: Object.entries(errors).filter(([, error]) => (0, import_type_guards34.isNotUndefined)(error)).map(
10522
+ ([name, error]) => (0, import_type_guards34.isArray)(error) ? error.map((err) => /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
10464
10523
  ErrorItem,
10465
10524
  {
10466
10525
  error: err,
@@ -10468,7 +10527,7 @@ var FormErrorSummary = ({ description }) => {
10468
10527
  name
10469
10528
  },
10470
10529
  err
10471
- )) : /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
10530
+ )) : /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
10472
10531
  ErrorItem,
10473
10532
  {
10474
10533
  error: error ?? "",
@@ -10483,13 +10542,13 @@ var FormErrorSummary = ({ description }) => {
10483
10542
 
10484
10543
  // src/components/FormField/FormField.tsx
10485
10544
  var import_react46 = require("react");
10486
- var import_styled_components55 = __toESM(require("styled-components"));
10545
+ var import_styled_components56 = __toESM(require("styled-components"));
10487
10546
  var import_type_guards35 = require("@wistia/type-guards");
10488
10547
 
10489
10548
  // src/components/Label/Label.tsx
10490
- var import_styled_components54 = __toESM(require("styled-components"));
10491
- var import_jsx_runtime230 = require("react/jsx-runtime");
10492
- var requiredStyle = import_styled_components54.css`
10549
+ var import_styled_components55 = __toESM(require("styled-components"));
10550
+ var import_jsx_runtime231 = require("react/jsx-runtime");
10551
+ var requiredStyle = import_styled_components55.css`
10493
10552
  &::after {
10494
10553
  color: var(--wui-color-text-error);
10495
10554
  display: inline;
@@ -10497,10 +10556,10 @@ var requiredStyle = import_styled_components54.css`
10497
10556
  content: '*';
10498
10557
  }
10499
10558
  `;
10500
- var disabledStyle3 = import_styled_components54.css`
10559
+ var disabledStyle3 = import_styled_components55.css`
10501
10560
  color: var(--wui-color-text-disabled);
10502
10561
  `;
10503
- var StyledLabel3 = import_styled_components54.default.label`
10562
+ var StyledLabel3 = import_styled_components55.default.label`
10504
10563
  display: block;
10505
10564
  width: 100%;
10506
10565
  color: var(--wui-color-text);
@@ -10532,7 +10591,7 @@ var Label = ({
10532
10591
  screenReaderOnly = false,
10533
10592
  ...props
10534
10593
  }) => {
10535
- return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
10594
+ return /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
10536
10595
  StyledLabel3,
10537
10596
  {
10538
10597
  ...props,
@@ -10547,8 +10606,8 @@ var Label = ({
10547
10606
  Label.displayName = "Label";
10548
10607
 
10549
10608
  // src/components/FormField/FormField.tsx
10550
- var import_jsx_runtime231 = require("react/jsx-runtime");
10551
- var StyledFormField = import_styled_components55.default.div`
10609
+ var import_jsx_runtime232 = require("react/jsx-runtime");
10610
+ var StyledFormField = import_styled_components56.default.div`
10552
10611
  --form-field-spacing: var(--wui-space-01);
10553
10612
  --form-field-spacing-inline: var(--wui-space-02);
10554
10613
  --form-field-error-color: var(--wui-color-text-secondary-error);
@@ -10578,7 +10637,7 @@ var StyledFormField = import_styled_components55.default.div`
10578
10637
  grid-template-rows: 1fr;
10579
10638
  }
10580
10639
  `;
10581
- var StyledErrorList = import_styled_components55.default.ul`
10640
+ var StyledErrorList = import_styled_components56.default.ul`
10582
10641
  margin: 0;
10583
10642
  padding: 0;
10584
10643
  padding-left: var(--wui-space-04);
@@ -10588,7 +10647,7 @@ var StyledErrorList = import_styled_components55.default.ul`
10588
10647
  `;
10589
10648
  var ErrorMessages = ({ errors, id }) => {
10590
10649
  const isMultipleErrors = (0, import_type_guards35.isArray)(errors);
10591
- return isMultipleErrors ? /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(StyledErrorList, { children: errors.map((error, index) => /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
10650
+ return isMultipleErrors ? /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(StyledErrorList, { children: errors.map((error, index) => /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
10592
10651
  Text,
10593
10652
  {
10594
10653
  colorScheme: "error",
@@ -10598,7 +10657,7 @@ var ErrorMessages = ({ errors, id }) => {
10598
10657
  children: error
10599
10658
  },
10600
10659
  `${id}-${index}`
10601
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
10660
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
10602
10661
  Text,
10603
10662
  {
10604
10663
  colorScheme: "error",
@@ -10661,18 +10720,18 @@ var FormField = ({
10661
10720
  };
10662
10721
  }
10663
10722
  import_react46.Children.only(children);
10664
- return /* @__PURE__ */ (0, import_jsx_runtime231.jsxs)(
10723
+ return /* @__PURE__ */ (0, import_jsx_runtime232.jsxs)(
10665
10724
  StyledFormField,
10666
10725
  {
10667
10726
  ...props,
10668
10727
  "data-label-position": labelPosition ?? formState.labelPosition,
10669
10728
  children: [
10670
- !isIntegratedLabel && /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(Label, { htmlFor: computedId, children: label }),
10671
- (0, import_type_guards35.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
10729
+ !isIntegratedLabel && /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(Label, { htmlFor: computedId, children: label }),
10730
+ (0, import_type_guards35.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
10672
10731
  (0, import_react46.cloneElement)(children, childProps),
10673
- (0, import_type_guards35.isNotNil)(computedError) ? /* @__PURE__ */ (0, import_jsx_runtime231.jsxs)(import_jsx_runtime231.Fragment, { children: [
10674
- /* @__PURE__ */ (0, import_jsx_runtime231.jsx)("div", {}),
10675
- /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
10732
+ (0, import_type_guards35.isNotNil)(computedError) ? /* @__PURE__ */ (0, import_jsx_runtime232.jsxs)(import_jsx_runtime232.Fragment, { children: [
10733
+ /* @__PURE__ */ (0, import_jsx_runtime232.jsx)("div", {}),
10734
+ /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
10676
10735
  ErrorMessages,
10677
10736
  {
10678
10737
  errors: computedError,
@@ -10688,7 +10747,7 @@ FormField.displayName = "FormField";
10688
10747
 
10689
10748
  // src/components/FormGroup/RadioGroup.tsx
10690
10749
  var import_react47 = require("react");
10691
- var import_jsx_runtime232 = require("react/jsx-runtime");
10750
+ var import_jsx_runtime233 = require("react/jsx-runtime");
10692
10751
  var RadioGroupContext = (0, import_react47.createContext)(null);
10693
10752
  var useRadioGroup = () => {
10694
10753
  return (0, import_react47.useContext)(RadioGroupContext);
@@ -10706,15 +10765,15 @@ var RadioGroup = ({
10706
10765
  onChange
10707
10766
  };
10708
10767
  }, [name, onChange]);
10709
- return /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(FormGroup, { ...props, children }) });
10768
+ return /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(FormGroup, { ...props, children }) });
10710
10769
  };
10711
10770
  RadioGroup.displayName = "RadioGroup";
10712
10771
 
10713
10772
  // src/components/IconButton/IconButton.tsx
10714
10773
  var import_react48 = require("react");
10715
- var import_styled_components56 = __toESM(require("styled-components"));
10716
- var import_jsx_runtime233 = require("react/jsx-runtime");
10717
- var StyledButton2 = (0, import_styled_components56.default)(Button)`
10774
+ var import_styled_components57 = __toESM(require("styled-components"));
10775
+ var import_jsx_runtime234 = require("react/jsx-runtime");
10776
+ var StyledButton2 = (0, import_styled_components57.default)(Button)`
10718
10777
  --icon-button-size-sm: 24px;
10719
10778
  --icon-button-size-md: 32px;
10720
10779
  --icon-button-size-lg: 40px;
@@ -10731,7 +10790,7 @@ var StyledButton2 = (0, import_styled_components56.default)(Button)`
10731
10790
  var IconButton = (0, import_react48.forwardRef)(
10732
10791
  ({ children, label, size = "md", ...props }, ref) => {
10733
10792
  const responsiveSize = useResponsiveProp(size);
10734
- return /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
10793
+ return /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
10735
10794
  StyledButton2,
10736
10795
  {
10737
10796
  ...props,
@@ -10749,11 +10808,11 @@ var IconButton = (0, import_react48.forwardRef)(
10749
10808
  IconButton.displayName = "IconButton";
10750
10809
 
10751
10810
  // src/components/InputClickToCopy/InputClickToCopy.tsx
10752
- var import_styled_components57 = __toESM(require("styled-components"));
10811
+ var import_styled_components58 = __toESM(require("styled-components"));
10753
10812
  var import_react49 = require("react");
10754
10813
  var import_type_guards36 = require("@wistia/type-guards");
10755
- var import_jsx_runtime234 = require("react/jsx-runtime");
10756
- var StyledInput2 = (0, import_styled_components57.default)(Input)`
10814
+ var import_jsx_runtime235 = require("react/jsx-runtime");
10815
+ var StyledInput2 = (0, import_styled_components58.default)(Input)`
10757
10816
  &:not([aria-disabled='true']) {
10758
10817
  cursor: pointer;
10759
10818
  }
@@ -10790,7 +10849,7 @@ var InputClickToCopy = (0, import_react49.forwardRef)(
10790
10849
  return value;
10791
10850
  });
10792
10851
  };
10793
- return /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
10852
+ return /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(
10794
10853
  StyledInput2,
10795
10854
  {
10796
10855
  "aria-label": "Click to Copy",
@@ -10798,13 +10857,13 @@ var InputClickToCopy = (0, import_react49.forwardRef)(
10798
10857
  ref,
10799
10858
  onClick: handleClick,
10800
10859
  readOnly: true,
10801
- rightIcon: isCopied ? /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
10860
+ rightIcon: isCopied ? /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(
10802
10861
  Icon,
10803
10862
  {
10804
10863
  colorScheme: "success",
10805
10864
  type: "checkmark-circle"
10806
10865
  }
10807
- ) : /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Icon, { type: "save-as-copy" }),
10866
+ ) : /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Icon, { type: "save-as-copy" }),
10808
10867
  value
10809
10868
  }
10810
10869
  );
@@ -10813,16 +10872,16 @@ var InputClickToCopy = (0, import_react49.forwardRef)(
10813
10872
  InputClickToCopy.displayName = "InputClickToCopy";
10814
10873
 
10815
10874
  // src/components/KeyboardShortcut/KeyboardShortcut.tsx
10816
- var import_styled_components58 = __toESM(require("styled-components"));
10875
+ var import_styled_components59 = __toESM(require("styled-components"));
10817
10876
  var import_type_guards37 = require("@wistia/type-guards");
10818
- var import_jsx_runtime235 = require("react/jsx-runtime");
10819
- var StyledKeyboardShortcut = import_styled_components58.default.div`
10877
+ var import_jsx_runtime236 = require("react/jsx-runtime");
10878
+ var StyledKeyboardShortcut = import_styled_components59.default.div`
10820
10879
  align-items: center;
10821
10880
  display: flex;
10822
10881
  gap: var(--wui-space-02);
10823
10882
  ${({ $fullWidth }) => $fullWidth && "width: 100%; justify-content: space-between;"}
10824
10883
  `;
10825
- var StyledKey = import_styled_components58.default.kbd`
10884
+ var StyledKey = import_styled_components59.default.kbd`
10826
10885
  align-items: center;
10827
10886
  background: var(--wui-color-bg-surface-secondary);
10828
10887
  border-bottom: 1px solid var(--wui-color-border-secondary);
@@ -10845,11 +10904,11 @@ var StyledKey = import_styled_components58.default.kbd`
10845
10904
  min-width: 20px;
10846
10905
  padding: 0 var(--wui-space-01);
10847
10906
  `;
10848
- var Label2 = import_styled_components58.default.span`
10907
+ var Label2 = import_styled_components59.default.span`
10849
10908
  color: var(--wui-color-text);
10850
10909
  font-size: 12px;
10851
10910
  `;
10852
- var KeysContainer = import_styled_components58.default.div`
10911
+ var KeysContainer = import_styled_components59.default.div`
10853
10912
  display: flex;
10854
10913
  gap: var(--wui-space-01);
10855
10914
  `;
@@ -10902,14 +10961,14 @@ var KeyboardShortcut = ({
10902
10961
  keyboardKeys,
10903
10962
  fullWidth = false,
10904
10963
  ...otherProps
10905
- }) => /* @__PURE__ */ (0, import_jsx_runtime235.jsxs)(
10964
+ }) => /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(
10906
10965
  StyledKeyboardShortcut,
10907
10966
  {
10908
10967
  $fullWidth: fullWidth,
10909
10968
  ...otherProps,
10910
10969
  children: [
10911
- (0, import_type_guards37.isNotNil)(label) && /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Label2, { children: label }),
10912
- /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(KeysContainer, { children: (Array.isArray(keyboardKeys) ? keyboardKeys : [keyboardKeys]).map((keyboardKey, index) => /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(
10970
+ (0, import_type_guards37.isNotNil)(label) && /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Label2, { children: label }),
10971
+ /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(KeysContainer, { children: (Array.isArray(keyboardKeys) ? keyboardKeys : [keyboardKeys]).map((keyboardKey, index) => /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(
10913
10972
  StyledKey,
10914
10973
  {
10915
10974
  children: keyToString(keyboardKey)
@@ -10923,26 +10982,26 @@ KeyboardShortcut.displayName = "KeyboardShortcut";
10923
10982
 
10924
10983
  // src/components/List/List.tsx
10925
10984
  var import_type_guards39 = require("@wistia/type-guards");
10926
- var import_styled_components60 = __toESM(require("styled-components"));
10985
+ var import_styled_components61 = __toESM(require("styled-components"));
10927
10986
 
10928
10987
  // src/components/List/ListItem.tsx
10929
- var import_styled_components59 = __toESM(require("styled-components"));
10988
+ var import_styled_components60 = __toESM(require("styled-components"));
10930
10989
  var import_type_guards38 = require("@wistia/type-guards");
10931
- var import_jsx_runtime236 = require("react/jsx-runtime");
10932
- var ListItemComponent = import_styled_components59.default.li`
10990
+ var import_jsx_runtime237 = require("react/jsx-runtime");
10991
+ var ListItemComponent = import_styled_components60.default.li`
10933
10992
  margin-bottom: var(--wui-space-02);
10934
10993
  `;
10935
10994
  var ListItem = ({ children }) => {
10936
10995
  if ((0, import_type_guards38.isNil)(children)) {
10937
10996
  return null;
10938
10997
  }
10939
- return /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(ListItemComponent, { children });
10998
+ return /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(ListItemComponent, { children });
10940
10999
  };
10941
11000
  ListItem.displayName = "ListItem";
10942
11001
 
10943
11002
  // src/components/List/List.tsx
10944
- var import_jsx_runtime237 = require("react/jsx-runtime");
10945
- var spacesStyle = import_styled_components60.css`
11003
+ var import_jsx_runtime238 = require("react/jsx-runtime");
11004
+ var spacesStyle = import_styled_components61.css`
10946
11005
  overflow: hidden;
10947
11006
  padding-left: 0;
10948
11007
  vertical-align: bottom;
@@ -10964,7 +11023,7 @@ var spacesStyle = import_styled_components60.css`
10964
11023
  }
10965
11024
  }
10966
11025
  `;
10967
- var commasStyle = import_styled_components60.css`
11026
+ var commasStyle = import_styled_components61.css`
10968
11027
  ${spacesStyle};
10969
11028
 
10970
11029
  li {
@@ -10974,7 +11033,7 @@ var commasStyle = import_styled_components60.css`
10974
11033
  }
10975
11034
  }
10976
11035
  `;
10977
- var slashesStyle = import_styled_components60.css`
11036
+ var slashesStyle = import_styled_components61.css`
10978
11037
  ${spacesStyle};
10979
11038
 
10980
11039
  li {
@@ -10985,7 +11044,7 @@ var slashesStyle = import_styled_components60.css`
10985
11044
  }
10986
11045
  }
10987
11046
  `;
10988
- var breadcrumbsStyle = import_styled_components60.css`
11047
+ var breadcrumbsStyle = import_styled_components61.css`
10989
11048
  ${spacesStyle};
10990
11049
 
10991
11050
  li {
@@ -10996,11 +11055,11 @@ var breadcrumbsStyle = import_styled_components60.css`
10996
11055
  }
10997
11056
  }
10998
11057
  `;
10999
- var unbulletedStyle = import_styled_components60.css`
11058
+ var unbulletedStyle = import_styled_components61.css`
11000
11059
  list-style: none;
11001
11060
  padding-left: 0;
11002
11061
  `;
11003
- var ListComponent = import_styled_components60.default.ul`
11062
+ var ListComponent = import_styled_components61.default.ul`
11004
11063
  list-style-position: outside;
11005
11064
  margin: 0 0 var(--wui-space-01);
11006
11065
  padding: 0 0 0 var(--wui-space-04);
@@ -11027,7 +11086,7 @@ var ListComponent = import_styled_components60.default.ul`
11027
11086
  `;
11028
11087
  var renderListComponent = (listItems, variant, { ...otherProps }) => {
11029
11088
  const elementType = variant === "ordered" ? "ol" : "ul";
11030
- return /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(
11089
+ return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
11031
11090
  ListComponent,
11032
11091
  {
11033
11092
  as: elementType,
@@ -11044,7 +11103,7 @@ var renderListFromArray = (listItems, variant, otherProps) => {
11044
11103
  const nextItem = listItems[i + 1];
11045
11104
  const key = `item-${itemCount += 1}`;
11046
11105
  if (Array.isArray(nextItem)) {
11047
- return /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(ListItem, { children: [
11106
+ return /* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(ListItem, { children: [
11048
11107
  item,
11049
11108
  renderListFromArray(nextItem, variant, otherProps)
11050
11109
  ] }, key);
@@ -11052,7 +11111,7 @@ var renderListFromArray = (listItems, variant, otherProps) => {
11052
11111
  if (Array.isArray(item)) {
11053
11112
  return null;
11054
11113
  }
11055
- return /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(ListItem, { children: item }, key);
11114
+ return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(ListItem, { children: item }, key);
11056
11115
  });
11057
11116
  return renderListComponent(items, variant, otherProps);
11058
11117
  };
@@ -11080,7 +11139,7 @@ var List = ({
11080
11139
  List.displayName = "List";
11081
11140
 
11082
11141
  // src/components/Menu/Menu.tsx
11083
- var import_styled_components61 = __toESM(require("styled-components"));
11142
+ var import_styled_components62 = __toESM(require("styled-components"));
11084
11143
  var import_react_dropdown_menu = require("@radix-ui/react-dropdown-menu");
11085
11144
  var import_type_guards40 = require("@wistia/type-guards");
11086
11145
  var import_react51 = require("react");
@@ -11091,8 +11150,8 @@ var MenuContext = (0, import_react50.createContext)({ compact: false });
11091
11150
  var useMenuContext = () => (0, import_react50.useContext)(MenuContext);
11092
11151
 
11093
11152
  // src/components/Menu/Menu.tsx
11094
- var import_jsx_runtime238 = require("react/jsx-runtime");
11095
- var open = import_styled_components61.keyframes`
11153
+ var import_jsx_runtime239 = require("react/jsx-runtime");
11154
+ var open = import_styled_components62.keyframes`
11096
11155
  from {
11097
11156
  opacity: 0;
11098
11157
  transform: scale(.97) translateY(-8px);
@@ -11102,7 +11161,7 @@ var open = import_styled_components61.keyframes`
11102
11161
  transform: scale(1);
11103
11162
  }
11104
11163
  `;
11105
- var close = import_styled_components61.keyframes`
11164
+ var close = import_styled_components62.keyframes`
11106
11165
  from {
11107
11166
  opacity: 1;
11108
11167
  transform: scale(1);
@@ -11112,7 +11171,7 @@ var close = import_styled_components61.keyframes`
11112
11171
  transform: scale(.97) translateY(-8px);
11113
11172
  }
11114
11173
  `;
11115
- var menuItemCss = import_styled_components61.css`
11174
+ var menuItemCss = import_styled_components62.css`
11116
11175
  --menu-label-description-gap: var(--wui-space-01);
11117
11176
  --menu-item-inner-gap: var(--wui-space-03);
11118
11177
  --menu-item-left-icon-size: 24px;
@@ -11123,7 +11182,7 @@ var menuItemCss = import_styled_components61.css`
11123
11182
  --menu-label-line-height: var(--wui-typography-label-3-line-height);
11124
11183
  --menu-divider-margin: var(--wui-space-02);
11125
11184
  `;
11126
- var compactMenuItemCss = import_styled_components61.css`
11185
+ var compactMenuItemCss = import_styled_components62.css`
11127
11186
  --menu-label-description-gap: 0;
11128
11187
  --menu-item-inner-gap: var(--wui-space-02);
11129
11188
  --menu-item-left-icon-size: 16px;
@@ -11134,7 +11193,7 @@ var compactMenuItemCss = import_styled_components61.css`
11134
11193
  --menu-label-line-height: var(--wui-typography-label-4-line-height);
11135
11194
  --menu-divider-margin: var(--wui-space-01);
11136
11195
  `;
11137
- var menuContentCss = import_styled_components61.css`
11196
+ var menuContentCss = import_styled_components62.css`
11138
11197
  --menu-font-family: var(--wui-typography-family-default);
11139
11198
  --menu-bg: var(--wui-color-bg-surface);
11140
11199
  --menu-shadow: var(--wui-elevation-01);
@@ -11176,7 +11235,7 @@ var menuContentCss = import_styled_components61.css`
11176
11235
  margin: var(--menu-divider-margin) 0;
11177
11236
  }
11178
11237
  `;
11179
- var MenuContent = (0, import_styled_components61.default)(import_react_dropdown_menu.DropdownMenuContent)`
11238
+ var MenuContent = (0, import_styled_components62.default)(import_react_dropdown_menu.DropdownMenuContent)`
11180
11239
  ${menuContentCss}
11181
11240
  `;
11182
11241
  var Menu = ({
@@ -11202,24 +11261,24 @@ var Menu = ({
11202
11261
  onOpenChange: () => null
11203
11262
  };
11204
11263
  }
11205
- return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(
11264
+ return /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(
11206
11265
  import_react_dropdown_menu.DropdownMenu,
11207
11266
  {
11208
11267
  modal: false,
11209
11268
  ...controlProps,
11210
11269
  children: [
11211
- /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(import_react_dropdown_menu.DropdownMenuTrigger, { asChild: true, children: (0, import_type_guards40.isNotUndefined)(trigger) ? trigger : /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
11270
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(import_react_dropdown_menu.DropdownMenuTrigger, { asChild: true, children: (0, import_type_guards40.isNotUndefined)(trigger) ? trigger : /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
11212
11271
  Button,
11213
11272
  {
11214
11273
  "aria-expanded": isOpen,
11215
11274
  disabled,
11216
11275
  forceState: isOpen ? "active" : void 0,
11217
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Icon, { type: "caret-down" }),
11276
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Icon, { type: "caret-down" }),
11218
11277
  ...triggerProps,
11219
11278
  children: label
11220
11279
  }
11221
11280
  ) }),
11222
- /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(import_react_dropdown_menu.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
11281
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(import_react_dropdown_menu.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
11223
11282
  MenuContent,
11224
11283
  {
11225
11284
  ...props,
@@ -11240,19 +11299,19 @@ var Menu = ({
11240
11299
  Menu.displayName = "Menu";
11241
11300
 
11242
11301
  // src/components/Menu/MenuLabel.tsx
11243
- var import_styled_components62 = __toESM(require("styled-components"));
11302
+ var import_styled_components63 = __toESM(require("styled-components"));
11244
11303
  var import_react_dropdown_menu2 = require("@radix-ui/react-dropdown-menu");
11245
- var import_jsx_runtime239 = require("react/jsx-runtime");
11246
- var StyledMenuLabel = (0, import_styled_components62.default)(import_react_dropdown_menu2.DropdownMenuLabel)`
11304
+ var import_jsx_runtime240 = require("react/jsx-runtime");
11305
+ var StyledMenuLabel = (0, import_styled_components63.default)(import_react_dropdown_menu2.DropdownMenuLabel)`
11247
11306
  padding: var(--wui-space-02);
11248
11307
  `;
11249
11308
  var MenuLabel = ({ children, ...props }) => {
11250
- return /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
11309
+ return /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
11251
11310
  StyledMenuLabel,
11252
11311
  {
11253
11312
  asChild: true,
11254
11313
  ...props,
11255
- children: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
11314
+ children: /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
11256
11315
  Heading,
11257
11316
  {
11258
11317
  renderAs: "span",
@@ -11268,16 +11327,16 @@ MenuLabel.displayName = "MenuLabel";
11268
11327
 
11269
11328
  // src/components/Menu/SubMenu.tsx
11270
11329
  var import_react53 = require("react");
11271
- var import_styled_components65 = __toESM(require("styled-components"));
11330
+ var import_styled_components66 = __toESM(require("styled-components"));
11272
11331
  var import_react_dropdown_menu3 = require("@radix-ui/react-dropdown-menu");
11273
11332
  var import_type_guards42 = require("@wistia/type-guards");
11274
11333
 
11275
11334
  // src/components/Menu/MenuItemButton.tsx
11276
11335
  var import_react52 = require("react");
11277
- var import_styled_components63 = __toESM(require("styled-components"));
11336
+ var import_styled_components64 = __toESM(require("styled-components"));
11278
11337
  var import_type_guards41 = require("@wistia/type-guards");
11279
- var import_jsx_runtime240 = require("react/jsx-runtime");
11280
- var StyledButton3 = (0, import_styled_components63.default)(Button)`
11338
+ var import_jsx_runtime241 = require("react/jsx-runtime");
11339
+ var StyledButton3 = (0, import_styled_components64.default)(Button)`
11281
11340
  ${({ colorScheme }) => getColorScheme(colorScheme)};
11282
11341
 
11283
11342
  display: flex;
@@ -11316,7 +11375,7 @@ var StyledButton3 = (0, import_styled_components63.default)(Button)`
11316
11375
  padding-left: var(--wui-space-04);
11317
11376
  }
11318
11377
  `;
11319
- var StyledLeftIconContainer = import_styled_components63.default.div`
11378
+ var StyledLeftIconContainer = import_styled_components64.default.div`
11320
11379
  height: var(--menu-item-left-icon-size);
11321
11380
  width: var(--menu-item-left-icon-size);
11322
11381
 
@@ -11327,7 +11386,7 @@ var StyledLeftIconContainer = import_styled_components63.default.div`
11327
11386
  }
11328
11387
  }
11329
11388
  `;
11330
- var StyledRightIconContainer = import_styled_components63.default.div`
11389
+ var StyledRightIconContainer = import_styled_components64.default.div`
11331
11390
  height: var(--menu-item-right-icon-size);
11332
11391
  width: var(--menu-item-right-icon-size);
11333
11392
 
@@ -11338,13 +11397,13 @@ var StyledRightIconContainer = import_styled_components63.default.div`
11338
11397
  }
11339
11398
  }
11340
11399
  `;
11341
- var StyledLabelAndDescriptionContainer = import_styled_components63.default.div`
11400
+ var StyledLabelAndDescriptionContainer = import_styled_components64.default.div`
11342
11401
  display: flex;
11343
11402
  flex-direction: column;
11344
11403
  gap: var(--menu-label-description-gap);
11345
11404
  flex-basis: 100%;
11346
11405
  `;
11347
- var StyledBadgeContainer = import_styled_components63.default.div`
11406
+ var StyledBadgeContainer = import_styled_components64.default.div`
11348
11407
  align-self: start;
11349
11408
  justify-self: end;
11350
11409
  font-size: var(--wui-typography-label-4-size);
@@ -11359,7 +11418,7 @@ var MenuItemButton = (0, import_react52.forwardRef)(({ children, appearance, com
11359
11418
  colorScheme = "error";
11360
11419
  }
11361
11420
  if (appearance === "gated") {
11362
- badge = /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
11421
+ badge = /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
11363
11422
  Icon,
11364
11423
  {
11365
11424
  colorScheme: "purple",
@@ -11371,7 +11430,7 @@ var MenuItemButton = (0, import_react52.forwardRef)(({ children, appearance, com
11371
11430
  }
11372
11431
  );
11373
11432
  }
11374
- return /* @__PURE__ */ (0, import_jsx_runtime240.jsxs)(
11433
+ return /* @__PURE__ */ (0, import_jsx_runtime241.jsxs)(
11375
11434
  StyledButton3,
11376
11435
  {
11377
11436
  ...props,
@@ -11381,10 +11440,10 @@ var MenuItemButton = (0, import_react52.forwardRef)(({ children, appearance, com
11381
11440
  fullWidth: true,
11382
11441
  unstyled: true,
11383
11442
  children: [
11384
- props.leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(StyledLeftIconContainer, { children: props.leftIcon }) : null,
11385
- /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(StyledLabelAndDescriptionContainer, { children }),
11386
- (0, import_type_guards41.isNotNil)(badge) || (0, import_type_guards41.isNotNil)(command) ? /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(StyledBadgeContainer, { children: badge ?? command }) : null,
11387
- props.rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(StyledRightIconContainer, { children: props.rightIcon }) : null
11443
+ props.leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(StyledLeftIconContainer, { children: props.leftIcon }) : null,
11444
+ /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(StyledLabelAndDescriptionContainer, { children }),
11445
+ (0, import_type_guards41.isNotNil)(badge) || (0, import_type_guards41.isNotNil)(command) ? /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(StyledBadgeContainer, { children: badge ?? command }) : null,
11446
+ props.rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(StyledRightIconContainer, { children: props.rightIcon }) : null
11388
11447
  ]
11389
11448
  }
11390
11449
  );
@@ -11392,15 +11451,15 @@ var MenuItemButton = (0, import_react52.forwardRef)(({ children, appearance, com
11392
11451
  MenuItemButton.displayName = "MenuItemButton";
11393
11452
 
11394
11453
  // src/components/Menu/MenuItemLabelDescription.tsx
11395
- var import_styled_components64 = __toESM(require("styled-components"));
11396
- var import_jsx_runtime241 = require("react/jsx-runtime");
11397
- var StyledMenuItemLabel = import_styled_components64.default.span``;
11398
- var StyledMenuItemDescription = (0, import_styled_components64.default)(Text)``;
11454
+ var import_styled_components65 = __toESM(require("styled-components"));
11455
+ var import_jsx_runtime242 = require("react/jsx-runtime");
11456
+ var StyledMenuItemLabel = import_styled_components65.default.span``;
11457
+ var StyledMenuItemDescription = (0, import_styled_components65.default)(Text)``;
11399
11458
  var MenuItemLabel = ({ children }) => {
11400
- return /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(StyledMenuItemLabel, { children });
11459
+ return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(StyledMenuItemLabel, { children });
11401
11460
  };
11402
11461
  var MenuItemDescription = ({ children }) => {
11403
- return /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
11462
+ return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
11404
11463
  StyledMenuItemDescription,
11405
11464
  {
11406
11465
  prominence: "secondary",
@@ -11411,18 +11470,18 @@ var MenuItemDescription = ({ children }) => {
11411
11470
  };
11412
11471
 
11413
11472
  // src/components/Menu/SubMenu.tsx
11414
- var import_jsx_runtime242 = require("react/jsx-runtime");
11415
- var SubMenuContent = (0, import_styled_components65.default)(import_react_dropdown_menu3.DropdownMenuSubContent)`
11473
+ var import_jsx_runtime243 = require("react/jsx-runtime");
11474
+ var SubMenuContent = (0, import_styled_components66.default)(import_react_dropdown_menu3.DropdownMenuSubContent)`
11416
11475
  ${menuContentCss}
11417
11476
 
11418
11477
  ${mq.smAndDown} {
11419
11478
  transform: translateX(-100%) !important;
11420
11479
  }
11421
11480
  `;
11422
- var StyledMobileSubMenuItems = import_styled_components65.default.div`
11481
+ var StyledMobileSubMenuItems = import_styled_components66.default.div`
11423
11482
  margin-left: var(--wui-space-04);
11424
11483
  `;
11425
- var StyledSubTrigger = (0, import_styled_components65.default)(import_react_dropdown_menu3.DropdownMenuSubTrigger)`
11484
+ var StyledSubTrigger = (0, import_styled_components66.default)(import_react_dropdown_menu3.DropdownMenuSubTrigger)`
11426
11485
  outline: none;
11427
11486
 
11428
11487
  &[data-state='open'],
@@ -11433,12 +11492,12 @@ var StyledSubTrigger = (0, import_styled_components65.default)(import_react_drop
11433
11492
  var SubMenuTrigger = ({ icon, ...props }) => {
11434
11493
  const { isSmAndUp } = useMq();
11435
11494
  const Trigger4 = isSmAndUp ? StyledSubTrigger : import_react_dropdown_menu3.DropdownMenuItem;
11436
- return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(Trigger4, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
11495
+ return /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(Trigger4, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
11437
11496
  MenuItemButton,
11438
11497
  {
11439
11498
  ...props,
11440
11499
  leftIcon: icon,
11441
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(Icon, { type: "caret-right" })
11500
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(Icon, { type: "caret-right" })
11442
11501
  }
11443
11502
  ) });
11444
11503
  };
@@ -11452,14 +11511,14 @@ var SubMenu = ({
11452
11511
  const { isSmAndUp } = useMq();
11453
11512
  const [isExpanded, setIsExpanded] = (0, import_react53.useState)(false);
11454
11513
  const { compact } = useMenuContext();
11455
- return isSmAndUp ? /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(import_react_dropdown_menu3.DropdownMenuSub, { onOpenChange, children: [
11456
- /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(SubMenuTrigger, { ...props, children: [
11457
- /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(MenuItemLabel, { children: label }),
11458
- (0, import_type_guards42.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(MenuItemDescription, { children: description }) : null
11514
+ return isSmAndUp ? /* @__PURE__ */ (0, import_jsx_runtime243.jsxs)(import_react_dropdown_menu3.DropdownMenuSub, { onOpenChange, children: [
11515
+ /* @__PURE__ */ (0, import_jsx_runtime243.jsxs)(SubMenuTrigger, { ...props, children: [
11516
+ /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(MenuItemLabel, { children: label }),
11517
+ (0, import_type_guards42.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(MenuItemDescription, { children: description }) : null
11459
11518
  ] }),
11460
- /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(import_react_dropdown_menu3.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(SubMenuContent, { $compact: compact, children }) })
11461
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(import_react_dropdown_menu3.DropdownMenuGroup, { children: [
11462
- /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(
11519
+ /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(import_react_dropdown_menu3.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(SubMenuContent, { $compact: compact, children }) })
11520
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime243.jsxs)(import_react_dropdown_menu3.DropdownMenuGroup, { children: [
11521
+ /* @__PURE__ */ (0, import_jsx_runtime243.jsxs)(
11463
11522
  SubMenuTrigger,
11464
11523
  {
11465
11524
  ...props,
@@ -11468,12 +11527,12 @@ var SubMenu = ({
11468
11527
  setIsExpanded((prev) => !prev);
11469
11528
  },
11470
11529
  children: [
11471
- /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(MenuItemLabel, { children: label }),
11472
- /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(MenuItemDescription, { children: description })
11530
+ /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(MenuItemLabel, { children: label }),
11531
+ /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(MenuItemDescription, { children: description })
11473
11532
  ]
11474
11533
  }
11475
11534
  ),
11476
- /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
11535
+ /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
11477
11536
  ] });
11478
11537
  };
11479
11538
  SubMenu.displayName = "SubMenu";
@@ -11481,15 +11540,15 @@ SubMenu.displayName = "SubMenu";
11481
11540
  // src/components/Menu/MenuItem.tsx
11482
11541
  var import_react54 = require("react");
11483
11542
  var import_react_dropdown_menu4 = require("@radix-ui/react-dropdown-menu");
11484
- var import_jsx_runtime243 = require("react/jsx-runtime");
11543
+ var import_jsx_runtime244 = require("react/jsx-runtime");
11485
11544
  var MenuItem = (0, import_react54.forwardRef)(
11486
11545
  ({ onSelect = () => null, ...props }, ref) => {
11487
- return /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
11546
+ return /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
11488
11547
  import_react_dropdown_menu4.DropdownMenuItem,
11489
11548
  {
11490
11549
  asChild: true,
11491
11550
  onSelect,
11492
- children: /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
11551
+ children: /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
11493
11552
  MenuItemButton,
11494
11553
  {
11495
11554
  ...props,
@@ -11505,19 +11564,19 @@ MenuItem.displayName = "MenuItem";
11505
11564
 
11506
11565
  // src/components/Menu/MenuRadioGroup.tsx
11507
11566
  var import_react_dropdown_menu5 = require("@radix-ui/react-dropdown-menu");
11508
- var import_jsx_runtime244 = require("react/jsx-runtime");
11567
+ var import_jsx_runtime245 = require("react/jsx-runtime");
11509
11568
  var MenuRadioGroup = ({ children, ...props }) => {
11510
- return /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(import_react_dropdown_menu5.DropdownMenuRadioGroup, { ...props, children });
11569
+ return /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(import_react_dropdown_menu5.DropdownMenuRadioGroup, { ...props, children });
11511
11570
  };
11512
11571
  MenuRadioGroup.displayName = "MenuRadioGroup";
11513
11572
 
11514
11573
  // src/components/Menu/RadioMenuItem.tsx
11515
11574
  var import_react_dropdown_menu6 = require("@radix-ui/react-dropdown-menu");
11516
- var import_jsx_runtime245 = require("react/jsx-runtime");
11575
+ var import_jsx_runtime246 = require("react/jsx-runtime");
11517
11576
  var RadioMenuItem = ({
11518
11577
  onSelect,
11519
11578
  value,
11520
- indicator = /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
11579
+ indicator = /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11521
11580
  Icon,
11522
11581
  {
11523
11582
  size: "sm",
@@ -11527,17 +11586,17 @@ var RadioMenuItem = ({
11527
11586
  ...props
11528
11587
  }) => {
11529
11588
  const extraProps = onSelect ? { onSelect } : {};
11530
- return /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
11589
+ return /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11531
11590
  import_react_dropdown_menu6.DropdownMenuRadioItem,
11532
11591
  {
11533
11592
  ...extraProps,
11534
11593
  asChild: true,
11535
11594
  value,
11536
- children: /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
11595
+ children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11537
11596
  MenuItemButton,
11538
11597
  {
11539
11598
  ...props,
11540
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(import_react_dropdown_menu6.DropdownMenuItemIndicator, { children: indicator })
11599
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(import_react_dropdown_menu6.DropdownMenuItemIndicator, { children: indicator })
11541
11600
  }
11542
11601
  )
11543
11602
  }
@@ -11548,9 +11607,9 @@ RadioMenuItem.displayName = "RadioMenuItem";
11548
11607
  // src/components/Menu/CheckboxMenuItem.tsx
11549
11608
  var import_react_dropdown_menu7 = require("@radix-ui/react-dropdown-menu");
11550
11609
  var import_type_guards43 = require("@wistia/type-guards");
11551
- var import_jsx_runtime246 = require("react/jsx-runtime");
11610
+ var import_jsx_runtime247 = require("react/jsx-runtime");
11552
11611
  var CheckboxIndicator = ({ checked, ...props }) => {
11553
- return checked ? /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(
11612
+ return checked ? /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
11554
11613
  "svg",
11555
11614
  {
11556
11615
  ...props,
@@ -11560,14 +11619,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
11560
11619
  width: "24",
11561
11620
  xmlns: "http://www.w3.org/2000/svg",
11562
11621
  children: [
11563
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11622
+ /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
11564
11623
  "path",
11565
11624
  {
11566
11625
  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",
11567
11626
  fill: "#2949e5"
11568
11627
  }
11569
11628
  ),
11570
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11629
+ /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
11571
11630
  "path",
11572
11631
  {
11573
11632
  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",
@@ -11576,7 +11635,7 @@ var CheckboxIndicator = ({ checked, ...props }) => {
11576
11635
  )
11577
11636
  ]
11578
11637
  }
11579
- ) : /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(
11638
+ ) : /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
11580
11639
  "svg",
11581
11640
  {
11582
11641
  ...props,
@@ -11586,14 +11645,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
11586
11645
  width: "24",
11587
11646
  xmlns: "http://www.w3.org/2000/svg",
11588
11647
  children: [
11589
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11648
+ /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
11590
11649
  "path",
11591
11650
  {
11592
11651
  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",
11593
11652
  fill: "#fcfcfd"
11594
11653
  }
11595
11654
  ),
11596
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11655
+ /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
11597
11656
  "path",
11598
11657
  {
11599
11658
  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",
@@ -11610,19 +11669,19 @@ var CheckboxMenuItem = ({
11610
11669
  onCheckedChange,
11611
11670
  ...props
11612
11671
  }) => {
11613
- return /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11672
+ return /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
11614
11673
  import_react_dropdown_menu7.DropdownMenuCheckboxItem,
11615
11674
  {
11616
11675
  asChild: true,
11617
11676
  checked,
11618
11677
  onCheckedChange,
11619
11678
  onSelect,
11620
- children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11679
+ children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
11621
11680
  MenuItemButton,
11622
11681
  {
11623
11682
  ...props,
11624
- leftIcon: (0, import_type_guards43.isNotNil)(props.icon) ? props.icon : /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(CheckboxIndicator, { checked }),
11625
- rightIcon: (0, import_type_guards43.isNotNil)(props.icon) ? /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(import_react_dropdown_menu7.DropdownMenuItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(Icon, { type: "checkmark" }) }) : void 0
11683
+ leftIcon: (0, import_type_guards43.isNotNil)(props.icon) ? props.icon : /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(CheckboxIndicator, { checked }),
11684
+ rightIcon: (0, import_type_guards43.isNotNil)(props.icon) ? /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(import_react_dropdown_menu7.DropdownMenuItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(Icon, { type: "checkmark" }) }) : void 0
11626
11685
  }
11627
11686
  )
11628
11687
  }
@@ -11632,36 +11691,36 @@ CheckboxMenuItem.displayName = "CheckboxMenuItem";
11632
11691
 
11633
11692
  // src/components/Modal/Modal.tsx
11634
11693
  var import_react58 = require("react");
11635
- var import_styled_components70 = __toESM(require("styled-components"));
11694
+ var import_styled_components71 = __toESM(require("styled-components"));
11636
11695
  var import_react_dialog4 = require("@radix-ui/react-dialog");
11637
11696
  var import_type_guards45 = require("@wistia/type-guards");
11638
11697
 
11639
11698
  // src/components/Modal/ModalHeader.tsx
11640
- var import_styled_components67 = __toESM(require("styled-components"));
11699
+ var import_styled_components68 = __toESM(require("styled-components"));
11641
11700
  var import_react_dialog2 = require("@radix-ui/react-dialog");
11642
11701
 
11643
11702
  // src/components/Modal/ModalCloseButton.tsx
11644
- var import_styled_components66 = __toESM(require("styled-components"));
11703
+ var import_styled_components67 = __toESM(require("styled-components"));
11645
11704
  var import_react_dialog = require("@radix-ui/react-dialog");
11646
- var import_jsx_runtime247 = require("react/jsx-runtime");
11647
- var CloseButton = (0, import_styled_components66.default)(import_react_dialog.Close)`
11705
+ var import_jsx_runtime248 = require("react/jsx-runtime");
11706
+ var CloseButton = (0, import_styled_components67.default)(import_react_dialog.Close)`
11648
11707
  align-self: start;
11649
11708
  `;
11650
11709
  var ModalCloseButton = () => {
11651
- return /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(CloseButton, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
11710
+ return /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(CloseButton, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11652
11711
  IconButton,
11653
11712
  {
11654
11713
  label: "Dismiss modal",
11655
11714
  size: "sm",
11656
11715
  variant: "ghost",
11657
- children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(Icon, { type: "close" })
11716
+ children: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(Icon, { type: "close" })
11658
11717
  }
11659
11718
  ) });
11660
11719
  };
11661
11720
 
11662
11721
  // src/components/Modal/ModalHeader.tsx
11663
- var import_jsx_runtime248 = require("react/jsx-runtime");
11664
- var Header = import_styled_components67.default.header`
11722
+ var import_jsx_runtime249 = require("react/jsx-runtime");
11723
+ var Header = import_styled_components68.default.header`
11665
11724
  display: flex;
11666
11725
  order: 1;
11667
11726
  gap: var(--wui-space-01);
@@ -11672,7 +11731,7 @@ var Header = import_styled_components67.default.header`
11672
11731
  margin: 0 0 var(--wui-space-03);
11673
11732
  }
11674
11733
  `;
11675
- var Title = (0, import_styled_components67.default)(import_react_dialog2.Title)`
11734
+ var Title = (0, import_styled_components68.default)(import_react_dialog2.Title)`
11676
11735
  font-family: var(--wui-typography-heading-2-family);
11677
11736
  line-height: var(--wui-typography-heading-2-line-height);
11678
11737
  font-size: var(--wui-typography-heading-2-size);
@@ -11683,16 +11742,16 @@ var ModalHeader = ({
11683
11742
  hideTitle,
11684
11743
  hideCloseButton
11685
11744
  }) => {
11686
- const TitleComponent = hideTitle ? /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(ScreenReaderOnly, { children: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(Title, { children: title }) }) : /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(Title, { children: title });
11687
- return /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(Header, { $hideTitle: hideTitle, children: [
11745
+ const TitleComponent = hideTitle ? /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(ScreenReaderOnly, { children: /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(Title, { children: title }) }) : /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(Title, { children: title });
11746
+ return /* @__PURE__ */ (0, import_jsx_runtime249.jsxs)(Header, { $hideTitle: hideTitle, children: [
11688
11747
  TitleComponent,
11689
- hideCloseButton ? null : /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(ModalCloseButton, {})
11748
+ hideCloseButton ? null : /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(ModalCloseButton, {})
11690
11749
  ] });
11691
11750
  };
11692
11751
 
11693
11752
  // src/components/Modal/ModalContent.tsx
11694
11753
  var import_react56 = require("react");
11695
- var import_styled_components68 = __toESM(require("styled-components"));
11754
+ var import_styled_components69 = __toESM(require("styled-components"));
11696
11755
  var import_react_dialog3 = require("@radix-ui/react-dialog");
11697
11756
 
11698
11757
  // src/private/hooks/useFocusRestore/useFocusRestore.ts
@@ -11715,38 +11774,38 @@ var useFocusRestore = () => {
11715
11774
  };
11716
11775
 
11717
11776
  // src/components/Modal/ModalContent.tsx
11718
- var import_jsx_runtime249 = require("react/jsx-runtime");
11719
- var alignTopStyles = import_styled_components68.css`
11777
+ var import_jsx_runtime250 = require("react/jsx-runtime");
11778
+ var alignTopStyles = import_styled_components69.css`
11720
11779
  --wui-modal-translate-y: 0;
11721
11780
 
11722
11781
  top: 0;
11723
11782
  `;
11724
- var alignVerticalCenterStyles = import_styled_components68.css`
11783
+ var alignVerticalCenterStyles = import_styled_components69.css`
11725
11784
  --wui-modal-translate-y: -50%;
11726
11785
 
11727
11786
  top: 50%;
11728
11787
  `;
11729
- var alignBottomStyles = import_styled_components68.css`
11788
+ var alignBottomStyles = import_styled_components69.css`
11730
11789
  --wui-modal-translate-y: 0;
11731
11790
 
11732
11791
  bottom: 0;
11733
11792
  `;
11734
- var alignHorizontalCenterStyles = import_styled_components68.css`
11793
+ var alignHorizontalCenterStyles = import_styled_components69.css`
11735
11794
  --wui-modal-translate-x: -50%;
11736
11795
 
11737
11796
  left: 50%;
11738
11797
  `;
11739
- var alignRightStyles = import_styled_components68.css`
11798
+ var alignRightStyles = import_styled_components69.css`
11740
11799
  --wui-modal-translate-x: 0;
11741
11800
 
11742
11801
  right: 0;
11743
11802
  `;
11744
- var alignLeftStyles = import_styled_components68.css`
11803
+ var alignLeftStyles = import_styled_components69.css`
11745
11804
  --wui-modal-translate-x: 0;
11746
11805
 
11747
11806
  left: 0;
11748
11807
  `;
11749
- var StyledModalContent = (0, import_styled_components68.default)(import_react_dialog3.Content)`
11808
+ var StyledModalContent = (0, import_styled_components69.default)(import_react_dialog3.Content)`
11750
11809
  background-color: var(--wui-color-bg-app);
11751
11810
  box-sizing: border-box;
11752
11811
  display: flex;
@@ -11797,7 +11856,7 @@ var StyledModalContent = (0, import_styled_components68.default)(import_react_di
11797
11856
  var ModalContent = (0, import_react56.forwardRef)(
11798
11857
  ({ fullHeight, width, alignHorizontal, alignVertical, children, ...props }, ref) => {
11799
11858
  useFocusRestore();
11800
- return /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
11859
+ return /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
11801
11860
  StyledModalContent,
11802
11861
  {
11803
11862
  ref,
@@ -11815,8 +11874,8 @@ var ModalContent = (0, import_react56.forwardRef)(
11815
11874
 
11816
11875
  // src/private/components/Backdrop/Backdrop.tsx
11817
11876
  var import_react57 = require("react");
11818
- var import_styled_components69 = __toESM(require("styled-components"));
11819
- var import_jsx_runtime250 = require("react/jsx-runtime");
11877
+ var import_styled_components70 = __toESM(require("styled-components"));
11878
+ var import_jsx_runtime251 = require("react/jsx-runtime");
11820
11879
  var alignVerticalMap = {
11821
11880
  stretch: "normal",
11822
11881
  top: "start",
@@ -11828,7 +11887,7 @@ var alignHorizontalMap = {
11828
11887
  center: "center",
11829
11888
  right: "end"
11830
11889
  };
11831
- var BackdropComponent = import_styled_components69.default.div`
11890
+ var BackdropComponent = import_styled_components70.default.div`
11832
11891
  align-items: ${({ $alignVertical }) => alignVerticalMap[$alignVertical]};
11833
11892
  animation-name: backdropShow var(--wui-motion-duration-03) var(--wui-motion-ease-out);
11834
11893
  background: var(--wui-color-backdrop);
@@ -11855,7 +11914,7 @@ var BackdropComponent = import_styled_components69.default.div`
11855
11914
  }
11856
11915
  `;
11857
11916
  var Backdrop = (0, import_react57.forwardRef)(
11858
- ({ alignHorizontal = "center", alignVertical = "center", children, ...otherProps }, ref) => /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
11917
+ ({ alignHorizontal = "center", alignVertical = "center", children, ...otherProps }, ref) => /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
11859
11918
  BackdropComponent,
11860
11919
  {
11861
11920
  ref,
@@ -11869,9 +11928,9 @@ var Backdrop = (0, import_react57.forwardRef)(
11869
11928
  Backdrop.displayName = "Backdrop";
11870
11929
 
11871
11930
  // src/components/Modal/Modal.tsx
11872
- var import_jsx_runtime251 = require("react/jsx-runtime");
11931
+ var import_jsx_runtime252 = require("react/jsx-runtime");
11873
11932
  var DEFAULT_MODAL_WIDTH = "532px";
11874
- var ModalBody = import_styled_components70.default.div`
11933
+ var ModalBody = import_styled_components71.default.div`
11875
11934
  flex-direction: column;
11876
11935
  display: flex;
11877
11936
  flex: 1 0 0;
@@ -11892,7 +11951,7 @@ var Modal = (0, import_react58.forwardRef)(
11892
11951
  alignVertical = "center",
11893
11952
  ...props
11894
11953
  }, ref) => {
11895
- return /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
11954
+ return /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
11896
11955
  import_react_dialog4.Root,
11897
11956
  {
11898
11957
  onOpenChange: (open2) => {
@@ -11901,9 +11960,9 @@ var Modal = (0, import_react58.forwardRef)(
11901
11960
  }
11902
11961
  },
11903
11962
  open: isOpen,
11904
- children: /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(import_react_dialog4.Portal, { children: [
11905
- /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Backdrop, {}),
11906
- /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(
11963
+ children: /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(import_react_dialog4.Portal, { children: [
11964
+ /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(Backdrop, {}),
11965
+ /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(
11907
11966
  ModalContent,
11908
11967
  {
11909
11968
  ref,
@@ -11921,8 +11980,8 @@ var Modal = (0, import_react58.forwardRef)(
11921
11980
  width,
11922
11981
  ...props,
11923
11982
  children: [
11924
- /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(ModalBody, { children }),
11925
- /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
11983
+ /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(ModalBody, { children }),
11984
+ /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
11926
11985
  ModalHeader,
11927
11986
  {
11928
11987
  hideCloseButton,
@@ -11942,7 +12001,7 @@ Modal.displayName = "Modal";
11942
12001
 
11943
12002
  // src/components/Popover/Popover.tsx
11944
12003
  var import_react_popover2 = require("@radix-ui/react-popover");
11945
- var import_styled_components72 = __toESM(require("styled-components"));
12004
+ var import_styled_components73 = __toESM(require("styled-components"));
11946
12005
 
11947
12006
  // src/private/helpers/getControls/getControlProps.tsx
11948
12007
  var import_type_guards46 = require("@wistia/type-guards");
@@ -11952,12 +12011,12 @@ var getControlProps = (isOpen, onOpenChange) => {
11952
12011
 
11953
12012
  // src/components/Popover/PopoverArrow.tsx
11954
12013
  var import_react_popover = require("@radix-ui/react-popover");
11955
- var import_styled_components71 = __toESM(require("styled-components"));
11956
- var import_jsx_runtime252 = require("react/jsx-runtime");
11957
- var StyledPath = import_styled_components71.default.path`
12014
+ var import_styled_components72 = __toESM(require("styled-components"));
12015
+ var import_jsx_runtime253 = require("react/jsx-runtime");
12016
+ var StyledPath = import_styled_components72.default.path`
11958
12017
  fill: var(--wui-color-border-secondary);
11959
12018
  `;
11960
- var circleAnimation = import_styled_components71.keyframes`
12019
+ var circleAnimation = import_styled_components72.keyframes`
11961
12020
  0% {
11962
12021
  opacity: var(--wui-popover-arrow-circle-starting-opacity);
11963
12022
  }
@@ -11965,7 +12024,7 @@ var circleAnimation = import_styled_components71.keyframes`
11965
12024
  opacity: 0;
11966
12025
  }
11967
12026
  `;
11968
- var StyledCircle = import_styled_components71.default.circle`
12027
+ var StyledCircle = import_styled_components72.default.circle`
11969
12028
  stroke: var(--wui-color-border-active);
11970
12029
  animation-duration: 2s;
11971
12030
  animation-iteration-count: infinite;
@@ -11986,13 +12045,13 @@ var StyledCircle = import_styled_components71.default.circle`
11986
12045
  }
11987
12046
 
11988
12047
  @media (prefers-reduced-motion: no-preference) {
11989
- ${({ $isAnimated }) => $isAnimated && import_styled_components71.css`
12048
+ ${({ $isAnimated }) => $isAnimated && import_styled_components72.css`
11990
12049
  animation-name: ${circleAnimation};
11991
12050
  `}
11992
12051
  }
11993
12052
  `;
11994
12053
  var PopoverArrow = ({ isAnimated }) => {
11995
- return /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(import_react_popover.PopoverArrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(
12054
+ return /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_popover.PopoverArrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
11996
12055
  "svg",
11997
12056
  {
11998
12057
  fill: "none",
@@ -12001,8 +12060,8 @@ var PopoverArrow = ({ isAnimated }) => {
12001
12060
  width: "48",
12002
12061
  xmlns: "http://www.w3.org/2000/svg",
12003
12062
  children: [
12004
- /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(StyledPath, { d: "M24 26.6667C21.0545 26.6667 18.6667 29.0545 18.6667 32C18.6667 34.9455 21.0545 37.3333 24 37.3333C26.9455 37.3333 29.3333 34.9455 29.3333 32C29.3333 29.0545 26.9455 26.6667 24 26.6667ZM23 0V32H25V0H23Z" }),
12005
- /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
12063
+ /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(StyledPath, { d: "M24 26.6667C21.0545 26.6667 18.6667 29.0545 18.6667 32C18.6667 34.9455 21.0545 37.3333 24 37.3333C26.9455 37.3333 29.3333 34.9455 29.3333 32C29.3333 29.0545 26.9455 26.6667 24 26.6667ZM23 0V32H25V0H23Z" }),
12064
+ /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
12006
12065
  StyledCircle,
12007
12066
  {
12008
12067
  $isAnimated: isAnimated,
@@ -12013,7 +12072,7 @@ var PopoverArrow = ({ isAnimated }) => {
12013
12072
  strokeWidth: "4"
12014
12073
  }
12015
12074
  ),
12016
- /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
12075
+ /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
12017
12076
  StyledCircle,
12018
12077
  {
12019
12078
  $isAnimated: isAnimated,
@@ -12031,10 +12090,10 @@ var PopoverArrow = ({ isAnimated }) => {
12031
12090
  PopoverArrow.displayName = "PopoverArrow";
12032
12091
 
12033
12092
  // src/components/Popover/Popover.tsx
12034
- var import_jsx_runtime253 = require("react/jsx-runtime");
12035
- var StyledContent2 = (0, import_styled_components72.default)(import_react_popover2.Content)`
12093
+ var import_jsx_runtime254 = require("react/jsx-runtime");
12094
+ var StyledContent2 = (0, import_styled_components73.default)(import_react_popover2.Content)`
12036
12095
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12037
- ${({ $unstyled }) => !$unstyled && import_styled_components72.css`
12096
+ ${({ $unstyled }) => !$unstyled && import_styled_components73.css`
12038
12097
  border-radius: var(--wui-border-radius-02);
12039
12098
  padding: var(--wui-space-04);
12040
12099
  max-width: var(--wui-popover-max-width, 320px);
@@ -12070,9 +12129,9 @@ var Popover2 = ({
12070
12129
  "--wui-popover-max-width": maxWidth,
12071
12130
  "--wui-popover-max-height": maxHeight
12072
12131
  };
12073
- return /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(import_react_popover2.Root, { ...getControlProps(isOpen, onOpenChange), children: [
12074
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_popover2.Trigger, { asChild: true, children: trigger }),
12075
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_popover2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
12132
+ return /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(import_react_popover2.Root, { ...getControlProps(isOpen, onOpenChange), children: [
12133
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_popover2.Trigger, { asChild: true, children: trigger }),
12134
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_popover2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
12076
12135
  StyledContent2,
12077
12136
  {
12078
12137
  $colorScheme: colorScheme,
@@ -12081,17 +12140,17 @@ var Popover2 = ({
12081
12140
  $unstyled: unstyled,
12082
12141
  style,
12083
12142
  children: [
12084
- !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_popover2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
12143
+ !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_popover2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
12085
12144
  IconButton,
12086
12145
  {
12087
12146
  "data-wui-popover-close": true,
12088
12147
  label: "Close",
12089
12148
  variant: "ghost",
12090
- children: /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(Icon, { type: "close" })
12149
+ children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(Icon, { type: "close" })
12091
12150
  }
12092
12151
  ) }),
12093
- withArrow ? /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(PopoverArrow, { isAnimated }) : null,
12094
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)("div", { children })
12152
+ withArrow ? /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(PopoverArrow, { isAnimated }) : null,
12153
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)("div", { children })
12095
12154
  ]
12096
12155
  }
12097
12156
  ) })
@@ -12100,11 +12159,11 @@ var Popover2 = ({
12100
12159
  Popover2.displayName = "Popover";
12101
12160
 
12102
12161
  // src/components/ProgressBar/ProgressBar.tsx
12103
- var import_styled_components73 = __toESM(require("styled-components"));
12162
+ var import_styled_components74 = __toESM(require("styled-components"));
12104
12163
  var import_react_progress = require("@radix-ui/react-progress");
12105
12164
  var import_type_guards47 = require("@wistia/type-guards");
12106
- var import_jsx_runtime254 = require("react/jsx-runtime");
12107
- var ProgressBarWrapper = import_styled_components73.default.div`
12165
+ var import_jsx_runtime255 = require("react/jsx-runtime");
12166
+ var ProgressBarWrapper = import_styled_components74.default.div`
12108
12167
  --progress-bar-height: 8px;
12109
12168
  --progress-bar-indicator-color: var(--wui-color-bg-fill);
12110
12169
  --progress-bar-background-color: var(--wui-color-bg-surface-secondary);
@@ -12120,7 +12179,7 @@ var getTranslateValue = (progress, max) => {
12120
12179
  const progressPercentage = progress / max * 100;
12121
12180
  return `translateX(-${100 - progressPercentage}%)`;
12122
12181
  };
12123
- var ProgressBarLabel = import_styled_components73.default.div`
12182
+ var ProgressBarLabel = import_styled_components74.default.div`
12124
12183
  display: flex;
12125
12184
  line-height: var(--wui-typography-label-3-line-height);
12126
12185
  font-size: var(--wui-typography-label-3-size);
@@ -12128,7 +12187,7 @@ var ProgressBarLabel = import_styled_components73.default.div`
12128
12187
  color: var(--wui-color-text-secondary);
12129
12188
  flex-shrink: 0;
12130
12189
  `;
12131
- var StyledProgressIndicator = (0, import_styled_components73.default)(import_react_progress.Indicator)`
12190
+ var StyledProgressIndicator = (0, import_styled_components74.default)(import_react_progress.Indicator)`
12132
12191
  background-color: var(--progress-bar-indicator-color);
12133
12192
  width: 100%;
12134
12193
  height: 100%;
@@ -12137,7 +12196,7 @@ var StyledProgressIndicator = (0, import_styled_components73.default)(import_rea
12137
12196
  transition: transform 660ms cubic-bezier(0.65, 0, 0.35, 1);
12138
12197
  transform: ${({ $progress, $max }) => getTranslateValue($progress, $max)};
12139
12198
  `;
12140
- var StyledProgressBar = (0, import_styled_components73.default)(import_react_progress.Root)`
12199
+ var StyledProgressBar = (0, import_styled_components74.default)(import_react_progress.Root)`
12141
12200
  position: relative;
12142
12201
  overflow: hidden;
12143
12202
  background: var(--progress-bar-background-color);
@@ -12156,15 +12215,15 @@ var ProgressBar = ({
12156
12215
  labelRight,
12157
12216
  ...props
12158
12217
  }) => {
12159
- return /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(ProgressBarWrapper, { children: [
12160
- (0, import_type_guards47.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
12161
- /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
12218
+ return /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(ProgressBarWrapper, { children: [
12219
+ (0, import_type_guards47.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
12220
+ /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
12162
12221
  StyledProgressBar,
12163
12222
  {
12164
12223
  max,
12165
12224
  value: progress,
12166
12225
  ...props,
12167
- children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
12226
+ children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
12168
12227
  StyledProgressIndicator,
12169
12228
  {
12170
12229
  $max: max,
@@ -12173,17 +12232,17 @@ var ProgressBar = ({
12173
12232
  )
12174
12233
  }
12175
12234
  ),
12176
- (0, import_type_guards47.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(ProgressBarLabel, { children: labelRight }) : null
12235
+ (0, import_type_guards47.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(ProgressBarLabel, { children: labelRight }) : null
12177
12236
  ] });
12178
12237
  };
12179
12238
  ProgressBar.displayName = "ProgressBar";
12180
12239
 
12181
12240
  // src/components/Radio/Radio.tsx
12182
12241
  var import_react59 = require("react");
12183
- var import_styled_components74 = __toESM(require("styled-components"));
12242
+ var import_styled_components75 = __toESM(require("styled-components"));
12184
12243
  var import_type_guards48 = require("@wistia/type-guards");
12185
- var import_jsx_runtime255 = require("react/jsx-runtime");
12186
- var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
12244
+ var import_jsx_runtime256 = require("react/jsx-runtime");
12245
+ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12187
12246
  "svg",
12188
12247
  {
12189
12248
  fill: "inherit",
@@ -12191,7 +12250,7 @@ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
12191
12250
  viewBox: "0 0 1 1",
12192
12251
  width: "1",
12193
12252
  xmlns: "http://www.w3.org/2000/svg",
12194
- children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
12253
+ children: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12195
12254
  "circle",
12196
12255
  {
12197
12256
  cx: "0.5",
@@ -12202,7 +12261,7 @@ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
12202
12261
  )
12203
12262
  }
12204
12263
  );
12205
- var sizeSmall2 = import_styled_components74.css`
12264
+ var sizeSmall2 = import_styled_components75.css`
12206
12265
  width: 14px;
12207
12266
  height: 14px;
12208
12267
  min-width: 14px;
@@ -12213,7 +12272,7 @@ var sizeSmall2 = import_styled_components74.css`
12213
12272
  height: 7px;
12214
12273
  }
12215
12274
  `;
12216
- var sizeMedium2 = import_styled_components74.css`
12275
+ var sizeMedium2 = import_styled_components75.css`
12217
12276
  width: 16px;
12218
12277
  height: 16px;
12219
12278
  min-width: 16px;
@@ -12224,7 +12283,7 @@ var sizeMedium2 = import_styled_components74.css`
12224
12283
  height: 8px;
12225
12284
  }
12226
12285
  `;
12227
- var sizeLarge2 = import_styled_components74.css`
12286
+ var sizeLarge2 = import_styled_components75.css`
12228
12287
  width: 20px;
12229
12288
  height: 20px;
12230
12289
  min-width: 20px;
@@ -12240,14 +12299,14 @@ var getSizeCss2 = (size) => {
12240
12299
  if (size === "lg") return sizeLarge2;
12241
12300
  return sizeMedium2;
12242
12301
  };
12243
- var StyledRadioWrapper = import_styled_components74.default.div`
12302
+ var StyledRadioWrapper = import_styled_components75.default.div`
12244
12303
  display: flex;
12245
12304
  margin: 0;
12246
12305
 
12247
12306
  /* TODO this solves a problem but potentially causes and a11y issue */
12248
12307
  user-select: none;
12249
12308
  `;
12250
- var StyledRadioInput = import_styled_components74.default.div`
12309
+ var StyledRadioInput = import_styled_components75.default.div`
12251
12310
  ${({ $size }) => getSizeCss2($size)}
12252
12311
  line-height: 0;
12253
12312
  margin: 0;
@@ -12269,7 +12328,7 @@ var StyledRadioInput = import_styled_components74.default.div`
12269
12328
  }
12270
12329
  }
12271
12330
  `;
12272
- var StyledHiddenRadioInput = import_styled_components74.default.input`
12331
+ var StyledHiddenRadioInput = import_styled_components75.default.input`
12273
12332
  ${visuallyHiddenStyle}
12274
12333
 
12275
12334
  /* toggles display of faux-input border-color */
@@ -12304,13 +12363,13 @@ var Radio = (0, import_react59.forwardRef)(
12304
12363
  const contextOnChange = radioGroupContext?.onChange;
12305
12364
  const radioName = name ?? contextName;
12306
12365
  const handleOnChange = onChange ?? contextOnChange;
12307
- return /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(
12366
+ return /* @__PURE__ */ (0, import_jsx_runtime256.jsxs)(
12308
12367
  StyledRadioWrapper,
12309
12368
  {
12310
12369
  $disabled: disabled,
12311
12370
  "aria-invalid": props["aria-invalid"],
12312
12371
  children: [
12313
- /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
12372
+ /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12314
12373
  StyledHiddenRadioInput,
12315
12374
  {
12316
12375
  ...props,
@@ -12325,16 +12384,16 @@ var Radio = (0, import_react59.forwardRef)(
12325
12384
  value
12326
12385
  }
12327
12386
  ),
12328
- /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
12387
+ /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12329
12388
  FormControlLabel,
12330
12389
  {
12331
- controlSlot: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
12390
+ controlSlot: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12332
12391
  StyledRadioInput,
12333
12392
  {
12334
12393
  $disabled: disabled,
12335
12394
  $size: size,
12336
12395
  "data-wui-faux-input": "true",
12337
- children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(RadioIcon, {})
12396
+ children: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(RadioIcon, {})
12338
12397
  }
12339
12398
  ),
12340
12399
  description,
@@ -12353,13 +12412,13 @@ Radio.displayName = "Radio";
12353
12412
 
12354
12413
  // src/components/SegmentedControl/SegmentedControl.tsx
12355
12414
  var import_react62 = require("react");
12356
- var import_styled_components76 = __toESM(require("styled-components"));
12415
+ var import_styled_components77 = __toESM(require("styled-components"));
12357
12416
  var import_react_toggle_group = require("@radix-ui/react-toggle-group");
12358
12417
  var import_type_guards49 = require("@wistia/type-guards");
12359
12418
 
12360
12419
  // src/components/SegmentedControl/useSelectedItemStyle.tsx
12361
12420
  var import_react60 = require("react");
12362
- var import_jsx_runtime256 = require("react/jsx-runtime");
12421
+ var import_jsx_runtime257 = require("react/jsx-runtime");
12363
12422
  var SelectedItemStyleContext = (0, import_react60.createContext)(null);
12364
12423
  var SelectedItemStyleProvider = ({
12365
12424
  children
@@ -12382,7 +12441,7 @@ var SelectedItemStyleProvider = ({
12382
12441
  }),
12383
12442
  [selectedItemIndicatorStyle]
12384
12443
  );
12385
- return /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
12444
+ return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
12386
12445
  };
12387
12446
  var useSelectedItemStyle = () => {
12388
12447
  const context = (0, import_react60.useContext)(SelectedItemStyleContext);
@@ -12393,7 +12452,7 @@ var useSelectedItemStyle = () => {
12393
12452
  };
12394
12453
 
12395
12454
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
12396
- var import_styled_components75 = __toESM(require("styled-components"));
12455
+ var import_styled_components76 = __toESM(require("styled-components"));
12397
12456
 
12398
12457
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
12399
12458
  var import_react61 = require("react");
@@ -12408,8 +12467,8 @@ var useSegmentedControlValue = () => {
12408
12467
  };
12409
12468
 
12410
12469
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
12411
- var import_jsx_runtime257 = require("react/jsx-runtime");
12412
- var SelectedItemIndicatorDiv = import_styled_components75.default.div`
12470
+ var import_jsx_runtime258 = require("react/jsx-runtime");
12471
+ var SelectedItemIndicatorDiv = import_styled_components76.default.div`
12413
12472
  background-color: var(--wui-color-bg-fill-white);
12414
12473
  border-radius: var(--wui-border-radius-rounded);
12415
12474
  left: 0;
@@ -12427,12 +12486,12 @@ var SelectedItemIndicator = () => {
12427
12486
  if (!selectedValue) {
12428
12487
  return null;
12429
12488
  }
12430
- return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(SelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
12489
+ return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(SelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
12431
12490
  };
12432
12491
 
12433
12492
  // src/components/SegmentedControl/SegmentedControl.tsx
12434
- var import_jsx_runtime258 = require("react/jsx-runtime");
12435
- var segmentedControlStyles = import_styled_components76.css`
12493
+ var import_jsx_runtime259 = require("react/jsx-runtime");
12494
+ var segmentedControlStyles = import_styled_components77.css`
12436
12495
  display: inline-flex;
12437
12496
  background-color: var(--wui-color-bg-surface-secondary);
12438
12497
  border-radius: var(--wui-border-radius-rounded);
@@ -12443,7 +12502,7 @@ var segmentedControlStyles = import_styled_components76.css`
12443
12502
  position: relative;
12444
12503
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
12445
12504
  `;
12446
- var StyledSegmentedControl = (0, import_styled_components76.default)(import_react_toggle_group.Root)`
12505
+ var StyledSegmentedControl = (0, import_styled_components77.default)(import_react_toggle_group.Root)`
12447
12506
  ${segmentedControlStyles}
12448
12507
  `;
12449
12508
  var SegmentedControl = (0, import_react62.forwardRef)(
@@ -12458,7 +12517,7 @@ var SegmentedControl = (0, import_react62.forwardRef)(
12458
12517
  if ((0, import_type_guards49.isNil)(children)) {
12459
12518
  return null;
12460
12519
  }
12461
- return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
12520
+ return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
12462
12521
  StyledSegmentedControl,
12463
12522
  {
12464
12523
  ref,
@@ -12470,8 +12529,8 @@ var SegmentedControl = (0, import_react62.forwardRef)(
12470
12529
  type: "single",
12471
12530
  value: selectedValue,
12472
12531
  ...props,
12473
- children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime258.jsxs)(SelectedItemStyleProvider, { children: [
12474
- /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(SelectedItemIndicator, {}),
12532
+ children: /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime259.jsxs)(SelectedItemStyleProvider, { children: [
12533
+ /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(SelectedItemIndicator, {}),
12475
12534
  children
12476
12535
  ] }) })
12477
12536
  }
@@ -12482,11 +12541,11 @@ SegmentedControl.displayName = "SegmentedControl";
12482
12541
 
12483
12542
  // src/components/SegmentedControl/SegmentedControlItem.tsx
12484
12543
  var import_react63 = require("react");
12485
- var import_styled_components77 = __toESM(require("styled-components"));
12544
+ var import_styled_components78 = __toESM(require("styled-components"));
12486
12545
  var import_react_toggle_group2 = require("@radix-ui/react-toggle-group");
12487
12546
  var import_type_guards50 = require("@wistia/type-guards");
12488
- var import_jsx_runtime259 = require("react/jsx-runtime");
12489
- var segmentedControlItemStyles = import_styled_components77.css`
12547
+ var import_jsx_runtime260 = require("react/jsx-runtime");
12548
+ var segmentedControlItemStyles = import_styled_components78.css`
12490
12549
  all: unset; /* ToggleGroupItem is a button element */
12491
12550
  align-items: center;
12492
12551
  border-radius: var(--wui-border-radius-rounded);
@@ -12546,7 +12605,7 @@ var segmentedControlItemStyles = import_styled_components77.css`
12546
12605
  }
12547
12606
  }
12548
12607
  `;
12549
- var StyledSegmentedControlItem = (0, import_styled_components77.default)(import_react_toggle_group2.Item)`
12608
+ var StyledSegmentedControlItem = (0, import_styled_components78.default)(import_react_toggle_group2.Item)`
12550
12609
  ${segmentedControlItemStyles}
12551
12610
  `;
12552
12611
  var SegmentedControlItem = (0, import_react63.forwardRef)(
@@ -12587,7 +12646,7 @@ var SegmentedControlItem = (0, import_react63.forwardRef)(
12587
12646
  resizeObserver.disconnect();
12588
12647
  };
12589
12648
  }, [selectedValue, setSelectedItemMeasurements, value]);
12590
- return /* @__PURE__ */ (0, import_jsx_runtime259.jsxs)(
12649
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(
12591
12650
  StyledSegmentedControlItem,
12592
12651
  {
12593
12652
  ref: combinedRef,
@@ -12610,9 +12669,9 @@ SegmentedControlItem.displayName = "SegmentedControlItem";
12610
12669
  // src/components/Select/Select.tsx
12611
12670
  var import_react_select = require("@radix-ui/react-select");
12612
12671
  var import_react64 = require("react");
12613
- var import_styled_components78 = __toESM(require("styled-components"));
12614
- var import_jsx_runtime260 = require("react/jsx-runtime");
12615
- var StyledTrigger = (0, import_styled_components78.default)(import_react_select.Trigger)`
12672
+ var import_styled_components79 = __toESM(require("styled-components"));
12673
+ var import_jsx_runtime261 = require("react/jsx-runtime");
12674
+ var StyledTrigger2 = (0, import_styled_components79.default)(import_react_select.Trigger)`
12616
12675
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12617
12676
  ${inputCss};
12618
12677
  padding: var(--wui-input-vertical-padding) var(--wui-input-horizontal-padding);
@@ -12656,7 +12715,7 @@ var StyledTrigger = (0, import_styled_components78.default)(import_react_select.
12656
12715
  color: var(--wui-input-placeholder);
12657
12716
  }
12658
12717
  `;
12659
- var StyledContent3 = (0, import_styled_components78.default)(import_react_select.Content)`
12718
+ var StyledContent3 = (0, import_styled_components79.default)(import_react_select.Content)`
12660
12719
  --wui-select-content-border: var(--wui-color-border);
12661
12720
  --wui-select-content-bg: var(--wui-color-bg-surface);
12662
12721
  --wui-select-content-border-radius: var(--wui-border-radius-02);
@@ -12684,22 +12743,22 @@ var Select = (0, import_react64.forwardRef)(
12684
12743
  ...props
12685
12744
  }, forwardedRef) => {
12686
12745
  const responsiveFullWidth = useResponsiveProp(fullWidth);
12687
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(
12746
+ return /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
12688
12747
  import_react_select.Root,
12689
12748
  {
12690
12749
  ...props,
12691
12750
  onValueChange: onChange,
12692
12751
  children: [
12693
- /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(
12694
- StyledTrigger,
12752
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
12753
+ StyledTrigger2,
12695
12754
  {
12696
12755
  ref: forwardedRef,
12697
12756
  $colorScheme: colorScheme,
12698
12757
  $fullWidth: responsiveFullWidth,
12699
12758
  ...props,
12700
12759
  children: [
12701
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(import_react_select.Value, { placeholder }),
12702
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
12760
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(import_react_select.Value, { placeholder }),
12761
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
12703
12762
  Icon,
12704
12763
  {
12705
12764
  size: "md",
@@ -12709,10 +12768,10 @@ var Select = (0, import_react64.forwardRef)(
12709
12768
  ]
12710
12769
  }
12711
12770
  ),
12712
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(StyledContent3, { position: "popper", children: [
12713
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(Icon, { type: "caret-up" }) }),
12714
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(import_react_select.Viewport, { children }),
12715
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(Icon, { type: "caret-down" }) })
12771
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(StyledContent3, { position: "popper", children: [
12772
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Icon, { type: "caret-up" }) }),
12773
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(import_react_select.Viewport, { children }),
12774
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Icon, { type: "caret-down" }) })
12716
12775
  ] }) })
12717
12776
  ]
12718
12777
  }
@@ -12724,10 +12783,10 @@ Select.displayName = "Select";
12724
12783
  // src/components/Select/SelectOption.tsx
12725
12784
  var import_react_select2 = require("@radix-ui/react-select");
12726
12785
  var import_react65 = require("react");
12727
- var import_styled_components79 = __toESM(require("styled-components"));
12786
+ var import_styled_components80 = __toESM(require("styled-components"));
12728
12787
  var import_type_guards51 = require("@wistia/type-guards");
12729
- var import_jsx_runtime261 = require("react/jsx-runtime");
12730
- var StyledItem = (0, import_styled_components79.default)(import_react_select2.Item)`
12788
+ var import_jsx_runtime262 = require("react/jsx-runtime");
12789
+ var StyledItem = (0, import_styled_components80.default)(import_react_select2.Item)`
12731
12790
  ${variantStyleMap2.body3};
12732
12791
  display: flex;
12733
12792
  padding: var(--wui-select-option-padding);
@@ -12751,28 +12810,28 @@ var StyledItem = (0, import_styled_components79.default)(import_react_select2.It
12751
12810
  background-color: transparent;
12752
12811
  }
12753
12812
  `;
12754
- var StyledIconContainer = import_styled_components79.default.span`
12813
+ var StyledIconContainer = import_styled_components80.default.span`
12755
12814
  width: 12px;
12756
12815
  `;
12757
12816
  var SelectOption = (0, import_react65.forwardRef)(
12758
12817
  ({ children, selectedDisplayValue, ...props }, forwardedRef) => {
12759
- return /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
12818
+ return /* @__PURE__ */ (0, import_jsx_runtime262.jsxs)(
12760
12819
  StyledItem,
12761
12820
  {
12762
12821
  ...props,
12763
12822
  ref: forwardedRef,
12764
12823
  children: [
12765
- /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(StyledIconContainer, { "data-indicator": true, children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
12824
+ /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(StyledIconContainer, { "data-indicator": true, children: /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(
12766
12825
  Icon,
12767
12826
  {
12768
12827
  size: "sm",
12769
12828
  type: "checkmark"
12770
12829
  }
12771
12830
  ) }) }),
12772
- (0, import_type_guards51.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("div", { children: [
12831
+ (0, import_type_guards51.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime262.jsxs)("div", { children: [
12773
12832
  children,
12774
- /* @__PURE__ */ (0, import_jsx_runtime261.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
12775
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(import_react_select2.ItemText, { children })
12833
+ /* @__PURE__ */ (0, import_jsx_runtime262.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
12834
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(import_react_select2.ItemText, { children })
12776
12835
  ]
12777
12836
  }
12778
12837
  );
@@ -12782,14 +12841,14 @@ SelectOption.displayName = "SelectOption";
12782
12841
 
12783
12842
  // src/components/Select/SelectOptionGroup.tsx
12784
12843
  var import_react_select3 = require("@radix-ui/react-select");
12785
- var import_styled_components80 = __toESM(require("styled-components"));
12786
- var import_jsx_runtime262 = require("react/jsx-runtime");
12787
- var StyledLabel4 = (0, import_styled_components80.default)(import_react_select3.Label)`
12844
+ var import_styled_components81 = __toESM(require("styled-components"));
12845
+ var import_jsx_runtime263 = require("react/jsx-runtime");
12846
+ var StyledLabel4 = (0, import_styled_components81.default)(import_react_select3.Label)`
12788
12847
  padding: var(--wui-select-option-padding);
12789
12848
  `;
12790
12849
  var SelectOptionGroup = ({ children, label, ...props }) => {
12791
- return /* @__PURE__ */ (0, import_jsx_runtime262.jsxs)(import_react_select3.Group, { ...props, children: [
12792
- /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(
12850
+ return /* @__PURE__ */ (0, import_jsx_runtime263.jsxs)(import_react_select3.Group, { ...props, children: [
12851
+ /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
12793
12852
  Text,
12794
12853
  {
12795
12854
  prominence: "secondary",
@@ -12803,10 +12862,10 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
12803
12862
 
12804
12863
  // src/components/Slider/Slider.tsx
12805
12864
  var import_react_slider = require("@radix-ui/react-slider");
12806
- var import_styled_components81 = __toESM(require("styled-components"));
12865
+ var import_styled_components82 = __toESM(require("styled-components"));
12807
12866
  var import_type_guards52 = require("@wistia/type-guards");
12808
- var import_jsx_runtime263 = require("react/jsx-runtime");
12809
- var SliderContainer = import_styled_components81.default.div`
12867
+ var import_jsx_runtime264 = require("react/jsx-runtime");
12868
+ var SliderContainer = import_styled_components82.default.div`
12810
12869
  --wui-slider-track-color: var(--wui-gray-6);
12811
12870
  --wui-slider-track-border-radius: var(--wui-border-radius-rounded);
12812
12871
  --wui-slider-range-color: var(--wui-color-bg-fill);
@@ -12822,7 +12881,7 @@ var SliderContainer = import_styled_components81.default.div`
12822
12881
  pointer-events: none;
12823
12882
  }
12824
12883
  `;
12825
- var StyledSliderRoot = (0, import_styled_components81.default)(import_react_slider.Root)`
12884
+ var StyledSliderRoot = (0, import_styled_components82.default)(import_react_slider.Root)`
12826
12885
  position: relative;
12827
12886
  display: flex;
12828
12887
  align-items: center;
@@ -12830,20 +12889,20 @@ var StyledSliderRoot = (0, import_styled_components81.default)(import_react_slid
12830
12889
  touch-action: none;
12831
12890
  width: 100%;
12832
12891
  `;
12833
- var StyledSliderTrack = (0, import_styled_components81.default)(import_react_slider.Track)`
12892
+ var StyledSliderTrack = (0, import_styled_components82.default)(import_react_slider.Track)`
12834
12893
  background-color: var(--wui-slider-track-color);
12835
12894
  border-radius: var(--wui-slider-track-border-radius);
12836
12895
  flex-grow: 1;
12837
12896
  height: 6px;
12838
12897
  position: relative;
12839
12898
  `;
12840
- var StyledSliderRange = (0, import_styled_components81.default)(import_react_slider.Range)`
12899
+ var StyledSliderRange = (0, import_styled_components82.default)(import_react_slider.Range)`
12841
12900
  background-color: var(--wui-slider-range-color);
12842
12901
  border-radius: var(--wui-slider-track-border-radius);
12843
12902
  height: 100%;
12844
12903
  position: absolute;
12845
12904
  `;
12846
- var StyledSliderThumb = (0, import_styled_components81.default)(import_react_slider.Thumb)`
12905
+ var StyledSliderThumb = (0, import_styled_components82.default)(import_react_slider.Thumb)`
12847
12906
  background-color: var(--wui-slider-thumb-color);
12848
12907
  border-radius: var(--wui-border-radius-rounded);
12849
12908
  cursor: grab;
@@ -12894,12 +12953,12 @@ var Slider = ({
12894
12953
  onChange(newValue);
12895
12954
  }
12896
12955
  };
12897
- return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
12956
+ return /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
12898
12957
  SliderContainer,
12899
12958
  {
12900
12959
  ...otherProps,
12901
12960
  "data-testid": dataTestId,
12902
- children: /* @__PURE__ */ (0, import_jsx_runtime263.jsxs)(
12961
+ children: /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(
12903
12962
  StyledSliderRoot,
12904
12963
  {
12905
12964
  "aria-label": ariaLabel,
@@ -12912,8 +12971,8 @@ var Slider = ({
12912
12971
  step,
12913
12972
  ...value ? { value } : {},
12914
12973
  children: [
12915
- /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
12916
- values.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
12974
+ /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
12975
+ values.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
12917
12976
  StyledSliderThumb,
12918
12977
  {
12919
12978
  "data-testid": `${dataTestId}-thumb-${index}`
@@ -12930,10 +12989,10 @@ Slider.displayName = "Slider";
12930
12989
 
12931
12990
  // src/components/Switch/Switch.tsx
12932
12991
  var import_react66 = require("react");
12933
- var import_styled_components82 = __toESM(require("styled-components"));
12992
+ var import_styled_components83 = __toESM(require("styled-components"));
12934
12993
  var import_type_guards53 = require("@wistia/type-guards");
12935
- var import_jsx_runtime264 = require("react/jsx-runtime");
12936
- var sizeSmall3 = import_styled_components82.css`
12994
+ var import_jsx_runtime265 = require("react/jsx-runtime");
12995
+ var sizeSmall3 = import_styled_components83.css`
12937
12996
  --wui-size-small-width: 24px;
12938
12997
  --wui-size-small-height: 14px;
12939
12998
 
@@ -12948,7 +13007,7 @@ var sizeSmall3 = import_styled_components82.css`
12948
13007
  height: calc(var(--wui-size-small-width) / 2);
12949
13008
  }
12950
13009
  `;
12951
- var sizeMedium3 = import_styled_components82.css`
13010
+ var sizeMedium3 = import_styled_components83.css`
12952
13011
  --wui-size-medium-width: 32px;
12953
13012
  --wui-size-medium-height: 18px;
12954
13013
 
@@ -12963,7 +13022,7 @@ var sizeMedium3 = import_styled_components82.css`
12963
13022
  height: calc(var(--wui-size-medium-width) / 2);
12964
13023
  }
12965
13024
  `;
12966
- var sizeLarge3 = import_styled_components82.css`
13025
+ var sizeLarge3 = import_styled_components83.css`
12967
13026
  --wui-size-large-width: 40px;
12968
13027
  --wui-size-large-height: 22px;
12969
13028
 
@@ -12983,14 +13042,14 @@ var getSizeCss3 = (size) => {
12983
13042
  if (size === "lg") return sizeLarge3;
12984
13043
  return sizeMedium3;
12985
13044
  };
12986
- var StyledSwitchWrapper = import_styled_components82.default.div`
13045
+ var StyledSwitchWrapper = import_styled_components83.default.div`
12987
13046
  display: flex;
12988
13047
  margin: 0;
12989
13048
 
12990
13049
  /* TODO this solves a problem but potentially causes and a11y issue */
12991
13050
  user-select: none;
12992
13051
  `;
12993
- var StyledSwitchInput = import_styled_components82.default.div`
13052
+ var StyledSwitchInput = import_styled_components83.default.div`
12994
13053
  ${({ $size }) => getSizeCss3($size)}
12995
13054
  line-height: 0;
12996
13055
  margin: 0;
@@ -13018,7 +13077,7 @@ var StyledSwitchInput = import_styled_components82.default.div`
13018
13077
  transition: all 0.2s ease-in-out;
13019
13078
  }
13020
13079
  `;
13021
- var StyledHiddenSwitchInput = import_styled_components82.default.input`
13080
+ var StyledHiddenSwitchInput = import_styled_components83.default.input`
13022
13081
  ${visuallyHiddenStyle}
13023
13082
 
13024
13083
  /* toggles display of faux-input background-color and toggle position */
@@ -13051,8 +13110,8 @@ var Switch = (0, import_react66.forwardRef)(
13051
13110
  }, ref) => {
13052
13111
  const generatedId = (0, import_react66.useId)();
13053
13112
  const computedId = (0, import_type_guards53.isNonEmptyString)(id) ? id : `wistia-ui-switch-${generatedId}`;
13054
- return /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(StyledSwitchWrapper, { $disabled: disabled, children: [
13055
- /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
13113
+ return /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(StyledSwitchWrapper, { $disabled: disabled, children: [
13114
+ /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
13056
13115
  StyledHiddenSwitchInput,
13057
13116
  {
13058
13117
  ...props,
@@ -13067,10 +13126,10 @@ var Switch = (0, import_react66.forwardRef)(
13067
13126
  value
13068
13127
  }
13069
13128
  ),
13070
- /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
13129
+ /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
13071
13130
  FormControlLabel,
13072
13131
  {
13073
- controlSlot: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
13132
+ controlSlot: /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
13074
13133
  StyledSwitchInput,
13075
13134
  {
13076
13135
  $disabled: disabled,
@@ -13092,25 +13151,25 @@ var Switch = (0, import_react66.forwardRef)(
13092
13151
  Switch.displayName = "Switch";
13093
13152
 
13094
13153
  // src/components/Table/Table.tsx
13095
- var import_styled_components83 = __toESM(require("styled-components"));
13096
- var import_jsx_runtime265 = require("react/jsx-runtime");
13097
- var StyledTable = import_styled_components83.default.table`
13154
+ var import_styled_components84 = __toESM(require("styled-components"));
13155
+ var import_jsx_runtime266 = require("react/jsx-runtime");
13156
+ var StyledTable = import_styled_components84.default.table`
13098
13157
  width: 100%;
13099
13158
  border-collapse: collapse;
13100
13159
 
13101
- ${({ $divided }) => $divided && import_styled_components83.css`
13160
+ ${({ $divided }) => $divided && import_styled_components84.css`
13102
13161
  tr {
13103
13162
  border-bottom: 1px solid var(--wui-color-border);
13104
13163
  }
13105
13164
  `}
13106
13165
 
13107
- ${({ $striped }) => $striped && import_styled_components83.css`
13166
+ ${({ $striped }) => $striped && import_styled_components84.css`
13108
13167
  tbody tr:nth-child(even) {
13109
13168
  background-color: var(--wui-color-bg-surface-secondary);
13110
13169
  }
13111
13170
  `}
13112
13171
 
13113
- ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && import_styled_components83.css`
13172
+ ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && import_styled_components84.css`
13114
13173
  thead {
13115
13174
  ${visuallyHiddenStyle}
13116
13175
  }
@@ -13123,7 +13182,7 @@ var Table = ({
13123
13182
  visuallyHiddenHeader = false,
13124
13183
  ...props
13125
13184
  }) => {
13126
- return /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
13185
+ return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(
13127
13186
  StyledTable,
13128
13187
  {
13129
13188
  $divided: divided,
@@ -13136,35 +13195,35 @@ var Table = ({
13136
13195
  };
13137
13196
 
13138
13197
  // src/components/Table/TableBody.tsx
13139
- var import_styled_components84 = __toESM(require("styled-components"));
13198
+ var import_styled_components85 = __toESM(require("styled-components"));
13140
13199
 
13141
13200
  // src/components/Table/TableSectionContext.ts
13142
13201
  var import_react67 = require("react");
13143
13202
  var TableSectionContext = (0, import_react67.createContext)(null);
13144
13203
 
13145
13204
  // src/components/Table/TableBody.tsx
13146
- var import_jsx_runtime266 = require("react/jsx-runtime");
13147
- var StyledTableBody = import_styled_components84.default.tbody``;
13205
+ var import_jsx_runtime267 = require("react/jsx-runtime");
13206
+ var StyledTableBody = import_styled_components85.default.tbody``;
13148
13207
  var TableBody = ({ children, ...props }) => {
13149
- return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(StyledTableBody, { ...props, children }) });
13208
+ return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(StyledTableBody, { ...props, children }) });
13150
13209
  };
13151
13210
 
13152
13211
  // src/components/Table/TableCell.tsx
13153
13212
  var import_react68 = require("react");
13154
- var import_styled_components85 = __toESM(require("styled-components"));
13155
- var import_jsx_runtime267 = require("react/jsx-runtime");
13156
- var sharedStyles = import_styled_components85.css`
13213
+ var import_styled_components86 = __toESM(require("styled-components"));
13214
+ var import_jsx_runtime268 = require("react/jsx-runtime");
13215
+ var sharedStyles = import_styled_components86.css`
13157
13216
  color: var(--wui-color-text);
13158
13217
  padding: var(--wui-space-02);
13159
13218
  text-align: left;
13160
13219
  `;
13161
- var StyledTh = import_styled_components85.default.th`
13220
+ var StyledTh = import_styled_components86.default.th`
13162
13221
  ${sharedStyles}
13163
13222
  font-size: var(--wui-typography-body-4-size);
13164
13223
  font-weight: var(--wui-typography-weight-label-bold);
13165
13224
  line-height: var(--wui-typography-body-4-line-height);
13166
13225
  `;
13167
- var StyledTd = import_styled_components85.default.td`
13226
+ var StyledTd = import_styled_components86.default.td`
13168
13227
  ${sharedStyles}
13169
13228
  font-size: var(--wui-typography-body-2-size);
13170
13229
  font-weight: var(--wui-typography-body-2-weight);
@@ -13173,33 +13232,33 @@ var StyledTd = import_styled_components85.default.td`
13173
13232
  var TableCell = ({ children, ...props }) => {
13174
13233
  const section = (0, import_react68.useContext)(TableSectionContext);
13175
13234
  if (section === "head") {
13176
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(StyledTh, { ...props, children });
13235
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(StyledTh, { ...props, children });
13177
13236
  }
13178
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(StyledTd, { ...props, children });
13237
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(StyledTd, { ...props, children });
13179
13238
  };
13180
13239
 
13181
13240
  // src/components/Table/TableFoot.tsx
13182
- var import_styled_components86 = __toESM(require("styled-components"));
13183
- var import_jsx_runtime268 = require("react/jsx-runtime");
13184
- var StyledTableFoot = import_styled_components86.default.tfoot``;
13241
+ var import_styled_components87 = __toESM(require("styled-components"));
13242
+ var import_jsx_runtime269 = require("react/jsx-runtime");
13243
+ var StyledTableFoot = import_styled_components87.default.tfoot``;
13185
13244
  var TableFoot = ({ children, ...props }) => {
13186
- return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(StyledTableFoot, { ...props, children }) });
13245
+ return /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(StyledTableFoot, { ...props, children }) });
13187
13246
  };
13188
13247
 
13189
13248
  // src/components/Table/TableHead.tsx
13190
- var import_styled_components87 = __toESM(require("styled-components"));
13191
- var import_jsx_runtime269 = require("react/jsx-runtime");
13192
- var StyledThead = import_styled_components87.default.thead``;
13249
+ var import_styled_components88 = __toESM(require("styled-components"));
13250
+ var import_jsx_runtime270 = require("react/jsx-runtime");
13251
+ var StyledThead = import_styled_components88.default.thead``;
13193
13252
  var TableHead = ({ children, ...props }) => {
13194
- return /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(StyledThead, { ...props, children }) });
13253
+ return /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(StyledThead, { ...props, children }) });
13195
13254
  };
13196
13255
 
13197
13256
  // src/components/Table/TableRow.tsx
13198
- var import_styled_components88 = __toESM(require("styled-components"));
13199
- var import_jsx_runtime270 = require("react/jsx-runtime");
13200
- var StyledTableRow = import_styled_components88.default.tr``;
13257
+ var import_styled_components89 = __toESM(require("styled-components"));
13258
+ var import_jsx_runtime271 = require("react/jsx-runtime");
13259
+ var StyledTableRow = import_styled_components89.default.tr``;
13201
13260
  var TableRow = ({ children, ...props }) => {
13202
- return /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(StyledTableRow, { ...props, children });
13261
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(StyledTableRow, { ...props, children });
13203
13262
  };
13204
13263
 
13205
13264
  // src/components/Tabs/Tabs.tsx
@@ -13220,7 +13279,7 @@ var useTabsValue = () => {
13220
13279
  };
13221
13280
 
13222
13281
  // src/components/Tabs/Tabs.tsx
13223
- var import_jsx_runtime271 = require("react/jsx-runtime");
13282
+ var import_jsx_runtime272 = require("react/jsx-runtime");
13224
13283
  var Tabs = ({
13225
13284
  children,
13226
13285
  value: valueProp,
@@ -13248,54 +13307,54 @@ var Tabs = ({
13248
13307
  if ((0, import_type_guards54.isNotNil)(defaultValue)) {
13249
13308
  rootProps.defaultValue = defaultValue;
13250
13309
  }
13251
- return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(import_react_tabs.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(SelectedItemStyleProvider, { children }) }) });
13310
+ return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(import_react_tabs.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(SelectedItemStyleProvider, { children }) }) });
13252
13311
  };
13253
13312
  Tabs.displayName = "Tabs";
13254
13313
 
13255
13314
  // src/components/Tabs/TabsContent.tsx
13256
13315
  var import_react_tabs2 = require("@radix-ui/react-tabs");
13257
- var import_jsx_runtime272 = require("react/jsx-runtime");
13316
+ var import_jsx_runtime273 = require("react/jsx-runtime");
13258
13317
  var TabsContent = ({ children, value }) => {
13259
- return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(import_react_tabs2.Content, { value, children });
13318
+ return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(import_react_tabs2.Content, { value, children });
13260
13319
  };
13261
13320
  TabsContent.displayName = "TabsContent";
13262
13321
 
13263
13322
  // src/components/Tabs/TabsList.tsx
13264
13323
  var import_react_tabs3 = require("@radix-ui/react-tabs");
13265
- var import_styled_components90 = __toESM(require("styled-components"));
13324
+ var import_styled_components91 = __toESM(require("styled-components"));
13266
13325
 
13267
13326
  // src/components/Tabs/TabsSelectedItemIndicatorDiv.tsx
13268
- var import_styled_components89 = __toESM(require("styled-components"));
13269
- var TabsSelectedItemIndicatorDiv = (0, import_styled_components89.default)(SelectedItemIndicatorDiv)`
13327
+ var import_styled_components90 = __toESM(require("styled-components"));
13328
+ var TabsSelectedItemIndicatorDiv = (0, import_styled_components90.default)(SelectedItemIndicatorDiv)`
13270
13329
  &:has(~ button[role='tab']:focus-visible) {
13271
13330
  outline: 2px solid var(--wui-color-focus-ring);
13272
13331
  }
13273
13332
  `;
13274
13333
 
13275
13334
  // src/components/Tabs/SelectedTabIndicator.tsx
13276
- var import_jsx_runtime273 = require("react/jsx-runtime");
13335
+ var import_jsx_runtime274 = require("react/jsx-runtime");
13277
13336
  var SelectedTabIndicator = () => {
13278
13337
  const { selectedItemIndicatorStyle } = useSelectedItemStyle();
13279
13338
  const selectedValue = useTabsValue();
13280
13339
  if (selectedValue == null) {
13281
13340
  return null;
13282
13341
  }
13283
- return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(TabsSelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
13342
+ return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(TabsSelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
13284
13343
  };
13285
13344
 
13286
13345
  // src/components/Tabs/TabsList.tsx
13287
- var import_jsx_runtime274 = require("react/jsx-runtime");
13288
- var StyledRadixTabsList = (0, import_styled_components90.default)(import_react_tabs3.List)`
13346
+ var import_jsx_runtime275 = require("react/jsx-runtime");
13347
+ var StyledRadixTabsList = (0, import_styled_components91.default)(import_react_tabs3.List)`
13289
13348
  ${segmentedControlStyles}
13290
13349
  `;
13291
13350
  var TabsList = ({ children, fullWidth = true, ...props }) => {
13292
- return /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(
13351
+ return /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)(
13293
13352
  StyledRadixTabsList,
13294
13353
  {
13295
13354
  $fullWidth: fullWidth,
13296
13355
  "aria-label": props["aria-label"],
13297
13356
  children: [
13298
- /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(SelectedTabIndicator, {}),
13357
+ /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(SelectedTabIndicator, {}),
13299
13358
  children
13300
13359
  ]
13301
13360
  }
@@ -13308,9 +13367,9 @@ var import_react71 = require("react");
13308
13367
  var import_type_guards55 = require("@wistia/type-guards");
13309
13368
 
13310
13369
  // src/components/Tabs/StyledRadixTabsTrigger.tsx
13311
- var import_styled_components91 = __toESM(require("styled-components"));
13370
+ var import_styled_components92 = __toESM(require("styled-components"));
13312
13371
  var import_react_tabs4 = require("@radix-ui/react-tabs");
13313
- var StyledRadixTabsTrigger = (0, import_styled_components91.default)(import_react_tabs4.Trigger)`
13372
+ var StyledRadixTabsTrigger = (0, import_styled_components92.default)(import_react_tabs4.Trigger)`
13314
13373
  ${segmentedControlItemStyles}
13315
13374
 
13316
13375
  &:focus-visible {
@@ -13319,7 +13378,7 @@ var StyledRadixTabsTrigger = (0, import_styled_components91.default)(import_reac
13319
13378
  `;
13320
13379
 
13321
13380
  // src/components/Tabs/TabsTrigger.tsx
13322
- var import_jsx_runtime275 = require("react/jsx-runtime");
13381
+ var import_jsx_runtime276 = require("react/jsx-runtime");
13323
13382
  var TabsTrigger = (0, import_react71.forwardRef)(
13324
13383
  ({ disabled = false, icon, label, "aria-label": ariaLabel, value, ...otherProps }, forwardedRef) => {
13325
13384
  const selectedValue = useTabsValue();
@@ -13351,7 +13410,7 @@ var TabsTrigger = (0, import_react71.forwardRef)(
13351
13410
  resizeObserver.disconnect();
13352
13411
  };
13353
13412
  }, [selectedValue, setSelectedItemMeasurements, value]);
13354
- return /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)(
13413
+ return /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(
13355
13414
  StyledRadixTabsTrigger,
13356
13415
  {
13357
13416
  ...otherProps,
@@ -13371,10 +13430,10 @@ var TabsTrigger = (0, import_react71.forwardRef)(
13371
13430
  TabsTrigger.displayName = "TabsTrigger";
13372
13431
 
13373
13432
  // src/components/Thumbnail/ThumbnailBadge.tsx
13374
- var import_styled_components92 = __toESM(require("styled-components"));
13433
+ var import_styled_components93 = __toESM(require("styled-components"));
13375
13434
  var import_type_guards56 = require("@wistia/type-guards");
13376
- var import_jsx_runtime276 = require("react/jsx-runtime");
13377
- var StyledThumbnailBadge = import_styled_components92.default.div`
13435
+ var import_jsx_runtime277 = require("react/jsx-runtime");
13436
+ var StyledThumbnailBadge = import_styled_components93.default.div`
13378
13437
  align-items: center;
13379
13438
  background-color: rgb(0 0 0 / 50%);
13380
13439
  border-radius: var(--wui-border-radius-01);
@@ -13399,23 +13458,23 @@ var StyledThumbnailBadge = import_styled_components92.default.div`
13399
13458
  }
13400
13459
  `;
13401
13460
  var ThumbnailBadge = ({ icon, label, ...props }) => {
13402
- return /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(StyledThumbnailBadge, { ...props, children: [
13461
+ return /* @__PURE__ */ (0, import_jsx_runtime277.jsxs)(StyledThumbnailBadge, { ...props, children: [
13403
13462
  (0, import_type_guards56.isNotNil)(icon) && icon,
13404
- /* @__PURE__ */ (0, import_jsx_runtime276.jsx)("span", { children: label })
13463
+ /* @__PURE__ */ (0, import_jsx_runtime277.jsx)("span", { children: label })
13405
13464
  ] });
13406
13465
  };
13407
13466
  ThumbnailBadge.displayName = "ThumbnailBadge";
13408
13467
 
13409
13468
  // src/components/Thumbnail/Thumbnail.tsx
13410
13469
  var import_react72 = require("react");
13411
- var import_styled_components95 = __toESM(require("styled-components"));
13470
+ var import_styled_components96 = __toESM(require("styled-components"));
13412
13471
  var import_type_guards59 = require("@wistia/type-guards");
13413
13472
 
13414
13473
  // src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
13415
13474
  var import_type_guards57 = require("@wistia/type-guards");
13416
- var import_styled_components93 = require("styled-components");
13475
+ var import_styled_components94 = require("styled-components");
13417
13476
  var gradients = {
13418
- defaultDarkOne: import_styled_components93.css`
13477
+ defaultDarkOne: import_styled_components94.css`
13419
13478
  background-color: #222d66;
13420
13479
  background-image:
13421
13480
  radial-gradient(farthest-corner at top right, #222d66, transparent 70%),
@@ -13423,7 +13482,7 @@ var gradients = {
13423
13482
  radial-gradient(farthest-corner at bottom left, #6b84ff, transparent 57%),
13424
13483
  radial-gradient(farthest-corner at top left, #2949e5, transparent 68%);
13425
13484
  `,
13426
- defaultDarkTwo: import_styled_components93.css`
13485
+ defaultDarkTwo: import_styled_components94.css`
13427
13486
  background-color: #222d66;
13428
13487
  background-image:
13429
13488
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 100%),
@@ -13431,7 +13490,7 @@ var gradients = {
13431
13490
  radial-gradient(farthest-corner at bottom right, #2949e5, transparent 50%),
13432
13491
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
13433
13492
  `,
13434
- defaultLightOne: import_styled_components93.css`
13493
+ defaultLightOne: import_styled_components94.css`
13435
13494
  background-color: #ccd5ff;
13436
13495
  background-image:
13437
13496
  radial-gradient(farthest-corner at bottom right, #ccd5ff, transparent 55%),
@@ -13439,13 +13498,13 @@ var gradients = {
13439
13498
  radial-gradient(farthest-corner at top right, #6b84ff, transparent 50%),
13440
13499
  radial-gradient(farthest-corner at bottom left, #f7f8ff, transparent 50%);
13441
13500
  `,
13442
- defaultLightTwo: import_styled_components93.css`
13501
+ defaultLightTwo: import_styled_components94.css`
13443
13502
  background-color: #ccd5ff;
13444
13503
  background-image:
13445
13504
  radial-gradient(ellipse at top, #ccd5ff, transparent),
13446
13505
  radial-gradient(ellipse at bottom, #6b84ff, transparent);
13447
13506
  `,
13448
- defaultMidOne: import_styled_components93.css`
13507
+ defaultMidOne: import_styled_components94.css`
13449
13508
  background-color: #6b84ff;
13450
13509
  background-image:
13451
13510
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%),
@@ -13453,13 +13512,13 @@ var gradients = {
13453
13512
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 80%),
13454
13513
  radial-gradient(farthest-corner at bottom left, #222d66, transparent 57%);
13455
13514
  `,
13456
- defaultMidTwo: import_styled_components93.css`
13515
+ defaultMidTwo: import_styled_components94.css`
13457
13516
  background-color: #6b84ff;
13458
13517
  background-image:
13459
13518
  radial-gradient(ellipse at top, #2949e5, transparent),
13460
13519
  radial-gradient(ellipse at bottom, #ccd5ff, transparent);
13461
13520
  `,
13462
- green: import_styled_components93.css`
13521
+ green: import_styled_components94.css`
13463
13522
  background-color: #fafffa;
13464
13523
  background-image:
13465
13524
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -13467,7 +13526,7 @@ var gradients = {
13467
13526
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
13468
13527
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
13469
13528
  `,
13470
- greenWithPop: import_styled_components93.css`
13529
+ greenWithPop: import_styled_components94.css`
13471
13530
  background-color: #fafffa;
13472
13531
  background-image:
13473
13532
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -13475,7 +13534,7 @@ var gradients = {
13475
13534
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
13476
13535
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
13477
13536
  `,
13478
- pink: import_styled_components93.css`
13537
+ pink: import_styled_components94.css`
13479
13538
  background-color: #fffff0;
13480
13539
  background-image:
13481
13540
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 50%),
@@ -13483,7 +13542,7 @@ var gradients = {
13483
13542
  radial-gradient(farthest-corner at top left, #ff40b3, transparent 65%),
13484
13543
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%);
13485
13544
  `,
13486
- pinkWithPop: import_styled_components93.css`
13545
+ pinkWithPop: import_styled_components94.css`
13487
13546
  background-color: #fffff0;
13488
13547
  background-image:
13489
13548
  radial-gradient(farthest-corner at top right, #e0128e, transparent 70%),
@@ -13491,7 +13550,7 @@ var gradients = {
13491
13550
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%),
13492
13551
  radial-gradient(farthest-corner at bottom left, #2949e5, transparent 50%);
13493
13552
  `,
13494
- playfulGradientOne: import_styled_components93.css`
13553
+ playfulGradientOne: import_styled_components94.css`
13495
13554
  background-color: #f7f8ff;
13496
13555
  background-image:
13497
13556
  radial-gradient(farthest-corner at top left, #d65cff, transparent 68%),
@@ -13499,7 +13558,7 @@ var gradients = {
13499
13558
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 57%),
13500
13559
  radial-gradient(farthest-corner at top right, #ffcaba, transparent 70%);
13501
13560
  `,
13502
- playfulGradientTwo: import_styled_components93.css`
13561
+ playfulGradientTwo: import_styled_components94.css`
13503
13562
  background-color: #f7f8ff;
13504
13563
  background-image:
13505
13564
  radial-gradient(farthest-corner at top left, #44b62d, transparent 68%),
@@ -13507,13 +13566,13 @@ var gradients = {
13507
13566
  radial-gradient(farthest-corner at bottom left, #ccd5ff, transparent 57%),
13508
13567
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
13509
13568
  `,
13510
- purple: import_styled_components93.css`
13569
+ purple: import_styled_components94.css`
13511
13570
  background-color: #f2caff;
13512
13571
  background-image:
13513
13572
  radial-gradient(ellipse at 0% 100%, #f9e5ff, transparent 50%),
13514
13573
  radial-gradient(ellipse at 100% 0%, #e093fa, transparent 70%);
13515
13574
  `,
13516
- purpleWithPop: import_styled_components93.css`
13575
+ purpleWithPop: import_styled_components94.css`
13517
13576
  background-color: #f2caff;
13518
13577
  background-image:
13519
13578
  radial-gradient(farthest-corner at bottom left, #f2caff, transparent 50%),
@@ -13521,7 +13580,7 @@ var gradients = {
13521
13580
  radial-gradient(farthest-corner at bottom right, #d65cff, transparent 55%),
13522
13581
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
13523
13582
  `,
13524
- yellow: import_styled_components93.css`
13583
+ yellow: import_styled_components94.css`
13525
13584
  background-color: #fffff0;
13526
13585
  background-image:
13527
13586
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -13529,7 +13588,7 @@ var gradients = {
13529
13588
  radial-gradient(farthest-corner at top left, #e8ec1e, transparent 65%),
13530
13589
  radial-gradient(farthest-corner at bottom right, #e8ec1e, transparent 55%);
13531
13590
  `,
13532
- yellowWithPop: import_styled_components93.css`
13591
+ yellowWithPop: import_styled_components94.css`
13533
13592
  background-color: #fffff0;
13534
13593
  background-image:
13535
13594
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -13544,10 +13603,10 @@ var getBackgroundGradient = (gradientName = void 0) => {
13544
13603
  };
13545
13604
 
13546
13605
  // src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
13547
- var import_styled_components94 = __toESM(require("styled-components"));
13606
+ var import_styled_components95 = __toESM(require("styled-components"));
13548
13607
  var import_type_guards58 = require("@wistia/type-guards");
13549
- var import_jsx_runtime277 = require("react/jsx-runtime");
13550
- var ScrubLine = import_styled_components94.default.div`
13608
+ var import_jsx_runtime278 = require("react/jsx-runtime");
13609
+ var ScrubLine = import_styled_components95.default.div`
13551
13610
  position: absolute;
13552
13611
  top: 0;
13553
13612
  height: 100%;
@@ -13649,14 +13708,14 @@ var ThumbnailStoryboardViewer = ({
13649
13708
  backgroundPosition,
13650
13709
  backgroundSize
13651
13710
  };
13652
- return /* @__PURE__ */ (0, import_jsx_runtime277.jsxs)(
13711
+ return /* @__PURE__ */ (0, import_jsx_runtime278.jsxs)(
13653
13712
  "div",
13654
13713
  {
13655
13714
  ...props,
13656
13715
  style: viewerStyles,
13657
13716
  children: [
13658
- /* @__PURE__ */ (0, import_jsx_runtime277.jsx)("div", { style: storyboardStyles }),
13659
- showScrubLine ? /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
13717
+ /* @__PURE__ */ (0, import_jsx_runtime278.jsx)("div", { style: storyboardStyles }),
13718
+ showScrubLine ? /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
13660
13719
  ScrubLine,
13661
13720
  {
13662
13721
  style: {
@@ -13670,20 +13729,20 @@ var ThumbnailStoryboardViewer = ({
13670
13729
  };
13671
13730
 
13672
13731
  // src/components/Thumbnail/Thumbnail.tsx
13673
- var import_jsx_runtime278 = require("react/jsx-runtime");
13674
- var WideThumbnailImage = import_styled_components95.default.img`
13732
+ var import_jsx_runtime279 = require("react/jsx-runtime");
13733
+ var WideThumbnailImage = import_styled_components96.default.img`
13675
13734
  height: 100%;
13676
13735
  object-fit: cover;
13677
13736
  width: 100%;
13678
13737
  `;
13679
- var SquareThumbnailImage = import_styled_components95.default.img`
13738
+ var SquareThumbnailImage = import_styled_components96.default.img`
13680
13739
  backdrop-filter: blur(8px);
13681
13740
  object-fit: contain;
13682
13741
  width: 100%;
13683
13742
  `;
13684
13743
  var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
13685
13744
  if (thumbnailImageType === "wide") {
13686
- return /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
13745
+ return /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
13687
13746
  WideThumbnailImage,
13688
13747
  {
13689
13748
  alt: "",
@@ -13692,7 +13751,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
13692
13751
  }
13693
13752
  );
13694
13753
  }
13695
- return /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
13754
+ return /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
13696
13755
  SquareThumbnailImage,
13697
13756
  {
13698
13757
  alt: "",
@@ -13701,7 +13760,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
13701
13760
  }
13702
13761
  );
13703
13762
  };
13704
- var StyledThumbnail = import_styled_components95.default.div`
13763
+ var StyledThumbnail = import_styled_components96.default.div`
13705
13764
  background-image: ${({ $backgroundUrl }) => (0, import_type_guards59.isNotNil)($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
13706
13765
  ${({ $backgroundUrl, $gradientBackground }) => (
13707
13766
  // if we don't have $backgroundUrl show a gradient
@@ -13795,7 +13854,7 @@ var Thumbnail = (0, import_react72.forwardRef)(
13795
13854
  } = storyboard;
13796
13855
  const targetWidth = (0, import_type_guards59.isString)(width) ? parseInt(width, 10) : Number(width);
13797
13856
  const effectiveCursorPosition = isStoryboardReady ? cursorPosition : null;
13798
- return /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
13857
+ return /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
13799
13858
  ThumbnailStoryboardViewer,
13800
13859
  {
13801
13860
  cursorPosition: effectiveCursorPosition,
@@ -13815,7 +13874,7 @@ var Thumbnail = (0, import_react72.forwardRef)(
13815
13874
  if (shouldRenderStoryboard) {
13816
13875
  thumbnailContent = renderStoryboard();
13817
13876
  } else if ((0, import_type_guards59.isNotNil)(thumbnailUrl)) {
13818
- thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
13877
+ thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
13819
13878
  ThumbnailImage,
13820
13879
  {
13821
13880
  thumbnailImageType,
@@ -13825,7 +13884,7 @@ var Thumbnail = (0, import_react72.forwardRef)(
13825
13884
  } else {
13826
13885
  thumbnailContent = null;
13827
13886
  }
13828
- return /* @__PURE__ */ (0, import_jsx_runtime278.jsxs)(
13887
+ return /* @__PURE__ */ (0, import_jsx_runtime279.jsxs)(
13829
13888
  StyledThumbnail,
13830
13889
  {
13831
13890
  ref,
@@ -13850,13 +13909,13 @@ Thumbnail.displayName = "Thumbnail";
13850
13909
 
13851
13910
  // src/components/ThumbnailCollage/ThumbnailCollage.tsx
13852
13911
  var import_react73 = __toESM(require("react"));
13853
- var import_styled_components96 = __toESM(require("styled-components"));
13912
+ var import_styled_components97 = __toESM(require("styled-components"));
13854
13913
  var import_type_guards60 = require("@wistia/type-guards");
13855
- var import_jsx_runtime279 = (
13914
+ var import_jsx_runtime280 = (
13856
13915
  // ThumbnailCollage will fallback to a Thumbnail with a gradient background if no children are provided
13857
13916
  require("react/jsx-runtime")
13858
13917
  );
13859
- var StyledThumbnailCollage = import_styled_components96.default.div`
13918
+ var StyledThumbnailCollage = import_styled_components97.default.div`
13860
13919
  display: grid;
13861
13920
  gap: var(--wui-space-01);
13862
13921
  width: 100%;
@@ -13937,7 +13996,7 @@ var ThumbnailCollage = ({
13937
13996
  children: void 0
13938
13997
  });
13939
13998
  }) : [
13940
- /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
13999
+ /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(
13941
14000
  Thumbnail,
13942
14001
  {
13943
14002
  gradientBackground,
@@ -13946,7 +14005,7 @@ var ThumbnailCollage = ({
13946
14005
  "fallback"
13947
14006
  )
13948
14007
  ];
13949
- return /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
14008
+ return /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(
13950
14009
  StyledThumbnailCollage,
13951
14010
  {
13952
14011
  $gradientBackground: gradientBackground,
@@ -13958,26 +14017,26 @@ var ThumbnailCollage = ({
13958
14017
  };
13959
14018
 
13960
14019
  // src/components/WistiaLogo/WistiaLogo.tsx
13961
- var import_styled_components97 = __toESM(require("styled-components"));
14020
+ var import_styled_components98 = __toESM(require("styled-components"));
13962
14021
  var import_type_guards61 = require("@wistia/type-guards");
13963
- var import_jsx_runtime280 = require("react/jsx-runtime");
14022
+ var import_jsx_runtime281 = require("react/jsx-runtime");
13964
14023
  var renderBrandmark = (brandmarkColor, iconOnly) => {
13965
14024
  if (iconOnly) {
13966
- return /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(
14025
+ return /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
13967
14026
  "g",
13968
14027
  {
13969
14028
  "data-testid": "ui-wistia-logo-brandmark",
13970
14029
  fill: brandmarkColor,
13971
- children: /* @__PURE__ */ (0, import_jsx_runtime280.jsx)("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" })
14030
+ children: /* @__PURE__ */ (0, import_jsx_runtime281.jsx)("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" })
13972
14031
  }
13973
14032
  );
13974
14033
  }
13975
- return /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(
14034
+ return /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
13976
14035
  "g",
13977
14036
  {
13978
14037
  "data-testid": "ui-wistia-logo-brandmark",
13979
14038
  fill: brandmarkColor,
13980
- children: /* @__PURE__ */ (0, import_jsx_runtime280.jsx)("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" })
14039
+ children: /* @__PURE__ */ (0, import_jsx_runtime281.jsx)("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" })
13981
14040
  }
13982
14041
  );
13983
14042
  };
@@ -13985,12 +14044,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
13985
14044
  if (iconOnly) {
13986
14045
  return null;
13987
14046
  }
13988
- return /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(
14047
+ return /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
13989
14048
  "g",
13990
14049
  {
13991
14050
  "data-testid": "ui-wistia-logo-logotype",
13992
14051
  fill: logotypeColor,
13993
- children: /* @__PURE__ */ (0, import_jsx_runtime280.jsx)("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" })
14052
+ children: /* @__PURE__ */ (0, import_jsx_runtime281.jsx)("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" })
13994
14053
  }
13995
14054
  );
13996
14055
  };
@@ -14000,7 +14059,7 @@ var computedViewBox = (iconOnly) => {
14000
14059
  }
14001
14060
  return "0 0 144 31.47";
14002
14061
  };
14003
- var WistiaLogoComponent = import_styled_components97.default.svg`
14062
+ var WistiaLogoComponent = import_styled_components98.default.svg`
14004
14063
  height: ${({ height }) => `${height}px`};
14005
14064
 
14006
14065
  /* ensure it will always fit on mobile */
@@ -14016,12 +14075,12 @@ var WistiaLogoComponent = import_styled_components97.default.svg`
14016
14075
  ${({ $opticallyCentered, $iconOnly }) => {
14017
14076
  if ($opticallyCentered) {
14018
14077
  if ($iconOnly) {
14019
- return import_styled_components97.css`
14078
+ return import_styled_components98.css`
14020
14079
  aspect-ratio: 1;
14021
14080
  padding: 11.85% 3.12% 13.91%;
14022
14081
  `;
14023
14082
  }
14024
- return import_styled_components97.css`
14083
+ return import_styled_components98.css`
14025
14084
  aspect-ratio: 127 / 32;
14026
14085
  `;
14027
14086
  }
@@ -14058,7 +14117,7 @@ var WistiaLogo = ({
14058
14117
  };
14059
14118
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
14060
14119
  const logotypeColor = VARIANT_COLORS[variant].logotype;
14061
- const Logo = /* @__PURE__ */ (0, import_jsx_runtime280.jsxs)(
14120
+ const Logo = /* @__PURE__ */ (0, import_jsx_runtime281.jsxs)(
14062
14121
  WistiaLogoComponent,
14063
14122
  {
14064
14123
  $hoverColor: hoverColor,
@@ -14071,14 +14130,14 @@ var WistiaLogo = ({
14071
14130
  xmlns: "http://www.w3.org/2000/svg",
14072
14131
  ...props,
14073
14132
  children: [
14074
- /* @__PURE__ */ (0, import_jsx_runtime280.jsx)("title", { children: title }),
14075
- (0, import_type_guards61.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime280.jsx)("desc", { children: description }) : null,
14133
+ /* @__PURE__ */ (0, import_jsx_runtime281.jsx)("title", { children: title }),
14134
+ (0, import_type_guards61.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime281.jsx)("desc", { children: description }) : null,
14076
14135
  renderBrandmark(brandmarkColor, iconOnly),
14077
14136
  renderLogotype(logotypeColor, iconOnly)
14078
14137
  ]
14079
14138
  }
14080
14139
  );
14081
- return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime280.jsx)("a", { href, children: Logo }) : Logo;
14140
+ return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime281.jsx)("a", { href, children: Logo }) : Logo;
14082
14141
  };
14083
14142
  WistiaLogo.displayName = "WistiaLogo";
14084
14143
  // Annotate the CommonJS export names for ESM import in node:
@@ -14100,6 +14159,7 @@ WistiaLogo.displayName = "WistiaLogo";
14100
14159
  Collapsible,
14101
14160
  CollapsibleContent,
14102
14161
  CollapsibleTrigger,
14162
+ CollapsibleTriggerIcon,
14103
14163
  ColorSchemeWrapper,
14104
14164
  Combobox,
14105
14165
  ComboboxOption,