@wistia/ui 0.8.23 → 0.8.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.8.23
3
+ * @license @wistia/ui v0.8.24
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -11162,8 +11162,8 @@ var Modal = (0, import_react54.forwardRef)(
11162
11162
  Modal.displayName = "Modal";
11163
11163
 
11164
11164
  // src/components/Popover/Popover.tsx
11165
- var import_react_popover = require("@radix-ui/react-popover");
11166
- var import_styled_components67 = __toESM(require("styled-components"));
11165
+ var import_react_popover2 = require("@radix-ui/react-popover");
11166
+ var import_styled_components68 = __toESM(require("styled-components"));
11167
11167
 
11168
11168
  // src/private/helpers/getControls/getControlProps.tsx
11169
11169
  var import_type_guards43 = require("@wistia/type-guards");
@@ -11171,11 +11171,91 @@ var getControlProps = (isOpen, onOpenChange) => {
11171
11171
  return (0, import_type_guards43.isNotNil)(onOpenChange) && (0, import_type_guards43.isNotNil)(isOpen) ? { open: isOpen, onOpenChange } : {};
11172
11172
  };
11173
11173
 
11174
- // src/components/Popover/Popover.tsx
11174
+ // src/components/Popover/PopoverArrow.tsx
11175
+ var import_react_popover = require("@radix-ui/react-popover");
11176
+ var import_styled_components67 = __toESM(require("styled-components"));
11175
11177
  var import_jsx_runtime246 = require("react/jsx-runtime");
11176
- var StyledContent2 = (0, import_styled_components67.default)(import_react_popover.Content)`
11178
+ var StyledPath = import_styled_components67.default.path`
11179
+ fill: var(--wui-color-border-secondary);
11180
+ `;
11181
+ var circleAnimation = import_styled_components67.keyframes`
11182
+ 0% {
11183
+ opacity: var(--wui-popover-arrow-circle-starting-opacity);
11184
+ }
11185
+ 100% {
11186
+ opacity: 0;
11187
+ }
11188
+ `;
11189
+ var StyledCircle = import_styled_components67.default.circle`
11190
+ stroke: var(--wui-color-border-active);
11191
+ animation-duration: 2s;
11192
+ animation-iteration-count: infinite;
11193
+ animation-direction: alternate;
11194
+ animation-timing-function: ease-in-out;
11195
+
11196
+ &[data-wui-popover-arrow-inner-circle] {
11197
+ --wui-popover-arrow-circle-starting-opacity: 0.36;
11198
+
11199
+ opacity: var(--wui-popover-arrow-circle-starting-opacity);
11200
+ }
11201
+
11202
+ &[data-wui-popover-arrow-outer-circle] {
11203
+ --wui-popover-arrow-circle-starting-opacity: 0.2;
11204
+
11205
+ animation-direction: alternate-reverse;
11206
+ opacity: 0.11;
11207
+ }
11208
+
11209
+ @media (prefers-reduced-motion: no-preference) {
11210
+ ${({ $isAnimated }) => $isAnimated && import_styled_components67.css`
11211
+ animation-name: ${circleAnimation};
11212
+ `}
11213
+ }
11214
+ `;
11215
+ var PopoverArrow = ({ isAnimated }) => {
11216
+ return /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(import_react_popover.PopoverArrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(
11217
+ "svg",
11218
+ {
11219
+ fill: "none",
11220
+ height: "56",
11221
+ viewBox: "0 0 48 56",
11222
+ width: "48",
11223
+ xmlns: "http://www.w3.org/2000/svg",
11224
+ children: [
11225
+ /* @__PURE__ */ (0, import_jsx_runtime246.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" }),
11226
+ /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11227
+ StyledCircle,
11228
+ {
11229
+ $isAnimated: isAnimated,
11230
+ cx: "24",
11231
+ cy: "32",
11232
+ "data-wui-popover-arrow-inner-circle": true,
11233
+ r: "10",
11234
+ strokeWidth: "4"
11235
+ }
11236
+ ),
11237
+ /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11238
+ StyledCircle,
11239
+ {
11240
+ $isAnimated: isAnimated,
11241
+ cx: "24",
11242
+ cy: "32",
11243
+ "data-wui-popover-arrow-outer-circle": true,
11244
+ r: "20",
11245
+ strokeWidth: "8"
11246
+ }
11247
+ )
11248
+ ]
11249
+ }
11250
+ ) });
11251
+ };
11252
+ PopoverArrow.displayName = "PopoverArrow";
11253
+
11254
+ // src/components/Popover/Popover.tsx
11255
+ var import_jsx_runtime247 = require("react/jsx-runtime");
11256
+ var StyledContent2 = (0, import_styled_components68.default)(import_react_popover2.Content)`
11177
11257
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11178
- ${({ $unstyled }) => !$unstyled && import_styled_components67.css`
11258
+ ${({ $unstyled }) => !$unstyled && import_styled_components68.css`
11179
11259
  border-radius: var(--wui-border-radius-02);
11180
11260
  padding: var(--wui-space-04);
11181
11261
  max-width: var(--wui-popover-max-width, 320px);
@@ -11201,34 +11281,38 @@ var Popover = ({
11201
11281
  maxHeight = "auto",
11202
11282
  onOpenChange,
11203
11283
  unstyled = false,
11284
+ withArrow = false,
11285
+ isAnimated = false,
11204
11286
  colorScheme = "inherit",
11205
11287
  ...props
11206
11288
  }) => {
11289
+ const sideOffset = withArrow ? -24 : 8;
11207
11290
  const style = {
11208
11291
  "--wui-popover-max-width": maxWidth,
11209
11292
  "--wui-popover-max-height": maxHeight
11210
11293
  };
11211
- return /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(import_react_popover.Root, { ...getControlProps(isOpen, onOpenChange), children: [
11212
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(import_react_popover.Trigger, { asChild: true, children: trigger }),
11213
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(import_react_popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(
11294
+ return /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(import_react_popover2.Root, { ...getControlProps(isOpen, onOpenChange), children: [
11295
+ /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(import_react_popover2.Trigger, { asChild: true, children: trigger }),
11296
+ /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(import_react_popover2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
11214
11297
  StyledContent2,
11215
11298
  {
11216
11299
  $colorScheme: colorScheme,
11217
- sideOffset: 8,
11300
+ sideOffset,
11218
11301
  ...props,
11219
11302
  $unstyled: unstyled,
11220
11303
  style,
11221
11304
  children: [
11222
- !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(import_react_popover.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
11305
+ !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(import_react_popover2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
11223
11306
  IconButton,
11224
11307
  {
11225
11308
  "data-wui-popover-close": true,
11226
11309
  label: "Close",
11227
11310
  variant: "ghost",
11228
- children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(Icon, { type: "close" })
11311
+ children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(Icon, { type: "close" })
11229
11312
  }
11230
11313
  ) }),
11231
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)("div", { children })
11314
+ withArrow ? /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(PopoverArrow, { isAnimated }) : null,
11315
+ /* @__PURE__ */ (0, import_jsx_runtime247.jsx)("div", { children })
11232
11316
  ]
11233
11317
  }
11234
11318
  ) })
@@ -11237,11 +11321,11 @@ var Popover = ({
11237
11321
  Popover.displayName = "Popover";
11238
11322
 
11239
11323
  // src/components/ProgressBar/ProgressBar.tsx
11240
- var import_styled_components68 = __toESM(require("styled-components"));
11324
+ var import_styled_components69 = __toESM(require("styled-components"));
11241
11325
  var import_react_progress = require("@radix-ui/react-progress");
11242
11326
  var import_type_guards44 = require("@wistia/type-guards");
11243
- var import_jsx_runtime247 = require("react/jsx-runtime");
11244
- var ProgressBarWrapper = import_styled_components68.default.div`
11327
+ var import_jsx_runtime248 = require("react/jsx-runtime");
11328
+ var ProgressBarWrapper = import_styled_components69.default.div`
11245
11329
  --progress-bar-height: 8px;
11246
11330
  --progress-bar-indicator-color: var(--wui-color-bg-fill);
11247
11331
  --progress-bar-background-color: var(--wui-color-bg-surface-secondary);
@@ -11257,7 +11341,7 @@ var getTranslateValue = (progress, max) => {
11257
11341
  const progressPercentage = progress / max * 100;
11258
11342
  return `translateX(-${100 - progressPercentage}%)`;
11259
11343
  };
11260
- var ProgressBarLabel = import_styled_components68.default.div`
11344
+ var ProgressBarLabel = import_styled_components69.default.div`
11261
11345
  display: flex;
11262
11346
  line-height: var(--wui-typography-label-3-line-height);
11263
11347
  font-size: var(--wui-typography-label-3-size);
@@ -11265,7 +11349,7 @@ var ProgressBarLabel = import_styled_components68.default.div`
11265
11349
  color: var(--wui-color-text-secondary);
11266
11350
  flex-shrink: 0;
11267
11351
  `;
11268
- var StyledProgressIndicator = (0, import_styled_components68.default)(import_react_progress.Indicator)`
11352
+ var StyledProgressIndicator = (0, import_styled_components69.default)(import_react_progress.Indicator)`
11269
11353
  background-color: var(--progress-bar-indicator-color);
11270
11354
  width: 100%;
11271
11355
  height: 100%;
@@ -11274,7 +11358,7 @@ var StyledProgressIndicator = (0, import_styled_components68.default)(import_rea
11274
11358
  transition: transform 660ms cubic-bezier(0.65, 0, 0.35, 1);
11275
11359
  transform: ${({ $progress, $max }) => getTranslateValue($progress, $max)};
11276
11360
  `;
11277
- var StyledProgressBar = (0, import_styled_components68.default)(import_react_progress.Root)`
11361
+ var StyledProgressBar = (0, import_styled_components69.default)(import_react_progress.Root)`
11278
11362
  position: relative;
11279
11363
  overflow: hidden;
11280
11364
  background: var(--progress-bar-background-color);
@@ -11293,15 +11377,15 @@ var ProgressBar = ({
11293
11377
  labelRight,
11294
11378
  ...props
11295
11379
  }) => {
11296
- return /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(ProgressBarWrapper, { children: [
11297
- (0, import_type_guards44.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
11298
- /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
11380
+ return /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(ProgressBarWrapper, { children: [
11381
+ (0, import_type_guards44.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
11382
+ /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11299
11383
  StyledProgressBar,
11300
11384
  {
11301
11385
  max,
11302
11386
  value: progress,
11303
11387
  ...props,
11304
- children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
11388
+ children: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11305
11389
  StyledProgressIndicator,
11306
11390
  {
11307
11391
  $max: max,
@@ -11310,17 +11394,17 @@ var ProgressBar = ({
11310
11394
  )
11311
11395
  }
11312
11396
  ),
11313
- (0, import_type_guards44.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(ProgressBarLabel, { children: labelRight }) : null
11397
+ (0, import_type_guards44.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(ProgressBarLabel, { children: labelRight }) : null
11314
11398
  ] });
11315
11399
  };
11316
11400
  ProgressBar.displayName = "ProgressBar";
11317
11401
 
11318
11402
  // src/components/Radio/Radio.tsx
11319
11403
  var import_react55 = require("react");
11320
- var import_styled_components69 = __toESM(require("styled-components"));
11404
+ var import_styled_components70 = __toESM(require("styled-components"));
11321
11405
  var import_type_guards45 = require("@wistia/type-guards");
11322
- var import_jsx_runtime248 = require("react/jsx-runtime");
11323
- var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11406
+ var import_jsx_runtime249 = require("react/jsx-runtime");
11407
+ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
11324
11408
  "svg",
11325
11409
  {
11326
11410
  fill: "inherit",
@@ -11328,7 +11412,7 @@ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11328
11412
  viewBox: "0 0 1 1",
11329
11413
  width: "1",
11330
11414
  xmlns: "http://www.w3.org/2000/svg",
11331
- children: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11415
+ children: /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
11332
11416
  "circle",
11333
11417
  {
11334
11418
  cx: "0.5",
@@ -11339,7 +11423,7 @@ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11339
11423
  )
11340
11424
  }
11341
11425
  );
11342
- var sizeSmall2 = import_styled_components69.css`
11426
+ var sizeSmall2 = import_styled_components70.css`
11343
11427
  width: 14px;
11344
11428
  height: 14px;
11345
11429
  min-width: 14px;
@@ -11350,7 +11434,7 @@ var sizeSmall2 = import_styled_components69.css`
11350
11434
  height: 7px;
11351
11435
  }
11352
11436
  `;
11353
- var sizeMedium2 = import_styled_components69.css`
11437
+ var sizeMedium2 = import_styled_components70.css`
11354
11438
  width: 16px;
11355
11439
  height: 16px;
11356
11440
  min-width: 16px;
@@ -11361,7 +11445,7 @@ var sizeMedium2 = import_styled_components69.css`
11361
11445
  height: 8px;
11362
11446
  }
11363
11447
  `;
11364
- var sizeLarge2 = import_styled_components69.css`
11448
+ var sizeLarge2 = import_styled_components70.css`
11365
11449
  width: 20px;
11366
11450
  height: 20px;
11367
11451
  min-width: 20px;
@@ -11377,14 +11461,14 @@ var getSizeCss2 = (size) => {
11377
11461
  if (size === "lg") return sizeLarge2;
11378
11462
  return sizeMedium2;
11379
11463
  };
11380
- var StyledRadioWrapper = import_styled_components69.default.div`
11464
+ var StyledRadioWrapper = import_styled_components70.default.div`
11381
11465
  display: flex;
11382
11466
  margin: 0;
11383
11467
 
11384
11468
  /* TODO this solves a problem but potentially causes and a11y issue */
11385
11469
  user-select: none;
11386
11470
  `;
11387
- var StyledRadioInput = import_styled_components69.default.div`
11471
+ var StyledRadioInput = import_styled_components70.default.div`
11388
11472
  ${({ $size }) => getSizeCss2($size)}
11389
11473
  line-height: 0;
11390
11474
  margin: 0;
@@ -11406,7 +11490,7 @@ var StyledRadioInput = import_styled_components69.default.div`
11406
11490
  }
11407
11491
  }
11408
11492
  `;
11409
- var StyledHiddenRadioInput = import_styled_components69.default.input`
11493
+ var StyledHiddenRadioInput = import_styled_components70.default.input`
11410
11494
  ${visuallyHiddenStyle}
11411
11495
 
11412
11496
  /* toggles display of faux-input border-color */
@@ -11436,13 +11520,13 @@ var Radio = (0, import_react55.forwardRef)(
11436
11520
  }, ref) => {
11437
11521
  const generatedId = (0, import_react55.useId)();
11438
11522
  const computedId = (0, import_type_guards45.isNonEmptyString)(id) ? id : `wistia-ui-radio-${generatedId}`;
11439
- return /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(
11523
+ return /* @__PURE__ */ (0, import_jsx_runtime249.jsxs)(
11440
11524
  StyledRadioWrapper,
11441
11525
  {
11442
11526
  $disabled: disabled,
11443
11527
  "aria-invalid": props["aria-invalid"],
11444
11528
  children: [
11445
- /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11529
+ /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
11446
11530
  StyledHiddenRadioInput,
11447
11531
  {
11448
11532
  ...props,
@@ -11457,16 +11541,16 @@ var Radio = (0, import_react55.forwardRef)(
11457
11541
  value
11458
11542
  }
11459
11543
  ),
11460
- /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11544
+ /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
11461
11545
  FormControlLabel,
11462
11546
  {
11463
- controlSlot: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
11547
+ controlSlot: /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
11464
11548
  StyledRadioInput,
11465
11549
  {
11466
11550
  $disabled: disabled,
11467
11551
  $size: size,
11468
11552
  "data-wui-faux-input": "true",
11469
- children: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(RadioIcon, {})
11553
+ children: /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(RadioIcon, {})
11470
11554
  }
11471
11555
  ),
11472
11556
  description,
@@ -11485,13 +11569,13 @@ Radio.displayName = "Radio";
11485
11569
 
11486
11570
  // src/components/SegmentedControl/SegmentedControl.tsx
11487
11571
  var import_react58 = require("react");
11488
- var import_styled_components71 = __toESM(require("styled-components"));
11572
+ var import_styled_components72 = __toESM(require("styled-components"));
11489
11573
  var import_react_toggle_group = require("@radix-ui/react-toggle-group");
11490
11574
  var import_type_guards46 = require("@wistia/type-guards");
11491
11575
 
11492
11576
  // src/components/SegmentedControl/useSelectedItemStyle.tsx
11493
11577
  var import_react56 = require("react");
11494
- var import_jsx_runtime249 = require("react/jsx-runtime");
11578
+ var import_jsx_runtime250 = require("react/jsx-runtime");
11495
11579
  var SelectedItemStyleContext = (0, import_react56.createContext)(null);
11496
11580
  var SelectedItemStyleProvider = ({
11497
11581
  children
@@ -11514,7 +11598,7 @@ var SelectedItemStyleProvider = ({
11514
11598
  }),
11515
11599
  [selectedItemIndicatorStyle]
11516
11600
  );
11517
- return /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
11601
+ return /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
11518
11602
  };
11519
11603
  var useSelectedItemStyle = () => {
11520
11604
  const context = (0, import_react56.useContext)(SelectedItemStyleContext);
@@ -11525,7 +11609,7 @@ var useSelectedItemStyle = () => {
11525
11609
  };
11526
11610
 
11527
11611
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
11528
- var import_styled_components70 = __toESM(require("styled-components"));
11612
+ var import_styled_components71 = __toESM(require("styled-components"));
11529
11613
 
11530
11614
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
11531
11615
  var import_react57 = require("react");
@@ -11540,8 +11624,8 @@ var useSegmentedControlValue = () => {
11540
11624
  };
11541
11625
 
11542
11626
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
11543
- var import_jsx_runtime250 = require("react/jsx-runtime");
11544
- var SelectedItemIndicatorDiv = import_styled_components70.default.div`
11627
+ var import_jsx_runtime251 = require("react/jsx-runtime");
11628
+ var SelectedItemIndicatorDiv = import_styled_components71.default.div`
11545
11629
  background-color: var(--wui-color-bg-fill-white);
11546
11630
  border-radius: var(--wui-border-radius-rounded);
11547
11631
  left: 0;
@@ -11559,12 +11643,12 @@ var SelectedItemIndicator = () => {
11559
11643
  if (!selectedValue) {
11560
11644
  return null;
11561
11645
  }
11562
- return /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(SelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
11646
+ return /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(SelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
11563
11647
  };
11564
11648
 
11565
11649
  // src/components/SegmentedControl/SegmentedControl.tsx
11566
- var import_jsx_runtime251 = require("react/jsx-runtime");
11567
- var segmentedControlStyles = import_styled_components71.css`
11650
+ var import_jsx_runtime252 = require("react/jsx-runtime");
11651
+ var segmentedControlStyles = import_styled_components72.css`
11568
11652
  display: inline-flex;
11569
11653
  background-color: var(--wui-color-bg-surface-secondary);
11570
11654
  border-radius: var(--wui-border-radius-rounded);
@@ -11575,7 +11659,7 @@ var segmentedControlStyles = import_styled_components71.css`
11575
11659
  position: relative;
11576
11660
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
11577
11661
  `;
11578
- var StyledSegmentedControl = (0, import_styled_components71.default)(import_react_toggle_group.Root)`
11662
+ var StyledSegmentedControl = (0, import_styled_components72.default)(import_react_toggle_group.Root)`
11579
11663
  ${segmentedControlStyles}
11580
11664
  `;
11581
11665
  var SegmentedControl = (0, import_react58.forwardRef)(
@@ -11590,7 +11674,7 @@ var SegmentedControl = (0, import_react58.forwardRef)(
11590
11674
  if ((0, import_type_guards46.isNil)(children)) {
11591
11675
  return null;
11592
11676
  }
11593
- return /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
11677
+ return /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
11594
11678
  StyledSegmentedControl,
11595
11679
  {
11596
11680
  ref,
@@ -11602,8 +11686,8 @@ var SegmentedControl = (0, import_react58.forwardRef)(
11602
11686
  type: "single",
11603
11687
  value: selectedValue,
11604
11688
  ...props,
11605
- children: /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(SelectedItemStyleProvider, { children: [
11606
- /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(SelectedItemIndicator, {}),
11689
+ children: /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(SelectedItemStyleProvider, { children: [
11690
+ /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(SelectedItemIndicator, {}),
11607
11691
  children
11608
11692
  ] }) })
11609
11693
  }
@@ -11614,11 +11698,11 @@ SegmentedControl.displayName = "SegmentedControl";
11614
11698
 
11615
11699
  // src/components/SegmentedControl/SegmentedControlItem.tsx
11616
11700
  var import_react59 = require("react");
11617
- var import_styled_components72 = __toESM(require("styled-components"));
11701
+ var import_styled_components73 = __toESM(require("styled-components"));
11618
11702
  var import_react_toggle_group2 = require("@radix-ui/react-toggle-group");
11619
11703
  var import_type_guards47 = require("@wistia/type-guards");
11620
- var import_jsx_runtime252 = require("react/jsx-runtime");
11621
- var segmentedControlItemStyles = import_styled_components72.css`
11704
+ var import_jsx_runtime253 = require("react/jsx-runtime");
11705
+ var segmentedControlItemStyles = import_styled_components73.css`
11622
11706
  all: unset; /* ToggleGroupItem is a button element */
11623
11707
  align-items: center;
11624
11708
  border-radius: var(--wui-border-radius-rounded);
@@ -11678,7 +11762,7 @@ var segmentedControlItemStyles = import_styled_components72.css`
11678
11762
  }
11679
11763
  }
11680
11764
  `;
11681
- var StyledSegmentedControlItem = (0, import_styled_components72.default)(import_react_toggle_group2.Item)`
11765
+ var StyledSegmentedControlItem = (0, import_styled_components73.default)(import_react_toggle_group2.Item)`
11682
11766
  ${segmentedControlItemStyles}
11683
11767
  `;
11684
11768
  var SegmentedControlItem = (0, import_react59.forwardRef)(
@@ -11719,7 +11803,7 @@ var SegmentedControlItem = (0, import_react59.forwardRef)(
11719
11803
  resizeObserver.disconnect();
11720
11804
  };
11721
11805
  }, [selectedValue, setSelectedItemMeasurements, value]);
11722
- return /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(
11806
+ return /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
11723
11807
  StyledSegmentedControlItem,
11724
11808
  {
11725
11809
  ref: combinedRef,
@@ -11741,9 +11825,9 @@ SegmentedControlItem.displayName = "SegmentedControlItem";
11741
11825
  // src/components/Select/Select.tsx
11742
11826
  var import_react_select = require("@radix-ui/react-select");
11743
11827
  var import_react60 = require("react");
11744
- var import_styled_components73 = __toESM(require("styled-components"));
11745
- var import_jsx_runtime253 = require("react/jsx-runtime");
11746
- var StyledTrigger = (0, import_styled_components73.default)(import_react_select.Trigger)`
11828
+ var import_styled_components74 = __toESM(require("styled-components"));
11829
+ var import_jsx_runtime254 = require("react/jsx-runtime");
11830
+ var StyledTrigger = (0, import_styled_components74.default)(import_react_select.Trigger)`
11747
11831
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11748
11832
  ${inputCssVariables};
11749
11833
  padding: var(--wui-input-vertical-padding) var(--wui-input-horizontal-padding);
@@ -11787,7 +11871,7 @@ var StyledTrigger = (0, import_styled_components73.default)(import_react_select.
11787
11871
  color: var(--wui-input-placeholder);
11788
11872
  }
11789
11873
  `;
11790
- var StyledContent3 = (0, import_styled_components73.default)(import_react_select.Content)`
11874
+ var StyledContent3 = (0, import_styled_components74.default)(import_react_select.Content)`
11791
11875
  --wui-select-content-border: var(--wui-color-border);
11792
11876
  --wui-select-content-bg: var(--wui-color-bg-surface);
11793
11877
  --wui-select-content-border-radius: var(--wui-border-radius-02);
@@ -11815,13 +11899,13 @@ var Select = (0, import_react60.forwardRef)(
11815
11899
  ...props
11816
11900
  }, forwardedRef) => {
11817
11901
  const responsiveFullWidth = useResponsiveProp(fullWidth);
11818
- return /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
11902
+ return /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
11819
11903
  import_react_select.Root,
11820
11904
  {
11821
11905
  ...props,
11822
11906
  onValueChange: onChange,
11823
11907
  children: [
11824
- /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
11908
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
11825
11909
  StyledTrigger,
11826
11910
  {
11827
11911
  ref: forwardedRef,
@@ -11829,8 +11913,8 @@ var Select = (0, import_react60.forwardRef)(
11829
11913
  $fullWidth: responsiveFullWidth,
11830
11914
  ...props,
11831
11915
  children: [
11832
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_select.Value, { placeholder }),
11833
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
11916
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select.Value, { placeholder }),
11917
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
11834
11918
  Icon,
11835
11919
  {
11836
11920
  size: "md",
@@ -11840,10 +11924,10 @@ var Select = (0, import_react60.forwardRef)(
11840
11924
  ]
11841
11925
  }
11842
11926
  ),
11843
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(StyledContent3, { position: "popper", children: [
11844
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(Icon, { type: "caret-up" }) }),
11845
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_select.Viewport, { children }),
11846
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(Icon, { type: "caret-down" }) })
11927
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(StyledContent3, { position: "popper", children: [
11928
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(Icon, { type: "caret-up" }) }),
11929
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select.Viewport, { children }),
11930
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(Icon, { type: "caret-down" }) })
11847
11931
  ] }) })
11848
11932
  ]
11849
11933
  }
@@ -11855,10 +11939,10 @@ Select.displayName = "Select";
11855
11939
  // src/components/Select/SelectOption.tsx
11856
11940
  var import_react_select2 = require("@radix-ui/react-select");
11857
11941
  var import_react61 = require("react");
11858
- var import_styled_components74 = __toESM(require("styled-components"));
11942
+ var import_styled_components75 = __toESM(require("styled-components"));
11859
11943
  var import_type_guards48 = require("@wistia/type-guards");
11860
- var import_jsx_runtime254 = require("react/jsx-runtime");
11861
- var StyledItem = (0, import_styled_components74.default)(import_react_select2.Item)`
11944
+ var import_jsx_runtime255 = require("react/jsx-runtime");
11945
+ var StyledItem = (0, import_styled_components75.default)(import_react_select2.Item)`
11862
11946
  ${variantStyleMap2.body3};
11863
11947
  display: flex;
11864
11948
  padding: var(--wui-select-option-padding);
@@ -11882,28 +11966,28 @@ var StyledItem = (0, import_styled_components74.default)(import_react_select2.It
11882
11966
  background-color: transparent;
11883
11967
  }
11884
11968
  `;
11885
- var StyledIconContainer = import_styled_components74.default.span`
11969
+ var StyledIconContainer = import_styled_components75.default.span`
11886
11970
  width: 12px;
11887
11971
  `;
11888
11972
  var SelectOption = (0, import_react61.forwardRef)(
11889
11973
  ({ children, selectedDisplayValue, ...props }, forwardedRef) => {
11890
- return /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
11974
+ return /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(
11891
11975
  StyledItem,
11892
11976
  {
11893
11977
  ...props,
11894
11978
  ref: forwardedRef,
11895
11979
  children: [
11896
- /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(StyledIconContainer, { "data-indicator": true, children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
11980
+ /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(StyledIconContainer, { "data-indicator": true, children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
11897
11981
  Icon,
11898
11982
  {
11899
11983
  size: "sm",
11900
11984
  type: "checkmark"
11901
11985
  }
11902
11986
  ) }) }),
11903
- (0, import_type_guards48.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)("div", { children: [
11987
+ (0, import_type_guards48.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)("div", { children: [
11904
11988
  children,
11905
- /* @__PURE__ */ (0, import_jsx_runtime254.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
11906
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(import_react_select2.ItemText, { children })
11989
+ /* @__PURE__ */ (0, import_jsx_runtime255.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
11990
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(import_react_select2.ItemText, { children })
11907
11991
  ]
11908
11992
  }
11909
11993
  );
@@ -11913,14 +11997,14 @@ SelectOption.displayName = "SelectOption";
11913
11997
 
11914
11998
  // src/components/Select/SelectOptionGroup.tsx
11915
11999
  var import_react_select3 = require("@radix-ui/react-select");
11916
- var import_styled_components75 = __toESM(require("styled-components"));
11917
- var import_jsx_runtime255 = require("react/jsx-runtime");
11918
- var StyledLabel4 = (0, import_styled_components75.default)(import_react_select3.Label)`
12000
+ var import_styled_components76 = __toESM(require("styled-components"));
12001
+ var import_jsx_runtime256 = require("react/jsx-runtime");
12002
+ var StyledLabel4 = (0, import_styled_components76.default)(import_react_select3.Label)`
11919
12003
  padding: var(--wui-select-option-padding);
11920
12004
  `;
11921
12005
  var SelectOptionGroup = ({ children, label, ...props }) => {
11922
- return /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(import_react_select3.Group, { ...props, children: [
11923
- /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
12006
+ return /* @__PURE__ */ (0, import_jsx_runtime256.jsxs)(import_react_select3.Group, { ...props, children: [
12007
+ /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
11924
12008
  Text,
11925
12009
  {
11926
12010
  prominence: "secondary",
@@ -11934,10 +12018,10 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
11934
12018
 
11935
12019
  // src/components/Switch/Switch.tsx
11936
12020
  var import_react62 = require("react");
11937
- var import_styled_components76 = __toESM(require("styled-components"));
12021
+ var import_styled_components77 = __toESM(require("styled-components"));
11938
12022
  var import_type_guards49 = require("@wistia/type-guards");
11939
- var import_jsx_runtime256 = require("react/jsx-runtime");
11940
- var sizeSmall3 = import_styled_components76.css`
12023
+ var import_jsx_runtime257 = require("react/jsx-runtime");
12024
+ var sizeSmall3 = import_styled_components77.css`
11941
12025
  --wui-size-small-width: 24px;
11942
12026
  --wui-size-small-height: 14px;
11943
12027
 
@@ -11952,7 +12036,7 @@ var sizeSmall3 = import_styled_components76.css`
11952
12036
  height: calc(var(--wui-size-small-width) / 2);
11953
12037
  }
11954
12038
  `;
11955
- var sizeMedium3 = import_styled_components76.css`
12039
+ var sizeMedium3 = import_styled_components77.css`
11956
12040
  --wui-size-medium-width: 32px;
11957
12041
  --wui-size-medium-height: 18px;
11958
12042
 
@@ -11967,7 +12051,7 @@ var sizeMedium3 = import_styled_components76.css`
11967
12051
  height: calc(var(--wui-size-medium-width) / 2);
11968
12052
  }
11969
12053
  `;
11970
- var sizeLarge3 = import_styled_components76.css`
12054
+ var sizeLarge3 = import_styled_components77.css`
11971
12055
  --wui-size-large-width: 40px;
11972
12056
  --wui-size-large-height: 22px;
11973
12057
 
@@ -11987,14 +12071,14 @@ var getSizeCss3 = (size) => {
11987
12071
  if (size === "lg") return sizeLarge3;
11988
12072
  return sizeMedium3;
11989
12073
  };
11990
- var StyledSwitchWrapper = import_styled_components76.default.div`
12074
+ var StyledSwitchWrapper = import_styled_components77.default.div`
11991
12075
  display: flex;
11992
12076
  margin: 0;
11993
12077
 
11994
12078
  /* TODO this solves a problem but potentially causes and a11y issue */
11995
12079
  user-select: none;
11996
12080
  `;
11997
- var StyledSwitchInput = import_styled_components76.default.div`
12081
+ var StyledSwitchInput = import_styled_components77.default.div`
11998
12082
  ${({ $size }) => getSizeCss3($size)}
11999
12083
  line-height: 0;
12000
12084
  margin: 0;
@@ -12022,7 +12106,7 @@ var StyledSwitchInput = import_styled_components76.default.div`
12022
12106
  transition: all 0.2s ease-in-out;
12023
12107
  }
12024
12108
  `;
12025
- var StyledHiddenSwitchInput = import_styled_components76.default.input`
12109
+ var StyledHiddenSwitchInput = import_styled_components77.default.input`
12026
12110
  ${visuallyHiddenStyle}
12027
12111
 
12028
12112
  /* toggles display of faux-input background-color and toggle position */
@@ -12055,8 +12139,8 @@ var Switch = (0, import_react62.forwardRef)(
12055
12139
  }, ref) => {
12056
12140
  const generatedId = (0, import_react62.useId)();
12057
12141
  const computedId = (0, import_type_guards49.isNonEmptyString)(id) ? id : `wistia-ui-switch-${generatedId}`;
12058
- return /* @__PURE__ */ (0, import_jsx_runtime256.jsxs)(StyledSwitchWrapper, { $disabled: disabled, children: [
12059
- /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12142
+ return /* @__PURE__ */ (0, import_jsx_runtime257.jsxs)(StyledSwitchWrapper, { $disabled: disabled, children: [
12143
+ /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12060
12144
  StyledHiddenSwitchInput,
12061
12145
  {
12062
12146
  ...props,
@@ -12071,10 +12155,10 @@ var Switch = (0, import_react62.forwardRef)(
12071
12155
  value
12072
12156
  }
12073
12157
  ),
12074
- /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12158
+ /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12075
12159
  FormControlLabel,
12076
12160
  {
12077
- controlSlot: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12161
+ controlSlot: /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12078
12162
  StyledSwitchInput,
12079
12163
  {
12080
12164
  $disabled: disabled,
@@ -12096,25 +12180,25 @@ var Switch = (0, import_react62.forwardRef)(
12096
12180
  Switch.displayName = "Switch";
12097
12181
 
12098
12182
  // src/components/Table/Table.tsx
12099
- var import_styled_components77 = __toESM(require("styled-components"));
12100
- var import_jsx_runtime257 = require("react/jsx-runtime");
12101
- var StyledTable = import_styled_components77.default.table`
12183
+ var import_styled_components78 = __toESM(require("styled-components"));
12184
+ var import_jsx_runtime258 = require("react/jsx-runtime");
12185
+ var StyledTable = import_styled_components78.default.table`
12102
12186
  width: 100%;
12103
12187
  border-collapse: collapse;
12104
12188
 
12105
- ${({ $divided }) => $divided && import_styled_components77.css`
12189
+ ${({ $divided }) => $divided && import_styled_components78.css`
12106
12190
  tr {
12107
12191
  border-bottom: 1px solid var(--wui-color-border);
12108
12192
  }
12109
12193
  `}
12110
12194
 
12111
- ${({ $striped }) => $striped && import_styled_components77.css`
12195
+ ${({ $striped }) => $striped && import_styled_components78.css`
12112
12196
  tbody tr:nth-child(even) {
12113
12197
  background-color: var(--wui-color-bg-surface-secondary);
12114
12198
  }
12115
12199
  `}
12116
12200
 
12117
- ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && import_styled_components77.css`
12201
+ ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && import_styled_components78.css`
12118
12202
  thead {
12119
12203
  ${visuallyHiddenStyle}
12120
12204
  }
@@ -12127,7 +12211,7 @@ var Table = ({
12127
12211
  visuallyHiddenHeader = false,
12128
12212
  ...props
12129
12213
  }) => {
12130
- return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12214
+ return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
12131
12215
  StyledTable,
12132
12216
  {
12133
12217
  $divided: divided,
@@ -12140,35 +12224,35 @@ var Table = ({
12140
12224
  };
12141
12225
 
12142
12226
  // src/components/Table/TableBody.tsx
12143
- var import_styled_components78 = __toESM(require("styled-components"));
12227
+ var import_styled_components79 = __toESM(require("styled-components"));
12144
12228
 
12145
12229
  // src/components/Table/TableSectionContext.ts
12146
12230
  var import_react63 = require("react");
12147
12231
  var TableSectionContext = (0, import_react63.createContext)(null);
12148
12232
 
12149
12233
  // src/components/Table/TableBody.tsx
12150
- var import_jsx_runtime258 = require("react/jsx-runtime");
12151
- var StyledTableBody = import_styled_components78.default.tbody``;
12234
+ var import_jsx_runtime259 = require("react/jsx-runtime");
12235
+ var StyledTableBody = import_styled_components79.default.tbody``;
12152
12236
  var TableBody = ({ children, ...props }) => {
12153
- return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(StyledTableBody, { ...props, children }) });
12237
+ return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(StyledTableBody, { ...props, children }) });
12154
12238
  };
12155
12239
 
12156
12240
  // src/components/Table/TableCell.tsx
12157
12241
  var import_react64 = require("react");
12158
- var import_styled_components79 = __toESM(require("styled-components"));
12159
- var import_jsx_runtime259 = require("react/jsx-runtime");
12160
- var sharedStyles = import_styled_components79.css`
12242
+ var import_styled_components80 = __toESM(require("styled-components"));
12243
+ var import_jsx_runtime260 = require("react/jsx-runtime");
12244
+ var sharedStyles = import_styled_components80.css`
12161
12245
  color: var(--wui-color-text);
12162
12246
  padding: var(--wui-space-02);
12163
12247
  text-align: left;
12164
12248
  `;
12165
- var StyledTh = import_styled_components79.default.th`
12249
+ var StyledTh = import_styled_components80.default.th`
12166
12250
  ${sharedStyles}
12167
12251
  font-size: var(--wui-typography-body-4-size);
12168
12252
  font-weight: var(--wui-typography-weight-label-bold);
12169
12253
  line-height: var(--wui-typography-body-4-line-height);
12170
12254
  `;
12171
- var StyledTd = import_styled_components79.default.td`
12255
+ var StyledTd = import_styled_components80.default.td`
12172
12256
  ${sharedStyles}
12173
12257
  font-size: var(--wui-typography-body-2-size);
12174
12258
  font-weight: var(--wui-typography-body-2-weight);
@@ -12177,51 +12261,51 @@ var StyledTd = import_styled_components79.default.td`
12177
12261
  var TableCell = ({ children, ...props }) => {
12178
12262
  const section = (0, import_react64.useContext)(TableSectionContext);
12179
12263
  if (section === "head") {
12180
- return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(StyledTh, { ...props, children });
12264
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(StyledTh, { ...props, children });
12181
12265
  }
12182
- return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(StyledTd, { ...props, children });
12266
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(StyledTd, { ...props, children });
12183
12267
  };
12184
12268
 
12185
12269
  // src/components/Table/TableFoot.tsx
12186
- var import_styled_components80 = __toESM(require("styled-components"));
12187
- var import_jsx_runtime260 = require("react/jsx-runtime");
12188
- var StyledTableFoot = import_styled_components80.default.tfoot``;
12270
+ var import_styled_components81 = __toESM(require("styled-components"));
12271
+ var import_jsx_runtime261 = require("react/jsx-runtime");
12272
+ var StyledTableFoot = import_styled_components81.default.tfoot``;
12189
12273
  var TableFoot = ({ children, ...props }) => {
12190
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(StyledTableFoot, { ...props, children }) });
12274
+ return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(StyledTableFoot, { ...props, children }) });
12191
12275
  };
12192
12276
 
12193
12277
  // src/components/Table/TableHead.tsx
12194
- var import_styled_components81 = __toESM(require("styled-components"));
12195
- var import_jsx_runtime261 = require("react/jsx-runtime");
12196
- var StyledThead = import_styled_components81.default.thead``;
12278
+ var import_styled_components82 = __toESM(require("styled-components"));
12279
+ var import_jsx_runtime262 = require("react/jsx-runtime");
12280
+ var StyledThead = import_styled_components82.default.thead``;
12197
12281
  var TableHead = ({ children, ...props }) => {
12198
- return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(StyledThead, { ...props, children }) });
12282
+ return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(StyledThead, { ...props, children }) });
12199
12283
  };
12200
12284
 
12201
12285
  // src/components/Table/TableRow.tsx
12202
- var import_styled_components82 = __toESM(require("styled-components"));
12203
- var import_jsx_runtime262 = require("react/jsx-runtime");
12204
- var StyledTableRow = import_styled_components82.default.tr``;
12286
+ var import_styled_components83 = __toESM(require("styled-components"));
12287
+ var import_jsx_runtime263 = require("react/jsx-runtime");
12288
+ var StyledTableRow = import_styled_components83.default.tr``;
12205
12289
  var TableRow = ({ children, ...props }) => {
12206
- return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(StyledTableRow, { ...props, children });
12290
+ return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(StyledTableRow, { ...props, children });
12207
12291
  };
12208
12292
 
12209
12293
  // src/components/Tabs/Tabs.tsx
12210
12294
  var import_react68 = require("react");
12211
12295
  var import_react_tabs4 = require("@radix-ui/react-tabs");
12212
12296
  var import_type_guards51 = require("@wistia/type-guards");
12213
- var import_styled_components87 = __toESM(require("styled-components"));
12297
+ var import_styled_components88 = __toESM(require("styled-components"));
12214
12298
 
12215
12299
  // src/components/Tabs/TabPanel.tsx
12216
- var import_styled_components83 = __toESM(require("styled-components"));
12300
+ var import_styled_components84 = __toESM(require("styled-components"));
12217
12301
  var import_react_tabs = require("@radix-ui/react-tabs");
12218
- var import_jsx_runtime263 = require("react/jsx-runtime");
12219
- var StyledTabPanel = (0, import_styled_components83.default)(import_react_tabs.Content)`
12302
+ var import_jsx_runtime264 = require("react/jsx-runtime");
12303
+ var StyledTabPanel = (0, import_styled_components84.default)(import_react_tabs.Content)`
12220
12304
  display: flex;
12221
12305
  flex-direction: column;
12222
12306
  `;
12223
12307
  var TabPanel = ({ children, value, ...props }) => {
12224
- return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
12308
+ return /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
12225
12309
  StyledTabPanel,
12226
12310
  {
12227
12311
  value,
@@ -12233,10 +12317,10 @@ var TabPanel = ({ children, value, ...props }) => {
12233
12317
  TabPanel.displayName = "TabPanel";
12234
12318
 
12235
12319
  // src/components/Tabs/TabList.tsx
12236
- var import_styled_components84 = __toESM(require("styled-components"));
12320
+ var import_styled_components85 = __toESM(require("styled-components"));
12237
12321
  var import_react_tabs2 = require("@radix-ui/react-tabs");
12238
- var import_jsx_runtime264 = require("react/jsx-runtime");
12239
- var StyledTabList = (0, import_styled_components84.default)(import_react_tabs2.List)`
12322
+ var import_jsx_runtime265 = require("react/jsx-runtime");
12323
+ var StyledTabList = (0, import_styled_components85.default)(import_react_tabs2.List)`
12240
12324
  ${segmentedControlStyles}
12241
12325
 
12242
12326
  margin-bottom: var(--wui-space-04);
@@ -12249,7 +12333,7 @@ var TabList = ({
12249
12333
  ariaLabel,
12250
12334
  ...props
12251
12335
  }) => {
12252
- return /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
12336
+ return /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
12253
12337
  StyledTabList,
12254
12338
  {
12255
12339
  $fullWidth: fullWidth,
@@ -12263,7 +12347,7 @@ TabList.displayName = "TabList";
12263
12347
 
12264
12348
  // src/components/Tabs/TabItem.tsx
12265
12349
  var import_react66 = require("react");
12266
- var import_styled_components85 = __toESM(require("styled-components"));
12350
+ var import_styled_components86 = __toESM(require("styled-components"));
12267
12351
  var import_react_tabs3 = require("@radix-ui/react-tabs");
12268
12352
  var import_type_guards50 = require("@wistia/type-guards");
12269
12353
 
@@ -12280,8 +12364,8 @@ var useTabsValue = () => {
12280
12364
  };
12281
12365
 
12282
12366
  // src/components/Tabs/TabItem.tsx
12283
- var import_jsx_runtime265 = require("react/jsx-runtime");
12284
- var StyledTabItem = (0, import_styled_components85.default)(import_react_tabs3.Trigger)`
12367
+ var import_jsx_runtime266 = require("react/jsx-runtime");
12368
+ var StyledTabItem = (0, import_styled_components86.default)(import_react_tabs3.Trigger)`
12285
12369
  ${segmentedControlItemStyles}
12286
12370
 
12287
12371
  &:focus-visible {
@@ -12319,7 +12403,7 @@ var TabItem = (0, import_react66.forwardRef)(
12319
12403
  resizeObserver.disconnect();
12320
12404
  };
12321
12405
  }, [selectedValue, setSelectedItemMeasurements, value]);
12322
- return /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(
12406
+ return /* @__PURE__ */ (0, import_jsx_runtime266.jsxs)(
12323
12407
  StyledTabItem,
12324
12408
  {
12325
12409
  ref: combinedRef,
@@ -12360,9 +12444,9 @@ var extractTabItems = (children) => {
12360
12444
  };
12361
12445
 
12362
12446
  // src/components/Tabs/SelectedItemIndicator.tsx
12363
- var import_styled_components86 = __toESM(require("styled-components"));
12364
- var import_jsx_runtime266 = require("react/jsx-runtime");
12365
- var TabsSelectedItemIndicatorDiv = (0, import_styled_components86.default)(SelectedItemIndicatorDiv)`
12447
+ var import_styled_components87 = __toESM(require("styled-components"));
12448
+ var import_jsx_runtime267 = require("react/jsx-runtime");
12449
+ var TabsSelectedItemIndicatorDiv = (0, import_styled_components87.default)(SelectedItemIndicatorDiv)`
12366
12450
  &:has(~ ${StyledTabItem}:focus-visible) {
12367
12451
  outline: 2px solid var(--wui-color-focus-ring);
12368
12452
  }
@@ -12373,23 +12457,23 @@ var SelectedItemIndicator2 = () => {
12373
12457
  if (selectedValue == null) {
12374
12458
  return null;
12375
12459
  }
12376
- return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(TabsSelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
12460
+ return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(TabsSelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
12377
12461
  };
12378
12462
 
12379
12463
  // src/components/Tabs/Tabs.tsx
12380
- var import_jsx_runtime267 = require("react/jsx-runtime");
12381
- var TabsContainer = import_styled_components87.default.div`
12464
+ var import_jsx_runtime268 = require("react/jsx-runtime");
12465
+ var TabsContainer = import_styled_components88.default.div`
12382
12466
  display: flex;
12383
12467
  flex-direction: column;
12384
12468
  height: ${({ $stickyHeaders }) => $stickyHeaders ? "100%" : "auto"};
12385
12469
  overflow: ${({ $stickyHeaders }) => $stickyHeaders ? "hidden" : "visible"};
12386
12470
  `;
12387
- var StickyTabContent = import_styled_components87.default.div`
12471
+ var StickyTabContent = import_styled_components88.default.div`
12388
12472
  flex: ${({ $stickyHeaders }) => $stickyHeaders ? "1" : "initial"};
12389
12473
  overflow-y: ${({ $stickyHeaders }) => $stickyHeaders ? "auto" : "visible"};
12390
12474
  overflow-x: ${({ $stickyHeaders }) => $stickyHeaders ? "hidden" : "visible"};
12391
12475
  `;
12392
- var StyledTabsRoot = (0, import_styled_components87.default)(import_react_tabs4.Root)`
12476
+ var StyledTabsRoot = (0, import_styled_components88.default)(import_react_tabs4.Root)`
12393
12477
  display: flex;
12394
12478
  flex-direction: column;
12395
12479
  height: ${({ $stickyHeaders }) => $stickyHeaders ? "100%" : "auto"};
@@ -12412,7 +12496,7 @@ var Tabs = (0, import_react68.forwardRef)(
12412
12496
  onValueChange: setInternalSelectedValue
12413
12497
  } : { value: selectedValue, onValueChange: onSelectedValueChange };
12414
12498
  const currentValue = defaultSelectedValue !== void 0 ? internalSelectedValue : selectedValue;
12415
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(TabsContainer, { $stickyHeaders: stickyHeaders, children: /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
12499
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(TabsContainer, { $stickyHeaders: stickyHeaders, children: /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
12416
12500
  StyledTabsRoot,
12417
12501
  {
12418
12502
  ref,
@@ -12420,14 +12504,14 @@ var Tabs = (0, import_react68.forwardRef)(
12420
12504
  activationMode: "automatic",
12421
12505
  ...props,
12422
12506
  ...modeProps,
12423
- children: /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(TabsValueProvider, { value: currentValue, children: /* @__PURE__ */ (0, import_jsx_runtime267.jsxs)(SelectedItemStyleProvider, { children: [
12424
- /* @__PURE__ */ (0, import_jsx_runtime267.jsxs)(
12507
+ children: /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(TabsValueProvider, { value: currentValue, children: /* @__PURE__ */ (0, import_jsx_runtime268.jsxs)(SelectedItemStyleProvider, { children: [
12508
+ /* @__PURE__ */ (0, import_jsx_runtime268.jsxs)(
12425
12509
  TabList,
12426
12510
  {
12427
12511
  ariaLabel,
12428
12512
  fullWidth,
12429
12513
  children: [
12430
- /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(SelectedItemIndicator2, {}),
12514
+ /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(SelectedItemIndicator2, {}),
12431
12515
  tabItems.map((tab) => {
12432
12516
  const {
12433
12517
  value,
@@ -12437,7 +12521,7 @@ var Tabs = (0, import_react68.forwardRef)(
12437
12521
  "aria-label": ariaLabelForTab
12438
12522
  } = tab.props;
12439
12523
  if ((0, import_type_guards51.isNil)(icon)) {
12440
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
12524
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
12441
12525
  TabItem,
12442
12526
  {
12443
12527
  disabled,
@@ -12448,7 +12532,7 @@ var Tabs = (0, import_react68.forwardRef)(
12448
12532
  );
12449
12533
  }
12450
12534
  if ((0, import_type_guards51.isNotNil)(label)) {
12451
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
12535
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
12452
12536
  TabItem,
12453
12537
  {
12454
12538
  disabled,
@@ -12460,7 +12544,7 @@ var Tabs = (0, import_react68.forwardRef)(
12460
12544
  );
12461
12545
  }
12462
12546
  if ((0, import_type_guards51.isNotNil)(ariaLabelForTab)) {
12463
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
12547
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
12464
12548
  TabItem,
12465
12549
  {
12466
12550
  "aria-label": ariaLabelForTab,
@@ -12476,7 +12560,7 @@ var Tabs = (0, import_react68.forwardRef)(
12476
12560
  ]
12477
12561
  }
12478
12562
  ),
12479
- /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(StickyTabContent, { $stickyHeaders: stickyHeaders, children: tabItems.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
12563
+ /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(StickyTabContent, { $stickyHeaders: stickyHeaders, children: tabItems.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
12480
12564
  TabPanel,
12481
12565
  {
12482
12566
  value: tab.props.value,
@@ -12493,18 +12577,18 @@ Tabs.displayName = "Tabs";
12493
12577
 
12494
12578
  // src/components/Tabs/Tab.tsx
12495
12579
  var import_react69 = require("react");
12496
- var import_jsx_runtime268 = require("react/jsx-runtime");
12580
+ var import_jsx_runtime269 = require("react/jsx-runtime");
12497
12581
  var Tab = (0, import_react69.forwardRef)(({ children }, ref) => {
12498
- return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)("div", { ref, children });
12582
+ return /* @__PURE__ */ (0, import_jsx_runtime269.jsx)("div", { ref, children });
12499
12583
  });
12500
12584
  Tab.displayName = "Tab";
12501
12585
 
12502
12586
  // src/components/Tag/Tag.tsx
12503
12587
  var import_react70 = require("react");
12504
- var import_styled_components88 = __toESM(require("styled-components"));
12588
+ var import_styled_components89 = __toESM(require("styled-components"));
12505
12589
  var import_type_guards52 = require("@wistia/type-guards");
12506
- var import_jsx_runtime269 = require("react/jsx-runtime");
12507
- var TagLabel = import_styled_components88.default.a`
12590
+ var import_jsx_runtime270 = require("react/jsx-runtime");
12591
+ var TagLabel = import_styled_components89.default.a`
12508
12592
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12509
12593
  font-size: var(--wui-typography-label-4-size);
12510
12594
  font-weight: var(--wui-typography-label-4-weight);
@@ -12539,14 +12623,14 @@ var TagLabel = import_styled_components88.default.a`
12539
12623
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
12540
12624
  }
12541
12625
  `;
12542
- var TagDivider = import_styled_components88.default.div`
12626
+ var TagDivider = import_styled_components89.default.div`
12543
12627
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12544
12628
  border-left: 1px solid var(--wui-color-border);
12545
12629
  display: flex;
12546
12630
  height: 14px;
12547
12631
  width: 1px;
12548
12632
  `;
12549
- var StyledRemoveButton = import_styled_components88.default.button`
12633
+ var StyledRemoveButton = import_styled_components89.default.button`
12550
12634
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12551
12635
  all: unset;
12552
12636
  cursor: pointer;
@@ -12574,7 +12658,7 @@ var StyledRemoveButton = import_styled_components88.default.button`
12574
12658
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
12575
12659
  }
12576
12660
  `;
12577
- var StyledTag = import_styled_components88.default.div`
12661
+ var StyledTag = import_styled_components89.default.div`
12578
12662
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12579
12663
  align-items: center;
12580
12664
  background-color: var(--wui-color-bg-surface-secondary);
@@ -12595,23 +12679,23 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
12595
12679
  "for accessibility, onClickRemoveLabel must be provided if onClickRemove is provided"
12596
12680
  );
12597
12681
  }
12598
- return /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(import_jsx_runtime269.Fragment, { children: [
12599
- /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(TagDivider, { $colorScheme: colorScheme }),
12600
- /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(
12682
+ return /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(import_jsx_runtime270.Fragment, { children: [
12683
+ /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(TagDivider, { $colorScheme: colorScheme }),
12684
+ /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(
12601
12685
  StyledRemoveButton,
12602
12686
  {
12603
12687
  $colorScheme: colorScheme,
12604
12688
  onClick: onClickRemove,
12605
12689
  type: "button",
12606
12690
  children: [
12607
- /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(
12691
+ /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
12608
12692
  Icon,
12609
12693
  {
12610
12694
  size: "sm",
12611
12695
  type: "close"
12612
12696
  }
12613
12697
  ),
12614
- /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
12698
+ /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
12615
12699
  ]
12616
12700
  }
12617
12701
  )
@@ -12621,14 +12705,14 @@ var Tag = (0, import_react70.forwardRef)(
12621
12705
  ({ onClickRemove, colorScheme = "inherit", href, icon, label, onClickRemoveLabel, ...props }, ref) => {
12622
12706
  const hasIcon = (0, import_type_guards52.isNotNil)(icon);
12623
12707
  const labelProps = (0, import_type_guards52.isNotNil)(href) && (0, import_type_guards52.isNonEmptyString)(href) ? { href, as: "a" } : { as: "span" };
12624
- return /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(
12708
+ return /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(
12625
12709
  StyledTag,
12626
12710
  {
12627
12711
  ref,
12628
12712
  $colorScheme: colorScheme,
12629
12713
  ...props,
12630
12714
  children: [
12631
- /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(
12715
+ /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(
12632
12716
  TagLabel,
12633
12717
  {
12634
12718
  ...labelProps,
@@ -12639,7 +12723,7 @@ var Tag = (0, import_react70.forwardRef)(
12639
12723
  ]
12640
12724
  }
12641
12725
  ),
12642
- /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(
12726
+ /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
12643
12727
  RemoveButton,
12644
12728
  {
12645
12729
  colorScheme,
@@ -12655,10 +12739,10 @@ var Tag = (0, import_react70.forwardRef)(
12655
12739
  Tag.displayName = "Tag";
12656
12740
 
12657
12741
  // src/components/Thumbnail/ThumbnailBadge.tsx
12658
- var import_styled_components89 = __toESM(require("styled-components"));
12742
+ var import_styled_components90 = __toESM(require("styled-components"));
12659
12743
  var import_type_guards53 = require("@wistia/type-guards");
12660
- var import_jsx_runtime270 = require("react/jsx-runtime");
12661
- var StyledThumbnailBadge = import_styled_components89.default.div`
12744
+ var import_jsx_runtime271 = require("react/jsx-runtime");
12745
+ var StyledThumbnailBadge = import_styled_components90.default.div`
12662
12746
  align-items: center;
12663
12747
  background-color: rgb(0 0 0 / 50%);
12664
12748
  border-radius: var(--wui-border-radius-01);
@@ -12683,23 +12767,23 @@ var StyledThumbnailBadge = import_styled_components89.default.div`
12683
12767
  }
12684
12768
  `;
12685
12769
  var ThumbnailBadge = ({ icon, label, ...props }) => {
12686
- return /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(StyledThumbnailBadge, { ...props, children: [
12770
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(StyledThumbnailBadge, { ...props, children: [
12687
12771
  (0, import_type_guards53.isNotNil)(icon) && icon,
12688
- /* @__PURE__ */ (0, import_jsx_runtime270.jsx)("span", { children: label })
12772
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsx)("span", { children: label })
12689
12773
  ] });
12690
12774
  };
12691
12775
  ThumbnailBadge.displayName = "ThumbnailBadge";
12692
12776
 
12693
12777
  // src/components/Thumbnail/Thumbnail.tsx
12694
12778
  var import_react71 = require("react");
12695
- var import_styled_components91 = __toESM(require("styled-components"));
12779
+ var import_styled_components92 = __toESM(require("styled-components"));
12696
12780
  var import_type_guards55 = require("@wistia/type-guards");
12697
12781
 
12698
12782
  // src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
12699
12783
  var import_type_guards54 = require("@wistia/type-guards");
12700
- var import_styled_components90 = require("styled-components");
12784
+ var import_styled_components91 = require("styled-components");
12701
12785
  var gradients = {
12702
- defaultDarkOne: import_styled_components90.css`
12786
+ defaultDarkOne: import_styled_components91.css`
12703
12787
  background-color: #222d66;
12704
12788
  background-image:
12705
12789
  radial-gradient(farthest-corner at top right, #222d66, transparent 70%),
@@ -12707,7 +12791,7 @@ var gradients = {
12707
12791
  radial-gradient(farthest-corner at bottom left, #6b84ff, transparent 57%),
12708
12792
  radial-gradient(farthest-corner at top left, #2949e5, transparent 68%);
12709
12793
  `,
12710
- defaultDarkTwo: import_styled_components90.css`
12794
+ defaultDarkTwo: import_styled_components91.css`
12711
12795
  background-color: #222d66;
12712
12796
  background-image:
12713
12797
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 100%),
@@ -12715,7 +12799,7 @@ var gradients = {
12715
12799
  radial-gradient(farthest-corner at bottom right, #2949e5, transparent 50%),
12716
12800
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
12717
12801
  `,
12718
- defaultLightOne: import_styled_components90.css`
12802
+ defaultLightOne: import_styled_components91.css`
12719
12803
  background-color: #ccd5ff;
12720
12804
  background-image:
12721
12805
  radial-gradient(farthest-corner at bottom right, #ccd5ff, transparent 55%),
@@ -12723,13 +12807,13 @@ var gradients = {
12723
12807
  radial-gradient(farthest-corner at top right, #6b84ff, transparent 50%),
12724
12808
  radial-gradient(farthest-corner at bottom left, #f7f8ff, transparent 50%);
12725
12809
  `,
12726
- defaultLightTwo: import_styled_components90.css`
12810
+ defaultLightTwo: import_styled_components91.css`
12727
12811
  background-color: #ccd5ff;
12728
12812
  background-image:
12729
12813
  radial-gradient(ellipse at top, #ccd5ff, transparent),
12730
12814
  radial-gradient(ellipse at bottom, #6b84ff, transparent);
12731
12815
  `,
12732
- defaultMidOne: import_styled_components90.css`
12816
+ defaultMidOne: import_styled_components91.css`
12733
12817
  background-color: #6b84ff;
12734
12818
  background-image:
12735
12819
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%),
@@ -12737,13 +12821,13 @@ var gradients = {
12737
12821
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 80%),
12738
12822
  radial-gradient(farthest-corner at bottom left, #222d66, transparent 57%);
12739
12823
  `,
12740
- defaultMidTwo: import_styled_components90.css`
12824
+ defaultMidTwo: import_styled_components91.css`
12741
12825
  background-color: #6b84ff;
12742
12826
  background-image:
12743
12827
  radial-gradient(ellipse at top, #2949e5, transparent),
12744
12828
  radial-gradient(ellipse at bottom, #ccd5ff, transparent);
12745
12829
  `,
12746
- green: import_styled_components90.css`
12830
+ green: import_styled_components91.css`
12747
12831
  background-color: #fafffa;
12748
12832
  background-image:
12749
12833
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -12751,7 +12835,7 @@ var gradients = {
12751
12835
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
12752
12836
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
12753
12837
  `,
12754
- greenWithPop: import_styled_components90.css`
12838
+ greenWithPop: import_styled_components91.css`
12755
12839
  background-color: #fafffa;
12756
12840
  background-image:
12757
12841
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -12759,7 +12843,7 @@ var gradients = {
12759
12843
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
12760
12844
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
12761
12845
  `,
12762
- pink: import_styled_components90.css`
12846
+ pink: import_styled_components91.css`
12763
12847
  background-color: #fffff0;
12764
12848
  background-image:
12765
12849
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 50%),
@@ -12767,7 +12851,7 @@ var gradients = {
12767
12851
  radial-gradient(farthest-corner at top left, #ff40b3, transparent 65%),
12768
12852
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%);
12769
12853
  `,
12770
- pinkWithPop: import_styled_components90.css`
12854
+ pinkWithPop: import_styled_components91.css`
12771
12855
  background-color: #fffff0;
12772
12856
  background-image:
12773
12857
  radial-gradient(farthest-corner at top right, #e0128e, transparent 70%),
@@ -12775,7 +12859,7 @@ var gradients = {
12775
12859
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%),
12776
12860
  radial-gradient(farthest-corner at bottom left, #2949e5, transparent 50%);
12777
12861
  `,
12778
- playfulGradientOne: import_styled_components90.css`
12862
+ playfulGradientOne: import_styled_components91.css`
12779
12863
  background-color: #f7f8ff;
12780
12864
  background-image:
12781
12865
  radial-gradient(farthest-corner at top left, #d65cff, transparent 68%),
@@ -12783,7 +12867,7 @@ var gradients = {
12783
12867
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 57%),
12784
12868
  radial-gradient(farthest-corner at top right, #ffcaba, transparent 70%);
12785
12869
  `,
12786
- playfulGradientTwo: import_styled_components90.css`
12870
+ playfulGradientTwo: import_styled_components91.css`
12787
12871
  background-color: #f7f8ff;
12788
12872
  background-image:
12789
12873
  radial-gradient(farthest-corner at top left, #44b62d, transparent 68%),
@@ -12791,13 +12875,13 @@ var gradients = {
12791
12875
  radial-gradient(farthest-corner at bottom left, #ccd5ff, transparent 57%),
12792
12876
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
12793
12877
  `,
12794
- purple: import_styled_components90.css`
12878
+ purple: import_styled_components91.css`
12795
12879
  background-color: #f2caff;
12796
12880
  background-image:
12797
12881
  radial-gradient(ellipse at 0% 100%, #f9e5ff, transparent 50%),
12798
12882
  radial-gradient(ellipse at 100% 0%, #e093fa, transparent 70%);
12799
12883
  `,
12800
- purpleWithPop: import_styled_components90.css`
12884
+ purpleWithPop: import_styled_components91.css`
12801
12885
  background-color: #f2caff;
12802
12886
  background-image:
12803
12887
  radial-gradient(farthest-corner at bottom left, #f2caff, transparent 50%),
@@ -12805,7 +12889,7 @@ var gradients = {
12805
12889
  radial-gradient(farthest-corner at bottom right, #d65cff, transparent 55%),
12806
12890
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
12807
12891
  `,
12808
- yellow: import_styled_components90.css`
12892
+ yellow: import_styled_components91.css`
12809
12893
  background-color: #fffff0;
12810
12894
  background-image:
12811
12895
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -12813,7 +12897,7 @@ var gradients = {
12813
12897
  radial-gradient(farthest-corner at top left, #e8ec1e, transparent 65%),
12814
12898
  radial-gradient(farthest-corner at bottom right, #e8ec1e, transparent 55%);
12815
12899
  `,
12816
- yellowWithPop: import_styled_components90.css`
12900
+ yellowWithPop: import_styled_components91.css`
12817
12901
  background-color: #fffff0;
12818
12902
  background-image:
12819
12903
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -12828,20 +12912,20 @@ var getBackgroundGradient = (gradientName = void 0) => {
12828
12912
  };
12829
12913
 
12830
12914
  // src/components/Thumbnail/Thumbnail.tsx
12831
- var import_jsx_runtime271 = require("react/jsx-runtime");
12832
- var WideThumbnailImage = import_styled_components91.default.img`
12915
+ var import_jsx_runtime272 = require("react/jsx-runtime");
12916
+ var WideThumbnailImage = import_styled_components92.default.img`
12833
12917
  height: 100%;
12834
12918
  object-fit: cover;
12835
12919
  width: 100%;
12836
12920
  `;
12837
- var SquareThumbnailImage = import_styled_components91.default.img`
12921
+ var SquareThumbnailImage = import_styled_components92.default.img`
12838
12922
  backdrop-filter: blur(8px);
12839
12923
  object-fit: contain;
12840
12924
  width: 100%;
12841
12925
  `;
12842
12926
  var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
12843
12927
  if (thumbnailImageType === "wide") {
12844
- return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
12928
+ return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
12845
12929
  WideThumbnailImage,
12846
12930
  {
12847
12931
  alt: "",
@@ -12850,7 +12934,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
12850
12934
  }
12851
12935
  );
12852
12936
  }
12853
- return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
12937
+ return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
12854
12938
  SquareThumbnailImage,
12855
12939
  {
12856
12940
  alt: "",
@@ -12859,7 +12943,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
12859
12943
  }
12860
12944
  );
12861
12945
  };
12862
- var StyledThumbnail = import_styled_components91.default.div`
12946
+ var StyledThumbnail = import_styled_components92.default.div`
12863
12947
  background-image: ${({ $backgroundUrl }) => (0, import_type_guards55.isNotNil)($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
12864
12948
  ${({ $backgroundUrl, $gradientBackground }) => (
12865
12949
  // if we don't have $backgroundUrl show a gradient
@@ -12888,7 +12972,7 @@ var Thumbnail = (0, import_react71.forwardRef)(
12888
12972
  ...props
12889
12973
  }, ref) => {
12890
12974
  const backgroundUrl = thumbnailImageType === "square" && (0, import_type_guards55.isNotNil)(thumbnailUrl) ? thumbnailUrl : void 0;
12891
- return /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(
12975
+ return /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(
12892
12976
  StyledThumbnail,
12893
12977
  {
12894
12978
  ref,
@@ -12899,7 +12983,7 @@ var Thumbnail = (0, import_react71.forwardRef)(
12899
12983
  role: "presentation",
12900
12984
  children: [
12901
12985
  (0, import_type_guards55.isNotNil)(children) ? children : null,
12902
- (0, import_type_guards55.isNotNil)(thumbnailUrl) ? /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
12986
+ (0, import_type_guards55.isNotNil)(thumbnailUrl) ? /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
12903
12987
  ThumbnailImage,
12904
12988
  {
12905
12989
  thumbnailImageType,
@@ -12915,13 +12999,13 @@ Thumbnail.displayName = "Thumbnail";
12915
12999
 
12916
13000
  // src/components/ThumbnailCollage/ThumbnailCollage.tsx
12917
13001
  var import_react72 = __toESM(require("react"));
12918
- var import_styled_components92 = __toESM(require("styled-components"));
13002
+ var import_styled_components93 = __toESM(require("styled-components"));
12919
13003
  var import_type_guards56 = require("@wistia/type-guards");
12920
- var import_jsx_runtime272 = (
13004
+ var import_jsx_runtime273 = (
12921
13005
  // ThumbnailCollage will fallback to a Thumbnail with a gradient background if no children are provided
12922
13006
  require("react/jsx-runtime")
12923
13007
  );
12924
- var StyledThumbnailCollage = import_styled_components92.default.div`
13008
+ var StyledThumbnailCollage = import_styled_components93.default.div`
12925
13009
  display: grid;
12926
13010
  gap: var(--wui-space-01);
12927
13011
  width: 100%;
@@ -13002,7 +13086,7 @@ var ThumbnailCollage = ({
13002
13086
  children: void 0
13003
13087
  });
13004
13088
  }) : [
13005
- /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
13089
+ /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13006
13090
  Thumbnail,
13007
13091
  {
13008
13092
  gradientBackground,
@@ -13011,7 +13095,7 @@ var ThumbnailCollage = ({
13011
13095
  "fallback"
13012
13096
  )
13013
13097
  ];
13014
- return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
13098
+ return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13015
13099
  StyledThumbnailCollage,
13016
13100
  {
13017
13101
  $gradientBackground: gradientBackground,
@@ -13023,26 +13107,26 @@ var ThumbnailCollage = ({
13023
13107
  };
13024
13108
 
13025
13109
  // src/components/WistiaLogo/WistiaLogo.tsx
13026
- var import_styled_components93 = __toESM(require("styled-components"));
13110
+ var import_styled_components94 = __toESM(require("styled-components"));
13027
13111
  var import_type_guards57 = require("@wistia/type-guards");
13028
- var import_jsx_runtime273 = require("react/jsx-runtime");
13112
+ var import_jsx_runtime274 = require("react/jsx-runtime");
13029
13113
  var renderBrandmark = (brandmarkColor, iconOnly) => {
13030
13114
  if (iconOnly) {
13031
- return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13115
+ return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
13032
13116
  "g",
13033
13117
  {
13034
13118
  "data-testid": "ui-wistia-logo-brandmark",
13035
13119
  fill: brandmarkColor,
13036
- children: /* @__PURE__ */ (0, import_jsx_runtime273.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" })
13120
+ children: /* @__PURE__ */ (0, import_jsx_runtime274.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" })
13037
13121
  }
13038
13122
  );
13039
13123
  }
13040
- return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13124
+ return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
13041
13125
  "g",
13042
13126
  {
13043
13127
  "data-testid": "ui-wistia-logo-brandmark",
13044
13128
  fill: brandmarkColor,
13045
- children: /* @__PURE__ */ (0, import_jsx_runtime273.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" })
13129
+ children: /* @__PURE__ */ (0, import_jsx_runtime274.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" })
13046
13130
  }
13047
13131
  );
13048
13132
  };
@@ -13050,12 +13134,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
13050
13134
  if (iconOnly) {
13051
13135
  return null;
13052
13136
  }
13053
- return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13137
+ return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
13054
13138
  "g",
13055
13139
  {
13056
13140
  "data-testid": "ui-wistia-logo-logotype",
13057
13141
  fill: logotypeColor,
13058
- children: /* @__PURE__ */ (0, import_jsx_runtime273.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" })
13142
+ children: /* @__PURE__ */ (0, import_jsx_runtime274.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" })
13059
13143
  }
13060
13144
  );
13061
13145
  };
@@ -13065,7 +13149,7 @@ var computedViewBox = (iconOnly) => {
13065
13149
  }
13066
13150
  return "0 0 144 31.47";
13067
13151
  };
13068
- var WistiaLogoComponent = import_styled_components93.default.svg`
13152
+ var WistiaLogoComponent = import_styled_components94.default.svg`
13069
13153
  height: ${({ height }) => `${height}px`};
13070
13154
 
13071
13155
  /* ensure it will always fit on mobile */
@@ -13081,12 +13165,12 @@ var WistiaLogoComponent = import_styled_components93.default.svg`
13081
13165
  ${({ $opticallyCentered, $iconOnly }) => {
13082
13166
  if ($opticallyCentered) {
13083
13167
  if ($iconOnly) {
13084
- return import_styled_components93.css`
13168
+ return import_styled_components94.css`
13085
13169
  aspect-ratio: 1;
13086
13170
  padding: 11.85% 3.12% 13.91%;
13087
13171
  `;
13088
13172
  }
13089
- return import_styled_components93.css`
13173
+ return import_styled_components94.css`
13090
13174
  aspect-ratio: 127 / 32;
13091
13175
  `;
13092
13176
  }
@@ -13123,7 +13207,7 @@ var WistiaLogo = ({
13123
13207
  };
13124
13208
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
13125
13209
  const logotypeColor = VARIANT_COLORS[variant].logotype;
13126
- const Logo = /* @__PURE__ */ (0, import_jsx_runtime273.jsxs)(
13210
+ const Logo = /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(
13127
13211
  WistiaLogoComponent,
13128
13212
  {
13129
13213
  $hoverColor: hoverColor,
@@ -13136,14 +13220,14 @@ var WistiaLogo = ({
13136
13220
  xmlns: "http://www.w3.org/2000/svg",
13137
13221
  ...props,
13138
13222
  children: [
13139
- /* @__PURE__ */ (0, import_jsx_runtime273.jsx)("title", { children: title }),
13140
- (0, import_type_guards57.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime273.jsx)("desc", { children: description }) : null,
13223
+ /* @__PURE__ */ (0, import_jsx_runtime274.jsx)("title", { children: title }),
13224
+ (0, import_type_guards57.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime274.jsx)("desc", { children: description }) : null,
13141
13225
  renderBrandmark(brandmarkColor, iconOnly),
13142
13226
  renderLogotype(logotypeColor, iconOnly)
13143
13227
  ]
13144
13228
  }
13145
13229
  );
13146
- return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime273.jsx)("a", { href, children: Logo }) : Logo;
13230
+ return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime274.jsx)("a", { href, children: Logo }) : Logo;
13147
13231
  };
13148
13232
  WistiaLogo.displayName = "WistiaLogo";
13149
13233
  // Annotate the CommonJS export names for ESM import in node: