@wistia/ui 0.8.22 → 0.8.23-beta.1a5e70ab.e822a06

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