@streamlayer/react 0.22.9 → 0.22.11
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 +782 -721
- package/lib/style.css +1 -1
- package/package.json +7 -7
package/lib/es/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@streamlayer/sdk-web-api";
|
|
2
2
|
import "@streamlayer/sdk-web-core";
|
|
3
|
-
import { QuestionType as _, PickHistoryStatus as
|
|
3
|
+
import { QuestionType as _, PickHistoryStatus as h1, QuestionStatus as ti, QuestionImages as Z1, FeatureType as W1 } from "@streamlayer/sdk-web-types";
|
|
4
4
|
import "@streamlayer/sdk-web-logger";
|
|
5
5
|
import "@streamlayer/sdk-web-storage";
|
|
6
6
|
import { AvailableFeatures as ni } from "@streamlayer/sdk-web-features";
|
|
@@ -8,8 +8,8 @@ import { FeatureStatus as o1 } from "@streamlayer/sdk-web-interfaces";
|
|
|
8
8
|
import { NotificationType as Ie } from "@streamlayer/sdk-web-notifications";
|
|
9
9
|
import "@streamlayer/feature-gamification";
|
|
10
10
|
import { jsxs as A, jsx as s, Fragment as a1 } from "react/jsx-runtime";
|
|
11
|
-
import * as
|
|
12
|
-
import
|
|
11
|
+
import * as d from "react";
|
|
12
|
+
import T1, { useCallback as m1, useEffect as u1, useState as B, useRef as ri, useMemo as c1, createContext as si, useContext as ve } from "react";
|
|
13
13
|
import Mi from "react-auth-code-input";
|
|
14
14
|
import oi, { isValidPhoneNumber as li, formatPhoneNumberIntl as ai } from "react-phone-number-input";
|
|
15
15
|
import { CountdownCircleTimer as ci } from "react-countdown-circle-timer";
|
|
@@ -23,22 +23,22 @@ import { SdkOverlayType as C1 } from "@streamlayer/sl-eslib/sdkSettings/sdkSetti
|
|
|
23
23
|
import "@streamlayer/sl-eslib/sports/events/events_connect";
|
|
24
24
|
import "@streamlayer/sl-eslib/sdkSettings/client/client_connect";
|
|
25
25
|
import { StreamLayer as ui } from "@streamlayer/sdk-web";
|
|
26
|
-
const
|
|
26
|
+
const w1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSIxMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CiAgPHJlY3QgeD0iOC4yNSIgeT0iNyIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcpIiBmaWxsPSJ3aGl0ZSIvPgogIDxyZWN0IHg9IjciIHk9IjE1Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSA3IDE1Ljc1KSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";
|
|
27
27
|
function Ii(t) {
|
|
28
28
|
var M = /* @__PURE__ */ Object.create(null);
|
|
29
29
|
return function(l) {
|
|
30
30
|
return M[l] === void 0 && (M[l] = t(l)), M[l];
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
var
|
|
33
|
+
var gi = /^((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)-.*))$/, B1 = /* @__PURE__ */ Ii(
|
|
34
34
|
function(t) {
|
|
35
|
-
return
|
|
35
|
+
return gi.test(t) || t.charCodeAt(0) === 111 && t.charCodeAt(1) === 110 && t.charCodeAt(2) < 91;
|
|
36
36
|
}
|
|
37
37
|
/* Z+1 */
|
|
38
|
-
),
|
|
38
|
+
), Ni = function() {
|
|
39
39
|
const M = Array.prototype.slice.call(arguments).filter(Boolean), l = {}, I = [];
|
|
40
|
-
M.forEach((
|
|
41
|
-
(
|
|
40
|
+
M.forEach((g) => {
|
|
41
|
+
(g ? g.split(" ") : []).forEach((o) => {
|
|
42
42
|
if (o.startsWith("atm_")) {
|
|
43
43
|
const [, y] = o.split("_");
|
|
44
44
|
l[y] = o;
|
|
@@ -47,10 +47,10 @@ var Ni = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
47
47
|
});
|
|
48
48
|
});
|
|
49
49
|
const D = [];
|
|
50
|
-
for (const
|
|
51
|
-
Object.prototype.hasOwnProperty.call(l,
|
|
50
|
+
for (const g in l)
|
|
51
|
+
Object.prototype.hasOwnProperty.call(l, g) && D.push(l[g]);
|
|
52
52
|
return D.push(...I), D.join(" ");
|
|
53
|
-
},
|
|
53
|
+
}, ge = Ni, Di = (t) => t.toUpperCase() === t, di = (t) => (M) => t.indexOf(M) === -1, Qe = (t, M) => {
|
|
54
54
|
const l = {};
|
|
55
55
|
return Object.keys(t).filter(di(M)).forEach((I) => {
|
|
56
56
|
l[I] = t[I];
|
|
@@ -60,8 +60,8 @@ function ji(t, M, l) {
|
|
|
60
60
|
const I = Qe(M, l);
|
|
61
61
|
if (!t) {
|
|
62
62
|
const D = typeof B1 == "function" ? { default: B1 } : B1;
|
|
63
|
-
Object.keys(I).forEach((
|
|
64
|
-
D.default(
|
|
63
|
+
Object.keys(I).forEach((g) => {
|
|
64
|
+
D.default(g) || delete I[g];
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
return I;
|
|
@@ -71,31 +71,31 @@ var Ai = (t, M) => {
|
|
|
71
71
|
function yi(t) {
|
|
72
72
|
let M = "";
|
|
73
73
|
return (l) => {
|
|
74
|
-
const I = (
|
|
75
|
-
const { as: o = t, class: y = M } =
|
|
74
|
+
const I = (g, j) => {
|
|
75
|
+
const { as: o = t, class: y = M } = g, p = l.propsAsIs === void 0 ? !(typeof o == "string" && o.indexOf("-") === -1 && !Di(o[0])) : l.propsAsIs, h = ji(p, g, [
|
|
76
76
|
"as",
|
|
77
77
|
"class"
|
|
78
78
|
]);
|
|
79
|
-
|
|
80
|
-
const { vars:
|
|
81
|
-
if (
|
|
79
|
+
h.ref = j, h.className = l.atomic ? ge(l.class, h.className || y) : ge(h.className || y, l.class);
|
|
80
|
+
const { vars: T } = l;
|
|
81
|
+
if (T) {
|
|
82
82
|
const z = {};
|
|
83
|
-
for (const U in
|
|
84
|
-
const v =
|
|
83
|
+
for (const U in T) {
|
|
84
|
+
const v = T[U], Q = v[0], J = v[1] || "", R = typeof Q == "function" ? Q(g) : Q;
|
|
85
85
|
Ai(R, l.name), z[`--${U}`] = `${R}${J}`;
|
|
86
86
|
}
|
|
87
|
-
const
|
|
87
|
+
const E = h.style || {}, f = Object.keys(E);
|
|
88
88
|
f.length > 0 && f.forEach((U) => {
|
|
89
|
-
z[U] =
|
|
90
|
-
}),
|
|
89
|
+
z[U] = E[U];
|
|
90
|
+
}), h.style = z;
|
|
91
91
|
}
|
|
92
|
-
return t.__linaria && t !== o ? (
|
|
93
|
-
}, D =
|
|
92
|
+
return t.__linaria && t !== o ? (h.as = o, T1.createElement(t, h)) : T1.createElement(o, h);
|
|
93
|
+
}, D = T1.forwardRef ? T1.forwardRef(I) : (
|
|
94
94
|
// React.forwardRef won't available on older React versions and in Preact
|
|
95
95
|
// Fallback to a innerRef prop in that case
|
|
96
|
-
(
|
|
97
|
-
const
|
|
98
|
-
return I(
|
|
96
|
+
(g) => {
|
|
97
|
+
const j = Qe(g, ["innerRef"]);
|
|
98
|
+
return I(j, g.innerRef);
|
|
99
99
|
}
|
|
100
100
|
);
|
|
101
101
|
return D.displayName = l.name, D.__linaria = {
|
|
@@ -109,11 +109,11 @@ const pi = /* @__PURE__ */ c("div")({
|
|
|
109
109
|
name: "o",
|
|
110
110
|
class: "o1gwxd13",
|
|
111
111
|
propsAsIs: !1
|
|
112
|
-
}),
|
|
112
|
+
}), hi = /* @__PURE__ */ c("div")({
|
|
113
113
|
name: "n",
|
|
114
114
|
class: "nsmzrlg",
|
|
115
115
|
propsAsIs: !1
|
|
116
|
-
}),
|
|
116
|
+
}), Ti = /* @__PURE__ */ c("img")({
|
|
117
117
|
name: "i",
|
|
118
118
|
class: "i81s9fc",
|
|
119
119
|
propsAsIs: !1
|
|
@@ -125,34 +125,34 @@ const pi = /* @__PURE__ */ c("div")({
|
|
|
125
125
|
name: "d",
|
|
126
126
|
class: "dqb0kgq",
|
|
127
127
|
propsAsIs: !1
|
|
128
|
-
}),
|
|
128
|
+
}), Li = /* @__PURE__ */ c("div")({
|
|
129
129
|
name: "l",
|
|
130
130
|
class: "l1tjaqbq",
|
|
131
131
|
propsAsIs: !1
|
|
132
|
-
}),
|
|
132
|
+
}), Ei = /* @__PURE__ */ c("div")({
|
|
133
133
|
name: "a",
|
|
134
134
|
class: "a1tb5jb7",
|
|
135
135
|
propsAsIs: !1
|
|
136
|
-
}),
|
|
136
|
+
}), mi = /* @__PURE__ */ c("button")({
|
|
137
137
|
name: "c",
|
|
138
138
|
class: "c11xpv3i",
|
|
139
139
|
propsAsIs: !1
|
|
140
|
-
}),
|
|
140
|
+
}), wi = /* @__PURE__ */ c("img")({
|
|
141
141
|
name: "s",
|
|
142
142
|
class: "s12ztjhk",
|
|
143
143
|
propsAsIs: !1
|
|
144
144
|
}), Ye = ({ close: t, action: M, data: { color: l, icon: I, title: D } }) => {
|
|
145
|
-
const
|
|
146
|
-
(
|
|
147
|
-
|
|
145
|
+
const g = m1(
|
|
146
|
+
(j) => {
|
|
147
|
+
j.stopPropagation(), t == null || t();
|
|
148
148
|
},
|
|
149
149
|
[t]
|
|
150
150
|
);
|
|
151
151
|
return /* @__PURE__ */ A(pi, { onClick: M, children: [
|
|
152
|
-
/* @__PURE__ */ s(
|
|
152
|
+
/* @__PURE__ */ s(hi, { style: l ? { backgroundColor: l } : {}, children: I && /* @__PURE__ */ s(Ti, { alt: "in-app-icon", src: I }) }),
|
|
153
153
|
/* @__PURE__ */ A(Ci, { children: [
|
|
154
|
-
/* @__PURE__ */ s(zi, { children: /* @__PURE__ */ s(
|
|
155
|
-
/* @__PURE__ */ s(
|
|
154
|
+
/* @__PURE__ */ s(zi, { children: /* @__PURE__ */ s(Li, { id: "in-app-title", children: D || "" }) }),
|
|
155
|
+
/* @__PURE__ */ s(Ei, { children: /* @__PURE__ */ s(mi, { onClick: g, children: /* @__PURE__ */ s(wi, { alt: "close-in-app-icon", src: w1 }) }) })
|
|
156
156
|
] })
|
|
157
157
|
] });
|
|
158
158
|
}, xi = {
|
|
@@ -250,14 +250,14 @@ const fi = /* @__PURE__ */ c("div")({
|
|
|
250
250
|
var I;
|
|
251
251
|
const D = ee({
|
|
252
252
|
baseUrl: t
|
|
253
|
-
}),
|
|
254
|
-
return (I =
|
|
253
|
+
}), g = await K1(ie, D).login({ id: M, password: l });
|
|
254
|
+
return (I = g == null ? void 0 : g.meta) == null ? void 0 : I.jwt;
|
|
255
255
|
};
|
|
256
256
|
const Ri = /* @__PURE__ */ c("div")({
|
|
257
257
|
name: "n",
|
|
258
258
|
class: "nhpumh7",
|
|
259
259
|
propsAsIs: !1
|
|
260
|
-
}),
|
|
260
|
+
}), Ne = /* @__PURE__ */ c("form")({
|
|
261
261
|
name: "r",
|
|
262
262
|
class: "r1wcng20",
|
|
263
263
|
propsAsIs: !1
|
|
@@ -269,11 +269,11 @@ const Ri = /* @__PURE__ */ c("div")({
|
|
|
269
269
|
name: "e",
|
|
270
270
|
class: "ev27fka",
|
|
271
271
|
propsAsIs: !1
|
|
272
|
-
}),
|
|
272
|
+
}), V1 = /* @__PURE__ */ c("button")({
|
|
273
273
|
name: "a",
|
|
274
274
|
class: "a1ifs31v",
|
|
275
275
|
propsAsIs: !1
|
|
276
|
-
}),
|
|
276
|
+
}), Vi = /* @__PURE__ */ c("div")({
|
|
277
277
|
name: "p",
|
|
278
278
|
class: "p10d4aqp",
|
|
279
279
|
propsAsIs: !1
|
|
@@ -282,8 +282,8 @@ const Ri = /* @__PURE__ */ c("div")({
|
|
|
282
282
|
class: "dje8inq",
|
|
283
283
|
propsAsIs: !1
|
|
284
284
|
}), Gi = ({ login: t, anonymousLogin: M, host: l }) => {
|
|
285
|
-
const [I, D] = B(""), [
|
|
286
|
-
|
|
285
|
+
const [I, D] = B(""), [g, j] = B(""), [o, y] = B(""), p = async (T) => {
|
|
286
|
+
T.preventDefault();
|
|
287
287
|
try {
|
|
288
288
|
const z = I.replaceAll("+", "");
|
|
289
289
|
try {
|
|
@@ -291,30 +291,30 @@ const Ri = /* @__PURE__ */ c("div")({
|
|
|
291
291
|
} catch {
|
|
292
292
|
await Zi(l, z);
|
|
293
293
|
}
|
|
294
|
-
|
|
294
|
+
j(z);
|
|
295
295
|
} catch (z) {
|
|
296
296
|
window.alert(z);
|
|
297
297
|
}
|
|
298
|
-
},
|
|
299
|
-
if (
|
|
298
|
+
}, h = async (T) => {
|
|
299
|
+
if (T.preventDefault(), g && o)
|
|
300
300
|
try {
|
|
301
|
-
const z = await Bi(l,
|
|
301
|
+
const z = await Bi(l, g, o);
|
|
302
302
|
z && t ? await t(z) : console.log("token", z);
|
|
303
303
|
} catch (z) {
|
|
304
304
|
window.alert(z);
|
|
305
305
|
}
|
|
306
306
|
};
|
|
307
307
|
return /* @__PURE__ */ A(Ri, { children: [
|
|
308
|
-
!
|
|
309
|
-
/* @__PURE__ */ A(
|
|
308
|
+
!g && /* @__PURE__ */ A("div", { children: [
|
|
309
|
+
/* @__PURE__ */ A(Ne, { onSubmit: p, children: [
|
|
310
310
|
/* @__PURE__ */ s(De, { children: "Enter your phone number" }),
|
|
311
311
|
/* @__PURE__ */ s(R1, { children: "Enter your phone up for number to log in or sign an account." }),
|
|
312
|
-
/* @__PURE__ */ s(
|
|
313
|
-
/* @__PURE__ */ s(
|
|
312
|
+
/* @__PURE__ */ s(Vi, { children: /* @__PURE__ */ s(oi, { value: I, onChange: (T) => D(`${T}`) }) }),
|
|
313
|
+
/* @__PURE__ */ s(V1, { disabled: !li(I), type: "submit", children: "request code" })
|
|
314
314
|
] }),
|
|
315
|
-
M && /* @__PURE__ */ s(
|
|
315
|
+
M && /* @__PURE__ */ s(V1, { style: { display: "block", margin: "auto" }, onClick: M, children: "anonymous login" })
|
|
316
316
|
] }),
|
|
317
|
-
|
|
317
|
+
g && /* @__PURE__ */ A(Ne, { onSubmit: h, children: [
|
|
318
318
|
/* @__PURE__ */ s(De, { children: "Enter Verification Code" }),
|
|
319
319
|
/* @__PURE__ */ A(R1, { children: [
|
|
320
320
|
"Please enter the verification code ",
|
|
@@ -323,7 +323,7 @@ const Ri = /* @__PURE__ */ c("div")({
|
|
|
323
323
|
/* @__PURE__ */ s("b", { children: ai(I) })
|
|
324
324
|
] }),
|
|
325
325
|
/* @__PURE__ */ s($i, { children: /* @__PURE__ */ s(Mi, { autoFocus: !0, allowedCharacters: "numeric", length: 4, onChange: y }) }),
|
|
326
|
-
/* @__PURE__ */ s(
|
|
326
|
+
/* @__PURE__ */ s(V1, { disabled: o.length !== 4, type: "submit", children: "login" }),
|
|
327
327
|
/* @__PURE__ */ A(R1, { children: [
|
|
328
328
|
"Didn't get 59 the code? ",
|
|
329
329
|
/* @__PURE__ */ s("br", {}),
|
|
@@ -334,7 +334,7 @@ const Ri = /* @__PURE__ */ c("div")({
|
|
|
334
334
|
] })
|
|
335
335
|
] });
|
|
336
336
|
};
|
|
337
|
-
const
|
|
337
|
+
const Pi = /* @__PURE__ */ c("div")({
|
|
338
338
|
name: "i",
|
|
339
339
|
class: "i1grt8h",
|
|
340
340
|
propsAsIs: !1
|
|
@@ -350,7 +350,7 @@ const Vi = /* @__PURE__ */ c("div")({
|
|
|
350
350
|
name: "d",
|
|
351
351
|
class: "d9l6z9i",
|
|
352
352
|
propsAsIs: !1
|
|
353
|
-
}), Fi = ({ graphic: t, headline: M }) => /* @__PURE__ */ s(
|
|
353
|
+
}), Fi = ({ graphic: t, headline: M }) => /* @__PURE__ */ s(Pi, { children: /* @__PURE__ */ A(Hi, { children: [
|
|
354
354
|
/* @__PURE__ */ s(Wi, { alt: "graphic-img-instructions", src: t }),
|
|
355
355
|
/* @__PURE__ */ s(_i, { children: M })
|
|
356
356
|
] }) });
|
|
@@ -428,11 +428,11 @@ const I4 = /* @__PURE__ */ c("div")({
|
|
|
428
428
|
name: "n",
|
|
429
429
|
class: "n1cm2rh8",
|
|
430
430
|
propsAsIs: !1
|
|
431
|
-
}),
|
|
431
|
+
}), g4 = /* @__PURE__ */ c("div")({
|
|
432
432
|
name: "e",
|
|
433
433
|
class: "e9j28tc",
|
|
434
434
|
propsAsIs: !1
|
|
435
|
-
}),
|
|
435
|
+
}), N4 = /* @__PURE__ */ c("div")({
|
|
436
436
|
name: "i",
|
|
437
437
|
class: "iu1o1a8",
|
|
438
438
|
propsAsIs: !1
|
|
@@ -460,7 +460,7 @@ const I4 = /* @__PURE__ */ c("div")({
|
|
|
460
460
|
name: "p",
|
|
461
461
|
class: "p17kmhv2",
|
|
462
462
|
propsAsIs: !1
|
|
463
|
-
}),
|
|
463
|
+
}), h4 = /* @__PURE__ */ c("button")({
|
|
464
464
|
name: "a",
|
|
465
465
|
class: "a1qucmt7",
|
|
466
466
|
propsAsIs: !1
|
|
@@ -468,52 +468,52 @@ const I4 = /* @__PURE__ */ c("div")({
|
|
|
468
468
|
steps: !1,
|
|
469
469
|
rules: !1,
|
|
470
470
|
inviteCard: !1
|
|
471
|
-
},
|
|
471
|
+
}, T4 = ({
|
|
472
472
|
gamification: t,
|
|
473
473
|
closeFeature: M,
|
|
474
474
|
steps: l,
|
|
475
475
|
gameIcon: I,
|
|
476
476
|
sponsorLogo: D,
|
|
477
|
-
rules:
|
|
478
|
-
rulesBtnLabel:
|
|
477
|
+
rules: g,
|
|
478
|
+
rulesBtnLabel: j,
|
|
479
479
|
rulesTitle: o,
|
|
480
480
|
primaryColor: y,
|
|
481
481
|
inviteCardTitle: p,
|
|
482
|
-
inviteCardSubtext:
|
|
483
|
-
inviteCardBtnLabel:
|
|
482
|
+
inviteCardSubtext: h,
|
|
483
|
+
inviteCardBtnLabel: T
|
|
484
484
|
}) => {
|
|
485
485
|
const z = async () => {
|
|
486
486
|
await t.submitInplay();
|
|
487
|
-
},
|
|
487
|
+
}, E = () => {
|
|
488
488
|
M();
|
|
489
489
|
}, [f, U] = B(0), [v, Q] = B(s1);
|
|
490
490
|
u1(() => {
|
|
491
|
-
l != null && l.length ? Q({ ...s1, steps: !0 }) :
|
|
491
|
+
l != null && l.length ? Q({ ...s1, steps: !0 }) : g != null && g.length ? Q({ ...s1, rules: !0 }) : Q({ ...s1, inviteCard: !0 });
|
|
492
492
|
}, []);
|
|
493
|
-
const J =
|
|
494
|
-
l != null && l.length && f < l.length - 1 ? U((R) => ++R) :
|
|
495
|
-
}, [f, l == null ? void 0 : l.length,
|
|
493
|
+
const J = m1(() => {
|
|
494
|
+
l != null && l.length && f < l.length - 1 ? U((R) => ++R) : g != null && g.length && v.steps ? Q({ ...s1, rules: !0 }) : v.rules && Q({ ...s1, inviteCard: !0 });
|
|
495
|
+
}, [f, l == null ? void 0 : l.length, g == null ? void 0 : g.length, v, U, Q]);
|
|
496
496
|
return /* @__PURE__ */ A(I4, { children: [
|
|
497
|
-
/* @__PURE__ */ A(
|
|
497
|
+
/* @__PURE__ */ A(N4, { children: [
|
|
498
498
|
/* @__PURE__ */ s(D4, { children: I && /* @__PURE__ */ s(j4, { alt: "sponsor-one-onboarding-icon", src: I }) }),
|
|
499
499
|
/* @__PURE__ */ A(d4, { children: [
|
|
500
500
|
D && /* @__PURE__ */ s(A4, { alt: "sponsor-two-onboarding-icon", src: D }),
|
|
501
|
-
/* @__PURE__ */ s(y4, { onClick:
|
|
501
|
+
/* @__PURE__ */ s(y4, { onClick: E, children: /* @__PURE__ */ s(p4, { alt: "icon-close-onboarding", src: w1 }) })
|
|
502
502
|
] })
|
|
503
503
|
] }),
|
|
504
|
-
/* @__PURE__ */ A(
|
|
504
|
+
/* @__PURE__ */ A(g4, { children: [
|
|
505
505
|
v.steps && (l == null ? void 0 : l.length) && /* @__PURE__ */ s(Fi, { graphic: l[f].graphic, headline: l[f].headline }),
|
|
506
|
-
v.rules && /* @__PURE__ */ s(u4, { rules:
|
|
506
|
+
v.rules && /* @__PURE__ */ s(u4, { rules: g, rulesTitle: o, primaryColor: y }),
|
|
507
507
|
v.inviteCard && /* @__PURE__ */ s(
|
|
508
508
|
r4,
|
|
509
509
|
{
|
|
510
510
|
inviteCardTitle: p,
|
|
511
|
-
inviteCardSubtext:
|
|
511
|
+
inviteCardSubtext: h,
|
|
512
512
|
primaryColor: y
|
|
513
513
|
}
|
|
514
514
|
)
|
|
515
515
|
] }),
|
|
516
|
-
/* @__PURE__ */ s(
|
|
516
|
+
/* @__PURE__ */ s(h4, { onClick: v.inviteCard ? z : J, children: v.rules ? j || "Got it!" : v.inviteCard ? T || "Play now!" : "Next" })
|
|
517
517
|
] });
|
|
518
518
|
};
|
|
519
519
|
const C4 = /* @__PURE__ */ c("div")({
|
|
@@ -525,7 +525,7 @@ const C4 = /* @__PURE__ */ c("div")({
|
|
|
525
525
|
class: "i1sipe39",
|
|
526
526
|
propsAsIs: !1
|
|
527
527
|
});
|
|
528
|
-
var
|
|
528
|
+
var L1 = /* @__PURE__ */ ((t) => (t.HOME = "home", t.LEADERBOARD = "leaderboard", t))(L1 || {});
|
|
529
529
|
const z4 = ({ activePage: t = "home", toggleActivePage: M }) => /* @__PURE__ */ A(C4, { children: [
|
|
530
530
|
/* @__PURE__ */ s(
|
|
531
531
|
de,
|
|
@@ -552,7 +552,7 @@ const z4 = ({ activePage: t = "home", toggleActivePage: M }) => /* @__PURE__ */
|
|
|
552
552
|
}
|
|
553
553
|
)
|
|
554
554
|
] });
|
|
555
|
-
const
|
|
555
|
+
const L4 = /* @__PURE__ */ c("div")({
|
|
556
556
|
name: "o",
|
|
557
557
|
class: "oa5apdf",
|
|
558
558
|
propsAsIs: !1
|
|
@@ -560,18 +560,18 @@ const E4 = /* @__PURE__ */ c("div")({
|
|
|
560
560
|
name: "n",
|
|
561
561
|
class: "n1wh5guy",
|
|
562
562
|
propsAsIs: !1
|
|
563
|
-
}),
|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TE2OSAxNC4wNDM2IDMuMzM1MDhMNi4zODY4IDExLjA4NzhDNi4yNTU1MSAxMS4yMjI1IDYuMTU4NTMgMTEuMzY0NCA2LjA5NTg2IDExLjUxMzRDNi4wMzMxOCAxMS42NjI1IDYuMDAxMjMgMTEuODI0NCA2IDExLjk5OVoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==", Ze = ({ icon: t, comeBack: M, close: l }) => /* @__PURE__ */ A(L4, { children: [
|
|
568
568
|
/* @__PURE__ */ A("div", { children: [
|
|
569
|
-
M && /* @__PURE__ */ s(je, { onClick: M, children: /* @__PURE__ */ s("img", { alt: "header-back-icon", src:
|
|
570
|
-
t && /* @__PURE__ */ s(
|
|
569
|
+
M && /* @__PURE__ */ s(je, { onClick: M, children: /* @__PURE__ */ s("img", { alt: "header-back-icon", src: m4 }) }),
|
|
570
|
+
t && /* @__PURE__ */ s(E4, { alt: "header-icon", src: t })
|
|
571
571
|
] }),
|
|
572
|
-
/* @__PURE__ */ s("div", { children: l && /* @__PURE__ */ s(je, { onClick: l, children: /* @__PURE__ */ s("img", { alt: "header-close-icon", src:
|
|
572
|
+
/* @__PURE__ */ s("div", { children: l && /* @__PURE__ */ s(je, { onClick: l, children: /* @__PURE__ */ s("img", { alt: "header-close-icon", src: w1 }) }) })
|
|
573
573
|
] }), Be = (t) => t.split(/\s+/).map((M) => M[0]).join("").toUpperCase();
|
|
574
|
-
const
|
|
574
|
+
const w4 = /* @__PURE__ */ c("div")({
|
|
575
575
|
name: "t",
|
|
576
576
|
class: "taj61ja",
|
|
577
577
|
propsAsIs: !1
|
|
@@ -583,7 +583,7 @@ const m4 = /* @__PURE__ */ c("div")({
|
|
|
583
583
|
name: "n",
|
|
584
584
|
class: "n1whkbqh",
|
|
585
585
|
propsAsIs: !1
|
|
586
|
-
}), Ae = ({ indicator: t, title: M }) => /* @__PURE__ */ A(
|
|
586
|
+
}), Ae = ({ indicator: t, title: M }) => /* @__PURE__ */ A(w4, { children: [
|
|
587
587
|
/* @__PURE__ */ s(x4, { children: M }),
|
|
588
588
|
/* @__PURE__ */ s(O4, { children: t })
|
|
589
589
|
] });
|
|
@@ -635,7 +635,7 @@ const k4 = /* @__PURE__ */ c("div")({
|
|
|
635
635
|
name: "c",
|
|
636
636
|
class: "cboqgs5",
|
|
637
637
|
propsAsIs: !1
|
|
638
|
-
}),
|
|
638
|
+
}), V4 = /* @__PURE__ */ c("div")({
|
|
639
639
|
name: "l",
|
|
640
640
|
class: "l1oaal4",
|
|
641
641
|
propsAsIs: !1
|
|
@@ -647,7 +647,7 @@ const k4 = /* @__PURE__ */ c("div")({
|
|
|
647
647
|
name: "f",
|
|
648
648
|
class: "f1l9i8s8",
|
|
649
649
|
propsAsIs: !1
|
|
650
|
-
}),
|
|
650
|
+
}), P4 = /* @__PURE__ */ c("div")({
|
|
651
651
|
name: "g",
|
|
652
652
|
class: "g4cgl4u",
|
|
653
653
|
propsAsIs: !1
|
|
@@ -665,8 +665,8 @@ const k4 = /* @__PURE__ */ c("div")({
|
|
|
665
665
|
points: l,
|
|
666
666
|
friendsRank: I,
|
|
667
667
|
rank: D,
|
|
668
|
-
streak:
|
|
669
|
-
correct:
|
|
668
|
+
streak: g,
|
|
669
|
+
correct: j,
|
|
670
670
|
incorrect: o,
|
|
671
671
|
inTop: y,
|
|
672
672
|
average: p
|
|
@@ -681,7 +681,7 @@ const k4 = /* @__PURE__ */ c("div")({
|
|
|
681
681
|
/* @__PURE__ */ s(Z4, { children: M }),
|
|
682
682
|
/* @__PURE__ */ A(B4, { children: [
|
|
683
683
|
/* @__PURE__ */ s(R4, { alt: "rank-icon", src: _4 }),
|
|
684
|
-
/* @__PURE__ */ A(
|
|
684
|
+
/* @__PURE__ */ A(V4, { children: [
|
|
685
685
|
/* @__PURE__ */ s($4, { children: l }),
|
|
686
686
|
"RTS"
|
|
687
687
|
] }),
|
|
@@ -693,14 +693,14 @@ const k4 = /* @__PURE__ */ c("div")({
|
|
|
693
693
|
] })
|
|
694
694
|
] })
|
|
695
695
|
] }),
|
|
696
|
-
/* @__PURE__ */ A(
|
|
696
|
+
/* @__PURE__ */ A(P4, { children: [
|
|
697
697
|
/* @__PURE__ */ s(Ae, { title: "Friends rank", indicator: I || 0 }),
|
|
698
698
|
/* @__PURE__ */ s(Ae, { title: "Global rank", indicator: D || 0 })
|
|
699
699
|
] })
|
|
700
700
|
] }),
|
|
701
701
|
/* @__PURE__ */ A(v4, { children: [
|
|
702
|
-
/* @__PURE__ */ s(z1, { indicator:
|
|
703
|
-
/* @__PURE__ */ s(z1, { indicator:
|
|
702
|
+
/* @__PURE__ */ s(z1, { indicator: g || 0, title: "Win streak" }),
|
|
703
|
+
/* @__PURE__ */ s(z1, { indicator: j || 0, title: "Correct" }),
|
|
704
704
|
/* @__PURE__ */ s(z1, { indicator: o || 0, title: "Incorrect" }),
|
|
705
705
|
/* @__PURE__ */ s(z1, { indicator: `${p || 0}%`, title: "Success rate" })
|
|
706
706
|
] })
|
|
@@ -725,90 +725,90 @@ const q4 = /* @__PURE__ */ c("div")({
|
|
|
725
725
|
name: "r",
|
|
726
726
|
class: "r17rl8zy",
|
|
727
727
|
propsAsIs: !1
|
|
728
|
-
}),
|
|
728
|
+
}), e2 = /* @__PURE__ */ c("div")({
|
|
729
729
|
name: "i",
|
|
730
730
|
class: "i1vvttbn",
|
|
731
731
|
propsAsIs: !1
|
|
732
|
-
}),
|
|
732
|
+
}), i2 = /* @__PURE__ */ c("div")({
|
|
733
733
|
name: "p",
|
|
734
734
|
class: "p6fk2ph",
|
|
735
735
|
propsAsIs: !1
|
|
736
|
-
}),
|
|
736
|
+
}), t2 = /* @__PURE__ */ c("div")({
|
|
737
737
|
name: "s",
|
|
738
738
|
class: "s1rdm136",
|
|
739
739
|
propsAsIs: !1
|
|
740
|
-
}),
|
|
740
|
+
}), n2 = /* @__PURE__ */ c("button")({
|
|
741
741
|
name: "a",
|
|
742
742
|
class: "awqnnel",
|
|
743
743
|
propsAsIs: !1
|
|
744
|
-
}),
|
|
744
|
+
}), r2 = /* @__PURE__ */ c("button")({
|
|
745
745
|
name: "c",
|
|
746
746
|
class: "ccyxnlg",
|
|
747
747
|
propsAsIs: !1
|
|
748
|
-
}),
|
|
748
|
+
}), s2 = /* @__PURE__ */ c("img")({
|
|
749
749
|
name: "d",
|
|
750
750
|
class: "ds2nk4s",
|
|
751
751
|
propsAsIs: !1
|
|
752
|
-
}),
|
|
752
|
+
}), M2 = /* @__PURE__ */ c("span")({
|
|
753
753
|
name: "l",
|
|
754
754
|
class: "ltym8sr",
|
|
755
755
|
propsAsIs: !1
|
|
756
|
-
}),
|
|
756
|
+
}), o2 = /* @__PURE__ */ c("span")({
|
|
757
757
|
name: "x",
|
|
758
758
|
class: "xkjgzv5",
|
|
759
759
|
propsAsIs: !1
|
|
760
|
-
}),
|
|
761
|
-
[_.POLL]: { label: "Poll", icon:
|
|
762
|
-
[_.TRIVIA]: { label: "Trivia", icon:
|
|
763
|
-
[_.PREDICTION]: { label: "Prediction", icon:
|
|
764
|
-
},
|
|
765
|
-
[
|
|
766
|
-
[
|
|
767
|
-
[
|
|
768
|
-
[
|
|
769
|
-
},
|
|
760
|
+
}), l2 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZWNrIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTEzLjQzMTUgMy4xODI0Nkw1LjUzMzIxIDExLjA4MDhMMS45OTc3MSA3LjU0NTI3QzEuNTQwNTYgNy4wODgxMSAwLjc5OTkxMyA3LjA4ODExIDAuMzQyODY0IDcuNTQ1MjdDLTAuMTE0Mjg4IDguMDAyNDIgLTAuMTE0Mjg4IDguNzQzMDcgMC4zNDI4NjQgOS4yMDAxMUw0LjcwNTY3IDEzLjU2MjlDNC45MzMzMS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45NzQ1NCAxMC4yODk0QzcuMzgzOTYgMTAuMzY4OSA2Ljk2NzY1IDEwLjkxMjcgNy4wNDU5OSAxMS41MDMzQzcuMTE3MzMgMTIuMDM3NyA3LjU3ODA4IDEyLjQ0MTIgOC4xMTcyIDEyLjQ0MTJDOC4xNjM5NyAxMi40NDEyIDguMjExOTIgMTIuNDM3NyA4LjI1OTg3IDEyLjQzMThDOC44NTA0NSAxMi4zNTIzIDkuMjY1NiAxMS44MDg1IDkuMTg4NDIgMTEuMjE3OUM5LjExNTkxIDEwLjY4MjMgOC42NTUxNyAxMC4yOCA4LjExNjA1IDEwLjI4WiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC41Ii8+CjwvZz4KPC9zdmc+Cg==", g2 = {
|
|
761
|
+
[_.POLL]: { label: "Poll", icon: c2 },
|
|
762
|
+
[_.TRIVIA]: { label: "Trivia", icon: I2 },
|
|
763
|
+
[_.PREDICTION]: { label: "Prediction", icon: u2 }
|
|
764
|
+
}, N2 = {
|
|
765
|
+
[h1.LOST]: a2,
|
|
766
|
+
[h1.WON]: l2,
|
|
767
|
+
[h1.UNSET]: _1,
|
|
768
|
+
[h1.DNP]: _1
|
|
769
|
+
}, D2 = ({
|
|
770
770
|
questionId: t,
|
|
771
771
|
questionType: M,
|
|
772
772
|
questionStatus: l,
|
|
773
773
|
subject: I,
|
|
774
774
|
openForVoting: D,
|
|
775
|
-
openQuestion:
|
|
776
|
-
status:
|
|
775
|
+
openQuestion: g,
|
|
776
|
+
status: j
|
|
777
777
|
}) => {
|
|
778
|
-
const o =
|
|
779
|
-
return o === void 0 ? null : /* @__PURE__ */ A(q4, { onClick: () =>
|
|
778
|
+
const o = g2[M];
|
|
779
|
+
return o === void 0 ? null : /* @__PURE__ */ A(q4, { onClick: () => g == null ? void 0 : g(t), children: [
|
|
780
780
|
/* @__PURE__ */ s(X4, { children: /* @__PURE__ */ s(K4, { alt: "question-type-icon", src: o.icon }) }),
|
|
781
|
-
/* @__PURE__ */ A(
|
|
782
|
-
/* @__PURE__ */ A(
|
|
783
|
-
/* @__PURE__ */ s(
|
|
784
|
-
M === _.TRIVIA && l === ti.RESOLVED && /* @__PURE__ */ s(
|
|
781
|
+
/* @__PURE__ */ A(e2, { children: [
|
|
782
|
+
/* @__PURE__ */ A(i2, { children: [
|
|
783
|
+
/* @__PURE__ */ s(M2, { children: o.label }),
|
|
784
|
+
M === _.TRIVIA && l === ti.RESOLVED && /* @__PURE__ */ s(o2, { children: "Expired" })
|
|
785
785
|
] }),
|
|
786
|
-
/* @__PURE__ */ s(
|
|
786
|
+
/* @__PURE__ */ s(t2, { children: I || "" })
|
|
787
787
|
] }),
|
|
788
|
-
D ? /* @__PURE__ */ s(
|
|
788
|
+
D ? /* @__PURE__ */ s(n2, { children: "play" }) : /* @__PURE__ */ s(r2, { children: /* @__PURE__ */ s(s2, { alt: "question-status-icon", src: N2[j] }) })
|
|
789
789
|
] });
|
|
790
790
|
};
|
|
791
|
-
const
|
|
791
|
+
const d2 = /* @__PURE__ */ c("div")({
|
|
792
792
|
name: "e",
|
|
793
793
|
class: "ezy702i",
|
|
794
794
|
propsAsIs: !1
|
|
795
|
-
}),
|
|
795
|
+
}), j2 = /* @__PURE__ */ c("div")({
|
|
796
796
|
name: "i",
|
|
797
797
|
class: "isqqly6",
|
|
798
798
|
propsAsIs: !1
|
|
799
|
-
}),
|
|
799
|
+
}), A2 = /* @__PURE__ */ c("div")({
|
|
800
800
|
name: "r",
|
|
801
801
|
class: "rhkye9e",
|
|
802
802
|
propsAsIs: !1
|
|
803
|
-
}),
|
|
804
|
-
/* @__PURE__ */ s(
|
|
805
|
-
/* @__PURE__ */ s(
|
|
803
|
+
}), y2 = ({ questions: t, openQuestion: M }) => /* @__PURE__ */ A(d2, { children: [
|
|
804
|
+
/* @__PURE__ */ s(j2, { children: "PICK HISTORY" }),
|
|
805
|
+
/* @__PURE__ */ s(A2, { children: t == null ? void 0 : t.map((l) => /* @__PURE__ */ s(D2, { openQuestion: M, ...l }, l.questionId)) })
|
|
806
806
|
] });
|
|
807
|
-
const
|
|
807
|
+
const p2 = () => Ve, Ve = /* @__PURE__ */ c("div")({
|
|
808
808
|
name: "o",
|
|
809
809
|
class: "o1kax5ew",
|
|
810
810
|
propsAsIs: !1
|
|
811
|
-
}),
|
|
811
|
+
}), h2 = /* @__PURE__ */ c(p2())({
|
|
812
812
|
name: "t",
|
|
813
813
|
class: "t1p0nk84",
|
|
814
814
|
propsAsIs: !0
|
|
@@ -820,11 +820,11 @@ const pt = () => Pe, Pe = /* @__PURE__ */ c("div")({
|
|
|
820
820
|
name: "n",
|
|
821
821
|
class: "n1r0688y",
|
|
822
822
|
propsAsIs: !1
|
|
823
|
-
}),
|
|
823
|
+
}), he = /* @__PURE__ */ c("img")({
|
|
824
824
|
name: "a",
|
|
825
825
|
class: "ax1ep2z",
|
|
826
826
|
propsAsIs: !1
|
|
827
|
-
}),
|
|
827
|
+
}), Te = /* @__PURE__ */ c("span")({
|
|
828
828
|
name: "d",
|
|
829
829
|
class: "d1imb68z",
|
|
830
830
|
propsAsIs: !1
|
|
@@ -840,66 +840,66 @@ const pt = () => Pe, Pe = /* @__PURE__ */ c("div")({
|
|
|
840
840
|
name: "l",
|
|
841
841
|
class: "lqn7nsi",
|
|
842
842
|
propsAsIs: !1
|
|
843
|
-
}),
|
|
843
|
+
}), Le = /* @__PURE__ */ c("img")({
|
|
844
844
|
name: "p",
|
|
845
845
|
class: "p1gvpbx9",
|
|
846
846
|
propsAsIs: !1
|
|
847
|
-
}), F1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZWNrbWFyayI+CjxwYXRoIGlkPSJTZWxlY3RlZCIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bG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MxMkMxOC42Mjc0IDAuMDAxOTUzMTIgMjQgNS4zNzQ1NCAyNCAxMi4wMDJaTTE3LjQwODYgOC4xNTM1N0MxNi45NCA3LjY4NDk0IDE2LjE4MDIgNy42ODQ5NCAxNS43MTE2IDguMTUzNTdMMTAuNDA3MiAxNC45NTc5TDcuNjI1NzMgMTMuMTAzNkM3LjA3NDI5IDEyLjczNiA2LjMyOTI1IDEyLjg4NSA1Ljk2MTYzIDEzLjQzNjVDNS41OTQwMSAxMy45ODc5IDUuNzQzMDEgMTQuNzMyOSA2LjI5NDQ1IDE1LjEwMDZMOS44OTQ0NSAxNy41MDA2QzEwLjM3MDQgMTcuODE3OSAxMS4wMDQxIDE3Ljc1NTEgMTEuNDA4NiAxNy4zNTA2TDE3LjQwODYgOS44NTA2M0MxNy44NzcyIDkuMzgyIDE3Ljg3NzIgOC42MjIyIDE3LjQwODYgOC4xNTM1N1oiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8L3N2Zz4K", T2 = ({
|
|
848
848
|
icon: t,
|
|
849
849
|
id: M,
|
|
850
850
|
title: l,
|
|
851
851
|
questionId: I,
|
|
852
852
|
disabled: D,
|
|
853
|
-
percentage:
|
|
854
|
-
onVote:
|
|
853
|
+
percentage: g,
|
|
854
|
+
onVote: j,
|
|
855
855
|
toggleIsLoadingSubmitAnswer: o,
|
|
856
856
|
correct: y,
|
|
857
857
|
questionAnswered: p,
|
|
858
|
-
hasCorrectAnswer:
|
|
859
|
-
answered:
|
|
858
|
+
hasCorrectAnswer: h,
|
|
859
|
+
answered: T,
|
|
860
860
|
points: z,
|
|
861
|
-
questionType:
|
|
861
|
+
questionType: E
|
|
862
862
|
}) => {
|
|
863
863
|
var f;
|
|
864
|
-
return p &&
|
|
865
|
-
|
|
864
|
+
return p && T ? /* @__PURE__ */ A(
|
|
865
|
+
h2,
|
|
866
866
|
{
|
|
867
|
-
"data-answeredCorrect": (f = !
|
|
867
|
+
"data-answeredCorrect": (f = !h || y) == null ? void 0 : f.toString(),
|
|
868
868
|
"data-questionAnswered": "false",
|
|
869
869
|
children: [
|
|
870
|
-
/* @__PURE__ */ s(ye, { style: { width: `${
|
|
871
|
-
/* @__PURE__ */ A(pe, { disabled: D, onClick: () =>
|
|
872
|
-
t && /* @__PURE__ */ s(
|
|
873
|
-
/* @__PURE__ */ s(
|
|
870
|
+
/* @__PURE__ */ s(ye, { style: { width: `${g}%` } }),
|
|
871
|
+
/* @__PURE__ */ A(pe, { disabled: D, onClick: () => j(I, M), children: [
|
|
872
|
+
t && /* @__PURE__ */ s(he, { alt: "option-icon", src: t }),
|
|
873
|
+
/* @__PURE__ */ s(Te, { children: l }),
|
|
874
874
|
/* @__PURE__ */ A(Ce, { children: [
|
|
875
|
-
|
|
875
|
+
h && y && /* @__PURE__ */ s(ze, { children: /* @__PURE__ */ s(Le, { alt: "icon-correct", src: T ? Ee : F1 }) }),
|
|
876
876
|
/* @__PURE__ */ A($1, { children: [
|
|
877
|
-
|
|
877
|
+
g,
|
|
878
878
|
"%"
|
|
879
879
|
] })
|
|
880
880
|
] })
|
|
881
881
|
] })
|
|
882
882
|
]
|
|
883
883
|
}
|
|
884
|
-
) : /* @__PURE__ */ A(
|
|
885
|
-
p && /* @__PURE__ */ s(ye, { style: { width: `${
|
|
884
|
+
) : /* @__PURE__ */ A(Ve, { "data-questionAnswered": p == null ? void 0 : p.toString(), children: [
|
|
885
|
+
p && /* @__PURE__ */ s(ye, { style: { width: `${g}%` } }),
|
|
886
886
|
/* @__PURE__ */ A(
|
|
887
887
|
pe,
|
|
888
888
|
{
|
|
889
889
|
disabled: D,
|
|
890
890
|
onClick: () => {
|
|
891
|
-
o(!0),
|
|
891
|
+
o(!0), j(I, M);
|
|
892
892
|
},
|
|
893
893
|
children: [
|
|
894
|
-
t && /* @__PURE__ */ s(
|
|
895
|
-
/* @__PURE__ */ s(
|
|
894
|
+
t && /* @__PURE__ */ s(he, { alt: "option-icon", src: t }),
|
|
895
|
+
/* @__PURE__ */ s(Te, { children: l }),
|
|
896
896
|
p ? /* @__PURE__ */ A(Ce, { children: [
|
|
897
|
-
|
|
897
|
+
h && y && /* @__PURE__ */ s(ze, { children: /* @__PURE__ */ s(Le, { alt: "icon-correct", src: T ? Ee : F1 }) }),
|
|
898
898
|
/* @__PURE__ */ A($1, { children: [
|
|
899
|
-
|
|
899
|
+
g,
|
|
900
900
|
"%"
|
|
901
901
|
] })
|
|
902
|
-
] }) :
|
|
902
|
+
] }) : E === _.PREDICTION ? /* @__PURE__ */ A($1, { children: [
|
|
903
903
|
z,
|
|
904
904
|
" pts"
|
|
905
905
|
] }) : null
|
|
@@ -908,162 +908,162 @@ const pt = () => Pe, Pe = /* @__PURE__ */ c("div")({
|
|
|
908
908
|
)
|
|
909
909
|
] });
|
|
910
910
|
};
|
|
911
|
-
const
|
|
911
|
+
const C2 = /* @__PURE__ */ c("div")({
|
|
912
912
|
name: "e",
|
|
913
913
|
class: "elc1eph",
|
|
914
914
|
propsAsIs: !1
|
|
915
|
-
}),
|
|
915
|
+
}), z2 = /* @__PURE__ */ c("div")({
|
|
916
916
|
name: "o",
|
|
917
917
|
class: "o1yoh29a",
|
|
918
918
|
propsAsIs: !1
|
|
919
|
-
}),
|
|
919
|
+
}), L2 = /* @__PURE__ */ c("div")({
|
|
920
920
|
name: "n",
|
|
921
921
|
class: "njkr5mb",
|
|
922
922
|
propsAsIs: !1
|
|
923
|
-
}),
|
|
923
|
+
}), E2 = /* @__PURE__ */ c("div")({
|
|
924
924
|
name: "a",
|
|
925
925
|
class: "a82wnnx",
|
|
926
926
|
propsAsIs: !1
|
|
927
|
-
}),
|
|
927
|
+
}), m2 = /* @__PURE__ */ c("div")({
|
|
928
928
|
name: "l",
|
|
929
929
|
class: "l1nz1ddv",
|
|
930
930
|
propsAsIs: !1
|
|
931
|
-
}),
|
|
931
|
+
}), w2 = /* @__PURE__ */ c("img")({
|
|
932
932
|
name: "r",
|
|
933
933
|
class: "rd1fmde",
|
|
934
934
|
propsAsIs: !1
|
|
935
|
-
}),
|
|
935
|
+
}), x2 = /* @__PURE__ */ c("div")({
|
|
936
936
|
name: "d",
|
|
937
937
|
class: "dbyqoe6",
|
|
938
938
|
propsAsIs: !1
|
|
939
|
-
}),
|
|
939
|
+
}), O2 = /* @__PURE__ */ c("div")({
|
|
940
940
|
name: "p",
|
|
941
941
|
class: "p4qnn76",
|
|
942
942
|
propsAsIs: !1
|
|
943
|
-
}),
|
|
943
|
+
}), f2 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeT0iMC4wMDE5NTMxMiIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiIGZpbGw9IiNGODAwMjIiLz4KPHJlY3QgeD0iOC4yNSIgeT0iNy4wMDE5NSIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcuMDAxOTUpIiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCB4PSI3IiB5PSIxNS43NTIiIHdpZHRoPSIxMi4zNzQ0IiBoZWlnaHQ9IjEuNzY3NzciIHJ4PSIwLjg4Mzg4NCIgdHJhbnNmb3JtPSJyb3RhdGUoLTQ1IDcgMTUuNzUyKSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==", S2 = ({
|
|
944
944
|
title: t,
|
|
945
945
|
questionId: M,
|
|
946
946
|
options: l,
|
|
947
947
|
questionAnswered: I,
|
|
948
948
|
feedbackMessages: D,
|
|
949
|
-
questionAnsweredCorrectly:
|
|
950
|
-
questionType:
|
|
949
|
+
questionAnsweredCorrectly: g,
|
|
950
|
+
questionType: j
|
|
951
951
|
}) => {
|
|
952
|
-
const [o, y] = B(!1), p =
|
|
953
|
-
(
|
|
954
|
-
y(
|
|
952
|
+
const [o, y] = B(!1), p = m1(
|
|
953
|
+
(h) => {
|
|
954
|
+
y(h);
|
|
955
955
|
},
|
|
956
956
|
[y]
|
|
957
957
|
);
|
|
958
958
|
return u1(() => {
|
|
959
959
|
p(!1);
|
|
960
|
-
}, [l, p]), /* @__PURE__ */ A(
|
|
961
|
-
/* @__PURE__ */ s(
|
|
962
|
-
/* @__PURE__ */ A(
|
|
963
|
-
o && /* @__PURE__ */ s(
|
|
964
|
-
l.map((
|
|
965
|
-
|
|
960
|
+
}, [l, p]), /* @__PURE__ */ A(C2, { children: [
|
|
961
|
+
/* @__PURE__ */ s(z2, { children: t }),
|
|
962
|
+
/* @__PURE__ */ A(L2, { children: [
|
|
963
|
+
o && /* @__PURE__ */ s(E2, { children: "Loading..." }),
|
|
964
|
+
l.map((h) => /* @__PURE__ */ s(
|
|
965
|
+
T2,
|
|
966
966
|
{
|
|
967
967
|
toggleIsLoadingSubmitAnswer: p,
|
|
968
968
|
questionId: M,
|
|
969
|
-
questionType:
|
|
970
|
-
...
|
|
969
|
+
questionType: j,
|
|
970
|
+
...h
|
|
971
971
|
},
|
|
972
|
-
|
|
972
|
+
h.id
|
|
973
973
|
))
|
|
974
974
|
] }),
|
|
975
|
-
I &&
|
|
976
|
-
/* @__PURE__ */ s(
|
|
975
|
+
I && j === _.TRIVIA && /* @__PURE__ */ A(m2, { children: [
|
|
976
|
+
/* @__PURE__ */ s(w2, { alt: "reaction-to-answer", src: g ? F1 : f2 }),
|
|
977
977
|
/* @__PURE__ */ A("div", { children: [
|
|
978
|
-
/* @__PURE__ */ s(
|
|
979
|
-
/* @__PURE__ */ s(
|
|
978
|
+
/* @__PURE__ */ s(x2, { children: g ? D.correctFeedback.title : D.incorrectFeedback.title }),
|
|
979
|
+
/* @__PURE__ */ s(O2, { children: g ? D.correctFeedback.description : D.incorrectFeedback.description })
|
|
980
980
|
] })
|
|
981
981
|
] })
|
|
982
982
|
] });
|
|
983
983
|
};
|
|
984
|
-
const
|
|
984
|
+
const k2 = /* @__PURE__ */ c("div")({
|
|
985
985
|
name: "n",
|
|
986
986
|
class: "nyaglcf",
|
|
987
987
|
propsAsIs: !1
|
|
988
|
-
}),
|
|
988
|
+
}), U2 = /* @__PURE__ */ c("div")({
|
|
989
989
|
name: "r",
|
|
990
990
|
class: "rn5nzbc",
|
|
991
991
|
propsAsIs: !1
|
|
992
|
-
}),
|
|
992
|
+
}), v2 = /* @__PURE__ */ c("img")({
|
|
993
993
|
name: "e",
|
|
994
994
|
class: "e6i73qc",
|
|
995
995
|
propsAsIs: !1
|
|
996
|
-
}),
|
|
996
|
+
}), Q2 = /* @__PURE__ */ c("div")({
|
|
997
997
|
name: "i",
|
|
998
998
|
class: "iu0veuw",
|
|
999
999
|
propsAsIs: !1
|
|
1000
|
-
}),
|
|
1000
|
+
}), Y2 = /* @__PURE__ */ c("img")({
|
|
1001
1001
|
name: "p",
|
|
1002
1002
|
class: "ph41hsa",
|
|
1003
1003
|
propsAsIs: !1
|
|
1004
|
-
}),
|
|
1004
|
+
}), b2 = /* @__PURE__ */ c("span")({
|
|
1005
1005
|
name: "a",
|
|
1006
1006
|
class: "a1doo0j",
|
|
1007
1007
|
propsAsIs: !1
|
|
1008
|
-
}),
|
|
1008
|
+
}), Z2 = /* @__PURE__ */ c("div")({
|
|
1009
1009
|
name: "s",
|
|
1010
1010
|
class: "s1y6mmdj",
|
|
1011
1011
|
propsAsIs: !1
|
|
1012
|
-
}),
|
|
1012
|
+
}), B2 = /* @__PURE__ */ c("div")({
|
|
1013
1013
|
name: "c",
|
|
1014
1014
|
class: "cr7s6d2",
|
|
1015
1015
|
propsAsIs: !1
|
|
1016
|
-
}),
|
|
1016
|
+
}), R2 = /* @__PURE__ */ c("button")({
|
|
1017
1017
|
name: "d",
|
|
1018
1018
|
class: "dn2ogfd",
|
|
1019
1019
|
propsAsIs: !1
|
|
1020
|
-
}),
|
|
1020
|
+
}), V2 = /* @__PURE__ */ c("button")({
|
|
1021
1021
|
name: "x",
|
|
1022
1022
|
class: "xvt3fwn",
|
|
1023
1023
|
propsAsIs: !1
|
|
1024
|
-
}), $
|
|
1024
|
+
}), $2 = /* @__PURE__ */ c("img")({
|
|
1025
1025
|
name: "g",
|
|
1026
1026
|
class: "g4rp2wp",
|
|
1027
1027
|
propsAsIs: !1
|
|
1028
|
-
}),
|
|
1028
|
+
}), G2 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikdyb3VwIDQ2NSI+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY4IiB4PSIxLjI1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKDQ1IDEuMjUgMCkiIGZpbGw9IndoaXRlIi8+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY5IiB5PSI4Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSAwIDguNzUpIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+Cjwvc3ZnPgo=", P2 = ({
|
|
1029
1029
|
close: t,
|
|
1030
1030
|
action: M,
|
|
1031
|
-
data: { icon: l, header: I, title: D, subtitle:
|
|
1032
|
-
}) => /* @__PURE__ */ A(
|
|
1033
|
-
/* @__PURE__ */ s(
|
|
1034
|
-
/* @__PURE__ */ s(
|
|
1035
|
-
/* @__PURE__ */ A(
|
|
1031
|
+
data: { icon: l, header: I, title: D, subtitle: g, graphicBg: j, sponsorLogo: o }
|
|
1032
|
+
}) => /* @__PURE__ */ A(k2, { children: [
|
|
1033
|
+
/* @__PURE__ */ s(V2, { onClick: t, children: /* @__PURE__ */ s($2, { alt: "icon-close-onboarding-inapp", src: G2 }) }),
|
|
1034
|
+
/* @__PURE__ */ s(U2, { style: { backgroundImage: `url(${j || ""})` }, children: l && /* @__PURE__ */ s(v2, { alt: "onboarding-inapp-icon", src: l }) }),
|
|
1035
|
+
/* @__PURE__ */ A(Q2, { children: [
|
|
1036
1036
|
/* @__PURE__ */ A("div", { children: [
|
|
1037
1037
|
/* @__PURE__ */ s("div", { children: o ? /* @__PURE__ */ A(a1, { children: [
|
|
1038
|
-
/* @__PURE__ */ s(
|
|
1039
|
-
/* @__PURE__ */ s(
|
|
1038
|
+
/* @__PURE__ */ s(Y2, { alt: "sponsor-logo", src: o }),
|
|
1039
|
+
/* @__PURE__ */ s(b2, { children: "Presents" })
|
|
1040
1040
|
] }) : I || "" }),
|
|
1041
|
-
/* @__PURE__ */ s(
|
|
1042
|
-
/* @__PURE__ */ s(
|
|
1041
|
+
/* @__PURE__ */ s(Z2, { children: D || "" }),
|
|
1042
|
+
/* @__PURE__ */ s(B2, { children: g || "" })
|
|
1043
1043
|
] }),
|
|
1044
|
-
/* @__PURE__ */ s(
|
|
1044
|
+
/* @__PURE__ */ s(R2, { onClick: M, children: "Play" })
|
|
1045
1045
|
] })
|
|
1046
1046
|
] });
|
|
1047
|
-
const
|
|
1047
|
+
const H2 = /* @__PURE__ */ c("div")({
|
|
1048
1048
|
name: "r",
|
|
1049
1049
|
class: "r1li8aub",
|
|
1050
1050
|
propsAsIs: !1
|
|
1051
|
-
}),
|
|
1052
|
-
[Ie.ONBOARDING]:
|
|
1051
|
+
}), W2 = {
|
|
1052
|
+
[Ie.ONBOARDING]: P2,
|
|
1053
1053
|
[Ie.QUESTION]: Ye
|
|
1054
|
-
},
|
|
1054
|
+
}, _2 = ({
|
|
1055
1055
|
index: t,
|
|
1056
1056
|
total: M,
|
|
1057
1057
|
...l
|
|
1058
1058
|
}) => {
|
|
1059
|
-
const I = ri(null), D =
|
|
1059
|
+
const I = ri(null), D = W2[l.type] || Ye;
|
|
1060
1060
|
return u1(() => {
|
|
1061
1061
|
I.current !== null && l.hiding && I.current.animate([{ right: "0" }, { right: "-100%" }], {
|
|
1062
1062
|
duration: 300,
|
|
1063
1063
|
fill: "forwards"
|
|
1064
1064
|
});
|
|
1065
1065
|
}, [l.hiding]), /* @__PURE__ */ s(
|
|
1066
|
-
|
|
1066
|
+
H2,
|
|
1067
1067
|
{
|
|
1068
1068
|
ref: I,
|
|
1069
1069
|
style: { zIndex: t + 1, transform: `translateY(${100 * (M - t - 1)}%)` },
|
|
@@ -1071,14 +1071,14 @@ const Ht = /* @__PURE__ */ c("div")({
|
|
|
1071
1071
|
}
|
|
1072
1072
|
);
|
|
1073
1073
|
};
|
|
1074
|
-
const
|
|
1074
|
+
const F2 = /* @__PURE__ */ c("div")({
|
|
1075
1075
|
name: "o",
|
|
1076
1076
|
class: "oc6h1al",
|
|
1077
1077
|
propsAsIs: !1
|
|
1078
|
-
}),
|
|
1078
|
+
}), J2 = ({ notificationsStore: t }) => {
|
|
1079
1079
|
const M = S(t);
|
|
1080
|
-
return /* @__PURE__ */ s(
|
|
1081
|
-
|
|
1080
|
+
return /* @__PURE__ */ s(F2, { children: M == null ? void 0 : M.map((l, I) => /* @__PURE__ */ s(
|
|
1081
|
+
_2,
|
|
1082
1082
|
{
|
|
1083
1083
|
index: I,
|
|
1084
1084
|
total: M.length,
|
|
@@ -1086,129 +1086,129 @@ const Ft = /* @__PURE__ */ c("div")({
|
|
|
1086
1086
|
},
|
|
1087
1087
|
l.id
|
|
1088
1088
|
)) });
|
|
1089
|
-
},
|
|
1089
|
+
}, q2 = ({ store: t }) => {
|
|
1090
1090
|
const { data: M } = S(t);
|
|
1091
1091
|
return M != null && M.summary ? /* @__PURE__ */ s(Re, { ...M.summary, ...M.percentage }) : /* @__PURE__ */ s("div", { children: "wait user..." });
|
|
1092
|
-
},
|
|
1092
|
+
}, X2 = ({ store: t, openQuestion: M }) => {
|
|
1093
1093
|
const l = S(t);
|
|
1094
|
-
return l != null && l.data ? /* @__PURE__ */ s(
|
|
1094
|
+
return l != null && l.data ? /* @__PURE__ */ s(y2, { openQuestion: M, questions: l.data }) : /* @__PURE__ */ s("div", { children: "wait questions..." });
|
|
1095
1095
|
};
|
|
1096
|
-
const
|
|
1096
|
+
const K2 = /* @__PURE__ */ c("div")({
|
|
1097
1097
|
name: "n",
|
|
1098
1098
|
class: "nyqn0wt",
|
|
1099
1099
|
propsAsIs: !1
|
|
1100
|
-
}),
|
|
1100
|
+
}), et = /* @__PURE__ */ c("div")({
|
|
1101
1101
|
name: "e",
|
|
1102
1102
|
class: "ev5p2si",
|
|
1103
1103
|
propsAsIs: !1
|
|
1104
|
-
}),
|
|
1104
|
+
}), it = /* @__PURE__ */ c("div")({
|
|
1105
1105
|
name: "o",
|
|
1106
1106
|
class: "oq05beo",
|
|
1107
1107
|
propsAsIs: !1
|
|
1108
|
-
}),
|
|
1108
|
+
}), tt = /* @__PURE__ */ c("span")({
|
|
1109
1109
|
name: "l",
|
|
1110
1110
|
class: "l3m01sq",
|
|
1111
1111
|
propsAsIs: !1
|
|
1112
|
-
}),
|
|
1112
|
+
}), nt = /* @__PURE__ */ c("span")({
|
|
1113
1113
|
name: "r",
|
|
1114
1114
|
class: "r16m161p",
|
|
1115
1115
|
propsAsIs: !1
|
|
1116
|
-
}), G1 = ({ points: t }) => /* @__PURE__ */ A(
|
|
1117
|
-
/* @__PURE__ */ s(
|
|
1118
|
-
/* @__PURE__ */ A(
|
|
1119
|
-
/* @__PURE__ */ s(
|
|
1120
|
-
/* @__PURE__ */ s(
|
|
1116
|
+
}), G1 = ({ points: t }) => /* @__PURE__ */ A(K2, { children: [
|
|
1117
|
+
/* @__PURE__ */ s(et, { children: "YOU WON" }),
|
|
1118
|
+
/* @__PURE__ */ A(it, { children: [
|
|
1119
|
+
/* @__PURE__ */ s(tt, { children: t }),
|
|
1120
|
+
/* @__PURE__ */ s(nt, { children: "PTS" })
|
|
1121
1121
|
] })
|
|
1122
1122
|
] });
|
|
1123
|
-
const
|
|
1123
|
+
const rt = () => (t) => t.isSuccess ? "#f1be1c" : "#da3732", st = /* @__PURE__ */ c("div")({
|
|
1124
1124
|
name: "n",
|
|
1125
1125
|
class: "ny64o6v",
|
|
1126
1126
|
propsAsIs: !1
|
|
1127
|
-
}),
|
|
1127
|
+
}), Mt = /* @__PURE__ */ c("img")({
|
|
1128
1128
|
name: "o",
|
|
1129
1129
|
class: "o1d4hyrc",
|
|
1130
1130
|
propsAsIs: !1
|
|
1131
|
-
}),
|
|
1131
|
+
}), ot = /* @__PURE__ */ c("div")({
|
|
1132
1132
|
name: "r",
|
|
1133
1133
|
class: "r19vby3u",
|
|
1134
1134
|
propsAsIs: !1
|
|
1135
|
-
}),
|
|
1135
|
+
}), lt = /* @__PURE__ */ c("button")({
|
|
1136
1136
|
name: "c",
|
|
1137
1137
|
class: "c1ti1w2c",
|
|
1138
1138
|
propsAsIs: !1
|
|
1139
|
-
}),
|
|
1139
|
+
}), at = /* @__PURE__ */ c("img")({
|
|
1140
1140
|
name: "d",
|
|
1141
1141
|
class: "d7y05y0",
|
|
1142
1142
|
propsAsIs: !1
|
|
1143
|
-
}),
|
|
1143
|
+
}), ct = /* @__PURE__ */ c("div")({
|
|
1144
1144
|
name: "p",
|
|
1145
1145
|
class: "pzcal19",
|
|
1146
1146
|
propsAsIs: !1
|
|
1147
|
-
}),
|
|
1147
|
+
}), me = /* @__PURE__ */ c("div")({
|
|
1148
1148
|
name: "a",
|
|
1149
1149
|
class: "agj7ruu",
|
|
1150
1150
|
propsAsIs: !1,
|
|
1151
1151
|
vars: {
|
|
1152
|
-
"agj7ruu-0": [
|
|
1152
|
+
"agj7ruu-0": [rt()]
|
|
1153
1153
|
}
|
|
1154
|
-
}),
|
|
1154
|
+
}), we = /* @__PURE__ */ c("img")({
|
|
1155
1155
|
name: "s",
|
|
1156
1156
|
class: "s9vh05b",
|
|
1157
1157
|
propsAsIs: !1
|
|
1158
|
-
}),
|
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JDMTAuMTM4MiA2LjY1MjIzIDEwLjU1NDEgNi40MTk0OSAxMC44OTMgNi4xNDI1OEMxMS4yMzIgNS44NjU2NyAxMS41MDEyIDUuNTU1MzQgMTEuNzAwNyA1LjIxMTU5QzExLjkwMDIgNC44Njc4NCAxMiA0LjUyNjQ4IDEyIDQuMTg3NVpNNS4wNzAzMyA1LjM4NDkxTDYuMDM4MyA0Ljg3NTAzTDcuMDA2MjcgNS4zODQ5MUw2LjgyMTQgNC4zMDQ5N0w3LjYwNDUxIDMuNTQwMTZMNi41MjIyOCAzLjM4MjZMNi4wMzgzIDIuNDAwMDNMNS41NTQzMSAzLjM4MjZMNC40NzIwOSAzLjU0MDE2TDUuMjU1MTkgNC4zMDQ5N0w1LjA3MDMzIDUuMzg0OTFaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPC9nPgogIDwvc3ZnPgo=", gt = ({
|
|
1159
1159
|
logo: t,
|
|
1160
1160
|
points: M,
|
|
1161
1161
|
questionAnswered: l,
|
|
1162
1162
|
questionAnsweredCorrectly: I,
|
|
1163
1163
|
questionType: D,
|
|
1164
|
-
closeQuestion:
|
|
1165
|
-
setTimeToExpire:
|
|
1164
|
+
closeQuestion: g,
|
|
1165
|
+
setTimeToExpire: j
|
|
1166
1166
|
}) => {
|
|
1167
|
-
const o = !l && D !== _.PREDICTION, y = l && D === _.TRIVIA, p = y && I,
|
|
1168
|
-
return /* @__PURE__ */ A(
|
|
1169
|
-
/* @__PURE__ */ A(
|
|
1170
|
-
/* @__PURE__ */ A(
|
|
1171
|
-
o && /* @__PURE__ */ s(be, { setTimeToExpire:
|
|
1167
|
+
const o = !l && D !== _.PREDICTION, y = l && D === _.TRIVIA, p = y && I, h = y && !I, T = l && D === _.PREDICTION;
|
|
1168
|
+
return /* @__PURE__ */ A(st, { children: [
|
|
1169
|
+
/* @__PURE__ */ A(ot, { children: [
|
|
1170
|
+
/* @__PURE__ */ A(ct, { children: [
|
|
1171
|
+
o && /* @__PURE__ */ s(be, { setTimeToExpire: j }),
|
|
1172
1172
|
p && /* @__PURE__ */ A(a1, { children: [
|
|
1173
1173
|
/* @__PURE__ */ s(G1, { points: M }),
|
|
1174
|
-
/* @__PURE__ */ s(
|
|
1174
|
+
/* @__PURE__ */ s(me, { isSuccess: !0, children: /* @__PURE__ */ s(we, { alt: "reaction-icon", src: It }) })
|
|
1175
1175
|
] }),
|
|
1176
|
-
|
|
1176
|
+
h && /* @__PURE__ */ A(a1, { children: [
|
|
1177
1177
|
/* @__PURE__ */ s(G1, { points: 0 }),
|
|
1178
|
-
/* @__PURE__ */ s(
|
|
1178
|
+
/* @__PURE__ */ s(me, { isSuccess: !1, children: /* @__PURE__ */ s(we, { alt: "reaction-icon", src: ut }) })
|
|
1179
1179
|
] }),
|
|
1180
|
-
|
|
1180
|
+
T && /* @__PURE__ */ s(G1, { points: M })
|
|
1181
1181
|
] }),
|
|
1182
|
-
/* @__PURE__ */ s(
|
|
1182
|
+
/* @__PURE__ */ s(lt, { onClick: g, children: /* @__PURE__ */ s(at, { alt: "exit-icon", src: w1 }) })
|
|
1183
1183
|
] }),
|
|
1184
|
-
t && /* @__PURE__ */ s(
|
|
1184
|
+
t && /* @__PURE__ */ s(Mt, { src: t })
|
|
1185
1185
|
] });
|
|
1186
|
-
},
|
|
1187
|
-
const
|
|
1186
|
+
}, Nt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjgiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCA2OCAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlZlY3RvciI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNTYuNjE1NSA3LjQ0MTQ2SDUwLjcwNjZMNTYuMzA3MiAxMy44NjE1TDUwLjcwNjYgMjAuMjgwNUg1Ni40MzU3TDU5LjE1ODcgMTcuMTM3TDYxL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Mi4wNjE3IDM0LjkyNCAxMy44NzY3QzM0LjkyNCAxNS41OTc2IDM0LjExNDQgMTcuMjAxNiAzMi4yNDIgMTcuMjAxNloiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==";
|
|
1187
|
+
const Dt = /* @__PURE__ */ c("div")({
|
|
1188
1188
|
name: "k",
|
|
1189
1189
|
class: "k1qd1atw",
|
|
1190
1190
|
propsAsIs: !1
|
|
1191
|
-
}),
|
|
1191
|
+
}), dt = ({
|
|
1192
1192
|
openedQuestion: t,
|
|
1193
1193
|
closeQuestion: M,
|
|
1194
1194
|
vote: l
|
|
1195
1195
|
}) => {
|
|
1196
1196
|
var I;
|
|
1197
|
-
const [D,
|
|
1198
|
-
|
|
1199
|
-
}, [
|
|
1200
|
-
return t ? /* @__PURE__ */ s(
|
|
1197
|
+
const [D, g] = B(!1), j = m1((p) => {
|
|
1198
|
+
g(p);
|
|
1199
|
+
}, [g]), o = c1(() => t == null ? void 0 : t.answers.find((p) => p.youVoted === !0), [t]), y = c1(() => !!(t != null && t.answers.find((p) => p.correct === !0)), [t]);
|
|
1200
|
+
return t ? /* @__PURE__ */ s(Dt, {
|
|
1201
1201
|
children: /* @__PURE__ */ A("div", {
|
|
1202
|
-
children: [/* @__PURE__ */ s(
|
|
1202
|
+
children: [/* @__PURE__ */ s(gt, {
|
|
1203
1203
|
points: (o == null ? void 0 : o.points) || 0,
|
|
1204
1204
|
questionAnswered: !!o,
|
|
1205
1205
|
questionAnsweredCorrectly: o == null ? void 0 : o.correct,
|
|
1206
|
-
logo:
|
|
1206
|
+
logo: Nt,
|
|
1207
1207
|
closeQuestion: M,
|
|
1208
|
-
setTimeToExpire:
|
|
1208
|
+
setTimeToExpire: j,
|
|
1209
1209
|
questionType: t.type
|
|
1210
1210
|
}), /* @__PURE__ */ s("div", {
|
|
1211
|
-
children: /* @__PURE__ */ s(
|
|
1211
|
+
children: /* @__PURE__ */ s(S2, {
|
|
1212
1212
|
title: t.subject,
|
|
1213
1213
|
feedbackMessages: (I = t.options) == null ? void 0 : I.options.value,
|
|
1214
1214
|
questionType: t.type,
|
|
@@ -1234,187 +1234,187 @@ const D2 = /* @__PURE__ */ c("div")({
|
|
|
1234
1234
|
})
|
|
1235
1235
|
}) : null;
|
|
1236
1236
|
};
|
|
1237
|
-
const
|
|
1237
|
+
const jt = /* @__PURE__ */ c("div")({
|
|
1238
1238
|
name: "e",
|
|
1239
1239
|
class: "e1q4ysxt",
|
|
1240
1240
|
propsAsIs: !1
|
|
1241
|
-
}),
|
|
1241
|
+
}), At = /* @__PURE__ */ c("div")({
|
|
1242
1242
|
name: "o",
|
|
1243
1243
|
class: "ouyy0pt",
|
|
1244
1244
|
propsAsIs: !1
|
|
1245
|
-
}),
|
|
1245
|
+
}), yt = /* @__PURE__ */ c("div")({
|
|
1246
1246
|
name: "n",
|
|
1247
1247
|
class: "n19nxf9u",
|
|
1248
1248
|
propsAsIs: !1
|
|
1249
|
-
}),
|
|
1249
|
+
}), pt = /* @__PURE__ */ c("img")({
|
|
1250
1250
|
name: "r",
|
|
1251
1251
|
class: "r1k9ayhp",
|
|
1252
1252
|
propsAsIs: !1
|
|
1253
|
-
}),
|
|
1253
|
+
}), ht = /* @__PURE__ */ c("img")({
|
|
1254
1254
|
name: "l",
|
|
1255
1255
|
class: "l5j3lzi",
|
|
1256
1256
|
propsAsIs: !1
|
|
1257
|
-
}),
|
|
1257
|
+
}), Tt = /* @__PURE__ */ c("img")({
|
|
1258
1258
|
name: "s",
|
|
1259
1259
|
class: "sm6ggfo",
|
|
1260
1260
|
propsAsIs: !1
|
|
1261
|
-
}),
|
|
1261
|
+
}), Ct = /* @__PURE__ */ c("div")({
|
|
1262
1262
|
name: "p",
|
|
1263
1263
|
class: "p1dhscaj",
|
|
1264
1264
|
propsAsIs: !1
|
|
1265
|
-
}),
|
|
1265
|
+
}), zt = /* @__PURE__ */ c("img")({
|
|
1266
1266
|
name: "a",
|
|
1267
1267
|
class: "a1f5isrh",
|
|
1268
1268
|
propsAsIs: !1
|
|
1269
1269
|
});
|
|
1270
|
-
const
|
|
1270
|
+
const Lt = /* @__PURE__ */ c("div")({
|
|
1271
1271
|
name: "e",
|
|
1272
1272
|
class: "e1javwmj",
|
|
1273
1273
|
propsAsIs: !1
|
|
1274
|
-
}),
|
|
1274
|
+
}), Et = /* @__PURE__ */ c("div")({
|
|
1275
1275
|
name: "t",
|
|
1276
1276
|
class: "t1qosv8q",
|
|
1277
1277
|
propsAsIs: !1
|
|
1278
1278
|
});
|
|
1279
|
-
const
|
|
1279
|
+
const mt = /* @__PURE__ */ c("div")({
|
|
1280
1280
|
name: "t",
|
|
1281
1281
|
class: "t16hl500",
|
|
1282
1282
|
propsAsIs: !1
|
|
1283
|
-
}),
|
|
1283
|
+
}), wt = /* @__PURE__ */ c("img")({
|
|
1284
1284
|
name: "e",
|
|
1285
1285
|
class: "e18ymslp",
|
|
1286
1286
|
propsAsIs: !1
|
|
1287
|
-
}),
|
|
1287
|
+
}), xt = /* @__PURE__ */ c("div")({
|
|
1288
1288
|
name: "n",
|
|
1289
1289
|
class: "n1kdd00k",
|
|
1290
1290
|
propsAsIs: !1
|
|
1291
|
-
}),
|
|
1291
|
+
}), Ot = /* @__PURE__ */ c("div")({
|
|
1292
1292
|
name: "r",
|
|
1293
1293
|
class: "rwwgdkm",
|
|
1294
1294
|
propsAsIs: !1
|
|
1295
|
-
}),
|
|
1295
|
+
}), ft = /* @__PURE__ */ c("div")({
|
|
1296
1296
|
name: "d",
|
|
1297
1297
|
class: "dvazwa9",
|
|
1298
1298
|
propsAsIs: !1
|
|
1299
|
-
}),
|
|
1299
|
+
}), St = /* @__PURE__ */ c("a")({
|
|
1300
1300
|
name: "c",
|
|
1301
1301
|
class: "cd3vh14",
|
|
1302
1302
|
propsAsIs: !1
|
|
1303
|
-
}),
|
|
1303
|
+
}), kt = /* @__PURE__ */ c("img")({
|
|
1304
1304
|
name: "l",
|
|
1305
1305
|
class: "l19zo16x",
|
|
1306
1306
|
propsAsIs: !1
|
|
1307
1307
|
});
|
|
1308
|
-
const
|
|
1308
|
+
const Ut = /* @__PURE__ */ c("div")({
|
|
1309
1309
|
name: "e",
|
|
1310
1310
|
class: "e1xvhmps",
|
|
1311
1311
|
propsAsIs: !1
|
|
1312
|
-
}),
|
|
1312
|
+
}), vt = /* @__PURE__ */ c("img")({
|
|
1313
1313
|
name: "t",
|
|
1314
1314
|
class: "t1lltcmw",
|
|
1315
1315
|
propsAsIs: !1
|
|
1316
|
-
}),
|
|
1316
|
+
}), Qt = /* @__PURE__ */ c("img")({
|
|
1317
1317
|
name: "r",
|
|
1318
1318
|
class: "r1gw9pik",
|
|
1319
1319
|
propsAsIs: !1
|
|
1320
|
-
}),
|
|
1320
|
+
}), Yt = /* @__PURE__ */ c("div")({
|
|
1321
1321
|
name: "n",
|
|
1322
1322
|
class: "nxxxhec",
|
|
1323
1323
|
propsAsIs: !1
|
|
1324
|
-
}),
|
|
1324
|
+
}), bt = /* @__PURE__ */ c("div")({
|
|
1325
1325
|
name: "p",
|
|
1326
1326
|
class: "pm069t4",
|
|
1327
1327
|
propsAsIs: !1
|
|
1328
|
-
}),
|
|
1328
|
+
}), Zt = /* @__PURE__ */ c("div")({
|
|
1329
1329
|
name: "d",
|
|
1330
1330
|
class: "d1ytmjny",
|
|
1331
1331
|
propsAsIs: !1
|
|
1332
|
-
}),
|
|
1332
|
+
}), Bt = /* @__PURE__ */ c("img")({
|
|
1333
1333
|
name: "x",
|
|
1334
1334
|
class: "xfme1wf",
|
|
1335
1335
|
propsAsIs: !1
|
|
1336
|
-
}),
|
|
1337
|
-
/* @__PURE__ */ s(
|
|
1338
|
-
/* @__PURE__ */ s(
|
|
1339
|
-
/* @__PURE__ */ A(
|
|
1340
|
-
/* @__PURE__ */ s(
|
|
1341
|
-
/* @__PURE__ */ s(
|
|
1336
|
+
}), Rt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAg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pZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlNoYXJlIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTExIDQuOTY1VjEuMTI1TDE4IDcuODQ1TDExIDE0LjU2NVYxMC42MjlDNiAxMC42MjkgMi41IDEyLjE2NSAwIDE1LjUyNUMxIDEwLjcyNSA0IDUuOTI1IDExIDQuOTY1WiIgZmlsbD0id2hpdGUiLz4KPC9nPgo8L3N2Zz4K", $t = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikh5cGVybGluayI+CjxwYXRoIGlkPSJWZWN0b3IiIGQ9Ik0xLjUyIDhDMS41MiA2LjYzMiAyLjYzMiA1LjUyIDQgNS41Mkg3LjJWNEw0IDRDMS43OTIgNCAwIDUuNzkyIDAgOEMwIDEwLjIwOCAxLjc5MiAxMiA0IDEySDcuMkw3LjIgMTAuNDhINEMyLjYzMiAxMC40OCAxLjUyIDkuMzY4IDEuNTIgOFpNNC44IDguOEgxMS4yVjcuMkg0LjhWOC44Wk0xMiA0SDguOFY1LjUyTDEyIDUuNTJDMTMuMzY4IDUuNTIgMTQuNDggNi42MzIgMTQuNDggOEMxNC40OCA5LjM2OCAxMy4zNjggMTAuNDggMTIgMTAuNDhIOC44VjEySDEyQzE0LjIwOCAxMiAxNiAxMC4yMDggMTYgOEMxNiA1Ljc5MiAxNC4yMDggNCAxMiA0WiIgZmlsbD0id2hpdGUiLz4KPC9nPgo8L3N2Zz4K", Gt = ({ title: t, description: M, onClick: l }) => /* @__PURE__ */ A(Ut, { onClick: l, children: [
|
|
1337
|
+
/* @__PURE__ */ s(vt, { alt: "icon-link", src: $t }),
|
|
1338
|
+
/* @__PURE__ */ s(Qt, { alt: "friends-icon", src: Rt }),
|
|
1339
|
+
/* @__PURE__ */ A(Yt, { children: [
|
|
1340
|
+
/* @__PURE__ */ s(bt, { children: t }),
|
|
1341
|
+
/* @__PURE__ */ s(Zt, { children: M })
|
|
1342
1342
|
] }),
|
|
1343
|
-
/* @__PURE__ */ s(
|
|
1343
|
+
/* @__PURE__ */ s(Bt, { alt: "arrow-invite-icon", src: Vt })
|
|
1344
1344
|
] });
|
|
1345
|
-
const
|
|
1345
|
+
const Pt = /* @__PURE__ */ c("div")({
|
|
1346
1346
|
name: "t",
|
|
1347
1347
|
class: "t1lvbkps",
|
|
1348
1348
|
propsAsIs: !1
|
|
1349
|
-
}),
|
|
1349
|
+
}), Ht = /* @__PURE__ */ c("div")({
|
|
1350
1350
|
name: "r",
|
|
1351
1351
|
class: "r2xe6fm",
|
|
1352
1352
|
propsAsIs: !1
|
|
1353
|
-
}),
|
|
1353
|
+
}), Wt = /* @__PURE__ */ c("img")({
|
|
1354
1354
|
name: "n",
|
|
1355
1355
|
class: "n1yk5k0z",
|
|
1356
1356
|
propsAsIs: !1
|
|
1357
|
-
}),
|
|
1357
|
+
}), _t = /* @__PURE__ */ c("div")({
|
|
1358
1358
|
name: "o",
|
|
1359
1359
|
class: "o13yur3w",
|
|
1360
1360
|
propsAsIs: !1
|
|
1361
|
-
}),
|
|
1361
|
+
}), Ft = /* @__PURE__ */ c("div")({
|
|
1362
1362
|
name: "a",
|
|
1363
1363
|
class: "a1h2npcq",
|
|
1364
1364
|
propsAsIs: !1
|
|
1365
|
-
}),
|
|
1365
|
+
}), Jt = /* @__PURE__ */ c("div")({
|
|
1366
1366
|
name: "p",
|
|
1367
1367
|
class: "p1kxek13",
|
|
1368
1368
|
propsAsIs: !1
|
|
1369
|
-
}),
|
|
1369
|
+
}), qt = /* @__PURE__ */ c("span")({
|
|
1370
1370
|
name: "d",
|
|
1371
1371
|
class: "dlf08ok",
|
|
1372
1372
|
propsAsIs: !1
|
|
1373
|
-
}),
|
|
1373
|
+
}), Xt = /* @__PURE__ */ c("div")({
|
|
1374
1374
|
name: "s",
|
|
1375
1375
|
class: "s1hkuau3",
|
|
1376
1376
|
propsAsIs: !1
|
|
1377
|
-
}),
|
|
1377
|
+
}), Kt = /* @__PURE__ */ c("span")({
|
|
1378
1378
|
name: "l",
|
|
1379
1379
|
class: "l1csgeuk",
|
|
1380
1380
|
propsAsIs: !1
|
|
1381
|
-
}),
|
|
1382
|
-
/* @__PURE__ */ s(
|
|
1383
|
-
M ? /* @__PURE__ */ s(
|
|
1384
|
-
/* @__PURE__ */ A(
|
|
1385
|
-
/* @__PURE__ */ s(
|
|
1386
|
-
/* @__PURE__ */ A(
|
|
1387
|
-
/* @__PURE__ */ s(
|
|
1381
|
+
}), e0 = ({ rank: t, avatar: M, name: l, points: I, openItemDetail: D }) => /* @__PURE__ */ A(Pt, { onClick: D, children: [
|
|
1382
|
+
/* @__PURE__ */ s(Ht, { children: t || 0 }),
|
|
1383
|
+
M ? /* @__PURE__ */ s(Wt, { alt: "leaderboard-item-avatar", src: M }) : /* @__PURE__ */ s(_t, { children: Be(l || "") }),
|
|
1384
|
+
/* @__PURE__ */ A(Ft, { children: [
|
|
1385
|
+
/* @__PURE__ */ s(Jt, { children: /* @__PURE__ */ s(qt, { children: l || "" }) }),
|
|
1386
|
+
/* @__PURE__ */ A(Xt, { children: [
|
|
1387
|
+
/* @__PURE__ */ s(Kt, { children: "PTS" }),
|
|
1388
1388
|
I || 0
|
|
1389
1389
|
] })
|
|
1390
1390
|
] })
|
|
1391
1391
|
] });
|
|
1392
|
-
const
|
|
1392
|
+
const i0 = /* @__PURE__ */ c("div")({
|
|
1393
1393
|
name: "t",
|
|
1394
1394
|
class: "t1txmonn",
|
|
1395
1395
|
propsAsIs: !1
|
|
1396
|
-
}),
|
|
1397
|
-
t.map((l) => /* @__PURE__ */ s(
|
|
1398
|
-
/* @__PURE__ */ s(
|
|
1396
|
+
}), t0 = ({ items: t, openItemDetail: M }) => /* @__PURE__ */ A(i0, { children: [
|
|
1397
|
+
t.map((l) => /* @__PURE__ */ s(e0, { ...l, openItemDetail: () => M(l.userId) }, l.userId)),
|
|
1398
|
+
/* @__PURE__ */ s(Gt, { title: "Invite Link", description: "Challenge friends!", onClick: () => {
|
|
1399
1399
|
} })
|
|
1400
|
-
] }),
|
|
1400
|
+
] }), n0 = ({ store: t }) => {
|
|
1401
1401
|
const { data: M } = S(t), [l, I] = B(void 0);
|
|
1402
1402
|
if (!M)
|
|
1403
1403
|
return /* @__PURE__ */ s("div", { children: "wait leader board..." });
|
|
1404
|
-
const D = (
|
|
1405
|
-
var
|
|
1406
|
-
const o = (
|
|
1404
|
+
const D = (g) => {
|
|
1405
|
+
var j;
|
|
1406
|
+
const o = (j = M.find((y) => {
|
|
1407
1407
|
var p;
|
|
1408
|
-
return ((p = y.attributes) == null ? void 0 : p.userId) ===
|
|
1409
|
-
})) == null ? void 0 :
|
|
1408
|
+
return ((p = y.attributes) == null ? void 0 : p.userId) === g;
|
|
1409
|
+
})) == null ? void 0 : j.attributes;
|
|
1410
1410
|
I(o);
|
|
1411
1411
|
};
|
|
1412
1412
|
return /* @__PURE__ */ A(a1, { children: [
|
|
1413
1413
|
l && /* @__PURE__ */ s(J4, { comeBack: () => D(null), ...l }),
|
|
1414
1414
|
!l && /* @__PURE__ */ s(
|
|
1415
|
-
|
|
1415
|
+
t0,
|
|
1416
1416
|
{
|
|
1417
|
-
items: M.filter((
|
|
1417
|
+
items: M.filter((g) => g.attributes).map((g) => g.attributes),
|
|
1418
1418
|
openItemDetail: D
|
|
1419
1419
|
}
|
|
1420
1420
|
)
|
|
@@ -1424,28 +1424,28 @@ const K = /* @__PURE__ */ c("div")({
|
|
|
1424
1424
|
name: "e",
|
|
1425
1425
|
class: "e6qv3to",
|
|
1426
1426
|
propsAsIs: !1
|
|
1427
|
-
}),
|
|
1427
|
+
}), r0 = /* @__PURE__ */ c("div")({
|
|
1428
1428
|
name: "i",
|
|
1429
1429
|
class: "i1jak95i",
|
|
1430
1430
|
propsAsIs: !1
|
|
1431
|
-
}),
|
|
1431
|
+
}), s0 = /* @__PURE__ */ c("div")({
|
|
1432
1432
|
name: "r",
|
|
1433
1433
|
class: "r1qp3jjx",
|
|
1434
1434
|
propsAsIs: !1
|
|
1435
|
-
}),
|
|
1435
|
+
}), M0 = /* @__PURE__ */ c("div")({
|
|
1436
1436
|
name: "n",
|
|
1437
1437
|
class: "naeizu7",
|
|
1438
1438
|
propsAsIs: !1
|
|
1439
|
-
}),
|
|
1439
|
+
}), P1 = /* @__PURE__ */ c("button")({
|
|
1440
1440
|
name: "a",
|
|
1441
1441
|
class: "a4zecne",
|
|
1442
1442
|
propsAsIs: !1
|
|
1443
|
-
}),
|
|
1443
|
+
}), o0 = ({
|
|
1444
1444
|
gamification: t,
|
|
1445
1445
|
sdk: M
|
|
1446
1446
|
}) => {
|
|
1447
|
-
var l, I, D,
|
|
1448
|
-
const O1 = S(t.status), f1 = S(t.onboardingStatus), A1 = S(t.openedQuestion), { slStreamId: i1 } = S(M.sdkStore), b = S(t.featureSettings), [t1, y1] = B(
|
|
1447
|
+
var l, I, D, g, j, o, y, p, h, T, z, E, f, U, v, Q, J, R, d1, V, I1, g1, j1;
|
|
1448
|
+
const O1 = S(t.status), f1 = S(t.onboardingStatus), A1 = S(t.openedQuestion), { slStreamId: i1 } = S(M.sdkStore), b = S(t.featureSettings), [t1, y1] = B(L1.HOME);
|
|
1449
1449
|
if (O1 !== o1.Ready)
|
|
1450
1450
|
return /* @__PURE__ */ s("div", { children: "wait..." });
|
|
1451
1451
|
if (i1 != null && i1.loading)
|
|
@@ -1454,20 +1454,20 @@ const K = /* @__PURE__ */ c("div")({
|
|
|
1454
1454
|
return /* @__PURE__ */ s(K, { children: /* @__PURE__ */ s("div", { children: "Event is forbidden" }) });
|
|
1455
1455
|
if (!f1)
|
|
1456
1456
|
return /* @__PURE__ */ s(K, { children: /* @__PURE__ */ s(
|
|
1457
|
-
|
|
1457
|
+
T4,
|
|
1458
1458
|
{
|
|
1459
1459
|
closeFeature: M.closeFeature,
|
|
1460
1460
|
gamification: t,
|
|
1461
1461
|
steps: (I = (l = b.inplayGame) == null ? void 0 : l.onboarding) == null ? void 0 : I.steps,
|
|
1462
|
-
gameIcon: (
|
|
1462
|
+
gameIcon: (j = (g = (D = b.inplayGame) == null ? void 0 : D.overview) == null ? void 0 : g.media) == null ? void 0 : j.gameIcon,
|
|
1463
1463
|
sponsorLogo: (p = (y = (o = b.inplayGame) == null ? void 0 : o.overview) == null ? void 0 : y.media) == null ? void 0 : p.sponsorLogo,
|
|
1464
|
-
rules: (
|
|
1465
|
-
rulesBtnLabel: (
|
|
1464
|
+
rules: (T = (h = b.inplayGame) == null ? void 0 : h.rules) == null ? void 0 : T.rules,
|
|
1465
|
+
rulesBtnLabel: (E = (z = b.inplayGame) == null ? void 0 : z.rules) == null ? void 0 : E.buttonLabel,
|
|
1466
1466
|
rulesTitle: (U = (f = b.inplayGame) == null ? void 0 : f.rules) == null ? void 0 : U.heading,
|
|
1467
1467
|
primaryColor: (J = (Q = (v = b.inplayGame) == null ? void 0 : v.overview) == null ? void 0 : Q.appearance) == null ? void 0 : J.primaryColor,
|
|
1468
1468
|
inviteCardTitle: (d1 = (R = b.inplayGame) == null ? void 0 : R.inviteCard) == null ? void 0 : d1.heading,
|
|
1469
|
-
inviteCardSubtext: (I1 = (
|
|
1470
|
-
inviteCardBtnLabel: (j1 = (
|
|
1469
|
+
inviteCardSubtext: (I1 = (V = b.inplayGame) == null ? void 0 : V.inviteCard) == null ? void 0 : I1.subtext,
|
|
1470
|
+
inviteCardBtnLabel: (j1 = (g1 = b.inplayGame) == null ? void 0 : g1.inviteCard) == null ? void 0 : j1.buttonLabel
|
|
1471
1471
|
}
|
|
1472
1472
|
) });
|
|
1473
1473
|
const S1 = (X) => {
|
|
@@ -1481,80 +1481,80 @@ const K = /* @__PURE__ */ c("div")({
|
|
|
1481
1481
|
/* @__PURE__ */ s(z4, { activePage: t1, toggleActivePage: (X) => {
|
|
1482
1482
|
y1(X);
|
|
1483
1483
|
} }),
|
|
1484
|
-
t1 ===
|
|
1485
|
-
/* @__PURE__ */ s(
|
|
1486
|
-
/* @__PURE__ */ A(
|
|
1487
|
-
t.questions && /* @__PURE__ */ s(
|
|
1488
|
-
A1 && /* @__PURE__ */ s(
|
|
1484
|
+
t1 === L1.HOME && /* @__PURE__ */ A(a1, { children: [
|
|
1485
|
+
/* @__PURE__ */ s(r0, { children: t.userSummary && /* @__PURE__ */ s(q2, { store: t.userSummary.getStore() }) }),
|
|
1486
|
+
/* @__PURE__ */ A(s0, { children: [
|
|
1487
|
+
t.questions && /* @__PURE__ */ s(X2, { openQuestion: S1, store: t.questions.getStore() }),
|
|
1488
|
+
A1 && /* @__PURE__ */ s(dt, { closeQuestion: k1, vote: U1, openedQuestion: A1 })
|
|
1489
1489
|
] })
|
|
1490
1490
|
] }),
|
|
1491
|
-
t1 ===
|
|
1491
|
+
t1 === L1.LEADERBOARD && t.leaderboardList && /* @__PURE__ */ s(n0, { store: t.leaderboardList.getStore() })
|
|
1492
1492
|
] });
|
|
1493
|
-
},
|
|
1493
|
+
}, l0 = (t, M) => {
|
|
1494
1494
|
switch (t) {
|
|
1495
1495
|
case Z1.ROUNDED:
|
|
1496
|
-
return /* @__PURE__ */ s(
|
|
1496
|
+
return /* @__PURE__ */ s(ht, { alt: "insight-icon", src: M });
|
|
1497
1497
|
case Z1.TRANSPARENT:
|
|
1498
|
-
return /* @__PURE__ */ s(
|
|
1498
|
+
return /* @__PURE__ */ s(Tt, { alt: "insight-icon", src: M });
|
|
1499
1499
|
case Z1.CENTERED:
|
|
1500
|
-
return /* @__PURE__ */ s(
|
|
1500
|
+
return /* @__PURE__ */ s(pt, { alt: "insight-icon", src: M });
|
|
1501
1501
|
default:
|
|
1502
1502
|
return null;
|
|
1503
1503
|
}
|
|
1504
|
-
},
|
|
1505
|
-
/* @__PURE__ */ s(
|
|
1506
|
-
/* @__PURE__ */ A(
|
|
1507
|
-
/* @__PURE__ */ s(
|
|
1508
|
-
/* @__PURE__ */ s(
|
|
1504
|
+
}, a0 = ({ title: t, image: M, questionId: l, imageMode: I, openInsight: D }) => /* @__PURE__ */ A(jt, { onClick: () => D(l), children: [
|
|
1505
|
+
/* @__PURE__ */ s(yt, { children: M && l0(I, M) }),
|
|
1506
|
+
/* @__PURE__ */ A(At, { children: [
|
|
1507
|
+
/* @__PURE__ */ s(Ct, { children: t || "" }),
|
|
1508
|
+
/* @__PURE__ */ s(zt, { alt: "next-icon", src: _1 })
|
|
1509
1509
|
] })
|
|
1510
|
-
] }),
|
|
1510
|
+
] }), c0 = ({ insights: t, openInsight: M }) => /* @__PURE__ */ s(Lt, { children: /* @__PURE__ */ s(Et, { children: t == null ? void 0 : t.map((l) => /* @__PURE__ */ s(a0, { openInsight: M, ...l }, l.questionId)) }) }), u0 = ({ highlights: t, store: M }) => {
|
|
1511
1511
|
const { data: l } = S(M);
|
|
1512
|
-
return l ? /* @__PURE__ */ s(
|
|
1513
|
-
},
|
|
1512
|
+
return l ? /* @__PURE__ */ s(c0, { insights: l, openInsight: t.openHighlight }) : /* @__PURE__ */ s("div", { children: "wait insights..." });
|
|
1513
|
+
}, I0 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBjbGFzcz0ic2MtQU5kc04ga1RWV0pFIj48cGF0aCBkPSJNNi42NjY1IDMuMTY2NjlINC45OTk4NEM0LjI2MzQ2IDMuMTY2NjkgMy42NjY1IDMuNzYzNjQgMy42NjY1IDQuNTAwMDJWMTEuNUMzLjY2NjUgMTIuMjM2NCA0LjI2MzQ2IDEyLjgzMzQgNC45OTk4NCAxMi44MzM0SDExLjk5OThDMTIuNzM2MiAxMi44MzM0IDEzLjMzMzIgMTIuMjM2NCAxMy4zMzMyIDExLjVWOS44MzMzNSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTTEzLjMzMzUgNi4xNjY2OVYzLjE2NjY5SDEwLjMzMzUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjxwYXRoIGQ9Ik0xMy4xNjY4IDMuMzMzMzFMOC4zMzM1IDguMTY2NjUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjwvc3ZnPgo=", g0 = ({
|
|
1514
1514
|
image: t,
|
|
1515
1515
|
title: M,
|
|
1516
1516
|
description: l,
|
|
1517
1517
|
webLinkLabel: I,
|
|
1518
1518
|
webLink: D,
|
|
1519
|
-
closeHighlights:
|
|
1520
|
-
closeInsight:
|
|
1521
|
-
}) => /* @__PURE__ */ A(
|
|
1522
|
-
/* @__PURE__ */ s(Ze, { close:
|
|
1523
|
-
t && /* @__PURE__ */ s(
|
|
1524
|
-
/* @__PURE__ */ A(
|
|
1525
|
-
M && /* @__PURE__ */ s(
|
|
1526
|
-
l && /* @__PURE__ */ s(
|
|
1519
|
+
closeHighlights: g,
|
|
1520
|
+
closeInsight: j
|
|
1521
|
+
}) => /* @__PURE__ */ A(mt, { children: [
|
|
1522
|
+
/* @__PURE__ */ s(Ze, { close: g, comeBack: j }),
|
|
1523
|
+
t && /* @__PURE__ */ s(wt, { alt: "detail-insight-image", src: t }),
|
|
1524
|
+
/* @__PURE__ */ A(xt, { children: [
|
|
1525
|
+
M && /* @__PURE__ */ s(Ot, { children: M }),
|
|
1526
|
+
l && /* @__PURE__ */ s(ft, { children: l })
|
|
1527
1527
|
] }),
|
|
1528
|
-
D && I && /* @__PURE__ */ A(
|
|
1528
|
+
D && I && /* @__PURE__ */ A(St, { href: D, target: "_blank", children: [
|
|
1529
1529
|
I,
|
|
1530
|
-
/* @__PURE__ */ s(
|
|
1530
|
+
/* @__PURE__ */ s(kt, { alt: "link-icon", src: I0 })
|
|
1531
1531
|
] })
|
|
1532
|
-
] }),
|
|
1533
|
-
var I, D,
|
|
1532
|
+
] }), N0 = ({ openedInsight: t, closeHighlights: M, closeInsight: l }) => {
|
|
1533
|
+
var I, D, g, j, o;
|
|
1534
1534
|
const y = ((I = t.options) == null ? void 0 : I.options.case) === "factoid" ? {
|
|
1535
1535
|
image: t.options.options.value.image,
|
|
1536
1536
|
body: t.options.options.value.body,
|
|
1537
1537
|
webLink: (D = t.options.options.value.webLink) == null ? void 0 : D.url,
|
|
1538
|
-
webLinkLabel: (
|
|
1539
|
-
} : {}, p = t.subject || ((
|
|
1538
|
+
webLinkLabel: (g = t.options.options.value.webLink) == null ? void 0 : g.label
|
|
1539
|
+
} : {}, p = t.subject || ((j = t.notification) == null ? void 0 : j.title), h = y.body || ((o = t.notification) == null ? void 0 : o.body);
|
|
1540
1540
|
return /* @__PURE__ */ s(
|
|
1541
|
-
|
|
1541
|
+
g0,
|
|
1542
1542
|
{
|
|
1543
1543
|
image: y.image,
|
|
1544
1544
|
title: p,
|
|
1545
|
-
description:
|
|
1545
|
+
description: h,
|
|
1546
1546
|
webLink: y.webLink,
|
|
1547
1547
|
webLinkLabel: y.webLinkLabel,
|
|
1548
1548
|
closeInsight: l,
|
|
1549
1549
|
closeHighlights: M
|
|
1550
1550
|
}
|
|
1551
1551
|
);
|
|
1552
|
-
},
|
|
1552
|
+
}, D0 = ({ highlights: t, sdk: M }) => {
|
|
1553
1553
|
const l = S(t.status), I = S(t.openedInsight), { slStreamId: D } = S(M.sdkStore);
|
|
1554
1554
|
return l !== o1.Ready ? /* @__PURE__ */ s("div", { children: "wait..." }) : D != null && D.loading ? /* @__PURE__ */ s(K, { children: /* @__PURE__ */ s("div", { children: "Event is loading" }) }) : D != null && D.data ? t.insights === void 0 ? /* @__PURE__ */ s("div", { children: "wait insights..." }) : /* @__PURE__ */ A(K, { children: [
|
|
1555
|
-
!I && /* @__PURE__ */ s(
|
|
1555
|
+
!I && /* @__PURE__ */ s(u0, { highlights: t, store: t.insights.getStore() }),
|
|
1556
1556
|
I && /* @__PURE__ */ s(
|
|
1557
|
-
|
|
1557
|
+
N0,
|
|
1558
1558
|
{
|
|
1559
1559
|
openedInsight: I,
|
|
1560
1560
|
closeHighlights: t.closeFeature,
|
|
@@ -1563,12 +1563,12 @@ const K = /* @__PURE__ */ c("div")({
|
|
|
1563
1563
|
)
|
|
1564
1564
|
] }) : /* @__PURE__ */ s(K, { children: /* @__PURE__ */ s("div", { children: "Event is forbidden" }) });
|
|
1565
1565
|
};
|
|
1566
|
-
var
|
|
1567
|
-
x1.byteLength =
|
|
1568
|
-
x1.toByteArray =
|
|
1569
|
-
x1.fromByteArray =
|
|
1570
|
-
var H = [], Z = [],
|
|
1571
|
-
for (var M1 = 0,
|
|
1566
|
+
var d0 = {}, $e = {}, x1 = {};
|
|
1567
|
+
x1.byteLength = y0;
|
|
1568
|
+
x1.toByteArray = h0;
|
|
1569
|
+
x1.fromByteArray = z0;
|
|
1570
|
+
var H = [], Z = [], j0 = typeof Uint8Array < "u" ? Uint8Array : Array, H1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
1571
|
+
for (var M1 = 0, A0 = H1.length; M1 < A0; ++M1)
|
|
1572
1572
|
H[M1] = H1[M1], Z[H1.charCodeAt(M1)] = M1;
|
|
1573
1573
|
Z["-".charCodeAt(0)] = 62;
|
|
1574
1574
|
Z["_".charCodeAt(0)] = 63;
|
|
@@ -1581,30 +1581,30 @@ function Ge(t) {
|
|
|
1581
1581
|
var I = l === M ? 0 : 4 - l % 4;
|
|
1582
1582
|
return [l, I];
|
|
1583
1583
|
}
|
|
1584
|
-
function
|
|
1584
|
+
function y0(t) {
|
|
1585
1585
|
var M = Ge(t), l = M[0], I = M[1];
|
|
1586
1586
|
return (l + I) * 3 / 4 - I;
|
|
1587
1587
|
}
|
|
1588
|
-
function
|
|
1588
|
+
function p0(t, M, l) {
|
|
1589
1589
|
return (M + l) * 3 / 4 - l;
|
|
1590
1590
|
}
|
|
1591
|
-
function
|
|
1592
|
-
var M, l = Ge(t), I = l[0], D = l[1],
|
|
1591
|
+
function h0(t) {
|
|
1592
|
+
var M, l = Ge(t), I = l[0], D = l[1], g = new j0(p0(t, I, D)), j = 0, o = D > 0 ? I - 4 : I, y;
|
|
1593
1593
|
for (y = 0; y < o; y += 4)
|
|
1594
|
-
M = Z[t.charCodeAt(y)] << 18 | Z[t.charCodeAt(y + 1)] << 12 | Z[t.charCodeAt(y + 2)] << 6 | Z[t.charCodeAt(y + 3)],
|
|
1595
|
-
return D === 2 && (M = Z[t.charCodeAt(y)] << 2 | Z[t.charCodeAt(y + 1)] >> 4,
|
|
1594
|
+
M = Z[t.charCodeAt(y)] << 18 | Z[t.charCodeAt(y + 1)] << 12 | Z[t.charCodeAt(y + 2)] << 6 | Z[t.charCodeAt(y + 3)], g[j++] = M >> 16 & 255, g[j++] = M >> 8 & 255, g[j++] = M & 255;
|
|
1595
|
+
return D === 2 && (M = Z[t.charCodeAt(y)] << 2 | Z[t.charCodeAt(y + 1)] >> 4, g[j++] = M & 255), D === 1 && (M = Z[t.charCodeAt(y)] << 10 | Z[t.charCodeAt(y + 1)] << 4 | Z[t.charCodeAt(y + 2)] >> 2, g[j++] = M >> 8 & 255, g[j++] = M & 255), g;
|
|
1596
1596
|
}
|
|
1597
|
-
function
|
|
1597
|
+
function T0(t) {
|
|
1598
1598
|
return H[t >> 18 & 63] + H[t >> 12 & 63] + H[t >> 6 & 63] + H[t & 63];
|
|
1599
1599
|
}
|
|
1600
|
-
function
|
|
1601
|
-
for (var I, D = [],
|
|
1602
|
-
I = (t[
|
|
1600
|
+
function C0(t, M, l) {
|
|
1601
|
+
for (var I, D = [], g = M; g < l; g += 3)
|
|
1602
|
+
I = (t[g] << 16 & 16711680) + (t[g + 1] << 8 & 65280) + (t[g + 2] & 255), D.push(T0(I));
|
|
1603
1603
|
return D.join("");
|
|
1604
1604
|
}
|
|
1605
|
-
function
|
|
1606
|
-
for (var M, l = t.length, I = l % 3, D = [],
|
|
1607
|
-
D.push(
|
|
1605
|
+
function z0(t) {
|
|
1606
|
+
for (var M, l = t.length, I = l % 3, D = [], g = 16383, j = 0, o = l - I; j < o; j += g)
|
|
1607
|
+
D.push(C0(t, j, j + g > o ? o : j + g));
|
|
1608
1608
|
return I === 1 ? (M = t[l - 1], D.push(
|
|
1609
1609
|
H[M >> 2] + H[M << 4 & 63] + "=="
|
|
1610
1610
|
)) : I === 2 && (M = (t[l - 2] << 8) + t[l - 1], D.push(
|
|
@@ -1614,27 +1614,27 @@ function En(t) {
|
|
|
1614
1614
|
var te = {};
|
|
1615
1615
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
1616
1616
|
te.read = function(t, M, l, I, D) {
|
|
1617
|
-
var
|
|
1618
|
-
for (
|
|
1617
|
+
var g, j, o = D * 8 - I - 1, y = (1 << o) - 1, p = y >> 1, h = -7, T = l ? D - 1 : 0, z = l ? -1 : 1, E = t[M + T];
|
|
1618
|
+
for (T += z, g = E & (1 << -h) - 1, E >>= -h, h += o; h > 0; g = g * 256 + t[M + T], T += z, h -= 8)
|
|
1619
1619
|
;
|
|
1620
|
-
for (
|
|
1620
|
+
for (j = g & (1 << -h) - 1, g >>= -h, h += I; h > 0; j = j * 256 + t[M + T], T += z, h -= 8)
|
|
1621
1621
|
;
|
|
1622
|
-
if (
|
|
1623
|
-
|
|
1622
|
+
if (g === 0)
|
|
1623
|
+
g = 1 - p;
|
|
1624
1624
|
else {
|
|
1625
|
-
if (
|
|
1626
|
-
return
|
|
1627
|
-
|
|
1625
|
+
if (g === y)
|
|
1626
|
+
return j ? NaN : (E ? -1 : 1) * (1 / 0);
|
|
1627
|
+
j = j + Math.pow(2, I), g = g - p;
|
|
1628
1628
|
}
|
|
1629
|
-
return (
|
|
1629
|
+
return (E ? -1 : 1) * j * Math.pow(2, g - I);
|
|
1630
1630
|
};
|
|
1631
|
-
te.write = function(t, M, l, I, D,
|
|
1632
|
-
var
|
|
1633
|
-
for (M = Math.abs(M), isNaN(M) || M === 1 / 0 ? (o = isNaN(M) ? 1 : 0,
|
|
1631
|
+
te.write = function(t, M, l, I, D, g) {
|
|
1632
|
+
var j, o, y, p = g * 8 - D - 1, h = (1 << p) - 1, T = h >> 1, z = D === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, E = I ? 0 : g - 1, f = I ? 1 : -1, U = M < 0 || M === 0 && 1 / M < 0 ? 1 : 0;
|
|
1633
|
+
for (M = Math.abs(M), isNaN(M) || M === 1 / 0 ? (o = isNaN(M) ? 1 : 0, j = h) : (j = Math.floor(Math.log(M) / Math.LN2), M * (y = Math.pow(2, -j)) < 1 && (j--, y *= 2), j + T >= 1 ? M += z / y : M += z * Math.pow(2, 1 - T), M * y >= 2 && (j++, y /= 2), j + T >= h ? (o = 0, j = h) : j + T >= 1 ? (o = (M * y - 1) * Math.pow(2, D), j = j + T) : (o = M * Math.pow(2, T - 1) * Math.pow(2, D), j = 0)); D >= 8; t[l + E] = o & 255, E += f, o /= 256, D -= 8)
|
|
1634
1634
|
;
|
|
1635
|
-
for (
|
|
1635
|
+
for (j = j << D | o, p += D; p > 0; t[l + E] = j & 255, E += f, j /= 256, p -= 8)
|
|
1636
1636
|
;
|
|
1637
|
-
t[l +
|
|
1637
|
+
t[l + E - f] |= U * 128;
|
|
1638
1638
|
};
|
|
1639
1639
|
/*!
|
|
1640
1640
|
* The buffer module from node.js, for the browser.
|
|
@@ -1646,10 +1646,10 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
1646
1646
|
const M = x1, l = te, I = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
|
|
1647
1647
|
t.Buffer = o, t.SlowBuffer = J, t.INSPECT_MAX_BYTES = 50;
|
|
1648
1648
|
const D = 2147483647;
|
|
1649
|
-
t.kMaxLength = D, o.TYPED_ARRAY_SUPPORT =
|
|
1649
|
+
t.kMaxLength = D, o.TYPED_ARRAY_SUPPORT = g(), !o.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
|
|
1650
1650
|
"This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
|
|
1651
1651
|
);
|
|
1652
|
-
function
|
|
1652
|
+
function g() {
|
|
1653
1653
|
try {
|
|
1654
1654
|
const n = new Uint8Array(1), e = { foo: function() {
|
|
1655
1655
|
return 42;
|
|
@@ -1672,7 +1672,7 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
1672
1672
|
return this.byteOffset;
|
|
1673
1673
|
}
|
|
1674
1674
|
});
|
|
1675
|
-
function
|
|
1675
|
+
function j(n) {
|
|
1676
1676
|
if (n > D)
|
|
1677
1677
|
throw new RangeError('The value "' + n + '" is invalid for option "size"');
|
|
1678
1678
|
const e = new Uint8Array(n);
|
|
@@ -1684,7 +1684,7 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
1684
1684
|
throw new TypeError(
|
|
1685
1685
|
'The "string" argument must be of type string. Received type number'
|
|
1686
1686
|
);
|
|
1687
|
-
return
|
|
1687
|
+
return T(n);
|
|
1688
1688
|
}
|
|
1689
1689
|
return y(n, e, i);
|
|
1690
1690
|
}
|
|
@@ -1725,30 +1725,30 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
1725
1725
|
if (n < 0)
|
|
1726
1726
|
throw new RangeError('The value "' + n + '" is invalid for option "size"');
|
|
1727
1727
|
}
|
|
1728
|
-
function
|
|
1729
|
-
return p(n), n <= 0 ?
|
|
1728
|
+
function h(n, e, i) {
|
|
1729
|
+
return p(n), n <= 0 ? j(n) : e !== void 0 ? typeof i == "string" ? j(n).fill(e, i) : j(n).fill(e) : j(n);
|
|
1730
1730
|
}
|
|
1731
1731
|
o.alloc = function(n, e, i) {
|
|
1732
|
-
return
|
|
1732
|
+
return h(n, e, i);
|
|
1733
1733
|
};
|
|
1734
|
-
function
|
|
1735
|
-
return p(n),
|
|
1734
|
+
function T(n) {
|
|
1735
|
+
return p(n), j(n < 0 ? 0 : Q(n) | 0);
|
|
1736
1736
|
}
|
|
1737
1737
|
o.allocUnsafe = function(n) {
|
|
1738
|
-
return
|
|
1738
|
+
return T(n);
|
|
1739
1739
|
}, o.allocUnsafeSlow = function(n) {
|
|
1740
|
-
return
|
|
1740
|
+
return T(n);
|
|
1741
1741
|
};
|
|
1742
1742
|
function z(n, e) {
|
|
1743
1743
|
if ((typeof e != "string" || e === "") && (e = "utf8"), !o.isEncoding(e))
|
|
1744
1744
|
throw new TypeError("Unknown encoding: " + e);
|
|
1745
1745
|
const i = R(n, e) | 0;
|
|
1746
|
-
let r =
|
|
1746
|
+
let r = j(i);
|
|
1747
1747
|
const a = r.write(n, e);
|
|
1748
1748
|
return a !== i && (r = r.slice(0, a)), r;
|
|
1749
1749
|
}
|
|
1750
|
-
function
|
|
1751
|
-
const e = n.length < 0 ? 0 : Q(n.length) | 0, i =
|
|
1750
|
+
function E(n) {
|
|
1751
|
+
const e = n.length < 0 ? 0 : Q(n.length) | 0, i = j(e);
|
|
1752
1752
|
for (let r = 0; r < e; r += 1)
|
|
1753
1753
|
i[r] = n[r] & 255;
|
|
1754
1754
|
return i;
|
|
@@ -1758,7 +1758,7 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
1758
1758
|
const e = new Uint8Array(n);
|
|
1759
1759
|
return U(e.buffer, e.byteOffset, e.byteLength);
|
|
1760
1760
|
}
|
|
1761
|
-
return
|
|
1761
|
+
return E(n);
|
|
1762
1762
|
}
|
|
1763
1763
|
function U(n, e, i) {
|
|
1764
1764
|
if (e < 0 || n.byteLength < e)
|
|
@@ -1770,13 +1770,13 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
function v(n) {
|
|
1772
1772
|
if (o.isBuffer(n)) {
|
|
1773
|
-
const e = Q(n.length) | 0, i =
|
|
1773
|
+
const e = Q(n.length) | 0, i = j(e);
|
|
1774
1774
|
return i.length === 0 || n.copy(i, 0, 0, e), i;
|
|
1775
1775
|
}
|
|
1776
1776
|
if (n.length !== void 0)
|
|
1777
|
-
return typeof n.length != "number" || b1(n.length) ?
|
|
1777
|
+
return typeof n.length != "number" || b1(n.length) ? j(0) : E(n);
|
|
1778
1778
|
if (n.type === "Buffer" && Array.isArray(n.data))
|
|
1779
|
-
return
|
|
1779
|
+
return E(n.data);
|
|
1780
1780
|
}
|
|
1781
1781
|
function Q(n) {
|
|
1782
1782
|
if (n >= D)
|
|
@@ -1796,7 +1796,7 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
1796
1796
|
if (e === i)
|
|
1797
1797
|
return 0;
|
|
1798
1798
|
let r = e.length, a = i.length;
|
|
1799
|
-
for (let u = 0,
|
|
1799
|
+
for (let u = 0, N = Math.min(r, a); u < N; ++u)
|
|
1800
1800
|
if (e[u] !== i[u]) {
|
|
1801
1801
|
r = e[u], a = i[u];
|
|
1802
1802
|
break;
|
|
@@ -1831,18 +1831,18 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
1831
1831
|
const a = o.allocUnsafe(i);
|
|
1832
1832
|
let u = 0;
|
|
1833
1833
|
for (r = 0; r < e.length; ++r) {
|
|
1834
|
-
let
|
|
1835
|
-
if ($(
|
|
1836
|
-
u +
|
|
1834
|
+
let N = e[r];
|
|
1835
|
+
if ($(N, Uint8Array))
|
|
1836
|
+
u + N.length > a.length ? (o.isBuffer(N) || (N = o.from(N)), N.copy(a, u)) : Uint8Array.prototype.set.call(
|
|
1837
1837
|
a,
|
|
1838
|
-
|
|
1838
|
+
N,
|
|
1839
1839
|
u
|
|
1840
1840
|
);
|
|
1841
|
-
else if (o.isBuffer(
|
|
1842
|
-
|
|
1841
|
+
else if (o.isBuffer(N))
|
|
1842
|
+
N.copy(a, u);
|
|
1843
1843
|
else
|
|
1844
1844
|
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
1845
|
-
u +=
|
|
1845
|
+
u += N.length;
|
|
1846
1846
|
}
|
|
1847
1847
|
return a;
|
|
1848
1848
|
};
|
|
@@ -1914,7 +1914,7 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
1914
1914
|
}
|
|
1915
1915
|
}
|
|
1916
1916
|
o.prototype._isBuffer = !0;
|
|
1917
|
-
function
|
|
1917
|
+
function V(n, e, i) {
|
|
1918
1918
|
const r = n[e];
|
|
1919
1919
|
n[e] = n[i], n[i] = r;
|
|
1920
1920
|
}
|
|
@@ -1923,21 +1923,21 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
1923
1923
|
if (e % 2 !== 0)
|
|
1924
1924
|
throw new RangeError("Buffer size must be a multiple of 16-bits");
|
|
1925
1925
|
for (let i = 0; i < e; i += 2)
|
|
1926
|
-
|
|
1926
|
+
V(this, i, i + 1);
|
|
1927
1927
|
return this;
|
|
1928
1928
|
}, o.prototype.swap32 = function() {
|
|
1929
1929
|
const e = this.length;
|
|
1930
1930
|
if (e % 4 !== 0)
|
|
1931
1931
|
throw new RangeError("Buffer size must be a multiple of 32-bits");
|
|
1932
1932
|
for (let i = 0; i < e; i += 4)
|
|
1933
|
-
|
|
1933
|
+
V(this, i, i + 3), V(this, i + 1, i + 2);
|
|
1934
1934
|
return this;
|
|
1935
1935
|
}, o.prototype.swap64 = function() {
|
|
1936
1936
|
const e = this.length;
|
|
1937
1937
|
if (e % 8 !== 0)
|
|
1938
1938
|
throw new RangeError("Buffer size must be a multiple of 64-bits");
|
|
1939
1939
|
for (let i = 0; i < e; i += 8)
|
|
1940
|
-
|
|
1940
|
+
V(this, i, i + 7), V(this, i + 1, i + 6), V(this, i + 2, i + 5), V(this, i + 3, i + 4);
|
|
1941
1941
|
return this;
|
|
1942
1942
|
}, o.prototype.toString = function() {
|
|
1943
1943
|
const e = this.length;
|
|
@@ -1965,14 +1965,14 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
1965
1965
|
return 1;
|
|
1966
1966
|
if (i >>>= 0, r >>>= 0, a >>>= 0, u >>>= 0, this === e)
|
|
1967
1967
|
return 0;
|
|
1968
|
-
let
|
|
1969
|
-
const
|
|
1970
|
-
for (let
|
|
1971
|
-
if (
|
|
1972
|
-
|
|
1968
|
+
let N = u - a, C = r - i;
|
|
1969
|
+
const w = Math.min(N, C), m = this.slice(a, u), x = e.slice(i, r);
|
|
1970
|
+
for (let L = 0; L < w; ++L)
|
|
1971
|
+
if (m[L] !== x[L]) {
|
|
1972
|
+
N = m[L], C = x[L];
|
|
1973
1973
|
break;
|
|
1974
1974
|
}
|
|
1975
|
-
return
|
|
1975
|
+
return N < C ? -1 : C < N ? 1 : 0;
|
|
1976
1976
|
};
|
|
1977
1977
|
function I1(n, e, i, r, a) {
|
|
1978
1978
|
if (n.length === 0)
|
|
@@ -1987,40 +1987,40 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
1987
1987
|
else
|
|
1988
1988
|
return -1;
|
|
1989
1989
|
if (typeof e == "string" && (e = o.from(e, r)), o.isBuffer(e))
|
|
1990
|
-
return e.length === 0 ? -1 :
|
|
1990
|
+
return e.length === 0 ? -1 : g1(n, e, i, r, a);
|
|
1991
1991
|
if (typeof e == "number")
|
|
1992
|
-
return e = e & 255, typeof Uint8Array.prototype.indexOf == "function" ? a ? Uint8Array.prototype.indexOf.call(n, e, i) : Uint8Array.prototype.lastIndexOf.call(n, e, i) :
|
|
1992
|
+
return e = e & 255, typeof Uint8Array.prototype.indexOf == "function" ? a ? Uint8Array.prototype.indexOf.call(n, e, i) : Uint8Array.prototype.lastIndexOf.call(n, e, i) : g1(n, [e], i, r, a);
|
|
1993
1993
|
throw new TypeError("val must be string, number or Buffer");
|
|
1994
1994
|
}
|
|
1995
|
-
function
|
|
1996
|
-
let u = 1,
|
|
1995
|
+
function g1(n, e, i, r, a) {
|
|
1996
|
+
let u = 1, N = n.length, C = e.length;
|
|
1997
1997
|
if (r !== void 0 && (r = String(r).toLowerCase(), r === "ucs2" || r === "ucs-2" || r === "utf16le" || r === "utf-16le")) {
|
|
1998
1998
|
if (n.length < 2 || e.length < 2)
|
|
1999
1999
|
return -1;
|
|
2000
|
-
u = 2,
|
|
2000
|
+
u = 2, N /= 2, C /= 2, i /= 2;
|
|
2001
2001
|
}
|
|
2002
|
-
function
|
|
2003
|
-
return u === 1 ? x[
|
|
2002
|
+
function w(x, L) {
|
|
2003
|
+
return u === 1 ? x[L] : x.readUInt16BE(L * u);
|
|
2004
2004
|
}
|
|
2005
|
-
let
|
|
2005
|
+
let m;
|
|
2006
2006
|
if (a) {
|
|
2007
2007
|
let x = -1;
|
|
2008
|
-
for (
|
|
2009
|
-
if (
|
|
2010
|
-
if (x === -1 && (x =
|
|
2008
|
+
for (m = i; m < N; m++)
|
|
2009
|
+
if (w(n, m) === w(e, x === -1 ? 0 : m - x)) {
|
|
2010
|
+
if (x === -1 && (x = m), m - x + 1 === C)
|
|
2011
2011
|
return x * u;
|
|
2012
2012
|
} else
|
|
2013
|
-
x !== -1 && (
|
|
2013
|
+
x !== -1 && (m -= m - x), x = -1;
|
|
2014
2014
|
} else
|
|
2015
|
-
for (i + C >
|
|
2015
|
+
for (i + C > N && (i = N - C), m = i; m >= 0; m--) {
|
|
2016
2016
|
let x = !0;
|
|
2017
|
-
for (let
|
|
2018
|
-
if (
|
|
2017
|
+
for (let L = 0; L < C; L++)
|
|
2018
|
+
if (w(n, m + L) !== w(e, L)) {
|
|
2019
2019
|
x = !1;
|
|
2020
2020
|
break;
|
|
2021
2021
|
}
|
|
2022
2022
|
if (x)
|
|
2023
|
-
return
|
|
2023
|
+
return m;
|
|
2024
2024
|
}
|
|
2025
2025
|
return -1;
|
|
2026
2026
|
}
|
|
@@ -2037,14 +2037,14 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2037
2037
|
r ? (r = Number(r), r > a && (r = a)) : r = a;
|
|
2038
2038
|
const u = e.length;
|
|
2039
2039
|
r > u / 2 && (r = u / 2);
|
|
2040
|
-
let
|
|
2041
|
-
for (
|
|
2042
|
-
const C = parseInt(e.substr(
|
|
2040
|
+
let N;
|
|
2041
|
+
for (N = 0; N < r; ++N) {
|
|
2042
|
+
const C = parseInt(e.substr(N * 2, 2), 16);
|
|
2043
2043
|
if (b1(C))
|
|
2044
|
-
return
|
|
2045
|
-
n[i +
|
|
2044
|
+
return N;
|
|
2045
|
+
n[i + N] = C;
|
|
2046
2046
|
}
|
|
2047
|
-
return
|
|
2047
|
+
return N;
|
|
2048
2048
|
}
|
|
2049
2049
|
function O1(n, e, i, r) {
|
|
2050
2050
|
return p1(Y1(e, n.length - i), n, i, r);
|
|
@@ -2073,7 +2073,7 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2073
2073
|
if ((r === void 0 || r > u) && (r = u), e.length > 0 && (r < 0 || i < 0) || i > this.length)
|
|
2074
2074
|
throw new RangeError("Attempt to write outside buffer bounds");
|
|
2075
2075
|
a || (a = "utf8");
|
|
2076
|
-
let
|
|
2076
|
+
let N = !1;
|
|
2077
2077
|
for (; ; )
|
|
2078
2078
|
switch (a) {
|
|
2079
2079
|
case "hex":
|
|
@@ -2093,9 +2093,9 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2093
2093
|
case "utf-16le":
|
|
2094
2094
|
return i1(this, e, i, r);
|
|
2095
2095
|
default:
|
|
2096
|
-
if (
|
|
2096
|
+
if (N)
|
|
2097
2097
|
throw new TypeError("Unknown encoding: " + a);
|
|
2098
|
-
a = ("" + a).toLowerCase(),
|
|
2098
|
+
a = ("" + a).toLowerCase(), N = !0;
|
|
2099
2099
|
}
|
|
2100
2100
|
}, o.prototype.toJSON = function() {
|
|
2101
2101
|
return {
|
|
@@ -2112,24 +2112,24 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2112
2112
|
let a = e;
|
|
2113
2113
|
for (; a < i; ) {
|
|
2114
2114
|
const u = n[a];
|
|
2115
|
-
let
|
|
2115
|
+
let N = null, C = u > 239 ? 4 : u > 223 ? 3 : u > 191 ? 2 : 1;
|
|
2116
2116
|
if (a + C <= i) {
|
|
2117
|
-
let
|
|
2117
|
+
let w, m, x, L;
|
|
2118
2118
|
switch (C) {
|
|
2119
2119
|
case 1:
|
|
2120
|
-
u < 128 && (
|
|
2120
|
+
u < 128 && (N = u);
|
|
2121
2121
|
break;
|
|
2122
2122
|
case 2:
|
|
2123
|
-
|
|
2123
|
+
w = n[a + 1], (w & 192) === 128 && (L = (u & 31) << 6 | w & 63, L > 127 && (N = L));
|
|
2124
2124
|
break;
|
|
2125
2125
|
case 3:
|
|
2126
|
-
|
|
2126
|
+
w = n[a + 1], m = n[a + 2], (w & 192) === 128 && (m & 192) === 128 && (L = (u & 15) << 12 | (w & 63) << 6 | m & 63, L > 2047 && (L < 55296 || L > 57343) && (N = L));
|
|
2127
2127
|
break;
|
|
2128
2128
|
case 4:
|
|
2129
|
-
|
|
2129
|
+
w = n[a + 1], m = n[a + 2], x = n[a + 3], (w & 192) === 128 && (m & 192) === 128 && (x & 192) === 128 && (L = (u & 15) << 18 | (w & 63) << 12 | (m & 63) << 6 | x & 63, L > 65535 && L < 1114112 && (N = L));
|
|
2130
2130
|
}
|
|
2131
2131
|
}
|
|
2132
|
-
|
|
2132
|
+
N === null ? (N = 65533, C = 1) : N > 65535 && (N -= 65536, r.push(N >>> 10 & 1023 | 55296), N = 56320 | N & 1023), r.push(N), a += C;
|
|
2133
2133
|
}
|
|
2134
2134
|
return S1(r);
|
|
2135
2135
|
}
|
|
@@ -2189,9 +2189,9 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2189
2189
|
}
|
|
2190
2190
|
o.prototype.readUintLE = o.prototype.readUIntLE = function(e, i, r) {
|
|
2191
2191
|
e = e >>> 0, i = i >>> 0, r || k(e, i, this.length);
|
|
2192
|
-
let a = this[e], u = 1,
|
|
2193
|
-
for (; ++
|
|
2194
|
-
a += this[e +
|
|
2192
|
+
let a = this[e], u = 1, N = 0;
|
|
2193
|
+
for (; ++N < i && (u *= 256); )
|
|
2194
|
+
a += this[e + N] * u;
|
|
2195
2195
|
return a;
|
|
2196
2196
|
}, o.prototype.readUintBE = o.prototype.readUIntBE = function(e, i, r) {
|
|
2197
2197
|
e = e >>> 0, i = i >>> 0, r || k(e, i, this.length);
|
|
@@ -2212,27 +2212,27 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2212
2212
|
}, o.prototype.readBigUInt64LE = q(function(e) {
|
|
2213
2213
|
e = e >>> 0, r1(e, "offset");
|
|
2214
2214
|
const i = this[e], r = this[e + 7];
|
|
2215
|
-
(i === void 0 || r === void 0) &&
|
|
2215
|
+
(i === void 0 || r === void 0) && N1(e, this.length - 8);
|
|
2216
2216
|
const a = i + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, u = this[++e] + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + r * 2 ** 24;
|
|
2217
2217
|
return BigInt(a) + (BigInt(u) << BigInt(32));
|
|
2218
2218
|
}), o.prototype.readBigUInt64BE = q(function(e) {
|
|
2219
2219
|
e = e >>> 0, r1(e, "offset");
|
|
2220
2220
|
const i = this[e], r = this[e + 7];
|
|
2221
|
-
(i === void 0 || r === void 0) &&
|
|
2221
|
+
(i === void 0 || r === void 0) && N1(e, this.length - 8);
|
|
2222
2222
|
const a = i * 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 + r;
|
|
2223
2223
|
return (BigInt(a) << BigInt(32)) + BigInt(u);
|
|
2224
2224
|
}), o.prototype.readIntLE = function(e, i, r) {
|
|
2225
2225
|
e = e >>> 0, i = i >>> 0, r || k(e, i, this.length);
|
|
2226
|
-
let a = this[e], u = 1,
|
|
2227
|
-
for (; ++
|
|
2228
|
-
a += this[e +
|
|
2226
|
+
let a = this[e], u = 1, N = 0;
|
|
2227
|
+
for (; ++N < i && (u *= 256); )
|
|
2228
|
+
a += this[e + N] * u;
|
|
2229
2229
|
return u *= 128, a >= u && (a -= Math.pow(2, 8 * i)), a;
|
|
2230
2230
|
}, o.prototype.readIntBE = function(e, i, r) {
|
|
2231
2231
|
e = e >>> 0, i = i >>> 0, r || k(e, i, this.length);
|
|
2232
|
-
let a = i, u = 1,
|
|
2232
|
+
let a = i, u = 1, N = this[e + --a];
|
|
2233
2233
|
for (; a > 0 && (u *= 256); )
|
|
2234
|
-
|
|
2235
|
-
return u *= 128,
|
|
2234
|
+
N += this[e + --a] * u;
|
|
2235
|
+
return u *= 128, N >= u && (N -= Math.pow(2, 8 * i)), N;
|
|
2236
2236
|
}, o.prototype.readInt8 = function(e, i) {
|
|
2237
2237
|
return e = e >>> 0, i || k(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
|
|
2238
2238
|
}, o.prototype.readInt16LE = function(e, i) {
|
|
@@ -2250,13 +2250,13 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2250
2250
|
}, o.prototype.readBigInt64LE = q(function(e) {
|
|
2251
2251
|
e = e >>> 0, r1(e, "offset");
|
|
2252
2252
|
const i = this[e], r = this[e + 7];
|
|
2253
|
-
(i === void 0 || r === void 0) &&
|
|
2253
|
+
(i === void 0 || r === void 0) && N1(e, this.length - 8);
|
|
2254
2254
|
const a = this[e + 4] + this[e + 5] * 2 ** 8 + this[e + 6] * 2 ** 16 + (r << 24);
|
|
2255
2255
|
return (BigInt(a) << BigInt(32)) + BigInt(i + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
|
|
2256
2256
|
}), o.prototype.readBigInt64BE = q(function(e) {
|
|
2257
2257
|
e = e >>> 0, r1(e, "offset");
|
|
2258
2258
|
const i = this[e], r = this[e + 7];
|
|
2259
|
-
(i === void 0 || r === void 0) &&
|
|
2259
|
+
(i === void 0 || r === void 0) && N1(e, this.length - 8);
|
|
2260
2260
|
const a = (i << 24) + // Overflow
|
|
2261
2261
|
this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e];
|
|
2262
2262
|
return (BigInt(a) << BigInt(32)) + BigInt(this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + r);
|
|
@@ -2282,18 +2282,18 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2282
2282
|
const C = Math.pow(2, 8 * r) - 1;
|
|
2283
2283
|
Y(this, e, i, r, C, 0);
|
|
2284
2284
|
}
|
|
2285
|
-
let u = 1,
|
|
2286
|
-
for (this[i] = e & 255; ++
|
|
2287
|
-
this[i +
|
|
2285
|
+
let u = 1, N = 0;
|
|
2286
|
+
for (this[i] = e & 255; ++N < r && (u *= 256); )
|
|
2287
|
+
this[i + N] = e / u & 255;
|
|
2288
2288
|
return i + r;
|
|
2289
2289
|
}, o.prototype.writeUintBE = o.prototype.writeUIntBE = function(e, i, r, a) {
|
|
2290
2290
|
if (e = +e, i = i >>> 0, r = r >>> 0, !a) {
|
|
2291
2291
|
const C = Math.pow(2, 8 * r) - 1;
|
|
2292
2292
|
Y(this, e, i, r, C, 0);
|
|
2293
2293
|
}
|
|
2294
|
-
let u = r - 1,
|
|
2295
|
-
for (this[i + u] = e & 255; --u >= 0 && (
|
|
2296
|
-
this[i + u] = e /
|
|
2294
|
+
let u = r - 1, N = 1;
|
|
2295
|
+
for (this[i + u] = e & 255; --u >= 0 && (N *= 256); )
|
|
2296
|
+
this[i + u] = e / N & 255;
|
|
2297
2297
|
return i + r;
|
|
2298
2298
|
}, o.prototype.writeUint8 = o.prototype.writeUInt8 = function(e, i, r) {
|
|
2299
2299
|
return e = +e, i = i >>> 0, r || Y(this, e, i, 1, 255, 0), this[i] = e & 255, i + 1;
|
|
@@ -2310,15 +2310,15 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2310
2310
|
ce(e, r, a, n, i, 7);
|
|
2311
2311
|
let u = Number(e & BigInt(4294967295));
|
|
2312
2312
|
n[i++] = u, u = u >> 8, n[i++] = u, u = u >> 8, n[i++] = u, u = u >> 8, n[i++] = u;
|
|
2313
|
-
let
|
|
2314
|
-
return n[i++] =
|
|
2313
|
+
let N = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
2314
|
+
return n[i++] = N, N = N >> 8, n[i++] = N, N = N >> 8, n[i++] = N, N = N >> 8, n[i++] = N, i;
|
|
2315
2315
|
}
|
|
2316
2316
|
function se(n, e, i, r, a) {
|
|
2317
2317
|
ce(e, r, a, n, i, 7);
|
|
2318
2318
|
let u = Number(e & BigInt(4294967295));
|
|
2319
2319
|
n[i + 7] = u, u = u >> 8, n[i + 6] = u, u = u >> 8, n[i + 5] = u, u = u >> 8, n[i + 4] = u;
|
|
2320
|
-
let
|
|
2321
|
-
return n[i + 3] =
|
|
2320
|
+
let N = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
2321
|
+
return n[i + 3] = N, N = N >> 8, n[i + 2] = N, N = N >> 8, n[i + 1] = N, N = N >> 8, n[i] = N, i + 8;
|
|
2322
2322
|
}
|
|
2323
2323
|
o.prototype.writeBigUInt64LE = q(function(e, i = 0) {
|
|
2324
2324
|
return re(this, e, i, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
@@ -2326,21 +2326,21 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2326
2326
|
return se(this, e, i, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
2327
2327
|
}), o.prototype.writeIntLE = function(e, i, r, a) {
|
|
2328
2328
|
if (e = +e, i = i >>> 0, !a) {
|
|
2329
|
-
const
|
|
2330
|
-
Y(this, e, i, r,
|
|
2329
|
+
const w = Math.pow(2, 8 * r - 1);
|
|
2330
|
+
Y(this, e, i, r, w - 1, -w);
|
|
2331
2331
|
}
|
|
2332
|
-
let u = 0,
|
|
2333
|
-
for (this[i] = e & 255; ++u < r && (
|
|
2334
|
-
e < 0 && C === 0 && this[i + u - 1] !== 0 && (C = 1), this[i + u] = (e /
|
|
2332
|
+
let u = 0, N = 1, C = 0;
|
|
2333
|
+
for (this[i] = e & 255; ++u < r && (N *= 256); )
|
|
2334
|
+
e < 0 && C === 0 && this[i + u - 1] !== 0 && (C = 1), this[i + u] = (e / N >> 0) - C & 255;
|
|
2335
2335
|
return i + r;
|
|
2336
2336
|
}, o.prototype.writeIntBE = function(e, i, r, a) {
|
|
2337
2337
|
if (e = +e, i = i >>> 0, !a) {
|
|
2338
|
-
const
|
|
2339
|
-
Y(this, e, i, r,
|
|
2338
|
+
const w = Math.pow(2, 8 * r - 1);
|
|
2339
|
+
Y(this, e, i, r, w - 1, -w);
|
|
2340
2340
|
}
|
|
2341
|
-
let u = r - 1,
|
|
2342
|
-
for (this[i + u] = e & 255; --u >= 0 && (
|
|
2343
|
-
e < 0 && C === 0 && this[i + u + 1] !== 0 && (C = 1), this[i + u] = (e /
|
|
2341
|
+
let u = r - 1, N = 1, C = 0;
|
|
2342
|
+
for (this[i + u] = e & 255; --u >= 0 && (N *= 256); )
|
|
2343
|
+
e < 0 && C === 0 && this[i + u + 1] !== 0 && (C = 1), this[i + u] = (e / N >> 0) - C & 255;
|
|
2344
2344
|
return i + r;
|
|
2345
2345
|
}, o.prototype.writeInt8 = function(e, i, r) {
|
|
2346
2346
|
return e = +e, i = i >>> 0, r || Y(this, e, i, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[i] = e & 255, i + 1;
|
|
@@ -2403,8 +2403,8 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2403
2403
|
if (typeof a == "string" && !o.isEncoding(a))
|
|
2404
2404
|
throw new TypeError("Unknown encoding: " + a);
|
|
2405
2405
|
if (e.length === 1) {
|
|
2406
|
-
const
|
|
2407
|
-
(a === "utf8" &&
|
|
2406
|
+
const N = e.charCodeAt(0);
|
|
2407
|
+
(a === "utf8" && N < 128 || a === "latin1") && (e = N);
|
|
2408
2408
|
}
|
|
2409
2409
|
} else
|
|
2410
2410
|
typeof e == "number" ? e = e & 255 : typeof e == "boolean" && (e = Number(e));
|
|
@@ -2418,11 +2418,11 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2418
2418
|
for (u = i; u < r; ++u)
|
|
2419
2419
|
this[u] = e;
|
|
2420
2420
|
else {
|
|
2421
|
-
const
|
|
2421
|
+
const N = o.isBuffer(e) ? e : o.from(e, a), C = N.length;
|
|
2422
2422
|
if (C === 0)
|
|
2423
2423
|
throw new TypeError('The value "' + e + '" is invalid for argument "value"');
|
|
2424
2424
|
for (u = 0; u < r - i; ++u)
|
|
2425
|
-
this[u + i] =
|
|
2425
|
+
this[u + i] = N[u % C];
|
|
2426
2426
|
}
|
|
2427
2427
|
return this;
|
|
2428
2428
|
};
|
|
@@ -2480,13 +2480,13 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2480
2480
|
return `${n.slice(0, i)}${e}`;
|
|
2481
2481
|
}
|
|
2482
2482
|
function Fe(n, e, i) {
|
|
2483
|
-
r1(e, "offset"), (n[e] === void 0 || n[e + i] === void 0) &&
|
|
2483
|
+
r1(e, "offset"), (n[e] === void 0 || n[e + i] === void 0) && N1(e, n.length - (i + 1));
|
|
2484
2484
|
}
|
|
2485
2485
|
function ce(n, e, i, r, a, u) {
|
|
2486
2486
|
if (n > i || n < e) {
|
|
2487
|
-
const
|
|
2487
|
+
const N = typeof e == "bigint" ? "n" : "";
|
|
2488
2488
|
let C;
|
|
2489
|
-
throw u > 3 ? e === 0 || e === BigInt(0) ? C = `>= 0${
|
|
2489
|
+
throw u > 3 ? e === 0 || e === BigInt(0) ? C = `>= 0${N} and < 2${N} ** ${(u + 1) * 8}${N}` : C = `>= -(2${N} ** ${(u + 1) * 8 - 1}${N}) and < 2 ** ${(u + 1) * 8 - 1}${N}` : C = `>= ${e}${N} and <= ${i}${N}`, new n1.ERR_OUT_OF_RANGE("value", C, n);
|
|
2490
2490
|
}
|
|
2491
2491
|
Fe(r, a, u);
|
|
2492
2492
|
}
|
|
@@ -2494,7 +2494,7 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2494
2494
|
if (typeof n != "number")
|
|
2495
2495
|
throw new n1.ERR_INVALID_ARG_TYPE(e, "number", n);
|
|
2496
2496
|
}
|
|
2497
|
-
function
|
|
2497
|
+
function N1(n, e, i) {
|
|
2498
2498
|
throw Math.floor(n) !== n ? (r1(n, i), new n1.ERR_OUT_OF_RANGE(i || "offset", "an integer", n)) : e < 0 ? new n1.ERR_BUFFER_OUT_OF_BOUNDS() : new n1.ERR_OUT_OF_RANGE(
|
|
2499
2499
|
i || "offset",
|
|
2500
2500
|
`>= ${i ? 1 : 0} and <= ${e}`,
|
|
@@ -2515,13 +2515,13 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2515
2515
|
const r = n.length;
|
|
2516
2516
|
let a = null;
|
|
2517
2517
|
const u = [];
|
|
2518
|
-
for (let
|
|
2519
|
-
if (i = n.charCodeAt(
|
|
2518
|
+
for (let N = 0; N < r; ++N) {
|
|
2519
|
+
if (i = n.charCodeAt(N), i > 55295 && i < 57344) {
|
|
2520
2520
|
if (!a) {
|
|
2521
2521
|
if (i > 56319) {
|
|
2522
2522
|
(e -= 3) > -1 && u.push(239, 191, 189);
|
|
2523
2523
|
continue;
|
|
2524
|
-
} else if (
|
|
2524
|
+
} else if (N + 1 === r) {
|
|
2525
2525
|
(e -= 3) > -1 && u.push(239, 191, 189);
|
|
2526
2526
|
continue;
|
|
2527
2527
|
}
|
|
@@ -2577,8 +2577,8 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2577
2577
|
function Ke(n, e) {
|
|
2578
2578
|
let i, r, a;
|
|
2579
2579
|
const u = [];
|
|
2580
|
-
for (let
|
|
2581
|
-
i = n.charCodeAt(
|
|
2580
|
+
for (let N = 0; N < n.length && !((e -= 2) < 0); ++N)
|
|
2581
|
+
i = n.charCodeAt(N), r = i >> 8, a = i % 256, u.push(a), u.push(r);
|
|
2582
2582
|
return u;
|
|
2583
2583
|
}
|
|
2584
2584
|
function ue(n) {
|
|
@@ -2612,7 +2612,7 @@ te.write = function(t, M, l, I, D, N) {
|
|
|
2612
2612
|
throw new Error("BigInt not supported");
|
|
2613
2613
|
}
|
|
2614
2614
|
})($e);
|
|
2615
|
-
var
|
|
2615
|
+
var Pe = { exports: {} }, O = Pe.exports = {}, G, P;
|
|
2616
2616
|
function J1() {
|
|
2617
2617
|
throw new Error("setTimeout has not been defined");
|
|
2618
2618
|
}
|
|
@@ -2626,9 +2626,9 @@ function q1() {
|
|
|
2626
2626
|
G = J1;
|
|
2627
2627
|
}
|
|
2628
2628
|
try {
|
|
2629
|
-
typeof clearTimeout == "function" ?
|
|
2629
|
+
typeof clearTimeout == "function" ? P = clearTimeout : P = q1;
|
|
2630
2630
|
} catch {
|
|
2631
|
-
|
|
2631
|
+
P = q1;
|
|
2632
2632
|
}
|
|
2633
2633
|
})();
|
|
2634
2634
|
function He(t) {
|
|
@@ -2646,35 +2646,35 @@ function He(t) {
|
|
|
2646
2646
|
}
|
|
2647
2647
|
}
|
|
2648
2648
|
}
|
|
2649
|
-
function
|
|
2650
|
-
if (
|
|
2649
|
+
function L0(t) {
|
|
2650
|
+
if (P === clearTimeout)
|
|
2651
2651
|
return clearTimeout(t);
|
|
2652
|
-
if ((
|
|
2653
|
-
return
|
|
2652
|
+
if ((P === q1 || !P) && clearTimeout)
|
|
2653
|
+
return P = clearTimeout, clearTimeout(t);
|
|
2654
2654
|
try {
|
|
2655
|
-
return
|
|
2655
|
+
return P(t);
|
|
2656
2656
|
} catch {
|
|
2657
2657
|
try {
|
|
2658
|
-
return
|
|
2658
|
+
return P.call(null, t);
|
|
2659
2659
|
} catch {
|
|
2660
|
-
return
|
|
2660
|
+
return P.call(this, t);
|
|
2661
2661
|
}
|
|
2662
2662
|
}
|
|
2663
2663
|
}
|
|
2664
|
-
var W = [], l1 = !1, e1,
|
|
2665
|
-
function
|
|
2666
|
-
!l1 || !e1 || (l1 = !1, e1.length ? W = e1.concat(W) :
|
|
2664
|
+
var W = [], l1 = !1, e1, E1 = -1;
|
|
2665
|
+
function E0() {
|
|
2666
|
+
!l1 || !e1 || (l1 = !1, e1.length ? W = e1.concat(W) : E1 = -1, W.length && We());
|
|
2667
2667
|
}
|
|
2668
2668
|
function We() {
|
|
2669
2669
|
if (!l1) {
|
|
2670
|
-
var t = He(
|
|
2670
|
+
var t = He(E0);
|
|
2671
2671
|
l1 = !0;
|
|
2672
2672
|
for (var M = W.length; M; ) {
|
|
2673
|
-
for (e1 = W, W = []; ++
|
|
2674
|
-
e1 && e1[
|
|
2675
|
-
|
|
2673
|
+
for (e1 = W, W = []; ++E1 < M; )
|
|
2674
|
+
e1 && e1[E1].run();
|
|
2675
|
+
E1 = -1, M = W.length;
|
|
2676
2676
|
}
|
|
2677
|
-
e1 = null, l1 = !1,
|
|
2677
|
+
e1 = null, l1 = !1, L0(t);
|
|
2678
2678
|
}
|
|
2679
2679
|
}
|
|
2680
2680
|
O.nextTick = function(t) {
|
|
@@ -2722,12 +2722,12 @@ O.chdir = function(t) {
|
|
|
2722
2722
|
O.umask = function() {
|
|
2723
2723
|
return 0;
|
|
2724
2724
|
};
|
|
2725
|
-
var
|
|
2725
|
+
var m0 = Pe.exports;
|
|
2726
2726
|
(function(t) {
|
|
2727
2727
|
Object.defineProperty(t, Symbol.toStringTag, { value: "Module" });
|
|
2728
|
-
const M = $e, l =
|
|
2729
|
-
Object.defineProperty(t, "Buffer", { enumerable: !0, get: () => M.Buffer }), Object.defineProperty(t, "process", { enumerable: !0, get: () => D.default }), t.global =
|
|
2730
|
-
})(
|
|
2728
|
+
const M = $e, l = m0, I = (j) => j && j.__esModule ? j : { default: j }, D = I(l), g = globalThis || void 0 || self;
|
|
2729
|
+
Object.defineProperty(t, "Buffer", { enumerable: !0, get: () => M.Buffer }), Object.defineProperty(t, "process", { enumerable: !0, get: () => D.default }), t.global = g;
|
|
2730
|
+
})(d0);
|
|
2731
2731
|
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
2732
2732
|
var xe;
|
|
2733
2733
|
(function(t) {
|
|
@@ -2743,7 +2743,7 @@ var fe;
|
|
|
2743
2743
|
(function(t) {
|
|
2744
2744
|
t.Init = "init", t.Ready = "ready", t.Connecting = "connecting", t.Connected = "connected", t.Disconnected = "disconnected", t.Failed = "failed", t.Reconnecting = "reconnecting";
|
|
2745
2745
|
})(fe || (fe = {}));
|
|
2746
|
-
const
|
|
2746
|
+
const w0 = ({ sdk: t }) => /* @__PURE__ */ s(Gi, { login: async (M) => {
|
|
2747
2747
|
try {
|
|
2748
2748
|
await t.authorizationBypass("streamlayer:streamlayer", M);
|
|
2749
2749
|
} catch (l) {
|
|
@@ -2758,16 +2758,16 @@ var ke;
|
|
|
2758
2758
|
(function(t) {
|
|
2759
2759
|
t.DISABLED = "disabled", t.INITIALIZATION = "initialization", t.READY = "ready", t.FAILED = "failed", t.SUSPENDED = "suspended";
|
|
2760
2760
|
})(ke || (ke = {}));
|
|
2761
|
-
const
|
|
2762
|
-
const [l, I] = B(null), { organizationSettings: D, streamSettings:
|
|
2763
|
-
const y = (
|
|
2761
|
+
const x0 = ({ activeFeature: t, sdk: M }) => {
|
|
2762
|
+
const [l, I] = B(null), { organizationSettings: D, streamSettings: g } = S(M.sdkStore), j = c1(() => {
|
|
2763
|
+
const y = (g == null ? void 0 : g.data) || (D == null ? void 0 : D.data);
|
|
2764
2764
|
return y != null && y.overlays ? y.overlays : [];
|
|
2765
|
-
}, [D,
|
|
2765
|
+
}, [D, g]);
|
|
2766
2766
|
u1(() => {
|
|
2767
2767
|
const y = M.getFeatures();
|
|
2768
2768
|
if (t)
|
|
2769
|
-
for (const [p,
|
|
2770
|
-
p === t ?
|
|
2769
|
+
for (const [p, h] of y)
|
|
2770
|
+
p === t ? h.status.get() === o1.Suspended && (h.enable(), I(h)) : h.status.get() === o1.Ready && h.disable();
|
|
2771
2771
|
else {
|
|
2772
2772
|
for (const [, p] of y)
|
|
2773
2773
|
p.status.get() === o1.Ready && p.disable();
|
|
@@ -2778,13 +2778,13 @@ const On = ({ activeFeature: t, sdk: M }) => {
|
|
|
2778
2778
|
p.status.get() === o1.Ready && p.disable();
|
|
2779
2779
|
};
|
|
2780
2780
|
}, [t, M]);
|
|
2781
|
-
const o = c1(() => l ? l.featureConfig.get().type === W1.GAMES ? l ? /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(
|
|
2781
|
+
const o = c1(() => l ? l.featureConfig.get().type === W1.GAMES ? l ? /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(o0, { gamification: l, sdk: M }) }) : /* @__PURE__ */ s("div", { children: "wait gamification..." }) : l.featureConfig.get().type === W1.HIGHLIGHTS ? l ? /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(D0, { highlights: l, sdk: M }) }) : /* @__PURE__ */ s("div", { children: "wait highlights..." }) : /* @__PURE__ */ s("div", { children: "unknown feature" }) : null, [M, l]);
|
|
2782
2782
|
return /* @__PURE__ */ A("div", { children: [
|
|
2783
|
-
/* @__PURE__ */ A(
|
|
2784
|
-
/* @__PURE__ */ s(
|
|
2785
|
-
/* @__PURE__ */ s(
|
|
2786
|
-
|
|
2787
|
-
|
|
2783
|
+
/* @__PURE__ */ A(M0, { children: [
|
|
2784
|
+
/* @__PURE__ */ s(P1, { onClick: () => M.closeFeature(), disabled: !o, children: "close" }),
|
|
2785
|
+
/* @__PURE__ */ s(P1, { onClick: () => M.logout(), children: "logout" }),
|
|
2786
|
+
j.map((y) => /* @__PURE__ */ A(
|
|
2787
|
+
P1,
|
|
2788
2788
|
{
|
|
2789
2789
|
onClick: () => M.openFeature(y.type),
|
|
2790
2790
|
disabled: !(y.type in ni),
|
|
@@ -2800,141 +2800,141 @@ const On = ({ activeFeature: t, sdk: M }) => {
|
|
|
2800
2800
|
] }),
|
|
2801
2801
|
o
|
|
2802
2802
|
] });
|
|
2803
|
-
},
|
|
2803
|
+
}, O0 = ({ sdk: t }) => {
|
|
2804
2804
|
const M = S(t.organizationStore()), l = S(t.getUserStore()), I = S(t.getActiveFeature());
|
|
2805
2805
|
return M.loading ? /* @__PURE__ */ s("div", { children: "authentication..." }) : M.data ? l.loading ? /* @__PURE__ */ s("div", { children: "authentication..." }) : l.data ? /* @__PURE__ */ A(a1, { children: [
|
|
2806
|
-
/* @__PURE__ */ s(
|
|
2807
|
-
/* @__PURE__ */ s(
|
|
2808
|
-
] }) : /* @__PURE__ */ s(
|
|
2806
|
+
/* @__PURE__ */ s(J2, { notificationsStore: t.getNotificationsStore() }),
|
|
2807
|
+
/* @__PURE__ */ s(x0, { sdk: t, activeFeature: I })
|
|
2808
|
+
] }) : /* @__PURE__ */ s(w0, { sdk: t }) : /* @__PURE__ */ s("div", { children: "wrong sdk key..." });
|
|
2809
2809
|
};
|
|
2810
|
-
const
|
|
2810
|
+
const f0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2811
2811
|
width: 68,
|
|
2812
2812
|
height: 22,
|
|
2813
2813
|
viewBox: "0 0 68 22",
|
|
2814
2814
|
fill: "none",
|
|
2815
2815
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2816
2816
|
...t
|
|
2817
|
-
}, /* @__PURE__ */
|
|
2817
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
2818
2818
|
id: "Vector"
|
|
2819
|
-
}, /* @__PURE__ */
|
|
2819
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
2820
2820
|
fillRule: "evenodd",
|
|
2821
2821
|
clipRule: "evenodd",
|
|
2822
2822
|
d: "M56.6155 7.44146H50.7066L56.3072 13.8615L50.7066 20.2805H56.4357L59.1587 17.137L61.9068 20.2805H67.84L62.19 13.8348L67.7636 7.44146H62.0606L59.3897 10.5602L56.6155 7.44146ZM62.2721 7.91659L59.3964 11.2747L56.4092 7.91659H51.7446L56.9307 13.8615L51.7447 19.8054H56.2257L59.1571 16.4213L62.1156 19.8054H66.7987L61.566 13.8357L66.7261 7.91659H62.2721Z",
|
|
2823
2823
|
fill: "white"
|
|
2824
|
-
}), /* @__PURE__ */
|
|
2824
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
2825
2825
|
fillRule: "evenodd",
|
|
2826
2826
|
clipRule: "evenodd",
|
|
2827
2827
|
d: "M44.3635 7.44146V4.56406H50.7066V0.0559998H39.702V20.2805H50.7066V15.7601H44.3635V11.7794H50.7066V7.44146H44.3635ZM50.2408 7.91659H43.8978V4.08893H50.2408V0.531132H40.1678V19.8054H50.2408V16.2352H43.8978V11.3043H50.2408V7.91659Z",
|
|
2828
2828
|
fill: "white"
|
|
2829
|
-
}), /* @__PURE__ */
|
|
2829
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
2830
2830
|
d: "M35.06 0.0559998V8.33281H35.0087C33.9803 7.12787 32.6966 6.70881 31.207 6.70881C28.1552 6.70881 25.8561 8.826 25.0493 11.6236C24.128 8.54092 21.7544 6.65084 18.2349 6.65084C15.3769 6.65084 13.1197 7.95936 11.9422 10.0918V7.44146H6.03416V4.56406H12.4815V0.0559998H0.768005V20.2805H6.03416V11.7794H11.2836C11.127 12.4037 11.0432 13.0727 11.0432 13.7788C11.0432 17.997 14.2031 20.958 18.2349 20.958C21.6258 20.958 23.8607 19.334 25.0419 16.374H20.5284C19.9183 17.2644 19.4553 17.5276 18.2349 17.5276C16.8199 17.5276 15.5995 16.2685 15.5995 14.7756H24.7894C25.1881 18.1262 27.7472 21.016 31.2582 21.016C32.773 21.016 34.1601 20.2558 35.0078 18.9729H35.059V20.2824H39.701L39.702 0.0559998H35.06ZM15.7467 11.8393C16.0392 10.5545 17.0164 9.71545 18.2358 9.71545C19.5782 9.71545 20.5051 10.5289 20.7492 11.8393C20.8517 11.8393 15.7467 11.8393 15.7467 11.8393ZM32.242 17.2016C30.5307 17.2016 29.4668 15.5748 29.4668 13.8767C29.4668 12.0617 30.3919 10.316 32.242 10.316C34.1601 10.316 34.924 12.0617 34.924 13.8767C34.924 15.5976 34.1144 17.2016 32.242 17.2016Z",
|
|
2831
2831
|
fill: "white"
|
|
2832
|
-
}))),
|
|
2832
|
+
}))), S0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2833
2833
|
width: 16,
|
|
2834
2834
|
height: 17,
|
|
2835
2835
|
viewBox: "0 0 16 17",
|
|
2836
2836
|
fill: "none",
|
|
2837
2837
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2838
2838
|
...t
|
|
2839
|
-
}, /* @__PURE__ */
|
|
2839
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
2840
2840
|
id: "Check"
|
|
2841
|
-
}, /* @__PURE__ */
|
|
2841
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
2842
2842
|
id: "Vector",
|
|
2843
2843
|
d: "M13.4315 3.18246L5.53321 11.0808L1.99771 7.54527C1.54056 7.08811 0.799913 7.08811 0.342864 7.54527C-0.114288 8.00242 -0.114288 8.74307 0.342864 9.20011L4.70567 13.5629C4.93331 13.7906 5.23415 13.9063 5.53307 13.9063C5.83202 13.9063 6.13096 13.7924 6.36048 13.5629L15.0861 4.83731C15.5432 4.38016 15.5432 3.63951 15.0861 3.18246C14.629 2.72531 13.8884 2.72531 13.4312 3.18246H13.4315Z",
|
|
2844
2844
|
fill: "#00BD60"
|
|
2845
|
-
}))),
|
|
2845
|
+
}))), k0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2846
2846
|
width: 24,
|
|
2847
2847
|
height: 24,
|
|
2848
2848
|
viewBox: "0 0 24 24",
|
|
2849
2849
|
fill: "none",
|
|
2850
2850
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2851
2851
|
...t
|
|
2852
|
-
}, /* @__PURE__ */
|
|
2852
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
2853
2853
|
id: "Checkmark"
|
|
2854
|
-
}, /* @__PURE__ */
|
|
2854
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
2855
2855
|
id: "Selected",
|
|
2856
2856
|
fillRule: "evenodd",
|
|
2857
2857
|
clipRule: "evenodd",
|
|
2858
2858
|
d: "M24 12.002C24 18.6294 18.6274 24.002 12 24.002C5.37258 24.002 0 18.6294 0 12.002C0 5.37454 5.37258 0.00195312 12 0.00195312C18.6274 0.00195312 24 5.37454 24 12.002ZM17.4086 8.15357C16.94 7.68494 16.1802 7.68494 15.7116 8.15357L10.4072 14.9579L7.62573 13.1036C7.07429 12.736 6.32925 12.885 5.96163 13.4365C5.59401 13.9879 5.74301 14.7329 6.29445 15.1006L9.89445 17.5006C10.3704 17.8179 11.0041 17.7551 11.4086 17.3506L17.4086 9.85063C17.8772 9.382 17.8772 8.6222 17.4086 8.15357Z",
|
|
2859
2859
|
fill: "#FFFFFF"
|
|
2860
|
-
}))),
|
|
2860
|
+
}))), U0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2861
2861
|
width: 24,
|
|
2862
2862
|
height: 24,
|
|
2863
2863
|
viewBox: "0 0 24 24",
|
|
2864
2864
|
fill: "none",
|
|
2865
2865
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2866
2866
|
...t
|
|
2867
|
-
}, /* @__PURE__ */
|
|
2867
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
2868
2868
|
id: "Checkmark"
|
|
2869
|
-
}, /* @__PURE__ */
|
|
2869
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
2870
2870
|
id: "Selected",
|
|
2871
2871
|
fillRule: "evenodd",
|
|
2872
2872
|
clipRule: "evenodd",
|
|
2873
2873
|
d: "M24 12.002C24 18.6294 18.6274 24.002 12 24.002C5.37258 24.002 0 18.6294 0 12.002C0 5.37454 5.37258 0.00195312 12 0.00195312C18.6274 0.00195312 24 5.37454 24 12.002ZM17.4086 8.15357C16.94 7.68494 16.1802 7.68494 15.7116 8.15357L10.4072 14.9579L7.62573 13.1036C7.07429 12.736 6.32925 12.885 5.96163 13.4365C5.59401 13.9879 5.74301 14.7329 6.29445 15.1006L9.89445 17.5006C10.3704 17.8179 11.0041 17.7551 11.4086 17.3506L17.4086 9.85063C17.8772 9.382 17.8772 8.6222 17.4086 8.15357Z",
|
|
2874
2874
|
fill: "#00BD60"
|
|
2875
|
-
}))),
|
|
2875
|
+
}))), v0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2876
2876
|
width: 12,
|
|
2877
2877
|
height: 20,
|
|
2878
2878
|
viewBox: "0 0 12 20",
|
|
2879
2879
|
fill: "none",
|
|
2880
2880
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2881
2881
|
...t
|
|
2882
|
-
}, /* @__PURE__ */
|
|
2882
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
2883
2883
|
id: "Icon / chevron.left",
|
|
2884
2884
|
d: "M0 10C0 10.3818 0.145996 10.7075 0.449219 10.9995L9.20898 19.5684C9.44482 19.8154 9.75928 19.939 10.1187 19.939C10.8486 19.939 11.4214 19.3774 11.4214 18.6362C11.4214 18.2769 11.2754 17.9512 11.0283 17.7041L3.1333 10L11.0283 2.2959C11.2754 2.0376 11.4214 1.71191 11.4214 1.35254C11.4214 0.622559 10.8486 0.0610352 10.1187 0.0610352C9.75928 0.0610352 9.44482 0.18457 9.20898 0.431641L0.449219 9.00049C0.145996 9.29248 0.0112305 9.61816 0 10Z",
|
|
2885
2885
|
fill: "white",
|
|
2886
2886
|
fillOpacity: 0.6
|
|
2887
|
-
})),
|
|
2887
|
+
})), Q0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2888
2888
|
width: 24,
|
|
2889
2889
|
height: 24,
|
|
2890
2890
|
viewBox: "0 0 24 24",
|
|
2891
2891
|
fill: "none",
|
|
2892
2892
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2893
2893
|
...t
|
|
2894
|
-
}, /* @__PURE__ */
|
|
2894
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
2895
2895
|
id: "Chevron"
|
|
2896
|
-
}, /* @__PURE__ */
|
|
2896
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
2897
2897
|
id: "Chevron_2",
|
|
2898
2898
|
d: "M6 11.999C6 12.1725 6.03134 12.334 6.09401 12.4837C6.15669 12.6334 6.25428 12.7756 6.3868 12.9103L14.0436 20.6565C14.2648 20.8855 14.5323 21 14.8459 21C15.0607 21 15.2544 20.9475 15.4271 20.8426C15.5998 20.7377 15.7384 20.5965 15.8431 20.4191C15.9477 20.2416 16 20.0425 16 19.8217C16 19.4989 15.8816 19.2134 15.6448 18.9654L8.74183 11.9971L15.6448 5.03271C15.8816 4.78709 16 4.5023 16 4.17834C16 3.95749 15.9477 3.75835 15.8431 3.58091C15.7384 3.40347 15.5998 3.26229 15.4271 3.15738C15.2544 3.05246 15.0607 3 14.8459 3C14.5323 3 14.2648 3.11169 14.0436 3.33508L6.3868 11.0878C6.25551 11.2225 6.15853 11.3644 6.09586 11.5134C6.03318 11.6625 6.00123 11.8244 6 11.999Z",
|
|
2899
2899
|
fill: "white"
|
|
2900
|
-
}))),
|
|
2900
|
+
}))), Y0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2901
2901
|
width: 16,
|
|
2902
2902
|
height: 17,
|
|
2903
2903
|
viewBox: "0 0 16 17",
|
|
2904
2904
|
fill: "none",
|
|
2905
2905
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2906
2906
|
...t
|
|
2907
|
-
}, /* @__PURE__ */
|
|
2907
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
2908
2908
|
id: "Chevron"
|
|
2909
|
-
}, /* @__PURE__ */
|
|
2909
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
2910
2910
|
id: "Chevron_2",
|
|
2911
2911
|
d: "M12 8.17222C12 8.28783 11.9781 8.39553 11.9342 8.49533C11.8903 8.59513 11.822 8.68992 11.7292 8.7797L6.36949 13.9439C6.21462 14.0965 6.02742 14.1729 5.80787 14.1729C5.65752 14.1729 5.52191 14.1379 5.40104 14.0679C5.28016 13.998 5.1831 13.9039 5.10986 13.7856C5.03662 13.6673 5 13.5345 5 13.3873C5 13.1721 5.08288 12.9818 5.24863 12.8164L10.0807 8.17095L5.24863 3.52799C5.08288 3.36425 5 3.17439 5 2.95841C5 2.81118 5.03662 2.67842 5.10986 2.56013C5.1831 2.44183 5.28016 2.34771 5.40104 2.27777C5.52191 2.20782 5.65752 2.17285 5.80787 2.17285C6.02742 2.17285 6.21462 2.24731 6.36949 2.39624L11.7292 7.56473C11.8211 7.65451 11.889 7.74909 11.9329 7.84846C11.9768 7.94784 11.9991 8.05576 12 8.17222Z",
|
|
2912
2912
|
fill: "#FFFFFF"
|
|
2913
|
-
}))),
|
|
2913
|
+
}))), b0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2914
2914
|
width: 24,
|
|
2915
2915
|
height: 24,
|
|
2916
2916
|
viewBox: "0 0 24 24",
|
|
2917
2917
|
fill: "none",
|
|
2918
2918
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2919
2919
|
...t
|
|
2920
|
-
}, /* @__PURE__ */
|
|
2920
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
2921
2921
|
fillRule: "evenodd",
|
|
2922
2922
|
clipRule: "evenodd",
|
|
2923
2923
|
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",
|
|
2924
2924
|
fill: "white"
|
|
2925
|
-
}), /* @__PURE__ */
|
|
2925
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
2926
2926
|
d: "M10.8547 7.5429C10.524 7.23657 10.0131 7.23657 9.68243 7.5429C9.31416 7.88401 9.31384 8.46633 9.68174 8.80784L13.1206 12L9.68175 15.1922C9.31384 15.5337 9.31416 16.116 9.68243 16.4571C10.0131 16.7634 10.524 16.7634 10.8547 16.4571L14.9802 12.6358C15.3505 12.2928 15.3505 11.7072 14.9802 11.3642L10.8547 7.5429Z",
|
|
2927
2927
|
fill: "white"
|
|
2928
|
-
})),
|
|
2928
|
+
})), Z0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2929
2929
|
width: 10,
|
|
2930
2930
|
height: 10,
|
|
2931
2931
|
viewBox: "0 0 10 10",
|
|
2932
2932
|
fill: "none",
|
|
2933
2933
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2934
2934
|
...t
|
|
2935
|
-
}, /* @__PURE__ */
|
|
2935
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
2936
2936
|
id: "Group 465"
|
|
2937
|
-
}, /* @__PURE__ */
|
|
2937
|
+
}, /* @__PURE__ */ d.createElement("rect", {
|
|
2938
2938
|
id: "Rectangle 368",
|
|
2939
2939
|
x: 1.25,
|
|
2940
2940
|
width: 12.3744,
|
|
@@ -2942,7 +2942,7 @@ const Sn = (t) => /* @__PURE__ */ j.createElement("svg", {
|
|
|
2942
2942
|
rx: 0.883884,
|
|
2943
2943
|
transform: "rotate(45 1.25 0)",
|
|
2944
2944
|
fill: "white"
|
|
2945
|
-
}), /* @__PURE__ */
|
|
2945
|
+
}), /* @__PURE__ */ d.createElement("rect", {
|
|
2946
2946
|
id: "Rectangle 369",
|
|
2947
2947
|
y: 8.75,
|
|
2948
2948
|
width: 12.3744,
|
|
@@ -2950,20 +2950,20 @@ const Sn = (t) => /* @__PURE__ */ j.createElement("svg", {
|
|
|
2950
2950
|
rx: 0.883884,
|
|
2951
2951
|
transform: "rotate(-45 0 8.75)",
|
|
2952
2952
|
fill: "white"
|
|
2953
|
-
}))),
|
|
2953
|
+
}))), B0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2954
2954
|
width: 24,
|
|
2955
2955
|
height: 24,
|
|
2956
2956
|
viewBox: "0 0 24 24",
|
|
2957
2957
|
fill: "none",
|
|
2958
2958
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2959
2959
|
...t
|
|
2960
|
-
}, /* @__PURE__ */
|
|
2960
|
+
}, /* @__PURE__ */ d.createElement("rect", {
|
|
2961
2961
|
y: 195312e-8,
|
|
2962
2962
|
width: 24,
|
|
2963
2963
|
height: 24,
|
|
2964
2964
|
rx: 12,
|
|
2965
2965
|
fill: "#F80022"
|
|
2966
|
-
}), /* @__PURE__ */
|
|
2966
|
+
}), /* @__PURE__ */ d.createElement("rect", {
|
|
2967
2967
|
x: 8.25,
|
|
2968
2968
|
y: 7.00195,
|
|
2969
2969
|
width: 12.3744,
|
|
@@ -2971,7 +2971,7 @@ const Sn = (t) => /* @__PURE__ */ j.createElement("svg", {
|
|
|
2971
2971
|
rx: 0.883884,
|
|
2972
2972
|
transform: "rotate(45 8.25 7.00195)",
|
|
2973
2973
|
fill: "white"
|
|
2974
|
-
}), /* @__PURE__ */
|
|
2974
|
+
}), /* @__PURE__ */ d.createElement("rect", {
|
|
2975
2975
|
x: 7,
|
|
2976
2976
|
y: 15.752,
|
|
2977
2977
|
width: 12.3744,
|
|
@@ -2979,16 +2979,16 @@ const Sn = (t) => /* @__PURE__ */ j.createElement("svg", {
|
|
|
2979
2979
|
rx: 0.883884,
|
|
2980
2980
|
transform: "rotate(-45 7 15.752)",
|
|
2981
2981
|
fill: "white"
|
|
2982
|
-
})),
|
|
2982
|
+
})), R0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
2983
2983
|
width: 14,
|
|
2984
2984
|
height: 14,
|
|
2985
2985
|
viewBox: "0 0 14 14",
|
|
2986
2986
|
fill: "none",
|
|
2987
2987
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2988
2988
|
...t
|
|
2989
|
-
}, /* @__PURE__ */
|
|
2989
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
2990
2990
|
id: "Group 465"
|
|
2991
|
-
}, /* @__PURE__ */
|
|
2991
|
+
}, /* @__PURE__ */ d.createElement("rect", {
|
|
2992
2992
|
id: "Rectangle 368",
|
|
2993
2993
|
x: 2,
|
|
2994
2994
|
y: 0.506104,
|
|
@@ -2997,7 +2997,7 @@ const Sn = (t) => /* @__PURE__ */ j.createElement("svg", {
|
|
|
2997
2997
|
rx: 1.17851,
|
|
2998
2998
|
transform: "rotate(45 2 0.506104)",
|
|
2999
2999
|
fill: "#9e0a1f"
|
|
3000
|
-
}), /* @__PURE__ */
|
|
3000
|
+
}), /* @__PURE__ */ d.createElement("rect", {
|
|
3001
3001
|
id: "Rectangle 369",
|
|
3002
3002
|
x: 0.333008,
|
|
3003
3003
|
y: 12.1729,
|
|
@@ -3006,39 +3006,39 @@ const Sn = (t) => /* @__PURE__ */ j.createElement("svg", {
|
|
|
3006
3006
|
rx: 1.17851,
|
|
3007
3007
|
transform: "rotate(-45 0.333008 12.1729)",
|
|
3008
3008
|
fill: "#9e0a1f"
|
|
3009
|
-
}))),
|
|
3009
|
+
}))), V0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3010
3010
|
width: 40,
|
|
3011
3011
|
height: 40,
|
|
3012
3012
|
viewBox: "0 0 40 40",
|
|
3013
3013
|
fill: "none",
|
|
3014
3014
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3015
3015
|
...t
|
|
3016
|
-
}, /* @__PURE__ */
|
|
3016
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3017
3017
|
id: "CarbonUserAvatar 1"
|
|
3018
|
-
}, /* @__PURE__ */
|
|
3018
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3019
3019
|
id: "Group 232"
|
|
3020
|
-
}, /* @__PURE__ */
|
|
3020
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3021
3021
|
id: "Vector",
|
|
3022
3022
|
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",
|
|
3023
3023
|
fill: "white"
|
|
3024
|
-
}), /* @__PURE__ */
|
|
3024
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
3025
3025
|
id: "Vector_2",
|
|
3026
3026
|
d: "M20 10C18.0222 10 16.0888 10.5865 14.4443 11.6853C12.7998 12.7841 11.5181 14.3459 10.7612 16.1732C10.0043 18.0004 9.8063 20.0111 10.1922 21.9509C10.578 23.8907 11.5304 25.6725 12.9289 27.0711C14.3275 28.4696 16.1093 29.422 18.0491 29.8078C19.9889 30.1937 21.9996 29.9957 23.8268 29.2388C25.6541 28.4819 27.2159 27.2002 28.3147 25.5557C29.4135 23.9112 30 21.9778 30 20C29.997 17.3488 28.9424 14.807 27.0677 12.9323C25.193 11.0576 22.6512 10.003 20 10ZM15.7143 27.4121V26.4286C15.7149 25.8604 15.9408 25.3157 16.3425 24.914C16.7443 24.5122 17.289 24.2863 17.8571 24.2857H22.1429C22.711 24.2863 23.2557 24.5122 23.6575 24.914C24.0592 25.3157 24.2851 25.8604 24.2857 26.4286V27.4121C22.9851 28.1716 21.5061 28.5718 20 28.5718C18.4939 28.5718 17.0149 28.1716 15.7143 27.4121ZM25.7086 26.3757C25.6943 25.4388 25.3126 24.545 24.6457 23.8868C23.9787 23.2287 23.0799 22.8589 22.1429 22.8571H17.8571C16.9201 22.8589 16.0213 23.2287 15.3544 23.8868C14.6874 24.545 14.3057 25.4388 14.2914 26.3757C12.9961 25.2191 12.0827 23.6963 11.672 22.009C11.2614 20.3218 11.3729 18.5495 11.9919 16.927C12.6108 15.3046 13.708 13.9083 15.1381 12.9233C16.5682 11.9382 18.2638 11.4107 20.0004 11.4107C21.7369 11.4107 23.4325 11.9382 24.8626 12.9233C26.2927 13.9083 27.3899 15.3046 28.0088 16.927C28.6278 18.5495 28.7393 20.3218 28.3287 22.009C27.9181 23.6963 27.0039 25.2191 25.7086 26.3757Z",
|
|
3027
3027
|
fill: "white"
|
|
3028
|
-
})))),
|
|
3028
|
+
})))), $0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3029
3029
|
width: 24,
|
|
3030
3030
|
height: 24,
|
|
3031
3031
|
viewBox: "0 0 24 24",
|
|
3032
3032
|
fill: "none",
|
|
3033
3033
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3034
3034
|
...t
|
|
3035
|
-
}, /* @__PURE__ */
|
|
3035
|
+
}, /* @__PURE__ */ d.createElement("rect", {
|
|
3036
3036
|
width: 24,
|
|
3037
3037
|
height: 24,
|
|
3038
3038
|
rx: 12,
|
|
3039
3039
|
fill: "white",
|
|
3040
3040
|
fillOpacity: 0.1
|
|
3041
|
-
}), /* @__PURE__ */
|
|
3041
|
+
}), /* @__PURE__ */ d.createElement("rect", {
|
|
3042
3042
|
x: 8.25,
|
|
3043
3043
|
y: 7,
|
|
3044
3044
|
width: 12.3744,
|
|
@@ -3046,7 +3046,7 @@ const Sn = (t) => /* @__PURE__ */ j.createElement("svg", {
|
|
|
3046
3046
|
rx: 0.883884,
|
|
3047
3047
|
transform: "rotate(45 8.25 7)",
|
|
3048
3048
|
fill: "white"
|
|
3049
|
-
}), /* @__PURE__ */
|
|
3049
|
+
}), /* @__PURE__ */ d.createElement("rect", {
|
|
3050
3050
|
x: 7,
|
|
3051
3051
|
y: 15.75,
|
|
3052
3052
|
width: 12.3744,
|
|
@@ -3054,53 +3054,53 @@ const Sn = (t) => /* @__PURE__ */ j.createElement("svg", {
|
|
|
3054
3054
|
rx: 0.883884,
|
|
3055
3055
|
transform: "rotate(-45 7 15.75)",
|
|
3056
3056
|
fill: "white"
|
|
3057
|
-
})),
|
|
3057
|
+
})), G0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3058
3058
|
width: 32,
|
|
3059
3059
|
height: 32,
|
|
3060
3060
|
viewBox: "0 0 32 32",
|
|
3061
3061
|
fill: "none",
|
|
3062
3062
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3063
3063
|
...t
|
|
3064
|
-
}, /* @__PURE__ */
|
|
3064
|
+
}, /* @__PURE__ */ d.createElement("rect", {
|
|
3065
3065
|
width: 32,
|
|
3066
3066
|
height: 32,
|
|
3067
3067
|
rx: 16,
|
|
3068
3068
|
fill: "white",
|
|
3069
3069
|
fillOpacity: 0.2
|
|
3070
|
-
}), /* @__PURE__ */
|
|
3070
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
3071
3071
|
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",
|
|
3072
3072
|
fill: "white"
|
|
3073
|
-
}), /* @__PURE__ */
|
|
3073
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
3074
3074
|
d: "M13.3898 9C12.3093 9 11.4326 9.82584 11.4326 10.8437C11.4326 11.8616 12.3093 12.6875 13.3898 12.6875C14.4704 12.6875 15.347 11.8616 15.347 10.8437C15.347 9.82584 14.4704 9 13.3898 9ZM13.3898 12.6875C13.1936 12.6875 12.9948 12.6827 12.7986 12.7451C13.191 13.2372 13.3898 13.8542 13.3898 14.5312C13.3898 14.7761 13.3287 15.0161 13.3287 15.261C13.8511 14.524 14.6946 14.0391 15.6732 13.9166C15.217 13.1796 14.3684 12.6875 13.3898 12.6875ZM18.609 9C17.5285 9 16.6518 9.82584 16.6518 10.8437C16.6518 11.8616 17.5285 12.6875 18.609 12.6875C19.6896 12.6875 20.5662 11.8616 20.5662 10.8437C20.5662 9.82584 19.6896 9 18.609 9ZM18.609 12.6875C17.6304 12.6875 16.7818 13.1796 16.3256 13.9166C17.3042 14.0391 18.1478 14.524 18.6702 15.261C18.6702 15.0161 18.609 14.7761 18.609 14.5312C18.609 13.8542 18.8078 13.2372 19.2003 12.7451C19.004 12.6827 18.8052 12.6875 18.609 12.6875Z",
|
|
3075
3075
|
fill: "white",
|
|
3076
3076
|
fillOpacity: 0.4
|
|
3077
|
-
})),
|
|
3077
|
+
})), P0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3078
3078
|
width: 18,
|
|
3079
3079
|
height: 18,
|
|
3080
3080
|
viewBox: "0 0 18 18",
|
|
3081
3081
|
fill: "none",
|
|
3082
3082
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3083
3083
|
...t
|
|
3084
|
-
}, /* @__PURE__ */
|
|
3084
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3085
3085
|
id: "Share"
|
|
3086
|
-
}, /* @__PURE__ */
|
|
3086
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3087
3087
|
id: "Vector",
|
|
3088
3088
|
d: "M11 4.965V1.125L18 7.845L11 14.565V10.629C6 10.629 2.5 12.165 0 15.525C1 10.725 4 5.925 11 4.965Z",
|
|
3089
3089
|
fill: "white"
|
|
3090
|
-
}))),
|
|
3090
|
+
}))), H0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3091
3091
|
width: 16,
|
|
3092
3092
|
height: 16,
|
|
3093
3093
|
viewBox: "0 0 16 16",
|
|
3094
3094
|
fill: "none",
|
|
3095
3095
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3096
3096
|
...t
|
|
3097
|
-
}, /* @__PURE__ */
|
|
3097
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3098
3098
|
id: "Hyperlink"
|
|
3099
|
-
}, /* @__PURE__ */
|
|
3099
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3100
3100
|
id: "Vector",
|
|
3101
3101
|
d: "M1.52 8C1.52 6.632 2.632 5.52 4 5.52H7.2V4L4 4C1.792 4 0 5.792 0 8C0 10.208 1.792 12 4 12H7.2L7.2 10.48H4C2.632 10.48 1.52 9.368 1.52 8ZM4.8 8.8H11.2V7.2H4.8V8.8ZM12 4H8.8V5.52L12 5.52C13.368 5.52 14.48 6.632 14.48 8C14.48 9.368 13.368 10.48 12 10.48H8.8V12H12C14.208 12 16 10.208 16 8C16 5.792 14.208 4 12 4Z",
|
|
3102
3102
|
fill: "white"
|
|
3103
|
-
}))),
|
|
3103
|
+
}))), W0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3104
3104
|
width: 17,
|
|
3105
3105
|
height: 16,
|
|
3106
3106
|
viewBox: "0 0 17 16",
|
|
@@ -3108,278 +3108,339 @@ const Sn = (t) => /* @__PURE__ */ j.createElement("svg", {
|
|
|
3108
3108
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3109
3109
|
className: "sc-ANdsN kTVWJE",
|
|
3110
3110
|
...t
|
|
3111
|
-
}, /* @__PURE__ */
|
|
3111
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3112
3112
|
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",
|
|
3113
3113
|
stroke: "#ffffff",
|
|
3114
3114
|
strokeWidth: 1.5,
|
|
3115
3115
|
strokeLinecap: "round",
|
|
3116
3116
|
strokeLinejoin: "round"
|
|
3117
|
-
}), /* @__PURE__ */
|
|
3117
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
3118
3118
|
d: "M13.3335 6.16669V3.16669H10.3335",
|
|
3119
3119
|
stroke: "#ffffff",
|
|
3120
3120
|
strokeWidth: 1.5,
|
|
3121
3121
|
strokeLinecap: "round",
|
|
3122
3122
|
strokeLinejoin: "round"
|
|
3123
|
-
}), /* @__PURE__ */
|
|
3123
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
3124
3124
|
d: "M13.1668 3.33331L8.3335 8.16665",
|
|
3125
3125
|
stroke: "#ffffff",
|
|
3126
3126
|
strokeWidth: 1.5,
|
|
3127
3127
|
strokeLinecap: "round",
|
|
3128
3128
|
strokeLinejoin: "round"
|
|
3129
|
-
})),
|
|
3129
|
+
})), _0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3130
3130
|
width: 17,
|
|
3131
3131
|
height: 18,
|
|
3132
3132
|
viewBox: "0 0 17 18",
|
|
3133
3133
|
fill: "none",
|
|
3134
3134
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3135
3135
|
...t
|
|
3136
|
-
}, /* @__PURE__ */
|
|
3136
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3137
3137
|
id: "Group"
|
|
3138
|
-
}, /* @__PURE__ */
|
|
3138
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3139
3139
|
id: "Vector",
|
|
3140
3140
|
d: "M12.5396 12.431L15.8603 9.00169L12.5396 5.57239",
|
|
3141
3141
|
stroke: "#EB5757",
|
|
3142
3142
|
strokeWidth: 1.5,
|
|
3143
3143
|
strokeLinecap: "round",
|
|
3144
3144
|
strokeLinejoin: "round"
|
|
3145
|
-
}), /* @__PURE__ */
|
|
3145
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
3146
3146
|
id: "Vector_2",
|
|
3147
3147
|
d: "M15.8602 9.00159H5.57227",
|
|
3148
3148
|
stroke: "#EB5757",
|
|
3149
3149
|
strokeWidth: 1.5,
|
|
3150
3150
|
strokeLinecap: "round",
|
|
3151
3151
|
strokeLinejoin: "round"
|
|
3152
|
-
}), /* @__PURE__ */
|
|
3152
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
3153
3153
|
id: "Vector_3",
|
|
3154
3154
|
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",
|
|
3155
3155
|
stroke: "#EB5757",
|
|
3156
3156
|
strokeWidth: 1.5,
|
|
3157
3157
|
strokeLinecap: "round",
|
|
3158
3158
|
strokeLinejoin: "round"
|
|
3159
|
-
}))),
|
|
3159
|
+
}))), F0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3160
3160
|
width: 99,
|
|
3161
3161
|
height: 96,
|
|
3162
3162
|
viewBox: "0 0 99 96",
|
|
3163
3163
|
fill: "none",
|
|
3164
3164
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3165
3165
|
...t
|
|
3166
|
-
}, /* @__PURE__ */
|
|
3166
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3167
3167
|
id: "Masters Logo Big"
|
|
3168
|
-
}, /* @__PURE__ */
|
|
3168
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3169
3169
|
id: "Vector",
|
|
3170
3170
|
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",
|
|
3171
3171
|
fill: "white"
|
|
3172
|
-
}), /* @__PURE__ */
|
|
3172
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
3173
3173
|
id: "Vector_2",
|
|
3174
3174
|
d: "M98.1678 34.7754C97.6547 34.4147 97.3429 33.8272 97.3429 33.1882V31.4051C97.3429 29.8075 96.0752 28.5089 94.5159 28.5089H93.3891C92.041 28.5089 90.8035 29.1994 90.0691 30.3538L86.4272 36.1153C86.065 36.6822 85.4514 37.0223 84.7974 37.0223H82.3427C81.1253 37.0223 80.0086 37.7026 79.4251 38.8054C78.8215 39.9392 77.7752 40.7225 76.5679 40.9905V0.917313C76.5679 0.412276 76.1756 0 75.6726 0C75.1796 0 74.7772 0.412276 74.7772 0.917313V2.15414V13.4196V41.0111C73.5699 40.7431 72.5236 39.9598 71.92 38.8261C71.3465 37.7232 70.2298 37.043 69.0125 37.043H67.3626C66.0547 37.043 64.8676 37.8366 64.3344 39.0528L62.9661 42.2067C62.7448 42.7014 62.2619 43.0313 61.7287 43.0313C61.1955 43.0313 60.7126 42.7118 60.4913 42.2067L59.123 39.0528C58.5898 37.8263 57.4027 37.0327 56.0948 37.0327H9.52479C9.14249 37.0327 8.84068 37.3419 8.84068 37.7335C8.84068 38.5478 8.18674 39.2177 7.39196 39.2177H5.37986C4.99757 39.2177 4.69575 39.5269 4.69575 39.9186V42.3098C4.69575 44.5567 4.26315 46.7624 3.42813 48.834L2.20075 51.8643C1.05385 54.6884 0.510584 57.5846 0.520645 60.4396V67.4071C0.520645 69.2932 0.782218 71.1897 1.31542 73.0449C2.81444 78.2396 6.20483 82.4963 10.893 85.0215L18.3378 89.0412C18.4384 89.0928 18.539 89.1237 18.6497 89.1237L24.1528 89.1649C25.4405 89.1752 26.7081 89.5153 27.8248 90.1544L30.7826 91.8447C30.8832 91.9065 30.9939 91.9375 31.1146 91.9375H35.0684C36.4567 91.9375 37.825 92.3291 39.0121 93.0609C39.0121 93.0609 40.9437 94.2668 41.5977 94.6585C42.6439 95.2872 43.9116 95.885 46.1148 95.9984C46.6178 96.019 47.1108 95.8438 47.483 95.483C47.8553 95.1223 48.0666 94.6172 48.0666 94.0916V91.3809C48.0666 89.4123 49.2034 87.6292 50.964 86.8355L57.0003 84.1145C57.8252 83.7435 58.7508 83.6816 59.6059 83.9496L61.8595 84.6402C62.8152 84.9288 63.8313 84.9391 64.7972 84.6402L70.1493 83.0117C70.8636 82.7952 71.6081 82.7952 72.3325 83.022L74.5055 83.6507C75.5216 83.9496 76.2259 84.8979 76.2259 85.9801V91.4118C76.2259 93.937 78.238 95.9984 80.7028 95.9984C82.5439 95.9984 84.1636 94.7822 84.7169 92.9888C85.723 89.7421 86.2361 86.3614 86.2361 82.9499V80.6411C86.2361 79.0023 86.9001 77.415 88.0671 76.2916L90.2905 74.1375C91.7895 72.6739 92.6547 70.6228 92.6547 68.4996V55.616C92.6547 53.6164 93.2382 51.6994 94.3549 50.0606C94.4354 49.9472 94.4756 49.8029 94.4756 49.6586V46.6284C94.4756 44.6494 95.0591 42.7324 96.1557 41.1039L98.359 37.8263C98.4395 37.7129 98.4797 37.5686 98.4797 37.4346V35.3732C98.4797 34.9713 98.2584 34.8373 98.1678 34.7754ZM74.7872 69.2211C73.2882 68.9943 72.1816 68.2007 72.1816 67.2628C72.1816 66.3248 73.2882 65.5312 74.7872 65.3045V69.2211ZM76.5679 65.2941C78.0669 65.5209 79.1736 66.3145 79.1736 67.2525C79.1736 68.1904 78.0669 68.984 76.5679 69.2108V65.2941ZM12.6637 84.3928L11.5268 83.7847C8.45838 82.1356 6.00362 79.6619 4.32351 76.673V72.9109C6.24507 75.7556 8.85074 78.1881 12.05 79.9093L12.6637 80.2391V84.3928ZM18.3478 87.4643L15.3398 85.8461V81.6924L18.3378 83.3106H18.3478V87.4643ZM30.8832 90.2987L28.4989 88.9382C27.2011 88.1961 25.7322 87.7941 24.2534 87.7735V83.4343C25.5009 83.4652 26.7383 83.795 27.8349 84.4237L30.7927 86.1141C30.8229 86.1347 30.853 86.1244 30.8832 86.1347V90.2987ZM46.6983 91.3706V93.4835V94.0813C46.6983 94.2256 46.638 94.3596 46.5474 94.4523C46.4468 94.5451 46.3261 94.5966 46.1953 94.5863C44.2939 94.4833 43.1973 93.9782 42.3019 93.432C41.658 93.0403 39.7365 91.8447 39.7264 91.8447C38.5191 91.1026 37.161 90.68 35.7626 90.577V86.2377C36.9095 86.3408 38.0262 86.7016 39.0222 87.3097L40.6821 88.33C42.5031 89.4535 44.5756 90.0925 46.6983 90.2059V91.3706ZM63.1372 83.4446C62.8354 83.424 62.5436 83.3827 62.2519 83.3003L59.9983 82.6097C59.5154 82.4654 59.0124 82.4036 58.5194 82.4036V78.0644C58.8816 78.0644 59.2538 78.1056 59.6059 78.2087L61.8595 78.8992C62.272 79.0229 62.7046 79.0848 63.1372 79.1054V83.4446ZM77.2923 84.4959C76.8597 83.4549 75.9945 82.62 74.8878 82.3005L72.7248 81.6718C72.2117 81.5069 71.6785 81.445 71.1453 81.4554V77.1265C71.5578 77.1161 71.9703 77.1677 72.3727 77.3017L74.1534 77.8789C76.0347 78.487 77.3024 80.2494 77.3024 82.2696V84.4959H77.2923ZM83.5197 92.1848C83.4795 92.3085 83.4594 92.4322 83.4191 92.5559C83.0368 93.7721 81.9503 94.5863 80.7028 94.5863C80.5921 94.5863 80.4815 94.5657 80.3708 94.5554V90.2265C80.4513 90.2368 80.5318 90.2471 80.6223 90.2471C81.8396 90.2471 82.9362 89.5463 83.5197 88.495V92.1848ZM95.1799 38.0118C93.8217 40.032 93.1074 42.4025 93.1074 44.8556V46.9994L92.051 48.5661C90.6828 50.5965 89.9484 52.9774 89.9484 55.4408V66.2218C89.9484 67.9739 89.2442 69.6643 88.0067 70.8702L85.7834 73.0346C84.2944 74.4879 83.4694 76.539 83.5298 78.6519L83.5399 79.1363C83.6203 81.9398 83.2682 84.7226 82.5137 87.4127C82.2722 88.2682 81.4976 88.866 80.6223 88.866C79.5358 88.866 78.6605 87.959 78.6605 86.8562V82.2696C78.6605 79.631 77.0106 77.3326 74.5558 76.539L72.7751 75.9618C71.7892 75.6423 70.753 75.6423 69.767 75.9412L64.4149 77.5697C63.7106 77.7861 62.9661 77.7861 62.2519 77.5697L59.9983 76.8791C58.8313 76.5183 57.5637 76.6008 56.4469 77.1058L51.6883 79.2497C48.6501 80.6102 46.6883 83.6919 46.6883 87.0932V88.8454C44.817 88.732 42.986 88.1548 41.3763 87.1654L39.7163 86.145C38.3079 85.2792 36.7083 84.8257 35.0684 84.8257H31.3058L28.5089 83.2281C27.191 82.4757 25.692 82.0635 24.1729 82.0532L18.8307 82.0119L12.6938 78.7034C3.38789 73.653 -0.58601 62.367 3.45831 52.4208L4.68569 49.3906C5.6012 47.1437 6.06398 44.7628 6.06398 42.3304V40.6401H7.39196C8.70989 40.6401 9.81654 39.7021 10.1284 38.455H56.0948C56.8594 38.455 57.5637 38.9188 57.8755 39.6403L59.2438 42.7942C59.6764 43.8043 60.6522 44.4536 61.7287 44.4536C62.8052 44.4536 63.781 43.8043 64.2136 42.8045L65.5819 39.6506C65.8938 38.9291 66.5879 38.4653 67.3626 38.4653H69.0125C69.7268 38.4653 70.3807 38.8673 70.7228 39.5063C71.5679 41.1039 73.0769 42.1758 74.7872 42.4541V62.2639C72.0307 62.5731 69.918 64.2532 69.918 66.3042C69.918 68.5614 72.4934 70.3961 75.6726 70.3961C78.8517 70.3961 81.4272 68.5614 81.4272 66.3042C81.4272 64.2635 79.3145 62.5731 76.5579 62.2639V42.4438C78.2682 42.1655 79.7772 41.0936 80.6223 39.496C80.9644 38.857 81.6183 38.455 82.3326 38.455H84.7874C85.9141 38.455 86.9504 37.8778 87.5641 36.909L91.206 31.1371C91.6889 30.3847 92.4937 29.9312 93.379 29.9312H94.5058C95.3106 29.9312 95.9646 30.6012 95.9646 31.4257V33.2088C95.9646 34.0746 96.2865 34.8888 96.86 35.4969L95.1799 38.0118Z",
|
|
3175
3175
|
fill: "white"
|
|
3176
|
-
}))),
|
|
3176
|
+
}))), J0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3177
3177
|
width: 16,
|
|
3178
3178
|
height: 16,
|
|
3179
3179
|
viewBox: "0 0 16 16",
|
|
3180
3180
|
fill: "none",
|
|
3181
3181
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3182
3182
|
...t
|
|
3183
|
-
}, /* @__PURE__ */
|
|
3183
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3184
3184
|
id: "Poll"
|
|
3185
|
-
}, /* @__PURE__ */
|
|
3185
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3186
3186
|
id: "Notification/Icon/Poll",
|
|
3187
3187
|
fillRule: "evenodd",
|
|
3188
3188
|
clipRule: "evenodd",
|
|
3189
3189
|
d: "M9.7778 1.68421V5.05263H13.3333C13.8243 5.05263 14.2222 4.67561 14.2222 4.21053V2.52632C14.2222 2.06123 13.8243 1.68421 13.3333 1.68421H9.7778ZM2.66667 0C1.19391 0 0 1.13107 0 2.52632V4.21053C0 5.60577 1.19391 6.73684 2.66667 6.73684H13.3333C14.8061 6.73684 16 5.60577 16 4.21053V2.52632C16 1.13107 14.8061 0 13.3333 0H2.66667ZM4.44446 10.9473H13.3333C13.8243 10.9473 14.2222 11.3243 14.2222 11.7894V13.4736C14.2222 13.9387 13.8243 14.3157 13.3333 14.3157H4.44446V10.9473ZM0 11.7894C0 10.3942 1.19391 9.2631 2.66667 9.2631H13.3333C14.8061 9.2631 16 10.3942 16 11.7894V13.4736C16 14.8689 14.8061 15.9999 13.3333 15.9999H2.66667C1.19391 15.9999 0 14.8689 0 13.4736V11.7894Z",
|
|
3190
3190
|
fill: "white",
|
|
3191
3191
|
fillOpacity: 0.5
|
|
3192
|
-
}))),
|
|
3192
|
+
}))), q0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3193
3193
|
width: 16,
|
|
3194
3194
|
height: 16,
|
|
3195
3195
|
viewBox: "0 0 16 16",
|
|
3196
3196
|
fill: "none",
|
|
3197
3197
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3198
3198
|
...t
|
|
3199
|
-
}, /* @__PURE__ */
|
|
3199
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3200
3200
|
id: "Icon/Notification/Prediciton"
|
|
3201
|
-
}, /* @__PURE__ */
|
|
3201
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3202
3202
|
id: "Icon/Prediction",
|
|
3203
3203
|
fillRule: "evenodd",
|
|
3204
3204
|
clipRule: "evenodd",
|
|
3205
3205
|
d: "M16 7.00522C16 7.00522 9.20048 6.81607 9.20048 0C9.20048 6.36168 3.27729 6.95056 2.48756 7.00078L2.40094 7.00522C2.40094 7.00522 9.20048 7.19435 9.20048 14.0104C9.20048 7.64877 15.1234 7.05989 15.9131 7.00964L16 7.00522ZM6.97382 12.5652C6.97382 12.5652 3.48691 12.4724 3.48691 9.13033C3.48691 12.2496 0.449402 12.5384 0.0444186 12.563L0 12.5652C0 12.5652 3.48691 12.6579 3.48691 16C3.48691 12.8807 6.52429 12.592 6.92927 12.5673L6.97382 12.5652Z",
|
|
3206
3206
|
fill: "white",
|
|
3207
3207
|
fillOpacity: 0.5
|
|
3208
|
-
}))),
|
|
3208
|
+
}))), X0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3209
3209
|
width: 16,
|
|
3210
3210
|
height: 15,
|
|
3211
3211
|
viewBox: "0 0 16 15",
|
|
3212
3212
|
fill: "none",
|
|
3213
3213
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3214
3214
|
...t
|
|
3215
|
-
}, /* @__PURE__ */
|
|
3215
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3216
3216
|
id: "Start - You",
|
|
3217
3217
|
d: "M8 0L9.79611 5.52786H15.6085L10.9062 8.94427L12.7023 14.4721L8 11.0557L3.29772 14.4721L5.09383 8.94427L0.391548 5.52786H6.20389L8 0Z",
|
|
3218
3218
|
fill: "#F4D22A"
|
|
3219
|
-
})),
|
|
3219
|
+
})), K0 = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3220
3220
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3221
3221
|
width: 22,
|
|
3222
3222
|
height: 22,
|
|
3223
3223
|
viewBox: "0 0 22 22",
|
|
3224
3224
|
fill: "none",
|
|
3225
3225
|
...t
|
|
3226
|
-
}, /* @__PURE__ */
|
|
3226
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3227
3227
|
d: "M5.5 2.78867V12.4137C5.5 13.1729 4.88426 13.75 4.125 13.75H1.375C0.615742 13.75 0 13.1343 0 12.4137V2.82734C0 2.06808 0.615742 1.49102 1.375 1.49102H4.125C4.88555 1.41367 5.5 1.99375 5.5 2.78867ZM22 12.3707C22 13.5094 21.077 14.4323 19.9375 14.4323H13.6426C14.621 16.0613 15.1259 17.9077 15.1259 18.5582C15.125 19.5714 14.3301 20.625 12.998 20.625C10.2854 20.625 11.8654 17.3529 8.34883 14.5406L7.64844 13.982C7.14141 13.5738 6.88359 12.9766 6.8793 12.375C6.87829 12.374 6.8793 12.375 6.8793 12.375L6.875 5.5C6.875 4.85117 7.18064 4.23973 7.7 3.85043L9.16695 2.75086C10.3555 1.85625 11.8035 1.375 13.2902 1.375H15.8125C16.952 1.375 17.875 2.29754 17.875 3.43664C17.875 3.59283 17.8544 3.74357 17.8215 3.88996C18.6484 4.15937 19.25 4.92422 19.25 5.84375C19.25 6.23683 19.1341 6.60043 18.9432 6.91281C19.8988 7.08984 20.625 7.92773 20.625 8.9332C20.625 9.47031 20.4148 9.955 20.0784 10.322C21.1492 10.3941 22 11.2793 22 12.3707Z",
|
|
3228
3228
|
fill: "white"
|
|
3229
|
-
})),
|
|
3229
|
+
})), en = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3230
3230
|
width: 16,
|
|
3231
3231
|
height: 16,
|
|
3232
3232
|
viewBox: "0 0 16 16",
|
|
3233
3233
|
fill: "none",
|
|
3234
3234
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3235
3235
|
...t
|
|
3236
|
-
}, /* @__PURE__ */
|
|
3236
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3237
3237
|
id: "Icon/Notification/Trivia"
|
|
3238
|
-
}, /* @__PURE__ */
|
|
3238
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3239
3239
|
id: "Notification/Icon/Trivia",
|
|
3240
3240
|
fillRule: "evenodd",
|
|
3241
3241
|
clipRule: "evenodd",
|
|
3242
3242
|
d: "M2.01663 1.3808C0.739913 1.55586 -0.153153 2.73276 0.021912 4.00948L1.3808 13.9196C1.55586 15.1963 2.73276 16.0894 4.00948 15.9143L13.9196 14.5554C15.1963 14.3803 16.0894 13.2034 15.9143 11.9267L14.5554 2.01663C14.3803 0.739913 13.2034 -0.153153 11.9267 0.021912L2.01663 1.3808ZM9.59613 3.788C9.11431 3.46991 8.47813 3.30151 7.7566 3.30151C7.54377 3.30151 7.32625 3.31671 7.10872 3.34478C6.38836 3.44067 5.68901 3.79034 5.18965 4.30138C4.68445 4.82062 4.4377 5.45563 4.51722 6.04151C4.57452 6.4742 4.90078 6.7537 5.34635 6.7537C5.39429 6.7537 5.44341 6.7502 5.49136 6.74435C6.08778 6.66483 6.21642 6.25436 6.34036 5.85675L6.34045 5.85648C6.48192 5.40401 6.61534 4.97731 7.38585 4.87444C7.46537 4.86391 7.54138 4.85806 7.61506 4.85806C8.16939 4.85806 8.51436 5.15042 8.58454 5.68252C8.65353 6.20293 8.24307 6.61807 7.80684 7.0566L7.80393 7.05954C7.31582 7.55231 6.7639 8.1095 6.86895 8.90083C6.89585 9.10548 6.9859 9.29493 7.12272 9.43644C7.27826 9.599 7.4829 9.68436 7.71331 9.68436C7.75541 9.68436 7.79868 9.68203 7.84311 9.67618C8.46691 9.59324 8.55162 9.23139 8.63338 8.8821L8.63365 8.88097L8.63661 8.86859C8.66723 8.7403 8.69877 8.60813 8.75995 8.48804C8.84649 8.31613 9.06283 8.11265 9.31428 7.87875C9.9142 7.31858 10.734 6.55143 10.582 5.41589C10.4872 4.70603 10.1551 4.15757 9.59611 3.78802L9.59613 3.788ZM8.11605 10.28C8.06927 10.28 8.02132 10.2836 7.97454 10.2894C7.38396 10.3689 6.96765 10.9127 7.04599 11.5033C7.11733 12.0377 7.57808 12.4412 8.1172 12.4412C8.16397 12.4412 8.21192 12.4377 8.25987 12.4318C8.85045 12.3523 9.2656 11.8085 9.18842 11.2179C9.11591 10.6823 8.65517 10.28 8.11605 10.28Z",
|
|
3243
3243
|
fill: "white",
|
|
3244
3244
|
fillOpacity: 0.5
|
|
3245
|
-
}))),
|
|
3245
|
+
}))), tn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3246
3246
|
width: 12,
|
|
3247
3247
|
height: 12,
|
|
3248
3248
|
viewBox: "0 0 12 12",
|
|
3249
3249
|
fill: "none",
|
|
3250
3250
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3251
3251
|
...t
|
|
3252
|
-
}, /* @__PURE__ */
|
|
3252
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3253
3253
|
id: "Trophy"
|
|
3254
|
-
}, /* @__PURE__ */
|
|
3254
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3255
3255
|
id: "Combined Shape",
|
|
3256
3256
|
fillRule: "evenodd",
|
|
3257
3257
|
clipRule: "evenodd",
|
|
3258
3258
|
d: "M2.76916 3.50002C2.76916 4.49786 2.94705 5.38348 3.30282 6.15692C2.62493 6.01847 2.05883 5.74872 1.6045 5.34768C1.15017 4.94663 0.923008 4.55992 0.923008 4.18752V3.50002H2.76916ZM11.0768 3.50002V4.18752C11.0768 4.55992 10.8497 4.94663 10.3953 5.34768C9.941 5.74872 9.3749 6.01847 8.69701 6.15692C9.05278 5.38348 9.23066 4.49786 9.23066 3.50002H11.0768ZM12 4.1875V3.27083C12 3.07986 11.9327 2.91754 11.7981 2.78385C11.6635 2.65017 11.5 2.58333 11.3077 2.58333H9.23077V1.89583C9.23077 1.58073 9.11779 1.31098 8.89183 1.08659C8.66586 0.862195 8.39423 0.75 8.07692 0.75H3.92308C3.60577 0.75 3.33414 0.862195 3.10817 1.08659C2.88221 1.31098 2.76923 1.58073 2.76923 1.89583V2.58333H0.692308C0.499999 2.58333 0.336539 2.65017 0.201923 2.78385C0.067307 2.91754 0 3.07986 0 3.27083V4.1875C0 4.52648 0.0997586 4.86784 0.299279 5.21159C0.498799 5.55534 0.768027 5.86567 1.10697 6.14258C1.44592 6.41949 1.86178 6.65223 2.35457 6.84082C2.84736 7.02941 3.36538 7.13563 3.90865 7.15951C4.11058 7.41732 4.33894 7.6441 4.59375 7.83984C4.77644 8.00217 4.90264 8.17524 4.97236 8.35905C5.04207 8.54286 5.07692 8.75651 5.07692 9C5.07692 9.25781 5.00361 9.47504 4.85697 9.65169C4.71034 9.82834 4.47596 9.91667 4.15385 9.91667C3.79327 9.91667 3.47236 10.0253 3.19111 10.2425C2.90985 10.4597 2.76923 10.7331 2.76923 11.0625V11.5208C2.76923 11.5877 2.79087 11.6426 2.83413 11.6855C2.8774 11.7285 2.93269 11.75 3 11.75H9C9.06731 11.75 9.1226 11.7285 9.16586 11.6855C9.20913 11.6426 9.23077 11.5877 9.23077 11.5208V11.0625C9.23077 10.7331 9.09015 10.4597 8.80889 10.2425C8.52764 10.0253 8.20673 9.91667 7.84615 9.91667C7.52404 9.91667 7.28966 9.82834 7.14303 9.65169C6.99639 9.47504 6.92308 9.25781 6.92308 9C6.92308 8.75651 6.95793 8.54286 7.02764 8.35905C7.09736 8.17524 7.22356 8.00217 7.40625 7.83984C7.66106 7.6441 7.88942 7.41732 8.09135 7.15951C8.63462 7.13563 9.15264 7.02941 9.64543 6.84082C10.1382 6.65223 10.5541 6.41949 10.893 6.14258C11.232 5.86567 11.5012 5.55534 11.7007 5.21159C11.9002 4.86784 12 4.52648 12 4.1875ZM5.07033 5.38491L6.0383 4.87503L7.00627 5.38491L6.8214 4.30497L7.60451 3.54016L6.52228 3.3826L6.0383 2.40003L5.55431 3.3826L4.47209 3.54016L5.25519 4.30497L5.07033 5.38491Z",
|
|
3259
3259
|
fill: "white"
|
|
3260
|
-
}))),
|
|
3260
|
+
}))), nn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3261
3261
|
width: 12,
|
|
3262
3262
|
height: 12,
|
|
3263
3263
|
viewBox: "0 0 12 12",
|
|
3264
3264
|
fill: "none",
|
|
3265
3265
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3266
3266
|
...t
|
|
3267
|
-
}, /* @__PURE__ */
|
|
3267
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3268
3268
|
id: "Trophy"
|
|
3269
|
-
}, /* @__PURE__ */
|
|
3269
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3270
3270
|
id: "Combined Shape",
|
|
3271
3271
|
fillRule: "evenodd",
|
|
3272
3272
|
clipRule: "evenodd",
|
|
3273
3273
|
d: "M2.76916 3.50002C2.76916 4.49786 2.94705 5.38348 3.30282 6.15692C2.62493 6.01847 2.05883 5.74872 1.6045 5.34768C1.15017 4.94663 0.923008 4.55992 0.923008 4.18752V3.50002H2.76916ZM11.0768 3.50002V4.18752C11.0768 4.55992 10.8497 4.94663 10.3953 5.34768C9.941 5.74872 9.3749 6.01847 8.69701 6.15692C9.05278 5.38348 9.23066 4.49786 9.23066 3.50002H11.0768ZM12 4.1875V3.27083C12 3.07986 11.9327 2.91754 11.7981 2.78385C11.6635 2.65017 11.5 2.58333 11.3077 2.58333H9.23077V1.89583C9.23077 1.58073 9.11779 1.31098 8.89183 1.08659C8.66586 0.862195 8.39423 0.75 8.07692 0.75H3.92308C3.60577 0.75 3.33414 0.862195 3.10817 1.08659C2.88221 1.31098 2.76923 1.58073 2.76923 1.89583V2.58333H0.692308C0.499999 2.58333 0.336539 2.65017 0.201923 2.78385C0.067307 2.91754 0 3.07986 0 3.27083V4.1875C0 4.52648 0.0997586 4.86784 0.299279 5.21159C0.498799 5.55534 0.768027 5.86567 1.10697 6.14258C1.44592 6.41949 1.86178 6.65223 2.35457 6.84082C2.84736 7.02941 3.36538 7.13563 3.90865 7.15951C4.11058 7.41732 4.33894 7.6441 4.59375 7.83984C4.77644 8.00217 4.90264 8.17524 4.97236 8.35905C5.04207 8.54286 5.07692 8.75651 5.07692 9C5.07692 9.25781 5.00361 9.47504 4.85697 9.65169C4.71034 9.82834 4.47596 9.91667 4.15385 9.91667C3.79327 9.91667 3.47236 10.0253 3.19111 10.2425C2.90985 10.4597 2.76923 10.7331 2.76923 11.0625V11.5208C2.76923 11.5877 2.79087 11.6426 2.83413 11.6855C2.8774 11.7285 2.93269 11.75 3 11.75H9C9.06731 11.75 9.1226 11.7285 9.16586 11.6855C9.20913 11.6426 9.23077 11.5877 9.23077 11.5208V11.0625C9.23077 10.7331 9.09015 10.4597 8.80889 10.2425C8.52764 10.0253 8.20673 9.91667 7.84615 9.91667C7.52404 9.91667 7.28966 9.82834 7.14303 9.65169C6.99639 9.47504 6.92308 9.25781 6.92308 9C6.92308 8.75651 6.95793 8.54286 7.02764 8.35905C7.09736 8.17524 7.22356 8.00217 7.40625 7.83984C7.66106 7.6441 7.88942 7.41732 8.09135 7.15951C8.63462 7.13563 9.15264 7.02941 9.64543 6.84082C10.1382 6.65223 10.5541 6.41949 10.893 6.14258C11.232 5.86567 11.5012 5.55534 11.7007 5.21159C11.9002 4.86784 12 4.52648 12 4.1875ZM5.07033 5.38491L6.0383 4.87503L7.00627 5.38491L6.8214 4.30497L7.60451 3.54016L6.52228 3.3826L6.0383 2.40003L5.55431 3.3826L4.47209 3.54016L5.25519 4.30497L5.07033 5.38491Z",
|
|
3274
3274
|
fill: "#F2C94C"
|
|
3275
|
-
}))),
|
|
3275
|
+
}))), rn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3276
3276
|
width: 25,
|
|
3277
3277
|
height: 24,
|
|
3278
3278
|
viewBox: "0 0 25 24",
|
|
3279
3279
|
fill: "none",
|
|
3280
3280
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3281
3281
|
...t
|
|
3282
|
-
}, /* @__PURE__ */
|
|
3282
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3283
3283
|
id: "Friends"
|
|
3284
|
-
}, /* @__PURE__ */
|
|
3284
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3285
3285
|
id: "Vector",
|
|
3286
3286
|
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",
|
|
3287
3287
|
fill: "white"
|
|
3288
|
-
}), /* @__PURE__ */
|
|
3288
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
3289
3289
|
id: "Vector_2",
|
|
3290
3290
|
d: "M8.58473 1.5C6.96392 1.5 5.64893 2.73876 5.64893 4.2656C5.64893 5.79245 6.96392 7.03121 8.58473 7.03121C10.2055 7.03121 11.5205 5.79245 11.5205 4.2656C11.5205 2.73876 10.2055 1.5 8.58473 1.5ZM8.58473 7.03121C8.29038 7.03121 7.99221 7.024 7.69787 7.11763C8.28656 7.85584 8.58473 8.78131 8.58473 9.79681C8.58473 10.1641 8.49298 10.5242 8.49298 10.8915C9.27663 9.78601 10.5419 9.05859 12.0098 8.87494C11.3256 7.76942 10.0526 7.03121 8.58473 7.03121ZM16.4135 1.5C14.7927 1.5 13.4777 2.73876 13.4777 4.2656C13.4777 5.79245 14.7927 7.03121 16.4135 7.03121C18.0343 7.03121 19.3493 5.79245 19.3493 4.2656C19.3493 2.73876 18.0343 1.5 16.4135 1.5ZM16.4135 7.03121C14.9456 7.03121 13.6727 7.76942 12.9884 8.87494C14.4563 9.05859 15.7216 9.78601 16.5053 10.8915C16.5053 10.5242 16.4135 10.1641 16.4135 9.79681C16.4135 8.78131 16.7117 7.85584 17.3004 7.11763C17.006 7.024 16.7079 7.03121 16.4135 7.03121Z",
|
|
3291
3291
|
fill: "white",
|
|
3292
3292
|
fillOpacity: 0.4
|
|
3293
|
+
}))), sn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3294
|
+
width: 18,
|
|
3295
|
+
height: 18,
|
|
3296
|
+
viewBox: "0 0 18 18",
|
|
3297
|
+
fill: "none",
|
|
3298
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3299
|
+
...t
|
|
3300
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3301
|
+
id: "Group 483737"
|
|
3302
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3303
|
+
id: "Icon / Live"
|
|
3304
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3305
|
+
id: "circle-path",
|
|
3306
|
+
fillRule: "evenodd",
|
|
3307
|
+
clipRule: "evenodd",
|
|
3308
|
+
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",
|
|
3309
|
+
stroke: "#107D57"
|
|
3310
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
3311
|
+
id: "Combined Shape",
|
|
3312
|
+
fillRule: "evenodd",
|
|
3313
|
+
clipRule: "evenodd",
|
|
3314
|
+
d: "M10.6432 6.12891C10.9551 6.12891 11.2103 6.37162 11.2302 6.67846L11.2315 6.71714V7.55879L13.3334 6.46776C13.6362 6.31058 13.9959 6.51777 14.0195 6.85057L14.0207 6.88543V11.1406C14.0207 11.4763 13.6813 11.7002 13.3764 11.578L13.345 11.5641L11.2315 10.54V11.2818C11.2315 11.5937 10.9887 11.8489 10.6819 11.8688L10.6432 11.8701H5.11851C4.80663 11.8701 4.55144 11.6274 4.53152 11.3205L4.53027 11.2818V6.71714C4.53027 6.40526 4.77299 6.15007 5.07983 6.13016L5.11851 6.12891H10.6432ZM10.2897 7.07007H5.4709V10.9289H10.2897V7.07007ZM13.0792 7.65972L11.2396 8.61454V9.49831L13.0792 10.3896V7.65972Z",
|
|
3315
|
+
fill: "#107D57"
|
|
3316
|
+
})))), Mn = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3317
|
+
width: 14,
|
|
3318
|
+
height: 17,
|
|
3319
|
+
viewBox: "0 0 14 17",
|
|
3320
|
+
fill: "none",
|
|
3321
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3322
|
+
...t
|
|
3323
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3324
|
+
id: "Icon / Games"
|
|
3325
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3326
|
+
id: "Icon / Games_2",
|
|
3327
|
+
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",
|
|
3328
|
+
stroke: "#107D57",
|
|
3329
|
+
strokeWidth: 0.618817
|
|
3330
|
+
}), /* @__PURE__ */ d.createElement("path", {
|
|
3331
|
+
id: "Icon / Games_3",
|
|
3332
|
+
d: "M7.74941 0.00278796L1.66605 0.487981C1.18503 0.526267 0.82584 0.949506 0.864126 1.42843L1.72313 12.2036C1.76142 12.6832 2.18327 13.0438 2.66359 13.0055L3.18754 12.9637L3.97219 3.12062C4.0418 2.24421 4.81101 1.58916 5.68742 1.65878L8.7776 1.90524L8.68986 0.804714C8.65157 0.32509 8.22973 -0.0354984 7.74941 0.00278796Z",
|
|
3333
|
+
fill: "#107D57"
|
|
3334
|
+
}))), on = (t) => /* @__PURE__ */ d.createElement("svg", {
|
|
3335
|
+
width: 19,
|
|
3336
|
+
height: 14,
|
|
3337
|
+
viewBox: "0 0 19 14",
|
|
3338
|
+
fill: "none",
|
|
3339
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3340
|
+
...t
|
|
3341
|
+
}, /* @__PURE__ */ d.createElement("g", {
|
|
3342
|
+
id: "Icon / LeaderBoard"
|
|
3343
|
+
}, /* @__PURE__ */ d.createElement("path", {
|
|
3344
|
+
id: "Combined Shape",
|
|
3345
|
+
fillRule: "evenodd",
|
|
3346
|
+
clipRule: "evenodd",
|
|
3347
|
+
d: "M16.8236 2.46643C16.436 2.23624 16.1759 1.81093 16.1759 1.32432C16.1759 0.59292 16.7636 0 17.4885 0C18.2134 0 18.8011 0.59292 18.8011 1.32432C18.8011 1.81093 18.541 2.23624 18.1534 2.46643C18.5192 2.51678 18.8011 2.83327 18.8011 3.2162V10.7838C18.8011 11.2017 18.4653 11.5405 18.051 11.5405H16.926L16.9147 11.5404H10.9255V11.5406V13.2433C10.9255 13.6612 10.5897 14 10.1755 14H8.67539C8.26115 14 7.92534 13.6612 7.92534 13.2433V11.5406V11.5404H1.93622L1.92493 11.5405H0.799856C0.385614 11.5405 0.0498047 11.2017 0.0498047 10.7838V3.2162C0.0498047 2.83328 0.331692 2.51678 0.697521 2.46643C0.309923 2.23624 0.0498047 1.81093 0.0498047 1.32432C0.0498047 0.59292 0.637471 0 1.36239 0C2.08732 0 2.67498 0.59292 2.67498 1.32432C2.67498 1.81093 2.41487 2.23624 2.02727 2.46643C2.16328 2.48515 2.28769 2.54066 2.39032 2.62269C4.78264 1.62379 7.12768 1.12793 9.42545 1.13511C11.7225 1.14228 14.0669 1.63872 16.4584 2.62442C16.5615 2.54144 16.6867 2.48528 16.8236 2.46643ZM1.92494 10.7837L1.92493 3.21617H0.799862V10.7837H1.92494ZM16.1759 3.32547C13.8707 2.37522 11.6209 1.89875 9.42314 1.89189C7.2272 1.88503 4.97905 2.36051 2.675 3.32285V10.7837H16.1759V3.32547ZM17.4885 1.89189C17.7992 1.89189 18.0511 1.63779 18.0511 1.32433C18.0511 1.01087 17.7992 0.75676 17.4885 0.75676C17.1778 0.75676 16.926 1.01087 16.926 1.32433C16.926 1.63779 17.1778 1.89189 17.4885 1.89189ZM16.926 3.21617V10.7837H18.0511V3.21617H16.926ZM8.67538 13.2432V11.5405H10.1755V13.2432H8.67538ZM1.3624 1.89189C1.67308 1.89189 1.92494 1.63779 1.92494 1.32433C1.92494 1.01087 1.67308 0.75676 1.3624 0.75676C1.05172 0.75676 0.799862 1.01087 0.799862 1.32433C0.799862 1.63779 1.05172 1.89189 1.3624 1.89189Z",
|
|
3348
|
+
fill: "#107D57"
|
|
3293
3349
|
}))), Ue = {
|
|
3294
|
-
"invite-game-icon":
|
|
3295
|
-
"icon-trophy":
|
|
3296
|
-
"icon-trophy-green":
|
|
3297
|
-
"icon-trivia":
|
|
3298
|
-
"icon-thumb-down":
|
|
3299
|
-
"icon-star":
|
|
3300
|
-
"icon-prediction":
|
|
3301
|
-
"icon-poll":
|
|
3302
|
-
"icon-masters-logo":
|
|
3303
|
-
"icon-logout":
|
|
3304
|
-
"icon-link":
|
|
3305
|
-
"icon-invite-link":
|
|
3306
|
-
"icon-invite-arrow":
|
|
3307
|
-
"icon-friends":
|
|
3308
|
-
"icon-exit":
|
|
3309
|
-
"icon-default-user-avatar":
|
|
3310
|
-
"icon-cross":
|
|
3311
|
-
"icon-close":
|
|
3312
|
-
"icon-close-btn-white":
|
|
3313
|
-
"icon-circle-arrow-right":
|
|
3314
|
-
"icon-chevron":
|
|
3315
|
-
"icon-chevron-white-left":
|
|
3316
|
-
"icon-chevron-left":
|
|
3317
|
-
"icon-check":
|
|
3318
|
-
"icon-check-white":
|
|
3319
|
-
"icon-check-green":
|
|
3320
|
-
|
|
3321
|
-
|
|
3350
|
+
"invite-game-icon": rn,
|
|
3351
|
+
"icon-trophy": nn,
|
|
3352
|
+
"icon-trophy-green": tn,
|
|
3353
|
+
"icon-trivia": en,
|
|
3354
|
+
"icon-thumb-down": K0,
|
|
3355
|
+
"icon-star": X0,
|
|
3356
|
+
"icon-prediction": q0,
|
|
3357
|
+
"icon-poll": J0,
|
|
3358
|
+
"icon-masters-logo": F0,
|
|
3359
|
+
"icon-logout": _0,
|
|
3360
|
+
"icon-link": W0,
|
|
3361
|
+
"icon-invite-link": H0,
|
|
3362
|
+
"icon-invite-arrow": P0,
|
|
3363
|
+
"icon-friends": G0,
|
|
3364
|
+
"icon-exit": $0,
|
|
3365
|
+
"icon-default-user-avatar": V0,
|
|
3366
|
+
"icon-cross": R0,
|
|
3367
|
+
"icon-close": B0,
|
|
3368
|
+
"icon-close-btn-white": Z0,
|
|
3369
|
+
"icon-circle-arrow-right": b0,
|
|
3370
|
+
"icon-chevron": Y0,
|
|
3371
|
+
"icon-chevron-white-left": Q0,
|
|
3372
|
+
"icon-chevron-left": v0,
|
|
3373
|
+
"icon-check": U0,
|
|
3374
|
+
"icon-check-white": k0,
|
|
3375
|
+
"icon-check-green": S0,
|
|
3376
|
+
"icon-btn-channels": sn,
|
|
3377
|
+
"icon-btn-feature-groups": Mn,
|
|
3378
|
+
"icon-btn-leaderboard": on,
|
|
3379
|
+
fedex: f0
|
|
3380
|
+
}, ln = ({
|
|
3322
3381
|
name: t,
|
|
3323
3382
|
style: M,
|
|
3324
|
-
className: l
|
|
3383
|
+
className: l,
|
|
3384
|
+
...I
|
|
3325
3385
|
}) => {
|
|
3326
3386
|
if (!Ue[t])
|
|
3327
3387
|
return /* @__PURE__ */ s("span", {
|
|
3328
3388
|
children: t
|
|
3329
3389
|
});
|
|
3330
|
-
const
|
|
3331
|
-
return /* @__PURE__ */ s(
|
|
3390
|
+
const D = Ue[t];
|
|
3391
|
+
return /* @__PURE__ */ s(D, {
|
|
3332
3392
|
style: M,
|
|
3333
|
-
className: l
|
|
3393
|
+
className: l,
|
|
3394
|
+
...I
|
|
3334
3395
|
});
|
|
3335
3396
|
};
|
|
3336
|
-
const
|
|
3397
|
+
const an = () => ln, cn = /* @__PURE__ */ c("div")({
|
|
3337
3398
|
name: "s",
|
|
3338
3399
|
class: "s4qld3l",
|
|
3339
3400
|
propsAsIs: !1
|
|
3340
|
-
}),
|
|
3401
|
+
}), un = /* @__PURE__ */ c("div")({
|
|
3341
3402
|
name: "d",
|
|
3342
3403
|
class: "dinhtok",
|
|
3343
3404
|
propsAsIs: !1
|
|
3344
|
-
}),
|
|
3405
|
+
}), In = /* @__PURE__ */ c(an())({
|
|
3345
3406
|
name: "p",
|
|
3346
3407
|
class: "pk8yd5t",
|
|
3347
3408
|
propsAsIs: !0
|
|
3348
|
-
}),
|
|
3409
|
+
}), gn = /* @__PURE__ */ c("div")({
|
|
3349
3410
|
name: "x",
|
|
3350
3411
|
class: "x6rf9gb",
|
|
3351
3412
|
propsAsIs: !1
|
|
3352
|
-
}),
|
|
3413
|
+
}), Nn = /* @__PURE__ */ c("div")({
|
|
3353
3414
|
name: "a",
|
|
3354
3415
|
class: "a18f5pxx",
|
|
3355
3416
|
propsAsIs: !1
|
|
3356
|
-
}),
|
|
3417
|
+
}), Dn = /* @__PURE__ */ c("div")({
|
|
3357
3418
|
name: "c",
|
|
3358
3419
|
class: "c1jwsyj1",
|
|
3359
3420
|
propsAsIs: !1
|
|
3360
|
-
}),
|
|
3361
|
-
/* @__PURE__ */ s(
|
|
3362
|
-
/* @__PURE__ */ A(
|
|
3363
|
-
/* @__PURE__ */ s(
|
|
3364
|
-
/* @__PURE__ */ s(
|
|
3421
|
+
}), dn = ({ points: t }) => /* @__PURE__ */ A(cn, { children: [
|
|
3422
|
+
/* @__PURE__ */ s(un, { children: /* @__PURE__ */ s(In, { name: "icon-trophy" }) }),
|
|
3423
|
+
/* @__PURE__ */ A(gn, { children: [
|
|
3424
|
+
/* @__PURE__ */ s(Nn, { children: "TOTAL POINTS" }),
|
|
3425
|
+
/* @__PURE__ */ s(Dn, { children: t.toLocaleString("en") })
|
|
3365
3426
|
] })
|
|
3366
3427
|
] });
|
|
3367
|
-
const
|
|
3428
|
+
const jn = "fedqibx", An = ({ children: t, style: M }) => /* @__PURE__ */ s("div", { className: jn, style: M, children: t }), yn = (t, M, l) => {
|
|
3368
3429
|
const [I, D] = B(null);
|
|
3369
3430
|
return u1(() => {
|
|
3370
|
-
let
|
|
3431
|
+
let g = !1;
|
|
3371
3432
|
if (!t)
|
|
3372
3433
|
return console.error("streamlayer sdk key should be provided"), D((o) => (o !== null && typeof o.disableApp == "function" && o.disableApp(), null)), () => {
|
|
3373
|
-
|
|
3434
|
+
g = !0;
|
|
3374
3435
|
};
|
|
3375
|
-
const
|
|
3436
|
+
const j = ui(t, l);
|
|
3376
3437
|
if (M)
|
|
3377
3438
|
for (const o of M)
|
|
3378
|
-
|
|
3379
|
-
return
|
|
3380
|
-
|
|
3439
|
+
j.use(o);
|
|
3440
|
+
return j.ready().then((o) => {
|
|
3441
|
+
g || D(o.sdk);
|
|
3381
3442
|
}).catch((o) => console.log(o)), () => {
|
|
3382
|
-
|
|
3443
|
+
g = !0, j.close(function(o) {
|
|
3383
3444
|
if (o)
|
|
3384
3445
|
throw o;
|
|
3385
3446
|
});
|
|
@@ -3390,41 +3451,41 @@ var X1 = /* @__PURE__ */ ((t) => (t[t.UNSET = 0] = "UNSET", t[t.CONNECTED = 1] =
|
|
|
3390
3451
|
const ne = si({
|
|
3391
3452
|
status: 0,
|
|
3392
3453
|
sdk: null
|
|
3393
|
-
}),
|
|
3454
|
+
}), _n = ({
|
|
3394
3455
|
sdkKey: t,
|
|
3395
3456
|
plugins: M,
|
|
3396
3457
|
children: l,
|
|
3397
3458
|
production: I = !0
|
|
3398
3459
|
}) => {
|
|
3399
|
-
const D =
|
|
3460
|
+
const D = yn(t, M, I), g = c1(() => D ? {
|
|
3400
3461
|
sdk: D,
|
|
3401
3462
|
status: 2
|
|
3402
3463
|
/* READY */
|
|
3403
3464
|
} : { status: 1, sdk: null }, [D]);
|
|
3404
|
-
return /* @__PURE__ */ s(
|
|
3405
|
-
},
|
|
3465
|
+
return /* @__PURE__ */ s(An, { children: /* @__PURE__ */ s(ne.Provider, { value: g, children: l }) });
|
|
3466
|
+
}, pn = () => {
|
|
3406
3467
|
const { sdk: t } = ve(ne);
|
|
3407
3468
|
return t;
|
|
3408
|
-
},
|
|
3469
|
+
}, Fn = () => {
|
|
3409
3470
|
const { sdk: t, status: M } = ve(ne);
|
|
3410
3471
|
if (M === X1.UNSET)
|
|
3411
3472
|
throw new Error("Wrap app in `StreamLayerProvider`");
|
|
3412
|
-
return M === X1.CONNECTED ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: "wait" }) : t === null ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: "sdk not initialized" }) : /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ s(
|
|
3413
|
-
},
|
|
3473
|
+
return M === X1.CONNECTED ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: "wait" }) : t === null ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: "sdk not initialized" }) : /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ s(O0, { sdk: t }) });
|
|
3474
|
+
}, hn = ({ userSummary: t }) => {
|
|
3414
3475
|
var l, I;
|
|
3415
3476
|
const M = S(t.getStore());
|
|
3416
|
-
return ((I = (l = M.data) == null ? void 0 : l.summary) == null ? void 0 : I.points) === void 0 ? null : /* @__PURE__ */ s(
|
|
3417
|
-
},
|
|
3477
|
+
return ((I = (l = M.data) == null ? void 0 : l.summary) == null ? void 0 : I.points) === void 0 ? null : /* @__PURE__ */ s(dn, { points: M.data.summary.points });
|
|
3478
|
+
}, Tn = ({ sdk: t }) => {
|
|
3418
3479
|
const { organizationSettings: M, streamSettings: l } = S(t.sdkStore), I = c1(() => t.getFeature(W1.GAMES), [t, M, l]);
|
|
3419
|
-
return I ? /* @__PURE__ */ s(
|
|
3420
|
-
},
|
|
3421
|
-
const t =
|
|
3422
|
-
return t ? /* @__PURE__ */ s(
|
|
3480
|
+
return I ? /* @__PURE__ */ s(hn, { userSummary: I.userSummary }) : null;
|
|
3481
|
+
}, Jn = () => {
|
|
3482
|
+
const t = pn();
|
|
3483
|
+
return t ? /* @__PURE__ */ s(Tn, { sdk: t }) : null;
|
|
3423
3484
|
};
|
|
3424
3485
|
export {
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3486
|
+
_n as StreamLayerProvider,
|
|
3487
|
+
Jn as StreamLayerSDKPoints,
|
|
3488
|
+
Fn as StreamLayerSDKReact,
|
|
3489
|
+
pn as useStreamLayer,
|
|
3490
|
+
yn as useStreamLayerApp
|
|
3430
3491
|
};
|