@telefonica/mistica 14.47.0 → 15.0.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 (88) hide show
  1. package/README.md +1 -3
  2. package/css/mistica.css +1 -1
  3. package/dist/accordion.d.ts +1 -6
  4. package/dist/button-fixed-footer-layout.js +9 -11
  5. package/dist/button-layout.css-mistica.js +10 -19
  6. package/dist/button-layout.css.d.ts +3 -6
  7. package/dist/button-layout.d.ts +5 -0
  8. package/dist/button-layout.js +41 -26
  9. package/dist/button.d.ts +0 -4
  10. package/dist/button.js +1 -1
  11. package/dist/card.d.ts +2 -0
  12. package/dist/card.js +220 -208
  13. package/dist/cvv-field.js +30 -29
  14. package/dist/dialog.js +31 -33
  15. package/dist/feedback.js +61 -79
  16. package/dist/form-context.js +49 -40
  17. package/dist/form.js +10 -10
  18. package/dist/icon-button.d.ts +0 -1
  19. package/dist/icons/icon-error.js +5 -5
  20. package/dist/icons/icon-info.js +5 -5
  21. package/dist/icons/icon-success.js +6 -7
  22. package/dist/image.js +36 -32
  23. package/dist/index.d.ts +3 -12
  24. package/dist/index.js +0 -20
  25. package/dist/list.d.ts +0 -4
  26. package/dist/logo.js +0 -1
  27. package/dist/package-version.js +1 -1
  28. package/dist/popover.d.ts +0 -4
  29. package/dist/popover.js +10 -11
  30. package/dist/select.d.ts +1 -0
  31. package/dist/select.js +65 -65
  32. package/dist/sheet.js +6 -8
  33. package/dist/skins/blau.js +1 -1
  34. package/dist/skins/constants.d.ts +0 -2
  35. package/dist/skins/constants.js +6 -12
  36. package/dist/skins/movistar.js +1 -1
  37. package/dist/skins/o2.js +1 -1
  38. package/dist/skins/telefonica.js +1 -1
  39. package/dist/skins/tu.js +1 -1
  40. package/dist/skins/types/index.d.ts +1 -1
  41. package/dist/skins/utils.js +4 -7
  42. package/dist/skins/vivo-new.js +1 -1
  43. package/dist/skins/vivo.js +1 -1
  44. package/dist/slider.d.ts +0 -8
  45. package/dist/slider.js +95 -97
  46. package/dist/tag.js +34 -39
  47. package/dist/tooltip.d.ts +0 -16
  48. package/dist/tooltip.js +78 -79
  49. package/dist-es/button-fixed-footer-layout.js +18 -20
  50. package/dist-es/button-layout.css-mistica.js +7 -7
  51. package/dist-es/button-layout.js +49 -34
  52. package/dist-es/button.js +1 -1
  53. package/dist-es/card.js +354 -342
  54. package/dist-es/cvv-field.js +55 -54
  55. package/dist-es/dialog.js +39 -41
  56. package/dist-es/feedback.js +102 -120
  57. package/dist-es/form-context.js +54 -45
  58. package/dist-es/form.js +13 -13
  59. package/dist-es/icons/icon-error.js +6 -6
  60. package/dist-es/icons/icon-info.js +6 -6
  61. package/dist-es/icons/icon-success.js +9 -10
  62. package/dist-es/image.js +38 -34
  63. package/dist-es/index.js +1767 -1769
  64. package/dist-es/logo.js +0 -1
  65. package/dist-es/package-version.js +1 -1
  66. package/dist-es/popover.js +27 -28
  67. package/dist-es/select.js +97 -97
  68. package/dist-es/sheet.js +9 -11
  69. package/dist-es/skins/blau.js +1 -1
  70. package/dist-es/skins/constants.js +2 -2
  71. package/dist-es/skins/movistar.js +1 -1
  72. package/dist-es/skins/o2.js +1 -1
  73. package/dist-es/skins/telefonica.js +1 -1
  74. package/dist-es/skins/tu.js +1 -1
  75. package/dist-es/skins/utils.js +17 -20
  76. package/dist-es/skins/vivo-new.js +1 -1
  77. package/dist-es/skins/vivo.js +1 -1
  78. package/dist-es/slider.js +117 -119
  79. package/dist-es/style.css +1 -1
  80. package/dist-es/tag.js +52 -57
  81. package/dist-es/tooltip.js +83 -84
  82. package/package.json +1 -1
  83. package/dist/skins/movistar-legacy.d.ts +0 -47
  84. package/dist/skins/movistar-legacy.js +0 -392
  85. package/dist/skins/o2-classic.d.ts +0 -56
  86. package/dist/skins/o2-classic.js +0 -324
  87. package/dist-es/skins/movistar-legacy.js +0 -375
  88. package/dist-es/skins/o2-classic.js +0 -307
package/dist-es/card.js CHANGED
@@ -78,55 +78,55 @@ function _object_without_properties_loose(source, excluded) {
78
78
  }
79
79
  return target;
80
80
  }
81
- import { jsx as e, jsxs as i, Fragment as Re } from "react/jsx-runtime";
82
- import * as g from "react";
83
- import we from "./tag.js";
84
- import C from "./stack.js";
81
+ import { jsx as e, jsxs as i, Fragment as Me } from "react/jsx-runtime";
82
+ import * as b from "react";
83
+ import ze from "./tag.js";
84
+ import T from "./stack.js";
85
85
  import w from "./box.js";
86
- import { Text2 as x, Text6 as Me, Text3 as ze, Text as oe } from "./text.js";
87
- import { Boxed as ee, InternalBoxed as le } from "./boxed.js";
88
- import re from "./button-group.js";
89
- import ae from "./image.js";
90
- import { BaseTouchable as G } from "./touchable.js";
91
- import { vars as p } from "./skins/skin-contract.css-mistica.js";
92
- import { cardContainer as De, touchableContainer as E, boxed as J, touchable as X, touchableMediaCardOverlay as Oe, mediaCard as ie, mediaCardContent as He, mediaCardIcon as ce, touchableNakedMediaOverlay as me, circularMediaOverlay as he, nakedCardContent as ue, touchableCardOverlay as Y, dataCard as Pe, vars as pe, dataCardTopActionsWithoutIcon as Ve, actions as ve, snapCard as Ge, displayCardContainer as fe, displayCardBackground as ye, displayCardContent as ge, displayCardGradient as be, touchableCardOverlayInverse as ne, touchableCardOverlayMedia as Ce } from "./card.css-mistica.js";
93
- import { vars as V } from "./image.css-mistica.js";
94
- import { useTheme as Z } from "./hooks.js";
95
- import { sprinkles as Ee } from "./sprinkles.css-mistica.js";
96
- import { InternalIconButton as Xe, InternalToggleIconButton as je } from "./icon-button.js";
97
- import Fe from "./generated/mistica-icons/icon-close-regular.js";
98
- import We from "./generated/mistica-icons/icon-pause-filled.js";
99
- import $e from "./generated/mistica-icons/icon-play-filled.js";
100
- import { combineRefs as qe } from "./utils/common.js";
101
- import Je from "./spinner.js";
102
- import Ke from "./video.js";
103
- import { ThemeVariant as te, useIsInverseVariant as Ne } from "./theme-variant-context.js";
104
- import de from "classnames";
105
- import Te from "./inline.js";
106
- import { getPrefixedDataAttributes as Le } from "./utils/dom.js";
107
- import { isRunningAcceptanceTest as Qe } from "./utils/platform.js";
108
- import { applyCssVars as D } from "./utils/css.js";
109
- const ke = (r, a)=>{
110
- const { texts: n } = Z(), o = r ? [
86
+ import { Text2 as B, Text6 as De, Text3 as Oe, Text as le } from "./text.js";
87
+ import { Boxed as re, InternalBoxed as ce } from "./boxed.js";
88
+ import ae from "./button-group.js";
89
+ import ie from "./image.js";
90
+ import { BaseTouchable as H } from "./touchable.js";
91
+ import { vars as u } from "./skins/skin-contract.css-mistica.js";
92
+ import { cardContainer as Pe, touchableContainer as V, boxed as q, touchable as G, touchableMediaCardOverlay as He, mediaCard as ne, mediaCardContent as Ve, mediaCardIcon as me, touchableNakedMediaOverlay as he, circularMediaOverlay as ue, nakedCardContent as pe, touchableCardOverlay as L, dataCard as Ge, vars as ve, dataCardTopActionsWithoutIcon as Ee, actions as ye, snapCard as Xe, displayCardContainer as fe, displayCardBackground as ge, displayCardContent as be, displayCardGradient as Ce, touchableCardOverlayInverse as te, touchableCardOverlayMedia as Ne } from "./card.css-mistica.js";
93
+ import { vars as P } from "./image.css-mistica.js";
94
+ import { useTheme as Q } from "./hooks.js";
95
+ import { sprinkles as je } from "./sprinkles.css-mistica.js";
96
+ import { InternalIconButton as Fe, InternalToggleIconButton as We } from "./icon-button.js";
97
+ import $e from "./generated/mistica-icons/icon-close-regular.js";
98
+ import qe from "./generated/mistica-icons/icon-pause-filled.js";
99
+ import Je from "./generated/mistica-icons/icon-play-filled.js";
100
+ import { combineRefs as Ke } from "./utils/common.js";
101
+ import Le from "./spinner.js";
102
+ import Qe from "./video.js";
103
+ import { ThemeVariant as de, useIsInverseVariant as Te } from "./theme-variant-context.js";
104
+ import oe from "classnames";
105
+ import ke from "./inline.js";
106
+ import { getPrefixedDataAttributes as Ue } from "./utils/dom.js";
107
+ import { isRunningAcceptanceTest as Ye } from "./utils/platform.js";
108
+ import { applyCssVars as z } from "./utils/css.js";
109
+ const Ie = (r, a)=>{
110
+ const { texts: n } = Q(), s = r ? [
111
111
  ...r
112
112
  ] : [];
113
- return a && o.push({
113
+ return a && s.push({
114
114
  label: n.closeButtonLabel,
115
115
  onPress: a,
116
- Icon: Fe
117
- }), o;
118
- }, Ie = /*#__PURE__*/ g.createContext("default"), Ue = (r)=>{
119
- const a = g.useContext(Ie);
120
- return /* @__PURE__ */ e(te, {
116
+ Icon: $e
117
+ }), s;
118
+ }, xe = /*#__PURE__*/ b.createContext("default"), Ze = (r)=>{
119
+ const a = b.useContext(xe);
120
+ return /* @__PURE__ */ e(de, {
121
121
  isInverse: a === "inverse",
122
- children: r.Icon ? /* @__PURE__ */ e(Xe, _object_spread_props(_object_spread({}, r), {
122
+ children: r.Icon ? /* @__PURE__ */ e(Fe, _object_spread_props(_object_spread({}, r), {
123
123
  "aria-label": r.label,
124
124
  small: !0,
125
125
  isOverMedia: a === "media",
126
126
  type: "neutral",
127
127
  backgroundType: "transparent",
128
128
  hasInteractiveAreaBleed: !0
129
- })) : /* @__PURE__ */ e(je, _object_spread_props(_object_spread({}, r), {
129
+ })) : /* @__PURE__ */ e(We, _object_spread_props(_object_spread({}, r), {
130
130
  checkedProps: _object_spread_props(_object_spread({}, r.checkedProps), {
131
131
  "aria-label": r.checkedProps.label,
132
132
  type: a === "media" ? "neutral" : "brand",
@@ -142,11 +142,11 @@ const ke = (r, a)=>{
142
142
  hasInteractiveAreaBleed: !0
143
143
  }))
144
144
  });
145
- }, K = (param)=>{
146
- let { actions: r, padding: a = 16, onClose: n, type: o = "default" } = param;
147
- const c = ke(r, n);
148
- return c.length > 0 ? /* @__PURE__ */ e(Ie.Provider, {
149
- value: o,
145
+ }, J = (param)=>{
146
+ let { actions: r, padding: a = 16, onClose: n, type: s = "default" } = param;
147
+ const c = Ie(r, n);
148
+ return c.length > 0 ? /* @__PURE__ */ e(xe.Provider, {
149
+ value: s,
150
150
  children: /* @__PURE__ */ e("div", {
151
151
  style: {
152
152
  position: "absolute",
@@ -154,38 +154,38 @@ const ke = (r, a)=>{
154
154
  top: a,
155
155
  zIndex: 3
156
156
  },
157
- children: /* @__PURE__ */ e(Te, {
157
+ children: /* @__PURE__ */ e(ke, {
158
158
  space: 16,
159
- children: c.map((d, l)=>"Icon" in d || "checkedProps" in d ? /* @__PURE__ */ e(Ue, _object_spread({}, d), l) : d)
159
+ children: c.map((d, l)=>"Icon" in d || "checkedProps" in d ? /* @__PURE__ */ e(Ze, _object_spread({}, d), l) : d)
160
160
  })
161
161
  })
162
- }) : /* @__PURE__ */ e(Re, {});
163
- }, Ye = (r)=>r ? typeof r == "number" ? r : ({
162
+ }) : /* @__PURE__ */ e(Me, {});
163
+ }, _e = (r)=>r ? typeof r == "number" ? r : ({
164
164
  "1:1": 1,
165
165
  "16:9": 16 / 9,
166
166
  "7:10": 7 / 10,
167
167
  "9:10": 9 / 10,
168
168
  auto: 0
169
- })[r] : 0, j = /*#__PURE__*/ g.forwardRef((param, l)=>{
170
- let { children: r, width: a, height: n, aspectRatio: o, dataAttributes: c, className: t, "aria-label": d } = param;
171
- const u = a && n ? void 0 : Ye(o);
172
- return /* @__PURE__ */ e("section", _object_spread_props(_object_spread({}, Le(c)), {
169
+ })[r] : 0, E = /*#__PURE__*/ b.forwardRef((param, l)=>{
170
+ let { children: r, width: a, height: n, aspectRatio: s, dataAttributes: c, className: t, "aria-label": d } = param;
171
+ const p = a && n ? void 0 : _e(s);
172
+ return /* @__PURE__ */ e("section", _object_spread_props(_object_spread({}, Ue(c)), {
173
173
  ref: l,
174
174
  "aria-label": d,
175
- className: de(t, De),
175
+ className: oe(t, Pe),
176
176
  style: _object_spread({
177
177
  width: a || "100%",
178
178
  height: n || "100%"
179
- }, u ? D({
180
- [pe.aspectRatio]: String(u)
179
+ }, p ? z({
180
+ [ve.aspectRatio]: String(p)
181
181
  }) : {}),
182
182
  children: r
183
183
  }));
184
- }), Be = (r)=>/* @__PURE__ */ e(ae, {
184
+ }), Be = (r)=>/* @__PURE__ */ e(ie, {
185
185
  width: "100%",
186
186
  height: "100%",
187
187
  src: r || ""
188
- }), Ze = {
188
+ }), er = {
189
189
  loading: {
190
190
  showSpinner: "loadingTimeout",
191
191
  play: "playing",
@@ -211,38 +211,38 @@ const ke = (r, a)=>{
211
211
  error: {
212
212
  reset: "loading"
213
213
  }
214
- }, _e = (r, a)=>Ze[r][a] || r, er = (param)=>{
214
+ }, rr = (r, a)=>er[r][a] || r, ar = (param)=>{
215
215
  let { color: r } = param;
216
- return /* @__PURE__ */ e(Je, {
216
+ return /* @__PURE__ */ e(Le, {
217
217
  color: r,
218
218
  size: 16,
219
219
  delay: "0"
220
220
  });
221
- }, rr = (param)=>{
221
+ }, ir = (param)=>{
222
222
  let { color: r } = param;
223
- return /* @__PURE__ */ e(We, {
223
+ return /* @__PURE__ */ e(qe, {
224
224
  color: r,
225
225
  size: 12
226
226
  });
227
- }, ar = (param)=>{
227
+ }, nr = (param)=>{
228
228
  let { color: r } = param;
229
- return /* @__PURE__ */ e($e, {
229
+ return /* @__PURE__ */ e(Je, {
230
230
  color: r,
231
231
  size: 12
232
232
  });
233
- }, xe = (r, a, n)=>{
234
- const { texts: o } = Z(), c = g.useRef(null), [t, d] = g.useReducer(_e, "loading");
235
- g.useEffect(()=>{
233
+ }, Se = (r, a, n)=>{
234
+ const { texts: s } = Q(), c = b.useRef(null), [t, d] = b.useReducer(rr, "loading");
235
+ b.useEffect(()=>{
236
236
  var h;
237
- const s = setTimeout(()=>d("showSpinner"), 2e3);
237
+ const o = setTimeout(()=>d("showSpinner"), 2e3);
238
238
  return (h = c.current) == null || h.load(), ()=>{
239
- clearTimeout(s), d("reset");
239
+ clearTimeout(o), d("reset");
240
240
  };
241
241
  }, [
242
242
  r
243
243
  ]);
244
- const l = g.useMemo(()=>r !== void 0 ? /* @__PURE__ */ e(Ke, {
245
- ref: qe(c, n),
244
+ const l = b.useMemo(()=>r !== void 0 ? /* @__PURE__ */ e(Qe, {
245
+ ref: Ke(c, n),
246
246
  src: r,
247
247
  width: "100%",
248
248
  height: "100%",
@@ -254,23 +254,23 @@ const ke = (r, a)=>{
254
254
  n,
255
255
  r,
256
256
  a
257
- ]), u = ()=>{
258
- const s = c.current;
259
- s && (t === "loading" ? d("showSpinner") : t === "paused" ? s.play() : t === "playing" && s.pause());
257
+ ]), p = ()=>{
258
+ const o = c.current;
259
+ o && (t === "loading" ? d("showSpinner") : t === "paused" ? o.play() : t === "playing" && o.pause());
260
260
  };
261
261
  if (t === "error") return {
262
262
  video: l
263
263
  };
264
264
  const m = {
265
265
  uncheckedProps: {
266
- Icon: t === "loadingTimeout" && !Qe() ? er : rr,
267
- label: t === "loadingTimeout" ? "" : o.pauseIconButtonLabel
266
+ Icon: t === "loadingTimeout" && !Ye() ? ar : ir,
267
+ label: t === "loadingTimeout" ? "" : s.pauseIconButtonLabel
268
268
  },
269
269
  checkedProps: {
270
- Icon: ar,
271
- label: o.playIconButtonLabel
270
+ Icon: nr,
271
+ label: s.playIconButtonLabel
272
272
  },
273
- onChange: u,
273
+ onChange: p,
274
274
  disabled: t === "loadingTimeout",
275
275
  checked: t === "paused"
276
276
  };
@@ -279,13 +279,13 @@ const ke = (r, a)=>{
279
279
  videoAction: m
280
280
  };
281
281
  }, se = (param)=>{
282
- let { headline: r, pretitle: a, pretitleLinesMax: n, title: o, titleLinesMax: c, subtitle: t, subtitleLinesMax: d, description: l, descriptionLinesMax: u, extra: m, button: s, buttonLink: h } = param;
283
- const { textPresets: f } = Z(), y = ()=>r ? typeof r == "string" ? /* @__PURE__ */ e(we, {
282
+ let { headline: r, pretitle: a, pretitleLinesMax: n, title: s, titleLinesMax: c, subtitle: t, subtitleLinesMax: d, description: l, descriptionLinesMax: p, extra: m, button: o, buttonLink: h } = param;
283
+ const { textPresets: f } = Q(), g = ()=>r ? typeof r == "string" ? /* @__PURE__ */ e(ze, {
284
284
  type: "promo",
285
285
  children: r
286
286
  }) : r : null;
287
287
  return /* @__PURE__ */ i("div", {
288
- className: Ee({
288
+ className: je({
289
289
  display: "flex",
290
290
  flex: 1,
291
291
  justifyContent: "space-between",
@@ -294,25 +294,25 @@ const ke = (r, a)=>{
294
294
  children: [
295
295
  /* @__PURE__ */ i("div", {
296
296
  children: [
297
- /* @__PURE__ */ i(C, {
297
+ /* @__PURE__ */ i(T, {
298
298
  space: 8,
299
299
  children: [
300
- (r || a || o || t) && /* @__PURE__ */ e("header", {
301
- children: /* @__PURE__ */ i(C, {
300
+ (r || a || s || t) && /* @__PURE__ */ e("header", {
301
+ children: /* @__PURE__ */ i(T, {
302
302
  space: 8,
303
303
  children: [
304
- y(),
305
- /* @__PURE__ */ i(C, {
304
+ g(),
305
+ /* @__PURE__ */ i(T, {
306
306
  space: 4,
307
307
  children: [
308
- a && /* @__PURE__ */ e(x, {
308
+ a && /* @__PURE__ */ e(B, {
309
309
  truncate: n,
310
310
  as: "div",
311
311
  regular: !0,
312
312
  hyphens: "auto",
313
313
  children: a
314
314
  }),
315
- /* @__PURE__ */ e(oe, {
315
+ /* @__PURE__ */ e(le, {
316
316
  mobileSize: 18,
317
317
  mobileLineHeight: "24px",
318
318
  desktopSize: 20,
@@ -321,9 +321,9 @@ const ke = (r, a)=>{
321
321
  weight: f.cardTitle.weight,
322
322
  as: "h3",
323
323
  hyphens: "auto",
324
- children: o
324
+ children: s
325
325
  }),
326
- /* @__PURE__ */ e(x, {
326
+ /* @__PURE__ */ e(B, {
327
327
  truncate: d,
328
328
  as: "div",
329
329
  regular: !0,
@@ -335,11 +335,11 @@ const ke = (r, a)=>{
335
335
  ]
336
336
  })
337
337
  }),
338
- l && /* @__PURE__ */ e(x, {
339
- truncate: u,
338
+ l && /* @__PURE__ */ e(B, {
339
+ truncate: p,
340
340
  as: "p",
341
341
  regular: !0,
342
- color: p.colors.textSecondary,
342
+ color: u.colors.textSecondary,
343
343
  hyphens: "auto",
344
344
  children: l
345
345
  })
@@ -350,17 +350,17 @@ const ke = (r, a)=>{
350
350
  })
351
351
  ]
352
352
  }),
353
- (s || h) && /* @__PURE__ */ e("div", {
354
- className: ve,
355
- children: /* @__PURE__ */ e(re, {
356
- primaryButton: s,
353
+ (o || h) && /* @__PURE__ */ e("div", {
354
+ className: ye,
355
+ children: /* @__PURE__ */ e(ae, {
356
+ primaryButton: o,
357
357
  link: h
358
358
  })
359
359
  })
360
360
  ]
361
361
  });
362
- }, wr = /*#__PURE__*/ g.forwardRef((_param, M)=>{
363
- var { media: r, icon: a, headline: n, pretitle: o, pretitleLinesMax: c, subtitle: t, subtitleLinesMax: d, title: l, titleLinesMax: u, description: m, descriptionLinesMax: s, extra: h, actions: f, button: y, buttonLink: S, dataAttributes: T, "aria-label": N, onClose: b } = _param, v = _object_without_properties(_param, [
362
+ }, zr = /*#__PURE__*/ b.forwardRef((_param, A)=>{
363
+ var { media: r, icon: a, headline: n, pretitle: s, pretitleLinesMax: c, subtitle: t, subtitleLinesMax: d, title: l, titleLinesMax: p, description: m, descriptionLinesMax: o, extra: h, actions: f, button: g, buttonLink: S, dataAttributes: I, "aria-label": k, onClose: N } = _param, y = _object_without_properties(_param, [
364
364
  "media",
365
365
  "icon",
366
366
  "headline",
@@ -380,56 +380,56 @@ const ke = (r, a)=>{
380
380
  "aria-label",
381
381
  "onClose"
382
382
  ]);
383
- const A = v.href || v.to || v.onPress;
384
- return /* @__PURE__ */ i(j, {
383
+ const R = y.href || y.to || y.onPress;
384
+ return /* @__PURE__ */ i(E, {
385
385
  dataAttributes: _object_spread({
386
386
  "component-name": "MediaCard"
387
- }, T),
388
- ref: M,
389
- "aria-label": N,
390
- className: E,
387
+ }, I),
388
+ ref: A,
389
+ "aria-label": k,
390
+ className: V,
391
391
  children: [
392
- /* @__PURE__ */ e(ee, {
393
- className: J,
392
+ /* @__PURE__ */ e(re, {
393
+ className: q,
394
394
  width: "100%",
395
395
  height: "100%",
396
- children: /* @__PURE__ */ i(G, _object_spread_props(_object_spread({
396
+ children: /* @__PURE__ */ i(H, _object_spread_props(_object_spread({
397
397
  maybe: !0
398
- }, v), {
399
- className: X,
400
- "aria-label": N,
398
+ }, y), {
399
+ className: G,
400
+ "aria-label": k,
401
401
  children: [
402
- A && /* @__PURE__ */ e("div", {
403
- className: Oe
402
+ R && /* @__PURE__ */ e("div", {
403
+ className: He
404
404
  }),
405
405
  /* @__PURE__ */ i("div", {
406
- className: ie,
406
+ className: ne,
407
407
  children: [
408
408
  /* @__PURE__ */ e("div", {
409
- style: D({
410
- [V.mediaBorderRadius]: "0px"
409
+ style: z({
410
+ [P.mediaBorderRadius]: "0px"
411
411
  }),
412
412
  children: r
413
413
  }),
414
414
  /* @__PURE__ */ e("div", {
415
- className: He,
415
+ className: Ve,
416
416
  children: /* @__PURE__ */ e(se, {
417
417
  headline: n,
418
- pretitle: o,
418
+ pretitle: s,
419
419
  pretitleLinesMax: c,
420
420
  title: l,
421
- titleLinesMax: u,
421
+ titleLinesMax: p,
422
422
  subtitle: t,
423
423
  subtitleLinesMax: d,
424
424
  description: m,
425
- descriptionLinesMax: s,
425
+ descriptionLinesMax: o,
426
426
  extra: h,
427
- button: y,
427
+ button: g,
428
428
  buttonLink: S
429
429
  })
430
430
  }),
431
431
  a && /* @__PURE__ */ e(w, {
432
- className: ce,
432
+ className: me,
433
433
  paddingLeft: {
434
434
  mobile: 16,
435
435
  desktop: 24
@@ -439,8 +439,8 @@ const ke = (r, a)=>{
439
439
  desktop: 24
440
440
  },
441
441
  children: /* @__PURE__ */ e("div", {
442
- style: D({
443
- [V.mediaBorderRadius]: p.borderRadii.mediaSmall
442
+ style: z({
443
+ [P.mediaBorderRadius]: u.borderRadii.mediaSmall
444
444
  }),
445
445
  children: a
446
446
  })
@@ -450,15 +450,15 @@ const ke = (r, a)=>{
450
450
  ]
451
451
  }))
452
452
  }),
453
- /* @__PURE__ */ e(K, {
454
- onClose: b,
453
+ /* @__PURE__ */ e(J, {
454
+ onClose: N,
455
455
  actions: f,
456
456
  type: "media"
457
457
  })
458
458
  ]
459
459
  });
460
- }), Mr = /*#__PURE__*/ g.forwardRef((_param, M)=>{
461
- var { media: r, icon: a, headline: n, pretitle: o, pretitleLinesMax: c, subtitle: t, subtitleLinesMax: d, title: l, titleLinesMax: u, description: m, descriptionLinesMax: s, extra: h, actions: f, button: y, buttonLink: S, dataAttributes: T, "aria-label": N, onClose: b } = _param, v = _object_without_properties(_param, [
460
+ }), Dr = /*#__PURE__*/ b.forwardRef((_param, A)=>{
461
+ var { media: r, icon: a, headline: n, pretitle: s, pretitleLinesMax: c, subtitle: t, subtitleLinesMax: d, title: l, titleLinesMax: p, description: m, descriptionLinesMax: o, extra: h, actions: f, button: g, buttonLink: S, dataAttributes: I, "aria-label": k, onClose: N } = _param, y = _object_without_properties(_param, [
462
462
  "media",
463
463
  "icon",
464
464
  "headline",
@@ -478,55 +478,55 @@ const ke = (r, a)=>{
478
478
  "aria-label",
479
479
  "onClose"
480
480
  ]);
481
- const A = v.href || v.to || v.onPress, O = r && r.type === ae && r.props.circular;
482
- return /* @__PURE__ */ i(j, {
483
- ref: M,
481
+ const R = y.href || y.to || y.onPress, D = r && r.type === ie && r.props.circular;
482
+ return /* @__PURE__ */ i(E, {
483
+ ref: A,
484
484
  dataAttributes: _object_spread({
485
485
  "component-name": "NakedCard"
486
- }, T),
487
- "aria-label": N,
488
- className: A ? E : void 0,
486
+ }, I),
487
+ "aria-label": k,
488
+ className: R ? V : void 0,
489
489
  children: [
490
- /* @__PURE__ */ e(G, _object_spread_props(_object_spread({
490
+ /* @__PURE__ */ e(H, _object_spread_props(_object_spread({
491
491
  maybe: !0
492
- }, v), {
493
- className: X,
494
- "aria-label": N,
492
+ }, y), {
493
+ className: G,
494
+ "aria-label": k,
495
495
  children: /* @__PURE__ */ i("div", {
496
- className: ie,
496
+ className: ne,
497
497
  children: [
498
498
  /* @__PURE__ */ i("div", {
499
499
  style: {
500
500
  position: "relative"
501
501
  },
502
502
  children: [
503
- A && /* @__PURE__ */ e("div", {
504
- className: de(me, {
505
- [he]: O
503
+ R && /* @__PURE__ */ e("div", {
504
+ className: oe(he, {
505
+ [ue]: D
506
506
  })
507
507
  }),
508
508
  r
509
509
  ]
510
510
  }),
511
511
  /* @__PURE__ */ e("div", {
512
- className: ue,
512
+ className: pe,
513
513
  children: /* @__PURE__ */ e(se, {
514
514
  headline: n,
515
- pretitle: o,
515
+ pretitle: s,
516
516
  pretitleLinesMax: c,
517
517
  title: l,
518
- titleLinesMax: u,
518
+ titleLinesMax: p,
519
519
  subtitle: t,
520
520
  subtitleLinesMax: d,
521
521
  description: m,
522
- descriptionLinesMax: s,
522
+ descriptionLinesMax: o,
523
523
  extra: h,
524
- button: y,
524
+ button: g,
525
525
  buttonLink: S
526
526
  })
527
527
  }),
528
528
  a && /* @__PURE__ */ e(w, {
529
- className: ce,
529
+ className: me,
530
530
  paddingLeft: {
531
531
  mobile: 16,
532
532
  desktop: 24
@@ -536,8 +536,8 @@ const ke = (r, a)=>{
536
536
  desktop: 24
537
537
  },
538
538
  children: /* @__PURE__ */ e("div", {
539
- style: D({
540
- [V.mediaBorderRadius]: p.borderRadii.mediaSmall
539
+ style: z({
540
+ [P.mediaBorderRadius]: u.borderRadii.mediaSmall
541
541
  }),
542
542
  children: a
543
543
  })
@@ -545,15 +545,15 @@ const ke = (r, a)=>{
545
545
  ]
546
546
  })
547
547
  })),
548
- /* @__PURE__ */ e(K, {
549
- onClose: b,
548
+ /* @__PURE__ */ e(J, {
549
+ onClose: N,
550
550
  actions: f,
551
551
  type: "media"
552
552
  })
553
553
  ]
554
554
  });
555
- }), zr = /*#__PURE__*/ g.forwardRef((_param, h)=>{
556
- var { media: r, title: a, titleLinesMax: n, subtitle: o, subtitleLinesMax: c, description: t, descriptionLinesMax: d, extra: l, dataAttributes: u, "aria-label": m } = _param, s = _object_without_properties(_param, [
555
+ }), Or = /*#__PURE__*/ b.forwardRef((_param, h)=>{
556
+ var { media: r, title: a, titleLinesMax: n, subtitle: s, subtitleLinesMax: c, description: t, descriptionLinesMax: d, extra: l, dataAttributes: p, "aria-label": m } = _param, o = _object_without_properties(_param, [
557
557
  "media",
558
558
  "title",
559
559
  "titleLinesMax",
@@ -565,21 +565,21 @@ const ke = (r, a)=>{
565
565
  "dataAttributes",
566
566
  "aria-label"
567
567
  ]);
568
- const f = s.href || s.to || s.onPress, y = r && r.type === ae && r.props.circular;
569
- return /* @__PURE__ */ e(j, {
568
+ const f = o.href || o.to || o.onPress, g = r && r.type === ie && r.props.circular;
569
+ return /* @__PURE__ */ e(E, {
570
570
  ref: h,
571
571
  dataAttributes: _object_spread({
572
572
  "component-name": "SmallNakedCard"
573
- }, u),
573
+ }, p),
574
574
  "aria-label": m,
575
- className: f ? E : void 0,
576
- children: /* @__PURE__ */ e(G, _object_spread_props(_object_spread({
575
+ className: f ? V : void 0,
576
+ children: /* @__PURE__ */ e(H, _object_spread_props(_object_spread({
577
577
  maybe: !0
578
- }, s), {
579
- className: X,
578
+ }, o), {
579
+ className: G,
580
580
  "aria-label": m,
581
581
  children: /* @__PURE__ */ i("div", {
582
- className: ie,
582
+ className: ne,
583
583
  children: [
584
584
  /* @__PURE__ */ i("div", {
585
585
  style: {
@@ -587,42 +587,42 @@ const ke = (r, a)=>{
587
587
  },
588
588
  children: [
589
589
  f && /* @__PURE__ */ e("div", {
590
- className: de(me, {
591
- [he]: y
590
+ className: oe(he, {
591
+ [ue]: g
592
592
  })
593
593
  }),
594
594
  r
595
595
  ]
596
596
  }),
597
597
  /* @__PURE__ */ i("div", {
598
- className: ue,
598
+ className: pe,
599
599
  children: [
600
600
  /* @__PURE__ */ i("div", {
601
601
  children: [
602
- /* @__PURE__ */ i(C, {
602
+ /* @__PURE__ */ i(T, {
603
603
  space: 8,
604
604
  children: [
605
- a && /* @__PURE__ */ e(x, {
605
+ a && /* @__PURE__ */ e(B, {
606
606
  truncate: n,
607
607
  as: "h3",
608
608
  regular: !0,
609
609
  hyphens: "auto",
610
610
  children: a
611
611
  }),
612
- o && /* @__PURE__ */ e(x, {
612
+ s && /* @__PURE__ */ e(B, {
613
613
  truncate: c,
614
614
  regular: !0,
615
615
  as: "p",
616
616
  hyphens: "auto",
617
- children: o
617
+ children: s
618
618
  })
619
619
  ]
620
620
  }),
621
- t && /* @__PURE__ */ e(x, {
621
+ t && /* @__PURE__ */ e(B, {
622
622
  truncate: d,
623
623
  regular: !0,
624
624
  as: "p",
625
- color: p.colors.textSecondary,
625
+ color: u.colors.textSecondary,
626
626
  hyphens: "auto",
627
627
  children: t
628
628
  })
@@ -637,8 +637,8 @@ const ke = (r, a)=>{
637
637
  })
638
638
  }))
639
639
  });
640
- }), Dr = /*#__PURE__*/ g.forwardRef((_param, M)=>{
641
- var { icon: r, headline: a, pretitle: n, pretitleLinesMax: o, title: c, titleLinesMax: t, subtitle: d, subtitleLinesMax: l, description: u, descriptionLinesMax: m, extra: s, actions: h, button: f, buttonLink: y, dataAttributes: S, "aria-label": T, onClose: N, aspectRatio: b } = _param, v = _object_without_properties(_param, [
640
+ }), Pr = /*#__PURE__*/ b.forwardRef((_param, A)=>{
641
+ var { icon: r, headline: a, pretitle: n, pretitleLinesMax: s, title: c, titleLinesMax: t, subtitle: d, subtitleLinesMax: l, description: p, descriptionLinesMax: m, extra: o, actions: h, button: f, buttonLink: g, dataAttributes: S, "aria-label": I, onClose: k, aspectRatio: N } = _param, y = _object_without_properties(_param, [
642
642
  "icon",
643
643
  "headline",
644
644
  "pretitle",
@@ -658,73 +658,73 @@ const ke = (r, a)=>{
658
658
  "onClose",
659
659
  "aspectRatio"
660
660
  ]);
661
- const A = !!r || !!a, O = v.href || v.to || v.onPress, H = ke(h, N);
662
- return /* @__PURE__ */ i(j, {
661
+ const R = !!r || !!a, D = y.href || y.to || y.onPress, j = Ie(h, k);
662
+ return /* @__PURE__ */ i(E, {
663
663
  dataAttributes: _object_spread({
664
664
  "component-name": "DataCard"
665
665
  }, S),
666
- ref: M,
667
- "aria-label": T,
668
- className: E,
669
- aspectRatio: b,
666
+ ref: A,
667
+ "aria-label": I,
668
+ className: V,
669
+ aspectRatio: N,
670
670
  children: [
671
- /* @__PURE__ */ e(ee, {
672
- className: J,
671
+ /* @__PURE__ */ e(re, {
672
+ className: q,
673
673
  width: "100%",
674
674
  minHeight: "100%",
675
- children: /* @__PURE__ */ i(G, _object_spread_props(_object_spread({
675
+ children: /* @__PURE__ */ i(H, _object_spread_props(_object_spread({
676
676
  maybe: !0
677
- }, v), {
678
- className: X,
679
- "aria-label": T,
677
+ }, y), {
678
+ className: G,
679
+ "aria-label": I,
680
680
  children: [
681
- O && /* @__PURE__ */ e("div", {
682
- className: Y
681
+ D && /* @__PURE__ */ e("div", {
682
+ className: L
683
683
  }),
684
684
  /* @__PURE__ */ i("div", {
685
- className: Pe,
685
+ className: Ge,
686
686
  children: [
687
- /* @__PURE__ */ i(Te, {
687
+ /* @__PURE__ */ i(ke, {
688
688
  space: 0,
689
689
  children: [
690
- /* @__PURE__ */ i(C, {
690
+ /* @__PURE__ */ i(T, {
691
691
  space: 16,
692
692
  children: [
693
693
  r && /* @__PURE__ */ e("div", {
694
- style: D({
695
- [V.mediaBorderRadius]: p.borderRadii.mediaSmall
694
+ style: z({
695
+ [P.mediaBorderRadius]: u.borderRadii.mediaSmall
696
696
  }),
697
697
  children: r
698
698
  }),
699
699
  /* @__PURE__ */ e(se, {
700
700
  headline: a,
701
701
  pretitle: n,
702
- pretitleLinesMax: o,
702
+ pretitleLinesMax: s,
703
703
  title: c,
704
704
  titleLinesMax: t,
705
705
  subtitle: d,
706
706
  subtitleLinesMax: l,
707
- description: u,
707
+ description: p,
708
708
  descriptionLinesMax: m
709
709
  })
710
710
  ]
711
711
  }),
712
- !A && /* @__PURE__ */ e("div", {
713
- style: D({
714
- [pe.topActionsCount]: String(H.length)
712
+ !R && /* @__PURE__ */ e("div", {
713
+ style: z({
714
+ [ve.topActionsCount]: String(j.length)
715
715
  }),
716
- className: Ve
716
+ className: Ee
717
717
  })
718
718
  ]
719
719
  }),
720
- s && /* @__PURE__ */ e("div", {
721
- children: s
720
+ o && /* @__PURE__ */ e("div", {
721
+ children: o
722
722
  }),
723
- (f || y) && /* @__PURE__ */ e("div", {
724
- className: ve,
725
- children: /* @__PURE__ */ e(re, {
723
+ (f || g) && /* @__PURE__ */ e("div", {
724
+ className: ye,
725
+ children: /* @__PURE__ */ e(ae, {
726
726
  primaryButton: f,
727
- link: y
727
+ link: g
728
728
  })
729
729
  })
730
730
  ]
@@ -732,15 +732,15 @@ const ke = (r, a)=>{
732
732
  ]
733
733
  }))
734
734
  }),
735
- /* @__PURE__ */ e(K, {
736
- onClose: N,
735
+ /* @__PURE__ */ e(J, {
736
+ onClose: k,
737
737
  actions: h,
738
738
  type: "default"
739
739
  })
740
740
  ]
741
741
  });
742
- }), Or = /*#__PURE__*/ g.forwardRef((_param, h)=>{
743
- var { icon: r, title: a, titleLinesMax: n, subtitle: o, subtitleLinesMax: c, dataAttributes: t, "aria-label": d, extra: l, isInverse: u = !1, aspectRatio: m } = _param, s = _object_without_properties(_param, [
742
+ }), Hr = /*#__PURE__*/ b.forwardRef((_param, h)=>{
743
+ var { icon: r, title: a, titleLinesMax: n, subtitle: s, subtitleLinesMax: c, dataAttributes: t, "aria-label": d, extra: l, isInverse: p = !1, aspectRatio: m } = _param, o = _object_without_properties(_param, [
744
744
  "icon",
745
745
  "title",
746
746
  "titleLinesMax",
@@ -752,59 +752,59 @@ const ke = (r, a)=>{
752
752
  "isInverse",
753
753
  "aspectRatio"
754
754
  ]);
755
- const f = s.href || s.to || s.onPress, y = u ? ne : Y;
756
- return /* @__PURE__ */ e(j, {
755
+ const f = o.href || o.to || o.onPress, g = p ? te : L;
756
+ return /* @__PURE__ */ e(E, {
757
757
  dataAttributes: _object_spread({
758
758
  "component-name": "SnapCard"
759
759
  }, t),
760
760
  ref: h,
761
- className: E,
761
+ className: V,
762
762
  aspectRatio: m,
763
- children: /* @__PURE__ */ e(ee, {
764
- className: J,
765
- isInverse: u,
763
+ children: /* @__PURE__ */ e(re, {
764
+ className: q,
765
+ isInverse: p,
766
766
  width: "100%",
767
767
  minHeight: "100%",
768
- children: /* @__PURE__ */ i(G, _object_spread_props(_object_spread({
768
+ children: /* @__PURE__ */ i(H, _object_spread_props(_object_spread({
769
769
  maybe: !0
770
- }, s), {
771
- className: X,
770
+ }, o), {
771
+ className: G,
772
772
  "aria-label": d,
773
773
  children: [
774
774
  f && /* @__PURE__ */ e("div", {
775
- className: y
775
+ className: g
776
776
  }),
777
777
  /* @__PURE__ */ i("section", {
778
- className: Ge,
778
+ className: Xe,
779
779
  children: [
780
780
  /* @__PURE__ */ i("div", {
781
781
  children: [
782
782
  r && /* @__PURE__ */ e("div", {
783
- style: D({
784
- [V.mediaBorderRadius]: p.borderRadii.mediaSmall
783
+ style: z({
784
+ [P.mediaBorderRadius]: u.borderRadii.mediaSmall
785
785
  }),
786
786
  children: /* @__PURE__ */ e(w, {
787
787
  paddingBottom: 16,
788
788
  children: r
789
789
  })
790
790
  }),
791
- /* @__PURE__ */ i(C, {
791
+ /* @__PURE__ */ i(T, {
792
792
  space: 4,
793
793
  children: [
794
- a && /* @__PURE__ */ e(x, {
794
+ a && /* @__PURE__ */ e(B, {
795
795
  truncate: n,
796
796
  as: "h3",
797
797
  regular: !0,
798
798
  hyphens: "auto",
799
799
  children: a
800
800
  }),
801
- o && /* @__PURE__ */ e(x, {
801
+ s && /* @__PURE__ */ e(B, {
802
802
  truncate: c,
803
803
  regular: !0,
804
- color: p.colors.textSecondary,
804
+ color: u.colors.textSecondary,
805
805
  as: "p",
806
806
  hyphens: "auto",
807
- children: o
807
+ children: s
808
808
  })
809
809
  ]
810
810
  })
@@ -819,8 +819,8 @@ const ke = (r, a)=>{
819
819
  }))
820
820
  })
821
821
  });
822
- }), Se = /*#__PURE__*/ g.forwardRef((_param, k)=>{
823
- var { isInverse: r, backgroundImage: a, backgroundVideo: n, backgroundVideoRef: o, poster: c, icon: t, headline: d, pretitle: l, pretitleLinesMax: u, title: m, titleLinesMax: s, description: h, descriptionLinesMax: f, extra: y, button: S, secondaryButton: T, onClose: N, actions: b, buttonLink: v, dataAttributes: M, width: A, height: O, aspectRatio: H, "aria-label": L } = _param, I = _object_without_properties(_param, [
822
+ }), Ae = /*#__PURE__*/ b.forwardRef((_param, U)=>{
823
+ var { isInverse: r, backgroundImage: a, backgroundVideo: n, backgroundVideoRef: s, poster: c, icon: t, headline: d, pretitle: l, pretitleLinesMax: p, title: m, titleLinesMax: o, description: h, descriptionLinesMax: f, extra: g, button: S, secondaryButton: I, onClose: k, actions: N, buttonLink: y, dataAttributes: A, width: R, height: D, aspectRatio: j, "aria-label": F } = _param, M = _object_without_properties(_param, [
824
824
  "isInverse",
825
825
  "backgroundImage",
826
826
  "backgroundVideo",
@@ -846,98 +846,98 @@ const ke = (r, a)=>{
846
846
  "aspectRatio",
847
847
  "aria-label"
848
848
  ]);
849
- const P = a !== void 0, B = n !== void 0, Q = Be(a), { video: W, videoAction: z } = xe(n, c, o);
850
- B && (b = z ? [
851
- z
849
+ const x = a !== void 0, v = n !== void 0, Y = Be(a), { video: Z, videoAction: W } = Se(n, c, s);
850
+ v && (N = W ? [
851
+ W
852
852
  ] : []);
853
- const $ = Ne(), R = P || B, q = R ? "0 0 16px rgba(0,0,0,0.4)" : void 0, U = (b == null ? void 0 : b.length) || N, F = I.href || I.to || I.onPress, _ = P || B ? Ce : r ? ne : Y;
854
- return /* @__PURE__ */ i(j, {
855
- dataAttributes: M,
856
- ref: k,
857
- width: A,
858
- height: O,
859
- aspectRatio: H,
860
- "aria-label": L,
861
- className: E,
853
+ const X = Te(), C = x || v, O = C ? "0 0 16px rgba(0,0,0,0.4)" : void 0, $ = (N == null ? void 0 : N.length) || k, _ = M.href || M.to || M.onPress, ee = x || v ? Ne : r ? te : L;
854
+ return /* @__PURE__ */ i(E, {
855
+ dataAttributes: A,
856
+ ref: U,
857
+ width: R,
858
+ height: D,
859
+ aspectRatio: j,
860
+ "aria-label": F,
861
+ className: V,
862
862
  children: [
863
- /* @__PURE__ */ e(le, {
864
- borderRadius: p.borderRadii.legacyDisplay,
865
- className: J,
863
+ /* @__PURE__ */ e(ce, {
864
+ borderRadius: u.borderRadii.legacyDisplay,
865
+ className: q,
866
866
  width: "100%",
867
867
  minHeight: "100%",
868
868
  isInverse: r,
869
- background: P || B ? $ ? p.colors.backgroundContainerBrandOverInverse : p.colors.backgroundContainer : void 0,
870
- children: /* @__PURE__ */ i(G, _object_spread_props(_object_spread({
869
+ background: x || v ? X ? u.colors.backgroundContainerBrandOverInverse : u.colors.backgroundContainer : void 0,
870
+ children: /* @__PURE__ */ i(H, _object_spread_props(_object_spread({
871
871
  maybe: !0
872
- }, I), {
873
- className: X,
874
- "aria-label": L,
872
+ }, M), {
873
+ className: G,
874
+ "aria-label": F,
875
875
  children: [
876
- F && /* @__PURE__ */ e("div", {
877
- className: _
876
+ _ && /* @__PURE__ */ e("div", {
877
+ className: ee
878
878
  }),
879
879
  /* @__PURE__ */ i("div", {
880
880
  className: fe,
881
881
  children: [
882
- (P || B) && /* @__PURE__ */ e(te, {
883
- isInverse: $,
882
+ (x || v) && /* @__PURE__ */ e(de, {
883
+ isInverse: X,
884
884
  children: /* @__PURE__ */ e("div", {
885
- className: ye,
886
- children: B ? W : Q
885
+ className: ge,
886
+ children: v ? Z : Y
887
887
  })
888
888
  }),
889
889
  /* @__PURE__ */ i("div", {
890
- className: ge,
890
+ className: be,
891
891
  style: {
892
- paddingTop: R && !t && !U && !B ? 0 : 24
892
+ paddingTop: C && !t && !$ && !v ? 0 : 24
893
893
  },
894
894
  children: [
895
895
  t ? /* @__PURE__ */ e("div", {
896
- style: D({
897
- [V.mediaBorderRadius]: p.borderRadii.mediaSmall
896
+ style: z({
897
+ [P.mediaBorderRadius]: u.borderRadii.mediaSmall
898
898
  }),
899
899
  children: /* @__PURE__ */ e(w, {
900
- paddingBottom: R ? 0 : 40,
900
+ paddingBottom: C ? 0 : 40,
901
901
  paddingX: 24,
902
902
  children: t
903
903
  })
904
904
  }) : /* @__PURE__ */ e(w, {
905
- paddingBottom: U || B ? R ? 24 : 64 : 0
905
+ paddingBottom: $ || v ? C ? 24 : 64 : 0
906
906
  }),
907
907
  /* @__PURE__ */ e(w, {
908
908
  paddingX: 24,
909
- paddingTop: R ? 40 : 0,
909
+ paddingTop: C ? 40 : 0,
910
910
  paddingBottom: 24,
911
- className: R ? be : void 0,
912
- children: /* @__PURE__ */ i(C, {
911
+ className: C ? Ce : void 0,
912
+ children: /* @__PURE__ */ i(T, {
913
913
  space: 24,
914
914
  children: [
915
915
  /* @__PURE__ */ i("div", {
916
916
  children: [
917
- /* @__PURE__ */ i(C, {
917
+ /* @__PURE__ */ i(T, {
918
918
  space: 8,
919
919
  children: [
920
920
  (d || l || m) && /* @__PURE__ */ e("header", {
921
- children: /* @__PURE__ */ i(C, {
921
+ children: /* @__PURE__ */ i(T, {
922
922
  space: 16,
923
923
  children: [
924
924
  d,
925
- /* @__PURE__ */ i(C, {
925
+ /* @__PURE__ */ i(T, {
926
926
  space: 4,
927
927
  children: [
928
- l && /* @__PURE__ */ e(x, {
928
+ l && /* @__PURE__ */ e(B, {
929
929
  forceMobileSizes: !0,
930
- truncate: u,
930
+ truncate: p,
931
931
  as: "div",
932
932
  regular: !0,
933
- textShadow: q,
933
+ textShadow: O,
934
934
  children: l
935
935
  }),
936
- /* @__PURE__ */ e(Me, {
936
+ /* @__PURE__ */ e(De, {
937
937
  forceMobileSizes: !0,
938
- truncate: s,
938
+ truncate: o,
939
939
  as: "h3",
940
- textShadow: q,
940
+ textShadow: O,
941
941
  hyphens: "auto",
942
942
  children: m
943
943
  })
@@ -946,25 +946,25 @@ const ke = (r, a)=>{
946
946
  ]
947
947
  })
948
948
  }),
949
- h && /* @__PURE__ */ e(ze, {
949
+ h && /* @__PURE__ */ e(Oe, {
950
950
  forceMobileSizes: !0,
951
951
  truncate: f,
952
952
  as: "p",
953
953
  regular: !0,
954
- color: R ? p.colors.textPrimary : p.colors.textSecondary,
955
- textShadow: q,
954
+ color: C ? u.colors.textPrimary : u.colors.textSecondary,
955
+ textShadow: O,
956
956
  hyphens: "auto",
957
957
  children: h
958
958
  })
959
959
  ]
960
960
  }),
961
- y
961
+ g
962
962
  ]
963
963
  }),
964
- (S || T || v) && /* @__PURE__ */ e(re, {
964
+ (S || I || y) && /* @__PURE__ */ e(ae, {
965
965
  primaryButton: S,
966
- secondaryButton: T,
967
- link: v
966
+ secondaryButton: I,
967
+ link: y
968
968
  })
969
969
  ]
970
970
  })
@@ -976,36 +976,36 @@ const ke = (r, a)=>{
976
976
  ]
977
977
  }))
978
978
  }),
979
- /* @__PURE__ */ e(K, {
980
- onClose: N,
981
- actions: b,
982
- type: P || B ? "media" : r ? "inverse" : "default"
979
+ /* @__PURE__ */ e(J, {
980
+ onClose: k,
981
+ actions: N,
982
+ type: x || v ? "media" : r ? "inverse" : "default"
983
983
  })
984
984
  ]
985
985
  });
986
- }), Hr = /*#__PURE__*/ g.forwardRef((_param, n)=>{
986
+ }), Vr = /*#__PURE__*/ b.forwardRef((_param, n)=>{
987
987
  var { dataAttributes: r } = _param, a = _object_without_properties(_param, [
988
988
  "dataAttributes"
989
989
  ]);
990
- return /* @__PURE__ */ e(Se, _object_spread_props(_object_spread({}, a), {
990
+ return /* @__PURE__ */ e(Ae, _object_spread_props(_object_spread({}, a), {
991
991
  ref: n,
992
992
  isInverse: !0,
993
993
  dataAttributes: _object_spread({
994
994
  "component-name": "DisplayMediaCard"
995
995
  }, r)
996
996
  }));
997
- }), Pr = /*#__PURE__*/ g.forwardRef((_param, n)=>{
997
+ }), Gr = /*#__PURE__*/ b.forwardRef((_param, n)=>{
998
998
  var { dataAttributes: r } = _param, a = _object_without_properties(_param, [
999
999
  "dataAttributes"
1000
1000
  ]);
1001
- return /* @__PURE__ */ e(Se, _object_spread_props(_object_spread({}, a), {
1001
+ return /* @__PURE__ */ e(Ae, _object_spread_props(_object_spread({}, a), {
1002
1002
  ref: n,
1003
1003
  dataAttributes: _object_spread({
1004
1004
  "component-name": "DisplayDataCard"
1005
1005
  }, r)
1006
1006
  }));
1007
- }), Vr = /*#__PURE__*/ g.forwardRef((_param, L)=>{
1008
- var { dataAttributes: r, backgroundImage: a, backgroundVideo: n, poster: o, backgroundVideoRef: c, width: t, height: d, aspectRatio: l = "7:10", ariaLabel: u, actions: m, onClose: s, icon: h, headline: f, pretitle: y, pretitleLinesMax: S, title: T, titleLinesMax: N, description: b, descriptionLinesMax: v, variant: M, isInverse: A, backgroundColor: O } = _param, H = _object_without_properties(_param, [
1007
+ }), Er = /*#__PURE__*/ b.forwardRef((_param, U)=>{
1008
+ var { dataAttributes: r, backgroundImage: a, backgroundVideo: n, poster: s, backgroundVideoRef: c, width: t, height: d, aspectRatio: l = "7:10", ariaLabel: p, actions: m, onClose: o, icon: h, headline: f, pretitle: g, pretitleLinesMax: S, title: I, titleLinesMax: k, subtitle: N, subtitleLinesMax: y, description: A, descriptionLinesMax: R, variant: D, isInverse: j, backgroundColor: F } = _param, M = _object_without_properties(_param, [
1009
1009
  "dataAttributes",
1010
1010
  "backgroundImage",
1011
1011
  "backgroundVideo",
@@ -1023,71 +1023,73 @@ const ke = (r, a)=>{
1023
1023
  "pretitleLinesMax",
1024
1024
  "title",
1025
1025
  "titleLinesMax",
1026
+ "subtitle",
1027
+ "subtitleLinesMax",
1026
1028
  "description",
1027
1029
  "descriptionLinesMax",
1028
1030
  "variant",
1029
1031
  "isInverse",
1030
1032
  "backgroundColor"
1031
1033
  ]);
1032
- const I = a !== void 0, k = n !== void 0, P = Be(a), { video: B, videoAction: Q } = xe(n, o, c);
1033
- k && (m = Q ? [
1034
- Q
1034
+ const x = a !== void 0, v = n !== void 0, Y = Be(a), { video: Z, videoAction: W } = Se(n, s, c);
1035
+ v && (m = W ? [
1036
+ W
1035
1037
  ] : []);
1036
- const W = Ne(), z = I || k, $ = z ? "0 0 16px rgba(0,0,0,0.4)" : void 0, R = (m == null ? void 0 : m.length) || s, { textPresets: q } = Z(), U = H.href || H.to || H.onPress, F = M || (A ? "inverse" : "default"), _ = ()=>O || ({
1037
- default: p.colors.backgroundContainer,
1038
- inverse: W ? p.colors.backgroundContainerBrandOverInverse : p.colors.backgroundBrand,
1039
- alternative: p.colors.backgroundAlternative
1040
- })[F], Ae = I || k ? Ce : F === "inverse" ? ne : Y;
1041
- return /* @__PURE__ */ i(j, {
1038
+ const X = Te(), C = x || v, O = C ? "0 0 16px rgba(0,0,0,0.4)" : void 0, $ = (m == null ? void 0 : m.length) || o, { textPresets: _ } = Q(), ee = M.href || M.to || M.onPress, K = D || (j ? "inverse" : "default"), Re = ()=>F || ({
1039
+ default: u.colors.backgroundContainer,
1040
+ inverse: X ? u.colors.backgroundContainerBrandOverInverse : u.colors.backgroundBrand,
1041
+ alternative: u.colors.backgroundAlternative
1042
+ })[K], we = x || v ? Ne : K === "inverse" ? te : L;
1043
+ return /* @__PURE__ */ i(E, {
1042
1044
  width: t,
1043
1045
  height: d,
1044
1046
  dataAttributes: _object_spread({
1045
1047
  "component-name": "PosterCard"
1046
1048
  }, r),
1047
- ref: L,
1049
+ ref: U,
1048
1050
  aspectRatio: l,
1049
- "aria-label": u,
1050
- className: E,
1051
+ "aria-label": p,
1052
+ className: V,
1051
1053
  children: [
1052
- /* @__PURE__ */ e(le, {
1053
- borderRadius: p.borderRadii.legacyDisplay,
1054
- className: J,
1054
+ /* @__PURE__ */ e(ce, {
1055
+ borderRadius: u.borderRadii.legacyDisplay,
1056
+ className: q,
1055
1057
  width: "100%",
1056
1058
  minHeight: "100%",
1057
- isInverse: I || k || F === "inverse",
1058
- background: I || k ? W ? p.colors.backgroundContainerBrandOverInverse : p.colors.backgroundContainer : _(),
1059
- children: /* @__PURE__ */ i(G, _object_spread_props(_object_spread({
1059
+ isInverse: x || v || K === "inverse",
1060
+ background: x || v ? X ? u.colors.backgroundContainerBrandOverInverse : u.colors.backgroundContainer : Re(),
1061
+ children: /* @__PURE__ */ i(H, _object_spread_props(_object_spread({
1060
1062
  maybe: !0
1061
- }, H), {
1062
- className: X,
1063
- "aria-label": u,
1063
+ }, M), {
1064
+ className: G,
1065
+ "aria-label": p,
1064
1066
  children: [
1065
- U && /* @__PURE__ */ e("div", {
1066
- className: Ae
1067
+ ee && /* @__PURE__ */ e("div", {
1068
+ className: we
1067
1069
  }),
1068
1070
  /* @__PURE__ */ i("div", {
1069
1071
  className: fe,
1070
1072
  children: [
1071
- (I || k) && /* @__PURE__ */ e(te, {
1072
- isInverse: W,
1073
+ (x || v) && /* @__PURE__ */ e(de, {
1074
+ isInverse: X,
1073
1075
  children: /* @__PURE__ */ e("div", {
1074
- className: ye,
1075
- children: k ? B : P
1076
+ className: ge,
1077
+ children: v ? Z : Y
1076
1078
  })
1077
1079
  }),
1078
1080
  /* @__PURE__ */ i(w, {
1079
- className: ge,
1080
- paddingTop: z && !h && !R && !k ? 0 : {
1081
+ className: be,
1082
+ paddingTop: C && !h && !$ && !v ? 0 : {
1081
1083
  mobile: h ? 16 : 24,
1082
1084
  desktop: 24
1083
1085
  },
1084
1086
  children: [
1085
1087
  h ? /* @__PURE__ */ e("div", {
1086
- style: D({
1087
- [V.mediaBorderRadius]: p.borderRadii.mediaSmall
1088
+ style: z({
1089
+ [P.mediaBorderRadius]: u.borderRadii.mediaSmall
1088
1090
  }),
1089
1091
  children: /* @__PURE__ */ e(w, {
1090
- paddingBottom: z ? 0 : 40,
1092
+ paddingBottom: C ? 0 : 40,
1091
1093
  paddingX: {
1092
1094
  mobile: 16,
1093
1095
  desktop: 24
@@ -1095,63 +1097,73 @@ const ke = (r, a)=>{
1095
1097
  children: h
1096
1098
  })
1097
1099
  }) : /* @__PURE__ */ e(w, {
1098
- paddingBottom: R || k ? z ? 24 : 64 : 0
1100
+ paddingBottom: $ || v ? C ? 24 : 64 : 0
1099
1101
  }),
1100
1102
  /* @__PURE__ */ e(w, {
1101
1103
  paddingX: {
1102
1104
  mobile: 16,
1103
1105
  desktop: 24
1104
1106
  },
1105
- paddingTop: z ? 40 : 0,
1107
+ paddingTop: C ? 40 : 0,
1106
1108
  paddingBottom: 24,
1107
- className: z ? be : void 0,
1108
- children: /* @__PURE__ */ e(C, {
1109
+ className: C ? Ce : void 0,
1110
+ children: /* @__PURE__ */ e(T, {
1109
1111
  space: 24,
1110
1112
  children: /* @__PURE__ */ e("div", {
1111
- children: /* @__PURE__ */ i(C, {
1113
+ children: /* @__PURE__ */ i(T, {
1112
1114
  space: 8,
1113
1115
  children: [
1114
- (f || y || T) && /* @__PURE__ */ e("header", {
1115
- children: /* @__PURE__ */ i(C, {
1116
+ (f || g || I || N) && /* @__PURE__ */ e("header", {
1117
+ children: /* @__PURE__ */ i(T, {
1116
1118
  space: 16,
1117
1119
  children: [
1118
1120
  f,
1119
- /* @__PURE__ */ i(C, {
1121
+ /* @__PURE__ */ i(T, {
1120
1122
  space: 4,
1121
1123
  children: [
1122
- y && /* @__PURE__ */ e(x, {
1124
+ g && /* @__PURE__ */ e(B, {
1123
1125
  forceMobileSizes: !0,
1124
1126
  truncate: S,
1125
1127
  as: "div",
1126
1128
  regular: !0,
1127
- textShadow: $,
1129
+ textShadow: O,
1128
1130
  hyphens: "auto",
1129
- children: y
1131
+ children: g
1130
1132
  }),
1131
- /* @__PURE__ */ e(oe, {
1133
+ /* @__PURE__ */ e(le, {
1132
1134
  desktopSize: 20,
1133
1135
  mobileSize: 18,
1134
1136
  mobileLineHeight: "24px",
1135
1137
  desktopLineHeight: "28px",
1136
- truncate: N,
1137
- weight: q.cardTitle.weight,
1138
+ truncate: k,
1139
+ weight: _.cardTitle.weight,
1138
1140
  as: "h3",
1139
1141
  hyphens: "auto",
1140
- children: T
1142
+ children: I
1143
+ }),
1144
+ /* @__PURE__ */ e(B, {
1145
+ forceMobileSizes: !0,
1146
+ truncate: y,
1147
+ as: "div",
1148
+ regular: !0,
1149
+ textShadow: O,
1150
+ hyphens: "auto",
1151
+ children: N
1141
1152
  })
1142
1153
  ]
1143
1154
  })
1144
1155
  ]
1145
1156
  })
1146
1157
  }),
1147
- b && /* @__PURE__ */ e(x, {
1158
+ A && /* @__PURE__ */ e(B, {
1148
1159
  forceMobileSizes: !0,
1149
- truncate: v,
1160
+ truncate: R,
1150
1161
  as: "p",
1151
1162
  regular: !0,
1152
- textShadow: $,
1163
+ textShadow: O,
1153
1164
  hyphens: "auto",
1154
- children: b
1165
+ color: C ? u.colors.textPrimary : u.colors.textSecondary,
1166
+ children: A
1155
1167
  })
1156
1168
  ]
1157
1169
  })
@@ -1165,12 +1177,12 @@ const ke = (r, a)=>{
1165
1177
  ]
1166
1178
  }))
1167
1179
  }),
1168
- /* @__PURE__ */ e(K, {
1169
- onClose: s,
1180
+ /* @__PURE__ */ e(J, {
1181
+ onClose: o,
1170
1182
  actions: m,
1171
- type: I || k ? "media" : F === "inverse" ? "inverse" : "default"
1183
+ type: x || v ? "media" : K === "inverse" ? "inverse" : "default"
1172
1184
  })
1173
1185
  ]
1174
1186
  });
1175
1187
  });
1176
- export { Ue as CardActionIconButton, er as CardActionSpinner, K as CardActionsGroup, Dr as DataCard, Pr as DisplayDataCard, Hr as DisplayMediaCard, wr as MediaCard, Mr as NakedCard, Vr as PosterCard, zr as SmallNakedCard, Or as SnapCard };
1188
+ export { Ze as CardActionIconButton, ar as CardActionSpinner, J as CardActionsGroup, Pr as DataCard, Gr as DisplayDataCard, Vr as DisplayMediaCard, zr as MediaCard, Dr as NakedCard, Er as PosterCard, Or as SmallNakedCard, Hr as SnapCard };