@telefonica/mistica 15.16.4 → 15.18.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 (114) hide show
  1. package/css/mistica.css +1 -1
  2. package/css/roboto.css +102 -34
  3. package/dist/box.d.ts +1 -0
  4. package/dist/box.js +11 -10
  5. package/dist/callout.d.ts +1 -0
  6. package/dist/callout.js +10 -10
  7. package/dist/card.d.ts +6 -1
  8. package/dist/card.js +375 -365
  9. package/dist/chip.d.ts +1 -0
  10. package/dist/chip.js +25 -26
  11. package/dist/dialog.d.ts +1 -0
  12. package/dist/dialog.js +65 -62
  13. package/dist/feedback.js +58 -52
  14. package/dist/generated/mistica-icons/icon-box-star-filled.d.ts +4 -0
  15. package/dist/generated/mistica-icons/icon-box-star-filled.js +121 -0
  16. package/dist/generated/mistica-icons/icon-box-star-light.d.ts +4 -0
  17. package/dist/generated/mistica-icons/icon-box-star-light.js +117 -0
  18. package/dist/generated/mistica-icons/icon-box-star-regular.d.ts +4 -0
  19. package/dist/generated/mistica-icons/icon-box-star-regular.js +117 -0
  20. package/dist/generated/mistica-icons/icon-high-priority-filled.d.ts +4 -0
  21. package/dist/generated/mistica-icons/icon-high-priority-filled.js +111 -0
  22. package/dist/generated/mistica-icons/icon-high-priority-light.d.ts +4 -0
  23. package/dist/generated/mistica-icons/icon-high-priority-light.js +111 -0
  24. package/dist/generated/mistica-icons/icon-high-priority-regular.d.ts +4 -0
  25. package/dist/generated/mistica-icons/icon-high-priority-regular.js +111 -0
  26. package/dist/generated/mistica-icons/icon-mms-filled.d.ts +4 -0
  27. package/dist/generated/mistica-icons/icon-mms-filled.js +122 -0
  28. package/dist/generated/mistica-icons/icon-mms-light.d.ts +4 -0
  29. package/dist/generated/mistica-icons/icon-mms-light.js +134 -0
  30. package/dist/generated/mistica-icons/icon-mms-regular.d.ts +4 -0
  31. package/dist/generated/mistica-icons/icon-mms-regular.js +134 -0
  32. package/dist/generated/mistica-icons/icon-vivo-valoriza-filled.d.ts +4 -0
  33. package/dist/generated/mistica-icons/icon-vivo-valoriza-filled.js +111 -0
  34. package/dist/generated/mistica-icons/icon-vivo-valoriza-light.d.ts +4 -0
  35. package/dist/generated/mistica-icons/icon-vivo-valoriza-light.js +117 -0
  36. package/dist/generated/mistica-icons/icon-vivo-valoriza-regular.d.ts +4 -0
  37. package/dist/generated/mistica-icons/icon-vivo-valoriza-regular.js +117 -0
  38. package/dist/generated/mistica-icons/icons-keywords.js +31 -0
  39. package/dist/index.d.ts +12 -0
  40. package/dist/index.js +48 -0
  41. package/dist/inline.css-mistica.js +11 -8
  42. package/dist/inline.css.d.ts +1 -0
  43. package/dist/inline.js +12 -12
  44. package/dist/list.d.ts +1 -0
  45. package/dist/list.js +163 -157
  46. package/dist/package-version.js +1 -1
  47. package/dist/popover.d.ts +1 -0
  48. package/dist/popover.js +9 -7
  49. package/dist/select.js +103 -95
  50. package/dist/skins/blau.js +96 -8
  51. package/dist/skins/defaults.js +98 -10
  52. package/dist/skins/movistar.js +94 -6
  53. package/dist/skins/o2-new.js +95 -7
  54. package/dist/skins/o2.js +94 -6
  55. package/dist/skins/skin-contract.css-mistica.js +42 -10
  56. package/dist/skins/skin-contract.css.d.ts +32 -0
  57. package/dist/skins/telefonica.js +96 -8
  58. package/dist/skins/tu.js +94 -6
  59. package/dist/skins/types/index.d.ts +36 -28
  60. package/dist/skins/vivo-new.js +95 -7
  61. package/dist/skins/vivo.js +94 -6
  62. package/dist/snackbar-context.js +23 -22
  63. package/dist/snackbar.d.ts +1 -0
  64. package/dist/snackbar.js +63 -57
  65. package/dist/theme-context-provider.js +91 -63
  66. package/dist/theme-context.css-mistica.js +452 -0
  67. package/dist/theme-context.css.d.ts +432 -0
  68. package/dist/theme-context.css.ts.vanilla.css-mistica.js +11 -0
  69. package/dist/tooltip.d.ts +1 -0
  70. package/dist/tooltip.js +110 -110
  71. package/dist-es/box.js +17 -16
  72. package/dist-es/callout.js +38 -38
  73. package/dist-es/card.js +492 -482
  74. package/dist-es/chip.js +49 -50
  75. package/dist-es/dialog.js +78 -75
  76. package/dist-es/feedback.js +96 -89
  77. package/dist-es/generated/mistica-icons/icon-box-star-filled.js +112 -0
  78. package/dist-es/generated/mistica-icons/icon-box-star-light.js +108 -0
  79. package/dist-es/generated/mistica-icons/icon-box-star-regular.js +108 -0
  80. package/dist-es/generated/mistica-icons/icon-high-priority-filled.js +102 -0
  81. package/dist-es/generated/mistica-icons/icon-high-priority-light.js +102 -0
  82. package/dist-es/generated/mistica-icons/icon-high-priority-regular.js +102 -0
  83. package/dist-es/generated/mistica-icons/icon-mms-filled.js +113 -0
  84. package/dist-es/generated/mistica-icons/icon-mms-light.js +125 -0
  85. package/dist-es/generated/mistica-icons/icon-mms-regular.js +125 -0
  86. package/dist-es/generated/mistica-icons/icon-vivo-valoriza-filled.js +102 -0
  87. package/dist-es/generated/mistica-icons/icon-vivo-valoriza-light.js +108 -0
  88. package/dist-es/generated/mistica-icons/icon-vivo-valoriza-regular.js +108 -0
  89. package/dist-es/generated/mistica-icons/icons-keywords.js +31 -0
  90. package/dist-es/index.js +1563 -1551
  91. package/dist-es/inline.css-mistica.js +3 -3
  92. package/dist-es/inline.js +23 -23
  93. package/dist-es/list.js +225 -219
  94. package/dist-es/package-version.js +1 -1
  95. package/dist-es/popover.js +26 -24
  96. package/dist-es/select.js +146 -138
  97. package/dist-es/skins/blau.js +96 -8
  98. package/dist-es/skins/defaults.js +97 -9
  99. package/dist-es/skins/movistar.js +94 -6
  100. package/dist-es/skins/o2-new.js +95 -7
  101. package/dist-es/skins/o2.js +94 -6
  102. package/dist-es/skins/skin-contract.css-mistica.js +42 -10
  103. package/dist-es/skins/telefonica.js +98 -10
  104. package/dist-es/skins/tu.js +94 -6
  105. package/dist-es/skins/vivo-new.js +95 -7
  106. package/dist-es/skins/vivo.js +94 -6
  107. package/dist-es/snackbar-context.js +25 -24
  108. package/dist-es/snackbar.js +91 -85
  109. package/dist-es/style.css +1 -1
  110. package/dist-es/theme-context-provider.js +133 -105
  111. package/dist-es/theme-context.css-mistica.js +432 -0
  112. package/dist-es/theme-context.css.ts.vanilla.css-mistica.js +2 -0
  113. package/dist-es/tooltip.js +149 -149
  114. package/package.json +2 -3
package/dist/card.js CHANGED
@@ -11,40 +11,40 @@ function _export(target, all) {
11
11
  }
12
12
  _export(exports, {
13
13
  CardActionIconButton: function() {
14
- return ca;
14
+ return ma;
15
15
  },
16
16
  CardActionSpinner: function() {
17
- return pa;
17
+ return fa;
18
18
  },
19
19
  CardActionsGroup: function() {
20
- return Q;
20
+ return U;
21
21
  },
22
22
  DataCard: function() {
23
- return qa;
23
+ return Ja;
24
24
  },
25
25
  DisplayDataCard: function() {
26
- return Qa;
26
+ return Ua;
27
27
  },
28
28
  DisplayMediaCard: function() {
29
- return Ka;
29
+ return Qa;
30
30
  },
31
31
  MediaCard: function() {
32
- return Wa;
32
+ return _a;
33
33
  },
34
34
  NakedCard: function() {
35
- return _a;
35
+ return $a;
36
36
  },
37
37
  PosterCard: function() {
38
- return Ua;
38
+ return Ya;
39
39
  },
40
40
  SmallNakedCard: function() {
41
- return $a;
41
+ return qa;
42
42
  },
43
43
  SnapCard: function() {
44
- return Ja;
44
+ return Ka;
45
45
  },
46
46
  useVideoWithControls: function() {
47
- return Ve;
47
+ return Ee;
48
48
  }
49
49
  });
50
50
  const _jsxruntime = require("react/jsx-runtime");
@@ -200,25 +200,25 @@ function _object_without_properties_loose(source, excluded) {
200
200
  }
201
201
  return target;
202
202
  }
203
- const S = ()=>{
204
- const [a, r] = _react.useState(""), t = _react.useCallback((n)=>{
205
- n && r((process.env.NODE_ENV === "test" ? n.textContent : n.innerText) || "");
203
+ const A = ()=>{
204
+ const [a, r] = _react.useState(""), t = _react.useCallback((i)=>{
205
+ i && r((process.env.NODE_ENV === "test" ? i.textContent : i.innerText) || "");
206
206
  }, []);
207
207
  return {
208
208
  text: a,
209
209
  ref: t
210
210
  };
211
- }, ze = (a, r)=>{
212
- const { texts: t } = (0, _hooks.useTheme)(), n = a ? [
211
+ }, je = (a, r, t)=>{
212
+ const { texts: i } = (0, _hooks.useTheme)(), n = a ? [
213
213
  ...a
214
214
  ] : [];
215
215
  return r && n.push({
216
- label: t.closeButtonLabel,
216
+ label: t !== null && t !== void 0 ? t : i.closeButtonLabel,
217
217
  onPress: r,
218
218
  Icon: _iconcloseregular.default
219
219
  }), n;
220
- }, je = /*#__PURE__*/ _react.createContext("default"), ca = (a)=>{
221
- const r = _react.useContext(je);
220
+ }, Pe = /*#__PURE__*/ _react.createContext("default"), ma = (a)=>{
221
+ const r = _react.useContext(Pe);
222
222
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
223
223
  isInverse: r === "inverse",
224
224
  children: a.Icon ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconbutton.InternalIconButton, _object_spread_props(_object_spread({}, a), {
@@ -242,11 +242,11 @@ const S = ()=>{
242
242
  isOverMedia: r === "media"
243
243
  }))
244
244
  });
245
- }, Q = (param)=>{
246
- let { actions: a, padding: r = 16, onClose: t, type: n = "default" } = param;
247
- const i = ze(a, t);
248
- return i.length > 0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)(je.Provider, {
249
- value: n,
245
+ }, U = (param)=>{
246
+ let { actions: a, padding: r = 16, onClose: t, type: i = "default", closeButtonLabel: n } = param;
247
+ const o = je(a, t, n);
248
+ return o.length > 0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)(Pe.Provider, {
249
+ value: i,
250
250
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
251
251
  style: {
252
252
  position: "absolute",
@@ -256,36 +256,36 @@ const S = ()=>{
256
256
  },
257
257
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_inline.default, {
258
258
  space: 16,
259
- children: i.map((o, s)=>"Icon" in o || "checkedProps" in o ? /* @__PURE__ */ (0, _jsxruntime.jsx)(ca, _object_spread({}, o), s) : o)
259
+ children: o.map((d, f)=>"Icon" in d || "checkedProps" in d ? /* @__PURE__ */ (0, _jsxruntime.jsx)(ma, _object_spread({}, d), f) : d)
260
260
  })
261
261
  })
262
262
  }) : /* @__PURE__ */ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {});
263
- }, ma = (a)=>a ? typeof a == "number" ? a : ({
263
+ }, ha = (a)=>a ? typeof a == "number" ? a : ({
264
264
  "1:1": 1,
265
265
  "16:9": 16 / 9,
266
266
  "7:10": 7 / 10,
267
267
  "9:10": 9 / 10,
268
268
  auto: 0
269
- })[a] : 0, q = /*#__PURE__*/ _react.forwardRef((param, s)=>{
270
- let { children: a, width: r, height: t, aspectRatio: n, dataAttributes: i, className: d, "aria-label": o } = param;
271
- const v = r && t ? void 0 : ma(n);
272
- return /* @__PURE__ */ (0, _jsxruntime.jsx)("section", _object_spread_props(_object_spread({}, (0, _dom.getPrefixedDataAttributes)(i)), {
273
- ref: s,
274
- "aria-label": o,
275
- className: (0, _classnames.default)(d, _cardcssmistica.cardContainer),
269
+ })[a] : 0, J = /*#__PURE__*/ _react.forwardRef((param, d)=>{
270
+ let { children: a, width: r, height: t, aspectRatio: i, dataAttributes: n, className: o, "aria-label": s } = param;
271
+ const f = r && t ? void 0 : ha(i);
272
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)("section", _object_spread_props(_object_spread({}, (0, _dom.getPrefixedDataAttributes)(n)), {
273
+ ref: d,
274
+ "aria-label": s,
275
+ className: (0, _classnames.default)(o, _cardcssmistica.cardContainer),
276
276
  style: _object_spread({
277
277
  width: r || "100%",
278
278
  height: t || "100%"
279
- }, v ? (0, _css.applyCssVars)({
280
- [_cardcssmistica.vars.aspectRatio]: String(v)
279
+ }, f ? (0, _css.applyCssVars)({
280
+ [_cardcssmistica.vars.aspectRatio]: String(f)
281
281
  }) : {}),
282
282
  children: a
283
283
  }));
284
- }), Pe = (a)=>/* @__PURE__ */ (0, _jsxruntime.jsx)(_image.default, {
284
+ }), Ve = (a)=>/* @__PURE__ */ (0, _jsxruntime.jsx)(_image.default, {
285
285
  width: "100%",
286
286
  height: "100%",
287
287
  src: a || ""
288
- }), ha = {
288
+ }), ua = {
289
289
  loading: {
290
290
  showSpinner: "loadingTimeout",
291
291
  play: "playing",
@@ -311,76 +311,76 @@ const S = ()=>{
311
311
  error: {
312
312
  reset: "loading"
313
313
  }
314
- }, ua = (a, r)=>ha[a][r] || a, pa = (param)=>{
314
+ }, pa = (a, r)=>ua[a][r] || a, fa = (param)=>{
315
315
  let { color: a } = param;
316
316
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_spinner.default, {
317
317
  color: a,
318
318
  size: 16,
319
319
  delay: "0"
320
320
  });
321
- }, fa = (param)=>{
321
+ }, va = (param)=>{
322
322
  let { color: a } = param;
323
323
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconpausefilled.default, {
324
324
  color: a,
325
325
  size: 12
326
326
  });
327
- }, va = (param)=>{
327
+ }, ya = (param)=>{
328
328
  let { color: a } = param;
329
329
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconplayfilled.default, {
330
330
  color: a,
331
331
  size: 12
332
332
  });
333
- }, Ve = (a, r, t)=>{
334
- const { texts: n } = (0, _hooks.useTheme)(), i = _react.useRef(null), [d, o] = _react.useReducer(ua, "loading");
333
+ }, Ee = (a, r, t)=>{
334
+ const { texts: i } = (0, _hooks.useTheme)(), n = _react.useRef(null), [o, s] = _react.useReducer(pa, "loading");
335
335
  _react.useEffect(()=>{
336
- var h;
337
- const c = setTimeout(()=>o("showSpinner"), 2e3);
338
- return (h = i.current) == null || h.load(), ()=>{
339
- clearTimeout(c), o("reset");
336
+ var u;
337
+ const c = setTimeout(()=>s("showSpinner"), 2e3);
338
+ return (u = n.current) == null || u.load(), ()=>{
339
+ clearTimeout(c), s("reset");
340
340
  };
341
341
  }, [
342
342
  a
343
343
  ]);
344
- const s = _react.useMemo(()=>a !== void 0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_video.default, {
345
- ref: (0, _common.combineRefs)(i, t),
344
+ const d = _react.useMemo(()=>a !== void 0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_video.default, {
345
+ ref: (0, _common.combineRefs)(n, t),
346
346
  src: a,
347
347
  width: "100%",
348
348
  height: "100%",
349
349
  poster: r,
350
- onError: ()=>o("fail"),
351
- onPause: ()=>o("pause"),
352
- onPlay: ()=>o("play")
350
+ onError: ()=>s("fail"),
351
+ onPause: ()=>s("pause"),
352
+ onPlay: ()=>s("play")
353
353
  }) : void 0, [
354
354
  t,
355
355
  a,
356
356
  r
357
- ]), v = ()=>{
358
- const c = i.current;
359
- c && (d === "loading" ? o("showSpinner") : d === "paused" ? c.play() : d === "playing" && c.pause());
357
+ ]), f = ()=>{
358
+ const c = n.current;
359
+ c && (o === "loading" ? s("showSpinner") : o === "paused" ? c.play() : o === "playing" && c.pause());
360
360
  };
361
- if (d === "error") return {
362
- video: s
361
+ if (o === "error") return {
362
+ video: d
363
363
  };
364
- const m = s ? {
364
+ const h = d ? {
365
365
  uncheckedProps: {
366
- Icon: d === "loadingTimeout" && !(0, _platform.isRunningAcceptanceTest)() ? pa : fa,
367
- label: d === "loadingTimeout" ? "" : n.pauseIconButtonLabel
366
+ Icon: o === "loadingTimeout" && !(0, _platform.isRunningAcceptanceTest)() ? fa : va,
367
+ label: o === "loadingTimeout" ? "" : i.pauseIconButtonLabel
368
368
  },
369
369
  checkedProps: {
370
- Icon: va,
371
- label: n.playIconButtonLabel
370
+ Icon: ya,
371
+ label: i.playIconButtonLabel
372
372
  },
373
- onChange: v,
374
- disabled: d === "loadingTimeout",
375
- checked: d === "paused"
373
+ onChange: f,
374
+ disabled: o === "loadingTimeout",
375
+ checked: o === "paused"
376
376
  } : void 0;
377
377
  return {
378
- video: s,
379
- videoAction: m
378
+ video: d,
379
+ videoAction: h
380
380
  };
381
- }, ge = (param)=>{
382
- let { headline: a, headlineRef: r, pretitle: t, pretitleLinesMax: n, title: i, titleAs: d = "h3", titleLinesMax: o, subtitle: s, subtitleLinesMax: v, description: m, descriptionLinesMax: c, extra: h, extraRef: y, button: p, buttonLink: g } = param;
383
- const { textPresets: N } = (0, _hooks.useTheme)();
381
+ }, xe = (param)=>{
382
+ let { headline: a, headlineRef: r, pretitle: t, pretitleLinesMax: i, title: n, titleAs: o = "h3", titleLinesMax: s, subtitle: d, subtitleLinesMax: f, description: h, descriptionLinesMax: c, extra: u, extraRef: g, button: m, buttonLink: C } = param;
383
+ const { textPresets: x } = (0, _hooks.useTheme)();
384
384
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
385
385
  className: (0, _sprinklescssmistica.sprinkles)({
386
386
  display: "flex",
@@ -392,16 +392,16 @@ const S = ()=>{
392
392
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
393
393
  className: _cardcssmistica.flexColumn,
394
394
  children: [
395
- i && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
395
+ n && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
396
396
  style: {
397
- paddingBottom: s || m ? 4 : 0
397
+ paddingBottom: d || h ? 4 : 0
398
398
  },
399
399
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, _object_spread_props(_object_spread({}, _text.textProps.text4), {
400
- truncate: o,
401
- weight: N.cardTitle.weight,
402
- as: d,
400
+ truncate: s,
401
+ weight: x.cardTitle.weight,
402
+ as: o,
403
403
  hyphens: "auto",
404
- children: i
404
+ children: n
405
405
  }))
406
406
  }),
407
407
  a && // assuming that the headline will always be followed by one of: pretitle, title, subtitle, description
@@ -422,30 +422,30 @@ const S = ()=>{
422
422
  paddingBottom: 4
423
423
  },
424
424
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
425
- truncate: n,
425
+ truncate: i,
426
426
  as: "div",
427
427
  regular: !0,
428
428
  hyphens: "auto",
429
429
  children: t
430
430
  })
431
431
  }),
432
- s && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
432
+ d && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
433
433
  style: {
434
- paddingBottom: m ? 4 : 0
434
+ paddingBottom: h ? 4 : 0
435
435
  },
436
436
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
437
- truncate: v,
437
+ truncate: f,
438
438
  as: "div",
439
439
  regular: !0,
440
440
  hyphens: "auto",
441
- children: s
441
+ children: d
442
442
  })
443
443
  }),
444
- m && // this is tricky, when headline exists, the 8px padding is added by it.
444
+ h && // this is tricky, when headline exists, the 8px padding is added by it.
445
445
  // Otherwise, only 4px are added by title|pretitle|subtitle, so we need to add 4px more
446
446
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
447
447
  style: {
448
- paddingTop: t || i || s ? 4 : 0
448
+ paddingTop: t || n || d ? 4 : 0
449
449
  },
450
450
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
451
451
  truncate: c,
@@ -453,26 +453,26 @@ const S = ()=>{
453
453
  regular: !0,
454
454
  color: _skincontractcssmistica.vars.colors.textSecondary,
455
455
  hyphens: "auto",
456
- children: m
456
+ children: h
457
457
  })
458
458
  }),
459
- h && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
460
- ref: y,
461
- children: h
459
+ u && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
460
+ ref: g,
461
+ children: u
462
462
  })
463
463
  ]
464
464
  }),
465
- (p || g) && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
465
+ (m || C) && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
466
466
  className: _cardcssmistica.actions,
467
467
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_buttongroup.default, {
468
- primaryButton: p,
469
- link: g
468
+ primaryButton: m,
469
+ link: C
470
470
  })
471
471
  })
472
472
  ]
473
473
  });
474
- }, Wa = /*#__PURE__*/ _react.forwardRef((_param, A)=>{
475
- var { media: a, icon: r, headline: t, pretitle: n, pretitleLinesMax: i, subtitle: d, subtitleLinesMax: o, title: s, titleAs: v = "h3", titleLinesMax: m, description: c, descriptionLinesMax: h, extra: y, actions: p, button: g, buttonLink: N, dataAttributes: x, "aria-label": C, onClose: T } = _param, f = _object_without_properties(_param, [
474
+ }, _a = /*#__PURE__*/ _react.forwardRef((_param, V)=>{
475
+ var { media: a, icon: r, headline: t, pretitle: i, pretitleLinesMax: n, subtitle: o, subtitleLinesMax: s, title: d, titleAs: f = "h3", titleLinesMax: h, description: c, descriptionLinesMax: u, extra: g, actions: m, button: C, buttonLink: x, dataAttributes: T, "aria-label": y, onClose: k, closeButtonLabel: B } = _param, v = _object_without_properties(_param, [
476
476
  "media",
477
477
  "icon",
478
478
  "headline",
@@ -491,22 +491,23 @@ const S = ()=>{
491
491
  "buttonLink",
492
492
  "dataAttributes",
493
493
  "aria-label",
494
- "onClose"
494
+ "onClose",
495
+ "closeButtonLabel"
495
496
  ]);
496
- const B = !!(f.href || f.to || f.onPress), { text: M, ref: V } = S(), { text: O, ref: I } = S(), z = C || [
497
- s,
498
- M,
499
- n,
497
+ const N = !!(v.href || v.to || v.onPress), { text: M, ref: E } = A(), { text: O, ref: w } = A(), z = y || [
500
498
  d,
499
+ M,
500
+ i,
501
+ o,
501
502
  c,
502
503
  O
503
504
  ].filter(Boolean).join(" ");
504
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(q, {
505
+ return /* @__PURE__ */ (0, _jsxruntime.jsxs)(J, {
505
506
  dataAttributes: _object_spread({
506
507
  "component-name": "MediaCard"
507
- }, x),
508
- ref: A,
509
- "aria-label": B ? void 0 : C,
508
+ }, T),
509
+ ref: V,
510
+ "aria-label": N ? void 0 : y,
510
511
  className: _cardcssmistica.touchableContainer,
511
512
  children: [
512
513
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.Boxed, {
@@ -515,11 +516,11 @@ const S = ()=>{
515
516
  height: "100%",
516
517
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
517
518
  maybe: !0
518
- }, f), {
519
+ }, v), {
519
520
  className: _cardcssmistica.touchable,
520
- "aria-label": B ? z : void 0,
521
+ "aria-label": N ? z : void 0,
521
522
  children: [
522
- B && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
523
+ N && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
523
524
  className: _cardcssmistica.touchableMediaCardOverlay
524
525
  }),
525
526
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
@@ -533,22 +534,22 @@ const S = ()=>{
533
534
  }),
534
535
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
535
536
  className: _cardcssmistica.mediaCardContent,
536
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(ge, {
537
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(xe, {
537
538
  headline: t,
538
- headlineRef: V,
539
- pretitle: n,
540
- pretitleLinesMax: i,
541
- title: s,
542
- titleAs: v,
543
- titleLinesMax: m,
544
- subtitle: d,
545
- subtitleLinesMax: o,
539
+ headlineRef: E,
540
+ pretitle: i,
541
+ pretitleLinesMax: n,
542
+ title: d,
543
+ titleAs: f,
544
+ titleLinesMax: h,
545
+ subtitle: o,
546
+ subtitleLinesMax: s,
546
547
  description: c,
547
- descriptionLinesMax: h,
548
- extra: y,
549
- extraRef: I,
550
- button: g,
551
- buttonLink: N
548
+ descriptionLinesMax: u,
549
+ extra: g,
550
+ extraRef: w,
551
+ button: C,
552
+ buttonLink: x
552
553
  })
553
554
  }),
554
555
  r && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
@@ -573,15 +574,16 @@ const S = ()=>{
573
574
  ]
574
575
  }))
575
576
  }),
576
- /* @__PURE__ */ (0, _jsxruntime.jsx)(Q, {
577
- onClose: T,
578
- actions: p,
577
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(U, {
578
+ onClose: k,
579
+ closeButtonLabel: B,
580
+ actions: m,
579
581
  type: "media"
580
582
  })
581
583
  ]
582
584
  });
583
- }), _a = /*#__PURE__*/ _react.forwardRef((_param, A)=>{
584
- var { media: a, icon: r, headline: t, pretitle: n, pretitleLinesMax: i, subtitle: d, subtitleLinesMax: o, title: s, titleAs: v = "h3", titleLinesMax: m, description: c, descriptionLinesMax: h, extra: y, actions: p, button: g, buttonLink: N, dataAttributes: x, "aria-label": C, onClose: T } = _param, f = _object_without_properties(_param, [
585
+ }), $a = /*#__PURE__*/ _react.forwardRef((_param, V)=>{
586
+ var { media: a, icon: r, headline: t, pretitle: i, pretitleLinesMax: n, subtitle: o, subtitleLinesMax: s, title: d, titleAs: f = "h3", titleLinesMax: h, description: c, descriptionLinesMax: u, extra: g, actions: m, button: C, buttonLink: x, dataAttributes: T, "aria-label": y, onClose: k, closeButtonLabel: B } = _param, v = _object_without_properties(_param, [
585
587
  "media",
586
588
  "icon",
587
589
  "headline",
@@ -600,29 +602,30 @@ const S = ()=>{
600
602
  "buttonLink",
601
603
  "dataAttributes",
602
604
  "aria-label",
603
- "onClose"
605
+ "onClose",
606
+ "closeButtonLabel"
604
607
  ]);
605
- const B = !!(f.href || f.to || f.onPress), M = a && a.type === _image.default && a.props.circular, { text: V, ref: O } = S(), { text: I, ref: z } = S(), R = C || [
606
- s,
607
- V,
608
- n,
608
+ const N = !!(v.href || v.to || v.onPress), M = a && a.type === _image.default && a.props.circular, { text: E, ref: O } = A(), { text: w, ref: z } = A(), R = y || [
609
609
  d,
610
+ E,
611
+ i,
612
+ o,
610
613
  c,
611
- I
614
+ w
612
615
  ].filter(Boolean).join(" ");
613
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(q, {
614
- ref: A,
616
+ return /* @__PURE__ */ (0, _jsxruntime.jsxs)(J, {
617
+ ref: V,
615
618
  dataAttributes: _object_spread({
616
619
  "component-name": "NakedCard"
617
- }, x),
618
- "aria-label": B ? void 0 : C,
619
- className: B ? _cardcssmistica.touchableContainer : void 0,
620
+ }, T),
621
+ "aria-label": N ? void 0 : y,
622
+ className: N ? _cardcssmistica.touchableContainer : void 0,
620
623
  children: [
621
624
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
622
625
  maybe: !0
623
- }, f), {
626
+ }, v), {
624
627
  className: _cardcssmistica.touchable,
625
- "aria-label": B ? R : void 0,
628
+ "aria-label": N ? R : void 0,
626
629
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
627
630
  className: _cardcssmistica.mediaCard,
628
631
  children: [
@@ -631,7 +634,7 @@ const S = ()=>{
631
634
  position: "relative"
632
635
  },
633
636
  children: [
634
- B && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
637
+ N && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
635
638
  className: (0, _classnames.default)(_cardcssmistica.touchableNakedMediaOverlay, {
636
639
  [_cardcssmistica.circularMediaOverlay]: M
637
640
  })
@@ -641,22 +644,22 @@ const S = ()=>{
641
644
  }),
642
645
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
643
646
  className: _cardcssmistica.nakedCardContent,
644
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(ge, {
647
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(xe, {
645
648
  headline: t,
646
649
  headlineRef: O,
647
- pretitle: n,
648
- pretitleLinesMax: i,
649
- title: s,
650
- titleAs: v,
651
- titleLinesMax: m,
652
- subtitle: d,
653
- subtitleLinesMax: o,
650
+ pretitle: i,
651
+ pretitleLinesMax: n,
652
+ title: d,
653
+ titleAs: f,
654
+ titleLinesMax: h,
655
+ subtitle: o,
656
+ subtitleLinesMax: s,
654
657
  description: c,
655
- descriptionLinesMax: h,
656
- extra: y,
658
+ descriptionLinesMax: u,
659
+ extra: g,
657
660
  extraRef: z,
658
- button: g,
659
- buttonLink: N
661
+ button: C,
662
+ buttonLink: x
660
663
  })
661
664
  }),
662
665
  r && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
@@ -679,15 +682,16 @@ const S = ()=>{
679
682
  ]
680
683
  })
681
684
  })),
682
- /* @__PURE__ */ (0, _jsxruntime.jsx)(Q, {
683
- onClose: T,
684
- actions: p,
685
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(U, {
686
+ onClose: k,
687
+ closeButtonLabel: B,
688
+ actions: m,
685
689
  type: "media"
686
690
  })
687
691
  ]
688
692
  });
689
- }), $a = /*#__PURE__*/ _react.forwardRef((_param, y)=>{
690
- var { media: a, title: r, titleAs: t = "h3", titleLinesMax: n, subtitle: i, subtitleLinesMax: d, description: o, descriptionLinesMax: s, extra: v, dataAttributes: m, "aria-label": c } = _param, h = _object_without_properties(_param, [
693
+ }), qa = /*#__PURE__*/ _react.forwardRef((_param, g)=>{
694
+ var { media: a, title: r, titleAs: t = "h3", titleLinesMax: i, subtitle: n, subtitleLinesMax: o, description: s, descriptionLinesMax: d, extra: f, dataAttributes: h, "aria-label": c } = _param, u = _object_without_properties(_param, [
691
695
  "media",
692
696
  "title",
693
697
  "titleAs",
@@ -700,24 +704,24 @@ const S = ()=>{
700
704
  "dataAttributes",
701
705
  "aria-label"
702
706
  ]);
703
- const p = !!(h.href || h.to || h.onPress), g = a && a.type === _image.default && a.props.circular, { textPresets: N } = (0, _hooks.useTheme)(), { text: x, ref: C } = S(), T = c || [
707
+ const m = !!(u.href || u.to || u.onPress), C = a && a.type === _image.default && a.props.circular, { textPresets: x } = (0, _hooks.useTheme)(), { text: T, ref: y } = A(), k = c || [
704
708
  r,
705
- i,
706
- o,
707
- x
709
+ n,
710
+ s,
711
+ T
708
712
  ].filter(Boolean).join(" ");
709
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(q, {
710
- ref: y,
713
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(J, {
714
+ ref: g,
711
715
  dataAttributes: _object_spread({
712
716
  "component-name": "SmallNakedCard"
713
- }, m),
714
- "aria-label": p ? void 0 : c,
715
- className: p ? _cardcssmistica.touchableContainer : void 0,
717
+ }, h),
718
+ "aria-label": m ? void 0 : c,
719
+ className: m ? _cardcssmistica.touchableContainer : void 0,
716
720
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
717
721
  maybe: !0
718
- }, h), {
722
+ }, u), {
719
723
  className: _cardcssmistica.touchable,
720
- "aria-label": p ? T : void 0,
724
+ "aria-label": m ? k : void 0,
721
725
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
722
726
  className: _cardcssmistica.mediaCard,
723
727
  children: [
@@ -726,9 +730,9 @@ const S = ()=>{
726
730
  position: "relative"
727
731
  },
728
732
  children: [
729
- p && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
733
+ m && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
730
734
  className: (0, _classnames.default)(_cardcssmistica.touchableNakedMediaOverlay, {
731
- [_cardcssmistica.circularMediaOverlay]: g
735
+ [_cardcssmistica.circularMediaOverlay]: C
732
736
  })
733
737
  }),
734
738
  a
@@ -742,33 +746,33 @@ const S = ()=>{
742
746
  space: 4,
743
747
  children: [
744
748
  r && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, _object_spread_props(_object_spread({}, _text.textProps.text2), {
745
- truncate: n,
746
- weight: N.cardTitle.weight,
749
+ truncate: i,
750
+ weight: x.cardTitle.weight,
747
751
  as: t,
748
752
  hyphens: "auto",
749
753
  children: r
750
754
  })),
751
- i && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
752
- truncate: d,
755
+ n && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
756
+ truncate: o,
753
757
  regular: !0,
754
758
  as: "p",
755
759
  hyphens: "auto",
756
- children: i
760
+ children: n
757
761
  }),
758
- o && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
759
- truncate: s,
762
+ s && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
763
+ truncate: d,
760
764
  regular: !0,
761
765
  as: "p",
762
766
  color: _skincontractcssmistica.vars.colors.textSecondary,
763
767
  hyphens: "auto",
764
- children: o
768
+ children: s
765
769
  })
766
770
  ]
767
771
  })
768
772
  }),
769
- v && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
770
- ref: C,
771
- children: v
773
+ f && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
774
+ ref: y,
775
+ children: f
772
776
  })
773
777
  ]
774
778
  })
@@ -776,8 +780,8 @@ const S = ()=>{
776
780
  })
777
781
  }))
778
782
  });
779
- }), qa = /*#__PURE__*/ _react.forwardRef((_param, A)=>{
780
- var { icon: a, headline: r, pretitle: t, pretitleLinesMax: n, title: i, titleAs: d = "h3", titleLinesMax: o, subtitle: s, subtitleLinesMax: v, description: m, descriptionLinesMax: c, extra: h, actions: y, button: p, buttonLink: g, dataAttributes: N, "aria-label": x, onClose: C, aspectRatio: T } = _param, f = _object_without_properties(_param, [
783
+ }), Ja = /*#__PURE__*/ _react.forwardRef((_param, V)=>{
784
+ var { icon: a, headline: r, pretitle: t, pretitleLinesMax: i, title: n, titleAs: o = "h3", titleLinesMax: s, subtitle: d, subtitleLinesMax: f, description: h, descriptionLinesMax: c, extra: u, actions: g, button: m, buttonLink: C, dataAttributes: x, "aria-label": T, onClose: y, closeButtonLabel: k, aspectRatio: B } = _param, v = _object_without_properties(_param, [
781
785
  "icon",
782
786
  "headline",
783
787
  "pretitle",
@@ -796,23 +800,24 @@ const S = ()=>{
796
800
  "dataAttributes",
797
801
  "aria-label",
798
802
  "onClose",
803
+ "closeButtonLabel",
799
804
  "aspectRatio"
800
805
  ]);
801
- const B = !!a || !!r, M = !!(f.href || f.to || f.onPress), { text: V, ref: O } = S(), { text: I, ref: z } = S(), R = ze(y, C), k = x || [
802
- i,
803
- V,
806
+ const N = !!a || !!r, M = !!(v.href || v.to || v.onPress), { text: E, ref: O } = A(), { text: w, ref: z } = A(), R = je(g, y), I = T || [
807
+ n,
808
+ E,
804
809
  t,
805
- m,
806
- I
810
+ h,
811
+ w
807
812
  ].filter(Boolean).join(" ");
808
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(q, {
813
+ return /* @__PURE__ */ (0, _jsxruntime.jsxs)(J, {
809
814
  dataAttributes: _object_spread({
810
815
  "component-name": "DataCard"
811
- }, N),
812
- ref: A,
813
- "aria-label": M ? void 0 : x,
816
+ }, x),
817
+ ref: V,
818
+ "aria-label": M ? void 0 : T,
814
819
  className: _cardcssmistica.touchableContainer,
815
- aspectRatio: T,
820
+ aspectRatio: B,
816
821
  children: [
817
822
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.Boxed, {
818
823
  className: _cardcssmistica.boxed,
@@ -820,9 +825,9 @@ const S = ()=>{
820
825
  minHeight: "100%",
821
826
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
822
827
  maybe: !0
823
- }, f), {
828
+ }, v), {
824
829
  className: _cardcssmistica.touchable,
825
- "aria-label": M ? k : void 0,
830
+ "aria-label": M ? I : void 0,
826
831
  children: [
827
832
  M && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
828
833
  className: _cardcssmistica.touchableCardOverlay
@@ -842,22 +847,22 @@ const S = ()=>{
842
847
  }),
843
848
  children: a
844
849
  }),
845
- /* @__PURE__ */ (0, _jsxruntime.jsx)(ge, {
850
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(xe, {
846
851
  headline: r,
847
852
  headlineRef: O,
848
853
  pretitle: t,
849
- pretitleLinesMax: n,
850
- title: i,
851
- titleAs: d,
852
- titleLinesMax: o,
853
- subtitle: s,
854
- subtitleLinesMax: v,
855
- description: m,
854
+ pretitleLinesMax: i,
855
+ title: n,
856
+ titleAs: o,
857
+ titleLinesMax: s,
858
+ subtitle: d,
859
+ subtitleLinesMax: f,
860
+ description: h,
856
861
  descriptionLinesMax: c
857
862
  })
858
863
  ]
859
864
  }),
860
- !B && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
865
+ !N && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
861
866
  style: (0, _css.applyCssVars)({
862
867
  [_cardcssmistica.vars.topActionsCount]: String(R.length)
863
868
  }),
@@ -865,15 +870,15 @@ const S = ()=>{
865
870
  })
866
871
  ]
867
872
  }),
868
- h && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
873
+ u && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
869
874
  ref: z,
870
- children: h
875
+ children: u
871
876
  }),
872
- (p || g) && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
877
+ (m || C) && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
873
878
  className: _cardcssmistica.actions,
874
879
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_buttongroup.default, {
875
- primaryButton: p,
876
- link: g
880
+ primaryButton: m,
881
+ link: C
877
882
  })
878
883
  })
879
884
  ]
@@ -881,15 +886,16 @@ const S = ()=>{
881
886
  ]
882
887
  }))
883
888
  }),
884
- /* @__PURE__ */ (0, _jsxruntime.jsx)(Q, {
885
- onClose: C,
886
- actions: y,
889
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(U, {
890
+ onClose: y,
891
+ closeButtonLabel: k,
892
+ actions: g,
887
893
  type: "default"
888
894
  })
889
895
  ]
890
896
  });
891
- }), Ja = /*#__PURE__*/ _react.forwardRef((_param, g)=>{
892
- var { icon: a, title: r, titleAs: t = "h3", titleLinesMax: n, subtitle: i, subtitleLinesMax: d, description: o, descriptionLinesMax: s, dataAttributes: v, "aria-label": m, extra: c, isInverse: h = !1, aspectRatio: y } = _param, p = _object_without_properties(_param, [
897
+ }), Ka = /*#__PURE__*/ _react.forwardRef((_param, C)=>{
898
+ var { icon: a, title: r, titleAs: t = "h3", titleLinesMax: i, subtitle: n, subtitleLinesMax: o, description: s, descriptionLinesMax: d, dataAttributes: f, "aria-label": h, extra: c, isInverse: u = !1, aspectRatio: g } = _param, m = _object_without_properties(_param, [
893
899
  "icon",
894
900
  "title",
895
901
  "titleAs",
@@ -904,33 +910,33 @@ const S = ()=>{
904
910
  "isInverse",
905
911
  "aspectRatio"
906
912
  ]);
907
- const { textPresets: N } = (0, _hooks.useTheme)(), x = !!(p.href || p.to || p.onPress), C = h ? _cardcssmistica.touchableCardOverlayInverse : _cardcssmistica.touchableCardOverlay, { text: T, ref: f } = S(), A = m || [
913
+ const { textPresets: x } = (0, _hooks.useTheme)(), T = !!(m.href || m.to || m.onPress), y = u ? _cardcssmistica.touchableCardOverlayInverse : _cardcssmistica.touchableCardOverlay, { text: k, ref: B } = A(), v = h || [
908
914
  r,
909
- i,
910
- o,
911
- T
915
+ n,
916
+ s,
917
+ k
912
918
  ].filter(Boolean).join(" ");
913
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(q, {
919
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(J, {
914
920
  dataAttributes: _object_spread({
915
921
  "component-name": "SnapCard"
916
- }, v),
917
- ref: g,
922
+ }, f),
923
+ ref: C,
918
924
  className: _cardcssmistica.touchableContainer,
919
- aspectRatio: y,
920
- "aria-label": x ? void 0 : m,
925
+ aspectRatio: g,
926
+ "aria-label": T ? void 0 : h,
921
927
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.Boxed, {
922
928
  className: _cardcssmistica.boxed,
923
- isInverse: h,
929
+ isInverse: u,
924
930
  width: "100%",
925
931
  minHeight: "100%",
926
932
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
927
933
  maybe: !0
928
- }, p), {
934
+ }, m), {
929
935
  className: _cardcssmistica.touchable,
930
- "aria-label": x ? A : void 0,
936
+ "aria-label": T ? v : void 0,
931
937
  children: [
932
- x && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
933
- className: C
938
+ T && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
939
+ className: y
934
940
  }),
935
941
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("section", {
936
942
  className: _cardcssmistica.snapCard,
@@ -950,34 +956,34 @@ const S = ()=>{
950
956
  space: 4,
951
957
  children: [
952
958
  r && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, _object_spread_props(_object_spread({}, _text.textProps.text2), {
953
- truncate: n,
954
- weight: N.cardTitle.weight,
959
+ truncate: i,
960
+ weight: x.cardTitle.weight,
955
961
  as: t,
956
962
  hyphens: "auto",
957
963
  children: r
958
964
  })),
959
- i && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
960
- truncate: d,
965
+ n && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
966
+ truncate: o,
961
967
  regular: !0,
962
968
  color: _skincontractcssmistica.vars.colors.textPrimary,
963
969
  as: "p",
964
970
  hyphens: "auto",
965
- children: i
971
+ children: n
966
972
  }),
967
- o && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
968
- truncate: s,
973
+ s && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
974
+ truncate: d,
969
975
  regular: !0,
970
976
  color: _skincontractcssmistica.vars.colors.textSecondary,
971
977
  as: "p",
972
978
  hyphens: "auto",
973
- children: o
979
+ children: s
974
980
  })
975
981
  ]
976
982
  })
977
983
  ]
978
984
  }),
979
985
  c && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
980
- ref: f,
986
+ ref: B,
981
987
  children: c
982
988
  })
983
989
  ]
@@ -986,20 +992,20 @@ const S = ()=>{
986
992
  }))
987
993
  })
988
994
  });
989
- }), Ee = (param)=>{
990
- let { title: a, headline: r, pretitle: t, subtitle: n, description: i, extra: d, headlineRef: o, extraRef: s } = param;
995
+ }), Ge = (param)=>{
996
+ let { title: a, headline: r, pretitle: t, subtitle: i, description: n, extra: o, headlineRef: s, extraRef: d } = param;
991
997
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
992
998
  className: _cardcssmistica.flexColumn,
993
999
  children: [
994
1000
  a && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
995
1001
  style: {
996
- paddingBottom: n || i ? 4 : 0
1002
+ paddingBottom: i || n ? 4 : 0
997
1003
  },
998
1004
  children: a
999
1005
  }),
1000
1006
  r && // assuming that the headline will always be followed by one of: pretitle, title, subtitle, description
1001
1007
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1002
- ref: o,
1008
+ ref: s,
1003
1009
  style: {
1004
1010
  order: -2,
1005
1011
  paddingBottom: 16
@@ -1013,28 +1019,28 @@ const S = ()=>{
1013
1019
  },
1014
1020
  children: t
1015
1021
  }),
1016
- n && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1022
+ i && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1017
1023
  style: {
1018
- paddingBottom: n ? 4 : 0
1024
+ paddingBottom: i ? 4 : 0
1019
1025
  },
1020
- children: n
1026
+ children: i
1021
1027
  }),
1022
- i && // this is tricky, the padding between a headline and a description is 16px
1028
+ n && // this is tricky, the padding between a headline and a description is 16px
1023
1029
  // but the padding between a title|pretitle|subtitle and a description is 8px (4px + 4px)
1024
1030
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1025
1031
  style: {
1026
- paddingTop: t || a || n ? 4 : 0
1032
+ paddingTop: t || a || i ? 4 : 0
1027
1033
  },
1028
- children: i
1034
+ children: n
1029
1035
  }),
1030
- d && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1031
- ref: s,
1032
- children: d
1036
+ o && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1037
+ ref: d,
1038
+ children: o
1033
1039
  })
1034
1040
  ]
1035
1041
  });
1036
- }, Ge = /*#__PURE__*/ _react.forwardRef((_param, z)=>{
1037
- var { isInverse: a, backgroundImage: r, backgroundVideo: t, backgroundVideoRef: n, poster: i, icon: d, headline: o, pretitle: s, pretitleLinesMax: v, title: m, titleAs: c = "h3", titleLinesMax: h, description: y, descriptionLinesMax: p, extra: g, button: N, secondaryButton: x, onClose: C, actions: T, buttonLink: f, dataAttributes: A, width: B, height: M, aspectRatio: V, "aria-label": O } = _param, I = _object_without_properties(_param, [
1042
+ }, He = /*#__PURE__*/ _react.forwardRef((_param, z)=>{
1043
+ var { isInverse: a, backgroundImage: r, backgroundVideo: t, backgroundVideoRef: i, poster: n, icon: o, headline: s, pretitle: d, pretitleLinesMax: f, title: h, titleAs: c = "h3", titleLinesMax: u, description: g, descriptionLinesMax: m, extra: C, button: x, secondaryButton: T, onClose: y, closeButtonLabel: k, actions: B, buttonLink: v, dataAttributes: V, width: N, height: M, aspectRatio: E, "aria-label": O } = _param, w = _object_without_properties(_param, [
1038
1044
  "isInverse",
1039
1045
  "backgroundImage",
1040
1046
  "backgroundVideo",
@@ -1053,6 +1059,7 @@ const S = ()=>{
1053
1059
  "button",
1054
1060
  "secondaryButton",
1055
1061
  "onClose",
1062
+ "closeButtonLabel",
1056
1063
  "actions",
1057
1064
  "buttonLink",
1058
1065
  "dataAttributes",
@@ -1061,24 +1068,24 @@ const S = ()=>{
1061
1068
  "aspectRatio",
1062
1069
  "aria-label"
1063
1070
  ]);
1064
- const R = r !== void 0, k = t !== void 0, H = Pe(r), { video: w, videoAction: U } = Ve(t, i, n), { text: de, ref: Y } = S(), { text: se, ref: le } = S();
1065
- k && (T = U ? [
1066
- U
1071
+ const R = r !== void 0, I = t !== void 0, X = Ve(r), { video: S, videoAction: Y } = Ee(t, n, i), { text: se, ref: Z } = A(), { text: le, ref: ce } = A();
1072
+ I && (B = Y ? [
1073
+ Y
1067
1074
  ] : []);
1068
- const Z = (0, _themevariantcontext.useIsInverseVariant)(), E = R || k, X = E ? "0 0 16px rgba(0,0,0,0.4)" : void 0, j = (T == null ? void 0 : T.length) || C, F = !!(I.href || I.to || I.onPress), ee = R || k ? _cardcssmistica.touchableCardOverlayMedia : a ? _cardcssmistica.touchableCardOverlayInverse : _cardcssmistica.touchableCardOverlay, ce = O || [
1069
- m,
1070
- de,
1071
- s,
1072
- y,
1073
- se
1075
+ const ee = (0, _themevariantcontext.useIsInverseVariant)(), G = R || I, F = G ? "0 0 16px rgba(0,0,0,0.4)" : void 0, j = (B == null ? void 0 : B.length) || y, L = !!(w.href || w.to || w.onPress), ae = R || I ? _cardcssmistica.touchableCardOverlayMedia : a ? _cardcssmistica.touchableCardOverlayInverse : _cardcssmistica.touchableCardOverlay, me = O || [
1076
+ h,
1077
+ se,
1078
+ d,
1079
+ g,
1080
+ le
1074
1081
  ].filter(Boolean).join(" ");
1075
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(q, {
1076
- dataAttributes: A,
1082
+ return /* @__PURE__ */ (0, _jsxruntime.jsxs)(J, {
1083
+ dataAttributes: V,
1077
1084
  ref: z,
1078
- width: B,
1085
+ width: N,
1079
1086
  height: M,
1080
- aspectRatio: V,
1081
- "aria-label": F ? void 0 : O,
1087
+ aspectRatio: E,
1088
+ "aria-label": L ? void 0 : O,
1082
1089
  className: _cardcssmistica.touchableContainer,
1083
1090
  children: [
1084
1091
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.InternalBoxed, {
@@ -1087,88 +1094,88 @@ const S = ()=>{
1087
1094
  width: "100%",
1088
1095
  minHeight: "100%",
1089
1096
  isInverse: a,
1090
- background: R || k ? Z ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverInverse : _skincontractcssmistica.vars.colors.backgroundContainer : void 0,
1097
+ background: R || I ? ee ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverInverse : _skincontractcssmistica.vars.colors.backgroundContainer : void 0,
1091
1098
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
1092
1099
  maybe: !0
1093
- }, I), {
1100
+ }, w), {
1094
1101
  className: _cardcssmistica.touchable,
1095
- "aria-label": F ? ce : void 0,
1102
+ "aria-label": L ? me : void 0,
1096
1103
  children: [
1097
- F && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1098
- className: ee
1104
+ L && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1105
+ className: ae
1099
1106
  }),
1100
1107
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
1101
1108
  className: _cardcssmistica.displayCardContainer,
1102
1109
  children: [
1103
- (R || k) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
1104
- isInverse: Z,
1110
+ (R || I) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
1111
+ isInverse: ee,
1105
1112
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1106
1113
  className: _cardcssmistica.displayCardBackground,
1107
- children: k ? w : H
1114
+ children: I ? S : X
1108
1115
  })
1109
1116
  }),
1110
1117
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
1111
1118
  className: _cardcssmistica.displayCardContent,
1112
1119
  style: {
1113
- paddingTop: E && !d && !j && !k ? 0 : 24
1120
+ paddingTop: G && !o && !j && !I ? 0 : 24
1114
1121
  },
1115
1122
  children: [
1116
- d ? /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1123
+ o ? /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1117
1124
  style: (0, _css.applyCssVars)({
1118
1125
  [_imagecssmistica.vars.mediaBorderRadius]: _skincontractcssmistica.vars.borderRadii.mediaSmall
1119
1126
  }),
1120
1127
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
1121
- paddingBottom: E ? 0 : 40,
1128
+ paddingBottom: G ? 0 : 40,
1122
1129
  paddingX: 24,
1123
- children: d
1130
+ children: o
1124
1131
  })
1125
1132
  }) : /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
1126
- paddingBottom: j || k ? E ? 24 : 64 : 0
1133
+ paddingBottom: j || I ? G ? 24 : 64 : 0
1127
1134
  }),
1128
1135
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
1129
1136
  paddingX: 24,
1130
- paddingTop: E ? 40 : 0,
1137
+ paddingTop: G ? 40 : 0,
1131
1138
  paddingBottom: 24,
1132
- className: E ? _cardcssmistica.displayCardGradient : void 0,
1139
+ className: G ? _cardcssmistica.displayCardGradient : void 0,
1133
1140
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
1134
1141
  space: 24,
1135
1142
  children: [
1136
- /* @__PURE__ */ (0, _jsxruntime.jsx)(Ee, {
1137
- title: m ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text6, {
1143
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(Ge, {
1144
+ title: h ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text6, {
1138
1145
  forceMobileSizes: !0,
1139
- truncate: h,
1146
+ truncate: u,
1140
1147
  as: c,
1141
- textShadow: X,
1148
+ textShadow: F,
1142
1149
  hyphens: "auto",
1143
- children: m
1150
+ children: h
1144
1151
  }) : void 0,
1145
- headline: o,
1146
- pretitle: s ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1152
+ headline: s,
1153
+ pretitle: d ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1147
1154
  forceMobileSizes: !0,
1148
- truncate: v,
1155
+ truncate: f,
1149
1156
  as: "div",
1150
1157
  regular: !0,
1151
- textShadow: X,
1152
- children: s
1158
+ textShadow: F,
1159
+ children: d
1153
1160
  }) : void 0,
1154
- description: y ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text3, {
1161
+ description: g ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text3, {
1155
1162
  forceMobileSizes: !0,
1156
- truncate: p,
1163
+ truncate: m,
1157
1164
  as: "p",
1158
1165
  regular: !0,
1159
- color: E ? _skincontractcssmistica.vars.colors.textPrimary : _skincontractcssmistica.vars.colors.textSecondary,
1160
- textShadow: X,
1166
+ color: G ? _skincontractcssmistica.vars.colors.textPrimary : _skincontractcssmistica.vars.colors.textSecondary,
1167
+ textShadow: F,
1161
1168
  hyphens: "auto",
1162
- children: y
1169
+ children: g
1163
1170
  }) : void 0,
1164
- extra: g,
1165
- headlineRef: Y,
1166
- extraRef: le
1171
+ extra: C,
1172
+ headlineRef: Z,
1173
+ extraRef: ce
1167
1174
  }),
1168
- (N || x || f) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_buttongroup.default, {
1169
- primaryButton: N,
1170
- secondaryButton: x,
1171
- link: f
1175
+ (x || T || v) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_buttongroup.default, {
1176
+ primaryButton: x,
1177
+ secondaryButton: T,
1178
+ link: v
1172
1179
  })
1173
1180
  ]
1174
1181
  })
@@ -1180,36 +1187,37 @@ const S = ()=>{
1180
1187
  ]
1181
1188
  }))
1182
1189
  }),
1183
- /* @__PURE__ */ (0, _jsxruntime.jsx)(Q, {
1184
- onClose: C,
1185
- actions: T,
1186
- type: R || k ? "media" : a ? "inverse" : "default"
1190
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(U, {
1191
+ onClose: y,
1192
+ closeButtonLabel: k,
1193
+ actions: B,
1194
+ type: R || I ? "media" : a ? "inverse" : "default"
1187
1195
  })
1188
1196
  ]
1189
1197
  });
1190
- }), Ka = /*#__PURE__*/ _react.forwardRef((_param, t)=>{
1198
+ }), Qa = /*#__PURE__*/ _react.forwardRef((_param, t)=>{
1191
1199
  var { dataAttributes: a } = _param, r = _object_without_properties(_param, [
1192
1200
  "dataAttributes"
1193
1201
  ]);
1194
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(Ge, _object_spread_props(_object_spread({}, r), {
1202
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(He, _object_spread_props(_object_spread({}, r), {
1195
1203
  ref: t,
1196
1204
  isInverse: !0,
1197
1205
  dataAttributes: _object_spread({
1198
1206
  "component-name": "DisplayMediaCard"
1199
1207
  }, a)
1200
1208
  }));
1201
- }), Qa = /*#__PURE__*/ _react.forwardRef((_param, t)=>{
1209
+ }), Ua = /*#__PURE__*/ _react.forwardRef((_param, t)=>{
1202
1210
  var { dataAttributes: a } = _param, r = _object_without_properties(_param, [
1203
1211
  "dataAttributes"
1204
1212
  ]);
1205
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(Ge, _object_spread_props(_object_spread({}, r), {
1213
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(He, _object_spread_props(_object_spread({}, r), {
1206
1214
  ref: t,
1207
1215
  dataAttributes: _object_spread({
1208
1216
  "component-name": "DisplayDataCard"
1209
1217
  }, a)
1210
1218
  }));
1211
- }), Ua = /*#__PURE__*/ _react.forwardRef((_param, k)=>{
1212
- var { dataAttributes: a, backgroundImage: r, backgroundVideo: t, poster: n, backgroundVideoRef: i, width: d, height: o, aspectRatio: s = "7:10", ariaLabel: v, ["aria-label"]: m = v, actions: c, onClose: h, icon: y, headline: p, pretitle: g, pretitleLinesMax: N, title: x, titleAs: C = "h3", titleLinesMax: T, subtitle: f, subtitleLinesMax: A, description: B, descriptionLinesMax: M, extra: V, variant: O, isInverse: I, backgroundColor: z } = _param, R = _object_without_properties(_param, [
1219
+ }), Ya = /*#__PURE__*/ _react.forwardRef((_param, I)=>{
1220
+ var { dataAttributes: a, backgroundImage: r, backgroundVideo: t, poster: i, backgroundVideoRef: n, width: o, height: s, aspectRatio: d = "7:10", ariaLabel: f, ["aria-label"]: h = f, actions: c, onClose: u, closeButtonLabel: g, icon: m, headline: C, pretitle: x, pretitleLinesMax: T, title: y, titleAs: k = "h3", titleLinesMax: B, subtitle: v, subtitleLinesMax: V, description: N, descriptionLinesMax: M, extra: E, variant: O, isInverse: w, backgroundColor: z } = _param, R = _object_without_properties(_param, [
1213
1221
  "dataAttributes",
1214
1222
  "backgroundImage",
1215
1223
  "backgroundVideo",
@@ -1222,6 +1230,7 @@ const S = ()=>{
1222
1230
  "aria-label",
1223
1231
  "actions",
1224
1232
  "onClose",
1233
+ "closeButtonLabel",
1225
1234
  "icon",
1226
1235
  "headline",
1227
1236
  "pretitle",
@@ -1238,68 +1247,68 @@ const S = ()=>{
1238
1247
  "isInverse",
1239
1248
  "backgroundColor"
1240
1249
  ]);
1241
- const H = r !== void 0, w = t !== void 0, U = Pe(r), { video: de, videoAction: Y } = Ve(t, n, i), { text: se, ref: le } = S(), { text: Z, ref: E } = S();
1242
- w && (c = Y ? [
1243
- Y
1250
+ const X = r !== void 0, S = t !== void 0, Y = Ve(r), { video: se, videoAction: Z } = Ee(t, i, n), { text: le, ref: ce } = A(), { text: ee, ref: G } = A();
1251
+ S && (c = Z ? [
1252
+ Z
1244
1253
  ] : []);
1245
- const X = (0, _themevariantcontext.useIsInverseVariant)(), j = H || w, F = j ? "0 0 16px rgba(0,0,0,0.4)" : void 0, ee = (c == null ? void 0 : c.length) || h, { textPresets: ce } = (0, _hooks.useTheme)(), ae = !!(R.href || R.to || R.onPress), re = O || (I ? "inverse" : "default"), He = ()=>z || ({
1254
+ const F = (0, _themevariantcontext.useIsInverseVariant)(), j = X || S, L = j ? "0 0 16px rgba(0,0,0,0.4)" : void 0, ae = (c == null ? void 0 : c.length) || u, { textPresets: me } = (0, _hooks.useTheme)(), re = !!(R.href || R.to || R.onPress), te = O || (w ? "inverse" : "default"), Xe = ()=>z || ({
1246
1255
  default: _skincontractcssmistica.vars.colors.backgroundContainer,
1247
- inverse: X ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverInverse : _skincontractcssmistica.vars.colors.backgroundBrand,
1256
+ inverse: F ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverInverse : _skincontractcssmistica.vars.colors.backgroundBrand,
1248
1257
  alternative: _skincontractcssmistica.vars.colors.backgroundAlternative
1249
- })[re], Xe = H || w ? _cardcssmistica.touchableCardOverlayMedia : re === "inverse" ? _cardcssmistica.touchableCardOverlayInverse : _cardcssmistica.touchableCardOverlay, Fe = m || [
1258
+ })[te], Fe = X || S ? _cardcssmistica.touchableCardOverlayMedia : te === "inverse" ? _cardcssmistica.touchableCardOverlayInverse : _cardcssmistica.touchableCardOverlay, Le = h || [
1259
+ y,
1260
+ le,
1250
1261
  x,
1251
- se,
1252
- g,
1253
- f,
1254
- B,
1255
- Z
1262
+ v,
1263
+ N,
1264
+ ee
1256
1265
  ].filter(Boolean).join(" ");
1257
- return /* @__PURE__ */ (0, _jsxruntime.jsxs)(q, {
1258
- width: d,
1259
- height: o,
1266
+ return /* @__PURE__ */ (0, _jsxruntime.jsxs)(J, {
1267
+ width: o,
1268
+ height: s,
1260
1269
  dataAttributes: _object_spread({
1261
1270
  "component-name": "PosterCard"
1262
1271
  }, a),
1263
- ref: k,
1264
- aspectRatio: s,
1272
+ ref: I,
1273
+ aspectRatio: d,
1265
1274
  className: _cardcssmistica.touchableContainer,
1266
- "aria-label": ae ? void 0 : m,
1275
+ "aria-label": re ? void 0 : h,
1267
1276
  children: [
1268
1277
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.InternalBoxed, {
1269
1278
  borderRadius: _skincontractcssmistica.vars.borderRadii.legacyDisplay,
1270
1279
  className: _cardcssmistica.boxed,
1271
1280
  width: "100%",
1272
1281
  minHeight: "100%",
1273
- isInverse: H || w || re === "inverse",
1274
- background: H || w ? X ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverInverse : _skincontractcssmistica.vars.colors.backgroundContainer : He(),
1282
+ isInverse: X || S || te === "inverse",
1283
+ background: X || S ? F ? _skincontractcssmistica.vars.colors.backgroundContainerBrandOverInverse : _skincontractcssmistica.vars.colors.backgroundContainer : Xe(),
1275
1284
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_touchable.BaseTouchable, _object_spread_props(_object_spread({
1276
1285
  maybe: !0
1277
1286
  }, R), {
1278
1287
  className: _cardcssmistica.touchable,
1279
- "aria-label": ae ? Fe : void 0,
1288
+ "aria-label": re ? Le : void 0,
1280
1289
  children: [
1281
- ae && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1282
- className: Xe
1290
+ re && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1291
+ className: Fe
1283
1292
  }),
1284
1293
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
1285
1294
  className: _cardcssmistica.displayCardContainer,
1286
- "aria-hidden": ae,
1295
+ "aria-hidden": re,
1287
1296
  children: [
1288
- (H || w) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
1289
- isInverse: X,
1297
+ (X || S) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_themevariantcontext.ThemeVariant, {
1298
+ isInverse: F,
1290
1299
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1291
1300
  className: _cardcssmistica.displayCardBackground,
1292
- children: w ? de : U
1301
+ children: S ? se : Y
1293
1302
  })
1294
1303
  }),
1295
1304
  /* @__PURE__ */ (0, _jsxruntime.jsxs)(_box.default, {
1296
1305
  className: _cardcssmistica.displayCardContent,
1297
- paddingTop: j && !y && !ee && !w ? 0 : {
1298
- mobile: y ? 16 : 24,
1306
+ paddingTop: j && !m && !ae && !S ? 0 : {
1307
+ mobile: m ? 16 : 24,
1299
1308
  desktop: 24
1300
1309
  },
1301
1310
  children: [
1302
- y ? /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1311
+ m ? /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
1303
1312
  style: (0, _css.applyCssVars)({
1304
1313
  [_imagecssmistica.vars.mediaBorderRadius]: _skincontractcssmistica.vars.borderRadii.mediaSmall
1305
1314
  }),
@@ -1309,10 +1318,10 @@ const S = ()=>{
1309
1318
  mobile: 16,
1310
1319
  desktop: 24
1311
1320
  },
1312
- children: y
1321
+ children: m
1313
1322
  })
1314
1323
  }) : /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
1315
- paddingBottom: ee || w ? j ? 24 : 64 : 0
1324
+ paddingBottom: ae || S ? j ? 24 : 64 : 0
1316
1325
  }),
1317
1326
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
1318
1327
  paddingX: {
@@ -1322,42 +1331,42 @@ const S = ()=>{
1322
1331
  paddingTop: j ? 40 : 0,
1323
1332
  paddingBottom: 24,
1324
1333
  className: j ? _cardcssmistica.displayCardGradient : void 0,
1325
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(Ee, {
1326
- title: x ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, _object_spread_props(_object_spread({}, _text.textProps.text4), {
1327
- truncate: T,
1328
- weight: ce.cardTitle.weight,
1329
- as: C,
1330
- children: x
1334
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(Ge, {
1335
+ title: y ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text, _object_spread_props(_object_spread({}, _text.textProps.text4), {
1336
+ truncate: B,
1337
+ weight: me.cardTitle.weight,
1338
+ as: k,
1339
+ children: y
1331
1340
  })) : void 0,
1332
- headline: p,
1333
- pretitle: g ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1341
+ headline: C,
1342
+ pretitle: x ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1334
1343
  forceMobileSizes: !0,
1335
- truncate: N,
1344
+ truncate: T,
1336
1345
  as: "div",
1337
1346
  regular: !0,
1338
- textShadow: F,
1339
- children: g
1347
+ textShadow: L,
1348
+ children: x
1340
1349
  }) : void 0,
1341
- subtitle: f ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1350
+ subtitle: v ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1342
1351
  forceMobileSizes: !0,
1343
- truncate: A,
1352
+ truncate: V,
1344
1353
  as: "div",
1345
1354
  regular: !0,
1346
- textShadow: F,
1347
- children: f
1355
+ textShadow: L,
1356
+ children: v
1348
1357
  }) : void 0,
1349
- description: B ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1358
+ description: N ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
1350
1359
  forceMobileSizes: !0,
1351
1360
  truncate: M,
1352
1361
  as: "p",
1353
1362
  regular: !0,
1354
- textShadow: F,
1363
+ textShadow: L,
1355
1364
  color: j ? _skincontractcssmistica.vars.colors.textPrimary : _skincontractcssmistica.vars.colors.textSecondary,
1356
- children: B
1365
+ children: N
1357
1366
  }) : void 0,
1358
- headlineRef: le,
1359
- extra: V,
1360
- extraRef: E
1367
+ headlineRef: ce,
1368
+ extra: E,
1369
+ extraRef: G
1361
1370
  })
1362
1371
  })
1363
1372
  ]
@@ -1367,10 +1376,11 @@ const S = ()=>{
1367
1376
  ]
1368
1377
  }))
1369
1378
  }),
1370
- /* @__PURE__ */ (0, _jsxruntime.jsx)(Q, {
1371
- onClose: h,
1379
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(U, {
1380
+ onClose: u,
1381
+ closeButtonLabel: g,
1372
1382
  actions: c,
1373
- type: H || w ? "media" : re === "inverse" ? "inverse" : "default"
1383
+ type: X || S ? "media" : te === "inverse" ? "inverse" : "default"
1374
1384
  })
1375
1385
  ]
1376
1386
  });