fansunited-frontend-components 0.0.65 → 0.0.67
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/Betslip.js +1 -1
- package/ChanceGame.js +54 -54
- package/ClassicQuizPlay.js +20 -20
- package/CollectLead.js +6 -6
- package/Discussion.js +1 -1
- package/EitherOrPlay.js +60 -62
- package/EventGamePlay.js +141 -140
- package/Leaderboard.js +73 -72
- package/MatchQuizPlay.js +32 -31
- package/PersonalityQuizPlay.js +19 -19
- package/PickThePair.js +9 -9
- package/PlayerOfTheMatch.d.ts +5 -0
- package/PlayerOfTheMatch.d.ts.map +1 -0
- package/PlayerOfTheMatch.js +2530 -0
- package/PollVote.js +17 -17
- package/Predictor.js +41 -39
- package/README.md +118 -0
- package/Standings.js +11 -10
- package/TopX.js +41 -39
- package/chunks/AccessTime-D7JlgCS_.js +10 -0
- package/chunks/{AlertMessage-CGsgz9QP.js → AlertMessage-D-cFYJtj.js} +22 -22
- package/chunks/{ArrowRightAlt-CrbCfPqF.js → ArrowRightAlt-BWEyQ4rF.js} +1 -1
- package/chunks/{Avatar-DEfTQJbR.js → Avatar-BtqTJz-0.js} +9 -9
- package/chunks/{Button-BpDNOp4E.js → Button-BPtVuOyn.js} +195 -262
- package/chunks/Card-24cIw_HU.js +217 -0
- package/chunks/CardActions-jWCcpjQr.js +140 -0
- package/chunks/CardContent-D776lu64.js +106 -0
- package/chunks/{ChanceGameEmbedVariant-D9VI-mrP.js → ChanceGameEmbedVariant-CJJnKkOG.js} +9 -9
- package/chunks/{CheckCircle-MCCIVdJW.js → CheckCircle-DKzwnhnr.js} +10 -10
- package/chunks/{Chip-BJbMDObW.js → Chip-isuqGl2h.js} +10 -10
- package/chunks/{Close-CDADoRFh.js → Close-BDwyGxjj.js} +1 -1
- package/chunks/{Close-qW9PQXAh.js → Close-DGsfMhw8.js} +1 -1
- package/chunks/{CollectLeadForm-DRgerBFl.js → CollectLeadForm-B1FGVWj4.js} +1274 -1583
- package/chunks/{Divider-CwD6e_Mx.js → Divider-RJTJH6No.js} +3 -3
- package/chunks/Edit-CqpNynUG.js +104 -0
- package/chunks/{EmojiEvents-Bd4EnqWZ.js → EmojiEvents-CxftZVbi.js} +1 -1
- package/chunks/{FavoriteBorder-DZah1leY.js → FavoriteBorder-_0szWv8_.js} +1 -1
- package/chunks/{FormControl-Cy95xh7G.js → FormControl-CvjmoRuK.js} +13 -13
- package/chunks/{FormLabel-CZa1RF9H.js → FormLabel-B6QTd99o.js} +3 -3
- package/chunks/{Input-BBd-zRYm.js → Input-BD1363mh.js} +3 -3
- package/chunks/{KeyboardArrowDown-o7vmCVYf.js → KeyboardArrowDown-Bip53hQC.js} +1 -1
- package/chunks/Link-B5vthpLg.js +318 -0
- package/chunks/{variantColorInheritance-V5sS30ik.js → ListItemButton-Dosv66vv.js} +412 -438
- package/chunks/ModalDialog-Dn3_dWTo.js +879 -0
- package/chunks/{NotFoundSkeleton-BvpmzWrD.js → NotFoundSkeleton-T4NKrhfx.js} +444 -541
- package/chunks/{Notification-gs4R9LQ1.js → Notification-D20IfSF7.js} +24 -24
- package/chunks/{OverlayApiErrorSkeleton-CsL4voqW.js → OverlayApiErrorSkeleton-BdzLPy8g.js} +7 -7
- package/chunks/{OverlayLeadAfterCollection-BO9aMs3v.js → OverlayLeadAfterCollection-C-rM0D5V.js} +5 -5
- package/chunks/{OverlayScoreStateSkeleton-Cakuc0gF.js → OverlayScoreStateSkeleton-ChdCokGv.js} +4 -4
- package/chunks/{Person-BkWUE01t.js → Person-OeVVOCoA.js} +1 -1
- package/chunks/{PickOneOfX-vu_uatSq.js → PickOneOfX-wiZPfKD5.js} +3 -3
- package/chunks/{Popper-CyWC_zv1.js → Popper-DST5zEgT.js} +43 -42
- package/chunks/{Portal-CoaOIw9X.js → Portal-CVkKDGuY.js} +1 -1
- package/chunks/Portal-DJylIbob.js +74 -0
- package/chunks/{PrizeCard-DYwXaC1D.js → PrizeCard-DlK8irk1.js} +4030 -3106
- package/chunks/Search-B4FMXDHP.js +14 -0
- package/chunks/{Select-CRuPsqrG.js → Select-DOCvesLO.js} +58 -57
- package/chunks/Sheet-Co4lPFez.js +131 -0
- package/chunks/{Spinner-CD5wbUmy.js → Spinner-00hTC1QH.js} +2 -2
- package/chunks/{SplitLeadAfterCollection-Vke86ylr.js → SplitLeadAfterCollection-BUX0MjWC.js} +6 -6
- package/chunks/{Stack-DEj8r9tP.js → Stack-CB_N08X-.js} +16 -16
- package/chunks/{StandardContentSkeleton-CPtytoYO.js → StandardContentSkeleton-0vB361fl.js} +1 -1
- package/chunks/Table-Damdp0vr.js +394 -0
- package/chunks/{Tabs-C4mPtsga.js → Tabs-CiKqMnto.js} +21 -21
- package/chunks/{Textarea-DwuY7MCR.js → Textarea-BuSqmmKr.js} +7 -7
- package/chunks/{TimerOutlined-D3hLxDxl.js → TimerOutlined-DC5foG2M.js} +1 -1
- package/chunks/{Typography-C3YXEcle.js → Typography-BFCXsYfo.js} +20 -20
- package/chunks/chevron-right-eZEqQ93O.js +23 -0
- package/chunks/{chevrons-right-CRIN5sOe.js → chevrons-right-CXSpQt9w.js} +1 -1
- package/chunks/{chevron-right-B3IZtaMT.js → createLucideIcon-YBRjY5Kl.js} +16 -36
- package/chunks/{helpers-bzUOaq-G.js → helpers-DQsdRliV.js} +1 -1
- package/chunks/{index-Bo7CJaUZ.js → index-B2VYQmtm.js} +251 -260
- package/chunks/index-CFw8sMh-.js +4 -0
- package/chunks/{main-DR1WT3kS.js → main-D7MsMIjF.js} +15 -15
- package/chunks/{main-bGk7HVmI.js → main-DSGHgdtY.js} +141 -140
- package/chunks/ownerWindow-DbqHERs5.js +7 -0
- package/chunks/useEventCallback-BDs4A_JZ.js +14 -0
- package/chunks/{useForwardedInput-Dr6j3VcU.js → useForwardedInput-WirbkSwI.js} +13 -13
- package/chunks/{useImageVariant-CixMtvPN.js → useImageVariant-DMs19-UC.js} +1 -1
- package/chunks/variantColorInheritance-DZr7CNx6.js +30 -0
- package/components.d.ts +2 -1
- package/components.d.ts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +568 -534
- package/package.json +6 -2
- package/chunks/Edit-DVRP51mF.js +0 -235
- package/chunks/ModalDialog-eI1ziPEO.js +0 -1084
- package/chunks/Table-CwDNo-UR.js +0 -519
- package/chunks/index-sJ-SFBJM.js +0 -4
- package/chunks/useEventCallback-ByT93yij.js +0 -19
package/EitherOrPlay.js
CHANGED
|
@@ -1,43 +1,41 @@
|
|
|
1
1
|
import { jsx as t, jsxs as g, Fragment as De } from "react/jsx-runtime";
|
|
2
2
|
import { useState as D, useEffect as me, useRef as qe, useCallback as Oe } from "react";
|
|
3
|
-
import { r as
|
|
4
|
-
import { P as Vt } from "./chunks/Portal-
|
|
3
|
+
import { r as Pe, b as be, q as ze, B as r, u as se, l as xe, a as K, c as fe, e as pe, I as Ht, j as Me, k as jt, W as Se, s as St, i as Gt } from "./chunks/PrizeCard-DlK8irk1.js";
|
|
4
|
+
import { P as Vt } from "./chunks/Portal-CVkKDGuY.js";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import { S as He } from "./chunks/Spinner-
|
|
6
|
+
import { S as He } from "./chunks/Spinner-00hTC1QH.js";
|
|
7
7
|
import { Z as Nt } from "./chunks/index-BBrO1Htm.js";
|
|
8
|
-
import { g as Yt, h as re, e as je, a as Ct } from "./chunks/helpers-
|
|
9
|
-
import { S as _t, N as qt, O as Kt } from "./chunks/NotFoundSkeleton-
|
|
10
|
-
import { u as Xt, b as Ge, d as Ke, a as Xe } from "./chunks/useImageVariant-
|
|
11
|
-
import { A as Ze, O as Zt } from "./chunks/ArrowRightAlt-
|
|
12
|
-
import { T as x } from "./chunks/Typography-
|
|
13
|
-
import { F as Fe, a as It } from "./chunks/FavoriteBorder-
|
|
14
|
-
import { E as
|
|
15
|
-
import { B as ge } from "./chunks/Button-
|
|
16
|
-
import { C as Ne } from "./chunks/CheckCircle-
|
|
17
|
-
import { T as Jt } from "./chunks/TimerOutlined-
|
|
18
|
-
import { S as we } from "./chunks/Stack-
|
|
19
|
-
import { A as Qt
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"
|
|
30
|
-
}, "1")], "AccessTime"), Ye = Ce(/* @__PURE__ */ t("path", {
|
|
8
|
+
import { g as Yt, h as re, e as je, a as Ct } from "./chunks/helpers-DQsdRliV.js";
|
|
9
|
+
import { S as _t, N as qt, O as Kt } from "./chunks/NotFoundSkeleton-T4NKrhfx.js";
|
|
10
|
+
import { u as Xt, b as Ge, d as Ke, a as Xe } from "./chunks/useImageVariant-DMs19-UC.js";
|
|
11
|
+
import { A as Ze, O as Zt } from "./chunks/ArrowRightAlt-BWEyQ4rF.js";
|
|
12
|
+
import { T as x } from "./chunks/Typography-BFCXsYfo.js";
|
|
13
|
+
import { F as Fe, a as It } from "./chunks/FavoriteBorder-_0szWv8_.js";
|
|
14
|
+
import { E as ve } from "./chunks/EmojiEvents-CxftZVbi.js";
|
|
15
|
+
import { B as ge } from "./chunks/Button-BPtVuOyn.js";
|
|
16
|
+
import { C as Ne } from "./chunks/CheckCircle-DKzwnhnr.js";
|
|
17
|
+
import { T as Jt } from "./chunks/TimerOutlined-DC5foG2M.js";
|
|
18
|
+
import { S as we } from "./chunks/Stack-CB_N08X-.js";
|
|
19
|
+
import { A as Qt } from "./chunks/AccessTime-D7JlgCS_.js";
|
|
20
|
+
import { A as en, S as Tt, O as tn } from "./chunks/OverlayApiErrorSkeleton-BdzLPy8g.js";
|
|
21
|
+
import { P as nn } from "./chunks/Person-OeVVOCoA.js";
|
|
22
|
+
import { S as rn } from "./chunks/Sheet-Co4lPFez.js";
|
|
23
|
+
import { T as on } from "./chunks/Table-Damdp0vr.js";
|
|
24
|
+
import { A as ln } from "./chunks/Avatar-BtqTJz-0.js";
|
|
25
|
+
import { t as vt, T as Pt, a as kt, b as Ee, c as We } from "./chunks/Tabs-CiKqMnto.js";
|
|
26
|
+
import { S as an, a as sn, O as cn, b as dn } from "./chunks/OverlayLeadAfterCollection-C-rM0D5V.js";
|
|
27
|
+
import { C as un } from "./chunks/CollectLeadForm-B1FGVWj4.js";
|
|
28
|
+
const Ye = Pe(/* @__PURE__ */ t("path", {
|
|
31
29
|
d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"
|
|
32
|
-
}), "Cancel"), At =
|
|
30
|
+
}), "Cancel"), At = Pe(/* @__PURE__ */ t("path", {
|
|
33
31
|
d: "M9.01 14H2v2h7.01v3L13 15l-3.99-4zm5.98-1v-3H22V8h-7.01V5L11 9z"
|
|
34
|
-
}), "CompareArrows"), wt =
|
|
32
|
+
}), "CompareArrows"), wt = Pe(/* @__PURE__ */ t("path", {
|
|
35
33
|
d: "M7.5 21H2V9h5.5zm7.25-18h-5.5v18h5.5zM22 11h-5.5v10H22z"
|
|
36
|
-
}), "Leaderboard"), mn =
|
|
34
|
+
}), "Leaderboard"), mn = Pe(/* @__PURE__ */ t("path", {
|
|
37
35
|
d: "M16 17.01V10h-2v7.01h-3L15 21l4-3.99zM9 3 5 6.99h3V14h2V6.99h3z"
|
|
38
|
-
}), "SwapVert"), zt =
|
|
36
|
+
}), "SwapVert"), zt = Pe(/* @__PURE__ */ t("path", {
|
|
39
37
|
d: "M9 1h6v2H9zm10.03 6.39 1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61M13 14h-2V8h2z"
|
|
40
|
-
}), "Timer"), gn =
|
|
38
|
+
}), "Timer"), gn = Pe(/* @__PURE__ */ t("path", {
|
|
41
39
|
d: "M9.68 13.69 12 11.93l2.31 1.76-.88-2.85L15.75 9h-2.84L12 6.19 11.09 9H8.25l2.31 1.84zM20 10c0-4.42-3.58-8-8-8s-8 3.58-8 8c0 2.03.76 3.87 2 5.28V23l6-2 6 2v-7.72c1.24-1.41 2-3.25 2-5.28m-8-6c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6 2.69-6 6-6"
|
|
42
40
|
}), "WorkspacePremium"), fn = (e, n) => {
|
|
43
41
|
const [i, s] = D(null), d = async () => {
|
|
@@ -221,7 +219,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
221
219
|
})
|
|
222
220
|
},
|
|
223
221
|
{
|
|
224
|
-
icon: /* @__PURE__ */ t(
|
|
222
|
+
icon: /* @__PURE__ */ t(ve, { sx: { fontSize: "1.1em" } }),
|
|
225
223
|
title: d("eitherOr.tutorial.step3Title"),
|
|
226
224
|
description: d("eitherOr.tutorial.step3Description")
|
|
227
225
|
}
|
|
@@ -1140,7 +1138,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
1140
1138
|
alignItems: "center",
|
|
1141
1139
|
justifyContent: "center"
|
|
1142
1140
|
},
|
|
1143
|
-
children: /* @__PURE__ */ t(
|
|
1141
|
+
children: /* @__PURE__ */ t(ve, { sx: { fontSize: "1.9em", color: "#fff" } })
|
|
1144
1142
|
}
|
|
1145
1143
|
)
|
|
1146
1144
|
]
|
|
@@ -1264,7 +1262,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
1264
1262
|
alignItems: "center",
|
|
1265
1263
|
justifyContent: "center"
|
|
1266
1264
|
},
|
|
1267
|
-
children: /* @__PURE__ */ t(
|
|
1265
|
+
children: /* @__PURE__ */ t(ve, { sx: { fontSize: "1.75em", color: a } })
|
|
1268
1266
|
}
|
|
1269
1267
|
),
|
|
1270
1268
|
/* @__PURE__ */ t(
|
|
@@ -1380,7 +1378,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
1380
1378
|
},
|
|
1381
1379
|
{
|
|
1382
1380
|
icon: /* @__PURE__ */ t(
|
|
1383
|
-
|
|
1381
|
+
Qt,
|
|
1384
1382
|
{
|
|
1385
1383
|
sx: { fontSize: "1.25em", color: u.textColor }
|
|
1386
1384
|
}
|
|
@@ -1537,7 +1535,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
1537
1535
|
}
|
|
1538
1536
|
),
|
|
1539
1537
|
/* @__PURE__ */ t(
|
|
1540
|
-
|
|
1538
|
+
en,
|
|
1541
1539
|
{
|
|
1542
1540
|
additionalCTA: f,
|
|
1543
1541
|
buttonStyle: {
|
|
@@ -2079,8 +2077,8 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2079
2077
|
children: d("eitherOr.leaderboard.top50Note", "Top 50")
|
|
2080
2078
|
}
|
|
2081
2079
|
),
|
|
2082
|
-
/* @__PURE__ */ t(
|
|
2083
|
-
|
|
2080
|
+
/* @__PURE__ */ t(rn, { sx: z.tableContainer, children: /* @__PURE__ */ g(
|
|
2081
|
+
on,
|
|
2084
2082
|
{
|
|
2085
2083
|
variant: "outlined",
|
|
2086
2084
|
hoverRow: !1,
|
|
@@ -2106,7 +2104,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2106
2104
|
J + 1
|
|
2107
2105
|
] }) }),
|
|
2108
2106
|
/* @__PURE__ */ t("td", { style: z.tableCellName, children: /* @__PURE__ */ g(r, { sx: z.nameCell, children: [
|
|
2109
|
-
/* @__PURE__ */ t(
|
|
2107
|
+
/* @__PURE__ */ t(ln, { src: oe, sx: z.leaderboardAvatar, children: !oe && /* @__PURE__ */ t(nn, { sx: z.avatarIcon }) }),
|
|
2110
2108
|
/* @__PURE__ */ t(
|
|
2111
2109
|
x,
|
|
2112
2110
|
{
|
|
@@ -2354,7 +2352,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2354
2352
|
gap: E.xs
|
|
2355
2353
|
},
|
|
2356
2354
|
children: [
|
|
2357
|
-
/* @__PURE__ */ t(
|
|
2355
|
+
/* @__PURE__ */ t(ve, { sx: { fontSize: "1.25em" } }),
|
|
2358
2356
|
/* @__PURE__ */ t(
|
|
2359
2357
|
x,
|
|
2360
2358
|
{
|
|
@@ -2561,7 +2559,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2561
2559
|
);
|
|
2562
2560
|
};
|
|
2563
2561
|
return /* @__PURE__ */ t(ye, { brandingBorderColor: (n == null ? void 0 : n.borderColor) || null, children: /* @__PURE__ */ t(
|
|
2564
|
-
|
|
2562
|
+
an,
|
|
2565
2563
|
{
|
|
2566
2564
|
entity: e.eitherOr,
|
|
2567
2565
|
headline: b("eitherOr.headline"),
|
|
@@ -2675,7 +2673,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2675
2673
|
onClick: u
|
|
2676
2674
|
};
|
|
2677
2675
|
return /* @__PURE__ */ t(
|
|
2678
|
-
|
|
2676
|
+
un,
|
|
2679
2677
|
{
|
|
2680
2678
|
sdk: e,
|
|
2681
2679
|
content: {
|
|
@@ -2707,7 +2705,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2707
2705
|
}, wn = (e) => {
|
|
2708
2706
|
const { t: n } = se();
|
|
2709
2707
|
return /* @__PURE__ */ t(
|
|
2710
|
-
|
|
2708
|
+
sn,
|
|
2711
2709
|
{
|
|
2712
2710
|
entity: e.eitherOr,
|
|
2713
2711
|
headline: n("eitherOr.headline"),
|
|
@@ -2878,15 +2876,15 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2878
2876
|
return W(s.currentPoints), () => clearTimeout(ne);
|
|
2879
2877
|
}
|
|
2880
2878
|
}, [s == null ? void 0 : s.currentPoints, v]);
|
|
2881
|
-
const
|
|
2879
|
+
const Ce = (n == null ? void 0 : n.points) ?? [], Ie = Ce.length >= 2 ? Ce[1].correctSteps - Ce[0].correctSteps : ((gt = Ce[0]) == null ? void 0 : gt.correctSteps) || 5;
|
|
2882
2880
|
me(() => {
|
|
2883
2881
|
const ne = N.current, ae = (s == null ? void 0 : s.currentStreak) ?? 0;
|
|
2884
|
-
if (N.current = ae, ae > ne && ae > 0 && ae %
|
|
2882
|
+
if (N.current = ae, ae > ne && ae > 0 && ae % Ie === 0) {
|
|
2885
2883
|
U(!0);
|
|
2886
2884
|
const ue = setTimeout(() => U(!1), 500);
|
|
2887
2885
|
return () => clearTimeout(ue);
|
|
2888
2886
|
}
|
|
2889
|
-
}, [s == null ? void 0 : s.currentStreak,
|
|
2887
|
+
}, [s == null ? void 0 : s.currentStreak, Ie]);
|
|
2890
2888
|
const Re = P ? ((ht = (ft = n.branding) == null ? void 0 : ft.images) == null ? void 0 : ht.mobileLogo) || ((bt = (xt = n.branding) == null ? void 0 : xt.images) == null ? void 0 : bt.mainLogo) || "" : ((yt = (pt = n.branding) == null ? void 0 : pt.images) == null ? void 0 : yt.mainLogo) || "", $t = c("common.labels.point", { count: v }), Dt = () => {
|
|
2891
2889
|
const ne = [], ae = (s == null ? void 0 : s.currentLives) ?? 3;
|
|
2892
2890
|
for (let ue = 0; ue < ae; ue++)
|
|
@@ -2914,9 +2912,9 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2914
2912
|
);
|
|
2915
2913
|
return ne;
|
|
2916
2914
|
}, Ft = () => {
|
|
2917
|
-
const ne = (s == null ? void 0 : s.currentStreak) ?? 0, ae = j ?
|
|
2915
|
+
const ne = (s == null ? void 0 : s.currentStreak) ?? 0, ae = j ? Ie : ne % Ie, Te = Math.floor(ne / Ie) + 1;
|
|
2918
2916
|
return /* @__PURE__ */ g(r, { sx: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
2919
|
-
Array.from({ length:
|
|
2917
|
+
Array.from({ length: Ie }, (Ve, Le) => /* @__PURE__ */ t(
|
|
2920
2918
|
r,
|
|
2921
2919
|
{
|
|
2922
2920
|
sx: {
|
|
@@ -2929,7 +2927,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2929
2927
|
},
|
|
2930
2928
|
`streak-${Le}`
|
|
2931
2929
|
)),
|
|
2932
|
-
|
|
2930
|
+
Te > 1 && /* @__PURE__ */ g(
|
|
2933
2931
|
x,
|
|
2934
2932
|
{
|
|
2935
2933
|
sx: {
|
|
@@ -2942,7 +2940,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2942
2940
|
},
|
|
2943
2941
|
children: [
|
|
2944
2942
|
"×",
|
|
2945
|
-
|
|
2943
|
+
Te
|
|
2946
2944
|
]
|
|
2947
2945
|
}
|
|
2948
2946
|
)
|
|
@@ -3112,7 +3110,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3112
3110
|
gap: C.xs
|
|
3113
3111
|
},
|
|
3114
3112
|
children: [
|
|
3115
|
-
/* @__PURE__ */ t(
|
|
3113
|
+
/* @__PURE__ */ t(ve, { sx: { fontSize: "1.25em" } }),
|
|
3116
3114
|
/* @__PURE__ */ t(
|
|
3117
3115
|
x,
|
|
3118
3116
|
{
|
|
@@ -3234,7 +3232,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3234
3232
|
})
|
|
3235
3233
|
},
|
|
3236
3234
|
{
|
|
3237
|
-
icon: /* @__PURE__ */ t(
|
|
3235
|
+
icon: /* @__PURE__ */ t(ve, { sx: { fontSize: "1.1em" } }),
|
|
3238
3236
|
title: c("eitherOr.tutorial.step3Title"),
|
|
3239
3237
|
description: c("eitherOr.tutorial.step3Description")
|
|
3240
3238
|
}
|
|
@@ -3272,7 +3270,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3272
3270
|
},
|
|
3273
3271
|
"& > *": { position: "relative", zIndex: 1 }
|
|
3274
3272
|
},
|
|
3275
|
-
children: ae.map((
|
|
3273
|
+
children: ae.map((Te, Ve) => {
|
|
3276
3274
|
const Le = Ve === ae.length - 1;
|
|
3277
3275
|
return /* @__PURE__ */ g(r, { children: [
|
|
3278
3276
|
/* @__PURE__ */ g(
|
|
@@ -3300,7 +3298,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3300
3298
|
justifyContent: "center",
|
|
3301
3299
|
flexShrink: 0
|
|
3302
3300
|
},
|
|
3303
|
-
children:
|
|
3301
|
+
children: Te.icon
|
|
3304
3302
|
}
|
|
3305
3303
|
),
|
|
3306
3304
|
/* @__PURE__ */ g(r, { sx: { flex: 1, minWidth: 0, pt: "2px" }, children: [
|
|
@@ -3314,7 +3312,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3314
3312
|
lineHeight: 1.3,
|
|
3315
3313
|
color: $
|
|
3316
3314
|
},
|
|
3317
|
-
children:
|
|
3315
|
+
children: Te.title
|
|
3318
3316
|
}
|
|
3319
3317
|
),
|
|
3320
3318
|
/* @__PURE__ */ t(
|
|
@@ -3329,7 +3327,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3329
3327
|
opacity: 0.65,
|
|
3330
3328
|
mt: C["2xs"]
|
|
3331
3329
|
},
|
|
3332
|
-
children:
|
|
3330
|
+
children: Te.description
|
|
3333
3331
|
}
|
|
3334
3332
|
)
|
|
3335
3333
|
] })
|
|
@@ -3499,7 +3497,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3499
3497
|
) : /* @__PURE__ */ t(ge, { variant: "soft", sx: S.signInButton, disabled: !0, children: /* @__PURE__ */ t(x, { sx: S.signInButtonText, children: e.signInCTA.defaultLabel || i("common.signIn") }) }) : /* @__PURE__ */ t(ge, { variant: "soft", sx: S.signInButton, disabled: !0, children: /* @__PURE__ */ t(x, { sx: S.signInButtonText, children: i("common.signIn") }) });
|
|
3500
3498
|
};
|
|
3501
3499
|
return /* @__PURE__ */ t(
|
|
3502
|
-
|
|
3500
|
+
cn,
|
|
3503
3501
|
{
|
|
3504
3502
|
entity: e.eitherOr,
|
|
3505
3503
|
headline: i("eitherOr.headline"),
|
|
@@ -3522,7 +3520,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3522
3520
|
e.eitherOr.branding || null
|
|
3523
3521
|
);
|
|
3524
3522
|
return /* @__PURE__ */ t(
|
|
3525
|
-
|
|
3523
|
+
tn,
|
|
3526
3524
|
{
|
|
3527
3525
|
entity: e.eitherOr,
|
|
3528
3526
|
headline: n("eitherOr.headline"),
|
|
@@ -3549,7 +3547,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
3549
3547
|
}, $n = (e) => {
|
|
3550
3548
|
const { t: n } = se();
|
|
3551
3549
|
return /* @__PURE__ */ t(
|
|
3552
|
-
|
|
3550
|
+
dn,
|
|
3553
3551
|
{
|
|
3554
3552
|
entity: e.eitherOr,
|
|
3555
3553
|
headline: n("eitherOr.headline"),
|
|
@@ -3670,7 +3668,7 @@ const Dn = (e) => {
|
|
|
3670
3668
|
le ? R(!0) : i(q.RESULTS);
|
|
3671
3669
|
return;
|
|
3672
3670
|
}
|
|
3673
|
-
const he = $.steps.find((
|
|
3671
|
+
const he = $.steps.find((Ce) => !Ce.played);
|
|
3674
3672
|
he ? (d(he), y(null), h({ isCorrect: null, selectedOption: null })) : le ? R(!0) : i(q.RESULTS);
|
|
3675
3673
|
}, 1e3);
|
|
3676
3674
|
} catch ($) {
|
|
@@ -3835,7 +3833,7 @@ const Dn = (e) => {
|
|
|
3835
3833
|
onPlayAgain: G
|
|
3836
3834
|
}
|
|
3837
3835
|
) : /* @__PURE__ */ t(De, {});
|
|
3838
|
-
}, Fn = (e) => /* @__PURE__ */ t(Vt, { packageName: "either-or-play", ...e, children: /* @__PURE__ */ t(Dn, { ...e }) }),
|
|
3836
|
+
}, Fn = (e) => /* @__PURE__ */ t(Vt, { packageName: "either-or-play", ...e, children: /* @__PURE__ */ t(Dn, { ...e }) }), dr = Fn;
|
|
3839
3837
|
export {
|
|
3840
|
-
|
|
3838
|
+
dr as EitherOrPlay
|
|
3841
3839
|
};
|