@streamlayer/react 0.26.3 → 0.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{app-aa02d571.js → app-15ce925d.js} +1 -1
- package/lib/{app-f09f4092.cjs → app-bc994186.cjs} +1 -1
- package/lib/cjs/auth.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/masters.js +1 -1
- package/lib/cjs/points.js +1 -1
- package/lib/es/auth.js +2 -2
- package/lib/es/index.js +2 -2
- package/lib/es/masters.js +129 -326
- package/lib/es/points.js +2 -2
- package/lib/index-0f29ff3a.js +245 -0
- package/lib/index-3e88fb0c.cjs +1 -0
- package/lib/{index-72a4fe17.js → index-ad42babc.js} +734 -743
- package/lib/index-e9cf1c5b.cjs +14 -0
- package/lib/style.css +1 -1
- package/package.json +12 -11
- package/lib/index-cd6e92ee.cjs +0 -14
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { jsx as p, jsxs as
|
|
1
|
+
import { jsx as p, jsxs as z, Fragment as Oe } from "react/jsx-runtime";
|
|
2
2
|
import * as M from "react";
|
|
3
|
-
import Ke, { createContext as
|
|
4
|
-
import { useStreamLayerApp as
|
|
3
|
+
import Ke, { createContext as ki, useMemo as De, useCallback as He, useState as K, useEffect as kt, useRef as Ri, Component as _i, createElement as rt, PureComponent as fi } from "react";
|
|
4
|
+
import { useStreamLayerApp as Oi } from "./es/useStreamLayerApp.js";
|
|
5
5
|
import { FeatureStatus as Ve } from "@streamlayer/sdk-web-interfaces";
|
|
6
6
|
import { QuestionType as H, PickHistoryStatus as et, QuestionStatus as Rt, QuestionImages as Me, FeatureType as Yt } from "@streamlayer/sdk-web-types";
|
|
7
|
-
import { AvailableFeatures as
|
|
7
|
+
import { AvailableFeatures as Ui } from "@streamlayer/sdk-web-features";
|
|
8
8
|
import "@streamlayer/sdk-web-api";
|
|
9
|
-
import { Storage as
|
|
9
|
+
import { Storage as $i } from "@streamlayer/sdk-web-storage";
|
|
10
10
|
import { useStore as Z } from "@nanostores/react";
|
|
11
11
|
import { NotificationType as Vt } from "@streamlayer/sdk-web-notifications";
|
|
12
|
-
import { CountdownCircleTimer as
|
|
12
|
+
import { CountdownCircleTimer as Fi } from "react-countdown-circle-timer";
|
|
13
13
|
import "@streamlayer/sl-eslib/interactive/interactive.common_pb";
|
|
14
14
|
import "@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb";
|
|
15
15
|
import { SdkOverlayType as tt } from "@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb";
|
|
16
16
|
import "@streamlayer/sl-eslib/sports/events/events_connect";
|
|
17
17
|
import "@streamlayer/sl-eslib/sdkSettings/client/client_connect";
|
|
18
18
|
import { Users as _t } from "@streamlayer/sl-eslib/users/users_connect";
|
|
19
|
-
import
|
|
20
|
-
import
|
|
19
|
+
import Pi from "react-auth-code-input";
|
|
20
|
+
import Yi, { isValidPhoneNumber as Vi, formatPhoneNumberIntl as Zi } from "react-phone-number-input";
|
|
21
21
|
import { createPromiseClient as Ot } from "@connectrpc/connect";
|
|
22
22
|
import { createGrpcWebTransport as Ut } from "@connectrpc/connect-web";
|
|
23
|
-
var
|
|
24
|
-
const
|
|
23
|
+
var Qi = /* @__PURE__ */ ((r) => (r[r.UNSET = 0] = "UNSET", r[r.CONNECTED = 1] = "CONNECTED", r[r.READY = 2] = "READY", r))(Qi || {});
|
|
24
|
+
const Hi = ki({
|
|
25
25
|
status: 0,
|
|
26
26
|
sdk: null
|
|
27
|
-
}),
|
|
27
|
+
}), H0 = ({
|
|
28
28
|
sdkKey: r,
|
|
29
29
|
plugins: o,
|
|
30
30
|
children: l,
|
|
31
31
|
production: u = !0,
|
|
32
32
|
autoEnable: d = !0
|
|
33
33
|
}) => {
|
|
34
|
-
const g =
|
|
34
|
+
const g = Oi(r, o, u, d), f = De(() => g ? {
|
|
35
35
|
sdk: g,
|
|
36
36
|
status: 2
|
|
37
37
|
/* READY */
|
|
38
38
|
} : { status: 1, sdk: null }, [g]);
|
|
39
|
-
return /* @__PURE__ */ p(
|
|
39
|
+
return /* @__PURE__ */ p(Hi.Provider, { value: f, children: l });
|
|
40
40
|
}, $t = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSIxMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CiAgPHJlY3QgeD0iOC4yNSIgeT0iNyIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcpIiBmaWxsPSJ3aGl0ZSIvPgogIDxyZWN0IHg9IjciIHk9IjE1Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSA3IDE1Ljc1KSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";
|
|
41
|
-
function
|
|
41
|
+
function Gi(r) {
|
|
42
42
|
var o = /* @__PURE__ */ Object.create(null);
|
|
43
43
|
return function(l) {
|
|
44
44
|
return o[l] === void 0 && (o[l] = r(l)), o[l];
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
var
|
|
47
|
+
var Wi = /^((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)-.*))$/, mt = /* @__PURE__ */ Gi(
|
|
48
48
|
function(r) {
|
|
49
|
-
return
|
|
49
|
+
return Wi.test(r) || r.charCodeAt(0) === 111 && r.charCodeAt(1) === 110 && r.charCodeAt(2) < 91;
|
|
50
50
|
}
|
|
51
51
|
/* Z+1 */
|
|
52
|
-
),
|
|
52
|
+
), qi = function() {
|
|
53
53
|
const o = Array.prototype.slice.call(arguments).filter(Boolean), l = {}, u = [];
|
|
54
54
|
o.forEach((g) => {
|
|
55
55
|
(g ? g.split(" ") : []).forEach((s) => {
|
|
@@ -64,13 +64,13 @@ var qi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
64
64
|
for (const g in l)
|
|
65
65
|
Object.prototype.hasOwnProperty.call(l, g) && d.push(l[g]);
|
|
66
66
|
return d.push(...u), d.join(" ");
|
|
67
|
-
}, Zt =
|
|
67
|
+
}, Zt = qi, Ji = (r) => r.toUpperCase() === r, Xi = (r) => (o) => r.indexOf(o) === -1, gi = (r, o) => {
|
|
68
68
|
const l = {};
|
|
69
|
-
return Object.keys(r).filter(
|
|
69
|
+
return Object.keys(r).filter(Xi(o)).forEach((u) => {
|
|
70
70
|
l[u] = r[u];
|
|
71
71
|
}), l;
|
|
72
72
|
};
|
|
73
|
-
function
|
|
73
|
+
function Ki(r, o, l) {
|
|
74
74
|
const u = gi(o, l);
|
|
75
75
|
if (!r) {
|
|
76
76
|
const d = typeof mt == "function" ? { default: mt } : mt;
|
|
@@ -80,13 +80,13 @@ function er(r, o, l) {
|
|
|
80
80
|
}
|
|
81
81
|
return u;
|
|
82
82
|
}
|
|
83
|
-
var
|
|
83
|
+
var er = (r, o) => {
|
|
84
84
|
};
|
|
85
|
-
function
|
|
85
|
+
function tr(r) {
|
|
86
86
|
let o = "";
|
|
87
87
|
return (l) => {
|
|
88
88
|
const u = (g, f) => {
|
|
89
|
-
const { as: s = r, class: I = o } = g, N = l.propsAsIs === void 0 ? !(typeof s == "string" && s.indexOf("-") === -1 && !
|
|
89
|
+
const { as: s = r, class: I = o } = g, N = l.propsAsIs === void 0 ? !(typeof s == "string" && s.indexOf("-") === -1 && !Ji(s[0])) : l.propsAsIs, E = Ki(N, g, [
|
|
90
90
|
"as",
|
|
91
91
|
"class"
|
|
92
92
|
]);
|
|
@@ -96,10 +96,10 @@ function ir(r) {
|
|
|
96
96
|
const C = {};
|
|
97
97
|
for (const y in x) {
|
|
98
98
|
const A = x[y], w = A[0], T = A[1] || "", S = typeof w == "function" ? w(g) : w;
|
|
99
|
-
|
|
99
|
+
er(S, l.name), C[`--${y}`] = `${S}${T}`;
|
|
100
100
|
}
|
|
101
|
-
const v = E.style || {},
|
|
102
|
-
|
|
101
|
+
const v = E.style || {}, L = Object.keys(v);
|
|
102
|
+
L.length > 0 && L.forEach((y) => {
|
|
103
103
|
C[y] = v[y];
|
|
104
104
|
}), E.style = C;
|
|
105
105
|
}
|
|
@@ -118,40 +118,40 @@ function ir(r) {
|
|
|
118
118
|
}, d;
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
|
-
var m =
|
|
122
|
-
const
|
|
121
|
+
var m = tr;
|
|
122
|
+
const ir = /* @__PURE__ */ m("div")({
|
|
123
123
|
name: "o",
|
|
124
124
|
class: "o1gwxd13",
|
|
125
125
|
propsAsIs: !1
|
|
126
|
-
}),
|
|
126
|
+
}), rr = /* @__PURE__ */ m("div")({
|
|
127
127
|
name: "n",
|
|
128
128
|
class: "nsmzrlg",
|
|
129
129
|
propsAsIs: !1
|
|
130
|
-
}),
|
|
130
|
+
}), nr = /* @__PURE__ */ m("img")({
|
|
131
131
|
name: "i",
|
|
132
132
|
class: "i81s9fc",
|
|
133
133
|
propsAsIs: !1
|
|
134
|
-
}),
|
|
134
|
+
}), or = /* @__PURE__ */ m("div")({
|
|
135
135
|
name: "r",
|
|
136
136
|
class: "rlmx6cw",
|
|
137
137
|
propsAsIs: !1
|
|
138
|
-
}),
|
|
138
|
+
}), sr = /* @__PURE__ */ m("div")({
|
|
139
139
|
name: "d",
|
|
140
140
|
class: "dqb0kgq",
|
|
141
141
|
propsAsIs: !1
|
|
142
|
-
}),
|
|
142
|
+
}), ar = /* @__PURE__ */ m("div")({
|
|
143
143
|
name: "l",
|
|
144
144
|
class: "l1tjaqbq",
|
|
145
145
|
propsAsIs: !1
|
|
146
|
-
}),
|
|
146
|
+
}), lr = /* @__PURE__ */ m("div")({
|
|
147
147
|
name: "a",
|
|
148
148
|
class: "a1tb5jb7",
|
|
149
149
|
propsAsIs: !1
|
|
150
|
-
}),
|
|
150
|
+
}), cr = /* @__PURE__ */ m("button")({
|
|
151
151
|
name: "c",
|
|
152
152
|
class: "c11xpv3i",
|
|
153
153
|
propsAsIs: !1
|
|
154
|
-
}),
|
|
154
|
+
}), ur = /* @__PURE__ */ m("img")({
|
|
155
155
|
name: "s",
|
|
156
156
|
class: "s12ztjhk",
|
|
157
157
|
propsAsIs: !1
|
|
@@ -162,14 +162,14 @@ const rr = /* @__PURE__ */ m("div")({
|
|
|
162
162
|
},
|
|
163
163
|
[r]
|
|
164
164
|
);
|
|
165
|
-
return /* @__PURE__ */
|
|
166
|
-
/* @__PURE__ */ p(
|
|
167
|
-
/* @__PURE__ */
|
|
168
|
-
/* @__PURE__ */ p(
|
|
169
|
-
/* @__PURE__ */ p(
|
|
165
|
+
return /* @__PURE__ */ z(ir, { onClick: o, children: [
|
|
166
|
+
/* @__PURE__ */ p(rr, { style: l ? { backgroundColor: l } : {}, children: u && /* @__PURE__ */ p(nr, { alt: "in-app-icon", src: u }) }),
|
|
167
|
+
/* @__PURE__ */ z(or, { children: [
|
|
168
|
+
/* @__PURE__ */ p(sr, { children: /* @__PURE__ */ p(ar, { id: "in-app-title", children: d || "" }) }),
|
|
169
|
+
/* @__PURE__ */ p(lr, { children: /* @__PURE__ */ p(cr, { onClick: g, children: /* @__PURE__ */ p(ur, { alt: "close-in-app-icon", src: $t }) }) })
|
|
170
170
|
] })
|
|
171
171
|
] });
|
|
172
|
-
},
|
|
172
|
+
}, hr = {
|
|
173
173
|
BG_TRANSPARENT: "rgba(0,0,0, .8)",
|
|
174
174
|
BG_TRANSPARENT_VOTE_CONTAINER: "rgba(10, 14, 19, 0.8)",
|
|
175
175
|
BG_TRANSPARENT_ITEM: "rgba(0, 0, 0, 0.7)",
|
|
@@ -198,7 +198,7 @@ const rr = /* @__PURE__ */ m("div")({
|
|
|
198
198
|
GREY_PRIMARY: "#909395",
|
|
199
199
|
DIVIDER_COLOR_SECONDARY: "#53565a",
|
|
200
200
|
GREEN_PRIMARY_BTN: "#009B77"
|
|
201
|
-
},
|
|
201
|
+
}, dr = {
|
|
202
202
|
PRIMARY_GREEN1: "#107D57",
|
|
203
203
|
PRIMARY_GREEN2: "#006747",
|
|
204
204
|
PRIMARY_GREEN3: "#1C4932",
|
|
@@ -220,7 +220,7 @@ const rr = /* @__PURE__ */ m("div")({
|
|
|
220
220
|
NEUTRALS_GRAY8: "#53565A",
|
|
221
221
|
NEUTRALS_GRAY9: "#25282A",
|
|
222
222
|
NEUTRALS_BLACK: "#000000"
|
|
223
|
-
}, Le = Object.assign({},
|
|
223
|
+
}, Le = Object.assign({}, hr, dr);
|
|
224
224
|
Object.keys(Le).reduce((r, o) => {
|
|
225
225
|
const l = Le[o];
|
|
226
226
|
return `
|
|
@@ -228,29 +228,29 @@ Object.keys(Le).reduce((r, o) => {
|
|
|
228
228
|
--color-${o.toLowerCase().replaceAll("_", "-")}: ${l};
|
|
229
229
|
`;
|
|
230
230
|
}, "");
|
|
231
|
-
const
|
|
231
|
+
const pr = [Le.PRIMARY_GREEN1, Le.SECONDARY_RED1, Le.SECONDARY_RED1], fr = [10, 10, 0], gr = /* @__PURE__ */ m("div")({
|
|
232
232
|
name: "A",
|
|
233
233
|
class: "a1f928zy",
|
|
234
234
|
propsAsIs: !1
|
|
235
|
-
}),
|
|
235
|
+
}), mr = Le.SECONDARY_GREEN6, Qt = Le.SECONDARY_RED3, Ir = Le.NEUTRALS_GRAY3, Ii = ({
|
|
236
236
|
isPlaying: r = !0,
|
|
237
237
|
duration: o = 30,
|
|
238
238
|
onTimerExpired: l
|
|
239
239
|
}) => {
|
|
240
|
-
const [u, d] = K(o > 10 ?
|
|
240
|
+
const [u, d] = K(o > 10 ? mr : Qt), g = ({
|
|
241
241
|
remainingTime: I
|
|
242
|
-
}) => /* @__PURE__ */ p(
|
|
242
|
+
}) => /* @__PURE__ */ p(gr, {
|
|
243
243
|
children: I
|
|
244
244
|
}), f = He(() => {
|
|
245
|
-
l == null || l(), d(
|
|
245
|
+
l == null || l(), d(Ir);
|
|
246
246
|
}, [l, d]), s = He((I) => {
|
|
247
247
|
I === 10 && d(Qt);
|
|
248
248
|
}, [d]);
|
|
249
|
-
return /* @__PURE__ */ p(
|
|
249
|
+
return /* @__PURE__ */ p(Fi, {
|
|
250
250
|
isPlaying: r,
|
|
251
251
|
duration: o,
|
|
252
|
-
colors:
|
|
253
|
-
colorsTime:
|
|
252
|
+
colors: pr,
|
|
253
|
+
colorsTime: fr,
|
|
254
254
|
size: 32,
|
|
255
255
|
strokeWidth: 2,
|
|
256
256
|
trailStrokeWidth: 2,
|
|
@@ -259,24 +259,24 @@ const fr = [Le.PRIMARY_GREEN1, Le.SECONDARY_RED1, Le.SECONDARY_RED1], gr = [10,
|
|
|
259
259
|
onUpdate: s,
|
|
260
260
|
children: g
|
|
261
261
|
});
|
|
262
|
-
},
|
|
262
|
+
}, yr = async (r, o) => {
|
|
263
263
|
const l = Ut({
|
|
264
264
|
baseUrl: r
|
|
265
265
|
});
|
|
266
266
|
return await Ot(_t, l).requestPassword({ id: o }), !0;
|
|
267
|
-
},
|
|
267
|
+
}, Mr = async (r, o) => {
|
|
268
268
|
const l = Ut({
|
|
269
269
|
baseUrl: r
|
|
270
270
|
});
|
|
271
271
|
return await Ot(_t, l).register({ id: o }), !0;
|
|
272
|
-
},
|
|
272
|
+
}, Cr = async (r, o, l) => {
|
|
273
273
|
var u;
|
|
274
274
|
const d = Ut({
|
|
275
275
|
baseUrl: r
|
|
276
276
|
}), g = await Ot(_t, d).login({ id: o, password: l });
|
|
277
277
|
return (u = g == null ? void 0 : g.meta) == null ? void 0 : u.jwt;
|
|
278
278
|
};
|
|
279
|
-
const
|
|
279
|
+
const wr = /* @__PURE__ */ m("div")({
|
|
280
280
|
name: "n",
|
|
281
281
|
class: "nhpumh7",
|
|
282
282
|
propsAsIs: !1
|
|
@@ -296,23 +296,23 @@ const Er = /* @__PURE__ */ m("div")({
|
|
|
296
296
|
name: "a",
|
|
297
297
|
class: "a1ifs31v",
|
|
298
298
|
propsAsIs: !1
|
|
299
|
-
}),
|
|
299
|
+
}), Er = /* @__PURE__ */ m("div")({
|
|
300
300
|
name: "p",
|
|
301
301
|
class: "p10d4aqp",
|
|
302
302
|
propsAsIs: !1
|
|
303
|
-
}),
|
|
303
|
+
}), Ar = /* @__PURE__ */ m("div")({
|
|
304
304
|
name: "d",
|
|
305
305
|
class: "dje8inq",
|
|
306
306
|
propsAsIs: !1
|
|
307
|
-
}),
|
|
307
|
+
}), Nr = ({ login: r, anonymousLogin: o, host: l }) => {
|
|
308
308
|
const [u, d] = K(""), [g, f] = K(""), [s, I] = K(""), N = async (x) => {
|
|
309
309
|
x.preventDefault();
|
|
310
310
|
try {
|
|
311
311
|
const C = u.replaceAll("+", "");
|
|
312
312
|
try {
|
|
313
|
-
await
|
|
313
|
+
await yr(l, C);
|
|
314
314
|
} catch {
|
|
315
|
-
await
|
|
315
|
+
await Mr(l, C);
|
|
316
316
|
}
|
|
317
317
|
f(C);
|
|
318
318
|
} catch (C) {
|
|
@@ -321,33 +321,33 @@ const Er = /* @__PURE__ */ m("div")({
|
|
|
321
321
|
}, E = async (x) => {
|
|
322
322
|
if (x.preventDefault(), g && s)
|
|
323
323
|
try {
|
|
324
|
-
const C = await
|
|
324
|
+
const C = await Cr(l, g, s);
|
|
325
325
|
C && r ? await r(C) : console.log("token", C);
|
|
326
326
|
} catch (C) {
|
|
327
327
|
window.alert(C);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
|
-
return /* @__PURE__ */
|
|
331
|
-
!g && /* @__PURE__ */
|
|
332
|
-
/* @__PURE__ */
|
|
330
|
+
return /* @__PURE__ */ z(wr, { children: [
|
|
331
|
+
!g && /* @__PURE__ */ z("div", { children: [
|
|
332
|
+
/* @__PURE__ */ z(Ht, { onSubmit: N, children: [
|
|
333
333
|
/* @__PURE__ */ p(Gt, { children: "Enter your phone number" }),
|
|
334
334
|
/* @__PURE__ */ p(It, { children: "Enter your phone up for number to log in or sign an account." }),
|
|
335
|
-
/* @__PURE__ */ p(
|
|
336
|
-
/* @__PURE__ */ p(yt, { disabled: !
|
|
335
|
+
/* @__PURE__ */ p(Er, { children: /* @__PURE__ */ p(Yi, { value: u, onChange: (x) => d(`${x}`) }) }),
|
|
336
|
+
/* @__PURE__ */ p(yt, { disabled: !Vi(u), type: "submit", children: "request code" })
|
|
337
337
|
] }),
|
|
338
338
|
o && /* @__PURE__ */ p(yt, { style: { display: "block", margin: "auto" }, onClick: o, children: "anonymous login" })
|
|
339
339
|
] }),
|
|
340
|
-
g && /* @__PURE__ */
|
|
340
|
+
g && /* @__PURE__ */ z(Ht, { onSubmit: E, children: [
|
|
341
341
|
/* @__PURE__ */ p(Gt, { children: "Enter Verification Code" }),
|
|
342
|
-
/* @__PURE__ */
|
|
342
|
+
/* @__PURE__ */ z(It, { children: [
|
|
343
343
|
"Please enter the verification code ",
|
|
344
344
|
/* @__PURE__ */ p("br", {}),
|
|
345
345
|
"sent to ",
|
|
346
|
-
/* @__PURE__ */ p("b", { children:
|
|
346
|
+
/* @__PURE__ */ p("b", { children: Zi(u) })
|
|
347
347
|
] }),
|
|
348
|
-
/* @__PURE__ */ p(
|
|
348
|
+
/* @__PURE__ */ p(Ar, { children: /* @__PURE__ */ p(Pi, { autoFocus: !0, allowedCharacters: "numeric", length: 4, onChange: I }) }),
|
|
349
349
|
/* @__PURE__ */ p(yt, { disabled: s.length !== 4, type: "submit", children: "login" }),
|
|
350
|
-
/* @__PURE__ */
|
|
350
|
+
/* @__PURE__ */ z(It, { children: [
|
|
351
351
|
"Didn't get 59 the code? ",
|
|
352
352
|
/* @__PURE__ */ p("br", {}),
|
|
353
353
|
"Resend Code in",
|
|
@@ -356,39 +356,39 @@ const Er = /* @__PURE__ */ m("div")({
|
|
|
356
356
|
] })
|
|
357
357
|
] });
|
|
358
358
|
};
|
|
359
|
-
const
|
|
359
|
+
const xr = /* @__PURE__ */ m("div")({
|
|
360
360
|
name: "i",
|
|
361
361
|
class: "i1grt8h",
|
|
362
362
|
propsAsIs: !1
|
|
363
|
-
}),
|
|
363
|
+
}), Tr = /* @__PURE__ */ m("div")({
|
|
364
364
|
name: "n",
|
|
365
365
|
class: "n1rozou",
|
|
366
366
|
propsAsIs: !1
|
|
367
|
-
}),
|
|
367
|
+
}), vr = /* @__PURE__ */ m("img")({
|
|
368
368
|
name: "o",
|
|
369
369
|
class: "o81ls6z",
|
|
370
370
|
propsAsIs: !1
|
|
371
|
-
}),
|
|
371
|
+
}), Dr = /* @__PURE__ */ m("div")({
|
|
372
372
|
name: "d",
|
|
373
373
|
class: "d9l6z9i",
|
|
374
374
|
propsAsIs: !1
|
|
375
|
-
}),
|
|
376
|
-
/* @__PURE__ */ p(
|
|
377
|
-
/* @__PURE__ */ p(
|
|
375
|
+
}), Lr = ({ graphic: r, headline: o }) => /* @__PURE__ */ p(xr, { children: /* @__PURE__ */ z(Tr, { children: [
|
|
376
|
+
/* @__PURE__ */ p(vr, { alt: "graphic-img-instructions", src: r }),
|
|
377
|
+
/* @__PURE__ */ p(Dr, { children: o })
|
|
378
378
|
] }) });
|
|
379
|
-
const
|
|
379
|
+
const zr = /* @__PURE__ */ m("div")({
|
|
380
380
|
name: "e",
|
|
381
381
|
class: "e1o3lzmc",
|
|
382
382
|
propsAsIs: !1
|
|
383
|
-
}),
|
|
383
|
+
}), Sr = /* @__PURE__ */ m("div")({
|
|
384
384
|
name: "o",
|
|
385
385
|
class: "otjo97h",
|
|
386
386
|
propsAsIs: !1
|
|
387
|
-
}),
|
|
387
|
+
}), jr = /* @__PURE__ */ m("div")({
|
|
388
388
|
name: "i",
|
|
389
389
|
class: "ivk43vg",
|
|
390
390
|
propsAsIs: !1
|
|
391
|
-
}),
|
|
391
|
+
}), Br = /* @__PURE__ */ m("img")({
|
|
392
392
|
name: "r",
|
|
393
393
|
class: "r1w33akz",
|
|
394
394
|
propsAsIs: !1
|
|
@@ -396,93 +396,93 @@ const Sr = /* @__PURE__ */ m("div")({
|
|
|
396
396
|
name: "c",
|
|
397
397
|
class: "c1a3ssoy",
|
|
398
398
|
propsAsIs: !1
|
|
399
|
-
}),
|
|
399
|
+
}), kr = /* @__PURE__ */ m("div")({
|
|
400
400
|
name: "a",
|
|
401
401
|
class: "ayzr5mb",
|
|
402
402
|
propsAsIs: !1
|
|
403
|
-
}),
|
|
403
|
+
}), Rr = /* @__PURE__ */ m("button")({
|
|
404
404
|
name: "p",
|
|
405
405
|
class: "p30t8qv",
|
|
406
406
|
propsAsIs: !1
|
|
407
|
-
}),
|
|
407
|
+
}), _r = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkZyaWVuZHMiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNNC4xOTIzMSA3LjAzMTI1QzIuNjYzNDYgNy4wMzEyNSAxLjQyMzA4IDguMTk5NzMgMS40MjMwOCA5LjYzOTk0QzEuNDIzMDggMTEuMDgwMiAyLjY2MzQ2IDEyLjI0ODYgNC4xOTIzMSAxMi4yNDg2QzUuNzIxMTUgMTIuMjQ4NiA2Ljk2MTU0IDExLjA4MDIgNi45NjE1NCA5LjYzOTk0QzYuOTYxNTQgOC4xOTk3MyA1LjcyMTE1IDcuMDMxMjUgNC4xOTIzMSA3LjAzMTI1Wk00LjE5MjMxIDEyLjI0ODZDMi4xNjIyNiAxMi4yNDg2IDAuNSAxMy44MTQ1IDAuNSAxNS43MjY5VjE3LjYyOUMwLjUgMTcuNjI5IDEuNDIzMDggMTguMzM1NiA0LjE5MjMxIDE4LjMzNTZDNi45NjE1NCAxOC4zMzU2IDcuODg0NjEgMTcuNjI5IDcuODg0NjEgMTcuNjI5VjE1LjcyNjlDNy44ODQ2MSAxMy44MTQ1IDYuMjIyMzYgMTIuMjQ4NiA0LjE5MjMxIDEyLjI0ODZaTTIwLjgwNzcgNy4wMzEyNUMxOS4yNzg4IDcuMDMxMjUgMTguMDM4NSA4LjE5OTczIDE4LjAzODUgOS42Mzk5NEMxOC4wMzg1IDExLjA4MDIgMTkuMjc4OCAxMi4yNDg2IDIwLjgwNzcgMTIuMjQ4NkMyMi4zMzY1IDEyLjI0ODYgMjMuNTc2OSAxMS4wODAyIDIzLjU3NjkgOS42Mzk5NEMyMy41NzY5IDguMTk5NzMgMjIuMzM2NSA3LjAzMTI1IDIwLjgwNzcgNy4wMzEyNVpNMjAuODA3NyAxMi4yNDg2QzE4Ljc3NzYgMTIuMjQ4NiAxNy4xMTU0IDEzLjgxNDUgMTcuMTE1NCAxNS43MjY5VjE3LjYyOUMxNy4xMTU0IDE3LjYyOSAxOC4wMzg1IDE4LjMzNTYgMjAuODA3NyAxOC4zMzU2QzIzLjU3NjkgMTguMzM1NiAyNC41IDE3LjYyOSAyNC41IDE3LjYyOVYxNS43MjY5QzI0LjUgMTMuODE0NSAyMi44Mzc3IDEyLjI0ODYgMjAuODA3NyAxMi4yNDg2Wk0xMi41IDEwLjUwOTVDMTAuOTcxMiAxMC41MDk1IDkuNzMwNzcgMTEuNjc4IDkuNzMwNzcgMTMuMTE4MkM5LjczMDc3IDE0LjU1ODQgMTAuOTcxMiAxNS43MjY5IDEyLjUgMTUuNzI2OUMxNC4wMjg4IDE1LjcyNjkgMTUuMjY5MiAxNC41NTg0IDE1LjI2OTIgMTMuMTE4MkMxNS4yNjkyIDExLjY3OCAxNC4wMjg4IDEwLjUwOTUgMTIuNSAxMC41MDk1Wk0xMi41IDE1LjcyNjlDMTAuNDcgMTUuNzI2OSA4LjgwNzY5IDE3LjI5MjggOC44MDc2OSAxOS4yMDUxVjIxLjEwNzNDOC44MDc2OSAyMS4xMDczIDkuNzMwNzcgMjEuODEzOCAxMi41IDIxLjgxMzhDMTUuMjY5MiAyMS44MTM4IDE2LjE5MjMgMjEuMTA3MyAxNi4xOTIzIDIxLjEwNzNWMTkuMjA1MUMxNi4xOTIzIDE3LjI5MjggMTQuNTMgMTUuNzI2OSAxMi41IDE1LjcyNjlaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBpZD0iVmVjdG9yXzIiIGQ9Ik04LjU4NDczIDEuNUM2Ljk2MzkyIDEuNSA1LjY0ODkzIDIuNzM4NzYgNS42NDg5MyA0LjI2NTZDNS42NDg5MyA1Ljc5MjQ1IDYuOTYzOTIgNy4wMzEyMSA4LjU4NDczIDcuMDMxMjFDMTAuMjA1NSA3LjAzMTIxIDExLjUyMDUgNS43OTI0NSAxMS41MjA1IDQuMjY1NkMxMS41MjA1IDIuNzM4NzYgMTAuMjA1NSAxLjUgOC41ODQ3MyAxLjVaTTguNTg0NzMgNy4wMzEyMUM4LjI5MDM4IDcuMDMxMjEgNy45OTIyMSA3LjAyNCA3LjY5Nzg3IDcuMTE3NjNDOC4yODY1NiA3Ljg1NTg0IDguNTg0NzMgOC43ODEzMSA4LjU4NDczIDkuNzk2ODFDOC41ODQ3MyAxMC4xNjQxIDguNDkyOTggMTAuNTI0MiA4LjQ5Mjk4IDEwLjg5MTVDOS4yNzY2MyA5Ljc4NjAxIDEwLjU0MTkgOS4wNTg1OSAxMi4wMDk4IDguODc0OTRDMTEuMzI1NiA3Ljc2OTQyIDEwLjA1MjYgNy4wMzEyMSA4LjU4NDczIDcuMDMxMjFaTTE2LjQxMzUgMS41QzE0Ljc5MjcgMS41IDEzLjQ3NzcgMi43Mzg3NiAxMy40Nzc3IDQuMjY1NkMxMy40Nzc3IDUuNzkyNDUgMTQuNzkyNyA3LjAzMTIxIDE2LjQxMzUgNy4wMzEyMUMxOC4wMzQzIDcuMDMxMjEgMTkuMzQ5MyA1Ljc5MjQ1IDE5LjM0OTMgNC4yNjU2QzE5LjM0OTMgMi43Mzg3NiAxOC4wMzQzIDEuNSAxNi40MTM1IDEuNVpNMTYuNDEzNSA3LjAzMTIxQzE0Ljk0NTYgNy4wMzEyMSAxMy42NzI3IDcuNzY5NDIgMTIuOTg4NCA4Ljg3NDk0QzE0LjQ1NjMgOS4wNTg1OSAxNS43MjE2IDkuNzg2MDEgMTYuNTA1MyAxMC44OTE1QzE2LjUwNTMgMTAuNTI0MiAxNi40MTM1IDEwLjE2NDEgMTYuNDEzNSA5Ljc5NjgxQzE2LjQxMzUgOC43ODEzMSAxNi43MTE3IDcuODU1ODQgMTcuMzAwNCA3LjExNzYzQzE3LjAwNiA3LjAyNCAxNi43MDc5IDcuMDMxMjEgMTYuNDEzNSA3LjAzMTIxWiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC40Ii8+CjwvZz4KPC9zdmc+Cg==", Or = ({
|
|
408
408
|
inviteCardTitle: r,
|
|
409
409
|
inviteCardSubtext: o,
|
|
410
410
|
primaryColor: l
|
|
411
|
-
}) => /* @__PURE__ */ p(
|
|
412
|
-
/* @__PURE__ */ p(
|
|
411
|
+
}) => /* @__PURE__ */ p(zr, { children: /* @__PURE__ */ z(Sr, { children: [
|
|
412
|
+
/* @__PURE__ */ p(jr, { style: { backgroundColor: l }, children: /* @__PURE__ */ p(Br, { alt: "invite-game-icon", src: _r }) }),
|
|
413
413
|
/* @__PURE__ */ p(br, { children: r || "" }),
|
|
414
|
-
/* @__PURE__ */ p(
|
|
415
|
-
/* @__PURE__ */ p(
|
|
414
|
+
/* @__PURE__ */ p(kr, { children: o || "" }),
|
|
415
|
+
/* @__PURE__ */ p(Rr, { onClick: () => {
|
|
416
416
|
}, style: { backgroundColor: l }, children: "Invite friends!" })
|
|
417
417
|
] }) });
|
|
418
|
-
const
|
|
418
|
+
const Ur = /* @__PURE__ */ m("div")({
|
|
419
419
|
name: "t",
|
|
420
420
|
class: "ty54o42",
|
|
421
421
|
propsAsIs: !1
|
|
422
|
-
}),
|
|
422
|
+
}), $r = /* @__PURE__ */ m("div")({
|
|
423
423
|
name: "o",
|
|
424
424
|
class: "oqyp1qa",
|
|
425
425
|
propsAsIs: !1
|
|
426
|
-
}),
|
|
426
|
+
}), Fr = /* @__PURE__ */ m("div")({
|
|
427
427
|
name: "r",
|
|
428
428
|
class: "rf1d3db",
|
|
429
429
|
propsAsIs: !1
|
|
430
|
-
}),
|
|
430
|
+
}), Pr = /* @__PURE__ */ m("div")({
|
|
431
431
|
name: "n",
|
|
432
432
|
class: "n187jgct",
|
|
433
433
|
propsAsIs: !1
|
|
434
|
-
}),
|
|
434
|
+
}), Yr = /* @__PURE__ */ m("div")({
|
|
435
435
|
name: "d",
|
|
436
436
|
class: "d1i3t4lw",
|
|
437
437
|
propsAsIs: !1
|
|
438
|
-
}),
|
|
438
|
+
}), Vr = /* @__PURE__ */ m("div")({
|
|
439
439
|
name: "l",
|
|
440
440
|
class: "l1heulx5",
|
|
441
441
|
propsAsIs: !1
|
|
442
|
-
}),
|
|
443
|
-
/* @__PURE__ */ p(
|
|
444
|
-
/* @__PURE__ */ p(
|
|
445
|
-
/* @__PURE__ */ p(
|
|
446
|
-
/* @__PURE__ */ p(
|
|
442
|
+
}), Zr = ({ rules: r, rulesTitle: o, primaryColor: l }) => /* @__PURE__ */ z(Ur, { children: [
|
|
443
|
+
/* @__PURE__ */ p($r, { children: o }),
|
|
444
|
+
/* @__PURE__ */ p(Fr, { children: r == null ? void 0 : r.map((u, d) => /* @__PURE__ */ z(Pr, { children: [
|
|
445
|
+
/* @__PURE__ */ p(Yr, { style: { backgroundColor: l }, children: d + 1 }),
|
|
446
|
+
/* @__PURE__ */ p(Vr, { children: u })
|
|
447
447
|
] }, d)) })
|
|
448
448
|
] });
|
|
449
|
-
const
|
|
449
|
+
const Qr = /* @__PURE__ */ m("div")({
|
|
450
450
|
name: "n",
|
|
451
451
|
class: "n1cm2rh8",
|
|
452
452
|
propsAsIs: !1
|
|
453
|
-
}),
|
|
453
|
+
}), Hr = /* @__PURE__ */ m("div")({
|
|
454
454
|
name: "e",
|
|
455
455
|
class: "e9j28tc",
|
|
456
456
|
propsAsIs: !1
|
|
457
|
-
}),
|
|
457
|
+
}), Gr = /* @__PURE__ */ m("div")({
|
|
458
458
|
name: "i",
|
|
459
459
|
class: "iu1o1a8",
|
|
460
460
|
propsAsIs: !1
|
|
461
|
-
}),
|
|
461
|
+
}), Wr = /* @__PURE__ */ m("div")({
|
|
462
462
|
name: "r",
|
|
463
463
|
class: "r14ailyk",
|
|
464
464
|
propsAsIs: !1
|
|
465
|
-
}),
|
|
465
|
+
}), qr = /* @__PURE__ */ m("div")({
|
|
466
466
|
name: "c",
|
|
467
467
|
class: "c11ybl5c",
|
|
468
468
|
propsAsIs: !1
|
|
469
|
-
}),
|
|
469
|
+
}), Jr = /* @__PURE__ */ m("img")({
|
|
470
470
|
name: "s",
|
|
471
471
|
class: "sd9s97",
|
|
472
472
|
propsAsIs: !1
|
|
473
|
-
}),
|
|
473
|
+
}), Xr = /* @__PURE__ */ m("img")({
|
|
474
474
|
name: "l",
|
|
475
475
|
class: "l1ddowgh",
|
|
476
476
|
propsAsIs: !1
|
|
477
|
-
}),
|
|
477
|
+
}), Kr = /* @__PURE__ */ m("button")({
|
|
478
478
|
name: "d",
|
|
479
479
|
class: "d1s3ug7g",
|
|
480
480
|
propsAsIs: !1
|
|
481
|
-
}),
|
|
481
|
+
}), en = /* @__PURE__ */ m("img")({
|
|
482
482
|
name: "p",
|
|
483
483
|
class: "p17kmhv2",
|
|
484
484
|
propsAsIs: !1
|
|
485
|
-
}),
|
|
485
|
+
}), tn = /* @__PURE__ */ m("button")({
|
|
486
486
|
name: "a",
|
|
487
487
|
class: "a1qucmt7",
|
|
488
488
|
propsAsIs: !1
|
|
@@ -490,7 +490,7 @@ const Hr = /* @__PURE__ */ m("div")({
|
|
|
490
490
|
steps: !1,
|
|
491
491
|
rules: !1,
|
|
492
492
|
inviteCard: !1
|
|
493
|
-
},
|
|
493
|
+
}, rn = ({
|
|
494
494
|
gamification: r,
|
|
495
495
|
closeFeature: o,
|
|
496
496
|
steps: l,
|
|
@@ -508,26 +508,26 @@ const Hr = /* @__PURE__ */ m("div")({
|
|
|
508
508
|
await r.submitInplay();
|
|
509
509
|
}, v = () => {
|
|
510
510
|
o();
|
|
511
|
-
}, [
|
|
512
|
-
|
|
511
|
+
}, [L, y] = K(0), [A, w] = K($e);
|
|
512
|
+
kt(() => {
|
|
513
513
|
l != null && l.length ? w({ ...$e, steps: !0 }) : g != null && g.length ? w({ ...$e, rules: !0 }) : w({ ...$e, inviteCard: !0 });
|
|
514
514
|
}, []);
|
|
515
515
|
const T = He(() => {
|
|
516
|
-
l != null && l.length &&
|
|
517
|
-
}, [
|
|
518
|
-
return /* @__PURE__ */
|
|
519
|
-
/* @__PURE__ */
|
|
520
|
-
/* @__PURE__ */ p(
|
|
521
|
-
/* @__PURE__ */
|
|
522
|
-
d && /* @__PURE__ */ p(
|
|
523
|
-
/* @__PURE__ */ p(
|
|
516
|
+
l != null && l.length && L < l.length - 1 ? y((S) => ++S) : g != null && g.length && A.steps ? w({ ...$e, rules: !0 }) : A.rules && w({ ...$e, inviteCard: !0 });
|
|
517
|
+
}, [L, l == null ? void 0 : l.length, g == null ? void 0 : g.length, A, y, w]);
|
|
518
|
+
return /* @__PURE__ */ z(Qr, { children: [
|
|
519
|
+
/* @__PURE__ */ z(Gr, { children: [
|
|
520
|
+
/* @__PURE__ */ p(Wr, { children: u && /* @__PURE__ */ p(Jr, { alt: "sponsor-one-onboarding-icon", src: u }) }),
|
|
521
|
+
/* @__PURE__ */ z(qr, { children: [
|
|
522
|
+
d && /* @__PURE__ */ p(Xr, { alt: "sponsor-two-onboarding-icon", src: d }),
|
|
523
|
+
/* @__PURE__ */ p(Kr, { onClick: v, children: /* @__PURE__ */ p(en, { alt: "icon-close-onboarding", src: $t }) })
|
|
524
524
|
] })
|
|
525
525
|
] }),
|
|
526
|
-
/* @__PURE__ */
|
|
527
|
-
A.steps && (l == null ? void 0 : l.length) && /* @__PURE__ */ p(
|
|
528
|
-
A.rules && /* @__PURE__ */ p(
|
|
526
|
+
/* @__PURE__ */ z(Hr, { children: [
|
|
527
|
+
A.steps && (l == null ? void 0 : l.length) && /* @__PURE__ */ p(Lr, { graphic: l[L].graphic, headline: l[L].headline }),
|
|
528
|
+
A.rules && /* @__PURE__ */ p(Zr, { rules: g, rulesTitle: s, primaryColor: I }),
|
|
529
529
|
A.inviteCard && /* @__PURE__ */ p(
|
|
530
|
-
|
|
530
|
+
Or,
|
|
531
531
|
{
|
|
532
532
|
inviteCardTitle: N,
|
|
533
533
|
inviteCardSubtext: E,
|
|
@@ -535,28 +535,28 @@ const Hr = /* @__PURE__ */ m("div")({
|
|
|
535
535
|
}
|
|
536
536
|
)
|
|
537
537
|
] }),
|
|
538
|
-
/* @__PURE__ */ p(
|
|
538
|
+
/* @__PURE__ */ p(tn, { onClick: A.inviteCard ? C : T, children: A.rules ? f || "Got it!" : A.inviteCard ? x || "Play now!" : "Next" })
|
|
539
539
|
] });
|
|
540
540
|
};
|
|
541
|
-
const
|
|
541
|
+
const nn = /* @__PURE__ */ m("div")({
|
|
542
542
|
name: "t",
|
|
543
543
|
class: "tcim9sm",
|
|
544
544
|
propsAsIs: !1
|
|
545
|
-
}),
|
|
545
|
+
}), on = /* @__PURE__ */ m("div")({
|
|
546
546
|
name: "e",
|
|
547
547
|
class: "e8wco6o",
|
|
548
548
|
propsAsIs: !1
|
|
549
|
-
}),
|
|
549
|
+
}), sn = /* @__PURE__ */ m("button")({
|
|
550
550
|
name: "n",
|
|
551
551
|
class: "n1ardwzl",
|
|
552
552
|
propsAsIs: !1
|
|
553
|
-
}),
|
|
553
|
+
}), an = /* @__PURE__ */ m("span")({
|
|
554
554
|
name: "i",
|
|
555
555
|
class: "i1vk8ojx",
|
|
556
556
|
propsAsIs: !1
|
|
557
557
|
});
|
|
558
558
|
var nt = /* @__PURE__ */ ((r) => (r.HOME = "home", r.LEADERBOARD = "leaderboard", r))(nt || {});
|
|
559
|
-
const Wt = ({ title: r, active: o, onClick: l }) => /* @__PURE__ */ p(
|
|
559
|
+
const Wt = ({ title: r, active: o, onClick: l }) => /* @__PURE__ */ p(sn, { onClick: l, "data-selected": o, children: /* @__PURE__ */ p(an, { children: r }) }), ln = ({ activePage: r = "home", toggleActivePage: o }) => /* @__PURE__ */ p(nn, { children: /* @__PURE__ */ z(on, { "data-position": r === "home" ? "left" : "right", children: [
|
|
560
560
|
/* @__PURE__ */ p(Wt, { title: "Home", active: r === "home", onClick: () => o(
|
|
561
561
|
"home"
|
|
562
562
|
/* HOME */
|
|
@@ -573,39 +573,15 @@ const Wt = ({ title: r, active: o, onClick: l }) => /* @__PURE__ */ p(an, { onCl
|
|
|
573
573
|
}
|
|
574
574
|
)
|
|
575
575
|
] }) });
|
|
576
|
-
const
|
|
577
|
-
name: "o",
|
|
578
|
-
class: "oa5apdf",
|
|
579
|
-
propsAsIs: !1
|
|
580
|
-
}), qt = /* @__PURE__ */ m("button")({
|
|
581
|
-
name: "n",
|
|
582
|
-
class: "n1wh5guy",
|
|
583
|
-
propsAsIs: !1
|
|
584
|
-
}), hn = /* @__PURE__ */ m("img")({
|
|
585
|
-
name: "r",
|
|
586
|
-
class: "ro3ktps",
|
|
587
|
-
propsAsIs: !1
|
|
588
|
-
}), dn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZXZyb24iPgo8cGF0aCBpZD0iQ2hldnJvbl8yIiBkPSJNNiAxMS45OTlDNiAxMi4xNzI1IDYuMDMxMzQgMTIuMzM0IDYuMDk0MDEgMTIuNDgzN0M2LjE1NjY5IDEyLjYzMzQgNi4yNTQyOCAxMi43NzU2IDYuMzg2OCAxMi45MTAzTDE0LjA0MzYgMjAuNjU2NUMxNC4yNjQ4IDIwLjg4NTUgMTQuNTMyMyAyMSAxNC44NDU5IDIxQzE1LjA2MDcgMjEgMTUuMjU0NCAyMC45NDc1IDE1LjQyNzEgMjAuODQyNkMxNS41OTk4IDIwLjczNzcgMTUuNzM4NCAyMC41OTY1IDE1Ljg0MzEgMjAuNDE5MUMxNS45NDc3IDIwLjI0MTYgMTYgMjAuMDQyNSAxNiAxOS44MjE3QzE2IDE5LjQ5ODkgMTUuODgxNiAxOS4yMTM0IDE1LjY0NDggMTguOTY1NEw4Ljc0MTgzIDExLjk5NzFMMTUuNjQ0OCA1LjAzMjcxQzE1Ljg4MTYgNC43ODcwOSAxNiA0LjUwMjMgMTYgNC4xNzgzNEMxNiAzLjk1NzQ5IDE1Ljk0NzcgMy43NTgzNSAxNS44NDMxIDMuNTgwOTFDMTUuNzM4NCAzLjQwMzQ3IDE1LjU5OTggMy4yNjIyOSAxNS40MjcxIDMuMTU3MzhDMTUuMjU0NCAzLjA1MjQ2IDE1LjA2MDcgMyAxNC44NDU5IDNDMTQuNTMyMyAzIDE0LjI2NDggMy4xMTE2OSAxNC4wNDM2IDMuMzM1MDhMNi4zODY4IDExLjA4NzhDNi4yNTU1MSAxMS4yMjI1IDYuMTU4NTMgMTEuMzY0NCA2LjA5NTg2IDExLjUxMzRDNi4wMzMxOCAxMS42NjI1IDYuMDAxMjMgMTEuODI0NCA2IDExLjk5OVoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==", yi = ({ icon: r, comeBack: o, close: l }) => /* @__PURE__ */ L(un, { children: [
|
|
589
|
-
/* @__PURE__ */ L("div", { children: [
|
|
590
|
-
o && /* @__PURE__ */ p(qt, { onClick: o, children: /* @__PURE__ */ p("img", { alt: "header-back-icon", src: dn }) }),
|
|
591
|
-
r && /* @__PURE__ */ p(hn, { alt: "header-icon", src: r })
|
|
592
|
-
] }),
|
|
593
|
-
/* @__PURE__ */ p("div", { children: l && /* @__PURE__ */ p(qt, { onClick: l, children: /* @__PURE__ */ p("img", { alt: "header-close-icon", src: $t }) }) })
|
|
594
|
-
] });
|
|
595
|
-
const pn = /* @__PURE__ */ m("div")({
|
|
596
|
-
name: "i",
|
|
597
|
-
class: "iqbegjm",
|
|
598
|
-
propsAsIs: !1
|
|
599
|
-
}), fn = ({ comeBack: r }) => /* @__PURE__ */ p(pn, { children: /* @__PURE__ */ p(yi, { comeBack: r }) });
|
|
600
|
-
const gn = /* @__PURE__ */ m("button")({
|
|
576
|
+
const cn = /* @__PURE__ */ m("button")({
|
|
601
577
|
name: "a",
|
|
602
578
|
class: "akly9h2",
|
|
603
579
|
propsAsIs: !1
|
|
604
|
-
}),
|
|
580
|
+
}), un = /* @__PURE__ */ m("span")({
|
|
605
581
|
name: "e",
|
|
606
582
|
class: "eptoiz9",
|
|
607
583
|
propsAsIs: !1
|
|
608
|
-
}),
|
|
584
|
+
}), hn = ({ disabled: r, variant: o = "primary", onClick: l, children: u }) => /* @__PURE__ */ p(cn, { onClick: l, disabled: r, "data-variant": o, children: /* @__PURE__ */ p(un, { children: u }) }), dn = {
|
|
609
585
|
[H.TWEET]: { label: "Insight", iconName: "icon-insight" },
|
|
610
586
|
[H.PROMOTION]: { label: "Insight", iconName: "icon-insight" },
|
|
611
587
|
[H.UNSET]: void 0,
|
|
@@ -614,7 +590,7 @@ const gn = /* @__PURE__ */ m("button")({
|
|
|
614
590
|
[H.TRIVIA]: { label: "Trivia", iconName: "icon-trivia" },
|
|
615
591
|
[H.PREDICTION]: { label: "Prediction", iconName: "icon-prediction" }
|
|
616
592
|
};
|
|
617
|
-
const
|
|
593
|
+
const pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
618
594
|
width: 24,
|
|
619
595
|
height: 24,
|
|
620
596
|
viewBox: "0 0 24 24",
|
|
@@ -627,7 +603,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
627
603
|
strokeWidth: 1.5,
|
|
628
604
|
strokeLinecap: "round",
|
|
629
605
|
strokeLinejoin: "round"
|
|
630
|
-
})),
|
|
606
|
+
})), fn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
631
607
|
width: 24,
|
|
632
608
|
height: 24,
|
|
633
609
|
viewBox: "0 0 24 24",
|
|
@@ -643,7 +619,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
643
619
|
strokeWidth: 1.5,
|
|
644
620
|
strokeLinecap: "round",
|
|
645
621
|
strokeLinejoin: "round"
|
|
646
|
-
}))),
|
|
622
|
+
}))), gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
647
623
|
width: 24,
|
|
648
624
|
height: 24,
|
|
649
625
|
viewBox: "0 0 24 24",
|
|
@@ -659,7 +635,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
659
635
|
strokeWidth: 1.5,
|
|
660
636
|
strokeLinecap: "round",
|
|
661
637
|
strokeLinejoin: "round"
|
|
662
|
-
}))),
|
|
638
|
+
}))), mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
663
639
|
width: 16,
|
|
664
640
|
height: 16,
|
|
665
641
|
viewBox: "0 0 16 16",
|
|
@@ -672,7 +648,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
672
648
|
clipRule: "evenodd",
|
|
673
649
|
d: "M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.6057 5.43441C11.2933 5.12199 10.7868 5.12199 10.4744 5.43441L6.93812 9.97066L5.08382 8.73446C4.7162 8.48938 4.2195 8.58871 3.97442 8.95634C3.72934 9.32396 3.82868 9.82065 4.1963 10.0657L6.5963 11.6657C6.9136 11.8773 7.33609 11.8354 7.60574 11.5658L11.6057 6.56578C11.9182 6.25336 11.9182 5.74683 11.6057 5.43441Z",
|
|
674
650
|
fill: "#107D57"
|
|
675
|
-
})),
|
|
651
|
+
})), In = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
676
652
|
width: 24,
|
|
677
653
|
height: 24,
|
|
678
654
|
viewBox: "0 0 24 24",
|
|
@@ -687,7 +663,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
687
663
|
clipRule: "evenodd",
|
|
688
664
|
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",
|
|
689
665
|
fill: "#FFFFFF"
|
|
690
|
-
}))),
|
|
666
|
+
}))), yn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
691
667
|
width: 12,
|
|
692
668
|
height: 20,
|
|
693
669
|
viewBox: "0 0 12 20",
|
|
@@ -699,7 +675,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
699
675
|
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",
|
|
700
676
|
fill: "white",
|
|
701
677
|
fillOpacity: 0.6
|
|
702
|
-
})),
|
|
678
|
+
})), Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
703
679
|
width: 24,
|
|
704
680
|
height: 24,
|
|
705
681
|
viewBox: "0 0 24 24",
|
|
@@ -712,7 +688,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
712
688
|
id: "Chevron_2",
|
|
713
689
|
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",
|
|
714
690
|
fill: "white"
|
|
715
|
-
}))),
|
|
691
|
+
}))), Cn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
716
692
|
width: 16,
|
|
717
693
|
height: 17,
|
|
718
694
|
viewBox: "0 0 16 17",
|
|
@@ -725,7 +701,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
725
701
|
id: "Chevron_2",
|
|
726
702
|
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",
|
|
727
703
|
fill: "#FFFFFF"
|
|
728
|
-
}))),
|
|
704
|
+
}))), wn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
729
705
|
width: 24,
|
|
730
706
|
height: 24,
|
|
731
707
|
viewBox: "0 0 24 24",
|
|
@@ -740,7 +716,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
740
716
|
}), /* @__PURE__ */ M.createElement("path", {
|
|
741
717
|
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",
|
|
742
718
|
fill: "white"
|
|
743
|
-
})),
|
|
719
|
+
})), En = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
744
720
|
width: 10,
|
|
745
721
|
height: 10,
|
|
746
722
|
viewBox: "0 0 10 10",
|
|
@@ -765,7 +741,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
765
741
|
rx: 0.883884,
|
|
766
742
|
transform: "rotate(-45 0 8.75)",
|
|
767
743
|
fill: "white"
|
|
768
|
-
}))),
|
|
744
|
+
}))), An = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
769
745
|
width: 24,
|
|
770
746
|
height: 24,
|
|
771
747
|
viewBox: "0 0 24 24",
|
|
@@ -794,7 +770,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
794
770
|
rx: 0.883884,
|
|
795
771
|
transform: "rotate(-45 7 15.752)",
|
|
796
772
|
fill: "white"
|
|
797
|
-
})),
|
|
773
|
+
})), Nn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
798
774
|
width: 40,
|
|
799
775
|
height: 40,
|
|
800
776
|
viewBox: "0 0 40 40",
|
|
@@ -813,7 +789,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
813
789
|
id: "Vector_2",
|
|
814
790
|
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",
|
|
815
791
|
fill: "white"
|
|
816
|
-
})))),
|
|
792
|
+
})))), xn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
817
793
|
width: 24,
|
|
818
794
|
height: 24,
|
|
819
795
|
viewBox: "0 0 24 24",
|
|
@@ -842,7 +818,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
842
818
|
rx: 0.883884,
|
|
843
819
|
transform: "rotate(-45 7 15.75)",
|
|
844
820
|
fill: "white"
|
|
845
|
-
})),
|
|
821
|
+
})), Tn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
846
822
|
width: 17,
|
|
847
823
|
height: 17,
|
|
848
824
|
viewBox: "0 0 17 17",
|
|
@@ -854,7 +830,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
854
830
|
stroke: "#107D57",
|
|
855
831
|
strokeLinecap: "round",
|
|
856
832
|
strokeLinejoin: "round"
|
|
857
|
-
})),
|
|
833
|
+
})), vn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
858
834
|
width: 32,
|
|
859
835
|
height: 32,
|
|
860
836
|
viewBox: "0 0 32 32",
|
|
@@ -873,7 +849,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
873
849
|
opacity: 0.5,
|
|
874
850
|
d: "M13.3908 9C12.3103 9 11.4336 9.82584 11.4336 10.8437C11.4336 11.8616 12.3103 12.6875 13.3908 12.6875C14.4713 12.6875 15.348 11.8616 15.348 10.8437C15.348 9.82584 14.4713 9 13.3908 9ZM13.3908 12.6875C13.1946 12.6875 12.9958 12.6827 12.7996 12.7451C13.192 13.2372 13.3908 13.8542 13.3908 14.5312C13.3908 14.7761 13.3296 15.0161 13.3296 15.261C13.8521 14.524 14.6956 14.0391 15.6742 13.9166C15.218 13.1796 14.3694 12.6875 13.3908 12.6875ZM18.61 9C17.5295 9 16.6528 9.82584 16.6528 10.8437C16.6528 11.8616 17.5295 12.6875 18.61 12.6875C19.6905 12.6875 20.5672 11.8616 20.5672 10.8437C20.5672 9.82584 19.6905 9 18.61 9ZM18.61 12.6875C17.6314 12.6875 16.7828 13.1796 16.3266 13.9166C17.3052 14.0391 18.1487 14.524 18.6712 15.261C18.6712 15.0161 18.61 14.7761 18.61 14.5312C18.61 13.8542 18.8088 13.2372 19.2012 12.7451C19.005 12.6827 18.8062 12.6875 18.61 12.6875Z",
|
|
875
851
|
fill: "#107D57"
|
|
876
|
-
})),
|
|
852
|
+
})), Dn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
877
853
|
width: 18,
|
|
878
854
|
height: 18,
|
|
879
855
|
viewBox: "0 0 18 18",
|
|
@@ -886,7 +862,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
886
862
|
id: "Vector",
|
|
887
863
|
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",
|
|
888
864
|
fill: "white"
|
|
889
|
-
}))),
|
|
865
|
+
}))), Ln = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
890
866
|
width: 17,
|
|
891
867
|
height: 16,
|
|
892
868
|
viewBox: "0 0 17 16",
|
|
@@ -912,7 +888,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
912
888
|
strokeWidth: 1.5,
|
|
913
889
|
strokeLinecap: "round",
|
|
914
890
|
strokeLinejoin: "round"
|
|
915
|
-
})),
|
|
891
|
+
})), zn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
916
892
|
width: 17,
|
|
917
893
|
height: 18,
|
|
918
894
|
viewBox: "0 0 17 18",
|
|
@@ -942,7 +918,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
942
918
|
strokeWidth: 1.5,
|
|
943
919
|
strokeLinecap: "round",
|
|
944
920
|
strokeLinejoin: "round"
|
|
945
|
-
}))),
|
|
921
|
+
}))), Sn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
946
922
|
width: 99,
|
|
947
923
|
height: 96,
|
|
948
924
|
viewBox: "0 0 99 96",
|
|
@@ -959,7 +935,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
959
935
|
id: "Vector_2",
|
|
960
936
|
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",
|
|
961
937
|
fill: "white"
|
|
962
|
-
}))),
|
|
938
|
+
}))), jn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
963
939
|
width: 48,
|
|
964
940
|
height: 48,
|
|
965
941
|
viewBox: "0 0 48 48",
|
|
@@ -977,7 +953,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
977
953
|
clipRule: "evenodd",
|
|
978
954
|
d: "M32.5432 24.7938C33.215 24.3331 33.2822 23.5173 32.5432 23.0567C23.7807 17.6245 19.6442 14.918 19.1356 14.5917C18.3486 14.083 17.6 14.6973 17.6 15.2059V32.7501C17.6 33.3259 18.5309 33.8442 19.1356 33.4795C20.2201 32.8172 31.8714 25.2641 32.5336 24.8034L32.5432 24.7938Z",
|
|
979
955
|
fill: "white"
|
|
980
|
-
})),
|
|
956
|
+
})), Bn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
981
957
|
width: 16,
|
|
982
958
|
height: 15,
|
|
983
959
|
viewBox: "0 0 16 15",
|
|
@@ -988,7 +964,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
988
964
|
id: "Start - You",
|
|
989
965
|
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",
|
|
990
966
|
fill: "#F4D22A"
|
|
991
|
-
})),
|
|
967
|
+
})), bn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
992
968
|
xmlns: "http://www.w3.org/2000/svg",
|
|
993
969
|
width: 22,
|
|
994
970
|
height: 22,
|
|
@@ -998,7 +974,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
998
974
|
}, /* @__PURE__ */ M.createElement("path", {
|
|
999
975
|
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",
|
|
1000
976
|
fill: "white"
|
|
1001
|
-
})),
|
|
977
|
+
})), kn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1002
978
|
width: 12,
|
|
1003
979
|
height: 12,
|
|
1004
980
|
viewBox: "0 0 12 12",
|
|
@@ -1013,7 +989,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1013
989
|
clipRule: "evenodd",
|
|
1014
990
|
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",
|
|
1015
991
|
fill: "white"
|
|
1016
|
-
}))),
|
|
992
|
+
}))), Rn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1017
993
|
width: 16,
|
|
1018
994
|
height: 16,
|
|
1019
995
|
viewBox: "0 0 16 16",
|
|
@@ -1028,7 +1004,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1028
1004
|
clipRule: "evenodd",
|
|
1029
1005
|
d: "M3.69197 4.66662C3.69197 5.99705 3.92914 7.17787 4.4035 8.20912C3.49966 8.02451 2.74487 7.66486 2.1391 7.13014C1.53333 6.59542 1.23046 6.0798 1.23046 5.58328V4.66662H3.69197ZM14.7686 4.66662V5.58328C14.7686 6.0798 14.4658 6.59542 13.86 7.13014C13.2542 7.66486 12.4994 8.02451 11.5956 8.20912C12.0699 7.17787 12.3071 5.99705 12.3071 4.66662H14.7686ZM15.9998 5.58329V4.36108C15.9998 4.10645 15.9101 3.89002 15.7306 3.71178C15.5511 3.53354 15.3332 3.44442 15.0768 3.44442H12.3076V2.52776C12.3076 2.10763 12.1569 1.74797 11.8556 1.44878C11.5544 1.14959 11.1922 1 10.7691 1H5.23072C4.80764 1 4.44547 1.14959 4.14419 1.44878C3.84291 1.74797 3.69227 2.10763 3.69227 2.52776V3.44442H0.923068C0.666659 3.44442 0.448714 3.53354 0.269228 3.71178C0.0897418 3.89002 0 4.10645 0 4.36108V5.58329C0 6.03525 0.13301 6.49039 0.399034 6.94872C0.665059 7.40705 1.02403 7.82082 1.47595 8.19003C1.92787 8.55924 2.48234 8.86957 3.13939 9.12101C3.79644 9.37246 4.48713 9.51409 5.21149 9.54592C5.48071 9.88967 5.7852 10.192 6.12494 10.453C6.36853 10.6695 6.53679 10.9002 6.62974 11.1453C6.72269 11.3904 6.76916 11.6752 6.76916 11.9999C6.76916 12.3436 6.67141 12.6333 6.4759 12.8688C6.28038 13.1043 5.96789 13.2221 5.53841 13.2221C5.05764 13.2221 4.62976 13.3669 4.25476 13.6566C3.87977 13.9462 3.69227 14.3106 3.69227 14.7499V15.361C3.69227 15.4501 3.72112 15.5233 3.77881 15.5806C3.8365 15.6379 3.91022 15.6665 3.99996 15.6665H11.9999C12.0896 15.6665 12.1633 15.6379 12.221 15.5806C12.2787 15.5233 12.3076 15.4501 12.3076 15.361V14.7499C12.3076 14.3106 12.1201 13.9462 11.7451 13.6566C11.3701 13.3669 10.9422 13.2221 10.4614 13.2221C10.0319 13.2221 9.71945 13.1043 9.52394 12.8688C9.32843 12.6333 9.23068 12.3436 9.23068 11.9999C9.23068 11.6752 9.27715 11.3904 9.3701 11.1453C9.46305 10.9002 9.63131 10.6695 9.8749 10.453C10.2146 10.192 10.5191 9.88967 10.7884 9.54592C11.5127 9.51409 12.2034 9.37246 12.8604 9.12101C13.5175 8.86957 14.072 8.55924 14.5239 8.19003C14.9758 7.82082 15.3348 7.40705 15.6008 6.94872C15.8668 6.49039 15.9998 6.03525 15.9998 5.58329ZM6.76047 7.1798L8.05109 6.49997L9.3417 7.1798L9.09521 5.73989L10.1393 4.72015L8.69639 4.51007L8.05109 3.2L7.40578 4.51007L5.96283 4.72015L7.00696 5.73989L6.76047 7.1798Z",
|
|
1030
1006
|
fill: "#F2C94C"
|
|
1031
|
-
}))),
|
|
1007
|
+
}))), _n = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1032
1008
|
width: 25,
|
|
1033
1009
|
height: 24,
|
|
1034
1010
|
viewBox: "0 0 25 24",
|
|
@@ -1046,7 +1022,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1046
1022
|
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",
|
|
1047
1023
|
fill: "white",
|
|
1048
1024
|
fillOpacity: 0.4
|
|
1049
|
-
}))),
|
|
1025
|
+
}))), On = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1050
1026
|
width: 18,
|
|
1051
1027
|
height: 18,
|
|
1052
1028
|
viewBox: "0 0 18 18",
|
|
@@ -1069,7 +1045,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1069
1045
|
clipRule: "evenodd",
|
|
1070
1046
|
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",
|
|
1071
1047
|
fill: "#107D57"
|
|
1072
|
-
})))),
|
|
1048
|
+
})))), Un = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1073
1049
|
width: 14,
|
|
1074
1050
|
height: 17,
|
|
1075
1051
|
viewBox: "0 0 14 17",
|
|
@@ -1087,7 +1063,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1087
1063
|
id: "Icon / Games_3",
|
|
1088
1064
|
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",
|
|
1089
1065
|
fill: "#107D57"
|
|
1090
|
-
}))),
|
|
1066
|
+
}))), $n = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1091
1067
|
width: 19,
|
|
1092
1068
|
height: 14,
|
|
1093
1069
|
viewBox: "0 0 19 14",
|
|
@@ -1102,7 +1078,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1102
1078
|
clipRule: "evenodd",
|
|
1103
1079
|
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",
|
|
1104
1080
|
fill: "#107D57"
|
|
1105
|
-
}))),
|
|
1081
|
+
}))), Fn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1106
1082
|
width: 20,
|
|
1107
1083
|
height: 20,
|
|
1108
1084
|
viewBox: "0 0 20 20",
|
|
@@ -1118,7 +1094,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1118
1094
|
strokeWidth: 1.2,
|
|
1119
1095
|
strokeLinecap: "round",
|
|
1120
1096
|
strokeLinejoin: "round"
|
|
1121
|
-
}))),
|
|
1097
|
+
}))), Pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1122
1098
|
width: 20,
|
|
1123
1099
|
height: 20,
|
|
1124
1100
|
viewBox: "0 0 20 20",
|
|
@@ -1134,7 +1110,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1134
1110
|
strokeWidth: 1.2,
|
|
1135
1111
|
strokeLinecap: "round",
|
|
1136
1112
|
strokeLinejoin: "round"
|
|
1137
|
-
}))),
|
|
1113
|
+
}))), Yn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1138
1114
|
width: 16,
|
|
1139
1115
|
height: 16,
|
|
1140
1116
|
viewBox: "0 0 16 16",
|
|
@@ -1201,7 +1177,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1201
1177
|
clipRule: "evenodd",
|
|
1202
1178
|
d: "M2.00033 8.66676C1.6316 9.03545 1.03484 9.03478 0.666788 8.66676C0.298732 8.29873 0.298065 7.70203 0.666788 7.33334C1.03551 6.96465 1.63227 6.96531 2.00033 7.33334C2.36838 7.70136 2.36905 8.29806 2.00033 8.66676Z",
|
|
1203
1179
|
fill: "#107D57"
|
|
1204
|
-
}))),
|
|
1180
|
+
}))), Vn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1205
1181
|
width: 16,
|
|
1206
1182
|
height: 16,
|
|
1207
1183
|
viewBox: "0 0 16 16",
|
|
@@ -1217,7 +1193,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1217
1193
|
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",
|
|
1218
1194
|
fill: "white",
|
|
1219
1195
|
fillOpacity: 0.5
|
|
1220
|
-
}))),
|
|
1196
|
+
}))), Zn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1221
1197
|
width: 16,
|
|
1222
1198
|
height: 16,
|
|
1223
1199
|
viewBox: "0 0 16 16",
|
|
@@ -1233,7 +1209,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1233
1209
|
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",
|
|
1234
1210
|
fill: "white",
|
|
1235
1211
|
fillOpacity: 0.5
|
|
1236
|
-
}))),
|
|
1212
|
+
}))), Qn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1237
1213
|
width: 16,
|
|
1238
1214
|
height: 16,
|
|
1239
1215
|
viewBox: "0 0 16 16",
|
|
@@ -1249,7 +1225,7 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1249
1225
|
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",
|
|
1250
1226
|
fill: "white",
|
|
1251
1227
|
fillOpacity: 0.5
|
|
1252
|
-
}))),
|
|
1228
|
+
}))), Hn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1253
1229
|
width: 16,
|
|
1254
1230
|
height: 16,
|
|
1255
1231
|
viewBox: "0 0 16 16",
|
|
@@ -1262,97 +1238,97 @@ const Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1262
1238
|
clipRule: "evenodd",
|
|
1263
1239
|
d: "M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM11.6057 5.43441C11.2933 5.12199 10.7868 5.12199 10.4744 5.43441L6.93812 9.97066L5.08382 8.73446C4.7162 8.48938 4.2195 8.58871 3.97442 8.95634C3.72934 9.32396 3.82868 9.82065 4.1963 10.0657L6.5963 11.6657C6.9136 11.8773 7.33609 11.8354 7.60574 11.5658L11.6057 6.56578C11.9182 6.25336 11.9182 5.74683 11.6057 5.43441Z",
|
|
1264
1240
|
fill: "#107D57"
|
|
1265
|
-
})),
|
|
1266
|
-
"invite-game-icon":
|
|
1267
|
-
"icon-trophy":
|
|
1268
|
-
"icon-play":
|
|
1269
|
-
"icon-trophy-green":
|
|
1270
|
-
"icon-trivia":
|
|
1271
|
-
"icon-thumb-down":
|
|
1272
|
-
"icon-star":
|
|
1273
|
-
"icon-prediction":
|
|
1274
|
-
"icon-insight":
|
|
1275
|
-
"icon-poll":
|
|
1276
|
-
"icon-masters-logo":
|
|
1277
|
-
"icon-logout":
|
|
1278
|
-
"icon-link":
|
|
1279
|
-
"icon-external-link":
|
|
1280
|
-
"icon-invite-arrow":
|
|
1281
|
-
"icon-friends":
|
|
1282
|
-
"icon-exit":
|
|
1283
|
-
"icon-default-user-avatar":
|
|
1284
|
-
"icon-cross":
|
|
1285
|
-
"icon-close":
|
|
1286
|
-
"icon-close-btn-white":
|
|
1287
|
-
"icon-circle-arrow-right":
|
|
1288
|
-
"icon-chevron":
|
|
1289
|
-
"icon-chevron-white-left":
|
|
1290
|
-
"icon-chevron-left":
|
|
1291
|
-
"icon-check-white":
|
|
1292
|
-
"icon-check-green":
|
|
1293
|
-
"icon-btn-channels":
|
|
1294
|
-
"icon-btn-feature-groups":
|
|
1295
|
-
"icon-btn-leaderboard":
|
|
1296
|
-
"icon-check":
|
|
1297
|
-
"icon-arrow":
|
|
1298
|
-
correct:
|
|
1299
|
-
incorrect:
|
|
1300
|
-
selected:
|
|
1241
|
+
})), qt = {
|
|
1242
|
+
"invite-game-icon": _n,
|
|
1243
|
+
"icon-trophy": Rn,
|
|
1244
|
+
"icon-play": jn,
|
|
1245
|
+
"icon-trophy-green": kn,
|
|
1246
|
+
"icon-trivia": Qn,
|
|
1247
|
+
"icon-thumb-down": bn,
|
|
1248
|
+
"icon-star": Bn,
|
|
1249
|
+
"icon-prediction": Zn,
|
|
1250
|
+
"icon-insight": Yn,
|
|
1251
|
+
"icon-poll": Vn,
|
|
1252
|
+
"icon-masters-logo": Sn,
|
|
1253
|
+
"icon-logout": zn,
|
|
1254
|
+
"icon-link": Ln,
|
|
1255
|
+
"icon-external-link": Tn,
|
|
1256
|
+
"icon-invite-arrow": Dn,
|
|
1257
|
+
"icon-friends": vn,
|
|
1258
|
+
"icon-exit": xn,
|
|
1259
|
+
"icon-default-user-avatar": Nn,
|
|
1260
|
+
"icon-cross": gn,
|
|
1261
|
+
"icon-close": An,
|
|
1262
|
+
"icon-close-btn-white": En,
|
|
1263
|
+
"icon-circle-arrow-right": wn,
|
|
1264
|
+
"icon-chevron": Cn,
|
|
1265
|
+
"icon-chevron-white-left": Mn,
|
|
1266
|
+
"icon-chevron-left": yn,
|
|
1267
|
+
"icon-check-white": In,
|
|
1268
|
+
"icon-check-green": mn,
|
|
1269
|
+
"icon-btn-channels": On,
|
|
1270
|
+
"icon-btn-feature-groups": Un,
|
|
1271
|
+
"icon-btn-leaderboard": $n,
|
|
1272
|
+
"icon-check": fn,
|
|
1273
|
+
"icon-arrow": pn,
|
|
1274
|
+
correct: Fn,
|
|
1275
|
+
incorrect: Pn,
|
|
1276
|
+
selected: Hn
|
|
1301
1277
|
}, Ue = ({
|
|
1302
1278
|
name: r,
|
|
1303
1279
|
style: o,
|
|
1304
1280
|
className: l,
|
|
1305
1281
|
...u
|
|
1306
1282
|
}) => {
|
|
1307
|
-
if (!
|
|
1283
|
+
if (!qt[r])
|
|
1308
1284
|
return /* @__PURE__ */ p("span", {
|
|
1309
1285
|
children: r
|
|
1310
1286
|
});
|
|
1311
|
-
const d =
|
|
1287
|
+
const d = qt[r];
|
|
1312
1288
|
return /* @__PURE__ */ p(d, {
|
|
1313
1289
|
style: o,
|
|
1314
1290
|
className: l,
|
|
1315
1291
|
...u
|
|
1316
1292
|
});
|
|
1317
1293
|
};
|
|
1318
|
-
const
|
|
1294
|
+
const Gn = () => Ue, Wn = () => Ue, qn = /* @__PURE__ */ m("div")({
|
|
1319
1295
|
name: "s",
|
|
1320
1296
|
class: "s1lblda3",
|
|
1321
1297
|
propsAsIs: !1
|
|
1322
|
-
}),
|
|
1298
|
+
}), Jn = /* @__PURE__ */ m("div")({
|
|
1323
1299
|
name: "a",
|
|
1324
1300
|
class: "ascvb2g",
|
|
1325
1301
|
propsAsIs: !1
|
|
1326
|
-
}),
|
|
1302
|
+
}), Xn = /* @__PURE__ */ m("div")({
|
|
1327
1303
|
name: "p",
|
|
1328
1304
|
class: "p17rl8zy",
|
|
1329
1305
|
propsAsIs: !1
|
|
1330
|
-
}),
|
|
1306
|
+
}), Kn = /* @__PURE__ */ m("div")({
|
|
1331
1307
|
name: "l",
|
|
1332
1308
|
class: "l1vvttbn",
|
|
1333
1309
|
propsAsIs: !1
|
|
1334
|
-
}), Mt = /* @__PURE__ */ m(
|
|
1310
|
+
}), Mt = /* @__PURE__ */ m(Gn())({
|
|
1335
1311
|
name: "c",
|
|
1336
1312
|
class: "c6fk2ph",
|
|
1337
1313
|
propsAsIs: !0
|
|
1338
|
-
}),
|
|
1314
|
+
}), e1 = /* @__PURE__ */ m(Wn())({
|
|
1339
1315
|
name: "d",
|
|
1340
1316
|
class: "d1rdm136",
|
|
1341
1317
|
propsAsIs: !0
|
|
1342
|
-
}),
|
|
1318
|
+
}), t1 = /* @__PURE__ */ m("div")({
|
|
1343
1319
|
name: "f",
|
|
1344
1320
|
class: "fwqnnel",
|
|
1345
1321
|
propsAsIs: !1
|
|
1346
|
-
}),
|
|
1322
|
+
}), i1 = /* @__PURE__ */ m("div")({
|
|
1347
1323
|
name: "u",
|
|
1348
1324
|
class: "ucyxnlg",
|
|
1349
1325
|
propsAsIs: !1
|
|
1350
|
-
}),
|
|
1326
|
+
}), r1 = {
|
|
1351
1327
|
[et.LOST]: /* @__PURE__ */ p(Mt, { name: "icon-cross" }),
|
|
1352
1328
|
[et.WON]: /* @__PURE__ */ p(Mt, { name: "icon-check" }),
|
|
1353
1329
|
[et.UNSET]: void 0,
|
|
1354
1330
|
[et.DNP]: /* @__PURE__ */ p(Mt, { name: "icon-arrow" })
|
|
1355
|
-
},
|
|
1331
|
+
}, n1 = ({
|
|
1356
1332
|
questionId: r,
|
|
1357
1333
|
questionType: o,
|
|
1358
1334
|
questionStatus: l,
|
|
@@ -1361,188 +1337,188 @@ const e1 = () => Ue, t1 = () => Ue, i1 = /* @__PURE__ */ m("div")({
|
|
|
1361
1337
|
openQuestion: g,
|
|
1362
1338
|
status: f
|
|
1363
1339
|
}) => {
|
|
1364
|
-
const s =
|
|
1365
|
-
return s ? /* @__PURE__ */
|
|
1366
|
-
/* @__PURE__ */
|
|
1367
|
-
/* @__PURE__ */
|
|
1368
|
-
/* @__PURE__ */ p(
|
|
1369
|
-
/* @__PURE__ */
|
|
1340
|
+
const s = dn[o], I = r1[f];
|
|
1341
|
+
return s ? /* @__PURE__ */ z(qn, { onClick: () => g == null ? void 0 : g(r), children: [
|
|
1342
|
+
/* @__PURE__ */ z(i1, { children: [
|
|
1343
|
+
/* @__PURE__ */ z(Jn, { children: [
|
|
1344
|
+
/* @__PURE__ */ p(e1, { name: s.iconName }),
|
|
1345
|
+
/* @__PURE__ */ z(t1, { children: [
|
|
1370
1346
|
s.label,
|
|
1371
1347
|
o === H.TRIVIA && l === Rt.RESOLVED && " • Expired"
|
|
1372
1348
|
] })
|
|
1373
1349
|
] }),
|
|
1374
|
-
/* @__PURE__ */ p(
|
|
1350
|
+
/* @__PURE__ */ p(Xn, { children: u || "" })
|
|
1375
1351
|
] }),
|
|
1376
|
-
/* @__PURE__ */ p(
|
|
1352
|
+
/* @__PURE__ */ p(Kn, { children: I || (d ? /* @__PURE__ */ p(hn, { children: "Play" }) : null) })
|
|
1377
1353
|
] }) : null;
|
|
1378
1354
|
};
|
|
1379
|
-
const
|
|
1355
|
+
const o1 = /* @__PURE__ */ m("div")({
|
|
1380
1356
|
name: "e",
|
|
1381
1357
|
class: "e1q4ysxt",
|
|
1382
1358
|
propsAsIs: !1
|
|
1383
|
-
}),
|
|
1359
|
+
}), s1 = /* @__PURE__ */ m("div")({
|
|
1384
1360
|
name: "o",
|
|
1385
1361
|
class: "ouyy0pt",
|
|
1386
1362
|
propsAsIs: !1
|
|
1387
|
-
}),
|
|
1363
|
+
}), a1 = /* @__PURE__ */ m("div")({
|
|
1388
1364
|
name: "n",
|
|
1389
1365
|
class: "n19nxf9u",
|
|
1390
1366
|
propsAsIs: !1
|
|
1391
|
-
}),
|
|
1367
|
+
}), l1 = /* @__PURE__ */ m("img")({
|
|
1392
1368
|
name: "r",
|
|
1393
1369
|
class: "r1k9ayhp",
|
|
1394
1370
|
propsAsIs: !1
|
|
1395
|
-
}),
|
|
1371
|
+
}), c1 = /* @__PURE__ */ m("img")({
|
|
1396
1372
|
name: "l",
|
|
1397
1373
|
class: "l5j3lzi",
|
|
1398
1374
|
propsAsIs: !1
|
|
1399
|
-
}),
|
|
1375
|
+
}), u1 = /* @__PURE__ */ m("img")({
|
|
1400
1376
|
name: "s",
|
|
1401
1377
|
class: "sm6ggfo",
|
|
1402
1378
|
propsAsIs: !1
|
|
1403
|
-
}),
|
|
1379
|
+
}), h1 = /* @__PURE__ */ m("div")({
|
|
1404
1380
|
name: "p",
|
|
1405
1381
|
class: "p1dhscaj",
|
|
1406
1382
|
propsAsIs: !1
|
|
1407
|
-
}),
|
|
1383
|
+
}), d1 = /* @__PURE__ */ m("img")({
|
|
1408
1384
|
name: "a",
|
|
1409
1385
|
class: "a1f5isrh",
|
|
1410
1386
|
propsAsIs: !1
|
|
1411
|
-
}),
|
|
1387
|
+
}), p1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZXZyb24iPgo8cGF0aCBpZD0iQ2hldnJvbl8yIiBkPSJNMTIgOC4xNzIyMkMxMiA4LjI4NzgzIDExLjk3ODEgOC4zOTU1MyAxMS45MzQyIDguNDk1MzNDMTEuODkwMyA4LjU5NTEzIDExLjgyMiA4LjY4OTkyIDExLjcyOTIgOC43Nzk3TDYuMzY5NDkgMTMuOTQzOUM2LjIxNDYyIDE0LjA5NjUgNi4wMjc0MiAxNC4xNzI5IDUuODA3ODcgMTQuMTcyOUM1LjY1NzUyIDE0LjE3MjkgNS41MjE5MSAxNC4xMzc5IDUuNDAxMDQgMTQuMDY3OUM1LjI4MDE2IDEzLjk5OCA1LjE4MzEgMTMuOTAzOSA1LjEwOTg2IDEzLjc4NTZDNS4wMzY2MiAxMy42NjczIDUgMTMuNTM0NSA1IDEzLjM4NzNDNSAxMy4xNzIxIDUuMDgyODggMTIuOTgxOCA1LjI0ODYzIDEyLjgxNjRMMTAuMDgwNyA4LjE3MDk1TDUuMjQ4NjMgMy41Mjc5OUM1LjA4Mjg4IDMuMzY0MjUgNSAzLjE3NDM5IDUgMi45NTg0MUM1IDIuODExMTggNS4wMzY2MiAyLjY3ODQyIDUuMTA5ODYgMi41NjAxM0M1LjE4MzEgMi40NDE4MyA1LjI4MDE2IDIuMzQ3NzEgNS40MDEwNCAyLjI3Nzc3QzUuNTIxOTEgMi4yMDc4MiA1LjY1NzUyIDIuMTcyODUgNS44MDc4NyAyLjE3Mjg1QzYuMDI3NDIgMi4xNzI4NSA2LjIxNDYyIDIuMjQ3MzEgNi4zNjk0OSAyLjM5NjI0TDExLjcyOTIgNy41NjQ3M0MxMS44MjExIDcuNjU0NTEgMTEuODg5IDcuNzQ5MDkgMTEuOTMyOSA3Ljg0ODQ2QzExLjk3NjggNy45NDc4NCAxMS45OTkxIDguMDU1NzYgMTIgOC4xNzIyMloiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8L3N2Zz4K", f1 = (r, o) => {
|
|
1412
1388
|
switch (r) {
|
|
1413
1389
|
case Me.ROUNDED:
|
|
1414
|
-
return /* @__PURE__ */ p(
|
|
1390
|
+
return /* @__PURE__ */ p(c1, { alt: "insight-icon", src: o });
|
|
1415
1391
|
case Me.TRANSPARENT:
|
|
1416
|
-
return /* @__PURE__ */ p(
|
|
1392
|
+
return /* @__PURE__ */ p(u1, { alt: "insight-icon", src: o });
|
|
1417
1393
|
case Me.CENTERED:
|
|
1418
|
-
return /* @__PURE__ */ p(
|
|
1394
|
+
return /* @__PURE__ */ p(l1, { alt: "insight-icon", src: o });
|
|
1419
1395
|
default:
|
|
1420
1396
|
return null;
|
|
1421
1397
|
}
|
|
1422
|
-
},
|
|
1423
|
-
/* @__PURE__ */ p(
|
|
1424
|
-
/* @__PURE__ */
|
|
1425
|
-
/* @__PURE__ */ p(
|
|
1426
|
-
/* @__PURE__ */ p(
|
|
1398
|
+
}, yi = ({ title: r, image: o, questionId: l, imageMode: u, openInsight: d }) => /* @__PURE__ */ z(o1, { onClick: () => d(l), children: [
|
|
1399
|
+
/* @__PURE__ */ p(a1, { children: o && f1(u, o) }),
|
|
1400
|
+
/* @__PURE__ */ z(s1, { children: [
|
|
1401
|
+
/* @__PURE__ */ p(h1, { children: r || "" }),
|
|
1402
|
+
/* @__PURE__ */ p(d1, { alt: "next-icon", src: p1 })
|
|
1427
1403
|
] })
|
|
1428
1404
|
] });
|
|
1429
|
-
const
|
|
1405
|
+
const g1 = /* @__PURE__ */ m("div")({
|
|
1430
1406
|
name: "t",
|
|
1431
1407
|
class: "t19vr3p1",
|
|
1432
1408
|
propsAsIs: !1
|
|
1433
|
-
}),
|
|
1409
|
+
}), m1 = ({ questions: r, openQuestion: o }) => /* @__PURE__ */ p(g1, { children: r == null ? void 0 : r.map((l) => {
|
|
1434
1410
|
var u, d;
|
|
1435
1411
|
if (l.type === "question" && ((u = l.attributes) == null ? void 0 : u.attributes.case) === "question") {
|
|
1436
1412
|
const g = l.attributes.attributes.value;
|
|
1437
|
-
return /* @__PURE__ */ p(
|
|
1413
|
+
return /* @__PURE__ */ p(n1, { openQuestion: o, ...g }, g.questionId);
|
|
1438
1414
|
}
|
|
1439
1415
|
if (l.type === "insight" && ((d = l.attributes) == null ? void 0 : d.attributes.case) === "insight") {
|
|
1440
1416
|
const g = l.attributes.attributes.value;
|
|
1441
|
-
return /* @__PURE__ */ p(
|
|
1417
|
+
return /* @__PURE__ */ p(yi, { ...g, openInsight: o }, g.questionId);
|
|
1442
1418
|
}
|
|
1443
1419
|
return null;
|
|
1444
|
-
}) }),
|
|
1445
|
-
const
|
|
1420
|
+
}) }), Mi = (r) => r.split(/\s+/).map((o) => o[0]).join("").toUpperCase(), Ci = (r) => r ? r.toLocaleString("en-US") : "0";
|
|
1421
|
+
const I1 = /* @__PURE__ */ m("div")({
|
|
1446
1422
|
name: "t",
|
|
1447
1423
|
class: "taj61ja",
|
|
1448
1424
|
propsAsIs: !1
|
|
1449
|
-
}),
|
|
1425
|
+
}), y1 = /* @__PURE__ */ m("div")({
|
|
1450
1426
|
name: "r",
|
|
1451
1427
|
class: "r19fxewd",
|
|
1452
1428
|
propsAsIs: !1
|
|
1453
|
-
}),
|
|
1429
|
+
}), M1 = /* @__PURE__ */ m("div")({
|
|
1454
1430
|
name: "i",
|
|
1455
1431
|
class: "i1whkbqh",
|
|
1456
1432
|
propsAsIs: !1
|
|
1457
|
-
}),
|
|
1458
|
-
/* @__PURE__ */ p(
|
|
1459
|
-
/* @__PURE__ */ p(
|
|
1433
|
+
}), Jt = ({ indicator: r, title: o }) => /* @__PURE__ */ z(I1, { children: [
|
|
1434
|
+
/* @__PURE__ */ p(y1, { children: o }),
|
|
1435
|
+
/* @__PURE__ */ p(M1, { children: r })
|
|
1460
1436
|
] });
|
|
1461
|
-
const
|
|
1437
|
+
const C1 = /* @__PURE__ */ m("div")({
|
|
1462
1438
|
name: "i",
|
|
1463
1439
|
class: "i4lbhzs",
|
|
1464
1440
|
propsAsIs: !1
|
|
1465
|
-
}),
|
|
1441
|
+
}), w1 = /* @__PURE__ */ m("div")({
|
|
1466
1442
|
name: "o",
|
|
1467
1443
|
class: "ordquhq",
|
|
1468
1444
|
propsAsIs: !1
|
|
1469
|
-
}),
|
|
1445
|
+
}), E1 = /* @__PURE__ */ m("div")({
|
|
1470
1446
|
name: "n",
|
|
1471
1447
|
class: "nwzed99",
|
|
1472
1448
|
propsAsIs: !1
|
|
1473
|
-
}), it = ({ indicator: r, title: o }) => /* @__PURE__ */
|
|
1474
|
-
/* @__PURE__ */ p(
|
|
1475
|
-
/* @__PURE__ */ p(
|
|
1449
|
+
}), it = ({ indicator: r, title: o }) => /* @__PURE__ */ z(C1, { children: [
|
|
1450
|
+
/* @__PURE__ */ p(w1, { children: r }),
|
|
1451
|
+
/* @__PURE__ */ p(E1, { children: o })
|
|
1476
1452
|
] });
|
|
1477
|
-
const
|
|
1453
|
+
const A1 = /* @__PURE__ */ m("div")({
|
|
1478
1454
|
name: "o",
|
|
1479
1455
|
class: "o15y0waw",
|
|
1480
1456
|
propsAsIs: !1
|
|
1481
|
-
}),
|
|
1457
|
+
}), N1 = /* @__PURE__ */ m("div")({
|
|
1482
1458
|
name: "i",
|
|
1483
1459
|
class: "ihjewwf",
|
|
1484
1460
|
propsAsIs: !1
|
|
1485
|
-
}),
|
|
1461
|
+
}), x1 = /* @__PURE__ */ m("div")({
|
|
1486
1462
|
name: "n",
|
|
1487
1463
|
class: "n10e9lv8",
|
|
1488
1464
|
propsAsIs: !1
|
|
1489
|
-
}),
|
|
1465
|
+
}), T1 = /* @__PURE__ */ m("div")({
|
|
1490
1466
|
name: "r",
|
|
1491
1467
|
class: "r13bxv",
|
|
1492
1468
|
propsAsIs: !1
|
|
1493
|
-
}),
|
|
1469
|
+
}), v1 = /* @__PURE__ */ m("img")({
|
|
1494
1470
|
name: "a",
|
|
1495
1471
|
class: "a1fi59c9",
|
|
1496
1472
|
propsAsIs: !1
|
|
1497
|
-
}),
|
|
1473
|
+
}), D1 = /* @__PURE__ */ m("div")({
|
|
1498
1474
|
name: "s",
|
|
1499
1475
|
class: "s1kkihge",
|
|
1500
1476
|
propsAsIs: !1
|
|
1501
|
-
}),
|
|
1477
|
+
}), L1 = /* @__PURE__ */ m("div")({
|
|
1502
1478
|
name: "c",
|
|
1503
1479
|
class: "cy4f4t",
|
|
1504
1480
|
propsAsIs: !1
|
|
1505
|
-
}),
|
|
1481
|
+
}), z1 = /* @__PURE__ */ m("div")({
|
|
1506
1482
|
name: "p",
|
|
1507
1483
|
class: "p18cnlx1",
|
|
1508
1484
|
propsAsIs: !1
|
|
1509
|
-
}),
|
|
1485
|
+
}), S1 = /* @__PURE__ */ m("img")({
|
|
1510
1486
|
name: "l",
|
|
1511
1487
|
class: "lboqgs5",
|
|
1512
1488
|
propsAsIs: !1
|
|
1513
|
-
}),
|
|
1489
|
+
}), j1 = /* @__PURE__ */ m("div")({
|
|
1514
1490
|
name: "d",
|
|
1515
1491
|
class: "d1oaal4",
|
|
1516
1492
|
propsAsIs: !1
|
|
1517
|
-
}),
|
|
1493
|
+
}), B1 = /* @__PURE__ */ m("div")({
|
|
1518
1494
|
name: "x",
|
|
1519
1495
|
class: "x1yzgo0u",
|
|
1520
1496
|
propsAsIs: !1
|
|
1521
|
-
}),
|
|
1497
|
+
}), b1 = /* @__PURE__ */ m("div")({
|
|
1522
1498
|
name: "f",
|
|
1523
1499
|
class: "f1l9i8s8",
|
|
1524
1500
|
propsAsIs: !1
|
|
1525
|
-
}),
|
|
1501
|
+
}), k1 = /* @__PURE__ */ m("div")({
|
|
1526
1502
|
name: "g",
|
|
1527
1503
|
class: "g4cgl4u",
|
|
1528
1504
|
propsAsIs: !1
|
|
1529
|
-
}),
|
|
1505
|
+
}), R1 = /* @__PURE__ */ m("div")({
|
|
1530
1506
|
name: "h",
|
|
1531
1507
|
class: "h1qn1tmd",
|
|
1532
1508
|
propsAsIs: !1
|
|
1533
|
-
}),
|
|
1509
|
+
}), _1 = /* @__PURE__ */ m("div")({
|
|
1534
1510
|
name: "u",
|
|
1535
1511
|
class: "u1gsbhq4",
|
|
1536
1512
|
propsAsIs: !1
|
|
1537
|
-
}),
|
|
1513
|
+
}), O1 = /* @__PURE__ */ m("div")({
|
|
1538
1514
|
name: "m",
|
|
1539
1515
|
class: "mvj8oco",
|
|
1540
1516
|
propsAsIs: !1
|
|
1541
|
-
}),
|
|
1517
|
+
}), U1 = /* @__PURE__ */ m("button")({
|
|
1542
1518
|
name: "v",
|
|
1543
1519
|
class: "viqiaf2",
|
|
1544
1520
|
propsAsIs: !1
|
|
1545
|
-
}),
|
|
1521
|
+
}), $1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlRyb3BoeSI+CjxwYXRoIGlkPSJDb21iaW5lZCBTaGFwZSIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zLjY5MTk3IDQuNjY2NjJDMy42OTE5NyA1Ljk5NzA1IDMuOTI5MTQgNy4xNzc4NyA0LjQwMzUgOC4yMDkxMkMzLjQ5OTY2IDguMDI0NTEgMi43NDQ4NyA3LjY2NDg2IDIuMTM5MSA3LjEzMDE0QzEuNTMzMzMgNi41OTU0MiAxLjIzMDQ2IDYuMDc5OCAxLjIzMDQ2IDUuNTgzMjhWNC42NjY2MkgzLjY5MTk3Wk0xNC43Njg2IDQuNjY2NjJWNS41ODMyOEMxNC43Njg2IDYuMDc5OCAxNC40NjU4IDYuNTk1NDIgMTMuODYgNy4xMzAxNEMxMy4yNTQyIDcuNjY0ODYgMTIuNDk5NCA4LjAyNDUxIDExLjU5NTYgOC4yMDkxMkMxMi4wNjk5IDcuMTc3ODcgMTIuMzA3MSA1Ljk5NzA1IDEyLjMwNzEgNC42NjY2MkgxNC43Njg2Wk0xNS45OTk4IDUuNTgzMjlWNC4zNjEwOEMxNS45OTk4IDQuMTA2NDUgMTUuOTEwMSAzLjg5MDAyIDE1LjczMDYgMy43MTE3OEMxNS41NTExIDMuNTMzNTQgMTUuMzMzMiAzLjQ0NDQyIDE1LjA3NjggMy40NDQ0MkgxMi4zMDc2VjIuNTI3NzZDMTIuMzA3NiAyLjEwNzYzIDEyLjE1NjkgMS43NDc5NyAxMS44NTU2IDEuNDQ4NzhDMTEuNTU0NCAxLjE0OTU5IDExLjE5MjIgMSAxMC43NjkxIDFINS4yMzA3MkM0LjgwNzY0IDEgNC40NDU0NyAxLjE0OTU5IDQuMTQ0MTkgMS40NDg3OEMzLjg0MjkxIDEuNzQ3OTcgMy42OTIyNyAyLjEwNzYzIDMuNjkyMjcgMi41Mjc3NlYzLjQ0NDQySDAuOTIzMDY4QzAuNjY2NjU5IDMuNDQ0NDIgMC40NDg3MTQgMy41MzM1NCAwLjI2OTIyOCAzLjcxMTc4QzAuMDg5NzQxOCAzLjg5MDAyIDAgNC4xMDY0NSAwIDQuMzYxMDhWNS41ODMyOUMwIDYuMDM1MjUgMC4xMzMwMSA2LjQ5MDM5IDAuMzk5MDM0IDYuOTQ4NzJDMC42NjUwNTkgNy40MDcwNSAxLjAyNDAzIDcuODIwODIgMS40NzU5NSA4LjE5MDAzQzEuOTI3ODcgOC41NTkyNCAyLjQ4MjM0IDguODY5NTcgMy4xMzkzOSA5LjEyMTAxQzMuNzk2NDQgOS4zNzI0NiA0LjQ4NzEzIDkuNTE0MDkgNS4yMTE0OSA5LjU0NTkyQzUuNDgwNzEgOS44ODk2NyA1Ljc4NTIgMTAuMTkyIDYuMTI0OTQgMTAuNDUzQzYuMzY4NTMgMTAuNjY5NSA2LjUzNjc5IDEwLjkwMDIgNi42Mjk3NCAxMS4xNDUzQzYuNzIyNjkgMTEuMzkwNCA2Ljc2OTE2IDExLjY3NTIgNi43NjkxNiAxMS45OTk5QzYuNzY5MTYgMTIuMzQzNiA2LjY3MTQxIDEyLjYzMzMgNi40NzU5IDEyLjg2ODhDNi4yODAzOCAxMy4xMDQzIDUuOTY3ODkgMTMuMjIyMSA1LjUzODQxIDEzLjIyMjFDNS4wNTc2NCAxMy4yMjIxIDQuNjI5NzYgMTMuMzY2OSA0LjI1NDc2IDEzLjY1NjZDMy44Nzk3NyAxMy45NDYyIDMuNjkyMjcgMTQuMzEwNiAzLjY5MjI3IDE0Ljc0OTlWMTUuMzYxQzMuNjkyMjcgMTUuNDUwMSAzLjcyMTEyIDE1LjUyMzMgMy43Nzg4MSAxNS41ODA2QzMuODM2NSAxNS42Mzc5IDMuOTEwMjIgMTUuNjY2NSAzLjk5OTk2IDE1LjY2NjVIMTEuOTk5OUMxMi4wODk2IDE1LjY2NjUgMTIuMTYzMyAxNS42Mzc5IDEyLjIyMSAxNS41ODA2QzEyLjI3ODcgMTUuNTIzMyAxMi4zMDc2IDE1LjQ1MDEgMTIuMzA3NiAxNS4zNjFWMTQuNzQ5OUMxMi4zMDc2IDE0LjMxMDYgMTIuMTIwMSAxMy45NDYyIDExLjc0NTEgMTMuNjU2NkMxMS4zNzAxIDEzLjM2NjkgMTAuOTQyMiAxMy4yMjIxIDEwLjQ2MTQgMTMuMjIyMUMxMC4wMzE5IDEzLjIyMjEgOS43MTk0NSAxMy4xMDQzIDkuNTIzOTQgMTIuODY4OEM5LjMyODQzIDEyLjYzMzMgOS4yMzA2OCAxMi4zNDM2IDkuMjMwNjggMTEuOTk5OUM5LjIzMDY4IDExLjY3NTIgOS4yNzcxNSAxMS4zOTA0IDkuMzcwMSAxMS4xNDUzQzkuNDYzMDUgMTAuOTAwMiA5LjYzMTMxIDEwLjY2OTUgOS44NzQ5IDEwLjQ1M0MxMC4yMTQ2IDEwLjE5MiAxMC41MTkxIDkuODg5NjcgMTAuNzg4NCA5LjU0NTkyQzExLjUxMjcgOS41MTQwOSAxMi4yMDM0IDkuMzcyNDYgMTIuODYwNCA5LjEyMTAxQzEzLjUxNzUgOC44Njk1NyAxNC4wNzIgOC41NTkyNCAxNC41MjM5IDguMTkwMDNDMTQuOTc1OCA3LjgyMDgyIDE1LjMzNDggNy40MDcwNSAxNS42MDA4IDYuOTQ4NzJDMTUuODY2OCA2LjQ5MDM5IDE1Ljk5OTggNi4wMzUyNSAxNS45OTk4IDUuNTgzMjlaTTYuNzYwNDcgNy4xNzk4TDguMDUxMDkgNi40OTk5N0w5LjM0MTcgNy4xNzk4TDkuMDk1MjEgNS43Mzk4OUwxMC4xMzkzIDQuNzIwMTVMOC42OTYzOSA0LjUxMDA3TDguMDUxMDkgMy4yTDcuNDA1NzggNC41MTAwN0w1Ljk2MjgzIDQuNzIwMTVMNy4wMDY5NiA1LjczOTg5TDYuNzYwNDcgNy4xNzk4WiIgZmlsbD0iI0YyQzk0QyIvPgo8L2c+Cjwvc3ZnPgo=", F1 = ({
|
|
1546
1522
|
avatar: r,
|
|
1547
1523
|
name: o,
|
|
1548
1524
|
points: l,
|
|
@@ -1553,24 +1529,24 @@ const L1 = /* @__PURE__ */ m("div")({
|
|
|
1553
1529
|
incorrect: s,
|
|
1554
1530
|
inTop: I,
|
|
1555
1531
|
average: N
|
|
1556
|
-
}) => /* @__PURE__ */
|
|
1557
|
-
/* @__PURE__ */ p(
|
|
1558
|
-
/* @__PURE__ */
|
|
1559
|
-
r && /* @__PURE__ */ p(
|
|
1560
|
-
!r && /* @__PURE__ */ p(
|
|
1532
|
+
}) => /* @__PURE__ */ z(A1, { children: [
|
|
1533
|
+
/* @__PURE__ */ p(N1, { children: /* @__PURE__ */ z(T1, { children: [
|
|
1534
|
+
/* @__PURE__ */ z(U1, { children: [
|
|
1535
|
+
r && /* @__PURE__ */ p(v1, { alt: "avatar", src: r }),
|
|
1536
|
+
!r && /* @__PURE__ */ p(O1, { children: Mi(o || "") })
|
|
1561
1537
|
] }),
|
|
1562
|
-
/* @__PURE__ */
|
|
1563
|
-
/* @__PURE__ */ p(
|
|
1564
|
-
/* @__PURE__ */
|
|
1565
|
-
/* @__PURE__ */
|
|
1566
|
-
/* @__PURE__ */ p(
|
|
1567
|
-
/* @__PURE__ */
|
|
1568
|
-
|
|
1569
|
-
/* @__PURE__ */ p(
|
|
1538
|
+
/* @__PURE__ */ z(D1, { children: [
|
|
1539
|
+
/* @__PURE__ */ p(L1, { children: o }),
|
|
1540
|
+
/* @__PURE__ */ z(z1, { children: [
|
|
1541
|
+
/* @__PURE__ */ z(j1, { children: [
|
|
1542
|
+
/* @__PURE__ */ p(S1, { alt: "rank-icon", src: $1 }),
|
|
1543
|
+
/* @__PURE__ */ z(B1, { children: [
|
|
1544
|
+
Ci(l),
|
|
1545
|
+
/* @__PURE__ */ p(b1, { children: "PTS" })
|
|
1570
1546
|
] })
|
|
1571
1547
|
] }),
|
|
1572
|
-
/* @__PURE__ */ p(
|
|
1573
|
-
/* @__PURE__ */
|
|
1548
|
+
/* @__PURE__ */ p(k1, {}),
|
|
1549
|
+
/* @__PURE__ */ z("div", { children: [
|
|
1574
1550
|
"TOP ",
|
|
1575
1551
|
I || 0,
|
|
1576
1552
|
"%"
|
|
@@ -1578,12 +1554,12 @@ const L1 = /* @__PURE__ */ m("div")({
|
|
|
1578
1554
|
] })
|
|
1579
1555
|
] })
|
|
1580
1556
|
] }) }),
|
|
1581
|
-
/* @__PURE__ */
|
|
1582
|
-
/* @__PURE__ */
|
|
1583
|
-
/* @__PURE__ */ p(
|
|
1584
|
-
/* @__PURE__ */ p(
|
|
1557
|
+
/* @__PURE__ */ z(x1, { children: [
|
|
1558
|
+
/* @__PURE__ */ z(R1, { children: [
|
|
1559
|
+
/* @__PURE__ */ p(Jt, { indicator: u || 0, title: "Friends rank" }),
|
|
1560
|
+
/* @__PURE__ */ p(Jt, { indicator: d || 0, title: "Global rank" })
|
|
1585
1561
|
] }),
|
|
1586
|
-
/* @__PURE__ */
|
|
1562
|
+
/* @__PURE__ */ z(_1, { children: [
|
|
1587
1563
|
/* @__PURE__ */ p(it, { indicator: g || 0, title: "Win streak" }),
|
|
1588
1564
|
/* @__PURE__ */ p(it, { indicator: f || 0, title: "Correct" }),
|
|
1589
1565
|
/* @__PURE__ */ p(it, { indicator: s || 0, title: "Incorrect" }),
|
|
@@ -1591,48 +1567,48 @@ const L1 = /* @__PURE__ */ m("div")({
|
|
|
1591
1567
|
] })
|
|
1592
1568
|
] })
|
|
1593
1569
|
] });
|
|
1594
|
-
const
|
|
1570
|
+
const P1 = () => V1, G0 = /* @__PURE__ */ m("div")({
|
|
1595
1571
|
name: "i",
|
|
1596
1572
|
class: "idhrx8x",
|
|
1597
1573
|
propsAsIs: !1
|
|
1598
|
-
}),
|
|
1574
|
+
}), Y1 = /* @__PURE__ */ m("div")({
|
|
1599
1575
|
name: "r",
|
|
1600
1576
|
class: "r1k6v4ep",
|
|
1601
1577
|
propsAsIs: !1
|
|
1602
|
-
}),
|
|
1578
|
+
}), V1 = /* @__PURE__ */ m("div")({
|
|
1603
1579
|
name: "a",
|
|
1604
1580
|
class: "a1v8kucd",
|
|
1605
1581
|
propsAsIs: !1
|
|
1606
|
-
}),
|
|
1582
|
+
}), W0 = /* @__PURE__ */ m(P1())({
|
|
1607
1583
|
name: "e",
|
|
1608
1584
|
class: "e16yw7z1",
|
|
1609
1585
|
propsAsIs: !0
|
|
1610
1586
|
});
|
|
1611
|
-
const
|
|
1587
|
+
const Z1 = () => Ue, Q1 = /* @__PURE__ */ m("div")({
|
|
1612
1588
|
name: "c",
|
|
1613
1589
|
class: "ciyeb68",
|
|
1614
1590
|
propsAsIs: !1
|
|
1615
|
-
}),
|
|
1591
|
+
}), H1 = /* @__PURE__ */ m(Z1())({
|
|
1616
1592
|
name: "n",
|
|
1617
1593
|
class: "nfic4xc",
|
|
1618
1594
|
propsAsIs: !0
|
|
1619
|
-
}),
|
|
1595
|
+
}), G1 = /* @__PURE__ */ m("div")({
|
|
1620
1596
|
name: "d",
|
|
1621
1597
|
class: "d1pd1p66",
|
|
1622
1598
|
propsAsIs: !1
|
|
1623
|
-
}),
|
|
1599
|
+
}), W1 = /* @__PURE__ */ m("div")({
|
|
1624
1600
|
name: "p",
|
|
1625
1601
|
class: "p132yxcv",
|
|
1626
1602
|
propsAsIs: !1
|
|
1627
|
-
}),
|
|
1603
|
+
}), q1 = /* @__PURE__ */ m("span")({
|
|
1628
1604
|
name: "l",
|
|
1629
1605
|
class: "l4a8aw",
|
|
1630
1606
|
propsAsIs: !1
|
|
1631
|
-
}),
|
|
1607
|
+
}), Xt = /* @__PURE__ */ m("span")({
|
|
1632
1608
|
name: "g",
|
|
1633
1609
|
class: "gzdx7pk",
|
|
1634
1610
|
propsAsIs: !1
|
|
1635
|
-
}),
|
|
1611
|
+
}), J1 = ({
|
|
1636
1612
|
feedbackMessages: r,
|
|
1637
1613
|
questionVotedCorrectly: o,
|
|
1638
1614
|
questionVoted: l,
|
|
@@ -1642,92 +1618,92 @@ const J1 = () => Ue, X1 = /* @__PURE__ */ m("div")({
|
|
|
1642
1618
|
if (!(l && (u === H.TRIVIA || u === H.PREDICTION)))
|
|
1643
1619
|
return null;
|
|
1644
1620
|
const g = u === H.PREDICTION && !d, f = o ? "correct" : "incorrect", s = o ? r.correctFeedback : r.incorrectFeedback;
|
|
1645
|
-
return /* @__PURE__ */
|
|
1646
|
-
g && /* @__PURE__ */
|
|
1647
|
-
/* @__PURE__ */ p(
|
|
1648
|
-
/* @__PURE__ */ p(
|
|
1621
|
+
return /* @__PURE__ */ z(Q1, { "data-isPrediction": g, children: [
|
|
1622
|
+
g && /* @__PURE__ */ z(Oe, { children: [
|
|
1623
|
+
/* @__PURE__ */ p(H1, { name: "icon-prediction" }),
|
|
1624
|
+
/* @__PURE__ */ p(Xt, { children: "Stay tuned to see if your prediction was correct." })
|
|
1649
1625
|
] }),
|
|
1650
|
-
d && /* @__PURE__ */
|
|
1651
|
-
/* @__PURE__ */ p(
|
|
1652
|
-
/* @__PURE__ */ p("div", { children: /* @__PURE__ */
|
|
1653
|
-
/* @__PURE__ */ p(
|
|
1654
|
-
/* @__PURE__ */ p(
|
|
1626
|
+
d && /* @__PURE__ */ z(Oe, { children: [
|
|
1627
|
+
/* @__PURE__ */ p(G1, { "data-feedbackType": f, children: /* @__PURE__ */ p(Ue, { name: f }) }),
|
|
1628
|
+
/* @__PURE__ */ p("div", { children: /* @__PURE__ */ z(W1, { children: [
|
|
1629
|
+
/* @__PURE__ */ p(q1, { "data-feedbackType": f, children: s == null ? void 0 : s.title }),
|
|
1630
|
+
/* @__PURE__ */ p(Xt, { children: s == null ? void 0 : s.description })
|
|
1655
1631
|
] }) })
|
|
1656
1632
|
] })
|
|
1657
1633
|
] });
|
|
1658
1634
|
};
|
|
1659
|
-
const
|
|
1635
|
+
const X1 = /* @__PURE__ */ m("div")({
|
|
1660
1636
|
name: "o",
|
|
1661
1637
|
class: "olc1eph",
|
|
1662
1638
|
propsAsIs: !1
|
|
1663
|
-
}),
|
|
1639
|
+
}), K1 = /* @__PURE__ */ m("div")({
|
|
1664
1640
|
name: "n",
|
|
1665
1641
|
class: "n1yoh29a",
|
|
1666
1642
|
propsAsIs: !1
|
|
1667
|
-
}),
|
|
1643
|
+
}), eo = /* @__PURE__ */ m("div")({
|
|
1668
1644
|
name: "p",
|
|
1669
1645
|
class: "pjkr5mb",
|
|
1670
1646
|
propsAsIs: !1
|
|
1671
|
-
}),
|
|
1647
|
+
}), to = /* @__PURE__ */ m("div")({
|
|
1672
1648
|
name: "r",
|
|
1673
1649
|
class: "r82wnnx",
|
|
1674
1650
|
propsAsIs: !1
|
|
1675
1651
|
});
|
|
1676
|
-
const
|
|
1652
|
+
const io = () => wi, ro = () => wi, no = () => Ue, oo = /* @__PURE__ */ m("button")({
|
|
1677
1653
|
name: "c",
|
|
1678
1654
|
class: "cpm4u8k",
|
|
1679
1655
|
propsAsIs: !1
|
|
1680
|
-
}),
|
|
1656
|
+
}), so = /* @__PURE__ */ m("div")({
|
|
1681
1657
|
name: "l",
|
|
1682
1658
|
class: "lwfomc3",
|
|
1683
1659
|
propsAsIs: !1
|
|
1684
|
-
}),
|
|
1660
|
+
}), ao = /* @__PURE__ */ m("span")({
|
|
1685
1661
|
name: "d",
|
|
1686
1662
|
class: "dmltvg2",
|
|
1687
1663
|
propsAsIs: !1
|
|
1688
|
-
}),
|
|
1664
|
+
}), lo = /* @__PURE__ */ m("div")({
|
|
1689
1665
|
name: "s",
|
|
1690
1666
|
class: "stfjpqz",
|
|
1691
1667
|
propsAsIs: !1
|
|
1692
|
-
}),
|
|
1668
|
+
}), co = /* @__PURE__ */ m("div")({
|
|
1693
1669
|
name: "p",
|
|
1694
1670
|
class: "p198m24r",
|
|
1695
1671
|
propsAsIs: !1
|
|
1696
|
-
}),
|
|
1672
|
+
}), wi = /* @__PURE__ */ m("img")({
|
|
1697
1673
|
name: "r",
|
|
1698
1674
|
class: "rbq5eu7",
|
|
1699
1675
|
propsAsIs: !1
|
|
1700
|
-
}),
|
|
1676
|
+
}), uo = /* @__PURE__ */ m(io())({
|
|
1701
1677
|
name: "g",
|
|
1702
1678
|
class: "g1iv6oeb",
|
|
1703
1679
|
propsAsIs: !0
|
|
1704
|
-
}),
|
|
1680
|
+
}), ho = /* @__PURE__ */ m(ro())({
|
|
1705
1681
|
name: "h",
|
|
1706
1682
|
class: "h1qtxlqc",
|
|
1707
1683
|
propsAsIs: !0
|
|
1708
|
-
}),
|
|
1684
|
+
}), po = /* @__PURE__ */ m("span")({
|
|
1709
1685
|
name: "u",
|
|
1710
1686
|
class: "udm736q",
|
|
1711
1687
|
propsAsIs: !1
|
|
1712
|
-
}),
|
|
1688
|
+
}), fo = /* @__PURE__ */ m("span")({
|
|
1713
1689
|
name: "b",
|
|
1714
1690
|
class: "b1da34tx",
|
|
1715
1691
|
propsAsIs: !1
|
|
1716
|
-
}),
|
|
1692
|
+
}), go = /* @__PURE__ */ m("span")({
|
|
1717
1693
|
name: "x",
|
|
1718
1694
|
class: "x1dqwq83",
|
|
1719
1695
|
propsAsIs: !1
|
|
1720
|
-
}),
|
|
1696
|
+
}), mo = /* @__PURE__ */ m(no())({
|
|
1721
1697
|
name: "v",
|
|
1722
1698
|
class: "v10s9my2",
|
|
1723
1699
|
propsAsIs: !0
|
|
1724
|
-
}),
|
|
1725
|
-
[Me.CENTERED]: (r) => /* @__PURE__ */ p(
|
|
1726
|
-
[Me.TRANSPARENT]: (r) => /* @__PURE__ */ p(
|
|
1727
|
-
[Me.ROUNDED]: (r) => /* @__PURE__ */ p(
|
|
1700
|
+
}), Kt = {
|
|
1701
|
+
[Me.CENTERED]: (r) => /* @__PURE__ */ p(uo, { alt: "option-icon", src: r }),
|
|
1702
|
+
[Me.TRANSPARENT]: (r) => /* @__PURE__ */ p(lo, { children: /* @__PURE__ */ p(co, { style: { backgroundImage: `url(${r})` } }) }),
|
|
1703
|
+
[Me.ROUNDED]: (r) => /* @__PURE__ */ p(ho, { alt: "option-icon", src: r }),
|
|
1728
1704
|
[Me.NONE]: () => null,
|
|
1729
1705
|
[Me.UNSET]: () => null
|
|
1730
|
-
},
|
|
1706
|
+
}, Io = ({ questionType: r, hasCorrectAnswer: o, correct: l, youVoted: u, questionVoted: d }) => {
|
|
1731
1707
|
if (r === H.POLL && u)
|
|
1732
1708
|
return "correct";
|
|
1733
1709
|
if (r === H.PREDICTION) {
|
|
@@ -1737,13 +1713,13 @@ const lo = () => Ei, co = () => Ei, uo = () => Ue, ho = /* @__PURE__ */ m("butto
|
|
|
1737
1713
|
return "correct";
|
|
1738
1714
|
}
|
|
1739
1715
|
return r === H.TRIVIA && d ? u ? l ? "correct" : "incorrect" : l ? "correct" : "unset" : "unset";
|
|
1740
|
-
},
|
|
1716
|
+
}, yo = ({
|
|
1741
1717
|
questionType: r,
|
|
1742
1718
|
questionVoted: o,
|
|
1743
1719
|
correct: l,
|
|
1744
1720
|
hasCorrectAnswer: u,
|
|
1745
1721
|
questionStatus: d
|
|
1746
|
-
}) => r === H.TRIVIA ? o && l : r === H.PREDICTION ? o && l && u || d === Rt.RESOLVED && l : !1,
|
|
1722
|
+
}) => r === H.TRIVIA ? o && l : r === H.PREDICTION ? o && l && u || d === Rt.RESOLVED && l : !1, Mo = (r) => {
|
|
1747
1723
|
var o;
|
|
1748
1724
|
const {
|
|
1749
1725
|
// option props
|
|
@@ -1761,11 +1737,11 @@ const lo = () => Ei, co = () => Ei, uo = () => Ue, ho = /* @__PURE__ */ m("butto
|
|
|
1761
1737
|
questionStatus: x,
|
|
1762
1738
|
isLoading: C,
|
|
1763
1739
|
questionType: v,
|
|
1764
|
-
correct:
|
|
1740
|
+
correct: L,
|
|
1765
1741
|
hasCorrectAnswer: y
|
|
1766
|
-
} = r, A =
|
|
1767
|
-
return /* @__PURE__ */
|
|
1768
|
-
|
|
1742
|
+
} = r, A = Io(r), w = yo({ questionType: v, questionVoted: I, correct: L, hasCorrectAnswer: y, questionStatus: x }), T = I || x === Rt.RESOLVED && v === H.PREDICTION;
|
|
1743
|
+
return /* @__PURE__ */ z(
|
|
1744
|
+
oo,
|
|
1769
1745
|
{
|
|
1770
1746
|
value: l,
|
|
1771
1747
|
"data-selected": s,
|
|
@@ -1773,13 +1749,13 @@ const lo = () => Ei, co = () => Ei, uo = () => Ue, ho = /* @__PURE__ */ m("butto
|
|
|
1773
1749
|
disabled: I || C || E,
|
|
1774
1750
|
onClick: f,
|
|
1775
1751
|
children: [
|
|
1776
|
-
T && /* @__PURE__ */ p(
|
|
1777
|
-
/* @__PURE__ */
|
|
1778
|
-
u && ((o =
|
|
1779
|
-
/* @__PURE__ */ p(
|
|
1780
|
-
T && /* @__PURE__ */
|
|
1781
|
-
w && /* @__PURE__ */ p(
|
|
1782
|
-
/* @__PURE__ */
|
|
1752
|
+
T && /* @__PURE__ */ p(so, { "data-answerState": A, style: { width: `${g}%` } }),
|
|
1753
|
+
/* @__PURE__ */ z(ao, { children: [
|
|
1754
|
+
u && ((o = Kt[N]) == null ? void 0 : o.call(Kt, u)),
|
|
1755
|
+
/* @__PURE__ */ p(po, { children: d }),
|
|
1756
|
+
T && /* @__PURE__ */ z(fo, { children: [
|
|
1757
|
+
w && /* @__PURE__ */ p(mo, { name: "selected" }),
|
|
1758
|
+
/* @__PURE__ */ z(go, { children: [
|
|
1783
1759
|
g,
|
|
1784
1760
|
"%"
|
|
1785
1761
|
] })
|
|
@@ -1789,47 +1765,47 @@ const lo = () => Ei, co = () => Ei, uo = () => Ue, ho = /* @__PURE__ */ m("butto
|
|
|
1789
1765
|
}
|
|
1790
1766
|
);
|
|
1791
1767
|
};
|
|
1792
|
-
const
|
|
1768
|
+
const Co = () => Ue, wo = /* @__PURE__ */ m("div")({
|
|
1793
1769
|
name: "a",
|
|
1794
1770
|
class: "a1r7f3z4",
|
|
1795
1771
|
propsAsIs: !1
|
|
1796
|
-
}),
|
|
1772
|
+
}), Eo = /* @__PURE__ */ m("div")({
|
|
1797
1773
|
name: "s",
|
|
1798
1774
|
class: "sblndl",
|
|
1799
1775
|
propsAsIs: !1
|
|
1800
|
-
}),
|
|
1776
|
+
}), Ao = /* @__PURE__ */ m("div")({
|
|
1801
1777
|
name: "l",
|
|
1802
1778
|
class: "l7ka1tv",
|
|
1803
1779
|
propsAsIs: !1
|
|
1804
|
-
}),
|
|
1780
|
+
}), No = /* @__PURE__ */ m(Co())({
|
|
1805
1781
|
name: "p",
|
|
1806
1782
|
class: "p1edlxt3",
|
|
1807
1783
|
propsAsIs: !0
|
|
1808
|
-
}),
|
|
1784
|
+
}), xo = /* @__PURE__ */ m("div")({
|
|
1809
1785
|
name: "g",
|
|
1810
1786
|
class: "ghm08u2",
|
|
1811
1787
|
propsAsIs: !1
|
|
1812
|
-
}),
|
|
1788
|
+
}), To = /* @__PURE__ */ m("span")({
|
|
1813
1789
|
name: "c",
|
|
1814
1790
|
class: "c12nsh46",
|
|
1815
1791
|
propsAsIs: !1
|
|
1816
|
-
}),
|
|
1792
|
+
}), vo = /* @__PURE__ */ m("span")({
|
|
1817
1793
|
name: "d",
|
|
1818
1794
|
class: "dlr9eoc",
|
|
1819
1795
|
propsAsIs: !1
|
|
1820
|
-
}),
|
|
1821
|
-
/* @__PURE__ */
|
|
1822
|
-
r && /* @__PURE__ */ p(
|
|
1823
|
-
o !== void 0 && /* @__PURE__ */
|
|
1824
|
-
/* @__PURE__ */ p(
|
|
1825
|
-
/* @__PURE__ */
|
|
1826
|
-
/* @__PURE__ */ p(
|
|
1827
|
-
/* @__PURE__ */ p(
|
|
1796
|
+
}), Do = ({ title: r, points: o, isPlayingTimer: l, isTimer: u, onTimerExpired: d }) => /* @__PURE__ */ z(wo, { children: [
|
|
1797
|
+
/* @__PURE__ */ z(Eo, { children: [
|
|
1798
|
+
r && /* @__PURE__ */ p(Ao, { children: r }),
|
|
1799
|
+
o !== void 0 && /* @__PURE__ */ z(Oe, { children: [
|
|
1800
|
+
/* @__PURE__ */ p(No, { name: "icon-trophy" }),
|
|
1801
|
+
/* @__PURE__ */ z(xo, { children: [
|
|
1802
|
+
/* @__PURE__ */ p(To, { children: o }),
|
|
1803
|
+
/* @__PURE__ */ p(vo, { children: "PTS" })
|
|
1828
1804
|
] })
|
|
1829
1805
|
] })
|
|
1830
1806
|
] }),
|
|
1831
1807
|
u && /* @__PURE__ */ p(Ii, { isPlaying: l, onTimerExpired: d })
|
|
1832
|
-
] }),
|
|
1808
|
+
] }), Lo = ({ openedQuestion: r, vote: o }) => {
|
|
1833
1809
|
var l;
|
|
1834
1810
|
const u = r.subject, d = r.type, g = (l = r.options) == null ? void 0 : l.options, [f, s] = K(!1), [I, N] = K(!1), [E, x] = K(""), C = r == null ? void 0 : r.id, v = He(
|
|
1835
1811
|
async (T) => {
|
|
@@ -1839,7 +1815,7 @@ const To = () => Ue, vo = /* @__PURE__ */ m("div")({
|
|
|
1839
1815
|
}
|
|
1840
1816
|
},
|
|
1841
1817
|
[C, x, o]
|
|
1842
|
-
),
|
|
1818
|
+
), L = De(
|
|
1843
1819
|
() => r == null ? void 0 : r.answers.find((T) => T.youVoted === !0),
|
|
1844
1820
|
[r]
|
|
1845
1821
|
), y = De(
|
|
@@ -1847,7 +1823,7 @@ const To = () => Ue, vo = /* @__PURE__ */ m("div")({
|
|
|
1847
1823
|
[r]
|
|
1848
1824
|
), A = De(() => r ? r.answers.map((T) => ({
|
|
1849
1825
|
...T,
|
|
1850
|
-
questionVoted: !!
|
|
1826
|
+
questionVoted: !!L,
|
|
1851
1827
|
youSelected: E === T.id,
|
|
1852
1828
|
isLoading: I,
|
|
1853
1829
|
hasCorrectAnswer: y,
|
|
@@ -1856,20 +1832,20 @@ const To = () => Ue, vo = /* @__PURE__ */ m("div")({
|
|
|
1856
1832
|
questionStatus: r.status,
|
|
1857
1833
|
// ToDo: Figure out why imageMode is not in the response
|
|
1858
1834
|
onVote: v
|
|
1859
|
-
})) : [], [y, f, I, r,
|
|
1860
|
-
return /* @__PURE__ */ p(
|
|
1835
|
+
})) : [], [y, f, I, r, L, v, E]), w = g && (g.case === "trivia" || g.case === "prediction") ? g.value : void 0;
|
|
1836
|
+
return /* @__PURE__ */ p(Y1, { "data-question-header": "true", children: /* @__PURE__ */ p(X1, { children: /* @__PURE__ */ z(K1, { children: [
|
|
1861
1837
|
w && /* @__PURE__ */ p(
|
|
1862
|
-
|
|
1838
|
+
J1,
|
|
1863
1839
|
{
|
|
1864
1840
|
feedbackMessages: w,
|
|
1865
|
-
questionVoted: !!
|
|
1866
|
-
questionVotedCorrectly:
|
|
1841
|
+
questionVoted: !!L,
|
|
1842
|
+
questionVotedCorrectly: L == null ? void 0 : L.correct,
|
|
1867
1843
|
questionType: d,
|
|
1868
1844
|
hasCorrectAnswer: y
|
|
1869
1845
|
}
|
|
1870
1846
|
),
|
|
1871
1847
|
/* @__PURE__ */ p(
|
|
1872
|
-
|
|
1848
|
+
Do,
|
|
1873
1849
|
{
|
|
1874
1850
|
title: f ? "Expired" : "To win",
|
|
1875
1851
|
points: f ? void 0 : 100,
|
|
@@ -1877,93 +1853,93 @@ const To = () => Ue, vo = /* @__PURE__ */ m("div")({
|
|
|
1877
1853
|
isTimer: !0
|
|
1878
1854
|
}
|
|
1879
1855
|
),
|
|
1880
|
-
/* @__PURE__ */ p(
|
|
1881
|
-
/* @__PURE__ */ p(
|
|
1856
|
+
/* @__PURE__ */ p(eo, { children: u }),
|
|
1857
|
+
/* @__PURE__ */ p(to, { children: A.map((T) => /* @__PURE__ */ p(Mo, { ...T }, T.id)) })
|
|
1882
1858
|
] }) }) });
|
|
1883
1859
|
};
|
|
1884
|
-
const
|
|
1860
|
+
const zo = /* @__PURE__ */ m("div")({
|
|
1885
1861
|
name: "n",
|
|
1886
1862
|
class: "nyaglcf",
|
|
1887
1863
|
propsAsIs: !1
|
|
1888
|
-
}),
|
|
1864
|
+
}), So = /* @__PURE__ */ m("div")({
|
|
1889
1865
|
name: "r",
|
|
1890
1866
|
class: "rn5nzbc",
|
|
1891
1867
|
propsAsIs: !1
|
|
1892
|
-
}),
|
|
1868
|
+
}), jo = /* @__PURE__ */ m("img")({
|
|
1893
1869
|
name: "e",
|
|
1894
1870
|
class: "e6i73qc",
|
|
1895
1871
|
propsAsIs: !1
|
|
1896
|
-
}),
|
|
1872
|
+
}), Bo = /* @__PURE__ */ m("div")({
|
|
1897
1873
|
name: "i",
|
|
1898
1874
|
class: "iu0veuw",
|
|
1899
1875
|
propsAsIs: !1
|
|
1900
|
-
}),
|
|
1876
|
+
}), bo = /* @__PURE__ */ m("img")({
|
|
1901
1877
|
name: "p",
|
|
1902
1878
|
class: "ph41hsa",
|
|
1903
1879
|
propsAsIs: !1
|
|
1904
|
-
}),
|
|
1880
|
+
}), ko = /* @__PURE__ */ m("span")({
|
|
1905
1881
|
name: "a",
|
|
1906
1882
|
class: "a1doo0j",
|
|
1907
1883
|
propsAsIs: !1
|
|
1908
|
-
}),
|
|
1884
|
+
}), Ro = /* @__PURE__ */ m("div")({
|
|
1909
1885
|
name: "s",
|
|
1910
1886
|
class: "s1y6mmdj",
|
|
1911
1887
|
propsAsIs: !1
|
|
1912
|
-
}),
|
|
1888
|
+
}), _o = /* @__PURE__ */ m("div")({
|
|
1913
1889
|
name: "c",
|
|
1914
1890
|
class: "cr7s6d2",
|
|
1915
1891
|
propsAsIs: !1
|
|
1916
|
-
}),
|
|
1892
|
+
}), Oo = /* @__PURE__ */ m("button")({
|
|
1917
1893
|
name: "d",
|
|
1918
1894
|
class: "dn2ogfd",
|
|
1919
1895
|
propsAsIs: !1
|
|
1920
|
-
}),
|
|
1896
|
+
}), Uo = /* @__PURE__ */ m("button")({
|
|
1921
1897
|
name: "x",
|
|
1922
1898
|
class: "xvt3fwn",
|
|
1923
1899
|
propsAsIs: !1
|
|
1924
|
-
}),
|
|
1900
|
+
}), $o = /* @__PURE__ */ m("img")({
|
|
1925
1901
|
name: "g",
|
|
1926
1902
|
class: "g4rp2wp",
|
|
1927
1903
|
propsAsIs: !1
|
|
1928
|
-
}),
|
|
1904
|
+
}), Fo = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikdyb3VwIDQ2NSI+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY4IiB4PSIxLjI1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKDQ1IDEuMjUgMCkiIGZpbGw9IndoaXRlIi8+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY5IiB5PSI4Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSAwIDguNzUpIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+Cjwvc3ZnPgo=", Po = ({
|
|
1929
1905
|
close: r,
|
|
1930
1906
|
action: o,
|
|
1931
1907
|
data: { icon: l, header: u, title: d, subtitle: g, graphicBg: f, sponsorLogo: s }
|
|
1932
|
-
}) => /* @__PURE__ */
|
|
1933
|
-
/* @__PURE__ */ p(
|
|
1934
|
-
/* @__PURE__ */ p(
|
|
1935
|
-
/* @__PURE__ */
|
|
1936
|
-
/* @__PURE__ */
|
|
1937
|
-
/* @__PURE__ */ p("div", { children: s ? /* @__PURE__ */
|
|
1938
|
-
/* @__PURE__ */ p(
|
|
1939
|
-
/* @__PURE__ */ p(
|
|
1908
|
+
}) => /* @__PURE__ */ z(zo, { children: [
|
|
1909
|
+
/* @__PURE__ */ p(Uo, { onClick: r, children: /* @__PURE__ */ p($o, { alt: "icon-close-onboarding-inapp", src: Fo }) }),
|
|
1910
|
+
/* @__PURE__ */ p(So, { style: { backgroundImage: `url(${f || ""})` }, children: l && /* @__PURE__ */ p(jo, { alt: "onboarding-inapp-icon", src: l }) }),
|
|
1911
|
+
/* @__PURE__ */ z(Bo, { children: [
|
|
1912
|
+
/* @__PURE__ */ z("div", { children: [
|
|
1913
|
+
/* @__PURE__ */ p("div", { children: s ? /* @__PURE__ */ z(Oe, { children: [
|
|
1914
|
+
/* @__PURE__ */ p(bo, { alt: "sponsor-logo", src: s }),
|
|
1915
|
+
/* @__PURE__ */ p(ko, { children: "Presents" })
|
|
1940
1916
|
] }) : u || "" }),
|
|
1941
|
-
/* @__PURE__ */ p(
|
|
1942
|
-
/* @__PURE__ */ p(
|
|
1917
|
+
/* @__PURE__ */ p(Ro, { children: d || "" }),
|
|
1918
|
+
/* @__PURE__ */ p(_o, { children: g || "" })
|
|
1943
1919
|
] }),
|
|
1944
|
-
/* @__PURE__ */ p(
|
|
1920
|
+
/* @__PURE__ */ p(Oo, { onClick: o, children: "Play" })
|
|
1945
1921
|
] })
|
|
1946
1922
|
] });
|
|
1947
|
-
const
|
|
1923
|
+
const Yo = /* @__PURE__ */ m("div")({
|
|
1948
1924
|
name: "r",
|
|
1949
1925
|
class: "r1li8aub",
|
|
1950
1926
|
propsAsIs: !1
|
|
1951
|
-
}),
|
|
1952
|
-
[Vt.ONBOARDING]:
|
|
1927
|
+
}), Vo = {
|
|
1928
|
+
[Vt.ONBOARDING]: Po,
|
|
1953
1929
|
[Vt.QUESTION]: mi
|
|
1954
|
-
},
|
|
1930
|
+
}, Zo = ({
|
|
1955
1931
|
index: r,
|
|
1956
1932
|
total: o,
|
|
1957
1933
|
...l
|
|
1958
1934
|
}) => {
|
|
1959
|
-
const u =
|
|
1960
|
-
return
|
|
1935
|
+
const u = Ri(null), d = Vo[l.type] || mi;
|
|
1936
|
+
return kt(() => {
|
|
1961
1937
|
u.current !== null && l.hiding && u.current.animate([{ right: "0" }, { right: "-100%" }], {
|
|
1962
1938
|
duration: 300,
|
|
1963
1939
|
fill: "forwards"
|
|
1964
1940
|
});
|
|
1965
1941
|
}, [l.hiding]), /* @__PURE__ */ p(
|
|
1966
|
-
|
|
1942
|
+
Yo,
|
|
1967
1943
|
{
|
|
1968
1944
|
ref: u,
|
|
1969
1945
|
style: { zIndex: r + 1, transform: `translateY(${100 * (o - r - 1)}%)` },
|
|
@@ -1971,14 +1947,14 @@ const Wo = /* @__PURE__ */ m("div")({
|
|
|
1971
1947
|
}
|
|
1972
1948
|
);
|
|
1973
1949
|
};
|
|
1974
|
-
const
|
|
1950
|
+
const Qo = /* @__PURE__ */ m("div")({
|
|
1975
1951
|
name: "o",
|
|
1976
1952
|
class: "oc6h1al",
|
|
1977
1953
|
propsAsIs: !1
|
|
1978
|
-
}),
|
|
1954
|
+
}), Ho = ({ notificationsStore: r }) => {
|
|
1979
1955
|
const o = Z(r);
|
|
1980
|
-
return /* @__PURE__ */ p(
|
|
1981
|
-
|
|
1956
|
+
return /* @__PURE__ */ p(Qo, { children: o == null ? void 0 : o.map((l, u) => /* @__PURE__ */ p(
|
|
1957
|
+
Zo,
|
|
1982
1958
|
{
|
|
1983
1959
|
index: u,
|
|
1984
1960
|
total: o.length,
|
|
@@ -1986,18 +1962,18 @@ const Xo = /* @__PURE__ */ m("div")({
|
|
|
1986
1962
|
},
|
|
1987
1963
|
l.id
|
|
1988
1964
|
)) });
|
|
1989
|
-
},
|
|
1965
|
+
}, Go = ({ store: r }) => {
|
|
1990
1966
|
const { data: o } = Z(r);
|
|
1991
|
-
return o != null && o.summary ? /* @__PURE__ */ p(
|
|
1992
|
-
},
|
|
1967
|
+
return o != null && o.summary ? /* @__PURE__ */ p(F1, { ...o.summary, ...o.percentage }) : /* @__PURE__ */ p("div", { children: "wait user..." });
|
|
1968
|
+
}, Wo = ({ store: r, openQuestion: o }) => {
|
|
1993
1969
|
const l = Z(r);
|
|
1994
|
-
return l != null && l.data ? /* @__PURE__ */ p(
|
|
1970
|
+
return l != null && l.data ? /* @__PURE__ */ p(m1, { openQuestion: o, questions: l.data }) : /* @__PURE__ */ p("div", { children: "wait questions..." });
|
|
1995
1971
|
};
|
|
1996
|
-
const
|
|
1972
|
+
const qo = /* @__PURE__ */ m("div")({
|
|
1997
1973
|
name: "y",
|
|
1998
1974
|
class: "y1qd1atw",
|
|
1999
1975
|
propsAsIs: !1
|
|
2000
|
-
}),
|
|
1976
|
+
}), Jo = ({
|
|
2001
1977
|
openedQuestion: r,
|
|
2002
1978
|
closeQuestion: o,
|
|
2003
1979
|
vote: l
|
|
@@ -2008,10 +1984,10 @@ const is = /* @__PURE__ */ m("div")({
|
|
|
2008
1984
|
g(I);
|
|
2009
1985
|
}, [g]);
|
|
2010
1986
|
const f = De(() => r == null ? void 0 : r.answers.find((I) => I.youVoted === !0), [r]), s = De(() => !!(r != null && r.answers.find((I) => I.correct === !0)), [r]);
|
|
2011
|
-
return r ? /* @__PURE__ */ p(
|
|
1987
|
+
return r ? /* @__PURE__ */ p(qo, {
|
|
2012
1988
|
children: /* @__PURE__ */ p("div", {
|
|
2013
1989
|
children: /* @__PURE__ */ p("div", {
|
|
2014
|
-
children: /* @__PURE__ */ p(
|
|
1990
|
+
children: /* @__PURE__ */ p(Lo, {
|
|
2015
1991
|
title: r.subject,
|
|
2016
1992
|
feedbackMessages: (u = r.options) == null ? void 0 : u.options.value,
|
|
2017
1993
|
questionType: r.type,
|
|
@@ -2037,54 +2013,67 @@ const is = /* @__PURE__ */ m("div")({
|
|
|
2037
2013
|
})
|
|
2038
2014
|
}) : null;
|
|
2039
2015
|
};
|
|
2040
|
-
const
|
|
2016
|
+
const Xo = /* @__PURE__ */ m("div")({
|
|
2041
2017
|
name: "e",
|
|
2042
2018
|
class: "e1javwmj",
|
|
2043
2019
|
propsAsIs: !1
|
|
2044
|
-
}),
|
|
2020
|
+
}), Ko = /* @__PURE__ */ m("div")({
|
|
2045
2021
|
name: "t",
|
|
2046
2022
|
class: "t1qosv8q",
|
|
2047
2023
|
propsAsIs: !1
|
|
2048
2024
|
});
|
|
2049
|
-
const
|
|
2025
|
+
const es = /* @__PURE__ */ m("div")({
|
|
2026
|
+
name: "o",
|
|
2027
|
+
class: "oa5apdf",
|
|
2028
|
+
propsAsIs: !1
|
|
2029
|
+
}), ei = /* @__PURE__ */ m("button")({
|
|
2030
|
+
name: "n",
|
|
2031
|
+
class: "n1wh5guy",
|
|
2032
|
+
propsAsIs: !1
|
|
2033
|
+
}), ts = /* @__PURE__ */ m("img")({
|
|
2034
|
+
name: "r",
|
|
2035
|
+
class: "ro3ktps",
|
|
2036
|
+
propsAsIs: !1
|
|
2037
|
+
});
|
|
2038
|
+
const is = /* @__PURE__ */ m("div")({
|
|
2050
2039
|
name: "t",
|
|
2051
2040
|
class: "t16hl500",
|
|
2052
2041
|
propsAsIs: !1
|
|
2053
|
-
}),
|
|
2042
|
+
}), rs = /* @__PURE__ */ m("img")({
|
|
2054
2043
|
name: "e",
|
|
2055
2044
|
class: "e18ymslp",
|
|
2056
2045
|
propsAsIs: !1
|
|
2057
|
-
}),
|
|
2046
|
+
}), ns = /* @__PURE__ */ m("div")({
|
|
2058
2047
|
name: "n",
|
|
2059
2048
|
class: "n1kdd00k",
|
|
2060
2049
|
propsAsIs: !1
|
|
2061
|
-
}),
|
|
2050
|
+
}), os = /* @__PURE__ */ m("div")({
|
|
2062
2051
|
name: "r",
|
|
2063
2052
|
class: "rwwgdkm",
|
|
2064
2053
|
propsAsIs: !1
|
|
2065
|
-
}),
|
|
2054
|
+
}), ss = /* @__PURE__ */ m("div")({
|
|
2066
2055
|
name: "d",
|
|
2067
2056
|
class: "dvazwa9",
|
|
2068
2057
|
propsAsIs: !1
|
|
2069
|
-
}),
|
|
2058
|
+
}), as = /* @__PURE__ */ m("a")({
|
|
2070
2059
|
name: "c",
|
|
2071
2060
|
class: "cd3vh14",
|
|
2072
2061
|
propsAsIs: !1
|
|
2073
|
-
}),
|
|
2062
|
+
}), ls = /* @__PURE__ */ m("img")({
|
|
2074
2063
|
name: "l",
|
|
2075
2064
|
class: "l19zo16x",
|
|
2076
2065
|
propsAsIs: !1
|
|
2077
2066
|
});
|
|
2078
|
-
var
|
|
2079
|
-
at.byteLength =
|
|
2080
|
-
at.toByteArray =
|
|
2081
|
-
at.fromByteArray =
|
|
2082
|
-
var fe = [], ee = [],
|
|
2083
|
-
for (var Fe = 0,
|
|
2067
|
+
var Ei = {}, Ai = {}, at = {};
|
|
2068
|
+
at.byteLength = hs;
|
|
2069
|
+
at.toByteArray = ps;
|
|
2070
|
+
at.fromByteArray = ms;
|
|
2071
|
+
var fe = [], ee = [], cs = typeof Uint8Array < "u" ? Uint8Array : Array, Ct = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
2072
|
+
for (var Fe = 0, us = Ct.length; Fe < us; ++Fe)
|
|
2084
2073
|
fe[Fe] = Ct[Fe], ee[Ct.charCodeAt(Fe)] = Fe;
|
|
2085
2074
|
ee["-".charCodeAt(0)] = 62;
|
|
2086
2075
|
ee["_".charCodeAt(0)] = 63;
|
|
2087
|
-
function
|
|
2076
|
+
function Ni(r) {
|
|
2088
2077
|
var o = r.length;
|
|
2089
2078
|
if (o % 4 > 0)
|
|
2090
2079
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
@@ -2093,30 +2082,30 @@ function xi(r) {
|
|
|
2093
2082
|
var u = l === o ? 0 : 4 - l % 4;
|
|
2094
2083
|
return [l, u];
|
|
2095
2084
|
}
|
|
2096
|
-
function
|
|
2097
|
-
var o =
|
|
2085
|
+
function hs(r) {
|
|
2086
|
+
var o = Ni(r), l = o[0], u = o[1];
|
|
2098
2087
|
return (l + u) * 3 / 4 - u;
|
|
2099
2088
|
}
|
|
2100
|
-
function
|
|
2089
|
+
function ds(r, o, l) {
|
|
2101
2090
|
return (o + l) * 3 / 4 - l;
|
|
2102
2091
|
}
|
|
2103
|
-
function
|
|
2104
|
-
var o, l =
|
|
2092
|
+
function ps(r) {
|
|
2093
|
+
var o, l = Ni(r), u = l[0], d = l[1], g = new cs(ds(r, u, d)), f = 0, s = d > 0 ? u - 4 : u, I;
|
|
2105
2094
|
for (I = 0; I < s; I += 4)
|
|
2106
2095
|
o = ee[r.charCodeAt(I)] << 18 | ee[r.charCodeAt(I + 1)] << 12 | ee[r.charCodeAt(I + 2)] << 6 | ee[r.charCodeAt(I + 3)], g[f++] = o >> 16 & 255, g[f++] = o >> 8 & 255, g[f++] = o & 255;
|
|
2107
2096
|
return d === 2 && (o = ee[r.charCodeAt(I)] << 2 | ee[r.charCodeAt(I + 1)] >> 4, g[f++] = o & 255), d === 1 && (o = ee[r.charCodeAt(I)] << 10 | ee[r.charCodeAt(I + 1)] << 4 | ee[r.charCodeAt(I + 2)] >> 2, g[f++] = o >> 8 & 255, g[f++] = o & 255), g;
|
|
2108
2097
|
}
|
|
2109
|
-
function
|
|
2098
|
+
function fs(r) {
|
|
2110
2099
|
return fe[r >> 18 & 63] + fe[r >> 12 & 63] + fe[r >> 6 & 63] + fe[r & 63];
|
|
2111
2100
|
}
|
|
2112
|
-
function
|
|
2101
|
+
function gs(r, o, l) {
|
|
2113
2102
|
for (var u, d = [], g = o; g < l; g += 3)
|
|
2114
|
-
u = (r[g] << 16 & 16711680) + (r[g + 1] << 8 & 65280) + (r[g + 2] & 255), d.push(
|
|
2103
|
+
u = (r[g] << 16 & 16711680) + (r[g + 1] << 8 & 65280) + (r[g + 2] & 255), d.push(fs(u));
|
|
2115
2104
|
return d.join("");
|
|
2116
2105
|
}
|
|
2117
|
-
function
|
|
2106
|
+
function ms(r) {
|
|
2118
2107
|
for (var o, l = r.length, u = l % 3, d = [], g = 16383, f = 0, s = l - u; f < s; f += g)
|
|
2119
|
-
d.push(
|
|
2108
|
+
d.push(gs(r, f, f + g > s ? s : f + g));
|
|
2120
2109
|
return u === 1 ? (o = r[l - 1], d.push(
|
|
2121
2110
|
fe[o >> 2] + fe[o << 4 & 63] + "=="
|
|
2122
2111
|
)) : u === 2 && (o = (r[l - 2] << 8) + r[l - 1], d.push(
|
|
@@ -2141,12 +2130,12 @@ Ft.read = function(r, o, l, u, d) {
|
|
|
2141
2130
|
return (v ? -1 : 1) * f * Math.pow(2, g - u);
|
|
2142
2131
|
};
|
|
2143
2132
|
Ft.write = function(r, o, l, u, d, g) {
|
|
2144
|
-
var f, s, I, N = g * 8 - d - 1, E = (1 << N) - 1, x = E >> 1, C = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, v = u ? 0 : g - 1,
|
|
2145
|
-
for (o = Math.abs(o), isNaN(o) || o === 1 / 0 ? (s = isNaN(o) ? 1 : 0, f = E) : (f = Math.floor(Math.log(o) / Math.LN2), o * (I = Math.pow(2, -f)) < 1 && (f--, I *= 2), f + x >= 1 ? o += C / I : o += C * Math.pow(2, 1 - x), o * I >= 2 && (f++, I /= 2), f + x >= E ? (s = 0, f = E) : f + x >= 1 ? (s = (o * I - 1) * Math.pow(2, d), f = f + x) : (s = o * Math.pow(2, x - 1) * Math.pow(2, d), f = 0)); d >= 8; r[l + v] = s & 255, v +=
|
|
2133
|
+
var f, s, I, N = g * 8 - d - 1, E = (1 << N) - 1, x = E >> 1, C = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, v = u ? 0 : g - 1, L = u ? 1 : -1, y = o < 0 || o === 0 && 1 / o < 0 ? 1 : 0;
|
|
2134
|
+
for (o = Math.abs(o), isNaN(o) || o === 1 / 0 ? (s = isNaN(o) ? 1 : 0, f = E) : (f = Math.floor(Math.log(o) / Math.LN2), o * (I = Math.pow(2, -f)) < 1 && (f--, I *= 2), f + x >= 1 ? o += C / I : o += C * Math.pow(2, 1 - x), o * I >= 2 && (f++, I /= 2), f + x >= E ? (s = 0, f = E) : f + x >= 1 ? (s = (o * I - 1) * Math.pow(2, d), f = f + x) : (s = o * Math.pow(2, x - 1) * Math.pow(2, d), f = 0)); d >= 8; r[l + v] = s & 255, v += L, s /= 256, d -= 8)
|
|
2146
2135
|
;
|
|
2147
|
-
for (f = f << d | s, N += d; N > 0; r[l + v] = f & 255, v +=
|
|
2136
|
+
for (f = f << d | s, N += d; N > 0; r[l + v] = f & 255, v += L, f /= 256, N -= 8)
|
|
2148
2137
|
;
|
|
2149
|
-
r[l + v -
|
|
2138
|
+
r[l + v - L] |= y * 128;
|
|
2150
2139
|
};
|
|
2151
2140
|
/*!
|
|
2152
2141
|
* The buffer module from node.js, for the browser.
|
|
@@ -2205,7 +2194,7 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2205
2194
|
if (typeof i == "string")
|
|
2206
2195
|
return C(i, e);
|
|
2207
2196
|
if (ArrayBuffer.isView(i))
|
|
2208
|
-
return
|
|
2197
|
+
return L(i);
|
|
2209
2198
|
if (i == null)
|
|
2210
2199
|
throw new TypeError(
|
|
2211
2200
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof i
|
|
@@ -2265,7 +2254,7 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2265
2254
|
t[n] = i[n] & 255;
|
|
2266
2255
|
return t;
|
|
2267
2256
|
}
|
|
2268
|
-
function
|
|
2257
|
+
function L(i) {
|
|
2269
2258
|
if (P(i, Uint8Array)) {
|
|
2270
2259
|
const e = new Uint8Array(i);
|
|
2271
2260
|
return y(e.buffer, e.byteOffset, e.byteLength);
|
|
@@ -2478,10 +2467,10 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2478
2467
|
if (t >>>= 0, n >>>= 0, a >>>= 0, c >>>= 0, this === e)
|
|
2479
2468
|
return 0;
|
|
2480
2469
|
let h = c - a, D = n - t;
|
|
2481
|
-
const
|
|
2482
|
-
for (let j = 0; j <
|
|
2483
|
-
if (
|
|
2484
|
-
h =
|
|
2470
|
+
const k = Math.min(h, D), b = this.slice(a, c), R = e.slice(t, n);
|
|
2471
|
+
for (let j = 0; j < k; ++j)
|
|
2472
|
+
if (b[j] !== R[j]) {
|
|
2473
|
+
h = b[j], D = R[j];
|
|
2485
2474
|
break;
|
|
2486
2475
|
}
|
|
2487
2476
|
return h < D ? -1 : D < h ? 1 : 0;
|
|
@@ -2511,28 +2500,28 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2511
2500
|
return -1;
|
|
2512
2501
|
c = 2, h /= 2, D /= 2, t /= 2;
|
|
2513
2502
|
}
|
|
2514
|
-
function
|
|
2503
|
+
function k(R, j) {
|
|
2515
2504
|
return c === 1 ? R[j] : R.readUInt16BE(j * c);
|
|
2516
2505
|
}
|
|
2517
|
-
let
|
|
2506
|
+
let b;
|
|
2518
2507
|
if (a) {
|
|
2519
2508
|
let R = -1;
|
|
2520
|
-
for (
|
|
2521
|
-
if (
|
|
2522
|
-
if (R === -1 && (R =
|
|
2509
|
+
for (b = t; b < h; b++)
|
|
2510
|
+
if (k(i, b) === k(e, R === -1 ? 0 : b - R)) {
|
|
2511
|
+
if (R === -1 && (R = b), b - R + 1 === D)
|
|
2523
2512
|
return R * c;
|
|
2524
2513
|
} else
|
|
2525
|
-
R !== -1 && (
|
|
2514
|
+
R !== -1 && (b -= b - R), R = -1;
|
|
2526
2515
|
} else
|
|
2527
|
-
for (t + D > h && (t = h - D),
|
|
2516
|
+
for (t + D > h && (t = h - D), b = t; b >= 0; b--) {
|
|
2528
2517
|
let R = !0;
|
|
2529
2518
|
for (let j = 0; j < D; j++)
|
|
2530
|
-
if (
|
|
2519
|
+
if (k(i, b + j) !== k(e, j)) {
|
|
2531
2520
|
R = !1;
|
|
2532
2521
|
break;
|
|
2533
2522
|
}
|
|
2534
2523
|
if (R)
|
|
2535
|
-
return
|
|
2524
|
+
return b;
|
|
2536
2525
|
}
|
|
2537
2526
|
return -1;
|
|
2538
2527
|
}
|
|
@@ -2626,19 +2615,19 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2626
2615
|
const c = i[a];
|
|
2627
2616
|
let h = null, D = c > 239 ? 4 : c > 223 ? 3 : c > 191 ? 2 : 1;
|
|
2628
2617
|
if (a + D <= t) {
|
|
2629
|
-
let
|
|
2618
|
+
let k, b, R, j;
|
|
2630
2619
|
switch (D) {
|
|
2631
2620
|
case 1:
|
|
2632
2621
|
c < 128 && (h = c);
|
|
2633
2622
|
break;
|
|
2634
2623
|
case 2:
|
|
2635
|
-
|
|
2624
|
+
k = i[a + 1], (k & 192) === 128 && (j = (c & 31) << 6 | k & 63, j > 127 && (h = j));
|
|
2636
2625
|
break;
|
|
2637
2626
|
case 3:
|
|
2638
|
-
|
|
2627
|
+
k = i[a + 1], b = i[a + 2], (k & 192) === 128 && (b & 192) === 128 && (j = (c & 15) << 12 | (k & 63) << 6 | b & 63, j > 2047 && (j < 55296 || j > 57343) && (h = j));
|
|
2639
2628
|
break;
|
|
2640
2629
|
case 4:
|
|
2641
|
-
|
|
2630
|
+
k = i[a + 1], b = i[a + 2], R = i[a + 3], (k & 192) === 128 && (b & 192) === 128 && (R & 192) === 128 && (j = (c & 15) << 18 | (k & 63) << 12 | (b & 63) << 6 | R & 63, j > 65535 && j < 1114112 && (h = j));
|
|
2642
2631
|
}
|
|
2643
2632
|
}
|
|
2644
2633
|
h === null ? (h = 65533, D = 1) : h > 65535 && (h -= 65536, n.push(h >>> 10 & 1023 | 55296), h = 56320 | h & 1023), n.push(h), a += D;
|
|
@@ -2838,8 +2827,8 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2838
2827
|
return se(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
2839
2828
|
}), s.prototype.writeIntLE = function(e, t, n, a) {
|
|
2840
2829
|
if (e = +e, t = t >>> 0, !a) {
|
|
2841
|
-
const
|
|
2842
|
-
$(this, e, t, n,
|
|
2830
|
+
const k = Math.pow(2, 8 * n - 1);
|
|
2831
|
+
$(this, e, t, n, k - 1, -k);
|
|
2843
2832
|
}
|
|
2844
2833
|
let c = 0, h = 1, D = 0;
|
|
2845
2834
|
for (this[t] = e & 255; ++c < n && (h *= 256); )
|
|
@@ -2847,8 +2836,8 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
2847
2836
|
return t + n;
|
|
2848
2837
|
}, s.prototype.writeIntBE = function(e, t, n, a) {
|
|
2849
2838
|
if (e = +e, t = t >>> 0, !a) {
|
|
2850
|
-
const
|
|
2851
|
-
$(this, e, t, n,
|
|
2839
|
+
const k = Math.pow(2, 8 * n - 1);
|
|
2840
|
+
$(this, e, t, n, k - 1, -k);
|
|
2852
2841
|
}
|
|
2853
2842
|
let c = n - 1, h = 1, D = 0;
|
|
2854
2843
|
for (this[t + c] = e & 255; --c >= 0 && (h *= 256); )
|
|
@@ -3123,8 +3112,8 @@ Ft.write = function(r, o, l, u, d, g) {
|
|
|
3123
3112
|
function gt() {
|
|
3124
3113
|
throw new Error("BigInt not supported");
|
|
3125
3114
|
}
|
|
3126
|
-
})(
|
|
3127
|
-
var
|
|
3115
|
+
})(Ai);
|
|
3116
|
+
var xi = { exports: {} }, Y = xi.exports = {}, ue, he;
|
|
3128
3117
|
function vt() {
|
|
3129
3118
|
throw new Error("setTimeout has not been defined");
|
|
3130
3119
|
}
|
|
@@ -3143,7 +3132,7 @@ function Dt() {
|
|
|
3143
3132
|
he = Dt;
|
|
3144
3133
|
}
|
|
3145
3134
|
})();
|
|
3146
|
-
function
|
|
3135
|
+
function Ti(r) {
|
|
3147
3136
|
if (ue === setTimeout)
|
|
3148
3137
|
return setTimeout(r, 0);
|
|
3149
3138
|
if ((ue === vt || !ue) && setTimeout)
|
|
@@ -3158,7 +3147,7 @@ function vi(r) {
|
|
|
3158
3147
|
}
|
|
3159
3148
|
}
|
|
3160
3149
|
}
|
|
3161
|
-
function
|
|
3150
|
+
function Is(r) {
|
|
3162
3151
|
if (he === clearTimeout)
|
|
3163
3152
|
return clearTimeout(r);
|
|
3164
3153
|
if ((he === Dt || !he) && clearTimeout)
|
|
@@ -3173,20 +3162,20 @@ function ws(r) {
|
|
|
3173
3162
|
}
|
|
3174
3163
|
}
|
|
3175
3164
|
}
|
|
3176
|
-
var Ce = [], Ze = !1,
|
|
3177
|
-
function
|
|
3178
|
-
!Ze || !
|
|
3165
|
+
var Ce = [], Ze = !1, ke, ot = -1;
|
|
3166
|
+
function ys() {
|
|
3167
|
+
!Ze || !ke || (Ze = !1, ke.length ? Ce = ke.concat(Ce) : ot = -1, Ce.length && vi());
|
|
3179
3168
|
}
|
|
3180
|
-
function
|
|
3169
|
+
function vi() {
|
|
3181
3170
|
if (!Ze) {
|
|
3182
|
-
var r =
|
|
3171
|
+
var r = Ti(ys);
|
|
3183
3172
|
Ze = !0;
|
|
3184
3173
|
for (var o = Ce.length; o; ) {
|
|
3185
|
-
for (
|
|
3186
|
-
|
|
3174
|
+
for (ke = Ce, Ce = []; ++ot < o; )
|
|
3175
|
+
ke && ke[ot].run();
|
|
3187
3176
|
ot = -1, o = Ce.length;
|
|
3188
3177
|
}
|
|
3189
|
-
|
|
3178
|
+
ke = null, Ze = !1, Is(r);
|
|
3190
3179
|
}
|
|
3191
3180
|
}
|
|
3192
3181
|
Y.nextTick = function(r) {
|
|
@@ -3194,12 +3183,12 @@ Y.nextTick = function(r) {
|
|
|
3194
3183
|
if (arguments.length > 1)
|
|
3195
3184
|
for (var l = 1; l < arguments.length; l++)
|
|
3196
3185
|
o[l - 1] = arguments[l];
|
|
3197
|
-
Ce.push(new
|
|
3186
|
+
Ce.push(new Di(r, o)), Ce.length === 1 && !Ze && Ti(vi);
|
|
3198
3187
|
};
|
|
3199
|
-
function
|
|
3188
|
+
function Di(r, o) {
|
|
3200
3189
|
this.fun = r, this.array = o;
|
|
3201
3190
|
}
|
|
3202
|
-
|
|
3191
|
+
Di.prototype.run = function() {
|
|
3203
3192
|
this.fun.apply(null, this.array);
|
|
3204
3193
|
};
|
|
3205
3194
|
Y.title = "browser";
|
|
@@ -3234,14 +3223,14 @@ Y.chdir = function(r) {
|
|
|
3234
3223
|
Y.umask = function() {
|
|
3235
3224
|
return 0;
|
|
3236
3225
|
};
|
|
3237
|
-
var
|
|
3226
|
+
var Ms = xi.exports;
|
|
3238
3227
|
(function(r) {
|
|
3239
3228
|
Object.defineProperty(r, Symbol.toStringTag, { value: "Module" });
|
|
3240
|
-
const o =
|
|
3229
|
+
const o = Ai, l = Ms, u = (f) => f && f.__esModule ? f : { default: f }, d = u(l), g = globalThis || void 0 || self;
|
|
3241
3230
|
Object.defineProperty(r, "Buffer", { enumerable: !0, get: () => o.Buffer }), Object.defineProperty(r, "process", { enumerable: !0, get: () => d.default }), r.global = g;
|
|
3242
|
-
})(
|
|
3231
|
+
})(Ei);
|
|
3243
3232
|
let ie;
|
|
3244
|
-
typeof window < "u" ? ie = window : typeof self < "u" ? ie = self : ie =
|
|
3233
|
+
typeof window < "u" ? ie = window : typeof self < "u" ? ie = self : ie = Ei.global;
|
|
3245
3234
|
let Lt = null, zt = null;
|
|
3246
3235
|
const ti = 20, wt = ie.clearTimeout, ii = ie.setTimeout, Et = ie.cancelAnimationFrame || ie.mozCancelAnimationFrame || ie.webkitCancelAnimationFrame, ri = ie.requestAnimationFrame || ie.mozRequestAnimationFrame || ie.webkitRequestAnimationFrame;
|
|
3247
3236
|
Et == null || ri == null ? (Lt = wt, zt = function(o) {
|
|
@@ -3256,7 +3245,7 @@ Et == null || ri == null ? (Lt = wt, zt = function(o) {
|
|
|
3256
3245
|
}, ti);
|
|
3257
3246
|
return [l, u];
|
|
3258
3247
|
});
|
|
3259
|
-
function
|
|
3248
|
+
function Cs(r) {
|
|
3260
3249
|
let o, l, u, d, g, f, s;
|
|
3261
3250
|
const I = typeof document < "u" && document.attachEvent;
|
|
3262
3251
|
if (!I) {
|
|
@@ -3277,14 +3266,14 @@ function Ns(r) {
|
|
|
3277
3266
|
};
|
|
3278
3267
|
let C = !1, v = "";
|
|
3279
3268
|
u = "animationstart";
|
|
3280
|
-
const
|
|
3269
|
+
const L = "Webkit Moz O ms".split(" ");
|
|
3281
3270
|
let y = "webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "), A = "";
|
|
3282
3271
|
{
|
|
3283
3272
|
const w = document.createElement("fakeelement");
|
|
3284
3273
|
if (w.style.animationName !== void 0 && (C = !0), C === !1) {
|
|
3285
|
-
for (let T = 0; T <
|
|
3286
|
-
if (w.style[
|
|
3287
|
-
A =
|
|
3274
|
+
for (let T = 0; T < L.length; T++)
|
|
3275
|
+
if (w.style[L[T] + "AnimationName"] !== void 0) {
|
|
3276
|
+
A = L[T], v = "-" + A.toLowerCase() + "-", u = y[T], C = !0;
|
|
3288
3277
|
break;
|
|
3289
3278
|
}
|
|
3290
3279
|
}
|
|
@@ -3293,8 +3282,8 @@ function Ns(r) {
|
|
|
3293
3282
|
}
|
|
3294
3283
|
const N = function(C) {
|
|
3295
3284
|
if (!C.getElementById("detectElementResize")) {
|
|
3296
|
-
const v = (o || "") + ".resize-triggers { " + (d || "") + 'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',
|
|
3297
|
-
y.id = "detectElementResize", y.type = "text/css", r != null && y.setAttribute("nonce", r), y.styleSheet ? y.styleSheet.cssText = v : y.appendChild(C.createTextNode(v)),
|
|
3285
|
+
const v = (o || "") + ".resize-triggers { " + (d || "") + 'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }', L = C.head || C.getElementsByTagName("head")[0], y = C.createElement("style");
|
|
3286
|
+
y.id = "detectElementResize", y.type = "text/css", r != null && y.setAttribute("nonce", r), y.styleSheet ? y.styleSheet.cssText = v : y.appendChild(C.createTextNode(v)), L.appendChild(y);
|
|
3298
3287
|
}
|
|
3299
3288
|
};
|
|
3300
3289
|
return {
|
|
@@ -3303,11 +3292,11 @@ function Ns(r) {
|
|
|
3303
3292
|
C.attachEvent("onresize", v);
|
|
3304
3293
|
else {
|
|
3305
3294
|
if (!C.__resizeTriggers__) {
|
|
3306
|
-
const
|
|
3307
|
-
y && y.position === "static" && (C.style.position = "relative"), N(
|
|
3308
|
-
const A =
|
|
3309
|
-
A.className = "expand-trigger", A.appendChild(
|
|
3310
|
-
const w =
|
|
3295
|
+
const L = C.ownerDocument, y = ie.getComputedStyle(C);
|
|
3296
|
+
y && y.position === "static" && (C.style.position = "relative"), N(L), C.__resizeLast__ = {}, C.__resizeListeners__ = [], (C.__resizeTriggers__ = L.createElement("div")).className = "resize-triggers";
|
|
3297
|
+
const A = L.createElement("div");
|
|
3298
|
+
A.className = "expand-trigger", A.appendChild(L.createElement("div"));
|
|
3299
|
+
const w = L.createElement("div");
|
|
3311
3300
|
w.className = "contract-trigger", C.__resizeTriggers__.appendChild(A), C.__resizeTriggers__.appendChild(w), C.appendChild(C.__resizeTriggers__), f(C), C.addEventListener("scroll", s, !0), u && (C.__resizeTriggers__.__animationListener__ = function(S) {
|
|
3312
3301
|
S.animationName === l && f(C);
|
|
3313
3302
|
}, C.__resizeTriggers__.addEventListener(u, C.__resizeTriggers__.__animationListener__));
|
|
@@ -3328,7 +3317,7 @@ function Ns(r) {
|
|
|
3328
3317
|
}
|
|
3329
3318
|
};
|
|
3330
3319
|
}
|
|
3331
|
-
class
|
|
3320
|
+
class ws extends _i {
|
|
3332
3321
|
constructor(...o) {
|
|
3333
3322
|
super(...o), this.state = {
|
|
3334
3323
|
height: this.props.defaultHeight || 0,
|
|
@@ -3344,7 +3333,7 @@ class xs extends Oi {
|
|
|
3344
3333
|
} = this.props;
|
|
3345
3334
|
if (this._parentNode) {
|
|
3346
3335
|
var g, f, s, I;
|
|
3347
|
-
const N = window.getComputedStyle(this._parentNode) || {}, E = parseFloat((g = N.paddingLeft) !== null && g !== void 0 ? g : "0"), x = parseFloat((f = N.paddingRight) !== null && f !== void 0 ? f : "0"), C = parseFloat((s = N.paddingTop) !== null && s !== void 0 ? s : "0"), v = parseFloat((I = N.paddingBottom) !== null && I !== void 0 ? I : "0"),
|
|
3336
|
+
const N = window.getComputedStyle(this._parentNode) || {}, E = parseFloat((g = N.paddingLeft) !== null && g !== void 0 ? g : "0"), x = parseFloat((f = N.paddingRight) !== null && f !== void 0 ? f : "0"), C = parseFloat((s = N.paddingTop) !== null && s !== void 0 ? s : "0"), v = parseFloat((I = N.paddingBottom) !== null && I !== void 0 ? I : "0"), L = this._parentNode.getBoundingClientRect(), y = L.height - C - v, A = L.width - E - x, w = this._parentNode.offsetHeight - C - v, T = this._parentNode.offsetWidth - E - x;
|
|
3348
3337
|
(!l && (this.state.height !== w || this.state.scaledHeight !== y) || !u && (this.state.width !== T || this.state.scaledWidth !== A)) && (this.setState({
|
|
3349
3338
|
height: w,
|
|
3350
3339
|
width: T,
|
|
@@ -3367,7 +3356,7 @@ class xs extends Oi {
|
|
|
3367
3356
|
} = this.props;
|
|
3368
3357
|
this._autoSizer && this._autoSizer.parentNode && this._autoSizer.parentNode.ownerDocument && this._autoSizer.parentNode.ownerDocument.defaultView && this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement && (this._parentNode = this._autoSizer.parentNode, this._parentNode != null && (typeof ResizeObserver < "u" ? (this._resizeObserver = new ResizeObserver(() => {
|
|
3369
3358
|
this._timeoutId = setTimeout(this._onResize, 0);
|
|
3370
|
-
}), this._resizeObserver.observe(this._parentNode)) : (this._detectElementResize =
|
|
3359
|
+
}), this._resizeObserver.observe(this._parentNode)) : (this._detectElementResize = Cs(o), this._detectElementResize.addResizeListener(this._parentNode, this._onResize)), this._onResize()));
|
|
3371
3360
|
}
|
|
3372
3361
|
componentWillUnmount() {
|
|
3373
3362
|
this._parentNode && (this._detectElementResize && this._detectElementResize.removeResizeListener(this._parentNode, this._onResize), this._timeoutId !== null && clearTimeout(this._timeoutId), this._resizeObserver && (this._resizeObserver.observe(this._parentNode), this._resizeObserver.disconnect()));
|
|
@@ -3388,12 +3377,12 @@ class xs extends Oi {
|
|
|
3388
3377
|
height: x,
|
|
3389
3378
|
scaledHeight: C,
|
|
3390
3379
|
scaledWidth: v,
|
|
3391
|
-
width:
|
|
3380
|
+
width: L
|
|
3392
3381
|
} = this.state, y = {
|
|
3393
3382
|
overflow: "visible"
|
|
3394
3383
|
}, A = {};
|
|
3395
3384
|
let w = !1;
|
|
3396
|
-
return d || (x === 0 && (w = !0), y.height = 0, A.height = x, A.scaledHeight = C), g || (
|
|
3385
|
+
return d || (x === 0 && (w = !0), y.height = 0, A.height = x, A.scaledHeight = C), g || (L === 0 && (w = !0), y.width = 0, A.width = L, A.scaledWidth = v), rt(N, {
|
|
3397
3386
|
ref: this._setRef,
|
|
3398
3387
|
style: {
|
|
3399
3388
|
...y,
|
|
@@ -3423,25 +3412,25 @@ function jt(r, o) {
|
|
|
3423
3412
|
return u.__proto__ = d, u;
|
|
3424
3413
|
}, jt(r, o);
|
|
3425
3414
|
}
|
|
3426
|
-
function
|
|
3415
|
+
function Es(r, o) {
|
|
3427
3416
|
r.prototype = Object.create(o.prototype), r.prototype.constructor = r, jt(r, o);
|
|
3428
3417
|
}
|
|
3429
3418
|
var oi = Number.isNaN || function(o) {
|
|
3430
3419
|
return typeof o == "number" && o !== o;
|
|
3431
3420
|
};
|
|
3432
|
-
function
|
|
3421
|
+
function As(r, o) {
|
|
3433
3422
|
return !!(r === o || oi(r) && oi(o));
|
|
3434
3423
|
}
|
|
3435
|
-
function
|
|
3424
|
+
function Ns(r, o) {
|
|
3436
3425
|
if (r.length !== o.length)
|
|
3437
3426
|
return !1;
|
|
3438
3427
|
for (var l = 0; l < r.length; l++)
|
|
3439
|
-
if (!
|
|
3428
|
+
if (!As(r[l], o[l]))
|
|
3440
3429
|
return !1;
|
|
3441
3430
|
return !0;
|
|
3442
3431
|
}
|
|
3443
3432
|
function At(r, o) {
|
|
3444
|
-
o === void 0 && (o =
|
|
3433
|
+
o === void 0 && (o = Ns);
|
|
3445
3434
|
var l, u = [], d, g = !1;
|
|
3446
3435
|
function f() {
|
|
3447
3436
|
for (var s = [], I = 0; I < arguments.length; I++)
|
|
@@ -3450,7 +3439,7 @@ function At(r, o) {
|
|
|
3450
3439
|
}
|
|
3451
3440
|
return f;
|
|
3452
3441
|
}
|
|
3453
|
-
var
|
|
3442
|
+
var xs = typeof performance == "object" && typeof performance.now == "function", si = xs ? function() {
|
|
3454
3443
|
return performance.now();
|
|
3455
3444
|
} : function() {
|
|
3456
3445
|
return Date.now();
|
|
@@ -3458,7 +3447,7 @@ var Ls = typeof performance == "object" && typeof performance.now == "function",
|
|
|
3458
3447
|
function ai(r) {
|
|
3459
3448
|
cancelAnimationFrame(r.id);
|
|
3460
3449
|
}
|
|
3461
|
-
function
|
|
3450
|
+
function Ts(r, o) {
|
|
3462
3451
|
var l = si();
|
|
3463
3452
|
function u() {
|
|
3464
3453
|
si() - l >= o ? r.call(null) : d.id = requestAnimationFrame(u);
|
|
@@ -3486,16 +3475,16 @@ function ci(r) {
|
|
|
3486
3475
|
}
|
|
3487
3476
|
return Pe;
|
|
3488
3477
|
}
|
|
3489
|
-
var
|
|
3478
|
+
var vs = 150, Ds = function(o, l) {
|
|
3490
3479
|
return o;
|
|
3491
3480
|
};
|
|
3492
|
-
function
|
|
3481
|
+
function Ls(r) {
|
|
3493
3482
|
var o, l = r.getItemOffset, u = r.getEstimatedTotalSize, d = r.getItemSize, g = r.getOffsetForIndexAndAlignment, f = r.getStartIndexForOffset, s = r.getStopIndexForStartIndex, I = r.initInstanceProps, N = r.shouldResetStyleCacheOnItemSizeChange, E = r.validateProps;
|
|
3494
3483
|
return o = /* @__PURE__ */ function(x) {
|
|
3495
|
-
|
|
3496
|
-
function C(
|
|
3484
|
+
Es(C, x);
|
|
3485
|
+
function C(L) {
|
|
3497
3486
|
var y;
|
|
3498
|
-
return y = x.call(this,
|
|
3487
|
+
return y = x.call(this, L) || this, y._instanceProps = I(y.props, ni(y)), y._outerRef = void 0, y._resetIsScrollingTimeoutId = null, y.state = {
|
|
3499
3488
|
instance: ni(y),
|
|
3500
3489
|
isScrolling: !1,
|
|
3501
3490
|
scrollDirection: "forward",
|
|
@@ -3571,7 +3560,7 @@ function Bs(r) {
|
|
|
3571
3560
|
var w = y.props.outerRef;
|
|
3572
3561
|
y._outerRef = A, typeof w == "function" ? w(A) : w != null && typeof w == "object" && w.hasOwnProperty("current") && (w.current = A);
|
|
3573
3562
|
}, y._resetIsScrollingDebounced = function() {
|
|
3574
|
-
y._resetIsScrollingTimeoutId !== null && ai(y._resetIsScrollingTimeoutId), y._resetIsScrollingTimeoutId =
|
|
3563
|
+
y._resetIsScrollingTimeoutId !== null && ai(y._resetIsScrollingTimeoutId), y._resetIsScrollingTimeoutId = Ts(y._resetIsScrolling, vs);
|
|
3575
3564
|
}, y._resetIsScrolling = function() {
|
|
3576
3565
|
y._resetIsScrollingTimeoutId = null, y.setState({
|
|
3577
3566
|
isScrolling: !1
|
|
@@ -3581,7 +3570,7 @@ function Bs(r) {
|
|
|
3581
3570
|
}, y;
|
|
3582
3571
|
}
|
|
3583
3572
|
C.getDerivedStateFromProps = function(y, A) {
|
|
3584
|
-
return
|
|
3573
|
+
return zs(y, A), E(y), null;
|
|
3585
3574
|
};
|
|
3586
3575
|
var v = C.prototype;
|
|
3587
3576
|
return v.scrollTo = function(y) {
|
|
@@ -3636,7 +3625,7 @@ function Bs(r) {
|
|
|
3636
3625
|
}, v.componentWillUnmount = function() {
|
|
3637
3626
|
this._resetIsScrollingTimeoutId !== null && ai(this._resetIsScrollingTimeoutId);
|
|
3638
3627
|
}, v.render = function() {
|
|
3639
|
-
var y = this.props, A = y.children, w = y.className, T = y.direction, S = y.height, O = y.innerRef, B = y.innerElementType, U = y.innerTagName, F = y.itemCount, G = y.itemData, q = y.itemKey, le = q === void 0 ?
|
|
3628
|
+
var y = this.props, A = y.children, w = y.className, T = y.direction, S = y.height, O = y.innerRef, B = y.innerElementType, U = y.innerTagName, F = y.itemCount, G = y.itemData, q = y.itemKey, le = q === void 0 ? Ds : q, re = y.layout, ce = y.outerElementType, W = y.outerTagName, ne = y.style, me = y.useIsScrolling, ze = y.width, Ne = this.state.isScrolling, Ie = T === "horizontal" || re === "horizontal", oe = Ie ? this._onScrollHorizontal : this._onScrollVertical, xe = this._getRangeToRender(), _ = xe[0], $ = xe[1], Te = [];
|
|
3640
3629
|
if (F > 0)
|
|
3641
3630
|
for (var se = _; se <= $; se++)
|
|
3642
3631
|
Te.push(rt(A, {
|
|
@@ -3696,9 +3685,9 @@ function Bs(r) {
|
|
|
3696
3685
|
useIsScrolling: !1
|
|
3697
3686
|
}, o;
|
|
3698
3687
|
}
|
|
3699
|
-
var
|
|
3688
|
+
var zs = function(o, l) {
|
|
3700
3689
|
o.children, o.direction, o.height, o.layout, o.innerTagName, o.outerTagName, o.width, l.instance;
|
|
3701
|
-
},
|
|
3690
|
+
}, Ss = /* @__PURE__ */ Ls({
|
|
3702
3691
|
getItemOffset: function(o, l) {
|
|
3703
3692
|
var u = o.itemSize;
|
|
3704
3693
|
return l * u;
|
|
@@ -3712,15 +3701,15 @@ var ks = function(o, l) {
|
|
|
3712
3701
|
return u * l;
|
|
3713
3702
|
},
|
|
3714
3703
|
getOffsetForIndexAndAlignment: function(o, l, u, d, g, f) {
|
|
3715
|
-
var s = o.direction, I = o.height, N = o.itemCount, E = o.itemSize, x = o.layout, C = o.width, v = s === "horizontal" || x === "horizontal",
|
|
3716
|
-
switch (u === "smart" && (d >= w -
|
|
3704
|
+
var s = o.direction, I = o.height, N = o.itemCount, E = o.itemSize, x = o.layout, C = o.width, v = s === "horizontal" || x === "horizontal", L = v ? C : I, y = Math.max(0, N * E - L), A = Math.min(y, l * E), w = Math.max(0, l * E - L + E + f);
|
|
3705
|
+
switch (u === "smart" && (d >= w - L && d <= A + L ? u = "auto" : u = "center"), u) {
|
|
3717
3706
|
case "start":
|
|
3718
3707
|
return A;
|
|
3719
3708
|
case "end":
|
|
3720
3709
|
return w;
|
|
3721
3710
|
case "center": {
|
|
3722
3711
|
var T = Math.round(w + (A - w) / 2);
|
|
3723
|
-
return T < Math.ceil(
|
|
3712
|
+
return T < Math.ceil(L / 2) ? 0 : T > y + Math.floor(L / 2) ? y : T;
|
|
3724
3713
|
}
|
|
3725
3714
|
case "auto":
|
|
3726
3715
|
default:
|
|
@@ -3746,11 +3735,11 @@ var ks = function(o, l) {
|
|
|
3746
3735
|
o.itemSize;
|
|
3747
3736
|
}
|
|
3748
3737
|
});
|
|
3749
|
-
function
|
|
3738
|
+
function js(r) {
|
|
3750
3739
|
var o = r.lastRenderedStartIndex, l = r.lastRenderedStopIndex, u = r.startIndex, d = r.stopIndex;
|
|
3751
3740
|
return !(u > l || d < o);
|
|
3752
3741
|
}
|
|
3753
|
-
function
|
|
3742
|
+
function Bs(r) {
|
|
3754
3743
|
for (var o = r.isItemLoaded, l = r.itemCount, u = r.minimumBatchSize, d = r.startIndex, g = r.stopIndex, f = [], s = null, I = null, N = d; N <= g; N++) {
|
|
3755
3744
|
var E = o(N);
|
|
3756
3745
|
E ? I !== null && (f.push(s, I), s = I = null) : (I = N, s === null && (s = N));
|
|
@@ -3770,10 +3759,10 @@ function _s(r) {
|
|
|
3770
3759
|
}
|
|
3771
3760
|
return f;
|
|
3772
3761
|
}
|
|
3773
|
-
var
|
|
3762
|
+
var bs = function(r, o) {
|
|
3774
3763
|
if (!(r instanceof o))
|
|
3775
3764
|
throw new TypeError("Cannot call a class as a function");
|
|
3776
|
-
},
|
|
3765
|
+
}, ks = function() {
|
|
3777
3766
|
function r(o, l) {
|
|
3778
3767
|
for (var u = 0; u < l.length; u++) {
|
|
3779
3768
|
var d = l[u];
|
|
@@ -3783,7 +3772,7 @@ var Os = function(r, o) {
|
|
|
3783
3772
|
return function(o, l, u) {
|
|
3784
3773
|
return l && r(o.prototype, l), u && r(o, u), o;
|
|
3785
3774
|
};
|
|
3786
|
-
}(),
|
|
3775
|
+
}(), Rs = function(r, o) {
|
|
3787
3776
|
if (typeof o != "function" && o !== null)
|
|
3788
3777
|
throw new TypeError("Super expression must either be null or a function, not " + typeof o);
|
|
3789
3778
|
r.prototype = Object.create(o && o.prototype, {
|
|
@@ -3798,11 +3787,11 @@ var Os = function(r, o) {
|
|
|
3798
3787
|
if (!r)
|
|
3799
3788
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3800
3789
|
return o && (typeof o == "object" || typeof o == "function") ? o : r;
|
|
3801
|
-
},
|
|
3802
|
-
|
|
3790
|
+
}, _s = function(r) {
|
|
3791
|
+
Rs(o, r);
|
|
3803
3792
|
function o() {
|
|
3804
3793
|
var l, u, d, g;
|
|
3805
|
-
|
|
3794
|
+
bs(this, o);
|
|
3806
3795
|
for (var f = arguments.length, s = Array(f), I = 0; I < f; I++)
|
|
3807
3796
|
s[I] = arguments[I];
|
|
3808
3797
|
return g = (u = (d = ui(this, (l = o.__proto__ || Object.getPrototypeOf(o)).call.apply(l, [this].concat(s))), d), d._lastRenderedStartIndex = -1, d._lastRenderedStopIndex = -1, d._memoizedUnloadedRanges = [], d._onItemsRendered = function(N) {
|
|
@@ -3812,7 +3801,7 @@ var Os = function(r, o) {
|
|
|
3812
3801
|
d._listRef = N;
|
|
3813
3802
|
}, u), ui(d, g);
|
|
3814
3803
|
}
|
|
3815
|
-
return
|
|
3804
|
+
return ks(o, [{
|
|
3816
3805
|
key: "resetloadMoreItemsCache",
|
|
3817
3806
|
value: function() {
|
|
3818
3807
|
var u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
|
@@ -3834,15 +3823,15 @@ var Os = function(r, o) {
|
|
|
3834
3823
|
}, {
|
|
3835
3824
|
key: "_ensureRowsLoaded",
|
|
3836
3825
|
value: function(u, d) {
|
|
3837
|
-
var g = this.props, f = g.isItemLoaded, s = g.itemCount, I = g.minimumBatchSize, N = I === void 0 ? 10 : I, E = g.threshold, x = E === void 0 ? 15 : E, C =
|
|
3826
|
+
var g = this.props, f = g.isItemLoaded, s = g.itemCount, I = g.minimumBatchSize, N = I === void 0 ? 10 : I, E = g.threshold, x = E === void 0 ? 15 : E, C = Bs({
|
|
3838
3827
|
isItemLoaded: f,
|
|
3839
3828
|
itemCount: s,
|
|
3840
3829
|
minimumBatchSize: N,
|
|
3841
3830
|
startIndex: Math.max(0, u - x),
|
|
3842
3831
|
stopIndex: Math.min(s - 1, d + x)
|
|
3843
3832
|
});
|
|
3844
|
-
(this._memoizedUnloadedRanges.length !== C.length || this._memoizedUnloadedRanges.some(function(v,
|
|
3845
|
-
return C[
|
|
3833
|
+
(this._memoizedUnloadedRanges.length !== C.length || this._memoizedUnloadedRanges.some(function(v, L) {
|
|
3834
|
+
return C[L] !== v;
|
|
3846
3835
|
})) && (this._memoizedUnloadedRanges = C, this._loadUnloadedRanges(C));
|
|
3847
3836
|
}
|
|
3848
3837
|
}, {
|
|
@@ -3851,7 +3840,7 @@ var Os = function(r, o) {
|
|
|
3851
3840
|
for (var d = this, g = this.props.loadMoreItems || this.props.loadMoreRows, f = function(N) {
|
|
3852
3841
|
var E = u[N], x = u[N + 1], C = g(E, x);
|
|
3853
3842
|
C != null && C.then(function() {
|
|
3854
|
-
if (
|
|
3843
|
+
if (js({
|
|
3855
3844
|
lastRenderedStartIndex: d._lastRenderedStartIndex,
|
|
3856
3845
|
lastRenderedStopIndex: d._lastRenderedStopIndex,
|
|
3857
3846
|
startIndex: E,
|
|
@@ -3867,39 +3856,39 @@ var Os = function(r, o) {
|
|
|
3867
3856
|
}
|
|
3868
3857
|
}]), o;
|
|
3869
3858
|
}(fi);
|
|
3870
|
-
const
|
|
3859
|
+
const Os = () => Ue, Us = /* @__PURE__ */ m("div")({
|
|
3871
3860
|
name: "a",
|
|
3872
|
-
class: "
|
|
3861
|
+
class: "a1w9zony",
|
|
3873
3862
|
propsAsIs: !1
|
|
3874
|
-
}),
|
|
3863
|
+
}), $s = /* @__PURE__ */ m("div")({
|
|
3875
3864
|
name: "l",
|
|
3876
|
-
class: "
|
|
3865
|
+
class: "l16qcfv8",
|
|
3877
3866
|
propsAsIs: !1
|
|
3878
|
-
}),
|
|
3867
|
+
}), Fs = /* @__PURE__ */ m("img")({
|
|
3879
3868
|
name: "p",
|
|
3880
|
-
class: "
|
|
3869
|
+
class: "p1gmcc5f",
|
|
3881
3870
|
propsAsIs: !1
|
|
3882
|
-
}),
|
|
3871
|
+
}), Ps = /* @__PURE__ */ m("div")({
|
|
3883
3872
|
name: "s",
|
|
3884
|
-
class: "
|
|
3873
|
+
class: "s1doddh0",
|
|
3885
3874
|
propsAsIs: !1
|
|
3886
|
-
}),
|
|
3875
|
+
}), Ys = /* @__PURE__ */ m("div")({
|
|
3887
3876
|
name: "c",
|
|
3888
|
-
class: "
|
|
3877
|
+
class: "c1js9xhe",
|
|
3889
3878
|
propsAsIs: !1
|
|
3890
|
-
}),
|
|
3879
|
+
}), Vs = /* @__PURE__ */ m("div")({
|
|
3891
3880
|
name: "d",
|
|
3892
|
-
class: "
|
|
3881
|
+
class: "d1tmnqsh",
|
|
3893
3882
|
propsAsIs: !1
|
|
3894
|
-
}),
|
|
3883
|
+
}), Zs = /* @__PURE__ */ m("span")({
|
|
3895
3884
|
name: "g",
|
|
3896
|
-
class: "
|
|
3885
|
+
class: "gi9h87j",
|
|
3897
3886
|
propsAsIs: !1
|
|
3898
|
-
}),
|
|
3887
|
+
}), Qs = /* @__PURE__ */ m(Os())({
|
|
3899
3888
|
name: "x",
|
|
3900
|
-
class: "
|
|
3889
|
+
class: "x13mk3z6",
|
|
3901
3890
|
propsAsIs: !0
|
|
3902
|
-
}),
|
|
3891
|
+
}), Hs = ({
|
|
3903
3892
|
rank: r,
|
|
3904
3893
|
avatar: o,
|
|
3905
3894
|
name: l,
|
|
@@ -3907,24 +3896,24 @@ const Ps = () => Ue, Ys = /* @__PURE__ */ m("div")({
|
|
|
3907
3896
|
isCurrentUser: d,
|
|
3908
3897
|
openItemDetail: g,
|
|
3909
3898
|
style: f
|
|
3910
|
-
}) => /* @__PURE__ */
|
|
3911
|
-
/* @__PURE__ */ p(
|
|
3912
|
-
/* @__PURE__ */
|
|
3913
|
-
o ? /* @__PURE__ */ p(
|
|
3914
|
-
/* @__PURE__ */
|
|
3915
|
-
/* @__PURE__ */ p(
|
|
3916
|
-
d && /* @__PURE__ */ p(
|
|
3899
|
+
}) => /* @__PURE__ */ z(Us, { onClick: g, style: f, children: [
|
|
3900
|
+
/* @__PURE__ */ p($s, { children: r || 0 }),
|
|
3901
|
+
/* @__PURE__ */ z(Ys, { children: [
|
|
3902
|
+
o ? /* @__PURE__ */ p(Fs, { alt: "leaderboard-item-avatar", src: o }) : /* @__PURE__ */ p(Ps, { children: Mi(l || "") }),
|
|
3903
|
+
/* @__PURE__ */ z(Vs, { children: [
|
|
3904
|
+
/* @__PURE__ */ p(Zs, { children: l || "" }),
|
|
3905
|
+
d && /* @__PURE__ */ p(Qs, { name: "icon-star" })
|
|
3917
3906
|
] })
|
|
3918
3907
|
] }),
|
|
3919
|
-
/* @__PURE__ */ p("div", { children:
|
|
3920
|
-
] }),
|
|
3921
|
-
|
|
3908
|
+
/* @__PURE__ */ p("div", { children: Ci(u) })
|
|
3909
|
+
] }), Gs = ({ items: r, openItemDetail: o, fetchMore: l }) => /* @__PURE__ */ p(ws, { children: ({ width: u, height: d }) => /* @__PURE__ */ p(
|
|
3910
|
+
_s,
|
|
3922
3911
|
{
|
|
3923
3912
|
isItemLoaded: (g) => g < r.length,
|
|
3924
3913
|
itemCount: r.length + 1,
|
|
3925
3914
|
loadMoreItems: l,
|
|
3926
3915
|
children: ({ onItemsRendered: g, ref: f }) => /* @__PURE__ */ p(
|
|
3927
|
-
|
|
3916
|
+
Ss,
|
|
3928
3917
|
{
|
|
3929
3918
|
itemSize: 56,
|
|
3930
3919
|
onItemsRendered: g,
|
|
@@ -3933,7 +3922,7 @@ const Ps = () => Ue, Ys = /* @__PURE__ */ m("div")({
|
|
|
3933
3922
|
width: u,
|
|
3934
3923
|
height: d,
|
|
3935
3924
|
children: ({ index: s, style: I }) => /* @__PURE__ */ p(
|
|
3936
|
-
|
|
3925
|
+
Hs,
|
|
3937
3926
|
{
|
|
3938
3927
|
style: { ...I, maxHeight: 48 },
|
|
3939
3928
|
...r[s],
|
|
@@ -3944,7 +3933,7 @@ const Ps = () => Ue, Ys = /* @__PURE__ */ m("div")({
|
|
|
3944
3933
|
}
|
|
3945
3934
|
)
|
|
3946
3935
|
}
|
|
3947
|
-
) }),
|
|
3936
|
+
) }), Ws = ({ store: r }) => {
|
|
3948
3937
|
const { data: o } = Z(r), [l, u] = K(void 0);
|
|
3949
3938
|
if (!o)
|
|
3950
3939
|
return /* @__PURE__ */ p("div", { children: "wait leader board..." });
|
|
@@ -3956,30 +3945,27 @@ const Ps = () => Ue, Ys = /* @__PURE__ */ m("div")({
|
|
|
3956
3945
|
})) == null ? void 0 : f.attributes;
|
|
3957
3946
|
u(s);
|
|
3958
3947
|
};
|
|
3959
|
-
return /* @__PURE__ */
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
}
|
|
3967
|
-
)
|
|
3968
|
-
] });
|
|
3948
|
+
return /* @__PURE__ */ p(Oe, { children: !l && /* @__PURE__ */ p(
|
|
3949
|
+
Gs,
|
|
3950
|
+
{
|
|
3951
|
+
items: o.filter((g) => g.attributes).map((g) => g.attributes),
|
|
3952
|
+
openItemDetail: d
|
|
3953
|
+
}
|
|
3954
|
+
) });
|
|
3969
3955
|
};
|
|
3970
3956
|
const Re = /* @__PURE__ */ m("div")({
|
|
3971
3957
|
name: "e",
|
|
3972
3958
|
class: "e6qv3to",
|
|
3973
3959
|
propsAsIs: !1
|
|
3974
|
-
}),
|
|
3960
|
+
}), qs = /* @__PURE__ */ m("div")({
|
|
3975
3961
|
name: "i",
|
|
3976
3962
|
class: "i1jak95i",
|
|
3977
3963
|
propsAsIs: !1
|
|
3978
|
-
}),
|
|
3964
|
+
}), Js = /* @__PURE__ */ m("div")({
|
|
3979
3965
|
name: "r",
|
|
3980
3966
|
class: "r1qp3jjx",
|
|
3981
3967
|
propsAsIs: !1
|
|
3982
|
-
}),
|
|
3968
|
+
}), Xs = /* @__PURE__ */ m("div")({
|
|
3983
3969
|
name: "n",
|
|
3984
3970
|
class: "naeizu7",
|
|
3985
3971
|
propsAsIs: !1
|
|
@@ -3987,11 +3973,11 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
3987
3973
|
name: "a",
|
|
3988
3974
|
class: "a4zecne",
|
|
3989
3975
|
propsAsIs: !1
|
|
3990
|
-
}),
|
|
3976
|
+
}), Ks = ({
|
|
3991
3977
|
gamification: r,
|
|
3992
3978
|
sdk: o
|
|
3993
3979
|
}) => {
|
|
3994
|
-
var l, u, d, g, f, s, I, N, E, x, C, v,
|
|
3980
|
+
var l, u, d, g, f, s, I, N, E, x, C, v, L, y, A, w, T, S, O, B, U, F, G;
|
|
3995
3981
|
const q = Z(r.status), le = Z(r.onboardingStatus), re = Z(r.openedQuestion), { slStreamId: ce } = Z(o.sdkStore), W = Z(r.featureSettings), [ne, me] = K(nt.HOME);
|
|
3996
3982
|
if (q !== Ve.Ready)
|
|
3997
3983
|
return /* @__PURE__ */ p("div", { children: "wait..." });
|
|
@@ -4001,7 +3987,7 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
4001
3987
|
return /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p("div", { children: "Event is forbidden" }) });
|
|
4002
3988
|
if (!le)
|
|
4003
3989
|
return /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p(
|
|
4004
|
-
|
|
3990
|
+
rn,
|
|
4005
3991
|
{
|
|
4006
3992
|
closeFeature: o.closeFeature,
|
|
4007
3993
|
gamification: r,
|
|
@@ -4010,7 +3996,7 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
4010
3996
|
sponsorLogo: (N = (I = (s = W.inplayGame) == null ? void 0 : s.overview) == null ? void 0 : I.media) == null ? void 0 : N.sponsorLogo,
|
|
4011
3997
|
rules: (x = (E = W.inplayGame) == null ? void 0 : E.rules) == null ? void 0 : x.rules,
|
|
4012
3998
|
rulesBtnLabel: (v = (C = W.inplayGame) == null ? void 0 : C.rules) == null ? void 0 : v.buttonLabel,
|
|
4013
|
-
rulesTitle: (y = (
|
|
3999
|
+
rulesTitle: (y = (L = W.inplayGame) == null ? void 0 : L.rules) == null ? void 0 : y.heading,
|
|
4014
4000
|
primaryColor: (T = (w = (A = W.inplayGame) == null ? void 0 : A.overview) == null ? void 0 : w.appearance) == null ? void 0 : T.primaryColor,
|
|
4015
4001
|
inviteCardTitle: (O = (S = W.inplayGame) == null ? void 0 : S.inviteCard) == null ? void 0 : O.heading,
|
|
4016
4002
|
inviteCardSubtext: (U = (B = W.inplayGame) == null ? void 0 : B.inviteCard) == null ? void 0 : U.subtext,
|
|
@@ -4024,23 +4010,29 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
4024
4010
|
}, Ie = (oe, xe) => {
|
|
4025
4011
|
r.submitAnswer(oe, xe);
|
|
4026
4012
|
};
|
|
4027
|
-
return /* @__PURE__ */
|
|
4028
|
-
/* @__PURE__ */ p(
|
|
4013
|
+
return /* @__PURE__ */ z(Re, { children: [
|
|
4014
|
+
/* @__PURE__ */ p(ln, { activePage: ne, toggleActivePage: (oe) => {
|
|
4029
4015
|
me(oe);
|
|
4030
4016
|
} }),
|
|
4031
|
-
ne === nt.HOME && /* @__PURE__ */
|
|
4032
|
-
/* @__PURE__ */ p(
|
|
4033
|
-
/* @__PURE__ */
|
|
4034
|
-
r.questions && /* @__PURE__ */ p(
|
|
4035
|
-
re && /* @__PURE__ */ p(
|
|
4017
|
+
ne === nt.HOME && /* @__PURE__ */ z(Oe, { children: [
|
|
4018
|
+
/* @__PURE__ */ p(qs, { children: r.userSummary && /* @__PURE__ */ p(Go, { store: r.userSummary.getStore() }) }),
|
|
4019
|
+
/* @__PURE__ */ z(Js, { children: [
|
|
4020
|
+
r.questions && /* @__PURE__ */ p(Wo, { openQuestion: ze, store: r.questions.getStore() }),
|
|
4021
|
+
re && /* @__PURE__ */ p(Jo, { closeQuestion: Ne, vote: Ie, openedQuestion: re })
|
|
4036
4022
|
] })
|
|
4037
4023
|
] }),
|
|
4038
|
-
ne === nt.LEADERBOARD && r.leaderboardList && /* @__PURE__ */ p(
|
|
4024
|
+
ne === nt.LEADERBOARD && r.leaderboardList && /* @__PURE__ */ p(Ws, { store: r.leaderboardList.getStore() })
|
|
4039
4025
|
] });
|
|
4040
|
-
},
|
|
4026
|
+
}, e0 = ({ insights: r, openInsight: o, className: l }) => /* @__PURE__ */ p(Xo, { className: l, children: /* @__PURE__ */ p(Ko, { children: r == null ? void 0 : r.map((u) => /* @__PURE__ */ p(yi, { openInsight: o, ...u }, u.questionId)) }) }), t0 = ({ highlights: r, store: o, className: l }) => {
|
|
4041
4027
|
const { data: u } = Z(o);
|
|
4042
|
-
return u ? /* @__PURE__ */ p(
|
|
4043
|
-
},
|
|
4028
|
+
return u ? /* @__PURE__ */ p(e0, { className: l, insights: u, openInsight: r.openHighlight }) : /* @__PURE__ */ p("div", { className: l, children: "wait insights..." });
|
|
4029
|
+
}, i0 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZXZyb24iPgo8cGF0aCBpZD0iQ2hldnJvbl8yIiBkPSJNNiAxMS45OTlDNiAxMi4xNzI1IDYuMDMxMzQgMTIuMzM0IDYuMDk0MDEgMTIuNDgzN0M2LjE1NjY5IDEyLjYzMzQgNi4yNTQyOCAxMi43NzU2IDYuMzg2OCAxMi45MTAzTDE0LjA0MzYgMjAuNjU2NUMxNC4yNjQ4IDIwLjg4NTUgMTQuNTMyMyAyMSAxNC44NDU5IDIxQzE1LjA2MDcgMjEgMTUuMjU0NCAyMC45NDc1IDE1LjQyNzEgMjAuODQyNkMxNS41OTk4IDIwLjczNzcgMTUuNzM4NCAyMC41OTY1IDE1Ljg0MzEgMjAuNDE5MUMxNS45NDc3IDIwLjI0MTYgMTYgMjAuMDQyNSAxNiAxOS44MjE3QzE2IDE5LjQ5ODkgMTUuODgxNiAxOS4yMTM0IDE1LjY0NDggMTguOTY1NEw4Ljc0MTgzIDExLjk5NzFMMTUuNjQ0OCA1LjAzMjcxQzE1Ljg4MTYgNC43ODcwOSAxNiA0LjUwMjMgMTYgNC4xNzgzNEMxNiAzLjk1NzQ5IDE1Ljk0NzcgMy43NTgzNSAxNS44NDMxIDMuNTgwOTFDMTUuNzM4NCAzLjQwMzQ3IDE1LjU5OTggMy4yNjIyOSAxNS40MjcxIDMuMTU3MzhDMTUuMjU0NCAzLjA1MjQ2IDE1LjA2MDcgMyAxNC44NDU5IDNDMTQuNTMyMyAzIDE0LjI2NDggMy4xMTE2OSAxNC4wNDM2IDMuMzM1MDhMNi4zODY4IDExLjA4NzhDNi4yNTU1MSAxMS4yMjI1IDYuMTU4NTMgMTEuMzY0NCA2LjA5NTg2IDExLjUxMzRDNi4wMzMxOCAxMS42NjI1IDYuMDAxMjMgMTEuODI0NCA2IDExLjk5OVoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==", r0 = ({ icon: r, comeBack: o, close: l }) => /* @__PURE__ */ z(es, { children: [
|
|
4030
|
+
/* @__PURE__ */ z("div", { children: [
|
|
4031
|
+
o && /* @__PURE__ */ p(ei, { onClick: o, children: /* @__PURE__ */ p("img", { alt: "header-back-icon", src: i0 }) }),
|
|
4032
|
+
r && /* @__PURE__ */ p(ts, { alt: "header-icon", src: r })
|
|
4033
|
+
] }),
|
|
4034
|
+
/* @__PURE__ */ p("div", { children: l && /* @__PURE__ */ p(ei, { onClick: l, children: /* @__PURE__ */ p("img", { alt: "header-close-icon", src: $t }) }) })
|
|
4035
|
+
] }), n0 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBjbGFzcz0ic2MtQU5kc04ga1RWV0pFIj48cGF0aCBkPSJNNi42NjY1IDMuMTY2NjlINC45OTk4NEM0LjI2MzQ2IDMuMTY2NjkgMy42NjY1IDMuNzYzNjQgMy42NjY1IDQuNTAwMDJWMTEuNUMzLjY2NjUgMTIuMjM2NCA0LjI2MzQ2IDEyLjgzMzQgNC45OTk4NCAxMi44MzM0SDExLjk5OThDMTIuNzM2MiAxMi44MzM0IDEzLjMzMzIgMTIuMjM2NCAxMy4zMzMyIDExLjVWOS44MzMzNSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTTEzLjMzMzUgNi4xNjY2OVYzLjE2NjY5SDEwLjMzMzUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjxwYXRoIGQ9Ik0xMy4xNjY4IDMuMzMzMzFMOC4zMzM1IDguMTY2NjUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjwvc3ZnPgo=", o0 = ({
|
|
4044
4036
|
image: r,
|
|
4045
4037
|
title: o,
|
|
4046
4038
|
description: l,
|
|
@@ -4049,18 +4041,18 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
4049
4041
|
closeHighlights: g,
|
|
4050
4042
|
closeInsight: f,
|
|
4051
4043
|
className: s
|
|
4052
|
-
}) => /* @__PURE__ */
|
|
4053
|
-
/* @__PURE__ */ p(
|
|
4054
|
-
r && /* @__PURE__ */ p(
|
|
4055
|
-
/* @__PURE__ */
|
|
4056
|
-
o && /* @__PURE__ */ p(
|
|
4057
|
-
l && /* @__PURE__ */ p(
|
|
4044
|
+
}) => /* @__PURE__ */ z(is, { className: s, children: [
|
|
4045
|
+
/* @__PURE__ */ p(r0, { close: g, comeBack: f }),
|
|
4046
|
+
r && /* @__PURE__ */ p(rs, { alt: "detail-insight-image", src: r }),
|
|
4047
|
+
/* @__PURE__ */ z(ns, { children: [
|
|
4048
|
+
o && /* @__PURE__ */ p(os, { children: o }),
|
|
4049
|
+
l && /* @__PURE__ */ p(ss, { children: l })
|
|
4058
4050
|
] }),
|
|
4059
|
-
d && u && /* @__PURE__ */
|
|
4051
|
+
d && u && /* @__PURE__ */ z(as, { href: d, target: "_blank", children: [
|
|
4060
4052
|
u,
|
|
4061
|
-
/* @__PURE__ */ p(
|
|
4053
|
+
/* @__PURE__ */ p(ls, { alt: "link-icon", src: n0 })
|
|
4062
4054
|
] })
|
|
4063
|
-
] }),
|
|
4055
|
+
] }), s0 = ({ openedInsight: r, closeHighlights: o, closeInsight: l, className: u }) => {
|
|
4064
4056
|
var d, g, f, s, I;
|
|
4065
4057
|
const N = ((d = r.options) == null ? void 0 : d.options.case) === "factoid" ? {
|
|
4066
4058
|
image: r.options.options.value.image,
|
|
@@ -4069,7 +4061,7 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
4069
4061
|
webLinkLabel: (f = r.options.options.value.webLink) == null ? void 0 : f.label
|
|
4070
4062
|
} : {}, E = r.subject || ((s = r.notification) == null ? void 0 : s.title), x = N.body || ((I = r.notification) == null ? void 0 : I.body);
|
|
4071
4063
|
return /* @__PURE__ */ p(
|
|
4072
|
-
|
|
4064
|
+
o0,
|
|
4073
4065
|
{
|
|
4074
4066
|
className: u,
|
|
4075
4067
|
image: N.image,
|
|
@@ -4081,12 +4073,12 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
4081
4073
|
closeHighlights: o
|
|
4082
4074
|
}
|
|
4083
4075
|
);
|
|
4084
|
-
},
|
|
4076
|
+
}, a0 = ({ highlights: r, sdk: o }) => {
|
|
4085
4077
|
const l = Z(r.status), u = Z(r.openedInsight), { slStreamId: d } = Z(o.sdkStore);
|
|
4086
|
-
return l !== Ve.Ready ? /* @__PURE__ */ p("div", { children: "wait..." }) : d != null && d.loading ? /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p("div", { children: "Event is loading" }) }) : d != null && d.data ? r.insights === void 0 ? /* @__PURE__ */ p("div", { children: "wait insights..." }) : /* @__PURE__ */
|
|
4087
|
-
!u && /* @__PURE__ */ p(
|
|
4078
|
+
return l !== Ve.Ready ? /* @__PURE__ */ p("div", { children: "wait..." }) : d != null && d.loading ? /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p("div", { children: "Event is loading" }) }) : d != null && d.data ? r.insights === void 0 ? /* @__PURE__ */ p("div", { children: "wait insights..." }) : /* @__PURE__ */ z(Re, { children: [
|
|
4079
|
+
!u && /* @__PURE__ */ p(t0, { highlights: r, store: r.insights.getStore() }),
|
|
4088
4080
|
u && /* @__PURE__ */ p(
|
|
4089
|
-
|
|
4081
|
+
s0,
|
|
4090
4082
|
{
|
|
4091
4083
|
openedInsight: u,
|
|
4092
4084
|
closeHighlights: r.closeFeature,
|
|
@@ -4095,16 +4087,16 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
4095
4087
|
)
|
|
4096
4088
|
] }) : /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p("div", { children: "Event is forbidden" }) });
|
|
4097
4089
|
};
|
|
4098
|
-
var
|
|
4099
|
-
lt.byteLength =
|
|
4100
|
-
lt.toByteArray =
|
|
4101
|
-
lt.fromByteArray =
|
|
4102
|
-
var ge = [], te = [],
|
|
4103
|
-
for (var Ye = 0,
|
|
4090
|
+
var l0 = {}, Li = {}, lt = {};
|
|
4091
|
+
lt.byteLength = h0;
|
|
4092
|
+
lt.toByteArray = p0;
|
|
4093
|
+
lt.fromByteArray = m0;
|
|
4094
|
+
var ge = [], te = [], c0 = typeof Uint8Array < "u" ? Uint8Array : Array, Tt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
4095
|
+
for (var Ye = 0, u0 = Tt.length; Ye < u0; ++Ye)
|
|
4104
4096
|
ge[Ye] = Tt[Ye], te[Tt.charCodeAt(Ye)] = Ye;
|
|
4105
4097
|
te["-".charCodeAt(0)] = 62;
|
|
4106
4098
|
te["_".charCodeAt(0)] = 63;
|
|
4107
|
-
function
|
|
4099
|
+
function zi(r) {
|
|
4108
4100
|
var o = r.length;
|
|
4109
4101
|
if (o % 4 > 0)
|
|
4110
4102
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
@@ -4113,30 +4105,30 @@ function Si(r) {
|
|
|
4113
4105
|
var u = l === o ? 0 : 4 - l % 4;
|
|
4114
4106
|
return [l, u];
|
|
4115
4107
|
}
|
|
4116
|
-
function
|
|
4117
|
-
var o =
|
|
4108
|
+
function h0(r) {
|
|
4109
|
+
var o = zi(r), l = o[0], u = o[1];
|
|
4118
4110
|
return (l + u) * 3 / 4 - u;
|
|
4119
4111
|
}
|
|
4120
|
-
function
|
|
4112
|
+
function d0(r, o, l) {
|
|
4121
4113
|
return (o + l) * 3 / 4 - l;
|
|
4122
4114
|
}
|
|
4123
|
-
function
|
|
4124
|
-
var o, l =
|
|
4115
|
+
function p0(r) {
|
|
4116
|
+
var o, l = zi(r), u = l[0], d = l[1], g = new c0(d0(r, u, d)), f = 0, s = d > 0 ? u - 4 : u, I;
|
|
4125
4117
|
for (I = 0; I < s; I += 4)
|
|
4126
4118
|
o = te[r.charCodeAt(I)] << 18 | te[r.charCodeAt(I + 1)] << 12 | te[r.charCodeAt(I + 2)] << 6 | te[r.charCodeAt(I + 3)], g[f++] = o >> 16 & 255, g[f++] = o >> 8 & 255, g[f++] = o & 255;
|
|
4127
4119
|
return d === 2 && (o = te[r.charCodeAt(I)] << 2 | te[r.charCodeAt(I + 1)] >> 4, g[f++] = o & 255), d === 1 && (o = te[r.charCodeAt(I)] << 10 | te[r.charCodeAt(I + 1)] << 4 | te[r.charCodeAt(I + 2)] >> 2, g[f++] = o >> 8 & 255, g[f++] = o & 255), g;
|
|
4128
4120
|
}
|
|
4129
|
-
function
|
|
4121
|
+
function f0(r) {
|
|
4130
4122
|
return ge[r >> 18 & 63] + ge[r >> 12 & 63] + ge[r >> 6 & 63] + ge[r & 63];
|
|
4131
4123
|
}
|
|
4132
|
-
function
|
|
4124
|
+
function g0(r, o, l) {
|
|
4133
4125
|
for (var u, d = [], g = o; g < l; g += 3)
|
|
4134
|
-
u = (r[g] << 16 & 16711680) + (r[g + 1] << 8 & 65280) + (r[g + 2] & 255), d.push(
|
|
4126
|
+
u = (r[g] << 16 & 16711680) + (r[g + 1] << 8 & 65280) + (r[g + 2] & 255), d.push(f0(u));
|
|
4135
4127
|
return d.join("");
|
|
4136
4128
|
}
|
|
4137
|
-
function
|
|
4129
|
+
function m0(r) {
|
|
4138
4130
|
for (var o, l = r.length, u = l % 3, d = [], g = 16383, f = 0, s = l - u; f < s; f += g)
|
|
4139
|
-
d.push(
|
|
4131
|
+
d.push(g0(r, f, f + g > s ? s : f + g));
|
|
4140
4132
|
return u === 1 ? (o = r[l - 1], d.push(
|
|
4141
4133
|
ge[o >> 2] + ge[o << 4 & 63] + "=="
|
|
4142
4134
|
)) : u === 2 && (o = (r[l - 2] << 8) + r[l - 1], d.push(
|
|
@@ -4161,12 +4153,12 @@ Pt.read = function(r, o, l, u, d) {
|
|
|
4161
4153
|
return (v ? -1 : 1) * f * Math.pow(2, g - u);
|
|
4162
4154
|
};
|
|
4163
4155
|
Pt.write = function(r, o, l, u, d, g) {
|
|
4164
|
-
var f, s, I, N = g * 8 - d - 1, E = (1 << N) - 1, x = E >> 1, C = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, v = u ? 0 : g - 1,
|
|
4165
|
-
for (o = Math.abs(o), isNaN(o) || o === 1 / 0 ? (s = isNaN(o) ? 1 : 0, f = E) : (f = Math.floor(Math.log(o) / Math.LN2), o * (I = Math.pow(2, -f)) < 1 && (f--, I *= 2), f + x >= 1 ? o += C / I : o += C * Math.pow(2, 1 - x), o * I >= 2 && (f++, I /= 2), f + x >= E ? (s = 0, f = E) : f + x >= 1 ? (s = (o * I - 1) * Math.pow(2, d), f = f + x) : (s = o * Math.pow(2, x - 1) * Math.pow(2, d), f = 0)); d >= 8; r[l + v] = s & 255, v +=
|
|
4156
|
+
var f, s, I, N = g * 8 - d - 1, E = (1 << N) - 1, x = E >> 1, C = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, v = u ? 0 : g - 1, L = u ? 1 : -1, y = o < 0 || o === 0 && 1 / o < 0 ? 1 : 0;
|
|
4157
|
+
for (o = Math.abs(o), isNaN(o) || o === 1 / 0 ? (s = isNaN(o) ? 1 : 0, f = E) : (f = Math.floor(Math.log(o) / Math.LN2), o * (I = Math.pow(2, -f)) < 1 && (f--, I *= 2), f + x >= 1 ? o += C / I : o += C * Math.pow(2, 1 - x), o * I >= 2 && (f++, I /= 2), f + x >= E ? (s = 0, f = E) : f + x >= 1 ? (s = (o * I - 1) * Math.pow(2, d), f = f + x) : (s = o * Math.pow(2, x - 1) * Math.pow(2, d), f = 0)); d >= 8; r[l + v] = s & 255, v += L, s /= 256, d -= 8)
|
|
4166
4158
|
;
|
|
4167
|
-
for (f = f << d | s, N += d; N > 0; r[l + v] = f & 255, v +=
|
|
4159
|
+
for (f = f << d | s, N += d; N > 0; r[l + v] = f & 255, v += L, f /= 256, N -= 8)
|
|
4168
4160
|
;
|
|
4169
|
-
r[l + v -
|
|
4161
|
+
r[l + v - L] |= y * 128;
|
|
4170
4162
|
};
|
|
4171
4163
|
/*!
|
|
4172
4164
|
* The buffer module from node.js, for the browser.
|
|
@@ -4225,7 +4217,7 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4225
4217
|
if (typeof i == "string")
|
|
4226
4218
|
return C(i, e);
|
|
4227
4219
|
if (ArrayBuffer.isView(i))
|
|
4228
|
-
return
|
|
4220
|
+
return L(i);
|
|
4229
4221
|
if (i == null)
|
|
4230
4222
|
throw new TypeError(
|
|
4231
4223
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof i
|
|
@@ -4285,7 +4277,7 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4285
4277
|
t[n] = i[n] & 255;
|
|
4286
4278
|
return t;
|
|
4287
4279
|
}
|
|
4288
|
-
function
|
|
4280
|
+
function L(i) {
|
|
4289
4281
|
if (P(i, Uint8Array)) {
|
|
4290
4282
|
const e = new Uint8Array(i);
|
|
4291
4283
|
return y(e.buffer, e.byteOffset, e.byteLength);
|
|
@@ -4498,10 +4490,10 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4498
4490
|
if (t >>>= 0, n >>>= 0, a >>>= 0, c >>>= 0, this === e)
|
|
4499
4491
|
return 0;
|
|
4500
4492
|
let h = c - a, D = n - t;
|
|
4501
|
-
const
|
|
4502
|
-
for (let j = 0; j <
|
|
4503
|
-
if (
|
|
4504
|
-
h =
|
|
4493
|
+
const k = Math.min(h, D), b = this.slice(a, c), R = e.slice(t, n);
|
|
4494
|
+
for (let j = 0; j < k; ++j)
|
|
4495
|
+
if (b[j] !== R[j]) {
|
|
4496
|
+
h = b[j], D = R[j];
|
|
4505
4497
|
break;
|
|
4506
4498
|
}
|
|
4507
4499
|
return h < D ? -1 : D < h ? 1 : 0;
|
|
@@ -4531,28 +4523,28 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4531
4523
|
return -1;
|
|
4532
4524
|
c = 2, h /= 2, D /= 2, t /= 2;
|
|
4533
4525
|
}
|
|
4534
|
-
function
|
|
4526
|
+
function k(R, j) {
|
|
4535
4527
|
return c === 1 ? R[j] : R.readUInt16BE(j * c);
|
|
4536
4528
|
}
|
|
4537
|
-
let
|
|
4529
|
+
let b;
|
|
4538
4530
|
if (a) {
|
|
4539
4531
|
let R = -1;
|
|
4540
|
-
for (
|
|
4541
|
-
if (
|
|
4542
|
-
if (R === -1 && (R =
|
|
4532
|
+
for (b = t; b < h; b++)
|
|
4533
|
+
if (k(i, b) === k(e, R === -1 ? 0 : b - R)) {
|
|
4534
|
+
if (R === -1 && (R = b), b - R + 1 === D)
|
|
4543
4535
|
return R * c;
|
|
4544
4536
|
} else
|
|
4545
|
-
R !== -1 && (
|
|
4537
|
+
R !== -1 && (b -= b - R), R = -1;
|
|
4546
4538
|
} else
|
|
4547
|
-
for (t + D > h && (t = h - D),
|
|
4539
|
+
for (t + D > h && (t = h - D), b = t; b >= 0; b--) {
|
|
4548
4540
|
let R = !0;
|
|
4549
4541
|
for (let j = 0; j < D; j++)
|
|
4550
|
-
if (
|
|
4542
|
+
if (k(i, b + j) !== k(e, j)) {
|
|
4551
4543
|
R = !1;
|
|
4552
4544
|
break;
|
|
4553
4545
|
}
|
|
4554
4546
|
if (R)
|
|
4555
|
-
return
|
|
4547
|
+
return b;
|
|
4556
4548
|
}
|
|
4557
4549
|
return -1;
|
|
4558
4550
|
}
|
|
@@ -4646,19 +4638,19 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4646
4638
|
const c = i[a];
|
|
4647
4639
|
let h = null, D = c > 239 ? 4 : c > 223 ? 3 : c > 191 ? 2 : 1;
|
|
4648
4640
|
if (a + D <= t) {
|
|
4649
|
-
let
|
|
4641
|
+
let k, b, R, j;
|
|
4650
4642
|
switch (D) {
|
|
4651
4643
|
case 1:
|
|
4652
4644
|
c < 128 && (h = c);
|
|
4653
4645
|
break;
|
|
4654
4646
|
case 2:
|
|
4655
|
-
|
|
4647
|
+
k = i[a + 1], (k & 192) === 128 && (j = (c & 31) << 6 | k & 63, j > 127 && (h = j));
|
|
4656
4648
|
break;
|
|
4657
4649
|
case 3:
|
|
4658
|
-
|
|
4650
|
+
k = i[a + 1], b = i[a + 2], (k & 192) === 128 && (b & 192) === 128 && (j = (c & 15) << 12 | (k & 63) << 6 | b & 63, j > 2047 && (j < 55296 || j > 57343) && (h = j));
|
|
4659
4651
|
break;
|
|
4660
4652
|
case 4:
|
|
4661
|
-
|
|
4653
|
+
k = i[a + 1], b = i[a + 2], R = i[a + 3], (k & 192) === 128 && (b & 192) === 128 && (R & 192) === 128 && (j = (c & 15) << 18 | (k & 63) << 12 | (b & 63) << 6 | R & 63, j > 65535 && j < 1114112 && (h = j));
|
|
4662
4654
|
}
|
|
4663
4655
|
}
|
|
4664
4656
|
h === null ? (h = 65533, D = 1) : h > 65535 && (h -= 65536, n.push(h >>> 10 & 1023 | 55296), h = 56320 | h & 1023), n.push(h), a += D;
|
|
@@ -4858,8 +4850,8 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4858
4850
|
return se(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
4859
4851
|
}), s.prototype.writeIntLE = function(e, t, n, a) {
|
|
4860
4852
|
if (e = +e, t = t >>> 0, !a) {
|
|
4861
|
-
const
|
|
4862
|
-
$(this, e, t, n,
|
|
4853
|
+
const k = Math.pow(2, 8 * n - 1);
|
|
4854
|
+
$(this, e, t, n, k - 1, -k);
|
|
4863
4855
|
}
|
|
4864
4856
|
let c = 0, h = 1, D = 0;
|
|
4865
4857
|
for (this[t] = e & 255; ++c < n && (h *= 256); )
|
|
@@ -4867,8 +4859,8 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
4867
4859
|
return t + n;
|
|
4868
4860
|
}, s.prototype.writeIntBE = function(e, t, n, a) {
|
|
4869
4861
|
if (e = +e, t = t >>> 0, !a) {
|
|
4870
|
-
const
|
|
4871
|
-
$(this, e, t, n,
|
|
4862
|
+
const k = Math.pow(2, 8 * n - 1);
|
|
4863
|
+
$(this, e, t, n, k - 1, -k);
|
|
4872
4864
|
}
|
|
4873
4865
|
let c = n - 1, h = 1, D = 0;
|
|
4874
4866
|
for (this[t + c] = e & 255; --c >= 0 && (h *= 256); )
|
|
@@ -5143,12 +5135,12 @@ Pt.write = function(r, o, l, u, d, g) {
|
|
|
5143
5135
|
function gt() {
|
|
5144
5136
|
throw new Error("BigInt not supported");
|
|
5145
5137
|
}
|
|
5146
|
-
})(
|
|
5147
|
-
var
|
|
5138
|
+
})(Li);
|
|
5139
|
+
var Si = { exports: {} }, V = Si.exports = {}, de, pe;
|
|
5148
5140
|
function Bt() {
|
|
5149
5141
|
throw new Error("setTimeout has not been defined");
|
|
5150
5142
|
}
|
|
5151
|
-
function
|
|
5143
|
+
function bt() {
|
|
5152
5144
|
throw new Error("clearTimeout has not been defined");
|
|
5153
5145
|
}
|
|
5154
5146
|
(function() {
|
|
@@ -5158,12 +5150,12 @@ function kt() {
|
|
|
5158
5150
|
de = Bt;
|
|
5159
5151
|
}
|
|
5160
5152
|
try {
|
|
5161
|
-
typeof clearTimeout == "function" ? pe = clearTimeout : pe =
|
|
5153
|
+
typeof clearTimeout == "function" ? pe = clearTimeout : pe = bt;
|
|
5162
5154
|
} catch {
|
|
5163
|
-
pe =
|
|
5155
|
+
pe = bt;
|
|
5164
5156
|
}
|
|
5165
5157
|
})();
|
|
5166
|
-
function
|
|
5158
|
+
function ji(r) {
|
|
5167
5159
|
if (de === setTimeout)
|
|
5168
5160
|
return setTimeout(r, 0);
|
|
5169
5161
|
if ((de === Bt || !de) && setTimeout)
|
|
@@ -5178,10 +5170,10 @@ function Bi(r) {
|
|
|
5178
5170
|
}
|
|
5179
5171
|
}
|
|
5180
5172
|
}
|
|
5181
|
-
function
|
|
5173
|
+
function I0(r) {
|
|
5182
5174
|
if (pe === clearTimeout)
|
|
5183
5175
|
return clearTimeout(r);
|
|
5184
|
-
if ((pe ===
|
|
5176
|
+
if ((pe === bt || !pe) && clearTimeout)
|
|
5185
5177
|
return pe = clearTimeout, clearTimeout(r);
|
|
5186
5178
|
try {
|
|
5187
5179
|
return pe(r);
|
|
@@ -5194,19 +5186,19 @@ function M0(r) {
|
|
|
5194
5186
|
}
|
|
5195
5187
|
}
|
|
5196
5188
|
var we = [], Qe = !1, _e, st = -1;
|
|
5197
|
-
function
|
|
5198
|
-
!Qe || !_e || (Qe = !1, _e.length ? we = _e.concat(we) : st = -1, we.length &&
|
|
5189
|
+
function y0() {
|
|
5190
|
+
!Qe || !_e || (Qe = !1, _e.length ? we = _e.concat(we) : st = -1, we.length && Bi());
|
|
5199
5191
|
}
|
|
5200
|
-
function
|
|
5192
|
+
function Bi() {
|
|
5201
5193
|
if (!Qe) {
|
|
5202
|
-
var r =
|
|
5194
|
+
var r = ji(y0);
|
|
5203
5195
|
Qe = !0;
|
|
5204
5196
|
for (var o = we.length; o; ) {
|
|
5205
5197
|
for (_e = we, we = []; ++st < o; )
|
|
5206
5198
|
_e && _e[st].run();
|
|
5207
5199
|
st = -1, o = we.length;
|
|
5208
5200
|
}
|
|
5209
|
-
_e = null, Qe = !1,
|
|
5201
|
+
_e = null, Qe = !1, I0(r);
|
|
5210
5202
|
}
|
|
5211
5203
|
}
|
|
5212
5204
|
V.nextTick = function(r) {
|
|
@@ -5214,7 +5206,7 @@ V.nextTick = function(r) {
|
|
|
5214
5206
|
if (arguments.length > 1)
|
|
5215
5207
|
for (var l = 1; l < arguments.length; l++)
|
|
5216
5208
|
o[l - 1] = arguments[l];
|
|
5217
|
-
we.push(new bi(r, o)), we.length === 1 && !Qe && Bi
|
|
5209
|
+
we.push(new bi(r, o)), we.length === 1 && !Qe && ji(Bi);
|
|
5218
5210
|
};
|
|
5219
5211
|
function bi(r, o) {
|
|
5220
5212
|
this.fun = r, this.array = o;
|
|
@@ -5254,12 +5246,12 @@ V.chdir = function(r) {
|
|
|
5254
5246
|
V.umask = function() {
|
|
5255
5247
|
return 0;
|
|
5256
5248
|
};
|
|
5257
|
-
var
|
|
5249
|
+
var M0 = Si.exports;
|
|
5258
5250
|
(function(r) {
|
|
5259
5251
|
Object.defineProperty(r, Symbol.toStringTag, { value: "Module" });
|
|
5260
|
-
const o =
|
|
5252
|
+
const o = Li, l = M0, u = (f) => f && f.__esModule ? f : { default: f }, d = u(l), g = globalThis || void 0 || self;
|
|
5261
5253
|
Object.defineProperty(r, "Buffer", { enumerable: !0, get: () => o.Buffer }), Object.defineProperty(r, "process", { enumerable: !0, get: () => d.default }), r.global = g;
|
|
5262
|
-
})(
|
|
5254
|
+
})(l0);
|
|
5263
5255
|
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
5264
5256
|
var hi;
|
|
5265
5257
|
(function(r) {
|
|
@@ -5275,32 +5267,32 @@ var pi;
|
|
|
5275
5267
|
(function(r) {
|
|
5276
5268
|
r.Init = "init", r.Ready = "ready", r.Connecting = "connecting", r.Connected = "connected", r.Disconnected = "disconnected", r.Failed = "failed", r.Reconnecting = "reconnecting";
|
|
5277
5269
|
})(pi || (pi = {}));
|
|
5278
|
-
const
|
|
5270
|
+
const C0 = ({ sdk: r }) => Z(r.getUserStore()).data ? /* @__PURE__ */ p("button", { onClick: r.logout, children: "logout" }) : /* @__PURE__ */ p(Nr, { login: async (o) => {
|
|
5279
5271
|
try {
|
|
5280
5272
|
await r.authorizationBypass("streamlayer:streamlayer", o);
|
|
5281
5273
|
} catch (l) {
|
|
5282
5274
|
throw console.log("login err", l), l;
|
|
5283
5275
|
}
|
|
5284
5276
|
}, anonymousLogin: r.anonymousAuthorization, host: r.host });
|
|
5285
|
-
var
|
|
5286
|
-
class
|
|
5277
|
+
var w0 = Object.defineProperty, E0 = (r, o, l) => o in r ? w0(r, o, { enumerable: !0, configurable: !0, writable: !0, value: l }) : r[o] = l, be = (r, o, l) => (E0(r, typeof o != "symbol" ? o + "" : o, l), l);
|
|
5278
|
+
class A0 extends $i {
|
|
5287
5279
|
constructor() {
|
|
5288
|
-
super("user"),
|
|
5280
|
+
super("user"), be(this, "setSchema", (o) => {
|
|
5289
5281
|
this.write("schema", o);
|
|
5290
|
-
}),
|
|
5282
|
+
}), be(this, "getSchema", () => this.read(
|
|
5291
5283
|
"schema"
|
|
5292
5284
|
/* SCHEMA */
|
|
5293
|
-
)),
|
|
5285
|
+
)), be(this, "setToken", (o) => {
|
|
5294
5286
|
this.write("token", o);
|
|
5295
|
-
}),
|
|
5287
|
+
}), be(this, "getToken", () => this.read(
|
|
5296
5288
|
"token"
|
|
5297
5289
|
/* TOKEN */
|
|
5298
|
-
)),
|
|
5290
|
+
)), be(this, "setExternalToken", (o) => {
|
|
5299
5291
|
this.write("eToken", o);
|
|
5300
|
-
}),
|
|
5292
|
+
}), be(this, "getExternalToken", () => this.read(
|
|
5301
5293
|
"eToken"
|
|
5302
5294
|
/* EXTERNAL_TOKEN */
|
|
5303
|
-
)),
|
|
5295
|
+
)), be(this, "removeToken", () => {
|
|
5304
5296
|
this.remove(
|
|
5305
5297
|
"token"
|
|
5306
5298
|
/* TOKEN */
|
|
@@ -5308,13 +5300,13 @@ class x0 extends Fi {
|
|
|
5308
5300
|
});
|
|
5309
5301
|
}
|
|
5310
5302
|
}
|
|
5311
|
-
new
|
|
5312
|
-
const
|
|
5303
|
+
new A0();
|
|
5304
|
+
const N0 = ({ activeFeature: r, sdk: o }) => {
|
|
5313
5305
|
const [l, u] = K(null), { organizationSettings: d, streamSettings: g } = Z(o.sdkStore), f = De(() => {
|
|
5314
5306
|
const I = (g == null ? void 0 : g.data) || (d == null ? void 0 : d.data);
|
|
5315
5307
|
return I != null && I.overlays ? I.overlays : [];
|
|
5316
5308
|
}, [d, g]);
|
|
5317
|
-
|
|
5309
|
+
kt(() => {
|
|
5318
5310
|
const I = o.getFeatures();
|
|
5319
5311
|
if (r)
|
|
5320
5312
|
for (const [N, E] of I)
|
|
@@ -5329,16 +5321,16 @@ const T0 = ({ activeFeature: r, sdk: o }) => {
|
|
|
5329
5321
|
N.status.get() === Ve.Ready && N.disable();
|
|
5330
5322
|
};
|
|
5331
5323
|
}, [r, o]);
|
|
5332
|
-
const s = De(() => l ? l.featureConfig.get().type === Yt.GAMES ? l ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(
|
|
5333
|
-
return /* @__PURE__ */
|
|
5334
|
-
/* @__PURE__ */
|
|
5324
|
+
const s = De(() => l ? l.featureConfig.get().type === Yt.GAMES ? l ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(Ks, { gamification: l, sdk: o }) }) : /* @__PURE__ */ p("div", { children: "wait gamification..." }) : l.featureConfig.get().type === Yt.HIGHLIGHTS ? l ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(a0, { highlights: l, sdk: o }) }) : /* @__PURE__ */ p("div", { children: "wait highlights..." }) : /* @__PURE__ */ p("div", { children: "unknown feature" }) : null, [o, l]);
|
|
5325
|
+
return /* @__PURE__ */ z("div", { children: [
|
|
5326
|
+
/* @__PURE__ */ z(Xs, { children: [
|
|
5335
5327
|
/* @__PURE__ */ p(xt, { onClick: () => o.closeFeature(), disabled: !s, children: "close" }),
|
|
5336
5328
|
/* @__PURE__ */ p(xt, { onClick: () => o.logout(), children: "logout" }),
|
|
5337
|
-
f.map((I) => /* @__PURE__ */
|
|
5329
|
+
f.map((I) => /* @__PURE__ */ z(
|
|
5338
5330
|
xt,
|
|
5339
5331
|
{
|
|
5340
5332
|
onClick: () => o.openFeature(I.type),
|
|
5341
|
-
disabled: !(I.type in
|
|
5333
|
+
disabled: !(I.type in Ui),
|
|
5342
5334
|
"data-enable_sdk_button": I.enableSdkButton.toString(),
|
|
5343
5335
|
"data-selected": I.type === r,
|
|
5344
5336
|
children: [
|
|
@@ -5351,35 +5343,34 @@ const T0 = ({ activeFeature: r, sdk: o }) => {
|
|
|
5351
5343
|
] }),
|
|
5352
5344
|
s
|
|
5353
5345
|
] });
|
|
5354
|
-
},
|
|
5346
|
+
}, X0 = ({ sdk: r }) => {
|
|
5355
5347
|
const o = Z(r.organizationStore()), l = Z(r.getUserStore()), u = Z(r.getActiveFeature());
|
|
5356
|
-
return o.loading ? /* @__PURE__ */ p("div", { children: "authentication..." }) : o.data ? l.loading ? /* @__PURE__ */ p("div", { children: "authentication..." }) : l.data ? /* @__PURE__ */
|
|
5357
|
-
/* @__PURE__ */ p(
|
|
5358
|
-
/* @__PURE__ */ p(
|
|
5359
|
-
] }) : /* @__PURE__ */ p(
|
|
5348
|
+
return o.loading ? /* @__PURE__ */ p("div", { children: "authentication..." }) : o.data ? l.loading ? /* @__PURE__ */ p("div", { children: "authentication..." }) : l.data ? /* @__PURE__ */ z(Oe, { children: [
|
|
5349
|
+
/* @__PURE__ */ p(Ho, { notificationsStore: r.getNotificationsStore() }),
|
|
5350
|
+
/* @__PURE__ */ p(N0, { sdk: r, activeFeature: u })
|
|
5351
|
+
] }) : /* @__PURE__ */ p(C0, { sdk: r }) : /* @__PURE__ */ p("div", { children: "wrong sdk key..." });
|
|
5360
5352
|
};
|
|
5361
|
-
const
|
|
5362
|
-
const
|
|
5353
|
+
const K0 = "StreamLayerCSSReset", x0 = "pedqibx";
|
|
5354
|
+
const e2 = ({ children: r, style: o }) => /* @__PURE__ */ p("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ p("div", { className: x0, style: o, children: r }) });
|
|
5363
5355
|
export {
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
i2 as p,
|
|
5356
|
+
H0 as S,
|
|
5357
|
+
Lo as Y,
|
|
5358
|
+
Hi as a,
|
|
5359
|
+
Qi as b,
|
|
5360
|
+
Ci as c,
|
|
5361
|
+
m1 as d,
|
|
5362
|
+
nt as e,
|
|
5363
|
+
K0 as f,
|
|
5364
|
+
W0 as g,
|
|
5365
|
+
X0 as h,
|
|
5366
|
+
ln as i,
|
|
5367
|
+
Gs as j,
|
|
5368
|
+
V1 as k,
|
|
5369
|
+
G0 as l,
|
|
5370
|
+
dn as o,
|
|
5371
|
+
e2 as p,
|
|
5381
5372
|
Ue as q,
|
|
5382
|
-
|
|
5373
|
+
Y1 as r,
|
|
5383
5374
|
m as s,
|
|
5384
|
-
|
|
5375
|
+
F1 as v
|
|
5385
5376
|
};
|