@streamlayer/react 0.22.11 → 0.22.13
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/cjs/index.js +3 -3
- package/lib/es/index.js +478 -479
- package/lib/style.css +1 -1
- package/package.json +2 -2
package/lib/es/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { NotificationType as Ie } from "@streamlayer/sdk-web-notifications";
|
|
|
9
9
|
import "@streamlayer/feature-gamification";
|
|
10
10
|
import { jsxs as A, jsx as s, Fragment as a1 } from "react/jsx-runtime";
|
|
11
11
|
import * as d from "react";
|
|
12
|
-
import T1, { useCallback as
|
|
12
|
+
import T1, { useCallback as w1, useEffect as u1, useState as B, useRef as ri, useMemo as c1, createContext as si, useContext as ve } from "react";
|
|
13
13
|
import Mi from "react-auth-code-input";
|
|
14
14
|
import oi, { isValidPhoneNumber as li, formatPhoneNumberIntl as ai } from "react-phone-number-input";
|
|
15
15
|
import { CountdownCircleTimer as ci } from "react-countdown-circle-timer";
|
|
@@ -23,7 +23,7 @@ import { SdkOverlayType as C1 } from "@streamlayer/sl-eslib/sdkSettings/sdkSetti
|
|
|
23
23
|
import "@streamlayer/sl-eslib/sports/events/events_connect";
|
|
24
24
|
import "@streamlayer/sl-eslib/sdkSettings/client/client_connect";
|
|
25
25
|
import { StreamLayer as ui } from "@streamlayer/sdk-web";
|
|
26
|
-
const
|
|
26
|
+
const m1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSIxMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CiAgPHJlY3QgeD0iOC4yNSIgeT0iNyIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcpIiBmaWxsPSJ3aGl0ZSIvPgogIDxyZWN0IHg9IjciIHk9IjE1Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSA3IDE1Ljc1KSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";
|
|
27
27
|
function Ii(t) {
|
|
28
28
|
var M = /* @__PURE__ */ Object.create(null);
|
|
29
29
|
return function(l) {
|
|
@@ -133,16 +133,16 @@ const pi = /* @__PURE__ */ c("div")({
|
|
|
133
133
|
name: "a",
|
|
134
134
|
class: "a1tb5jb7",
|
|
135
135
|
propsAsIs: !1
|
|
136
|
-
}),
|
|
136
|
+
}), wi = /* @__PURE__ */ c("button")({
|
|
137
137
|
name: "c",
|
|
138
138
|
class: "c11xpv3i",
|
|
139
139
|
propsAsIs: !1
|
|
140
|
-
}),
|
|
140
|
+
}), mi = /* @__PURE__ */ c("img")({
|
|
141
141
|
name: "s",
|
|
142
142
|
class: "s12ztjhk",
|
|
143
143
|
propsAsIs: !1
|
|
144
144
|
}), Ye = ({ close: t, action: M, data: { color: l, icon: I, title: D } }) => {
|
|
145
|
-
const g =
|
|
145
|
+
const g = w1(
|
|
146
146
|
(j) => {
|
|
147
147
|
j.stopPropagation(), t == null || t();
|
|
148
148
|
},
|
|
@@ -152,7 +152,7 @@ const pi = /* @__PURE__ */ c("div")({
|
|
|
152
152
|
/* @__PURE__ */ s(hi, { style: l ? { backgroundColor: l } : {}, children: I && /* @__PURE__ */ s(Ti, { alt: "in-app-icon", src: I }) }),
|
|
153
153
|
/* @__PURE__ */ A(Ci, { children: [
|
|
154
154
|
/* @__PURE__ */ s(zi, { children: /* @__PURE__ */ s(Li, { id: "in-app-title", children: D || "" }) }),
|
|
155
|
-
/* @__PURE__ */ s(Ei, { children: /* @__PURE__ */ s(
|
|
155
|
+
/* @__PURE__ */ s(Ei, { children: /* @__PURE__ */ s(wi, { onClick: g, children: /* @__PURE__ */ s(mi, { alt: "close-in-app-icon", src: m1 }) }) })
|
|
156
156
|
] })
|
|
157
157
|
] });
|
|
158
158
|
}, xi = {
|
|
@@ -277,11 +277,11 @@ const Ri = /* @__PURE__ */ c("div")({
|
|
|
277
277
|
name: "p",
|
|
278
278
|
class: "p10d4aqp",
|
|
279
279
|
propsAsIs: !1
|
|
280
|
-
}),
|
|
280
|
+
}), Gi = /* @__PURE__ */ c("div")({
|
|
281
281
|
name: "d",
|
|
282
282
|
class: "dje8inq",
|
|
283
283
|
propsAsIs: !1
|
|
284
|
-
}),
|
|
284
|
+
}), Pi = ({ login: t, anonymousLogin: M, host: l }) => {
|
|
285
285
|
const [I, D] = B(""), [g, j] = B(""), [o, y] = B(""), p = async (T) => {
|
|
286
286
|
T.preventDefault();
|
|
287
287
|
try {
|
|
@@ -322,7 +322,7 @@ const Ri = /* @__PURE__ */ c("div")({
|
|
|
322
322
|
"sent to ",
|
|
323
323
|
/* @__PURE__ */ s("b", { children: ai(I) })
|
|
324
324
|
] }),
|
|
325
|
-
/* @__PURE__ */ s(
|
|
325
|
+
/* @__PURE__ */ s(Gi, { children: /* @__PURE__ */ s(Mi, { autoFocus: !0, allowedCharacters: "numeric", length: 4, onChange: y }) }),
|
|
326
326
|
/* @__PURE__ */ s(V1, { disabled: o.length !== 4, type: "submit", children: "login" }),
|
|
327
327
|
/* @__PURE__ */ A(R1, { children: [
|
|
328
328
|
"Didn't get 59 the code? ",
|
|
@@ -334,7 +334,7 @@ const Ri = /* @__PURE__ */ c("div")({
|
|
|
334
334
|
] })
|
|
335
335
|
] });
|
|
336
336
|
};
|
|
337
|
-
const
|
|
337
|
+
const $i = /* @__PURE__ */ c("div")({
|
|
338
338
|
name: "i",
|
|
339
339
|
class: "i1grt8h",
|
|
340
340
|
propsAsIs: !1
|
|
@@ -350,7 +350,7 @@ const Pi = /* @__PURE__ */ c("div")({
|
|
|
350
350
|
name: "d",
|
|
351
351
|
class: "d9l6z9i",
|
|
352
352
|
propsAsIs: !1
|
|
353
|
-
}), Fi = ({ graphic: t, headline: M }) => /* @__PURE__ */ s(
|
|
353
|
+
}), Fi = ({ graphic: t, headline: M }) => /* @__PURE__ */ s($i, { children: /* @__PURE__ */ A(Hi, { children: [
|
|
354
354
|
/* @__PURE__ */ s(Wi, { alt: "graphic-img-instructions", src: t }),
|
|
355
355
|
/* @__PURE__ */ s(_i, { children: M })
|
|
356
356
|
] }) });
|
|
@@ -490,7 +490,7 @@ const I4 = /* @__PURE__ */ c("div")({
|
|
|
490
490
|
u1(() => {
|
|
491
491
|
l != null && l.length ? Q({ ...s1, steps: !0 }) : g != null && g.length ? Q({ ...s1, rules: !0 }) : Q({ ...s1, inviteCard: !0 });
|
|
492
492
|
}, []);
|
|
493
|
-
const J =
|
|
493
|
+
const J = w1(() => {
|
|
494
494
|
l != null && l.length && f < l.length - 1 ? U((R) => ++R) : g != null && g.length && v.steps ? Q({ ...s1, rules: !0 }) : v.rules && Q({ ...s1, inviteCard: !0 });
|
|
495
495
|
}, [f, l == null ? void 0 : l.length, g == null ? void 0 : g.length, v, U, Q]);
|
|
496
496
|
return /* @__PURE__ */ A(I4, { children: [
|
|
@@ -498,7 +498,7 @@ const I4 = /* @__PURE__ */ c("div")({
|
|
|
498
498
|
/* @__PURE__ */ s(D4, { children: I && /* @__PURE__ */ s(j4, { alt: "sponsor-one-onboarding-icon", src: I }) }),
|
|
499
499
|
/* @__PURE__ */ A(d4, { children: [
|
|
500
500
|
D && /* @__PURE__ */ s(A4, { alt: "sponsor-two-onboarding-icon", src: D }),
|
|
501
|
-
/* @__PURE__ */ s(y4, { onClick: E, children: /* @__PURE__ */ s(p4, { alt: "icon-close-onboarding", src:
|
|
501
|
+
/* @__PURE__ */ s(y4, { onClick: E, children: /* @__PURE__ */ s(p4, { alt: "icon-close-onboarding", src: m1 }) })
|
|
502
502
|
] })
|
|
503
503
|
] }),
|
|
504
504
|
/* @__PURE__ */ A(g4, { children: [
|
|
@@ -517,42 +517,41 @@ const I4 = /* @__PURE__ */ c("div")({
|
|
|
517
517
|
] });
|
|
518
518
|
};
|
|
519
519
|
const C4 = /* @__PURE__ */ c("div")({
|
|
520
|
-
name: "
|
|
521
|
-
class: "
|
|
520
|
+
name: "t",
|
|
521
|
+
class: "tcim9sm",
|
|
522
522
|
propsAsIs: !1
|
|
523
|
-
}),
|
|
524
|
-
name: "
|
|
525
|
-
class: "
|
|
523
|
+
}), z4 = /* @__PURE__ */ c("div")({
|
|
524
|
+
name: "n",
|
|
525
|
+
class: "n8wco6o",
|
|
526
|
+
propsAsIs: !1
|
|
527
|
+
}), L4 = /* @__PURE__ */ c("button")({
|
|
528
|
+
name: "e",
|
|
529
|
+
class: "e1ardwzl",
|
|
530
|
+
propsAsIs: !1
|
|
531
|
+
}), E4 = /* @__PURE__ */ c("span")({
|
|
532
|
+
name: "a",
|
|
533
|
+
class: "a1vk8ojx",
|
|
526
534
|
propsAsIs: !1
|
|
527
535
|
});
|
|
528
536
|
var L1 = /* @__PURE__ */ ((t) => (t.HOME = "home", t.LEADERBOARD = "leaderboard", t))(L1 || {});
|
|
529
|
-
const
|
|
537
|
+
const de = ({ title: t, active: M, onClick: l }) => /* @__PURE__ */ s(L4, { onClick: l, "data-selected": M, children: /* @__PURE__ */ s(E4, { children: t }) }), w4 = ({ activePage: t = "home", toggleActivePage: M }) => /* @__PURE__ */ s(C4, { children: /* @__PURE__ */ A(z4, { "data-position": t === "home" ? "left" : "right", children: [
|
|
538
|
+
/* @__PURE__ */ s(de, { title: "Home", active: t === "home", onClick: () => M(
|
|
539
|
+
"home"
|
|
540
|
+
/* HOME */
|
|
541
|
+
) }),
|
|
530
542
|
/* @__PURE__ */ s(
|
|
531
543
|
de,
|
|
532
544
|
{
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
"home"
|
|
536
|
-
/* HOME */
|
|
537
|
-
),
|
|
538
|
-
children: "Home"
|
|
539
|
-
}
|
|
540
|
-
),
|
|
541
|
-
/* @__PURE__ */ s(
|
|
542
|
-
de,
|
|
543
|
-
{
|
|
544
|
-
style: {
|
|
545
|
-
borderBottom: t === "leaderboard" ? "2px solid var(--color-blue-primary)" : "none"
|
|
546
|
-
},
|
|
545
|
+
title: "Leader Board",
|
|
546
|
+
active: t === "leaderboard",
|
|
547
547
|
onClick: () => M(
|
|
548
548
|
"leaderboard"
|
|
549
549
|
/* LEADERBOARD */
|
|
550
|
-
)
|
|
551
|
-
children: "Leader Board"
|
|
550
|
+
)
|
|
552
551
|
}
|
|
553
552
|
)
|
|
554
|
-
] });
|
|
555
|
-
const
|
|
553
|
+
] }) });
|
|
554
|
+
const m4 = /* @__PURE__ */ c("div")({
|
|
556
555
|
name: "o",
|
|
557
556
|
class: "oa5apdf",
|
|
558
557
|
propsAsIs: !1
|
|
@@ -560,106 +559,106 @@ const L4 = /* @__PURE__ */ c("div")({
|
|
|
560
559
|
name: "n",
|
|
561
560
|
class: "n1wh5guy",
|
|
562
561
|
propsAsIs: !1
|
|
563
|
-
}),
|
|
562
|
+
}), x4 = /* @__PURE__ */ c("img")({
|
|
564
563
|
name: "r",
|
|
565
564
|
class: "ro3ktps",
|
|
566
565
|
propsAsIs: !1
|
|
567
|
-
}),
|
|
566
|
+
}), O4 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZXZyb24iPgo8cGF0aCBpZD0iQ2hldnJvbl8yIiBkPSJNNiAxMS45OTlDNiAxMi4xNzI1IDYuMDMxMzQgMTIuMzM0IDYuMDk0MDEgMTIuNDgzN0M2LjE1NjY5IDEyLjYzMzQgNi4yNTQyOCAxMi43NzU2IDYuMzg2OCAxMi45MTAzTDE0LjA0MzYgMjAuNjU2NUMxNC4yNjQ4IDIwLjg4NTUgMTQuNTMyMyAyMSAxNC44NDU5IDIxQzE1LjA2MDcgMjEgMTUuMjU0NCAyMC45NDc1IDE1LjQyNzEgMjAuODQyNkMxNS41OTk4IDIwLjczNzcgMTUuNzM4NCAyMC41OTY1IDE1Ljg0MzEgMjAuNDE5MUMxNS45NDc3IDIwLjI0MTYgMTYgMjAuMDQyNSAxNiAxOS44MjE3QzE2IDE5LjQ5ODkgMTUuODgxNiAxOS4yMTM0IDE1LjY0NDggMTguOTY1NEw4Ljc0MTgzIDExLjk5NzFMMTUuNjQ0OCA1LjAzMjcxQzE1Ljg4MTYgNC43ODcwOSAxNiA0LjUwMjMgMTYgNC4xNzgzNEMxNiAzLjk1NzQ5IDE1Ljk0NzcgMy43NTgzNSAxNS44NDMxIDMuNTgwOTFDMTUuNzM4NCAzLjQwMzQ3IDE1LjU5OTggMy4yNjIyOSAxNS40MjcxIDMuMTU3MzhDMTUuMjU0NCAzLjA1MjQ2IDE1LjA2MDcgMyAxNC44NDU5IDNDMTQuNTMyMyAzIDE0LjI2NDggMy4xMTE2OSAxNC4wNDM2IDMuMzM1MDhMNi4zODY4IDExLjA4NzhDNi4yNTU1MSAxMS4yMjI1IDYuMTU4NTMgMTEuMzY0NCA2LjA5NTg2IDExLjUxMzRDNi4wMzMxOCAxMS42NjI1IDYuMDAxMjMgMTEuODI0NCA2IDExLjk5OVoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==", Ze = ({ icon: t, comeBack: M, close: l }) => /* @__PURE__ */ A(m4, { children: [
|
|
568
567
|
/* @__PURE__ */ A("div", { children: [
|
|
569
|
-
M && /* @__PURE__ */ s(je, { onClick: M, children: /* @__PURE__ */ s("img", { alt: "header-back-icon", src:
|
|
570
|
-
t && /* @__PURE__ */ s(
|
|
568
|
+
M && /* @__PURE__ */ s(je, { onClick: M, children: /* @__PURE__ */ s("img", { alt: "header-back-icon", src: O4 }) }),
|
|
569
|
+
t && /* @__PURE__ */ s(x4, { alt: "header-icon", src: t })
|
|
571
570
|
] }),
|
|
572
|
-
/* @__PURE__ */ s("div", { children: l && /* @__PURE__ */ s(je, { onClick: l, children: /* @__PURE__ */ s("img", { alt: "header-close-icon", src:
|
|
571
|
+
/* @__PURE__ */ s("div", { children: l && /* @__PURE__ */ s(je, { onClick: l, children: /* @__PURE__ */ s("img", { alt: "header-close-icon", src: m1 }) }) })
|
|
573
572
|
] }), Be = (t) => t.split(/\s+/).map((M) => M[0]).join("").toUpperCase();
|
|
574
|
-
const
|
|
573
|
+
const f4 = /* @__PURE__ */ c("div")({
|
|
575
574
|
name: "t",
|
|
576
575
|
class: "taj61ja",
|
|
577
576
|
propsAsIs: !1
|
|
578
|
-
}),
|
|
577
|
+
}), S4 = /* @__PURE__ */ c("div")({
|
|
579
578
|
name: "i",
|
|
580
579
|
class: "i19fxewd",
|
|
581
580
|
propsAsIs: !1
|
|
582
|
-
}),
|
|
581
|
+
}), k4 = /* @__PURE__ */ c("div")({
|
|
583
582
|
name: "n",
|
|
584
583
|
class: "n1whkbqh",
|
|
585
584
|
propsAsIs: !1
|
|
586
|
-
}), Ae = ({ indicator: t, title: M }) => /* @__PURE__ */ A(
|
|
587
|
-
/* @__PURE__ */ s(
|
|
588
|
-
/* @__PURE__ */ s(
|
|
585
|
+
}), Ae = ({ indicator: t, title: M }) => /* @__PURE__ */ A(f4, { children: [
|
|
586
|
+
/* @__PURE__ */ s(S4, { children: M }),
|
|
587
|
+
/* @__PURE__ */ s(k4, { children: t })
|
|
589
588
|
] });
|
|
590
|
-
const
|
|
589
|
+
const U4 = /* @__PURE__ */ c("div")({
|
|
591
590
|
name: "o",
|
|
592
591
|
class: "ojjy2gn",
|
|
593
592
|
propsAsIs: !1
|
|
594
|
-
}),
|
|
593
|
+
}), v4 = /* @__PURE__ */ c("div")({
|
|
595
594
|
name: "i",
|
|
596
595
|
class: "i1893y85",
|
|
597
596
|
propsAsIs: !1
|
|
598
|
-
}), z1 = ({ indicator: t, title: M }) => /* @__PURE__ */ A(
|
|
599
|
-
/* @__PURE__ */ s(
|
|
597
|
+
}), z1 = ({ indicator: t, title: M }) => /* @__PURE__ */ A(U4, { children: [
|
|
598
|
+
/* @__PURE__ */ s(v4, { children: t }),
|
|
600
599
|
/* @__PURE__ */ s("p", { children: M })
|
|
601
600
|
] });
|
|
602
|
-
const
|
|
601
|
+
const Q4 = /* @__PURE__ */ c("div")({
|
|
603
602
|
name: "t",
|
|
604
603
|
class: "t15y0waw",
|
|
605
604
|
propsAsIs: !1
|
|
606
|
-
}),
|
|
605
|
+
}), Y4 = /* @__PURE__ */ c("div")({
|
|
607
606
|
name: "r",
|
|
608
607
|
class: "rhjewwf",
|
|
609
608
|
propsAsIs: !1
|
|
610
|
-
}),
|
|
609
|
+
}), b4 = /* @__PURE__ */ c("div")({
|
|
611
610
|
name: "i",
|
|
612
611
|
class: "i10e9lv8",
|
|
613
612
|
propsAsIs: !1
|
|
614
|
-
}),
|
|
613
|
+
}), Z4 = /* @__PURE__ */ c("div")({
|
|
615
614
|
name: "n",
|
|
616
615
|
class: "n13bxv",
|
|
617
616
|
propsAsIs: !1
|
|
618
|
-
}),
|
|
617
|
+
}), B4 = /* @__PURE__ */ c("img")({
|
|
619
618
|
name: "p",
|
|
620
619
|
class: "p1fi59c9",
|
|
621
620
|
propsAsIs: !1
|
|
622
|
-
}),
|
|
621
|
+
}), R4 = /* @__PURE__ */ c("div")({
|
|
623
622
|
name: "a",
|
|
624
623
|
class: "a1kkihge",
|
|
625
624
|
propsAsIs: !1
|
|
626
|
-
}),
|
|
625
|
+
}), V4 = /* @__PURE__ */ c("div")({
|
|
627
626
|
name: "s",
|
|
628
627
|
class: "sy4f4t",
|
|
629
628
|
propsAsIs: !1
|
|
630
|
-
}),
|
|
629
|
+
}), G4 = /* @__PURE__ */ c("div")({
|
|
631
630
|
name: "d",
|
|
632
631
|
class: "d18cnlx1",
|
|
633
632
|
propsAsIs: !1
|
|
634
|
-
}),
|
|
633
|
+
}), P4 = /* @__PURE__ */ c("img")({
|
|
635
634
|
name: "c",
|
|
636
635
|
class: "cboqgs5",
|
|
637
636
|
propsAsIs: !1
|
|
638
|
-
}),
|
|
637
|
+
}), $4 = /* @__PURE__ */ c("div")({
|
|
639
638
|
name: "l",
|
|
640
639
|
class: "l1oaal4",
|
|
641
640
|
propsAsIs: !1
|
|
642
|
-
}),
|
|
641
|
+
}), H4 = /* @__PURE__ */ c("div")({
|
|
643
642
|
name: "x",
|
|
644
643
|
class: "x1yzgo0u",
|
|
645
644
|
propsAsIs: !1
|
|
646
|
-
}),
|
|
645
|
+
}), W4 = /* @__PURE__ */ c("div")({
|
|
647
646
|
name: "f",
|
|
648
647
|
class: "f1l9i8s8",
|
|
649
648
|
propsAsIs: !1
|
|
650
|
-
}),
|
|
649
|
+
}), _4 = /* @__PURE__ */ c("div")({
|
|
651
650
|
name: "g",
|
|
652
651
|
class: "g4cgl4u",
|
|
653
652
|
propsAsIs: !1
|
|
654
|
-
}),
|
|
653
|
+
}), F4 = /* @__PURE__ */ c("div")({
|
|
655
654
|
name: "h",
|
|
656
655
|
class: "h1qn1tmd",
|
|
657
656
|
propsAsIs: !1
|
|
658
|
-
}),
|
|
657
|
+
}), J4 = /* @__PURE__ */ c("button")({
|
|
659
658
|
name: "m",
|
|
660
659
|
class: "m1gsbhq4",
|
|
661
660
|
propsAsIs: !1
|
|
662
|
-
}),
|
|
661
|
+
}), q4 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlRyb3BoeSI+CjxwYXRoIGlkPSJDb21iaW5lZCBTaGFwZSIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0y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uOTE2NjdDNy41MjQwNCA5LjkxNjY3IDcuMjg5NjYgOS44MjgzNCA3LjE0MzAzIDkuNjUxNjlDNi45OTYzOSA5LjQ3NTA0IDYuOTIzMDggOS4yNTc4MSA2LjkyMzA4IDlDNi45MjMwOCA4Ljc1NjUxIDYuOTU3OTMgOC41NDI4NiA3LjAyNzY0IDguMzU5MDVDNy4wOTczNiA4LjE3NTI0IDcuMjIzNTYgOC4wMDIxNyA3LjQwNjI1IDcuODM5ODRDNy42NjEwNiA3LjY0NDEgNy44ODk0MiA3LjQxNzMyIDguMDkxMzUgNy4xNTk1MUM4LjYzNDYyIDcuMTM1NjMgOS4xNTI2NCA3LjAyOTQxIDkuNjQ1NDMgNi44NDA4MkMxMC4xMzgyIDYuNjUyMjMgMTAuNTU0MSA2LjQxOTQ5IDEwLjg5MyA2LjE0MjU4QzExLjIzMiA1Ljg2NTY3IDExLjUwMTIgNS41NTUzNCAxMS43MDA3IDUuMjExNTlDMTEuOTAwMiA0Ljg2Nzg0IDEyIDQuNTI2NDggMTIgNC4xODc1Wk01LjA3MDMzIDUuMzg0OTFMNi4wMzgzIDQuODc1MDNMNy4wMDYyNyA1LjM4NDkxTDYuODIxNCA0LjMwNDk3TDcuNjA0NTEgMy41NDAxNkw2LjUyMjI4IDMuMzgyNkw2LjAzODMgMi40MDAwM0w1LjU1NDMxIDMuMzgyNkw0LjQ3MjA5IDMuNTQwMTZMNS4yNTUxOSA0LjMwNDk3TDUuMDcwMzMgNS4zODQ5MVoiIGZpbGw9IiNGMkM5NEMiLz4KPC9nPgo8L3N2Zz4K", Re = ({
|
|
663
662
|
avatar: t,
|
|
664
663
|
name: M,
|
|
665
664
|
points: l,
|
|
@@ -670,22 +669,22 @@ const k4 = /* @__PURE__ */ c("div")({
|
|
|
670
669
|
incorrect: o,
|
|
671
670
|
inTop: y,
|
|
672
671
|
average: p
|
|
673
|
-
}) => /* @__PURE__ */ A(
|
|
674
|
-
/* @__PURE__ */ A(
|
|
675
|
-
/* @__PURE__ */ A(
|
|
676
|
-
/* @__PURE__ */ A(
|
|
677
|
-
t && /* @__PURE__ */ s(
|
|
678
|
-
!t && /* @__PURE__ */ s(
|
|
672
|
+
}) => /* @__PURE__ */ A(Q4, { children: [
|
|
673
|
+
/* @__PURE__ */ A(Y4, { children: [
|
|
674
|
+
/* @__PURE__ */ A(Z4, { children: [
|
|
675
|
+
/* @__PURE__ */ A(J4, { children: [
|
|
676
|
+
t && /* @__PURE__ */ s(B4, { alt: "avatar", src: t }),
|
|
677
|
+
!t && /* @__PURE__ */ s(F4, { children: Be(M || "") })
|
|
679
678
|
] }),
|
|
680
|
-
/* @__PURE__ */ A(
|
|
681
|
-
/* @__PURE__ */ s(
|
|
682
|
-
/* @__PURE__ */ A(
|
|
683
|
-
/* @__PURE__ */ s(
|
|
684
|
-
/* @__PURE__ */ A(
|
|
685
|
-
/* @__PURE__ */ s(
|
|
679
|
+
/* @__PURE__ */ A(R4, { children: [
|
|
680
|
+
/* @__PURE__ */ s(V4, { children: M }),
|
|
681
|
+
/* @__PURE__ */ A(G4, { children: [
|
|
682
|
+
/* @__PURE__ */ s(P4, { alt: "rank-icon", src: q4 }),
|
|
683
|
+
/* @__PURE__ */ A($4, { children: [
|
|
684
|
+
/* @__PURE__ */ s(H4, { children: l }),
|
|
686
685
|
"RTS"
|
|
687
686
|
] }),
|
|
688
|
-
/* @__PURE__ */ A(
|
|
687
|
+
/* @__PURE__ */ A(W4, { children: [
|
|
689
688
|
"TOP ",
|
|
690
689
|
y || 0,
|
|
691
690
|
"%"
|
|
@@ -693,80 +692,80 @@ const k4 = /* @__PURE__ */ c("div")({
|
|
|
693
692
|
] })
|
|
694
693
|
] })
|
|
695
694
|
] }),
|
|
696
|
-
/* @__PURE__ */ A(
|
|
695
|
+
/* @__PURE__ */ A(_4, { children: [
|
|
697
696
|
/* @__PURE__ */ s(Ae, { title: "Friends rank", indicator: I || 0 }),
|
|
698
697
|
/* @__PURE__ */ s(Ae, { title: "Global rank", indicator: D || 0 })
|
|
699
698
|
] })
|
|
700
699
|
] }),
|
|
701
|
-
/* @__PURE__ */ A(
|
|
700
|
+
/* @__PURE__ */ A(b4, { children: [
|
|
702
701
|
/* @__PURE__ */ s(z1, { indicator: g || 0, title: "Win streak" }),
|
|
703
702
|
/* @__PURE__ */ s(z1, { indicator: j || 0, title: "Correct" }),
|
|
704
703
|
/* @__PURE__ */ s(z1, { indicator: o || 0, title: "Incorrect" }),
|
|
705
704
|
/* @__PURE__ */ s(z1, { indicator: `${p || 0}%`, title: "Success rate" })
|
|
706
705
|
] })
|
|
707
706
|
] });
|
|
708
|
-
const
|
|
707
|
+
const X4 = /* @__PURE__ */ c("div")({
|
|
709
708
|
name: "i",
|
|
710
709
|
class: "iqbegjm",
|
|
711
710
|
propsAsIs: !1
|
|
712
|
-
}),
|
|
711
|
+
}), K4 = ({ comeBack: t, ...M }) => /* @__PURE__ */ A(X4, { children: [
|
|
713
712
|
/* @__PURE__ */ s(Ze, { comeBack: t }),
|
|
714
713
|
/* @__PURE__ */ s(Re, { ...M })
|
|
715
714
|
] }), _1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZXZyb24iPgo8cGF0aCBpZD0iQ2hldnJvbl8yIiBkPSJNMTIgOC4xNzIyMkMxMiA4LjI4NzgzIDExLjk3ODEgOC4zOTU1MyAxMS45MzQyIDguNDk1MzNDMTEuODkwMyA4LjU5NTEzIDExLjgyMiA4LjY4OTkyIDExLjcyOTIgOC43Nzk3TDYuMzY5NDkgMTMuOTQzOUM2LjIxNDYyIDE0LjA5NjUgNi4wMjc0MiAxNC4xNzI5IDUuODA3ODcgMTQuMTcyOUM1LjY1NzUyIDE0LjE3MjkgNS41MjE5MSAxNC4xMzc5IDUuNDAxMDQgMTQuMDY3OUM1LjI4MDE2IDEzLjk5OCA1LjE4MzEgMTMuOTAzOSA1LjEwOTg2IDEzLjc4NTZDNS4wMzY2MiAxMy42NjczIDUgMTMuNTM0NSA1IDEzLjM4NzNDNSAxMy4xNzIxIDUuMDgyODggMTIuOTgxOCA1LjI0ODYzIDEyLjgxNjRMMTAuMDgwNyA4LjE3MDk1TDUuMjQ4NjMgMy41Mjc5OUM1LjA4Mjg4IDMuMzY0MjUgNSAzLjE3NDM5IDUgMi45NTg0MUM1IDIuODExMTggNS4wMzY2MiAyLjY3ODQyIDUuMTA5ODYgMi41NjAxM0M1LjE4MzEgMi40NDE4MyA1LjI4MDE2IDIuMzQ3NzEgNS40MDEwNCAyLjI3Nzc3QzUuNTIxOTEgMi4yMDc4MiA1LjY1NzUyIDIuMTcyODUgNS44MDc4NyAyLjE3Mjg1QzYuMDI3NDIgMi4xNzI4NSA2LjIxNDYyIDIuMjQ3MzEgNi4zNjk0OSAyLjM5NjI0TDExLjcyOTIgNy41NjQ3M0MxMS44MjExIDcuNjU0NTEgMTEuODg5IDcuNzQ5MDkgMTEuOTMyOSA3Ljg0ODQ2QzExLjk3NjggNy45NDc4NCAxMS45OTkxIDguMDU1NzYgMTIgOC4xNzIyMloiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8L3N2Zz4K";
|
|
716
|
-
const
|
|
715
|
+
const e2 = /* @__PURE__ */ c("div")({
|
|
717
716
|
name: "t",
|
|
718
717
|
class: "t1lblda3",
|
|
719
718
|
propsAsIs: !1
|
|
720
|
-
}),
|
|
719
|
+
}), i2 = /* @__PURE__ */ c("div")({
|
|
721
720
|
name: "n",
|
|
722
721
|
class: "nscvb2g",
|
|
723
722
|
propsAsIs: !1
|
|
724
|
-
}),
|
|
723
|
+
}), t2 = /* @__PURE__ */ c("img")({
|
|
725
724
|
name: "r",
|
|
726
725
|
class: "r17rl8zy",
|
|
727
726
|
propsAsIs: !1
|
|
728
|
-
}),
|
|
727
|
+
}), n2 = /* @__PURE__ */ c("div")({
|
|
729
728
|
name: "i",
|
|
730
729
|
class: "i1vvttbn",
|
|
731
730
|
propsAsIs: !1
|
|
732
|
-
}),
|
|
731
|
+
}), r2 = /* @__PURE__ */ c("div")({
|
|
733
732
|
name: "p",
|
|
734
733
|
class: "p6fk2ph",
|
|
735
734
|
propsAsIs: !1
|
|
736
|
-
}),
|
|
735
|
+
}), s2 = /* @__PURE__ */ c("div")({
|
|
737
736
|
name: "s",
|
|
738
737
|
class: "s1rdm136",
|
|
739
738
|
propsAsIs: !1
|
|
740
|
-
}),
|
|
739
|
+
}), M2 = /* @__PURE__ */ c("button")({
|
|
741
740
|
name: "a",
|
|
742
741
|
class: "awqnnel",
|
|
743
742
|
propsAsIs: !1
|
|
744
|
-
}),
|
|
743
|
+
}), o2 = /* @__PURE__ */ c("button")({
|
|
745
744
|
name: "c",
|
|
746
745
|
class: "ccyxnlg",
|
|
747
746
|
propsAsIs: !1
|
|
748
|
-
}),
|
|
747
|
+
}), l2 = /* @__PURE__ */ c("img")({
|
|
749
748
|
name: "d",
|
|
750
749
|
class: "ds2nk4s",
|
|
751
750
|
propsAsIs: !1
|
|
752
|
-
}),
|
|
751
|
+
}), a2 = /* @__PURE__ */ c("span")({
|
|
753
752
|
name: "l",
|
|
754
753
|
class: "ltym8sr",
|
|
755
754
|
propsAsIs: !1
|
|
756
|
-
}),
|
|
755
|
+
}), c2 = /* @__PURE__ */ c("span")({
|
|
757
756
|
name: "x",
|
|
758
757
|
class: "xkjgzv5",
|
|
759
758
|
propsAsIs: !1
|
|
760
|
-
}),
|
|
761
|
-
[_.POLL]: { label: "Poll", icon:
|
|
762
|
-
[_.TRIVIA]: { label: "Trivia", icon:
|
|
763
|
-
[_.PREDICTION]: { label: "Prediction", icon:
|
|
764
|
-
},
|
|
765
|
-
[h1.LOST]:
|
|
766
|
-
[h1.WON]:
|
|
759
|
+
}), u2 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZ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C42MzM2NSA4Ljg4MDk3TDguNjM2NjEgOC44Njg1OUM4LjY2NzIzIDguNzQwMyA4LjY5ODc3IDguNjA4MTMgOC43NTk5NSA4LjQ4ODA0QzguODQ2NDkgOC4zMTYxMyA5LjA2MjgzIDguMTEyNjUgOS4zMTQyOCA3Ljg3ODc1QzkuOTE0MiA3LjMxODU4IDEwLjczNCA2LjU1MTQzIDEwLjU4MiA1LjQxNTg5QzEwLjQ4NzIgNC43MDYwMyAxMC4xNTUxIDQuMTU3NTcgOS41OTYxMSAzLjc4ODAyTDkuNTk2MTMgMy43ODhaTTguMTE2MDUgMTAuMjhDOC4wNjkyNyAxMC4yOCA4LjAyMTMyIDEwLjI4MzYgNy45NzQ1NCAxMC4yODk0QzcuMzgzOTYgMTAuMzY4OSA2Ljk2NzY1IDEwLjkxMjcgNy4wNDU5OSAxMS41MDMzQzcuMTE3MzMgMTIuMDM3NyA3LjU3ODA4IDEyLjQ0MTIgOC4xMTcyIDEyLjQ0MTJDOC4xNjM5NyAxMi40NDEyIDguMjExOTIgMTIuNDM3NyA4LjI1OTg3IDEyLjQzMThDOC44NTA0NSAxMi4zNTIzIDkuMjY1NiAxMS44MDg1IDkuMTg4NDIgMTEuMjE3OUM5LjExNTkxIDEwLjY4MjMgOC42NTUxNyAxMC4yOCA4LjExNjA1IDEwLjI4WiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC41Ii8+CjwvZz4KPC9zdmc+Cg==", d2 = {
|
|
760
|
+
[_.POLL]: { label: "Poll", icon: g2 },
|
|
761
|
+
[_.TRIVIA]: { label: "Trivia", icon: D2 },
|
|
762
|
+
[_.PREDICTION]: { label: "Prediction", icon: N2 }
|
|
763
|
+
}, j2 = {
|
|
764
|
+
[h1.LOST]: I2,
|
|
765
|
+
[h1.WON]: u2,
|
|
767
766
|
[h1.UNSET]: _1,
|
|
768
767
|
[h1.DNP]: _1
|
|
769
|
-
},
|
|
768
|
+
}, A2 = ({
|
|
770
769
|
questionId: t,
|
|
771
770
|
questionType: M,
|
|
772
771
|
questionStatus: l,
|
|
@@ -775,40 +774,40 @@ const q4 = /* @__PURE__ */ c("div")({
|
|
|
775
774
|
openQuestion: g,
|
|
776
775
|
status: j
|
|
777
776
|
}) => {
|
|
778
|
-
const o =
|
|
779
|
-
return o === void 0 ? null : /* @__PURE__ */ A(
|
|
780
|
-
/* @__PURE__ */ s(
|
|
781
|
-
/* @__PURE__ */ A(
|
|
782
|
-
/* @__PURE__ */ A(
|
|
783
|
-
/* @__PURE__ */ s(
|
|
784
|
-
M === _.TRIVIA && l === ti.RESOLVED && /* @__PURE__ */ s(
|
|
777
|
+
const o = d2[M];
|
|
778
|
+
return o === void 0 ? null : /* @__PURE__ */ A(e2, { onClick: () => g == null ? void 0 : g(t), children: [
|
|
779
|
+
/* @__PURE__ */ s(i2, { children: /* @__PURE__ */ s(t2, { alt: "question-type-icon", src: o.icon }) }),
|
|
780
|
+
/* @__PURE__ */ A(n2, { children: [
|
|
781
|
+
/* @__PURE__ */ A(r2, { children: [
|
|
782
|
+
/* @__PURE__ */ s(a2, { children: o.label }),
|
|
783
|
+
M === _.TRIVIA && l === ti.RESOLVED && /* @__PURE__ */ s(c2, { children: "Expired" })
|
|
785
784
|
] }),
|
|
786
|
-
/* @__PURE__ */ s(
|
|
785
|
+
/* @__PURE__ */ s(s2, { children: I || "" })
|
|
787
786
|
] }),
|
|
788
|
-
D ? /* @__PURE__ */ s(
|
|
787
|
+
D ? /* @__PURE__ */ s(M2, { children: "play" }) : /* @__PURE__ */ s(o2, { children: /* @__PURE__ */ s(l2, { alt: "question-status-icon", src: j2[j] }) })
|
|
789
788
|
] });
|
|
790
789
|
};
|
|
791
|
-
const
|
|
790
|
+
const y2 = /* @__PURE__ */ c("div")({
|
|
792
791
|
name: "e",
|
|
793
792
|
class: "ezy702i",
|
|
794
793
|
propsAsIs: !1
|
|
795
|
-
}),
|
|
794
|
+
}), p2 = /* @__PURE__ */ c("div")({
|
|
796
795
|
name: "i",
|
|
797
796
|
class: "isqqly6",
|
|
798
797
|
propsAsIs: !1
|
|
799
|
-
}),
|
|
798
|
+
}), h2 = /* @__PURE__ */ c("div")({
|
|
800
799
|
name: "r",
|
|
801
800
|
class: "rhkye9e",
|
|
802
801
|
propsAsIs: !1
|
|
803
|
-
}),
|
|
804
|
-
/* @__PURE__ */ s(
|
|
805
|
-
/* @__PURE__ */ s(
|
|
802
|
+
}), T2 = ({ questions: t, openQuestion: M }) => /* @__PURE__ */ A(y2, { children: [
|
|
803
|
+
/* @__PURE__ */ s(p2, { children: "PICK HISTORY" }),
|
|
804
|
+
/* @__PURE__ */ s(h2, { children: t == null ? void 0 : t.map((l) => /* @__PURE__ */ s(A2, { openQuestion: M, ...l }, l.questionId)) })
|
|
806
805
|
] });
|
|
807
|
-
const
|
|
806
|
+
const C2 = () => Ve, Ve = /* @__PURE__ */ c("div")({
|
|
808
807
|
name: "o",
|
|
809
808
|
class: "o1kax5ew",
|
|
810
809
|
propsAsIs: !1
|
|
811
|
-
}),
|
|
810
|
+
}), z2 = /* @__PURE__ */ c(C2())({
|
|
812
811
|
name: "t",
|
|
813
812
|
class: "t1p0nk84",
|
|
814
813
|
propsAsIs: !0
|
|
@@ -836,7 +835,7 @@ const p2 = () => Ve, Ve = /* @__PURE__ */ c("div")({
|
|
|
836
835
|
name: "c",
|
|
837
836
|
class: "cmwdzrp",
|
|
838
837
|
propsAsIs: !1
|
|
839
|
-
}),
|
|
838
|
+
}), G1 = /* @__PURE__ */ c("div")({
|
|
840
839
|
name: "l",
|
|
841
840
|
class: "lqn7nsi",
|
|
842
841
|
propsAsIs: !1
|
|
@@ -844,7 +843,7 @@ const p2 = () => Ve, Ve = /* @__PURE__ */ c("div")({
|
|
|
844
843
|
name: "p",
|
|
845
844
|
class: "p1gvpbx9",
|
|
846
845
|
propsAsIs: !1
|
|
847
|
-
}), F1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9I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jk0IDAgMTIuMDAyQzAgNS4zNzQ1NCA1LjM3MjU4IDAuMDAxOTUzMTIgMTIgMC4wMDE5NTMxMkMxOC42Mjc0IDAuMDAxOTUzMTIgMjQgNS4zNzQ1NCAyNCAxMi4wMDJaTTE3LjQwODYgOC4xNTM1N0MxNi45NCA3LjY4NDk0IDE2LjE4MDIgNy42ODQ5NCAxNS43MTE2IDguMTUzNTdMMTAuNDA3MiAxNC45NTc5TDcuNjI1NzMgMTMuMTAzNkM3LjA3NDI5IDEyLjczNiA2LjMyOTI1IDEyLjg4NSA1Ljk2MTYzIDEzLjQzNjVDNS41OTQwMSAxMy45ODc5IDUuNzQzMDEgMTQuNzMyOSA2LjI5NDQ1IDE1LjEwMDZMOS44OTQ0NSAxNy41MDA2QzEwLjM3MDQgMTcuODE3OSAxMS4wMDQxIDE3Ljc1NTEgMTEuNDA4NiAxNy4zNTA2TDE3LjQwODYgOS44NTA2M0MxNy44NzcyIDkuMzgyIDE3Ljg3NzIgOC42MjIyIDE3LjQwODYgOC4xNTM1N1oiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8L3N2Zz4K", L2 = ({
|
|
848
847
|
icon: t,
|
|
849
848
|
id: M,
|
|
850
849
|
title: l,
|
|
@@ -862,7 +861,7 @@ const p2 = () => Ve, Ve = /* @__PURE__ */ c("div")({
|
|
|
862
861
|
}) => {
|
|
863
862
|
var f;
|
|
864
863
|
return p && T ? /* @__PURE__ */ A(
|
|
865
|
-
|
|
864
|
+
z2,
|
|
866
865
|
{
|
|
867
866
|
"data-answeredCorrect": (f = !h || y) == null ? void 0 : f.toString(),
|
|
868
867
|
"data-questionAnswered": "false",
|
|
@@ -873,7 +872,7 @@ const p2 = () => Ve, Ve = /* @__PURE__ */ c("div")({
|
|
|
873
872
|
/* @__PURE__ */ s(Te, { children: l }),
|
|
874
873
|
/* @__PURE__ */ A(Ce, { children: [
|
|
875
874
|
h && y && /* @__PURE__ */ s(ze, { children: /* @__PURE__ */ s(Le, { alt: "icon-correct", src: T ? Ee : F1 }) }),
|
|
876
|
-
/* @__PURE__ */ A(
|
|
875
|
+
/* @__PURE__ */ A(G1, { children: [
|
|
877
876
|
g,
|
|
878
877
|
"%"
|
|
879
878
|
] })
|
|
@@ -895,11 +894,11 @@ const p2 = () => Ve, Ve = /* @__PURE__ */ c("div")({
|
|
|
895
894
|
/* @__PURE__ */ s(Te, { children: l }),
|
|
896
895
|
p ? /* @__PURE__ */ A(Ce, { children: [
|
|
897
896
|
h && y && /* @__PURE__ */ s(ze, { children: /* @__PURE__ */ s(Le, { alt: "icon-correct", src: T ? Ee : F1 }) }),
|
|
898
|
-
/* @__PURE__ */ A(
|
|
897
|
+
/* @__PURE__ */ A(G1, { children: [
|
|
899
898
|
g,
|
|
900
899
|
"%"
|
|
901
900
|
] })
|
|
902
|
-
] }) : E === _.PREDICTION ? /* @__PURE__ */ A(
|
|
901
|
+
] }) : E === _.PREDICTION ? /* @__PURE__ */ A(G1, { children: [
|
|
903
902
|
z,
|
|
904
903
|
" pts"
|
|
905
904
|
] }) : null
|
|
@@ -908,39 +907,39 @@ const p2 = () => Ve, Ve = /* @__PURE__ */ c("div")({
|
|
|
908
907
|
)
|
|
909
908
|
] });
|
|
910
909
|
};
|
|
911
|
-
const
|
|
910
|
+
const E2 = /* @__PURE__ */ c("div")({
|
|
912
911
|
name: "e",
|
|
913
912
|
class: "elc1eph",
|
|
914
913
|
propsAsIs: !1
|
|
915
|
-
}),
|
|
914
|
+
}), w2 = /* @__PURE__ */ c("div")({
|
|
916
915
|
name: "o",
|
|
917
916
|
class: "o1yoh29a",
|
|
918
917
|
propsAsIs: !1
|
|
919
|
-
}),
|
|
918
|
+
}), m2 = /* @__PURE__ */ c("div")({
|
|
920
919
|
name: "n",
|
|
921
920
|
class: "njkr5mb",
|
|
922
921
|
propsAsIs: !1
|
|
923
|
-
}),
|
|
922
|
+
}), x2 = /* @__PURE__ */ c("div")({
|
|
924
923
|
name: "a",
|
|
925
924
|
class: "a82wnnx",
|
|
926
925
|
propsAsIs: !1
|
|
927
|
-
}),
|
|
926
|
+
}), O2 = /* @__PURE__ */ c("div")({
|
|
928
927
|
name: "l",
|
|
929
928
|
class: "l1nz1ddv",
|
|
930
929
|
propsAsIs: !1
|
|
931
|
-
}),
|
|
930
|
+
}), f2 = /* @__PURE__ */ c("img")({
|
|
932
931
|
name: "r",
|
|
933
932
|
class: "rd1fmde",
|
|
934
933
|
propsAsIs: !1
|
|
935
|
-
}),
|
|
934
|
+
}), S2 = /* @__PURE__ */ c("div")({
|
|
936
935
|
name: "d",
|
|
937
936
|
class: "dbyqoe6",
|
|
938
937
|
propsAsIs: !1
|
|
939
|
-
}),
|
|
938
|
+
}), k2 = /* @__PURE__ */ c("div")({
|
|
940
939
|
name: "p",
|
|
941
940
|
class: "p4qnn76",
|
|
942
941
|
propsAsIs: !1
|
|
943
|
-
}),
|
|
942
|
+
}), U2 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeT0iMC4wMDE5NTMxMiIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiIGZpbGw9IiNGODAwMjIiLz4KPHJlY3QgeD0iOC4yNSIgeT0iNy4wMDE5NSIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcuMDAxOTUpIiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB4PSI3IiB5PSIxNS43NTIiIHdpZHRoPSIxMi4zNzQ0IiBoZWlnaHQ9IjEuNzY3NzciIHJ4PSIwLjg4Mzg4NCIgdHJhbnNmb3JtPSJyb3RhdGUoLTQ1IDcgMTUuNzUyKSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==", v2 = ({
|
|
944
943
|
title: t,
|
|
945
944
|
questionId: M,
|
|
946
945
|
options: l,
|
|
@@ -949,7 +948,7 @@ const C2 = /* @__PURE__ */ c("div")({
|
|
|
949
948
|
questionAnsweredCorrectly: g,
|
|
950
949
|
questionType: j
|
|
951
950
|
}) => {
|
|
952
|
-
const [o, y] = B(!1), p =
|
|
951
|
+
const [o, y] = B(!1), p = w1(
|
|
953
952
|
(h) => {
|
|
954
953
|
y(h);
|
|
955
954
|
},
|
|
@@ -957,12 +956,12 @@ const C2 = /* @__PURE__ */ c("div")({
|
|
|
957
956
|
);
|
|
958
957
|
return u1(() => {
|
|
959
958
|
p(!1);
|
|
960
|
-
}, [l, p]), /* @__PURE__ */ A(
|
|
961
|
-
/* @__PURE__ */ s(
|
|
962
|
-
/* @__PURE__ */ A(
|
|
963
|
-
o && /* @__PURE__ */ s(
|
|
959
|
+
}, [l, p]), /* @__PURE__ */ A(E2, { children: [
|
|
960
|
+
/* @__PURE__ */ s(w2, { children: t }),
|
|
961
|
+
/* @__PURE__ */ A(m2, { children: [
|
|
962
|
+
o && /* @__PURE__ */ s(x2, { children: "Loading..." }),
|
|
964
963
|
l.map((h) => /* @__PURE__ */ s(
|
|
965
|
-
|
|
964
|
+
L2,
|
|
966
965
|
{
|
|
967
966
|
toggleIsLoadingSubmitAnswer: p,
|
|
968
967
|
questionId: M,
|
|
@@ -972,98 +971,98 @@ const C2 = /* @__PURE__ */ c("div")({
|
|
|
972
971
|
h.id
|
|
973
972
|
))
|
|
974
973
|
] }),
|
|
975
|
-
I && j === _.TRIVIA && /* @__PURE__ */ A(
|
|
976
|
-
/* @__PURE__ */ s(
|
|
974
|
+
I && j === _.TRIVIA && /* @__PURE__ */ A(O2, { children: [
|
|
975
|
+
/* @__PURE__ */ s(f2, { alt: "reaction-to-answer", src: g ? F1 : U2 }),
|
|
977
976
|
/* @__PURE__ */ A("div", { children: [
|
|
978
|
-
/* @__PURE__ */ s(
|
|
979
|
-
/* @__PURE__ */ s(
|
|
977
|
+
/* @__PURE__ */ s(S2, { children: g ? D.correctFeedback.title : D.incorrectFeedback.title }),
|
|
978
|
+
/* @__PURE__ */ s(k2, { children: g ? D.correctFeedback.description : D.incorrectFeedback.description })
|
|
980
979
|
] })
|
|
981
980
|
] })
|
|
982
981
|
] });
|
|
983
982
|
};
|
|
984
|
-
const
|
|
983
|
+
const Q2 = /* @__PURE__ */ c("div")({
|
|
985
984
|
name: "n",
|
|
986
985
|
class: "nyaglcf",
|
|
987
986
|
propsAsIs: !1
|
|
988
|
-
}),
|
|
987
|
+
}), Y2 = /* @__PURE__ */ c("div")({
|
|
989
988
|
name: "r",
|
|
990
989
|
class: "rn5nzbc",
|
|
991
990
|
propsAsIs: !1
|
|
992
|
-
}),
|
|
991
|
+
}), b2 = /* @__PURE__ */ c("img")({
|
|
993
992
|
name: "e",
|
|
994
993
|
class: "e6i73qc",
|
|
995
994
|
propsAsIs: !1
|
|
996
|
-
}),
|
|
995
|
+
}), Z2 = /* @__PURE__ */ c("div")({
|
|
997
996
|
name: "i",
|
|
998
997
|
class: "iu0veuw",
|
|
999
998
|
propsAsIs: !1
|
|
1000
|
-
}),
|
|
999
|
+
}), B2 = /* @__PURE__ */ c("img")({
|
|
1001
1000
|
name: "p",
|
|
1002
1001
|
class: "ph41hsa",
|
|
1003
1002
|
propsAsIs: !1
|
|
1004
|
-
}),
|
|
1003
|
+
}), R2 = /* @__PURE__ */ c("span")({
|
|
1005
1004
|
name: "a",
|
|
1006
1005
|
class: "a1doo0j",
|
|
1007
1006
|
propsAsIs: !1
|
|
1008
|
-
}),
|
|
1007
|
+
}), V2 = /* @__PURE__ */ c("div")({
|
|
1009
1008
|
name: "s",
|
|
1010
1009
|
class: "s1y6mmdj",
|
|
1011
1010
|
propsAsIs: !1
|
|
1012
|
-
}),
|
|
1011
|
+
}), G2 = /* @__PURE__ */ c("div")({
|
|
1013
1012
|
name: "c",
|
|
1014
1013
|
class: "cr7s6d2",
|
|
1015
1014
|
propsAsIs: !1
|
|
1016
|
-
}),
|
|
1015
|
+
}), P2 = /* @__PURE__ */ c("button")({
|
|
1017
1016
|
name: "d",
|
|
1018
1017
|
class: "dn2ogfd",
|
|
1019
1018
|
propsAsIs: !1
|
|
1020
|
-
}),
|
|
1019
|
+
}), $2 = /* @__PURE__ */ c("button")({
|
|
1021
1020
|
name: "x",
|
|
1022
1021
|
class: "xvt3fwn",
|
|
1023
1022
|
propsAsIs: !1
|
|
1024
|
-
}),
|
|
1023
|
+
}), H2 = /* @__PURE__ */ c("img")({
|
|
1025
1024
|
name: "g",
|
|
1026
1025
|
class: "g4rp2wp",
|
|
1027
1026
|
propsAsIs: !1
|
|
1028
|
-
}),
|
|
1027
|
+
}), W2 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikdyb3VwIDQ2NSI+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY4IiB4PSIxLjI1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKDQ1IDEuMjUgMCkiIGZpbGw9IndoaXRlIi8+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY5IiB5PSI4Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSAwIDguNzUpIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+Cjwvc3ZnPgo=", _2 = ({
|
|
1029
1028
|
close: t,
|
|
1030
1029
|
action: M,
|
|
1031
1030
|
data: { icon: l, header: I, title: D, subtitle: g, graphicBg: j, sponsorLogo: o }
|
|
1032
|
-
}) => /* @__PURE__ */ A(
|
|
1033
|
-
/* @__PURE__ */ s(
|
|
1034
|
-
/* @__PURE__ */ s(
|
|
1035
|
-
/* @__PURE__ */ A(
|
|
1031
|
+
}) => /* @__PURE__ */ A(Q2, { children: [
|
|
1032
|
+
/* @__PURE__ */ s($2, { onClick: t, children: /* @__PURE__ */ s(H2, { alt: "icon-close-onboarding-inapp", src: W2 }) }),
|
|
1033
|
+
/* @__PURE__ */ s(Y2, { style: { backgroundImage: `url(${j || ""})` }, children: l && /* @__PURE__ */ s(b2, { alt: "onboarding-inapp-icon", src: l }) }),
|
|
1034
|
+
/* @__PURE__ */ A(Z2, { children: [
|
|
1036
1035
|
/* @__PURE__ */ A("div", { children: [
|
|
1037
1036
|
/* @__PURE__ */ s("div", { children: o ? /* @__PURE__ */ A(a1, { children: [
|
|
1038
|
-
/* @__PURE__ */ s(
|
|
1039
|
-
/* @__PURE__ */ s(
|
|
1037
|
+
/* @__PURE__ */ s(B2, { alt: "sponsor-logo", src: o }),
|
|
1038
|
+
/* @__PURE__ */ s(R2, { children: "Presents" })
|
|
1040
1039
|
] }) : I || "" }),
|
|
1041
|
-
/* @__PURE__ */ s(
|
|
1042
|
-
/* @__PURE__ */ s(
|
|
1040
|
+
/* @__PURE__ */ s(V2, { children: D || "" }),
|
|
1041
|
+
/* @__PURE__ */ s(G2, { children: g || "" })
|
|
1043
1042
|
] }),
|
|
1044
|
-
/* @__PURE__ */ s(
|
|
1043
|
+
/* @__PURE__ */ s(P2, { onClick: M, children: "Play" })
|
|
1045
1044
|
] })
|
|
1046
1045
|
] });
|
|
1047
|
-
const
|
|
1046
|
+
const F2 = /* @__PURE__ */ c("div")({
|
|
1048
1047
|
name: "r",
|
|
1049
1048
|
class: "r1li8aub",
|
|
1050
1049
|
propsAsIs: !1
|
|
1051
|
-
}),
|
|
1052
|
-
[Ie.ONBOARDING]:
|
|
1050
|
+
}), J2 = {
|
|
1051
|
+
[Ie.ONBOARDING]: _2,
|
|
1053
1052
|
[Ie.QUESTION]: Ye
|
|
1054
|
-
},
|
|
1053
|
+
}, q2 = ({
|
|
1055
1054
|
index: t,
|
|
1056
1055
|
total: M,
|
|
1057
1056
|
...l
|
|
1058
1057
|
}) => {
|
|
1059
|
-
const I = ri(null), D =
|
|
1058
|
+
const I = ri(null), D = J2[l.type] || Ye;
|
|
1060
1059
|
return u1(() => {
|
|
1061
1060
|
I.current !== null && l.hiding && I.current.animate([{ right: "0" }, { right: "-100%" }], {
|
|
1062
1061
|
duration: 300,
|
|
1063
1062
|
fill: "forwards"
|
|
1064
1063
|
});
|
|
1065
1064
|
}, [l.hiding]), /* @__PURE__ */ s(
|
|
1066
|
-
|
|
1065
|
+
F2,
|
|
1067
1066
|
{
|
|
1068
1067
|
ref: I,
|
|
1069
1068
|
style: { zIndex: t + 1, transform: `translateY(${100 * (M - t - 1)}%)` },
|
|
@@ -1071,14 +1070,14 @@ const H2 = /* @__PURE__ */ c("div")({
|
|
|
1071
1070
|
}
|
|
1072
1071
|
);
|
|
1073
1072
|
};
|
|
1074
|
-
const
|
|
1073
|
+
const X2 = /* @__PURE__ */ c("div")({
|
|
1075
1074
|
name: "o",
|
|
1076
1075
|
class: "oc6h1al",
|
|
1077
1076
|
propsAsIs: !1
|
|
1078
|
-
}),
|
|
1077
|
+
}), K2 = ({ notificationsStore: t }) => {
|
|
1079
1078
|
const M = S(t);
|
|
1080
|
-
return /* @__PURE__ */ s(
|
|
1081
|
-
|
|
1079
|
+
return /* @__PURE__ */ s(X2, { children: M == null ? void 0 : M.map((l, I) => /* @__PURE__ */ s(
|
|
1080
|
+
q2,
|
|
1082
1081
|
{
|
|
1083
1082
|
index: I,
|
|
1084
1083
|
total: M.length,
|
|
@@ -1086,76 +1085,76 @@ const F2 = /* @__PURE__ */ c("div")({
|
|
|
1086
1085
|
},
|
|
1087
1086
|
l.id
|
|
1088
1087
|
)) });
|
|
1089
|
-
},
|
|
1088
|
+
}, et = ({ store: t }) => {
|
|
1090
1089
|
const { data: M } = S(t);
|
|
1091
1090
|
return M != null && M.summary ? /* @__PURE__ */ s(Re, { ...M.summary, ...M.percentage }) : /* @__PURE__ */ s("div", { children: "wait user..." });
|
|
1092
|
-
},
|
|
1091
|
+
}, it = ({ store: t, openQuestion: M }) => {
|
|
1093
1092
|
const l = S(t);
|
|
1094
|
-
return l != null && l.data ? /* @__PURE__ */ s(
|
|
1093
|
+
return l != null && l.data ? /* @__PURE__ */ s(T2, { openQuestion: M, questions: l.data }) : /* @__PURE__ */ s("div", { children: "wait questions..." });
|
|
1095
1094
|
};
|
|
1096
|
-
const
|
|
1095
|
+
const tt = /* @__PURE__ */ c("div")({
|
|
1097
1096
|
name: "n",
|
|
1098
1097
|
class: "nyqn0wt",
|
|
1099
1098
|
propsAsIs: !1
|
|
1100
|
-
}),
|
|
1099
|
+
}), nt = /* @__PURE__ */ c("div")({
|
|
1101
1100
|
name: "e",
|
|
1102
1101
|
class: "ev5p2si",
|
|
1103
1102
|
propsAsIs: !1
|
|
1104
|
-
}),
|
|
1103
|
+
}), rt = /* @__PURE__ */ c("div")({
|
|
1105
1104
|
name: "o",
|
|
1106
1105
|
class: "oq05beo",
|
|
1107
1106
|
propsAsIs: !1
|
|
1108
|
-
}),
|
|
1107
|
+
}), st = /* @__PURE__ */ c("span")({
|
|
1109
1108
|
name: "l",
|
|
1110
1109
|
class: "l3m01sq",
|
|
1111
1110
|
propsAsIs: !1
|
|
1112
|
-
}),
|
|
1111
|
+
}), Mt = /* @__PURE__ */ c("span")({
|
|
1113
1112
|
name: "r",
|
|
1114
1113
|
class: "r16m161p",
|
|
1115
1114
|
propsAsIs: !1
|
|
1116
|
-
}),
|
|
1117
|
-
/* @__PURE__ */ s(
|
|
1118
|
-
/* @__PURE__ */ A(
|
|
1119
|
-
/* @__PURE__ */ s(
|
|
1120
|
-
/* @__PURE__ */ s(
|
|
1115
|
+
}), P1 = ({ points: t }) => /* @__PURE__ */ A(tt, { children: [
|
|
1116
|
+
/* @__PURE__ */ s(nt, { children: "YOU WON" }),
|
|
1117
|
+
/* @__PURE__ */ A(rt, { children: [
|
|
1118
|
+
/* @__PURE__ */ s(st, { children: t }),
|
|
1119
|
+
/* @__PURE__ */ s(Mt, { children: "PTS" })
|
|
1121
1120
|
] })
|
|
1122
1121
|
] });
|
|
1123
|
-
const
|
|
1122
|
+
const ot = () => (t) => t.isSuccess ? "#f1be1c" : "#da3732", lt = /* @__PURE__ */ c("div")({
|
|
1124
1123
|
name: "n",
|
|
1125
1124
|
class: "ny64o6v",
|
|
1126
1125
|
propsAsIs: !1
|
|
1127
|
-
}),
|
|
1126
|
+
}), at = /* @__PURE__ */ c("img")({
|
|
1128
1127
|
name: "o",
|
|
1129
1128
|
class: "o1d4hyrc",
|
|
1130
1129
|
propsAsIs: !1
|
|
1131
|
-
}),
|
|
1130
|
+
}), ct = /* @__PURE__ */ c("div")({
|
|
1132
1131
|
name: "r",
|
|
1133
1132
|
class: "r19vby3u",
|
|
1134
1133
|
propsAsIs: !1
|
|
1135
|
-
}),
|
|
1134
|
+
}), ut = /* @__PURE__ */ c("button")({
|
|
1136
1135
|
name: "c",
|
|
1137
1136
|
class: "c1ti1w2c",
|
|
1138
1137
|
propsAsIs: !1
|
|
1139
|
-
}),
|
|
1138
|
+
}), It = /* @__PURE__ */ c("img")({
|
|
1140
1139
|
name: "d",
|
|
1141
1140
|
class: "d7y05y0",
|
|
1142
1141
|
propsAsIs: !1
|
|
1143
|
-
}),
|
|
1142
|
+
}), gt = /* @__PURE__ */ c("div")({
|
|
1144
1143
|
name: "p",
|
|
1145
1144
|
class: "pzcal19",
|
|
1146
1145
|
propsAsIs: !1
|
|
1147
|
-
}),
|
|
1146
|
+
}), we = /* @__PURE__ */ c("div")({
|
|
1148
1147
|
name: "a",
|
|
1149
1148
|
class: "agj7ruu",
|
|
1150
1149
|
propsAsIs: !1,
|
|
1151
1150
|
vars: {
|
|
1152
|
-
"agj7ruu-0": [
|
|
1151
|
+
"agj7ruu-0": [ot()]
|
|
1153
1152
|
}
|
|
1154
|
-
}),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jYxMDYgNy42NDQxIDcuODg5NDIgNy40MTczMiA4LjA5MTM1IDcuMTU5NTFDOC42MzQ2MiA3LjEzNTYzIDkuMTUyNjQgNy4wMjk0MSA5LjY0NTQzIDYuODQwODJDMTAuMTM4MiA2LjY1MjIzIDEwLjU1NDEgNi40MTk0OSAxMC44OTMgNi4xNDI1OEMxMS4yMzIgNS44NjU2NyAxMS41MDEyIDUuNTU1MzQgMTEuNzAwNyA1LjIxMTU5QzExLjkwMDIgNC44Njc4NCAxMiA0LjUyNjQ4IDEyIDQuMTg3NVpNNS4wNzAzMyA1LjM4NDkxTDYuMDM4MyA0Ljg3NTAzTDcuMDA2MjcgNS4zODQ5MUw2LjgyMTQgNC4zMDQ5N0w3LjYwNDUxIDMuNTQwMTZMNi41MjIyOCAzLjM4MjZMNi4wMzgzIDIuNDAwMDNMNS41NTQzMSAzLjM4MjZMNC40NzIwOSAzLjU0MDE2TDUuMjU1MTkgNC4zMDQ5N0w1LjA3MDMzIDUuMzg0OTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPC9nPgogIDwvc3ZnPgo=", dt = ({
|
|
1159
1158
|
logo: t,
|
|
1160
1159
|
points: M,
|
|
1161
1160
|
questionAnswered: l,
|
|
@@ -1165,50 +1164,50 @@ const rt = () => (t) => t.isSuccess ? "#f1be1c" : "#da3732", st = /* @__PURE__ *
|
|
|
1165
1164
|
setTimeToExpire: j
|
|
1166
1165
|
}) => {
|
|
1167
1166
|
const o = !l && D !== _.PREDICTION, y = l && D === _.TRIVIA, p = y && I, h = y && !I, T = l && D === _.PREDICTION;
|
|
1168
|
-
return /* @__PURE__ */ A(
|
|
1169
|
-
/* @__PURE__ */ A(
|
|
1170
|
-
/* @__PURE__ */ A(
|
|
1167
|
+
return /* @__PURE__ */ A(lt, { children: [
|
|
1168
|
+
/* @__PURE__ */ A(ct, { children: [
|
|
1169
|
+
/* @__PURE__ */ A(gt, { children: [
|
|
1171
1170
|
o && /* @__PURE__ */ s(be, { setTimeToExpire: j }),
|
|
1172
1171
|
p && /* @__PURE__ */ A(a1, { children: [
|
|
1173
|
-
/* @__PURE__ */ s(
|
|
1174
|
-
/* @__PURE__ */ s(
|
|
1172
|
+
/* @__PURE__ */ s(P1, { points: M }),
|
|
1173
|
+
/* @__PURE__ */ s(we, { isSuccess: !0, children: /* @__PURE__ */ s(me, { alt: "reaction-icon", src: Dt }) })
|
|
1175
1174
|
] }),
|
|
1176
1175
|
h && /* @__PURE__ */ A(a1, { children: [
|
|
1177
|
-
/* @__PURE__ */ s(
|
|
1178
|
-
/* @__PURE__ */ s(
|
|
1176
|
+
/* @__PURE__ */ s(P1, { points: 0 }),
|
|
1177
|
+
/* @__PURE__ */ s(we, { isSuccess: !1, children: /* @__PURE__ */ s(me, { alt: "reaction-icon", src: Nt }) })
|
|
1179
1178
|
] }),
|
|
1180
|
-
T && /* @__PURE__ */ s(
|
|
1179
|
+
T && /* @__PURE__ */ s(P1, { points: M })
|
|
1181
1180
|
] }),
|
|
1182
|
-
/* @__PURE__ */ s(
|
|
1181
|
+
/* @__PURE__ */ s(ut, { onClick: g, children: /* @__PURE__ */ s(It, { alt: "exit-icon", src: m1 }) })
|
|
1183
1182
|
] }),
|
|
1184
|
-
t && /* @__PURE__ */ s(
|
|
1183
|
+
t && /* @__PURE__ */ s(at, { src: t })
|
|
1185
1184
|
] });
|
|
1186
|
-
},
|
|
1187
|
-
const
|
|
1185
|
+
}, jt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjgiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCA2OCAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlZlY3RvciI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNTYuNjE1NSA3LjQ0MTQ2SDUwLjcwNjZMNTYuMzA3MiAxMy44NjE1TDUwLjcwNjY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4yNDIgMTAuMzE2QzM0LjE2MDEgMTAuMzE2IDM0LjkyNCAxMi4wNjE3IDM0LjkyNCAxMy44NzY3QzM0LjkyNCAxNS41OTc2IDM0LjExNDQgMTcuMjAxNiAzMi4yNDIgMTcuMjAxNloiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==";
|
|
1186
|
+
const At = /* @__PURE__ */ c("div")({
|
|
1188
1187
|
name: "k",
|
|
1189
1188
|
class: "k1qd1atw",
|
|
1190
1189
|
propsAsIs: !1
|
|
1191
|
-
}),
|
|
1190
|
+
}), yt = ({
|
|
1192
1191
|
openedQuestion: t,
|
|
1193
1192
|
closeQuestion: M,
|
|
1194
1193
|
vote: l
|
|
1195
1194
|
}) => {
|
|
1196
1195
|
var I;
|
|
1197
|
-
const [D, g] = B(!1), j =
|
|
1196
|
+
const [D, g] = B(!1), j = w1((p) => {
|
|
1198
1197
|
g(p);
|
|
1199
1198
|
}, [g]), o = c1(() => t == null ? void 0 : t.answers.find((p) => p.youVoted === !0), [t]), y = c1(() => !!(t != null && t.answers.find((p) => p.correct === !0)), [t]);
|
|
1200
|
-
return t ? /* @__PURE__ */ s(
|
|
1199
|
+
return t ? /* @__PURE__ */ s(At, {
|
|
1201
1200
|
children: /* @__PURE__ */ A("div", {
|
|
1202
|
-
children: [/* @__PURE__ */ s(
|
|
1201
|
+
children: [/* @__PURE__ */ s(dt, {
|
|
1203
1202
|
points: (o == null ? void 0 : o.points) || 0,
|
|
1204
1203
|
questionAnswered: !!o,
|
|
1205
1204
|
questionAnsweredCorrectly: o == null ? void 0 : o.correct,
|
|
1206
|
-
logo:
|
|
1205
|
+
logo: jt,
|
|
1207
1206
|
closeQuestion: M,
|
|
1208
1207
|
setTimeToExpire: j,
|
|
1209
1208
|
questionType: t.type
|
|
1210
1209
|
}), /* @__PURE__ */ s("div", {
|
|
1211
|
-
children: /* @__PURE__ */ s(
|
|
1210
|
+
children: /* @__PURE__ */ s(v2, {
|
|
1212
1211
|
title: t.subject,
|
|
1213
1212
|
feedbackMessages: (I = t.options) == null ? void 0 : I.options.value,
|
|
1214
1213
|
questionType: t.type,
|
|
@@ -1234,170 +1233,170 @@ const Dt = /* @__PURE__ */ c("div")({
|
|
|
1234
1233
|
})
|
|
1235
1234
|
}) : null;
|
|
1236
1235
|
};
|
|
1237
|
-
const
|
|
1236
|
+
const pt = /* @__PURE__ */ c("div")({
|
|
1238
1237
|
name: "e",
|
|
1239
1238
|
class: "e1q4ysxt",
|
|
1240
1239
|
propsAsIs: !1
|
|
1241
|
-
}),
|
|
1240
|
+
}), ht = /* @__PURE__ */ c("div")({
|
|
1242
1241
|
name: "o",
|
|
1243
1242
|
class: "ouyy0pt",
|
|
1244
1243
|
propsAsIs: !1
|
|
1245
|
-
}),
|
|
1244
|
+
}), Tt = /* @__PURE__ */ c("div")({
|
|
1246
1245
|
name: "n",
|
|
1247
1246
|
class: "n19nxf9u",
|
|
1248
1247
|
propsAsIs: !1
|
|
1249
|
-
}),
|
|
1248
|
+
}), Ct = /* @__PURE__ */ c("img")({
|
|
1250
1249
|
name: "r",
|
|
1251
1250
|
class: "r1k9ayhp",
|
|
1252
1251
|
propsAsIs: !1
|
|
1253
|
-
}),
|
|
1252
|
+
}), zt = /* @__PURE__ */ c("img")({
|
|
1254
1253
|
name: "l",
|
|
1255
1254
|
class: "l5j3lzi",
|
|
1256
1255
|
propsAsIs: !1
|
|
1257
|
-
}),
|
|
1256
|
+
}), Lt = /* @__PURE__ */ c("img")({
|
|
1258
1257
|
name: "s",
|
|
1259
1258
|
class: "sm6ggfo",
|
|
1260
1259
|
propsAsIs: !1
|
|
1261
|
-
}),
|
|
1260
|
+
}), Et = /* @__PURE__ */ c("div")({
|
|
1262
1261
|
name: "p",
|
|
1263
1262
|
class: "p1dhscaj",
|
|
1264
1263
|
propsAsIs: !1
|
|
1265
|
-
}),
|
|
1264
|
+
}), wt = /* @__PURE__ */ c("img")({
|
|
1266
1265
|
name: "a",
|
|
1267
1266
|
class: "a1f5isrh",
|
|
1268
1267
|
propsAsIs: !1
|
|
1269
1268
|
});
|
|
1270
|
-
const
|
|
1269
|
+
const mt = /* @__PURE__ */ c("div")({
|
|
1271
1270
|
name: "e",
|
|
1272
1271
|
class: "e1javwmj",
|
|
1273
1272
|
propsAsIs: !1
|
|
1274
|
-
}),
|
|
1273
|
+
}), xt = /* @__PURE__ */ c("div")({
|
|
1275
1274
|
name: "t",
|
|
1276
1275
|
class: "t1qosv8q",
|
|
1277
1276
|
propsAsIs: !1
|
|
1278
1277
|
});
|
|
1279
|
-
const
|
|
1278
|
+
const Ot = /* @__PURE__ */ c("div")({
|
|
1280
1279
|
name: "t",
|
|
1281
1280
|
class: "t16hl500",
|
|
1282
1281
|
propsAsIs: !1
|
|
1283
|
-
}),
|
|
1282
|
+
}), ft = /* @__PURE__ */ c("img")({
|
|
1284
1283
|
name: "e",
|
|
1285
1284
|
class: "e18ymslp",
|
|
1286
1285
|
propsAsIs: !1
|
|
1287
|
-
}),
|
|
1286
|
+
}), St = /* @__PURE__ */ c("div")({
|
|
1288
1287
|
name: "n",
|
|
1289
1288
|
class: "n1kdd00k",
|
|
1290
1289
|
propsAsIs: !1
|
|
1291
|
-
}),
|
|
1290
|
+
}), kt = /* @__PURE__ */ c("div")({
|
|
1292
1291
|
name: "r",
|
|
1293
1292
|
class: "rwwgdkm",
|
|
1294
1293
|
propsAsIs: !1
|
|
1295
|
-
}),
|
|
1294
|
+
}), Ut = /* @__PURE__ */ c("div")({
|
|
1296
1295
|
name: "d",
|
|
1297
1296
|
class: "dvazwa9",
|
|
1298
1297
|
propsAsIs: !1
|
|
1299
|
-
}),
|
|
1298
|
+
}), vt = /* @__PURE__ */ c("a")({
|
|
1300
1299
|
name: "c",
|
|
1301
1300
|
class: "cd3vh14",
|
|
1302
1301
|
propsAsIs: !1
|
|
1303
|
-
}),
|
|
1302
|
+
}), Qt = /* @__PURE__ */ c("img")({
|
|
1304
1303
|
name: "l",
|
|
1305
1304
|
class: "l19zo16x",
|
|
1306
1305
|
propsAsIs: !1
|
|
1307
1306
|
});
|
|
1308
|
-
const
|
|
1307
|
+
const Yt = /* @__PURE__ */ c("div")({
|
|
1309
1308
|
name: "e",
|
|
1310
1309
|
class: "e1xvhmps",
|
|
1311
1310
|
propsAsIs: !1
|
|
1312
|
-
}),
|
|
1311
|
+
}), bt = /* @__PURE__ */ c("img")({
|
|
1313
1312
|
name: "t",
|
|
1314
1313
|
class: "t1lltcmw",
|
|
1315
1314
|
propsAsIs: !1
|
|
1316
|
-
}),
|
|
1315
|
+
}), Zt = /* @__PURE__ */ c("img")({
|
|
1317
1316
|
name: "r",
|
|
1318
1317
|
class: "r1gw9pik",
|
|
1319
1318
|
propsAsIs: !1
|
|
1320
|
-
}),
|
|
1319
|
+
}), Bt = /* @__PURE__ */ c("div")({
|
|
1321
1320
|
name: "n",
|
|
1322
1321
|
class: "nxxxhec",
|
|
1323
1322
|
propsAsIs: !1
|
|
1324
|
-
}),
|
|
1323
|
+
}), Rt = /* @__PURE__ */ c("div")({
|
|
1325
1324
|
name: "p",
|
|
1326
1325
|
class: "pm069t4",
|
|
1327
1326
|
propsAsIs: !1
|
|
1328
|
-
}),
|
|
1327
|
+
}), Vt = /* @__PURE__ */ c("div")({
|
|
1329
1328
|
name: "d",
|
|
1330
1329
|
class: "d1ytmjny",
|
|
1331
1330
|
propsAsIs: !1
|
|
1332
|
-
}),
|
|
1331
|
+
}), Gt = /* @__PURE__ */ c("img")({
|
|
1333
1332
|
name: "x",
|
|
1334
1333
|
class: "xfme1wf",
|
|
1335
1334
|
propsAsIs: !1
|
|
1336
|
-
}),
|
|
1337
|
-
/* @__PURE__ */ s(
|
|
1338
|
-
/* @__PURE__ */ s(
|
|
1339
|
-
/* @__PURE__ */ A(
|
|
1340
|
-
/* @__PURE__ */ s(
|
|
1341
|
-
/* @__PURE__ */ s(
|
|
1335
|
+
}), Pt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZ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: "icon-link", src: Ht }),
|
|
1337
|
+
/* @__PURE__ */ s(Zt, { alt: "friends-icon", src: Pt }),
|
|
1338
|
+
/* @__PURE__ */ A(Bt, { children: [
|
|
1339
|
+
/* @__PURE__ */ s(Rt, { children: t }),
|
|
1340
|
+
/* @__PURE__ */ s(Vt, { children: M })
|
|
1342
1341
|
] }),
|
|
1343
|
-
/* @__PURE__ */ s(
|
|
1342
|
+
/* @__PURE__ */ s(Gt, { alt: "arrow-invite-icon", src: $t })
|
|
1344
1343
|
] });
|
|
1345
|
-
const
|
|
1344
|
+
const _t = /* @__PURE__ */ c("div")({
|
|
1346
1345
|
name: "t",
|
|
1347
1346
|
class: "t1lvbkps",
|
|
1348
1347
|
propsAsIs: !1
|
|
1349
|
-
}),
|
|
1348
|
+
}), Ft = /* @__PURE__ */ c("div")({
|
|
1350
1349
|
name: "r",
|
|
1351
1350
|
class: "r2xe6fm",
|
|
1352
1351
|
propsAsIs: !1
|
|
1353
|
-
}),
|
|
1352
|
+
}), Jt = /* @__PURE__ */ c("img")({
|
|
1354
1353
|
name: "n",
|
|
1355
1354
|
class: "n1yk5k0z",
|
|
1356
1355
|
propsAsIs: !1
|
|
1357
|
-
}),
|
|
1356
|
+
}), qt = /* @__PURE__ */ c("div")({
|
|
1358
1357
|
name: "o",
|
|
1359
1358
|
class: "o13yur3w",
|
|
1360
1359
|
propsAsIs: !1
|
|
1361
|
-
}),
|
|
1360
|
+
}), Xt = /* @__PURE__ */ c("div")({
|
|
1362
1361
|
name: "a",
|
|
1363
1362
|
class: "a1h2npcq",
|
|
1364
1363
|
propsAsIs: !1
|
|
1365
|
-
}),
|
|
1364
|
+
}), Kt = /* @__PURE__ */ c("div")({
|
|
1366
1365
|
name: "p",
|
|
1367
1366
|
class: "p1kxek13",
|
|
1368
1367
|
propsAsIs: !1
|
|
1369
|
-
}),
|
|
1368
|
+
}), en = /* @__PURE__ */ c("span")({
|
|
1370
1369
|
name: "d",
|
|
1371
1370
|
class: "dlf08ok",
|
|
1372
1371
|
propsAsIs: !1
|
|
1373
|
-
}),
|
|
1372
|
+
}), tn = /* @__PURE__ */ c("div")({
|
|
1374
1373
|
name: "s",
|
|
1375
1374
|
class: "s1hkuau3",
|
|
1376
1375
|
propsAsIs: !1
|
|
1377
|
-
}),
|
|
1376
|
+
}), nn = /* @__PURE__ */ c("span")({
|
|
1378
1377
|
name: "l",
|
|
1379
1378
|
class: "l1csgeuk",
|
|
1380
1379
|
propsAsIs: !1
|
|
1381
|
-
}),
|
|
1382
|
-
/* @__PURE__ */ s(
|
|
1383
|
-
M ? /* @__PURE__ */ s(
|
|
1384
|
-
/* @__PURE__ */ A(
|
|
1385
|
-
/* @__PURE__ */ s(
|
|
1386
|
-
/* @__PURE__ */ A(
|
|
1387
|
-
/* @__PURE__ */ s(
|
|
1380
|
+
}), rn = ({ rank: t, avatar: M, name: l, points: I, openItemDetail: D }) => /* @__PURE__ */ A(_t, { onClick: D, children: [
|
|
1381
|
+
/* @__PURE__ */ s(Ft, { children: t || 0 }),
|
|
1382
|
+
M ? /* @__PURE__ */ s(Jt, { alt: "leaderboard-item-avatar", src: M }) : /* @__PURE__ */ s(qt, { children: Be(l || "") }),
|
|
1383
|
+
/* @__PURE__ */ A(Xt, { children: [
|
|
1384
|
+
/* @__PURE__ */ s(Kt, { children: /* @__PURE__ */ s(en, { children: l || "" }) }),
|
|
1385
|
+
/* @__PURE__ */ A(tn, { children: [
|
|
1386
|
+
/* @__PURE__ */ s(nn, { children: "PTS" }),
|
|
1388
1387
|
I || 0
|
|
1389
1388
|
] })
|
|
1390
1389
|
] })
|
|
1391
1390
|
] });
|
|
1392
|
-
const
|
|
1391
|
+
const sn = /* @__PURE__ */ c("div")({
|
|
1393
1392
|
name: "t",
|
|
1394
1393
|
class: "t1txmonn",
|
|
1395
1394
|
propsAsIs: !1
|
|
1396
|
-
}),
|
|
1397
|
-
t.map((l) => /* @__PURE__ */ s(
|
|
1398
|
-
/* @__PURE__ */ s(
|
|
1395
|
+
}), Mn = ({ items: t, openItemDetail: M }) => /* @__PURE__ */ A(sn, { children: [
|
|
1396
|
+
t.map((l) => /* @__PURE__ */ s(rn, { ...l, openItemDetail: () => M(l.userId) }, l.userId)),
|
|
1397
|
+
/* @__PURE__ */ s(Wt, { title: "Invite Link", description: "Challenge friends!", onClick: () => {
|
|
1399
1398
|
} })
|
|
1400
|
-
] }),
|
|
1399
|
+
] }), on = ({ store: t }) => {
|
|
1401
1400
|
const { data: M } = S(t), [l, I] = B(void 0);
|
|
1402
1401
|
if (!M)
|
|
1403
1402
|
return /* @__PURE__ */ s("div", { children: "wait leader board..." });
|
|
@@ -1410,9 +1409,9 @@ const i0 = /* @__PURE__ */ c("div")({
|
|
|
1410
1409
|
I(o);
|
|
1411
1410
|
};
|
|
1412
1411
|
return /* @__PURE__ */ A(a1, { children: [
|
|
1413
|
-
l && /* @__PURE__ */ s(
|
|
1412
|
+
l && /* @__PURE__ */ s(K4, { comeBack: () => D(null), ...l }),
|
|
1414
1413
|
!l && /* @__PURE__ */ s(
|
|
1415
|
-
|
|
1414
|
+
Mn,
|
|
1416
1415
|
{
|
|
1417
1416
|
items: M.filter((g) => g.attributes).map((g) => g.attributes),
|
|
1418
1417
|
openItemDetail: D
|
|
@@ -1424,23 +1423,23 @@ const K = /* @__PURE__ */ c("div")({
|
|
|
1424
1423
|
name: "e",
|
|
1425
1424
|
class: "e6qv3to",
|
|
1426
1425
|
propsAsIs: !1
|
|
1427
|
-
}),
|
|
1426
|
+
}), ln = /* @__PURE__ */ c("div")({
|
|
1428
1427
|
name: "i",
|
|
1429
1428
|
class: "i1jak95i",
|
|
1430
1429
|
propsAsIs: !1
|
|
1431
|
-
}),
|
|
1430
|
+
}), an = /* @__PURE__ */ c("div")({
|
|
1432
1431
|
name: "r",
|
|
1433
1432
|
class: "r1qp3jjx",
|
|
1434
1433
|
propsAsIs: !1
|
|
1435
|
-
}),
|
|
1434
|
+
}), cn = /* @__PURE__ */ c("div")({
|
|
1436
1435
|
name: "n",
|
|
1437
1436
|
class: "naeizu7",
|
|
1438
1437
|
propsAsIs: !1
|
|
1439
|
-
}),
|
|
1438
|
+
}), $1 = /* @__PURE__ */ c("button")({
|
|
1440
1439
|
name: "a",
|
|
1441
1440
|
class: "a4zecne",
|
|
1442
1441
|
propsAsIs: !1
|
|
1443
|
-
}),
|
|
1442
|
+
}), un = ({
|
|
1444
1443
|
gamification: t,
|
|
1445
1444
|
sdk: M
|
|
1446
1445
|
}) => {
|
|
@@ -1478,39 +1477,39 @@ const K = /* @__PURE__ */ c("div")({
|
|
|
1478
1477
|
t.submitAnswer(X, v1);
|
|
1479
1478
|
};
|
|
1480
1479
|
return /* @__PURE__ */ A(K, { children: [
|
|
1481
|
-
/* @__PURE__ */ s(
|
|
1480
|
+
/* @__PURE__ */ s(w4, { activePage: t1, toggleActivePage: (X) => {
|
|
1482
1481
|
y1(X);
|
|
1483
1482
|
} }),
|
|
1484
1483
|
t1 === L1.HOME && /* @__PURE__ */ A(a1, { children: [
|
|
1485
|
-
/* @__PURE__ */ s(
|
|
1486
|
-
/* @__PURE__ */ A(
|
|
1487
|
-
t.questions && /* @__PURE__ */ s(
|
|
1488
|
-
A1 && /* @__PURE__ */ s(
|
|
1484
|
+
/* @__PURE__ */ s(ln, { children: t.userSummary && /* @__PURE__ */ s(et, { store: t.userSummary.getStore() }) }),
|
|
1485
|
+
/* @__PURE__ */ A(an, { children: [
|
|
1486
|
+
t.questions && /* @__PURE__ */ s(it, { openQuestion: S1, store: t.questions.getStore() }),
|
|
1487
|
+
A1 && /* @__PURE__ */ s(yt, { closeQuestion: k1, vote: U1, openedQuestion: A1 })
|
|
1489
1488
|
] })
|
|
1490
1489
|
] }),
|
|
1491
|
-
t1 === L1.LEADERBOARD && t.leaderboardList && /* @__PURE__ */ s(
|
|
1490
|
+
t1 === L1.LEADERBOARD && t.leaderboardList && /* @__PURE__ */ s(on, { store: t.leaderboardList.getStore() })
|
|
1492
1491
|
] });
|
|
1493
|
-
},
|
|
1492
|
+
}, In = (t, M) => {
|
|
1494
1493
|
switch (t) {
|
|
1495
1494
|
case Z1.ROUNDED:
|
|
1496
|
-
return /* @__PURE__ */ s(
|
|
1495
|
+
return /* @__PURE__ */ s(zt, { alt: "insight-icon", src: M });
|
|
1497
1496
|
case Z1.TRANSPARENT:
|
|
1498
|
-
return /* @__PURE__ */ s(
|
|
1497
|
+
return /* @__PURE__ */ s(Lt, { alt: "insight-icon", src: M });
|
|
1499
1498
|
case Z1.CENTERED:
|
|
1500
|
-
return /* @__PURE__ */ s(
|
|
1499
|
+
return /* @__PURE__ */ s(Ct, { alt: "insight-icon", src: M });
|
|
1501
1500
|
default:
|
|
1502
1501
|
return null;
|
|
1503
1502
|
}
|
|
1504
|
-
},
|
|
1505
|
-
/* @__PURE__ */ s(
|
|
1506
|
-
/* @__PURE__ */ A(
|
|
1507
|
-
/* @__PURE__ */ s(
|
|
1508
|
-
/* @__PURE__ */ s(
|
|
1503
|
+
}, gn = ({ title: t, image: M, questionId: l, imageMode: I, openInsight: D }) => /* @__PURE__ */ A(pt, { onClick: () => D(l), children: [
|
|
1504
|
+
/* @__PURE__ */ s(Tt, { children: M && In(I, M) }),
|
|
1505
|
+
/* @__PURE__ */ A(ht, { children: [
|
|
1506
|
+
/* @__PURE__ */ s(Et, { children: t || "" }),
|
|
1507
|
+
/* @__PURE__ */ s(wt, { alt: "next-icon", src: _1 })
|
|
1509
1508
|
] })
|
|
1510
|
-
] }),
|
|
1509
|
+
] }), Nn = ({ insights: t, openInsight: M }) => /* @__PURE__ */ s(mt, { children: /* @__PURE__ */ s(xt, { children: t == null ? void 0 : t.map((l) => /* @__PURE__ */ s(gn, { openInsight: M, ...l }, l.questionId)) }) }), Dn = ({ highlights: t, store: M }) => {
|
|
1511
1510
|
const { data: l } = S(M);
|
|
1512
|
-
return l ? /* @__PURE__ */ s(
|
|
1513
|
-
},
|
|
1511
|
+
return l ? /* @__PURE__ */ s(Nn, { insights: l, openInsight: t.openHighlight }) : /* @__PURE__ */ s("div", { children: "wait insights..." });
|
|
1512
|
+
}, dn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBjbGFzcz0ic2MtQU5kc04ga1RWV0pFIj48cGF0aCBkPSJNNi42NjY1IDMuMTY2NjlINC45OTk4NEM0LjI2MzQ2IDMuMTY2NjkgMy42NjY1IDMuNzYzNjQgMy42NjY1IDQuNTAwMDJWMTEuNUMzLjY2NjUgMTIuMjM2NCA0LjI2MzQ2IDEyLjgzMzQgNC45OTk4NCAxMi44MzM0SDExLjk5OThDMTIuNzM2MiAxMi44MzM0IDEzLjMzMzIgMTIuMjM2NCAxMy4zMzMyIDExLjVWOS44MzMzNSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTTEzLjMzMzUgNi4xNjY2OVYzLjE2NjY5SDEwLjMzMzUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjxwYXRoIGQ9Ik0xMy4xNjY4IDMuMzMzMzFMOC4zMzM1IDguMTY2NjUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjwvc3ZnPgo=", jn = ({
|
|
1514
1513
|
image: t,
|
|
1515
1514
|
title: M,
|
|
1516
1515
|
description: l,
|
|
@@ -1518,18 +1517,18 @@ const K = /* @__PURE__ */ c("div")({
|
|
|
1518
1517
|
webLink: D,
|
|
1519
1518
|
closeHighlights: g,
|
|
1520
1519
|
closeInsight: j
|
|
1521
|
-
}) => /* @__PURE__ */ A(
|
|
1520
|
+
}) => /* @__PURE__ */ A(Ot, { children: [
|
|
1522
1521
|
/* @__PURE__ */ s(Ze, { close: g, comeBack: j }),
|
|
1523
|
-
t && /* @__PURE__ */ s(
|
|
1524
|
-
/* @__PURE__ */ A(
|
|
1525
|
-
M && /* @__PURE__ */ s(
|
|
1526
|
-
l && /* @__PURE__ */ s(
|
|
1522
|
+
t && /* @__PURE__ */ s(ft, { alt: "detail-insight-image", src: t }),
|
|
1523
|
+
/* @__PURE__ */ A(St, { children: [
|
|
1524
|
+
M && /* @__PURE__ */ s(kt, { children: M }),
|
|
1525
|
+
l && /* @__PURE__ */ s(Ut, { children: l })
|
|
1527
1526
|
] }),
|
|
1528
|
-
D && I && /* @__PURE__ */ A(
|
|
1527
|
+
D && I && /* @__PURE__ */ A(vt, { href: D, target: "_blank", children: [
|
|
1529
1528
|
I,
|
|
1530
|
-
/* @__PURE__ */ s(
|
|
1529
|
+
/* @__PURE__ */ s(Qt, { alt: "link-icon", src: dn })
|
|
1531
1530
|
] })
|
|
1532
|
-
] }),
|
|
1531
|
+
] }), An = ({ openedInsight: t, closeHighlights: M, closeInsight: l }) => {
|
|
1533
1532
|
var I, D, g, j, o;
|
|
1534
1533
|
const y = ((I = t.options) == null ? void 0 : I.options.case) === "factoid" ? {
|
|
1535
1534
|
image: t.options.options.value.image,
|
|
@@ -1538,7 +1537,7 @@ const K = /* @__PURE__ */ c("div")({
|
|
|
1538
1537
|
webLinkLabel: (g = t.options.options.value.webLink) == null ? void 0 : g.label
|
|
1539
1538
|
} : {}, p = t.subject || ((j = t.notification) == null ? void 0 : j.title), h = y.body || ((o = t.notification) == null ? void 0 : o.body);
|
|
1540
1539
|
return /* @__PURE__ */ s(
|
|
1541
|
-
|
|
1540
|
+
jn,
|
|
1542
1541
|
{
|
|
1543
1542
|
image: y.image,
|
|
1544
1543
|
title: p,
|
|
@@ -1549,12 +1548,12 @@ const K = /* @__PURE__ */ c("div")({
|
|
|
1549
1548
|
closeHighlights: M
|
|
1550
1549
|
}
|
|
1551
1550
|
);
|
|
1552
|
-
},
|
|
1551
|
+
}, yn = ({ highlights: t, sdk: M }) => {
|
|
1553
1552
|
const l = S(t.status), I = S(t.openedInsight), { slStreamId: D } = S(M.sdkStore);
|
|
1554
1553
|
return l !== o1.Ready ? /* @__PURE__ */ s("div", { children: "wait..." }) : D != null && D.loading ? /* @__PURE__ */ s(K, { children: /* @__PURE__ */ s("div", { children: "Event is loading" }) }) : D != null && D.data ? t.insights === void 0 ? /* @__PURE__ */ s("div", { children: "wait insights..." }) : /* @__PURE__ */ A(K, { children: [
|
|
1555
|
-
!I && /* @__PURE__ */ s(
|
|
1554
|
+
!I && /* @__PURE__ */ s(Dn, { highlights: t, store: t.insights.getStore() }),
|
|
1556
1555
|
I && /* @__PURE__ */ s(
|
|
1557
|
-
|
|
1556
|
+
An,
|
|
1558
1557
|
{
|
|
1559
1558
|
openedInsight: I,
|
|
1560
1559
|
closeHighlights: t.closeFeature,
|
|
@@ -1563,16 +1562,16 @@ const K = /* @__PURE__ */ c("div")({
|
|
|
1563
1562
|
)
|
|
1564
1563
|
] }) : /* @__PURE__ */ s(K, { children: /* @__PURE__ */ s("div", { children: "Event is forbidden" }) });
|
|
1565
1564
|
};
|
|
1566
|
-
var
|
|
1567
|
-
x1.byteLength =
|
|
1568
|
-
x1.toByteArray =
|
|
1569
|
-
x1.fromByteArray =
|
|
1570
|
-
var H = [], Z = [],
|
|
1571
|
-
for (var M1 = 0,
|
|
1565
|
+
var pn = {}, Ge = {}, x1 = {};
|
|
1566
|
+
x1.byteLength = Cn;
|
|
1567
|
+
x1.toByteArray = Ln;
|
|
1568
|
+
x1.fromByteArray = mn;
|
|
1569
|
+
var H = [], Z = [], hn = typeof Uint8Array < "u" ? Uint8Array : Array, H1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
1570
|
+
for (var M1 = 0, Tn = H1.length; M1 < Tn; ++M1)
|
|
1572
1571
|
H[M1] = H1[M1], Z[H1.charCodeAt(M1)] = M1;
|
|
1573
1572
|
Z["-".charCodeAt(0)] = 62;
|
|
1574
1573
|
Z["_".charCodeAt(0)] = 63;
|
|
1575
|
-
function
|
|
1574
|
+
function Pe(t) {
|
|
1576
1575
|
var M = t.length;
|
|
1577
1576
|
if (M % 4 > 0)
|
|
1578
1577
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
@@ -1581,30 +1580,30 @@ function Ge(t) {
|
|
|
1581
1580
|
var I = l === M ? 0 : 4 - l % 4;
|
|
1582
1581
|
return [l, I];
|
|
1583
1582
|
}
|
|
1584
|
-
function
|
|
1585
|
-
var M =
|
|
1583
|
+
function Cn(t) {
|
|
1584
|
+
var M = Pe(t), l = M[0], I = M[1];
|
|
1586
1585
|
return (l + I) * 3 / 4 - I;
|
|
1587
1586
|
}
|
|
1588
|
-
function
|
|
1587
|
+
function zn(t, M, l) {
|
|
1589
1588
|
return (M + l) * 3 / 4 - l;
|
|
1590
1589
|
}
|
|
1591
|
-
function
|
|
1592
|
-
var M, l =
|
|
1590
|
+
function Ln(t) {
|
|
1591
|
+
var M, l = Pe(t), I = l[0], D = l[1], g = new hn(zn(t, I, D)), j = 0, o = D > 0 ? I - 4 : I, y;
|
|
1593
1592
|
for (y = 0; y < o; y += 4)
|
|
1594
1593
|
M = Z[t.charCodeAt(y)] << 18 | Z[t.charCodeAt(y + 1)] << 12 | Z[t.charCodeAt(y + 2)] << 6 | Z[t.charCodeAt(y + 3)], g[j++] = M >> 16 & 255, g[j++] = M >> 8 & 255, g[j++] = M & 255;
|
|
1595
1594
|
return D === 2 && (M = Z[t.charCodeAt(y)] << 2 | Z[t.charCodeAt(y + 1)] >> 4, g[j++] = M & 255), D === 1 && (M = Z[t.charCodeAt(y)] << 10 | Z[t.charCodeAt(y + 1)] << 4 | Z[t.charCodeAt(y + 2)] >> 2, g[j++] = M >> 8 & 255, g[j++] = M & 255), g;
|
|
1596
1595
|
}
|
|
1597
|
-
function
|
|
1596
|
+
function En(t) {
|
|
1598
1597
|
return H[t >> 18 & 63] + H[t >> 12 & 63] + H[t >> 6 & 63] + H[t & 63];
|
|
1599
1598
|
}
|
|
1600
|
-
function
|
|
1599
|
+
function wn(t, M, l) {
|
|
1601
1600
|
for (var I, D = [], g = M; g < l; g += 3)
|
|
1602
|
-
I = (t[g] << 16 & 16711680) + (t[g + 1] << 8 & 65280) + (t[g + 2] & 255), D.push(
|
|
1601
|
+
I = (t[g] << 16 & 16711680) + (t[g + 1] << 8 & 65280) + (t[g + 2] & 255), D.push(En(I));
|
|
1603
1602
|
return D.join("");
|
|
1604
1603
|
}
|
|
1605
|
-
function
|
|
1604
|
+
function mn(t) {
|
|
1606
1605
|
for (var M, l = t.length, I = l % 3, D = [], g = 16383, j = 0, o = l - I; j < o; j += g)
|
|
1607
|
-
D.push(
|
|
1606
|
+
D.push(wn(t, j, j + g > o ? o : j + g));
|
|
1608
1607
|
return I === 1 ? (M = t[l - 1], D.push(
|
|
1609
1608
|
H[M >> 2] + H[M << 4 & 63] + "=="
|
|
1610
1609
|
)) : I === 2 && (M = (t[l - 2] << 8) + t[l - 1], D.push(
|
|
@@ -1698,7 +1697,7 @@ te.write = function(t, M, l, I, D, g) {
|
|
|
1698
1697
|
throw new TypeError(
|
|
1699
1698
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof n
|
|
1700
1699
|
);
|
|
1701
|
-
if (
|
|
1700
|
+
if (G(n, ArrayBuffer) || n && G(n.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (G(n, SharedArrayBuffer) || n && G(n.buffer, SharedArrayBuffer)))
|
|
1702
1701
|
return U(n, e, i);
|
|
1703
1702
|
if (typeof n == "number")
|
|
1704
1703
|
throw new TypeError(
|
|
@@ -1754,7 +1753,7 @@ te.write = function(t, M, l, I, D, g) {
|
|
|
1754
1753
|
return i;
|
|
1755
1754
|
}
|
|
1756
1755
|
function f(n) {
|
|
1757
|
-
if (
|
|
1756
|
+
if (G(n, Uint8Array)) {
|
|
1758
1757
|
const e = new Uint8Array(n);
|
|
1759
1758
|
return U(e.buffer, e.byteOffset, e.byteLength);
|
|
1760
1759
|
}
|
|
@@ -1789,7 +1788,7 @@ te.write = function(t, M, l, I, D, g) {
|
|
|
1789
1788
|
o.isBuffer = function(e) {
|
|
1790
1789
|
return e != null && e._isBuffer === !0 && e !== o.prototype;
|
|
1791
1790
|
}, o.compare = function(e, i) {
|
|
1792
|
-
if (
|
|
1791
|
+
if (G(e, Uint8Array) && (e = o.from(e, e.offset, e.byteLength)), G(i, Uint8Array) && (i = o.from(i, i.offset, i.byteLength)), !o.isBuffer(e) || !o.isBuffer(i))
|
|
1793
1792
|
throw new TypeError(
|
|
1794
1793
|
'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
|
|
1795
1794
|
);
|
|
@@ -1832,7 +1831,7 @@ te.write = function(t, M, l, I, D, g) {
|
|
|
1832
1831
|
let u = 0;
|
|
1833
1832
|
for (r = 0; r < e.length; ++r) {
|
|
1834
1833
|
let N = e[r];
|
|
1835
|
-
if (
|
|
1834
|
+
if (G(N, Uint8Array))
|
|
1836
1835
|
u + N.length > a.length ? (o.isBuffer(N) || (N = o.from(N)), N.copy(a, u)) : Uint8Array.prototype.set.call(
|
|
1837
1836
|
a,
|
|
1838
1837
|
N,
|
|
@@ -1849,7 +1848,7 @@ te.write = function(t, M, l, I, D, g) {
|
|
|
1849
1848
|
function R(n, e) {
|
|
1850
1849
|
if (o.isBuffer(n))
|
|
1851
1850
|
return n.length;
|
|
1852
|
-
if (ArrayBuffer.isView(n) ||
|
|
1851
|
+
if (ArrayBuffer.isView(n) || G(n, ArrayBuffer))
|
|
1853
1852
|
return n.byteLength;
|
|
1854
1853
|
if (typeof n != "string")
|
|
1855
1854
|
throw new TypeError(
|
|
@@ -1951,7 +1950,7 @@ te.write = function(t, M, l, I, D, g) {
|
|
|
1951
1950
|
const i = t.INSPECT_MAX_BYTES;
|
|
1952
1951
|
return e = this.toString("hex", 0, i).replace(/(.{2})/g, "$1 ").trim(), this.length > i && (e += " ... "), "<Buffer " + e + ">";
|
|
1953
1952
|
}, I && (o.prototype[I] = o.prototype.inspect), o.prototype.compare = function(e, i, r, a, u) {
|
|
1954
|
-
if (
|
|
1953
|
+
if (G(e, Uint8Array) && (e = o.from(e, e.offset, e.byteLength)), !o.isBuffer(e))
|
|
1955
1954
|
throw new TypeError(
|
|
1956
1955
|
'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof e
|
|
1957
1956
|
);
|
|
@@ -1966,10 +1965,10 @@ te.write = function(t, M, l, I, D, g) {
|
|
|
1966
1965
|
if (i >>>= 0, r >>>= 0, a >>>= 0, u >>>= 0, this === e)
|
|
1967
1966
|
return 0;
|
|
1968
1967
|
let N = u - a, C = r - i;
|
|
1969
|
-
const
|
|
1970
|
-
for (let L = 0; L <
|
|
1971
|
-
if (
|
|
1972
|
-
N =
|
|
1968
|
+
const m = Math.min(N, C), w = this.slice(a, u), x = e.slice(i, r);
|
|
1969
|
+
for (let L = 0; L < m; ++L)
|
|
1970
|
+
if (w[L] !== x[L]) {
|
|
1971
|
+
N = w[L], C = x[L];
|
|
1973
1972
|
break;
|
|
1974
1973
|
}
|
|
1975
1974
|
return N < C ? -1 : C < N ? 1 : 0;
|
|
@@ -1999,28 +1998,28 @@ te.write = function(t, M, l, I, D, g) {
|
|
|
1999
1998
|
return -1;
|
|
2000
1999
|
u = 2, N /= 2, C /= 2, i /= 2;
|
|
2001
2000
|
}
|
|
2002
|
-
function
|
|
2001
|
+
function m(x, L) {
|
|
2003
2002
|
return u === 1 ? x[L] : x.readUInt16BE(L * u);
|
|
2004
2003
|
}
|
|
2005
|
-
let
|
|
2004
|
+
let w;
|
|
2006
2005
|
if (a) {
|
|
2007
2006
|
let x = -1;
|
|
2008
|
-
for (
|
|
2009
|
-
if (
|
|
2010
|
-
if (x === -1 && (x =
|
|
2007
|
+
for (w = i; w < N; w++)
|
|
2008
|
+
if (m(n, w) === m(e, x === -1 ? 0 : w - x)) {
|
|
2009
|
+
if (x === -1 && (x = w), w - x + 1 === C)
|
|
2011
2010
|
return x * u;
|
|
2012
2011
|
} else
|
|
2013
|
-
x !== -1 && (
|
|
2012
|
+
x !== -1 && (w -= w - x), x = -1;
|
|
2014
2013
|
} else
|
|
2015
|
-
for (i + C > N && (i = N - C),
|
|
2014
|
+
for (i + C > N && (i = N - C), w = i; w >= 0; w--) {
|
|
2016
2015
|
let x = !0;
|
|
2017
2016
|
for (let L = 0; L < C; L++)
|
|
2018
|
-
if (
|
|
2017
|
+
if (m(n, w + L) !== m(e, L)) {
|
|
2019
2018
|
x = !1;
|
|
2020
2019
|
break;
|
|
2021
2020
|
}
|
|
2022
2021
|
if (x)
|
|
2023
|
-
return
|
|
2022
|
+
return w;
|
|
2024
2023
|
}
|
|
2025
2024
|
return -1;
|
|
2026
2025
|
}
|
|
@@ -2114,19 +2113,19 @@ te.write = function(t, M, l, I, D, g) {
|
|
|
2114
2113
|
const u = n[a];
|
|
2115
2114
|
let N = null, C = u > 239 ? 4 : u > 223 ? 3 : u > 191 ? 2 : 1;
|
|
2116
2115
|
if (a + C <= i) {
|
|
2117
|
-
let
|
|
2116
|
+
let m, w, x, L;
|
|
2118
2117
|
switch (C) {
|
|
2119
2118
|
case 1:
|
|
2120
2119
|
u < 128 && (N = u);
|
|
2121
2120
|
break;
|
|
2122
2121
|
case 2:
|
|
2123
|
-
|
|
2122
|
+
m = n[a + 1], (m & 192) === 128 && (L = (u & 31) << 6 | m & 63, L > 127 && (N = L));
|
|
2124
2123
|
break;
|
|
2125
2124
|
case 3:
|
|
2126
|
-
|
|
2125
|
+
m = n[a + 1], w = n[a + 2], (m & 192) === 128 && (w & 192) === 128 && (L = (u & 15) << 12 | (m & 63) << 6 | w & 63, L > 2047 && (L < 55296 || L > 57343) && (N = L));
|
|
2127
2126
|
break;
|
|
2128
2127
|
case 4:
|
|
2129
|
-
|
|
2128
|
+
m = n[a + 1], w = n[a + 2], x = n[a + 3], (m & 192) === 128 && (w & 192) === 128 && (x & 192) === 128 && (L = (u & 15) << 18 | (m & 63) << 12 | (w & 63) << 6 | x & 63, L > 65535 && L < 1114112 && (N = L));
|
|
2130
2129
|
}
|
|
2131
2130
|
}
|
|
2132
2131
|
N === null ? (N = 65533, C = 1) : N > 65535 && (N -= 65536, r.push(N >>> 10 & 1023 | 55296), N = 56320 | N & 1023), r.push(N), a += C;
|
|
@@ -2326,8 +2325,8 @@ te.write = function(t, M, l, I, D, g) {
|
|
|
2326
2325
|
return se(this, e, i, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
2327
2326
|
}), o.prototype.writeIntLE = function(e, i, r, a) {
|
|
2328
2327
|
if (e = +e, i = i >>> 0, !a) {
|
|
2329
|
-
const
|
|
2330
|
-
Y(this, e, i, r,
|
|
2328
|
+
const m = Math.pow(2, 8 * r - 1);
|
|
2329
|
+
Y(this, e, i, r, m - 1, -m);
|
|
2331
2330
|
}
|
|
2332
2331
|
let u = 0, N = 1, C = 0;
|
|
2333
2332
|
for (this[i] = e & 255; ++u < r && (N *= 256); )
|
|
@@ -2335,8 +2334,8 @@ te.write = function(t, M, l, I, D, g) {
|
|
|
2335
2334
|
return i + r;
|
|
2336
2335
|
}, o.prototype.writeIntBE = function(e, i, r, a) {
|
|
2337
2336
|
if (e = +e, i = i >>> 0, !a) {
|
|
2338
|
-
const
|
|
2339
|
-
Y(this, e, i, r,
|
|
2337
|
+
const m = Math.pow(2, 8 * r - 1);
|
|
2338
|
+
Y(this, e, i, r, m - 1, -m);
|
|
2340
2339
|
}
|
|
2341
2340
|
let u = r - 1, N = 1, C = 0;
|
|
2342
2341
|
for (this[i + u] = e & 255; --u >= 0 && (N *= 256); )
|
|
@@ -2590,7 +2589,7 @@ te.write = function(t, M, l, I, D, g) {
|
|
|
2590
2589
|
e[a + i] = n[a];
|
|
2591
2590
|
return a;
|
|
2592
2591
|
}
|
|
2593
|
-
function
|
|
2592
|
+
function G(n, e) {
|
|
2594
2593
|
return n instanceof e || n != null && n.constructor != null && n.constructor.name != null && n.constructor.name === e.name;
|
|
2595
2594
|
}
|
|
2596
2595
|
function b1(n) {
|
|
@@ -2611,8 +2610,8 @@ te.write = function(t, M, l, I, D, g) {
|
|
|
2611
2610
|
function ii() {
|
|
2612
2611
|
throw new Error("BigInt not supported");
|
|
2613
2612
|
}
|
|
2614
|
-
})(
|
|
2615
|
-
var
|
|
2613
|
+
})(Ge);
|
|
2614
|
+
var $e = { exports: {} }, O = $e.exports = {}, P, $;
|
|
2616
2615
|
function J1() {
|
|
2617
2616
|
throw new Error("setTimeout has not been defined");
|
|
2618
2617
|
}
|
|
@@ -2621,60 +2620,60 @@ function q1() {
|
|
|
2621
2620
|
}
|
|
2622
2621
|
(function() {
|
|
2623
2622
|
try {
|
|
2624
|
-
typeof setTimeout == "function" ?
|
|
2623
|
+
typeof setTimeout == "function" ? P = setTimeout : P = J1;
|
|
2625
2624
|
} catch {
|
|
2626
|
-
|
|
2625
|
+
P = J1;
|
|
2627
2626
|
}
|
|
2628
2627
|
try {
|
|
2629
|
-
typeof clearTimeout == "function" ?
|
|
2628
|
+
typeof clearTimeout == "function" ? $ = clearTimeout : $ = q1;
|
|
2630
2629
|
} catch {
|
|
2631
|
-
|
|
2630
|
+
$ = q1;
|
|
2632
2631
|
}
|
|
2633
2632
|
})();
|
|
2634
2633
|
function He(t) {
|
|
2635
|
-
if (
|
|
2634
|
+
if (P === setTimeout)
|
|
2636
2635
|
return setTimeout(t, 0);
|
|
2637
|
-
if ((
|
|
2638
|
-
return
|
|
2636
|
+
if ((P === J1 || !P) && setTimeout)
|
|
2637
|
+
return P = setTimeout, setTimeout(t, 0);
|
|
2639
2638
|
try {
|
|
2640
|
-
return
|
|
2639
|
+
return P(t, 0);
|
|
2641
2640
|
} catch {
|
|
2642
2641
|
try {
|
|
2643
|
-
return
|
|
2642
|
+
return P.call(null, t, 0);
|
|
2644
2643
|
} catch {
|
|
2645
|
-
return
|
|
2644
|
+
return P.call(this, t, 0);
|
|
2646
2645
|
}
|
|
2647
2646
|
}
|
|
2648
2647
|
}
|
|
2649
|
-
function
|
|
2650
|
-
if (
|
|
2648
|
+
function xn(t) {
|
|
2649
|
+
if ($ === clearTimeout)
|
|
2651
2650
|
return clearTimeout(t);
|
|
2652
|
-
if ((
|
|
2653
|
-
return
|
|
2651
|
+
if (($ === q1 || !$) && clearTimeout)
|
|
2652
|
+
return $ = clearTimeout, clearTimeout(t);
|
|
2654
2653
|
try {
|
|
2655
|
-
return
|
|
2654
|
+
return $(t);
|
|
2656
2655
|
} catch {
|
|
2657
2656
|
try {
|
|
2658
|
-
return
|
|
2657
|
+
return $.call(null, t);
|
|
2659
2658
|
} catch {
|
|
2660
|
-
return
|
|
2659
|
+
return $.call(this, t);
|
|
2661
2660
|
}
|
|
2662
2661
|
}
|
|
2663
2662
|
}
|
|
2664
2663
|
var W = [], l1 = !1, e1, E1 = -1;
|
|
2665
|
-
function
|
|
2664
|
+
function On() {
|
|
2666
2665
|
!l1 || !e1 || (l1 = !1, e1.length ? W = e1.concat(W) : E1 = -1, W.length && We());
|
|
2667
2666
|
}
|
|
2668
2667
|
function We() {
|
|
2669
2668
|
if (!l1) {
|
|
2670
|
-
var t = He(
|
|
2669
|
+
var t = He(On);
|
|
2671
2670
|
l1 = !0;
|
|
2672
2671
|
for (var M = W.length; M; ) {
|
|
2673
2672
|
for (e1 = W, W = []; ++E1 < M; )
|
|
2674
2673
|
e1 && e1[E1].run();
|
|
2675
2674
|
E1 = -1, M = W.length;
|
|
2676
2675
|
}
|
|
2677
|
-
e1 = null, l1 = !1,
|
|
2676
|
+
e1 = null, l1 = !1, xn(t);
|
|
2678
2677
|
}
|
|
2679
2678
|
}
|
|
2680
2679
|
O.nextTick = function(t) {
|
|
@@ -2722,12 +2721,12 @@ O.chdir = function(t) {
|
|
|
2722
2721
|
O.umask = function() {
|
|
2723
2722
|
return 0;
|
|
2724
2723
|
};
|
|
2725
|
-
var
|
|
2724
|
+
var fn = $e.exports;
|
|
2726
2725
|
(function(t) {
|
|
2727
2726
|
Object.defineProperty(t, Symbol.toStringTag, { value: "Module" });
|
|
2728
|
-
const M =
|
|
2727
|
+
const M = Ge, l = fn, I = (j) => j && j.__esModule ? j : { default: j }, D = I(l), g = globalThis || void 0 || self;
|
|
2729
2728
|
Object.defineProperty(t, "Buffer", { enumerable: !0, get: () => M.Buffer }), Object.defineProperty(t, "process", { enumerable: !0, get: () => D.default }), t.global = g;
|
|
2730
|
-
})(
|
|
2729
|
+
})(pn);
|
|
2731
2730
|
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
2732
2731
|
var xe;
|
|
2733
2732
|
(function(t) {
|
|
@@ -2743,7 +2742,7 @@ var fe;
|
|
|
2743
2742
|
(function(t) {
|
|
2744
2743
|
t.Init = "init", t.Ready = "ready", t.Connecting = "connecting", t.Connected = "connected", t.Disconnected = "disconnected", t.Failed = "failed", t.Reconnecting = "reconnecting";
|
|
2745
2744
|
})(fe || (fe = {}));
|
|
2746
|
-
const
|
|
2745
|
+
const Sn = ({ sdk: t }) => /* @__PURE__ */ s(Pi, { login: async (M) => {
|
|
2747
2746
|
try {
|
|
2748
2747
|
await t.authorizationBypass("streamlayer:streamlayer", M);
|
|
2749
2748
|
} catch (l) {
|
|
@@ -2758,7 +2757,7 @@ var ke;
|
|
|
2758
2757
|
(function(t) {
|
|
2759
2758
|
t.DISABLED = "disabled", t.INITIALIZATION = "initialization", t.READY = "ready", t.FAILED = "failed", t.SUSPENDED = "suspended";
|
|
2760
2759
|
})(ke || (ke = {}));
|
|
2761
|
-
const
|
|
2760
|
+
const kn = ({ activeFeature: t, sdk: M }) => {
|
|
2762
2761
|
const [l, I] = B(null), { organizationSettings: D, streamSettings: g } = S(M.sdkStore), j = c1(() => {
|
|
2763
2762
|
const y = (g == null ? void 0 : g.data) || (D == null ? void 0 : D.data);
|
|
2764
2763
|
return y != null && y.overlays ? y.overlays : [];
|
|
@@ -2778,13 +2777,13 @@ const x0 = ({ activeFeature: t, sdk: M }) => {
|
|
|
2778
2777
|
p.status.get() === o1.Ready && p.disable();
|
|
2779
2778
|
};
|
|
2780
2779
|
}, [t, M]);
|
|
2781
|
-
const o = c1(() => l ? l.featureConfig.get().type === W1.GAMES ? l ? /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(
|
|
2780
|
+
const o = c1(() => l ? l.featureConfig.get().type === W1.GAMES ? l ? /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(un, { gamification: l, sdk: M }) }) : /* @__PURE__ */ s("div", { children: "wait gamification..." }) : l.featureConfig.get().type === W1.HIGHLIGHTS ? l ? /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(yn, { highlights: l, sdk: M }) }) : /* @__PURE__ */ s("div", { children: "wait highlights..." }) : /* @__PURE__ */ s("div", { children: "unknown feature" }) : null, [M, l]);
|
|
2782
2781
|
return /* @__PURE__ */ A("div", { children: [
|
|
2783
|
-
/* @__PURE__ */ A(
|
|
2784
|
-
/* @__PURE__ */ s(
|
|
2785
|
-
/* @__PURE__ */ s(
|
|
2782
|
+
/* @__PURE__ */ A(cn, { children: [
|
|
2783
|
+
/* @__PURE__ */ s($1, { onClick: () => M.closeFeature(), disabled: !o, children: "close" }),
|
|
2784
|
+
/* @__PURE__ */ s($1, { onClick: () => M.logout(), children: "logout" }),
|
|
2786
2785
|
j.map((y) => /* @__PURE__ */ A(
|
|
2787
|
-
|
|
2786
|
+
$1,
|
|
2788
2787
|
{
|
|
2789
2788
|
onClick: () => M.openFeature(y.type),
|
|
2790
2789
|
disabled: !(y.type in ni),
|
|
@@ -2800,14 +2799,14 @@ const x0 = ({ activeFeature: t, sdk: M }) => {
|
|
|
2800
2799
|
] }),
|
|
2801
2800
|
o
|
|
2802
2801
|
] });
|
|
2803
|
-
},
|
|
2802
|
+
}, Un = ({ sdk: t }) => {
|
|
2804
2803
|
const M = S(t.organizationStore()), l = S(t.getUserStore()), I = S(t.getActiveFeature());
|
|
2805
2804
|
return M.loading ? /* @__PURE__ */ s("div", { children: "authentication..." }) : M.data ? l.loading ? /* @__PURE__ */ s("div", { children: "authentication..." }) : l.data ? /* @__PURE__ */ A(a1, { children: [
|
|
2806
|
-
/* @__PURE__ */ s(
|
|
2807
|
-
/* @__PURE__ */ s(
|
|
2808
|
-
] }) : /* @__PURE__ */ s(
|
|
2805
|
+
/* @__PURE__ */ s(K2, { notificationsStore: t.getNotificationsStore() }),
|
|
2806
|
+
/* @__PURE__ */ s(kn, { sdk: t, activeFeature: I })
|
|
2807
|
+
] }) : /* @__PURE__ */ s(Sn, { sdk: t }) : /* @__PURE__ */ s("div", { children: "wrong sdk key..." });
|
|
2809
2808
|
};
|
|
2810
|
-
const
|
|
2809
|
+
const vn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2811
2810
|
width: 68,
|
|
2812
2811
|
height: 22,
|
|
2813
2812
|
viewBox: "0 0 68 22",
|
|
@@ -2829,7 +2828,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
2829
2828
|
}), /* @__PURE__ */ d.createElement("path", {
|
|
2830
2829
|
d: "M35.06 0.0559998V8.33281H35.0087C33.9803 7.12787 32.6966 6.70881 31.207 6.70881C28.1552 6.70881 25.8561 8.826 25.0493 11.6236C24.128 8.54092 21.7544 6.65084 18.2349 6.65084C15.3769 6.65084 13.1197 7.95936 11.9422 10.0918V7.44146H6.03416V4.56406H12.4815V0.0559998H0.768005V20.2805H6.03416V11.7794H11.2836C11.127 12.4037 11.0432 13.0727 11.0432 13.7788C11.0432 17.997 14.2031 20.958 18.2349 20.958C21.6258 20.958 23.8607 19.334 25.0419 16.374H20.5284C19.9183 17.2644 19.4553 17.5276 18.2349 17.5276C16.8199 17.5276 15.5995 16.2685 15.5995 14.7756H24.7894C25.1881 18.1262 27.7472 21.016 31.2582 21.016C32.773 21.016 34.1601 20.2558 35.0078 18.9729H35.059V20.2824H39.701L39.702 0.0559998H35.06ZM15.7467 11.8393C16.0392 10.5545 17.0164 9.71545 18.2358 9.71545C19.5782 9.71545 20.5051 10.5289 20.7492 11.8393C20.8517 11.8393 15.7467 11.8393 15.7467 11.8393ZM32.242 17.2016C30.5307 17.2016 29.4668 15.5748 29.4668 13.8767C29.4668 12.0617 30.3919 10.316 32.242 10.316C34.1601 10.316 34.924 12.0617 34.924 13.8767C34.924 15.5976 34.1144 17.2016 32.242 17.2016Z",
|
|
2831
2830
|
fill: "white"
|
|
2832
|
-
}))),
|
|
2831
|
+
}))), Qn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2833
2832
|
width: 16,
|
|
2834
2833
|
height: 17,
|
|
2835
2834
|
viewBox: "0 0 16 17",
|
|
@@ -2842,7 +2841,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
2842
2841
|
id: "Vector",
|
|
2843
2842
|
d: "M13.4315 3.18246L5.53321 11.0808L1.99771 7.54527C1.54056 7.08811 0.799913 7.08811 0.342864 7.54527C-0.114288 8.00242 -0.114288 8.74307 0.342864 9.20011L4.70567 13.5629C4.93331 13.7906 5.23415 13.9063 5.53307 13.9063C5.83202 13.9063 6.13096 13.7924 6.36048 13.5629L15.0861 4.83731C15.5432 4.38016 15.5432 3.63951 15.0861 3.18246C14.629 2.72531 13.8884 2.72531 13.4312 3.18246H13.4315Z",
|
|
2844
2843
|
fill: "#00BD60"
|
|
2845
|
-
}))),
|
|
2844
|
+
}))), Yn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2846
2845
|
width: 24,
|
|
2847
2846
|
height: 24,
|
|
2848
2847
|
viewBox: "0 0 24 24",
|
|
@@ -2857,7 +2856,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
2857
2856
|
clipRule: "evenodd",
|
|
2858
2857
|
d: "M24 12.002C24 18.6294 18.6274 24.002 12 24.002C5.37258 24.002 0 18.6294 0 12.002C0 5.37454 5.37258 0.00195312 12 0.00195312C18.6274 0.00195312 24 5.37454 24 12.002ZM17.4086 8.15357C16.94 7.68494 16.1802 7.68494 15.7116 8.15357L10.4072 14.9579L7.62573 13.1036C7.07429 12.736 6.32925 12.885 5.96163 13.4365C5.59401 13.9879 5.74301 14.7329 6.29445 15.1006L9.89445 17.5006C10.3704 17.8179 11.0041 17.7551 11.4086 17.3506L17.4086 9.85063C17.8772 9.382 17.8772 8.6222 17.4086 8.15357Z",
|
|
2859
2858
|
fill: "#FFFFFF"
|
|
2860
|
-
}))),
|
|
2859
|
+
}))), bn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2861
2860
|
width: 24,
|
|
2862
2861
|
height: 24,
|
|
2863
2862
|
viewBox: "0 0 24 24",
|
|
@@ -2872,7 +2871,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
2872
2871
|
clipRule: "evenodd",
|
|
2873
2872
|
d: "M24 12.002C24 18.6294 18.6274 24.002 12 24.002C5.37258 24.002 0 18.6294 0 12.002C0 5.37454 5.37258 0.00195312 12 0.00195312C18.6274 0.00195312 24 5.37454 24 12.002ZM17.4086 8.15357C16.94 7.68494 16.1802 7.68494 15.7116 8.15357L10.4072 14.9579L7.62573 13.1036C7.07429 12.736 6.32925 12.885 5.96163 13.4365C5.59401 13.9879 5.74301 14.7329 6.29445 15.1006L9.89445 17.5006C10.3704 17.8179 11.0041 17.7551 11.4086 17.3506L17.4086 9.85063C17.8772 9.382 17.8772 8.6222 17.4086 8.15357Z",
|
|
2874
2873
|
fill: "#00BD60"
|
|
2875
|
-
}))),
|
|
2874
|
+
}))), Zn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2876
2875
|
width: 12,
|
|
2877
2876
|
height: 20,
|
|
2878
2877
|
viewBox: "0 0 12 20",
|
|
@@ -2884,7 +2883,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
2884
2883
|
d: "M0 10C0 10.3818 0.145996 10.7075 0.449219 10.9995L9.20898 19.5684C9.44482 19.8154 9.75928 19.939 10.1187 19.939C10.8486 19.939 11.4214 19.3774 11.4214 18.6362C11.4214 18.2769 11.2754 17.9512 11.0283 17.7041L3.1333 10L11.0283 2.2959C11.2754 2.0376 11.4214 1.71191 11.4214 1.35254C11.4214 0.622559 10.8486 0.0610352 10.1187 0.0610352C9.75928 0.0610352 9.44482 0.18457 9.20898 0.431641L0.449219 9.00049C0.145996 9.29248 0.0112305 9.61816 0 10Z",
|
|
2885
2884
|
fill: "white",
|
|
2886
2885
|
fillOpacity: 0.6
|
|
2887
|
-
})),
|
|
2886
|
+
})), Bn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2888
2887
|
width: 24,
|
|
2889
2888
|
height: 24,
|
|
2890
2889
|
viewBox: "0 0 24 24",
|
|
@@ -2897,7 +2896,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
2897
2896
|
id: "Chevron_2",
|
|
2898
2897
|
d: "M6 11.999C6 12.1725 6.03134 12.334 6.09401 12.4837C6.15669 12.6334 6.25428 12.7756 6.3868 12.9103L14.0436 20.6565C14.2648 20.8855 14.5323 21 14.8459 21C15.0607 21 15.2544 20.9475 15.4271 20.8426C15.5998 20.7377 15.7384 20.5965 15.8431 20.4191C15.9477 20.2416 16 20.0425 16 19.8217C16 19.4989 15.8816 19.2134 15.6448 18.9654L8.74183 11.9971L15.6448 5.03271C15.8816 4.78709 16 4.5023 16 4.17834C16 3.95749 15.9477 3.75835 15.8431 3.58091C15.7384 3.40347 15.5998 3.26229 15.4271 3.15738C15.2544 3.05246 15.0607 3 14.8459 3C14.5323 3 14.2648 3.11169 14.0436 3.33508L6.3868 11.0878C6.25551 11.2225 6.15853 11.3644 6.09586 11.5134C6.03318 11.6625 6.00123 11.8244 6 11.999Z",
|
|
2899
2898
|
fill: "white"
|
|
2900
|
-
}))),
|
|
2899
|
+
}))), Rn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2901
2900
|
width: 16,
|
|
2902
2901
|
height: 17,
|
|
2903
2902
|
viewBox: "0 0 16 17",
|
|
@@ -2910,7 +2909,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
2910
2909
|
id: "Chevron_2",
|
|
2911
2910
|
d: "M12 8.17222C12 8.28783 11.9781 8.39553 11.9342 8.49533C11.8903 8.59513 11.822 8.68992 11.7292 8.7797L6.36949 13.9439C6.21462 14.0965 6.02742 14.1729 5.80787 14.1729C5.65752 14.1729 5.52191 14.1379 5.40104 14.0679C5.28016 13.998 5.1831 13.9039 5.10986 13.7856C5.03662 13.6673 5 13.5345 5 13.3873C5 13.1721 5.08288 12.9818 5.24863 12.8164L10.0807 8.17095L5.24863 3.52799C5.08288 3.36425 5 3.17439 5 2.95841C5 2.81118 5.03662 2.67842 5.10986 2.56013C5.1831 2.44183 5.28016 2.34771 5.40104 2.27777C5.52191 2.20782 5.65752 2.17285 5.80787 2.17285C6.02742 2.17285 6.21462 2.24731 6.36949 2.39624L11.7292 7.56473C11.8211 7.65451 11.889 7.74909 11.9329 7.84846C11.9768 7.94784 11.9991 8.05576 12 8.17222Z",
|
|
2912
2911
|
fill: "#FFFFFF"
|
|
2913
|
-
}))),
|
|
2912
|
+
}))), Vn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2914
2913
|
width: 24,
|
|
2915
2914
|
height: 24,
|
|
2916
2915
|
viewBox: "0 0 24 24",
|
|
@@ -2925,7 +2924,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
2925
2924
|
}), /* @__PURE__ */ d.createElement("path", {
|
|
2926
2925
|
d: "M10.8547 7.5429C10.524 7.23657 10.0131 7.23657 9.68243 7.5429C9.31416 7.88401 9.31384 8.46633 9.68174 8.80784L13.1206 12L9.68175 15.1922C9.31384 15.5337 9.31416 16.116 9.68243 16.4571C10.0131 16.7634 10.524 16.7634 10.8547 16.4571L14.9802 12.6358C15.3505 12.2928 15.3505 11.7072 14.9802 11.3642L10.8547 7.5429Z",
|
|
2927
2926
|
fill: "white"
|
|
2928
|
-
})),
|
|
2927
|
+
})), Gn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2929
2928
|
width: 10,
|
|
2930
2929
|
height: 10,
|
|
2931
2930
|
viewBox: "0 0 10 10",
|
|
@@ -2950,7 +2949,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
2950
2949
|
rx: 0.883884,
|
|
2951
2950
|
transform: "rotate(-45 0 8.75)",
|
|
2952
2951
|
fill: "white"
|
|
2953
|
-
}))),
|
|
2952
|
+
}))), Pn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2954
2953
|
width: 24,
|
|
2955
2954
|
height: 24,
|
|
2956
2955
|
viewBox: "0 0 24 24",
|
|
@@ -2979,7 +2978,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
2979
2978
|
rx: 0.883884,
|
|
2980
2979
|
transform: "rotate(-45 7 15.752)",
|
|
2981
2980
|
fill: "white"
|
|
2982
|
-
})),
|
|
2981
|
+
})), $n = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2983
2982
|
width: 14,
|
|
2984
2983
|
height: 14,
|
|
2985
2984
|
viewBox: "0 0 14 14",
|
|
@@ -3006,7 +3005,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3006
3005
|
rx: 1.17851,
|
|
3007
3006
|
transform: "rotate(-45 0.333008 12.1729)",
|
|
3008
3007
|
fill: "#9e0a1f"
|
|
3009
|
-
}))),
|
|
3008
|
+
}))), Hn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3010
3009
|
width: 40,
|
|
3011
3010
|
height: 40,
|
|
3012
3011
|
viewBox: "0 0 40 40",
|
|
@@ -3025,7 +3024,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3025
3024
|
id: "Vector_2",
|
|
3026
3025
|
d: "M20 10C18.0222 10 16.0888 10.5865 14.4443 11.6853C12.7998 12.7841 11.5181 14.3459 10.7612 16.1732C10.0043 18.0004 9.8063 20.0111 10.1922 21.9509C10.578 23.8907 11.5304 25.6725 12.9289 27.0711C14.3275 28.4696 16.1093 29.422 18.0491 29.8078C19.9889 30.1937 21.9996 29.9957 23.8268 29.2388C25.6541 28.4819 27.2159 27.2002 28.3147 25.5557C29.4135 23.9112 30 21.9778 30 20C29.997 17.3488 28.9424 14.807 27.0677 12.9323C25.193 11.0576 22.6512 10.003 20 10ZM15.7143 27.4121V26.4286C15.7149 25.8604 15.9408 25.3157 16.3425 24.914C16.7443 24.5122 17.289 24.2863 17.8571 24.2857H22.1429C22.711 24.2863 23.2557 24.5122 23.6575 24.914C24.0592 25.3157 24.2851 25.8604 24.2857 26.4286V27.4121C22.9851 28.1716 21.5061 28.5718 20 28.5718C18.4939 28.5718 17.0149 28.1716 15.7143 27.4121ZM25.7086 26.3757C25.6943 25.4388 25.3126 24.545 24.6457 23.8868C23.9787 23.2287 23.0799 22.8589 22.1429 22.8571H17.8571C16.9201 22.8589 16.0213 23.2287 15.3544 23.8868C14.6874 24.545 14.3057 25.4388 14.2914 26.3757C12.9961 25.2191 12.0827 23.6963 11.672 22.009C11.2614 20.3218 11.3729 18.5495 11.9919 16.927C12.6108 15.3046 13.708 13.9083 15.1381 12.9233C16.5682 11.9382 18.2638 11.4107 20.0004 11.4107C21.7369 11.4107 23.4325 11.9382 24.8626 12.9233C26.2927 13.9083 27.3899 15.3046 28.0088 16.927C28.6278 18.5495 28.7393 20.3218 28.3287 22.009C27.9181 23.6963 27.0039 25.2191 25.7086 26.3757Z",
|
|
3027
3026
|
fill: "white"
|
|
3028
|
-
})))),
|
|
3027
|
+
})))), Wn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3029
3028
|
width: 24,
|
|
3030
3029
|
height: 24,
|
|
3031
3030
|
viewBox: "0 0 24 24",
|
|
@@ -3054,7 +3053,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3054
3053
|
rx: 0.883884,
|
|
3055
3054
|
transform: "rotate(-45 7 15.75)",
|
|
3056
3055
|
fill: "white"
|
|
3057
|
-
})),
|
|
3056
|
+
})), _n = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3058
3057
|
width: 32,
|
|
3059
3058
|
height: 32,
|
|
3060
3059
|
viewBox: "0 0 32 32",
|
|
@@ -3074,7 +3073,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3074
3073
|
d: "M13.3898 9C12.3093 9 11.4326 9.82584 11.4326 10.8437C11.4326 11.8616 12.3093 12.6875 13.3898 12.6875C14.4704 12.6875 15.347 11.8616 15.347 10.8437C15.347 9.82584 14.4704 9 13.3898 9ZM13.3898 12.6875C13.1936 12.6875 12.9948 12.6827 12.7986 12.7451C13.191 13.2372 13.3898 13.8542 13.3898 14.5312C13.3898 14.7761 13.3287 15.0161 13.3287 15.261C13.8511 14.524 14.6946 14.0391 15.6732 13.9166C15.217 13.1796 14.3684 12.6875 13.3898 12.6875ZM18.609 9C17.5285 9 16.6518 9.82584 16.6518 10.8437C16.6518 11.8616 17.5285 12.6875 18.609 12.6875C19.6896 12.6875 20.5662 11.8616 20.5662 10.8437C20.5662 9.82584 19.6896 9 18.609 9ZM18.609 12.6875C17.6304 12.6875 16.7818 13.1796 16.3256 13.9166C17.3042 14.0391 18.1478 14.524 18.6702 15.261C18.6702 15.0161 18.609 14.7761 18.609 14.5312C18.609 13.8542 18.8078 13.2372 19.2003 12.7451C19.004 12.6827 18.8052 12.6875 18.609 12.6875Z",
|
|
3075
3074
|
fill: "white",
|
|
3076
3075
|
fillOpacity: 0.4
|
|
3077
|
-
})),
|
|
3076
|
+
})), Fn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3078
3077
|
width: 18,
|
|
3079
3078
|
height: 18,
|
|
3080
3079
|
viewBox: "0 0 18 18",
|
|
@@ -3087,7 +3086,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3087
3086
|
id: "Vector",
|
|
3088
3087
|
d: "M11 4.965V1.125L18 7.845L11 14.565V10.629C6 10.629 2.5 12.165 0 15.525C1 10.725 4 5.925 11 4.965Z",
|
|
3089
3088
|
fill: "white"
|
|
3090
|
-
}))),
|
|
3089
|
+
}))), Jn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3091
3090
|
width: 16,
|
|
3092
3091
|
height: 16,
|
|
3093
3092
|
viewBox: "0 0 16 16",
|
|
@@ -3100,7 +3099,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3100
3099
|
id: "Vector",
|
|
3101
3100
|
d: "M1.52 8C1.52 6.632 2.632 5.52 4 5.52H7.2V4L4 4C1.792 4 0 5.792 0 8C0 10.208 1.792 12 4 12H7.2L7.2 10.48H4C2.632 10.48 1.52 9.368 1.52 8ZM4.8 8.8H11.2V7.2H4.8V8.8ZM12 4H8.8V5.52L12 5.52C13.368 5.52 14.48 6.632 14.48 8C14.48 9.368 13.368 10.48 12 10.48H8.8V12H12C14.208 12 16 10.208 16 8C16 5.792 14.208 4 12 4Z",
|
|
3102
3101
|
fill: "white"
|
|
3103
|
-
}))),
|
|
3102
|
+
}))), qn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3104
3103
|
width: 17,
|
|
3105
3104
|
height: 16,
|
|
3106
3105
|
viewBox: "0 0 17 16",
|
|
@@ -3126,7 +3125,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3126
3125
|
strokeWidth: 1.5,
|
|
3127
3126
|
strokeLinecap: "round",
|
|
3128
3127
|
strokeLinejoin: "round"
|
|
3129
|
-
})),
|
|
3128
|
+
})), Xn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3130
3129
|
width: 17,
|
|
3131
3130
|
height: 18,
|
|
3132
3131
|
viewBox: "0 0 17 18",
|
|
@@ -3156,7 +3155,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3156
3155
|
strokeWidth: 1.5,
|
|
3157
3156
|
strokeLinecap: "round",
|
|
3158
3157
|
strokeLinejoin: "round"
|
|
3159
|
-
}))),
|
|
3158
|
+
}))), Kn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3160
3159
|
width: 99,
|
|
3161
3160
|
height: 96,
|
|
3162
3161
|
viewBox: "0 0 99 96",
|
|
@@ -3173,7 +3172,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3173
3172
|
id: "Vector_2",
|
|
3174
3173
|
d: "M98.1678 34.7754C97.6547 34.4147 97.3429 33.8272 97.3429 33.1882V31.4051C97.3429 29.8075 96.0752 28.5089 94.5159 28.5089H93.3891C92.041 28.5089 90.8035 29.1994 90.0691 30.3538L86.4272 36.1153C86.065 36.6822 85.4514 37.0223 84.7974 37.0223H82.3427C81.1253 37.0223 80.0086 37.7026 79.4251 38.8054C78.8215 39.9392 77.7752 40.7225 76.5679 40.9905V0.917313C76.5679 0.412276 76.1756 0 75.6726 0C75.1796 0 74.7772 0.412276 74.7772 0.917313V2.15414V13.4196V41.0111C73.5699 40.7431 72.5236 39.9598 71.92 38.8261C71.3465 37.7232 70.2298 37.043 69.0125 37.043H67.3626C66.0547 37.043 64.8676 37.8366 64.3344 39.0528L62.9661 42.2067C62.7448 42.7014 62.2619 43.0313 61.7287 43.0313C61.1955 43.0313 60.7126 42.7118 60.4913 42.2067L59.123 39.0528C58.5898 37.8263 57.4027 37.0327 56.0948 37.0327H9.52479C9.14249 37.0327 8.84068 37.3419 8.84068 37.7335C8.84068 38.5478 8.18674 39.2177 7.39196 39.2177H5.37986C4.99757 39.2177 4.69575 39.5269 4.69575 39.9186V42.3098C4.69575 44.5567 4.26315 46.7624 3.42813 48.834L2.20075 51.8643C1.05385 54.6884 0.510584 57.5846 0.520645 60.4396V67.4071C0.520645 69.2932 0.782218 71.1897 1.31542 73.0449C2.81444 78.2396 6.20483 82.4963 10.893 85.0215L18.3378 89.0412C18.4384 89.0928 18.539 89.1237 18.6497 89.1237L24.1528 89.1649C25.4405 89.1752 26.7081 89.5153 27.8248 90.1544L30.7826 91.8447C30.8832 91.9065 30.9939 91.9375 31.1146 91.9375H35.0684C36.4567 91.9375 37.825 92.3291 39.0121 93.0609C39.0121 93.0609 40.9437 94.2668 41.5977 94.6585C42.6439 95.2872 43.9116 95.885 46.1148 95.9984C46.6178 96.019 47.1108 95.8438 47.483 95.483C47.8553 95.1223 48.0666 94.6172 48.0666 94.0916V91.3809C48.0666 89.4123 49.2034 87.6292 50.964 86.8355L57.0003 84.1145C57.8252 83.7435 58.7508 83.6816 59.6059 83.9496L61.8595 84.6402C62.8152 84.9288 63.8313 84.9391 64.7972 84.6402L70.1493 83.0117C70.8636 82.7952 71.6081 82.7952 72.3325 83.022L74.5055 83.6507C75.5216 83.9496 76.2259 84.8979 76.2259 85.9801V91.4118C76.2259 93.937 78.238 95.9984 80.7028 95.9984C82.5439 95.9984 84.1636 94.7822 84.7169 92.9888C85.723 89.7421 86.2361 86.3614 86.2361 82.9499V80.6411C86.2361 79.0023 86.9001 77.415 88.0671 76.2916L90.2905 74.1375C91.7895 72.6739 92.6547 70.6228 92.6547 68.4996V55.616C92.6547 53.6164 93.2382 51.6994 94.3549 50.0606C94.4354 49.9472 94.4756 49.8029 94.4756 49.6586V46.6284C94.4756 44.6494 95.0591 42.7324 96.1557 41.1039L98.359 37.8263C98.4395 37.7129 98.4797 37.5686 98.4797 37.4346V35.3732C98.4797 34.9713 98.2584 34.8373 98.1678 34.7754ZM74.7872 69.2211C73.2882 68.9943 72.1816 68.2007 72.1816 67.2628C72.1816 66.3248 73.2882 65.5312 74.7872 65.3045V69.2211ZM76.5679 65.2941C78.0669 65.5209 79.1736 66.3145 79.1736 67.2525C79.1736 68.1904 78.0669 68.984 76.5679 69.2108V65.2941ZM12.6637 84.3928L11.5268 83.7847C8.45838 82.1356 6.00362 79.6619 4.32351 76.673V72.9109C6.24507 75.7556 8.85074 78.1881 12.05 79.9093L12.6637 80.2391V84.3928ZM18.3478 87.4643L15.3398 85.8461V81.6924L18.3378 83.3106H18.3478V87.4643ZM30.8832 90.2987L28.4989 88.9382C27.2011 88.1961 25.7322 87.7941 24.2534 87.7735V83.4343C25.5009 83.4652 26.7383 83.795 27.8349 84.4237L30.7927 86.1141C30.8229 86.1347 30.853 86.1244 30.8832 86.1347V90.2987ZM46.6983 91.3706V93.4835V94.0813C46.6983 94.2256 46.638 94.3596 46.5474 94.4523C46.4468 94.5451 46.3261 94.5966 46.1953 94.5863C44.2939 94.4833 43.1973 93.9782 42.3019 93.432C41.658 93.0403 39.7365 91.8447 39.7264 91.8447C38.5191 91.1026 37.161 90.68 35.7626 90.577V86.2377C36.9095 86.3408 38.0262 86.7016 39.0222 87.3097L40.6821 88.33C42.5031 89.4535 44.5756 90.0925 46.6983 90.2059V91.3706ZM63.1372 83.4446C62.8354 83.424 62.5436 83.3827 62.2519 83.3003L59.9983 82.6097C59.5154 82.4654 59.0124 82.4036 58.5194 82.4036V78.0644C58.8816 78.0644 59.2538 78.1056 59.6059 78.2087L61.8595 78.8992C62.272 79.0229 62.7046 79.0848 63.1372 79.1054V83.4446ZM77.2923 84.4959C76.8597 83.4549 75.9945 82.62 74.8878 82.3005L72.7248 81.6718C72.2117 81.5069 71.6785 81.445 71.1453 81.4554V77.1265C71.5578 77.1161 71.9703 77.1677 72.3727 77.3017L74.1534 77.8789C76.0347 78.487 77.3024 80.2494 77.3024 82.2696V84.4959H77.2923ZM83.5197 92.1848C83.4795 92.3085 83.4594 92.4322 83.4191 92.5559C83.0368 93.7721 81.9503 94.5863 80.7028 94.5863C80.5921 94.5863 80.4815 94.5657 80.3708 94.5554V90.2265C80.4513 90.2368 80.5318 90.2471 80.6223 90.2471C81.8396 90.2471 82.9362 89.5463 83.5197 88.495V92.1848ZM95.1799 38.0118C93.8217 40.032 93.1074 42.4025 93.1074 44.8556V46.9994L92.051 48.5661C90.6828 50.5965 89.9484 52.9774 89.9484 55.4408V66.2218C89.9484 67.9739 89.2442 69.6643 88.0067 70.8702L85.7834 73.0346C84.2944 74.4879 83.4694 76.539 83.5298 78.6519L83.5399 79.1363C83.6203 81.9398 83.2682 84.7226 82.5137 87.4127C82.2722 88.2682 81.4976 88.866 80.6223 88.866C79.5358 88.866 78.6605 87.959 78.6605 86.8562V82.2696C78.6605 79.631 77.0106 77.3326 74.5558 76.539L72.7751 75.9618C71.7892 75.6423 70.753 75.6423 69.767 75.9412L64.4149 77.5697C63.7106 77.7861 62.9661 77.7861 62.2519 77.5697L59.9983 76.8791C58.8313 76.5183 57.5637 76.6008 56.4469 77.1058L51.6883 79.2497C48.6501 80.6102 46.6883 83.6919 46.6883 87.0932V88.8454C44.817 88.732 42.986 88.1548 41.3763 87.1654L39.7163 86.145C38.3079 85.2792 36.7083 84.8257 35.0684 84.8257H31.3058L28.5089 83.2281C27.191 82.4757 25.692 82.0635 24.1729 82.0532L18.8307 82.0119L12.6938 78.7034C3.38789 73.653 -0.58601 62.367 3.45831 52.4208L4.68569 49.3906C5.6012 47.1437 6.06398 44.7628 6.06398 42.3304V40.6401H7.39196C8.70989 40.6401 9.81654 39.7021 10.1284 38.455H56.0948C56.8594 38.455 57.5637 38.9188 57.8755 39.6403L59.2438 42.7942C59.6764 43.8043 60.6522 44.4536 61.7287 44.4536C62.8052 44.4536 63.781 43.8043 64.2136 42.8045L65.5819 39.6506C65.8938 38.9291 66.5879 38.4653 67.3626 38.4653H69.0125C69.7268 38.4653 70.3807 38.8673 70.7228 39.5063C71.5679 41.1039 73.0769 42.1758 74.7872 42.4541V62.2639C72.0307 62.5731 69.918 64.2532 69.918 66.3042C69.918 68.5614 72.4934 70.3961 75.6726 70.3961C78.8517 70.3961 81.4272 68.5614 81.4272 66.3042C81.4272 64.2635 79.3145 62.5731 76.5579 62.2639V42.4438C78.2682 42.1655 79.7772 41.0936 80.6223 39.496C80.9644 38.857 81.6183 38.455 82.3326 38.455H84.7874C85.9141 38.455 86.9504 37.8778 87.5641 36.909L91.206 31.1371C91.6889 30.3847 92.4937 29.9312 93.379 29.9312H94.5058C95.3106 29.9312 95.9646 30.6012 95.9646 31.4257V33.2088C95.9646 34.0746 96.2865 34.8888 96.86 35.4969L95.1799 38.0118Z",
|
|
3175
3174
|
fill: "white"
|
|
3176
|
-
}))),
|
|
3175
|
+
}))), e0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3177
3176
|
width: 16,
|
|
3178
3177
|
height: 16,
|
|
3179
3178
|
viewBox: "0 0 16 16",
|
|
@@ -3189,7 +3188,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3189
3188
|
d: "M9.7778 1.68421V5.05263H13.3333C13.8243 5.05263 14.2222 4.67561 14.2222 4.21053V2.52632C14.2222 2.06123 13.8243 1.68421 13.3333 1.68421H9.7778ZM2.66667 0C1.19391 0 0 1.13107 0 2.52632V4.21053C0 5.60577 1.19391 6.73684 2.66667 6.73684H13.3333C14.8061 6.73684 16 5.60577 16 4.21053V2.52632C16 1.13107 14.8061 0 13.3333 0H2.66667ZM4.44446 10.9473H13.3333C13.8243 10.9473 14.2222 11.3243 14.2222 11.7894V13.4736C14.2222 13.9387 13.8243 14.3157 13.3333 14.3157H4.44446V10.9473ZM0 11.7894C0 10.3942 1.19391 9.2631 2.66667 9.2631H13.3333C14.8061 9.2631 16 10.3942 16 11.7894V13.4736C16 14.8689 14.8061 15.9999 13.3333 15.9999H2.66667C1.19391 15.9999 0 14.8689 0 13.4736V11.7894Z",
|
|
3190
3189
|
fill: "white",
|
|
3191
3190
|
fillOpacity: 0.5
|
|
3192
|
-
}))),
|
|
3191
|
+
}))), i0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3193
3192
|
width: 16,
|
|
3194
3193
|
height: 16,
|
|
3195
3194
|
viewBox: "0 0 16 16",
|
|
@@ -3205,7 +3204,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3205
3204
|
d: "M16 7.00522C16 7.00522 9.20048 6.81607 9.20048 0C9.20048 6.36168 3.27729 6.95056 2.48756 7.00078L2.40094 7.00522C2.40094 7.00522 9.20048 7.19435 9.20048 14.0104C9.20048 7.64877 15.1234 7.05989 15.9131 7.00964L16 7.00522ZM6.97382 12.5652C6.97382 12.5652 3.48691 12.4724 3.48691 9.13033C3.48691 12.2496 0.449402 12.5384 0.0444186 12.563L0 12.5652C0 12.5652 3.48691 12.6579 3.48691 16C3.48691 12.8807 6.52429 12.592 6.92927 12.5673L6.97382 12.5652Z",
|
|
3206
3205
|
fill: "white",
|
|
3207
3206
|
fillOpacity: 0.5
|
|
3208
|
-
}))),
|
|
3207
|
+
}))), t0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3209
3208
|
width: 16,
|
|
3210
3209
|
height: 15,
|
|
3211
3210
|
viewBox: "0 0 16 15",
|
|
@@ -3216,7 +3215,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3216
3215
|
id: "Start - You",
|
|
3217
3216
|
d: "M8 0L9.79611 5.52786H15.6085L10.9062 8.94427L12.7023 14.4721L8 11.0557L3.29772 14.4721L5.09383 8.94427L0.391548 5.52786H6.20389L8 0Z",
|
|
3218
3217
|
fill: "#F4D22A"
|
|
3219
|
-
})),
|
|
3218
|
+
})), n0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3220
3219
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3221
3220
|
width: 22,
|
|
3222
3221
|
height: 22,
|
|
@@ -3226,7 +3225,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3226
3225
|
}, /* @__PURE__ */ d.createElement("path", {
|
|
3227
3226
|
d: "M5.5 2.78867V12.4137C5.5 13.1729 4.88426 13.75 4.125 13.75H1.375C0.615742 13.75 0 13.1343 0 12.4137V2.82734C0 2.06808 0.615742 1.49102 1.375 1.49102H4.125C4.88555 1.41367 5.5 1.99375 5.5 2.78867ZM22 12.3707C22 13.5094 21.077 14.4323 19.9375 14.4323H13.6426C14.621 16.0613 15.1259 17.9077 15.1259 18.5582C15.125 19.5714 14.3301 20.625 12.998 20.625C10.2854 20.625 11.8654 17.3529 8.34883 14.5406L7.64844 13.982C7.14141 13.5738 6.88359 12.9766 6.8793 12.375C6.87829 12.374 6.8793 12.375 6.8793 12.375L6.875 5.5C6.875 4.85117 7.18064 4.23973 7.7 3.85043L9.16695 2.75086C10.3555 1.85625 11.8035 1.375 13.2902 1.375H15.8125C16.952 1.375 17.875 2.29754 17.875 3.43664C17.875 3.59283 17.8544 3.74357 17.8215 3.88996C18.6484 4.15937 19.25 4.92422 19.25 5.84375C19.25 6.23683 19.1341 6.60043 18.9432 6.91281C19.8988 7.08984 20.625 7.92773 20.625 8.9332C20.625 9.47031 20.4148 9.955 20.0784 10.322C21.1492 10.3941 22 11.2793 22 12.3707Z",
|
|
3228
3227
|
fill: "white"
|
|
3229
|
-
})),
|
|
3228
|
+
})), r0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3230
3229
|
width: 16,
|
|
3231
3230
|
height: 16,
|
|
3232
3231
|
viewBox: "0 0 16 16",
|
|
@@ -3242,7 +3241,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3242
3241
|
d: "M2.01663 1.3808C0.739913 1.55586 -0.153153 2.73276 0.021912 4.00948L1.3808 13.9196C1.55586 15.1963 2.73276 16.0894 4.00948 15.9143L13.9196 14.5554C15.1963 14.3803 16.0894 13.2034 15.9143 11.9267L14.5554 2.01663C14.3803 0.739913 13.2034 -0.153153 11.9267 0.021912L2.01663 1.3808ZM9.59613 3.788C9.11431 3.46991 8.47813 3.30151 7.7566 3.30151C7.54377 3.30151 7.32625 3.31671 7.10872 3.34478C6.38836 3.44067 5.68901 3.79034 5.18965 4.30138C4.68445 4.82062 4.4377 5.45563 4.51722 6.04151C4.57452 6.4742 4.90078 6.7537 5.34635 6.7537C5.39429 6.7537 5.44341 6.7502 5.49136 6.74435C6.08778 6.66483 6.21642 6.25436 6.34036 5.85675L6.34045 5.85648C6.48192 5.40401 6.61534 4.97731 7.38585 4.87444C7.46537 4.86391 7.54138 4.85806 7.61506 4.85806C8.16939 4.85806 8.51436 5.15042 8.58454 5.68252C8.65353 6.20293 8.24307 6.61807 7.80684 7.0566L7.80393 7.05954C7.31582 7.55231 6.7639 8.1095 6.86895 8.90083C6.89585 9.10548 6.9859 9.29493 7.12272 9.43644C7.27826 9.599 7.4829 9.68436 7.71331 9.68436C7.75541 9.68436 7.79868 9.68203 7.84311 9.67618C8.46691 9.59324 8.55162 9.23139 8.63338 8.8821L8.63365 8.88097L8.63661 8.86859C8.66723 8.7403 8.69877 8.60813 8.75995 8.48804C8.84649 8.31613 9.06283 8.11265 9.31428 7.87875C9.9142 7.31858 10.734 6.55143 10.582 5.41589C10.4872 4.70603 10.1551 4.15757 9.59611 3.78802L9.59613 3.788ZM8.11605 10.28C8.06927 10.28 8.02132 10.2836 7.97454 10.2894C7.38396 10.3689 6.96765 10.9127 7.04599 11.5033C7.11733 12.0377 7.57808 12.4412 8.1172 12.4412C8.16397 12.4412 8.21192 12.4377 8.25987 12.4318C8.85045 12.3523 9.2656 11.8085 9.18842 11.2179C9.11591 10.6823 8.65517 10.28 8.11605 10.28Z",
|
|
3243
3242
|
fill: "white",
|
|
3244
3243
|
fillOpacity: 0.5
|
|
3245
|
-
}))),
|
|
3244
|
+
}))), s0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3246
3245
|
width: 12,
|
|
3247
3246
|
height: 12,
|
|
3248
3247
|
viewBox: "0 0 12 12",
|
|
@@ -3257,7 +3256,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3257
3256
|
clipRule: "evenodd",
|
|
3258
3257
|
d: "M2.76916 3.50002C2.76916 4.49786 2.94705 5.38348 3.30282 6.15692C2.62493 6.01847 2.05883 5.74872 1.6045 5.34768C1.15017 4.94663 0.923008 4.55992 0.923008 4.18752V3.50002H2.76916ZM11.0768 3.50002V4.18752C11.0768 4.55992 10.8497 4.94663 10.3953 5.34768C9.941 5.74872 9.3749 6.01847 8.69701 6.15692C9.05278 5.38348 9.23066 4.49786 9.23066 3.50002H11.0768ZM12 4.1875V3.27083C12 3.07986 11.9327 2.91754 11.7981 2.78385C11.6635 2.65017 11.5 2.58333 11.3077 2.58333H9.23077V1.89583C9.23077 1.58073 9.11779 1.31098 8.89183 1.08659C8.66586 0.862195 8.39423 0.75 8.07692 0.75H3.92308C3.60577 0.75 3.33414 0.862195 3.10817 1.08659C2.88221 1.31098 2.76923 1.58073 2.76923 1.89583V2.58333H0.692308C0.499999 2.58333 0.336539 2.65017 0.201923 2.78385C0.067307 2.91754 0 3.07986 0 3.27083V4.1875C0 4.52648 0.0997586 4.86784 0.299279 5.21159C0.498799 5.55534 0.768027 5.86567 1.10697 6.14258C1.44592 6.41949 1.86178 6.65223 2.35457 6.84082C2.84736 7.02941 3.36538 7.13563 3.90865 7.15951C4.11058 7.41732 4.33894 7.6441 4.59375 7.83984C4.77644 8.00217 4.90264 8.17524 4.97236 8.35905C5.04207 8.54286 5.07692 8.75651 5.07692 9C5.07692 9.25781 5.00361 9.47504 4.85697 9.65169C4.71034 9.82834 4.47596 9.91667 4.15385 9.91667C3.79327 9.91667 3.47236 10.0253 3.19111 10.2425C2.90985 10.4597 2.76923 10.7331 2.76923 11.0625V11.5208C2.76923 11.5877 2.79087 11.6426 2.83413 11.6855C2.8774 11.7285 2.93269 11.75 3 11.75H9C9.06731 11.75 9.1226 11.7285 9.16586 11.6855C9.20913 11.6426 9.23077 11.5877 9.23077 11.5208V11.0625C9.23077 10.7331 9.09015 10.4597 8.80889 10.2425C8.52764 10.0253 8.20673 9.91667 7.84615 9.91667C7.52404 9.91667 7.28966 9.82834 7.14303 9.65169C6.99639 9.47504 6.92308 9.25781 6.92308 9C6.92308 8.75651 6.95793 8.54286 7.02764 8.35905C7.09736 8.17524 7.22356 8.00217 7.40625 7.83984C7.66106 7.6441 7.88942 7.41732 8.09135 7.15951C8.63462 7.13563 9.15264 7.02941 9.64543 6.84082C10.1382 6.65223 10.5541 6.41949 10.893 6.14258C11.232 5.86567 11.5012 5.55534 11.7007 5.21159C11.9002 4.86784 12 4.52648 12 4.1875ZM5.07033 5.38491L6.0383 4.87503L7.00627 5.38491L6.8214 4.30497L7.60451 3.54016L6.52228 3.3826L6.0383 2.40003L5.55431 3.3826L4.47209 3.54016L5.25519 4.30497L5.07033 5.38491Z",
|
|
3259
3258
|
fill: "white"
|
|
3260
|
-
}))),
|
|
3259
|
+
}))), M0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3261
3260
|
width: 12,
|
|
3262
3261
|
height: 12,
|
|
3263
3262
|
viewBox: "0 0 12 12",
|
|
@@ -3272,7 +3271,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3272
3271
|
clipRule: "evenodd",
|
|
3273
3272
|
d: "M2.76916 3.50002C2.76916 4.49786 2.94705 5.38348 3.30282 6.15692C2.62493 6.01847 2.05883 5.74872 1.6045 5.34768C1.15017 4.94663 0.923008 4.55992 0.923008 4.18752V3.50002H2.76916ZM11.0768 3.50002V4.18752C11.0768 4.55992 10.8497 4.94663 10.3953 5.34768C9.941 5.74872 9.3749 6.01847 8.69701 6.15692C9.05278 5.38348 9.23066 4.49786 9.23066 3.50002H11.0768ZM12 4.1875V3.27083C12 3.07986 11.9327 2.91754 11.7981 2.78385C11.6635 2.65017 11.5 2.58333 11.3077 2.58333H9.23077V1.89583C9.23077 1.58073 9.11779 1.31098 8.89183 1.08659C8.66586 0.862195 8.39423 0.75 8.07692 0.75H3.92308C3.60577 0.75 3.33414 0.862195 3.10817 1.08659C2.88221 1.31098 2.76923 1.58073 2.76923 1.89583V2.58333H0.692308C0.499999 2.58333 0.336539 2.65017 0.201923 2.78385C0.067307 2.91754 0 3.07986 0 3.27083V4.1875C0 4.52648 0.0997586 4.86784 0.299279 5.21159C0.498799 5.55534 0.768027 5.86567 1.10697 6.14258C1.44592 6.41949 1.86178 6.65223 2.35457 6.84082C2.84736 7.02941 3.36538 7.13563 3.90865 7.15951C4.11058 7.41732 4.33894 7.6441 4.59375 7.83984C4.77644 8.00217 4.90264 8.17524 4.97236 8.35905C5.04207 8.54286 5.07692 8.75651 5.07692 9C5.07692 9.25781 5.00361 9.47504 4.85697 9.65169C4.71034 9.82834 4.47596 9.91667 4.15385 9.91667C3.79327 9.91667 3.47236 10.0253 3.19111 10.2425C2.90985 10.4597 2.76923 10.7331 2.76923 11.0625V11.5208C2.76923 11.5877 2.79087 11.6426 2.83413 11.6855C2.8774 11.7285 2.93269 11.75 3 11.75H9C9.06731 11.75 9.1226 11.7285 9.16586 11.6855C9.20913 11.6426 9.23077 11.5877 9.23077 11.5208V11.0625C9.23077 10.7331 9.09015 10.4597 8.80889 10.2425C8.52764 10.0253 8.20673 9.91667 7.84615 9.91667C7.52404 9.91667 7.28966 9.82834 7.14303 9.65169C6.99639 9.47504 6.92308 9.25781 6.92308 9C6.92308 8.75651 6.95793 8.54286 7.02764 8.35905C7.09736 8.17524 7.22356 8.00217 7.40625 7.83984C7.66106 7.6441 7.88942 7.41732 8.09135 7.15951C8.63462 7.13563 9.15264 7.02941 9.64543 6.84082C10.1382 6.65223 10.5541 6.41949 10.893 6.14258C11.232 5.86567 11.5012 5.55534 11.7007 5.21159C11.9002 4.86784 12 4.52648 12 4.1875ZM5.07033 5.38491L6.0383 4.87503L7.00627 5.38491L6.8214 4.30497L7.60451 3.54016L6.52228 3.3826L6.0383 2.40003L5.55431 3.3826L4.47209 3.54016L5.25519 4.30497L5.07033 5.38491Z",
|
|
3274
3273
|
fill: "#F2C94C"
|
|
3275
|
-
}))),
|
|
3274
|
+
}))), o0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3276
3275
|
width: 25,
|
|
3277
3276
|
height: 24,
|
|
3278
3277
|
viewBox: "0 0 25 24",
|
|
@@ -3290,7 +3289,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3290
3289
|
d: "M8.58473 1.5C6.96392 1.5 5.64893 2.73876 5.64893 4.2656C5.64893 5.79245 6.96392 7.03121 8.58473 7.03121C10.2055 7.03121 11.5205 5.79245 11.5205 4.2656C11.5205 2.73876 10.2055 1.5 8.58473 1.5ZM8.58473 7.03121C8.29038 7.03121 7.99221 7.024 7.69787 7.11763C8.28656 7.85584 8.58473 8.78131 8.58473 9.79681C8.58473 10.1641 8.49298 10.5242 8.49298 10.8915C9.27663 9.78601 10.5419 9.05859 12.0098 8.87494C11.3256 7.76942 10.0526 7.03121 8.58473 7.03121ZM16.4135 1.5C14.7927 1.5 13.4777 2.73876 13.4777 4.2656C13.4777 5.79245 14.7927 7.03121 16.4135 7.03121C18.0343 7.03121 19.3493 5.79245 19.3493 4.2656C19.3493 2.73876 18.0343 1.5 16.4135 1.5ZM16.4135 7.03121C14.9456 7.03121 13.6727 7.76942 12.9884 8.87494C14.4563 9.05859 15.7216 9.78601 16.5053 10.8915C16.5053 10.5242 16.4135 10.1641 16.4135 9.79681C16.4135 8.78131 16.7117 7.85584 17.3004 7.11763C17.006 7.024 16.7079 7.03121 16.4135 7.03121Z",
|
|
3291
3290
|
fill: "white",
|
|
3292
3291
|
fillOpacity: 0.4
|
|
3293
|
-
}))),
|
|
3292
|
+
}))), l0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3294
3293
|
width: 18,
|
|
3295
3294
|
height: 18,
|
|
3296
3295
|
viewBox: "0 0 18 18",
|
|
@@ -3313,7 +3312,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3313
3312
|
clipRule: "evenodd",
|
|
3314
3313
|
d: "M10.6432 6.12891C10.9551 6.12891 11.2103 6.37162 11.2302 6.67846L11.2315 6.71714V7.55879L13.3334 6.46776C13.6362 6.31058 13.9959 6.51777 14.0195 6.85057L14.0207 6.88543V11.1406C14.0207 11.4763 13.6813 11.7002 13.3764 11.578L13.345 11.5641L11.2315 10.54V11.2818C11.2315 11.5937 10.9887 11.8489 10.6819 11.8688L10.6432 11.8701H5.11851C4.80663 11.8701 4.55144 11.6274 4.53152 11.3205L4.53027 11.2818V6.71714C4.53027 6.40526 4.77299 6.15007 5.07983 6.13016L5.11851 6.12891H10.6432ZM10.2897 7.07007H5.4709V10.9289H10.2897V7.07007ZM13.0792 7.65972L11.2396 8.61454V9.49831L13.0792 10.3896V7.65972Z",
|
|
3315
3314
|
fill: "#107D57"
|
|
3316
|
-
})))),
|
|
3315
|
+
})))), a0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3317
3316
|
width: 14,
|
|
3318
3317
|
height: 17,
|
|
3319
3318
|
viewBox: "0 0 14 17",
|
|
@@ -3331,7 +3330,7 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3331
3330
|
id: "Icon / Games_3",
|
|
3332
3331
|
d: "M7.74941 0.00278796L1.66605 0.487981C1.18503 0.526267 0.82584 0.949506 0.864126 1.42843L1.72313 12.2036C1.76142 12.6832 2.18327 13.0438 2.66359 13.0055L3.18754 12.9637L3.97219 3.12062C4.0418 2.24421 4.81101 1.58916 5.68742 1.65878L8.7776 1.90524L8.68986 0.804714C8.65157 0.32509 8.22973 -0.0354984 7.74941 0.00278796Z",
|
|
3333
3332
|
fill: "#107D57"
|
|
3334
|
-
}))),
|
|
3333
|
+
}))), c0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3335
3334
|
width: 19,
|
|
3336
3335
|
height: 14,
|
|
3337
3336
|
viewBox: "0 0 19 14",
|
|
@@ -3347,37 +3346,37 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3347
3346
|
d: "M16.8236 2.46643C16.436 2.23624 16.1759 1.81093 16.1759 1.32432C16.1759 0.59292 16.7636 0 17.4885 0C18.2134 0 18.8011 0.59292 18.8011 1.32432C18.8011 1.81093 18.541 2.23624 18.1534 2.46643C18.5192 2.51678 18.8011 2.83327 18.8011 3.2162V10.7838C18.8011 11.2017 18.4653 11.5405 18.051 11.5405H16.926L16.9147 11.5404H10.9255V11.5406V13.2433C10.9255 13.6612 10.5897 14 10.1755 14H8.67539C8.26115 14 7.92534 13.6612 7.92534 13.2433V11.5406V11.5404H1.93622L1.92493 11.5405H0.799856C0.385614 11.5405 0.0498047 11.2017 0.0498047 10.7838V3.2162C0.0498047 2.83328 0.331692 2.51678 0.697521 2.46643C0.309923 2.23624 0.0498047 1.81093 0.0498047 1.32432C0.0498047 0.59292 0.637471 0 1.36239 0C2.08732 0 2.67498 0.59292 2.67498 1.32432C2.67498 1.81093 2.41487 2.23624 2.02727 2.46643C2.16328 2.48515 2.28769 2.54066 2.39032 2.62269C4.78264 1.62379 7.12768 1.12793 9.42545 1.13511C11.7225 1.14228 14.0669 1.63872 16.4584 2.62442C16.5615 2.54144 16.6867 2.48528 16.8236 2.46643ZM1.92494 10.7837L1.92493 3.21617H0.799862V10.7837H1.92494ZM16.1759 3.32547C13.8707 2.37522 11.6209 1.89875 9.42314 1.89189C7.2272 1.88503 4.97905 2.36051 2.675 3.32285V10.7837H16.1759V3.32547ZM17.4885 1.89189C17.7992 1.89189 18.0511 1.63779 18.0511 1.32433C18.0511 1.01087 17.7992 0.75676 17.4885 0.75676C17.1778 0.75676 16.926 1.01087 16.926 1.32433C16.926 1.63779 17.1778 1.89189 17.4885 1.89189ZM16.926 3.21617V10.7837H18.0511V3.21617H16.926ZM8.67538 13.2432V11.5405H10.1755V13.2432H8.67538ZM1.3624 1.89189C1.67308 1.89189 1.92494 1.63779 1.92494 1.32433C1.92494 1.01087 1.67308 0.75676 1.3624 0.75676C1.05172 0.75676 0.799862 1.01087 0.799862 1.32433C0.799862 1.63779 1.05172 1.89189 1.3624 1.89189Z",
|
|
3348
3347
|
fill: "#107D57"
|
|
3349
3348
|
}))), Ue = {
|
|
3350
|
-
"invite-game-icon":
|
|
3351
|
-
"icon-trophy":
|
|
3352
|
-
"icon-trophy-green":
|
|
3353
|
-
"icon-trivia":
|
|
3354
|
-
"icon-thumb-down":
|
|
3355
|
-
"icon-star":
|
|
3356
|
-
"icon-prediction":
|
|
3357
|
-
"icon-poll":
|
|
3358
|
-
"icon-masters-logo":
|
|
3359
|
-
"icon-logout":
|
|
3360
|
-
"icon-link":
|
|
3361
|
-
"icon-invite-link":
|
|
3362
|
-
"icon-invite-arrow":
|
|
3363
|
-
"icon-friends":
|
|
3364
|
-
"icon-exit":
|
|
3365
|
-
"icon-default-user-avatar":
|
|
3366
|
-
"icon-cross":
|
|
3367
|
-
"icon-close":
|
|
3368
|
-
"icon-close-btn-white":
|
|
3369
|
-
"icon-circle-arrow-right":
|
|
3370
|
-
"icon-chevron":
|
|
3371
|
-
"icon-chevron-white-left":
|
|
3372
|
-
"icon-chevron-left":
|
|
3373
|
-
"icon-check":
|
|
3374
|
-
"icon-check-white":
|
|
3375
|
-
"icon-check-green":
|
|
3376
|
-
"icon-btn-channels":
|
|
3377
|
-
"icon-btn-feature-groups":
|
|
3378
|
-
"icon-btn-leaderboard":
|
|
3379
|
-
fedex:
|
|
3380
|
-
},
|
|
3349
|
+
"invite-game-icon": o0,
|
|
3350
|
+
"icon-trophy": M0,
|
|
3351
|
+
"icon-trophy-green": s0,
|
|
3352
|
+
"icon-trivia": r0,
|
|
3353
|
+
"icon-thumb-down": n0,
|
|
3354
|
+
"icon-star": t0,
|
|
3355
|
+
"icon-prediction": i0,
|
|
3356
|
+
"icon-poll": e0,
|
|
3357
|
+
"icon-masters-logo": Kn,
|
|
3358
|
+
"icon-logout": Xn,
|
|
3359
|
+
"icon-link": qn,
|
|
3360
|
+
"icon-invite-link": Jn,
|
|
3361
|
+
"icon-invite-arrow": Fn,
|
|
3362
|
+
"icon-friends": _n,
|
|
3363
|
+
"icon-exit": Wn,
|
|
3364
|
+
"icon-default-user-avatar": Hn,
|
|
3365
|
+
"icon-cross": $n,
|
|
3366
|
+
"icon-close": Pn,
|
|
3367
|
+
"icon-close-btn-white": Gn,
|
|
3368
|
+
"icon-circle-arrow-right": Vn,
|
|
3369
|
+
"icon-chevron": Rn,
|
|
3370
|
+
"icon-chevron-white-left": Bn,
|
|
3371
|
+
"icon-chevron-left": Zn,
|
|
3372
|
+
"icon-check": bn,
|
|
3373
|
+
"icon-check-white": Yn,
|
|
3374
|
+
"icon-check-green": Qn,
|
|
3375
|
+
"icon-btn-channels": l0,
|
|
3376
|
+
"icon-btn-feature-groups": a0,
|
|
3377
|
+
"icon-btn-leaderboard": c0,
|
|
3378
|
+
fedex: vn
|
|
3379
|
+
}, u0 = ({
|
|
3381
3380
|
name: t,
|
|
3382
3381
|
style: M,
|
|
3383
3382
|
className: l,
|
|
@@ -3394,38 +3393,38 @@ const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
|
3394
3393
|
...I
|
|
3395
3394
|
});
|
|
3396
3395
|
};
|
|
3397
|
-
const
|
|
3396
|
+
const I0 = () => u0, g0 = /* @__PURE__ */ c("div")({
|
|
3398
3397
|
name: "s",
|
|
3399
3398
|
class: "s4qld3l",
|
|
3400
3399
|
propsAsIs: !1
|
|
3401
|
-
}),
|
|
3400
|
+
}), N0 = /* @__PURE__ */ c("div")({
|
|
3402
3401
|
name: "d",
|
|
3403
3402
|
class: "dinhtok",
|
|
3404
3403
|
propsAsIs: !1
|
|
3405
|
-
}),
|
|
3404
|
+
}), D0 = /* @__PURE__ */ c(I0())({
|
|
3406
3405
|
name: "p",
|
|
3407
3406
|
class: "pk8yd5t",
|
|
3408
3407
|
propsAsIs: !0
|
|
3409
|
-
}),
|
|
3408
|
+
}), d0 = /* @__PURE__ */ c("div")({
|
|
3410
3409
|
name: "x",
|
|
3411
3410
|
class: "x6rf9gb",
|
|
3412
3411
|
propsAsIs: !1
|
|
3413
|
-
}),
|
|
3412
|
+
}), j0 = /* @__PURE__ */ c("div")({
|
|
3414
3413
|
name: "a",
|
|
3415
3414
|
class: "a18f5pxx",
|
|
3416
3415
|
propsAsIs: !1
|
|
3417
|
-
}),
|
|
3416
|
+
}), A0 = /* @__PURE__ */ c("div")({
|
|
3418
3417
|
name: "c",
|
|
3419
3418
|
class: "c1jwsyj1",
|
|
3420
3419
|
propsAsIs: !1
|
|
3421
|
-
}),
|
|
3422
|
-
/* @__PURE__ */ s(
|
|
3423
|
-
/* @__PURE__ */ A(
|
|
3424
|
-
/* @__PURE__ */ s(
|
|
3425
|
-
/* @__PURE__ */ s(
|
|
3420
|
+
}), y0 = ({ points: t }) => /* @__PURE__ */ A(g0, { children: [
|
|
3421
|
+
/* @__PURE__ */ s(N0, { children: /* @__PURE__ */ s(D0, { name: "icon-trophy" }) }),
|
|
3422
|
+
/* @__PURE__ */ A(d0, { children: [
|
|
3423
|
+
/* @__PURE__ */ s(j0, { children: "TOTAL POINTS" }),
|
|
3424
|
+
/* @__PURE__ */ s(A0, { children: t.toLocaleString("en") })
|
|
3426
3425
|
] })
|
|
3427
3426
|
] });
|
|
3428
|
-
const
|
|
3427
|
+
const p0 = "fedqibx", h0 = ({ children: t, style: M }) => /* @__PURE__ */ s("div", { className: p0, style: M, children: t }), T0 = (t, M, l) => {
|
|
3429
3428
|
const [I, D] = B(null);
|
|
3430
3429
|
return u1(() => {
|
|
3431
3430
|
let g = !1;
|
|
@@ -3451,41 +3450,41 @@ var X1 = /* @__PURE__ */ ((t) => (t[t.UNSET = 0] = "UNSET", t[t.CONNECTED = 1] =
|
|
|
3451
3450
|
const ne = si({
|
|
3452
3451
|
status: 0,
|
|
3453
3452
|
sdk: null
|
|
3454
|
-
}),
|
|
3453
|
+
}), q0 = ({
|
|
3455
3454
|
sdkKey: t,
|
|
3456
3455
|
plugins: M,
|
|
3457
3456
|
children: l,
|
|
3458
3457
|
production: I = !0
|
|
3459
3458
|
}) => {
|
|
3460
|
-
const D =
|
|
3459
|
+
const D = T0(t, M, I), g = c1(() => D ? {
|
|
3461
3460
|
sdk: D,
|
|
3462
3461
|
status: 2
|
|
3463
3462
|
/* READY */
|
|
3464
3463
|
} : { status: 1, sdk: null }, [D]);
|
|
3465
|
-
return /* @__PURE__ */ s(
|
|
3466
|
-
},
|
|
3464
|
+
return /* @__PURE__ */ s(h0, { children: /* @__PURE__ */ s(ne.Provider, { value: g, children: l }) });
|
|
3465
|
+
}, C0 = () => {
|
|
3467
3466
|
const { sdk: t } = ve(ne);
|
|
3468
3467
|
return t;
|
|
3469
|
-
},
|
|
3468
|
+
}, X0 = () => {
|
|
3470
3469
|
const { sdk: t, status: M } = ve(ne);
|
|
3471
3470
|
if (M === X1.UNSET)
|
|
3472
3471
|
throw new Error("Wrap app in `StreamLayerProvider`");
|
|
3473
|
-
return M === X1.CONNECTED ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: "wait" }) : t === null ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: "sdk not initialized" }) : /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ s(
|
|
3474
|
-
},
|
|
3472
|
+
return M === X1.CONNECTED ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: "wait" }) : t === null ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: "sdk not initialized" }) : /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ s(Un, { sdk: t }) });
|
|
3473
|
+
}, z0 = ({ userSummary: t }) => {
|
|
3475
3474
|
var l, I;
|
|
3476
3475
|
const M = S(t.getStore());
|
|
3477
|
-
return ((I = (l = M.data) == null ? void 0 : l.summary) == null ? void 0 : I.points) === void 0 ? null : /* @__PURE__ */ s(
|
|
3478
|
-
},
|
|
3476
|
+
return ((I = (l = M.data) == null ? void 0 : l.summary) == null ? void 0 : I.points) === void 0 ? null : /* @__PURE__ */ s(y0, { points: M.data.summary.points });
|
|
3477
|
+
}, L0 = ({ sdk: t }) => {
|
|
3479
3478
|
const { organizationSettings: M, streamSettings: l } = S(t.sdkStore), I = c1(() => t.getFeature(W1.GAMES), [t, M, l]);
|
|
3480
|
-
return I ? /* @__PURE__ */ s(
|
|
3481
|
-
},
|
|
3482
|
-
const t =
|
|
3483
|
-
return t ? /* @__PURE__ */ s(
|
|
3479
|
+
return I ? /* @__PURE__ */ s(z0, { userSummary: I.userSummary }) : null;
|
|
3480
|
+
}, K0 = () => {
|
|
3481
|
+
const t = C0();
|
|
3482
|
+
return t ? /* @__PURE__ */ s(L0, { sdk: t }) : null;
|
|
3484
3483
|
};
|
|
3485
3484
|
export {
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3485
|
+
q0 as StreamLayerProvider,
|
|
3486
|
+
K0 as StreamLayerSDKPoints,
|
|
3487
|
+
X0 as StreamLayerSDKReact,
|
|
3488
|
+
C0 as useStreamLayer,
|
|
3489
|
+
T0 as useStreamLayerApp
|
|
3491
3490
|
};
|