@wistia/ui 0.15.0 → 0.15.2-beta.0c7c4a0f.f50819f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.15.0
3
+ * @license @wistia/ui v0.15.2-beta.0c7c4a0f.f50819f
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -125,6 +125,8 @@ __export(index_exports, {
125
125
  MenuLabel: () => MenuLabel,
126
126
  MenuRadioGroup: () => MenuRadioGroup,
127
127
  Modal: () => Modal,
128
+ ModalCallout: () => ModalCallout,
129
+ ModalCallouts: () => ModalCallouts,
128
130
  PersistentFileAmountLimitValidator: () => import_validators.PersistentFileAmountLimitValidator,
129
131
  Popover: () => Popover,
130
132
  ProgressBar: () => ProgressBar,
@@ -12813,7 +12815,6 @@ var defaultDisplayValues = (values, onRemove) => {
12813
12815
  return valueArray.map((selectedValue) => /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
12814
12816
  Tag,
12815
12817
  {
12816
- href: "https://example.com",
12817
12818
  label: selectedValue,
12818
12819
  onClickRemove: () => onRemove(selectedValue),
12819
12820
  onClickRemoveLabel: `Remove ${selectedValue}`
@@ -15424,12 +15425,14 @@ var import_jsx_runtime291 = require("react/jsx-runtime");
15424
15425
  var Header = import_styled_components94.default.header`
15425
15426
  display: flex;
15426
15427
  order: 1;
15428
+ padding: 0 var(--wui-space-05);
15429
+ padding-bottom: 0;
15427
15430
  gap: var(--wui-space-01);
15428
15431
  justify-content: ${({ $hideTitle }) => $hideTitle ? "flex-end" : "space-between"}; /* ensure ModalCloseButton is right-aligned */
15429
15432
 
15430
15433
  /* DialogTitle creates an h2 element which inherits some margin */
15431
15434
  h2 {
15432
- margin: 0 0 var(--wui-space-03);
15435
+ margin: 0;
15433
15436
  padding-right: ${({ $hideCloseButon }) => $hideCloseButon ? "0" : "var(--wui-space-03)"};
15434
15437
  }
15435
15438
 
@@ -15591,15 +15594,15 @@ var StyledModalContent = (0, import_styled_components95.default)(import_react_di
15591
15594
  position: fixed;
15592
15595
  display: flex;
15593
15596
  flex-direction: column;
15597
+ gap: var(--wui-space-03);
15594
15598
  top: 0;
15595
15599
  left: 0;
15596
15600
  width: 100vw;
15597
15601
  height: 100vh;
15598
15602
  z-index: var(--wui-zindex-modal);
15599
15603
  box-sizing: border-box;
15600
- padding: var(--wui-space-05);
15604
+ padding: var(--wui-space-05) 0;
15601
15605
  background-color: var(--wui-color-bg-app);
15602
- overflow: auto;
15603
15606
 
15604
15607
  ${mq.smAndUp} {
15605
15608
  position: fixed;
@@ -15672,11 +15675,21 @@ var ModalBody = import_styled_components97.default.div`
15672
15675
  flex-direction: column;
15673
15676
  display: flex;
15674
15677
  flex: 1 0 0;
15678
+ padding: 0 var(--wui-space-05);
15679
+ `;
15680
+ var ModalScrollArea = import_styled_components97.default.div`
15675
15681
  order: 2;
15682
+ max-height: 90vh;
15683
+ overflow-y: auto;
15684
+ `;
15685
+ var ModalFooter = import_styled_components97.default.footer`
15686
+ padding: 0 var(--wui-space-05);
15687
+ order: 3;
15676
15688
  `;
15677
15689
  var Modal = (0, import_react80.forwardRef)(
15678
15690
  ({
15679
15691
  children,
15692
+ footer,
15680
15693
  hideCloseButton = false,
15681
15694
  hideTitle = false,
15682
15695
  initialFocusRef,
@@ -15714,7 +15727,8 @@ var Modal = (0, import_react80.forwardRef)(
15714
15727
  width,
15715
15728
  ...props,
15716
15729
  children: [
15717
- /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(ModalBody, { children }),
15730
+ /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(ModalScrollArea, { children: /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(ModalBody, { children }) }),
15731
+ (0, import_type_guards56.isNotNil)(footer) ? /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(ModalFooter, { children: footer }) : null,
15718
15732
  hideCloseButton && hideTitle ? null : /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(
15719
15733
  ModalHeader,
15720
15734
  {
@@ -15733,6 +15747,28 @@ var Modal = (0, import_react80.forwardRef)(
15733
15747
  );
15734
15748
  Modal.displayName = "Modal_UI";
15735
15749
 
15750
+ // src/components/Modal/ModalCallouts.tsx
15751
+ var import_jsx_runtime294 = require("react/jsx-runtime");
15752
+ var ModalCallouts = ({ children }) => {
15753
+ return /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
15754
+ Stack,
15755
+ {
15756
+ direction: "horizontal",
15757
+ gap: "space-08",
15758
+ children
15759
+ }
15760
+ );
15761
+ };
15762
+ ModalCallouts.displayName = "ModalCallouts_UI";
15763
+ var ModalCallout = ({ title, image, children }) => {
15764
+ return /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)(Stack, { direction: "vertical", children: [
15765
+ image,
15766
+ /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(Heading, { variant: "heading4", children: title }),
15767
+ children
15768
+ ] });
15769
+ };
15770
+ ModalCallout.displayName = "ModalCallout_UI";
15771
+
15736
15772
  // src/components/Popover/Popover.tsx
15737
15773
  var import_react_popover5 = require("@radix-ui/react-popover");
15738
15774
  var import_styled_components99 = __toESM(require("styled-components"));
@@ -15746,7 +15782,7 @@ var getControlProps = (isOpen, onOpenChange) => {
15746
15782
  // src/components/Popover/PopoverArrow.tsx
15747
15783
  var import_react_popover4 = require("@radix-ui/react-popover");
15748
15784
  var import_styled_components98 = __toESM(require("styled-components"));
15749
- var import_jsx_runtime294 = require("react/jsx-runtime");
15785
+ var import_jsx_runtime295 = require("react/jsx-runtime");
15750
15786
  var StyledPath = import_styled_components98.default.path`
15751
15787
  fill: var(--wui-color-border-secondary);
15752
15788
  `;
@@ -15785,7 +15821,7 @@ var StyledCircle = import_styled_components98.default.circle`
15785
15821
  }
15786
15822
  `;
15787
15823
  var PopoverArrow = ({ isAnimated }) => {
15788
- return /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_popover4.PopoverArrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)(
15824
+ return /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_popover4.PopoverArrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)(
15789
15825
  "svg",
15790
15826
  {
15791
15827
  fill: "none",
@@ -15794,8 +15830,8 @@ var PopoverArrow = ({ isAnimated }) => {
15794
15830
  width: "48",
15795
15831
  xmlns: "http://www.w3.org/2000/svg",
15796
15832
  children: [
15797
- /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(StyledPath, { d: "M24 26.6667C21.0545 26.6667 18.6667 29.0545 18.6667 32C18.6667 34.9455 21.0545 37.3333 24 37.3333C26.9455 37.3333 29.3333 34.9455 29.3333 32C29.3333 29.0545 26.9455 26.6667 24 26.6667ZM23 0V32H25V0H23Z" }),
15798
- /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
15833
+ /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(StyledPath, { d: "M24 26.6667C21.0545 26.6667 18.6667 29.0545 18.6667 32C18.6667 34.9455 21.0545 37.3333 24 37.3333C26.9455 37.3333 29.3333 34.9455 29.3333 32C29.3333 29.0545 26.9455 26.6667 24 26.6667ZM23 0V32H25V0H23Z" }),
15834
+ /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
15799
15835
  StyledCircle,
15800
15836
  {
15801
15837
  $isAnimated: isAnimated,
@@ -15806,7 +15842,7 @@ var PopoverArrow = ({ isAnimated }) => {
15806
15842
  strokeWidth: "4"
15807
15843
  }
15808
15844
  ),
15809
- /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
15845
+ /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
15810
15846
  StyledCircle,
15811
15847
  {
15812
15848
  $isAnimated: isAnimated,
@@ -15824,7 +15860,7 @@ var PopoverArrow = ({ isAnimated }) => {
15824
15860
  PopoverArrow.displayName = "PopoverArrow_UI";
15825
15861
 
15826
15862
  // src/components/Popover/Popover.tsx
15827
- var import_jsx_runtime295 = require("react/jsx-runtime");
15863
+ var import_jsx_runtime296 = require("react/jsx-runtime");
15828
15864
  var StyledContent2 = (0, import_styled_components99.default)(import_react_popover5.Content)`
15829
15865
  z-index: var(--wui-zindex-popover);
15830
15866
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
@@ -15864,9 +15900,9 @@ var Popover = ({
15864
15900
  "--wui-popover-max-width": maxWidth,
15865
15901
  "--wui-popover-max-height": maxHeight
15866
15902
  };
15867
- return /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)(import_react_popover5.Root, { ...getControlProps(isOpen, onOpenChange), children: [
15868
- /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_popover5.Trigger, { asChild: true, children: trigger }),
15869
- /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_popover5.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)(
15903
+ return /* @__PURE__ */ (0, import_jsx_runtime296.jsxs)(import_react_popover5.Root, { ...getControlProps(isOpen, onOpenChange), children: [
15904
+ /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(import_react_popover5.Trigger, { asChild: true, children: trigger }),
15905
+ /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(import_react_popover5.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime296.jsxs)(
15870
15906
  StyledContent2,
15871
15907
  {
15872
15908
  $colorScheme: colorScheme,
@@ -15875,17 +15911,17 @@ var Popover = ({
15875
15911
  $unstyled: unstyled,
15876
15912
  style,
15877
15913
  children: [
15878
- !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_popover5.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
15914
+ !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(import_react_popover5.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
15879
15915
  IconButton,
15880
15916
  {
15881
15917
  "data-wui-popover-close": true,
15882
15918
  label: "Close",
15883
15919
  variant: "ghost",
15884
- children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(Icon, { type: "close" })
15920
+ children: /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(Icon, { type: "close" })
15885
15921
  }
15886
15922
  ) }),
15887
- withArrow ? /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(PopoverArrow, { isAnimated }) : null,
15888
- /* @__PURE__ */ (0, import_jsx_runtime295.jsx)("div", { children })
15923
+ withArrow ? /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(PopoverArrow, { isAnimated }) : null,
15924
+ /* @__PURE__ */ (0, import_jsx_runtime296.jsx)("div", { children })
15889
15925
  ]
15890
15926
  }
15891
15927
  ) })
@@ -15897,7 +15933,7 @@ Popover.displayName = "Popover_UI";
15897
15933
  var import_styled_components100 = __toESM(require("styled-components"));
15898
15934
  var import_react_progress = require("@radix-ui/react-progress");
15899
15935
  var import_type_guards58 = require("@wistia/type-guards");
15900
- var import_jsx_runtime296 = require("react/jsx-runtime");
15936
+ var import_jsx_runtime297 = require("react/jsx-runtime");
15901
15937
  var ProgressBarWrapper = import_styled_components100.default.div`
15902
15938
  --progress-bar-height: 8px;
15903
15939
 
@@ -15951,16 +15987,16 @@ var ProgressBar = ({
15951
15987
  colorScheme = "inherit",
15952
15988
  ...props
15953
15989
  }) => {
15954
- return /* @__PURE__ */ (0, import_jsx_runtime296.jsxs)(ProgressBarWrapper, { children: [
15955
- (0, import_type_guards58.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
15956
- /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
15990
+ return /* @__PURE__ */ (0, import_jsx_runtime297.jsxs)(ProgressBarWrapper, { children: [
15991
+ (0, import_type_guards58.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
15992
+ /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
15957
15993
  StyledProgressBar,
15958
15994
  {
15959
15995
  $colorScheme: colorScheme,
15960
15996
  max,
15961
15997
  value: progress,
15962
15998
  ...props,
15963
- children: /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
15999
+ children: /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
15964
16000
  StyledProgressIndicator,
15965
16001
  {
15966
16002
  $colorScheme: colorScheme,
@@ -15970,7 +16006,7 @@ var ProgressBar = ({
15970
16006
  )
15971
16007
  }
15972
16008
  ),
15973
- (0, import_type_guards58.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(ProgressBarLabel, { children: labelRight }) : null
16009
+ (0, import_type_guards58.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(ProgressBarLabel, { children: labelRight }) : null
15974
16010
  ] });
15975
16011
  };
15976
16012
  ProgressBar.displayName = "ProgressBar_UI";
@@ -15979,7 +16015,7 @@ ProgressBar.displayName = "ProgressBar_UI";
15979
16015
  var import_type_guards59 = require("@wistia/type-guards");
15980
16016
  var import_react81 = require("react");
15981
16017
  var import_styled_components101 = __toESM(require("styled-components"));
15982
- var import_jsx_runtime297 = require("react/jsx-runtime");
16018
+ var import_jsx_runtime298 = require("react/jsx-runtime");
15983
16019
  var sizeSmall2 = import_styled_components101.css`
15984
16020
  --wui-radio-size: 14px;
15985
16021
  --wui-radio-icon-size: 7px;
@@ -16084,14 +16120,14 @@ var Radio = (0, import_react81.forwardRef)(
16084
16120
  const radioName = name ?? contextName;
16085
16121
  const handleOnChange = onChange ?? contextOnChange;
16086
16122
  const isChecked = (0, import_type_guards59.isNotUndefined)(value) && (0, import_type_guards59.isNotUndefined)(contextValue) ? contextValue === value : checked;
16087
- return /* @__PURE__ */ (0, import_jsx_runtime297.jsxs)(
16123
+ return /* @__PURE__ */ (0, import_jsx_runtime298.jsxs)(
16088
16124
  StyledRadioWrapper,
16089
16125
  {
16090
16126
  $disabled: disabled,
16091
16127
  $hideLabel: hideLabel,
16092
16128
  "aria-invalid": props["aria-invalid"],
16093
16129
  children: [
16094
- /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
16130
+ /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
16095
16131
  StyledHiddenRadioInput,
16096
16132
  {
16097
16133
  ...props,
@@ -16106,10 +16142,10 @@ var Radio = (0, import_react81.forwardRef)(
16106
16142
  value
16107
16143
  }
16108
16144
  ),
16109
- /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
16145
+ /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
16110
16146
  FormControlLabel,
16111
16147
  {
16112
- controlSlot: /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(StyledRadioInput, { $size: size }),
16148
+ controlSlot: /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(StyledRadioInput, { $size: size }),
16113
16149
  description,
16114
16150
  disabled,
16115
16151
  hideLabel,
@@ -16131,7 +16167,7 @@ var import_react83 = require("react");
16131
16167
  var import_react82 = require("react");
16132
16168
  var import_styled_components102 = __toESM(require("styled-components"));
16133
16169
  var import_type_guards60 = require("@wistia/type-guards");
16134
- var import_jsx_runtime298 = require("react/jsx-runtime");
16170
+ var import_jsx_runtime299 = require("react/jsx-runtime");
16135
16171
  var checkedStyles = import_styled_components102.css`
16136
16172
  --wui-radio-card-border-color: var(--wui-color-focus-ring);
16137
16173
  --wui-color-icon: var(--wui-color-icon-selected);
@@ -16260,14 +16296,14 @@ var RadioCardRoot = (0, import_react82.forwardRef)(
16260
16296
  const radioName = name ?? contextName;
16261
16297
  const handleOnChange = onChange ?? contextOnChange;
16262
16298
  const isChecked = (0, import_type_guards60.isNotUndefined)(value) && (0, import_type_guards60.isNotUndefined)(contextValue) ? contextValue === value : checked;
16263
- return /* @__PURE__ */ (0, import_jsx_runtime298.jsxs)(
16299
+ return /* @__PURE__ */ (0, import_jsx_runtime299.jsxs)(
16264
16300
  StyledCard2,
16265
16301
  {
16266
16302
  $aspectRatio: aspectRatio,
16267
16303
  $padding: padding,
16268
16304
  htmlFor: computedId,
16269
16305
  children: [
16270
- /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
16306
+ /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(
16271
16307
  StyledHiddenInput,
16272
16308
  {
16273
16309
  ...props,
@@ -16344,7 +16380,7 @@ var RadioCardIndicator = import_styled_components103.default.div`
16344
16380
  RadioCardIndicator.displayName = "RadioCardIndicator_UI";
16345
16381
 
16346
16382
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
16347
- var import_jsx_runtime299 = require("react/jsx-runtime");
16383
+ var import_jsx_runtime300 = require("react/jsx-runtime");
16348
16384
  var StyledCardContent = import_styled_components104.default.div`
16349
16385
  display: grid;
16350
16386
  grid-auto-flow: column;
@@ -16364,18 +16400,18 @@ var RadioCardDefaultLayout = ({
16364
16400
  description,
16365
16401
  showIndicator = true
16366
16402
  }) => {
16367
- return /* @__PURE__ */ (0, import_jsx_runtime299.jsxs)(StyledCardContent, { children: [
16368
- showIndicator ? /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(StyledIndicatorContainer, { $hasIcon: (0, import_type_guards61.isNotNil)(icon), children: /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
16369
- /* @__PURE__ */ (0, import_jsx_runtime299.jsxs)(Stack, { gap: "space-02", children: [
16370
- (0, import_type_guards61.isNotNil)(icon) && /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
16371
- /* @__PURE__ */ (0, import_jsx_runtime299.jsxs)(
16403
+ return /* @__PURE__ */ (0, import_jsx_runtime300.jsxs)(StyledCardContent, { children: [
16404
+ showIndicator ? /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(StyledIndicatorContainer, { $hasIcon: (0, import_type_guards61.isNotNil)(icon), children: /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
16405
+ /* @__PURE__ */ (0, import_jsx_runtime300.jsxs)(Stack, { gap: "space-02", children: [
16406
+ (0, import_type_guards61.isNotNil)(icon) && /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
16407
+ /* @__PURE__ */ (0, import_jsx_runtime300.jsxs)(
16372
16408
  Stack,
16373
16409
  {
16374
16410
  gap: "space-01",
16375
16411
  style: (0, import_type_guards61.isNotNil)(icon) ? { paddingLeft: 2 } : void 0,
16376
16412
  children: [
16377
- (0, import_type_guards61.isNotNil)(label) && /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(Text, { variant: "label3", children: /* @__PURE__ */ (0, import_jsx_runtime299.jsx)("strong", { children: label }) }),
16378
- (0, import_type_guards61.isNotNil)(description) && /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(
16413
+ (0, import_type_guards61.isNotNil)(label) && /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(Text, { variant: "label3", children: /* @__PURE__ */ (0, import_jsx_runtime300.jsx)("strong", { children: label }) }),
16414
+ (0, import_type_guards61.isNotNil)(description) && /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
16379
16415
  Text,
16380
16416
  {
16381
16417
  prominence: "secondary",
@@ -16398,16 +16434,16 @@ var RadioCardChildrenContainer = import_styled_components105.default.div`
16398
16434
  `;
16399
16435
 
16400
16436
  // src/components/RadioCard/RadioCard.tsx
16401
- var import_jsx_runtime300 = require("react/jsx-runtime");
16437
+ var import_jsx_runtime301 = require("react/jsx-runtime");
16402
16438
  var RadioCard = (0, import_react83.forwardRef)(
16403
16439
  ({ icon, label, description, showIndicator, children, ...rootProps }, ref) => {
16404
- return /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
16440
+ return /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(
16405
16441
  RadioCardRoot,
16406
16442
  {
16407
16443
  ref,
16408
16444
  padding: children != null ? "space-00" : "space-04",
16409
16445
  ...rootProps,
16410
- children: children != null ? /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(RadioCardChildrenContainer, { "data-wui-radio-card-image": "cover", children }) : /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
16446
+ children: children != null ? /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(RadioCardChildrenContainer, { "data-wui-radio-card-image": "cover", children }) : /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(
16411
16447
  RadioCardDefaultLayout,
16412
16448
  {
16413
16449
  description,
@@ -16424,17 +16460,17 @@ RadioCard.displayName = "RadioCard_UI";
16424
16460
 
16425
16461
  // src/components/RadioCard/RadioCardImage.tsx
16426
16462
  var import_react84 = require("react");
16427
- var import_jsx_runtime301 = require("react/jsx-runtime");
16463
+ var import_jsx_runtime302 = require("react/jsx-runtime");
16428
16464
  var RadioCardImage = (0, import_react84.forwardRef)(
16429
16465
  ({ label, imageSrc, aspectRatio, padding = "space-04", ...rootProps }, ref) => {
16430
- return /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(
16466
+ return /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(
16431
16467
  RadioCardRoot,
16432
16468
  {
16433
16469
  ref,
16434
16470
  ...rootProps,
16435
16471
  aspectRatio,
16436
16472
  padding,
16437
- children: /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(
16473
+ children: /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(
16438
16474
  Image,
16439
16475
  {
16440
16476
  alt: label,
@@ -16454,7 +16490,7 @@ RadioCardImage.displayName = "RadioCardImage_UI";
16454
16490
  var import_react85 = require("react");
16455
16491
  var import_styled_components106 = __toESM(require("styled-components"));
16456
16492
  var import_throttle_debounce2 = require("throttle-debounce");
16457
- var import_jsx_runtime302 = require("react/jsx-runtime");
16493
+ var import_jsx_runtime303 = require("react/jsx-runtime");
16458
16494
  var SHADOW_SIZE_PX = 8;
16459
16495
  var Container10 = import_styled_components106.default.div`
16460
16496
  overflow: hidden;
@@ -16534,12 +16570,12 @@ var ScrollArea = (0, import_react85.forwardRef)(
16534
16570
  (0, import_react85.useEffect)(() => {
16535
16571
  updateShadows();
16536
16572
  }, [updateShadows]);
16537
- return /* @__PURE__ */ (0, import_jsx_runtime302.jsxs)(Container10, { style, children: [
16538
- /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(ShadowAtTop, { $isVisible: shadowState.canScrollUp }),
16539
- /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(ShadowAtBottom, { $isVisible: shadowState.canScrollDown }),
16540
- /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(ShadowAtLeft, { $isVisible: shadowState.canScrollLeft }),
16541
- /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(ShadowAtRight, { $isVisible: shadowState.canScrollRight }),
16542
- /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(
16573
+ return /* @__PURE__ */ (0, import_jsx_runtime303.jsxs)(Container10, { style, children: [
16574
+ /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(ShadowAtTop, { $isVisible: shadowState.canScrollUp }),
16575
+ /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(ShadowAtBottom, { $isVisible: shadowState.canScrollDown }),
16576
+ /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(ShadowAtLeft, { $isVisible: shadowState.canScrollLeft }),
16577
+ /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(ShadowAtRight, { $isVisible: shadowState.canScrollRight }),
16578
+ /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(
16543
16579
  ScrollContainer,
16544
16580
  {
16545
16581
  ref: scrollContainerRef,
@@ -16561,7 +16597,7 @@ var import_type_guards63 = require("@wistia/type-guards");
16561
16597
 
16562
16598
  // src/components/SegmentedControl/useSelectedItemStyle.tsx
16563
16599
  var import_react86 = require("react");
16564
- var import_jsx_runtime303 = require("react/jsx-runtime");
16600
+ var import_jsx_runtime304 = require("react/jsx-runtime");
16565
16601
  var SelectedItemStyleContext = (0, import_react86.createContext)(null);
16566
16602
  var SelectedItemStyleProvider = ({
16567
16603
  children
@@ -16582,7 +16618,7 @@ var SelectedItemStyleProvider = ({
16582
16618
  }),
16583
16619
  [selectedItemIndicatorStyle]
16584
16620
  );
16585
- return /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
16621
+ return /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
16586
16622
  };
16587
16623
  var useSelectedItemStyle = () => {
16588
16624
  const context = (0, import_react86.useContext)(SelectedItemStyleContext);
@@ -16609,7 +16645,7 @@ var useSegmentedControlValue = () => {
16609
16645
  };
16610
16646
 
16611
16647
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
16612
- var import_jsx_runtime304 = require("react/jsx-runtime");
16648
+ var import_jsx_runtime305 = require("react/jsx-runtime");
16613
16649
  var selectedItemIndicatorStyles = import_styled_components107.css`
16614
16650
  background-color: var(--wui-color-bg-fill-white);
16615
16651
  border-radius: var(--wui-border-radius-rounded);
@@ -16631,7 +16667,7 @@ var SelectedItemIndicator = () => {
16631
16667
  if (!selectedValue || (0, import_type_guards62.isUndefined)(selectedItemIndicatorStyle)) {
16632
16668
  return null;
16633
16669
  }
16634
- return /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(
16670
+ return /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(
16635
16671
  SelectedItemIndicatorDiv,
16636
16672
  {
16637
16673
  "data-wui-selected-item-indicator": true,
@@ -16641,7 +16677,7 @@ var SelectedItemIndicator = () => {
16641
16677
  };
16642
16678
 
16643
16679
  // src/components/SegmentedControl/SegmentedControl.tsx
16644
- var import_jsx_runtime305 = require("react/jsx-runtime");
16680
+ var import_jsx_runtime306 = require("react/jsx-runtime");
16645
16681
  var segmentedControlStyles = import_styled_components108.css`
16646
16682
  display: inline-flex;
16647
16683
  background-color: var(--wui-color-bg-surface-secondary);
@@ -16668,7 +16704,7 @@ var SegmentedControl = (0, import_react88.forwardRef)(
16668
16704
  if ((0, import_type_guards63.isNil)(children)) {
16669
16705
  return null;
16670
16706
  }
16671
- return /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(
16707
+ return /* @__PURE__ */ (0, import_jsx_runtime306.jsx)(
16672
16708
  StyledSegmentedControl,
16673
16709
  {
16674
16710
  ref,
@@ -16680,9 +16716,9 @@ var SegmentedControl = (0, import_react88.forwardRef)(
16680
16716
  type: "single",
16681
16717
  value: selectedValue,
16682
16718
  ...props,
16683
- children: /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime305.jsxs)(SelectedItemStyleProvider, { children: [
16719
+ children: /* @__PURE__ */ (0, import_jsx_runtime306.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime306.jsxs)(SelectedItemStyleProvider, { children: [
16684
16720
  children,
16685
- /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(SelectedItemIndicator, {})
16721
+ /* @__PURE__ */ (0, import_jsx_runtime306.jsx)(SelectedItemIndicator, {})
16686
16722
  ] }) })
16687
16723
  }
16688
16724
  );
@@ -16695,7 +16731,7 @@ var import_react89 = require("react");
16695
16731
  var import_styled_components109 = __toESM(require("styled-components"));
16696
16732
  var import_react_toggle_group4 = require("@radix-ui/react-toggle-group");
16697
16733
  var import_type_guards64 = require("@wistia/type-guards");
16698
- var import_jsx_runtime306 = require("react/jsx-runtime");
16734
+ var import_jsx_runtime307 = require("react/jsx-runtime");
16699
16735
  var segmentedControlItemStyles = import_styled_components109.css`
16700
16736
  all: unset; /* ToggleGroupItem is a button element */
16701
16737
  align-items: center;
@@ -16805,7 +16841,7 @@ var SegmentedControlItem = (0, import_react89.forwardRef)(
16805
16841
  resizeObserver.disconnect();
16806
16842
  };
16807
16843
  }, [selectedValue, setSelectedItemMeasurements, value]);
16808
- return /* @__PURE__ */ (0, import_jsx_runtime306.jsxs)(
16844
+ return /* @__PURE__ */ (0, import_jsx_runtime307.jsxs)(
16809
16845
  StyledSegmentedControlItem,
16810
16846
  {
16811
16847
  ref: combinedRef,
@@ -16829,7 +16865,7 @@ SegmentedControlItem.displayName = "SegmentedControlItem_UI";
16829
16865
  var import_react_select = require("@radix-ui/react-select");
16830
16866
  var import_react90 = require("react");
16831
16867
  var import_styled_components110 = __toESM(require("styled-components"));
16832
- var import_jsx_runtime307 = require("react/jsx-runtime");
16868
+ var import_jsx_runtime308 = require("react/jsx-runtime");
16833
16869
  var StyledTrigger2 = (0, import_styled_components110.default)(import_react_select.Trigger)`
16834
16870
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
16835
16871
  ${inputCss};
@@ -16918,8 +16954,8 @@ var Select = (0, import_react90.forwardRef)(
16918
16954
  if (forceOpen) {
16919
16955
  rootProps["open"] = true;
16920
16956
  }
16921
- return /* @__PURE__ */ (0, import_jsx_runtime307.jsxs)(import_react_select.Root, { ...rootProps, children: [
16922
- /* @__PURE__ */ (0, import_jsx_runtime307.jsxs)(
16957
+ return /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(import_react_select.Root, { ...rootProps, children: [
16958
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(
16923
16959
  StyledTrigger2,
16924
16960
  {
16925
16961
  ref: forwardedRef,
@@ -16927,8 +16963,8 @@ var Select = (0, import_react90.forwardRef)(
16927
16963
  $fullWidth: responsiveFullWidth,
16928
16964
  ...props,
16929
16965
  children: [
16930
- /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(import_react_select.Value, { placeholder }),
16931
- /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(
16966
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.Value, { placeholder }),
16967
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(
16932
16968
  Icon,
16933
16969
  {
16934
16970
  size: "md",
@@ -16938,10 +16974,10 @@ var Select = (0, import_react90.forwardRef)(
16938
16974
  ]
16939
16975
  }
16940
16976
  ),
16941
- /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime307.jsxs)(StyledContent3, { position: "popper", children: [
16942
- /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(Icon, { type: "caret-up" }) }),
16943
- /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(import_react_select.Viewport, { children }),
16944
- /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(Icon, { type: "caret-down" }) })
16977
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(StyledContent3, { position: "popper", children: [
16978
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(Icon, { type: "caret-up" }) }),
16979
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.Viewport, { children }),
16980
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(Icon, { type: "caret-down" }) })
16945
16981
  ] }) })
16946
16982
  ] });
16947
16983
  }
@@ -16953,7 +16989,7 @@ var import_react_select2 = require("@radix-ui/react-select");
16953
16989
  var import_react91 = require("react");
16954
16990
  var import_styled_components111 = __toESM(require("styled-components"));
16955
16991
  var import_type_guards65 = require("@wistia/type-guards");
16956
- var import_jsx_runtime308 = require("react/jsx-runtime");
16992
+ var import_jsx_runtime309 = require("react/jsx-runtime");
16957
16993
  var StyledItem = (0, import_styled_components111.default)(import_react_select2.Item)`
16958
16994
  ${getTypographicStyles("label3")}
16959
16995
  display: flex;
@@ -16980,17 +17016,17 @@ var StyledItem = (0, import_styled_components111.default)(import_react_select2.I
16980
17016
  `;
16981
17017
  var SelectOption = (0, import_react91.forwardRef)(
16982
17018
  ({ children, selectedDisplayValue, ...props }, forwardedRef) => {
16983
- return /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(
17019
+ return /* @__PURE__ */ (0, import_jsx_runtime309.jsxs)(
16984
17020
  StyledItem,
16985
17021
  {
16986
17022
  ...props,
16987
17023
  ref: forwardedRef,
16988
17024
  children: [
16989
- (0, import_type_guards65.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)("div", { children: [
17025
+ (0, import_type_guards65.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime309.jsxs)("div", { children: [
16990
17026
  children,
16991
- /* @__PURE__ */ (0, import_jsx_runtime308.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
16992
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select2.ItemText, { children }),
16993
- /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(
17027
+ /* @__PURE__ */ (0, import_jsx_runtime309.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
17028
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(import_react_select2.ItemText, { children }),
17029
+ /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(
16994
17030
  Icon,
16995
17031
  {
16996
17032
  size: "md",
@@ -17007,13 +17043,13 @@ SelectOption.displayName = "SelectOption_UI";
17007
17043
  // src/components/Select/SelectOptionGroup.tsx
17008
17044
  var import_react_select3 = require("@radix-ui/react-select");
17009
17045
  var import_styled_components112 = __toESM(require("styled-components"));
17010
- var import_jsx_runtime309 = require("react/jsx-runtime");
17046
+ var import_jsx_runtime310 = require("react/jsx-runtime");
17011
17047
  var StyledLabel4 = (0, import_styled_components112.default)(import_react_select3.Label)`
17012
17048
  padding: var(--wui-select-option-padding);
17013
17049
  `;
17014
17050
  var SelectOptionGroup = ({ children, label, ...props }) => {
17015
- return /* @__PURE__ */ (0, import_jsx_runtime309.jsxs)(import_react_select3.Group, { ...props, children: [
17016
- /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(
17051
+ return /* @__PURE__ */ (0, import_jsx_runtime310.jsxs)(import_react_select3.Group, { ...props, children: [
17052
+ /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
17017
17053
  Heading,
17018
17054
  {
17019
17055
  renderAs: "span",
@@ -17029,7 +17065,7 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
17029
17065
  var import_react_slider2 = require("@radix-ui/react-slider");
17030
17066
  var import_styled_components113 = __toESM(require("styled-components"));
17031
17067
  var import_type_guards66 = require("@wistia/type-guards");
17032
- var import_jsx_runtime310 = require("react/jsx-runtime");
17068
+ var import_jsx_runtime311 = require("react/jsx-runtime");
17033
17069
  var SliderContainer = import_styled_components113.default.div`
17034
17070
  --wui-slider-track-color: var(--wui-gray-6);
17035
17071
  --wui-slider-track-border-radius: var(--wui-border-radius-rounded);
@@ -17118,12 +17154,12 @@ var Slider = ({
17118
17154
  onChange(newValue);
17119
17155
  }
17120
17156
  };
17121
- return /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
17157
+ return /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
17122
17158
  SliderContainer,
17123
17159
  {
17124
17160
  ...otherProps,
17125
17161
  "data-testid": dataTestId,
17126
- children: /* @__PURE__ */ (0, import_jsx_runtime310.jsxs)(
17162
+ children: /* @__PURE__ */ (0, import_jsx_runtime311.jsxs)(
17127
17163
  StyledSliderRoot,
17128
17164
  {
17129
17165
  "aria-label": ariaLabel,
@@ -17136,8 +17172,8 @@ var Slider = ({
17136
17172
  step,
17137
17173
  ...value ? { value } : {},
17138
17174
  children: [
17139
- /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
17140
- values.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
17175
+ /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
17176
+ values.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
17141
17177
  StyledSliderThumb,
17142
17178
  {
17143
17179
  "data-testid": `${dataTestId}-thumb-${index}`
@@ -17154,7 +17190,7 @@ Slider.displayName = "Slider_UI";
17154
17190
 
17155
17191
  // src/components/Table/Table.tsx
17156
17192
  var import_styled_components114 = __toESM(require("styled-components"));
17157
- var import_jsx_runtime311 = require("react/jsx-runtime");
17193
+ var import_jsx_runtime312 = require("react/jsx-runtime");
17158
17194
  var StyledTable = import_styled_components114.default.table`
17159
17195
  width: 100%;
17160
17196
  border-collapse: collapse;
@@ -17184,7 +17220,7 @@ var Table = ({
17184
17220
  visuallyHiddenHeader = false,
17185
17221
  ...props
17186
17222
  }) => {
17187
- return /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
17223
+ return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
17188
17224
  StyledTable,
17189
17225
  {
17190
17226
  $divided: divided,
@@ -17205,16 +17241,16 @@ var import_react92 = require("react");
17205
17241
  var TableSectionContext = (0, import_react92.createContext)(null);
17206
17242
 
17207
17243
  // src/components/Table/TableBody.tsx
17208
- var import_jsx_runtime312 = require("react/jsx-runtime");
17244
+ var import_jsx_runtime313 = require("react/jsx-runtime");
17209
17245
  var StyledTableBody = import_styled_components115.default.tbody``;
17210
17246
  var TableBody = ({ children, ...props }) => {
17211
- return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(StyledTableBody, { ...props, children }) });
17247
+ return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(StyledTableBody, { ...props, children }) });
17212
17248
  };
17213
17249
 
17214
17250
  // src/components/Table/TableCell.tsx
17215
17251
  var import_react94 = require("react");
17216
17252
  var import_styled_components116 = __toESM(require("styled-components"));
17217
- var import_jsx_runtime313 = require("react/jsx-runtime");
17253
+ var import_jsx_runtime314 = require("react/jsx-runtime");
17218
17254
  var sharedStyles = import_styled_components116.css`
17219
17255
  color: var(--wui-color-text);
17220
17256
  padding: var(--wui-space-02);
@@ -17235,35 +17271,35 @@ var StyledTd = import_styled_components116.default.td`
17235
17271
  var TableCell = ({ children, ...props }) => {
17236
17272
  const section = (0, import_react94.useContext)(TableSectionContext);
17237
17273
  if (section === "head") {
17238
- return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(StyledTh, { ...props, children });
17274
+ return /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(StyledTh, { ...props, children });
17239
17275
  }
17240
- return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(StyledTd, { ...props, children });
17276
+ return /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(StyledTd, { ...props, children });
17241
17277
  };
17242
17278
 
17243
17279
  // src/components/Table/TableFoot.tsx
17244
17280
  var import_react95 = require("react");
17245
17281
  var import_styled_components117 = __toESM(require("styled-components"));
17246
- var import_jsx_runtime314 = require("react/jsx-runtime");
17282
+ var import_jsx_runtime315 = require("react/jsx-runtime");
17247
17283
  var StyledTableFoot = import_styled_components117.default.tfoot``;
17248
17284
  var TableFoot = ({ children, ...props }) => {
17249
- return /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(StyledTableFoot, { ...props, children }) });
17285
+ return /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(StyledTableFoot, { ...props, children }) });
17250
17286
  };
17251
17287
 
17252
17288
  // src/components/Table/TableHead.tsx
17253
17289
  var import_react96 = require("react");
17254
17290
  var import_styled_components118 = __toESM(require("styled-components"));
17255
- var import_jsx_runtime315 = require("react/jsx-runtime");
17291
+ var import_jsx_runtime316 = require("react/jsx-runtime");
17256
17292
  var StyledThead = import_styled_components118.default.thead``;
17257
17293
  var TableHead = ({ children, ...props }) => {
17258
- return /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(StyledThead, { ...props, children }) });
17294
+ return /* @__PURE__ */ (0, import_jsx_runtime316.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime316.jsx)(StyledThead, { ...props, children }) });
17259
17295
  };
17260
17296
 
17261
17297
  // src/components/Table/TableRow.tsx
17262
17298
  var import_styled_components119 = __toESM(require("styled-components"));
17263
- var import_jsx_runtime316 = require("react/jsx-runtime");
17299
+ var import_jsx_runtime317 = require("react/jsx-runtime");
17264
17300
  var StyledTableRow = import_styled_components119.default.tr``;
17265
17301
  var TableRow = ({ children, ...props }) => {
17266
- return /* @__PURE__ */ (0, import_jsx_runtime316.jsx)(StyledTableRow, { ...props, children });
17302
+ return /* @__PURE__ */ (0, import_jsx_runtime317.jsx)(StyledTableRow, { ...props, children });
17267
17303
  };
17268
17304
 
17269
17305
  // src/components/Tabs/Tabs.tsx
@@ -17284,7 +17320,7 @@ var useTabsValue = () => {
17284
17320
  };
17285
17321
 
17286
17322
  // src/components/Tabs/Tabs.tsx
17287
- var import_jsx_runtime317 = require("react/jsx-runtime");
17323
+ var import_jsx_runtime318 = require("react/jsx-runtime");
17288
17324
  var Tabs = ({
17289
17325
  children,
17290
17326
  value: valueProp,
@@ -17312,15 +17348,15 @@ var Tabs = ({
17312
17348
  if ((0, import_type_guards67.isNotNil)(defaultValue)) {
17313
17349
  rootProps.defaultValue = defaultValue;
17314
17350
  }
17315
- return /* @__PURE__ */ (0, import_jsx_runtime317.jsx)(import_react_tabs.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime317.jsx)(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ (0, import_jsx_runtime317.jsx)(SelectedItemStyleProvider, { children }) }) });
17351
+ return /* @__PURE__ */ (0, import_jsx_runtime318.jsx)(import_react_tabs.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime318.jsx)(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ (0, import_jsx_runtime318.jsx)(SelectedItemStyleProvider, { children }) }) });
17316
17352
  };
17317
17353
  Tabs.displayName = "Tabs_UI";
17318
17354
 
17319
17355
  // src/components/Tabs/TabsContent.tsx
17320
17356
  var import_react_tabs2 = require("@radix-ui/react-tabs");
17321
- var import_jsx_runtime318 = require("react/jsx-runtime");
17357
+ var import_jsx_runtime319 = require("react/jsx-runtime");
17322
17358
  var TabsContent = ({ children, value }) => {
17323
- return /* @__PURE__ */ (0, import_jsx_runtime318.jsx)(import_react_tabs2.Content, { value, children });
17359
+ return /* @__PURE__ */ (0, import_jsx_runtime319.jsx)(import_react_tabs2.Content, { value, children });
17324
17360
  };
17325
17361
  TabsContent.displayName = "TabsContent_UI";
17326
17362
 
@@ -17340,14 +17376,14 @@ var TabsSelectedItemIndicatorDiv = (0, import_styled_components120.default)(Sele
17340
17376
  `;
17341
17377
 
17342
17378
  // src/components/Tabs/SelectedTabIndicator.tsx
17343
- var import_jsx_runtime319 = require("react/jsx-runtime");
17379
+ var import_jsx_runtime320 = require("react/jsx-runtime");
17344
17380
  var SelectedTabIndicator = () => {
17345
17381
  const { selectedItemIndicatorStyle } = useSelectedItemStyle();
17346
17382
  const selectedValue = useTabsValue();
17347
17383
  if (selectedValue == null || (0, import_type_guards68.isUndefined)(selectedItemIndicatorStyle)) {
17348
17384
  return null;
17349
17385
  }
17350
- return /* @__PURE__ */ (0, import_jsx_runtime319.jsx)(
17386
+ return /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(
17351
17387
  TabsSelectedItemIndicatorDiv,
17352
17388
  {
17353
17389
  "data-wui-selected-item-indicator": true,
@@ -17357,19 +17393,19 @@ var SelectedTabIndicator = () => {
17357
17393
  };
17358
17394
 
17359
17395
  // src/components/Tabs/TabsList.tsx
17360
- var import_jsx_runtime320 = require("react/jsx-runtime");
17396
+ var import_jsx_runtime321 = require("react/jsx-runtime");
17361
17397
  var StyledRadixTabsList = (0, import_styled_components121.default)(import_react_tabs3.List)`
17362
17398
  ${segmentedControlStyles}
17363
17399
  `;
17364
17400
  var TabsList = ({ children, fullWidth = true, ...props }) => {
17365
- return /* @__PURE__ */ (0, import_jsx_runtime320.jsxs)(
17401
+ return /* @__PURE__ */ (0, import_jsx_runtime321.jsxs)(
17366
17402
  StyledRadixTabsList,
17367
17403
  {
17368
17404
  $fullWidth: fullWidth,
17369
17405
  "aria-label": props["aria-label"],
17370
17406
  children: [
17371
17407
  children,
17372
- /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(SelectedTabIndicator, {})
17408
+ /* @__PURE__ */ (0, import_jsx_runtime321.jsx)(SelectedTabIndicator, {})
17373
17409
  ]
17374
17410
  }
17375
17411
  );
@@ -17392,7 +17428,7 @@ var StyledRadixTabsTrigger = (0, import_styled_components122.default)(import_rea
17392
17428
  `;
17393
17429
 
17394
17430
  // src/components/Tabs/TabsTrigger.tsx
17395
- var import_jsx_runtime321 = require("react/jsx-runtime");
17431
+ var import_jsx_runtime322 = require("react/jsx-runtime");
17396
17432
  var TabsTrigger = (0, import_react99.forwardRef)(
17397
17433
  ({ disabled = false, icon, label, "aria-label": ariaLabel, value, ...otherProps }, forwardedRef) => {
17398
17434
  const selectedValue = useTabsValue();
@@ -17424,7 +17460,7 @@ var TabsTrigger = (0, import_react99.forwardRef)(
17424
17460
  resizeObserver.disconnect();
17425
17461
  };
17426
17462
  }, [selectedValue, setSelectedItemMeasurements, value]);
17427
- return /* @__PURE__ */ (0, import_jsx_runtime321.jsxs)(
17463
+ return /* @__PURE__ */ (0, import_jsx_runtime322.jsxs)(
17428
17464
  StyledRadixTabsTrigger,
17429
17465
  {
17430
17466
  ...otherProps,
@@ -17446,7 +17482,7 @@ TabsTrigger.displayName = "TabsTrigger_UI";
17446
17482
  // src/components/Thumbnail/ThumbnailBadge.tsx
17447
17483
  var import_styled_components123 = __toESM(require("styled-components"));
17448
17484
  var import_type_guards70 = require("@wistia/type-guards");
17449
- var import_jsx_runtime322 = require("react/jsx-runtime");
17485
+ var import_jsx_runtime323 = require("react/jsx-runtime");
17450
17486
  var StyledThumbnailBadge = import_styled_components123.default.div`
17451
17487
  align-items: center;
17452
17488
  background-color: rgb(0 0 0 / 50%);
@@ -17473,9 +17509,9 @@ var StyledThumbnailBadge = import_styled_components123.default.div`
17473
17509
  }
17474
17510
  `;
17475
17511
  var ThumbnailBadge = ({ icon, label, ...props }) => {
17476
- return /* @__PURE__ */ (0, import_jsx_runtime322.jsxs)(StyledThumbnailBadge, { ...props, children: [
17512
+ return /* @__PURE__ */ (0, import_jsx_runtime323.jsxs)(StyledThumbnailBadge, { ...props, children: [
17477
17513
  (0, import_type_guards70.isNotNil)(icon) && icon,
17478
- /* @__PURE__ */ (0, import_jsx_runtime322.jsx)("span", { children: label })
17514
+ /* @__PURE__ */ (0, import_jsx_runtime323.jsx)("span", { children: label })
17479
17515
  ] });
17480
17516
  };
17481
17517
  ThumbnailBadge.displayName = "ThumbnailBadge_UI";
@@ -17620,7 +17656,7 @@ var getBackgroundGradient = (gradientName = void 0) => {
17620
17656
  // src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
17621
17657
  var import_styled_components125 = __toESM(require("styled-components"));
17622
17658
  var import_type_guards72 = require("@wistia/type-guards");
17623
- var import_jsx_runtime323 = require("react/jsx-runtime");
17659
+ var import_jsx_runtime324 = require("react/jsx-runtime");
17624
17660
  var ScrubLine = import_styled_components125.default.div`
17625
17661
  position: absolute;
17626
17662
  top: 0;
@@ -17732,14 +17768,14 @@ var ThumbnailStoryboardViewer = ({
17732
17768
  backgroundPosition,
17733
17769
  backgroundSize
17734
17770
  };
17735
- return /* @__PURE__ */ (0, import_jsx_runtime323.jsxs)(
17771
+ return /* @__PURE__ */ (0, import_jsx_runtime324.jsxs)(
17736
17772
  "div",
17737
17773
  {
17738
17774
  ...props,
17739
17775
  style: viewerStyles,
17740
17776
  children: [
17741
- /* @__PURE__ */ (0, import_jsx_runtime323.jsx)("div", { style: storyboardStyles }),
17742
- showScrubLine ? /* @__PURE__ */ (0, import_jsx_runtime323.jsx)(
17777
+ /* @__PURE__ */ (0, import_jsx_runtime324.jsx)("div", { style: storyboardStyles }),
17778
+ showScrubLine ? /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
17743
17779
  ScrubLine,
17744
17780
  {
17745
17781
  style: {
@@ -17753,7 +17789,7 @@ var ThumbnailStoryboardViewer = ({
17753
17789
  };
17754
17790
 
17755
17791
  // src/components/Thumbnail/Thumbnail.tsx
17756
- var import_jsx_runtime324 = require("react/jsx-runtime");
17792
+ var import_jsx_runtime325 = require("react/jsx-runtime");
17757
17793
  var WideThumbnailImage = import_styled_components126.default.img`
17758
17794
  height: 100%;
17759
17795
  object-fit: cover;
@@ -17766,7 +17802,7 @@ var SquareThumbnailImage = import_styled_components126.default.img`
17766
17802
  `;
17767
17803
  var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
17768
17804
  if (thumbnailImageType === "wide") {
17769
- return /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
17805
+ return /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
17770
17806
  WideThumbnailImage,
17771
17807
  {
17772
17808
  alt: "",
@@ -17775,7 +17811,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
17775
17811
  }
17776
17812
  );
17777
17813
  }
17778
- return /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
17814
+ return /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
17779
17815
  SquareThumbnailImage,
17780
17816
  {
17781
17817
  alt: "",
@@ -17822,7 +17858,7 @@ var StoryboardRenderer = ({
17822
17858
  } = storyboard;
17823
17859
  const targetWidth = (0, import_type_guards73.isString)(width) ? parseInt(width, 10) : Number(width);
17824
17860
  const effectiveCursorPosition = isStoryboardReady ? cursorPosition : null;
17825
- return /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
17861
+ return /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
17826
17862
  ThumbnailStoryboardViewer,
17827
17863
  {
17828
17864
  cursorPosition: effectiveCursorPosition,
@@ -17904,7 +17940,7 @@ var Thumbnail = (0, import_react100.forwardRef)(
17904
17940
  }, [isScrubbable, isMouseOver, isStoryboardReady, storyboard, height]);
17905
17941
  let thumbnailContent = null;
17906
17942
  if (storyboard && shouldRenderStoryboard) {
17907
- thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
17943
+ thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
17908
17944
  StoryboardRenderer,
17909
17945
  {
17910
17946
  cursorPosition,
@@ -17915,7 +17951,7 @@ var Thumbnail = (0, import_react100.forwardRef)(
17915
17951
  }
17916
17952
  );
17917
17953
  } else if ((0, import_type_guards73.isNotNil)(thumbnailUrl)) {
17918
- thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
17954
+ thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
17919
17955
  ThumbnailImage,
17920
17956
  {
17921
17957
  thumbnailImageType,
@@ -17925,7 +17961,7 @@ var Thumbnail = (0, import_react100.forwardRef)(
17925
17961
  } else {
17926
17962
  thumbnailContent = null;
17927
17963
  }
17928
- return /* @__PURE__ */ (0, import_jsx_runtime324.jsxs)(
17964
+ return /* @__PURE__ */ (0, import_jsx_runtime325.jsxs)(
17929
17965
  StyledThumbnail,
17930
17966
  {
17931
17967
  ref,
@@ -17952,7 +17988,7 @@ Thumbnail.displayName = "Thumbnail_UI";
17952
17988
  var import_react101 = __toESM(require("react"));
17953
17989
  var import_styled_components127 = __toESM(require("styled-components"));
17954
17990
  var import_type_guards74 = require("@wistia/type-guards");
17955
- var import_jsx_runtime325 = (
17991
+ var import_jsx_runtime326 = (
17956
17992
  // ThumbnailCollage will fallback to a Thumbnail with a gradient background if no children are provided
17957
17993
  require("react/jsx-runtime")
17958
17994
  );
@@ -18037,7 +18073,7 @@ var ThumbnailCollage = ({
18037
18073
  children: void 0
18038
18074
  });
18039
18075
  }) : [
18040
- /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
18076
+ /* @__PURE__ */ (0, import_jsx_runtime326.jsx)(
18041
18077
  Thumbnail,
18042
18078
  {
18043
18079
  gradientBackground,
@@ -18046,7 +18082,7 @@ var ThumbnailCollage = ({
18046
18082
  "fallback"
18047
18083
  )
18048
18084
  ];
18049
- return /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
18085
+ return /* @__PURE__ */ (0, import_jsx_runtime326.jsx)(
18050
18086
  StyledThumbnailCollage,
18051
18087
  {
18052
18088
  $gradientBackground: gradientBackground,
@@ -18060,24 +18096,24 @@ var ThumbnailCollage = ({
18060
18096
  // src/components/WistiaLogo/WistiaLogo.tsx
18061
18097
  var import_styled_components128 = __toESM(require("styled-components"));
18062
18098
  var import_type_guards75 = require("@wistia/type-guards");
18063
- var import_jsx_runtime326 = require("react/jsx-runtime");
18099
+ var import_jsx_runtime327 = require("react/jsx-runtime");
18064
18100
  var renderBrandmark = (brandmarkColor, iconOnly) => {
18065
18101
  if (iconOnly) {
18066
- return /* @__PURE__ */ (0, import_jsx_runtime326.jsx)(
18102
+ return /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
18067
18103
  "g",
18068
18104
  {
18069
18105
  "data-testid": "ui-wistia-logo-brandmark",
18070
18106
  fill: brandmarkColor,
18071
- children: /* @__PURE__ */ (0, import_jsx_runtime326.jsx)("path", { d: "M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
18107
+ children: /* @__PURE__ */ (0, import_jsx_runtime327.jsx)("path", { d: "M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
18072
18108
  }
18073
18109
  );
18074
18110
  }
18075
- return /* @__PURE__ */ (0, import_jsx_runtime326.jsx)(
18111
+ return /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
18076
18112
  "g",
18077
18113
  {
18078
18114
  "data-testid": "ui-wistia-logo-brandmark",
18079
18115
  fill: brandmarkColor,
18080
- children: /* @__PURE__ */ (0, import_jsx_runtime326.jsx)("path", { d: "M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
18116
+ children: /* @__PURE__ */ (0, import_jsx_runtime327.jsx)("path", { d: "M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
18081
18117
  }
18082
18118
  );
18083
18119
  };
@@ -18085,12 +18121,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
18085
18121
  if (iconOnly) {
18086
18122
  return null;
18087
18123
  }
18088
- return /* @__PURE__ */ (0, import_jsx_runtime326.jsx)(
18124
+ return /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
18089
18125
  "g",
18090
18126
  {
18091
18127
  "data-testid": "ui-wistia-logo-logotype",
18092
18128
  fill: logotypeColor,
18093
- children: /* @__PURE__ */ (0, import_jsx_runtime326.jsx)("path", { d: "M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z" })
18129
+ children: /* @__PURE__ */ (0, import_jsx_runtime327.jsx)("path", { d: "M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z" })
18094
18130
  }
18095
18131
  );
18096
18132
  };
@@ -18158,7 +18194,7 @@ var WistiaLogo = ({
18158
18194
  };
18159
18195
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
18160
18196
  const logotypeColor = VARIANT_COLORS[variant].logotype;
18161
- const Logo = /* @__PURE__ */ (0, import_jsx_runtime326.jsxs)(
18197
+ const Logo = /* @__PURE__ */ (0, import_jsx_runtime327.jsxs)(
18162
18198
  WistiaLogoComponent,
18163
18199
  {
18164
18200
  $hoverColor: hoverColor,
@@ -18171,21 +18207,21 @@ var WistiaLogo = ({
18171
18207
  xmlns: "http://www.w3.org/2000/svg",
18172
18208
  ...props,
18173
18209
  children: [
18174
- /* @__PURE__ */ (0, import_jsx_runtime326.jsx)("title", { children: title }),
18175
- (0, import_type_guards75.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime326.jsx)("desc", { children: description }) : null,
18210
+ /* @__PURE__ */ (0, import_jsx_runtime327.jsx)("title", { children: title }),
18211
+ (0, import_type_guards75.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime327.jsx)("desc", { children: description }) : null,
18176
18212
  renderBrandmark(brandmarkColor, iconOnly),
18177
18213
  renderLogotype(logotypeColor, iconOnly)
18178
18214
  ]
18179
18215
  }
18180
18216
  );
18181
- return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime326.jsx)("a", { href, children: Logo }) : Logo;
18217
+ return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime327.jsx)("a", { href, children: Logo }) : Logo;
18182
18218
  };
18183
18219
  WistiaLogo.displayName = "WistiaLogo_UI";
18184
18220
 
18185
18221
  // src/components/SplitButton/SplitButton.tsx
18186
18222
  var import_styled_components129 = __toESM(require("styled-components"));
18187
18223
  var import_type_guards76 = require("@wistia/type-guards");
18188
- var import_jsx_runtime327 = require("react/jsx-runtime");
18224
+ var import_jsx_runtime328 = require("react/jsx-runtime");
18189
18225
  var StyledSplitButton = import_styled_components129.default.span`
18190
18226
  white-space: nowrap;
18191
18227
 
@@ -18203,7 +18239,7 @@ var StyledSplitButton = import_styled_components129.default.span`
18203
18239
  var SplitButton = ({
18204
18240
  children,
18205
18241
  menuLabel = "Select an option",
18206
- menuIcon = /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(Icon, { type: "caret-down" }),
18242
+ menuIcon = /* @__PURE__ */ (0, import_jsx_runtime328.jsx)(Icon, { type: "caret-down" }),
18207
18243
  menuItems,
18208
18244
  disabled = false,
18209
18245
  colorScheme = "default",
@@ -18214,8 +18250,8 @@ var SplitButton = ({
18214
18250
  menuProps = {},
18215
18251
  ...props
18216
18252
  }) => {
18217
- return /* @__PURE__ */ (0, import_jsx_runtime327.jsxs)(StyledSplitButton, { children: [
18218
- /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
18253
+ return /* @__PURE__ */ (0, import_jsx_runtime328.jsxs)(StyledSplitButton, { children: [
18254
+ /* @__PURE__ */ (0, import_jsx_runtime328.jsx)(
18219
18255
  Button,
18220
18256
  {
18221
18257
  colorScheme,
@@ -18227,12 +18263,12 @@ var SplitButton = ({
18227
18263
  children
18228
18264
  }
18229
18265
  ),
18230
- (0, import_type_guards76.isNotNil)(menuItems) && /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
18266
+ (0, import_type_guards76.isNotNil)(menuItems) && /* @__PURE__ */ (0, import_jsx_runtime328.jsx)(
18231
18267
  Menu,
18232
18268
  {
18233
18269
  ...menuProps,
18234
18270
  disabled,
18235
- trigger: /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
18271
+ trigger: /* @__PURE__ */ (0, import_jsx_runtime328.jsx)(
18236
18272
  IconButton,
18237
18273
  {
18238
18274
  colorScheme,
@@ -18339,6 +18375,8 @@ SplitButton.displayName = "SplitButton_UI";
18339
18375
  MenuLabel,
18340
18376
  MenuRadioGroup,
18341
18377
  Modal,
18378
+ ModalCallout,
18379
+ ModalCallouts,
18342
18380
  PersistentFileAmountLimitValidator,
18343
18381
  Popover,
18344
18382
  ProgressBar,