@20minutes/hela 2.22.10 → 2.22.12
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 +374 -378
- package/dist/index.umd.cjs +1 -1
- package/dist/js/scripts.es.js +405 -394
- 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 +18 -18
package/dist/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t, Fragment as S } from "react/jsx-runtime";
|
|
2
|
-
import Y, { Fragment as
|
|
2
|
+
import Y, { Fragment as X1, useMemo as U, useState as we, useId as be, createElement as fe } from "react";
|
|
3
3
|
function ye(a) {
|
|
4
4
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var H1 = { exports: {} };
|
|
7
|
+
var P1;
|
|
8
8
|
function _e() {
|
|
9
|
-
return
|
|
9
|
+
return P1 || (P1 = 1, (function(a) {
|
|
10
10
|
(function() {
|
|
11
11
|
var s = {}.hasOwnProperty;
|
|
12
12
|
function c() {
|
|
@@ -35,7 +35,7 @@ function _e() {
|
|
|
35
35
|
}
|
|
36
36
|
a.exports ? (c.default = c, a.exports = c) : window.classNames = c;
|
|
37
37
|
})();
|
|
38
|
-
})(
|
|
38
|
+
})(H1)), H1.exports;
|
|
39
39
|
}
|
|
40
40
|
var ze = _e();
|
|
41
41
|
const p = /* @__PURE__ */ ye(ze), J0 = ({
|
|
@@ -116,7 +116,7 @@ const p = /* @__PURE__ */ ye(ze), J0 = ({
|
|
|
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(
|
|
119
|
-
|
|
119
|
+
T1,
|
|
120
120
|
{
|
|
121
121
|
id: `${a}-search`,
|
|
122
122
|
className: "c-autocomplete__input",
|
|
@@ -133,7 +133,7 @@ const p = /* @__PURE__ */ ye(ze), J0 = ({
|
|
|
133
133
|
/* @__PURE__ */ e("span", { className: "c-autocomplete__input-spinner u-hidden" })
|
|
134
134
|
] }),
|
|
135
135
|
/* @__PURE__ */ e("ul", { className: "c-autocomplete__menu u-hidden" })
|
|
136
|
-
] }),
|
|
136
|
+
] }), b1 = ({
|
|
137
137
|
img: a,
|
|
138
138
|
alt: s = "",
|
|
139
139
|
color: c,
|
|
@@ -1429,7 +1429,7 @@ const p = /* @__PURE__ */ ye(ze), J0 = ({
|
|
|
1429
1429
|
O.typography.text
|
|
1430
1430
|
);
|
|
1431
1431
|
var Me = /* @__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))(Me || {});
|
|
1432
|
-
const
|
|
1432
|
+
const Q1 = {
|
|
1433
1433
|
sad: "😢",
|
|
1434
1434
|
interesting: "😍",
|
|
1435
1435
|
laughing: "😂",
|
|
@@ -1439,7 +1439,7 @@ const X1 = {
|
|
|
1439
1439
|
heart: "❤️",
|
|
1440
1440
|
down: "👎",
|
|
1441
1441
|
up: "👍"
|
|
1442
|
-
},
|
|
1442
|
+
}, E1 = [
|
|
1443
1443
|
{ name: "Paris", id: "75056" },
|
|
1444
1444
|
{ name: "Marseille", id: "13055" },
|
|
1445
1445
|
{ name: "Lyon", id: "69123" },
|
|
@@ -1456,7 +1456,7 @@ const X1 = {
|
|
|
1456
1456
|
{ name: "Grenoble", id: "38185" },
|
|
1457
1457
|
{ name: "Dijon", id: "21231" },
|
|
1458
1458
|
{ name: "Brest", id: "29019" }
|
|
1459
|
-
],
|
|
1459
|
+
], L1 = {
|
|
1460
1460
|
PARIS: {
|
|
1461
1461
|
label: "Paris",
|
|
1462
1462
|
viewBox: "249.8 112.2 10 10",
|
|
@@ -1646,7 +1646,7 @@ const X1 = {
|
|
|
1646
1646
|
borderColor: ["border-color"],
|
|
1647
1647
|
bg: ["background-color"],
|
|
1648
1648
|
color: ["color"]
|
|
1649
|
-
},
|
|
1649
|
+
}, ee = {
|
|
1650
1650
|
alignItems: ["align-items"],
|
|
1651
1651
|
alignContent: ["align-content"],
|
|
1652
1652
|
justifyContent: ["justify-content"],
|
|
@@ -1662,7 +1662,7 @@ const X1 = {
|
|
|
1662
1662
|
basis: ["flex-basis"],
|
|
1663
1663
|
shrink: ["flex-shrink"],
|
|
1664
1664
|
grow: ["flex-grow"]
|
|
1665
|
-
},
|
|
1665
|
+
}, ae = {
|
|
1666
1666
|
radius: ["border-radius"]
|
|
1667
1667
|
}, $e = {
|
|
1668
1668
|
m: ["margin"],
|
|
@@ -1672,7 +1672,7 @@ const X1 = {
|
|
|
1672
1672
|
mb: ["margin-bottom"],
|
|
1673
1673
|
mx: ["margin-left", "margin-right"],
|
|
1674
1674
|
my: ["margin-top", "margin-bottom"]
|
|
1675
|
-
},
|
|
1675
|
+
}, se = {
|
|
1676
1676
|
p: ["padding"],
|
|
1677
1677
|
pt: ["padding-top"],
|
|
1678
1678
|
pr: ["padding-right"],
|
|
@@ -1680,13 +1680,13 @@ const X1 = {
|
|
|
1680
1680
|
pb: ["padding-bottom"],
|
|
1681
1681
|
px: ["padding-left", "padding-right"],
|
|
1682
1682
|
py: ["padding-top", "padding-bottom"]
|
|
1683
|
-
},
|
|
1683
|
+
}, ce = {
|
|
1684
1684
|
...$e,
|
|
1685
|
-
...
|
|
1685
|
+
...se
|
|
1686
1686
|
}, Ze = {
|
|
1687
|
-
...
|
|
1687
|
+
...ce,
|
|
1688
1688
|
...Be,
|
|
1689
|
-
...
|
|
1689
|
+
...ae
|
|
1690
1690
|
}, He = {
|
|
1691
1691
|
textAlign: ["text-align"],
|
|
1692
1692
|
weight: ["font-weight"],
|
|
@@ -1733,7 +1733,7 @@ const $ = j(
|
|
|
1733
1733
|
size: h,
|
|
1734
1734
|
isCloseWithProgress: v,
|
|
1735
1735
|
closeProgressColor: w,
|
|
1736
|
-
hasNormalWeight:
|
|
1736
|
+
hasNormalWeight: y = !1,
|
|
1737
1737
|
stayOnSingleLine: b = !1,
|
|
1738
1738
|
...f
|
|
1739
1739
|
}, N) => {
|
|
@@ -1764,7 +1764,7 @@ const $ = j(
|
|
|
1764
1764
|
"c-btn--is-centered": i,
|
|
1765
1765
|
"c-btn--is-loading": u,
|
|
1766
1766
|
"c-btn--full-width": d,
|
|
1767
|
-
"c-btn--has-normal-weight":
|
|
1767
|
+
"c-btn--has-normal-weight": y,
|
|
1768
1768
|
"c-btn--stay-on-single-line": b
|
|
1769
1769
|
},
|
|
1770
1770
|
f?.className
|
|
@@ -1879,10 +1879,10 @@ const S2 = ({
|
|
|
1879
1879
|
}
|
|
1880
1880
|
);
|
|
1881
1881
|
}
|
|
1882
|
-
),
|
|
1882
|
+
), A1 = ({
|
|
1883
1883
|
bg: a = "ultramarine",
|
|
1884
1884
|
...s
|
|
1885
|
-
}) => /* @__PURE__ */ e(x, { ...s, className: p("c-divider-section", s?.className), children: /* @__PURE__ */ e(x, { as: "hr", className: p("c-divider-section__line"), bg: a }) }),
|
|
1885
|
+
}) => /* @__PURE__ */ e(x, { ...s, className: p("c-divider-section", s?.className), children: /* @__PURE__ */ e(x, { as: "hr", className: p("c-divider-section__line"), bg: a }) }), le = j(
|
|
1886
1886
|
({ color: a = "black", thickness: s = "thin", ...c }, l) => /* @__PURE__ */ e(
|
|
1887
1887
|
x,
|
|
1888
1888
|
{
|
|
@@ -2442,29 +2442,27 @@ const S2 = ({
|
|
|
2442
2442
|
/* @__PURE__ */ e("path", { d: "M25.673 3.828c3.065 0 5.678 1.85 6.738 4.462h4.113C35.334 3.53 30.937 0 25.674 0c-3.584 0-6.778 1.643-8.822 4.203C15.74 1.164 12.494 0 8.795 0 1.565 0 .31 4.578.31 7.256c0 .517.04.866.052 1.021h4.359V6.881c0-1.436.944-3.104 4.022-3.104 2.78 0 4.087 1.164 4.087 2.961 0 3.234-4.488 3.686-8.122 5.691C.685 14.654.026 16.102.026 20.254c0 .297.013 1.255-.026 1.54h17.111c-.039-.117-.026-1.501-.026-1.954 0-.35.013-1.436.026-1.953 2.056 2.393 5.135 3.906 8.575 3.906v-3.815c-4.01 0-7.256-3.17-7.256-7.075-.013-3.906 3.247-7.075 7.243-7.075Zm-11.86 13.93h-8.82c0-3.065 5.923-3.311 9.544-5.872.75-.53 1.462-1.125 1.527-1.255-.065.401-1.76 2.018-.608 4.682.038.09.09.194.129.285 0 .013.013.026.013.039.35.711.789 1.384 1.28 2.004-.66.04-2.625.117-3.065.117Z" }),
|
|
2443
2443
|
/* @__PURE__ */ e("path", { d: "M40.003 18.043c0-.44 0-.867.013-1.28.013-.402.013-.829 0-1.281-.013-.44 0-.906.013-1.371.013-.466.026-.983.026-1.54 0-.53-.103-.97-.297-1.332a1.949 1.949 0 0 0-.815-.801c-.35-.181-.79-.272-1.307-.272-.427 0-.84.078-1.215.233a2.283 2.283 0 0 0-.983.789 2.821 2.821 0 0 0-.375.711l-.143-.013c-.026-.103-.038-.194-.064-.284a1.779 1.779 0 0 0-.466-.802 2.01 2.01 0 0 0-.75-.479 2.853 2.853 0 0 0-.983-.155c-.466 0-.867.09-1.203.259-.35.18-.634.452-.866.814a2.66 2.66 0 0 0-.272.544l-.155-.013.038-.686c.013-.245.026-.504.026-.763H27.16c.026.828.039 1.694.039 2.574v6.337a81.8 81.8 0 0 1-.039 2.574h3.04c0-.271 0-.595-.013-.944-.013-.35-.013-.75-.013-1.19v-5.289c0-.285.026-.53.077-.738.052-.194.13-.362.246-.478.116-.117.246-.207.375-.26.142-.05.298-.077.466-.077.31 0 .543.09.672.272.13.181.194.44.194.802v3.324c0 .944-.013 1.772-.026 2.509a59.088 59.088 0 0 0-.038 2.082h2.974a21.63 21.63 0 0 1-.026-.944v-1.086c0-.401 0-.854-.013-1.358-.012-.505-.012-1.1-.012-1.76v-2.289c0-.284.025-.53.077-.737.052-.194.13-.362.233-.478a.934.934 0 0 1 .375-.26c.155-.05.297-.077.44-.077.31 0 .556.09.698.272.155.181.233.453.233.815v3.117c0 .957 0 1.836-.013 2.625-.013.802-.013 1.514-.039 2.147h3a25.636 25.636 0 0 1-.064-1.797v-1.966Zm4.695-10.089c-.143-.078-.324-.13-.57-.181a4.689 4.689 0 0 0-.944-.078c-.388 0-.698.026-.944.078-.245.052-.427.103-.556.181a.789.789 0 0 0-.297.285.79.79 0 0 0-.026.737c.052.116.142.22.284.31.143.09.324.168.57.22.245.065.568.09.97.09.387 0 .698-.025.944-.09.245-.065.44-.13.569-.22a.714.714 0 0 0 .284-.31.854.854 0 0 0 .078-.35.946.946 0 0 0-.078-.387.555.555 0 0 0-.284-.285Zm.026 8.019v-3.065c0-.466 0-.905.013-1.332.013-.427.013-.84.026-1.255H41.53c.025.556.038 1.126.038 1.707V17.5c0 .53 0 1.035-.013 1.54-.013.504-.013.982-.026 1.435-.012.453-.012.905-.012 1.332h3.233c-.013-.414-.026-.828-.026-1.241-.013-.414-.013-.854-.013-1.32v-1.487c.013-.543.013-1.125.013-1.785Zm10.269-3.065c0-.672-.103-1.202-.31-1.59a1.935 1.935 0 0 0-.88-.854c-.375-.181-.84-.272-1.396-.272-.53 0-.996.09-1.397.26-.401.167-.724.439-.996.8a2.847 2.847 0 0 0-.297.518h-.156c0-.207.013-.414.013-.633.013-.246.013-.518.013-.802h-3.22c0 .763 0 1.603.013 2.535.013.93.013 2.004.013 3.22v2.238c0 .66 0 1.267-.013 1.823s-.013 1.113-.013 1.669H49.6c0-.272 0-.57-.013-.854-.013-.297-.013-.634-.013-1.009v-5.522c0-.298.026-.557.078-.75.052-.195.13-.363.246-.48a1.18 1.18 0 0 1 .413-.284c.156-.064.324-.103.492-.103.246 0 .44.039.582.13.142.09.233.206.285.374.038.168.064.375.064.634v5.691c0 .802-.013 1.526-.026 2.173h3.26c-.013-.621-.026-1.242-.026-1.889-.013-.646-.013-1.345-.013-2.082 0-.362 0-.711.013-1.06.013-.35.013-.699 0-1.061s0-.789.013-1.242c.026-.504.038-1.021.038-1.578Zm10.114-2.588h-3.233v1.85c0 .362 0 .802.012 1.32.013.517.013 1.124.013 1.823v2.483c0 .285-.038.53-.103.724a1.53 1.53 0 0 1-.259.479.833.833 0 0 1-.414.272 1.626 1.626 0 0 1-.491.077c-.22 0-.401-.039-.556-.103a.578.578 0 0 1-.31-.362 2.128 2.128 0 0 1-.091-.634c0-1.112 0-2.147-.013-3.104-.013-.957 0-1.837.013-2.639.013-.802.026-1.539.039-2.198h-3.26c.026.633.04 1.267.04 1.888v2.056c0 .388 0 .75-.014 1.1-.013.349-.013.698-.013 1.073s0 .802-.013 1.268c-.013.465-.013.996-.013 1.59 0 .621.104 1.139.324 1.514.22.388.517.672.892.853.375.181.84.285 1.397.285.517 0 .983-.09 1.384-.259a2.617 2.617 0 0 0 1.345-1.358h.103c-.013.233-.013.466-.025.699-.013.232-.026.491-.04.776h3.26v-5.755c0-.841-.013-1.592-.026-2.238a42.601 42.601 0 0 1 0-1.824c.052-.556.052-1.112.052-1.655Zm7.36 10.076a13.238 13.238 0 0 1-.064-.71 11.059 11.059 0 0 0-.052-.7c-.026-.22-.039-.413-.052-.581a2.81 2.81 0 0 1-.608.168 3.84 3.84 0 0 1-.685.064c-.22 0-.401-.025-.543-.077a.585.585 0 0 1-.324-.259c-.077-.13-.103-.297-.103-.491 0-.919.013-1.798.026-2.665.013-.62.013-1.215.026-1.81h.142c.271 0 .543 0 .815.013.271 0 .504.012.737.012.22 0 .427.014.595.026v-1.034c0-.35 0-.699.013-1.035.013-.35.026-.672.052-1.009-.363 0-.712 0-1.048.013-.336 0-.686.013-1.06.013h-.208c.013-.685.04-1.32.09-1.914-.167 0-.348 0-.516.013-.169 0-.35.013-.53.013h-.531c-.284 0-.57 0-.828-.013-.271 0-.517-.013-.75-.013.013.634.013 1.254.013 1.875h-.918c0 .22 0 .453.013.699.013.245.013.491.013.75v1.5h.84c-.013.31-.013.621-.026.918-.012.595-.025 1.151-.025 1.695v2.897c0 .504.051.944.168 1.332.103.375.297.711.582.97.284.272.633.479 1.073.62.427.143.983.22 1.656.22.284 0 .556-.012.789-.038.233-.026.465-.052.685-.09.22-.04.453-.091.698-.169a34.399 34.399 0 0 1-.077-.582 16.366 16.366 0 0 1-.078-.62Zm8.484-8.794a2.87 2.87 0 0 0-.698-.828 2.81 2.81 0 0 0-1.087-.492 6.748 6.748 0 0 0-1.539-.168c-.724 0-1.345.104-1.888.298-.543.194-.996.53-1.358.97-.362.452-.634 1.073-.815 1.862-.168.79-.258 1.785-.258 2.975 0 .892.051 1.668.168 2.328.103.66.271 1.203.491 1.642.22.44.492.79.84 1.048.35.259.751.453 1.204.57.452.116.97.18 1.539.18.543 0 1.022-.038 1.41-.13.4-.09.737-.193 1.034-.335a2.15 2.15 0 0 0 .737-.556c.195-.233.337-.505.44-.815.104-.31.168-.66.207-1.048a8.3 8.3 0 0 0 .013-1.28c-.168 0-.388 0-.634.013-.245.013-.517.013-.815.013-.168 0-.336 0-.49-.013-.156-.013-.311-.013-.44-.013-.143 0-.272 0-.427-.013.025.284.025.543.012.763-.025.22-.051.4-.103.543a1.12 1.12 0 0 1-.194.35.663.663 0 0 1-.297.193 1.225 1.225 0 0 1-.388.052 1.42 1.42 0 0 1-.582-.103c-.143-.078-.272-.22-.376-.453a3.49 3.49 0 0 1-.245-.97 12.59 12.59 0 0 1-.09-1.41h.232c.246 0 .504.013.802.013h.931c.246 0 .504 0 .789-.013h.789c.246 0 .504.013.763.013.272 0 .517.013.763.013.013-.142.026-.35.026-.62.013-.26.013-.57.026-.906.013-.337.013-.686.013-1.035 0-.556-.039-1.06-.104-1.513a4.131 4.131 0 0 0-.4-1.125Zm-2.961 3.763c-.181 0-.375 0-.557.013-.18 0-.349.013-.517.013-.168 0-.323 0-.478-.013-.04 0-.078 0-.117-.013.013-.388.039-.737.078-1.034.064-.57.142-.996.245-1.307.104-.297.233-.504.376-.62a.923.923 0 0 1 .53-.169c.271 0 .491.065.66.181.168.117.271.337.336.634.051.298.09.711.09 1.229 0 .388-.013.698-.026.918 0 .052 0 .09-.013.13h-.051a4.015 4.015 0 0 1-.556.038Zm12.235 2.095a2.904 2.904 0 0 0-.557-1.021 4.21 4.21 0 0 0-.944-.815c-.375-.246-.853-.466-1.41-.66a5.238 5.238 0 0 1-.88-.4c-.232-.143-.413-.272-.542-.415a1.048 1.048 0 0 1-.259-.465 2.405 2.405 0 0 1-.065-.543c0-.169.013-.31.052-.427a.574.574 0 0 1 .168-.272.87.87 0 0 1 .31-.155 1.69 1.69 0 0 1 .48-.052c.18 0 .335.026.465.065.116.039.22.103.297.194.078.09.13.194.168.349.026.142.04.31.04.504 0 .143 0 .272.012.376.013.103 0 .22-.039.349.168-.013.35-.013.544-.013h1.19c.18 0 .362 0 .53.013.168.013.323.013.452.013.026-.117.04-.233.026-.35a2.82 2.82 0 0 1-.013-.336c.013-.116.013-.22.013-.336a4.69 4.69 0 0 0-.116-1.1 2.55 2.55 0 0 0-.362-.827c-.168-.233-.401-.414-.699-.57-.297-.155-.672-.258-1.112-.336-.44-.077-.957-.103-1.54-.103-.672 0-1.266.052-1.771.168-.504.104-.918.272-1.254.505-.337.232-.57.543-.725.93-.155.389-.233.854-.233 1.397 0 .492.052.945.143 1.333.09.4.245.75.478 1.06.22.31.53.595.918.828.389.246.867.453 1.45.634.348.155.633.297.866.44a3 3 0 0 1 .556.4c.142.13.246.285.31.453.078.168.104.35.104.543 0 .168-.013.324-.052.453a.768.768 0 0 1-.168.323.53.53 0 0 1-.298.168 2.43 2.43 0 0 1-.491.04 1.53 1.53 0 0 1-.505-.078.885.885 0 0 1-.349-.194.848.848 0 0 1-.18-.375 2.433 2.433 0 0 1-.066-.557c0-.09.013-.194.026-.31a1.681 1.681 0 0 0 0-.362c-.142.013-.323.013-.53.013h-1.255c-.18 0-.349 0-.504-.013-.155-.013-.297-.013-.414-.013 0 .09 0 .181-.013.272-.013.09-.013.207-.026.323-.012.116-.012.259-.012.414 0 .4.038.75.129 1.06.09.31.22.595.388.854s.414.466.711.62c.298.156.673.272 1.125.363.44.09.983.13 1.591.13.737 0 1.345-.065 1.85-.195.504-.13.918-.31 1.228-.569.31-.258.556-.582.712-.983.155-.4.233-.892.233-1.461 0-.453-.052-.893-.181-1.28Z" })
|
|
2444
2444
|
] }),
|
|
2445
|
-
/* @__PURE__ */ t("symbol", {
|
|
2446
|
-
/* @__PURE__ */
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
fill: "none"
|
|
2453
|
-
}
|
|
2445
|
+
/* @__PURE__ */ t("symbol", { viewBox: "0 0 190 47.4", id: "logo-animaux", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2446
|
+
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "daa", children: /* @__PURE__ */ e(
|
|
2447
|
+
"path",
|
|
2448
|
+
{
|
|
2449
|
+
d: "M0 0h190v47.4H0z",
|
|
2450
|
+
style: {
|
|
2451
|
+
fill: "none"
|
|
2454
2452
|
}
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
] }),
|
|
2453
|
+
}
|
|
2454
|
+
) }) }),
|
|
2458
2455
|
/* @__PURE__ */ t(
|
|
2459
2456
|
"g",
|
|
2460
2457
|
{
|
|
2461
2458
|
style: {
|
|
2462
|
-
clipPath: "url(#
|
|
2459
|
+
clipPath: "url(#daa)"
|
|
2463
2460
|
},
|
|
2464
2461
|
children: [
|
|
2465
2462
|
/* @__PURE__ */ e(
|
|
2466
2463
|
"path",
|
|
2467
2464
|
{
|
|
2465
|
+
fill: "currentColor",
|
|
2468
2466
|
d: "M66.5 44V29.2c0-1.3-.2-2.3-.5-3.2s-.8-1.6-1.4-2.2c-.7-.6-1.5-1-2.5-1.3s-2.3-.5-3.8-.5-2.8.2-3.9.5-2 .9-2.7 1.6q-1.05 1.2-1.5 3t-.3 4.5c.3 0 .6 0 1-.1H56v-2c0-.5.2-1 .3-1.3.2-.3.4-.5.7-.6s.6-.2 1-.2.7 0 1 .2c.3.1.5.3.7.5s.3.4.3.7v4.5c-.3 0-.7-.1-1-.2h-1.9c-1.7 0-3.1.2-4.3.7s-2 1.2-2.5 2.2c-.6 1-.8 2.4-.8 4.2s.1 2.6.3 3.5.6 1.6 1 2.1c.5.5 1 .9 1.7 1.1s1.4.3 2.3.3 2.1-.2 2.9-.6 1.4-1 1.9-1.9c.2-.4.3-.8.5-1.2h.3v2.8c0 .2 0 .3.2.4 0 0 .2.2.4.2h6.1c-.1-.3-.2-.7-.2-1.2s0-1.1-.2-1.9Zm-7.2-2.7c-.2.4-.5.6-.8.8s-.7.2-1.1.2-.8 0-1.1-.2c-.3-.1-.5-.5-.6-.9-.1-.5-.2-1.2-.2-2s0-1.5.3-2c.2-.4.5-.8.8-.9.4-.2.9-.2 1.5-.2H60v1.6c0 .9 0 1.6-.2 2.2 0 .6-.3 1-.5 1.4m28.4-2.8V28.3c0-1.5-.2-2.8-.6-3.7s-1-1.6-1.8-2-1.8-.6-2.9-.6-2 .2-2.9.6-1.6 1-2.1 1.8q-.3.45-.6 1.2h-.2v-3.3h-6.7V47h6.7V31.6c0-.6 0-1.2.2-1.7.1-.5.3-.8.5-1.1s.5-.5.8-.6.7-.2 1.1-.2.9 0 1.2.2.5.5.6.8.2.9.2 1.5V47H88c0-1.4-.1-2.7-.1-4.1v-4.5Zm10-7.4v-8.7h-6.8v24.8h6.8V31.3Zm30.2 7.9V27.6c0-1.2-.2-2.3-.6-3.1s-1-1.4-1.7-1.8-1.7-.6-2.8-.6-1.7.2-2.5.5c-.8.4-1.5.9-2 1.7-.3.4-.6 1-.8 1.6h-.2c0-.2-.1-.5-.2-.7-.2-.7-.6-1.3-1-1.8s-.9-.8-1.5-1.1c-.6-.2-1.3-.4-2.1-.4s-1.8.2-2.5.6-1.3 1-1.8 1.8c-.2.4-.4.8-.6 1.3h-.3v-3.3h-6.4v24.6h6.3V31.4c0-.6 0-1.2.2-1.6.1-.4.3-.8.5-1.1s.5-.5.8-.6.6-.2 1-.2q1.05 0 1.5.6c.45.6.4 1 .4 1.8V47h6.2c0-.7-.1-1.3-.1-2V31.5c0-.7 0-1.2.2-1.7s.3-.8.5-1.1.5-.5.8-.6.6-.2 1-.2c.7 0 1.1.2 1.4.6s.4 1 .4 1.9v16.5h6.3v-8Zm19.6 5V29.2c0-1.3-.2-2.3-.5-3.2s-.8-1.6-1.4-2.2-1.5-1-2.6-1.3-2.3-.5-3.8-.5-2.8.2-3.9.5-2 .9-2.6 1.6q-1.05 1.2-1.5 3t-.3 4.5c.3 0 .6 0 1-.1h5.1c0-.8-.1-1.5 0-2 0-.5.2-1 .3-1.3s.4-.5.7-.6.6-.2 1-.2.7 0 1 .2c.3.1.5.3.7.5.1.2.3.4.3.7s.1.7.1 1.1v3.4c-.3 0-.7-.1-1-.2h-1.9c-1.7 0-3.1.2-4.3.7-1.1.5-2 1.2-2.6 2.2s-.8 2.4-.8 4.2.1 2.6.3 3.5.6 1.6 1 2.1c.5.5 1 .9 1.7 1.1s1.4.3 2.3.3 2.1-.2 2.9-.6 1.4-1 1.9-1.9c.2-.4.4-.8.5-1.2h.3v2.8c0 .2 0 .3.1.4 0 0 .2.2.4.2h6.1c-.1-.3-.2-.7-.2-1.2s-.1-1.1-.1-1.9Zm-7.2-2.7c-.2.4-.5.6-.8.8s-.7.2-1.1.2-.8 0-1.1-.2c-.3-.1-.5-.5-.6-.9s-.2-1.2-.2-2 0-1.5.3-2c.2-.4.5-.8.8-.9s.9-.2 1.5-.2h1.9v1.6c0 .9 0 1.6-.1 2.2s-.3 1-.5 1.4Zm28.5-19h-6.7V38c0 .7 0 1.2-.2 1.7s-.3.8-.6 1.1q-.45.45-.9.6c-.3.1-.7.2-1 .2-.5 0-.9 0-1.1-.2s-.5-.4-.6-.8-.2-.9-.2-1.5V22.5h-6.7v19c0 1.2.2 2.6.7 3.5.4.9 1.1 1.6 1.9 2s1.8.6 2.8.6 2.2-.2 3-.5c.8-.4 1.5-1 2.1-1.7.2-.4.5-.8.7-1.3h.2v3.2h6.7V22.5ZM189 44c-.3-1.1-.7-2.2-1.1-3.4l-1.2-3.6c-.3-.8-.5-1.6-.8-2.4.4-1.2.8-2.5 1.2-3.7q.75-2.55 1.5-4.8c.75-2.25.9-2.8 1.3-3.9h-6.8c-.2.9-.4 1.9-.7 3.1-.3 1.1-.6 2.4-.9 3.8-.2.9-.4 1.8-.5 2.6 0 .3-.1.6-.1.8h-.2c0-.2 0-.5-.1-.7-.1-.8-.3-1.6-.5-2.5-.3-1.3-.6-2.6-.9-3.8s-.5-2.2-.7-3.2H171c.4 1.1.9 2.5 1.4 4s1 3.1 1.6 4.8c.4 1.1.7 2.3 1.1 3.4-.2.7-.5 1.5-.7 2.2-.4 1.3-.9 2.6-1.3 3.8s-.8 2.4-1.2 3.5-.7 2.1-1 3h6.8c.2-.9.4-1.8.6-2.8s.5-2 .9-3.2q.3-1.65.6-3c0-.4.1-.8.2-1.1h.3c0 .3.1.7.2 1.1.1.9.4 1.8.6 2.9.2.8.4 1.6.5 2.2.2.6.3 1.3.5 1.9s.3 1.3.5 2h7.6c-.3-.9-.7-1.9-1-3Z",
|
|
2469
2467
|
className: "dast0"
|
|
2470
2468
|
}
|
|
@@ -2479,13 +2477,7 @@ const S2 = ({
|
|
|
2479
2477
|
]
|
|
2480
2478
|
}
|
|
2481
2479
|
),
|
|
2482
|
-
/* @__PURE__ */ e(
|
|
2483
|
-
"path",
|
|
2484
|
-
{
|
|
2485
|
-
d: "M97.1 5.9c-1.1 0-1.8 2.1-1.8 3.2s.9 2.3 2 2.3 2-1 2-2.3-1.2-3.2-2.3-3.2ZM99.4 20c-.6.4-1.2.5-1.9.4s-1.3-.4-1.9-.7c-.7-.3-1.6-.3-2.3 0-.6.3-1.2.6-1.9.7s-1.3 0-1.9-.4-.9-1.2-.8-2c.1-.7.6-1.2 1.1-1.6s1.1-.7 1.5-1.2.7-1.2 1-1.9c.9-1.6 3.2-1.6 4.2 0 .3.6.6 1.3 1 1.9.4.5 1 .8 1.5 1.2s1 .9 1.1 1.6c.1.8-.2 1.6-.8 2Zm-9.3-7.4c-.4-.9-1.6-2.4-2.5-2s-1.2 2.3-.8 3.3 1.4 1.5 2.3 1.2 1.3-1.5.9-2.5ZM92 5.9c-1.1 0-2.3 2-2.3 3.2s.9 2.3 2 2.3 2-1 2-2.3-.7-3.2-1.8-3.2Zm9.5 4.6c-.9-.4-2.1 1.1-2.5 2-.4 1 0 2.1.9 2.5s1.9-.2 2.3-1.2.1-3-.8-3.3Z",
|
|
2486
|
-
className: "dast0"
|
|
2487
|
-
}
|
|
2488
|
-
)
|
|
2480
|
+
/* @__PURE__ */ e("path", { d: "M97.1 5.9c-1.1 0-1.8 2.1-1.8 3.2s.9 2.3 2 2.3 2-1 2-2.3-1.2-3.2-2.3-3.2ZM99.4 20c-.6.4-1.2.5-1.9.4s-1.3-.4-1.9-.7c-.7-.3-1.6-.3-2.3 0-.6.3-1.2.6-1.9.7s-1.3 0-1.9-.4-.9-1.2-.8-2c.1-.7.6-1.2 1.1-1.6s1.1-.7 1.5-1.2.7-1.2 1-1.9c.9-1.6 3.2-1.6 4.2 0 .3.6.6 1.3 1 1.9.4.5 1 .8 1.5 1.2s1 .9 1.1 1.6c.1.8-.2 1.6-.8 2Zm-9.3-7.4c-.4-.9-1.6-2.4-2.5-2s-1.2 2.3-.8 3.3 1.4 1.5 2.3 1.2 1.3-1.5.9-2.5ZM92 5.9c-1.1 0-2.3 2-2.3 3.2s.9 2.3 2 2.3 2-1 2-2.3-.7-3.2-1.8-3.2Zm9.5 4.6c-.9-.4-2.1 1.1-2.5 2-.4 1 0 2.1.9 2.5s1.9-.2 2.3-1.2.1-3-.8-3.3Z" })
|
|
2489
2481
|
] }),
|
|
2490
2482
|
/* @__PURE__ */ t("symbol", { viewBox: "0 0 120 50", id: "logo-games", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2491
2483
|
/* @__PURE__ */ t("g", { clipPath: "url(#dba)", children: [
|
|
@@ -3253,7 +3245,7 @@ function H2({ title: a, ratio: s = "auto", htmlIframeProps: c, ...l }) {
|
|
|
3253
3245
|
const je = ({ src: a, formats: s }) => {
|
|
3254
3246
|
if (s !== void 0 && s.length > 0)
|
|
3255
3247
|
return s.map((c) => `${a.replace(/%format/, c)} ${c.split("x")[0]}w`).join(", ");
|
|
3256
|
-
},
|
|
3248
|
+
}, I1 = ({ src: a, format: s }) => a.replace(/%format/, s), i1 = ({
|
|
3257
3249
|
id: a = "",
|
|
3258
3250
|
src: s = "",
|
|
3259
3251
|
defaultFormat: c,
|
|
@@ -3278,14 +3270,14 @@ const je = ({ src: a, formats: s }) => {
|
|
|
3278
3270
|
};
|
|
3279
3271
|
if (!c)
|
|
3280
3272
|
return /* @__PURE__ */ e(x, { as: "img", src: s, ...w });
|
|
3281
|
-
const
|
|
3273
|
+
const y = c.split("x"), b = y[0], f = y[1];
|
|
3282
3274
|
let N, M = `data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='${b}'%20height='${f}'%3E%3C/svg%3E`;
|
|
3283
|
-
if (s && (M =
|
|
3284
|
-
const B = Number(b) * 2, Z = Number(f) * 2, P = `${B}x${Z}`, k =
|
|
3275
|
+
if (s && (M = I1({ src: s, format: c }), N = je({ formats: l, src: s }) ?? ""), u) {
|
|
3276
|
+
const B = Number(b) * 2, Z = Number(f) * 2, P = `${B}x${Z}`, k = I1({ src: s, format: P });
|
|
3285
3277
|
N = N ? `${N}, ${k} 2x` : `${k} 2x`;
|
|
3286
3278
|
}
|
|
3287
3279
|
return w.width = b || void 0, w.height = f !== "0" ? f : void 0, w.sizes = n || void 0, /* @__PURE__ */ e(x, { ...w, as: "img", src: M, ...N ? { srcSet: N } : {} });
|
|
3288
|
-
}, r1 = ({ size: a, ...s }) => /* @__PURE__ */ e(g, { as: "span", size: a || "s", ...s, children: "•" }),
|
|
3280
|
+
}, r1 = ({ size: a, ...s }) => /* @__PURE__ */ e(g, { as: "span", size: a || "s", ...s, children: "•" }), T1 = j(
|
|
3289
3281
|
({
|
|
3290
3282
|
id: a,
|
|
3291
3283
|
className: s,
|
|
@@ -3300,7 +3292,7 @@ const je = ({ src: a, formats: s }) => {
|
|
|
3300
3292
|
msg: h,
|
|
3301
3293
|
containerProps: v,
|
|
3302
3294
|
isRounded: w,
|
|
3303
|
-
isTransparent:
|
|
3295
|
+
isTransparent: y,
|
|
3304
3296
|
isLarge: b,
|
|
3305
3297
|
children: f,
|
|
3306
3298
|
hint: N,
|
|
@@ -3342,7 +3334,7 @@ const je = ({ src: a, formats: s }) => {
|
|
|
3342
3334
|
gap: n && f ? "xs" : void 0,
|
|
3343
3335
|
className: p("c-input-container", {
|
|
3344
3336
|
"c-input-container--rounded": w,
|
|
3345
|
-
"c-input-container--transparent":
|
|
3337
|
+
"c-input-container--transparent": y,
|
|
3346
3338
|
"c-input-container--large": b,
|
|
3347
3339
|
[`c-input-container--${i}`]: n || f
|
|
3348
3340
|
}),
|
|
@@ -3429,7 +3421,7 @@ const je = ({ src: a, formats: s }) => {
|
|
|
3429
3421
|
);
|
|
3430
3422
|
}, L2 = ({ children: a }) => /* @__PURE__ */ e(V, { as: "h4", size: "xxs", weight: "bold", color: "ultramarine", children: a }), H = (a) => {
|
|
3431
3423
|
if (a.propValue && ["boolean", "string", "number"].includes(typeof a.propValue) || !a.propValue) {
|
|
3432
|
-
const s =
|
|
3424
|
+
const s = q1({
|
|
3433
3425
|
className: a.className,
|
|
3434
3426
|
defaultModifier: a.defaultModifier || "xs",
|
|
3435
3427
|
propValue: a.propValue
|
|
@@ -3439,14 +3431,14 @@ const je = ({ src: a, formats: s }) => {
|
|
|
3439
3431
|
return Object.entries(
|
|
3440
3432
|
a.propValue
|
|
3441
3433
|
).reduce((s, [c, l]) => {
|
|
3442
|
-
const r =
|
|
3434
|
+
const r = q1({
|
|
3443
3435
|
className: a.className,
|
|
3444
3436
|
defaultModifier: c,
|
|
3445
3437
|
propValue: l
|
|
3446
3438
|
});
|
|
3447
3439
|
return r && s.push(r), s;
|
|
3448
3440
|
}, []);
|
|
3449
|
-
}, Ie = (a) => a.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(),
|
|
3441
|
+
}, Ie = (a) => a.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), q1 = (a) => {
|
|
3450
3442
|
if (a.propValue !== void 0) {
|
|
3451
3443
|
if (typeof a.propValue != "boolean") {
|
|
3452
3444
|
const s = Ie(
|
|
@@ -3498,8 +3490,8 @@ const je = ({ src: a, formats: s }) => {
|
|
|
3498
3490
|
...H({
|
|
3499
3491
|
propValue: c
|
|
3500
3492
|
}),
|
|
3501
|
-
|
|
3502
|
-
),
|
|
3493
|
+
te(l)
|
|
3494
|
+
), te = (a) => p(
|
|
3503
3495
|
...H({
|
|
3504
3496
|
propValue: a.alignItems,
|
|
3505
3497
|
className: "items"
|
|
@@ -3534,24 +3526,24 @@ const je = ({ src: a, formats: s }) => {
|
|
|
3534
3526
|
className: "self"
|
|
3535
3527
|
})
|
|
3536
3528
|
), o1 = (a) => typeof a.props == "object" ? Object.keys(a.props).reduce((s, c) => (a.systemPropNames.includes(c) || (s[c] = a.props[c]), s), {}) : {}, Re = (a) => p(
|
|
3537
|
-
Object.entries(a).filter(([s]) => Object.keys(
|
|
3529
|
+
Object.entries(a).filter(([s]) => Object.keys(ae).includes(s)).reduce((s, [c, l]) => (s.push(
|
|
3538
3530
|
...H({
|
|
3539
3531
|
className: c,
|
|
3540
3532
|
propValue: l
|
|
3541
3533
|
})
|
|
3542
3534
|
), s), [])
|
|
3543
|
-
),
|
|
3544
|
-
Object.entries(a).filter(([s]) => Object.keys(
|
|
3535
|
+
), re = (a) => p(
|
|
3536
|
+
Object.entries(a).filter(([s]) => Object.keys(ce).includes(s)).reduce((s, [c, l]) => (s.push(
|
|
3545
3537
|
...H({
|
|
3546
3538
|
className: c,
|
|
3547
3539
|
propValue: l
|
|
3548
3540
|
})
|
|
3549
3541
|
), s), [])
|
|
3550
|
-
),
|
|
3551
|
-
|
|
3542
|
+
), ne = (a) => p(
|
|
3543
|
+
re(a),
|
|
3552
3544
|
Fe(a),
|
|
3553
3545
|
Re(a)
|
|
3554
|
-
),
|
|
3546
|
+
), F1 = ({
|
|
3555
3547
|
textAlign: a,
|
|
3556
3548
|
weight: s,
|
|
3557
3549
|
textTransform: c,
|
|
@@ -3583,7 +3575,7 @@ const je = ({ src: a, formats: s }) => {
|
|
|
3583
3575
|
systemPropNames: Object.keys(Ze)
|
|
3584
3576
|
}),
|
|
3585
3577
|
ref: l,
|
|
3586
|
-
className: p(
|
|
3578
|
+
className: p(ne(c), c?.className),
|
|
3587
3579
|
children: s
|
|
3588
3580
|
}
|
|
3589
3581
|
));
|
|
@@ -3593,7 +3585,7 @@ const m = j(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3593
3585
|
{
|
|
3594
3586
|
...o1({
|
|
3595
3587
|
props: c,
|
|
3596
|
-
systemPropNames: Object.keys(
|
|
3588
|
+
systemPropNames: Object.keys(ee)
|
|
3597
3589
|
}),
|
|
3598
3590
|
as: a,
|
|
3599
3591
|
ref: l,
|
|
@@ -3617,7 +3609,7 @@ const m = j(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3617
3609
|
), j2 = [1, 2, 3, 4, 5, 6, 12, "2-of-3"], s1 = ({ colsNumber: a, gap: s, gapX: c, gapY: l, children: r, ...n }) => Y.createElement(x, {
|
|
3618
3610
|
...o1({
|
|
3619
3611
|
props: n,
|
|
3620
|
-
systemPropNames: Object.keys(
|
|
3612
|
+
systemPropNames: Object.keys(ee)
|
|
3621
3613
|
}),
|
|
3622
3614
|
className: p(
|
|
3623
3615
|
"grid",
|
|
@@ -3637,7 +3629,7 @@ const m = j(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3637
3629
|
className: "grid-gap-col",
|
|
3638
3630
|
propValue: l
|
|
3639
3631
|
}),
|
|
3640
|
-
p(
|
|
3632
|
+
p(te(n), n?.className)
|
|
3641
3633
|
),
|
|
3642
3634
|
children: r
|
|
3643
3635
|
}), C = j(
|
|
@@ -3655,7 +3647,7 @@ const m = j(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3655
3647
|
tabColor: h,
|
|
3656
3648
|
defaultColor: v = "ultramarine",
|
|
3657
3649
|
isUnderlined: w,
|
|
3658
|
-
...
|
|
3650
|
+
...y
|
|
3659
3651
|
}, b) => {
|
|
3660
3652
|
if ((n || l) && c)
|
|
3661
3653
|
throw new Error("You can't use the color prop together with the variant or buttonColor prop");
|
|
@@ -3667,8 +3659,8 @@ const m = j(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3667
3659
|
"c-tab--selected": d,
|
|
3668
3660
|
"c-tab--unselected": !d
|
|
3669
3661
|
},
|
|
3670
|
-
|
|
3671
|
-
|
|
3662
|
+
F1({ weight: i, whiteSpace: o }),
|
|
3663
|
+
y?.className
|
|
3672
3664
|
) : p(
|
|
3673
3665
|
"c-link",
|
|
3674
3666
|
{
|
|
@@ -3676,17 +3668,17 @@ const m = j(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3676
3668
|
[`c-btn--${l}`]: l && !c,
|
|
3677
3669
|
[`c-btn--${n}`]: n && !c
|
|
3678
3670
|
},
|
|
3679
|
-
|
|
3671
|
+
F1({ weight: i, whiteSpace: o }),
|
|
3680
3672
|
H({
|
|
3681
3673
|
className: "text",
|
|
3682
3674
|
propValue: r
|
|
3683
3675
|
}),
|
|
3684
3676
|
{ "c-link--is-underlined": w },
|
|
3685
|
-
|
|
3677
|
+
y?.className
|
|
3686
3678
|
);
|
|
3687
|
-
return /* @__PURE__ */ e(x, { ...
|
|
3679
|
+
return /* @__PURE__ */ e(x, { ...y, as: a, ref: b, color: !u && !h && !f ? c || (v === "inherit" ? void 0 : v) : void 0, className: N, children: s });
|
|
3688
3680
|
}
|
|
3689
|
-
),
|
|
3681
|
+
), D1 = ({
|
|
3690
3682
|
dialogId: a,
|
|
3691
3683
|
children: s,
|
|
3692
3684
|
variant: c = "center",
|
|
@@ -3718,7 +3710,7 @@ const m = j(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3718
3710
|
]
|
|
3719
3711
|
}
|
|
3720
3712
|
);
|
|
3721
|
-
}, Oe = (a) => /* @__PURE__ */ e(x, { ...a, className: p("c-overlay c-overlay--with-bg", a?.className) }),
|
|
3713
|
+
}, Oe = (a) => /* @__PURE__ */ e(x, { ...a, className: p("c-overlay c-overlay--with-bg", a?.className) }), R1 = ({ isWhite: a }) => /* @__PURE__ */ e("div", { className: p("c-pipe", { "c-pipe--is-white": a }) }), I2 = ({
|
|
3722
3714
|
id: a,
|
|
3723
3715
|
required: s,
|
|
3724
3716
|
label: c,
|
|
@@ -3783,7 +3775,7 @@ const m = j(({ as: a = "div", children: s, ...c }, l) => /* @__PURE__ */ e(
|
|
|
3783
3775
|
children: "Lire aussi"
|
|
3784
3776
|
}
|
|
3785
3777
|
) : /* @__PURE__ */ e(A, { color: "grey-400", textProps: { fontFamily: "base" }, children: "Lire aussi" }),
|
|
3786
|
-
!i && /* @__PURE__ */ e(
|
|
3778
|
+
!i && /* @__PURE__ */ e(R1, {}),
|
|
3787
3779
|
/* @__PURE__ */ e(
|
|
3788
3780
|
C,
|
|
3789
3781
|
{
|
|
@@ -3864,7 +3856,7 @@ const T2 = ({ inner: a, children: s, ...c }) => /* @__PURE__ */ e(
|
|
|
3864
3856
|
isLarge: h,
|
|
3865
3857
|
hint: v,
|
|
3866
3858
|
error: w,
|
|
3867
|
-
...
|
|
3859
|
+
...y
|
|
3868
3860
|
}, b) => /* @__PURE__ */ t(
|
|
3869
3861
|
m,
|
|
3870
3862
|
{
|
|
@@ -3893,15 +3885,15 @@ const T2 = ({ inner: a, children: s, ...c }) => /* @__PURE__ */ e(
|
|
|
3893
3885
|
`c-select__select--${d}`,
|
|
3894
3886
|
{ "c-select__select--has-icon": !!u },
|
|
3895
3887
|
{ "c-select__select--large": h },
|
|
3896
|
-
|
|
3888
|
+
re(y),
|
|
3897
3889
|
s
|
|
3898
3890
|
),
|
|
3899
3891
|
required: c,
|
|
3900
3892
|
defaultValue: r || n.filter((f) => f.isSelected)?.pop()?.value || "",
|
|
3901
3893
|
"aria-describedby": [v ? `${a}-hint` : null, w ? `${a}-error` : null].filter(Boolean).join(" ") || void 0,
|
|
3902
3894
|
...o1({
|
|
3903
|
-
props:
|
|
3904
|
-
systemPropNames: Object.keys(
|
|
3895
|
+
props: y,
|
|
3896
|
+
systemPropNames: Object.keys(se)
|
|
3905
3897
|
}),
|
|
3906
3898
|
children: [
|
|
3907
3899
|
i && /* @__PURE__ */ e("option", { value: "", disabled: !0, hidden: !0, children: i }),
|
|
@@ -3939,7 +3931,7 @@ const T2 = ({ inner: a, children: s, ...c }) => /* @__PURE__ */ e(
|
|
|
3939
3931
|
...c
|
|
3940
3932
|
}
|
|
3941
3933
|
);
|
|
3942
|
-
var
|
|
3934
|
+
var _ = /* @__PURE__ */ ((a) => (a.MOBILE = "mobile", a.DESKTOP = "desktop", a))(_ || {}), G = /* @__PURE__ */ ((a) => (a.embed = "embed", a.photo = "photo", a.podcast = "podcast", a.video = "video", a))(G || {});
|
|
3943
3935
|
const d1 = j(
|
|
3944
3936
|
({
|
|
3945
3937
|
layout: a,
|
|
@@ -3964,7 +3956,7 @@ const d1 = j(
|
|
|
3964
3956
|
"data-slider-delay": u,
|
|
3965
3957
|
children: [
|
|
3966
3958
|
/* @__PURE__ */ e(x, { className: "c-slider__viewport js-navigation-container__list", children: /* @__PURE__ */ e(m, { className: "c-slider__list", alignItems: "center", gap: c, children: s }) }),
|
|
3967
|
-
a ===
|
|
3959
|
+
a === _.DESKTOP && /* @__PURE__ */ e(x, { className: "c-slider__buttons-container", children: Array.from(["previous", "next"], (w) => /* @__PURE__ */ e(
|
|
3968
3960
|
x,
|
|
3969
3961
|
{
|
|
3970
3962
|
pr: l && w === "previous" && (r === "translucent" && n === "small" ? "m" : "l") || void 0,
|
|
@@ -4161,8 +4153,8 @@ const d1 = j(
|
|
|
4161
4153
|
]
|
|
4162
4154
|
}
|
|
4163
4155
|
),
|
|
4164
|
-
r?.length && /* @__PURE__ */ e(m, { wrap: "wrap", gapY: "s", gapX: "xxs-2", mt: "xxs-2", children: r.map(({ iconProps:
|
|
4165
|
-
|
|
4156
|
+
r?.length && /* @__PURE__ */ e(m, { wrap: "wrap", gapY: "s", gapX: "xxs-2", mt: "xxs-2", children: r.map(({ iconProps: y, textProps: b, value: f }, N) => /* @__PURE__ */ t(m, { alignItems: "center", gap: "xxs", children: [
|
|
4157
|
+
y && /* @__PURE__ */ e(z, { ...y }),
|
|
4166
4158
|
/* @__PURE__ */ e(g, { dangerouslySetInnerHTML: { __html: f }, role: "alert", ...b })
|
|
4167
4159
|
] }, N?.toString())) }),
|
|
4168
4160
|
h && /* @__PURE__ */ e(
|
|
@@ -4184,7 +4176,7 @@ const d1 = j(
|
|
|
4184
4176
|
)
|
|
4185
4177
|
), V = j(
|
|
4186
4178
|
({ as: a = "h1", size: s, children: c, ...l }, r) => /* @__PURE__ */ e(
|
|
4187
|
-
|
|
4179
|
+
ie,
|
|
4188
4180
|
{
|
|
4189
4181
|
...l,
|
|
4190
4182
|
as: a,
|
|
@@ -4201,7 +4193,7 @@ const d1 = j(
|
|
|
4201
4193
|
)
|
|
4202
4194
|
), g = j(
|
|
4203
4195
|
({ as: a = "p", size: s, highlighted: c, children: l, ...r }, n) => /* @__PURE__ */ e(
|
|
4204
|
-
|
|
4196
|
+
ie,
|
|
4205
4197
|
{
|
|
4206
4198
|
as: c ? "span" : a,
|
|
4207
4199
|
bg: c ? "sponsoring" : r.bg,
|
|
@@ -4220,7 +4212,7 @@ const d1 = j(
|
|
|
4220
4212
|
children: l
|
|
4221
4213
|
}
|
|
4222
4214
|
)
|
|
4223
|
-
),
|
|
4215
|
+
), ie = j(
|
|
4224
4216
|
({ as: a = "p", children: s, ...c }, l) => s && s.toString().length || c?.dangerouslySetInnerHTML ? /* @__PURE__ */ e(
|
|
4225
4217
|
x,
|
|
4226
4218
|
{
|
|
@@ -4231,7 +4223,7 @@ const d1 = j(
|
|
|
4231
4223
|
as: a,
|
|
4232
4224
|
ref: l,
|
|
4233
4225
|
className: p(
|
|
4234
|
-
|
|
4226
|
+
F1(c),
|
|
4235
4227
|
c?.className
|
|
4236
4228
|
),
|
|
4237
4229
|
children: s
|
|
@@ -4337,7 +4329,7 @@ const d1 = j(
|
|
|
4337
4329
|
s.length > 0 && /* @__PURE__ */ e(A, { color: r, size: "xs", children: s }),
|
|
4338
4330
|
d
|
|
4339
4331
|
] });
|
|
4340
|
-
return c ===
|
|
4332
|
+
return c === _.DESKTOP && (u = /* @__PURE__ */ t(
|
|
4341
4333
|
m,
|
|
4342
4334
|
{
|
|
4343
4335
|
...o,
|
|
@@ -4406,13 +4398,13 @@ const d1 = j(
|
|
|
4406
4398
|
defaultFormat: "1444x920",
|
|
4407
4399
|
formats: ["1444x920", "722x460", "640x408", "320x204"],
|
|
4408
4400
|
sizes: "100vw"
|
|
4409
|
-
},
|
|
4401
|
+
}, f1 = ({
|
|
4410
4402
|
type: a = G.photo,
|
|
4411
4403
|
src: s,
|
|
4412
4404
|
caption: c,
|
|
4413
4405
|
source: l,
|
|
4414
4406
|
credits: r,
|
|
4415
|
-
layout: n =
|
|
4407
|
+
layout: n = _.MOBILE,
|
|
4416
4408
|
imgProps: i,
|
|
4417
4409
|
imagesNumber: o,
|
|
4418
4410
|
videoIs16by9: d = !1,
|
|
@@ -4420,7 +4412,7 @@ const d1 = j(
|
|
|
4420
4412
|
...h
|
|
4421
4413
|
}) => {
|
|
4422
4414
|
let v = Je;
|
|
4423
|
-
return n ===
|
|
4415
|
+
return n === _.DESKTOP && (v = Ye), /* @__PURE__ */ t(x, { ...h, as: "figure", className: "c-media", children: [
|
|
4424
4416
|
a === G.photo && /* @__PURE__ */ t("div", { className: "c-media__content", children: [
|
|
4425
4417
|
/* @__PURE__ */ e(
|
|
4426
4418
|
i1,
|
|
@@ -4432,7 +4424,7 @@ const d1 = j(
|
|
|
4432
4424
|
sizes: i?.sizes || v.sizes,
|
|
4433
4425
|
alt: c,
|
|
4434
4426
|
fetchPriority: i?.fetchPriority || "auto",
|
|
4435
|
-
lazyLoad: i?.lazyLoad
|
|
4427
|
+
lazyLoad: i?.lazyLoad !== !1
|
|
4436
4428
|
}
|
|
4437
4429
|
),
|
|
4438
4430
|
u && o && o >= 2 && /* @__PURE__ */ e(
|
|
@@ -4523,7 +4515,7 @@ const d1 = j(
|
|
|
4523
4515
|
themeColor: c,
|
|
4524
4516
|
...l
|
|
4525
4517
|
}) => /* @__PURE__ */ e(m, { ...l, className: "c-avatar-group", children: a.slice(0, s).map((r) => /* @__PURE__ */ e(
|
|
4526
|
-
|
|
4518
|
+
b1,
|
|
4527
4519
|
{
|
|
4528
4520
|
img: r.path,
|
|
4529
4521
|
alt: r.title,
|
|
@@ -4534,7 +4526,7 @@ const d1 = j(
|
|
|
4534
4526
|
rubrics: a,
|
|
4535
4527
|
tags: s,
|
|
4536
4528
|
color: c,
|
|
4537
|
-
layout: l =
|
|
4529
|
+
layout: l = _.MOBILE,
|
|
4538
4530
|
isTransparent: r = !1,
|
|
4539
4531
|
hasWhiteSeparators: n = !1,
|
|
4540
4532
|
...i
|
|
@@ -4561,7 +4553,7 @@ const d1 = j(
|
|
|
4561
4553
|
children: /* @__PURE__ */ e(z, { size: 16, name: "home", svgTitle: "Retour sur la page d'accueil 20 Minutes" })
|
|
4562
4554
|
}
|
|
4563
4555
|
),
|
|
4564
|
-
a && a.length > 0 && a.slice(0, 4).map((o) => /* @__PURE__ */ t(
|
|
4556
|
+
a && a.length > 0 && a.slice(0, 4).map((o) => /* @__PURE__ */ t(X1, { children: [
|
|
4565
4557
|
/* @__PURE__ */ e(
|
|
4566
4558
|
z,
|
|
4567
4559
|
{
|
|
@@ -4583,7 +4575,7 @@ const d1 = j(
|
|
|
4583
4575
|
)
|
|
4584
4576
|
] }, o.label)),
|
|
4585
4577
|
s && s.length > 0 && /* @__PURE__ */ t(S, { children: [
|
|
4586
|
-
/* @__PURE__ */ e(
|
|
4578
|
+
/* @__PURE__ */ e(R1, { isWhite: n }),
|
|
4587
4579
|
s.map((o, d) => /* @__PURE__ */ e(
|
|
4588
4580
|
W,
|
|
4589
4581
|
{
|
|
@@ -4652,7 +4644,7 @@ const d1 = j(
|
|
|
4652
4644
|
"Octobre",
|
|
4653
4645
|
"Novembre",
|
|
4654
4646
|
"Décembre"
|
|
4655
|
-
],
|
|
4647
|
+
], N1 = (a) => {
|
|
4656
4648
|
const s = a.getFullYear(), c = String(a.getMonth() + 1).padStart(2, "0"), l = String(a.getDate()).padStart(2, "0");
|
|
4657
4649
|
return `${s}-${c}-${l}`;
|
|
4658
4650
|
}, s0 = (a) => {
|
|
@@ -4698,13 +4690,13 @@ const d1 = j(
|
|
|
4698
4690
|
}, [u]), w = U(() => {
|
|
4699
4691
|
const k = new Date(h), L = (k.getDay() + 6) % 7;
|
|
4700
4692
|
return k.setDate(k.getDate() + (6 - L)), k;
|
|
4701
|
-
}, [h]),
|
|
4693
|
+
}, [h]), y = [];
|
|
4702
4694
|
for (let k = new Date(v); k <= w; k.setDate(k.getDate() + 1))
|
|
4703
|
-
|
|
4695
|
+
y.push(new Date(k));
|
|
4704
4696
|
const b = U(() => new Set(a), [a]), f = U(() => new Set(s), [s]), N = U(
|
|
4705
4697
|
() => s0([...a, ...s]),
|
|
4706
4698
|
[a, s]
|
|
4707
|
-
), M =
|
|
4699
|
+
), M = N1(i), B = o.year < i.getFullYear() || o.year === i.getFullYear() && o.month < i.getMonth(), Z = () => {
|
|
4708
4700
|
d((k) => k.month === 0 ? { year: k.year - 1, month: 11 } : { year: k.year, month: k.month - 1 });
|
|
4709
4701
|
}, P = () => {
|
|
4710
4702
|
B && d((k) => k.month === 11 ? { year: k.year + 1, month: 0 } : { year: k.year, month: k.month + 1 });
|
|
@@ -4748,12 +4740,12 @@ const d1 = j(
|
|
|
4748
4740
|
)
|
|
4749
4741
|
] }),
|
|
4750
4742
|
/* @__PURE__ */ e(x, { className: "c-calendar__grid", pb: "xs", children: e0.map((k) => /* @__PURE__ */ e(m, { alignItems: "center", justifyContent: "center", className: "c-calendar__cell", children: /* @__PURE__ */ e(g, { as: "span", size: "xs", children: k.charAt(0) }) }, k)) }),
|
|
4751
|
-
/* @__PURE__ */ e("div", { className: "c-calendar__grid", children:
|
|
4752
|
-
const L =
|
|
4743
|
+
/* @__PURE__ */ e("div", { className: "c-calendar__grid", children: y.map((k) => {
|
|
4744
|
+
const L = N1(k), q = k.getMonth() === o.month, J = L === M, K = N.has(L), l1 = (b.has(L) || f.has(L)) && !K, $1 = b.has(L), Z1 = f.has(L), h1 = new Date(k);
|
|
4753
4745
|
h1.setDate(h1.getDate() - 1);
|
|
4754
|
-
const
|
|
4746
|
+
const _1 = K && !N.has(N1(h1)), m1 = new Date(k);
|
|
4755
4747
|
m1.setDate(m1.getDate() + 1);
|
|
4756
|
-
const
|
|
4748
|
+
const z1 = K && !N.has(N1(m1));
|
|
4757
4749
|
return /* @__PURE__ */ e(
|
|
4758
4750
|
m,
|
|
4759
4751
|
{
|
|
@@ -4762,15 +4754,15 @@ const d1 = j(
|
|
|
4762
4754
|
className: p("c-calendar__cell", {
|
|
4763
4755
|
"c-calendar__cell--other-month": !q,
|
|
4764
4756
|
"c-calendar__cell--today": J,
|
|
4765
|
-
"c-calendar__cell--heat":
|
|
4766
|
-
"c-calendar__cell--max-heat":
|
|
4757
|
+
"c-calendar__cell--heat": $1,
|
|
4758
|
+
"c-calendar__cell--max-heat": Z1,
|
|
4767
4759
|
"c-calendar__cell--grouped": K,
|
|
4768
|
-
"c-calendar__cell--first-of-group":
|
|
4769
|
-
"c-calendar__cell--last-of-group":
|
|
4760
|
+
"c-calendar__cell--first-of-group": _1,
|
|
4761
|
+
"c-calendar__cell--last-of-group": z1
|
|
4770
4762
|
}),
|
|
4771
4763
|
children: /* @__PURE__ */ t(m, { alignItems: "center", justifyContent: "center", className: "c-calendar__date", children: [
|
|
4772
4764
|
/* @__PURE__ */ e(g, { as: "span", size: "xs", children: k.getDate() }),
|
|
4773
|
-
(l1 ||
|
|
4765
|
+
(l1 || _1 || z1) && /* @__PURE__ */ e(z, { name: "heat", size: [22, 32], className: "c-calendar__heat-icon" })
|
|
4774
4766
|
] })
|
|
4775
4767
|
},
|
|
4776
4768
|
L
|
|
@@ -4793,7 +4785,7 @@ const d1 = j(
|
|
|
4793
4785
|
children: s
|
|
4794
4786
|
}
|
|
4795
4787
|
)
|
|
4796
|
-
),
|
|
4788
|
+
), v1 = ({
|
|
4797
4789
|
text: a,
|
|
4798
4790
|
avatarAlt: s,
|
|
4799
4791
|
avatarUrl: c,
|
|
@@ -4817,7 +4809,7 @@ const d1 = j(
|
|
|
4817
4809
|
target: "_blank",
|
|
4818
4810
|
gap: "xxs",
|
|
4819
4811
|
children: [
|
|
4820
|
-
c && /* @__PURE__ */ e(
|
|
4812
|
+
c && /* @__PURE__ */ e(b1, { variant: "xsmall", img: c, alt: s }),
|
|
4821
4813
|
/* @__PURE__ */ e(g, { ...o, mt: "xxs-2", children: a })
|
|
4822
4814
|
]
|
|
4823
4815
|
}
|
|
@@ -4875,7 +4867,7 @@ const d1 = j(
|
|
|
4875
4867
|
ariaLabel: h,
|
|
4876
4868
|
anchor: v,
|
|
4877
4869
|
link: w,
|
|
4878
|
-
isClickable:
|
|
4870
|
+
isClickable: y = !0,
|
|
4879
4871
|
isHighlighted: b = !1,
|
|
4880
4872
|
isInToolbar: f = !1,
|
|
4881
4873
|
children: N,
|
|
@@ -4948,7 +4940,7 @@ const d1 = j(
|
|
|
4948
4940
|
alignItems: "center",
|
|
4949
4941
|
className: p(
|
|
4950
4942
|
"c-icon-item__container",
|
|
4951
|
-
{ "c-icon-item__container--is-clickable":
|
|
4943
|
+
{ "c-icon-item__container--is-clickable": y },
|
|
4952
4944
|
{ "c-icon-item__container--is-highlighted": b },
|
|
4953
4945
|
{ "c-icon-item__container--has-children": N },
|
|
4954
4946
|
B?.className
|
|
@@ -4984,7 +4976,7 @@ const d1 = j(
|
|
|
4984
4976
|
isFavorite: h,
|
|
4985
4977
|
enableHD: v = !1,
|
|
4986
4978
|
dataId: w = "",
|
|
4987
|
-
hasFlag:
|
|
4979
|
+
hasFlag: y = !1,
|
|
4988
4980
|
title: b,
|
|
4989
4981
|
className: f,
|
|
4990
4982
|
radius: N,
|
|
@@ -5009,7 +5001,7 @@ const d1 = j(
|
|
|
5009
5001
|
"div",
|
|
5010
5002
|
{
|
|
5011
5003
|
className: p("c-card-img__inner", {
|
|
5012
|
-
"c-card-img__inner--with-shadow": u || !!i ||
|
|
5004
|
+
"c-card-img__inner--with-shadow": u || !!i || y,
|
|
5013
5005
|
"c-card-img__inner--with-interaction": h !== void 0
|
|
5014
5006
|
}),
|
|
5015
5007
|
children: [
|
|
@@ -5041,7 +5033,7 @@ const d1 = j(
|
|
|
5041
5033
|
}
|
|
5042
5034
|
),
|
|
5043
5035
|
B,
|
|
5044
|
-
|
|
5036
|
+
y && /* @__PURE__ */ e(
|
|
5045
5037
|
"span",
|
|
5046
5038
|
{
|
|
5047
5039
|
className: p("c-card-img__flag", {
|
|
@@ -5052,7 +5044,7 @@ const d1 = j(
|
|
|
5052
5044
|
]
|
|
5053
5045
|
}
|
|
5054
5046
|
) });
|
|
5055
|
-
},
|
|
5047
|
+
}, K1 = (a) => {
|
|
5056
5048
|
switch (a) {
|
|
5057
5049
|
case "alert":
|
|
5058
5050
|
return { label: "alerte info", color: "red" };
|
|
@@ -5105,7 +5097,7 @@ const d1 = j(
|
|
|
5105
5097
|
a && /* @__PURE__ */ e(
|
|
5106
5098
|
A,
|
|
5107
5099
|
{
|
|
5108
|
-
bg:
|
|
5100
|
+
bg: K1(a).color,
|
|
5109
5101
|
color: "white",
|
|
5110
5102
|
hasDot: a === "live" || !1,
|
|
5111
5103
|
mr: "xxs",
|
|
@@ -5113,7 +5105,7 @@ const d1 = j(
|
|
|
5113
5105
|
className: p("c-card-title__cartridge-heading", {
|
|
5114
5106
|
"c-card-title__cartridge-heading--is-centered": s
|
|
5115
5107
|
}),
|
|
5116
|
-
children:
|
|
5108
|
+
children: K1(a).label
|
|
5117
5109
|
}
|
|
5118
5110
|
),
|
|
5119
5111
|
u
|
|
@@ -5136,7 +5128,7 @@ const d1 = j(
|
|
|
5136
5128
|
linkProps: v,
|
|
5137
5129
|
...w
|
|
5138
5130
|
}) => {
|
|
5139
|
-
const { cardFooterProps:
|
|
5131
|
+
const { cardFooterProps: y, ...b } = w, f = ["722x460", "640x408", "320x204"];
|
|
5140
5132
|
return /* @__PURE__ */ e(
|
|
5141
5133
|
R,
|
|
5142
5134
|
{
|
|
@@ -5144,7 +5136,7 @@ const d1 = j(
|
|
|
5144
5136
|
className: p("c-card-extra-large", b.className),
|
|
5145
5137
|
direction: "column",
|
|
5146
5138
|
clickable: !0,
|
|
5147
|
-
children: i ===
|
|
5139
|
+
children: i === _.DESKTOP ? /* @__PURE__ */ t(
|
|
5148
5140
|
m,
|
|
5149
5141
|
{
|
|
5150
5142
|
gap: u ? "s" : "xl",
|
|
@@ -5169,7 +5161,7 @@ const d1 = j(
|
|
|
5169
5161
|
sizes: "(min-width: 1024px) 722px, (min-width: 480px) 640px, 320px",
|
|
5170
5162
|
alt: s
|
|
5171
5163
|
}
|
|
5172
|
-
) || h && /* @__PURE__ */ e(
|
|
5164
|
+
) || h && /* @__PURE__ */ e(f1, { type: G.video, src: h, videoIs16by9: !0 })
|
|
5173
5165
|
}
|
|
5174
5166
|
) : null,
|
|
5175
5167
|
/* @__PURE__ */ t(
|
|
@@ -5206,7 +5198,8 @@ const d1 = j(
|
|
|
5206
5198
|
mt: "s",
|
|
5207
5199
|
className: "u-relative u-relative--z-index-2"
|
|
5208
5200
|
}
|
|
5209
|
-
)
|
|
5201
|
+
),
|
|
5202
|
+
y && /* @__PURE__ */ e(v1, { ...y, mt: "s" })
|
|
5210
5203
|
]
|
|
5211
5204
|
}
|
|
5212
5205
|
)
|
|
@@ -5248,6 +5241,7 @@ const d1 = j(
|
|
|
5248
5241
|
}
|
|
5249
5242
|
)
|
|
5250
5243
|
] }),
|
|
5244
|
+
y && /* @__PURE__ */ e(v1, { ...y, mt: "l", bg: y?.bg }),
|
|
5251
5245
|
d && /* @__PURE__ */ e(
|
|
5252
5246
|
n1,
|
|
5253
5247
|
{
|
|
@@ -5258,6 +5252,7 @@ const d1 = j(
|
|
|
5258
5252
|
className: "u-relative u-relative--z-index-2"
|
|
5259
5253
|
}
|
|
5260
5254
|
),
|
|
5255
|
+
y && /* @__PURE__ */ e(v1, { ...y, mt: "s", mx: "m" }),
|
|
5261
5256
|
v && !d && /* @__PURE__ */ e(m, { mt: "s", justifyContent: "center", children: /* @__PURE__ */ e(C, { buttonColor: "primary", ...v }) })
|
|
5262
5257
|
] })
|
|
5263
5258
|
}
|
|
@@ -5314,9 +5309,9 @@ const d1 = j(
|
|
|
5314
5309
|
...r.caption && {
|
|
5315
5310
|
caption: { size: "small", ...r.caption }
|
|
5316
5311
|
},
|
|
5317
|
-
defaultFormat: i ===
|
|
5312
|
+
defaultFormat: i === _.DESKTOP ? "130x82" : "260x164",
|
|
5318
5313
|
formats: ["260x164", "130x82"],
|
|
5319
|
-
sizes: i ===
|
|
5314
|
+
sizes: i === _.DESKTOP ? "130px" : "260px",
|
|
5320
5315
|
alt: s,
|
|
5321
5316
|
className: "c-card-extra-small__img"
|
|
5322
5317
|
}
|
|
@@ -5324,7 +5319,7 @@ const d1 = j(
|
|
|
5324
5319
|
]
|
|
5325
5320
|
}
|
|
5326
5321
|
),
|
|
5327
|
-
n && /* @__PURE__ */ e(
|
|
5322
|
+
n && /* @__PURE__ */ e(v1, { ...n, mt: "xs" }),
|
|
5328
5323
|
o && /* @__PURE__ */ e(
|
|
5329
5324
|
n1,
|
|
5330
5325
|
{
|
|
@@ -5350,12 +5345,12 @@ const d1 = j(
|
|
|
5350
5345
|
className: u,
|
|
5351
5346
|
...h
|
|
5352
5347
|
}) => {
|
|
5353
|
-
const { cardFooterProps: v, signatureProps: w, ...
|
|
5348
|
+
const { cardFooterProps: v, signatureProps: w, ...y } = h;
|
|
5354
5349
|
return /* @__PURE__ */ e(
|
|
5355
5350
|
x,
|
|
5356
5351
|
{
|
|
5357
5352
|
as: "article",
|
|
5358
|
-
...
|
|
5353
|
+
...y,
|
|
5359
5354
|
className: p(
|
|
5360
5355
|
"c-card-frame",
|
|
5361
5356
|
"c-card-container",
|
|
@@ -5367,8 +5362,8 @@ const d1 = j(
|
|
|
5367
5362
|
F,
|
|
5368
5363
|
{
|
|
5369
5364
|
...i,
|
|
5370
|
-
defaultFormat: c ===
|
|
5371
|
-
formats: c ===
|
|
5365
|
+
defaultFormat: c === _.DESKTOP ? "722x460" : "310x384",
|
|
5366
|
+
formats: c === _.DESKTOP ? ["722x460"] : ["310x384"],
|
|
5372
5367
|
alt: s
|
|
5373
5368
|
}
|
|
5374
5369
|
),
|
|
@@ -5412,7 +5407,7 @@ const d1 = j(
|
|
|
5412
5407
|
...u
|
|
5413
5408
|
}) => {
|
|
5414
5409
|
const { cardFooterProps: h, signatureProps: v, ...w } = u;
|
|
5415
|
-
return /* @__PURE__ */ e(R, { ...w, className: "c-card-large", direction: "column", children: c ===
|
|
5410
|
+
return /* @__PURE__ */ e(R, { ...w, className: "c-card-large", direction: "column", children: c === _.DESKTOP ? /* @__PURE__ */ t("a", { href: a, children: [
|
|
5416
5411
|
i && /* @__PURE__ */ e(
|
|
5417
5412
|
F,
|
|
5418
5413
|
{
|
|
@@ -5448,7 +5443,7 @@ const d1 = j(
|
|
|
5448
5443
|
mb: "xs",
|
|
5449
5444
|
radius: "0"
|
|
5450
5445
|
}
|
|
5451
|
-
) || d && /* @__PURE__ */ e(
|
|
5446
|
+
) || d && /* @__PURE__ */ e(f1, { type: G.video, src: d, videoIs16by9: !0, mb: "xs" }) || null,
|
|
5452
5447
|
r && /* @__PURE__ */ e(A, { color: r.headline.color || "grey-400", size: "xs", mx: "m", mb: "xxs", children: r.headline.text }),
|
|
5453
5448
|
/* @__PURE__ */ e(D, { mx: "m", weight: "bold", ...n, children: s }),
|
|
5454
5449
|
d && l && /* @__PURE__ */ e(
|
|
@@ -5525,7 +5520,7 @@ const d1 = j(
|
|
|
5525
5520
|
}
|
|
5526
5521
|
),
|
|
5527
5522
|
i && /* @__PURE__ */ e(
|
|
5528
|
-
|
|
5523
|
+
v1,
|
|
5529
5524
|
{
|
|
5530
5525
|
...i,
|
|
5531
5526
|
mt: "l",
|
|
@@ -5545,7 +5540,7 @@ const d1 = j(
|
|
|
5545
5540
|
]
|
|
5546
5541
|
}
|
|
5547
5542
|
);
|
|
5548
|
-
},
|
|
5543
|
+
}, S1 = (a, s = "fr-FR") => Intl.NumberFormat(s).format(a), t0 = ({
|
|
5549
5544
|
link: a,
|
|
5550
5545
|
title: s,
|
|
5551
5546
|
cardHeaderProps: c,
|
|
@@ -5560,7 +5555,7 @@ const d1 = j(
|
|
|
5560
5555
|
viewCount: v,
|
|
5561
5556
|
...w
|
|
5562
5557
|
}) => {
|
|
5563
|
-
const { cardFooterProps:
|
|
5558
|
+
const { cardFooterProps: y, signatureProps: b, socialBarProps: f, ...N } = w;
|
|
5564
5559
|
return /* @__PURE__ */ t(
|
|
5565
5560
|
R,
|
|
5566
5561
|
{
|
|
@@ -5597,7 +5592,7 @@ const d1 = j(
|
|
|
5597
5592
|
}
|
|
5598
5593
|
),
|
|
5599
5594
|
o && /* @__PURE__ */ e(g, { color: "grey-600", fontFamily: "source-serif-pro", size: "m", mt: "xs", ...o, children: o.children }),
|
|
5600
|
-
r?.cover && i ===
|
|
5595
|
+
r?.cover && i === _.MOBILE && /* @__PURE__ */ e(
|
|
5601
5596
|
F,
|
|
5602
5597
|
{
|
|
5603
5598
|
...r,
|
|
@@ -5613,18 +5608,18 @@ const d1 = j(
|
|
|
5613
5608
|
),
|
|
5614
5609
|
!!d && /* @__PURE__ */ t(m, { gap: "xs", alignItems: "center", mt: "xs", children: [
|
|
5615
5610
|
/* @__PURE__ */ e(z, { size: 22, name: "comment" }),
|
|
5616
|
-
/* @__PURE__ */ e(g, { size: "m", weight: "bold", children:
|
|
5611
|
+
/* @__PURE__ */ e(g, { size: "m", weight: "bold", children: S1(d) })
|
|
5617
5612
|
] }),
|
|
5618
5613
|
!!h && /* @__PURE__ */ t(m, { gap: "xs", alignItems: "center", mt: "xs", children: [
|
|
5619
5614
|
/* @__PURE__ */ e(z, { size: 22, name: "share" }),
|
|
5620
|
-
/* @__PURE__ */ e(g, { size: "m", weight: "bold", children:
|
|
5615
|
+
/* @__PURE__ */ e(g, { size: "m", weight: "bold", children: S1(h) })
|
|
5621
5616
|
] }),
|
|
5622
5617
|
!!v && /* @__PURE__ */ t(m, { gap: "xs", alignItems: "center", mt: "xs", children: [
|
|
5623
5618
|
/* @__PURE__ */ e(z, { size: 22, name: "view" }),
|
|
5624
|
-
/* @__PURE__ */ e(g, { size: "m", weight: "bold", children:
|
|
5619
|
+
/* @__PURE__ */ e(g, { size: "m", weight: "bold", children: S1(v) })
|
|
5625
5620
|
] })
|
|
5626
5621
|
] }),
|
|
5627
|
-
r?.cover && i ===
|
|
5622
|
+
r?.cover && i === _.DESKTOP && /* @__PURE__ */ e(
|
|
5628
5623
|
F,
|
|
5629
5624
|
{
|
|
5630
5625
|
...r,
|
|
@@ -5655,7 +5650,7 @@ const d1 = j(
|
|
|
5655
5650
|
seeMoreLink: h,
|
|
5656
5651
|
reviewLink: v,
|
|
5657
5652
|
rating: w,
|
|
5658
|
-
containerSpacing:
|
|
5653
|
+
containerSpacing: y,
|
|
5659
5654
|
...b
|
|
5660
5655
|
}) => {
|
|
5661
5656
|
const f = /* @__PURE__ */ t(S, { children: [
|
|
@@ -5693,7 +5688,7 @@ const d1 = j(
|
|
|
5693
5688
|
] })
|
|
5694
5689
|
] }) }) : null;
|
|
5695
5690
|
return /* @__PURE__ */ t(R, { ...b, className: "c-card-movie", direction: "column", children: [
|
|
5696
|
-
/* @__PURE__ */ t(m, { direction: "row", gap: { xs: "m", md: "l" }, ...
|
|
5691
|
+
/* @__PURE__ */ t(m, { direction: "row", gap: { xs: "m", md: "l" }, ...y, children: [
|
|
5697
5692
|
/* @__PURE__ */ t("div", { className: "c-card-movie__side", children: [
|
|
5698
5693
|
l && /* @__PURE__ */ e(
|
|
5699
5694
|
F,
|
|
@@ -5706,7 +5701,7 @@ const d1 = j(
|
|
|
5706
5701
|
sizes: "200px"
|
|
5707
5702
|
}
|
|
5708
5703
|
),
|
|
5709
|
-
n ===
|
|
5704
|
+
n === _.DESKTOP && /* @__PURE__ */ e(m, { direction: "column", gap: "xs", mt: "xs", children: f })
|
|
5710
5705
|
] }),
|
|
5711
5706
|
/* @__PURE__ */ t(m, { direction: "column", justifyContent: "between", className: "c-card-movie__content", children: [
|
|
5712
5707
|
/* @__PURE__ */ t(m, { direction: "column", flexGrow: 1, children: [
|
|
@@ -5738,21 +5733,21 @@ const d1 = j(
|
|
|
5738
5733
|
/* @__PURE__ */ e("span", { children: d.join(", ") })
|
|
5739
5734
|
] })
|
|
5740
5735
|
] }),
|
|
5741
|
-
n ===
|
|
5736
|
+
n === _.DESKTOP && s && /* @__PURE__ */ e(g, { size: "m", mt: "xs", dangerouslySetInnerHTML: { __html: s } })
|
|
5742
5737
|
] }),
|
|
5743
|
-
n ===
|
|
5738
|
+
n === _.DESKTOP && N
|
|
5744
5739
|
] })
|
|
5745
5740
|
] }),
|
|
5746
|
-
n ===
|
|
5741
|
+
n === _.MOBILE && s && /* @__PURE__ */ e(
|
|
5747
5742
|
g,
|
|
5748
5743
|
{
|
|
5749
|
-
...
|
|
5744
|
+
...y,
|
|
5750
5745
|
size: "m",
|
|
5751
5746
|
mt: "xs",
|
|
5752
5747
|
dangerouslySetInnerHTML: { __html: s }
|
|
5753
5748
|
}
|
|
5754
5749
|
),
|
|
5755
|
-
n ===
|
|
5750
|
+
n === _.MOBILE && /* @__PURE__ */ t(S, { children: [
|
|
5756
5751
|
N,
|
|
5757
5752
|
/* @__PURE__ */ e(m, { direction: "column", gap: "xs", mt: "l", mx: "auto", className: "c-card-movie__footer", children: f })
|
|
5758
5753
|
] })
|
|
@@ -5878,7 +5873,7 @@ const d1 = j(
|
|
|
5878
5873
|
...i
|
|
5879
5874
|
}) => {
|
|
5880
5875
|
const { summaryProps: o, cardFooterProps: d, signatureProps: u, socialBarProps: h, ...v } = i;
|
|
5881
|
-
let w = "xxs-3",
|
|
5876
|
+
let w = "xxs-3", y = {
|
|
5882
5877
|
defaultFormat: "58x58",
|
|
5883
5878
|
formats: ["58x58", "51x51"],
|
|
5884
5879
|
sizes: "(min-width: 768px) 58px, 51px",
|
|
@@ -5886,7 +5881,7 @@ const d1 = j(
|
|
|
5886
5881
|
};
|
|
5887
5882
|
switch (n) {
|
|
5888
5883
|
case "big":
|
|
5889
|
-
w = { xs: "xxs-2", md: "xs" },
|
|
5884
|
+
w = { xs: "xxs-2", md: "xs" }, y = {
|
|
5890
5885
|
defaultFormat: "100x100",
|
|
5891
5886
|
formats: ["100x100", "51x51"],
|
|
5892
5887
|
sizes: "(min-width: 768px) 100px, 51px",
|
|
@@ -5894,7 +5889,7 @@ const d1 = j(
|
|
|
5894
5889
|
};
|
|
5895
5890
|
break;
|
|
5896
5891
|
case "overviewBar":
|
|
5897
|
-
|
|
5892
|
+
y = {
|
|
5898
5893
|
defaultFormat: "45x45",
|
|
5899
5894
|
formats: ["51x51", "45x45"],
|
|
5900
5895
|
sizes: "(min-width: 768px) 51px, 45px",
|
|
@@ -5916,7 +5911,7 @@ const d1 = j(
|
|
|
5916
5911
|
F,
|
|
5917
5912
|
{
|
|
5918
5913
|
...s,
|
|
5919
|
-
...
|
|
5914
|
+
...y,
|
|
5920
5915
|
alt: r,
|
|
5921
5916
|
radius: "xxl",
|
|
5922
5917
|
caption: void 0
|
|
@@ -6087,12 +6082,12 @@ const d1 = j(
|
|
|
6087
6082
|
variant: o = "default",
|
|
6088
6083
|
...d
|
|
6089
6084
|
}) => {
|
|
6090
|
-
const { cardFooterProps: u, signatureProps: h, socialBarProps: v, ...w } = d,
|
|
6085
|
+
const { cardFooterProps: u, signatureProps: h, socialBarProps: v, ...w } = d, y = /* @__PURE__ */ t(S, { children: [
|
|
6091
6086
|
r && /* @__PURE__ */ e(
|
|
6092
6087
|
F,
|
|
6093
6088
|
{
|
|
6094
6089
|
sizes: "(min-width: 480px) 252px, 160px",
|
|
6095
|
-
defaultFormat: i ===
|
|
6090
|
+
defaultFormat: i === _.DESKTOP ? "252x162" : "160x102",
|
|
6096
6091
|
formats: ["252x162", "160x102"],
|
|
6097
6092
|
alt: s,
|
|
6098
6093
|
mb: o === "title-on-image" ? "0" : "xxs",
|
|
@@ -6100,7 +6095,7 @@ const d1 = j(
|
|
|
6100
6095
|
...r,
|
|
6101
6096
|
...r.caption && {
|
|
6102
6097
|
caption: {
|
|
6103
|
-
size: i ===
|
|
6098
|
+
size: i === _.DESKTOP ? "medium" : "small",
|
|
6104
6099
|
...r.caption
|
|
6105
6100
|
}
|
|
6106
6101
|
}
|
|
@@ -6132,7 +6127,7 @@ const d1 = j(
|
|
|
6132
6127
|
}
|
|
6133
6128
|
)
|
|
6134
6129
|
] });
|
|
6135
|
-
return /* @__PURE__ */ e(R, { ...w, direction: "column", clickable: !0, children: o === "title-on-image" ? /* @__PURE__ */ e("a", { href: a, children:
|
|
6130
|
+
return /* @__PURE__ */ e(R, { ...w, direction: "column", clickable: !0, children: o === "title-on-image" ? /* @__PURE__ */ e("a", { href: a, children: y }) : y });
|
|
6136
6131
|
}, o0 = ({
|
|
6137
6132
|
link: a,
|
|
6138
6133
|
title: s,
|
|
@@ -6235,7 +6230,7 @@ const d1 = j(
|
|
|
6235
6230
|
"c-card-container--with-title-opacity-hover": !!a
|
|
6236
6231
|
}),
|
|
6237
6232
|
children: [
|
|
6238
|
-
/* @__PURE__ */ e(
|
|
6233
|
+
/* @__PURE__ */ e(f1, { ...n, type: G.video }),
|
|
6239
6234
|
/* @__PURE__ */ e(x, { px: { xs: "m", md: "0" }, children: /* @__PURE__ */ e(
|
|
6240
6235
|
D,
|
|
6241
6236
|
{
|
|
@@ -6287,7 +6282,7 @@ const d1 = j(
|
|
|
6287
6282
|
{
|
|
6288
6283
|
sizes: "(min-width: 480px) 183px, 223px",
|
|
6289
6284
|
...c,
|
|
6290
|
-
defaultFormat: l ===
|
|
6285
|
+
defaultFormat: l === _.DESKTOP ? "183x215" : "223x262",
|
|
6291
6286
|
formats: ["183x215", "223x262"],
|
|
6292
6287
|
alt: s
|
|
6293
6288
|
}
|
|
@@ -6346,7 +6341,7 @@ const d1 = j(
|
|
|
6346
6341
|
children: /* @__PURE__ */ e("a", { href: a, children: s })
|
|
6347
6342
|
}
|
|
6348
6343
|
),
|
|
6349
|
-
o ===
|
|
6344
|
+
o === _.DESKTOP && c && /* @__PURE__ */ e(g, { ...c, as: "span", size: "m", fontFamily: "source-serif-pro", children: c.children })
|
|
6350
6345
|
] }),
|
|
6351
6346
|
/* @__PURE__ */ e("div", { children: n && /* @__PURE__ */ e(
|
|
6352
6347
|
F,
|
|
@@ -6389,7 +6384,7 @@ const d1 = j(
|
|
|
6389
6384
|
seeMoreLink: v,
|
|
6390
6385
|
...w
|
|
6391
6386
|
}) => {
|
|
6392
|
-
const
|
|
6387
|
+
const y = (f) => {
|
|
6393
6388
|
switch (o?.sliderVariant) {
|
|
6394
6389
|
case "videos":
|
|
6395
6390
|
return /* @__PURE__ */ e(h0, { ...f });
|
|
@@ -6461,7 +6456,7 @@ const d1 = j(
|
|
|
6461
6456
|
}
|
|
6462
6457
|
),
|
|
6463
6458
|
h && /* @__PURE__ */ e(g, { as: x, size: "xs", color: "grey-900", mb: "xs", children: "Articles sponsorisés" }),
|
|
6464
|
-
s ===
|
|
6459
|
+
s === _.DESKTOP && l && /* @__PURE__ */ e(g, { size: "m", color: "grey-400", mb: "xl", ...l, className: l.className, children: l.children }),
|
|
6465
6460
|
/* @__PURE__ */ e(
|
|
6466
6461
|
d1,
|
|
6467
6462
|
{
|
|
@@ -6483,7 +6478,7 @@ const d1 = j(
|
|
|
6483
6478
|
"c-carousel__sport--in-long-list": o?.sliderVariant === "sport" && a.length > 5
|
|
6484
6479
|
}
|
|
6485
6480
|
),
|
|
6486
|
-
children:
|
|
6481
|
+
children: y(f)
|
|
6487
6482
|
},
|
|
6488
6483
|
f.title
|
|
6489
6484
|
))
|
|
@@ -6552,7 +6547,7 @@ const d1 = j(
|
|
|
6552
6547
|
]
|
|
6553
6548
|
}
|
|
6554
6549
|
),
|
|
6555
|
-
/* @__PURE__ */ e(
|
|
6550
|
+
/* @__PURE__ */ e(y1, { items: n, mt: "xxl" })
|
|
6556
6551
|
] });
|
|
6557
6552
|
}, g0 = ({
|
|
6558
6553
|
dialogId: a,
|
|
@@ -6628,14 +6623,14 @@ const d1 = j(
|
|
|
6628
6623
|
), h3 = ({ children: a, layout: s, ...c }) => {
|
|
6629
6624
|
const l = "dialog-chatbot";
|
|
6630
6625
|
return /* @__PURE__ */ t(
|
|
6631
|
-
|
|
6626
|
+
D1,
|
|
6632
6627
|
{
|
|
6633
6628
|
dialogId: l,
|
|
6634
6629
|
...c,
|
|
6635
6630
|
className: p("c-chatbot", c?.className),
|
|
6636
6631
|
variant: "right",
|
|
6637
6632
|
children: [
|
|
6638
|
-
s ===
|
|
6633
|
+
s === _.MOBILE && /* @__PURE__ */ e(g0, { dialogId: l }),
|
|
6639
6634
|
/* @__PURE__ */ t(x, { bg: "grey-100", p: "m", children: [
|
|
6640
6635
|
/* @__PURE__ */ e(V, { as: "h3", size: "xxs-2", color: "ultramarine", mb: "xxs-3", children: "Vous avez des questions sur l’actualité ?" }),
|
|
6641
6636
|
/* @__PURE__ */ e(g, { size: "m", children: "Notre IA est disponible 24h/24 et 7 jours/7" })
|
|
@@ -6675,7 +6670,7 @@ const d1 = j(
|
|
|
6675
6670
|
children: s
|
|
6676
6671
|
}
|
|
6677
6672
|
)
|
|
6678
|
-
] }),
|
|
6673
|
+
] }), B1 = j(
|
|
6679
6674
|
({
|
|
6680
6675
|
index: a,
|
|
6681
6676
|
textTitleProps: s,
|
|
@@ -6690,7 +6685,7 @@ const d1 = j(
|
|
|
6690
6685
|
isDropdown: h,
|
|
6691
6686
|
...v
|
|
6692
6687
|
}, w) => {
|
|
6693
|
-
const
|
|
6688
|
+
const y = be().replace(/:/g, ""), b = `c-collapse__button-${a}-${y}`, f = `c-collapse__content-${a}-${y}`, N = () => {
|
|
6694
6689
|
if (c) {
|
|
6695
6690
|
const { children: P, ...k } = c;
|
|
6696
6691
|
return /* @__PURE__ */ e(g, { as: "span", size: "m", color: "black", ...k, children: P });
|
|
@@ -6781,7 +6776,7 @@ const d1 = j(
|
|
|
6781
6776
|
"data-distance-visible": c.distanceVisible,
|
|
6782
6777
|
"data-comment-number": s
|
|
6783
6778
|
}
|
|
6784
|
-
) : null, g3 = ({ commentNumber: a, layout: s }) => s ===
|
|
6779
|
+
) : null, g3 = ({ commentNumber: a, layout: s }) => s === _.MOBILE ? /* @__PURE__ */ t(S, { children: [
|
|
6785
6780
|
/* @__PURE__ */ e(E, { color: "grey-200" }),
|
|
6786
6781
|
/* @__PURE__ */ t(m, { gap: "xxs", p: "xs", children: [
|
|
6787
6782
|
/* @__PURE__ */ e(z, { name: "comment", size: 16, color: "ultramarine" }),
|
|
@@ -6791,7 +6786,7 @@ const d1 = j(
|
|
|
6791
6786
|
] }) : /* @__PURE__ */ t(m, { gap: "xs", mb: "xs", children: [
|
|
6792
6787
|
/* @__PURE__ */ e(z, { name: "comment", size: 22, color: "ultramarine" }),
|
|
6793
6788
|
/* @__PURE__ */ e(V, { as: "h2", size: "xxs", children: `${a} ${a > 1 ? "commentaires" : "commentaire"}` })
|
|
6794
|
-
] }),
|
|
6789
|
+
] }), k1 = ({
|
|
6795
6790
|
title: a,
|
|
6796
6791
|
classItem: s,
|
|
6797
6792
|
hasDivider: c = !1,
|
|
@@ -6822,8 +6817,8 @@ const d1 = j(
|
|
|
6822
6817
|
}
|
|
6823
6818
|
)
|
|
6824
6819
|
] }),
|
|
6825
|
-
c && /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
6826
|
-
] }),
|
|
6820
|
+
c && /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(le, { color: "grey-200" }) })
|
|
6821
|
+
] }), U1 = ({
|
|
6827
6822
|
layout: a,
|
|
6828
6823
|
title: s,
|
|
6829
6824
|
id: c,
|
|
@@ -6833,7 +6828,7 @@ const d1 = j(
|
|
|
6833
6828
|
colorItemCounter: i,
|
|
6834
6829
|
...o
|
|
6835
6830
|
}) => {
|
|
6836
|
-
const d = a ===
|
|
6831
|
+
const d = a === _.DESKTOP ? [28, 50] : [16, 29];
|
|
6837
6832
|
return /* @__PURE__ */ t(
|
|
6838
6833
|
m,
|
|
6839
6834
|
{
|
|
@@ -6865,10 +6860,10 @@ const d1 = j(
|
|
|
6865
6860
|
mr: { xs: "0", md: "xxl" },
|
|
6866
6861
|
py: { xs: "0", md: "xs" },
|
|
6867
6862
|
children: [
|
|
6868
|
-
/* @__PURE__ */ e(
|
|
6869
|
-
/* @__PURE__ */ e(
|
|
6870
|
-
/* @__PURE__ */ e(
|
|
6871
|
-
/* @__PURE__ */ e(
|
|
6863
|
+
/* @__PURE__ */ e(k1, { colorCounter: i, title: "jours", classItem: "days" }),
|
|
6864
|
+
/* @__PURE__ */ e(k1, { colorCounter: i, title: "heures", classItem: "hours" }),
|
|
6865
|
+
/* @__PURE__ */ e(k1, { colorCounter: i, title: "minutes", classItem: "minutes" }),
|
|
6866
|
+
/* @__PURE__ */ e(k1, { colorCounter: i, title: "secondes", classItem: "seconds" })
|
|
6872
6867
|
]
|
|
6873
6868
|
}
|
|
6874
6869
|
)
|
|
@@ -6950,7 +6945,7 @@ const d1 = j(
|
|
|
6950
6945
|
qe,
|
|
6951
6946
|
{
|
|
6952
6947
|
...n,
|
|
6953
|
-
defaultValue: n?.options.find((
|
|
6948
|
+
defaultValue: n?.options.find((y) => y.isSelected)?.value,
|
|
6954
6949
|
containerProps: {
|
|
6955
6950
|
...n?.containerProps,
|
|
6956
6951
|
px: { xs: "m", md: "0" }
|
|
@@ -6962,11 +6957,11 @@ const d1 = j(
|
|
|
6962
6957
|
mt: { xs: "0", md: "xs" },
|
|
6963
6958
|
gap: { xs: "xs", lg: "m" },
|
|
6964
6959
|
className: p("c-search-banner__breadcrumb", {
|
|
6965
|
-
"c-search-banner__breadcrumb--mobile": a ===
|
|
6960
|
+
"c-search-banner__breadcrumb--mobile": a === _.MOBILE
|
|
6966
6961
|
}),
|
|
6967
6962
|
"data-search-banner-collapse": !0,
|
|
6968
|
-
...a ===
|
|
6969
|
-
children: r?.map(({ label:
|
|
6963
|
+
...a === _.DESKTOP && { "aria-hidden": o ? !o : "true" },
|
|
6964
|
+
children: r?.map(({ label: y, link: b }, f) => /* @__PURE__ */ e(
|
|
6970
6965
|
W,
|
|
6971
6966
|
{
|
|
6972
6967
|
variant: "tertiary",
|
|
@@ -6974,7 +6969,7 @@ const d1 = j(
|
|
|
6974
6969
|
px: "l",
|
|
6975
6970
|
ml: f === 0 ? { xs: "m", md: "0" } : void 0,
|
|
6976
6971
|
href: b,
|
|
6977
|
-
children:
|
|
6972
|
+
children: y
|
|
6978
6973
|
},
|
|
6979
6974
|
b
|
|
6980
6975
|
))
|
|
@@ -6988,7 +6983,7 @@ const d1 = j(
|
|
|
6988
6983
|
className: p("c-search-banner", {
|
|
6989
6984
|
"c-search-banner--has-top-border": d
|
|
6990
6985
|
}),
|
|
6991
|
-
children: a ===
|
|
6986
|
+
children: a === _.DESKTOP ? /* @__PURE__ */ t(
|
|
6992
6987
|
m,
|
|
6993
6988
|
{
|
|
6994
6989
|
px: w ? void 0 : "m",
|
|
@@ -7026,7 +7021,7 @@ const d1 = j(
|
|
|
7026
7021
|
) : /* @__PURE__ */ e(z, { name: "ballot-box", size: 55, className: "c-search-banner__default-icon" }),
|
|
7027
7022
|
/* @__PURE__ */ t(m, { flexGrow: 1, direction: "column", py: "m", children: [
|
|
7028
7023
|
/* @__PURE__ */ t(m, { gap: { xs: "m", lg: "l" }, justifyContent: "end", children: [
|
|
7029
|
-
/* @__PURE__ */ e(I, { grow: 1, children: /* @__PURE__ */ e(x, { as:
|
|
7024
|
+
/* @__PURE__ */ e(I, { grow: 1, children: /* @__PURE__ */ e(x, { as: w1, ...s }) }),
|
|
7030
7025
|
!!n?.options.length && h,
|
|
7031
7026
|
!!r?.length && u
|
|
7032
7027
|
] }),
|
|
@@ -7047,7 +7042,7 @@ const d1 = j(
|
|
|
7047
7042
|
children: [
|
|
7048
7043
|
c && /* @__PURE__ */ e(g, { as: "span", px: "m", weight: "bold", color: "white", mb: "xxs", children: l ? /* @__PURE__ */ e("a", { href: l, children: c }) : c }),
|
|
7049
7044
|
/* @__PURE__ */ t(m, { gap: "s", px: { xs: "m", md: "0" }, children: [
|
|
7050
|
-
/* @__PURE__ */ e(I, { as:
|
|
7045
|
+
/* @__PURE__ */ e(I, { as: w1, grow: 1, ...s }),
|
|
7051
7046
|
!!(r?.length || n?.options.length) && u
|
|
7052
7047
|
] }),
|
|
7053
7048
|
!!(r?.length || n?.options.length) && /* @__PURE__ */ t(
|
|
@@ -7099,7 +7094,7 @@ const d1 = j(
|
|
|
7099
7094
|
py: "xxs-3",
|
|
7100
7095
|
px: "xxs",
|
|
7101
7096
|
children: [
|
|
7102
|
-
/* @__PURE__ */ e(g, { as: "span", size: "xl", className: "c-emoji-toolbar__emoji", children:
|
|
7097
|
+
/* @__PURE__ */ e(g, { as: "span", size: "xl", className: "c-emoji-toolbar__emoji", children: Q1[l.type] }),
|
|
7103
7098
|
/* @__PURE__ */ e(g, { as: "span", size: "xxs", ml: "xxs-2", className: "c-emoji-toolbar__count", children: String(l.count).padStart(2, "0") })
|
|
7104
7099
|
]
|
|
7105
7100
|
}
|
|
@@ -7133,7 +7128,7 @@ const d1 = j(
|
|
|
7133
7128
|
}
|
|
7134
7129
|
),
|
|
7135
7130
|
/* @__PURE__ */ e(x, { mb: "l", children: c }),
|
|
7136
|
-
/* @__PURE__ */ e(x, { mb: "s", children: s ? /* @__PURE__ */ e(x, { className: "gcse-search" }) : /* @__PURE__ */ e(
|
|
7131
|
+
/* @__PURE__ */ e(x, { mb: "s", children: s ? /* @__PURE__ */ e(x, { className: "gcse-search" }) : /* @__PURE__ */ e(w1, { id: "search-form-error", url: "/", "aria-hidden": !0 }) }),
|
|
7137
7132
|
/* @__PURE__ */ e(C, { href: "/", className: "c-error-content__link", children: "Retour page d’accueil" })
|
|
7138
7133
|
] });
|
|
7139
7134
|
}, v0 = ({
|
|
@@ -7293,7 +7288,7 @@ const d1 = j(
|
|
|
7293
7288
|
)
|
|
7294
7289
|
]
|
|
7295
7290
|
}
|
|
7296
|
-
),
|
|
7291
|
+
), G1 = () => /* @__PURE__ */ e(
|
|
7297
7292
|
x,
|
|
7298
7293
|
{
|
|
7299
7294
|
className: "c-header-page__print-button",
|
|
@@ -7311,7 +7306,7 @@ const d1 = j(
|
|
|
7311
7306
|
}
|
|
7312
7307
|
)
|
|
7313
7308
|
}
|
|
7314
|
-
),
|
|
7309
|
+
), W1 = () => /* @__PURE__ */ e(
|
|
7315
7310
|
x,
|
|
7316
7311
|
{
|
|
7317
7312
|
className: "c-header-page__ranking-button",
|
|
@@ -7333,19 +7328,19 @@ const d1 = j(
|
|
|
7333
7328
|
hasPrintButton: h,
|
|
7334
7329
|
hasRankingButton: v,
|
|
7335
7330
|
variant: w = "default",
|
|
7336
|
-
...
|
|
7331
|
+
...y
|
|
7337
7332
|
}) => {
|
|
7338
7333
|
if (!s)
|
|
7339
7334
|
return null;
|
|
7340
7335
|
const b = /* @__PURE__ */ e(
|
|
7341
|
-
|
|
7336
|
+
O1,
|
|
7342
7337
|
{
|
|
7343
7338
|
size: { xs: "s", md: "xxl" },
|
|
7344
7339
|
...s,
|
|
7345
7340
|
...s.iconProps?.name && {
|
|
7346
7341
|
iconProps: {
|
|
7347
7342
|
mr: { xs: "xxs", md: "l" },
|
|
7348
|
-
size: a ===
|
|
7343
|
+
size: a === _.DESKTOP ? 78 : 50,
|
|
7349
7344
|
...s.iconProps
|
|
7350
7345
|
}
|
|
7351
7346
|
},
|
|
@@ -7428,7 +7423,7 @@ const d1 = j(
|
|
|
7428
7423
|
b,
|
|
7429
7424
|
c,
|
|
7430
7425
|
d && /* @__PURE__ */ e(
|
|
7431
|
-
|
|
7426
|
+
U1,
|
|
7432
7427
|
{
|
|
7433
7428
|
px: { xs: "m", md: "0" },
|
|
7434
7429
|
py: "xs",
|
|
@@ -7437,10 +7432,10 @@ const d1 = j(
|
|
|
7437
7432
|
}
|
|
7438
7433
|
),
|
|
7439
7434
|
n?.type === "dedicated-area" && /* @__PURE__ */ e(X, { sponsor: n.content, size: "s", mt: "s", mx: "m" }),
|
|
7440
|
-
i && /* @__PURE__ */ e(
|
|
7435
|
+
i && /* @__PURE__ */ e(f1, { ...i, mt: "xl" }),
|
|
7441
7436
|
l && f
|
|
7442
7437
|
] });
|
|
7443
|
-
return a ===
|
|
7438
|
+
return a === _.DESKTOP && (N = /* @__PURE__ */ t(m, { alignItems: "start", justifyContent: "between", gap: n ? "m" : void 0, children: [
|
|
7444
7439
|
/* @__PURE__ */ t(I, { basis: 100, children: [
|
|
7445
7440
|
c || n?.type === "sponsored-page" ? /* @__PURE__ */ t(
|
|
7446
7441
|
m,
|
|
@@ -7458,7 +7453,7 @@ const d1 = j(
|
|
|
7458
7453
|
}
|
|
7459
7454
|
) : b,
|
|
7460
7455
|
d && /* @__PURE__ */ e(
|
|
7461
|
-
|
|
7456
|
+
U1,
|
|
7462
7457
|
{
|
|
7463
7458
|
mx: { xs: "m", md: "0" },
|
|
7464
7459
|
px: "xs",
|
|
@@ -7469,24 +7464,24 @@ const d1 = j(
|
|
|
7469
7464
|
),
|
|
7470
7465
|
l && f,
|
|
7471
7466
|
h && v && /* @__PURE__ */ t(m, { gap: "s", children: [
|
|
7472
|
-
/* @__PURE__ */ e(
|
|
7467
|
+
/* @__PURE__ */ e(G1, {}),
|
|
7473
7468
|
" ",
|
|
7474
|
-
/* @__PURE__ */ e(
|
|
7469
|
+
/* @__PURE__ */ e(W1, {})
|
|
7475
7470
|
] }),
|
|
7476
|
-
h && !v && /* @__PURE__ */ e(
|
|
7477
|
-
v && !h && /* @__PURE__ */ e(
|
|
7471
|
+
h && !v && /* @__PURE__ */ e(G1, {}),
|
|
7472
|
+
v && !h && /* @__PURE__ */ e(W1, {})
|
|
7478
7473
|
] }),
|
|
7479
7474
|
n?.type === "dedicated-area" && /* @__PURE__ */ e(X, { sponsor: n.content, size: "l", mt: "xl" })
|
|
7480
7475
|
] })), /* @__PURE__ */ e(
|
|
7481
7476
|
x,
|
|
7482
7477
|
{
|
|
7483
7478
|
as: "header",
|
|
7484
|
-
...
|
|
7479
|
+
...y,
|
|
7485
7480
|
className: p(
|
|
7486
7481
|
"c-nodeheader",
|
|
7487
7482
|
"c-header-page",
|
|
7488
7483
|
{ "c-nodeheader--is-expandable": r },
|
|
7489
|
-
|
|
7484
|
+
y?.className
|
|
7490
7485
|
),
|
|
7491
7486
|
children: N
|
|
7492
7487
|
}
|
|
@@ -7578,7 +7573,7 @@ const d1 = j(
|
|
|
7578
7573
|
]
|
|
7579
7574
|
}
|
|
7580
7575
|
);
|
|
7581
|
-
},
|
|
7576
|
+
}, O1 = ({
|
|
7582
7577
|
children: a,
|
|
7583
7578
|
iconProps: s,
|
|
7584
7579
|
isCentered: c,
|
|
@@ -7623,7 +7618,7 @@ const d1 = j(
|
|
|
7623
7618
|
mb: { xs: "xl", md: "0" },
|
|
7624
7619
|
gap: { xs: "l", md: "xl" },
|
|
7625
7620
|
alignItems: "center",
|
|
7626
|
-
justifyContent: s ===
|
|
7621
|
+
justifyContent: s === _.DESKTOP ? "start" : "center",
|
|
7627
7622
|
children: [
|
|
7628
7623
|
/* @__PURE__ */ e(C, { buttonColor: "primary", ...n, children: /* @__PURE__ */ t(m, { alignItems: "center", children: [
|
|
7629
7624
|
/* @__PURE__ */ e(z, { name: "video-outlined", size: 13, mr: "xxs" }),
|
|
@@ -7656,10 +7651,10 @@ const d1 = j(
|
|
|
7656
7651
|
),
|
|
7657
7652
|
/* @__PURE__ */ e(A, { children: n.date }),
|
|
7658
7653
|
/* @__PURE__ */ e(V, { size: "xs", className: "c-image-slider__content-title", children: n.title }),
|
|
7659
|
-
s ===
|
|
7654
|
+
s === _.DESKTOP && r(n.firstButton, n.secondButton)
|
|
7660
7655
|
] })
|
|
7661
7656
|
] }),
|
|
7662
|
-
s ===
|
|
7657
|
+
s === _.MOBILE && r(n.firstButton, n.secondButton)
|
|
7663
7658
|
] }, n.url)) }),
|
|
7664
7659
|
c && Array.from(["previous", "next"], (n) => /* @__PURE__ */ e(
|
|
7665
7660
|
m,
|
|
@@ -7751,7 +7746,7 @@ const d1 = j(
|
|
|
7751
7746
|
}
|
|
7752
7747
|
)
|
|
7753
7748
|
}
|
|
7754
|
-
),
|
|
7749
|
+
), y1 = ({ items: a, ...s }) => {
|
|
7755
7750
|
const c = (l) => /* @__PURE__ */ e(g, { size: "xs", weight: "bold", mb: "xs", children: l });
|
|
7756
7751
|
return /* @__PURE__ */ e(s1, { as: "ul", ...s, colsNumber: { xs: 1, md: 3 }, className: "c-legend", children: a.map((l, r) => /* @__PURE__ */ t(
|
|
7757
7752
|
m,
|
|
@@ -7846,7 +7841,7 @@ const d1 = j(
|
|
|
7846
7841
|
lazyLoad: s = { delayed: !0, distanceVisible: 0 },
|
|
7847
7842
|
...c
|
|
7848
7843
|
}) => a ? /* @__PURE__ */ t(m, { direction: "column", gap: "l", ...c, children: [
|
|
7849
|
-
/* @__PURE__ */ e(
|
|
7844
|
+
/* @__PURE__ */ e(A1, {}),
|
|
7850
7845
|
/* @__PURE__ */ e(
|
|
7851
7846
|
x,
|
|
7852
7847
|
{
|
|
@@ -7962,7 +7957,7 @@ const d1 = j(
|
|
|
7962
7957
|
}
|
|
7963
7958
|
)
|
|
7964
7959
|
] }),
|
|
7965
|
-
n.length > 0 && /* @__PURE__ */ e(
|
|
7960
|
+
n.length > 0 && /* @__PURE__ */ e(y1, { items: n, mt: "xxl" })
|
|
7966
7961
|
] });
|
|
7967
7962
|
}, Z3 = ({
|
|
7968
7963
|
electionName: a,
|
|
@@ -7982,20 +7977,20 @@ const d1 = j(
|
|
|
7982
7977
|
"data-info": `${u} - ${h.text.label}`
|
|
7983
7978
|
},
|
|
7984
7979
|
children: Object.entries(h).map(
|
|
7985
|
-
([w,
|
|
7980
|
+
([w, y]) => {
|
|
7986
7981
|
const b = (N) => N.numDistrict === w, f = c.find(b);
|
|
7987
|
-
return w === "text" &&
|
|
7982
|
+
return w === "text" && y.transform ? /* @__PURE__ */ e(
|
|
7988
7983
|
"text",
|
|
7989
7984
|
{
|
|
7990
|
-
transform: `matrix(${
|
|
7985
|
+
transform: `matrix(${y.transform})`,
|
|
7991
7986
|
className: "c-map-districts__text",
|
|
7992
|
-
children:
|
|
7987
|
+
children: y.label
|
|
7993
7988
|
},
|
|
7994
7989
|
w
|
|
7995
7990
|
) : /* @__PURE__ */ e(
|
|
7996
7991
|
"a",
|
|
7997
7992
|
{
|
|
7998
|
-
href: `/elections/resultats${
|
|
7993
|
+
href: `/elections/resultats${y.url}/?scrutin=${a}&annee=${s}`,
|
|
7999
7994
|
target: "_parent",
|
|
8000
7995
|
children: /* @__PURE__ */ t(
|
|
8001
7996
|
"path",
|
|
@@ -8004,10 +7999,10 @@ const d1 = j(
|
|
|
8004
7999
|
className: p("c-map-districts__path", {
|
|
8005
8000
|
[`c-map-districts__path--${f?.politicalParty.color}`]: f
|
|
8006
8001
|
}),
|
|
8007
|
-
d:
|
|
8002
|
+
d: y.path,
|
|
8008
8003
|
children: [
|
|
8009
|
-
/* @__PURE__ */ e("title", { children:
|
|
8010
|
-
/* @__PURE__ */ e("desc", { children:
|
|
8004
|
+
/* @__PURE__ */ e("title", { children: y.title }),
|
|
8005
|
+
/* @__PURE__ */ e("desc", { children: y.desc })
|
|
8011
8006
|
]
|
|
8012
8007
|
}
|
|
8013
8008
|
)
|
|
@@ -8058,7 +8053,7 @@ const d1 = j(
|
|
|
8058
8053
|
i.others
|
|
8059
8054
|
] })
|
|
8060
8055
|
] }),
|
|
8061
|
-
o.length > 0 && /* @__PURE__ */ e(
|
|
8056
|
+
o.length > 0 && /* @__PURE__ */ e(y1, { items: o, mt: "xxl" })
|
|
8062
8057
|
] });
|
|
8063
8058
|
}, H3 = ({
|
|
8064
8059
|
electionName: a,
|
|
@@ -8107,7 +8102,7 @@ const d1 = j(
|
|
|
8107
8102
|
)
|
|
8108
8103
|
) })
|
|
8109
8104
|
] }),
|
|
8110
|
-
i.length > 0 && /* @__PURE__ */ e(
|
|
8105
|
+
i.length > 0 && /* @__PURE__ */ e(y1, { items: i, mt: "xxl" })
|
|
8111
8106
|
] });
|
|
8112
8107
|
}, f0 = /<path\b([^>]*?)\/>/g, y0 = /\b([:\w-]+)="([^"]*)"/g, _0 = (a) => {
|
|
8113
8108
|
const s = [];
|
|
@@ -8129,7 +8124,7 @@ const d1 = j(
|
|
|
8129
8124
|
});
|
|
8130
8125
|
}
|
|
8131
8126
|
return s;
|
|
8132
|
-
}, z0 = (a) => new Map(a.map((s) => [s.id, s])), N0 = (a) => a.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/'/g, "-").replace(/[^a-zA-Z0-9]+/g, "-").replace(/^-+|-+$/g, "").toLowerCase(),
|
|
8127
|
+
}, z0 = (a) => new Map(a.map((s) => [s.id, s])), N0 = (a) => a.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/'/g, "-").replace(/[^a-zA-Z0-9]+/g, "-").replace(/^-+|-+$/g, "").toLowerCase(), Y1 = (a) => `/elections/resultats/${N0(a)}/`, L3 = ({
|
|
8133
8128
|
layout: a,
|
|
8134
8129
|
resultsPerTown: s,
|
|
8135
8130
|
departmentsPaths: c,
|
|
@@ -8140,8 +8135,8 @@ const d1 = j(
|
|
|
8140
8135
|
}) => {
|
|
8141
8136
|
if (!c)
|
|
8142
8137
|
return /* @__PURE__ */ e("output", { "aria-live": "polite", children: "Chargement de la carte…" });
|
|
8143
|
-
const o = a ===
|
|
8144
|
-
|
|
8138
|
+
const o = a === _.MOBILE, d = new Map(s.map((b) => [b.id, b])), u = /* @__PURE__ */ new Map(), h = U(() => r ? z0(_0(r)) : /* @__PURE__ */ new Map(), [r]), v = U(() => new Map(
|
|
8139
|
+
E1.map((b) => {
|
|
8145
8140
|
const f = h.get(`town-${b.id}`);
|
|
8146
8141
|
return f ? [b.name, f.url] : null;
|
|
8147
8142
|
}).filter((b) => b !== null)
|
|
@@ -8199,7 +8194,7 @@ const d1 = j(
|
|
|
8199
8194
|
}
|
|
8200
8195
|
)
|
|
8201
8196
|
);
|
|
8202
|
-
},
|
|
8197
|
+
}, y = Array.from(u.values());
|
|
8203
8198
|
return /* @__PURE__ */ t(
|
|
8204
8199
|
x,
|
|
8205
8200
|
{
|
|
@@ -8250,14 +8245,14 @@ const d1 = j(
|
|
|
8250
8245
|
id: `out-${b}`,
|
|
8251
8246
|
d: f.path,
|
|
8252
8247
|
"data-name": N,
|
|
8253
|
-
"data-url": o ?
|
|
8248
|
+
"data-url": o ? Y1(N) : void 0,
|
|
8254
8249
|
className: "c-map-towns__dept-trigger",
|
|
8255
8250
|
children: /* @__PURE__ */ e("title", { children: N })
|
|
8256
8251
|
},
|
|
8257
8252
|
`out-${b}`
|
|
8258
8253
|
);
|
|
8259
8254
|
}) }),
|
|
8260
|
-
/* @__PURE__ */ e("g", { className: "c-map-towns__layer-markers", children:
|
|
8255
|
+
/* @__PURE__ */ e("g", { className: "c-map-towns__layer-markers", children: E1.map(
|
|
8261
8256
|
(b) => (() => {
|
|
8262
8257
|
const f = h.get(`town-${b.id}`);
|
|
8263
8258
|
return f ? (
|
|
@@ -8292,9 +8287,9 @@ const d1 = j(
|
|
|
8292
8287
|
gap: { md: "l" },
|
|
8293
8288
|
justifyContent: { xs: "between", md: "start" },
|
|
8294
8289
|
children: [
|
|
8295
|
-
w(
|
|
8296
|
-
w(
|
|
8297
|
-
w(
|
|
8290
|
+
w(L1.PARIS),
|
|
8291
|
+
w(L1.MARSEILLE),
|
|
8292
|
+
w(L1.LYON)
|
|
8298
8293
|
]
|
|
8299
8294
|
}
|
|
8300
8295
|
),
|
|
@@ -8325,13 +8320,13 @@ const d1 = j(
|
|
|
8325
8320
|
id: `out-${b}`,
|
|
8326
8321
|
d: f.deptPath,
|
|
8327
8322
|
"data-name": f.name,
|
|
8328
|
-
"data-url":
|
|
8323
|
+
"data-url": Y1(f.name),
|
|
8329
8324
|
className: "c-map-towns__dept-trigger"
|
|
8330
8325
|
}
|
|
8331
8326
|
)
|
|
8332
8327
|
] }) }, b)) })
|
|
8333
8328
|
] }),
|
|
8334
|
-
|
|
8329
|
+
y.length > 0 && /* @__PURE__ */ e(y1, { items: y, mt: "xxl" }),
|
|
8335
8330
|
/* @__PURE__ */ t("div", { id: "js-zoom-overlay", className: "c-map-towns__overlay", "aria-hidden": "true", children: [
|
|
8336
8331
|
/* @__PURE__ */ t("button", { id: "js-zoom-close", className: "c-map-towns__close-btn", type: "button", children: [
|
|
8337
8332
|
/* @__PURE__ */ e(z, { name: "close", size: 20 }),
|
|
@@ -8377,7 +8372,7 @@ const d1 = j(
|
|
|
8377
8372
|
]
|
|
8378
8373
|
}
|
|
8379
8374
|
);
|
|
8380
|
-
},
|
|
8375
|
+
}, x1 = ({
|
|
8381
8376
|
href: a,
|
|
8382
8377
|
iconProps: s,
|
|
8383
8378
|
buttonTitle: c,
|
|
@@ -8425,7 +8420,7 @@ const d1 = j(
|
|
|
8425
8420
|
feedbackButtonProps: n,
|
|
8426
8421
|
className: i
|
|
8427
8422
|
}) => /* @__PURE__ */ t(
|
|
8428
|
-
|
|
8423
|
+
D1,
|
|
8429
8424
|
{
|
|
8430
8425
|
as: "nav",
|
|
8431
8426
|
id: "menu-nav",
|
|
@@ -8433,8 +8428,8 @@ const d1 = j(
|
|
|
8433
8428
|
dialogId: "dialog-menu",
|
|
8434
8429
|
className: p("c-menu", i),
|
|
8435
8430
|
children: [
|
|
8436
|
-
c ===
|
|
8437
|
-
|
|
8431
|
+
c === _.MOBILE && /* @__PURE__ */ e(
|
|
8432
|
+
w1,
|
|
8438
8433
|
{
|
|
8439
8434
|
id: "search-form-menu",
|
|
8440
8435
|
url: r,
|
|
@@ -8449,7 +8444,7 @@ const d1 = j(
|
|
|
8449
8444
|
),
|
|
8450
8445
|
/* @__PURE__ */ t(m, { as: "section", px: "m", py: "l", alignItems: "center", justifyContent: "between", children: [
|
|
8451
8446
|
/* @__PURE__ */ e(
|
|
8452
|
-
|
|
8447
|
+
C1,
|
|
8453
8448
|
{
|
|
8454
8449
|
iconProps: { name: "newsletters" },
|
|
8455
8450
|
href: "https://membre.20minutes.fr/mes-newsletters",
|
|
@@ -8458,7 +8453,7 @@ const d1 = j(
|
|
|
8458
8453
|
}
|
|
8459
8454
|
),
|
|
8460
8455
|
/* @__PURE__ */ e(
|
|
8461
|
-
|
|
8456
|
+
C1,
|
|
8462
8457
|
{
|
|
8463
8458
|
iconProps: { name: "logo-tv" },
|
|
8464
8459
|
href: "https://www.20minutes.fr/tv/direct",
|
|
@@ -8468,7 +8463,7 @@ const d1 = j(
|
|
|
8468
8463
|
}
|
|
8469
8464
|
),
|
|
8470
8465
|
/* @__PURE__ */ e(
|
|
8471
|
-
|
|
8466
|
+
C1,
|
|
8472
8467
|
{
|
|
8473
8468
|
iconProps: { name: "game" },
|
|
8474
8469
|
href: "https://www.20minutes.fr/services/jeux",
|
|
@@ -8477,7 +8472,7 @@ const d1 = j(
|
|
|
8477
8472
|
}
|
|
8478
8473
|
),
|
|
8479
8474
|
/* @__PURE__ */ e(
|
|
8480
|
-
|
|
8475
|
+
C1,
|
|
8481
8476
|
{
|
|
8482
8477
|
iconProps: { name: "horoscope" },
|
|
8483
8478
|
href: "https://www.20minutes.fr/horoscope",
|
|
@@ -8489,7 +8484,7 @@ const d1 = j(
|
|
|
8489
8484
|
] }),
|
|
8490
8485
|
/* @__PURE__ */ t(m, { as: "section", px: "m", pb: "l", justifyContent: "between", children: [
|
|
8491
8486
|
/* @__PURE__ */ e(
|
|
8492
|
-
|
|
8487
|
+
x1,
|
|
8493
8488
|
{
|
|
8494
8489
|
href: "https://www.20minutes.fr/tv",
|
|
8495
8490
|
iconProps: { name: "arrow" },
|
|
@@ -8501,7 +8496,7 @@ const d1 = j(
|
|
|
8501
8496
|
}
|
|
8502
8497
|
),
|
|
8503
8498
|
/* @__PURE__ */ e(
|
|
8504
|
-
|
|
8499
|
+
x1,
|
|
8505
8500
|
{
|
|
8506
8501
|
href: "https://podcasts.20minutes.fr/",
|
|
8507
8502
|
iconProps: { name: "podcast-outlined" },
|
|
@@ -8514,7 +8509,7 @@ const d1 = j(
|
|
|
8514
8509
|
}
|
|
8515
8510
|
),
|
|
8516
8511
|
/* @__PURE__ */ e(
|
|
8517
|
-
|
|
8512
|
+
x1,
|
|
8518
8513
|
{
|
|
8519
8514
|
href: "/diaporama",
|
|
8520
8515
|
iconProps: { name: "diaporama-outlined" },
|
|
@@ -8528,7 +8523,7 @@ const d1 = j(
|
|
|
8528
8523
|
] }),
|
|
8529
8524
|
/* @__PURE__ */ t("ul", { className: "c-menu__list", children: [
|
|
8530
8525
|
s.length > 0 && /* @__PURE__ */ t(
|
|
8531
|
-
|
|
8526
|
+
B1,
|
|
8532
8527
|
{
|
|
8533
8528
|
as: "li",
|
|
8534
8529
|
textTitleProps: { color: "black", children: "À la Une" },
|
|
@@ -8567,7 +8562,7 @@ const d1 = j(
|
|
|
8567
8562
|
),
|
|
8568
8563
|
a.map(
|
|
8569
8564
|
(d, u) => d.links.length > 0 ? /* @__PURE__ */ t(
|
|
8570
|
-
|
|
8565
|
+
B1,
|
|
8571
8566
|
{
|
|
8572
8567
|
as: "li",
|
|
8573
8568
|
textTitleProps: {
|
|
@@ -8604,7 +8599,7 @@ const d1 = j(
|
|
|
8604
8599
|
children: [
|
|
8605
8600
|
(d?.tags ?? []).length > 0 && /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(m, { as: "ul", gap: "xxs", mb: "l", wrap: "wrap", children: d.tags?.map((h) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(W, { href: h.href, color: "ultramarine", children: h.children }, h.href) }, h.href)) }) }),
|
|
8606
8601
|
d.links.map((h, v) => "name" in h ? /* @__PURE__ */ e(
|
|
8607
|
-
|
|
8602
|
+
B1,
|
|
8608
8603
|
{
|
|
8609
8604
|
as: "li",
|
|
8610
8605
|
textTitleProps: {
|
|
@@ -8621,13 +8616,13 @@ const d1 = j(
|
|
|
8621
8616
|
},
|
|
8622
8617
|
contentWithBorder: !1,
|
|
8623
8618
|
contentProps: { as: "ul", px: "0", pt: "xxs", pb: "xs" },
|
|
8624
|
-
children: h.links.map((w,
|
|
8619
|
+
children: h.links.map((w, y) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ t(
|
|
8625
8620
|
m,
|
|
8626
8621
|
{
|
|
8627
8622
|
as: C,
|
|
8628
8623
|
href: w.href,
|
|
8629
8624
|
color: "black",
|
|
8630
|
-
pb:
|
|
8625
|
+
pb: y !== h.links.length - 1 ? "m" : "0",
|
|
8631
8626
|
justifyContent: "between",
|
|
8632
8627
|
alignItems: "center",
|
|
8633
8628
|
children: [
|
|
@@ -8699,7 +8694,7 @@ const d1 = j(
|
|
|
8699
8694
|
children: "Donnez-nous votre avis !"
|
|
8700
8695
|
}
|
|
8701
8696
|
) }),
|
|
8702
|
-
c ===
|
|
8697
|
+
c === _.MOBILE && /* @__PURE__ */ e(
|
|
8703
8698
|
C,
|
|
8704
8699
|
{
|
|
8705
8700
|
id: "js-download-band",
|
|
@@ -8749,7 +8744,7 @@ const d1 = j(
|
|
|
8749
8744
|
children: s
|
|
8750
8745
|
}
|
|
8751
8746
|
),
|
|
8752
|
-
/* @__PURE__ */ e(
|
|
8747
|
+
/* @__PURE__ */ e(T1, { className: "c-input--newsletter", type: "email", placeholder: c }),
|
|
8753
8748
|
/* @__PURE__ */ e($, { color: "primary", variant: "outlined", type: "submit", className: "c-newsletter__button", children: l }),
|
|
8754
8749
|
/* @__PURE__ */ t(
|
|
8755
8750
|
m,
|
|
@@ -8767,7 +8762,7 @@ const d1 = j(
|
|
|
8767
8762
|
)
|
|
8768
8763
|
] });
|
|
8769
8764
|
return /* @__PURE__ */ e(x, { ...o, className: p("c-newsletter", o?.className), children: n && /* @__PURE__ */ t(S, { children: [
|
|
8770
|
-
/* @__PURE__ */ e(
|
|
8765
|
+
/* @__PURE__ */ e(A1, { bg: n }),
|
|
8771
8766
|
d
|
|
8772
8767
|
] }) });
|
|
8773
8768
|
}, A3 = ({
|
|
@@ -8832,7 +8827,7 @@ const d1 = j(
|
|
|
8832
8827
|
variant: h,
|
|
8833
8828
|
layout: v,
|
|
8834
8829
|
contentId: w,
|
|
8835
|
-
contentLegacyId:
|
|
8830
|
+
contentLegacyId: y,
|
|
8836
8831
|
...b
|
|
8837
8832
|
}) => {
|
|
8838
8833
|
const f = () => {
|
|
@@ -8870,7 +8865,7 @@ const d1 = j(
|
|
|
8870
8865
|
}),
|
|
8871
8866
|
bg: "grey-100",
|
|
8872
8867
|
"data-reaction-item": B.type,
|
|
8873
|
-
children: /* @__PURE__ */ e(g, { as: "span", size: "xxs", children:
|
|
8868
|
+
children: /* @__PURE__ */ e(g, { as: "span", size: "xxs", children: Q1[B.type] })
|
|
8874
8869
|
},
|
|
8875
8870
|
B.type
|
|
8876
8871
|
)) });
|
|
@@ -8905,8 +8900,8 @@ const d1 = j(
|
|
|
8905
8900
|
...n,
|
|
8906
8901
|
ariaLabel: "Reagir au contenu",
|
|
8907
8902
|
iconProps: { name: "thumb", "aria-hidden": !0, ...N() },
|
|
8908
|
-
"aria-describedby": v ===
|
|
8909
|
-
children: v ===
|
|
8903
|
+
"aria-describedby": v === _.DESKTOP ? `react-tooltip-${y || w}` : void 0,
|
|
8904
|
+
children: v === _.DESKTOP && /* @__PURE__ */ e(t1, { id: `react-tooltip-${y || w}`, text: "Réagir" })
|
|
8910
8905
|
}
|
|
8911
8906
|
),
|
|
8912
8907
|
h === "card" && /* @__PURE__ */ t(S, { children: [
|
|
@@ -8962,7 +8957,7 @@ const d1 = j(
|
|
|
8962
8957
|
className: "c-read-also-banner__title",
|
|
8963
8958
|
mb: { xs: "xs", sm: "0" },
|
|
8964
8959
|
px: { xs: "m", sm: "0" },
|
|
8965
|
-
children: s ===
|
|
8960
|
+
children: s === _.DESKTOP ? "À lire aussi" : "À lire aussi sur 20 Minutes"
|
|
8966
8961
|
}
|
|
8967
8962
|
),
|
|
8968
8963
|
/* @__PURE__ */ e(d1, { layout: s, buttonsColor: "white", hasSpaceAroundButtons: !0, children: a.map((i, o) => /* @__PURE__ */ e(
|
|
@@ -8978,7 +8973,7 @@ const d1 = j(
|
|
|
8978
8973
|
...i,
|
|
8979
8974
|
alignItems: "center",
|
|
8980
8975
|
cardTitleProps: {
|
|
8981
|
-
maxRows: s ===
|
|
8976
|
+
maxRows: s === _.DESKTOP ? 2 : 3,
|
|
8982
8977
|
...i.cardTitleProps
|
|
8983
8978
|
},
|
|
8984
8979
|
pr: "m",
|
|
@@ -8990,7 +8985,7 @@ const d1 = j(
|
|
|
8990
8985
|
)) })
|
|
8991
8986
|
]
|
|
8992
8987
|
}
|
|
8993
|
-
),
|
|
8988
|
+
), w1 = ({
|
|
8994
8989
|
id: a,
|
|
8995
8990
|
url: s,
|
|
8996
8991
|
inputProps: c,
|
|
@@ -9011,7 +9006,7 @@ const d1 = j(
|
|
|
9011
9006
|
children: [
|
|
9012
9007
|
/* @__PURE__ */ e("label", { htmlFor: `${a}-search`, className: "u-mask", children: r || c?.placeholder || "Recherche" }),
|
|
9013
9008
|
/* @__PURE__ */ e(
|
|
9014
|
-
|
|
9009
|
+
T1,
|
|
9015
9010
|
{
|
|
9016
9011
|
id: `${a}-search`,
|
|
9017
9012
|
className: "c-search-form__input",
|
|
@@ -9089,14 +9084,14 @@ const d1 = j(
|
|
|
9089
9084
|
pinterest: "pinterest",
|
|
9090
9085
|
print: "printer",
|
|
9091
9086
|
twitter: "twitter"
|
|
9092
|
-
}, V0 = () => typeof window > "u" ? "" : window.location.href, $0 = () => typeof document > "u" ? "" : document.title,
|
|
9087
|
+
}, V0 = () => typeof window > "u" ? "" : window.location.href, $0 = () => typeof document > "u" ? "" : document.title, J1 = (a) => encodeURIComponent(a).replace(
|
|
9093
9088
|
/[!'()*]/g,
|
|
9094
9089
|
(s) => `%${s.charCodeAt(0).toString(16).toUpperCase()}`
|
|
9095
9090
|
), Z0 = (a, s) => {
|
|
9096
9091
|
const c = new URLSearchParams();
|
|
9097
9092
|
switch (a) {
|
|
9098
9093
|
case "email":
|
|
9099
|
-
return `mailto:?subject=${
|
|
9094
|
+
return `mailto:?subject=${J1("J'aimerais vous envoyer un lien")}&body=${J1(s.url)}`;
|
|
9100
9095
|
case "facebook":
|
|
9101
9096
|
return c.set("u", s.url), `https://www.facebook.com/sharer/sharer.php?${c.toString()}`;
|
|
9102
9097
|
case "flipboard":
|
|
@@ -9183,7 +9178,7 @@ const d1 = j(
|
|
|
9183
9178
|
}
|
|
9184
9179
|
),
|
|
9185
9180
|
/* @__PURE__ */ e("div", { className: "c-show-cover__shadow" }),
|
|
9186
|
-
l ===
|
|
9181
|
+
l === _.DESKTOP ? /* @__PURE__ */ e(m, { as: "section", className: "c-show-cover__content o-page-wrap", color: "white", children: /* @__PURE__ */ t(I, { as: "section", basis: 50, children: [
|
|
9187
9182
|
i,
|
|
9188
9183
|
o
|
|
9189
9184
|
] }) }) : /* @__PURE__ */ t(x, { as: "section", color: "white", px: "m", className: "c-show-cover__content", children: [
|
|
@@ -9220,7 +9215,7 @@ const d1 = j(
|
|
|
9220
9215
|
] })
|
|
9221
9216
|
] })
|
|
9222
9217
|
] }),
|
|
9223
|
-
h && c ===
|
|
9218
|
+
h && c === _.MOBILE && /* @__PURE__ */ e(X, { sponsor: h, size: "xxs" })
|
|
9224
9219
|
] });
|
|
9225
9220
|
return i ? /* @__PURE__ */ e("a", { href: i, children: w }) : w;
|
|
9226
9221
|
}, E3 = ({ installButton: a, closeButton: s }) => /* @__PURE__ */ t(m, { className: "c-smart-banner", alignItems: "center", gap: "xs", bg: "ultramarine", color: "white", children: [
|
|
@@ -9259,7 +9254,7 @@ const d1 = j(
|
|
|
9259
9254
|
chatbotItem: n,
|
|
9260
9255
|
reportItem: i
|
|
9261
9256
|
}) => /* @__PURE__ */ t(
|
|
9262
|
-
|
|
9257
|
+
D1,
|
|
9263
9258
|
{
|
|
9264
9259
|
variant: "right",
|
|
9265
9260
|
dialogId: a,
|
|
@@ -9303,7 +9298,7 @@ const d1 = j(
|
|
|
9303
9298
|
] })
|
|
9304
9299
|
]
|
|
9305
9300
|
}
|
|
9306
|
-
), g1 = (a) => a === "card" ? "secondary" : "primary",
|
|
9301
|
+
), g1 = (a) => a === "card" ? "secondary" : "primary", M1 = (a) => a === "card" ? "inline" : "rounded", j0 = (a) => a === "vertical" ? "right" : "top", j1 = (a, s) => Y.isValidElement(a) ? Y.cloneElement(a, { id: s }) : a, n1 = ({
|
|
9307
9302
|
commentCount: a,
|
|
9308
9303
|
shareCount: s,
|
|
9309
9304
|
reactionCount: c,
|
|
@@ -9317,14 +9312,14 @@ const d1 = j(
|
|
|
9317
9312
|
withReport: h = !0,
|
|
9318
9313
|
withChatbotButton: v = !1,
|
|
9319
9314
|
commentAnchor: w,
|
|
9320
|
-
disableComment:
|
|
9315
|
+
disableComment: y,
|
|
9321
9316
|
blockVariant: b,
|
|
9322
9317
|
reactListItems: f,
|
|
9323
9318
|
userReaction: N,
|
|
9324
9319
|
layout: M,
|
|
9325
9320
|
...B
|
|
9326
9321
|
}) => {
|
|
9327
|
-
const Z = !
|
|
9322
|
+
const Z = !y && /* @__PURE__ */ e(
|
|
9328
9323
|
e1,
|
|
9329
9324
|
{
|
|
9330
9325
|
role: "button",
|
|
@@ -9335,13 +9330,13 @@ const d1 = j(
|
|
|
9335
9330
|
count: a,
|
|
9336
9331
|
countColor: r,
|
|
9337
9332
|
countBg: n,
|
|
9338
|
-
countStyle:
|
|
9333
|
+
countStyle: M1(l),
|
|
9339
9334
|
...l === "horizontal" && { id: "mbrs-social-comment-container" },
|
|
9340
9335
|
...l !== "card" && { anchor: w },
|
|
9341
9336
|
...l === "card" && u && { link: `${u}#${w}` },
|
|
9342
9337
|
color: b === "blue-grey" ? "white" : "black",
|
|
9343
|
-
"aria-describedby": M ===
|
|
9344
|
-
children: M ===
|
|
9338
|
+
"aria-describedby": M === _.DESKTOP ? `comment-tooltip-${o || i}` : void 0,
|
|
9339
|
+
children: M === _.DESKTOP && /* @__PURE__ */ e(t1, { id: `comment-tooltip-${o || i}`, text: "Commenter" })
|
|
9345
9340
|
}
|
|
9346
9341
|
), P = /* @__PURE__ */ e(
|
|
9347
9342
|
e1,
|
|
@@ -9355,13 +9350,13 @@ const d1 = j(
|
|
|
9355
9350
|
count: s === 0 ? void 0 : s,
|
|
9356
9351
|
countColor: r,
|
|
9357
9352
|
countBg: n,
|
|
9358
|
-
countStyle:
|
|
9353
|
+
countStyle: M1(l),
|
|
9359
9354
|
isClickable: l !== "card",
|
|
9360
9355
|
className: p({ "js-mobile-share-button": l === "horizontal" }),
|
|
9361
9356
|
...l !== "card" && { id: "mbrs-social-share-container" },
|
|
9362
9357
|
color: b && ["dark", "blue-grey"].includes(b) ? "white" : "black",
|
|
9363
|
-
"aria-describedby": M ===
|
|
9364
|
-
children: M ===
|
|
9358
|
+
"aria-describedby": M === _.DESKTOP ? `share-tooltip-${o || i}` : void 0,
|
|
9359
|
+
children: M === _.DESKTOP && /* @__PURE__ */ e(
|
|
9365
9360
|
t1,
|
|
9366
9361
|
{
|
|
9367
9362
|
id: `share-tooltip-${o || i}`,
|
|
@@ -9369,14 +9364,14 @@ const d1 = j(
|
|
|
9369
9364
|
}
|
|
9370
9365
|
)
|
|
9371
9366
|
}
|
|
9372
|
-
), k = !
|
|
9367
|
+
), k = !y && i && !!f && /* @__PURE__ */ e(
|
|
9373
9368
|
M0,
|
|
9374
9369
|
{
|
|
9375
9370
|
color: b === "blue-grey" ? "white" : "black",
|
|
9376
9371
|
count: c,
|
|
9377
9372
|
countColor: r,
|
|
9378
9373
|
countBg: n,
|
|
9379
|
-
countStyle:
|
|
9374
|
+
countStyle: M1(l),
|
|
9380
9375
|
iconItemProps: {
|
|
9381
9376
|
variant: g1(l),
|
|
9382
9377
|
...l === "card" && b === "blue-grey" && { iconBackground: "blue-grey", iconColor: "white" }
|
|
@@ -9400,14 +9395,14 @@ const d1 = j(
|
|
|
9400
9395
|
iconProps: { name: "bookmark", "aria-hidden": !0 },
|
|
9401
9396
|
...l === "card" && b === "blue-grey" && { iconBackground: "blue-grey", iconColor: "white" },
|
|
9402
9397
|
variant: g1(l),
|
|
9403
|
-
countStyle:
|
|
9398
|
+
countStyle: M1(l),
|
|
9404
9399
|
"data-id": o,
|
|
9405
9400
|
"data-delayed": !0,
|
|
9406
9401
|
"data-distance-visible": 0,
|
|
9407
9402
|
"data-event-name": "mbrs-social-save-content",
|
|
9408
9403
|
color: b === "blue-grey" ? "white" : "black",
|
|
9409
|
-
"aria-describedby": M ===
|
|
9410
|
-
children: M ===
|
|
9404
|
+
"aria-describedby": M === _.DESKTOP ? `bookmark-tooltip-${o || i}` : void 0,
|
|
9405
|
+
children: M === _.DESKTOP && /* @__PURE__ */ e(
|
|
9411
9406
|
t1,
|
|
9412
9407
|
{
|
|
9413
9408
|
id: `bookmark-tooltip-${o || i}`,
|
|
@@ -9425,8 +9420,8 @@ const d1 = j(
|
|
|
9425
9420
|
iconProps: { name: "report", "aria-hidden": !0 },
|
|
9426
9421
|
className: "mbrs-social-report-container",
|
|
9427
9422
|
color: "black",
|
|
9428
|
-
"aria-describedby": M ===
|
|
9429
|
-
children: M ===
|
|
9423
|
+
"aria-describedby": M === _.DESKTOP ? `report-tooltip-${o || i}` : void 0,
|
|
9424
|
+
children: M === _.DESKTOP && /* @__PURE__ */ e(
|
|
9430
9425
|
t1,
|
|
9431
9426
|
{
|
|
9432
9427
|
id: `report-tooltip-${o || i}`,
|
|
@@ -9443,9 +9438,9 @@ const d1 = j(
|
|
|
9443
9438
|
color: "black",
|
|
9444
9439
|
id: "mbrs-social-chatbot-container",
|
|
9445
9440
|
"data-content-id": i,
|
|
9446
|
-
"aria-describedby": M ===
|
|
9441
|
+
"aria-describedby": M === _.DESKTOP ? `chatbot-tooltip-${o || i}` : void 0,
|
|
9447
9442
|
pl: "xxs-3",
|
|
9448
|
-
children: M ===
|
|
9443
|
+
children: M === _.DESKTOP && /* @__PURE__ */ e(
|
|
9449
9444
|
t1,
|
|
9450
9445
|
{
|
|
9451
9446
|
id: `chatbot-tooltip-${o || i}`,
|
|
@@ -9474,7 +9469,7 @@ const d1 = j(
|
|
|
9474
9469
|
"aria-label": "Ouvrir le menu des actions",
|
|
9475
9470
|
"data-a11y-dialog-show": "dialog-social-bar"
|
|
9476
9471
|
}
|
|
9477
|
-
),
|
|
9472
|
+
), $1 = (h || v || !!o) && /* @__PURE__ */ e(R1, {}), Z1 = l === "horizontal" && v, h1 = j1(Z, "mbrs-social-comment-container-modal"), _1 = j1(P, "mbrs-social-share-container-modal"), m1 = j1(J, "mbrs-social-chatbot-container-modal"), z1 = () => {
|
|
9478
9473
|
switch (l) {
|
|
9479
9474
|
case "card":
|
|
9480
9475
|
return /* @__PURE__ */ t(S, { children: [
|
|
@@ -9502,7 +9497,7 @@ const d1 = j(
|
|
|
9502
9497
|
Z && /* @__PURE__ */ e("li", { children: Z }),
|
|
9503
9498
|
P && /* @__PURE__ */ e("li", { children: P }),
|
|
9504
9499
|
k && /* @__PURE__ */ e("li", { children: k }),
|
|
9505
|
-
/* @__PURE__ */ e("li", { "aria-hidden": "true", children:
|
|
9500
|
+
/* @__PURE__ */ e("li", { "aria-hidden": "true", children: $1 }),
|
|
9506
9501
|
J && /* @__PURE__ */ e("li", { children: J }),
|
|
9507
9502
|
L && /* @__PURE__ */ e("li", { children: L }),
|
|
9508
9503
|
q && /* @__PURE__ */ e("li", { children: q })
|
|
@@ -9530,15 +9525,15 @@ const d1 = j(
|
|
|
9530
9525
|
),
|
|
9531
9526
|
bg: l === "horizontal" ? "grey-50" : void 0,
|
|
9532
9527
|
"data-block-variant": b,
|
|
9533
|
-
children:
|
|
9528
|
+
children: z1()
|
|
9534
9529
|
}
|
|
9535
9530
|
),
|
|
9536
|
-
|
|
9531
|
+
Z1 && /* @__PURE__ */ e(
|
|
9537
9532
|
L0,
|
|
9538
9533
|
{
|
|
9539
9534
|
dialogId: "dialog-social-bar",
|
|
9540
9535
|
commentItem: h1,
|
|
9541
|
-
shareItem:
|
|
9536
|
+
shareItem: _1,
|
|
9542
9537
|
bookmarkItem: L,
|
|
9543
9538
|
reportItem: q,
|
|
9544
9539
|
chatbotItem: m1
|
|
@@ -9712,7 +9707,7 @@ const d1 = j(
|
|
|
9712
9707
|
className: "c-sub-menu__link",
|
|
9713
9708
|
children: [
|
|
9714
9709
|
/* @__PURE__ */ e(
|
|
9715
|
-
|
|
9710
|
+
O1,
|
|
9716
9711
|
{
|
|
9717
9712
|
as: "span",
|
|
9718
9713
|
...c && { iconProps: { name: c, size: 32 } },
|
|
@@ -9786,7 +9781,7 @@ const d1 = j(
|
|
|
9786
9781
|
sizes: "(min-width: 1160px) 253px, calc(33.33vw - 112px)"
|
|
9787
9782
|
}
|
|
9788
9783
|
},
|
|
9789
|
-
layout:
|
|
9784
|
+
layout: _.DESKTOP,
|
|
9790
9785
|
justifyContent: "start"
|
|
9791
9786
|
}
|
|
9792
9787
|
)) })
|
|
@@ -9880,7 +9875,7 @@ const d1 = j(
|
|
|
9880
9875
|
iconProps: { name: a, size: [20, 20] },
|
|
9881
9876
|
className: "tooltip-btn c-tooltip-item__icon"
|
|
9882
9877
|
}
|
|
9883
|
-
) }), U3 = () => /* @__PURE__ */ e(m, { id: "text-tooltip", className: "c-text-tooltip", as: "ul", gap: "s", children: /* @__PURE__ */ e(D0, { iconName: "report", className: "mbrs-social-report-container" }) }),
|
|
9878
|
+
) }), U3 = () => /* @__PURE__ */ e(m, { id: "text-tooltip", className: "c-text-tooltip", as: "ul", gap: "s", children: /* @__PURE__ */ e(D0, { iconName: "report", className: "mbrs-social-report-container" }) }), C1 = ({
|
|
9884
9879
|
href: a,
|
|
9885
9880
|
iconProps: s,
|
|
9886
9881
|
children: c,
|
|
@@ -9948,8 +9943,8 @@ const d1 = j(
|
|
|
9948
9943
|
direction: "column",
|
|
9949
9944
|
alignItems: { xs: "start", md: "center" },
|
|
9950
9945
|
className: p("c-timeline__item", {
|
|
9951
|
-
[`c-timeline__item--is-mobile-${r + 1}`]: s ===
|
|
9952
|
-
"u-hidden": s ===
|
|
9946
|
+
[`c-timeline__item--is-mobile-${r + 1}`]: s === _.MOBILE && (r === 0 || r === 1),
|
|
9947
|
+
"u-hidden": s === _.MOBILE && r >= 2
|
|
9953
9948
|
}),
|
|
9954
9949
|
children: [
|
|
9955
9950
|
/* @__PURE__ */ t(
|
|
@@ -9959,11 +9954,11 @@ const d1 = j(
|
|
|
9959
9954
|
gap: "xxs",
|
|
9960
9955
|
alignItems: "center",
|
|
9961
9956
|
className: p("c-timeline__time-container", {
|
|
9962
|
-
"c-timeline__time-container--is-mobile": s ===
|
|
9957
|
+
"c-timeline__time-container--is-mobile": s === _.MOBILE
|
|
9963
9958
|
}),
|
|
9964
9959
|
children: [
|
|
9965
9960
|
/* @__PURE__ */ e(g, { as: "span", weight: "bold", className: "c-timeline__time", children: l.time }),
|
|
9966
|
-
/* @__PURE__ */ e(
|
|
9961
|
+
/* @__PURE__ */ e(le, { color: "white", className: "c-timeline__separator" })
|
|
9967
9962
|
]
|
|
9968
9963
|
}
|
|
9969
9964
|
),
|
|
@@ -9997,7 +9992,7 @@ const d1 = j(
|
|
|
9997
9992
|
warningMessage: r
|
|
9998
9993
|
}) => /* @__PURE__ */ t(S, { children: [
|
|
9999
9994
|
/* @__PURE__ */ t(m, { gap: "xs", mt: "m", mx: "m", children: [
|
|
10000
|
-
/* @__PURE__ */ e(
|
|
9995
|
+
/* @__PURE__ */ e(b1, { img: c.avatar }),
|
|
10001
9996
|
/* @__PURE__ */ t(V, { as: "h2", size: "m", mt: "xxs-2", children: [
|
|
10002
9997
|
c.greeting || "Bienvenue",
|
|
10003
9998
|
" ",
|
|
@@ -10063,7 +10058,7 @@ const d1 = j(
|
|
|
10063
10058
|
]
|
|
10064
10059
|
}
|
|
10065
10060
|
), w = l?.avatarUrl ? /* @__PURE__ */ e(
|
|
10066
|
-
|
|
10061
|
+
b1,
|
|
10067
10062
|
{
|
|
10068
10063
|
img: l?.avatarUrl,
|
|
10069
10064
|
mr: { xs: "xs", md: "l" },
|
|
@@ -10078,8 +10073,8 @@ const d1 = j(
|
|
|
10078
10073
|
color: n || "grey-300",
|
|
10079
10074
|
mr: { xs: "xs", md: "l" }
|
|
10080
10075
|
}
|
|
10081
|
-
),
|
|
10082
|
-
d && s ===
|
|
10076
|
+
), y = /* @__PURE__ */ t(S, { children: [
|
|
10077
|
+
d && s === _.MOBILE ? /* @__PURE__ */ t(m, { children: [
|
|
10083
10078
|
w,
|
|
10084
10079
|
v
|
|
10085
10080
|
] }) : v,
|
|
@@ -10148,7 +10143,7 @@ const d1 = j(
|
|
|
10148
10143
|
children: i
|
|
10149
10144
|
}
|
|
10150
10145
|
),
|
|
10151
|
-
d && s ===
|
|
10146
|
+
d && s === _.DESKTOP && w
|
|
10152
10147
|
] }), f = d || i;
|
|
10153
10148
|
return /* @__PURE__ */ e(
|
|
10154
10149
|
x,
|
|
@@ -10160,11 +10155,11 @@ const d1 = j(
|
|
|
10160
10155
|
pb: o && o.length > 0 ? "xxl" : "m",
|
|
10161
10156
|
children: f ? /* @__PURE__ */ t(m, { children: [
|
|
10162
10157
|
b,
|
|
10163
|
-
/* @__PURE__ */ e(I, { grow: 1, align: "center", children:
|
|
10164
|
-
] }) :
|
|
10158
|
+
/* @__PURE__ */ e(I, { grow: 1, align: "center", children: y })
|
|
10159
|
+
] }) : y
|
|
10165
10160
|
}
|
|
10166
10161
|
);
|
|
10167
|
-
},
|
|
10162
|
+
}, V1 = ({ href: a, iconName: s, name: c, themeColor: l }) => /* @__PURE__ */ t($, { as: "a", href: a, color: "white", p: "xs", className: "c-app-button", children: [
|
|
10168
10163
|
/* @__PURE__ */ e(z, { name: s, size: 20, color: l || "ultramarine" }),
|
|
10169
10164
|
/* @__PURE__ */ t(m, { direction: "column", children: [
|
|
10170
10165
|
/* @__PURE__ */ e(g, { as: "span", size: "xxs", weight: "regular", children: "Télécharger sur" }),
|
|
@@ -10260,7 +10255,7 @@ const d1 = j(
|
|
|
10260
10255
|
/* @__PURE__ */ e(g, { color: "white", mb: "l", mt: "s", children: "Découvrez l‘ensemble de nos applications 20 Minutes !" }),
|
|
10261
10256
|
/* @__PURE__ */ t(m, { gap: "xs", wrap: "wrap", children: [
|
|
10262
10257
|
/* @__PURE__ */ e(
|
|
10263
|
-
|
|
10258
|
+
V1,
|
|
10264
10259
|
{
|
|
10265
10260
|
href: "https://apps.apple.com/fr/app/20-minutes-news-en-continu/id308834491",
|
|
10266
10261
|
iconName: "apple",
|
|
@@ -10269,7 +10264,7 @@ const d1 = j(
|
|
|
10269
10264
|
}
|
|
10270
10265
|
),
|
|
10271
10266
|
/* @__PURE__ */ e(
|
|
10272
|
-
|
|
10267
|
+
V1,
|
|
10273
10268
|
{
|
|
10274
10269
|
href: "https://play.google.com/store/apps/details?id=com.backelite.vingtminutes&hl=fr",
|
|
10275
10270
|
iconName: "googleplay",
|
|
@@ -10352,7 +10347,7 @@ const d1 = j(
|
|
|
10352
10347
|
children: [
|
|
10353
10348
|
/* @__PURE__ */ e(m, { as: "section", direction: "column", mb: "l", children: s.map(
|
|
10354
10349
|
(i, o) => i.links.length === 0 ? null : /* @__PURE__ */ e(
|
|
10355
|
-
|
|
10350
|
+
B1,
|
|
10356
10351
|
{
|
|
10357
10352
|
as: "section",
|
|
10358
10353
|
headingTitleProps: { color: "white", children: i.name },
|
|
@@ -10396,7 +10391,7 @@ const d1 = j(
|
|
|
10396
10391
|
}
|
|
10397
10392
|
) }),
|
|
10398
10393
|
/* @__PURE__ */ e(
|
|
10399
|
-
|
|
10394
|
+
V1,
|
|
10400
10395
|
{
|
|
10401
10396
|
href: "https://apps.apple.com/fr/app/20-minutes-news-en-continu/id308834491",
|
|
10402
10397
|
iconName: "apple",
|
|
@@ -10405,7 +10400,7 @@ const d1 = j(
|
|
|
10405
10400
|
}
|
|
10406
10401
|
),
|
|
10407
10402
|
/* @__PURE__ */ e(
|
|
10408
|
-
|
|
10403
|
+
V1,
|
|
10409
10404
|
{
|
|
10410
10405
|
href: "https://play.google.com/store/apps/details?id=com.backelite.vingtminutes&hl=fr",
|
|
10411
10406
|
iconName: "googleplay",
|
|
@@ -10425,11 +10420,11 @@ const d1 = j(
|
|
|
10425
10420
|
] })
|
|
10426
10421
|
]
|
|
10427
10422
|
}
|
|
10428
|
-
), J3 = ({ layout: a =
|
|
10429
|
-
layout: a =
|
|
10423
|
+
), J3 = ({ layout: a = _.MOBILE, ...s }) => a === _.DESKTOP ? /* @__PURE__ */ e(R0, { ...s }) : /* @__PURE__ */ e(O0, { ...s }), X3 = ({
|
|
10424
|
+
layout: a = _.MOBILE,
|
|
10430
10425
|
backhref: s,
|
|
10431
10426
|
...c
|
|
10432
|
-
}) => a ===
|
|
10427
|
+
}) => a === _.DESKTOP ? /* @__PURE__ */ e(E0, { ...c }) : /* @__PURE__ */ e(
|
|
10433
10428
|
K0,
|
|
10434
10429
|
{
|
|
10435
10430
|
logoHref: c.logoHref,
|
|
@@ -10445,7 +10440,7 @@ const d1 = j(
|
|
|
10445
10440
|
"a",
|
|
10446
10441
|
{
|
|
10447
10442
|
href: a,
|
|
10448
|
-
className: p("c-skip-link",
|
|
10443
|
+
className: p("c-skip-link", ne(c), c?.className),
|
|
10449
10444
|
ref: l,
|
|
10450
10445
|
...c,
|
|
10451
10446
|
children: s
|
|
@@ -10527,7 +10522,7 @@ const P0 = {
|
|
|
10527
10522
|
}
|
|
10528
10523
|
),
|
|
10529
10524
|
/* @__PURE__ */ e(
|
|
10530
|
-
|
|
10525
|
+
w1,
|
|
10531
10526
|
{
|
|
10532
10527
|
id: "search-form-header",
|
|
10533
10528
|
url: c,
|
|
@@ -10552,7 +10547,7 @@ const P0 = {
|
|
|
10552
10547
|
/* @__PURE__ */ t(m, { alignItems: "center", children: [
|
|
10553
10548
|
/* @__PURE__ */ t(m, { alignItems: "center", gap: "xs", className: "c-header__media-links", children: [
|
|
10554
10549
|
/* @__PURE__ */ e(
|
|
10555
|
-
|
|
10550
|
+
x1,
|
|
10556
10551
|
{
|
|
10557
10552
|
href: "https://www.20minutes.fr/tv",
|
|
10558
10553
|
iconProps: {
|
|
@@ -10564,7 +10559,7 @@ const P0 = {
|
|
|
10564
10559
|
}
|
|
10565
10560
|
),
|
|
10566
10561
|
/* @__PURE__ */ e(
|
|
10567
|
-
|
|
10562
|
+
x1,
|
|
10568
10563
|
{
|
|
10569
10564
|
href: "https://www.20minutes.fr/tv/direct",
|
|
10570
10565
|
iconProps: {
|
|
@@ -10775,7 +10770,7 @@ const P0 = {
|
|
|
10775
10770
|
...v,
|
|
10776
10771
|
body: d(
|
|
10777
10772
|
v.body,
|
|
10778
|
-
s ===
|
|
10773
|
+
s === _.DESKTOP ? v.name === "le-direct" && 25 || 10 : 5
|
|
10779
10774
|
)
|
|
10780
10775
|
})).filter((v) => v.body && v.body.length > 0).map((v) => {
|
|
10781
10776
|
const w = v.name === "le-direct";
|
|
@@ -10788,46 +10783,46 @@ const P0 = {
|
|
|
10788
10783
|
"div",
|
|
10789
10784
|
{
|
|
10790
10785
|
className: p({
|
|
10791
|
-
"c-most-read-articles-is-scrollable": r && s ===
|
|
10792
|
-
"c-most-read-articles-fit-container": c && s ===
|
|
10786
|
+
"c-most-read-articles-is-scrollable": r && s === _.DESKTOP,
|
|
10787
|
+
"c-most-read-articles-fit-container": c && s === _.DESKTOP
|
|
10793
10788
|
}),
|
|
10794
|
-
children: /* @__PURE__ */ e("div", { children: v.body.map((
|
|
10789
|
+
children: /* @__PURE__ */ e("div", { children: v.body.map((y, b) => /* @__PURE__ */ t(Y.Fragment, { children: [
|
|
10795
10790
|
w ? /* @__PURE__ */ e(
|
|
10796
10791
|
oe,
|
|
10797
10792
|
{
|
|
10798
|
-
link:
|
|
10799
|
-
title:
|
|
10793
|
+
link: y.url,
|
|
10794
|
+
title: y.title,
|
|
10800
10795
|
cardHeaderProps: {
|
|
10801
|
-
headline: { text:
|
|
10802
|
-
liveTime:
|
|
10796
|
+
headline: { text: y.rubricName },
|
|
10797
|
+
liveTime: y.liveTime
|
|
10803
10798
|
},
|
|
10804
10799
|
cardTitleProps: {
|
|
10805
10800
|
size: { xs: "xxs-2", md: "xxs-3" },
|
|
10806
|
-
cartridge:
|
|
10801
|
+
cartridge: y.cartridge
|
|
10807
10802
|
},
|
|
10808
10803
|
layout: s,
|
|
10809
|
-
mr: r && s ===
|
|
10804
|
+
mr: r && s === _.DESKTOP && v.body.length > 3 ? "s" : void 0
|
|
10810
10805
|
}
|
|
10811
10806
|
) : /* @__PURE__ */ e(
|
|
10812
10807
|
t0,
|
|
10813
10808
|
{
|
|
10814
|
-
link:
|
|
10815
|
-
title:
|
|
10809
|
+
link: y.url,
|
|
10810
|
+
title: y.title,
|
|
10816
10811
|
cardHeaderProps: {
|
|
10817
|
-
headline: { text:
|
|
10812
|
+
headline: { text: y.rubricName }
|
|
10818
10813
|
},
|
|
10819
|
-
...s ===
|
|
10820
|
-
cardImageProps:
|
|
10814
|
+
...s === _.DESKTOP && {
|
|
10815
|
+
cardImageProps: y.cardImageProps
|
|
10821
10816
|
},
|
|
10822
|
-
cardTitleProps: { size: "xxs-3", cartridge:
|
|
10817
|
+
cardTitleProps: { size: "xxs-3", cartridge: y.cartridge },
|
|
10823
10818
|
cardNumber: { value: b + 1, size: "small" },
|
|
10824
10819
|
layout: s,
|
|
10825
|
-
mr: r && s ===
|
|
10820
|
+
mr: r && s === _.DESKTOP ? "s" : void 0,
|
|
10826
10821
|
variant: "small"
|
|
10827
10822
|
}
|
|
10828
10823
|
),
|
|
10829
10824
|
b !== v.body.length - 1 && /* @__PURE__ */ e(E, { color: "grey-200", my: "s" })
|
|
10830
|
-
] },
|
|
10825
|
+
] }, y.title)) })
|
|
10831
10826
|
}
|
|
10832
10827
|
),
|
|
10833
10828
|
n && /* @__PURE__ */ e(m, { mt: "xl", justifyContent: "center", ...i, children: /* @__PURE__ */ e(
|
|
@@ -10852,7 +10847,7 @@ const P0 = {
|
|
|
10852
10847
|
{
|
|
10853
10848
|
tabItemActive: l || h[0].name,
|
|
10854
10849
|
tabItems: h,
|
|
10855
|
-
fitContainer: c && s ===
|
|
10850
|
+
fitContainer: c && s === _.DESKTOP,
|
|
10856
10851
|
...o
|
|
10857
10852
|
}
|
|
10858
10853
|
);
|
|
@@ -10867,7 +10862,7 @@ const P0 = {
|
|
|
10867
10862
|
}) => {
|
|
10868
10863
|
const o = (h, v) => h.slice(0, v), u = a.map((h) => ({
|
|
10869
10864
|
...h,
|
|
10870
|
-
body: o(h.body, s ===
|
|
10865
|
+
body: o(h.body, s === _.DESKTOP ? 10 : 5)
|
|
10871
10866
|
})).filter((h) => h.body && h.body.length > 0).map((h) => ({
|
|
10872
10867
|
name: h.name,
|
|
10873
10868
|
title: h.title,
|
|
@@ -10877,8 +10872,8 @@ const P0 = {
|
|
|
10877
10872
|
"div",
|
|
10878
10873
|
{
|
|
10879
10874
|
className: p({
|
|
10880
|
-
"c-most-read-articles-is-scrollable": r && s ===
|
|
10881
|
-
"c-most-read-articles-fit-container": c && s ===
|
|
10875
|
+
"c-most-read-articles-is-scrollable": r && s === _.DESKTOP,
|
|
10876
|
+
"c-most-read-articles-fit-container": c && s === _.DESKTOP
|
|
10882
10877
|
}),
|
|
10883
10878
|
children: h.body.map((v, w) => /* @__PURE__ */ t(Y.Fragment, { children: [
|
|
10884
10879
|
/* @__PURE__ */ e(
|
|
@@ -10892,7 +10887,7 @@ const P0 = {
|
|
|
10892
10887
|
cardTitleProps: {
|
|
10893
10888
|
size: "xxs-2"
|
|
10894
10889
|
},
|
|
10895
|
-
mr: r && s ===
|
|
10890
|
+
mr: r && s === _.DESKTOP ? "s" : void 0
|
|
10896
10891
|
}
|
|
10897
10892
|
),
|
|
10898
10893
|
w !== h.body.length - 1 && /* @__PURE__ */ e(E, { color: "grey-200", my: "s" })
|
|
@@ -10907,8 +10902,8 @@ const P0 = {
|
|
|
10907
10902
|
{
|
|
10908
10903
|
tabItemActive: l || (u.length > 0 ? u[0].name : ""),
|
|
10909
10904
|
tabItems: u,
|
|
10910
|
-
fitContainer: c && s ===
|
|
10911
|
-
...
|
|
10905
|
+
fitContainer: c && s === _.DESKTOP,
|
|
10906
|
+
..._.DESKTOP === s && (r || c) && { "data-background-variant": "blue-dark" },
|
|
10912
10907
|
tabTitlesColor: n,
|
|
10913
10908
|
...i
|
|
10914
10909
|
}
|
|
@@ -10924,11 +10919,11 @@ const P0 = {
|
|
|
10924
10919
|
return null;
|
|
10925
10920
|
const n = r || (l === "overview" ? /* @__PURE__ */ t(S, { children: [
|
|
10926
10921
|
"Le récap",
|
|
10927
|
-
s ===
|
|
10922
|
+
s === _.DESKTOP ? /* @__PURE__ */ e("br", {}) : " ",
|
|
10928
10923
|
"de la journée"
|
|
10929
10924
|
] }) : /* @__PURE__ */ t(S, { children: [
|
|
10930
10925
|
"Les offres",
|
|
10931
|
-
s ===
|
|
10926
|
+
s === _.DESKTOP ? /* @__PURE__ */ e("br", {}) : " ",
|
|
10932
10927
|
"du moment"
|
|
10933
10928
|
] })), i = /* @__PURE__ */ e(
|
|
10934
10929
|
V,
|
|
@@ -10984,7 +10979,7 @@ const P0 = {
|
|
|
10984
10979
|
...h,
|
|
10985
10980
|
cardTitleProps: {
|
|
10986
10981
|
as: "h3",
|
|
10987
|
-
maxRows: s ===
|
|
10982
|
+
maxRows: s === _.DESKTOP ? 2 : 3,
|
|
10988
10983
|
...h.cardTitleProps || {}
|
|
10989
10984
|
},
|
|
10990
10985
|
variant: "overviewBar"
|
|
@@ -10994,19 +10989,19 @@ const P0 = {
|
|
|
10994
10989
|
h.title
|
|
10995
10990
|
)) }), u = a.map(() => ({ loaded: !1, loading: !1 }));
|
|
10996
10991
|
return /* @__PURE__ */ t("div", { className: "js-overview-bar-container", children: [
|
|
10997
|
-
s ===
|
|
10992
|
+
s === _.DESKTOP ? /* @__PURE__ */ t(m, { alignItems: "center", py: "xs", px: "m", className: "c-overview-bar", children: [
|
|
10998
10993
|
i,
|
|
10999
10994
|
d
|
|
11000
10995
|
] }) : /* @__PURE__ */ t(x, { py: "xs", className: "c-overview-bar", children: [
|
|
11001
10996
|
i,
|
|
11002
10997
|
d
|
|
11003
10998
|
] }),
|
|
11004
|
-
c && s ===
|
|
10999
|
+
c && s === _.MOBILE && /* @__PURE__ */ e(Ke, { items: u, mt: "s" })
|
|
11005
11000
|
] });
|
|
11006
11001
|
}, s4 = ({ medias: a, ...s }) => !a || a.length === 0 ? null : /* @__PURE__ */ e(x, { ...s, className: "pswp-gallery", id: "photoswipe-gallery", children: a.map((c, l) => /* @__PURE__ */ e(
|
|
11007
11002
|
"a",
|
|
11008
11003
|
{
|
|
11009
|
-
href: c?.imgProps?.defaultFormat ?
|
|
11004
|
+
href: c?.imgProps?.defaultFormat ? I1({ src: c.src, format: c.imgProps.defaultFormat }) : c.src,
|
|
11010
11005
|
"data-pswp-width": c.imgProps?.defaultFormat?.split("x")[0],
|
|
11011
11006
|
"data-pswp-height": c.imgProps?.defaultFormat?.split("x")[1],
|
|
11012
11007
|
target: "_blank",
|
|
@@ -11014,7 +11009,7 @@ const P0 = {
|
|
|
11014
11009
|
"aria-label": "Ouvrir l’image",
|
|
11015
11010
|
className: l !== 0 ? "u-hidden" : void 0,
|
|
11016
11011
|
children: /* @__PURE__ */ e(
|
|
11017
|
-
|
|
11012
|
+
f1,
|
|
11018
11013
|
{
|
|
11019
11014
|
src: c.src || "",
|
|
11020
11015
|
type: G.photo,
|
|
@@ -11022,7 +11017,8 @@ const P0 = {
|
|
|
11022
11017
|
caption: c.caption,
|
|
11023
11018
|
credits: c.credits,
|
|
11024
11019
|
source: c.source,
|
|
11025
|
-
isGallery: !0
|
|
11020
|
+
isGallery: !0,
|
|
11021
|
+
imgProps: c.imgProps
|
|
11026
11022
|
}
|
|
11027
11023
|
)
|
|
11028
11024
|
},
|
|
@@ -11040,34 +11036,34 @@ const P0 = {
|
|
|
11040
11036
|
{
|
|
11041
11037
|
...l,
|
|
11042
11038
|
className: p("c-ranking", l.className, {
|
|
11043
|
-
"c-ranking--is-mobile": s ===
|
|
11039
|
+
"c-ranking--is-mobile": s === _.MOBILE,
|
|
11044
11040
|
"c-ranking--with-fixture": r
|
|
11045
11041
|
}),
|
|
11046
11042
|
children: [
|
|
11047
|
-
/* @__PURE__ */ t(s1, { colsNumber: s ===
|
|
11043
|
+
/* @__PURE__ */ t(s1, { colsNumber: s === _.MOBILE ? 5 : 6, className: "c-ranking__content", children: [
|
|
11048
11044
|
/* @__PURE__ */ e("div", {}),
|
|
11049
|
-
s ===
|
|
11045
|
+
s === _.DESKTOP && /* @__PURE__ */ e("div", {}),
|
|
11050
11046
|
/* @__PURE__ */ e(m, { alignItems: "center", className: "c-ranking__header", children: /* @__PURE__ */ e(g, { as: "span", weight: "bold", children: "Joueur" }) }),
|
|
11051
11047
|
/* @__PURE__ */ e(m, { alignItems: "center", className: "c-ranking__header", children: /* @__PURE__ */ e(g, { as: "span", weight: "bold", children: "Score" }) }),
|
|
11052
11048
|
/* @__PURE__ */ e(m, { alignItems: "center", className: "c-ranking__header", children: /* @__PURE__ */ e(g, { as: "span", weight: "bold", children: "Parties jouées" }) }),
|
|
11053
11049
|
/* @__PURE__ */ e(m, { alignItems: "center", className: "c-ranking__header", children: /* @__PURE__ */ e(g, { as: "span", weight: "bold", children: "Victoires" }) }),
|
|
11054
|
-
n.map((o, d) => /* @__PURE__ */ t(
|
|
11050
|
+
n.map((o, d) => /* @__PURE__ */ t(X1, { children: [
|
|
11055
11051
|
/* @__PURE__ */ e(
|
|
11056
11052
|
m,
|
|
11057
11053
|
{
|
|
11058
11054
|
alignItems: "center",
|
|
11059
11055
|
justifyContent: "end",
|
|
11060
11056
|
className: `c-ranking__player c-ranking__player--${i(d, o.isCurrentUser)} c-ranking__player-ranking`,
|
|
11061
|
-
children: /* @__PURE__ */ e(g, { weight: "bold", size: "m", color: o.isCurrentUser ? "ultramarine" : void 0, children:
|
|
11057
|
+
children: /* @__PURE__ */ e(g, { weight: "bold", size: "m", color: o.isCurrentUser ? "ultramarine" : void 0, children: S1(o.current) })
|
|
11062
11058
|
}
|
|
11063
11059
|
),
|
|
11064
|
-
s ===
|
|
11060
|
+
s === _.DESKTOP && /* @__PURE__ */ e(
|
|
11065
11061
|
m,
|
|
11066
11062
|
{
|
|
11067
11063
|
alignItems: "center",
|
|
11068
11064
|
justifyContent: "end",
|
|
11069
11065
|
className: `c-ranking__player c-ranking__player--${i(d, o.isCurrentUser)}`,
|
|
11070
|
-
children: /* @__PURE__ */ e(
|
|
11066
|
+
children: /* @__PURE__ */ e(b1, { variant: "small", img: o.avatar, mr: "l" })
|
|
11071
11067
|
}
|
|
11072
11068
|
),
|
|
11073
11069
|
/* @__PURE__ */ e(
|
|
@@ -11185,10 +11181,10 @@ const P0 = {
|
|
|
11185
11181
|
...l
|
|
11186
11182
|
}) => s.length > 0 ? /* @__PURE__ */ t(x, { as: "section", ...l, className: "c-three-columns-articles", children: [
|
|
11187
11183
|
a && /* @__PURE__ */ t(S, { children: [
|
|
11188
|
-
/* @__PURE__ */ e(
|
|
11189
|
-
/* @__PURE__ */ e(
|
|
11184
|
+
/* @__PURE__ */ e(A1, { mb: "xl" }),
|
|
11185
|
+
/* @__PURE__ */ e(O1, { as: "h2", size: "m", mb: "l", textAlign: { xs: "center", md: "left" }, children: a })
|
|
11190
11186
|
] }),
|
|
11191
|
-
c ===
|
|
11187
|
+
c === _.DESKTOP ? /* @__PURE__ */ e(d1, { itemsGap: "xl", layout: c, sliderVariant: "three-columns-articles", children: s.map(
|
|
11192
11188
|
(r) => r.articles.length > 0 ? /* @__PURE__ */ e(G0, { ...r }, r.title.label) : null
|
|
11193
11189
|
) }) : s.map((r, n) => /* @__PURE__ */ e(
|
|
11194
11190
|
m0,
|
|
@@ -11241,7 +11237,7 @@ export {
|
|
|
11241
11237
|
W2 as AstroTiles,
|
|
11242
11238
|
Xe as AstroTopicCard,
|
|
11243
11239
|
X0 as Autocomplete,
|
|
11244
|
-
|
|
11240
|
+
b1 as Avatar,
|
|
11245
11241
|
Qe as AvatarGroup,
|
|
11246
11242
|
x as Box,
|
|
11247
11243
|
Y2 as Breadcrumb,
|
|
@@ -11251,7 +11247,7 @@ export {
|
|
|
11251
11247
|
R as CardContainer,
|
|
11252
11248
|
Q2 as CardExtraLarge,
|
|
11253
11249
|
oe as CardExtraSmall,
|
|
11254
|
-
|
|
11250
|
+
v1 as CardFooter,
|
|
11255
11251
|
e3 as CardFrame,
|
|
11256
11252
|
Q as CardHeader,
|
|
11257
11253
|
F as CardImage,
|
|
@@ -11277,17 +11273,17 @@ export {
|
|
|
11277
11273
|
h3 as Chatbot,
|
|
11278
11274
|
S2 as Checkbox,
|
|
11279
11275
|
m3 as Citation,
|
|
11280
|
-
|
|
11276
|
+
B1 as Collapse,
|
|
11281
11277
|
u3 as Comment,
|
|
11282
11278
|
p3 as CommentButton,
|
|
11283
11279
|
g3 as CommentCount,
|
|
11284
|
-
|
|
11285
|
-
|
|
11280
|
+
U1 as Countdown,
|
|
11281
|
+
k1 as CountdownItem,
|
|
11286
11282
|
v3 as DarkModeSwitch,
|
|
11287
11283
|
x3 as DiscoverList,
|
|
11288
11284
|
E as Divider,
|
|
11289
|
-
|
|
11290
|
-
|
|
11285
|
+
A1 as DividerSection,
|
|
11286
|
+
le as DividerVertical,
|
|
11291
11287
|
Y3 as ElectionsResult,
|
|
11292
11288
|
U2 as Embed,
|
|
11293
11289
|
b3 as EmojiToolbar,
|
|
@@ -11306,7 +11302,7 @@ export {
|
|
|
11306
11302
|
z3 as HeaderPage,
|
|
11307
11303
|
N3 as HeaderSection,
|
|
11308
11304
|
g0 as HeaderSideModal,
|
|
11309
|
-
|
|
11305
|
+
O1 as HeaderTitle,
|
|
11310
11306
|
V as Heading,
|
|
11311
11307
|
z as Icon,
|
|
11312
11308
|
T as IconButton,
|
|
@@ -11317,11 +11313,11 @@ export {
|
|
|
11317
11313
|
i1 as Img,
|
|
11318
11314
|
w0 as InfoBanner,
|
|
11319
11315
|
r1 as InlineSeparator,
|
|
11320
|
-
|
|
11316
|
+
T1 as Input,
|
|
11321
11317
|
A as Label,
|
|
11322
11318
|
L2 as LabelSection,
|
|
11323
|
-
|
|
11324
|
-
|
|
11319
|
+
_ as LayoutType,
|
|
11320
|
+
y1 as Legend,
|
|
11325
11321
|
C as Link,
|
|
11326
11322
|
b0 as ListWithDiode,
|
|
11327
11323
|
M3 as LiveIndicator,
|
|
@@ -11333,12 +11329,12 @@ export {
|
|
|
11333
11329
|
Z3 as MapDistricts,
|
|
11334
11330
|
H3 as MapEurope,
|
|
11335
11331
|
L3 as MapTownsByDepartments,
|
|
11336
|
-
|
|
11337
|
-
|
|
11332
|
+
f1 as Media,
|
|
11333
|
+
x1 as MediaLink,
|
|
11338
11334
|
G as MediaSourceType,
|
|
11339
11335
|
j3 as Menu,
|
|
11340
11336
|
I3 as MenuList,
|
|
11341
|
-
|
|
11337
|
+
D1 as Modal,
|
|
11342
11338
|
Q3 as MostReadArticles,
|
|
11343
11339
|
e4 as MostWatchVideos,
|
|
11344
11340
|
F3 as Newsletter,
|
|
@@ -11348,7 +11344,7 @@ export {
|
|
|
11348
11344
|
T3 as Pagination,
|
|
11349
11345
|
k0 as PercentageBar,
|
|
11350
11346
|
s4 as PhotoSwipeGallery,
|
|
11351
|
-
|
|
11347
|
+
R1 as Pipe,
|
|
11352
11348
|
D3 as Prose,
|
|
11353
11349
|
I2 as RadioButton,
|
|
11354
11350
|
c4 as Ranking,
|
|
@@ -11360,7 +11356,7 @@ export {
|
|
|
11360
11356
|
A2 as ScrollProgressBar,
|
|
11361
11357
|
Ee as ScrollToTopButton,
|
|
11362
11358
|
w3 as SearchBanner,
|
|
11363
|
-
|
|
11359
|
+
w1 as SearchForm,
|
|
11364
11360
|
T2 as Section,
|
|
11365
11361
|
ue as SectionTitle,
|
|
11366
11362
|
qe as Select,
|
|
@@ -11388,35 +11384,35 @@ export {
|
|
|
11388
11384
|
U3 as TextTooltip,
|
|
11389
11385
|
R2 as Textarea,
|
|
11390
11386
|
l4 as ThreeColumnsArticles,
|
|
11391
|
-
|
|
11387
|
+
C1 as Tiles,
|
|
11392
11388
|
G3 as Timeline,
|
|
11393
11389
|
t4 as Toolbar,
|
|
11394
|
-
|
|
11390
|
+
ie as Typography,
|
|
11395
11391
|
W3 as UserPanel,
|
|
11396
11392
|
c2 as alignContentList,
|
|
11397
11393
|
s2 as alignItemsList,
|
|
11398
11394
|
t2 as alignSelfList,
|
|
11399
|
-
|
|
11395
|
+
S1 as applyFormatToNumbers,
|
|
11400
11396
|
V2 as borderSizeList,
|
|
11401
11397
|
ke as buttonColor,
|
|
11402
11398
|
Q0 as buttonVariant,
|
|
11403
|
-
|
|
11399
|
+
L1 as cityZoom,
|
|
11404
11400
|
Be as colorSystemProps,
|
|
11405
11401
|
y2 as colorTokenNameList,
|
|
11406
11402
|
j2 as colsNumberGridList,
|
|
11407
11403
|
Ce as departmentNames,
|
|
11408
|
-
|
|
11404
|
+
Q1 as emojiConfig,
|
|
11409
11405
|
r2 as flexBasisList,
|
|
11410
11406
|
e2 as flexDirectionList,
|
|
11411
11407
|
i2 as flexGrowList,
|
|
11412
|
-
|
|
11408
|
+
ee as flexOrGridBoxSystemProps,
|
|
11413
11409
|
Ve as flexOrGridItemSystemProps,
|
|
11414
11410
|
n2 as flexShrinkList,
|
|
11415
11411
|
a2 as flexWrapList,
|
|
11416
11412
|
u2 as fontFamilyTokenNameList,
|
|
11417
11413
|
p2 as fontWeightTokenNameList,
|
|
11418
11414
|
j as forwardRef,
|
|
11419
|
-
|
|
11415
|
+
E1 as franceMainCities,
|
|
11420
11416
|
je as getSrcSetFromFormats,
|
|
11421
11417
|
g2 as headingSizeTokenNameList,
|
|
11422
11418
|
Z2 as iconButtonColor,
|
|
@@ -11429,13 +11425,13 @@ export {
|
|
|
11429
11425
|
l2 as justifyContentList,
|
|
11430
11426
|
$e as marginSystemProps,
|
|
11431
11427
|
x2 as mediaQueriesList,
|
|
11432
|
-
|
|
11428
|
+
se as paddingSystemProps,
|
|
11433
11429
|
Se as politicalPartiesColors,
|
|
11434
|
-
|
|
11430
|
+
ae as radiusSystemProps,
|
|
11435
11431
|
M2 as radiusTokenNameList,
|
|
11436
|
-
|
|
11432
|
+
I1 as replaceSrcFormat,
|
|
11437
11433
|
B2 as rotationList,
|
|
11438
|
-
|
|
11434
|
+
ce as spacingSystemProps,
|
|
11439
11435
|
f2 as spacingTokenNameList,
|
|
11440
11436
|
Ze as systemProps,
|
|
11441
11437
|
d2 as textAlignList,
|