@telefonica/mistica 14.28.1 → 14.30.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 (59) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/accordion.d.ts +3 -0
  3. package/dist/accordion.js +71 -70
  4. package/dist/button-layout.css-mistica.js +11 -19
  5. package/dist/button-layout.css.d.ts +1 -5
  6. package/dist/button-layout.js +19 -90
  7. package/dist/button.css-mistica.js +18 -21
  8. package/dist/card.d.ts +17 -7
  9. package/dist/card.js +275 -267
  10. package/dist/community/advanced-data-card.d.ts +1 -1
  11. package/dist/counter.css-mistica.js +48 -0
  12. package/dist/counter.css.d.ts +11 -0
  13. package/dist/counter.css.ts.vanilla.css-mistica.js +11 -0
  14. package/dist/counter.d.ts +19 -0
  15. package/dist/counter.js +240 -0
  16. package/dist/generated/mistica-icons/icon-add-more-filled.js +1 -1
  17. package/dist/generated/mistica-icons/icon-add-more-light.js +1 -1
  18. package/dist/generated/mistica-icons/icon-add-more-regular.js +2 -2
  19. package/dist/generated/mistica-icons/icon-subtract-filled.d.ts +4 -0
  20. package/dist/generated/mistica-icons/icon-subtract-light.js +21 -10
  21. package/dist/generated/mistica-icons/icon-subtract-regular.js +29 -8
  22. package/dist/index.d.ts +2 -1
  23. package/dist/index.js +7 -0
  24. package/dist/list.d.ts +3 -0
  25. package/dist/list.js +92 -92
  26. package/dist/loading-bar.js +5 -4
  27. package/dist/menu.js +11 -10
  28. package/dist/navigation-bar.js +27 -26
  29. package/dist/package-version.js +1 -1
  30. package/dist/snackbar.css-mistica.js +16 -13
  31. package/dist/snackbar.css.d.ts +3 -2
  32. package/dist/snackbar.d.ts +5 -1
  33. package/dist/snackbar.js +119 -64
  34. package/dist/theme.d.ts +6 -0
  35. package/dist/theme.js +52 -28
  36. package/dist-es/accordion.js +79 -78
  37. package/dist-es/button-layout.css-mistica.js +4 -6
  38. package/dist-es/button-layout.js +27 -98
  39. package/dist-es/button.css-mistica.js +3 -3
  40. package/dist-es/card.js +343 -338
  41. package/dist-es/counter.css-mistica.js +4 -0
  42. package/dist-es/counter.css.ts.vanilla.css-mistica.js +2 -0
  43. package/dist-es/counter.js +187 -0
  44. package/dist-es/generated/mistica-icons/icon-add-more-filled.js +1 -1
  45. package/dist-es/generated/mistica-icons/icon-add-more-light.js +1 -1
  46. package/dist-es/generated/mistica-icons/icon-add-more-regular.js +2 -2
  47. package/dist-es/generated/mistica-icons/icon-subtract-light.js +24 -13
  48. package/dist-es/generated/mistica-icons/icon-subtract-regular.js +33 -12
  49. package/dist-es/index.js +1765 -1764
  50. package/dist-es/list.js +125 -125
  51. package/dist-es/loading-bar.js +12 -11
  52. package/dist-es/menu.js +9 -8
  53. package/dist-es/navigation-bar.js +26 -25
  54. package/dist-es/package-version.js +1 -1
  55. package/dist-es/snackbar.css-mistica.js +5 -2
  56. package/dist-es/snackbar.js +140 -85
  57. package/dist-es/style.css +1 -1
  58. package/dist-es/theme.js +56 -32
  59. package/package.json +1 -1
package/dist-es/card.js CHANGED
@@ -77,112 +77,117 @@ function _object_without_properties_loose(source, excluded) {
77
77
  }
78
78
  return target;
79
79
  }
80
- import { jsx as e, jsxs as r, Fragment as Be } from "react/jsx-runtime";
81
- import * as N from "react";
82
- import Se from "./tag.js";
83
- import b from "./stack.js";
80
+ import { jsx as e, jsxs as n, Fragment as we } from "react/jsx-runtime";
81
+ import * as y from "react";
82
+ import ke from "./tag.js";
83
+ import N from "./stack.js";
84
84
  import R from "./box.js";
85
- import { Text2 as B, Text6 as ke, Text3 as Re, Text as se } from "./text.js";
86
- import { Boxed as $, InternalBoxed as oe } from "./boxed.js";
85
+ import { Text2 as S, Text6 as Re, Text3 as Me, Text as oe } from "./text.js";
86
+ import { Boxed as $, InternalBoxed as se } from "./boxed.js";
87
87
  import ee from "./button-group.js";
88
- import ae, { MediaBorderRadiusProvider as Me } from "./image.js";
88
+ import ae, { MediaBorderRadiusProvider as ze } from "./image.js";
89
89
  import { BaseTouchable as V } from "./touchable.js";
90
90
  import { vars as v } from "./skins/skin-contract.css-mistica.js";
91
- import { cardContainer as ze, vars as De, touchableContainer as E, boxed as L, touchable as G, touchableMediaCardOverlay as Oe, mediaCard as re, mediaCardContent as He, mediaCardIcon as de, touchableNakedMediaOverlay as le, circularMediaOverlay as ce, nakedCardContent as me, touchableCardOverlay as J, dataCard as Ve, actions as he, snapCard as Ee, displayCardContainer as ue, displayCardBackground as pe, displayCardContent as fe, displayCardGradient as ge, cardActionIconButton as Ge, touchableCardOverlayInverse as ne, touchableCardOverlayMedia as ve, cardAction as Xe, cardActionInverse as je, cardActionMedia as Fe } from "./card.css-mistica.js";
91
+ import { cardActionIconButton as De, cardContainer as Oe, vars as He, touchableContainer as E, boxed as L, touchable as G, touchableMediaCardOverlay as Ve, mediaCard as re, mediaCardContent as Ee, mediaCardIcon as de, touchableNakedMediaOverlay as le, circularMediaOverlay as ce, nakedCardContent as me, touchableCardOverlay as J, dataCard as Ge, actions as he, snapCard as Pe, displayCardContainer as ue, displayCardBackground as pe, displayCardContent as fe, displayCardGradient as ge, cardAction as Xe, cardActionInverse as je, cardActionMedia as Fe, touchableCardOverlayInverse as ne, touchableCardOverlayMedia as ve } from "./card.css-mistica.js";
92
92
  import { useTheme as K } from "./hooks.js";
93
93
  import { sprinkles as ye } from "./sprinkles.css-mistica.js";
94
- import Pe from "./icon-button.js";
95
- import _e from "./generated/mistica-icons/icon-close-regular.js";
96
- import We from "./generated/mistica-icons/icon-pause-filled.js";
97
- import Le from "./generated/mistica-icons/icon-play-filled.js";
98
- import { combineRefs as Ue } from "./utils/common.js";
99
- import Ze from "./spinner.js";
100
- import qe from "./video.js";
101
- import { useIsInverseVariant as Ne, ThemeVariant as be } from "./theme-variant-context.js";
94
+ import _e from "./icon-button.js";
95
+ import We from "./generated/mistica-icons/icon-close-regular.js";
96
+ import Le from "./generated/mistica-icons/icon-pause-filled.js";
97
+ import Ue from "./generated/mistica-icons/icon-play-filled.js";
98
+ import { combineRefs as Ze } from "./utils/common.js";
99
+ import qe from "./spinner.js";
100
+ import Je from "./video.js";
101
+ import { useIsInverseVariant as Ce, ThemeVariant as Ne } from "./theme-variant-context.js";
102
102
  import ie from "classnames";
103
- import { assignInlineVars as Je } from "@vanilla-extract/dynamic";
104
- import Ke from "./inline.js";
105
- import { getPrefixedDataAttributes as Qe } from "./utils/dom.js";
106
- import { isRunningAcceptanceTest as Ye } from "./utils/platform.js";
107
- const Ce = (a, n)=>{
108
- const { texts: s } = K(), o = a ? [
103
+ import { assignInlineVars as Ke } from "@vanilla-extract/dynamic";
104
+ import Qe from "./inline.js";
105
+ import { getPrefixedDataAttributes as Ye } from "./utils/dom.js";
106
+ import { isRunningAcceptanceTest as $e } from "./utils/platform.js";
107
+ const be = (a, r)=>{
108
+ const { texts: i } = K(), t = a ? [
109
109
  ...a
110
110
  ] : [];
111
- return n && o.push({
112
- label: s.closeButtonLabel,
113
- onPress: n,
114
- Icon: _e
115
- }), o;
116
- }, Te = 48, U = (param)=>{
117
- let { actions: a , padding: n = 8 , onClose: s , type: o = "default" } = param;
118
- const h = Ce(a, s), t = h.length > 0, d = {
111
+ return r && t.push({
112
+ label: i.closeButtonLabel,
113
+ onPress: r,
114
+ Icon: We
115
+ }), t;
116
+ }, Te = /*#__PURE__*/ y.createContext("default"), xe = 48, ea = (_param)=>{
117
+ var { Icon: a , label: r } = _param, i = _object_without_properties(_param, [
118
+ "Icon",
119
+ "label"
120
+ ]);
121
+ const t = y.useContext(Te), c = {
119
122
  default: v.colors.neutralHigh,
120
123
  inverse: v.colors.inverse,
121
124
  media: "#000000"
122
- }, l = {
123
- default: Xe,
124
- inverse: je,
125
- media: Fe
126
125
  };
127
- return t ? /* @__PURE__ */ e("div", {
126
+ return /* @__PURE__ */ e(_e, _object_spread_props(_object_spread({}, i), {
127
+ "aria-label": r,
128
+ size: xe,
129
+ className: De,
128
130
  style: {
129
- position: "absolute",
130
- right: n,
131
- top: n,
132
- zIndex: 3
131
+ display: "flex"
133
132
  },
134
133
  children: /* @__PURE__ */ e("div", {
135
- className: ye({
136
- display: "flex"
137
- }),
138
- children: h.map((param, p)=>/* @__PURE__ */ {
139
- let { onPress: u , label: c , Icon: i , disabled: m = !1 } = param;
140
- return e(Pe, {
141
- disabled: m,
142
- size: Te,
143
- onPress: u,
144
- "aria-label": c,
145
- className: Ge,
146
- style: {
147
- display: "flex"
148
- },
149
- children: /* @__PURE__ */ e("div", {
150
- className: l[o],
151
- children: /* @__PURE__ */ e(i, {
152
- color: d[o],
153
- size: 20
154
- })
155
- })
156
- }, p);
134
+ className: {
135
+ default: Xe,
136
+ inverse: je,
137
+ media: Fe
138
+ }[t],
139
+ children: /* @__PURE__ */ e(a, {
140
+ color: c[t],
141
+ size: 20
142
+ })
143
+ })
144
+ }));
145
+ }, U = (param)=>{
146
+ let { actions: a , padding: r = 8 , onClose: i , type: t = "default" } = param;
147
+ const c = be(a, i);
148
+ return c.length > 0 ? /* @__PURE__ */ e(Te.Provider, {
149
+ value: t,
150
+ children: /* @__PURE__ */ e("div", {
151
+ style: {
152
+ position: "absolute",
153
+ right: r,
154
+ top: r,
155
+ zIndex: 3
156
+ },
157
+ children: /* @__PURE__ */ e("div", {
158
+ className: ye({
159
+ display: "flex"
160
+ }),
161
+ children: c.map((d, l)=>"label" in d ? /* @__PURE__ */ e(ea, _object_spread({}, d), l) : d)
157
162
  })
158
163
  })
159
- }) : /* @__PURE__ */ e(Be, {});
160
- }, $e = (a)=>a ? typeof a == "number" ? a : ({
164
+ }) : /* @__PURE__ */ e(we, {});
165
+ }, aa = (a)=>a ? typeof a == "number" ? a : ({
161
166
  "1:1": 1,
162
167
  "16:9": 16 / 9,
163
168
  "7:10": 7 / 10,
164
169
  "9:10": 9 / 10,
165
170
  auto: 0
166
- })[a] : 0, X = /*#__PURE__*/ N.forwardRef((param, l)=>{
167
- let { children: a , width: n = "100%" , height: s = "100%" , aspectRatio: o , dataAttributes: h , className: t , "aria-label": d } = param;
168
- const u = $e(o);
169
- return /* @__PURE__ */ e("section", _object_spread_props(_object_spread({}, Qe(h)), {
171
+ })[a] : 0, P = /*#__PURE__*/ y.forwardRef((param, l)=>{
172
+ let { children: a , width: r = "100%" , height: i = "100%" , aspectRatio: t , dataAttributes: c , className: o , "aria-label": d } = param;
173
+ const u = aa(t);
174
+ return /* @__PURE__ */ e("section", _object_spread_props(_object_spread({}, Ye(c)), {
170
175
  ref: l,
171
176
  "aria-label": d,
172
- className: ie(t, ze),
177
+ className: ie(o, Oe),
173
178
  style: _object_spread({
174
- width: n,
175
- height: s
176
- }, u ? Je({
177
- [De.aspectRatio]: String(u)
179
+ width: r,
180
+ height: i
181
+ }, u ? Ke({
182
+ [He.aspectRatio]: String(u)
178
183
  }) : {}),
179
184
  children: a
180
185
  }));
181
- }), Ie = (a)=>/* @__PURE__ */ e(ae, {
186
+ }), Ae = (a)=>/* @__PURE__ */ e(ae, {
182
187
  width: "100%",
183
188
  height: "100%",
184
189
  src: a || ""
185
- }), ea = {
190
+ }), ra = {
186
191
  loading: {
187
192
  showSpinner: "loadingTimeout",
188
193
  play: "playing",
@@ -206,83 +211,83 @@ const Ce = (a, n)=>{
206
211
  error: {
207
212
  reset: "loading"
208
213
  }
209
- }, aa = (a, n)=>ea[a][n] || a, ra = (param)=>/* @__PURE__ */ {
214
+ }, na = (a, r)=>ra[a][r] || a, ia = (param)=>/* @__PURE__ */ {
210
215
  let { color: a } = param;
211
- return e(Ze, {
216
+ return e(qe, {
212
217
  color: a,
213
218
  size: 16,
214
219
  delay: "0"
215
220
  });
216
221
  }, Y = (param)=>/* @__PURE__ */ {
217
222
  let { color: a } = param;
218
- return e(We, {
223
+ return e(Le, {
219
224
  color: a,
220
225
  size: 12
221
226
  });
222
- }, na = (param)=>/* @__PURE__ */ {
227
+ }, ta = (param)=>/* @__PURE__ */ {
223
228
  let { color: a } = param;
224
- return e(Le, {
229
+ return e(Ue, {
225
230
  color: a,
226
231
  size: 12
227
232
  });
228
- }, xe = (a, n, s)=>{
229
- const { texts: o } = K(), h = N.useRef(null), [t, d] = N.useReducer(aa, "loading");
230
- N.useEffect(()=>{
231
- var m;
232
- const i = setTimeout(()=>d("showSpinner"), 2e3);
233
- return (m = h.current) == null || m.load(), ()=>{
234
- clearTimeout(i), d("reset");
233
+ }, Ie = (a, r, i)=>{
234
+ const { texts: t } = K(), c = y.useRef(null), [o, d] = y.useReducer(na, "loading");
235
+ y.useEffect(()=>{
236
+ var h;
237
+ const s = setTimeout(()=>d("showSpinner"), 2e3);
238
+ return (h = c.current) == null || h.load(), ()=>{
239
+ clearTimeout(s), d("reset");
235
240
  };
236
241
  }, [
237
242
  a
238
243
  ]);
239
- const l = N.useMemo(()=>a !== void 0 ? /* @__PURE__ */ e(qe, {
240
- ref: Ue(h, s),
244
+ const l = y.useMemo(()=>a !== void 0 ? /* @__PURE__ */ e(Je, {
245
+ ref: Ze(c, i),
241
246
  src: a,
242
247
  width: "100%",
243
248
  height: "100%",
244
- poster: n,
249
+ poster: r,
245
250
  onError: ()=>d("fail"),
246
251
  onPause: ()=>d("pause"),
247
252
  onPlay: ()=>d("play")
248
253
  }) : void 0, [
249
- s,
254
+ i,
250
255
  a,
251
- n
256
+ r
252
257
  ]), u = ()=>{
253
- const i = h.current;
254
- i && (t === "loading" ? d("showSpinner") : t === "paused" ? i.play() : t === "playing" && i.pause());
258
+ const s = c.current;
259
+ s && (o === "loading" ? d("showSpinner") : o === "paused" ? s.play() : o === "playing" && s.pause());
255
260
  };
256
- if (t === "error") return {
261
+ if (o === "error") return {
257
262
  video: l
258
263
  };
259
- const c = {
264
+ const m = {
260
265
  Icon: {
261
266
  playing: Y,
262
267
  loading: Y,
263
- paused: na,
264
- loadingTimeout: Ye() ? Y : ra
265
- }[t],
268
+ paused: ta,
269
+ loadingTimeout: $e() ? Y : ia
270
+ }[o],
266
271
  onPress: u,
267
272
  label: {
268
- playing: o.pauseIconButtonLabel,
269
- loading: o.pauseIconButtonLabel,
270
- paused: o.playIconButtonLabel,
273
+ playing: t.pauseIconButtonLabel,
274
+ loading: t.pauseIconButtonLabel,
275
+ paused: t.playIconButtonLabel,
271
276
  loadingTimeout: ""
272
- }[t],
273
- disabled: t === "loadingTimeout"
277
+ }[o],
278
+ disabled: o === "loadingTimeout"
274
279
  };
275
280
  return {
276
281
  video: l,
277
- videoAction: c
282
+ videoAction: m
278
283
  };
279
284
  }, te = (param)=>{
280
- let { headline: a , pretitle: n , pretitleLinesMax: s , title: o , titleLinesMax: h , subtitle: t , subtitleLinesMax: d , description: l , descriptionLinesMax: u , extra: c , button: i , buttonLink: m } = param;
281
- const { textPresets: p } = K(), g = ()=>a ? typeof a == "string" ? /* @__PURE__ */ e(Se, {
285
+ let { headline: a , pretitle: r , pretitleLinesMax: i , title: t , titleLinesMax: c , subtitle: o , subtitleLinesMax: d , description: l , descriptionLinesMax: u , extra: m , button: s , buttonLink: h } = param;
286
+ const { textPresets: f } = K(), g = ()=>a ? typeof a == "string" ? /* @__PURE__ */ e(ke, {
282
287
  type: "promo",
283
288
  children: a
284
289
  }) : a : null;
285
- return /* @__PURE__ */ r("div", {
290
+ return /* @__PURE__ */ n("div", {
286
291
  className: ye({
287
292
  display: "flex",
288
293
  flex: 1,
@@ -290,50 +295,50 @@ const Ce = (a, n)=>{
290
295
  flexDirection: "column"
291
296
  }),
292
297
  children: [
293
- /* @__PURE__ */ r("div", {
298
+ /* @__PURE__ */ n("div", {
294
299
  children: [
295
- /* @__PURE__ */ r(b, {
300
+ /* @__PURE__ */ n(N, {
296
301
  space: 8,
297
302
  children: [
298
- (a || n || o || t) && /* @__PURE__ */ e("header", {
299
- children: /* @__PURE__ */ r(b, {
303
+ (a || r || t || o) && /* @__PURE__ */ e("header", {
304
+ children: /* @__PURE__ */ n(N, {
300
305
  space: 8,
301
306
  children: [
302
307
  g(),
303
- /* @__PURE__ */ r(b, {
308
+ /* @__PURE__ */ n(N, {
304
309
  space: 4,
305
310
  children: [
306
- n && /* @__PURE__ */ e(B, {
307
- truncate: s,
311
+ r && /* @__PURE__ */ e(S, {
312
+ truncate: i,
308
313
  as: "div",
309
314
  regular: !0,
310
315
  hyphens: "auto",
311
- children: n
316
+ children: r
312
317
  }),
313
- /* @__PURE__ */ e(se, {
318
+ /* @__PURE__ */ e(oe, {
314
319
  mobileSize: 18,
315
320
  mobileLineHeight: "24px",
316
321
  desktopSize: 20,
317
322
  desktopLineHeight: "28px",
318
- truncate: h,
319
- weight: p.cardTitle.weight,
323
+ truncate: c,
324
+ weight: f.cardTitle.weight,
320
325
  as: "h3",
321
326
  hyphens: "auto",
322
- children: o
327
+ children: t
323
328
  }),
324
- /* @__PURE__ */ e(B, {
329
+ /* @__PURE__ */ e(S, {
325
330
  truncate: d,
326
331
  as: "div",
327
332
  regular: !0,
328
333
  hyphens: "auto",
329
- children: t
334
+ children: o
330
335
  })
331
336
  ]
332
337
  })
333
338
  ]
334
339
  })
335
340
  }),
336
- l && /* @__PURE__ */ e(B, {
341
+ l && /* @__PURE__ */ e(S, {
337
342
  truncate: u,
338
343
  as: "p",
339
344
  regular: !0,
@@ -343,22 +348,22 @@ const Ce = (a, n)=>{
343
348
  })
344
349
  ]
345
350
  }),
346
- c && /* @__PURE__ */ e("div", {
347
- children: c
351
+ m && /* @__PURE__ */ e("div", {
352
+ children: m
348
353
  })
349
354
  ]
350
355
  }),
351
- (i || m) && /* @__PURE__ */ e("div", {
356
+ (s || h) && /* @__PURE__ */ e("div", {
352
357
  className: he,
353
358
  children: /* @__PURE__ */ e(ee, {
354
- primaryButton: i,
355
- link: m
359
+ primaryButton: s,
360
+ link: h
356
361
  })
357
362
  })
358
363
  ]
359
364
  });
360
- }, Ra = /*#__PURE__*/ N.forwardRef((_param, M)=>{
361
- var { media: a , icon: n , headline: s , pretitle: o , pretitleLinesMax: h , subtitle: t , subtitleLinesMax: d , title: l , titleLinesMax: u , description: c , descriptionLinesMax: i , extra: m , actions: p , button: g , buttonLink: S , dataAttributes: T , "aria-label": C , onClose: y } = _param, f = _object_without_properties(_param, [
365
+ }, za = /*#__PURE__*/ y.forwardRef((_param, M)=>{
366
+ var { media: a , icon: r , headline: i , pretitle: t , pretitleLinesMax: c , subtitle: o , subtitleLinesMax: d , title: l , titleLinesMax: u , description: m , descriptionLinesMax: s , extra: h , actions: f , button: g , buttonLink: w , dataAttributes: T , "aria-label": b , onClose: C } = _param, p = _object_without_properties(_param, [
362
367
  "media",
363
368
  "icon",
364
369
  "headline",
@@ -378,53 +383,53 @@ const Ce = (a, n)=>{
378
383
  "aria-label",
379
384
  "onClose"
380
385
  ]);
381
- const x = f.href || f.to || f.onPress;
382
- return /* @__PURE__ */ r(X, {
386
+ const A = p.href || p.to || p.onPress;
387
+ return /* @__PURE__ */ n(P, {
383
388
  dataAttributes: _object_spread({
384
389
  "component-name": "MediaCard"
385
390
  }, T),
386
391
  ref: M,
387
- "aria-label": C,
392
+ "aria-label": b,
388
393
  className: E,
389
394
  children: [
390
395
  /* @__PURE__ */ e($, {
391
396
  className: L,
392
397
  width: "100%",
393
398
  height: "100%",
394
- children: /* @__PURE__ */ r(V, _object_spread_props(_object_spread({
399
+ children: /* @__PURE__ */ n(V, _object_spread_props(_object_spread({
395
400
  maybe: !0
396
- }, f), {
401
+ }, p), {
397
402
  className: G,
398
- "aria-label": C,
403
+ "aria-label": b,
399
404
  children: [
400
- x && /* @__PURE__ */ e("div", {
401
- className: Oe
405
+ A && /* @__PURE__ */ e("div", {
406
+ className: Ve
402
407
  }),
403
- /* @__PURE__ */ r("div", {
408
+ /* @__PURE__ */ n("div", {
404
409
  className: re,
405
410
  children: [
406
- /* @__PURE__ */ e(Me, {
411
+ /* @__PURE__ */ e(ze, {
407
412
  value: !1,
408
413
  children: a
409
414
  }),
410
415
  /* @__PURE__ */ e("div", {
411
- className: He,
416
+ className: Ee,
412
417
  children: /* @__PURE__ */ e(te, {
413
- headline: s,
414
- pretitle: o,
415
- pretitleLinesMax: h,
418
+ headline: i,
419
+ pretitle: t,
420
+ pretitleLinesMax: c,
416
421
  title: l,
417
422
  titleLinesMax: u,
418
- subtitle: t,
423
+ subtitle: o,
419
424
  subtitleLinesMax: d,
420
- description: c,
421
- descriptionLinesMax: i,
422
- extra: m,
425
+ description: m,
426
+ descriptionLinesMax: s,
427
+ extra: h,
423
428
  button: g,
424
- buttonLink: S
429
+ buttonLink: w
425
430
  })
426
431
  }),
427
- n && /* @__PURE__ */ e(R, {
432
+ r && /* @__PURE__ */ e(R, {
428
433
  className: de,
429
434
  paddingLeft: {
430
435
  mobile: 16,
@@ -434,7 +439,7 @@ const Ce = (a, n)=>{
434
439
  mobile: 16,
435
440
  desktop: 24
436
441
  },
437
- children: n
442
+ children: r
438
443
  })
439
444
  ]
440
445
  })
@@ -442,14 +447,14 @@ const Ce = (a, n)=>{
442
447
  }))
443
448
  }),
444
449
  /* @__PURE__ */ e(U, {
445
- onClose: y,
446
- actions: p,
450
+ onClose: C,
451
+ actions: f,
447
452
  type: "media"
448
453
  })
449
454
  ]
450
455
  });
451
- }), Ma = /*#__PURE__*/ N.forwardRef((_param, M)=>{
452
- var { media: a , icon: n , headline: s , pretitle: o , pretitleLinesMax: h , subtitle: t , subtitleLinesMax: d , title: l , titleLinesMax: u , description: c , descriptionLinesMax: i , extra: m , actions: p , button: g , buttonLink: S , dataAttributes: T , "aria-label": C , onClose: y } = _param, f = _object_without_properties(_param, [
456
+ }), Da = /*#__PURE__*/ y.forwardRef((_param, M)=>{
457
+ var { media: a , icon: r , headline: i , pretitle: t , pretitleLinesMax: c , subtitle: o , subtitleLinesMax: d , title: l , titleLinesMax: u , description: m , descriptionLinesMax: s , extra: h , actions: f , button: g , buttonLink: w , dataAttributes: T , "aria-label": b , onClose: C } = _param, p = _object_without_properties(_param, [
453
458
  "media",
454
459
  "icon",
455
460
  "headline",
@@ -469,29 +474,29 @@ const Ce = (a, n)=>{
469
474
  "aria-label",
470
475
  "onClose"
471
476
  ]);
472
- const x = f.href || f.to || f.onPress, D = a && a.type === ae && a.props.circular;
473
- return /* @__PURE__ */ r(X, {
477
+ const A = p.href || p.to || p.onPress, D = a && a.type === ae && a.props.circular;
478
+ return /* @__PURE__ */ n(P, {
474
479
  ref: M,
475
480
  dataAttributes: _object_spread({
476
481
  "component-name": "NakedCard"
477
482
  }, T),
478
- "aria-label": C,
479
- className: x ? E : void 0,
483
+ "aria-label": b,
484
+ className: A ? E : void 0,
480
485
  children: [
481
486
  /* @__PURE__ */ e(V, _object_spread_props(_object_spread({
482
487
  maybe: !0
483
- }, f), {
488
+ }, p), {
484
489
  className: G,
485
- "aria-label": C,
486
- children: /* @__PURE__ */ r("div", {
490
+ "aria-label": b,
491
+ children: /* @__PURE__ */ n("div", {
487
492
  className: re,
488
493
  children: [
489
- /* @__PURE__ */ r("div", {
494
+ /* @__PURE__ */ n("div", {
490
495
  style: {
491
496
  position: "relative"
492
497
  },
493
498
  children: [
494
- x && /* @__PURE__ */ e("div", {
499
+ A && /* @__PURE__ */ e("div", {
495
500
  className: ie(le, {
496
501
  [ce]: D
497
502
  })
@@ -502,21 +507,21 @@ const Ce = (a, n)=>{
502
507
  /* @__PURE__ */ e("div", {
503
508
  className: me,
504
509
  children: /* @__PURE__ */ e(te, {
505
- headline: s,
506
- pretitle: o,
507
- pretitleLinesMax: h,
510
+ headline: i,
511
+ pretitle: t,
512
+ pretitleLinesMax: c,
508
513
  title: l,
509
514
  titleLinesMax: u,
510
- subtitle: t,
515
+ subtitle: o,
511
516
  subtitleLinesMax: d,
512
- description: c,
513
- descriptionLinesMax: i,
514
- extra: m,
517
+ description: m,
518
+ descriptionLinesMax: s,
519
+ extra: h,
515
520
  button: g,
516
- buttonLink: S
521
+ buttonLink: w
517
522
  })
518
523
  }),
519
- n && /* @__PURE__ */ e(R, {
524
+ r && /* @__PURE__ */ e(R, {
520
525
  className: de,
521
526
  paddingLeft: {
522
527
  mobile: 16,
@@ -526,20 +531,20 @@ const Ce = (a, n)=>{
526
531
  mobile: 16,
527
532
  desktop: 24
528
533
  },
529
- children: n
534
+ children: r
530
535
  })
531
536
  ]
532
537
  })
533
538
  })),
534
539
  /* @__PURE__ */ e(U, {
535
- onClose: y,
536
- actions: p,
540
+ onClose: C,
541
+ actions: f,
537
542
  type: "media"
538
543
  })
539
544
  ]
540
545
  });
541
- }), za = /*#__PURE__*/ N.forwardRef((_param, m)=>{
542
- var { media: a , title: n , titleLinesMax: s , subtitle: o , subtitleLinesMax: h , description: t , descriptionLinesMax: d , extra: l , dataAttributes: u , "aria-label": c } = _param, i = _object_without_properties(_param, [
546
+ }), Oa = /*#__PURE__*/ y.forwardRef((_param, h)=>{
547
+ var { media: a , title: r , titleLinesMax: i , subtitle: t , subtitleLinesMax: c , description: o , descriptionLinesMax: d , extra: l , dataAttributes: u , "aria-label": m } = _param, s = _object_without_properties(_param, [
543
548
  "media",
544
549
  "title",
545
550
  "titleLinesMax",
@@ -551,28 +556,28 @@ const Ce = (a, n)=>{
551
556
  "dataAttributes",
552
557
  "aria-label"
553
558
  ]);
554
- const p = i.href || i.to || i.onPress, g = a && a.type === ae && a.props.circular;
555
- return /* @__PURE__ */ e(X, {
556
- ref: m,
559
+ const f = s.href || s.to || s.onPress, g = a && a.type === ae && a.props.circular;
560
+ return /* @__PURE__ */ e(P, {
561
+ ref: h,
557
562
  dataAttributes: _object_spread({
558
563
  "component-name": "SmallNakedCard"
559
564
  }, u),
560
- "aria-label": c,
561
- className: p ? E : void 0,
565
+ "aria-label": m,
566
+ className: f ? E : void 0,
562
567
  children: /* @__PURE__ */ e(V, _object_spread_props(_object_spread({
563
568
  maybe: !0
564
- }, i), {
569
+ }, s), {
565
570
  className: G,
566
- "aria-label": c,
567
- children: /* @__PURE__ */ r("div", {
571
+ "aria-label": m,
572
+ children: /* @__PURE__ */ n("div", {
568
573
  className: re,
569
574
  children: [
570
- /* @__PURE__ */ r("div", {
575
+ /* @__PURE__ */ n("div", {
571
576
  style: {
572
577
  position: "relative"
573
578
  },
574
579
  children: [
575
- p && /* @__PURE__ */ e("div", {
580
+ f && /* @__PURE__ */ e("div", {
576
581
  className: ie(le, {
577
582
  [ce]: g
578
583
  })
@@ -580,37 +585,37 @@ const Ce = (a, n)=>{
580
585
  a
581
586
  ]
582
587
  }),
583
- /* @__PURE__ */ r("div", {
588
+ /* @__PURE__ */ n("div", {
584
589
  className: me,
585
590
  children: [
586
- /* @__PURE__ */ r("div", {
591
+ /* @__PURE__ */ n("div", {
587
592
  children: [
588
- /* @__PURE__ */ r(b, {
593
+ /* @__PURE__ */ n(N, {
589
594
  space: 8,
590
595
  children: [
591
- n && /* @__PURE__ */ e(B, {
592
- truncate: s,
596
+ r && /* @__PURE__ */ e(S, {
597
+ truncate: i,
593
598
  as: "h3",
594
599
  regular: !0,
595
600
  hyphens: "auto",
596
- children: n
601
+ children: r
597
602
  }),
598
- o && /* @__PURE__ */ e(B, {
599
- truncate: h,
603
+ t && /* @__PURE__ */ e(S, {
604
+ truncate: c,
600
605
  regular: !0,
601
606
  as: "p",
602
607
  hyphens: "auto",
603
- children: o
608
+ children: t
604
609
  })
605
610
  ]
606
611
  }),
607
- t && /* @__PURE__ */ e(B, {
612
+ o && /* @__PURE__ */ e(S, {
608
613
  truncate: d,
609
614
  regular: !0,
610
615
  as: "p",
611
616
  color: v.colors.textSecondary,
612
617
  hyphens: "auto",
613
- children: t
618
+ children: o
614
619
  })
615
620
  ]
616
621
  }),
@@ -623,8 +628,8 @@ const Ce = (a, n)=>{
623
628
  })
624
629
  }))
625
630
  });
626
- }), Da = /*#__PURE__*/ N.forwardRef((_param, M)=>{
627
- var { icon: a , headline: n , pretitle: s , pretitleLinesMax: o , title: h , titleLinesMax: t , subtitle: d , subtitleLinesMax: l , description: u , descriptionLinesMax: c , extra: i , actions: m , button: p , buttonLink: g , dataAttributes: S , "aria-label": T , onClose: C , aspectRatio: y } = _param, f = _object_without_properties(_param, [
631
+ }), Ha = /*#__PURE__*/ y.forwardRef((_param, M)=>{
632
+ var { icon: a , headline: r , pretitle: i , pretitleLinesMax: t , title: c , titleLinesMax: o , subtitle: d , subtitleLinesMax: l , description: u , descriptionLinesMax: m , extra: s , actions: h , button: f , buttonLink: g , dataAttributes: w , "aria-label": T , onClose: b , aspectRatio: C } = _param, p = _object_without_properties(_param, [
628
633
  "icon",
629
634
  "headline",
630
635
  "pretitle",
@@ -644,68 +649,68 @@ const Ce = (a, n)=>{
644
649
  "onClose",
645
650
  "aspectRatio"
646
651
  ]);
647
- const x = !!a, D = f.href || f.to || f.onPress, O = Ce(m, C), j = {
652
+ const A = !!a, D = p.href || p.to || p.onPress, O = be(h, b), X = {
648
653
  marginRight: -16,
649
654
  marginTop: -24,
650
- width: Te * O.length
655
+ width: xe * O.length
651
656
  };
652
- return /* @__PURE__ */ r(X, {
657
+ return /* @__PURE__ */ n(P, {
653
658
  dataAttributes: _object_spread({
654
659
  "component-name": "DataCard"
655
- }, S),
660
+ }, w),
656
661
  ref: M,
657
662
  "aria-label": T,
658
663
  className: E,
659
- aspectRatio: y,
664
+ aspectRatio: C,
660
665
  children: [
661
666
  /* @__PURE__ */ e($, {
662
667
  className: L,
663
668
  width: "100%",
664
669
  minHeight: "100%",
665
- children: /* @__PURE__ */ r(V, _object_spread_props(_object_spread({
670
+ children: /* @__PURE__ */ n(V, _object_spread_props(_object_spread({
666
671
  maybe: !0
667
- }, f), {
672
+ }, p), {
668
673
  className: G,
669
674
  "aria-label": T,
670
675
  children: [
671
676
  D && /* @__PURE__ */ e("div", {
672
677
  className: J
673
678
  }),
674
- /* @__PURE__ */ r("div", {
675
- className: Ve,
679
+ /* @__PURE__ */ n("div", {
680
+ className: Ge,
676
681
  children: [
677
- /* @__PURE__ */ r(Ke, {
682
+ /* @__PURE__ */ n(Qe, {
678
683
  space: 0,
679
684
  children: [
680
- /* @__PURE__ */ r(b, {
685
+ /* @__PURE__ */ n(N, {
681
686
  space: 16,
682
687
  children: [
683
- x ? a : null,
688
+ A ? a : null,
684
689
  /* @__PURE__ */ e(te, {
685
- headline: n,
686
- pretitle: s,
687
- pretitleLinesMax: o,
688
- title: h,
689
- titleLinesMax: t,
690
+ headline: r,
691
+ pretitle: i,
692
+ pretitleLinesMax: t,
693
+ title: c,
694
+ titleLinesMax: o,
690
695
  subtitle: d,
691
696
  subtitleLinesMax: l,
692
697
  description: u,
693
- descriptionLinesMax: c
698
+ descriptionLinesMax: m
694
699
  })
695
700
  ]
696
701
  }),
697
- !x && /* @__PURE__ */ e("div", {
698
- style: j
702
+ !A && /* @__PURE__ */ e("div", {
703
+ style: X
699
704
  })
700
705
  ]
701
706
  }),
702
- i && /* @__PURE__ */ e("div", {
703
- children: i
707
+ s && /* @__PURE__ */ e("div", {
708
+ children: s
704
709
  }),
705
- (p || g) && /* @__PURE__ */ e("div", {
710
+ (f || g) && /* @__PURE__ */ e("div", {
706
711
  className: he,
707
712
  children: /* @__PURE__ */ e(ee, {
708
- primaryButton: p,
713
+ primaryButton: f,
709
714
  link: g
710
715
  })
711
716
  })
@@ -715,14 +720,14 @@ const Ce = (a, n)=>{
715
720
  }))
716
721
  }),
717
722
  /* @__PURE__ */ e(U, {
718
- onClose: C,
719
- actions: m,
723
+ onClose: b,
724
+ actions: h,
720
725
  type: "default"
721
726
  })
722
727
  ]
723
728
  });
724
- }), Oa = /*#__PURE__*/ N.forwardRef((_param, m)=>{
725
- var { icon: a , title: n , titleLinesMax: s , subtitle: o , subtitleLinesMax: h , dataAttributes: t , "aria-label": d , extra: l , isInverse: u = !1 , aspectRatio: c } = _param, i = _object_without_properties(_param, [
729
+ }), Va = /*#__PURE__*/ y.forwardRef((_param, h)=>{
730
+ var { icon: a , title: r , titleLinesMax: i , subtitle: t , subtitleLinesMax: c , dataAttributes: o , "aria-label": d , extra: l , isInverse: u = !1 , aspectRatio: m } = _param, s = _object_without_properties(_param, [
726
731
  "icon",
727
732
  "title",
728
733
  "titleLinesMax",
@@ -734,54 +739,54 @@ const Ce = (a, n)=>{
734
739
  "isInverse",
735
740
  "aspectRatio"
736
741
  ]);
737
- const p = i.href || i.to || i.onPress, g = u ? ne : J;
738
- return /* @__PURE__ */ e(X, {
742
+ const f = s.href || s.to || s.onPress, g = u ? ne : J;
743
+ return /* @__PURE__ */ e(P, {
739
744
  dataAttributes: _object_spread({
740
745
  "component-name": "SnapCard"
741
- }, t),
742
- ref: m,
746
+ }, o),
747
+ ref: h,
743
748
  className: E,
744
- aspectRatio: c,
749
+ aspectRatio: m,
745
750
  children: /* @__PURE__ */ e($, {
746
751
  className: L,
747
752
  isInverse: u,
748
753
  width: "100%",
749
754
  minHeight: "100%",
750
- children: /* @__PURE__ */ r(V, _object_spread_props(_object_spread({
755
+ children: /* @__PURE__ */ n(V, _object_spread_props(_object_spread({
751
756
  maybe: !0
752
- }, i), {
757
+ }, s), {
753
758
  className: G,
754
759
  "aria-label": d,
755
760
  children: [
756
- p && /* @__PURE__ */ e("div", {
761
+ f && /* @__PURE__ */ e("div", {
757
762
  className: g
758
763
  }),
759
- /* @__PURE__ */ r("section", {
760
- className: Ee,
764
+ /* @__PURE__ */ n("section", {
765
+ className: Pe,
761
766
  children: [
762
- /* @__PURE__ */ r("div", {
767
+ /* @__PURE__ */ n("div", {
763
768
  children: [
764
769
  a && /* @__PURE__ */ e(R, {
765
770
  paddingBottom: 16,
766
771
  children: a
767
772
  }),
768
- /* @__PURE__ */ r(b, {
773
+ /* @__PURE__ */ n(N, {
769
774
  space: 4,
770
775
  children: [
771
- n && /* @__PURE__ */ e(B, {
772
- truncate: s,
776
+ r && /* @__PURE__ */ e(S, {
777
+ truncate: i,
773
778
  as: "h3",
774
779
  regular: !0,
775
780
  hyphens: "auto",
776
- children: n
781
+ children: r
777
782
  }),
778
- o && /* @__PURE__ */ e(B, {
779
- truncate: h,
783
+ t && /* @__PURE__ */ e(S, {
784
+ truncate: c,
780
785
  regular: !0,
781
786
  color: v.colors.textSecondary,
782
787
  as: "p",
783
788
  hyphens: "auto",
784
- children: o
789
+ children: t
785
790
  })
786
791
  ]
787
792
  })
@@ -796,8 +801,8 @@ const Ce = (a, n)=>{
796
801
  }))
797
802
  })
798
803
  });
799
- }), Ae = /*#__PURE__*/ N.forwardRef((_param, I)=>{
800
- var { isInverse: a , backgroundImage: n , backgroundVideo: s , backgroundVideoRef: o , poster: h , icon: t , headline: d , pretitle: l , pretitleLinesMax: u , title: c , titleLinesMax: i , description: m , descriptionLinesMax: p , extra: g , button: S , secondaryButton: T , onClose: C , actions: y , buttonLink: f , dataAttributes: M , width: x , height: D , aspectRatio: O , "aria-label": j } = _param, A = _object_without_properties(_param, [
804
+ }), Be = /*#__PURE__*/ y.forwardRef((_param, x)=>{
805
+ var { isInverse: a , backgroundImage: r , backgroundVideo: i , backgroundVideoRef: t , poster: c , icon: o , headline: d , pretitle: l , pretitleLinesMax: u , title: m , titleLinesMax: s , description: h , descriptionLinesMax: f , extra: g , button: w , secondaryButton: T , onClose: b , actions: C , buttonLink: p , dataAttributes: M , width: A , height: D , aspectRatio: O , "aria-label": X } = _param, I = _object_without_properties(_param, [
801
806
  "isInverse",
802
807
  "backgroundImage",
803
808
  "backgroundVideo",
@@ -823,81 +828,81 @@ const Ce = (a, n)=>{
823
828
  "aspectRatio",
824
829
  "aria-label"
825
830
  ]);
826
- const H = n !== void 0, w = s !== void 0, Z = Ie(n), { video: P , videoAction: z } = xe(s, h, o);
827
- w && (y = z ? [
831
+ const H = r !== void 0, B = i !== void 0, Z = Ae(r), { video: F , videoAction: z } = Ie(i, c, t);
832
+ B && (C = z ? [
828
833
  z
829
834
  ] : []);
830
- const _ = Ne(), k = H || w, W = k ? "0 0 16px rgba(0,0,0,0.4)" : void 0, q = (y == null ? void 0 : y.length) || C, F = A.href || A.to || A.onPress, Q = H || w ? ve : a ? ne : J;
831
- return /* @__PURE__ */ r(X, {
835
+ const _ = Ce(), k = H || B, W = k ? "0 0 16px rgba(0,0,0,0.4)" : void 0, q = (C == null ? void 0 : C.length) || b, j = I.href || I.to || I.onPress, Q = H || B ? ve : a ? ne : J;
836
+ return /* @__PURE__ */ n(P, {
832
837
  dataAttributes: M,
833
- ref: I,
834
- width: x,
838
+ ref: x,
839
+ width: A,
835
840
  height: D,
836
841
  aspectRatio: O,
837
- "aria-label": j,
842
+ "aria-label": X,
838
843
  className: E,
839
844
  children: [
840
- /* @__PURE__ */ e(oe, {
845
+ /* @__PURE__ */ e(se, {
841
846
  borderRadius: v.borderRadii.legacyDisplay,
842
847
  className: L,
843
848
  width: "100%",
844
849
  minHeight: "100%",
845
850
  isInverse: a,
846
- background: H || w ? _ ? v.colors.backgroundContainerBrandOverInverse : v.colors.backgroundContainer : void 0,
847
- children: /* @__PURE__ */ r(V, _object_spread_props(_object_spread({
851
+ background: H || B ? _ ? v.colors.backgroundContainerBrandOverInverse : v.colors.backgroundContainer : void 0,
852
+ children: /* @__PURE__ */ n(V, _object_spread_props(_object_spread({
848
853
  maybe: !0
849
- }, A), {
854
+ }, I), {
850
855
  className: G,
851
- "aria-label": j,
856
+ "aria-label": X,
852
857
  children: [
853
- F && /* @__PURE__ */ e("div", {
858
+ j && /* @__PURE__ */ e("div", {
854
859
  className: Q
855
860
  }),
856
- /* @__PURE__ */ r("div", {
861
+ /* @__PURE__ */ n("div", {
857
862
  className: ue,
858
863
  children: [
859
- (H || w) && /* @__PURE__ */ e(be, {
864
+ (H || B) && /* @__PURE__ */ e(Ne, {
860
865
  isInverse: _,
861
866
  children: /* @__PURE__ */ e("div", {
862
867
  className: pe,
863
- children: w ? P : Z
868
+ children: B ? F : Z
864
869
  })
865
870
  }),
866
- /* @__PURE__ */ r("div", {
871
+ /* @__PURE__ */ n("div", {
867
872
  className: fe,
868
873
  style: {
869
- paddingTop: k && !t && !q && !w ? 0 : 24
874
+ paddingTop: k && !o && !q && !B ? 0 : 24
870
875
  },
871
876
  children: [
872
- t ? /* @__PURE__ */ e(R, {
877
+ o ? /* @__PURE__ */ e(R, {
873
878
  paddingBottom: k ? 0 : 40,
874
879
  paddingX: 24,
875
- children: t
880
+ children: o
876
881
  }) : /* @__PURE__ */ e(R, {
877
- paddingBottom: q || w ? k ? 24 : 64 : 0
882
+ paddingBottom: q || B ? k ? 24 : 64 : 0
878
883
  }),
879
884
  /* @__PURE__ */ e(R, {
880
885
  paddingX: 24,
881
886
  paddingTop: k ? 40 : 0,
882
887
  paddingBottom: 24,
883
888
  className: k ? ge : void 0,
884
- children: /* @__PURE__ */ r(b, {
889
+ children: /* @__PURE__ */ n(N, {
885
890
  space: 24,
886
891
  children: [
887
- /* @__PURE__ */ r("div", {
892
+ /* @__PURE__ */ n("div", {
888
893
  children: [
889
- /* @__PURE__ */ r(b, {
894
+ /* @__PURE__ */ n(N, {
890
895
  space: 8,
891
896
  children: [
892
- (d || l || c) && /* @__PURE__ */ e("header", {
893
- children: /* @__PURE__ */ r(b, {
897
+ (d || l || m) && /* @__PURE__ */ e("header", {
898
+ children: /* @__PURE__ */ n(N, {
894
899
  space: 16,
895
900
  children: [
896
901
  d,
897
- /* @__PURE__ */ r(b, {
902
+ /* @__PURE__ */ n(N, {
898
903
  space: 4,
899
904
  children: [
900
- l && /* @__PURE__ */ e(B, {
905
+ l && /* @__PURE__ */ e(S, {
901
906
  forceMobileSizes: !0,
902
907
  truncate: u,
903
908
  as: "div",
@@ -905,38 +910,38 @@ const Ce = (a, n)=>{
905
910
  textShadow: W,
906
911
  children: l
907
912
  }),
908
- /* @__PURE__ */ e(ke, {
913
+ /* @__PURE__ */ e(Re, {
909
914
  forceMobileSizes: !0,
910
- truncate: i,
915
+ truncate: s,
911
916
  as: "h3",
912
917
  textShadow: W,
913
918
  hyphens: "auto",
914
- children: c
919
+ children: m
915
920
  })
916
921
  ]
917
922
  })
918
923
  ]
919
924
  })
920
925
  }),
921
- m && /* @__PURE__ */ e(Re, {
926
+ h && /* @__PURE__ */ e(Me, {
922
927
  forceMobileSizes: !0,
923
- truncate: p,
928
+ truncate: f,
924
929
  as: "p",
925
930
  regular: !0,
926
931
  color: k ? v.colors.textPrimary : v.colors.textSecondary,
927
932
  textShadow: W,
928
933
  hyphens: "auto",
929
- children: m
934
+ children: h
930
935
  })
931
936
  ]
932
937
  }),
933
938
  g
934
939
  ]
935
940
  }),
936
- (S || T || f) && /* @__PURE__ */ e(ee, {
937
- primaryButton: S,
941
+ (w || T || p) && /* @__PURE__ */ e(ee, {
942
+ primaryButton: w,
938
943
  secondaryButton: T,
939
- link: f
944
+ link: p
940
945
  })
941
946
  ]
942
947
  })
@@ -949,35 +954,35 @@ const Ce = (a, n)=>{
949
954
  }))
950
955
  }),
951
956
  /* @__PURE__ */ e(U, {
952
- onClose: C,
953
- actions: y,
954
- type: H || w ? "media" : a ? "inverse" : "default"
957
+ onClose: b,
958
+ actions: C,
959
+ type: H || B ? "media" : a ? "inverse" : "default"
955
960
  })
956
961
  ]
957
962
  });
958
- }), Ha = /*#__PURE__*/ N.forwardRef((_param, s)=>/* @__PURE__ */ {
959
- var { dataAttributes: a } = _param, n = _object_without_properties(_param, [
963
+ }), Ea = /*#__PURE__*/ y.forwardRef((_param, i)=>/* @__PURE__ */ {
964
+ var { dataAttributes: a } = _param, r = _object_without_properties(_param, [
960
965
  "dataAttributes"
961
966
  ]);
962
- return e(Ae, _object_spread_props(_object_spread({}, n), {
963
- ref: s,
967
+ return e(Be, _object_spread_props(_object_spread({}, r), {
968
+ ref: i,
964
969
  isInverse: !0,
965
970
  dataAttributes: _object_spread_props(_object_spread({}, a), {
966
971
  "component-name": "DisplayMediaCard"
967
972
  })
968
973
  }));
969
- }), Va = /*#__PURE__*/ N.forwardRef((_param, s)=>/* @__PURE__ */ {
970
- var { dataAttributes: a } = _param, n = _object_without_properties(_param, [
974
+ }), Ga = /*#__PURE__*/ y.forwardRef((_param, i)=>/* @__PURE__ */ {
975
+ var { dataAttributes: a } = _param, r = _object_without_properties(_param, [
971
976
  "dataAttributes"
972
977
  ]);
973
- return e(Ae, _object_spread_props(_object_spread({}, n), {
974
- ref: s,
978
+ return e(Be, _object_spread_props(_object_spread({}, r), {
979
+ ref: i,
975
980
  dataAttributes: _object_spread_props(_object_spread({}, a), {
976
981
  "component-name": "DisplayDataCard"
977
982
  })
978
983
  }));
979
- }), Ea = /*#__PURE__*/ N.forwardRef((_param, j)=>{
980
- var { dataAttributes: a , backgroundImage: n , backgroundVideo: s , poster: o , backgroundVideoRef: h , width: t , height: d , aspectRatio: l = "7:10" , ariaLabel: u , actions: c , onClose: i , icon: m , headline: p , pretitle: g , pretitleLinesMax: S , title: T , titleLinesMax: C , description: y , descriptionLinesMax: f , variant: M , isInverse: x , backgroundColor: D } = _param, O = _object_without_properties(_param, [
984
+ }), Pa = /*#__PURE__*/ y.forwardRef((_param, X)=>{
985
+ var { dataAttributes: a , backgroundImage: r , backgroundVideo: i , poster: t , backgroundVideoRef: c , width: o , height: d , aspectRatio: l = "7:10" , ariaLabel: u , actions: m , onClose: s , icon: h , headline: f , pretitle: g , pretitleLinesMax: w , title: T , titleLinesMax: b , description: C , descriptionLinesMax: p , variant: M , isInverse: A , backgroundColor: D } = _param, O = _object_without_properties(_param, [
981
986
  "dataAttributes",
982
987
  "backgroundImage",
983
988
  "backgroundVideo",
@@ -1001,68 +1006,68 @@ const Ce = (a, n)=>{
1001
1006
  "isInverse",
1002
1007
  "backgroundColor"
1003
1008
  ]);
1004
- const A = n !== void 0, I = s !== void 0, H = Ie(n), { video: w , videoAction: Z } = xe(s, o, h);
1005
- I && (c = Z ? [
1009
+ const I = r !== void 0, x = i !== void 0, H = Ae(r), { video: B , videoAction: Z } = Ie(i, t, c);
1010
+ x && (m = Z ? [
1006
1011
  Z
1007
1012
  ] : []);
1008
- const P = Ne(), z = A || I, _ = z ? "0 0 16px rgba(0,0,0,0.4)" : void 0, k = (c == null ? void 0 : c.length) || i, { textPresets: W } = K(), q = O.href || O.to || O.onPress, F = M || (x ? "inverse" : "default"), Q = ()=>D || ({
1013
+ const F = Ce(), z = I || x, _ = z ? "0 0 16px rgba(0,0,0,0.4)" : void 0, k = (m == null ? void 0 : m.length) || s, { textPresets: W } = K(), q = O.href || O.to || O.onPress, j = M || (A ? "inverse" : "default"), Q = ()=>D || ({
1009
1014
  default: v.colors.backgroundContainer,
1010
- inverse: P ? v.colors.backgroundContainerBrandOverInverse : v.colors.backgroundBrand,
1015
+ inverse: F ? v.colors.backgroundContainerBrandOverInverse : v.colors.backgroundBrand,
1011
1016
  alternative: v.colors.backgroundAlternative
1012
- })[F], we = A || I ? ve : F === "inverse" ? ne : J;
1013
- return /* @__PURE__ */ r(X, {
1014
- width: t,
1017
+ })[j], Se = I || x ? ve : j === "inverse" ? ne : J;
1018
+ return /* @__PURE__ */ n(P, {
1019
+ width: o,
1015
1020
  height: d,
1016
1021
  dataAttributes: _object_spread_props(_object_spread({}, a), {
1017
1022
  "component-name": "PosterCard"
1018
1023
  }),
1019
- ref: j,
1024
+ ref: X,
1020
1025
  aspectRatio: l,
1021
1026
  "aria-label": u,
1022
1027
  className: E,
1023
1028
  children: [
1024
- /* @__PURE__ */ e(oe, {
1029
+ /* @__PURE__ */ e(se, {
1025
1030
  borderRadius: v.borderRadii.legacyDisplay,
1026
1031
  className: L,
1027
1032
  width: "100%",
1028
1033
  minHeight: "100%",
1029
- isInverse: A || I || F === "inverse",
1030
- background: A || I ? P ? v.colors.backgroundContainerBrandOverInverse : v.colors.backgroundContainer : Q(),
1031
- children: /* @__PURE__ */ r(V, _object_spread_props(_object_spread({
1034
+ isInverse: I || x || j === "inverse",
1035
+ background: I || x ? F ? v.colors.backgroundContainerBrandOverInverse : v.colors.backgroundContainer : Q(),
1036
+ children: /* @__PURE__ */ n(V, _object_spread_props(_object_spread({
1032
1037
  maybe: !0
1033
1038
  }, O), {
1034
1039
  className: G,
1035
1040
  "aria-label": u,
1036
1041
  children: [
1037
1042
  q && /* @__PURE__ */ e("div", {
1038
- className: we
1043
+ className: Se
1039
1044
  }),
1040
- /* @__PURE__ */ r("div", {
1045
+ /* @__PURE__ */ n("div", {
1041
1046
  className: ue,
1042
1047
  children: [
1043
- (A || I) && /* @__PURE__ */ e(be, {
1044
- isInverse: P,
1048
+ (I || x) && /* @__PURE__ */ e(Ne, {
1049
+ isInverse: F,
1045
1050
  children: /* @__PURE__ */ e("div", {
1046
1051
  className: pe,
1047
- children: I ? w : H
1052
+ children: x ? B : H
1048
1053
  })
1049
1054
  }),
1050
- /* @__PURE__ */ r(R, {
1055
+ /* @__PURE__ */ n(R, {
1051
1056
  className: fe,
1052
- paddingTop: z && !m && !k && !I ? 0 : {
1053
- mobile: m ? 16 : 24,
1057
+ paddingTop: z && !h && !k && !x ? 0 : {
1058
+ mobile: h ? 16 : 24,
1054
1059
  desktop: 24
1055
1060
  },
1056
1061
  children: [
1057
- m ? /* @__PURE__ */ e(R, {
1062
+ h ? /* @__PURE__ */ e(R, {
1058
1063
  paddingBottom: z ? 0 : 40,
1059
1064
  paddingX: {
1060
1065
  mobile: 16,
1061
1066
  desktop: 24
1062
1067
  },
1063
- children: m
1068
+ children: h
1064
1069
  }) : /* @__PURE__ */ e(R, {
1065
- paddingBottom: k || I ? z ? 24 : 64 : 0
1070
+ paddingBottom: k || x ? z ? 24 : 64 : 0
1066
1071
  }),
1067
1072
  /* @__PURE__ */ e(R, {
1068
1073
  paddingX: {
@@ -1072,35 +1077,35 @@ const Ce = (a, n)=>{
1072
1077
  paddingTop: z ? 40 : 0,
1073
1078
  paddingBottom: 24,
1074
1079
  className: z ? ge : void 0,
1075
- children: /* @__PURE__ */ e(b, {
1080
+ children: /* @__PURE__ */ e(N, {
1076
1081
  space: 24,
1077
1082
  children: /* @__PURE__ */ e("div", {
1078
- children: /* @__PURE__ */ r(b, {
1083
+ children: /* @__PURE__ */ n(N, {
1079
1084
  space: 8,
1080
1085
  children: [
1081
- (p || g || T) && /* @__PURE__ */ e("header", {
1082
- children: /* @__PURE__ */ r(b, {
1086
+ (f || g || T) && /* @__PURE__ */ e("header", {
1087
+ children: /* @__PURE__ */ n(N, {
1083
1088
  space: 16,
1084
1089
  children: [
1085
- p,
1086
- /* @__PURE__ */ r(b, {
1090
+ f,
1091
+ /* @__PURE__ */ n(N, {
1087
1092
  space: 4,
1088
1093
  children: [
1089
- g && /* @__PURE__ */ e(B, {
1094
+ g && /* @__PURE__ */ e(S, {
1090
1095
  forceMobileSizes: !0,
1091
- truncate: S,
1096
+ truncate: w,
1092
1097
  as: "div",
1093
1098
  regular: !0,
1094
1099
  textShadow: _,
1095
1100
  hyphens: "auto",
1096
1101
  children: g
1097
1102
  }),
1098
- /* @__PURE__ */ e(se, {
1103
+ /* @__PURE__ */ e(oe, {
1099
1104
  desktopSize: 20,
1100
1105
  mobileSize: 18,
1101
1106
  mobileLineHeight: "24px",
1102
1107
  desktopLineHeight: "28px",
1103
- truncate: C,
1108
+ truncate: b,
1104
1109
  weight: W.cardTitle.weight,
1105
1110
  as: "h3",
1106
1111
  hyphens: "auto",
@@ -1111,14 +1116,14 @@ const Ce = (a, n)=>{
1111
1116
  ]
1112
1117
  })
1113
1118
  }),
1114
- y && /* @__PURE__ */ e(B, {
1119
+ C && /* @__PURE__ */ e(S, {
1115
1120
  forceMobileSizes: !0,
1116
- truncate: f,
1121
+ truncate: p,
1117
1122
  as: "p",
1118
1123
  regular: !0,
1119
1124
  textShadow: _,
1120
1125
  hyphens: "auto",
1121
- children: y
1126
+ children: C
1122
1127
  })
1123
1128
  ]
1124
1129
  })
@@ -1133,11 +1138,11 @@ const Ce = (a, n)=>{
1133
1138
  }))
1134
1139
  }),
1135
1140
  /* @__PURE__ */ e(U, {
1136
- onClose: i,
1137
- actions: c,
1138
- type: A || I ? "media" : F === "inverse" ? "inverse" : "default"
1141
+ onClose: s,
1142
+ actions: m,
1143
+ type: I || x ? "media" : j === "inverse" ? "inverse" : "default"
1139
1144
  })
1140
1145
  ]
1141
1146
  });
1142
1147
  });
1143
- export { ra as CardActionSpinner, U as CardActionsGroup, Da as DataCard, Va as DisplayDataCard, Ha as DisplayMediaCard, Ra as MediaCard, Ma as NakedCard, Ea as PosterCard, za as SmallNakedCard, Oa as SnapCard, Te as TOP_ACTION_BUTTON_SIZE };
1148
+ export { ea as CardActionIconButton, ia as CardActionSpinner, U as CardActionsGroup, Ha as DataCard, Ga as DisplayDataCard, Ea as DisplayMediaCard, za as MediaCard, Da as NakedCard, Pa as PosterCard, Oa as SmallNakedCard, Va as SnapCard, xe as TOP_ACTION_BUTTON_SIZE };