@streamlayer/react 0.24.4 → 0.24.5
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 +1015 -987
- package/package.json +8 -8
package/lib/es/index.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import "@streamlayer/sdk-web-api";
|
|
2
2
|
import "@streamlayer/sdk-web-core";
|
|
3
|
-
import { QuestionType as Y, PickHistoryStatus as
|
|
3
|
+
import { QuestionType as Y, PickHistoryStatus as je, QuestionStatus as It, QuestionImages as Ge, FeatureType as Ce } from "@streamlayer/sdk-web-types";
|
|
4
4
|
import "@streamlayer/sdk-web-logger";
|
|
5
|
-
import "@streamlayer/sdk-web-storage";
|
|
6
|
-
import { AvailableFeatures as
|
|
5
|
+
import { Storage as mt } from "@streamlayer/sdk-web-storage";
|
|
6
|
+
import { AvailableFeatures as Ct } from "@streamlayer/sdk-web-features";
|
|
7
7
|
import { FeatureStatus as Z } from "@streamlayer/sdk-web-interfaces";
|
|
8
|
-
import { NotificationType as
|
|
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
|
-
import * as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { CountdownCircleTimer as
|
|
16
|
-
import { createPromiseClient as
|
|
17
|
-
import { createGrpcWebTransport as
|
|
18
|
-
import { Users as
|
|
11
|
+
import * as C from "react";
|
|
12
|
+
import ve, { useCallback as re, useState as b, useEffect as de, useRef as yt, useMemo as J, createContext as Nt, useContext as r1 } from "react";
|
|
13
|
+
import ft from "react-auth-code-input";
|
|
14
|
+
import At, { isValidPhoneNumber as wt, formatPhoneNumberIntl as Dt } from "react-phone-number-input";
|
|
15
|
+
import { CountdownCircleTimer as Et } from "react-countdown-circle-timer";
|
|
16
|
+
import { createPromiseClient as s1 } from "@connectrpc/connect";
|
|
17
|
+
import { createGrpcWebTransport as o1 } from "@connectrpc/connect-web";
|
|
18
|
+
import { Users as l1 } from "@streamlayer/sl-eslib/users/users_connect";
|
|
19
19
|
import { useStore as E } from "@nanostores/react";
|
|
20
20
|
import "@streamlayer/sl-eslib/interactive/interactive.common_pb";
|
|
21
21
|
import "@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb";
|
|
22
|
-
import { SdkOverlayType as
|
|
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
|
|
26
|
-
const
|
|
27
|
-
function
|
|
25
|
+
import { StreamLayer as Tt } from "@streamlayer/sdk-web";
|
|
26
|
+
const a1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSIxMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CiAgPHJlY3QgeD0iOC4yNSIgeT0iNyIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcpIiBmaWxsPSJ3aGl0ZSIvPgogIDxyZWN0IHg9IjciIHk9IjE1Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSA3IDE1Ljc1KSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";
|
|
27
|
+
function Lt(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 jt = /^((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__ */ Lt(
|
|
34
34
|
function(i) {
|
|
35
|
-
return
|
|
35
|
+
return jt.test(i) || i.charCodeAt(0) === 111 && i.charCodeAt(1) === 110 && i.charCodeAt(2) < 91;
|
|
36
36
|
}
|
|
37
37
|
/* Z+1 */
|
|
38
|
-
),
|
|
38
|
+
), vt = function() {
|
|
39
39
|
const r = Array.prototype.slice.call(arguments).filter(Boolean), l = {}, p = [];
|
|
40
40
|
r.forEach((h) => {
|
|
41
41
|
(h ? h.split(" ") : []).forEach((a) => {
|
|
@@ -50,51 +50,51 @@ var Lt = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
50
50
|
for (const h in l)
|
|
51
51
|
Object.prototype.hasOwnProperty.call(l, h) && g.push(l[h]);
|
|
52
52
|
return g.push(...p), g.join(" ");
|
|
53
|
-
},
|
|
53
|
+
}, N1 = vt, xt = (i) => i.toUpperCase() === i, zt = (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(zt(r)).forEach((p) => {
|
|
56
56
|
l[p] = i[p];
|
|
57
57
|
}), l;
|
|
58
58
|
};
|
|
59
|
-
function
|
|
60
|
-
const p =
|
|
59
|
+
function kt(i, r, l) {
|
|
60
|
+
const p = Q1(r, l);
|
|
61
61
|
if (!i) {
|
|
62
|
-
const g = typeof
|
|
62
|
+
const g = typeof He == "function" ? { default: He } : He;
|
|
63
63
|
Object.keys(p).forEach((h) => {
|
|
64
64
|
g.default(h) || delete p[h];
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
return p;
|
|
68
68
|
}
|
|
69
|
-
var
|
|
69
|
+
var St = (i, r) => {
|
|
70
70
|
};
|
|
71
|
-
function
|
|
71
|
+
function bt(i) {
|
|
72
72
|
let r = "";
|
|
73
73
|
return (l) => {
|
|
74
74
|
const p = (h, M) => {
|
|
75
|
-
const { as: a = i, class: I = r } = h, N = l.propsAsIs === void 0 ? !(typeof a == "string" && a.indexOf("-") === -1 && !
|
|
75
|
+
const { as: a = i, class: I = r } = h, N = l.propsAsIs === void 0 ? !(typeof a == "string" && a.indexOf("-") === -1 && !xt(a[0])) : l.propsAsIs, f = kt(N, h, [
|
|
76
76
|
"as",
|
|
77
77
|
"class"
|
|
78
78
|
]);
|
|
79
|
-
f.ref = M, f.className = l.atomic ?
|
|
79
|
+
f.ref = M, f.className = l.atomic ? N1(l.class, f.className || I) : N1(f.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
84
|
const B = w[O], R = B[0], ee = B[1] || "", P = typeof R == "function" ? R(h) : R;
|
|
85
|
-
|
|
85
|
+
St(P, l.name), D[`--${O}`] = `${P}${ee}`;
|
|
86
86
|
}
|
|
87
|
-
const
|
|
87
|
+
const L = f.style || {}, k = Object.keys(L);
|
|
88
88
|
k.length > 0 && k.forEach((O) => {
|
|
89
|
-
D[O] =
|
|
89
|
+
D[O] = L[O];
|
|
90
90
|
}), f.style = D;
|
|
91
91
|
}
|
|
92
|
-
return i.__linaria && i !== a ? (f.as = a,
|
|
93
|
-
}, g =
|
|
92
|
+
return i.__linaria && i !== a ? (f.as = a, ve.createElement(i, f)) : ve.createElement(a, f);
|
|
93
|
+
}, g = 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
96
|
(h) => {
|
|
97
|
-
const M =
|
|
97
|
+
const M = Q1(h, ["innerRef"]);
|
|
98
98
|
return p(M, h.innerRef);
|
|
99
99
|
}
|
|
100
100
|
);
|
|
@@ -104,58 +104,58 @@ function kt(i) {
|
|
|
104
104
|
}, g;
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
-
var d =
|
|
108
|
-
const
|
|
107
|
+
var d = bt;
|
|
108
|
+
const Ot = /* @__PURE__ */ d("div")({
|
|
109
109
|
name: "o",
|
|
110
110
|
class: "o1gwxd13",
|
|
111
111
|
propsAsIs: !1
|
|
112
|
-
}),
|
|
112
|
+
}), Bt = /* @__PURE__ */ d("div")({
|
|
113
113
|
name: "n",
|
|
114
114
|
class: "nsmzrlg",
|
|
115
115
|
propsAsIs: !1
|
|
116
|
-
}),
|
|
116
|
+
}), Rt = /* @__PURE__ */ d("img")({
|
|
117
117
|
name: "i",
|
|
118
118
|
class: "i81s9fc",
|
|
119
119
|
propsAsIs: !1
|
|
120
|
-
}),
|
|
120
|
+
}), Ut = /* @__PURE__ */ d("div")({
|
|
121
121
|
name: "r",
|
|
122
122
|
class: "rlmx6cw",
|
|
123
123
|
propsAsIs: !1
|
|
124
|
-
}),
|
|
124
|
+
}), $t = /* @__PURE__ */ d("div")({
|
|
125
125
|
name: "d",
|
|
126
126
|
class: "dqb0kgq",
|
|
127
127
|
propsAsIs: !1
|
|
128
|
-
}),
|
|
128
|
+
}), Qt = /* @__PURE__ */ d("div")({
|
|
129
129
|
name: "l",
|
|
130
130
|
class: "l1tjaqbq",
|
|
131
131
|
propsAsIs: !1
|
|
132
|
-
}),
|
|
132
|
+
}), Yt = /* @__PURE__ */ d("div")({
|
|
133
133
|
name: "a",
|
|
134
134
|
class: "a1tb5jb7",
|
|
135
135
|
propsAsIs: !1
|
|
136
|
-
}),
|
|
136
|
+
}), Zt = /* @__PURE__ */ d("button")({
|
|
137
137
|
name: "c",
|
|
138
138
|
class: "c11xpv3i",
|
|
139
139
|
propsAsIs: !1
|
|
140
|
-
}),
|
|
140
|
+
}), Pt = /* @__PURE__ */ d("img")({
|
|
141
141
|
name: "s",
|
|
142
142
|
class: "s12ztjhk",
|
|
143
143
|
propsAsIs: !1
|
|
144
|
-
}),
|
|
144
|
+
}), Y1 = ({ close: i, action: r, data: { color: l, icon: p, title: g } }) => {
|
|
145
145
|
const h = 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(Ot, { onClick: r, children: [
|
|
152
|
+
/* @__PURE__ */ o(Bt, { style: l ? { backgroundColor: l } : {}, children: p && /* @__PURE__ */ o(Rt, { alt: "in-app-icon", src: p }) }),
|
|
153
|
+
/* @__PURE__ */ y(Ut, { children: [
|
|
154
|
+
/* @__PURE__ */ o($t, { children: /* @__PURE__ */ o(Qt, { id: "in-app-title", children: g || "" }) }),
|
|
155
|
+
/* @__PURE__ */ o(Yt, { children: /* @__PURE__ */ o(Zt, { onClick: h, children: /* @__PURE__ */ o(Pt, { alt: "close-in-app-icon", src: a1 }) }) })
|
|
156
156
|
] })
|
|
157
157
|
] });
|
|
158
|
-
},
|
|
158
|
+
}, _t = {
|
|
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 St = /* @__PURE__ */ d("div")({
|
|
|
184
184
|
GREY_PRIMARY: "#909395",
|
|
185
185
|
DIVIDER_COLOR_SECONDARY: "#53565a",
|
|
186
186
|
GREEN_PRIMARY_BTN: "#009B77"
|
|
187
|
-
},
|
|
187
|
+
}, Vt = {
|
|
188
188
|
PRIMARY_GREEN1: "#107D57",
|
|
189
189
|
PRIMARY_GREEN2: "#006747",
|
|
190
190
|
PRIMARY_GREEN3: "#1C4932",
|
|
@@ -206,7 +206,7 @@ const St = /* @__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({}, _t, Vt);
|
|
210
210
|
Object.keys(ne).reduce((i, r) => {
|
|
211
211
|
const l = ne[r];
|
|
212
212
|
return `
|
|
@@ -214,29 +214,29 @@ Object.keys(ne).reduce((i, r) => {
|
|
|
214
214
|
--color-${r.toLowerCase().replaceAll("_", "-")}: ${l};
|
|
215
215
|
`;
|
|
216
216
|
}, "");
|
|
217
|
-
const
|
|
217
|
+
const Gt = [ne.PRIMARY_GREEN1, ne.SECONDARY_RED1, ne.SECONDARY_RED1], Ht = [10, 10, 0], Ft = /* @__PURE__ */ d("div")({
|
|
218
218
|
name: "A",
|
|
219
219
|
class: "a1f928zy",
|
|
220
220
|
propsAsIs: !1
|
|
221
|
-
}),
|
|
221
|
+
}), Wt = ne.SECONDARY_GREEN6, f1 = ne.SECONDARY_RED3, qt = ne.NEUTRALS_GRAY3, Z1 = ({
|
|
222
222
|
isPlaying: i = !0,
|
|
223
223
|
duration: r = 30,
|
|
224
224
|
onTimerExpired: l
|
|
225
225
|
}) => {
|
|
226
|
-
const [p, g] = b(r > 10 ?
|
|
226
|
+
const [p, g] = b(r > 10 ? Wt : f1), h = ({
|
|
227
227
|
remainingTime: I
|
|
228
|
-
}) => /* @__PURE__ */ o(
|
|
228
|
+
}) => /* @__PURE__ */ o(Ft, {
|
|
229
229
|
children: I
|
|
230
230
|
}), M = re(() => {
|
|
231
|
-
l == null || l(), g(
|
|
231
|
+
l == null || l(), g(qt);
|
|
232
232
|
}, [l, g]), a = re((I) => {
|
|
233
|
-
I === 10 && g(
|
|
233
|
+
I === 10 && g(f1);
|
|
234
234
|
}, [g]);
|
|
235
|
-
return /* @__PURE__ */ o(
|
|
235
|
+
return /* @__PURE__ */ o(Et, {
|
|
236
236
|
isPlaying: i,
|
|
237
237
|
duration: r,
|
|
238
|
-
colors:
|
|
239
|
-
colorsTime:
|
|
238
|
+
colors: Gt,
|
|
239
|
+
colorsTime: Ht,
|
|
240
240
|
size: 32,
|
|
241
241
|
strokeWidth: 2,
|
|
242
242
|
trailStrokeWidth: 2,
|
|
@@ -245,60 +245,60 @@ const _t = [ne.PRIMARY_GREEN1, ne.SECONDARY_RED1, ne.SECONDARY_RED1], Vt = [10,
|
|
|
245
245
|
onUpdate: a,
|
|
246
246
|
children: h
|
|
247
247
|
});
|
|
248
|
-
},
|
|
249
|
-
const l =
|
|
248
|
+
}, Jt = async (i, r) => {
|
|
249
|
+
const l = o1({
|
|
250
250
|
baseUrl: i
|
|
251
251
|
});
|
|
252
|
-
return await
|
|
253
|
-
},
|
|
254
|
-
const l =
|
|
252
|
+
return await s1(l1, l).requestPassword({ id: r }), !0;
|
|
253
|
+
}, Xt = async (i, r) => {
|
|
254
|
+
const l = o1({
|
|
255
255
|
baseUrl: i
|
|
256
256
|
});
|
|
257
|
-
return await
|
|
258
|
-
},
|
|
257
|
+
return await s1(l1, l).register({ id: r }), !0;
|
|
258
|
+
}, Kt = async (i, r, l) => {
|
|
259
259
|
var p;
|
|
260
|
-
const g =
|
|
260
|
+
const g = o1({
|
|
261
261
|
baseUrl: i
|
|
262
|
-
}), h = await
|
|
262
|
+
}), h = await s1(l1, g).login({ id: r, password: l });
|
|
263
263
|
return (p = h == null ? void 0 : h.meta) == null ? void 0 : p.jwt;
|
|
264
264
|
};
|
|
265
|
-
const
|
|
265
|
+
const ei = /* @__PURE__ */ d("div")({
|
|
266
266
|
name: "n",
|
|
267
267
|
class: "nhpumh7",
|
|
268
268
|
propsAsIs: !1
|
|
269
|
-
}),
|
|
269
|
+
}), A1 = /* @__PURE__ */ d("form")({
|
|
270
270
|
name: "r",
|
|
271
271
|
class: "r1wcng20",
|
|
272
272
|
propsAsIs: !1
|
|
273
|
-
}),
|
|
273
|
+
}), w1 = /* @__PURE__ */ d("div")({
|
|
274
274
|
name: "i",
|
|
275
275
|
class: "i1173pke",
|
|
276
276
|
propsAsIs: !1
|
|
277
|
-
}),
|
|
277
|
+
}), Fe = /* @__PURE__ */ d("div")({
|
|
278
278
|
name: "e",
|
|
279
279
|
class: "ev27fka",
|
|
280
280
|
propsAsIs: !1
|
|
281
|
-
}),
|
|
281
|
+
}), We = /* @__PURE__ */ d("button")({
|
|
282
282
|
name: "a",
|
|
283
283
|
class: "a1ifs31v",
|
|
284
284
|
propsAsIs: !1
|
|
285
|
-
}),
|
|
285
|
+
}), ti = /* @__PURE__ */ d("div")({
|
|
286
286
|
name: "p",
|
|
287
287
|
class: "p10d4aqp",
|
|
288
288
|
propsAsIs: !1
|
|
289
|
-
}),
|
|
289
|
+
}), ii = /* @__PURE__ */ d("div")({
|
|
290
290
|
name: "d",
|
|
291
291
|
class: "dje8inq",
|
|
292
292
|
propsAsIs: !1
|
|
293
|
-
}),
|
|
293
|
+
}), ni = ({ login: i, anonymousLogin: r, host: l }) => {
|
|
294
294
|
const [p, g] = b(""), [h, M] = b(""), [a, I] = b(""), N = async (w) => {
|
|
295
295
|
w.preventDefault();
|
|
296
296
|
try {
|
|
297
297
|
const D = p.replaceAll("+", "");
|
|
298
298
|
try {
|
|
299
|
-
await
|
|
299
|
+
await Jt(l, D);
|
|
300
300
|
} catch {
|
|
301
|
-
await
|
|
301
|
+
await Xt(l, D);
|
|
302
302
|
}
|
|
303
303
|
M(D);
|
|
304
304
|
} catch (D) {
|
|
@@ -307,176 +307,176 @@ const Xt = /* @__PURE__ */ d("div")({
|
|
|
307
307
|
}, f = async (w) => {
|
|
308
308
|
if (w.preventDefault(), h && a)
|
|
309
309
|
try {
|
|
310
|
-
const D = await
|
|
310
|
+
const D = await Kt(l, h, 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(
|
|
316
|
+
return /* @__PURE__ */ y(ei, { children: [
|
|
317
317
|
!h && /* @__PURE__ */ y("div", { children: [
|
|
318
|
-
/* @__PURE__ */ y(
|
|
319
|
-
/* @__PURE__ */ o(
|
|
320
|
-
/* @__PURE__ */ o(
|
|
321
|
-
/* @__PURE__ */ o(
|
|
322
|
-
/* @__PURE__ */ o(
|
|
318
|
+
/* @__PURE__ */ y(A1, { onSubmit: N, children: [
|
|
319
|
+
/* @__PURE__ */ o(w1, { children: "Enter your phone number" }),
|
|
320
|
+
/* @__PURE__ */ o(Fe, { children: "Enter your phone up for number to log in or sign an account." }),
|
|
321
|
+
/* @__PURE__ */ o(ti, { children: /* @__PURE__ */ o(At, { value: p, onChange: (w) => g(`${w}`) }) }),
|
|
322
|
+
/* @__PURE__ */ o(We, { disabled: !wt(p), type: "submit", children: "request code" })
|
|
323
323
|
] }),
|
|
324
|
-
r && /* @__PURE__ */ o(
|
|
324
|
+
r && /* @__PURE__ */ o(We, { style: { display: "block", margin: "auto" }, onClick: r, children: "anonymous login" })
|
|
325
325
|
] }),
|
|
326
|
-
h && /* @__PURE__ */ y(
|
|
327
|
-
/* @__PURE__ */ o(
|
|
328
|
-
/* @__PURE__ */ y(
|
|
326
|
+
h && /* @__PURE__ */ y(A1, { onSubmit: f, children: [
|
|
327
|
+
/* @__PURE__ */ o(w1, { children: "Enter Verification Code" }),
|
|
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: Dt(p) })
|
|
333
333
|
] }),
|
|
334
|
-
/* @__PURE__ */ o(
|
|
335
|
-
/* @__PURE__ */ o(
|
|
336
|
-
/* @__PURE__ */ y(
|
|
334
|
+
/* @__PURE__ */ o(ii, { children: /* @__PURE__ */ o(ft, { autoFocus: !0, allowedCharacters: "numeric", length: 4, onChange: I }) }),
|
|
335
|
+
/* @__PURE__ */ o(We, { disabled: a.length !== 4, type: "submit", children: "login" }),
|
|
336
|
+
/* @__PURE__ */ y(Fe, { children: [
|
|
337
337
|
"Didn't get 59 the code? ",
|
|
338
338
|
/* @__PURE__ */ o("br", {}),
|
|
339
339
|
"Resend Code in",
|
|
340
|
-
/* @__PURE__ */ o(
|
|
340
|
+
/* @__PURE__ */ o(Z1, { duration: 30, isPlaying: !0 })
|
|
341
341
|
] })
|
|
342
342
|
] })
|
|
343
343
|
] });
|
|
344
344
|
};
|
|
345
|
-
const
|
|
345
|
+
const ri = /* @__PURE__ */ d("div")({
|
|
346
346
|
name: "i",
|
|
347
347
|
class: "i1grt8h",
|
|
348
348
|
propsAsIs: !1
|
|
349
|
-
}),
|
|
349
|
+
}), si = /* @__PURE__ */ d("div")({
|
|
350
350
|
name: "n",
|
|
351
351
|
class: "n1rozou",
|
|
352
352
|
propsAsIs: !1
|
|
353
|
-
}),
|
|
353
|
+
}), oi = /* @__PURE__ */ d("img")({
|
|
354
354
|
name: "o",
|
|
355
355
|
class: "o81ls6z",
|
|
356
356
|
propsAsIs: !1
|
|
357
|
-
}),
|
|
357
|
+
}), li = /* @__PURE__ */ d("div")({
|
|
358
358
|
name: "d",
|
|
359
359
|
class: "d9l6z9i",
|
|
360
360
|
propsAsIs: !1
|
|
361
|
-
}),
|
|
362
|
-
/* @__PURE__ */ o(
|
|
363
|
-
/* @__PURE__ */ o(
|
|
361
|
+
}), ai = ({ graphic: i, headline: r }) => /* @__PURE__ */ o(ri, { children: /* @__PURE__ */ y(si, { children: [
|
|
362
|
+
/* @__PURE__ */ o(oi, { alt: "graphic-img-instructions", src: i }),
|
|
363
|
+
/* @__PURE__ */ o(li, { children: r })
|
|
364
364
|
] }) });
|
|
365
|
-
const
|
|
365
|
+
const ci = /* @__PURE__ */ d("div")({
|
|
366
366
|
name: "e",
|
|
367
367
|
class: "e1o3lzmc",
|
|
368
368
|
propsAsIs: !1
|
|
369
|
-
}),
|
|
369
|
+
}), di = /* @__PURE__ */ d("div")({
|
|
370
370
|
name: "o",
|
|
371
371
|
class: "otjo97h",
|
|
372
372
|
propsAsIs: !1
|
|
373
|
-
}),
|
|
373
|
+
}), ui = /* @__PURE__ */ d("div")({
|
|
374
374
|
name: "i",
|
|
375
375
|
class: "ivk43vg",
|
|
376
376
|
propsAsIs: !1
|
|
377
|
-
}),
|
|
377
|
+
}), pi = /* @__PURE__ */ d("img")({
|
|
378
378
|
name: "r",
|
|
379
379
|
class: "r1w33akz",
|
|
380
380
|
propsAsIs: !1
|
|
381
|
-
}),
|
|
381
|
+
}), hi = /* @__PURE__ */ d("div")({
|
|
382
382
|
name: "c",
|
|
383
383
|
class: "c1a3ssoy",
|
|
384
384
|
propsAsIs: !1
|
|
385
|
-
}),
|
|
385
|
+
}), gi = /* @__PURE__ */ d("div")({
|
|
386
386
|
name: "a",
|
|
387
387
|
class: "ayzr5mb",
|
|
388
388
|
propsAsIs: !1
|
|
389
|
-
}),
|
|
389
|
+
}), Mi = /* @__PURE__ */ d("button")({
|
|
390
390
|
name: "p",
|
|
391
391
|
class: "p30t8qv",
|
|
392
392
|
propsAsIs: !1
|
|
393
|
-
}),
|
|
393
|
+
}), Ii = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkZyaWVuZHMiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNNC4xOTIzMSA3LjAzMTI1QzIuNjYzNDYgNy4wMzEyNSAxLjQyMzA4IDguMTk5NzMgMS40MjMwOCA5LjYzOTk0QzEuNDIzMDggMTEuMDgwMiAyLjY2MzQ2IDEyLjI0ODYgNC4xOTIzMSAxMi4yNDg2QzUuNzIxMTUgMTIuMjQ4NiA2Ljk2MTU0IDExLjA4MDIgNi45NjE1NCA5LjYzOTk0QzYuOTYxNTQgOC4xOTk3MyA1LjcyMTE1IDcuMDMxMjUgNC4xOTIzMSA3LjAzMTI1Wk00LjE5MjMxIDEyLjI0ODZDMi4xNjIyNiAxMi4yNDg2IDAuNSAxMy44MTQ1IDAuNSAxNS43MjY5VjE3LjYyOUMwLjUgMTcuNjI5IDEuNDIzMDggMTguMzM1NiA0LjE5MjMxIDE4LjMzNTZDNi45NjE1NCAxOC4zMzU2IDcuODg0NjEgMTcuNjI5IDcuODg0NjEgMTcuNjI5VjE1LjcyNjlDNy44ODQ2MSAxMy44MTQ1IDYuMjIyMzYgMTIuMjQ4NiA0LjE5MjMxIDEyLjI0ODZaTTIwLjgwNzcgNy4wMzEyNUMxOS4yNzg4IDcuMDMxMjUgMTguMDM4NSA4LjE5OTczIDE4LjAzODUgOS42Mzk5NEMxOC4wMzg1IDExLjA4MDIgMTkuMjc4OCAxMi4yNDg2IDIwLjgwNzcgMTIuMjQ4NkMyMi4zMzY1IDEyLjI0ODYgMjMuNTc2OSAxMS4wODAyIDIzLjU3NjkgOS42Mzk5NEMyMy41NzY5IDguMTk5NzMgMjIuMzM2NSA3LjAzMTI1IDIwLjgwNzcgNy4wMzEyNVpNMjAuODA3NyAxMi4yNDg2QzE4Ljc3NzYgMTIuMjQ4NiAxNy4xMTU0IDEzLjgxNDUgMTcuMTE1NCAxNS43MjY5VjE3LjYyOUMxNy4xMTU0IDE3LjYyOSAxOC4wMzg1IDE4LjMzNTYgMjAuODA3NyAxOC4zMzU2QzIzLjU3NjkgMTguMzM1NiAyNC41IDE3LjYyOSAyNC41IDE3LjYyOVYxNS43MjY5QzI0LjUgMTMuODE0NSAyMi44Mzc3IDEyLjI0ODYgMjAuODA3NyAxMi4yNDg2Wk0xMi41IDEwLjUwOTVDMTAuOTcxMiAxMC41MDk1IDkuNzMwNzcgMTEuNjc4IDkuNzMwNzcgMTMuMTE4MkM5LjczMDc3IDE0LjU1ODQgMTAuOTcxMiAxNS43MjY5IDEyLjUgMTUuNzI2OUMxNC4wMjg4IDE1LjcyNjkgMTUuMjY5MiAxNC41NTg0IDE1LjI2OTIgMTMuMTE4MkMxNS4yNjkyIDExLjY3OCAxNC4wMjg4IDEwLjUwOTUgMTIuNSAxMC41MDk1Wk0xMi41IDE1LjcyNjlDMTAuNDcgMTUuNzI2OSA4LjgwNzY5IDE3LjI5MjggOC44MDc2OSAxOS4yMDUxVjIxLjEwNzNDOC44MDc2OSAyMS4xMDczIDkuNzMwNzcgMjEuODEzOCAxMi41IDIxLjgxMzhDMTUuMjY5MiAyMS44MTM4IDE2LjE5MjMgMjEuMTA3MyAxNi4xOTIzIDIxLjEwNzNWMTkuMjA1MUMxNi4xOTIzIDE3LjI5MjggMTQuNTMgMTUuNzI2OSAxMi41IDE1LjcyNjlaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBpZD0iVmVjdG9yXzIiIGQ9Ik04LjU4NDczIDEuNUM2Ljk2MzkyIDEuNSA1LjY0ODkzIDIuNzM4NzYgNS42NDg5MyA0LjI2NTZDNS42NDg5MyA1Ljc5MjQ1IDYuOTYzOTIgNy4wMzEyMSA4LjU4NDczIDcuMDMxMjFDMTAuMjA1NSA3LjAzMTIxIDExLjUyMDUgNS43OTI0NSAxMS41MjA1IDQuMjY1NkMxMS41MjA1IDIuNzM4NzYgMTAuMjA1NSAxLjUgOC41ODQ3MyAxLjVaTTguNTg0NzMgNy4wMzEyMUM4LjI5MDM4IDcuMDMxMjEgNy45OTIyMSA3LjAyNCA3LjY5Nzg3IDcuMTE3NjNDOC4yODY1NiA3Ljg1NTg0IDguNTg0NzMgOC43ODEzMSA4LjU4NDczIDkuNzk2ODFDOC41ODQ3MyAxMC4xNjQxIDguNDkyOTggMTAuNTI0MiA4LjQ5Mjk4IDEwLjg5MTVDOS4yNzY2MyA5Ljc4NjAxIDEwLjU0MTkgOS4wNTg1OSAxMi4wMDk4IDguODc0OTRDMTEuMzI1NiA3Ljc2OTQyIDEwLjA1MjYgNy4wMzEyMSA4LjU4NDczIDcuMDMxMjFaTTE2LjQxMzUgMS41QzE0Ljc5MjcgMS41IDEzLjQ3NzcgMi43Mzg3NiAxMy40Nzc3IDQuMjY1NkMxMy40Nzc3IDUuNzkyNDUgMTQuNzkyNyA3LjAzMTIxIDE2LjQxMzUgNy4wMzEyMUMxOC4wMzQzIDcuMDMxMjEgMTkuMzQ5MyA1Ljc5MjQ1IDE5LjM0OTMgNC4yNjU2QzE5LjM0OTMgMi43Mzg3NiAxOC4wMzQzIDEuNSAxNi40MTM1IDEuNVpNMTYuNDEzNSA3LjAzMTIxQzE0Ljk0NTYgNy4wMzEyMSAxMy42NzI3IDcuNzY5NDIgMTIuOTg4NCA4Ljg3NDk0QzE0LjQ1NjMgOS4wNTg1OSAxNS43MjE2IDkuNzg2MDEgMTYuNTA1MyAxMC44OTE1QzE2LjUwNTMgMTAuNTI0MiAxNi40MTM1IDEwLjE2NDEgMTYuNDEzNSA5Ljc5NjgxQzE2LjQxMzUgOC43ODEzMSAxNi43MTE3IDcuODU1ODQgMTcuMzAwNCA3LjExNzYzQzE3LjAwNiA3LjAyNCAxNi43MDc5IDcuMDMxMjEgMTYuNDEzNSA3LjAzMTIxWiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC40Ii8+CjwvZz4KPC9zdmc+Cg==", mi = ({
|
|
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(ci, { children: /* @__PURE__ */ y(di, { children: [
|
|
398
|
+
/* @__PURE__ */ o(ui, { style: { backgroundColor: l }, children: /* @__PURE__ */ o(pi, { alt: "invite-game-icon", src: Ii }) }),
|
|
399
|
+
/* @__PURE__ */ o(hi, { children: i || "" }),
|
|
400
|
+
/* @__PURE__ */ o(gi, { children: r || "" }),
|
|
401
|
+
/* @__PURE__ */ o(Mi, { onClick: () => {
|
|
402
402
|
}, style: { backgroundColor: l }, children: "Invite friends!" })
|
|
403
403
|
] }) });
|
|
404
|
-
const
|
|
404
|
+
const Ci = /* @__PURE__ */ d("div")({
|
|
405
405
|
name: "t",
|
|
406
406
|
class: "ty54o42",
|
|
407
407
|
propsAsIs: !1
|
|
408
|
-
}),
|
|
408
|
+
}), yi = /* @__PURE__ */ d("div")({
|
|
409
409
|
name: "o",
|
|
410
410
|
class: "oqyp1qa",
|
|
411
411
|
propsAsIs: !1
|
|
412
|
-
}),
|
|
412
|
+
}), Ni = /* @__PURE__ */ d("div")({
|
|
413
413
|
name: "r",
|
|
414
414
|
class: "rf1d3db",
|
|
415
415
|
propsAsIs: !1
|
|
416
|
-
}),
|
|
416
|
+
}), fi = /* @__PURE__ */ d("div")({
|
|
417
417
|
name: "n",
|
|
418
418
|
class: "n187jgct",
|
|
419
419
|
propsAsIs: !1
|
|
420
|
-
}),
|
|
420
|
+
}), Ai = /* @__PURE__ */ d("div")({
|
|
421
421
|
name: "d",
|
|
422
422
|
class: "d1i3t4lw",
|
|
423
423
|
propsAsIs: !1
|
|
424
|
-
}),
|
|
424
|
+
}), wi = /* @__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(
|
|
428
|
+
}), Di = ({ rules: i, rulesTitle: r, primaryColor: l }) => /* @__PURE__ */ y(Ci, { children: [
|
|
429
|
+
/* @__PURE__ */ o(yi, { children: r }),
|
|
430
|
+
/* @__PURE__ */ o(Ni, { children: i == null ? void 0 : i.map((p, g) => /* @__PURE__ */ y(fi, { children: [
|
|
431
|
+
/* @__PURE__ */ o(Ai, { style: { backgroundColor: l }, children: g + 1 }),
|
|
432
|
+
/* @__PURE__ */ o(wi, { children: p })
|
|
433
433
|
] }, g)) })
|
|
434
434
|
] });
|
|
435
|
-
const
|
|
435
|
+
const Ei = /* @__PURE__ */ d("div")({
|
|
436
436
|
name: "n",
|
|
437
437
|
class: "n1cm2rh8",
|
|
438
438
|
propsAsIs: !1
|
|
439
|
-
}),
|
|
439
|
+
}), Ti = /* @__PURE__ */ d("div")({
|
|
440
440
|
name: "e",
|
|
441
441
|
class: "e9j28tc",
|
|
442
442
|
propsAsIs: !1
|
|
443
|
-
}),
|
|
443
|
+
}), Li = /* @__PURE__ */ d("div")({
|
|
444
444
|
name: "i",
|
|
445
445
|
class: "iu1o1a8",
|
|
446
446
|
propsAsIs: !1
|
|
447
|
-
}),
|
|
447
|
+
}), ji = /* @__PURE__ */ d("div")({
|
|
448
448
|
name: "r",
|
|
449
449
|
class: "r14ailyk",
|
|
450
450
|
propsAsIs: !1
|
|
451
|
-
}),
|
|
451
|
+
}), vi = /* @__PURE__ */ d("div")({
|
|
452
452
|
name: "c",
|
|
453
453
|
class: "c11ybl5c",
|
|
454
454
|
propsAsIs: !1
|
|
455
|
-
}),
|
|
455
|
+
}), xi = /* @__PURE__ */ d("img")({
|
|
456
456
|
name: "s",
|
|
457
457
|
class: "sd9s97",
|
|
458
458
|
propsAsIs: !1
|
|
459
|
-
}),
|
|
459
|
+
}), zi = /* @__PURE__ */ d("img")({
|
|
460
460
|
name: "l",
|
|
461
461
|
class: "l1ddowgh",
|
|
462
462
|
propsAsIs: !1
|
|
463
|
-
}),
|
|
463
|
+
}), ki = /* @__PURE__ */ d("button")({
|
|
464
464
|
name: "d",
|
|
465
465
|
class: "d1s3ug7g",
|
|
466
466
|
propsAsIs: !1
|
|
467
|
-
}),
|
|
467
|
+
}), Si = /* @__PURE__ */ d("img")({
|
|
468
468
|
name: "p",
|
|
469
469
|
class: "p17kmhv2",
|
|
470
470
|
propsAsIs: !1
|
|
471
|
-
}),
|
|
471
|
+
}), bi = /* @__PURE__ */ d("button")({
|
|
472
472
|
name: "a",
|
|
473
473
|
class: "a1qucmt7",
|
|
474
474
|
propsAsIs: !1
|
|
475
|
-
}),
|
|
475
|
+
}), Me = {
|
|
476
476
|
steps: !1,
|
|
477
477
|
rules: !1,
|
|
478
478
|
inviteCard: !1
|
|
479
|
-
},
|
|
479
|
+
}, Oi = ({
|
|
480
480
|
gamification: i,
|
|
481
481
|
closeFeature: r,
|
|
482
482
|
steps: l,
|
|
@@ -492,28 +492,28 @@ const wi = /* @__PURE__ */ d("div")({
|
|
|
492
492
|
}) => {
|
|
493
493
|
const D = async () => {
|
|
494
494
|
await i.submitInplay();
|
|
495
|
-
},
|
|
495
|
+
}, L = () => {
|
|
496
496
|
r();
|
|
497
|
-
}, [k, O] = b(0), [B, R] = b(
|
|
498
|
-
|
|
499
|
-
l != null && l.length ? R({ ...
|
|
497
|
+
}, [k, O] = b(0), [B, R] = b(Me);
|
|
498
|
+
de(() => {
|
|
499
|
+
l != null && l.length ? R({ ...Me, steps: !0 }) : h != null && h.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) : h != null && h.length && B.steps ? R({ ...
|
|
502
|
+
l != null && l.length && k < l.length - 1 ? O((P) => ++P) : h != null && h.length && B.steps ? R({ ...Me, rules: !0 }) : B.rules && R({ ...Me, inviteCard: !0 });
|
|
503
503
|
}, [k, l == null ? void 0 : l.length, h == null ? void 0 : h.length, B, O, R]);
|
|
504
|
-
return /* @__PURE__ */ y(
|
|
505
|
-
/* @__PURE__ */ y(
|
|
506
|
-
/* @__PURE__ */ o(
|
|
507
|
-
/* @__PURE__ */ y(
|
|
508
|
-
g && /* @__PURE__ */ o(
|
|
509
|
-
/* @__PURE__ */ o(
|
|
504
|
+
return /* @__PURE__ */ y(Ei, { children: [
|
|
505
|
+
/* @__PURE__ */ y(Li, { children: [
|
|
506
|
+
/* @__PURE__ */ o(ji, { children: p && /* @__PURE__ */ o(xi, { alt: "sponsor-one-onboarding-icon", src: p }) }),
|
|
507
|
+
/* @__PURE__ */ y(vi, { children: [
|
|
508
|
+
g && /* @__PURE__ */ o(zi, { alt: "sponsor-two-onboarding-icon", src: g }),
|
|
509
|
+
/* @__PURE__ */ o(ki, { onClick: L, children: /* @__PURE__ */ o(Si, { 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(Ti, { children: [
|
|
513
|
+
B.steps && (l == null ? void 0 : l.length) && /* @__PURE__ */ o(ai, { graphic: l[k].graphic, headline: l[k].headline }),
|
|
514
|
+
B.rules && /* @__PURE__ */ o(Di, { rules: h, rulesTitle: a, primaryColor: I }),
|
|
515
515
|
B.inviteCard && /* @__PURE__ */ o(
|
|
516
|
-
|
|
516
|
+
mi,
|
|
517
517
|
{
|
|
518
518
|
inviteCardTitle: N,
|
|
519
519
|
inviteCardSubtext: f,
|
|
@@ -521,34 +521,34 @@ const wi = /* @__PURE__ */ d("div")({
|
|
|
521
521
|
}
|
|
522
522
|
)
|
|
523
523
|
] }),
|
|
524
|
-
/* @__PURE__ */ o(
|
|
524
|
+
/* @__PURE__ */ o(bi, { 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 Bi = /* @__PURE__ */ d("div")({
|
|
528
528
|
name: "t",
|
|
529
529
|
class: "tcim9sm",
|
|
530
530
|
propsAsIs: !1
|
|
531
|
-
}),
|
|
531
|
+
}), Ri = /* @__PURE__ */ d("div")({
|
|
532
532
|
name: "e",
|
|
533
533
|
class: "e8wco6o",
|
|
534
534
|
propsAsIs: !1
|
|
535
|
-
}),
|
|
535
|
+
}), Ui = /* @__PURE__ */ d("button")({
|
|
536
536
|
name: "n",
|
|
537
537
|
class: "n1ardwzl",
|
|
538
538
|
propsAsIs: !1
|
|
539
|
-
}),
|
|
539
|
+
}), $i = /* @__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
|
|
546
|
-
/* @__PURE__ */ o(
|
|
545
|
+
const D1 = ({ title: i, active: r, onClick: l }) => /* @__PURE__ */ o(Ui, { onClick: l, "data-selected": r, children: /* @__PURE__ */ o($i, { children: i }) }), P1 = ({ activePage: i = "home", toggleActivePage: r }) => /* @__PURE__ */ o(Bi, { children: /* @__PURE__ */ y(Ri, { "data-position": i === "home" ? "left" : "right", children: [
|
|
546
|
+
/* @__PURE__ */ o(D1, { title: "Home", active: i === "home", onClick: () => r(
|
|
547
547
|
"home"
|
|
548
548
|
/* HOME */
|
|
549
549
|
) }),
|
|
550
550
|
/* @__PURE__ */ o(
|
|
551
|
-
|
|
551
|
+
D1,
|
|
552
552
|
{
|
|
553
553
|
title: "Leader Board",
|
|
554
554
|
active: i === "leaderboard",
|
|
@@ -559,39 +559,39 @@ const w1 = ({ title: i, active: r, onClick: l }) => /* @__PURE__ */ o(Bi, { onCl
|
|
|
559
559
|
}
|
|
560
560
|
)
|
|
561
561
|
] }) });
|
|
562
|
-
const
|
|
562
|
+
const Qi = /* @__PURE__ */ d("div")({
|
|
563
563
|
name: "o",
|
|
564
564
|
class: "oa5apdf",
|
|
565
565
|
propsAsIs: !1
|
|
566
|
-
}),
|
|
566
|
+
}), E1 = /* @__PURE__ */ d("button")({
|
|
567
567
|
name: "n",
|
|
568
568
|
class: "n1wh5guy",
|
|
569
569
|
propsAsIs: !1
|
|
570
|
-
}),
|
|
570
|
+
}), Yi = /* @__PURE__ */ d("img")({
|
|
571
571
|
name: "r",
|
|
572
572
|
class: "ro3ktps",
|
|
573
573
|
propsAsIs: !1
|
|
574
|
-
}),
|
|
574
|
+
}), Zi = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZXZyb24iPgo8cGF0aCBpZD0iQ2hldnJvbl8yIiBkPSJNNiAxMS45OTlDNiAxMi4xNzI1IDYuMDMxMzQgMTIuMzM0IDYuMDk0MDEgMTIuNDgzN0M2LjE1NjY5IDEyLjYzMzQgNi4yNTQyOCAxMi43NzU2IDYuMzg2OCAxMi45MTAzTDE0LjA0MzYgMjAuNjU2NUMxNC4yNjQ4IDIwLjg4NTUgMTQuNTMyMyAyMSAxNC44NDU5IDIxQzE1LjA2MDcgMjEgMTUuMjU0NCAyMC45NDc1IDE1LjQyNzEgMjAuODQyNkMxNS41OTk4IDIwLjczNzcgMTUuNzM4NCAyMC41OTY1IDE1Ljg0MzEgMjAuNDE5MUMxNS45NDc3IDIwLjI0MTYgMTYgMjAuMDQyNSAxNiAxOS44MjE3QzE2IDE5LjQ5ODkgMTUuODgxNiAxOS4yMTM0IDE1LjY0NDggMTguOTY1NEw4Ljc0MTgzIDExLjk5NzFMMTUuNjQ0OCA1LjAzMjcxQzE1Ljg4MTYgNC43ODcwOSAxNiA0LjUwMjMgMTYgNC4xNzgzNEMxNiAzLjk1NzQ5IDE1Ljk0NzcgMy43NTgzNSAxNS44NDMxIDMuNTgwOTFDMTUuNzM4NCAzLjQwMzQ3IDE1LjU5OTggMy4yNjIyOSAxNS40MjcxIDMuMTU3MzhDMTUuMjU0NCAzLjA1MjQ2IDE1LjA2MDcgMyAxNC44NDU5IDNDMTQuNTMyMyAzIDE0LjI2NDggMy4xMTE2OSAxNC4wNDM2IDMuMzM1MDhMNi4zODY4IDExLjA4NzhDNi4yNTU1MSAxMS4yMjI1IDYuMTU4NTMgMTEuMzY0NCA2LjA5NTg2IDExLjUxMzRDNi4wMzMxOCAxMS42NjI1IDYuMDAxMjMgMTEuODI0NCA2IDExLjk5OVoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==", _1 = ({ icon: i, comeBack: r, close: l }) => /* @__PURE__ */ y(Qi, { children: [
|
|
575
575
|
/* @__PURE__ */ y("div", { children: [
|
|
576
|
-
r && /* @__PURE__ */ o(
|
|
577
|
-
i && /* @__PURE__ */ o(
|
|
576
|
+
r && /* @__PURE__ */ o(E1, { onClick: r, children: /* @__PURE__ */ o("img", { alt: "header-back-icon", src: Zi }) }),
|
|
577
|
+
i && /* @__PURE__ */ o(Yi, { alt: "header-icon", src: i })
|
|
578
578
|
] }),
|
|
579
|
-
/* @__PURE__ */ o("div", { children: l && /* @__PURE__ */ o(
|
|
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 Pi = /* @__PURE__ */ d("div")({
|
|
582
582
|
name: "i",
|
|
583
583
|
class: "iqbegjm",
|
|
584
584
|
propsAsIs: !1
|
|
585
|
-
}),
|
|
586
|
-
const
|
|
585
|
+
}), V1 = ({ comeBack: i }) => /* @__PURE__ */ o(Pi, { children: /* @__PURE__ */ o(_1, { comeBack: i }) });
|
|
586
|
+
const _i = /* @__PURE__ */ d("button")({
|
|
587
587
|
name: "a",
|
|
588
588
|
class: "akly9h2",
|
|
589
589
|
propsAsIs: !1
|
|
590
|
-
}),
|
|
590
|
+
}), Vi = /* @__PURE__ */ d("span")({
|
|
591
591
|
name: "e",
|
|
592
592
|
class: "eptoiz9",
|
|
593
593
|
propsAsIs: !1
|
|
594
|
-
}),
|
|
594
|
+
}), Gi = ({ disabled: i, variant: r = "primary", onClick: l, children: p }) => /* @__PURE__ */ o(_i, { onClick: l, disabled: i, "data-variant": r, children: /* @__PURE__ */ o(Vi, { 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,142 +600,142 @@ const Zi = /* @__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 Hi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
604
604
|
width: 24,
|
|
605
605
|
height: 24,
|
|
606
606
|
viewBox: "0 0 24 24",
|
|
607
607
|
fill: "none",
|
|
608
608
|
xmlns: "http://www.w3.org/2000/svg",
|
|
609
609
|
...i
|
|
610
|
-
}, /* @__PURE__ */
|
|
610
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
611
611
|
d: "M8 4L16 12L8 20",
|
|
612
612
|
stroke: "#6B6F73",
|
|
613
613
|
strokeWidth: 1.5,
|
|
614
614
|
strokeLinecap: "round",
|
|
615
615
|
strokeLinejoin: "round"
|
|
616
|
-
})),
|
|
616
|
+
})), Fi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
617
617
|
width: 24,
|
|
618
618
|
height: 24,
|
|
619
619
|
viewBox: "0 0 24 24",
|
|
620
620
|
fill: "none",
|
|
621
621
|
xmlns: "http://www.w3.org/2000/svg",
|
|
622
622
|
...i
|
|
623
|
-
}, /* @__PURE__ */
|
|
623
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
624
624
|
id: "check"
|
|
625
|
-
}, /* @__PURE__ */
|
|
625
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
626
626
|
id: "Vector",
|
|
627
627
|
d: "M4 13L9 18L20 6",
|
|
628
628
|
stroke: "#107D57",
|
|
629
629
|
strokeWidth: 1.5,
|
|
630
630
|
strokeLinecap: "round",
|
|
631
631
|
strokeLinejoin: "round"
|
|
632
|
-
}))),
|
|
632
|
+
}))), Wi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
633
633
|
width: 24,
|
|
634
634
|
height: 24,
|
|
635
635
|
viewBox: "0 0 24 24",
|
|
636
636
|
fill: "none",
|
|
637
637
|
xmlns: "http://www.w3.org/2000/svg",
|
|
638
638
|
...i
|
|
639
|
-
}, /* @__PURE__ */
|
|
639
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
640
640
|
id: "cross"
|
|
641
|
-
}, /* @__PURE__ */
|
|
641
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
642
642
|
id: "Vector",
|
|
643
643
|
d: "M6 18L18 6M6 6L18 18",
|
|
644
644
|
stroke: "#BA0C2F",
|
|
645
645
|
strokeWidth: 1.5,
|
|
646
646
|
strokeLinecap: "round",
|
|
647
647
|
strokeLinejoin: "round"
|
|
648
|
-
}))),
|
|
648
|
+
}))), qi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
649
649
|
width: 16,
|
|
650
650
|
height: 17,
|
|
651
651
|
viewBox: "0 0 16 17",
|
|
652
652
|
fill: "none",
|
|
653
653
|
xmlns: "http://www.w3.org/2000/svg",
|
|
654
654
|
...i
|
|
655
|
-
}, /* @__PURE__ */
|
|
655
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
656
656
|
id: "Check"
|
|
657
|
-
}, /* @__PURE__ */
|
|
657
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
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
|
+
}))), Ji = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
662
662
|
width: 24,
|
|
663
663
|
height: 24,
|
|
664
664
|
viewBox: "0 0 24 24",
|
|
665
665
|
fill: "none",
|
|
666
666
|
xmlns: "http://www.w3.org/2000/svg",
|
|
667
667
|
...i
|
|
668
|
-
}, /* @__PURE__ */
|
|
668
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
669
669
|
id: "Checkmark"
|
|
670
|
-
}, /* @__PURE__ */
|
|
670
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
671
671
|
id: "Selected",
|
|
672
672
|
fillRule: "evenodd",
|
|
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
|
+
}))), Xi = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
677
677
|
width: 12,
|
|
678
678
|
height: 20,
|
|
679
679
|
viewBox: "0 0 12 20",
|
|
680
680
|
fill: "none",
|
|
681
681
|
xmlns: "http://www.w3.org/2000/svg",
|
|
682
682
|
...i
|
|
683
|
-
}, /* @__PURE__ */
|
|
683
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
684
684
|
id: "Icon / chevron.left",
|
|
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
|
+
})), Ki = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
689
689
|
width: 24,
|
|
690
690
|
height: 24,
|
|
691
691
|
viewBox: "0 0 24 24",
|
|
692
692
|
fill: "none",
|
|
693
693
|
xmlns: "http://www.w3.org/2000/svg",
|
|
694
694
|
...i
|
|
695
|
-
}, /* @__PURE__ */
|
|
695
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
696
696
|
id: "Chevron"
|
|
697
|
-
}, /* @__PURE__ */
|
|
697
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
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
|
+
}))), en = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
702
702
|
width: 16,
|
|
703
703
|
height: 17,
|
|
704
704
|
viewBox: "0 0 16 17",
|
|
705
705
|
fill: "none",
|
|
706
706
|
xmlns: "http://www.w3.org/2000/svg",
|
|
707
707
|
...i
|
|
708
|
-
}, /* @__PURE__ */
|
|
708
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
709
709
|
id: "Chevron"
|
|
710
|
-
}, /* @__PURE__ */
|
|
710
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
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
|
+
}))), tn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
715
715
|
width: 24,
|
|
716
716
|
height: 24,
|
|
717
717
|
viewBox: "0 0 24 24",
|
|
718
718
|
fill: "none",
|
|
719
719
|
xmlns: "http://www.w3.org/2000/svg",
|
|
720
720
|
...i
|
|
721
|
-
}, /* @__PURE__ */
|
|
721
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
722
722
|
fillRule: "evenodd",
|
|
723
723
|
clipRule: "evenodd",
|
|
724
724
|
d: "M12 -2.43189e-06C18.6274 -2.72158e-06 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 8.1423e-07 18.6274 5.24537e-07 12C2.34843e-07 5.37258 5.37258 -2.14219e-06 12 -2.43189e-06ZM11.9999 22.5883C17.8476 22.5883 22.5881 17.8478 22.5881 12.0001C22.5881 6.15238 17.8476 1.41187 11.9999 1.41187C6.15217 1.41187 1.41166 6.15239 1.41166 12.0001C1.41166 17.8478 6.15217 22.5883 11.9999 22.5883Z",
|
|
725
725
|
fill: "white"
|
|
726
|
-
}), /* @__PURE__ */
|
|
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
|
+
})), nn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
730
730
|
width: 10,
|
|
731
731
|
height: 10,
|
|
732
732
|
viewBox: "0 0 10 10",
|
|
733
733
|
fill: "none",
|
|
734
734
|
xmlns: "http://www.w3.org/2000/svg",
|
|
735
735
|
...i
|
|
736
|
-
}, /* @__PURE__ */
|
|
736
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
737
737
|
id: "Group 465"
|
|
738
|
-
}, /* @__PURE__ */
|
|
738
|
+
}, /* @__PURE__ */ C.createElement("rect", {
|
|
739
739
|
id: "Rectangle 368",
|
|
740
740
|
x: 1.25,
|
|
741
741
|
width: 12.3744,
|
|
@@ -743,7 +743,7 @@ const Vi = (i) => /* @__PURE__ */ m.createElement("svg", {
|
|
|
743
743
|
rx: 0.883884,
|
|
744
744
|
transform: "rotate(45 1.25 0)",
|
|
745
745
|
fill: "white"
|
|
746
|
-
}), /* @__PURE__ */
|
|
746
|
+
}), /* @__PURE__ */ C.createElement("rect", {
|
|
747
747
|
id: "Rectangle 369",
|
|
748
748
|
y: 8.75,
|
|
749
749
|
width: 12.3744,
|
|
@@ -751,20 +751,20 @@ const Vi = (i) => /* @__PURE__ */ m.createElement("svg", {
|
|
|
751
751
|
rx: 0.883884,
|
|
752
752
|
transform: "rotate(-45 0 8.75)",
|
|
753
753
|
fill: "white"
|
|
754
|
-
}))),
|
|
754
|
+
}))), rn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
755
755
|
width: 24,
|
|
756
756
|
height: 24,
|
|
757
757
|
viewBox: "0 0 24 24",
|
|
758
758
|
fill: "none",
|
|
759
759
|
xmlns: "http://www.w3.org/2000/svg",
|
|
760
760
|
...i
|
|
761
|
-
}, /* @__PURE__ */
|
|
761
|
+
}, /* @__PURE__ */ C.createElement("rect", {
|
|
762
762
|
y: 195312e-8,
|
|
763
763
|
width: 24,
|
|
764
764
|
height: 24,
|
|
765
765
|
rx: 12,
|
|
766
766
|
fill: "#F80022"
|
|
767
|
-
}), /* @__PURE__ */
|
|
767
|
+
}), /* @__PURE__ */ C.createElement("rect", {
|
|
768
768
|
x: 8.25,
|
|
769
769
|
y: 7.00195,
|
|
770
770
|
width: 12.3744,
|
|
@@ -772,7 +772,7 @@ const Vi = (i) => /* @__PURE__ */ m.createElement("svg", {
|
|
|
772
772
|
rx: 0.883884,
|
|
773
773
|
transform: "rotate(45 8.25 7.00195)",
|
|
774
774
|
fill: "white"
|
|
775
|
-
}), /* @__PURE__ */
|
|
775
|
+
}), /* @__PURE__ */ C.createElement("rect", {
|
|
776
776
|
x: 7,
|
|
777
777
|
y: 15.752,
|
|
778
778
|
width: 12.3744,
|
|
@@ -780,39 +780,39 @@ const Vi = (i) => /* @__PURE__ */ m.createElement("svg", {
|
|
|
780
780
|
rx: 0.883884,
|
|
781
781
|
transform: "rotate(-45 7 15.752)",
|
|
782
782
|
fill: "white"
|
|
783
|
-
})),
|
|
783
|
+
})), sn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
784
784
|
width: 40,
|
|
785
785
|
height: 40,
|
|
786
786
|
viewBox: "0 0 40 40",
|
|
787
787
|
fill: "none",
|
|
788
788
|
xmlns: "http://www.w3.org/2000/svg",
|
|
789
789
|
...i
|
|
790
|
-
}, /* @__PURE__ */
|
|
790
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
791
791
|
id: "CarbonUserAvatar 1"
|
|
792
|
-
}, /* @__PURE__ */
|
|
792
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
793
793
|
id: "Group 232"
|
|
794
|
-
}, /* @__PURE__ */
|
|
794
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
795
795
|
id: "Vector",
|
|
796
796
|
d: "M19.9992 14.2861C19.2928 14.2861 18.6023 14.4956 18.015 14.888C17.4277 15.2805 16.9699 15.8382 16.6996 16.4908C16.4293 17.1434 16.3586 17.8615 16.4964 18.5543C16.6342 19.2471 16.9743 19.8835 17.4738 20.3829C17.9733 20.8824 18.6096 21.2226 19.3024 21.3604C19.9952 21.4982 20.7133 21.4274 21.3659 21.1571C22.0185 20.8868 22.5763 20.4291 22.9687 19.8417C23.3611 19.2544 23.5706 18.5639 23.5706 17.8576C23.5706 16.9104 23.1943 16.002 22.5245 15.3322C21.8548 14.6624 20.9464 14.2861 19.9992 14.2861ZM19.9992 20.0004C19.5753 20.0004 19.161 19.8747 18.8087 19.6393C18.4563 19.4038 18.1816 19.0692 18.0194 18.6776C17.8572 18.286 17.8148 17.8552 17.8975 17.4395C17.9802 17.0238 18.1843 16.642 18.4839 16.3423C18.7836 16.0426 19.1654 15.8386 19.5811 15.7559C19.9968 15.6732 20.4276 15.7156 20.8192 15.8778C21.2108 16.04 21.5454 16.3147 21.7809 16.6671C22.0163 17.0194 22.142 17.4337 22.142 17.8576C22.1415 18.4257 21.9155 18.9704 21.5138 19.3722C21.112 19.7739 20.5673 19.9999 19.9992 20.0004Z",
|
|
797
797
|
fill: "white"
|
|
798
|
-
}), /* @__PURE__ */
|
|
798
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
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
|
+
})))), on = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
803
803
|
width: 24,
|
|
804
804
|
height: 24,
|
|
805
805
|
viewBox: "0 0 24 24",
|
|
806
806
|
fill: "none",
|
|
807
807
|
xmlns: "http://www.w3.org/2000/svg",
|
|
808
808
|
...i
|
|
809
|
-
}, /* @__PURE__ */
|
|
809
|
+
}, /* @__PURE__ */ C.createElement("rect", {
|
|
810
810
|
width: 24,
|
|
811
811
|
height: 24,
|
|
812
812
|
rx: 12,
|
|
813
813
|
fill: "white",
|
|
814
814
|
fillOpacity: 0.1
|
|
815
|
-
}), /* @__PURE__ */
|
|
815
|
+
}), /* @__PURE__ */ C.createElement("rect", {
|
|
816
816
|
x: 8.25,
|
|
817
817
|
y: 7,
|
|
818
818
|
width: 12.3744,
|
|
@@ -820,7 +820,7 @@ const Vi = (i) => /* @__PURE__ */ m.createElement("svg", {
|
|
|
820
820
|
rx: 0.883884,
|
|
821
821
|
transform: "rotate(45 8.25 7)",
|
|
822
822
|
fill: "white"
|
|
823
|
-
}), /* @__PURE__ */
|
|
823
|
+
}), /* @__PURE__ */ C.createElement("rect", {
|
|
824
824
|
x: 7,
|
|
825
825
|
y: 15.75,
|
|
826
826
|
width: 12.3744,
|
|
@@ -828,39 +828,39 @@ const Vi = (i) => /* @__PURE__ */ m.createElement("svg", {
|
|
|
828
828
|
rx: 0.883884,
|
|
829
829
|
transform: "rotate(-45 7 15.75)",
|
|
830
830
|
fill: "white"
|
|
831
|
-
})),
|
|
831
|
+
})), ln = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
832
832
|
width: 32,
|
|
833
833
|
height: 32,
|
|
834
834
|
viewBox: "0 0 32 32",
|
|
835
835
|
fill: "none",
|
|
836
836
|
xmlns: "http://www.w3.org/2000/svg",
|
|
837
837
|
...i
|
|
838
|
-
}, /* @__PURE__ */
|
|
838
|
+
}, /* @__PURE__ */ C.createElement("rect", {
|
|
839
839
|
width: 32,
|
|
840
840
|
height: 32,
|
|
841
841
|
rx: 16,
|
|
842
842
|
fill: "white"
|
|
843
|
-
}), /* @__PURE__ */
|
|
843
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
844
844
|
d: "M10.4615 12.6875C9.44231 12.6875 8.61538 13.4665 8.61538 14.4266C8.61538 15.3868 9.44231 16.1658 10.4615 16.1658C11.4808 16.1658 12.3077 15.3868 12.3077 14.4266C12.3077 13.4665 11.4808 12.6875 10.4615 12.6875ZM10.4615 16.1658C9.10817 16.1658 8 17.2097 8 18.4846V19.7527C8 19.7527 8.61538 20.2237 10.4615 20.2237C12.3077 20.2237 12.9231 19.7527 12.9231 19.7527V18.4846C12.9231 17.2097 11.8149 16.1658 10.4615 16.1658ZM21.5385 12.6875C20.5192 12.6875 19.6923 13.4665 19.6923 14.4266C19.6923 15.3868 20.5192 16.1658 21.5385 16.1658C22.5577 16.1658 23.3846 15.3868 23.3846 14.4266C23.3846 13.4665 22.5577 12.6875 21.5385 12.6875ZM21.5385 16.1658C20.1851 16.1658 19.0769 17.2097 19.0769 18.4846V19.7527C19.0769 19.7527 19.6923 20.2237 21.5385 20.2237C23.3846 20.2237 24 19.7527 24 19.7527V18.4846C24 17.2097 22.8918 16.1658 21.5385 16.1658ZM16 15.0063C14.9808 15.0063 14.1538 15.7853 14.1538 16.7455C14.1538 17.7056 14.9808 18.4846 16 18.4846C17.0192 18.4846 17.8462 17.7056 17.8462 16.7455C17.8462 15.7853 17.0192 15.0063 16 15.0063ZM16 18.4846C14.6466 18.4846 13.5385 19.5285 13.5385 20.8034V22.0715C13.5385 22.0715 14.1538 22.5425 16 22.5425C17.8462 22.5425 18.4615 22.0715 18.4615 22.0715V20.8034C18.4615 19.5285 17.3534 18.4846 16 18.4846Z",
|
|
845
845
|
fill: "#107D57"
|
|
846
|
-
}), /* @__PURE__ */
|
|
846
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
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
|
+
})), an = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
851
851
|
width: 18,
|
|
852
852
|
height: 18,
|
|
853
853
|
viewBox: "0 0 18 18",
|
|
854
854
|
fill: "none",
|
|
855
855
|
xmlns: "http://www.w3.org/2000/svg",
|
|
856
856
|
...i
|
|
857
|
-
}, /* @__PURE__ */
|
|
857
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
858
858
|
id: "Share"
|
|
859
|
-
}, /* @__PURE__ */
|
|
859
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
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
|
+
}))), cn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
864
864
|
width: 17,
|
|
865
865
|
height: 16,
|
|
866
866
|
viewBox: "0 0 17 16",
|
|
@@ -868,397 +868,397 @@ const Vi = (i) => /* @__PURE__ */ m.createElement("svg", {
|
|
|
868
868
|
xmlns: "http://www.w3.org/2000/svg",
|
|
869
869
|
className: "sc-ANdsN kTVWJE",
|
|
870
870
|
...i
|
|
871
|
-
}, /* @__PURE__ */
|
|
871
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
872
872
|
d: "M6.6665 3.16669H4.99984C4.26346 3.16669 3.6665 3.76364 3.6665 4.50002V11.5C3.6665 12.2364 4.26346 12.8334 4.99984 12.8334H11.9998C12.7362 12.8334 13.3332 12.2364 13.3332 11.5V9.83335",
|
|
873
873
|
stroke: "#ffffff",
|
|
874
874
|
strokeWidth: 1.5,
|
|
875
875
|
strokeLinecap: "round",
|
|
876
876
|
strokeLinejoin: "round"
|
|
877
|
-
}), /* @__PURE__ */
|
|
877
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
878
878
|
d: "M13.3335 6.16669V3.16669H10.3335",
|
|
879
879
|
stroke: "#ffffff",
|
|
880
880
|
strokeWidth: 1.5,
|
|
881
881
|
strokeLinecap: "round",
|
|
882
882
|
strokeLinejoin: "round"
|
|
883
|
-
}), /* @__PURE__ */
|
|
883
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
884
884
|
d: "M13.1668 3.33331L8.3335 8.16665",
|
|
885
885
|
stroke: "#ffffff",
|
|
886
886
|
strokeWidth: 1.5,
|
|
887
887
|
strokeLinecap: "round",
|
|
888
888
|
strokeLinejoin: "round"
|
|
889
|
-
})),
|
|
889
|
+
})), dn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
890
890
|
width: 17,
|
|
891
891
|
height: 18,
|
|
892
892
|
viewBox: "0 0 17 18",
|
|
893
893
|
fill: "none",
|
|
894
894
|
xmlns: "http://www.w3.org/2000/svg",
|
|
895
895
|
...i
|
|
896
|
-
}, /* @__PURE__ */
|
|
896
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
897
897
|
id: "Group"
|
|
898
|
-
}, /* @__PURE__ */
|
|
898
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
899
899
|
id: "Vector",
|
|
900
900
|
d: "M12.5396 12.431L15.8603 9.00169L12.5396 5.57239",
|
|
901
901
|
stroke: "#EB5757",
|
|
902
902
|
strokeWidth: 1.5,
|
|
903
903
|
strokeLinecap: "round",
|
|
904
904
|
strokeLinejoin: "round"
|
|
905
|
-
}), /* @__PURE__ */
|
|
905
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
906
906
|
id: "Vector_2",
|
|
907
907
|
d: "M15.8602 9.00159H5.57227",
|
|
908
908
|
stroke: "#EB5757",
|
|
909
909
|
strokeWidth: 1.5,
|
|
910
910
|
strokeLinecap: "round",
|
|
911
911
|
strokeLinejoin: "round"
|
|
912
|
-
}), /* @__PURE__ */
|
|
912
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
913
913
|
id: "Vector_3",
|
|
914
914
|
d: "M12.431 1L3.2862 1.00229C2.02422 1.00343 1 2.02651 1 3.28849V14.7138C1 15.3201 1.24087 15.9016 1.66961 16.3304C2.09836 16.7591 2.67987 17 3.2862 17H12.5396",
|
|
915
915
|
stroke: "#EB5757",
|
|
916
916
|
strokeWidth: 1.5,
|
|
917
917
|
strokeLinecap: "round",
|
|
918
918
|
strokeLinejoin: "round"
|
|
919
|
-
}))),
|
|
919
|
+
}))), un = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
920
920
|
width: 99,
|
|
921
921
|
height: 96,
|
|
922
922
|
viewBox: "0 0 99 96",
|
|
923
923
|
fill: "none",
|
|
924
924
|
xmlns: "http://www.w3.org/2000/svg",
|
|
925
925
|
...i
|
|
926
|
-
}, /* @__PURE__ */
|
|
926
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
927
927
|
id: "Masters Logo Big"
|
|
928
|
-
}, /* @__PURE__ */
|
|
928
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
929
929
|
id: "Vector",
|
|
930
930
|
d: "M67.4732 4.82378C66.1754 4.41151 64.8776 5.1433 63.5798 5.88539C63.117 6.15337 62.7951 6.60687 62.6844 7.13253L60.6421 16.9035C60.5616 17.2642 60.8836 17.594 61.2357 17.5116C63.3786 17.0065 65.4208 15.0894 67.5738 15.7594C69.9783 16.5118 72.3928 13.3888 74.7972 13.43V2.1543C72.3626 2.1646 69.8776 5.57618 67.4732 4.82378Z",
|
|
931
931
|
fill: "white"
|
|
932
|
-
}), /* @__PURE__ */
|
|
932
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
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
|
+
}))), pn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
937
937
|
width: 16,
|
|
938
938
|
height: 15,
|
|
939
939
|
viewBox: "0 0 16 15",
|
|
940
940
|
fill: "none",
|
|
941
941
|
xmlns: "http://www.w3.org/2000/svg",
|
|
942
942
|
...i
|
|
943
|
-
}, /* @__PURE__ */
|
|
943
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
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
|
+
})), hn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
948
948
|
xmlns: "http://www.w3.org/2000/svg",
|
|
949
949
|
width: 22,
|
|
950
950
|
height: 22,
|
|
951
951
|
viewBox: "0 0 22 22",
|
|
952
952
|
fill: "none",
|
|
953
953
|
...i
|
|
954
|
-
}, /* @__PURE__ */
|
|
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
|
+
})), gn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
958
958
|
width: 12,
|
|
959
959
|
height: 12,
|
|
960
960
|
viewBox: "0 0 12 12",
|
|
961
961
|
fill: "none",
|
|
962
962
|
xmlns: "http://www.w3.org/2000/svg",
|
|
963
963
|
...i
|
|
964
|
-
}, /* @__PURE__ */
|
|
964
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
965
965
|
id: "Trophy"
|
|
966
|
-
}, /* @__PURE__ */
|
|
966
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
967
967
|
id: "Combined Shape",
|
|
968
968
|
fillRule: "evenodd",
|
|
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
|
+
}))), Mn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
973
973
|
width: 16,
|
|
974
974
|
height: 16,
|
|
975
975
|
viewBox: "0 0 16 16",
|
|
976
976
|
fill: "none",
|
|
977
977
|
xmlns: "http://www.w3.org/2000/svg",
|
|
978
978
|
...i
|
|
979
|
-
}, /* @__PURE__ */
|
|
979
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
980
980
|
id: "Trophy"
|
|
981
|
-
}, /* @__PURE__ */
|
|
981
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
982
982
|
id: "Combined Shape",
|
|
983
983
|
fillRule: "evenodd",
|
|
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
|
+
}))), In = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
988
988
|
width: 25,
|
|
989
989
|
height: 24,
|
|
990
990
|
viewBox: "0 0 25 24",
|
|
991
991
|
fill: "none",
|
|
992
992
|
xmlns: "http://www.w3.org/2000/svg",
|
|
993
993
|
...i
|
|
994
|
-
}, /* @__PURE__ */
|
|
994
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
995
995
|
id: "Friends"
|
|
996
|
-
}, /* @__PURE__ */
|
|
996
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
997
997
|
id: "Vector",
|
|
998
998
|
d: "M4.19231 7.03125C2.66346 7.03125 1.42308 8.19973 1.42308 9.63994C1.42308 11.0802 2.66346 12.2486 4.19231 12.2486C5.72115 12.2486 6.96154 11.0802 6.96154 9.63994C6.96154 8.19973 5.72115 7.03125 4.19231 7.03125ZM4.19231 12.2486C2.16226 12.2486 0.5 13.8145 0.5 15.7269V17.629C0.5 17.629 1.42308 18.3356 4.19231 18.3356C6.96154 18.3356 7.88461 17.629 7.88461 17.629V15.7269C7.88461 13.8145 6.22236 12.2486 4.19231 12.2486ZM20.8077 7.03125C19.2788 7.03125 18.0385 8.19973 18.0385 9.63994C18.0385 11.0802 19.2788 12.2486 20.8077 12.2486C22.3365 12.2486 23.5769 11.0802 23.5769 9.63994C23.5769 8.19973 22.3365 7.03125 20.8077 7.03125ZM20.8077 12.2486C18.7776 12.2486 17.1154 13.8145 17.1154 15.7269V17.629C17.1154 17.629 18.0385 18.3356 20.8077 18.3356C23.5769 18.3356 24.5 17.629 24.5 17.629V15.7269C24.5 13.8145 22.8377 12.2486 20.8077 12.2486ZM12.5 10.5095C10.9712 10.5095 9.73077 11.678 9.73077 13.1182C9.73077 14.5584 10.9712 15.7269 12.5 15.7269C14.0288 15.7269 15.2692 14.5584 15.2692 13.1182C15.2692 11.678 14.0288 10.5095 12.5 10.5095ZM12.5 15.7269C10.47 15.7269 8.80769 17.2928 8.80769 19.2051V21.1073C8.80769 21.1073 9.73077 21.8138 12.5 21.8138C15.2692 21.8138 16.1923 21.1073 16.1923 21.1073V19.2051C16.1923 17.2928 14.53 15.7269 12.5 15.7269Z",
|
|
999
999
|
fill: "white"
|
|
1000
|
-
}), /* @__PURE__ */
|
|
1000
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
1001
1001
|
id: "Vector_2",
|
|
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
|
+
}))), mn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1006
1006
|
width: 18,
|
|
1007
1007
|
height: 18,
|
|
1008
1008
|
viewBox: "0 0 18 18",
|
|
1009
1009
|
fill: "none",
|
|
1010
1010
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1011
1011
|
...i
|
|
1012
|
-
}, /* @__PURE__ */
|
|
1012
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
1013
1013
|
id: "Group 483737"
|
|
1014
|
-
}, /* @__PURE__ */
|
|
1014
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
1015
1015
|
id: "Icon / Live"
|
|
1016
|
-
}, /* @__PURE__ */
|
|
1016
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
1017
1017
|
id: "circle-path",
|
|
1018
1018
|
fillRule: "evenodd",
|
|
1019
1019
|
clipRule: "evenodd",
|
|
1020
1020
|
d: "M9 17C4.58172 17 1 13.4183 1 9C1 4.58172 4.58172 1 9 1C13.4183 1 17 4.58172 17 9C17 13.4183 13.4183 17 9 17Z",
|
|
1021
1021
|
stroke: "#107D57"
|
|
1022
|
-
}), /* @__PURE__ */
|
|
1022
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
1023
1023
|
id: "Combined Shape",
|
|
1024
1024
|
fillRule: "evenodd",
|
|
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
|
+
})))), Cn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1029
1029
|
width: 14,
|
|
1030
1030
|
height: 17,
|
|
1031
1031
|
viewBox: "0 0 14 17",
|
|
1032
1032
|
fill: "none",
|
|
1033
1033
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1034
1034
|
...i
|
|
1035
|
-
}, /* @__PURE__ */
|
|
1035
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
1036
1036
|
id: "Icon / Games"
|
|
1037
|
-
}, /* @__PURE__ */
|
|
1037
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
1038
1038
|
id: "Icon / Games_2",
|
|
1039
1039
|
d: "M6.27412 2.68557L6.27411 2.68557C5.62309 2.63368 5.0525 3.12172 5.00064 3.7713L5.00064 3.77134L4.14164 14.5465C4.14163 14.5465 4.14163 14.5465 4.14163 14.5465C4.08978 15.1963 4.57588 15.7681 5.22739 15.82C5.22741 15.82 5.22742 15.82 5.22744 15.82L11.3107 16.3052L11.3108 16.3052C11.9618 16.3571 12.5324 15.869 12.5842 15.2194L12.5842 15.2194L13.4432 4.4443C13.4951 3.79528 13.0091 3.22266 12.3575 3.17076C12.3575 3.17076 12.3574 3.17076 12.3574 3.17076L6.27412 2.68557ZM8.15378 7.95339C8.06822 8.08171 8.00584 8.22011 7.96597 8.36701L7.39679 8.32084C7.47153 7.93067 7.63452 7.64794 7.86868 7.44845C8.15963 7.20058 8.54037 7.08303 9.04377 7.12388C9.36277 7.14976 9.62596 7.23281 9.84206 7.36455L9.84205 7.36458L9.84603 7.36693C10.0639 7.49535 10.2189 7.65832 10.3213 7.85605C10.4234 8.05317 10.4683 8.27793 10.4483 8.53948C10.4345 8.71901 10.392 8.86521 10.3278 8.98465L10.3277 8.98461L10.3242 8.99151C10.2546 9.12905 10.1759 9.23612 10.0908 9.31799L10.0907 9.31793L10.0855 9.32326C9.98974 9.41994 9.85909 9.53313 9.69013 9.66317C9.48159 9.8217 9.31317 9.96772 9.19518 10.0999L9.19509 10.0998L9.18961 10.1063C9.10272 10.2092 9.04052 10.3244 9.00219 10.449L8.46556 10.4054C8.49427 10.3132 8.5356 10.2357 8.58714 10.17C8.70826 10.0178 8.8862 9.84033 9.1277 9.63726C9.33755 9.46764 9.50811 9.30895 9.63088 9.16198L9.39343 8.96362L9.63088 9.16198C9.77451 8.99005 9.86011 8.79 9.87715 8.56784C9.89609 8.32086 9.82923 8.08941 9.6571 7.90614C9.48861 7.71582 9.25493 7.62752 9.00193 7.60699L8.97691 7.91539L9.00193 7.60699C8.67115 7.58016 8.35479 7.66584 8.15766 7.94771L8.1576 7.94766L8.15378 7.95339ZM8.84046 11.5393L8.84024 11.5394L8.84882 11.5493C8.9033 11.6122 8.9274 11.681 8.92009 11.7763C8.91337 11.8639 8.88049 11.9307 8.81121 11.9916L8.81117 11.9915L8.8063 11.996C8.74838 12.0491 8.68489 12.0727 8.59225 12.0652C8.49804 12.0575 8.43752 12.0248 8.38914 11.9687C8.34013 11.9019 8.31721 11.826 8.32494 11.7253L8.01644 11.7016L8.32494 11.7253C8.33288 11.6218 8.36807 11.5555 8.42399 11.5042L8.2147 11.2763L8.42377 11.5044C8.48168 11.4513 8.54518 11.4277 8.63782 11.4352C8.73051 11.4427 8.79051 11.4764 8.84046 11.5393Z",
|
|
1040
1040
|
stroke: "#107D57",
|
|
1041
1041
|
strokeWidth: 0.618817
|
|
1042
|
-
}), /* @__PURE__ */
|
|
1042
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
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
|
+
}))), yn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1047
1047
|
width: 19,
|
|
1048
1048
|
height: 14,
|
|
1049
1049
|
viewBox: "0 0 19 14",
|
|
1050
1050
|
fill: "none",
|
|
1051
1051
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1052
1052
|
...i
|
|
1053
|
-
}, /* @__PURE__ */
|
|
1053
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
1054
1054
|
id: "Icon / LeaderBoard"
|
|
1055
|
-
}, /* @__PURE__ */
|
|
1055
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
1056
1056
|
id: "Combined Shape",
|
|
1057
1057
|
fillRule: "evenodd",
|
|
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
|
+
}))), Nn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1062
1062
|
width: 16,
|
|
1063
1063
|
height: 16,
|
|
1064
1064
|
viewBox: "0 0 16 16",
|
|
1065
1065
|
fill: "none",
|
|
1066
1066
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1067
1067
|
...i
|
|
1068
|
-
}, /* @__PURE__ */
|
|
1068
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
1069
1069
|
id: "Icon/Insight"
|
|
1070
|
-
}, /* @__PURE__ */
|
|
1070
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
1071
1071
|
id: "Fill-1",
|
|
1072
1072
|
fillRule: "evenodd",
|
|
1073
1073
|
clipRule: "evenodd",
|
|
1074
1074
|
d: "M9.3336 9.33644C8.59749 10.0725 7.40264 10.0725 6.66652 9.33644C5.93041 8.60039 5.93041 7.40565 6.66652 6.6696C7.40264 5.93355 8.59749 5.93355 9.3336 6.6696C10.0697 7.40565 10.0697 8.60039 9.3336 9.33644Z",
|
|
1075
1075
|
fill: "#107D57"
|
|
1076
|
-
}), /* @__PURE__ */
|
|
1076
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
1077
1077
|
id: "Fill-3",
|
|
1078
1078
|
fillRule: "evenodd",
|
|
1079
1079
|
clipRule: "evenodd",
|
|
1080
1080
|
d: "M12.3345 12.3306C11.7818 12.8833 10.8863 12.8827 10.3342 12.3306C9.78211 11.7786 9.78145 10.8832 10.3342 10.3305C10.8869 9.77781 11.7824 9.77847 12.3345 10.3305C12.8866 10.8825 12.8873 11.7779 12.3345 12.3306Z",
|
|
1081
1081
|
fill: "#107D57"
|
|
1082
|
-
}), /* @__PURE__ */
|
|
1082
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
1083
1083
|
id: "Fill-5",
|
|
1084
1084
|
fillRule: "evenodd",
|
|
1085
1085
|
clipRule: "evenodd",
|
|
1086
1086
|
d: "M5.66586 5.66365C5.11311 6.21635 4.21831 6.21635 3.66556 5.66365C3.11281 5.11094 3.11281 4.21622 3.66556 3.66352C4.21831 3.11081 5.11311 3.11081 5.66586 3.66352C6.21861 4.21622 6.21861 5.11094 5.66586 5.66365Z",
|
|
1087
1087
|
fill: "#107D57"
|
|
1088
|
-
}), /* @__PURE__ */
|
|
1088
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
1089
1089
|
id: "Fill-7",
|
|
1090
1090
|
fillRule: "evenodd",
|
|
1091
1091
|
clipRule: "evenodd",
|
|
1092
1092
|
d: "M12.3345 5.66365C11.7818 6.21635 10.8869 6.21635 10.3342 5.66365C9.78145 5.11094 9.78145 4.21622 10.3342 3.66352C10.8869 3.11081 11.7818 3.11081 12.3345 3.66352C12.8873 4.21622 12.8873 5.11094 12.3345 5.66365Z",
|
|
1093
1093
|
fill: "#107D57"
|
|
1094
|
-
}), /* @__PURE__ */
|
|
1094
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
1095
1095
|
id: "Fill-9",
|
|
1096
1096
|
fillRule: "evenodd",
|
|
1097
1097
|
clipRule: "evenodd",
|
|
1098
1098
|
d: "M5.66586 12.3306C5.11378 12.8827 4.21831 12.8833 3.66556 12.3306C3.11281 11.7779 3.11347 10.8825 3.66556 10.3305C4.21764 9.77847 5.11311 9.77781 5.66586 10.3305C6.21861 10.8832 6.21795 11.7786 5.66586 12.3306Z",
|
|
1099
1099
|
fill: "#107D57"
|
|
1100
|
-
}), /* @__PURE__ */
|
|
1100
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
1101
1101
|
id: "Fill-11",
|
|
1102
1102
|
opacity: 0.5,
|
|
1103
1103
|
fillRule: "evenodd",
|
|
1104
1104
|
clipRule: "evenodd",
|
|
1105
1105
|
d: "M8.66683 1.99964C8.29877 2.36766 7.70135 2.36766 7.33329 1.99964C6.96524 1.63162 6.96524 1.03425 7.33329 0.666221C7.70135 0.298198 8.29877 0.298198 8.66683 0.666221C9.03489 1.03425 9.03489 1.63162 8.66683 1.99964Z",
|
|
1106
1106
|
fill: "#107D57"
|
|
1107
|
-
}), /* @__PURE__ */
|
|
1107
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
1108
1108
|
id: "Fill-13",
|
|
1109
1109
|
opacity: 0.5,
|
|
1110
1110
|
fillRule: "evenodd",
|
|
1111
1111
|
clipRule: "evenodd",
|
|
1112
1112
|
d: "M15.3332 8.66676C14.9652 9.03478 14.3684 9.03545 13.9997 8.66675C13.631 8.29806 13.6316 7.70136 13.9997 7.33334C14.3677 6.96531 14.9645 6.96464 15.3332 7.33334C15.7019 7.70203 15.7013 8.29873 15.3332 8.66676Z",
|
|
1113
1113
|
fill: "#107D57"
|
|
1114
|
-
}), /* @__PURE__ */
|
|
1114
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
1115
1115
|
id: "Fill-15",
|
|
1116
1116
|
opacity: 0.5,
|
|
1117
1117
|
fillRule: "evenodd",
|
|
1118
1118
|
clipRule: "evenodd",
|
|
1119
1119
|
d: "M8.66683 15.3339C8.29811 15.7026 7.70202 15.7026 7.33329 15.3339C6.96457 14.9652 6.96457 14.3691 7.33329 14.0004C7.70202 13.6318 8.29811 13.6318 8.66683 14.0005C9.03555 14.3691 9.03555 14.9652 8.66683 15.3339Z",
|
|
1120
1120
|
fill: "#107D57"
|
|
1121
|
-
}), /* @__PURE__ */
|
|
1121
|
+
}), /* @__PURE__ */ C.createElement("path", {
|
|
1122
1122
|
id: "Fill-17",
|
|
1123
1123
|
opacity: 0.5,
|
|
1124
1124
|
fillRule: "evenodd",
|
|
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
|
+
}))), fn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1129
1129
|
width: 16,
|
|
1130
1130
|
height: 16,
|
|
1131
1131
|
viewBox: "0 0 16 16",
|
|
1132
1132
|
fill: "none",
|
|
1133
1133
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1134
1134
|
...i
|
|
1135
|
-
}, /* @__PURE__ */
|
|
1135
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
1136
1136
|
id: "Poll"
|
|
1137
|
-
}, /* @__PURE__ */
|
|
1137
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
1138
1138
|
id: "Notification/Icon/Poll",
|
|
1139
1139
|
fillRule: "evenodd",
|
|
1140
1140
|
clipRule: "evenodd",
|
|
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
|
+
}))), An = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1145
1145
|
width: 16,
|
|
1146
1146
|
height: 16,
|
|
1147
1147
|
viewBox: "0 0 16 16",
|
|
1148
1148
|
fill: "none",
|
|
1149
1149
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1150
1150
|
...i
|
|
1151
|
-
}, /* @__PURE__ */
|
|
1151
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
1152
1152
|
id: "Icon/Notification/Prediciton"
|
|
1153
|
-
}, /* @__PURE__ */
|
|
1153
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
1154
1154
|
id: "Icon/Prediction",
|
|
1155
1155
|
fillRule: "evenodd",
|
|
1156
1156
|
clipRule: "evenodd",
|
|
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
|
+
}))), wn = (i) => /* @__PURE__ */ C.createElement("svg", {
|
|
1161
1161
|
width: 16,
|
|
1162
1162
|
height: 16,
|
|
1163
1163
|
viewBox: "0 0 16 16",
|
|
1164
1164
|
fill: "none",
|
|
1165
1165
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1166
1166
|
...i
|
|
1167
|
-
}, /* @__PURE__ */
|
|
1167
|
+
}, /* @__PURE__ */ C.createElement("g", {
|
|
1168
1168
|
id: "Icon/Notification/Trivia"
|
|
1169
|
-
}, /* @__PURE__ */
|
|
1169
|
+
}, /* @__PURE__ */ C.createElement("path", {
|
|
1170
1170
|
id: "Notification/Icon/Trivia",
|
|
1171
1171
|
fillRule: "evenodd",
|
|
1172
1172
|
clipRule: "evenodd",
|
|
1173
1173
|
d: "M2.01663 1.3808C0.739913 1.55586 -0.153153 2.73276 0.021912 4.00948L1.3808 13.9196C1.55586 15.1963 2.73276 16.0894 4.00948 15.9143L13.9196 14.5554C15.1963 14.3803 16.0894 13.2034 15.9143 11.9267L14.5554 2.01663C14.3803 0.739913 13.2034 -0.153153 11.9267 0.021912L2.01663 1.3808ZM9.59613 3.788C9.11431 3.46991 8.47813 3.30151 7.7566 3.30151C7.54377 3.30151 7.32625 3.31671 7.10872 3.34478C6.38836 3.44067 5.68901 3.79034 5.18965 4.30138C4.68445 4.82062 4.4377 5.45563 4.51722 6.04151C4.57452 6.4742 4.90078 6.7537 5.34635 6.7537C5.39429 6.7537 5.44341 6.7502 5.49136 6.74435C6.08778 6.66483 6.21642 6.25436 6.34036 5.85675L6.34045 5.85648C6.48192 5.40401 6.61534 4.97731 7.38585 4.87444C7.46537 4.86391 7.54138 4.85806 7.61506 4.85806C8.16939 4.85806 8.51436 5.15042 8.58454 5.68252C8.65353 6.20293 8.24307 6.61807 7.80684 7.0566L7.80393 7.05954C7.31582 7.55231 6.7639 8.1095 6.86895 8.90083C6.89585 9.10548 6.9859 9.29493 7.12272 9.43644C7.27826 9.599 7.4829 9.68436 7.71331 9.68436C7.75541 9.68436 7.79868 9.68203 7.84311 9.67618C8.46691 9.59324 8.55162 9.23139 8.63338 8.8821L8.63365 8.88097L8.63661 8.86859C8.66723 8.7403 8.69877 8.60813 8.75995 8.48804C8.84649 8.31613 9.06283 8.11265 9.31428 7.87875C9.9142 7.31858 10.734 6.55143 10.582 5.41589C10.4872 4.70603 10.1551 4.15757 9.59611 3.78802L9.59613 3.788ZM8.11605 10.28C8.06927 10.28 8.02132 10.2836 7.97454 10.2894C7.38396 10.3689 6.96765 10.9127 7.04599 11.5033C7.11733 12.0377 7.57808 12.4412 8.1172 12.4412C8.16397 12.4412 8.21192 12.4377 8.25987 12.4318C8.85045 12.3523 9.2656 11.8085 9.18842 11.2179C9.11591 10.6823 8.65517 10.28 8.11605 10.28Z",
|
|
1174
1174
|
fill: "white",
|
|
1175
1175
|
fillOpacity: 0.5
|
|
1176
|
-
}))),
|
|
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":
|
|
1176
|
+
}))), T1 = {
|
|
1177
|
+
"invite-game-icon": In,
|
|
1178
|
+
"icon-trophy": Mn,
|
|
1179
|
+
"icon-trophy-green": gn,
|
|
1180
|
+
"icon-trivia": wn,
|
|
1181
|
+
"icon-thumb-down": hn,
|
|
1182
|
+
"icon-star": pn,
|
|
1183
|
+
"icon-prediction": An,
|
|
1184
|
+
"icon-insight": Nn,
|
|
1185
|
+
"icon-poll": fn,
|
|
1186
|
+
"icon-masters-logo": un,
|
|
1187
|
+
"icon-logout": dn,
|
|
1188
|
+
"icon-link": cn,
|
|
1189
|
+
"icon-invite-arrow": an,
|
|
1190
|
+
"icon-friends": ln,
|
|
1191
|
+
"icon-exit": on,
|
|
1192
|
+
"icon-default-user-avatar": sn,
|
|
1193
|
+
"icon-cross": Wi,
|
|
1194
|
+
"icon-close": rn,
|
|
1195
|
+
"icon-close-btn-white": nn,
|
|
1196
|
+
"icon-circle-arrow-right": tn,
|
|
1197
|
+
"icon-chevron": en,
|
|
1198
|
+
"icon-chevron-white-left": Ki,
|
|
1199
|
+
"icon-chevron-left": Xi,
|
|
1200
|
+
"icon-check-white": Ji,
|
|
1201
|
+
"icon-check-green": qi,
|
|
1202
|
+
"icon-btn-channels": mn,
|
|
1203
|
+
"icon-btn-feature-groups": Cn,
|
|
1204
|
+
"icon-btn-leaderboard": yn,
|
|
1205
|
+
"icon-check": Fi,
|
|
1206
|
+
"icon-arrow": Hi
|
|
1207
1207
|
}, X = ({
|
|
1208
1208
|
name: i,
|
|
1209
1209
|
style: r,
|
|
1210
1210
|
className: l,
|
|
1211
1211
|
...p
|
|
1212
1212
|
}) => {
|
|
1213
|
-
if (!
|
|
1213
|
+
if (!T1[i])
|
|
1214
1214
|
return /* @__PURE__ */ o("span", {
|
|
1215
1215
|
children: i
|
|
1216
1216
|
});
|
|
1217
|
-
const g =
|
|
1217
|
+
const g = T1[i];
|
|
1218
1218
|
return /* @__PURE__ */ o(g, {
|
|
1219
1219
|
style: r,
|
|
1220
1220
|
className: l,
|
|
1221
1221
|
...p
|
|
1222
1222
|
});
|
|
1223
1223
|
};
|
|
1224
|
-
const
|
|
1224
|
+
const Dn = () => X, En = () => X, Tn = /* @__PURE__ */ d("div")({
|
|
1225
1225
|
name: "s",
|
|
1226
1226
|
class: "s1lblda3",
|
|
1227
1227
|
propsAsIs: !1
|
|
1228
|
-
}),
|
|
1228
|
+
}), Ln = /* @__PURE__ */ d("div")({
|
|
1229
1229
|
name: "a",
|
|
1230
1230
|
class: "ascvb2g",
|
|
1231
1231
|
propsAsIs: !1
|
|
1232
|
-
}),
|
|
1232
|
+
}), jn = /* @__PURE__ */ d("div")({
|
|
1233
1233
|
name: "p",
|
|
1234
1234
|
class: "p17rl8zy",
|
|
1235
1235
|
propsAsIs: !1
|
|
1236
|
-
}),
|
|
1236
|
+
}), vn = /* @__PURE__ */ d("div")({
|
|
1237
1237
|
name: "l",
|
|
1238
1238
|
class: "l1vvttbn",
|
|
1239
1239
|
propsAsIs: !1
|
|
1240
|
-
}),
|
|
1240
|
+
}), qe = /* @__PURE__ */ d(Dn())({
|
|
1241
1241
|
name: "c",
|
|
1242
1242
|
class: "c6fk2ph",
|
|
1243
1243
|
propsAsIs: !0
|
|
1244
|
-
}),
|
|
1244
|
+
}), xn = /* @__PURE__ */ d(En())({
|
|
1245
1245
|
name: "d",
|
|
1246
1246
|
class: "d1rdm136",
|
|
1247
1247
|
propsAsIs: !0
|
|
1248
|
-
}),
|
|
1248
|
+
}), zn = /* @__PURE__ */ d("div")({
|
|
1249
1249
|
name: "f",
|
|
1250
1250
|
class: "fwqnnel",
|
|
1251
1251
|
propsAsIs: !1
|
|
1252
|
-
}),
|
|
1252
|
+
}), kn = /* @__PURE__ */ d("div")({
|
|
1253
1253
|
name: "u",
|
|
1254
1254
|
class: "ucyxnlg",
|
|
1255
1255
|
propsAsIs: !1
|
|
1256
|
-
}),
|
|
1257
|
-
[
|
|
1258
|
-
[
|
|
1259
|
-
[
|
|
1260
|
-
[
|
|
1261
|
-
},
|
|
1256
|
+
}), Sn = {
|
|
1257
|
+
[je.LOST]: /* @__PURE__ */ o(qe, { name: "icon-cross" }),
|
|
1258
|
+
[je.WON]: /* @__PURE__ */ o(qe, { name: "icon-check" }),
|
|
1259
|
+
[je.UNSET]: void 0,
|
|
1260
|
+
[je.DNP]: /* @__PURE__ */ o(qe, { name: "icon-arrow" })
|
|
1261
|
+
}, bn = ({
|
|
1262
1262
|
questionId: i,
|
|
1263
1263
|
questionType: r,
|
|
1264
1264
|
questionStatus: l,
|
|
@@ -1267,127 +1267,127 @@ const An = () => X, wn = () => X, Dn = /* @__PURE__ */ d("div")({
|
|
|
1267
1267
|
openQuestion: h,
|
|
1268
1268
|
status: M
|
|
1269
1269
|
}) => {
|
|
1270
|
-
const a =
|
|
1271
|
-
return a ? /* @__PURE__ */ y(
|
|
1272
|
-
/* @__PURE__ */ y(
|
|
1273
|
-
/* @__PURE__ */ y(
|
|
1274
|
-
/* @__PURE__ */ o(
|
|
1275
|
-
/* @__PURE__ */ y(
|
|
1270
|
+
const a = G1[r], I = Sn[M];
|
|
1271
|
+
return a ? /* @__PURE__ */ y(Tn, { onClick: () => h == null ? void 0 : h(i), children: [
|
|
1272
|
+
/* @__PURE__ */ y(kn, { children: [
|
|
1273
|
+
/* @__PURE__ */ y(Ln, { children: [
|
|
1274
|
+
/* @__PURE__ */ o(xn, { name: a.iconName }),
|
|
1275
|
+
/* @__PURE__ */ y(zn, { children: [
|
|
1276
1276
|
a.label,
|
|
1277
|
-
r === Y.TRIVIA && l ===
|
|
1277
|
+
r === Y.TRIVIA && l === It.RESOLVED && " • Expired"
|
|
1278
1278
|
] })
|
|
1279
1279
|
] }),
|
|
1280
|
-
/* @__PURE__ */ o(
|
|
1280
|
+
/* @__PURE__ */ o(jn, { children: p || "" })
|
|
1281
1281
|
] }),
|
|
1282
|
-
/* @__PURE__ */ o(
|
|
1282
|
+
/* @__PURE__ */ o(vn, { children: I || (g ? /* @__PURE__ */ o(Gi, { children: "Play" }) : null) })
|
|
1283
1283
|
] }) : null;
|
|
1284
1284
|
};
|
|
1285
|
-
const
|
|
1285
|
+
const On = /* @__PURE__ */ d("div")({
|
|
1286
1286
|
name: "t",
|
|
1287
1287
|
class: "t19vr3p1",
|
|
1288
1288
|
propsAsIs: !1
|
|
1289
|
-
}),
|
|
1290
|
-
const
|
|
1289
|
+
}), H1 = ({ questions: i, openQuestion: r }) => /* @__PURE__ */ o(On, { children: i == null ? void 0 : i.map((l) => /* @__PURE__ */ o(bn, { openQuestion: r, ...l }, l.questionId)) }), F1 = (i) => i.split(/\s+/).map((r) => r[0]).join("").toUpperCase(), Bn = (i) => i ? i.toLocaleString("en-US") : "0";
|
|
1290
|
+
const Rn = /* @__PURE__ */ d("div")({
|
|
1291
1291
|
name: "t",
|
|
1292
1292
|
class: "taj61ja",
|
|
1293
1293
|
propsAsIs: !1
|
|
1294
|
-
}),
|
|
1294
|
+
}), Un = /* @__PURE__ */ d("div")({
|
|
1295
1295
|
name: "r",
|
|
1296
1296
|
class: "r19fxewd",
|
|
1297
1297
|
propsAsIs: !1
|
|
1298
|
-
}),
|
|
1298
|
+
}), $n = /* @__PURE__ */ d("div")({
|
|
1299
1299
|
name: "i",
|
|
1300
1300
|
class: "i1whkbqh",
|
|
1301
1301
|
propsAsIs: !1
|
|
1302
|
-
}), L1 = ({ indicator: i, title: r }) => /* @__PURE__ */ y(
|
|
1303
|
-
/* @__PURE__ */ o(
|
|
1304
|
-
/* @__PURE__ */ o(
|
|
1302
|
+
}), L1 = ({ indicator: i, title: r }) => /* @__PURE__ */ y(Rn, { children: [
|
|
1303
|
+
/* @__PURE__ */ o(Un, { children: r }),
|
|
1304
|
+
/* @__PURE__ */ o($n, { children: i })
|
|
1305
1305
|
] });
|
|
1306
|
-
const
|
|
1306
|
+
const Qn = /* @__PURE__ */ d("div")({
|
|
1307
1307
|
name: "i",
|
|
1308
1308
|
class: "i4lbhzs",
|
|
1309
1309
|
propsAsIs: !1
|
|
1310
|
-
}),
|
|
1310
|
+
}), Yn = /* @__PURE__ */ d("div")({
|
|
1311
1311
|
name: "o",
|
|
1312
1312
|
class: "ordquhq",
|
|
1313
1313
|
propsAsIs: !1
|
|
1314
|
-
}),
|
|
1314
|
+
}), Zn = /* @__PURE__ */ d("div")({
|
|
1315
1315
|
name: "n",
|
|
1316
1316
|
class: "nwzed99",
|
|
1317
1317
|
propsAsIs: !1
|
|
1318
|
-
}),
|
|
1319
|
-
/* @__PURE__ */ o(
|
|
1320
|
-
/* @__PURE__ */ o(
|
|
1318
|
+
}), ze = ({ indicator: i, title: r }) => /* @__PURE__ */ y(Qn, { children: [
|
|
1319
|
+
/* @__PURE__ */ o(Yn, { children: i }),
|
|
1320
|
+
/* @__PURE__ */ o(Zn, { children: r })
|
|
1321
1321
|
] });
|
|
1322
|
-
const
|
|
1322
|
+
const Pn = /* @__PURE__ */ d("div")({
|
|
1323
1323
|
name: "o",
|
|
1324
1324
|
class: "o15y0waw",
|
|
1325
1325
|
propsAsIs: !1
|
|
1326
|
-
}),
|
|
1326
|
+
}), _n = /* @__PURE__ */ d("div")({
|
|
1327
1327
|
name: "i",
|
|
1328
1328
|
class: "ihjewwf",
|
|
1329
1329
|
propsAsIs: !1
|
|
1330
|
-
}),
|
|
1330
|
+
}), Vn = /* @__PURE__ */ d("div")({
|
|
1331
1331
|
name: "n",
|
|
1332
1332
|
class: "n10e9lv8",
|
|
1333
1333
|
propsAsIs: !1
|
|
1334
|
-
}),
|
|
1334
|
+
}), Gn = /* @__PURE__ */ d("div")({
|
|
1335
1335
|
name: "r",
|
|
1336
1336
|
class: "r13bxv",
|
|
1337
1337
|
propsAsIs: !1
|
|
1338
|
-
}),
|
|
1338
|
+
}), Hn = /* @__PURE__ */ d("img")({
|
|
1339
1339
|
name: "a",
|
|
1340
1340
|
class: "a1fi59c9",
|
|
1341
1341
|
propsAsIs: !1
|
|
1342
|
-
}),
|
|
1342
|
+
}), Fn = /* @__PURE__ */ d("div")({
|
|
1343
1343
|
name: "s",
|
|
1344
1344
|
class: "s1kkihge",
|
|
1345
1345
|
propsAsIs: !1
|
|
1346
|
-
}),
|
|
1346
|
+
}), Wn = /* @__PURE__ */ d("div")({
|
|
1347
1347
|
name: "c",
|
|
1348
1348
|
class: "cy4f4t",
|
|
1349
1349
|
propsAsIs: !1
|
|
1350
|
-
}),
|
|
1350
|
+
}), qn = /* @__PURE__ */ d("div")({
|
|
1351
1351
|
name: "p",
|
|
1352
1352
|
class: "p18cnlx1",
|
|
1353
1353
|
propsAsIs: !1
|
|
1354
|
-
}),
|
|
1354
|
+
}), Jn = /* @__PURE__ */ d("img")({
|
|
1355
1355
|
name: "l",
|
|
1356
1356
|
class: "lboqgs5",
|
|
1357
1357
|
propsAsIs: !1
|
|
1358
|
-
}),
|
|
1358
|
+
}), Xn = /* @__PURE__ */ d("div")({
|
|
1359
1359
|
name: "d",
|
|
1360
1360
|
class: "d1oaal4",
|
|
1361
1361
|
propsAsIs: !1
|
|
1362
|
-
}),
|
|
1362
|
+
}), Kn = /* @__PURE__ */ d("div")({
|
|
1363
1363
|
name: "x",
|
|
1364
1364
|
class: "x1yzgo0u",
|
|
1365
1365
|
propsAsIs: !1
|
|
1366
|
-
}),
|
|
1366
|
+
}), er = /* @__PURE__ */ d("div")({
|
|
1367
1367
|
name: "f",
|
|
1368
1368
|
class: "f1l9i8s8",
|
|
1369
1369
|
propsAsIs: !1
|
|
1370
|
-
}),
|
|
1370
|
+
}), tr = /* @__PURE__ */ d("div")({
|
|
1371
1371
|
name: "g",
|
|
1372
1372
|
class: "g4cgl4u",
|
|
1373
1373
|
propsAsIs: !1
|
|
1374
|
-
}),
|
|
1374
|
+
}), ir = /* @__PURE__ */ d("div")({
|
|
1375
1375
|
name: "h",
|
|
1376
1376
|
class: "h1qn1tmd",
|
|
1377
1377
|
propsAsIs: !1
|
|
1378
|
-
}),
|
|
1378
|
+
}), nr = /* @__PURE__ */ d("div")({
|
|
1379
1379
|
name: "u",
|
|
1380
1380
|
class: "u1gsbhq4",
|
|
1381
1381
|
propsAsIs: !1
|
|
1382
|
-
}),
|
|
1382
|
+
}), rr = /* @__PURE__ */ d("div")({
|
|
1383
1383
|
name: "m",
|
|
1384
1384
|
class: "mvj8oco",
|
|
1385
1385
|
propsAsIs: !1
|
|
1386
|
-
}),
|
|
1386
|
+
}), sr = /* @__PURE__ */ d("button")({
|
|
1387
1387
|
name: "v",
|
|
1388
1388
|
class: "viqiaf2",
|
|
1389
1389
|
propsAsIs: !1
|
|
1390
|
-
}),
|
|
1390
|
+
}), or = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlRyb3BoeSI+CjxwYXRoIGlkPSJDb21iaW5lZCBTaGFwZSIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zLjY5MTk3IDQuNjY2NjJDMy42OTE5NyA1Ljk5NzA1IDMuOTI5MTQgNy4xNzc4NyA0LjQwMzUgOC4yMDkxMkMzLjQ5OTY2IDguMDI0NTEgMi43NDQ4NyA3LjY2NDg2IDIuMTM5MSA3LjEzMDE0QzEuNTMzMzMgNi41OTU0MiAxLjIzMDQ2IDYuMDc5OCAxLjIzMDQ2IDUuNTgzMjhWNC42NjY2MkgzLjY5MTk3Wk0xNC43Njg2IDQuNjY2NjJWNS41ODMyOEMxNC43Njg2IDYuMDc5OCAxNC40NjU4IDYuNTk1NDIgMTMuODYgNy4xMzAxNEMxMy4yNTQyIDcuNjY0ODYgMTIuNDk5NCA4LjAyNDUxIDExLjU5NTYgOC4yMDkxMkMxMi4wNjk5IDcuMTc3ODcgMTIuMzA3MSA1Ljk5NzA1IDEyLjMwNzEgNC42NjY2MkgxNC43Njg2Wk0xNS45OTk4IDUuNTgzMjlWNC4zNjEwOEMxNS45OTk4IDQuMTA2NDUgMTUuOTEwMSAzLjg5MDAyIDE1LjczMDYgMy43MTE3OEMxNS41NTExIDMuNTMzNTQgMTUuMzMzMiAzLjQ0NDQyIDE1LjA3NjggMy40NDQ0MkgxMi4zMDc2VjIuNTI3NzZDMTIuMzA3NiAyLjEwNzYzIDEyLjE1NjkgMS43NDc5NyAxMS44NTU2IDEuNDQ4NzhDMTEuNTU0NCAxLjE0OTU5IDExLjE5MjIgMSAxMC43NjkxIDFINS4yMzA3MkM0LjgwNzY0IDEgNC40NDU0NyAxLjE0OTU5IDQuMTQ0MTkgMS40NDg3OEMzLjg0MjkxIDEuNzQ3OTcgMy42OTIyNyAyLjEwNzYzIDMuNjkyMjcgMi41Mjc3NlYzLjQ0NDQySDAuOTIzMDY4QzAuNjY2NjU5IDMuNDQ0NDIgMC40NDg3MTQgMy41MzM1NCAwLjI2OTIyOCAzLjcxMTc4QzAuMDg5NzQxOCAzLjg5MDAyIDAgNC4xMDY0NSAwIDQuMzYxMDhWNS41ODMyOUMwIDYuMDM1MjUgMC4xMzMwMSA2LjQ5MDM5IDAuMzk5MDM0IDYuOTQ4NzJDMC42NjUwNTkgNy40MDcwNSAxLjAyNDAzIDcuODIwODIgMS40NzU5NSA4LjE5MDAzQzEuOTI3ODcgOC41NTkyNCAyLjQ4MjM0IDguODY5NTcgMy4xMzkzOSA5LjEyMTAxQzMuNzk2NDQgOS4zNzI0NiA0LjQ4NzEzIDkuNTE0MDkgNS4yMTE0OSA5LjU0NTkyQzUuNDgwNzEgOS44ODk2NyA1Ljc4NTIgMTAuMTkyIDYuMTI0OTQgMTAuNDUzQzYuMzY4NTMgMTAuNjY5NSA2LjUzNjc5IDEwLjkwMDIgNi42Mjk3NCAxMS4xNDUzQzYuNzIyNjkgMTEuMzkwNCA2Ljc2OTE2IDExLjY3NTIgNi43NjkxNiAxMS45OTk5QzYuNzY5MTYgMTIuMzQzNiA2LjY3MTQxIDEyLjYzMzMgNi40NzU5IDEyLjg2ODhDNi4yODAzOCAxMy4xMDQzIDUuOTY3ODkgMTMuMjIyMSA1LjUzODQxIDEzLjIyMjFDNS4wNTc2NCAxMy4yMjIxIDQuNjI5NzYgMTMuMzY2OSA0LjI1NDc2IDEzLjY1NjZDMy44Nzk3NyAxMy45NDYyIDMuNjkyMjcgMTQuMzEwNiAzLjY5MjI3IDE0Ljc0OTlWMTUuMzYxQzMuNjkyMjcgMTUuNDUwMSAzLjcyMTEyIDE1LjUyMzMgMy43Nzg4MSAxNS41ODA2QzMuODM2NSAxNS42Mzc5IDMuOTEwMjIgMTUuNjY2NSAzLjk5OTk2IDE1LjY2NjVIMTEuOTk5OUMxMi4wODk2IDE1LjY2NjUgMTIuMTYzMyAxNS42Mzc5IDEyLjIyMSAxNS41ODA2QzEyLjI3ODcgMTUuNTIzMyAxMi4zMDc2IDE1LjQ1MDEgMTIuMzA3NiAxNS4zNjFWMTQuNzQ5OUMxMi4zMDc2IDE0LjMxMDYgMTIuMTIwMSAxMy45NDYyIDExLjc0NTEgMTMuNjU2NkMxMS4zNzAxIDEzLjM2NjkgMTAuOTQyMiAxMy4yMjIxIDEwLjQ2MTQgMTMuMjIyMUMxMC4wMzE5IDEzLjIyMjEgOS43MTk0NSAxMy4xMDQzIDkuNTIzOTQgMTIuODY4OEM5LjMyODQzIDEyLjYzMzMgOS4yMzA2OCAxMi4zNDM2IDkuMjMwNjggMTEuOTk5OUM5LjIzMDY4IDExLjY3NTIgOS4yNzcxNSAxMS4zOTA0IDkuMzcwMSAxMS4xNDUzQzkuNDYzMDUgMTAuOTAwMiA5LjYzMTMxIDEwLjY2OTUgOS44NzQ5IDEwLjQ1M0MxMC4yMTQ2IDEwLjE5MiAxMC41MTkxIDkuODg5NjcgMTAuNzg4NCA5LjU0NTkyQzExLjUxMjcgOS41MTQwOSAxMi4yMDM0IDkuMzcyNDYgMTIuODYwNCA5LjEyMTAxQzEzLjUxNzUgOC44Njk1NyAxNC4wNzIgOC41NTkyNCAxNC41MjM5IDguMTkwMDNDMTQuOTc1OCA3LjgyMDgyIDE1LjMzNDggNy40MDcwNSAxNS42MDA4IDYuOTQ4NzJDMTUuODY2OCA2LjQ5MDM5IDE1Ljk5OTggNi4wMzUyNSAxNS45OTk4IDUuNTgzMjlaTTYuNzYwNDcgNy4xNzk4TDguMDUxMDkgNi40OTk5N0w5LjM0MTcgNy4xNzk4TDkuMDk1MjEgNS43Mzk4OUwxMC4xMzkzIDQuNzIwMTVMOC42OTYzOSA0LjUxMDA3TDguMDUxMDkgMy4yTDcuNDA1NzggNC41MTAwN0w1Ljk2MjgzIDQuNzIwMTVMNy4wMDY5NiA1LjczOTg5TDYuNzYwNDcgNy4xNzk4WiIgZmlsbD0iI0YyQzk0QyIvPgo8L2c+Cjwvc3ZnPgo=", W1 = ({
|
|
1391
1391
|
avatar: i,
|
|
1392
1392
|
name: r,
|
|
1393
1393
|
points: l,
|
|
@@ -1398,23 +1398,23 @@ const Yn = /* @__PURE__ */ d("div")({
|
|
|
1398
1398
|
incorrect: a,
|
|
1399
1399
|
inTop: I,
|
|
1400
1400
|
average: N
|
|
1401
|
-
}) => /* @__PURE__ */ y(
|
|
1402
|
-
/* @__PURE__ */ o(
|
|
1403
|
-
/* @__PURE__ */ y(
|
|
1404
|
-
i && /* @__PURE__ */ o(
|
|
1405
|
-
!i && /* @__PURE__ */ o(
|
|
1401
|
+
}) => /* @__PURE__ */ y(Pn, { children: [
|
|
1402
|
+
/* @__PURE__ */ o(_n, { children: /* @__PURE__ */ y(Gn, { children: [
|
|
1403
|
+
/* @__PURE__ */ y(sr, { children: [
|
|
1404
|
+
i && /* @__PURE__ */ o(Hn, { alt: "avatar", src: i }),
|
|
1405
|
+
!i && /* @__PURE__ */ o(rr, { children: F1(r || "") })
|
|
1406
1406
|
] }),
|
|
1407
|
-
/* @__PURE__ */ y(
|
|
1408
|
-
/* @__PURE__ */ o(
|
|
1409
|
-
/* @__PURE__ */ y(
|
|
1410
|
-
/* @__PURE__ */ y(
|
|
1411
|
-
/* @__PURE__ */ o(
|
|
1412
|
-
/* @__PURE__ */ y(
|
|
1413
|
-
|
|
1414
|
-
/* @__PURE__ */ o(
|
|
1407
|
+
/* @__PURE__ */ y(Fn, { children: [
|
|
1408
|
+
/* @__PURE__ */ o(Wn, { children: r }),
|
|
1409
|
+
/* @__PURE__ */ y(qn, { children: [
|
|
1410
|
+
/* @__PURE__ */ y(Xn, { children: [
|
|
1411
|
+
/* @__PURE__ */ o(Jn, { alt: "rank-icon", src: or }),
|
|
1412
|
+
/* @__PURE__ */ y(Kn, { children: [
|
|
1413
|
+
Bn(l),
|
|
1414
|
+
/* @__PURE__ */ o(er, { children: "PTS" })
|
|
1415
1415
|
] })
|
|
1416
1416
|
] }),
|
|
1417
|
-
/* @__PURE__ */ o(
|
|
1417
|
+
/* @__PURE__ */ o(tr, {}),
|
|
1418
1418
|
/* @__PURE__ */ y("div", { children: [
|
|
1419
1419
|
"TOP ",
|
|
1420
1420
|
I || 0,
|
|
@@ -1423,60 +1423,60 @@ const Yn = /* @__PURE__ */ d("div")({
|
|
|
1423
1423
|
] })
|
|
1424
1424
|
] })
|
|
1425
1425
|
] }) }),
|
|
1426
|
-
/* @__PURE__ */ y(
|
|
1427
|
-
/* @__PURE__ */ y(
|
|
1426
|
+
/* @__PURE__ */ y(Vn, { children: [
|
|
1427
|
+
/* @__PURE__ */ y(ir, { children: [
|
|
1428
1428
|
/* @__PURE__ */ o(L1, { indicator: p || 0, title: "Friends rank" }),
|
|
1429
1429
|
/* @__PURE__ */ o(L1, { indicator: g || 0, title: "Global rank" })
|
|
1430
1430
|
] }),
|
|
1431
|
-
/* @__PURE__ */ y(
|
|
1432
|
-
/* @__PURE__ */ o(
|
|
1433
|
-
/* @__PURE__ */ o(
|
|
1434
|
-
/* @__PURE__ */ o(
|
|
1435
|
-
/* @__PURE__ */ o(
|
|
1431
|
+
/* @__PURE__ */ y(nr, { children: [
|
|
1432
|
+
/* @__PURE__ */ o(ze, { indicator: h || 0, title: "Win streak" }),
|
|
1433
|
+
/* @__PURE__ */ o(ze, { indicator: M || 0, title: "Correct" }),
|
|
1434
|
+
/* @__PURE__ */ o(ze, { indicator: a || 0, title: "Incorrect" }),
|
|
1435
|
+
/* @__PURE__ */ o(ze, { indicator: `${N || 0}%`, title: "Succ. rate" })
|
|
1436
1436
|
] })
|
|
1437
1437
|
] })
|
|
1438
1438
|
] });
|
|
1439
|
-
const
|
|
1439
|
+
const lr = () => q1, q1 = /* @__PURE__ */ d("div")({
|
|
1440
1440
|
name: "o",
|
|
1441
1441
|
class: "opm4u8k",
|
|
1442
1442
|
propsAsIs: !1
|
|
1443
|
-
}),
|
|
1443
|
+
}), ar = /* @__PURE__ */ d(lr())({
|
|
1444
1444
|
name: "t",
|
|
1445
1445
|
class: "twfomc3",
|
|
1446
1446
|
propsAsIs: !0
|
|
1447
|
-
}),
|
|
1447
|
+
}), j1 = /* @__PURE__ */ d("div")({
|
|
1448
1448
|
name: "i",
|
|
1449
1449
|
class: "imltvg2",
|
|
1450
1450
|
propsAsIs: !1
|
|
1451
|
-
}),
|
|
1451
|
+
}), v1 = /* @__PURE__ */ d("button")({
|
|
1452
1452
|
name: "n",
|
|
1453
1453
|
class: "ntfjpqz",
|
|
1454
1454
|
propsAsIs: !1
|
|
1455
|
-
}),
|
|
1455
|
+
}), x1 = /* @__PURE__ */ d("img")({
|
|
1456
1456
|
name: "a",
|
|
1457
1457
|
class: "a198m24r",
|
|
1458
1458
|
propsAsIs: !1
|
|
1459
|
-
}),
|
|
1459
|
+
}), z1 = /* @__PURE__ */ d("span")({
|
|
1460
1460
|
name: "d",
|
|
1461
1461
|
class: "dbq5eu7",
|
|
1462
1462
|
propsAsIs: !1
|
|
1463
|
-
}),
|
|
1463
|
+
}), k1 = /* @__PURE__ */ d("span")({
|
|
1464
1464
|
name: "s",
|
|
1465
1465
|
class: "s1iv6oeb",
|
|
1466
1466
|
propsAsIs: !1
|
|
1467
|
-
}),
|
|
1467
|
+
}), S1 = /* @__PURE__ */ d("div")({
|
|
1468
1468
|
name: "c",
|
|
1469
1469
|
class: "c1qtxlqc",
|
|
1470
1470
|
propsAsIs: !1
|
|
1471
|
-
}),
|
|
1471
|
+
}), Je = /* @__PURE__ */ d("div")({
|
|
1472
1472
|
name: "l",
|
|
1473
1473
|
class: "ldm736q",
|
|
1474
1474
|
propsAsIs: !1
|
|
1475
|
-
}),
|
|
1475
|
+
}), b1 = /* @__PURE__ */ d("img")({
|
|
1476
1476
|
name: "p",
|
|
1477
1477
|
class: "p1da34tx",
|
|
1478
1478
|
propsAsIs: !1
|
|
1479
|
-
}),
|
|
1479
|
+
}), e1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZWNrbWFyayI+CjxwYXRoIGlkPSJTZWxlY3RlZCIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNCAxMi4wMDJDMjQgMTguNjI5NCAxOC42Mjc0IDI0LjAwMiAxMiAyNC4wMDJDNS4zNzI1OCAyNC4wMDIgMCAxOC42Mjk0IDAgMTIuMDAyQzAgNS4zNzQ1NCA1LjM3MjU4IDAuMDAxOTUzMTIgMTIgMC4wMDE5NTMxMkMxOC42Mjc0IDAuMDAxOTUzMTIgMjQgNS4zNzQ1NCAyNCAxMi4wMDJaTTE3LjQwODYgOC4xNTM1N0MxNi45NCA3LjY4NDk0IDE2LjE4MDIgNy42ODQ5NCAxNS43MTE2IDguMTUzNTdMMTAuNDA3MiAxNC45NTc5TDcuNjI1NzMgMTMuMTAzNkM3LjA3NDI5IDEyLjczNiA2LjMyOTI1IDEyLjg4NSA1Ljk2MTYzIDEzLjQzNjVDNS41OTQwMSAxMy45ODc5IDUuNzQzMDEgMTQuNzMyOSA2LjI5NDQ1IDE1LjEwMDZMOS44OTQ0NSAxNy41MDA2QzEwLjM3MDQgMTcuODE3OSAxMS4wMDQxIDE3Ljc1NTEgMTEuNDA4NiAxNy4zNTA2TDE3LjQwODYgOS44NTA2M0MxNy44NzcyIDkuMzgyIDE3Ljg3NzIgOC42MjIyIDE3LjQwODYgOC4xNTM1N1oiIGZpbGw9IiMwMEJENjAiLz4KPC9nPgo8L3N2Zz4K", O1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZWNrbWFyayI+CjxwYXRoIGlkPSJTZWxlY3RlZCIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNCAxMi4wMDJDMjQgMTguNjI5NCAxOC42Mjc0IDI0LjAwMiAxMiAyNC4wMDJDNS4zNzI1OCAyNC4wMDIgMCAxOC42Mjk0IDAgMTIuMDAyQzAgNS4zNzQ1NCA1LjM3MjU4IDAuMDAxOTUzMTIgMTIgMC4wMDE5NTMxMkMxOC42Mjc0IDAuMDAxOTUzMTIgMjQgNS4zNzQ1NCAyNCAxMi4wMDJaTTE3LjQwODYgOC4xNTM1N0MxNi45NCA3LjY4NDk0IDE2LjE4MDIgNy42ODQ5NCAxNS43MTE2IDguMTUzNTdMMTAuNDA3MiAxNC45NTc5TDcuNjI1NzMgMTMuMTAzNkM3LjA3NDI5IDEyLjczNiA2LjMyOTI1IDEyLjg4NSA1Ljk2MTYzIDEzLjQzNjVDNS41OTQwMSAxMy45ODc5IDUuNzQzMDEgMTQuNzMyOSA2LjI5NDQ1IDE1LjEwMDZMOS44OTQ0NSAxNy41MDA2QzEwLjM3MDQgMTcuODE3OSAxMS4wMDQxIDE3Ljc1NTEgMTEuNDA4NiAxNy4zNTA2TDE3LjQwODYgOS44NTA2M0MxNy44NzcyIDkuMzgyIDE3Ljg3NzIgOC42MjIyIDE3LjQwODYgOC4xNTM1N1oiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8L3N2Zz4K", cr = ({
|
|
1480
1480
|
icon: i,
|
|
1481
1481
|
id: r,
|
|
1482
1482
|
title: l,
|
|
@@ -1490,22 +1490,22 @@ const sr = () => W1, W1 = /* @__PURE__ */ d("div")({
|
|
|
1490
1490
|
hasCorrectAnswer: f,
|
|
1491
1491
|
answered: w,
|
|
1492
1492
|
points: D,
|
|
1493
|
-
questionType:
|
|
1493
|
+
questionType: L
|
|
1494
1494
|
}) => {
|
|
1495
1495
|
var k;
|
|
1496
1496
|
return N && w ? /* @__PURE__ */ y(
|
|
1497
|
-
|
|
1497
|
+
ar,
|
|
1498
1498
|
{
|
|
1499
1499
|
"data-answeredCorrect": (k = !f || I) == null ? void 0 : k.toString(),
|
|
1500
1500
|
"data-questionAnswered": "false",
|
|
1501
1501
|
children: [
|
|
1502
|
-
/* @__PURE__ */ o(
|
|
1503
|
-
/* @__PURE__ */ y(
|
|
1504
|
-
i && /* @__PURE__ */ o(
|
|
1505
|
-
/* @__PURE__ */ o(
|
|
1506
|
-
/* @__PURE__ */ y(
|
|
1507
|
-
f && I && /* @__PURE__ */ o(
|
|
1508
|
-
/* @__PURE__ */ y(
|
|
1502
|
+
/* @__PURE__ */ o(j1, { style: { width: `${h}%` } }),
|
|
1503
|
+
/* @__PURE__ */ y(v1, { disabled: g, onClick: () => M(p, r), children: [
|
|
1504
|
+
i && /* @__PURE__ */ o(x1, { alt: "option-icon", src: i }),
|
|
1505
|
+
/* @__PURE__ */ o(z1, { children: l }),
|
|
1506
|
+
/* @__PURE__ */ y(k1, { children: [
|
|
1507
|
+
f && I && /* @__PURE__ */ o(S1, { children: /* @__PURE__ */ o(b1, { alt: "icon-correct", src: w ? O1 : e1 }) }),
|
|
1508
|
+
/* @__PURE__ */ y(Je, { children: [
|
|
1509
1509
|
h,
|
|
1510
1510
|
"%"
|
|
1511
1511
|
] })
|
|
@@ -1513,25 +1513,25 @@ const sr = () => W1, W1 = /* @__PURE__ */ d("div")({
|
|
|
1513
1513
|
] })
|
|
1514
1514
|
]
|
|
1515
1515
|
}
|
|
1516
|
-
) : /* @__PURE__ */ y(
|
|
1517
|
-
N && /* @__PURE__ */ o(
|
|
1516
|
+
) : /* @__PURE__ */ y(q1, { "data-questionAnswered": N == null ? void 0 : N.toString(), children: [
|
|
1517
|
+
N && /* @__PURE__ */ o(j1, { style: { width: `${h}%` } }),
|
|
1518
1518
|
/* @__PURE__ */ y(
|
|
1519
|
-
|
|
1519
|
+
v1,
|
|
1520
1520
|
{
|
|
1521
1521
|
disabled: g,
|
|
1522
1522
|
onClick: () => {
|
|
1523
1523
|
a(!0), M(p, r);
|
|
1524
1524
|
},
|
|
1525
1525
|
children: [
|
|
1526
|
-
i && /* @__PURE__ */ o(
|
|
1527
|
-
/* @__PURE__ */ o(
|
|
1528
|
-
N ? /* @__PURE__ */ y(
|
|
1529
|
-
f && I && /* @__PURE__ */ o(
|
|
1530
|
-
/* @__PURE__ */ y(
|
|
1526
|
+
i && /* @__PURE__ */ o(x1, { alt: "option-icon", src: i }),
|
|
1527
|
+
/* @__PURE__ */ o(z1, { children: l }),
|
|
1528
|
+
N ? /* @__PURE__ */ y(k1, { children: [
|
|
1529
|
+
f && I && /* @__PURE__ */ o(S1, { children: /* @__PURE__ */ o(b1, { alt: "icon-correct", src: w ? O1 : e1 }) }),
|
|
1530
|
+
/* @__PURE__ */ y(Je, { children: [
|
|
1531
1531
|
h,
|
|
1532
1532
|
"%"
|
|
1533
1533
|
] })
|
|
1534
|
-
] }) :
|
|
1534
|
+
] }) : L === Y.PREDICTION ? /* @__PURE__ */ y(Je, { children: [
|
|
1535
1535
|
D,
|
|
1536
1536
|
" pts"
|
|
1537
1537
|
] }) : null
|
|
@@ -1540,80 +1540,80 @@ const sr = () => W1, W1 = /* @__PURE__ */ d("div")({
|
|
|
1540
1540
|
)
|
|
1541
1541
|
] });
|
|
1542
1542
|
};
|
|
1543
|
-
const
|
|
1543
|
+
const dr = /* @__PURE__ */ d("div")({
|
|
1544
1544
|
name: "e",
|
|
1545
1545
|
class: "elc1eph",
|
|
1546
1546
|
propsAsIs: !1
|
|
1547
|
-
}),
|
|
1547
|
+
}), ur = /* @__PURE__ */ d("div")({
|
|
1548
1548
|
name: "o",
|
|
1549
1549
|
class: "o1yoh29a",
|
|
1550
1550
|
propsAsIs: !1
|
|
1551
|
-
}),
|
|
1551
|
+
}), pr = /* @__PURE__ */ d("div")({
|
|
1552
1552
|
name: "n",
|
|
1553
1553
|
class: "njkr5mb",
|
|
1554
1554
|
propsAsIs: !1
|
|
1555
|
-
}),
|
|
1555
|
+
}), hr = /* @__PURE__ */ d("div")({
|
|
1556
1556
|
name: "d",
|
|
1557
1557
|
class: "d82wnnx",
|
|
1558
1558
|
propsAsIs: !1
|
|
1559
|
-
}),
|
|
1559
|
+
}), gr = /* @__PURE__ */ d("div")({
|
|
1560
1560
|
name: "a",
|
|
1561
1561
|
class: "a1nz1ddv",
|
|
1562
1562
|
propsAsIs: !1
|
|
1563
|
-
}),
|
|
1563
|
+
}), Mr = /* @__PURE__ */ d("img")({
|
|
1564
1564
|
name: "l",
|
|
1565
1565
|
class: "ld1fmde",
|
|
1566
1566
|
propsAsIs: !1
|
|
1567
|
-
}),
|
|
1567
|
+
}), Ir = /* @__PURE__ */ d("div")({
|
|
1568
1568
|
name: "p",
|
|
1569
1569
|
class: "pbyqoe6",
|
|
1570
1570
|
propsAsIs: !1
|
|
1571
|
-
}),
|
|
1571
|
+
}), mr = /* @__PURE__ */ d("div")({
|
|
1572
1572
|
name: "s",
|
|
1573
1573
|
class: "s4qnn76",
|
|
1574
1574
|
propsAsIs: !1
|
|
1575
1575
|
});
|
|
1576
|
-
const
|
|
1576
|
+
const Cr = () => X, yr = /* @__PURE__ */ d("div")({
|
|
1577
1577
|
name: "a",
|
|
1578
1578
|
class: "a1r7f3z4",
|
|
1579
1579
|
propsAsIs: !1
|
|
1580
|
-
}),
|
|
1580
|
+
}), Nr = /* @__PURE__ */ d("div")({
|
|
1581
1581
|
name: "s",
|
|
1582
1582
|
class: "sblndl",
|
|
1583
1583
|
propsAsIs: !1
|
|
1584
|
-
}),
|
|
1584
|
+
}), fr = /* @__PURE__ */ d("div")({
|
|
1585
1585
|
name: "l",
|
|
1586
1586
|
class: "l7ka1tv",
|
|
1587
1587
|
propsAsIs: !1
|
|
1588
|
-
}),
|
|
1588
|
+
}), Ar = /* @__PURE__ */ d(Cr())({
|
|
1589
1589
|
name: "p",
|
|
1590
1590
|
class: "p1edlxt3",
|
|
1591
1591
|
propsAsIs: !0
|
|
1592
|
-
}),
|
|
1592
|
+
}), wr = /* @__PURE__ */ d("div")({
|
|
1593
1593
|
name: "g",
|
|
1594
1594
|
class: "ghm08u2",
|
|
1595
1595
|
propsAsIs: !1
|
|
1596
|
-
}),
|
|
1596
|
+
}), Dr = /* @__PURE__ */ d("span")({
|
|
1597
1597
|
name: "c",
|
|
1598
1598
|
class: "c12nsh46",
|
|
1599
1599
|
propsAsIs: !1
|
|
1600
|
-
}),
|
|
1600
|
+
}), Er = /* @__PURE__ */ d("span")({
|
|
1601
1601
|
name: "d",
|
|
1602
1602
|
class: "dlr9eoc",
|
|
1603
1603
|
propsAsIs: !1
|
|
1604
|
-
}),
|
|
1605
|
-
/* @__PURE__ */ y(
|
|
1606
|
-
i && /* @__PURE__ */ o(
|
|
1604
|
+
}), Tr = ({ title: i, points: r, isPlayingTimer: l, isTimer: p, onTimerExpired: g }) => /* @__PURE__ */ y(yr, { children: [
|
|
1605
|
+
/* @__PURE__ */ y(Nr, { children: [
|
|
1606
|
+
i && /* @__PURE__ */ o(fr, { children: i }),
|
|
1607
1607
|
r !== void 0 && /* @__PURE__ */ y(W, { children: [
|
|
1608
|
-
/* @__PURE__ */ o(
|
|
1609
|
-
/* @__PURE__ */ y(
|
|
1610
|
-
/* @__PURE__ */ o(
|
|
1611
|
-
/* @__PURE__ */ o(
|
|
1608
|
+
/* @__PURE__ */ o(Ar, { name: "icon-trophy" }),
|
|
1609
|
+
/* @__PURE__ */ y(wr, { children: [
|
|
1610
|
+
/* @__PURE__ */ o(Dr, { children: r }),
|
|
1611
|
+
/* @__PURE__ */ o(Er, { children: "PTS" })
|
|
1612
1612
|
] })
|
|
1613
1613
|
] })
|
|
1614
1614
|
] }),
|
|
1615
|
-
p && /* @__PURE__ */ o(
|
|
1616
|
-
] }),
|
|
1615
|
+
p && /* @__PURE__ */ o(Z1, { isPlaying: l, onTimerExpired: g })
|
|
1616
|
+
] }), Lr = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeT0iMC4wMDE5NTMxMiIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiIGZpbGw9IiNGODAwMjIiLz4KPHJlY3QgeD0iOC4yNSIgeT0iNy4wMDE5NSIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcuMDAxOTUpIiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB4PSI3IiB5PSIxNS43NTIiIHdpZHRoPSIxMi4zNzQ0IiBoZWlnaHQ9IjEuNzY3NzciIHJ4PSIwLjg4Mzg4NCIgdHJhbnNmb3JtPSJyb3RhdGUoLTQ1IDcgMTUuNzUyKSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==", J1 = ({
|
|
1617
1617
|
title: i,
|
|
1618
1618
|
questionId: r,
|
|
1619
1619
|
options: l,
|
|
@@ -1628,15 +1628,15 @@ const Ir = () => X, Cr = /* @__PURE__ */ d("div")({
|
|
|
1628
1628
|
},
|
|
1629
1629
|
[I]
|
|
1630
1630
|
);
|
|
1631
|
-
return
|
|
1631
|
+
return de(() => {
|
|
1632
1632
|
N(!1);
|
|
1633
|
-
}, [l, N]), /* @__PURE__ */ y(
|
|
1634
|
-
/* @__PURE__ */ o(
|
|
1635
|
-
/* @__PURE__ */ o(
|
|
1636
|
-
/* @__PURE__ */ y(
|
|
1637
|
-
a && /* @__PURE__ */ o(
|
|
1633
|
+
}, [l, N]), /* @__PURE__ */ y(dr, { children: [
|
|
1634
|
+
/* @__PURE__ */ o(Tr, { title: "To win", points: 100, isTimer: !0 }),
|
|
1635
|
+
/* @__PURE__ */ o(ur, { children: i }),
|
|
1636
|
+
/* @__PURE__ */ y(pr, { children: [
|
|
1637
|
+
a && /* @__PURE__ */ o(hr, { children: "Loading..." }),
|
|
1638
1638
|
l.map((f) => /* @__PURE__ */ o(
|
|
1639
|
-
|
|
1639
|
+
cr,
|
|
1640
1640
|
{
|
|
1641
1641
|
toggleIsLoadingSubmitAnswer: N,
|
|
1642
1642
|
questionId: r,
|
|
@@ -1646,98 +1646,98 @@ const Ir = () => X, Cr = /* @__PURE__ */ d("div")({
|
|
|
1646
1646
|
f.id
|
|
1647
1647
|
))
|
|
1648
1648
|
] }),
|
|
1649
|
-
p && M === Y.TRIVIA && /* @__PURE__ */ y(
|
|
1650
|
-
/* @__PURE__ */ o(
|
|
1649
|
+
p && M === Y.TRIVIA && /* @__PURE__ */ y(gr, { children: [
|
|
1650
|
+
/* @__PURE__ */ o(Mr, { alt: "reaction-to-answer", src: h ? e1 : Lr }),
|
|
1651
1651
|
/* @__PURE__ */ y("div", { children: [
|
|
1652
|
-
/* @__PURE__ */ o(
|
|
1653
|
-
/* @__PURE__ */ o(
|
|
1652
|
+
/* @__PURE__ */ o(Ir, { children: h ? g.correctFeedback.title : g.incorrectFeedback.title }),
|
|
1653
|
+
/* @__PURE__ */ o(mr, { children: h ? g.correctFeedback.description : g.incorrectFeedback.description })
|
|
1654
1654
|
] })
|
|
1655
1655
|
] })
|
|
1656
1656
|
] });
|
|
1657
1657
|
};
|
|
1658
|
-
const
|
|
1658
|
+
const jr = /* @__PURE__ */ d("div")({
|
|
1659
1659
|
name: "n",
|
|
1660
1660
|
class: "nyaglcf",
|
|
1661
1661
|
propsAsIs: !1
|
|
1662
|
-
}),
|
|
1662
|
+
}), vr = /* @__PURE__ */ d("div")({
|
|
1663
1663
|
name: "r",
|
|
1664
1664
|
class: "rn5nzbc",
|
|
1665
1665
|
propsAsIs: !1
|
|
1666
|
-
}),
|
|
1666
|
+
}), xr = /* @__PURE__ */ d("img")({
|
|
1667
1667
|
name: "e",
|
|
1668
1668
|
class: "e6i73qc",
|
|
1669
1669
|
propsAsIs: !1
|
|
1670
|
-
}),
|
|
1670
|
+
}), zr = /* @__PURE__ */ d("div")({
|
|
1671
1671
|
name: "i",
|
|
1672
1672
|
class: "iu0veuw",
|
|
1673
1673
|
propsAsIs: !1
|
|
1674
|
-
}),
|
|
1674
|
+
}), kr = /* @__PURE__ */ d("img")({
|
|
1675
1675
|
name: "p",
|
|
1676
1676
|
class: "ph41hsa",
|
|
1677
1677
|
propsAsIs: !1
|
|
1678
|
-
}),
|
|
1678
|
+
}), Sr = /* @__PURE__ */ d("span")({
|
|
1679
1679
|
name: "a",
|
|
1680
1680
|
class: "a1doo0j",
|
|
1681
1681
|
propsAsIs: !1
|
|
1682
|
-
}),
|
|
1682
|
+
}), br = /* @__PURE__ */ d("div")({
|
|
1683
1683
|
name: "s",
|
|
1684
1684
|
class: "s1y6mmdj",
|
|
1685
1685
|
propsAsIs: !1
|
|
1686
|
-
}),
|
|
1686
|
+
}), Or = /* @__PURE__ */ d("div")({
|
|
1687
1687
|
name: "c",
|
|
1688
1688
|
class: "cr7s6d2",
|
|
1689
1689
|
propsAsIs: !1
|
|
1690
|
-
}),
|
|
1690
|
+
}), Br = /* @__PURE__ */ d("button")({
|
|
1691
1691
|
name: "d",
|
|
1692
1692
|
class: "dn2ogfd",
|
|
1693
1693
|
propsAsIs: !1
|
|
1694
|
-
}),
|
|
1694
|
+
}), Rr = /* @__PURE__ */ d("button")({
|
|
1695
1695
|
name: "x",
|
|
1696
1696
|
class: "xvt3fwn",
|
|
1697
1697
|
propsAsIs: !1
|
|
1698
|
-
}),
|
|
1698
|
+
}), Ur = /* @__PURE__ */ d("img")({
|
|
1699
1699
|
name: "g",
|
|
1700
1700
|
class: "g4rp2wp",
|
|
1701
1701
|
propsAsIs: !1
|
|
1702
|
-
}),
|
|
1702
|
+
}), $r = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikdyb3VwIDQ2NSI+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY4IiB4PSIxLjI1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKDQ1IDEuMjUgMCkiIGZpbGw9IndoaXRlIi8+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY5IiB5PSI4Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSAwIDguNzUpIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+Cjwvc3ZnPgo=", Qr = ({
|
|
1703
1703
|
close: i,
|
|
1704
1704
|
action: r,
|
|
1705
1705
|
data: { icon: l, header: p, title: g, subtitle: h, graphicBg: M, sponsorLogo: a }
|
|
1706
|
-
}) => /* @__PURE__ */ y(
|
|
1707
|
-
/* @__PURE__ */ o(
|
|
1708
|
-
/* @__PURE__ */ o(
|
|
1709
|
-
/* @__PURE__ */ y(
|
|
1706
|
+
}) => /* @__PURE__ */ y(jr, { children: [
|
|
1707
|
+
/* @__PURE__ */ o(Rr, { onClick: i, children: /* @__PURE__ */ o(Ur, { alt: "icon-close-onboarding-inapp", src: $r }) }),
|
|
1708
|
+
/* @__PURE__ */ o(vr, { style: { backgroundImage: `url(${M || ""})` }, children: l && /* @__PURE__ */ o(xr, { alt: "onboarding-inapp-icon", src: l }) }),
|
|
1709
|
+
/* @__PURE__ */ y(zr, { children: [
|
|
1710
1710
|
/* @__PURE__ */ y("div", { children: [
|
|
1711
1711
|
/* @__PURE__ */ o("div", { children: a ? /* @__PURE__ */ y(W, { children: [
|
|
1712
|
-
/* @__PURE__ */ o(
|
|
1713
|
-
/* @__PURE__ */ o(
|
|
1712
|
+
/* @__PURE__ */ o(kr, { alt: "sponsor-logo", src: a }),
|
|
1713
|
+
/* @__PURE__ */ o(Sr, { children: "Presents" })
|
|
1714
1714
|
] }) : p || "" }),
|
|
1715
|
-
/* @__PURE__ */ o(
|
|
1716
|
-
/* @__PURE__ */ o(
|
|
1715
|
+
/* @__PURE__ */ o(br, { children: g || "" }),
|
|
1716
|
+
/* @__PURE__ */ o(Or, { children: h || "" })
|
|
1717
1717
|
] }),
|
|
1718
|
-
/* @__PURE__ */ o(
|
|
1718
|
+
/* @__PURE__ */ o(Br, { onClick: r, children: "Play" })
|
|
1719
1719
|
] })
|
|
1720
1720
|
] });
|
|
1721
|
-
const
|
|
1721
|
+
const Yr = /* @__PURE__ */ d("div")({
|
|
1722
1722
|
name: "r",
|
|
1723
1723
|
class: "r1li8aub",
|
|
1724
1724
|
propsAsIs: !1
|
|
1725
|
-
}),
|
|
1726
|
-
[
|
|
1727
|
-
[
|
|
1728
|
-
},
|
|
1725
|
+
}), Zr = {
|
|
1726
|
+
[y1.ONBOARDING]: Qr,
|
|
1727
|
+
[y1.QUESTION]: Y1
|
|
1728
|
+
}, Pr = ({
|
|
1729
1729
|
index: i,
|
|
1730
1730
|
total: r,
|
|
1731
1731
|
...l
|
|
1732
1732
|
}) => {
|
|
1733
|
-
const p =
|
|
1734
|
-
return
|
|
1733
|
+
const p = yt(null), g = Zr[l.type] || Y1;
|
|
1734
|
+
return de(() => {
|
|
1735
1735
|
p.current !== null && l.hiding && p.current.animate([{ right: "0" }, { right: "-100%" }], {
|
|
1736
1736
|
duration: 300,
|
|
1737
1737
|
fill: "forwards"
|
|
1738
1738
|
});
|
|
1739
1739
|
}, [l.hiding]), /* @__PURE__ */ o(
|
|
1740
|
-
|
|
1740
|
+
Yr,
|
|
1741
1741
|
{
|
|
1742
1742
|
ref: p,
|
|
1743
1743
|
style: { zIndex: i + 1, transform: `translateY(${100 * (r - i - 1)}%)` },
|
|
@@ -1745,14 +1745,14 @@ const $r = /* @__PURE__ */ d("div")({
|
|
|
1745
1745
|
}
|
|
1746
1746
|
);
|
|
1747
1747
|
};
|
|
1748
|
-
const
|
|
1748
|
+
const _r = /* @__PURE__ */ d("div")({
|
|
1749
1749
|
name: "o",
|
|
1750
1750
|
class: "oc6h1al",
|
|
1751
1751
|
propsAsIs: !1
|
|
1752
|
-
}),
|
|
1752
|
+
}), Vr = ({ notificationsStore: i }) => {
|
|
1753
1753
|
const r = E(i);
|
|
1754
|
-
return /* @__PURE__ */ o(
|
|
1755
|
-
|
|
1754
|
+
return /* @__PURE__ */ o(_r, { children: r == null ? void 0 : r.map((l, p) => /* @__PURE__ */ o(
|
|
1755
|
+
Pr,
|
|
1756
1756
|
{
|
|
1757
1757
|
index: p,
|
|
1758
1758
|
total: r.length,
|
|
@@ -1760,18 +1760,18 @@ const Zr = /* @__PURE__ */ d("div")({
|
|
|
1760
1760
|
},
|
|
1761
1761
|
l.id
|
|
1762
1762
|
)) });
|
|
1763
|
-
},
|
|
1763
|
+
}, Gr = ({ store: i }) => {
|
|
1764
1764
|
const { data: r } = E(i);
|
|
1765
|
-
return r != null && r.summary ? /* @__PURE__ */ o(
|
|
1766
|
-
},
|
|
1765
|
+
return r != null && r.summary ? /* @__PURE__ */ o(W1, { ...r.summary, ...r.percentage }) : /* @__PURE__ */ o("div", { children: "wait user..." });
|
|
1766
|
+
}, Hr = ({ store: i, openQuestion: r }) => {
|
|
1767
1767
|
const l = E(i);
|
|
1768
|
-
return l != null && l.data ? /* @__PURE__ */ o(
|
|
1768
|
+
return l != null && l.data ? /* @__PURE__ */ o(H1, { openQuestion: r, questions: l.data }) : /* @__PURE__ */ o("div", { children: "wait questions..." });
|
|
1769
1769
|
};
|
|
1770
|
-
const
|
|
1770
|
+
const Fr = /* @__PURE__ */ d("div")({
|
|
1771
1771
|
name: "y",
|
|
1772
1772
|
class: "y1qd1atw",
|
|
1773
1773
|
propsAsIs: !1
|
|
1774
|
-
}),
|
|
1774
|
+
}), Wr = ({
|
|
1775
1775
|
openedQuestion: i,
|
|
1776
1776
|
closeQuestion: r,
|
|
1777
1777
|
vote: l
|
|
@@ -1782,10 +1782,10 @@ const Gr = /* @__PURE__ */ d("div")({
|
|
|
1782
1782
|
h(I);
|
|
1783
1783
|
}, [h]);
|
|
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
|
-
return i ? /* @__PURE__ */ o(
|
|
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(J1, {
|
|
1789
1789
|
title: i.subject,
|
|
1790
1790
|
feedbackMessages: (p = i.options) == null ? void 0 : p.options.value,
|
|
1791
1791
|
questionType: i.type,
|
|
@@ -1811,129 +1811,129 @@ const Gr = /* @__PURE__ */ d("div")({
|
|
|
1811
1811
|
})
|
|
1812
1812
|
}) : null;
|
|
1813
1813
|
};
|
|
1814
|
-
const
|
|
1814
|
+
const qr = /* @__PURE__ */ d("div")({
|
|
1815
1815
|
name: "e",
|
|
1816
1816
|
class: "e1q4ysxt",
|
|
1817
1817
|
propsAsIs: !1
|
|
1818
|
-
}),
|
|
1818
|
+
}), Jr = /* @__PURE__ */ d("div")({
|
|
1819
1819
|
name: "o",
|
|
1820
1820
|
class: "ouyy0pt",
|
|
1821
1821
|
propsAsIs: !1
|
|
1822
|
-
}),
|
|
1822
|
+
}), Xr = /* @__PURE__ */ d("div")({
|
|
1823
1823
|
name: "n",
|
|
1824
1824
|
class: "n19nxf9u",
|
|
1825
1825
|
propsAsIs: !1
|
|
1826
|
-
}),
|
|
1826
|
+
}), Kr = /* @__PURE__ */ d("img")({
|
|
1827
1827
|
name: "r",
|
|
1828
1828
|
class: "r1k9ayhp",
|
|
1829
1829
|
propsAsIs: !1
|
|
1830
|
-
}),
|
|
1830
|
+
}), e2 = /* @__PURE__ */ d("img")({
|
|
1831
1831
|
name: "l",
|
|
1832
1832
|
class: "l5j3lzi",
|
|
1833
1833
|
propsAsIs: !1
|
|
1834
|
-
}),
|
|
1834
|
+
}), t2 = /* @__PURE__ */ d("img")({
|
|
1835
1835
|
name: "s",
|
|
1836
1836
|
class: "sm6ggfo",
|
|
1837
1837
|
propsAsIs: !1
|
|
1838
|
-
}),
|
|
1838
|
+
}), i2 = /* @__PURE__ */ d("div")({
|
|
1839
1839
|
name: "p",
|
|
1840
1840
|
class: "p1dhscaj",
|
|
1841
1841
|
propsAsIs: !1
|
|
1842
|
-
}),
|
|
1842
|
+
}), n2 = /* @__PURE__ */ d("img")({
|
|
1843
1843
|
name: "a",
|
|
1844
1844
|
class: "a1f5isrh",
|
|
1845
1845
|
propsAsIs: !1
|
|
1846
1846
|
});
|
|
1847
|
-
const
|
|
1847
|
+
const r2 = /* @__PURE__ */ d("div")({
|
|
1848
1848
|
name: "e",
|
|
1849
1849
|
class: "e1javwmj",
|
|
1850
1850
|
propsAsIs: !1
|
|
1851
|
-
}),
|
|
1851
|
+
}), s2 = /* @__PURE__ */ d("div")({
|
|
1852
1852
|
name: "t",
|
|
1853
1853
|
class: "t1qosv8q",
|
|
1854
1854
|
propsAsIs: !1
|
|
1855
1855
|
});
|
|
1856
|
-
const
|
|
1856
|
+
const o2 = /* @__PURE__ */ d("div")({
|
|
1857
1857
|
name: "t",
|
|
1858
1858
|
class: "t16hl500",
|
|
1859
1859
|
propsAsIs: !1
|
|
1860
|
-
}),
|
|
1860
|
+
}), l2 = /* @__PURE__ */ d("img")({
|
|
1861
1861
|
name: "e",
|
|
1862
1862
|
class: "e18ymslp",
|
|
1863
1863
|
propsAsIs: !1
|
|
1864
|
-
}),
|
|
1864
|
+
}), a2 = /* @__PURE__ */ d("div")({
|
|
1865
1865
|
name: "n",
|
|
1866
1866
|
class: "n1kdd00k",
|
|
1867
1867
|
propsAsIs: !1
|
|
1868
|
-
}),
|
|
1868
|
+
}), c2 = /* @__PURE__ */ d("div")({
|
|
1869
1869
|
name: "r",
|
|
1870
1870
|
class: "rwwgdkm",
|
|
1871
1871
|
propsAsIs: !1
|
|
1872
|
-
}),
|
|
1872
|
+
}), d2 = /* @__PURE__ */ d("div")({
|
|
1873
1873
|
name: "d",
|
|
1874
1874
|
class: "dvazwa9",
|
|
1875
1875
|
propsAsIs: !1
|
|
1876
|
-
}),
|
|
1876
|
+
}), u2 = /* @__PURE__ */ d("a")({
|
|
1877
1877
|
name: "c",
|
|
1878
1878
|
class: "cd3vh14",
|
|
1879
1879
|
propsAsIs: !1
|
|
1880
|
-
}),
|
|
1880
|
+
}), p2 = /* @__PURE__ */ d("img")({
|
|
1881
1881
|
name: "l",
|
|
1882
1882
|
class: "l19zo16x",
|
|
1883
1883
|
propsAsIs: !1
|
|
1884
1884
|
});
|
|
1885
|
-
const
|
|
1885
|
+
const h2 = /* @__PURE__ */ d("div")({
|
|
1886
1886
|
name: "t",
|
|
1887
1887
|
class: "t1lvbkps",
|
|
1888
1888
|
propsAsIs: !1
|
|
1889
|
-
}),
|
|
1889
|
+
}), g2 = /* @__PURE__ */ d("div")({
|
|
1890
1890
|
name: "r",
|
|
1891
1891
|
class: "r2xe6fm",
|
|
1892
1892
|
propsAsIs: !1
|
|
1893
|
-
}),
|
|
1893
|
+
}), M2 = /* @__PURE__ */ d("img")({
|
|
1894
1894
|
name: "n",
|
|
1895
1895
|
class: "n1yk5k0z",
|
|
1896
1896
|
propsAsIs: !1
|
|
1897
|
-
}),
|
|
1897
|
+
}), I2 = /* @__PURE__ */ d("div")({
|
|
1898
1898
|
name: "o",
|
|
1899
1899
|
class: "o13yur3w",
|
|
1900
1900
|
propsAsIs: !1
|
|
1901
|
-
}),
|
|
1901
|
+
}), m2 = /* @__PURE__ */ d("div")({
|
|
1902
1902
|
name: "a",
|
|
1903
1903
|
class: "a1h2npcq",
|
|
1904
1904
|
propsAsIs: !1
|
|
1905
|
-
}),
|
|
1905
|
+
}), C2 = /* @__PURE__ */ d("div")({
|
|
1906
1906
|
name: "p",
|
|
1907
1907
|
class: "p1kxek13",
|
|
1908
1908
|
propsAsIs: !1
|
|
1909
|
-
}),
|
|
1909
|
+
}), y2 = /* @__PURE__ */ d("span")({
|
|
1910
1910
|
name: "d",
|
|
1911
1911
|
class: "dlf08ok",
|
|
1912
1912
|
propsAsIs: !1
|
|
1913
|
-
}),
|
|
1913
|
+
}), N2 = /* @__PURE__ */ d("div")({
|
|
1914
1914
|
name: "s",
|
|
1915
1915
|
class: "s1hkuau3",
|
|
1916
1916
|
propsAsIs: !1
|
|
1917
|
-
}),
|
|
1917
|
+
}), f2 = /* @__PURE__ */ d("span")({
|
|
1918
1918
|
name: "l",
|
|
1919
1919
|
class: "l1csgeuk",
|
|
1920
1920
|
propsAsIs: !1
|
|
1921
|
-
}),
|
|
1922
|
-
/* @__PURE__ */ o(
|
|
1923
|
-
r ? /* @__PURE__ */ o(
|
|
1924
|
-
/* @__PURE__ */ y(
|
|
1925
|
-
/* @__PURE__ */ o(
|
|
1926
|
-
/* @__PURE__ */ y(
|
|
1927
|
-
/* @__PURE__ */ o(
|
|
1921
|
+
}), A2 = ({ rank: i, avatar: r, name: l, points: p, openItemDetail: g }) => /* @__PURE__ */ y(h2, { onClick: g, children: [
|
|
1922
|
+
/* @__PURE__ */ o(g2, { children: i || 0 }),
|
|
1923
|
+
r ? /* @__PURE__ */ o(M2, { alt: "leaderboard-item-avatar", src: r }) : /* @__PURE__ */ o(I2, { children: F1(l || "") }),
|
|
1924
|
+
/* @__PURE__ */ y(m2, { children: [
|
|
1925
|
+
/* @__PURE__ */ o(C2, { children: /* @__PURE__ */ o(y2, { children: l || "" }) }),
|
|
1926
|
+
/* @__PURE__ */ y(N2, { children: [
|
|
1927
|
+
/* @__PURE__ */ o(f2, { children: "PTS" }),
|
|
1928
1928
|
p || 0
|
|
1929
1929
|
] })
|
|
1930
1930
|
] })
|
|
1931
1931
|
] });
|
|
1932
|
-
const
|
|
1932
|
+
const w2 = /* @__PURE__ */ d("div")({
|
|
1933
1933
|
name: "t",
|
|
1934
1934
|
class: "t1txmonn",
|
|
1935
1935
|
propsAsIs: !1
|
|
1936
|
-
}),
|
|
1936
|
+
}), X1 = ({ 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..." });
|
|
@@ -1946,9 +1946,9 @@ const f2 = /* @__PURE__ */ d("div")({
|
|
|
1946
1946
|
p(a);
|
|
1947
1947
|
};
|
|
1948
1948
|
return /* @__PURE__ */ y(W, { children: [
|
|
1949
|
-
l && /* @__PURE__ */ o(
|
|
1949
|
+
l && /* @__PURE__ */ o(V1, { comeBack: () => g(null), ...l }),
|
|
1950
1950
|
!l && /* @__PURE__ */ o(
|
|
1951
|
-
|
|
1951
|
+
X1,
|
|
1952
1952
|
{
|
|
1953
1953
|
items: r.filter((h) => h.attributes).map((h) => h.attributes),
|
|
1954
1954
|
openItemDetail: g
|
|
@@ -1956,41 +1956,41 @@ const f2 = /* @__PURE__ */ d("div")({
|
|
|
1956
1956
|
)
|
|
1957
1957
|
] });
|
|
1958
1958
|
};
|
|
1959
|
-
const
|
|
1959
|
+
const le = /* @__PURE__ */ d("div")({
|
|
1960
1960
|
name: "e",
|
|
1961
1961
|
class: "e6qv3to",
|
|
1962
1962
|
propsAsIs: !1
|
|
1963
|
-
}),
|
|
1963
|
+
}), E2 = /* @__PURE__ */ d("div")({
|
|
1964
1964
|
name: "i",
|
|
1965
1965
|
class: "i1jak95i",
|
|
1966
1966
|
propsAsIs: !1
|
|
1967
|
-
}),
|
|
1967
|
+
}), T2 = /* @__PURE__ */ d("div")({
|
|
1968
1968
|
name: "r",
|
|
1969
1969
|
class: "r1qp3jjx",
|
|
1970
1970
|
propsAsIs: !1
|
|
1971
|
-
}),
|
|
1971
|
+
}), L2 = /* @__PURE__ */ d("div")({
|
|
1972
1972
|
name: "n",
|
|
1973
1973
|
class: "naeizu7",
|
|
1974
1974
|
propsAsIs: !1
|
|
1975
|
-
}),
|
|
1975
|
+
}), Xe = /* @__PURE__ */ d("button")({
|
|
1976
1976
|
name: "a",
|
|
1977
1977
|
class: "a4zecne",
|
|
1978
1978
|
propsAsIs: !1
|
|
1979
|
-
}),
|
|
1979
|
+
}), j2 = ({
|
|
1980
1980
|
gamification: i,
|
|
1981
1981
|
sdk: r
|
|
1982
1982
|
}) => {
|
|
1983
|
-
var l, p, g, h, M, a, I, N, f, w, D,
|
|
1984
|
-
const
|
|
1985
|
-
if (
|
|
1983
|
+
var l, p, g, h, M, a, I, N, f, w, D, L, k, O, B, R, ee, P, we, _, ye, Ne, De;
|
|
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
|
+
if (Re !== Z.Ready)
|
|
1986
1986
|
return /* @__PURE__ */ o("div", { children: "wait..." });
|
|
1987
|
-
if (
|
|
1988
|
-
return /* @__PURE__ */ o(
|
|
1989
|
-
if (!(
|
|
1990
|
-
return /* @__PURE__ */ o(
|
|
1991
|
-
if (!
|
|
1992
|
-
return /* @__PURE__ */ o(
|
|
1993
|
-
|
|
1987
|
+
if (ue != null && ue.loading)
|
|
1988
|
+
return /* @__PURE__ */ o(le, { children: /* @__PURE__ */ o("div", { children: "Event is loading" }) });
|
|
1989
|
+
if (!(ue != null && ue.data))
|
|
1990
|
+
return /* @__PURE__ */ o(le, { children: /* @__PURE__ */ o("div", { children: "Event is forbidden" }) });
|
|
1991
|
+
if (!Ue)
|
|
1992
|
+
return /* @__PURE__ */ o(le, { children: /* @__PURE__ */ o(
|
|
1993
|
+
Oi,
|
|
1994
1994
|
{
|
|
1995
1995
|
closeFeature: r.closeFeature,
|
|
1996
1996
|
gamification: i,
|
|
@@ -1998,55 +1998,55 @@ const oe = /* @__PURE__ */ d("div")({
|
|
|
1998
1998
|
gameIcon: (M = (h = (g = $.inplayGame) == null ? void 0 : g.overview) == null ? void 0 : h.media) == null ? void 0 : M.gameIcon,
|
|
1999
1999
|
sponsorLogo: (N = (I = (a = $.inplayGame) == null ? void 0 : a.overview) == null ? void 0 : I.media) == null ? void 0 : N.sponsorLogo,
|
|
2000
2000
|
rules: (w = (f = $.inplayGame) == null ? void 0 : f.rules) == null ? void 0 : w.rules,
|
|
2001
|
-
rulesBtnLabel: (
|
|
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,
|
|
2004
|
-
inviteCardTitle: (
|
|
2005
|
-
inviteCardSubtext: (
|
|
2006
|
-
inviteCardBtnLabel: (
|
|
2004
|
+
inviteCardTitle: (we = (P = $.inplayGame) == null ? void 0 : P.inviteCard) == null ? void 0 : we.heading,
|
|
2005
|
+
inviteCardSubtext: (ye = (_ = $.inplayGame) == null ? void 0 : _.inviteCard) == null ? void 0 : ye.subtext,
|
|
2006
|
+
inviteCardBtnLabel: (De = (Ne = $.inplayGame) == null ? void 0 : Ne.inviteCard) == null ? void 0 : De.buttonLabel
|
|
2007
2007
|
}
|
|
2008
2008
|
) });
|
|
2009
|
-
const
|
|
2009
|
+
const $e = (se) => {
|
|
2010
2010
|
i.openQuestion(se);
|
|
2011
|
-
},
|
|
2011
|
+
}, Qe = () => {
|
|
2012
2012
|
i.closeQuestion();
|
|
2013
|
-
},
|
|
2014
|
-
i.submitAnswer(se,
|
|
2013
|
+
}, Ye = (se, Ze) => {
|
|
2014
|
+
i.submitAnswer(se, Ze);
|
|
2015
2015
|
};
|
|
2016
|
-
return /* @__PURE__ */ y(
|
|
2017
|
-
/* @__PURE__ */ o(
|
|
2018
|
-
|
|
2016
|
+
return /* @__PURE__ */ y(le, { children: [
|
|
2017
|
+
/* @__PURE__ */ o(P1, { activePage: pe, toggleActivePage: (se) => {
|
|
2018
|
+
Te(se);
|
|
2019
2019
|
} }),
|
|
2020
|
-
|
|
2021
|
-
/* @__PURE__ */ o(
|
|
2022
|
-
/* @__PURE__ */ y(
|
|
2023
|
-
i.questions && /* @__PURE__ */ o(
|
|
2024
|
-
|
|
2020
|
+
pe === ie.HOME && /* @__PURE__ */ y(W, { children: [
|
|
2021
|
+
/* @__PURE__ */ o(E2, { children: i.userSummary && /* @__PURE__ */ o(Gr, { store: i.userSummary.getStore() }) }),
|
|
2022
|
+
/* @__PURE__ */ y(T2, { children: [
|
|
2023
|
+
i.questions && /* @__PURE__ */ o(Hr, { openQuestion: $e, store: i.questions.getStore() }),
|
|
2024
|
+
Ee && /* @__PURE__ */ o(Wr, { closeQuestion: Qe, vote: Ye, openedQuestion: Ee })
|
|
2025
2025
|
] })
|
|
2026
2026
|
] }),
|
|
2027
|
-
|
|
2027
|
+
pe === ie.LEADERBOARD && i.leaderboardList && /* @__PURE__ */ o(D2, { store: i.leaderboardList.getStore() })
|
|
2028
2028
|
] });
|
|
2029
|
-
},
|
|
2029
|
+
}, v2 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZXZyb24iPgo8cGF0aCBpZD0iQ2hldnJvbl8yIiBkPSJNMTIgOC4xNzIyMkMxMiA4LjI4NzgzIDExLjk3ODEgOC4zOTU1MyAxMS45MzQyIDguNDk1MzNDMTEuODkwMyA4LjU5NTEzIDExLjgyMiA4LjY4OTkyIDExLjcyOTIgOC43Nzk3TDYuMzY5NDkgMTMuOTQzOUM2LjIxNDYyIDE0LjA5NjUgNi4wMjc0MiAxNC4xNzI5IDUuODA3ODcgMTQuMTcyOUM1LjY1NzUyIDE0LjE3MjkgNS41MjE5MSAxNC4xMzc5IDUuNDAxMDQgMTQuMDY3OUM1LjI4MDE2IDEzLjk5OCA1LjE4MzEgMTMuOTAzOSA1LjEwOTg2IDEzLjc4NTZDNS4wMzY2MiAxMy42NjczIDUgMTMuNTM0NSA1IDEzLjM4NzNDNSAxMy4xNzIxIDUuMDgyODggMTIuOTgxOCA1LjI0ODYzIDEyLjgxNjRMMTAuMDgwNyA4LjE3MDk1TDUuMjQ4NjMgMy41Mjc5OUM1LjA4Mjg4IDMuMzY0MjUgNSAzLjE3NDM5IDUgMi45NTg0MUM1IDIuODExMTggNS4wMzY2MiAyLjY3ODQyIDUuMTA5ODYgMi41NjAxM0M1LjE4MzEgMi40NDE4MyA1LjI4MDE2IDIuMzQ3NzEgNS40MDEwNCAyLjI3Nzc3QzUuNTIxOTEgMi4yMDc4MiA1LjY1NzUyIDIuMTcyODUgNS44MDc4NyAyLjE3Mjg1QzYuMDI3NDIgMi4xNzI4NSA2LjIxNDYyIDIuMjQ3MzEgNi4zNjk0OSAyLjM5NjI0TDExLjcyOTIgNy41NjQ3M0MxMS44MjExIDcuNjU0NTEgMTEuODg5IDcuNzQ5MDkgMTEuOTMyOSA3Ljg0ODQ2QzExLjk3NjggNy45NDc4NCAxMS45OTkxIDguMDU1NzYgMTIgOC4xNzIyMloiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8L3N2Zz4K", x2 = (i, r) => {
|
|
2030
2030
|
switch (i) {
|
|
2031
|
-
case
|
|
2032
|
-
return /* @__PURE__ */ o(
|
|
2033
|
-
case
|
|
2031
|
+
case Ge.ROUNDED:
|
|
2032
|
+
return /* @__PURE__ */ o(e2, { alt: "insight-icon", src: r });
|
|
2033
|
+
case Ge.TRANSPARENT:
|
|
2034
|
+
return /* @__PURE__ */ o(t2, { alt: "insight-icon", src: r });
|
|
2035
|
+
case Ge.CENTERED:
|
|
2034
2036
|
return /* @__PURE__ */ o(Kr, { alt: "insight-icon", src: r });
|
|
2035
|
-
case Ve.CENTERED:
|
|
2036
|
-
return /* @__PURE__ */ o(Jr, { alt: "insight-icon", src: r });
|
|
2037
2037
|
default:
|
|
2038
2038
|
return null;
|
|
2039
2039
|
}
|
|
2040
|
-
},
|
|
2041
|
-
/* @__PURE__ */ o(
|
|
2042
|
-
/* @__PURE__ */ y(
|
|
2043
|
-
/* @__PURE__ */ o(
|
|
2044
|
-
/* @__PURE__ */ o(
|
|
2040
|
+
}, z2 = ({ title: i, image: r, questionId: l, imageMode: p, openInsight: g }) => /* @__PURE__ */ y(qr, { onClick: () => g(l), children: [
|
|
2041
|
+
/* @__PURE__ */ o(Xr, { children: r && x2(p, r) }),
|
|
2042
|
+
/* @__PURE__ */ y(Jr, { children: [
|
|
2043
|
+
/* @__PURE__ */ o(i2, { children: i || "" }),
|
|
2044
|
+
/* @__PURE__ */ o(n2, { alt: "next-icon", src: v2 })
|
|
2045
2045
|
] })
|
|
2046
|
-
] }),
|
|
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)) }) }), K1 = ({ highlights: i, store: r }) => {
|
|
2047
2047
|
const { data: l } = E(r);
|
|
2048
|
-
return l ? /* @__PURE__ */ o(
|
|
2049
|
-
},
|
|
2048
|
+
return l ? /* @__PURE__ */ o(k2, { insights: l, openInsight: i.openHighlight }) : /* @__PURE__ */ o("div", { children: "wait insights..." });
|
|
2049
|
+
}, S2 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBjbGFzcz0ic2MtQU5kc04ga1RWV0pFIj48cGF0aCBkPSJNNi42NjY1IDMuMTY2NjlINC45OTk4NEM0LjI2MzQ2IDMuMTY2NjkgMy42NjY1IDMuNzYzNjQgMy42NjY1IDQuNTAwMDJWMTEuNUMzLjY2NjUgMTIuMjM2NCA0LjI2MzQ2IDEyLjgzMzQgNC45OTk4NCAxMi44MzM0SDExLjk5OThDMTIuNzM2MiAxMi44MzM0IDEzLjMzMzIgMTIuMjM2NCAxMy4zMzMyIDExLjVWOS44MzMzNSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTTEzLjMzMzUgNi4xNjY2OVYzLjE2NjY5SDEwLjMzMzUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjxwYXRoIGQ9Ik0xMy4xNjY4IDMuMzMzMzFMOC4zMzM1IDguMTY2NjUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjwvc3ZnPgo=", b2 = ({
|
|
2050
2050
|
image: i,
|
|
2051
2051
|
title: r,
|
|
2052
2052
|
description: l,
|
|
@@ -2054,18 +2054,18 @@ const oe = /* @__PURE__ */ d("div")({
|
|
|
2054
2054
|
webLink: g,
|
|
2055
2055
|
closeHighlights: h,
|
|
2056
2056
|
closeInsight: M
|
|
2057
|
-
}) => /* @__PURE__ */ y(
|
|
2058
|
-
/* @__PURE__ */ o(
|
|
2059
|
-
i && /* @__PURE__ */ o(
|
|
2060
|
-
/* @__PURE__ */ y(
|
|
2061
|
-
r && /* @__PURE__ */ o(
|
|
2062
|
-
l && /* @__PURE__ */ o(
|
|
2057
|
+
}) => /* @__PURE__ */ y(o2, { children: [
|
|
2058
|
+
/* @__PURE__ */ o(_1, { close: h, comeBack: M }),
|
|
2059
|
+
i && /* @__PURE__ */ o(l2, { alt: "detail-insight-image", src: i }),
|
|
2060
|
+
/* @__PURE__ */ y(a2, { children: [
|
|
2061
|
+
r && /* @__PURE__ */ o(c2, { children: r }),
|
|
2062
|
+
l && /* @__PURE__ */ o(d2, { children: l })
|
|
2063
2063
|
] }),
|
|
2064
|
-
g && p && /* @__PURE__ */ y(
|
|
2064
|
+
g && p && /* @__PURE__ */ y(u2, { href: g, target: "_blank", children: [
|
|
2065
2065
|
p,
|
|
2066
|
-
/* @__PURE__ */ o(
|
|
2066
|
+
/* @__PURE__ */ o(p2, { alt: "link-icon", src: S2 })
|
|
2067
2067
|
] })
|
|
2068
|
-
] }),
|
|
2068
|
+
] }), et = ({ openedInsight: i, closeHighlights: r, closeInsight: l }) => {
|
|
2069
2069
|
var p, g, h, M, a;
|
|
2070
2070
|
const I = ((p = i.options) == null ? void 0 : p.options.case) === "factoid" ? {
|
|
2071
2071
|
image: i.options.options.value.image,
|
|
@@ -2074,7 +2074,7 @@ const oe = /* @__PURE__ */ d("div")({
|
|
|
2074
2074
|
webLinkLabel: (h = i.options.options.value.webLink) == null ? void 0 : h.label
|
|
2075
2075
|
} : {}, N = i.subject || ((M = i.notification) == null ? void 0 : M.title), f = 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
2080
|
title: N,
|
|
@@ -2085,30 +2085,30 @@ const oe = /* @__PURE__ */ d("div")({
|
|
|
2085
2085
|
closeHighlights: r
|
|
2086
2086
|
}
|
|
2087
2087
|
);
|
|
2088
|
-
},
|
|
2088
|
+
}, O2 = ({ highlights: i, sdk: r }) => {
|
|
2089
2089
|
const l = E(i.status), p = E(i.openedInsight), { slStreamId: g } = E(r.sdkStore);
|
|
2090
|
-
return l !== Z.Ready ? /* @__PURE__ */ o("div", { children: "wait..." }) : g != null && g.loading ? /* @__PURE__ */ o(
|
|
2091
|
-
!p && /* @__PURE__ */ o(
|
|
2090
|
+
return l !== Z.Ready ? /* @__PURE__ */ o("div", { children: "wait..." }) : g != null && g.loading ? /* @__PURE__ */ o(le, { children: /* @__PURE__ */ o("div", { children: "Event is loading" }) }) : g != null && g.data ? i.insights === void 0 ? /* @__PURE__ */ o("div", { children: "wait insights..." }) : /* @__PURE__ */ y(le, { children: [
|
|
2091
|
+
!p && /* @__PURE__ */ o(K1, { highlights: i, store: i.insights.getStore() }),
|
|
2092
2092
|
p && /* @__PURE__ */ o(
|
|
2093
|
-
|
|
2093
|
+
et,
|
|
2094
2094
|
{
|
|
2095
2095
|
openedInsight: p,
|
|
2096
2096
|
closeHighlights: i.closeFeature,
|
|
2097
2097
|
closeInsight: i.closeHighlight
|
|
2098
2098
|
}
|
|
2099
2099
|
)
|
|
2100
|
-
] }) : /* @__PURE__ */ o(
|
|
2100
|
+
] }) : /* @__PURE__ */ o(le, { children: /* @__PURE__ */ o("div", { children: "Event is forbidden" }) });
|
|
2101
2101
|
};
|
|
2102
|
-
var
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
var F = [], Q = [],
|
|
2107
|
-
for (var
|
|
2108
|
-
F[
|
|
2102
|
+
var B2 = {}, tt = {}, Oe = {};
|
|
2103
|
+
Oe.byteLength = $2;
|
|
2104
|
+
Oe.toByteArray = Y2;
|
|
2105
|
+
Oe.fromByteArray = _2;
|
|
2106
|
+
var F = [], Q = [], R2 = typeof Uint8Array < "u" ? Uint8Array : Array, Ke = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
2107
|
+
for (var Ie = 0, U2 = Ke.length; Ie < U2; ++Ie)
|
|
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 it(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");
|
|
@@ -2117,41 +2117,41 @@ function tt(i) {
|
|
|
2117
2117
|
var p = l === r ? 0 : 4 - l % 4;
|
|
2118
2118
|
return [l, p];
|
|
2119
2119
|
}
|
|
2120
|
-
function
|
|
2121
|
-
var r =
|
|
2120
|
+
function $2(i) {
|
|
2121
|
+
var r = it(i), l = r[0], p = r[1];
|
|
2122
2122
|
return (l + p) * 3 / 4 - p;
|
|
2123
2123
|
}
|
|
2124
|
-
function
|
|
2124
|
+
function Q2(i, r, l) {
|
|
2125
2125
|
return (r + l) * 3 / 4 - l;
|
|
2126
2126
|
}
|
|
2127
|
-
function
|
|
2128
|
-
var r, l =
|
|
2127
|
+
function Y2(i) {
|
|
2128
|
+
var r, l = it(i), p = l[0], g = l[1], h = new R2(Q2(i, p, g)), M = 0, a = g > 0 ? p - 4 : p, I;
|
|
2129
2129
|
for (I = 0; I < a; I += 4)
|
|
2130
2130
|
r = Q[i.charCodeAt(I)] << 18 | Q[i.charCodeAt(I + 1)] << 12 | Q[i.charCodeAt(I + 2)] << 6 | Q[i.charCodeAt(I + 3)], h[M++] = r >> 16 & 255, h[M++] = r >> 8 & 255, h[M++] = r & 255;
|
|
2131
2131
|
return g === 2 && (r = Q[i.charCodeAt(I)] << 2 | Q[i.charCodeAt(I + 1)] >> 4, h[M++] = r & 255), g === 1 && (r = Q[i.charCodeAt(I)] << 10 | Q[i.charCodeAt(I + 1)] << 4 | Q[i.charCodeAt(I + 2)] >> 2, h[M++] = r >> 8 & 255, h[M++] = r & 255), h;
|
|
2132
2132
|
}
|
|
2133
|
-
function
|
|
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
|
-
function
|
|
2136
|
+
function P2(i, r, l) {
|
|
2137
2137
|
for (var p, g = [], h = r; h < l; h += 3)
|
|
2138
|
-
p = (i[h] << 16 & 16711680) + (i[h + 1] << 8 & 65280) + (i[h + 2] & 255), g.push(
|
|
2138
|
+
p = (i[h] << 16 & 16711680) + (i[h + 1] << 8 & 65280) + (i[h + 2] & 255), g.push(Z2(p));
|
|
2139
2139
|
return g.join("");
|
|
2140
2140
|
}
|
|
2141
|
-
function
|
|
2141
|
+
function _2(i) {
|
|
2142
2142
|
for (var r, l = i.length, p = l % 3, g = [], h = 16383, M = 0, a = l - p; M < a; M += h)
|
|
2143
|
-
g.push(
|
|
2143
|
+
g.push(P2(i, M, M + h > a ? a : M + h));
|
|
2144
2144
|
return p === 1 ? (r = i[l - 1], g.push(
|
|
2145
2145
|
F[r >> 2] + F[r << 4 & 63] + "=="
|
|
2146
2146
|
)) : p === 2 && (r = (i[l - 2] << 8) + i[l - 1], g.push(
|
|
2147
2147
|
F[r >> 10] + F[r >> 4 & 63] + F[r << 2 & 63] + "="
|
|
2148
2148
|
)), g.join("");
|
|
2149
2149
|
}
|
|
2150
|
-
var
|
|
2150
|
+
var c1 = {};
|
|
2151
2151
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2152
|
-
|
|
2153
|
-
var h, M, a = g * 8 - p - 1, I = (1 << a) - 1, N = I >> 1, f = -7, w = l ? g - 1 : 0, D = l ? -1 : 1,
|
|
2154
|
-
for (w += D, h =
|
|
2152
|
+
c1.read = function(i, r, l, p, g) {
|
|
2153
|
+
var h, M, a = g * 8 - p - 1, I = (1 << a) - 1, N = I >> 1, f = -7, w = l ? g - 1 : 0, D = l ? -1 : 1, L = i[r + w];
|
|
2154
|
+
for (w += D, h = L & (1 << -f) - 1, L >>= -f, f += a; f > 0; h = h * 256 + i[r + w], w += D, f -= 8)
|
|
2155
2155
|
;
|
|
2156
2156
|
for (M = h & (1 << -f) - 1, h >>= -f, f += p; f > 0; M = M * 256 + i[r + w], w += D, f -= 8)
|
|
2157
2157
|
;
|
|
@@ -2159,18 +2159,18 @@ a1.read = function(i, r, l, p, g) {
|
|
|
2159
2159
|
h = 1 - N;
|
|
2160
2160
|
else {
|
|
2161
2161
|
if (h === I)
|
|
2162
|
-
return M ? NaN : (
|
|
2162
|
+
return M ? NaN : (L ? -1 : 1) * (1 / 0);
|
|
2163
2163
|
M = M + Math.pow(2, p), h = h - N;
|
|
2164
2164
|
}
|
|
2165
|
-
return (
|
|
2165
|
+
return (L ? -1 : 1) * M * Math.pow(2, h - p);
|
|
2166
2166
|
};
|
|
2167
|
-
|
|
2168
|
-
var M, a, I, N = h * 8 - g - 1, f = (1 << N) - 1, w = f >> 1, D = g === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
|
|
2169
|
-
for (r = Math.abs(r), isNaN(r) || r === 1 / 0 ? (a = isNaN(r) ? 1 : 0, M = f) : (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 >= f ? (a = 0, M = f) : M + w >= 1 ? (a = (r * I - 1) * Math.pow(2, g), M = M + w) : (a = r * Math.pow(2, w - 1) * Math.pow(2, g), M = 0)); g >= 8; i[l +
|
|
2167
|
+
c1.write = function(i, r, l, p, g, h) {
|
|
2168
|
+
var M, a, I, N = h * 8 - g - 1, f = (1 << N) - 1, w = f >> 1, D = g === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, L = p ? 0 : h - 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 = f) : (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 >= f ? (a = 0, M = f) : M + w >= 1 ? (a = (r * I - 1) * Math.pow(2, g), M = M + w) : (a = r * Math.pow(2, w - 1) * Math.pow(2, g), M = 0)); g >= 8; i[l + L] = a & 255, L += k, a /= 256, g -= 8)
|
|
2170
2170
|
;
|
|
2171
|
-
for (M = M << g | a, N += g; N > 0; i[l +
|
|
2171
|
+
for (M = M << g | a, N += g; N > 0; i[l + L] = M & 255, L += k, M /= 256, N -= 8)
|
|
2172
2172
|
;
|
|
2173
|
-
i[l +
|
|
2173
|
+
i[l + L - k] |= O * 128;
|
|
2174
2174
|
};
|
|
2175
2175
|
/*!
|
|
2176
2176
|
* The buffer module from node.js, for the browser.
|
|
@@ -2179,7 +2179,7 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2179
2179
|
* @license MIT
|
|
2180
2180
|
*/
|
|
2181
2181
|
(function(i) {
|
|
2182
|
-
const r =
|
|
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
2184
|
const g = 2147483647;
|
|
2185
2185
|
i.kMaxLength = g, a.TYPED_ARRAY_SUPPORT = h(), !a.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
|
|
@@ -2283,7 +2283,7 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2283
2283
|
const c = s.write(n, e);
|
|
2284
2284
|
return c !== t && (s = s.slice(0, c)), s;
|
|
2285
2285
|
}
|
|
2286
|
-
function
|
|
2286
|
+
function L(n) {
|
|
2287
2287
|
const e = n.length < 0 ? 0 : R(n.length) | 0, t = M(e);
|
|
2288
2288
|
for (let s = 0; s < e; s += 1)
|
|
2289
2289
|
t[s] = n[s] & 255;
|
|
@@ -2294,7 +2294,7 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2294
2294
|
const e = new Uint8Array(n);
|
|
2295
2295
|
return O(e.buffer, e.byteOffset, e.byteLength);
|
|
2296
2296
|
}
|
|
2297
|
-
return
|
|
2297
|
+
return L(n);
|
|
2298
2298
|
}
|
|
2299
2299
|
function O(n, e, t) {
|
|
2300
2300
|
if (e < 0 || n.byteLength < e)
|
|
@@ -2310,9 +2310,9 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2310
2310
|
return t.length === 0 || n.copy(t, 0, 0, e), t;
|
|
2311
2311
|
}
|
|
2312
2312
|
if (n.length !== void 0)
|
|
2313
|
-
return typeof n.length != "number" ||
|
|
2313
|
+
return typeof n.length != "number" || Ve(n.length) ? M(0) : L(n);
|
|
2314
2314
|
if (n.type === "Buffer" && Array.isArray(n.data))
|
|
2315
|
-
return
|
|
2315
|
+
return L(n.data);
|
|
2316
2316
|
}
|
|
2317
2317
|
function R(n) {
|
|
2318
2318
|
if (n >= g)
|
|
@@ -2332,7 +2332,7 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2332
2332
|
if (e === t)
|
|
2333
2333
|
return 0;
|
|
2334
2334
|
let s = e.length, c = t.length;
|
|
2335
|
-
for (let u = 0,
|
|
2335
|
+
for (let u = 0, m = Math.min(s, c); u < m; ++u)
|
|
2336
2336
|
if (e[u] !== t[u]) {
|
|
2337
2337
|
s = e[u], c = t[u];
|
|
2338
2338
|
break;
|
|
@@ -2367,18 +2367,18 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2367
2367
|
const c = a.allocUnsafe(t);
|
|
2368
2368
|
let u = 0;
|
|
2369
2369
|
for (s = 0; s < e.length; ++s) {
|
|
2370
|
-
let
|
|
2371
|
-
if (V(
|
|
2372
|
-
u +
|
|
2370
|
+
let m = e[s];
|
|
2371
|
+
if (V(m, Uint8Array))
|
|
2372
|
+
u + m.length > c.length ? (a.isBuffer(m) || (m = a.from(m)), m.copy(c, u)) : Uint8Array.prototype.set.call(
|
|
2373
2373
|
c,
|
|
2374
|
-
|
|
2374
|
+
m,
|
|
2375
2375
|
u
|
|
2376
2376
|
);
|
|
2377
|
-
else if (a.isBuffer(
|
|
2378
|
-
|
|
2377
|
+
else if (a.isBuffer(m))
|
|
2378
|
+
m.copy(c, u);
|
|
2379
2379
|
else
|
|
2380
2380
|
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
2381
|
-
u +=
|
|
2381
|
+
u += m.length;
|
|
2382
2382
|
}
|
|
2383
2383
|
return c;
|
|
2384
2384
|
};
|
|
@@ -2403,7 +2403,7 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2403
2403
|
return t;
|
|
2404
2404
|
case "utf8":
|
|
2405
2405
|
case "utf-8":
|
|
2406
|
-
return
|
|
2406
|
+
return _e(n).length;
|
|
2407
2407
|
case "ucs2":
|
|
2408
2408
|
case "ucs-2":
|
|
2409
2409
|
case "utf16le":
|
|
@@ -2415,12 +2415,12 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2415
2415
|
return C1(n).length;
|
|
2416
2416
|
default:
|
|
2417
2417
|
if (c)
|
|
2418
|
-
return s ? -1 :
|
|
2418
|
+
return s ? -1 : _e(n).length;
|
|
2419
2419
|
e = ("" + e).toLowerCase(), c = !0;
|
|
2420
2420
|
}
|
|
2421
2421
|
}
|
|
2422
2422
|
a.byteLength = P;
|
|
2423
|
-
function
|
|
2423
|
+
function we(n, e, t) {
|
|
2424
2424
|
let s = !1;
|
|
2425
2425
|
if ((e === void 0 || e < 0) && (e = 0), e > this.length || ((t === void 0 || t > this.length) && (t = this.length), t <= 0) || (t >>>= 0, e >>>= 0, t <= e))
|
|
2426
2426
|
return "";
|
|
@@ -2430,19 +2430,19 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2430
2430
|
return se(this, e, t);
|
|
2431
2431
|
case "utf8":
|
|
2432
2432
|
case "utf-8":
|
|
2433
|
-
return
|
|
2433
|
+
return pe(this, e, t);
|
|
2434
2434
|
case "ascii":
|
|
2435
|
-
return
|
|
2435
|
+
return Qe(this, e, t);
|
|
2436
2436
|
case "latin1":
|
|
2437
2437
|
case "binary":
|
|
2438
|
-
return
|
|
2438
|
+
return Ye(this, e, t);
|
|
2439
2439
|
case "base64":
|
|
2440
2440
|
return $(this, e, t);
|
|
2441
2441
|
case "ucs2":
|
|
2442
2442
|
case "ucs-2":
|
|
2443
2443
|
case "utf16le":
|
|
2444
2444
|
case "utf-16le":
|
|
2445
|
-
return
|
|
2445
|
+
return Ze(this, e, t);
|
|
2446
2446
|
default:
|
|
2447
2447
|
if (s)
|
|
2448
2448
|
throw new TypeError("Unknown encoding: " + n);
|
|
@@ -2477,7 +2477,7 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2477
2477
|
return this;
|
|
2478
2478
|
}, a.prototype.toString = function() {
|
|
2479
2479
|
const e = this.length;
|
|
2480
|
-
return e === 0 ? "" : arguments.length === 0 ?
|
|
2480
|
+
return e === 0 ? "" : arguments.length === 0 ? pe(this, 0, e) : we.apply(this, arguments);
|
|
2481
2481
|
}, a.prototype.toLocaleString = a.prototype.toString, a.prototype.equals = function(e) {
|
|
2482
2482
|
if (!a.isBuffer(e))
|
|
2483
2483
|
throw new TypeError("Argument must be a Buffer");
|
|
@@ -2501,19 +2501,19 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2501
2501
|
return 1;
|
|
2502
2502
|
if (t >>>= 0, s >>>= 0, c >>>= 0, u >>>= 0, this === e)
|
|
2503
2503
|
return 0;
|
|
2504
|
-
let
|
|
2505
|
-
const v = Math.min(
|
|
2506
|
-
for (let
|
|
2507
|
-
if (j[
|
|
2508
|
-
|
|
2504
|
+
let m = u - c, A = s - t;
|
|
2505
|
+
const v = Math.min(m, A), j = this.slice(c, u), x = e.slice(t, s);
|
|
2506
|
+
for (let T = 0; T < v; ++T)
|
|
2507
|
+
if (j[T] !== x[T]) {
|
|
2508
|
+
m = j[T], A = x[T];
|
|
2509
2509
|
break;
|
|
2510
2510
|
}
|
|
2511
|
-
return
|
|
2511
|
+
return m < A ? -1 : A < m ? 1 : 0;
|
|
2512
2512
|
};
|
|
2513
|
-
function
|
|
2513
|
+
function ye(n, e, t, s, c) {
|
|
2514
2514
|
if (n.length === 0)
|
|
2515
2515
|
return -1;
|
|
2516
|
-
if (typeof t == "string" ? (s = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t,
|
|
2516
|
+
if (typeof t == "string" ? (s = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t, Ve(t) && (t = c ? 0 : n.length - 1), t < 0 && (t = n.length + t), t >= n.length) {
|
|
2517
2517
|
if (c)
|
|
2518
2518
|
return -1;
|
|
2519
2519
|
t = n.length - 1;
|
|
@@ -2523,35 +2523,35 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2523
2523
|
else
|
|
2524
2524
|
return -1;
|
|
2525
2525
|
if (typeof e == "string" && (e = a.from(e, s)), a.isBuffer(e))
|
|
2526
|
-
return e.length === 0 ? -1 :
|
|
2526
|
+
return e.length === 0 ? -1 : Ne(n, e, t, s, c);
|
|
2527
2527
|
if (typeof e == "number")
|
|
2528
|
-
return e = e & 255, typeof Uint8Array.prototype.indexOf == "function" ? c ? Uint8Array.prototype.indexOf.call(n, e, t) : Uint8Array.prototype.lastIndexOf.call(n, e, t) :
|
|
2528
|
+
return e = e & 255, typeof Uint8Array.prototype.indexOf == "function" ? c ? Uint8Array.prototype.indexOf.call(n, e, t) : Uint8Array.prototype.lastIndexOf.call(n, e, t) : Ne(n, [e], t, s, c);
|
|
2529
2529
|
throw new TypeError("val must be string, number or Buffer");
|
|
2530
2530
|
}
|
|
2531
|
-
function
|
|
2532
|
-
let u = 1,
|
|
2531
|
+
function Ne(n, e, t, s, c) {
|
|
2532
|
+
let u = 1, m = n.length, A = e.length;
|
|
2533
2533
|
if (s !== void 0 && (s = String(s).toLowerCase(), s === "ucs2" || s === "ucs-2" || s === "utf16le" || s === "utf-16le")) {
|
|
2534
2534
|
if (n.length < 2 || e.length < 2)
|
|
2535
2535
|
return -1;
|
|
2536
|
-
u = 2,
|
|
2536
|
+
u = 2, m /= 2, A /= 2, t /= 2;
|
|
2537
2537
|
}
|
|
2538
|
-
function v(x,
|
|
2539
|
-
return u === 1 ? x[
|
|
2538
|
+
function v(x, T) {
|
|
2539
|
+
return u === 1 ? x[T] : x.readUInt16BE(T * u);
|
|
2540
2540
|
}
|
|
2541
2541
|
let j;
|
|
2542
2542
|
if (c) {
|
|
2543
2543
|
let x = -1;
|
|
2544
|
-
for (j = t; j <
|
|
2544
|
+
for (j = t; j < m; j++)
|
|
2545
2545
|
if (v(n, j) === v(e, x === -1 ? 0 : j - x)) {
|
|
2546
2546
|
if (x === -1 && (x = j), j - x + 1 === A)
|
|
2547
2547
|
return x * u;
|
|
2548
2548
|
} else
|
|
2549
2549
|
x !== -1 && (j -= j - x), x = -1;
|
|
2550
2550
|
} else
|
|
2551
|
-
for (t + A >
|
|
2551
|
+
for (t + A > m && (t = m - A), j = t; j >= 0; j--) {
|
|
2552
2552
|
let x = !0;
|
|
2553
|
-
for (let
|
|
2554
|
-
if (v(n, j +
|
|
2553
|
+
for (let T = 0; T < A; T++)
|
|
2554
|
+
if (v(n, j + T) !== v(e, T)) {
|
|
2555
2555
|
x = !1;
|
|
2556
2556
|
break;
|
|
2557
2557
|
}
|
|
@@ -2563,36 +2563,36 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2563
2563
|
a.prototype.includes = function(e, t, s) {
|
|
2564
2564
|
return this.indexOf(e, t, s) !== -1;
|
|
2565
2565
|
}, a.prototype.indexOf = function(e, t, s) {
|
|
2566
|
-
return
|
|
2566
|
+
return ye(this, e, t, s, !0);
|
|
2567
2567
|
}, a.prototype.lastIndexOf = function(e, t, s) {
|
|
2568
|
-
return
|
|
2568
|
+
return ye(this, e, t, s, !1);
|
|
2569
2569
|
};
|
|
2570
|
-
function
|
|
2570
|
+
function De(n, e, t, s) {
|
|
2571
2571
|
t = Number(t) || 0;
|
|
2572
2572
|
const c = n.length - t;
|
|
2573
2573
|
s ? (s = Number(s), s > c && (s = c)) : s = c;
|
|
2574
2574
|
const u = e.length;
|
|
2575
2575
|
s > u / 2 && (s = u / 2);
|
|
2576
|
-
let
|
|
2577
|
-
for (
|
|
2578
|
-
const A = parseInt(e.substr(
|
|
2579
|
-
if (
|
|
2580
|
-
return
|
|
2581
|
-
n[t +
|
|
2576
|
+
let m;
|
|
2577
|
+
for (m = 0; m < s; ++m) {
|
|
2578
|
+
const A = parseInt(e.substr(m * 2, 2), 16);
|
|
2579
|
+
if (Ve(A))
|
|
2580
|
+
return m;
|
|
2581
|
+
n[t + m] = A;
|
|
2582
2582
|
}
|
|
2583
|
-
return
|
|
2584
|
-
}
|
|
2585
|
-
function Be(n, e, t, s) {
|
|
2586
|
-
return Le(Pe(e, n.length - t), n, t, s);
|
|
2583
|
+
return m;
|
|
2587
2584
|
}
|
|
2588
2585
|
function Re(n, e, t, s) {
|
|
2589
|
-
return Le(
|
|
2586
|
+
return Le(_e(e, n.length - t), n, t, s);
|
|
2590
2587
|
}
|
|
2591
|
-
function
|
|
2588
|
+
function Ue(n, e, t, s) {
|
|
2589
|
+
return Le(pt(e), n, t, s);
|
|
2590
|
+
}
|
|
2591
|
+
function Ee(n, e, t, s) {
|
|
2592
2592
|
return Le(C1(e), n, t, s);
|
|
2593
2593
|
}
|
|
2594
|
-
function
|
|
2595
|
-
return Le(
|
|
2594
|
+
function ue(n, e, t, s) {
|
|
2595
|
+
return Le(ht(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)
|
|
@@ -2609,29 +2609,29 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2609
2609
|
if ((s === void 0 || s > u) && (s = u), e.length > 0 && (s < 0 || t < 0) || t > this.length)
|
|
2610
2610
|
throw new RangeError("Attempt to write outside buffer bounds");
|
|
2611
2611
|
c || (c = "utf8");
|
|
2612
|
-
let
|
|
2612
|
+
let m = !1;
|
|
2613
2613
|
for (; ; )
|
|
2614
2614
|
switch (c) {
|
|
2615
2615
|
case "hex":
|
|
2616
|
-
return
|
|
2616
|
+
return De(this, e, t, s);
|
|
2617
2617
|
case "utf8":
|
|
2618
2618
|
case "utf-8":
|
|
2619
|
-
return
|
|
2619
|
+
return Re(this, e, t, s);
|
|
2620
2620
|
case "ascii":
|
|
2621
2621
|
case "latin1":
|
|
2622
2622
|
case "binary":
|
|
2623
|
-
return
|
|
2623
|
+
return Ue(this, e, t, s);
|
|
2624
2624
|
case "base64":
|
|
2625
|
-
return
|
|
2625
|
+
return Ee(this, e, t, s);
|
|
2626
2626
|
case "ucs2":
|
|
2627
2627
|
case "ucs-2":
|
|
2628
2628
|
case "utf16le":
|
|
2629
2629
|
case "utf-16le":
|
|
2630
|
-
return
|
|
2630
|
+
return ue(this, e, t, s);
|
|
2631
2631
|
default:
|
|
2632
|
-
if (
|
|
2632
|
+
if (m)
|
|
2633
2633
|
throw new TypeError("Unknown encoding: " + c);
|
|
2634
|
-
c = ("" + c).toLowerCase(),
|
|
2634
|
+
c = ("" + c).toLowerCase(), m = !0;
|
|
2635
2635
|
}
|
|
2636
2636
|
}, a.prototype.toJSON = function() {
|
|
2637
2637
|
return {
|
|
@@ -2642,54 +2642,54 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2642
2642
|
function $(n, e, t) {
|
|
2643
2643
|
return e === 0 && t === n.length ? r.fromByteArray(n) : r.fromByteArray(n.slice(e, t));
|
|
2644
2644
|
}
|
|
2645
|
-
function
|
|
2645
|
+
function pe(n, e, t) {
|
|
2646
2646
|
t = Math.min(n.length, t);
|
|
2647
2647
|
const s = [];
|
|
2648
2648
|
let c = e;
|
|
2649
2649
|
for (; c < t; ) {
|
|
2650
2650
|
const u = n[c];
|
|
2651
|
-
let
|
|
2651
|
+
let m = null, A = u > 239 ? 4 : u > 223 ? 3 : u > 191 ? 2 : 1;
|
|
2652
2652
|
if (c + A <= t) {
|
|
2653
|
-
let v, j, x,
|
|
2653
|
+
let v, j, x, T;
|
|
2654
2654
|
switch (A) {
|
|
2655
2655
|
case 1:
|
|
2656
|
-
u < 128 && (
|
|
2656
|
+
u < 128 && (m = u);
|
|
2657
2657
|
break;
|
|
2658
2658
|
case 2:
|
|
2659
|
-
v = n[c + 1], (v & 192) === 128 && (
|
|
2659
|
+
v = n[c + 1], (v & 192) === 128 && (T = (u & 31) << 6 | v & 63, T > 127 && (m = T));
|
|
2660
2660
|
break;
|
|
2661
2661
|
case 3:
|
|
2662
|
-
v = n[c + 1], j = n[c + 2], (v & 192) === 128 && (j & 192) === 128 && (
|
|
2662
|
+
v = n[c + 1], j = n[c + 2], (v & 192) === 128 && (j & 192) === 128 && (T = (u & 15) << 12 | (v & 63) << 6 | j & 63, T > 2047 && (T < 55296 || T > 57343) && (m = T));
|
|
2663
2663
|
break;
|
|
2664
2664
|
case 4:
|
|
2665
|
-
v = n[c + 1], j = n[c + 2], x = n[c + 3], (v & 192) === 128 && (j & 192) === 128 && (x & 192) === 128 && (
|
|
2665
|
+
v = n[c + 1], j = n[c + 2], x = n[c + 3], (v & 192) === 128 && (j & 192) === 128 && (x & 192) === 128 && (T = (u & 15) << 18 | (v & 63) << 12 | (j & 63) << 6 | x & 63, T > 65535 && T < 1114112 && (m = T));
|
|
2666
2666
|
}
|
|
2667
2667
|
}
|
|
2668
|
-
|
|
2668
|
+
m === null ? (m = 65533, A = 1) : m > 65535 && (m -= 65536, s.push(m >>> 10 & 1023 | 55296), m = 56320 | m & 1023), s.push(m), c += A;
|
|
2669
2669
|
}
|
|
2670
|
-
return
|
|
2670
|
+
return $e(s);
|
|
2671
2671
|
}
|
|
2672
|
-
const
|
|
2673
|
-
function
|
|
2672
|
+
const Te = 4096;
|
|
2673
|
+
function $e(n) {
|
|
2674
2674
|
const e = n.length;
|
|
2675
|
-
if (e <=
|
|
2675
|
+
if (e <= Te)
|
|
2676
2676
|
return String.fromCharCode.apply(String, n);
|
|
2677
2677
|
let t = "", s = 0;
|
|
2678
2678
|
for (; s < e; )
|
|
2679
2679
|
t += String.fromCharCode.apply(
|
|
2680
2680
|
String,
|
|
2681
|
-
n.slice(s, s +=
|
|
2681
|
+
n.slice(s, s += Te)
|
|
2682
2682
|
);
|
|
2683
2683
|
return t;
|
|
2684
2684
|
}
|
|
2685
|
-
function
|
|
2685
|
+
function Qe(n, e, t) {
|
|
2686
2686
|
let s = "";
|
|
2687
2687
|
t = Math.min(n.length, t);
|
|
2688
2688
|
for (let c = e; c < t; ++c)
|
|
2689
2689
|
s += String.fromCharCode(n[c] & 127);
|
|
2690
2690
|
return s;
|
|
2691
2691
|
}
|
|
2692
|
-
function
|
|
2692
|
+
function Ye(n, e, t) {
|
|
2693
2693
|
let s = "";
|
|
2694
2694
|
t = Math.min(n.length, t);
|
|
2695
2695
|
for (let c = e; c < t; ++c)
|
|
@@ -2701,10 +2701,10 @@ a1.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 += gt[n[u]];
|
|
2705
2705
|
return c;
|
|
2706
2706
|
}
|
|
2707
|
-
function
|
|
2707
|
+
function Ze(n, e, t) {
|
|
2708
2708
|
const s = n.slice(e, t);
|
|
2709
2709
|
let c = "";
|
|
2710
2710
|
for (let u = 0; u < s.length - 1; u += 2)
|
|
@@ -2725,9 +2725,9 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2725
2725
|
}
|
|
2726
2726
|
a.prototype.readUintLE = a.prototype.readUIntLE = function(e, t, s) {
|
|
2727
2727
|
e = e >>> 0, t = t >>> 0, s || S(e, t, this.length);
|
|
2728
|
-
let c = this[e], u = 1,
|
|
2729
|
-
for (; ++
|
|
2730
|
-
c += this[e +
|
|
2728
|
+
let c = this[e], u = 1, m = 0;
|
|
2729
|
+
for (; ++m < t && (u *= 256); )
|
|
2730
|
+
c += this[e + m] * u;
|
|
2731
2731
|
return c;
|
|
2732
2732
|
}, a.prototype.readUintBE = a.prototype.readUIntBE = function(e, t, s) {
|
|
2733
2733
|
e = e >>> 0, t = t >>> 0, s || S(e, t, this.length);
|
|
@@ -2746,29 +2746,29 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2746
2746
|
}, a.prototype.readUint32BE = a.prototype.readUInt32BE = function(e, t) {
|
|
2747
2747
|
return e = e >>> 0, t || S(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
|
|
2748
2748
|
}, a.prototype.readBigUInt64LE = te(function(e) {
|
|
2749
|
-
e = e >>> 0,
|
|
2749
|
+
e = e >>> 0, ge(e, "offset");
|
|
2750
2750
|
const t = this[e], s = this[e + 7];
|
|
2751
|
-
(t === void 0 || s === void 0) &&
|
|
2751
|
+
(t === void 0 || s === void 0) && fe(e, this.length - 8);
|
|
2752
2752
|
const c = t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, u = this[++e] + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + s * 2 ** 24;
|
|
2753
2753
|
return BigInt(c) + (BigInt(u) << BigInt(32));
|
|
2754
2754
|
}), a.prototype.readBigUInt64BE = te(function(e) {
|
|
2755
|
-
e = e >>> 0,
|
|
2755
|
+
e = e >>> 0, ge(e, "offset");
|
|
2756
2756
|
const t = this[e], s = this[e + 7];
|
|
2757
|
-
(t === void 0 || s === void 0) &&
|
|
2757
|
+
(t === void 0 || s === void 0) && fe(e, this.length - 8);
|
|
2758
2758
|
const c = t * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e], u = this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + s;
|
|
2759
2759
|
return (BigInt(c) << BigInt(32)) + BigInt(u);
|
|
2760
2760
|
}), a.prototype.readIntLE = function(e, t, s) {
|
|
2761
2761
|
e = e >>> 0, t = t >>> 0, s || S(e, t, this.length);
|
|
2762
|
-
let c = this[e], u = 1,
|
|
2763
|
-
for (; ++
|
|
2764
|
-
c += this[e +
|
|
2762
|
+
let c = this[e], u = 1, m = 0;
|
|
2763
|
+
for (; ++m < t && (u *= 256); )
|
|
2764
|
+
c += this[e + m] * u;
|
|
2765
2765
|
return u *= 128, c >= u && (c -= Math.pow(2, 8 * t)), c;
|
|
2766
2766
|
}, a.prototype.readIntBE = function(e, t, s) {
|
|
2767
2767
|
e = e >>> 0, t = t >>> 0, s || S(e, t, this.length);
|
|
2768
|
-
let c = t, u = 1,
|
|
2768
|
+
let c = t, u = 1, m = this[e + --c];
|
|
2769
2769
|
for (; c > 0 && (u *= 256); )
|
|
2770
|
-
|
|
2771
|
-
return u *= 128,
|
|
2770
|
+
m += this[e + --c] * u;
|
|
2771
|
+
return u *= 128, m >= u && (m -= Math.pow(2, 8 * t)), m;
|
|
2772
2772
|
}, a.prototype.readInt8 = function(e, t) {
|
|
2773
2773
|
return e = e >>> 0, t || S(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
|
|
2774
2774
|
}, a.prototype.readInt16LE = function(e, t) {
|
|
@@ -2784,15 +2784,15 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2784
2784
|
}, a.prototype.readInt32BE = function(e, t) {
|
|
2785
2785
|
return e = e >>> 0, t || S(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
|
|
2786
2786
|
}, a.prototype.readBigInt64LE = te(function(e) {
|
|
2787
|
-
e = e >>> 0,
|
|
2787
|
+
e = e >>> 0, ge(e, "offset");
|
|
2788
2788
|
const t = this[e], s = this[e + 7];
|
|
2789
|
-
(t === void 0 || s === void 0) &&
|
|
2789
|
+
(t === void 0 || s === void 0) && fe(e, this.length - 8);
|
|
2790
2790
|
const c = this[e + 4] + this[e + 5] * 2 ** 8 + this[e + 6] * 2 ** 16 + (s << 24);
|
|
2791
2791
|
return (BigInt(c) << BigInt(32)) + BigInt(t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
|
|
2792
2792
|
}), a.prototype.readBigInt64BE = te(function(e) {
|
|
2793
|
-
e = e >>> 0,
|
|
2793
|
+
e = e >>> 0, ge(e, "offset");
|
|
2794
2794
|
const t = this[e], s = this[e + 7];
|
|
2795
|
-
(t === void 0 || s === void 0) &&
|
|
2795
|
+
(t === void 0 || s === void 0) && fe(e, this.length - 8);
|
|
2796
2796
|
const c = (t << 24) + // Overflow
|
|
2797
2797
|
this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e];
|
|
2798
2798
|
return (BigInt(c) << BigInt(32)) + BigInt(this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + s);
|
|
@@ -2818,18 +2818,18 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2818
2818
|
const A = Math.pow(2, 8 * s) - 1;
|
|
2819
2819
|
U(this, e, t, s, A, 0);
|
|
2820
2820
|
}
|
|
2821
|
-
let u = 1,
|
|
2822
|
-
for (this[t] = e & 255; ++
|
|
2823
|
-
this[t +
|
|
2821
|
+
let u = 1, m = 0;
|
|
2822
|
+
for (this[t] = e & 255; ++m < s && (u *= 256); )
|
|
2823
|
+
this[t + m] = e / u & 255;
|
|
2824
2824
|
return t + s;
|
|
2825
2825
|
}, a.prototype.writeUintBE = a.prototype.writeUIntBE = function(e, t, s, c) {
|
|
2826
2826
|
if (e = +e, t = t >>> 0, s = s >>> 0, !c) {
|
|
2827
2827
|
const A = Math.pow(2, 8 * s) - 1;
|
|
2828
2828
|
U(this, e, t, s, A, 0);
|
|
2829
2829
|
}
|
|
2830
|
-
let u = s - 1,
|
|
2831
|
-
for (this[t + u] = e & 255; --u >= 0 && (
|
|
2832
|
-
this[t + u] = e /
|
|
2830
|
+
let u = s - 1, m = 1;
|
|
2831
|
+
for (this[t + u] = e & 255; --u >= 0 && (m *= 256); )
|
|
2832
|
+
this[t + u] = e / m & 255;
|
|
2833
2833
|
return t + s;
|
|
2834
2834
|
}, a.prototype.writeUint8 = a.prototype.writeUInt8 = function(e, t, s) {
|
|
2835
2835
|
return e = +e, t = t >>> 0, s || U(this, e, t, 1, 255, 0), this[t] = e & 255, t + 1;
|
|
@@ -2842,41 +2842,41 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2842
2842
|
}, a.prototype.writeUint32BE = a.prototype.writeUInt32BE = function(e, t, s) {
|
|
2843
2843
|
return e = +e, t = t >>> 0, s || U(this, e, t, 4, 4294967295, 0), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
|
|
2844
2844
|
};
|
|
2845
|
-
function
|
|
2846
|
-
|
|
2845
|
+
function u1(n, e, t, s, c) {
|
|
2846
|
+
m1(e, s, c, n, t, 7);
|
|
2847
2847
|
let u = Number(e & BigInt(4294967295));
|
|
2848
2848
|
n[t++] = u, u = u >> 8, n[t++] = u, u = u >> 8, n[t++] = u, u = u >> 8, n[t++] = u;
|
|
2849
|
-
let
|
|
2850
|
-
return n[t++] =
|
|
2849
|
+
let m = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
2850
|
+
return n[t++] = m, m = m >> 8, n[t++] = m, m = m >> 8, n[t++] = m, m = m >> 8, n[t++] = m, t;
|
|
2851
2851
|
}
|
|
2852
|
-
function
|
|
2853
|
-
|
|
2852
|
+
function p1(n, e, t, s, c) {
|
|
2853
|
+
m1(e, s, c, n, t, 7);
|
|
2854
2854
|
let u = Number(e & BigInt(4294967295));
|
|
2855
2855
|
n[t + 7] = u, u = u >> 8, n[t + 6] = u, u = u >> 8, n[t + 5] = u, u = u >> 8, n[t + 4] = u;
|
|
2856
|
-
let
|
|
2857
|
-
return n[t + 3] =
|
|
2856
|
+
let m = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
2857
|
+
return n[t + 3] = m, m = m >> 8, n[t + 2] = m, m = m >> 8, n[t + 1] = m, m = m >> 8, n[t] = m, t + 8;
|
|
2858
2858
|
}
|
|
2859
2859
|
a.prototype.writeBigUInt64LE = te(function(e, t = 0) {
|
|
2860
|
-
return d1(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
2861
|
-
}), a.prototype.writeBigUInt64BE = te(function(e, t = 0) {
|
|
2862
2860
|
return u1(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
2861
|
+
}), a.prototype.writeBigUInt64BE = te(function(e, t = 0) {
|
|
2862
|
+
return p1(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
2863
2863
|
}), a.prototype.writeIntLE = function(e, t, s, c) {
|
|
2864
2864
|
if (e = +e, t = t >>> 0, !c) {
|
|
2865
2865
|
const v = Math.pow(2, 8 * s - 1);
|
|
2866
2866
|
U(this, e, t, s, v - 1, -v);
|
|
2867
2867
|
}
|
|
2868
|
-
let u = 0,
|
|
2869
|
-
for (this[t] = e & 255; ++u < s && (
|
|
2870
|
-
e < 0 && A === 0 && this[t + u - 1] !== 0 && (A = 1), this[t + u] = (e /
|
|
2868
|
+
let u = 0, m = 1, A = 0;
|
|
2869
|
+
for (this[t] = e & 255; ++u < s && (m *= 256); )
|
|
2870
|
+
e < 0 && A === 0 && this[t + u - 1] !== 0 && (A = 1), this[t + u] = (e / m >> 0) - A & 255;
|
|
2871
2871
|
return t + s;
|
|
2872
2872
|
}, a.prototype.writeIntBE = function(e, t, s, c) {
|
|
2873
2873
|
if (e = +e, t = t >>> 0, !c) {
|
|
2874
2874
|
const v = Math.pow(2, 8 * s - 1);
|
|
2875
2875
|
U(this, e, t, s, v - 1, -v);
|
|
2876
2876
|
}
|
|
2877
|
-
let u = s - 1,
|
|
2878
|
-
for (this[t + u] = e & 255; --u >= 0 && (
|
|
2879
|
-
e < 0 && A === 0 && this[t + u + 1] !== 0 && (A = 1), this[t + u] = (e /
|
|
2877
|
+
let u = s - 1, m = 1, A = 0;
|
|
2878
|
+
for (this[t + u] = e & 255; --u >= 0 && (m *= 256); )
|
|
2879
|
+
e < 0 && A === 0 && this[t + u + 1] !== 0 && (A = 1), this[t + u] = (e / m >> 0) - A & 255;
|
|
2880
2880
|
return t + s;
|
|
2881
2881
|
}, a.prototype.writeInt8 = function(e, t, s) {
|
|
2882
2882
|
return e = +e, t = t >>> 0, s || U(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[t] = e & 255, t + 1;
|
|
@@ -2889,31 +2889,31 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2889
2889
|
}, a.prototype.writeInt32BE = function(e, t, s) {
|
|
2890
2890
|
return e = +e, t = t >>> 0, s || U(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
|
|
2891
2891
|
}, a.prototype.writeBigInt64LE = te(function(e, t = 0) {
|
|
2892
|
-
return d1(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
2893
|
-
}), a.prototype.writeBigInt64BE = te(function(e, t = 0) {
|
|
2894
2892
|
return u1(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
2893
|
+
}), a.prototype.writeBigInt64BE = te(function(e, t = 0) {
|
|
2894
|
+
return p1(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
2895
2895
|
});
|
|
2896
|
-
function
|
|
2896
|
+
function h1(n, e, t, s, c, u) {
|
|
2897
2897
|
if (t + s > n.length)
|
|
2898
2898
|
throw new RangeError("Index out of range");
|
|
2899
2899
|
if (t < 0)
|
|
2900
2900
|
throw new RangeError("Index out of range");
|
|
2901
2901
|
}
|
|
2902
|
-
function
|
|
2903
|
-
return e = +e, t = t >>> 0, c ||
|
|
2902
|
+
function g1(n, e, t, s, c) {
|
|
2903
|
+
return e = +e, t = t >>> 0, c || h1(n, e, t, 4), l.write(n, e, t, s, 23, 4), t + 4;
|
|
2904
2904
|
}
|
|
2905
2905
|
a.prototype.writeFloatLE = function(e, t, s) {
|
|
2906
|
-
return
|
|
2906
|
+
return g1(this, e, t, !0, s);
|
|
2907
2907
|
}, a.prototype.writeFloatBE = function(e, t, s) {
|
|
2908
|
-
return
|
|
2908
|
+
return g1(this, e, t, !1, s);
|
|
2909
2909
|
};
|
|
2910
|
-
function
|
|
2911
|
-
return e = +e, t = t >>> 0, c ||
|
|
2910
|
+
function M1(n, e, t, s, c) {
|
|
2911
|
+
return e = +e, t = t >>> 0, c || h1(n, e, t, 8), l.write(n, e, t, s, 52, 8), t + 8;
|
|
2912
2912
|
}
|
|
2913
2913
|
a.prototype.writeDoubleLE = function(e, t, s) {
|
|
2914
|
-
return
|
|
2914
|
+
return M1(this, e, t, !0, s);
|
|
2915
2915
|
}, a.prototype.writeDoubleBE = function(e, t, s) {
|
|
2916
|
-
return
|
|
2916
|
+
return M1(this, e, t, !1, s);
|
|
2917
2917
|
}, a.prototype.copy = function(e, t, s, c) {
|
|
2918
2918
|
if (!a.isBuffer(e))
|
|
2919
2919
|
throw new TypeError("argument should be a Buffer");
|
|
@@ -2939,8 +2939,8 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2939
2939
|
if (typeof c == "string" && !a.isEncoding(c))
|
|
2940
2940
|
throw new TypeError("Unknown encoding: " + c);
|
|
2941
2941
|
if (e.length === 1) {
|
|
2942
|
-
const
|
|
2943
|
-
(c === "utf8" &&
|
|
2942
|
+
const m = e.charCodeAt(0);
|
|
2943
|
+
(c === "utf8" && m < 128 || c === "latin1") && (e = m);
|
|
2944
2944
|
}
|
|
2945
2945
|
} else
|
|
2946
2946
|
typeof e == "number" ? e = e & 255 : typeof e == "boolean" && (e = Number(e));
|
|
@@ -2954,17 +2954,17 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2954
2954
|
for (u = t; u < s; ++u)
|
|
2955
2955
|
this[u] = e;
|
|
2956
2956
|
else {
|
|
2957
|
-
const
|
|
2957
|
+
const m = a.isBuffer(e) ? e : a.from(e, c), A = m.length;
|
|
2958
2958
|
if (A === 0)
|
|
2959
2959
|
throw new TypeError('The value "' + e + '" is invalid for argument "value"');
|
|
2960
2960
|
for (u = 0; u < s - t; ++u)
|
|
2961
|
-
this[u + t] =
|
|
2961
|
+
this[u + t] = m[u % A];
|
|
2962
2962
|
}
|
|
2963
2963
|
return this;
|
|
2964
2964
|
};
|
|
2965
|
-
const
|
|
2966
|
-
function
|
|
2967
|
-
|
|
2965
|
+
const he = {};
|
|
2966
|
+
function Pe(n, e, t) {
|
|
2967
|
+
he[n] = class extends t {
|
|
2968
2968
|
constructor() {
|
|
2969
2969
|
super(), Object.defineProperty(this, "message", {
|
|
2970
2970
|
value: e.apply(this, arguments),
|
|
@@ -2988,76 +2988,76 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
2988
2988
|
}
|
|
2989
2989
|
};
|
|
2990
2990
|
}
|
|
2991
|
-
|
|
2991
|
+
Pe(
|
|
2992
2992
|
"ERR_BUFFER_OUT_OF_BOUNDS",
|
|
2993
2993
|
function(n) {
|
|
2994
2994
|
return n ? `${n} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
2995
2995
|
},
|
|
2996
2996
|
RangeError
|
|
2997
|
-
),
|
|
2997
|
+
), Pe(
|
|
2998
2998
|
"ERR_INVALID_ARG_TYPE",
|
|
2999
2999
|
function(n, e) {
|
|
3000
3000
|
return `The "${n}" argument must be of type number. Received type ${typeof e}`;
|
|
3001
3001
|
},
|
|
3002
3002
|
TypeError
|
|
3003
|
-
),
|
|
3003
|
+
), Pe(
|
|
3004
3004
|
"ERR_OUT_OF_RANGE",
|
|
3005
3005
|
function(n, e, t) {
|
|
3006
3006
|
let s = `The value of "${n}" is out of range.`, c = t;
|
|
3007
|
-
return Number.isInteger(t) && Math.abs(t) > 2 ** 32 ? c =
|
|
3007
|
+
return Number.isInteger(t) && Math.abs(t) > 2 ** 32 ? c = I1(String(t)) : typeof t == "bigint" && (c = String(t), (t > BigInt(2) ** BigInt(32) || t < -(BigInt(2) ** BigInt(32))) && (c = I1(c)), c += "n"), s += ` It must be ${e}. Received ${c}`, s;
|
|
3008
3008
|
},
|
|
3009
3009
|
RangeError
|
|
3010
3010
|
);
|
|
3011
|
-
function
|
|
3011
|
+
function I1(n) {
|
|
3012
3012
|
let e = "", t = n.length;
|
|
3013
3013
|
const s = n[0] === "-" ? 1 : 0;
|
|
3014
3014
|
for (; t >= s + 4; t -= 3)
|
|
3015
3015
|
e = `_${n.slice(t - 3, t)}${e}`;
|
|
3016
3016
|
return `${n.slice(0, t)}${e}`;
|
|
3017
3017
|
}
|
|
3018
|
-
function
|
|
3019
|
-
|
|
3018
|
+
function ct(n, e, t) {
|
|
3019
|
+
ge(e, "offset"), (n[e] === void 0 || n[e + t] === void 0) && fe(e, n.length - (t + 1));
|
|
3020
3020
|
}
|
|
3021
|
-
function
|
|
3021
|
+
function m1(n, e, t, s, c, u) {
|
|
3022
3022
|
if (n > t || n < e) {
|
|
3023
|
-
const
|
|
3023
|
+
const m = typeof e == "bigint" ? "n" : "";
|
|
3024
3024
|
let A;
|
|
3025
|
-
throw u > 3 ? e === 0 || e === BigInt(0) ? A = `>= 0${
|
|
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
|
+
ct(s, c, u);
|
|
3028
3028
|
}
|
|
3029
|
-
function
|
|
3029
|
+
function ge(n, e) {
|
|
3030
3030
|
if (typeof n != "number")
|
|
3031
|
-
throw new
|
|
3031
|
+
throw new he.ERR_INVALID_ARG_TYPE(e, "number", n);
|
|
3032
3032
|
}
|
|
3033
|
-
function
|
|
3034
|
-
throw Math.floor(n) !== n ? (
|
|
3033
|
+
function fe(n, e, t) {
|
|
3034
|
+
throw Math.floor(n) !== n ? (ge(n, t), new he.ERR_OUT_OF_RANGE(t || "offset", "an integer", n)) : e < 0 ? new he.ERR_BUFFER_OUT_OF_BOUNDS() : new he.ERR_OUT_OF_RANGE(
|
|
3035
3035
|
t || "offset",
|
|
3036
3036
|
`>= ${t ? 1 : 0} and <= ${e}`,
|
|
3037
3037
|
n
|
|
3038
3038
|
);
|
|
3039
3039
|
}
|
|
3040
|
-
const
|
|
3041
|
-
function
|
|
3042
|
-
if (n = n.split("=")[0], n = n.trim().replace(
|
|
3040
|
+
const dt = /[^+/0-9A-Za-z-_]/g;
|
|
3041
|
+
function ut(n) {
|
|
3042
|
+
if (n = n.split("=")[0], n = n.trim().replace(dt, ""), n.length < 2)
|
|
3043
3043
|
return "";
|
|
3044
3044
|
for (; n.length % 4 !== 0; )
|
|
3045
3045
|
n = n + "=";
|
|
3046
3046
|
return n;
|
|
3047
3047
|
}
|
|
3048
|
-
function
|
|
3048
|
+
function _e(n, e) {
|
|
3049
3049
|
e = e || 1 / 0;
|
|
3050
3050
|
let t;
|
|
3051
3051
|
const s = n.length;
|
|
3052
3052
|
let c = null;
|
|
3053
3053
|
const u = [];
|
|
3054
|
-
for (let
|
|
3055
|
-
if (t = n.charCodeAt(
|
|
3054
|
+
for (let m = 0; m < s; ++m) {
|
|
3055
|
+
if (t = n.charCodeAt(m), t > 55295 && t < 57344) {
|
|
3056
3056
|
if (!c) {
|
|
3057
3057
|
if (t > 56319) {
|
|
3058
3058
|
(e -= 3) > -1 && u.push(239, 191, 189);
|
|
3059
3059
|
continue;
|
|
3060
|
-
} else if (
|
|
3060
|
+
} else if (m + 1 === s) {
|
|
3061
3061
|
(e -= 3) > -1 && u.push(239, 191, 189);
|
|
3062
3062
|
continue;
|
|
3063
3063
|
}
|
|
@@ -3104,21 +3104,21 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
3104
3104
|
}
|
|
3105
3105
|
return u;
|
|
3106
3106
|
}
|
|
3107
|
-
function
|
|
3107
|
+
function pt(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 ht(n, e) {
|
|
3114
3114
|
let t, s, c;
|
|
3115
3115
|
const u = [];
|
|
3116
|
-
for (let
|
|
3117
|
-
t = n.charCodeAt(
|
|
3116
|
+
for (let m = 0; m < n.length && !((e -= 2) < 0); ++m)
|
|
3117
|
+
t = n.charCodeAt(m), s = t >> 8, c = t % 256, u.push(c), u.push(s);
|
|
3118
3118
|
return u;
|
|
3119
3119
|
}
|
|
3120
3120
|
function C1(n) {
|
|
3121
|
-
return r.toByteArray(
|
|
3121
|
+
return r.toByteArray(ut(n));
|
|
3122
3122
|
}
|
|
3123
3123
|
function Le(n, e, t, s) {
|
|
3124
3124
|
let c;
|
|
@@ -3129,10 +3129,10 @@ a1.write = function(i, r, l, p, g, h) {
|
|
|
3129
3129
|
function V(n, e) {
|
|
3130
3130
|
return n instanceof e || n != null && n.constructor != null && n.constructor.name != null && n.constructor.name === e.name;
|
|
3131
3131
|
}
|
|
3132
|
-
function
|
|
3132
|
+
function Ve(n) {
|
|
3133
3133
|
return n !== n;
|
|
3134
3134
|
}
|
|
3135
|
-
const
|
|
3135
|
+
const gt = 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,35 +3142,35 @@ a1.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" ? Mt : n;
|
|
3146
3146
|
}
|
|
3147
|
-
function
|
|
3147
|
+
function Mt() {
|
|
3148
3148
|
throw new Error("BigInt not supported");
|
|
3149
3149
|
}
|
|
3150
|
-
})(
|
|
3151
|
-
var
|
|
3152
|
-
function
|
|
3150
|
+
})(tt);
|
|
3151
|
+
var nt = { exports: {} }, z = nt.exports = {}, G, H;
|
|
3152
|
+
function t1() {
|
|
3153
3153
|
throw new Error("setTimeout has not been defined");
|
|
3154
3154
|
}
|
|
3155
|
-
function
|
|
3155
|
+
function i1() {
|
|
3156
3156
|
throw new Error("clearTimeout has not been defined");
|
|
3157
3157
|
}
|
|
3158
3158
|
(function() {
|
|
3159
3159
|
try {
|
|
3160
|
-
typeof setTimeout == "function" ? G = setTimeout : G =
|
|
3160
|
+
typeof setTimeout == "function" ? G = setTimeout : G = t1;
|
|
3161
3161
|
} catch {
|
|
3162
|
-
G =
|
|
3162
|
+
G = t1;
|
|
3163
3163
|
}
|
|
3164
3164
|
try {
|
|
3165
|
-
typeof clearTimeout == "function" ? H = clearTimeout : H =
|
|
3165
|
+
typeof clearTimeout == "function" ? H = clearTimeout : H = i1;
|
|
3166
3166
|
} catch {
|
|
3167
|
-
H =
|
|
3167
|
+
H = i1;
|
|
3168
3168
|
}
|
|
3169
3169
|
})();
|
|
3170
|
-
function
|
|
3170
|
+
function rt(i) {
|
|
3171
3171
|
if (G === setTimeout)
|
|
3172
3172
|
return setTimeout(i, 0);
|
|
3173
|
-
if ((G ===
|
|
3173
|
+
if ((G === t1 || !G) && setTimeout)
|
|
3174
3174
|
return G = setTimeout, setTimeout(i, 0);
|
|
3175
3175
|
try {
|
|
3176
3176
|
return G(i, 0);
|
|
@@ -3182,10 +3182,10 @@ function nt(i) {
|
|
|
3182
3182
|
}
|
|
3183
3183
|
}
|
|
3184
3184
|
}
|
|
3185
|
-
function
|
|
3185
|
+
function V2(i) {
|
|
3186
3186
|
if (H === clearTimeout)
|
|
3187
3187
|
return clearTimeout(i);
|
|
3188
|
-
if ((H ===
|
|
3188
|
+
if ((H === i1 || !H) && clearTimeout)
|
|
3189
3189
|
return H = clearTimeout, clearTimeout(i);
|
|
3190
3190
|
try {
|
|
3191
3191
|
return H(i);
|
|
@@ -3197,20 +3197,20 @@ function P2(i) {
|
|
|
3197
3197
|
}
|
|
3198
3198
|
}
|
|
3199
3199
|
}
|
|
3200
|
-
var q = [],
|
|
3201
|
-
function
|
|
3202
|
-
!
|
|
3200
|
+
var q = [], me = !1, ae, ke = -1;
|
|
3201
|
+
function G2() {
|
|
3202
|
+
!me || !ae || (me = !1, ae.length ? q = ae.concat(q) : ke = -1, q.length && st());
|
|
3203
3203
|
}
|
|
3204
|
-
function
|
|
3205
|
-
if (!
|
|
3206
|
-
var i =
|
|
3207
|
-
|
|
3204
|
+
function st() {
|
|
3205
|
+
if (!me) {
|
|
3206
|
+
var i = rt(G2);
|
|
3207
|
+
me = !0;
|
|
3208
3208
|
for (var r = q.length; r; ) {
|
|
3209
|
-
for (
|
|
3210
|
-
|
|
3211
|
-
|
|
3209
|
+
for (ae = q, q = []; ++ke < r; )
|
|
3210
|
+
ae && ae[ke].run();
|
|
3211
|
+
ke = -1, r = q.length;
|
|
3212
3212
|
}
|
|
3213
|
-
|
|
3213
|
+
ae = null, me = !1, V2(i);
|
|
3214
3214
|
}
|
|
3215
3215
|
}
|
|
3216
3216
|
z.nextTick = function(i) {
|
|
@@ -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 ot(i, r)), q.length === 1 && !me && rt(st);
|
|
3222
3222
|
};
|
|
3223
|
-
function
|
|
3223
|
+
function ot(i, r) {
|
|
3224
3224
|
this.fun = i, this.array = r;
|
|
3225
3225
|
}
|
|
3226
|
-
|
|
3226
|
+
ot.prototype.run = function() {
|
|
3227
3227
|
this.fun.apply(null, this.array);
|
|
3228
3228
|
};
|
|
3229
3229
|
z.title = "browser";
|
|
@@ -3258,39 +3258,67 @@ z.chdir = function(i) {
|
|
|
3258
3258
|
z.umask = function() {
|
|
3259
3259
|
return 0;
|
|
3260
3260
|
};
|
|
3261
|
-
var
|
|
3261
|
+
var H2 = nt.exports;
|
|
3262
3262
|
(function(i) {
|
|
3263
3263
|
Object.defineProperty(i, Symbol.toStringTag, { value: "Module" });
|
|
3264
|
-
const r =
|
|
3264
|
+
const r = tt, l = H2, p = (M) => M && M.__esModule ? M : { default: M }, g = p(l), h = globalThis || void 0 || self;
|
|
3265
3265
|
Object.defineProperty(i, "Buffer", { enumerable: !0, get: () => r.Buffer }), Object.defineProperty(i, "process", { enumerable: !0, get: () => g.default }), i.global = h;
|
|
3266
|
-
})(
|
|
3266
|
+
})(B2);
|
|
3267
3267
|
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
3268
|
-
var
|
|
3268
|
+
var B1;
|
|
3269
3269
|
(function(i) {
|
|
3270
3270
|
i.ORGANIZATION = "ORGANIZATION", i.STREAM = "STREAM";
|
|
3271
|
-
})(
|
|
3272
|
-
|
|
3273
|
-
var
|
|
3271
|
+
})(B1 || (B1 = {}));
|
|
3272
|
+
xe.BETTING + "", xe.GAMES + "", xe.PUBLIC_CHAT + "", xe.TWITTER + "";
|
|
3273
|
+
var R1;
|
|
3274
3274
|
(function(i) {
|
|
3275
3275
|
i.Ready = "ready", i.Suspended = "suspended";
|
|
3276
|
-
})(
|
|
3276
|
+
})(R1 || (R1 = {}));
|
|
3277
3277
|
window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));
|
|
3278
|
-
var
|
|
3278
|
+
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
|
-
})(
|
|
3282
|
-
const
|
|
3281
|
+
})(U1 || (U1 = {}));
|
|
3282
|
+
const F2 = ({ sdk: i }) => E(i.getUserStore()).data ? /* @__PURE__ */ o("button", { onClick: i.logout, children: "logout" }) : /* @__PURE__ */ o(ni, { login: async (r) => {
|
|
3283
3283
|
try {
|
|
3284
3284
|
await i.authorizationBypass("streamlayer:streamlayer", r);
|
|
3285
3285
|
} catch (l) {
|
|
3286
3286
|
throw console.log("login err", l), l;
|
|
3287
3287
|
}
|
|
3288
|
-
}, anonymousLogin: i.anonymousAuthorization, host: i.host })
|
|
3288
|
+
}, anonymousLogin: i.anonymousAuthorization, host: i.host });
|
|
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 mt {
|
|
3291
|
+
constructor() {
|
|
3292
|
+
super("user"), oe(this, "setSchema", (r) => {
|
|
3293
|
+
this.write("schema", r);
|
|
3294
|
+
}), oe(this, "getSchema", () => this.read(
|
|
3295
|
+
"schema"
|
|
3296
|
+
/* SCHEMA */
|
|
3297
|
+
)), oe(this, "setToken", (r) => {
|
|
3298
|
+
this.write("token", r);
|
|
3299
|
+
}), oe(this, "getToken", () => this.read(
|
|
3300
|
+
"token"
|
|
3301
|
+
/* TOKEN */
|
|
3302
|
+
)), oe(this, "setExternalToken", (r) => {
|
|
3303
|
+
this.write("eToken", r);
|
|
3304
|
+
}), oe(this, "getExternalToken", () => this.read(
|
|
3305
|
+
"eToken"
|
|
3306
|
+
/* EXTERNAL_TOKEN */
|
|
3307
|
+
)), oe(this, "removeToken", () => {
|
|
3308
|
+
this.remove(
|
|
3309
|
+
"token"
|
|
3310
|
+
/* TOKEN */
|
|
3311
|
+
);
|
|
3312
|
+
});
|
|
3313
|
+
}
|
|
3314
|
+
};
|
|
3315
|
+
new J2();
|
|
3316
|
+
const X2 = ({ activeFeature: i, sdk: r }) => {
|
|
3289
3317
|
const [l, p] = b(null), { organizationSettings: g, streamSettings: h } = E(r.sdkStore), M = J(() => {
|
|
3290
3318
|
const I = (h == null ? void 0 : h.data) || (g == null ? void 0 : g.data);
|
|
3291
3319
|
return I != null && I.overlays ? I.overlays : [];
|
|
3292
3320
|
}, [g, h]);
|
|
3293
|
-
|
|
3321
|
+
de(() => {
|
|
3294
3322
|
const I = r.getFeatures();
|
|
3295
3323
|
if (i)
|
|
3296
3324
|
for (const [N, f] of I)
|
|
@@ -3305,16 +3333,16 @@ const G2 = ({ sdk: i }) => E(i.getUserStore()).data ? /* @__PURE__ */ o("button"
|
|
|
3305
3333
|
N.status.get() === Z.Ready && N.disable();
|
|
3306
3334
|
};
|
|
3307
3335
|
}, [i, r]);
|
|
3308
|
-
const a = J(() => l ? l.featureConfig.get().type === Ce.GAMES ? l ? /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
|
|
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]);
|
|
3309
3337
|
return /* @__PURE__ */ y("div", { children: [
|
|
3310
|
-
/* @__PURE__ */ y(
|
|
3311
|
-
/* @__PURE__ */ o(
|
|
3312
|
-
/* @__PURE__ */ o(
|
|
3338
|
+
/* @__PURE__ */ y(L2, { children: [
|
|
3339
|
+
/* @__PURE__ */ o(Xe, { onClick: () => r.closeFeature(), disabled: !a, children: "close" }),
|
|
3340
|
+
/* @__PURE__ */ o(Xe, { onClick: () => r.logout(), children: "logout" }),
|
|
3313
3341
|
M.map((I) => /* @__PURE__ */ y(
|
|
3314
|
-
|
|
3342
|
+
Xe,
|
|
3315
3343
|
{
|
|
3316
3344
|
onClick: () => r.openFeature(I.type),
|
|
3317
|
-
disabled: !(I.type in
|
|
3345
|
+
disabled: !(I.type in Ct),
|
|
3318
3346
|
"data-enable_sdk_button": I.enableSdkButton.toString(),
|
|
3319
3347
|
"data-selected": I.type === i,
|
|
3320
3348
|
children: [
|
|
@@ -3327,54 +3355,54 @@ const G2 = ({ sdk: i }) => E(i.getUserStore()).data ? /* @__PURE__ */ o("button"
|
|
|
3327
3355
|
] }),
|
|
3328
3356
|
a
|
|
3329
3357
|
] });
|
|
3330
|
-
},
|
|
3358
|
+
}, K2 = ({ sdk: i }) => {
|
|
3331
3359
|
const r = E(i.organizationStore()), l = E(i.getUserStore()), p = E(i.getActiveFeature());
|
|
3332
3360
|
return r.loading ? /* @__PURE__ */ o("div", { children: "authentication..." }) : r.data ? l.loading ? /* @__PURE__ */ o("div", { children: "authentication..." }) : l.data ? /* @__PURE__ */ y(W, { children: [
|
|
3333
|
-
/* @__PURE__ */ o(
|
|
3334
|
-
/* @__PURE__ */ o(
|
|
3335
|
-
] }) : /* @__PURE__ */ o(
|
|
3361
|
+
/* @__PURE__ */ o(Vr, { notificationsStore: i.getNotificationsStore() }),
|
|
3362
|
+
/* @__PURE__ */ o(X2, { sdk: i, activeFeature: p })
|
|
3363
|
+
] }) : /* @__PURE__ */ o(F2, { sdk: i }) : /* @__PURE__ */ o("div", { children: "wrong sdk key..." });
|
|
3336
3364
|
};
|
|
3337
|
-
const
|
|
3365
|
+
const es = () => X, ts = /* @__PURE__ */ d("div")({
|
|
3338
3366
|
name: "s",
|
|
3339
3367
|
class: "s4qld3l",
|
|
3340
3368
|
propsAsIs: !1
|
|
3341
|
-
}),
|
|
3369
|
+
}), is = /* @__PURE__ */ d("div")({
|
|
3342
3370
|
name: "d",
|
|
3343
3371
|
class: "dinhtok",
|
|
3344
3372
|
propsAsIs: !1
|
|
3345
|
-
}),
|
|
3373
|
+
}), ns = /* @__PURE__ */ d(es())({
|
|
3346
3374
|
name: "p",
|
|
3347
3375
|
class: "pk8yd5t",
|
|
3348
3376
|
propsAsIs: !0
|
|
3349
|
-
}),
|
|
3377
|
+
}), rs = /* @__PURE__ */ d("div")({
|
|
3350
3378
|
name: "x",
|
|
3351
3379
|
class: "x6rf9gb",
|
|
3352
3380
|
propsAsIs: !1
|
|
3353
|
-
}),
|
|
3381
|
+
}), ss = /* @__PURE__ */ d("div")({
|
|
3354
3382
|
name: "a",
|
|
3355
3383
|
class: "a18f5pxx",
|
|
3356
3384
|
propsAsIs: !1
|
|
3357
|
-
}),
|
|
3385
|
+
}), os = /* @__PURE__ */ d("div")({
|
|
3358
3386
|
name: "c",
|
|
3359
3387
|
class: "c1jwsyj1",
|
|
3360
3388
|
propsAsIs: !1
|
|
3361
|
-
}),
|
|
3362
|
-
/* @__PURE__ */ o(
|
|
3363
|
-
/* @__PURE__ */ y(
|
|
3364
|
-
/* @__PURE__ */ o(
|
|
3365
|
-
/* @__PURE__ */ o(
|
|
3389
|
+
}), ls = ({ points: i }) => /* @__PURE__ */ y(ts, { children: [
|
|
3390
|
+
/* @__PURE__ */ o(is, { children: /* @__PURE__ */ o(ns, { name: "icon-trophy" }) }),
|
|
3391
|
+
/* @__PURE__ */ y(rs, { children: [
|
|
3392
|
+
/* @__PURE__ */ o(ss, { children: "TOTAL POINTS" }),
|
|
3393
|
+
/* @__PURE__ */ o(os, { children: i.toLocaleString("en") })
|
|
3366
3394
|
] })
|
|
3367
3395
|
] });
|
|
3368
|
-
const
|
|
3396
|
+
const as = "fedqibx", lt = ({ children: i, style: r }) => /* @__PURE__ */ o("div", { className: as, style: r, children: i }), cs = (i, r, l, p) => {
|
|
3369
3397
|
const [g, h] = b(null);
|
|
3370
|
-
return console.log("useStreamLayerApp", i, l),
|
|
3398
|
+
return console.log("useStreamLayerApp", i, l), de(() => {
|
|
3371
3399
|
console.log("init sdk");
|
|
3372
3400
|
let M = !1;
|
|
3373
3401
|
if (!i)
|
|
3374
3402
|
return console.error("streamlayer sdk key should be provided"), h((I) => (I !== null && typeof I.disableApp == "function" && I.disableApp(), null)), () => {
|
|
3375
3403
|
M = !0;
|
|
3376
3404
|
};
|
|
3377
|
-
const a =
|
|
3405
|
+
const a = Tt(i, l, p);
|
|
3378
3406
|
if (r)
|
|
3379
3407
|
for (const I of r)
|
|
3380
3408
|
a.use(I);
|
|
@@ -3388,43 +3416,43 @@ const ns = "fedqibx", ot = ({ children: i, style: r }) => /* @__PURE__ */ o("div
|
|
|
3388
3416
|
};
|
|
3389
3417
|
}, [i, l]), g;
|
|
3390
3418
|
};
|
|
3391
|
-
var
|
|
3392
|
-
const
|
|
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 = Nt({
|
|
3393
3421
|
status: 0,
|
|
3394
3422
|
sdk: null
|
|
3395
|
-
}),
|
|
3423
|
+
}), k4 = ({
|
|
3396
3424
|
sdkKey: i,
|
|
3397
3425
|
plugins: r,
|
|
3398
3426
|
children: l,
|
|
3399
3427
|
production: p = !0,
|
|
3400
3428
|
autoEnable: g = !0
|
|
3401
3429
|
}) => {
|
|
3402
|
-
const h =
|
|
3430
|
+
const h = cs(i, r, p, g), M = J(() => h ? {
|
|
3403
3431
|
sdk: h,
|
|
3404
3432
|
status: 2
|
|
3405
3433
|
/* READY */
|
|
3406
3434
|
} : { status: 1, sdk: null }, [h]);
|
|
3407
|
-
return /* @__PURE__ */ o(
|
|
3408
|
-
},
|
|
3409
|
-
const { sdk: i } =
|
|
3435
|
+
return /* @__PURE__ */ o(lt, { children: /* @__PURE__ */ o(Be.Provider, { value: M, children: l }) });
|
|
3436
|
+
}, ds = () => {
|
|
3437
|
+
const { sdk: i } = r1(Be);
|
|
3410
3438
|
return i;
|
|
3411
|
-
},
|
|
3412
|
-
const { sdk: i, status: r } =
|
|
3413
|
-
if (r ===
|
|
3439
|
+
}, S4 = () => {
|
|
3440
|
+
const { sdk: i, status: r } = r1(Be);
|
|
3441
|
+
if (r === Se.UNSET)
|
|
3414
3442
|
throw new Error("Wrap app in `StreamLayerProvider`");
|
|
3415
|
-
return r ===
|
|
3416
|
-
},
|
|
3443
|
+
return r === Se.CONNECTED ? /* @__PURE__ */ o("div", { className: "StreamLayerSDK", children: "wait" }) : i === null ? /* @__PURE__ */ o("div", { className: "StreamLayerSDK", children: "sdk not initialized" }) : /* @__PURE__ */ o("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ o(K2, { sdk: i }) });
|
|
3444
|
+
}, us = ({ userSummary: i }) => {
|
|
3417
3445
|
var l, p;
|
|
3418
3446
|
const r = E(i.getStore());
|
|
3419
|
-
return ((p = (l = r.data) == null ? void 0 : l.summary) == null ? void 0 : p.points) === void 0 ? null : /* @__PURE__ */ o(
|
|
3420
|
-
},
|
|
3447
|
+
return ((p = (l = r.data) == null ? void 0 : l.summary) == null ? void 0 : p.points) === void 0 ? null : /* @__PURE__ */ o(ls, { points: r.data.summary.points });
|
|
3448
|
+
}, ps = ({ sdk: i }) => {
|
|
3421
3449
|
const { organizationSettings: r, streamSettings: l } = E(i.sdkStore), p = J(() => i.getFeature(Ce.GAMES), [i, r, l]);
|
|
3422
|
-
return p ? /* @__PURE__ */ o(
|
|
3423
|
-
},
|
|
3424
|
-
const i =
|
|
3425
|
-
return i ? /* @__PURE__ */ o(
|
|
3450
|
+
return p ? /* @__PURE__ */ o(us, { userSummary: p.userSummary }) : null;
|
|
3451
|
+
}, b4 = () => {
|
|
3452
|
+
const i = ds();
|
|
3453
|
+
return i ? /* @__PURE__ */ o(ps, { sdk: i }) : null;
|
|
3426
3454
|
};
|
|
3427
|
-
const
|
|
3455
|
+
const hs = "n1w0z66i", $1 = ({
|
|
3428
3456
|
feature: i,
|
|
3429
3457
|
sdk: r,
|
|
3430
3458
|
children: l
|
|
@@ -3432,75 +3460,75 @@ const as = "n1w0z66i", U1 = ({
|
|
|
3432
3460
|
const p = E(i.status), { slStreamId: g } = E(r.sdkStore);
|
|
3433
3461
|
return g != null && g.loading ? /* @__PURE__ */ o("div", { children: "event is loading..." }) : g != null && g.data ? p !== Z.Ready ? /* @__PURE__ */ o("div", { children: "wait feature..." }) : l : /* @__PURE__ */ o("div", { children: "event is forbidden..." });
|
|
3434
3462
|
};
|
|
3435
|
-
const
|
|
3463
|
+
const gs = () => at, Ms = /* @__PURE__ */ d("div")({
|
|
3436
3464
|
name: "i",
|
|
3437
3465
|
class: "idhrx8x",
|
|
3438
3466
|
propsAsIs: !1
|
|
3439
|
-
}),
|
|
3467
|
+
}), n1 = /* @__PURE__ */ d("div")({
|
|
3440
3468
|
name: "r",
|
|
3441
3469
|
class: "r1k6v4ep",
|
|
3442
3470
|
propsAsIs: !1
|
|
3443
|
-
}),
|
|
3471
|
+
}), at = /* @__PURE__ */ d("div")({
|
|
3444
3472
|
name: "t",
|
|
3445
3473
|
class: "t1v8kucd",
|
|
3446
3474
|
propsAsIs: !1
|
|
3447
|
-
}),
|
|
3475
|
+
}), Is = /* @__PURE__ */ d(gs())({
|
|
3448
3476
|
name: "o",
|
|
3449
3477
|
class: "o16yw7z1",
|
|
3450
3478
|
propsAsIs: !0
|
|
3451
3479
|
});
|
|
3452
|
-
const
|
|
3480
|
+
const ms = /* @__PURE__ */ d("div")({
|
|
3453
3481
|
name: "n",
|
|
3454
3482
|
class: "n1aopxp8",
|
|
3455
3483
|
propsAsIs: !1
|
|
3456
|
-
}),
|
|
3484
|
+
}), Cs = ({
|
|
3457
3485
|
children: i,
|
|
3458
3486
|
style: r,
|
|
3459
3487
|
className: l
|
|
3460
|
-
}) => /* @__PURE__ */ o(
|
|
3488
|
+
}) => /* @__PURE__ */ o(ms, {
|
|
3461
3489
|
style: r,
|
|
3462
3490
|
className: l,
|
|
3463
3491
|
children: i
|
|
3464
3492
|
});
|
|
3465
|
-
const
|
|
3493
|
+
const ys = () => X, Ns = () => X, fs = /* @__PURE__ */ d("div")({
|
|
3466
3494
|
name: "a",
|
|
3467
3495
|
class: "a1g4souy",
|
|
3468
3496
|
propsAsIs: !1
|
|
3469
|
-
}),
|
|
3497
|
+
}), As = /* @__PURE__ */ d("div")({
|
|
3470
3498
|
name: "l",
|
|
3471
3499
|
class: "lxixe8f",
|
|
3472
3500
|
propsAsIs: !1
|
|
3473
|
-
}),
|
|
3501
|
+
}), ws = /* @__PURE__ */ d(ys())({
|
|
3474
3502
|
name: "p",
|
|
3475
3503
|
class: "pe0s739",
|
|
3476
3504
|
propsAsIs: !0
|
|
3477
|
-
}),
|
|
3505
|
+
}), Ds = /* @__PURE__ */ d("span")({
|
|
3478
3506
|
name: "s",
|
|
3479
3507
|
class: "s1l0dpbk",
|
|
3480
3508
|
propsAsIs: !1
|
|
3481
|
-
}),
|
|
3509
|
+
}), Es = /* @__PURE__ */ d("button")({
|
|
3482
3510
|
name: "c",
|
|
3483
3511
|
class: "c10ydbu8",
|
|
3484
3512
|
propsAsIs: !1
|
|
3485
|
-
}),
|
|
3513
|
+
}), Ts = /* @__PURE__ */ d(Ns())({
|
|
3486
3514
|
name: "g",
|
|
3487
3515
|
class: "g1bvr3eo",
|
|
3488
3516
|
propsAsIs: !0
|
|
3489
|
-
}),
|
|
3490
|
-
const l =
|
|
3491
|
-
return /* @__PURE__ */ y(
|
|
3492
|
-
/* @__PURE__ */ y(
|
|
3493
|
-
(l == null ? void 0 : l.iconName) && /* @__PURE__ */ o(
|
|
3494
|
-
(l == null ? void 0 : l.label) && /* @__PURE__ */ o(
|
|
3517
|
+
}), Ls = ({ type: i, close: r }) => {
|
|
3518
|
+
const l = G1[i];
|
|
3519
|
+
return /* @__PURE__ */ y(fs, { children: [
|
|
3520
|
+
/* @__PURE__ */ y(As, { children: [
|
|
3521
|
+
(l == null ? void 0 : l.iconName) && /* @__PURE__ */ o(ws, { name: l.iconName }),
|
|
3522
|
+
(l == null ? void 0 : l.label) && /* @__PURE__ */ o(Ds, { children: l.label })
|
|
3495
3523
|
] }),
|
|
3496
|
-
/* @__PURE__ */ o(
|
|
3524
|
+
/* @__PURE__ */ o(Es, { onClick: r, children: /* @__PURE__ */ o(Ts, { name: "icon-cross" }) })
|
|
3497
3525
|
] });
|
|
3498
3526
|
};
|
|
3499
|
-
const
|
|
3527
|
+
const js = /* @__PURE__ */ d("div")({
|
|
3500
3528
|
name: "T",
|
|
3501
3529
|
class: "tk8r1eq",
|
|
3502
3530
|
propsAsIs: !1
|
|
3503
|
-
}),
|
|
3531
|
+
}), vs = ({
|
|
3504
3532
|
openedQuestion: i,
|
|
3505
3533
|
closeQuestion: r,
|
|
3506
3534
|
vote: l
|
|
@@ -3511,11 +3539,11 @@ const ws = /* @__PURE__ */ d("div")({
|
|
|
3511
3539
|
h(I);
|
|
3512
3540
|
}, [h]);
|
|
3513
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]);
|
|
3514
|
-
return /* @__PURE__ */ y(
|
|
3515
|
-
children: [/* @__PURE__ */ o(
|
|
3542
|
+
return /* @__PURE__ */ y(js, {
|
|
3543
|
+
children: [/* @__PURE__ */ o(Ls, {
|
|
3516
3544
|
close: r,
|
|
3517
3545
|
type: (i == null ? void 0 : i.type) || Y.UNSET
|
|
3518
|
-
}), i && /* @__PURE__ */ o(
|
|
3546
|
+
}), i && /* @__PURE__ */ o(J1, {
|
|
3519
3547
|
title: i.subject,
|
|
3520
3548
|
feedbackMessages: (p = i.options) == null ? void 0 : p.options.value,
|
|
3521
3549
|
questionType: i.type,
|
|
@@ -3538,7 +3566,7 @@ const ws = /* @__PURE__ */ d("div")({
|
|
|
3538
3566
|
}))
|
|
3539
3567
|
})]
|
|
3540
3568
|
});
|
|
3541
|
-
},
|
|
3569
|
+
}, xs = ({ store: i }) => {
|
|
3542
3570
|
const { data: r } = E(i), [l, p] = b(void 0);
|
|
3543
3571
|
if (!r)
|
|
3544
3572
|
return /* @__PURE__ */ o("div", { children: "wait leader board..." });
|
|
@@ -3551,37 +3579,37 @@ const ws = /* @__PURE__ */ d("div")({
|
|
|
3551
3579
|
p(a);
|
|
3552
3580
|
};
|
|
3553
3581
|
return /* @__PURE__ */ y(W, { children: [
|
|
3554
|
-
l && /* @__PURE__ */ o(
|
|
3582
|
+
l && /* @__PURE__ */ o(V1, { comeBack: () => g(null), ...l }),
|
|
3555
3583
|
!l && /* @__PURE__ */ o(
|
|
3556
|
-
|
|
3584
|
+
X1,
|
|
3557
3585
|
{
|
|
3558
3586
|
items: r.filter((h) => h.attributes).map((h) => h.attributes),
|
|
3559
3587
|
openItemDetail: g
|
|
3560
3588
|
}
|
|
3561
3589
|
)
|
|
3562
3590
|
] });
|
|
3563
|
-
},
|
|
3591
|
+
}, zs = ({ store: i, openQuestion: r }) => {
|
|
3564
3592
|
const l = E(i);
|
|
3565
|
-
return l != null && l.data ? /* @__PURE__ */ o(
|
|
3566
|
-
},
|
|
3593
|
+
return l != null && l.data ? /* @__PURE__ */ o(H1, { openQuestion: r, questions: l.data }) : /* @__PURE__ */ o("div", { children: "wait questions..." });
|
|
3594
|
+
}, ks = ({ store: i }) => {
|
|
3567
3595
|
const { data: r } = E(i);
|
|
3568
|
-
return r != null && r.summary ? /* @__PURE__ */ o(
|
|
3569
|
-
},
|
|
3596
|
+
return r != null && r.summary ? /* @__PURE__ */ o(W1, { ...r.summary, ...r.percentage }) : /* @__PURE__ */ o("div", { children: "wait user..." });
|
|
3597
|
+
}, Ss = ({ gamification: i }) => {
|
|
3570
3598
|
const [r, l] = b(ie.HOME);
|
|
3571
3599
|
return /* @__PURE__ */ y(W, { children: [
|
|
3572
|
-
/* @__PURE__ */ y(
|
|
3573
|
-
/* @__PURE__ */ o(
|
|
3574
|
-
r === ie.HOME && /* @__PURE__ */ o(
|
|
3600
|
+
/* @__PURE__ */ y(Is, { children: [
|
|
3601
|
+
/* @__PURE__ */ o(P1, { activePage: r, toggleActivePage: l }),
|
|
3602
|
+
r === ie.HOME && /* @__PURE__ */ o(ks, { store: i.userSummary.getStore() })
|
|
3575
3603
|
] }),
|
|
3576
|
-
r === ie.HOME && /* @__PURE__ */ o(
|
|
3577
|
-
r === ie.LEADERBOARD && /* @__PURE__ */ o(
|
|
3604
|
+
r === ie.HOME && /* @__PURE__ */ o(at, { children: /* @__PURE__ */ o(zs, { openQuestion: i.openQuestion, store: i.questions.getStore() }) }),
|
|
3605
|
+
r === ie.LEADERBOARD && /* @__PURE__ */ o(xs, { store: i.leaderboardList.getStore() })
|
|
3578
3606
|
] });
|
|
3579
3607
|
};
|
|
3580
|
-
const
|
|
3608
|
+
const bs = () => Cs, Os = /* @__PURE__ */ d(bs())({
|
|
3581
3609
|
name: "u",
|
|
3582
3610
|
class: "u1ph66cs",
|
|
3583
3611
|
propsAsIs: !0
|
|
3584
|
-
}),
|
|
3612
|
+
}), Bs = ({
|
|
3585
3613
|
gamification: i
|
|
3586
3614
|
}) => {
|
|
3587
3615
|
const {
|
|
@@ -3589,25 +3617,25 @@ const vs = () => hs, xs = /* @__PURE__ */ d(vs())({
|
|
|
3589
3617
|
data: l
|
|
3590
3618
|
} = E(i.openedQuestion);
|
|
3591
3619
|
return /* @__PURE__ */ y(W, {
|
|
3592
|
-
children: [(r || l) && /* @__PURE__ */ o(
|
|
3593
|
-
children: /* @__PURE__ */ o(
|
|
3620
|
+
children: [(r || l) && /* @__PURE__ */ o(Os, {
|
|
3621
|
+
children: /* @__PURE__ */ o(vs, {
|
|
3594
3622
|
closeQuestion: i.closeQuestion,
|
|
3595
3623
|
vote: i.submitAnswer,
|
|
3596
3624
|
openedQuestion: l
|
|
3597
3625
|
})
|
|
3598
|
-
}), /* @__PURE__ */ o(
|
|
3626
|
+
}), /* @__PURE__ */ o(n1, {
|
|
3599
3627
|
"data-nav": "true",
|
|
3600
|
-
children: /* @__PURE__ */ o(
|
|
3628
|
+
children: /* @__PURE__ */ o(Ss, {
|
|
3601
3629
|
gamification: i
|
|
3602
3630
|
})
|
|
3603
3631
|
})]
|
|
3604
3632
|
});
|
|
3605
|
-
},
|
|
3633
|
+
}, Rs = ({ highlights: i }) => {
|
|
3606
3634
|
const r = E(i.openedInsight);
|
|
3607
3635
|
return /* @__PURE__ */ y(W, { children: [
|
|
3608
|
-
!r && i.insights && /* @__PURE__ */ o(
|
|
3636
|
+
!r && i.insights && /* @__PURE__ */ o(K1, { highlights: i, store: i.insights.getStore() }),
|
|
3609
3637
|
r && /* @__PURE__ */ o(
|
|
3610
|
-
|
|
3638
|
+
et,
|
|
3611
3639
|
{
|
|
3612
3640
|
openedInsight: r,
|
|
3613
3641
|
closeHighlights: i.closeFeature,
|
|
@@ -3615,114 +3643,114 @@ const vs = () => hs, xs = /* @__PURE__ */ d(vs())({
|
|
|
3615
3643
|
}
|
|
3616
3644
|
)
|
|
3617
3645
|
] });
|
|
3618
|
-
},
|
|
3619
|
-
const
|
|
3646
|
+
}, Us = ({ sdk: i, feature: r }) => J(() => r ? r.featureConfig.get().type === Ce.GAMES ? /* @__PURE__ */ o($1, { sdk: i, feature: r, children: /* @__PURE__ */ o(Bs, { gamification: r, sdk: i }) }) : r.featureConfig.get().type === Ce.HIGHLIGHTS ? /* @__PURE__ */ o($1, { sdk: i, feature: r, children: /* @__PURE__ */ o(Rs, { highlights: r, sdk: i }) }) : null : null, [i, r]);
|
|
3647
|
+
const $s = /* @__PURE__ */ d("button")({
|
|
3620
3648
|
name: "e",
|
|
3621
3649
|
class: "enu64b2",
|
|
3622
3650
|
propsAsIs: !1
|
|
3623
|
-
}),
|
|
3651
|
+
}), Qs = /* @__PURE__ */ d("span")({
|
|
3624
3652
|
name: "t",
|
|
3625
3653
|
class: "tw2meku",
|
|
3626
3654
|
propsAsIs: !1
|
|
3627
|
-
}),
|
|
3655
|
+
}), Ys = /* @__PURE__ */ d("span")({
|
|
3628
3656
|
name: "a",
|
|
3629
3657
|
class: "aka8vam",
|
|
3630
3658
|
propsAsIs: !1
|
|
3631
|
-
}),
|
|
3632
|
-
g && /* @__PURE__ */ o(
|
|
3633
|
-
/* @__PURE__ */ o(
|
|
3659
|
+
}), d1 = ({ disabled: i, active: r, onClick: l, label: p, icon: g }) => /* @__PURE__ */ o($s, { onClick: l, disabled: i, "data-selected": r, children: /* @__PURE__ */ y(W, { children: [
|
|
3660
|
+
g && /* @__PURE__ */ o(Qs, { children: g }),
|
|
3661
|
+
/* @__PURE__ */ o(Ys, { children: p })
|
|
3634
3662
|
] }) });
|
|
3635
|
-
const
|
|
3663
|
+
const Zs = () => X, Ps = /* @__PURE__ */ d(Zs())({
|
|
3636
3664
|
name: "a",
|
|
3637
3665
|
class: "a10lggiw",
|
|
3638
3666
|
propsAsIs: !0
|
|
3639
|
-
}),
|
|
3667
|
+
}), Ae = "channels", _s = (i) => {
|
|
3640
3668
|
var r;
|
|
3641
|
-
return /* @__PURE__ */ o(
|
|
3669
|
+
return /* @__PURE__ */ o(d1, {
|
|
3642
3670
|
...i,
|
|
3643
3671
|
id: "channels",
|
|
3644
3672
|
label: "Channels",
|
|
3645
|
-
icon: /* @__PURE__ */ o(
|
|
3673
|
+
icon: /* @__PURE__ */ o(Ps, {
|
|
3646
3674
|
name: "icon-btn-channels",
|
|
3647
3675
|
"data-selected": (r = i.active) == null ? void 0 : r.toString()
|
|
3648
3676
|
})
|
|
3649
3677
|
});
|
|
3650
3678
|
};
|
|
3651
|
-
const
|
|
3679
|
+
const Vs = () => X, Gs = /* @__PURE__ */ d(Vs())({
|
|
3652
3680
|
name: "d",
|
|
3653
3681
|
class: "d1x5s8ie",
|
|
3654
3682
|
propsAsIs: !0
|
|
3655
|
-
}),
|
|
3683
|
+
}), ce = "featuredGroups", Hs = (i) => {
|
|
3656
3684
|
var r;
|
|
3657
|
-
return /* @__PURE__ */ o(
|
|
3685
|
+
return /* @__PURE__ */ o(d1, {
|
|
3658
3686
|
...i,
|
|
3659
3687
|
label: "FG+",
|
|
3660
3688
|
id: "featuredGroups",
|
|
3661
|
-
icon: /* @__PURE__ */ o(
|
|
3689
|
+
icon: /* @__PURE__ */ o(Gs, {
|
|
3662
3690
|
name: "icon-btn-feature-groups",
|
|
3663
3691
|
"data-selected": (r = i.active) == null ? void 0 : r.toString()
|
|
3664
3692
|
})
|
|
3665
3693
|
});
|
|
3666
3694
|
};
|
|
3667
|
-
const
|
|
3695
|
+
const Fs = () => X, Ws = /* @__PURE__ */ d(Fs())({
|
|
3668
3696
|
name: "n",
|
|
3669
3697
|
class: "ntav86o",
|
|
3670
3698
|
propsAsIs: !0
|
|
3671
|
-
}),
|
|
3699
|
+
}), be = "leaderboard", qs = (i) => {
|
|
3672
3700
|
var r;
|
|
3673
|
-
return /* @__PURE__ */ o(
|
|
3701
|
+
return /* @__PURE__ */ o(d1, {
|
|
3674
3702
|
...i,
|
|
3675
3703
|
label: "Leader Board",
|
|
3676
3704
|
id: "leaderboard",
|
|
3677
|
-
icon: /* @__PURE__ */ o(
|
|
3705
|
+
icon: /* @__PURE__ */ o(Ws, {
|
|
3678
3706
|
name: "icon-btn-leaderboard",
|
|
3679
3707
|
"data-selected": (r = i.active) == null ? void 0 : r.toString()
|
|
3680
3708
|
})
|
|
3681
3709
|
});
|
|
3682
3710
|
};
|
|
3683
|
-
const
|
|
3711
|
+
const Js = /* @__PURE__ */ d("div")({
|
|
3684
3712
|
name: "n",
|
|
3685
3713
|
class: "n1rlvhvz",
|
|
3686
3714
|
propsAsIs: !1
|
|
3687
|
-
}),
|
|
3715
|
+
}), Xs = ({
|
|
3688
3716
|
children: i,
|
|
3689
3717
|
className: r
|
|
3690
|
-
}) => /* @__PURE__ */ o(
|
|
3718
|
+
}) => /* @__PURE__ */ o(Js, {
|
|
3691
3719
|
className: r,
|
|
3692
3720
|
children: i
|
|
3693
3721
|
});
|
|
3694
|
-
const
|
|
3722
|
+
const Ks = () => Xs, e4 = /* @__PURE__ */ d(Ks())({
|
|
3695
3723
|
name: "n",
|
|
3696
3724
|
class: "n9bnom",
|
|
3697
3725
|
propsAsIs: !0
|
|
3698
|
-
}),
|
|
3699
|
-
/* @__PURE__ */ o(
|
|
3726
|
+
}), t4 = ({ activeOverlay: i, setActiveOverlay: r, sdkReady: l }) => /* @__PURE__ */ y(e4, { children: [
|
|
3727
|
+
/* @__PURE__ */ o(_s, { active: i === Ae, onClick: () => r(Ae) }),
|
|
3700
3728
|
/* @__PURE__ */ o(
|
|
3701
|
-
|
|
3729
|
+
Hs,
|
|
3702
3730
|
{
|
|
3703
|
-
active: i ===
|
|
3731
|
+
active: i === ce,
|
|
3704
3732
|
disabled: !l,
|
|
3705
3733
|
onClick: () => {
|
|
3706
|
-
r(
|
|
3734
|
+
r(ce);
|
|
3707
3735
|
}
|
|
3708
3736
|
}
|
|
3709
3737
|
),
|
|
3710
3738
|
/* @__PURE__ */ o(
|
|
3711
|
-
|
|
3739
|
+
qs,
|
|
3712
3740
|
{
|
|
3713
|
-
active: i ===
|
|
3714
|
-
onClick: () => r(
|
|
3741
|
+
active: i === be,
|
|
3742
|
+
onClick: () => r(be)
|
|
3715
3743
|
}
|
|
3716
3744
|
)
|
|
3717
|
-
] }),
|
|
3718
|
-
const [l, p] = b(!1), g = E(i.status) === "ready", [h, M] = b(
|
|
3745
|
+
] }), i4 = (i, r) => {
|
|
3746
|
+
const [l, p] = b(!1), g = E(i.status) === "ready", [h, M] = b(ce), a = re(
|
|
3719
3747
|
(I) => {
|
|
3720
|
-
M(I), I ===
|
|
3748
|
+
M(I), I === ce ? (i.createEventSession(r), i.openFeature(Ce.GAMES)) : i.closeFeature();
|
|
3721
3749
|
},
|
|
3722
3750
|
[r, i]
|
|
3723
3751
|
);
|
|
3724
|
-
return
|
|
3725
|
-
!g && h ===
|
|
3752
|
+
return de(() => {
|
|
3753
|
+
!g && h === ce && (M(Ae), i.closeFeature());
|
|
3726
3754
|
}, [g, h, i]), {
|
|
3727
3755
|
sdkEnabled: l,
|
|
3728
3756
|
sdkReady: g,
|
|
@@ -3731,11 +3759,11 @@ const Fs = () => Hs, Ws = /* @__PURE__ */ d(Fs())({
|
|
|
3731
3759
|
enableSdk: () => {
|
|
3732
3760
|
i.initializeApp().then(({ enabled: I, err: N }) => {
|
|
3733
3761
|
if (p(!0), N) {
|
|
3734
|
-
a(
|
|
3762
|
+
a(Ae);
|
|
3735
3763
|
return;
|
|
3736
3764
|
}
|
|
3737
3765
|
if (I) {
|
|
3738
|
-
a(
|
|
3766
|
+
a(ce);
|
|
3739
3767
|
return;
|
|
3740
3768
|
}
|
|
3741
3769
|
});
|
|
@@ -3744,9 +3772,9 @@ const Fs = () => Hs, Ws = /* @__PURE__ */ d(Fs())({
|
|
|
3744
3772
|
p(!1), i.disableApp();
|
|
3745
3773
|
}
|
|
3746
3774
|
};
|
|
3747
|
-
},
|
|
3775
|
+
}, n4 = (i) => {
|
|
3748
3776
|
const r = E(i.getActiveFeature()), [l, p] = b(null);
|
|
3749
|
-
return
|
|
3777
|
+
return de(() => {
|
|
3750
3778
|
const g = i.getFeatures();
|
|
3751
3779
|
if (r)
|
|
3752
3780
|
for (const [h, M] of g)
|
|
@@ -3761,17 +3789,17 @@ const Fs = () => Hs, Ws = /* @__PURE__ */ d(Fs())({
|
|
|
3761
3789
|
h.status.get() === Z.Ready && h.disable();
|
|
3762
3790
|
};
|
|
3763
3791
|
}, [r, i]), [r, l];
|
|
3764
|
-
},
|
|
3765
|
-
const [, r] =
|
|
3766
|
-
return /* @__PURE__ */ o(
|
|
3767
|
-
},
|
|
3768
|
-
const { sdkEnabled: g, sdkReady: h, activeOverlay: M, activateAndLoadOverlay: a, enableSdk: I, disableSdk: N } =
|
|
3792
|
+
}, r4 = ({ sdk: i }) => {
|
|
3793
|
+
const [, r] = n4(i);
|
|
3794
|
+
return /* @__PURE__ */ o(Us, { feature: r, sdk: i });
|
|
3795
|
+
}, s4 = ({ sdk: i, overlays: r, children: l, event: p }) => {
|
|
3796
|
+
const { sdkEnabled: g, sdkReady: h, activeOverlay: M, activateAndLoadOverlay: a, enableSdk: I, disableSdk: N } = i4(
|
|
3769
3797
|
i,
|
|
3770
3798
|
p
|
|
3771
3799
|
);
|
|
3772
|
-
return /* @__PURE__ */ o(
|
|
3800
|
+
return /* @__PURE__ */ o(lt, { style: { height: "100%" }, children: /* @__PURE__ */ y(Ms, { className: hs, children: [
|
|
3773
3801
|
g && /* @__PURE__ */ o(
|
|
3774
|
-
|
|
3802
|
+
t4,
|
|
3775
3803
|
{
|
|
3776
3804
|
sdkReady: h,
|
|
3777
3805
|
activeOverlay: M,
|
|
@@ -3779,34 +3807,34 @@ const Fs = () => Hs, Ws = /* @__PURE__ */ d(Fs())({
|
|
|
3779
3807
|
}
|
|
3780
3808
|
),
|
|
3781
3809
|
/* @__PURE__ */ o(
|
|
3782
|
-
|
|
3810
|
+
n1,
|
|
3783
3811
|
{
|
|
3784
3812
|
"data-nav": g.toString(),
|
|
3785
|
-
style: { display: !g || M ===
|
|
3813
|
+
style: { display: !g || M === Ae ? "block" : "none" },
|
|
3786
3814
|
children: l && l({ enableSdk: I, disableSdk: N })
|
|
3787
3815
|
}
|
|
3788
3816
|
),
|
|
3789
3817
|
/* @__PURE__ */ o(
|
|
3790
|
-
|
|
3818
|
+
n1,
|
|
3791
3819
|
{
|
|
3792
3820
|
"data-nav": g.toString(),
|
|
3793
|
-
style: { display: M ===
|
|
3794
|
-
children: r && M ===
|
|
3821
|
+
style: { display: M === be ? "block" : "none" },
|
|
3822
|
+
children: r && M === be && r[M]
|
|
3795
3823
|
}
|
|
3796
3824
|
),
|
|
3797
|
-
g && M ===
|
|
3825
|
+
g && M === ce && /* @__PURE__ */ o(r4, { sdk: i })
|
|
3798
3826
|
] }) });
|
|
3799
|
-
},
|
|
3800
|
-
const { sdk: p, status: g } =
|
|
3801
|
-
if (g ===
|
|
3827
|
+
}, O4 = ({ children: i, event: r, overlays: l }) => {
|
|
3828
|
+
const { sdk: p, status: g } = r1(Be);
|
|
3829
|
+
if (g === Se.UNSET)
|
|
3802
3830
|
throw new Error("Wrap app in `StreamLayerProvider`");
|
|
3803
|
-
return p ? /* @__PURE__ */ o(
|
|
3831
|
+
return p ? /* @__PURE__ */ o(s4, { sdk: p, event: r, overlays: l, children: i }) : i({});
|
|
3804
3832
|
};
|
|
3805
3833
|
export {
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3834
|
+
O4 as MastersStreamLayerSDKReact,
|
|
3835
|
+
k4 as StreamLayerProvider,
|
|
3836
|
+
b4 as StreamLayerSDKPoints,
|
|
3837
|
+
S4 as StreamLayerSDKReact,
|
|
3838
|
+
ds as useStreamLayer,
|
|
3839
|
+
cs as useStreamLayerApp
|
|
3812
3840
|
};
|