@telefonica/mistica 16.37.2 → 16.37.3

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.
Files changed (182) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/accordion.css-mistica.js +6 -6
  3. package/dist/align.css-mistica.js +1 -1
  4. package/dist/avatar.css-mistica.js +1 -1
  5. package/dist/badge.css-mistica.js +1 -1
  6. package/dist/box.css-mistica.js +13 -13
  7. package/dist/boxed.css-mistica.js +24 -24
  8. package/dist/button-group.css-mistica.js +1 -1
  9. package/dist/button-layout.css-mistica.js +13 -13
  10. package/dist/button.css-mistica.js +16 -16
  11. package/dist/callout.css-mistica.js +5 -5
  12. package/dist/card-internal.css-mistica.js +15 -15
  13. package/dist/card-internal.d.ts +1 -0
  14. package/dist/card-internal.js +364 -362
  15. package/dist/carousel.css-mistica.js +8 -8
  16. package/dist/checkbox.css-mistica.js +7 -7
  17. package/dist/chip.css-mistica.js +12 -12
  18. package/dist/circle.css-mistica.js +1 -1
  19. package/dist/community/advanced-data-card.css-mistica.js +6 -6
  20. package/dist/community/blocks.css-mistica.js +1 -1
  21. package/dist/community/example-component.css-mistica.js +1 -1
  22. package/dist/counter.css-mistica.js +1 -1
  23. package/dist/cover-hero.css-mistica.js +3 -3
  24. package/dist/credit-card-number-field.css-mistica.js +3 -3
  25. package/dist/date-field.css-mistica.js +1 -1
  26. package/dist/date-time-picker.css-mistica.js +1 -1
  27. package/dist/dialog.css-mistica.js +4 -4
  28. package/dist/divider.css-mistica.js +2 -2
  29. package/dist/double-field.css-mistica.js +2 -2
  30. package/dist/drawer.css-mistica.js +1 -1
  31. package/dist/empty-state-card.css-mistica.js +1 -1
  32. package/dist/empty-state.css-mistica.js +5 -5
  33. package/dist/fade-in.css-mistica.js +1 -1
  34. package/dist/feedback.css-mistica.js +1 -1
  35. package/dist/fixed-footer-layout.css-mistica.js +4 -4
  36. package/dist/form.css-mistica.js +1 -1
  37. package/dist/grid-layout.css-mistica.js +3 -3
  38. package/dist/grid.css-mistica.js +122 -122
  39. package/dist/header.css-mistica.js +1 -1
  40. package/dist/hero.css-mistica.js +2 -2
  41. package/dist/horizontal-scroll.css-mistica.js +1 -1
  42. package/dist/icon-button.css-mistica.js +42 -42
  43. package/dist/icons/icon-chevron.css-mistica.js +2 -2
  44. package/dist/icons/icon-error.css-mistica.js +1 -1
  45. package/dist/image.css-mistica.js +3 -3
  46. package/dist/inline.css-mistica.js +10 -10
  47. package/dist/list.css-mistica.js +1 -1
  48. package/dist/loading-bar.css-mistica.js +1 -1
  49. package/dist/loading-screen.css-mistica.js +4 -4
  50. package/dist/logo.css-mistica.js +5 -5
  51. package/dist/menu.css-mistica.js +12 -12
  52. package/dist/mosaic.css-mistica.js +1 -1
  53. package/dist/navigation-bar.css-mistica.js +16 -16
  54. package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
  55. package/dist/package-version.js +1 -1
  56. package/dist/pin-field.css-mistica.js +1 -1
  57. package/dist/popover.css-mistica.js +1 -1
  58. package/dist/progress-bar.css-mistica.js +4 -4
  59. package/dist/radio-button.css-mistica.js +14 -14
  60. package/dist/rating.css-mistica.js +2 -2
  61. package/dist/responsive-layout.css-mistica.js +4 -4
  62. package/dist/screen-reader-only.css-mistica.js +1 -1
  63. package/dist/select.css-mistica.js +15 -15
  64. package/dist/sheet-action-row.css-mistica.js +1 -1
  65. package/dist/sheet-common.css-mistica.js +1 -1
  66. package/dist/sheet-info.css-mistica.js +1 -1
  67. package/dist/skeletons.css-mistica.js +4 -4
  68. package/dist/skins/skin-contract.css-mistica.js +390 -390
  69. package/dist/skip-link.css-mistica.js +1 -1
  70. package/dist/slider.css-mistica.js +10 -10
  71. package/dist/snackbar.css-mistica.js +4 -4
  72. package/dist/spinner.css-mistica.js +1 -1
  73. package/dist/stack.css-mistica.js +5 -5
  74. package/dist/stacking-group.css-mistica.js +1 -1
  75. package/dist/stepper.css-mistica.js +2 -2
  76. package/dist/switch-component.css-mistica.js +26 -26
  77. package/dist/table.css-mistica.js +8 -8
  78. package/dist/tabs.css-mistica.js +12 -12
  79. package/dist/tag.css-mistica.js +1 -1
  80. package/dist/text-field-base.css-mistica.js +1 -1
  81. package/dist/text-field-components.css-mistica.js +3 -3
  82. package/dist/text-link.css-mistica.js +5 -5
  83. package/dist/text.css-mistica.js +7 -7
  84. package/dist/theme-context.css-mistica.js +430 -430
  85. package/dist/timeline.css-mistica.js +10 -10
  86. package/dist/timer.css-mistica.js +6 -6
  87. package/dist/tooltip.css-mistica.js +1 -1
  88. package/dist/touchable.css-mistica.js +1 -1
  89. package/dist/utils/aspect-ratio-support.css-mistica.js +3 -3
  90. package/dist/video.css-mistica.js +1 -1
  91. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  92. package/dist-es/accordion.css-mistica.js +6 -6
  93. package/dist-es/align.css-mistica.js +1 -1
  94. package/dist-es/avatar.css-mistica.js +1 -1
  95. package/dist-es/badge.css-mistica.js +1 -1
  96. package/dist-es/box.css-mistica.js +13 -13
  97. package/dist-es/boxed.css-mistica.js +23 -23
  98. package/dist-es/button-group.css-mistica.js +1 -1
  99. package/dist-es/button-layout.css-mistica.js +13 -13
  100. package/dist-es/button.css-mistica.js +16 -16
  101. package/dist-es/callout.css-mistica.js +5 -5
  102. package/dist-es/card-internal.css-mistica.js +15 -15
  103. package/dist-es/card-internal.js +446 -444
  104. package/dist-es/carousel.css-mistica.js +8 -8
  105. package/dist-es/checkbox.css-mistica.js +7 -7
  106. package/dist-es/chip.css-mistica.js +12 -12
  107. package/dist-es/circle.css-mistica.js +1 -1
  108. package/dist-es/community/advanced-data-card.css-mistica.js +6 -6
  109. package/dist-es/community/blocks.css-mistica.js +1 -1
  110. package/dist-es/community/example-component.css-mistica.js +1 -1
  111. package/dist-es/counter.css-mistica.js +1 -1
  112. package/dist-es/cover-hero.css-mistica.js +3 -3
  113. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  114. package/dist-es/date-field.css-mistica.js +1 -1
  115. package/dist-es/date-time-picker.css-mistica.js +1 -1
  116. package/dist-es/dialog.css-mistica.js +4 -4
  117. package/dist-es/divider.css-mistica.js +2 -2
  118. package/dist-es/double-field.css-mistica.js +2 -2
  119. package/dist-es/drawer.css-mistica.js +1 -1
  120. package/dist-es/empty-state-card.css-mistica.js +1 -1
  121. package/dist-es/empty-state.css-mistica.js +5 -5
  122. package/dist-es/fade-in.css-mistica.js +1 -1
  123. package/dist-es/feedback.css-mistica.js +1 -1
  124. package/dist-es/fixed-footer-layout.css-mistica.js +4 -4
  125. package/dist-es/form.css-mistica.js +1 -1
  126. package/dist-es/grid-layout.css-mistica.js +3 -3
  127. package/dist-es/grid.css-mistica.js +122 -122
  128. package/dist-es/header.css-mistica.js +1 -1
  129. package/dist-es/hero.css-mistica.js +2 -2
  130. package/dist-es/horizontal-scroll.css-mistica.js +1 -1
  131. package/dist-es/icon-button.css-mistica.js +42 -42
  132. package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
  133. package/dist-es/icons/icon-error.css-mistica.js +1 -1
  134. package/dist-es/image.css-mistica.js +3 -3
  135. package/dist-es/inline.css-mistica.js +10 -10
  136. package/dist-es/list.css-mistica.js +1 -1
  137. package/dist-es/loading-bar.css-mistica.js +1 -1
  138. package/dist-es/loading-screen.css-mistica.js +4 -4
  139. package/dist-es/logo.css-mistica.js +5 -5
  140. package/dist-es/menu.css-mistica.js +12 -12
  141. package/dist-es/mosaic.css-mistica.js +1 -1
  142. package/dist-es/navigation-bar.css-mistica.js +16 -16
  143. package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
  144. package/dist-es/package-version.js +1 -1
  145. package/dist-es/pin-field.css-mistica.js +1 -1
  146. package/dist-es/popover.css-mistica.js +1 -1
  147. package/dist-es/progress-bar.css-mistica.js +4 -4
  148. package/dist-es/radio-button.css-mistica.js +14 -14
  149. package/dist-es/rating.css-mistica.js +2 -2
  150. package/dist-es/responsive-layout.css-mistica.js +4 -4
  151. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  152. package/dist-es/select.css-mistica.js +15 -15
  153. package/dist-es/sheet-action-row.css-mistica.js +1 -1
  154. package/dist-es/sheet-common.css-mistica.js +1 -1
  155. package/dist-es/sheet-info.css-mistica.js +1 -1
  156. package/dist-es/skeletons.css-mistica.js +4 -4
  157. package/dist-es/skins/skin-contract.css-mistica.js +390 -390
  158. package/dist-es/skip-link.css-mistica.js +1 -1
  159. package/dist-es/slider.css-mistica.js +10 -10
  160. package/dist-es/snackbar.css-mistica.js +4 -4
  161. package/dist-es/spinner.css-mistica.js +1 -1
  162. package/dist-es/stack.css-mistica.js +5 -5
  163. package/dist-es/stacking-group.css-mistica.js +1 -1
  164. package/dist-es/stepper.css-mistica.js +2 -2
  165. package/dist-es/style.css +1 -1
  166. package/dist-es/switch-component.css-mistica.js +26 -26
  167. package/dist-es/table.css-mistica.js +8 -8
  168. package/dist-es/tabs.css-mistica.js +12 -12
  169. package/dist-es/tag.css-mistica.js +1 -1
  170. package/dist-es/text-field-base.css-mistica.js +1 -1
  171. package/dist-es/text-field-components.css-mistica.js +3 -3
  172. package/dist-es/text-link.css-mistica.js +5 -5
  173. package/dist-es/text.css-mistica.js +7 -7
  174. package/dist-es/theme-context.css-mistica.js +430 -430
  175. package/dist-es/timeline.css-mistica.js +10 -10
  176. package/dist-es/timer.css-mistica.js +6 -6
  177. package/dist-es/tooltip.css-mistica.js +1 -1
  178. package/dist-es/touchable.css-mistica.js +1 -1
  179. package/dist-es/utils/aspect-ratio-support.css-mistica.js +3 -3
  180. package/dist-es/video.css-mistica.js +1 -1
  181. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  182. package/package.json +1 -1
@@ -78,57 +78,57 @@ function _object_without_properties_loose(source, excluded) {
78
78
  }
79
79
  return target;
80
80
  }
81
- import { jsx as i, jsxs as f, Fragment as Q } from "react/jsx-runtime";
82
- import * as I from "react";
83
- import { container as ht, boxed as pt, touchable as Fe, touchableContainer as mt, containerPaddingTopVariants as be, containerPaddingXVariants as W, containerPaddingBottomVariants as ut, contentContainer as gt, textContent as bt, vars as vt, backgroundImageOrVideoContainer as ft, actionsContainerVariants as xt, topActionsContainer as kt, touchableCardOverlayInverse as yt, touchableCardOverlay as Rt } from "./card-internal.css-mistica.js";
84
- import { vars as ee } from "./image.css-mistica.js";
85
- import { pauseIconButtonLabel as wt, playIconButtonLabel as Ht, closeButtonLabel as It } from "./text-tokens.js";
86
- import { Text as J } from "./text.js";
87
- import { useInnerText as Ee, useTheme as te } from "./hooks.js";
88
- import { useThemeVariant as _e, useIsInverseVariant as Bt, ThemeVariant as ve } from "./theme-variant-context.js";
81
+ import { jsx as t, jsxs as k, Fragment as W } from "react/jsx-runtime";
82
+ import * as B from "react";
83
+ import { container as ht, boxed as mt, touchable as Ee, touchableContainer as pt, containerPaddingTopVariants as fe, containerPaddingXVariants as ee, containerPaddingBottomVariants as ut, contentContainer as gt, textContent as bt, vars as vt, backgroundImageOrVideoContainer as ft, actionsContainerVariants as xt, topActionsContainer as kt, touchableCardOverlayInverse as yt, touchableCardOverlay as Rt } from "./card-internal.css-mistica.js";
84
+ import { vars as ie } from "./image.css-mistica.js";
85
+ import { pauseIconButtonLabel as wt, playIconButtonLabel as It, closeButtonLabel as Ht } from "./text-tokens.js";
86
+ import { Text as U } from "./text.js";
87
+ import { useInnerText as $e, useTheme as oe } from "./hooks.js";
88
+ import { useThemeVariant as Ke, useIsInverseVariant as Bt, ThemeVariant as xe } from "./theme-variant-context.js";
89
89
  import Ct from "./tag.js";
90
- import $e from "./stack.js";
91
- import Ke from "./image.js";
90
+ import je from "./stack.js";
91
+ import Xe from "./image.js";
92
92
  import zt from "./video.js";
93
- import je from "./inline.js";
93
+ import Me from "./inline.js";
94
94
  import Tt from "./spinner.js";
95
95
  import St from "./generated/mistica-icons/icon-play-filled.js";
96
96
  import Lt from "./generated/mistica-icons/icon-pause-filled.js";
97
97
  import Vt from "./generated/mistica-icons/icon-close-regular.js";
98
98
  import { getPrefixedDataAttributes as Nt } from "./utils/dom.js";
99
- import { applyCssVars as j } from "./utils/css.js";
99
+ import { applyCssVars as G } from "./utils/css.js";
100
100
  import { InternalBoxed as At } from "./boxed.js";
101
101
  import { BaseTouchable as Ot } from "./touchable.js";
102
- import { aspectRatioToNumber as fe, AspectRatioContainer as Pt } from "./utils/aspect-ratio-support.js";
103
- import { vars as u } from "./skins/skin-contract.css-mistica.js";
102
+ import { aspectRatioToNumber as ke, AspectRatioContainer as Pt } from "./utils/aspect-ratio-support.js";
103
+ import { vars as b } from "./skins/skin-contract.css-mistica.js";
104
104
  import { IconButton as Ft, ToggleIconButton as Et } from "./icon-button.js";
105
105
  import { combineRefs as $t } from "./utils/common.js";
106
- import { isRunningAcceptanceTest as Me } from "./utils/platform.js";
107
- import B from "classnames";
106
+ import { isRunningAcceptanceTest as Ge } from "./utils/platform.js";
107
+ import C from "classnames";
108
108
  import jt from "./button-group.js";
109
- import { isBiggerHeading as Xe } from "./utils/headings.js";
109
+ import { isBiggerHeading as Ye } from "./utils/headings.js";
110
110
  import { getRGBComponents as Mt } from "./utils/color.js";
111
- const Gt = /*#__PURE__*/ I.forwardRef((param, h)=>{
112
- let { type: t, children: o, width: n, height: r, aspectRatio: a, "aria-label": p, "aria-labelledby": m, "aria-description": d, "aria-describedby": c, dataAttributes: l, backgroundColor: g, variant: k } = param;
113
- const b = n && r ? void 0 : fe(a), v = b ? j({
114
- [vt.aspectRatio]: String(b)
115
- }) : {}, e = g ? "none" : void 0, s = t === "naked";
111
+ const Gt = /*#__PURE__*/ B.forwardRef((param, m)=>{
112
+ let { type: e, children: o, width: r, height: n, aspectRatio: a, "aria-label": c, "aria-labelledby": h, "aria-description": d, "aria-describedby": l, dataAttributes: s, backgroundColor: v, variant: R } = param;
113
+ const x = r && n ? void 0 : ke(a), f = x ? G({
114
+ [vt.aspectRatio]: String(x)
115
+ }) : {}, p = v ? "none" : void 0, g = e === "naked";
116
116
  return(// aria-description should be vaild, but this eslint rule is complaining about it
117
117
  // eslint-disable-next-line jsx-a11y/role-supports-aria-props
118
- /* @__PURE__ */ i("section", _object_spread_props(_object_spread({
119
- ref: h,
120
- "aria-label": p,
121
- "aria-labelledby": m,
118
+ /* @__PURE__ */ t("section", _object_spread_props(_object_spread({
119
+ ref: m,
120
+ "aria-label": c,
121
+ "aria-labelledby": h,
122
122
  "aria-description": d,
123
- "aria-describedby": c,
124
- className: B(ht)
125
- }, Nt(l, "InternalCard")), {
123
+ "aria-describedby": l,
124
+ className: C(ht)
125
+ }, Nt(s, "InternalCard")), {
126
126
  style: _object_spread({
127
- width: n || "100%",
128
- height: r || "100%",
127
+ width: r || "100%",
128
+ height: n || "100%",
129
129
  position: "relative"
130
- }, v),
131
- children: /* @__PURE__ */ i("div", {
130
+ }, f),
131
+ children: /* @__PURE__ */ t("div", {
132
132
  style: {
133
133
  display: "flex",
134
134
  flexDirection: "column",
@@ -136,72 +136,72 @@ const Gt = /*#__PURE__*/ I.forwardRef((param, h)=>{
136
136
  position: "relative",
137
137
  minHeight: "100%"
138
138
  },
139
- children: /* @__PURE__ */ i(At, {
139
+ children: /* @__PURE__ */ t(At, {
140
140
  width: "100%",
141
141
  height: "100%",
142
- variant: k,
143
- className: B(pt),
144
- background: s ? "transparent" : g,
145
- borderRadius: s ? "none" : u.borderRadii.container,
146
- border: s ? "none" : e,
142
+ variant: R,
143
+ className: C(mt),
144
+ background: g ? "transparent" : v,
145
+ borderRadius: g ? "none" : b.borderRadii.container,
146
+ border: g ? "none" : p,
147
147
  overflow: "visible",
148
148
  children: o
149
149
  })
150
150
  })
151
151
  })));
152
- }), U = (param)=>{
153
- let { minHeight: t } = param;
154
- return /* @__PURE__ */ i("div", {
152
+ }), Z = (param)=>{
153
+ let { minHeight: e } = param;
154
+ return /* @__PURE__ */ t("div", {
155
155
  style: {
156
156
  flexGrow: 1,
157
157
  flexShrink: 0,
158
- minHeight: t
158
+ minHeight: e
159
159
  }
160
160
  });
161
- }, Z = (param)=>{
162
- let { size: t, absolute: o, asset: n, type: r } = param;
163
- if (!n) return null;
164
- const a = /* @__PURE__ */ i("div", {
161
+ }, te = (param)=>{
162
+ let { size: e, absolute: o, asset: r, type: n } = param;
163
+ if (!r) return null;
164
+ const a = /* @__PURE__ */ t("div", {
165
165
  "data-testid": "asset",
166
166
  "aria-hidden": !0,
167
- style: j({
168
- [ee.mediaBorderRadius]: u.borderRadii.mediaSmall
167
+ style: G({
168
+ [ie.mediaBorderRadius]: b.borderRadii.mediaSmall
169
169
  }),
170
- children: n
170
+ children: r
171
171
  });
172
- return o ? /* @__PURE__ */ i("div", {
172
+ return o ? /* @__PURE__ */ t("div", {
173
173
  style: {
174
174
  position: "absolute",
175
175
  top: 0,
176
176
  left: 0
177
177
  },
178
- className: B(W[t], be[t]),
178
+ className: C(ee[e], fe[e]),
179
179
  children: a
180
- }) : /* @__PURE__ */ i("div", {
181
- className: B({
182
- [W[t]]: r !== "naked"
180
+ }) : /* @__PURE__ */ t("div", {
181
+ className: C({
182
+ [ee[e]]: n !== "naked"
183
183
  }),
184
184
  children: a
185
185
  });
186
186
  }, Dt = (param)=>{
187
- let { video: t, src: o, srcSet: n, backgroundVariant: r } = param;
188
- return /* @__PURE__ */ i(ve, {
189
- variant: r,
190
- children: /* @__PURE__ */ i("div", {
187
+ let { video: e, src: o, srcSet: r, backgroundVariant: n } = param;
188
+ return /* @__PURE__ */ t(xe, {
189
+ variant: n,
190
+ children: /* @__PURE__ */ t("div", {
191
191
  className: ft,
192
- style: j({
193
- [ee.mediaBorderRadius]: "0px",
194
- borderRadius: u.borderRadii.container,
192
+ style: G({
193
+ [ie.mediaBorderRadius]: "0px",
194
+ borderRadius: b.borderRadii.container,
195
195
  overflow: "hidden"
196
196
  }),
197
- children: t || /* @__PURE__ */ i(Ke, {
197
+ children: e || /* @__PURE__ */ t(Xe, {
198
198
  dataAttributes: {
199
199
  testid: "image"
200
200
  },
201
201
  width: "100%",
202
202
  height: "100%",
203
203
  src: o || "",
204
- srcSet: n,
204
+ srcSet: r,
205
205
  alt: ""
206
206
  })
207
207
  })
@@ -232,266 +232,266 @@ const Gt = /*#__PURE__*/ I.forwardRef((param, h)=>{
232
232
  error: {
233
233
  reset: "loading"
234
234
  }
235
- }, Kt = (t, o)=>_t[t][o] || t, Xt = (param)=>{
236
- let { color: t } = param;
237
- return /* @__PURE__ */ i(Tt, {
238
- color: t,
235
+ }, Kt = (e, o)=>_t[e][o] || e, Xt = (param)=>{
236
+ let { color: e } = param;
237
+ return /* @__PURE__ */ t(Tt, {
238
+ color: e,
239
239
  size: 16,
240
240
  delay: "0"
241
241
  });
242
242
  }, Yt = (param)=>{
243
- let { color: t } = param;
244
- return /* @__PURE__ */ i(Lt, {
245
- color: t,
243
+ let { color: e } = param;
244
+ return /* @__PURE__ */ t(Lt, {
245
+ color: e,
246
246
  size: 12
247
247
  });
248
248
  }, qt = (param)=>{
249
- let { color: t } = param;
250
- return /* @__PURE__ */ i(St, {
251
- color: t,
249
+ let { color: e } = param;
250
+ return /* @__PURE__ */ t(St, {
251
+ color: e,
252
252
  size: 12
253
253
  });
254
- }, Jt = (t, o, n, r)=>{
255
- const { texts: a, t: p } = te(), m = I.useRef(null), [d, c] = I.useReducer(Kt, process.env.NODE_ENV === "test" ? "playing" : "loading");
256
- I.useEffect(()=>{
257
- var b;
258
- const h = setTimeout(()=>c("showSpinner"), 2e3);
259
- return (b = m.current) == null || b.load(), ()=>{
260
- clearTimeout(h), c("reset");
254
+ }, Jt = (e, o, r, n)=>{
255
+ const { texts: a, t: c } = oe(), h = B.useRef(null), [d, l] = B.useReducer(Kt, process.env.NODE_ENV === "test" ? "playing" : "loading");
256
+ B.useEffect(()=>{
257
+ var x;
258
+ const m = setTimeout(()=>l("showSpinner"), 2e3);
259
+ return (x = h.current) == null || x.load(), ()=>{
260
+ clearTimeout(m), l("reset");
261
261
  };
262
262
  }, [
263
- t
263
+ e
264
264
  ]);
265
- const l = I.useMemo(()=>t !== void 0 ? /* @__PURE__ */ i(zt, {
266
- ref: $t(m, n),
267
- src: t,
265
+ const s = B.useMemo(()=>e !== void 0 ? /* @__PURE__ */ t(zt, {
266
+ ref: $t(h, r),
267
+ src: e,
268
268
  poster: o,
269
269
  width: "100%",
270
- height: r ? void 0 : "100%",
271
- onError: ()=>c("fail"),
272
- onPause: ()=>c("pause"),
273
- onPlay: ()=>c("play")
270
+ height: n ? void 0 : "100%",
271
+ onError: ()=>l("fail"),
272
+ onPause: ()=>l("pause"),
273
+ onPlay: ()=>l("play")
274
274
  }) : void 0, [
275
- n,
276
- t,
275
+ r,
276
+ e,
277
277
  o,
278
- r
279
- ]), g = ()=>{
280
- const h = m.current;
281
- h && (d === "loading" ? c("showSpinner") : d === "paused" ? h.play() : d === "playing" && h.pause());
278
+ n
279
+ ]), v = ()=>{
280
+ const m = h.current;
281
+ m && (d === "loading" ? l("showSpinner") : d === "paused" ? m.play() : d === "playing" && m.pause());
282
282
  };
283
283
  if (d === "error") return {
284
- video: l
284
+ video: s
285
285
  };
286
- const k = l ? {
286
+ const R = s ? {
287
287
  uncheckedProps: {
288
- Icon: d === "loadingTimeout" && !Me() ? Xt : Yt,
289
- label: d === "loadingTimeout" ? "" : a.pauseIconButtonLabel || p(wt)
288
+ Icon: d === "loadingTimeout" && !Ge() ? Xt : Yt,
289
+ label: d === "loadingTimeout" ? "" : a.pauseIconButtonLabel || c(wt)
290
290
  },
291
291
  checkedProps: {
292
292
  Icon: qt,
293
- label: a.playIconButtonLabel || p(Ht)
293
+ label: a.playIconButtonLabel || c(It)
294
294
  },
295
- onChange: g,
296
- disabled: Me() ? !1 : d === "loadingTimeout",
295
+ onChange: v,
296
+ disabled: Ge() ? !1 : d === "loadingTimeout",
297
297
  checked: d === "paused"
298
298
  } : void 0;
299
299
  return {
300
- video: l,
301
- videoAction: k
300
+ video: s,
301
+ videoAction: R
302
302
  };
303
303
  }, Qt = (param)=>{
304
- let { size: t, buttonPrimary: o, buttonSecondary: n, buttonLink: r } = param;
305
- return /* @__PURE__ */ i("div", {
306
- className: xt[t],
307
- children: /* @__PURE__ */ i(jt, {
304
+ let { size: e, buttonPrimary: o, buttonSecondary: r, buttonLink: n } = param;
305
+ return /* @__PURE__ */ t("div", {
306
+ className: xt[e],
307
+ children: /* @__PURE__ */ t(jt, {
308
308
  primaryButton: o,
309
- secondaryButton: n,
310
- link: r
309
+ secondaryButton: r,
310
+ link: n
311
311
  })
312
312
  });
313
- }, Ut = (t)=>{
314
- const o = _e();
315
- if (t.Icon) return /* @__PURE__ */ i(Ft, _object_spread_props(_object_spread({}, t), {
313
+ }, Ut = (e)=>{
314
+ const o = Ke();
315
+ if (e.Icon) return /* @__PURE__ */ t(Ft, _object_spread_props(_object_spread({}, e), {
316
316
  small: !0,
317
- "aria-label": t.label,
317
+ "aria-label": e.label,
318
318
  type: "neutral",
319
319
  backgroundType: "transparent"
320
320
  }));
321
- const { checkedProps: n, uncheckedProps: r } = t, a = _object_without_properties(t, [
321
+ const { checkedProps: r, uncheckedProps: n } = e, a = _object_without_properties(e, [
322
322
  "checkedProps",
323
323
  "uncheckedProps"
324
324
  ]);
325
- return /* @__PURE__ */ i(Et, _object_spread_props(_object_spread({
325
+ return /* @__PURE__ */ t(Et, _object_spread_props(_object_spread({
326
326
  small: !0
327
327
  }, a), {
328
- checkedProps: _object_spread_props(_object_spread({}, n), {
329
- "aria-label": t.checkedProps.label,
328
+ checkedProps: _object_spread_props(_object_spread({}, r), {
329
+ "aria-label": e.checkedProps.label,
330
330
  type: o === "media" ? "neutral" : "brand",
331
331
  backgroundType: "solid"
332
332
  }),
333
- uncheckedProps: _object_spread_props(_object_spread({}, r), {
334
- "aria-label": t.uncheckedProps.label,
333
+ uncheckedProps: _object_spread_props(_object_spread({}, n), {
334
+ "aria-label": e.uncheckedProps.label,
335
335
  type: "neutral",
336
336
  backgroundType: "transparent"
337
337
  })
338
338
  }));
339
- }, Ge = (param)=>{
340
- let { testid: t = "topActions", onClose: o, closeButtonLabel: n, actions: r, variant: a, containerStyles: p = {} } = param;
341
- const { texts: m, t: d } = te(), c = r ? [
342
- ...r
339
+ }, De = (param)=>{
340
+ let { testid: e = "topActions", onClose: o, closeButtonLabel: r, actions: n, variant: a, containerStyles: c = {} } = param;
341
+ const { texts: h, t: d } = oe(), l = n ? [
342
+ ...n
343
343
  ] : [];
344
- return o && c.push({
345
- label: n || m.closeButtonLabel || d(It),
344
+ return o && l.push({
345
+ label: r || h.closeButtonLabel || d(Ht),
346
346
  onPress: o,
347
347
  Icon: Vt
348
- }), c.length === 0 ? /* @__PURE__ */ i(Q, {}) : /* @__PURE__ */ i(ve, {
348
+ }), l.length === 0 ? /* @__PURE__ */ t(W, {}) : /* @__PURE__ */ t(xe, {
349
349
  variant: a,
350
- children: /* @__PURE__ */ i("div", {
350
+ children: /* @__PURE__ */ t("div", {
351
351
  className: kt,
352
- style: p,
353
- "data-testid": t,
354
- children: c.map((l, g)=>"Icon" in l || "checkedProps" in l ? /* @__PURE__ */ i(Ut, _object_spread({}, l), g) : l)
352
+ style: c,
353
+ "data-testid": e,
354
+ children: l.map((s, v)=>"Icon" in s || "checkedProps" in s ? /* @__PURE__ */ t(Ut, _object_spread({}, s), v) : s)
355
355
  })
356
356
  });
357
357
  }, Wt = (param)=>{
358
- let { type: t, size: o, asset: n, imageSrc: r, imageSrcSet: a, imageFit: p, imageAlt: m = "", video: d, mediaAspectRatio: c, mediaPosition: l, mediaWidth: g, circledImage: k } = param;
359
- const h = fe(c), b = t === "naked" && k ? {
358
+ let { type: e, size: o, asset: r, imageSrc: n, imageSrcSet: a, imageFit: c, imageAlt: h = "", video: d, mediaAspectRatio: l, mediaPosition: s, mediaWidth: v, circledImage: R } = param;
359
+ const m = ke(l), x = e === "naked" && R ? {
360
360
  circular: !0
361
361
  } : {
362
362
  width: "100%",
363
- height: l === "top" && h === 0 ? void 0 : "100%"
364
- }, e = (()=>{
363
+ height: s === "top" && m === 0 ? void 0 : "100%"
364
+ }, p = (()=>{
365
365
  if (d) return d;
366
- if (r !== void 0 || a !== void 0) {
367
- const L = l === "left" || l === "right", R = {
366
+ if (n !== void 0 || a !== void 0) {
367
+ const i = s === "left" || s === "right", u = {
368
368
  fit: {
369
369
  objectFit: "contain",
370
- objectPosition: `bottom ${l}`
370
+ objectPosition: `bottom ${s}`
371
371
  },
372
372
  fill: {
373
373
  objectFit: "cover",
374
- objectPosition: l
374
+ objectPosition: s
375
375
  },
376
376
  "fill-center": {
377
377
  objectFit: "cover",
378
378
  objectPosition: "center"
379
379
  }
380
380
  };
381
- return /* @__PURE__ */ i(Ke, _object_spread(_object_spread_props(_object_spread({
382
- src: r || "",
381
+ return /* @__PURE__ */ t(Xe, _object_spread(_object_spread_props(_object_spread({
382
+ src: n || "",
383
383
  srcSet: a
384
- }, b), {
384
+ }, x), {
385
385
  dataAttributes: {
386
386
  testid: "image"
387
387
  },
388
- alt: m
389
- }), L ? R[p] : {}));
388
+ alt: h
389
+ }), i ? u[c] : {}));
390
390
  }
391
391
  return null;
392
392
  })();
393
- if (!e) return /* @__PURE__ */ i(Q, {});
394
- const s = _object_spread({}, t === "naked" ? void 0 : j({
395
- [ee.mediaBorderRadius]: "0px"
393
+ if (!p) return /* @__PURE__ */ t(W, {});
394
+ const g = _object_spread({}, e === "naked" ? void 0 : G({
395
+ [ie.mediaBorderRadius]: "0px"
396
396
  }));
397
- return l === "top" ? /* @__PURE__ */ f(Q, {
397
+ return s === "top" ? /* @__PURE__ */ k(W, {
398
398
  children: [
399
- /* @__PURE__ */ i(Pt, {
400
- aspectRatio: h,
401
- style: s,
402
- children: e
399
+ /* @__PURE__ */ t(Pt, {
400
+ aspectRatio: m,
401
+ style: g,
402
+ children: p
403
403
  }),
404
- /* @__PURE__ */ i(Z, {
404
+ /* @__PURE__ */ t(te, {
405
405
  absolute: !0,
406
406
  size: o,
407
- asset: n,
408
- type: t
407
+ asset: r,
408
+ type: e
409
409
  })
410
410
  ]
411
- }) : /* @__PURE__ */ f(Q, {
411
+ }) : /* @__PURE__ */ k(W, {
412
412
  children: [
413
- /* @__PURE__ */ i("div", {
414
- style: _object_spread_props(_object_spread({}, s), {
415
- width: g,
413
+ /* @__PURE__ */ t("div", {
414
+ style: _object_spread_props(_object_spread({}, g), {
415
+ width: v,
416
416
  flexShrink: 0,
417
417
  flexGrow: 0,
418
418
  height: "100%",
419
419
  position: "relative"
420
420
  }),
421
- children: e
421
+ children: p
422
422
  }),
423
- l !== "right" && /* @__PURE__ */ i(Z, {
423
+ s !== "right" && /* @__PURE__ */ t(te, {
424
424
  absolute: !0,
425
425
  size: o,
426
- asset: n,
427
- type: t
426
+ asset: r,
427
+ type: e
428
428
  })
429
429
  ]
430
430
  });
431
431
  }, Zt = (param)=>{
432
- let { type: t, size: o, variant: n, footerSlot: r, buttonPrimary: a, buttonSecondary: p, buttonLink: m, hasBackgroundImageOrVideo: d, footerVariant: c, footerBackgroundColor: l, isInverseOutside: g, overlayColor: k } = param;
433
- const h = !!(a || p || m), b = !!(a && p && m), v = n === "inverse" || n === "media", e = t === "naked", s = l || (c && c !== n ? c === "default" ? u.colors.backgroundContainer : g ? u.colors.backgroundContainerBrandOverInverse : u.colors.backgroundContainerBrand : void 0);
434
- return /* @__PURE__ */ f(ve, {
435
- variant: c || n,
432
+ let { type: e, size: o, variant: r, footerSlot: n, buttonPrimary: a, buttonSecondary: c, buttonLink: h, hasBackgroundImageOrVideo: d, footerVariant: l, footerBackgroundColor: s, isInverseOutside: v, overlayColor: R } = param;
433
+ const m = !!(a || c || h), x = !!(a && c && h), f = r === "inverse" || r === "media", p = e === "naked", g = s || (l && l !== r ? l === "default" ? b.colors.backgroundContainer : v ? b.colors.backgroundContainerBrandOverInverse : b.colors.backgroundContainerBrand : void 0);
434
+ return /* @__PURE__ */ k(xe, {
435
+ variant: l || r,
436
436
  children: [
437
- /* @__PURE__ */ i(U, {}),
438
- /* @__PURE__ */ f("div", {
437
+ /* @__PURE__ */ t(Z, {}),
438
+ /* @__PURE__ */ k("div", {
439
439
  style: {
440
- background: s || (d ? k : void 0),
440
+ background: g || (d ? R : void 0),
441
441
  position: "relative",
442
442
  backdropFilter: d ? "blur(12px)" : void 0,
443
- borderBottomLeftRadius: e ? 0 : u.borderRadii.container,
444
- borderBottomRightRadius: e ? 0 : u.borderRadii.container
443
+ borderBottomLeftRadius: p ? 0 : b.borderRadii.container,
444
+ borderBottomRightRadius: p ? 0 : b.borderRadii.container
445
445
  },
446
446
  children: [
447
- /* @__PURE__ */ i("div", {
447
+ /* @__PURE__ */ t("div", {
448
448
  style: {
449
- borderTop: s ? void 0 : `1px solid ${v ? u.colors.dividerInverse : u.colors.divider}`,
450
- marginRight: e ? 16 : 0
449
+ borderTop: g ? void 0 : `1px solid ${f ? b.colors.dividerInverse : b.colors.divider}`,
450
+ marginRight: p ? 16 : 0
451
451
  }
452
452
  }),
453
- /* @__PURE__ */ i("div", {
453
+ /* @__PURE__ */ t("div", {
454
454
  "data-testid": "footer",
455
- className: B({
456
- [W[o]]: !e
455
+ className: C({
456
+ [ee[o]]: !p
457
457
  }),
458
458
  style: {
459
459
  paddingTop: 16,
460
- paddingBottom: e ? 0 : 16,
461
- paddingRight: e ? 16 : void 0
460
+ paddingBottom: p ? 0 : 16,
461
+ paddingRight: p ? 16 : void 0
462
462
  },
463
- children: /* @__PURE__ */ f($e, {
463
+ children: /* @__PURE__ */ k(je, {
464
464
  space: 16,
465
465
  children: [
466
- r,
467
- h && // @FIXME: We should use the ButtonGroup component
466
+ n,
467
+ m && // @FIXME: We should use the ButtonGroup component
468
468
  // https://jira.tid.es/browse/WEB-2278
469
469
  // https://www.figma.com/design/koROdh3HpEPG2O8jG52Emh/%F0%9F%94%B8-Buttons-Specs?node-id=4337-1606&t=HtImvar8DMbivDqC-0
470
- (b ? /* @__PURE__ */ f($e, {
470
+ (x ? /* @__PURE__ */ k(je, {
471
471
  space: 16,
472
472
  children: [
473
- /* @__PURE__ */ f(je, {
473
+ /* @__PURE__ */ k(Me, {
474
474
  space: "between",
475
475
  alignItems: "center",
476
476
  children: [
477
477
  a,
478
- p
478
+ c
479
479
  ]
480
480
  }),
481
- /* @__PURE__ */ i("div", {
481
+ /* @__PURE__ */ t("div", {
482
482
  style: {
483
483
  marginLeft: -12
484
484
  },
485
- children: m
485
+ children: h
486
486
  })
487
487
  ]
488
- }) : /* @__PURE__ */ f(je, {
488
+ }) : /* @__PURE__ */ k(Me, {
489
489
  space: "between",
490
490
  alignItems: "center",
491
491
  children: [
492
492
  a,
493
- p,
494
- m
493
+ c,
494
+ h
495
495
  ]
496
496
  }))
497
497
  ]
@@ -502,212 +502,212 @@ const Gt = /*#__PURE__*/ I.forwardRef((param, h)=>{
502
502
  ]
503
503
  });
504
504
  }, ei = (param)=>{
505
- let { headlineRef: t, size: o, variant: n, headline: r, title: a, titleAs: p = "h3", titleLinesMax: m, pretitle: d, pretitleAs: c, pretitleLinesMax: l, subtitle: g, subtitleLinesMax: k, description: h, descriptionLinesMax: b, withTextShadow: v } = param;
506
- const { textPresets: e, colorValues: s } = te(), L = _e(), R = {
505
+ let { type: e, hasCustomBackground: o, headlineRef: r, size: n, variant: a, headline: c, title: h, titleAs: d = "h3", titleLinesMax: l, pretitle: s, pretitleAs: v, pretitleLinesMax: R, subtitle: m, subtitleLinesMax: x, description: f, descriptionLinesMax: p, withTextShadow: g } = param;
506
+ const { textPresets: i, colorValues: u } = oe(), F = Ke(), z = {
507
507
  hyphens: "auto"
508
- }, C = {
508
+ }, E = {
509
509
  default: {
510
- pretitle: s.textPrimary,
511
- title: s.textPrimary,
512
- subtitle: s.textPrimary,
513
- description: s.textSecondary
510
+ pretitle: u.textPrimary,
511
+ title: u.textPrimary,
512
+ subtitle: u.textPrimary,
513
+ description: u.textSecondary
514
514
  },
515
515
  inverse: {
516
- pretitle: s.textPrimaryInverse,
517
- title: s.textPrimaryInverse,
518
- subtitle: s.textPrimaryInverse,
519
- description: s.textSecondaryInverse
516
+ pretitle: u.textPrimaryInverse,
517
+ title: u.textPrimaryInverse,
518
+ subtitle: u.textPrimaryInverse,
519
+ description: u.textSecondaryInverse
520
520
  },
521
521
  media: {
522
- pretitle: s.textPrimaryInverse,
523
- title: s.textPrimaryInverse,
524
- subtitle: s.textPrimaryInverse,
525
- description: s.textSecondaryInverse
522
+ pretitle: u.textPrimaryInverse,
523
+ title: u.textPrimaryInverse,
524
+ subtitle: u.textPrimaryInverse,
525
+ description: e === "cover" && o ? u.textPrimaryInverse : u.textSecondaryInverse
526
526
  }
527
- }, P = {
527
+ }, V = {
528
528
  snap: {
529
529
  pretitle: {
530
- mobileSize: e.text2.size.mobile,
531
- desktopSize: e.text2.size.desktop,
532
- mobileLineHeight: e.text2.lineHeight.mobile,
533
- desktopLineHeight: e.text2.lineHeight.desktop,
530
+ mobileSize: i.text2.size.mobile,
531
+ desktopSize: i.text2.size.desktop,
532
+ mobileLineHeight: i.text2.lineHeight.mobile,
533
+ desktopLineHeight: i.text2.lineHeight.desktop,
534
534
  weight: "regular"
535
535
  },
536
536
  title: {
537
- mobileSize: e.text2.size.mobile,
538
- desktopSize: e.text2.size.desktop,
539
- mobileLineHeight: e.text2.lineHeight.mobile,
540
- desktopLineHeight: e.text2.lineHeight.desktop,
541
- weight: e.cardTitle.weight
537
+ mobileSize: i.text2.size.mobile,
538
+ desktopSize: i.text2.size.desktop,
539
+ mobileLineHeight: i.text2.lineHeight.mobile,
540
+ desktopLineHeight: i.text2.lineHeight.desktop,
541
+ weight: i.cardTitle.weight
542
542
  },
543
543
  subtitle: {
544
- mobileSize: e.text2.size.mobile,
545
- desktopSize: e.text2.size.desktop,
546
- mobileLineHeight: e.text2.lineHeight.mobile,
547
- desktopLineHeight: e.text2.lineHeight.desktop,
544
+ mobileSize: i.text2.size.mobile,
545
+ desktopSize: i.text2.size.desktop,
546
+ mobileLineHeight: i.text2.lineHeight.mobile,
547
+ desktopLineHeight: i.text2.lineHeight.desktop,
548
548
  weight: "regular"
549
549
  },
550
550
  description: {
551
- mobileSize: e.text2.size.mobile,
552
- desktopSize: e.text2.size.desktop,
553
- mobileLineHeight: e.text2.lineHeight.mobile,
554
- desktopLineHeight: e.text2.lineHeight.desktop,
551
+ mobileSize: i.text2.size.mobile,
552
+ desktopSize: i.text2.size.desktop,
553
+ mobileLineHeight: i.text2.lineHeight.mobile,
554
+ desktopLineHeight: i.text2.lineHeight.desktop,
555
555
  weight: "regular"
556
556
  }
557
557
  },
558
558
  default: {
559
559
  pretitle: {
560
- mobileSize: e.text2.size.mobile,
561
- desktopSize: e.text2.size.desktop,
562
- mobileLineHeight: e.text2.lineHeight.mobile,
563
- desktopLineHeight: e.text2.lineHeight.desktop,
560
+ mobileSize: i.text2.size.mobile,
561
+ desktopSize: i.text2.size.desktop,
562
+ mobileLineHeight: i.text2.lineHeight.mobile,
563
+ desktopLineHeight: i.text2.lineHeight.desktop,
564
564
  weight: "regular"
565
565
  },
566
566
  title: {
567
- mobileSize: e.text4.size.mobile,
568
- desktopSize: e.text4.size.desktop,
569
- mobileLineHeight: e.text4.lineHeight.mobile,
570
- desktopLineHeight: e.text4.lineHeight.desktop,
571
- weight: e.cardTitle.weight
567
+ mobileSize: i.text4.size.mobile,
568
+ desktopSize: i.text4.size.desktop,
569
+ mobileLineHeight: i.text4.lineHeight.mobile,
570
+ desktopLineHeight: i.text4.lineHeight.desktop,
571
+ weight: i.cardTitle.weight
572
572
  },
573
573
  subtitle: {
574
- mobileSize: e.text2.size.mobile,
575
- desktopSize: e.text2.size.desktop,
576
- mobileLineHeight: e.text2.lineHeight.mobile,
577
- desktopLineHeight: e.text2.lineHeight.desktop,
574
+ mobileSize: i.text2.size.mobile,
575
+ desktopSize: i.text2.size.desktop,
576
+ mobileLineHeight: i.text2.lineHeight.mobile,
577
+ desktopLineHeight: i.text2.lineHeight.desktop,
578
578
  weight: "regular"
579
579
  },
580
580
  description: {
581
- mobileSize: e.text2.size.mobile,
582
- desktopSize: e.text2.size.desktop,
583
- mobileLineHeight: e.text2.lineHeight.mobile,
584
- desktopLineHeight: e.text2.lineHeight.desktop,
581
+ mobileSize: i.text2.size.mobile,
582
+ desktopSize: i.text2.size.desktop,
583
+ mobileLineHeight: i.text2.lineHeight.mobile,
584
+ desktopLineHeight: i.text2.lineHeight.desktop,
585
585
  weight: "regular"
586
586
  }
587
587
  },
588
588
  display: {
589
589
  pretitle: {
590
- mobileSize: e.text2.size.mobile,
591
- desktopSize: e.text2.size.desktop,
592
- mobileLineHeight: e.text2.lineHeight.mobile,
593
- desktopLineHeight: e.text2.lineHeight.desktop,
590
+ mobileSize: i.text2.size.mobile,
591
+ desktopSize: i.text2.size.desktop,
592
+ mobileLineHeight: i.text2.lineHeight.mobile,
593
+ desktopLineHeight: i.text2.lineHeight.desktop,
594
594
  weight: "regular"
595
595
  },
596
596
  title: {
597
- mobileSize: e.text6.size.mobile,
598
- desktopSize: e.text6.size.desktop,
599
- mobileLineHeight: e.text6.lineHeight.mobile,
600
- desktopLineHeight: e.text6.lineHeight.desktop,
601
- weight: e.text6.weight
597
+ mobileSize: i.text6.size.mobile,
598
+ desktopSize: i.text6.size.desktop,
599
+ mobileLineHeight: i.text6.lineHeight.mobile,
600
+ desktopLineHeight: i.text6.lineHeight.desktop,
601
+ weight: i.text6.weight
602
602
  },
603
603
  subtitle: {
604
- mobileSize: e.text2.size.mobile,
605
- desktopSize: e.text2.size.desktop,
606
- mobileLineHeight: e.text2.lineHeight.mobile,
607
- desktopLineHeight: e.text2.lineHeight.desktop,
604
+ mobileSize: i.text2.size.mobile,
605
+ desktopSize: i.text2.size.desktop,
606
+ mobileLineHeight: i.text2.lineHeight.mobile,
607
+ desktopLineHeight: i.text2.lineHeight.desktop,
608
608
  weight: "regular"
609
609
  },
610
610
  description: {
611
- mobileSize: e.text3.size.mobile,
612
- desktopSize: e.text3.size.desktop,
613
- mobileLineHeight: e.text3.lineHeight.mobile,
614
- desktopLineHeight: e.text3.lineHeight.desktop,
611
+ mobileSize: i.text3.size.mobile,
612
+ desktopSize: i.text3.size.desktop,
613
+ mobileLineHeight: i.text3.lineHeight.mobile,
614
+ desktopLineHeight: i.text3.lineHeight.desktop,
615
615
  weight: "regular"
616
616
  }
617
617
  }
618
- }, V = C[n] || C[L] || C.default, w = P[o] || P.default, N = v ? "0 0 15px rgba(0, 0, 0, 0.4)" : void 0, F = r && // Read order 2. Visual order 1
619
- /* @__PURE__ */ i("div", {
618
+ }, N = E[a] || E[F] || E.default, I = V[n] || V.default, A = g ? "0 0 15px rgba(0, 0, 0, 0.4)" : void 0, re = c && // Read order 2. Visual order 1
619
+ /* @__PURE__ */ t("div", {
620
620
  style: {
621
621
  paddingBottom: 8,
622
622
  order: 1
623
623
  },
624
624
  "data-testid": "headline",
625
- ref: t,
626
- children: typeof r == "string" ? /* @__PURE__ */ i(Ct, {
625
+ ref: r,
626
+ children: typeof c == "string" ? /* @__PURE__ */ t(Ct, {
627
627
  type: "promo",
628
- children: r
629
- }) : r
630
- }), M = d && // Read order: 3 or 1. Visual order 2
631
- /* @__PURE__ */ i("div", {
628
+ children: c
629
+ }) : c
630
+ }), $ = s && // Read order: 3 or 1. Visual order 2
631
+ /* @__PURE__ */ t("div", {
632
632
  style: {
633
633
  paddingBottom: 4,
634
634
  order: 2
635
635
  },
636
636
  "data-testid": "pretitle",
637
- children: /* @__PURE__ */ i(J, _object_spread_props(_object_spread({}, R, w.pretitle), {
638
- as: c || "p",
639
- truncate: l,
640
- color: V.pretitle,
641
- textShadow: N,
642
- children: d
637
+ children: /* @__PURE__ */ t(U, _object_spread_props(_object_spread({}, z, I.pretitle), {
638
+ as: v || "p",
639
+ truncate: R,
640
+ color: N.pretitle,
641
+ textShadow: A,
642
+ children: s
643
643
  }))
644
- }), G = a && // Read order: 1 or 3. Visual order 3
645
- /* @__PURE__ */ i("div", {
644
+ }), D = h && // Read order: 1 or 3. Visual order 3
645
+ /* @__PURE__ */ t("div", {
646
646
  style: {
647
647
  paddingBottom: 4,
648
648
  order: 3
649
649
  },
650
650
  "data-testid": "title",
651
- children: /* @__PURE__ */ i(J, _object_spread_props(_object_spread({}, R, w.title), {
652
- as: p,
653
- truncate: m,
654
- color: V.title,
655
- textShadow: N,
656
- children: a
651
+ children: /* @__PURE__ */ t(U, _object_spread_props(_object_spread({}, z, I.title), {
652
+ as: d,
653
+ truncate: l,
654
+ color: N.title,
655
+ textShadow: A,
656
+ children: h
657
657
  }))
658
- }), D = g && // Read order: 4. Visual order 4
659
- /* @__PURE__ */ i("div", {
658
+ }), ne = m && // Read order: 4. Visual order 4
659
+ /* @__PURE__ */ t("div", {
660
660
  style: {
661
661
  paddingBottom: 0,
662
662
  order: 4
663
663
  },
664
664
  "data-testid": "subtitle",
665
- children: /* @__PURE__ */ i(J, _object_spread_props(_object_spread({}, R, w.subtitle), {
665
+ children: /* @__PURE__ */ t(U, _object_spread_props(_object_spread({}, z, I.subtitle), {
666
666
  as: "p",
667
- truncate: k,
668
- color: V.subtitle,
669
- textShadow: N,
670
- children: g
667
+ truncate: x,
668
+ color: N.subtitle,
669
+ textShadow: A,
670
+ children: m
671
671
  }))
672
- }), ie = h && // Read order: 5. Visual order 5
673
- /* @__PURE__ */ i("div", {
672
+ }), ae = f && // Read order: 5. Visual order 5
673
+ /* @__PURE__ */ t("div", {
674
674
  style: {
675
675
  paddingTop: 4,
676
676
  order: 5
677
677
  },
678
678
  "data-testid": "description",
679
- children: /* @__PURE__ */ i(J, _object_spread_props(_object_spread({}, R, w.description), {
679
+ children: /* @__PURE__ */ t(U, _object_spread_props(_object_spread({}, z, I.description), {
680
680
  as: "p",
681
- truncate: b,
682
- color: V.description,
683
- textShadow: N,
684
- children: h
681
+ truncate: p,
682
+ color: N.description,
683
+ textShadow: A,
684
+ children: f
685
685
  }))
686
- }), [oe, re] = a && Xe(p, c) ? [
687
- G,
688
- M
686
+ }), [_, K] = h && Ye(d, v) ? [
687
+ D,
688
+ $
689
689
  ] : [
690
- M,
691
- G
690
+ $,
691
+ D
692
692
  ];
693
- return /* @__PURE__ */ f("div", {
693
+ return /* @__PURE__ */ k("div", {
694
694
  style: {
695
695
  display: "flex",
696
696
  flexDirection: "column"
697
697
  },
698
698
  children: [
699
- oe,
700
- F,
699
+ _,
701
700
  re,
702
- D,
703
- ie
701
+ K,
702
+ ne,
703
+ ae
704
704
  ]
705
705
  });
706
- }, De = [
707
- u.colors.cardContentOverlay,
708
- u.colors.cardFooterOverlay
709
- ], Li = /*#__PURE__*/ I.forwardRef((_param, Ue)=>{
710
- var { type: t, size: o, backgroundColor: n, imageSrc: r, imageSrcSet: a, imageAlt: p = "", imageFit: m = "fill-center", videoSrc: d, videoRef: c, media: l, mediaAspectRatio: g = "auto", mediaPosition: k = "top", mediaWidth: h = 150, circledImage: b, asset: v, headline: e, title: s, titleAs: L = "h3", titleLinesMax: R, pretitle: C, pretitleAs: P, pretitleLinesMax: V, subtitle: w, subtitleLinesMax: N, description: F, descriptionLinesMax: M, dataAttributes: G, variant: D, width: ie, height: oe, aspectRatio: re, slot: xe, slotAlignment: ke = "content", buttonPrimary: ne, buttonSecondary: ae, buttonLink: se, showFooter: Ye, footerBackgroundColor: qe, footerVariant: Je, footerSlot: ye, topActions: _, onClose: Re, closeButtonLabel: Qe, "aria-label": we, "aria-labelledby": de, "aria-description": He, "aria-describedby": Ie, gradientOverlayColor: K } = _param, E = _object_without_properties(_param, [
706
+ }, _e = [
707
+ b.colors.cardContentOverlay,
708
+ b.colors.cardFooterOverlay
709
+ ], Li = /*#__PURE__*/ B.forwardRef((_param, We)=>{
710
+ var { type: e, size: o, backgroundColor: r, imageSrc: n, imageSrcSet: a, imageAlt: c = "", imageFit: h = "fill-center", videoSrc: d, videoRef: l, media: s, mediaAspectRatio: v = "auto", mediaPosition: R = "top", mediaWidth: m = 150, circledImage: x, asset: f, headline: p, title: g, titleAs: i = "h3", titleLinesMax: u, pretitle: F, pretitleAs: z, pretitleLinesMax: E, subtitle: V, subtitleLinesMax: N, description: I, descriptionLinesMax: A, dataAttributes: re, variant: $, width: D, height: ne, aspectRatio: ae, slot: _, slotAlignment: K = "content", buttonPrimary: se, buttonSecondary: de, buttonLink: le, showFooter: qe, footerBackgroundColor: Je, footerVariant: Qe, footerSlot: ye, topActions: X, onClose: Re, closeButtonLabel: Ue, "aria-label": we, "aria-labelledby": ce, "aria-description": Ie, "aria-describedby": He, gradientOverlayColor: Y } = _param, j = _object_without_properties(_param, [
711
711
  "type",
712
712
  "size",
713
713
  "backgroundColor",
@@ -757,208 +757,210 @@ const Gt = /*#__PURE__*/ I.forwardRef((param, h)=>{
757
757
  "aria-describedby",
758
758
  "gradientOverlayColor"
759
759
  ]);
760
- const { text: Be, ref: We } = Ee(), { text: Ce, ref: Ze } = Ee(), y = !!(E.href || E.to || E.onPress), le = !!(ne || ae || se), { colorValues: X } = te(), ce = t === "media" || t === "naked", et = ce && (r !== void 0 || a !== void 0), ze = ce && d !== void 0, Te = et || ze, he = ce && !!l && !Te, H = Te || he, z = t === "naked", x = H ? k : "top", Se = t === "naked" && b ? 1 : g, pe = t === "cover" && (r !== void 0 || a !== void 0), Y = t === "cover" && d !== void 0, tt = !!n || pe || Y, A = pe || Y, it = ze || Y, { video: Le, videoAction: me } = Jt(it ? d : void 0, r, c, t === "cover" || x !== "top" ? !1 : fe(Se) === 0), ue = Bt(), ot = D || (ue ? "inverse" : "default"), T = D || (t === "cover" && tt ? "media" : "default"), rt = T === "inverse" ? yt : Rt, S = Ye && (le || !!ye) || le && E.onPress, Ve = !S && le, q = ((_ == null ? void 0 : _.length) || 0) + (Re ? 1 : 0), Ne = me ? q + 1 : q, nt = v && !(H && x === "left"), at = t !== "cover" && Ne > 0 && !nt && !e, $ = t === "cover" || t === "data" && o === "display", O = u.borderRadii.container, st = pe || Y ? "transparent" : n || (T === "media" ? ue ? u.colors.backgroundContainerBrandOverInverse : u.colors.backgroundBrand : T === "alternative" ? u.colors.backgroundAlternative : void 0), [[dt, lt], ge] = I.useState(De);
761
- I.useEffect(()=>{
762
- if (K === "transparent") return ge([
760
+ const { text: Be, ref: Ze } = $e(), { text: Ce, ref: et } = $e(), w = !!(j.href || j.to || j.onPress), he = !!(se || de || le), { colorValues: q } = oe(), me = e === "media" || e === "naked", tt = me && (n !== void 0 || a !== void 0), ze = me && d !== void 0, Te = tt || ze, pe = me && !!s && !Te, H = Te || pe, T = e === "naked", y = H ? R : "top", Se = e === "naked" && x ? 1 : v, ue = e === "cover" && (n !== void 0 || a !== void 0), J = e === "cover" && d !== void 0, Le = !!r || ue || J, O = ue || J, it = ze || J, { video: Ve, videoAction: ge } = Jt(it ? d : void 0, n, l, e === "cover" || y !== "top" ? !1 : ke(Se) === 0), be = Bt(), ot = $ || (be ? "inverse" : "default"), S = $ || (e === "cover" && Le ? "media" : "default"), rt = S === "inverse" ? yt : Rt, L = qe && (he || !!ye) || he && j.onPress, Ne = !L && he, Q = ((X == null ? void 0 : X.length) || 0) + (Re ? 1 : 0), Ae = ge ? Q + 1 : Q, nt = f && !(H && y === "left"), at = e !== "cover" && Ae > 0 && !nt && !p, M = e === "cover" || e === "data" && o === "display", P = b.borderRadii.container, st = ue || J ? "transparent" : r || (S === "media" ? be ? b.colors.backgroundContainerBrandOverInverse : b.colors.backgroundBrand : S === "alternative" ? b.colors.backgroundAlternative : void 0), [[dt, lt], ve] = B.useState(_e);
761
+ B.useEffect(()=>{
762
+ if (Y === "transparent") return ve([
763
763
  "transparent",
764
764
  "transparent"
765
765
  ]);
766
- if (K) {
767
- const Ae = Mt(K);
768
- if (!Ae) return;
769
- const Oe = Ae.join(","), Pe = /rgba\s*\(\s*\d+\s*,\s*\d+\s*,\s*\d+/g;
770
- ge([
771
- X.cardContentOverlay.replace(Pe, `rgba(${Oe}`),
772
- X.cardFooterOverlay.replace(Pe, `rgba(${Oe}`)
766
+ if (Y) {
767
+ const Oe = Mt(Y);
768
+ if (!Oe) return;
769
+ const Pe = Oe.join(","), Fe = /rgba\s*\(\s*\d+\s*,\s*\d+\s*,\s*\d+/g;
770
+ ve([
771
+ q.cardContentOverlay.replace(Fe, `rgba(${Pe}`),
772
+ q.cardFooterOverlay.replace(Fe, `rgba(${Pe}`)
773
773
  ]);
774
- } else ge(De);
774
+ } else ve(_e);
775
775
  }, [
776
- K,
777
- X.cardContentOverlay,
778
- X.cardFooterOverlay
776
+ Y,
777
+ q.cardContentOverlay,
778
+ q.cardFooterOverlay
779
779
  ]);
780
- const ct = we || (de ? void 0 : (s && Xe(L, P) ? [
781
- s,
780
+ const ct = we || (ce ? void 0 : (g && Ye(i, z) ? [
781
+ g,
782
782
  Ce,
783
- C,
784
- w,
785
783
  F,
784
+ V,
785
+ I,
786
786
  Be
787
787
  ] : [
788
- C,
789
- Ce,
790
- s,
791
- w,
792
788
  F,
789
+ Ce,
790
+ g,
791
+ V,
792
+ I,
793
793
  Be
794
794
  ]).filter(Boolean).join(" "));
795
- return /* @__PURE__ */ f(Gt, {
796
- "aria-label": y ? void 0 : we,
797
- "aria-labelledby": y ? void 0 : de,
798
- "aria-description": y ? void 0 : He,
799
- "aria-describedby": y ? void 0 : Ie,
800
- type: t,
795
+ return /* @__PURE__ */ k(Gt, {
796
+ "aria-label": w ? void 0 : we,
797
+ "aria-labelledby": w ? void 0 : ce,
798
+ "aria-description": w ? void 0 : Ie,
799
+ "aria-describedby": w ? void 0 : He,
800
+ type: e,
801
801
  size: o,
802
- dataAttributes: G,
803
- ref: Ue,
804
- variant: T,
805
- width: ie,
806
- height: oe,
807
- aspectRatio: re,
802
+ dataAttributes: re,
803
+ ref: We,
804
+ variant: S,
805
+ width: D,
806
+ height: ne,
807
+ aspectRatio: ae,
808
808
  backgroundColor: st,
809
809
  children: [
810
- A && /* @__PURE__ */ i(Dt, {
811
- video: Le,
812
- src: r,
810
+ O && /* @__PURE__ */ t(Dt, {
811
+ video: Ve,
812
+ src: n,
813
813
  srcSet: a,
814
814
  backgroundVariant: ot
815
815
  }),
816
- me && // The video action is placed first in the card reading order, so it is placed outside the other topActions container
817
- /* @__PURE__ */ i("div", {
816
+ ge && // The video action is placed first in the card reading order, so it is placed outside the other topActions container
817
+ /* @__PURE__ */ t("div", {
818
818
  "data-testid": "videoAction",
819
- children: /* @__PURE__ */ i(Ge, {
819
+ children: /* @__PURE__ */ t(De, {
820
820
  testid: "videoAction",
821
821
  variant: "media",
822
822
  actions: [
823
- me
823
+ ge
824
824
  ],
825
825
  containerStyles: {
826
826
  position: "absolute",
827
827
  top: 16,
828
- left: x === "left" ? typeof h == "number" ? `calc(${h}px - 48px)` : `calc(${h} - 48px)` : "auto",
829
- right: x !== "left" ? q * 48 + 16 : "auto"
828
+ left: y === "left" ? typeof m == "number" ? `calc(${m}px - 48px)` : `calc(${m} - 48px)` : "auto",
829
+ right: y !== "left" ? Q * 48 + 16 : "auto"
830
830
  }
831
831
  })
832
832
  }),
833
- /* @__PURE__ */ f(Ot, _object_spread_props(_object_spread({
833
+ /* @__PURE__ */ k(Ot, _object_spread_props(_object_spread({
834
834
  maybe: !0,
835
- "aria-label": y ? ct : void 0,
836
- "aria-labelledby": y ? de : void 0,
837
- "aria-description": y ? He : void 0,
838
- "aria-describedby": y ? Ie : void 0,
839
- className: B(Fe, mt)
840
- }, E), {
835
+ "aria-label": w ? ct : void 0,
836
+ "aria-labelledby": w ? ce : void 0,
837
+ "aria-description": w ? Ie : void 0,
838
+ "aria-describedby": w ? He : void 0,
839
+ className: C(Ee, pt)
840
+ }, j), {
841
841
  style: {
842
- flexDirection: x === "top" ? "column" : x === "left" ? "row" : "row-reverse",
842
+ flexDirection: y === "top" ? "column" : y === "left" ? "row" : "row-reverse",
843
843
  justifyItems: "stretch",
844
- borderTopLeftRadius: `calc(${O} - 1px)`,
845
- borderTopRightRadius: `calc(${O} - 1px)`,
846
- borderBottomLeftRadius: S || z ? 0 : `calc(${O} - 1px)`,
847
- borderBottomRightRadius: S || z ? 0 : `calc(${O} - 1px)`,
844
+ borderTopLeftRadius: `calc(${P} - 1px)`,
845
+ borderTopRightRadius: `calc(${P} - 1px)`,
846
+ borderBottomLeftRadius: L || T ? 0 : `calc(${P} - 1px)`,
847
+ borderBottomRightRadius: L || T ? 0 : `calc(${P} - 1px)`,
848
848
  overflow: "hidden",
849
849
  zIndex: 1
850
850
  },
851
851
  children: [
852
- y && /* @__PURE__ */ i("div", {
852
+ w && /* @__PURE__ */ t("div", {
853
853
  className: rt
854
854
  }),
855
- he && /* @__PURE__ */ i("div", {
855
+ pe && /* @__PURE__ */ t("div", {
856
856
  style: _object_spread({
857
857
  // for some reason, this width is required to pass headless screenshot tests
858
858
  // otherwise, it gets 0px width and the media is not visible
859
859
  width: "100%"
860
- }, t === "naked" ? void 0 : j({
861
- [ee.mediaBorderRadius]: "0px"
860
+ }, e === "naked" ? void 0 : G({
861
+ [ie.mediaBorderRadius]: "0px"
862
862
  })),
863
- children: l
863
+ children: s
864
864
  }),
865
- he && /* @__PURE__ */ i(Z, {
865
+ pe && /* @__PURE__ */ t(te, {
866
866
  absolute: !0,
867
867
  size: o,
868
- asset: v,
869
- type: t
868
+ asset: f,
869
+ type: e
870
870
  }),
871
- H && /* @__PURE__ */ i(Wt, {
872
- type: t,
871
+ H && /* @__PURE__ */ t(Wt, {
872
+ type: e,
873
873
  size: o,
874
874
  mediaAspectRatio: Se,
875
- mediaPosition: x,
876
- asset: v,
877
- video: Le,
878
- imageFit: m,
879
- imageSrc: r,
875
+ mediaPosition: y,
876
+ asset: f,
877
+ video: Ve,
878
+ imageFit: h,
879
+ imageSrc: n,
880
880
  imageSrcSet: a,
881
- imageAlt: p,
882
- mediaWidth: h,
883
- circledImage: b
881
+ imageAlt: c,
882
+ mediaWidth: m,
883
+ circledImage: x
884
884
  }),
885
- /* @__PURE__ */ f("div", {
886
- "aria-hidden": y,
885
+ /* @__PURE__ */ k("div", {
886
+ "aria-hidden": w,
887
887
  "data-testid": "body",
888
- className: B(Fe, {
889
- [be[o]]: !!v && t !== "naked" && (!H || x === "right")
888
+ className: C(Ee, {
889
+ [fe[o]]: !!f && e !== "naked" && (!H || y === "right")
890
890
  }),
891
891
  children: [
892
- (!H || x === "right") && /* @__PURE__ */ i(Z, {
892
+ (!H || y === "right") && /* @__PURE__ */ t(te, {
893
893
  size: o,
894
- asset: v,
895
- type: t
894
+ asset: f,
895
+ type: e
896
896
  }),
897
- $ && /* @__PURE__ */ i(U, {
898
- minHeight: t === "cover" && Ne > 0 && !v ? 48 + 8 : 0
897
+ M && /* @__PURE__ */ t(Z, {
898
+ minHeight: e === "cover" && Ae > 0 && !f ? 48 + 8 : 0
899
899
  }),
900
- /* @__PURE__ */ f("div", {
901
- className: B(W[o], ut[o], be[o]),
900
+ /* @__PURE__ */ k("div", {
901
+ className: C(ee[o], ut[o], fe[o]),
902
902
  style: {
903
903
  display: "flex",
904
904
  flexDirection: "column",
905
- height: $ ? void 0 : "100%",
906
- background: A ? dt : void 0,
905
+ height: M ? void 0 : "100%",
906
+ background: O ? dt : void 0,
907
907
  // padding overrides for specific cases
908
- paddingTop: $ && A ? 40 : v || z && x !== "top" ? 16 : z && !H ? 0 : void 0,
909
- paddingLeft: z && (x !== "left" || !H) ? 0 : void 0,
910
- paddingRight: z && x !== "right" ? 16 : void 0,
911
- paddingBottom: S ? 16 : z ? 0 : void 0,
912
- borderBottomLeftRadius: S ? 0 : O,
913
- borderBottomRightRadius: S ? 0 : O
908
+ paddingTop: M && O ? 40 : f || T && y !== "top" ? 16 : T && !H ? 0 : void 0,
909
+ paddingLeft: T && (y !== "left" || !H) ? 0 : void 0,
910
+ paddingRight: T && y !== "right" ? 16 : void 0,
911
+ paddingBottom: L ? 16 : T ? 0 : void 0,
912
+ borderBottomLeftRadius: L ? 0 : P,
913
+ borderBottomRightRadius: L ? 0 : P
914
914
  },
915
915
  children: [
916
- /* @__PURE__ */ f("div", {
916
+ /* @__PURE__ */ k("div", {
917
917
  className: gt,
918
918
  children: [
919
- /* @__PURE__ */ i("div", {
919
+ /* @__PURE__ */ t("div", {
920
920
  className: bt,
921
- children: /* @__PURE__ */ i(ei, {
922
- headlineRef: Ze,
923
- variant: T,
921
+ children: /* @__PURE__ */ t(ei, {
922
+ type: e,
923
+ hasCustomBackground: Le,
924
+ headlineRef: et,
925
+ variant: S,
924
926
  size: o,
925
- headline: e,
926
- pretitle: C,
927
- pretitleAs: P,
928
- pretitleLinesMax: V,
929
- title: s,
930
- titleAs: L,
931
- titleLinesMax: R,
932
- subtitle: w,
927
+ headline: p,
928
+ pretitle: F,
929
+ pretitleAs: z,
930
+ pretitleLinesMax: E,
931
+ title: g,
932
+ titleAs: i,
933
+ titleLinesMax: u,
934
+ subtitle: V,
933
935
  subtitleLinesMax: N,
934
- description: F,
935
- descriptionLinesMax: M,
936
- withTextShadow: A
936
+ description: I,
937
+ descriptionLinesMax: A,
938
+ withTextShadow: O
937
939
  })
938
940
  }),
939
- at && /* @__PURE__ */ i("div", {
941
+ at && /* @__PURE__ */ t("div", {
940
942
  style: {
941
943
  flexShrink: 0,
942
944
  flexGrow: 0,
943
- width: q * 48 - // required space depends on the card padding
944
- (t === "naked" ? 0 : o === "display" ? 24 : 16) - //
945
+ width: Q * 48 - // required space depends on the card padding
946
+ (e === "naked" ? 0 : o === "display" ? 24 : 16) - //
945
947
  8
946
948
  }
947
949
  })
948
950
  ]
949
951
  }),
950
- !$ && ke === "bottom" && /* @__PURE__ */ i(U, {}),
951
- xe && /* @__PURE__ */ i("div", {
952
- ref: We,
952
+ !M && K === "bottom" && /* @__PURE__ */ t(Z, {}),
953
+ _ && /* @__PURE__ */ t("div", {
954
+ ref: Ze,
953
955
  "data-testid": "slot",
954
- children: xe
956
+ children: _
955
957
  }),
956
- !$ && ke === "content" && Ve && /* @__PURE__ */ i(U, {}),
957
- Ve && /* @__PURE__ */ i(Qt, {
958
+ !M && K === "content" && Ne && /* @__PURE__ */ t(Z, {}),
959
+ Ne && /* @__PURE__ */ t(Qt, {
958
960
  size: o,
959
- buttonPrimary: ne,
960
- buttonSecondary: ae,
961
- buttonLink: se
961
+ buttonPrimary: se,
962
+ buttonSecondary: de,
963
+ buttonLink: le
962
964
  })
963
965
  ]
964
966
  })
@@ -966,27 +968,27 @@ const Gt = /*#__PURE__*/ I.forwardRef((param, h)=>{
966
968
  })
967
969
  ]
968
970
  })),
969
- S && /* @__PURE__ */ i(Zt, {
970
- type: t,
971
- variant: T,
972
- footerVariant: Je,
973
- footerBackgroundColor: qe,
971
+ L && /* @__PURE__ */ t(Zt, {
972
+ type: e,
973
+ variant: S,
974
+ footerVariant: Qe,
975
+ footerBackgroundColor: Je,
974
976
  size: o,
975
977
  footerSlot: ye,
976
- buttonPrimary: ne,
977
- buttonSecondary: ae,
978
- buttonLink: se,
979
- hasBackgroundImageOrVideo: A,
980
- isInverseOutside: ue,
978
+ buttonPrimary: se,
979
+ buttonSecondary: de,
980
+ buttonLink: le,
981
+ hasBackgroundImageOrVideo: O,
982
+ isInverseOutside: be,
981
983
  overlayColor: lt
982
984
  }),
983
- /* @__PURE__ */ i(Ge, {
985
+ /* @__PURE__ */ t(De, {
984
986
  onClose: Re,
985
- closeButtonLabel: Qe,
986
- actions: _,
987
- variant: A || H && x !== "left" ? "media" : T
987
+ closeButtonLabel: Ue,
988
+ actions: X,
989
+ variant: O || H && y !== "left" ? "media" : S
988
990
  })
989
991
  ]
990
992
  });
991
993
  });
992
- export { Ut as CardActionIconButton, Xt as CardActionSpinner, Li as InternalCard, Ge as TopActions, Jt as useVideoWithControls };
994
+ export { Ut as CardActionIconButton, Xt as CardActionSpinner, Li as InternalCard, De as TopActions, Jt as useVideoWithControls };