@telefonica/mistica 16.53.0 → 16.55.0

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 (240) hide show
  1. package/css/blau.css +4 -0
  2. package/css/esimflag.css +4 -0
  3. package/css/mistica.css +1 -1
  4. package/css/movistar-new.css +5 -1
  5. package/css/movistar.css +4 -0
  6. package/css/o2-new.css +25 -21
  7. package/css/o2.css +4 -0
  8. package/css/telefonica.css +9 -5
  9. package/css/tu.css +4 -0
  10. package/css/vivo-new.css +25 -21
  11. package/css/vivo.css +4 -0
  12. package/dist/accordion.css-mistica.js +7 -7
  13. package/dist/align.css-mistica.js +1 -1
  14. package/dist/autocomplete.css-mistica.js +4 -4
  15. package/dist/avatar.css-mistica.js +1 -1
  16. package/dist/badge.css-mistica.js +3 -3
  17. package/dist/box.css-mistica.js +13 -13
  18. package/dist/box.d.ts +1 -0
  19. package/dist/box.js +17 -15
  20. package/dist/boxed.css-mistica.js +24 -24
  21. package/dist/button-group.css-mistica.js +3 -3
  22. package/dist/button-layout.css-mistica.js +14 -14
  23. package/dist/button.css-mistica.js +43 -43
  24. package/dist/callout.css-mistica.js +11 -11
  25. package/dist/card-internal.css-mistica.js +25 -22
  26. package/dist/card-internal.css.d.ts +1 -0
  27. package/dist/card-internal.d.ts +1 -1
  28. package/dist/card-internal.js +119 -118
  29. package/dist/carousel.css-mistica.js +23 -23
  30. package/dist/checkbox.css-mistica.js +17 -17
  31. package/dist/chip.css-mistica.js +20 -20
  32. package/dist/circle.css-mistica.js +1 -1
  33. package/dist/community/advanced-data-card.css-mistica.js +18 -18
  34. package/dist/community/blocks.css-mistica.js +2 -2
  35. package/dist/community/example-component.css-mistica.js +2 -2
  36. package/dist/counter.css-mistica.js +4 -4
  37. package/dist/cover-hero.css-mistica.js +11 -11
  38. package/dist/credit-card-number-field.css-mistica.js +3 -3
  39. package/dist/date-field.css-mistica.js +1 -1
  40. package/dist/date-time-picker.css-mistica.js +1 -1
  41. package/dist/dialog.css-mistica.js +7 -7
  42. package/dist/divider.css-mistica.js +5 -5
  43. package/dist/double-field.css-mistica.js +4 -4
  44. package/dist/drawer.css-mistica.js +11 -11
  45. package/dist/empty-state-card.css-mistica.js +1 -1
  46. package/dist/empty-state.css-mistica.js +5 -5
  47. package/dist/fade-in.css-mistica.js +1 -1
  48. package/dist/feedback.css-mistica.js +4 -4
  49. package/dist/file-upload.css-mistica.js +11 -11
  50. package/dist/fixed-footer-layout.css-mistica.js +11 -11
  51. package/dist/form.css-mistica.js +2 -2
  52. package/dist/grid-layout.css-mistica.js +3 -3
  53. package/dist/grid.css-mistica.js +120 -120
  54. package/dist/header.css-mistica.js +1 -1
  55. package/dist/hero.css-mistica.js +4 -4
  56. package/dist/horizontal-scroll.css-mistica.js +1 -1
  57. package/dist/icon-button.css-mistica.js +56 -56
  58. package/dist/icons/icon-chevron.css-mistica.js +2 -2
  59. package/dist/icons/icon-error.css-mistica.js +1 -1
  60. package/dist/image.css-mistica.js +2 -2
  61. package/dist/inline.css-mistica.js +9 -9
  62. package/dist/list.css-mistica.js +15 -15
  63. package/dist/loading-bar.css-mistica.js +1 -1
  64. package/dist/loading-screen.css-mistica.js +10 -10
  65. package/dist/logo.css-mistica.js +5 -5
  66. package/dist/media-queries.css-mistica.js +13 -6
  67. package/dist/media-queries.css.d.ts +3 -0
  68. package/dist/menu.css-mistica.js +16 -16
  69. package/dist/mosaic.css-mistica.js +1 -1
  70. package/dist/navigation-bar.css-mistica.js +38 -38
  71. package/dist/navigation-bar.d.ts +3 -1
  72. package/dist/navigation-bar.js +408 -383
  73. package/dist/navigation-breadcrumbs.css-mistica.js +3 -3
  74. package/dist/package-version.js +1 -1
  75. package/dist/pin-field.css-mistica.js +5 -5
  76. package/dist/popover.css-mistica.js +1 -1
  77. package/dist/progress-bar.css-mistica.js +6 -6
  78. package/dist/radio-button.css-mistica.js +24 -24
  79. package/dist/rating.css-mistica.js +2 -2
  80. package/dist/responsive-layout.css-mistica.js +7 -7
  81. package/dist/responsive-layout.css.d.ts +2 -1
  82. package/dist/screen-reader-only.css-mistica.js +2 -2
  83. package/dist/screen-size-context-provider.js +25 -19
  84. package/dist/screen-size-context.d.ts +2 -0
  85. package/dist/screen-size-context.js +2 -1
  86. package/dist/select.css-mistica.js +21 -21
  87. package/dist/sheet-action-row.css-mistica.js +2 -2
  88. package/dist/sheet-common.css-mistica.js +4 -4
  89. package/dist/sheet-info.css-mistica.js +1 -1
  90. package/dist/sheet-radio-list.d.ts +5 -0
  91. package/dist/sheet-radio-list.js +18 -13
  92. package/dist/sheet-types.d.ts +5 -0
  93. package/dist/skeletons.css-mistica.js +6 -6
  94. package/dist/skins/blau.js +2 -0
  95. package/dist/skins/esimflag.js +2 -0
  96. package/dist/skins/movistar-new.js +5 -3
  97. package/dist/skins/movistar.js +2 -0
  98. package/dist/skins/o2-new.js +12 -10
  99. package/dist/skins/o2.js +2 -0
  100. package/dist/skins/skin-contract.css-mistica.js +684 -682
  101. package/dist/skins/skin-contract.css.d.ts +2 -0
  102. package/dist/skins/telefonica.js +15 -13
  103. package/dist/skins/tu.js +2 -0
  104. package/dist/skins/types/colors.d.ts +1 -0
  105. package/dist/skins/vivo-new.js +12 -10
  106. package/dist/skins/vivo.js +2 -0
  107. package/dist/skip-link.css-mistica.js +2 -2
  108. package/dist/slider.css-mistica.js +24 -24
  109. package/dist/snackbar.css-mistica.js +8 -8
  110. package/dist/spinner.css-mistica.js +1 -1
  111. package/dist/square.css-mistica.js +1 -1
  112. package/dist/stack.css-mistica.js +5 -5
  113. package/dist/stacking-group.css-mistica.js +1 -1
  114. package/dist/stepper.css-mistica.js +7 -7
  115. package/dist/switch-component.css-mistica.js +40 -40
  116. package/dist/table.css-mistica.js +9 -9
  117. package/dist/tabs.css-mistica.js +22 -22
  118. package/dist/tag.css-mistica.js +4 -4
  119. package/dist/text-field-base.css-mistica.js +20 -20
  120. package/dist/text-field-components.css-mistica.js +12 -12
  121. package/dist/text-link.css-mistica.js +6 -6
  122. package/dist/text.css-mistica.js +6 -6
  123. package/dist/theme-context.css-mistica.js +1 -1
  124. package/dist/timeline.css-mistica.js +11 -11
  125. package/dist/timer.css-mistica.js +6 -6
  126. package/dist/tooltip.css-mistica.js +5 -5
  127. package/dist/touchable.css-mistica.js +1 -1
  128. package/dist/utils/aspect-ratio-support.css-mistica.js +5 -5
  129. package/dist/video.css-mistica.js +1 -1
  130. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  131. package/dist-es/accordion.css-mistica.js +7 -7
  132. package/dist-es/align.css-mistica.js +1 -1
  133. package/dist-es/autocomplete.css-mistica.js +2 -2
  134. package/dist-es/avatar.css-mistica.js +1 -1
  135. package/dist-es/badge.css-mistica.js +2 -2
  136. package/dist-es/box.css-mistica.js +13 -13
  137. package/dist-es/box.js +25 -23
  138. package/dist-es/boxed.css-mistica.js +23 -23
  139. package/dist-es/button-group.css-mistica.js +2 -2
  140. package/dist-es/button-layout.css-mistica.js +14 -14
  141. package/dist-es/button.css-mistica.js +34 -34
  142. package/dist-es/callout.css-mistica.js +11 -11
  143. package/dist-es/card-internal.css-mistica.js +17 -17
  144. package/dist-es/card-internal.js +163 -162
  145. package/dist-es/carousel.css-mistica.js +9 -9
  146. package/dist-es/checkbox.css-mistica.js +13 -13
  147. package/dist-es/chip.css-mistica.js +17 -17
  148. package/dist-es/circle.css-mistica.js +1 -1
  149. package/dist-es/community/advanced-data-card.css-mistica.js +7 -7
  150. package/dist-es/community/blocks.css-mistica.js +2 -2
  151. package/dist-es/community/example-component.css-mistica.js +2 -2
  152. package/dist-es/counter.css-mistica.js +2 -2
  153. package/dist-es/cover-hero.css-mistica.js +4 -4
  154. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  155. package/dist-es/date-field.css-mistica.js +1 -1
  156. package/dist-es/date-time-picker.css-mistica.js +1 -1
  157. package/dist-es/dialog.css-mistica.js +5 -5
  158. package/dist-es/divider.css-mistica.js +5 -5
  159. package/dist-es/double-field.css-mistica.js +4 -4
  160. package/dist-es/drawer.css-mistica.js +2 -2
  161. package/dist-es/empty-state-card.css-mistica.js +1 -1
  162. package/dist-es/empty-state.css-mistica.js +5 -5
  163. package/dist-es/fade-in.css-mistica.js +1 -1
  164. package/dist-es/feedback.css-mistica.js +2 -2
  165. package/dist-es/file-upload.css-mistica.js +8 -8
  166. package/dist-es/fixed-footer-layout.css-mistica.js +4 -4
  167. package/dist-es/form.css-mistica.js +2 -2
  168. package/dist-es/grid-layout.css-mistica.js +3 -3
  169. package/dist-es/grid.css-mistica.js +120 -120
  170. package/dist-es/header.css-mistica.js +1 -1
  171. package/dist-es/hero.css-mistica.js +3 -3
  172. package/dist-es/horizontal-scroll.css-mistica.js +1 -1
  173. package/dist-es/icon-button.css-mistica.js +55 -55
  174. package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
  175. package/dist-es/icons/icon-error.css-mistica.js +1 -1
  176. package/dist-es/image.css-mistica.js +2 -2
  177. package/dist-es/inline.css-mistica.js +9 -9
  178. package/dist-es/list.css-mistica.js +2 -2
  179. package/dist-es/loading-bar.css-mistica.js +1 -1
  180. package/dist-es/loading-screen.css-mistica.js +5 -5
  181. package/dist-es/logo.css-mistica.js +5 -5
  182. package/dist-es/media-queries.css-mistica.js +3 -2
  183. package/dist-es/menu.css-mistica.js +14 -14
  184. package/dist-es/mosaic.css-mistica.js +1 -1
  185. package/dist-es/navigation-bar.css-mistica.js +20 -20
  186. package/dist-es/navigation-bar.js +524 -499
  187. package/dist-es/navigation-breadcrumbs.css-mistica.js +2 -2
  188. package/dist-es/package-version.js +1 -1
  189. package/dist-es/pin-field.css-mistica.js +2 -2
  190. package/dist-es/popover.css-mistica.js +1 -1
  191. package/dist-es/progress-bar.css-mistica.js +6 -6
  192. package/dist-es/radio-button.css-mistica.js +21 -21
  193. package/dist-es/rating.css-mistica.js +2 -2
  194. package/dist-es/responsive-layout.css-mistica.js +7 -7
  195. package/dist-es/screen-reader-only.css-mistica.js +2 -2
  196. package/dist-es/screen-size-context-provider.js +35 -29
  197. package/dist-es/screen-size-context.js +2 -1
  198. package/dist-es/select.css-mistica.js +18 -18
  199. package/dist-es/sheet-action-row.css-mistica.js +2 -2
  200. package/dist-es/sheet-common.css-mistica.js +2 -2
  201. package/dist-es/sheet-info.css-mistica.js +1 -1
  202. package/dist-es/sheet-radio-list.js +31 -26
  203. package/dist-es/skeletons.css-mistica.js +6 -6
  204. package/dist-es/skins/blau.js +2 -0
  205. package/dist-es/skins/esimflag.js +2 -0
  206. package/dist-es/skins/movistar-new.js +5 -3
  207. package/dist-es/skins/movistar.js +2 -0
  208. package/dist-es/skins/o2-new.js +12 -10
  209. package/dist-es/skins/o2.js +2 -0
  210. package/dist-es/skins/skin-contract.css-mistica.js +684 -682
  211. package/dist-es/skins/telefonica.js +15 -13
  212. package/dist-es/skins/tu.js +2 -0
  213. package/dist-es/skins/vivo-new.js +12 -10
  214. package/dist-es/skins/vivo.js +2 -0
  215. package/dist-es/skip-link.css-mistica.js +2 -2
  216. package/dist-es/slider.css-mistica.js +19 -19
  217. package/dist-es/snackbar.css-mistica.js +5 -5
  218. package/dist-es/spinner.css-mistica.js +1 -1
  219. package/dist-es/square.css-mistica.js +1 -1
  220. package/dist-es/stack.css-mistica.js +5 -5
  221. package/dist-es/stacking-group.css-mistica.js +1 -1
  222. package/dist-es/stepper.css-mistica.js +3 -3
  223. package/dist-es/style.css +1 -1
  224. package/dist-es/switch-component.css-mistica.js +37 -37
  225. package/dist-es/table.css-mistica.js +9 -9
  226. package/dist-es/tabs.css-mistica.js +19 -19
  227. package/dist-es/tag.css-mistica.js +2 -2
  228. package/dist-es/text-field-base.css-mistica.js +17 -17
  229. package/dist-es/text-field-components.css-mistica.js +4 -4
  230. package/dist-es/text-link.css-mistica.js +6 -6
  231. package/dist-es/text.css-mistica.js +6 -6
  232. package/dist-es/theme-context.css-mistica.js +1 -1
  233. package/dist-es/timeline.css-mistica.js +10 -10
  234. package/dist-es/timer.css-mistica.js +6 -6
  235. package/dist-es/tooltip.css-mistica.js +2 -2
  236. package/dist-es/touchable.css-mistica.js +1 -1
  237. package/dist-es/utils/aspect-ratio-support.css-mistica.js +3 -3
  238. package/dist-es/video.css-mistica.js +1 -1
  239. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  240. package/package.json +3 -3
@@ -80,48 +80,48 @@ function _object_without_properties_loose(source, excluded) {
80
80
  }
81
81
  import { jsx as i, jsxs as y, Fragment as Q } from "react/jsx-runtime";
82
82
  import * as I from "react";
83
- import { touchableContent as mt, touchableCardOverlayInverse as gt, touchableCardOverlay as bt, contentContainer as ft, textContent as vt, containerPaddingXVariants as Z, containerPaddingBottomVariants as Ge, containerPaddingTopVariants as ge, touchable as Ae, touchableContainer as kt, topActionsContainer as xt, vars as yt, boxed as St, container as Bt, backgroundImageOrVideoContainer as Rt, actionsContainerVariants as Ht } from "./card-internal.css-mistica.js";
83
+ import { touchableContent as mt, touchableCardOverlayInverse as gt, touchableCardOverlay as bt, contentContainer as ft, textContent as vt, slotContainerSpaceBetween as kt, containerPaddingXVariants as Z, containerPaddingBottomVariants as Ge, containerPaddingTopVariants as ge, touchable as Ve, touchableContainer as xt, topActionsContainer as yt, vars as St, boxed as Bt, container as Rt, backgroundImageOrVideoContainer as Ht, actionsContainerVariants as wt } from "./card-internal.css-mistica.js";
84
84
  import { vars as te } from "./image.css-mistica.js";
85
- import { closeButtonLabel as wt, playIconButtonLabel as Lt, pauseIconButtonLabel as Tt } from "./text-tokens.js";
85
+ import { closeButtonLabel as Lt, playIconButtonLabel as Ct, pauseIconButtonLabel as Tt } from "./text-tokens.js";
86
86
  import { Text as J } from "./text.js";
87
- import { useInnerText as Ve, useTheme as ie } from "./hooks.js";
87
+ import { useInnerText as Ae, useTheme as ie } from "./hooks.js";
88
88
  import { useThemeVariant as be, normalizeVariant as Fe, ThemeVariant as fe } from "./theme-variant-context.js";
89
89
  import zt from "./tag.js";
90
90
  import Oe from "./stack.js";
91
91
  import _e from "./image.js";
92
- import Ct from "./video.js";
92
+ import Dt from "./video.js";
93
93
  import Me from "./inline.js";
94
- import Dt from "./spinner.js";
95
- import It from "./generated/mistica-icons/icon-play-filled.js";
96
- import Nt from "./generated/mistica-icons/icon-pause-filled.js";
97
- import Pt from "./generated/mistica-icons/icon-close-regular.js";
94
+ import It from "./spinner.js";
95
+ import Nt from "./generated/mistica-icons/icon-play-filled.js";
96
+ import Pt from "./generated/mistica-icons/icon-pause-filled.js";
97
+ import Vt from "./generated/mistica-icons/icon-close-regular.js";
98
98
  import { getPrefixedDataAttributes as At } from "./utils/dom.js";
99
- import { applyCssVars as G } from "./utils/css.js";
100
- import { InternalBoxed as Vt } from "./boxed.js";
101
- import { BaseTouchable as Ft } from "./touchable.js";
102
- import { aspectRatioToNumber as ve, AspectRatioContainer as Ot } from "./utils/aspect-ratio-support.js";
99
+ import { applyCssVars as _ } from "./utils/css.js";
100
+ import { InternalBoxed as Ft } from "./boxed.js";
101
+ import { BaseTouchable as Ot } from "./touchable.js";
102
+ import { aspectRatioToNumber as ve, AspectRatioContainer as Mt } from "./utils/aspect-ratio-support.js";
103
103
  import { vars as g } from "./skins/skin-contract.css-mistica.js";
104
- import { IconButton as Mt, ToggleIconButton as Et } from "./icon-button.js";
105
- import { combineRefs as $t } from "./utils/common.js";
104
+ import { IconButton as Et, ToggleIconButton as $t } from "./icon-button.js";
105
+ import { combineRefs as jt } from "./utils/common.js";
106
106
  import { isRunningAcceptanceTest as Ee } from "./utils/platform.js";
107
- import L from "classnames";
108
- import jt from "./button-group.js";
107
+ import w from "classnames";
108
+ import Gt from "./button-group.js";
109
109
  import { isBiggerHeading as Xe } from "./utils/headings.js";
110
- import { applyAlpha as Gt } from "./utils/color.js";
111
- const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
112
- let { type: e, children: o, width: a, height: r, aspectRatio: n, "aria-label": l, "aria-labelledby": u, "aria-description": h, "aria-describedby": m, dataAttributes: d, backgroundColor: b, variant: v } = param;
113
- const x = a && r ? void 0 : ve(n), f = x ? G({
114
- [yt.aspectRatio]: String(x)
115
- }) : {}, k = b ? "none" : void 0, s = e === "naked";
110
+ import { applyAlpha as _t } from "./utils/color.js";
111
+ const Xt = /*#__PURE__*/ I.forwardRef((param, p)=>{
112
+ let { type: e, children: o, width: a, height: r, aspectRatio: n, "aria-label": s, "aria-labelledby": u, "aria-description": h, "aria-describedby": m, dataAttributes: d, backgroundColor: b, variant: v } = param;
113
+ const x = a && r ? void 0 : ve(n), f = x ? _({
114
+ [St.aspectRatio]: String(x)
115
+ }) : {}, k = b ? "none" : void 0, l = 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
118
  /* @__PURE__ */ i("section", _object_spread_props(_object_spread({
119
119
  ref: p,
120
- "aria-label": l,
120
+ "aria-label": s,
121
121
  "aria-labelledby": u,
122
122
  "aria-description": h,
123
123
  "aria-describedby": m,
124
- className: L(Bt)
124
+ className: w(Rt)
125
125
  }, At(d, "InternalCard")), {
126
126
  style: _object_spread({
127
127
  width: a || "100%",
@@ -136,14 +136,14 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
136
136
  position: "relative",
137
137
  minHeight: "100%"
138
138
  },
139
- children: /* @__PURE__ */ i(Vt, {
139
+ children: /* @__PURE__ */ i(Ft, {
140
140
  width: "100%",
141
141
  height: "100%",
142
142
  variant: v,
143
- className: L(St),
144
- background: s ? "transparent" : b,
145
- borderRadius: s ? "none" : g.borderRadii.container,
146
- border: s ? "none" : k,
143
+ className: w(Bt),
144
+ background: l ? "transparent" : b,
145
+ borderRadius: l ? "none" : g.borderRadii.container,
146
+ border: l ? "none" : k,
147
147
  overflow: "visible",
148
148
  children: o
149
149
  })
@@ -164,7 +164,7 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
164
164
  const n = /* @__PURE__ */ i("div", {
165
165
  "data-testid": "asset",
166
166
  "aria-hidden": !0,
167
- style: G({
167
+ style: _({
168
168
  [te.mediaBorderRadius]: g.borderRadii.mediaSmall
169
169
  }),
170
170
  children: a
@@ -175,21 +175,21 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
175
175
  top: 0,
176
176
  left: 0
177
177
  },
178
- className: L(Z[e], ge[e]),
178
+ className: w(Z[e], ge[e]),
179
179
  children: n
180
180
  }) : /* @__PURE__ */ i("div", {
181
- className: L({
181
+ className: w({
182
182
  [Z[e]]: r !== "naked"
183
183
  }),
184
184
  children: n
185
185
  });
186
- }, Xt = (param)=>{
186
+ }, Kt = (param)=>{
187
187
  let { video: e, src: o, srcSet: a, backgroundVariant: r } = param;
188
188
  return /* @__PURE__ */ i(fe, {
189
189
  variant: r,
190
190
  children: /* @__PURE__ */ i("div", {
191
- className: Rt,
192
- style: G({
191
+ className: Ht,
192
+ style: _({
193
193
  [te.mediaBorderRadius]: "0px",
194
194
  borderRadius: g.borderRadii.container,
195
195
  overflow: "hidden"
@@ -206,7 +206,7 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
206
206
  })
207
207
  })
208
208
  });
209
- }, Kt = {
209
+ }, Wt = {
210
210
  loading: {
211
211
  play: "playing",
212
212
  pause: "paused",
@@ -226,28 +226,28 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
226
226
  error: {
227
227
  reset: "loading"
228
228
  }
229
- }, Wt = (e, o)=>Kt[e][o] || e, Yt = (param)=>{
229
+ }, Yt = (e, o)=>Wt[e][o] || e, qt = (param)=>{
230
230
  let { color: e } = param;
231
- return /* @__PURE__ */ i(Dt, {
231
+ return /* @__PURE__ */ i(It, {
232
232
  color: e,
233
233
  size: 16,
234
234
  delay: "0"
235
235
  });
236
- }, qt = (param)=>{
236
+ }, Jt = (param)=>{
237
237
  let { color: e } = param;
238
- return /* @__PURE__ */ i(Nt, {
238
+ return /* @__PURE__ */ i(Pt, {
239
239
  color: e,
240
240
  size: 12
241
241
  });
242
- }, Jt = (param)=>{
242
+ }, Qt = (param)=>{
243
243
  let { color: e } = param;
244
- return /* @__PURE__ */ i(It, {
244
+ return /* @__PURE__ */ i(Nt, {
245
245
  color: e,
246
246
  size: 12
247
247
  });
248
- }, Qt = (param)=>{
249
- let { src: e, poster: o, ref: a, autoHeight: r, loop: n, autoPlay: l, dataAttributes: u } = param;
250
- const { texts: h, t: m } = ie(), d = I.useRef(null), b = I.useRef(!1), [v, p] = I.useReducer(Wt, process.env.NODE_ENV === "test" ? "playing" : "loading");
248
+ }, Ut = (param)=>{
249
+ let { src: e, poster: o, ref: a, autoHeight: r, loop: n, autoPlay: s, dataAttributes: u } = param;
250
+ const { texts: h, t: m } = ie(), d = I.useRef(null), b = I.useRef(!1), [v, p] = I.useReducer(Yt, process.env.NODE_ENV === "test" ? "playing" : "loading");
251
251
  I.useEffect(()=>{
252
252
  var _d_current;
253
253
  return b.current = !1, (_d_current = d.current) === null || _d_current === void 0 ? void 0 : _d_current.load(), ()=>{
@@ -259,16 +259,16 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
259
259
  const x = I.useMemo(()=>{
260
260
  if (e === void 0) return;
261
261
  const t = ()=>{
262
- l === !1 && !b.current && (b.current = !0, p("pause"));
262
+ s === !1 && !b.current && (b.current = !0, p("pause"));
263
263
  };
264
- return /* @__PURE__ */ i(Ct, {
265
- ref: $t(d, a),
264
+ return /* @__PURE__ */ i(Dt, {
265
+ ref: jt(d, a),
266
266
  src: e,
267
267
  poster: o,
268
268
  width: "100%",
269
269
  height: r ? void 0 : "100%",
270
270
  loop: n,
271
- autoPlay: l,
271
+ autoPlay: s,
272
272
  dataAttributes: u,
273
273
  onLoad: t,
274
274
  onError: ()=>p("fail"),
@@ -281,7 +281,7 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
281
281
  o,
282
282
  r,
283
283
  n,
284
- l,
284
+ s,
285
285
  u
286
286
  ]), f = ()=>{
287
287
  const t = d.current;
@@ -290,14 +290,14 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
290
290
  if (v === "error") return {
291
291
  video: x
292
292
  };
293
- const k = v === "loading", s = x ? {
293
+ const k = v === "loading", l = x ? {
294
294
  uncheckedProps: {
295
- Icon: k && !Ee() ? Yt : qt,
295
+ Icon: k && !Ee() ? qt : Jt,
296
296
  label: k ? "" : h.pauseIconButtonLabel || m(Tt)
297
297
  },
298
298
  checkedProps: {
299
- Icon: Jt,
300
- label: h.playIconButtonLabel || m(Lt)
299
+ Icon: Qt,
300
+ label: h.playIconButtonLabel || m(Ct)
301
301
  },
302
302
  onChange: f,
303
303
  disabled: Ee() ? !1 : k,
@@ -305,21 +305,21 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
305
305
  } : void 0;
306
306
  return {
307
307
  video: x,
308
- videoAction: s
308
+ videoAction: l
309
309
  };
310
- }, Ut = (param)=>{
310
+ }, Zt = (param)=>{
311
311
  let { size: e, buttonPrimary: o, buttonSecondary: a, buttonLink: r } = param;
312
312
  return /* @__PURE__ */ i("div", {
313
- className: Ht[e],
314
- children: /* @__PURE__ */ i(jt, {
313
+ className: wt[e],
314
+ children: /* @__PURE__ */ i(Gt, {
315
315
  primaryButton: o,
316
316
  secondaryButton: a,
317
317
  link: r
318
318
  })
319
319
  });
320
- }, Zt = (e)=>{
320
+ }, ei = (e)=>{
321
321
  const o = be();
322
- if (e.Icon) return /* @__PURE__ */ i(Mt, _object_spread_props(_object_spread({}, e), {
322
+ if (e.Icon) return /* @__PURE__ */ i(Et, _object_spread_props(_object_spread({}, e), {
323
323
  small: !0,
324
324
  "aria-label": e.label,
325
325
  type: "neutral",
@@ -329,7 +329,7 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
329
329
  "checkedProps",
330
330
  "uncheckedProps"
331
331
  ]);
332
- return /* @__PURE__ */ i(Et, _object_spread_props(_object_spread({
332
+ return /* @__PURE__ */ i($t, _object_spread_props(_object_spread({
333
333
  small: !0
334
334
  }, n), {
335
335
  checkedProps: _object_spread_props(_object_spread({}, a), {
@@ -344,25 +344,25 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
344
344
  })
345
345
  }));
346
346
  }, $e = (param)=>{
347
- let { testid: e = "topActions", onClose: o, closeButtonLabel: a, actions: r, variant: n, containerStyles: l = {} } = param;
347
+ let { testid: e = "topActions", onClose: o, closeButtonLabel: a, actions: r, variant: n, containerStyles: s = {} } = param;
348
348
  const { texts: u, t: h } = ie(), m = r ? [
349
349
  ...r
350
350
  ] : [];
351
351
  return o && m.push({
352
- label: a || u.closeButtonLabel || h(wt),
352
+ label: a || u.closeButtonLabel || h(Lt),
353
353
  onPress: o,
354
- Icon: Pt
354
+ Icon: Vt
355
355
  }), m.length === 0 ? /* @__PURE__ */ i(Q, {}) : /* @__PURE__ */ i(fe, {
356
356
  variant: n,
357
357
  children: /* @__PURE__ */ i("div", {
358
- className: xt,
359
- style: l,
358
+ className: yt,
359
+ style: s,
360
360
  "data-testid": e,
361
- children: m.map((d, b)=>"Icon" in d || "checkedProps" in d ? /* @__PURE__ */ i(Zt, _object_spread({}, d), b) : d)
361
+ children: m.map((d, b)=>"Icon" in d || "checkedProps" in d ? /* @__PURE__ */ i(ei, _object_spread({}, d), b) : d)
362
362
  })
363
363
  });
364
- }, ei = (param)=>{
365
- let { type: e, size: o, asset: a, imageSrc: r, imageSrcSet: n, imageFit: l, imageAlt: u = "", video: h, mediaAspectRatio: m, mediaPosition: d, mediaWidth: b, circledImage: v } = param;
364
+ }, ti = (param)=>{
365
+ let { type: e, size: o, asset: a, imageSrc: r, imageSrcSet: n, imageFit: s, imageAlt: u = "", video: h, mediaAspectRatio: m, mediaPosition: d, mediaWidth: b, circledImage: v } = param;
366
366
  const p = ve(m), x = e === "naked" && v ? {
367
367
  circular: !0
368
368
  } : {
@@ -393,19 +393,19 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
393
393
  testid: "image"
394
394
  },
395
395
  alt: u
396
- }), t ? c[l] : {}));
396
+ }), t ? c[s] : {}));
397
397
  }
398
398
  return null;
399
399
  })();
400
400
  if (!k) return /* @__PURE__ */ i(Q, {});
401
- const s = _object_spread({}, e === "naked" ? void 0 : G({
401
+ const l = _object_spread({}, e === "naked" ? void 0 : _({
402
402
  [te.mediaBorderRadius]: "0px"
403
403
  }));
404
404
  return d === "top" ? /* @__PURE__ */ y(Q, {
405
405
  children: [
406
- /* @__PURE__ */ i(Ot, {
406
+ /* @__PURE__ */ i(Mt, {
407
407
  aspectRatio: p,
408
- style: s,
408
+ style: l,
409
409
  children: k
410
410
  }),
411
411
  /* @__PURE__ */ i(ee, {
@@ -418,7 +418,7 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
418
418
  }) : /* @__PURE__ */ y(Q, {
419
419
  children: [
420
420
  /* @__PURE__ */ i("div", {
421
- style: _object_spread_props(_object_spread({}, s), {
421
+ style: _object_spread_props(_object_spread({}, l), {
422
422
  width: b,
423
423
  flexShrink: 0,
424
424
  flexGrow: 0,
@@ -435,15 +435,15 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
435
435
  })
436
436
  ]
437
437
  });
438
- }, ti = (param)=>{
439
- let { type: e, size: o, variant: a, footerSlot: r, buttonPrimary: n, buttonSecondary: l, buttonLink: u, hasBackgroundImageOrVideo: h, footerVariant: m, footerBackgroundColor: d, footerDivider: b, externalVariant: v, overlayColor: p } = param;
440
- const x = !!(n || l || u), f = !!(n && l && u), k = {
438
+ }, ii = (param)=>{
439
+ let { type: e, size: o, variant: a, footerSlot: r, buttonPrimary: n, buttonSecondary: s, buttonLink: u, hasBackgroundImageOrVideo: h, footerVariant: m, footerBackgroundColor: d, footerDivider: b, externalVariant: v, overlayColor: p } = param;
440
+ const x = !!(n || s || u), f = !!(n && s && u), k = {
441
441
  default: g.colors.divider,
442
442
  brand: g.colors.dividerBrand,
443
443
  negative: g.colors.dividerNegative,
444
444
  media: g.colors.dividerBrand,
445
445
  alternative: g.colors.divider
446
- }[a], s = e === "naked", t = d || (m && m !== a ? m === "default" ? g.colors.backgroundContainer : v === "brand" || v === "media" || v === "negative" ? g.colors.backgroundContainerBrandOverBrand : g.colors.backgroundContainerBrand : void 0), c = b !== null && b !== void 0 ? b : !t;
446
+ }[a], l = e === "naked", t = d || (m && m !== a ? m === "default" ? g.colors.backgroundContainer : v === "brand" || v === "media" || v === "negative" ? g.colors.backgroundContainerBrandOverBrand : g.colors.backgroundContainerBrand : void 0), c = b !== null && b !== void 0 ? b : !t;
447
447
  return /* @__PURE__ */ y(fe, {
448
448
  variant: m || a,
449
449
  children: [
@@ -453,26 +453,26 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
453
453
  background: t || (h ? p : void 0),
454
454
  position: "relative",
455
455
  backdropFilter: h ? "blur(12px)" : void 0,
456
- borderBottomLeftRadius: s ? 0 : g.borderRadii.container,
457
- borderBottomRightRadius: s ? 0 : g.borderRadii.container
456
+ borderBottomLeftRadius: l ? 0 : g.borderRadii.container,
457
+ borderBottomRightRadius: l ? 0 : g.borderRadii.container
458
458
  },
459
459
  children: [
460
460
  /* @__PURE__ */ i("div", {
461
461
  style: {
462
462
  borderTop: c ? `1px solid ${k}` : void 0,
463
- marginRight: s ? 16 : 0
463
+ marginRight: l ? 16 : 0
464
464
  }
465
465
  }),
466
466
  /* @__PURE__ */ i("div", {
467
467
  "data-testid": "footer",
468
- className: L({
469
- [Z[o]]: !s,
470
- [Ge[o]]: !s
468
+ className: w({
469
+ [Z[o]]: !l,
470
+ [Ge[o]]: !l
471
471
  }),
472
472
  style: {
473
473
  paddingTop: 16,
474
- paddingBottom: s ? 0 : void 0,
475
- paddingRight: s ? 16 : void 0
474
+ paddingBottom: l ? 0 : void 0,
475
+ paddingRight: l ? 16 : void 0
476
476
  },
477
477
  children: /* @__PURE__ */ y(Oe, {
478
478
  space: 16,
@@ -489,7 +489,7 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
489
489
  alignItems: "center",
490
490
  children: [
491
491
  n,
492
- l
492
+ s
493
493
  ]
494
494
  }),
495
495
  /* @__PURE__ */ i("div", {
@@ -504,7 +504,7 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
504
504
  alignItems: "center",
505
505
  children: [
506
506
  n,
507
- l,
507
+ s,
508
508
  u
509
509
  ]
510
510
  }))
@@ -515,9 +515,9 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
515
515
  })
516
516
  ]
517
517
  });
518
- }, ii = (param)=>{
519
- let { type: e, hasCustomBackground: o, headlineRef: a, size: r, variant: n, headline: l, title: u, titleAs: h = "h3", titleLinesMax: m, pretitle: d, pretitleAs: b, pretitleLinesMax: v, subtitle: p, subtitleLinesMax: x, description: f, descriptionLinesMax: k, withTextShadow: s } = param;
520
- const { textPresets: t, colorValues: c } = ie(), M = be(), T = {
518
+ }, oi = (param)=>{
519
+ let { type: e, hasCustomBackground: o, headlineRef: a, size: r, variant: n, headline: s, title: u, titleAs: h = "h3", titleLinesMax: m, pretitle: d, pretitleAs: b, pretitleLinesMax: v, subtitle: p, subtitleLinesMax: x, description: f, descriptionLinesMax: k, withTextShadow: l } = param;
520
+ const { textPresets: t, colorValues: c } = ie(), M = be(), C = {
521
521
  hyphens: "auto"
522
522
  }, E = {
523
523
  default: {
@@ -635,7 +635,7 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
635
635
  weight: "regular"
636
636
  }
637
637
  }
638
- }, P = E[n] || E[M] || E.default, w = N[r] || N.default, A = s ? "0 0 15px rgba(0, 0, 0, 0.4)" : void 0, oe = l && // Read order 2. Visual order 1
638
+ }, P = E[n] || E[M] || E.default, L = N[r] || N.default, V = l ? "0 0 15px rgba(0, 0, 0, 0.4)" : void 0, oe = s && // Read order 2. Visual order 1
639
639
  /* @__PURE__ */ i("div", {
640
640
  style: {
641
641
  paddingBottom: 8,
@@ -643,36 +643,36 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
643
643
  },
644
644
  "data-testid": "headline",
645
645
  ref: a,
646
- children: typeof l == "string" ? /* @__PURE__ */ i(zt, {
646
+ children: typeof s == "string" ? /* @__PURE__ */ i(zt, {
647
647
  type: "promo",
648
- children: l
649
- }) : l
650
- }), z = d && // Read order: 3 or 1. Visual order 2
648
+ children: s
649
+ }) : s
650
+ }), T = d && // Read order: 3 or 1. Visual order 2
651
651
  /* @__PURE__ */ i("div", {
652
652
  style: {
653
653
  paddingBottom: 4,
654
654
  order: 2
655
655
  },
656
656
  "data-testid": "pretitle",
657
- children: /* @__PURE__ */ i(J, _object_spread_props(_object_spread({}, T, w.pretitle), {
657
+ children: /* @__PURE__ */ i(J, _object_spread_props(_object_spread({}, C, L.pretitle), {
658
658
  as: b || "p",
659
659
  truncate: v,
660
660
  color: P.pretitle,
661
- textShadow: A,
661
+ textShadow: V,
662
662
  children: d
663
663
  }))
664
- }), _ = u && // Read order: 1 or 3. Visual order 3
664
+ }), X = u && // Read order: 1 or 3. Visual order 3
665
665
  /* @__PURE__ */ i("div", {
666
666
  style: {
667
667
  paddingBottom: 4,
668
668
  order: 3
669
669
  },
670
670
  "data-testid": "title",
671
- children: /* @__PURE__ */ i(J, _object_spread_props(_object_spread({}, T, w.title), {
671
+ children: /* @__PURE__ */ i(J, _object_spread_props(_object_spread({}, C, L.title), {
672
672
  as: h,
673
673
  truncate: m,
674
674
  color: P.title,
675
- textShadow: A,
675
+ textShadow: V,
676
676
  children: u
677
677
  }))
678
678
  }), re = p && // Read order: 4. Visual order 4
@@ -682,11 +682,11 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
682
682
  order: 4
683
683
  },
684
684
  "data-testid": "subtitle",
685
- children: /* @__PURE__ */ i(J, _object_spread_props(_object_spread({}, T, w.subtitle), {
685
+ children: /* @__PURE__ */ i(J, _object_spread_props(_object_spread({}, C, L.subtitle), {
686
686
  as: "p",
687
687
  truncate: x,
688
688
  color: P.subtitle,
689
- textShadow: A,
689
+ textShadow: V,
690
690
  children: p
691
691
  }))
692
692
  }), ae = f && // Read order: 5. Visual order 5
@@ -696,19 +696,19 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
696
696
  order: 5
697
697
  },
698
698
  "data-testid": "description",
699
- children: /* @__PURE__ */ i(J, _object_spread_props(_object_spread({}, T, w.description), {
699
+ children: /* @__PURE__ */ i(J, _object_spread_props(_object_spread({}, C, L.description), {
700
700
  as: "p",
701
701
  truncate: k,
702
702
  color: P.description,
703
- textShadow: A,
703
+ textShadow: V,
704
704
  children: f
705
705
  }))
706
- }), [X, K] = u && Xe(h, b) ? [
707
- _,
708
- z
706
+ }), [K, $] = u && Xe(h, b) ? [
707
+ X,
708
+ T
709
709
  ] : [
710
- z,
711
- _
710
+ T,
711
+ X
712
712
  ];
713
713
  return /* @__PURE__ */ y("div", {
714
714
  style: {
@@ -716,18 +716,18 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
716
716
  flexDirection: "column"
717
717
  },
718
718
  children: [
719
- X,
720
- oe,
721
719
  K,
720
+ oe,
721
+ $,
722
722
  re,
723
723
  ae
724
724
  ]
725
725
  });
726
- }, oi = [
726
+ }, ri = [
727
727
  g.colors.cardContentOverlay,
728
728
  g.colors.cardFooterOverlay
729
- ], ri = /rgba\([^,]+,\s*[^,]+,\s*[^,]+,\s*([^)]+)\)/g, je = (e, o)=>e.replace(ri, (a, r)=>Gt(o, parseFloat(r))), Pi = /*#__PURE__*/ I.forwardRef((_param, et)=>{
730
- var { type: e, size: o, backgroundColor: a, imageSrc: r, imageSrcSet: n, imageAlt: l = "", imageFit: u = "fill-center", videoSrc: h, videoRef: m, media: d, mediaAspectRatio: b = "auto", mediaPosition: v = "top", mediaWidth: p = 150, circledImage: x, asset: f, headline: k, title: s, titleAs: t = "h3", titleLinesMax: c, pretitle: M, pretitleAs: T, pretitleLinesMax: E, subtitle: N, subtitleLinesMax: P, description: w, descriptionLinesMax: A, dataAttributes: oe, variant: z, width: _, height: re, aspectRatio: ae, slot: X, slotAlignment: K = "content", buttonPrimary: ne, buttonSecondary: de, buttonLink: le, showFooter: Ke, footerBackgroundColor: We, footerVariant: Ye, footerSlot: ke, footerDivider: qe, topActions: xe, onClose: ye, closeButtonLabel: Je, "aria-label": Se, "aria-labelledby": se, "aria-description": Be, "aria-describedby": Re, gradientOverlayColor: W, videoLoop: Qe, videoAutoPlay: Ue, videoDataAttributes: Ze } = _param, V = _object_without_properties(_param, [
729
+ ], ai = /rgba\([^,]+,\s*[^,]+,\s*[^,]+,\s*([^)]+)\)/g, je = (e, o)=>e.replace(ai, (a, r)=>_t(o, parseFloat(r))), Vi = /*#__PURE__*/ I.forwardRef((_param, et)=>{
730
+ var { type: e, size: o, backgroundColor: a, imageSrc: r, imageSrcSet: n, imageAlt: s = "", imageFit: u = "fill-center", videoSrc: h, videoRef: m, media: d, mediaAspectRatio: b = "auto", mediaPosition: v = "top", mediaWidth: p = 150, circledImage: x, asset: f, headline: k, title: l, titleAs: t = "h3", titleLinesMax: c, pretitle: M, pretitleAs: C, pretitleLinesMax: E, subtitle: N, subtitleLinesMax: P, description: L, descriptionLinesMax: V, dataAttributes: oe, variant: T, width: X, height: re, aspectRatio: ae, slot: K, slotAlignment: $ = "content", buttonPrimary: ne, buttonSecondary: de, buttonLink: se, showFooter: Ke, footerBackgroundColor: We, footerVariant: Ye, footerSlot: ke, footerDivider: qe, topActions: xe, onClose: ye, closeButtonLabel: Je, "aria-label": Se, "aria-labelledby": le, "aria-description": Be, "aria-describedby": Re, gradientOverlayColor: W, videoLoop: Qe, videoAutoPlay: Ue, videoDataAttributes: Ze } = _param, A = _object_without_properties(_param, [
731
731
  "type",
732
732
  "size",
733
733
  "backgroundColor",
@@ -781,29 +781,29 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
781
781
  "videoAutoPlay",
782
782
  "videoDataAttributes"
783
783
  ]);
784
- const { text: He, ref: tt } = Ve(), { text: we, ref: it } = Ve(), B = !!(V.href || V.to || V.onPress), ce = !!(ne || de || le), { colorValues: Le } = ie(), pe = e === "media" || e === "naked", ot = pe && (r !== void 0 || n !== void 0), Te = pe && h !== void 0, ze = ot || Te, ue = pe && !!d && !ze, R = ze || ue, H = e === "naked", S = R ? v : "top", Ce = e === "naked" && x ? 1 : b, he = e === "cover" && (r !== void 0 || n !== void 0), Y = e === "cover" && h !== void 0, De = !!a || he || Y, F = he || Y, rt = Te || Y, { video: Ie, videoAction: me } = Qt({
784
+ const { text: He, ref: tt } = Ae(), { text: we, ref: it } = Ae(), B = !!(A.href || A.to || A.onPress), ce = !!(ne || de || se), { colorValues: Le } = ie(), pe = e === "media" || e === "naked", ot = pe && (r !== void 0 || n !== void 0), Ce = pe && h !== void 0, Te = ot || Ce, ue = pe && !!d && !Te, R = Te || ue, H = e === "naked", S = R ? v : "top", ze = e === "naked" && x ? 1 : b, he = e === "cover" && (r !== void 0 || n !== void 0), Y = e === "cover" && h !== void 0, De = !!a || he || Y, F = he || Y, rt = Ce || Y, { video: Ie, videoAction: me } = Ut({
785
785
  src: rt ? h : void 0,
786
786
  poster: r,
787
787
  ref: m,
788
- autoHeight: e === "cover" || S !== "top" ? !1 : ve(Ce) === 0,
788
+ autoHeight: e === "cover" || S !== "top" ? !1 : ve(ze) === 0,
789
789
  loop: Qe,
790
790
  autoPlay: Ue,
791
791
  dataAttributes: Ze
792
- }), $ = be(), at = z ? Fe(z) : $, C = z && Fe(z) || (e === "cover" && De ? "media" : "default"), nt = C === "brand" ? gt : bt, D = Ke && (ce || !!ke) || ce && B, Ne = !D && ce, q = ((xe === null || xe === void 0 ? void 0 : xe.length) || 0) + (ye ? 1 : 0), Pe = me ? q + 1 : q, dt = f && !(R && S === "left"), lt = e !== "cover" && Pe > 0 && !dt && !k, j = e === "cover" || e === "data" && o === "display", O = g.borderRadii.container, st = he || Y ? "transparent" : a || (C === "media" ? $ === "brand" || $ === "media" || $ === "negative" ? g.colors.backgroundContainerBrandOverBrand : g.colors.backgroundBrand : C === "alternative" ? g.colors.backgroundAlternative : void 0), ct = Se || (se ? void 0 : (s && Xe(t, T) ? [
793
- s,
792
+ }), j = be(), at = T ? Fe(T) : j, z = T && Fe(T) || (e === "cover" && De ? "media" : "default"), nt = z === "brand" ? gt : bt, D = Ke && (ce || !!ke) || ce && B, Ne = !D && ce, q = ((xe === null || xe === void 0 ? void 0 : xe.length) || 0) + (ye ? 1 : 0), Pe = me ? q + 1 : q, dt = f && !(R && S === "left"), st = e !== "cover" && Pe > 0 && !dt && !k, G = e === "cover" || e === "data" && o === "display", O = g.borderRadii.container, lt = he || Y ? "transparent" : a || (z === "media" ? j === "brand" || j === "media" || j === "negative" ? g.colors.backgroundContainerBrandOverBrand : g.colors.backgroundBrand : z === "alternative" ? g.colors.backgroundAlternative : void 0), ct = Se || (le ? void 0 : (l && Xe(t, C) ? [
794
793
  l,
794
+ s,
795
795
  we,
796
796
  M,
797
797
  N,
798
- w,
798
+ L,
799
799
  He
800
800
  ] : [
801
801
  M,
802
802
  we,
803
- s,
804
803
  l,
804
+ s,
805
805
  N,
806
- w,
806
+ L,
807
807
  He
808
808
  ]).filter(Boolean).join(" ")), pt = ()=>W === "transparent" ? [
809
809
  "transparent",
@@ -811,23 +811,23 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
811
811
  ] : W ? [
812
812
  je(Le.cardContentOverlay, W),
813
813
  je(Le.cardFooterOverlay, W)
814
- ] : oi, [ut, ht] = pt();
815
- return /* @__PURE__ */ y(_t, {
814
+ ] : ri, [ut, ht] = pt();
815
+ return /* @__PURE__ */ y(Xt, {
816
816
  "aria-label": B ? void 0 : Se,
817
- "aria-labelledby": B ? void 0 : se,
817
+ "aria-labelledby": B ? void 0 : le,
818
818
  "aria-description": B ? void 0 : Be,
819
819
  "aria-describedby": B ? void 0 : Re,
820
820
  type: e,
821
821
  size: o,
822
822
  dataAttributes: oe,
823
823
  ref: et,
824
- variant: C,
825
- width: _,
824
+ variant: z,
825
+ width: X,
826
826
  height: re,
827
827
  aspectRatio: ae,
828
- backgroundColor: st,
828
+ backgroundColor: lt,
829
829
  children: [
830
- F && /* @__PURE__ */ i(Xt, {
830
+ F && /* @__PURE__ */ i(Kt, {
831
831
  video: Ie,
832
832
  src: r,
833
833
  srcSet: n,
@@ -850,16 +850,16 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
850
850
  }
851
851
  })
852
852
  }),
853
- /* @__PURE__ */ i(Ft, _object_spread_props(_object_spread({
853
+ /* @__PURE__ */ i(Ot, _object_spread_props(_object_spread({
854
854
  maybe: !0,
855
855
  "aria-label": B ? ct : void 0,
856
- "aria-labelledby": B ? se : void 0,
856
+ "aria-labelledby": B ? le : void 0,
857
857
  "aria-description": B ? Be : void 0,
858
858
  "aria-describedby": B ? Re : void 0,
859
- className: L(Ae, kt)
860
- }, V), {
859
+ className: w(Ve, xt)
860
+ }, A), {
861
861
  children: /* @__PURE__ */ y("div", {
862
- role: V.href || V.to ? "text" : void 0,
862
+ role: A.href || A.to ? "text" : void 0,
863
863
  className: mt,
864
864
  style: {
865
865
  flexDirection: S === "top" ? "column" : S === "left" ? "row" : "row-reverse",
@@ -877,7 +877,7 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
877
877
  // for some reason, this width is required to pass headless screenshot tests
878
878
  // otherwise, it gets 0px width and the media is not visible
879
879
  width: "100%"
880
- }, e === "naked" ? void 0 : G({
880
+ }, e === "naked" ? void 0 : _({
881
881
  [te.mediaBorderRadius]: "0px"
882
882
  })),
883
883
  children: d
@@ -888,24 +888,24 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
888
888
  asset: f,
889
889
  type: e
890
890
  }),
891
- R && /* @__PURE__ */ i(ei, {
891
+ R && /* @__PURE__ */ i(ti, {
892
892
  type: e,
893
893
  size: o,
894
- mediaAspectRatio: Ce,
894
+ mediaAspectRatio: ze,
895
895
  mediaPosition: S,
896
896
  asset: f,
897
897
  video: Ie,
898
898
  imageFit: u,
899
899
  imageSrc: r,
900
900
  imageSrcSet: n,
901
- imageAlt: l,
901
+ imageAlt: s,
902
902
  mediaWidth: p,
903
903
  circledImage: x
904
904
  }),
905
905
  /* @__PURE__ */ y("div", {
906
906
  "aria-hidden": B,
907
907
  "data-testid": "body",
908
- className: L(Ae, {
908
+ className: w(Ve, {
909
909
  [ge[o]]: !!f && e !== "naked" && (!R || S === "right")
910
910
  }),
911
911
  children: [
@@ -914,18 +914,18 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
914
914
  asset: f,
915
915
  type: e
916
916
  }),
917
- j && /* @__PURE__ */ i(U, {
917
+ G && /* @__PURE__ */ i(U, {
918
918
  minHeight: e === "cover" && Pe > 0 && !f ? 56 : 0
919
919
  }),
920
920
  /* @__PURE__ */ y("div", {
921
- className: L(Z[o], Ge[o], ge[o]),
921
+ className: w(Z[o], Ge[o], ge[o]),
922
922
  style: {
923
923
  display: "flex",
924
924
  flexDirection: "column",
925
- height: j ? void 0 : "100%",
925
+ height: G ? void 0 : "100%",
926
926
  background: F ? ut : void 0,
927
927
  // padding overrides for specific cases
928
- paddingTop: j && F ? 40 : f || H && S !== "top" ? 16 : H && !R ? 0 : void 0,
928
+ paddingTop: G && F ? 40 : f || H && S !== "top" ? 16 : H && !R ? 0 : void 0,
929
929
  paddingLeft: H && (S !== "left" || !R) ? 0 : void 0,
930
930
  paddingRight: H && S !== "right" ? 16 : void 0,
931
931
  paddingBottom: D ? 16 : H ? 0 : void 0,
@@ -938,27 +938,27 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
938
938
  children: [
939
939
  /* @__PURE__ */ i("div", {
940
940
  className: vt,
941
- children: /* @__PURE__ */ i(ii, {
941
+ children: /* @__PURE__ */ i(oi, {
942
942
  type: e,
943
943
  hasCustomBackground: De,
944
944
  headlineRef: it,
945
- variant: C,
945
+ variant: z,
946
946
  size: o,
947
947
  headline: k,
948
948
  pretitle: M,
949
- pretitleAs: T,
949
+ pretitleAs: C,
950
950
  pretitleLinesMax: E,
951
- title: s,
951
+ title: l,
952
952
  titleAs: t,
953
953
  titleLinesMax: c,
954
954
  subtitle: N,
955
955
  subtitleLinesMax: P,
956
- description: w,
957
- descriptionLinesMax: A,
956
+ description: L,
957
+ descriptionLinesMax: V,
958
958
  withTextShadow: F
959
959
  })
960
960
  }),
961
- lt && /* @__PURE__ */ i("div", {
961
+ st && /* @__PURE__ */ i("div", {
962
962
  style: {
963
963
  flexShrink: 0,
964
964
  flexGrow: 0,
@@ -969,18 +969,19 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
969
969
  })
970
970
  ]
971
971
  }),
972
- !j && K === "bottom" && /* @__PURE__ */ i(U, {}),
973
- X && /* @__PURE__ */ i("div", {
972
+ !G && $ === "bottom" && /* @__PURE__ */ i(U, {}),
973
+ K && /* @__PURE__ */ i("div", {
974
974
  ref: tt,
975
975
  "data-testid": "slot",
976
- children: X
976
+ className: w($ === "space-between" && kt),
977
+ children: K
977
978
  }),
978
- !j && K === "content" && Ne && /* @__PURE__ */ i(U, {}),
979
- Ne && /* @__PURE__ */ i(Ut, {
979
+ !G && $ === "content" && Ne && /* @__PURE__ */ i(U, {}),
980
+ Ne && /* @__PURE__ */ i(Zt, {
980
981
  size: o,
981
982
  buttonPrimary: ne,
982
983
  buttonSecondary: de,
983
- buttonLink: le
984
+ buttonLink: se
984
985
  })
985
986
  ]
986
987
  })
@@ -989,9 +990,9 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
989
990
  ]
990
991
  })
991
992
  })),
992
- D && /* @__PURE__ */ i(ti, {
993
+ D && /* @__PURE__ */ i(ii, {
993
994
  type: e,
994
- variant: C,
995
+ variant: z,
995
996
  footerVariant: Ye,
996
997
  footerBackgroundColor: We,
997
998
  footerDivider: qe,
@@ -999,18 +1000,18 @@ const _t = /*#__PURE__*/ I.forwardRef((param, p)=>{
999
1000
  footerSlot: ke,
1000
1001
  buttonPrimary: ne,
1001
1002
  buttonSecondary: de,
1002
- buttonLink: le,
1003
+ buttonLink: se,
1003
1004
  hasBackgroundImageOrVideo: F,
1004
- externalVariant: $,
1005
+ externalVariant: j,
1005
1006
  overlayColor: ht
1006
1007
  }),
1007
1008
  /* @__PURE__ */ i($e, {
1008
1009
  onClose: ye,
1009
1010
  closeButtonLabel: Je,
1010
1011
  actions: xe,
1011
- variant: F || R && S !== "left" ? "media" : C
1012
+ variant: F || R && S !== "left" ? "media" : z
1012
1013
  })
1013
1014
  ]
1014
1015
  });
1015
1016
  });
1016
- export { Zt as CardActionIconButton, Yt as CardActionSpinner, Pi as InternalCard, $e as TopActions, Qt as useVideoWithControls };
1017
+ export { ei as CardActionIconButton, qt as CardActionSpinner, Vi as InternalCard, $e as TopActions, Ut as useVideoWithControls };