@streamlayer/react 0.24.5 → 0.24.6
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 +497 -497
- package/lib/style.css +1 -1
- package/package.json +4 -4
package/lib/es/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "@streamlayer/sdk-web-api";
|
|
2
2
|
import "@streamlayer/sdk-web-core";
|
|
3
|
-
import { QuestionType as Y, PickHistoryStatus as je, QuestionStatus as
|
|
3
|
+
import { QuestionType as Y, PickHistoryStatus as je, QuestionStatus as mt, QuestionImages as Ge, FeatureType as Ce } from "@streamlayer/sdk-web-types";
|
|
4
4
|
import "@streamlayer/sdk-web-logger";
|
|
5
|
-
import { Storage as
|
|
6
|
-
import { AvailableFeatures as
|
|
5
|
+
import { Storage as Ct } from "@streamlayer/sdk-web-storage";
|
|
6
|
+
import { AvailableFeatures as yt } from "@streamlayer/sdk-web-features";
|
|
7
7
|
import { FeatureStatus as Z } from "@streamlayer/sdk-web-interfaces";
|
|
8
8
|
import { NotificationType as y1 } from "@streamlayer/sdk-web-notifications";
|
|
9
9
|
import "@streamlayer/feature-gamification";
|
|
10
10
|
import { jsxs as y, jsx as o, Fragment as W } from "react/jsx-runtime";
|
|
11
11
|
import * as C from "react";
|
|
12
|
-
import ve, { useCallback as re, useState as b, useEffect as de, useRef as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { CountdownCircleTimer as
|
|
12
|
+
import ve, { useCallback as re, useState as b, useEffect as de, useRef as Nt, useMemo as J, createContext as ft, useContext as r1 } from "react";
|
|
13
|
+
import At from "react-auth-code-input";
|
|
14
|
+
import wt, { isValidPhoneNumber as Dt, formatPhoneNumberIntl as Et } from "react-phone-number-input";
|
|
15
|
+
import { CountdownCircleTimer as Tt } from "react-countdown-circle-timer";
|
|
16
16
|
import { createPromiseClient as s1 } from "@connectrpc/connect";
|
|
17
17
|
import { createGrpcWebTransport as o1 } from "@connectrpc/connect-web";
|
|
18
18
|
import { Users as l1 } from "@streamlayer/sl-eslib/users/users_connect";
|
|
@@ -22,23 +22,23 @@ import "@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb";
|
|
|
22
22
|
import { SdkOverlayType as xe } from "@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb";
|
|
23
23
|
import "@streamlayer/sl-eslib/sports/events/events_connect";
|
|
24
24
|
import "@streamlayer/sl-eslib/sdkSettings/client/client_connect";
|
|
25
|
-
import { StreamLayer as
|
|
25
|
+
import { StreamLayer as Lt } from "@streamlayer/sdk-web";
|
|
26
26
|
const a1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSIxMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CiAgPHJlY3QgeD0iOC4yNSIgeT0iNyIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcpIiBmaWxsPSJ3aGl0ZSIvPgogIDxyZWN0IHg9IjciIHk9IjE1Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSA3IDE1Ljc1KSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";
|
|
27
|
-
function
|
|
27
|
+
function jt(i) {
|
|
28
28
|
var r = /* @__PURE__ */ Object.create(null);
|
|
29
29
|
return function(l) {
|
|
30
30
|
return r[l] === void 0 && (r[l] = i(l)), r[l];
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
var
|
|
33
|
+
var vt = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, He = /* @__PURE__ */ jt(
|
|
34
34
|
function(i) {
|
|
35
|
-
return
|
|
35
|
+
return vt.test(i) || i.charCodeAt(0) === 111 && i.charCodeAt(1) === 110 && i.charCodeAt(2) < 91;
|
|
36
36
|
}
|
|
37
37
|
/* Z+1 */
|
|
38
|
-
),
|
|
38
|
+
), xt = function() {
|
|
39
39
|
const r = Array.prototype.slice.call(arguments).filter(Boolean), l = {}, p = [];
|
|
40
|
-
r.forEach((
|
|
41
|
-
(
|
|
40
|
+
r.forEach((g) => {
|
|
41
|
+
(g ? g.split(" ") : []).forEach((a) => {
|
|
42
42
|
if (a.startsWith("atm_")) {
|
|
43
43
|
const [, I] = a.split("_");
|
|
44
44
|
l[I] = a;
|
|
@@ -46,116 +46,116 @@ var jt = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
46
46
|
p.push(a);
|
|
47
47
|
});
|
|
48
48
|
});
|
|
49
|
-
const
|
|
50
|
-
for (const
|
|
51
|
-
Object.prototype.hasOwnProperty.call(l,
|
|
52
|
-
return
|
|
53
|
-
}, N1 =
|
|
49
|
+
const h = [];
|
|
50
|
+
for (const g in l)
|
|
51
|
+
Object.prototype.hasOwnProperty.call(l, g) && h.push(l[g]);
|
|
52
|
+
return h.push(...p), h.join(" ");
|
|
53
|
+
}, N1 = xt, zt = (i) => i.toUpperCase() === i, kt = (i) => (r) => i.indexOf(r) === -1, Q1 = (i, r) => {
|
|
54
54
|
const l = {};
|
|
55
|
-
return Object.keys(i).filter(
|
|
55
|
+
return Object.keys(i).filter(kt(r)).forEach((p) => {
|
|
56
56
|
l[p] = i[p];
|
|
57
57
|
}), l;
|
|
58
58
|
};
|
|
59
|
-
function
|
|
59
|
+
function St(i, r, l) {
|
|
60
60
|
const p = Q1(r, l);
|
|
61
61
|
if (!i) {
|
|
62
|
-
const
|
|
63
|
-
Object.keys(p).forEach((
|
|
64
|
-
|
|
62
|
+
const h = typeof He == "function" ? { default: He } : He;
|
|
63
|
+
Object.keys(p).forEach((g) => {
|
|
64
|
+
h.default(g) || delete p[g];
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
return p;
|
|
68
68
|
}
|
|
69
|
-
var
|
|
69
|
+
var bt = (i, r) => {
|
|
70
70
|
};
|
|
71
|
-
function
|
|
71
|
+
function Ot(i) {
|
|
72
72
|
let r = "";
|
|
73
73
|
return (l) => {
|
|
74
|
-
const p = (
|
|
75
|
-
const { as: a = i, class: I = r } =
|
|
74
|
+
const p = (g, M) => {
|
|
75
|
+
const { as: a = i, class: I = r } = g, f = l.propsAsIs === void 0 ? !(typeof a == "string" && a.indexOf("-") === -1 && !zt(a[0])) : l.propsAsIs, N = St(f, g, [
|
|
76
76
|
"as",
|
|
77
77
|
"class"
|
|
78
78
|
]);
|
|
79
|
-
|
|
79
|
+
N.ref = M, N.className = l.atomic ? N1(l.class, N.className || I) : N1(N.className || I, l.class);
|
|
80
80
|
const { vars: w } = l;
|
|
81
81
|
if (w) {
|
|
82
82
|
const D = {};
|
|
83
83
|
for (const O in w) {
|
|
84
|
-
const B = w[O], R = B[0], ee = B[1] || "", P = typeof R == "function" ? R(
|
|
85
|
-
|
|
84
|
+
const B = w[O], R = B[0], ee = B[1] || "", P = typeof R == "function" ? R(g) : R;
|
|
85
|
+
bt(P, l.name), D[`--${O}`] = `${P}${ee}`;
|
|
86
86
|
}
|
|
87
|
-
const L =
|
|
87
|
+
const L = N.style || {}, k = Object.keys(L);
|
|
88
88
|
k.length > 0 && k.forEach((O) => {
|
|
89
89
|
D[O] = L[O];
|
|
90
|
-
}),
|
|
90
|
+
}), N.style = D;
|
|
91
91
|
}
|
|
92
|
-
return i.__linaria && i !== a ? (
|
|
93
|
-
},
|
|
92
|
+
return i.__linaria && i !== a ? (N.as = a, ve.createElement(i, N)) : ve.createElement(a, N);
|
|
93
|
+
}, h = ve.forwardRef ? ve.forwardRef(p) : (
|
|
94
94
|
// React.forwardRef won't available on older React versions and in Preact
|
|
95
95
|
// Fallback to a innerRef prop in that case
|
|
96
|
-
(
|
|
97
|
-
const M = Q1(
|
|
98
|
-
return p(M,
|
|
96
|
+
(g) => {
|
|
97
|
+
const M = Q1(g, ["innerRef"]);
|
|
98
|
+
return p(M, g.innerRef);
|
|
99
99
|
}
|
|
100
100
|
);
|
|
101
|
-
return
|
|
101
|
+
return h.displayName = l.name, h.__linaria = {
|
|
102
102
|
className: l.class || r,
|
|
103
103
|
extends: i
|
|
104
|
-
},
|
|
104
|
+
}, h;
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
-
var d =
|
|
108
|
-
const
|
|
107
|
+
var d = Ot;
|
|
108
|
+
const Bt = /* @__PURE__ */ d("div")({
|
|
109
109
|
name: "o",
|
|
110
110
|
class: "o1gwxd13",
|
|
111
111
|
propsAsIs: !1
|
|
112
|
-
}),
|
|
112
|
+
}), Rt = /* @__PURE__ */ d("div")({
|
|
113
113
|
name: "n",
|
|
114
114
|
class: "nsmzrlg",
|
|
115
115
|
propsAsIs: !1
|
|
116
|
-
}),
|
|
116
|
+
}), Ut = /* @__PURE__ */ d("img")({
|
|
117
117
|
name: "i",
|
|
118
118
|
class: "i81s9fc",
|
|
119
119
|
propsAsIs: !1
|
|
120
|
-
}),
|
|
120
|
+
}), $t = /* @__PURE__ */ d("div")({
|
|
121
121
|
name: "r",
|
|
122
122
|
class: "rlmx6cw",
|
|
123
123
|
propsAsIs: !1
|
|
124
|
-
}),
|
|
124
|
+
}), Qt = /* @__PURE__ */ d("div")({
|
|
125
125
|
name: "d",
|
|
126
126
|
class: "dqb0kgq",
|
|
127
127
|
propsAsIs: !1
|
|
128
|
-
}),
|
|
128
|
+
}), Yt = /* @__PURE__ */ d("div")({
|
|
129
129
|
name: "l",
|
|
130
130
|
class: "l1tjaqbq",
|
|
131
131
|
propsAsIs: !1
|
|
132
|
-
}),
|
|
132
|
+
}), Zt = /* @__PURE__ */ d("div")({
|
|
133
133
|
name: "a",
|
|
134
134
|
class: "a1tb5jb7",
|
|
135
135
|
propsAsIs: !1
|
|
136
|
-
}),
|
|
136
|
+
}), Pt = /* @__PURE__ */ d("button")({
|
|
137
137
|
name: "c",
|
|
138
138
|
class: "c11xpv3i",
|
|
139
139
|
propsAsIs: !1
|
|
140
|
-
}),
|
|
140
|
+
}), _t = /* @__PURE__ */ d("img")({
|
|
141
141
|
name: "s",
|
|
142
142
|
class: "s12ztjhk",
|
|
143
143
|
propsAsIs: !1
|
|
144
|
-
}), Y1 = ({ close: i, action: r, data: { color: l, icon: p, title:
|
|
145
|
-
const
|
|
144
|
+
}), Y1 = ({ close: i, action: r, data: { color: l, icon: p, title: h } }) => {
|
|
145
|
+
const g = re(
|
|
146
146
|
(M) => {
|
|
147
147
|
M.stopPropagation(), i == null || i();
|
|
148
148
|
},
|
|
149
149
|
[i]
|
|
150
150
|
);
|
|
151
|
-
return /* @__PURE__ */ y(
|
|
152
|
-
/* @__PURE__ */ o(
|
|
153
|
-
/* @__PURE__ */ y(
|
|
154
|
-
/* @__PURE__ */ o(
|
|
155
|
-
/* @__PURE__ */ o(
|
|
151
|
+
return /* @__PURE__ */ y(Bt, { onClick: r, children: [
|
|
152
|
+
/* @__PURE__ */ o(Rt, { style: l ? { backgroundColor: l } : {}, children: p && /* @__PURE__ */ o(Ut, { alt: "in-app-icon", src: p }) }),
|
|
153
|
+
/* @__PURE__ */ y($t, { children: [
|
|
154
|
+
/* @__PURE__ */ o(Qt, { children: /* @__PURE__ */ o(Yt, { id: "in-app-title", children: h || "" }) }),
|
|
155
|
+
/* @__PURE__ */ o(Zt, { children: /* @__PURE__ */ o(Pt, { onClick: g, children: /* @__PURE__ */ o(_t, { alt: "close-in-app-icon", src: a1 }) }) })
|
|
156
156
|
] })
|
|
157
157
|
] });
|
|
158
|
-
},
|
|
158
|
+
}, Vt = {
|
|
159
159
|
BG_TRANSPARENT: "rgba(0,0,0, .8)",
|
|
160
160
|
BG_TRANSPARENT_VOTE_CONTAINER: "rgba(10, 14, 19, 0.8)",
|
|
161
161
|
BG_TRANSPARENT_ITEM: "rgba(0, 0, 0, 0.7)",
|
|
@@ -184,7 +184,7 @@ const Ot = /* @__PURE__ */ d("div")({
|
|
|
184
184
|
GREY_PRIMARY: "#909395",
|
|
185
185
|
DIVIDER_COLOR_SECONDARY: "#53565a",
|
|
186
186
|
GREEN_PRIMARY_BTN: "#009B77"
|
|
187
|
-
},
|
|
187
|
+
}, Gt = {
|
|
188
188
|
PRIMARY_GREEN1: "#107D57",
|
|
189
189
|
PRIMARY_GREEN2: "#006747",
|
|
190
190
|
PRIMARY_GREEN3: "#1C4932",
|
|
@@ -206,7 +206,7 @@ const Ot = /* @__PURE__ */ d("div")({
|
|
|
206
206
|
NEUTRALS_GRAY8: "#53565A",
|
|
207
207
|
NEUTRALS_GRAY9: "#25282A",
|
|
208
208
|
NEUTRALS_BLACK: "#000000"
|
|
209
|
-
}, ne = Object.assign({},
|
|
209
|
+
}, ne = Object.assign({}, Vt, Gt);
|
|
210
210
|
Object.keys(ne).reduce((i, r) => {
|
|
211
211
|
const l = ne[r];
|
|
212
212
|
return `
|
|
@@ -214,55 +214,55 @@ Object.keys(ne).reduce((i, r) => {
|
|
|
214
214
|
--color-${r.toLowerCase().replaceAll("_", "-")}: ${l};
|
|
215
215
|
`;
|
|
216
216
|
}, "");
|
|
217
|
-
const
|
|
217
|
+
const Ht = [ne.PRIMARY_GREEN1, ne.SECONDARY_RED1, ne.SECONDARY_RED1], Ft = [10, 10, 0], Wt = /* @__PURE__ */ d("div")({
|
|
218
218
|
name: "A",
|
|
219
219
|
class: "a1f928zy",
|
|
220
220
|
propsAsIs: !1
|
|
221
|
-
}),
|
|
221
|
+
}), qt = ne.SECONDARY_GREEN6, f1 = ne.SECONDARY_RED3, Jt = ne.NEUTRALS_GRAY3, Z1 = ({
|
|
222
222
|
isPlaying: i = !0,
|
|
223
223
|
duration: r = 30,
|
|
224
224
|
onTimerExpired: l
|
|
225
225
|
}) => {
|
|
226
|
-
const [p,
|
|
226
|
+
const [p, h] = b(r > 10 ? qt : f1), g = ({
|
|
227
227
|
remainingTime: I
|
|
228
|
-
}) => /* @__PURE__ */ o(
|
|
228
|
+
}) => /* @__PURE__ */ o(Wt, {
|
|
229
229
|
children: I
|
|
230
230
|
}), M = re(() => {
|
|
231
|
-
l == null || l(),
|
|
232
|
-
}, [l,
|
|
233
|
-
I === 10 &&
|
|
234
|
-
}, [
|
|
235
|
-
return /* @__PURE__ */ o(
|
|
231
|
+
l == null || l(), h(Jt);
|
|
232
|
+
}, [l, h]), a = re((I) => {
|
|
233
|
+
I === 10 && h(f1);
|
|
234
|
+
}, [h]);
|
|
235
|
+
return /* @__PURE__ */ o(Tt, {
|
|
236
236
|
isPlaying: i,
|
|
237
237
|
duration: r,
|
|
238
|
-
colors:
|
|
239
|
-
colorsTime:
|
|
238
|
+
colors: Ht,
|
|
239
|
+
colorsTime: Ft,
|
|
240
240
|
size: 32,
|
|
241
241
|
strokeWidth: 2,
|
|
242
242
|
trailStrokeWidth: 2,
|
|
243
243
|
trailColor: p,
|
|
244
244
|
onComplete: M,
|
|
245
245
|
onUpdate: a,
|
|
246
|
-
children:
|
|
246
|
+
children: g
|
|
247
247
|
});
|
|
248
|
-
},
|
|
248
|
+
}, Xt = async (i, r) => {
|
|
249
249
|
const l = o1({
|
|
250
250
|
baseUrl: i
|
|
251
251
|
});
|
|
252
252
|
return await s1(l1, l).requestPassword({ id: r }), !0;
|
|
253
|
-
},
|
|
253
|
+
}, Kt = async (i, r) => {
|
|
254
254
|
const l = o1({
|
|
255
255
|
baseUrl: i
|
|
256
256
|
});
|
|
257
257
|
return await s1(l1, l).register({ id: r }), !0;
|
|
258
|
-
},
|
|
258
|
+
}, ei = async (i, r, l) => {
|
|
259
259
|
var p;
|
|
260
|
-
const
|
|
260
|
+
const h = o1({
|
|
261
261
|
baseUrl: i
|
|
262
|
-
}),
|
|
263
|
-
return (p =
|
|
262
|
+
}), g = await s1(l1, h).login({ id: r, password: l });
|
|
263
|
+
return (p = g == null ? void 0 : g.meta) == null ? void 0 : p.jwt;
|
|
264
264
|
};
|
|
265
|
-
const
|
|
265
|
+
const ti = /* @__PURE__ */ d("div")({
|
|
266
266
|
name: "n",
|
|
267
267
|
class: "nhpumh7",
|
|
268
268
|
propsAsIs: !1
|
|
@@ -282,56 +282,56 @@ const ei = /* @__PURE__ */ d("div")({
|
|
|
282
282
|
name: "a",
|
|
283
283
|
class: "a1ifs31v",
|
|
284
284
|
propsAsIs: !1
|
|
285
|
-
}),
|
|
285
|
+
}), ii = /* @__PURE__ */ d("div")({
|
|
286
286
|
name: "p",
|
|
287
287
|
class: "p10d4aqp",
|
|
288
288
|
propsAsIs: !1
|
|
289
|
-
}),
|
|
289
|
+
}), ni = /* @__PURE__ */ d("div")({
|
|
290
290
|
name: "d",
|
|
291
291
|
class: "dje8inq",
|
|
292
292
|
propsAsIs: !1
|
|
293
|
-
}),
|
|
294
|
-
const [p,
|
|
293
|
+
}), ri = ({ login: i, anonymousLogin: r, host: l }) => {
|
|
294
|
+
const [p, h] = b(""), [g, M] = b(""), [a, I] = b(""), f = async (w) => {
|
|
295
295
|
w.preventDefault();
|
|
296
296
|
try {
|
|
297
297
|
const D = p.replaceAll("+", "");
|
|
298
298
|
try {
|
|
299
|
-
await Jt(l, D);
|
|
300
|
-
} catch {
|
|
301
299
|
await Xt(l, D);
|
|
300
|
+
} catch {
|
|
301
|
+
await Kt(l, D);
|
|
302
302
|
}
|
|
303
303
|
M(D);
|
|
304
304
|
} catch (D) {
|
|
305
305
|
window.alert(D);
|
|
306
306
|
}
|
|
307
|
-
},
|
|
308
|
-
if (w.preventDefault(),
|
|
307
|
+
}, N = async (w) => {
|
|
308
|
+
if (w.preventDefault(), g && a)
|
|
309
309
|
try {
|
|
310
|
-
const D = await
|
|
310
|
+
const D = await ei(l, g, a);
|
|
311
311
|
D && i ? await i(D) : console.log("token", D);
|
|
312
312
|
} catch (D) {
|
|
313
313
|
window.alert(D);
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
|
-
return /* @__PURE__ */ y(
|
|
317
|
-
!
|
|
318
|
-
/* @__PURE__ */ y(A1, { onSubmit:
|
|
316
|
+
return /* @__PURE__ */ y(ti, { children: [
|
|
317
|
+
!g && /* @__PURE__ */ y("div", { children: [
|
|
318
|
+
/* @__PURE__ */ y(A1, { onSubmit: f, children: [
|
|
319
319
|
/* @__PURE__ */ o(w1, { children: "Enter your phone number" }),
|
|
320
320
|
/* @__PURE__ */ o(Fe, { children: "Enter your phone up for number to log in or sign an account." }),
|
|
321
|
-
/* @__PURE__ */ o(
|
|
322
|
-
/* @__PURE__ */ o(We, { disabled: !
|
|
321
|
+
/* @__PURE__ */ o(ii, { children: /* @__PURE__ */ o(wt, { value: p, onChange: (w) => h(`${w}`) }) }),
|
|
322
|
+
/* @__PURE__ */ o(We, { disabled: !Dt(p), type: "submit", children: "request code" })
|
|
323
323
|
] }),
|
|
324
324
|
r && /* @__PURE__ */ o(We, { style: { display: "block", margin: "auto" }, onClick: r, children: "anonymous login" })
|
|
325
325
|
] }),
|
|
326
|
-
|
|
326
|
+
g && /* @__PURE__ */ y(A1, { onSubmit: N, children: [
|
|
327
327
|
/* @__PURE__ */ o(w1, { children: "Enter Verification Code" }),
|
|
328
328
|
/* @__PURE__ */ y(Fe, { children: [
|
|
329
329
|
"Please enter the verification code ",
|
|
330
330
|
/* @__PURE__ */ o("br", {}),
|
|
331
331
|
"sent to ",
|
|
332
|
-
/* @__PURE__ */ o("b", { children:
|
|
332
|
+
/* @__PURE__ */ o("b", { children: Et(p) })
|
|
333
333
|
] }),
|
|
334
|
-
/* @__PURE__ */ o(
|
|
334
|
+
/* @__PURE__ */ o(ni, { children: /* @__PURE__ */ o(At, { autoFocus: !0, allowedCharacters: "numeric", length: 4, onChange: I }) }),
|
|
335
335
|
/* @__PURE__ */ o(We, { disabled: a.length !== 4, type: "submit", children: "login" }),
|
|
336
336
|
/* @__PURE__ */ y(Fe, { children: [
|
|
337
337
|
"Didn't get 59 the code? ",
|
|
@@ -342,133 +342,133 @@ const ei = /* @__PURE__ */ d("div")({
|
|
|
342
342
|
] })
|
|
343
343
|
] });
|
|
344
344
|
};
|
|
345
|
-
const
|
|
345
|
+
const si = /* @__PURE__ */ d("div")({
|
|
346
346
|
name: "i",
|
|
347
347
|
class: "i1grt8h",
|
|
348
348
|
propsAsIs: !1
|
|
349
|
-
}),
|
|
349
|
+
}), oi = /* @__PURE__ */ d("div")({
|
|
350
350
|
name: "n",
|
|
351
351
|
class: "n1rozou",
|
|
352
352
|
propsAsIs: !1
|
|
353
|
-
}),
|
|
353
|
+
}), li = /* @__PURE__ */ d("img")({
|
|
354
354
|
name: "o",
|
|
355
355
|
class: "o81ls6z",
|
|
356
356
|
propsAsIs: !1
|
|
357
|
-
}),
|
|
357
|
+
}), ai = /* @__PURE__ */ d("div")({
|
|
358
358
|
name: "d",
|
|
359
359
|
class: "d9l6z9i",
|
|
360
360
|
propsAsIs: !1
|
|
361
|
-
}),
|
|
362
|
-
/* @__PURE__ */ o(
|
|
363
|
-
/* @__PURE__ */ o(
|
|
361
|
+
}), ci = ({ graphic: i, headline: r }) => /* @__PURE__ */ o(si, { children: /* @__PURE__ */ y(oi, { children: [
|
|
362
|
+
/* @__PURE__ */ o(li, { alt: "graphic-img-instructions", src: i }),
|
|
363
|
+
/* @__PURE__ */ o(ai, { children: r })
|
|
364
364
|
] }) });
|
|
365
|
-
const
|
|
365
|
+
const di = /* @__PURE__ */ d("div")({
|
|
366
366
|
name: "e",
|
|
367
367
|
class: "e1o3lzmc",
|
|
368
368
|
propsAsIs: !1
|
|
369
|
-
}),
|
|
369
|
+
}), ui = /* @__PURE__ */ d("div")({
|
|
370
370
|
name: "o",
|
|
371
371
|
class: "otjo97h",
|
|
372
372
|
propsAsIs: !1
|
|
373
|
-
}),
|
|
373
|
+
}), pi = /* @__PURE__ */ d("div")({
|
|
374
374
|
name: "i",
|
|
375
375
|
class: "ivk43vg",
|
|
376
376
|
propsAsIs: !1
|
|
377
|
-
}),
|
|
377
|
+
}), hi = /* @__PURE__ */ d("img")({
|
|
378
378
|
name: "r",
|
|
379
379
|
class: "r1w33akz",
|
|
380
380
|
propsAsIs: !1
|
|
381
|
-
}),
|
|
381
|
+
}), gi = /* @__PURE__ */ d("div")({
|
|
382
382
|
name: "c",
|
|
383
383
|
class: "c1a3ssoy",
|
|
384
384
|
propsAsIs: !1
|
|
385
|
-
}),
|
|
385
|
+
}), Mi = /* @__PURE__ */ d("div")({
|
|
386
386
|
name: "a",
|
|
387
387
|
class: "ayzr5mb",
|
|
388
388
|
propsAsIs: !1
|
|
389
|
-
}),
|
|
389
|
+
}), Ii = /* @__PURE__ */ d("button")({
|
|
390
390
|
name: "p",
|
|
391
391
|
class: "p30t8qv",
|
|
392
392
|
propsAsIs: !1
|
|
393
|
-
}),
|
|
393
|
+
}), mi = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkZyaWVuZHMiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNNC4xOTIzMSA3LjAzMTI1QzIuNjYzNDYgNy4wMzEyNSAxLjQyMzA4IDguMTk5NzMgMS40MjMwOCA5LjYzOTk0QzEuNDIzMDggMTEuMDgwMiAyLjY2MzQ2IDEyLjI0ODYgNC4xOTIzMSAxMi4yNDg2QzUuNzIxMTUgMTIuMjQ4NiA2Ljk2MTU0IDExLjA4MDIgNi45NjE1NCA5LjYzOTk0QzYuOTYxNTQgOC4xOTk3MyA1LjcyMTE1IDcuMDMxMjUgNC4xOTIzMSA3LjAzMTI1Wk00LjE5MjMxIDEyLjI0ODZDMi4xNjIyNiAxMi4yNDg2IDAuNSAxMy44MTQ1IDAuNSAxNS43MjY5VjE3LjYyOUMwLjUgMTcuNjI5IDEuNDIzMDggMTgu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zQ5MyA1Ljc5MjQ1IDE5LjM0OTMgNC4yNjU2QzE5LjM0OTMgMi43Mzg3NiAxOC4wMzQzIDEuNSAxNi40MTM1IDEuNVpNMTYuNDEzNSA3LjAzMTIxQzE0Ljk0NTYgNy4wMzEyMSAxMy42NzI3IDcuNzY5NDIgMTIuOTg4NCA4Ljg3NDk0QzE0LjQ1NjMgOS4wNTg1OSAxNS43MjE2IDkuNzg2MDEgMTYuNTA1MyAxMC44OTE1QzE2LjUwNTMgMTAuNTI0MiAxNi40MTM1IDEwLjE2NDEgMTYuNDEzNSA5Ljc5NjgxQzE2LjQxMzUgOC43ODEzMSAxNi43MTE3IDcuODU1ODQgMTcuMzAwNCA3LjExNzYzQzE3LjAwNiA3LjAyNCAxNi43MDc5IDcuMDMxMjEgMTYuNDEzNSA3LjAzMTIxWiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC40Ii8+CjwvZz4KPC9zdmc+Cg==", Ci = ({
|
|
394
394
|
inviteCardTitle: i,
|
|
395
395
|
inviteCardSubtext: r,
|
|
396
396
|
primaryColor: l
|
|
397
|
-
}) => /* @__PURE__ */ o(
|
|
398
|
-
/* @__PURE__ */ o(
|
|
399
|
-
/* @__PURE__ */ o(
|
|
400
|
-
/* @__PURE__ */ o(
|
|
401
|
-
/* @__PURE__ */ o(
|
|
397
|
+
}) => /* @__PURE__ */ o(di, { children: /* @__PURE__ */ y(ui, { children: [
|
|
398
|
+
/* @__PURE__ */ o(pi, { style: { backgroundColor: l }, children: /* @__PURE__ */ o(hi, { alt: "invite-game-icon", src: mi }) }),
|
|
399
|
+
/* @__PURE__ */ o(gi, { children: i || "" }),
|
|
400
|
+
/* @__PURE__ */ o(Mi, { children: r || "" }),
|
|
401
|
+
/* @__PURE__ */ o(Ii, { onClick: () => {
|
|
402
402
|
}, style: { backgroundColor: l }, children: "Invite friends!" })
|
|
403
403
|
] }) });
|
|
404
|
-
const
|
|
404
|
+
const yi = /* @__PURE__ */ d("div")({
|
|
405
405
|
name: "t",
|
|
406
406
|
class: "ty54o42",
|
|
407
407
|
propsAsIs: !1
|
|
408
|
-
}),
|
|
408
|
+
}), Ni = /* @__PURE__ */ d("div")({
|
|
409
409
|
name: "o",
|
|
410
410
|
class: "oqyp1qa",
|
|
411
411
|
propsAsIs: !1
|
|
412
|
-
}),
|
|
412
|
+
}), fi = /* @__PURE__ */ d("div")({
|
|
413
413
|
name: "r",
|
|
414
414
|
class: "rf1d3db",
|
|
415
415
|
propsAsIs: !1
|
|
416
|
-
}),
|
|
416
|
+
}), Ai = /* @__PURE__ */ d("div")({
|
|
417
417
|
name: "n",
|
|
418
418
|
class: "n187jgct",
|
|
419
419
|
propsAsIs: !1
|
|
420
|
-
}),
|
|
420
|
+
}), wi = /* @__PURE__ */ d("div")({
|
|
421
421
|
name: "d",
|
|
422
422
|
class: "d1i3t4lw",
|
|
423
423
|
propsAsIs: !1
|
|
424
|
-
}),
|
|
424
|
+
}), Di = /* @__PURE__ */ d("div")({
|
|
425
425
|
name: "l",
|
|
426
426
|
class: "l1heulx5",
|
|
427
427
|
propsAsIs: !1
|
|
428
|
-
}),
|
|
429
|
-
/* @__PURE__ */ o(
|
|
430
|
-
/* @__PURE__ */ o(
|
|
431
|
-
/* @__PURE__ */ o(
|
|
432
|
-
/* @__PURE__ */ o(
|
|
433
|
-
] },
|
|
428
|
+
}), Ei = ({ rules: i, rulesTitle: r, primaryColor: l }) => /* @__PURE__ */ y(yi, { children: [
|
|
429
|
+
/* @__PURE__ */ o(Ni, { children: r }),
|
|
430
|
+
/* @__PURE__ */ o(fi, { children: i == null ? void 0 : i.map((p, h) => /* @__PURE__ */ y(Ai, { children: [
|
|
431
|
+
/* @__PURE__ */ o(wi, { style: { backgroundColor: l }, children: h + 1 }),
|
|
432
|
+
/* @__PURE__ */ o(Di, { children: p })
|
|
433
|
+
] }, h)) })
|
|
434
434
|
] });
|
|
435
|
-
const
|
|
435
|
+
const Ti = /* @__PURE__ */ d("div")({
|
|
436
436
|
name: "n",
|
|
437
437
|
class: "n1cm2rh8",
|
|
438
438
|
propsAsIs: !1
|
|
439
|
-
}),
|
|
439
|
+
}), Li = /* @__PURE__ */ d("div")({
|
|
440
440
|
name: "e",
|
|
441
441
|
class: "e9j28tc",
|
|
442
442
|
propsAsIs: !1
|
|
443
|
-
}),
|
|
443
|
+
}), ji = /* @__PURE__ */ d("div")({
|
|
444
444
|
name: "i",
|
|
445
445
|
class: "iu1o1a8",
|
|
446
446
|
propsAsIs: !1
|
|
447
|
-
}),
|
|
447
|
+
}), vi = /* @__PURE__ */ d("div")({
|
|
448
448
|
name: "r",
|
|
449
449
|
class: "r14ailyk",
|
|
450
450
|
propsAsIs: !1
|
|
451
|
-
}),
|
|
451
|
+
}), xi = /* @__PURE__ */ d("div")({
|
|
452
452
|
name: "c",
|
|
453
453
|
class: "c11ybl5c",
|
|
454
454
|
propsAsIs: !1
|
|
455
|
-
}),
|
|
455
|
+
}), zi = /* @__PURE__ */ d("img")({
|
|
456
456
|
name: "s",
|
|
457
457
|
class: "sd9s97",
|
|
458
458
|
propsAsIs: !1
|
|
459
|
-
}),
|
|
459
|
+
}), ki = /* @__PURE__ */ d("img")({
|
|
460
460
|
name: "l",
|
|
461
461
|
class: "l1ddowgh",
|
|
462
462
|
propsAsIs: !1
|
|
463
|
-
}),
|
|
463
|
+
}), Si = /* @__PURE__ */ d("button")({
|
|
464
464
|
name: "d",
|
|
465
465
|
class: "d1s3ug7g",
|
|
466
466
|
propsAsIs: !1
|
|
467
|
-
}),
|
|
467
|
+
}), bi = /* @__PURE__ */ d("img")({
|
|
468
468
|
name: "p",
|
|
469
469
|
class: "p17kmhv2",
|
|
470
470
|
propsAsIs: !1
|
|
471
|
-
}),
|
|
471
|
+
}), Oi = /* @__PURE__ */ d("button")({
|
|
472
472
|
name: "a",
|
|
473
473
|
class: "a1qucmt7",
|
|
474
474
|
propsAsIs: !1
|
|
@@ -476,18 +476,18 @@ const Ei = /* @__PURE__ */ d("div")({
|
|
|
476
476
|
steps: !1,
|
|
477
477
|
rules: !1,
|
|
478
478
|
inviteCard: !1
|
|
479
|
-
},
|
|
479
|
+
}, Bi = ({
|
|
480
480
|
gamification: i,
|
|
481
481
|
closeFeature: r,
|
|
482
482
|
steps: l,
|
|
483
483
|
gameIcon: p,
|
|
484
|
-
sponsorLogo:
|
|
485
|
-
rules:
|
|
484
|
+
sponsorLogo: h,
|
|
485
|
+
rules: g,
|
|
486
486
|
rulesBtnLabel: M,
|
|
487
487
|
rulesTitle: a,
|
|
488
488
|
primaryColor: I,
|
|
489
|
-
inviteCardTitle:
|
|
490
|
-
inviteCardSubtext:
|
|
489
|
+
inviteCardTitle: f,
|
|
490
|
+
inviteCardSubtext: N,
|
|
491
491
|
inviteCardBtnLabel: w
|
|
492
492
|
}) => {
|
|
493
493
|
const D = async () => {
|
|
@@ -496,53 +496,53 @@ const Ei = /* @__PURE__ */ d("div")({
|
|
|
496
496
|
r();
|
|
497
497
|
}, [k, O] = b(0), [B, R] = b(Me);
|
|
498
498
|
de(() => {
|
|
499
|
-
l != null && l.length ? R({ ...Me, steps: !0 }) :
|
|
499
|
+
l != null && l.length ? R({ ...Me, steps: !0 }) : g != null && g.length ? R({ ...Me, rules: !0 }) : R({ ...Me, inviteCard: !0 });
|
|
500
500
|
}, []);
|
|
501
501
|
const ee = re(() => {
|
|
502
|
-
l != null && l.length && k < l.length - 1 ? O((P) => ++P) :
|
|
503
|
-
}, [k, l == null ? void 0 : l.length,
|
|
504
|
-
return /* @__PURE__ */ y(
|
|
505
|
-
/* @__PURE__ */ y(
|
|
506
|
-
/* @__PURE__ */ o(
|
|
507
|
-
/* @__PURE__ */ y(
|
|
508
|
-
|
|
509
|
-
/* @__PURE__ */ o(
|
|
502
|
+
l != null && l.length && k < l.length - 1 ? O((P) => ++P) : g != null && g.length && B.steps ? R({ ...Me, rules: !0 }) : B.rules && R({ ...Me, inviteCard: !0 });
|
|
503
|
+
}, [k, l == null ? void 0 : l.length, g == null ? void 0 : g.length, B, O, R]);
|
|
504
|
+
return /* @__PURE__ */ y(Ti, { children: [
|
|
505
|
+
/* @__PURE__ */ y(ji, { children: [
|
|
506
|
+
/* @__PURE__ */ o(vi, { children: p && /* @__PURE__ */ o(zi, { alt: "sponsor-one-onboarding-icon", src: p }) }),
|
|
507
|
+
/* @__PURE__ */ y(xi, { children: [
|
|
508
|
+
h && /* @__PURE__ */ o(ki, { alt: "sponsor-two-onboarding-icon", src: h }),
|
|
509
|
+
/* @__PURE__ */ o(Si, { onClick: L, children: /* @__PURE__ */ o(bi, { alt: "icon-close-onboarding", src: a1 }) })
|
|
510
510
|
] })
|
|
511
511
|
] }),
|
|
512
|
-
/* @__PURE__ */ y(
|
|
513
|
-
B.steps && (l == null ? void 0 : l.length) && /* @__PURE__ */ o(
|
|
514
|
-
B.rules && /* @__PURE__ */ o(
|
|
512
|
+
/* @__PURE__ */ y(Li, { children: [
|
|
513
|
+
B.steps && (l == null ? void 0 : l.length) && /* @__PURE__ */ o(ci, { graphic: l[k].graphic, headline: l[k].headline }),
|
|
514
|
+
B.rules && /* @__PURE__ */ o(Ei, { rules: g, rulesTitle: a, primaryColor: I }),
|
|
515
515
|
B.inviteCard && /* @__PURE__ */ o(
|
|
516
|
-
|
|
516
|
+
Ci,
|
|
517
517
|
{
|
|
518
|
-
inviteCardTitle:
|
|
519
|
-
inviteCardSubtext:
|
|
518
|
+
inviteCardTitle: f,
|
|
519
|
+
inviteCardSubtext: N,
|
|
520
520
|
primaryColor: I
|
|
521
521
|
}
|
|
522
522
|
)
|
|
523
523
|
] }),
|
|
524
|
-
/* @__PURE__ */ o(
|
|
524
|
+
/* @__PURE__ */ o(Oi, { onClick: B.inviteCard ? D : ee, children: B.rules ? M || "Got it!" : B.inviteCard ? w || "Play now!" : "Next" })
|
|
525
525
|
] });
|
|
526
526
|
};
|
|
527
|
-
const
|
|
527
|
+
const Ri = /* @__PURE__ */ d("div")({
|
|
528
528
|
name: "t",
|
|
529
529
|
class: "tcim9sm",
|
|
530
530
|
propsAsIs: !1
|
|
531
|
-
}),
|
|
531
|
+
}), Ui = /* @__PURE__ */ d("div")({
|
|
532
532
|
name: "e",
|
|
533
533
|
class: "e8wco6o",
|
|
534
534
|
propsAsIs: !1
|
|
535
|
-
}),
|
|
535
|
+
}), $i = /* @__PURE__ */ d("button")({
|
|
536
536
|
name: "n",
|
|
537
537
|
class: "n1ardwzl",
|
|
538
538
|
propsAsIs: !1
|
|
539
|
-
}),
|
|
539
|
+
}), Qi = /* @__PURE__ */ d("span")({
|
|
540
540
|
name: "i",
|
|
541
541
|
class: "i1vk8ojx",
|
|
542
542
|
propsAsIs: !1
|
|
543
543
|
});
|
|
544
544
|
var ie = /* @__PURE__ */ ((i) => (i.HOME = "home", i.LEADERBOARD = "leaderboard", i))(ie || {});
|
|
545
|
-
const D1 = ({ title: i, active: r, onClick: l }) => /* @__PURE__ */ o(
|
|
545
|
+
const D1 = ({ title: i, active: r, onClick: l }) => /* @__PURE__ */ o($i, { onClick: l, "data-selected": r, children: /* @__PURE__ */ o(Qi, { children: i }) }), P1 = ({ activePage: i = "home", toggleActivePage: r }) => /* @__PURE__ */ o(Ri, { children: /* @__PURE__ */ y(Ui, { "data-position": i === "home" ? "left" : "right", children: [
|
|
546
546
|
/* @__PURE__ */ o(D1, { title: "Home", active: i === "home", onClick: () => r(
|
|
547
547
|
"home"
|
|
548
548
|
/* HOME */
|
|
@@ -559,7 +559,7 @@ const D1 = ({ title: i, active: r, onClick: l }) => /* @__PURE__ */ o(Ui, { onCl
|
|
|
559
559
|
}
|
|
560
560
|
)
|
|
561
561
|
] }) });
|
|
562
|
-
const
|
|
562
|
+
const Yi = /* @__PURE__ */ d("div")({
|
|
563
563
|
name: "o",
|
|
564
564
|
class: "oa5apdf",
|
|
565
565
|
propsAsIs: !1
|
|
@@ -567,31 +567,31 @@ const Qi = /* @__PURE__ */ d("div")({
|
|
|
567
567
|
name: "n",
|
|
568
568
|
class: "n1wh5guy",
|
|
569
569
|
propsAsIs: !1
|
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LjI2NDggMy4xMTE2OSAxNC4wNDM2IDMuMzM1MDhMNi4zODY4IDExLjA4NzhDNi4yNTU1MSAxMS4yMjI1IDYuMTU4NTMgMTEuMzY0NCA2LjA5NTg2IDExLjUxMzRDNi4wMzMxOCAxMS42NjI1IDYuMDAxMjMgMTEuODI0NCA2IDExLjk5OVoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==", _1 = ({ icon: i, comeBack: r, close: l }) => /* @__PURE__ */ y(Yi, { children: [
|
|
575
575
|
/* @__PURE__ */ y("div", { children: [
|
|
576
|
-
r && /* @__PURE__ */ o(E1, { onClick: r, children: /* @__PURE__ */ o("img", { alt: "header-back-icon", src:
|
|
577
|
-
i && /* @__PURE__ */ o(
|
|
576
|
+
r && /* @__PURE__ */ o(E1, { onClick: r, children: /* @__PURE__ */ o("img", { alt: "header-back-icon", src: Pi }) }),
|
|
577
|
+
i && /* @__PURE__ */ o(Zi, { alt: "header-icon", src: i })
|
|
578
578
|
] }),
|
|
579
579
|
/* @__PURE__ */ o("div", { children: l && /* @__PURE__ */ o(E1, { onClick: l, children: /* @__PURE__ */ o("img", { alt: "header-close-icon", src: a1 }) }) })
|
|
580
580
|
] });
|
|
581
|
-
const
|
|
581
|
+
const _i = /* @__PURE__ */ d("div")({
|
|
582
582
|
name: "i",
|
|
583
583
|
class: "iqbegjm",
|
|
584
584
|
propsAsIs: !1
|
|
585
|
-
}), V1 = ({ comeBack: i }) => /* @__PURE__ */ o(
|
|
586
|
-
const
|
|
585
|
+
}), V1 = ({ comeBack: i }) => /* @__PURE__ */ o(_i, { children: /* @__PURE__ */ o(_1, { comeBack: i }) });
|
|
586
|
+
const Vi = /* @__PURE__ */ d("button")({
|
|
587
587
|
name: "a",
|
|
588
588
|
class: "akly9h2",
|
|
589
589
|
propsAsIs: !1
|
|
590
|
-
}),
|
|
590
|
+
}), Gi = /* @__PURE__ */ d("span")({
|
|
591
591
|
name: "e",
|
|
592
592
|
class: "eptoiz9",
|
|
593
593
|
propsAsIs: !1
|
|
594
|
-
}),
|
|
594
|
+
}), Hi = ({ disabled: i, variant: r = "primary", onClick: l, children: p }) => /* @__PURE__ */ o(Vi, { onClick: l, disabled: i, "data-variant": r, children: /* @__PURE__ */ o(Gi, { children: p }) }), G1 = {
|
|
595
595
|
[Y.TWEET]: { label: "Insight", iconName: "icon-insight" },
|
|
596
596
|
[Y.PROMOTION]: { label: "Insight", iconName: "icon-insight" },
|
|
597
597
|
[Y.UNSET]: void 0,
|
|
@@ -600,7 +600,7 @@ const _i = /* @__PURE__ */ d("button")({
|
|
|
600
600
|
[Y.TRIVIA]: { label: "Trivia", iconName: "icon-trivia" },
|
|
601
601
|
[Y.PREDICTION]: { label: "Prediction", iconName: "icon-prediction" }
|
|
602
602
|
};
|
|
603
|
-
const
|
|
603
|
+
const Fi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
604
604
|
width: 24,
|
|
605
605
|
height: 24,
|
|
606
606
|
viewBox: "0 0 24 24",
|
|
@@ -613,7 +613,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
613
613
|
strokeWidth: 1.5,
|
|
614
614
|
strokeLinecap: "round",
|
|
615
615
|
strokeLinejoin: "round"
|
|
616
|
-
})),
|
|
616
|
+
})), Wi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
617
617
|
width: 24,
|
|
618
618
|
height: 24,
|
|
619
619
|
viewBox: "0 0 24 24",
|
|
@@ -629,7 +629,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
629
629
|
strokeWidth: 1.5,
|
|
630
630
|
strokeLinecap: "round",
|
|
631
631
|
strokeLinejoin: "round"
|
|
632
|
-
}))),
|
|
632
|
+
}))), qi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
633
633
|
width: 24,
|
|
634
634
|
height: 24,
|
|
635
635
|
viewBox: "0 0 24 24",
|
|
@@ -645,7 +645,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
645
645
|
strokeWidth: 1.5,
|
|
646
646
|
strokeLinecap: "round",
|
|
647
647
|
strokeLinejoin: "round"
|
|
648
|
-
}))),
|
|
648
|
+
}))), Ji = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
649
649
|
width: 16,
|
|
650
650
|
height: 17,
|
|
651
651
|
viewBox: "0 0 16 17",
|
|
@@ -658,7 +658,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
658
658
|
id: "Vector",
|
|
659
659
|
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",
|
|
660
660
|
fill: "#00BD60"
|
|
661
|
-
}))),
|
|
661
|
+
}))), Xi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
662
662
|
width: 24,
|
|
663
663
|
height: 24,
|
|
664
664
|
viewBox: "0 0 24 24",
|
|
@@ -673,7 +673,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
673
673
|
clipRule: "evenodd",
|
|
674
674
|
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",
|
|
675
675
|
fill: "#FFFFFF"
|
|
676
|
-
}))),
|
|
676
|
+
}))), Ki = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
677
677
|
width: 12,
|
|
678
678
|
height: 20,
|
|
679
679
|
viewBox: "0 0 12 20",
|
|
@@ -685,7 +685,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
685
685
|
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",
|
|
686
686
|
fill: "white",
|
|
687
687
|
fillOpacity: 0.6
|
|
688
|
-
})),
|
|
688
|
+
})), en = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
689
689
|
width: 24,
|
|
690
690
|
height: 24,
|
|
691
691
|
viewBox: "0 0 24 24",
|
|
@@ -698,7 +698,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
698
698
|
id: "Chevron_2",
|
|
699
699
|
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",
|
|
700
700
|
fill: "white"
|
|
701
|
-
}))),
|
|
701
|
+
}))), tn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
702
702
|
width: 16,
|
|
703
703
|
height: 17,
|
|
704
704
|
viewBox: "0 0 16 17",
|
|
@@ -711,7 +711,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
711
711
|
id: "Chevron_2",
|
|
712
712
|
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",
|
|
713
713
|
fill: "#FFFFFF"
|
|
714
|
-
}))),
|
|
714
|
+
}))), nn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
715
715
|
width: 24,
|
|
716
716
|
height: 24,
|
|
717
717
|
viewBox: "0 0 24 24",
|
|
@@ -726,7 +726,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
726
726
|
}), /* @__PURE__ */ C.createElement("path", {
|
|
727
727
|
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",
|
|
728
728
|
fill: "white"
|
|
729
|
-
})),
|
|
729
|
+
})), rn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
730
730
|
width: 10,
|
|
731
731
|
height: 10,
|
|
732
732
|
viewBox: "0 0 10 10",
|
|
@@ -751,7 +751,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
751
751
|
rx: 0.883884,
|
|
752
752
|
transform: "rotate(-45 0 8.75)",
|
|
753
753
|
fill: "white"
|
|
754
|
-
}))),
|
|
754
|
+
}))), sn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
755
755
|
width: 24,
|
|
756
756
|
height: 24,
|
|
757
757
|
viewBox: "0 0 24 24",
|
|
@@ -780,7 +780,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
780
780
|
rx: 0.883884,
|
|
781
781
|
transform: "rotate(-45 7 15.752)",
|
|
782
782
|
fill: "white"
|
|
783
|
-
})),
|
|
783
|
+
})), on = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
784
784
|
width: 40,
|
|
785
785
|
height: 40,
|
|
786
786
|
viewBox: "0 0 40 40",
|
|
@@ -799,7 +799,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
799
799
|
id: "Vector_2",
|
|
800
800
|
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",
|
|
801
801
|
fill: "white"
|
|
802
|
-
})))),
|
|
802
|
+
})))), ln = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
803
803
|
width: 24,
|
|
804
804
|
height: 24,
|
|
805
805
|
viewBox: "0 0 24 24",
|
|
@@ -828,7 +828,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
828
828
|
rx: 0.883884,
|
|
829
829
|
transform: "rotate(-45 7 15.75)",
|
|
830
830
|
fill: "white"
|
|
831
|
-
})),
|
|
831
|
+
})), an = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
832
832
|
width: 32,
|
|
833
833
|
height: 32,
|
|
834
834
|
viewBox: "0 0 32 32",
|
|
@@ -847,7 +847,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
847
847
|
opacity: 0.5,
|
|
848
848
|
d: "M13.3908 9C12.3103 9 11.4336 9.82584 11.4336 10.8437C11.4336 11.8616 12.3103 12.6875 13.3908 12.6875C14.4713 12.6875 15.348 11.8616 15.348 10.8437C15.348 9.82584 14.4713 9 13.3908 9ZM13.3908 12.6875C13.1946 12.6875 12.9958 12.6827 12.7996 12.7451C13.192 13.2372 13.3908 13.8542 13.3908 14.5312C13.3908 14.7761 13.3296 15.0161 13.3296 15.261C13.8521 14.524 14.6956 14.0391 15.6742 13.9166C15.218 13.1796 14.3694 12.6875 13.3908 12.6875ZM18.61 9C17.5295 9 16.6528 9.82584 16.6528 10.8437C16.6528 11.8616 17.5295 12.6875 18.61 12.6875C19.6905 12.6875 20.5672 11.8616 20.5672 10.8437C20.5672 9.82584 19.6905 9 18.61 9ZM18.61 12.6875C17.6314 12.6875 16.7828 13.1796 16.3266 13.9166C17.3052 14.0391 18.1487 14.524 18.6712 15.261C18.6712 15.0161 18.61 14.7761 18.61 14.5312C18.61 13.8542 18.8088 13.2372 19.2012 12.7451C19.005 12.6827 18.8062 12.6875 18.61 12.6875Z",
|
|
849
849
|
fill: "#107D57"
|
|
850
|
-
})),
|
|
850
|
+
})), cn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
851
851
|
width: 18,
|
|
852
852
|
height: 18,
|
|
853
853
|
viewBox: "0 0 18 18",
|
|
@@ -860,7 +860,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
860
860
|
id: "Vector",
|
|
861
861
|
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",
|
|
862
862
|
fill: "white"
|
|
863
|
-
}))),
|
|
863
|
+
}))), dn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
864
864
|
width: 17,
|
|
865
865
|
height: 16,
|
|
866
866
|
viewBox: "0 0 17 16",
|
|
@@ -886,7 +886,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
886
886
|
strokeWidth: 1.5,
|
|
887
887
|
strokeLinecap: "round",
|
|
888
888
|
strokeLinejoin: "round"
|
|
889
|
-
})),
|
|
889
|
+
})), un = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
890
890
|
width: 17,
|
|
891
891
|
height: 18,
|
|
892
892
|
viewBox: "0 0 17 18",
|
|
@@ -916,7 +916,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
916
916
|
strokeWidth: 1.5,
|
|
917
917
|
strokeLinecap: "round",
|
|
918
918
|
strokeLinejoin: "round"
|
|
919
|
-
}))),
|
|
919
|
+
}))), pn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
920
920
|
width: 99,
|
|
921
921
|
height: 96,
|
|
922
922
|
viewBox: "0 0 99 96",
|
|
@@ -933,7 +933,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
933
933
|
id: "Vector_2",
|
|
934
934
|
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",
|
|
935
935
|
fill: "white"
|
|
936
|
-
}))),
|
|
936
|
+
}))), hn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
937
937
|
width: 16,
|
|
938
938
|
height: 15,
|
|
939
939
|
viewBox: "0 0 16 15",
|
|
@@ -944,7 +944,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
944
944
|
id: "Start - You",
|
|
945
945
|
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",
|
|
946
946
|
fill: "#F4D22A"
|
|
947
|
-
})),
|
|
947
|
+
})), gn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
948
948
|
xmlns: "http://www.w3.org/2000/svg",
|
|
949
949
|
width: 22,
|
|
950
950
|
height: 22,
|
|
@@ -954,7 +954,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
954
954
|
}, /* @__PURE__ */ C.createElement("path", {
|
|
955
955
|
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",
|
|
956
956
|
fill: "white"
|
|
957
|
-
})),
|
|
957
|
+
})), Mn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
958
958
|
width: 12,
|
|
959
959
|
height: 12,
|
|
960
960
|
viewBox: "0 0 12 12",
|
|
@@ -969,7 +969,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
969
969
|
clipRule: "evenodd",
|
|
970
970
|
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",
|
|
971
971
|
fill: "white"
|
|
972
|
-
}))),
|
|
972
|
+
}))), In = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
973
973
|
width: 16,
|
|
974
974
|
height: 16,
|
|
975
975
|
viewBox: "0 0 16 16",
|
|
@@ -984,7 +984,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
984
984
|
clipRule: "evenodd",
|
|
985
985
|
d: "M3.69197 4.66662C3.69197 5.99705 3.92914 7.17787 4.4035 8.20912C3.49966 8.02451 2.74487 7.66486 2.1391 7.13014C1.53333 6.59542 1.23046 6.0798 1.23046 5.58328V4.66662H3.69197ZM14.7686 4.66662V5.58328C14.7686 6.0798 14.4658 6.59542 13.86 7.13014C13.2542 7.66486 12.4994 8.02451 11.5956 8.20912C12.0699 7.17787 12.3071 5.99705 12.3071 4.66662H14.7686ZM15.9998 5.58329V4.36108C15.9998 4.10645 15.9101 3.89002 15.7306 3.71178C15.5511 3.53354 15.3332 3.44442 15.0768 3.44442H12.3076V2.52776C12.3076 2.10763 12.1569 1.74797 11.8556 1.44878C11.5544 1.14959 11.1922 1 10.7691 1H5.23072C4.80764 1 4.44547 1.14959 4.14419 1.44878C3.84291 1.74797 3.69227 2.10763 3.69227 2.52776V3.44442H0.923068C0.666659 3.44442 0.448714 3.53354 0.269228 3.71178C0.0897418 3.89002 0 4.10645 0 4.36108V5.58329C0 6.03525 0.13301 6.49039 0.399034 6.94872C0.665059 7.40705 1.02403 7.82082 1.47595 8.19003C1.92787 8.55924 2.48234 8.86957 3.13939 9.12101C3.79644 9.37246 4.48713 9.51409 5.21149 9.54592C5.48071 9.88967 5.7852 10.192 6.12494 10.453C6.36853 10.6695 6.53679 10.9002 6.62974 11.1453C6.72269 11.3904 6.76916 11.6752 6.76916 11.9999C6.76916 12.3436 6.67141 12.6333 6.4759 12.8688C6.28038 13.1043 5.96789 13.2221 5.53841 13.2221C5.05764 13.2221 4.62976 13.3669 4.25476 13.6566C3.87977 13.9462 3.69227 14.3106 3.69227 14.7499V15.361C3.69227 15.4501 3.72112 15.5233 3.77881 15.5806C3.8365 15.6379 3.91022 15.6665 3.99996 15.6665H11.9999C12.0896 15.6665 12.1633 15.6379 12.221 15.5806C12.2787 15.5233 12.3076 15.4501 12.3076 15.361V14.7499C12.3076 14.3106 12.1201 13.9462 11.7451 13.6566C11.3701 13.3669 10.9422 13.2221 10.4614 13.2221C10.0319 13.2221 9.71945 13.1043 9.52394 12.8688C9.32843 12.6333 9.23068 12.3436 9.23068 11.9999C9.23068 11.6752 9.27715 11.3904 9.3701 11.1453C9.46305 10.9002 9.63131 10.6695 9.8749 10.453C10.2146 10.192 10.5191 9.88967 10.7884 9.54592C11.5127 9.51409 12.2034 9.37246 12.8604 9.12101C13.5175 8.86957 14.072 8.55924 14.5239 8.19003C14.9758 7.82082 15.3348 7.40705 15.6008 6.94872C15.8668 6.49039 15.9998 6.03525 15.9998 5.58329ZM6.76047 7.1798L8.05109 6.49997L9.3417 7.1798L9.09521 5.73989L10.1393 4.72015L8.69639 4.51007L8.05109 3.2L7.40578 4.51007L5.96283 4.72015L7.00696 5.73989L6.76047 7.1798Z",
|
|
986
986
|
fill: "#F2C94C"
|
|
987
|
-
}))),
|
|
987
|
+
}))), mn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
988
988
|
width: 25,
|
|
989
989
|
height: 24,
|
|
990
990
|
viewBox: "0 0 25 24",
|
|
@@ -1002,7 +1002,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
1002
1002
|
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",
|
|
1003
1003
|
fill: "white",
|
|
1004
1004
|
fillOpacity: 0.4
|
|
1005
|
-
}))),
|
|
1005
|
+
}))), Cn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1006
1006
|
width: 18,
|
|
1007
1007
|
height: 18,
|
|
1008
1008
|
viewBox: "0 0 18 18",
|
|
@@ -1025,7 +1025,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
1025
1025
|
clipRule: "evenodd",
|
|
1026
1026
|
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",
|
|
1027
1027
|
fill: "#107D57"
|
|
1028
|
-
})))),
|
|
1028
|
+
})))), yn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1029
1029
|
width: 14,
|
|
1030
1030
|
height: 17,
|
|
1031
1031
|
viewBox: "0 0 14 17",
|
|
@@ -1043,7 +1043,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
1043
1043
|
id: "Icon / Games_3",
|
|
1044
1044
|
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",
|
|
1045
1045
|
fill: "#107D57"
|
|
1046
|
-
}))),
|
|
1046
|
+
}))), Nn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1047
1047
|
width: 19,
|
|
1048
1048
|
height: 14,
|
|
1049
1049
|
viewBox: "0 0 19 14",
|
|
@@ -1058,7 +1058,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
1058
1058
|
clipRule: "evenodd",
|
|
1059
1059
|
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",
|
|
1060
1060
|
fill: "#107D57"
|
|
1061
|
-
}))),
|
|
1061
|
+
}))), fn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1062
1062
|
width: 16,
|
|
1063
1063
|
height: 16,
|
|
1064
1064
|
viewBox: "0 0 16 16",
|
|
@@ -1125,7 +1125,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
1125
1125
|
clipRule: "evenodd",
|
|
1126
1126
|
d: "M2.00033 8.66676C1.6316 9.03545 1.03484 9.03478 0.666788 8.66676C0.298732 8.29873 0.298065 7.70203 0.666788 7.33334C1.03551 6.96465 1.63227 6.96531 2.00033 7.33334C2.36838 7.70136 2.36905 8.29806 2.00033 8.66676Z",
|
|
1127
1127
|
fill: "#107D57"
|
|
1128
|
-
}))),
|
|
1128
|
+
}))), An = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1129
1129
|
width: 16,
|
|
1130
1130
|
height: 16,
|
|
1131
1131
|
viewBox: "0 0 16 16",
|
|
@@ -1141,7 +1141,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
1141
1141
|
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",
|
|
1142
1142
|
fill: "white",
|
|
1143
1143
|
fillOpacity: 0.5
|
|
1144
|
-
}))),
|
|
1144
|
+
}))), wn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1145
1145
|
width: 16,
|
|
1146
1146
|
height: 16,
|
|
1147
1147
|
viewBox: "0 0 16 16",
|
|
@@ -1157,7 +1157,7 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
1157
1157
|
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",
|
|
1158
1158
|
fill: "white",
|
|
1159
1159
|
fillOpacity: 0.5
|
|
1160
|
-
}))),
|
|
1160
|
+
}))), Dn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1161
1161
|
width: 16,
|
|
1162
1162
|
height: 16,
|
|
1163
1163
|
viewBox: "0 0 16 16",
|
|
@@ -1174,36 +1174,36 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
1174
1174
|
fill: "white",
|
|
1175
1175
|
fillOpacity: 0.5
|
|
1176
1176
|
}))), T1 = {
|
|
1177
|
-
"invite-game-icon":
|
|
1178
|
-
"icon-trophy":
|
|
1179
|
-
"icon-trophy-green":
|
|
1180
|
-
"icon-trivia":
|
|
1181
|
-
"icon-thumb-down":
|
|
1182
|
-
"icon-star":
|
|
1183
|
-
"icon-prediction":
|
|
1184
|
-
"icon-insight":
|
|
1185
|
-
"icon-poll":
|
|
1186
|
-
"icon-masters-logo":
|
|
1187
|
-
"icon-logout":
|
|
1188
|
-
"icon-link":
|
|
1189
|
-
"icon-invite-arrow":
|
|
1190
|
-
"icon-friends":
|
|
1191
|
-
"icon-exit":
|
|
1192
|
-
"icon-default-user-avatar":
|
|
1193
|
-
"icon-cross":
|
|
1194
|
-
"icon-close":
|
|
1195
|
-
"icon-close-btn-white":
|
|
1196
|
-
"icon-circle-arrow-right":
|
|
1197
|
-
"icon-chevron":
|
|
1198
|
-
"icon-chevron-white-left":
|
|
1199
|
-
"icon-chevron-left":
|
|
1200
|
-
"icon-check-white":
|
|
1201
|
-
"icon-check-green":
|
|
1202
|
-
"icon-btn-channels":
|
|
1203
|
-
"icon-btn-feature-groups":
|
|
1204
|
-
"icon-btn-leaderboard":
|
|
1205
|
-
"icon-check":
|
|
1206
|
-
"icon-arrow":
|
|
1177
|
+
"invite-game-icon": mn,
|
|
1178
|
+
"icon-trophy": In,
|
|
1179
|
+
"icon-trophy-green": Mn,
|
|
1180
|
+
"icon-trivia": Dn,
|
|
1181
|
+
"icon-thumb-down": gn,
|
|
1182
|
+
"icon-star": hn,
|
|
1183
|
+
"icon-prediction": wn,
|
|
1184
|
+
"icon-insight": fn,
|
|
1185
|
+
"icon-poll": An,
|
|
1186
|
+
"icon-masters-logo": pn,
|
|
1187
|
+
"icon-logout": un,
|
|
1188
|
+
"icon-link": dn,
|
|
1189
|
+
"icon-invite-arrow": cn,
|
|
1190
|
+
"icon-friends": an,
|
|
1191
|
+
"icon-exit": ln,
|
|
1192
|
+
"icon-default-user-avatar": on,
|
|
1193
|
+
"icon-cross": qi,
|
|
1194
|
+
"icon-close": sn,
|
|
1195
|
+
"icon-close-btn-white": rn,
|
|
1196
|
+
"icon-circle-arrow-right": nn,
|
|
1197
|
+
"icon-chevron": tn,
|
|
1198
|
+
"icon-chevron-white-left": en,
|
|
1199
|
+
"icon-chevron-left": Ki,
|
|
1200
|
+
"icon-check-white": Xi,
|
|
1201
|
+
"icon-check-green": Ji,
|
|
1202
|
+
"icon-btn-channels": Cn,
|
|
1203
|
+
"icon-btn-feature-groups": yn,
|
|
1204
|
+
"icon-btn-leaderboard": Nn,
|
|
1205
|
+
"icon-check": Wi,
|
|
1206
|
+
"icon-arrow": Fi
|
|
1207
1207
|
}, X = ({
|
|
1208
1208
|
name: i,
|
|
1209
1209
|
style: r,
|
|
@@ -1214,79 +1214,79 @@ const Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
|
1214
1214
|
return /* @__PURE__ */ o("span", {
|
|
1215
1215
|
children: i
|
|
1216
1216
|
});
|
|
1217
|
-
const
|
|
1218
|
-
return /* @__PURE__ */ o(
|
|
1217
|
+
const h = T1[i];
|
|
1218
|
+
return /* @__PURE__ */ o(h, {
|
|
1219
1219
|
style: r,
|
|
1220
1220
|
className: l,
|
|
1221
1221
|
...p
|
|
1222
1222
|
});
|
|
1223
1223
|
};
|
|
1224
|
-
const
|
|
1224
|
+
const En = () => X, Tn = () => X, Ln = /* @__PURE__ */ d("div")({
|
|
1225
1225
|
name: "s",
|
|
1226
1226
|
class: "s1lblda3",
|
|
1227
1227
|
propsAsIs: !1
|
|
1228
|
-
}),
|
|
1228
|
+
}), jn = /* @__PURE__ */ d("div")({
|
|
1229
1229
|
name: "a",
|
|
1230
1230
|
class: "ascvb2g",
|
|
1231
1231
|
propsAsIs: !1
|
|
1232
|
-
}),
|
|
1232
|
+
}), vn = /* @__PURE__ */ d("div")({
|
|
1233
1233
|
name: "p",
|
|
1234
1234
|
class: "p17rl8zy",
|
|
1235
1235
|
propsAsIs: !1
|
|
1236
|
-
}),
|
|
1236
|
+
}), xn = /* @__PURE__ */ d("div")({
|
|
1237
1237
|
name: "l",
|
|
1238
1238
|
class: "l1vvttbn",
|
|
1239
1239
|
propsAsIs: !1
|
|
1240
|
-
}), qe = /* @__PURE__ */ d(
|
|
1240
|
+
}), qe = /* @__PURE__ */ d(En())({
|
|
1241
1241
|
name: "c",
|
|
1242
1242
|
class: "c6fk2ph",
|
|
1243
1243
|
propsAsIs: !0
|
|
1244
|
-
}),
|
|
1244
|
+
}), zn = /* @__PURE__ */ d(Tn())({
|
|
1245
1245
|
name: "d",
|
|
1246
1246
|
class: "d1rdm136",
|
|
1247
1247
|
propsAsIs: !0
|
|
1248
|
-
}),
|
|
1248
|
+
}), kn = /* @__PURE__ */ d("div")({
|
|
1249
1249
|
name: "f",
|
|
1250
1250
|
class: "fwqnnel",
|
|
1251
1251
|
propsAsIs: !1
|
|
1252
|
-
}),
|
|
1252
|
+
}), Sn = /* @__PURE__ */ d("div")({
|
|
1253
1253
|
name: "u",
|
|
1254
1254
|
class: "ucyxnlg",
|
|
1255
1255
|
propsAsIs: !1
|
|
1256
|
-
}),
|
|
1256
|
+
}), bn = {
|
|
1257
1257
|
[je.LOST]: /* @__PURE__ */ o(qe, { name: "icon-cross" }),
|
|
1258
1258
|
[je.WON]: /* @__PURE__ */ o(qe, { name: "icon-check" }),
|
|
1259
1259
|
[je.UNSET]: void 0,
|
|
1260
1260
|
[je.DNP]: /* @__PURE__ */ o(qe, { name: "icon-arrow" })
|
|
1261
|
-
},
|
|
1261
|
+
}, On = ({
|
|
1262
1262
|
questionId: i,
|
|
1263
1263
|
questionType: r,
|
|
1264
1264
|
questionStatus: l,
|
|
1265
1265
|
subject: p,
|
|
1266
|
-
openForVoting:
|
|
1267
|
-
openQuestion:
|
|
1266
|
+
openForVoting: h,
|
|
1267
|
+
openQuestion: g,
|
|
1268
1268
|
status: M
|
|
1269
1269
|
}) => {
|
|
1270
|
-
const a = G1[r], I =
|
|
1271
|
-
return a ? /* @__PURE__ */ y(
|
|
1272
|
-
/* @__PURE__ */ y(
|
|
1273
|
-
/* @__PURE__ */ y(
|
|
1274
|
-
/* @__PURE__ */ o(
|
|
1275
|
-
/* @__PURE__ */ y(
|
|
1270
|
+
const a = G1[r], I = bn[M];
|
|
1271
|
+
return a ? /* @__PURE__ */ y(Ln, { onClick: () => g == null ? void 0 : g(i), children: [
|
|
1272
|
+
/* @__PURE__ */ y(Sn, { children: [
|
|
1273
|
+
/* @__PURE__ */ y(jn, { children: [
|
|
1274
|
+
/* @__PURE__ */ o(zn, { name: a.iconName }),
|
|
1275
|
+
/* @__PURE__ */ y(kn, { children: [
|
|
1276
1276
|
a.label,
|
|
1277
|
-
r === Y.TRIVIA && l ===
|
|
1277
|
+
r === Y.TRIVIA && l === mt.RESOLVED && " • Expired"
|
|
1278
1278
|
] })
|
|
1279
1279
|
] }),
|
|
1280
|
-
/* @__PURE__ */ o(
|
|
1280
|
+
/* @__PURE__ */ o(vn, { children: p || "" })
|
|
1281
1281
|
] }),
|
|
1282
|
-
/* @__PURE__ */ o(
|
|
1282
|
+
/* @__PURE__ */ o(xn, { children: I || (h ? /* @__PURE__ */ o(Hi, { children: "Play" }) : null) })
|
|
1283
1283
|
] }) : null;
|
|
1284
1284
|
};
|
|
1285
|
-
const
|
|
1285
|
+
const Bn = /* @__PURE__ */ d("div")({
|
|
1286
1286
|
name: "t",
|
|
1287
1287
|
class: "t19vr3p1",
|
|
1288
1288
|
propsAsIs: !1
|
|
1289
|
-
}), H1 = ({ questions: i, openQuestion: r }) => /* @__PURE__ */ o(
|
|
1289
|
+
}), H1 = ({ questions: i, openQuestion: r }) => /* @__PURE__ */ o(Bn, { children: i == null ? void 0 : i.map((l) => /* @__PURE__ */ o(On, { openQuestion: r, ...l }, l.questionId)) }), F1 = (i) => i.split(/\s+/).map((r) => r[0]).join("").toUpperCase(), W1 = (i) => i ? i.toLocaleString("en-US") : "0";
|
|
1290
1290
|
const Rn = /* @__PURE__ */ d("div")({
|
|
1291
1291
|
name: "t",
|
|
1292
1292
|
class: "taj61ja",
|
|
@@ -1387,17 +1387,17 @@ const Pn = /* @__PURE__ */ d("div")({
|
|
|
1387
1387
|
name: "v",
|
|
1388
1388
|
class: "viqiaf2",
|
|
1389
1389
|
propsAsIs: !1
|
|
1390
|
-
}), or = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlRyb3BoeSI+CjxwYXRoIGlkPSJDb21iaW5lZCBTaGFwZSIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zLjY5MTk3IDQuNjY2NjJDMy42OTE5NyA1Ljk5NzA1IDMuOTI5MTQgNy4xNzc4NyA0LjQwMzUgOC4yMDkxMkMzLjQ5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:
|
|
1396
|
-
streak:
|
|
1395
|
+
rank: h,
|
|
1396
|
+
streak: g,
|
|
1397
1397
|
correct: M,
|
|
1398
1398
|
incorrect: a,
|
|
1399
1399
|
inTop: I,
|
|
1400
|
-
average:
|
|
1400
|
+
average: f
|
|
1401
1401
|
}) => /* @__PURE__ */ y(Pn, { children: [
|
|
1402
1402
|
/* @__PURE__ */ o(_n, { children: /* @__PURE__ */ y(Gn, { children: [
|
|
1403
1403
|
/* @__PURE__ */ y(sr, { children: [
|
|
@@ -1410,7 +1410,7 @@ const Pn = /* @__PURE__ */ d("div")({
|
|
|
1410
1410
|
/* @__PURE__ */ y(Xn, { children: [
|
|
1411
1411
|
/* @__PURE__ */ o(Jn, { alt: "rank-icon", src: or }),
|
|
1412
1412
|
/* @__PURE__ */ y(Kn, { children: [
|
|
1413
|
-
|
|
1413
|
+
W1(l),
|
|
1414
1414
|
/* @__PURE__ */ o(er, { children: "PTS" })
|
|
1415
1415
|
] })
|
|
1416
1416
|
] }),
|
|
@@ -1426,17 +1426,17 @@ const Pn = /* @__PURE__ */ d("div")({
|
|
|
1426
1426
|
/* @__PURE__ */ y(Vn, { children: [
|
|
1427
1427
|
/* @__PURE__ */ y(ir, { children: [
|
|
1428
1428
|
/* @__PURE__ */ o(L1, { indicator: p || 0, title: "Friends rank" }),
|
|
1429
|
-
/* @__PURE__ */ o(L1, { indicator:
|
|
1429
|
+
/* @__PURE__ */ o(L1, { indicator: h || 0, title: "Global rank" })
|
|
1430
1430
|
] }),
|
|
1431
1431
|
/* @__PURE__ */ y(nr, { children: [
|
|
1432
|
-
/* @__PURE__ */ o(ze, { indicator:
|
|
1432
|
+
/* @__PURE__ */ o(ze, { indicator: g || 0, title: "Win streak" }),
|
|
1433
1433
|
/* @__PURE__ */ o(ze, { indicator: M || 0, title: "Correct" }),
|
|
1434
1434
|
/* @__PURE__ */ o(ze, { indicator: a || 0, title: "Incorrect" }),
|
|
1435
|
-
/* @__PURE__ */ o(ze, { indicator: `${
|
|
1435
|
+
/* @__PURE__ */ o(ze, { indicator: `${f || 0}%`, title: "Succ. rate" })
|
|
1436
1436
|
] })
|
|
1437
1437
|
] })
|
|
1438
1438
|
] });
|
|
1439
|
-
const lr = () =>
|
|
1439
|
+
const lr = () => J1, J1 = /* @__PURE__ */ d("div")({
|
|
1440
1440
|
name: "o",
|
|
1441
1441
|
class: "opm4u8k",
|
|
1442
1442
|
propsAsIs: !1
|
|
@@ -1481,54 +1481,54 @@ const lr = () => q1, q1 = /* @__PURE__ */ d("div")({
|
|
|
1481
1481
|
id: r,
|
|
1482
1482
|
title: l,
|
|
1483
1483
|
questionId: p,
|
|
1484
|
-
disabled:
|
|
1485
|
-
percentage:
|
|
1484
|
+
disabled: h,
|
|
1485
|
+
percentage: g,
|
|
1486
1486
|
onVote: M,
|
|
1487
1487
|
toggleIsLoadingSubmitAnswer: a,
|
|
1488
1488
|
correct: I,
|
|
1489
|
-
questionAnswered:
|
|
1490
|
-
hasCorrectAnswer:
|
|
1489
|
+
questionAnswered: f,
|
|
1490
|
+
hasCorrectAnswer: N,
|
|
1491
1491
|
answered: w,
|
|
1492
1492
|
points: D,
|
|
1493
1493
|
questionType: L
|
|
1494
1494
|
}) => {
|
|
1495
1495
|
var k;
|
|
1496
|
-
return
|
|
1496
|
+
return f && w ? /* @__PURE__ */ y(
|
|
1497
1497
|
ar,
|
|
1498
1498
|
{
|
|
1499
|
-
"data-answeredCorrect": (k = !
|
|
1499
|
+
"data-answeredCorrect": (k = !N || I) == null ? void 0 : k.toString(),
|
|
1500
1500
|
"data-questionAnswered": "false",
|
|
1501
1501
|
children: [
|
|
1502
|
-
/* @__PURE__ */ o(j1, { style: { width: `${
|
|
1503
|
-
/* @__PURE__ */ y(v1, { disabled:
|
|
1502
|
+
/* @__PURE__ */ o(j1, { style: { width: `${g}%` } }),
|
|
1503
|
+
/* @__PURE__ */ y(v1, { disabled: h, onClick: () => M(p, r), children: [
|
|
1504
1504
|
i && /* @__PURE__ */ o(x1, { alt: "option-icon", src: i }),
|
|
1505
1505
|
/* @__PURE__ */ o(z1, { children: l }),
|
|
1506
1506
|
/* @__PURE__ */ y(k1, { children: [
|
|
1507
|
-
|
|
1507
|
+
N && I && /* @__PURE__ */ o(S1, { children: /* @__PURE__ */ o(b1, { alt: "icon-correct", src: w ? O1 : e1 }) }),
|
|
1508
1508
|
/* @__PURE__ */ y(Je, { children: [
|
|
1509
|
-
|
|
1509
|
+
g,
|
|
1510
1510
|
"%"
|
|
1511
1511
|
] })
|
|
1512
1512
|
] })
|
|
1513
1513
|
] })
|
|
1514
1514
|
]
|
|
1515
1515
|
}
|
|
1516
|
-
) : /* @__PURE__ */ y(
|
|
1517
|
-
|
|
1516
|
+
) : /* @__PURE__ */ y(J1, { "data-questionAnswered": f == null ? void 0 : f.toString(), children: [
|
|
1517
|
+
f && /* @__PURE__ */ o(j1, { style: { width: `${g}%` } }),
|
|
1518
1518
|
/* @__PURE__ */ y(
|
|
1519
1519
|
v1,
|
|
1520
1520
|
{
|
|
1521
|
-
disabled:
|
|
1521
|
+
disabled: h,
|
|
1522
1522
|
onClick: () => {
|
|
1523
1523
|
a(!0), M(p, r);
|
|
1524
1524
|
},
|
|
1525
1525
|
children: [
|
|
1526
1526
|
i && /* @__PURE__ */ o(x1, { alt: "option-icon", src: i }),
|
|
1527
1527
|
/* @__PURE__ */ o(z1, { children: l }),
|
|
1528
|
-
|
|
1529
|
-
|
|
1528
|
+
f ? /* @__PURE__ */ y(k1, { children: [
|
|
1529
|
+
N && I && /* @__PURE__ */ o(S1, { children: /* @__PURE__ */ o(b1, { alt: "icon-correct", src: w ? O1 : e1 }) }),
|
|
1530
1530
|
/* @__PURE__ */ y(Je, { children: [
|
|
1531
|
-
|
|
1531
|
+
g,
|
|
1532
1532
|
"%"
|
|
1533
1533
|
] })
|
|
1534
1534
|
] }) : L === Y.PREDICTION ? /* @__PURE__ */ y(Je, { children: [
|
|
@@ -1601,7 +1601,7 @@ const Cr = () => X, yr = /* @__PURE__ */ d("div")({
|
|
|
1601
1601
|
name: "d",
|
|
1602
1602
|
class: "dlr9eoc",
|
|
1603
1603
|
propsAsIs: !1
|
|
1604
|
-
}), Tr = ({ title: i, points: r, isPlayingTimer: l, isTimer: p, onTimerExpired:
|
|
1604
|
+
}), Tr = ({ title: i, points: r, isPlayingTimer: l, isTimer: p, onTimerExpired: h }) => /* @__PURE__ */ y(yr, { children: [
|
|
1605
1605
|
/* @__PURE__ */ y(Nr, { children: [
|
|
1606
1606
|
i && /* @__PURE__ */ o(fr, { children: i }),
|
|
1607
1607
|
r !== void 0 && /* @__PURE__ */ y(W, { children: [
|
|
@@ -1612,45 +1612,45 @@ const Cr = () => X, yr = /* @__PURE__ */ d("div")({
|
|
|
1612
1612
|
] })
|
|
1613
1613
|
] })
|
|
1614
1614
|
] }),
|
|
1615
|
-
p && /* @__PURE__ */ o(Z1, { isPlaying: l, onTimerExpired:
|
|
1616
|
-
] }), Lr = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeT0iMC4wMDE5NTMxMiIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiIGZpbGw9IiNGODAwMjIiLz4KPHJlY3QgeD0iOC4yNSIgeT0iNy4wMDE5NSIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcuMDAxOTUpIiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB4PSI3IiB5PSIxNS43NTIiIHdpZHRoPSIxMi4zNzQ0IiBoZWlnaHQ9IjEuNzY3NzciIHJ4PSIwLjg4Mzg4NCIgdHJhbnNmb3JtPSJyb3RhdGUoLTQ1IDcgMTUuNzUyKSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==",
|
|
1615
|
+
p && /* @__PURE__ */ o(Z1, { isPlaying: l, onTimerExpired: h })
|
|
1616
|
+
] }), Lr = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeT0iMC4wMDE5NTMxMiIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiIGZpbGw9IiNGODAwMjIiLz4KPHJlY3QgeD0iOC4yNSIgeT0iNy4wMDE5NSIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcuMDAxOTUpIiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB4PSI3IiB5PSIxNS43NTIiIHdpZHRoPSIxMi4zNzQ0IiBoZWlnaHQ9IjEuNzY3NzciIHJ4PSIwLjg4Mzg4NCIgdHJhbnNmb3JtPSJyb3RhdGUoLTQ1IDcgMTUuNzUyKSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==", X1 = ({
|
|
1617
1617
|
title: i,
|
|
1618
1618
|
questionId: r,
|
|
1619
1619
|
options: l,
|
|
1620
1620
|
questionAnswered: p,
|
|
1621
|
-
feedbackMessages:
|
|
1622
|
-
questionAnsweredCorrectly:
|
|
1621
|
+
feedbackMessages: h,
|
|
1622
|
+
questionAnsweredCorrectly: g,
|
|
1623
1623
|
questionType: M
|
|
1624
1624
|
}) => {
|
|
1625
|
-
const [a, I] = b(!1),
|
|
1626
|
-
(
|
|
1627
|
-
I(
|
|
1625
|
+
const [a, I] = b(!1), f = re(
|
|
1626
|
+
(N) => {
|
|
1627
|
+
I(N);
|
|
1628
1628
|
},
|
|
1629
1629
|
[I]
|
|
1630
1630
|
);
|
|
1631
1631
|
return de(() => {
|
|
1632
|
-
|
|
1633
|
-
}, [l,
|
|
1632
|
+
f(!1);
|
|
1633
|
+
}, [l, f]), /* @__PURE__ */ y(dr, { children: [
|
|
1634
1634
|
/* @__PURE__ */ o(Tr, { title: "To win", points: 100, isTimer: !0 }),
|
|
1635
1635
|
/* @__PURE__ */ o(ur, { children: i }),
|
|
1636
1636
|
/* @__PURE__ */ y(pr, { children: [
|
|
1637
1637
|
a && /* @__PURE__ */ o(hr, { children: "Loading..." }),
|
|
1638
|
-
l.map((
|
|
1638
|
+
l.map((N) => /* @__PURE__ */ o(
|
|
1639
1639
|
cr,
|
|
1640
1640
|
{
|
|
1641
|
-
toggleIsLoadingSubmitAnswer:
|
|
1641
|
+
toggleIsLoadingSubmitAnswer: f,
|
|
1642
1642
|
questionId: r,
|
|
1643
1643
|
questionType: M,
|
|
1644
|
-
...
|
|
1644
|
+
...N
|
|
1645
1645
|
},
|
|
1646
|
-
|
|
1646
|
+
N.id
|
|
1647
1647
|
))
|
|
1648
1648
|
] }),
|
|
1649
1649
|
p && M === Y.TRIVIA && /* @__PURE__ */ y(gr, { children: [
|
|
1650
|
-
/* @__PURE__ */ o(Mr, { alt: "reaction-to-answer", src:
|
|
1650
|
+
/* @__PURE__ */ o(Mr, { alt: "reaction-to-answer", src: g ? e1 : Lr }),
|
|
1651
1651
|
/* @__PURE__ */ y("div", { children: [
|
|
1652
|
-
/* @__PURE__ */ o(Ir, { children:
|
|
1653
|
-
/* @__PURE__ */ o(mr, { children:
|
|
1652
|
+
/* @__PURE__ */ o(Ir, { children: g ? h.correctFeedback.title : h.incorrectFeedback.title }),
|
|
1653
|
+
/* @__PURE__ */ o(mr, { children: g ? h.correctFeedback.description : h.incorrectFeedback.description })
|
|
1654
1654
|
] })
|
|
1655
1655
|
] })
|
|
1656
1656
|
] });
|
|
@@ -1702,7 +1702,7 @@ const jr = /* @__PURE__ */ d("div")({
|
|
|
1702
1702
|
}), $r = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikdyb3VwIDQ2NSI+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY4IiB4PSIxLjI1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKDQ1IDEuMjUgMCkiIGZpbGw9IndoaXRlIi8+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY5IiB5PSI4Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSAwIDguNzUpIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+Cjwvc3ZnPgo=", Qr = ({
|
|
1703
1703
|
close: i,
|
|
1704
1704
|
action: r,
|
|
1705
|
-
data: { icon: l, header: p, title:
|
|
1705
|
+
data: { icon: l, header: p, title: h, subtitle: g, graphicBg: M, sponsorLogo: a }
|
|
1706
1706
|
}) => /* @__PURE__ */ y(jr, { children: [
|
|
1707
1707
|
/* @__PURE__ */ o(Rr, { onClick: i, children: /* @__PURE__ */ o(Ur, { alt: "icon-close-onboarding-inapp", src: $r }) }),
|
|
1708
1708
|
/* @__PURE__ */ o(vr, { style: { backgroundImage: `url(${M || ""})` }, children: l && /* @__PURE__ */ o(xr, { alt: "onboarding-inapp-icon", src: l }) }),
|
|
@@ -1712,8 +1712,8 @@ const jr = /* @__PURE__ */ d("div")({
|
|
|
1712
1712
|
/* @__PURE__ */ o(kr, { alt: "sponsor-logo", src: a }),
|
|
1713
1713
|
/* @__PURE__ */ o(Sr, { children: "Presents" })
|
|
1714
1714
|
] }) : p || "" }),
|
|
1715
|
-
/* @__PURE__ */ o(br, { children:
|
|
1716
|
-
/* @__PURE__ */ o(Or, { children:
|
|
1715
|
+
/* @__PURE__ */ o(br, { children: h || "" }),
|
|
1716
|
+
/* @__PURE__ */ o(Or, { children: g || "" })
|
|
1717
1717
|
] }),
|
|
1718
1718
|
/* @__PURE__ */ o(Br, { onClick: r, children: "Play" })
|
|
1719
1719
|
] })
|
|
@@ -1730,7 +1730,7 @@ const Yr = /* @__PURE__ */ d("div")({
|
|
|
1730
1730
|
total: r,
|
|
1731
1731
|
...l
|
|
1732
1732
|
}) => {
|
|
1733
|
-
const p =
|
|
1733
|
+
const p = Nt(null), h = Zr[l.type] || Y1;
|
|
1734
1734
|
return de(() => {
|
|
1735
1735
|
p.current !== null && l.hiding && p.current.animate([{ right: "0" }, { right: "-100%" }], {
|
|
1736
1736
|
duration: 300,
|
|
@@ -1741,7 +1741,7 @@ const Yr = /* @__PURE__ */ d("div")({
|
|
|
1741
1741
|
{
|
|
1742
1742
|
ref: p,
|
|
1743
1743
|
style: { zIndex: i + 1, transform: `translateY(${100 * (r - i - 1)}%)` },
|
|
1744
|
-
children: /* @__PURE__ */ o(
|
|
1744
|
+
children: /* @__PURE__ */ o(h, { ...l })
|
|
1745
1745
|
}
|
|
1746
1746
|
);
|
|
1747
1747
|
};
|
|
@@ -1762,7 +1762,7 @@ const _r = /* @__PURE__ */ d("div")({
|
|
|
1762
1762
|
)) });
|
|
1763
1763
|
}, Gr = ({ store: i }) => {
|
|
1764
1764
|
const { data: r } = E(i);
|
|
1765
|
-
return r != null && r.summary ? /* @__PURE__ */ o(
|
|
1765
|
+
return r != null && r.summary ? /* @__PURE__ */ o(q1, { ...r.summary, ...r.percentage }) : /* @__PURE__ */ o("div", { children: "wait user..." });
|
|
1766
1766
|
}, Hr = ({ store: i, openQuestion: r }) => {
|
|
1767
1767
|
const l = E(i);
|
|
1768
1768
|
return l != null && l.data ? /* @__PURE__ */ o(H1, { openQuestion: r, questions: l.data }) : /* @__PURE__ */ o("div", { children: "wait questions..." });
|
|
@@ -1777,15 +1777,15 @@ const Fr = /* @__PURE__ */ d("div")({
|
|
|
1777
1777
|
vote: l
|
|
1778
1778
|
}) => {
|
|
1779
1779
|
var p;
|
|
1780
|
-
const [
|
|
1780
|
+
const [h, g] = b(!1);
|
|
1781
1781
|
re((I) => {
|
|
1782
|
-
|
|
1783
|
-
}, [
|
|
1782
|
+
g(I);
|
|
1783
|
+
}, [g]);
|
|
1784
1784
|
const M = J(() => i == null ? void 0 : i.answers.find((I) => I.youVoted === !0), [i]), a = J(() => !!(i != null && i.answers.find((I) => I.correct === !0)), [i]);
|
|
1785
1785
|
return i ? /* @__PURE__ */ o(Fr, {
|
|
1786
1786
|
children: /* @__PURE__ */ o("div", {
|
|
1787
1787
|
children: /* @__PURE__ */ o("div", {
|
|
1788
|
-
children: /* @__PURE__ */ o(
|
|
1788
|
+
children: /* @__PURE__ */ o(X1, {
|
|
1789
1789
|
title: i.subject,
|
|
1790
1790
|
feedbackMessages: (p = i.options) == null ? void 0 : p.options.value,
|
|
1791
1791
|
questionType: i.type,
|
|
@@ -1800,7 +1800,7 @@ const Fr = /* @__PURE__ */ d("div")({
|
|
|
1800
1800
|
correct: I.correct,
|
|
1801
1801
|
percentage: I.percentage,
|
|
1802
1802
|
answered: I.youVoted,
|
|
1803
|
-
disabled: !!M || i.marketClosed ||
|
|
1803
|
+
disabled: !!M || i.marketClosed || h,
|
|
1804
1804
|
questionAnswered: !!M,
|
|
1805
1805
|
hasCorrectAnswer: a,
|
|
1806
1806
|
points: I.points,
|
|
@@ -1918,7 +1918,7 @@ const h2 = /* @__PURE__ */ d("div")({
|
|
|
1918
1918
|
name: "l",
|
|
1919
1919
|
class: "l1csgeuk",
|
|
1920
1920
|
propsAsIs: !1
|
|
1921
|
-
}), A2 = ({ rank: i, avatar: r, name: l, points: p, openItemDetail:
|
|
1921
|
+
}), A2 = ({ rank: i, avatar: r, name: l, points: p, openItemDetail: h }) => /* @__PURE__ */ y(h2, { onClick: h, children: [
|
|
1922
1922
|
/* @__PURE__ */ o(g2, { children: i || 0 }),
|
|
1923
1923
|
r ? /* @__PURE__ */ o(M2, { alt: "leaderboard-item-avatar", src: r }) : /* @__PURE__ */ o(I2, { children: F1(l || "") }),
|
|
1924
1924
|
/* @__PURE__ */ y(m2, { children: [
|
|
@@ -1933,25 +1933,25 @@ const w2 = /* @__PURE__ */ d("div")({
|
|
|
1933
1933
|
name: "t",
|
|
1934
1934
|
class: "t1txmonn",
|
|
1935
1935
|
propsAsIs: !1
|
|
1936
|
-
}),
|
|
1936
|
+
}), K1 = ({ items: i, openItemDetail: r }) => /* @__PURE__ */ o(w2, { children: i.map((l) => /* @__PURE__ */ o(A2, { ...l, openItemDetail: () => r(l.userId) }, l.userId)) }), D2 = ({ store: i }) => {
|
|
1937
1937
|
const { data: r } = E(i), [l, p] = b(void 0);
|
|
1938
1938
|
if (!r)
|
|
1939
1939
|
return /* @__PURE__ */ o("div", { children: "wait leader board..." });
|
|
1940
|
-
const
|
|
1940
|
+
const h = (g) => {
|
|
1941
1941
|
var M;
|
|
1942
1942
|
const a = (M = r.find((I) => {
|
|
1943
|
-
var
|
|
1944
|
-
return ((
|
|
1943
|
+
var f;
|
|
1944
|
+
return ((f = I.attributes) == null ? void 0 : f.userId) === g;
|
|
1945
1945
|
})) == null ? void 0 : M.attributes;
|
|
1946
1946
|
p(a);
|
|
1947
1947
|
};
|
|
1948
1948
|
return /* @__PURE__ */ y(W, { children: [
|
|
1949
|
-
l && /* @__PURE__ */ o(V1, { comeBack: () =>
|
|
1949
|
+
l && /* @__PURE__ */ o(V1, { comeBack: () => h(null), ...l }),
|
|
1950
1950
|
!l && /* @__PURE__ */ o(
|
|
1951
|
-
|
|
1951
|
+
K1,
|
|
1952
1952
|
{
|
|
1953
|
-
items: r.filter((
|
|
1954
|
-
openItemDetail:
|
|
1953
|
+
items: r.filter((g) => g.attributes).map((g) => g.attributes),
|
|
1954
|
+
openItemDetail: h
|
|
1955
1955
|
}
|
|
1956
1956
|
)
|
|
1957
1957
|
] });
|
|
@@ -1980,7 +1980,7 @@ const le = /* @__PURE__ */ d("div")({
|
|
|
1980
1980
|
gamification: i,
|
|
1981
1981
|
sdk: r
|
|
1982
1982
|
}) => {
|
|
1983
|
-
var l, p,
|
|
1983
|
+
var l, p, h, g, M, a, I, f, N, w, D, L, k, O, B, R, ee, P, we, _, ye, Ne, De;
|
|
1984
1984
|
const Re = E(i.status), Ue = E(i.onboardingStatus), Ee = E(i.openedQuestion), { slStreamId: ue } = E(r.sdkStore), $ = E(i.featureSettings), [pe, Te] = b(ie.HOME);
|
|
1985
1985
|
if (Re !== Z.Ready)
|
|
1986
1986
|
return /* @__PURE__ */ o("div", { children: "wait..." });
|
|
@@ -1990,14 +1990,14 @@ const le = /* @__PURE__ */ d("div")({
|
|
|
1990
1990
|
return /* @__PURE__ */ o(le, { children: /* @__PURE__ */ o("div", { children: "Event is forbidden" }) });
|
|
1991
1991
|
if (!Ue)
|
|
1992
1992
|
return /* @__PURE__ */ o(le, { children: /* @__PURE__ */ o(
|
|
1993
|
-
|
|
1993
|
+
Bi,
|
|
1994
1994
|
{
|
|
1995
1995
|
closeFeature: r.closeFeature,
|
|
1996
1996
|
gamification: i,
|
|
1997
1997
|
steps: (p = (l = $.inplayGame) == null ? void 0 : l.onboarding) == null ? void 0 : p.steps,
|
|
1998
|
-
gameIcon: (M = (
|
|
1999
|
-
sponsorLogo: (
|
|
2000
|
-
rules: (w = (
|
|
1998
|
+
gameIcon: (M = (g = (h = $.inplayGame) == null ? void 0 : h.overview) == null ? void 0 : g.media) == null ? void 0 : M.gameIcon,
|
|
1999
|
+
sponsorLogo: (f = (I = (a = $.inplayGame) == null ? void 0 : a.overview) == null ? void 0 : I.media) == null ? void 0 : f.sponsorLogo,
|
|
2000
|
+
rules: (w = (N = $.inplayGame) == null ? void 0 : N.rules) == null ? void 0 : w.rules,
|
|
2001
2001
|
rulesBtnLabel: (L = (D = $.inplayGame) == null ? void 0 : D.rules) == null ? void 0 : L.buttonLabel,
|
|
2002
2002
|
rulesTitle: (O = (k = $.inplayGame) == null ? void 0 : k.rules) == null ? void 0 : O.heading,
|
|
2003
2003
|
primaryColor: (ee = (R = (B = $.inplayGame) == null ? void 0 : B.overview) == null ? void 0 : R.appearance) == null ? void 0 : ee.primaryColor,
|
|
@@ -2037,13 +2037,13 @@ const le = /* @__PURE__ */ d("div")({
|
|
|
2037
2037
|
default:
|
|
2038
2038
|
return null;
|
|
2039
2039
|
}
|
|
2040
|
-
}, z2 = ({ title: i, image: r, questionId: l, imageMode: p, openInsight:
|
|
2040
|
+
}, z2 = ({ title: i, image: r, questionId: l, imageMode: p, openInsight: h }) => /* @__PURE__ */ y(qr, { onClick: () => h(l), children: [
|
|
2041
2041
|
/* @__PURE__ */ o(Xr, { children: r && x2(p, r) }),
|
|
2042
2042
|
/* @__PURE__ */ y(Jr, { children: [
|
|
2043
2043
|
/* @__PURE__ */ o(i2, { children: i || "" }),
|
|
2044
2044
|
/* @__PURE__ */ o(n2, { alt: "next-icon", src: v2 })
|
|
2045
2045
|
] })
|
|
2046
|
-
] }), k2 = ({ insights: i, openInsight: r }) => /* @__PURE__ */ o(r2, { children: /* @__PURE__ */ o(s2, { children: i == null ? void 0 : i.map((l) => /* @__PURE__ */ o(z2, { openInsight: r, ...l }, l.questionId)) }) }),
|
|
2046
|
+
] }), k2 = ({ insights: i, openInsight: r }) => /* @__PURE__ */ o(r2, { children: /* @__PURE__ */ o(s2, { children: i == null ? void 0 : i.map((l) => /* @__PURE__ */ o(z2, { openInsight: r, ...l }, l.questionId)) }) }), et = ({ highlights: i, store: r }) => {
|
|
2047
2047
|
const { data: l } = E(r);
|
|
2048
2048
|
return l ? /* @__PURE__ */ o(k2, { insights: l, openInsight: i.openHighlight }) : /* @__PURE__ */ o("div", { children: "wait insights..." });
|
|
2049
2049
|
}, S2 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBjbGFzcz0ic2MtQU5kc04ga1RWV0pFIj48cGF0aCBkPSJNNi42NjY1IDMuMTY2NjlINC45OTk4NEM0LjI2MzQ2IDMuMTY2NjkgMy42NjY1IDMuNzYzNjQgMy42NjY1IDQuNTAwMDJWMTEuNUMzLjY2NjUgMTIuMjM2NCA0LjI2MzQ2IDEyLjgzMzQgNC45OTk4NCAxMi44MzM0SDExLjk5OThDMTIuNzM2MiAxMi44MzM0IDEzLjMzMzIgMTIuMjM2NCAxMy4zMzMyIDExLjVWOS44MzMzNSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTTEzLjMzMzUgNi4xNjY2OVYzLjE2NjY5SDEwLjMzMzUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjxwYXRoIGQ9Ik0xMy4xNjY4IDMuMzMzMzFMOC4zMzM1IDguMTY2NjUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjwvc3ZnPgo=", b2 = ({
|
|
@@ -2051,34 +2051,34 @@ const le = /* @__PURE__ */ d("div")({
|
|
|
2051
2051
|
title: r,
|
|
2052
2052
|
description: l,
|
|
2053
2053
|
webLinkLabel: p,
|
|
2054
|
-
webLink:
|
|
2055
|
-
closeHighlights:
|
|
2054
|
+
webLink: h,
|
|
2055
|
+
closeHighlights: g,
|
|
2056
2056
|
closeInsight: M
|
|
2057
2057
|
}) => /* @__PURE__ */ y(o2, { children: [
|
|
2058
|
-
/* @__PURE__ */ o(_1, { close:
|
|
2058
|
+
/* @__PURE__ */ o(_1, { close: g, comeBack: M }),
|
|
2059
2059
|
i && /* @__PURE__ */ o(l2, { alt: "detail-insight-image", src: i }),
|
|
2060
2060
|
/* @__PURE__ */ y(a2, { children: [
|
|
2061
2061
|
r && /* @__PURE__ */ o(c2, { children: r }),
|
|
2062
2062
|
l && /* @__PURE__ */ o(d2, { children: l })
|
|
2063
2063
|
] }),
|
|
2064
|
-
|
|
2064
|
+
h && p && /* @__PURE__ */ y(u2, { href: h, target: "_blank", children: [
|
|
2065
2065
|
p,
|
|
2066
2066
|
/* @__PURE__ */ o(p2, { alt: "link-icon", src: S2 })
|
|
2067
2067
|
] })
|
|
2068
|
-
] }),
|
|
2069
|
-
var p,
|
|
2068
|
+
] }), tt = ({ openedInsight: i, closeHighlights: r, closeInsight: l }) => {
|
|
2069
|
+
var p, h, g, M, a;
|
|
2070
2070
|
const I = ((p = i.options) == null ? void 0 : p.options.case) === "factoid" ? {
|
|
2071
2071
|
image: i.options.options.value.image,
|
|
2072
2072
|
body: i.options.options.value.body,
|
|
2073
|
-
webLink: (
|
|
2074
|
-
webLinkLabel: (
|
|
2075
|
-
} : {},
|
|
2073
|
+
webLink: (h = i.options.options.value.webLink) == null ? void 0 : h.url,
|
|
2074
|
+
webLinkLabel: (g = i.options.options.value.webLink) == null ? void 0 : g.label
|
|
2075
|
+
} : {}, f = i.subject || ((M = i.notification) == null ? void 0 : M.title), N = I.body || ((a = i.notification) == null ? void 0 : a.body);
|
|
2076
2076
|
return /* @__PURE__ */ o(
|
|
2077
2077
|
b2,
|
|
2078
2078
|
{
|
|
2079
2079
|
image: I.image,
|
|
2080
|
-
title:
|
|
2081
|
-
description:
|
|
2080
|
+
title: f,
|
|
2081
|
+
description: N,
|
|
2082
2082
|
webLink: I.webLink,
|
|
2083
2083
|
webLinkLabel: I.webLinkLabel,
|
|
2084
2084
|
closeInsight: l,
|
|
@@ -2086,11 +2086,11 @@ const le = /* @__PURE__ */ d("div")({
|
|
|
2086
2086
|
}
|
|
2087
2087
|
);
|
|
2088
2088
|
}, O2 = ({ highlights: i, sdk: r }) => {
|
|
2089
|
-
const l = E(i.status), p = E(i.openedInsight), { slStreamId:
|
|
2090
|
-
return l !== Z.Ready ? /* @__PURE__ */ o("div", { children: "wait..." }) :
|
|
2091
|
-
!p && /* @__PURE__ */ o(
|
|
2089
|
+
const l = E(i.status), p = E(i.openedInsight), { slStreamId: h } = E(r.sdkStore);
|
|
2090
|
+
return l !== Z.Ready ? /* @__PURE__ */ o("div", { children: "wait..." }) : h != null && h.loading ? /* @__PURE__ */ o(le, { children: /* @__PURE__ */ o("div", { children: "Event is loading" }) }) : h != null && h.data ? i.insights === void 0 ? /* @__PURE__ */ o("div", { children: "wait insights..." }) : /* @__PURE__ */ y(le, { children: [
|
|
2091
|
+
!p && /* @__PURE__ */ o(et, { highlights: i, store: i.insights.getStore() }),
|
|
2092
2092
|
p && /* @__PURE__ */ o(
|
|
2093
|
-
|
|
2093
|
+
tt,
|
|
2094
2094
|
{
|
|
2095
2095
|
openedInsight: p,
|
|
2096
2096
|
closeHighlights: i.closeFeature,
|
|
@@ -2099,7 +2099,7 @@ const le = /* @__PURE__ */ d("div")({
|
|
|
2099
2099
|
)
|
|
2100
2100
|
] }) : /* @__PURE__ */ o(le, { children: /* @__PURE__ */ o("div", { children: "Event is forbidden" }) });
|
|
2101
2101
|
};
|
|
2102
|
-
var B2 = {},
|
|
2102
|
+
var B2 = {}, it = {}, Oe = {};
|
|
2103
2103
|
Oe.byteLength = $2;
|
|
2104
2104
|
Oe.toByteArray = Y2;
|
|
2105
2105
|
Oe.fromByteArray = _2;
|
|
@@ -2108,7 +2108,7 @@ for (var Ie = 0, U2 = Ke.length; Ie < U2; ++Ie)
|
|
|
2108
2108
|
F[Ie] = Ke[Ie], Q[Ke.charCodeAt(Ie)] = Ie;
|
|
2109
2109
|
Q["-".charCodeAt(0)] = 62;
|
|
2110
2110
|
Q["_".charCodeAt(0)] = 63;
|
|
2111
|
-
function
|
|
2111
|
+
function nt(i) {
|
|
2112
2112
|
var r = i.length;
|
|
2113
2113
|
if (r % 4 > 0)
|
|
2114
2114
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
@@ -2118,57 +2118,57 @@ function it(i) {
|
|
|
2118
2118
|
return [l, p];
|
|
2119
2119
|
}
|
|
2120
2120
|
function $2(i) {
|
|
2121
|
-
var r =
|
|
2121
|
+
var r = nt(i), l = r[0], p = r[1];
|
|
2122
2122
|
return (l + p) * 3 / 4 - p;
|
|
2123
2123
|
}
|
|
2124
2124
|
function Q2(i, r, l) {
|
|
2125
2125
|
return (r + l) * 3 / 4 - l;
|
|
2126
2126
|
}
|
|
2127
2127
|
function Y2(i) {
|
|
2128
|
-
var r, l =
|
|
2128
|
+
var r, l = nt(i), p = l[0], h = l[1], g = new R2(Q2(i, p, h)), M = 0, a = h > 0 ? p - 4 : p, I;
|
|
2129
2129
|
for (I = 0; I < a; I += 4)
|
|
2130
|
-
r = Q[i.charCodeAt(I)] << 18 | Q[i.charCodeAt(I + 1)] << 12 | Q[i.charCodeAt(I + 2)] << 6 | Q[i.charCodeAt(I + 3)],
|
|
2131
|
-
return
|
|
2130
|
+
r = Q[i.charCodeAt(I)] << 18 | Q[i.charCodeAt(I + 1)] << 12 | Q[i.charCodeAt(I + 2)] << 6 | Q[i.charCodeAt(I + 3)], g[M++] = r >> 16 & 255, g[M++] = r >> 8 & 255, g[M++] = r & 255;
|
|
2131
|
+
return h === 2 && (r = Q[i.charCodeAt(I)] << 2 | Q[i.charCodeAt(I + 1)] >> 4, g[M++] = r & 255), h === 1 && (r = Q[i.charCodeAt(I)] << 10 | Q[i.charCodeAt(I + 1)] << 4 | Q[i.charCodeAt(I + 2)] >> 2, g[M++] = r >> 8 & 255, g[M++] = r & 255), g;
|
|
2132
2132
|
}
|
|
2133
2133
|
function Z2(i) {
|
|
2134
2134
|
return F[i >> 18 & 63] + F[i >> 12 & 63] + F[i >> 6 & 63] + F[i & 63];
|
|
2135
2135
|
}
|
|
2136
2136
|
function P2(i, r, l) {
|
|
2137
|
-
for (var p,
|
|
2138
|
-
p = (i[
|
|
2139
|
-
return
|
|
2137
|
+
for (var p, h = [], g = r; g < l; g += 3)
|
|
2138
|
+
p = (i[g] << 16 & 16711680) + (i[g + 1] << 8 & 65280) + (i[g + 2] & 255), h.push(Z2(p));
|
|
2139
|
+
return h.join("");
|
|
2140
2140
|
}
|
|
2141
2141
|
function _2(i) {
|
|
2142
|
-
for (var r, l = i.length, p = l % 3,
|
|
2143
|
-
|
|
2144
|
-
return p === 1 ? (r = i[l - 1],
|
|
2142
|
+
for (var r, l = i.length, p = l % 3, h = [], g = 16383, M = 0, a = l - p; M < a; M += g)
|
|
2143
|
+
h.push(P2(i, M, M + g > a ? a : M + g));
|
|
2144
|
+
return p === 1 ? (r = i[l - 1], h.push(
|
|
2145
2145
|
F[r >> 2] + F[r << 4 & 63] + "=="
|
|
2146
|
-
)) : p === 2 && (r = (i[l - 2] << 8) + i[l - 1],
|
|
2146
|
+
)) : p === 2 && (r = (i[l - 2] << 8) + i[l - 1], h.push(
|
|
2147
2147
|
F[r >> 10] + F[r >> 4 & 63] + F[r << 2 & 63] + "="
|
|
2148
|
-
)),
|
|
2148
|
+
)), h.join("");
|
|
2149
2149
|
}
|
|
2150
2150
|
var c1 = {};
|
|
2151
2151
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2152
|
-
c1.read = function(i, r, l, p,
|
|
2153
|
-
var
|
|
2154
|
-
for (w += D,
|
|
2152
|
+
c1.read = function(i, r, l, p, h) {
|
|
2153
|
+
var g, M, a = h * 8 - p - 1, I = (1 << a) - 1, f = I >> 1, N = -7, w = l ? h - 1 : 0, D = l ? -1 : 1, L = i[r + w];
|
|
2154
|
+
for (w += D, g = L & (1 << -N) - 1, L >>= -N, N += a; N > 0; g = g * 256 + i[r + w], w += D, N -= 8)
|
|
2155
2155
|
;
|
|
2156
|
-
for (M =
|
|
2156
|
+
for (M = g & (1 << -N) - 1, g >>= -N, N += p; N > 0; M = M * 256 + i[r + w], w += D, N -= 8)
|
|
2157
2157
|
;
|
|
2158
|
-
if (
|
|
2159
|
-
|
|
2158
|
+
if (g === 0)
|
|
2159
|
+
g = 1 - f;
|
|
2160
2160
|
else {
|
|
2161
|
-
if (
|
|
2161
|
+
if (g === I)
|
|
2162
2162
|
return M ? NaN : (L ? -1 : 1) * (1 / 0);
|
|
2163
|
-
M = M + Math.pow(2, p),
|
|
2163
|
+
M = M + Math.pow(2, p), g = g - f;
|
|
2164
2164
|
}
|
|
2165
|
-
return (L ? -1 : 1) * M * Math.pow(2,
|
|
2165
|
+
return (L ? -1 : 1) * M * Math.pow(2, g - p);
|
|
2166
2166
|
};
|
|
2167
|
-
c1.write = function(i, r, l, p,
|
|
2168
|
-
var M, a, I,
|
|
2169
|
-
for (r = Math.abs(r), isNaN(r) || r === 1 / 0 ? (a = isNaN(r) ? 1 : 0, M =
|
|
2167
|
+
c1.write = function(i, r, l, p, h, g) {
|
|
2168
|
+
var M, a, I, f = g * 8 - h - 1, N = (1 << f) - 1, w = N >> 1, D = h === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, L = p ? 0 : g - 1, k = p ? 1 : -1, O = r < 0 || r === 0 && 1 / r < 0 ? 1 : 0;
|
|
2169
|
+
for (r = Math.abs(r), isNaN(r) || r === 1 / 0 ? (a = isNaN(r) ? 1 : 0, M = N) : (M = Math.floor(Math.log(r) / Math.LN2), r * (I = Math.pow(2, -M)) < 1 && (M--, I *= 2), M + w >= 1 ? r += D / I : r += D * Math.pow(2, 1 - w), r * I >= 2 && (M++, I /= 2), M + w >= N ? (a = 0, M = N) : M + w >= 1 ? (a = (r * I - 1) * Math.pow(2, h), M = M + w) : (a = r * Math.pow(2, w - 1) * Math.pow(2, h), M = 0)); h >= 8; i[l + L] = a & 255, L += k, a /= 256, h -= 8)
|
|
2170
2170
|
;
|
|
2171
|
-
for (M = M <<
|
|
2171
|
+
for (M = M << h | a, f += h; f > 0; i[l + L] = M & 255, L += k, M /= 256, f -= 8)
|
|
2172
2172
|
;
|
|
2173
2173
|
i[l + L - k] |= O * 128;
|
|
2174
2174
|
};
|
|
@@ -2181,11 +2181,11 @@ c1.write = function(i, r, l, p, g, h) {
|
|
|
2181
2181
|
(function(i) {
|
|
2182
2182
|
const r = Oe, l = c1, p = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
|
|
2183
2183
|
i.Buffer = a, i.SlowBuffer = ee, i.INSPECT_MAX_BYTES = 50;
|
|
2184
|
-
const
|
|
2185
|
-
i.kMaxLength =
|
|
2184
|
+
const h = 2147483647;
|
|
2185
|
+
i.kMaxLength = h, a.TYPED_ARRAY_SUPPORT = g(), !a.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
|
|
2186
2186
|
"This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
|
|
2187
2187
|
);
|
|
2188
|
-
function
|
|
2188
|
+
function g() {
|
|
2189
2189
|
try {
|
|
2190
2190
|
const n = new Uint8Array(1), e = { foo: function() {
|
|
2191
2191
|
return 42;
|
|
@@ -2209,7 +2209,7 @@ c1.write = function(i, r, l, p, g, h) {
|
|
|
2209
2209
|
}
|
|
2210
2210
|
});
|
|
2211
2211
|
function M(n) {
|
|
2212
|
-
if (n >
|
|
2212
|
+
if (n > h)
|
|
2213
2213
|
throw new RangeError('The value "' + n + '" is invalid for option "size"');
|
|
2214
2214
|
const e = new Uint8Array(n);
|
|
2215
2215
|
return Object.setPrototypeOf(e, a.prototype), e;
|
|
@@ -2255,20 +2255,20 @@ c1.write = function(i, r, l, p, g, h) {
|
|
|
2255
2255
|
a.from = function(n, e, t) {
|
|
2256
2256
|
return I(n, e, t);
|
|
2257
2257
|
}, Object.setPrototypeOf(a.prototype, Uint8Array.prototype), Object.setPrototypeOf(a, Uint8Array);
|
|
2258
|
-
function
|
|
2258
|
+
function f(n) {
|
|
2259
2259
|
if (typeof n != "number")
|
|
2260
2260
|
throw new TypeError('"size" argument must be of type number');
|
|
2261
2261
|
if (n < 0)
|
|
2262
2262
|
throw new RangeError('The value "' + n + '" is invalid for option "size"');
|
|
2263
2263
|
}
|
|
2264
|
-
function
|
|
2265
|
-
return
|
|
2264
|
+
function N(n, e, t) {
|
|
2265
|
+
return f(n), n <= 0 ? M(n) : e !== void 0 ? typeof t == "string" ? M(n).fill(e, t) : M(n).fill(e) : M(n);
|
|
2266
2266
|
}
|
|
2267
2267
|
a.alloc = function(n, e, t) {
|
|
2268
|
-
return
|
|
2268
|
+
return N(n, e, t);
|
|
2269
2269
|
};
|
|
2270
2270
|
function w(n) {
|
|
2271
|
-
return
|
|
2271
|
+
return f(n), M(n < 0 ? 0 : R(n) | 0);
|
|
2272
2272
|
}
|
|
2273
2273
|
a.allocUnsafe = function(n) {
|
|
2274
2274
|
return w(n);
|
|
@@ -2315,8 +2315,8 @@ c1.write = function(i, r, l, p, g, h) {
|
|
|
2315
2315
|
return L(n.data);
|
|
2316
2316
|
}
|
|
2317
2317
|
function R(n) {
|
|
2318
|
-
if (n >=
|
|
2319
|
-
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" +
|
|
2318
|
+
if (n >= h)
|
|
2319
|
+
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + h.toString(16) + " bytes");
|
|
2320
2320
|
return n | 0;
|
|
2321
2321
|
}
|
|
2322
2322
|
function ee(n) {
|
|
@@ -2586,13 +2586,13 @@ c1.write = function(i, r, l, p, g, h) {
|
|
|
2586
2586
|
return Le(_e(e, n.length - t), n, t, s);
|
|
2587
2587
|
}
|
|
2588
2588
|
function Ue(n, e, t, s) {
|
|
2589
|
-
return Le(
|
|
2589
|
+
return Le(ht(e), n, t, s);
|
|
2590
2590
|
}
|
|
2591
2591
|
function Ee(n, e, t, s) {
|
|
2592
2592
|
return Le(C1(e), n, t, s);
|
|
2593
2593
|
}
|
|
2594
2594
|
function ue(n, e, t, s) {
|
|
2595
|
-
return Le(
|
|
2595
|
+
return Le(gt(e, n.length - t), n, t, s);
|
|
2596
2596
|
}
|
|
2597
2597
|
a.prototype.write = function(e, t, s, c) {
|
|
2598
2598
|
if (t === void 0)
|
|
@@ -2701,7 +2701,7 @@ c1.write = function(i, r, l, p, g, h) {
|
|
|
2701
2701
|
(!e || e < 0) && (e = 0), (!t || t < 0 || t > s) && (t = s);
|
|
2702
2702
|
let c = "";
|
|
2703
2703
|
for (let u = e; u < t; ++u)
|
|
2704
|
-
c +=
|
|
2704
|
+
c += Mt[n[u]];
|
|
2705
2705
|
return c;
|
|
2706
2706
|
}
|
|
2707
2707
|
function Ze(n, e, t) {
|
|
@@ -3015,7 +3015,7 @@ c1.write = function(i, r, l, p, g, h) {
|
|
|
3015
3015
|
e = `_${n.slice(t - 3, t)}${e}`;
|
|
3016
3016
|
return `${n.slice(0, t)}${e}`;
|
|
3017
3017
|
}
|
|
3018
|
-
function
|
|
3018
|
+
function dt(n, e, t) {
|
|
3019
3019
|
ge(e, "offset"), (n[e] === void 0 || n[e + t] === void 0) && fe(e, n.length - (t + 1));
|
|
3020
3020
|
}
|
|
3021
3021
|
function m1(n, e, t, s, c, u) {
|
|
@@ -3024,7 +3024,7 @@ c1.write = function(i, r, l, p, g, h) {
|
|
|
3024
3024
|
let A;
|
|
3025
3025
|
throw u > 3 ? e === 0 || e === BigInt(0) ? A = `>= 0${m} and < 2${m} ** ${(u + 1) * 8}${m}` : A = `>= -(2${m} ** ${(u + 1) * 8 - 1}${m}) and < 2 ** ${(u + 1) * 8 - 1}${m}` : A = `>= ${e}${m} and <= ${t}${m}`, new he.ERR_OUT_OF_RANGE("value", A, n);
|
|
3026
3026
|
}
|
|
3027
|
-
|
|
3027
|
+
dt(s, c, u);
|
|
3028
3028
|
}
|
|
3029
3029
|
function ge(n, e) {
|
|
3030
3030
|
if (typeof n != "number")
|
|
@@ -3037,9 +3037,9 @@ c1.write = function(i, r, l, p, g, h) {
|
|
|
3037
3037
|
n
|
|
3038
3038
|
);
|
|
3039
3039
|
}
|
|
3040
|
-
const
|
|
3041
|
-
function
|
|
3042
|
-
if (n = n.split("=")[0], n = n.trim().replace(
|
|
3040
|
+
const ut = /[^+/0-9A-Za-z-_]/g;
|
|
3041
|
+
function pt(n) {
|
|
3042
|
+
if (n = n.split("=")[0], n = n.trim().replace(ut, ""), n.length < 2)
|
|
3043
3043
|
return "";
|
|
3044
3044
|
for (; n.length % 4 !== 0; )
|
|
3045
3045
|
n = n + "=";
|
|
@@ -3104,13 +3104,13 @@ c1.write = function(i, r, l, p, g, h) {
|
|
|
3104
3104
|
}
|
|
3105
3105
|
return u;
|
|
3106
3106
|
}
|
|
3107
|
-
function
|
|
3107
|
+
function ht(n) {
|
|
3108
3108
|
const e = [];
|
|
3109
3109
|
for (let t = 0; t < n.length; ++t)
|
|
3110
3110
|
e.push(n.charCodeAt(t) & 255);
|
|
3111
3111
|
return e;
|
|
3112
3112
|
}
|
|
3113
|
-
function
|
|
3113
|
+
function gt(n, e) {
|
|
3114
3114
|
let t, s, c;
|
|
3115
3115
|
const u = [];
|
|
3116
3116
|
for (let m = 0; m < n.length && !((e -= 2) < 0); ++m)
|
|
@@ -3118,7 +3118,7 @@ c1.write = function(i, r, l, p, g, h) {
|
|
|
3118
3118
|
return u;
|
|
3119
3119
|
}
|
|
3120
3120
|
function C1(n) {
|
|
3121
|
-
return r.toByteArray(
|
|
3121
|
+
return r.toByteArray(pt(n));
|
|
3122
3122
|
}
|
|
3123
3123
|
function Le(n, e, t, s) {
|
|
3124
3124
|
let c;
|
|
@@ -3132,7 +3132,7 @@ c1.write = function(i, r, l, p, g, h) {
|
|
|
3132
3132
|
function Ve(n) {
|
|
3133
3133
|
return n !== n;
|
|
3134
3134
|
}
|
|
3135
|
-
const
|
|
3135
|
+
const Mt = function() {
|
|
3136
3136
|
const n = "0123456789abcdef", e = new Array(256);
|
|
3137
3137
|
for (let t = 0; t < 16; ++t) {
|
|
3138
3138
|
const s = t * 16;
|
|
@@ -3142,13 +3142,13 @@ c1.write = function(i, r, l, p, g, h) {
|
|
|
3142
3142
|
return e;
|
|
3143
3143
|
}();
|
|
3144
3144
|
function te(n) {
|
|
3145
|
-
return typeof BigInt > "u" ?
|
|
3145
|
+
return typeof BigInt > "u" ? It : n;
|
|
3146
3146
|
}
|
|
3147
|
-
function
|
|
3147
|
+
function It() {
|
|
3148
3148
|
throw new Error("BigInt not supported");
|
|
3149
3149
|
}
|
|
3150
|
-
})(
|
|
3151
|
-
var
|
|
3150
|
+
})(it);
|
|
3151
|
+
var rt = { exports: {} }, z = rt.exports = {}, G, H;
|
|
3152
3152
|
function t1() {
|
|
3153
3153
|
throw new Error("setTimeout has not been defined");
|
|
3154
3154
|
}
|
|
@@ -3167,7 +3167,7 @@ function i1() {
|
|
|
3167
3167
|
H = i1;
|
|
3168
3168
|
}
|
|
3169
3169
|
})();
|
|
3170
|
-
function
|
|
3170
|
+
function st(i) {
|
|
3171
3171
|
if (G === setTimeout)
|
|
3172
3172
|
return setTimeout(i, 0);
|
|
3173
3173
|
if ((G === t1 || !G) && setTimeout)
|
|
@@ -3199,11 +3199,11 @@ function V2(i) {
|
|
|
3199
3199
|
}
|
|
3200
3200
|
var q = [], me = !1, ae, ke = -1;
|
|
3201
3201
|
function G2() {
|
|
3202
|
-
!me || !ae || (me = !1, ae.length ? q = ae.concat(q) : ke = -1, q.length &&
|
|
3202
|
+
!me || !ae || (me = !1, ae.length ? q = ae.concat(q) : ke = -1, q.length && ot());
|
|
3203
3203
|
}
|
|
3204
|
-
function
|
|
3204
|
+
function ot() {
|
|
3205
3205
|
if (!me) {
|
|
3206
|
-
var i =
|
|
3206
|
+
var i = st(G2);
|
|
3207
3207
|
me = !0;
|
|
3208
3208
|
for (var r = q.length; r; ) {
|
|
3209
3209
|
for (ae = q, q = []; ++ke < r; )
|
|
@@ -3218,12 +3218,12 @@ z.nextTick = function(i) {
|
|
|
3218
3218
|
if (arguments.length > 1)
|
|
3219
3219
|
for (var l = 1; l < arguments.length; l++)
|
|
3220
3220
|
r[l - 1] = arguments[l];
|
|
3221
|
-
q.push(new
|
|
3221
|
+
q.push(new lt(i, r)), q.length === 1 && !me && st(ot);
|
|
3222
3222
|
};
|
|
3223
|
-
function
|
|
3223
|
+
function lt(i, r) {
|
|
3224
3224
|
this.fun = i, this.array = r;
|
|
3225
3225
|
}
|
|
3226
|
-
|
|
3226
|
+
lt.prototype.run = function() {
|
|
3227
3227
|
this.fun.apply(null, this.array);
|
|
3228
3228
|
};
|
|
3229
3229
|
z.title = "browser";
|
|
@@ -3258,11 +3258,11 @@ z.chdir = function(i) {
|
|
|
3258
3258
|
z.umask = function() {
|
|
3259
3259
|
return 0;
|
|
3260
3260
|
};
|
|
3261
|
-
var H2 =
|
|
3261
|
+
var H2 = rt.exports;
|
|
3262
3262
|
(function(i) {
|
|
3263
3263
|
Object.defineProperty(i, Symbol.toStringTag, { value: "Module" });
|
|
3264
|
-
const r =
|
|
3265
|
-
Object.defineProperty(i, "Buffer", { enumerable: !0, get: () => r.Buffer }), Object.defineProperty(i, "process", { enumerable: !0, get: () =>
|
|
3264
|
+
const r = it, l = H2, p = (M) => M && M.__esModule ? M : { default: M }, h = p(l), g = globalThis || void 0 || self;
|
|
3265
|
+
Object.defineProperty(i, "Buffer", { enumerable: !0, get: () => r.Buffer }), Object.defineProperty(i, "process", { enumerable: !0, get: () => h.default }), i.global = g;
|
|
3266
3266
|
})(B2);
|
|
3267
3267
|
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
3268
3268
|
var B1;
|
|
@@ -3279,7 +3279,7 @@ var U1;
|
|
|
3279
3279
|
(function(i) {
|
|
3280
3280
|
i.Init = "init", i.Ready = "ready", i.Connecting = "connecting", i.Connected = "connected", i.Disconnected = "disconnected", i.Failed = "failed", i.Reconnecting = "reconnecting";
|
|
3281
3281
|
})(U1 || (U1 = {}));
|
|
3282
|
-
const F2 = ({ sdk: i }) => E(i.getUserStore()).data ? /* @__PURE__ */ o("button", { onClick: i.logout, children: "logout" }) : /* @__PURE__ */ o(
|
|
3282
|
+
const F2 = ({ sdk: i }) => E(i.getUserStore()).data ? /* @__PURE__ */ o("button", { onClick: i.logout, children: "logout" }) : /* @__PURE__ */ o(ri, { login: async (r) => {
|
|
3283
3283
|
try {
|
|
3284
3284
|
await i.authorizationBypass("streamlayer:streamlayer", r);
|
|
3285
3285
|
} catch (l) {
|
|
@@ -3287,7 +3287,7 @@ const F2 = ({ sdk: i }) => E(i.getUserStore()).data ? /* @__PURE__ */ o("button"
|
|
|
3287
3287
|
}
|
|
3288
3288
|
}, anonymousLogin: i.anonymousAuthorization, host: i.host });
|
|
3289
3289
|
var W2 = Object.defineProperty, q2 = (i, r, l) => r in i ? W2(i, r, { enumerable: !0, configurable: !0, writable: !0, value: l }) : i[r] = l, oe = (i, r, l) => (q2(i, typeof r != "symbol" ? r + "" : r, l), l);
|
|
3290
|
-
let J2 = class extends
|
|
3290
|
+
let J2 = class extends Ct {
|
|
3291
3291
|
constructor() {
|
|
3292
3292
|
super("user"), oe(this, "setSchema", (r) => {
|
|
3293
3293
|
this.write("schema", r);
|
|
@@ -3314,23 +3314,23 @@ let J2 = class extends mt {
|
|
|
3314
3314
|
};
|
|
3315
3315
|
new J2();
|
|
3316
3316
|
const X2 = ({ activeFeature: i, sdk: r }) => {
|
|
3317
|
-
const [l, p] = b(null), { organizationSettings:
|
|
3318
|
-
const I = (
|
|
3317
|
+
const [l, p] = b(null), { organizationSettings: h, streamSettings: g } = E(r.sdkStore), M = J(() => {
|
|
3318
|
+
const I = (g == null ? void 0 : g.data) || (h == null ? void 0 : h.data);
|
|
3319
3319
|
return I != null && I.overlays ? I.overlays : [];
|
|
3320
|
-
}, [
|
|
3320
|
+
}, [h, g]);
|
|
3321
3321
|
de(() => {
|
|
3322
3322
|
const I = r.getFeatures();
|
|
3323
3323
|
if (i)
|
|
3324
|
-
for (const [
|
|
3325
|
-
|
|
3324
|
+
for (const [f, N] of I)
|
|
3325
|
+
f === i ? N.status.get() === Z.Suspended && (N.enable(), p(N)) : N.status.get() === Z.Ready && N.disable();
|
|
3326
3326
|
else {
|
|
3327
|
-
for (const [,
|
|
3328
|
-
|
|
3327
|
+
for (const [, f] of I)
|
|
3328
|
+
f.status.get() === Z.Ready && f.disable();
|
|
3329
3329
|
p(null);
|
|
3330
3330
|
}
|
|
3331
3331
|
return () => {
|
|
3332
|
-
for (const [,
|
|
3333
|
-
|
|
3332
|
+
for (const [, f] of I)
|
|
3333
|
+
f.status.get() === Z.Ready && f.disable();
|
|
3334
3334
|
};
|
|
3335
3335
|
}, [i, r]);
|
|
3336
3336
|
const a = J(() => l ? l.featureConfig.get().type === Ce.GAMES ? l ? /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(j2, { gamification: l, sdk: r }) }) : /* @__PURE__ */ o("div", { children: "wait gamification..." }) : l.featureConfig.get().type === Ce.HIGHLIGHTS ? l ? /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(O2, { highlights: l, sdk: r }) }) : /* @__PURE__ */ o("div", { children: "wait highlights..." }) : /* @__PURE__ */ o("div", { children: "unknown feature" }) : null, [r, l]);
|
|
@@ -3342,7 +3342,7 @@ const X2 = ({ activeFeature: i, sdk: r }) => {
|
|
|
3342
3342
|
Xe,
|
|
3343
3343
|
{
|
|
3344
3344
|
onClick: () => r.openFeature(I.type),
|
|
3345
|
-
disabled: !(I.type in
|
|
3345
|
+
disabled: !(I.type in yt),
|
|
3346
3346
|
"data-enable_sdk_button": I.enableSdkButton.toString(),
|
|
3347
3347
|
"data-selected": I.type === i,
|
|
3348
3348
|
children: [
|
|
@@ -3363,61 +3363,61 @@ const X2 = ({ activeFeature: i, sdk: r }) => {
|
|
|
3363
3363
|
] }) : /* @__PURE__ */ o(F2, { sdk: i }) : /* @__PURE__ */ o("div", { children: "wrong sdk key..." });
|
|
3364
3364
|
};
|
|
3365
3365
|
const es = () => X, ts = /* @__PURE__ */ d("div")({
|
|
3366
|
-
name: "
|
|
3367
|
-
class: "
|
|
3366
|
+
name: "l",
|
|
3367
|
+
class: "l4qld3l",
|
|
3368
3368
|
propsAsIs: !1
|
|
3369
3369
|
}), is = /* @__PURE__ */ d("div")({
|
|
3370
|
-
name: "
|
|
3371
|
-
class: "
|
|
3370
|
+
name: "x",
|
|
3371
|
+
class: "xinhtok",
|
|
3372
3372
|
propsAsIs: !1
|
|
3373
3373
|
}), ns = /* @__PURE__ */ d(es())({
|
|
3374
|
-
name: "
|
|
3375
|
-
class: "
|
|
3374
|
+
name: "a",
|
|
3375
|
+
class: "ak8yd5t",
|
|
3376
3376
|
propsAsIs: !0
|
|
3377
3377
|
}), rs = /* @__PURE__ */ d("div")({
|
|
3378
|
-
name: "
|
|
3379
|
-
class: "
|
|
3378
|
+
name: "h",
|
|
3379
|
+
class: "h6rf9gb",
|
|
3380
3380
|
propsAsIs: !1
|
|
3381
3381
|
}), ss = /* @__PURE__ */ d("div")({
|
|
3382
|
-
name: "
|
|
3383
|
-
class: "
|
|
3382
|
+
name: "c",
|
|
3383
|
+
class: "c18f5pxx",
|
|
3384
3384
|
propsAsIs: !1
|
|
3385
3385
|
}), os = /* @__PURE__ */ d("div")({
|
|
3386
|
-
name: "
|
|
3387
|
-
class: "
|
|
3386
|
+
name: "f",
|
|
3387
|
+
class: "f1jwsyj1",
|
|
3388
3388
|
propsAsIs: !1
|
|
3389
3389
|
}), ls = ({ points: i }) => /* @__PURE__ */ y(ts, { children: [
|
|
3390
3390
|
/* @__PURE__ */ o(is, { children: /* @__PURE__ */ o(ns, { name: "icon-trophy" }) }),
|
|
3391
3391
|
/* @__PURE__ */ y(rs, { children: [
|
|
3392
|
-
/* @__PURE__ */ o(ss, { children: "
|
|
3393
|
-
/* @__PURE__ */ o(os, { children: i
|
|
3392
|
+
/* @__PURE__ */ o(ss, { children: "Total points" }),
|
|
3393
|
+
/* @__PURE__ */ o(os, { children: W1(i) })
|
|
3394
3394
|
] })
|
|
3395
3395
|
] });
|
|
3396
|
-
const as = "fedqibx",
|
|
3397
|
-
const [
|
|
3396
|
+
const as = "fedqibx", at = ({ children: i, style: r }) => /* @__PURE__ */ o("div", { className: as, style: r, children: i }), cs = (i, r, l, p) => {
|
|
3397
|
+
const [h, g] = b(null);
|
|
3398
3398
|
return console.log("useStreamLayerApp", i, l), de(() => {
|
|
3399
3399
|
console.log("init sdk");
|
|
3400
3400
|
let M = !1;
|
|
3401
3401
|
if (!i)
|
|
3402
|
-
return console.error("streamlayer sdk key should be provided"),
|
|
3402
|
+
return console.error("streamlayer sdk key should be provided"), g((I) => (I !== null && typeof I.disableApp == "function" && I.disableApp(), null)), () => {
|
|
3403
3403
|
M = !0;
|
|
3404
3404
|
};
|
|
3405
|
-
const a =
|
|
3405
|
+
const a = Lt(i, l, p);
|
|
3406
3406
|
if (r)
|
|
3407
3407
|
for (const I of r)
|
|
3408
3408
|
a.use(I);
|
|
3409
3409
|
return console.log("start sdk"), a.ready().then((I) => {
|
|
3410
|
-
M || (console.log("sdk initialized"),
|
|
3410
|
+
M || (console.log("sdk initialized"), g(I.sdk));
|
|
3411
3411
|
}).catch((I) => console.log(I)), () => {
|
|
3412
3412
|
M = !0, a.close(function(I) {
|
|
3413
3413
|
if (I)
|
|
3414
3414
|
throw I;
|
|
3415
3415
|
});
|
|
3416
3416
|
};
|
|
3417
|
-
}, [i, l]),
|
|
3417
|
+
}, [i, l]), h;
|
|
3418
3418
|
};
|
|
3419
3419
|
var Se = /* @__PURE__ */ ((i) => (i[i.UNSET = 0] = "UNSET", i[i.CONNECTED = 1] = "CONNECTED", i[i.READY = 2] = "READY", i))(Se || {});
|
|
3420
|
-
const Be =
|
|
3420
|
+
const Be = ft({
|
|
3421
3421
|
status: 0,
|
|
3422
3422
|
sdk: null
|
|
3423
3423
|
}), k4 = ({
|
|
@@ -3425,14 +3425,14 @@ const Be = Nt({
|
|
|
3425
3425
|
plugins: r,
|
|
3426
3426
|
children: l,
|
|
3427
3427
|
production: p = !0,
|
|
3428
|
-
autoEnable:
|
|
3428
|
+
autoEnable: h = !0
|
|
3429
3429
|
}) => {
|
|
3430
|
-
const
|
|
3431
|
-
sdk:
|
|
3430
|
+
const g = cs(i, r, p, h), M = J(() => g ? {
|
|
3431
|
+
sdk: g,
|
|
3432
3432
|
status: 2
|
|
3433
3433
|
/* READY */
|
|
3434
|
-
} : { status: 1, sdk: null }, [
|
|
3435
|
-
return /* @__PURE__ */ o(
|
|
3434
|
+
} : { status: 1, sdk: null }, [g]);
|
|
3435
|
+
return /* @__PURE__ */ o(at, { children: /* @__PURE__ */ o(Be.Provider, { value: M, children: l }) });
|
|
3436
3436
|
}, ds = () => {
|
|
3437
3437
|
const { sdk: i } = r1(Be);
|
|
3438
3438
|
return i;
|
|
@@ -3457,10 +3457,10 @@ const hs = "n1w0z66i", $1 = ({
|
|
|
3457
3457
|
sdk: r,
|
|
3458
3458
|
children: l
|
|
3459
3459
|
}) => {
|
|
3460
|
-
const p = E(i.status), { slStreamId:
|
|
3461
|
-
return
|
|
3460
|
+
const p = E(i.status), { slStreamId: h } = E(r.sdkStore);
|
|
3461
|
+
return h != null && h.loading ? /* @__PURE__ */ o("div", { children: "event is loading..." }) : h != null && h.data ? p !== Z.Ready ? /* @__PURE__ */ o("div", { children: "wait feature..." }) : l : /* @__PURE__ */ o("div", { children: "event is forbidden..." });
|
|
3462
3462
|
};
|
|
3463
|
-
const gs = () =>
|
|
3463
|
+
const gs = () => ct, Ms = /* @__PURE__ */ d("div")({
|
|
3464
3464
|
name: "i",
|
|
3465
3465
|
class: "idhrx8x",
|
|
3466
3466
|
propsAsIs: !1
|
|
@@ -3468,7 +3468,7 @@ const gs = () => at, Ms = /* @__PURE__ */ d("div")({
|
|
|
3468
3468
|
name: "r",
|
|
3469
3469
|
class: "r1k6v4ep",
|
|
3470
3470
|
propsAsIs: !1
|
|
3471
|
-
}),
|
|
3471
|
+
}), ct = /* @__PURE__ */ d("div")({
|
|
3472
3472
|
name: "t",
|
|
3473
3473
|
class: "t1v8kucd",
|
|
3474
3474
|
propsAsIs: !1
|
|
@@ -3534,16 +3534,16 @@ const js = /* @__PURE__ */ d("div")({
|
|
|
3534
3534
|
vote: l
|
|
3535
3535
|
}) => {
|
|
3536
3536
|
var p;
|
|
3537
|
-
const [
|
|
3537
|
+
const [h, g] = b(!1);
|
|
3538
3538
|
re((I) => {
|
|
3539
|
-
|
|
3540
|
-
}, [
|
|
3539
|
+
g(I);
|
|
3540
|
+
}, [g]);
|
|
3541
3541
|
const M = J(() => i == null ? void 0 : i.answers.find((I) => I.youVoted === !0), [i]), a = J(() => !!(i != null && i.answers.find((I) => I.correct === !0)), [i]);
|
|
3542
3542
|
return /* @__PURE__ */ y(js, {
|
|
3543
3543
|
children: [/* @__PURE__ */ o(Ls, {
|
|
3544
3544
|
close: r,
|
|
3545
3545
|
type: (i == null ? void 0 : i.type) || Y.UNSET
|
|
3546
|
-
}), i && /* @__PURE__ */ o(
|
|
3546
|
+
}), i && /* @__PURE__ */ o(X1, {
|
|
3547
3547
|
title: i.subject,
|
|
3548
3548
|
feedbackMessages: (p = i.options) == null ? void 0 : p.options.value,
|
|
3549
3549
|
questionType: i.type,
|
|
@@ -3558,7 +3558,7 @@ const js = /* @__PURE__ */ d("div")({
|
|
|
3558
3558
|
correct: I.correct,
|
|
3559
3559
|
percentage: I.percentage,
|
|
3560
3560
|
answered: I.youVoted,
|
|
3561
|
-
disabled: !!M || i.marketClosed ||
|
|
3561
|
+
disabled: !!M || i.marketClosed || h,
|
|
3562
3562
|
questionAnswered: !!M,
|
|
3563
3563
|
hasCorrectAnswer: a,
|
|
3564
3564
|
points: I.points,
|
|
@@ -3567,23 +3567,23 @@ const js = /* @__PURE__ */ d("div")({
|
|
|
3567
3567
|
})]
|
|
3568
3568
|
});
|
|
3569
3569
|
}, xs = ({ store: i }) => {
|
|
3570
|
-
const { data: r } = E(i), [
|
|
3571
|
-
if (
|
|
3570
|
+
const { data: r = [], loading: l } = E(i), [p, h] = b(void 0);
|
|
3571
|
+
if (l)
|
|
3572
3572
|
return /* @__PURE__ */ o("div", { children: "wait leader board..." });
|
|
3573
|
-
const g = (
|
|
3574
|
-
var
|
|
3575
|
-
const
|
|
3573
|
+
const g = (M) => {
|
|
3574
|
+
var a;
|
|
3575
|
+
const I = (a = r.find((f) => {
|
|
3576
3576
|
var N;
|
|
3577
|
-
return ((N =
|
|
3578
|
-
})) == null ? void 0 :
|
|
3579
|
-
|
|
3577
|
+
return ((N = f.attributes) == null ? void 0 : N.userId) === M;
|
|
3578
|
+
})) == null ? void 0 : a.attributes;
|
|
3579
|
+
h(I);
|
|
3580
3580
|
};
|
|
3581
3581
|
return /* @__PURE__ */ y(W, { children: [
|
|
3582
|
-
|
|
3583
|
-
!
|
|
3584
|
-
|
|
3582
|
+
p && /* @__PURE__ */ o(V1, { comeBack: () => g(null), ...p }),
|
|
3583
|
+
!p && /* @__PURE__ */ o(
|
|
3584
|
+
K1,
|
|
3585
3585
|
{
|
|
3586
|
-
items: r.filter((
|
|
3586
|
+
items: r.filter((M) => M.attributes).map((M) => M.attributes),
|
|
3587
3587
|
openItemDetail: g
|
|
3588
3588
|
}
|
|
3589
3589
|
)
|
|
@@ -3593,7 +3593,7 @@ const js = /* @__PURE__ */ d("div")({
|
|
|
3593
3593
|
return l != null && l.data ? /* @__PURE__ */ o(H1, { openQuestion: r, questions: l.data }) : /* @__PURE__ */ o("div", { children: "wait questions..." });
|
|
3594
3594
|
}, ks = ({ store: i }) => {
|
|
3595
3595
|
const { data: r } = E(i);
|
|
3596
|
-
return r != null && r.summary ? /* @__PURE__ */ o(
|
|
3596
|
+
return r != null && r.summary ? /* @__PURE__ */ o(q1, { ...r.summary, ...r.percentage }) : /* @__PURE__ */ o("div", { children: "wait user..." });
|
|
3597
3597
|
}, Ss = ({ gamification: i }) => {
|
|
3598
3598
|
const [r, l] = b(ie.HOME);
|
|
3599
3599
|
return /* @__PURE__ */ y(W, { children: [
|
|
@@ -3601,7 +3601,7 @@ const js = /* @__PURE__ */ d("div")({
|
|
|
3601
3601
|
/* @__PURE__ */ o(P1, { activePage: r, toggleActivePage: l }),
|
|
3602
3602
|
r === ie.HOME && /* @__PURE__ */ o(ks, { store: i.userSummary.getStore() })
|
|
3603
3603
|
] }),
|
|
3604
|
-
r === ie.HOME && /* @__PURE__ */ o(
|
|
3604
|
+
r === ie.HOME && /* @__PURE__ */ o(ct, { children: /* @__PURE__ */ o(zs, { openQuestion: i.openQuestion, store: i.questions.getStore() }) }),
|
|
3605
3605
|
r === ie.LEADERBOARD && /* @__PURE__ */ o(xs, { store: i.leaderboardList.getStore() })
|
|
3606
3606
|
] });
|
|
3607
3607
|
};
|
|
@@ -3633,9 +3633,9 @@ const bs = () => Cs, Os = /* @__PURE__ */ d(bs())({
|
|
|
3633
3633
|
}, Rs = ({ highlights: i }) => {
|
|
3634
3634
|
const r = E(i.openedInsight);
|
|
3635
3635
|
return /* @__PURE__ */ y(W, { children: [
|
|
3636
|
-
!r && i.insights && /* @__PURE__ */ o(
|
|
3636
|
+
!r && i.insights && /* @__PURE__ */ o(et, { highlights: i, store: i.insights.getStore() }),
|
|
3637
3637
|
r && /* @__PURE__ */ o(
|
|
3638
|
-
|
|
3638
|
+
tt,
|
|
3639
3639
|
{
|
|
3640
3640
|
openedInsight: r,
|
|
3641
3641
|
closeHighlights: i.closeFeature,
|
|
@@ -3656,8 +3656,8 @@ const $s = /* @__PURE__ */ d("button")({
|
|
|
3656
3656
|
name: "a",
|
|
3657
3657
|
class: "aka8vam",
|
|
3658
3658
|
propsAsIs: !1
|
|
3659
|
-
}), d1 = ({ disabled: i, active: r, onClick: l, label: p, icon:
|
|
3660
|
-
|
|
3659
|
+
}), d1 = ({ disabled: i, active: r, onClick: l, label: p, icon: h }) => /* @__PURE__ */ o($s, { onClick: l, disabled: i, "data-selected": r, children: /* @__PURE__ */ y(W, { children: [
|
|
3660
|
+
h && /* @__PURE__ */ o(Qs, { children: h }),
|
|
3661
3661
|
/* @__PURE__ */ o(Ys, { children: p })
|
|
3662
3662
|
] }) });
|
|
3663
3663
|
const Zs = () => X, Ps = /* @__PURE__ */ d(Zs())({
|
|
@@ -3743,22 +3743,22 @@ const Ks = () => Xs, e4 = /* @__PURE__ */ d(Ks())({
|
|
|
3743
3743
|
}
|
|
3744
3744
|
)
|
|
3745
3745
|
] }), i4 = (i, r) => {
|
|
3746
|
-
const [l, p] = b(!1),
|
|
3746
|
+
const [l, p] = b(!1), h = E(i.status) === "ready", [g, M] = b(ce), a = re(
|
|
3747
3747
|
(I) => {
|
|
3748
3748
|
M(I), I === ce ? (i.createEventSession(r), i.openFeature(Ce.GAMES)) : i.closeFeature();
|
|
3749
3749
|
},
|
|
3750
3750
|
[r, i]
|
|
3751
3751
|
);
|
|
3752
3752
|
return de(() => {
|
|
3753
|
-
!
|
|
3754
|
-
}, [
|
|
3753
|
+
!h && g === ce && (M(Ae), i.closeFeature());
|
|
3754
|
+
}, [h, g, i]), {
|
|
3755
3755
|
sdkEnabled: l,
|
|
3756
|
-
sdkReady:
|
|
3757
|
-
activeOverlay:
|
|
3756
|
+
sdkReady: h,
|
|
3757
|
+
activeOverlay: g,
|
|
3758
3758
|
activateAndLoadOverlay: a,
|
|
3759
3759
|
enableSdk: () => {
|
|
3760
|
-
i.initializeApp().then(({ enabled: I, err:
|
|
3761
|
-
if (p(!0),
|
|
3760
|
+
i.initializeApp().then(({ enabled: I, err: f }) => {
|
|
3761
|
+
if (p(!0), f) {
|
|
3762
3762
|
a(Ae);
|
|
3763
3763
|
return;
|
|
3764
3764
|
}
|
|
@@ -3775,33 +3775,33 @@ const Ks = () => Xs, e4 = /* @__PURE__ */ d(Ks())({
|
|
|
3775
3775
|
}, n4 = (i) => {
|
|
3776
3776
|
const r = E(i.getActiveFeature()), [l, p] = b(null);
|
|
3777
3777
|
return de(() => {
|
|
3778
|
-
const
|
|
3778
|
+
const h = i.getFeatures();
|
|
3779
3779
|
if (r)
|
|
3780
|
-
for (const [
|
|
3781
|
-
|
|
3780
|
+
for (const [g, M] of h)
|
|
3781
|
+
g === r ? M.status.get() === Z.Suspended && (M.enable(), p(M)) : M.status.get() === Z.Ready && M.disable();
|
|
3782
3782
|
else {
|
|
3783
|
-
for (const [,
|
|
3784
|
-
|
|
3783
|
+
for (const [, g] of h)
|
|
3784
|
+
g.status.get() === Z.Ready && g.disable();
|
|
3785
3785
|
p(null);
|
|
3786
3786
|
}
|
|
3787
3787
|
return () => {
|
|
3788
|
-
for (const [,
|
|
3789
|
-
|
|
3788
|
+
for (const [, g] of h)
|
|
3789
|
+
g.status.get() === Z.Ready && g.disable();
|
|
3790
3790
|
};
|
|
3791
3791
|
}, [r, i]), [r, l];
|
|
3792
3792
|
}, r4 = ({ sdk: i }) => {
|
|
3793
3793
|
const [, r] = n4(i);
|
|
3794
3794
|
return /* @__PURE__ */ o(Us, { feature: r, sdk: i });
|
|
3795
3795
|
}, s4 = ({ sdk: i, overlays: r, children: l, event: p }) => {
|
|
3796
|
-
const { sdkEnabled:
|
|
3796
|
+
const { sdkEnabled: h, sdkReady: g, activeOverlay: M, activateAndLoadOverlay: a, enableSdk: I, disableSdk: f } = i4(
|
|
3797
3797
|
i,
|
|
3798
3798
|
p
|
|
3799
3799
|
);
|
|
3800
|
-
return /* @__PURE__ */ o(
|
|
3801
|
-
|
|
3800
|
+
return /* @__PURE__ */ o(at, { style: { height: "100%" }, children: /* @__PURE__ */ y(Ms, { className: hs, children: [
|
|
3801
|
+
h && /* @__PURE__ */ o(
|
|
3802
3802
|
t4,
|
|
3803
3803
|
{
|
|
3804
|
-
sdkReady:
|
|
3804
|
+
sdkReady: g,
|
|
3805
3805
|
activeOverlay: M,
|
|
3806
3806
|
setActiveOverlay: a
|
|
3807
3807
|
}
|
|
@@ -3809,24 +3809,24 @@ const Ks = () => Xs, e4 = /* @__PURE__ */ d(Ks())({
|
|
|
3809
3809
|
/* @__PURE__ */ o(
|
|
3810
3810
|
n1,
|
|
3811
3811
|
{
|
|
3812
|
-
"data-nav":
|
|
3813
|
-
style: { display: !
|
|
3814
|
-
children: l && l({ enableSdk: I, disableSdk:
|
|
3812
|
+
"data-nav": h.toString(),
|
|
3813
|
+
style: { display: !h || M === Ae ? "block" : "none" },
|
|
3814
|
+
children: l && l({ enableSdk: I, disableSdk: f })
|
|
3815
3815
|
}
|
|
3816
3816
|
),
|
|
3817
3817
|
/* @__PURE__ */ o(
|
|
3818
3818
|
n1,
|
|
3819
3819
|
{
|
|
3820
|
-
"data-nav":
|
|
3820
|
+
"data-nav": h.toString(),
|
|
3821
3821
|
style: { display: M === be ? "block" : "none" },
|
|
3822
3822
|
children: r && M === be && r[M]
|
|
3823
3823
|
}
|
|
3824
3824
|
),
|
|
3825
|
-
|
|
3825
|
+
h && M === ce && /* @__PURE__ */ o(r4, { sdk: i })
|
|
3826
3826
|
] }) });
|
|
3827
3827
|
}, O4 = ({ children: i, event: r, overlays: l }) => {
|
|
3828
|
-
const { sdk: p, status:
|
|
3829
|
-
if (
|
|
3828
|
+
const { sdk: p, status: h } = r1(Be);
|
|
3829
|
+
if (h === Se.UNSET)
|
|
3830
3830
|
throw new Error("Wrap app in `StreamLayerProvider`");
|
|
3831
3831
|
return p ? /* @__PURE__ */ o(s4, { sdk: p, event: r, overlays: l, children: i }) : i({});
|
|
3832
3832
|
};
|