@wistia/ui 0.8.22 → 0.8.23-beta.ac822564.b613e88

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