@telefonica/mistica 14.25.0 → 14.26.1

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