@streamlayer/react-ui 1.22.5 → 1.23.0
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/lib/app/app/Advertisement/index.js +11 -11
- package/lib/app/app/Features/Gamification/Leaderboard.js +9 -8
- package/lib/app/app/Navigation/index.js +1 -0
- package/lib/app/app/Notifications/Onboarding/Notification/index.js +12 -12
- package/lib/app/app/Notifications/index.js +31 -30
- package/lib/app/app/Points/index.js +19 -13
- package/lib/app/masters/BetPack/BetPackContent/EndScreen/index.js +2 -1
- package/lib/app/masters/BetPack/BetPackContent/StartScreen/index.js +5 -4
- package/lib/app/masters/BetPack/index.js +38 -36
- package/lib/assets/style.css +1 -1
- package/lib/hooks/analytics.js +12 -9
- package/lib/ui/advertisement/banner/index.js +3 -3
- package/lib/ui/advertisement/overlay/externalAd/index.js +7 -7
- package/lib/ui/advertisement/overlay/index.js +10 -10
- package/lib/ui/button/index.js +2 -2
- package/lib/ui/close-btn/index.js +23 -20
- package/lib/ui/gamification/detail/header/index.js +8 -8
- package/lib/ui/gamification/insight/index.js +6 -6
- package/lib/ui/gamification/invite-link/index.js +1 -1
- package/lib/ui/gamification/leaderboard/static.js +14 -13
- package/lib/ui/gamification/onboarding/index.js +15 -15
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.js +6 -6
- package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.js +10 -10
- package/lib/ui/gamification/question/inapp/notification/index.js +1 -1
- package/lib/ui/gamification/question/inapp/onboarding/index.js +10 -9
- package/lib/ui/gamification/question/inapp/prediction-result/frames/index.js +27 -27
- package/lib/ui/gamification/question/index.js +23 -23
- package/lib/ui/gamification/question/insight/index.js +6 -6
- package/lib/ui/gamification/question/list/index.js +9 -9
- package/lib/ui/gamification/question/notification/index.js +13 -12
- package/lib/ui/gamification/question/notification/insight/index.js +11 -11
- package/lib/ui/gamification/question/notification/pill/index.js +5 -5
- package/lib/ui/gamification/question/notification/prediction-result/index.js +32 -32
- package/lib/ui/gamification/question/notification/tweet/index.js +3 -3
- package/lib/ui/gamification/question/twitter/index.js +4 -4
- package/lib/ui/gamification/tabs/index.js +8 -8
- package/lib/ui/gamification/vote/insight-details/index.js +6 -6
- package/lib/ui/gamification/vote/vote-option/index.js +20 -19
- package/lib/ui/navigation/button/index.js +9 -8
- package/lib/ui/questions/insight/index.js +7 -7
- package/lib/ui/questions/twitter/index.js +54 -58
- package/lib/ui/theme/constants.d.ts +1 -0
- package/lib/ui/theme/constants.js +2 -1
- package/lib/ui/theme/masters-theme.js +1 -1
- package/lib/ui/video-player/index.js +76 -60
- package/package.json +15 -15
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import { jsx as r, jsxs as S } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect as
|
|
3
|
-
import { Content as
|
|
4
|
-
import { Lines as
|
|
5
|
-
import { Step1 as
|
|
6
|
-
import { Step2 as
|
|
7
|
-
import { CorrectStep as
|
|
8
|
-
import { Step4 as
|
|
2
|
+
import { useEffect as c, useState as k } from "react";
|
|
3
|
+
import { Content as x } from "./content.js";
|
|
4
|
+
import { Lines as T } from "./lines.js";
|
|
5
|
+
import { Step1 as g } from "./step1.js";
|
|
6
|
+
import { Step2 as j } from "./step2.js";
|
|
7
|
+
import { CorrectStep as P, InCorrectStep as R } from "./step3.js";
|
|
8
|
+
import { Step4 as d } from "./step4.js";
|
|
9
9
|
import { Container as h, Body as C } from "./styles.js";
|
|
10
|
-
const
|
|
10
|
+
const a = {
|
|
11
11
|
1: 3e3,
|
|
12
12
|
2: 4e3,
|
|
13
13
|
3: 4e3,
|
|
14
14
|
4: 4e3
|
|
15
|
-
},
|
|
16
|
-
if (
|
|
15
|
+
}, y = ({ close: m, action: o, setStep: f, votedAnswer: t, correct: n, correctAnswerTitle: u, questionTitle: e, step: i }) => {
|
|
16
|
+
if (c(() => {
|
|
17
17
|
if (f) {
|
|
18
18
|
const p = setTimeout(() => {
|
|
19
|
-
|
|
20
|
-
},
|
|
19
|
+
a[i + 1] && (n || i < 3) ? f(i + 1) : m == null || m();
|
|
20
|
+
}, a[i]);
|
|
21
21
|
return () => {
|
|
22
22
|
p && clearTimeout(p);
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
return () => {
|
|
26
26
|
};
|
|
27
|
-
}, [f, i, m,
|
|
28
|
-
return /* @__PURE__ */ r(h, { children: /* @__PURE__ */ r(C, { children: /* @__PURE__ */ r(
|
|
27
|
+
}, [f, i, m, n]), i === 1)
|
|
28
|
+
return /* @__PURE__ */ r(h, { children: /* @__PURE__ */ r(C, { children: /* @__PURE__ */ r(g, {}) }) });
|
|
29
29
|
let l = "pending";
|
|
30
|
-
return (i === 3 || i === 4) && (l =
|
|
31
|
-
i !== 1 && /* @__PURE__ */ r(
|
|
32
|
-
/* @__PURE__ */ S(
|
|
33
|
-
i === 2 && /* @__PURE__ */ r(
|
|
34
|
-
i === 3 &&
|
|
35
|
-
i === 3 && !
|
|
36
|
-
i === 4 && /* @__PURE__ */ r(
|
|
30
|
+
return (i === 3 || i === 4) && (l = n ? "correct" : "incorrect"), /* @__PURE__ */ r(h, { "data-a": "intr", onClick: () => o == null ? void 0 : o(), children: /* @__PURE__ */ S(C, { children: [
|
|
31
|
+
i !== 1 && /* @__PURE__ */ r(T, {}, i),
|
|
32
|
+
/* @__PURE__ */ S(x, { state: l, step: i, answer: (t == null ? void 0 : t.title) || "unknown", children: [
|
|
33
|
+
i === 2 && /* @__PURE__ */ r(j, { title: e || "unknown" }),
|
|
34
|
+
i === 3 && n && /* @__PURE__ */ r(P, {}),
|
|
35
|
+
i === 3 && !n && /* @__PURE__ */ r(R, { title: u || "unknown" }),
|
|
36
|
+
i === 4 && /* @__PURE__ */ r(d, { points: (t == null ? void 0 : t.points) || 0 })
|
|
37
37
|
] })
|
|
38
38
|
] }) });
|
|
39
|
-
}, G = ({ close: m, action: o, votedAnswer: f, correct:
|
|
40
|
-
const [e, i] =
|
|
39
|
+
}, G = ({ close: m, action: o, votedAnswer: f, correct: t, correctAnswerTitle: n, questionTitle: u }) => {
|
|
40
|
+
const [e, i] = k(1);
|
|
41
41
|
return /* @__PURE__ */ r(
|
|
42
|
-
|
|
42
|
+
y,
|
|
43
43
|
{
|
|
44
44
|
close: m,
|
|
45
45
|
action: o,
|
|
46
46
|
votedAnswer: f,
|
|
47
|
-
correct:
|
|
48
|
-
correctAnswerTitle:
|
|
47
|
+
correct: t,
|
|
48
|
+
correctAnswerTitle: n,
|
|
49
49
|
questionTitle: u,
|
|
50
50
|
setStep: i,
|
|
51
51
|
step: e,
|
|
@@ -55,5 +55,5 @@ const c = {
|
|
|
55
55
|
};
|
|
56
56
|
export {
|
|
57
57
|
G as PredictionResult,
|
|
58
|
-
|
|
58
|
+
y as PredictionResultSteps
|
|
59
59
|
};
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { PickHistoryStatus as i, QuestionType as
|
|
1
|
+
import { jsx as t, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { PickHistoryStatus as i, QuestionType as r, QuestionStatus as p } from "@streamlayer/sdk-web-types";
|
|
3
3
|
import { QuestionTypeData as y } from "../constants.js";
|
|
4
4
|
import { Skeleton as l } from "../../skeleton/index.js";
|
|
5
|
-
import { QuestionActionIcon as
|
|
5
|
+
import { QuestionActionIcon as s, QuestionCheckIcon as h, SkeletonContainer as S, SkeletonButton as I, QuestionCaption as L, QuestionTypeIcon as T, QuestionTypeLabel as k, QuestionItem as N, QuestionContent as f, QuestionBody as A, QuestionAction as C, PlayButton as P } from "./styles.js";
|
|
6
6
|
const w = {
|
|
7
|
-
[i.LOST]: /* @__PURE__ */ t(
|
|
7
|
+
[i.LOST]: /* @__PURE__ */ t(s, { name: "incorrectVoted" }),
|
|
8
8
|
[i.WON]: /* @__PURE__ */ t(h, { name: "icon-check" }),
|
|
9
|
-
[i.UNSET]: /* @__PURE__ */ t(
|
|
10
|
-
[i.DNP]: /* @__PURE__ */ t(
|
|
11
|
-
}, D = () => /* @__PURE__ */
|
|
9
|
+
[i.UNSET]: /* @__PURE__ */ t(s, { name: "icon-arrow" }),
|
|
10
|
+
[i.DNP]: /* @__PURE__ */ t(s, { name: "icon-arrow" })
|
|
11
|
+
}, D = () => /* @__PURE__ */ o(S, { children: [
|
|
12
12
|
/* @__PURE__ */ t(l, { loading: !0, style: { width: "35%" } }),
|
|
13
13
|
/* @__PURE__ */ t(l, { loading: !0, style: { width: "70%" } }),
|
|
14
14
|
/* @__PURE__ */ t(I, {})
|
|
15
|
-
] }), x = ({ questionTypeData:
|
|
15
|
+
] }), x = ({ questionTypeData: e, questionType: n, questionStatus: a }) => /* @__PURE__ */ o(L, { className: "SL_QuestionCaption", children: [
|
|
16
16
|
/* @__PURE__ */ t(
|
|
17
17
|
T,
|
|
18
18
|
{
|
|
19
19
|
className: "SL_QuestionTypeIcon",
|
|
20
20
|
"data-testid": "question-type-icon",
|
|
21
|
-
"data-type-trivia":
|
|
22
|
-
"data-type-poll":
|
|
23
|
-
name:
|
|
21
|
+
"data-type-trivia": n === r.TRIVIA,
|
|
22
|
+
"data-type-poll": n === r.POLL,
|
|
23
|
+
name: e.iconName
|
|
24
24
|
}
|
|
25
25
|
),
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
/* @__PURE__ */ o(k, { className: "SL_QuestionTypeLabel", children: [
|
|
27
|
+
e.label,
|
|
28
|
+
n === r.TRIVIA && a === p.RESOLVED && " • Expired"
|
|
29
29
|
] })
|
|
30
30
|
] }), R = ({
|
|
31
|
-
questionId:
|
|
32
|
-
questionType:
|
|
33
|
-
questionStatus:
|
|
31
|
+
questionId: e,
|
|
32
|
+
questionType: n,
|
|
33
|
+
questionStatus: a,
|
|
34
34
|
subject: u,
|
|
35
35
|
openForVoting: d,
|
|
36
36
|
status: m
|
|
37
37
|
}) => {
|
|
38
|
-
const c = y[
|
|
39
|
-
return c ? /* @__PURE__ */
|
|
40
|
-
/* @__PURE__ */
|
|
38
|
+
const c = y[n], Q = w[m];
|
|
39
|
+
return c ? /* @__PURE__ */ o(N, { "data-a": "intr", "data-name": e, children: [
|
|
40
|
+
/* @__PURE__ */ o(f, { children: [
|
|
41
41
|
/* @__PURE__ */ t(
|
|
42
42
|
x,
|
|
43
43
|
{
|
|
44
44
|
questionTypeData: c,
|
|
45
|
-
questionType:
|
|
46
|
-
questionStatus:
|
|
45
|
+
questionType: n,
|
|
46
|
+
questionStatus: a
|
|
47
47
|
}
|
|
48
48
|
),
|
|
49
49
|
/* @__PURE__ */ t(A, { children: u || "" })
|
|
50
50
|
] }),
|
|
51
|
-
/* @__PURE__ */ t(C, { children: d ? /* @__PURE__ */ t(P, { children: "Play" }) : Q })
|
|
51
|
+
/* @__PURE__ */ t(C, { children: d ? /* @__PURE__ */ t(P, { "data-a": "intr", "data-name": e, children: "Play" }) : Q })
|
|
52
52
|
] }) : null;
|
|
53
53
|
};
|
|
54
54
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { InsightContent as
|
|
3
|
-
import { Container as
|
|
4
|
-
const c = ({ questionId: t, ...r }) => /* @__PURE__ */
|
|
5
|
-
/* @__PURE__ */ n(
|
|
6
|
-
/* @__PURE__ */ n(
|
|
1
|
+
import { jsxs as a, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { InsightContent as i } from "../../../questions/insight/index.js";
|
|
3
|
+
import { Container as o, ActionBtn as m } from "./styles.js";
|
|
4
|
+
const c = ({ questionId: t, ...r }) => /* @__PURE__ */ a(o, { "data-a": "intr", "data-name": t, children: [
|
|
5
|
+
/* @__PURE__ */ n(i, { questionId: t, ...r }),
|
|
6
|
+
/* @__PURE__ */ n(m, { "data-a": "intr", "data-name": t, children: "View Insight" })
|
|
7
7
|
] });
|
|
8
8
|
export {
|
|
9
9
|
c as Insight
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { QuestionSkeleton as c, Question as
|
|
3
|
-
import { Insight as
|
|
2
|
+
import { QuestionSkeleton as c, Question as d } from "../index.js";
|
|
3
|
+
import { Insight as f } from "../insight/index.js";
|
|
4
4
|
import { Twitter as h } from "../twitter/index.js";
|
|
5
5
|
import { pauseAllVideos as g } from "../../../video-player/index.js";
|
|
6
6
|
import { QuestionsContainer as m } from "./styles.js";
|
|
7
|
-
const k = ({ questions: n, openQuestion: b, controlVideo:
|
|
7
|
+
const k = ({ questions: n, openQuestion: b, controlVideo: a }) => {
|
|
8
8
|
const l = (t) => {
|
|
9
9
|
const e = t.target.getAttribute("data-name");
|
|
10
10
|
e && (g(), b(e, { openedFrom: "list" }));
|
|
11
11
|
};
|
|
12
|
-
return n ? /* @__PURE__ */ r(m, { onClick: l, children: n == null ? void 0 : n.map((t) => {
|
|
13
|
-
var e,
|
|
12
|
+
return n ? /* @__PURE__ */ r(m, { "data-a": "intr", onClick: l, children: n == null ? void 0 : n.map((t) => {
|
|
13
|
+
var e, u, s;
|
|
14
14
|
if (t.type === "question" && ((e = t.attributes) == null ? void 0 : e.attributes.case) === "question") {
|
|
15
15
|
const i = t.attributes.attributes.value;
|
|
16
|
-
return /* @__PURE__ */ r(
|
|
16
|
+
return /* @__PURE__ */ r(d, { ...i }, i.questionId);
|
|
17
17
|
}
|
|
18
|
-
if (t.type === "insight" && ((
|
|
18
|
+
if (t.type === "insight" && ((u = t.attributes) == null ? void 0 : u.attributes.case) === "insight") {
|
|
19
19
|
const i = t.attributes.attributes.value;
|
|
20
|
-
return /* @__PURE__ */ r(
|
|
20
|
+
return /* @__PURE__ */ r(f, { controlVideo: a, ...i }, i.questionId);
|
|
21
21
|
}
|
|
22
22
|
if (t.type === "tweet" && ((s = t.attributes) == null ? void 0 : s.attributes.case) === "tweet") {
|
|
23
23
|
const i = t.attributes.attributes.value, o = t.attributes.id;
|
|
24
|
-
return /* @__PURE__ */ r(h, { controlVideo:
|
|
24
|
+
return /* @__PURE__ */ r(h, { controlVideo: a, ...i, tweetId: o }, o);
|
|
25
25
|
}
|
|
26
26
|
return null;
|
|
27
27
|
}) }) : /* @__PURE__ */ r(m, { children: Array.from({ length: 5 }).map((t, e) => /* @__PURE__ */ r(c, {}, e)) });
|
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
import { jsxs as m, jsx as a, Fragment as T } from "react/jsx-runtime";
|
|
2
|
-
import { QuestionType as
|
|
2
|
+
import { QuestionType as n } from "@streamlayer/sdk-web-types";
|
|
3
3
|
import { QuestionTypeData as f } from "../../constants.js";
|
|
4
4
|
import { Insight as E } from "./insight/index.js";
|
|
5
5
|
import { Container as I, CloseIconWrap as h, CloseIcon as C, Header as A, TypeIcon as W, TypeName as s, Question as x, AnswerButton as D } from "./styles.js";
|
|
6
6
|
import { Tweet as g } from "./tweet/index.js";
|
|
7
7
|
const w = ({
|
|
8
8
|
close: i,
|
|
9
|
-
action:
|
|
9
|
+
action: o,
|
|
10
10
|
controlVideo: c,
|
|
11
|
-
data: { questionType: r, question: t, insight:
|
|
11
|
+
data: { questionType: r, question: t, insight: d, tweet: e }
|
|
12
12
|
}) => {
|
|
13
13
|
const l = f[r];
|
|
14
|
-
return l ? /* @__PURE__ */ m(I, { onClick:
|
|
14
|
+
return l ? /* @__PURE__ */ m(I, { onClick: o, style: r === n.TWEET ? { paddingTop: "12px" } : {}, children: [
|
|
15
15
|
/* @__PURE__ */ a(
|
|
16
16
|
h,
|
|
17
17
|
{
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
"data-a": "intr",
|
|
19
|
+
onClick: (p) => {
|
|
20
|
+
p.stopPropagation(), i && i(p);
|
|
20
21
|
},
|
|
21
22
|
children: /* @__PURE__ */ a(C, { name: "icon-cross" })
|
|
22
23
|
}
|
|
23
24
|
),
|
|
24
|
-
r !==
|
|
25
|
+
r !== n.TWEET && /* @__PURE__ */ m(A, { children: [
|
|
25
26
|
/* @__PURE__ */ a(
|
|
26
27
|
W,
|
|
27
28
|
{
|
|
28
|
-
"data-type-trivia": r ===
|
|
29
|
-
"data-type-poll": r ===
|
|
29
|
+
"data-type-trivia": r === n.TRIVIA,
|
|
30
|
+
"data-type-poll": r === n.POLL,
|
|
30
31
|
name: l.iconName
|
|
31
32
|
}
|
|
32
33
|
),
|
|
33
34
|
/* @__PURE__ */ a(s, { children: l.label })
|
|
34
35
|
] }),
|
|
35
|
-
r ===
|
|
36
|
-
r ===
|
|
37
|
-
r !==
|
|
36
|
+
r === n.FACTOID && d && /* @__PURE__ */ a(E, { ...d, action: o, controlVideo: c }),
|
|
37
|
+
r === n.TWEET && e && /* @__PURE__ */ a(g, { ...e, action: o, controlVideo: c }),
|
|
38
|
+
r !== n.FACTOID && r !== n.TWEET && /* @__PURE__ */ m(T, { children: [
|
|
38
39
|
/* @__PURE__ */ a(x, { children: t == null ? void 0 : t.title }),
|
|
39
40
|
/* @__PURE__ */ a(D, { children: "Answer" })
|
|
40
41
|
] })
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { QuestionImages as
|
|
3
|
-
import { VideoPlayer as
|
|
4
|
-
import { InsightContainer as
|
|
5
|
-
const V = ({ video: r, image:
|
|
6
|
-
(r == null ? void 0 : r.url) && /* @__PURE__ */
|
|
7
|
-
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
/* @__PURE__ */
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
s && /* @__PURE__ */
|
|
1
|
+
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { QuestionImages as e } from "@streamlayer/sdk-web-types";
|
|
3
|
+
import { VideoPlayer as h } from "../../../../video-player/index.js";
|
|
4
|
+
import { InsightContainer as o, ImageContainer as u, Image as p, InsightContent as I, Title as g, Description as f, ActionBtn as C } from "./styles.js";
|
|
5
|
+
const V = ({ video: r, image: n, imageMode: c, heading: l, body: m, action: s, controlVideo: a }) => /* @__PURE__ */ i(o, { children: [
|
|
6
|
+
(r == null ? void 0 : r.url) && /* @__PURE__ */ t(h, { source: r.url, poster: r.thumbnailUrl, controlVideo: a }),
|
|
7
|
+
n && !(r != null && r.url) && /* @__PURE__ */ t(u, { "data-rounded": c === e.ROUNDED, children: /* @__PURE__ */ t(p, { src: n, alt: l }) }),
|
|
8
|
+
/* @__PURE__ */ i(I, { children: [
|
|
9
|
+
/* @__PURE__ */ t(g, { children: l }),
|
|
10
|
+
/* @__PURE__ */ t(f, { children: m }),
|
|
11
|
+
s && /* @__PURE__ */ t(C, { "data-a": "intr", onClick: s, children: "View Insight" })
|
|
12
12
|
] })
|
|
13
13
|
] });
|
|
14
14
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
1
|
+
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
2
2
|
import { SvgIcon as m } from "../../../../icons/index.js";
|
|
3
|
-
import { Container as c, Content as
|
|
4
|
-
const
|
|
3
|
+
import { Container as c, Content as a, Title as l } from "./styles.js";
|
|
4
|
+
const f = ({ title: n, onClick: o, className: i, style: t }) => /* @__PURE__ */ r(c, { "data-a": "intr", onClick: o, className: i, style: t, children: /* @__PURE__ */ e(a, { children: [
|
|
5
5
|
/* @__PURE__ */ r(m, { name: "iconUp" }),
|
|
6
|
-
n && /* @__PURE__ */ r(
|
|
6
|
+
n && /* @__PURE__ */ r(l, { children: n })
|
|
7
7
|
] }) });
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
f as Pill
|
|
10
10
|
};
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import { jsx as C, jsxs as
|
|
1
|
+
import { jsx as C, jsxs as t, Fragment as I } from "react/jsx-runtime";
|
|
2
2
|
import { useState as P, useRef as T, useEffect as g } from "react";
|
|
3
3
|
import { AnimatedCounter as Y } from "../../../../animated-counter/index.js";
|
|
4
4
|
import { AnimationLines as F } from "./animation-lines/index.js";
|
|
5
5
|
import { MIN_CONTENT_HEIGHT as S, Container as _, InnerContainer as B, Content as o, SubtitleFG as y, Title as f, Subtitle as d, AnswerText as p, FeedbackIconCorrect as M, PointsTitle as G, CloseIconWrap as Z, CloseIcon as m, FeedbackIconIncorrect as N } from "./styles.js";
|
|
6
|
-
const E = "data:image/svg+xml,%3csvg%20width='154'%20height='37'%20viewBox='0%200%20154%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M70.9776%2030.8796L74.668%2018.1381C75.0696%2016.7473%2076.1186%2015.6318%2077.4936%2015.1371L77.5928%2014.7217H72.466L63.7623%2024.9662L60.431%2014.7217H55.7389L55.6255%2015.1371C56.4288%2015.5291%2056.8683%2016.7052%2056.8683%2017.662V17.7227C56.8683%2023.1787%2052.781%2032.5598%2047.0352%2032.5598C44.8002%2032.5598%2043.6425%2031.0009%2043.6425%2029.7035C43.6425%2028.1306%2044.975%2027.0105%2046.3831%2027.0105C47.744%2027.0105%2047.9519%2027.5099%2048.741%2027.5099C49.2182%2027.5099%2049.6766%2027.2672%2049.9081%2026.8518C50.2672%2026.1984%2049.9931%2025.4049%2049.3363%2025.0922L48.9772%2024.9242C45.6271%2023.3327%2041.7383%2025.7457%2041.7383%2029.4188V29.4701C41.7383%2032.1444%2043.8646%2034.38%2046.5674%2034.4733C53.5417%2034.716%2058.2055%2025.4236%2058.9473%2018.6188L59.486%2020.4577L62.2313%2028.5927H63.2709L71.8518%2018.4741L68.2512%2030.8936C67.8401%2032.3171%2066.6966%2033.4232%2065.2412%2033.7966L65.142%2034.212H72.0408L72.1542%2033.7966C71.1383%2033.2039%2070.6516%2032.0044%2070.9776%2030.8796Z'%20fill='white'/%3e%3cpath%20d='M88.2952%2021.6521H88.2385C85.016%2021.6568%2081.5571%2021.9648%2079.7143%2027.1361C78.1692%2031.4813%2077.7487%2033.2828%2076.539%2033.2828C75.7641%2033.2828%2075.9531%2031.794%2074.7954%2031.794C74.2709%2031.794%2073.7275%2032.2094%2073.6897%2032.8068C73.6236%2033.8429%2075.0317%2034.4683%2076.0949%2034.4683C79.3316%2034.4683%2080.5696%2032.1347%2080.9759%2031.0472C81.0279%2030.9072%2081.3162%2030.1371%2081.6517%2029.2317H85.0538L84.4773%2031.3273C84.1749%2032.4334%2083.5464%2033.3388%2082.488%2033.8009L82.3982%2034.2163H87.9597L88.0637%2033.8009C87.3124%2033.1848%2086.9816%2032.2%2087.2273%2031.2853L89.3206%2023.4257C89.4812%2022.8236%2089.9018%2022.3242%2090.4783%2022.0628L90.568%2021.6475H88.7536H88.2952V21.6521ZM85.3231%2028.2189H82.0202C82.3935%2027.2108%2082.7526%2026.2493%2082.8755%2025.9366C83.7118%2023.757%2085.2995%2022.8749%2086.8399%2022.7536L86.8257%2022.7676L85.3231%2028.2189Z'%20fill='white'/%3e%3cpath%20d='M116.358%2022.5486C116.538%2022.2545%20116.708%2021.8112%20116.708%2021.5591C116.732%2021.0877%20116.297%2020.7237%20115.829%2020.8217C115.456%2020.9011%20115.187%2021.2324%20115.191%2021.6058C115.196%2021.9978%20115.12%2022.4226%20114.95%2022.6279C114.558%2023.104%20113.934%2023.062%20111.062%2022.2452V22.2405C110.797%2022.1659%20110.509%2022.0819%20110.206%2021.9978C110.187%2021.9932%20110.173%2021.9885%20110.159%2021.9838C108.723%2021.6011%20106.941%2021.2464%20105.774%2021.8205C105.765%2021.8252%20105.755%2021.8298%20105.746%2021.8345C104.602%2022.3992%20103.808%2023.4727%20103.567%2024.7142C103.53%2024.8962%20103.506%2025.0455%20103.501%2025.0969C103.468%2025.7456%20104.068%2026.2544%20104.711%2026.1143C105.235%2026.0023%20105.604%2025.5403%20105.59%2025.0129C105.58%2024.4808%20105.472%2023.7667%20105.765%2023.286C106.237%2022.6279%20106.729%2022.5812%20108.935%2023.3047L106.544%2031.323C106.214%2032.4291%20105.406%2033.3345%20104.338%2033.7966L104.238%2034.212H109.961L110.074%2033.7966C109.337%2033.1852%20109.03%2032.1957%20109.299%2031.2809L111.392%2024.0561C112.309%2024.2428%20113.24%2024.2941%20114.147%2024.0374L114.473%2023.9441C115.196%2023.7527%20115.943%2023.2347%20116.358%2022.5486Z'%20fill='white'/%3e%3cpath%20d='M118.649%2021.6523L118.536%2022.0677C119.245%2022.5531%20119.561%2023.4259%20119.335%2024.2427L117.208%2031.3228C116.877%2032.429%20116.069%2033.3344%20115.002%2033.7964L114.902%2034.2118H117.931H118.21H125.18L126.101%2030.8934H125.666L125.51%2031.2108C124.934%2032.3963%20123.72%2033.1524%20122.382%2033.1524H119.429L121.003%2027.5937H122.259C123.105%2027.5937%20123.743%2028.3545%20123.582%2029.1759H124.012L125.043%2025.4188H124.613C124.362%2026.1142%20123.696%2026.5763%20122.949%2026.5809H121.291L122.382%2022.7258L125.515%2022.7211C126.536%2022.7211%20127.301%2023.6452%20127.098%2024.6347H127.528L128.35%2021.6523H118.649Z'%20fill='white'/%3e%3cpath%20d='M138.251%2021.6582H131.333L131.22%2022.0736C131.881%2022.5263%20132.207%2023.3197%20132.056%2024.0898L129.892%2031.324C129.561%2032.4301%20128.753%2033.3356%20127.685%2033.7976L127.586%2034.213H133.303L133.417%2033.7976C132.68%2033.1862%20132.373%2032.2014%20132.637%2031.282L133.686%2027.5949H134.126C134.787%2027.5949%20135.34%2028.085%20135.416%2028.7337C135.439%2028.9437%20135.77%2031.506%20136.035%2032.3881C136.379%2033.5409%20136.833%2034.213%20137.868%2034.213H140.453L140.552%2033.7976L140.183%2033.5829C139.451%2033.1536%20138.922%2032.4908%20138.685%2031.6087C138.463%2030.7779%20138.043%2029.2284%20137.84%2028.4117C137.736%2027.9916%20137.202%2027.5996%20136.654%2027.5996H137.523C139.087%2027.5996%20140.457%2026.5681%20140.878%2025.0839C141.365%2023.3617%20140.056%2021.6582%20138.251%2021.6582ZM138.369%2024.6872C138.029%2025.812%20136.98%2026.5868%20135.789%2026.5868H133.974L135.071%2022.7317H136.89C137.925%2022.727%20138.662%2023.7118%20138.369%2024.6872Z'%20fill='white'/%3e%3cpath%20d='M100.265%2022.2961C100.081%2022.2961%2099.6794%2022.1701%2099.0651%2021.9181C98.4508%2021.6661%2097.8318%2021.54%2097.2034%2021.54C95.904%2021.54%2094.8219%2021.9554%2093.9336%2022.8422C93.1964%2023.5796%2092.8704%2024.401%2092.8704%2025.1105C92.8704%2025.8665%2093.3193%2026.7533%2094.2124%2027.4721C95.0582%2028.1488%2095.937%2028.8022%2096.8206%2029.465C97.7468%2030.1977%2098.2098%2030.8745%2098.2098%2031.4252C98.2098%2032.634%2097.416%2033.2828%2095.7669%2033.2828C94.0942%2033.2828%2092.9366%2032.074%2092.568%2029.8057H92.1144L90.8008%2034.2162H91.226C91.7694%2033.8382%2092.1569%2033.6001%2092.946%2033.6001C93.6973%2033.6001%2094.5006%2034.4729%2096.2158%2034.4729C97.5814%2034.4729%2098.6682%2034.1929%2099.5943%2033.2781C100.383%2032.4753%20100.776%2031.3552%20100.776%2030.4404C100.776%2029.591%20100.237%2028.6062%2099.2966%2027.8921C98.4886%2027.2807%2097.6286%2026.7347%2096.7923%2026.1419C95.8898%2025.4792%2095.4362%2024.9144%2095.4362%2024.2937C95.4362%2023.9483%2095.611%2023.6076%2095.9559%2023.2622C96.3954%2022.8282%2096.986%2022.7302%2097.7751%2022.7302C99.3581%2022.7302%20100.464%2023.5983%20100.558%2025.4325H100.974L102.08%2021.5447H101.664C101.215%2022.0441%20100.752%2022.2961%20100.265%2022.2961Z'%20fill='white'/%3e%3cpath%20d='M149.201%2022.7304C150.784%2022.7304%20151.89%2023.6032%20151.984%2025.4327H152.4L153.501%2021.5449H153.085C152.646%2022.049%20152.182%2022.301%20151.696%2022.301C151.512%2022.301%20151.11%2022.175%20150.496%2021.923C149.881%2021.6709%20149.262%2021.5449%20148.634%2021.5449C147.334%2021.5449%20146.252%2021.9603%20145.364%2022.8471C144.627%2023.5845%20144.296%2024.4059%20144.296%2025.1153C144.296%2025.8714%20144.745%2026.7582%20145.638%2027.477C146.484%2028.1537%20147.363%2028.8071%20148.246%2029.4699C149.173%2030.2026%20149.636%2030.8794%20149.636%2031.4301C149.636%2032.6389%20148.842%2033.2876%20147.193%2033.2876C145.52%2033.2876%20144.362%2032.0788%20143.994%2029.8106H143.54L142.227%2034.2211H142.642C143.186%2033.843%20143.573%2033.605%20144.358%2033.605C145.109%2033.605%20145.912%2034.4778%20147.627%2034.4778C148.993%2034.4778%20150.075%2034.1978%20151.006%2033.283C151.795%2032.4802%20152.187%2031.3601%20152.187%2030.4453C152.187%2029.6005%20151.649%2028.6111%20150.708%2027.897C149.9%2027.2856%20149.04%2026.7395%20148.204%2026.1468C147.301%2025.4841%20146.848%2024.9193%20146.848%2024.2986C146.848%2023.9532%20147.023%2023.6125%20147.368%2023.2671C147.826%2022.8237%20148.412%2022.7304%20149.201%2022.7304Z'%20fill='white'/%3e%3cpath%20d='M26.5433%202.60035C26.0377%202.44633%2025.5321%202.72169%2025.0265%203.00173C24.8469%203.09974%2024.7194%203.27243%2024.6768%203.46845L23.883%207.13222C23.8547%207.26757%2023.9775%207.38891%2024.1145%207.36091C24.9509%207.17422%2025.7447%206.4508%2026.5811%206.70283C27.5167%206.98753%2028.4522%205.81606%2029.3878%205.83006V1.60156C28.4475%201.60623%2027.4789%202.88505%2026.5433%202.60035Z'%20fill='white'/%3e%3cpath%20d='M38.4856%2013.8398C38.2871%2013.7044%2038.1643%2013.4851%2038.1643%2013.2471V12.5796C38.1643%2011.9822%2037.6729%2011.4922%2037.0633%2011.4922H36.6239C36.0994%2011.4922%2035.6174%2011.7536%2035.3339%2012.1876L33.9164%2014.3485C33.7746%2014.5632%2033.5383%2014.6892%2033.2832%2014.6892H32.3287C31.8562%2014.6892%2031.4215%2014.9459%2031.1947%2015.3566C30.9631%2015.7814%2030.552%2016.0754%2030.0843%2016.1734V1.1403C30.0843%200.94894%2029.9283%200.794922%2029.7346%200.794922C29.5409%200.794922%2029.3849%200.94894%2029.3849%201.1403V1.60702V5.83552V16.1827C28.9171%2016.0847%2028.506%2015.7907%2028.2745%2015.3613C28.0524%2014.9506%2027.6177%2014.6939%2027.1405%2014.6939H26.4979C25.9875%2014.6939%2025.5292%2014.9879%2025.3213%2015.45L24.7873%2016.6308C24.7023%2016.8175%2024.5133%2016.9388%2024.3054%2016.9388C24.0975%2016.9388%2023.9085%2016.8175%2023.8234%2016.6308L23.2895%2015.45C23.0816%2014.9926%2022.6232%2014.6939%2022.1129%2014.6939H4.00135C3.85487%2014.6939%203.73674%2014.8106%203.73674%2014.9553C3.73674%2015.2633%203.48158%2015.5107%203.17444%2015.5107H2.39007C2.24359%2015.5107%202.12546%2015.6273%202.12546%2015.772V16.6728C2.12546%2017.5176%201.96008%2018.339%201.62931%2019.1184L1.15207%2020.2526C0.707907%2021.3027%200.5%2022.3901%200.5%2023.4589V26.0726C0.5%2026.7773%200.603954%2027.4914%200.811861%2028.1868C1.39306%2030.1377%202.7161%2031.7339%204.53529%2032.6767L7.43182%2034.1842C7.46962%2034.2029%207.51214%2034.2122%207.55467%2034.2122L9.69517%2034.2309C10.196%2034.2355%2010.6875%2034.3616%2011.1269%2034.6043L12.2751%2035.239C12.3129%2035.2623%2012.3602%2035.2717%2012.4074%2035.2717H13.9431C14.4818%2035.2717%2015.0157%2035.4163%2015.474%2035.6917C15.474%2035.6917%2016.2253%2036.1444%2016.4805%2036.2891C16.8869%2036.5225%2017.3783%2036.7465%2018.2335%2036.7932C18.4273%2036.8025%2018.621%2036.7325%2018.7675%2036.5972C18.9092%2036.4618%2018.9943%2036.2704%2018.9943%2036.0791V35.0616C18.9943%2034.3242%2019.4337%2033.6521%2020.1189%2033.3581L22.4673%2032.3406C22.7886%2032.2006%2023.1477%2032.1773%2023.4832%2032.28L24.3621%2032.5367C24.7354%2032.644%2025.1323%2032.6487%2025.5056%2032.5367L27.5846%2031.9253C27.8587%2031.8459%2028.1517%2031.8459%2028.4304%2031.9299L29.2763%2032.1633C29.6684%2032.2706%2029.9472%2032.6347%2029.9472%2033.0361V35.071C29.9472%2036.0184%2030.7269%2036.7932%2031.6861%2036.7932C32.4043%2036.7932%2033.0328%2036.3405%2033.2501%2035.6637C33.6423%2034.4456%2033.8408%2033.1761%2033.8408%2031.8973V31.0292C33.8408%2030.4131%2034.1006%2029.8204%2034.5543%2029.3956L35.419%2028.5882C36.0002%2028.0421%2036.3356%2027.2674%2036.3356%2026.474V21.6481C36.3356%2020.9013%2036.5625%2020.1779%2036.9972%2019.5618C37.0302%2019.5198%2037.0444%2019.4638%2037.0444%2019.4125V18.2737C37.0444%2017.5316%2037.2712%2016.8128%2037.6965%2016.2014L38.5517%2014.9739C38.5848%2014.9319%2038.599%2014.8806%2038.599%2014.8246V14.0545C38.6037%2013.9098%2038.5139%2013.8585%2038.4856%2013.8398ZM30.0843%2025.2838C30.6654%2025.3725%2031.1002%2025.6665%2031.1002%2026.0212C31.1002%2026.3759%2030.6702%2026.67%2030.0843%2026.7587V25.2838ZM5.22516%2032.4433L4.78572%2032.2146C3.59026%2031.5939%202.63577%2030.6698%201.9837%2029.545V28.1355C2.73028%2029.2043%203.74619%2030.1144%204.98891%2030.7631L5.22516%2030.8845V32.4433ZM7.43654%2033.5961L6.2647%2032.9894V31.4305L7.43182%2032.0373H7.43654V33.5961ZM12.3129%2034.6556L11.3868%2034.1422C10.8812%2033.8622%2010.3142%2033.7128%209.73297%2033.7035V32.0793C10.2197%2032.0886%2010.7016%2032.2146%2011.1269%2032.448L12.2751%2033.0827C12.2846%2033.0874%2012.2987%2033.0874%2012.3129%2033.0921V34.6556ZM18.4603%2035.0616V35.8551V36.0791C18.4603%2036.1304%2018.4367%2036.1818%2018.3989%2036.2191C18.3611%2036.2564%2018.3139%2036.2705%2018.2619%2036.2705C17.52%2036.2331%2017.0948%2036.0418%2016.7498%2035.8411C16.4994%2035.6964%2015.7528%2035.2483%2015.7481%2035.2483C15.2803%2034.9683%2014.7511%2034.8143%2014.2077%2034.7723V33.1387C14.6519%2033.1808%2015.0866%2033.3114%2015.474%2033.5401L16.1214%2033.9228C16.8302%2034.3429%2017.6382%2034.5809%2018.4603%2034.6276V35.0616ZM24.8582%2032.0886C24.7448%2032.084%2024.6267%2032.0653%2024.5133%2032.0326L23.6344%2031.7713C23.4454%2031.7152%2023.2517%2031.6966%2023.0579%2031.6966V30.0677C23.1997%2030.0677%2023.3414%2030.0817%2023.4832%2030.1237L24.3621%2030.3804C24.5227%2030.4271%2024.6928%2030.4504%2024.8582%2030.4598V32.0886ZM30.363%2032.4807C30.1929%2032.0886%2029.8574%2031.7759%2029.4275%2031.6592L28.5864%2031.4259C28.3879%2031.3652%2028.18%2031.3419%2027.9721%2031.3419V29.7177C28.1328%2029.713%2028.2934%2029.7317%2028.4493%2029.783L29.1392%2029.9977C29.8716%2030.2264%2030.363%2030.8891%2030.363%2031.6452V32.4807ZM32.787%2035.365C32.7729%2035.4117%2032.7634%2035.4584%2032.7492%2035.505C32.6028%2035.9624%2032.1775%2036.2658%2031.6955%2036.2658C31.653%2036.2658%2031.6105%2036.2564%2031.568%2036.2518V34.6323C31.601%2034.6369%2031.6294%2034.6416%2031.6625%2034.6416C32.135%2034.6416%2032.565%2034.3802%2032.7918%2033.9835V35.365H32.787ZM37.3232%2015.0486C36.794%2015.8047%2036.5152%2016.6915%2036.5152%2017.6109V18.4137L36.1041%2019.0017C35.5702%2019.7625%2035.2867%2020.6539%2035.2867%2021.578V25.6245C35.2867%2026.2779%2035.0126%2026.9173%2034.5306%2027.3654L33.6659%2028.1775C33.0847%2028.7236%2032.7634%2029.489%2032.787%2030.2824L32.7918%2030.4644C32.8248%2031.5146%2032.6878%2032.56%2032.3901%2033.5681C32.2956%2033.8902%2031.9932%2034.1142%2031.6577%2034.1142C31.2372%2034.1142%2030.8923%2033.7782%2030.8923%2033.3581V31.6452C30.8923%2030.6558%2030.2496%2029.7923%2029.2952%2029.4983L28.6053%2029.2836C28.2225%2029.1669%2027.8209%2029.1623%2027.4334%2029.2743L25.3544%2029.881C25.0803%2029.9604%2024.7873%2029.9604%2024.5133%2029.881L23.6344%2029.6243C23.1808%2029.489%2022.6894%2029.5217%2022.2547%2029.7083L20.4071%2030.5111C19.2258%2031.0245%2018.4651%2032.1773%2018.4651%2033.4515V34.1095C17.7374%2034.0675%2017.0286%2033.8528%2016.4002%2033.4795L15.7528%2033.0967C15.2047%2032.7747%2014.581%2032.602%2013.9431%2032.602H12.4736L11.3868%2031.9999C10.8717%2031.7152%2010.2905%2031.5659%209.69989%2031.5612L7.62082%2031.5472L5.23461%2030.3057C1.61514%2028.4249%200.0700101%2024.1917%201.64349%2020.4579L2.12073%2019.3238C2.47512%2018.4837%202.6594%2017.5922%202.6594%2016.6775V16.0427H3.17444C3.68476%2016.0427%204.11948%2015.6927%204.2376%2015.2213H22.1176C22.4153%2015.2213%2022.6894%2015.394%2022.8075%2015.6647L23.3414%2016.8455C23.5115%2017.2235%2023.8896%2017.4662%2024.3101%2017.4662C24.7259%2017.4662%2025.1087%2017.2235%2025.2788%2016.8455L25.8127%2015.66C25.9356%2015.3893%2026.2049%2015.2166%2026.5026%2015.2166H27.1452C27.424%2015.2166%2027.6791%2015.366%2027.8114%2015.6087C28.1375%2016.2061%2028.7234%2016.6075%2029.3897%2016.7148V24.145C28.317%2024.2617%2027.4949%2024.8918%2027.4949%2025.6572C27.4949%2026.5066%2028.4966%2027.1927%2029.7346%2027.1927C30.9726%2027.1927%2031.9743%2026.5066%2031.9743%2025.6572C31.9743%2024.8918%2031.1521%2024.257%2030.0795%2024.145V16.7101C30.7458%2016.6028%2031.3317%2016.2014%2031.6577%2015.604C31.79%2015.3613%2032.0452%2015.212%2032.324%2015.212H33.2785C33.7179%2015.212%2034.1195%2014.9926%2034.3605%2014.6286L35.7781%2012.4676C35.9624%2012.1829%2036.2789%2012.0149%2036.6239%2012.0149H37.0633C37.3752%2012.0149%2037.6303%2012.2669%2037.6303%2012.575V13.2424C37.6303%2013.5644%2037.7579%2013.8725%2037.98%2014.1012L37.3232%2015.0486ZM29.3849%2025.2838V26.7587C28.8037%2026.67%2028.3737%2026.3759%2028.3737%2026.0212C28.3737%2025.6665%2028.8037%2025.3678%2029.3849%2025.2838Z'%20fill='white'/%3e%3c/svg%3e", R = "data:image/svg+xml,%3csvg%20width='159'%20height='28'%20viewBox='0%200%20159%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6919_71839)'%3e%3cpath%20d='M4.13243%2025.9198C5.34921%2026.9052%207.05161%2027.0267%208.39597%2026.224L22.9838%2017.5138C25.4013%2016.0703%2025.4117%2012.5721%2023.0028%2011.1144L17.4686%207.76522C15.4767%206.55981%2012.8918%207.10053%2011.5501%209.00325L3.27399%2020.7399C2.14132%2022.3462%202.44805%2024.5556%203.97544%2025.7926L4.13243%2025.9198Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M4.11673%202.57147C5.33939%201.58127%207.0516%201.46387%208.39797%202.27791L22.9843%2011.0971C25.3835%2012.5477%2025.3874%2016.0265%2022.9914%2017.4824L17.5405%2020.7946C15.5485%2022.005%2012.9594%2021.4661%2011.6157%2019.5615L3.27518%207.7386C2.142%206.1323%202.44856%203.92248%203.97619%202.68529L4.11673%202.57147Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M49.8088%2020.0063C47.924%2020.0063%2046.7521%2018.7437%2046.7521%2016.6748V13.1359H50.1977V10.9296H46.7521V7.34668L44.2736%209.18483V10.9271H42.8892V13.1333H44.2736V16.6515C44.2736%2020.2137%2046.3632%2022.4174%2049.8321%2022.4174H50.361V20.0063H49.8088Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M30.4704%2019.5631L32.6818%2017.8339C33.6722%2019.4231%2035.01%2020.2761%2036.7159%2020.2761C38.5826%2020.2761%2039.757%2019.0783%2039.757%2017.5798C39.757%2015.8505%2037.9137%2015.2983%2035.977%2014.6761C33.6956%2013.9398%2031.23%2013.0168%2031.23%209.92907C31.23%207.37018%2033.5115%205.34277%2036.6226%205.34277C39.1815%205.34277%2040.7707%206.33314%2042.0618%207.83166L40.0111%209.35351C39.2515%208.17907%2038.1211%207.55685%2036.6226%207.55685C34.9167%207.55685%2033.8096%208.57055%2033.8096%209.88499C33.8096%2011.4976%2035.5856%2012.0291%2037.5196%2012.6746C39.8244%2013.4576%2042.3367%2014.4506%2042.3367%2017.585C42.3367%2020.1672%2040.2159%2022.6328%2036.7367%2022.6328C33.8563%2022.6328%2031.8963%2021.4117%2030.4678%2019.5683L30.4704%2019.5631Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M58.9189%2016.7007C58.9189%2013.3225%2061.5141%2010.6807%2064.8923%2010.6807C68.2704%2010.6807%2070.7982%2013.1384%2070.7982%2016.5399V17.5044H61.286C61.6075%2019.2725%2062.9867%2020.4444%2064.9856%2020.4444C66.5489%2020.4444%2067.7441%2019.6173%2068.3404%2018.3755L70.3627%2019.5007C69.3515%2021.3855%2067.5367%2022.6247%2064.9856%2022.6247C61.356%2022.6247%2058.9189%2020.0296%2058.9189%2016.6981V16.7007ZM61.4001%2015.4147H68.2938C67.9256%2013.7607%2066.663%2012.8403%2064.8923%2012.8403C63.1215%2012.8403%2061.8589%2013.8981%2061.4001%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M51.8955%2016.6752C51.8955%2013.113%2053.9851%2010.9326%2057.454%2010.9326H58.5559V13.323H57.4307C55.5459%2013.323%2054.33%2014.6322%2054.3533%2016.7011V22.423H51.8955V16.6804V16.6752Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M72.0138%2016.6774C72.0138%2013.3226%2074.6557%2010.7041%2077.9638%2010.7041C81.272%2010.7041%2083.8672%2013.3226%2083.8672%2016.6774V22.42H81.456V20.9267C80.6523%2022.0052%2079.4105%2022.6274%2077.8938%2022.6274C74.609%2022.6274%2072.0112%2020.0556%2072.0112%2016.6774H72.0138ZM81.5027%2016.6774C81.5027%2014.6319%2079.9394%2013.0011%2077.9638%2013.0011C75.9883%2013.0011%2074.4249%2014.6319%2074.4249%2016.6774C74.4249%2018.723%2075.9649%2020.3537%2077.9638%2020.3537C79.9627%2020.3537%2081.5027%2018.6997%2081.5027%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M85.4155%2015.978C85.4155%2012.9214%2087.5052%2010.6943%2090.6085%2010.6943C92.3766%2010.6943%2093.8026%2011.4073%2094.697%2012.6025C95.5474%2011.4073%2096.9266%2010.6943%2098.6948%2010.6943C101.819%2010.6943%20104.002%2012.8773%20104.002%2015.978V22.4103H101.544V16.0014C101.544%2014.2566%20100.372%2013.038%2098.6948%2013.038C97.0174%2013.038%2095.9155%2014.2799%2095.9389%2015.934V22.4129H93.4811V16.004C93.4811%2014.2592%2092.2859%2013.0406%2090.6085%2013.0406C88.9311%2013.0406%2087.8526%2014.2825%2087.8733%2015.9366V22.4154H85.4155V15.9832V15.978Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M105.578%205.6416H108.082V20.0227H114.859V22.4131H105.578V5.6416Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M138.483%2016.7007C138.483%2013.3225%20141.078%2010.6807%20144.456%2010.6807C147.834%2010.6807%20150.362%2013.1384%20150.362%2016.5399V17.5044H140.85C141.171%2019.2725%20142.551%2020.4444%20144.55%2020.4444C146.113%2020.4444%20147.308%2019.6173%20147.904%2018.3755L149.927%2019.5007C148.916%2021.3855%20147.101%2022.6247%20144.55%2022.6247C140.92%2022.6247%20138.483%2020.0296%20138.483%2016.6981V16.7007ZM140.964%2015.4147H147.858C147.49%2013.7607%20146.227%2012.8403%20144.456%2012.8403C142.685%2012.8403%20141.423%2013.8981%20140.964%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M115.269%2016.6774C115.269%2013.3226%20117.911%2010.7041%20121.219%2010.7041C124.527%2010.7041%20127.122%2013.3226%20127.122%2016.6774V22.42H124.711V20.9267C123.907%2022.0052%20122.665%2022.6274%20121.149%2022.6274C117.864%2022.6274%20115.266%2020.0556%20115.266%2016.6774H115.269ZM124.758%2016.6774C124.758%2014.6319%20123.194%2013.0011%20121.219%2013.0011C119.243%2013.0011%20117.68%2014.6319%20117.68%2016.6774C117.68%2018.723%20119.22%2020.3537%20121.219%2020.3537C123.218%2020.3537%20124.758%2018.6997%20124.758%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M131.67%2021.8547L126.915%2010.9658H129.557L132.912%2018.938L136.082%2010.9658H138.678L131.74%2027.7606H129.212L131.67%2021.8573V21.8547Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M151.897%2016.6674C151.897%2013.1052%20153.987%2010.9248%20157.455%2010.9248H158.557V13.3152H157.432C155.547%2013.3152%20154.331%2014.6244%20154.355%2016.6933V22.4152H151.897V16.6726V16.6674Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6919_71839'%3e%3crect%20width='158.12'%20height='28'%20fill='white'%20style='fill:white;fill-opacity:1;'%20transform='translate(0.44043)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", W = (s, i, L) => s === i ? "translateY(0px)" : s > i ? `translateY(${L}px)` : "translateY(-100%)", D = ({ close: s, votedAnswer: i, mastersApp: L, correct: n, correctAnswerTitle: w, questionTitle: k, saveHeight: u, style: a, hiding: x }) => {
|
|
6
|
+
const E = "data:image/svg+xml,%3csvg%20width='154'%20height='37'%20viewBox='0%200%20154%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M70.9776%2030.8796L74.668%2018.1381C75.0696%2016.7473%2076.1186%2015.6318%2077.4936%2015.1371L77.5928%2014.7217H72.466L63.7623%2024.9662L60.431%2014.7217H55.7389L55.6255%2015.1371C56.4288%2015.5291%2056.8683%2016.7052%2056.8683%2017.662V17.7227C56.8683%2023.1787%2052.781%2032.5598%2047.0352%2032.5598C44.8002%2032.5598%2043.6425%2031.0009%2043.6425%2029.7035C43.6425%2028.1306%2044.975%2027.0105%2046.3831%2027.0105C47.744%2027.0105%2047.9519%2027.5099%2048.741%2027.5099C49.2182%2027.5099%2049.6766%2027.2672%2049.9081%2026.8518C50.2672%2026.1984%2049.9931%2025.4049%2049.3363%2025.0922L48.9772%2024.9242C45.6271%2023.3327%2041.7383%2025.7457%2041.7383%2029.4188V29.4701C41.7383%2032.1444%2043.8646%2034.38%2046.5674%2034.4733C53.5417%2034.716%2058.2055%2025.4236%2058.9473%2018.6188L59.486%2020.4577L62.2313%2028.5927H63.2709L71.8518%2018.4741L68.2512%2030.8936C67.8401%2032.3171%2066.6966%2033.4232%2065.2412%2033.7966L65.142%2034.212H72.0408L72.1542%2033.7966C71.1383%2033.2039%2070.6516%2032.0044%2070.9776%2030.8796Z'%20fill='white'/%3e%3cpath%20d='M88.2952%2021.6521H88.2385C85.016%2021.6568%2081.5571%2021.9648%2079.7143%2027.1361C78.1692%2031.4813%2077.7487%2033.2828%2076.539%2033.2828C75.7641%2033.2828%2075.9531%2031.794%2074.7954%2031.794C74.2709%2031.794%2073.7275%2032.2094%2073.6897%2032.8068C73.6236%2033.8429%2075.0317%2034.4683%2076.0949%2034.4683C79.3316%2034.4683%2080.5696%2032.1347%2080.9759%2031.0472C81.0279%2030.9072%2081.3162%2030.1371%2081.6517%2029.2317H85.0538L84.4773%2031.3273C84.1749%2032.4334%2083.5464%2033.3388%2082.488%2033.8009L82.3982%2034.2163H87.9597L88.0637%2033.8009C87.3124%2033.1848%2086.9816%2032.2%2087.2273%2031.2853L89.3206%2023.4257C89.4812%2022.8236%2089.9018%2022.3242%2090.4783%2022.0628L90.568%2021.6475H88.7536H88.2952V21.6521ZM85.3231%2028.2189H82.0202C82.3935%2027.2108%2082.7526%2026.2493%2082.8755%2025.9366C83.7118%2023.757%2085.2995%2022.8749%2086.8399%2022.7536L86.8257%2022.7676L85.3231%2028.2189Z'%20fill='white'/%3e%3cpath%20d='M116.358%2022.5486C116.538%2022.2545%20116.708%2021.8112%20116.708%2021.5591C116.732%2021.0877%20116.297%2020.7237%20115.829%2020.8217C115.456%2020.9011%20115.187%2021.2324%20115.191%2021.6058C115.196%2021.9978%20115.12%2022.4226%20114.95%2022.6279C114.558%2023.104%20113.934%2023.062%20111.062%2022.2452V22.2405C110.797%2022.1659%20110.509%2022.0819%20110.206%2021.9978C110.187%2021.9932%20110.173%2021.9885%20110.159%2021.9838C108.723%2021.6011%20106.941%2021.2464%20105.774%2021.8205C105.765%2021.8252%20105.755%2021.8298%20105.746%2021.8345C104.602%2022.3992%20103.808%2023.4727%20103.567%2024.7142C103.53%2024.8962%20103.506%2025.0455%20103.501%2025.0969C103.468%2025.7456%20104.068%2026.2544%20104.711%2026.1143C105.235%2026.0023%20105.604%2025.5403%20105.59%2025.0129C105.58%2024.4808%20105.472%2023.7667%20105.765%2023.286C106.237%2022.6279%20106.729%2022.5812%20108.935%2023.3047L106.544%2031.323C106.214%2032.4291%20105.406%2033.3345%20104.338%2033.7966L104.238%2034.212H109.961L110.074%2033.7966C109.337%2033.1852%20109.03%2032.1957%20109.299%2031.2809L111.392%2024.0561C112.309%2024.2428%20113.24%2024.2941%20114.147%2024.0374L114.473%2023.9441C115.196%2023.7527%20115.943%2023.2347%20116.358%2022.5486Z'%20fill='white'/%3e%3cpath%20d='M118.649%2021.6523L118.536%2022.0677C119.245%2022.5531%20119.561%2023.4259%20119.335%2024.2427L117.208%2031.3228C116.877%2032.429%20116.069%2033.3344%20115.002%2033.7964L114.902%2034.2118H117.931H118.21H125.18L126.101%2030.8934H125.666L125.51%2031.2108C124.934%2032.3963%20123.72%2033.1524%20122.382%2033.1524H119.429L121.003%2027.5937H122.259C123.105%2027.5937%20123.743%2028.3545%20123.582%2029.1759H124.012L125.043%2025.4188H124.613C124.362%2026.1142%20123.696%2026.5763%20122.949%2026.5809H121.291L122.382%2022.7258L125.515%2022.7211C126.536%2022.7211%20127.301%2023.6452%20127.098%2024.6347H127.528L128.35%2021.6523H118.649Z'%20fill='white'/%3e%3cpath%20d='M138.251%2021.6582H131.333L131.22%2022.0736C131.881%2022.5263%20132.207%2023.3197%20132.056%2024.0898L129.892%2031.324C129.561%2032.4301%20128.753%2033.3356%20127.685%2033.7976L127.586%2034.213H133.303L133.417%2033.7976C132.68%2033.1862%20132.373%2032.2014%20132.637%2031.282L133.686%2027.5949H134.126C134.787%2027.5949%20135.34%2028.085%20135.416%2028.7337C135.439%2028.9437%20135.77%2031.506%20136.035%2032.3881C136.379%2033.5409%20136.833%2034.213%20137.868%2034.213H140.453L140.552%2033.7976L140.183%2033.5829C139.451%2033.1536%20138.922%2032.4908%20138.685%2031.6087C138.463%2030.7779%20138.043%2029.2284%20137.84%2028.4117C137.736%2027.9916%20137.202%2027.5996%20136.654%2027.5996H137.523C139.087%2027.5996%20140.457%2026.5681%20140.878%2025.0839C141.365%2023.3617%20140.056%2021.6582%20138.251%2021.6582ZM138.369%2024.6872C138.029%2025.812%20136.98%2026.5868%20135.789%2026.5868H133.974L135.071%2022.7317H136.89C137.925%2022.727%20138.662%2023.7118%20138.369%2024.6872Z'%20fill='white'/%3e%3cpath%20d='M100.265%2022.2961C100.081%2022.2961%2099.6794%2022.1701%2099.0651%2021.9181C98.4508%2021.6661%2097.8318%2021.54%2097.2034%2021.54C95.904%2021.54%2094.8219%2021.9554%2093.9336%2022.8422C93.1964%2023.5796%2092.8704%2024.401%2092.8704%2025.1105C92.8704%2025.8665%2093.3193%2026.7533%2094.2124%2027.4721C95.0582%2028.1488%2095.937%2028.8022%2096.8206%2029.465C97.7468%2030.1977%2098.2098%2030.8745%2098.2098%2031.4252C98.2098%2032.634%2097.416%2033.2828%2095.7669%2033.2828C94.0942%2033.2828%2092.9366%2032.074%2092.568%2029.8057H92.1144L90.8008%2034.2162H91.226C91.7694%2033.8382%2092.1569%2033.6001%2092.946%2033.6001C93.6973%2033.6001%2094.5006%2034.4729%2096.2158%2034.4729C97.5814%2034.4729%2098.6682%2034.1929%2099.5943%2033.2781C100.383%2032.4753%20100.776%2031.3552%20100.776%2030.4404C100.776%2029.591%20100.237%2028.6062%2099.2966%2027.8921C98.4886%2027.2807%2097.6286%2026.7347%2096.7923%2026.1419C95.8898%2025.4792%2095.4362%2024.9144%2095.4362%2024.2937C95.4362%2023.9483%2095.611%2023.6076%2095.9559%2023.2622C96.3954%2022.8282%2096.986%2022.7302%2097.7751%2022.7302C99.3581%2022.7302%20100.464%2023.5983%20100.558%2025.4325H100.974L102.08%2021.5447H101.664C101.215%2022.0441%20100.752%2022.2961%20100.265%2022.2961Z'%20fill='white'/%3e%3cpath%20d='M149.201%2022.7304C150.784%2022.7304%20151.89%2023.6032%20151.984%2025.4327H152.4L153.501%2021.5449H153.085C152.646%2022.049%20152.182%2022.301%20151.696%2022.301C151.512%2022.301%20151.11%2022.175%20150.496%2021.923C149.881%2021.6709%20149.262%2021.5449%20148.634%2021.5449C147.334%2021.5449%20146.252%2021.9603%20145.364%2022.8471C144.627%2023.5845%20144.296%2024.4059%20144.296%2025.1153C144.296%2025.8714%20144.745%2026.7582%20145.638%2027.477C146.484%2028.1537%20147.363%2028.8071%20148.246%2029.4699C149.173%2030.2026%20149.636%2030.8794%20149.636%2031.4301C149.636%2032.6389%20148.842%2033.2876%20147.193%2033.2876C145.52%2033.2876%20144.362%2032.0788%20143.994%2029.8106H143.54L142.227%2034.2211H142.642C143.186%2033.843%20143.573%2033.605%20144.358%2033.605C145.109%2033.605%20145.912%2034.4778%20147.627%2034.4778C148.993%2034.4778%20150.075%2034.1978%20151.006%2033.283C151.795%2032.4802%20152.187%2031.3601%20152.187%2030.4453C152.187%2029.6005%20151.649%2028.6111%20150.708%2027.897C149.9%2027.2856%20149.04%2026.7395%20148.204%2026.1468C147.301%2025.4841%20146.848%2024.9193%20146.848%2024.2986C146.848%2023.9532%20147.023%2023.6125%20147.368%2023.2671C147.826%2022.8237%20148.412%2022.7304%20149.201%2022.7304Z'%20fill='white'/%3e%3cpath%20d='M26.5433%202.60035C26.0377%202.44633%2025.5321%202.72169%2025.0265%203.00173C24.8469%203.09974%2024.7194%203.27243%2024.6768%203.46845L23.883%207.13222C23.8547%207.26757%2023.9775%207.38891%2024.1145%207.36091C24.9509%207.17422%2025.7447%206.4508%2026.5811%206.70283C27.5167%206.98753%2028.4522%205.81606%2029.3878%205.83006V1.60156C28.4475%201.60623%2027.4789%202.88505%2026.5433%202.60035Z'%20fill='white'/%3e%3cpath%20d='M38.4856%2013.8398C38.2871%2013.7044%2038.1643%2013.4851%2038.1643%2013.2471V12.5796C38.1643%2011.9822%2037.6729%2011.4922%2037.0633%2011.4922H36.6239C36.0994%2011.4922%2035.6174%2011.7536%2035.3339%2012.1876L33.9164%2014.3485C33.7746%2014.5632%2033.5383%2014.6892%2033.2832%2014.6892H32.3287C31.8562%2014.6892%2031.4215%2014.9459%2031.1947%2015.3566C30.9631%2015.7814%2030.552%2016.0754%2030.0843%2016.1734V1.1403C30.0843%200.94894%2029.9283%200.794922%2029.7346%200.794922C29.5409%200.794922%2029.3849%200.94894%2029.3849%201.1403V1.60702V5.83552V16.1827C28.9171%2016.0847%2028.506%2015.7907%2028.2745%2015.3613C28.0524%2014.9506%2027.6177%2014.6939%2027.1405%2014.6939H26.4979C25.9875%2014.6939%2025.5292%2014.9879%2025.3213%2015.45L24.7873%2016.6308C24.7023%2016.8175%2024.5133%2016.9388%2024.3054%2016.9388C24.0975%2016.9388%2023.9085%2016.8175%2023.8234%2016.6308L23.2895%2015.45C23.0816%2014.9926%2022.6232%2014.6939%2022.1129%2014.6939H4.00135C3.85487%2014.6939%203.73674%2014.8106%203.73674%2014.9553C3.73674%2015.2633%203.48158%2015.5107%203.17444%2015.5107H2.39007C2.24359%2015.5107%202.12546%2015.6273%202.12546%2015.772V16.6728C2.12546%2017.5176%201.96008%2018.339%201.62931%2019.1184L1.15207%2020.2526C0.707907%2021.3027%200.5%2022.3901%200.5%2023.4589V26.0726C0.5%2026.7773%200.603954%2027.4914%200.811861%2028.1868C1.39306%2030.1377%202.7161%2031.7339%204.53529%2032.6767L7.43182%2034.1842C7.46962%2034.2029%207.51214%2034.2122%207.55467%2034.2122L9.69517%2034.2309C10.196%2034.2355%2010.6875%2034.3616%2011.1269%2034.6043L12.2751%2035.239C12.3129%2035.2623%2012.3602%2035.2717%2012.4074%2035.2717H13.9431C14.4818%2035.2717%2015.0157%2035.4163%2015.474%2035.6917C15.474%2035.6917%2016.2253%2036.1444%2016.4805%2036.2891C16.8869%2036.5225%2017.3783%2036.7465%2018.2335%2036.7932C18.4273%2036.8025%2018.621%2036.7325%2018.7675%2036.5972C18.9092%2036.4618%2018.9943%2036.2704%2018.9943%2036.0791V35.0616C18.9943%2034.3242%2019.4337%2033.6521%2020.1189%2033.3581L22.4673%2032.3406C22.7886%2032.2006%2023.1477%2032.1773%2023.4832%2032.28L24.3621%2032.5367C24.7354%2032.644%2025.1323%2032.6487%2025.5056%2032.5367L27.5846%2031.9253C27.8587%2031.8459%2028.1517%2031.8459%2028.4304%2031.9299L29.2763%2032.1633C29.6684%2032.2706%2029.9472%2032.6347%2029.9472%2033.0361V35.071C29.9472%2036.0184%2030.7269%2036.7932%2031.6861%2036.7932C32.4043%2036.7932%2033.0328%2036.3405%2033.2501%2035.6637C33.6423%2034.4456%2033.8408%2033.1761%2033.8408%2031.8973V31.0292C33.8408%2030.4131%2034.1006%2029.8204%2034.5543%2029.3956L35.419%2028.5882C36.0002%2028.0421%2036.3356%2027.2674%2036.3356%2026.474V21.6481C36.3356%2020.9013%2036.5625%2020.1779%2036.9972%2019.5618C37.0302%2019.5198%2037.0444%2019.4638%2037.0444%2019.4125V18.2737C37.0444%2017.5316%2037.2712%2016.8128%2037.6965%2016.2014L38.5517%2014.9739C38.5848%2014.9319%2038.599%2014.8806%2038.599%2014.8246V14.0545C38.6037%2013.9098%2038.5139%2013.8585%2038.4856%2013.8398ZM30.0843%2025.2838C30.6654%2025.3725%2031.1002%2025.6665%2031.1002%2026.0212C31.1002%2026.3759%2030.6702%2026.67%2030.0843%2026.7587V25.2838ZM5.22516%2032.4433L4.78572%2032.2146C3.59026%2031.5939%202.63577%2030.6698%201.9837%2029.545V28.1355C2.73028%2029.2043%203.74619%2030.1144%204.98891%2030.7631L5.22516%2030.8845V32.4433ZM7.43654%2033.5961L6.2647%2032.9894V31.4305L7.43182%2032.0373H7.43654V33.5961ZM12.3129%2034.6556L11.3868%2034.1422C10.8812%2033.8622%2010.3142%2033.7128%209.73297%2033.7035V32.0793C10.2197%2032.0886%2010.7016%2032.2146%2011.1269%2032.448L12.2751%2033.0827C12.2846%2033.0874%2012.2987%2033.0874%2012.3129%2033.0921V34.6556ZM18.4603%2035.0616V35.8551V36.0791C18.4603%2036.1304%2018.4367%2036.1818%2018.3989%2036.2191C18.3611%2036.2564%2018.3139%2036.2705%2018.2619%2036.2705C17.52%2036.2331%2017.0948%2036.0418%2016.7498%2035.8411C16.4994%2035.6964%2015.7528%2035.2483%2015.7481%2035.2483C15.2803%2034.9683%2014.7511%2034.8143%2014.2077%2034.7723V33.1387C14.6519%2033.1808%2015.0866%2033.3114%2015.474%2033.5401L16.1214%2033.9228C16.8302%2034.3429%2017.6382%2034.5809%2018.4603%2034.6276V35.0616ZM24.8582%2032.0886C24.7448%2032.084%2024.6267%2032.0653%2024.5133%2032.0326L23.6344%2031.7713C23.4454%2031.7152%2023.2517%2031.6966%2023.0579%2031.6966V30.0677C23.1997%2030.0677%2023.3414%2030.0817%2023.4832%2030.1237L24.3621%2030.3804C24.5227%2030.4271%2024.6928%2030.4504%2024.8582%2030.4598V32.0886ZM30.363%2032.4807C30.1929%2032.0886%2029.8574%2031.7759%2029.4275%2031.6592L28.5864%2031.4259C28.3879%2031.3652%2028.18%2031.3419%2027.9721%2031.3419V29.7177C28.1328%2029.713%2028.2934%2029.7317%2028.4493%2029.783L29.1392%2029.9977C29.8716%2030.2264%2030.363%2030.8891%2030.363%2031.6452V32.4807ZM32.787%2035.365C32.7729%2035.4117%2032.7634%2035.4584%2032.7492%2035.505C32.6028%2035.9624%2032.1775%2036.2658%2031.6955%2036.2658C31.653%2036.2658%2031.6105%2036.2564%2031.568%2036.2518V34.6323C31.601%2034.6369%2031.6294%2034.6416%2031.6625%2034.6416C32.135%2034.6416%2032.565%2034.3802%2032.7918%2033.9835V35.365H32.787ZM37.3232%2015.0486C36.794%2015.8047%2036.5152%2016.6915%2036.5152%2017.6109V18.4137L36.1041%2019.0017C35.5702%2019.7625%2035.2867%2020.6539%2035.2867%2021.578V25.6245C35.2867%2026.2779%2035.0126%2026.9173%2034.5306%2027.3654L33.6659%2028.1775C33.0847%2028.7236%2032.7634%2029.489%2032.787%2030.2824L32.7918%2030.4644C32.8248%2031.5146%2032.6878%2032.56%2032.3901%2033.5681C32.2956%2033.8902%2031.9932%2034.1142%2031.6577%2034.1142C31.2372%2034.1142%2030.8923%2033.7782%2030.8923%2033.3581V31.6452C30.8923%2030.6558%2030.2496%2029.7923%2029.2952%2029.4983L28.6053%2029.2836C28.2225%2029.1669%2027.8209%2029.1623%2027.4334%2029.2743L25.3544%2029.881C25.0803%2029.9604%2024.7873%2029.9604%2024.5133%2029.881L23.6344%2029.6243C23.1808%2029.489%2022.6894%2029.5217%2022.2547%2029.7083L20.4071%2030.5111C19.2258%2031.0245%2018.4651%2032.1773%2018.4651%2033.4515V34.1095C17.7374%2034.0675%2017.0286%2033.8528%2016.4002%2033.4795L15.7528%2033.0967C15.2047%2032.7747%2014.581%2032.602%2013.9431%2032.602H12.4736L11.3868%2031.9999C10.8717%2031.7152%2010.2905%2031.5659%209.69989%2031.5612L7.62082%2031.5472L5.23461%2030.3057C1.61514%2028.4249%200.0700101%2024.1917%201.64349%2020.4579L2.12073%2019.3238C2.47512%2018.4837%202.6594%2017.5922%202.6594%2016.6775V16.0427H3.17444C3.68476%2016.0427%204.11948%2015.6927%204.2376%2015.2213H22.1176C22.4153%2015.2213%2022.6894%2015.394%2022.8075%2015.6647L23.3414%2016.8455C23.5115%2017.2235%2023.8896%2017.4662%2024.3101%2017.4662C24.7259%2017.4662%2025.1087%2017.2235%2025.2788%2016.8455L25.8127%2015.66C25.9356%2015.3893%2026.2049%2015.2166%2026.5026%2015.2166H27.1452C27.424%2015.2166%2027.6791%2015.366%2027.8114%2015.6087C28.1375%2016.2061%2028.7234%2016.6075%2029.3897%2016.7148V24.145C28.317%2024.2617%2027.4949%2024.8918%2027.4949%2025.6572C27.4949%2026.5066%2028.4966%2027.1927%2029.7346%2027.1927C30.9726%2027.1927%2031.9743%2026.5066%2031.9743%2025.6572C31.9743%2024.8918%2031.1521%2024.257%2030.0795%2024.145V16.7101C30.7458%2016.6028%2031.3317%2016.2014%2031.6577%2015.604C31.79%2015.3613%2032.0452%2015.212%2032.324%2015.212H33.2785C33.7179%2015.212%2034.1195%2014.9926%2034.3605%2014.6286L35.7781%2012.4676C35.9624%2012.1829%2036.2789%2012.0149%2036.6239%2012.0149H37.0633C37.3752%2012.0149%2037.6303%2012.2669%2037.6303%2012.575V13.2424C37.6303%2013.5644%2037.7579%2013.8725%2037.98%2014.1012L37.3232%2015.0486ZM29.3849%2025.2838V26.7587C28.8037%2026.67%2028.3737%2026.3759%2028.3737%2026.0212C28.3737%2025.6665%2028.8037%2025.3678%2029.3849%2025.2838Z'%20fill='white'/%3e%3c/svg%3e", R = "data:image/svg+xml,%3csvg%20width='159'%20height='28'%20viewBox='0%200%20159%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6919_71839)'%3e%3cpath%20d='M4.13243%2025.9198C5.34921%2026.9052%207.05161%2027.0267%208.39597%2026.224L22.9838%2017.5138C25.4013%2016.0703%2025.4117%2012.5721%2023.0028%2011.1144L17.4686%207.76522C15.4767%206.55981%2012.8918%207.10053%2011.5501%209.00325L3.27399%2020.7399C2.14132%2022.3462%202.44805%2024.5556%203.97544%2025.7926L4.13243%2025.9198Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M4.11673%202.57147C5.33939%201.58127%207.0516%201.46387%208.39797%202.27791L22.9843%2011.0971C25.3835%2012.5477%2025.3874%2016.0265%2022.9914%2017.4824L17.5405%2020.7946C15.5485%2022.005%2012.9594%2021.4661%2011.6157%2019.5615L3.27518%207.7386C2.142%206.1323%202.44856%203.92248%203.97619%202.68529L4.11673%202.57147Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M49.8088%2020.0063C47.924%2020.0063%2046.7521%2018.7437%2046.7521%2016.6748V13.1359H50.1977V10.9296H46.7521V7.34668L44.2736%209.18483V10.9271H42.8892V13.1333H44.2736V16.6515C44.2736%2020.2137%2046.3632%2022.4174%2049.8321%2022.4174H50.361V20.0063H49.8088Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M30.4704%2019.5631L32.6818%2017.8339C33.6722%2019.4231%2035.01%2020.2761%2036.7159%2020.2761C38.5826%2020.2761%2039.757%2019.0783%2039.757%2017.5798C39.757%2015.8505%2037.9137%2015.2983%2035.977%2014.6761C33.6956%2013.9398%2031.23%2013.0168%2031.23%209.92907C31.23%207.37018%2033.5115%205.34277%2036.6226%205.34277C39.1815%205.34277%2040.7707%206.33314%2042.0618%207.83166L40.0111%209.35351C39.2515%208.17907%2038.1211%207.55685%2036.6226%207.55685C34.9167%207.55685%2033.8096%208.57055%2033.8096%209.88499C33.8096%2011.4976%2035.5856%2012.0291%2037.5196%2012.6746C39.8244%2013.4576%2042.3367%2014.4506%2042.3367%2017.585C42.3367%2020.1672%2040.2159%2022.6328%2036.7367%2022.6328C33.8563%2022.6328%2031.8963%2021.4117%2030.4678%2019.5683L30.4704%2019.5631Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M58.9189%2016.7007C58.9189%2013.3225%2061.5141%2010.6807%2064.8923%2010.6807C68.2704%2010.6807%2070.7982%2013.1384%2070.7982%2016.5399V17.5044H61.286C61.6075%2019.2725%2062.9867%2020.4444%2064.9856%2020.4444C66.5489%2020.4444%2067.7441%2019.6173%2068.3404%2018.3755L70.3627%2019.5007C69.3515%2021.3855%2067.5367%2022.6247%2064.9856%2022.6247C61.356%2022.6247%2058.9189%2020.0296%2058.9189%2016.6981V16.7007ZM61.4001%2015.4147H68.2938C67.9256%2013.7607%2066.663%2012.8403%2064.8923%2012.8403C63.1215%2012.8403%2061.8589%2013.8981%2061.4001%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M51.8955%2016.6752C51.8955%2013.113%2053.9851%2010.9326%2057.454%2010.9326H58.5559V13.323H57.4307C55.5459%2013.323%2054.33%2014.6322%2054.3533%2016.7011V22.423H51.8955V16.6804V16.6752Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M72.0138%2016.6774C72.0138%2013.3226%2074.6557%2010.7041%2077.9638%2010.7041C81.272%2010.7041%2083.8672%2013.3226%2083.8672%2016.6774V22.42H81.456V20.9267C80.6523%2022.0052%2079.4105%2022.6274%2077.8938%2022.6274C74.609%2022.6274%2072.0112%2020.0556%2072.0112%2016.6774H72.0138ZM81.5027%2016.6774C81.5027%2014.6319%2079.9394%2013.0011%2077.9638%2013.0011C75.9883%2013.0011%2074.4249%2014.6319%2074.4249%2016.6774C74.4249%2018.723%2075.9649%2020.3537%2077.9638%2020.3537C79.9627%2020.3537%2081.5027%2018.6997%2081.5027%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M85.4155%2015.978C85.4155%2012.9214%2087.5052%2010.6943%2090.6085%2010.6943C92.3766%2010.6943%2093.8026%2011.4073%2094.697%2012.6025C95.5474%2011.4073%2096.9266%2010.6943%2098.6948%2010.6943C101.819%2010.6943%20104.002%2012.8773%20104.002%2015.978V22.4103H101.544V16.0014C101.544%2014.2566%20100.372%2013.038%2098.6948%2013.038C97.0174%2013.038%2095.9155%2014.2799%2095.9389%2015.934V22.4129H93.4811V16.004C93.4811%2014.2592%2092.2859%2013.0406%2090.6085%2013.0406C88.9311%2013.0406%2087.8526%2014.2825%2087.8733%2015.9366V22.4154H85.4155V15.9832V15.978Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M105.578%205.6416H108.082V20.0227H114.859V22.4131H105.578V5.6416Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M138.483%2016.7007C138.483%2013.3225%20141.078%2010.6807%20144.456%2010.6807C147.834%2010.6807%20150.362%2013.1384%20150.362%2016.5399V17.5044H140.85C141.171%2019.2725%20142.551%2020.4444%20144.55%2020.4444C146.113%2020.4444%20147.308%2019.6173%20147.904%2018.3755L149.927%2019.5007C148.916%2021.3855%20147.101%2022.6247%20144.55%2022.6247C140.92%2022.6247%20138.483%2020.0296%20138.483%2016.6981V16.7007ZM140.964%2015.4147H147.858C147.49%2013.7607%20146.227%2012.8403%20144.456%2012.8403C142.685%2012.8403%20141.423%2013.8981%20140.964%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M115.269%2016.6774C115.269%2013.3226%20117.911%2010.7041%20121.219%2010.7041C124.527%2010.7041%20127.122%2013.3226%20127.122%2016.6774V22.42H124.711V20.9267C123.907%2022.0052%20122.665%2022.6274%20121.149%2022.6274C117.864%2022.6274%20115.266%2020.0556%20115.266%2016.6774H115.269ZM124.758%2016.6774C124.758%2014.6319%20123.194%2013.0011%20121.219%2013.0011C119.243%2013.0011%20117.68%2014.6319%20117.68%2016.6774C117.68%2018.723%20119.22%2020.3537%20121.219%2020.3537C123.218%2020.3537%20124.758%2018.6997%20124.758%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M131.67%2021.8547L126.915%2010.9658H129.557L132.912%2018.938L136.082%2010.9658H138.678L131.74%2027.7606H129.212L131.67%2021.8573V21.8547Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M151.897%2016.6674C151.897%2013.1052%20153.987%2010.9248%20157.455%2010.9248H158.557V13.3152H157.432C155.547%2013.3152%20154.331%2014.6244%20154.355%2016.6933V22.4152H151.897V16.6726V16.6674Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6919_71839'%3e%3crect%20width='158.12'%20height='28'%20fill='white'%20style='fill:white;fill-opacity:1;'%20transform='translate(0.44043)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", W = (s, i, L) => s === i ? "translateY(0px)" : s > i ? `translateY(${L}px)` : "translateY(-100%)", D = ({ close: s, votedAnswer: i, mastersApp: L, correct: a, correctAnswerTitle: w, questionTitle: k, saveHeight: u, style: n, hiding: x }) => {
|
|
7
7
|
const [c, b] = P(1), H = T({});
|
|
8
8
|
g(() => {
|
|
9
9
|
const l = setInterval(() => {
|
|
10
|
-
b((
|
|
10
|
+
b((e) => a && e > 4 || !a && e > 3 ? e : ++e);
|
|
11
11
|
}, 3e3);
|
|
12
12
|
return () => clearInterval(l);
|
|
13
|
-
}, [
|
|
14
|
-
var l,
|
|
15
|
-
H.current[c] && u(((
|
|
13
|
+
}, [a]), g(() => {
|
|
14
|
+
var l, e;
|
|
15
|
+
H.current[c] && u(((e = (l = H.current[c]) == null ? void 0 : l.getBoundingClientRect()) == null ? void 0 : e.height) || S);
|
|
16
16
|
}, [c, u]);
|
|
17
|
-
const r = (l) => (
|
|
18
|
-
H.current && (H.current[l] =
|
|
19
|
-
}, h = (l) => ({ transform: W(l, c,
|
|
20
|
-
return L && V.height && typeof V.height == "number" && (V.height += 32), /* @__PURE__ */ C(_, { style:
|
|
17
|
+
const r = (l) => (e) => {
|
|
18
|
+
H.current && (H.current[l] = e);
|
|
19
|
+
}, h = (l) => ({ transform: W(l, c, n.height) }), V = { ...n };
|
|
20
|
+
return L && V.height && typeof V.height == "number" && (V.height += 32), /* @__PURE__ */ C(_, { style: n.height ? V : { ...n, paddingTop: 0, paddingBottom: 0 }, hiding: x, children: /* @__PURE__ */ t(
|
|
21
21
|
B,
|
|
22
22
|
{
|
|
23
23
|
style: {
|
|
24
|
-
height:
|
|
25
|
-
minHeight:
|
|
26
|
-
backgroundColor: c > 3 ?
|
|
24
|
+
height: n.height,
|
|
25
|
+
minHeight: n.height,
|
|
26
|
+
backgroundColor: c > 3 ? a ? "var(--color-sdk-prediction-result-success-bg)" : "var(--color-sdk-prediction-result-incorrect-bg)" : "var(--color-primary-1)"
|
|
27
27
|
},
|
|
28
28
|
children: [
|
|
29
|
-
/* @__PURE__ */ C(F, { step: c, correct:
|
|
30
|
-
L && /* @__PURE__ */
|
|
29
|
+
/* @__PURE__ */ C(F, { step: c, correct: a }),
|
|
30
|
+
L && /* @__PURE__ */ t(o, { ref: r(1), style: h(1), children: [
|
|
31
31
|
/* @__PURE__ */ C("img", { alt: "sponsor-logo", src: E }),
|
|
32
32
|
/* @__PURE__ */ C(y, { children: "Featured Groups +" })
|
|
33
33
|
] }),
|
|
34
34
|
!L && /* @__PURE__ */ C(o, { ref: r(1), style: h(1), children: /* @__PURE__ */ C("img", { alt: "sponsor-logo", src: R }) }),
|
|
35
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ t(o, { ref: r(2), style: h(2), children: [
|
|
36
36
|
/* @__PURE__ */ C(f, { children: "Prediction results are in!" }),
|
|
37
37
|
L && /* @__PURE__ */ C(y, { children: "Featured Groups +" })
|
|
38
38
|
] }),
|
|
39
|
-
/* @__PURE__ */
|
|
39
|
+
/* @__PURE__ */ t(o, { ref: r(3), style: h(3), children: [
|
|
40
40
|
/* @__PURE__ */ C(f, { children: k }),
|
|
41
|
-
/* @__PURE__ */ C(d, { children: /* @__PURE__ */
|
|
41
|
+
/* @__PURE__ */ C(d, { children: /* @__PURE__ */ t(p, { children: [
|
|
42
42
|
/* @__PURE__ */ C("span", { children: "Your Pick:" }),
|
|
43
43
|
" ",
|
|
44
44
|
i == null ? void 0 : i.title
|
|
45
45
|
] }) })
|
|
46
46
|
] }),
|
|
47
|
-
|
|
48
|
-
/* @__PURE__ */
|
|
47
|
+
a ? /* @__PURE__ */ t(I, { children: [
|
|
48
|
+
/* @__PURE__ */ t(
|
|
49
49
|
o,
|
|
50
50
|
{
|
|
51
51
|
ref: r(4),
|
|
52
52
|
style: { ...h(4), color: "var(--color-sdk-prediction-result-success-text)" },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ t(f, { children: [
|
|
55
55
|
"Congratulations!",
|
|
56
56
|
/* @__PURE__ */ C("br", {}),
|
|
57
57
|
"You answered correctly."
|
|
58
58
|
] }),
|
|
59
|
-
/* @__PURE__ */
|
|
59
|
+
/* @__PURE__ */ t(d, { children: [
|
|
60
60
|
/* @__PURE__ */ C(M, { name: "selected" }),
|
|
61
|
-
/* @__PURE__ */
|
|
61
|
+
/* @__PURE__ */ t(p, { children: [
|
|
62
62
|
/* @__PURE__ */ C("span", { children: "Your Pick:" }),
|
|
63
63
|
" ",
|
|
64
64
|
i == null ? void 0 : i.title
|
|
@@ -67,42 +67,42 @@ const E = "data:image/svg+xml,%3csvg%20width='154'%20height='37'%20viewBox='0%20
|
|
|
67
67
|
]
|
|
68
68
|
}
|
|
69
69
|
),
|
|
70
|
-
/* @__PURE__ */
|
|
70
|
+
/* @__PURE__ */ t(
|
|
71
71
|
o,
|
|
72
72
|
{
|
|
73
73
|
ref: r(5),
|
|
74
74
|
style: { ...h(5), color: "var(--color-sdk-prediction-result-success-text)" },
|
|
75
75
|
children: [
|
|
76
76
|
/* @__PURE__ */ C(G, { children: c === 5 && /* @__PURE__ */ C(Y, { delay: 0.5, prefix: "+", suffix: " points", value: i == null ? void 0 : i.points }) }),
|
|
77
|
-
/* @__PURE__ */
|
|
77
|
+
/* @__PURE__ */ t(d, { children: [
|
|
78
78
|
/* @__PURE__ */ C(M, { name: "selected" }),
|
|
79
|
-
/* @__PURE__ */
|
|
79
|
+
/* @__PURE__ */ t(p, { children: [
|
|
80
80
|
/* @__PURE__ */ C("span", { children: "Your Pick:" }),
|
|
81
81
|
" ",
|
|
82
82
|
i == null ? void 0 : i.title
|
|
83
83
|
] })
|
|
84
84
|
] }),
|
|
85
|
-
/* @__PURE__ */ C(Z, { onClick: s, children: /* @__PURE__ */ C(m, { name: "icon-cross" }) })
|
|
85
|
+
/* @__PURE__ */ C(Z, { "data-a": "intr", onClick: s, children: /* @__PURE__ */ C(m, { name: "icon-cross" }) })
|
|
86
86
|
]
|
|
87
87
|
}
|
|
88
88
|
)
|
|
89
|
-
] }) : /* @__PURE__ */
|
|
90
|
-
/* @__PURE__ */
|
|
89
|
+
] }) : /* @__PURE__ */ t(o, { ref: r(4), style: h(4), children: [
|
|
90
|
+
/* @__PURE__ */ t(f, { style: { color: "var(--color-sdk-prediction-result-error-title)" }, children: [
|
|
91
91
|
"Better luck next time!",
|
|
92
92
|
/* @__PURE__ */ C("br", {}),
|
|
93
93
|
"Correct: ",
|
|
94
94
|
w,
|
|
95
95
|
"."
|
|
96
96
|
] }),
|
|
97
|
-
/* @__PURE__ */
|
|
97
|
+
/* @__PURE__ */ t(d, { style: { color: "var(--color-sdk-prediction-result-error-subtitle)" }, children: [
|
|
98
98
|
/* @__PURE__ */ C(N, { name: "circleClose" }),
|
|
99
|
-
/* @__PURE__ */
|
|
99
|
+
/* @__PURE__ */ t(p, { children: [
|
|
100
100
|
/* @__PURE__ */ C("span", { children: "Your Pick:" }),
|
|
101
101
|
" ",
|
|
102
102
|
i == null ? void 0 : i.title
|
|
103
103
|
] })
|
|
104
104
|
] }),
|
|
105
|
-
/* @__PURE__ */ C(Z, { onClick: s, children: /* @__PURE__ */ C(m, { name: "icon-cross" }) })
|
|
105
|
+
/* @__PURE__ */ C(Z, { "data-a": "intr", onClick: s, children: /* @__PURE__ */ C(m, { name: "icon-cross" }) })
|
|
106
106
|
] })
|
|
107
107
|
]
|
|
108
108
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { TwitterContent as n } from "../../../../questions/twitter/index.js";
|
|
3
3
|
import { Container as o, QuoteWrap as l, Quote as c, ActionBtn as m } from "./styles.js";
|
|
4
|
-
const
|
|
4
|
+
const f = ({ action: i, ...e }) => /* @__PURE__ */ r(o, { children: [
|
|
5
5
|
e.title && /* @__PURE__ */ t(l, { children: /* @__PURE__ */ t(c, { children: e.title }) }),
|
|
6
6
|
/* @__PURE__ */ t(n, { ...e }),
|
|
7
|
-
i && /* @__PURE__ */ t(m, { onClick: i, children: "View Insight" })
|
|
7
|
+
i && /* @__PURE__ */ t(m, { "data-a": "intr", onClick: i, children: "View Insight" })
|
|
8
8
|
] });
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
f as Tweet
|
|
11
11
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { TwitterContent as n } from "../../../questions/twitter/index.js";
|
|
3
|
-
import { Container as
|
|
4
|
-
const l = ({ ...t }) => /* @__PURE__ */ i(
|
|
5
|
-
t.title && /* @__PURE__ */ e(
|
|
3
|
+
import { Container as a, Quote as r, ActionButton as d } from "./styles.js";
|
|
4
|
+
const l = ({ ...t }) => /* @__PURE__ */ i(a, { "data-a": "intr", "data-name": t.tweetId, children: [
|
|
5
|
+
t.title && /* @__PURE__ */ e(r, { children: t.title }),
|
|
6
6
|
/* @__PURE__ */ e(n, { ...t }),
|
|
7
|
-
/* @__PURE__ */ e(
|
|
7
|
+
/* @__PURE__ */ e(d, { "data-a": "intr", "data-name": t.tweetId, children: "View Insight" })
|
|
8
8
|
] });
|
|
9
9
|
export {
|
|
10
10
|
l as Twitter
|