@wistia/ui 0.8.21 → 0.8.22-beta.25b63630.6682ea2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.8.21
3
+ * @license @wistia/ui v0.8.22-beta.25b63630.6682ea2
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -1309,13 +1309,13 @@ var motionTokens = css9`
1309
1309
  --wui-motion-duration-05: 400ms;
1310
1310
  --wui-motion-duration-06: 700ms;
1311
1311
 
1312
- @media (prefers-reduced-motion) {
1313
- --wui-motion-duration-01: 0ms;
1314
- --wui-motion-duration-02: 0ms;
1315
- --wui-motion-duration-03: 0ms;
1316
- --wui-motion-duration-04: 0ms;
1317
- --wui-motion-duration-05: 0ms;
1318
- --wui-motion-duration-06: 0ms;
1312
+ @media (prefers-reduced-motion: reduce) {
1313
+ --wui-motion-duration-01: 0.01ms;
1314
+ --wui-motion-duration-02: 0.01ms;
1315
+ --wui-motion-duration-03: 0.01ms;
1316
+ --wui-motion-duration-04: 0.01ms;
1317
+ --wui-motion-duration-05: 0.01ms;
1318
+ --wui-motion-duration-06: 0.01ms;
1319
1319
  }
1320
1320
 
1321
1321
  /* Easings */
@@ -6987,6 +6987,8 @@ var Link = forwardRef(
6987
6987
  underline = false,
6988
6988
  leftIcon,
6989
6989
  rightIcon,
6990
+ "aria-disabled": ariaDisabled,
6991
+ role,
6990
6992
  ...props
6991
6993
  }, ref) => {
6992
6994
  const inRouterContext = useInRouterContext();
@@ -7020,7 +7022,8 @@ var Link = forwardRef(
7020
7022
  $colorScheme: colorScheme,
7021
7023
  $disabled: disabled,
7022
7024
  $underline: underline,
7023
- onClick: handleClick
7025
+ onClick: handleClick,
7026
+ "aria-disabled": ariaDisabled ?? (disabled ? "true" : void 0)
7024
7027
  };
7025
7028
  if (isButton(props)) {
7026
7029
  return /* @__PURE__ */ jsx192(
@@ -7053,11 +7056,18 @@ var Link = forwardRef(
7053
7056
  ...externalLinkProps,
7054
7057
  ...routerSpecificProps
7055
7058
  };
7056
- return /* @__PURE__ */ jsxs7(StyledLink, { ...combinedProps, children: [
7057
- leftIcon ?? null,
7058
- children,
7059
- rightIcon ?? null
7060
- ] });
7059
+ return /* @__PURE__ */ jsxs7(
7060
+ StyledLink,
7061
+ {
7062
+ ...combinedProps,
7063
+ role: role ?? (disabled ? "link" : void 0),
7064
+ children: [
7065
+ leftIcon ?? null,
7066
+ children,
7067
+ rightIcon ?? null
7068
+ ]
7069
+ }
7070
+ );
7061
7071
  }
7062
7072
  return null;
7063
7073
  }
@@ -7157,6 +7167,7 @@ var Button = forwardRef2(
7157
7167
  {
7158
7168
  ref,
7159
7169
  as: Link,
7170
+ disabled: isAriaDisabled(),
7160
7171
  ...props,
7161
7172
  ...commonProps,
7162
7173
  children: unstyled ? children : /* @__PURE__ */ jsx193(
@@ -8392,11 +8403,11 @@ var ClickRegion = ({ children, targetRef }) => {
8392
8403
  ClickRegion.displayName = "ClickRegion";
8393
8404
 
8394
8405
  // src/components/Collapsible/Collapsible.tsx
8395
- import { Root } from "@radix-ui/react-collapsible";
8406
+ import { Root as CollapsibleRoot } from "@radix-ui/react-collapsible";
8396
8407
  import { isNotNil as isNotNil13 } from "@wistia/type-guards";
8397
8408
  import styled21 from "styled-components";
8398
8409
  import { jsx as jsx209 } from "react/jsx-runtime";
8399
- var StyledRoot = styled21(Root)`
8410
+ var StyledRoot = styled21(CollapsibleRoot)`
8400
8411
  &[data-state='closed'] [data-wui-collapsible-content] {
8401
8412
  display: -webkit-box;
8402
8413
  -webkit-box-orient: vertical;
@@ -8430,12 +8441,19 @@ import styled22 from "styled-components";
8430
8441
  import { Content } from "@radix-ui/react-collapsible";
8431
8442
  import { isNotUndefined as isNotUndefined6 } from "@wistia/type-guards";
8432
8443
  import { Fragment as Fragment4, jsx as jsx211, jsxs as jsxs16 } from "react/jsx-runtime";
8433
- var ClampedContent = styled22.div.attrs({ "data-wui-collapsible-content": true })`
8444
+ var ClampedContent = styled22.div`
8434
8445
  --wui-collapsible-content-clamp-lines: ${({ $clamp }) => $clamp};
8435
8446
  `;
8436
8447
  var CollapsibleContent = ({ clamp, children }) => {
8437
8448
  if (isNotUndefined6(clamp)) {
8438
- return /* @__PURE__ */ jsx211(ClampedContent, { $clamp: clamp, children });
8449
+ return /* @__PURE__ */ jsx211(
8450
+ ClampedContent,
8451
+ {
8452
+ $clamp: clamp,
8453
+ "data-wui-collapsible-content": "true",
8454
+ children
8455
+ }
8456
+ );
8439
8457
  }
8440
8458
  return /* @__PURE__ */ jsx211(Content, { children: /* @__PURE__ */ jsxs16(Fragment4, { children: [
8441
8459
  children,
@@ -10087,15 +10105,124 @@ var InputClickToCopy = forwardRef14(
10087
10105
  );
10088
10106
  InputClickToCopy.displayName = "InputClickToCopy";
10089
10107
 
10108
+ // src/components/KeyboardShortcut/KeyboardShortcut.tsx
10109
+ import styled39 from "styled-components";
10110
+ import { isNotNil as isNotNil18 } from "@wistia/type-guards";
10111
+ import { jsx as jsx231, jsxs as jsxs25 } from "react/jsx-runtime";
10112
+ var StyledKeyboardShortcut = styled39.div`
10113
+ align-items: center;
10114
+ display: flex;
10115
+ gap: var(--wui-space-02);
10116
+ ${({ $fullWidth }) => $fullWidth && "width: 100%; justify-content: space-between;"}
10117
+ `;
10118
+ var StyledKey = styled39.kbd`
10119
+ align-items: center;
10120
+ background: var(--wui-color-bg-surface-secondary);
10121
+ border-bottom: 1px solid var(--wui-color-border-secondary);
10122
+ border-radius: 4px;
10123
+ color: var(--wui-color-text);
10124
+ display: flex;
10125
+ font-family: InterVariable, sans-serif;
10126
+
10127
+ /* Adds serif to uppercase "I" to distinguish it from "l": https://rsms.me/inter/glyphs/?g=I.1 */
10128
+ font-feature-settings: 'cv08' on;
10129
+ font-size: 10px;
10130
+
10131
+ /* Adds a slash to the zero to distinguish it from the letter "O": https://rsms.me/inter/glyphs/?g=zero.tf.slash */
10132
+
10133
+ /* Adds tabular numbers to ensure the width of the key is consistent */
10134
+ font-variant-numeric: slashed-zero tabular-nums;
10135
+ height: 20px;
10136
+ justify-content: center;
10137
+ line-height: 20px;
10138
+ min-width: 20px;
10139
+ padding: 0 var(--wui-space-01);
10140
+ `;
10141
+ var Label2 = styled39.span`
10142
+ color: var(--wui-color-text);
10143
+ font-size: 12px;
10144
+ `;
10145
+ var KeysContainer = styled39.div`
10146
+ display: flex;
10147
+ gap: var(--wui-space-01);
10148
+ `;
10149
+ var keyToString = (key) => {
10150
+ switch (key) {
10151
+ // Arrow Keys
10152
+ case "ArrowDown":
10153
+ return "\u2193";
10154
+ case "ArrowLeft":
10155
+ return "\u2190";
10156
+ case "ArrowRight":
10157
+ return "\u2192";
10158
+ case "ArrowUp":
10159
+ return "\u2191";
10160
+ // Modifier Keys
10161
+ case "Alt":
10162
+ return "Alt";
10163
+ case "Cmd":
10164
+ case "Meta":
10165
+ if (/Mac|iPhone|iPad/.test(window.navigator.userAgent)) {
10166
+ return "\u2318";
10167
+ }
10168
+ if (window.navigator.userAgent.includes("Win")) {
10169
+ return "\u229E";
10170
+ }
10171
+ return "^";
10172
+ case "Ctrl":
10173
+ return "Ctrl";
10174
+ case "Option":
10175
+ return "\u2325";
10176
+ case "Shift":
10177
+ return "\u21E7";
10178
+ // Whitespace Keys
10179
+ case "Enter":
10180
+ return "\u21B5";
10181
+ case "Space":
10182
+ return "Space";
10183
+ case "Tab":
10184
+ return "Tab";
10185
+ case "Backspace":
10186
+ return "Del";
10187
+ case "Esc":
10188
+ return "Esc";
10189
+ default:
10190
+ return key.toUpperCase();
10191
+ }
10192
+ };
10193
+ var KeyboardShortcut = ({
10194
+ label,
10195
+ keyboardKeys,
10196
+ fullWidth = false,
10197
+ ...otherProps
10198
+ }) => /* @__PURE__ */ jsxs25(
10199
+ StyledKeyboardShortcut,
10200
+ {
10201
+ $fullWidth: fullWidth,
10202
+ ...otherProps,
10203
+ children: [
10204
+ isNotNil18(label) && /* @__PURE__ */ jsx231(Label2, { children: label }),
10205
+ /* @__PURE__ */ jsx231(KeysContainer, { children: (Array.isArray(keyboardKeys) ? keyboardKeys : [keyboardKeys]).map((keyboardKey, index) => /* @__PURE__ */ jsx231(
10206
+ StyledKey,
10207
+ {
10208
+ children: keyToString(keyboardKey)
10209
+ },
10210
+ index
10211
+ )) })
10212
+ ]
10213
+ }
10214
+ );
10215
+ KeyboardShortcut.displayName = "KeyboardShortcut";
10216
+
10090
10217
  // src/components/Menu/Menu.tsx
10091
- import styled39, { css as css29, keyframes as keyframes3 } from "styled-components";
10218
+ import styled40, { css as css29, keyframes as keyframes3 } from "styled-components";
10092
10219
  import {
10093
10220
  DropdownMenu,
10094
10221
  DropdownMenuTrigger,
10095
10222
  DropdownMenuPortal,
10096
10223
  DropdownMenuContent
10097
10224
  } from "@radix-ui/react-dropdown-menu";
10098
- import { isNotNil as isNotNil18, isNotUndefined as isNotUndefined10 } from "@wistia/type-guards";
10225
+ import { isNotNil as isNotNil19, isNotUndefined as isNotUndefined10 } from "@wistia/type-guards";
10099
10226
  import { useMemo as useMemo7 } from "react";
10100
10227
 
10101
10228
  // src/components/Menu/MenuContext.tsx
@@ -10104,7 +10231,7 @@ var MenuContext = createContext6({ compact: false });
10104
10231
  var useMenuContext = () => useContext5(MenuContext);
10105
10232
 
10106
10233
  // src/components/Menu/Menu.tsx
10107
- import { jsx as jsx231, jsxs as jsxs25 } from "react/jsx-runtime";
10234
+ import { jsx as jsx232, jsxs as jsxs26 } from "react/jsx-runtime";
10108
10235
  var open = keyframes3`
10109
10236
  from {
10110
10237
  opacity: 0;
@@ -10189,7 +10316,7 @@ var menuContentCss = css29`
10189
10316
  margin: var(--menu-divider-margin) 0;
10190
10317
  }
10191
10318
  `;
10192
- var MenuContent = styled39(DropdownMenuContent)`
10319
+ var MenuContent = styled40(DropdownMenuContent)`
10193
10320
  ${menuContentCss}
10194
10321
  `;
10195
10322
  var Menu = ({
@@ -10207,7 +10334,7 @@ var Menu = ({
10207
10334
  }) => {
10208
10335
  const contextValue = useMemo7(() => ({ compact }), [compact]);
10209
10336
  let controlProps = {
10210
- ...isNotNil18(onOpenChange) && isNotNil18(isOpen) ? { open: isOpen, onOpenChange } : {}
10337
+ ...isNotNil19(onOpenChange) && isNotNil19(isOpen) ? { open: isOpen, onOpenChange } : {}
10211
10338
  };
10212
10339
  if (disabled) {
10213
10340
  controlProps = {
@@ -10215,24 +10342,24 @@ var Menu = ({
10215
10342
  onOpenChange: () => null
10216
10343
  };
10217
10344
  }
10218
- return /* @__PURE__ */ jsx231(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs25(
10345
+ return /* @__PURE__ */ jsx232(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs26(
10219
10346
  DropdownMenu,
10220
10347
  {
10221
10348
  modal: false,
10222
10349
  ...controlProps,
10223
10350
  children: [
10224
- /* @__PURE__ */ jsx231(DropdownMenuTrigger, { asChild: true, children: isNotUndefined10(trigger) ? trigger : /* @__PURE__ */ jsx231(
10351
+ /* @__PURE__ */ jsx232(DropdownMenuTrigger, { asChild: true, children: isNotUndefined10(trigger) ? trigger : /* @__PURE__ */ jsx232(
10225
10352
  Button,
10226
10353
  {
10227
10354
  "aria-expanded": isOpen,
10228
10355
  disabled,
10229
10356
  forceState: isOpen ? "active" : void 0,
10230
- rightIcon: /* @__PURE__ */ jsx231(Icon, { type: "caret-down" }),
10357
+ rightIcon: /* @__PURE__ */ jsx232(Icon, { type: "caret-down" }),
10231
10358
  ...triggerProps,
10232
10359
  children: label
10233
10360
  }
10234
10361
  ) }),
10235
- /* @__PURE__ */ jsx231(DropdownMenuPortal, { children: /* @__PURE__ */ jsx231(
10362
+ /* @__PURE__ */ jsx232(DropdownMenuPortal, { children: /* @__PURE__ */ jsx232(
10236
10363
  MenuContent,
10237
10364
  {
10238
10365
  ...props,
@@ -10252,19 +10379,19 @@ var Menu = ({
10252
10379
  Menu.displayName = "Menu";
10253
10380
 
10254
10381
  // src/components/Menu/MenuLabel.tsx
10255
- import styled40 from "styled-components";
10382
+ import styled41 from "styled-components";
10256
10383
  import { DropdownMenuLabel } from "@radix-ui/react-dropdown-menu";
10257
- import { jsx as jsx232 } from "react/jsx-runtime";
10258
- var StyledMenuLabel = styled40(DropdownMenuLabel)`
10384
+ import { jsx as jsx233 } from "react/jsx-runtime";
10385
+ var StyledMenuLabel = styled41(DropdownMenuLabel)`
10259
10386
  padding: var(--wui-space-02);
10260
10387
  `;
10261
10388
  var MenuLabel = ({ children, ...props }) => {
10262
- return /* @__PURE__ */ jsx232(
10389
+ return /* @__PURE__ */ jsx233(
10263
10390
  StyledMenuLabel,
10264
10391
  {
10265
10392
  asChild: true,
10266
10393
  ...props,
10267
- children: /* @__PURE__ */ jsx232(
10394
+ children: /* @__PURE__ */ jsx233(
10268
10395
  Heading,
10269
10396
  {
10270
10397
  renderAs: "span",
@@ -10280,7 +10407,7 @@ MenuLabel.displayName = "MenuLabel";
10280
10407
 
10281
10408
  // src/components/Menu/SubMenu.tsx
10282
10409
  import { useState as useState13 } from "react";
10283
- import styled43 from "styled-components";
10410
+ import styled44 from "styled-components";
10284
10411
  import {
10285
10412
  DropdownMenuPortal as DropdownMenuPortal2,
10286
10413
  DropdownMenuSub,
@@ -10289,14 +10416,14 @@ import {
10289
10416
  DropdownMenuSubTrigger,
10290
10417
  DropdownMenuItem
10291
10418
  } from "@radix-ui/react-dropdown-menu";
10292
- import { isNotNil as isNotNil20 } from "@wistia/type-guards";
10419
+ import { isNotNil as isNotNil21 } from "@wistia/type-guards";
10293
10420
 
10294
10421
  // src/components/Menu/MenuItemButton.tsx
10295
10422
  import { forwardRef as forwardRef15 } from "react";
10296
- import styled41 from "styled-components";
10297
- import { isNotNil as isNotNil19, isNotUndefined as isNotUndefined11 } from "@wistia/type-guards";
10298
- import { jsx as jsx233, jsxs as jsxs26 } from "react/jsx-runtime";
10299
- var StyledButton3 = styled41(Button)`
10423
+ import styled42 from "styled-components";
10424
+ import { isNotNil as isNotNil20, isNotUndefined as isNotUndefined11 } from "@wistia/type-guards";
10425
+ import { jsx as jsx234, jsxs as jsxs27 } from "react/jsx-runtime";
10426
+ var StyledButton3 = styled42(Button)`
10300
10427
  ${({ colorScheme }) => getColorScheme(colorScheme)};
10301
10428
 
10302
10429
  display: flex;
@@ -10335,7 +10462,7 @@ var StyledButton3 = styled41(Button)`
10335
10462
  padding-left: var(--wui-space-04);
10336
10463
  }
10337
10464
  `;
10338
- var StyledLeftIconContainer = styled41.div`
10465
+ var StyledLeftIconContainer = styled42.div`
10339
10466
  height: var(--menu-item-left-icon-size);
10340
10467
  width: var(--menu-item-left-icon-size);
10341
10468
 
@@ -10346,7 +10473,7 @@ var StyledLeftIconContainer = styled41.div`
10346
10473
  }
10347
10474
  }
10348
10475
  `;
10349
- var StyledRightIconContainer = styled41.div`
10476
+ var StyledRightIconContainer = styled42.div`
10350
10477
  height: var(--menu-item-right-icon-size);
10351
10478
  width: var(--menu-item-right-icon-size);
10352
10479
 
@@ -10357,13 +10484,13 @@ var StyledRightIconContainer = styled41.div`
10357
10484
  }
10358
10485
  }
10359
10486
  `;
10360
- var StyledLabelAndDescriptionContainer = styled41.div`
10487
+ var StyledLabelAndDescriptionContainer = styled42.div`
10361
10488
  display: flex;
10362
10489
  flex-direction: column;
10363
10490
  gap: var(--menu-label-description-gap);
10364
10491
  flex-basis: 100%;
10365
10492
  `;
10366
- var StyledBadgeContainer = styled41.div`
10493
+ var StyledBadgeContainer = styled42.div`
10367
10494
  align-self: start;
10368
10495
  justify-self: end;
10369
10496
  font-size: var(--wui-typography-label-4-size);
@@ -10378,7 +10505,7 @@ var MenuItemButton = forwardRef15(({ children, appearance, command, icon, ...pro
10378
10505
  colorScheme = "error";
10379
10506
  }
10380
10507
  if (appearance === "gated") {
10381
- badge = /* @__PURE__ */ jsx233(
10508
+ badge = /* @__PURE__ */ jsx234(
10382
10509
  Icon,
10383
10510
  {
10384
10511
  colorScheme: "purple",
@@ -10390,7 +10517,7 @@ var MenuItemButton = forwardRef15(({ children, appearance, command, icon, ...pro
10390
10517
  }
10391
10518
  );
10392
10519
  }
10393
- return /* @__PURE__ */ jsxs26(
10520
+ return /* @__PURE__ */ jsxs27(
10394
10521
  StyledButton3,
10395
10522
  {
10396
10523
  ...props,
@@ -10400,10 +10527,10 @@ var MenuItemButton = forwardRef15(({ children, appearance, command, icon, ...pro
10400
10527
  fullWidth: true,
10401
10528
  unstyled: true,
10402
10529
  children: [
10403
- props.leftIcon ? /* @__PURE__ */ jsx233(StyledLeftIconContainer, { children: props.leftIcon }) : null,
10404
- /* @__PURE__ */ jsx233(StyledLabelAndDescriptionContainer, { children }),
10405
- isNotNil19(badge) || isNotNil19(command) ? /* @__PURE__ */ jsx233(StyledBadgeContainer, { children: badge ?? command }) : null,
10406
- props.rightIcon ? /* @__PURE__ */ jsx233(StyledRightIconContainer, { children: props.rightIcon }) : null
10530
+ props.leftIcon ? /* @__PURE__ */ jsx234(StyledLeftIconContainer, { children: props.leftIcon }) : null,
10531
+ /* @__PURE__ */ jsx234(StyledLabelAndDescriptionContainer, { children }),
10532
+ isNotNil20(badge) || isNotNil20(command) ? /* @__PURE__ */ jsx234(StyledBadgeContainer, { children: badge ?? command }) : null,
10533
+ props.rightIcon ? /* @__PURE__ */ jsx234(StyledRightIconContainer, { children: props.rightIcon }) : null
10407
10534
  ]
10408
10535
  }
10409
10536
  );
@@ -10411,33 +10538,37 @@ var MenuItemButton = forwardRef15(({ children, appearance, command, icon, ...pro
10411
10538
  MenuItemButton.displayName = "MenuItemButton";
10412
10539
 
10413
10540
  // src/components/Menu/MenuItemLabelDescription.tsx
10414
- import styled42 from "styled-components";
10415
- import { jsx as jsx234 } from "react/jsx-runtime";
10416
- var StyledMenuItemLabel = styled42.span``;
10417
- var StyledMenuItemDescription = styled42(Text).attrs({
10418
- variant: "body4",
10419
- prominence: "secondary"
10420
- })``;
10541
+ import styled43 from "styled-components";
10542
+ import { jsx as jsx235 } from "react/jsx-runtime";
10543
+ var StyledMenuItemLabel = styled43.span``;
10544
+ var StyledMenuItemDescription = styled43(Text)``;
10421
10545
  var MenuItemLabel = ({ children }) => {
10422
- return /* @__PURE__ */ jsx234(StyledMenuItemLabel, { children });
10546
+ return /* @__PURE__ */ jsx235(StyledMenuItemLabel, { children });
10423
10547
  };
10424
10548
  var MenuItemDescription = ({ children }) => {
10425
- return /* @__PURE__ */ jsx234(StyledMenuItemDescription, { children });
10549
+ return /* @__PURE__ */ jsx235(
10550
+ StyledMenuItemDescription,
10551
+ {
10552
+ prominence: "secondary",
10553
+ variant: "body4",
10554
+ children
10555
+ }
10556
+ );
10426
10557
  };
10427
10558
 
10428
10559
  // src/components/Menu/SubMenu.tsx
10429
- import { jsx as jsx235, jsxs as jsxs27 } from "react/jsx-runtime";
10430
- var SubMenuContent = styled43(DropdownMenuSubContent)`
10560
+ import { jsx as jsx236, jsxs as jsxs28 } from "react/jsx-runtime";
10561
+ var SubMenuContent = styled44(DropdownMenuSubContent)`
10431
10562
  ${menuContentCss}
10432
10563
 
10433
10564
  ${mq.smAndDown} {
10434
10565
  transform: translateX(-100%) !important;
10435
10566
  }
10436
10567
  `;
10437
- var StyledMobileSubMenuItems = styled43.div`
10568
+ var StyledMobileSubMenuItems = styled44.div`
10438
10569
  margin-left: var(--wui-space-04);
10439
10570
  `;
10440
- var StyledSubTrigger = styled43(DropdownMenuSubTrigger)`
10571
+ var StyledSubTrigger = styled44(DropdownMenuSubTrigger)`
10441
10572
  outline: none;
10442
10573
 
10443
10574
  &[data-state='open'],
@@ -10448,12 +10579,12 @@ var StyledSubTrigger = styled43(DropdownMenuSubTrigger)`
10448
10579
  var SubMenuTrigger = ({ icon, ...props }) => {
10449
10580
  const { isSmAndUp } = useMq();
10450
10581
  const Trigger4 = isSmAndUp ? StyledSubTrigger : DropdownMenuItem;
10451
- return /* @__PURE__ */ jsx235(Trigger4, { asChild: true, children: /* @__PURE__ */ jsx235(
10582
+ return /* @__PURE__ */ jsx236(Trigger4, { asChild: true, children: /* @__PURE__ */ jsx236(
10452
10583
  MenuItemButton,
10453
10584
  {
10454
10585
  ...props,
10455
10586
  leftIcon: icon,
10456
- rightIcon: /* @__PURE__ */ jsx235(Icon, { type: "caret-right" })
10587
+ rightIcon: /* @__PURE__ */ jsx236(Icon, { type: "caret-right" })
10457
10588
  }
10458
10589
  ) });
10459
10590
  };
@@ -10467,14 +10598,14 @@ var SubMenu = ({
10467
10598
  const { isSmAndUp } = useMq();
10468
10599
  const [isExpanded, setIsExpanded] = useState13(false);
10469
10600
  const { compact } = useMenuContext();
10470
- return isSmAndUp ? /* @__PURE__ */ jsxs27(DropdownMenuSub, { onOpenChange, children: [
10471
- /* @__PURE__ */ jsxs27(SubMenuTrigger, { ...props, children: [
10472
- /* @__PURE__ */ jsx235(MenuItemLabel, { children: label }),
10473
- isNotNil20(description) ? /* @__PURE__ */ jsx235(MenuItemDescription, { children: description }) : null
10601
+ return isSmAndUp ? /* @__PURE__ */ jsxs28(DropdownMenuSub, { onOpenChange, children: [
10602
+ /* @__PURE__ */ jsxs28(SubMenuTrigger, { ...props, children: [
10603
+ /* @__PURE__ */ jsx236(MenuItemLabel, { children: label }),
10604
+ isNotNil21(description) ? /* @__PURE__ */ jsx236(MenuItemDescription, { children: description }) : null
10474
10605
  ] }),
10475
- /* @__PURE__ */ jsx235(DropdownMenuPortal2, { children: /* @__PURE__ */ jsx235(SubMenuContent, { $compact: compact, children }) })
10476
- ] }) : /* @__PURE__ */ jsxs27(DropdownMenuGroup, { children: [
10477
- /* @__PURE__ */ jsxs27(
10606
+ /* @__PURE__ */ jsx236(DropdownMenuPortal2, { children: /* @__PURE__ */ jsx236(SubMenuContent, { $compact: compact, children }) })
10607
+ ] }) : /* @__PURE__ */ jsxs28(DropdownMenuGroup, { children: [
10608
+ /* @__PURE__ */ jsxs28(
10478
10609
  SubMenuTrigger,
10479
10610
  {
10480
10611
  ...props,
@@ -10483,12 +10614,12 @@ var SubMenu = ({
10483
10614
  setIsExpanded((prev) => !prev);
10484
10615
  },
10485
10616
  children: [
10486
- /* @__PURE__ */ jsx235(MenuItemLabel, { children: label }),
10487
- /* @__PURE__ */ jsx235(MenuItemDescription, { children: description })
10617
+ /* @__PURE__ */ jsx236(MenuItemLabel, { children: label }),
10618
+ /* @__PURE__ */ jsx236(MenuItemDescription, { children: description })
10488
10619
  ]
10489
10620
  }
10490
10621
  ),
10491
- /* @__PURE__ */ jsx235(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
10622
+ /* @__PURE__ */ jsx236(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
10492
10623
  ] });
10493
10624
  };
10494
10625
  SubMenu.displayName = "SubMenu";
@@ -10496,15 +10627,15 @@ SubMenu.displayName = "SubMenu";
10496
10627
  // src/components/Menu/MenuItem.tsx
10497
10628
  import { forwardRef as forwardRef16 } from "react";
10498
10629
  import { DropdownMenuItem as DropdownMenuItem2 } from "@radix-ui/react-dropdown-menu";
10499
- import { jsx as jsx236 } from "react/jsx-runtime";
10630
+ import { jsx as jsx237 } from "react/jsx-runtime";
10500
10631
  var MenuItem = forwardRef16(
10501
10632
  ({ onSelect = () => null, ...props }, ref) => {
10502
- return /* @__PURE__ */ jsx236(
10633
+ return /* @__PURE__ */ jsx237(
10503
10634
  DropdownMenuItem2,
10504
10635
  {
10505
10636
  asChild: true,
10506
10637
  onSelect,
10507
- children: /* @__PURE__ */ jsx236(
10638
+ children: /* @__PURE__ */ jsx237(
10508
10639
  MenuItemButton,
10509
10640
  {
10510
10641
  ...props,
@@ -10522,10 +10653,10 @@ MenuItem.displayName = "MenuItem";
10522
10653
  import {
10523
10654
  DropdownMenuRadioGroup
10524
10655
  } from "@radix-ui/react-dropdown-menu";
10525
- import { jsx as jsx237, jsxs as jsxs28 } from "react/jsx-runtime";
10656
+ import { jsx as jsx238, jsxs as jsxs29 } from "react/jsx-runtime";
10526
10657
  var MenuRadioGroup = ({ children, label, ...props }) => {
10527
- return /* @__PURE__ */ jsxs28(DropdownMenuRadioGroup, { ...props, children: [
10528
- /* @__PURE__ */ jsx237(MenuLabel, { children: label }),
10658
+ return /* @__PURE__ */ jsxs29(DropdownMenuRadioGroup, { ...props, children: [
10659
+ /* @__PURE__ */ jsx238(MenuLabel, { children: label }),
10529
10660
  children
10530
10661
  ] });
10531
10662
  };
@@ -10536,11 +10667,11 @@ import {
10536
10667
  DropdownMenuItemIndicator,
10537
10668
  DropdownMenuRadioItem
10538
10669
  } from "@radix-ui/react-dropdown-menu";
10539
- import { jsx as jsx238 } from "react/jsx-runtime";
10670
+ import { jsx as jsx239 } from "react/jsx-runtime";
10540
10671
  var RadioMenuItem = ({
10541
10672
  onSelect,
10542
10673
  value,
10543
- indicator = /* @__PURE__ */ jsx238(
10674
+ indicator = /* @__PURE__ */ jsx239(
10544
10675
  Icon,
10545
10676
  {
10546
10677
  size: "sm",
@@ -10550,17 +10681,17 @@ var RadioMenuItem = ({
10550
10681
  ...props
10551
10682
  }) => {
10552
10683
  const extraProps = onSelect ? { onSelect } : {};
10553
- return /* @__PURE__ */ jsx238(
10684
+ return /* @__PURE__ */ jsx239(
10554
10685
  DropdownMenuRadioItem,
10555
10686
  {
10556
10687
  ...extraProps,
10557
10688
  asChild: true,
10558
10689
  value,
10559
- children: /* @__PURE__ */ jsx238(
10690
+ children: /* @__PURE__ */ jsx239(
10560
10691
  MenuItemButton,
10561
10692
  {
10562
10693
  ...props,
10563
- rightIcon: /* @__PURE__ */ jsx238(DropdownMenuItemIndicator, { children: indicator })
10694
+ rightIcon: /* @__PURE__ */ jsx239(DropdownMenuItemIndicator, { children: indicator })
10564
10695
  }
10565
10696
  )
10566
10697
  }
@@ -10573,10 +10704,10 @@ import {
10573
10704
  DropdownMenuCheckboxItem,
10574
10705
  DropdownMenuItemIndicator as DropdownMenuItemIndicator2
10575
10706
  } from "@radix-ui/react-dropdown-menu";
10576
- import { isNotNil as isNotNil21 } from "@wistia/type-guards";
10577
- import { jsx as jsx239, jsxs as jsxs29 } from "react/jsx-runtime";
10707
+ import { isNotNil as isNotNil22 } from "@wistia/type-guards";
10708
+ import { jsx as jsx240, jsxs as jsxs30 } from "react/jsx-runtime";
10578
10709
  var CheckboxIndicator = ({ checked, ...props }) => {
10579
- return checked ? /* @__PURE__ */ jsxs29(
10710
+ return checked ? /* @__PURE__ */ jsxs30(
10580
10711
  "svg",
10581
10712
  {
10582
10713
  ...props,
@@ -10586,14 +10717,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
10586
10717
  width: "24",
10587
10718
  xmlns: "http://www.w3.org/2000/svg",
10588
10719
  children: [
10589
- /* @__PURE__ */ jsx239(
10720
+ /* @__PURE__ */ jsx240(
10590
10721
  "path",
10591
10722
  {
10592
10723
  d: "m4 8c0-2.20914 1.79086-4 4-4h8c2.2091 0 4 1.79086 4 4v8c0 2.2091-1.7909 4-4 4h-8c-2.20914 0-4-1.7909-4-4z",
10593
10724
  fill: "#2949e5"
10594
10725
  }
10595
10726
  ),
10596
- /* @__PURE__ */ jsx239(
10727
+ /* @__PURE__ */ jsx240(
10597
10728
  "path",
10598
10729
  {
10599
10730
  d: "m10.4728 15.1931-3.09523-3.1131c-.18596-.187-.18596-.4902 0-.6773l.67341-.6773c.18596-.187.48749-.187.67344 0l2.08508 2.0971 4.4661-4.49174c.1859-.18703.4875-.18703.6734 0l.6734.67731c.186.18703.186.49027 0 .67731l-5.4762 5.50772c-.1859.187-.4874.187-.6734 0z",
@@ -10602,7 +10733,7 @@ var CheckboxIndicator = ({ checked, ...props }) => {
10602
10733
  )
10603
10734
  ]
10604
10735
  }
10605
- ) : /* @__PURE__ */ jsxs29(
10736
+ ) : /* @__PURE__ */ jsxs30(
10606
10737
  "svg",
10607
10738
  {
10608
10739
  ...props,
@@ -10612,14 +10743,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
10612
10743
  width: "24",
10613
10744
  xmlns: "http://www.w3.org/2000/svg",
10614
10745
  children: [
10615
- /* @__PURE__ */ jsx239(
10746
+ /* @__PURE__ */ jsx240(
10616
10747
  "path",
10617
10748
  {
10618
10749
  d: "m8 4.5h8c1.933 0 3.5 1.567 3.5 3.5v8c0 1.933-1.567 3.5-3.5 3.5h-8c-1.933 0-3.5-1.567-3.5-3.5v-8c0-1.933 1.567-3.5 3.5-3.5z",
10619
10750
  fill: "#fcfcfd"
10620
10751
  }
10621
10752
  ),
10622
- /* @__PURE__ */ jsx239(
10753
+ /* @__PURE__ */ jsx240(
10623
10754
  "path",
10624
10755
  {
10625
10756
  d: "m8 4.5h8c1.933 0 3.5 1.567 3.5 3.5v8c0 1.933-1.567 3.5-3.5 3.5h-8c-1.933 0-3.5-1.567-3.5-3.5v-8c0-1.933 1.567-3.5 3.5-3.5z",
@@ -10636,19 +10767,19 @@ var CheckboxMenuItem = ({
10636
10767
  onCheckedChange,
10637
10768
  ...props
10638
10769
  }) => {
10639
- return /* @__PURE__ */ jsx239(
10770
+ return /* @__PURE__ */ jsx240(
10640
10771
  DropdownMenuCheckboxItem,
10641
10772
  {
10642
10773
  asChild: true,
10643
10774
  checked,
10644
10775
  onCheckedChange,
10645
10776
  onSelect,
10646
- children: /* @__PURE__ */ jsx239(
10777
+ children: /* @__PURE__ */ jsx240(
10647
10778
  MenuItemButton,
10648
10779
  {
10649
10780
  ...props,
10650
- leftIcon: isNotNil21(props.icon) ? props.icon : /* @__PURE__ */ jsx239(CheckboxIndicator, { checked }),
10651
- rightIcon: isNotNil21(props.icon) ? /* @__PURE__ */ jsx239(DropdownMenuItemIndicator2, { children: /* @__PURE__ */ jsx239(Icon, { type: "checkmark" }) }) : void 0
10781
+ leftIcon: isNotNil22(props.icon) ? props.icon : /* @__PURE__ */ jsx240(CheckboxIndicator, { checked }),
10782
+ rightIcon: isNotNil22(props.icon) ? /* @__PURE__ */ jsx240(DropdownMenuItemIndicator2, { children: /* @__PURE__ */ jsx240(Icon, { type: "checkmark" }) }) : void 0
10652
10783
  }
10653
10784
  )
10654
10785
  }
@@ -10658,36 +10789,36 @@ CheckboxMenuItem.displayName = "CheckboxMenuItem";
10658
10789
 
10659
10790
  // src/components/Modal/Modal.tsx
10660
10791
  import { forwardRef as forwardRef19 } from "react";
10661
- import styled48 from "styled-components";
10792
+ import styled49 from "styled-components";
10662
10793
  import { Root as DialogRoot, Portal as DialogPortal } from "@radix-ui/react-dialog";
10663
- import { isNotNil as isNotNil23 } from "@wistia/type-guards";
10794
+ import { isNotNil as isNotNil24 } from "@wistia/type-guards";
10664
10795
 
10665
10796
  // src/components/Modal/ModalHeader.tsx
10666
- import styled45 from "styled-components";
10797
+ import styled46 from "styled-components";
10667
10798
  import { Title as DialogTitle } from "@radix-ui/react-dialog";
10668
10799
 
10669
10800
  // src/components/Modal/ModalCloseButton.tsx
10670
- import styled44 from "styled-components";
10801
+ import styled45 from "styled-components";
10671
10802
  import { Close as DialogClose } from "@radix-ui/react-dialog";
10672
- import { jsx as jsx240 } from "react/jsx-runtime";
10673
- var CloseButton = styled44(DialogClose)`
10803
+ import { jsx as jsx241 } from "react/jsx-runtime";
10804
+ var CloseButton = styled45(DialogClose)`
10674
10805
  align-self: start;
10675
10806
  `;
10676
10807
  var ModalCloseButton = () => {
10677
- return /* @__PURE__ */ jsx240(CloseButton, { asChild: true, children: /* @__PURE__ */ jsx240(
10808
+ return /* @__PURE__ */ jsx241(CloseButton, { asChild: true, children: /* @__PURE__ */ jsx241(
10678
10809
  IconButton,
10679
10810
  {
10680
10811
  label: "Dismiss modal",
10681
10812
  size: "sm",
10682
10813
  variant: "ghost",
10683
- children: /* @__PURE__ */ jsx240(Icon, { type: "close" })
10814
+ children: /* @__PURE__ */ jsx241(Icon, { type: "close" })
10684
10815
  }
10685
10816
  ) });
10686
10817
  };
10687
10818
 
10688
10819
  // src/components/Modal/ModalHeader.tsx
10689
- import { jsx as jsx241, jsxs as jsxs30 } from "react/jsx-runtime";
10690
- var Header = styled45.header`
10820
+ import { jsx as jsx242, jsxs as jsxs31 } from "react/jsx-runtime";
10821
+ var Header = styled46.header`
10691
10822
  display: flex;
10692
10823
  order: 1;
10693
10824
  gap: var(--wui-space-01);
@@ -10698,7 +10829,7 @@ var Header = styled45.header`
10698
10829
  margin: 0 0 var(--wui-space-03);
10699
10830
  }
10700
10831
  `;
10701
- var Title = styled45(DialogTitle)`
10832
+ var Title = styled46(DialogTitle)`
10702
10833
  font-family: var(--wui-typography-heading-2-family);
10703
10834
  line-height: var(--wui-typography-heading-2-line-height);
10704
10835
  font-size: var(--wui-typography-heading-2-size);
@@ -10709,21 +10840,21 @@ var ModalHeader = ({
10709
10840
  hideTitle,
10710
10841
  hideCloseButton
10711
10842
  }) => {
10712
- const TitleComponent = hideTitle ? /* @__PURE__ */ jsx241(ScreenReaderOnly, { children: /* @__PURE__ */ jsx241(Title, { children: title }) }) : /* @__PURE__ */ jsx241(Title, { children: title });
10713
- return /* @__PURE__ */ jsxs30(Header, { $hideTitle: hideTitle, children: [
10843
+ const TitleComponent = hideTitle ? /* @__PURE__ */ jsx242(ScreenReaderOnly, { children: /* @__PURE__ */ jsx242(Title, { children: title }) }) : /* @__PURE__ */ jsx242(Title, { children: title });
10844
+ return /* @__PURE__ */ jsxs31(Header, { $hideTitle: hideTitle, children: [
10714
10845
  TitleComponent,
10715
- hideCloseButton ? null : /* @__PURE__ */ jsx241(ModalCloseButton, {})
10846
+ hideCloseButton ? null : /* @__PURE__ */ jsx242(ModalCloseButton, {})
10716
10847
  ] });
10717
10848
  };
10718
10849
 
10719
10850
  // src/components/Modal/ModalContent.tsx
10720
10851
  import { forwardRef as forwardRef17 } from "react";
10721
- import styled46 from "styled-components";
10852
+ import styled47 from "styled-components";
10722
10853
  import { Content as DialogContent } from "@radix-ui/react-dialog";
10723
10854
 
10724
10855
  // src/private/hooks/useFocusRestore/useFocusRestore.ts
10725
10856
  import { useRef as useRef11, useEffect as useEffect10 } from "react";
10726
- import { isNotNil as isNotNil22 } from "@wistia/type-guards";
10857
+ import { isNotNil as isNotNil23 } from "@wistia/type-guards";
10727
10858
  var useFocusRestore = () => {
10728
10859
  const previouslyFocusedRef = useRef11(null);
10729
10860
  useEffect10(() => {
@@ -10731,7 +10862,7 @@ var useFocusRestore = () => {
10731
10862
  }, []);
10732
10863
  useEffect10(() => {
10733
10864
  return () => {
10734
- if (isNotNil22(previouslyFocusedRef.current)) {
10865
+ if (isNotNil23(previouslyFocusedRef.current)) {
10735
10866
  setTimeout(() => {
10736
10867
  previouslyFocusedRef.current?.focus();
10737
10868
  }, 0);
@@ -10741,8 +10872,8 @@ var useFocusRestore = () => {
10741
10872
  };
10742
10873
 
10743
10874
  // src/components/Modal/ModalContent.tsx
10744
- import { jsx as jsx242 } from "react/jsx-runtime";
10745
- var StyledModalContent = styled46(DialogContent)`
10875
+ import { jsx as jsx243 } from "react/jsx-runtime";
10876
+ var StyledModalContent = styled47(DialogContent)`
10746
10877
  background-color: var(--wui-color-bg-app);
10747
10878
  box-sizing: border-box;
10748
10879
  display: flex;
@@ -10786,7 +10917,7 @@ var StyledModalContent = styled46(DialogContent)`
10786
10917
  var ModalContent = forwardRef17(
10787
10918
  ({ fullHeight, width, children, ...props }, ref) => {
10788
10919
  useFocusRestore();
10789
- return /* @__PURE__ */ jsx242(
10920
+ return /* @__PURE__ */ jsx243(
10790
10921
  StyledModalContent,
10791
10922
  {
10792
10923
  ref,
@@ -10802,8 +10933,8 @@ var ModalContent = forwardRef17(
10802
10933
 
10803
10934
  // src/private/components/Backdrop/Backdrop.tsx
10804
10935
  import { forwardRef as forwardRef18 } from "react";
10805
- import styled47 from "styled-components";
10806
- import { jsx as jsx243 } from "react/jsx-runtime";
10936
+ import styled48 from "styled-components";
10937
+ import { jsx as jsx244 } from "react/jsx-runtime";
10807
10938
  var backdropAnimationDuration = 150;
10808
10939
  var alignVerticalMap = {
10809
10940
  stretch: "normal",
@@ -10816,7 +10947,7 @@ var alignHorizontalMap = {
10816
10947
  center: "center",
10817
10948
  right: "end"
10818
10949
  };
10819
- var BackdropComponent = styled47.div`
10950
+ var BackdropComponent = styled48.div`
10820
10951
  align-items: ${({ $alignVertical }) => alignVerticalMap[$alignVertical]};
10821
10952
  animation-name: backdropShow;
10822
10953
  animation-duration: ${() => `${backdropAnimationDuration}ms`};
@@ -10845,7 +10976,7 @@ var BackdropComponent = styled47.div`
10845
10976
  }
10846
10977
  `;
10847
10978
  var Backdrop = forwardRef18(
10848
- ({ alignHorizontal = "center", alignVertical = "center", children, ...otherProps }, ref) => /* @__PURE__ */ jsx243(
10979
+ ({ alignHorizontal = "center", alignVertical = "center", children, ...otherProps }, ref) => /* @__PURE__ */ jsx244(
10849
10980
  BackdropComponent,
10850
10981
  {
10851
10982
  ref,
@@ -10859,9 +10990,9 @@ var Backdrop = forwardRef18(
10859
10990
  Backdrop.displayName = "Backdrop";
10860
10991
 
10861
10992
  // src/components/Modal/Modal.tsx
10862
- import { jsx as jsx244, jsxs as jsxs31 } from "react/jsx-runtime";
10993
+ import { jsx as jsx245, jsxs as jsxs32 } from "react/jsx-runtime";
10863
10994
  var DEFAULT_MODAL_WIDTH = "532px";
10864
- var ModalBody = styled48.div`
10995
+ var ModalBody = styled49.div`
10865
10996
  flex-direction: column;
10866
10997
  display: flex;
10867
10998
  order: 2;
@@ -10879,24 +11010,24 @@ var Modal = forwardRef19(
10879
11010
  width = DEFAULT_MODAL_WIDTH,
10880
11011
  ...props
10881
11012
  }, ref) => {
10882
- return /* @__PURE__ */ jsx244(
11013
+ return /* @__PURE__ */ jsx245(
10883
11014
  DialogRoot,
10884
11015
  {
10885
11016
  onOpenChange: (open2) => {
10886
- if (!open2 && isNotNil23(onRequestClose)) {
11017
+ if (!open2 && isNotNil24(onRequestClose)) {
10887
11018
  onRequestClose();
10888
11019
  }
10889
11020
  },
10890
11021
  open: isOpen,
10891
- children: /* @__PURE__ */ jsxs31(DialogPortal, { children: [
10892
- /* @__PURE__ */ jsx244(Backdrop, {}),
10893
- /* @__PURE__ */ jsxs31(
11022
+ children: /* @__PURE__ */ jsxs32(DialogPortal, { children: [
11023
+ /* @__PURE__ */ jsx245(Backdrop, {}),
11024
+ /* @__PURE__ */ jsxs32(
10894
11025
  ModalContent,
10895
11026
  {
10896
11027
  ref,
10897
11028
  fullHeight,
10898
11029
  onOpenAutoFocus: (event) => {
10899
- if (isNotNil23(initialFocusRef) && initialFocusRef.current) {
11030
+ if (isNotNil24(initialFocusRef) && initialFocusRef.current) {
10900
11031
  event.preventDefault();
10901
11032
  requestAnimationFrame(() => {
10902
11033
  initialFocusRef.current?.focus();
@@ -10906,8 +11037,8 @@ var Modal = forwardRef19(
10906
11037
  width,
10907
11038
  ...props,
10908
11039
  children: [
10909
- /* @__PURE__ */ jsx244(ModalBody, { children }),
10910
- /* @__PURE__ */ jsx244(
11040
+ /* @__PURE__ */ jsx245(ModalBody, { children }),
11041
+ /* @__PURE__ */ jsx245(
10911
11042
  ModalHeader,
10912
11043
  {
10913
11044
  hideCloseButton,
@@ -10926,18 +11057,18 @@ var Modal = forwardRef19(
10926
11057
  Modal.displayName = "Modal";
10927
11058
 
10928
11059
  // src/components/Popover/Popover.tsx
10929
- import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
10930
- import styled49, { css as css30 } from "styled-components";
11060
+ import { Root, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
11061
+ import styled50, { css as css30 } from "styled-components";
10931
11062
 
10932
11063
  // src/private/helpers/getControls/getControlProps.tsx
10933
- import { isNotNil as isNotNil24 } from "@wistia/type-guards";
11064
+ import { isNotNil as isNotNil25 } from "@wistia/type-guards";
10934
11065
  var getControlProps = (isOpen, onOpenChange) => {
10935
- return isNotNil24(onOpenChange) && isNotNil24(isOpen) ? { open: isOpen, onOpenChange } : {};
11066
+ return isNotNil25(onOpenChange) && isNotNil25(isOpen) ? { open: isOpen, onOpenChange } : {};
10936
11067
  };
10937
11068
 
10938
11069
  // src/components/Popover/Popover.tsx
10939
- import { jsx as jsx245, jsxs as jsxs32 } from "react/jsx-runtime";
10940
- var StyledContent2 = styled49(Content2)`
11070
+ import { jsx as jsx246, jsxs as jsxs33 } from "react/jsx-runtime";
11071
+ var StyledContent2 = styled50(Content2)`
10941
11072
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
10942
11073
  ${({ $unstyled }) => !$unstyled && css30`
10943
11074
  border-radius: var(--wui-border-radius-02);
@@ -10972,9 +11103,9 @@ var Popover = ({
10972
11103
  "--wui-popover-max-width": maxWidth,
10973
11104
  "--wui-popover-max-height": maxHeight
10974
11105
  };
10975
- return /* @__PURE__ */ jsxs32(Root2, { ...getControlProps(isOpen, onOpenChange), children: [
10976
- /* @__PURE__ */ jsx245(Trigger2, { asChild: true, children: trigger }),
10977
- /* @__PURE__ */ jsx245(Portal, { children: /* @__PURE__ */ jsxs32(
11106
+ return /* @__PURE__ */ jsxs33(Root, { ...getControlProps(isOpen, onOpenChange), children: [
11107
+ /* @__PURE__ */ jsx246(Trigger2, { asChild: true, children: trigger }),
11108
+ /* @__PURE__ */ jsx246(Portal, { children: /* @__PURE__ */ jsxs33(
10978
11109
  StyledContent2,
10979
11110
  {
10980
11111
  $colorScheme: colorScheme,
@@ -10983,16 +11114,16 @@ var Popover = ({
10983
11114
  $unstyled: unstyled,
10984
11115
  style,
10985
11116
  children: [
10986
- !hideCloseButton && /* @__PURE__ */ jsx245(Close, { asChild: true, children: /* @__PURE__ */ jsx245(
11117
+ !hideCloseButton && /* @__PURE__ */ jsx246(Close, { asChild: true, children: /* @__PURE__ */ jsx246(
10987
11118
  IconButton,
10988
11119
  {
10989
11120
  "data-wui-popover-close": true,
10990
11121
  label: "Close",
10991
11122
  variant: "ghost",
10992
- children: /* @__PURE__ */ jsx245(Icon, { type: "close" })
11123
+ children: /* @__PURE__ */ jsx246(Icon, { type: "close" })
10993
11124
  }
10994
11125
  ) }),
10995
- /* @__PURE__ */ jsx245("div", { children })
11126
+ /* @__PURE__ */ jsx246("div", { children })
10996
11127
  ]
10997
11128
  }
10998
11129
  ) })
@@ -11001,11 +11132,11 @@ var Popover = ({
11001
11132
  Popover.displayName = "Popover";
11002
11133
 
11003
11134
  // src/components/ProgressBar/ProgressBar.tsx
11004
- import styled50 from "styled-components";
11135
+ import styled51 from "styled-components";
11005
11136
  import { Root as ProgressRoot, Indicator as ProgressIndicator } from "@radix-ui/react-progress";
11006
- import { isNotNil as isNotNil25 } from "@wistia/type-guards";
11007
- import { jsx as jsx246, jsxs as jsxs33 } from "react/jsx-runtime";
11008
- var ProgressBarWrapper = styled50.div`
11137
+ import { isNotNil as isNotNil26 } from "@wistia/type-guards";
11138
+ import { jsx as jsx247, jsxs as jsxs34 } from "react/jsx-runtime";
11139
+ var ProgressBarWrapper = styled51.div`
11009
11140
  --progress-bar-height: 8px;
11010
11141
  --progress-bar-indicator-color: var(--wui-color-bg-fill);
11011
11142
  --progress-bar-background-color: var(--wui-color-bg-surface-secondary);
@@ -11021,7 +11152,7 @@ var getTranslateValue = (progress, max) => {
11021
11152
  const progressPercentage = progress / max * 100;
11022
11153
  return `translateX(-${100 - progressPercentage}%)`;
11023
11154
  };
11024
- var ProgressBarLabel = styled50.div`
11155
+ var ProgressBarLabel = styled51.div`
11025
11156
  display: flex;
11026
11157
  line-height: var(--wui-typography-label-3-line-height);
11027
11158
  font-size: var(--wui-typography-label-3-size);
@@ -11029,7 +11160,7 @@ var ProgressBarLabel = styled50.div`
11029
11160
  color: var(--wui-color-text-secondary);
11030
11161
  flex-shrink: 0;
11031
11162
  `;
11032
- var StyledProgressIndicator = styled50(ProgressIndicator)`
11163
+ var StyledProgressIndicator = styled51(ProgressIndicator)`
11033
11164
  background-color: var(--progress-bar-indicator-color);
11034
11165
  width: 100%;
11035
11166
  height: 100%;
@@ -11038,7 +11169,7 @@ var StyledProgressIndicator = styled50(ProgressIndicator)`
11038
11169
  transition: transform 660ms cubic-bezier(0.65, 0, 0.35, 1);
11039
11170
  transform: ${({ $progress, $max }) => getTranslateValue($progress, $max)};
11040
11171
  `;
11041
- var StyledProgressBar = styled50(ProgressRoot)`
11172
+ var StyledProgressBar = styled51(ProgressRoot)`
11042
11173
  position: relative;
11043
11174
  overflow: hidden;
11044
11175
  background: var(--progress-bar-background-color);
@@ -11057,15 +11188,15 @@ var ProgressBar = ({
11057
11188
  labelRight,
11058
11189
  ...props
11059
11190
  }) => {
11060
- return /* @__PURE__ */ jsxs33(ProgressBarWrapper, { children: [
11061
- isNotNil25(labelLeft) ? /* @__PURE__ */ jsx246(ProgressBarLabel, { children: labelLeft }) : null,
11062
- /* @__PURE__ */ jsx246(
11191
+ return /* @__PURE__ */ jsxs34(ProgressBarWrapper, { children: [
11192
+ isNotNil26(labelLeft) ? /* @__PURE__ */ jsx247(ProgressBarLabel, { children: labelLeft }) : null,
11193
+ /* @__PURE__ */ jsx247(
11063
11194
  StyledProgressBar,
11064
11195
  {
11065
11196
  max,
11066
11197
  value: progress,
11067
11198
  ...props,
11068
- children: /* @__PURE__ */ jsx246(
11199
+ children: /* @__PURE__ */ jsx247(
11069
11200
  StyledProgressIndicator,
11070
11201
  {
11071
11202
  $max: max,
@@ -11074,17 +11205,17 @@ var ProgressBar = ({
11074
11205
  )
11075
11206
  }
11076
11207
  ),
11077
- isNotNil25(labelRight) ? /* @__PURE__ */ jsx246(ProgressBarLabel, { children: labelRight }) : null
11208
+ isNotNil26(labelRight) ? /* @__PURE__ */ jsx247(ProgressBarLabel, { children: labelRight }) : null
11078
11209
  ] });
11079
11210
  };
11080
11211
  ProgressBar.displayName = "ProgressBar";
11081
11212
 
11082
11213
  // src/components/Radio/Radio.tsx
11083
11214
  import { forwardRef as forwardRef20, useId as useId3 } from "react";
11084
- import styled51, { css as css31 } from "styled-components";
11215
+ import styled52, { css as css31 } from "styled-components";
11085
11216
  import { isNonEmptyString as isNonEmptyString3 } from "@wistia/type-guards";
11086
- import { jsx as jsx247, jsxs as jsxs34 } from "react/jsx-runtime";
11087
- var RadioIcon = () => /* @__PURE__ */ jsx247(
11217
+ import { jsx as jsx248, jsxs as jsxs35 } from "react/jsx-runtime";
11218
+ var RadioIcon = () => /* @__PURE__ */ jsx248(
11088
11219
  "svg",
11089
11220
  {
11090
11221
  fill: "inherit",
@@ -11092,7 +11223,7 @@ var RadioIcon = () => /* @__PURE__ */ jsx247(
11092
11223
  viewBox: "0 0 1 1",
11093
11224
  width: "1",
11094
11225
  xmlns: "http://www.w3.org/2000/svg",
11095
- children: /* @__PURE__ */ jsx247(
11226
+ children: /* @__PURE__ */ jsx248(
11096
11227
  "circle",
11097
11228
  {
11098
11229
  cx: "0.5",
@@ -11141,14 +11272,14 @@ var getSizeCss2 = (size) => {
11141
11272
  if (size === "lg") return sizeLarge2;
11142
11273
  return sizeMedium2;
11143
11274
  };
11144
- var StyledRadioWrapper = styled51.div`
11275
+ var StyledRadioWrapper = styled52.div`
11145
11276
  display: flex;
11146
11277
  margin: 0;
11147
11278
 
11148
11279
  /* TODO this solves a problem but potentially causes and a11y issue */
11149
11280
  user-select: none;
11150
11281
  `;
11151
- var StyledRadioInput = styled51.div`
11282
+ var StyledRadioInput = styled52.div`
11152
11283
  ${({ $size }) => getSizeCss2($size)}
11153
11284
  line-height: 0;
11154
11285
  margin: 0;
@@ -11170,7 +11301,7 @@ var StyledRadioInput = styled51.div`
11170
11301
  }
11171
11302
  }
11172
11303
  `;
11173
- var StyledHiddenRadioInput = styled51.input`
11304
+ var StyledHiddenRadioInput = styled52.input`
11174
11305
  ${visuallyHiddenStyle}
11175
11306
 
11176
11307
  /* toggles display of faux-input border-color */
@@ -11200,13 +11331,13 @@ var Radio = forwardRef20(
11200
11331
  }, ref) => {
11201
11332
  const generatedId = useId3();
11202
11333
  const computedId = isNonEmptyString3(id) ? id : `wistia-ui-radio-${generatedId}`;
11203
- return /* @__PURE__ */ jsxs34(
11334
+ return /* @__PURE__ */ jsxs35(
11204
11335
  StyledRadioWrapper,
11205
11336
  {
11206
11337
  $disabled: disabled,
11207
11338
  "aria-invalid": props["aria-invalid"],
11208
11339
  children: [
11209
- /* @__PURE__ */ jsx247(
11340
+ /* @__PURE__ */ jsx248(
11210
11341
  StyledHiddenRadioInput,
11211
11342
  {
11212
11343
  ...props,
@@ -11221,16 +11352,16 @@ var Radio = forwardRef20(
11221
11352
  value
11222
11353
  }
11223
11354
  ),
11224
- /* @__PURE__ */ jsx247(
11355
+ /* @__PURE__ */ jsx248(
11225
11356
  FormControlLabel,
11226
11357
  {
11227
- controlSlot: /* @__PURE__ */ jsx247(
11358
+ controlSlot: /* @__PURE__ */ jsx248(
11228
11359
  StyledRadioInput,
11229
11360
  {
11230
11361
  $disabled: disabled,
11231
11362
  $size: size,
11232
11363
  "data-wui-faux-input": "true",
11233
- children: /* @__PURE__ */ jsx247(RadioIcon, {})
11364
+ children: /* @__PURE__ */ jsx248(RadioIcon, {})
11234
11365
  }
11235
11366
  ),
11236
11367
  description,
@@ -11249,13 +11380,13 @@ Radio.displayName = "Radio";
11249
11380
 
11250
11381
  // src/components/SegmentedControl/SegmentedControl.tsx
11251
11382
  import { forwardRef as forwardRef21 } from "react";
11252
- import styled53, { css as css32 } from "styled-components";
11383
+ import styled54, { css as css32 } from "styled-components";
11253
11384
  import { Root as ToggleGroupRoot } from "@radix-ui/react-toggle-group";
11254
11385
  import { isNil as isNil14 } from "@wistia/type-guards";
11255
11386
 
11256
11387
  // src/components/SegmentedControl/useSelectedItemStyle.tsx
11257
11388
  import { createContext as createContext7, useContext as useContext6, useMemo as useMemo8, useState as useState14 } from "react";
11258
- import { jsx as jsx248 } from "react/jsx-runtime";
11389
+ import { jsx as jsx249 } from "react/jsx-runtime";
11259
11390
  var SelectedItemStyleContext = createContext7(null);
11260
11391
  var SelectedItemStyleProvider = ({
11261
11392
  children
@@ -11278,7 +11409,7 @@ var SelectedItemStyleProvider = ({
11278
11409
  }),
11279
11410
  [selectedItemIndicatorStyle]
11280
11411
  );
11281
- return /* @__PURE__ */ jsx248(SelectedItemStyleContext.Provider, { value: contextValue, children });
11412
+ return /* @__PURE__ */ jsx249(SelectedItemStyleContext.Provider, { value: contextValue, children });
11282
11413
  };
11283
11414
  var useSelectedItemStyle = () => {
11284
11415
  const context = useContext6(SelectedItemStyleContext);
@@ -11289,7 +11420,7 @@ var useSelectedItemStyle = () => {
11289
11420
  };
11290
11421
 
11291
11422
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
11292
- import styled52 from "styled-components";
11423
+ import styled53 from "styled-components";
11293
11424
 
11294
11425
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
11295
11426
  import { createContext as createContext8, useContext as useContext7 } from "react";
@@ -11304,8 +11435,8 @@ var useSegmentedControlValue = () => {
11304
11435
  };
11305
11436
 
11306
11437
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
11307
- import { jsx as jsx249 } from "react/jsx-runtime";
11308
- var SelectedItemIndicatorDiv = styled52.div`
11438
+ import { jsx as jsx250 } from "react/jsx-runtime";
11439
+ var SelectedItemIndicatorDiv = styled53.div`
11309
11440
  background-color: var(--wui-color-bg-fill-white);
11310
11441
  border-radius: var(--wui-border-radius-rounded);
11311
11442
  left: 0;
@@ -11323,11 +11454,11 @@ var SelectedItemIndicator = () => {
11323
11454
  if (!selectedValue) {
11324
11455
  return null;
11325
11456
  }
11326
- return /* @__PURE__ */ jsx249(SelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
11457
+ return /* @__PURE__ */ jsx250(SelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
11327
11458
  };
11328
11459
 
11329
11460
  // src/components/SegmentedControl/SegmentedControl.tsx
11330
- import { jsx as jsx250, jsxs as jsxs35 } from "react/jsx-runtime";
11461
+ import { jsx as jsx251, jsxs as jsxs36 } from "react/jsx-runtime";
11331
11462
  var segmentedControlStyles = css32`
11332
11463
  display: inline-flex;
11333
11464
  background-color: var(--wui-color-bg-surface-secondary);
@@ -11339,7 +11470,7 @@ var segmentedControlStyles = css32`
11339
11470
  position: relative;
11340
11471
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
11341
11472
  `;
11342
- var StyledSegmentedControl = styled53(ToggleGroupRoot)`
11473
+ var StyledSegmentedControl = styled54(ToggleGroupRoot)`
11343
11474
  ${segmentedControlStyles}
11344
11475
  `;
11345
11476
  var SegmentedControl = forwardRef21(
@@ -11354,7 +11485,7 @@ var SegmentedControl = forwardRef21(
11354
11485
  if (isNil14(children)) {
11355
11486
  return null;
11356
11487
  }
11357
- return /* @__PURE__ */ jsx250(
11488
+ return /* @__PURE__ */ jsx251(
11358
11489
  StyledSegmentedControl,
11359
11490
  {
11360
11491
  ref,
@@ -11366,8 +11497,8 @@ var SegmentedControl = forwardRef21(
11366
11497
  type: "single",
11367
11498
  value: selectedValue,
11368
11499
  ...props,
11369
- children: /* @__PURE__ */ jsx250(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ jsxs35(SelectedItemStyleProvider, { children: [
11370
- /* @__PURE__ */ jsx250(SelectedItemIndicator, {}),
11500
+ children: /* @__PURE__ */ jsx251(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ jsxs36(SelectedItemStyleProvider, { children: [
11501
+ /* @__PURE__ */ jsx251(SelectedItemIndicator, {}),
11371
11502
  children
11372
11503
  ] }) })
11373
11504
  }
@@ -11378,10 +11509,10 @@ SegmentedControl.displayName = "SegmentedControl";
11378
11509
 
11379
11510
  // src/components/SegmentedControl/SegmentedControlItem.tsx
11380
11511
  import { forwardRef as forwardRef22, useEffect as useEffect11, useRef as useRef12 } from "react";
11381
- import styled54, { css as css33 } from "styled-components";
11512
+ import styled55, { css as css33 } from "styled-components";
11382
11513
  import { Item as ToggleGroupItem } from "@radix-ui/react-toggle-group";
11383
- import { isNotNil as isNotNil26 } from "@wistia/type-guards";
11384
- import { jsxs as jsxs36 } from "react/jsx-runtime";
11514
+ import { isNotNil as isNotNil27 } from "@wistia/type-guards";
11515
+ import { jsxs as jsxs37 } from "react/jsx-runtime";
11385
11516
  var segmentedControlItemStyles = css33`
11386
11517
  all: unset; /* ToggleGroupItem is a button element */
11387
11518
  align-items: center;
@@ -11442,7 +11573,7 @@ var segmentedControlItemStyles = css33`
11442
11573
  }
11443
11574
  }
11444
11575
  `;
11445
- var StyledSegmentedControlItem = styled54(ToggleGroupItem)`
11576
+ var StyledSegmentedControlItem = styled55(ToggleGroupItem)`
11446
11577
  ${segmentedControlItemStyles}
11447
11578
  `;
11448
11579
  var SegmentedControlItem = forwardRef22(
@@ -11483,12 +11614,12 @@ var SegmentedControlItem = forwardRef22(
11483
11614
  resizeObserver.disconnect();
11484
11615
  };
11485
11616
  }, [selectedValue, setSelectedItemMeasurements, value]);
11486
- return /* @__PURE__ */ jsxs36(
11617
+ return /* @__PURE__ */ jsxs37(
11487
11618
  StyledSegmentedControlItem,
11488
11619
  {
11489
11620
  ref: combinedRef,
11490
- $hasLabel: isNotNil26(label),
11491
- "aria-label": isNotNil26(label) ? void 0 : ariaLabel,
11621
+ $hasLabel: isNotNil27(label),
11622
+ "aria-label": isNotNil27(label) ? void 0 : ariaLabel,
11492
11623
  disabled,
11493
11624
  onClick: handleClick,
11494
11625
  value,
@@ -11504,7 +11635,7 @@ SegmentedControlItem.displayName = "SegmentedControlItem";
11504
11635
 
11505
11636
  // src/components/Select/Select.tsx
11506
11637
  import {
11507
- Root as Root3,
11638
+ Root as Root2,
11508
11639
  Trigger as Trigger3,
11509
11640
  Portal as Portal2,
11510
11641
  Content as Content3,
@@ -11514,9 +11645,9 @@ import {
11514
11645
  ScrollDownButton
11515
11646
  } from "@radix-ui/react-select";
11516
11647
  import { forwardRef as forwardRef23 } from "react";
11517
- import styled55 from "styled-components";
11518
- import { jsx as jsx251, jsxs as jsxs37 } from "react/jsx-runtime";
11519
- var StyledTrigger = styled55(Trigger3)`
11648
+ import styled56 from "styled-components";
11649
+ import { jsx as jsx252, jsxs as jsxs38 } from "react/jsx-runtime";
11650
+ var StyledTrigger = styled56(Trigger3)`
11520
11651
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11521
11652
  ${inputCssVariables};
11522
11653
  padding: var(--wui-input-vertical-padding) var(--wui-input-horizontal-padding);
@@ -11560,7 +11691,7 @@ var StyledTrigger = styled55(Trigger3)`
11560
11691
  color: var(--wui-input-placeholder);
11561
11692
  }
11562
11693
  `;
11563
- var StyledContent3 = styled55(Content3)`
11694
+ var StyledContent3 = styled56(Content3)`
11564
11695
  --wui-select-content-border: var(--wui-color-border);
11565
11696
  --wui-select-content-bg: var(--wui-color-bg-surface);
11566
11697
  --wui-select-content-border-radius: var(--wui-border-radius-02);
@@ -11588,13 +11719,13 @@ var Select = forwardRef23(
11588
11719
  ...props
11589
11720
  }, forwardedRef) => {
11590
11721
  const responsiveFullWidth = useResponsiveProp(fullWidth);
11591
- return /* @__PURE__ */ jsxs37(
11592
- Root3,
11722
+ return /* @__PURE__ */ jsxs38(
11723
+ Root2,
11593
11724
  {
11594
11725
  ...props,
11595
11726
  onValueChange: onChange,
11596
11727
  children: [
11597
- /* @__PURE__ */ jsxs37(
11728
+ /* @__PURE__ */ jsxs38(
11598
11729
  StyledTrigger,
11599
11730
  {
11600
11731
  ref: forwardedRef,
@@ -11602,8 +11733,8 @@ var Select = forwardRef23(
11602
11733
  $fullWidth: responsiveFullWidth,
11603
11734
  ...props,
11604
11735
  children: [
11605
- /* @__PURE__ */ jsx251(Value, { placeholder }),
11606
- /* @__PURE__ */ jsx251(
11736
+ /* @__PURE__ */ jsx252(Value, { placeholder }),
11737
+ /* @__PURE__ */ jsx252(
11607
11738
  Icon,
11608
11739
  {
11609
11740
  size: "md",
@@ -11613,10 +11744,10 @@ var Select = forwardRef23(
11613
11744
  ]
11614
11745
  }
11615
11746
  ),
11616
- /* @__PURE__ */ jsx251(Portal2, { children: /* @__PURE__ */ jsxs37(StyledContent3, { position: "popper", children: [
11617
- /* @__PURE__ */ jsx251(ScrollUpButton, { children: /* @__PURE__ */ jsx251(Icon, { type: "caret-up" }) }),
11618
- /* @__PURE__ */ jsx251(Viewport, { children }),
11619
- /* @__PURE__ */ jsx251(ScrollDownButton, { children: /* @__PURE__ */ jsx251(Icon, { type: "caret-down" }) })
11747
+ /* @__PURE__ */ jsx252(Portal2, { children: /* @__PURE__ */ jsxs38(StyledContent3, { position: "popper", children: [
11748
+ /* @__PURE__ */ jsx252(ScrollUpButton, { children: /* @__PURE__ */ jsx252(Icon, { type: "caret-up" }) }),
11749
+ /* @__PURE__ */ jsx252(Viewport, { children }),
11750
+ /* @__PURE__ */ jsx252(ScrollDownButton, { children: /* @__PURE__ */ jsx252(Icon, { type: "caret-down" }) })
11620
11751
  ] }) })
11621
11752
  ]
11622
11753
  }
@@ -11628,10 +11759,10 @@ Select.displayName = "Select";
11628
11759
  // src/components/Select/SelectOption.tsx
11629
11760
  import { Item, ItemText, ItemIndicator } from "@radix-ui/react-select";
11630
11761
  import { forwardRef as forwardRef24 } from "react";
11631
- import styled56 from "styled-components";
11632
- import { isNotNil as isNotNil27 } from "@wistia/type-guards";
11633
- import { jsx as jsx252, jsxs as jsxs38 } from "react/jsx-runtime";
11634
- var StyledItem = styled56(Item)`
11762
+ import styled57 from "styled-components";
11763
+ import { isNotNil as isNotNil28 } from "@wistia/type-guards";
11764
+ import { jsx as jsx253, jsxs as jsxs39 } from "react/jsx-runtime";
11765
+ var StyledItem = styled57(Item)`
11635
11766
  ${variantStyleMap2.body3};
11636
11767
  display: flex;
11637
11768
  padding: var(--wui-select-option-padding);
@@ -11655,28 +11786,28 @@ var StyledItem = styled56(Item)`
11655
11786
  background-color: transparent;
11656
11787
  }
11657
11788
  `;
11658
- var StyledIconContainer = styled56.span`
11789
+ var StyledIconContainer = styled57.span`
11659
11790
  width: 12px;
11660
11791
  `;
11661
11792
  var SelectOption = forwardRef24(
11662
11793
  ({ children, selectedDisplayValue, ...props }, forwardedRef) => {
11663
- return /* @__PURE__ */ jsxs38(
11794
+ return /* @__PURE__ */ jsxs39(
11664
11795
  StyledItem,
11665
11796
  {
11666
11797
  ...props,
11667
11798
  ref: forwardedRef,
11668
11799
  children: [
11669
- /* @__PURE__ */ jsx252(StyledIconContainer, { "data-indicator": true, children: /* @__PURE__ */ jsx252(ItemIndicator, { children: /* @__PURE__ */ jsx252(
11800
+ /* @__PURE__ */ jsx253(StyledIconContainer, { "data-indicator": true, children: /* @__PURE__ */ jsx253(ItemIndicator, { children: /* @__PURE__ */ jsx253(
11670
11801
  Icon,
11671
11802
  {
11672
11803
  size: "sm",
11673
11804
  type: "checkmark"
11674
11805
  }
11675
11806
  ) }) }),
11676
- isNotNil27(selectedDisplayValue) ? /* @__PURE__ */ jsxs38("div", { children: [
11807
+ isNotNil28(selectedDisplayValue) ? /* @__PURE__ */ jsxs39("div", { children: [
11677
11808
  children,
11678
- /* @__PURE__ */ jsx252("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx252(ItemText, { children: selectedDisplayValue }) })
11679
- ] }) : /* @__PURE__ */ jsx252(ItemText, { children })
11809
+ /* @__PURE__ */ jsx253("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx253(ItemText, { children: selectedDisplayValue }) })
11810
+ ] }) : /* @__PURE__ */ jsx253(ItemText, { children })
11680
11811
  ]
11681
11812
  }
11682
11813
  );
@@ -11685,15 +11816,15 @@ var SelectOption = forwardRef24(
11685
11816
  SelectOption.displayName = "SelectOption";
11686
11817
 
11687
11818
  // src/components/Select/SelectOptionGroup.tsx
11688
- import { Group, Label as Label2 } from "@radix-ui/react-select";
11689
- import styled57 from "styled-components";
11690
- import { jsx as jsx253, jsxs as jsxs39 } from "react/jsx-runtime";
11691
- var StyledLabel4 = styled57(Label2)`
11819
+ import { Group, Label as Label3 } from "@radix-ui/react-select";
11820
+ import styled58 from "styled-components";
11821
+ import { jsx as jsx254, jsxs as jsxs40 } from "react/jsx-runtime";
11822
+ var StyledLabel4 = styled58(Label3)`
11692
11823
  padding: var(--wui-select-option-padding);
11693
11824
  `;
11694
11825
  var SelectOptionGroup = ({ children, label, ...props }) => {
11695
- return /* @__PURE__ */ jsxs39(Group, { ...props, children: [
11696
- /* @__PURE__ */ jsx253(StyledLabel4, { children: /* @__PURE__ */ jsx253(
11826
+ return /* @__PURE__ */ jsxs40(Group, { ...props, children: [
11827
+ /* @__PURE__ */ jsx254(StyledLabel4, { children: /* @__PURE__ */ jsx254(
11697
11828
  Text,
11698
11829
  {
11699
11830
  prominence: "secondary",
@@ -11707,9 +11838,9 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
11707
11838
 
11708
11839
  // src/components/Switch/Switch.tsx
11709
11840
  import { forwardRef as forwardRef25, useId as useId4 } from "react";
11710
- import styled58, { css as css34 } from "styled-components";
11841
+ import styled59, { css as css34 } from "styled-components";
11711
11842
  import { isNonEmptyString as isNonEmptyString4 } from "@wistia/type-guards";
11712
- import { jsx as jsx254, jsxs as jsxs40 } from "react/jsx-runtime";
11843
+ import { jsx as jsx255, jsxs as jsxs41 } from "react/jsx-runtime";
11713
11844
  var sizeSmall3 = css34`
11714
11845
  --wui-size-small-width: 24px;
11715
11846
  --wui-size-small-height: 14px;
@@ -11760,14 +11891,14 @@ var getSizeCss3 = (size) => {
11760
11891
  if (size === "lg") return sizeLarge3;
11761
11892
  return sizeMedium3;
11762
11893
  };
11763
- var StyledSwitchWrapper = styled58.div`
11894
+ var StyledSwitchWrapper = styled59.div`
11764
11895
  display: flex;
11765
11896
  margin: 0;
11766
11897
 
11767
11898
  /* TODO this solves a problem but potentially causes and a11y issue */
11768
11899
  user-select: none;
11769
11900
  `;
11770
- var StyledSwitchInput = styled58.div`
11901
+ var StyledSwitchInput = styled59.div`
11771
11902
  ${({ $size }) => getSizeCss3($size)}
11772
11903
  line-height: 0;
11773
11904
  margin: 0;
@@ -11795,7 +11926,7 @@ var StyledSwitchInput = styled58.div`
11795
11926
  transition: all 0.2s ease-in-out;
11796
11927
  }
11797
11928
  `;
11798
- var StyledHiddenSwitchInput = styled58.input`
11929
+ var StyledHiddenSwitchInput = styled59.input`
11799
11930
  ${visuallyHiddenStyle}
11800
11931
 
11801
11932
  /* toggles display of faux-input background-color and toggle position */
@@ -11828,8 +11959,8 @@ var Switch = forwardRef25(
11828
11959
  }, ref) => {
11829
11960
  const generatedId = useId4();
11830
11961
  const computedId = isNonEmptyString4(id) ? id : `wistia-ui-switch-${generatedId}`;
11831
- return /* @__PURE__ */ jsxs40(StyledSwitchWrapper, { $disabled: disabled, children: [
11832
- /* @__PURE__ */ jsx254(
11962
+ return /* @__PURE__ */ jsxs41(StyledSwitchWrapper, { $disabled: disabled, children: [
11963
+ /* @__PURE__ */ jsx255(
11833
11964
  StyledHiddenSwitchInput,
11834
11965
  {
11835
11966
  ...props,
@@ -11844,10 +11975,10 @@ var Switch = forwardRef25(
11844
11975
  value
11845
11976
  }
11846
11977
  ),
11847
- /* @__PURE__ */ jsx254(
11978
+ /* @__PURE__ */ jsx255(
11848
11979
  FormControlLabel,
11849
11980
  {
11850
- controlSlot: /* @__PURE__ */ jsx254(
11981
+ controlSlot: /* @__PURE__ */ jsx255(
11851
11982
  StyledSwitchInput,
11852
11983
  {
11853
11984
  $disabled: disabled,
@@ -11869,9 +12000,9 @@ var Switch = forwardRef25(
11869
12000
  Switch.displayName = "Switch";
11870
12001
 
11871
12002
  // src/components/Table/Table.tsx
11872
- import styled59, { css as css35 } from "styled-components";
11873
- import { jsx as jsx255 } from "react/jsx-runtime";
11874
- var StyledTable = styled59.table`
12003
+ import styled60, { css as css35 } from "styled-components";
12004
+ import { jsx as jsx256 } from "react/jsx-runtime";
12005
+ var StyledTable = styled60.table`
11875
12006
  width: 100%;
11876
12007
  border-collapse: collapse;
11877
12008
 
@@ -11900,7 +12031,7 @@ var Table = ({
11900
12031
  visuallyHiddenHeader = false,
11901
12032
  ...props
11902
12033
  }) => {
11903
- return /* @__PURE__ */ jsx255(
12034
+ return /* @__PURE__ */ jsx256(
11904
12035
  StyledTable,
11905
12036
  {
11906
12037
  $divided: divided,
@@ -11913,35 +12044,35 @@ var Table = ({
11913
12044
  };
11914
12045
 
11915
12046
  // src/components/Table/TableBody.tsx
11916
- import styled60 from "styled-components";
12047
+ import styled61 from "styled-components";
11917
12048
 
11918
12049
  // src/components/Table/TableSectionContext.ts
11919
12050
  import { createContext as createContext9 } from "react";
11920
12051
  var TableSectionContext = createContext9(null);
11921
12052
 
11922
12053
  // src/components/Table/TableBody.tsx
11923
- import { jsx as jsx256 } from "react/jsx-runtime";
11924
- var StyledTableBody = styled60.tbody``;
12054
+ import { jsx as jsx257 } from "react/jsx-runtime";
12055
+ var StyledTableBody = styled61.tbody``;
11925
12056
  var TableBody = ({ children, ...props }) => {
11926
- return /* @__PURE__ */ jsx256(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ jsx256(StyledTableBody, { ...props, children }) });
12057
+ return /* @__PURE__ */ jsx257(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ jsx257(StyledTableBody, { ...props, children }) });
11927
12058
  };
11928
12059
 
11929
12060
  // src/components/Table/TableCell.tsx
11930
12061
  import { useContext as useContext8 } from "react";
11931
- import styled61, { css as css36 } from "styled-components";
11932
- import { jsx as jsx257 } from "react/jsx-runtime";
12062
+ import styled62, { css as css36 } from "styled-components";
12063
+ import { jsx as jsx258 } from "react/jsx-runtime";
11933
12064
  var sharedStyles = css36`
11934
12065
  color: var(--wui-color-text);
11935
12066
  padding: var(--wui-space-02);
11936
12067
  text-align: left;
11937
12068
  `;
11938
- var StyledTh = styled61.th`
12069
+ var StyledTh = styled62.th`
11939
12070
  ${sharedStyles}
11940
12071
  font-size: var(--wui-typography-body-4-size);
11941
12072
  font-weight: var(--wui-typography-weight-label-bold);
11942
12073
  line-height: var(--wui-typography-body-4-line-height);
11943
12074
  `;
11944
- var StyledTd = styled61.td`
12075
+ var StyledTd = styled62.td`
11945
12076
  ${sharedStyles}
11946
12077
  font-size: var(--wui-typography-body-2-size);
11947
12078
  font-weight: var(--wui-typography-body-2-weight);
@@ -11950,51 +12081,51 @@ var StyledTd = styled61.td`
11950
12081
  var TableCell = ({ children, ...props }) => {
11951
12082
  const section = useContext8(TableSectionContext);
11952
12083
  if (section === "head") {
11953
- return /* @__PURE__ */ jsx257(StyledTh, { ...props, children });
12084
+ return /* @__PURE__ */ jsx258(StyledTh, { ...props, children });
11954
12085
  }
11955
- return /* @__PURE__ */ jsx257(StyledTd, { ...props, children });
12086
+ return /* @__PURE__ */ jsx258(StyledTd, { ...props, children });
11956
12087
  };
11957
12088
 
11958
12089
  // src/components/Table/TableFoot.tsx
11959
- import styled62 from "styled-components";
11960
- import { jsx as jsx258 } from "react/jsx-runtime";
11961
- var StyledTableFoot = styled62.tfoot``;
12090
+ import styled63 from "styled-components";
12091
+ import { jsx as jsx259 } from "react/jsx-runtime";
12092
+ var StyledTableFoot = styled63.tfoot``;
11962
12093
  var TableFoot = ({ children, ...props }) => {
11963
- return /* @__PURE__ */ jsx258(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ jsx258(StyledTableFoot, { ...props, children }) });
12094
+ return /* @__PURE__ */ jsx259(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ jsx259(StyledTableFoot, { ...props, children }) });
11964
12095
  };
11965
12096
 
11966
12097
  // src/components/Table/TableHead.tsx
11967
- import styled63 from "styled-components";
11968
- import { jsx as jsx259 } from "react/jsx-runtime";
11969
- var StyledThead = styled63.thead``;
12098
+ import styled64 from "styled-components";
12099
+ import { jsx as jsx260 } from "react/jsx-runtime";
12100
+ var StyledThead = styled64.thead``;
11970
12101
  var TableHead = ({ children, ...props }) => {
11971
- return /* @__PURE__ */ jsx259(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ jsx259(StyledThead, { ...props, children }) });
12102
+ return /* @__PURE__ */ jsx260(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ jsx260(StyledThead, { ...props, children }) });
11972
12103
  };
11973
12104
 
11974
12105
  // src/components/Table/TableRow.tsx
11975
- import styled64 from "styled-components";
11976
- import { jsx as jsx260 } from "react/jsx-runtime";
11977
- var StyledTableRow = styled64.tr``;
12106
+ import styled65 from "styled-components";
12107
+ import { jsx as jsx261 } from "react/jsx-runtime";
12108
+ var StyledTableRow = styled65.tr``;
11978
12109
  var TableRow = ({ children, ...props }) => {
11979
- return /* @__PURE__ */ jsx260(StyledTableRow, { ...props, children });
12110
+ return /* @__PURE__ */ jsx261(StyledTableRow, { ...props, children });
11980
12111
  };
11981
12112
 
11982
12113
  // src/components/Tabs/Tabs.tsx
11983
12114
  import { forwardRef as forwardRef27, useState as useState15 } from "react";
11984
12115
  import { Root as TabsRoot } from "@radix-ui/react-tabs";
11985
- import { isNotNil as isNotNil29, isNil as isNil15 } from "@wistia/type-guards";
11986
- import styled69 from "styled-components";
12116
+ import { isNotNil as isNotNil30, isNil as isNil15 } from "@wistia/type-guards";
12117
+ import styled70 from "styled-components";
11987
12118
 
11988
12119
  // src/components/Tabs/TabPanel.tsx
11989
- import styled65 from "styled-components";
12120
+ import styled66 from "styled-components";
11990
12121
  import { Content as TabsContent } from "@radix-ui/react-tabs";
11991
- import { jsx as jsx261 } from "react/jsx-runtime";
11992
- var StyledTabPanel = styled65(TabsContent)`
12122
+ import { jsx as jsx262 } from "react/jsx-runtime";
12123
+ var StyledTabPanel = styled66(TabsContent)`
11993
12124
  display: flex;
11994
12125
  flex-direction: column;
11995
12126
  `;
11996
12127
  var TabPanel = ({ children, value, ...props }) => {
11997
- return /* @__PURE__ */ jsx261(
12128
+ return /* @__PURE__ */ jsx262(
11998
12129
  StyledTabPanel,
11999
12130
  {
12000
12131
  value,
@@ -12006,10 +12137,10 @@ var TabPanel = ({ children, value, ...props }) => {
12006
12137
  TabPanel.displayName = "TabPanel";
12007
12138
 
12008
12139
  // src/components/Tabs/TabList.tsx
12009
- import styled66 from "styled-components";
12140
+ import styled67 from "styled-components";
12010
12141
  import { List as RadixTabList } from "@radix-ui/react-tabs";
12011
- import { jsx as jsx262 } from "react/jsx-runtime";
12012
- var StyledTabList = styled66(RadixTabList)`
12142
+ import { jsx as jsx263 } from "react/jsx-runtime";
12143
+ var StyledTabList = styled67(RadixTabList)`
12013
12144
  ${segmentedControlStyles}
12014
12145
 
12015
12146
  margin-bottom: var(--wui-space-04);
@@ -12022,7 +12153,7 @@ var TabList = ({
12022
12153
  ariaLabel,
12023
12154
  ...props
12024
12155
  }) => {
12025
- return /* @__PURE__ */ jsx262(
12156
+ return /* @__PURE__ */ jsx263(
12026
12157
  StyledTabList,
12027
12158
  {
12028
12159
  $fullWidth: fullWidth,
@@ -12036,9 +12167,9 @@ TabList.displayName = "TabList";
12036
12167
 
12037
12168
  // src/components/Tabs/TabItem.tsx
12038
12169
  import { forwardRef as forwardRef26, useEffect as useEffect12, useRef as useRef13 } from "react";
12039
- import styled67 from "styled-components";
12170
+ import styled68 from "styled-components";
12040
12171
  import { Trigger as RadixTab } from "@radix-ui/react-tabs";
12041
- import { isNotNil as isNotNil28 } from "@wistia/type-guards";
12172
+ import { isNotNil as isNotNil29 } from "@wistia/type-guards";
12042
12173
 
12043
12174
  // src/components/Tabs/useTabsValue.tsx
12044
12175
  import { createContext as createContext10, useContext as useContext9 } from "react";
@@ -12053,8 +12184,8 @@ var useTabsValue = () => {
12053
12184
  };
12054
12185
 
12055
12186
  // src/components/Tabs/TabItem.tsx
12056
- import { jsxs as jsxs41 } from "react/jsx-runtime";
12057
- var StyledTabItem = styled67(RadixTab)`
12187
+ import { jsxs as jsxs42 } from "react/jsx-runtime";
12188
+ var StyledTabItem = styled68(RadixTab)`
12058
12189
  ${segmentedControlItemStyles}
12059
12190
 
12060
12191
  &:focus-visible {
@@ -12092,12 +12223,12 @@ var TabItem = forwardRef26(
12092
12223
  resizeObserver.disconnect();
12093
12224
  };
12094
12225
  }, [selectedValue, setSelectedItemMeasurements, value]);
12095
- return /* @__PURE__ */ jsxs41(
12226
+ return /* @__PURE__ */ jsxs42(
12096
12227
  StyledTabItem,
12097
12228
  {
12098
12229
  ref: combinedRef,
12099
- $hasLabel: isNotNil28(label),
12100
- "aria-label": isNotNil28(label) ? void 0 : ariaLabel,
12230
+ $hasLabel: isNotNil29(label),
12231
+ "aria-label": isNotNil29(label) ? void 0 : ariaLabel,
12101
12232
  disabled,
12102
12233
  value,
12103
12234
  children: [
@@ -12133,9 +12264,9 @@ var extractTabItems = (children) => {
12133
12264
  };
12134
12265
 
12135
12266
  // src/components/Tabs/SelectedItemIndicator.tsx
12136
- import styled68 from "styled-components";
12137
- import { jsx as jsx263 } from "react/jsx-runtime";
12138
- var TabsSelectedItemIndicatorDiv = styled68(SelectedItemIndicatorDiv)`
12267
+ import styled69 from "styled-components";
12268
+ import { jsx as jsx264 } from "react/jsx-runtime";
12269
+ var TabsSelectedItemIndicatorDiv = styled69(SelectedItemIndicatorDiv)`
12139
12270
  &:has(~ ${StyledTabItem}:focus-visible) {
12140
12271
  outline: 2px solid var(--wui-color-focus-ring);
12141
12272
  }
@@ -12146,23 +12277,23 @@ var SelectedItemIndicator2 = () => {
12146
12277
  if (selectedValue == null) {
12147
12278
  return null;
12148
12279
  }
12149
- return /* @__PURE__ */ jsx263(TabsSelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
12280
+ return /* @__PURE__ */ jsx264(TabsSelectedItemIndicatorDiv, { style: selectedItemIndicatorStyle });
12150
12281
  };
12151
12282
 
12152
12283
  // src/components/Tabs/Tabs.tsx
12153
- import { jsx as jsx264, jsxs as jsxs42 } from "react/jsx-runtime";
12154
- var TabsContainer = styled69.div`
12284
+ import { jsx as jsx265, jsxs as jsxs43 } from "react/jsx-runtime";
12285
+ var TabsContainer = styled70.div`
12155
12286
  display: flex;
12156
12287
  flex-direction: column;
12157
12288
  height: ${({ $stickyHeaders }) => $stickyHeaders ? "100%" : "auto"};
12158
12289
  overflow: ${({ $stickyHeaders }) => $stickyHeaders ? "hidden" : "visible"};
12159
12290
  `;
12160
- var StickyTabContent = styled69.div`
12291
+ var StickyTabContent = styled70.div`
12161
12292
  flex: ${({ $stickyHeaders }) => $stickyHeaders ? "1" : "initial"};
12162
12293
  overflow-y: ${({ $stickyHeaders }) => $stickyHeaders ? "auto" : "visible"};
12163
12294
  overflow-x: ${({ $stickyHeaders }) => $stickyHeaders ? "hidden" : "visible"};
12164
12295
  `;
12165
- var StyledTabsRoot = styled69(TabsRoot)`
12296
+ var StyledTabsRoot = styled70(TabsRoot)`
12166
12297
  display: flex;
12167
12298
  flex-direction: column;
12168
12299
  height: ${({ $stickyHeaders }) => $stickyHeaders ? "100%" : "auto"};
@@ -12185,7 +12316,7 @@ var Tabs = forwardRef27(
12185
12316
  onValueChange: setInternalSelectedValue
12186
12317
  } : { value: selectedValue, onValueChange: onSelectedValueChange };
12187
12318
  const currentValue = defaultSelectedValue !== void 0 ? internalSelectedValue : selectedValue;
12188
- return /* @__PURE__ */ jsx264(TabsContainer, { $stickyHeaders: stickyHeaders, children: /* @__PURE__ */ jsx264(
12319
+ return /* @__PURE__ */ jsx265(TabsContainer, { $stickyHeaders: stickyHeaders, children: /* @__PURE__ */ jsx265(
12189
12320
  StyledTabsRoot,
12190
12321
  {
12191
12322
  ref,
@@ -12193,14 +12324,14 @@ var Tabs = forwardRef27(
12193
12324
  activationMode: "automatic",
12194
12325
  ...props,
12195
12326
  ...modeProps,
12196
- children: /* @__PURE__ */ jsx264(TabsValueProvider, { value: currentValue, children: /* @__PURE__ */ jsxs42(SelectedItemStyleProvider, { children: [
12197
- /* @__PURE__ */ jsxs42(
12327
+ children: /* @__PURE__ */ jsx265(TabsValueProvider, { value: currentValue, children: /* @__PURE__ */ jsxs43(SelectedItemStyleProvider, { children: [
12328
+ /* @__PURE__ */ jsxs43(
12198
12329
  TabList,
12199
12330
  {
12200
12331
  ariaLabel,
12201
12332
  fullWidth,
12202
12333
  children: [
12203
- /* @__PURE__ */ jsx264(SelectedItemIndicator2, {}),
12334
+ /* @__PURE__ */ jsx265(SelectedItemIndicator2, {}),
12204
12335
  tabItems.map((tab) => {
12205
12336
  const {
12206
12337
  value,
@@ -12210,7 +12341,7 @@ var Tabs = forwardRef27(
12210
12341
  "aria-label": ariaLabelForTab
12211
12342
  } = tab.props;
12212
12343
  if (isNil15(icon)) {
12213
- return /* @__PURE__ */ jsx264(
12344
+ return /* @__PURE__ */ jsx265(
12214
12345
  TabItem,
12215
12346
  {
12216
12347
  disabled,
@@ -12220,8 +12351,8 @@ var Tabs = forwardRef27(
12220
12351
  value
12221
12352
  );
12222
12353
  }
12223
- if (isNotNil29(label)) {
12224
- return /* @__PURE__ */ jsx264(
12354
+ if (isNotNil30(label)) {
12355
+ return /* @__PURE__ */ jsx265(
12225
12356
  TabItem,
12226
12357
  {
12227
12358
  disabled,
@@ -12232,8 +12363,8 @@ var Tabs = forwardRef27(
12232
12363
  value
12233
12364
  );
12234
12365
  }
12235
- if (isNotNil29(ariaLabelForTab)) {
12236
- return /* @__PURE__ */ jsx264(
12366
+ if (isNotNil30(ariaLabelForTab)) {
12367
+ return /* @__PURE__ */ jsx265(
12237
12368
  TabItem,
12238
12369
  {
12239
12370
  "aria-label": ariaLabelForTab,
@@ -12249,7 +12380,7 @@ var Tabs = forwardRef27(
12249
12380
  ]
12250
12381
  }
12251
12382
  ),
12252
- /* @__PURE__ */ jsx264(StickyTabContent, { $stickyHeaders: stickyHeaders, children: tabItems.map((tab) => /* @__PURE__ */ jsx264(
12383
+ /* @__PURE__ */ jsx265(StickyTabContent, { $stickyHeaders: stickyHeaders, children: tabItems.map((tab) => /* @__PURE__ */ jsx265(
12253
12384
  TabPanel,
12254
12385
  {
12255
12386
  value: tab.props.value,
@@ -12266,18 +12397,18 @@ Tabs.displayName = "Tabs";
12266
12397
 
12267
12398
  // src/components/Tabs/Tab.tsx
12268
12399
  import { forwardRef as forwardRef28 } from "react";
12269
- import { jsx as jsx265 } from "react/jsx-runtime";
12400
+ import { jsx as jsx266 } from "react/jsx-runtime";
12270
12401
  var Tab = forwardRef28(({ children }, ref) => {
12271
- return /* @__PURE__ */ jsx265("div", { ref, children });
12402
+ return /* @__PURE__ */ jsx266("div", { ref, children });
12272
12403
  });
12273
12404
  Tab.displayName = "Tab";
12274
12405
 
12275
12406
  // src/components/Tag/Tag.tsx
12276
12407
  import { forwardRef as forwardRef29 } from "react";
12277
- import styled70 from "styled-components";
12278
- import { isNil as isNil16, isNotNil as isNotNil30, isNonEmptyString as isNonEmptyString5 } from "@wistia/type-guards";
12279
- import { Fragment as Fragment8, jsx as jsx266, jsxs as jsxs43 } from "react/jsx-runtime";
12280
- var TagLabel = styled70.a`
12408
+ import styled71 from "styled-components";
12409
+ import { isNil as isNil16, isNotNil as isNotNil31, isNonEmptyString as isNonEmptyString5 } from "@wistia/type-guards";
12410
+ import { Fragment as Fragment8, jsx as jsx267, jsxs as jsxs44 } from "react/jsx-runtime";
12411
+ var TagLabel = styled71.a`
12281
12412
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12282
12413
  font-size: var(--wui-typography-label-4-size);
12283
12414
  font-weight: var(--wui-typography-label-4-weight);
@@ -12312,14 +12443,14 @@ var TagLabel = styled70.a`
12312
12443
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
12313
12444
  }
12314
12445
  `;
12315
- var TagDivider = styled70.div`
12446
+ var TagDivider = styled71.div`
12316
12447
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12317
12448
  border-left: 1px solid var(--wui-color-border);
12318
12449
  display: flex;
12319
12450
  height: 14px;
12320
12451
  width: 1px;
12321
12452
  `;
12322
- var StyledRemoveButton = styled70.button`
12453
+ var StyledRemoveButton = styled71.button`
12323
12454
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12324
12455
  all: unset;
12325
12456
  cursor: pointer;
@@ -12347,7 +12478,7 @@ var StyledRemoveButton = styled70.button`
12347
12478
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
12348
12479
  }
12349
12480
  `;
12350
- var StyledTag = styled70.div`
12481
+ var StyledTag = styled71.div`
12351
12482
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12352
12483
  align-items: center;
12353
12484
  background-color: var(--wui-color-bg-surface-secondary);
@@ -12368,23 +12499,23 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
12368
12499
  "for accessibility, onClickRemoveLabel must be provided if onClickRemove is provided"
12369
12500
  );
12370
12501
  }
12371
- return /* @__PURE__ */ jsxs43(Fragment8, { children: [
12372
- /* @__PURE__ */ jsx266(TagDivider, { $colorScheme: colorScheme }),
12373
- /* @__PURE__ */ jsxs43(
12502
+ return /* @__PURE__ */ jsxs44(Fragment8, { children: [
12503
+ /* @__PURE__ */ jsx267(TagDivider, { $colorScheme: colorScheme }),
12504
+ /* @__PURE__ */ jsxs44(
12374
12505
  StyledRemoveButton,
12375
12506
  {
12376
12507
  $colorScheme: colorScheme,
12377
12508
  onClick: onClickRemove,
12378
12509
  type: "button",
12379
12510
  children: [
12380
- /* @__PURE__ */ jsx266(
12511
+ /* @__PURE__ */ jsx267(
12381
12512
  Icon,
12382
12513
  {
12383
12514
  size: "sm",
12384
12515
  type: "close"
12385
12516
  }
12386
12517
  ),
12387
- /* @__PURE__ */ jsx266(ScreenReaderOnly, { children: onClickRemoveLabel })
12518
+ /* @__PURE__ */ jsx267(ScreenReaderOnly, { children: onClickRemoveLabel })
12388
12519
  ]
12389
12520
  }
12390
12521
  )
@@ -12392,16 +12523,16 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
12392
12523
  };
12393
12524
  var Tag = forwardRef29(
12394
12525
  ({ onClickRemove, colorScheme = "inherit", href, icon, label, onClickRemoveLabel, ...props }, ref) => {
12395
- const hasIcon = isNotNil30(icon);
12396
- const labelProps = isNotNil30(href) && isNonEmptyString5(href) ? { href, as: "a" } : { as: "span" };
12397
- return /* @__PURE__ */ jsxs43(
12526
+ const hasIcon = isNotNil31(icon);
12527
+ const labelProps = isNotNil31(href) && isNonEmptyString5(href) ? { href, as: "a" } : { as: "span" };
12528
+ return /* @__PURE__ */ jsxs44(
12398
12529
  StyledTag,
12399
12530
  {
12400
12531
  ref,
12401
12532
  $colorScheme: colorScheme,
12402
12533
  ...props,
12403
12534
  children: [
12404
- /* @__PURE__ */ jsxs43(
12535
+ /* @__PURE__ */ jsxs44(
12405
12536
  TagLabel,
12406
12537
  {
12407
12538
  ...labelProps,
@@ -12412,7 +12543,7 @@ var Tag = forwardRef29(
12412
12543
  ]
12413
12544
  }
12414
12545
  ),
12415
- /* @__PURE__ */ jsx266(
12546
+ /* @__PURE__ */ jsx267(
12416
12547
  RemoveButton,
12417
12548
  {
12418
12549
  colorScheme,
@@ -12428,10 +12559,10 @@ var Tag = forwardRef29(
12428
12559
  Tag.displayName = "Tag";
12429
12560
 
12430
12561
  // src/components/Thumbnail/ThumbnailBadge.tsx
12431
- import styled71 from "styled-components";
12432
- import { isNotNil as isNotNil31 } from "@wistia/type-guards";
12433
- import { jsx as jsx267, jsxs as jsxs44 } from "react/jsx-runtime";
12434
- var StyledThumbnailBadge = styled71.div`
12562
+ import styled72 from "styled-components";
12563
+ import { isNotNil as isNotNil32 } from "@wistia/type-guards";
12564
+ import { jsx as jsx268, jsxs as jsxs45 } from "react/jsx-runtime";
12565
+ var StyledThumbnailBadge = styled72.div`
12435
12566
  align-items: center;
12436
12567
  background-color: rgb(0 0 0 / 50%);
12437
12568
  border-radius: var(--wui-border-radius-01);
@@ -12456,20 +12587,20 @@ var StyledThumbnailBadge = styled71.div`
12456
12587
  }
12457
12588
  `;
12458
12589
  var ThumbnailBadge = ({ icon, label, ...props }) => {
12459
- return /* @__PURE__ */ jsxs44(StyledThumbnailBadge, { ...props, children: [
12460
- isNotNil31(icon) && icon,
12461
- /* @__PURE__ */ jsx267("span", { children: label })
12590
+ return /* @__PURE__ */ jsxs45(StyledThumbnailBadge, { ...props, children: [
12591
+ isNotNil32(icon) && icon,
12592
+ /* @__PURE__ */ jsx268("span", { children: label })
12462
12593
  ] });
12463
12594
  };
12464
12595
  ThumbnailBadge.displayName = "ThumbnailBadge";
12465
12596
 
12466
12597
  // src/components/Thumbnail/Thumbnail.tsx
12467
12598
  import { forwardRef as forwardRef30 } from "react";
12468
- import styled72 from "styled-components";
12469
- import { isNil as isNil17, isNotNil as isNotNil33 } from "@wistia/type-guards";
12599
+ import styled73 from "styled-components";
12600
+ import { isNil as isNil17, isNotNil as isNotNil34 } from "@wistia/type-guards";
12470
12601
 
12471
12602
  // src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
12472
- import { isNotNil as isNotNil32 } from "@wistia/type-guards";
12603
+ import { isNotNil as isNotNil33 } from "@wistia/type-guards";
12473
12604
  import { css as css37 } from "styled-components";
12474
12605
  var gradients = {
12475
12606
  defaultDarkOne: css37`
@@ -12597,24 +12728,24 @@ var gradients = {
12597
12728
  };
12598
12729
  var gradientMap = Object.keys(gradients);
12599
12730
  var getBackgroundGradient = (gradientName = void 0) => {
12600
- return isNotNil32(gradientName) ? gradients[gradientName] : gradients.defaultDarkOne;
12731
+ return isNotNil33(gradientName) ? gradients[gradientName] : gradients.defaultDarkOne;
12601
12732
  };
12602
12733
 
12603
12734
  // src/components/Thumbnail/Thumbnail.tsx
12604
- import { jsx as jsx268, jsxs as jsxs45 } from "react/jsx-runtime";
12605
- var WideThumbnailImage = styled72.img`
12735
+ import { jsx as jsx269, jsxs as jsxs46 } from "react/jsx-runtime";
12736
+ var WideThumbnailImage = styled73.img`
12606
12737
  height: 100%;
12607
12738
  object-fit: cover;
12608
12739
  width: 100%;
12609
12740
  `;
12610
- var SquareThumbnailImage = styled72.img`
12741
+ var SquareThumbnailImage = styled73.img`
12611
12742
  backdrop-filter: blur(8px);
12612
12743
  object-fit: contain;
12613
12744
  width: 100%;
12614
12745
  `;
12615
12746
  var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
12616
12747
  if (thumbnailImageType === "wide") {
12617
- return /* @__PURE__ */ jsx268(
12748
+ return /* @__PURE__ */ jsx269(
12618
12749
  WideThumbnailImage,
12619
12750
  {
12620
12751
  alt: "",
@@ -12623,7 +12754,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
12623
12754
  }
12624
12755
  );
12625
12756
  }
12626
- return /* @__PURE__ */ jsx268(
12757
+ return /* @__PURE__ */ jsx269(
12627
12758
  SquareThumbnailImage,
12628
12759
  {
12629
12760
  alt: "",
@@ -12632,8 +12763,8 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
12632
12763
  }
12633
12764
  );
12634
12765
  };
12635
- var StyledThumbnail = styled72.div`
12636
- background-image: ${({ $backgroundUrl }) => isNotNil33($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
12766
+ var StyledThumbnail = styled73.div`
12767
+ background-image: ${({ $backgroundUrl }) => isNotNil34($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
12637
12768
  ${({ $backgroundUrl, $gradientBackground }) => (
12638
12769
  // if we don't have $backgroundUrl show a gradient
12639
12770
  isNil17($backgroundUrl) ? getBackgroundGradient($gradientBackground) : void 0
@@ -12660,8 +12791,8 @@ var Thumbnail = forwardRef30(
12660
12791
  children,
12661
12792
  ...props
12662
12793
  }, ref) => {
12663
- const backgroundUrl = thumbnailImageType === "square" && isNotNil33(thumbnailUrl) ? thumbnailUrl : void 0;
12664
- return /* @__PURE__ */ jsxs45(
12794
+ const backgroundUrl = thumbnailImageType === "square" && isNotNil34(thumbnailUrl) ? thumbnailUrl : void 0;
12795
+ return /* @__PURE__ */ jsxs46(
12665
12796
  StyledThumbnail,
12666
12797
  {
12667
12798
  ref,
@@ -12671,8 +12802,8 @@ var Thumbnail = forwardRef30(
12671
12802
  $width: width,
12672
12803
  role: "presentation",
12673
12804
  children: [
12674
- isNotNil33(children) ? children : null,
12675
- isNotNil33(thumbnailUrl) ? /* @__PURE__ */ jsx268(
12805
+ isNotNil34(children) ? children : null,
12806
+ isNotNil34(thumbnailUrl) ? /* @__PURE__ */ jsx269(
12676
12807
  ThumbnailImage,
12677
12808
  {
12678
12809
  thumbnailImageType,
@@ -12688,10 +12819,10 @@ Thumbnail.displayName = "Thumbnail";
12688
12819
 
12689
12820
  // src/components/ThumbnailCollage/ThumbnailCollage.tsx
12690
12821
  import React2 from "react";
12691
- import styled73 from "styled-components";
12822
+ import styled74 from "styled-components";
12692
12823
  import { isNonEmptyArray } from "@wistia/type-guards";
12693
- import { jsx as jsx269 } from "react/jsx-runtime";
12694
- var StyledThumbnailCollage = styled73.div`
12824
+ import { jsx as jsx270 } from "react/jsx-runtime";
12825
+ var StyledThumbnailCollage = styled74.div`
12695
12826
  display: grid;
12696
12827
  gap: var(--wui-space-01);
12697
12828
  width: 100%;
@@ -12773,7 +12904,7 @@ var ThumbnailCollage = ({
12773
12904
  });
12774
12905
  }) : [
12775
12906
  // ThumbnailCollage will fallback to a Thumbnail with a gradient background if no children are provided
12776
- /* @__PURE__ */ jsx269(
12907
+ /* @__PURE__ */ jsx270(
12777
12908
  Thumbnail,
12778
12909
  {
12779
12910
  gradientBackground,
@@ -12782,7 +12913,7 @@ var ThumbnailCollage = ({
12782
12913
  "fallback"
12783
12914
  )
12784
12915
  ];
12785
- return /* @__PURE__ */ jsx269(
12916
+ return /* @__PURE__ */ jsx270(
12786
12917
  StyledThumbnailCollage,
12787
12918
  {
12788
12919
  $gradientBackground: gradientBackground,
@@ -12794,26 +12925,26 @@ var ThumbnailCollage = ({
12794
12925
  };
12795
12926
 
12796
12927
  // src/components/WistiaLogo/WistiaLogo.tsx
12797
- import styled74, { css as css38 } from "styled-components";
12798
- import { isNotNil as isNotNil34 } from "@wistia/type-guards";
12799
- import { jsx as jsx270, jsxs as jsxs46 } from "react/jsx-runtime";
12928
+ import styled75, { css as css38 } from "styled-components";
12929
+ import { isNotNil as isNotNil35 } from "@wistia/type-guards";
12930
+ import { jsx as jsx271, jsxs as jsxs47 } from "react/jsx-runtime";
12800
12931
  var renderBrandmark = (brandmarkColor, iconOnly) => {
12801
12932
  if (iconOnly) {
12802
- return /* @__PURE__ */ jsx270(
12933
+ return /* @__PURE__ */ jsx271(
12803
12934
  "g",
12804
12935
  {
12805
12936
  "data-testid": "ui-wistia-logo-brandmark",
12806
12937
  fill: brandmarkColor,
12807
- children: /* @__PURE__ */ jsx270("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" })
12938
+ children: /* @__PURE__ */ jsx271("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" })
12808
12939
  }
12809
12940
  );
12810
12941
  }
12811
- return /* @__PURE__ */ jsx270(
12942
+ return /* @__PURE__ */ jsx271(
12812
12943
  "g",
12813
12944
  {
12814
12945
  "data-testid": "ui-wistia-logo-brandmark",
12815
12946
  fill: brandmarkColor,
12816
- children: /* @__PURE__ */ jsx270("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" })
12947
+ children: /* @__PURE__ */ jsx271("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" })
12817
12948
  }
12818
12949
  );
12819
12950
  };
@@ -12821,12 +12952,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
12821
12952
  if (iconOnly) {
12822
12953
  return null;
12823
12954
  }
12824
- return /* @__PURE__ */ jsx270(
12955
+ return /* @__PURE__ */ jsx271(
12825
12956
  "g",
12826
12957
  {
12827
12958
  "data-testid": "ui-wistia-logo-logotype",
12828
12959
  fill: logotypeColor,
12829
- children: /* @__PURE__ */ jsx270("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" })
12960
+ children: /* @__PURE__ */ jsx271("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" })
12830
12961
  }
12831
12962
  );
12832
12963
  };
@@ -12836,7 +12967,7 @@ var computedViewBox = (iconOnly) => {
12836
12967
  }
12837
12968
  return "0 0 144 31.47";
12838
12969
  };
12839
- var WistiaLogoComponent = styled74.svg`
12970
+ var WistiaLogoComponent = styled75.svg`
12840
12971
  height: ${({ height }) => `${height}px`};
12841
12972
 
12842
12973
  /* ensure it will always fit on mobile */
@@ -12894,7 +13025,7 @@ var WistiaLogo = ({
12894
13025
  };
12895
13026
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
12896
13027
  const logotypeColor = VARIANT_COLORS[variant].logotype;
12897
- const Logo = /* @__PURE__ */ jsxs46(
13028
+ const Logo = /* @__PURE__ */ jsxs47(
12898
13029
  WistiaLogoComponent,
12899
13030
  {
12900
13031
  $hoverColor: hoverColor,
@@ -12907,14 +13038,14 @@ var WistiaLogo = ({
12907
13038
  xmlns: "http://www.w3.org/2000/svg",
12908
13039
  ...props,
12909
13040
  children: [
12910
- /* @__PURE__ */ jsx270("title", { children: title }),
12911
- isNotNil34(description) ? /* @__PURE__ */ jsx270("desc", { children: description }) : null,
13041
+ /* @__PURE__ */ jsx271("title", { children: title }),
13042
+ isNotNil35(description) ? /* @__PURE__ */ jsx271("desc", { children: description }) : null,
12912
13043
  renderBrandmark(brandmarkColor, iconOnly),
12913
13044
  renderLogotype(logotypeColor, iconOnly)
12914
13045
  ]
12915
13046
  }
12916
13047
  );
12917
- return href !== void 0 ? /* @__PURE__ */ jsx270("a", { href, children: Logo }) : Logo;
13048
+ return href !== void 0 ? /* @__PURE__ */ jsx271("a", { href, children: Logo }) : Logo;
12918
13049
  };
12919
13050
  WistiaLogo.displayName = "WistiaLogo";
12920
13051
  export {
@@ -12956,6 +13087,7 @@ export {
12956
13087
  ImageDimensionsValidator,
12957
13088
  Input,
12958
13089
  InputClickToCopy,
13090
+ KeyboardShortcut,
12959
13091
  Label,
12960
13092
  Link,
12961
13093
  Menu,