@streamlayer/react 0.25.1 → 0.26.0
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/masters.d.ts +12 -1
- package/lib/app-4f52ea4a.js +29 -0
- package/lib/app-5daf0c14.cjs +1 -0
- 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 +11 -11
- package/lib/es/index.js +10 -10
- package/lib/es/masters.js +183 -178
- package/lib/es/points.js +23 -23
- package/lib/{provider-b2d54b1b.cjs → index-7542e06a.cjs} +4 -4
- package/lib/{provider-a6b36c89.js → index-98996b43.js} +768 -765
- package/lib/style.css +1 -1
- package/package.json +25 -19
- package/lib/app-43e52907.js +0 -29
- package/lib/app-519f86cc.cjs +0 -1
|
@@ -1,38 +1,55 @@
|
|
|
1
|
-
import {
|
|
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, { useCallback as He, useState as K, useEffect as bt,
|
|
4
|
-
import _i from "
|
|
5
|
-
import Oi, { isValidPhoneNumber as Ui, formatPhoneNumberIntl as $i } from "react-phone-number-input";
|
|
6
|
-
import { CountdownCircleTimer as Fi } from "react-countdown-circle-timer";
|
|
7
|
-
import { createPromiseClient as Rt } from "@connectrpc/connect";
|
|
8
|
-
import { createGrpcWebTransport as _t } from "@connectrpc/connect-web";
|
|
9
|
-
import { Users as Ot } from "@streamlayer/sl-eslib/users/users_connect";
|
|
10
|
-
import { QuestionType as W, PickHistoryStatus as et, QuestionStatus as Pi, QuestionImages as ve, FeatureType as Pt } from "@streamlayer/sdk-web-types";
|
|
3
|
+
import Ke, { createContext as ki, useMemo as De, useCallback as He, useState as K, useEffect as bt, useRef as bi, Component as Ri, createElement as rt, PureComponent as pi } from "react";
|
|
4
|
+
import { useStreamLayerApp as _i } from "./es/useStreamLayerApp.js";
|
|
11
5
|
import { FeatureStatus as Ve } from "@streamlayer/sdk-web-interfaces";
|
|
12
|
-
import {
|
|
6
|
+
import { QuestionType as W, PickHistoryStatus as et, QuestionStatus as Oi, QuestionImages as ve, FeatureType as Pt } from "@streamlayer/sdk-web-types";
|
|
7
|
+
import { AvailableFeatures as Ui } from "@streamlayer/sdk-web-features";
|
|
13
8
|
import "@streamlayer/sdk-web-api";
|
|
14
|
-
import { Storage as
|
|
9
|
+
import { Storage as $i } from "@streamlayer/sdk-web-storage";
|
|
15
10
|
import { useStore as Z } from "@nanostores/react";
|
|
16
11
|
import { NotificationType as Yt } from "@streamlayer/sdk-web-notifications";
|
|
12
|
+
import { CountdownCircleTimer as Fi } from "react-countdown-circle-timer";
|
|
17
13
|
import "@streamlayer/sl-eslib/interactive/interactive.common_pb";
|
|
18
14
|
import "@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb";
|
|
19
15
|
import { SdkOverlayType as tt } from "@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb";
|
|
20
16
|
import "@streamlayer/sl-eslib/sports/events/events_connect";
|
|
21
17
|
import "@streamlayer/sl-eslib/sdkSettings/client/client_connect";
|
|
22
|
-
import {
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
import { Users as Rt } from "@streamlayer/sl-eslib/users/users_connect";
|
|
19
|
+
import Pi from "react-auth-code-input";
|
|
20
|
+
import Yi, { isValidPhoneNumber as Vi, formatPhoneNumberIntl as Zi } from "react-phone-number-input";
|
|
21
|
+
import { createPromiseClient as _t } from "@connectrpc/connect";
|
|
22
|
+
import { createGrpcWebTransport as Ot } from "@connectrpc/connect-web";
|
|
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
|
+
status: 0,
|
|
26
|
+
sdk: null
|
|
27
|
+
}), V0 = ({
|
|
28
|
+
sdkKey: r,
|
|
29
|
+
plugins: o,
|
|
30
|
+
children: l,
|
|
31
|
+
production: h = !0,
|
|
32
|
+
autoEnable: d = !0
|
|
33
|
+
}) => {
|
|
34
|
+
const g = _i(r, o, h, d), f = De(() => g ? {
|
|
35
|
+
sdk: g,
|
|
36
|
+
status: 2
|
|
37
|
+
/* READY */
|
|
38
|
+
} : { status: 1, sdk: null }, [g]);
|
|
39
|
+
return /* @__PURE__ */ p(Hi.Provider, { value: f, children: l });
|
|
40
|
+
}, Ut = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSIxMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CiAgPHJlY3QgeD0iOC4yNSIgeT0iNyIgd2lkdGg9IjEyLjM3NDQiIGhlaWdodD0iMS43Njc3NyIgcng9IjAuODgzODg0IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSA4LjI1IDcpIiBmaWxsPSJ3aGl0ZSIvPgogIDxyZWN0IHg9IjciIHk9IjE1Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSA3IDE1Ljc1KSIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";
|
|
41
|
+
function Gi(r) {
|
|
25
42
|
var o = /* @__PURE__ */ Object.create(null);
|
|
26
43
|
return function(l) {
|
|
27
44
|
return o[l] === void 0 && (o[l] = r(l)), o[l];
|
|
28
45
|
};
|
|
29
46
|
}
|
|
30
|
-
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(
|
|
31
48
|
function(r) {
|
|
32
|
-
return
|
|
49
|
+
return Wi.test(r) || r.charCodeAt(0) === 111 && r.charCodeAt(1) === 110 && r.charCodeAt(2) < 91;
|
|
33
50
|
}
|
|
34
51
|
/* Z+1 */
|
|
35
|
-
),
|
|
52
|
+
), qi = function() {
|
|
36
53
|
const o = Array.prototype.slice.call(arguments).filter(Boolean), l = {}, h = [];
|
|
37
54
|
o.forEach((g) => {
|
|
38
55
|
(g ? g.split(" ") : []).forEach((s) => {
|
|
@@ -47,13 +64,13 @@ var Hi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
47
64
|
for (const g in l)
|
|
48
65
|
Object.prototype.hasOwnProperty.call(l, g) && d.push(l[g]);
|
|
49
66
|
return d.push(...h), d.join(" ");
|
|
50
|
-
}, Vt =
|
|
67
|
+
}, Vt = qi, Ji = (r) => r.toUpperCase() === r, Xi = (r) => (o) => r.indexOf(o) === -1, fi = (r, o) => {
|
|
51
68
|
const l = {};
|
|
52
|
-
return Object.keys(r).filter(
|
|
69
|
+
return Object.keys(r).filter(Xi(o)).forEach((h) => {
|
|
53
70
|
l[h] = r[h];
|
|
54
71
|
}), l;
|
|
55
72
|
};
|
|
56
|
-
function
|
|
73
|
+
function Ki(r, o, l) {
|
|
57
74
|
const h = fi(o, l);
|
|
58
75
|
if (!r) {
|
|
59
76
|
const d = typeof mt == "function" ? { default: mt } : mt;
|
|
@@ -63,13 +80,13 @@ function Ji(r, o, l) {
|
|
|
63
80
|
}
|
|
64
81
|
return h;
|
|
65
82
|
}
|
|
66
|
-
var
|
|
83
|
+
var er = (r, o) => {
|
|
67
84
|
};
|
|
68
|
-
function
|
|
85
|
+
function tr(r) {
|
|
69
86
|
let o = "";
|
|
70
87
|
return (l) => {
|
|
71
88
|
const h = (g, f) => {
|
|
72
|
-
const { as: s = r, class: I = o } = g,
|
|
89
|
+
const { as: s = r, class: I = o } = g, A = l.propsAsIs === void 0 ? !(typeof s == "string" && s.indexOf("-") === -1 && !Ji(s[0])) : l.propsAsIs, E = Ki(A, g, [
|
|
73
90
|
"as",
|
|
74
91
|
"class"
|
|
75
92
|
]);
|
|
@@ -78,8 +95,8 @@ function Ki(r) {
|
|
|
78
95
|
if (x) {
|
|
79
96
|
const w = {};
|
|
80
97
|
for (const y in x) {
|
|
81
|
-
const
|
|
82
|
-
|
|
98
|
+
const N = x[y], C = N[0], v = N[1] || "", S = typeof C == "function" ? C(g) : C;
|
|
99
|
+
er(S, l.name), w[`--${y}`] = `${S}${v}`;
|
|
83
100
|
}
|
|
84
101
|
const T = E.style || {}, L = Object.keys(T);
|
|
85
102
|
L.length > 0 && L.forEach((y) => {
|
|
@@ -101,40 +118,40 @@ function Ki(r) {
|
|
|
101
118
|
}, d;
|
|
102
119
|
};
|
|
103
120
|
}
|
|
104
|
-
var m =
|
|
105
|
-
const
|
|
121
|
+
var m = tr;
|
|
122
|
+
const ir = /* @__PURE__ */ m("div")({
|
|
106
123
|
name: "o",
|
|
107
124
|
class: "o1gwxd13",
|
|
108
125
|
propsAsIs: !1
|
|
109
|
-
}),
|
|
126
|
+
}), rr = /* @__PURE__ */ m("div")({
|
|
110
127
|
name: "n",
|
|
111
128
|
class: "nsmzrlg",
|
|
112
129
|
propsAsIs: !1
|
|
113
|
-
}),
|
|
130
|
+
}), nr = /* @__PURE__ */ m("img")({
|
|
114
131
|
name: "i",
|
|
115
132
|
class: "i81s9fc",
|
|
116
133
|
propsAsIs: !1
|
|
117
|
-
}),
|
|
134
|
+
}), or = /* @__PURE__ */ m("div")({
|
|
118
135
|
name: "r",
|
|
119
136
|
class: "rlmx6cw",
|
|
120
137
|
propsAsIs: !1
|
|
121
|
-
}),
|
|
138
|
+
}), sr = /* @__PURE__ */ m("div")({
|
|
122
139
|
name: "d",
|
|
123
140
|
class: "dqb0kgq",
|
|
124
141
|
propsAsIs: !1
|
|
125
|
-
}),
|
|
142
|
+
}), ar = /* @__PURE__ */ m("div")({
|
|
126
143
|
name: "l",
|
|
127
144
|
class: "l1tjaqbq",
|
|
128
145
|
propsAsIs: !1
|
|
129
|
-
}),
|
|
146
|
+
}), lr = /* @__PURE__ */ m("div")({
|
|
130
147
|
name: "a",
|
|
131
148
|
class: "a1tb5jb7",
|
|
132
149
|
propsAsIs: !1
|
|
133
|
-
}),
|
|
150
|
+
}), cr = /* @__PURE__ */ m("button")({
|
|
134
151
|
name: "c",
|
|
135
152
|
class: "c11xpv3i",
|
|
136
153
|
propsAsIs: !1
|
|
137
|
-
}),
|
|
154
|
+
}), ur = /* @__PURE__ */ m("img")({
|
|
138
155
|
name: "s",
|
|
139
156
|
class: "s12ztjhk",
|
|
140
157
|
propsAsIs: !1
|
|
@@ -145,14 +162,14 @@ const er = /* @__PURE__ */ m("div")({
|
|
|
145
162
|
},
|
|
146
163
|
[r]
|
|
147
164
|
);
|
|
148
|
-
return /* @__PURE__ */ z(
|
|
149
|
-
/* @__PURE__ */ p(
|
|
150
|
-
/* @__PURE__ */ z(
|
|
151
|
-
/* @__PURE__ */ p(
|
|
152
|
-
/* @__PURE__ */ p(
|
|
165
|
+
return /* @__PURE__ */ z(ir, { onClick: o, children: [
|
|
166
|
+
/* @__PURE__ */ p(rr, { style: l ? { backgroundColor: l } : {}, children: h && /* @__PURE__ */ p(nr, { alt: "in-app-icon", src: h }) }),
|
|
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: Ut }) }) })
|
|
153
170
|
] })
|
|
154
171
|
] });
|
|
155
|
-
},
|
|
172
|
+
}, hr = {
|
|
156
173
|
BG_TRANSPARENT: "rgba(0,0,0, .8)",
|
|
157
174
|
BG_TRANSPARENT_VOTE_CONTAINER: "rgba(10, 14, 19, 0.8)",
|
|
158
175
|
BG_TRANSPARENT_ITEM: "rgba(0, 0, 0, 0.7)",
|
|
@@ -181,7 +198,7 @@ const er = /* @__PURE__ */ m("div")({
|
|
|
181
198
|
GREY_PRIMARY: "#909395",
|
|
182
199
|
DIVIDER_COLOR_SECONDARY: "#53565a",
|
|
183
200
|
GREEN_PRIMARY_BTN: "#009B77"
|
|
184
|
-
},
|
|
201
|
+
}, dr = {
|
|
185
202
|
PRIMARY_GREEN1: "#107D57",
|
|
186
203
|
PRIMARY_GREEN2: "#006747",
|
|
187
204
|
PRIMARY_GREEN3: "#1C4932",
|
|
@@ -203,7 +220,7 @@ const er = /* @__PURE__ */ m("div")({
|
|
|
203
220
|
NEUTRALS_GRAY8: "#53565A",
|
|
204
221
|
NEUTRALS_GRAY9: "#25282A",
|
|
205
222
|
NEUTRALS_BLACK: "#000000"
|
|
206
|
-
}, Le = Object.assign({},
|
|
223
|
+
}, Le = Object.assign({}, hr, dr);
|
|
207
224
|
Object.keys(Le).reduce((r, o) => {
|
|
208
225
|
const l = Le[o];
|
|
209
226
|
return `
|
|
@@ -211,29 +228,29 @@ Object.keys(Le).reduce((r, o) => {
|
|
|
211
228
|
--color-${o.toLowerCase().replaceAll("_", "-")}: ${l};
|
|
212
229
|
`;
|
|
213
230
|
}, "");
|
|
214
|
-
const
|
|
231
|
+
const pr = [Le.PRIMARY_GREEN1, Le.SECONDARY_RED1, Le.SECONDARY_RED1], fr = [10, 10, 0], gr = /* @__PURE__ */ m("div")({
|
|
215
232
|
name: "A",
|
|
216
233
|
class: "a1f928zy",
|
|
217
234
|
propsAsIs: !1
|
|
218
|
-
}),
|
|
235
|
+
}), mr = Le.SECONDARY_GREEN6, Zt = Le.SECONDARY_RED3, Ir = Le.NEUTRALS_GRAY3, mi = ({
|
|
219
236
|
isPlaying: r = !0,
|
|
220
237
|
duration: o = 30,
|
|
221
238
|
onTimerExpired: l
|
|
222
239
|
}) => {
|
|
223
|
-
const [h, d] = K(o > 10 ?
|
|
240
|
+
const [h, d] = K(o > 10 ? mr : Zt), g = ({
|
|
224
241
|
remainingTime: I
|
|
225
|
-
}) => /* @__PURE__ */ p(
|
|
242
|
+
}) => /* @__PURE__ */ p(gr, {
|
|
226
243
|
children: I
|
|
227
244
|
}), f = He(() => {
|
|
228
|
-
l == null || l(), d(
|
|
245
|
+
l == null || l(), d(Ir);
|
|
229
246
|
}, [l, d]), s = He((I) => {
|
|
230
247
|
I === 10 && d(Zt);
|
|
231
248
|
}, [d]);
|
|
232
249
|
return /* @__PURE__ */ p(Fi, {
|
|
233
250
|
isPlaying: r,
|
|
234
251
|
duration: o,
|
|
235
|
-
colors:
|
|
236
|
-
colorsTime:
|
|
252
|
+
colors: pr,
|
|
253
|
+
colorsTime: fr,
|
|
237
254
|
size: 32,
|
|
238
255
|
strokeWidth: 2,
|
|
239
256
|
trailStrokeWidth: 2,
|
|
@@ -242,24 +259,24 @@ const hr = [Le.PRIMARY_GREEN1, Le.SECONDARY_RED1, Le.SECONDARY_RED1], dr = [10,
|
|
|
242
259
|
onUpdate: s,
|
|
243
260
|
children: g
|
|
244
261
|
});
|
|
245
|
-
},
|
|
246
|
-
const l =
|
|
262
|
+
}, yr = async (r, o) => {
|
|
263
|
+
const l = Ot({
|
|
247
264
|
baseUrl: r
|
|
248
265
|
});
|
|
249
|
-
return await Rt
|
|
250
|
-
},
|
|
251
|
-
const l =
|
|
266
|
+
return await _t(Rt, l).requestPassword({ id: o }), !0;
|
|
267
|
+
}, Mr = async (r, o) => {
|
|
268
|
+
const l = Ot({
|
|
252
269
|
baseUrl: r
|
|
253
270
|
});
|
|
254
|
-
return await Rt
|
|
255
|
-
},
|
|
271
|
+
return await _t(Rt, l).register({ id: o }), !0;
|
|
272
|
+
}, wr = async (r, o, l) => {
|
|
256
273
|
var h;
|
|
257
|
-
const d =
|
|
274
|
+
const d = Ot({
|
|
258
275
|
baseUrl: r
|
|
259
|
-
}), g = await Rt
|
|
276
|
+
}), g = await _t(Rt, d).login({ id: o, password: l });
|
|
260
277
|
return (h = g == null ? void 0 : g.meta) == null ? void 0 : h.jwt;
|
|
261
278
|
};
|
|
262
|
-
const
|
|
279
|
+
const Cr = /* @__PURE__ */ m("div")({
|
|
263
280
|
name: "n",
|
|
264
281
|
class: "nhpumh7",
|
|
265
282
|
propsAsIs: !1
|
|
@@ -279,23 +296,23 @@ const Mr = /* @__PURE__ */ m("div")({
|
|
|
279
296
|
name: "a",
|
|
280
297
|
class: "a1ifs31v",
|
|
281
298
|
propsAsIs: !1
|
|
282
|
-
}),
|
|
299
|
+
}), Er = /* @__PURE__ */ m("div")({
|
|
283
300
|
name: "p",
|
|
284
301
|
class: "p10d4aqp",
|
|
285
302
|
propsAsIs: !1
|
|
286
|
-
}),
|
|
303
|
+
}), Ar = /* @__PURE__ */ m("div")({
|
|
287
304
|
name: "d",
|
|
288
305
|
class: "dje8inq",
|
|
289
306
|
propsAsIs: !1
|
|
290
|
-
}),
|
|
291
|
-
const [h, d] = K(""), [g, f] = K(""), [s, I] = K(""),
|
|
307
|
+
}), Nr = ({ login: r, anonymousLogin: o, host: l }) => {
|
|
308
|
+
const [h, d] = K(""), [g, f] = K(""), [s, I] = K(""), A = async (x) => {
|
|
292
309
|
x.preventDefault();
|
|
293
310
|
try {
|
|
294
311
|
const w = h.replaceAll("+", "");
|
|
295
312
|
try {
|
|
296
|
-
await
|
|
313
|
+
await yr(l, w);
|
|
297
314
|
} catch {
|
|
298
|
-
await
|
|
315
|
+
await Mr(l, w);
|
|
299
316
|
}
|
|
300
317
|
f(w);
|
|
301
318
|
} catch (w) {
|
|
@@ -304,19 +321,19 @@ const Mr = /* @__PURE__ */ m("div")({
|
|
|
304
321
|
}, E = async (x) => {
|
|
305
322
|
if (x.preventDefault(), g && s)
|
|
306
323
|
try {
|
|
307
|
-
const w = await
|
|
324
|
+
const w = await wr(l, g, s);
|
|
308
325
|
w && r ? await r(w) : console.log("token", w);
|
|
309
326
|
} catch (w) {
|
|
310
327
|
window.alert(w);
|
|
311
328
|
}
|
|
312
329
|
};
|
|
313
|
-
return /* @__PURE__ */ z(
|
|
330
|
+
return /* @__PURE__ */ z(Cr, { children: [
|
|
314
331
|
!g && /* @__PURE__ */ z("div", { children: [
|
|
315
|
-
/* @__PURE__ */ z(Qt, { onSubmit:
|
|
332
|
+
/* @__PURE__ */ z(Qt, { onSubmit: A, children: [
|
|
316
333
|
/* @__PURE__ */ p(Ht, { children: "Enter your phone number" }),
|
|
317
334
|
/* @__PURE__ */ p(It, { children: "Enter your phone up for number to log in or sign an account." }),
|
|
318
|
-
/* @__PURE__ */ p(
|
|
319
|
-
/* @__PURE__ */ p(yt, { disabled: !
|
|
335
|
+
/* @__PURE__ */ p(Er, { children: /* @__PURE__ */ p(Yi, { value: h, onChange: (x) => d(`${x}`) }) }),
|
|
336
|
+
/* @__PURE__ */ p(yt, { disabled: !Vi(h), type: "submit", children: "request code" })
|
|
320
337
|
] }),
|
|
321
338
|
o && /* @__PURE__ */ p(yt, { style: { display: "block", margin: "auto" }, onClick: o, children: "anonymous login" })
|
|
322
339
|
] }),
|
|
@@ -326,9 +343,9 @@ const Mr = /* @__PURE__ */ m("div")({
|
|
|
326
343
|
"Please enter the verification code ",
|
|
327
344
|
/* @__PURE__ */ p("br", {}),
|
|
328
345
|
"sent to ",
|
|
329
|
-
/* @__PURE__ */ p("b", { children:
|
|
346
|
+
/* @__PURE__ */ p("b", { children: Zi(h) })
|
|
330
347
|
] }),
|
|
331
|
-
/* @__PURE__ */ p(
|
|
348
|
+
/* @__PURE__ */ p(Ar, { children: /* @__PURE__ */ p(Pi, { autoFocus: !0, allowedCharacters: "numeric", length: 4, onChange: I }) }),
|
|
332
349
|
/* @__PURE__ */ p(yt, { disabled: s.length !== 4, type: "submit", children: "login" }),
|
|
333
350
|
/* @__PURE__ */ z(It, { children: [
|
|
334
351
|
"Didn't get 59 the code? ",
|
|
@@ -339,133 +356,133 @@ const Mr = /* @__PURE__ */ m("div")({
|
|
|
339
356
|
] })
|
|
340
357
|
] });
|
|
341
358
|
};
|
|
342
|
-
const
|
|
359
|
+
const xr = /* @__PURE__ */ m("div")({
|
|
343
360
|
name: "i",
|
|
344
361
|
class: "i1grt8h",
|
|
345
362
|
propsAsIs: !1
|
|
346
|
-
}),
|
|
363
|
+
}), Tr = /* @__PURE__ */ m("div")({
|
|
347
364
|
name: "n",
|
|
348
365
|
class: "n1rozou",
|
|
349
366
|
propsAsIs: !1
|
|
350
|
-
}),
|
|
367
|
+
}), vr = /* @__PURE__ */ m("img")({
|
|
351
368
|
name: "o",
|
|
352
369
|
class: "o81ls6z",
|
|
353
370
|
propsAsIs: !1
|
|
354
|
-
}),
|
|
371
|
+
}), Dr = /* @__PURE__ */ m("div")({
|
|
355
372
|
name: "d",
|
|
356
373
|
class: "d9l6z9i",
|
|
357
374
|
propsAsIs: !1
|
|
358
|
-
}),
|
|
359
|
-
/* @__PURE__ */ p(
|
|
360
|
-
/* @__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 })
|
|
361
378
|
] }) });
|
|
362
|
-
const
|
|
379
|
+
const zr = /* @__PURE__ */ m("div")({
|
|
363
380
|
name: "e",
|
|
364
381
|
class: "e1o3lzmc",
|
|
365
382
|
propsAsIs: !1
|
|
366
|
-
}),
|
|
383
|
+
}), Sr = /* @__PURE__ */ m("div")({
|
|
367
384
|
name: "o",
|
|
368
385
|
class: "otjo97h",
|
|
369
386
|
propsAsIs: !1
|
|
370
|
-
}),
|
|
387
|
+
}), jr = /* @__PURE__ */ m("div")({
|
|
371
388
|
name: "i",
|
|
372
389
|
class: "ivk43vg",
|
|
373
390
|
propsAsIs: !1
|
|
374
|
-
}),
|
|
391
|
+
}), Br = /* @__PURE__ */ m("img")({
|
|
375
392
|
name: "r",
|
|
376
393
|
class: "r1w33akz",
|
|
377
394
|
propsAsIs: !1
|
|
378
|
-
}),
|
|
395
|
+
}), kr = /* @__PURE__ */ m("div")({
|
|
379
396
|
name: "c",
|
|
380
397
|
class: "c1a3ssoy",
|
|
381
398
|
propsAsIs: !1
|
|
382
|
-
}),
|
|
399
|
+
}), br = /* @__PURE__ */ m("div")({
|
|
383
400
|
name: "a",
|
|
384
401
|
class: "ayzr5mb",
|
|
385
402
|
propsAsIs: !1
|
|
386
|
-
}),
|
|
403
|
+
}), Rr = /* @__PURE__ */ m("button")({
|
|
387
404
|
name: "p",
|
|
388
405
|
class: "p30t8qv",
|
|
389
406
|
propsAsIs: !1
|
|
390
|
-
}),
|
|
407
|
+
}), _r = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNSAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkZyaWVuZHMiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNNC4xOTIzMSA3LjAzMTI1QzIuNjYzNDYgNy4wMzEyNSAxLjQyMzA4IDguMTk5NzMgMS40MjMwOCA5LjYzOTk0QzEuNDIzMDggMTEuMDgwMiAyLjY2MzQ2IDEyLjI0ODYgNC4xOTIzMSAxMi4yNDg2QzUuNzIxMTUgMTIuMjQ4NiA2Ljk2MTU0IDExLjA4MDIgNi45NjE1NCA5LjYzOTk0QzYuOTYxNTQgOC4xOTk3MyA1LjcyMTE1IDcuMDMxMjUgNC4xOTIzMSA3LjAzMTI1Wk00LjE5MjMxIDEyLjI0ODZDMi4xNjIyNiAxMi4yNDg2IDAuNSAxMy44MTQ1IDAuNSAxNS43MjY5VjE3LjYyOUMwLjUgMTcuNjI5IDEuNDIzMDggMTguMzM1NiA0LjE5MjMxIDE4LjMzNTZDNi45NjE1NCAxOC4zMzU2IDcuODg0NjEgMTcuNjI5IDcuODg0NjEgMTcuNjI5VjE1LjcyNjlDNy44ODQ2MSAxMy44MTQ1IDYuMjIyMzYgMTIuMjQ4NiA0LjE5MjMxIDEyLjI0ODZaTTIwLjgwNzcgNy4wMzEyNUMxOS4yNzg4IDcuMDMxMjUgMTguMDM4NSA4LjE5OTczIDE4LjAzODUgOS42Mzk5NEMxOC4wMzg1IDExLjA4MDIgMTkuMjc4OCAxMi4yNDg2IDIwLjgwNzcgMTIuMjQ4NkMyMi4zMzY1IDEyLjI0ODYgMjMuNTc2OSAxMS4wODAyIDIzLjU3NjkgOS42Mzk5NEMyMy41NzY5IDguMTk5NzMgMjIuMzM2NSA3LjAzMTI1IDIwLjgwNzcgNy4wMzEyNVpNMjAuODA3NyAxMi4yNDg2QzE4Ljc3NzYgMTIuMjQ4NiAxNy4xMTU0IDEzLjgxNDUgMTcuMTE1NCAxNS43MjY5VjE3LjYyOUMxNy4xMTU0IDE3LjYyOSAxOC4wMzg1IDE4LjMzNTYgMjAuODA3NyAxOC4zMzU2QzIzLjU3NjkgMTguMzM1NiAyNC41IDE3LjYyOSAyNC41IDE3LjYyOVYxNS43MjY5QzI0LjUgMTMuODE0NSAyMi44Mzc3IDEyLjI0ODYgMjAuODA3NyAxMi4yNDg2Wk0xMi41IDEwLjUwOTVDMTAuOTcxMiAxMC41MDk1IDkuNzMwNzcgMTEuNjc4IDkuNzMwNzcgMTMuMTE4MkM5LjczMDc3IDE0LjU1ODQgMTAuOTcxMiAxNS43MjY5IDEyLjUgMTUuNzI2OUMxNC4wMjg4IDE1LjcyNjkgMTUuMjY5MiAxNC41NTg0IDE1LjI2OTIgMTMuMTE4MkMxNS4yNjkyIDExLjY3OCAxNC4wMjg4IDEwLjUwOTUgMTIuNSAxMC41MDk1Wk0xMi41IDE1LjcyNjlDMTAuNDcgMTUuNzI2OSA4LjgwNzY5IDE3LjI5MjggOC44MDc2OSAxOS4yMDUxVjIxLjEwNzNDOC44MDc2OSAyMS4xMDczIDkuNzMwNzcgMjEuODEzOCAxMi41IDIxLjgxMzhDMTUuMjY5MiAyMS44MTM4IDE2LjE5MjMgMjEuMTA3MyAxNi4xOTIzIDIxLjEwNzNWMTkuMjA1MUMxNi4xOTIzIDE3LjI5MjggMTQuNTMgMTUuNzI2OSAxMi41IDE1LjcyNjlaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBpZD0iVmVjdG9yXzIiIGQ9Ik04LjU4NDczIDEuNUM2Ljk2MzkyIDEuNSA1LjY0ODkzIDIuNzM4NzYgNS42NDg5MyA0LjI2NTZDNS42NDg5MyA1Ljc5MjQ1IDYuOTYzOTIgNy4wMzEyMSA4LjU4NDczIDcuMDMxMjFDMTAuMjA1NSA3LjAzMTIxIDExLjUyMDUgNS43OTI0NSAxMS41MjA1IDQuMjY1NkMxMS41MjA1IDIuNzM4NzYgMTAuMjA1NSAxLjUgOC41ODQ3MyAxLjVaTTguNTg0NzMgNy4wMzEyMUM4LjI5MDM4IDcuMDMxMjEgNy45OTIyMSA3LjAyNCA3LjY5Nzg3IDcuMTE3NjNDOC4yODY1NiA3Ljg1NTg0IDguNTg0NzMgOC43ODEzMSA4LjU4NDczIDkuNzk2ODFDOC41ODQ3MyAxMC4xNjQxIDguNDkyOTggMTAuNTI0MiA4LjQ5Mjk4IDEwLjg5MTVDOS4yNzY2MyA5Ljc4NjAxIDEwLjU0MTkgOS4wNTg1OSAxMi4wMDk4IDguODc0OTRDMTEuMzI1NiA3Ljc2OTQyIDEwLjA1MjYgNy4wMzEyMSA4LjU4NDczIDcuMDMxMjFaTTE2LjQxMzUgMS41QzE0Ljc5MjcgMS41IDEzLjQ3NzcgMi43Mzg3NiAxMy40Nzc3IDQuMjY1NkMxMy40Nzc3IDUuNzkyNDUgMTQuNzkyNyA3LjAzMTIxIDE2LjQxMzUgNy4wMzEyMUMxOC4wMzQzIDcuMDMxMjEgMTkuMzQ5MyA1Ljc5MjQ1IDE5LjM0OTMgNC4yNjU2QzE5LjM0OTMgMi43Mzg3NiAxOC4wMzQzIDEuNSAxNi40MTM1IDEuNVpNMTYuNDEzNSA3LjAzMTIxQzE0Ljk0NTYgNy4wMzEyMSAxMy42NzI3IDcuNzY5NDIgMTIuOTg4NCA4Ljg3NDk0QzE0LjQ1NjMgOS4wNTg1OSAxNS43MjE2IDkuNzg2MDEgMTYuNTA1MyAxMC44OTE1QzE2LjUwNTMgMTAuNTI0MiAxNi40MTM1IDEwLjE2NDEgMTYuNDEzNSA5Ljc5NjgxQzE2LjQxMzUgOC43ODEzMSAxNi43MTE3IDcuODU1ODQgMTcuMzAwNCA3LjExNzYzQzE3LjAwNiA3LjAyNCAxNi43MDc5IDcuMDMxMjEgMTYuNDEzNSA3LjAzMTIxWiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC40Ii8+CjwvZz4KPC9zdmc+Cg==", Or = ({
|
|
391
408
|
inviteCardTitle: r,
|
|
392
409
|
inviteCardSubtext: o,
|
|
393
410
|
primaryColor: l
|
|
394
|
-
}) => /* @__PURE__ */ p(
|
|
395
|
-
/* @__PURE__ */ p(
|
|
396
|
-
/* @__PURE__ */ p(
|
|
397
|
-
/* @__PURE__ */ p(
|
|
398
|
-
/* @__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
|
+
/* @__PURE__ */ p(kr, { children: r || "" }),
|
|
414
|
+
/* @__PURE__ */ p(br, { children: o || "" }),
|
|
415
|
+
/* @__PURE__ */ p(Rr, { onClick: () => {
|
|
399
416
|
}, style: { backgroundColor: l }, children: "Invite friends!" })
|
|
400
417
|
] }) });
|
|
401
|
-
const
|
|
418
|
+
const Ur = /* @__PURE__ */ m("div")({
|
|
402
419
|
name: "t",
|
|
403
420
|
class: "ty54o42",
|
|
404
421
|
propsAsIs: !1
|
|
405
|
-
}),
|
|
422
|
+
}), $r = /* @__PURE__ */ m("div")({
|
|
406
423
|
name: "o",
|
|
407
424
|
class: "oqyp1qa",
|
|
408
425
|
propsAsIs: !1
|
|
409
|
-
}),
|
|
426
|
+
}), Fr = /* @__PURE__ */ m("div")({
|
|
410
427
|
name: "r",
|
|
411
428
|
class: "rf1d3db",
|
|
412
429
|
propsAsIs: !1
|
|
413
|
-
}),
|
|
430
|
+
}), Pr = /* @__PURE__ */ m("div")({
|
|
414
431
|
name: "n",
|
|
415
432
|
class: "n187jgct",
|
|
416
433
|
propsAsIs: !1
|
|
417
|
-
}),
|
|
434
|
+
}), Yr = /* @__PURE__ */ m("div")({
|
|
418
435
|
name: "d",
|
|
419
436
|
class: "d1i3t4lw",
|
|
420
437
|
propsAsIs: !1
|
|
421
|
-
}),
|
|
438
|
+
}), Vr = /* @__PURE__ */ m("div")({
|
|
422
439
|
name: "l",
|
|
423
440
|
class: "l1heulx5",
|
|
424
441
|
propsAsIs: !1
|
|
425
|
-
}),
|
|
426
|
-
/* @__PURE__ */ p(
|
|
427
|
-
/* @__PURE__ */ p(
|
|
428
|
-
/* @__PURE__ */ p(
|
|
429
|
-
/* @__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((h, d) => /* @__PURE__ */ z(Pr, { children: [
|
|
445
|
+
/* @__PURE__ */ p(Yr, { style: { backgroundColor: l }, children: d + 1 }),
|
|
446
|
+
/* @__PURE__ */ p(Vr, { children: h })
|
|
430
447
|
] }, d)) })
|
|
431
448
|
] });
|
|
432
|
-
const
|
|
449
|
+
const Qr = /* @__PURE__ */ m("div")({
|
|
433
450
|
name: "n",
|
|
434
451
|
class: "n1cm2rh8",
|
|
435
452
|
propsAsIs: !1
|
|
436
|
-
}),
|
|
453
|
+
}), Hr = /* @__PURE__ */ m("div")({
|
|
437
454
|
name: "e",
|
|
438
455
|
class: "e9j28tc",
|
|
439
456
|
propsAsIs: !1
|
|
440
|
-
}),
|
|
457
|
+
}), Gr = /* @__PURE__ */ m("div")({
|
|
441
458
|
name: "i",
|
|
442
459
|
class: "iu1o1a8",
|
|
443
460
|
propsAsIs: !1
|
|
444
|
-
}),
|
|
461
|
+
}), Wr = /* @__PURE__ */ m("div")({
|
|
445
462
|
name: "r",
|
|
446
463
|
class: "r14ailyk",
|
|
447
464
|
propsAsIs: !1
|
|
448
|
-
}),
|
|
465
|
+
}), qr = /* @__PURE__ */ m("div")({
|
|
449
466
|
name: "c",
|
|
450
467
|
class: "c11ybl5c",
|
|
451
468
|
propsAsIs: !1
|
|
452
|
-
}),
|
|
469
|
+
}), Jr = /* @__PURE__ */ m("img")({
|
|
453
470
|
name: "s",
|
|
454
471
|
class: "sd9s97",
|
|
455
472
|
propsAsIs: !1
|
|
456
|
-
}),
|
|
473
|
+
}), Xr = /* @__PURE__ */ m("img")({
|
|
457
474
|
name: "l",
|
|
458
475
|
class: "l1ddowgh",
|
|
459
476
|
propsAsIs: !1
|
|
460
|
-
}),
|
|
477
|
+
}), Kr = /* @__PURE__ */ m("button")({
|
|
461
478
|
name: "d",
|
|
462
479
|
class: "d1s3ug7g",
|
|
463
480
|
propsAsIs: !1
|
|
464
|
-
}),
|
|
481
|
+
}), en = /* @__PURE__ */ m("img")({
|
|
465
482
|
name: "p",
|
|
466
483
|
class: "p17kmhv2",
|
|
467
484
|
propsAsIs: !1
|
|
468
|
-
}),
|
|
485
|
+
}), tn = /* @__PURE__ */ m("button")({
|
|
469
486
|
name: "a",
|
|
470
487
|
class: "a1qucmt7",
|
|
471
488
|
propsAsIs: !1
|
|
@@ -473,7 +490,7 @@ const Vr = /* @__PURE__ */ m("div")({
|
|
|
473
490
|
steps: !1,
|
|
474
491
|
rules: !1,
|
|
475
492
|
inviteCard: !1
|
|
476
|
-
},
|
|
493
|
+
}, rn = ({
|
|
477
494
|
gamification: r,
|
|
478
495
|
closeFeature: o,
|
|
479
496
|
steps: l,
|
|
@@ -483,7 +500,7 @@ const Vr = /* @__PURE__ */ m("div")({
|
|
|
483
500
|
rulesBtnLabel: f,
|
|
484
501
|
rulesTitle: s,
|
|
485
502
|
primaryColor: I,
|
|
486
|
-
inviteCardTitle:
|
|
503
|
+
inviteCardTitle: A,
|
|
487
504
|
inviteCardSubtext: E,
|
|
488
505
|
inviteCardBtnLabel: x
|
|
489
506
|
}) => {
|
|
@@ -491,55 +508,55 @@ const Vr = /* @__PURE__ */ m("div")({
|
|
|
491
508
|
await r.submitInplay();
|
|
492
509
|
}, T = () => {
|
|
493
510
|
o();
|
|
494
|
-
}, [L, y] = K(0), [
|
|
511
|
+
}, [L, y] = K(0), [N, C] = K($e);
|
|
495
512
|
bt(() => {
|
|
496
513
|
l != null && l.length ? C({ ...$e, steps: !0 }) : g != null && g.length ? C({ ...$e, rules: !0 }) : C({ ...$e, inviteCard: !0 });
|
|
497
514
|
}, []);
|
|
498
515
|
const v = He(() => {
|
|
499
|
-
l != null && l.length && L < l.length - 1 ? y((
|
|
500
|
-
}, [L, l == null ? void 0 : l.length, g == null ? void 0 : g.length,
|
|
501
|
-
return /* @__PURE__ */ z(
|
|
502
|
-
/* @__PURE__ */ z(
|
|
503
|
-
/* @__PURE__ */ p(
|
|
504
|
-
/* @__PURE__ */ z(
|
|
505
|
-
d && /* @__PURE__ */ p(
|
|
506
|
-
/* @__PURE__ */ p(
|
|
516
|
+
l != null && l.length && L < l.length - 1 ? y((S) => ++S) : g != null && g.length && N.steps ? C({ ...$e, rules: !0 }) : N.rules && C({ ...$e, inviteCard: !0 });
|
|
517
|
+
}, [L, l == null ? void 0 : l.length, g == null ? void 0 : g.length, N, y, C]);
|
|
518
|
+
return /* @__PURE__ */ z(Qr, { children: [
|
|
519
|
+
/* @__PURE__ */ z(Gr, { children: [
|
|
520
|
+
/* @__PURE__ */ p(Wr, { children: h && /* @__PURE__ */ p(Jr, { alt: "sponsor-one-onboarding-icon", src: h }) }),
|
|
521
|
+
/* @__PURE__ */ z(qr, { children: [
|
|
522
|
+
d && /* @__PURE__ */ p(Xr, { alt: "sponsor-two-onboarding-icon", src: d }),
|
|
523
|
+
/* @__PURE__ */ p(Kr, { onClick: T, children: /* @__PURE__ */ p(en, { alt: "icon-close-onboarding", src: Ut }) })
|
|
507
524
|
] })
|
|
508
525
|
] }),
|
|
509
|
-
/* @__PURE__ */ z(
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
526
|
+
/* @__PURE__ */ z(Hr, { children: [
|
|
527
|
+
N.steps && (l == null ? void 0 : l.length) && /* @__PURE__ */ p(Lr, { graphic: l[L].graphic, headline: l[L].headline }),
|
|
528
|
+
N.rules && /* @__PURE__ */ p(Zr, { rules: g, rulesTitle: s, primaryColor: I }),
|
|
529
|
+
N.inviteCard && /* @__PURE__ */ p(
|
|
530
|
+
Or,
|
|
514
531
|
{
|
|
515
|
-
inviteCardTitle:
|
|
532
|
+
inviteCardTitle: A,
|
|
516
533
|
inviteCardSubtext: E,
|
|
517
534
|
primaryColor: I
|
|
518
535
|
}
|
|
519
536
|
)
|
|
520
537
|
] }),
|
|
521
|
-
/* @__PURE__ */ p(
|
|
538
|
+
/* @__PURE__ */ p(tn, { onClick: N.inviteCard ? w : v, children: N.rules ? f || "Got it!" : N.inviteCard ? x || "Play now!" : "Next" })
|
|
522
539
|
] });
|
|
523
540
|
};
|
|
524
|
-
const
|
|
541
|
+
const nn = /* @__PURE__ */ m("div")({
|
|
525
542
|
name: "t",
|
|
526
543
|
class: "tcim9sm",
|
|
527
544
|
propsAsIs: !1
|
|
528
|
-
}),
|
|
545
|
+
}), on = /* @__PURE__ */ m("div")({
|
|
529
546
|
name: "e",
|
|
530
547
|
class: "e8wco6o",
|
|
531
548
|
propsAsIs: !1
|
|
532
|
-
}),
|
|
549
|
+
}), sn = /* @__PURE__ */ m("button")({
|
|
533
550
|
name: "n",
|
|
534
551
|
class: "n1ardwzl",
|
|
535
552
|
propsAsIs: !1
|
|
536
|
-
}),
|
|
553
|
+
}), an = /* @__PURE__ */ m("span")({
|
|
537
554
|
name: "i",
|
|
538
555
|
class: "i1vk8ojx",
|
|
539
556
|
propsAsIs: !1
|
|
540
557
|
});
|
|
541
558
|
var nt = /* @__PURE__ */ ((r) => (r.HOME = "home", r.LEADERBOARD = "leaderboard", r))(nt || {});
|
|
542
|
-
const Gt = ({ title: r, active: o, onClick: l }) => /* @__PURE__ */ p(
|
|
559
|
+
const Gt = ({ 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: [
|
|
543
560
|
/* @__PURE__ */ p(Gt, { title: "Home", active: r === "home", onClick: () => o(
|
|
544
561
|
"home"
|
|
545
562
|
/* HOME */
|
|
@@ -556,7 +573,7 @@ const Gt = ({ title: r, active: o, onClick: l }) => /* @__PURE__ */ p(nn, { onCl
|
|
|
556
573
|
}
|
|
557
574
|
)
|
|
558
575
|
] }) });
|
|
559
|
-
const
|
|
576
|
+
const cn = /* @__PURE__ */ m("div")({
|
|
560
577
|
name: "o",
|
|
561
578
|
class: "oa5apdf",
|
|
562
579
|
propsAsIs: !1
|
|
@@ -564,31 +581,31 @@ const an = /* @__PURE__ */ m("div")({
|
|
|
564
581
|
name: "n",
|
|
565
582
|
class: "n1wh5guy",
|
|
566
583
|
propsAsIs: !1
|
|
567
|
-
}),
|
|
584
|
+
}), un = /* @__PURE__ */ m("img")({
|
|
568
585
|
name: "r",
|
|
569
586
|
class: "ro3ktps",
|
|
570
587
|
propsAsIs: !1
|
|
571
|
-
}),
|
|
588
|
+
}), hn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZXZyb24iPgo8cGF0aCBpZD0iQ2hldnJvbl8yIiBkPSJNNiAxMS45OTlDNiAxMi4xNzI1IDYuMDMxMzQgMTIuMzM0IDYuMDk0MDEgMTIuNDgzN0M2LjE1NjY5IDEyLjYzMzQgNi4yNTQyOCAxMi43NzU2IDYuMzg2OCAxMi45MTAzTDE0LjA0MzYgMjAuNjU2NUMxNC4yNjQ4IDIwLjg4NTUgMTQuNTMyMyAyMSAxNC44NDU5IDIxQzE1LjA2MDcgMjEgMTUuMjU0NCAyMC45NDc1IDE1LjQyNzEgMjAuODQyNkMxNS41OTk4IDIwLjczNzcgMTUuNzM4NCAyMC41OTY1IDE1Ljg0MzEgMjAuNDE5MUMxNS45NDc3IDIwLjI0MTYgMTYgMjAuMDQyNSAxNiAxOS44MjE3QzE2IDE5LjQ5ODkgMTUuODgxNiAxOS4yMTM0IDE1LjY0NDggMTguOTY1NEw4Ljc0MTgzIDExLjk5NzFMMTUuNjQ0OCA1LjAzMjcxQzE1Ljg4MTYgNC43ODcwOSAxNiA0LjUwMjMgMTYgNC4xNzgzNEMxNiAzLjk1NzQ5IDE1Ljk0NzcgMy43NTgzNSAxNS44NDMxIDMuNTgwOTFDMTUuNzM4NCAzLjQwMzQ3IDE1LjU5OTggMy4yNjIyOSAxNS40MjcxIDMuMTU3MzhDMTUuMjU0NCAzLjA1MjQ2IDE1LjA2MDcgMyAxNC44NDU5IDNDMTQuNTMyMyAzIDE0LjI2NDggMy4xMTE2OSAxNC4wNDM2IDMuMzM1MDhMNi4zODY4IDExLjA4NzhDNi4yNTU1MSAxMS4yMjI1IDYuMTU4NTMgMTEuMzY0NCA2LjA5NTg2IDExLjUxMzRDNi4wMzMxOCAxMS42NjI1IDYuMDAxMjMgMTEuODI0NCA2IDExLjk5OVoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPC9zdmc+Cg==", Ii = ({ icon: r, comeBack: o, close: l }) => /* @__PURE__ */ z(cn, { children: [
|
|
572
589
|
/* @__PURE__ */ z("div", { children: [
|
|
573
|
-
o && /* @__PURE__ */ p(Wt, { onClick: o, children: /* @__PURE__ */ p("img", { alt: "header-back-icon", src:
|
|
574
|
-
r && /* @__PURE__ */ p(
|
|
590
|
+
o && /* @__PURE__ */ p(Wt, { onClick: o, children: /* @__PURE__ */ p("img", { alt: "header-back-icon", src: hn }) }),
|
|
591
|
+
r && /* @__PURE__ */ p(un, { alt: "header-icon", src: r })
|
|
575
592
|
] }),
|
|
576
593
|
/* @__PURE__ */ p("div", { children: l && /* @__PURE__ */ p(Wt, { onClick: l, children: /* @__PURE__ */ p("img", { alt: "header-close-icon", src: Ut }) }) })
|
|
577
594
|
] });
|
|
578
|
-
const
|
|
595
|
+
const dn = /* @__PURE__ */ m("div")({
|
|
579
596
|
name: "i",
|
|
580
597
|
class: "iqbegjm",
|
|
581
598
|
propsAsIs: !1
|
|
582
|
-
}),
|
|
583
|
-
const
|
|
599
|
+
}), pn = ({ comeBack: r }) => /* @__PURE__ */ p(dn, { children: /* @__PURE__ */ p(Ii, { comeBack: r }) });
|
|
600
|
+
const fn = /* @__PURE__ */ m("button")({
|
|
584
601
|
name: "a",
|
|
585
602
|
class: "akly9h2",
|
|
586
603
|
propsAsIs: !1
|
|
587
|
-
}),
|
|
604
|
+
}), gn = /* @__PURE__ */ m("span")({
|
|
588
605
|
name: "e",
|
|
589
606
|
class: "eptoiz9",
|
|
590
607
|
propsAsIs: !1
|
|
591
|
-
}),
|
|
608
|
+
}), mn = ({ disabled: r, variant: o = "primary", onClick: l, children: h }) => /* @__PURE__ */ p(fn, { onClick: l, disabled: r, "data-variant": o, children: /* @__PURE__ */ p(gn, { children: h }) }), In = {
|
|
592
609
|
[W.TWEET]: { label: "Insight", iconName: "icon-insight" },
|
|
593
610
|
[W.PROMOTION]: { label: "Insight", iconName: "icon-insight" },
|
|
594
611
|
[W.UNSET]: void 0,
|
|
@@ -597,7 +614,7 @@ const dn = /* @__PURE__ */ m("button")({
|
|
|
597
614
|
[W.TRIVIA]: { label: "Trivia", iconName: "icon-trivia" },
|
|
598
615
|
[W.PREDICTION]: { label: "Prediction", iconName: "icon-prediction" }
|
|
599
616
|
};
|
|
600
|
-
const
|
|
617
|
+
const yn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
601
618
|
width: 24,
|
|
602
619
|
height: 24,
|
|
603
620
|
viewBox: "0 0 24 24",
|
|
@@ -610,7 +627,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
610
627
|
strokeWidth: 1.5,
|
|
611
628
|
strokeLinecap: "round",
|
|
612
629
|
strokeLinejoin: "round"
|
|
613
|
-
})),
|
|
630
|
+
})), Mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
614
631
|
width: 24,
|
|
615
632
|
height: 24,
|
|
616
633
|
viewBox: "0 0 24 24",
|
|
@@ -626,7 +643,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
626
643
|
strokeWidth: 1.5,
|
|
627
644
|
strokeLinecap: "round",
|
|
628
645
|
strokeLinejoin: "round"
|
|
629
|
-
}))),
|
|
646
|
+
}))), wn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
630
647
|
width: 24,
|
|
631
648
|
height: 24,
|
|
632
649
|
viewBox: "0 0 24 24",
|
|
@@ -642,7 +659,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
642
659
|
strokeWidth: 1.5,
|
|
643
660
|
strokeLinecap: "round",
|
|
644
661
|
strokeLinejoin: "round"
|
|
645
|
-
}))),
|
|
662
|
+
}))), Cn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
646
663
|
width: 16,
|
|
647
664
|
height: 16,
|
|
648
665
|
viewBox: "0 0 16 16",
|
|
@@ -655,7 +672,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
655
672
|
clipRule: "evenodd",
|
|
656
673
|
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",
|
|
657
674
|
fill: "#107D57"
|
|
658
|
-
})),
|
|
675
|
+
})), En = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
659
676
|
width: 24,
|
|
660
677
|
height: 24,
|
|
661
678
|
viewBox: "0 0 24 24",
|
|
@@ -670,7 +687,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
670
687
|
clipRule: "evenodd",
|
|
671
688
|
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",
|
|
672
689
|
fill: "#FFFFFF"
|
|
673
|
-
}))),
|
|
690
|
+
}))), An = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
674
691
|
width: 12,
|
|
675
692
|
height: 20,
|
|
676
693
|
viewBox: "0 0 12 20",
|
|
@@ -682,7 +699,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
682
699
|
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",
|
|
683
700
|
fill: "white",
|
|
684
701
|
fillOpacity: 0.6
|
|
685
|
-
})),
|
|
702
|
+
})), Nn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
686
703
|
width: 24,
|
|
687
704
|
height: 24,
|
|
688
705
|
viewBox: "0 0 24 24",
|
|
@@ -695,7 +712,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
695
712
|
id: "Chevron_2",
|
|
696
713
|
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",
|
|
697
714
|
fill: "white"
|
|
698
|
-
}))),
|
|
715
|
+
}))), xn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
699
716
|
width: 16,
|
|
700
717
|
height: 17,
|
|
701
718
|
viewBox: "0 0 16 17",
|
|
@@ -708,7 +725,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
708
725
|
id: "Chevron_2",
|
|
709
726
|
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",
|
|
710
727
|
fill: "#FFFFFF"
|
|
711
|
-
}))),
|
|
728
|
+
}))), Tn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
712
729
|
width: 24,
|
|
713
730
|
height: 24,
|
|
714
731
|
viewBox: "0 0 24 24",
|
|
@@ -723,7 +740,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
723
740
|
}), /* @__PURE__ */ M.createElement("path", {
|
|
724
741
|
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",
|
|
725
742
|
fill: "white"
|
|
726
|
-
})),
|
|
743
|
+
})), vn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
727
744
|
width: 10,
|
|
728
745
|
height: 10,
|
|
729
746
|
viewBox: "0 0 10 10",
|
|
@@ -748,7 +765,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
748
765
|
rx: 0.883884,
|
|
749
766
|
transform: "rotate(-45 0 8.75)",
|
|
750
767
|
fill: "white"
|
|
751
|
-
}))),
|
|
768
|
+
}))), Dn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
752
769
|
width: 24,
|
|
753
770
|
height: 24,
|
|
754
771
|
viewBox: "0 0 24 24",
|
|
@@ -777,7 +794,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
777
794
|
rx: 0.883884,
|
|
778
795
|
transform: "rotate(-45 7 15.752)",
|
|
779
796
|
fill: "white"
|
|
780
|
-
})),
|
|
797
|
+
})), Ln = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
781
798
|
width: 40,
|
|
782
799
|
height: 40,
|
|
783
800
|
viewBox: "0 0 40 40",
|
|
@@ -796,7 +813,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
796
813
|
id: "Vector_2",
|
|
797
814
|
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",
|
|
798
815
|
fill: "white"
|
|
799
|
-
})))),
|
|
816
|
+
})))), zn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
800
817
|
width: 24,
|
|
801
818
|
height: 24,
|
|
802
819
|
viewBox: "0 0 24 24",
|
|
@@ -825,7 +842,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
825
842
|
rx: 0.883884,
|
|
826
843
|
transform: "rotate(-45 7 15.75)",
|
|
827
844
|
fill: "white"
|
|
828
|
-
})),
|
|
845
|
+
})), Sn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
829
846
|
width: 17,
|
|
830
847
|
height: 17,
|
|
831
848
|
viewBox: "0 0 17 17",
|
|
@@ -837,7 +854,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
837
854
|
stroke: "#107D57",
|
|
838
855
|
strokeLinecap: "round",
|
|
839
856
|
strokeLinejoin: "round"
|
|
840
|
-
})),
|
|
857
|
+
})), jn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
841
858
|
width: 32,
|
|
842
859
|
height: 32,
|
|
843
860
|
viewBox: "0 0 32 32",
|
|
@@ -856,7 +873,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
856
873
|
opacity: 0.5,
|
|
857
874
|
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",
|
|
858
875
|
fill: "#107D57"
|
|
859
|
-
})),
|
|
876
|
+
})), Bn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
860
877
|
width: 18,
|
|
861
878
|
height: 18,
|
|
862
879
|
viewBox: "0 0 18 18",
|
|
@@ -869,7 +886,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
869
886
|
id: "Vector",
|
|
870
887
|
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",
|
|
871
888
|
fill: "white"
|
|
872
|
-
}))),
|
|
889
|
+
}))), kn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
873
890
|
width: 17,
|
|
874
891
|
height: 16,
|
|
875
892
|
viewBox: "0 0 17 16",
|
|
@@ -895,7 +912,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
895
912
|
strokeWidth: 1.5,
|
|
896
913
|
strokeLinecap: "round",
|
|
897
914
|
strokeLinejoin: "round"
|
|
898
|
-
})),
|
|
915
|
+
})), bn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
899
916
|
width: 17,
|
|
900
917
|
height: 18,
|
|
901
918
|
viewBox: "0 0 17 18",
|
|
@@ -925,7 +942,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
925
942
|
strokeWidth: 1.5,
|
|
926
943
|
strokeLinecap: "round",
|
|
927
944
|
strokeLinejoin: "round"
|
|
928
|
-
}))),
|
|
945
|
+
}))), Rn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
929
946
|
width: 99,
|
|
930
947
|
height: 96,
|
|
931
948
|
viewBox: "0 0 99 96",
|
|
@@ -942,7 +959,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
942
959
|
id: "Vector_2",
|
|
943
960
|
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",
|
|
944
961
|
fill: "white"
|
|
945
|
-
}))),
|
|
962
|
+
}))), _n = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
946
963
|
width: 48,
|
|
947
964
|
height: 48,
|
|
948
965
|
viewBox: "0 0 48 48",
|
|
@@ -960,7 +977,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
960
977
|
clipRule: "evenodd",
|
|
961
978
|
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",
|
|
962
979
|
fill: "white"
|
|
963
|
-
})),
|
|
980
|
+
})), On = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
964
981
|
width: 16,
|
|
965
982
|
height: 15,
|
|
966
983
|
viewBox: "0 0 16 15",
|
|
@@ -971,7 +988,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
971
988
|
id: "Start - You",
|
|
972
989
|
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",
|
|
973
990
|
fill: "#F4D22A"
|
|
974
|
-
})),
|
|
991
|
+
})), Un = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
975
992
|
xmlns: "http://www.w3.org/2000/svg",
|
|
976
993
|
width: 22,
|
|
977
994
|
height: 22,
|
|
@@ -981,7 +998,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
981
998
|
}, /* @__PURE__ */ M.createElement("path", {
|
|
982
999
|
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",
|
|
983
1000
|
fill: "white"
|
|
984
|
-
})),
|
|
1001
|
+
})), $n = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
985
1002
|
width: 12,
|
|
986
1003
|
height: 12,
|
|
987
1004
|
viewBox: "0 0 12 12",
|
|
@@ -996,7 +1013,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
996
1013
|
clipRule: "evenodd",
|
|
997
1014
|
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",
|
|
998
1015
|
fill: "white"
|
|
999
|
-
}))),
|
|
1016
|
+
}))), Fn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1000
1017
|
width: 16,
|
|
1001
1018
|
height: 16,
|
|
1002
1019
|
viewBox: "0 0 16 16",
|
|
@@ -1011,7 +1028,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1011
1028
|
clipRule: "evenodd",
|
|
1012
1029
|
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",
|
|
1013
1030
|
fill: "#F2C94C"
|
|
1014
|
-
}))),
|
|
1031
|
+
}))), Pn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1015
1032
|
width: 25,
|
|
1016
1033
|
height: 24,
|
|
1017
1034
|
viewBox: "0 0 25 24",
|
|
@@ -1029,7 +1046,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1029
1046
|
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",
|
|
1030
1047
|
fill: "white",
|
|
1031
1048
|
fillOpacity: 0.4
|
|
1032
|
-
}))),
|
|
1049
|
+
}))), Yn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1033
1050
|
width: 18,
|
|
1034
1051
|
height: 18,
|
|
1035
1052
|
viewBox: "0 0 18 18",
|
|
@@ -1052,7 +1069,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1052
1069
|
clipRule: "evenodd",
|
|
1053
1070
|
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",
|
|
1054
1071
|
fill: "#107D57"
|
|
1055
|
-
})))),
|
|
1072
|
+
})))), Vn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1056
1073
|
width: 14,
|
|
1057
1074
|
height: 17,
|
|
1058
1075
|
viewBox: "0 0 14 17",
|
|
@@ -1070,7 +1087,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1070
1087
|
id: "Icon / Games_3",
|
|
1071
1088
|
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",
|
|
1072
1089
|
fill: "#107D57"
|
|
1073
|
-
}))),
|
|
1090
|
+
}))), Zn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1074
1091
|
width: 19,
|
|
1075
1092
|
height: 14,
|
|
1076
1093
|
viewBox: "0 0 19 14",
|
|
@@ -1085,7 +1102,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1085
1102
|
clipRule: "evenodd",
|
|
1086
1103
|
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",
|
|
1087
1104
|
fill: "#107D57"
|
|
1088
|
-
}))),
|
|
1105
|
+
}))), Qn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1089
1106
|
width: 20,
|
|
1090
1107
|
height: 20,
|
|
1091
1108
|
viewBox: "0 0 20 20",
|
|
@@ -1101,7 +1118,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1101
1118
|
strokeWidth: 1.2,
|
|
1102
1119
|
strokeLinecap: "round",
|
|
1103
1120
|
strokeLinejoin: "round"
|
|
1104
|
-
}))),
|
|
1121
|
+
}))), Hn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1105
1122
|
width: 20,
|
|
1106
1123
|
height: 20,
|
|
1107
1124
|
viewBox: "0 0 20 20",
|
|
@@ -1117,7 +1134,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1117
1134
|
strokeWidth: 1.2,
|
|
1118
1135
|
strokeLinecap: "round",
|
|
1119
1136
|
strokeLinejoin: "round"
|
|
1120
|
-
}))),
|
|
1137
|
+
}))), Gn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1121
1138
|
width: 16,
|
|
1122
1139
|
height: 16,
|
|
1123
1140
|
viewBox: "0 0 16 16",
|
|
@@ -1184,7 +1201,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1184
1201
|
clipRule: "evenodd",
|
|
1185
1202
|
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",
|
|
1186
1203
|
fill: "#107D57"
|
|
1187
|
-
}))),
|
|
1204
|
+
}))), Wn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1188
1205
|
width: 16,
|
|
1189
1206
|
height: 16,
|
|
1190
1207
|
viewBox: "0 0 16 16",
|
|
@@ -1200,7 +1217,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1200
1217
|
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",
|
|
1201
1218
|
fill: "white",
|
|
1202
1219
|
fillOpacity: 0.5
|
|
1203
|
-
}))),
|
|
1220
|
+
}))), qn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1204
1221
|
width: 16,
|
|
1205
1222
|
height: 16,
|
|
1206
1223
|
viewBox: "0 0 16 16",
|
|
@@ -1216,7 +1233,7 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1216
1233
|
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",
|
|
1217
1234
|
fill: "white",
|
|
1218
1235
|
fillOpacity: 0.5
|
|
1219
|
-
}))),
|
|
1236
|
+
}))), Jn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
1220
1237
|
width: 16,
|
|
1221
1238
|
height: 16,
|
|
1222
1239
|
viewBox: "0 0 16 16",
|
|
@@ -1233,40 +1250,40 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1233
1250
|
fill: "white",
|
|
1234
1251
|
fillOpacity: 0.5
|
|
1235
1252
|
}))), qt = {
|
|
1236
|
-
"invite-game-icon":
|
|
1237
|
-
"icon-trophy":
|
|
1238
|
-
"icon-play":
|
|
1239
|
-
"icon-trophy-green":
|
|
1240
|
-
"icon-trivia":
|
|
1241
|
-
"icon-thumb-down":
|
|
1242
|
-
"icon-star":
|
|
1243
|
-
"icon-prediction":
|
|
1244
|
-
"icon-insight":
|
|
1245
|
-
"icon-poll":
|
|
1246
|
-
"icon-masters-logo":
|
|
1247
|
-
"icon-logout":
|
|
1248
|
-
"icon-link":
|
|
1249
|
-
"icon-external-link":
|
|
1250
|
-
"icon-invite-arrow":
|
|
1251
|
-
"icon-friends":
|
|
1252
|
-
"icon-exit":
|
|
1253
|
-
"icon-default-user-avatar":
|
|
1254
|
-
"icon-cross":
|
|
1255
|
-
"icon-close":
|
|
1256
|
-
"icon-close-btn-white":
|
|
1257
|
-
"icon-circle-arrow-right":
|
|
1258
|
-
"icon-chevron":
|
|
1259
|
-
"icon-chevron-white-left":
|
|
1260
|
-
"icon-chevron-left":
|
|
1261
|
-
"icon-check-white":
|
|
1262
|
-
"icon-check-green":
|
|
1263
|
-
"icon-btn-channels":
|
|
1264
|
-
"icon-btn-feature-groups":
|
|
1265
|
-
"icon-btn-leaderboard":
|
|
1266
|
-
"icon-check":
|
|
1267
|
-
"icon-arrow":
|
|
1268
|
-
correct:
|
|
1269
|
-
incorrect:
|
|
1253
|
+
"invite-game-icon": Pn,
|
|
1254
|
+
"icon-trophy": Fn,
|
|
1255
|
+
"icon-play": _n,
|
|
1256
|
+
"icon-trophy-green": $n,
|
|
1257
|
+
"icon-trivia": Jn,
|
|
1258
|
+
"icon-thumb-down": Un,
|
|
1259
|
+
"icon-star": On,
|
|
1260
|
+
"icon-prediction": qn,
|
|
1261
|
+
"icon-insight": Gn,
|
|
1262
|
+
"icon-poll": Wn,
|
|
1263
|
+
"icon-masters-logo": Rn,
|
|
1264
|
+
"icon-logout": bn,
|
|
1265
|
+
"icon-link": kn,
|
|
1266
|
+
"icon-external-link": Sn,
|
|
1267
|
+
"icon-invite-arrow": Bn,
|
|
1268
|
+
"icon-friends": jn,
|
|
1269
|
+
"icon-exit": zn,
|
|
1270
|
+
"icon-default-user-avatar": Ln,
|
|
1271
|
+
"icon-cross": wn,
|
|
1272
|
+
"icon-close": Dn,
|
|
1273
|
+
"icon-close-btn-white": vn,
|
|
1274
|
+
"icon-circle-arrow-right": Tn,
|
|
1275
|
+
"icon-chevron": xn,
|
|
1276
|
+
"icon-chevron-white-left": Nn,
|
|
1277
|
+
"icon-chevron-left": An,
|
|
1278
|
+
"icon-check-white": En,
|
|
1279
|
+
"icon-check-green": Cn,
|
|
1280
|
+
"icon-btn-channels": Yn,
|
|
1281
|
+
"icon-btn-feature-groups": Vn,
|
|
1282
|
+
"icon-btn-leaderboard": Zn,
|
|
1283
|
+
"icon-check": Mn,
|
|
1284
|
+
"icon-arrow": yn,
|
|
1285
|
+
correct: Qn,
|
|
1286
|
+
incorrect: Hn
|
|
1270
1287
|
}, Ue = ({
|
|
1271
1288
|
name: r,
|
|
1272
1289
|
style: o,
|
|
@@ -1284,44 +1301,44 @@ const mn = (r) => /* @__PURE__ */ M.createElement("svg", {
|
|
|
1284
1301
|
...h
|
|
1285
1302
|
});
|
|
1286
1303
|
};
|
|
1287
|
-
const
|
|
1304
|
+
const Xn = () => Ue, Kn = () => Ue, e1 = /* @__PURE__ */ m("div")({
|
|
1288
1305
|
name: "s",
|
|
1289
1306
|
class: "s1lblda3",
|
|
1290
1307
|
propsAsIs: !1
|
|
1291
|
-
}),
|
|
1308
|
+
}), t1 = /* @__PURE__ */ m("div")({
|
|
1292
1309
|
name: "a",
|
|
1293
1310
|
class: "ascvb2g",
|
|
1294
1311
|
propsAsIs: !1
|
|
1295
|
-
}),
|
|
1312
|
+
}), i1 = /* @__PURE__ */ m("div")({
|
|
1296
1313
|
name: "p",
|
|
1297
1314
|
class: "p17rl8zy",
|
|
1298
1315
|
propsAsIs: !1
|
|
1299
|
-
}),
|
|
1316
|
+
}), r1 = /* @__PURE__ */ m("div")({
|
|
1300
1317
|
name: "l",
|
|
1301
1318
|
class: "l1vvttbn",
|
|
1302
1319
|
propsAsIs: !1
|
|
1303
|
-
}), Mt = /* @__PURE__ */ m(
|
|
1320
|
+
}), Mt = /* @__PURE__ */ m(Xn())({
|
|
1304
1321
|
name: "c",
|
|
1305
1322
|
class: "c6fk2ph",
|
|
1306
1323
|
propsAsIs: !0
|
|
1307
|
-
}),
|
|
1324
|
+
}), n1 = /* @__PURE__ */ m(Kn())({
|
|
1308
1325
|
name: "d",
|
|
1309
1326
|
class: "d1rdm136",
|
|
1310
1327
|
propsAsIs: !0
|
|
1311
|
-
}),
|
|
1328
|
+
}), o1 = /* @__PURE__ */ m("div")({
|
|
1312
1329
|
name: "f",
|
|
1313
1330
|
class: "fwqnnel",
|
|
1314
1331
|
propsAsIs: !1
|
|
1315
|
-
}),
|
|
1332
|
+
}), s1 = /* @__PURE__ */ m("div")({
|
|
1316
1333
|
name: "u",
|
|
1317
1334
|
class: "ucyxnlg",
|
|
1318
1335
|
propsAsIs: !1
|
|
1319
|
-
}),
|
|
1336
|
+
}), a1 = {
|
|
1320
1337
|
[et.LOST]: /* @__PURE__ */ p(Mt, { name: "icon-cross" }),
|
|
1321
1338
|
[et.WON]: /* @__PURE__ */ p(Mt, { name: "icon-check" }),
|
|
1322
1339
|
[et.UNSET]: void 0,
|
|
1323
1340
|
[et.DNP]: /* @__PURE__ */ p(Mt, { name: "icon-arrow" })
|
|
1324
|
-
},
|
|
1341
|
+
}, l1 = ({
|
|
1325
1342
|
questionId: r,
|
|
1326
1343
|
questionType: o,
|
|
1327
1344
|
questionStatus: l,
|
|
@@ -1330,127 +1347,127 @@ const qn = () => Ue, Jn = () => Ue, Xn = /* @__PURE__ */ m("div")({
|
|
|
1330
1347
|
openQuestion: g,
|
|
1331
1348
|
status: f
|
|
1332
1349
|
}) => {
|
|
1333
|
-
const s =
|
|
1334
|
-
return s ? /* @__PURE__ */ z(
|
|
1335
|
-
/* @__PURE__ */ z(
|
|
1336
|
-
/* @__PURE__ */ z(
|
|
1337
|
-
/* @__PURE__ */ p(
|
|
1338
|
-
/* @__PURE__ */ z(
|
|
1350
|
+
const s = In[o], I = a1[f];
|
|
1351
|
+
return s ? /* @__PURE__ */ z(e1, { onClick: () => g == null ? void 0 : g(r), children: [
|
|
1352
|
+
/* @__PURE__ */ z(s1, { children: [
|
|
1353
|
+
/* @__PURE__ */ z(t1, { children: [
|
|
1354
|
+
/* @__PURE__ */ p(n1, { name: s.iconName }),
|
|
1355
|
+
/* @__PURE__ */ z(o1, { children: [
|
|
1339
1356
|
s.label,
|
|
1340
|
-
o === W.TRIVIA && l ===
|
|
1357
|
+
o === W.TRIVIA && l === Oi.RESOLVED && " • Expired"
|
|
1341
1358
|
] })
|
|
1342
1359
|
] }),
|
|
1343
|
-
/* @__PURE__ */ p(
|
|
1360
|
+
/* @__PURE__ */ p(i1, { children: h || "" })
|
|
1344
1361
|
] }),
|
|
1345
|
-
/* @__PURE__ */ p(
|
|
1362
|
+
/* @__PURE__ */ p(r1, { children: I || (d ? /* @__PURE__ */ p(mn, { children: "Play" }) : null) })
|
|
1346
1363
|
] }) : null;
|
|
1347
1364
|
};
|
|
1348
|
-
const
|
|
1365
|
+
const c1 = /* @__PURE__ */ m("div")({
|
|
1349
1366
|
name: "t",
|
|
1350
1367
|
class: "t19vr3p1",
|
|
1351
1368
|
propsAsIs: !1
|
|
1352
|
-
}),
|
|
1353
|
-
const
|
|
1369
|
+
}), u1 = ({ questions: r, openQuestion: o }) => /* @__PURE__ */ p(c1, { children: r == null ? void 0 : r.map((l) => /* @__PURE__ */ p(l1, { openQuestion: o, ...l }, l.questionId)) }), yi = (r) => r.split(/\s+/).map((o) => o[0]).join("").toUpperCase(), Mi = (r) => r ? r.toLocaleString("en-US") : "0";
|
|
1370
|
+
const h1 = /* @__PURE__ */ m("div")({
|
|
1354
1371
|
name: "t",
|
|
1355
1372
|
class: "taj61ja",
|
|
1356
1373
|
propsAsIs: !1
|
|
1357
|
-
}),
|
|
1374
|
+
}), d1 = /* @__PURE__ */ m("div")({
|
|
1358
1375
|
name: "r",
|
|
1359
1376
|
class: "r19fxewd",
|
|
1360
1377
|
propsAsIs: !1
|
|
1361
|
-
}),
|
|
1378
|
+
}), p1 = /* @__PURE__ */ m("div")({
|
|
1362
1379
|
name: "i",
|
|
1363
1380
|
class: "i1whkbqh",
|
|
1364
1381
|
propsAsIs: !1
|
|
1365
|
-
}), Jt = ({ indicator: r, title: o }) => /* @__PURE__ */ z(
|
|
1366
|
-
/* @__PURE__ */ p(
|
|
1367
|
-
/* @__PURE__ */ p(
|
|
1382
|
+
}), Jt = ({ indicator: r, title: o }) => /* @__PURE__ */ z(h1, { children: [
|
|
1383
|
+
/* @__PURE__ */ p(d1, { children: o }),
|
|
1384
|
+
/* @__PURE__ */ p(p1, { children: r })
|
|
1368
1385
|
] });
|
|
1369
|
-
const
|
|
1386
|
+
const f1 = /* @__PURE__ */ m("div")({
|
|
1370
1387
|
name: "i",
|
|
1371
1388
|
class: "i4lbhzs",
|
|
1372
1389
|
propsAsIs: !1
|
|
1373
|
-
}),
|
|
1390
|
+
}), g1 = /* @__PURE__ */ m("div")({
|
|
1374
1391
|
name: "o",
|
|
1375
1392
|
class: "ordquhq",
|
|
1376
1393
|
propsAsIs: !1
|
|
1377
|
-
}),
|
|
1394
|
+
}), m1 = /* @__PURE__ */ m("div")({
|
|
1378
1395
|
name: "n",
|
|
1379
1396
|
class: "nwzed99",
|
|
1380
1397
|
propsAsIs: !1
|
|
1381
|
-
}), it = ({ indicator: r, title: o }) => /* @__PURE__ */ z(
|
|
1382
|
-
/* @__PURE__ */ p(
|
|
1383
|
-
/* @__PURE__ */ p(
|
|
1398
|
+
}), it = ({ indicator: r, title: o }) => /* @__PURE__ */ z(f1, { children: [
|
|
1399
|
+
/* @__PURE__ */ p(g1, { children: r }),
|
|
1400
|
+
/* @__PURE__ */ p(m1, { children: o })
|
|
1384
1401
|
] });
|
|
1385
|
-
const
|
|
1402
|
+
const I1 = /* @__PURE__ */ m("div")({
|
|
1386
1403
|
name: "o",
|
|
1387
1404
|
class: "o15y0waw",
|
|
1388
1405
|
propsAsIs: !1
|
|
1389
|
-
}),
|
|
1406
|
+
}), y1 = /* @__PURE__ */ m("div")({
|
|
1390
1407
|
name: "i",
|
|
1391
1408
|
class: "ihjewwf",
|
|
1392
1409
|
propsAsIs: !1
|
|
1393
|
-
}),
|
|
1410
|
+
}), M1 = /* @__PURE__ */ m("div")({
|
|
1394
1411
|
name: "n",
|
|
1395
1412
|
class: "n10e9lv8",
|
|
1396
1413
|
propsAsIs: !1
|
|
1397
|
-
}),
|
|
1414
|
+
}), w1 = /* @__PURE__ */ m("div")({
|
|
1398
1415
|
name: "r",
|
|
1399
1416
|
class: "r13bxv",
|
|
1400
1417
|
propsAsIs: !1
|
|
1401
|
-
}),
|
|
1418
|
+
}), C1 = /* @__PURE__ */ m("img")({
|
|
1402
1419
|
name: "a",
|
|
1403
1420
|
class: "a1fi59c9",
|
|
1404
1421
|
propsAsIs: !1
|
|
1405
|
-
}),
|
|
1422
|
+
}), E1 = /* @__PURE__ */ m("div")({
|
|
1406
1423
|
name: "s",
|
|
1407
1424
|
class: "s1kkihge",
|
|
1408
1425
|
propsAsIs: !1
|
|
1409
|
-
}),
|
|
1426
|
+
}), A1 = /* @__PURE__ */ m("div")({
|
|
1410
1427
|
name: "c",
|
|
1411
1428
|
class: "cy4f4t",
|
|
1412
1429
|
propsAsIs: !1
|
|
1413
|
-
}),
|
|
1430
|
+
}), N1 = /* @__PURE__ */ m("div")({
|
|
1414
1431
|
name: "p",
|
|
1415
1432
|
class: "p18cnlx1",
|
|
1416
1433
|
propsAsIs: !1
|
|
1417
|
-
}),
|
|
1434
|
+
}), x1 = /* @__PURE__ */ m("img")({
|
|
1418
1435
|
name: "l",
|
|
1419
1436
|
class: "lboqgs5",
|
|
1420
1437
|
propsAsIs: !1
|
|
1421
|
-
}),
|
|
1438
|
+
}), T1 = /* @__PURE__ */ m("div")({
|
|
1422
1439
|
name: "d",
|
|
1423
1440
|
class: "d1oaal4",
|
|
1424
1441
|
propsAsIs: !1
|
|
1425
|
-
}),
|
|
1442
|
+
}), v1 = /* @__PURE__ */ m("div")({
|
|
1426
1443
|
name: "x",
|
|
1427
1444
|
class: "x1yzgo0u",
|
|
1428
1445
|
propsAsIs: !1
|
|
1429
|
-
}),
|
|
1446
|
+
}), D1 = /* @__PURE__ */ m("div")({
|
|
1430
1447
|
name: "f",
|
|
1431
1448
|
class: "f1l9i8s8",
|
|
1432
1449
|
propsAsIs: !1
|
|
1433
|
-
}),
|
|
1450
|
+
}), L1 = /* @__PURE__ */ m("div")({
|
|
1434
1451
|
name: "g",
|
|
1435
1452
|
class: "g4cgl4u",
|
|
1436
1453
|
propsAsIs: !1
|
|
1437
|
-
}),
|
|
1454
|
+
}), z1 = /* @__PURE__ */ m("div")({
|
|
1438
1455
|
name: "h",
|
|
1439
1456
|
class: "h1qn1tmd",
|
|
1440
1457
|
propsAsIs: !1
|
|
1441
|
-
}),
|
|
1458
|
+
}), S1 = /* @__PURE__ */ m("div")({
|
|
1442
1459
|
name: "u",
|
|
1443
1460
|
class: "u1gsbhq4",
|
|
1444
1461
|
propsAsIs: !1
|
|
1445
|
-
}),
|
|
1462
|
+
}), j1 = /* @__PURE__ */ m("div")({
|
|
1446
1463
|
name: "m",
|
|
1447
1464
|
class: "mvj8oco",
|
|
1448
1465
|
propsAsIs: !1
|
|
1449
|
-
}),
|
|
1466
|
+
}), B1 = /* @__PURE__ */ m("button")({
|
|
1450
1467
|
name: "v",
|
|
1451
1468
|
class: "viqiaf2",
|
|
1452
1469
|
propsAsIs: !1
|
|
1453
|
-
}),
|
|
1470
|
+
}), k1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlRyb3BoeSI+CjxwYXRoIGlkPSJDb21iaW5lZCBTaGFwZSIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zLjY5MTk3IDQuNjY2NjJDMy42OTE5NyA1Ljk5NzA1IDMuOTI5MTQgNy4xNzc4NyA0LjQwMzUgOC4yMDkxMkMzLjQ5OTY2IDguMDI0NTEgMi43NDQ4NyA3LjY2NDg2IDIuMTM5MSA3LjEzMDE0QzEuNTMzMzMgNi41OTU0MiAxLjIzMDQ2IDYuMDc5OCAxLjIzMDQ2IDUuNTgzMjhWNC42NjY2MkgzLjY5MTk3Wk0xNC43Njg2IDQuNjY2NjJWNS41ODMyOEMxNC43Njg2IDYuMDc5OCAxNC40NjU4IDYuNTk1NDIgMTMuODYgNy4xMzAxNEMxMy4yNTQyIDcuNjY0ODYgMTIuNDk5NCA4LjAyNDUxIDExLjU5NTYgOC4yMDkxMkMxMi4wNjk5IDcuMTc3ODcgMTIuMzA3MSA1Ljk5NzA1IDEyLjMwNzEgNC42NjY2MkgxNC43Njg2Wk0xNS45OTk4IDUuNTgzMjlWNC4zNjEwOEMxNS45OTk4IDQuMTA2NDUgMTUuOTEwMSAzLjg5MDAyIDE1LjczMDYgMy43MTE3OEMxNS41NTExIDMuNTMzNTQgMTUuMzMzMiAzLjQ0NDQyIDE1LjA3NjggMy40NDQ0MkgxMi4zMDc2VjIuNTI3NzZDMTIuMzA3NiAyLjEwNzYzIDEyLjE1NjkgMS43NDc5NyAxMS44NTU2IDEuNDQ4NzhDMTEuNTU0NCAxLjE0OTU5IDExLjE5MjIgMSAxMC43NjkxIDFINS4yMzA3MkM0LjgwNzY0IDEgNC40NDU0NyAxLjE0OTU5IDQuMTQ0MTkgMS40NDg3OEMzLjg0MjkxIDEuNzQ3OTcgMy42OTIyNyAyLjEwNzYzIDMuNjkyMjcgMi41Mjc3NlYzLjQ0NDQySDAuOTIzMDY4QzAuNjY2NjU5IDMuNDQ0NDIgMC40NDg3MTQgMy41MzM1NCAwLjI2OTIyOCAzLjcxMTc4QzAuMDg5NzQxOCAzLjg5MDAyIDAgNC4xMDY0NSAwIDQuMzYxMDhWNS41ODMyOUMwIDYuMDM1MjUgMC4xMzMwMSA2LjQ5MDM5IDAuMzk5MDM0IDYuOTQ4NzJDMC42NjUwNTkgNy40MDcwNSAxLjAyNDAzIDcuODIwODIgMS40NzU5NSA4LjE5MDAzQzEuOTI3ODcgOC41NTkyNCAyLjQ4MjM0IDguODY5NTcgMy4xMzkzOSA5LjEyMTAxQzMuNzk2NDQgOS4zNzI0NiA0LjQ4NzEzIDkuNTE0MDkgNS4yMTE0OSA5LjU0NTkyQzUuNDgwNzEgOS44ODk2NyA1Ljc4NTIgMTAuMTkyIDYuMTI0OTQgMTAuNDUzQzYuMzY4NTMgMTAuNjY5NSA2LjUzNjc5IDEwLjkwMDIgNi42Mjk3NCAxMS4xNDUzQzYuNzIyNjkgMTEuMzkwNCA2Ljc2OTE2IDExLjY3NTIgNi43NjkxNiAxMS45OTk5QzYuNzY5MTYgMTIuMzQzNiA2LjY3MTQxIDEyLjYzMzMgNi40NzU5IDEyLjg2ODhDNi4yODAzOCAxMy4xMDQzIDUuOTY3ODkgMTMuMjIyMSA1LjUzODQxIDEzLjIyMjFDNS4wNTc2NCAxMy4yMjIxIDQuNjI5NzYgMTMuMzY2OSA0LjI1NDc2IDEzLjY1NjZDMy44Nzk3NyAxMy45NDYyIDMuNjkyMjcgMTQuMzEwNiAzLjY5MjI3IDE0Ljc0OTlWMTUuMzYxQzMuNjkyMjcgMTUuNDUwMSAzLjcyMTEyIDE1LjUyMzMgMy43Nzg4MSAxNS41ODA2QzMuODM2NSAxNS42Mzc5IDMuOTEwMjIgMTUuNjY2NSAzLjk5OTk2IDE1LjY2NjVIMTEuOTk5OUMxMi4wODk2IDE1LjY2NjUgMTIuMTYzMyAxNS42Mzc5IDEyLjIyMSAxNS41ODA2QzEyLjI3ODcgMTUuNTIzMyAxMi4zMDc2IDE1LjQ1MDEgMTIuMzA3NiAxNS4zNjFWMTQuNzQ5OUMxMi4zMDc2IDE0LjMxMDYgMTIuMTIwMSAxMy45NDYyIDExLjc0NTEgMTMuNjU2NkMxMS4zNzAxIDEzLjM2NjkgMTAuOTQyMiAxMy4yMjIxIDEwLjQ2MTQgMTMuMjIyMUMxMC4wMzE5IDEzLjIyMjEgOS43MTk0NSAxMy4xMDQzIDkuNTIzOTQgMTIuODY4OEM5LjMyODQzIDEyLjYzMzMgOS4yMzA2OCAxMi4zNDM2IDkuMjMwNjggMTEuOTk5OUM5LjIzMDY4IDExLjY3NTIgOS4yNzcxNSAxMS4zOTA0IDkuMzcwMSAxMS4xNDUzQzkuNDYzMDUgMTAuOTAwMiA5LjYzMTMxIDEwLjY2OTUgOS44NzQ5IDEwLjQ1M0MxMC4yMTQ2IDEwLjE5MiAxMC41MTkxIDkuODg5NjcgMTAuNzg4NCA5LjU0NTkyQzExLjUxMjcgOS41MTQwOSAxMi4yMDM0IDkuMzcyNDYgMTIuODYwNCA5LjEyMTAxQzEzLjUxNzUgOC44Njk1NyAxNC4wNzIgOC41NTkyNCAxNC41MjM5IDguMTkwMDNDMTQuOTc1OCA3LjgyMDgyIDE1LjMzNDggNy40MDcwNSAxNS42MDA4IDYuOTQ4NzJDMTUuODY2OCA2LjQ5MDM5IDE1Ljk5OTggNi4wMzUyNSAxNS45OTk4IDUuNTgzMjlaTTYuNzYwNDcgNy4xNzk4TDguMDUxMDkgNi40OTk5N0w5LjM0MTcgNy4xNzk4TDkuMDk1MjEgNS43Mzk4OUwxMC4xMzkzIDQuNzIwMTVMOC42OTYzOSA0LjUxMDA3TDguMDUxMDkgMy4yTDcuNDA1NzggNC41MTAwN0w1Ljk2MjgzIDQuNzIwMTVMNy4wMDY5NiA1LjczOTg5TDYuNzYwNDcgNy4xNzk4WiIgZmlsbD0iI0YyQzk0QyIvPgo8L2c+Cjwvc3ZnPgo=", b1 = ({
|
|
1454
1471
|
avatar: r,
|
|
1455
1472
|
name: o,
|
|
1456
1473
|
points: l,
|
|
@@ -1460,24 +1477,24 @@ const g1 = /* @__PURE__ */ m("div")({
|
|
|
1460
1477
|
correct: f,
|
|
1461
1478
|
incorrect: s,
|
|
1462
1479
|
inTop: I,
|
|
1463
|
-
average:
|
|
1464
|
-
}) => /* @__PURE__ */ z(
|
|
1465
|
-
/* @__PURE__ */ p(
|
|
1466
|
-
/* @__PURE__ */ z(
|
|
1467
|
-
r && /* @__PURE__ */ p(
|
|
1468
|
-
!r && /* @__PURE__ */ p(
|
|
1480
|
+
average: A
|
|
1481
|
+
}) => /* @__PURE__ */ z(I1, { children: [
|
|
1482
|
+
/* @__PURE__ */ p(y1, { children: /* @__PURE__ */ z(w1, { children: [
|
|
1483
|
+
/* @__PURE__ */ z(B1, { children: [
|
|
1484
|
+
r && /* @__PURE__ */ p(C1, { alt: "avatar", src: r }),
|
|
1485
|
+
!r && /* @__PURE__ */ p(j1, { children: yi(o || "") })
|
|
1469
1486
|
] }),
|
|
1470
|
-
/* @__PURE__ */ z(
|
|
1471
|
-
/* @__PURE__ */ p(
|
|
1472
|
-
/* @__PURE__ */ z(
|
|
1473
|
-
/* @__PURE__ */ z(
|
|
1474
|
-
/* @__PURE__ */ p(
|
|
1475
|
-
/* @__PURE__ */ z(
|
|
1487
|
+
/* @__PURE__ */ z(E1, { children: [
|
|
1488
|
+
/* @__PURE__ */ p(A1, { children: o }),
|
|
1489
|
+
/* @__PURE__ */ z(N1, { children: [
|
|
1490
|
+
/* @__PURE__ */ z(T1, { children: [
|
|
1491
|
+
/* @__PURE__ */ p(x1, { alt: "rank-icon", src: k1 }),
|
|
1492
|
+
/* @__PURE__ */ z(v1, { children: [
|
|
1476
1493
|
Mi(l),
|
|
1477
|
-
/* @__PURE__ */ p(
|
|
1494
|
+
/* @__PURE__ */ p(D1, { children: "PTS" })
|
|
1478
1495
|
] })
|
|
1479
1496
|
] }),
|
|
1480
|
-
/* @__PURE__ */ p(
|
|
1497
|
+
/* @__PURE__ */ p(L1, {}),
|
|
1481
1498
|
/* @__PURE__ */ z("div", { children: [
|
|
1482
1499
|
"TOP ",
|
|
1483
1500
|
I || 0,
|
|
@@ -1486,36 +1503,36 @@ const g1 = /* @__PURE__ */ m("div")({
|
|
|
1486
1503
|
] })
|
|
1487
1504
|
] })
|
|
1488
1505
|
] }) }),
|
|
1489
|
-
/* @__PURE__ */ z(
|
|
1490
|
-
/* @__PURE__ */ z(
|
|
1506
|
+
/* @__PURE__ */ z(M1, { children: [
|
|
1507
|
+
/* @__PURE__ */ z(z1, { children: [
|
|
1491
1508
|
/* @__PURE__ */ p(Jt, { indicator: h || 0, title: "Friends rank" }),
|
|
1492
1509
|
/* @__PURE__ */ p(Jt, { indicator: d || 0, title: "Global rank" })
|
|
1493
1510
|
] }),
|
|
1494
|
-
/* @__PURE__ */ z(
|
|
1511
|
+
/* @__PURE__ */ z(S1, { children: [
|
|
1495
1512
|
/* @__PURE__ */ p(it, { indicator: g || 0, title: "Win streak" }),
|
|
1496
1513
|
/* @__PURE__ */ p(it, { indicator: f || 0, title: "Correct" }),
|
|
1497
1514
|
/* @__PURE__ */ p(it, { indicator: s || 0, title: "Incorrect" }),
|
|
1498
|
-
/* @__PURE__ */ p(it, { indicator: `${
|
|
1515
|
+
/* @__PURE__ */ p(it, { indicator: `${A || 0}%`, title: "Succ. rate" })
|
|
1499
1516
|
] })
|
|
1500
1517
|
] })
|
|
1501
1518
|
] });
|
|
1502
|
-
const
|
|
1519
|
+
const R1 = () => Ue, _1 = /* @__PURE__ */ m("div")({
|
|
1503
1520
|
name: "c",
|
|
1504
1521
|
class: "ciyeb68",
|
|
1505
1522
|
propsAsIs: !1
|
|
1506
|
-
}),
|
|
1523
|
+
}), O1 = /* @__PURE__ */ m(R1())({
|
|
1507
1524
|
name: "n",
|
|
1508
1525
|
class: "nfic4xc",
|
|
1509
1526
|
propsAsIs: !0
|
|
1510
|
-
}),
|
|
1527
|
+
}), U1 = /* @__PURE__ */ m("div")({
|
|
1511
1528
|
name: "d",
|
|
1512
1529
|
class: "d1pd1p66",
|
|
1513
1530
|
propsAsIs: !1
|
|
1514
|
-
}),
|
|
1531
|
+
}), $1 = /* @__PURE__ */ m("div")({
|
|
1515
1532
|
name: "p",
|
|
1516
1533
|
class: "p132yxcv",
|
|
1517
1534
|
propsAsIs: !1
|
|
1518
|
-
}),
|
|
1535
|
+
}), F1 = /* @__PURE__ */ m("span")({
|
|
1519
1536
|
name: "l",
|
|
1520
1537
|
class: "l4a8aw",
|
|
1521
1538
|
propsAsIs: !1
|
|
@@ -1523,7 +1540,7 @@ const k1 = () => Ue, b1 = /* @__PURE__ */ m("div")({
|
|
|
1523
1540
|
name: "g",
|
|
1524
1541
|
class: "gzdx7pk",
|
|
1525
1542
|
propsAsIs: !1
|
|
1526
|
-
}),
|
|
1543
|
+
}), P1 = ({
|
|
1527
1544
|
feedbackMessages: r,
|
|
1528
1545
|
questionVotedCorrectly: o,
|
|
1529
1546
|
questionVoted: l,
|
|
@@ -1533,54 +1550,54 @@ const k1 = () => Ue, b1 = /* @__PURE__ */ m("div")({
|
|
|
1533
1550
|
if (!(l && (h === W.TRIVIA || h === W.PREDICTION)))
|
|
1534
1551
|
return null;
|
|
1535
1552
|
const g = h === W.PREDICTION && !d, f = o ? "correct" : "incorrect", s = o ? r.correctFeedback : r.incorrectFeedback;
|
|
1536
|
-
return /* @__PURE__ */ z(
|
|
1553
|
+
return /* @__PURE__ */ z(_1, { "data-isPrediction": g, children: [
|
|
1537
1554
|
g && /* @__PURE__ */ z(Oe, { children: [
|
|
1538
|
-
/* @__PURE__ */ p(
|
|
1555
|
+
/* @__PURE__ */ p(O1, { name: "icon-prediction" }),
|
|
1539
1556
|
/* @__PURE__ */ p(Xt, { children: "Stay tuned to see if your prediction was correct." })
|
|
1540
1557
|
] }),
|
|
1541
1558
|
d && /* @__PURE__ */ z(Oe, { children: [
|
|
1542
|
-
/* @__PURE__ */ p(
|
|
1543
|
-
/* @__PURE__ */ p("div", { children: /* @__PURE__ */ z(
|
|
1544
|
-
/* @__PURE__ */ p(
|
|
1559
|
+
/* @__PURE__ */ p(U1, { "data-feedbackType": f, children: /* @__PURE__ */ p(Ue, { name: f }) }),
|
|
1560
|
+
/* @__PURE__ */ p("div", { children: /* @__PURE__ */ z($1, { children: [
|
|
1561
|
+
/* @__PURE__ */ p(F1, { "data-feedbackType": f, children: s == null ? void 0 : s.title }),
|
|
1545
1562
|
/* @__PURE__ */ p(Xt, { children: s == null ? void 0 : s.description })
|
|
1546
1563
|
] }) })
|
|
1547
1564
|
] })
|
|
1548
1565
|
] });
|
|
1549
1566
|
};
|
|
1550
|
-
const
|
|
1567
|
+
const Y1 = /* @__PURE__ */ m("div")({
|
|
1551
1568
|
name: "o",
|
|
1552
1569
|
class: "olc1eph",
|
|
1553
1570
|
propsAsIs: !1
|
|
1554
|
-
}),
|
|
1571
|
+
}), V1 = /* @__PURE__ */ m("div")({
|
|
1555
1572
|
name: "n",
|
|
1556
1573
|
class: "n1yoh29a",
|
|
1557
1574
|
propsAsIs: !1
|
|
1558
|
-
}),
|
|
1575
|
+
}), Z1 = /* @__PURE__ */ m("div")({
|
|
1559
1576
|
name: "r",
|
|
1560
1577
|
class: "rjkr5mb",
|
|
1561
1578
|
propsAsIs: !1
|
|
1562
|
-
}),
|
|
1579
|
+
}), Q1 = /* @__PURE__ */ m("div")({
|
|
1563
1580
|
name: "e",
|
|
1564
1581
|
class: "e82wnnx",
|
|
1565
1582
|
propsAsIs: !1
|
|
1566
1583
|
});
|
|
1567
|
-
const
|
|
1584
|
+
const H1 = () => wi, G1 = () => wi, W1 = () => Ue, q1 = /* @__PURE__ */ m("button")({
|
|
1568
1585
|
name: "c",
|
|
1569
1586
|
class: "cpm4u8k",
|
|
1570
1587
|
propsAsIs: !1
|
|
1571
|
-
}),
|
|
1588
|
+
}), J1 = /* @__PURE__ */ m("div")({
|
|
1572
1589
|
name: "l",
|
|
1573
1590
|
class: "lwfomc3",
|
|
1574
1591
|
propsAsIs: !1
|
|
1575
|
-
}),
|
|
1592
|
+
}), X1 = /* @__PURE__ */ m("span")({
|
|
1576
1593
|
name: "d",
|
|
1577
1594
|
class: "dmltvg2",
|
|
1578
1595
|
propsAsIs: !1
|
|
1579
|
-
}),
|
|
1596
|
+
}), K1 = /* @__PURE__ */ m("div")({
|
|
1580
1597
|
name: "s",
|
|
1581
1598
|
class: "stfjpqz",
|
|
1582
1599
|
propsAsIs: !1
|
|
1583
|
-
}),
|
|
1600
|
+
}), eo = /* @__PURE__ */ m("div")({
|
|
1584
1601
|
name: "p",
|
|
1585
1602
|
class: "p198m24r",
|
|
1586
1603
|
propsAsIs: !1
|
|
@@ -1588,37 +1605,37 @@ const Z1 = () => wi, Q1 = () => wi, H1 = () => Ue, G1 = /* @__PURE__ */ m("butto
|
|
|
1588
1605
|
name: "r",
|
|
1589
1606
|
class: "rbq5eu7",
|
|
1590
1607
|
propsAsIs: !1
|
|
1591
|
-
}),
|
|
1608
|
+
}), to = /* @__PURE__ */ m(H1())({
|
|
1592
1609
|
name: "g",
|
|
1593
1610
|
class: "g1iv6oeb",
|
|
1594
1611
|
propsAsIs: !0
|
|
1595
|
-
}),
|
|
1612
|
+
}), io = /* @__PURE__ */ m(G1())({
|
|
1596
1613
|
name: "h",
|
|
1597
1614
|
class: "h1qtxlqc",
|
|
1598
1615
|
propsAsIs: !0
|
|
1599
|
-
}),
|
|
1616
|
+
}), ro = /* @__PURE__ */ m("span")({
|
|
1600
1617
|
name: "u",
|
|
1601
1618
|
class: "udm736q",
|
|
1602
1619
|
propsAsIs: !1
|
|
1603
|
-
}),
|
|
1620
|
+
}), no = /* @__PURE__ */ m("span")({
|
|
1604
1621
|
name: "b",
|
|
1605
1622
|
class: "b1da34tx",
|
|
1606
1623
|
propsAsIs: !1
|
|
1607
|
-
}),
|
|
1624
|
+
}), oo = /* @__PURE__ */ m("span")({
|
|
1608
1625
|
name: "x",
|
|
1609
1626
|
class: "x1dqwq83",
|
|
1610
1627
|
propsAsIs: !1
|
|
1611
|
-
}),
|
|
1628
|
+
}), so = /* @__PURE__ */ m(W1())({
|
|
1612
1629
|
name: "v",
|
|
1613
1630
|
class: "v10s9my2",
|
|
1614
1631
|
propsAsIs: !0
|
|
1615
1632
|
}), Kt = {
|
|
1616
|
-
[ve.CENTERED]: (r) => /* @__PURE__ */ p(
|
|
1617
|
-
[ve.TRANSPARENT]: (r) => /* @__PURE__ */ p(
|
|
1618
|
-
[ve.ROUNDED]: (r) => /* @__PURE__ */ p(
|
|
1633
|
+
[ve.CENTERED]: (r) => /* @__PURE__ */ p(to, { alt: "option-icon", src: r }),
|
|
1634
|
+
[ve.TRANSPARENT]: (r) => /* @__PURE__ */ p(K1, { children: /* @__PURE__ */ p(eo, { style: { backgroundImage: `url(${r})` } }) }),
|
|
1635
|
+
[ve.ROUNDED]: (r) => /* @__PURE__ */ p(io, { alt: "option-icon", src: r }),
|
|
1619
1636
|
[ve.NONE]: () => null,
|
|
1620
1637
|
[ve.UNSET]: () => null
|
|
1621
|
-
},
|
|
1638
|
+
}, ao = ({ questionType: r, hasCorrectAnswer: o, correct: l, youVoted: h, questionVoted: d }) => r === W.POLL ? h ? "correct" : "unset" : r === W.PREDICTION ? o ? h ? l ? "correct" : "incorrect" : l ? "correct" : "unset" : "correct" : r === W.TRIVIA && d ? h ? l ? "correct" : "incorrect" : l ? "correct" : "unset" : "unset", lo = (r) => {
|
|
1622
1639
|
var o;
|
|
1623
1640
|
const {
|
|
1624
1641
|
// option props
|
|
@@ -1630,12 +1647,12 @@ const Z1 = () => wi, Q1 = () => wi, H1 = () => Ue, G1 = /* @__PURE__ */ m("butto
|
|
|
1630
1647
|
onVote: f,
|
|
1631
1648
|
youSelected: s,
|
|
1632
1649
|
questionVoted: I,
|
|
1633
|
-
imageMode:
|
|
1650
|
+
imageMode: A,
|
|
1634
1651
|
isLoading: E,
|
|
1635
1652
|
questionType: x
|
|
1636
|
-
} = r, w =
|
|
1653
|
+
} = r, w = ao(r), T = x === W.TRIVIA || x === W.PREDICTION, L = w === "correct" ? "correct" : w === "incorrect" ? "incorrect" : "";
|
|
1637
1654
|
return /* @__PURE__ */ z(
|
|
1638
|
-
|
|
1655
|
+
q1,
|
|
1639
1656
|
{
|
|
1640
1657
|
value: l,
|
|
1641
1658
|
"data-selected": s,
|
|
@@ -1643,13 +1660,13 @@ const Z1 = () => wi, Q1 = () => wi, H1 = () => Ue, G1 = /* @__PURE__ */ m("butto
|
|
|
1643
1660
|
disabled: I || E,
|
|
1644
1661
|
onClick: f,
|
|
1645
1662
|
children: [
|
|
1646
|
-
I && /* @__PURE__ */ p(
|
|
1647
|
-
/* @__PURE__ */ z(
|
|
1648
|
-
h &&
|
|
1649
|
-
/* @__PURE__ */ p(
|
|
1650
|
-
I && /* @__PURE__ */ z(
|
|
1651
|
-
T && L && /* @__PURE__ */ p(
|
|
1652
|
-
/* @__PURE__ */ z(
|
|
1663
|
+
I && /* @__PURE__ */ p(J1, { "data-answerState": w, style: { width: `${g}%` } }),
|
|
1664
|
+
/* @__PURE__ */ z(X1, { children: [
|
|
1665
|
+
h && A && ((o = Kt[A]) == null ? void 0 : o.call(Kt, h)),
|
|
1666
|
+
/* @__PURE__ */ p(ro, { children: d }),
|
|
1667
|
+
I && /* @__PURE__ */ z(no, { children: [
|
|
1668
|
+
T && L && /* @__PURE__ */ p(so, { name: L }),
|
|
1669
|
+
/* @__PURE__ */ z(oo, { children: [
|
|
1653
1670
|
g,
|
|
1654
1671
|
"%"
|
|
1655
1672
|
] })
|
|
@@ -1659,53 +1676,53 @@ const Z1 = () => wi, Q1 = () => wi, H1 = () => Ue, G1 = /* @__PURE__ */ m("butto
|
|
|
1659
1676
|
}
|
|
1660
1677
|
);
|
|
1661
1678
|
};
|
|
1662
|
-
const
|
|
1679
|
+
const co = () => Ue, uo = /* @__PURE__ */ m("div")({
|
|
1663
1680
|
name: "a",
|
|
1664
1681
|
class: "a1r7f3z4",
|
|
1665
1682
|
propsAsIs: !1
|
|
1666
|
-
}),
|
|
1683
|
+
}), ho = /* @__PURE__ */ m("div")({
|
|
1667
1684
|
name: "s",
|
|
1668
1685
|
class: "sblndl",
|
|
1669
1686
|
propsAsIs: !1
|
|
1670
|
-
}),
|
|
1687
|
+
}), po = /* @__PURE__ */ m("div")({
|
|
1671
1688
|
name: "l",
|
|
1672
1689
|
class: "l7ka1tv",
|
|
1673
1690
|
propsAsIs: !1
|
|
1674
|
-
}),
|
|
1691
|
+
}), fo = /* @__PURE__ */ m(co())({
|
|
1675
1692
|
name: "p",
|
|
1676
1693
|
class: "p1edlxt3",
|
|
1677
1694
|
propsAsIs: !0
|
|
1678
|
-
}),
|
|
1695
|
+
}), go = /* @__PURE__ */ m("div")({
|
|
1679
1696
|
name: "g",
|
|
1680
1697
|
class: "ghm08u2",
|
|
1681
1698
|
propsAsIs: !1
|
|
1682
|
-
}),
|
|
1699
|
+
}), mo = /* @__PURE__ */ m("span")({
|
|
1683
1700
|
name: "c",
|
|
1684
1701
|
class: "c12nsh46",
|
|
1685
1702
|
propsAsIs: !1
|
|
1686
|
-
}),
|
|
1703
|
+
}), Io = /* @__PURE__ */ m("span")({
|
|
1687
1704
|
name: "d",
|
|
1688
1705
|
class: "dlr9eoc",
|
|
1689
1706
|
propsAsIs: !1
|
|
1690
|
-
}),
|
|
1691
|
-
/* @__PURE__ */ z(
|
|
1692
|
-
r && /* @__PURE__ */ p(
|
|
1707
|
+
}), yo = ({ title: r, points: o, isPlayingTimer: l, isTimer: h, onTimerExpired: d }) => /* @__PURE__ */ z(uo, { children: [
|
|
1708
|
+
/* @__PURE__ */ z(ho, { children: [
|
|
1709
|
+
r && /* @__PURE__ */ p(po, { children: r }),
|
|
1693
1710
|
o !== void 0 && /* @__PURE__ */ z(Oe, { children: [
|
|
1694
|
-
/* @__PURE__ */ p(
|
|
1695
|
-
/* @__PURE__ */ z(
|
|
1696
|
-
/* @__PURE__ */ p(
|
|
1697
|
-
/* @__PURE__ */ p(
|
|
1711
|
+
/* @__PURE__ */ p(fo, { name: "icon-trophy" }),
|
|
1712
|
+
/* @__PURE__ */ z(go, { children: [
|
|
1713
|
+
/* @__PURE__ */ p(mo, { children: o }),
|
|
1714
|
+
/* @__PURE__ */ p(Io, { children: "PTS" })
|
|
1698
1715
|
] })
|
|
1699
1716
|
] })
|
|
1700
1717
|
] }),
|
|
1701
1718
|
h && /* @__PURE__ */ p(mi, { isPlaying: l, onTimerExpired: d })
|
|
1702
|
-
] }),
|
|
1719
|
+
] }), Mo = ({ openedQuestion: r, vote: o }) => {
|
|
1703
1720
|
var l;
|
|
1704
|
-
const h = r.subject, d = r.type, g = (l = r.options) == null ? void 0 : l.options, [f, s] = K(!1), [I,
|
|
1721
|
+
const h = r.subject, d = r.type, g = (l = r.options) == null ? void 0 : l.options, [f, s] = K(!1), [I, A] = K(!1), [E, x] = K(""), w = r == null ? void 0 : r.id, T = He(
|
|
1705
1722
|
async (v) => {
|
|
1706
1723
|
if (w) {
|
|
1707
|
-
const
|
|
1708
|
-
x(
|
|
1724
|
+
const S = v.currentTarget.value;
|
|
1725
|
+
x(S), A(!0), await o(w, S), A(!1);
|
|
1709
1726
|
}
|
|
1710
1727
|
},
|
|
1711
1728
|
[w, x, o]
|
|
@@ -1715,8 +1732,8 @@ const ao = () => Ue, lo = /* @__PURE__ */ m("div")({
|
|
|
1715
1732
|
), y = De(
|
|
1716
1733
|
() => !!(r != null && r.answers.find((v) => v.correct === !0)),
|
|
1717
1734
|
[r]
|
|
1718
|
-
),
|
|
1719
|
-
var
|
|
1735
|
+
), N = De(() => r ? r.answers.map((v) => {
|
|
1736
|
+
var S;
|
|
1720
1737
|
return {
|
|
1721
1738
|
...v,
|
|
1722
1739
|
questionVoted: !!L,
|
|
@@ -1724,13 +1741,13 @@ const ao = () => Ue, lo = /* @__PURE__ */ m("div")({
|
|
|
1724
1741
|
isLoading: I,
|
|
1725
1742
|
hasCorrectAnswer: y,
|
|
1726
1743
|
questionType: r.type,
|
|
1727
|
-
imageMode: (
|
|
1744
|
+
imageMode: (S = r.notification) == null ? void 0 : S.imageMode,
|
|
1728
1745
|
onVote: T
|
|
1729
1746
|
};
|
|
1730
1747
|
}) : [], [y, I, r, L, T, E]), C = g && (g.case === "trivia" || g.case === "prediction") ? g.value : void 0;
|
|
1731
|
-
return /* @__PURE__ */ p(
|
|
1748
|
+
return /* @__PURE__ */ p(Y1, { children: /* @__PURE__ */ z(V1, { children: [
|
|
1732
1749
|
C && /* @__PURE__ */ p(
|
|
1733
|
-
|
|
1750
|
+
P1,
|
|
1734
1751
|
{
|
|
1735
1752
|
feedbackMessages: C,
|
|
1736
1753
|
questionVoted: !!L,
|
|
@@ -1740,7 +1757,7 @@ const ao = () => Ue, lo = /* @__PURE__ */ m("div")({
|
|
|
1740
1757
|
}
|
|
1741
1758
|
),
|
|
1742
1759
|
/* @__PURE__ */ p(
|
|
1743
|
-
|
|
1760
|
+
yo,
|
|
1744
1761
|
{
|
|
1745
1762
|
title: f ? "Expired" : "To win",
|
|
1746
1763
|
points: f ? void 0 : 100,
|
|
@@ -1748,93 +1765,93 @@ const ao = () => Ue, lo = /* @__PURE__ */ m("div")({
|
|
|
1748
1765
|
isTimer: !0
|
|
1749
1766
|
}
|
|
1750
1767
|
),
|
|
1751
|
-
/* @__PURE__ */ p(
|
|
1752
|
-
/* @__PURE__ */ p(
|
|
1768
|
+
/* @__PURE__ */ p(Z1, { children: h }),
|
|
1769
|
+
/* @__PURE__ */ p(Q1, { children: N.map((v) => /* @__PURE__ */ p(lo, { ...v }, v.id)) })
|
|
1753
1770
|
] }) });
|
|
1754
1771
|
};
|
|
1755
|
-
const
|
|
1772
|
+
const wo = /* @__PURE__ */ m("div")({
|
|
1756
1773
|
name: "n",
|
|
1757
1774
|
class: "nyaglcf",
|
|
1758
1775
|
propsAsIs: !1
|
|
1759
|
-
}),
|
|
1776
|
+
}), Co = /* @__PURE__ */ m("div")({
|
|
1760
1777
|
name: "r",
|
|
1761
1778
|
class: "rn5nzbc",
|
|
1762
1779
|
propsAsIs: !1
|
|
1763
|
-
}),
|
|
1780
|
+
}), Eo = /* @__PURE__ */ m("img")({
|
|
1764
1781
|
name: "e",
|
|
1765
1782
|
class: "e6i73qc",
|
|
1766
1783
|
propsAsIs: !1
|
|
1767
|
-
}),
|
|
1784
|
+
}), Ao = /* @__PURE__ */ m("div")({
|
|
1768
1785
|
name: "i",
|
|
1769
1786
|
class: "iu0veuw",
|
|
1770
1787
|
propsAsIs: !1
|
|
1771
|
-
}),
|
|
1788
|
+
}), No = /* @__PURE__ */ m("img")({
|
|
1772
1789
|
name: "p",
|
|
1773
1790
|
class: "ph41hsa",
|
|
1774
1791
|
propsAsIs: !1
|
|
1775
|
-
}),
|
|
1792
|
+
}), xo = /* @__PURE__ */ m("span")({
|
|
1776
1793
|
name: "a",
|
|
1777
1794
|
class: "a1doo0j",
|
|
1778
1795
|
propsAsIs: !1
|
|
1779
|
-
}),
|
|
1796
|
+
}), To = /* @__PURE__ */ m("div")({
|
|
1780
1797
|
name: "s",
|
|
1781
1798
|
class: "s1y6mmdj",
|
|
1782
1799
|
propsAsIs: !1
|
|
1783
|
-
}),
|
|
1800
|
+
}), vo = /* @__PURE__ */ m("div")({
|
|
1784
1801
|
name: "c",
|
|
1785
1802
|
class: "cr7s6d2",
|
|
1786
1803
|
propsAsIs: !1
|
|
1787
|
-
}),
|
|
1804
|
+
}), Do = /* @__PURE__ */ m("button")({
|
|
1788
1805
|
name: "d",
|
|
1789
1806
|
class: "dn2ogfd",
|
|
1790
1807
|
propsAsIs: !1
|
|
1791
|
-
}),
|
|
1808
|
+
}), Lo = /* @__PURE__ */ m("button")({
|
|
1792
1809
|
name: "x",
|
|
1793
1810
|
class: "xvt3fwn",
|
|
1794
1811
|
propsAsIs: !1
|
|
1795
|
-
}),
|
|
1812
|
+
}), zo = /* @__PURE__ */ m("img")({
|
|
1796
1813
|
name: "g",
|
|
1797
1814
|
class: "g4rp2wp",
|
|
1798
1815
|
propsAsIs: !1
|
|
1799
|
-
}),
|
|
1816
|
+
}), So = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikdyb3VwIDQ2NSI+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY4IiB4PSIxLjI1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKDQ1IDEuMjUgMCkiIGZpbGw9IndoaXRlIi8+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMzY5IiB5PSI4Ljc1IiB3aWR0aD0iMTIuMzc0NCIgaGVpZ2h0PSIxLjc2Nzc3IiByeD0iMC44ODM4ODQiIHRyYW5zZm9ybT0icm90YXRlKC00NSAwIDguNzUpIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+Cjwvc3ZnPgo=", jo = ({
|
|
1800
1817
|
close: r,
|
|
1801
1818
|
action: o,
|
|
1802
1819
|
data: { icon: l, header: h, title: d, subtitle: g, graphicBg: f, sponsorLogo: s }
|
|
1803
|
-
}) => /* @__PURE__ */ z(
|
|
1804
|
-
/* @__PURE__ */ p(
|
|
1805
|
-
/* @__PURE__ */ p(
|
|
1806
|
-
/* @__PURE__ */ z(
|
|
1820
|
+
}) => /* @__PURE__ */ z(wo, { children: [
|
|
1821
|
+
/* @__PURE__ */ p(Lo, { onClick: r, children: /* @__PURE__ */ p(zo, { alt: "icon-close-onboarding-inapp", src: So }) }),
|
|
1822
|
+
/* @__PURE__ */ p(Co, { style: { backgroundImage: `url(${f || ""})` }, children: l && /* @__PURE__ */ p(Eo, { alt: "onboarding-inapp-icon", src: l }) }),
|
|
1823
|
+
/* @__PURE__ */ z(Ao, { children: [
|
|
1807
1824
|
/* @__PURE__ */ z("div", { children: [
|
|
1808
1825
|
/* @__PURE__ */ p("div", { children: s ? /* @__PURE__ */ z(Oe, { children: [
|
|
1809
|
-
/* @__PURE__ */ p(
|
|
1810
|
-
/* @__PURE__ */ p(
|
|
1826
|
+
/* @__PURE__ */ p(No, { alt: "sponsor-logo", src: s }),
|
|
1827
|
+
/* @__PURE__ */ p(xo, { children: "Presents" })
|
|
1811
1828
|
] }) : h || "" }),
|
|
1812
|
-
/* @__PURE__ */ p(
|
|
1813
|
-
/* @__PURE__ */ p(
|
|
1829
|
+
/* @__PURE__ */ p(To, { children: d || "" }),
|
|
1830
|
+
/* @__PURE__ */ p(vo, { children: g || "" })
|
|
1814
1831
|
] }),
|
|
1815
|
-
/* @__PURE__ */ p(
|
|
1832
|
+
/* @__PURE__ */ p(Do, { onClick: o, children: "Play" })
|
|
1816
1833
|
] })
|
|
1817
1834
|
] });
|
|
1818
|
-
const
|
|
1835
|
+
const Bo = /* @__PURE__ */ m("div")({
|
|
1819
1836
|
name: "r",
|
|
1820
1837
|
class: "r1li8aub",
|
|
1821
1838
|
propsAsIs: !1
|
|
1822
|
-
}),
|
|
1823
|
-
[Yt.ONBOARDING]:
|
|
1839
|
+
}), ko = {
|
|
1840
|
+
[Yt.ONBOARDING]: jo,
|
|
1824
1841
|
[Yt.QUESTION]: gi
|
|
1825
|
-
},
|
|
1842
|
+
}, bo = ({
|
|
1826
1843
|
index: r,
|
|
1827
1844
|
total: o,
|
|
1828
1845
|
...l
|
|
1829
1846
|
}) => {
|
|
1830
|
-
const h =
|
|
1847
|
+
const h = bi(null), d = ko[l.type] || gi;
|
|
1831
1848
|
return bt(() => {
|
|
1832
1849
|
h.current !== null && l.hiding && h.current.animate([{ right: "0" }, { right: "-100%" }], {
|
|
1833
1850
|
duration: 300,
|
|
1834
1851
|
fill: "forwards"
|
|
1835
1852
|
});
|
|
1836
1853
|
}, [l.hiding]), /* @__PURE__ */ p(
|
|
1837
|
-
|
|
1854
|
+
Bo,
|
|
1838
1855
|
{
|
|
1839
1856
|
ref: h,
|
|
1840
1857
|
style: { zIndex: r + 1, transform: `translateY(${100 * (o - r - 1)}%)` },
|
|
@@ -1842,14 +1859,14 @@ const jo = /* @__PURE__ */ m("div")({
|
|
|
1842
1859
|
}
|
|
1843
1860
|
);
|
|
1844
1861
|
};
|
|
1845
|
-
const
|
|
1862
|
+
const Ro = /* @__PURE__ */ m("div")({
|
|
1846
1863
|
name: "o",
|
|
1847
1864
|
class: "oc6h1al",
|
|
1848
1865
|
propsAsIs: !1
|
|
1849
|
-
}),
|
|
1866
|
+
}), _o = ({ notificationsStore: r }) => {
|
|
1850
1867
|
const o = Z(r);
|
|
1851
|
-
return /* @__PURE__ */ p(
|
|
1852
|
-
|
|
1868
|
+
return /* @__PURE__ */ p(Ro, { children: o == null ? void 0 : o.map((l, h) => /* @__PURE__ */ p(
|
|
1869
|
+
bo,
|
|
1853
1870
|
{
|
|
1854
1871
|
index: h,
|
|
1855
1872
|
total: o.length,
|
|
@@ -1857,18 +1874,18 @@ const ko = /* @__PURE__ */ m("div")({
|
|
|
1857
1874
|
},
|
|
1858
1875
|
l.id
|
|
1859
1876
|
)) });
|
|
1860
|
-
},
|
|
1877
|
+
}, Oo = ({ store: r }) => {
|
|
1861
1878
|
const { data: o } = Z(r);
|
|
1862
|
-
return o != null && o.summary ? /* @__PURE__ */ p(
|
|
1863
|
-
},
|
|
1879
|
+
return o != null && o.summary ? /* @__PURE__ */ p(b1, { ...o.summary, ...o.percentage }) : /* @__PURE__ */ p("div", { children: "wait user..." });
|
|
1880
|
+
}, Uo = ({ store: r, openQuestion: o }) => {
|
|
1864
1881
|
const l = Z(r);
|
|
1865
|
-
return l != null && l.data ? /* @__PURE__ */ p(
|
|
1882
|
+
return l != null && l.data ? /* @__PURE__ */ p(u1, { openQuestion: o, questions: l.data }) : /* @__PURE__ */ p("div", { children: "wait questions..." });
|
|
1866
1883
|
};
|
|
1867
|
-
const
|
|
1884
|
+
const $o = /* @__PURE__ */ m("div")({
|
|
1868
1885
|
name: "y",
|
|
1869
1886
|
class: "y1qd1atw",
|
|
1870
1887
|
propsAsIs: !1
|
|
1871
|
-
}),
|
|
1888
|
+
}), Fo = ({
|
|
1872
1889
|
openedQuestion: r,
|
|
1873
1890
|
closeQuestion: o,
|
|
1874
1891
|
vote: l
|
|
@@ -1879,10 +1896,10 @@ const Oo = /* @__PURE__ */ m("div")({
|
|
|
1879
1896
|
g(I);
|
|
1880
1897
|
}, [g]);
|
|
1881
1898
|
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]);
|
|
1882
|
-
return r ? /* @__PURE__ */ p(
|
|
1899
|
+
return r ? /* @__PURE__ */ p($o, {
|
|
1883
1900
|
children: /* @__PURE__ */ p("div", {
|
|
1884
1901
|
children: /* @__PURE__ */ p("div", {
|
|
1885
|
-
children: /* @__PURE__ */ p(
|
|
1902
|
+
children: /* @__PURE__ */ p(Mo, {
|
|
1886
1903
|
title: r.subject,
|
|
1887
1904
|
feedbackMessages: (h = r.options) == null ? void 0 : h.options.value,
|
|
1888
1905
|
questionType: r.type,
|
|
@@ -1908,83 +1925,83 @@ const Oo = /* @__PURE__ */ m("div")({
|
|
|
1908
1925
|
})
|
|
1909
1926
|
}) : null;
|
|
1910
1927
|
};
|
|
1911
|
-
const
|
|
1928
|
+
const Po = /* @__PURE__ */ m("div")({
|
|
1912
1929
|
name: "e",
|
|
1913
1930
|
class: "e1q4ysxt",
|
|
1914
1931
|
propsAsIs: !1
|
|
1915
|
-
}),
|
|
1932
|
+
}), Yo = /* @__PURE__ */ m("div")({
|
|
1916
1933
|
name: "o",
|
|
1917
1934
|
class: "ouyy0pt",
|
|
1918
1935
|
propsAsIs: !1
|
|
1919
|
-
}),
|
|
1936
|
+
}), Vo = /* @__PURE__ */ m("div")({
|
|
1920
1937
|
name: "n",
|
|
1921
1938
|
class: "n19nxf9u",
|
|
1922
1939
|
propsAsIs: !1
|
|
1923
|
-
}),
|
|
1940
|
+
}), Zo = /* @__PURE__ */ m("img")({
|
|
1924
1941
|
name: "r",
|
|
1925
1942
|
class: "r1k9ayhp",
|
|
1926
1943
|
propsAsIs: !1
|
|
1927
|
-
}),
|
|
1944
|
+
}), Qo = /* @__PURE__ */ m("img")({
|
|
1928
1945
|
name: "l",
|
|
1929
1946
|
class: "l5j3lzi",
|
|
1930
1947
|
propsAsIs: !1
|
|
1931
|
-
}),
|
|
1948
|
+
}), Ho = /* @__PURE__ */ m("img")({
|
|
1932
1949
|
name: "s",
|
|
1933
1950
|
class: "sm6ggfo",
|
|
1934
1951
|
propsAsIs: !1
|
|
1935
|
-
}),
|
|
1952
|
+
}), Go = /* @__PURE__ */ m("div")({
|
|
1936
1953
|
name: "p",
|
|
1937
1954
|
class: "p1dhscaj",
|
|
1938
1955
|
propsAsIs: !1
|
|
1939
|
-
}),
|
|
1956
|
+
}), Wo = /* @__PURE__ */ m("img")({
|
|
1940
1957
|
name: "a",
|
|
1941
1958
|
class: "a1f5isrh",
|
|
1942
1959
|
propsAsIs: !1
|
|
1943
1960
|
});
|
|
1944
|
-
const
|
|
1961
|
+
const qo = /* @__PURE__ */ m("div")({
|
|
1945
1962
|
name: "e",
|
|
1946
1963
|
class: "e1javwmj",
|
|
1947
1964
|
propsAsIs: !1
|
|
1948
|
-
}),
|
|
1965
|
+
}), Jo = /* @__PURE__ */ m("div")({
|
|
1949
1966
|
name: "t",
|
|
1950
1967
|
class: "t1qosv8q",
|
|
1951
1968
|
propsAsIs: !1
|
|
1952
1969
|
});
|
|
1953
|
-
const
|
|
1970
|
+
const Xo = /* @__PURE__ */ m("div")({
|
|
1954
1971
|
name: "t",
|
|
1955
1972
|
class: "t16hl500",
|
|
1956
1973
|
propsAsIs: !1
|
|
1957
|
-
}),
|
|
1974
|
+
}), Ko = /* @__PURE__ */ m("img")({
|
|
1958
1975
|
name: "e",
|
|
1959
1976
|
class: "e18ymslp",
|
|
1960
1977
|
propsAsIs: !1
|
|
1961
|
-
}),
|
|
1978
|
+
}), es = /* @__PURE__ */ m("div")({
|
|
1962
1979
|
name: "n",
|
|
1963
1980
|
class: "n1kdd00k",
|
|
1964
1981
|
propsAsIs: !1
|
|
1965
|
-
}),
|
|
1982
|
+
}), ts = /* @__PURE__ */ m("div")({
|
|
1966
1983
|
name: "r",
|
|
1967
1984
|
class: "rwwgdkm",
|
|
1968
1985
|
propsAsIs: !1
|
|
1969
|
-
}),
|
|
1986
|
+
}), is = /* @__PURE__ */ m("div")({
|
|
1970
1987
|
name: "d",
|
|
1971
1988
|
class: "dvazwa9",
|
|
1972
1989
|
propsAsIs: !1
|
|
1973
|
-
}),
|
|
1990
|
+
}), rs = /* @__PURE__ */ m("a")({
|
|
1974
1991
|
name: "c",
|
|
1975
1992
|
class: "cd3vh14",
|
|
1976
1993
|
propsAsIs: !1
|
|
1977
|
-
}),
|
|
1994
|
+
}), ns = /* @__PURE__ */ m("img")({
|
|
1978
1995
|
name: "l",
|
|
1979
1996
|
class: "l19zo16x",
|
|
1980
1997
|
propsAsIs: !1
|
|
1981
1998
|
});
|
|
1982
1999
|
var Ci = {}, Ei = {}, at = {};
|
|
1983
|
-
at.byteLength =
|
|
1984
|
-
at.toByteArray =
|
|
1985
|
-
at.fromByteArray =
|
|
1986
|
-
var fe = [], ee = [],
|
|
1987
|
-
for (var Fe = 0,
|
|
2000
|
+
at.byteLength = as;
|
|
2001
|
+
at.toByteArray = cs;
|
|
2002
|
+
at.fromByteArray = ds;
|
|
2003
|
+
var fe = [], ee = [], os = typeof Uint8Array < "u" ? Uint8Array : Array, wt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
2004
|
+
for (var Fe = 0, ss = wt.length; Fe < ss; ++Fe)
|
|
1988
2005
|
fe[Fe] = wt[Fe], ee[wt.charCodeAt(Fe)] = Fe;
|
|
1989
2006
|
ee["-".charCodeAt(0)] = 62;
|
|
1990
2007
|
ee["_".charCodeAt(0)] = 63;
|
|
@@ -1997,30 +2014,30 @@ function Ai(r) {
|
|
|
1997
2014
|
var h = l === o ? 0 : 4 - l % 4;
|
|
1998
2015
|
return [l, h];
|
|
1999
2016
|
}
|
|
2000
|
-
function
|
|
2017
|
+
function as(r) {
|
|
2001
2018
|
var o = Ai(r), l = o[0], h = o[1];
|
|
2002
2019
|
return (l + h) * 3 / 4 - h;
|
|
2003
2020
|
}
|
|
2004
|
-
function
|
|
2021
|
+
function ls(r, o, l) {
|
|
2005
2022
|
return (o + l) * 3 / 4 - l;
|
|
2006
2023
|
}
|
|
2007
|
-
function
|
|
2008
|
-
var o, l = Ai(r), h = l[0], d = l[1], g = new
|
|
2024
|
+
function cs(r) {
|
|
2025
|
+
var o, l = Ai(r), h = l[0], d = l[1], g = new os(ls(r, h, d)), f = 0, s = d > 0 ? h - 4 : h, I;
|
|
2009
2026
|
for (I = 0; I < s; I += 4)
|
|
2010
2027
|
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;
|
|
2011
2028
|
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;
|
|
2012
2029
|
}
|
|
2013
|
-
function
|
|
2030
|
+
function us(r) {
|
|
2014
2031
|
return fe[r >> 18 & 63] + fe[r >> 12 & 63] + fe[r >> 6 & 63] + fe[r & 63];
|
|
2015
2032
|
}
|
|
2016
|
-
function
|
|
2033
|
+
function hs(r, o, l) {
|
|
2017
2034
|
for (var h, d = [], g = o; g < l; g += 3)
|
|
2018
|
-
h = (r[g] << 16 & 16711680) + (r[g + 1] << 8 & 65280) + (r[g + 2] & 255), d.push(
|
|
2035
|
+
h = (r[g] << 16 & 16711680) + (r[g + 1] << 8 & 65280) + (r[g + 2] & 255), d.push(us(h));
|
|
2019
2036
|
return d.join("");
|
|
2020
2037
|
}
|
|
2021
|
-
function
|
|
2038
|
+
function ds(r) {
|
|
2022
2039
|
for (var o, l = r.length, h = l % 3, d = [], g = 16383, f = 0, s = l - h; f < s; f += g)
|
|
2023
|
-
d.push(
|
|
2040
|
+
d.push(hs(r, f, f + g > s ? s : f + g));
|
|
2024
2041
|
return h === 1 ? (o = r[l - 1], d.push(
|
|
2025
2042
|
fe[o >> 2] + fe[o << 4 & 63] + "=="
|
|
2026
2043
|
)) : h === 2 && (o = (r[l - 2] << 8) + r[l - 1], d.push(
|
|
@@ -2030,25 +2047,25 @@ function us(r) {
|
|
|
2030
2047
|
var $t = {};
|
|
2031
2048
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2032
2049
|
$t.read = function(r, o, l, h, d) {
|
|
2033
|
-
var g, f, s = d * 8 - h - 1, I = (1 << s) - 1,
|
|
2050
|
+
var g, f, s = d * 8 - h - 1, I = (1 << s) - 1, A = I >> 1, E = -7, x = l ? d - 1 : 0, w = l ? -1 : 1, T = r[o + x];
|
|
2034
2051
|
for (x += w, g = T & (1 << -E) - 1, T >>= -E, E += s; E > 0; g = g * 256 + r[o + x], x += w, E -= 8)
|
|
2035
2052
|
;
|
|
2036
2053
|
for (f = g & (1 << -E) - 1, g >>= -E, E += h; E > 0; f = f * 256 + r[o + x], x += w, E -= 8)
|
|
2037
2054
|
;
|
|
2038
2055
|
if (g === 0)
|
|
2039
|
-
g = 1 -
|
|
2056
|
+
g = 1 - A;
|
|
2040
2057
|
else {
|
|
2041
2058
|
if (g === I)
|
|
2042
2059
|
return f ? NaN : (T ? -1 : 1) * (1 / 0);
|
|
2043
|
-
f = f + Math.pow(2, h), g = g -
|
|
2060
|
+
f = f + Math.pow(2, h), g = g - A;
|
|
2044
2061
|
}
|
|
2045
2062
|
return (T ? -1 : 1) * f * Math.pow(2, g - h);
|
|
2046
2063
|
};
|
|
2047
2064
|
$t.write = function(r, o, l, h, d, g) {
|
|
2048
|
-
var f, s, I,
|
|
2065
|
+
var f, s, I, A = g * 8 - d - 1, E = (1 << A) - 1, x = E >> 1, w = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, T = h ? 0 : g - 1, L = h ? 1 : -1, y = o < 0 || o === 0 && 1 / o < 0 ? 1 : 0;
|
|
2049
2066
|
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 += w / I : o += w * 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 + T] = s & 255, T += L, s /= 256, d -= 8)
|
|
2050
2067
|
;
|
|
2051
|
-
for (f = f << d | s,
|
|
2068
|
+
for (f = f << d | s, A += d; A > 0; r[l + T] = f & 255, T += L, f /= 256, A -= 8)
|
|
2052
2069
|
;
|
|
2053
2070
|
r[l + T - L] |= y * 128;
|
|
2054
2071
|
};
|
|
@@ -2123,7 +2140,7 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2123
2140
|
const n = i.valueOf && i.valueOf();
|
|
2124
2141
|
if (n != null && n !== i)
|
|
2125
2142
|
return s.from(n, e, t);
|
|
2126
|
-
const a =
|
|
2143
|
+
const a = N(i);
|
|
2127
2144
|
if (a)
|
|
2128
2145
|
return a;
|
|
2129
2146
|
if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof i[Symbol.toPrimitive] == "function")
|
|
@@ -2135,20 +2152,20 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2135
2152
|
s.from = function(i, e, t) {
|
|
2136
2153
|
return I(i, e, t);
|
|
2137
2154
|
}, Object.setPrototypeOf(s.prototype, Uint8Array.prototype), Object.setPrototypeOf(s, Uint8Array);
|
|
2138
|
-
function
|
|
2155
|
+
function A(i) {
|
|
2139
2156
|
if (typeof i != "number")
|
|
2140
2157
|
throw new TypeError('"size" argument must be of type number');
|
|
2141
2158
|
if (i < 0)
|
|
2142
2159
|
throw new RangeError('The value "' + i + '" is invalid for option "size"');
|
|
2143
2160
|
}
|
|
2144
2161
|
function E(i, e, t) {
|
|
2145
|
-
return
|
|
2162
|
+
return A(i), i <= 0 ? f(i) : e !== void 0 ? typeof t == "string" ? f(i).fill(e, t) : f(i).fill(e) : f(i);
|
|
2146
2163
|
}
|
|
2147
2164
|
s.alloc = function(i, e, t) {
|
|
2148
2165
|
return E(i, e, t);
|
|
2149
2166
|
};
|
|
2150
2167
|
function x(i) {
|
|
2151
|
-
return
|
|
2168
|
+
return A(i), f(i < 0 ? 0 : C(i) | 0);
|
|
2152
2169
|
}
|
|
2153
2170
|
s.allocUnsafe = function(i) {
|
|
2154
2171
|
return x(i);
|
|
@@ -2158,7 +2175,7 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2158
2175
|
function w(i, e) {
|
|
2159
2176
|
if ((typeof e != "string" || e === "") && (e = "utf8"), !s.isEncoding(e))
|
|
2160
2177
|
throw new TypeError("Unknown encoding: " + e);
|
|
2161
|
-
const t =
|
|
2178
|
+
const t = S(i, e) | 0;
|
|
2162
2179
|
let n = f(t);
|
|
2163
2180
|
const a = n.write(i, e);
|
|
2164
2181
|
return a !== t && (n = n.slice(0, a)), n;
|
|
@@ -2184,7 +2201,7 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2184
2201
|
let n;
|
|
2185
2202
|
return e === void 0 && t === void 0 ? n = new Uint8Array(i) : t === void 0 ? n = new Uint8Array(i, e) : n = new Uint8Array(i, e, t), Object.setPrototypeOf(n, s.prototype), n;
|
|
2186
2203
|
}
|
|
2187
|
-
function
|
|
2204
|
+
function N(i) {
|
|
2188
2205
|
if (s.isBuffer(i)) {
|
|
2189
2206
|
const e = C(i.length) | 0, t = f(e);
|
|
2190
2207
|
return t.length === 0 || i.copy(t, 0, 0, e), t;
|
|
@@ -2262,7 +2279,7 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2262
2279
|
}
|
|
2263
2280
|
return a;
|
|
2264
2281
|
};
|
|
2265
|
-
function
|
|
2282
|
+
function S(i, e) {
|
|
2266
2283
|
if (s.isBuffer(i))
|
|
2267
2284
|
return i.length;
|
|
2268
2285
|
if (ArrayBuffer.isView(i) || P(i, ArrayBuffer))
|
|
@@ -2283,7 +2300,7 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2283
2300
|
return t;
|
|
2284
2301
|
case "utf8":
|
|
2285
2302
|
case "utf-8":
|
|
2286
|
-
return
|
|
2303
|
+
return je(i).length;
|
|
2287
2304
|
case "ucs2":
|
|
2288
2305
|
case "ucs-2":
|
|
2289
2306
|
case "utf16le":
|
|
@@ -2295,11 +2312,11 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2295
2312
|
return Xe(i).length;
|
|
2296
2313
|
default:
|
|
2297
2314
|
if (a)
|
|
2298
|
-
return n ? -1 :
|
|
2315
|
+
return n ? -1 : je(i).length;
|
|
2299
2316
|
e = ("" + e).toLowerCase(), a = !0;
|
|
2300
2317
|
}
|
|
2301
2318
|
}
|
|
2302
|
-
s.byteLength =
|
|
2319
|
+
s.byteLength = S;
|
|
2303
2320
|
function O(i, e, t) {
|
|
2304
2321
|
let n = !1;
|
|
2305
2322
|
if ((e === void 0 || e < 0) && (e = 0), e > this.length || ((t === void 0 || t > this.length) && (t = this.length), t <= 0) || (t >>>= 0, e >>>= 0, t <= e))
|
|
@@ -2383,9 +2400,9 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2383
2400
|
return 0;
|
|
2384
2401
|
let u = c - a, D = n - t;
|
|
2385
2402
|
const b = Math.min(u, D), k = this.slice(a, c), R = e.slice(t, n);
|
|
2386
|
-
for (let
|
|
2387
|
-
if (k[
|
|
2388
|
-
u = k[
|
|
2403
|
+
for (let j = 0; j < b; ++j)
|
|
2404
|
+
if (k[j] !== R[j]) {
|
|
2405
|
+
u = k[j], D = R[j];
|
|
2389
2406
|
break;
|
|
2390
2407
|
}
|
|
2391
2408
|
return u < D ? -1 : D < u ? 1 : 0;
|
|
@@ -2415,8 +2432,8 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2415
2432
|
return -1;
|
|
2416
2433
|
c = 2, u /= 2, D /= 2, t /= 2;
|
|
2417
2434
|
}
|
|
2418
|
-
function b(R,
|
|
2419
|
-
return c === 1 ? R[
|
|
2435
|
+
function b(R, j) {
|
|
2436
|
+
return c === 1 ? R[j] : R.readUInt16BE(j * c);
|
|
2420
2437
|
}
|
|
2421
2438
|
let k;
|
|
2422
2439
|
if (a) {
|
|
@@ -2430,8 +2447,8 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2430
2447
|
} else
|
|
2431
2448
|
for (t + D > u && (t = u - D), k = t; k >= 0; k--) {
|
|
2432
2449
|
let R = !0;
|
|
2433
|
-
for (let
|
|
2434
|
-
if (b(i, k +
|
|
2450
|
+
for (let j = 0; j < D; j++)
|
|
2451
|
+
if (b(i, k + j) !== b(e, j)) {
|
|
2435
2452
|
R = !1;
|
|
2436
2453
|
break;
|
|
2437
2454
|
}
|
|
@@ -2463,7 +2480,7 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2463
2480
|
return u;
|
|
2464
2481
|
}
|
|
2465
2482
|
function q(i, e, t, n) {
|
|
2466
|
-
return ye(
|
|
2483
|
+
return ye(je(e, i.length - t), i, t, n);
|
|
2467
2484
|
}
|
|
2468
2485
|
function le(i, e, t, n) {
|
|
2469
2486
|
return ye(dt(e), i, t, n);
|
|
@@ -2530,19 +2547,19 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2530
2547
|
const c = i[a];
|
|
2531
2548
|
let u = null, D = c > 239 ? 4 : c > 223 ? 3 : c > 191 ? 2 : 1;
|
|
2532
2549
|
if (a + D <= t) {
|
|
2533
|
-
let b, k, R,
|
|
2550
|
+
let b, k, R, j;
|
|
2534
2551
|
switch (D) {
|
|
2535
2552
|
case 1:
|
|
2536
2553
|
c < 128 && (u = c);
|
|
2537
2554
|
break;
|
|
2538
2555
|
case 2:
|
|
2539
|
-
b = i[a + 1], (b & 192) === 128 && (
|
|
2556
|
+
b = i[a + 1], (b & 192) === 128 && (j = (c & 31) << 6 | b & 63, j > 127 && (u = j));
|
|
2540
2557
|
break;
|
|
2541
2558
|
case 3:
|
|
2542
|
-
b = i[a + 1], k = i[a + 2], (b & 192) === 128 && (k & 192) === 128 && (
|
|
2559
|
+
b = i[a + 1], k = i[a + 2], (b & 192) === 128 && (k & 192) === 128 && (j = (c & 15) << 12 | (b & 63) << 6 | k & 63, j > 2047 && (j < 55296 || j > 57343) && (u = j));
|
|
2543
2560
|
break;
|
|
2544
2561
|
case 4:
|
|
2545
|
-
b = i[a + 1], k = i[a + 2], R = i[a + 3], (b & 192) === 128 && (k & 192) === 128 && (R & 192) === 128 && (
|
|
2562
|
+
b = i[a + 1], k = i[a + 2], R = i[a + 3], (b & 192) === 128 && (k & 192) === 128 && (R & 192) === 128 && (j = (c & 15) << 18 | (b & 63) << 12 | (k & 63) << 6 | R & 63, j > 65535 && j < 1114112 && (u = j));
|
|
2546
2563
|
}
|
|
2547
2564
|
}
|
|
2548
2565
|
u === null ? (u = 65533, D = 1) : u > 65535 && (u -= 65536, n.push(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), n.push(u), a += D;
|
|
@@ -2843,7 +2860,7 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2843
2860
|
return this;
|
|
2844
2861
|
};
|
|
2845
2862
|
const J = {};
|
|
2846
|
-
function
|
|
2863
|
+
function Se(i, e, t) {
|
|
2847
2864
|
J[i] = class extends t {
|
|
2848
2865
|
constructor() {
|
|
2849
2866
|
super(), Object.defineProperty(this, "message", {
|
|
@@ -2868,19 +2885,19 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2868
2885
|
}
|
|
2869
2886
|
};
|
|
2870
2887
|
}
|
|
2871
|
-
|
|
2888
|
+
Se(
|
|
2872
2889
|
"ERR_BUFFER_OUT_OF_BOUNDS",
|
|
2873
2890
|
function(i) {
|
|
2874
2891
|
return i ? `${i} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
2875
2892
|
},
|
|
2876
2893
|
RangeError
|
|
2877
|
-
),
|
|
2894
|
+
), Se(
|
|
2878
2895
|
"ERR_INVALID_ARG_TYPE",
|
|
2879
2896
|
function(i, e) {
|
|
2880
2897
|
return `The "${i}" argument must be of type number. Received type ${typeof e}`;
|
|
2881
2898
|
},
|
|
2882
2899
|
TypeError
|
|
2883
|
-
),
|
|
2900
|
+
), Se(
|
|
2884
2901
|
"ERR_OUT_OF_RANGE",
|
|
2885
2902
|
function(i, e, t) {
|
|
2886
2903
|
let n = `The value of "${i}" is out of range.`, a = t;
|
|
@@ -2925,7 +2942,7 @@ $t.write = function(r, o, l, h, d, g) {
|
|
|
2925
2942
|
i = i + "=";
|
|
2926
2943
|
return i;
|
|
2927
2944
|
}
|
|
2928
|
-
function
|
|
2945
|
+
function je(i, e) {
|
|
2929
2946
|
e = e || 1 / 0;
|
|
2930
2947
|
let t;
|
|
2931
2948
|
const n = i.length;
|
|
@@ -3062,7 +3079,7 @@ function xi(r) {
|
|
|
3062
3079
|
}
|
|
3063
3080
|
}
|
|
3064
3081
|
}
|
|
3065
|
-
function
|
|
3082
|
+
function ps(r) {
|
|
3066
3083
|
if (he === clearTimeout)
|
|
3067
3084
|
return clearTimeout(r);
|
|
3068
3085
|
if ((he === Dt || !he) && clearTimeout)
|
|
@@ -3078,19 +3095,19 @@ function hs(r) {
|
|
|
3078
3095
|
}
|
|
3079
3096
|
}
|
|
3080
3097
|
var Me = [], Ze = !1, be, ot = -1;
|
|
3081
|
-
function
|
|
3098
|
+
function fs() {
|
|
3082
3099
|
!Ze || !be || (Ze = !1, be.length ? Me = be.concat(Me) : ot = -1, Me.length && Ti());
|
|
3083
3100
|
}
|
|
3084
3101
|
function Ti() {
|
|
3085
3102
|
if (!Ze) {
|
|
3086
|
-
var r = xi(
|
|
3103
|
+
var r = xi(fs);
|
|
3087
3104
|
Ze = !0;
|
|
3088
3105
|
for (var o = Me.length; o; ) {
|
|
3089
3106
|
for (be = Me, Me = []; ++ot < o; )
|
|
3090
3107
|
be && be[ot].run();
|
|
3091
3108
|
ot = -1, o = Me.length;
|
|
3092
3109
|
}
|
|
3093
|
-
be = null, Ze = !1,
|
|
3110
|
+
be = null, Ze = !1, ps(r);
|
|
3094
3111
|
}
|
|
3095
3112
|
}
|
|
3096
3113
|
Y.nextTick = function(r) {
|
|
@@ -3138,10 +3155,10 @@ Y.chdir = function(r) {
|
|
|
3138
3155
|
Y.umask = function() {
|
|
3139
3156
|
return 0;
|
|
3140
3157
|
};
|
|
3141
|
-
var
|
|
3158
|
+
var gs = Ni.exports;
|
|
3142
3159
|
(function(r) {
|
|
3143
3160
|
Object.defineProperty(r, Symbol.toStringTag, { value: "Module" });
|
|
3144
|
-
const o = Ei, l =
|
|
3161
|
+
const o = Ei, l = gs, h = (f) => f && f.__esModule ? f : { default: f }, d = h(l), g = globalThis || void 0 || self;
|
|
3145
3162
|
Object.defineProperty(r, "Buffer", { enumerable: !0, get: () => o.Buffer }), Object.defineProperty(r, "process", { enumerable: !0, get: () => d.default }), r.global = g;
|
|
3146
3163
|
})(Ci);
|
|
3147
3164
|
let ie;
|
|
@@ -3160,13 +3177,13 @@ Et == null || ii == null ? (Lt = Ct, zt = function(o) {
|
|
|
3160
3177
|
}, ei);
|
|
3161
3178
|
return [l, h];
|
|
3162
3179
|
});
|
|
3163
|
-
function
|
|
3180
|
+
function ms(r) {
|
|
3164
3181
|
let o, l, h, d, g, f, s;
|
|
3165
3182
|
const I = typeof document < "u" && document.attachEvent;
|
|
3166
3183
|
if (!I) {
|
|
3167
3184
|
f = function(C) {
|
|
3168
|
-
const v = C.__resizeTriggers__,
|
|
3169
|
-
O.scrollLeft = O.scrollWidth, O.scrollTop = O.scrollHeight, B.style.width =
|
|
3185
|
+
const v = C.__resizeTriggers__, S = v.firstElementChild, O = v.lastElementChild, B = S.firstElementChild;
|
|
3186
|
+
O.scrollLeft = O.scrollWidth, O.scrollTop = O.scrollHeight, B.style.width = S.offsetWidth + 1 + "px", B.style.height = S.offsetHeight + 1 + "px", S.scrollLeft = S.scrollWidth, S.scrollTop = S.scrollHeight;
|
|
3170
3187
|
}, g = function(C) {
|
|
3171
3188
|
return C.offsetWidth !== C.__resizeLast__.width || C.offsetHeight !== C.__resizeLast__.height;
|
|
3172
3189
|
}, s = function(C) {
|
|
@@ -3182,20 +3199,20 @@ function fs(r) {
|
|
|
3182
3199
|
let w = !1, T = "";
|
|
3183
3200
|
h = "animationstart";
|
|
3184
3201
|
const L = "Webkit Moz O ms".split(" ");
|
|
3185
|
-
let y = "webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),
|
|
3202
|
+
let y = "webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "), N = "";
|
|
3186
3203
|
{
|
|
3187
3204
|
const C = document.createElement("fakeelement");
|
|
3188
3205
|
if (C.style.animationName !== void 0 && (w = !0), w === !1) {
|
|
3189
3206
|
for (let v = 0; v < L.length; v++)
|
|
3190
3207
|
if (C.style[L[v] + "AnimationName"] !== void 0) {
|
|
3191
|
-
|
|
3208
|
+
N = L[v], T = "-" + N.toLowerCase() + "-", h = y[v], w = !0;
|
|
3192
3209
|
break;
|
|
3193
3210
|
}
|
|
3194
3211
|
}
|
|
3195
3212
|
}
|
|
3196
3213
|
l = "resizeanim", o = "@" + T + "keyframes " + l + " { from { opacity: 0; } to { opacity: 0; } } ", d = T + "animation: 1ms " + l + "; ";
|
|
3197
3214
|
}
|
|
3198
|
-
const
|
|
3215
|
+
const A = function(w) {
|
|
3199
3216
|
if (!w.getElementById("detectElementResize")) {
|
|
3200
3217
|
const T = (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 = w.head || w.getElementsByTagName("head")[0], y = w.createElement("style");
|
|
3201
3218
|
y.id = "detectElementResize", y.type = "text/css", r != null && y.setAttribute("nonce", r), y.styleSheet ? y.styleSheet.cssText = T : y.appendChild(w.createTextNode(T)), L.appendChild(y);
|
|
@@ -3208,12 +3225,12 @@ function fs(r) {
|
|
|
3208
3225
|
else {
|
|
3209
3226
|
if (!w.__resizeTriggers__) {
|
|
3210
3227
|
const L = w.ownerDocument, y = ie.getComputedStyle(w);
|
|
3211
|
-
y && y.position === "static" && (w.style.position = "relative"),
|
|
3212
|
-
const
|
|
3213
|
-
|
|
3228
|
+
y && y.position === "static" && (w.style.position = "relative"), A(L), w.__resizeLast__ = {}, w.__resizeListeners__ = [], (w.__resizeTriggers__ = L.createElement("div")).className = "resize-triggers";
|
|
3229
|
+
const N = L.createElement("div");
|
|
3230
|
+
N.className = "expand-trigger", N.appendChild(L.createElement("div"));
|
|
3214
3231
|
const C = L.createElement("div");
|
|
3215
|
-
C.className = "contract-trigger", w.__resizeTriggers__.appendChild(
|
|
3216
|
-
|
|
3232
|
+
C.className = "contract-trigger", w.__resizeTriggers__.appendChild(N), w.__resizeTriggers__.appendChild(C), w.appendChild(w.__resizeTriggers__), f(w), w.addEventListener("scroll", s, !0), h && (w.__resizeTriggers__.__animationListener__ = function(S) {
|
|
3233
|
+
S.animationName === l && f(w);
|
|
3217
3234
|
}, w.__resizeTriggers__.addEventListener(h, w.__resizeTriggers__.__animationListener__));
|
|
3218
3235
|
}
|
|
3219
3236
|
w.__resizeListeners__.push(T);
|
|
@@ -3232,7 +3249,7 @@ function fs(r) {
|
|
|
3232
3249
|
}
|
|
3233
3250
|
};
|
|
3234
3251
|
}
|
|
3235
|
-
class
|
|
3252
|
+
class Is extends Ri {
|
|
3236
3253
|
constructor(...o) {
|
|
3237
3254
|
super(...o), this.state = {
|
|
3238
3255
|
height: this.props.defaultHeight || 0,
|
|
@@ -3248,16 +3265,16 @@ class gs extends bi {
|
|
|
3248
3265
|
} = this.props;
|
|
3249
3266
|
if (this._parentNode) {
|
|
3250
3267
|
var g, f, s, I;
|
|
3251
|
-
const
|
|
3252
|
-
(!l && (this.state.height !== C || this.state.scaledHeight !== y) || !h && (this.state.width !== v || this.state.scaledWidth !==
|
|
3268
|
+
const A = window.getComputedStyle(this._parentNode) || {}, E = parseFloat((g = A.paddingLeft) !== null && g !== void 0 ? g : "0"), x = parseFloat((f = A.paddingRight) !== null && f !== void 0 ? f : "0"), w = parseFloat((s = A.paddingTop) !== null && s !== void 0 ? s : "0"), T = parseFloat((I = A.paddingBottom) !== null && I !== void 0 ? I : "0"), L = this._parentNode.getBoundingClientRect(), y = L.height - w - T, N = L.width - E - x, C = this._parentNode.offsetHeight - w - T, v = this._parentNode.offsetWidth - E - x;
|
|
3269
|
+
(!l && (this.state.height !== C || this.state.scaledHeight !== y) || !h && (this.state.width !== v || this.state.scaledWidth !== N)) && (this.setState({
|
|
3253
3270
|
height: C,
|
|
3254
3271
|
width: v,
|
|
3255
3272
|
scaledHeight: y,
|
|
3256
|
-
scaledWidth:
|
|
3273
|
+
scaledWidth: N
|
|
3257
3274
|
}), typeof d == "function" && d({
|
|
3258
3275
|
height: C,
|
|
3259
3276
|
scaledHeight: y,
|
|
3260
|
-
scaledWidth:
|
|
3277
|
+
scaledWidth: N,
|
|
3261
3278
|
width: v
|
|
3262
3279
|
}));
|
|
3263
3280
|
}
|
|
@@ -3271,7 +3288,7 @@ class gs extends bi {
|
|
|
3271
3288
|
} = this.props;
|
|
3272
3289
|
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(() => {
|
|
3273
3290
|
this._timeoutId = setTimeout(this._onResize, 0);
|
|
3274
|
-
}), this._resizeObserver.observe(this._parentNode)) : (this._detectElementResize =
|
|
3291
|
+
}), this._resizeObserver.observe(this._parentNode)) : (this._detectElementResize = ms(o), this._detectElementResize.addResizeListener(this._parentNode, this._onResize)), this._onResize()));
|
|
3275
3292
|
}
|
|
3276
3293
|
componentWillUnmount() {
|
|
3277
3294
|
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()));
|
|
@@ -3286,7 +3303,7 @@ class gs extends bi {
|
|
|
3286
3303
|
nonce: f,
|
|
3287
3304
|
onResize: s,
|
|
3288
3305
|
style: I = {},
|
|
3289
|
-
tagName:
|
|
3306
|
+
tagName: A = "div",
|
|
3290
3307
|
...E
|
|
3291
3308
|
} = this.props, {
|
|
3292
3309
|
height: x,
|
|
@@ -3295,57 +3312,57 @@ class gs extends bi {
|
|
|
3295
3312
|
width: L
|
|
3296
3313
|
} = this.state, y = {
|
|
3297
3314
|
overflow: "visible"
|
|
3298
|
-
},
|
|
3315
|
+
}, N = {};
|
|
3299
3316
|
let C = !1;
|
|
3300
|
-
return d || (x === 0 && (C = !0), y.height = 0,
|
|
3317
|
+
return d || (x === 0 && (C = !0), y.height = 0, N.height = x, N.scaledHeight = w), g || (L === 0 && (C = !0), y.width = 0, N.width = L, N.scaledWidth = T), rt(A, {
|
|
3301
3318
|
ref: this._setRef,
|
|
3302
3319
|
style: {
|
|
3303
3320
|
...y,
|
|
3304
3321
|
...I
|
|
3305
3322
|
},
|
|
3306
3323
|
...E
|
|
3307
|
-
}, !C && o(
|
|
3324
|
+
}, !C && o(N));
|
|
3308
3325
|
}
|
|
3309
3326
|
}
|
|
3310
|
-
function
|
|
3311
|
-
return
|
|
3327
|
+
function St() {
|
|
3328
|
+
return St = Object.assign ? Object.assign.bind() : function(r) {
|
|
3312
3329
|
for (var o = 1; o < arguments.length; o++) {
|
|
3313
3330
|
var l = arguments[o];
|
|
3314
3331
|
for (var h in l)
|
|
3315
3332
|
Object.prototype.hasOwnProperty.call(l, h) && (r[h] = l[h]);
|
|
3316
3333
|
}
|
|
3317
3334
|
return r;
|
|
3318
|
-
},
|
|
3335
|
+
}, St.apply(this, arguments);
|
|
3319
3336
|
}
|
|
3320
3337
|
function ri(r) {
|
|
3321
3338
|
if (r === void 0)
|
|
3322
3339
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3323
3340
|
return r;
|
|
3324
3341
|
}
|
|
3325
|
-
function
|
|
3326
|
-
return
|
|
3342
|
+
function jt(r, o) {
|
|
3343
|
+
return jt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(h, d) {
|
|
3327
3344
|
return h.__proto__ = d, h;
|
|
3328
|
-
},
|
|
3345
|
+
}, jt(r, o);
|
|
3329
3346
|
}
|
|
3330
|
-
function
|
|
3331
|
-
r.prototype = Object.create(o.prototype), r.prototype.constructor = r,
|
|
3347
|
+
function ys(r, o) {
|
|
3348
|
+
r.prototype = Object.create(o.prototype), r.prototype.constructor = r, jt(r, o);
|
|
3332
3349
|
}
|
|
3333
3350
|
var ni = Number.isNaN || function(o) {
|
|
3334
3351
|
return typeof o == "number" && o !== o;
|
|
3335
3352
|
};
|
|
3336
|
-
function
|
|
3353
|
+
function Ms(r, o) {
|
|
3337
3354
|
return !!(r === o || ni(r) && ni(o));
|
|
3338
3355
|
}
|
|
3339
|
-
function
|
|
3356
|
+
function ws(r, o) {
|
|
3340
3357
|
if (r.length !== o.length)
|
|
3341
3358
|
return !1;
|
|
3342
3359
|
for (var l = 0; l < r.length; l++)
|
|
3343
|
-
if (!
|
|
3360
|
+
if (!Ms(r[l], o[l]))
|
|
3344
3361
|
return !1;
|
|
3345
3362
|
return !0;
|
|
3346
3363
|
}
|
|
3347
3364
|
function At(r, o) {
|
|
3348
|
-
o === void 0 && (o =
|
|
3365
|
+
o === void 0 && (o = ws);
|
|
3349
3366
|
var l, h = [], d, g = !1;
|
|
3350
3367
|
function f() {
|
|
3351
3368
|
for (var s = [], I = 0; I < arguments.length; I++)
|
|
@@ -3354,7 +3371,7 @@ function At(r, o) {
|
|
|
3354
3371
|
}
|
|
3355
3372
|
return f;
|
|
3356
3373
|
}
|
|
3357
|
-
var
|
|
3374
|
+
var Cs = typeof performance == "object" && typeof performance.now == "function", oi = Cs ? function() {
|
|
3358
3375
|
return performance.now();
|
|
3359
3376
|
} : function() {
|
|
3360
3377
|
return Date.now();
|
|
@@ -3362,7 +3379,7 @@ var Ms = typeof performance == "object" && typeof performance.now == "function",
|
|
|
3362
3379
|
function si(r) {
|
|
3363
3380
|
cancelAnimationFrame(r.id);
|
|
3364
3381
|
}
|
|
3365
|
-
function
|
|
3382
|
+
function Es(r, o) {
|
|
3366
3383
|
var l = oi();
|
|
3367
3384
|
function h() {
|
|
3368
3385
|
oi() - l >= o ? r.call(null) : d.id = requestAnimationFrame(h);
|
|
@@ -3390,13 +3407,13 @@ function li(r) {
|
|
|
3390
3407
|
}
|
|
3391
3408
|
return Pe;
|
|
3392
3409
|
}
|
|
3393
|
-
var
|
|
3410
|
+
var As = 150, Ns = function(o, l) {
|
|
3394
3411
|
return o;
|
|
3395
3412
|
};
|
|
3396
|
-
function
|
|
3397
|
-
var o, l = r.getItemOffset, h = r.getEstimatedTotalSize, d = r.getItemSize, g = r.getOffsetForIndexAndAlignment, f = r.getStartIndexForOffset, s = r.getStopIndexForStartIndex, I = r.initInstanceProps,
|
|
3413
|
+
function xs(r) {
|
|
3414
|
+
var o, l = r.getItemOffset, h = r.getEstimatedTotalSize, d = r.getItemSize, g = r.getOffsetForIndexAndAlignment, f = r.getStartIndexForOffset, s = r.getStopIndexForStartIndex, I = r.initInstanceProps, A = r.shouldResetStyleCacheOnItemSizeChange, E = r.validateProps;
|
|
3398
3415
|
return o = /* @__PURE__ */ function(x) {
|
|
3399
|
-
|
|
3416
|
+
ys(w, x);
|
|
3400
3417
|
function w(L) {
|
|
3401
3418
|
var y;
|
|
3402
3419
|
return y = x.call(this, L) || this, y._instanceProps = I(y.props, ri(y)), y._outerRef = void 0, y._resetIsScrollingTimeoutId = null, y.state = {
|
|
@@ -3405,26 +3422,26 @@ function As(r) {
|
|
|
3405
3422
|
scrollDirection: "forward",
|
|
3406
3423
|
scrollOffset: typeof y.props.initialScrollOffset == "number" ? y.props.initialScrollOffset : 0,
|
|
3407
3424
|
scrollUpdateWasRequested: !1
|
|
3408
|
-
}, y._callOnItemsRendered = void 0, y._callOnItemsRendered = At(function(
|
|
3425
|
+
}, y._callOnItemsRendered = void 0, y._callOnItemsRendered = At(function(N, C, v, S) {
|
|
3409
3426
|
return y.props.onItemsRendered({
|
|
3410
|
-
overscanStartIndex:
|
|
3427
|
+
overscanStartIndex: N,
|
|
3411
3428
|
overscanStopIndex: C,
|
|
3412
3429
|
visibleStartIndex: v,
|
|
3413
|
-
visibleStopIndex:
|
|
3430
|
+
visibleStopIndex: S
|
|
3414
3431
|
});
|
|
3415
|
-
}), y._callOnScroll = void 0, y._callOnScroll = At(function(
|
|
3432
|
+
}), y._callOnScroll = void 0, y._callOnScroll = At(function(N, C, v) {
|
|
3416
3433
|
return y.props.onScroll({
|
|
3417
|
-
scrollDirection:
|
|
3434
|
+
scrollDirection: N,
|
|
3418
3435
|
scrollOffset: C,
|
|
3419
3436
|
scrollUpdateWasRequested: v
|
|
3420
3437
|
});
|
|
3421
|
-
}), y._getItemStyle = void 0, y._getItemStyle = function(
|
|
3422
|
-
var C = y.props, v = C.direction,
|
|
3423
|
-
if (B.hasOwnProperty(
|
|
3424
|
-
U = B[
|
|
3438
|
+
}), y._getItemStyle = void 0, y._getItemStyle = function(N) {
|
|
3439
|
+
var C = y.props, v = C.direction, S = C.itemSize, O = C.layout, B = y._getItemStyleCache(A && S, A && O, A && v), U;
|
|
3440
|
+
if (B.hasOwnProperty(N))
|
|
3441
|
+
U = B[N];
|
|
3425
3442
|
else {
|
|
3426
|
-
var F = l(y.props,
|
|
3427
|
-
B[
|
|
3443
|
+
var F = l(y.props, N, y._instanceProps), H = d(y.props, N, y._instanceProps), q = v === "horizontal" || O === "horizontal", le = v === "rtl", re = q ? F : 0;
|
|
3444
|
+
B[N] = U = {
|
|
3428
3445
|
position: "absolute",
|
|
3429
3446
|
left: le ? void 0 : re,
|
|
3430
3447
|
right: le ? re : void 0,
|
|
@@ -3434,36 +3451,36 @@ function As(r) {
|
|
|
3434
3451
|
};
|
|
3435
3452
|
}
|
|
3436
3453
|
return U;
|
|
3437
|
-
}, y._getItemStyleCache = void 0, y._getItemStyleCache = At(function(
|
|
3454
|
+
}, y._getItemStyleCache = void 0, y._getItemStyleCache = At(function(N, C, v) {
|
|
3438
3455
|
return {};
|
|
3439
|
-
}), y._onScrollHorizontal = function(
|
|
3440
|
-
var C =
|
|
3456
|
+
}), y._onScrollHorizontal = function(N) {
|
|
3457
|
+
var C = N.currentTarget, v = C.clientWidth, S = C.scrollLeft, O = C.scrollWidth;
|
|
3441
3458
|
y.setState(function(B) {
|
|
3442
|
-
if (B.scrollOffset ===
|
|
3459
|
+
if (B.scrollOffset === S)
|
|
3443
3460
|
return null;
|
|
3444
|
-
var U = y.props.direction, F =
|
|
3461
|
+
var U = y.props.direction, F = S;
|
|
3445
3462
|
if (U === "rtl")
|
|
3446
3463
|
switch (li()) {
|
|
3447
3464
|
case "negative":
|
|
3448
|
-
F = -
|
|
3465
|
+
F = -S;
|
|
3449
3466
|
break;
|
|
3450
3467
|
case "positive-descending":
|
|
3451
|
-
F = O - v -
|
|
3468
|
+
F = O - v - S;
|
|
3452
3469
|
break;
|
|
3453
3470
|
}
|
|
3454
3471
|
return F = Math.max(0, Math.min(F, O - v)), {
|
|
3455
3472
|
isScrolling: !0,
|
|
3456
|
-
scrollDirection: B.scrollOffset <
|
|
3473
|
+
scrollDirection: B.scrollOffset < S ? "forward" : "backward",
|
|
3457
3474
|
scrollOffset: F,
|
|
3458
3475
|
scrollUpdateWasRequested: !1
|
|
3459
3476
|
};
|
|
3460
3477
|
}, y._resetIsScrollingDebounced);
|
|
3461
|
-
}, y._onScrollVertical = function(
|
|
3462
|
-
var C =
|
|
3478
|
+
}, y._onScrollVertical = function(N) {
|
|
3479
|
+
var C = N.currentTarget, v = C.clientHeight, S = C.scrollHeight, O = C.scrollTop;
|
|
3463
3480
|
y.setState(function(B) {
|
|
3464
3481
|
if (B.scrollOffset === O)
|
|
3465
3482
|
return null;
|
|
3466
|
-
var U = Math.max(0, Math.min(O,
|
|
3483
|
+
var U = Math.max(0, Math.min(O, S - v));
|
|
3467
3484
|
return {
|
|
3468
3485
|
isScrolling: !0,
|
|
3469
3486
|
scrollDirection: B.scrollOffset < U ? "forward" : "backward",
|
|
@@ -3471,11 +3488,11 @@ function As(r) {
|
|
|
3471
3488
|
scrollUpdateWasRequested: !1
|
|
3472
3489
|
};
|
|
3473
3490
|
}, y._resetIsScrollingDebounced);
|
|
3474
|
-
}, y._outerRefSetter = function(
|
|
3491
|
+
}, y._outerRefSetter = function(N) {
|
|
3475
3492
|
var C = y.props.outerRef;
|
|
3476
|
-
y._outerRef =
|
|
3493
|
+
y._outerRef = N, typeof C == "function" ? C(N) : C != null && typeof C == "object" && C.hasOwnProperty("current") && (C.current = N);
|
|
3477
3494
|
}, y._resetIsScrollingDebounced = function() {
|
|
3478
|
-
y._resetIsScrollingTimeoutId !== null && si(y._resetIsScrollingTimeoutId), y._resetIsScrollingTimeoutId =
|
|
3495
|
+
y._resetIsScrollingTimeoutId !== null && si(y._resetIsScrollingTimeoutId), y._resetIsScrollingTimeoutId = Es(y._resetIsScrolling, As);
|
|
3479
3496
|
}, y._resetIsScrolling = function() {
|
|
3480
3497
|
y._resetIsScrollingTimeoutId = null, y.setState({
|
|
3481
3498
|
isScrolling: !1
|
|
@@ -3484,66 +3501,66 @@ function As(r) {
|
|
|
3484
3501
|
});
|
|
3485
3502
|
}, y;
|
|
3486
3503
|
}
|
|
3487
|
-
w.getDerivedStateFromProps = function(y,
|
|
3488
|
-
return
|
|
3504
|
+
w.getDerivedStateFromProps = function(y, N) {
|
|
3505
|
+
return Ts(y, N), E(y), null;
|
|
3489
3506
|
};
|
|
3490
3507
|
var T = w.prototype;
|
|
3491
3508
|
return T.scrollTo = function(y) {
|
|
3492
|
-
y = Math.max(0, y), this.setState(function(
|
|
3493
|
-
return
|
|
3494
|
-
scrollDirection:
|
|
3509
|
+
y = Math.max(0, y), this.setState(function(N) {
|
|
3510
|
+
return N.scrollOffset === y ? null : {
|
|
3511
|
+
scrollDirection: N.scrollOffset < y ? "forward" : "backward",
|
|
3495
3512
|
scrollOffset: y,
|
|
3496
3513
|
scrollUpdateWasRequested: !0
|
|
3497
3514
|
};
|
|
3498
3515
|
}, this._resetIsScrollingDebounced);
|
|
3499
|
-
}, T.scrollToItem = function(y,
|
|
3500
|
-
|
|
3501
|
-
var C = this.props, v = C.itemCount,
|
|
3516
|
+
}, T.scrollToItem = function(y, N) {
|
|
3517
|
+
N === void 0 && (N = "auto");
|
|
3518
|
+
var C = this.props, v = C.itemCount, S = C.layout, O = this.state.scrollOffset;
|
|
3502
3519
|
y = Math.max(0, Math.min(y, v - 1));
|
|
3503
3520
|
var B = 0;
|
|
3504
3521
|
if (this._outerRef) {
|
|
3505
3522
|
var U = this._outerRef;
|
|
3506
|
-
|
|
3523
|
+
S === "vertical" ? B = U.scrollWidth > U.clientWidth ? ai() : 0 : B = U.scrollHeight > U.clientHeight ? ai() : 0;
|
|
3507
3524
|
}
|
|
3508
|
-
this.scrollTo(g(this.props, y,
|
|
3525
|
+
this.scrollTo(g(this.props, y, N, O, this._instanceProps, B));
|
|
3509
3526
|
}, T.componentDidMount = function() {
|
|
3510
|
-
var y = this.props,
|
|
3527
|
+
var y = this.props, N = y.direction, C = y.initialScrollOffset, v = y.layout;
|
|
3511
3528
|
if (typeof C == "number" && this._outerRef != null) {
|
|
3512
|
-
var
|
|
3513
|
-
|
|
3529
|
+
var S = this._outerRef;
|
|
3530
|
+
N === "horizontal" || v === "horizontal" ? S.scrollLeft = C : S.scrollTop = C;
|
|
3514
3531
|
}
|
|
3515
3532
|
this._callPropsCallbacks();
|
|
3516
3533
|
}, T.componentDidUpdate = function() {
|
|
3517
|
-
var y = this.props,
|
|
3534
|
+
var y = this.props, N = y.direction, C = y.layout, v = this.state, S = v.scrollOffset, O = v.scrollUpdateWasRequested;
|
|
3518
3535
|
if (O && this._outerRef != null) {
|
|
3519
3536
|
var B = this._outerRef;
|
|
3520
|
-
if (
|
|
3521
|
-
if (
|
|
3537
|
+
if (N === "horizontal" || C === "horizontal")
|
|
3538
|
+
if (N === "rtl")
|
|
3522
3539
|
switch (li()) {
|
|
3523
3540
|
case "negative":
|
|
3524
|
-
B.scrollLeft = -
|
|
3541
|
+
B.scrollLeft = -S;
|
|
3525
3542
|
break;
|
|
3526
3543
|
case "positive-ascending":
|
|
3527
|
-
B.scrollLeft =
|
|
3544
|
+
B.scrollLeft = S;
|
|
3528
3545
|
break;
|
|
3529
3546
|
default:
|
|
3530
3547
|
var U = B.clientWidth, F = B.scrollWidth;
|
|
3531
|
-
B.scrollLeft = F - U -
|
|
3548
|
+
B.scrollLeft = F - U - S;
|
|
3532
3549
|
break;
|
|
3533
3550
|
}
|
|
3534
3551
|
else
|
|
3535
|
-
B.scrollLeft =
|
|
3552
|
+
B.scrollLeft = S;
|
|
3536
3553
|
else
|
|
3537
|
-
B.scrollTop =
|
|
3554
|
+
B.scrollTop = S;
|
|
3538
3555
|
}
|
|
3539
3556
|
this._callPropsCallbacks();
|
|
3540
3557
|
}, T.componentWillUnmount = function() {
|
|
3541
3558
|
this._resetIsScrollingTimeoutId !== null && si(this._resetIsScrollingTimeoutId);
|
|
3542
3559
|
}, T.render = function() {
|
|
3543
|
-
var y = this.props,
|
|
3560
|
+
var y = this.props, N = y.children, C = y.className, v = y.direction, S = y.height, O = y.innerRef, B = y.innerElementType, U = y.innerTagName, F = y.itemCount, H = y.itemData, q = y.itemKey, le = q === void 0 ? Ns : q, re = y.layout, ce = y.outerElementType, G = y.outerTagName, ne = y.style, me = y.useIsScrolling, ze = y.width, Ae = this.state.isScrolling, Ie = v === "horizontal" || re === "horizontal", oe = Ie ? this._onScrollHorizontal : this._onScrollVertical, Ne = this._getRangeToRender(), _ = Ne[0], $ = Ne[1], xe = [];
|
|
3544
3561
|
if (F > 0)
|
|
3545
3562
|
for (var se = _; se <= $; se++)
|
|
3546
|
-
xe.push(rt(
|
|
3563
|
+
xe.push(rt(N, {
|
|
3547
3564
|
data: H,
|
|
3548
3565
|
key: le(se, H),
|
|
3549
3566
|
index: se,
|
|
@@ -3555,9 +3572,9 @@ function As(r) {
|
|
|
3555
3572
|
className: C,
|
|
3556
3573
|
onScroll: oe,
|
|
3557
3574
|
ref: this._outerRefSetter,
|
|
3558
|
-
style:
|
|
3575
|
+
style: St({
|
|
3559
3576
|
position: "relative",
|
|
3560
|
-
height:
|
|
3577
|
+
height: S,
|
|
3561
3578
|
width: ze,
|
|
3562
3579
|
overflow: "auto",
|
|
3563
3580
|
WebkitOverflowScrolling: "touch",
|
|
@@ -3577,8 +3594,8 @@ function As(r) {
|
|
|
3577
3594
|
if (typeof this.props.onItemsRendered == "function") {
|
|
3578
3595
|
var y = this.props.itemCount;
|
|
3579
3596
|
if (y > 0) {
|
|
3580
|
-
var
|
|
3581
|
-
this._callOnItemsRendered(C, v,
|
|
3597
|
+
var N = this._getRangeToRender(), C = N[0], v = N[1], S = N[2], O = N[3];
|
|
3598
|
+
this._callOnItemsRendered(C, v, S, O);
|
|
3582
3599
|
}
|
|
3583
3600
|
}
|
|
3584
3601
|
if (typeof this.props.onScroll == "function") {
|
|
@@ -3586,11 +3603,11 @@ function As(r) {
|
|
|
3586
3603
|
this._callOnScroll(U, F, H);
|
|
3587
3604
|
}
|
|
3588
3605
|
}, T._getRangeToRender = function() {
|
|
3589
|
-
var y = this.props,
|
|
3590
|
-
if (
|
|
3606
|
+
var y = this.props, N = y.itemCount, C = y.overscanCount, v = this.state, S = v.isScrolling, O = v.scrollDirection, B = v.scrollOffset;
|
|
3607
|
+
if (N === 0)
|
|
3591
3608
|
return [0, 0, 0, 0];
|
|
3592
|
-
var U = f(this.props, B, this._instanceProps), F = s(this.props, U, B, this._instanceProps), H = !
|
|
3593
|
-
return [Math.max(0, U - H), Math.max(0, Math.min(
|
|
3609
|
+
var U = f(this.props, B, this._instanceProps), F = s(this.props, U, B, this._instanceProps), H = !S || O === "backward" ? Math.max(1, C) : 1, q = !S || O === "forward" ? Math.max(1, C) : 1;
|
|
3610
|
+
return [Math.max(0, U - H), Math.max(0, Math.min(N - 1, F + q)), U, F];
|
|
3594
3611
|
}, w;
|
|
3595
3612
|
}(pi), o.defaultProps = {
|
|
3596
3613
|
direction: "ltr",
|
|
@@ -3600,9 +3617,9 @@ function As(r) {
|
|
|
3600
3617
|
useIsScrolling: !1
|
|
3601
3618
|
}, o;
|
|
3602
3619
|
}
|
|
3603
|
-
var
|
|
3620
|
+
var Ts = function(o, l) {
|
|
3604
3621
|
o.children, o.direction, o.height, o.layout, o.innerTagName, o.outerTagName, o.width, l.instance;
|
|
3605
|
-
},
|
|
3622
|
+
}, vs = /* @__PURE__ */ xs({
|
|
3606
3623
|
getItemOffset: function(o, l) {
|
|
3607
3624
|
var h = o.itemSize;
|
|
3608
3625
|
return l * h;
|
|
@@ -3616,19 +3633,19 @@ var Ns = function(o, l) {
|
|
|
3616
3633
|
return h * l;
|
|
3617
3634
|
},
|
|
3618
3635
|
getOffsetForIndexAndAlignment: function(o, l, h, d, g, f) {
|
|
3619
|
-
var s = o.direction, I = o.height,
|
|
3620
|
-
switch (h === "smart" && (d >= C - L && d <=
|
|
3636
|
+
var s = o.direction, I = o.height, A = o.itemCount, E = o.itemSize, x = o.layout, w = o.width, T = s === "horizontal" || x === "horizontal", L = T ? w : I, y = Math.max(0, A * E - L), N = Math.min(y, l * E), C = Math.max(0, l * E - L + E + f);
|
|
3637
|
+
switch (h === "smart" && (d >= C - L && d <= N + L ? h = "auto" : h = "center"), h) {
|
|
3621
3638
|
case "start":
|
|
3622
|
-
return
|
|
3639
|
+
return N;
|
|
3623
3640
|
case "end":
|
|
3624
3641
|
return C;
|
|
3625
3642
|
case "center": {
|
|
3626
|
-
var v = Math.round(C + (
|
|
3643
|
+
var v = Math.round(C + (N - C) / 2);
|
|
3627
3644
|
return v < Math.ceil(L / 2) ? 0 : v > y + Math.floor(L / 2) ? y : v;
|
|
3628
3645
|
}
|
|
3629
3646
|
case "auto":
|
|
3630
3647
|
default:
|
|
3631
|
-
return d >= C && d <=
|
|
3648
|
+
return d >= C && d <= N ? d : d < C ? C : N;
|
|
3632
3649
|
}
|
|
3633
3650
|
},
|
|
3634
3651
|
getStartIndexForOffset: function(o, l) {
|
|
@@ -3636,7 +3653,7 @@ var Ns = function(o, l) {
|
|
|
3636
3653
|
return Math.max(0, Math.min(h - 1, Math.floor(l / d)));
|
|
3637
3654
|
},
|
|
3638
3655
|
getStopIndexForStartIndex: function(o, l, h) {
|
|
3639
|
-
var d = o.direction, g = o.height, f = o.itemCount, s = o.itemSize, I = o.layout,
|
|
3656
|
+
var d = o.direction, g = o.height, f = o.itemCount, s = o.itemSize, I = o.layout, A = o.width, E = d === "horizontal" || I === "horizontal", x = l * s, w = E ? A : g, T = Math.ceil((w + h - x) / s);
|
|
3640
3657
|
return Math.max(0, Math.min(
|
|
3641
3658
|
f - 1,
|
|
3642
3659
|
l + T - 1
|
|
@@ -3650,14 +3667,14 @@ var Ns = function(o, l) {
|
|
|
3650
3667
|
o.itemSize;
|
|
3651
3668
|
}
|
|
3652
3669
|
});
|
|
3653
|
-
function
|
|
3670
|
+
function Ds(r) {
|
|
3654
3671
|
var o = r.lastRenderedStartIndex, l = r.lastRenderedStopIndex, h = r.startIndex, d = r.stopIndex;
|
|
3655
3672
|
return !(h > l || d < o);
|
|
3656
3673
|
}
|
|
3657
|
-
function
|
|
3658
|
-
for (var o = r.isItemLoaded, l = r.itemCount, h = r.minimumBatchSize, d = r.startIndex, g = r.stopIndex, f = [], s = null, I = null,
|
|
3659
|
-
var E = o(
|
|
3660
|
-
E ? I !== null && (f.push(s, I), s = I = null) : (I =
|
|
3674
|
+
function Ls(r) {
|
|
3675
|
+
for (var o = r.isItemLoaded, l = r.itemCount, h = r.minimumBatchSize, d = r.startIndex, g = r.stopIndex, f = [], s = null, I = null, A = d; A <= g; A++) {
|
|
3676
|
+
var E = o(A);
|
|
3677
|
+
E ? I !== null && (f.push(s, I), s = I = null) : (I = A, s === null && (s = A));
|
|
3661
3678
|
}
|
|
3662
3679
|
if (I !== null) {
|
|
3663
3680
|
for (var x = Math.min(Math.max(I, s + h - 1), l - 1), w = I + 1; w <= x && !o(w); w++)
|
|
@@ -3674,10 +3691,10 @@ function vs(r) {
|
|
|
3674
3691
|
}
|
|
3675
3692
|
return f;
|
|
3676
3693
|
}
|
|
3677
|
-
var
|
|
3694
|
+
var zs = function(r, o) {
|
|
3678
3695
|
if (!(r instanceof o))
|
|
3679
3696
|
throw new TypeError("Cannot call a class as a function");
|
|
3680
|
-
},
|
|
3697
|
+
}, Ss = function() {
|
|
3681
3698
|
function r(o, l) {
|
|
3682
3699
|
for (var h = 0; h < l.length; h++) {
|
|
3683
3700
|
var d = l[h];
|
|
@@ -3687,7 +3704,7 @@ var Ds = function(r, o) {
|
|
|
3687
3704
|
return function(o, l, h) {
|
|
3688
3705
|
return l && r(o.prototype, l), h && r(o, h), o;
|
|
3689
3706
|
};
|
|
3690
|
-
}(),
|
|
3707
|
+
}(), js = function(r, o) {
|
|
3691
3708
|
if (typeof o != "function" && o !== null)
|
|
3692
3709
|
throw new TypeError("Super expression must either be null or a function, not " + typeof o);
|
|
3693
3710
|
r.prototype = Object.create(o && o.prototype, {
|
|
@@ -3702,21 +3719,21 @@ var Ds = function(r, o) {
|
|
|
3702
3719
|
if (!r)
|
|
3703
3720
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
3704
3721
|
return o && (typeof o == "object" || typeof o == "function") ? o : r;
|
|
3705
|
-
},
|
|
3706
|
-
|
|
3722
|
+
}, Bs = function(r) {
|
|
3723
|
+
js(o, r);
|
|
3707
3724
|
function o() {
|
|
3708
3725
|
var l, h, d, g;
|
|
3709
|
-
|
|
3726
|
+
zs(this, o);
|
|
3710
3727
|
for (var f = arguments.length, s = Array(f), I = 0; I < f; I++)
|
|
3711
3728
|
s[I] = arguments[I];
|
|
3712
|
-
return g = (h = (d = ci(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(
|
|
3713
|
-
var E =
|
|
3729
|
+
return g = (h = (d = ci(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(A) {
|
|
3730
|
+
var E = A.visibleStartIndex, x = A.visibleStopIndex;
|
|
3714
3731
|
d._lastRenderedStartIndex = E, d._lastRenderedStopIndex = x, d._ensureRowsLoaded(E, x);
|
|
3715
|
-
}, d._setRef = function(
|
|
3716
|
-
d._listRef =
|
|
3732
|
+
}, d._setRef = function(A) {
|
|
3733
|
+
d._listRef = A;
|
|
3717
3734
|
}, h), ci(d, g);
|
|
3718
3735
|
}
|
|
3719
|
-
return
|
|
3736
|
+
return Ss(o, [{
|
|
3720
3737
|
key: "resetloadMoreItemsCache",
|
|
3721
3738
|
value: function() {
|
|
3722
3739
|
var h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
|
@@ -3738,10 +3755,10 @@ var Ds = function(r, o) {
|
|
|
3738
3755
|
}, {
|
|
3739
3756
|
key: "_ensureRowsLoaded",
|
|
3740
3757
|
value: function(h, d) {
|
|
3741
|
-
var g = this.props, f = g.isItemLoaded, s = g.itemCount, I = g.minimumBatchSize,
|
|
3758
|
+
var g = this.props, f = g.isItemLoaded, s = g.itemCount, I = g.minimumBatchSize, A = I === void 0 ? 10 : I, E = g.threshold, x = E === void 0 ? 15 : E, w = Ls({
|
|
3742
3759
|
isItemLoaded: f,
|
|
3743
3760
|
itemCount: s,
|
|
3744
|
-
minimumBatchSize:
|
|
3761
|
+
minimumBatchSize: A,
|
|
3745
3762
|
startIndex: Math.max(0, h - x),
|
|
3746
3763
|
stopIndex: Math.min(s - 1, d + x)
|
|
3747
3764
|
});
|
|
@@ -3752,10 +3769,10 @@ var Ds = function(r, o) {
|
|
|
3752
3769
|
}, {
|
|
3753
3770
|
key: "_loadUnloadedRanges",
|
|
3754
3771
|
value: function(h) {
|
|
3755
|
-
for (var d = this, g = this.props.loadMoreItems || this.props.loadMoreRows, f = function(
|
|
3756
|
-
var E = h[
|
|
3772
|
+
for (var d = this, g = this.props.loadMoreItems || this.props.loadMoreRows, f = function(A) {
|
|
3773
|
+
var E = h[A], x = h[A + 1], w = g(E, x);
|
|
3757
3774
|
w != null && w.then(function() {
|
|
3758
|
-
if (
|
|
3775
|
+
if (Ds({
|
|
3759
3776
|
lastRenderedStartIndex: d._lastRenderedStartIndex,
|
|
3760
3777
|
lastRenderedStopIndex: d._lastRenderedStopIndex,
|
|
3761
3778
|
startIndex: E,
|
|
@@ -3771,39 +3788,39 @@ var Ds = function(r, o) {
|
|
|
3771
3788
|
}
|
|
3772
3789
|
}]), o;
|
|
3773
3790
|
}(pi);
|
|
3774
|
-
const
|
|
3791
|
+
const ks = () => Ue, bs = /* @__PURE__ */ m("div")({
|
|
3775
3792
|
name: "a",
|
|
3776
3793
|
class: "a1lvbkps",
|
|
3777
3794
|
propsAsIs: !1
|
|
3778
|
-
}),
|
|
3795
|
+
}), Rs = /* @__PURE__ */ m("div")({
|
|
3779
3796
|
name: "l",
|
|
3780
3797
|
class: "l2xe6fm",
|
|
3781
3798
|
propsAsIs: !1
|
|
3782
|
-
}),
|
|
3799
|
+
}), _s = /* @__PURE__ */ m("img")({
|
|
3783
3800
|
name: "p",
|
|
3784
3801
|
class: "p1yk5k0z",
|
|
3785
3802
|
propsAsIs: !1
|
|
3786
|
-
}),
|
|
3803
|
+
}), Os = /* @__PURE__ */ m("div")({
|
|
3787
3804
|
name: "s",
|
|
3788
3805
|
class: "s13yur3w",
|
|
3789
3806
|
propsAsIs: !1
|
|
3790
|
-
}),
|
|
3807
|
+
}), Us = /* @__PURE__ */ m("div")({
|
|
3791
3808
|
name: "c",
|
|
3792
3809
|
class: "c1h2npcq",
|
|
3793
3810
|
propsAsIs: !1
|
|
3794
|
-
}),
|
|
3811
|
+
}), $s = /* @__PURE__ */ m("div")({
|
|
3795
3812
|
name: "d",
|
|
3796
3813
|
class: "d1kxek13",
|
|
3797
3814
|
propsAsIs: !1
|
|
3798
|
-
}),
|
|
3815
|
+
}), Fs = /* @__PURE__ */ m("span")({
|
|
3799
3816
|
name: "g",
|
|
3800
3817
|
class: "glf08ok",
|
|
3801
3818
|
propsAsIs: !1
|
|
3802
|
-
}),
|
|
3819
|
+
}), Ps = /* @__PURE__ */ m(ks())({
|
|
3803
3820
|
name: "x",
|
|
3804
3821
|
class: "x1hkuau3",
|
|
3805
3822
|
propsAsIs: !0
|
|
3806
|
-
}),
|
|
3823
|
+
}), Ys = ({
|
|
3807
3824
|
rank: r,
|
|
3808
3825
|
avatar: o,
|
|
3809
3826
|
name: l,
|
|
@@ -3811,24 +3828,24 @@ const Ss = () => Ue, Bs = /* @__PURE__ */ m("div")({
|
|
|
3811
3828
|
isCurrentUser: d,
|
|
3812
3829
|
openItemDetail: g,
|
|
3813
3830
|
style: f
|
|
3814
|
-
}) => /* @__PURE__ */ z(
|
|
3815
|
-
/* @__PURE__ */ p(
|
|
3816
|
-
/* @__PURE__ */ z(
|
|
3817
|
-
o ? /* @__PURE__ */ p(
|
|
3818
|
-
/* @__PURE__ */ z(
|
|
3819
|
-
/* @__PURE__ */ p(
|
|
3820
|
-
d && /* @__PURE__ */ p(
|
|
3831
|
+
}) => /* @__PURE__ */ z(bs, { onClick: g, style: f, children: [
|
|
3832
|
+
/* @__PURE__ */ p(Rs, { children: r || 0 }),
|
|
3833
|
+
/* @__PURE__ */ z(Us, { children: [
|
|
3834
|
+
o ? /* @__PURE__ */ p(_s, { alt: "leaderboard-item-avatar", src: o }) : /* @__PURE__ */ p(Os, { children: yi(l || "") }),
|
|
3835
|
+
/* @__PURE__ */ z($s, { children: [
|
|
3836
|
+
/* @__PURE__ */ p(Fs, { children: l || "" }),
|
|
3837
|
+
d && /* @__PURE__ */ p(Ps, { name: "icon-star" })
|
|
3821
3838
|
] })
|
|
3822
3839
|
] }),
|
|
3823
3840
|
/* @__PURE__ */ p("div", { children: Mi(h) })
|
|
3824
|
-
] }),
|
|
3825
|
-
|
|
3841
|
+
] }), Vs = ({ items: r, openItemDetail: o, fetchMore: l }) => /* @__PURE__ */ p(Is, { children: ({ width: h, height: d }) => /* @__PURE__ */ p(
|
|
3842
|
+
Bs,
|
|
3826
3843
|
{
|
|
3827
3844
|
isItemLoaded: (g) => g < r.length,
|
|
3828
3845
|
itemCount: r.length + 1,
|
|
3829
3846
|
loadMoreItems: l,
|
|
3830
3847
|
children: ({ onItemsRendered: g, ref: f }) => /* @__PURE__ */ p(
|
|
3831
|
-
|
|
3848
|
+
vs,
|
|
3832
3849
|
{
|
|
3833
3850
|
itemSize: 58,
|
|
3834
3851
|
onItemsRendered: g,
|
|
@@ -3837,7 +3854,7 @@ const Ss = () => Ue, Bs = /* @__PURE__ */ m("div")({
|
|
|
3837
3854
|
width: h,
|
|
3838
3855
|
height: d,
|
|
3839
3856
|
children: ({ index: s, style: I }) => /* @__PURE__ */ p(
|
|
3840
|
-
|
|
3857
|
+
Ys,
|
|
3841
3858
|
{
|
|
3842
3859
|
style: I,
|
|
3843
3860
|
...r[s],
|
|
@@ -3848,22 +3865,22 @@ const Ss = () => Ue, Bs = /* @__PURE__ */ m("div")({
|
|
|
3848
3865
|
}
|
|
3849
3866
|
)
|
|
3850
3867
|
}
|
|
3851
|
-
) }),
|
|
3868
|
+
) }), Zs = ({ store: r }) => {
|
|
3852
3869
|
const { data: o } = Z(r), [l, h] = K(void 0);
|
|
3853
3870
|
if (!o)
|
|
3854
3871
|
return /* @__PURE__ */ p("div", { children: "wait leader board..." });
|
|
3855
3872
|
const d = (g) => {
|
|
3856
3873
|
var f;
|
|
3857
3874
|
const s = (f = o.find((I) => {
|
|
3858
|
-
var
|
|
3859
|
-
return ((
|
|
3875
|
+
var A;
|
|
3876
|
+
return ((A = I.attributes) == null ? void 0 : A.userId) === g;
|
|
3860
3877
|
})) == null ? void 0 : f.attributes;
|
|
3861
3878
|
h(s);
|
|
3862
3879
|
};
|
|
3863
3880
|
return /* @__PURE__ */ z(Oe, { children: [
|
|
3864
|
-
l && /* @__PURE__ */ p(
|
|
3881
|
+
l && /* @__PURE__ */ p(pn, { comeBack: () => d(null), ...l }),
|
|
3865
3882
|
!l && /* @__PURE__ */ p(
|
|
3866
|
-
|
|
3883
|
+
Vs,
|
|
3867
3884
|
{
|
|
3868
3885
|
items: o.filter((g) => g.attributes).map((g) => g.attributes),
|
|
3869
3886
|
openItemDetail: d
|
|
@@ -3875,15 +3892,15 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
3875
3892
|
name: "e",
|
|
3876
3893
|
class: "e6qv3to",
|
|
3877
3894
|
propsAsIs: !1
|
|
3878
|
-
}),
|
|
3895
|
+
}), Qs = /* @__PURE__ */ m("div")({
|
|
3879
3896
|
name: "i",
|
|
3880
3897
|
class: "i1jak95i",
|
|
3881
3898
|
propsAsIs: !1
|
|
3882
|
-
}),
|
|
3899
|
+
}), Hs = /* @__PURE__ */ m("div")({
|
|
3883
3900
|
name: "r",
|
|
3884
3901
|
class: "r1qp3jjx",
|
|
3885
3902
|
propsAsIs: !1
|
|
3886
|
-
}),
|
|
3903
|
+
}), Gs = /* @__PURE__ */ m("div")({
|
|
3887
3904
|
name: "n",
|
|
3888
3905
|
class: "naeizu7",
|
|
3889
3906
|
propsAsIs: !1
|
|
@@ -3891,11 +3908,11 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
3891
3908
|
name: "a",
|
|
3892
3909
|
class: "a4zecne",
|
|
3893
3910
|
propsAsIs: !1
|
|
3894
|
-
}),
|
|
3911
|
+
}), Ws = ({
|
|
3895
3912
|
gamification: r,
|
|
3896
3913
|
sdk: o
|
|
3897
3914
|
}) => {
|
|
3898
|
-
var l, h, d, g, f, s, I,
|
|
3915
|
+
var l, h, d, g, f, s, I, A, E, x, w, T, L, y, N, C, v, S, O, B, U, F, H;
|
|
3899
3916
|
const q = Z(r.status), le = Z(r.onboardingStatus), re = Z(r.openedQuestion), { slStreamId: ce } = Z(o.sdkStore), G = Z(r.featureSettings), [ne, me] = K(nt.HOME);
|
|
3900
3917
|
if (q !== Ve.Ready)
|
|
3901
3918
|
return /* @__PURE__ */ p("div", { children: "wait..." });
|
|
@@ -3905,18 +3922,18 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
3905
3922
|
return /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p("div", { children: "Event is forbidden" }) });
|
|
3906
3923
|
if (!le)
|
|
3907
3924
|
return /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p(
|
|
3908
|
-
|
|
3925
|
+
rn,
|
|
3909
3926
|
{
|
|
3910
3927
|
closeFeature: o.closeFeature,
|
|
3911
3928
|
gamification: r,
|
|
3912
3929
|
steps: (h = (l = G.inplayGame) == null ? void 0 : l.onboarding) == null ? void 0 : h.steps,
|
|
3913
3930
|
gameIcon: (f = (g = (d = G.inplayGame) == null ? void 0 : d.overview) == null ? void 0 : g.media) == null ? void 0 : f.gameIcon,
|
|
3914
|
-
sponsorLogo: (
|
|
3931
|
+
sponsorLogo: (A = (I = (s = G.inplayGame) == null ? void 0 : s.overview) == null ? void 0 : I.media) == null ? void 0 : A.sponsorLogo,
|
|
3915
3932
|
rules: (x = (E = G.inplayGame) == null ? void 0 : E.rules) == null ? void 0 : x.rules,
|
|
3916
3933
|
rulesBtnLabel: (T = (w = G.inplayGame) == null ? void 0 : w.rules) == null ? void 0 : T.buttonLabel,
|
|
3917
3934
|
rulesTitle: (y = (L = G.inplayGame) == null ? void 0 : L.rules) == null ? void 0 : y.heading,
|
|
3918
|
-
primaryColor: (v = (C = (
|
|
3919
|
-
inviteCardTitle: (O = (
|
|
3935
|
+
primaryColor: (v = (C = (N = G.inplayGame) == null ? void 0 : N.overview) == null ? void 0 : C.appearance) == null ? void 0 : v.primaryColor,
|
|
3936
|
+
inviteCardTitle: (O = (S = G.inplayGame) == null ? void 0 : S.inviteCard) == null ? void 0 : O.heading,
|
|
3920
3937
|
inviteCardSubtext: (U = (B = G.inplayGame) == null ? void 0 : B.inviteCard) == null ? void 0 : U.subtext,
|
|
3921
3938
|
inviteCardBtnLabel: (H = (F = G.inplayGame) == null ? void 0 : F.inviteCard) == null ? void 0 : H.buttonLabel
|
|
3922
3939
|
}
|
|
@@ -3929,83 +3946,85 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
3929
3946
|
r.submitAnswer(oe, Ne);
|
|
3930
3947
|
};
|
|
3931
3948
|
return /* @__PURE__ */ z(Re, { children: [
|
|
3932
|
-
/* @__PURE__ */ p(
|
|
3949
|
+
/* @__PURE__ */ p(ln, { activePage: ne, toggleActivePage: (oe) => {
|
|
3933
3950
|
me(oe);
|
|
3934
3951
|
} }),
|
|
3935
3952
|
ne === nt.HOME && /* @__PURE__ */ z(Oe, { children: [
|
|
3936
|
-
/* @__PURE__ */ p(
|
|
3937
|
-
/* @__PURE__ */ z(
|
|
3938
|
-
r.questions && /* @__PURE__ */ p(
|
|
3939
|
-
re && /* @__PURE__ */ p(
|
|
3953
|
+
/* @__PURE__ */ p(Qs, { children: r.userSummary && /* @__PURE__ */ p(Oo, { store: r.userSummary.getStore() }) }),
|
|
3954
|
+
/* @__PURE__ */ z(Hs, { children: [
|
|
3955
|
+
r.questions && /* @__PURE__ */ p(Uo, { openQuestion: ze, store: r.questions.getStore() }),
|
|
3956
|
+
re && /* @__PURE__ */ p(Fo, { closeQuestion: Ae, vote: Ie, openedQuestion: re })
|
|
3940
3957
|
] })
|
|
3941
3958
|
] }),
|
|
3942
|
-
ne === nt.LEADERBOARD && r.leaderboardList && /* @__PURE__ */ p(
|
|
3959
|
+
ne === nt.LEADERBOARD && r.leaderboardList && /* @__PURE__ */ p(Zs, { store: r.leaderboardList.getStore() })
|
|
3943
3960
|
] });
|
|
3944
|
-
},
|
|
3961
|
+
}, qs = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkNoZXZyb24iPgo8cGF0aCBpZD0iQ2hldnJvbl8yIiBkPSJNMTIgOC4xNzIyMkMxMiA4LjI4NzgzIDExLjk3ODEgOC4zOTU1MyAxMS45MzQyIDguNDk1MzNDMTEuODkwMyA4LjU5NTEzIDExLjgyMiA4LjY4OTkyIDExLjcyOTIgOC43Nzk3TDYuMzY5NDkgMTMuOTQzOUM2LjIxNDYyIDE0LjA5NjUgNi4wMjc0MiAxNC4xNzI5IDUuODA3ODcgMTQuMTcyOUM1LjY1NzUyIDE0LjE3MjkgNS41MjE5MSAxNC4xMzc5IDUuNDAxMDQgMTQuMDY3OUM1LjI4MDE2IDEzLjk5OCA1LjE4MzEgMTMuOTAzOSA1LjEwOTg2IDEzLjc4NTZDNS4wMzY2MiAxMy42NjczIDUgMTMuNTM0NSA1IDEzLjM4NzNDNSAxMy4xNzIxIDUuMDgyODggMTIuOTgxOCA1LjI0ODYzIDEyLjgxNjRMMTAuMDgwNyA4LjE3MDk1TDUuMjQ4NjMgMy41Mjc5OUM1LjA4Mjg4IDMuMzY0MjUgNSAzLjE3NDM5IDUgMi45NTg0MUM1IDIuODExMTggNS4wMzY2MiAyLjY3ODQyIDUuMTA5ODYgMi41NjAxM0M1LjE4MzEgMi40NDE4MyA1LjI4MDE2IDIuMzQ3NzEgNS40MDEwNCAyLjI3Nzc3QzUuNTIxOTEgMi4yMDc4MiA1LjY1NzUyIDIuMTcyODUgNS44MDc4NyAyLjE3Mjg1QzYuMDI3NDIgMi4xNzI4NSA2LjIxNDYyIDIuMjQ3MzEgNi4zNjk0OSAyLjM5NjI0TDExLjcyOTIgNy41NjQ3M0MxMS44MjExIDcuNjU0NTEgMTEuODg5IDcuNzQ5MDkgMTEuOTMyOSA3Ljg0ODQ2QzExLjk3NjggNy45NDc4NCAxMS45OTkxIDguMDU1NzYgMTIgOC4xNzIyMloiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8L3N2Zz4K", Js = (r, o) => {
|
|
3945
3962
|
switch (r) {
|
|
3946
3963
|
case ve.ROUNDED:
|
|
3947
|
-
return /* @__PURE__ */ p(
|
|
3964
|
+
return /* @__PURE__ */ p(Qo, { alt: "insight-icon", src: o });
|
|
3948
3965
|
case ve.TRANSPARENT:
|
|
3949
|
-
return /* @__PURE__ */ p(
|
|
3966
|
+
return /* @__PURE__ */ p(Ho, { alt: "insight-icon", src: o });
|
|
3950
3967
|
case ve.CENTERED:
|
|
3951
|
-
return /* @__PURE__ */ p(
|
|
3968
|
+
return /* @__PURE__ */ p(Zo, { alt: "insight-icon", src: o });
|
|
3952
3969
|
default:
|
|
3953
3970
|
return null;
|
|
3954
3971
|
}
|
|
3955
|
-
},
|
|
3956
|
-
/* @__PURE__ */ p(
|
|
3957
|
-
/* @__PURE__ */ z(
|
|
3958
|
-
/* @__PURE__ */ p(
|
|
3959
|
-
/* @__PURE__ */ p(
|
|
3972
|
+
}, Xs = ({ title: r, image: o, questionId: l, imageMode: h, openInsight: d }) => /* @__PURE__ */ z(Po, { onClick: () => d(l), children: [
|
|
3973
|
+
/* @__PURE__ */ p(Vo, { children: o && Js(h, o) }),
|
|
3974
|
+
/* @__PURE__ */ z(Yo, { children: [
|
|
3975
|
+
/* @__PURE__ */ p(Go, { children: r || "" }),
|
|
3976
|
+
/* @__PURE__ */ p(Wo, { alt: "next-icon", src: qs })
|
|
3960
3977
|
] })
|
|
3961
|
-
] }),
|
|
3962
|
-
const { data:
|
|
3963
|
-
return
|
|
3964
|
-
},
|
|
3978
|
+
] }), Ks = ({ insights: r, openInsight: o, className: l }) => /* @__PURE__ */ p(qo, { className: l, children: /* @__PURE__ */ p(Jo, { children: r == null ? void 0 : r.map((h) => /* @__PURE__ */ p(Xs, { openInsight: o, ...h }, h.questionId)) }) }), e0 = ({ highlights: r, store: o, className: l }) => {
|
|
3979
|
+
const { data: h } = Z(o);
|
|
3980
|
+
return h ? /* @__PURE__ */ p(Ks, { className: l, insights: h, openInsight: r.openHighlight }) : /* @__PURE__ */ p("div", { className: l, children: "wait insights..." });
|
|
3981
|
+
}, t0 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBjbGFzcz0ic2MtQU5kc04ga1RWV0pFIj48cGF0aCBkPSJNNi42NjY1IDMuMTY2NjlINC45OTk4NEM0LjI2MzQ2IDMuMTY2NjkgMy42NjY1IDMuNzYzNjQgMy42NjY1IDQuNTAwMDJWMTEuNUMzLjY2NjUgMTIuMjM2NCA0LjI2MzQ2IDEyLjgzMzQgNC45OTk4NCAxMi44MzM0SDExLjk5OThDMTIuNzM2MiAxMi44MzM0IDEzLjMzMzIgMTIuMjM2NCAxMy4zMzMyIDExLjVWOS44MzMzNSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+PHBhdGggZD0iTTEzLjMzMzUgNi4xNjY2OVYzLjE2NjY5SDEwLjMzMzUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjxwYXRoIGQ9Ik0xMy4xNjY4IDMuMzMzMzFMOC4zMzM1IDguMTY2NjUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPjwvc3ZnPgo=", i0 = ({
|
|
3965
3982
|
image: r,
|
|
3966
3983
|
title: o,
|
|
3967
3984
|
description: l,
|
|
3968
3985
|
webLinkLabel: h,
|
|
3969
3986
|
webLink: d,
|
|
3970
3987
|
closeHighlights: g,
|
|
3971
|
-
closeInsight: f
|
|
3972
|
-
|
|
3988
|
+
closeInsight: f,
|
|
3989
|
+
className: s
|
|
3990
|
+
}) => /* @__PURE__ */ z(Xo, { className: s, children: [
|
|
3973
3991
|
/* @__PURE__ */ p(Ii, { close: g, comeBack: f }),
|
|
3974
|
-
r && /* @__PURE__ */ p(
|
|
3975
|
-
/* @__PURE__ */ z(
|
|
3976
|
-
o && /* @__PURE__ */ p(
|
|
3977
|
-
l && /* @__PURE__ */ p(
|
|
3992
|
+
r && /* @__PURE__ */ p(Ko, { alt: "detail-insight-image", src: r }),
|
|
3993
|
+
/* @__PURE__ */ z(es, { children: [
|
|
3994
|
+
o && /* @__PURE__ */ p(ts, { children: o }),
|
|
3995
|
+
l && /* @__PURE__ */ p(is, { children: l })
|
|
3978
3996
|
] }),
|
|
3979
|
-
d && h && /* @__PURE__ */ z(
|
|
3997
|
+
d && h && /* @__PURE__ */ z(rs, { href: d, target: "_blank", children: [
|
|
3980
3998
|
h,
|
|
3981
|
-
/* @__PURE__ */ p(
|
|
3999
|
+
/* @__PURE__ */ p(ns, { alt: "link-icon", src: t0 })
|
|
3982
4000
|
] })
|
|
3983
|
-
] }),
|
|
3984
|
-
var
|
|
3985
|
-
const
|
|
4001
|
+
] }), r0 = ({ openedInsight: r, closeHighlights: o, closeInsight: l, className: h }) => {
|
|
4002
|
+
var d, g, f, s, I;
|
|
4003
|
+
const A = ((d = r.options) == null ? void 0 : d.options.case) === "factoid" ? {
|
|
3986
4004
|
image: r.options.options.value.image,
|
|
3987
4005
|
body: r.options.options.value.body,
|
|
3988
|
-
webLink: (
|
|
3989
|
-
webLinkLabel: (
|
|
3990
|
-
} : {},
|
|
4006
|
+
webLink: (g = r.options.options.value.webLink) == null ? void 0 : g.url,
|
|
4007
|
+
webLinkLabel: (f = r.options.options.value.webLink) == null ? void 0 : f.label
|
|
4008
|
+
} : {}, E = r.subject || ((s = r.notification) == null ? void 0 : s.title), x = A.body || ((I = r.notification) == null ? void 0 : I.body);
|
|
3991
4009
|
return /* @__PURE__ */ p(
|
|
3992
|
-
|
|
4010
|
+
i0,
|
|
3993
4011
|
{
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
4012
|
+
className: h,
|
|
4013
|
+
image: A.image,
|
|
4014
|
+
title: E,
|
|
4015
|
+
description: x,
|
|
4016
|
+
webLink: A.webLink,
|
|
4017
|
+
webLinkLabel: A.webLinkLabel,
|
|
3999
4018
|
closeInsight: l,
|
|
4000
4019
|
closeHighlights: o
|
|
4001
4020
|
}
|
|
4002
4021
|
);
|
|
4003
|
-
},
|
|
4022
|
+
}, n0 = ({ highlights: r, sdk: o }) => {
|
|
4004
4023
|
const l = Z(r.status), h = Z(r.openedInsight), { slStreamId: d } = Z(o.sdkStore);
|
|
4005
4024
|
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: [
|
|
4006
|
-
!h && /* @__PURE__ */ p(
|
|
4025
|
+
!h && /* @__PURE__ */ p(e0, { highlights: r, store: r.insights.getStore() }),
|
|
4007
4026
|
h && /* @__PURE__ */ p(
|
|
4008
|
-
|
|
4027
|
+
r0,
|
|
4009
4028
|
{
|
|
4010
4029
|
openedInsight: h,
|
|
4011
4030
|
closeHighlights: r.closeFeature,
|
|
@@ -4014,12 +4033,12 @@ const Re = /* @__PURE__ */ m("div")({
|
|
|
4014
4033
|
)
|
|
4015
4034
|
] }) : /* @__PURE__ */ p(Re, { children: /* @__PURE__ */ p("div", { children: "Event is forbidden" }) });
|
|
4016
4035
|
};
|
|
4017
|
-
var
|
|
4018
|
-
lt.byteLength =
|
|
4019
|
-
lt.toByteArray =
|
|
4020
|
-
lt.fromByteArray =
|
|
4021
|
-
var ge = [], te = [],
|
|
4022
|
-
for (var Ye = 0,
|
|
4036
|
+
var o0 = {}, Di = {}, lt = {};
|
|
4037
|
+
lt.byteLength = l0;
|
|
4038
|
+
lt.toByteArray = u0;
|
|
4039
|
+
lt.fromByteArray = p0;
|
|
4040
|
+
var ge = [], te = [], s0 = typeof Uint8Array < "u" ? Uint8Array : Array, Tt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
4041
|
+
for (var Ye = 0, a0 = Tt.length; Ye < a0; ++Ye)
|
|
4023
4042
|
ge[Ye] = Tt[Ye], te[Tt.charCodeAt(Ye)] = Ye;
|
|
4024
4043
|
te["-".charCodeAt(0)] = 62;
|
|
4025
4044
|
te["_".charCodeAt(0)] = 63;
|
|
@@ -4032,30 +4051,30 @@ function Li(r) {
|
|
|
4032
4051
|
var h = l === o ? 0 : 4 - l % 4;
|
|
4033
4052
|
return [l, h];
|
|
4034
4053
|
}
|
|
4035
|
-
function
|
|
4054
|
+
function l0(r) {
|
|
4036
4055
|
var o = Li(r), l = o[0], h = o[1];
|
|
4037
4056
|
return (l + h) * 3 / 4 - h;
|
|
4038
4057
|
}
|
|
4039
|
-
function
|
|
4058
|
+
function c0(r, o, l) {
|
|
4040
4059
|
return (o + l) * 3 / 4 - l;
|
|
4041
4060
|
}
|
|
4042
|
-
function
|
|
4043
|
-
var o, l = Li(r), h = l[0], d = l[1], g = new
|
|
4061
|
+
function u0(r) {
|
|
4062
|
+
var o, l = Li(r), h = l[0], d = l[1], g = new s0(c0(r, h, d)), f = 0, s = d > 0 ? h - 4 : h, I;
|
|
4044
4063
|
for (I = 0; I < s; I += 4)
|
|
4045
4064
|
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;
|
|
4046
4065
|
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;
|
|
4047
4066
|
}
|
|
4048
|
-
function
|
|
4067
|
+
function h0(r) {
|
|
4049
4068
|
return ge[r >> 18 & 63] + ge[r >> 12 & 63] + ge[r >> 6 & 63] + ge[r & 63];
|
|
4050
4069
|
}
|
|
4051
|
-
function
|
|
4070
|
+
function d0(r, o, l) {
|
|
4052
4071
|
for (var h, d = [], g = o; g < l; g += 3)
|
|
4053
|
-
h = (r[g] << 16 & 16711680) + (r[g + 1] << 8 & 65280) + (r[g + 2] & 255), d.push(
|
|
4072
|
+
h = (r[g] << 16 & 16711680) + (r[g + 1] << 8 & 65280) + (r[g + 2] & 255), d.push(h0(h));
|
|
4054
4073
|
return d.join("");
|
|
4055
4074
|
}
|
|
4056
|
-
function
|
|
4075
|
+
function p0(r) {
|
|
4057
4076
|
for (var o, l = r.length, h = l % 3, d = [], g = 16383, f = 0, s = l - h; f < s; f += g)
|
|
4058
|
-
d.push(
|
|
4077
|
+
d.push(d0(r, f, f + g > s ? s : f + g));
|
|
4059
4078
|
return h === 1 ? (o = r[l - 1], d.push(
|
|
4060
4079
|
ge[o >> 2] + ge[o << 4 & 63] + "=="
|
|
4061
4080
|
)) : h === 2 && (o = (r[l - 2] << 8) + r[l - 1], d.push(
|
|
@@ -4065,25 +4084,25 @@ function h0(r) {
|
|
|
4065
4084
|
var Ft = {};
|
|
4066
4085
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
4067
4086
|
Ft.read = function(r, o, l, h, d) {
|
|
4068
|
-
var g, f, s = d * 8 - h - 1, I = (1 << s) - 1,
|
|
4087
|
+
var g, f, s = d * 8 - h - 1, I = (1 << s) - 1, A = I >> 1, E = -7, x = l ? d - 1 : 0, w = l ? -1 : 1, T = r[o + x];
|
|
4069
4088
|
for (x += w, g = T & (1 << -E) - 1, T >>= -E, E += s; E > 0; g = g * 256 + r[o + x], x += w, E -= 8)
|
|
4070
4089
|
;
|
|
4071
4090
|
for (f = g & (1 << -E) - 1, g >>= -E, E += h; E > 0; f = f * 256 + r[o + x], x += w, E -= 8)
|
|
4072
4091
|
;
|
|
4073
4092
|
if (g === 0)
|
|
4074
|
-
g = 1 -
|
|
4093
|
+
g = 1 - A;
|
|
4075
4094
|
else {
|
|
4076
4095
|
if (g === I)
|
|
4077
4096
|
return f ? NaN : (T ? -1 : 1) * (1 / 0);
|
|
4078
|
-
f = f + Math.pow(2, h), g = g -
|
|
4097
|
+
f = f + Math.pow(2, h), g = g - A;
|
|
4079
4098
|
}
|
|
4080
4099
|
return (T ? -1 : 1) * f * Math.pow(2, g - h);
|
|
4081
4100
|
};
|
|
4082
4101
|
Ft.write = function(r, o, l, h, d, g) {
|
|
4083
|
-
var f, s, I,
|
|
4102
|
+
var f, s, I, A = g * 8 - d - 1, E = (1 << A) - 1, x = E >> 1, w = d === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, T = h ? 0 : g - 1, L = h ? 1 : -1, y = o < 0 || o === 0 && 1 / o < 0 ? 1 : 0;
|
|
4084
4103
|
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 += w / I : o += w * 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 + T] = s & 255, T += L, s /= 256, d -= 8)
|
|
4085
4104
|
;
|
|
4086
|
-
for (f = f << d | s,
|
|
4105
|
+
for (f = f << d | s, A += d; A > 0; r[l + T] = f & 255, T += L, f /= 256, A -= 8)
|
|
4087
4106
|
;
|
|
4088
4107
|
r[l + T - L] |= y * 128;
|
|
4089
4108
|
};
|
|
@@ -4158,7 +4177,7 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4158
4177
|
const n = i.valueOf && i.valueOf();
|
|
4159
4178
|
if (n != null && n !== i)
|
|
4160
4179
|
return s.from(n, e, t);
|
|
4161
|
-
const a =
|
|
4180
|
+
const a = N(i);
|
|
4162
4181
|
if (a)
|
|
4163
4182
|
return a;
|
|
4164
4183
|
if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof i[Symbol.toPrimitive] == "function")
|
|
@@ -4170,20 +4189,20 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4170
4189
|
s.from = function(i, e, t) {
|
|
4171
4190
|
return I(i, e, t);
|
|
4172
4191
|
}, Object.setPrototypeOf(s.prototype, Uint8Array.prototype), Object.setPrototypeOf(s, Uint8Array);
|
|
4173
|
-
function
|
|
4192
|
+
function A(i) {
|
|
4174
4193
|
if (typeof i != "number")
|
|
4175
4194
|
throw new TypeError('"size" argument must be of type number');
|
|
4176
4195
|
if (i < 0)
|
|
4177
4196
|
throw new RangeError('The value "' + i + '" is invalid for option "size"');
|
|
4178
4197
|
}
|
|
4179
4198
|
function E(i, e, t) {
|
|
4180
|
-
return
|
|
4199
|
+
return A(i), i <= 0 ? f(i) : e !== void 0 ? typeof t == "string" ? f(i).fill(e, t) : f(i).fill(e) : f(i);
|
|
4181
4200
|
}
|
|
4182
4201
|
s.alloc = function(i, e, t) {
|
|
4183
4202
|
return E(i, e, t);
|
|
4184
4203
|
};
|
|
4185
4204
|
function x(i) {
|
|
4186
|
-
return
|
|
4205
|
+
return A(i), f(i < 0 ? 0 : C(i) | 0);
|
|
4187
4206
|
}
|
|
4188
4207
|
s.allocUnsafe = function(i) {
|
|
4189
4208
|
return x(i);
|
|
@@ -4193,7 +4212,7 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4193
4212
|
function w(i, e) {
|
|
4194
4213
|
if ((typeof e != "string" || e === "") && (e = "utf8"), !s.isEncoding(e))
|
|
4195
4214
|
throw new TypeError("Unknown encoding: " + e);
|
|
4196
|
-
const t =
|
|
4215
|
+
const t = S(i, e) | 0;
|
|
4197
4216
|
let n = f(t);
|
|
4198
4217
|
const a = n.write(i, e);
|
|
4199
4218
|
return a !== t && (n = n.slice(0, a)), n;
|
|
@@ -4219,7 +4238,7 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4219
4238
|
let n;
|
|
4220
4239
|
return e === void 0 && t === void 0 ? n = new Uint8Array(i) : t === void 0 ? n = new Uint8Array(i, e) : n = new Uint8Array(i, e, t), Object.setPrototypeOf(n, s.prototype), n;
|
|
4221
4240
|
}
|
|
4222
|
-
function
|
|
4241
|
+
function N(i) {
|
|
4223
4242
|
if (s.isBuffer(i)) {
|
|
4224
4243
|
const e = C(i.length) | 0, t = f(e);
|
|
4225
4244
|
return t.length === 0 || i.copy(t, 0, 0, e), t;
|
|
@@ -4297,7 +4316,7 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4297
4316
|
}
|
|
4298
4317
|
return a;
|
|
4299
4318
|
};
|
|
4300
|
-
function
|
|
4319
|
+
function S(i, e) {
|
|
4301
4320
|
if (s.isBuffer(i))
|
|
4302
4321
|
return i.length;
|
|
4303
4322
|
if (ArrayBuffer.isView(i) || P(i, ArrayBuffer))
|
|
@@ -4318,7 +4337,7 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4318
4337
|
return t;
|
|
4319
4338
|
case "utf8":
|
|
4320
4339
|
case "utf-8":
|
|
4321
|
-
return
|
|
4340
|
+
return je(i).length;
|
|
4322
4341
|
case "ucs2":
|
|
4323
4342
|
case "ucs-2":
|
|
4324
4343
|
case "utf16le":
|
|
@@ -4330,11 +4349,11 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4330
4349
|
return Xe(i).length;
|
|
4331
4350
|
default:
|
|
4332
4351
|
if (a)
|
|
4333
|
-
return n ? -1 :
|
|
4352
|
+
return n ? -1 : je(i).length;
|
|
4334
4353
|
e = ("" + e).toLowerCase(), a = !0;
|
|
4335
4354
|
}
|
|
4336
4355
|
}
|
|
4337
|
-
s.byteLength =
|
|
4356
|
+
s.byteLength = S;
|
|
4338
4357
|
function O(i, e, t) {
|
|
4339
4358
|
let n = !1;
|
|
4340
4359
|
if ((e === void 0 || e < 0) && (e = 0), e > this.length || ((t === void 0 || t > this.length) && (t = this.length), t <= 0) || (t >>>= 0, e >>>= 0, t <= e))
|
|
@@ -4418,9 +4437,9 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4418
4437
|
return 0;
|
|
4419
4438
|
let u = c - a, D = n - t;
|
|
4420
4439
|
const b = Math.min(u, D), k = this.slice(a, c), R = e.slice(t, n);
|
|
4421
|
-
for (let
|
|
4422
|
-
if (k[
|
|
4423
|
-
u = k[
|
|
4440
|
+
for (let j = 0; j < b; ++j)
|
|
4441
|
+
if (k[j] !== R[j]) {
|
|
4442
|
+
u = k[j], D = R[j];
|
|
4424
4443
|
break;
|
|
4425
4444
|
}
|
|
4426
4445
|
return u < D ? -1 : D < u ? 1 : 0;
|
|
@@ -4450,8 +4469,8 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4450
4469
|
return -1;
|
|
4451
4470
|
c = 2, u /= 2, D /= 2, t /= 2;
|
|
4452
4471
|
}
|
|
4453
|
-
function b(R,
|
|
4454
|
-
return c === 1 ? R[
|
|
4472
|
+
function b(R, j) {
|
|
4473
|
+
return c === 1 ? R[j] : R.readUInt16BE(j * c);
|
|
4455
4474
|
}
|
|
4456
4475
|
let k;
|
|
4457
4476
|
if (a) {
|
|
@@ -4465,8 +4484,8 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4465
4484
|
} else
|
|
4466
4485
|
for (t + D > u && (t = u - D), k = t; k >= 0; k--) {
|
|
4467
4486
|
let R = !0;
|
|
4468
|
-
for (let
|
|
4469
|
-
if (b(i, k +
|
|
4487
|
+
for (let j = 0; j < D; j++)
|
|
4488
|
+
if (b(i, k + j) !== b(e, j)) {
|
|
4470
4489
|
R = !1;
|
|
4471
4490
|
break;
|
|
4472
4491
|
}
|
|
@@ -4498,7 +4517,7 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4498
4517
|
return u;
|
|
4499
4518
|
}
|
|
4500
4519
|
function q(i, e, t, n) {
|
|
4501
|
-
return ye(
|
|
4520
|
+
return ye(je(e, i.length - t), i, t, n);
|
|
4502
4521
|
}
|
|
4503
4522
|
function le(i, e, t, n) {
|
|
4504
4523
|
return ye(dt(e), i, t, n);
|
|
@@ -4565,19 +4584,19 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4565
4584
|
const c = i[a];
|
|
4566
4585
|
let u = null, D = c > 239 ? 4 : c > 223 ? 3 : c > 191 ? 2 : 1;
|
|
4567
4586
|
if (a + D <= t) {
|
|
4568
|
-
let b, k, R,
|
|
4587
|
+
let b, k, R, j;
|
|
4569
4588
|
switch (D) {
|
|
4570
4589
|
case 1:
|
|
4571
4590
|
c < 128 && (u = c);
|
|
4572
4591
|
break;
|
|
4573
4592
|
case 2:
|
|
4574
|
-
b = i[a + 1], (b & 192) === 128 && (
|
|
4593
|
+
b = i[a + 1], (b & 192) === 128 && (j = (c & 31) << 6 | b & 63, j > 127 && (u = j));
|
|
4575
4594
|
break;
|
|
4576
4595
|
case 3:
|
|
4577
|
-
b = i[a + 1], k = i[a + 2], (b & 192) === 128 && (k & 192) === 128 && (
|
|
4596
|
+
b = i[a + 1], k = i[a + 2], (b & 192) === 128 && (k & 192) === 128 && (j = (c & 15) << 12 | (b & 63) << 6 | k & 63, j > 2047 && (j < 55296 || j > 57343) && (u = j));
|
|
4578
4597
|
break;
|
|
4579
4598
|
case 4:
|
|
4580
|
-
b = i[a + 1], k = i[a + 2], R = i[a + 3], (b & 192) === 128 && (k & 192) === 128 && (R & 192) === 128 && (
|
|
4599
|
+
b = i[a + 1], k = i[a + 2], R = i[a + 3], (b & 192) === 128 && (k & 192) === 128 && (R & 192) === 128 && (j = (c & 15) << 18 | (b & 63) << 12 | (k & 63) << 6 | R & 63, j > 65535 && j < 1114112 && (u = j));
|
|
4581
4600
|
}
|
|
4582
4601
|
}
|
|
4583
4602
|
u === null ? (u = 65533, D = 1) : u > 65535 && (u -= 65536, n.push(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), n.push(u), a += D;
|
|
@@ -4878,7 +4897,7 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4878
4897
|
return this;
|
|
4879
4898
|
};
|
|
4880
4899
|
const J = {};
|
|
4881
|
-
function
|
|
4900
|
+
function Se(i, e, t) {
|
|
4882
4901
|
J[i] = class extends t {
|
|
4883
4902
|
constructor() {
|
|
4884
4903
|
super(), Object.defineProperty(this, "message", {
|
|
@@ -4903,19 +4922,19 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4903
4922
|
}
|
|
4904
4923
|
};
|
|
4905
4924
|
}
|
|
4906
|
-
|
|
4925
|
+
Se(
|
|
4907
4926
|
"ERR_BUFFER_OUT_OF_BOUNDS",
|
|
4908
4927
|
function(i) {
|
|
4909
4928
|
return i ? `${i} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
4910
4929
|
},
|
|
4911
4930
|
RangeError
|
|
4912
|
-
),
|
|
4931
|
+
), Se(
|
|
4913
4932
|
"ERR_INVALID_ARG_TYPE",
|
|
4914
4933
|
function(i, e) {
|
|
4915
4934
|
return `The "${i}" argument must be of type number. Received type ${typeof e}`;
|
|
4916
4935
|
},
|
|
4917
4936
|
TypeError
|
|
4918
|
-
),
|
|
4937
|
+
), Se(
|
|
4919
4938
|
"ERR_OUT_OF_RANGE",
|
|
4920
4939
|
function(i, e, t) {
|
|
4921
4940
|
let n = `The value of "${i}" is out of range.`, a = t;
|
|
@@ -4960,7 +4979,7 @@ Ft.write = function(r, o, l, h, d, g) {
|
|
|
4960
4979
|
i = i + "=";
|
|
4961
4980
|
return i;
|
|
4962
4981
|
}
|
|
4963
|
-
function
|
|
4982
|
+
function je(i, e) {
|
|
4964
4983
|
e = e || 1 / 0;
|
|
4965
4984
|
let t;
|
|
4966
4985
|
const n = i.length;
|
|
@@ -5082,7 +5101,7 @@ function kt() {
|
|
|
5082
5101
|
pe = kt;
|
|
5083
5102
|
}
|
|
5084
5103
|
})();
|
|
5085
|
-
function
|
|
5104
|
+
function Si(r) {
|
|
5086
5105
|
if (de === setTimeout)
|
|
5087
5106
|
return setTimeout(r, 0);
|
|
5088
5107
|
if ((de === Bt || !de) && setTimeout)
|
|
@@ -5097,7 +5116,7 @@ function ji(r) {
|
|
|
5097
5116
|
}
|
|
5098
5117
|
}
|
|
5099
5118
|
}
|
|
5100
|
-
function
|
|
5119
|
+
function f0(r) {
|
|
5101
5120
|
if (pe === clearTimeout)
|
|
5102
5121
|
return clearTimeout(r);
|
|
5103
5122
|
if ((pe === kt || !pe) && clearTimeout)
|
|
@@ -5113,19 +5132,19 @@ function d0(r) {
|
|
|
5113
5132
|
}
|
|
5114
5133
|
}
|
|
5115
5134
|
var we = [], Qe = !1, _e, st = -1;
|
|
5116
|
-
function
|
|
5117
|
-
!Qe || !_e || (Qe = !1, _e.length ? we = _e.concat(we) : st = -1, we.length &&
|
|
5135
|
+
function g0() {
|
|
5136
|
+
!Qe || !_e || (Qe = !1, _e.length ? we = _e.concat(we) : st = -1, we.length && ji());
|
|
5118
5137
|
}
|
|
5119
|
-
function
|
|
5138
|
+
function ji() {
|
|
5120
5139
|
if (!Qe) {
|
|
5121
|
-
var r =
|
|
5140
|
+
var r = Si(g0);
|
|
5122
5141
|
Qe = !0;
|
|
5123
5142
|
for (var o = we.length; o; ) {
|
|
5124
5143
|
for (_e = we, we = []; ++st < o; )
|
|
5125
5144
|
_e && _e[st].run();
|
|
5126
5145
|
st = -1, o = we.length;
|
|
5127
5146
|
}
|
|
5128
|
-
_e = null, Qe = !1,
|
|
5147
|
+
_e = null, Qe = !1, f0(r);
|
|
5129
5148
|
}
|
|
5130
5149
|
}
|
|
5131
5150
|
V.nextTick = function(r) {
|
|
@@ -5133,7 +5152,7 @@ V.nextTick = function(r) {
|
|
|
5133
5152
|
if (arguments.length > 1)
|
|
5134
5153
|
for (var l = 1; l < arguments.length; l++)
|
|
5135
5154
|
o[l - 1] = arguments[l];
|
|
5136
|
-
we.push(new Bi(r, o)), we.length === 1 && !Qe && ji
|
|
5155
|
+
we.push(new Bi(r, o)), we.length === 1 && !Qe && Si(ji);
|
|
5137
5156
|
};
|
|
5138
5157
|
function Bi(r, o) {
|
|
5139
5158
|
this.fun = r, this.array = o;
|
|
@@ -5173,12 +5192,12 @@ V.chdir = function(r) {
|
|
|
5173
5192
|
V.umask = function() {
|
|
5174
5193
|
return 0;
|
|
5175
5194
|
};
|
|
5176
|
-
var
|
|
5195
|
+
var m0 = zi.exports;
|
|
5177
5196
|
(function(r) {
|
|
5178
5197
|
Object.defineProperty(r, Symbol.toStringTag, { value: "Module" });
|
|
5179
|
-
const o = Di, l =
|
|
5198
|
+
const o = Di, l = m0, h = (f) => f && f.__esModule ? f : { default: f }, d = h(l), g = globalThis || void 0 || self;
|
|
5180
5199
|
Object.defineProperty(r, "Buffer", { enumerable: !0, get: () => o.Buffer }), Object.defineProperty(r, "process", { enumerable: !0, get: () => d.default }), r.global = g;
|
|
5181
|
-
})(
|
|
5200
|
+
})(o0);
|
|
5182
5201
|
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
5183
5202
|
var ui;
|
|
5184
5203
|
(function(r) {
|
|
@@ -5194,15 +5213,15 @@ var di;
|
|
|
5194
5213
|
(function(r) {
|
|
5195
5214
|
r.Init = "init", r.Ready = "ready", r.Connecting = "connecting", r.Connected = "connected", r.Disconnected = "disconnected", r.Failed = "failed", r.Reconnecting = "reconnecting";
|
|
5196
5215
|
})(di || (di = {}));
|
|
5197
|
-
const
|
|
5216
|
+
const I0 = ({ sdk: r }) => Z(r.getUserStore()).data ? /* @__PURE__ */ p("button", { onClick: r.logout, children: "logout" }) : /* @__PURE__ */ p(Nr, { login: async (o) => {
|
|
5198
5217
|
try {
|
|
5199
5218
|
await r.authorizationBypass("streamlayer:streamlayer", o);
|
|
5200
5219
|
} catch (l) {
|
|
5201
5220
|
throw console.log("login err", l), l;
|
|
5202
5221
|
}
|
|
5203
5222
|
}, anonymousLogin: r.anonymousAuthorization, host: r.host });
|
|
5204
|
-
var
|
|
5205
|
-
class
|
|
5223
|
+
var y0 = Object.defineProperty, M0 = (r, o, l) => o in r ? y0(r, o, { enumerable: !0, configurable: !0, writable: !0, value: l }) : r[o] = l, ke = (r, o, l) => (M0(r, typeof o != "symbol" ? o + "" : o, l), l);
|
|
5224
|
+
class w0 extends $i {
|
|
5206
5225
|
constructor() {
|
|
5207
5226
|
super("user"), ke(this, "setSchema", (o) => {
|
|
5208
5227
|
this.write("schema", o);
|
|
@@ -5227,8 +5246,8 @@ class y0 extends Vi {
|
|
|
5227
5246
|
});
|
|
5228
5247
|
}
|
|
5229
5248
|
}
|
|
5230
|
-
new
|
|
5231
|
-
const
|
|
5249
|
+
new w0();
|
|
5250
|
+
const C0 = ({ activeFeature: r, sdk: o }) => {
|
|
5232
5251
|
const [l, h] = K(null), { organizationSettings: d, streamSettings: g } = Z(o.sdkStore), f = De(() => {
|
|
5233
5252
|
const I = (g == null ? void 0 : g.data) || (d == null ? void 0 : d.data);
|
|
5234
5253
|
return I != null && I.overlays ? I.overlays : [];
|
|
@@ -5236,28 +5255,28 @@ const M0 = ({ activeFeature: r, sdk: o }) => {
|
|
|
5236
5255
|
bt(() => {
|
|
5237
5256
|
const I = o.getFeatures();
|
|
5238
5257
|
if (r)
|
|
5239
|
-
for (const [
|
|
5240
|
-
|
|
5258
|
+
for (const [A, E] of I)
|
|
5259
|
+
A === r ? E.status.get() === Ve.Suspended && (E.enable(), h(E)) : E.status.get() === Ve.Ready && E.disable();
|
|
5241
5260
|
else {
|
|
5242
|
-
for (const [,
|
|
5243
|
-
|
|
5261
|
+
for (const [, A] of I)
|
|
5262
|
+
A.status.get() === Ve.Ready && A.disable();
|
|
5244
5263
|
h(null);
|
|
5245
5264
|
}
|
|
5246
5265
|
return () => {
|
|
5247
|
-
for (const [,
|
|
5248
|
-
|
|
5266
|
+
for (const [, A] of I)
|
|
5267
|
+
A.status.get() === Ve.Ready && A.disable();
|
|
5249
5268
|
};
|
|
5250
5269
|
}, [r, o]);
|
|
5251
|
-
const s = De(() => l ? l.featureConfig.get().type === Pt.GAMES ? l ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(
|
|
5270
|
+
const s = De(() => l ? l.featureConfig.get().type === Pt.GAMES ? l ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(Ws, { gamification: l, sdk: o }) }) : /* @__PURE__ */ p("div", { children: "wait gamification..." }) : l.featureConfig.get().type === Pt.HIGHLIGHTS ? l ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(n0, { highlights: l, sdk: o }) }) : /* @__PURE__ */ p("div", { children: "wait highlights..." }) : /* @__PURE__ */ p("div", { children: "unknown feature" }) : null, [o, l]);
|
|
5252
5271
|
return /* @__PURE__ */ z("div", { children: [
|
|
5253
|
-
/* @__PURE__ */ z(
|
|
5272
|
+
/* @__PURE__ */ z(Gs, { children: [
|
|
5254
5273
|
/* @__PURE__ */ p(xt, { onClick: () => o.closeFeature(), disabled: !s, children: "close" }),
|
|
5255
5274
|
/* @__PURE__ */ p(xt, { onClick: () => o.logout(), children: "logout" }),
|
|
5256
5275
|
f.map((I) => /* @__PURE__ */ z(
|
|
5257
5276
|
xt,
|
|
5258
5277
|
{
|
|
5259
5278
|
onClick: () => o.openFeature(I.type),
|
|
5260
|
-
disabled: !(I.type in
|
|
5279
|
+
disabled: !(I.type in Ui),
|
|
5261
5280
|
"data-enable_sdk_button": I.enableSdkButton.toString(),
|
|
5262
5281
|
"data-selected": I.type === r,
|
|
5263
5282
|
children: [
|
|
@@ -5273,46 +5292,30 @@ const M0 = ({ activeFeature: r, sdk: o }) => {
|
|
|
5273
5292
|
}, H0 = ({ sdk: r }) => {
|
|
5274
5293
|
const o = Z(r.organizationStore()), l = Z(r.getUserStore()), h = Z(r.getActiveFeature());
|
|
5275
5294
|
return o.loading ? /* @__PURE__ */ p("div", { children: "authentication..." }) : o.data ? l.loading ? /* @__PURE__ */ p("div", { children: "authentication..." }) : l.data ? /* @__PURE__ */ z(Oe, { children: [
|
|
5276
|
-
/* @__PURE__ */ p(
|
|
5277
|
-
/* @__PURE__ */ p(
|
|
5278
|
-
] }) : /* @__PURE__ */ p(
|
|
5279
|
-
};
|
|
5280
|
-
const w0 = "fedqibx", C0 = ({ children: r, style: o }) => /* @__PURE__ */ p("div", { className: w0, style: o, children: r });
|
|
5281
|
-
var E0 = /* @__PURE__ */ ((r) => (r[r.UNSET = 0] = "UNSET", r[r.CONNECTED = 1] = "CONNECTED", r[r.READY = 2] = "READY", r))(E0 || {});
|
|
5282
|
-
const A0 = Ri({
|
|
5283
|
-
status: 0,
|
|
5284
|
-
sdk: null
|
|
5285
|
-
}), G0 = ({
|
|
5286
|
-
sdkKey: r,
|
|
5287
|
-
plugins: o,
|
|
5288
|
-
children: l,
|
|
5289
|
-
production: h = !0,
|
|
5290
|
-
autoEnable: d = !0
|
|
5291
|
-
}) => {
|
|
5292
|
-
const g = Zi(r, o, h, d), f = De(() => g ? {
|
|
5293
|
-
sdk: g,
|
|
5294
|
-
status: 2
|
|
5295
|
-
/* READY */
|
|
5296
|
-
} : { status: 1, sdk: null }, [g]);
|
|
5297
|
-
return /* @__PURE__ */ p(C0, { children: /* @__PURE__ */ p(A0.Provider, { value: f, children: l }) });
|
|
5295
|
+
/* @__PURE__ */ p(_o, { notificationsStore: r.getNotificationsStore() }),
|
|
5296
|
+
/* @__PURE__ */ p(C0, { sdk: r, activeFeature: h })
|
|
5297
|
+
] }) : /* @__PURE__ */ p(I0, { sdk: r }) : /* @__PURE__ */ p("div", { children: "wrong sdk key..." });
|
|
5298
5298
|
};
|
|
5299
|
+
const G0 = "StreamLayerCSSReset", E0 = "pedqibx";
|
|
5300
|
+
const W0 = ({ children: r, style: o }) => /* @__PURE__ */ p("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ p("div", { className: E0, style: o, children: r }) });
|
|
5299
5301
|
export {
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
+
V0 as S,
|
|
5303
|
+
Mo as X,
|
|
5302
5304
|
Ue as Y,
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
+
Hi as a,
|
|
5306
|
+
Qi as b,
|
|
5305
5307
|
Mi as c,
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5308
|
+
pn as d,
|
|
5309
|
+
ln as e,
|
|
5310
|
+
G0 as f,
|
|
5309
5311
|
H0 as g,
|
|
5310
5312
|
nt as h,
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5313
|
+
e0 as i,
|
|
5314
|
+
r0 as j,
|
|
5315
|
+
In as o,
|
|
5316
|
+
W0 as p,
|
|
5314
5317
|
m as s,
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
+
u1 as u,
|
|
5319
|
+
b1 as v,
|
|
5320
|
+
Vs as x
|
|
5318
5321
|
};
|