@20minutes/hela 2.11.3 → 2.11.4
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 +603 -601
- package/dist/index.umd.js +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/src/components/organisms/OverviewBar/OverviewBar.d.ts +1 -0
- package/dist/src/components/organisms/OverviewBar/OverviewBar.stories.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1104,8 +1104,8 @@ function Zl() {
|
|
|
1104
1104
|
})(t1)), t1.exports;
|
|
1105
1105
|
}
|
|
1106
1106
|
var Tl = Zl();
|
|
1107
|
-
const
|
|
1108
|
-
var Il = "/codebuild/output/
|
|
1107
|
+
const f = /* @__PURE__ */ Hl(Tl);
|
|
1108
|
+
var Il = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Ad/Ad.tsx";
|
|
1109
1109
|
const Sm = ({
|
|
1110
1110
|
adUnitCompletePath: l,
|
|
1111
1111
|
variant: r,
|
|
@@ -1114,7 +1114,7 @@ const Sm = ({
|
|
|
1114
1114
|
...n
|
|
1115
1115
|
}) => {
|
|
1116
1116
|
const t = l.split("/").pop(), s = l.substring(0, l.lastIndexOf("/"));
|
|
1117
|
-
return /* @__PURE__ */ e.createElement(h, { ...n, id: `dfp_${t}`, "data-dfp-name": t, "data-dfp-path": s, className:
|
|
1117
|
+
return /* @__PURE__ */ e.createElement(h, { ...n, id: `dfp_${t}`, "data-dfp-name": t, "data-dfp-path": s, className: f("c-ad-placeholder", {
|
|
1118
1118
|
"c-ad-placeholder--article": r === "ARTICLE"
|
|
1119
1119
|
}, {
|
|
1120
1120
|
"c-ad-placeholder--ban": r === "BAN" || r === "ATF"
|
|
@@ -1138,7 +1138,7 @@ const Sm = ({
|
|
|
1138
1138
|
columnNumber: 5
|
|
1139
1139
|
} });
|
|
1140
1140
|
};
|
|
1141
|
-
var u0 = "/codebuild/output/
|
|
1141
|
+
var u0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Alert/Alert.tsx";
|
|
1142
1142
|
const $m = ({
|
|
1143
1143
|
variant: l = "success",
|
|
1144
1144
|
title: r,
|
|
@@ -1148,7 +1148,7 @@ const $m = ({
|
|
|
1148
1148
|
iconProps: t,
|
|
1149
1149
|
withCloseButton: s,
|
|
1150
1150
|
closeButtonProps: i
|
|
1151
|
-
}) => /* @__PURE__ */ e.createElement(_, { p: "s", gap: "s", className:
|
|
1151
|
+
}) => /* @__PURE__ */ e.createElement(_, { p: "s", gap: "s", className: f("c-alert", `c-alert--${l}`, {
|
|
1152
1152
|
"c-alert--fill": c
|
|
1153
1153
|
}, n), __self: void 0, __source: {
|
|
1154
1154
|
fileName: u0,
|
|
@@ -1178,7 +1178,7 @@ const $m = ({
|
|
|
1178
1178
|
lineNumber: 39,
|
|
1179
1179
|
columnNumber: 7
|
|
1180
1180
|
} }));
|
|
1181
|
-
var _0 = "/codebuild/output/
|
|
1181
|
+
var _0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Autocomplete/Autocomplete.tsx";
|
|
1182
1182
|
const Bm = ({
|
|
1183
1183
|
id: l,
|
|
1184
1184
|
inputProps: r,
|
|
@@ -1211,7 +1211,7 @@ const Bm = ({
|
|
|
1211
1211
|
lineNumber: 39,
|
|
1212
1212
|
columnNumber: 5
|
|
1213
1213
|
} }));
|
|
1214
|
-
var Dl = "/codebuild/output/
|
|
1214
|
+
var Dl = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Avatar/Avatar.tsx";
|
|
1215
1215
|
const _l = ({
|
|
1216
1216
|
img: l,
|
|
1217
1217
|
alt: r = "",
|
|
@@ -1219,7 +1219,7 @@ const _l = ({
|
|
|
1219
1219
|
variant: c = "default",
|
|
1220
1220
|
withBorder: n,
|
|
1221
1221
|
...t
|
|
1222
|
-
}) => /* @__PURE__ */ e.createElement(h, { ...t, as: "img", className:
|
|
1222
|
+
}) => /* @__PURE__ */ e.createElement(h, { ...t, as: "img", className: f("c-avatar", {
|
|
1223
1223
|
[`c-avatar--${c}`]: c !== "default",
|
|
1224
1224
|
[`c-avatar--${m}`]: m,
|
|
1225
1225
|
"c-avatar--border": n,
|
|
@@ -1229,7 +1229,7 @@ const _l = ({
|
|
|
1229
1229
|
lineNumber: 22,
|
|
1230
1230
|
columnNumber: 3
|
|
1231
1231
|
} });
|
|
1232
|
-
var s1 = "/codebuild/output/
|
|
1232
|
+
var s1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Button/Button.tsx";
|
|
1233
1233
|
const Lm = ["primary", "secondary", "tertiary", "has-dark-bg", "has-white-bg", "ghost", "ghost-with-icon-bg", "round", "round-has-white-bg", "round-has-blue-dark-bg", "round-half-opacity-dark-bg", "close", "link", "half-opacity-dark-bg", "has-transparent-bg"], B = W(({
|
|
1234
1234
|
as: l = "button",
|
|
1235
1235
|
variant: r = "primary",
|
|
@@ -1241,18 +1241,18 @@ const Lm = ["primary", "secondary", "tertiary", "has-dark-bg", "has-white-bg", "
|
|
|
1241
1241
|
isLoading: i = !1,
|
|
1242
1242
|
size: u,
|
|
1243
1243
|
...N
|
|
1244
|
-
},
|
|
1244
|
+
}, d) => /* @__PURE__ */ e.createElement(
|
|
1245
1245
|
_,
|
|
1246
1246
|
{
|
|
1247
1247
|
...N,
|
|
1248
1248
|
as: l,
|
|
1249
|
-
ref:
|
|
1249
|
+
ref: d,
|
|
1250
1250
|
alignItems: "center",
|
|
1251
1251
|
justifyContent: "center",
|
|
1252
1252
|
gap: "xxs",
|
|
1253
1253
|
inline: r === "link" || l === "a",
|
|
1254
1254
|
radius: s ? "0" : void 0,
|
|
1255
|
-
className:
|
|
1255
|
+
className: f("c-btn", {
|
|
1256
1256
|
[`c-btn--${r}`]: r,
|
|
1257
1257
|
[`c-btn--${u}`]: u,
|
|
1258
1258
|
"c-btn--is-centered": t,
|
|
@@ -1278,7 +1278,7 @@ const Lm = ["primary", "secondary", "tertiary", "has-dark-bg", "has-white-bg", "
|
|
|
1278
1278
|
} }, n)
|
|
1279
1279
|
));
|
|
1280
1280
|
B.displayName = "Button";
|
|
1281
|
-
var N0 = "/codebuild/output/
|
|
1281
|
+
var N0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Checkbox/Checkbox.tsx";
|
|
1282
1282
|
const Vm = ({
|
|
1283
1283
|
id: l,
|
|
1284
1284
|
className: r,
|
|
@@ -1293,13 +1293,13 @@ const Vm = ({
|
|
|
1293
1293
|
fileName: N0,
|
|
1294
1294
|
lineNumber: 24,
|
|
1295
1295
|
columnNumber: 3
|
|
1296
|
-
} }, /* @__PURE__ */ e.createElement("input", { id: l, type: "checkbox", className:
|
|
1296
|
+
} }, /* @__PURE__ */ e.createElement("input", { id: l, type: "checkbox", className: f("c-checkbox__input", {
|
|
1297
1297
|
[`c-checkbox__input--${n}`]: n
|
|
1298
1298
|
}, r), required: m, "aria-describedby": [s ? `${l}-hint` : null, i ? `${l}-error` : null].filter(Boolean).join(" ") || void 0, ...u, __self: void 0, __source: {
|
|
1299
1299
|
fileName: N0,
|
|
1300
1300
|
lineNumber: 25,
|
|
1301
1301
|
columnNumber: 5
|
|
1302
|
-
} }), c && /* @__PURE__ */ e.createElement("label", { htmlFor: l, className:
|
|
1302
|
+
} }), c && /* @__PURE__ */ e.createElement("label", { htmlFor: l, className: f("c-checkbox__label", `c-checkbox__label--${t}`), __self: void 0, __source: {
|
|
1303
1303
|
fileName: N0,
|
|
1304
1304
|
lineNumber: 43,
|
|
1305
1305
|
columnNumber: 7
|
|
@@ -1316,21 +1316,21 @@ const Vm = ({
|
|
|
1316
1316
|
lineNumber: 71,
|
|
1317
1317
|
columnNumber: 7
|
|
1318
1318
|
} }, s));
|
|
1319
|
-
var O0 = "/codebuild/output/
|
|
1319
|
+
var O0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Divider/Divider.tsx";
|
|
1320
1320
|
const fe = W(({
|
|
1321
1321
|
text: l,
|
|
1322
1322
|
color: r = "black",
|
|
1323
1323
|
thickness: m = "thin",
|
|
1324
1324
|
...c
|
|
1325
1325
|
}, n) => {
|
|
1326
|
-
const t = /* @__PURE__ */ e.createElement(D, { bg: r, align: "center", className:
|
|
1326
|
+
const t = /* @__PURE__ */ e.createElement(D, { bg: r, align: "center", className: f("c-divider__line", {
|
|
1327
1327
|
[`c-divider__line--${m}`]: m !== "thin"
|
|
1328
1328
|
}), __self: void 0, __source: {
|
|
1329
1329
|
fileName: O0,
|
|
1330
1330
|
lineNumber: 15,
|
|
1331
1331
|
columnNumber: 7
|
|
1332
1332
|
} });
|
|
1333
|
-
return /* @__PURE__ */ e.createElement(_, { ...c, ref: n, className:
|
|
1333
|
+
return /* @__PURE__ */ e.createElement(_, { ...c, ref: n, className: f("c-divider", {
|
|
1334
1334
|
"c-divider--has-text": !!l
|
|
1335
1335
|
}, c == null ? void 0 : c.className), __self: void 0, __source: {
|
|
1336
1336
|
fileName: O0,
|
|
@@ -1346,32 +1346,32 @@ const fe = W(({
|
|
|
1346
1346
|
columnNumber: 15
|
|
1347
1347
|
} }, l)), t) : t);
|
|
1348
1348
|
});
|
|
1349
|
-
var H1 = "/codebuild/output/
|
|
1349
|
+
var H1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/DividerSection/DividerSection.tsx";
|
|
1350
1350
|
const F1 = ({
|
|
1351
1351
|
bg: l = "ultramarine",
|
|
1352
1352
|
...r
|
|
1353
|
-
}) => /* @__PURE__ */ e.createElement(h, { ...r, className:
|
|
1353
|
+
}) => /* @__PURE__ */ e.createElement(h, { ...r, className: f("c-divider-section", r == null ? void 0 : r.className), __self: void 0, __source: {
|
|
1354
1354
|
fileName: H1,
|
|
1355
1355
|
lineNumber: 11,
|
|
1356
1356
|
columnNumber: 3
|
|
1357
|
-
} }, /* @__PURE__ */ e.createElement(h, { as: "hr", className:
|
|
1357
|
+
} }, /* @__PURE__ */ e.createElement(h, { as: "hr", className: f("c-divider-section__line"), bg: l, __self: void 0, __source: {
|
|
1358
1358
|
fileName: H1,
|
|
1359
1359
|
lineNumber: 12,
|
|
1360
1360
|
columnNumber: 5
|
|
1361
1361
|
} }));
|
|
1362
|
-
var Ol = "/codebuild/output/
|
|
1362
|
+
var Ol = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/DividerVertical/DividerVertical.tsx";
|
|
1363
1363
|
const j1 = W(({
|
|
1364
1364
|
color: l = "black",
|
|
1365
1365
|
thickness: r = "thin",
|
|
1366
1366
|
...m
|
|
1367
|
-
}, c) => /* @__PURE__ */ e.createElement(h, { ...m, ref: c, bg: l, className:
|
|
1367
|
+
}, c) => /* @__PURE__ */ e.createElement(h, { ...m, ref: c, bg: l, className: f("c-divider-vertical", {
|
|
1368
1368
|
[`c-divider-vertical--${r}`]: r !== "thin"
|
|
1369
1369
|
}, m == null ? void 0 : m.className), __self: void 0, __source: {
|
|
1370
1370
|
fileName: Ol,
|
|
1371
1371
|
lineNumber: 13,
|
|
1372
1372
|
columnNumber: 5
|
|
1373
1373
|
} }));
|
|
1374
|
-
var z0 = "/codebuild/output/
|
|
1374
|
+
var z0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Icon/Icon.tsx";
|
|
1375
1375
|
const Hm = ["quarter", "half", "three-quarter"], Zm = ["small", "medium", "big"], E = W(({
|
|
1376
1376
|
name: l,
|
|
1377
1377
|
size: r = 28,
|
|
@@ -1382,7 +1382,7 @@ const Hm = ["quarter", "half", "three-quarter"], Zm = ["small", "medium", "big"]
|
|
|
1382
1382
|
...s
|
|
1383
1383
|
}, i) => {
|
|
1384
1384
|
const u = Array.isArray(r) ? r == null ? void 0 : r[0] : r, N = Array.isArray(r) ? r == null ? void 0 : r[1] : r;
|
|
1385
|
-
return /* @__PURE__ */ e.createElement(h, { ...s, ref: i, className:
|
|
1385
|
+
return /* @__PURE__ */ e.createElement(h, { ...s, ref: i, className: f("c-icon", {
|
|
1386
1386
|
[`c-icon--has-border-${c}`]: c,
|
|
1387
1387
|
"c-icon--is-rounded": m,
|
|
1388
1388
|
[`c-icon--${n}`]: n
|
|
@@ -1408,7 +1408,7 @@ const Hm = ["quarter", "half", "three-quarter"], Zm = ["small", "medium", "big"]
|
|
|
1408
1408
|
columnNumber: 45
|
|
1409
1409
|
} })));
|
|
1410
1410
|
});
|
|
1411
|
-
var o = "/codebuild/output/
|
|
1411
|
+
var o = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Icon/SvgSprite.tsx";
|
|
1412
1412
|
const Tm = (l) => /* @__PURE__ */ a.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", ...l, __self: void 0, __source: {
|
|
1413
1413
|
fileName: o,
|
|
1414
1414
|
lineNumber: 4,
|
|
@@ -3279,14 +3279,14 @@ const Tm = (l) => /* @__PURE__ */ a.createElement("svg", { xmlns: "http://www.w3
|
|
|
3279
3279
|
lineNumber: 1044,
|
|
3280
3280
|
columnNumber: 7
|
|
3281
3281
|
} })));
|
|
3282
|
-
var Z1 = "/codebuild/output/
|
|
3282
|
+
var Z1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Iframe/Iframe.tsx";
|
|
3283
3283
|
function Im({
|
|
3284
3284
|
title: l,
|
|
3285
3285
|
ratio: r = "auto",
|
|
3286
3286
|
htmlIframeProps: m,
|
|
3287
3287
|
...c
|
|
3288
3288
|
}) {
|
|
3289
|
-
return /* @__PURE__ */ e.createElement(h, { ...c, className:
|
|
3289
|
+
return /* @__PURE__ */ e.createElement(h, { ...c, className: f(c.className, "u-relative", {
|
|
3290
3290
|
[`u-ratio-${r}`]: r
|
|
3291
3291
|
}), __self: this, __source: {
|
|
3292
3292
|
fileName: Z1,
|
|
@@ -3298,7 +3298,7 @@ function Im({
|
|
|
3298
3298
|
columnNumber: 7
|
|
3299
3299
|
} }));
|
|
3300
3300
|
}
|
|
3301
|
-
var T1 = "/codebuild/output/
|
|
3301
|
+
var T1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Img/Img.tsx";
|
|
3302
3302
|
const E0 = ({
|
|
3303
3303
|
id: l = "",
|
|
3304
3304
|
src: r = "",
|
|
@@ -3310,13 +3310,13 @@ const E0 = ({
|
|
|
3310
3310
|
fetchPriority: i,
|
|
3311
3311
|
isPortrait: u = !1,
|
|
3312
3312
|
enableHD: N = !1,
|
|
3313
|
-
...
|
|
3313
|
+
...d
|
|
3314
3314
|
}) => {
|
|
3315
3315
|
const b = s ? "lazy" : "eager", g = {
|
|
3316
|
-
...
|
|
3316
|
+
...d,
|
|
3317
3317
|
id: l || void 0,
|
|
3318
3318
|
alt: n,
|
|
3319
|
-
className:
|
|
3319
|
+
className: f("c-img", d == null ? void 0 : d.className, {
|
|
3320
3320
|
"c-img--is-portrait": u
|
|
3321
3321
|
}),
|
|
3322
3322
|
loading: b,
|
|
@@ -3328,7 +3328,7 @@ const E0 = ({
|
|
|
3328
3328
|
lineNumber: 50,
|
|
3329
3329
|
columnNumber: 12
|
|
3330
3330
|
} });
|
|
3331
|
-
const
|
|
3331
|
+
const x = m.split("x"), M = x[0], y = x[1];
|
|
3332
3332
|
let $, Z = `data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='${M}'%20height='${y}'%3E%3C/svg%3E`;
|
|
3333
3333
|
if (r && (Z = C1({
|
|
3334
3334
|
src: r,
|
|
@@ -3337,11 +3337,11 @@ const E0 = ({
|
|
|
3337
3337
|
formats: c,
|
|
3338
3338
|
src: r
|
|
3339
3339
|
}) ?? ""), N) {
|
|
3340
|
-
const C = Number(M) * 2, k = Number(y) * 2, z = `${C}x${k}`,
|
|
3340
|
+
const C = Number(M) * 2, k = Number(y) * 2, z = `${C}x${k}`, p = C1({
|
|
3341
3341
|
src: r,
|
|
3342
3342
|
format: z
|
|
3343
3343
|
});
|
|
3344
|
-
$ = $ ? `${$}, ${
|
|
3344
|
+
$ = $ ? `${$}, ${p} 2x` : `${p} 2x`;
|
|
3345
3345
|
}
|
|
3346
3346
|
return g.width = M || void 0, g.height = y !== "0" ? y : void 0, g.sizes = t || void 0, /* @__PURE__ */ e.createElement(h, { ...g, as: "img", src: Z, ...$ ? {
|
|
3347
3347
|
srcSet: $
|
|
@@ -3351,7 +3351,7 @@ const E0 = ({
|
|
|
3351
3351
|
columnNumber: 10
|
|
3352
3352
|
} });
|
|
3353
3353
|
};
|
|
3354
|
-
var Rl = "/codebuild/output/
|
|
3354
|
+
var Rl = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/InlineSeparator/InlineSeparator.tsx";
|
|
3355
3355
|
const T0 = ({
|
|
3356
3356
|
size: l,
|
|
3357
3357
|
...r
|
|
@@ -3360,7 +3360,7 @@ const T0 = ({
|
|
|
3360
3360
|
lineNumber: 5,
|
|
3361
3361
|
columnNumber: 3
|
|
3362
3362
|
} }, "•");
|
|
3363
|
-
var oe = "/codebuild/output/
|
|
3363
|
+
var oe = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Input/Input.tsx";
|
|
3364
3364
|
const l1 = W(({
|
|
3365
3365
|
id: l,
|
|
3366
3366
|
className: r,
|
|
@@ -3372,10 +3372,10 @@ const l1 = W(({
|
|
|
3372
3372
|
isIconButton: i = !1,
|
|
3373
3373
|
iconButtonProps: u,
|
|
3374
3374
|
variant: N,
|
|
3375
|
-
msg:
|
|
3375
|
+
msg: d,
|
|
3376
3376
|
containerProps: b,
|
|
3377
3377
|
isRounded: g,
|
|
3378
|
-
isTransparent:
|
|
3378
|
+
isTransparent: x,
|
|
3379
3379
|
isLarge: M,
|
|
3380
3380
|
children: y,
|
|
3381
3381
|
hint: $,
|
|
@@ -3389,12 +3389,12 @@ const l1 = W(({
|
|
|
3389
3389
|
fileName: oe,
|
|
3390
3390
|
lineNumber: 50,
|
|
3391
3391
|
columnNumber: 7
|
|
3392
|
-
} }),
|
|
3392
|
+
} }), p = t && /* @__PURE__ */ e.createElement(E, { className: "c-input-container__icon", name: t, size: 18, color: m || "black", __self: void 0, __source: {
|
|
3393
3393
|
fileName: oe,
|
|
3394
3394
|
lineNumber: 63,
|
|
3395
3395
|
columnNumber: 7
|
|
3396
3396
|
} });
|
|
3397
|
-
return /* @__PURE__ */ e.createElement(_, { direction: "column", ...b, className:
|
|
3397
|
+
return /* @__PURE__ */ e.createElement(_, { direction: "column", ...b, className: f("c-input", b == null ? void 0 : b.className), __self: void 0, __source: {
|
|
3398
3398
|
fileName: oe,
|
|
3399
3399
|
lineNumber: 67,
|
|
3400
3400
|
columnNumber: 7
|
|
@@ -3410,10 +3410,10 @@ const l1 = W(({
|
|
|
3410
3410
|
fileName: oe,
|
|
3411
3411
|
lineNumber: 84,
|
|
3412
3412
|
columnNumber: 11
|
|
3413
|
-
} }, $), /* @__PURE__ */ e.createElement(_, { gap: t && y ? "xs" : void 0, className:
|
|
3413
|
+
} }, $), /* @__PURE__ */ e.createElement(_, { gap: t && y ? "xs" : void 0, className: f("c-input-container", {
|
|
3414
3414
|
[`c-input-container--${N}`]: N,
|
|
3415
3415
|
"c-input-container--rounded": g,
|
|
3416
|
-
"c-input-container--transparent":
|
|
3416
|
+
"c-input-container--transparent": x,
|
|
3417
3417
|
"c-input-container--large": M,
|
|
3418
3418
|
[`c-input-container--${s}`]: t || y
|
|
3419
3419
|
}), __self: void 0, __source: {
|
|
@@ -3424,15 +3424,15 @@ const l1 = W(({
|
|
|
3424
3424
|
fileName: oe,
|
|
3425
3425
|
lineNumber: 99,
|
|
3426
3426
|
columnNumber: 13
|
|
3427
|
-
} }, i ? z :
|
|
3427
|
+
} }, i ? z : p, y), /* @__PURE__ */ e.createElement("input", { id: l, className: f("c-input-container__input", r), required: c, ref: k, "aria-describedby": [$ ? `${l}-hint` : null, Z ? `${l}-error` : null].filter(Boolean).join(" ") || void 0, ...C, __self: void 0, __source: {
|
|
3428
3428
|
fileName: oe,
|
|
3429
3429
|
lineNumber: 104,
|
|
3430
3430
|
columnNumber: 11
|
|
3431
|
-
} })),
|
|
3431
|
+
} })), d && d.length && /* @__PURE__ */ e.createElement(_, { wrap: "wrap", gapY: "s", gapX: "xxs-2", mt: "xxs-2", __self: void 0, __source: {
|
|
3432
3432
|
fileName: oe,
|
|
3433
3433
|
lineNumber: 118,
|
|
3434
3434
|
columnNumber: 11
|
|
3435
|
-
} },
|
|
3435
|
+
} }, d.map(({
|
|
3436
3436
|
iconProps: S,
|
|
3437
3437
|
textProps: Ve,
|
|
3438
3438
|
value: be
|
|
@@ -3456,7 +3456,7 @@ const l1 = W(({
|
|
|
3456
3456
|
columnNumber: 11
|
|
3457
3457
|
} }, Z));
|
|
3458
3458
|
});
|
|
3459
|
-
var I1 = "/codebuild/output/
|
|
3459
|
+
var I1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Label/Label.tsx";
|
|
3460
3460
|
const K = ({
|
|
3461
3461
|
children: l,
|
|
3462
3462
|
bg: r,
|
|
@@ -3469,7 +3469,7 @@ const K = ({
|
|
|
3469
3469
|
textProps: u,
|
|
3470
3470
|
...N
|
|
3471
3471
|
}) => {
|
|
3472
|
-
const
|
|
3472
|
+
const d = {
|
|
3473
3473
|
...N.style,
|
|
3474
3474
|
...(r == null ? void 0 : r.includes("#")) && {
|
|
3475
3475
|
backgroundColor: r
|
|
@@ -3486,13 +3486,13 @@ const K = ({
|
|
|
3486
3486
|
radius: "xxs-2"
|
|
3487
3487
|
}, ...r && {
|
|
3488
3488
|
p: "xxs-2"
|
|
3489
|
-
}, style:
|
|
3489
|
+
}, style: d, ...!(r != null && r.includes("#")) && {
|
|
3490
3490
|
bg: r
|
|
3491
3491
|
}, ...!(m != null && m.includes("#")) && {
|
|
3492
3492
|
color: m
|
|
3493
3493
|
}, size: s || "xxs", weight: "bold", ...n && {
|
|
3494
3494
|
textTransform: "uppercase"
|
|
3495
|
-
}, className:
|
|
3495
|
+
}, className: f("c-label", {
|
|
3496
3496
|
"c-label--no-background": !r,
|
|
3497
3497
|
"c-label--has-big-line-height": t
|
|
3498
3498
|
}, i), __self: void 0, __source: {
|
|
@@ -3505,7 +3505,7 @@ const K = ({
|
|
|
3505
3505
|
columnNumber: 18
|
|
3506
3506
|
} }), l);
|
|
3507
3507
|
};
|
|
3508
|
-
var Al = "/codebuild/output/
|
|
3508
|
+
var Al = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/LabelSection/LabelSection.tsx";
|
|
3509
3509
|
const Dm = ({
|
|
3510
3510
|
children: l
|
|
3511
3511
|
}) => /* @__PURE__ */ e.createElement(H, { as: "h4", size: "xxs", weight: "bold", color: "ultramarine", __self: void 0, __source: {
|
|
@@ -3549,11 +3549,11 @@ const Dm = ({
|
|
|
3549
3549
|
});
|
|
3550
3550
|
return n && r.push(n), r;
|
|
3551
3551
|
}, []);
|
|
3552
|
-
}, w0 = (l) => typeof l.props == "object" ? Object.keys(l.props).reduce((r, m) => (l.systemPropNames.includes(m) || (r[m] = l.props[m]), r), {}) : {}, Kl = (l) =>
|
|
3552
|
+
}, w0 = (l) => typeof l.props == "object" ? Object.keys(l.props).reduce((r, m) => (l.systemPropNames.includes(m) || (r[m] = l.props[m]), r), {}) : {}, Kl = (l) => f({
|
|
3553
3553
|
[`bg-${l.bg}`]: l.bg,
|
|
3554
3554
|
[`color-${l.color}`]: l.color,
|
|
3555
3555
|
[`border-color-${l.borderColor}`]: l.borderColor
|
|
3556
|
-
}), Nl = (l) =>
|
|
3556
|
+
}), Nl = (l) => f(
|
|
3557
3557
|
Object.entries(l).filter(([r]) => Object.keys(ul).includes(r)).reduce((r, [m, c]) => (r.push(
|
|
3558
3558
|
...I({
|
|
3559
3559
|
className: m,
|
|
@@ -3562,7 +3562,7 @@ const Dm = ({
|
|
|
3562
3562
|
propValue: c
|
|
3563
3563
|
})
|
|
3564
3564
|
), r), [])
|
|
3565
|
-
), Wl = (l) =>
|
|
3565
|
+
), Wl = (l) => f(
|
|
3566
3566
|
Object.entries(l).filter(([r]) => Object.keys(sl).includes(r)).reduce((r, [m, c]) => (r.push(
|
|
3567
3567
|
...I({
|
|
3568
3568
|
className: m,
|
|
@@ -3579,7 +3579,7 @@ const Dm = ({
|
|
|
3579
3579
|
italic: n,
|
|
3580
3580
|
fontFamily: t,
|
|
3581
3581
|
whiteSpace: s
|
|
3582
|
-
}) =>
|
|
3582
|
+
}) => f(
|
|
3583
3583
|
I({
|
|
3584
3584
|
className: "text",
|
|
3585
3585
|
propValue: l
|
|
@@ -3595,16 +3595,16 @@ const Dm = ({
|
|
|
3595
3595
|
"text-italic": !!n,
|
|
3596
3596
|
[`font-${t}`]: !!t
|
|
3597
3597
|
}
|
|
3598
|
-
), dl = (l) =>
|
|
3598
|
+
), dl = (l) => f(
|
|
3599
3599
|
Nl(l),
|
|
3600
3600
|
Kl(l),
|
|
3601
3601
|
Wl(l)
|
|
3602
|
-
), Ul = (l) =>
|
|
3602
|
+
), Ul = (l) => f(
|
|
3603
3603
|
...I({
|
|
3604
3604
|
propValue: l.align,
|
|
3605
3605
|
className: "self"
|
|
3606
3606
|
})
|
|
3607
|
-
), fl = (l) =>
|
|
3607
|
+
), fl = (l) => f(
|
|
3608
3608
|
...I({
|
|
3609
3609
|
propValue: l.alignItems,
|
|
3610
3610
|
className: "items"
|
|
@@ -3638,7 +3638,7 @@ const Dm = ({
|
|
|
3638
3638
|
direction: r,
|
|
3639
3639
|
wrap: m,
|
|
3640
3640
|
...c
|
|
3641
|
-
}) =>
|
|
3641
|
+
}) => f(
|
|
3642
3642
|
...I({
|
|
3643
3643
|
propValue: l,
|
|
3644
3644
|
className: l ? "inline-flex" : "flex"
|
|
@@ -3656,7 +3656,7 @@ const Dm = ({
|
|
|
3656
3656
|
shrink: r,
|
|
3657
3657
|
grow: m,
|
|
3658
3658
|
...c
|
|
3659
|
-
}) =>
|
|
3659
|
+
}) => f(
|
|
3660
3660
|
...I({
|
|
3661
3661
|
propValue: l,
|
|
3662
3662
|
className: "basis"
|
|
@@ -3671,7 +3671,7 @@ const Dm = ({
|
|
|
3671
3671
|
}),
|
|
3672
3672
|
Ul(c)
|
|
3673
3673
|
);
|
|
3674
|
-
var Xl = "/codebuild/output/
|
|
3674
|
+
var Xl = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Layout/Box/Box.tsx";
|
|
3675
3675
|
const h = W(({
|
|
3676
3676
|
as: l = "div",
|
|
3677
3677
|
children: r,
|
|
@@ -3679,7 +3679,7 @@ const h = W(({
|
|
|
3679
3679
|
}, c) => /* @__PURE__ */ e.createElement(l, { ...w0({
|
|
3680
3680
|
props: m,
|
|
3681
3681
|
systemPropNames: Object.keys(Bl)
|
|
3682
|
-
}), ref: c, className:
|
|
3682
|
+
}), ref: c, className: f(dl(m), m == null ? void 0 : m.className), __self: void 0, __source: {
|
|
3683
3683
|
fileName: Xl,
|
|
3684
3684
|
lineNumber: 13,
|
|
3685
3685
|
columnNumber: 3
|
|
@@ -3697,7 +3697,7 @@ const Om = [1, 2, 3, 4, 5, 6, 12, "2-of-3"], e0 = ({
|
|
|
3697
3697
|
props: t,
|
|
3698
3698
|
systemPropNames: Object.keys(tl)
|
|
3699
3699
|
}),
|
|
3700
|
-
className:
|
|
3700
|
+
className: f("grid", ...I({
|
|
3701
3701
|
className: "grid-cols-number",
|
|
3702
3702
|
propValue: l
|
|
3703
3703
|
}), ...I({
|
|
@@ -3709,10 +3709,10 @@ const Om = [1, 2, 3, 4, 5, 6, 12, "2-of-3"], e0 = ({
|
|
|
3709
3709
|
}), ...I({
|
|
3710
3710
|
className: "grid-gap-col",
|
|
3711
3711
|
propValue: c
|
|
3712
|
-
}),
|
|
3712
|
+
}), f(fl(t), t == null ? void 0 : t.className)),
|
|
3713
3713
|
children: n
|
|
3714
3714
|
});
|
|
3715
|
-
var Jl = "/codebuild/output/
|
|
3715
|
+
var Jl = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Layout/Flex/Flex.tsx";
|
|
3716
3716
|
const _ = W(({
|
|
3717
3717
|
as: l = "div",
|
|
3718
3718
|
children: r,
|
|
@@ -3720,12 +3720,12 @@ const _ = W(({
|
|
|
3720
3720
|
}, c) => /* @__PURE__ */ e.createElement(h, { ...w0({
|
|
3721
3721
|
props: m,
|
|
3722
3722
|
systemPropNames: Object.keys(tl)
|
|
3723
|
-
}), as: l, ref: c, className:
|
|
3723
|
+
}), as: l, ref: c, className: f(Gl(m), m == null ? void 0 : m.className), __self: void 0, __source: {
|
|
3724
3724
|
fileName: Jl,
|
|
3725
3725
|
lineNumber: 12,
|
|
3726
3726
|
columnNumber: 3
|
|
3727
3727
|
} }, r));
|
|
3728
|
-
var Ql = "/codebuild/output/
|
|
3728
|
+
var Ql = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Layout/Flex/FlexItem/FlexItem.tsx";
|
|
3729
3729
|
const D = W(({
|
|
3730
3730
|
as: l = "div",
|
|
3731
3731
|
children: r,
|
|
@@ -3733,12 +3733,12 @@ const D = W(({
|
|
|
3733
3733
|
}, c) => /* @__PURE__ */ e.createElement(h, { ...w0({
|
|
3734
3734
|
props: m,
|
|
3735
3735
|
systemPropNames: Object.keys(Sl)
|
|
3736
|
-
}), as: l, ref: c, className:
|
|
3736
|
+
}), as: l, ref: c, className: f(Yl(m), m == null ? void 0 : m.className), __self: void 0, __source: {
|
|
3737
3737
|
fileName: Ql,
|
|
3738
3738
|
lineNumber: 13,
|
|
3739
3739
|
columnNumber: 5
|
|
3740
3740
|
} }, r));
|
|
3741
|
-
var Pl = "/codebuild/output/
|
|
3741
|
+
var Pl = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Link/Link.tsx";
|
|
3742
3742
|
const j = W(({
|
|
3743
3743
|
as: l = "a",
|
|
3744
3744
|
children: r,
|
|
@@ -3750,13 +3750,13 @@ const j = W(({
|
|
|
3750
3750
|
tabIsSelected: i,
|
|
3751
3751
|
tabVariant: u,
|
|
3752
3752
|
tabColor: N,
|
|
3753
|
-
defaultColor:
|
|
3753
|
+
defaultColor: d = "ultramarine",
|
|
3754
3754
|
isUnderlined: b,
|
|
3755
3755
|
...g
|
|
3756
|
-
},
|
|
3756
|
+
}, x) => {
|
|
3757
3757
|
if (n && m)
|
|
3758
3758
|
throw new Error("You can't use color and variant props together");
|
|
3759
|
-
const M = u || N ?
|
|
3759
|
+
const M = u || N ? f("c-tab", {
|
|
3760
3760
|
[`c-tab--${u}`]: u,
|
|
3761
3761
|
[`c-tab--${N}`]: N,
|
|
3762
3762
|
"c-tab--selected": i,
|
|
@@ -3764,7 +3764,7 @@ const j = W(({
|
|
|
3764
3764
|
}, k1({
|
|
3765
3765
|
weight: t,
|
|
3766
3766
|
whiteSpace: s
|
|
3767
|
-
}), g == null ? void 0 : g.className) :
|
|
3767
|
+
}), g == null ? void 0 : g.className) : f("c-link", {
|
|
3768
3768
|
[`c-btn c-btn--${n}`]: n && !m
|
|
3769
3769
|
}, k1({
|
|
3770
3770
|
weight: t,
|
|
@@ -3780,9 +3780,9 @@ const j = W(({
|
|
|
3780
3780
|
{
|
|
3781
3781
|
...g,
|
|
3782
3782
|
as: l,
|
|
3783
|
-
ref:
|
|
3783
|
+
ref: x,
|
|
3784
3784
|
...!u && !N && {
|
|
3785
|
-
color: n ? void 0 : m || (
|
|
3785
|
+
color: n ? void 0 : m || (d === "inherit" ? void 0 : d)
|
|
3786
3786
|
},
|
|
3787
3787
|
className: M,
|
|
3788
3788
|
__self: void 0,
|
|
@@ -3795,7 +3795,7 @@ const j = W(({
|
|
|
3795
3795
|
r
|
|
3796
3796
|
);
|
|
3797
3797
|
});
|
|
3798
|
-
var i1 = "/codebuild/output/
|
|
3798
|
+
var i1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Modal/Modal.tsx";
|
|
3799
3799
|
const e2 = ({
|
|
3800
3800
|
dialogId: l,
|
|
3801
3801
|
children: r,
|
|
@@ -3810,7 +3810,7 @@ const e2 = ({
|
|
|
3810
3810
|
}, i = {
|
|
3811
3811
|
"data-a11y-dialog-hide": l
|
|
3812
3812
|
};
|
|
3813
|
-
return /* @__PURE__ */ e.createElement(h, { ...t, className:
|
|
3813
|
+
return /* @__PURE__ */ e.createElement(h, { ...t, className: f("c-modal", {
|
|
3814
3814
|
"js-modal": n
|
|
3815
3815
|
}, t.className), ...s, __self: void 0, __source: {
|
|
3816
3816
|
fileName: i1,
|
|
@@ -3820,19 +3820,19 @@ const e2 = ({
|
|
|
3820
3820
|
fileName: i1,
|
|
3821
3821
|
lineNumber: 36,
|
|
3822
3822
|
columnNumber: 7
|
|
3823
|
-
} }), /* @__PURE__ */ e.createElement("div", { className:
|
|
3823
|
+
} }), /* @__PURE__ */ e.createElement("div", { className: f("c-modal__content", `c-modal__content--${m}`, c), __self: void 0, __source: {
|
|
3824
3824
|
fileName: i1,
|
|
3825
3825
|
lineNumber: 37,
|
|
3826
3826
|
columnNumber: 7
|
|
3827
3827
|
} }, r));
|
|
3828
3828
|
};
|
|
3829
|
-
var l2 = "/codebuild/output/
|
|
3830
|
-
const m2 = (l) => /* @__PURE__ */ e.createElement(h, { ...l, className:
|
|
3829
|
+
var l2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Overlay/Overlay.tsx";
|
|
3830
|
+
const m2 = (l) => /* @__PURE__ */ e.createElement(h, { ...l, className: f("c-overlay c-overlay--with-bg", l == null ? void 0 : l.className), __self: void 0, __source: {
|
|
3831
3831
|
fileName: l2,
|
|
3832
3832
|
lineNumber: 8,
|
|
3833
3833
|
columnNumber: 3
|
|
3834
3834
|
} });
|
|
3835
|
-
var r2 = "/codebuild/output/
|
|
3835
|
+
var r2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Pipe/Pipe.tsx";
|
|
3836
3836
|
function S1() {
|
|
3837
3837
|
return /* @__PURE__ */ e.createElement("div", { className: "c-pipe", __self: this, __source: {
|
|
3838
3838
|
fileName: r2,
|
|
@@ -3840,7 +3840,7 @@ function S1() {
|
|
|
3840
3840
|
columnNumber: 10
|
|
3841
3841
|
} });
|
|
3842
3842
|
}
|
|
3843
|
-
var u1 = "/codebuild/output/
|
|
3843
|
+
var u1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/RadioButton/RadioButton.tsx";
|
|
3844
3844
|
const Rm = ({
|
|
3845
3845
|
id: l,
|
|
3846
3846
|
required: r,
|
|
@@ -3859,7 +3859,7 @@ const Rm = ({
|
|
|
3859
3859
|
lineNumber: 22,
|
|
3860
3860
|
columnNumber: 7
|
|
3861
3861
|
} }, m));
|
|
3862
|
-
var R0 = "/codebuild/output/
|
|
3862
|
+
var R0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Rating/Rating.tsx";
|
|
3863
3863
|
const c2 = ({
|
|
3864
3864
|
rating: l,
|
|
3865
3865
|
ratingMax: r = 5,
|
|
@@ -3880,8 +3880,8 @@ const c2 = ({
|
|
|
3880
3880
|
columnNumber: 5
|
|
3881
3881
|
} }), i = [];
|
|
3882
3882
|
for (let u = 0; u < r; u += 1) {
|
|
3883
|
-
const N = u < l,
|
|
3884
|
-
N && !
|
|
3883
|
+
const N = u < l, d = u + 0.5 === l;
|
|
3884
|
+
N && !d ? i.push(n(u)) : d ? i.push(s(u)) : i.push(t(u));
|
|
3885
3885
|
}
|
|
3886
3886
|
return /* @__PURE__ */ e.createElement(h, { ...c, __self: void 0, __source: {
|
|
3887
3887
|
fileName: R0,
|
|
@@ -3889,7 +3889,7 @@ const c2 = ({
|
|
|
3889
3889
|
columnNumber: 10
|
|
3890
3890
|
} }, i);
|
|
3891
3891
|
};
|
|
3892
|
-
var m0 = "/codebuild/output/
|
|
3892
|
+
var m0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/ReadAlso/ReadAlso.tsx";
|
|
3893
3893
|
const Am = ({
|
|
3894
3894
|
title: l,
|
|
3895
3895
|
link: r,
|
|
@@ -3899,7 +3899,7 @@ const Am = ({
|
|
|
3899
3899
|
isSponsored: t,
|
|
3900
3900
|
isInArticle: s,
|
|
3901
3901
|
...i
|
|
3902
|
-
}) => /* @__PURE__ */ e.createElement(h, { ...i, className:
|
|
3902
|
+
}) => /* @__PURE__ */ e.createElement(h, { ...i, className: f("c-read-also", {
|
|
3903
3903
|
"c-read-also--in-article": s
|
|
3904
3904
|
}, i == null ? void 0 : i.className), __self: void 0, __source: {
|
|
3905
3905
|
fileName: m0,
|
|
@@ -3934,7 +3934,7 @@ const Am = ({
|
|
|
3934
3934
|
lineNumber: 62,
|
|
3935
3935
|
columnNumber: 7
|
|
3936
3936
|
} }));
|
|
3937
|
-
var _1 = "/codebuild/output/
|
|
3937
|
+
var _1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/ScrollToTopButton/ScrollToTopButton.tsx";
|
|
3938
3938
|
const a2 = ({
|
|
3939
3939
|
triggerSelector: l = "[data-scroll-trigger]",
|
|
3940
3940
|
triggerOffset: r = 0,
|
|
@@ -3956,11 +3956,11 @@ const a2 = ({
|
|
|
3956
3956
|
columnNumber: 7
|
|
3957
3957
|
} })));
|
|
3958
3958
|
a2.displayName = "ScrollToTopButton";
|
|
3959
|
-
var O1 = "/codebuild/output/
|
|
3959
|
+
var O1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/ScrollProgressBar/ScrollProgressBar.tsx";
|
|
3960
3960
|
const qm = W(({
|
|
3961
3961
|
variant: l,
|
|
3962
3962
|
progressColor: r = "ultramarine"
|
|
3963
|
-
}, m) => /* @__PURE__ */ e.createElement(h, { ref: m, bg: "grey-100", className:
|
|
3963
|
+
}, m) => /* @__PURE__ */ e.createElement(h, { ref: m, bg: "grey-100", className: f("c-progress", {
|
|
3964
3964
|
[`c-progress--${l}`]: l
|
|
3965
3965
|
}), __self: void 0, __source: {
|
|
3966
3966
|
fileName: O1,
|
|
@@ -3973,19 +3973,19 @@ const qm = W(({
|
|
|
3973
3973
|
lineNumber: 19,
|
|
3974
3974
|
columnNumber: 7
|
|
3975
3975
|
} })));
|
|
3976
|
-
var o2 = "/codebuild/output/
|
|
3976
|
+
var o2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Section/Section.tsx";
|
|
3977
3977
|
const Km = ({
|
|
3978
3978
|
inner: l,
|
|
3979
3979
|
children: r,
|
|
3980
3980
|
...m
|
|
3981
|
-
}) => /* @__PURE__ */ e.createElement(h, { ...m, className:
|
|
3981
|
+
}) => /* @__PURE__ */ e.createElement(h, { ...m, className: f("c-section", {
|
|
3982
3982
|
"c-section--inner": l
|
|
3983
3983
|
}, m == null ? void 0 : m.className), __self: void 0, __source: {
|
|
3984
3984
|
fileName: o2,
|
|
3985
3985
|
lineNumber: 11,
|
|
3986
3986
|
columnNumber: 3
|
|
3987
3987
|
} }, r);
|
|
3988
|
-
var ve = "/codebuild/output/
|
|
3988
|
+
var ve = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Select/Select.tsx";
|
|
3989
3989
|
const n2 = W(({
|
|
3990
3990
|
id: l,
|
|
3991
3991
|
className: r,
|
|
@@ -3997,13 +3997,13 @@ const n2 = W(({
|
|
|
3997
3997
|
containerProps: i,
|
|
3998
3998
|
variant: u = "default",
|
|
3999
3999
|
icon: N,
|
|
4000
|
-
isLarge:
|
|
4000
|
+
isLarge: d,
|
|
4001
4001
|
hint: b,
|
|
4002
4002
|
error: g,
|
|
4003
|
-
...
|
|
4003
|
+
...x
|
|
4004
4004
|
}, M) => {
|
|
4005
4005
|
var y, $;
|
|
4006
|
-
return /* @__PURE__ */ e.createElement(_, { ...i, ref: M, direction: "column", className:
|
|
4006
|
+
return /* @__PURE__ */ e.createElement(_, { ...i, ref: M, direction: "column", className: f("c-select", i == null ? void 0 : i.className), __self: void 0, __source: {
|
|
4007
4007
|
fileName: ve,
|
|
4008
4008
|
lineNumber: 48,
|
|
4009
4009
|
columnNumber: 5
|
|
@@ -4031,12 +4031,12 @@ const n2 = W(({
|
|
|
4031
4031
|
fileName: ve,
|
|
4032
4032
|
lineNumber: 72,
|
|
4033
4033
|
columnNumber: 9
|
|
4034
|
-
} }), /* @__PURE__ */ e.createElement("select", { id: l, className:
|
|
4034
|
+
} }), /* @__PURE__ */ e.createElement("select", { id: l, className: f("c-select__select", `c-select__select--${u}`, {
|
|
4035
4035
|
"c-select__select--has-icon": !!N
|
|
4036
4036
|
}, {
|
|
4037
|
-
"c-select__select--large":
|
|
4038
|
-
}, Nl(
|
|
4039
|
-
props:
|
|
4037
|
+
"c-select__select--large": d
|
|
4038
|
+
}, Nl(x), r), required: m, defaultValue: n || (($ = (y = t.filter((Z) => Z.isSelected)) == null ? void 0 : y.pop()) == null ? void 0 : $.value) || "", "aria-describedby": [b ? `${l}-hint` : null, g ? `${l}-error` : null].filter(Boolean).join(" ") || void 0, ...w0({
|
|
4039
|
+
props: x,
|
|
4040
4040
|
systemPropNames: Object.keys(il)
|
|
4041
4041
|
}), __self: void 0, __source: {
|
|
4042
4042
|
fileName: ve,
|
|
@@ -4056,12 +4056,12 @@ const n2 = W(({
|
|
|
4056
4056
|
columnNumber: 9
|
|
4057
4057
|
} }, g));
|
|
4058
4058
|
});
|
|
4059
|
-
var t2 = "/codebuild/output/
|
|
4059
|
+
var t2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Skeleton/Skeleton.tsx";
|
|
4060
4060
|
const Wm = ({
|
|
4061
4061
|
variant: l = "button",
|
|
4062
4062
|
className: r,
|
|
4063
4063
|
...m
|
|
4064
|
-
}) => /* @__PURE__ */ e.createElement(_, { className:
|
|
4064
|
+
}) => /* @__PURE__ */ e.createElement(_, { className: f("c-skeleton", {
|
|
4065
4065
|
"c-skeleton--button": l === "button"
|
|
4066
4066
|
}, {
|
|
4067
4067
|
"c-skeleton--icon": l === "icon"
|
|
@@ -4070,7 +4070,7 @@ const Wm = ({
|
|
|
4070
4070
|
lineNumber: 10,
|
|
4071
4071
|
columnNumber: 3
|
|
4072
4072
|
} });
|
|
4073
|
-
var d0 = "/codebuild/output/
|
|
4073
|
+
var d0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Slider/Slider.tsx";
|
|
4074
4074
|
const y0 = W(({
|
|
4075
4075
|
layout: l,
|
|
4076
4076
|
children: r,
|
|
@@ -4082,7 +4082,7 @@ const y0 = W(({
|
|
|
4082
4082
|
auto: i = !1,
|
|
4083
4083
|
delay: u = 3e3,
|
|
4084
4084
|
...N
|
|
4085
|
-
},
|
|
4085
|
+
}, d) => /* @__PURE__ */ e.createElement(h, { ...N, ref: d, className: f("c-slider js-navigation-container", N == null ? void 0 : N.className), "data-slider-variant": s, "data-slider-auto": i, "data-slider-delay": u, __self: void 0, __source: {
|
|
4086
4086
|
fileName: d0,
|
|
4087
4087
|
lineNumber: 45,
|
|
4088
4088
|
columnNumber: 5
|
|
@@ -4098,7 +4098,7 @@ const y0 = W(({
|
|
|
4098
4098
|
fileName: d0,
|
|
4099
4099
|
lineNumber: 59,
|
|
4100
4100
|
columnNumber: 9
|
|
4101
|
-
} }, Array.from(["previous", "next"], (b) => /* @__PURE__ */ e.createElement(h, { key: b, pr: c && b === "previous" ? "l" : void 0, pl: c && b === "next" ? "l" : void 0, className:
|
|
4101
|
+
} }, Array.from(["previous", "next"], (b) => /* @__PURE__ */ e.createElement(h, { key: b, pr: c && b === "previous" ? "l" : void 0, pl: c && b === "next" ? "l" : void 0, className: f(`c-slider__button-container c-slider__button-container--${b} o-nav-button o-nav-button--${b}-button`, {
|
|
4102
4102
|
"c-slider__button-container--has-space-around": c
|
|
4103
4103
|
}, {
|
|
4104
4104
|
[`c-slider__button-container--${s}`]: s
|
|
@@ -4118,7 +4118,7 @@ const y0 = W(({
|
|
|
4118
4118
|
lineNumber: 71,
|
|
4119
4119
|
columnNumber: 15
|
|
4120
4120
|
} }))))));
|
|
4121
|
-
var N1 = "/codebuild/output/
|
|
4121
|
+
var N1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Stepper/Stepper.tsx";
|
|
4122
4122
|
const s2 = ({
|
|
4123
4123
|
items: l,
|
|
4124
4124
|
colorVariant: r = "ultramarine",
|
|
@@ -4131,7 +4131,7 @@ const s2 = ({
|
|
|
4131
4131
|
D,
|
|
4132
4132
|
{
|
|
4133
4133
|
key: n,
|
|
4134
|
-
className:
|
|
4134
|
+
className: f("c-stepper__item", {
|
|
4135
4135
|
"c-stepper__item--loading": c.loading,
|
|
4136
4136
|
"c-stepper__item--loaded": c.loaded
|
|
4137
4137
|
}),
|
|
@@ -4149,7 +4149,7 @@ const s2 = ({
|
|
|
4149
4149
|
columnNumber: 9
|
|
4150
4150
|
} })
|
|
4151
4151
|
)));
|
|
4152
|
-
var M0 = "/codebuild/output/
|
|
4152
|
+
var M0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Switch/Switch.tsx";
|
|
4153
4153
|
const bl = ({
|
|
4154
4154
|
containerProps: l,
|
|
4155
4155
|
labelPosition: r = "before",
|
|
@@ -4175,13 +4175,13 @@ const bl = ({
|
|
|
4175
4175
|
fileName: M0,
|
|
4176
4176
|
lineNumber: 33,
|
|
4177
4177
|
columnNumber: 5
|
|
4178
|
-
} }, r === "before" && m && s, /* @__PURE__ */ e.createElement("input", { role: "switch", type: "checkbox", id: n, ...t, className:
|
|
4178
|
+
} }, r === "before" && m && s, /* @__PURE__ */ e.createElement("input", { role: "switch", type: "checkbox", id: n, ...t, className: f("c-switch__input", t.className), __self: void 0, __source: {
|
|
4179
4179
|
fileName: M0,
|
|
4180
4180
|
lineNumber: 35,
|
|
4181
4181
|
columnNumber: 7
|
|
4182
4182
|
} }), r === "after" && m && s);
|
|
4183
4183
|
};
|
|
4184
|
-
var i2 = "/codebuild/output/
|
|
4184
|
+
var i2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Tab/Tab.tsx";
|
|
4185
4185
|
const u2 = ({
|
|
4186
4186
|
variant: l = "default",
|
|
4187
4187
|
name: r,
|
|
@@ -4192,7 +4192,7 @@ const u2 = ({
|
|
|
4192
4192
|
isNoWrap: s,
|
|
4193
4193
|
color: i,
|
|
4194
4194
|
...u
|
|
4195
|
-
}) => /* @__PURE__ */ e.createElement("button", { type: "button", role: "tab", id: `tab-${r}`, className:
|
|
4195
|
+
}) => /* @__PURE__ */ e.createElement("button", { type: "button", role: "tab", id: `tab-${r}`, className: f("c-tab", {
|
|
4196
4196
|
[`c-tab--${l}`]: l,
|
|
4197
4197
|
[`c-tab--${c}`]: c,
|
|
4198
4198
|
[`color-${i}`]: i,
|
|
@@ -4202,18 +4202,18 @@ const u2 = ({
|
|
|
4202
4202
|
lineNumber: 26,
|
|
4203
4203
|
columnNumber: 3
|
|
4204
4204
|
} }, m);
|
|
4205
|
-
var _2 = "/codebuild/output/
|
|
4205
|
+
var _2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/TabPanel/TabPanel.tsx";
|
|
4206
4206
|
const N2 = ({
|
|
4207
4207
|
name: l,
|
|
4208
4208
|
children: r,
|
|
4209
4209
|
className: m,
|
|
4210
4210
|
isHidden: c = !0
|
|
4211
|
-
}) => /* @__PURE__ */ e.createElement("div", { id: `tabpanel-${l}`, className:
|
|
4211
|
+
}) => /* @__PURE__ */ e.createElement("div", { id: `tabpanel-${l}`, className: f(m, "c-tabpanel"), role: "tabpanel", "aria-hidden": c, "aria-labelledby": `tab-${l}`, __self: void 0, __source: {
|
|
4212
4212
|
fileName: _2,
|
|
4213
4213
|
lineNumber: 17,
|
|
4214
4214
|
columnNumber: 3
|
|
4215
4215
|
} }, r);
|
|
4216
|
-
var d2 = "/codebuild/output/
|
|
4216
|
+
var d2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Tag/Tag.tsx";
|
|
4217
4217
|
const Re = W(({
|
|
4218
4218
|
as: l = "a",
|
|
4219
4219
|
id: r,
|
|
@@ -4227,7 +4227,7 @@ const Re = W(({
|
|
|
4227
4227
|
as: m === "span" ? "span" : l,
|
|
4228
4228
|
href: m === "span" || n == null ? void 0 : n.href,
|
|
4229
4229
|
ref: t,
|
|
4230
|
-
className:
|
|
4230
|
+
className: f("c-tags", `c-tags--${m}`, n == null ? void 0 : n.className),
|
|
4231
4231
|
"data-id": r,
|
|
4232
4232
|
__self: void 0,
|
|
4233
4233
|
__source: {
|
|
@@ -4238,7 +4238,7 @@ const Re = W(({
|
|
|
4238
4238
|
},
|
|
4239
4239
|
c
|
|
4240
4240
|
));
|
|
4241
|
-
var he = "/codebuild/output/
|
|
4241
|
+
var he = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Textarea/Textarea.tsx";
|
|
4242
4242
|
const Um = W(({
|
|
4243
4243
|
id: l,
|
|
4244
4244
|
required: r,
|
|
@@ -4250,7 +4250,7 @@ const Um = W(({
|
|
|
4250
4250
|
hint: i,
|
|
4251
4251
|
error: u,
|
|
4252
4252
|
...N
|
|
4253
|
-
},
|
|
4253
|
+
}, d) => /* @__PURE__ */ e.createElement(_, { direction: "column", ref: d, ...s, className: f("c-textarea", s == null ? void 0 : s.className), __self: void 0, __source: {
|
|
4254
4254
|
fileName: he,
|
|
4255
4255
|
lineNumber: 21,
|
|
4256
4256
|
columnNumber: 5
|
|
@@ -4270,7 +4270,7 @@ const Um = W(({
|
|
|
4270
4270
|
fileName: he,
|
|
4271
4271
|
lineNumber: 43,
|
|
4272
4272
|
columnNumber: 7
|
|
4273
|
-
} }, /* @__PURE__ */ e.createElement("textarea", { rows: t, placeholder: "Votre message...", required: r, ...N, id: l, name: l, className:
|
|
4273
|
+
} }, /* @__PURE__ */ e.createElement("textarea", { rows: t, placeholder: "Votre message...", required: r, ...N, id: l, name: l, className: f("c-textarea-container__input", {
|
|
4274
4274
|
[`c-textarea-container__input--${c}`]: c,
|
|
4275
4275
|
"c-textarea-container__input--hint": !!i,
|
|
4276
4276
|
"c-textarea-container__input--error": !!u
|
|
@@ -4285,7 +4285,7 @@ const Um = W(({
|
|
|
4285
4285
|
} }, n.map(({
|
|
4286
4286
|
iconProps: b,
|
|
4287
4287
|
textProps: g,
|
|
4288
|
-
value:
|
|
4288
|
+
value: x
|
|
4289
4289
|
}, M) => /* @__PURE__ */ e.createElement(_, { key: M == null ? void 0 : M.toString(), alignItems: "center", gap: "xxs", __self: void 0, __source: {
|
|
4290
4290
|
fileName: he,
|
|
4291
4291
|
lineNumber: 69,
|
|
@@ -4295,7 +4295,7 @@ const Um = W(({
|
|
|
4295
4295
|
lineNumber: 70,
|
|
4296
4296
|
columnNumber: 29
|
|
4297
4297
|
} }), /* @__PURE__ */ e.createElement(v, { dangerouslySetInnerHTML: {
|
|
4298
|
-
__html:
|
|
4298
|
+
__html: x
|
|
4299
4299
|
}, role: "alert", ...g, __self: void 0, __source: {
|
|
4300
4300
|
fileName: he,
|
|
4301
4301
|
lineNumber: 71,
|
|
@@ -4305,7 +4305,7 @@ const Um = W(({
|
|
|
4305
4305
|
lineNumber: 77,
|
|
4306
4306
|
columnNumber: 9
|
|
4307
4307
|
} }, u)));
|
|
4308
|
-
var f2 = "/codebuild/output/
|
|
4308
|
+
var f2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Typography/Typography.tsx";
|
|
4309
4309
|
const vl = W(({
|
|
4310
4310
|
as: l = "p",
|
|
4311
4311
|
children: r,
|
|
@@ -4313,18 +4313,18 @@ const vl = W(({
|
|
|
4313
4313
|
}, c) => r && r.toString().length || m != null && m.dangerouslySetInnerHTML ? /* @__PURE__ */ e.createElement(h, { ...w0({
|
|
4314
4314
|
props: m,
|
|
4315
4315
|
systemPropNames: Object.keys(Ll)
|
|
4316
|
-
}), as: l, ref: c, className:
|
|
4316
|
+
}), as: l, ref: c, className: f(k1(m), m == null ? void 0 : m.className), __self: void 0, __source: {
|
|
4317
4317
|
fileName: f2,
|
|
4318
4318
|
lineNumber: 14,
|
|
4319
4319
|
columnNumber: 7
|
|
4320
4320
|
} }, r) : null);
|
|
4321
|
-
var b2 = "/codebuild/output/
|
|
4321
|
+
var b2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Typography/Heading/Heading.tsx";
|
|
4322
4322
|
const H = W(({
|
|
4323
4323
|
as: l = "h1",
|
|
4324
4324
|
size: r,
|
|
4325
4325
|
children: m,
|
|
4326
4326
|
...c
|
|
4327
|
-
}, n) => /* @__PURE__ */ e.createElement(vl, { ...c, as: l, ref: n, className:
|
|
4327
|
+
}, n) => /* @__PURE__ */ e.createElement(vl, { ...c, as: l, ref: n, className: f(I({
|
|
4328
4328
|
className: "heading",
|
|
4329
4329
|
propValue: r
|
|
4330
4330
|
}), c == null ? void 0 : c.className), __self: void 0, __source: {
|
|
@@ -4332,14 +4332,14 @@ const H = W(({
|
|
|
4332
4332
|
lineNumber: 15,
|
|
4333
4333
|
columnNumber: 5
|
|
4334
4334
|
} }, m));
|
|
4335
|
-
var v2 = "/codebuild/output/
|
|
4335
|
+
var v2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/Typography/Text/Text.tsx";
|
|
4336
4336
|
const v = W(({
|
|
4337
4337
|
as: l = "p",
|
|
4338
4338
|
size: r,
|
|
4339
4339
|
highlighted: m,
|
|
4340
4340
|
children: c,
|
|
4341
4341
|
...n
|
|
4342
|
-
}, t) => /* @__PURE__ */ e.createElement(vl, { as: m ? "span" : l, bg: m ? "sponsoring" : n.bg, p: m ? "xxs" : n.p, color: m ? "grey-800" : n.color, ...n, ref: t, className:
|
|
4342
|
+
}, t) => /* @__PURE__ */ e.createElement(vl, { as: m ? "span" : l, bg: m ? "sponsoring" : n.bg, p: m ? "xxs" : n.p, color: m ? "grey-800" : n.color, ...n, ref: t, className: f(I({
|
|
4343
4343
|
className: "text",
|
|
4344
4344
|
propValue: r
|
|
4345
4345
|
}), {
|
|
@@ -4349,7 +4349,7 @@ const v = W(({
|
|
|
4349
4349
|
lineNumber: 16,
|
|
4350
4350
|
columnNumber: 5
|
|
4351
4351
|
} }, c));
|
|
4352
|
-
var He = "/codebuild/output/
|
|
4352
|
+
var He = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/AlertInfoBanner/AlertInfoBanner.tsx";
|
|
4353
4353
|
const Gm = ({
|
|
4354
4354
|
cover: l,
|
|
4355
4355
|
description: r,
|
|
@@ -4357,7 +4357,7 @@ const Gm = ({
|
|
|
4357
4357
|
link: c,
|
|
4358
4358
|
closeButton: n,
|
|
4359
4359
|
...t
|
|
4360
|
-
}) => /* @__PURE__ */ e.createElement(_, { ...t, className:
|
|
4360
|
+
}) => /* @__PURE__ */ e.createElement(_, { ...t, className: f("c-info-banner", "c-info-banner--alert", t == null ? void 0 : t.className), alignItems: "center", justifyContent: "center", gap: "s", color: "white", bg: "red", p: "s", __self: void 0, __source: {
|
|
4361
4361
|
fileName: He,
|
|
4362
4362
|
lineNumber: 22,
|
|
4363
4363
|
columnNumber: 3
|
|
@@ -4407,7 +4407,7 @@ const Gm = ({
|
|
|
4407
4407
|
lineNumber: 77,
|
|
4408
4408
|
columnNumber: 13
|
|
4409
4409
|
} })))));
|
|
4410
|
-
var R1 = "/codebuild/output/
|
|
4410
|
+
var R1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Article/ArticleBrandBanner/ArticleBrandBanner.tsx";
|
|
4411
4411
|
const Ym = ({
|
|
4412
4412
|
children: l,
|
|
4413
4413
|
...r
|
|
@@ -4420,7 +4420,7 @@ const Ym = ({
|
|
|
4420
4420
|
lineNumber: 13,
|
|
4421
4421
|
columnNumber: 5
|
|
4422
4422
|
} }, l));
|
|
4423
|
-
var ne = "/codebuild/output/
|
|
4423
|
+
var ne = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Article/ArticleHeader/ArticleHeader.tsx";
|
|
4424
4424
|
const Xm = ({
|
|
4425
4425
|
title: l,
|
|
4426
4426
|
label: r,
|
|
@@ -4507,7 +4507,7 @@ const Xm = ({
|
|
|
4507
4507
|
columnNumber: 21
|
|
4508
4508
|
} }))), N;
|
|
4509
4509
|
};
|
|
4510
|
-
var d1 = "/codebuild/output/
|
|
4510
|
+
var d1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Article/ArticleSummary/ArticleSummary.tsx";
|
|
4511
4511
|
const Jm = ({
|
|
4512
4512
|
title: l,
|
|
4513
4513
|
summary: r,
|
|
@@ -4526,7 +4526,7 @@ const Jm = ({
|
|
|
4526
4526
|
lineNumber: 32,
|
|
4527
4527
|
columnNumber: 5
|
|
4528
4528
|
} }, r));
|
|
4529
|
-
var f1 = "/codebuild/output/
|
|
4529
|
+
var f1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Article/ArticleVideo/ArticleVideo.tsx";
|
|
4530
4530
|
const Qm = ({
|
|
4531
4531
|
html: l,
|
|
4532
4532
|
caption: r = ""
|
|
@@ -4545,7 +4545,7 @@ const Qm = ({
|
|
|
4545
4545
|
lineNumber: 18,
|
|
4546
4546
|
columnNumber: 7
|
|
4547
4547
|
} }, r));
|
|
4548
|
-
var h2 = "/codebuild/output/
|
|
4548
|
+
var h2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Article/Embed/Embed.tsx";
|
|
4549
4549
|
const Pm = ({
|
|
4550
4550
|
html: l
|
|
4551
4551
|
}) => /* @__PURE__ */ e.createElement("div", { dangerouslySetInnerHTML: {
|
|
@@ -4555,7 +4555,7 @@ const Pm = ({
|
|
|
4555
4555
|
lineNumber: 8,
|
|
4556
4556
|
columnNumber: 3
|
|
4557
4557
|
} });
|
|
4558
|
-
var Ze = "/codebuild/output/
|
|
4558
|
+
var Ze = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Article/Media/Media.tsx";
|
|
4559
4559
|
const g2 = {
|
|
4560
4560
|
defaultFormat: "1444x920",
|
|
4561
4561
|
formats: ["1444x920", "722x460", "640x408", "320x204"],
|
|
@@ -4575,10 +4575,10 @@ const g2 = {
|
|
|
4575
4575
|
imagesNumber: i,
|
|
4576
4576
|
videoIs16by9: u = !1,
|
|
4577
4577
|
isGallery: N = !1,
|
|
4578
|
-
...
|
|
4578
|
+
...d
|
|
4579
4579
|
}) => {
|
|
4580
4580
|
let b = x2;
|
|
4581
|
-
return t === w.DESKTOP && (b = g2), /* @__PURE__ */ e.createElement(h, { ...
|
|
4581
|
+
return t === w.DESKTOP && (b = g2), /* @__PURE__ */ e.createElement(h, { ...d, as: "figure", className: "c-media", __self: void 0, __source: {
|
|
4582
4582
|
fileName: Ze,
|
|
4583
4583
|
lineNumber: 50,
|
|
4584
4584
|
columnNumber: 5
|
|
@@ -4601,7 +4601,7 @@ const g2 = {
|
|
|
4601
4601
|
fileName: Ze,
|
|
4602
4602
|
lineNumber: 73,
|
|
4603
4603
|
columnNumber: 15
|
|
4604
|
-
} }, "Lancer le diaporama"))), [Me.video, Me.podcast, Me.embed].includes(l) && /* @__PURE__ */ e.createElement("div", { className:
|
|
4604
|
+
} }, "Lancer le diaporama"))), [Me.video, Me.podcast, Me.embed].includes(l) && /* @__PURE__ */ e.createElement("div", { className: f("c-media__content", {
|
|
4605
4605
|
[`c-media__content--${l}`]: l,
|
|
4606
4606
|
"c-media__content--video-is-16-by-9": l === Me.video && u
|
|
4607
4607
|
}), dangerouslySetInnerHTML: {
|
|
@@ -4610,7 +4610,7 @@ const g2 = {
|
|
|
4610
4610
|
fileName: Ze,
|
|
4611
4611
|
lineNumber: 81,
|
|
4612
4612
|
columnNumber: 9
|
|
4613
|
-
} }), m && /* @__PURE__ */ e.createElement(v, { className:
|
|
4613
|
+
} }), m && /* @__PURE__ */ e.createElement(v, { className: f({
|
|
4614
4614
|
"caption-content": N
|
|
4615
4615
|
}), as: "figcaption", size: "xs", mt: "s", color: "grey-400", mx: {
|
|
4616
4616
|
xs: "m",
|
|
@@ -4629,7 +4629,7 @@ const g2 = {
|
|
|
4629
4629
|
columnNumber: 13
|
|
4630
4630
|
} }, " / ", c)));
|
|
4631
4631
|
};
|
|
4632
|
-
var A1 = "/codebuild/output/
|
|
4632
|
+
var A1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/AvatarGroup/AvatarGroup.tsx";
|
|
4633
4633
|
const p2 = ({
|
|
4634
4634
|
avatars: l,
|
|
4635
4635
|
maxAvatar: r = 4,
|
|
@@ -4647,7 +4647,7 @@ const p2 = ({
|
|
|
4647
4647
|
lineNumber: 18,
|
|
4648
4648
|
columnNumber: 7
|
|
4649
4649
|
} })));
|
|
4650
|
-
var Ke = "/codebuild/output/
|
|
4650
|
+
var Ke = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Breadcrumb/Breadcrumb.tsx";
|
|
4651
4651
|
const er = ({
|
|
4652
4652
|
rubrics: l,
|
|
4653
4653
|
tags: r,
|
|
@@ -4655,7 +4655,7 @@ const er = ({
|
|
|
4655
4655
|
layout: c = w.MOBILE,
|
|
4656
4656
|
arrowsColor: n,
|
|
4657
4657
|
...t
|
|
4658
|
-
}) => /* @__PURE__ */ e.createElement(y0, { layout: c, hasSpaceAroundButtons: !0, ...t, className:
|
|
4658
|
+
}) => /* @__PURE__ */ e.createElement(y0, { layout: c, hasSpaceAroundButtons: !0, ...t, className: f("c-breadcrumb", t == null ? void 0 : t.className), "aria-label": "Breadcrumb", as: "nav", __self: void 0, __source: {
|
|
4659
4659
|
fileName: Ke,
|
|
4660
4660
|
lineNumber: 32,
|
|
4661
4661
|
columnNumber: 3
|
|
@@ -4691,7 +4691,7 @@ const er = ({
|
|
|
4691
4691
|
lineNumber: 65,
|
|
4692
4692
|
columnNumber: 11
|
|
4693
4693
|
} }, s.label))));
|
|
4694
|
-
var A0 = "/codebuild/output/
|
|
4694
|
+
var A0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/BulletedList/BulletedList.tsx";
|
|
4695
4695
|
const lr = ({
|
|
4696
4696
|
items: l,
|
|
4697
4697
|
heading: r,
|
|
@@ -4738,7 +4738,7 @@ const lr = ({
|
|
|
4738
4738
|
}, pb: c && l.length > c ? "xxl" : {
|
|
4739
4739
|
xs: "m",
|
|
4740
4740
|
md: "xl"
|
|
4741
|
-
}, className:
|
|
4741
|
+
}, className: f(s == null ? void 0 : s.className), ...s, childrenItems: l.map((u) => i(u)), __self: void 0, __source: {
|
|
4742
4742
|
fileName: A0,
|
|
4743
4743
|
lineNumber: 42,
|
|
4744
4744
|
columnNumber: 5
|
|
@@ -4778,7 +4778,7 @@ const lr = ({
|
|
|
4778
4778
|
}
|
|
4779
4779
|
return m;
|
|
4780
4780
|
};
|
|
4781
|
-
var ue = "/codebuild/output/
|
|
4781
|
+
var ue = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Calendar/Calendar.tsx";
|
|
4782
4782
|
const mr = ({
|
|
4783
4783
|
currentStreakDates: l = [],
|
|
4784
4784
|
maxStreakDates: r = [],
|
|
@@ -4788,47 +4788,47 @@ const mr = ({
|
|
|
4788
4788
|
...t
|
|
4789
4789
|
}) => {
|
|
4790
4790
|
const s = qe(() => {
|
|
4791
|
-
const
|
|
4792
|
-
return
|
|
4791
|
+
const p = c ? new Date(c) : /* @__PURE__ */ new Date();
|
|
4792
|
+
return p.setHours(0, 0, 0, 0), p;
|
|
4793
4793
|
}, [c]), [i, u] = Fl(() => {
|
|
4794
4794
|
if (m) {
|
|
4795
|
-
const
|
|
4795
|
+
const p = new Date(m);
|
|
4796
4796
|
return {
|
|
4797
|
-
year:
|
|
4798
|
-
month:
|
|
4797
|
+
year: p.getFullYear(),
|
|
4798
|
+
month: p.getMonth()
|
|
4799
4799
|
};
|
|
4800
4800
|
}
|
|
4801
4801
|
return {
|
|
4802
4802
|
year: s.getFullYear(),
|
|
4803
4803
|
month: s.getMonth()
|
|
4804
4804
|
};
|
|
4805
|
-
}), N = qe(() => new Date(i.year, i.month, 1), [i]),
|
|
4806
|
-
const
|
|
4807
|
-
return
|
|
4805
|
+
}), N = qe(() => new Date(i.year, i.month, 1), [i]), d = qe(() => new Date(i.year, i.month + 1, 0), [i]), b = qe(() => {
|
|
4806
|
+
const p = new Date(N), S = (p.getDay() + 6) % 7;
|
|
4807
|
+
return p.setDate(p.getDate() - S), p;
|
|
4808
4808
|
}, [N]), g = qe(() => {
|
|
4809
|
-
const
|
|
4810
|
-
return
|
|
4811
|
-
}, [
|
|
4812
|
-
for (let
|
|
4813
|
-
|
|
4809
|
+
const p = new Date(d), S = (p.getDay() + 6) % 7;
|
|
4810
|
+
return p.setDate(p.getDate() + (6 - S)), p;
|
|
4811
|
+
}, [d]), x = [];
|
|
4812
|
+
for (let p = new Date(b); p <= g; p.setDate(p.getDate() + 1))
|
|
4813
|
+
x.push(new Date(p));
|
|
4814
4814
|
const M = qe(() => new Set(l), [l]), y = qe(() => new Set(r), [r]), $ = qe(() => y2([...l, ...r]), [l, r]), Z = q0(s), C = i.year < s.getFullYear() || i.year === s.getFullYear() && i.month < s.getMonth(), k = () => {
|
|
4815
|
-
u((
|
|
4816
|
-
year:
|
|
4815
|
+
u((p) => p.month === 0 ? {
|
|
4816
|
+
year: p.year - 1,
|
|
4817
4817
|
month: 11
|
|
4818
4818
|
} : {
|
|
4819
|
-
year:
|
|
4820
|
-
month:
|
|
4819
|
+
year: p.year,
|
|
4820
|
+
month: p.month - 1
|
|
4821
4821
|
});
|
|
4822
4822
|
}, z = () => {
|
|
4823
|
-
C && u((
|
|
4824
|
-
year:
|
|
4823
|
+
C && u((p) => p.month === 11 ? {
|
|
4824
|
+
year: p.year + 1,
|
|
4825
4825
|
month: 0
|
|
4826
4826
|
} : {
|
|
4827
|
-
year:
|
|
4828
|
-
month:
|
|
4827
|
+
year: p.year,
|
|
4828
|
+
month: p.month + 1
|
|
4829
4829
|
});
|
|
4830
4830
|
};
|
|
4831
|
-
return /* @__PURE__ */ e.createElement(h, { ...t, className:
|
|
4831
|
+
return /* @__PURE__ */ e.createElement(h, { ...t, className: f("c-calendar", n), px: "s", py: "xl", bg: "grey-100", __self: void 0, __source: {
|
|
4832
4832
|
fileName: ue,
|
|
4833
4833
|
lineNumber: 110,
|
|
4834
4834
|
columnNumber: 5
|
|
@@ -4850,7 +4850,7 @@ const mr = ({
|
|
|
4850
4850
|
} }, w2[i.month], " ", i.year), /* @__PURE__ */ e.createElement(B, { variant: "ghost", "aria-label": "Mois suivant", onClick: z, iconProps: {
|
|
4851
4851
|
name: "chevron",
|
|
4852
4852
|
size: 12
|
|
4853
|
-
}, disabled: !C, className:
|
|
4853
|
+
}, disabled: !C, className: f({
|
|
4854
4854
|
"c-btn--disabled": !C
|
|
4855
4855
|
}), __self: void 0, __source: {
|
|
4856
4856
|
fileName: ue,
|
|
@@ -4860,7 +4860,7 @@ const mr = ({
|
|
|
4860
4860
|
fileName: ue,
|
|
4861
4861
|
lineNumber: 136,
|
|
4862
4862
|
columnNumber: 7
|
|
4863
|
-
} }, E2.map((
|
|
4863
|
+
} }, E2.map((p) => /* @__PURE__ */ e.createElement(_, { key: p, alignItems: "center", justifyContent: "center", className: "c-calendar__cell", __self: void 0, __source: {
|
|
4864
4864
|
fileName: ue,
|
|
4865
4865
|
lineNumber: 138,
|
|
4866
4866
|
columnNumber: 11
|
|
@@ -4868,17 +4868,17 @@ const mr = ({
|
|
|
4868
4868
|
fileName: ue,
|
|
4869
4869
|
lineNumber: 139,
|
|
4870
4870
|
columnNumber: 13
|
|
4871
|
-
} },
|
|
4871
|
+
} }, p.charAt(0))))), /* @__PURE__ */ e.createElement("div", { className: "c-calendar__grid", __self: void 0, __source: {
|
|
4872
4872
|
fileName: ue,
|
|
4873
4873
|
lineNumber: 145,
|
|
4874
4874
|
columnNumber: 7
|
|
4875
|
-
} },
|
|
4876
|
-
const S = q0(
|
|
4875
|
+
} }, x.map((p) => {
|
|
4876
|
+
const S = q0(p), Ve = p.getMonth() === i.month, be = S === Z, ae = $.has(S), c1 = (M.has(S) || y.has(S)) && !ae, l0 = M.has(S), a1 = y.has(S), o1 = new Date(p);
|
|
4877
4877
|
o1.setDate(o1.getDate() - 1);
|
|
4878
|
-
const B1 = ae && !$.has(q0(o1)), n1 = new Date(
|
|
4878
|
+
const B1 = ae && !$.has(q0(o1)), n1 = new Date(p);
|
|
4879
4879
|
n1.setDate(n1.getDate() + 1);
|
|
4880
4880
|
const L1 = ae && !$.has(q0(n1));
|
|
4881
|
-
return /* @__PURE__ */ e.createElement(_, { key: S, alignItems: "center", justifyContent: "center", className:
|
|
4881
|
+
return /* @__PURE__ */ e.createElement(_, { key: S, alignItems: "center", justifyContent: "center", className: f("c-calendar__cell", {
|
|
4882
4882
|
"c-calendar__cell--other-month": !Ve,
|
|
4883
4883
|
"c-calendar__cell--today": be,
|
|
4884
4884
|
"c-calendar__cell--heat": l0,
|
|
@@ -4898,14 +4898,14 @@ const mr = ({
|
|
|
4898
4898
|
fileName: ue,
|
|
4899
4899
|
lineNumber: 177,
|
|
4900
4900
|
columnNumber: 17
|
|
4901
|
-
} },
|
|
4901
|
+
} }, p.getDate()), (c1 || B1 || L1) && /* @__PURE__ */ e.createElement(E, { name: "heat", size: [22, 32], className: "c-calendar__heat-icon", __self: void 0, __source: {
|
|
4902
4902
|
fileName: ue,
|
|
4903
4903
|
lineNumber: 181,
|
|
4904
4904
|
columnNumber: 19
|
|
4905
4905
|
} })));
|
|
4906
4906
|
})));
|
|
4907
4907
|
};
|
|
4908
|
-
var z2 = "/codebuild/output/
|
|
4908
|
+
var z2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/CardContainer/CardContainer.tsx";
|
|
4909
4909
|
const ie = W(({
|
|
4910
4910
|
as: l = "article",
|
|
4911
4911
|
children: r,
|
|
@@ -4919,7 +4919,7 @@ const ie = W(({
|
|
|
4919
4919
|
as: l,
|
|
4920
4920
|
ref: t,
|
|
4921
4921
|
justifyContent: (n == null ? void 0 : n.justifyContent) || "between",
|
|
4922
|
-
className:
|
|
4922
|
+
className: f("c-card-container", {
|
|
4923
4923
|
"c-card-container--clickable": c
|
|
4924
4924
|
}, m),
|
|
4925
4925
|
__self: void 0,
|
|
@@ -4931,7 +4931,7 @@ const ie = W(({
|
|
|
4931
4931
|
},
|
|
4932
4932
|
r
|
|
4933
4933
|
));
|
|
4934
|
-
var b1 = "/codebuild/output/
|
|
4934
|
+
var b1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/CardFooter/CardFooter.tsx";
|
|
4935
4935
|
const hl = ({
|
|
4936
4936
|
text: l,
|
|
4937
4937
|
secondaryText: r,
|
|
@@ -4950,7 +4950,7 @@ const hl = ({
|
|
|
4950
4950
|
lineNumber: 26,
|
|
4951
4951
|
columnNumber: 7
|
|
4952
4952
|
} }, r));
|
|
4953
|
-
var Ce = "/codebuild/output/
|
|
4953
|
+
var Ce = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/CardHeader/CardHeader.tsx";
|
|
4954
4954
|
const Ae = ({
|
|
4955
4955
|
headline: l,
|
|
4956
4956
|
liveTime: r,
|
|
@@ -5001,7 +5001,7 @@ const Ae = ({
|
|
|
5001
5001
|
columnNumber: 9
|
|
5002
5002
|
} }, c))) : s;
|
|
5003
5003
|
};
|
|
5004
|
-
var r0 = "/codebuild/output/
|
|
5004
|
+
var r0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/IconItem/IconItem.tsx";
|
|
5005
5005
|
const x0 = ({
|
|
5006
5006
|
// New props
|
|
5007
5007
|
iconProps: l,
|
|
@@ -5014,10 +5014,10 @@ const x0 = ({
|
|
|
5014
5014
|
countSize: i,
|
|
5015
5015
|
countStyle: u = "rounded",
|
|
5016
5016
|
label: N,
|
|
5017
|
-
ariaLabel:
|
|
5017
|
+
ariaLabel: d,
|
|
5018
5018
|
anchor: b,
|
|
5019
5019
|
link: g,
|
|
5020
|
-
isClickable:
|
|
5020
|
+
isClickable: x = !0,
|
|
5021
5021
|
isHighlighted: M = !1,
|
|
5022
5022
|
isInToolbar: y = !1,
|
|
5023
5023
|
// Deprecated props (for backward compatibility)
|
|
@@ -5068,7 +5068,7 @@ const x0 = ({
|
|
|
5068
5068
|
return "xxs-2";
|
|
5069
5069
|
}
|
|
5070
5070
|
return "xxs-2";
|
|
5071
|
-
},
|
|
5071
|
+
}, p = () => {
|
|
5072
5072
|
if (t)
|
|
5073
5073
|
return t;
|
|
5074
5074
|
if ($)
|
|
@@ -5091,7 +5091,7 @@ const x0 = ({
|
|
|
5091
5091
|
}
|
|
5092
5092
|
return "default";
|
|
5093
5093
|
}, Ve = () => u === "inline" && c !== "none" ? "xxs-2" : void 0, be = () => {
|
|
5094
|
-
const ae = /* @__PURE__ */ e.createElement(_, { as: "span", className:
|
|
5094
|
+
const ae = /* @__PURE__ */ e.createElement(_, { as: "span", className: f("c-icon-item__icon", {
|
|
5095
5095
|
"c-icon-item__icon--in-toolbar": y,
|
|
5096
5096
|
[`c-icon-item__icon--${r}`]: r
|
|
5097
5097
|
}), alignItems: "center", justifyContent: "center", bg: k(), color: m, __self: void 0, __source: {
|
|
@@ -5107,7 +5107,7 @@ const x0 = ({
|
|
|
5107
5107
|
fileName: r0,
|
|
5108
5108
|
lineNumber: 188,
|
|
5109
5109
|
columnNumber: 7
|
|
5110
|
-
} }, ae, /* @__PURE__ */ e.createElement(v, { as: "span", size: z(), color:
|
|
5110
|
+
} }, ae, /* @__PURE__ */ e.createElement(v, { as: "span", size: z(), color: p(), bg: S(), ml: Ve(), className: f("c-icon-item__count", {
|
|
5111
5111
|
[`c-icon-item__count--${u}`]: u,
|
|
5112
5112
|
[`c-icon-item__count--${i}`]: i
|
|
5113
5113
|
}), __self: void 0, __source: {
|
|
@@ -5116,11 +5116,11 @@ const x0 = ({
|
|
|
5116
5116
|
columnNumber: 9
|
|
5117
5117
|
} }, n === 0 ? "0" : n)) : ae;
|
|
5118
5118
|
};
|
|
5119
|
-
return /* @__PURE__ */ e.createElement(_, { ...Z, inline: !0, direction: "column", alignItems: "center", className:
|
|
5120
|
-
"c-icon-item__container--is-clickable":
|
|
5119
|
+
return /* @__PURE__ */ e.createElement(_, { ...Z, inline: !0, direction: "column", alignItems: "center", className: f("c-icon-item__container", {
|
|
5120
|
+
"c-icon-item__container--is-clickable": x
|
|
5121
5121
|
}, {
|
|
5122
5122
|
"c-icon-item__container--is-highlighted": M
|
|
5123
|
-
}, Z == null ? void 0 : Z.className), "aria-label":
|
|
5123
|
+
}, Z == null ? void 0 : Z.className), "aria-label": d, __self: void 0, __source: {
|
|
5124
5124
|
fileName: r0,
|
|
5125
5125
|
lineNumber: 210,
|
|
5126
5126
|
columnNumber: 5
|
|
@@ -5134,7 +5134,7 @@ const x0 = ({
|
|
|
5134
5134
|
columnNumber: 7
|
|
5135
5135
|
} }, N));
|
|
5136
5136
|
};
|
|
5137
|
-
var We = "/codebuild/output/
|
|
5137
|
+
var We = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/CardImage/CardImage.tsx";
|
|
5138
5138
|
const M2 = (l) => {
|
|
5139
5139
|
switch (l) {
|
|
5140
5140
|
case "small":
|
|
@@ -5155,10 +5155,10 @@ const M2 = (l) => {
|
|
|
5155
5155
|
title: i,
|
|
5156
5156
|
lazyLoad: u = !1,
|
|
5157
5157
|
fetchPriority: N = "auto",
|
|
5158
|
-
withShadow:
|
|
5158
|
+
withShadow: d = !1,
|
|
5159
5159
|
className: b,
|
|
5160
5160
|
radius: g,
|
|
5161
|
-
isFavorite:
|
|
5161
|
+
isFavorite: x,
|
|
5162
5162
|
enableHD: M = !1,
|
|
5163
5163
|
dataId: y = "",
|
|
5164
5164
|
...$
|
|
@@ -5170,18 +5170,18 @@ const M2 = (l) => {
|
|
|
5170
5170
|
lineNumber: 57,
|
|
5171
5171
|
columnNumber: 5
|
|
5172
5172
|
} });
|
|
5173
|
-
return /* @__PURE__ */ e.createElement(h, { ...$, className:
|
|
5173
|
+
return /* @__PURE__ */ e.createElement(h, { ...$, className: f("c-card-img", b), __self: void 0, __source: {
|
|
5174
5174
|
fileName: We,
|
|
5175
5175
|
lineNumber: 72,
|
|
5176
5176
|
columnNumber: 5
|
|
5177
|
-
} }, /* @__PURE__ */ e.createElement("div", { className:
|
|
5178
|
-
"c-card-img__inner--with-shadow":
|
|
5179
|
-
"c-card-img__inner--with-interaction":
|
|
5177
|
+
} }, /* @__PURE__ */ e.createElement("div", { className: f("c-card-img__inner", {
|
|
5178
|
+
"c-card-img__inner--with-shadow": d || !!s,
|
|
5179
|
+
"c-card-img__inner--with-interaction": x !== void 0
|
|
5180
5180
|
}), __self: void 0, __source: {
|
|
5181
5181
|
fileName: We,
|
|
5182
5182
|
lineNumber: 73,
|
|
5183
5183
|
columnNumber: 7
|
|
5184
|
-
} }, s && /* @__PURE__ */ e.createElement(_, { color: "white", alignItems: "center", gap: s.size === "small" ? "xxs-2" : "xxs", className:
|
|
5184
|
+
} }, s && /* @__PURE__ */ e.createElement(_, { color: "white", alignItems: "center", gap: s.size === "small" ? "xxs-2" : "xxs", className: f("c-card-img__caption", {
|
|
5185
5185
|
[`c-card-img__caption--${s.size || "big"}`]: !0
|
|
5186
5186
|
}), __self: void 0, __source: {
|
|
5187
5187
|
fileName: We,
|
|
@@ -5199,9 +5199,9 @@ const M2 = (l) => {
|
|
|
5199
5199
|
fileName: We,
|
|
5200
5200
|
lineNumber: 95,
|
|
5201
5201
|
columnNumber: 11
|
|
5202
|
-
} }, i),
|
|
5202
|
+
} }, i), x !== void 0 && /* @__PURE__ */ e.createElement(x0, { className: "c-card-img__favorite", variant: "secondary", iconProps: {
|
|
5203
5203
|
size: 20,
|
|
5204
|
-
name:
|
|
5204
|
+
name: x ? "star" : "star-outlined"
|
|
5205
5205
|
}, color: "grey-500", "data-event-name": "mbrs-game-save-favorite", ...y ? {
|
|
5206
5206
|
"data-id": y
|
|
5207
5207
|
} : {}, __self: void 0, __source: {
|
|
@@ -5210,7 +5210,7 @@ const M2 = (l) => {
|
|
|
5210
5210
|
columnNumber: 11
|
|
5211
5211
|
} }), Z));
|
|
5212
5212
|
};
|
|
5213
|
-
var v1 = "/codebuild/output/
|
|
5213
|
+
var v1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/CardTitle/CardTitle.tsx";
|
|
5214
5214
|
const q1 = (l) => {
|
|
5215
5215
|
switch (l) {
|
|
5216
5216
|
case "alert":
|
|
@@ -5260,7 +5260,7 @@ const q1 = (l) => {
|
|
|
5260
5260
|
{
|
|
5261
5261
|
pb: "xxs-3",
|
|
5262
5262
|
...u,
|
|
5263
|
-
className:
|
|
5263
|
+
className: f("c-card-title", {
|
|
5264
5264
|
"c-card-title--has-max-rows": m,
|
|
5265
5265
|
[`c-card-title--has-${m}-rows`]: m
|
|
5266
5266
|
}, u == null ? void 0 : u.className),
|
|
@@ -5277,7 +5277,7 @@ const q1 = (l) => {
|
|
|
5277
5277
|
columnNumber: 5
|
|
5278
5278
|
} }, l && /* @__PURE__ */ e.createElement(K, { bg: q1(l).color, color: "white", hasDot: l === "live" || !1, mr: "xxs", textProps: {
|
|
5279
5279
|
fontFamily: "base"
|
|
5280
|
-
}, className:
|
|
5280
|
+
}, className: f("c-card-title__cartridge-heading", {
|
|
5281
5281
|
"c-card-title__cartridge-heading--is-centered": r
|
|
5282
5282
|
}), __self: void 0, __source: {
|
|
5283
5283
|
fileName: v1,
|
|
@@ -5285,7 +5285,7 @@ const q1 = (l) => {
|
|
|
5285
5285
|
columnNumber: 9
|
|
5286
5286
|
} }, q1(l).label), i)
|
|
5287
5287
|
);
|
|
5288
|
-
var A = "/codebuild/output/
|
|
5288
|
+
var A = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardExtraLarge/CardExtraLarge.tsx";
|
|
5289
5289
|
const rr = ({
|
|
5290
5290
|
link: l,
|
|
5291
5291
|
title: r,
|
|
@@ -5297,26 +5297,26 @@ const rr = ({
|
|
|
5297
5297
|
signatureProps: i,
|
|
5298
5298
|
socialBarProps: u,
|
|
5299
5299
|
follows3ColumnsGrid: N = !1,
|
|
5300
|
-
mediaSrc:
|
|
5300
|
+
mediaSrc: d,
|
|
5301
5301
|
linkProps: b,
|
|
5302
5302
|
...g
|
|
5303
5303
|
}) => {
|
|
5304
5304
|
const {
|
|
5305
|
-
cardFooterProps:
|
|
5305
|
+
cardFooterProps: x,
|
|
5306
5306
|
...M
|
|
5307
5307
|
} = g, y = ["722x460", "640x408", "320x204"];
|
|
5308
|
-
return /* @__PURE__ */ e.createElement(ie, { ...M, className:
|
|
5308
|
+
return /* @__PURE__ */ e.createElement(ie, { ...M, className: f("c-card-extra-large", M.className), direction: "column", clickable: !0, __self: void 0, __source: {
|
|
5309
5309
|
fileName: A,
|
|
5310
5310
|
lineNumber: 51,
|
|
5311
5311
|
columnNumber: 5
|
|
5312
|
-
} }, s === w.DESKTOP ? /* @__PURE__ */ e.createElement(_, { gap: N ? "s" : "xl", className:
|
|
5312
|
+
} }, s === w.DESKTOP ? /* @__PURE__ */ e.createElement(_, { gap: N ? "s" : "xl", className: f({
|
|
5313
5313
|
"o-lt-show": !N,
|
|
5314
5314
|
"o-columns-by-3": N
|
|
5315
5315
|
}), __self: void 0, __source: {
|
|
5316
5316
|
fileName: A,
|
|
5317
5317
|
lineNumber: 58,
|
|
5318
5318
|
columnNumber: 9
|
|
5319
|
-
} }, t ||
|
|
5319
|
+
} }, t || d ? /* @__PURE__ */ e.createElement(h, { className: f({
|
|
5320
5320
|
"o-lt-show__main": !N,
|
|
5321
5321
|
"o-columns-by-3__first-2-columns": N
|
|
5322
5322
|
}), __self: void 0, __source: {
|
|
@@ -5327,11 +5327,11 @@ const rr = ({
|
|
|
5327
5327
|
fileName: A,
|
|
5328
5328
|
lineNumber: 73,
|
|
5329
5329
|
columnNumber: 17
|
|
5330
|
-
} }) ||
|
|
5330
|
+
} }) || d && /* @__PURE__ */ e.createElement(D0, { type: Me.video, src: d, videoIs16by9: !0, __self: void 0, __source: {
|
|
5331
5331
|
fileName: A,
|
|
5332
5332
|
lineNumber: 81,
|
|
5333
5333
|
columnNumber: 30
|
|
5334
|
-
} })) : null, /* @__PURE__ */ e.createElement(_, { direction: "column", justifyContent: "between", pl: N ? "s" : "0", className:
|
|
5334
|
+
} })) : null, /* @__PURE__ */ e.createElement(_, { direction: "column", justifyContent: "between", pl: N ? "s" : "0", className: f({
|
|
5335
5335
|
"o-lt-show__aside": !N,
|
|
5336
5336
|
"o-columns-by-3__last-1-column": N
|
|
5337
5337
|
}), __self: void 0, __source: {
|
|
@@ -5404,7 +5404,7 @@ const rr = ({
|
|
|
5404
5404
|
columnNumber: 15
|
|
5405
5405
|
} }))));
|
|
5406
5406
|
};
|
|
5407
|
-
var Te = "/codebuild/output/
|
|
5407
|
+
var Te = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardExtraSmall/CardExtraSmall.tsx";
|
|
5408
5408
|
const gl = ({
|
|
5409
5409
|
link: l,
|
|
5410
5410
|
title: r,
|
|
@@ -5418,11 +5418,11 @@ const gl = ({
|
|
|
5418
5418
|
...N
|
|
5419
5419
|
}) => {
|
|
5420
5420
|
const {
|
|
5421
|
-
summaryProps:
|
|
5421
|
+
summaryProps: d,
|
|
5422
5422
|
signatureProps: b,
|
|
5423
5423
|
...g
|
|
5424
5424
|
} = N;
|
|
5425
|
-
return /* @__PURE__ */ e.createElement(ie, { ...g, p: N != null && N.bg ? "s" : void 0, direction: "column", className:
|
|
5425
|
+
return /* @__PURE__ */ e.createElement(ie, { ...g, p: N != null && N.bg ? "s" : void 0, direction: "column", className: f("c-card-extra-small", N == null ? void 0 : N.className), clickable: !0, __self: void 0, __source: {
|
|
5426
5426
|
fileName: Te,
|
|
5427
5427
|
lineNumber: 37,
|
|
5428
5428
|
columnNumber: 5
|
|
@@ -5465,7 +5465,7 @@ const gl = ({
|
|
|
5465
5465
|
columnNumber: 9
|
|
5466
5466
|
} }));
|
|
5467
5467
|
};
|
|
5468
|
-
var Ue = "/codebuild/output/
|
|
5468
|
+
var Ue = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardFrame/CardFrame.tsx";
|
|
5469
5469
|
const cr = ({
|
|
5470
5470
|
link: l,
|
|
5471
5471
|
title: r,
|
|
@@ -5477,14 +5477,14 @@ const cr = ({
|
|
|
5477
5477
|
socialBarProps: i,
|
|
5478
5478
|
clickable: u,
|
|
5479
5479
|
className: N,
|
|
5480
|
-
...
|
|
5480
|
+
...d
|
|
5481
5481
|
}) => {
|
|
5482
5482
|
const {
|
|
5483
5483
|
cardFooterProps: b,
|
|
5484
5484
|
signatureProps: g,
|
|
5485
|
-
...
|
|
5486
|
-
} =
|
|
5487
|
-
return /* @__PURE__ */ e.createElement(h, { as: "article", ...
|
|
5485
|
+
...x
|
|
5486
|
+
} = d;
|
|
5487
|
+
return /* @__PURE__ */ e.createElement(h, { as: "article", ...x, className: f("c-card-frame", "c-card-container", {
|
|
5488
5488
|
"c-card-container--clickable": u
|
|
5489
5489
|
}, N), __self: void 0, __source: {
|
|
5490
5490
|
fileName: Ue,
|
|
@@ -5542,7 +5542,7 @@ const cr = ({
|
|
|
5542
5542
|
columnNumber: 15
|
|
5543
5543
|
} }, c.children)))));
|
|
5544
5544
|
};
|
|
5545
|
-
var te = "/codebuild/output/
|
|
5545
|
+
var te = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardLarge/CardLarge.tsx";
|
|
5546
5546
|
const ar = ({
|
|
5547
5547
|
link: l,
|
|
5548
5548
|
title: r,
|
|
@@ -5556,7 +5556,7 @@ const ar = ({
|
|
|
5556
5556
|
...N
|
|
5557
5557
|
}) => {
|
|
5558
5558
|
const {
|
|
5559
|
-
cardFooterProps:
|
|
5559
|
+
cardFooterProps: d,
|
|
5560
5560
|
signatureProps: b,
|
|
5561
5561
|
...g
|
|
5562
5562
|
} = N;
|
|
@@ -5621,7 +5621,7 @@ const ar = ({
|
|
|
5621
5621
|
columnNumber: 13
|
|
5622
5622
|
} })));
|
|
5623
5623
|
};
|
|
5624
|
-
var c0 = "/codebuild/output/
|
|
5624
|
+
var c0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardMedium/CardMedium.tsx";
|
|
5625
5625
|
const C2 = ({
|
|
5626
5626
|
link: l,
|
|
5627
5627
|
title: r,
|
|
@@ -5635,7 +5635,7 @@ const C2 = ({
|
|
|
5635
5635
|
...N
|
|
5636
5636
|
}) => {
|
|
5637
5637
|
const {
|
|
5638
|
-
summaryProps:
|
|
5638
|
+
summaryProps: d,
|
|
5639
5639
|
signatureProps: b,
|
|
5640
5640
|
...g
|
|
5641
5641
|
} = N;
|
|
@@ -5657,7 +5657,7 @@ const C2 = ({
|
|
|
5657
5657
|
} }), /* @__PURE__ */ e.createElement(J, { as: "h3", maxRows: 3, fontFamily: "source-serif-pro", weight: "semi-bold", size: "xs", cartridgeIsCentered: !0, ...i && {
|
|
5658
5658
|
color: "grey-900",
|
|
5659
5659
|
px: "s"
|
|
5660
|
-
}, ...c, className:
|
|
5660
|
+
}, ...c, className: f("c-card-medium__title", c == null ? void 0 : c.className), __self: void 0, __source: {
|
|
5661
5661
|
fileName: c0,
|
|
5662
5662
|
lineNumber: 52,
|
|
5663
5663
|
columnNumber: 7
|
|
@@ -5675,7 +5675,7 @@ const C2 = ({
|
|
|
5675
5675
|
columnNumber: 9
|
|
5676
5676
|
} }));
|
|
5677
5677
|
};
|
|
5678
|
-
var G = "/codebuild/output/
|
|
5678
|
+
var G = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardMost/CardMost.tsx";
|
|
5679
5679
|
const k2 = ({
|
|
5680
5680
|
link: l,
|
|
5681
5681
|
title: r,
|
|
@@ -5687,12 +5687,12 @@ const k2 = ({
|
|
|
5687
5687
|
summaryProps: i,
|
|
5688
5688
|
commentCount: u,
|
|
5689
5689
|
shareCount: N,
|
|
5690
|
-
viewCount:
|
|
5690
|
+
viewCount: d,
|
|
5691
5691
|
...b
|
|
5692
5692
|
}) => {
|
|
5693
5693
|
const {
|
|
5694
5694
|
cardFooterProps: g,
|
|
5695
|
-
signatureProps:
|
|
5695
|
+
signatureProps: x,
|
|
5696
5696
|
socialBarProps: M,
|
|
5697
5697
|
...y
|
|
5698
5698
|
} = b;
|
|
@@ -5700,7 +5700,7 @@ const k2 = ({
|
|
|
5700
5700
|
fileName: G,
|
|
5701
5701
|
lineNumber: 42,
|
|
5702
5702
|
columnNumber: 5
|
|
5703
|
-
} }, /* @__PURE__ */ e.createElement(v, { as: "span", color: "ultramarine", weight: "semi-bold", className:
|
|
5703
|
+
} }, /* @__PURE__ */ e.createElement(v, { as: "span", color: "ultramarine", weight: "semi-bold", className: f("c-card-most__card-number", {
|
|
5704
5704
|
[`c-card-most__card-number--${t.size || "default"}-size`]: !0
|
|
5705
5705
|
}), mr: "m", __self: void 0, __source: {
|
|
5706
5706
|
fileName: G,
|
|
@@ -5762,7 +5762,7 @@ const k2 = ({
|
|
|
5762
5762
|
fileName: G,
|
|
5763
5763
|
lineNumber: 95,
|
|
5764
5764
|
columnNumber: 13
|
|
5765
|
-
} }, P0(N))), !!
|
|
5765
|
+
} }, P0(N))), !!d && /* @__PURE__ */ e.createElement(_, { gap: "xs", alignItems: "center", mt: "xs", __self: void 0, __source: {
|
|
5766
5766
|
fileName: G,
|
|
5767
5767
|
lineNumber: 101,
|
|
5768
5768
|
columnNumber: 11
|
|
@@ -5774,7 +5774,7 @@ const k2 = ({
|
|
|
5774
5774
|
fileName: G,
|
|
5775
5775
|
lineNumber: 103,
|
|
5776
5776
|
columnNumber: 13
|
|
5777
|
-
} }, P0(
|
|
5777
|
+
} }, P0(d)))), (n == null ? void 0 : n.cover) && s === w.DESKTOP && /* @__PURE__ */ e.createElement(Y, { ...n, ...n.caption && {
|
|
5778
5778
|
caption: {
|
|
5779
5779
|
size: "small",
|
|
5780
5780
|
...n.caption
|
|
@@ -5785,7 +5785,7 @@ const k2 = ({
|
|
|
5785
5785
|
columnNumber: 9
|
|
5786
5786
|
} }));
|
|
5787
5787
|
};
|
|
5788
|
-
var L = "/codebuild/output/
|
|
5788
|
+
var L = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardMovie/CardMovie.tsx";
|
|
5789
5789
|
const or = ({
|
|
5790
5790
|
title: l,
|
|
5791
5791
|
summary: r,
|
|
@@ -5797,10 +5797,10 @@ const or = ({
|
|
|
5797
5797
|
castings: i,
|
|
5798
5798
|
genres: u,
|
|
5799
5799
|
releaseDate: N,
|
|
5800
|
-
seeMoreLink:
|
|
5800
|
+
seeMoreLink: d,
|
|
5801
5801
|
reviewLink: b,
|
|
5802
5802
|
rating: g,
|
|
5803
|
-
containerSpacing:
|
|
5803
|
+
containerSpacing: x,
|
|
5804
5804
|
...M
|
|
5805
5805
|
}) => {
|
|
5806
5806
|
const y = s || i || g ? /* @__PURE__ */ e.createElement(_, { alignContent: "end", mt: "l", __self: void 0, __source: {
|
|
@@ -5857,7 +5857,7 @@ const or = ({
|
|
|
5857
5857
|
} }, /* @__PURE__ */ e.createElement(_, { direction: "row", gap: {
|
|
5858
5858
|
xs: "m",
|
|
5859
5859
|
md: "l"
|
|
5860
|
-
}, ...
|
|
5860
|
+
}, ...x, __self: void 0, __source: {
|
|
5861
5861
|
fileName: L,
|
|
5862
5862
|
lineNumber: 84,
|
|
5863
5863
|
columnNumber: 7
|
|
@@ -5877,7 +5877,7 @@ const or = ({
|
|
|
5877
5877
|
fileName: L,
|
|
5878
5878
|
lineNumber: 89,
|
|
5879
5879
|
columnNumber: 30
|
|
5880
|
-
} }), /* @__PURE__ */ e.createElement(j, { variant: "secondary", ...
|
|
5880
|
+
} }), /* @__PURE__ */ e.createElement(j, { variant: "secondary", ...d, __self: void 0, __source: {
|
|
5881
5881
|
fileName: L,
|
|
5882
5882
|
lineNumber: 90,
|
|
5883
5883
|
columnNumber: 15
|
|
@@ -5927,7 +5927,7 @@ const or = ({
|
|
|
5927
5927
|
fileName: L,
|
|
5928
5928
|
lineNumber: 122,
|
|
5929
5929
|
columnNumber: 15
|
|
5930
|
-
} })), t === w.DESKTOP && y)), t === w.MOBILE && r && /* @__PURE__ */ e.createElement(v, { ...
|
|
5930
|
+
} })), t === w.DESKTOP && y)), t === w.MOBILE && r && /* @__PURE__ */ e.createElement(v, { ...x, size: "m", mt: "xs", dangerouslySetInnerHTML: {
|
|
5931
5931
|
__html: r
|
|
5932
5932
|
}, __self: void 0, __source: {
|
|
5933
5933
|
fileName: L,
|
|
@@ -5941,13 +5941,13 @@ const or = ({
|
|
|
5941
5941
|
fileName: L,
|
|
5942
5942
|
lineNumber: 142,
|
|
5943
5943
|
columnNumber: 28
|
|
5944
|
-
} }), /* @__PURE__ */ e.createElement(j, { variant: "secondary", ...
|
|
5944
|
+
} }), /* @__PURE__ */ e.createElement(j, { variant: "secondary", ...d, __self: void 0, __source: {
|
|
5945
5945
|
fileName: L,
|
|
5946
5946
|
lineNumber: 143,
|
|
5947
5947
|
columnNumber: 13
|
|
5948
5948
|
} }))));
|
|
5949
5949
|
};
|
|
5950
|
-
var Ge = "/codebuild/output/
|
|
5950
|
+
var Ge = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardNewsletter/CardNewletter.tsx";
|
|
5951
5951
|
const nr = ({
|
|
5952
5952
|
id: l,
|
|
5953
5953
|
label: r,
|
|
@@ -5958,7 +5958,7 @@ const nr = ({
|
|
|
5958
5958
|
isChecked: s = !1,
|
|
5959
5959
|
onCheckedChange: i,
|
|
5960
5960
|
...u
|
|
5961
|
-
}) => /* @__PURE__ */ e.createElement(ie, { alignItems: "start", justifyContent: "start", gap: "s", className:
|
|
5961
|
+
}) => /* @__PURE__ */ e.createElement(ie, { alignItems: "start", justifyContent: "start", gap: "s", className: f("c-card-newsletter", {
|
|
5962
5962
|
"c-card-newsletter--with-border-bottom": t
|
|
5963
5963
|
}), ...t && {
|
|
5964
5964
|
pb: "m"
|
|
@@ -5995,7 +5995,7 @@ const nr = ({
|
|
|
5995
5995
|
lineNumber: 60,
|
|
5996
5996
|
columnNumber: 7
|
|
5997
5997
|
} })));
|
|
5998
|
-
var f0 = "/codebuild/output/
|
|
5998
|
+
var f0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardOverview/CardOverview.tsx";
|
|
5999
5999
|
const xl = ({
|
|
6000
6000
|
link: l,
|
|
6001
6001
|
cardImageProps: r,
|
|
@@ -6009,10 +6009,10 @@ const xl = ({
|
|
|
6009
6009
|
summaryProps: i,
|
|
6010
6010
|
cardFooterProps: u,
|
|
6011
6011
|
signatureProps: N,
|
|
6012
|
-
socialBarProps:
|
|
6012
|
+
socialBarProps: d,
|
|
6013
6013
|
...b
|
|
6014
6014
|
} = s;
|
|
6015
|
-
let g = "xxs-3",
|
|
6015
|
+
let g = "xxs-3", x = {
|
|
6016
6016
|
defaultFormat: "58x58",
|
|
6017
6017
|
formats: ["58x58", "51x51"],
|
|
6018
6018
|
sizes: "(min-width: 768px) 58px, 51px",
|
|
@@ -6023,7 +6023,7 @@ const xl = ({
|
|
|
6023
6023
|
g = {
|
|
6024
6024
|
xs: "xxs-2",
|
|
6025
6025
|
md: "xs"
|
|
6026
|
-
},
|
|
6026
|
+
}, x = {
|
|
6027
6027
|
defaultFormat: "100x100",
|
|
6028
6028
|
formats: ["100x100", "51x51"],
|
|
6029
6029
|
sizes: "(min-width: 768px) 100px, 51px",
|
|
@@ -6031,7 +6031,7 @@ const xl = ({
|
|
|
6031
6031
|
};
|
|
6032
6032
|
break;
|
|
6033
6033
|
case "overviewBar":
|
|
6034
|
-
|
|
6034
|
+
x = {
|
|
6035
6035
|
defaultFormat: "45x45",
|
|
6036
6036
|
formats: ["51x51", "45x45"],
|
|
6037
6037
|
sizes: "(min-width: 768px) 51px, 45px",
|
|
@@ -6043,7 +6043,7 @@ const xl = ({
|
|
|
6043
6043
|
fileName: f0,
|
|
6044
6044
|
lineNumber: 64,
|
|
6045
6045
|
columnNumber: 5
|
|
6046
|
-
} }, r && /* @__PURE__ */ e.createElement(Y, { ...r, ...
|
|
6046
|
+
} }, r && /* @__PURE__ */ e.createElement(Y, { ...r, ...x, alt: n, radius: "xxl", caption: void 0, __self: void 0, __source: {
|
|
6047
6047
|
fileName: f0,
|
|
6048
6048
|
lineNumber: 73,
|
|
6049
6049
|
columnNumber: 9
|
|
@@ -6058,7 +6058,7 @@ const xl = ({
|
|
|
6058
6058
|
} }, m.headline.text), /* @__PURE__ */ e.createElement(J, { as: "h3", size: t === "overviewBar" ? {
|
|
6059
6059
|
xs: "xxs-4",
|
|
6060
6060
|
md: "xxs-3"
|
|
6061
|
-
} : g, fontFamily: "source-serif-pro", weight: "semi-bold", pb: void 0, cartridgeIsCentered: !0, ...c, className:
|
|
6061
|
+
} : g, fontFamily: "source-serif-pro", weight: "semi-bold", pb: void 0, cartridgeIsCentered: !0, ...c, className: f("c-card-overview__title", c == null ? void 0 : c.className), __self: void 0, __source: {
|
|
6062
6062
|
fileName: f0,
|
|
6063
6063
|
lineNumber: 92,
|
|
6064
6064
|
columnNumber: 9
|
|
@@ -6068,7 +6068,7 @@ const xl = ({
|
|
|
6068
6068
|
columnNumber: 11
|
|
6069
6069
|
} }, n))));
|
|
6070
6070
|
};
|
|
6071
|
-
var b0 = "/codebuild/output/
|
|
6071
|
+
var b0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardProduct/CardProduct.tsx";
|
|
6072
6072
|
const F2 = ({
|
|
6073
6073
|
link: l,
|
|
6074
6074
|
cardImageProps: r,
|
|
@@ -6111,7 +6111,7 @@ const F2 = ({
|
|
|
6111
6111
|
columnNumber: 9
|
|
6112
6112
|
} }, c)));
|
|
6113
6113
|
};
|
|
6114
|
-
var ge = "/codebuild/output/
|
|
6114
|
+
var ge = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardSideImage/CardSideImage.tsx";
|
|
6115
6115
|
const tr = ({
|
|
6116
6116
|
link: l,
|
|
6117
6117
|
title: r,
|
|
@@ -6123,11 +6123,11 @@ const tr = ({
|
|
|
6123
6123
|
...i
|
|
6124
6124
|
}) => {
|
|
6125
6125
|
const u = ["480x308", "346x222"];
|
|
6126
|
-
return /* @__PURE__ */ e.createElement(ie, { ...i, direction: "row", clickable: !0, gap: "xl", className:
|
|
6126
|
+
return /* @__PURE__ */ e.createElement(ie, { ...i, direction: "row", clickable: !0, gap: "xl", className: f("o-lt-show", i.className), __self: void 0, __source: {
|
|
6127
6127
|
fileName: ge,
|
|
6128
6128
|
lineNumber: 37,
|
|
6129
6129
|
columnNumber: 5
|
|
6130
|
-
} }, /* @__PURE__ */ e.createElement(h, { className:
|
|
6130
|
+
} }, /* @__PURE__ */ e.createElement(h, { className: f("o-lt-show__main"), __self: void 0, __source: {
|
|
6131
6131
|
fileName: ge,
|
|
6132
6132
|
lineNumber: 44,
|
|
6133
6133
|
columnNumber: 7
|
|
@@ -6135,7 +6135,7 @@ const tr = ({
|
|
|
6135
6135
|
fileName: ge,
|
|
6136
6136
|
lineNumber: 46,
|
|
6137
6137
|
columnNumber: 11
|
|
6138
|
-
} })), /* @__PURE__ */ e.createElement(_, { direction: "column", justifyContent: "between", className:
|
|
6138
|
+
} })), /* @__PURE__ */ e.createElement(_, { direction: "column", justifyContent: "between", className: f("o-lt-show__aside"), __self: void 0, __source: {
|
|
6139
6139
|
fileName: ge,
|
|
6140
6140
|
lineNumber: 55,
|
|
6141
6141
|
columnNumber: 7
|
|
@@ -6169,7 +6169,7 @@ const tr = ({
|
|
|
6169
6169
|
columnNumber: 11
|
|
6170
6170
|
} }))));
|
|
6171
6171
|
};
|
|
6172
|
-
var a0 = "/codebuild/output/
|
|
6172
|
+
var a0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardSmall/CardSmall.tsx";
|
|
6173
6173
|
const pl = ({
|
|
6174
6174
|
link: l,
|
|
6175
6175
|
title: r,
|
|
@@ -6183,10 +6183,10 @@ const pl = ({
|
|
|
6183
6183
|
}) => {
|
|
6184
6184
|
const {
|
|
6185
6185
|
cardFooterProps: N,
|
|
6186
|
-
signatureProps:
|
|
6186
|
+
signatureProps: d,
|
|
6187
6187
|
socialBarProps: b,
|
|
6188
6188
|
...g
|
|
6189
|
-
} = u,
|
|
6189
|
+
} = u, x = /* @__PURE__ */ e.createElement(e.Fragment, null, n && /* @__PURE__ */ e.createElement(Y, { sizes: "(min-width: 480px) 252px, 160px", defaultFormat: s === w.DESKTOP ? "252x162" : "160x102", formats: ["252x162", "160x102"], alt: r, mb: i === "title-on-image" ? "0" : "xxs", withShadow: i === "title-on-image", ...n, ...n.caption && {
|
|
6190
6190
|
caption: {
|
|
6191
6191
|
size: s === w.DESKTOP ? "medium" : "small",
|
|
6192
6192
|
...n.caption
|
|
@@ -6199,7 +6199,7 @@ const pl = ({
|
|
|
6199
6199
|
fileName: a0,
|
|
6200
6200
|
lineNumber: 49,
|
|
6201
6201
|
columnNumber: 27
|
|
6202
|
-
} }), /* @__PURE__ */ e.createElement(J, { as: "h4", className:
|
|
6202
|
+
} }), /* @__PURE__ */ e.createElement(J, { as: "h4", className: f("c-card-small__title", {
|
|
6203
6203
|
"c-card-small__title--is-on-image": i === "title-on-image"
|
|
6204
6204
|
}), size: "xxs-2", fontFamily: "source-serif-pro", cartridgeIsCentered: !0, ...c, __self: void 0, __source: {
|
|
6205
6205
|
fileName: a0,
|
|
@@ -6225,9 +6225,9 @@ const pl = ({
|
|
|
6225
6225
|
fileName: a0,
|
|
6226
6226
|
lineNumber: 78,
|
|
6227
6227
|
columnNumber: 9
|
|
6228
|
-
} },
|
|
6228
|
+
} }, x) : x);
|
|
6229
6229
|
};
|
|
6230
|
-
var v0 = "/codebuild/output/
|
|
6230
|
+
var v0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardTiny/CardTiny.tsx";
|
|
6231
6231
|
const j2 = ({
|
|
6232
6232
|
link: l,
|
|
6233
6233
|
title: r,
|
|
@@ -6241,9 +6241,9 @@ const j2 = ({
|
|
|
6241
6241
|
cardFooterProps: i,
|
|
6242
6242
|
signatureProps: u,
|
|
6243
6243
|
socialBarProps: N,
|
|
6244
|
-
...
|
|
6244
|
+
...d
|
|
6245
6245
|
} = t;
|
|
6246
|
-
return /* @__PURE__ */ e.createElement(ie, { ...
|
|
6246
|
+
return /* @__PURE__ */ e.createElement(ie, { ...d, justifyContent: "start", gap: "s", className: f("c-card-tiny", t == null ? void 0 : t.className), clickable: !0, __self: void 0, __source: {
|
|
6247
6247
|
fileName: v0,
|
|
6248
6248
|
lineNumber: 20,
|
|
6249
6249
|
columnNumber: 5
|
|
@@ -6277,13 +6277,13 @@ const j2 = ({
|
|
|
6277
6277
|
columnNumber: 11
|
|
6278
6278
|
} }, r))));
|
|
6279
6279
|
};
|
|
6280
|
-
var K1 = "/codebuild/output/
|
|
6280
|
+
var K1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardVertical/CardVertical.tsx";
|
|
6281
6281
|
const S2 = ({
|
|
6282
6282
|
link: l,
|
|
6283
6283
|
title: r,
|
|
6284
6284
|
cardImageProps: m,
|
|
6285
6285
|
...c
|
|
6286
|
-
}) => /* @__PURE__ */ e.createElement(h, { ...c, as: "a", href: l, className:
|
|
6286
|
+
}) => /* @__PURE__ */ e.createElement(h, { ...c, as: "a", href: l, className: f("c-card-container", "c-card-container--with-opacity-hover", "c-card-container--clickable"), __self: void 0, __source: {
|
|
6287
6287
|
fileName: K1,
|
|
6288
6288
|
lineNumber: 17,
|
|
6289
6289
|
columnNumber: 3
|
|
@@ -6292,7 +6292,7 @@ const S2 = ({
|
|
|
6292
6292
|
lineNumber: 28,
|
|
6293
6293
|
columnNumber: 7
|
|
6294
6294
|
} }));
|
|
6295
|
-
var Ye = "/codebuild/output/
|
|
6295
|
+
var Ye = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardVideo/CardVideo.tsx";
|
|
6296
6296
|
const sr = ({
|
|
6297
6297
|
link: l,
|
|
6298
6298
|
title: r,
|
|
@@ -6303,7 +6303,7 @@ const sr = ({
|
|
|
6303
6303
|
...s
|
|
6304
6304
|
}) => t ? (
|
|
6305
6305
|
// can't use CardContainer here, it's a flex component and it's not the right structure for this card
|
|
6306
|
-
/* @__PURE__ */ e.createElement(h, { as: "article", ...s, className:
|
|
6306
|
+
/* @__PURE__ */ e.createElement(h, { as: "article", ...s, className: f("c-card-container", {
|
|
6307
6307
|
"c-card-container--with-title-opacity-hover": !!l
|
|
6308
6308
|
}), __self: void 0, __source: {
|
|
6309
6309
|
fileName: Ye,
|
|
@@ -6351,14 +6351,14 @@ const sr = ({
|
|
|
6351
6351
|
columnNumber: 11
|
|
6352
6352
|
} })))
|
|
6353
6353
|
) : null;
|
|
6354
|
-
var W1 = "/codebuild/output/
|
|
6354
|
+
var W1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardVideoSmall/CardVideoSmall.tsx";
|
|
6355
6355
|
const $2 = ({
|
|
6356
6356
|
link: l,
|
|
6357
6357
|
title: r,
|
|
6358
6358
|
cardImageProps: m,
|
|
6359
6359
|
layout: c,
|
|
6360
6360
|
...n
|
|
6361
|
-
}) => /* @__PURE__ */ e.createElement(h, { ...n, as: "a", href: l, className:
|
|
6361
|
+
}) => /* @__PURE__ */ e.createElement(h, { ...n, as: "a", href: l, className: f("c-card-container", "c-card-container--with-opacity-hover", "c-card-container--clickable"), __self: void 0, __source: {
|
|
6362
6362
|
fileName: W1,
|
|
6363
6363
|
lineNumber: 25,
|
|
6364
6364
|
columnNumber: 3
|
|
@@ -6367,7 +6367,7 @@ const $2 = ({
|
|
|
6367
6367
|
lineNumber: 36,
|
|
6368
6368
|
columnNumber: 7
|
|
6369
6369
|
} }));
|
|
6370
|
-
var Xe = "/codebuild/output/
|
|
6370
|
+
var Xe = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardWithButton/CardWithButton.tsx";
|
|
6371
6371
|
const ir = ({
|
|
6372
6372
|
title: l,
|
|
6373
6373
|
summaryProps: r,
|
|
@@ -6415,7 +6415,7 @@ const ir = ({
|
|
|
6415
6415
|
lineNumber: 53,
|
|
6416
6416
|
columnNumber: 5
|
|
6417
6417
|
} }, n.children));
|
|
6418
|
-
var ke = "/codebuild/output/
|
|
6418
|
+
var ke = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Card/Templates/CardWithSummary/CardWithSummary.tsx";
|
|
6419
6419
|
const ur = ({
|
|
6420
6420
|
link: l,
|
|
6421
6421
|
title: r,
|
|
@@ -6429,7 +6429,7 @@ const ur = ({
|
|
|
6429
6429
|
}) => {
|
|
6430
6430
|
const {
|
|
6431
6431
|
cardFooterProps: N,
|
|
6432
|
-
signatureProps:
|
|
6432
|
+
signatureProps: d,
|
|
6433
6433
|
...b
|
|
6434
6434
|
} = u;
|
|
6435
6435
|
return /* @__PURE__ */ e.createElement(ie, { ...b, direction: "column", className: "c-card-with-summary", clickable: !0, __self: void 0, __source: {
|
|
@@ -6476,13 +6476,13 @@ const ur = ({
|
|
|
6476
6476
|
fileName: ke,
|
|
6477
6477
|
lineNumber: 54,
|
|
6478
6478
|
columnNumber: 13
|
|
6479
|
-
} }))), s && /* @__PURE__ */ e.createElement(p0, { ...s, variant: "card", className:
|
|
6479
|
+
} }))), s && /* @__PURE__ */ e.createElement(p0, { ...s, variant: "card", className: f("c-card-element--is-clickable", "c-card-with-summary__social-bar"), __self: void 0, __source: {
|
|
6480
6480
|
fileName: ke,
|
|
6481
6481
|
lineNumber: 68,
|
|
6482
6482
|
columnNumber: 9
|
|
6483
6483
|
} }));
|
|
6484
6484
|
};
|
|
6485
|
-
var _e = "/codebuild/output/
|
|
6485
|
+
var _e = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Carousel/Carousel.tsx";
|
|
6486
6486
|
const B2 = ({
|
|
6487
6487
|
articles: l,
|
|
6488
6488
|
layout: r,
|
|
@@ -6494,11 +6494,11 @@ const B2 = ({
|
|
|
6494
6494
|
sliderProps: i,
|
|
6495
6495
|
themeColor: u,
|
|
6496
6496
|
titleUnderlined: N = !0,
|
|
6497
|
-
isSponsored:
|
|
6497
|
+
isSponsored: d,
|
|
6498
6498
|
seeMoreLink: b,
|
|
6499
6499
|
...g
|
|
6500
6500
|
}) => {
|
|
6501
|
-
const
|
|
6501
|
+
const x = (y) => {
|
|
6502
6502
|
switch (i == null ? void 0 : i.sliderVariant) {
|
|
6503
6503
|
case "videos":
|
|
6504
6504
|
return /* @__PURE__ */ e.createElement($2, { ...y, __self: void 0, __source: {
|
|
@@ -6516,7 +6516,7 @@ const B2 = ({
|
|
|
6516
6516
|
default:
|
|
6517
6517
|
return /* @__PURE__ */ e.createElement(pl, { ...y, layout: r, ...y.cardHeaderProps && {
|
|
6518
6518
|
cardHeaderProps: {
|
|
6519
|
-
...
|
|
6519
|
+
...d && {
|
|
6520
6520
|
color: "grey-500"
|
|
6521
6521
|
},
|
|
6522
6522
|
...y.cardHeaderProps
|
|
@@ -6524,7 +6524,7 @@ const B2 = ({
|
|
|
6524
6524
|
}, cardTitleProps: {
|
|
6525
6525
|
weight: "semi-bold",
|
|
6526
6526
|
maxRows: 5,
|
|
6527
|
-
...
|
|
6527
|
+
...d && {
|
|
6528
6528
|
color: "grey-900"
|
|
6529
6529
|
},
|
|
6530
6530
|
...y.cardTitleProps
|
|
@@ -6539,14 +6539,14 @@ const B2 = ({
|
|
|
6539
6539
|
columnNumber: 11
|
|
6540
6540
|
} });
|
|
6541
6541
|
}
|
|
6542
|
-
}, M = /* @__PURE__ */ e.createElement(wl, { label: m || "", mb: t && "0" || (!N ||
|
|
6542
|
+
}, M = /* @__PURE__ */ e.createElement(wl, { label: m || "", mb: t && "0" || (!N || d) && "m" || "xxl", labelLink: n, themeColor: u, isUnderlined: N, ...d && {
|
|
6543
6543
|
color: "grey-900"
|
|
6544
6544
|
}, ...s, __self: void 0, __source: {
|
|
6545
6545
|
fileName: _e,
|
|
6546
6546
|
lineNumber: 92,
|
|
6547
6547
|
columnNumber: 5
|
|
6548
6548
|
} });
|
|
6549
|
-
return l.length > 0 ? /* @__PURE__ */ e.createElement(h, { as: "section", ...g, className:
|
|
6549
|
+
return l.length > 0 ? /* @__PURE__ */ e.createElement(h, { as: "section", ...g, className: f("c-carousel", g == null ? void 0 : g.className), bg: d ? "sponsoring" : void 0, py: d ? "m" : void 0, __self: void 0, __source: {
|
|
6550
6550
|
fileName: _e,
|
|
6551
6551
|
lineNumber: 104,
|
|
6552
6552
|
columnNumber: 5
|
|
@@ -6573,7 +6573,7 @@ const B2 = ({
|
|
|
6573
6573
|
fileName: _e,
|
|
6574
6574
|
lineNumber: 123,
|
|
6575
6575
|
columnNumber: 11
|
|
6576
|
-
} })),
|
|
6576
|
+
} })), d && /* @__PURE__ */ e.createElement(v, { as: h, size: "xs", color: "grey-900", mb: "xs", __self: void 0, __source: {
|
|
6577
6577
|
fileName: _e,
|
|
6578
6578
|
lineNumber: 127,
|
|
6579
6579
|
columnNumber: 9
|
|
@@ -6585,14 +6585,14 @@ const B2 = ({
|
|
|
6585
6585
|
fileName: _e,
|
|
6586
6586
|
lineNumber: 136,
|
|
6587
6587
|
columnNumber: 7
|
|
6588
|
-
} }, l.map((y) => /* @__PURE__ */ e.createElement(D, { as: "article", key: y.title, grow: 0, shrink: 0, align: "start", className:
|
|
6588
|
+
} }, l.map((y) => /* @__PURE__ */ e.createElement(D, { as: "article", key: y.title, grow: 0, shrink: 0, align: "start", className: f(`c-carousel__${i != null && i.sliderVariant && ["videos", "vertical-cards", "sport", "movies"].includes(i == null ? void 0 : i.sliderVariant) ? i == null ? void 0 : i.sliderVariant : "article"}`, {
|
|
6589
6589
|
[`c-carousel__${i != null && i.sliderVariant && ["videos", "vertical-cards", "movies"].includes(i == null ? void 0 : i.sliderVariant) ? i == null ? void 0 : i.sliderVariant : "article"}--in-long-list`]: (i == null ? void 0 : i.sliderVariant) !== "sport" && l.length > 4,
|
|
6590
6590
|
"c-carousel__sport--in-long-list": (i == null ? void 0 : i.sliderVariant) === "sport" && l.length > 5
|
|
6591
6591
|
}), __self: void 0, __source: {
|
|
6592
6592
|
fileName: _e,
|
|
6593
6593
|
lineNumber: 143,
|
|
6594
6594
|
columnNumber: 11
|
|
6595
|
-
} },
|
|
6595
|
+
} }, x(y)))), b && /* @__PURE__ */ e.createElement(_, { justifyContent: "center", mt: "xl", __self: void 0, __source: {
|
|
6596
6596
|
fileName: _e,
|
|
6597
6597
|
lineNumber: 164,
|
|
6598
6598
|
columnNumber: 9
|
|
@@ -6602,7 +6602,7 @@ const B2 = ({
|
|
|
6602
6602
|
columnNumber: 11
|
|
6603
6603
|
} }))) : null;
|
|
6604
6604
|
};
|
|
6605
|
-
var ze = "/codebuild/output/
|
|
6605
|
+
var ze = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Chart/HalfDonut/HalfDonut.tsx";
|
|
6606
6606
|
const L2 = (l, r, m, c) => {
|
|
6607
6607
|
const n = l * Math.cos(2 * Math.PI * r), t = l * Math.sin(2 * Math.PI * r);
|
|
6608
6608
|
return {
|
|
@@ -6617,10 +6617,10 @@ const L2 = (l, r, m, c) => {
|
|
|
6617
6617
|
c += u;
|
|
6618
6618
|
const {
|
|
6619
6619
|
pathDescription: N,
|
|
6620
|
-
lx:
|
|
6620
|
+
lx: d,
|
|
6621
6621
|
ly: b
|
|
6622
6622
|
} = L2(r, c / 2, n, t);
|
|
6623
|
-
n =
|
|
6623
|
+
n = d, t = b;
|
|
6624
6624
|
const g = /* @__PURE__ */ e.createElement("path", { key: i.politicalParty.color, className: `c-half-donut__zone c-half-donut__zone--${i.politicalParty.color}`, d: N, __self: void 0, __source: {
|
|
6625
6625
|
fileName: ze,
|
|
6626
6626
|
lineNumber: 41,
|
|
@@ -6679,7 +6679,7 @@ const L2 = (l, r, m, c) => {
|
|
|
6679
6679
|
columnNumber: 7
|
|
6680
6680
|
} }));
|
|
6681
6681
|
};
|
|
6682
|
-
var C0 = "/codebuild/output/
|
|
6682
|
+
var C0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Citation/Citation.tsx";
|
|
6683
6683
|
const Nr = ({
|
|
6684
6684
|
citationText: l,
|
|
6685
6685
|
citationAuthor: r,
|
|
@@ -6708,7 +6708,7 @@ const Nr = ({
|
|
|
6708
6708
|
lineNumber: 31,
|
|
6709
6709
|
columnNumber: 7
|
|
6710
6710
|
} }, r));
|
|
6711
|
-
var Je = "/codebuild/output/
|
|
6711
|
+
var Je = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Collapse/Collapse.tsx";
|
|
6712
6712
|
const e1 = W(({
|
|
6713
6713
|
index: l,
|
|
6714
6714
|
textTitleProps: r,
|
|
@@ -6720,10 +6720,10 @@ const e1 = W(({
|
|
|
6720
6720
|
iconProps: i,
|
|
6721
6721
|
btnProps: u,
|
|
6722
6722
|
children: N,
|
|
6723
|
-
isDropdown:
|
|
6723
|
+
isDropdown: d,
|
|
6724
6724
|
...b
|
|
6725
6725
|
}, g) => {
|
|
6726
|
-
const
|
|
6726
|
+
const x = () => m ? /* @__PURE__ */ e.createElement(H, { as: "h3", size: "xxs", color: "black", ...m, __self: void 0, __source: {
|
|
6727
6727
|
fileName: Je,
|
|
6728
6728
|
lineNumber: 52,
|
|
6729
6729
|
columnNumber: 11
|
|
@@ -6732,13 +6732,13 @@ const e1 = W(({
|
|
|
6732
6732
|
lineNumber: 59,
|
|
6733
6733
|
columnNumber: 9
|
|
6734
6734
|
} }, r && r.children);
|
|
6735
|
-
return /* @__PURE__ */ e.createElement(h, { ...b, className:
|
|
6736
|
-
"c-collapse--dropdown":
|
|
6735
|
+
return /* @__PURE__ */ e.createElement(h, { ...b, className: f("c-collapse js-collapse", {
|
|
6736
|
+
"c-collapse--dropdown": d
|
|
6737
6737
|
}), ref: g, __self: void 0, __source: {
|
|
6738
6738
|
fileName: Je,
|
|
6739
6739
|
lineNumber: 66,
|
|
6740
6740
|
columnNumber: 7
|
|
6741
|
-
} }, /* @__PURE__ */ e.createElement(h, { ...u, as: "button", type: "button", id: `c-collapse__button-${l}`, pl: (u == null ? void 0 : u.pl) || "l", py: (u == null ? void 0 : u.py) || "xxs", className:
|
|
6741
|
+
} }, /* @__PURE__ */ e.createElement(h, { ...u, as: "button", type: "button", id: `c-collapse__button-${l}`, pl: (u == null ? void 0 : u.pl) || "l", py: (u == null ? void 0 : u.py) || "xxs", className: f("c-collapse__button js-collapse__button", u == null ? void 0 : u.className), "aria-controls": `c-collapse__content-${l}`, "aria-expanded": n || "false", __self: void 0, __source: {
|
|
6742
6742
|
fileName: Je,
|
|
6743
6743
|
lineNumber: 71,
|
|
6744
6744
|
columnNumber: 9
|
|
@@ -6750,11 +6750,11 @@ const e1 = W(({
|
|
|
6750
6750
|
fileName: Je,
|
|
6751
6751
|
lineNumber: 84,
|
|
6752
6752
|
columnNumber: 15
|
|
6753
|
-
} }), r && r.children) :
|
|
6753
|
+
} }), r && r.children) : x(), /* @__PURE__ */ e.createElement(E, { name: "chevron", size: 16, ...i, className: f("c-collapse__icon", i == null ? void 0 : i.className), __self: void 0, __source: {
|
|
6754
6754
|
fileName: Je,
|
|
6755
6755
|
lineNumber: 90,
|
|
6756
6756
|
columnNumber: 11
|
|
6757
|
-
} })), /* @__PURE__ */ e.createElement(_, { ...s, direction: "column", p: (s == null ? void 0 : s.p) || "xl", id: `c-collapse__content-${l}`, "aria-hidden": n ? !n : "true", "aria-labelledby": `c-collapse__button-${l}`, className:
|
|
6757
|
+
} })), /* @__PURE__ */ e.createElement(_, { ...s, direction: "column", p: (s == null ? void 0 : s.p) || "xl", id: `c-collapse__content-${l}`, "aria-hidden": n ? !n : "true", "aria-labelledby": `c-collapse__button-${l}`, className: f("c-collapse__content", {
|
|
6758
6758
|
"c-collapse__content--with-border": t
|
|
6759
6759
|
}), role: "tabpanel", __self: void 0, __source: {
|
|
6760
6760
|
fileName: Je,
|
|
@@ -6762,7 +6762,7 @@ const e1 = W(({
|
|
|
6762
6762
|
columnNumber: 9
|
|
6763
6763
|
} }, N));
|
|
6764
6764
|
});
|
|
6765
|
-
var U1 = "/codebuild/output/
|
|
6765
|
+
var U1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Comment/Comment.tsx";
|
|
6766
6766
|
const dr = ({
|
|
6767
6767
|
enableComment: l,
|
|
6768
6768
|
lazyLoad: r = {
|
|
@@ -6778,7 +6778,7 @@ const dr = ({
|
|
|
6778
6778
|
lineNumber: 27,
|
|
6779
6779
|
columnNumber: 7
|
|
6780
6780
|
} })) : null;
|
|
6781
|
-
var H2 = "/codebuild/output/
|
|
6781
|
+
var H2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Comment/CommentButton.tsx";
|
|
6782
6782
|
const fr = ({
|
|
6783
6783
|
enableComment: l,
|
|
6784
6784
|
commentNumber: r = 0,
|
|
@@ -6791,7 +6791,7 @@ const fr = ({
|
|
|
6791
6791
|
lineNumber: 23,
|
|
6792
6792
|
columnNumber: 5
|
|
6793
6793
|
} }) : null;
|
|
6794
|
-
var Qe = "/codebuild/output/
|
|
6794
|
+
var Qe = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Comment/CommentCount.tsx";
|
|
6795
6795
|
const br = ({
|
|
6796
6796
|
commentNumber: l,
|
|
6797
6797
|
layout: r
|
|
@@ -6828,7 +6828,7 @@ const br = ({
|
|
|
6828
6828
|
lineNumber: 25,
|
|
6829
6829
|
columnNumber: 7
|
|
6830
6830
|
} }, `${l} ${l > 1 ? "commentaires" : "commentaire"}`));
|
|
6831
|
-
var k0 = "/codebuild/output/
|
|
6831
|
+
var k0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Countdown/CountdownItem/CountdownItem.tsx";
|
|
6832
6832
|
const K0 = ({
|
|
6833
6833
|
title: l,
|
|
6834
6834
|
classItem: r,
|
|
@@ -6860,7 +6860,7 @@ const K0 = ({
|
|
|
6860
6860
|
lineNumber: 39,
|
|
6861
6861
|
columnNumber: 9
|
|
6862
6862
|
} })));
|
|
6863
|
-
var xe = "/codebuild/output/
|
|
6863
|
+
var xe = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Countdown/Countdown.tsx";
|
|
6864
6864
|
const G1 = ({
|
|
6865
6865
|
layout: l,
|
|
6866
6866
|
title: r,
|
|
@@ -6930,7 +6930,7 @@ const G1 = ({
|
|
|
6930
6930
|
lineNumber: 48,
|
|
6931
6931
|
columnNumber: 7
|
|
6932
6932
|
} })));
|
|
6933
|
-
var Y1 = "/codebuild/output/
|
|
6933
|
+
var Y1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/DarkModeSwitch/DarkModeSwitch.tsx";
|
|
6934
6934
|
const vr = ({
|
|
6935
6935
|
label: l,
|
|
6936
6936
|
icon: r = {
|
|
@@ -6947,7 +6947,7 @@ const vr = ({
|
|
|
6947
6947
|
lineNumber: 14,
|
|
6948
6948
|
columnNumber: 3
|
|
6949
6949
|
} });
|
|
6950
|
-
var Pe = "/codebuild/output/
|
|
6950
|
+
var Pe = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/DiscoverList/DiscoverList.tsx";
|
|
6951
6951
|
const hr = ({
|
|
6952
6952
|
topics: l,
|
|
6953
6953
|
...r
|
|
@@ -6989,7 +6989,7 @@ const hr = ({
|
|
|
6989
6989
|
columnNumber: 13
|
|
6990
6990
|
} }, m.label));
|
|
6991
6991
|
})));
|
|
6992
|
-
var Q = "/codebuild/output/
|
|
6992
|
+
var Q = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/ErrorContent/ErrorContent.tsx";
|
|
6993
6993
|
const gr = ({
|
|
6994
6994
|
statusCode: l = "404",
|
|
6995
6995
|
enableGoogleSearch: r
|
|
@@ -7061,11 +7061,11 @@ const gr = ({
|
|
|
7061
7061
|
columnNumber: 7
|
|
7062
7062
|
} }, "Retour page d’accueil"));
|
|
7063
7063
|
};
|
|
7064
|
-
var h1 = "/codebuild/output/
|
|
7064
|
+
var h1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Events/ElectionsPromoBanner/ElectionsPromoBanner.tsx";
|
|
7065
7065
|
const xr = ({
|
|
7066
7066
|
link: l,
|
|
7067
7067
|
...r
|
|
7068
|
-
}) => /* @__PURE__ */ e.createElement(h, { as: "a", ...r, className:
|
|
7068
|
+
}) => /* @__PURE__ */ e.createElement(h, { as: "a", ...r, className: f("c-elections-promo-banner", r == null ? void 0 : r.className), href: l, bg: "ultramarine", color: "white", __self: void 0, __source: {
|
|
7069
7069
|
fileName: h1,
|
|
7070
7070
|
lineNumber: 13,
|
|
7071
7071
|
columnNumber: 3
|
|
@@ -7078,7 +7078,7 @@ const xr = ({
|
|
|
7078
7078
|
lineNumber: 24,
|
|
7079
7079
|
columnNumber: 5
|
|
7080
7080
|
} }, "Voir tous les résultats"));
|
|
7081
|
-
var Ie = "/codebuild/output/
|
|
7081
|
+
var Ie = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Expandable/Expandable.tsx";
|
|
7082
7082
|
const Z2 = ({
|
|
7083
7083
|
visibleItems: l,
|
|
7084
7084
|
heading: r,
|
|
@@ -7088,7 +7088,7 @@ const Z2 = ({
|
|
|
7088
7088
|
buttonProps: t,
|
|
7089
7089
|
link: s,
|
|
7090
7090
|
...i
|
|
7091
|
-
}) => n.length === 0 ? null : /* @__PURE__ */ e.createElement(h, { as: "section", p: "xl", ...i, className:
|
|
7091
|
+
}) => n.length === 0 ? null : /* @__PURE__ */ e.createElement(h, { as: "section", p: "xl", ...i, className: f("c-expandable", i.className), bg: i.bg ?? "grey-100", __self: void 0, __source: {
|
|
7092
7092
|
fileName: Ie,
|
|
7093
7093
|
lineNumber: 42,
|
|
7094
7094
|
columnNumber: 5
|
|
@@ -7135,7 +7135,7 @@ const Z2 = ({
|
|
|
7135
7135
|
lineNumber: 80,
|
|
7136
7136
|
columnNumber: 11
|
|
7137
7137
|
} })));
|
|
7138
|
-
var F0 = "/codebuild/output/
|
|
7138
|
+
var F0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Header/HeaderBanner/HeaderBanner.tsx";
|
|
7139
7139
|
const pr = ({
|
|
7140
7140
|
title: l,
|
|
7141
7141
|
subtitle: r,
|
|
@@ -7164,7 +7164,7 @@ const pr = ({
|
|
|
7164
7164
|
lineNumber: 23,
|
|
7165
7165
|
columnNumber: 7
|
|
7166
7166
|
} }, l)));
|
|
7167
|
-
var se = "/codebuild/output/
|
|
7167
|
+
var se = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Header/HeaderMini/HeaderMini.tsx";
|
|
7168
7168
|
const T2 = {
|
|
7169
7169
|
logo: [90, 22],
|
|
7170
7170
|
"logo-tempo": [78, 24],
|
|
@@ -7183,7 +7183,7 @@ const T2 = {
|
|
|
7183
7183
|
_,
|
|
7184
7184
|
{
|
|
7185
7185
|
...i,
|
|
7186
|
-
className:
|
|
7186
|
+
className: f("c-header-mini", {
|
|
7187
7187
|
"c-header-mini--is-hidden": t
|
|
7188
7188
|
}),
|
|
7189
7189
|
alignItems: "center",
|
|
@@ -7253,7 +7253,7 @@ const T2 = {
|
|
|
7253
7253
|
columnNumber: 7
|
|
7254
7254
|
} }))
|
|
7255
7255
|
);
|
|
7256
|
-
var T = "/codebuild/output/
|
|
7256
|
+
var T = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Header/HeaderPage/HeaderPage.tsx";
|
|
7257
7257
|
const wr = ({
|
|
7258
7258
|
layout: l,
|
|
7259
7259
|
heading: r,
|
|
@@ -7265,14 +7265,14 @@ const wr = ({
|
|
|
7265
7265
|
contentProps: i,
|
|
7266
7266
|
countdownProps: u,
|
|
7267
7267
|
labelProps: N,
|
|
7268
|
-
hasPrintButton:
|
|
7268
|
+
hasPrintButton: d,
|
|
7269
7269
|
variant: b = "default",
|
|
7270
7270
|
...g
|
|
7271
7271
|
}) => {
|
|
7272
7272
|
var $;
|
|
7273
7273
|
if (!r)
|
|
7274
7274
|
return null;
|
|
7275
|
-
const
|
|
7275
|
+
const x = /* @__PURE__ */ e.createElement($1, { ...r, ...(($ = r.iconProps) == null ? void 0 : $.name) && {
|
|
7276
7276
|
iconProps: {
|
|
7277
7277
|
mr: {
|
|
7278
7278
|
xs: "xxs",
|
|
@@ -7344,7 +7344,7 @@ const wr = ({
|
|
|
7344
7344
|
fileName: T,
|
|
7345
7345
|
lineNumber: 132,
|
|
7346
7346
|
columnNumber: 9
|
|
7347
|
-
} }),
|
|
7347
|
+
} }), x, m, u && /* @__PURE__ */ e.createElement(G1, { mx: {
|
|
7348
7348
|
xs: "m",
|
|
7349
7349
|
md: "0"
|
|
7350
7350
|
}, my: {
|
|
@@ -7384,7 +7384,7 @@ const wr = ({
|
|
|
7384
7384
|
fileName: T,
|
|
7385
7385
|
lineNumber: 167,
|
|
7386
7386
|
columnNumber: 15
|
|
7387
|
-
} },
|
|
7387
|
+
} }, x), !!m && /* @__PURE__ */ e.createElement(D, { basis: "auto", shrink: 0, __self: void 0, __source: {
|
|
7388
7388
|
fileName: T,
|
|
7389
7389
|
lineNumber: 169,
|
|
7390
7390
|
columnNumber: 17
|
|
@@ -7392,7 +7392,7 @@ const wr = ({
|
|
|
7392
7392
|
fileName: T,
|
|
7393
7393
|
lineNumber: 175,
|
|
7394
7394
|
columnNumber: 17
|
|
7395
|
-
} })) :
|
|
7395
|
+
} })) : x, u && /* @__PURE__ */ e.createElement(G1, { mx: {
|
|
7396
7396
|
xs: "m",
|
|
7397
7397
|
md: "0"
|
|
7398
7398
|
}, my: {
|
|
@@ -7402,7 +7402,7 @@ const wr = ({
|
|
|
7402
7402
|
fileName: T,
|
|
7403
7403
|
lineNumber: 188,
|
|
7404
7404
|
columnNumber: 13
|
|
7405
|
-
} }), c && M,
|
|
7405
|
+
} }), c && M, d && /* @__PURE__ */ e.createElement(h, { className: "c-header-page__print-button", mx: {
|
|
7406
7406
|
xs: "m",
|
|
7407
7407
|
md: "0"
|
|
7408
7408
|
}, mt: {
|
|
@@ -7423,7 +7423,7 @@ const wr = ({
|
|
|
7423
7423
|
fileName: T,
|
|
7424
7424
|
lineNumber: 210,
|
|
7425
7425
|
columnNumber: 11
|
|
7426
|
-
} }))), /* @__PURE__ */ e.createElement(h, { as: "header", ...g, className:
|
|
7426
|
+
} }))), /* @__PURE__ */ e.createElement(h, { as: "header", ...g, className: f("c-nodeheader", "c-header-page", {
|
|
7427
7427
|
"c-nodeheader--is-expandable": n
|
|
7428
7428
|
}, g == null ? void 0 : g.className), __self: void 0, __source: {
|
|
7429
7429
|
fileName: T,
|
|
@@ -7431,7 +7431,7 @@ const wr = ({
|
|
|
7431
7431
|
columnNumber: 5
|
|
7432
7432
|
} }, y);
|
|
7433
7433
|
};
|
|
7434
|
-
var Fe = "/codebuild/output/
|
|
7434
|
+
var Fe = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Header/HeaderSection/HeaderSection.tsx";
|
|
7435
7435
|
const yr = ({
|
|
7436
7436
|
label: l,
|
|
7437
7437
|
heading: r,
|
|
@@ -7450,7 +7450,7 @@ const yr = ({
|
|
|
7450
7450
|
lineNumber: 38,
|
|
7451
7451
|
columnNumber: 5
|
|
7452
7452
|
} }, m);
|
|
7453
|
-
return /* @__PURE__ */ e.createElement(h, { as: "header", ...i, className:
|
|
7453
|
+
return /* @__PURE__ */ e.createElement(h, { as: "header", ...i, className: f("c-nodeheader", {
|
|
7454
7454
|
"c-nodeheader--is-expandable": n
|
|
7455
7455
|
}, i == null ? void 0 : i.className), __self: void 0, __source: {
|
|
7456
7456
|
fileName: Fe,
|
|
@@ -7514,7 +7514,7 @@ const yr = ({
|
|
|
7514
7514
|
columnNumber: 15
|
|
7515
7515
|
} }, "Voir plus"))));
|
|
7516
7516
|
};
|
|
7517
|
-
var o0 = "/codebuild/output/
|
|
7517
|
+
var o0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Header/HeaderSideModal/HeaderSideModal.tsx";
|
|
7518
7518
|
const zr = ({
|
|
7519
7519
|
modalIconSize: l = [114, 28],
|
|
7520
7520
|
dialogId: r,
|
|
@@ -7566,13 +7566,13 @@ const zr = ({
|
|
|
7566
7566
|
lineNumber: 71,
|
|
7567
7567
|
columnNumber: 5
|
|
7568
7568
|
} }));
|
|
7569
|
-
var g1 = "/codebuild/output/
|
|
7569
|
+
var g1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Header/HeaderTitle/HeaderTitle.tsx";
|
|
7570
7570
|
const $1 = ({
|
|
7571
7571
|
children: l,
|
|
7572
7572
|
iconProps: r,
|
|
7573
7573
|
isCentered: m,
|
|
7574
7574
|
...c
|
|
7575
|
-
}) => /* @__PURE__ */ e.createElement(H, { className:
|
|
7575
|
+
}) => /* @__PURE__ */ e.createElement(H, { className: f("c-header-title", {
|
|
7576
7576
|
"c-header-title--has-icon": !!r,
|
|
7577
7577
|
"c-header-title--has-icon-and-centered": !!r && m
|
|
7578
7578
|
}), fontFamily: "obviously", size: {
|
|
@@ -7591,7 +7591,7 @@ const $1 = ({
|
|
|
7591
7591
|
lineNumber: 28,
|
|
7592
7592
|
columnNumber: 9
|
|
7593
7593
|
} }, l)) : l);
|
|
7594
|
-
var h0 = "/codebuild/output/
|
|
7594
|
+
var h0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Horoscope/HoroscopeContent/HoroscopeContent.tsx";
|
|
7595
7595
|
const Mr = ({
|
|
7596
7596
|
topics: l,
|
|
7597
7597
|
infoBannerProps: r,
|
|
@@ -7621,7 +7621,7 @@ const Mr = ({
|
|
|
7621
7621
|
lineNumber: 31,
|
|
7622
7622
|
columnNumber: 5
|
|
7623
7623
|
} }));
|
|
7624
|
-
var j0 = "/codebuild/output/
|
|
7624
|
+
var j0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Horoscope/HoroscopeTiles/HoroscopeTiles.tsx";
|
|
7625
7625
|
const Cr = ({
|
|
7626
7626
|
horoscopeSignsList: l
|
|
7627
7627
|
}) => /* @__PURE__ */ e.createElement(h, { as: "ul", className: "o-inline", mx: {
|
|
@@ -7652,13 +7652,13 @@ const Cr = ({
|
|
|
7652
7652
|
lineNumber: 22,
|
|
7653
7653
|
columnNumber: 11
|
|
7654
7654
|
} }, r.label)))));
|
|
7655
|
-
var S0 = "/codebuild/output/
|
|
7655
|
+
var S0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Horoscope/HoroscopeTopicCard/HoroscopeTopicCard.tsx";
|
|
7656
7656
|
const I2 = W(({
|
|
7657
7657
|
icon: l,
|
|
7658
7658
|
title: r,
|
|
7659
7659
|
content: m,
|
|
7660
7660
|
...c
|
|
7661
|
-
}, n) => /* @__PURE__ */ e.createElement(h, { ...c, ref: n, className:
|
|
7661
|
+
}, n) => /* @__PURE__ */ e.createElement(h, { ...c, ref: n, className: f("c-horoscope-topic-card", c == null ? void 0 : c.className), __self: void 0, __source: {
|
|
7662
7662
|
fileName: S0,
|
|
7663
7663
|
lineNumber: 16,
|
|
7664
7664
|
columnNumber: 5
|
|
@@ -7679,7 +7679,7 @@ const I2 = W(({
|
|
|
7679
7679
|
lineNumber: 23,
|
|
7680
7680
|
columnNumber: 7
|
|
7681
7681
|
} }, m)));
|
|
7682
|
-
var U = "/codebuild/output/
|
|
7682
|
+
var U = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/ImageSlider/ImageSlider.tsx";
|
|
7683
7683
|
const kr = ({
|
|
7684
7684
|
images: l,
|
|
7685
7685
|
layout: r,
|
|
@@ -7752,7 +7752,7 @@ const kr = ({
|
|
|
7752
7752
|
fileName: U,
|
|
7753
7753
|
lineNumber: 66,
|
|
7754
7754
|
columnNumber: 19
|
|
7755
|
-
} }, n.title), r === w.DESKTOP && c(n.firstButton, n.secondButton))), r === w.MOBILE && c(n.firstButton, n.secondButton)))), Array.from(["previous", "next"], (n) => /* @__PURE__ */ e.createElement(_, { key: n, className:
|
|
7755
|
+
} }, n.title), r === w.DESKTOP && c(n.firstButton, n.secondButton))), r === w.MOBILE && c(n.firstButton, n.secondButton)))), Array.from(["previous", "next"], (n) => /* @__PURE__ */ e.createElement(_, { key: n, className: f(`c-image-slider__button-container c-image-slider__button-container--${n}`), __self: void 0, __source: {
|
|
7756
7756
|
fileName: U,
|
|
7757
7757
|
lineNumber: 79,
|
|
7758
7758
|
columnNumber: 9
|
|
@@ -7775,14 +7775,14 @@ const kr = ({
|
|
|
7775
7775
|
columnNumber: 11
|
|
7776
7776
|
} }))));
|
|
7777
7777
|
};
|
|
7778
|
-
var n0 = "/codebuild/output/
|
|
7778
|
+
var n0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/InfoBanner/InfoBanner.tsx";
|
|
7779
7779
|
const D2 = ({
|
|
7780
7780
|
description: l,
|
|
7781
7781
|
title: r,
|
|
7782
7782
|
link: m,
|
|
7783
7783
|
closeButton: c,
|
|
7784
7784
|
...n
|
|
7785
|
-
}) => /* @__PURE__ */ e.createElement(_, { ...n, className:
|
|
7785
|
+
}) => /* @__PURE__ */ e.createElement(_, { ...n, className: f("c-info-banner", n == null ? void 0 : n.className), color: "black", bg: "grey-100", p: "m", __self: void 0, __source: {
|
|
7786
7786
|
fileName: n0,
|
|
7787
7787
|
lineNumber: 20,
|
|
7788
7788
|
columnNumber: 3
|
|
@@ -7820,7 +7820,7 @@ const D2 = ({
|
|
|
7820
7820
|
lineNumber: 55,
|
|
7821
7821
|
columnNumber: 13
|
|
7822
7822
|
} })))));
|
|
7823
|
-
var g0 = "/codebuild/output/
|
|
7823
|
+
var g0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Legend/Legend.tsx";
|
|
7824
7824
|
const r1 = ({
|
|
7825
7825
|
items: l,
|
|
7826
7826
|
...r
|
|
@@ -7847,7 +7847,7 @@ const r1 = ({
|
|
|
7847
7847
|
fileName: g0,
|
|
7848
7848
|
lineNumber: 26,
|
|
7849
7849
|
columnNumber: 9
|
|
7850
|
-
} }, /* @__PURE__ */ e.createElement(E, { name: "dot", size: 12, mt: "xxs-3", className:
|
|
7850
|
+
} }, /* @__PURE__ */ e.createElement(E, { name: "dot", size: 12, mt: "xxs-3", className: f("c-legend__dot", {
|
|
7851
7851
|
[`c-legend__dot--${c.color}`]: c.color
|
|
7852
7852
|
}), __self: void 0, __source: {
|
|
7853
7853
|
fileName: g0,
|
|
@@ -7863,14 +7863,14 @@ const r1 = ({
|
|
|
7863
7863
|
columnNumber: 15
|
|
7864
7864
|
} }, c.subLegend)) : m(c.name.toUpperCase()))));
|
|
7865
7865
|
};
|
|
7866
|
-
var X1 = "/codebuild/output/
|
|
7866
|
+
var X1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/ListWithDiode/ListWithDiode.tsx";
|
|
7867
7867
|
const El = (l) => e.Children.map(l.children, (r) => {
|
|
7868
7868
|
if (e.isValidElement(r)) {
|
|
7869
7869
|
const {
|
|
7870
7870
|
children: m,
|
|
7871
7871
|
...c
|
|
7872
7872
|
} = r.props;
|
|
7873
|
-
return /* @__PURE__ */ e.createElement(r.type, { ...c, className: r.type === "ul" ?
|
|
7873
|
+
return /* @__PURE__ */ e.createElement(r.type, { ...c, className: r.type === "ul" ? f("list-with-diode", {
|
|
7874
7874
|
[`list-with-diode--${l.color}`]: !!l.color
|
|
7875
7875
|
}) : c == null ? void 0 : c.className, __self: void 0, __source: {
|
|
7876
7876
|
fileName: X1,
|
|
@@ -7887,7 +7887,7 @@ const El = (l) => e.Children.map(l.children, (r) => {
|
|
|
7887
7887
|
}
|
|
7888
7888
|
return r;
|
|
7889
7889
|
}), O2 = (l) => /* @__PURE__ */ e.createElement(e.Fragment, null, El(l));
|
|
7890
|
-
var W0 = "/codebuild/output/
|
|
7890
|
+
var W0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Live/LiveIndicator/LiveIndicator.tsx";
|
|
7891
7891
|
const Fr = ({
|
|
7892
7892
|
variant: l,
|
|
7893
7893
|
isOver: r = !1,
|
|
@@ -7914,7 +7914,7 @@ const Fr = ({
|
|
|
7914
7914
|
lineNumber: 39,
|
|
7915
7915
|
columnNumber: 7
|
|
7916
7916
|
} }, (c == null ? void 0 : c.children) || r && "Terminé" || `Mis à jour ${m}`));
|
|
7917
|
-
var x1 = "/codebuild/output/
|
|
7917
|
+
var x1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Live/LiveQuestion/LiveQuestion.tsx";
|
|
7918
7918
|
const jr = ({
|
|
7919
7919
|
enableLiveQuestion: l,
|
|
7920
7920
|
lazyLoad: r = {
|
|
@@ -7938,7 +7938,7 @@ const jr = ({
|
|
|
7938
7938
|
lineNumber: 24,
|
|
7939
7939
|
columnNumber: 7
|
|
7940
7940
|
} })) : null;
|
|
7941
|
-
var $0 = "/codebuild/output/
|
|
7941
|
+
var $0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Live/LiveTalk/LiveTalk.tsx";
|
|
7942
7942
|
const Sr = ({
|
|
7943
7943
|
question: l,
|
|
7944
7944
|
author: r,
|
|
@@ -7967,7 +7967,7 @@ const Sr = ({
|
|
|
7967
7967
|
lineNumber: 25,
|
|
7968
7968
|
columnNumber: 7
|
|
7969
7969
|
} }, m));
|
|
7970
|
-
var B0 = "/codebuild/output/
|
|
7970
|
+
var B0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Live/LiveTitle/LiveTitle.tsx";
|
|
7971
7971
|
const $r = ({
|
|
7972
7972
|
status: l,
|
|
7973
7973
|
header: r,
|
|
@@ -8005,7 +8005,7 @@ const $r = ({
|
|
|
8005
8005
|
columnNumber: 7
|
|
8006
8006
|
} }, m));
|
|
8007
8007
|
};
|
|
8008
|
-
var p1 = "/codebuild/output/
|
|
8008
|
+
var p1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/LogoutButton/LogoutButton.tsx";
|
|
8009
8009
|
const Br = (l) => /* @__PURE__ */ e.createElement(_, { as: j, color: "black", alignItems: "center", ...l, __self: void 0, __source: {
|
|
8010
8010
|
fileName: p1,
|
|
8011
8011
|
lineNumber: 10,
|
|
@@ -8019,7 +8019,7 @@ const Br = (l) => /* @__PURE__ */ e.createElement(_, { as: j, color: "black", al
|
|
|
8019
8019
|
lineNumber: 12,
|
|
8020
8020
|
columnNumber: 5
|
|
8021
8021
|
} }, "Se déconnecter"));
|
|
8022
|
-
var pe = "/codebuild/output/
|
|
8022
|
+
var pe = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Maps/MapDepartments/MapDepartments.tsx";
|
|
8023
8023
|
const Lr = ({
|
|
8024
8024
|
electionName: l,
|
|
8025
8025
|
electionYear: r,
|
|
@@ -8032,7 +8032,7 @@ const Lr = ({
|
|
|
8032
8032
|
name: u,
|
|
8033
8033
|
color: N
|
|
8034
8034
|
} = i.politicalParty;
|
|
8035
|
-
return s.some((
|
|
8035
|
+
return s.some((d) => d.name === u) || s.push({
|
|
8036
8036
|
name: u,
|
|
8037
8037
|
color: N
|
|
8038
8038
|
}), s;
|
|
@@ -8054,7 +8054,7 @@ const Lr = ({
|
|
|
8054
8054
|
lineNumber: 49,
|
|
8055
8055
|
columnNumber: 9
|
|
8056
8056
|
} }, "Carte des résultats département par département. Cliquez sur un département pour en voir le détail"), Object.entries(c ?? {}).map(([s, i]) => {
|
|
8057
|
-
const u = (
|
|
8057
|
+
const u = (d) => d.numDept === s, N = m.find(u);
|
|
8058
8058
|
return /* @__PURE__ */ e.createElement("g", { key: s, __self: void 0, __source: {
|
|
8059
8059
|
fileName: pe,
|
|
8060
8060
|
lineNumber: 60,
|
|
@@ -8063,7 +8063,7 @@ const Lr = ({
|
|
|
8063
8063
|
fileName: pe,
|
|
8064
8064
|
lineNumber: 61,
|
|
8065
8065
|
columnNumber: 17
|
|
8066
|
-
} }, /* @__PURE__ */ e.createElement("path", { className:
|
|
8066
|
+
} }, /* @__PURE__ */ e.createElement("path", { className: f("c-map-departments__path", {
|
|
8067
8067
|
[`c-map-departments__path--${N == null ? void 0 : N.politicalParty.color}`]: N
|
|
8068
8068
|
}), d: i.path, __self: void 0, __source: {
|
|
8069
8069
|
fileName: pe,
|
|
@@ -8073,7 +8073,7 @@ const Lr = ({
|
|
|
8073
8073
|
fileName: pe,
|
|
8074
8074
|
lineNumber: 73,
|
|
8075
8075
|
columnNumber: 21
|
|
8076
|
-
} }, i.title)), i.path_s && /* @__PURE__ */ e.createElement("path", { className:
|
|
8076
|
+
} }, i.title)), i.path_s && /* @__PURE__ */ e.createElement("path", { className: f("c-map-departments__path", {
|
|
8077
8077
|
[`c-map-departments__path--${N == null ? void 0 : N.politicalParty.color}`]: N
|
|
8078
8078
|
}), d: i.path_s, __self: void 0, __source: {
|
|
8079
8079
|
fileName: pe,
|
|
@@ -8090,7 +8090,7 @@ const Lr = ({
|
|
|
8090
8090
|
columnNumber: 43
|
|
8091
8091
|
} }));
|
|
8092
8092
|
};
|
|
8093
|
-
var ee = "/codebuild/output/
|
|
8093
|
+
var ee = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Maps/MapDistricts/MapDistricts.tsx";
|
|
8094
8094
|
const Vr = ({
|
|
8095
8095
|
electionName: l,
|
|
8096
8096
|
electionYear: r,
|
|
@@ -8098,26 +8098,26 @@ const Vr = ({
|
|
|
8098
8098
|
mapDistrictsData: c,
|
|
8099
8099
|
...n
|
|
8100
8100
|
}) => {
|
|
8101
|
-
const t = ["75", "77", "78", "91", "92", "93", "94", "95"], s = Object.entries(c ?? {}).reduce((u, [N,
|
|
8102
|
-
const b = /* @__PURE__ */ e.createElement("g", { className: "c-map-districts__zoomable", key: N, type: "button", ...
|
|
8103
|
-
"data-info": `${N} - ${
|
|
8101
|
+
const t = ["75", "77", "78", "91", "92", "93", "94", "95"], s = Object.entries(c ?? {}).reduce((u, [N, d]) => {
|
|
8102
|
+
const b = /* @__PURE__ */ e.createElement("g", { className: "c-map-districts__zoomable", key: N, type: "button", ...d.text && !d.text.transform && d.text.label && {
|
|
8103
|
+
"data-info": `${N} - ${d.text.label}`
|
|
8104
8104
|
}, __self: void 0, __source: {
|
|
8105
8105
|
fileName: ee,
|
|
8106
8106
|
lineNumber: 42,
|
|
8107
8107
|
columnNumber: 9
|
|
8108
|
-
} }, Object.entries(
|
|
8108
|
+
} }, Object.entries(d).map(([g, x]) => {
|
|
8109
8109
|
const M = ($) => $.numDistrict === g, y = m.find(M);
|
|
8110
|
-
return g === "text" &&
|
|
8110
|
+
return g === "text" && x.transform ? /* @__PURE__ */ e.createElement("text", { key: g, transform: `matrix(${x.transform})`, className: "c-map-districts__text", __self: void 0, __source: {
|
|
8111
8111
|
fileName: ee,
|
|
8112
8112
|
lineNumber: 59,
|
|
8113
8113
|
columnNumber: 17
|
|
8114
|
-
} },
|
|
8114
|
+
} }, x.label) : /* @__PURE__ */ e.createElement("a", { href: `/elections/resultats${x.url}/?scrutin=${l}&annee=${r}`, target: "_parent", key: g, __self: void 0, __source: {
|
|
8115
8115
|
fileName: ee,
|
|
8116
8116
|
lineNumber: 67,
|
|
8117
8117
|
columnNumber: 17
|
|
8118
|
-
} }, /* @__PURE__ */ e.createElement("path", { id: g, className:
|
|
8118
|
+
} }, /* @__PURE__ */ e.createElement("path", { id: g, className: f("c-map-districts__path", {
|
|
8119
8119
|
[`c-map-districts__path--${y == null ? void 0 : y.politicalParty.color}`]: y
|
|
8120
|
-
}), d:
|
|
8120
|
+
}), d: x.path, __self: void 0, __source: {
|
|
8121
8121
|
fileName: ee,
|
|
8122
8122
|
lineNumber: 72,
|
|
8123
8123
|
columnNumber: 19
|
|
@@ -8125,11 +8125,11 @@ const Vr = ({
|
|
|
8125
8125
|
fileName: ee,
|
|
8126
8126
|
lineNumber: 80,
|
|
8127
8127
|
columnNumber: 21
|
|
8128
|
-
} },
|
|
8128
|
+
} }, x.title), /* @__PURE__ */ e.createElement("desc", { __self: void 0, __source: {
|
|
8129
8129
|
fileName: ee,
|
|
8130
8130
|
lineNumber: 81,
|
|
8131
8131
|
columnNumber: 21
|
|
8132
|
-
} },
|
|
8132
|
+
} }, x.desc)));
|
|
8133
8133
|
}));
|
|
8134
8134
|
return t.includes(N) ? u.idf.push(b) : u.others.push(b), u;
|
|
8135
8135
|
}, {
|
|
@@ -8137,11 +8137,11 @@ const Vr = ({
|
|
|
8137
8137
|
others: []
|
|
8138
8138
|
}), i = m.reduce((u, N) => {
|
|
8139
8139
|
const {
|
|
8140
|
-
name:
|
|
8140
|
+
name: d,
|
|
8141
8141
|
color: b
|
|
8142
8142
|
} = N.politicalParty;
|
|
8143
|
-
return u.some((g) => g.name ===
|
|
8144
|
-
name:
|
|
8143
|
+
return u.some((g) => g.name === d) || u.push({
|
|
8144
|
+
name: d,
|
|
8145
8145
|
color: b
|
|
8146
8146
|
}), u;
|
|
8147
8147
|
}, []);
|
|
@@ -8186,7 +8186,7 @@ const Vr = ({
|
|
|
8186
8186
|
columnNumber: 43
|
|
8187
8187
|
} }));
|
|
8188
8188
|
};
|
|
8189
|
-
var je = "/codebuild/output/
|
|
8189
|
+
var je = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Maps/MapEurope/MapEurope.tsx";
|
|
8190
8190
|
const Hr = ({
|
|
8191
8191
|
electionName: l,
|
|
8192
8192
|
electionYear: r,
|
|
@@ -8198,11 +8198,11 @@ const Hr = ({
|
|
|
8198
8198
|
const s = m.reduce((i, u) => {
|
|
8199
8199
|
const {
|
|
8200
8200
|
name: N,
|
|
8201
|
-
color:
|
|
8201
|
+
color: d
|
|
8202
8202
|
} = u.politicalParty;
|
|
8203
8203
|
return i.some((b) => b.name === N) || i.push({
|
|
8204
8204
|
name: N,
|
|
8205
|
-
color:
|
|
8205
|
+
color: d
|
|
8206
8206
|
}), i;
|
|
8207
8207
|
}, []);
|
|
8208
8208
|
return /* @__PURE__ */ e.createElement(h, { ...t, __self: void 0, __source: {
|
|
@@ -8222,9 +8222,9 @@ const Hr = ({
|
|
|
8222
8222
|
lineNumber: 48,
|
|
8223
8223
|
columnNumber: 9
|
|
8224
8224
|
} }, Object.entries(c ?? {}).map(([i, u]) => {
|
|
8225
|
-
const N = (b) => b.key === i,
|
|
8226
|
-
return /* @__PURE__ */ e.createElement("path", { key: i, d: u.path, className:
|
|
8227
|
-
[`c-map-europe__path--${
|
|
8225
|
+
const N = (b) => b.key === i, d = m.find(N);
|
|
8226
|
+
return /* @__PURE__ */ e.createElement("path", { key: i, d: u.path, className: f("c-map-europe__path", {
|
|
8227
|
+
[`c-map-europe__path--${d == null ? void 0 : d.politicalParty.color}`]: d
|
|
8228
8228
|
}), __self: void 0, __source: {
|
|
8229
8229
|
fileName: je,
|
|
8230
8230
|
lineNumber: 55,
|
|
@@ -8252,7 +8252,7 @@ const Hr = ({
|
|
|
8252
8252
|
columnNumber: 9
|
|
8253
8253
|
} }));
|
|
8254
8254
|
};
|
|
8255
|
-
var J1 = "/codebuild/output/
|
|
8255
|
+
var J1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/MediaLink/MediaLink.tsx";
|
|
8256
8256
|
const Z0 = ({
|
|
8257
8257
|
href: l,
|
|
8258
8258
|
iconProps: r,
|
|
@@ -8264,20 +8264,20 @@ const Z0 = ({
|
|
|
8264
8264
|
}) => /* @__PURE__ */ e.createElement(B, { variant: t, as: "a", href: l, iconProps: {
|
|
8265
8265
|
size: 16,
|
|
8266
8266
|
...r
|
|
8267
|
-
}, title: m, target: c, color: s, className:
|
|
8267
|
+
}, title: m, target: c, color: s, className: f("c-media-link", {
|
|
8268
8268
|
"c-media-link--is-icon": !(n != null && n.children) || (n == null ? void 0 : n.isHiddenUnderBreakpoint)
|
|
8269
8269
|
}), __self: void 0, __source: {
|
|
8270
8270
|
fileName: J1,
|
|
8271
8271
|
lineNumber: 25,
|
|
8272
8272
|
columnNumber: 3
|
|
8273
|
-
} }, n && /* @__PURE__ */ e.createElement(v, { as: "span", whiteSpace: "nowrap", size: n == null ? void 0 : n.size, className:
|
|
8273
|
+
} }, n && /* @__PURE__ */ e.createElement(v, { as: "span", whiteSpace: "nowrap", size: n == null ? void 0 : n.size, className: f("c-media-link__text", {
|
|
8274
8274
|
[`c-media-link__text--is-hidden-under-${n.isHiddenUnderBreakpoint}`]: n == null ? void 0 : n.isHiddenUnderBreakpoint
|
|
8275
8275
|
}), __self: void 0, __source: {
|
|
8276
8276
|
fileName: J1,
|
|
8277
8277
|
lineNumber: 41,
|
|
8278
8278
|
columnNumber: 7
|
|
8279
8279
|
} }, n.children));
|
|
8280
|
-
var F = "/codebuild/output/
|
|
8280
|
+
var F = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Menu/Menu.tsx";
|
|
8281
8281
|
const Zr = ({
|
|
8282
8282
|
categories: l,
|
|
8283
8283
|
tagsActu: r,
|
|
@@ -8286,7 +8286,7 @@ const Zr = ({
|
|
|
8286
8286
|
searchformurl: n = "",
|
|
8287
8287
|
feedbackButtonProps: t,
|
|
8288
8288
|
className: s
|
|
8289
|
-
}) => /* @__PURE__ */ e.createElement(e2, { as: "nav", id: "menu-nav", variant: "left", dialogId: "dialog-menu", className:
|
|
8289
|
+
}) => /* @__PURE__ */ e.createElement(e2, { as: "nav", id: "menu-nav", variant: "left", dialogId: "dialog-menu", className: f("c-menu", s), __self: void 0, __source: {
|
|
8290
8290
|
fileName: F,
|
|
8291
8291
|
lineNumber: 59,
|
|
8292
8292
|
columnNumber: 5
|
|
@@ -8362,11 +8362,12 @@ const Zr = ({
|
|
|
8362
8362
|
columnNumber: 7
|
|
8363
8363
|
} }, r.length > 0 && /* @__PURE__ */ e.createElement(e1, { as: "li", textTitleProps: {
|
|
8364
8364
|
color: "black",
|
|
8365
|
-
children: "
|
|
8365
|
+
children: "À la Une"
|
|
8366
|
+
}, titleIconProps: {
|
|
8367
|
+
name: "home",
|
|
8368
|
+
size: 22
|
|
8366
8369
|
}, index: 0, btnProps: {
|
|
8367
8370
|
color: "black"
|
|
8368
|
-
}, iconProps: {
|
|
8369
|
-
color: "ultramarine"
|
|
8370
8371
|
}, contentProps: {
|
|
8371
8372
|
bg: "grey-100"
|
|
8372
8373
|
}, isOpen: !0, __self: void 0, __source: {
|
|
@@ -8375,40 +8376,40 @@ const Zr = ({
|
|
|
8375
8376
|
columnNumber: 11
|
|
8376
8377
|
} }, /* @__PURE__ */ e.createElement(_, { as: "ul", gap: "xxs", mb: "s", wrap: "wrap", __self: void 0, __source: {
|
|
8377
8378
|
fileName: F,
|
|
8378
|
-
lineNumber:
|
|
8379
|
+
lineNumber: 139,
|
|
8379
8380
|
columnNumber: 13
|
|
8380
8381
|
} }, r.map((u) => /* @__PURE__ */ e.createElement("li", { key: u.href, __self: void 0, __source: {
|
|
8381
8382
|
fileName: F,
|
|
8382
|
-
lineNumber:
|
|
8383
|
+
lineNumber: 141,
|
|
8383
8384
|
columnNumber: 17
|
|
8384
8385
|
} }, /* @__PURE__ */ e.createElement(Re, { key: u.href, href: u.href, variant: "secondary", __self: void 0, __source: {
|
|
8385
8386
|
fileName: F,
|
|
8386
|
-
lineNumber:
|
|
8387
|
+
lineNumber: 142,
|
|
8387
8388
|
columnNumber: 19
|
|
8388
|
-
} }, u.children)))), /* @__PURE__ */ e.createElement(_, { as: j, href: "/
|
|
8389
|
+
} }, u.children)))), /* @__PURE__ */ e.createElement(_, { as: j, href: "/", color: "black", justifyContent: "between", alignItems: "center", mt: "xs", __self: void 0, __source: {
|
|
8389
8390
|
fileName: F,
|
|
8390
|
-
lineNumber:
|
|
8391
|
+
lineNumber: 148,
|
|
8391
8392
|
columnNumber: 13
|
|
8392
8393
|
} }, /* @__PURE__ */ e.createElement(v, { __self: void 0, __source: {
|
|
8393
8394
|
fileName: F,
|
|
8394
|
-
lineNumber:
|
|
8395
|
+
lineNumber: 156,
|
|
8395
8396
|
columnNumber: 15
|
|
8396
8397
|
} }, "Voir toutes les actus"), /* @__PURE__ */ e.createElement(E, { name: "chevron", size: [10, 14], __self: void 0, __source: {
|
|
8397
8398
|
fileName: F,
|
|
8398
|
-
lineNumber:
|
|
8399
|
+
lineNumber: 157,
|
|
8399
8400
|
columnNumber: 15
|
|
8400
8401
|
} }))), l.map((u, N) => {
|
|
8401
|
-
var
|
|
8402
|
+
var d;
|
|
8402
8403
|
return u.links.length > 0 ? /* @__PURE__ */ e.createElement(e1, { as: "li", key: u.categoryLink, textTitleProps: {
|
|
8403
8404
|
as: u.sponsor ? "div" : "p",
|
|
8404
8405
|
color: u.color ?? "black",
|
|
8405
8406
|
children: u.sponsor ? /* @__PURE__ */ e.createElement("div", { __self: void 0, __source: {
|
|
8406
8407
|
fileName: F,
|
|
8407
|
-
lineNumber:
|
|
8408
|
+
lineNumber: 170,
|
|
8408
8409
|
columnNumber: 19
|
|
8409
8410
|
} }, u.name, u.sponsor && /* @__PURE__ */ e.createElement(Oe, { sponsor: u.sponsor, variant: "menu", hasText: !0, gap: "xs", className: "c-menu__sponsor", __self: void 0, __source: {
|
|
8410
8411
|
fileName: F,
|
|
8411
|
-
lineNumber:
|
|
8412
|
+
lineNumber: 173,
|
|
8412
8413
|
columnNumber: 23
|
|
8413
8414
|
} })) : u.name
|
|
8414
8415
|
}, ...u.icon && {
|
|
@@ -8426,19 +8427,19 @@ const Zr = ({
|
|
|
8426
8427
|
} : {}
|
|
8427
8428
|
}, __self: void 0, __source: {
|
|
8428
8429
|
fileName: F,
|
|
8429
|
-
lineNumber:
|
|
8430
|
+
lineNumber: 163,
|
|
8430
8431
|
columnNumber: 13
|
|
8431
8432
|
} }, ((u == null ? void 0 : u.tags) ?? []).length > 0 && /* @__PURE__ */ e.createElement(_, { as: "ul", gap: "xxs", mb: "s", wrap: "wrap", __self: void 0, __source: {
|
|
8432
8433
|
fileName: F,
|
|
8433
|
-
lineNumber:
|
|
8434
|
+
lineNumber: 198,
|
|
8434
8435
|
columnNumber: 17
|
|
8435
|
-
} }, (
|
|
8436
|
+
} }, (d = u.tags) == null ? void 0 : d.map((b) => /* @__PURE__ */ e.createElement("li", { key: b.href, __self: void 0, __source: {
|
|
8436
8437
|
fileName: F,
|
|
8437
|
-
lineNumber:
|
|
8438
|
+
lineNumber: 200,
|
|
8438
8439
|
columnNumber: 21
|
|
8439
8440
|
} }, /* @__PURE__ */ e.createElement(Re, { key: b.href, href: b.href, color: "ultramarine", __self: void 0, __source: {
|
|
8440
8441
|
fileName: F,
|
|
8441
|
-
lineNumber:
|
|
8442
|
+
lineNumber: 201,
|
|
8442
8443
|
columnNumber: 23
|
|
8443
8444
|
} }, b.children)))), u.links.map((b, g) => "name" in b ? /* @__PURE__ */ e.createElement(e1, { as: "li", key: b.name, textTitleProps: {
|
|
8444
8445
|
as: "p",
|
|
@@ -8459,80 +8460,80 @@ const Zr = ({
|
|
|
8459
8460
|
pb: "xs"
|
|
8460
8461
|
}, __self: void 0, __source: {
|
|
8461
8462
|
fileName: F,
|
|
8462
|
-
lineNumber:
|
|
8463
|
+
lineNumber: 211,
|
|
8463
8464
|
columnNumber: 21
|
|
8464
|
-
} }, b.links.map((
|
|
8465
|
+
} }, b.links.map((x, M) => /* @__PURE__ */ e.createElement("li", { key: x.href, __self: void 0, __source: {
|
|
8465
8466
|
fileName: F,
|
|
8466
|
-
lineNumber:
|
|
8467
|
+
lineNumber: 231,
|
|
8467
8468
|
columnNumber: 25
|
|
8468
|
-
} }, /* @__PURE__ */ e.createElement(_, { as: j, href:
|
|
8469
|
+
} }, /* @__PURE__ */ e.createElement(_, { as: j, href: x.href, color: "black", pb: M !== b.links.length - 1 ? "m" : "0", justifyContent: "between", alignItems: "center", __self: void 0, __source: {
|
|
8469
8470
|
fileName: F,
|
|
8470
|
-
lineNumber:
|
|
8471
|
+
lineNumber: 232,
|
|
8471
8472
|
columnNumber: 27
|
|
8472
8473
|
} }, /* @__PURE__ */ e.createElement(v, { size: "xs", __self: void 0, __source: {
|
|
8473
8474
|
fileName: F,
|
|
8474
|
-
lineNumber:
|
|
8475
|
+
lineNumber: 240,
|
|
8475
8476
|
columnNumber: 29
|
|
8476
|
-
} },
|
|
8477
|
+
} }, x.children), /* @__PURE__ */ e.createElement(E, { name: "chevron", size: [10, 14], __self: void 0, __source: {
|
|
8477
8478
|
fileName: F,
|
|
8478
|
-
lineNumber:
|
|
8479
|
+
lineNumber: 241,
|
|
8479
8480
|
columnNumber: 29
|
|
8480
8481
|
} }))))) : /* @__PURE__ */ e.createElement("li", { key: b.href, __self: void 0, __source: {
|
|
8481
8482
|
fileName: F,
|
|
8482
|
-
lineNumber:
|
|
8483
|
+
lineNumber: 250,
|
|
8483
8484
|
columnNumber: 19
|
|
8484
|
-
} }, /* @__PURE__ */ e.createElement(_, { as: j, href: b.href, color: "black", pb: g !== u.links.length - 1 ? "l" : "0", ...u.links && u.links.some((
|
|
8485
|
+
} }, /* @__PURE__ */ e.createElement(_, { as: j, href: b.href, color: "black", pb: g !== u.links.length - 1 ? "l" : "0", ...u.links && u.links.some((x) => "name" in x) && {
|
|
8485
8486
|
pt: "xs",
|
|
8486
8487
|
pb: "xxs"
|
|
8487
8488
|
}, justifyContent: "between", alignItems: "center", __self: void 0, __source: {
|
|
8488
8489
|
fileName: F,
|
|
8489
|
-
lineNumber:
|
|
8490
|
+
lineNumber: 251,
|
|
8490
8491
|
columnNumber: 21
|
|
8491
|
-
} }, /* @__PURE__ */ e.createElement(v, { weight: u.categoryLink === b.href || u.links && u.links.some((
|
|
8492
|
+
} }, /* @__PURE__ */ e.createElement(v, { weight: u.categoryLink === b.href || u.links && u.links.some((x) => "name" in x) ? "semi-bold" : "regular", __self: void 0, __source: {
|
|
8492
8493
|
fileName: F,
|
|
8493
|
-
lineNumber:
|
|
8494
|
+
lineNumber: 261,
|
|
8494
8495
|
columnNumber: 23
|
|
8495
8496
|
} }, b.children), /* @__PURE__ */ e.createElement(E, { name: "chevron", size: [10, 14], __self: void 0, __source: {
|
|
8496
8497
|
fileName: F,
|
|
8497
|
-
lineNumber:
|
|
8498
|
+
lineNumber: 271,
|
|
8498
8499
|
columnNumber: 23
|
|
8499
8500
|
} }))))) : /* @__PURE__ */ e.createElement("li", { key: u.categoryLink, __self: void 0, __source: {
|
|
8500
8501
|
fileName: F,
|
|
8501
|
-
lineNumber:
|
|
8502
|
+
lineNumber: 278,
|
|
8502
8503
|
columnNumber: 13
|
|
8503
8504
|
} }, /* @__PURE__ */ e.createElement(v, { as: j, key: u.categoryLink, href: u.categoryLink, color: "black", className: "c-menu__link", size: "l", weight: "bold", py: "s", pl: "l", __self: void 0, __source: {
|
|
8504
8505
|
fileName: F,
|
|
8505
|
-
lineNumber:
|
|
8506
|
+
lineNumber: 279,
|
|
8506
8507
|
columnNumber: 15
|
|
8507
8508
|
} }, u.icon ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(E, { size: 34, mr: "xs", name: u.icon, __self: void 0, __source: {
|
|
8508
8509
|
fileName: F,
|
|
8509
|
-
lineNumber:
|
|
8510
|
+
lineNumber: 292,
|
|
8510
8511
|
columnNumber: 21
|
|
8511
8512
|
} }), u.name) : u.name));
|
|
8512
8513
|
})), c && /* @__PURE__ */ e.createElement(h, { id: "mbrs-darkmode-container", p: "l", py: "m", __self: void 0, __source: {
|
|
8513
8514
|
fileName: F,
|
|
8514
|
-
lineNumber:
|
|
8515
|
+
lineNumber: 304,
|
|
8515
8516
|
columnNumber: 26
|
|
8516
8517
|
} }), t && /* @__PURE__ */ e.createElement(h, { className: "c-menu__list", __self: void 0, __source: {
|
|
8517
8518
|
fileName: F,
|
|
8518
|
-
lineNumber:
|
|
8519
|
+
lineNumber: 307,
|
|
8519
8520
|
columnNumber: 9
|
|
8520
8521
|
} }, /* @__PURE__ */ e.createElement(B, { iconProps: {
|
|
8521
8522
|
name: "mood"
|
|
8522
8523
|
}, mx: "auto", my: "m", ...t, __self: void 0, __source: {
|
|
8523
8524
|
fileName: F,
|
|
8524
|
-
lineNumber:
|
|
8525
|
+
lineNumber: 308,
|
|
8525
8526
|
columnNumber: 11
|
|
8526
8527
|
} }, "Donnez-nous votre avis !")), m === w.MOBILE && /* @__PURE__ */ e.createElement(j, { id: "js-download-band", href: "https://zrxr.adj.st/home?adj_t=15qbr9tu&adj_campaign=Bandeau_1", __self: void 0, __source: {
|
|
8527
8528
|
fileName: F,
|
|
8528
|
-
lineNumber:
|
|
8529
|
+
lineNumber: 322,
|
|
8529
8530
|
columnNumber: 9
|
|
8530
8531
|
} }, /* @__PURE__ */ e.createElement(E0, { radius: "0", src: "https://static.20mn.fr/services/downloadapp.png", __self: void 0, __source: {
|
|
8531
8532
|
fileName: F,
|
|
8532
|
-
lineNumber:
|
|
8533
|
+
lineNumber: 326,
|
|
8533
8534
|
columnNumber: 11
|
|
8534
8535
|
} })));
|
|
8535
|
-
var U0 = "/codebuild/output/
|
|
8536
|
+
var U0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/MenuList/MenuList.tsx";
|
|
8536
8537
|
const Tr = ({
|
|
8537
8538
|
links: l,
|
|
8538
8539
|
activeLink: r,
|
|
@@ -8557,7 +8558,7 @@ const Tr = ({
|
|
|
8557
8558
|
columnNumber: 11
|
|
8558
8559
|
} }));
|
|
8559
8560
|
}));
|
|
8560
|
-
var Se = "/codebuild/output/
|
|
8561
|
+
var Se = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Newsletter/Newsletter.tsx";
|
|
8561
8562
|
const Ir = ({
|
|
8562
8563
|
title: l,
|
|
8563
8564
|
description: r,
|
|
@@ -8603,7 +8604,7 @@ const Ir = ({
|
|
|
8603
8604
|
lineNumber: 65,
|
|
8604
8605
|
columnNumber: 9
|
|
8605
8606
|
} })));
|
|
8606
|
-
return /* @__PURE__ */ e.createElement(h, { ...i, className:
|
|
8607
|
+
return /* @__PURE__ */ e.createElement(h, { ...i, className: f("c-newsletter", i == null ? void 0 : i.className), __self: void 0, __source: {
|
|
8607
8608
|
fileName: Se,
|
|
8608
8609
|
lineNumber: 71,
|
|
8609
8610
|
columnNumber: 5
|
|
@@ -8613,7 +8614,7 @@ const Ir = ({
|
|
|
8613
8614
|
columnNumber: 11
|
|
8614
8615
|
} }), u));
|
|
8615
8616
|
};
|
|
8616
|
-
var Q1 = "/codebuild/output/
|
|
8617
|
+
var Q1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/OrderedListWithNumber/OrderedListWithNumber.tsx";
|
|
8617
8618
|
const Dr = ({
|
|
8618
8619
|
items: l,
|
|
8619
8620
|
...r
|
|
@@ -8626,7 +8627,7 @@ const Dr = ({
|
|
|
8626
8627
|
lineNumber: 24,
|
|
8627
8628
|
columnNumber: 9
|
|
8628
8629
|
} }, m.text)));
|
|
8629
|
-
var G0 = "/codebuild/output/
|
|
8630
|
+
var G0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Pagination/Pagination.tsx";
|
|
8630
8631
|
const Or = ({
|
|
8631
8632
|
totalArticles: l,
|
|
8632
8633
|
currentPage: r,
|
|
@@ -8650,22 +8651,22 @@ const Or = ({
|
|
|
8650
8651
|
lineNumber: 36,
|
|
8651
8652
|
columnNumber: 9
|
|
8652
8653
|
} }, "Archives")) : null;
|
|
8653
|
-
var E1 = "/codebuild/output/
|
|
8654
|
+
var E1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/PercentageBar/PercentageBar.tsx";
|
|
8654
8655
|
const R2 = ({
|
|
8655
8656
|
percentage: l,
|
|
8656
8657
|
progressBarClassName: r,
|
|
8657
8658
|
...m
|
|
8658
|
-
}) => /* @__PURE__ */ e.createElement(h, { ...m, bg: "white", className:
|
|
8659
|
+
}) => /* @__PURE__ */ e.createElement(h, { ...m, bg: "white", className: f("c-percentage-bar", m == null ? void 0 : m.className), __self: void 0, __source: {
|
|
8659
8660
|
fileName: E1,
|
|
8660
8661
|
lineNumber: 15,
|
|
8661
8662
|
columnNumber: 3
|
|
8662
|
-
} }, /* @__PURE__ */ e.createElement(h, { bg: "ultramarine", className:
|
|
8663
|
+
} }, /* @__PURE__ */ e.createElement(h, { bg: "ultramarine", className: f("c-percentage-bar__progress-bar", r), style: {
|
|
8663
8664
|
width: `${l}%`
|
|
8664
8665
|
}, __self: void 0, __source: {
|
|
8665
8666
|
fileName: E1,
|
|
8666
8667
|
lineNumber: 16,
|
|
8667
8668
|
columnNumber: 5
|
|
8668
|
-
} }, /* @__PURE__ */ e.createElement(v, { as: "span", color: l > 70 ? "white" : "ultramarine", weight: "bold", className:
|
|
8669
|
+
} }, /* @__PURE__ */ e.createElement(v, { as: "span", color: l > 70 ? "white" : "ultramarine", weight: "bold", className: f("c-percentage-bar__value", {
|
|
8669
8670
|
"c-percentage-bar__value--is-greater": l > 70,
|
|
8670
8671
|
"c-percentage-bar__value--is-smaller": l < 10
|
|
8671
8672
|
}), __self: void 0, __source: {
|
|
@@ -8676,18 +8677,18 @@ const R2 = ({
|
|
|
8676
8677
|
minimumFractionDigits: 2,
|
|
8677
8678
|
maximumFractionDigits: 2
|
|
8678
8679
|
}), " ", "%")));
|
|
8679
|
-
var A2 = "/codebuild/output/
|
|
8680
|
+
var A2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Prose/Prose.tsx";
|
|
8680
8681
|
const Rr = ({
|
|
8681
8682
|
content: l,
|
|
8682
8683
|
...r
|
|
8683
|
-
}) => /* @__PURE__ */ e.createElement(h, { ...r, className:
|
|
8684
|
+
}) => /* @__PURE__ */ e.createElement(h, { ...r, className: f("c-prose", r == null ? void 0 : r.className), dangerouslySetInnerHTML: {
|
|
8684
8685
|
__html: l
|
|
8685
8686
|
}, __self: void 0, __source: {
|
|
8686
8687
|
fileName: A2,
|
|
8687
8688
|
lineNumber: 10,
|
|
8688
8689
|
columnNumber: 3
|
|
8689
8690
|
} });
|
|
8690
|
-
var L0 = "/codebuild/output/
|
|
8691
|
+
var L0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/ReadAlsoBanner/ReadAlsoBanner.tsx";
|
|
8691
8692
|
const Ar = ({
|
|
8692
8693
|
articles: l,
|
|
8693
8694
|
layout: r,
|
|
@@ -8701,7 +8702,7 @@ const Ar = ({
|
|
|
8701
8702
|
}, alignItems: {
|
|
8702
8703
|
xs: "stretch",
|
|
8703
8704
|
md: "center"
|
|
8704
|
-
}, className:
|
|
8705
|
+
}, className: f("c-read-also-banner", {
|
|
8705
8706
|
"c-read-also-banner--is-fixed": c,
|
|
8706
8707
|
"c-read-also-banner--is-fixed-below-header": c,
|
|
8707
8708
|
"c-read-also-banner--is-hidden": n
|
|
@@ -8746,7 +8747,7 @@ const Ar = ({
|
|
|
8746
8747
|
lineNumber: 72,
|
|
8747
8748
|
columnNumber: 13
|
|
8748
8749
|
} })))));
|
|
8749
|
-
var le = "/codebuild/output/
|
|
8750
|
+
var le = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/SearchBanner/SearchBanner.tsx";
|
|
8750
8751
|
const qr = ({
|
|
8751
8752
|
layout: l,
|
|
8752
8753
|
searchFormProps: r,
|
|
@@ -8766,7 +8767,7 @@ const qr = ({
|
|
|
8766
8767
|
fileName: le,
|
|
8767
8768
|
lineNumber: 42,
|
|
8768
8769
|
columnNumber: 5
|
|
8769
|
-
} }), s = /* @__PURE__ */ e.createElement(_, { flexGrow: 1, gap: l === w.MOBILE ? "xs" : "m", className:
|
|
8770
|
+
} }), s = /* @__PURE__ */ e.createElement(_, { flexGrow: 1, gap: l === w.MOBILE ? "xs" : "m", className: f("c-search-banner__breadcrumb", {
|
|
8770
8771
|
"c-search-banner__breadcrumb--mobile": l === w.MOBILE
|
|
8771
8772
|
}), id: l === w.DESKTOP ? "js-search-banner-to-hide" : void 0, __self: void 0, __source: {
|
|
8772
8773
|
fileName: le,
|
|
@@ -8826,7 +8827,7 @@ const qr = ({
|
|
|
8826
8827
|
columnNumber: 13
|
|
8827
8828
|
} }, !!(m != null && m.length) && s, !!(c != null && c.options.length) && t)));
|
|
8828
8829
|
};
|
|
8829
|
-
var t0 = "/codebuild/output/
|
|
8830
|
+
var t0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/SearchForm/SearchForm.tsx";
|
|
8830
8831
|
const I0 = ({
|
|
8831
8832
|
id: l,
|
|
8832
8833
|
url: r,
|
|
@@ -8834,7 +8835,7 @@ const I0 = ({
|
|
|
8834
8835
|
autocompleteResults: c,
|
|
8835
8836
|
ariaLabel: n,
|
|
8836
8837
|
...t
|
|
8837
|
-
}) => /* @__PURE__ */ e.createElement(h, { ...t, as: "form", autoComplete: c && c.length > 0 ? "off" : "on", id: l, className:
|
|
8838
|
+
}) => /* @__PURE__ */ e.createElement(h, { ...t, as: "form", autoComplete: c && c.length > 0 ? "off" : "on", id: l, className: f("c-search-form", t == null ? void 0 : t.className), action: r, method: "GET", role: "search", __self: void 0, __source: {
|
|
8838
8839
|
fileName: t0,
|
|
8839
8840
|
lineNumber: 21,
|
|
8840
8841
|
columnNumber: 3
|
|
@@ -8866,7 +8867,7 @@ const I0 = ({
|
|
|
8866
8867
|
lineNumber: 53,
|
|
8867
8868
|
columnNumber: 13
|
|
8868
8869
|
} }, s.value)))));
|
|
8869
|
-
var w1 = "/codebuild/output/
|
|
8870
|
+
var w1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/SectionTitle/SectionTitle.tsx";
|
|
8870
8871
|
const wl = ({
|
|
8871
8872
|
label: l,
|
|
8872
8873
|
labelLink: r,
|
|
@@ -8876,13 +8877,13 @@ const wl = ({
|
|
|
8876
8877
|
}) => /* @__PURE__ */ e.createElement(H, { ...r && {
|
|
8877
8878
|
as: "a",
|
|
8878
8879
|
href: r
|
|
8879
|
-
}, size: "xxs", weight: "bold", ...n, className:
|
|
8880
|
+
}, size: "xxs", weight: "bold", ...n, className: f("c-section-title", {
|
|
8880
8881
|
"c-section-title--is-link": r
|
|
8881
8882
|
}), __self: void 0, __source: {
|
|
8882
8883
|
fileName: w1,
|
|
8883
8884
|
lineNumber: 20,
|
|
8884
8885
|
columnNumber: 3
|
|
8885
|
-
} }, c ? /* @__PURE__ */ e.createElement(v, { as: "span", role: "presentation", pb: "xxs", className:
|
|
8886
|
+
} }, c ? /* @__PURE__ */ e.createElement(v, { as: "span", role: "presentation", pb: "xxs", className: f("c-section-title__underline", {
|
|
8886
8887
|
"c-section-title__underline--default": !m,
|
|
8887
8888
|
[`c-section-title__underline--${m}`]: m
|
|
8888
8889
|
}), __self: void 0, __source: {
|
|
@@ -8918,8 +8919,8 @@ function q2() {
|
|
|
8918
8919
|
}
|
|
8919
8920
|
function n(C, k) {
|
|
8920
8921
|
for (var z = 0; z < k.length; z++) {
|
|
8921
|
-
var
|
|
8922
|
-
|
|
8922
|
+
var p = k[z];
|
|
8923
|
+
p.enumerable = p.enumerable || !1, p.configurable = !0, "value" in p && (p.writable = !0), Object.defineProperty(C, p.key, p);
|
|
8923
8924
|
}
|
|
8924
8925
|
}
|
|
8925
8926
|
function t(C, k, z) {
|
|
@@ -8931,26 +8932,26 @@ function q2() {
|
|
|
8931
8932
|
C.prototype = Object.create(k && k.prototype, { constructor: { value: C, writable: !0, configurable: !0 } }), k && i(C, k);
|
|
8932
8933
|
}
|
|
8933
8934
|
function i(C, k) {
|
|
8934
|
-
return i = Object.setPrototypeOf || function(
|
|
8935
|
-
return
|
|
8935
|
+
return i = Object.setPrototypeOf || function(p, S) {
|
|
8936
|
+
return p.__proto__ = S, p;
|
|
8936
8937
|
}, i(C, k);
|
|
8937
8938
|
}
|
|
8938
8939
|
function u(C) {
|
|
8939
8940
|
var k = b();
|
|
8940
8941
|
return function() {
|
|
8941
|
-
var
|
|
8942
|
+
var p = g(C), S;
|
|
8942
8943
|
if (k) {
|
|
8943
8944
|
var Ve = g(this).constructor;
|
|
8944
|
-
S = Reflect.construct(
|
|
8945
|
+
S = Reflect.construct(p, arguments, Ve);
|
|
8945
8946
|
} else
|
|
8946
|
-
S =
|
|
8947
|
+
S = p.apply(this, arguments);
|
|
8947
8948
|
return N(this, S);
|
|
8948
8949
|
};
|
|
8949
8950
|
}
|
|
8950
8951
|
function N(C, k) {
|
|
8951
|
-
return k && (m(k) === "object" || typeof k == "function") ? k :
|
|
8952
|
+
return k && (m(k) === "object" || typeof k == "function") ? k : d(C);
|
|
8952
8953
|
}
|
|
8953
|
-
function
|
|
8954
|
+
function d(C) {
|
|
8954
8955
|
if (C === void 0)
|
|
8955
8956
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
8956
8957
|
return C;
|
|
@@ -8970,18 +8971,18 @@ function q2() {
|
|
|
8970
8971
|
return z.__proto__ || Object.getPrototypeOf(z);
|
|
8971
8972
|
}, g(C);
|
|
8972
8973
|
}
|
|
8973
|
-
var
|
|
8974
|
-
var
|
|
8974
|
+
var x = function(k, z) {
|
|
8975
|
+
var p = k.props.config || {
|
|
8975
8976
|
enabled: !0
|
|
8976
8977
|
};
|
|
8977
|
-
|
|
8978
|
+
p = JSON.parse(JSON.stringify(p));
|
|
8978
8979
|
var S = window.onShareThisLoaded, Ve = function l0() {
|
|
8979
8980
|
if (!l0.complete) {
|
|
8980
|
-
if (!
|
|
8981
|
+
if (!p.id) {
|
|
8981
8982
|
var a1 = "sharethis-" + Date.now();
|
|
8982
|
-
|
|
8983
|
+
p.id = a1;
|
|
8983
8984
|
}
|
|
8984
|
-
k.buttons.current && (k.buttons.current.id =
|
|
8985
|
+
k.buttons.current && (k.buttons.current.id = p.id, window.__sharethis__.load(z, p)), S && S(), l0.complete = !0;
|
|
8985
8986
|
}
|
|
8986
8987
|
};
|
|
8987
8988
|
if (window.onShareThisLoaded = Ve, document.getElementById("sharethis-js"))
|
|
@@ -8990,7 +8991,7 @@ function q2() {
|
|
|
8990
8991
|
var be = document.createElement("script");
|
|
8991
8992
|
be.setAttribute("id", "sharethis-js");
|
|
8992
8993
|
var ae = {
|
|
8993
|
-
property:
|
|
8994
|
+
property: p.property || "",
|
|
8994
8995
|
product: z,
|
|
8995
8996
|
source: "reactjs"
|
|
8996
8997
|
}, c1 = Object.keys(ae).map(function(l0) {
|
|
@@ -9001,14 +9002,14 @@ function q2() {
|
|
|
9001
9002
|
}, M = /* @__PURE__ */ (function(C) {
|
|
9002
9003
|
s(z, C);
|
|
9003
9004
|
var k = u(z);
|
|
9004
|
-
function z(
|
|
9005
|
+
function z(p) {
|
|
9005
9006
|
var S;
|
|
9006
|
-
return c(this, z), S = k.call(this,
|
|
9007
|
+
return c(this, z), S = k.call(this, p), S.buttons = /* @__PURE__ */ l.default.createRef(), S;
|
|
9007
9008
|
}
|
|
9008
9009
|
return t(z, [{
|
|
9009
9010
|
key: "componentDidMount",
|
|
9010
9011
|
value: function() {
|
|
9011
|
-
|
|
9012
|
+
x(this, "inline-follow-buttons");
|
|
9012
9013
|
}
|
|
9013
9014
|
}, {
|
|
9014
9015
|
key: "render",
|
|
@@ -9023,14 +9024,14 @@ function q2() {
|
|
|
9023
9024
|
var y = /* @__PURE__ */ (function(C) {
|
|
9024
9025
|
s(z, C);
|
|
9025
9026
|
var k = u(z);
|
|
9026
|
-
function z(
|
|
9027
|
+
function z(p) {
|
|
9027
9028
|
var S;
|
|
9028
|
-
return c(this, z), S = k.call(this,
|
|
9029
|
+
return c(this, z), S = k.call(this, p), S.buttons = /* @__PURE__ */ l.default.createRef(), S;
|
|
9029
9030
|
}
|
|
9030
9031
|
return t(z, [{
|
|
9031
9032
|
key: "componentDidMount",
|
|
9032
9033
|
value: function() {
|
|
9033
|
-
|
|
9034
|
+
x(this, "inline-share-buttons");
|
|
9034
9035
|
}
|
|
9035
9036
|
}, {
|
|
9036
9037
|
key: "render",
|
|
@@ -9045,14 +9046,14 @@ function q2() {
|
|
|
9045
9046
|
var $ = /* @__PURE__ */ (function(C) {
|
|
9046
9047
|
s(z, C);
|
|
9047
9048
|
var k = u(z);
|
|
9048
|
-
function z(
|
|
9049
|
+
function z(p) {
|
|
9049
9050
|
var S;
|
|
9050
|
-
return c(this, z), S = k.call(this,
|
|
9051
|
+
return c(this, z), S = k.call(this, p), S.buttons = /* @__PURE__ */ l.default.createRef(), S;
|
|
9051
9052
|
}
|
|
9052
9053
|
return t(z, [{
|
|
9053
9054
|
key: "componentDidMount",
|
|
9054
9055
|
value: function() {
|
|
9055
|
-
|
|
9056
|
+
x(this, "inline-reaction-buttons");
|
|
9056
9057
|
}
|
|
9057
9058
|
}, {
|
|
9058
9059
|
key: "render",
|
|
@@ -9067,14 +9068,14 @@ function q2() {
|
|
|
9067
9068
|
var Z = /* @__PURE__ */ (function(C) {
|
|
9068
9069
|
s(z, C);
|
|
9069
9070
|
var k = u(z);
|
|
9070
|
-
function z(
|
|
9071
|
+
function z(p) {
|
|
9071
9072
|
var S;
|
|
9072
|
-
return c(this, z), S = k.call(this,
|
|
9073
|
+
return c(this, z), S = k.call(this, p), S.buttons = /* @__PURE__ */ l.default.createRef(), S;
|
|
9073
9074
|
}
|
|
9074
9075
|
return t(z, [{
|
|
9075
9076
|
key: "componentDidMount",
|
|
9076
9077
|
value: function() {
|
|
9077
|
-
|
|
9078
|
+
x(this, "sticky-share-buttons");
|
|
9078
9079
|
}
|
|
9079
9080
|
}, {
|
|
9080
9081
|
key: "render",
|
|
@@ -9087,7 +9088,7 @@ function q2() {
|
|
|
9087
9088
|
})(l.default.Component);
|
|
9088
9089
|
return Ee.StickyShareButtons = Z, Ee;
|
|
9089
9090
|
}
|
|
9090
|
-
var K2 = q2(), el = "/codebuild/output/
|
|
9091
|
+
var K2 = q2(), el = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/ShareBar/ShareBar.tsx";
|
|
9091
9092
|
const Kr = ({
|
|
9092
9093
|
networks: l = ["sharethis"],
|
|
9093
9094
|
...r
|
|
@@ -9126,7 +9127,7 @@ const Kr = ({
|
|
|
9126
9127
|
columnNumber: 7
|
|
9127
9128
|
} }));
|
|
9128
9129
|
};
|
|
9129
|
-
var me = "/codebuild/output/
|
|
9130
|
+
var me = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/ShowCover/ShowCover.tsx";
|
|
9130
9131
|
const Wr = ({
|
|
9131
9132
|
backgroundImage: l,
|
|
9132
9133
|
foregroundImage: r,
|
|
@@ -9205,7 +9206,7 @@ const Wr = ({
|
|
|
9205
9206
|
columnNumber: 24
|
|
9206
9207
|
} }, N))));
|
|
9207
9208
|
};
|
|
9208
|
-
var we = "/codebuild/output/
|
|
9209
|
+
var we = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Signature/Signature.tsx";
|
|
9209
9210
|
const yl = ({
|
|
9210
9211
|
avatars: l,
|
|
9211
9212
|
authors: r,
|
|
@@ -9217,7 +9218,7 @@ const yl = ({
|
|
|
9217
9218
|
authorHighlighted: i = !1,
|
|
9218
9219
|
disableAvatar: u = !1,
|
|
9219
9220
|
themeColor: N,
|
|
9220
|
-
sponsor:
|
|
9221
|
+
sponsor: d,
|
|
9221
9222
|
...b
|
|
9222
9223
|
}) => {
|
|
9223
9224
|
const g = /* @__PURE__ */ e.createElement(_, { ...b, as: "address", alignItems: "start", gap: "s", __self: void 0, __source: {
|
|
@@ -9256,7 +9257,7 @@ const yl = ({
|
|
|
9256
9257
|
fileName: we,
|
|
9257
9258
|
lineNumber: 62,
|
|
9258
9259
|
columnNumber: 26
|
|
9259
|
-
} }, " • Mis à jour le ", t))),
|
|
9260
|
+
} }, " • Mis à jour le ", t))), d && m === w.MOBILE && /* @__PURE__ */ e.createElement(Oe, { sponsor: d, variant: "signature", __self: void 0, __source: {
|
|
9260
9261
|
fileName: we,
|
|
9261
9262
|
lineNumber: 66,
|
|
9262
9263
|
columnNumber: 51
|
|
@@ -9267,7 +9268,7 @@ const yl = ({
|
|
|
9267
9268
|
columnNumber: 12
|
|
9268
9269
|
} }, g) : g;
|
|
9269
9270
|
};
|
|
9270
|
-
var $e = "/codebuild/output/
|
|
9271
|
+
var $e = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/SmartBanner/SmartBanner.tsx";
|
|
9271
9272
|
const Ur = ({
|
|
9272
9273
|
installButton: l,
|
|
9273
9274
|
closeButton: r
|
|
@@ -9315,7 +9316,7 @@ const Ur = ({
|
|
|
9315
9316
|
lineNumber: 35,
|
|
9316
9317
|
columnNumber: 5
|
|
9317
9318
|
} }, "Installer"));
|
|
9318
|
-
var X = "/codebuild/output/
|
|
9319
|
+
var X = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/SocialBar/SocialBar.tsx";
|
|
9319
9320
|
const Y0 = (l) => {
|
|
9320
9321
|
switch (l) {
|
|
9321
9322
|
case "card":
|
|
@@ -9345,7 +9346,7 @@ const Y0 = (l) => {
|
|
|
9345
9346
|
withReport: i = !0,
|
|
9346
9347
|
commentAnchor: u,
|
|
9347
9348
|
disableComment: N,
|
|
9348
|
-
blockVariant:
|
|
9349
|
+
blockVariant: d,
|
|
9349
9350
|
...b
|
|
9350
9351
|
}) => {
|
|
9351
9352
|
const g = !N && /* @__PURE__ */ e.createElement(
|
|
@@ -9357,7 +9358,7 @@ const Y0 = (l) => {
|
|
|
9357
9358
|
name: "comment",
|
|
9358
9359
|
"aria-hidden": !0
|
|
9359
9360
|
},
|
|
9360
|
-
...m === "card" &&
|
|
9361
|
+
...m === "card" && d === "blue-grey" && {
|
|
9361
9362
|
iconBackground: "blue-grey",
|
|
9362
9363
|
iconColor: "white"
|
|
9363
9364
|
},
|
|
@@ -9375,7 +9376,7 @@ const Y0 = (l) => {
|
|
|
9375
9376
|
...m === "card" && s && {
|
|
9376
9377
|
link: `${s}#${u}`
|
|
9377
9378
|
},
|
|
9378
|
-
color:
|
|
9379
|
+
color: d === "blue-grey" ? "white" : "black",
|
|
9379
9380
|
__self: void 0,
|
|
9380
9381
|
__source: {
|
|
9381
9382
|
fileName: X,
|
|
@@ -9383,33 +9384,33 @@ const Y0 = (l) => {
|
|
|
9383
9384
|
columnNumber: 5
|
|
9384
9385
|
}
|
|
9385
9386
|
}
|
|
9386
|
-
),
|
|
9387
|
+
), x = /* @__PURE__ */ e.createElement(x0, { role: "button", ariaLabel: "Partager le contenu", iconProps: {
|
|
9387
9388
|
name: "share",
|
|
9388
9389
|
"aria-hidden": !0
|
|
9389
9390
|
}, ...m === "card" && {
|
|
9390
9391
|
iconBackground: "none"
|
|
9391
|
-
}, ...m === "card" &&
|
|
9392
|
+
}, ...m === "card" && d === "blue-grey" && {
|
|
9392
9393
|
iconBackground: "blue-grey",
|
|
9393
9394
|
iconColor: "white"
|
|
9394
|
-
}, variant: Y0(m), count: r, countColor: c, countBg: n, countStyle: y1(m), isClickable: m !== "card", className:
|
|
9395
|
+
}, variant: Y0(m), count: r, countColor: c, countBg: n, countStyle: y1(m), isClickable: m !== "card", className: f({
|
|
9395
9396
|
"js-mobile-share-button": m === "horizontal"
|
|
9396
9397
|
}), ...m !== "card" && {
|
|
9397
9398
|
id: "mbrs-social-share-container"
|
|
9398
|
-
}, color:
|
|
9399
|
+
}, color: d && ["dark", "blue-grey"].includes(d) ? "white" : "black", __self: void 0, __source: {
|
|
9399
9400
|
fileName: X,
|
|
9400
9401
|
lineNumber: 82,
|
|
9401
9402
|
columnNumber: 5
|
|
9402
9403
|
} }), M = t && /* @__PURE__ */ e.createElement(x0, { role: "button", ariaLabel: "Mettre le contenu en favori", iconProps: {
|
|
9403
9404
|
name: "bookmark",
|
|
9404
9405
|
"aria-hidden": !0
|
|
9405
|
-
}, ...m === "card" &&
|
|
9406
|
+
}, ...m === "card" && d === "blue-grey" && {
|
|
9406
9407
|
iconBackground: "blue-grey",
|
|
9407
9408
|
iconColor: "white"
|
|
9408
|
-
}, variant: Y0(m), countStyle: y1(m), "data-id": t, "data-delayed": !0, "data-distance-visible": 0, "data-event-name": "mbrs-social-save-content", color:
|
|
9409
|
+
}, variant: Y0(m), countStyle: y1(m), "data-id": t, "data-delayed": !0, "data-distance-visible": 0, "data-event-name": "mbrs-social-save-content", color: d === "blue-grey" ? "white" : "black", __self: void 0, __source: {
|
|
9409
9410
|
fileName: X,
|
|
9410
9411
|
lineNumber: 102,
|
|
9411
9412
|
columnNumber: 5
|
|
9412
|
-
} }), y = i && /* @__PURE__ */ e.createElement(x0, { role: "button", ariaLabel: "Signaler une faute dans le contenu", ...m === "card" &&
|
|
9413
|
+
} }), y = i && /* @__PURE__ */ e.createElement(x0, { role: "button", ariaLabel: "Signaler une faute dans le contenu", ...m === "card" && d === "blue-grey" && {
|
|
9413
9414
|
iconBackground: "blue-grey",
|
|
9414
9415
|
iconColor: "white"
|
|
9415
9416
|
}, variant: Y0(m), iconProps: {
|
|
@@ -9426,11 +9427,11 @@ const Y0 = (l) => {
|
|
|
9426
9427
|
} }), Z = () => {
|
|
9427
9428
|
switch (m) {
|
|
9428
9429
|
case "card":
|
|
9429
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, (g ||
|
|
9430
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, (g || x) && /* @__PURE__ */ e.createElement(_, { as: "li", gap: "xxs", __self: void 0, __source: {
|
|
9430
9431
|
fileName: X,
|
|
9431
9432
|
lineNumber: 139,
|
|
9432
9433
|
columnNumber: 15
|
|
9433
|
-
} }, g,
|
|
9434
|
+
} }, g, x), M && /* @__PURE__ */ e.createElement("li", { __self: void 0, __source: {
|
|
9434
9435
|
fileName: X,
|
|
9435
9436
|
lineNumber: 144,
|
|
9436
9437
|
columnNumber: 30
|
|
@@ -9440,11 +9441,11 @@ const Y0 = (l) => {
|
|
|
9440
9441
|
fileName: X,
|
|
9441
9442
|
lineNumber: 150,
|
|
9442
9443
|
columnNumber: 29
|
|
9443
|
-
} }, g),
|
|
9444
|
+
} }, g), x && /* @__PURE__ */ e.createElement("li", { __self: void 0, __source: {
|
|
9444
9445
|
fileName: X,
|
|
9445
9446
|
lineNumber: 151,
|
|
9446
9447
|
columnNumber: 27
|
|
9447
|
-
} },
|
|
9448
|
+
} }, x), M && /* @__PURE__ */ e.createElement("li", { __self: void 0, __source: {
|
|
9448
9449
|
fileName: X,
|
|
9449
9450
|
lineNumber: 152,
|
|
9450
9451
|
columnNumber: 30
|
|
@@ -9458,11 +9459,11 @@ const Y0 = (l) => {
|
|
|
9458
9459
|
fileName: X,
|
|
9459
9460
|
lineNumber: 159,
|
|
9460
9461
|
columnNumber: 29
|
|
9461
|
-
} }, g),
|
|
9462
|
+
} }, g), x && /* @__PURE__ */ e.createElement("li", { __self: void 0, __source: {
|
|
9462
9463
|
fileName: X,
|
|
9463
9464
|
lineNumber: 160,
|
|
9464
9465
|
columnNumber: 27
|
|
9465
|
-
} },
|
|
9466
|
+
} }, x), /* @__PURE__ */ e.createElement("li", { "aria-hidden": "true", __self: void 0, __source: {
|
|
9466
9467
|
fileName: X,
|
|
9467
9468
|
lineNumber: 161,
|
|
9468
9469
|
columnNumber: 13
|
|
@@ -9479,15 +9480,15 @@ const Y0 = (l) => {
|
|
|
9479
9480
|
return null;
|
|
9480
9481
|
}
|
|
9481
9482
|
};
|
|
9482
|
-
return /* @__PURE__ */ e.createElement(_, { as: "ul", ...b, alignItems: "center", gap: m === "card" ? "xxs" : "xl", direction: m === "vertical" ? "column" : "row", className:
|
|
9483
|
+
return /* @__PURE__ */ e.createElement(_, { as: "ul", ...b, alignItems: "center", gap: m === "card" ? "xxs" : "xl", direction: m === "vertical" ? "column" : "row", className: f("c-social-bar", {
|
|
9483
9484
|
[`c-social-bar--${m}`]: m !== "card"
|
|
9484
|
-
}, b.className), bg: m === "horizontal" ? "grey-50" : void 0, justifyContent: m === "card" ? "between" : void 0, "data-block-variant":
|
|
9485
|
+
}, b.className), bg: m === "horizontal" ? "grey-50" : void 0, justifyContent: m === "card" ? "between" : void 0, "data-block-variant": d, __self: void 0, __source: {
|
|
9485
9486
|
fileName: X,
|
|
9486
9487
|
lineNumber: 172,
|
|
9487
9488
|
columnNumber: 5
|
|
9488
9489
|
} }, Z());
|
|
9489
9490
|
};
|
|
9490
|
-
var X0 = "/codebuild/output/
|
|
9491
|
+
var X0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Sponsor/Sponsor.tsx";
|
|
9491
9492
|
const Oe = ({
|
|
9492
9493
|
sponsor: l,
|
|
9493
9494
|
variant: r,
|
|
@@ -9505,14 +9506,14 @@ const Oe = ({
|
|
|
9505
9506
|
fileName: X0,
|
|
9506
9507
|
lineNumber: 27,
|
|
9507
9508
|
columnNumber: 9
|
|
9508
|
-
} }, "avec")), /* @__PURE__ */ e.createElement("img", { alt: l.name, src: l.logoUrl, className:
|
|
9509
|
+
} }, "avec")), /* @__PURE__ */ e.createElement("img", { alt: l.name, src: l.logoUrl, className: f({
|
|
9509
9510
|
[`c-sponsor__img--${r}`]: !!r
|
|
9510
9511
|
}), __self: void 0, __source: {
|
|
9511
9512
|
fileName: X0,
|
|
9512
9513
|
lineNumber: 32,
|
|
9513
9514
|
columnNumber: 5
|
|
9514
9515
|
} }));
|
|
9515
|
-
var re = "/codebuild/output/
|
|
9516
|
+
var re = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/SubMenu/SubMenu.tsx";
|
|
9516
9517
|
const W2 = ({
|
|
9517
9518
|
name: l,
|
|
9518
9519
|
link: r,
|
|
@@ -9525,7 +9526,7 @@ const W2 = ({
|
|
|
9525
9526
|
...u
|
|
9526
9527
|
}) => {
|
|
9527
9528
|
var N;
|
|
9528
|
-
return /* @__PURE__ */ e.createElement(_, { ...u, className:
|
|
9529
|
+
return /* @__PURE__ */ e.createElement(_, { ...u, className: f("c-sub-menu", {
|
|
9529
9530
|
[`c-sub-menu--${n}`]: n,
|
|
9530
9531
|
"c-sub-menu--with-border": i
|
|
9531
9532
|
}, u == null ? void 0 : u.className), justifyContent: "center", pt: "xxl", pb: "xl", __self: void 0, __source: {
|
|
@@ -9557,11 +9558,11 @@ const W2 = ({
|
|
|
9557
9558
|
fileName: re,
|
|
9558
9559
|
lineNumber: 74,
|
|
9559
9560
|
columnNumber: 11
|
|
9560
|
-
} })), c == null ? void 0 : c.subLinks.map((
|
|
9561
|
+
} })), c == null ? void 0 : c.subLinks.map((d, b) => /* @__PURE__ */ e.createElement(_, { key: d.href, as: "a", alignItems: "center", justifyContent: "between", href: d.href, mb: b !== c.subLinks.length - 1 ? "m" : "0", className: "c-sub-menu__link", __self: void 0, __source: {
|
|
9561
9562
|
fileName: re,
|
|
9562
9563
|
lineNumber: 77,
|
|
9563
9564
|
columnNumber: 11
|
|
9564
|
-
} },
|
|
9565
|
+
} }, d.name, /* @__PURE__ */ e.createElement(E, { name: "chevron", size: [10, 14], color: n || "ultramarine", __self: void 0, __source: {
|
|
9565
9566
|
fileName: re,
|
|
9566
9567
|
lineNumber: 87,
|
|
9567
9568
|
columnNumber: 13
|
|
@@ -9595,32 +9596,32 @@ const W2 = ({
|
|
|
9595
9596
|
fileName: re,
|
|
9596
9597
|
lineNumber: 108,
|
|
9597
9598
|
columnNumber: 15
|
|
9598
|
-
} }, c == null ? void 0 : c.tags.map((
|
|
9599
|
+
} }, c == null ? void 0 : c.tags.map((d) => /* @__PURE__ */ e.createElement(Re, { key: d.href, href: d.href, color: n || "ultramarine", __self: void 0, __source: {
|
|
9599
9600
|
fileName: re,
|
|
9600
9601
|
lineNumber: 110,
|
|
9601
9602
|
columnNumber: 19
|
|
9602
|
-
} },
|
|
9603
|
+
} }, d.name)))), /* @__PURE__ */ e.createElement(e0, { colsNumber: t, gap: "xl", __self: void 0, __source: {
|
|
9603
9604
|
fileName: re,
|
|
9604
9605
|
lineNumber: 118,
|
|
9605
9606
|
columnNumber: 9
|
|
9606
|
-
} }, (N = c == null ? void 0 : c.cards) == null ? void 0 : N.map((
|
|
9607
|
+
} }, (N = c == null ? void 0 : c.cards) == null ? void 0 : N.map((d) => {
|
|
9607
9608
|
var b;
|
|
9608
|
-
return /* @__PURE__ */ e.createElement(pl, { ...
|
|
9609
|
+
return /* @__PURE__ */ e.createElement(pl, { ...d, key: d.link, ...(b = d.cardHeaderProps) != null && b.headline ? {
|
|
9609
9610
|
cardHeaderProps: {
|
|
9610
9611
|
headline: {
|
|
9611
|
-
text:
|
|
9612
|
+
text: d.cardHeaderProps.headline.text,
|
|
9612
9613
|
color: n
|
|
9613
9614
|
}
|
|
9614
9615
|
}
|
|
9615
9616
|
} : {}, cardTitleProps: {
|
|
9616
|
-
...
|
|
9617
|
+
...d.cardTitleProps,
|
|
9617
9618
|
fontFamily: "source-serif-pro",
|
|
9618
9619
|
weight: "semi-bold",
|
|
9619
9620
|
size: "xxs",
|
|
9620
9621
|
as: "div"
|
|
9621
|
-
}, ...
|
|
9622
|
+
}, ...d.cardImageProps && {
|
|
9622
9623
|
cardImageProps: {
|
|
9623
|
-
...
|
|
9624
|
+
...d.cardImageProps,
|
|
9624
9625
|
sizes: "(min-width: 1160px) 253px, calc(33.33vw - 112px)"
|
|
9625
9626
|
}
|
|
9626
9627
|
}, layout: w.DESKTOP, justifyContent: "start", __self: void 0, __source: {
|
|
@@ -9630,7 +9631,7 @@ const W2 = ({
|
|
|
9630
9631
|
} });
|
|
9631
9632
|
})))));
|
|
9632
9633
|
};
|
|
9633
|
-
var J0 = "/codebuild/output/
|
|
9634
|
+
var J0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Tabs/Tabs.tsx";
|
|
9634
9635
|
const zl = ({
|
|
9635
9636
|
tabItems: l,
|
|
9636
9637
|
name: r = "default",
|
|
@@ -9647,8 +9648,8 @@ const zl = ({
|
|
|
9647
9648
|
}) => Array.isArray(b) ? b.length > 0 : !!b);
|
|
9648
9649
|
if (N.length === 0)
|
|
9649
9650
|
return null;
|
|
9650
|
-
const
|
|
9651
|
-
return /* @__PURE__ */ e.createElement(h, { className:
|
|
9651
|
+
const d = c || N[0].name;
|
|
9652
|
+
return /* @__PURE__ */ e.createElement(h, { className: f(t, "js-tabs", {
|
|
9652
9653
|
"c-tabs-fit-container": m
|
|
9653
9654
|
}), "data-tabs-name": r, ...u, __self: void 0, __source: {
|
|
9654
9655
|
fileName: J0,
|
|
@@ -9658,24 +9659,24 @@ const zl = ({
|
|
|
9658
9659
|
fileName: J0,
|
|
9659
9660
|
lineNumber: 54,
|
|
9660
9661
|
columnNumber: 7
|
|
9661
|
-
} }, N.map((b) => /* @__PURE__ */ e.createElement(u2, { key: b.name, name: b.name, variant: n, isSelected:
|
|
9662
|
+
} }, N.map((b) => /* @__PURE__ */ e.createElement(u2, { key: b.name, name: b.name, variant: n, isSelected: d === b.name, tabIndex: d === b.name ? 0 : -1, tabColor: b.tabColor, isNoWrap: b.isNoWrap, color: i, __self: void 0, __source: {
|
|
9662
9663
|
fileName: J0,
|
|
9663
9664
|
lineNumber: 62,
|
|
9664
9665
|
columnNumber: 11
|
|
9665
|
-
} }, b.title))), N.map((b) => /* @__PURE__ */ e.createElement(N2, { key: b.name, className:
|
|
9666
|
+
} }, b.title))), N.map((b) => /* @__PURE__ */ e.createElement(N2, { key: b.name, className: f({
|
|
9666
9667
|
"c-tabs-fit-container__panel": m
|
|
9667
|
-
}), name: b.name, isHidden:
|
|
9668
|
+
}), name: b.name, isHidden: d !== b.name, __self: void 0, __source: {
|
|
9668
9669
|
fileName: J0,
|
|
9669
9670
|
lineNumber: 77,
|
|
9670
9671
|
columnNumber: 9
|
|
9671
9672
|
} }, b.content)));
|
|
9672
9673
|
};
|
|
9673
|
-
var ll = "/codebuild/output/
|
|
9674
|
+
var ll = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/TagBar/TagBar.tsx";
|
|
9674
9675
|
const Gr = ({
|
|
9675
9676
|
tags: l,
|
|
9676
9677
|
layout: r,
|
|
9677
9678
|
...m
|
|
9678
|
-
}) => l.length ? /* @__PURE__ */ e.createElement(y0, { hasSpaceAroundButtons: !0, ...m, itemsGap: "xs", layout: r, className:
|
|
9679
|
+
}) => l.length ? /* @__PURE__ */ e.createElement(y0, { hasSpaceAroundButtons: !0, ...m, itemsGap: "xs", layout: r, className: f("c-tag-bar", m == null ? void 0 : m.className), __self: void 0, __source: {
|
|
9679
9680
|
fileName: ll,
|
|
9680
9681
|
lineNumber: 16,
|
|
9681
9682
|
columnNumber: 5
|
|
@@ -9684,11 +9685,11 @@ const Gr = ({
|
|
|
9684
9685
|
lineNumber: 24,
|
|
9685
9686
|
columnNumber: 9
|
|
9686
9687
|
} }))) : null;
|
|
9687
|
-
var ml = "/codebuild/output/
|
|
9688
|
+
var ml = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/TextTooltip/TextTooltipItem/TextTooltipItem.tsx";
|
|
9688
9689
|
const U2 = ({
|
|
9689
9690
|
iconName: l,
|
|
9690
9691
|
className: r
|
|
9691
|
-
}) => /* @__PURE__ */ e.createElement("li", { className:
|
|
9692
|
+
}) => /* @__PURE__ */ e.createElement("li", { className: f("c-text-tooltip-item", r), __self: void 0, __source: {
|
|
9692
9693
|
fileName: ml,
|
|
9693
9694
|
lineNumber: 11,
|
|
9694
9695
|
columnNumber: 3
|
|
@@ -9700,7 +9701,7 @@ const U2 = ({
|
|
|
9700
9701
|
lineNumber: 12,
|
|
9701
9702
|
columnNumber: 5
|
|
9702
9703
|
} }));
|
|
9703
|
-
var rl = "/codebuild/output/
|
|
9704
|
+
var rl = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/TextTooltip/TextTooltip.tsx";
|
|
9704
9705
|
const Yr = () => {
|
|
9705
9706
|
const l = /* @__PURE__ */ e.createElement(U2, { iconName: "report", className: "mbrs-social-report-container", __self: void 0, __source: {
|
|
9706
9707
|
fileName: rl,
|
|
@@ -9713,7 +9714,7 @@ const Yr = () => {
|
|
|
9713
9714
|
columnNumber: 5
|
|
9714
9715
|
} }, l);
|
|
9715
9716
|
};
|
|
9716
|
-
var V0 = "/codebuild/output/
|
|
9717
|
+
var V0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Tiles/Tiles.tsx";
|
|
9717
9718
|
const Q0 = ({
|
|
9718
9719
|
href: l,
|
|
9719
9720
|
iconProps: r,
|
|
@@ -9744,7 +9745,7 @@ const Q0 = ({
|
|
|
9744
9745
|
columnNumber: 7
|
|
9745
9746
|
} }, m));
|
|
9746
9747
|
};
|
|
9747
|
-
var Be = "/codebuild/output/
|
|
9748
|
+
var Be = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/Timeline/Timeline.tsx";
|
|
9748
9749
|
const Xr = ({
|
|
9749
9750
|
events: l,
|
|
9750
9751
|
layout: r,
|
|
@@ -9752,7 +9753,7 @@ const Xr = ({
|
|
|
9752
9753
|
}) => l.length === 0 ? null : /* @__PURE__ */ e.createElement(_, { ...m, direction: {
|
|
9753
9754
|
xs: "column",
|
|
9754
9755
|
md: "row"
|
|
9755
|
-
}, color: "white", bg: "blue-grey", gap: "xl", className:
|
|
9756
|
+
}, color: "white", bg: "blue-grey", gap: "xl", className: f("c-timeline", m == null ? void 0 : m.className), __self: void 0, __source: {
|
|
9756
9757
|
fileName: Be,
|
|
9757
9758
|
lineNumber: 21,
|
|
9758
9759
|
columnNumber: 5
|
|
@@ -9774,7 +9775,7 @@ const Xr = ({
|
|
|
9774
9775
|
fileName: Be,
|
|
9775
9776
|
lineNumber: 39,
|
|
9776
9777
|
columnNumber: 9
|
|
9777
|
-
} }), /* @__PURE__ */ e.createElement(h, { bg: "ultramarine", className:
|
|
9778
|
+
} }), /* @__PURE__ */ e.createElement(h, { bg: "ultramarine", className: f("c-timeline__progress-bar", {
|
|
9778
9779
|
[`c-timeline__progress-bar--is-${r}`]: r
|
|
9779
9780
|
}), __self: void 0, __source: {
|
|
9780
9781
|
fileName: Be,
|
|
@@ -9783,14 +9784,14 @@ const Xr = ({
|
|
|
9783
9784
|
} }), l.slice(0, 5).map((c, n) => /* @__PURE__ */ e.createElement(_, { key: c.name, direction: "column", alignItems: {
|
|
9784
9785
|
xs: "start",
|
|
9785
9786
|
md: "center"
|
|
9786
|
-
}, className:
|
|
9787
|
+
}, className: f("c-timeline__item", {
|
|
9787
9788
|
[`c-timeline__item--is-mobile-${n + 1}`]: r === w.MOBILE && (n === 0 || n === 1),
|
|
9788
9789
|
"u-hidden": r === w.MOBILE && n >= 2
|
|
9789
9790
|
}), __self: void 0, __source: {
|
|
9790
9791
|
fileName: Be,
|
|
9791
9792
|
lineNumber: 47,
|
|
9792
9793
|
columnNumber: 11
|
|
9793
|
-
} }, /* @__PURE__ */ e.createElement(_, { direction: "column", gap: "xxs", alignItems: "center", className:
|
|
9794
|
+
} }, /* @__PURE__ */ e.createElement(_, { direction: "column", gap: "xxs", alignItems: "center", className: f("c-timeline__time-container", {
|
|
9794
9795
|
"c-timeline__time-container--is-mobile": r === w.MOBILE
|
|
9795
9796
|
}), __self: void 0, __source: {
|
|
9796
9797
|
fileName: Be,
|
|
@@ -9804,14 +9805,14 @@ const Xr = ({
|
|
|
9804
9805
|
fileName: Be,
|
|
9805
9806
|
lineNumber: 68,
|
|
9806
9807
|
columnNumber: 15
|
|
9807
|
-
} })), /* @__PURE__ */ e.createElement(v, { as: "span", size: "xxs", weight: "bold", textTransform: "uppercase", className:
|
|
9808
|
+
} })), /* @__PURE__ */ e.createElement(v, { as: "span", size: "xxs", weight: "bold", textTransform: "uppercase", className: f("c-timeline__event", {
|
|
9808
9809
|
[`c-timeline__event--${c.color}`]: c.color
|
|
9809
9810
|
}), radius: "xxs-2", p: "xxs-2", __self: void 0, __source: {
|
|
9810
9811
|
fileName: Be,
|
|
9811
9812
|
lineNumber: 70,
|
|
9812
9813
|
columnNumber: 13
|
|
9813
9814
|
} }, c.name)))));
|
|
9814
|
-
var Le = "/codebuild/output/
|
|
9815
|
+
var Le = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/molecules/UserPanel/UserPanel.tsx";
|
|
9815
9816
|
const Jr = ({
|
|
9816
9817
|
children: l,
|
|
9817
9818
|
navigationLinks: r,
|
|
@@ -9857,7 +9858,7 @@ const Jr = ({
|
|
|
9857
9858
|
lineNumber: 49,
|
|
9858
9859
|
columnNumber: 5
|
|
9859
9860
|
} }));
|
|
9860
|
-
var Ne = "/codebuild/output/
|
|
9861
|
+
var Ne = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/Elections/ElectionsResult.tsx";
|
|
9861
9862
|
const Qr = ({
|
|
9862
9863
|
label: l,
|
|
9863
9864
|
result: r,
|
|
@@ -9887,7 +9888,7 @@ const Qr = ({
|
|
|
9887
9888
|
lineNumber: 70,
|
|
9888
9889
|
columnNumber: 9
|
|
9889
9890
|
} }, c.toLocaleString("fr-FR"), " voix"));
|
|
9890
|
-
return /* @__PURE__ */ e.createElement(h, { ...i, className:
|
|
9891
|
+
return /* @__PURE__ */ e.createElement(h, { ...i, className: f("c-elections-result", i == null ? void 0 : i.className), bg: "grey-100", p: "m", pb: s && s.length > 0 ? "xxl" : "m", __self: void 0, __source: {
|
|
9891
9892
|
fileName: Ne,
|
|
9892
9893
|
lineNumber: 78,
|
|
9893
9894
|
columnNumber: 5
|
|
@@ -9910,7 +9911,7 @@ const Qr = ({
|
|
|
9910
9911
|
fileName: Ne,
|
|
9911
9912
|
lineNumber: 100,
|
|
9912
9913
|
columnNumber: 17
|
|
9913
|
-
} }, s.map((N,
|
|
9914
|
+
} }, s.map((N, d) => /* @__PURE__ */ e.createElement("div", { key: `${N.lastName}${N.firstName}`, __self: void 0, __source: {
|
|
9914
9915
|
fileName: Ne,
|
|
9915
9916
|
lineNumber: 109,
|
|
9916
9917
|
columnNumber: 21
|
|
@@ -9918,7 +9919,7 @@ const Qr = ({
|
|
|
9918
9919
|
fileName: Ne,
|
|
9919
9920
|
lineNumber: 110,
|
|
9920
9921
|
columnNumber: 23
|
|
9921
|
-
} },
|
|
9922
|
+
} }, d + 1, " - ", N.title, " ", N.firstName), " ", /* @__PURE__ */ e.createElement(v, { as: "span", size: "xs", weight: "bold", __self: void 0, __source: {
|
|
9922
9923
|
fileName: Ne,
|
|
9923
9924
|
lineNumber: 113,
|
|
9924
9925
|
columnNumber: 23
|
|
@@ -9932,7 +9933,7 @@ const Qr = ({
|
|
|
9932
9933
|
columnNumber: 17
|
|
9933
9934
|
} })))) : u);
|
|
9934
9935
|
};
|
|
9935
|
-
var H0 = "/codebuild/output/
|
|
9936
|
+
var H0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/Footer/AppButton.tsx";
|
|
9936
9937
|
const m1 = ({
|
|
9937
9938
|
href: l,
|
|
9938
9939
|
iconName: r,
|
|
@@ -9959,11 +9960,11 @@ const m1 = ({
|
|
|
9959
9960
|
lineNumber: 19,
|
|
9960
9961
|
columnNumber: 7
|
|
9961
9962
|
} }, m)));
|
|
9962
|
-
var cl = "/codebuild/output/
|
|
9963
|
+
var cl = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/Footer/FooterLinks.tsx";
|
|
9963
9964
|
const Ml = ({
|
|
9964
9965
|
links: l,
|
|
9965
9966
|
...r
|
|
9966
|
-
}) => /* @__PURE__ */ e.createElement(_, { gapX: "xs", ...r, wrap: "wrap", className:
|
|
9967
|
+
}) => /* @__PURE__ */ e.createElement(_, { gapX: "xs", ...r, wrap: "wrap", className: f("c-footer-links", r == null ? void 0 : r.className), __self: void 0, __source: {
|
|
9967
9968
|
fileName: cl,
|
|
9968
9969
|
lineNumber: 10,
|
|
9969
9970
|
columnNumber: 3
|
|
@@ -9972,12 +9973,12 @@ const Ml = ({
|
|
|
9972
9973
|
lineNumber: 17,
|
|
9973
9974
|
columnNumber: 7
|
|
9974
9975
|
} })));
|
|
9975
|
-
var z1 = "/codebuild/output/
|
|
9976
|
+
var z1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/Footer/FooterSocialIcons.tsx";
|
|
9976
9977
|
const Cl = ({
|
|
9977
9978
|
socialIcons: l,
|
|
9978
9979
|
themeColor: r,
|
|
9979
9980
|
...m
|
|
9980
|
-
}) => /* @__PURE__ */ e.createElement(_, { as: "section", ...m, wrap: "wrap", gapY: "xxs", gapX: "xxs-2", className:
|
|
9981
|
+
}) => /* @__PURE__ */ e.createElement(_, { as: "section", ...m, wrap: "wrap", gapY: "xxs", gapX: "xxs-2", className: f("c-footer-social-icons", m == null ? void 0 : m.className), __self: void 0, __source: {
|
|
9981
9982
|
fileName: z1,
|
|
9982
9983
|
lineNumber: 16,
|
|
9983
9984
|
columnNumber: 3
|
|
@@ -9990,7 +9991,7 @@ const Cl = ({
|
|
|
9990
9991
|
lineNumber: 26,
|
|
9991
9992
|
columnNumber: 9
|
|
9992
9993
|
} }))));
|
|
9993
|
-
var V = "/codebuild/output/
|
|
9994
|
+
var V = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/Footer/FooterDesktop.tsx";
|
|
9994
9995
|
const G2 = ({
|
|
9995
9996
|
logohref: l,
|
|
9996
9997
|
categories: r,
|
|
@@ -10131,7 +10132,7 @@ const G2 = ({
|
|
|
10131
10132
|
lineNumber: 127,
|
|
10132
10133
|
columnNumber: 7
|
|
10133
10134
|
} }, "La fréquentation de 20 Minutes est certifiée par l‘ACPM")));
|
|
10134
|
-
var q = "/codebuild/output/
|
|
10135
|
+
var q = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/Footer/FooterMobile.tsx";
|
|
10135
10136
|
const Y2 = ({
|
|
10136
10137
|
logohref: l,
|
|
10137
10138
|
categories: r,
|
|
@@ -10237,7 +10238,7 @@ const Y2 = ({
|
|
|
10237
10238
|
lineNumber: 103,
|
|
10238
10239
|
columnNumber: 7
|
|
10239
10240
|
} }, "La fréquentation de 20 Minutes est certifiée par l‘ACPM")));
|
|
10240
|
-
var al = "/codebuild/output/
|
|
10241
|
+
var al = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/Footer/Footer.tsx";
|
|
10241
10242
|
const Pr = ({
|
|
10242
10243
|
layout: l = w.MOBILE,
|
|
10243
10244
|
...r
|
|
@@ -10250,7 +10251,7 @@ const Pr = ({
|
|
|
10250
10251
|
lineNumber: 25,
|
|
10251
10252
|
columnNumber: 66
|
|
10252
10253
|
} });
|
|
10253
|
-
var ol = "/codebuild/output/
|
|
10254
|
+
var ol = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/Header/Header.tsx";
|
|
10254
10255
|
const e3 = ({
|
|
10255
10256
|
layout: l = w.MOBILE,
|
|
10256
10257
|
...r
|
|
@@ -10263,18 +10264,18 @@ const e3 = ({
|
|
|
10263
10264
|
lineNumber: 22,
|
|
10264
10265
|
columnNumber: 5
|
|
10265
10266
|
} });
|
|
10266
|
-
var X2 = "/codebuild/output/
|
|
10267
|
+
var X2 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/atoms/SkipLink/SkipLink.tsx";
|
|
10267
10268
|
const i0 = e.forwardRef(({
|
|
10268
10269
|
href: l,
|
|
10269
10270
|
children: r,
|
|
10270
10271
|
...m
|
|
10271
|
-
}, c) => /* @__PURE__ */ e.createElement("a", { href: l, className:
|
|
10272
|
+
}, c) => /* @__PURE__ */ e.createElement("a", { href: l, className: f("c-skip-link", dl(m), m == null ? void 0 : m.className), ref: c, ...m, __self: void 0, __source: {
|
|
10272
10273
|
fileName: X2,
|
|
10273
10274
|
lineNumber: 11,
|
|
10274
10275
|
columnNumber: 5
|
|
10275
10276
|
} }, r));
|
|
10276
10277
|
i0.displayName = "SkipLink";
|
|
10277
|
-
var O = "/codebuild/output/
|
|
10278
|
+
var O = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/Header/HeaderDesktop.tsx";
|
|
10278
10279
|
const J2 = {
|
|
10279
10280
|
logo: [190, 47],
|
|
10280
10281
|
"logo-tempo": [162, 52],
|
|
@@ -10289,7 +10290,7 @@ const J2 = {
|
|
|
10289
10290
|
themeColor: n,
|
|
10290
10291
|
logoName: t = "logo"
|
|
10291
10292
|
}) => {
|
|
10292
|
-
const s = /* @__PURE__ */ e.createElement(j, { href: l, className:
|
|
10293
|
+
const s = /* @__PURE__ */ e.createElement(j, { href: l, className: f({
|
|
10293
10294
|
"c-header__logo": !c
|
|
10294
10295
|
}), __self: void 0, __source: {
|
|
10295
10296
|
fileName: O,
|
|
@@ -10300,7 +10301,7 @@ const J2 = {
|
|
|
10300
10301
|
lineNumber: 34,
|
|
10301
10302
|
columnNumber: 7
|
|
10302
10303
|
} }));
|
|
10303
|
-
return /* @__PURE__ */ e.createElement(h, { className:
|
|
10304
|
+
return /* @__PURE__ */ e.createElement(h, { className: f("c-header", {
|
|
10304
10305
|
[`c-header--theme-${n || "ultramarine"}`]: !!n || "ultramarine"
|
|
10305
10306
|
}), __self: void 0, __source: {
|
|
10306
10307
|
fileName: O,
|
|
@@ -10364,7 +10365,7 @@ const J2 = {
|
|
|
10364
10365
|
fileName: O,
|
|
10365
10366
|
lineNumber: 91,
|
|
10366
10367
|
columnNumber: 13
|
|
10367
|
-
} })), c ? /* @__PURE__ */ e.createElement("h1", { className:
|
|
10368
|
+
} })), c ? /* @__PURE__ */ e.createElement("h1", { className: f({
|
|
10368
10369
|
"c-header__logo": c
|
|
10369
10370
|
}), __self: void 0, __source: {
|
|
10370
10371
|
fileName: O,
|
|
@@ -10404,14 +10405,14 @@ const J2 = {
|
|
|
10404
10405
|
fileName: O,
|
|
10405
10406
|
lineNumber: 155,
|
|
10406
10407
|
columnNumber: 9
|
|
10407
|
-
} }, m.map((i) => /* @__PURE__ */ e.createElement(h, { as: "li", key: i.link, className:
|
|
10408
|
+
} }, m.map((i) => /* @__PURE__ */ e.createElement(h, { as: "li", key: i.link, className: f("c-header__link-and-submenu-container", {
|
|
10408
10409
|
[`c-header__link-and-submenu-container--theme-${i.color || "ultramarine"}`]: i.color || "ultramarine",
|
|
10409
10410
|
"c-header__link-and-submenu-container--is-hidden": !i.subCategory
|
|
10410
10411
|
}), __self: void 0, __source: {
|
|
10411
10412
|
fileName: O,
|
|
10412
10413
|
lineNumber: 161,
|
|
10413
10414
|
columnNumber: 13
|
|
10414
|
-
} }, /* @__PURE__ */ e.createElement(j, { href: i.link, color: i.isActive && (i.color || "ultramarine") || t === "logo-tv" && "white" || "black", className:
|
|
10415
|
+
} }, /* @__PURE__ */ e.createElement(j, { href: i.link, color: i.isActive && (i.color || "ultramarine") || t === "logo-tv" && "white" || "black", className: f("c-header__link", {
|
|
10415
10416
|
[`c-header__link--theme-${i.color || "ultramarine"}`]: i.color || "ultramarine",
|
|
10416
10417
|
"c-header__link--is-active": i.isActive
|
|
10417
10418
|
}), size: "m", px: "m", py: "s", __self: void 0, __source: {
|
|
@@ -10428,7 +10429,7 @@ const J2 = {
|
|
|
10428
10429
|
columnNumber: 11
|
|
10429
10430
|
} }))));
|
|
10430
10431
|
};
|
|
10431
|
-
var ye = "/codebuild/output/
|
|
10432
|
+
var ye = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/Header/HeaderMobile.tsx";
|
|
10432
10433
|
const P2 = {
|
|
10433
10434
|
logo: [114, 28],
|
|
10434
10435
|
"logo-tempo": [96, 34],
|
|
@@ -10451,7 +10452,7 @@ const P2 = {
|
|
|
10451
10452
|
lineNumber: 28,
|
|
10452
10453
|
columnNumber: 7
|
|
10453
10454
|
} }));
|
|
10454
|
-
return /* @__PURE__ */ e.createElement(_, { as: "header", className:
|
|
10455
|
+
return /* @__PURE__ */ e.createElement(_, { as: "header", className: f("c-header-mobile", {
|
|
10455
10456
|
"c-header-mobile--is-hidden": c
|
|
10456
10457
|
}), alignItems: "center", justifyContent: t ? "between" : "end", px: "m", bg: m || "ultramarine", __self: void 0, __source: {
|
|
10457
10458
|
fileName: ye,
|
|
@@ -10497,7 +10498,7 @@ const P2 = {
|
|
|
10497
10498
|
columnNumber: 9
|
|
10498
10499
|
} })));
|
|
10499
10500
|
};
|
|
10500
|
-
var De = "/codebuild/output/
|
|
10501
|
+
var De = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/MostReadArticles/MostReadArticles.tsx";
|
|
10501
10502
|
const l3 = ({
|
|
10502
10503
|
tabItems: l,
|
|
10503
10504
|
layout: r,
|
|
@@ -10508,7 +10509,7 @@ const l3 = ({
|
|
|
10508
10509
|
seeMoreLinkBoxProps: s,
|
|
10509
10510
|
...i
|
|
10510
10511
|
}) => {
|
|
10511
|
-
const u = (b, g) => b.slice(0, g),
|
|
10512
|
+
const u = (b, g) => b.slice(0, g), d = l.map((b) => ({
|
|
10512
10513
|
...b,
|
|
10513
10514
|
body: u(b.body, r === w.DESKTOP ? b.name === "le-direct" && 25 || 10 : 5)
|
|
10514
10515
|
})).filter((b) => b.body && b.body.length > 0).map((b) => {
|
|
@@ -10517,7 +10518,7 @@ const l3 = ({
|
|
|
10517
10518
|
name: b.name,
|
|
10518
10519
|
title: b.title,
|
|
10519
10520
|
tabColor: b.tabColor,
|
|
10520
|
-
content: /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className:
|
|
10521
|
+
content: /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: f({
|
|
10521
10522
|
"c-most-read-articles-is-scrollable": n && r === w.DESKTOP,
|
|
10522
10523
|
"c-most-read-articles-fit-container": m && r === w.DESKTOP
|
|
10523
10524
|
}), __self: void 0, __source: {
|
|
@@ -10528,33 +10529,33 @@ const l3 = ({
|
|
|
10528
10529
|
fileName: De,
|
|
10529
10530
|
lineNumber: 80,
|
|
10530
10531
|
columnNumber: 15
|
|
10531
|
-
} }, b.body.map((
|
|
10532
|
+
} }, b.body.map((x, M) => /* @__PURE__ */ e.createElement(e.Fragment, { key: x.title, __self: void 0, __source: {
|
|
10532
10533
|
fileName: De,
|
|
10533
10534
|
lineNumber: 82,
|
|
10534
10535
|
columnNumber: 19
|
|
10535
|
-
} }, g ? /* @__PURE__ */ e.createElement(gl, { link:
|
|
10536
|
+
} }, g ? /* @__PURE__ */ e.createElement(gl, { link: x.url, title: x.title, cardHeaderProps: {
|
|
10536
10537
|
headline: {
|
|
10537
|
-
text:
|
|
10538
|
+
text: x.rubricName
|
|
10538
10539
|
},
|
|
10539
|
-
liveTime:
|
|
10540
|
+
liveTime: x.liveTime
|
|
10540
10541
|
}, cardTitleProps: {
|
|
10541
10542
|
size: {
|
|
10542
10543
|
xs: "xxs-2",
|
|
10543
10544
|
md: "xxs-3"
|
|
10544
10545
|
},
|
|
10545
|
-
cartridge:
|
|
10546
|
+
cartridge: x.cartridge
|
|
10546
10547
|
}, layout: r, mr: n && r === w.DESKTOP && b.body.length > 3 ? "s" : void 0, __self: void 0, __source: {
|
|
10547
10548
|
fileName: De,
|
|
10548
10549
|
lineNumber: 84,
|
|
10549
10550
|
columnNumber: 23
|
|
10550
|
-
} }) : /* @__PURE__ */ e.createElement(k2, { link:
|
|
10551
|
+
} }) : /* @__PURE__ */ e.createElement(k2, { link: x.url, title: x.title, cardHeaderProps: {
|
|
10551
10552
|
headline: {
|
|
10552
|
-
text:
|
|
10553
|
-
color:
|
|
10553
|
+
text: x.rubricName,
|
|
10554
|
+
color: x.themeColor
|
|
10554
10555
|
}
|
|
10555
10556
|
}, cardTitleProps: {
|
|
10556
10557
|
size: "xxs-2",
|
|
10557
|
-
cartridge:
|
|
10558
|
+
cartridge: x.cartridge
|
|
10558
10559
|
}, cardNumber: {
|
|
10559
10560
|
value: M + 1
|
|
10560
10561
|
}, layout: r, mr: n && r === w.DESKTOP ? "s" : void 0, __self: void 0, __source: {
|
|
@@ -10582,13 +10583,13 @@ const l3 = ({
|
|
|
10582
10583
|
} })))
|
|
10583
10584
|
};
|
|
10584
10585
|
});
|
|
10585
|
-
return
|
|
10586
|
+
return d.length === 0 ? null : /* @__PURE__ */ e.createElement(zl, { tabItemActive: c || d[0].name, tabItems: d, fitContainer: m && r === w.DESKTOP, ...i, __self: void 0, __source: {
|
|
10586
10587
|
fileName: De,
|
|
10587
10588
|
lineNumber: 146,
|
|
10588
10589
|
columnNumber: 5
|
|
10589
10590
|
} });
|
|
10590
10591
|
};
|
|
10591
|
-
var s0 = "/codebuild/output/
|
|
10592
|
+
var s0 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/MostWatchVideos/MostWatchVideos.tsx";
|
|
10592
10593
|
const m3 = ({
|
|
10593
10594
|
tabItems: l,
|
|
10594
10595
|
layout: r,
|
|
@@ -10598,21 +10599,21 @@ const m3 = ({
|
|
|
10598
10599
|
tabTitlesColor: t,
|
|
10599
10600
|
...s
|
|
10600
10601
|
}) => {
|
|
10601
|
-
const i = (
|
|
10602
|
-
...
|
|
10603
|
-
body: i(
|
|
10604
|
-
})).filter((
|
|
10605
|
-
name:
|
|
10606
|
-
title:
|
|
10607
|
-
tabColor:
|
|
10608
|
-
content: /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className:
|
|
10602
|
+
const i = (d, b) => d.slice(0, b), N = l.map((d) => ({
|
|
10603
|
+
...d,
|
|
10604
|
+
body: i(d.body, r === w.DESKTOP ? 10 : 5)
|
|
10605
|
+
})).filter((d) => d.body && d.body.length > 0).map((d) => ({
|
|
10606
|
+
name: d.name,
|
|
10607
|
+
title: d.title,
|
|
10608
|
+
tabColor: d.tabColor,
|
|
10609
|
+
content: /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: f({
|
|
10609
10610
|
"c-most-read-articles-is-scrollable": n && r === w.DESKTOP,
|
|
10610
10611
|
"c-most-read-articles-fit-container": m && r === w.DESKTOP
|
|
10611
10612
|
}), __self: void 0, __source: {
|
|
10612
10613
|
fileName: s0,
|
|
10613
10614
|
lineNumber: 72,
|
|
10614
10615
|
columnNumber: 11
|
|
10615
|
-
} },
|
|
10616
|
+
} }, d.body.map((b, g) => /* @__PURE__ */ e.createElement(e.Fragment, { key: b.title, __self: void 0, __source: {
|
|
10616
10617
|
fileName: s0,
|
|
10617
10618
|
lineNumber: 79,
|
|
10618
10619
|
columnNumber: 15
|
|
@@ -10624,15 +10625,15 @@ const m3 = ({
|
|
|
10624
10625
|
fileName: s0,
|
|
10625
10626
|
lineNumber: 80,
|
|
10626
10627
|
columnNumber: 17
|
|
10627
|
-
} }), g !==
|
|
10628
|
+
} }), g !== d.body.length - 1 && /* @__PURE__ */ e.createElement(fe, { color: "grey-200", my: "s", __self: void 0, __source: {
|
|
10628
10629
|
fileName: s0,
|
|
10629
10630
|
lineNumber: 91,
|
|
10630
10631
|
columnNumber: 51
|
|
10631
|
-
} })))),
|
|
10632
|
+
} })))), d.seeMoreLink && /* @__PURE__ */ e.createElement(_, { mt: "xl", justifyContent: "center", __self: void 0, __source: {
|
|
10632
10633
|
fileName: s0,
|
|
10633
10634
|
lineNumber: 96,
|
|
10634
10635
|
columnNumber: 13
|
|
10635
|
-
} }, /* @__PURE__ */ e.createElement(j, { variant: "secondary", ...
|
|
10636
|
+
} }, /* @__PURE__ */ e.createElement(j, { variant: "secondary", ...d.seeMoreLink, __self: void 0, __source: {
|
|
10636
10637
|
fileName: s0,
|
|
10637
10638
|
lineNumber: 97,
|
|
10638
10639
|
columnNumber: 15
|
|
@@ -10644,16 +10645,25 @@ const m3 = ({
|
|
|
10644
10645
|
columnNumber: 5
|
|
10645
10646
|
} });
|
|
10646
10647
|
};
|
|
10647
|
-
var de = "/codebuild/output/
|
|
10648
|
+
var de = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/OverviewBar/OverviewBar.tsx";
|
|
10648
10649
|
const r3 = ({
|
|
10649
10650
|
articles: l,
|
|
10650
10651
|
layout: r,
|
|
10651
10652
|
hasStepper: m,
|
|
10652
|
-
type: c = "overview"
|
|
10653
|
+
type: c = "overview",
|
|
10654
|
+
title: n
|
|
10653
10655
|
}) => {
|
|
10654
10656
|
if (!l.length)
|
|
10655
10657
|
return null;
|
|
10656
|
-
const
|
|
10658
|
+
const t = n || (c === "overview" ? /* @__PURE__ */ e.createElement(e.Fragment, null, "Le récap", r === w.DESKTOP ? /* @__PURE__ */ e.createElement("br", { __self: void 0, __source: {
|
|
10659
|
+
fileName: de,
|
|
10660
|
+
lineNumber: 39,
|
|
10661
|
+
columnNumber: 50
|
|
10662
|
+
} }) : " ", "de la journée") : /* @__PURE__ */ e.createElement(e.Fragment, null, "Les offres", r === w.DESKTOP ? /* @__PURE__ */ e.createElement("br", { __self: void 0, __source: {
|
|
10663
|
+
fileName: de,
|
|
10664
|
+
lineNumber: 41,
|
|
10665
|
+
columnNumber: 52
|
|
10666
|
+
} }) : " ", "du moment")), s = /* @__PURE__ */ e.createElement(H, { as: "h2", size: {
|
|
10657
10667
|
xs: "xxs-2",
|
|
10658
10668
|
md: "xxs-3"
|
|
10659
10669
|
}, weight: "bold", color: c === "overview" ? "ultramarine" : "orange", ml: {
|
|
@@ -10667,111 +10677,103 @@ const r3 = ({
|
|
|
10667
10677
|
md: "0"
|
|
10668
10678
|
}, className: "c-overview-bar__title", __self: void 0, __source: {
|
|
10669
10679
|
fileName: de,
|
|
10670
|
-
lineNumber:
|
|
10680
|
+
lineNumber: 45,
|
|
10671
10681
|
columnNumber: 5
|
|
10672
|
-
} },
|
|
10673
|
-
fileName: de,
|
|
10674
|
-
lineNumber: 46,
|
|
10675
|
-
columnNumber: 52
|
|
10676
|
-
} }) : " ", "de la journée") : /* @__PURE__ */ e.createElement(e.Fragment, null, "Les offres", r === w.DESKTOP ? /* @__PURE__ */ e.createElement("br", { __self: void 0, __source: {
|
|
10677
|
-
fileName: de,
|
|
10678
|
-
lineNumber: 48,
|
|
10679
|
-
columnNumber: 54
|
|
10680
|
-
} }) : " ", "du moment")), t = d({
|
|
10682
|
+
} }, t), i = f({
|
|
10681
10683
|
"c-overview-bar__article": c === "overview",
|
|
10682
10684
|
"c-overview-bar__product": c === "product"
|
|
10683
10685
|
}, {
|
|
10684
10686
|
"c-overview-bar__article--has-stepper": m
|
|
10685
|
-
}),
|
|
10687
|
+
}), u = /* @__PURE__ */ e.createElement(y0, { layout: r, itemsGap: "m", hasSpaceAroundButtons: !0, __self: void 0, __source: {
|
|
10686
10688
|
fileName: de,
|
|
10687
|
-
lineNumber:
|
|
10689
|
+
lineNumber: 70,
|
|
10688
10690
|
columnNumber: 5
|
|
10689
|
-
} }, l.map((
|
|
10690
|
-
var
|
|
10691
|
-
return c === "product" && ((
|
|
10692
|
-
xs:
|
|
10691
|
+
} }, l.map((d, b) => {
|
|
10692
|
+
var g, x;
|
|
10693
|
+
return c === "product" && ((x = (g = d.cardHeaderProps) == null ? void 0 : g.headline) != null && x.text) ? /* @__PURE__ */ e.createElement(D, { key: d.cardHeaderProps.headline.text, grow: 0, shrink: 0, className: i, pl: {
|
|
10694
|
+
xs: b === 0 ? "m" : "0",
|
|
10693
10695
|
md: "0"
|
|
10694
10696
|
}, __self: void 0, __source: {
|
|
10695
10697
|
fileName: de,
|
|
10696
|
-
lineNumber:
|
|
10698
|
+
lineNumber: 74,
|
|
10697
10699
|
columnNumber: 13
|
|
10698
10700
|
} }, /* @__PURE__ */ e.createElement(
|
|
10699
10701
|
F2,
|
|
10700
10702
|
{
|
|
10701
|
-
...
|
|
10703
|
+
...d,
|
|
10702
10704
|
cardHeaderProps: {
|
|
10703
10705
|
headline: {
|
|
10704
|
-
text:
|
|
10706
|
+
text: d.cardHeaderProps.headline.text
|
|
10705
10707
|
}
|
|
10706
10708
|
},
|
|
10707
10709
|
__self: void 0,
|
|
10708
10710
|
__source: {
|
|
10709
10711
|
fileName: de,
|
|
10710
|
-
lineNumber:
|
|
10712
|
+
lineNumber: 81,
|
|
10711
10713
|
columnNumber: 15
|
|
10712
10714
|
}
|
|
10713
10715
|
}
|
|
10714
10716
|
)) : /* @__PURE__ */ e.createElement(
|
|
10715
10717
|
D,
|
|
10716
10718
|
{
|
|
10717
|
-
key:
|
|
10719
|
+
key: d.title,
|
|
10718
10720
|
grow: 0,
|
|
10719
10721
|
shrink: 0,
|
|
10720
|
-
className:
|
|
10722
|
+
className: i,
|
|
10721
10723
|
pl: {
|
|
10722
|
-
xs:
|
|
10724
|
+
xs: b === 0 ? "m" : "0",
|
|
10723
10725
|
md: "0"
|
|
10724
10726
|
},
|
|
10725
10727
|
__self: void 0,
|
|
10726
10728
|
__source: {
|
|
10727
10729
|
fileName: de,
|
|
10728
|
-
lineNumber:
|
|
10730
|
+
lineNumber: 95,
|
|
10729
10731
|
columnNumber: 11
|
|
10730
10732
|
}
|
|
10731
10733
|
},
|
|
10732
10734
|
/* @__PURE__ */ e.createElement(
|
|
10733
10735
|
xl,
|
|
10734
10736
|
{
|
|
10735
|
-
...
|
|
10737
|
+
...d,
|
|
10736
10738
|
cardTitleProps: {
|
|
10737
10739
|
as: "h3",
|
|
10738
10740
|
maxRows: r === w.DESKTOP ? 2 : 3,
|
|
10739
10741
|
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
|
10740
|
-
...
|
|
10742
|
+
...d.cardTitleProps || {}
|
|
10741
10743
|
},
|
|
10742
10744
|
variant: "overviewBar",
|
|
10743
10745
|
__self: void 0,
|
|
10744
10746
|
__source: {
|
|
10745
10747
|
fileName: de,
|
|
10746
|
-
lineNumber:
|
|
10748
|
+
lineNumber: 103,
|
|
10747
10749
|
columnNumber: 13
|
|
10748
10750
|
}
|
|
10749
10751
|
}
|
|
10750
10752
|
)
|
|
10751
10753
|
);
|
|
10752
|
-
})),
|
|
10754
|
+
})), N = l.map(() => ({
|
|
10753
10755
|
loaded: !1,
|
|
10754
10756
|
loading: !1
|
|
10755
10757
|
}));
|
|
10756
10758
|
return /* @__PURE__ */ e.createElement(h, { className: "js-overview-bar-container", __self: void 0, __source: {
|
|
10757
10759
|
fileName: de,
|
|
10758
|
-
lineNumber:
|
|
10760
|
+
lineNumber: 123,
|
|
10759
10761
|
columnNumber: 5
|
|
10760
10762
|
} }, r === w.DESKTOP ? /* @__PURE__ */ e.createElement(_, { alignItems: "center", py: "xs", px: "m", className: "c-overview-bar", __self: void 0, __source: {
|
|
10761
10763
|
fileName: de,
|
|
10762
|
-
lineNumber:
|
|
10764
|
+
lineNumber: 125,
|
|
10763
10765
|
columnNumber: 9
|
|
10764
|
-
} },
|
|
10766
|
+
} }, s, u) : /* @__PURE__ */ e.createElement(h, { py: "xs", className: "c-overview-bar", __self: void 0, __source: {
|
|
10765
10767
|
fileName: de,
|
|
10766
|
-
lineNumber:
|
|
10768
|
+
lineNumber: 130,
|
|
10767
10769
|
columnNumber: 9
|
|
10768
|
-
} },
|
|
10770
|
+
} }, s, u), m && r === w.MOBILE && /* @__PURE__ */ e.createElement(s2, { items: N, mt: "s", __self: void 0, __source: {
|
|
10769
10771
|
fileName: de,
|
|
10770
|
-
lineNumber:
|
|
10772
|
+
lineNumber: 135,
|
|
10771
10773
|
columnNumber: 54
|
|
10772
10774
|
} }));
|
|
10773
10775
|
};
|
|
10774
|
-
var M1 = "/codebuild/output/
|
|
10776
|
+
var M1 = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/PhotoSwipeGallery/PhotoSwipeGallery.tsx";
|
|
10775
10777
|
const c3 = ({
|
|
10776
10778
|
medias: l,
|
|
10777
10779
|
...r
|
|
@@ -10794,7 +10796,7 @@ const c3 = ({
|
|
|
10794
10796
|
columnNumber: 11
|
|
10795
10797
|
} }));
|
|
10796
10798
|
}));
|
|
10797
|
-
var R = "/codebuild/output/
|
|
10799
|
+
var R = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/Ranking/Ranking.tsx";
|
|
10798
10800
|
const a3 = ({
|
|
10799
10801
|
playerData: l,
|
|
10800
10802
|
layout: r,
|
|
@@ -10822,7 +10824,7 @@ const a3 = ({
|
|
|
10822
10824
|
return null;
|
|
10823
10825
|
}
|
|
10824
10826
|
}, n = (t, s) => s ? "is-current" : t % 2 === 0 ? "even" : "odd";
|
|
10825
|
-
return /* @__PURE__ */ e.createElement(e0, { colsNumber: r === w.MOBILE ? 5 : 6, ...m, className:
|
|
10827
|
+
return /* @__PURE__ */ e.createElement(e0, { colsNumber: r === w.MOBILE ? 5 : 6, ...m, className: f("c-ranking", m.className, {
|
|
10826
10828
|
"c-ranking--is-mobile": r === w.MOBILE
|
|
10827
10829
|
}), __self: void 0, __source: {
|
|
10828
10830
|
fileName: R,
|
|
@@ -10906,7 +10908,7 @@ const a3 = ({
|
|
|
10906
10908
|
columnNumber: 11
|
|
10907
10909
|
} }, t.wins))));
|
|
10908
10910
|
};
|
|
10909
|
-
var P = "/codebuild/output/
|
|
10911
|
+
var P = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/ThreeColumnsArticles/ThreeColumnsArticles.tsx";
|
|
10910
10912
|
const lm = ({
|
|
10911
10913
|
title: l,
|
|
10912
10914
|
articles: r,
|
|
@@ -11013,12 +11015,12 @@ const lm = ({
|
|
|
11013
11015
|
}
|
|
11014
11016
|
}
|
|
11015
11017
|
))) : null;
|
|
11016
|
-
var nl = "/codebuild/output/
|
|
11018
|
+
var nl = "/codebuild/output/src6113150/src/github.com/20minutes/hela/src/components/organisms/Toolbar/Toolbar.tsx";
|
|
11017
11019
|
const n3 = ({
|
|
11018
11020
|
items: l,
|
|
11019
11021
|
activeItem: r,
|
|
11020
11022
|
isBlueMode: m = !1
|
|
11021
|
-
}) => /* @__PURE__ */ e.createElement(_, { as: "nav", role: "navigation", "aria-label": "Navigation mobile principale", alignItems: "center", justifyContent: "around", direction: "row", className:
|
|
11023
|
+
}) => /* @__PURE__ */ e.createElement(_, { as: "nav", role: "navigation", "aria-label": "Navigation mobile principale", alignItems: "center", justifyContent: "around", direction: "row", className: f("c-toolbar", {
|
|
11022
11024
|
"c-toolbar--is-blue-mode": m
|
|
11023
11025
|
}), __self: void 0, __source: {
|
|
11024
11026
|
fileName: nl,
|