@20minutes/hela 2.21.3 → 2.21.5
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.
package/dist/index.es.js
CHANGED
|
@@ -10,28 +10,28 @@ function x0() {
|
|
|
10
10
|
(function() {
|
|
11
11
|
var s = {}.hasOwnProperty;
|
|
12
12
|
function c() {
|
|
13
|
-
for (var
|
|
13
|
+
for (var r = "", i = 0; i < arguments.length; i++) {
|
|
14
14
|
var o = arguments[i];
|
|
15
|
-
o && (
|
|
15
|
+
o && (r = n(r, l(o)));
|
|
16
16
|
}
|
|
17
|
-
return
|
|
17
|
+
return r;
|
|
18
18
|
}
|
|
19
|
-
function l(
|
|
20
|
-
if (typeof
|
|
21
|
-
return
|
|
22
|
-
if (typeof
|
|
19
|
+
function l(r) {
|
|
20
|
+
if (typeof r == "string" || typeof r == "number")
|
|
21
|
+
return r;
|
|
22
|
+
if (typeof r != "object")
|
|
23
23
|
return "";
|
|
24
|
-
if (Array.isArray(
|
|
25
|
-
return c.apply(null,
|
|
26
|
-
if (
|
|
27
|
-
return
|
|
24
|
+
if (Array.isArray(r))
|
|
25
|
+
return c.apply(null, r);
|
|
26
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
27
|
+
return r.toString();
|
|
28
28
|
var i = "";
|
|
29
|
-
for (var o in
|
|
30
|
-
s.call(
|
|
29
|
+
for (var o in r)
|
|
30
|
+
s.call(r, o) && r[o] && (i = n(i, o));
|
|
31
31
|
return i;
|
|
32
32
|
}
|
|
33
|
-
function r
|
|
34
|
-
return i ?
|
|
33
|
+
function n(r, i) {
|
|
34
|
+
return i ? r ? r + " " + i : r + i : r;
|
|
35
35
|
}
|
|
36
36
|
a.exports ? (c.default = c, a.exports = c) : window.classNames = c;
|
|
37
37
|
})();
|
|
@@ -43,14 +43,14 @@ const p = /* @__PURE__ */ v0(f0), Te = ({
|
|
|
43
43
|
variant: s,
|
|
44
44
|
isFullscreenMobile: c = !1,
|
|
45
45
|
hasNoBgColorMobile: l = !1,
|
|
46
|
-
...
|
|
46
|
+
...n
|
|
47
47
|
}) => {
|
|
48
|
-
const
|
|
48
|
+
const r = a.split("/").pop(), i = a.substring(0, a.lastIndexOf("/")), o = typeof r == "string" && r.startsWith("ban_mtf"), d = /* @__PURE__ */ e(
|
|
49
49
|
x,
|
|
50
50
|
{
|
|
51
|
-
...o ? {} :
|
|
52
|
-
id: `dfp_${
|
|
53
|
-
"data-dfp-name":
|
|
51
|
+
...o ? {} : n,
|
|
52
|
+
id: `dfp_${r}`,
|
|
53
|
+
"data-dfp-name": r,
|
|
54
54
|
"data-dfp-path": i,
|
|
55
55
|
className: p(
|
|
56
56
|
"c-4b8m1ese3e",
|
|
@@ -63,7 +63,7 @@ const p = /* @__PURE__ */ v0(f0), Te = ({
|
|
|
63
63
|
{ "c-placeolder--com": s === "COM" },
|
|
64
64
|
{ "c-placeolder--mobile-fullscreen": c },
|
|
65
65
|
{ "c-placeolder--mobile-has-no-bg-color": l },
|
|
66
|
-
|
|
66
|
+
n.className
|
|
67
67
|
)
|
|
68
68
|
}
|
|
69
69
|
);
|
|
@@ -73,8 +73,8 @@ const p = /* @__PURE__ */ v0(f0), Te = ({
|
|
|
73
73
|
variant: s = "success",
|
|
74
74
|
title: c,
|
|
75
75
|
description: l,
|
|
76
|
-
fill:
|
|
77
|
-
className:
|
|
76
|
+
fill: n,
|
|
77
|
+
className: r,
|
|
78
78
|
iconProps: i,
|
|
79
79
|
withCloseButton: o,
|
|
80
80
|
closeButtonProps: d
|
|
@@ -83,7 +83,7 @@ const p = /* @__PURE__ */ v0(f0), Te = ({
|
|
|
83
83
|
{
|
|
84
84
|
p: "s",
|
|
85
85
|
gap: "s",
|
|
86
|
-
className: p("c-alert", `c-alert--${s}`, { "c-alert--fill":
|
|
86
|
+
className: p("c-alert", `c-alert--${s}`, { "c-alert--fill": n }, r),
|
|
87
87
|
children: [
|
|
88
88
|
i && /* @__PURE__ */ e(N, { size: 18, mt: "xxs-2", ...i }),
|
|
89
89
|
/* @__PURE__ */ t("div", { children: [
|
|
@@ -110,9 +110,9 @@ const p = /* @__PURE__ */ v0(f0), Te = ({
|
|
|
110
110
|
inputProps: s,
|
|
111
111
|
dataAttributes: c,
|
|
112
112
|
apiUrl: l,
|
|
113
|
-
triggerMessage:
|
|
114
|
-
...
|
|
115
|
-
}) => /* @__PURE__ */ t(x, { id: a, className: "c-autocomplete", ...c, ...
|
|
113
|
+
triggerMessage: n = "Tapez pour rechercher...",
|
|
114
|
+
...r
|
|
115
|
+
}) => /* @__PURE__ */ t(x, { id: a, className: "c-autocomplete", ...c, ...r, children: [
|
|
116
116
|
/* @__PURE__ */ e("label", { htmlFor: `${a}-search`, className: "u-mask", children: s?.label || "Recherche" }),
|
|
117
117
|
/* @__PURE__ */ t("div", { className: "c-autocomplete__input-wrapper", children: [
|
|
118
118
|
/* @__PURE__ */ e(
|
|
@@ -126,7 +126,7 @@ const p = /* @__PURE__ */ v0(f0), Te = ({
|
|
|
126
126
|
name: s?.name || "q",
|
|
127
127
|
isRounded: s?.isRounded ?? !0,
|
|
128
128
|
"data-api-url": l,
|
|
129
|
-
"data-trigger-message":
|
|
129
|
+
"data-trigger-message": n,
|
|
130
130
|
...s
|
|
131
131
|
}
|
|
132
132
|
),
|
|
@@ -138,8 +138,8 @@ const p = /* @__PURE__ */ v0(f0), Te = ({
|
|
|
138
138
|
alt: s = "",
|
|
139
139
|
color: c,
|
|
140
140
|
variant: l = "default",
|
|
141
|
-
streakBadge:
|
|
142
|
-
className:
|
|
141
|
+
streakBadge: n,
|
|
142
|
+
className: r,
|
|
143
143
|
...i
|
|
144
144
|
}) => {
|
|
145
145
|
const o = !!a, d = p(
|
|
@@ -150,9 +150,9 @@ const p = /* @__PURE__ */ v0(f0), Te = ({
|
|
|
150
150
|
"c-avatar--has-border": o && c,
|
|
151
151
|
"c-avatar--with-placeholder": !o
|
|
152
152
|
},
|
|
153
|
-
|
|
153
|
+
r
|
|
154
154
|
), u = a || "data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%3E%3C/svg%3E";
|
|
155
|
-
return
|
|
155
|
+
return n === void 0 ? /* @__PURE__ */ e(x, { ...i, as: "img", className: d, src: u, alt: s }) : /* @__PURE__ */ t(x, { ...i, className: "c-avatar-container", children: [
|
|
156
156
|
/* @__PURE__ */ e(x, { as: "img", className: d, src: u, alt: s }),
|
|
157
157
|
/* @__PURE__ */ t(
|
|
158
158
|
h,
|
|
@@ -164,7 +164,7 @@ const p = /* @__PURE__ */ v0(f0), Te = ({
|
|
|
164
164
|
px: "xxs-2",
|
|
165
165
|
children: [
|
|
166
166
|
/* @__PURE__ */ e(N, { name: "heat", size: 10, color: "orange" }),
|
|
167
|
-
/* @__PURE__ */ e(g, { as: "span", color: "ultramarine", size: "xxs", weight: "bold", children:
|
|
167
|
+
/* @__PURE__ */ e(g, { as: "span", color: "ultramarine", size: "xxs", weight: "bold", children: n })
|
|
168
168
|
]
|
|
169
169
|
}
|
|
170
170
|
)
|
|
@@ -558,6 +558,10 @@ const p = /* @__PURE__ */ v0(f0), Te = ({
|
|
|
558
558
|
value: "svg/stats.svg",
|
|
559
559
|
key: "{asset.icon.stats}"
|
|
560
560
|
},
|
|
561
|
+
subscription: {
|
|
562
|
+
value: "svg/subscription.svg",
|
|
563
|
+
key: "{asset.icon.subscription}"
|
|
564
|
+
},
|
|
561
565
|
thumb: {
|
|
562
566
|
value: "svg/thumb.svg",
|
|
563
567
|
key: "{asset.icon.thumb}"
|
|
@@ -1675,8 +1679,8 @@ const H = F(
|
|
|
1675
1679
|
variant: s,
|
|
1676
1680
|
color: c = s === "ghost" || s === "link" ? void 0 : "primary",
|
|
1677
1681
|
children: l,
|
|
1678
|
-
iconProps:
|
|
1679
|
-
counter:
|
|
1682
|
+
iconProps: n,
|
|
1683
|
+
counter: r,
|
|
1680
1684
|
isCentered: i = !1,
|
|
1681
1685
|
isSquare: o = !1,
|
|
1682
1686
|
isFullWidth: d = !1,
|
|
@@ -1717,9 +1721,9 @@ const H = F(
|
|
|
1717
1721
|
_?.className
|
|
1718
1722
|
),
|
|
1719
1723
|
children: [
|
|
1720
|
-
|
|
1724
|
+
n && /* @__PURE__ */ e(N, { ...n }),
|
|
1721
1725
|
l,
|
|
1722
|
-
(
|
|
1726
|
+
(r === 0 || r) && /* @__PURE__ */ e(
|
|
1723
1727
|
h,
|
|
1724
1728
|
{
|
|
1725
1729
|
justifyContent: "center",
|
|
@@ -1729,7 +1733,7 @@ const H = F(
|
|
|
1729
1733
|
px: "xxs",
|
|
1730
1734
|
radius: "s",
|
|
1731
1735
|
className: "c-btn__counter",
|
|
1732
|
-
children:
|
|
1736
|
+
children: r
|
|
1733
1737
|
}
|
|
1734
1738
|
),
|
|
1735
1739
|
v && /* @__PURE__ */ e("div", { className: "c-btn__close-progress" })
|
|
@@ -1744,8 +1748,8 @@ const v2 = ({
|
|
|
1744
1748
|
className: s,
|
|
1745
1749
|
required: c,
|
|
1746
1750
|
label: l,
|
|
1747
|
-
variant:
|
|
1748
|
-
variantLabel:
|
|
1751
|
+
variant: n,
|
|
1752
|
+
variantLabel: r = "default",
|
|
1749
1753
|
hint: i,
|
|
1750
1754
|
error: o,
|
|
1751
1755
|
...d
|
|
@@ -1758,7 +1762,7 @@ const v2 = ({
|
|
|
1758
1762
|
className: p(
|
|
1759
1763
|
"c-checkbox__input",
|
|
1760
1764
|
{
|
|
1761
|
-
[`c-checkbox__input--${
|
|
1765
|
+
[`c-checkbox__input--${n}`]: n
|
|
1762
1766
|
},
|
|
1763
1767
|
s
|
|
1764
1768
|
),
|
|
@@ -1771,7 +1775,7 @@ const v2 = ({
|
|
|
1771
1775
|
"label",
|
|
1772
1776
|
{
|
|
1773
1777
|
htmlFor: a,
|
|
1774
|
-
className: p("c-checkbox__label", `c-checkbox__label--${
|
|
1778
|
+
className: p("c-checkbox__label", `c-checkbox__label--${r}`),
|
|
1775
1779
|
children: [
|
|
1776
1780
|
l,
|
|
1777
1781
|
c && /* @__PURE__ */ t(g, { as: "span", size: "xxs", weight: "regular", children: [
|
|
@@ -1797,8 +1801,8 @@ const v2 = ({
|
|
|
1797
1801
|
),
|
|
1798
1802
|
i && /* @__PURE__ */ e(g, { as: "span", id: `${a}-hint`, mt: "xxs-2", ml: "xxs-2", className: "u-mask", children: i })
|
|
1799
1803
|
] }), G = F(
|
|
1800
|
-
({ text: a, color: s = "black", thickness: c = "thin", ...l },
|
|
1801
|
-
const
|
|
1804
|
+
({ text: a, color: s = "black", thickness: c = "thin", ...l }, n) => {
|
|
1805
|
+
const r = /* @__PURE__ */ e(
|
|
1802
1806
|
I,
|
|
1803
1807
|
{
|
|
1804
1808
|
bg: s,
|
|
@@ -1812,17 +1816,17 @@ const v2 = ({
|
|
|
1812
1816
|
h,
|
|
1813
1817
|
{
|
|
1814
1818
|
...l,
|
|
1815
|
-
ref:
|
|
1819
|
+
ref: n,
|
|
1816
1820
|
className: p(
|
|
1817
1821
|
"c-divider",
|
|
1818
1822
|
{ "c-divider--has-text": !!a },
|
|
1819
1823
|
l?.className
|
|
1820
1824
|
),
|
|
1821
1825
|
children: a ? /* @__PURE__ */ t(j, { children: [
|
|
1822
|
-
|
|
1826
|
+
r,
|
|
1823
1827
|
/* @__PURE__ */ e(I, { px: "xxs-2", className: "c-divider__text", children: /* @__PURE__ */ e(g, { size: "xxs", color: s, textTransform: "uppercase", children: a }) }),
|
|
1824
|
-
|
|
1825
|
-
] }) :
|
|
1828
|
+
r
|
|
1829
|
+
] }) : r
|
|
1826
1830
|
}
|
|
1827
1831
|
);
|
|
1828
1832
|
}
|
|
@@ -1846,8 +1850,8 @@ const v2 = ({
|
|
|
1846
1850
|
}
|
|
1847
1851
|
)
|
|
1848
1852
|
), x2 = ["quarter", "half", "three-quarter"], f2 = ["small", "medium", "big"], S0 = (a) => typeof a == "string" && _0.includes(a), N = F(
|
|
1849
|
-
({ name: a, size: s = 28, isRounded: c = !1, border: l, rotation:
|
|
1850
|
-
const u = Array.isArray(s) ? s?.[0] : s, m = Array.isArray(s) ? s?.[1] : s, v = !
|
|
1853
|
+
({ name: a, size: s = 28, isRounded: c = !1, border: l, rotation: n, svgTitle: r, color: i, ...o }, d) => {
|
|
1854
|
+
const u = Array.isArray(s) ? s?.[0] : s, m = Array.isArray(s) ? s?.[1] : s, v = !r, f = S0(i);
|
|
1851
1855
|
return /* @__PURE__ */ e(
|
|
1852
1856
|
x,
|
|
1853
1857
|
{
|
|
@@ -1860,7 +1864,7 @@ const v2 = ({
|
|
|
1860
1864
|
{
|
|
1861
1865
|
[`c-icon--has-border-${l}`]: l,
|
|
1862
1866
|
"c-icon--is-rounded": c,
|
|
1863
|
-
[`c-icon--${
|
|
1867
|
+
[`c-icon--${n}`]: n,
|
|
1864
1868
|
[`c-icon--${i}`]: f
|
|
1865
1869
|
},
|
|
1866
1870
|
o?.className
|
|
@@ -1871,10 +1875,10 @@ const v2 = ({
|
|
|
1871
1875
|
width: u,
|
|
1872
1876
|
height: m,
|
|
1873
1877
|
role: "img",
|
|
1874
|
-
"aria-label":
|
|
1878
|
+
"aria-label": r || void 0,
|
|
1875
1879
|
"aria-hidden": v ? "true" : void 0,
|
|
1876
1880
|
children: [
|
|
1877
|
-
|
|
1881
|
+
r && /* @__PURE__ */ e("title", { children: r }),
|
|
1878
1882
|
a === "circle" ? /* @__PURE__ */ e("circle", {}) : /* @__PURE__ */ e("use", { xlinkHref: `#${a}` })
|
|
1879
1883
|
]
|
|
1880
1884
|
}
|
|
@@ -2905,6 +2909,10 @@ const v2 = ({
|
|
|
2905
2909
|
d: "M.75 7.75h4.5v8.5H.75zM8.75.75h4.5v15.5h-4.5zM16.75 5.75h4.5v10.5h-4.5z"
|
|
2906
2910
|
}
|
|
2907
2911
|
) }),
|
|
2912
|
+
/* @__PURE__ */ t("symbol", { viewBox: "0 0 18 21", id: "subscription", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2913
|
+
/* @__PURE__ */ e("path", { d: "M8.8 20.5c-.3 0-.5 0-.8-.2C-.4 16.7-.2 7.2.1 4.4c0-.8.6-1.4 1.3-1.7L8.1.1c.5-.2 1-.2 1.5 0l6.7 2.6c.7.3 1.2.9 1.3 1.7.3 2.8.5 12.3-7.9 15.9-.3.1-.5.2-.8.2Zm0-18.8L2.1 4.3c-.1 0-.2.2-.2.3-.3 2.5-.5 11.1 6.9 14.2h.3c7.4-3.1 7.2-11.6 6.9-14.2 0-.1 0-.2-.2-.3S9.1 1.7 9.1 1.7H9Z" }),
|
|
2914
|
+
/* @__PURE__ */ e("path", { d: "m6.1 13.5 1.1-3.2-2.8-2h3.4l1-3.2 1.1 3.2h3.3l-2.7 2 1.1 3.2-2.8-2-2.7 2z" })
|
|
2915
|
+
] }),
|
|
2908
2916
|
/* @__PURE__ */ e("symbol", { viewBox: "0 0 25 20", id: "thumb", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
|
|
2909
2917
|
"path",
|
|
2910
2918
|
{
|
|
@@ -3003,7 +3011,7 @@ const v2 = ({
|
|
|
3003
3011
|
}
|
|
3004
3012
|
) }),
|
|
3005
3013
|
/* @__PURE__ */ t("symbol", { fill: "none", viewBox: "0 0 75 79", id: "world-foot-2026", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3006
|
-
/* @__PURE__ */ t("g", { clipPath: "url(#
|
|
3014
|
+
/* @__PURE__ */ t("g", { clipPath: "url(#fia)", children: [
|
|
3007
3015
|
/* @__PURE__ */ e(
|
|
3008
3016
|
"path",
|
|
3009
3017
|
{
|
|
@@ -3037,11 +3045,11 @@ const v2 = ({
|
|
|
3037
3045
|
d: "m56.886 12.737-.908-2.919-.034.146-.939 2.773-2.831.828 2.831.745.939 3.002.034.142.908-3.144 2.896-.745-2.896-.828Zm-38.87 22.079-.908-2.919-.034.146-.94 2.773-2.83.828 2.83.742.94 3.005.034.143.908-3.148 2.896-.742-2.896-.828Zm10.843 22.083c-.736.452-1.356 1.218-2.146 1.62-.486-2.103-3.383-5.464-.343-6.77.227-.148.443-.302.613-.476.003.31.019.622.042.935.135 1.551.597 3.171 1.595 4.366l.239.321v.004ZM10.322 27.87c-.35.533-.135 1.425-.727 1.568-1.613.328-2.714-1.257-3.285-2.723-.327-.707.071-1.526.623-2.1.602 1.332 1.662 2.487 3.055 3.113.206.09.332.138.332.138l.002.003Zm5.571-6.681c-.806.557-1.769.654-2.536 1.23 0-2.607-1.54-6.663 2.212-7.146 0 1.837 0 3.67.223 5.475l.1.441Zm31.933 30.255c.736.453 1.356 1.218 2.146 1.62.486-2.103 3.383-5.463.343-6.77a3.534 3.534 0 0 1-.612-.476c-.004.31-.02.623-.043.936-.135 1.55-.597 3.17-1.595 4.366l-.239.32v.004ZM45.652 8.927c.578.266.867 1.136 1.445.943 1.541-.58 1.638-2.51 1.349-4.056-.097-.774-.867-1.257-1.638-1.45.193 1.45-.096 2.993-.948 4.265-.127.185-.208.294-.208.294v.004ZM59.7 38.477c.729-.05 1.595-.147 2.355-.259.254-.03.512-.058.778-.081a8.338 8.338 0 0 1-.713-.445c-1.791-.908-2.654-3.128-1.888-4.965-1.06.097-2.5-.193-2.597 1.354-.192 1.643.675 2.993 1.723 4.025.208.232.339.371.339.371h.003Zm-1.219-15.776c.17.966.779 1.723.909 2.675 1.848-1.83 5.807-3.58 3.514-6.6-1.303 1.29-2.602 2.578-4.04 3.687l-.383.238Z"
|
|
3038
3046
|
}
|
|
3039
3047
|
),
|
|
3040
|
-
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "
|
|
3048
|
+
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "fia", children: /* @__PURE__ */ e("path", { fill: "#fff", d: "M22 5h32v74H22z" }) }) })
|
|
3041
3049
|
] }),
|
|
3042
3050
|
/* @__PURE__ */ e("symbol", { viewBox: "0 0 20 15", id: "youtube", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M19.5 2.8c-.1-.6-.4-1.1-.8-1.5-.4-.4-.9-.7-1.4-.9C15.7.1 10.6 0 10 0c-.6 0-5.7 0-7.2.4-.5.2-1 .4-1.4.9-.5.4-.7 1-.9 1.5C.1 4.4.1 7.4.1 7.5s0 3.1.4 4.7c.1.6.4 1.1.8 1.5.4.4.9.7 1.4.9 1.5.4 6.6.4 7.2.4.6 0 5.7 0 7.2-.4.5-.2 1-.4 1.4-.9.4-.4.7-.9.8-1.5.4-1.5.4-4.6.4-4.7s.2-3.1-.2-4.7zm-6.3 5c0 .1-.1.1-.2.2l-4.3 2.6c-.1 0-.2.1-.2.1-.1 0-.3-.1-.4-.2s-.1-.3-.1-.4V4.7c0-.1.1-.1.2-.2.1 0 .2-.1.2-.1.1 0 .2 0 .2.1L13 7.1c.1 0 .1.1.2.2s.1.2.1.3c-.1 0-.1.1-.1.2z" }) })
|
|
3043
3051
|
] }), b2 = [...w0, "blue-dark"], q = F(
|
|
3044
|
-
({ iconProps: a, as: s = "button", variant: c, color: l, size:
|
|
3052
|
+
({ iconProps: a, as: s = "button", variant: c, color: l, size: n, hasShadow: r, isLoading: i, isFloating: o, ...d }, u) => /* @__PURE__ */ e(
|
|
3045
3053
|
h,
|
|
3046
3054
|
{
|
|
3047
3055
|
...d,
|
|
@@ -3054,8 +3062,8 @@ const v2 = ({
|
|
|
3054
3062
|
{
|
|
3055
3063
|
[`c-icon-btn--${c}`]: c,
|
|
3056
3064
|
[`c-icon-btn--${l}`]: l,
|
|
3057
|
-
[`c-icon-btn--${
|
|
3058
|
-
"c-icon-btn--has-shadow":
|
|
3065
|
+
[`c-icon-btn--${n}`]: n,
|
|
3066
|
+
"c-icon-btn--has-shadow": r,
|
|
3059
3067
|
"c-icon-btn--is-loading": i,
|
|
3060
3068
|
"c-icon-btn--is-floating": o
|
|
3061
3069
|
},
|
|
@@ -3105,8 +3113,8 @@ const B0 = ({ src: a, formats: s }) => {
|
|
|
3105
3113
|
src: s = "",
|
|
3106
3114
|
defaultFormat: c,
|
|
3107
3115
|
formats: l,
|
|
3108
|
-
alt:
|
|
3109
|
-
sizes:
|
|
3116
|
+
alt: n = "",
|
|
3117
|
+
sizes: r,
|
|
3110
3118
|
lazyLoad: i = !1,
|
|
3111
3119
|
fetchPriority: o,
|
|
3112
3120
|
isPortrait: d = !1,
|
|
@@ -3116,7 +3124,7 @@ const B0 = ({ src: a, formats: s }) => {
|
|
|
3116
3124
|
const v = i ? "lazy" : "eager", f = {
|
|
3117
3125
|
...m,
|
|
3118
3126
|
id: a || void 0,
|
|
3119
|
-
alt:
|
|
3127
|
+
alt: n,
|
|
3120
3128
|
className: p("c-img", m?.className, {
|
|
3121
3129
|
"c-img--is-portrait": d
|
|
3122
3130
|
}),
|
|
@@ -3131,15 +3139,15 @@ const B0 = ({ src: a, formats: s }) => {
|
|
|
3131
3139
|
const k = Number(w) * 2, M = Number(b) * 2, S = `${k}x${M}`, y = $1({ src: s, format: S });
|
|
3132
3140
|
C = C ? `${C}, ${y} 2x` : `${y} 2x`;
|
|
3133
3141
|
}
|
|
3134
|
-
return f.width = w || void 0, f.height = b !== "0" ? b : void 0, f.sizes =
|
|
3142
|
+
return f.width = w || void 0, f.height = b !== "0" ? b : void 0, f.sizes = r || void 0, /* @__PURE__ */ e(x, { ...f, as: "img", src: Z, ...C ? { srcSet: C } : {} });
|
|
3135
3143
|
}, i1 = ({ size: a, ...s }) => /* @__PURE__ */ e(g, { as: "span", size: a || "s", ...s, children: "•" }), V1 = F(
|
|
3136
3144
|
({
|
|
3137
3145
|
id: a,
|
|
3138
3146
|
className: s,
|
|
3139
3147
|
color: c,
|
|
3140
3148
|
required: l,
|
|
3141
|
-
label:
|
|
3142
|
-
icon:
|
|
3149
|
+
label: n,
|
|
3150
|
+
icon: r,
|
|
3143
3151
|
positionIcon: i = "right",
|
|
3144
3152
|
isIconButton: o = !1,
|
|
3145
3153
|
iconButtonProps: d,
|
|
@@ -3154,18 +3162,18 @@ const B0 = ({ src: a, formats: s }) => {
|
|
|
3154
3162
|
error: Z,
|
|
3155
3163
|
...k
|
|
3156
3164
|
}, M) => {
|
|
3157
|
-
const S =
|
|
3165
|
+
const S = r && /* @__PURE__ */ e(
|
|
3158
3166
|
H,
|
|
3159
3167
|
{
|
|
3160
3168
|
className: p("c-input-container__icon", `color-${c || "black"}`),
|
|
3161
3169
|
iconProps: {
|
|
3162
|
-
name:
|
|
3170
|
+
name: r,
|
|
3163
3171
|
size: 18
|
|
3164
3172
|
},
|
|
3165
3173
|
variant: "ghost",
|
|
3166
3174
|
...d
|
|
3167
3175
|
}
|
|
3168
|
-
), y =
|
|
3176
|
+
), y = r && /* @__PURE__ */ e(N, { className: "c-input-container__icon", name: r, size: 18, color: c || "black" });
|
|
3169
3177
|
return /* @__PURE__ */ t(
|
|
3170
3178
|
h,
|
|
3171
3179
|
{
|
|
@@ -3175,8 +3183,8 @@ const B0 = ({ src: a, formats: s }) => {
|
|
|
3175
3183
|
[`c-input--${u}`]: u
|
|
3176
3184
|
}),
|
|
3177
3185
|
children: [
|
|
3178
|
-
|
|
3179
|
-
|
|
3186
|
+
n && /* @__PURE__ */ t("label", { htmlFor: a, className: "c-input__label", children: [
|
|
3187
|
+
n,
|
|
3180
3188
|
l && /* @__PURE__ */ t(g, { as: "span", size: "xxs", weight: "regular", children: [
|
|
3181
3189
|
" ",
|
|
3182
3190
|
"(obligatoire)"
|
|
@@ -3186,15 +3194,15 @@ const B0 = ({ src: a, formats: s }) => {
|
|
|
3186
3194
|
/* @__PURE__ */ t(
|
|
3187
3195
|
h,
|
|
3188
3196
|
{
|
|
3189
|
-
gap:
|
|
3197
|
+
gap: r && b ? "xs" : void 0,
|
|
3190
3198
|
className: p("c-input-container", {
|
|
3191
3199
|
"c-input-container--rounded": f,
|
|
3192
3200
|
"c-input-container--transparent": _,
|
|
3193
3201
|
"c-input-container--large": w,
|
|
3194
|
-
[`c-input-container--${i}`]:
|
|
3202
|
+
[`c-input-container--${i}`]: r || b
|
|
3195
3203
|
}),
|
|
3196
3204
|
children: [
|
|
3197
|
-
(
|
|
3205
|
+
(r || b) && /* @__PURE__ */ t(h, { gap: "s", children: [
|
|
3198
3206
|
o ? S : y,
|
|
3199
3207
|
b
|
|
3200
3208
|
] }),
|
|
@@ -3239,8 +3247,8 @@ const B0 = ({ src: a, formats: s }) => {
|
|
|
3239
3247
|
bg: s,
|
|
3240
3248
|
color: c,
|
|
3241
3249
|
hasDot: l = !1,
|
|
3242
|
-
isUppercase:
|
|
3243
|
-
size:
|
|
3250
|
+
isUppercase: n = !0,
|
|
3251
|
+
size: r,
|
|
3244
3252
|
className: i,
|
|
3245
3253
|
textProps: o,
|
|
3246
3254
|
...d
|
|
@@ -3264,9 +3272,9 @@ const B0 = ({ src: a, formats: s }) => {
|
|
|
3264
3272
|
style: u,
|
|
3265
3273
|
...!s?.includes("#") && { bg: s },
|
|
3266
3274
|
...!c?.includes("#") && { color: c },
|
|
3267
|
-
size:
|
|
3275
|
+
size: r || "xxs",
|
|
3268
3276
|
weight: "bold",
|
|
3269
|
-
...
|
|
3277
|
+
...n && { textTransform: "uppercase" },
|
|
3270
3278
|
className: p("c-label", { "c-label--no-background": !s }, i),
|
|
3271
3279
|
children: [
|
|
3272
3280
|
l && /* @__PURE__ */ e(N, { name: "dot", size: 4, mr: "xxs-2" }),
|
|
@@ -3286,12 +3294,12 @@ const B0 = ({ src: a, formats: s }) => {
|
|
|
3286
3294
|
return Object.entries(
|
|
3287
3295
|
a.propValue
|
|
3288
3296
|
).reduce((s, [c, l]) => {
|
|
3289
|
-
const
|
|
3297
|
+
const n = O1({
|
|
3290
3298
|
className: a.className,
|
|
3291
3299
|
defaultModifier: c,
|
|
3292
3300
|
propValue: l
|
|
3293
3301
|
});
|
|
3294
|
-
return
|
|
3302
|
+
return n && s.push(n), s;
|
|
3295
3303
|
}, []);
|
|
3296
3304
|
}, Z0 = (a) => a.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), O1 = (a) => {
|
|
3297
3305
|
if (a.propValue !== void 0) {
|
|
@@ -3403,8 +3411,8 @@ const B0 = ({ src: a, formats: s }) => {
|
|
|
3403
3411
|
weight: s,
|
|
3404
3412
|
textTransform: c,
|
|
3405
3413
|
textDecoration: l,
|
|
3406
|
-
italic:
|
|
3407
|
-
fontFamily:
|
|
3414
|
+
italic: n,
|
|
3415
|
+
fontFamily: r,
|
|
3408
3416
|
whiteSpace: i
|
|
3409
3417
|
}) => p(
|
|
3410
3418
|
V({
|
|
@@ -3419,8 +3427,8 @@ const B0 = ({ src: a, formats: s }) => {
|
|
|
3419
3427
|
[`white-space-${i}`]: !!i,
|
|
3420
3428
|
[`text-transform-${c}`]: !!c,
|
|
3421
3429
|
[`text-decoration-${l}`]: !!l,
|
|
3422
|
-
"text-italic": !!
|
|
3423
|
-
[`font-${
|
|
3430
|
+
"text-italic": !!n,
|
|
3431
|
+
[`font-${r}`]: !!r
|
|
3424
3432
|
}
|
|
3425
3433
|
), x = F(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
3426
3434
|
a,
|
|
@@ -3461,9 +3469,9 @@ const h = F(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3461
3469
|
children: s
|
|
3462
3470
|
}
|
|
3463
3471
|
)
|
|
3464
|
-
), z2 = [1, 2, 3, 4, 5, 6, 12, "2-of-3"], l1 = ({ colsNumber: a, gap: s, gapX: c, gapY: l, children:
|
|
3472
|
+
), z2 = [1, 2, 3, 4, 5, 6, 12, "2-of-3"], l1 = ({ colsNumber: a, gap: s, gapX: c, gapY: l, children: n, ...r }) => Q.createElement(x, {
|
|
3465
3473
|
...h1({
|
|
3466
|
-
props:
|
|
3474
|
+
props: r,
|
|
3467
3475
|
systemPropNames: Object.keys(G1)
|
|
3468
3476
|
}),
|
|
3469
3477
|
className: p(
|
|
@@ -3484,17 +3492,17 @@ const h = F(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3484
3492
|
className: "grid-gap-col",
|
|
3485
3493
|
propValue: l
|
|
3486
3494
|
}),
|
|
3487
|
-
p(J1(
|
|
3495
|
+
p(J1(r), r?.className)
|
|
3488
3496
|
),
|
|
3489
|
-
children:
|
|
3497
|
+
children: n
|
|
3490
3498
|
}), $ = F(
|
|
3491
3499
|
({
|
|
3492
3500
|
as: a = "a",
|
|
3493
3501
|
children: s,
|
|
3494
3502
|
color: c,
|
|
3495
3503
|
buttonColor: l,
|
|
3496
|
-
size:
|
|
3497
|
-
variant:
|
|
3504
|
+
size: n,
|
|
3505
|
+
variant: r,
|
|
3498
3506
|
weight: i,
|
|
3499
3507
|
whiteSpace: o,
|
|
3500
3508
|
tabIsSelected: d,
|
|
@@ -3504,9 +3512,9 @@ const h = F(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3504
3512
|
isUnderlined: f,
|
|
3505
3513
|
..._
|
|
3506
3514
|
}, w) => {
|
|
3507
|
-
if ((
|
|
3515
|
+
if ((r || l) && c)
|
|
3508
3516
|
throw new Error("You can't use the color prop together with the variant or buttonColor prop");
|
|
3509
|
-
const b = !!(
|
|
3517
|
+
const b = !!(r || l), C = u || m ? p(
|
|
3510
3518
|
"c-tab",
|
|
3511
3519
|
{
|
|
3512
3520
|
[`c-tab--${u}`]: u,
|
|
@@ -3521,12 +3529,12 @@ const h = F(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3521
3529
|
{
|
|
3522
3530
|
"c-btn": b && !c,
|
|
3523
3531
|
[`c-btn--${l}`]: l && !c,
|
|
3524
|
-
[`c-btn--${
|
|
3532
|
+
[`c-btn--${r}`]: r && !c
|
|
3525
3533
|
},
|
|
3526
3534
|
j1({ weight: i, whiteSpace: o }),
|
|
3527
3535
|
V({
|
|
3528
3536
|
className: "text",
|
|
3529
|
-
propValue:
|
|
3537
|
+
propValue: n
|
|
3530
3538
|
}),
|
|
3531
3539
|
{ "c-link--is-underlined": f },
|
|
3532
3540
|
_?.className
|
|
@@ -3538,8 +3546,8 @@ const h = F(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3538
3546
|
children: s,
|
|
3539
3547
|
variant: c = "center",
|
|
3540
3548
|
contentClassName: l,
|
|
3541
|
-
enableA11yDialog:
|
|
3542
|
-
...
|
|
3549
|
+
enableA11yDialog: n = !0,
|
|
3550
|
+
...r
|
|
3543
3551
|
}) => {
|
|
3544
3552
|
const i = {
|
|
3545
3553
|
id: a,
|
|
@@ -3550,8 +3558,8 @@ const h = F(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3550
3558
|
return /* @__PURE__ */ t(
|
|
3551
3559
|
x,
|
|
3552
3560
|
{
|
|
3553
|
-
...
|
|
3554
|
-
className: p("c-modal", { "js-modal":
|
|
3561
|
+
...r,
|
|
3562
|
+
className: p("c-modal", { "js-modal": n }, r.className),
|
|
3555
3563
|
...i,
|
|
3556
3564
|
children: [
|
|
3557
3565
|
/* @__PURE__ */ e("div", { className: "c-modal__overlay", "aria-hidden": !0, ...o }),
|
|
@@ -3570,7 +3578,7 @@ const h = F(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3570
3578
|
required: s,
|
|
3571
3579
|
label: c,
|
|
3572
3580
|
variant: l,
|
|
3573
|
-
...
|
|
3581
|
+
...n
|
|
3574
3582
|
}) => /* @__PURE__ */ t(
|
|
3575
3583
|
"div",
|
|
3576
3584
|
{
|
|
@@ -3585,17 +3593,17 @@ const h = F(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3585
3593
|
type: "radio",
|
|
3586
3594
|
className: "c-radio-button__input",
|
|
3587
3595
|
required: s,
|
|
3588
|
-
...
|
|
3596
|
+
...n
|
|
3589
3597
|
}
|
|
3590
3598
|
),
|
|
3591
3599
|
c && /* @__PURE__ */ e("label", { htmlFor: a, className: "c-radio-button__label", children: c })
|
|
3592
3600
|
]
|
|
3593
3601
|
}
|
|
3594
3602
|
), I0 = ({ rating: a, ratingMax: s = 5, iconProps: c, ...l }) => {
|
|
3595
|
-
const
|
|
3603
|
+
const n = (d) => /* @__PURE__ */ e(N, { name: "star", color: "ultramarine", ...c }, d), r = (d) => /* @__PURE__ */ e(N, { name: "star", color: "grey-200", ...c }, d), i = (d) => /* @__PURE__ */ e(N, { name: "halfstar", color: "grey-200", ...c }, d), o = [];
|
|
3596
3604
|
for (let d = 0; d < s; d += 1) {
|
|
3597
3605
|
const u = d < a, m = d + 0.5 === a;
|
|
3598
|
-
u && !m ? o.push(
|
|
3606
|
+
u && !m ? o.push(n(d)) : m ? o.push(i(d)) : o.push(r(d));
|
|
3599
3607
|
}
|
|
3600
3608
|
return /* @__PURE__ */ e(x, { ...l, children: o });
|
|
3601
3609
|
}, k2 = ({
|
|
@@ -3603,8 +3611,8 @@ const h = F(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3603
3611
|
link: s,
|
|
3604
3612
|
image: c,
|
|
3605
3613
|
isTargetBlank: l,
|
|
3606
|
-
isNofollow:
|
|
3607
|
-
isSponsored:
|
|
3614
|
+
isNofollow: n,
|
|
3615
|
+
isSponsored: r,
|
|
3608
3616
|
isInArticle: i,
|
|
3609
3617
|
...o
|
|
3610
3618
|
}) => /* @__PURE__ */ t(
|
|
@@ -3637,7 +3645,7 @@ const h = F(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3637
3645
|
href: s,
|
|
3638
3646
|
className: "c-read-also__link",
|
|
3639
3647
|
target: l ? "_blank" : void 0,
|
|
3640
|
-
rel:
|
|
3648
|
+
rel: n && "isNofollow" || r && "isSponsored" || void 0,
|
|
3641
3649
|
...i && { color: "black" },
|
|
3642
3650
|
children: a
|
|
3643
3651
|
}
|
|
@@ -3702,8 +3710,8 @@ const C2 = ({ inner: a, children: s, ...c }) => /* @__PURE__ */ e(
|
|
|
3702
3710
|
className: s,
|
|
3703
3711
|
required: c,
|
|
3704
3712
|
label: l,
|
|
3705
|
-
defaultValue:
|
|
3706
|
-
options:
|
|
3713
|
+
defaultValue: n,
|
|
3714
|
+
options: r,
|
|
3707
3715
|
placeholder: i,
|
|
3708
3716
|
containerProps: o,
|
|
3709
3717
|
variant: d = "default",
|
|
@@ -3744,7 +3752,7 @@ const C2 = ({ inner: a, children: s, ...c }) => /* @__PURE__ */ e(
|
|
|
3744
3752
|
s
|
|
3745
3753
|
),
|
|
3746
3754
|
required: c,
|
|
3747
|
-
defaultValue:
|
|
3755
|
+
defaultValue: n || r.filter((b) => b.isSelected)?.pop()?.value || "",
|
|
3748
3756
|
"aria-describedby": [v ? `${a}-hint` : null, f ? `${a}-error` : null].filter(Boolean).join(" ") || void 0,
|
|
3749
3757
|
...h1({
|
|
3750
3758
|
props: _,
|
|
@@ -3752,7 +3760,7 @@ const C2 = ({ inner: a, children: s, ...c }) => /* @__PURE__ */ e(
|
|
|
3752
3760
|
}),
|
|
3753
3761
|
children: [
|
|
3754
3762
|
i && /* @__PURE__ */ e("option", { value: "", disabled: !0, hidden: !0, children: i }),
|
|
3755
|
-
|
|
3763
|
+
r.map((b) => /* @__PURE__ */ e("option", { value: b.value, children: b.title }, b.value))
|
|
3756
3764
|
]
|
|
3757
3765
|
}
|
|
3758
3766
|
)
|
|
@@ -3793,8 +3801,8 @@ const m1 = F(
|
|
|
3793
3801
|
children: s,
|
|
3794
3802
|
itemsGap: c,
|
|
3795
3803
|
hasSpaceAroundButtons: l = !1,
|
|
3796
|
-
buttonsColor:
|
|
3797
|
-
buttonsSize:
|
|
3804
|
+
buttonsColor: n,
|
|
3805
|
+
buttonsSize: r,
|
|
3798
3806
|
colorVariant: i,
|
|
3799
3807
|
sliderVariant: o = "default",
|
|
3800
3808
|
auto: d = !1,
|
|
@@ -3814,8 +3822,8 @@ const m1 = F(
|
|
|
3814
3822
|
a === z.DESKTOP && /* @__PURE__ */ e(x, { className: "c-slider__buttons-container", children: Array.from(["previous", "next"], (f) => /* @__PURE__ */ e(
|
|
3815
3823
|
x,
|
|
3816
3824
|
{
|
|
3817
|
-
pr: l && f === "previous" && (
|
|
3818
|
-
pl: l && f === "next" && (
|
|
3825
|
+
pr: l && f === "previous" && (n === "translucent" && r === "small" ? "m" : "l") || void 0,
|
|
3826
|
+
pl: l && f === "next" && (n === "translucent" && r === "small" ? "m" : "l") || void 0,
|
|
3819
3827
|
className: p(
|
|
3820
3828
|
`c-slider__button-container c-slider__button-container--${f} o-nav-button o-nav-button--${f}-button`,
|
|
3821
3829
|
{ "c-slider__button-container--has-space-around": l },
|
|
@@ -3824,8 +3832,8 @@ const m1 = F(
|
|
|
3824
3832
|
children: /* @__PURE__ */ e(
|
|
3825
3833
|
q,
|
|
3826
3834
|
{
|
|
3827
|
-
color:
|
|
3828
|
-
size:
|
|
3835
|
+
color: n,
|
|
3836
|
+
size: r,
|
|
3829
3837
|
...o === "videos" && { p: "m" },
|
|
3830
3838
|
iconProps: {
|
|
3831
3839
|
name: "chevron",
|
|
@@ -3845,7 +3853,7 @@ const m1 = F(
|
|
|
3845
3853
|
items: a,
|
|
3846
3854
|
colorVariant: s = "ultramarine",
|
|
3847
3855
|
...c
|
|
3848
|
-
}) => /* @__PURE__ */ e(h, { className: "c-stepper", gap: "xxs-2", ...c, children: a.map((l,
|
|
3856
|
+
}) => /* @__PURE__ */ e(h, { className: "c-stepper", gap: "xxs-2", ...c, children: a.map((l, n) => /* @__PURE__ */ e(
|
|
3849
3857
|
I,
|
|
3850
3858
|
{
|
|
3851
3859
|
className: p("c-stepper__item", {
|
|
@@ -3855,16 +3863,16 @@ const m1 = F(
|
|
|
3855
3863
|
grow: 1,
|
|
3856
3864
|
children: /* @__PURE__ */ e(x, { className: "c-stepper__loader", bg: s })
|
|
3857
3865
|
},
|
|
3858
|
-
|
|
3866
|
+
n
|
|
3859
3867
|
)) }), O0 = ({
|
|
3860
3868
|
containerProps: a,
|
|
3861
3869
|
labelPosition: s = "before",
|
|
3862
3870
|
label: c,
|
|
3863
3871
|
icon: l,
|
|
3864
|
-
id:
|
|
3865
|
-
...
|
|
3872
|
+
id: n,
|
|
3873
|
+
...r
|
|
3866
3874
|
}) => {
|
|
3867
|
-
const i =
|
|
3875
|
+
const i = r.checked ?? r.defaultChecked ?? !1, o = /* @__PURE__ */ t(h, { as: "label", alignItems: "center", htmlFor: n, children: [
|
|
3868
3876
|
s === "before" && l && /* @__PURE__ */ e(N, { mr: "xs", ...l }),
|
|
3869
3877
|
c,
|
|
3870
3878
|
s === "after" && l && /* @__PURE__ */ e(N, { ml: "xs", ...l })
|
|
@@ -3874,12 +3882,12 @@ const m1 = F(
|
|
|
3874
3882
|
/* @__PURE__ */ e(
|
|
3875
3883
|
"input",
|
|
3876
3884
|
{
|
|
3877
|
-
...
|
|
3885
|
+
...r,
|
|
3878
3886
|
role: "switch",
|
|
3879
3887
|
type: "checkbox",
|
|
3880
|
-
id:
|
|
3888
|
+
id: n,
|
|
3881
3889
|
"aria-checked": i,
|
|
3882
|
-
className: p("c-switch__input",
|
|
3890
|
+
className: p("c-switch__input", r.className)
|
|
3883
3891
|
}
|
|
3884
3892
|
),
|
|
3885
3893
|
s === "after" && c && o
|
|
@@ -3889,8 +3897,8 @@ const m1 = F(
|
|
|
3889
3897
|
name: s,
|
|
3890
3898
|
children: c,
|
|
3891
3899
|
tabColor: l = "default",
|
|
3892
|
-
isSelected:
|
|
3893
|
-
index:
|
|
3900
|
+
isSelected: n = !1,
|
|
3901
|
+
index: r = -1,
|
|
3894
3902
|
isNoWrap: i,
|
|
3895
3903
|
color: o,
|
|
3896
3904
|
...d
|
|
@@ -3907,8 +3915,8 @@ const m1 = F(
|
|
|
3907
3915
|
"c-tab--no-wrap": i
|
|
3908
3916
|
}),
|
|
3909
3917
|
"aria-controls": `tabpanel-${s}`,
|
|
3910
|
-
"aria-selected":
|
|
3911
|
-
tabIndex:
|
|
3918
|
+
"aria-selected": n,
|
|
3919
|
+
tabIndex: r,
|
|
3912
3920
|
...d,
|
|
3913
3921
|
children: c
|
|
3914
3922
|
}
|
|
@@ -3928,26 +3936,26 @@ const m1 = F(
|
|
|
3928
3936
|
children: s
|
|
3929
3937
|
}
|
|
3930
3938
|
), X = F(
|
|
3931
|
-
({ as: a = "a", id: s, variant: c = "primary", size: l, children:
|
|
3939
|
+
({ as: a = "a", id: s, variant: c = "primary", size: l, children: n, ...r }, i) => /* @__PURE__ */ e(
|
|
3932
3940
|
x,
|
|
3933
3941
|
{
|
|
3934
|
-
...
|
|
3942
|
+
...r,
|
|
3935
3943
|
as: c === "span" ? "span" : a,
|
|
3936
|
-
href: c === "span" ? void 0 :
|
|
3944
|
+
href: c === "span" ? void 0 : r?.href,
|
|
3937
3945
|
ref: i,
|
|
3938
3946
|
className: p(
|
|
3939
3947
|
"c-tags",
|
|
3940
3948
|
`c-tags--${c}`,
|
|
3941
3949
|
{ [`c-tags--${l}`]: l },
|
|
3942
|
-
|
|
3950
|
+
r?.className
|
|
3943
3951
|
),
|
|
3944
3952
|
"data-id": s,
|
|
3945
|
-
px:
|
|
3946
|
-
children:
|
|
3953
|
+
px: r?.px,
|
|
3954
|
+
children: n
|
|
3947
3955
|
}
|
|
3948
3956
|
)
|
|
3949
3957
|
), B2 = F(
|
|
3950
|
-
({ id: a, required: s, label: c, variant: l, msg:
|
|
3958
|
+
({ id: a, required: s, label: c, variant: l, msg: n, rows: r = 5, containerProps: i, hint: o, error: d, ...u }, m) => /* @__PURE__ */ t(
|
|
3951
3959
|
h,
|
|
3952
3960
|
{
|
|
3953
3961
|
direction: "column",
|
|
@@ -3966,7 +3974,7 @@ const m1 = F(
|
|
|
3966
3974
|
/* @__PURE__ */ e(h, { className: "c-textarea-container", children: /* @__PURE__ */ e(
|
|
3967
3975
|
"textarea",
|
|
3968
3976
|
{
|
|
3969
|
-
rows:
|
|
3977
|
+
rows: r,
|
|
3970
3978
|
placeholder: "Votre message...",
|
|
3971
3979
|
required: s,
|
|
3972
3980
|
...u,
|
|
@@ -3984,7 +3992,7 @@ const m1 = F(
|
|
|
3984
3992
|
"aria-describedby": [o ? `${a}-hint` : null, d ? `${a}-error` : null].filter(Boolean).join(" ") || void 0
|
|
3985
3993
|
}
|
|
3986
3994
|
) }),
|
|
3987
|
-
|
|
3995
|
+
n?.length && /* @__PURE__ */ e(h, { wrap: "wrap", gapY: "s", gapX: "xxs-2", mt: "xxs-2", children: n.map(({ iconProps: v, textProps: f, value: _ }, w) => /* @__PURE__ */ t(h, { alignItems: "center", gap: "xxs", children: [
|
|
3988
3996
|
v && /* @__PURE__ */ e(N, { ...v }),
|
|
3989
3997
|
/* @__PURE__ */ e(g, { dangerouslySetInnerHTML: { __html: _ }, role: "alert", ...f })
|
|
3990
3998
|
] }, w?.toString())) }),
|
|
@@ -4006,12 +4014,12 @@ const m1 = F(
|
|
|
4006
4014
|
}
|
|
4007
4015
|
)
|
|
4008
4016
|
), L = F(
|
|
4009
|
-
({ as: a = "h1", size: s, children: c, ...l },
|
|
4017
|
+
({ as: a = "h1", size: s, children: c, ...l }, n) => /* @__PURE__ */ e(
|
|
4010
4018
|
s0,
|
|
4011
4019
|
{
|
|
4012
4020
|
...l,
|
|
4013
4021
|
as: a,
|
|
4014
|
-
ref:
|
|
4022
|
+
ref: n,
|
|
4015
4023
|
className: p(
|
|
4016
4024
|
V({
|
|
4017
4025
|
className: "heading",
|
|
@@ -4023,22 +4031,22 @@ const m1 = F(
|
|
|
4023
4031
|
}
|
|
4024
4032
|
)
|
|
4025
4033
|
), g = F(
|
|
4026
|
-
({ as: a = "p", size: s, highlighted: c, children: l, ...
|
|
4034
|
+
({ as: a = "p", size: s, highlighted: c, children: l, ...n }, r) => /* @__PURE__ */ e(
|
|
4027
4035
|
s0,
|
|
4028
4036
|
{
|
|
4029
4037
|
as: c ? "span" : a,
|
|
4030
|
-
bg: c ? "sponsoring" :
|
|
4031
|
-
p: c ? "xxs" :
|
|
4032
|
-
color: c ? "grey-800" :
|
|
4033
|
-
...
|
|
4034
|
-
ref:
|
|
4038
|
+
bg: c ? "sponsoring" : n.bg,
|
|
4039
|
+
p: c ? "xxs" : n.p,
|
|
4040
|
+
color: c ? "grey-800" : n.color,
|
|
4041
|
+
...n,
|
|
4042
|
+
ref: r,
|
|
4035
4043
|
className: p(
|
|
4036
4044
|
V({
|
|
4037
4045
|
className: "text",
|
|
4038
4046
|
propValue: s
|
|
4039
4047
|
}),
|
|
4040
4048
|
{ "text-highlighted": c },
|
|
4041
|
-
|
|
4049
|
+
n?.className
|
|
4042
4050
|
),
|
|
4043
4051
|
children: l
|
|
4044
4052
|
}
|
|
@@ -4065,13 +4073,13 @@ const m1 = F(
|
|
|
4065
4073
|
description: s,
|
|
4066
4074
|
title: c,
|
|
4067
4075
|
link: l,
|
|
4068
|
-
closeButton:
|
|
4069
|
-
...
|
|
4076
|
+
closeButton: n,
|
|
4077
|
+
...r
|
|
4070
4078
|
}) => /* @__PURE__ */ e(
|
|
4071
4079
|
h,
|
|
4072
4080
|
{
|
|
4073
|
-
...
|
|
4074
|
-
className: p("c-info-banner", "c-info-banner--alert",
|
|
4081
|
+
...r,
|
|
4082
|
+
className: p("c-info-banner", "c-info-banner--alert", r?.className),
|
|
4075
4083
|
alignItems: "center",
|
|
4076
4084
|
justifyContent: "center",
|
|
4077
4085
|
gap: "s",
|
|
@@ -4111,7 +4119,7 @@ const m1 = F(
|
|
|
4111
4119
|
}
|
|
4112
4120
|
),
|
|
4113
4121
|
/* @__PURE__ */ e(g, { as: l ? "a" : void 0, size: "s", color: "white", ...l || {}, children: s }),
|
|
4114
|
-
|
|
4122
|
+
n && /* @__PURE__ */ e(H, { ...n, variant: "ghost", className: "c-info-banner__close", children: /* @__PURE__ */ e(N, { name: "close", size: 12, color: "white" }) })
|
|
4115
4123
|
]
|
|
4116
4124
|
}
|
|
4117
4125
|
)
|
|
@@ -4125,8 +4133,8 @@ const m1 = F(
|
|
|
4125
4133
|
label: s,
|
|
4126
4134
|
layout: c,
|
|
4127
4135
|
lead: l,
|
|
4128
|
-
color:
|
|
4129
|
-
sponsor:
|
|
4136
|
+
color: n = "grey-400",
|
|
4137
|
+
sponsor: r,
|
|
4130
4138
|
isCenteredLayout: i,
|
|
4131
4139
|
...o
|
|
4132
4140
|
}) => {
|
|
@@ -4142,7 +4150,7 @@ const m1 = F(
|
|
|
4142
4150
|
);
|
|
4143
4151
|
if (i)
|
|
4144
4152
|
return /* @__PURE__ */ t(h, { ...o, as: "header", direction: "column", alignItems: "center", children: [
|
|
4145
|
-
s.length > 0 && /* @__PURE__ */ e(A, { color:
|
|
4153
|
+
s.length > 0 && /* @__PURE__ */ e(A, { color: n, size: "s", pb: "xs", children: s }),
|
|
4146
4154
|
d,
|
|
4147
4155
|
l && l.length > 0 && /* @__PURE__ */ e(
|
|
4148
4156
|
g,
|
|
@@ -4154,10 +4162,10 @@ const m1 = F(
|
|
|
4154
4162
|
children: l
|
|
4155
4163
|
}
|
|
4156
4164
|
),
|
|
4157
|
-
|
|
4165
|
+
r && /* @__PURE__ */ e(J, { sponsor: r, variant: "header-dedicated-desktop", mt: "l" })
|
|
4158
4166
|
] });
|
|
4159
4167
|
let u = /* @__PURE__ */ t(x, { ...o, as: "header", children: [
|
|
4160
|
-
s.length > 0 && /* @__PURE__ */ e(A, { color:
|
|
4168
|
+
s.length > 0 && /* @__PURE__ */ e(A, { color: n, size: "xs", children: s }),
|
|
4161
4169
|
d
|
|
4162
4170
|
] });
|
|
4163
4171
|
return c === z.DESKTOP && (u = /* @__PURE__ */ t(
|
|
@@ -4165,20 +4173,20 @@ const m1 = F(
|
|
|
4165
4173
|
{
|
|
4166
4174
|
...o,
|
|
4167
4175
|
as: "header",
|
|
4168
|
-
gap:
|
|
4176
|
+
gap: r ? "m" : void 0,
|
|
4169
4177
|
alignItems: i ? "center" : "start",
|
|
4170
4178
|
justifyContent: "between",
|
|
4171
4179
|
children: [
|
|
4172
4180
|
/* @__PURE__ */ t("div", { children: [
|
|
4173
|
-
i && s.length > 0 && /* @__PURE__ */ e(A, { color:
|
|
4181
|
+
i && s.length > 0 && /* @__PURE__ */ e(A, { color: n, size: "m", children: s }),
|
|
4174
4182
|
d,
|
|
4175
4183
|
!i && /* @__PURE__ */ t(j, { children: [
|
|
4176
|
-
s.length > 0 && /* @__PURE__ */ e(A, { color:
|
|
4177
|
-
l && l.length > 0 && s.length > 0 && /* @__PURE__ */ e(i1, { mx: "xxs", color:
|
|
4184
|
+
s.length > 0 && /* @__PURE__ */ e(A, { color: n, size: "m", children: s }),
|
|
4185
|
+
l && l.length > 0 && s.length > 0 && /* @__PURE__ */ e(i1, { mx: "xxs", color: n || "grey-400" })
|
|
4178
4186
|
] }),
|
|
4179
4187
|
l && l.length > 0 && /* @__PURE__ */ e(g, { id: "content-header-lead", as: "span", size: "xxl", fontFamily: "source-serif-pro", children: l })
|
|
4180
4188
|
] }),
|
|
4181
|
-
|
|
4189
|
+
r && /* @__PURE__ */ e(J, { sponsor: r, variant: "header-dedicated-desktop", mt: "l" })
|
|
4182
4190
|
]
|
|
4183
4191
|
}
|
|
4184
4192
|
)), u;
|
|
@@ -4234,8 +4242,8 @@ const m1 = F(
|
|
|
4234
4242
|
src: s,
|
|
4235
4243
|
caption: c,
|
|
4236
4244
|
source: l,
|
|
4237
|
-
credits:
|
|
4238
|
-
layout:
|
|
4245
|
+
credits: n,
|
|
4246
|
+
layout: r = z.MOBILE,
|
|
4239
4247
|
imgProps: i,
|
|
4240
4248
|
imagesNumber: o,
|
|
4241
4249
|
videoIs16by9: d = !1,
|
|
@@ -4243,7 +4251,7 @@ const m1 = F(
|
|
|
4243
4251
|
...m
|
|
4244
4252
|
}) => {
|
|
4245
4253
|
let v = q0;
|
|
4246
|
-
return
|
|
4254
|
+
return r === z.DESKTOP && (v = P0), /* @__PURE__ */ t(x, { ...m, as: "figure", className: "c-media", children: [
|
|
4247
4255
|
a === Y.photo && /* @__PURE__ */ t("div", { className: "c-media__content", children: [
|
|
4248
4256
|
/* @__PURE__ */ e(
|
|
4249
4257
|
d1,
|
|
@@ -4298,9 +4306,9 @@ const m1 = F(
|
|
|
4298
4306
|
mx: { xs: "m", md: "0" },
|
|
4299
4307
|
children: [
|
|
4300
4308
|
c,
|
|
4301
|
-
|
|
4309
|
+
n && /* @__PURE__ */ t(g, { as: "span", color: "grey-300", size: "xs", className: "text-italic", children: [
|
|
4302
4310
|
" - ",
|
|
4303
|
-
|
|
4311
|
+
n
|
|
4304
4312
|
] }),
|
|
4305
4313
|
l && /* @__PURE__ */ t(g, { as: "span", color: "grey-300", size: "xs", className: "text-italic", children: [
|
|
4306
4314
|
" / ",
|
|
@@ -4315,9 +4323,9 @@ const m1 = F(
|
|
|
4315
4323
|
infoBannerProps: s,
|
|
4316
4324
|
...c
|
|
4317
4325
|
}) => /* @__PURE__ */ t(x, { ...c, children: [
|
|
4318
|
-
/* @__PURE__ */ e(x, { as: "ul", mb: "xl", children: a.map((l,
|
|
4326
|
+
/* @__PURE__ */ e(x, { as: "ul", mb: "xl", children: a.map((l, n) => /* @__PURE__ */ t("li", { children: [
|
|
4319
4327
|
/* @__PURE__ */ e(K0, { icon: l.icon, title: l.title, content: l.content }),
|
|
4320
|
-
|
|
4328
|
+
n !== a.length - 1 && /* @__PURE__ */ e(G, { color: "grey-200", my: "l" })
|
|
4321
4329
|
] }, l.title)) }),
|
|
4322
4330
|
/* @__PURE__ */ e(me, { heading: s.heading, description: s.description })
|
|
4323
4331
|
] }), I2 = ({ astroSignsList: a }) => /* @__PURE__ */ e(x, { as: "ul", className: "o-inline", mx: { xs: "m", md: "0" }, children: a.map((s) => /* @__PURE__ */ e("li", { className: "o-inline__by-4", children: /* @__PURE__ */ t("a", { href: s.url, className: "c-square-tile o-column bg-ultramarine color-white", children: [
|
|
@@ -4333,7 +4341,7 @@ const m1 = F(
|
|
|
4333
4341
|
),
|
|
4334
4342
|
/* @__PURE__ */ e(A, { isUppercase: !1, children: s.label })
|
|
4335
4343
|
] }) }, s.slug)) }), K0 = F(
|
|
4336
|
-
({ icon: a, title: s, content: c, ...l },
|
|
4344
|
+
({ icon: a, title: s, content: c, ...l }, n) => /* @__PURE__ */ t(x, { ...l, ref: n, className: p("c-astro-topic-card", l?.className), children: [
|
|
4337
4345
|
/* @__PURE__ */ t(h, { alignItems: "center", mb: "s", children: [
|
|
4338
4346
|
/* @__PURE__ */ e(N, { mr: "xs", name: a, size: 21 }),
|
|
4339
4347
|
/* @__PURE__ */ e(L, { as: "h3", size: "xs", children: s })
|
|
@@ -4345,21 +4353,21 @@ const m1 = F(
|
|
|
4345
4353
|
maxAvatar: s = 4,
|
|
4346
4354
|
themeColor: c,
|
|
4347
4355
|
...l
|
|
4348
|
-
}) => /* @__PURE__ */ e(h, { ...l, className: "c-avatar-group", children: a.slice(0, s).map((
|
|
4356
|
+
}) => /* @__PURE__ */ e(h, { ...l, className: "c-avatar-group", children: a.slice(0, s).map((n) => /* @__PURE__ */ e(
|
|
4349
4357
|
v1,
|
|
4350
4358
|
{
|
|
4351
|
-
img:
|
|
4352
|
-
alt:
|
|
4353
|
-
color:
|
|
4359
|
+
img: n.path,
|
|
4360
|
+
alt: n.title,
|
|
4361
|
+
color: n.color ?? (n.path ? void 0 : c)
|
|
4354
4362
|
},
|
|
4355
|
-
|
|
4363
|
+
n.title
|
|
4356
4364
|
)) }), T2 = ({
|
|
4357
4365
|
rubrics: a,
|
|
4358
4366
|
tags: s,
|
|
4359
4367
|
color: c,
|
|
4360
4368
|
layout: l = z.MOBILE,
|
|
4361
|
-
isSmall:
|
|
4362
|
-
isTransparent:
|
|
4369
|
+
isSmall: n = !0,
|
|
4370
|
+
isTransparent: r = !1,
|
|
4363
4371
|
hasWhiteSeparators: i = !1,
|
|
4364
4372
|
...o
|
|
4365
4373
|
}) => /* @__PURE__ */ t(
|
|
@@ -4369,25 +4377,25 @@ const m1 = F(
|
|
|
4369
4377
|
hasSpaceAroundButtons: !0,
|
|
4370
4378
|
buttonsSize: "small",
|
|
4371
4379
|
...o,
|
|
4372
|
-
className: p("c-breadcrumb", { "c-breadcrumb--is-small":
|
|
4380
|
+
className: p("c-breadcrumb", { "c-breadcrumb--is-small": n }, o?.className),
|
|
4373
4381
|
"aria-label": "Breadcrumb",
|
|
4374
4382
|
as: "nav",
|
|
4375
4383
|
children: [
|
|
4376
4384
|
/* @__PURE__ */ e(
|
|
4377
4385
|
X,
|
|
4378
4386
|
{
|
|
4379
|
-
variant:
|
|
4387
|
+
variant: r ? "transparent" : "quinary",
|
|
4380
4388
|
href: "/",
|
|
4381
|
-
bg:
|
|
4389
|
+
bg: r ? void 0 : c || "ultramarine",
|
|
4382
4390
|
color: "white",
|
|
4383
|
-
px:
|
|
4391
|
+
px: n ? "xs" : "s",
|
|
4384
4392
|
pt: "xxs-3",
|
|
4385
4393
|
ml: { xs: "m", md: "0" },
|
|
4386
|
-
size:
|
|
4394
|
+
size: n ? "small" : "regular",
|
|
4387
4395
|
children: /* @__PURE__ */ e(
|
|
4388
4396
|
N,
|
|
4389
4397
|
{
|
|
4390
|
-
size:
|
|
4398
|
+
size: n ? 16 : 20,
|
|
4391
4399
|
name: "home",
|
|
4392
4400
|
svgTitle: "Retour sur la page d'accueil 20 Minutes"
|
|
4393
4401
|
}
|
|
@@ -4407,11 +4415,11 @@ const m1 = F(
|
|
|
4407
4415
|
/* @__PURE__ */ e(
|
|
4408
4416
|
X,
|
|
4409
4417
|
{
|
|
4410
|
-
variant:
|
|
4418
|
+
variant: r ? "transparent" : "quinary",
|
|
4411
4419
|
href: d.link,
|
|
4412
|
-
bg:
|
|
4420
|
+
bg: r ? void 0 : c || "ultramarine",
|
|
4413
4421
|
color: "white",
|
|
4414
|
-
size:
|
|
4422
|
+
size: n ? "small" : "regular",
|
|
4415
4423
|
children: d.label
|
|
4416
4424
|
}
|
|
4417
4425
|
)
|
|
@@ -4421,9 +4429,9 @@ const m1 = F(
|
|
|
4421
4429
|
s.map((d, u) => /* @__PURE__ */ e(
|
|
4422
4430
|
X,
|
|
4423
4431
|
{
|
|
4424
|
-
variant:
|
|
4425
|
-
color:
|
|
4426
|
-
size:
|
|
4432
|
+
variant: r ? "transparent" : d.variant,
|
|
4433
|
+
color: r ? "white" : void 0,
|
|
4434
|
+
size: n ? "small" : "regular",
|
|
4427
4435
|
href: d.link,
|
|
4428
4436
|
className: p({ "c-breadcrumb__inner-tag": u !== s.length - 1 }),
|
|
4429
4437
|
children: d.label
|
|
@@ -4438,8 +4446,8 @@ const m1 = F(
|
|
|
4438
4446
|
heading: s,
|
|
4439
4447
|
columnsNumber: c = { xs: 2, md: 4 },
|
|
4440
4448
|
visibleItems: l,
|
|
4441
|
-
maxItems:
|
|
4442
|
-
link:
|
|
4449
|
+
maxItems: n,
|
|
4450
|
+
link: r,
|
|
4443
4451
|
...i
|
|
4444
4452
|
}) => {
|
|
4445
4453
|
const o = l !== void 0 && a.length > l, d = (u) => /* @__PURE__ */ t(h, { alignItems: "baseline", children: [
|
|
@@ -4465,7 +4473,7 @@ const m1 = F(
|
|
|
4465
4473
|
gap: "s",
|
|
4466
4474
|
"aria-hidden": o
|
|
4467
4475
|
},
|
|
4468
|
-
link:
|
|
4476
|
+
link: r,
|
|
4469
4477
|
pt: { xs: "m", md: "xl" },
|
|
4470
4478
|
px: { xs: "m", md: "xl" },
|
|
4471
4479
|
pb: o ? "xxl" : { xs: "m", md: "xl" },
|
|
@@ -4496,18 +4504,18 @@ const m1 = F(
|
|
|
4496
4504
|
const s = [...a].sort(), c = /* @__PURE__ */ new Set();
|
|
4497
4505
|
let l = 0;
|
|
4498
4506
|
for (; l < s.length; ) {
|
|
4499
|
-
const
|
|
4500
|
-
let
|
|
4501
|
-
for (;
|
|
4502
|
-
const i = new Date(
|
|
4507
|
+
const n = [s[l]];
|
|
4508
|
+
let r = l + 1;
|
|
4509
|
+
for (; r < s.length; ) {
|
|
4510
|
+
const i = new Date(n[n.length - 1]), o = new Date(s[r]), d = new Date(i);
|
|
4503
4511
|
if (d.setDate(d.getDate() + 1), d.getTime() === o.getTime())
|
|
4504
|
-
|
|
4512
|
+
n.push(s[r]), r += 1;
|
|
4505
4513
|
else
|
|
4506
4514
|
break;
|
|
4507
4515
|
}
|
|
4508
|
-
|
|
4516
|
+
n.length >= 2 && n.forEach((i) => {
|
|
4509
4517
|
c.add(i);
|
|
4510
|
-
}), l =
|
|
4518
|
+
}), l = r;
|
|
4511
4519
|
}
|
|
4512
4520
|
return c;
|
|
4513
4521
|
}, D2 = ({
|
|
@@ -4515,8 +4523,8 @@ const m1 = F(
|
|
|
4515
4523
|
maxStreakDates: s = [],
|
|
4516
4524
|
initialMonth: c,
|
|
4517
4525
|
initialDate: l,
|
|
4518
|
-
className:
|
|
4519
|
-
...
|
|
4526
|
+
className: n,
|
|
4527
|
+
...r
|
|
4520
4528
|
}) => {
|
|
4521
4529
|
const i = W(() => {
|
|
4522
4530
|
const y = l ? new Date(l) : /* @__PURE__ */ new Date();
|
|
@@ -4544,7 +4552,7 @@ const m1 = F(
|
|
|
4544
4552
|
}, S = () => {
|
|
4545
4553
|
k && d((y) => y.month === 11 ? { year: y.year + 1, month: 0 } : { year: y.year, month: y.month + 1 });
|
|
4546
4554
|
};
|
|
4547
|
-
return /* @__PURE__ */ t(x, { ...
|
|
4555
|
+
return /* @__PURE__ */ t(x, { ...r, className: p("c-calendar", n), px: "s", py: "xl", bg: "grey-100", children: [
|
|
4548
4556
|
/* @__PURE__ */ t(h, { justifyContent: "center", alignItems: "center", mb: "l", gap: "l", children: [
|
|
4549
4557
|
/* @__PURE__ */ e(
|
|
4550
4558
|
H,
|
|
@@ -4613,13 +4621,13 @@ const m1 = F(
|
|
|
4613
4621
|
}) })
|
|
4614
4622
|
] });
|
|
4615
4623
|
}, O = F(
|
|
4616
|
-
({ as: a = "article", children: s, className: c, clickable: l = !1, ...
|
|
4624
|
+
({ as: a = "article", children: s, className: c, clickable: l = !1, ...n }, r) => /* @__PURE__ */ e(
|
|
4617
4625
|
h,
|
|
4618
4626
|
{
|
|
4619
|
-
...
|
|
4627
|
+
...n,
|
|
4620
4628
|
as: a,
|
|
4621
|
-
ref:
|
|
4622
|
-
justifyContent:
|
|
4629
|
+
ref: r,
|
|
4630
|
+
justifyContent: n?.justifyContent || "between",
|
|
4623
4631
|
className: p(
|
|
4624
4632
|
"c-card-container",
|
|
4625
4633
|
{ "c-card-container--clickable": l },
|
|
@@ -4633,20 +4641,20 @@ const m1 = F(
|
|
|
4633
4641
|
avatarAlt: s,
|
|
4634
4642
|
avatarUrl: c,
|
|
4635
4643
|
secondaryText: l,
|
|
4636
|
-
bg:
|
|
4637
|
-
...
|
|
4644
|
+
bg: n,
|
|
4645
|
+
...r
|
|
4638
4646
|
}) => {
|
|
4639
4647
|
const i = {
|
|
4640
4648
|
as: "span",
|
|
4641
4649
|
size: "xs",
|
|
4642
|
-
bg:
|
|
4643
|
-
p:
|
|
4644
|
-
color:
|
|
4650
|
+
bg: n || void 0,
|
|
4651
|
+
p: n ? "xxs" : void 0,
|
|
4652
|
+
color: n ? "grey-900" : void 0
|
|
4645
4653
|
}, o = /* @__PURE__ */ t(h, { gap: "xxs", children: [
|
|
4646
4654
|
/* @__PURE__ */ e(v1, { variant: "xsmall", img: c, alt: s }),
|
|
4647
4655
|
/* @__PURE__ */ e(g, { ...i, mt: "xxs-2", children: a })
|
|
4648
4656
|
] });
|
|
4649
|
-
return /* @__PURE__ */ t(h, { ...
|
|
4657
|
+
return /* @__PURE__ */ t(h, { ...r, justifyContent: "between", alignItems: "center", gap: "s", children: [
|
|
4650
4658
|
c ? o : /* @__PURE__ */ e(g, { ...i, children: a }),
|
|
4651
4659
|
l && /* @__PURE__ */ e(g, { as: "span", size: "xxs-3", color: "grey-300", textTransform: "uppercase", children: l })
|
|
4652
4660
|
] });
|
|
@@ -4655,29 +4663,29 @@ const m1 = F(
|
|
|
4655
4663
|
liveTime: s,
|
|
4656
4664
|
rightSubheader: c,
|
|
4657
4665
|
location: l,
|
|
4658
|
-
...
|
|
4666
|
+
...n
|
|
4659
4667
|
}) => {
|
|
4660
|
-
const
|
|
4668
|
+
const r = /* @__PURE__ */ e(
|
|
4661
4669
|
A,
|
|
4662
4670
|
{
|
|
4663
4671
|
color: a.color || "grey-400",
|
|
4664
4672
|
isUppercase: a.isUppercase,
|
|
4665
4673
|
size: "xs",
|
|
4666
|
-
...!l && !s && !c &&
|
|
4674
|
+
...!l && !s && !c && n,
|
|
4667
4675
|
children: a.text
|
|
4668
4676
|
}
|
|
4669
|
-
), i = s || c ? /* @__PURE__ */ t(h, { ...!l &&
|
|
4677
|
+
), i = s || c ? /* @__PURE__ */ t(h, { ...!l && n, alignItems: "center", gap: "xxs-2", color: "grey-400", children: [
|
|
4670
4678
|
s && /* @__PURE__ */ t(j, { children: [
|
|
4671
4679
|
/* @__PURE__ */ e(g, { as: "span", size: "xs", color: "red", weight: "bold", children: s }),
|
|
4672
4680
|
/* @__PURE__ */ e(i1, { size: "xs", color: "red" })
|
|
4673
4681
|
] }),
|
|
4674
|
-
|
|
4682
|
+
r,
|
|
4675
4683
|
c && /* @__PURE__ */ t(j, { children: [
|
|
4676
4684
|
/* @__PURE__ */ e(i1, { size: "xs", color: a.color || "grey-400" }),
|
|
4677
4685
|
/* @__PURE__ */ e(g, { as: "time", size: "xs", color: c.color, children: c.text })
|
|
4678
4686
|
] })
|
|
4679
|
-
] }) :
|
|
4680
|
-
return l ? /* @__PURE__ */ t(h, { ...
|
|
4687
|
+
] }) : r;
|
|
4688
|
+
return l ? /* @__PURE__ */ t(h, { ...n, direction: "column", children: [
|
|
4681
4689
|
i,
|
|
4682
4690
|
/* @__PURE__ */ t(h, { color: "ultramarine", mt: "xxs-2", children: [
|
|
4683
4691
|
/* @__PURE__ */ e(N, { name: "local", size: 13, mr: "xxs-2" }),
|
|
@@ -4690,8 +4698,8 @@ const m1 = F(
|
|
|
4690
4698
|
iconSize: s,
|
|
4691
4699
|
iconColor: c,
|
|
4692
4700
|
iconBackground: l,
|
|
4693
|
-
count:
|
|
4694
|
-
countColor:
|
|
4701
|
+
count: n,
|
|
4702
|
+
countColor: r,
|
|
4695
4703
|
countBg: i,
|
|
4696
4704
|
countSize: o,
|
|
4697
4705
|
countStyle: d = "rounded",
|
|
@@ -4728,7 +4736,7 @@ const m1 = F(
|
|
|
4728
4736
|
return l === "none" ? void 0 : l;
|
|
4729
4737
|
if (Z)
|
|
4730
4738
|
return Z === "secondary" ? "grey-100" : void 0;
|
|
4731
|
-
}, y = () => o === "small" ? "xxs-2" : Z && Z === "secondary" ? "xxs" : "xxs-2", B = () =>
|
|
4739
|
+
}, y = () => o === "small" ? "xxs-2" : Z && Z === "secondary" ? "xxs" : "xxs-2", B = () => r || (Z && Z === "secondary" ? "black" : "white"), E = () => i || (Z && Z === "secondary" ? void 0 : "default"), K = () => d === "inline" && l !== "none" ? "xxs-2" : void 0, P = () => {
|
|
4732
4740
|
const a1 = /* @__PURE__ */ e(
|
|
4733
4741
|
h,
|
|
4734
4742
|
{
|
|
@@ -4744,7 +4752,7 @@ const m1 = F(
|
|
|
4744
4752
|
children: /* @__PURE__ */ e(N, { size: M(), ...a })
|
|
4745
4753
|
}
|
|
4746
4754
|
);
|
|
4747
|
-
return
|
|
4755
|
+
return n !== void 0 ? /* @__PURE__ */ t(h, { className: "c-icon-item", alignItems: "center", children: [
|
|
4748
4756
|
a1,
|
|
4749
4757
|
/* @__PURE__ */ e(
|
|
4750
4758
|
g,
|
|
@@ -4758,7 +4766,7 @@ const m1 = F(
|
|
|
4758
4766
|
[`c-icon-item__count--${d}`]: d,
|
|
4759
4767
|
[`c-icon-item__count--${o}`]: o
|
|
4760
4768
|
}),
|
|
4761
|
-
children:
|
|
4769
|
+
children: n === 0 ? "0" : n
|
|
4762
4770
|
}
|
|
4763
4771
|
)
|
|
4764
4772
|
] }) : a1;
|
|
@@ -4799,8 +4807,8 @@ const m1 = F(
|
|
|
4799
4807
|
id: s,
|
|
4800
4808
|
defaultFormat: c,
|
|
4801
4809
|
formats: l,
|
|
4802
|
-
sizes:
|
|
4803
|
-
alt:
|
|
4810
|
+
sizes: n,
|
|
4811
|
+
alt: r,
|
|
4804
4812
|
caption: i,
|
|
4805
4813
|
lazyLoad: o = !1,
|
|
4806
4814
|
fetchPriority: d = "auto",
|
|
@@ -4821,8 +4829,8 @@ const m1 = F(
|
|
|
4821
4829
|
src: a,
|
|
4822
4830
|
defaultFormat: c,
|
|
4823
4831
|
formats: l,
|
|
4824
|
-
sizes:
|
|
4825
|
-
alt:
|
|
4832
|
+
sizes: n,
|
|
4833
|
+
alt: r,
|
|
4826
4834
|
lazyLoad: o,
|
|
4827
4835
|
fetchPriority: d,
|
|
4828
4836
|
radius: C,
|
|
@@ -4896,8 +4904,8 @@ const m1 = F(
|
|
|
4896
4904
|
cartridgeIsCentered: s,
|
|
4897
4905
|
maxRows: c,
|
|
4898
4906
|
as: l,
|
|
4899
|
-
href:
|
|
4900
|
-
hrefTarget:
|
|
4907
|
+
href: n,
|
|
4908
|
+
hrefTarget: r,
|
|
4901
4909
|
size: i,
|
|
4902
4910
|
fontFamily: o,
|
|
4903
4911
|
weight: d,
|
|
@@ -4920,8 +4928,8 @@ const m1 = F(
|
|
|
4920
4928
|
L,
|
|
4921
4929
|
{
|
|
4922
4930
|
as: l || "h1",
|
|
4923
|
-
...
|
|
4924
|
-
...
|
|
4931
|
+
...n && { as: "a", href: n },
|
|
4932
|
+
...r && { target: r },
|
|
4925
4933
|
size: i || "m",
|
|
4926
4934
|
fontFamily: o || "source-serif-pro",
|
|
4927
4935
|
weight: d || "semi-bold",
|
|
@@ -4950,8 +4958,8 @@ const m1 = F(
|
|
|
4950
4958
|
title: s,
|
|
4951
4959
|
summaryProps: c,
|
|
4952
4960
|
cardHeaderProps: l,
|
|
4953
|
-
cardTitleProps:
|
|
4954
|
-
cardImageProps:
|
|
4961
|
+
cardTitleProps: n,
|
|
4962
|
+
cardImageProps: r,
|
|
4955
4963
|
layout: i,
|
|
4956
4964
|
signatureProps: o,
|
|
4957
4965
|
socialBarProps: d,
|
|
@@ -4977,17 +4985,17 @@ const m1 = F(
|
|
|
4977
4985
|
"o-columns-by-3": u
|
|
4978
4986
|
}),
|
|
4979
4987
|
children: [
|
|
4980
|
-
|
|
4988
|
+
r || m ? /* @__PURE__ */ e(
|
|
4981
4989
|
x,
|
|
4982
4990
|
{
|
|
4983
4991
|
className: p({
|
|
4984
4992
|
"o-lt-show__main": !u,
|
|
4985
4993
|
"o-columns-by-3__first-2-columns": u
|
|
4986
4994
|
}),
|
|
4987
|
-
children:
|
|
4995
|
+
children: r && /* @__PURE__ */ e(
|
|
4988
4996
|
T,
|
|
4989
4997
|
{
|
|
4990
|
-
...
|
|
4998
|
+
...r,
|
|
4991
4999
|
formats: b,
|
|
4992
5000
|
defaultFormat: "722x460",
|
|
4993
5001
|
sizes: "(min-width: 1024px) 722px, (min-width: 480px) 640px, 320px",
|
|
@@ -5009,7 +5017,7 @@ const m1 = F(
|
|
|
5009
5017
|
children: [
|
|
5010
5018
|
/* @__PURE__ */ t(h, { direction: "column", flexGrow: 1, children: [
|
|
5011
5019
|
l && /* @__PURE__ */ e(e1, { ...l, rightSubheader: void 0, mb: "xxs-2" }),
|
|
5012
|
-
/* @__PURE__ */ e(D, { as: "h2", size: "l", weight: "bold", cartridgeIsCentered: !0, ...
|
|
5020
|
+
/* @__PURE__ */ e(D, { as: "h2", size: "l", weight: "bold", cartridgeIsCentered: !0, ...n, children: /* @__PURE__ */ e("a", { href: a, children: s }) }),
|
|
5013
5021
|
c && /* @__PURE__ */ e(
|
|
5014
5022
|
g,
|
|
5015
5023
|
{
|
|
@@ -5039,11 +5047,11 @@ const m1 = F(
|
|
|
5039
5047
|
) : /* @__PURE__ */ t(j, { children: [
|
|
5040
5048
|
/* @__PURE__ */ t("div", { children: [
|
|
5041
5049
|
l && /* @__PURE__ */ e(e1, { ...l, rightSubheader: void 0, mx: "m", mb: "xxs-2" }),
|
|
5042
|
-
/* @__PURE__ */ e(D, { as: "h2", weight: "bold", ...
|
|
5043
|
-
|
|
5050
|
+
/* @__PURE__ */ e(D, { as: "h2", weight: "bold", ...n, mx: "m", children: /* @__PURE__ */ e("a", { href: a, children: s }) }),
|
|
5051
|
+
r && /* @__PURE__ */ e(
|
|
5044
5052
|
T,
|
|
5045
5053
|
{
|
|
5046
|
-
...
|
|
5054
|
+
...r,
|
|
5047
5055
|
formats: b,
|
|
5048
5056
|
defaultFormat: "640x408",
|
|
5049
5057
|
alt: s,
|
|
@@ -5091,8 +5099,8 @@ const m1 = F(
|
|
|
5091
5099
|
title: s,
|
|
5092
5100
|
cardHeaderProps: c,
|
|
5093
5101
|
cardTitleProps: l,
|
|
5094
|
-
cardImageProps:
|
|
5095
|
-
cardFooterProps:
|
|
5102
|
+
cardImageProps: n,
|
|
5103
|
+
cardFooterProps: r,
|
|
5096
5104
|
layout: i,
|
|
5097
5105
|
socialBarProps: o,
|
|
5098
5106
|
reverseCard: d,
|
|
@@ -5131,12 +5139,12 @@ const m1 = F(
|
|
|
5131
5139
|
children: /* @__PURE__ */ e("a", { href: a, children: s })
|
|
5132
5140
|
}
|
|
5133
5141
|
),
|
|
5134
|
-
|
|
5142
|
+
n && /* @__PURE__ */ e(
|
|
5135
5143
|
T,
|
|
5136
5144
|
{
|
|
5137
|
-
...
|
|
5138
|
-
...
|
|
5139
|
-
caption: { size: "small", ...
|
|
5145
|
+
...n,
|
|
5146
|
+
...n.caption && {
|
|
5147
|
+
caption: { size: "small", ...n.caption }
|
|
5140
5148
|
},
|
|
5141
5149
|
defaultFormat: i === z.DESKTOP ? "130x82" : "260x164",
|
|
5142
5150
|
formats: ["260x164", "130x82"],
|
|
@@ -5148,7 +5156,7 @@ const m1 = F(
|
|
|
5148
5156
|
]
|
|
5149
5157
|
}
|
|
5150
5158
|
),
|
|
5151
|
-
|
|
5159
|
+
r && /* @__PURE__ */ e(c0, { ...r, mt: "xs" }),
|
|
5152
5160
|
o && /* @__PURE__ */ e(
|
|
5153
5161
|
o1,
|
|
5154
5162
|
{
|
|
@@ -5166,8 +5174,8 @@ const m1 = F(
|
|
|
5166
5174
|
title: s,
|
|
5167
5175
|
layout: c,
|
|
5168
5176
|
summaryProps: l,
|
|
5169
|
-
cardHeaderProps:
|
|
5170
|
-
cardTitleProps:
|
|
5177
|
+
cardHeaderProps: n,
|
|
5178
|
+
cardTitleProps: r,
|
|
5171
5179
|
cardImageProps: i,
|
|
5172
5180
|
socialBarProps: o,
|
|
5173
5181
|
clickable: d,
|
|
@@ -5196,7 +5204,7 @@ const m1 = F(
|
|
|
5196
5204
|
alt: s
|
|
5197
5205
|
}
|
|
5198
5206
|
),
|
|
5199
|
-
|
|
5207
|
+
n && l && /* @__PURE__ */ e(x, { className: "c-card-frame__summary", px: { xs: "m", md: "xl" }, children: /* @__PURE__ */ t(
|
|
5200
5208
|
x,
|
|
5201
5209
|
{
|
|
5202
5210
|
className: "c-card-frame__summary-inner",
|
|
@@ -5205,8 +5213,8 @@ const m1 = F(
|
|
|
5205
5213
|
pb: "xl",
|
|
5206
5214
|
px: { xs: "l", md: "xxl" },
|
|
5207
5215
|
children: [
|
|
5208
|
-
/* @__PURE__ */ e(A, { color:
|
|
5209
|
-
/* @__PURE__ */ e(D, { size: { xs: "s", md: "l" }, weight: "bold", pb: "xxs", ...
|
|
5216
|
+
/* @__PURE__ */ e(A, { color: n.headline.color, size: "xs", pb: "xxs", children: n.headline.text }),
|
|
5217
|
+
/* @__PURE__ */ e(D, { size: { xs: "s", md: "l" }, weight: "bold", pb: "xxs", ...r, children: s }),
|
|
5210
5218
|
/* @__PURE__ */ e(
|
|
5211
5219
|
g,
|
|
5212
5220
|
{
|
|
@@ -5228,8 +5236,8 @@ const m1 = F(
|
|
|
5228
5236
|
title: s,
|
|
5229
5237
|
layout: c,
|
|
5230
5238
|
summaryProps: l,
|
|
5231
|
-
cardHeaderProps:
|
|
5232
|
-
cardTitleProps:
|
|
5239
|
+
cardHeaderProps: n,
|
|
5240
|
+
cardTitleProps: r,
|
|
5233
5241
|
cardImageProps: i,
|
|
5234
5242
|
socialBarProps: o,
|
|
5235
5243
|
mediaSrc: d,
|
|
@@ -5254,8 +5262,8 @@ const m1 = F(
|
|
|
5254
5262
|
}),
|
|
5255
5263
|
color: "white",
|
|
5256
5264
|
children: [
|
|
5257
|
-
|
|
5258
|
-
/* @__PURE__ */ e(D, { size: "l", weight: "bold", cartridgeIsCentered: !0, ...
|
|
5265
|
+
n && /* @__PURE__ */ e(A, { size: "xs", children: n.headline.text }),
|
|
5266
|
+
/* @__PURE__ */ e(D, { size: "l", weight: "bold", cartridgeIsCentered: !0, ...r, children: s }),
|
|
5259
5267
|
l && /* @__PURE__ */ e(g, { ...l, as: "span", size: "l", fontFamily: "source-serif-pro", children: l.children })
|
|
5260
5268
|
]
|
|
5261
5269
|
}
|
|
@@ -5273,8 +5281,8 @@ const m1 = F(
|
|
|
5273
5281
|
radius: "0"
|
|
5274
5282
|
}
|
|
5275
5283
|
) || d && /* @__PURE__ */ e(x1, { type: Y.video, src: d, videoIs16by9: !0, mb: "xs" }) || null,
|
|
5276
|
-
|
|
5277
|
-
/* @__PURE__ */ e(D, { mx: "m", weight: "bold", ...
|
|
5284
|
+
n && /* @__PURE__ */ e(A, { color: n.headline.color || "grey-400", size: "xs", mx: "m", mb: "xxs", children: n.headline.text }),
|
|
5285
|
+
/* @__PURE__ */ e(D, { mx: "m", weight: "bold", ...r, children: s }),
|
|
5278
5286
|
d && l && /* @__PURE__ */ e(
|
|
5279
5287
|
g,
|
|
5280
5288
|
{
|
|
@@ -5304,8 +5312,8 @@ const m1 = F(
|
|
|
5304
5312
|
title: s,
|
|
5305
5313
|
cardHeaderProps: c,
|
|
5306
5314
|
cardTitleProps: l,
|
|
5307
|
-
cardImageProps:
|
|
5308
|
-
socialBarProps:
|
|
5315
|
+
cardImageProps: n,
|
|
5316
|
+
socialBarProps: r,
|
|
5309
5317
|
cardFooterProps: i,
|
|
5310
5318
|
bg: o,
|
|
5311
5319
|
radius: d,
|
|
@@ -5321,10 +5329,10 @@ const m1 = F(
|
|
|
5321
5329
|
radius: o ? d || "xxs" : void 0,
|
|
5322
5330
|
clickable: !0,
|
|
5323
5331
|
children: [
|
|
5324
|
-
|
|
5332
|
+
n && /* @__PURE__ */ e(
|
|
5325
5333
|
T,
|
|
5326
5334
|
{
|
|
5327
|
-
...
|
|
5335
|
+
...n,
|
|
5328
5336
|
formats: ["480x308", "346x222"],
|
|
5329
5337
|
defaultFormat: "480x308",
|
|
5330
5338
|
alt: s,
|
|
@@ -5357,11 +5365,11 @@ const m1 = F(
|
|
|
5357
5365
|
bg: i?.bg || o
|
|
5358
5366
|
}
|
|
5359
5367
|
),
|
|
5360
|
-
|
|
5368
|
+
r && /* @__PURE__ */ e(
|
|
5361
5369
|
o1,
|
|
5362
5370
|
{
|
|
5363
5371
|
mt: "xs",
|
|
5364
|
-
...
|
|
5372
|
+
...r,
|
|
5365
5373
|
variant: "card",
|
|
5366
5374
|
className: "c-card-element--is-clickable"
|
|
5367
5375
|
}
|
|
@@ -5374,8 +5382,8 @@ const m1 = F(
|
|
|
5374
5382
|
title: s,
|
|
5375
5383
|
cardHeaderProps: c,
|
|
5376
5384
|
cardTitleProps: l,
|
|
5377
|
-
cardImageProps:
|
|
5378
|
-
cardNumber:
|
|
5385
|
+
cardImageProps: n,
|
|
5386
|
+
cardNumber: r,
|
|
5379
5387
|
layout: i,
|
|
5380
5388
|
summaryProps: o,
|
|
5381
5389
|
commentCount: d,
|
|
@@ -5400,10 +5408,10 @@ const m1 = F(
|
|
|
5400
5408
|
color: "ultramarine",
|
|
5401
5409
|
weight: "semi-bold",
|
|
5402
5410
|
className: p("c-card-most__card-number", {
|
|
5403
|
-
[`c-card-most__card-number--${
|
|
5411
|
+
[`c-card-most__card-number--${r.size || "default"}-size`]: !0
|
|
5404
5412
|
}),
|
|
5405
5413
|
mr: u === "small" ? "xs" : "m",
|
|
5406
|
-
children:
|
|
5414
|
+
children: r.value
|
|
5407
5415
|
}
|
|
5408
5416
|
),
|
|
5409
5417
|
/* @__PURE__ */ t(x, { className: "c-card-most__content", children: [
|
|
@@ -5421,12 +5429,12 @@ const m1 = F(
|
|
|
5421
5429
|
}
|
|
5422
5430
|
),
|
|
5423
5431
|
o && /* @__PURE__ */ e(g, { color: "grey-600", fontFamily: "source-serif-pro", size: "m", mt: "xs", ...o, children: o.children }),
|
|
5424
|
-
|
|
5432
|
+
n?.cover && i === z.MOBILE && /* @__PURE__ */ e(
|
|
5425
5433
|
T,
|
|
5426
5434
|
{
|
|
5427
|
-
...
|
|
5428
|
-
...
|
|
5429
|
-
caption: { size: "medium", ...
|
|
5435
|
+
...n,
|
|
5436
|
+
...n.caption && {
|
|
5437
|
+
caption: { size: "medium", ...n.caption }
|
|
5430
5438
|
},
|
|
5431
5439
|
defaultFormat: "297x204",
|
|
5432
5440
|
enableHD: !0,
|
|
@@ -5448,12 +5456,12 @@ const m1 = F(
|
|
|
5448
5456
|
/* @__PURE__ */ e(g, { size: "m", weight: "bold", children: z1(v) })
|
|
5449
5457
|
] })
|
|
5450
5458
|
] }),
|
|
5451
|
-
|
|
5459
|
+
n?.cover && i === z.DESKTOP && /* @__PURE__ */ e(
|
|
5452
5460
|
T,
|
|
5453
5461
|
{
|
|
5454
|
-
...
|
|
5455
|
-
...
|
|
5456
|
-
caption: { size: "small", ...
|
|
5462
|
+
...n,
|
|
5463
|
+
...n.caption && {
|
|
5464
|
+
caption: { size: "small", ...n.caption }
|
|
5457
5465
|
},
|
|
5458
5466
|
className: "c-card-most__img",
|
|
5459
5467
|
defaultFormat: u === "small" ? "72x46" : "150x95",
|
|
@@ -5470,8 +5478,8 @@ const m1 = F(
|
|
|
5470
5478
|
summary: s,
|
|
5471
5479
|
cardTitleProps: c,
|
|
5472
5480
|
cardImageProps: l,
|
|
5473
|
-
link:
|
|
5474
|
-
layout:
|
|
5481
|
+
link: n,
|
|
5482
|
+
layout: r,
|
|
5475
5483
|
directedBy: i,
|
|
5476
5484
|
castings: o,
|
|
5477
5485
|
genres: d,
|
|
@@ -5527,7 +5535,7 @@ const m1 = F(
|
|
|
5527
5535
|
sizes: "200px"
|
|
5528
5536
|
}
|
|
5529
5537
|
),
|
|
5530
|
-
|
|
5538
|
+
r === z.DESKTOP && /* @__PURE__ */ t(h, { direction: "column", gap: "xs", mt: "xs", children: [
|
|
5531
5539
|
v && /* @__PURE__ */ e($, { buttonColor: "primary", ...v }),
|
|
5532
5540
|
/* @__PURE__ */ e($, { buttonColor: "secondary", ...m })
|
|
5533
5541
|
] })
|
|
@@ -5542,7 +5550,7 @@ const m1 = F(
|
|
|
5542
5550
|
fontFamily: "source-serif-pro",
|
|
5543
5551
|
weight: "bold",
|
|
5544
5552
|
...c,
|
|
5545
|
-
children: /* @__PURE__ */ e("a", { href:
|
|
5553
|
+
children: /* @__PURE__ */ e("a", { href: n, children: a })
|
|
5546
5554
|
}
|
|
5547
5555
|
),
|
|
5548
5556
|
/* @__PURE__ */ t(g, { mt: "xxs-2", size: "s", children: [
|
|
@@ -5562,12 +5570,12 @@ const m1 = F(
|
|
|
5562
5570
|
/* @__PURE__ */ e("span", { children: d.join(", ") })
|
|
5563
5571
|
] })
|
|
5564
5572
|
] }),
|
|
5565
|
-
|
|
5573
|
+
r === z.DESKTOP && s && /* @__PURE__ */ e(g, { size: "m", mt: "xs", dangerouslySetInnerHTML: { __html: s } })
|
|
5566
5574
|
] }),
|
|
5567
|
-
|
|
5575
|
+
r === z.DESKTOP && b
|
|
5568
5576
|
] })
|
|
5569
5577
|
] }),
|
|
5570
|
-
|
|
5578
|
+
r === z.MOBILE && s && /* @__PURE__ */ e(
|
|
5571
5579
|
g,
|
|
5572
5580
|
{
|
|
5573
5581
|
..._,
|
|
@@ -5576,7 +5584,7 @@ const m1 = F(
|
|
|
5576
5584
|
dangerouslySetInnerHTML: { __html: s }
|
|
5577
5585
|
}
|
|
5578
5586
|
),
|
|
5579
|
-
|
|
5587
|
+
r === z.MOBILE && /* @__PURE__ */ t(j, { children: [
|
|
5580
5588
|
b,
|
|
5581
5589
|
/* @__PURE__ */ t(h, { direction: "column", gap: "xs", mt: "l", mx: "auto", className: "c-card-movie__footer", children: [
|
|
5582
5590
|
v && /* @__PURE__ */ e($, { buttonColor: "primary", ...v }),
|
|
@@ -5589,8 +5597,8 @@ const m1 = F(
|
|
|
5589
5597
|
label: s,
|
|
5590
5598
|
title: c,
|
|
5591
5599
|
description: l,
|
|
5592
|
-
imgUrl:
|
|
5593
|
-
externalLink:
|
|
5600
|
+
imgUrl: n,
|
|
5601
|
+
externalLink: r,
|
|
5594
5602
|
children: i,
|
|
5595
5603
|
withBorderBottom: o = !0,
|
|
5596
5604
|
isChecked: d = !1,
|
|
@@ -5618,7 +5626,7 @@ const m1 = F(
|
|
|
5618
5626
|
justifyContent: "center",
|
|
5619
5627
|
bg: u,
|
|
5620
5628
|
className: "c-card-newsletter__icon",
|
|
5621
|
-
children: /* @__PURE__ */ e("img", { src:
|
|
5629
|
+
children: /* @__PURE__ */ e("img", { src: n, alt: c })
|
|
5622
5630
|
}
|
|
5623
5631
|
),
|
|
5624
5632
|
/* @__PURE__ */ t("div", { children: [
|
|
@@ -5644,7 +5652,7 @@ const m1 = F(
|
|
|
5644
5652
|
children: d ? "Se désabonner" : "S'inscrire"
|
|
5645
5653
|
}
|
|
5646
5654
|
),
|
|
5647
|
-
|
|
5655
|
+
r && /* @__PURE__ */ e($, { target: "_blank", href: r, color: u, children: "Voir la newsletter" })
|
|
5648
5656
|
] })
|
|
5649
5657
|
] })
|
|
5650
5658
|
] })
|
|
@@ -5656,15 +5664,15 @@ const m1 = F(
|
|
|
5656
5664
|
hasDot: s,
|
|
5657
5665
|
closeButton: c,
|
|
5658
5666
|
cardImageProps: l,
|
|
5659
|
-
summaryProps:
|
|
5660
|
-
title:
|
|
5667
|
+
summaryProps: n,
|
|
5668
|
+
title: r,
|
|
5661
5669
|
linkButton: i
|
|
5662
5670
|
}) => /* @__PURE__ */ t(O, { direction: "column", justifyContent: "start", className: "c-card-notification", pb: "xs", children: [
|
|
5663
5671
|
a && /* @__PURE__ */ e(g, { as: "time", color: "grey-400", size: "xxs", mb: "xxs-2", children: a }),
|
|
5664
5672
|
/* @__PURE__ */ t(h, { justifyContent: "between", gap: "l", direction: "row", children: [
|
|
5665
5673
|
/* @__PURE__ */ t(h, { justifyContent: "start", direction: "row", gap: "xs", children: [
|
|
5666
5674
|
s && /* @__PURE__ */ e(i1, { size: "xxl", color: "red", className: "c-card-notification__dot" }),
|
|
5667
|
-
/* @__PURE__ */ e($, { color: "inherit", ...i, children:
|
|
5675
|
+
/* @__PURE__ */ e($, { color: "inherit", ...i, children: n && /* @__PURE__ */ e(g, { className: "c-card-notification__summary", ...n }) })
|
|
5668
5676
|
] }),
|
|
5669
5677
|
/* @__PURE__ */ t(h, { justifyContent: "end", direction: "row", gap: "xs", children: [
|
|
5670
5678
|
l && /* @__PURE__ */ e(
|
|
@@ -5677,7 +5685,7 @@ const m1 = F(
|
|
|
5677
5685
|
defaultFormat: "130x82",
|
|
5678
5686
|
formats: ["130x82"],
|
|
5679
5687
|
sizes: "130px",
|
|
5680
|
-
alt:
|
|
5688
|
+
alt: r,
|
|
5681
5689
|
className: "c-card-notification__img"
|
|
5682
5690
|
}
|
|
5683
5691
|
),
|
|
@@ -5700,8 +5708,8 @@ const m1 = F(
|
|
|
5700
5708
|
cardImageProps: s,
|
|
5701
5709
|
cardHeaderProps: c,
|
|
5702
5710
|
cardTitleProps: l,
|
|
5703
|
-
title:
|
|
5704
|
-
variant:
|
|
5711
|
+
title: n,
|
|
5712
|
+
variant: r = "default",
|
|
5705
5713
|
...i
|
|
5706
5714
|
}) => {
|
|
5707
5715
|
const { summaryProps: o, cardFooterProps: d, signatureProps: u, socialBarProps: m, ...v } = i;
|
|
@@ -5711,7 +5719,7 @@ const m1 = F(
|
|
|
5711
5719
|
sizes: "(min-width: 768px) 58px, 51px",
|
|
5712
5720
|
className: "c-card-overview__img"
|
|
5713
5721
|
};
|
|
5714
|
-
switch (
|
|
5722
|
+
switch (r) {
|
|
5715
5723
|
case "big":
|
|
5716
5724
|
f = { xs: "xxs-2", md: "xs" }, _ = {
|
|
5717
5725
|
defaultFormat: "100x100",
|
|
@@ -5732,7 +5740,7 @@ const m1 = F(
|
|
|
5732
5740
|
return /* @__PURE__ */ t(
|
|
5733
5741
|
O,
|
|
5734
5742
|
{
|
|
5735
|
-
alignItems:
|
|
5743
|
+
alignItems: r === "overviewBar" ? "center" : "start",
|
|
5736
5744
|
justifyContent: "start",
|
|
5737
5745
|
gap: "xs",
|
|
5738
5746
|
className: "c-card-overview",
|
|
@@ -5744,13 +5752,13 @@ const m1 = F(
|
|
|
5744
5752
|
{
|
|
5745
5753
|
...s,
|
|
5746
5754
|
..._,
|
|
5747
|
-
alt:
|
|
5755
|
+
alt: n,
|
|
5748
5756
|
radius: "xxl",
|
|
5749
5757
|
caption: void 0
|
|
5750
5758
|
}
|
|
5751
5759
|
),
|
|
5752
5760
|
/* @__PURE__ */ t(h, { wrap: "wrap", children: [
|
|
5753
|
-
c &&
|
|
5761
|
+
c && r !== "overviewBar" && /* @__PURE__ */ e(
|
|
5754
5762
|
A,
|
|
5755
5763
|
{
|
|
5756
5764
|
bg: c.headline.bg || "ultramarine",
|
|
@@ -5764,14 +5772,14 @@ const m1 = F(
|
|
|
5764
5772
|
D,
|
|
5765
5773
|
{
|
|
5766
5774
|
as: "h3",
|
|
5767
|
-
size:
|
|
5775
|
+
size: r === "overviewBar" ? { xs: "xxs-4", md: "xxs-3" } : f,
|
|
5768
5776
|
fontFamily: "source-serif-pro",
|
|
5769
5777
|
weight: "semi-bold",
|
|
5770
5778
|
pb: void 0,
|
|
5771
5779
|
cartridgeIsCentered: !0,
|
|
5772
5780
|
...l,
|
|
5773
5781
|
className: p("c-card-overview__title", l?.className),
|
|
5774
|
-
children: /* @__PURE__ */ e("a", { href: a, children:
|
|
5782
|
+
children: /* @__PURE__ */ e("a", { href: a, children: n })
|
|
5775
5783
|
}
|
|
5776
5784
|
)
|
|
5777
5785
|
] })
|
|
@@ -5783,7 +5791,7 @@ const m1 = F(
|
|
|
5783
5791
|
cardImageProps: s,
|
|
5784
5792
|
cardHeaderProps: c,
|
|
5785
5793
|
price: l,
|
|
5786
|
-
...
|
|
5794
|
+
...n
|
|
5787
5795
|
}) => /* @__PURE__ */ t(
|
|
5788
5796
|
O,
|
|
5789
5797
|
{
|
|
@@ -5792,7 +5800,7 @@ const m1 = F(
|
|
|
5792
5800
|
gap: "xs",
|
|
5793
5801
|
className: "c-card-product",
|
|
5794
5802
|
clickable: !0,
|
|
5795
|
-
...
|
|
5803
|
+
...n,
|
|
5796
5804
|
children: [
|
|
5797
5805
|
s && /* @__PURE__ */ e(
|
|
5798
5806
|
T,
|
|
@@ -5820,8 +5828,8 @@ const m1 = F(
|
|
|
5820
5828
|
title: s,
|
|
5821
5829
|
summaryProps: c,
|
|
5822
5830
|
cardHeaderProps: l,
|
|
5823
|
-
cardTitleProps:
|
|
5824
|
-
cardImageProps:
|
|
5831
|
+
cardTitleProps: n,
|
|
5832
|
+
cardImageProps: r,
|
|
5825
5833
|
linkProps: i,
|
|
5826
5834
|
...o
|
|
5827
5835
|
}) => {
|
|
@@ -5835,10 +5843,10 @@ const m1 = F(
|
|
|
5835
5843
|
gap: "xl",
|
|
5836
5844
|
className: p("o-lt-show", o.className),
|
|
5837
5845
|
children: [
|
|
5838
|
-
/* @__PURE__ */ e(x, { className: p("o-lt-show__main"), children:
|
|
5846
|
+
/* @__PURE__ */ e(x, { className: p("o-lt-show__main"), children: r && /* @__PURE__ */ e(
|
|
5839
5847
|
T,
|
|
5840
5848
|
{
|
|
5841
|
-
...
|
|
5849
|
+
...r,
|
|
5842
5850
|
formats: d,
|
|
5843
5851
|
defaultFormat: "480x308",
|
|
5844
5852
|
sizes: "(min-width: 1024px) 480px, (min-width: 480px) 346px",
|
|
@@ -5856,7 +5864,7 @@ const m1 = F(
|
|
|
5856
5864
|
pb: "xxs",
|
|
5857
5865
|
weight: "bold",
|
|
5858
5866
|
cartridgeIsCentered: !0,
|
|
5859
|
-
...
|
|
5867
|
+
...n,
|
|
5860
5868
|
children: /* @__PURE__ */ e("a", { href: a, children: s })
|
|
5861
5869
|
}
|
|
5862
5870
|
),
|
|
@@ -5908,14 +5916,14 @@ const m1 = F(
|
|
|
5908
5916
|
title: s,
|
|
5909
5917
|
cardHeaderProps: c,
|
|
5910
5918
|
cardTitleProps: l,
|
|
5911
|
-
cardImageProps:
|
|
5912
|
-
summaryProps:
|
|
5919
|
+
cardImageProps: n,
|
|
5920
|
+
summaryProps: r,
|
|
5913
5921
|
layout: i,
|
|
5914
5922
|
variant: o = "default",
|
|
5915
5923
|
...d
|
|
5916
5924
|
}) => {
|
|
5917
5925
|
const { cardFooterProps: u, signatureProps: m, socialBarProps: v, ...f } = d, _ = /* @__PURE__ */ t(j, { children: [
|
|
5918
|
-
|
|
5926
|
+
n && /* @__PURE__ */ e(
|
|
5919
5927
|
T,
|
|
5920
5928
|
{
|
|
5921
5929
|
sizes: "(min-width: 480px) 252px, 160px",
|
|
@@ -5924,11 +5932,11 @@ const m1 = F(
|
|
|
5924
5932
|
alt: s,
|
|
5925
5933
|
mb: o === "title-on-image" ? "0" : "xxs",
|
|
5926
5934
|
withShadow: o === "title-on-image",
|
|
5927
|
-
...
|
|
5928
|
-
...
|
|
5935
|
+
...n,
|
|
5936
|
+
...n.caption && {
|
|
5929
5937
|
caption: {
|
|
5930
5938
|
size: i === z.DESKTOP ? "medium" : "small",
|
|
5931
|
-
...
|
|
5939
|
+
...n.caption
|
|
5932
5940
|
}
|
|
5933
5941
|
}
|
|
5934
5942
|
}
|
|
@@ -5948,14 +5956,14 @@ const m1 = F(
|
|
|
5948
5956
|
children: o === "title-on-image" ? s : /* @__PURE__ */ e("a", { href: a, children: s })
|
|
5949
5957
|
}
|
|
5950
5958
|
),
|
|
5951
|
-
|
|
5959
|
+
r && /* @__PURE__ */ e(
|
|
5952
5960
|
g,
|
|
5953
5961
|
{
|
|
5954
|
-
...
|
|
5962
|
+
...r,
|
|
5955
5963
|
size: { xs: "s", md: "m" },
|
|
5956
5964
|
mt: "xxs-3",
|
|
5957
5965
|
className: "c-card-small__summary",
|
|
5958
|
-
children:
|
|
5966
|
+
children: r.children
|
|
5959
5967
|
}
|
|
5960
5968
|
)
|
|
5961
5969
|
] });
|
|
@@ -5965,25 +5973,25 @@ const m1 = F(
|
|
|
5965
5973
|
title: s,
|
|
5966
5974
|
cardHeaderProps: c,
|
|
5967
5975
|
cardTitleProps: l,
|
|
5968
|
-
cardImageProps:
|
|
5969
|
-
...
|
|
5976
|
+
cardImageProps: n,
|
|
5977
|
+
...r
|
|
5970
5978
|
}) => {
|
|
5971
|
-
const { summaryProps: i, cardFooterProps: o, signatureProps: d, socialBarProps: u, ...m } =
|
|
5979
|
+
const { summaryProps: i, cardFooterProps: o, signatureProps: d, socialBarProps: u, ...m } = r;
|
|
5972
5980
|
return /* @__PURE__ */ t(
|
|
5973
5981
|
O,
|
|
5974
5982
|
{
|
|
5975
5983
|
...m,
|
|
5976
5984
|
justifyContent: "start",
|
|
5977
5985
|
gap: "s",
|
|
5978
|
-
className: p("c-card-tiny",
|
|
5986
|
+
className: p("c-card-tiny", r?.className),
|
|
5979
5987
|
clickable: !0,
|
|
5980
5988
|
children: [
|
|
5981
|
-
|
|
5989
|
+
n && /* @__PURE__ */ e(
|
|
5982
5990
|
T,
|
|
5983
5991
|
{
|
|
5984
|
-
...
|
|
5985
|
-
...
|
|
5986
|
-
caption: { size: "small", ...
|
|
5992
|
+
...n,
|
|
5993
|
+
...n.caption && {
|
|
5994
|
+
caption: { size: "small", ...n.caption }
|
|
5987
5995
|
},
|
|
5988
5996
|
defaultFormat: "110x70",
|
|
5989
5997
|
alt: s,
|
|
@@ -6048,10 +6056,10 @@ const m1 = F(
|
|
|
6048
6056
|
title: s,
|
|
6049
6057
|
signatureProps: c,
|
|
6050
6058
|
summaryProps: l,
|
|
6051
|
-
cardTitleProps:
|
|
6052
|
-
videoProps:
|
|
6059
|
+
cardTitleProps: n,
|
|
6060
|
+
videoProps: r,
|
|
6053
6061
|
...i
|
|
6054
|
-
}) =>
|
|
6062
|
+
}) => r ? (
|
|
6055
6063
|
// can't use CardContainer here, it's a flex component and it's not the right structure for this card
|
|
6056
6064
|
/* @__PURE__ */ t(
|
|
6057
6065
|
x,
|
|
@@ -6062,7 +6070,7 @@ const m1 = F(
|
|
|
6062
6070
|
"c-card-container--with-title-opacity-hover": !!a
|
|
6063
6071
|
}),
|
|
6064
6072
|
children: [
|
|
6065
|
-
/* @__PURE__ */ e(x1, { ...
|
|
6073
|
+
/* @__PURE__ */ e(x1, { ...r, type: Y.video }),
|
|
6066
6074
|
/* @__PURE__ */ e(x, { px: { xs: "m", md: "0" }, children: /* @__PURE__ */ e(
|
|
6067
6075
|
D,
|
|
6068
6076
|
{
|
|
@@ -6071,7 +6079,7 @@ const m1 = F(
|
|
|
6071
6079
|
mt: "xs",
|
|
6072
6080
|
weight: "bold",
|
|
6073
6081
|
cartridgeIsCentered: !0,
|
|
6074
|
-
...
|
|
6082
|
+
...n,
|
|
6075
6083
|
children: a ? /* @__PURE__ */ e("a", { href: a, children: s }) : s
|
|
6076
6084
|
}
|
|
6077
6085
|
) }),
|
|
@@ -6097,11 +6105,11 @@ const m1 = F(
|
|
|
6097
6105
|
title: s,
|
|
6098
6106
|
cardImageProps: c,
|
|
6099
6107
|
layout: l,
|
|
6100
|
-
...
|
|
6108
|
+
...n
|
|
6101
6109
|
}) => /* @__PURE__ */ e(
|
|
6102
6110
|
x,
|
|
6103
6111
|
{
|
|
6104
|
-
...
|
|
6112
|
+
...n,
|
|
6105
6113
|
as: "a",
|
|
6106
6114
|
href: a,
|
|
6107
6115
|
className: p(
|
|
@@ -6125,8 +6133,8 @@ const m1 = F(
|
|
|
6125
6133
|
summaryProps: s,
|
|
6126
6134
|
cardTitleProps: c,
|
|
6127
6135
|
link: l,
|
|
6128
|
-
linkProps:
|
|
6129
|
-
location:
|
|
6136
|
+
linkProps: n,
|
|
6137
|
+
location: r,
|
|
6130
6138
|
...i
|
|
6131
6139
|
}) => /* @__PURE__ */ t(
|
|
6132
6140
|
O,
|
|
@@ -6137,14 +6145,14 @@ const m1 = F(
|
|
|
6137
6145
|
alignItems: { xs: "baseline", md: "center" },
|
|
6138
6146
|
children: [
|
|
6139
6147
|
/* @__PURE__ */ t(I, { grow: 1, children: [
|
|
6140
|
-
|
|
6148
|
+
r && /* @__PURE__ */ t(h, { color: "ultramarine", children: [
|
|
6141
6149
|
/* @__PURE__ */ e(N, { name: "local", size: 13, mr: "xxs-2", mb: "xxs-2" }),
|
|
6142
|
-
/* @__PURE__ */ e(g, { size: "xxs", weight: "bold", textTransform: "uppercase", children:
|
|
6150
|
+
/* @__PURE__ */ e(g, { size: "xxs", weight: "bold", textTransform: "uppercase", children: r })
|
|
6143
6151
|
] }),
|
|
6144
6152
|
a && /* @__PURE__ */ e(D, { size: "xxs-2", fontFamily: "base", ...c, children: a }),
|
|
6145
6153
|
s && /* @__PURE__ */ e(g, { ...s, as: "span", color: "grey-400", size: "m", children: s.children })
|
|
6146
6154
|
] }),
|
|
6147
|
-
/* @__PURE__ */ e($, { ...
|
|
6155
|
+
/* @__PURE__ */ e($, { ...n, buttonColor: "primary", href: l, whiteSpace: "nowrap", children: n.children })
|
|
6148
6156
|
]
|
|
6149
6157
|
}
|
|
6150
6158
|
), X2 = ({
|
|
@@ -6152,8 +6160,8 @@ const m1 = F(
|
|
|
6152
6160
|
title: s,
|
|
6153
6161
|
summaryProps: c,
|
|
6154
6162
|
cardHeaderProps: l,
|
|
6155
|
-
cardTitleProps:
|
|
6156
|
-
cardImageProps:
|
|
6163
|
+
cardTitleProps: n,
|
|
6164
|
+
cardImageProps: r,
|
|
6157
6165
|
socialBarProps: i,
|
|
6158
6166
|
layout: o,
|
|
6159
6167
|
...d
|
|
@@ -6169,18 +6177,18 @@ const m1 = F(
|
|
|
6169
6177
|
size: { xs: "xxs-2", md: "xs" },
|
|
6170
6178
|
fontFamily: "source-serif-pro",
|
|
6171
6179
|
cartridgeIsCentered: !0,
|
|
6172
|
-
...
|
|
6180
|
+
...n,
|
|
6173
6181
|
children: /* @__PURE__ */ e("a", { href: a, children: s })
|
|
6174
6182
|
}
|
|
6175
6183
|
),
|
|
6176
6184
|
o === z.DESKTOP && c && /* @__PURE__ */ e(g, { ...c, as: "span", size: "m", fontFamily: "source-serif-pro", children: c.children })
|
|
6177
6185
|
] }),
|
|
6178
|
-
/* @__PURE__ */ e("div", { children:
|
|
6186
|
+
/* @__PURE__ */ e("div", { children: r && /* @__PURE__ */ e(
|
|
6179
6187
|
T,
|
|
6180
6188
|
{
|
|
6181
|
-
...
|
|
6182
|
-
...
|
|
6183
|
-
caption: { size: "small", ...
|
|
6189
|
+
...r,
|
|
6190
|
+
...r.caption && {
|
|
6191
|
+
caption: { size: "small", ...r.caption }
|
|
6184
6192
|
},
|
|
6185
6193
|
className: "c-card-with-summary__image",
|
|
6186
6194
|
defaultFormat: "150x90",
|
|
@@ -6203,8 +6211,8 @@ const m1 = F(
|
|
|
6203
6211
|
layout: s,
|
|
6204
6212
|
label: c,
|
|
6205
6213
|
description: l,
|
|
6206
|
-
labelLink:
|
|
6207
|
-
iconProps:
|
|
6214
|
+
labelLink: n,
|
|
6215
|
+
iconProps: r,
|
|
6208
6216
|
headingProps: i,
|
|
6209
6217
|
sliderProps: o,
|
|
6210
6218
|
themeColor: d,
|
|
@@ -6250,8 +6258,8 @@ const m1 = F(
|
|
|
6250
6258
|
i0,
|
|
6251
6259
|
{
|
|
6252
6260
|
label: c || "",
|
|
6253
|
-
mb:
|
|
6254
|
-
labelLink:
|
|
6261
|
+
mb: r && "0" || (!u || m) && "m" || "xxl",
|
|
6262
|
+
labelLink: n,
|
|
6255
6263
|
themeColor: d,
|
|
6256
6264
|
isUnderlined: u,
|
|
6257
6265
|
...m && { color: "grey-900" },
|
|
@@ -6267,8 +6275,8 @@ const m1 = F(
|
|
|
6267
6275
|
bg: m ? "sponsoring" : void 0,
|
|
6268
6276
|
py: m ? "m" : void 0,
|
|
6269
6277
|
children: [
|
|
6270
|
-
c && !
|
|
6271
|
-
c &&
|
|
6278
|
+
c && !r && w,
|
|
6279
|
+
c && r && /* @__PURE__ */ t(
|
|
6272
6280
|
h,
|
|
6273
6281
|
{
|
|
6274
6282
|
as: "header",
|
|
@@ -6280,7 +6288,7 @@ const m1 = F(
|
|
|
6280
6288
|
gap: { xs: "xs", md: "0" },
|
|
6281
6289
|
children: [
|
|
6282
6290
|
w,
|
|
6283
|
-
/* @__PURE__ */ e(N, { ...
|
|
6291
|
+
/* @__PURE__ */ e(N, { ...r })
|
|
6284
6292
|
]
|
|
6285
6293
|
}
|
|
6286
6294
|
),
|
|
@@ -6318,15 +6326,15 @@ const m1 = F(
|
|
|
6318
6326
|
}
|
|
6319
6327
|
) : null;
|
|
6320
6328
|
}, re = (a, s, c, l) => {
|
|
6321
|
-
const
|
|
6322
|
-
return { pathDescription: `M0,0 L${c},${l} A${a},${a} 0 ${s > 0.5 ? 1 : 0} 1 ${
|
|
6329
|
+
const n = a * Math.cos(2 * Math.PI * s), r = a * Math.sin(2 * Math.PI * s);
|
|
6330
|
+
return { pathDescription: `M0,0 L${c},${l} A${a},${a} 0 ${s > 0.5 ? 1 : 0} 1 ${n},${r} Z`, lx: n, ly: r };
|
|
6323
6331
|
}, ie = (a, s, c) => {
|
|
6324
|
-
let l = 0,
|
|
6332
|
+
let l = 0, n = s, r = 0;
|
|
6325
6333
|
return a.reduce((i, o) => {
|
|
6326
6334
|
const d = (o.seats || 0) / c;
|
|
6327
6335
|
l += d;
|
|
6328
|
-
const { pathDescription: u, lx: m, ly: v } = re(s, l / 2,
|
|
6329
|
-
|
|
6336
|
+
const { pathDescription: u, lx: m, ly: v } = re(s, l / 2, n, r);
|
|
6337
|
+
n = m, r = v;
|
|
6330
6338
|
const f = /* @__PURE__ */ e(
|
|
6331
6339
|
"path",
|
|
6332
6340
|
{
|
|
@@ -6338,7 +6346,7 @@ const m1 = F(
|
|
|
6338
6346
|
return i.push(f), i;
|
|
6339
6347
|
}, []);
|
|
6340
6348
|
}, J2 = ({ results: a, ...s }) => {
|
|
6341
|
-
const
|
|
6349
|
+
const n = a.map((i) => i.seats).reduce((i, o) => i + o, 0), r = a.filter((i) => i.seats > 0).map(
|
|
6342
6350
|
(i) => ({
|
|
6343
6351
|
name: i.politicalParty.name,
|
|
6344
6352
|
color: i.politicalParty.color,
|
|
@@ -6354,8 +6362,8 @@ const m1 = F(
|
|
|
6354
6362
|
height: 310,
|
|
6355
6363
|
viewBox: `-270 -${270 + 40 / 2} ${270 * 2} 270`,
|
|
6356
6364
|
children: [
|
|
6357
|
-
/* @__PURE__ */ e("title", { children: `Diagramme en demi-donut représentant la répartition des ${
|
|
6358
|
-
ie(a, 270,
|
|
6365
|
+
/* @__PURE__ */ e("title", { children: `Diagramme en demi-donut représentant la répartition des ${n} sièges` }),
|
|
6366
|
+
ie(a, 270, n),
|
|
6359
6367
|
/* @__PURE__ */ t("g", { className: "c-half-donut__top", children: [
|
|
6360
6368
|
/* @__PURE__ */ e("line", { x1: "0", y1: `-${270 + 40 / 3}`, x2: "0", y2: "-270" }),
|
|
6361
6369
|
/* @__PURE__ */ e("text", { x: "-13", y: `-${270 + 40 / 2}`, children: "50%" })
|
|
@@ -6366,9 +6374,9 @@ const m1 = F(
|
|
|
6366
6374
|
"text",
|
|
6367
6375
|
{
|
|
6368
6376
|
className: "c-half-donut__bottom-value",
|
|
6369
|
-
x:
|
|
6377
|
+
x: n >= 100 ? "-20" : n >= 10 ? "-14" : "-9",
|
|
6370
6378
|
y: "-16",
|
|
6371
|
-
children:
|
|
6379
|
+
children: n
|
|
6372
6380
|
}
|
|
6373
6381
|
),
|
|
6374
6382
|
/* @__PURE__ */ e("text", { className: "c-half-donut__bottom-label", x: "-21", y: "-1", children: "sièges" })
|
|
@@ -6376,27 +6384,27 @@ const m1 = F(
|
|
|
6376
6384
|
]
|
|
6377
6385
|
}
|
|
6378
6386
|
),
|
|
6379
|
-
/* @__PURE__ */ e(f1, { items:
|
|
6387
|
+
/* @__PURE__ */ e(f1, { items: r, mt: "xxl" })
|
|
6380
6388
|
] });
|
|
6381
6389
|
}, oe = ({
|
|
6382
6390
|
dialogId: a,
|
|
6383
6391
|
ariaLabel: s = "Fermer la fenêtre",
|
|
6384
6392
|
modalIconSize: c = [114, 28],
|
|
6385
6393
|
headingProps: l,
|
|
6386
|
-
themeColor:
|
|
6387
|
-
withMenuButton:
|
|
6394
|
+
themeColor: n = "ultramarine",
|
|
6395
|
+
withMenuButton: r,
|
|
6388
6396
|
...i
|
|
6389
6397
|
}) => /* @__PURE__ */ t(
|
|
6390
6398
|
h,
|
|
6391
6399
|
{
|
|
6392
6400
|
alignItems: "center",
|
|
6393
|
-
justifyContent:
|
|
6401
|
+
justifyContent: r || l ? "between" : "end",
|
|
6394
6402
|
px: "l",
|
|
6395
6403
|
py: "xs",
|
|
6396
6404
|
className: "c-header-side-modal",
|
|
6397
|
-
bg:
|
|
6405
|
+
bg: n,
|
|
6398
6406
|
children: [
|
|
6399
|
-
|
|
6407
|
+
r && /* @__PURE__ */ e(
|
|
6400
6408
|
q,
|
|
6401
6409
|
{
|
|
6402
6410
|
variant: "ghost",
|
|
@@ -6413,7 +6421,7 @@ const m1 = F(
|
|
|
6413
6421
|
/* @__PURE__ */ t(
|
|
6414
6422
|
h,
|
|
6415
6423
|
{
|
|
6416
|
-
...!
|
|
6424
|
+
...!r && l ? { alignItems: "baseline" } : {
|
|
6417
6425
|
className: "c-header-side-modal__content--centered",
|
|
6418
6426
|
direction: "column",
|
|
6419
6427
|
alignItems: "center"
|
|
@@ -6425,7 +6433,7 @@ const m1 = F(
|
|
|
6425
6433
|
{
|
|
6426
6434
|
color: "white",
|
|
6427
6435
|
size: "xxs",
|
|
6428
|
-
...!
|
|
6436
|
+
...!r && { pl: "xs" },
|
|
6429
6437
|
...l
|
|
6430
6438
|
}
|
|
6431
6439
|
)
|
|
@@ -6505,8 +6513,8 @@ const m1 = F(
|
|
|
6505
6513
|
textTitleProps: s,
|
|
6506
6514
|
headingTitleProps: c,
|
|
6507
6515
|
titleIconProps: l,
|
|
6508
|
-
isOpen:
|
|
6509
|
-
contentWithBorder:
|
|
6516
|
+
isOpen: n,
|
|
6517
|
+
contentWithBorder: r = !0,
|
|
6510
6518
|
contentProps: i,
|
|
6511
6519
|
iconProps: o,
|
|
6512
6520
|
btnProps: d,
|
|
@@ -6533,7 +6541,7 @@ const m1 = F(
|
|
|
6533
6541
|
py: d?.py || "xxs",
|
|
6534
6542
|
className: p("c-collapse__button js-collapse__button", d?.className),
|
|
6535
6543
|
"aria-controls": `c-collapse__content-${a}`,
|
|
6536
|
-
"aria-expanded":
|
|
6544
|
+
"aria-expanded": n || "false",
|
|
6537
6545
|
children: [
|
|
6538
6546
|
l ? /* @__PURE__ */ t(h, { alignItems: "center", children: [
|
|
6539
6547
|
/* @__PURE__ */ e(N, { size: 34, mr: "xs", ...l }),
|
|
@@ -6558,10 +6566,10 @@ const m1 = F(
|
|
|
6558
6566
|
direction: "column",
|
|
6559
6567
|
p: i?.p || "xl",
|
|
6560
6568
|
id: `c-collapse__content-${a}`,
|
|
6561
|
-
"aria-hidden":
|
|
6569
|
+
"aria-hidden": n ? !n : "true",
|
|
6562
6570
|
"aria-labelledby": `c-collapse__button-${a}`,
|
|
6563
6571
|
className: p("c-collapse__content", {
|
|
6564
|
-
"c-collapse__content--with-border":
|
|
6572
|
+
"c-collapse__content--with-border": r
|
|
6565
6573
|
}),
|
|
6566
6574
|
role: "tabpanel",
|
|
6567
6575
|
children: u
|
|
@@ -6646,8 +6654,8 @@ const m1 = F(
|
|
|
6646
6654
|
title: s,
|
|
6647
6655
|
id: c,
|
|
6648
6656
|
iconName: l = "olympic-flame",
|
|
6649
|
-
iconSize:
|
|
6650
|
-
colorItemCounter:
|
|
6657
|
+
iconSize: n,
|
|
6658
|
+
colorItemCounter: r,
|
|
6651
6659
|
...i
|
|
6652
6660
|
}) => {
|
|
6653
6661
|
const o = a === z.DESKTOP ? [28, 50] : [16, 29];
|
|
@@ -6665,7 +6673,7 @@ const m1 = F(
|
|
|
6665
6673
|
N,
|
|
6666
6674
|
{
|
|
6667
6675
|
name: l,
|
|
6668
|
-
size:
|
|
6676
|
+
size: n || o,
|
|
6669
6677
|
ml: { xs: "0", md: "m" },
|
|
6670
6678
|
mr: { xs: "xxs", md: "m" }
|
|
6671
6679
|
}
|
|
@@ -6680,10 +6688,10 @@ const m1 = F(
|
|
|
6680
6688
|
mr: { xs: "0", md: "xxl" },
|
|
6681
6689
|
py: { xs: "0", md: "xs" },
|
|
6682
6690
|
children: [
|
|
6683
|
-
/* @__PURE__ */ e(b1, { colorCounter:
|
|
6684
|
-
/* @__PURE__ */ e(b1, { colorCounter:
|
|
6685
|
-
/* @__PURE__ */ e(b1, { colorCounter:
|
|
6686
|
-
/* @__PURE__ */ e(b1, { colorCounter:
|
|
6691
|
+
/* @__PURE__ */ e(b1, { colorCounter: r, title: "jours", classItem: "days" }),
|
|
6692
|
+
/* @__PURE__ */ e(b1, { colorCounter: r, title: "heures", classItem: "hours" }),
|
|
6693
|
+
/* @__PURE__ */ e(b1, { colorCounter: r, title: "minutes", classItem: "minutes" }),
|
|
6694
|
+
/* @__PURE__ */ e(b1, { colorCounter: r, title: "secondes", classItem: "seconds" })
|
|
6687
6695
|
]
|
|
6688
6696
|
}
|
|
6689
6697
|
)
|
|
@@ -6747,8 +6755,8 @@ const m1 = F(
|
|
|
6747
6755
|
searchFormProps: s,
|
|
6748
6756
|
title: c,
|
|
6749
6757
|
titleHref: l,
|
|
6750
|
-
breadcrumbProps:
|
|
6751
|
-
selectProps:
|
|
6758
|
+
breadcrumbProps: n,
|
|
6759
|
+
selectProps: r,
|
|
6752
6760
|
variant: i,
|
|
6753
6761
|
isOpen: o = !0,
|
|
6754
6762
|
hasTopBorder: d = !1
|
|
@@ -6761,13 +6769,13 @@ const m1 = F(
|
|
|
6761
6769
|
id: "js-search-banner-expand-button",
|
|
6762
6770
|
className: "c-search-banner__expand-button"
|
|
6763
6771
|
}
|
|
6764
|
-
), m =
|
|
6772
|
+
), m = r && /* @__PURE__ */ e(
|
|
6765
6773
|
A0,
|
|
6766
6774
|
{
|
|
6767
|
-
...
|
|
6768
|
-
defaultValue:
|
|
6775
|
+
...r,
|
|
6776
|
+
defaultValue: r?.options.find((_) => _.isSelected)?.value,
|
|
6769
6777
|
containerProps: {
|
|
6770
|
-
...
|
|
6778
|
+
...r?.containerProps,
|
|
6771
6779
|
px: { xs: "m", md: "0" }
|
|
6772
6780
|
}
|
|
6773
6781
|
}
|
|
@@ -6781,7 +6789,7 @@ const m1 = F(
|
|
|
6781
6789
|
}),
|
|
6782
6790
|
"data-search-banner-collapse": !0,
|
|
6783
6791
|
...a === z.DESKTOP && { "aria-hidden": o ? !o : "true" },
|
|
6784
|
-
children:
|
|
6792
|
+
children: n?.map(({ label: _, link: w }, b) => /* @__PURE__ */ e(
|
|
6785
6793
|
X,
|
|
6786
6794
|
{
|
|
6787
6795
|
variant: "tertiary",
|
|
@@ -6843,10 +6851,10 @@ const m1 = F(
|
|
|
6843
6851
|
/* @__PURE__ */ t(h, { flexGrow: 1, direction: "column", py: "m", children: [
|
|
6844
6852
|
/* @__PURE__ */ t(h, { gap: { xs: "m", lg: "l" }, justifyContent: "end", children: [
|
|
6845
6853
|
/* @__PURE__ */ e(I, { grow: 1, children: /* @__PURE__ */ e(x, { as: g1, ...s }) }),
|
|
6846
|
-
!!
|
|
6847
|
-
!!
|
|
6854
|
+
!!r?.options.length && m,
|
|
6855
|
+
!!n?.length && u
|
|
6848
6856
|
] }),
|
|
6849
|
-
!!
|
|
6857
|
+
!!n?.length && v
|
|
6850
6858
|
] }),
|
|
6851
6859
|
i === "municipales-2026" && m && /* @__PURE__ */ e("span", { className: "c-search-banner__flag c-search-banner__flag--at-the-bottom" })
|
|
6852
6860
|
]
|
|
@@ -6864,9 +6872,9 @@ const m1 = F(
|
|
|
6864
6872
|
c && /* @__PURE__ */ e(g, { as: "span", px: "m", weight: "bold", color: "white", mb: "xxs", children: l ? /* @__PURE__ */ e("a", { href: l, children: c }) : c }),
|
|
6865
6873
|
/* @__PURE__ */ t(h, { gap: "s", px: { xs: "m", md: "0" }, children: [
|
|
6866
6874
|
/* @__PURE__ */ e(I, { as: g1, grow: 1, ...s }),
|
|
6867
|
-
!!(
|
|
6875
|
+
!!(n?.length || r?.options.length) && u
|
|
6868
6876
|
] }),
|
|
6869
|
-
!!(
|
|
6877
|
+
!!(n?.length || r?.options.length) && /* @__PURE__ */ t(
|
|
6870
6878
|
h,
|
|
6871
6879
|
{
|
|
6872
6880
|
direction: "column",
|
|
@@ -6875,8 +6883,8 @@ const m1 = F(
|
|
|
6875
6883
|
"aria-hidden": o ? !o : "true",
|
|
6876
6884
|
"data-search-banner-collapse": !0,
|
|
6877
6885
|
children: [
|
|
6878
|
-
!!
|
|
6879
|
-
!!
|
|
6886
|
+
!!n?.length && v,
|
|
6887
|
+
!!r?.options.length && m
|
|
6880
6888
|
]
|
|
6881
6889
|
}
|
|
6882
6890
|
),
|
|
@@ -6957,11 +6965,11 @@ const m1 = F(
|
|
|
6957
6965
|
heading: s,
|
|
6958
6966
|
visibleGridProps: c,
|
|
6959
6967
|
expandableGridProps: l,
|
|
6960
|
-
childrenItems:
|
|
6961
|
-
buttonProps:
|
|
6968
|
+
childrenItems: n,
|
|
6969
|
+
buttonProps: r,
|
|
6962
6970
|
link: i,
|
|
6963
6971
|
...o
|
|
6964
|
-
}) =>
|
|
6972
|
+
}) => n.length === 0 ? null : /* @__PURE__ */ t(
|
|
6965
6973
|
x,
|
|
6966
6974
|
{
|
|
6967
6975
|
as: "section",
|
|
@@ -6971,8 +6979,8 @@ const m1 = F(
|
|
|
6971
6979
|
bg: o.bg ?? "grey-100",
|
|
6972
6980
|
children: [
|
|
6973
6981
|
s && /* @__PURE__ */ e(L, { as: "h2", size: "xxs", mb: "m", ...s }),
|
|
6974
|
-
/* @__PURE__ */ e(l1, { as: "ul", ...c, children:
|
|
6975
|
-
a &&
|
|
6982
|
+
/* @__PURE__ */ e(l1, { as: "ul", ...c, children: n.slice(0, a).map((d, u) => /* @__PURE__ */ e("li", { children: d }, `expandable-visible-${u}`)) }),
|
|
6983
|
+
a && n.length > a && /* @__PURE__ */ t(j, { children: [
|
|
6976
6984
|
/* @__PURE__ */ e(
|
|
6977
6985
|
l1,
|
|
6978
6986
|
{
|
|
@@ -6980,8 +6988,8 @@ const m1 = F(
|
|
|
6980
6988
|
...l,
|
|
6981
6989
|
pt: l?.gap || l?.gapX,
|
|
6982
6990
|
className: "c-expandable__content js-expand-target",
|
|
6983
|
-
"aria-hidden":
|
|
6984
|
-
children:
|
|
6991
|
+
"aria-hidden": n.length > a,
|
|
6992
|
+
children: n.slice(a).map((d, u) => /* @__PURE__ */ e("li", { children: d }, `expandable-hidden-${u}`))
|
|
6985
6993
|
}
|
|
6986
6994
|
),
|
|
6987
6995
|
i && /* @__PURE__ */ e(
|
|
@@ -6989,7 +6997,7 @@ const m1 = F(
|
|
|
6989
6997
|
{
|
|
6990
6998
|
mt: "l",
|
|
6991
6999
|
justifyContent: "center",
|
|
6992
|
-
"aria-hidden":
|
|
7000
|
+
"aria-hidden": n.length > a,
|
|
6993
7001
|
className: "c-expandable__link js-expand-target",
|
|
6994
7002
|
children: /* @__PURE__ */ e($, { ...i, buttonColor: "primary", variant: "outlined" })
|
|
6995
7003
|
}
|
|
@@ -6997,7 +7005,7 @@ const m1 = F(
|
|
|
6997
7005
|
/* @__PURE__ */ e(
|
|
6998
7006
|
q,
|
|
6999
7007
|
{
|
|
7000
|
-
...
|
|
7008
|
+
...r,
|
|
7001
7009
|
color: "white",
|
|
7002
7010
|
className: "c-expandable__expand-button js-expand-button",
|
|
7003
7011
|
"aria-expanded": "false",
|
|
@@ -7016,9 +7024,9 @@ const m1 = F(
|
|
|
7016
7024
|
subtitle: s,
|
|
7017
7025
|
icon: c,
|
|
7018
7026
|
bg: l = "ultramarine",
|
|
7019
|
-
color:
|
|
7020
|
-
...
|
|
7021
|
-
}) => /* @__PURE__ */ t(h, { p: "m", ...
|
|
7027
|
+
color: n = "white",
|
|
7028
|
+
...r
|
|
7029
|
+
}) => /* @__PURE__ */ t(h, { p: "m", ...r, as: "header", alignItems: "center", bg: l, color: n, gap: "m", children: [
|
|
7022
7030
|
c && /* @__PURE__ */ e(N, { size: 25, name: c, border: "big", isRounded: !0 }),
|
|
7023
7031
|
/* @__PURE__ */ t("div", { children: [
|
|
7024
7032
|
s && /* @__PURE__ */ e(g, { mb: "xxs-2", children: s }),
|
|
@@ -7034,15 +7042,15 @@ const m1 = F(
|
|
|
7034
7042
|
headerLinks: s,
|
|
7035
7043
|
logoName: c = "logo",
|
|
7036
7044
|
isArticlePage: l = !1,
|
|
7037
|
-
shortTitle:
|
|
7038
|
-
isHidden:
|
|
7045
|
+
shortTitle: n,
|
|
7046
|
+
isHidden: r = !1,
|
|
7039
7047
|
themeColor: i = "ultramarine",
|
|
7040
7048
|
...o
|
|
7041
7049
|
}) => /* @__PURE__ */ t(
|
|
7042
7050
|
h,
|
|
7043
7051
|
{
|
|
7044
7052
|
...o,
|
|
7045
|
-
className: p("c-header-mini", { "c-header-mini--is-hidden":
|
|
7053
|
+
className: p("c-header-mini", { "c-header-mini--is-hidden": r }),
|
|
7046
7054
|
alignItems: "center",
|
|
7047
7055
|
justifyContent: "between",
|
|
7048
7056
|
px: "xl",
|
|
@@ -7091,7 +7099,7 @@ const m1 = F(
|
|
|
7091
7099
|
flexGrow: 1,
|
|
7092
7100
|
gap: l ? "xs" : "l",
|
|
7093
7101
|
pr: "xxl",
|
|
7094
|
-
children: l ? /* @__PURE__ */ e(g, { as: "span", size: "m", color: "white", children:
|
|
7102
|
+
children: l ? /* @__PURE__ */ e(g, { as: "span", size: "m", color: "white", children: n }) : s.map((d) => /* @__PURE__ */ e($, { href: d.link, color: "white", size: "s", children: d.name }, d.link))
|
|
7095
7103
|
}
|
|
7096
7104
|
)
|
|
7097
7105
|
] }),
|
|
@@ -7112,8 +7120,8 @@ const m1 = F(
|
|
|
7112
7120
|
heading: s,
|
|
7113
7121
|
rightAsideElement: c,
|
|
7114
7122
|
subtitle: l,
|
|
7115
|
-
isExpandable:
|
|
7116
|
-
sponsor:
|
|
7123
|
+
isExpandable: n = !1,
|
|
7124
|
+
sponsor: r,
|
|
7117
7125
|
mediaProps: i,
|
|
7118
7126
|
contentProps: o,
|
|
7119
7127
|
countdownProps: d,
|
|
@@ -7140,7 +7148,7 @@ const m1 = F(
|
|
|
7140
7148
|
color: v === "blue-grey" ? "white" : void 0
|
|
7141
7149
|
}
|
|
7142
7150
|
), w = /* @__PURE__ */ t(j, { children: [
|
|
7143
|
-
/* @__PURE__ */ e(h, { as: "header", gap:
|
|
7151
|
+
/* @__PURE__ */ e(h, { as: "header", gap: r ? "m" : void 0, alignItems: "start", justifyContent: "between", children: /* @__PURE__ */ t(
|
|
7144
7152
|
I,
|
|
7145
7153
|
{
|
|
7146
7154
|
mx: { xs: "m", md: "0" },
|
|
@@ -7158,14 +7166,14 @@ const m1 = F(
|
|
|
7158
7166
|
size: o?.size || { xs: "m", md: "l" },
|
|
7159
7167
|
color: v === "blue-grey" ? "white" : void 0,
|
|
7160
7168
|
className: "c-nodeheader__subtitle c-content c-content--resume js-expand-target",
|
|
7161
|
-
"aria-hidden":
|
|
7169
|
+
"aria-hidden": n,
|
|
7162
7170
|
children: l
|
|
7163
7171
|
}
|
|
7164
7172
|
)
|
|
7165
7173
|
]
|
|
7166
7174
|
}
|
|
7167
7175
|
) }),
|
|
7168
|
-
|
|
7176
|
+
n && /* @__PURE__ */ t(
|
|
7169
7177
|
H,
|
|
7170
7178
|
{
|
|
7171
7179
|
variant: "ghost",
|
|
@@ -7200,10 +7208,10 @@ const m1 = F(
|
|
|
7200
7208
|
)
|
|
7201
7209
|
] });
|
|
7202
7210
|
let b = /* @__PURE__ */ t("div", { children: [
|
|
7203
|
-
|
|
7211
|
+
r?.type === "sponsored-page" && /* @__PURE__ */ e(
|
|
7204
7212
|
J,
|
|
7205
7213
|
{
|
|
7206
|
-
sponsor:
|
|
7214
|
+
sponsor: r.content,
|
|
7207
7215
|
variant: "header-sponsored-mobile",
|
|
7208
7216
|
hasText: !0,
|
|
7209
7217
|
gap: "xs",
|
|
@@ -7223,13 +7231,13 @@ const m1 = F(
|
|
|
7223
7231
|
...d
|
|
7224
7232
|
}
|
|
7225
7233
|
),
|
|
7226
|
-
|
|
7234
|
+
r?.type === "dedicated-area" && /* @__PURE__ */ e(J, { sponsor: r.content, variant: "header-dedicated-mobile", mt: "s", mx: "m" }),
|
|
7227
7235
|
i && /* @__PURE__ */ e(x1, { ...i, mt: "xl" }),
|
|
7228
7236
|
l && w
|
|
7229
7237
|
] });
|
|
7230
|
-
return a === z.DESKTOP && (b = /* @__PURE__ */ t(h, { alignItems: "start", justifyContent: "between", gap:
|
|
7238
|
+
return a === z.DESKTOP && (b = /* @__PURE__ */ t(h, { alignItems: "start", justifyContent: "between", gap: r ? "m" : void 0, children: [
|
|
7231
7239
|
/* @__PURE__ */ t(I, { basis: 100, children: [
|
|
7232
|
-
c ||
|
|
7240
|
+
c || r?.type === "sponsored-page" ? /* @__PURE__ */ t(
|
|
7233
7241
|
h,
|
|
7234
7242
|
{
|
|
7235
7243
|
direction: { xs: "column", lg: "row" },
|
|
@@ -7240,10 +7248,10 @@ const m1 = F(
|
|
|
7240
7248
|
children: [
|
|
7241
7249
|
/* @__PURE__ */ e(I, { basis: 100, children: _ }),
|
|
7242
7250
|
!!c && /* @__PURE__ */ e(I, { basis: "auto", shrink: 0, children: c }),
|
|
7243
|
-
|
|
7251
|
+
r?.type === "sponsored-page" && /* @__PURE__ */ e(
|
|
7244
7252
|
J,
|
|
7245
7253
|
{
|
|
7246
|
-
sponsor:
|
|
7254
|
+
sponsor: r.content,
|
|
7247
7255
|
variant: "header-sponsored-desktop",
|
|
7248
7256
|
hasText: !0,
|
|
7249
7257
|
justifyContent: "end",
|
|
@@ -7284,7 +7292,7 @@ const m1 = F(
|
|
|
7284
7292
|
}
|
|
7285
7293
|
)
|
|
7286
7294
|
] }),
|
|
7287
|
-
|
|
7295
|
+
r?.type === "dedicated-area" && /* @__PURE__ */ e(J, { sponsor: r.content, variant: "header-dedicated-desktop", mt: "xl" })
|
|
7288
7296
|
] })), /* @__PURE__ */ e(
|
|
7289
7297
|
x,
|
|
7290
7298
|
{
|
|
@@ -7293,7 +7301,7 @@ const m1 = F(
|
|
|
7293
7301
|
className: p(
|
|
7294
7302
|
"c-nodeheader",
|
|
7295
7303
|
"c-header-page",
|
|
7296
|
-
{ "c-nodeheader--is-expandable":
|
|
7304
|
+
{ "c-nodeheader--is-expandable": n },
|
|
7297
7305
|
f?.className
|
|
7298
7306
|
),
|
|
7299
7307
|
children: b
|
|
@@ -7304,8 +7312,8 @@ const m1 = F(
|
|
|
7304
7312
|
heading: s,
|
|
7305
7313
|
source: c,
|
|
7306
7314
|
subtitle: l,
|
|
7307
|
-
isExpandable:
|
|
7308
|
-
contentProps:
|
|
7315
|
+
isExpandable: n = !1,
|
|
7316
|
+
contentProps: r,
|
|
7309
7317
|
embedButton: i,
|
|
7310
7318
|
...o
|
|
7311
7319
|
}) => {
|
|
@@ -7326,7 +7334,7 @@ const m1 = F(
|
|
|
7326
7334
|
...o,
|
|
7327
7335
|
className: p(
|
|
7328
7336
|
"c-nodeheader",
|
|
7329
|
-
{ "c-nodeheader--is-expandable":
|
|
7337
|
+
{ "c-nodeheader--is-expandable": n },
|
|
7330
7338
|
o?.className
|
|
7331
7339
|
),
|
|
7332
7340
|
children: [
|
|
@@ -7358,17 +7366,17 @@ const m1 = F(
|
|
|
7358
7366
|
/* @__PURE__ */ e(
|
|
7359
7367
|
g,
|
|
7360
7368
|
{
|
|
7361
|
-
...
|
|
7369
|
+
...r,
|
|
7362
7370
|
as: "div",
|
|
7363
|
-
size:
|
|
7371
|
+
size: r?.size || { xs: "m", md: "l" },
|
|
7364
7372
|
mx: { xs: "m", md: "0" },
|
|
7365
7373
|
mt: "xs",
|
|
7366
7374
|
className: "c-nodeheader__subtitle c-content c-content--resume js-expand-target",
|
|
7367
|
-
"aria-hidden":
|
|
7375
|
+
"aria-hidden": n,
|
|
7368
7376
|
children: l
|
|
7369
7377
|
}
|
|
7370
7378
|
),
|
|
7371
|
-
|
|
7379
|
+
n && /* @__PURE__ */ t(
|
|
7372
7380
|
H,
|
|
7373
7381
|
{
|
|
7374
7382
|
variant: "ghost",
|
|
@@ -7412,7 +7420,7 @@ const m1 = F(
|
|
|
7412
7420
|
withNavigation: c = !0,
|
|
7413
7421
|
...l
|
|
7414
7422
|
}) => {
|
|
7415
|
-
const
|
|
7423
|
+
const n = (r, i) => /* @__PURE__ */ t(
|
|
7416
7424
|
h,
|
|
7417
7425
|
{
|
|
7418
7426
|
mt: { xs: "0", md: "m" },
|
|
@@ -7422,47 +7430,47 @@ const m1 = F(
|
|
|
7422
7430
|
alignItems: "center",
|
|
7423
7431
|
justifyContent: s === z.DESKTOP ? "start" : "center",
|
|
7424
7432
|
children: [
|
|
7425
|
-
/* @__PURE__ */ e($, { buttonColor: "primary", ...
|
|
7433
|
+
/* @__PURE__ */ e($, { buttonColor: "primary", ...r, children: /* @__PURE__ */ t(h, { alignItems: "center", children: [
|
|
7426
7434
|
/* @__PURE__ */ e(N, { name: "video-outlined", size: 13, mr: "xxs" }),
|
|
7427
|
-
|
|
7435
|
+
r.children
|
|
7428
7436
|
] }) }),
|
|
7429
7437
|
/* @__PURE__ */ e($, { buttonColor: "secondary", variant: "outlined", ...i })
|
|
7430
7438
|
]
|
|
7431
7439
|
}
|
|
7432
7440
|
);
|
|
7433
7441
|
return /* @__PURE__ */ t(x, { as: "section", ...l, className: "c-image-slider", children: [
|
|
7434
|
-
/* @__PURE__ */ e(h, { className: "c-image-slider__container", children: a.map((
|
|
7442
|
+
/* @__PURE__ */ e(h, { className: "c-image-slider__container", children: a.map((r) => /* @__PURE__ */ t(h, { direction: "column", className: "c-image-slider__slide", children: [
|
|
7435
7443
|
/* @__PURE__ */ t("div", { className: "c-image-slider__img-container", children: [
|
|
7436
7444
|
/* @__PURE__ */ e(
|
|
7437
7445
|
"img",
|
|
7438
7446
|
{
|
|
7439
|
-
src:
|
|
7440
|
-
alt: `background ${
|
|
7447
|
+
src: r.url,
|
|
7448
|
+
alt: `background ${r.title}`,
|
|
7441
7449
|
className: "c-image-slider__background-img"
|
|
7442
7450
|
}
|
|
7443
7451
|
),
|
|
7444
7452
|
/* @__PURE__ */ e("div", { className: "c-image-slider__shadow" }),
|
|
7445
|
-
|
|
7453
|
+
r.title && /* @__PURE__ */ t(x, { className: "c-image-slider__content o-page-wrap", color: "white", children: [
|
|
7446
7454
|
/* @__PURE__ */ e(
|
|
7447
7455
|
"img",
|
|
7448
7456
|
{
|
|
7449
|
-
src:
|
|
7450
|
-
alt: `logo ${
|
|
7457
|
+
src: r.logo,
|
|
7458
|
+
alt: `logo ${r.title}`,
|
|
7451
7459
|
className: "c-image-slider__logo"
|
|
7452
7460
|
}
|
|
7453
7461
|
),
|
|
7454
|
-
/* @__PURE__ */ e(A, { children:
|
|
7455
|
-
/* @__PURE__ */ e(L, { size: "xs", className: "c-image-slider__content-title", children:
|
|
7456
|
-
s === z.DESKTOP && r
|
|
7462
|
+
/* @__PURE__ */ e(A, { children: r.date }),
|
|
7463
|
+
/* @__PURE__ */ e(L, { size: "xs", className: "c-image-slider__content-title", children: r.title }),
|
|
7464
|
+
s === z.DESKTOP && n(r.firstButton, r.secondButton)
|
|
7457
7465
|
] })
|
|
7458
7466
|
] }),
|
|
7459
|
-
s === z.MOBILE && r
|
|
7460
|
-
] },
|
|
7461
|
-
c && Array.from(["previous", "next"], (
|
|
7467
|
+
s === z.MOBILE && n(r.firstButton, r.secondButton)
|
|
7468
|
+
] }, r.url)) }),
|
|
7469
|
+
c && Array.from(["previous", "next"], (r) => /* @__PURE__ */ e(
|
|
7462
7470
|
h,
|
|
7463
7471
|
{
|
|
7464
7472
|
className: p(
|
|
7465
|
-
`c-image-slider__button-container c-image-slider__button-container--${
|
|
7473
|
+
`c-image-slider__button-container c-image-slider__button-container--${r}`
|
|
7466
7474
|
),
|
|
7467
7475
|
children: /* @__PURE__ */ e(
|
|
7468
7476
|
q,
|
|
@@ -7470,28 +7478,28 @@ const m1 = F(
|
|
|
7470
7478
|
iconProps: {
|
|
7471
7479
|
name: "chevron",
|
|
7472
7480
|
size: 12,
|
|
7473
|
-
rotation:
|
|
7474
|
-
svgTitle:
|
|
7481
|
+
rotation: r === "previous" ? "half" : void 0,
|
|
7482
|
+
svgTitle: r === "previous" ? "Précédent" : "Suivant"
|
|
7475
7483
|
}
|
|
7476
7484
|
}
|
|
7477
7485
|
)
|
|
7478
7486
|
},
|
|
7479
|
-
|
|
7487
|
+
r
|
|
7480
7488
|
)),
|
|
7481
|
-
/* @__PURE__ */ e(h, { gap: "xxs", className: "c-image-slider__indicators", children: a.map((
|
|
7489
|
+
/* @__PURE__ */ e(h, { gap: "xxs", className: "c-image-slider__indicators", children: a.map((r, i) => /* @__PURE__ */ e("div", { className: "c-image-slider__indicator", "data-index": i }, `image${i + 1}`)) })
|
|
7482
7490
|
] });
|
|
7483
7491
|
}, me = ({
|
|
7484
7492
|
description: a,
|
|
7485
7493
|
heading: s,
|
|
7486
7494
|
link: c,
|
|
7487
7495
|
closeButton: l,
|
|
7488
|
-
infoButton:
|
|
7489
|
-
...
|
|
7496
|
+
infoButton: n,
|
|
7497
|
+
...r
|
|
7490
7498
|
}) => /* @__PURE__ */ e(
|
|
7491
7499
|
h,
|
|
7492
7500
|
{
|
|
7493
|
-
...
|
|
7494
|
-
className: p("c-info-banner",
|
|
7501
|
+
...r,
|
|
7502
|
+
className: p("c-info-banner", r?.className),
|
|
7495
7503
|
color: "black",
|
|
7496
7504
|
bg: "grey-100",
|
|
7497
7505
|
p: "m",
|
|
@@ -7501,7 +7509,7 @@ const m1 = F(
|
|
|
7501
7509
|
className: "c-info-banner__container",
|
|
7502
7510
|
gap: "s",
|
|
7503
7511
|
alignItems: "start",
|
|
7504
|
-
justifyContent:
|
|
7512
|
+
justifyContent: n ? "between" : void 0,
|
|
7505
7513
|
children: [
|
|
7506
7514
|
/* @__PURE__ */ t(h, { className: "c-info-banner__content", direction: "column", justifyContent: "between", children: [
|
|
7507
7515
|
s && /* @__PURE__ */ e(
|
|
@@ -7520,7 +7528,7 @@ const m1 = F(
|
|
|
7520
7528
|
/* @__PURE__ */ e(g, { as: c ? "a" : void 0, size: "s", color: "black", ...c || {}, children: a }),
|
|
7521
7529
|
l && /* @__PURE__ */ e(H, { ...l, variant: "ghost", className: "c-info-banner__close", children: /* @__PURE__ */ e(N, { name: "close", size: 12, color: "white" }) })
|
|
7522
7530
|
] }),
|
|
7523
|
-
|
|
7531
|
+
n && /* @__PURE__ */ t("div", { className: "c-info-banner__info", children: [
|
|
7524
7532
|
/* @__PURE__ */ e(
|
|
7525
7533
|
"button",
|
|
7526
7534
|
{
|
|
@@ -7540,7 +7548,7 @@ const m1 = F(
|
|
|
7540
7548
|
bg: "grey-100",
|
|
7541
7549
|
color: "grey-600",
|
|
7542
7550
|
p: "xs",
|
|
7543
|
-
children:
|
|
7551
|
+
children: n
|
|
7544
7552
|
}
|
|
7545
7553
|
)
|
|
7546
7554
|
] })
|
|
@@ -7550,14 +7558,14 @@ const m1 = F(
|
|
|
7550
7558
|
}
|
|
7551
7559
|
), f1 = ({ items: a, ...s }) => {
|
|
7552
7560
|
const c = (l) => /* @__PURE__ */ e(g, { size: "xs", weight: "bold", mb: "xs", children: l });
|
|
7553
|
-
return /* @__PURE__ */ e(l1, { as: "ul", ...s, colsNumber: { xs: 1, md: 3 }, className: "c-legend", children: a.map((l,
|
|
7561
|
+
return /* @__PURE__ */ e(l1, { as: "ul", ...s, colsNumber: { xs: 1, md: 3 }, className: "c-legend", children: a.map((l, n) => /* @__PURE__ */ t(
|
|
7554
7562
|
h,
|
|
7555
7563
|
{
|
|
7556
7564
|
as: "li",
|
|
7557
7565
|
"data-color": l.color,
|
|
7558
7566
|
gap: "s",
|
|
7559
|
-
pr: { xs: void 0, md:
|
|
7560
|
-
pt: { xs:
|
|
7567
|
+
pr: { xs: void 0, md: n % 3 !== 2 ? "m" : void 0 },
|
|
7568
|
+
pt: { xs: n > 0 ? "m" : void 0, md: n > 2 ? "m" : "0" },
|
|
7561
7569
|
className: "c-legend__item",
|
|
7562
7570
|
children: [
|
|
7563
7571
|
/* @__PURE__ */ e(
|
|
@@ -7602,8 +7610,8 @@ const m1 = F(
|
|
|
7602
7610
|
isOver: s = !1,
|
|
7603
7611
|
updatedAt: c,
|
|
7604
7612
|
timeSlot: l,
|
|
7605
|
-
...
|
|
7606
|
-
}) => a === "elections" && s ? null : /* @__PURE__ */ t(h, { ...
|
|
7613
|
+
...n
|
|
7614
|
+
}) => a === "elections" && s ? null : /* @__PURE__ */ t(h, { ...n, alignItems: "center", className: "c-live-indicator", children: [
|
|
7607
7615
|
/* @__PURE__ */ e(
|
|
7608
7616
|
A,
|
|
7609
7617
|
{
|
|
@@ -7674,9 +7682,9 @@ const m1 = F(
|
|
|
7674
7682
|
header: s,
|
|
7675
7683
|
title: c,
|
|
7676
7684
|
img: l,
|
|
7677
|
-
...
|
|
7685
|
+
...n
|
|
7678
7686
|
}) => {
|
|
7679
|
-
const
|
|
7687
|
+
const r = {
|
|
7680
7688
|
crucial: "red",
|
|
7681
7689
|
important: "ultramarine",
|
|
7682
7690
|
community: "entertainment",
|
|
@@ -7684,7 +7692,7 @@ const m1 = F(
|
|
|
7684
7692
|
default: "black",
|
|
7685
7693
|
bold: "black"
|
|
7686
7694
|
};
|
|
7687
|
-
return /* @__PURE__ */ t(x, { as: "header", ...
|
|
7695
|
+
return /* @__PURE__ */ t(x, { as: "header", ...n, children: [
|
|
7688
7696
|
/* @__PURE__ */ t(h, { gap: "xs", alignItems: "center", mb: "xs", children: [
|
|
7689
7697
|
/* @__PURE__ */ e(g, { size: "xl", fontFamily: "source-serif-pro", weight: "semi-bold", children: s }),
|
|
7690
7698
|
l && /* @__PURE__ */ e("img", { alt: l.name, src: l.src, width: "32", height: "32" })
|
|
@@ -7693,7 +7701,7 @@ const m1 = F(
|
|
|
7693
7701
|
L,
|
|
7694
7702
|
{
|
|
7695
7703
|
as: "h2",
|
|
7696
|
-
color:
|
|
7704
|
+
color: r[a] || "black",
|
|
7697
7705
|
size: "xs",
|
|
7698
7706
|
fontFamily: "source-serif-pro",
|
|
7699
7707
|
weight: a === "default" ? "regular" : "semi-bold",
|
|
@@ -7710,16 +7718,16 @@ const m1 = F(
|
|
|
7710
7718
|
electionYear: s,
|
|
7711
7719
|
resultsPerDepartment: c,
|
|
7712
7720
|
mapDepartmentsData: l,
|
|
7713
|
-
...
|
|
7721
|
+
...n
|
|
7714
7722
|
}) => {
|
|
7715
|
-
const
|
|
7723
|
+
const r = c.reduce(
|
|
7716
7724
|
(i, o) => {
|
|
7717
7725
|
const { name: d, color: u } = o.politicalParty;
|
|
7718
7726
|
return i.some((m) => m.name === d) || i.push({ name: d, color: u }), i;
|
|
7719
7727
|
},
|
|
7720
7728
|
[]
|
|
7721
7729
|
);
|
|
7722
|
-
return /* @__PURE__ */ t(x, { ...
|
|
7730
|
+
return /* @__PURE__ */ t(x, { ...n, children: [
|
|
7723
7731
|
/* @__PURE__ */ t("svg", { className: "c-map-departments", viewBox: "0 0 525 600", width: "525", children: [
|
|
7724
7732
|
/* @__PURE__ */ e("title", { children: "Carte des départements français avec DOM" }),
|
|
7725
7733
|
/* @__PURE__ */ e("desc", { children: "Carte des résultats département par département. Cliquez sur un département pour en voir le détail" }),
|
|
@@ -7759,16 +7767,16 @@ const m1 = F(
|
|
|
7759
7767
|
}
|
|
7760
7768
|
)
|
|
7761
7769
|
] }),
|
|
7762
|
-
|
|
7770
|
+
r.length > 0 && /* @__PURE__ */ e(f1, { items: r, mt: "xxl" })
|
|
7763
7771
|
] });
|
|
7764
7772
|
}, b3 = ({
|
|
7765
7773
|
electionName: a,
|
|
7766
7774
|
electionYear: s,
|
|
7767
7775
|
resultsPerDistrict: c,
|
|
7768
7776
|
mapDistrictsData: l,
|
|
7769
|
-
...
|
|
7777
|
+
...n
|
|
7770
7778
|
}) => {
|
|
7771
|
-
const
|
|
7779
|
+
const r = ["75", "77", "78", "91", "92", "93", "94", "95"], i = Object.entries(l ?? {}).reduce(
|
|
7772
7780
|
(d, [u, m]) => {
|
|
7773
7781
|
const v = /* @__PURE__ */ e(
|
|
7774
7782
|
"g",
|
|
@@ -7816,7 +7824,7 @@ const m1 = F(
|
|
|
7816
7824
|
},
|
|
7817
7825
|
u
|
|
7818
7826
|
);
|
|
7819
|
-
return
|
|
7827
|
+
return r.includes(u) ? d.idf.push(v) : d.others.push(v), d;
|
|
7820
7828
|
},
|
|
7821
7829
|
{ idf: [], others: [] }
|
|
7822
7830
|
), o = c.reduce(
|
|
@@ -7826,7 +7834,7 @@ const m1 = F(
|
|
|
7826
7834
|
},
|
|
7827
7835
|
[]
|
|
7828
7836
|
);
|
|
7829
|
-
return /* @__PURE__ */ t(x, { ...
|
|
7837
|
+
return /* @__PURE__ */ t(x, { ...n, children: [
|
|
7830
7838
|
/* @__PURE__ */ t("div", { className: "c-map-districts-container", children: [
|
|
7831
7839
|
/* @__PURE__ */ t(g, { weight: "bold", textAlign: "center", className: "c-map-districts-container__description", children: [
|
|
7832
7840
|
"Cliquez sur un département",
|
|
@@ -7862,8 +7870,8 @@ const m1 = F(
|
|
|
7862
7870
|
electionYear: s,
|
|
7863
7871
|
resultsPerCountry: c,
|
|
7864
7872
|
mapEuCountriesData: l,
|
|
7865
|
-
mapNonEuCountriesData:
|
|
7866
|
-
...
|
|
7873
|
+
mapNonEuCountriesData: n,
|
|
7874
|
+
...r
|
|
7867
7875
|
}) => {
|
|
7868
7876
|
const i = c.reduce(
|
|
7869
7877
|
(o, d) => {
|
|
@@ -7872,7 +7880,7 @@ const m1 = F(
|
|
|
7872
7880
|
},
|
|
7873
7881
|
[]
|
|
7874
7882
|
);
|
|
7875
|
-
return /* @__PURE__ */ t(x, { ...
|
|
7883
|
+
return /* @__PURE__ */ t(x, { ...r, children: [
|
|
7876
7884
|
/* @__PURE__ */ t("svg", { className: "c-map-europe", width: "460", viewBox: "0 0 460 445", children: [
|
|
7877
7885
|
/* @__PURE__ */ e("title", { children: `Carte de l'Europe - Élections ${a}` }),
|
|
7878
7886
|
/* @__PURE__ */ e("desc", { children: `Carte des résultats aux élections ${a} ${s} par pays` }),
|
|
@@ -7892,7 +7900,7 @@ const m1 = F(
|
|
|
7892
7900
|
);
|
|
7893
7901
|
}
|
|
7894
7902
|
) }),
|
|
7895
|
-
/* @__PURE__ */ e("g", { className: "c-map-europe__non-eu-countries", children: Object.entries(
|
|
7903
|
+
/* @__PURE__ */ e("g", { className: "c-map-europe__non-eu-countries", children: Object.entries(n ?? {}).map(
|
|
7896
7904
|
([o, d]) => /* @__PURE__ */ e(
|
|
7897
7905
|
"path",
|
|
7898
7906
|
{
|
|
@@ -7912,14 +7920,14 @@ const m1 = F(
|
|
|
7912
7920
|
const l = c[1];
|
|
7913
7921
|
if (!l)
|
|
7914
7922
|
continue;
|
|
7915
|
-
const
|
|
7923
|
+
const n = /* @__PURE__ */ new Map();
|
|
7916
7924
|
for (const u of l.matchAll(ge)) {
|
|
7917
7925
|
const [, m, v] = u;
|
|
7918
|
-
m &&
|
|
7926
|
+
m && n.set(m, v || "");
|
|
7919
7927
|
}
|
|
7920
|
-
const
|
|
7921
|
-
!
|
|
7922
|
-
id:
|
|
7928
|
+
const r = n.get("id"), i = n.get("d"), o = n.get("data-name"), d = n.get("data-url");
|
|
7929
|
+
!r || !i || !o || !d || s.push({
|
|
7930
|
+
id: r,
|
|
7923
7931
|
path: i,
|
|
7924
7932
|
name: o,
|
|
7925
7933
|
url: d
|
|
@@ -7931,13 +7939,13 @@ const m1 = F(
|
|
|
7931
7939
|
resultsPerTown: s,
|
|
7932
7940
|
departmentsPaths: c,
|
|
7933
7941
|
dromsConfig: l,
|
|
7934
|
-
townsSprite:
|
|
7935
|
-
className:
|
|
7942
|
+
townsSprite: n,
|
|
7943
|
+
className: r,
|
|
7936
7944
|
...i
|
|
7937
7945
|
}) => {
|
|
7938
7946
|
if (!c)
|
|
7939
7947
|
return /* @__PURE__ */ e("output", { "aria-live": "polite", children: "Chargement de la carte…" });
|
|
7940
|
-
const o = a === z.MOBILE, d = new Map(s.map((w) => [w.id, w])), u = /* @__PURE__ */ new Map(), m = W(() =>
|
|
7948
|
+
const o = a === z.MOBILE, d = new Map(s.map((w) => [w.id, w])), u = /* @__PURE__ */ new Map(), m = W(() => n ? xe(ve(n)) : /* @__PURE__ */ new Map(), [n]), v = W(() => new Map(
|
|
7941
7949
|
D1.map((w) => {
|
|
7942
7950
|
const b = m.get(`town-${w.id}`);
|
|
7943
7951
|
return b ? [w.name, b.url] : null;
|
|
@@ -8001,17 +8009,17 @@ const m1 = F(
|
|
|
8001
8009
|
x,
|
|
8002
8010
|
{
|
|
8003
8011
|
...i,
|
|
8004
|
-
className: p("c-map-towns",
|
|
8012
|
+
className: p("c-map-towns", r, {
|
|
8005
8013
|
"c-map-towns--is-mobile": o
|
|
8006
8014
|
}),
|
|
8007
8015
|
children: [
|
|
8008
|
-
|
|
8016
|
+
n && /* @__PURE__ */ e(
|
|
8009
8017
|
"script",
|
|
8010
8018
|
{
|
|
8011
8019
|
id: "js-town-sprite-data",
|
|
8012
8020
|
className: "c-map-towns__sprite",
|
|
8013
8021
|
type: "application/json",
|
|
8014
|
-
dangerouslySetInnerHTML: { __html: JSON.stringify(
|
|
8022
|
+
dangerouslySetInnerHTML: { __html: JSON.stringify(n) }
|
|
8015
8023
|
}
|
|
8016
8024
|
),
|
|
8017
8025
|
/* @__PURE__ */ t(
|
|
@@ -8179,15 +8187,15 @@ const m1 = F(
|
|
|
8179
8187
|
iconProps: s,
|
|
8180
8188
|
buttonTitle: c,
|
|
8181
8189
|
target: l,
|
|
8182
|
-
text:
|
|
8183
|
-
color:
|
|
8190
|
+
text: n,
|
|
8191
|
+
color: r = "tertiary",
|
|
8184
8192
|
size: i,
|
|
8185
8193
|
...o
|
|
8186
8194
|
}) => /* @__PURE__ */ e(
|
|
8187
8195
|
H,
|
|
8188
8196
|
{
|
|
8189
8197
|
...o,
|
|
8190
|
-
color:
|
|
8198
|
+
color: r,
|
|
8191
8199
|
as: "a",
|
|
8192
8200
|
href: a,
|
|
8193
8201
|
iconProps: {
|
|
@@ -8197,19 +8205,19 @@ const m1 = F(
|
|
|
8197
8205
|
title: c,
|
|
8198
8206
|
target: l,
|
|
8199
8207
|
className: p("c-media-link", {
|
|
8200
|
-
"c-media-link--is-icon": !
|
|
8208
|
+
"c-media-link--is-icon": !n?.children || n?.isHiddenUnderBreakpoint
|
|
8201
8209
|
}),
|
|
8202
8210
|
size: i,
|
|
8203
|
-
children:
|
|
8211
|
+
children: n && /* @__PURE__ */ e(
|
|
8204
8212
|
g,
|
|
8205
8213
|
{
|
|
8206
8214
|
as: "span",
|
|
8207
8215
|
whiteSpace: "nowrap",
|
|
8208
|
-
size:
|
|
8216
|
+
size: n?.size,
|
|
8209
8217
|
className: p("c-media-link__text", {
|
|
8210
|
-
[`c-media-link__text--is-hidden-under-${
|
|
8218
|
+
[`c-media-link__text--is-hidden-under-${n.isHiddenUnderBreakpoint}`]: n?.isHiddenUnderBreakpoint
|
|
8211
8219
|
}),
|
|
8212
|
-
children:
|
|
8220
|
+
children: n.children
|
|
8213
8221
|
}
|
|
8214
8222
|
)
|
|
8215
8223
|
}
|
|
@@ -8218,8 +8226,8 @@ const m1 = F(
|
|
|
8218
8226
|
tagsActu: s,
|
|
8219
8227
|
layout: c,
|
|
8220
8228
|
darkmodeOption: l = !0,
|
|
8221
|
-
searchformurl:
|
|
8222
|
-
feedbackButtonProps:
|
|
8229
|
+
searchformurl: n = "",
|
|
8230
|
+
feedbackButtonProps: r,
|
|
8223
8231
|
className: i
|
|
8224
8232
|
}) => /* @__PURE__ */ t(
|
|
8225
8233
|
a0,
|
|
@@ -8234,7 +8242,7 @@ const m1 = F(
|
|
|
8234
8242
|
g1,
|
|
8235
8243
|
{
|
|
8236
8244
|
id: "search-form-menu",
|
|
8237
|
-
url:
|
|
8245
|
+
url: n,
|
|
8238
8246
|
ariaLabel: "Rechercher du contenu sur le site www.20minutes.fr",
|
|
8239
8247
|
inputProps: {
|
|
8240
8248
|
required: !0,
|
|
@@ -8481,7 +8489,7 @@ const m1 = F(
|
|
|
8481
8489
|
)
|
|
8482
8490
|
] }),
|
|
8483
8491
|
l && /* @__PURE__ */ e(x, { id: "mbrs-darkmode-container", p: "l", py: "m" }),
|
|
8484
|
-
|
|
8492
|
+
r && /* @__PURE__ */ e(x, { className: "c-menu__list", children: /* @__PURE__ */ e(
|
|
8485
8493
|
H,
|
|
8486
8494
|
{
|
|
8487
8495
|
iconProps: {
|
|
@@ -8489,7 +8497,7 @@ const m1 = F(
|
|
|
8489
8497
|
},
|
|
8490
8498
|
mx: "auto",
|
|
8491
8499
|
my: "m",
|
|
8492
|
-
...
|
|
8500
|
+
...r,
|
|
8493
8501
|
children: "Donnez-nous votre avis !"
|
|
8494
8502
|
}
|
|
8495
8503
|
) }),
|
|
@@ -8503,8 +8511,8 @@ const m1 = F(
|
|
|
8503
8511
|
)
|
|
8504
8512
|
]
|
|
8505
8513
|
}
|
|
8506
|
-
), N3 = ({ links: a, activeLink: s, ...c }) => /* @__PURE__ */ e(x, { className: "c-sub-menu", ...c, children: a.map((l,
|
|
8507
|
-
const
|
|
8514
|
+
), N3 = ({ links: a, activeLink: s, ...c }) => /* @__PURE__ */ e(x, { className: "c-sub-menu", ...c, children: a.map((l, n) => {
|
|
8515
|
+
const r = s === l.href;
|
|
8508
8516
|
return /* @__PURE__ */ t(
|
|
8509
8517
|
h,
|
|
8510
8518
|
{
|
|
@@ -8512,9 +8520,9 @@ const m1 = F(
|
|
|
8512
8520
|
alignItems: "center",
|
|
8513
8521
|
justifyContent: "between",
|
|
8514
8522
|
href: l.href,
|
|
8515
|
-
mb:
|
|
8523
|
+
mb: n !== a.length - 1 ? "l" : "0",
|
|
8516
8524
|
className: "c-sub-menu__link",
|
|
8517
|
-
color:
|
|
8525
|
+
color: r ? "ultramarine" : "black",
|
|
8518
8526
|
children: [
|
|
8519
8527
|
/* @__PURE__ */ e(g, { as: "span", size: "xl", children: l.name }),
|
|
8520
8528
|
/* @__PURE__ */ e(N, { name: "chevron", size: [10, 12], color: "ultramarine" })
|
|
@@ -8527,8 +8535,8 @@ const m1 = F(
|
|
|
8527
8535
|
description: s,
|
|
8528
8536
|
placeholder: c,
|
|
8529
8537
|
buttonLabel: l,
|
|
8530
|
-
checkboxLabel:
|
|
8531
|
-
colorVariant:
|
|
8538
|
+
checkboxLabel: n,
|
|
8539
|
+
colorVariant: r,
|
|
8532
8540
|
variant: i = "small",
|
|
8533
8541
|
...o
|
|
8534
8542
|
}) => {
|
|
@@ -8555,13 +8563,13 @@ const m1 = F(
|
|
|
8555
8563
|
className: "c-newsletter__checkbox",
|
|
8556
8564
|
children: [
|
|
8557
8565
|
/* @__PURE__ */ e("input", { className: "c-input--checkbox", type: "checkbox", required: !0, id: "term" }),
|
|
8558
|
-
/* @__PURE__ */ e("span", { dangerouslySetInnerHTML: { __html:
|
|
8566
|
+
/* @__PURE__ */ e("span", { dangerouslySetInnerHTML: { __html: n } })
|
|
8559
8567
|
]
|
|
8560
8568
|
}
|
|
8561
8569
|
)
|
|
8562
8570
|
] });
|
|
8563
|
-
return /* @__PURE__ */ e(x, { ...o, className: p("c-newsletter", o?.className), children:
|
|
8564
|
-
/* @__PURE__ */ e(L1, { bg:
|
|
8571
|
+
return /* @__PURE__ */ e(x, { ...o, className: p("c-newsletter", o?.className), children: r && /* @__PURE__ */ t(j, { children: [
|
|
8572
|
+
/* @__PURE__ */ e(L1, { bg: r }),
|
|
8565
8573
|
d
|
|
8566
8574
|
] }) });
|
|
8567
8575
|
}, M3 = ({
|
|
@@ -8572,8 +8580,8 @@ const m1 = F(
|
|
|
8572
8580
|
currentPage: s,
|
|
8573
8581
|
pagePath: c,
|
|
8574
8582
|
archivesUrl: l,
|
|
8575
|
-
...
|
|
8576
|
-
}) => a > 0 ? /* @__PURE__ */ t(h, { justifyContent: "center", gap: "l", ...
|
|
8583
|
+
...n
|
|
8584
|
+
}) => a > 0 ? /* @__PURE__ */ t(h, { justifyContent: "center", gap: "l", ...n, children: [
|
|
8577
8585
|
Number(s) === 1 ? 1 : /* @__PURE__ */ e($, { color: "grey-300", href: `${c}`, children: "1" }),
|
|
8578
8586
|
a > 17 && (Number(s) === 2 ? 2 : /* @__PURE__ */ e($, { color: "grey-300", href: `${c}?page=2`, children: "2" })),
|
|
8579
8587
|
a > 25 && Number(s) !== 1 && /* @__PURE__ */ e($, { color: Number(s) !== 2 ? "black" : "grey-300", href: l, children: "Archives" })
|
|
@@ -8617,8 +8625,8 @@ const m1 = F(
|
|
|
8617
8625
|
count: s = 0,
|
|
8618
8626
|
countColor: c,
|
|
8619
8627
|
countBg: l,
|
|
8620
|
-
countStyle:
|
|
8621
|
-
iconItemProps:
|
|
8628
|
+
countStyle: n,
|
|
8629
|
+
iconItemProps: r,
|
|
8622
8630
|
placement: i = "right",
|
|
8623
8631
|
reactListItems: o,
|
|
8624
8632
|
reactListItemThemeColor: d,
|
|
@@ -8638,7 +8646,7 @@ const m1 = F(
|
|
|
8638
8646
|
count: s,
|
|
8639
8647
|
countColor: c,
|
|
8640
8648
|
countBg: l,
|
|
8641
|
-
countStyle:
|
|
8649
|
+
countStyle: n
|
|
8642
8650
|
};
|
|
8643
8651
|
default:
|
|
8644
8652
|
return {};
|
|
@@ -8696,7 +8704,7 @@ const m1 = F(
|
|
|
8696
8704
|
{
|
|
8697
8705
|
className: "c-react-button__icon",
|
|
8698
8706
|
...b(),
|
|
8699
|
-
...
|
|
8707
|
+
...r,
|
|
8700
8708
|
ariaLabel: "Reagir au contenu",
|
|
8701
8709
|
iconProps: { name: "thumb", "aria-hidden": !0, ...C() },
|
|
8702
8710
|
"aria-describedby": v === z.DESKTOP ? `react-tooltip-${_ || f}` : void 0,
|
|
@@ -8726,8 +8734,8 @@ const m1 = F(
|
|
|
8726
8734
|
layout: s,
|
|
8727
8735
|
limitTop: c = 0,
|
|
8728
8736
|
isFixedBelowHeader: l = !0,
|
|
8729
|
-
isHidden:
|
|
8730
|
-
className:
|
|
8737
|
+
isHidden: n = !1,
|
|
8738
|
+
className: r
|
|
8731
8739
|
}) => a.length === 0 ? null : /* @__PURE__ */ t(
|
|
8732
8740
|
h,
|
|
8733
8741
|
{
|
|
@@ -8738,9 +8746,9 @@ const m1 = F(
|
|
|
8738
8746
|
{
|
|
8739
8747
|
"c-read-also-banner--is-fixed": l,
|
|
8740
8748
|
"c-read-also-banner--is-fixed-below-header": l,
|
|
8741
|
-
"c-read-also-banner--is-hidden":
|
|
8749
|
+
"c-read-also-banner--is-hidden": n
|
|
8742
8750
|
},
|
|
8743
|
-
|
|
8751
|
+
r
|
|
8744
8752
|
),
|
|
8745
8753
|
px: { xs: "0", md: "m" },
|
|
8746
8754
|
pt: "s",
|
|
@@ -8789,21 +8797,21 @@ const m1 = F(
|
|
|
8789
8797
|
url: s,
|
|
8790
8798
|
inputProps: c,
|
|
8791
8799
|
autocompleteResults: l,
|
|
8792
|
-
ariaLabel:
|
|
8793
|
-
...
|
|
8800
|
+
ariaLabel: n,
|
|
8801
|
+
...r
|
|
8794
8802
|
}) => /* @__PURE__ */ t(
|
|
8795
8803
|
x,
|
|
8796
8804
|
{
|
|
8797
|
-
...
|
|
8805
|
+
...r,
|
|
8798
8806
|
as: "form",
|
|
8799
8807
|
autoComplete: l && l.length > 0 ? "off" : "on",
|
|
8800
8808
|
id: a,
|
|
8801
|
-
className: p("c-search-form",
|
|
8809
|
+
className: p("c-search-form", r?.className),
|
|
8802
8810
|
action: s,
|
|
8803
8811
|
method: "GET",
|
|
8804
8812
|
role: "search",
|
|
8805
8813
|
children: [
|
|
8806
|
-
/* @__PURE__ */ e("label", { htmlFor: `${a}-search`, className: "u-mask", children:
|
|
8814
|
+
/* @__PURE__ */ e("label", { htmlFor: `${a}-search`, className: "u-mask", children: n || c?.placeholder || "Recherche" }),
|
|
8807
8815
|
/* @__PURE__ */ e(
|
|
8808
8816
|
V1,
|
|
8809
8817
|
{
|
|
@@ -8830,14 +8838,14 @@ const m1 = F(
|
|
|
8830
8838
|
labelLink: s,
|
|
8831
8839
|
themeColor: c,
|
|
8832
8840
|
isUnderlined: l = !0,
|
|
8833
|
-
...
|
|
8841
|
+
...n
|
|
8834
8842
|
}) => /* @__PURE__ */ t(
|
|
8835
8843
|
L,
|
|
8836
8844
|
{
|
|
8837
8845
|
...s && { as: "a", href: s },
|
|
8838
8846
|
size: "xxs",
|
|
8839
8847
|
weight: "bold",
|
|
8840
|
-
...
|
|
8848
|
+
...n,
|
|
8841
8849
|
className: p("c-section-title", { "c-section-title--is-link": s }),
|
|
8842
8850
|
children: [
|
|
8843
8851
|
l ? /* @__PURE__ */ e(
|
|
@@ -8879,14 +8887,14 @@ function ye() {
|
|
|
8879
8887
|
if (!(k instanceof M))
|
|
8880
8888
|
throw new TypeError("Cannot call a class as a function");
|
|
8881
8889
|
}
|
|
8882
|
-
function
|
|
8890
|
+
function n(k, M) {
|
|
8883
8891
|
for (var S = 0; S < M.length; S++) {
|
|
8884
8892
|
var y = M[S];
|
|
8885
8893
|
y.enumerable = y.enumerable || !1, y.configurable = !0, "value" in y && (y.writable = !0), Object.defineProperty(k, y.key, y);
|
|
8886
8894
|
}
|
|
8887
8895
|
}
|
|
8888
|
-
function
|
|
8889
|
-
return M &&
|
|
8896
|
+
function r(k, M, S) {
|
|
8897
|
+
return M && n(k.prototype, M), k;
|
|
8890
8898
|
}
|
|
8891
8899
|
function i(k, M) {
|
|
8892
8900
|
if (typeof M != "function" && M !== null)
|
|
@@ -8968,7 +8976,7 @@ function ye() {
|
|
|
8968
8976
|
var B;
|
|
8969
8977
|
return l(this, S), B = M.call(this, y), B.buttons = /* @__PURE__ */ a.default.createRef(), B;
|
|
8970
8978
|
}
|
|
8971
|
-
return
|
|
8979
|
+
return r(S, [{
|
|
8972
8980
|
key: "componentDidMount",
|
|
8973
8981
|
value: function() {
|
|
8974
8982
|
_(this, "inline-follow-buttons");
|
|
@@ -8990,7 +8998,7 @@ function ye() {
|
|
|
8990
8998
|
var B;
|
|
8991
8999
|
return l(this, S), B = M.call(this, y), B.buttons = /* @__PURE__ */ a.default.createRef(), B;
|
|
8992
9000
|
}
|
|
8993
|
-
return
|
|
9001
|
+
return r(S, [{
|
|
8994
9002
|
key: "componentDidMount",
|
|
8995
9003
|
value: function() {
|
|
8996
9004
|
_(this, "inline-share-buttons");
|
|
@@ -9012,7 +9020,7 @@ function ye() {
|
|
|
9012
9020
|
var B;
|
|
9013
9021
|
return l(this, S), B = M.call(this, y), B.buttons = /* @__PURE__ */ a.default.createRef(), B;
|
|
9014
9022
|
}
|
|
9015
|
-
return
|
|
9023
|
+
return r(S, [{
|
|
9016
9024
|
key: "componentDidMount",
|
|
9017
9025
|
value: function() {
|
|
9018
9026
|
_(this, "inline-reaction-buttons");
|
|
@@ -9034,7 +9042,7 @@ function ye() {
|
|
|
9034
9042
|
var B;
|
|
9035
9043
|
return l(this, S), B = M.call(this, y), B.buttons = /* @__PURE__ */ a.default.createRef(), B;
|
|
9036
9044
|
}
|
|
9037
|
-
return
|
|
9045
|
+
return r(S, [{
|
|
9038
9046
|
key: "componentDidMount",
|
|
9039
9047
|
value: function() {
|
|
9040
9048
|
_(this, "sticky-share-buttons");
|
|
@@ -9087,17 +9095,17 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9087
9095
|
title: s,
|
|
9088
9096
|
subtitle: c,
|
|
9089
9097
|
layout: l,
|
|
9090
|
-
playButton:
|
|
9091
|
-
...
|
|
9098
|
+
playButton: n,
|
|
9099
|
+
...r
|
|
9092
9100
|
}) => {
|
|
9093
9101
|
const i = /* @__PURE__ */ t(j, { children: [
|
|
9094
9102
|
/* @__PURE__ */ e(L, { size: { xs: "m", md: "xxl" }, fontFamily: "obviously", mb: "l", children: s }),
|
|
9095
9103
|
/* @__PURE__ */ e(g, { as: "div", size: { xs: "m", md: "xl" }, mb: "xl", children: c })
|
|
9096
|
-
] }), o =
|
|
9104
|
+
] }), o = n ? /* @__PURE__ */ e($, { buttonColor: "primary", ...n, children: /* @__PURE__ */ t(h, { alignItems: "center", children: [
|
|
9097
9105
|
/* @__PURE__ */ e(N, { name: "video-outlined", size: 13, mr: "xxs" }),
|
|
9098
|
-
|
|
9106
|
+
n.children
|
|
9099
9107
|
] }) }) : void 0;
|
|
9100
|
-
return /* @__PURE__ */ t(x, { as: "section", ...
|
|
9108
|
+
return /* @__PURE__ */ t(x, { as: "section", ...r, className: "c-show-cover", children: [
|
|
9101
9109
|
/* @__PURE__ */ e(
|
|
9102
9110
|
"img",
|
|
9103
9111
|
{
|
|
@@ -9120,8 +9128,8 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9120
9128
|
authors: s,
|
|
9121
9129
|
layout: c,
|
|
9122
9130
|
publicationProps: l,
|
|
9123
|
-
publishedAt:
|
|
9124
|
-
editedAt:
|
|
9131
|
+
publishedAt: n,
|
|
9132
|
+
editedAt: r,
|
|
9125
9133
|
userlink: i,
|
|
9126
9134
|
authorHighlighted: o = !1,
|
|
9127
9135
|
disableAvatar: d = !1,
|
|
@@ -9131,16 +9139,16 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9131
9139
|
}) => {
|
|
9132
9140
|
const f = /* @__PURE__ */ t(h, { ...v, as: "address", alignItems: "start", gap: "s", children: [
|
|
9133
9141
|
!d && /* @__PURE__ */ e(G0, { avatars: a, themeColor: u }),
|
|
9134
|
-
/* @__PURE__ */ t(I, { grow: 1, align:
|
|
9142
|
+
/* @__PURE__ */ t(I, { grow: 1, align: n ? "start" : "center", children: [
|
|
9135
9143
|
o ? /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(g, { as: "span", size: "s", weight: "bold", px: "xxs", bg: "sponsoring", color: "grey-900", children: s }) }) : /* @__PURE__ */ e(g, { size: "s", weight: "bold", children: s }),
|
|
9136
|
-
|
|
9144
|
+
n && /* @__PURE__ */ t(g, { size: "xxs", color: "grey-400", mt: "xxs-2", ...l, children: [
|
|
9137
9145
|
/* @__PURE__ */ t("time", { children: [
|
|
9138
9146
|
"Publié le ",
|
|
9139
|
-
|
|
9147
|
+
n
|
|
9140
9148
|
] }),
|
|
9141
|
-
|
|
9149
|
+
r && /* @__PURE__ */ t("time", { children: [
|
|
9142
9150
|
" • Mis à jour le ",
|
|
9143
|
-
|
|
9151
|
+
r
|
|
9144
9152
|
] })
|
|
9145
9153
|
] })
|
|
9146
9154
|
] }),
|
|
@@ -9174,8 +9182,8 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9174
9182
|
shareCount: s,
|
|
9175
9183
|
reactionCount: c,
|
|
9176
9184
|
variant: l = "horizontal",
|
|
9177
|
-
countColor:
|
|
9178
|
-
themeColor:
|
|
9185
|
+
countColor: n,
|
|
9186
|
+
themeColor: r,
|
|
9179
9187
|
contentId: i,
|
|
9180
9188
|
contentLegacyId: o,
|
|
9181
9189
|
contentModel: d,
|
|
@@ -9199,8 +9207,8 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9199
9207
|
...l === "card" && w === "blue-grey" && { iconBackground: "blue-grey", iconColor: "white" },
|
|
9200
9208
|
variant: u1(l),
|
|
9201
9209
|
count: a,
|
|
9202
|
-
countColor:
|
|
9203
|
-
countBg:
|
|
9210
|
+
countColor: n,
|
|
9211
|
+
countBg: r,
|
|
9204
9212
|
countStyle: y1(l),
|
|
9205
9213
|
...l === "horizontal" && { id: "mbrs-social-comment-container" },
|
|
9206
9214
|
...l !== "card" && { anchor: f },
|
|
@@ -9219,8 +9227,8 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9219
9227
|
...l === "card" && w === "blue-grey" && { iconBackground: "blue-grey", iconColor: "white" },
|
|
9220
9228
|
variant: u1(l),
|
|
9221
9229
|
count: s === 0 ? void 0 : s,
|
|
9222
|
-
countColor:
|
|
9223
|
-
countBg:
|
|
9230
|
+
countColor: n,
|
|
9231
|
+
countBg: r,
|
|
9224
9232
|
countStyle: y1(l),
|
|
9225
9233
|
isClickable: l !== "card",
|
|
9226
9234
|
className: p({ "js-mobile-share-button": l === "horizontal" }),
|
|
@@ -9240,8 +9248,8 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9240
9248
|
{
|
|
9241
9249
|
color: w === "blue-grey" ? "white" : "black",
|
|
9242
9250
|
count: c,
|
|
9243
|
-
countColor:
|
|
9244
|
-
countBg:
|
|
9251
|
+
countColor: n,
|
|
9252
|
+
countBg: r,
|
|
9245
9253
|
countStyle: y1(l),
|
|
9246
9254
|
iconItemProps: {
|
|
9247
9255
|
variant: u1(l),
|
|
@@ -9388,12 +9396,12 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9388
9396
|
)
|
|
9389
9397
|
] }), Ne = ["D", "L", "M", "M", "J", "V", "S"], ke = (a, s) => {
|
|
9390
9398
|
const c = (s - 1) % 7, l = [];
|
|
9391
|
-
for (let
|
|
9392
|
-
const
|
|
9399
|
+
for (let n = 0; n < 7; n += 1) {
|
|
9400
|
+
const r = new Date(a.getTime() + n * 24 * 60 * 60 * 1e3);
|
|
9393
9401
|
l.push({
|
|
9394
|
-
label: Ne[
|
|
9395
|
-
isActive:
|
|
9396
|
-
dayIndex:
|
|
9402
|
+
label: Ne[r.getDay()],
|
|
9403
|
+
isActive: n <= c,
|
|
9404
|
+
dayIndex: n
|
|
9397
9405
|
});
|
|
9398
9406
|
}
|
|
9399
9407
|
return l;
|
|
@@ -9402,16 +9410,16 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9402
9410
|
streakStartDate: s,
|
|
9403
9411
|
streakEndDate: c,
|
|
9404
9412
|
encouragementMessage: l,
|
|
9405
|
-
...
|
|
9413
|
+
...n
|
|
9406
9414
|
}) => {
|
|
9407
9415
|
if (a < 1 || !s || !c)
|
|
9408
9416
|
return null;
|
|
9409
|
-
const
|
|
9417
|
+
const r = typeof s == "string" ? new Date(s) : s, i = W(() => ke(r, a), [r, a]), o = i.map((m) => m.isActive).lastIndexOf(!0), d = o >= 0 ? (o + 1) / 7 * 100 : 0, u = a > 1 ? "jours" : "jour";
|
|
9410
9418
|
return /* @__PURE__ */ t(
|
|
9411
9419
|
x,
|
|
9412
9420
|
{
|
|
9413
|
-
...
|
|
9414
|
-
className: p("c-streak-block",
|
|
9421
|
+
...n,
|
|
9422
|
+
className: p("c-streak-block", n?.className),
|
|
9415
9423
|
p: "m",
|
|
9416
9424
|
pt: "s",
|
|
9417
9425
|
bg: "blue-ice",
|
|
@@ -9495,8 +9503,8 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9495
9503
|
link: s,
|
|
9496
9504
|
iconName: c,
|
|
9497
9505
|
subCategory: l,
|
|
9498
|
-
color:
|
|
9499
|
-
rightColsNumber:
|
|
9506
|
+
color: n,
|
|
9507
|
+
rightColsNumber: r = 3,
|
|
9500
9508
|
sponsor: i,
|
|
9501
9509
|
withBorder: o = !0,
|
|
9502
9510
|
...d
|
|
@@ -9506,7 +9514,7 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9506
9514
|
...d,
|
|
9507
9515
|
className: p(
|
|
9508
9516
|
"c-sub-menu",
|
|
9509
|
-
{ [`c-sub-menu--${
|
|
9517
|
+
{ [`c-sub-menu--${n}`]: n, "c-sub-menu--with-border": o },
|
|
9510
9518
|
d?.className
|
|
9511
9519
|
),
|
|
9512
9520
|
justifyContent: "center",
|
|
@@ -9534,7 +9542,7 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9534
9542
|
children: a
|
|
9535
9543
|
}
|
|
9536
9544
|
),
|
|
9537
|
-
/* @__PURE__ */ e(N, { name: "chevron", size: [10, 14], color:
|
|
9545
|
+
/* @__PURE__ */ e(N, { name: "chevron", size: [10, 14], color: n || "ultramarine" })
|
|
9538
9546
|
]
|
|
9539
9547
|
}
|
|
9540
9548
|
),
|
|
@@ -9549,7 +9557,7 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9549
9557
|
className: "c-sub-menu__link",
|
|
9550
9558
|
children: [
|
|
9551
9559
|
u.name,
|
|
9552
|
-
/* @__PURE__ */ e(N, { name: "chevron", size: [10, 14], color:
|
|
9560
|
+
/* @__PURE__ */ e(N, { name: "chevron", size: [10, 14], color: n || "ultramarine" })
|
|
9553
9561
|
]
|
|
9554
9562
|
},
|
|
9555
9563
|
u.href
|
|
@@ -9573,18 +9581,18 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9573
9581
|
...!l?.tags && { pt: "xxs", pb: "xs" }
|
|
9574
9582
|
}
|
|
9575
9583
|
),
|
|
9576
|
-
l?.tags && /* @__PURE__ */ e(h, { gap: "xs", children: l?.tags.map((u) => /* @__PURE__ */ e(X, { href: u.href, color:
|
|
9584
|
+
l?.tags && /* @__PURE__ */ e(h, { gap: "xs", children: l?.tags.map((u) => /* @__PURE__ */ e(X, { href: u.href, color: n || "ultramarine", children: u.name }, u.href)) })
|
|
9577
9585
|
]
|
|
9578
9586
|
}
|
|
9579
9587
|
),
|
|
9580
|
-
/* @__PURE__ */ e(l1, { colsNumber:
|
|
9588
|
+
/* @__PURE__ */ e(l1, { colsNumber: r, gap: "xl", children: l?.cards?.map((u) => /* @__PURE__ */ g0(
|
|
9581
9589
|
n0,
|
|
9582
9590
|
{
|
|
9583
9591
|
...u,
|
|
9584
9592
|
key: u.link,
|
|
9585
9593
|
...u.cardHeaderProps?.headline ? {
|
|
9586
9594
|
cardHeaderProps: {
|
|
9587
|
-
headline: { text: u.cardHeaderProps.headline.text, color:
|
|
9595
|
+
headline: { text: u.cardHeaderProps.headline.text, color: n }
|
|
9588
9596
|
}
|
|
9589
9597
|
} : {},
|
|
9590
9598
|
cardTitleProps: {
|
|
@@ -9610,18 +9618,18 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9610
9618
|
), L3 = ({ hasHeader: a, tableProps: s, ...c }) => {
|
|
9611
9619
|
if (!s?.length)
|
|
9612
9620
|
return null;
|
|
9613
|
-
const l = a ? s[0] : null,
|
|
9621
|
+
const l = a ? s[0] : null, n = a ? s.slice(1) : s;
|
|
9614
9622
|
return /* @__PURE__ */ t(x, { as: "table", ...c, children: [
|
|
9615
|
-
a && l && /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: l.map((
|
|
9616
|
-
/* @__PURE__ */ e("tbody", { children:
|
|
9623
|
+
a && l && /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: l.map((r, i) => /* @__PURE__ */ e(x, { as: "th", p: "s", children: r }, i)) }) }),
|
|
9624
|
+
/* @__PURE__ */ e("tbody", { children: n.map((r, i) => /* @__PURE__ */ e("tr", { children: r.map((o, d) => /* @__PURE__ */ e(x, { as: "td", p: "s", children: o }, d)) }, i)) })
|
|
9617
9625
|
] });
|
|
9618
9626
|
}, d0 = ({
|
|
9619
9627
|
tabItems: a,
|
|
9620
9628
|
name: s = "default",
|
|
9621
9629
|
fitContainer: c,
|
|
9622
9630
|
tabItemActive: l,
|
|
9623
|
-
tabVariant:
|
|
9624
|
-
className:
|
|
9631
|
+
tabVariant: n = "primary",
|
|
9632
|
+
className: r,
|
|
9625
9633
|
tabProps: i,
|
|
9626
9634
|
tabTitlesColor: o,
|
|
9627
9635
|
...d
|
|
@@ -9635,7 +9643,7 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9635
9643
|
return /* @__PURE__ */ t(
|
|
9636
9644
|
x,
|
|
9637
9645
|
{
|
|
9638
|
-
className: p(
|
|
9646
|
+
className: p(r, "js-tabs", { "c-tabs-fit-container": c }),
|
|
9639
9647
|
"data-tabs-name": s,
|
|
9640
9648
|
...d,
|
|
9641
9649
|
children: [
|
|
@@ -9645,13 +9653,13 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9645
9653
|
className: "c-tablist",
|
|
9646
9654
|
role: "tablist",
|
|
9647
9655
|
mb: "l",
|
|
9648
|
-
gap:
|
|
9656
|
+
gap: n === "primary" ? "l" : void 0,
|
|
9649
9657
|
...i,
|
|
9650
9658
|
children: u.map((v) => /* @__PURE__ */ e(
|
|
9651
9659
|
R0,
|
|
9652
9660
|
{
|
|
9653
9661
|
name: v.name,
|
|
9654
|
-
variant:
|
|
9662
|
+
variant: n,
|
|
9655
9663
|
isSelected: m === v.name,
|
|
9656
9664
|
tabIndex: m === v.name ? 0 : -1,
|
|
9657
9665
|
tabColor: v.tabColor,
|
|
@@ -9685,7 +9693,7 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9685
9693
|
layout: s,
|
|
9686
9694
|
className: p("c-tag-bar", l?.className),
|
|
9687
9695
|
...c && { buttonsSize: "small" },
|
|
9688
|
-
children: a.map((
|
|
9696
|
+
children: a.map((n, r) => /* @__PURE__ */ e(X, { ...n, ...c && { size: "small" } }, r))
|
|
9689
9697
|
}
|
|
9690
9698
|
) : null, Se = ({ iconName: a, className: s }) => /* @__PURE__ */ e("li", { className: p("c-text-tooltip-item", s), children: /* @__PURE__ */ e(
|
|
9691
9699
|
H,
|
|
@@ -9699,13 +9707,13 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9699
9707
|
iconProps: s,
|
|
9700
9708
|
children: c,
|
|
9701
9709
|
hasDot: l = !1,
|
|
9702
|
-
...
|
|
9710
|
+
...n
|
|
9703
9711
|
}) => {
|
|
9704
|
-
const
|
|
9712
|
+
const r = /* @__PURE__ */ e(N, { ...s });
|
|
9705
9713
|
return /* @__PURE__ */ t(
|
|
9706
9714
|
h,
|
|
9707
9715
|
{
|
|
9708
|
-
...
|
|
9716
|
+
...n,
|
|
9709
9717
|
direction: "column",
|
|
9710
9718
|
alignItems: "center",
|
|
9711
9719
|
justifyContent: "center",
|
|
@@ -9718,8 +9726,8 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9718
9726
|
children: [
|
|
9719
9727
|
l ? /* @__PURE__ */ t(h, { alignItems: "center", gap: "xxs-2", children: [
|
|
9720
9728
|
/* @__PURE__ */ e(N, { name: "dot", color: "red", size: 8 }),
|
|
9721
|
-
|
|
9722
|
-
] }) :
|
|
9729
|
+
r
|
|
9730
|
+
] }) : r,
|
|
9723
9731
|
/* @__PURE__ */ e(g, { as: "span", size: "xxs", weight: "bold", children: c })
|
|
9724
9732
|
]
|
|
9725
9733
|
}
|
|
@@ -9756,14 +9764,14 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9756
9764
|
})
|
|
9757
9765
|
}
|
|
9758
9766
|
),
|
|
9759
|
-
a.slice(0, 5).map((l,
|
|
9767
|
+
a.slice(0, 5).map((l, n) => /* @__PURE__ */ t(
|
|
9760
9768
|
h,
|
|
9761
9769
|
{
|
|
9762
9770
|
direction: "column",
|
|
9763
9771
|
alignItems: { xs: "start", md: "center" },
|
|
9764
9772
|
className: p("c-timeline__item", {
|
|
9765
|
-
[`c-timeline__item--is-mobile-${
|
|
9766
|
-
"u-hidden": s === z.MOBILE &&
|
|
9773
|
+
[`c-timeline__item--is-mobile-${n + 1}`]: s === z.MOBILE && (n === 0 || n === 1),
|
|
9774
|
+
"u-hidden": s === z.MOBILE && n >= 2
|
|
9767
9775
|
}),
|
|
9768
9776
|
children: [
|
|
9769
9777
|
/* @__PURE__ */ t(
|
|
@@ -9818,25 +9826,25 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9818
9826
|
] })
|
|
9819
9827
|
] }),
|
|
9820
9828
|
l && l.totalDays >= 1 && /* @__PURE__ */ e(Me, { ...l, mx: "m", mt: "m" }),
|
|
9821
|
-
/* @__PURE__ */ e(x, { mx: "m", mt: "l", mb: "xl", children: s.map((
|
|
9829
|
+
/* @__PURE__ */ e(x, { mx: "m", mt: "l", mb: "xl", children: s.map((n, r) => /* @__PURE__ */ t(
|
|
9822
9830
|
h,
|
|
9823
9831
|
{
|
|
9824
9832
|
as: $,
|
|
9825
|
-
href:
|
|
9833
|
+
href: n.href,
|
|
9826
9834
|
color: "black",
|
|
9827
|
-
pb:
|
|
9835
|
+
pb: r === s.length - 1 ? "0" : "m",
|
|
9828
9836
|
justifyContent: "between",
|
|
9829
9837
|
alignItems: "center",
|
|
9830
9838
|
size: "m",
|
|
9831
9839
|
children: [
|
|
9832
9840
|
/* @__PURE__ */ t(h, { alignItems: "center", children: [
|
|
9833
|
-
|
|
9834
|
-
|
|
9841
|
+
n.iconProps && /* @__PURE__ */ e(N, { mr: "xs", ...n.iconProps }),
|
|
9842
|
+
n.children
|
|
9835
9843
|
] }),
|
|
9836
9844
|
/* @__PURE__ */ e(N, { name: "chevron", size: 14, color: "ultramarine" })
|
|
9837
9845
|
]
|
|
9838
9846
|
},
|
|
9839
|
-
|
|
9847
|
+
n.href
|
|
9840
9848
|
)) }),
|
|
9841
9849
|
a,
|
|
9842
9850
|
/* @__PURE__ */ e(G, { color: "grey-200" })
|
|
@@ -9845,8 +9853,8 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9845
9853
|
layout: s,
|
|
9846
9854
|
result: c,
|
|
9847
9855
|
candidate: l,
|
|
9848
|
-
votes:
|
|
9849
|
-
politicalPartyColor:
|
|
9856
|
+
votes: n,
|
|
9857
|
+
politicalPartyColor: r,
|
|
9850
9858
|
ranking: i,
|
|
9851
9859
|
electedMembers: o,
|
|
9852
9860
|
hasAvatar: d = !1,
|
|
@@ -9858,7 +9866,7 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9858
9866
|
{
|
|
9859
9867
|
className: p("c-elections-result__header", {
|
|
9860
9868
|
"c-elections-result__header--has-big-line-height": l?.status,
|
|
9861
|
-
"c-elections-result__header--has-min-height": d && !c && !
|
|
9869
|
+
"c-elections-result__header--has-min-height": d && !c && !n
|
|
9862
9870
|
}),
|
|
9863
9871
|
children: [
|
|
9864
9872
|
l?.status && /* @__PURE__ */ e(
|
|
@@ -9880,14 +9888,14 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9880
9888
|
img: l?.avatarUrl,
|
|
9881
9889
|
mr: { xs: "xs", md: "l" },
|
|
9882
9890
|
alt: a,
|
|
9883
|
-
color:
|
|
9891
|
+
color: r
|
|
9884
9892
|
}
|
|
9885
9893
|
) : /* @__PURE__ */ e(
|
|
9886
9894
|
N,
|
|
9887
9895
|
{
|
|
9888
9896
|
name: "connected",
|
|
9889
9897
|
size: 40,
|
|
9890
|
-
color:
|
|
9898
|
+
color: r || "grey-300",
|
|
9891
9899
|
mr: { xs: "xs", md: "l" }
|
|
9892
9900
|
}
|
|
9893
9901
|
), _ = /* @__PURE__ */ t(j, { children: [
|
|
@@ -9900,13 +9908,13 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
9900
9908
|
{
|
|
9901
9909
|
percentage: c,
|
|
9902
9910
|
mt: "xxs",
|
|
9903
|
-
...
|
|
9904
|
-
progressBarClassName: `c-percentage-bar__progress-bar--${
|
|
9911
|
+
...r && {
|
|
9912
|
+
progressBarClassName: `c-percentage-bar__progress-bar--${r}`
|
|
9905
9913
|
}
|
|
9906
9914
|
}
|
|
9907
9915
|
),
|
|
9908
|
-
(
|
|
9909
|
-
|
|
9916
|
+
(n || n === 0) && /* @__PURE__ */ t(g, { size: "xs", color: "grey-400", weight: "bold", mt: "s", children: [
|
|
9917
|
+
n.toLocaleString("fr-FR"),
|
|
9910
9918
|
" voix"
|
|
9911
9919
|
] }),
|
|
9912
9920
|
o && o.length > 0 && /* @__PURE__ */ t(j, { children: [
|
|
@@ -10022,8 +10030,8 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
10022
10030
|
categories: s,
|
|
10023
10031
|
themeColor: c,
|
|
10024
10032
|
socialIcons: l,
|
|
10025
|
-
archives:
|
|
10026
|
-
links:
|
|
10033
|
+
archives: n,
|
|
10034
|
+
links: r
|
|
10027
10035
|
}) => /* @__PURE__ */ t(x, { as: "footer", id: "footer", className: "c-footer", bg: c || "ultramarine", children: [
|
|
10028
10036
|
/* @__PURE__ */ t(
|
|
10029
10037
|
h,
|
|
@@ -10083,10 +10091,10 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
10083
10091
|
)
|
|
10084
10092
|
] })
|
|
10085
10093
|
] }),
|
|
10086
|
-
|
|
10094
|
+
n && /* @__PURE__ */ t("section", { children: [
|
|
10087
10095
|
/* @__PURE__ */ e(G, { color: "grey-200", my: "xl" }),
|
|
10088
10096
|
/* @__PURE__ */ e(g, { size: "m", color: "white", mb: "s", weight: "bold", children: "Archives" }),
|
|
10089
|
-
/* @__PURE__ */ e(l1, { as: "ul", colsNumber: 6, gap: "s", children:
|
|
10097
|
+
/* @__PURE__ */ e(l1, { as: "ul", colsNumber: 6, gap: "s", children: n.map((i) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e($, { href: i.href, color: "white", children: i.name }, i.name) }, i.name)) })
|
|
10090
10098
|
] })
|
|
10091
10099
|
] }),
|
|
10092
10100
|
/* @__PURE__ */ e(
|
|
@@ -10121,7 +10129,7 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
10121
10129
|
alignItems: "center",
|
|
10122
10130
|
gap: "xs",
|
|
10123
10131
|
children: [
|
|
10124
|
-
/* @__PURE__ */ e(h0, { links:
|
|
10132
|
+
/* @__PURE__ */ e(h0, { links: r, justifyContent: "center", mb: "xl" }),
|
|
10125
10133
|
/* @__PURE__ */ e("strong", { children: "© Copyright 20 Minutes" }),
|
|
10126
10134
|
/* @__PURE__ */ e("p", { children: "La fréquentation de 20 Minutes est certifiée par l‘ACPM" })
|
|
10127
10135
|
]
|
|
@@ -10132,8 +10140,8 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
10132
10140
|
categories: s,
|
|
10133
10141
|
themeColor: c,
|
|
10134
10142
|
socialIcons: l,
|
|
10135
|
-
links:
|
|
10136
|
-
showApps:
|
|
10143
|
+
links: n,
|
|
10144
|
+
showApps: r = !0
|
|
10137
10145
|
}) => /* @__PURE__ */ t(
|
|
10138
10146
|
x,
|
|
10139
10147
|
{
|
|
@@ -10173,7 +10181,7 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
10173
10181
|
i.name
|
|
10174
10182
|
)
|
|
10175
10183
|
) }),
|
|
10176
|
-
|
|
10184
|
+
r ? /* @__PURE__ */ t("section", { children: [
|
|
10177
10185
|
/* @__PURE__ */ e(g, { size: "l", mx: "m", mb: "s", weight: "bold", children: "Nos applications" }),
|
|
10178
10186
|
/* @__PURE__ */ e(g, { mx: "m", mb: "s", children: "Découvrez l‘ensemble de nos applications 20 Minutes !" }),
|
|
10179
10187
|
/* @__PURE__ */ t(h, { mx: "m", gap: "xs", wrap: "wrap", alignItems: "center", mb: "xl", children: [
|
|
@@ -10212,7 +10220,7 @@ const Z3 = ({ networks: a = ["sharethis"], ...s }) => {
|
|
|
10212
10220
|
/* @__PURE__ */ e(m0, { socialIcons: l, themeColor: c, my: "xl", mx: "m" }),
|
|
10213
10221
|
/* @__PURE__ */ e(G, { color: "grey-200" }),
|
|
10214
10222
|
/* @__PURE__ */ t(x, { as: "section", className: "c-footer-mobile__bottom", px: "m", pt: "xl", pb: "xxl-2", children: [
|
|
10215
|
-
/* @__PURE__ */ e(h0, { links:
|
|
10223
|
+
/* @__PURE__ */ e(h0, { links: n, gapX: "s", mb: "xl" }),
|
|
10216
10224
|
/* @__PURE__ */ e("strong", { children: "© Copyright 20 Minutes" }),
|
|
10217
10225
|
/* @__PURE__ */ e(g, { mt: "xs", children: "La fréquentation de 20 Minutes est certifiée par l‘ACPM" })
|
|
10218
10226
|
] })
|
|
@@ -10257,12 +10265,12 @@ const $e = {
|
|
|
10257
10265
|
homeHref: s = "/",
|
|
10258
10266
|
searchformurl: c,
|
|
10259
10267
|
headerLinks: l,
|
|
10260
|
-
logoIsHeading:
|
|
10261
|
-
themeColor:
|
|
10268
|
+
logoIsHeading: n = !1,
|
|
10269
|
+
themeColor: r,
|
|
10262
10270
|
logoName: i = "logo",
|
|
10263
10271
|
isCurrentPageHome: o = !1
|
|
10264
10272
|
}) => {
|
|
10265
|
-
const d = () => o ? "ultramarine" : i === "logo-tv" ? "white" : "black", u = /* @__PURE__ */ e($, { href: a, className: p({ "c-header__logo": !
|
|
10273
|
+
const d = () => o ? "ultramarine" : i === "logo-tv" ? "white" : "black", u = /* @__PURE__ */ e($, { href: a, className: p({ "c-header__logo": !n }), children: /* @__PURE__ */ e(
|
|
10266
10274
|
N,
|
|
10267
10275
|
{
|
|
10268
10276
|
color: "white",
|
|
@@ -10275,7 +10283,7 @@ const $e = {
|
|
|
10275
10283
|
x,
|
|
10276
10284
|
{
|
|
10277
10285
|
className: p("c-header", {
|
|
10278
|
-
[`c-header--theme-${
|
|
10286
|
+
[`c-header--theme-${r || "ultramarine"}`]: !!r || "ultramarine"
|
|
10279
10287
|
}),
|
|
10280
10288
|
children: /* @__PURE__ */ t(h, { className: "c-header__container", direction: "column", children: [
|
|
10281
10289
|
/* @__PURE__ */ t(
|
|
@@ -10340,7 +10348,7 @@ const $e = {
|
|
|
10340
10348
|
}
|
|
10341
10349
|
)
|
|
10342
10350
|
] }),
|
|
10343
|
-
|
|
10351
|
+
n ? /* @__PURE__ */ e("h1", { className: p({ "c-header__logo": n }), children: u }) : u,
|
|
10344
10352
|
/* @__PURE__ */ t(h, { alignItems: "center", children: [
|
|
10345
10353
|
/* @__PURE__ */ t(h, { alignItems: "center", gap: "xs", className: "c-header__media-links", children: [
|
|
10346
10354
|
/* @__PURE__ */ e(
|
|
@@ -10398,7 +10406,7 @@ const $e = {
|
|
|
10398
10406
|
{
|
|
10399
10407
|
href: s,
|
|
10400
10408
|
color: d(),
|
|
10401
|
-
className: `c-header__link c-header__link--theme-${
|
|
10409
|
+
className: `c-header__link c-header__link--theme-${r || "ultramarine"}`,
|
|
10402
10410
|
size: "m",
|
|
10403
10411
|
pl: "m",
|
|
10404
10412
|
pr: "s",
|
|
@@ -10464,8 +10472,8 @@ const $e = {
|
|
|
10464
10472
|
logoIsHeading: s = !1,
|
|
10465
10473
|
themeColor: c,
|
|
10466
10474
|
isHidden: l = !1,
|
|
10467
|
-
logoName:
|
|
10468
|
-
showOpenButton:
|
|
10475
|
+
logoName: n = "logo",
|
|
10476
|
+
showOpenButton: r = !0,
|
|
10469
10477
|
backhref: i
|
|
10470
10478
|
}) => {
|
|
10471
10479
|
const o = /* @__PURE__ */ e($, { href: a, className: s ? void 0 : "c-header-mobile__logo", children: /* @__PURE__ */ e(
|
|
@@ -10473,8 +10481,8 @@ const $e = {
|
|
|
10473
10481
|
{
|
|
10474
10482
|
color: "white",
|
|
10475
10483
|
svgTitle: "20 Minutes : Actualités et infos en direct",
|
|
10476
|
-
name:
|
|
10477
|
-
size: Le[
|
|
10484
|
+
name: n,
|
|
10485
|
+
size: Le[n]
|
|
10478
10486
|
}
|
|
10479
10487
|
) });
|
|
10480
10488
|
return /* @__PURE__ */ t(
|
|
@@ -10483,14 +10491,14 @@ const $e = {
|
|
|
10483
10491
|
as: "header",
|
|
10484
10492
|
className: p("c-header-mobile", { "c-header-mobile--is-hidden": l }),
|
|
10485
10493
|
alignItems: "center",
|
|
10486
|
-
justifyContent:
|
|
10494
|
+
justifyContent: r ? "between" : "end",
|
|
10487
10495
|
px: "m",
|
|
10488
10496
|
bg: c || "ultramarine",
|
|
10489
10497
|
children: [
|
|
10490
10498
|
/* @__PURE__ */ e(n1, { href: "#page-wrap", children: "Passer au contenu principal" }),
|
|
10491
10499
|
/* @__PURE__ */ e(n1, { href: "#menu-nav", children: "Passer à l'en-tête" }),
|
|
10492
10500
|
/* @__PURE__ */ e(n1, { href: "#footer", children: "Passer au pied de page" }),
|
|
10493
|
-
|
|
10501
|
+
r ? /* @__PURE__ */ t(j, { children: [
|
|
10494
10502
|
/* @__PURE__ */ t("div", { className: "js-header-btn-menu", children: [
|
|
10495
10503
|
/* @__PURE__ */ e(
|
|
10496
10504
|
q,
|
|
@@ -10557,8 +10565,8 @@ const $e = {
|
|
|
10557
10565
|
layout: s,
|
|
10558
10566
|
fitContainer: c,
|
|
10559
10567
|
tabItemActive: l,
|
|
10560
|
-
isScrollable:
|
|
10561
|
-
hasButton:
|
|
10568
|
+
isScrollable: n = !1,
|
|
10569
|
+
hasButton: r = !1,
|
|
10562
10570
|
seeMoreLinkBoxProps: i,
|
|
10563
10571
|
...o
|
|
10564
10572
|
}) => {
|
|
@@ -10579,7 +10587,7 @@ const $e = {
|
|
|
10579
10587
|
"div",
|
|
10580
10588
|
{
|
|
10581
10589
|
className: p({
|
|
10582
|
-
"c-most-read-articles-is-scrollable":
|
|
10590
|
+
"c-most-read-articles-is-scrollable": n && s === z.DESKTOP,
|
|
10583
10591
|
"c-most-read-articles-fit-container": c && s === z.DESKTOP
|
|
10584
10592
|
}),
|
|
10585
10593
|
children: /* @__PURE__ */ e("div", { children: v.body.map((_, w) => /* @__PURE__ */ t(Q.Fragment, { children: [
|
|
@@ -10597,7 +10605,7 @@ const $e = {
|
|
|
10597
10605
|
cartridge: _.cartridge
|
|
10598
10606
|
},
|
|
10599
10607
|
layout: s,
|
|
10600
|
-
mr:
|
|
10608
|
+
mr: n && s === z.DESKTOP && v.body.length > 3 ? "s" : void 0
|
|
10601
10609
|
}
|
|
10602
10610
|
) : /* @__PURE__ */ e(
|
|
10603
10611
|
Q0,
|
|
@@ -10613,7 +10621,7 @@ const $e = {
|
|
|
10613
10621
|
cardTitleProps: { size: "xxs-3", cartridge: _.cartridge },
|
|
10614
10622
|
cardNumber: { value: w + 1, size: "small" },
|
|
10615
10623
|
layout: s,
|
|
10616
|
-
mr:
|
|
10624
|
+
mr: n && s === z.DESKTOP ? "s" : void 0,
|
|
10617
10625
|
variant: "small"
|
|
10618
10626
|
}
|
|
10619
10627
|
),
|
|
@@ -10621,7 +10629,7 @@ const $e = {
|
|
|
10621
10629
|
] }, _.title)) })
|
|
10622
10630
|
}
|
|
10623
10631
|
),
|
|
10624
|
-
|
|
10632
|
+
r && /* @__PURE__ */ e(h, { mt: "xl", justifyContent: "center", ...i, children: /* @__PURE__ */ e(
|
|
10625
10633
|
$,
|
|
10626
10634
|
{
|
|
10627
10635
|
buttonColor: "primary",
|
|
@@ -10652,8 +10660,8 @@ const $e = {
|
|
|
10652
10660
|
layout: s,
|
|
10653
10661
|
fitContainer: c,
|
|
10654
10662
|
tabItemActive: l,
|
|
10655
|
-
isScrollable:
|
|
10656
|
-
tabTitlesColor:
|
|
10663
|
+
isScrollable: n = !1,
|
|
10664
|
+
tabTitlesColor: r,
|
|
10657
10665
|
...i
|
|
10658
10666
|
}) => {
|
|
10659
10667
|
const o = (m, v) => m.slice(0, v), u = a.map((m) => ({
|
|
@@ -10668,7 +10676,7 @@ const $e = {
|
|
|
10668
10676
|
"div",
|
|
10669
10677
|
{
|
|
10670
10678
|
className: p({
|
|
10671
|
-
"c-most-read-articles-is-scrollable":
|
|
10679
|
+
"c-most-read-articles-is-scrollable": n && s === z.DESKTOP,
|
|
10672
10680
|
"c-most-read-articles-fit-container": c && s === z.DESKTOP
|
|
10673
10681
|
}),
|
|
10674
10682
|
children: m.body.map((v, f) => /* @__PURE__ */ t(Q.Fragment, { children: [
|
|
@@ -10683,7 +10691,7 @@ const $e = {
|
|
|
10683
10691
|
cardTitleProps: {
|
|
10684
10692
|
size: "xxs-2"
|
|
10685
10693
|
},
|
|
10686
|
-
mr:
|
|
10694
|
+
mr: n && s === z.DESKTOP ? "s" : void 0
|
|
10687
10695
|
}
|
|
10688
10696
|
),
|
|
10689
10697
|
f !== m.body.length - 1 && /* @__PURE__ */ e(G, { color: "grey-200", my: "s" })
|
|
@@ -10699,8 +10707,8 @@ const $e = {
|
|
|
10699
10707
|
tabItemActive: l || (u.length > 0 ? u[0].name : ""),
|
|
10700
10708
|
tabItems: u,
|
|
10701
10709
|
fitContainer: c && s === z.DESKTOP,
|
|
10702
|
-
...z.DESKTOP === s && (
|
|
10703
|
-
tabTitlesColor:
|
|
10710
|
+
...z.DESKTOP === s && (n || c) && { "data-background-variant": "blue-dark" },
|
|
10711
|
+
tabTitlesColor: r,
|
|
10704
10712
|
...i
|
|
10705
10713
|
}
|
|
10706
10714
|
);
|
|
@@ -10709,11 +10717,11 @@ const $e = {
|
|
|
10709
10717
|
layout: s,
|
|
10710
10718
|
hasStepper: c,
|
|
10711
10719
|
type: l = "overview",
|
|
10712
|
-
title:
|
|
10720
|
+
title: n
|
|
10713
10721
|
}) => {
|
|
10714
10722
|
if (!a.length)
|
|
10715
10723
|
return null;
|
|
10716
|
-
const
|
|
10724
|
+
const r = n || (l === "overview" ? /* @__PURE__ */ t(j, { children: [
|
|
10717
10725
|
"Le récap",
|
|
10718
10726
|
s === z.DESKTOP ? /* @__PURE__ */ e("br", {}) : " ",
|
|
10719
10727
|
"de la journée"
|
|
@@ -10732,7 +10740,7 @@ const $e = {
|
|
|
10732
10740
|
mr: { xs: "0", md: "m" },
|
|
10733
10741
|
mb: { xs: "xs", md: "0" },
|
|
10734
10742
|
className: "c-overview-bar__title",
|
|
10735
|
-
children:
|
|
10743
|
+
children: r
|
|
10736
10744
|
}
|
|
10737
10745
|
), o = p(
|
|
10738
10746
|
{
|
|
@@ -10819,16 +10827,7 @@ const $e = {
|
|
|
10819
10827
|
},
|
|
10820
10828
|
`photoswipe-${c.imgProps?.id}`
|
|
10821
10829
|
)) }), q3 = ({ playerData: a, layout: s, ...c }) => {
|
|
10822
|
-
const l = (n,
|
|
10823
|
-
switch (n < i) {
|
|
10824
|
-
case !0:
|
|
10825
|
-
return /* @__PURE__ */ e(N, { name: "triangle", size: 14, color: "green" });
|
|
10826
|
-
case !1:
|
|
10827
|
-
return n === i ? /* @__PURE__ */ e(g, { textAlign: "center", weight: "bold", className: "c-ranking__evolution-equal", children: "=" }) : /* @__PURE__ */ e(N, { name: "triangle", size: 14, color: "red", className: "c-ranking__evolution-down" });
|
|
10828
|
-
default:
|
|
10829
|
-
return null;
|
|
10830
|
-
}
|
|
10831
|
-
}, r = (n, i) => i ? "is-current" : n % 2 === 0 ? "even" : "odd";
|
|
10830
|
+
const l = (n, r) => r ? "is-current" : n % 2 === 0 ? "even" : "odd";
|
|
10832
10831
|
return /* @__PURE__ */ t(
|
|
10833
10832
|
l1,
|
|
10834
10833
|
{
|
|
@@ -10844,18 +10843,14 @@ const $e = {
|
|
|
10844
10843
|
/* @__PURE__ */ e(h, { alignItems: "center", className: "c-ranking__header", children: /* @__PURE__ */ e(g, { as: "span", weight: "bold", children: "Score" }) }),
|
|
10845
10844
|
/* @__PURE__ */ e(h, { alignItems: "center", className: "c-ranking__header", children: /* @__PURE__ */ e(g, { as: "span", weight: "bold", children: "Parties jouées" }) }),
|
|
10846
10845
|
/* @__PURE__ */ e(h, { alignItems: "center", className: "c-ranking__header", children: /* @__PURE__ */ e(g, { as: "span", weight: "bold", children: "Victoires" }) }),
|
|
10847
|
-
a.map((n,
|
|
10848
|
-
/* @__PURE__ */
|
|
10846
|
+
a.map((n, r) => /* @__PURE__ */ t(j, { children: [
|
|
10847
|
+
/* @__PURE__ */ e(
|
|
10849
10848
|
h,
|
|
10850
10849
|
{
|
|
10851
10850
|
alignItems: "center",
|
|
10852
10851
|
justifyContent: "end",
|
|
10853
|
-
|
|
10854
|
-
|
|
10855
|
-
children: [
|
|
10856
|
-
/* @__PURE__ */ e(g, { weight: "bold", size: "m", color: n.isCurrentUser ? "ultramarine" : void 0, children: z1(n.current) }),
|
|
10857
|
-
l(n.current, n.previous)
|
|
10858
|
-
]
|
|
10852
|
+
className: `c-ranking__player c-ranking__player--${l(r, n.isCurrentUser)} c-ranking__player-ranking`,
|
|
10853
|
+
children: /* @__PURE__ */ e(g, { weight: "bold", size: "m", color: n.isCurrentUser ? "ultramarine" : void 0, children: z1(n.current) })
|
|
10859
10854
|
}
|
|
10860
10855
|
),
|
|
10861
10856
|
s === z.DESKTOP && /* @__PURE__ */ e(
|
|
@@ -10863,7 +10858,7 @@ const $e = {
|
|
|
10863
10858
|
{
|
|
10864
10859
|
alignItems: "center",
|
|
10865
10860
|
justifyContent: "end",
|
|
10866
|
-
className: `c-ranking__player c-ranking__player--${r
|
|
10861
|
+
className: `c-ranking__player c-ranking__player--${l(r, n.isCurrentUser)}`,
|
|
10867
10862
|
children: /* @__PURE__ */ e(v1, { variant: "small", img: n.avatar, mr: "l" })
|
|
10868
10863
|
}
|
|
10869
10864
|
),
|
|
@@ -10872,7 +10867,7 @@ const $e = {
|
|
|
10872
10867
|
{
|
|
10873
10868
|
alignItems: "center",
|
|
10874
10869
|
gap: "s",
|
|
10875
|
-
className: `c-ranking__player c-ranking__player--${r
|
|
10870
|
+
className: `c-ranking__player c-ranking__player--${l(r, n.isCurrentUser)}`,
|
|
10876
10871
|
children: /* @__PURE__ */ e(g, { weight: "bold", size: "xs", color: n.isCurrentUser ? "ultramarine" : void 0, children: n.username })
|
|
10877
10872
|
}
|
|
10878
10873
|
),
|
|
@@ -10880,7 +10875,7 @@ const $e = {
|
|
|
10880
10875
|
h,
|
|
10881
10876
|
{
|
|
10882
10877
|
alignItems: "center",
|
|
10883
|
-
className: `c-ranking__player c-ranking__player--${r
|
|
10878
|
+
className: `c-ranking__player c-ranking__player--${l(r, n.isCurrentUser)}`,
|
|
10884
10879
|
children: [
|
|
10885
10880
|
n.points,
|
|
10886
10881
|
" pts"
|
|
@@ -10891,7 +10886,7 @@ const $e = {
|
|
|
10891
10886
|
h,
|
|
10892
10887
|
{
|
|
10893
10888
|
alignItems: "center",
|
|
10894
|
-
className: `c-ranking__player c-ranking__player--${r
|
|
10889
|
+
className: `c-ranking__player c-ranking__player--${l(r, n.isCurrentUser)}`,
|
|
10895
10890
|
children: n.played
|
|
10896
10891
|
}
|
|
10897
10892
|
),
|
|
@@ -10899,7 +10894,7 @@ const $e = {
|
|
|
10899
10894
|
h,
|
|
10900
10895
|
{
|
|
10901
10896
|
alignItems: "center",
|
|
10902
|
-
className: `c-ranking__player c-ranking__player--${r
|
|
10897
|
+
className: `c-ranking__player c-ranking__player--${l(r, n.isCurrentUser)}`,
|
|
10903
10898
|
children: n.wins
|
|
10904
10899
|
}
|
|
10905
10900
|
)
|
|
@@ -10908,7 +10903,7 @@ const $e = {
|
|
|
10908
10903
|
}
|
|
10909
10904
|
);
|
|
10910
10905
|
}, He = ({ title: a, articles: s, isSponsored: c, seeMoreLink: l }) => {
|
|
10911
|
-
const { layout:
|
|
10906
|
+
const { layout: n, ...r } = s[0];
|
|
10912
10907
|
return /* @__PURE__ */ t(
|
|
10913
10908
|
I,
|
|
10914
10909
|
{
|
|
@@ -10924,10 +10919,10 @@ const $e = {
|
|
|
10924
10919
|
/* @__PURE__ */ e(
|
|
10925
10920
|
J0,
|
|
10926
10921
|
{
|
|
10927
|
-
...
|
|
10928
|
-
...
|
|
10922
|
+
...r,
|
|
10923
|
+
...r.cardImageProps && {
|
|
10929
10924
|
cardImageProps: {
|
|
10930
|
-
...
|
|
10925
|
+
...r.cardImageProps,
|
|
10931
10926
|
sizes: "(min-width: 1860px) 363px, (min-width: 1440px) calc(6vw + 253px), (min-width: 1100px) 320px, (min-width: 400px) calc(30.59vw - 10px), 100px"
|
|
10932
10927
|
}
|
|
10933
10928
|
}
|
|
@@ -10959,19 +10954,19 @@ const $e = {
|
|
|
10959
10954
|
/* @__PURE__ */ e(F1, { as: "h2", size: "m", mb: "l", textAlign: { xs: "center", md: "left" }, children: a })
|
|
10960
10955
|
] }),
|
|
10961
10956
|
c === z.DESKTOP ? /* @__PURE__ */ e(m1, { itemsGap: "xl", layout: c, sliderVariant: "three-columns-articles", children: s.map(
|
|
10962
|
-
(
|
|
10963
|
-
) }) : s.map((
|
|
10957
|
+
(n) => n.articles.length > 0 ? /* @__PURE__ */ e(He, { ...n }, n.title.label) : null
|
|
10958
|
+
) }) : s.map((n, r) => /* @__PURE__ */ e(
|
|
10964
10959
|
ne,
|
|
10965
10960
|
{
|
|
10966
|
-
label:
|
|
10967
|
-
articles:
|
|
10961
|
+
label: n.title.label,
|
|
10962
|
+
articles: n.articles,
|
|
10968
10963
|
layout: c,
|
|
10969
10964
|
pl: "m",
|
|
10970
|
-
isSponsored:
|
|
10971
|
-
mb:
|
|
10972
|
-
seeMoreLink:
|
|
10965
|
+
isSponsored: n.isSponsored,
|
|
10966
|
+
mb: r < s.length - 1 ? "l" : void 0,
|
|
10967
|
+
seeMoreLink: n.seeMoreLink
|
|
10973
10968
|
},
|
|
10974
|
-
|
|
10969
|
+
n.title.label
|
|
10975
10970
|
))
|
|
10976
10971
|
] }) : null, G3 = ({ items: a, activeItem: s, isBlueMode: c = !1 }) => /* @__PURE__ */ e(
|
|
10977
10972
|
h,
|
|
@@ -10983,15 +10978,15 @@ const $e = {
|
|
|
10983
10978
|
justifyContent: "around",
|
|
10984
10979
|
direction: "row",
|
|
10985
10980
|
className: p("c-toolbar", { "c-toolbar--is-blue-mode": c }),
|
|
10986
|
-
children: a.map(({ name: l, iconProps:
|
|
10981
|
+
children: a.map(({ name: l, iconProps: n, label: r, link: i, ariaLabel: o }) => /* @__PURE__ */ e(
|
|
10987
10982
|
s1,
|
|
10988
10983
|
{
|
|
10989
10984
|
className: "c-toolbar__item",
|
|
10990
|
-
iconProps:
|
|
10985
|
+
iconProps: n,
|
|
10991
10986
|
link: i,
|
|
10992
10987
|
variant: "primary",
|
|
10993
10988
|
isHighlighted: s === l,
|
|
10994
|
-
label:
|
|
10989
|
+
label: r,
|
|
10995
10990
|
ariaLabel: o,
|
|
10996
10991
|
isInToolbar: !0
|
|
10997
10992
|
},
|