@20minutes/hela 2.26.6 → 2.26.8
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/components/atoms/Tag/Tag.d.ts +3 -1
- package/dist/components/molecules/index.d.ts +0 -1
- package/dist/index.es.js +242 -285
- package/dist/index.umd.cjs +1 -1
- package/dist/js/scripts.es.js +247 -247
- package/dist/js/scripts.umd.cjs +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/molecules/Newsletter/Newsletter.d.ts +0 -13
- package/dist/components/molecules/Newsletter/index.d.ts +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n, Fragment as S } from "react/jsx-runtime";
|
|
2
|
-
import s1, { useId as B, Fragment as
|
|
2
|
+
import s1, { useId as B, Fragment as Y1, useMemo as K, useState as xe, createElement as we } from "react";
|
|
3
3
|
function be(a) {
|
|
4
4
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
5
5
|
}
|
|
6
6
|
var $1 = { exports: {} };
|
|
7
|
-
var
|
|
7
|
+
var T1;
|
|
8
8
|
function fe() {
|
|
9
|
-
return
|
|
9
|
+
return T1 || (T1 = 1, (function(a) {
|
|
10
10
|
(function() {
|
|
11
11
|
var c = {}.hasOwnProperty;
|
|
12
12
|
function l() {
|
|
@@ -92,7 +92,7 @@ const g = /* @__PURE__ */ be(ye), Oa = ({
|
|
|
92
92
|
a
|
|
93
93
|
] }),
|
|
94
94
|
o && /* @__PURE__ */ e(
|
|
95
|
-
|
|
95
|
+
q,
|
|
96
96
|
{
|
|
97
97
|
iconProps: {
|
|
98
98
|
name: "close",
|
|
@@ -116,7 +116,7 @@ const g = /* @__PURE__ */ be(ye), Oa = ({
|
|
|
116
116
|
/* @__PURE__ */ e("label", { htmlFor: `${a}-search`, className: "u-mask", children: c?.label || "Recherche" }),
|
|
117
117
|
/* @__PURE__ */ n("div", { className: "c-autocomplete__input-wrapper", children: [
|
|
118
118
|
/* @__PURE__ */ e(
|
|
119
|
-
|
|
119
|
+
le,
|
|
120
120
|
{
|
|
121
121
|
id: `${a}-search`,
|
|
122
122
|
className: "c-autocomplete__input",
|
|
@@ -1458,7 +1458,7 @@ const g = /* @__PURE__ */ be(ye), Oa = ({
|
|
|
1458
1458
|
D.typography.text
|
|
1459
1459
|
);
|
|
1460
1460
|
var Ne = /* @__PURE__ */ ((a) => (a.angry = "angry", a.heart = "heart", a.interesting = "interesting", a.laughing = "laughing", a.sad = "sad", a.shock = "shock", a.solidary = "solidary", a.down = "down", a.up = "up", a))(Ne || {});
|
|
1461
|
-
const
|
|
1461
|
+
const J1 = {
|
|
1462
1462
|
sad: "😢",
|
|
1463
1463
|
interesting: "😍",
|
|
1464
1464
|
laughing: "😂",
|
|
@@ -1468,7 +1468,7 @@ const X1 = {
|
|
|
1468
1468
|
heart: "❤️",
|
|
1469
1469
|
down: "👎",
|
|
1470
1470
|
up: "👍"
|
|
1471
|
-
},
|
|
1471
|
+
}, R1 = [
|
|
1472
1472
|
{ name: "Paris", id: "75056" },
|
|
1473
1473
|
{ name: "Marseille", id: "13055" },
|
|
1474
1474
|
{ name: "Lyon", id: "69123" },
|
|
@@ -1675,7 +1675,7 @@ const X1 = {
|
|
|
1675
1675
|
borderColor: ["border-color"],
|
|
1676
1676
|
bg: ["background-color"],
|
|
1677
1677
|
color: ["color"]
|
|
1678
|
-
},
|
|
1678
|
+
}, X1 = {
|
|
1679
1679
|
alignItems: ["align-items"],
|
|
1680
1680
|
alignContent: ["align-content"],
|
|
1681
1681
|
justifyContent: ["justify-content"],
|
|
@@ -1691,7 +1691,7 @@ const X1 = {
|
|
|
1691
1691
|
basis: ["flex-basis"],
|
|
1692
1692
|
shrink: ["flex-shrink"],
|
|
1693
1693
|
grow: ["flex-grow"]
|
|
1694
|
-
},
|
|
1694
|
+
}, Q1 = {
|
|
1695
1695
|
radius: ["border-radius"]
|
|
1696
1696
|
}, Be = {
|
|
1697
1697
|
m: ["margin"],
|
|
@@ -1701,7 +1701,7 @@ const X1 = {
|
|
|
1701
1701
|
mb: ["margin-bottom"],
|
|
1702
1702
|
mx: ["margin-left", "margin-right"],
|
|
1703
1703
|
my: ["margin-top", "margin-bottom"]
|
|
1704
|
-
},
|
|
1704
|
+
}, ee = {
|
|
1705
1705
|
p: ["padding"],
|
|
1706
1706
|
pt: ["padding-top"],
|
|
1707
1707
|
pr: ["padding-right"],
|
|
@@ -1709,13 +1709,13 @@ const X1 = {
|
|
|
1709
1709
|
pb: ["padding-bottom"],
|
|
1710
1710
|
px: ["padding-left", "padding-right"],
|
|
1711
1711
|
py: ["padding-top", "padding-bottom"]
|
|
1712
|
-
},
|
|
1712
|
+
}, ae = {
|
|
1713
1713
|
...Be,
|
|
1714
|
-
...
|
|
1714
|
+
...ee
|
|
1715
1715
|
}, $e = {
|
|
1716
|
-
...
|
|
1716
|
+
...ae,
|
|
1717
1717
|
...Ce,
|
|
1718
|
-
...
|
|
1718
|
+
...Q1
|
|
1719
1719
|
}, Ie = {
|
|
1720
1720
|
textAlign: ["text-align"],
|
|
1721
1721
|
weight: ["font-weight"],
|
|
@@ -1747,7 +1747,7 @@ const X1 = {
|
|
|
1747
1747
|
function P(a) {
|
|
1748
1748
|
return s1.forwardRef(a);
|
|
1749
1749
|
}
|
|
1750
|
-
const
|
|
1750
|
+
const q = P(
|
|
1751
1751
|
({
|
|
1752
1752
|
as: a = "button",
|
|
1753
1753
|
variant: c,
|
|
@@ -1820,7 +1820,7 @@ const H = P(
|
|
|
1820
1820
|
);
|
|
1821
1821
|
}
|
|
1822
1822
|
);
|
|
1823
|
-
|
|
1823
|
+
q.displayName = "Button";
|
|
1824
1824
|
const fc = ({
|
|
1825
1825
|
id: a,
|
|
1826
1826
|
className: c,
|
|
@@ -1878,7 +1878,7 @@ const fc = ({
|
|
|
1878
1878
|
}
|
|
1879
1879
|
),
|
|
1880
1880
|
t && /* @__PURE__ */ e(p, { as: "span", id: `${a}-hint`, mt: "xxs-2", ml: "xxs-2", className: "u-mask", children: t })
|
|
1881
|
-
] }),
|
|
1881
|
+
] }), X = P(
|
|
1882
1882
|
({ text: a, color: c = "black", thickness: l = "thin", ...s }, i) => {
|
|
1883
1883
|
const r = /* @__PURE__ */ e(j, { bg: c, align: "center", className: "c-divider__line" });
|
|
1884
1884
|
return /* @__PURE__ */ e(
|
|
@@ -1901,7 +1901,7 @@ const fc = ({
|
|
|
1901
1901
|
}
|
|
1902
1902
|
);
|
|
1903
1903
|
}
|
|
1904
|
-
),
|
|
1904
|
+
), ce = P(
|
|
1905
1905
|
({ color: a = "black", thickness: c = "thin", ...l }, s) => /* @__PURE__ */ e(
|
|
1906
1906
|
w,
|
|
1907
1907
|
{
|
|
@@ -5144,7 +5144,7 @@ const fc = ({
|
|
|
5144
5144
|
}, N3 = ({ title: a, titleId: c, ...l }) => /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 15", "aria-labelledby": c, ...l, children: [
|
|
5145
5145
|
a ? /* @__PURE__ */ e("title", { id: c, children: a }) : null,
|
|
5146
5146
|
/* @__PURE__ */ e("path", { d: "M19.5 2.8c-.1-.6-.4-1.1-.8-1.5s-.9-.7-1.4-.9C15.7.1 10.6 0 10 0S4.3 0 2.8.4c-.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.5s.9.7 1.4.9c1.5.4 6.6.4 7.2.4s5.7 0 7.2-.4c.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.7m-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.2" })
|
|
5147
|
-
] }),
|
|
5147
|
+
] }), D1 = {
|
|
5148
5148
|
apple: He,
|
|
5149
5149
|
arrow: Ve,
|
|
5150
5150
|
"ballot-box": qe,
|
|
@@ -5316,7 +5316,7 @@ const fc = ({
|
|
|
5316
5316
|
]
|
|
5317
5317
|
}
|
|
5318
5318
|
) : (() => {
|
|
5319
|
-
const N = a in
|
|
5319
|
+
const N = a in D1 ? D1[a] : null;
|
|
5320
5320
|
return N ? /* @__PURE__ */ e(
|
|
5321
5321
|
N,
|
|
5322
5322
|
{
|
|
@@ -5439,7 +5439,7 @@ const M3 = ({ src: a, formats: c }) => {
|
|
|
5439
5439
|
const y = l.split("x"), b = y[0], f = y[1];
|
|
5440
5440
|
let N, C = `data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='${b}'%20height='${f}'%3E%3C/svg%3E`;
|
|
5441
5441
|
if (c && (C = H1({ src: c, format: l }), N = M3({ formats: s, src: c }) ?? ""), u) {
|
|
5442
|
-
const $ = Number(b) * 2,
|
|
5442
|
+
const $ = Number(b) * 2, H = Number(f) * 2, E = `${$}x${H}`, k = H1({ src: c, format: E });
|
|
5443
5443
|
N = N ? `${N}, ${k} 2x` : `${k} 2x`;
|
|
5444
5444
|
}
|
|
5445
5445
|
return v.width = b || void 0, v.height = f !== "0" ? f : void 0, v.sizes = r || void 0, /* @__PURE__ */ e(w, { ...v, as: "img", src: C, ...N ? { srcSet: N } : {} });
|
|
@@ -5482,7 +5482,7 @@ const M3 = ({ src: a, formats: c }) => {
|
|
|
5482
5482
|
)
|
|
5483
5483
|
]
|
|
5484
5484
|
}
|
|
5485
|
-
), r1 = ({ size: a, ...c }) => /* @__PURE__ */ e(p, { as: "span", size: a || "s", ...c, children: "•" }),
|
|
5485
|
+
), r1 = ({ size: a, ...c }) => /* @__PURE__ */ e(p, { as: "span", size: a || "s", ...c, children: "•" }), le = P(
|
|
5486
5486
|
({
|
|
5487
5487
|
id: a,
|
|
5488
5488
|
className: c,
|
|
@@ -5503,9 +5503,9 @@ const M3 = ({ src: a, formats: c }) => {
|
|
|
5503
5503
|
hint: N,
|
|
5504
5504
|
error: C,
|
|
5505
5505
|
...$
|
|
5506
|
-
},
|
|
5506
|
+
}, H) => {
|
|
5507
5507
|
const E = r && /* @__PURE__ */ e(
|
|
5508
|
-
|
|
5508
|
+
q,
|
|
5509
5509
|
{
|
|
5510
5510
|
className: g("c-input-container__icon", `color-${l || "black"}`),
|
|
5511
5511
|
iconProps: {
|
|
@@ -5554,7 +5554,7 @@ const M3 = ({ src: a, formats: c }) => {
|
|
|
5554
5554
|
id: a,
|
|
5555
5555
|
className: g("c-input-container__input", c),
|
|
5556
5556
|
required: s,
|
|
5557
|
-
ref:
|
|
5557
|
+
ref: H,
|
|
5558
5558
|
"aria-describedby": [N ? `${a}-hint` : null, C ? `${a}-error` : null].filter(Boolean).join(" ") || void 0,
|
|
5559
5559
|
...$
|
|
5560
5560
|
}
|
|
@@ -5624,9 +5624,9 @@ const M3 = ({ src: a, formats: c }) => {
|
|
|
5624
5624
|
]
|
|
5625
5625
|
}
|
|
5626
5626
|
);
|
|
5627
|
-
}, kc = ({ children: a }) => /* @__PURE__ */ e(I, { as: "h4", size: "xxs", weight: "bold", color: "ultramarine", children: a }),
|
|
5627
|
+
}, kc = ({ children: a }) => /* @__PURE__ */ e(I, { as: "h4", size: "xxs", weight: "bold", color: "ultramarine", children: a }), V = (a) => {
|
|
5628
5628
|
if (a.propValue && ["boolean", "string", "number"].includes(typeof a.propValue) || !a.propValue) {
|
|
5629
|
-
const c =
|
|
5629
|
+
const c = O1({
|
|
5630
5630
|
className: a.className,
|
|
5631
5631
|
defaultModifier: a.defaultModifier || "xs",
|
|
5632
5632
|
propValue: a.propValue
|
|
@@ -5636,14 +5636,14 @@ const M3 = ({ src: a, formats: c }) => {
|
|
|
5636
5636
|
return Object.entries(
|
|
5637
5637
|
a.propValue
|
|
5638
5638
|
).reduce((c, [l, s]) => {
|
|
5639
|
-
const i =
|
|
5639
|
+
const i = O1({
|
|
5640
5640
|
className: a.className,
|
|
5641
5641
|
defaultModifier: l,
|
|
5642
5642
|
propValue: s
|
|
5643
5643
|
});
|
|
5644
5644
|
return i && c.push(i), c;
|
|
5645
5645
|
}, []);
|
|
5646
|
-
}, C3 = (a) => a.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(),
|
|
5646
|
+
}, C3 = (a) => a.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), O1 = (a) => {
|
|
5647
5647
|
if (a.propValue !== void 0) {
|
|
5648
5648
|
if (typeof a.propValue != "boolean") {
|
|
5649
5649
|
const c = C3(
|
|
@@ -5665,15 +5665,15 @@ const M3 = ({ src: a, formats: c }) => {
|
|
|
5665
5665
|
grow: l,
|
|
5666
5666
|
...s
|
|
5667
5667
|
}) => g(
|
|
5668
|
-
...
|
|
5668
|
+
...V({
|
|
5669
5669
|
propValue: a,
|
|
5670
5670
|
className: "basis"
|
|
5671
5671
|
}),
|
|
5672
|
-
...
|
|
5672
|
+
...V({
|
|
5673
5673
|
propValue: c,
|
|
5674
5674
|
className: "shrink"
|
|
5675
5675
|
}),
|
|
5676
|
-
...
|
|
5676
|
+
...V({
|
|
5677
5677
|
propValue: l,
|
|
5678
5678
|
className: "grow"
|
|
5679
5679
|
}),
|
|
@@ -5684,62 +5684,62 @@ const M3 = ({ src: a, formats: c }) => {
|
|
|
5684
5684
|
wrap: l,
|
|
5685
5685
|
...s
|
|
5686
5686
|
}) => g(
|
|
5687
|
-
...
|
|
5687
|
+
...V({
|
|
5688
5688
|
propValue: a,
|
|
5689
5689
|
className: a ? "inline-flex" : "flex"
|
|
5690
5690
|
}),
|
|
5691
|
-
...
|
|
5691
|
+
...V({
|
|
5692
5692
|
propValue: c,
|
|
5693
5693
|
className: "direction"
|
|
5694
5694
|
}),
|
|
5695
|
-
...
|
|
5695
|
+
...V({
|
|
5696
5696
|
propValue: l
|
|
5697
5697
|
}),
|
|
5698
5698
|
se(s)
|
|
5699
5699
|
), se = (a) => g(
|
|
5700
|
-
...
|
|
5700
|
+
...V({
|
|
5701
5701
|
propValue: a.alignItems,
|
|
5702
5702
|
className: "items"
|
|
5703
5703
|
}),
|
|
5704
|
-
...
|
|
5704
|
+
...V({
|
|
5705
5705
|
propValue: a.alignContent,
|
|
5706
5706
|
className: "content"
|
|
5707
5707
|
}),
|
|
5708
|
-
...
|
|
5708
|
+
...V({
|
|
5709
5709
|
propValue: a.justifyContent,
|
|
5710
5710
|
className: "justify"
|
|
5711
5711
|
}),
|
|
5712
|
-
...
|
|
5712
|
+
...V({
|
|
5713
5713
|
propValue: a.gap,
|
|
5714
5714
|
className: "gap"
|
|
5715
5715
|
}),
|
|
5716
|
-
...
|
|
5716
|
+
...V({
|
|
5717
5717
|
propValue: a.gapX,
|
|
5718
5718
|
className: "gap-x"
|
|
5719
5719
|
}),
|
|
5720
|
-
...
|
|
5720
|
+
...V({
|
|
5721
5721
|
propValue: a.gapY,
|
|
5722
5722
|
className: "gap-y"
|
|
5723
5723
|
}),
|
|
5724
|
-
...
|
|
5724
|
+
...V({
|
|
5725
5725
|
propValue: a.flexGrow,
|
|
5726
5726
|
className: "grow"
|
|
5727
5727
|
})
|
|
5728
5728
|
), I3 = (a) => g(
|
|
5729
|
-
...
|
|
5729
|
+
...V({
|
|
5730
5730
|
propValue: a.align,
|
|
5731
5731
|
className: "self"
|
|
5732
5732
|
})
|
|
5733
5733
|
), o1 = (a) => typeof a.props == "object" ? Object.keys(a.props).reduce((c, l) => (a.systemPropNames.includes(l) || (c[l] = a.props[l]), c), {}) : {}, H3 = (a) => g(
|
|
5734
|
-
Object.entries(a).filter(([c]) => Object.keys(
|
|
5735
|
-
...
|
|
5734
|
+
Object.entries(a).filter(([c]) => Object.keys(Q1).includes(c)).reduce((c, [l, s]) => (c.push(
|
|
5735
|
+
...V({
|
|
5736
5736
|
className: l,
|
|
5737
5737
|
propValue: s
|
|
5738
5738
|
})
|
|
5739
5739
|
), c), [])
|
|
5740
5740
|
), ne = (a) => g(
|
|
5741
|
-
Object.entries(a).filter(([c]) => Object.keys(
|
|
5742
|
-
...
|
|
5741
|
+
Object.entries(a).filter(([c]) => Object.keys(ae).includes(c)).reduce((c, [l, s]) => (c.push(
|
|
5742
|
+
...V({
|
|
5743
5743
|
className: l,
|
|
5744
5744
|
propValue: s
|
|
5745
5745
|
})
|
|
@@ -5757,11 +5757,11 @@ const M3 = ({ src: a, formats: c }) => {
|
|
|
5757
5757
|
fontFamily: r,
|
|
5758
5758
|
whiteSpace: t
|
|
5759
5759
|
}) => g(
|
|
5760
|
-
|
|
5760
|
+
V({
|
|
5761
5761
|
className: "text",
|
|
5762
5762
|
propValue: a
|
|
5763
5763
|
}),
|
|
5764
|
-
|
|
5764
|
+
V({
|
|
5765
5765
|
className: "font-weight",
|
|
5766
5766
|
propValue: c
|
|
5767
5767
|
}),
|
|
@@ -5790,7 +5790,7 @@ const h = P(({ as: a = "div", children: c, ...l }, s) => /* @__PURE__ */ e(
|
|
|
5790
5790
|
{
|
|
5791
5791
|
...o1({
|
|
5792
5792
|
props: l,
|
|
5793
|
-
systemPropNames: Object.keys(
|
|
5793
|
+
systemPropNames: Object.keys(X1)
|
|
5794
5794
|
}),
|
|
5795
5795
|
as: a,
|
|
5796
5796
|
ref: s,
|
|
@@ -5814,23 +5814,23 @@ const h = P(({ as: a = "div", children: c, ...l }, s) => /* @__PURE__ */ e(
|
|
|
5814
5814
|
), Mc = [1, 2, 3, 4, 5, 6, 7, 12, "2-of-3"], c1 = ({ colsNumber: a, gap: c, gapX: l, gapY: s, children: i, ...r }) => s1.createElement(w, {
|
|
5815
5815
|
...o1({
|
|
5816
5816
|
props: r,
|
|
5817
|
-
systemPropNames: Object.keys(
|
|
5817
|
+
systemPropNames: Object.keys(X1)
|
|
5818
5818
|
}),
|
|
5819
5819
|
className: g(
|
|
5820
5820
|
"grid",
|
|
5821
|
-
...
|
|
5821
|
+
...V({
|
|
5822
5822
|
className: "grid-cols-number",
|
|
5823
5823
|
propValue: a
|
|
5824
5824
|
}),
|
|
5825
|
-
...
|
|
5825
|
+
...V({
|
|
5826
5826
|
className: "grid-gap",
|
|
5827
5827
|
propValue: c
|
|
5828
5828
|
}),
|
|
5829
|
-
...
|
|
5829
|
+
...V({
|
|
5830
5830
|
className: "grid-gap-row",
|
|
5831
5831
|
propValue: l
|
|
5832
5832
|
}),
|
|
5833
|
-
...
|
|
5833
|
+
...V({
|
|
5834
5834
|
className: "grid-gap-col",
|
|
5835
5835
|
propValue: s
|
|
5836
5836
|
}),
|
|
@@ -5874,7 +5874,7 @@ const h = P(({ as: a = "div", children: c, ...l }, s) => /* @__PURE__ */ e(
|
|
|
5874
5874
|
[`c-btn--${r}`]: r && !l
|
|
5875
5875
|
},
|
|
5876
5876
|
V1({ weight: t, whiteSpace: o }),
|
|
5877
|
-
|
|
5877
|
+
V({
|
|
5878
5878
|
className: "text",
|
|
5879
5879
|
propValue: i
|
|
5880
5880
|
}),
|
|
@@ -5883,7 +5883,7 @@ const h = P(({ as: a = "div", children: c, ...l }, s) => /* @__PURE__ */ e(
|
|
|
5883
5883
|
);
|
|
5884
5884
|
return /* @__PURE__ */ e(w, { ...y, as: a, ref: b, color: !u && !m && !f ? l || (x === "inherit" ? void 0 : x) : void 0, className: N, children: c });
|
|
5885
5885
|
}
|
|
5886
|
-
),
|
|
5886
|
+
), L1 = ({
|
|
5887
5887
|
dialogId: a,
|
|
5888
5888
|
children: c,
|
|
5889
5889
|
variant: l = "center",
|
|
@@ -5915,7 +5915,7 @@ const h = P(({ as: a = "div", children: c, ...l }, s) => /* @__PURE__ */ e(
|
|
|
5915
5915
|
]
|
|
5916
5916
|
}
|
|
5917
5917
|
);
|
|
5918
|
-
}, V3 = (a) => /* @__PURE__ */ e(w, { ...a, className: g("c-overlay c-overlay--with-bg", a?.className) }),
|
|
5918
|
+
}, V3 = (a) => /* @__PURE__ */ e(w, { ...a, className: g("c-overlay c-overlay--with-bg", a?.className) }), P1 = ({ isWhite: a }) => /* @__PURE__ */ e("div", { className: g("c-pipe", { "c-pipe--is-white": a }) }), Cc = ({
|
|
5919
5919
|
id: a,
|
|
5920
5920
|
required: c,
|
|
5921
5921
|
label: l,
|
|
@@ -5980,7 +5980,7 @@ const h = P(({ as: a = "div", children: c, ...l }, s) => /* @__PURE__ */ e(
|
|
|
5980
5980
|
children: "Lire aussi"
|
|
5981
5981
|
}
|
|
5982
5982
|
) : /* @__PURE__ */ e(A, { color: "grey-400", textProps: { fontFamily: "base" }, children: "Lire aussi" }),
|
|
5983
|
-
!t && /* @__PURE__ */ e(
|
|
5983
|
+
!t && /* @__PURE__ */ e(P1, {}),
|
|
5984
5984
|
/* @__PURE__ */ e(
|
|
5985
5985
|
M,
|
|
5986
5986
|
{
|
|
@@ -6098,7 +6098,7 @@ const $c = ({ inner: a, children: c, ...l }) => /* @__PURE__ */ e(
|
|
|
6098
6098
|
"aria-describedby": [x ? `${a}-hint` : null, v ? `${a}-error` : null].filter(Boolean).join(" ") || void 0,
|
|
6099
6099
|
...o1({
|
|
6100
6100
|
props: y,
|
|
6101
|
-
systemPropNames: Object.keys(
|
|
6101
|
+
systemPropNames: Object.keys(ee)
|
|
6102
6102
|
}),
|
|
6103
6103
|
children: [
|
|
6104
6104
|
t && /* @__PURE__ */ e("option", { value: "", disabled: !0, hidden: !0, children: t }),
|
|
@@ -6277,23 +6277,24 @@ const d1 = P(
|
|
|
6277
6277
|
"aria-labelledby": `tab-${a}`,
|
|
6278
6278
|
children: c
|
|
6279
6279
|
}
|
|
6280
|
-
),
|
|
6281
|
-
({ as: a = "a", id: c, variant: l = "primary", size: s, children: i,
|
|
6280
|
+
), Y = P(
|
|
6281
|
+
({ as: a = "a", id: c, variant: l = "primary", size: s, children: i, isSquare: r, ...t }, o) => /* @__PURE__ */ e(
|
|
6282
6282
|
w,
|
|
6283
6283
|
{
|
|
6284
|
-
...
|
|
6284
|
+
...t,
|
|
6285
6285
|
as: l === "span" ? "span" : a,
|
|
6286
|
-
href: l === "span" ? void 0 :
|
|
6287
|
-
ref:
|
|
6286
|
+
href: l === "span" ? void 0 : t?.href,
|
|
6287
|
+
ref: o,
|
|
6288
6288
|
className: g(
|
|
6289
6289
|
"c-tags",
|
|
6290
6290
|
`c-tags--${l}`,
|
|
6291
6291
|
{ [`c-tags--${s}`]: s },
|
|
6292
|
-
r
|
|
6292
|
+
{ "c-tags--square": r },
|
|
6293
|
+
t?.className
|
|
6293
6294
|
),
|
|
6294
6295
|
"data-id": c,
|
|
6295
|
-
py:
|
|
6296
|
-
px:
|
|
6296
|
+
py: t?.py ?? "0",
|
|
6297
|
+
px: t?.px ?? "xs",
|
|
6297
6298
|
children: i
|
|
6298
6299
|
}
|
|
6299
6300
|
)
|
|
@@ -6387,7 +6388,7 @@ const d1 = P(
|
|
|
6387
6388
|
as: a,
|
|
6388
6389
|
ref: i,
|
|
6389
6390
|
className: g(
|
|
6390
|
-
|
|
6391
|
+
V({
|
|
6391
6392
|
className: "heading",
|
|
6392
6393
|
propValue: c
|
|
6393
6394
|
}),
|
|
@@ -6407,7 +6408,7 @@ const d1 = P(
|
|
|
6407
6408
|
...i,
|
|
6408
6409
|
ref: r,
|
|
6409
6410
|
className: g(
|
|
6410
|
-
|
|
6411
|
+
V({
|
|
6411
6412
|
className: "text",
|
|
6412
6413
|
propValue: c
|
|
6413
6414
|
}),
|
|
@@ -6485,7 +6486,7 @@ const d1 = P(
|
|
|
6485
6486
|
}
|
|
6486
6487
|
),
|
|
6487
6488
|
/* @__PURE__ */ e(p, { as: s ? "a" : void 0, size: "s", color: "white", ...s || {}, children: c }),
|
|
6488
|
-
i && /* @__PURE__ */ e(
|
|
6489
|
+
i && /* @__PURE__ */ e(q, { ...i, variant: "ghost", className: "c-info-banner__close", children: /* @__PURE__ */ e(z, { name: "close", size: 12, color: "white" }) })
|
|
6489
6490
|
]
|
|
6490
6491
|
}
|
|
6491
6492
|
)
|
|
@@ -6528,7 +6529,7 @@ const d1 = P(
|
|
|
6528
6529
|
children: s
|
|
6529
6530
|
}
|
|
6530
6531
|
),
|
|
6531
|
-
r && /* @__PURE__ */ e(
|
|
6532
|
+
r && /* @__PURE__ */ e(J, { sponsor: r, size: "l", mt: "l" })
|
|
6532
6533
|
] });
|
|
6533
6534
|
let u = /* @__PURE__ */ n(w, { ...o, as: "header", children: [
|
|
6534
6535
|
c.length > 0 && /* @__PURE__ */ e(A, { color: i, size: "xs", children: c }),
|
|
@@ -6552,7 +6553,7 @@ const d1 = P(
|
|
|
6552
6553
|
] }),
|
|
6553
6554
|
s && s.length > 0 && /* @__PURE__ */ e(p, { id: "content-header-lead", as: "span", size: "xxl", fontFamily: "source-serif-pro", children: s })
|
|
6554
6555
|
] }),
|
|
6555
|
-
r && /* @__PURE__ */ e(
|
|
6556
|
+
r && /* @__PURE__ */ e(J, { sponsor: r, size: "l", mt: "l" })
|
|
6556
6557
|
]
|
|
6557
6558
|
}
|
|
6558
6559
|
)), u;
|
|
@@ -6646,7 +6647,7 @@ const d1 = P(
|
|
|
6646
6647
|
}
|
|
6647
6648
|
),
|
|
6648
6649
|
u && o && o >= 2 && /* @__PURE__ */ e(
|
|
6649
|
-
|
|
6650
|
+
q,
|
|
6650
6651
|
{
|
|
6651
6652
|
color: "tertiary",
|
|
6652
6653
|
size: "large",
|
|
@@ -6847,7 +6848,7 @@ const d1 = P(
|
|
|
6847
6848
|
}
|
|
6848
6849
|
)
|
|
6849
6850
|
] }) }),
|
|
6850
|
-
i && /* @__PURE__ */ e("footer", { children: /* @__PURE__ */ e(
|
|
6851
|
+
i && /* @__PURE__ */ e("footer", { children: /* @__PURE__ */ e(q, { mx: "auto", onClick: t, ...o, children: i }) })
|
|
6851
6852
|
]
|
|
6852
6853
|
}
|
|
6853
6854
|
);
|
|
@@ -6859,7 +6860,7 @@ const d1 = P(
|
|
|
6859
6860
|
contentClassName: i,
|
|
6860
6861
|
...r
|
|
6861
6862
|
}) => /* @__PURE__ */ n(
|
|
6862
|
-
|
|
6863
|
+
L1,
|
|
6863
6864
|
{
|
|
6864
6865
|
...r,
|
|
6865
6866
|
dialogId: a,
|
|
@@ -6901,7 +6902,7 @@ const d1 = P(
|
|
|
6901
6902
|
as: "nav",
|
|
6902
6903
|
children: [
|
|
6903
6904
|
/* @__PURE__ */ e(
|
|
6904
|
-
|
|
6905
|
+
Y,
|
|
6905
6906
|
{
|
|
6906
6907
|
variant: i ? "transparent" : "quinary",
|
|
6907
6908
|
href: "/",
|
|
@@ -6912,7 +6913,7 @@ const d1 = P(
|
|
|
6912
6913
|
children: /* @__PURE__ */ e(z, { size: 16, name: "home", svgTitle: "Retour sur la page d'accueil 20 Minutes" })
|
|
6913
6914
|
}
|
|
6914
6915
|
),
|
|
6915
|
-
a && a.length > 0 && a.slice(0, 4).map((o) => /* @__PURE__ */ n(
|
|
6916
|
+
a && a.length > 0 && a.slice(0, 4).map((o) => /* @__PURE__ */ n(Y1, { children: [
|
|
6916
6917
|
/* @__PURE__ */ e(
|
|
6917
6918
|
z,
|
|
6918
6919
|
{
|
|
@@ -6923,7 +6924,7 @@ const d1 = P(
|
|
|
6923
6924
|
}
|
|
6924
6925
|
),
|
|
6925
6926
|
/* @__PURE__ */ e(
|
|
6926
|
-
|
|
6927
|
+
Y,
|
|
6927
6928
|
{
|
|
6928
6929
|
variant: i ? "transparent" : "quinary",
|
|
6929
6930
|
href: o.link,
|
|
@@ -6934,9 +6935,9 @@ const d1 = P(
|
|
|
6934
6935
|
)
|
|
6935
6936
|
] }, o.label)),
|
|
6936
6937
|
c && c.length > 0 && /* @__PURE__ */ n(S, { children: [
|
|
6937
|
-
/* @__PURE__ */ e(
|
|
6938
|
+
/* @__PURE__ */ e(P1, { isWhite: r }),
|
|
6938
6939
|
c.map((o, d) => /* @__PURE__ */ e(
|
|
6939
|
-
|
|
6940
|
+
Y,
|
|
6940
6941
|
{
|
|
6941
6942
|
variant: i ? "transparent" : o.variant,
|
|
6942
6943
|
color: i ? "white" : void 0,
|
|
@@ -7055,7 +7056,7 @@ const d1 = P(
|
|
|
7055
7056
|
const b = K(() => new Set(a), [a]), f = K(() => new Set(c), [c]), N = K(
|
|
7056
7057
|
() => W3([...a, ...c]),
|
|
7057
7058
|
[a, c]
|
|
7058
|
-
), C = f1(t), $ = o.year < t.getFullYear() || o.year === t.getFullYear() && o.month < t.getMonth(),
|
|
7059
|
+
), C = f1(t), $ = o.year < t.getFullYear() || o.year === t.getFullYear() && o.month < t.getMonth(), H = () => {
|
|
7059
7060
|
d((k) => k.month === 0 ? { year: k.year - 1, month: 11 } : { year: k.year, month: k.month - 1 });
|
|
7060
7061
|
}, E = () => {
|
|
7061
7062
|
$ && d((k) => k.month === 11 ? { year: k.year + 1, month: 0 } : { year: k.year, month: k.month + 1 });
|
|
@@ -7063,11 +7064,11 @@ const d1 = P(
|
|
|
7063
7064
|
return /* @__PURE__ */ n(w, { ...r, className: g("c-calendar", i), px: "s", py: "xl", bg: "grey-100", children: [
|
|
7064
7065
|
/* @__PURE__ */ n(h, { justifyContent: "center", alignItems: "center", mb: "l", gap: "l", children: [
|
|
7065
7066
|
/* @__PURE__ */ e(
|
|
7066
|
-
|
|
7067
|
+
q,
|
|
7067
7068
|
{
|
|
7068
7069
|
variant: "ghost",
|
|
7069
7070
|
"aria-label": "Mois précédent",
|
|
7070
|
-
onClick:
|
|
7071
|
+
onClick: H,
|
|
7071
7072
|
iconProps: { name: "chevron-left", size: 12 }
|
|
7072
7073
|
}
|
|
7073
7074
|
),
|
|
@@ -7087,7 +7088,7 @@ const d1 = P(
|
|
|
7087
7088
|
}
|
|
7088
7089
|
),
|
|
7089
7090
|
/* @__PURE__ */ e(
|
|
7090
|
-
|
|
7091
|
+
q,
|
|
7091
7092
|
{
|
|
7092
7093
|
variant: "ghost",
|
|
7093
7094
|
"aria-label": "Mois suivant",
|
|
@@ -7102,9 +7103,9 @@ const d1 = P(
|
|
|
7102
7103
|
/* @__PURE__ */ e("div", { className: "c-calendar__grid", children: y.map((k) => {
|
|
7103
7104
|
const L = f1(k), U = k.getMonth() === o.month, e1 = L === C, Z = N.has(L), n1 = (b.has(L) || f.has(L)) && !Z, b1 = b.has(L), S1 = f.has(L), h1 = new Date(k);
|
|
7104
7105
|
h1.setDate(h1.getDate() - 1);
|
|
7105
|
-
const
|
|
7106
|
+
const F1 = Z && !N.has(f1(h1)), B1 = new Date(k);
|
|
7106
7107
|
B1.setDate(B1.getDate() + 1);
|
|
7107
|
-
const
|
|
7108
|
+
const A1 = Z && !N.has(f1(B1));
|
|
7108
7109
|
return /* @__PURE__ */ e(
|
|
7109
7110
|
h,
|
|
7110
7111
|
{
|
|
@@ -7116,12 +7117,12 @@ const d1 = P(
|
|
|
7116
7117
|
"c-calendar__cell--heat": b1,
|
|
7117
7118
|
"c-calendar__cell--max-heat": S1,
|
|
7118
7119
|
"c-calendar__cell--grouped": Z,
|
|
7119
|
-
"c-calendar__cell--first-of-group":
|
|
7120
|
-
"c-calendar__cell--last-of-group":
|
|
7120
|
+
"c-calendar__cell--first-of-group": F1,
|
|
7121
|
+
"c-calendar__cell--last-of-group": A1
|
|
7121
7122
|
}),
|
|
7122
7123
|
children: /* @__PURE__ */ n(h, { alignItems: "center", justifyContent: "center", className: "c-calendar__date", children: [
|
|
7123
7124
|
/* @__PURE__ */ e(p, { as: "span", size: "xs", children: k.getDate() }),
|
|
7124
|
-
(n1 ||
|
|
7125
|
+
(n1 || F1 || A1) && /* @__PURE__ */ e(z, { name: "heat", size: [22, 32], className: "c-calendar__heat-icon" })
|
|
7125
7126
|
] })
|
|
7126
7127
|
},
|
|
7127
7128
|
L
|
|
@@ -7234,7 +7235,7 @@ const d1 = P(
|
|
|
7234
7235
|
variant: C,
|
|
7235
7236
|
...$
|
|
7236
7237
|
}) => {
|
|
7237
|
-
const
|
|
7238
|
+
const H = () => {
|
|
7238
7239
|
if (a?.size)
|
|
7239
7240
|
return a.size;
|
|
7240
7241
|
if (c !== void 0) {
|
|
@@ -7268,7 +7269,7 @@ const d1 = P(
|
|
|
7268
7269
|
justifyContent: "center",
|
|
7269
7270
|
bg: E(),
|
|
7270
7271
|
color: l,
|
|
7271
|
-
children: /* @__PURE__ */ e(z, { size:
|
|
7272
|
+
children: /* @__PURE__ */ e(z, { size: H(), ...a })
|
|
7272
7273
|
}
|
|
7273
7274
|
);
|
|
7274
7275
|
return i !== void 0 ? /* @__PURE__ */ n(h, { as: "span", className: "c-icon-item", alignItems: "center", children: [
|
|
@@ -7408,7 +7409,7 @@ const d1 = P(
|
|
|
7408
7409
|
]
|
|
7409
7410
|
}
|
|
7410
7411
|
);
|
|
7411
|
-
},
|
|
7412
|
+
}, E1 = (a) => {
|
|
7412
7413
|
switch (a) {
|
|
7413
7414
|
case "alert":
|
|
7414
7415
|
return { label: "alerte info", color: "red" };
|
|
@@ -7460,7 +7461,7 @@ const d1 = P(
|
|
|
7460
7461
|
a && /* @__PURE__ */ e(
|
|
7461
7462
|
A,
|
|
7462
7463
|
{
|
|
7463
|
-
bg:
|
|
7464
|
+
bg: E1(a).color,
|
|
7464
7465
|
color: "white",
|
|
7465
7466
|
hasDot: a === "live" || !1,
|
|
7466
7467
|
mr: "xxs",
|
|
@@ -7468,7 +7469,7 @@ const d1 = P(
|
|
|
7468
7469
|
className: g("c-card-title__cartridge-heading", {
|
|
7469
7470
|
"c-card-title__cartridge-heading--is-centered": c
|
|
7470
7471
|
}),
|
|
7471
|
-
children:
|
|
7472
|
+
children: E1(a).label
|
|
7472
7473
|
}
|
|
7473
7474
|
),
|
|
7474
7475
|
u
|
|
@@ -8158,14 +8159,14 @@ const d1 = P(
|
|
|
8158
8159
|
/* @__PURE__ */ n("div", { children: [
|
|
8159
8160
|
/* @__PURE__ */ n(h, { gap: "xxs", alignItems: "center", children: [
|
|
8160
8161
|
/* @__PURE__ */ e(T, { as: "h4", fontFamily: "base", size: "xxs", weight: "bold", children: l }),
|
|
8161
|
-
c && /* @__PURE__ */ e(
|
|
8162
|
+
c && /* @__PURE__ */ e(Y, { size: "small", isSquare: !0, children: c })
|
|
8162
8163
|
] }),
|
|
8163
8164
|
/* @__PURE__ */ n(w, { mt: "xxs-3", children: [
|
|
8164
8165
|
/* @__PURE__ */ e(p, { size: "m", children: s }),
|
|
8165
8166
|
t,
|
|
8166
8167
|
/* @__PURE__ */ n(h, { gap: "s", mt: "m", alignItems: "center", children: [
|
|
8167
8168
|
/* @__PURE__ */ e(
|
|
8168
|
-
|
|
8169
|
+
q,
|
|
8169
8170
|
{
|
|
8170
8171
|
size: "small",
|
|
8171
8172
|
onClick: m,
|
|
@@ -8216,7 +8217,7 @@ const d1 = P(
|
|
|
8216
8217
|
}
|
|
8217
8218
|
),
|
|
8218
8219
|
l && /* @__PURE__ */ e(
|
|
8219
|
-
|
|
8220
|
+
q,
|
|
8220
8221
|
{
|
|
8221
8222
|
variant: "ghost",
|
|
8222
8223
|
iconProps: {
|
|
@@ -8998,7 +8999,7 @@ const d1 = P(
|
|
|
8998
8999
|
), ll = ({ children: a, layout: c, ...l }) => {
|
|
8999
9000
|
const s = "dialog-chatbot";
|
|
9000
9001
|
return /* @__PURE__ */ n(
|
|
9001
|
-
|
|
9002
|
+
L1,
|
|
9002
9003
|
{
|
|
9003
9004
|
dialogId: s,
|
|
9004
9005
|
...l,
|
|
@@ -9065,8 +9066,8 @@ const d1 = P(
|
|
|
9065
9066
|
const { children: E, ...k } = l;
|
|
9066
9067
|
return /* @__PURE__ */ e(p, { as: "span", size: "m", color: "black", ...k, children: E });
|
|
9067
9068
|
}
|
|
9068
|
-
const { as: C, children: $, ...
|
|
9069
|
-
return /* @__PURE__ */ e(p, { as: "span", size: "l", color: "black", ...
|
|
9069
|
+
const { as: C, children: $, ...H } = c ?? {};
|
|
9070
|
+
return /* @__PURE__ */ e(p, { as: "span", size: "l", color: "black", ...H, children: $ });
|
|
9070
9071
|
};
|
|
9071
9072
|
return /* @__PURE__ */ n(
|
|
9072
9073
|
w,
|
|
@@ -9194,8 +9195,8 @@ const d1 = P(
|
|
|
9194
9195
|
}
|
|
9195
9196
|
)
|
|
9196
9197
|
] }),
|
|
9197
|
-
l && /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
9198
|
-
] }),
|
|
9198
|
+
l && /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(ce, { color: "grey-200" }) })
|
|
9199
|
+
] }), Z1 = ({
|
|
9199
9200
|
layout: a,
|
|
9200
9201
|
title: c,
|
|
9201
9202
|
id: l,
|
|
@@ -9311,7 +9312,7 @@ const d1 = P(
|
|
|
9311
9312
|
hasTopBorder: d = !1
|
|
9312
9313
|
}) => {
|
|
9313
9314
|
const u = /* @__PURE__ */ e(
|
|
9314
|
-
|
|
9315
|
+
q,
|
|
9315
9316
|
{
|
|
9316
9317
|
variant: "ghost",
|
|
9317
9318
|
iconProps: { name: "chevron", color: "white", size: 18 },
|
|
@@ -9339,7 +9340,7 @@ const d1 = P(
|
|
|
9339
9340
|
"data-search-banner-collapse": !0,
|
|
9340
9341
|
...a === _.DESKTOP && { "aria-hidden": o ? !o : "true" },
|
|
9341
9342
|
children: i?.map(({ label: y, link: b }, f) => /* @__PURE__ */ e(
|
|
9342
|
-
|
|
9343
|
+
Y,
|
|
9343
9344
|
{
|
|
9344
9345
|
variant: "tertiary",
|
|
9345
9346
|
py: "xxs-2",
|
|
@@ -9471,7 +9472,7 @@ const d1 = P(
|
|
|
9471
9472
|
py: "xxs-3",
|
|
9472
9473
|
px: "xxs",
|
|
9473
9474
|
children: [
|
|
9474
|
-
/* @__PURE__ */ e(p, { as: "span", size: "xl", className: "c-emoji-toolbar__emoji", children:
|
|
9475
|
+
/* @__PURE__ */ e(p, { as: "span", size: "xl", className: "c-emoji-toolbar__emoji", children: J1[s.type] }),
|
|
9475
9476
|
/* @__PURE__ */ e(p, { as: "span", size: "xxs", ml: "xxs-2", className: "c-emoji-toolbar__count", children: String(s.count).padStart(2, "0") })
|
|
9476
9477
|
]
|
|
9477
9478
|
}
|
|
@@ -9665,14 +9666,14 @@ const d1 = P(
|
|
|
9665
9666
|
)
|
|
9666
9667
|
]
|
|
9667
9668
|
}
|
|
9668
|
-
),
|
|
9669
|
+
), K1 = () => /* @__PURE__ */ e(
|
|
9669
9670
|
w,
|
|
9670
9671
|
{
|
|
9671
9672
|
className: "c-header-page__print-button",
|
|
9672
9673
|
mx: { xs: "m", md: "0" },
|
|
9673
9674
|
mt: { xs: "s", md: "m" },
|
|
9674
9675
|
children: /* @__PURE__ */ e(
|
|
9675
|
-
|
|
9676
|
+
q,
|
|
9676
9677
|
{
|
|
9677
9678
|
variant: "ghost-with-icon-bg",
|
|
9678
9679
|
iconProps: {
|
|
@@ -9683,13 +9684,13 @@ const d1 = P(
|
|
|
9683
9684
|
}
|
|
9684
9685
|
)
|
|
9685
9686
|
}
|
|
9686
|
-
),
|
|
9687
|
+
), G1 = () => /* @__PURE__ */ e(
|
|
9687
9688
|
w,
|
|
9688
9689
|
{
|
|
9689
9690
|
className: "c-header-page__ranking-button",
|
|
9690
9691
|
mx: { xs: "m", md: "0" },
|
|
9691
9692
|
mt: { xs: "s", md: "m" },
|
|
9692
|
-
children: /* @__PURE__ */ e(
|
|
9693
|
+
children: /* @__PURE__ */ e(q, { variant: "ghost-with-icon-bg", iconProps: { name: "trophy", size: 24 }, children: "Voir mon classement" })
|
|
9693
9694
|
}
|
|
9694
9695
|
), pl = ({
|
|
9695
9696
|
layout: a,
|
|
@@ -9710,7 +9711,7 @@ const d1 = P(
|
|
|
9710
9711
|
if (!c)
|
|
9711
9712
|
return null;
|
|
9712
9713
|
const b = /* @__PURE__ */ e(
|
|
9713
|
-
|
|
9714
|
+
j1,
|
|
9714
9715
|
{
|
|
9715
9716
|
size: { xs: "s", md: "xxl" },
|
|
9716
9717
|
...c,
|
|
@@ -9751,7 +9752,7 @@ const d1 = P(
|
|
|
9751
9752
|
}
|
|
9752
9753
|
) }),
|
|
9753
9754
|
i && /* @__PURE__ */ n(
|
|
9754
|
-
|
|
9755
|
+
q,
|
|
9755
9756
|
{
|
|
9756
9757
|
variant: "ghost",
|
|
9757
9758
|
className: "c-nodeheader__btn js-expand-button",
|
|
@@ -9786,7 +9787,7 @@ const d1 = P(
|
|
|
9786
9787
|
] });
|
|
9787
9788
|
let N = /* @__PURE__ */ n("div", { children: [
|
|
9788
9789
|
r?.type === "sponsored-page" && /* @__PURE__ */ e(
|
|
9789
|
-
|
|
9790
|
+
J,
|
|
9790
9791
|
{
|
|
9791
9792
|
sponsor: r.content,
|
|
9792
9793
|
size: "xs",
|
|
@@ -9800,7 +9801,7 @@ const d1 = P(
|
|
|
9800
9801
|
b,
|
|
9801
9802
|
l,
|
|
9802
9803
|
d && /* @__PURE__ */ e(
|
|
9803
|
-
|
|
9804
|
+
Z1,
|
|
9804
9805
|
{
|
|
9805
9806
|
px: { xs: "m", md: "0" },
|
|
9806
9807
|
py: "xs",
|
|
@@ -9808,7 +9809,7 @@ const d1 = P(
|
|
|
9808
9809
|
...d
|
|
9809
9810
|
}
|
|
9810
9811
|
),
|
|
9811
|
-
r?.type === "dedicated-area" && /* @__PURE__ */ e(
|
|
9812
|
+
r?.type === "dedicated-area" && /* @__PURE__ */ e(J, { sponsor: r.content, size: "s", mt: "s", mx: "m" }),
|
|
9812
9813
|
t && /* @__PURE__ */ e(x1, { ...t, mt: "xl" }),
|
|
9813
9814
|
s && f
|
|
9814
9815
|
] });
|
|
@@ -9825,12 +9826,12 @@ const d1 = P(
|
|
|
9825
9826
|
children: [
|
|
9826
9827
|
/* @__PURE__ */ e(j, { basis: 100, children: b }),
|
|
9827
9828
|
!!l && /* @__PURE__ */ e(j, { basis: "auto", shrink: 0, children: l }),
|
|
9828
|
-
r?.type === "sponsored-page" && /* @__PURE__ */ e(
|
|
9829
|
+
r?.type === "sponsored-page" && /* @__PURE__ */ e(J, { sponsor: r.content, size: "s", hasText: !0, justifyContent: "end", mb: "s" })
|
|
9829
9830
|
]
|
|
9830
9831
|
}
|
|
9831
9832
|
) : b,
|
|
9832
9833
|
d && /* @__PURE__ */ e(
|
|
9833
|
-
|
|
9834
|
+
Z1,
|
|
9834
9835
|
{
|
|
9835
9836
|
mx: { xs: "m", md: "0" },
|
|
9836
9837
|
px: "xs",
|
|
@@ -9841,14 +9842,14 @@ const d1 = P(
|
|
|
9841
9842
|
),
|
|
9842
9843
|
s && f,
|
|
9843
9844
|
m && x && /* @__PURE__ */ n(h, { gap: "s", children: [
|
|
9844
|
-
/* @__PURE__ */ e(
|
|
9845
|
+
/* @__PURE__ */ e(K1, {}),
|
|
9845
9846
|
" ",
|
|
9846
|
-
/* @__PURE__ */ e(
|
|
9847
|
+
/* @__PURE__ */ e(G1, {})
|
|
9847
9848
|
] }),
|
|
9848
|
-
m && !x && /* @__PURE__ */ e(
|
|
9849
|
-
x && !m && /* @__PURE__ */ e(
|
|
9849
|
+
m && !x && /* @__PURE__ */ e(K1, {}),
|
|
9850
|
+
x && !m && /* @__PURE__ */ e(G1, {})
|
|
9850
9851
|
] }),
|
|
9851
|
-
r?.type === "dedicated-area" && /* @__PURE__ */ e(
|
|
9852
|
+
r?.type === "dedicated-area" && /* @__PURE__ */ e(J, { sponsor: r.content, size: "l", mt: "xl" })
|
|
9852
9853
|
] })), /* @__PURE__ */ e(
|
|
9853
9854
|
w,
|
|
9854
9855
|
{
|
|
@@ -9933,7 +9934,7 @@ const d1 = P(
|
|
|
9933
9934
|
}
|
|
9934
9935
|
),
|
|
9935
9936
|
i && /* @__PURE__ */ n(
|
|
9936
|
-
|
|
9937
|
+
q,
|
|
9937
9938
|
{
|
|
9938
9939
|
variant: "ghost",
|
|
9939
9940
|
className: "c-nodeheader__btn js-expand-button",
|
|
@@ -9950,7 +9951,7 @@ const d1 = P(
|
|
|
9950
9951
|
]
|
|
9951
9952
|
}
|
|
9952
9953
|
);
|
|
9953
|
-
},
|
|
9954
|
+
}, j1 = ({
|
|
9954
9955
|
children: a,
|
|
9955
9956
|
iconProps: c,
|
|
9956
9957
|
isCentered: l,
|
|
@@ -10093,7 +10094,7 @@ const d1 = P(
|
|
|
10093
10094
|
}
|
|
10094
10095
|
),
|
|
10095
10096
|
/* @__PURE__ */ e(p, { as: l ? "a" : "div", size: "s", color: "black", ...l || {}, children: a }),
|
|
10096
|
-
s && /* @__PURE__ */ e(
|
|
10097
|
+
s && /* @__PURE__ */ e(q, { ...s, variant: "ghost", className: "c-info-banner__close", children: /* @__PURE__ */ e(z, { name: "close", size: 12, color: "white" }) })
|
|
10097
10098
|
] }),
|
|
10098
10099
|
i && /* @__PURE__ */ e(q1, { ...i })
|
|
10099
10100
|
]
|
|
@@ -10195,7 +10196,7 @@ const d1 = P(
|
|
|
10195
10196
|
lazyLoad: c = { delayed: !0, distanceVisible: 0 },
|
|
10196
10197
|
...l
|
|
10197
10198
|
}) => a ? /* @__PURE__ */ n(h, { direction: "column", gap: "l", ...l, children: [
|
|
10198
|
-
/* @__PURE__ */ e(
|
|
10199
|
+
/* @__PURE__ */ e(X, { color: "ultramarine", thickness: "heavy" }),
|
|
10199
10200
|
/* @__PURE__ */ e(
|
|
10200
10201
|
w,
|
|
10201
10202
|
{
|
|
@@ -10386,7 +10387,7 @@ const d1 = P(
|
|
|
10386
10387
|
"puis une circonscription pour accéder aux résultats"
|
|
10387
10388
|
] }),
|
|
10388
10389
|
/* @__PURE__ */ e(
|
|
10389
|
-
|
|
10390
|
+
Y,
|
|
10390
10391
|
{
|
|
10391
10392
|
variant: "span",
|
|
10392
10393
|
color: "ultramarine",
|
|
@@ -10394,7 +10395,7 @@ const d1 = P(
|
|
|
10394
10395
|
}
|
|
10395
10396
|
),
|
|
10396
10397
|
/* @__PURE__ */ e(
|
|
10397
|
-
|
|
10398
|
+
q,
|
|
10398
10399
|
{
|
|
10399
10400
|
iconProps: { name: "close", size: 15 },
|
|
10400
10401
|
variant: "close",
|
|
@@ -10478,7 +10479,7 @@ const d1 = P(
|
|
|
10478
10479
|
});
|
|
10479
10480
|
}
|
|
10480
10481
|
return c;
|
|
10481
|
-
}, va = (a) => new Map(a.map((c) => [c.id, c])), xa = (a) => a.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/'/g, "-").replace(/[^a-zA-Z0-9]+/g, "-").replace(/^-+|-+$/g, "").toLowerCase(),
|
|
10482
|
+
}, va = (a) => new Map(a.map((c) => [c.id, c])), xa = (a) => a.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/'/g, "-").replace(/[^a-zA-Z0-9]+/g, "-").replace(/^-+|-+$/g, "").toLowerCase(), U1 = (a) => `/elections/resultats/${xa(a)}/`, Ml = ({
|
|
10482
10483
|
layout: a,
|
|
10483
10484
|
resultsPerTown: c,
|
|
10484
10485
|
departmentsPaths: l,
|
|
@@ -10490,7 +10491,7 @@ const d1 = P(
|
|
|
10490
10491
|
if (!l)
|
|
10491
10492
|
return /* @__PURE__ */ e("output", { "aria-live": "polite", children: "Chargement de la carte…" });
|
|
10492
10493
|
const o = a === _.MOBILE, d = new Map(c.map((b) => [b.id, b])), u = /* @__PURE__ */ new Map(), m = K(() => i ? va(pa(i)) : /* @__PURE__ */ new Map(), [i]), x = K(() => new Map(
|
|
10493
|
-
|
|
10494
|
+
R1.map((b) => {
|
|
10494
10495
|
const f = m.get(`town-${b.id}`);
|
|
10495
10496
|
return f ? [b.name, f.url] : null;
|
|
10496
10497
|
}).filter((b) => b !== null)
|
|
@@ -10599,14 +10600,14 @@ const d1 = P(
|
|
|
10599
10600
|
id: `out-${b}`,
|
|
10600
10601
|
d: f.path,
|
|
10601
10602
|
"data-name": N,
|
|
10602
|
-
"data-url": o ?
|
|
10603
|
+
"data-url": o ? U1(N) : void 0,
|
|
10603
10604
|
className: "c-map-towns__dept-trigger",
|
|
10604
10605
|
children: /* @__PURE__ */ e("title", { children: N })
|
|
10605
10606
|
},
|
|
10606
10607
|
`out-${b}`
|
|
10607
10608
|
);
|
|
10608
10609
|
}) }),
|
|
10609
|
-
/* @__PURE__ */ e("g", { className: "c-map-towns__layer-markers", children:
|
|
10610
|
+
/* @__PURE__ */ e("g", { className: "c-map-towns__layer-markers", children: R1.map(
|
|
10610
10611
|
(b) => (() => {
|
|
10611
10612
|
const f = m.get(`town-${b.id}`);
|
|
10612
10613
|
return f ? (
|
|
@@ -10674,7 +10675,7 @@ const d1 = P(
|
|
|
10674
10675
|
id: `out-${b}`,
|
|
10675
10676
|
d: f.deptPath,
|
|
10676
10677
|
"data-name": f.name,
|
|
10677
|
-
"data-url":
|
|
10678
|
+
"data-url": U1(f.name),
|
|
10678
10679
|
className: "c-map-towns__dept-trigger"
|
|
10679
10680
|
}
|
|
10680
10681
|
)
|
|
@@ -10736,7 +10737,7 @@ const d1 = P(
|
|
|
10736
10737
|
size: t,
|
|
10737
10738
|
...o
|
|
10738
10739
|
}) => /* @__PURE__ */ e(
|
|
10739
|
-
|
|
10740
|
+
q,
|
|
10740
10741
|
{
|
|
10741
10742
|
...o,
|
|
10742
10743
|
color: r,
|
|
@@ -10774,7 +10775,7 @@ const d1 = P(
|
|
|
10774
10775
|
feedbackButtonProps: r,
|
|
10775
10776
|
className: t
|
|
10776
10777
|
}) => /* @__PURE__ */ n(
|
|
10777
|
-
|
|
10778
|
+
L1,
|
|
10778
10779
|
{
|
|
10779
10780
|
as: "nav",
|
|
10780
10781
|
id: "menu-nav",
|
|
@@ -10895,7 +10896,7 @@ const d1 = P(
|
|
|
10895
10896
|
},
|
|
10896
10897
|
isOpen: !0,
|
|
10897
10898
|
children: [
|
|
10898
|
-
/* @__PURE__ */ e(h, { as: "ul", gap: "xxs", mb: "s", wrap: "wrap", children: c.map((d) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
10899
|
+
/* @__PURE__ */ e(h, { as: "ul", gap: "xxs", mb: "s", wrap: "wrap", children: c.map((d) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(Y, { href: d.href, variant: "secondary", children: d.children }, d.href) }, d.href)) }),
|
|
10899
10900
|
/* @__PURE__ */ n(
|
|
10900
10901
|
h,
|
|
10901
10902
|
{
|
|
@@ -10926,7 +10927,7 @@ const d1 = P(
|
|
|
10926
10927
|
d.sponsor && /* @__PURE__ */ n(S, { children: [
|
|
10927
10928
|
" ",
|
|
10928
10929
|
/* @__PURE__ */ e(
|
|
10929
|
-
|
|
10930
|
+
J,
|
|
10930
10931
|
{
|
|
10931
10932
|
sponsor: d.sponsor,
|
|
10932
10933
|
size: "xs",
|
|
@@ -10951,7 +10952,7 @@ const d1 = P(
|
|
|
10951
10952
|
...d.links?.some((m) => "name" in m) ? { py: "s" } : {}
|
|
10952
10953
|
},
|
|
10953
10954
|
children: [
|
|
10954
|
-
(d?.tags ?? []).length > 0 && /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(h, { as: "ul", gap: "xxs", mb: "l", wrap: "wrap", children: d.tags?.map((m) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
10955
|
+
(d?.tags ?? []).length > 0 && /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(h, { as: "ul", gap: "xxs", mb: "l", wrap: "wrap", children: d.tags?.map((m) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(Y, { href: m.href, color: "ultramarine", children: m.children }, m.href) }, m.href)) }) }),
|
|
10955
10956
|
d.links.map((m, x) => "name" in m ? /* @__PURE__ */ e(
|
|
10956
10957
|
k1,
|
|
10957
10958
|
{
|
|
@@ -11037,7 +11038,7 @@ const d1 = P(
|
|
|
11037
11038
|
] }),
|
|
11038
11039
|
s && /* @__PURE__ */ e(w, { id: "mbrs-darkmode-container", p: "l", py: "m" }),
|
|
11039
11040
|
r && /* @__PURE__ */ e(w, { className: "c-menu__list", children: /* @__PURE__ */ e(
|
|
11040
|
-
|
|
11041
|
+
q,
|
|
11041
11042
|
{
|
|
11042
11043
|
iconProps: {
|
|
11043
11044
|
name: "mood"
|
|
@@ -11078,51 +11079,9 @@ const d1 = P(
|
|
|
11078
11079
|
s.href
|
|
11079
11080
|
);
|
|
11080
11081
|
}) }), Bl = ({
|
|
11081
|
-
title: a,
|
|
11082
|
-
description: c,
|
|
11083
|
-
placeholder: l,
|
|
11084
|
-
buttonLabel: s,
|
|
11085
|
-
checkboxLabel: i,
|
|
11086
|
-
colorVariant: r,
|
|
11087
|
-
variant: t = "small",
|
|
11088
|
-
...o
|
|
11089
|
-
}) => {
|
|
11090
|
-
const d = /* @__PURE__ */ n(w, { as: "form", color: "white", bg: "ultramarine", px: "m", py: "xxl", className: "c-newsletter__form", children: [
|
|
11091
|
-
/* @__PURE__ */ e(I, { as: "h5", size: t === "large" ? "m" : "xxs", textAlign: "center", mb: "l", children: a }),
|
|
11092
|
-
/* @__PURE__ */ e(
|
|
11093
|
-
p,
|
|
11094
|
-
{
|
|
11095
|
-
size: t === "large" ? "m" : "s",
|
|
11096
|
-
textAlign: t === "large" ? "center" : "left",
|
|
11097
|
-
mb: t === "large" ? "xl" : "l",
|
|
11098
|
-
children: c
|
|
11099
|
-
}
|
|
11100
|
-
),
|
|
11101
|
-
/* @__PURE__ */ e(L1, { className: "c-input--newsletter", type: "email", placeholder: l }),
|
|
11102
|
-
/* @__PURE__ */ e(H, { color: "primary", variant: "outlined", type: "submit", className: "c-newsletter__button", children: s }),
|
|
11103
|
-
/* @__PURE__ */ n(
|
|
11104
|
-
h,
|
|
11105
|
-
{
|
|
11106
|
-
as: "label",
|
|
11107
|
-
alignItems: "center",
|
|
11108
|
-
justifyContent: t === "large" ? "center" : "start",
|
|
11109
|
-
mt: "l",
|
|
11110
|
-
className: "c-newsletter__checkbox",
|
|
11111
|
-
children: [
|
|
11112
|
-
/* @__PURE__ */ e("input", { className: "c-input--checkbox", type: "checkbox", required: !0, id: "term" }),
|
|
11113
|
-
/* @__PURE__ */ e("span", { dangerouslySetInnerHTML: { __html: i } })
|
|
11114
|
-
]
|
|
11115
|
-
}
|
|
11116
|
-
)
|
|
11117
|
-
] });
|
|
11118
|
-
return /* @__PURE__ */ n(w, { ...o, className: g("c-newsletter", o?.className), children: [
|
|
11119
|
-
r && /* @__PURE__ */ e(Y, { color: r, thickness: "heavy" }),
|
|
11120
|
-
d
|
|
11121
|
-
] });
|
|
11122
|
-
}, $l = ({
|
|
11123
11082
|
items: a,
|
|
11124
11083
|
...c
|
|
11125
|
-
}) => !a || a.length === 0 ? null : /* @__PURE__ */ e(w, { ...c, as: "ol", className: "c-ordered-list-with-number", children: a.map((l) => /* @__PURE__ */ e(p, { as: "li", className: "c-ordered-list-with-number__item", size: "xl", children: l.text }, l.id)) }),
|
|
11084
|
+
}) => !a || a.length === 0 ? null : /* @__PURE__ */ e(w, { ...c, as: "ol", className: "c-ordered-list-with-number", children: a.map((l) => /* @__PURE__ */ e(p, { as: "li", className: "c-ordered-list-with-number__item", size: "xl", children: l.text }, l.id)) }), $l = ({
|
|
11126
11085
|
totalArticles: a,
|
|
11127
11086
|
currentPage: c,
|
|
11128
11087
|
pagePath: l,
|
|
@@ -11160,7 +11119,7 @@ const d1 = P(
|
|
|
11160
11119
|
}
|
|
11161
11120
|
)
|
|
11162
11121
|
}
|
|
11163
|
-
) }),
|
|
11122
|
+
) }), Il = ({ content: a, ...c }) => /* @__PURE__ */ e(
|
|
11164
11123
|
w,
|
|
11165
11124
|
{
|
|
11166
11125
|
...c,
|
|
@@ -11210,16 +11169,16 @@ const d1 = P(
|
|
|
11210
11169
|
size: 20
|
|
11211
11170
|
};
|
|
11212
11171
|
}
|
|
11213
|
-
}, C = /* @__PURE__ */ e(h, { as: "ul", direction: "row-reverse", alignItems: "center", className: "c-react-button__list", children: o?.sort(($,
|
|
11172
|
+
}, C = /* @__PURE__ */ e(h, { as: "ul", direction: "row-reverse", alignItems: "center", className: "c-react-button__list", children: o?.sort(($, H) => H.count - $.count).map(($, H) => /* @__PURE__ */ e(
|
|
11214
11173
|
w,
|
|
11215
11174
|
{
|
|
11216
11175
|
as: "li",
|
|
11217
11176
|
className: g("c-react-button__list-item", {
|
|
11218
|
-
"c-react-button__list-item--show": $.count > 0 &&
|
|
11177
|
+
"c-react-button__list-item--show": $.count > 0 && H <= 1
|
|
11219
11178
|
}),
|
|
11220
11179
|
bg: "grey-100",
|
|
11221
11180
|
"data-reaction-item": $.type,
|
|
11222
|
-
children: /* @__PURE__ */ e(p, { as: "span", size: "xxs", children:
|
|
11181
|
+
children: /* @__PURE__ */ e(p, { as: "span", size: "xxs", children: J1[$.type] })
|
|
11223
11182
|
},
|
|
11224
11183
|
$.type
|
|
11225
11184
|
)) });
|
|
@@ -11240,7 +11199,7 @@ const d1 = P(
|
|
|
11240
11199
|
},
|
|
11241
11200
|
b.className
|
|
11242
11201
|
),
|
|
11243
|
-
...o && o.length > 0 && o.reduce(($,
|
|
11202
|
+
...o && o.length > 0 && o.reduce(($, H) => ($[`data-content-${H.type}`] = H.count, $), {}),
|
|
11244
11203
|
...u && {
|
|
11245
11204
|
"data-user-reaction": u.type,
|
|
11246
11205
|
"data-user-reaction-id": u.id
|
|
@@ -11276,7 +11235,7 @@ const d1 = P(
|
|
|
11276
11235
|
]
|
|
11277
11236
|
}
|
|
11278
11237
|
);
|
|
11279
|
-
},
|
|
11238
|
+
}, Hl = ({
|
|
11280
11239
|
articles: a,
|
|
11281
11240
|
layout: c,
|
|
11282
11241
|
limitTop: l = 0,
|
|
@@ -11360,7 +11319,7 @@ const d1 = P(
|
|
|
11360
11319
|
children: [
|
|
11361
11320
|
/* @__PURE__ */ e("label", { htmlFor: `${a}-search`, className: "u-mask", children: i || l?.placeholder || "Recherche" }),
|
|
11362
11321
|
/* @__PURE__ */ e(
|
|
11363
|
-
|
|
11322
|
+
le,
|
|
11364
11323
|
{
|
|
11365
11324
|
id: `${a}-search`,
|
|
11366
11325
|
className: "c-search-form__input",
|
|
@@ -11438,14 +11397,14 @@ const d1 = P(
|
|
|
11438
11397
|
pinterest: "pinterest",
|
|
11439
11398
|
print: "printer",
|
|
11440
11399
|
twitter: "twitter"
|
|
11441
|
-
}, za = () => typeof window > "u" ? "" : window.location.href, Na = () => typeof document > "u" ? "" : document.title,
|
|
11400
|
+
}, za = () => typeof window > "u" ? "" : window.location.href, Na = () => typeof document > "u" ? "" : document.title, W1 = (a) => encodeURIComponent(a).replace(
|
|
11442
11401
|
/[!'()*]/g,
|
|
11443
11402
|
(c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`
|
|
11444
11403
|
), ka = (a, c) => {
|
|
11445
11404
|
const l = new URLSearchParams();
|
|
11446
11405
|
switch (a) {
|
|
11447
11406
|
case "email":
|
|
11448
|
-
return `mailto:?subject=${
|
|
11407
|
+
return `mailto:?subject=${W1("J'aimerais vous envoyer un lien")}&body=${W1(c.url)}`;
|
|
11449
11408
|
case "facebook":
|
|
11450
11409
|
return l.set("u", c.url), `https://www.facebook.com/sharer/sharer.php?${l.toString()}`;
|
|
11451
11410
|
case "flipboard":
|
|
@@ -11461,7 +11420,7 @@ const d1 = P(
|
|
|
11461
11420
|
}
|
|
11462
11421
|
}, Ma = (a) => {
|
|
11463
11422
|
typeof window > "u" || (a.preventDefault(), window.open(a.currentTarget.href, "share-dialog", "noopener,noreferrer,width=600,height=600"));
|
|
11464
|
-
},
|
|
11423
|
+
}, Vl = ({
|
|
11465
11424
|
networks: a = fa,
|
|
11466
11425
|
url: c = "",
|
|
11467
11426
|
title: l = "",
|
|
@@ -11507,7 +11466,7 @@ const d1 = P(
|
|
|
11507
11466
|
}
|
|
11508
11467
|
) }, m);
|
|
11509
11468
|
}) }) });
|
|
11510
|
-
},
|
|
11469
|
+
}, ql = ({
|
|
11511
11470
|
backgroundImage: a,
|
|
11512
11471
|
title: c,
|
|
11513
11472
|
subtitle: l,
|
|
@@ -11569,12 +11528,12 @@ const d1 = P(
|
|
|
11569
11528
|
] })
|
|
11570
11529
|
] })
|
|
11571
11530
|
] }),
|
|
11572
|
-
m && l === _.MOBILE && /* @__PURE__ */ e(
|
|
11531
|
+
m && l === _.MOBILE && /* @__PURE__ */ e(J, { sponsor: m, size: "xxs" })
|
|
11573
11532
|
] });
|
|
11574
11533
|
return t ? /* @__PURE__ */ e("a", { href: t, children: v }) : v;
|
|
11575
|
-
},
|
|
11534
|
+
}, Ll = ({ installButton: a, closeButton: c }) => /* @__PURE__ */ n(h, { className: "c-smart-banner", alignItems: "center", gap: "xs", bg: "ultramarine", color: "white", children: [
|
|
11576
11535
|
/* @__PURE__ */ e(
|
|
11577
|
-
|
|
11536
|
+
q,
|
|
11578
11537
|
{
|
|
11579
11538
|
...c,
|
|
11580
11539
|
variant: "ghost",
|
|
@@ -11593,7 +11552,7 @@ const d1 = P(
|
|
|
11593
11552
|
] }),
|
|
11594
11553
|
/* @__PURE__ */ e(p, { size: "xxs-2", children: "Retrouvez l’actualité sur notre application" })
|
|
11595
11554
|
] }),
|
|
11596
|
-
/* @__PURE__ */ e(
|
|
11555
|
+
/* @__PURE__ */ e(q, { ...a, className: "c-smart-banner__btn color-ultramarine bg-white", children: "Installer" })
|
|
11597
11556
|
] }), Ca = ({
|
|
11598
11557
|
dialogId: a,
|
|
11599
11558
|
withReport: c,
|
|
@@ -11704,7 +11663,7 @@ const d1 = P(
|
|
|
11704
11663
|
layout: C,
|
|
11705
11664
|
...$
|
|
11706
11665
|
}) => {
|
|
11707
|
-
const
|
|
11666
|
+
const H = !y && /* @__PURE__ */ e(
|
|
11708
11667
|
W,
|
|
11709
11668
|
{
|
|
11710
11669
|
role: "button",
|
|
@@ -11830,24 +11789,24 @@ const d1 = P(
|
|
|
11830
11789
|
"aria-expanded": !1,
|
|
11831
11790
|
"data-a11y-dialog-show": "dialog-social-bar"
|
|
11832
11791
|
}
|
|
11833
|
-
), n1 = (m || x || !!o) && /* @__PURE__ */ e(
|
|
11792
|
+
), n1 = (m || x || !!o) && /* @__PURE__ */ e(P1, {}), b1 = x && !y, S1 = s === "horizontal" && b1, h1 = () => {
|
|
11834
11793
|
switch (s) {
|
|
11835
11794
|
case "card":
|
|
11836
11795
|
return /* @__PURE__ */ n(S, { children: [
|
|
11837
11796
|
/* @__PURE__ */ e("li", { children: /* @__PURE__ */ n(h, { as: "ul", alignItems: "center", gap: "xxs", children: [
|
|
11838
|
-
|
|
11797
|
+
H && /* @__PURE__ */ e("li", { children: H }),
|
|
11839
11798
|
k && /* @__PURE__ */ e("li", { children: k })
|
|
11840
11799
|
] }) }),
|
|
11841
11800
|
L && /* @__PURE__ */ e("li", { children: L })
|
|
11842
11801
|
] });
|
|
11843
11802
|
case "horizontal":
|
|
11844
11803
|
return b1 ? /* @__PURE__ */ n(S, { children: [
|
|
11845
|
-
|
|
11804
|
+
H && /* @__PURE__ */ e("li", { children: H }),
|
|
11846
11805
|
k && /* @__PURE__ */ e("li", { children: k }),
|
|
11847
11806
|
/* @__PURE__ */ e("li", { children: Z }),
|
|
11848
11807
|
/* @__PURE__ */ e("li", { children: e1 })
|
|
11849
11808
|
] }) : /* @__PURE__ */ n(S, { children: [
|
|
11850
|
-
|
|
11809
|
+
H && /* @__PURE__ */ e("li", { children: H }),
|
|
11851
11810
|
E && /* @__PURE__ */ e("li", { children: E }),
|
|
11852
11811
|
L && /* @__PURE__ */ e("li", { children: L }),
|
|
11853
11812
|
k && /* @__PURE__ */ e("li", { children: k }),
|
|
@@ -11856,7 +11815,7 @@ const d1 = P(
|
|
|
11856
11815
|
] });
|
|
11857
11816
|
case "vertical":
|
|
11858
11817
|
return /* @__PURE__ */ n(S, { children: [
|
|
11859
|
-
|
|
11818
|
+
H && /* @__PURE__ */ e("li", { children: H }),
|
|
11860
11819
|
E && /* @__PURE__ */ e("li", { children: E }),
|
|
11861
11820
|
k && /* @__PURE__ */ e("li", { children: k }),
|
|
11862
11821
|
/* @__PURE__ */ e("li", { "aria-hidden": "true", children: n1 }),
|
|
@@ -11901,7 +11860,7 @@ const d1 = P(
|
|
|
11901
11860
|
}
|
|
11902
11861
|
)
|
|
11903
11862
|
] });
|
|
11904
|
-
},
|
|
11863
|
+
}, J = ({
|
|
11905
11864
|
sponsor: a,
|
|
11906
11865
|
size: c,
|
|
11907
11866
|
hasText: l = !1,
|
|
@@ -11939,7 +11898,7 @@ const d1 = P(
|
|
|
11939
11898
|
});
|
|
11940
11899
|
}
|
|
11941
11900
|
return s;
|
|
11942
|
-
},
|
|
11901
|
+
}, Pl = ({
|
|
11943
11902
|
totalDays: a,
|
|
11944
11903
|
streakStartDate: c,
|
|
11945
11904
|
streakEndDate: l,
|
|
@@ -12032,7 +11991,7 @@ const d1 = P(
|
|
|
12032
11991
|
]
|
|
12033
11992
|
}
|
|
12034
11993
|
);
|
|
12035
|
-
},
|
|
11994
|
+
}, jl = ({ hasHeader: a, tableProps: c }) => {
|
|
12036
11995
|
if (!c?.length)
|
|
12037
11996
|
return null;
|
|
12038
11997
|
const l = a ? c[0] : null, s = a ? c.slice(1) : c;
|
|
@@ -12105,7 +12064,7 @@ const d1 = P(
|
|
|
12105
12064
|
]
|
|
12106
12065
|
}
|
|
12107
12066
|
);
|
|
12108
|
-
},
|
|
12067
|
+
}, Fl = ({ tags: a, layout: c, ...l }) => a.length ? /* @__PURE__ */ e(
|
|
12109
12068
|
d1,
|
|
12110
12069
|
{
|
|
12111
12070
|
hasSpaceAroundButtons: !0,
|
|
@@ -12114,16 +12073,16 @@ const d1 = P(
|
|
|
12114
12073
|
layout: c,
|
|
12115
12074
|
className: g("c-tag-bar", l?.className),
|
|
12116
12075
|
buttonsSize: "small",
|
|
12117
|
-
children: a.map((s, i) => /* @__PURE__ */ e(
|
|
12076
|
+
children: a.map((s, i) => /* @__PURE__ */ e(Y, { ...s }, i))
|
|
12118
12077
|
}
|
|
12119
12078
|
) : null, Ia = ({ iconName: a, className: c }) => /* @__PURE__ */ e("li", { className: g("c-text-tooltip-item", c), children: /* @__PURE__ */ e(
|
|
12120
|
-
|
|
12079
|
+
q,
|
|
12121
12080
|
{
|
|
12122
12081
|
variant: "ghost",
|
|
12123
12082
|
iconProps: { name: a, size: [20, 20] },
|
|
12124
12083
|
className: "tooltip-btn c-tooltip-item__icon"
|
|
12125
12084
|
}
|
|
12126
|
-
) }),
|
|
12085
|
+
) }), Al = () => /* @__PURE__ */ e(h, { id: "text-tooltip", className: "c-text-tooltip", as: "ul", gap: "s", children: /* @__PURE__ */ e(Ia, { iconName: "report", className: "mbrs-social-report-container" }) }), z1 = ({
|
|
12127
12086
|
href: a,
|
|
12128
12087
|
iconProps: c,
|
|
12129
12088
|
children: l,
|
|
@@ -12167,7 +12126,7 @@ const d1 = P(
|
|
|
12167
12126
|
]
|
|
12168
12127
|
}
|
|
12169
12128
|
);
|
|
12170
|
-
},
|
|
12129
|
+
}, Tl = ({ events: a, layout: c, ...l }) => a.length === 0 ? null : /* @__PURE__ */ n(
|
|
12171
12130
|
h,
|
|
12172
12131
|
{
|
|
12173
12132
|
...l,
|
|
@@ -12220,7 +12179,7 @@ const d1 = P(
|
|
|
12220
12179
|
}),
|
|
12221
12180
|
children: [
|
|
12222
12181
|
/* @__PURE__ */ e(p, { as: "span", weight: "bold", className: "c-timeline__time", children: s.time }),
|
|
12223
|
-
/* @__PURE__ */ e(
|
|
12182
|
+
/* @__PURE__ */ e(ce, { color: "white", className: "c-timeline__separator" })
|
|
12224
12183
|
]
|
|
12225
12184
|
}
|
|
12226
12185
|
),
|
|
@@ -12246,7 +12205,7 @@ const d1 = P(
|
|
|
12246
12205
|
] })
|
|
12247
12206
|
]
|
|
12248
12207
|
}
|
|
12249
|
-
),
|
|
12208
|
+
), Rl = ({
|
|
12250
12209
|
children: a,
|
|
12251
12210
|
navigationLinks: c,
|
|
12252
12211
|
user: l,
|
|
@@ -12284,8 +12243,8 @@ const d1 = P(
|
|
|
12284
12243
|
r.href
|
|
12285
12244
|
)) }),
|
|
12286
12245
|
a,
|
|
12287
|
-
/* @__PURE__ */ e(
|
|
12288
|
-
] }),
|
|
12246
|
+
/* @__PURE__ */ e(X, { color: "grey-200" })
|
|
12247
|
+
] }), Dl = ({
|
|
12289
12248
|
label: a,
|
|
12290
12249
|
layout: c,
|
|
12291
12250
|
result: l,
|
|
@@ -12421,7 +12380,7 @@ const d1 = P(
|
|
|
12421
12380
|
] }) : y
|
|
12422
12381
|
}
|
|
12423
12382
|
);
|
|
12424
|
-
}, C1 = ({ href: a, iconName: c, name: l, themeColor: s }) => /* @__PURE__ */ n(
|
|
12383
|
+
}, C1 = ({ href: a, iconName: c, name: l, themeColor: s }) => /* @__PURE__ */ n(q, { as: "a", href: a, color: "white", p: "xs", className: "c-app-button", children: [
|
|
12425
12384
|
/* @__PURE__ */ e(z, { name: c, size: 20, color: s || "ultramarine" }),
|
|
12426
12385
|
/* @__PURE__ */ n(h, { direction: "column", children: [
|
|
12427
12386
|
/* @__PURE__ */ e(p, { as: "span", size: "xxs", weight: "regular", children: "Télécharger sur" }),
|
|
@@ -12511,7 +12470,7 @@ const d1 = P(
|
|
|
12511
12470
|
className: "c-footer__social-icons"
|
|
12512
12471
|
}
|
|
12513
12472
|
),
|
|
12514
|
-
/* @__PURE__ */ e(
|
|
12473
|
+
/* @__PURE__ */ e(X, { color: "grey-200", my: "xl" }),
|
|
12515
12474
|
/* @__PURE__ */ n("section", { children: [
|
|
12516
12475
|
/* @__PURE__ */ e(M, { href: "https://www.20minutes.fr/mobile", size: "m", color: "white", weight: "bold", children: "Nos applications" }),
|
|
12517
12476
|
/* @__PURE__ */ e(p, { color: "white", mb: "l", mt: "s", children: "Découvrez l‘ensemble de nos applications 20 Minutes !" }),
|
|
@@ -12537,7 +12496,7 @@ const d1 = P(
|
|
|
12537
12496
|
] })
|
|
12538
12497
|
] }),
|
|
12539
12498
|
i && /* @__PURE__ */ n("section", { children: [
|
|
12540
|
-
/* @__PURE__ */ e(
|
|
12499
|
+
/* @__PURE__ */ e(X, { color: "grey-200", my: "xl" }),
|
|
12541
12500
|
/* @__PURE__ */ e(M, { href: "https://www.20minutes.fr/archives/", size: "m", color: "white", weight: "bold", children: "Archives" }),
|
|
12542
12501
|
/* @__PURE__ */ e(c1, { as: "ul", colsNumber: 6, gap: "s", mt: "s", children: i.map((t) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(M, { href: t.href, color: "white", children: t.name }, t.name) }, t.name)) })
|
|
12543
12502
|
] })
|
|
@@ -12565,7 +12524,7 @@ const d1 = P(
|
|
|
12565
12524
|
children: t.links[0].children
|
|
12566
12525
|
}
|
|
12567
12526
|
),
|
|
12568
|
-
/* @__PURE__ */ e("ul", { children: t.links.slice(1).map((o, d, u) => /* @__PURE__ */ e(w, { as: "li", mb: d < u.length - 1 ? "xs" : void 0, children: /* @__PURE__ */ e(M, { ...o, color: "white" }) }, o.href)) })
|
|
12527
|
+
/* @__PURE__ */ e("ul", { children: t.links.slice(1).map((o, d, u) => /* @__PURE__ */ e(w, { as: "li", mb: d < u.length - 1 ? "xs" : void 0, children: /* @__PURE__ */ e(M, { ...o, color: "white" }) }, o.href ?? d)) })
|
|
12569
12528
|
] }, t.name)
|
|
12570
12529
|
)
|
|
12571
12530
|
}
|
|
@@ -12573,7 +12532,7 @@ const d1 = P(
|
|
|
12573
12532
|
]
|
|
12574
12533
|
}
|
|
12575
12534
|
),
|
|
12576
|
-
/* @__PURE__ */ e(
|
|
12535
|
+
/* @__PURE__ */ e(X, { color: "grey-200" }),
|
|
12577
12536
|
/* @__PURE__ */ n(
|
|
12578
12537
|
h,
|
|
12579
12538
|
{
|
|
@@ -12630,9 +12589,8 @@ const d1 = P(
|
|
|
12630
12589
|
d.children,
|
|
12631
12590
|
/* @__PURE__ */ e(z, { name: "chevron", size: [10, 14] })
|
|
12632
12591
|
]
|
|
12633
|
-
}
|
|
12634
|
-
|
|
12635
|
-
) }, d.href)) })
|
|
12592
|
+
}
|
|
12593
|
+
) }, d.href ?? u)) })
|
|
12636
12594
|
},
|
|
12637
12595
|
t.name
|
|
12638
12596
|
)
|
|
@@ -12671,10 +12629,10 @@ const d1 = P(
|
|
|
12671
12629
|
}
|
|
12672
12630
|
)
|
|
12673
12631
|
] }),
|
|
12674
|
-
/* @__PURE__ */ e(
|
|
12632
|
+
/* @__PURE__ */ e(X, { color: "grey-200" })
|
|
12675
12633
|
] }) : void 0,
|
|
12676
12634
|
/* @__PURE__ */ e(ve, { socialIcons: s, themeColor: l, my: "xl", mx: "m" }),
|
|
12677
|
-
/* @__PURE__ */ e(
|
|
12635
|
+
/* @__PURE__ */ e(X, { color: "grey-200" }),
|
|
12678
12636
|
/* @__PURE__ */ n(w, { as: "section", className: "c-footer-mobile__bottom", px: "m", pt: "xl", pb: "xxl-2", children: [
|
|
12679
12637
|
/* @__PURE__ */ e(pe, { links: i, gapX: "s", mb: "xl" }),
|
|
12680
12638
|
/* @__PURE__ */ e("strong", { children: "© Copyright 20 Minutes" }),
|
|
@@ -12682,7 +12640,7 @@ const d1 = P(
|
|
|
12682
12640
|
] })
|
|
12683
12641
|
]
|
|
12684
12642
|
}
|
|
12685
|
-
),
|
|
12643
|
+
), Ol = ({ layout: a = _.MOBILE, ...c }) => a === _.DESKTOP ? /* @__PURE__ */ e(Ha, { ...c }) : /* @__PURE__ */ e(Va, { ...c }), El = ({
|
|
12686
12644
|
layout: a = _.MOBILE,
|
|
12687
12645
|
backhref: c,
|
|
12688
12646
|
...l
|
|
@@ -12759,7 +12717,7 @@ const qa = {
|
|
|
12759
12717
|
/* @__PURE__ */ e(l1, { href: "#menu-nav", children: "Passer à l'en-tête" }),
|
|
12760
12718
|
/* @__PURE__ */ e(l1, { href: "#footer", children: "Passer au pied de page" }),
|
|
12761
12719
|
/* @__PURE__ */ e(
|
|
12762
|
-
|
|
12720
|
+
q,
|
|
12763
12721
|
{
|
|
12764
12722
|
color: "translucent",
|
|
12765
12723
|
iconProps: {
|
|
@@ -12771,7 +12729,7 @@ const qa = {
|
|
|
12771
12729
|
}
|
|
12772
12730
|
),
|
|
12773
12731
|
/* @__PURE__ */ e(
|
|
12774
|
-
|
|
12732
|
+
q,
|
|
12775
12733
|
{
|
|
12776
12734
|
color: "translucent",
|
|
12777
12735
|
iconProps: {
|
|
@@ -13018,7 +12976,7 @@ const qa = {
|
|
|
13018
12976
|
]
|
|
13019
12977
|
}
|
|
13020
12978
|
);
|
|
13021
|
-
},
|
|
12979
|
+
}, Zl = ({
|
|
13022
12980
|
tabItems: a,
|
|
13023
12981
|
layout: c,
|
|
13024
12982
|
fitContainer: l,
|
|
@@ -13120,7 +13078,7 @@ const qa = {
|
|
|
13120
13078
|
...o
|
|
13121
13079
|
}
|
|
13122
13080
|
);
|
|
13123
|
-
},
|
|
13081
|
+
}, Kl = ({
|
|
13124
13082
|
tabItems: a,
|
|
13125
13083
|
layout: c,
|
|
13126
13084
|
tabItemActive: l,
|
|
@@ -13166,7 +13124,7 @@ const qa = {
|
|
|
13166
13124
|
...i
|
|
13167
13125
|
}
|
|
13168
13126
|
);
|
|
13169
|
-
},
|
|
13127
|
+
}, Gl = ({
|
|
13170
13128
|
articles: a,
|
|
13171
13129
|
layout: c,
|
|
13172
13130
|
hasStepper: l,
|
|
@@ -13256,7 +13214,7 @@ const qa = {
|
|
|
13256
13214
|
] }),
|
|
13257
13215
|
l && c === _.MOBILE && /* @__PURE__ */ e(j3, { items: u, mt: "s" })
|
|
13258
13216
|
] });
|
|
13259
|
-
},
|
|
13217
|
+
}, Ul = ({ medias: a, ...c }) => !a || a.length === 0 ? null : /* @__PURE__ */ e(w, { ...c, className: "pswp-gallery", id: "photoswipe-gallery", children: a.map((l, s) => /* @__PURE__ */ e(
|
|
13260
13218
|
"a",
|
|
13261
13219
|
{
|
|
13262
13220
|
href: l?.imgProps?.defaultFormat ? H1({ src: l.src, format: l.imgProps.defaultFormat }) : l.src,
|
|
@@ -13287,7 +13245,7 @@ const qa = {
|
|
|
13287
13245
|
{ current: 3, username: "Joueur 3", points: 7349, played: 17, wins: 12 },
|
|
13288
13246
|
{ current: 4, username: "Joueur 4", points: 5102, played: 15, wins: 10 },
|
|
13289
13247
|
{ current: 5, username: "Joueur 5", points: 5029, played: 15, wins: 9 }
|
|
13290
|
-
],
|
|
13248
|
+
], Wl = ({ playerData: a, layout: c, children: l, ...s }) => {
|
|
13291
13249
|
const i = !a, r = a ?? Fa, t = (d, u) => u ? "is-current" : d % 2 === 0 ? "even" : "odd", o = /* @__PURE__ */ n(c1, { colsNumber: c === _.MOBILE ? 5 : 6, className: "c-ranking__content", children: [
|
|
13292
13250
|
/* @__PURE__ */ e("div", {}),
|
|
13293
13251
|
c === _.DESKTOP && /* @__PURE__ */ e("div", {}),
|
|
@@ -13295,7 +13253,7 @@ const qa = {
|
|
|
13295
13253
|
/* @__PURE__ */ e(h, { alignItems: "center", className: "c-ranking__header", children: /* @__PURE__ */ e(p, { as: "span", weight: "bold", children: "Score" }) }),
|
|
13296
13254
|
/* @__PURE__ */ e(h, { alignItems: "center", className: "c-ranking__header", children: /* @__PURE__ */ e(p, { as: "span", weight: "bold", children: "Parties jouées" }) }),
|
|
13297
13255
|
/* @__PURE__ */ e(h, { alignItems: "center", className: "c-ranking__header", children: /* @__PURE__ */ e(p, { as: "span", weight: "bold", children: "Victoires" }) }),
|
|
13298
|
-
r.map((d, u) => /* @__PURE__ */ n(
|
|
13256
|
+
r.map((d, u) => /* @__PURE__ */ n(Y1, { children: [
|
|
13299
13257
|
/* @__PURE__ */ e(
|
|
13300
13258
|
h,
|
|
13301
13259
|
{
|
|
@@ -13319,7 +13277,7 @@ const qa = {
|
|
|
13319
13277
|
{
|
|
13320
13278
|
alignItems: "center",
|
|
13321
13279
|
gap: "s",
|
|
13322
|
-
className: `c-ranking__player c-ranking__player--${t(u, d.isCurrentUser)}`,
|
|
13280
|
+
className: `c-ranking__player c-ranking__player--${t(u, d.isCurrentUser)} c-ranking__player--username`,
|
|
13323
13281
|
children: /* @__PURE__ */ e(p, { weight: "bold", size: "xs", color: d.isCurrentUser ? "ultramarine" : void 0, children: d.username })
|
|
13324
13282
|
}
|
|
13325
13283
|
),
|
|
@@ -13410,7 +13368,7 @@ const qa = {
|
|
|
13410
13368
|
className: "c-sub-menu__link",
|
|
13411
13369
|
children: [
|
|
13412
13370
|
/* @__PURE__ */ e(
|
|
13413
|
-
|
|
13371
|
+
j1,
|
|
13414
13372
|
{
|
|
13415
13373
|
as: "span",
|
|
13416
13374
|
...l && { iconProps: { name: l, size: 32 } },
|
|
@@ -13448,7 +13406,7 @@ const qa = {
|
|
|
13448
13406
|
alignItems: s?.tags && t ? "center" : "end",
|
|
13449
13407
|
children: [
|
|
13450
13408
|
t && /* @__PURE__ */ e(
|
|
13451
|
-
|
|
13409
|
+
J,
|
|
13452
13410
|
{
|
|
13453
13411
|
sponsor: t,
|
|
13454
13412
|
size: "xs",
|
|
@@ -13457,7 +13415,7 @@ const qa = {
|
|
|
13457
13415
|
...!s?.tags && { pt: "xxs", pb: "xs" }
|
|
13458
13416
|
}
|
|
13459
13417
|
),
|
|
13460
|
-
s?.tags && /* @__PURE__ */ e(h, { gap: "xs", children: s?.tags.map((u) => /* @__PURE__ */ e(
|
|
13418
|
+
s?.tags && /* @__PURE__ */ e(h, { gap: "xs", children: s?.tags.map((u) => /* @__PURE__ */ e(Y, { href: u.href, color: i || "ultramarine", children: u.name }, u.href)) })
|
|
13461
13419
|
]
|
|
13462
13420
|
}
|
|
13463
13421
|
),
|
|
@@ -13471,7 +13429,7 @@ const qa = {
|
|
|
13471
13429
|
] })
|
|
13472
13430
|
] })
|
|
13473
13431
|
}
|
|
13474
|
-
),
|
|
13432
|
+
), Yl = ({
|
|
13475
13433
|
cards: a,
|
|
13476
13434
|
color: c,
|
|
13477
13435
|
rightColsNumber: l = 3
|
|
@@ -13528,7 +13486,7 @@ const qa = {
|
|
|
13528
13486
|
}
|
|
13529
13487
|
),
|
|
13530
13488
|
c.map((t) => /* @__PURE__ */ n(s1.Fragment, { children: [
|
|
13531
|
-
/* @__PURE__ */ e(
|
|
13489
|
+
/* @__PURE__ */ e(X, { color: "grey-200", my: "s" }),
|
|
13532
13490
|
/* @__PURE__ */ e(
|
|
13533
13491
|
te,
|
|
13534
13492
|
{
|
|
@@ -13542,15 +13500,15 @@ const qa = {
|
|
|
13542
13500
|
]
|
|
13543
13501
|
}
|
|
13544
13502
|
);
|
|
13545
|
-
},
|
|
13503
|
+
}, Jl = ({
|
|
13546
13504
|
title: a,
|
|
13547
13505
|
items: c,
|
|
13548
13506
|
layout: l,
|
|
13549
13507
|
...s
|
|
13550
13508
|
}) => c.length > 0 ? /* @__PURE__ */ n(w, { as: "section", ...s, className: "c-three-columns-articles", children: [
|
|
13551
13509
|
a && /* @__PURE__ */ n(S, { children: [
|
|
13552
|
-
/* @__PURE__ */ e(
|
|
13553
|
-
/* @__PURE__ */ e(
|
|
13510
|
+
/* @__PURE__ */ e(X, { color: "ultramarine", thickness: "heavy", mb: "xl" }),
|
|
13511
|
+
/* @__PURE__ */ e(j1, { as: "h2", size: "m", mb: "l", textAlign: { xs: "center", md: "left" }, children: a })
|
|
13554
13512
|
] }),
|
|
13555
13513
|
l === _.DESKTOP ? /* @__PURE__ */ e(d1, { itemsGap: "xl", layout: l, sliderVariant: "three-columns-articles", children: c.map(
|
|
13556
13514
|
(i) => i.articles.length > 0 ? /* @__PURE__ */ e(Ta, { ...i }, i.title.label) : null
|
|
@@ -13567,7 +13525,7 @@ const qa = {
|
|
|
13567
13525
|
},
|
|
13568
13526
|
i.title.label
|
|
13569
13527
|
))
|
|
13570
|
-
] }) : null,
|
|
13528
|
+
] }) : null, Xl = ({ items: a, activeItem: c, isBlueMode: l = !1 }) => /* @__PURE__ */ e(
|
|
13571
13529
|
h,
|
|
13572
13530
|
{
|
|
13573
13531
|
as: "nav",
|
|
@@ -13612,7 +13570,7 @@ export {
|
|
|
13612
13570
|
w as Box,
|
|
13613
13571
|
Rc as Breadcrumb,
|
|
13614
13572
|
Dc as BulletedList,
|
|
13615
|
-
|
|
13573
|
+
q as Button,
|
|
13616
13574
|
Oc as Calendar,
|
|
13617
13575
|
R as CardContainer,
|
|
13618
13576
|
Ec as CardExtraLarge,
|
|
@@ -13648,23 +13606,23 @@ export {
|
|
|
13648
13606
|
nl as Comment,
|
|
13649
13607
|
rl as CommentButton,
|
|
13650
13608
|
il as CommentCount,
|
|
13651
|
-
|
|
13609
|
+
Z1 as Countdown,
|
|
13652
13610
|
y1 as CountdownItem,
|
|
13653
13611
|
tl as DarkModeSwitch,
|
|
13654
13612
|
ol as DiscoverList,
|
|
13655
|
-
|
|
13656
|
-
|
|
13657
|
-
|
|
13613
|
+
X as Divider,
|
|
13614
|
+
ce as DividerVertical,
|
|
13615
|
+
Dl as ElectionsResult,
|
|
13658
13616
|
Fc as Embed,
|
|
13659
13617
|
hl as EmojiToolbar,
|
|
13660
13618
|
ml as ErrorContent,
|
|
13661
13619
|
oa as Expandable,
|
|
13662
13620
|
h as Flex,
|
|
13663
13621
|
j as FlexItem,
|
|
13664
|
-
|
|
13622
|
+
Ol as Footer,
|
|
13665
13623
|
c1 as Grid,
|
|
13666
13624
|
cl as HalfDonut,
|
|
13667
|
-
|
|
13625
|
+
El as Header,
|
|
13668
13626
|
ul as HeaderBanner,
|
|
13669
13627
|
La as HeaderDesktop,
|
|
13670
13628
|
gl as HeaderMini,
|
|
@@ -13672,7 +13630,7 @@ export {
|
|
|
13672
13630
|
pl as HeaderPage,
|
|
13673
13631
|
vl as HeaderSection,
|
|
13674
13632
|
ta as HeaderSideModal,
|
|
13675
|
-
|
|
13633
|
+
j1 as HeaderTitle,
|
|
13676
13634
|
I as Heading,
|
|
13677
13635
|
z as Icon,
|
|
13678
13636
|
O as IconButton,
|
|
@@ -13684,7 +13642,7 @@ export {
|
|
|
13684
13642
|
ha as InfoBanner,
|
|
13685
13643
|
q1 as InfoButton,
|
|
13686
13644
|
r1 as InlineSeparator,
|
|
13687
|
-
|
|
13645
|
+
le as Input,
|
|
13688
13646
|
A as Label,
|
|
13689
13647
|
kc as LabelSection,
|
|
13690
13648
|
_ as LayoutType,
|
|
@@ -13705,25 +13663,24 @@ export {
|
|
|
13705
13663
|
G as MediaSourceType,
|
|
13706
13664
|
Cl as Menu,
|
|
13707
13665
|
Sl as MenuList,
|
|
13708
|
-
|
|
13709
|
-
|
|
13710
|
-
|
|
13711
|
-
Bl as
|
|
13712
|
-
$l as OrderedListWithNumber,
|
|
13666
|
+
L1 as Modal,
|
|
13667
|
+
Zl as MostReadArticles,
|
|
13668
|
+
Kl as MostWatchVideos,
|
|
13669
|
+
Bl as OrderedListWithNumber,
|
|
13713
13670
|
V3 as Overlay,
|
|
13714
|
-
|
|
13715
|
-
|
|
13671
|
+
Gl as OverviewBar,
|
|
13672
|
+
$l as Pagination,
|
|
13716
13673
|
wa as PercentageBar,
|
|
13717
|
-
|
|
13718
|
-
|
|
13719
|
-
|
|
13674
|
+
Ul as PhotoSwipeGallery,
|
|
13675
|
+
P1 as Pipe,
|
|
13676
|
+
Il as Prose,
|
|
13720
13677
|
Cc as RadioButton,
|
|
13721
|
-
|
|
13678
|
+
Wl as Ranking,
|
|
13722
13679
|
q3 as Rating,
|
|
13723
13680
|
ba as ReactButton,
|
|
13724
13681
|
Ne as ReactionContent,
|
|
13725
13682
|
Sc as ReadAlso,
|
|
13726
|
-
|
|
13683
|
+
Hl as ReadAlsoBanner,
|
|
13727
13684
|
Bc as ScrollProgressBar,
|
|
13728
13685
|
L3 as ScrollToTopButton,
|
|
13729
13686
|
dl as SearchBanner,
|
|
@@ -13731,36 +13688,36 @@ export {
|
|
|
13731
13688
|
$c as Section,
|
|
13732
13689
|
me as SectionTitle,
|
|
13733
13690
|
P3 as Select,
|
|
13734
|
-
|
|
13735
|
-
|
|
13691
|
+
Vl as ShareBar,
|
|
13692
|
+
ql as ShowCover,
|
|
13736
13693
|
ue as Signature,
|
|
13737
13694
|
Ic as Skeleton,
|
|
13738
13695
|
d1 as Slider,
|
|
13739
|
-
|
|
13696
|
+
Ll as SmartBanner,
|
|
13740
13697
|
i1 as SocialBar,
|
|
13741
13698
|
Ca as SocialBarActionsModal,
|
|
13742
13699
|
Ca as SocialBarActionsSheet,
|
|
13743
|
-
|
|
13700
|
+
J as Sponsor,
|
|
13744
13701
|
j3 as Stepper,
|
|
13745
|
-
|
|
13702
|
+
Pl as StreakBlock,
|
|
13746
13703
|
Aa as SubMenu,
|
|
13747
|
-
|
|
13704
|
+
Yl as SubMenuCards,
|
|
13748
13705
|
F3 as Switch,
|
|
13749
13706
|
A3 as Tab,
|
|
13750
13707
|
T3 as TabPanel,
|
|
13751
|
-
|
|
13708
|
+
jl as Table,
|
|
13752
13709
|
ge as Tabs,
|
|
13753
|
-
|
|
13754
|
-
|
|
13710
|
+
Y as Tag,
|
|
13711
|
+
Fl as TagBar,
|
|
13755
13712
|
p as Text,
|
|
13756
|
-
|
|
13713
|
+
Al as TextTooltip,
|
|
13757
13714
|
Hc as Textarea,
|
|
13758
|
-
|
|
13715
|
+
Jl as ThreeColumnsArticles,
|
|
13759
13716
|
z1 as Tiles,
|
|
13760
|
-
|
|
13761
|
-
|
|
13717
|
+
Tl as Timeline,
|
|
13718
|
+
Xl as Toolbar,
|
|
13762
13719
|
ie as Typography,
|
|
13763
|
-
|
|
13720
|
+
Rl as UserPanel,
|
|
13764
13721
|
Wa as alignContentList,
|
|
13765
13722
|
Ua as alignItemsList,
|
|
13766
13723
|
Ja as alignSelfList,
|
|
@@ -13773,18 +13730,18 @@ export {
|
|
|
13773
13730
|
uc as colorTokenNameList,
|
|
13774
13731
|
Mc as colsNumberGridList,
|
|
13775
13732
|
ke as departmentNames,
|
|
13776
|
-
|
|
13733
|
+
J1 as emojiConfig,
|
|
13777
13734
|
Xa as flexBasisList,
|
|
13778
13735
|
Ka as flexDirectionList,
|
|
13779
13736
|
ec as flexGrowList,
|
|
13780
|
-
|
|
13737
|
+
X1 as flexOrGridBoxSystemProps,
|
|
13781
13738
|
Se as flexOrGridItemSystemProps,
|
|
13782
13739
|
Qa as flexShrinkList,
|
|
13783
13740
|
Ga as flexWrapList,
|
|
13784
13741
|
nc as fontFamilyTokenNameList,
|
|
13785
13742
|
rc as fontWeightTokenNameList,
|
|
13786
13743
|
P as forwardRef,
|
|
13787
|
-
|
|
13744
|
+
R1 as franceMainCities,
|
|
13788
13745
|
M3 as getSrcSetFromFormats,
|
|
13789
13746
|
ic as headingSizeTokenNameList,
|
|
13790
13747
|
zc as iconButtonColor,
|
|
@@ -13797,13 +13754,13 @@ export {
|
|
|
13797
13754
|
Ya as justifyContentList,
|
|
13798
13755
|
Be as marginSystemProps,
|
|
13799
13756
|
oc as mediaQueriesList,
|
|
13800
|
-
|
|
13757
|
+
ee as paddingSystemProps,
|
|
13801
13758
|
Me as politicalPartiesColors,
|
|
13802
|
-
|
|
13759
|
+
Q1 as radiusSystemProps,
|
|
13803
13760
|
wc as radiusTokenNameList,
|
|
13804
13761
|
H1 as replaceSrcFormat,
|
|
13805
13762
|
yc as rotationList,
|
|
13806
|
-
|
|
13763
|
+
ae as spacingSystemProps,
|
|
13807
13764
|
mc as spacingTokenNameList,
|
|
13808
13765
|
$e as systemProps,
|
|
13809
13766
|
cc as textAlignList,
|